@bpfdev/oly-ui 1.0.1

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/dist/index.mjs ADDED
@@ -0,0 +1,3497 @@
1
+ "use client"
2
+
3
+ // src/components/AddCommentInput/AddCommentInput.tsx
4
+ import { Button, InputAdornment, TextField } from "@mui/material";
5
+ import { jsx } from "react/jsx-runtime";
6
+ var AddCommentInput = ({
7
+ value,
8
+ setValue,
9
+ handleAddComment,
10
+ placeholder = "Write Comment here",
11
+ buttonLabel = "Add Comment"
12
+ }) => {
13
+ const handleChange = (event) => {
14
+ setValue(event.target.value);
15
+ };
16
+ return /* @__PURE__ */ jsx(
17
+ TextField,
18
+ {
19
+ label: "",
20
+ fullWidth: true,
21
+ sx: { width: "550px", maxWidth: "100%" },
22
+ value,
23
+ placeholder,
24
+ onChange: handleChange,
25
+ type: "text",
26
+ InputProps: {
27
+ endAdornment: /* @__PURE__ */ jsx(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx(
28
+ Button,
29
+ {
30
+ variant: "contained",
31
+ sx: {
32
+ background: "#000",
33
+ color: "#fff",
34
+ position: "absolute",
35
+ right: 0,
36
+ top: 0,
37
+ padding: "16px",
38
+ cursor: "pointer",
39
+ borderRadius: "0 5px 5px 0"
40
+ },
41
+ onClick: handleAddComment,
42
+ onMouseDown: (e) => e.preventDefault(),
43
+ children: buttonLabel
44
+ }
45
+ ) })
46
+ }
47
+ }
48
+ );
49
+ };
50
+
51
+ // src/components/AdvancedFiltersDialog/AdvancedFiltersDialog.tsx
52
+ import { Close as CloseIcon } from "@mui/icons-material";
53
+ import {
54
+ Box as Box2,
55
+ Button as Button3,
56
+ Dialog,
57
+ DialogActions,
58
+ DialogContent,
59
+ DialogTitle,
60
+ IconButton,
61
+ Typography as Typography2
62
+ } from "@mui/material";
63
+
64
+ // src/components/FalconMultiSelect/FalconMultiSelect.tsx
65
+ import { Icon } from "@iconify/react";
66
+ import { Button as Button2, Stack, Typography } from "@mui/material";
67
+ import Autocomplete, {
68
+ autocompleteClasses
69
+ } from "@mui/material/Autocomplete";
70
+ import Box from "@mui/material/Box";
71
+ import Checkbox from "@mui/material/Checkbox";
72
+ import ClickAwayListener from "@mui/material/ClickAwayListener";
73
+ import Popper from "@mui/material/Popper";
74
+ import TextField2 from "@mui/material/TextField";
75
+ import { styled } from "@mui/material/styles";
76
+ import * as React from "react";
77
+ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
78
+ var FalconMultiSelect = ({ label, data, setData, list }) => {
79
+ const [checked, setChecked] = React.useState([]);
80
+ const [anchorEl, setAnchorEl] = React.useState(null);
81
+ const [value, setValue] = React.useState(
82
+ list.length >= 12 ? [list[1], list[11]] : list.length >= 2 ? [list[0], list[1]] : []
83
+ );
84
+ const [pendingValue, setPendingValue] = React.useState([]);
85
+ React.useEffect(() => {
86
+ setChecked(data || []);
87
+ }, [data]);
88
+ const handleClick = (event) => {
89
+ setPendingValue(value);
90
+ setAnchorEl(event.currentTarget);
91
+ };
92
+ const OnSubmit = () => {
93
+ if (checked.length > 0) {
94
+ setData(checked);
95
+ handleClose();
96
+ } else {
97
+ setData([]);
98
+ handleClose();
99
+ }
100
+ };
101
+ const handleClose = () => {
102
+ setValue(pendingValue);
103
+ if (anchorEl) {
104
+ anchorEl.focus();
105
+ }
106
+ setAnchorEl(null);
107
+ };
108
+ const label1 = { inputProps: { "aria-label": "Checkbox demo" } };
109
+ const open = Boolean(anchorEl);
110
+ const id = open ? "github-label" : void 0;
111
+ const handleMultiSelectChange = (obj) => {
112
+ if (obj.id) {
113
+ if (checked.length > 0) {
114
+ const isThere = checked.filter((x) => x.id === obj.id);
115
+ if (isThere.length == 0) {
116
+ setChecked((pre) => [...pre, obj]);
117
+ } else {
118
+ const value2 = checked.filter((x) => x.id !== obj.id);
119
+ setChecked(value2);
120
+ }
121
+ } else {
122
+ setChecked((pre) => [...pre, obj]);
123
+ }
124
+ }
125
+ };
126
+ return /* @__PURE__ */ jsxs(React.Fragment, { children: [
127
+ /* @__PURE__ */ jsx2(
128
+ Box,
129
+ {
130
+ component: "form",
131
+ sx: {
132
+ "& > :not(style)": { m: 1, width: "35ch" }
133
+ },
134
+ noValidate: true,
135
+ autoComplete: "off",
136
+ children: /* @__PURE__ */ jsxs(
137
+ Stack,
138
+ {
139
+ direction: "row",
140
+ alignItems: "center",
141
+ justifyContent: "space-between",
142
+ gap: 2,
143
+ sx: {
144
+ minWidth: 100,
145
+ background: "#EFEFEF",
146
+ borderRadius: "6px",
147
+ cursor: "pointer",
148
+ padding: 4,
149
+ opacity: 1
150
+ },
151
+ onClick: handleClick,
152
+ children: [
153
+ /* @__PURE__ */ jsx2(Typography, { variant: "body2", children: checked.length > 0 ? checked.length > 1 ? `${checked[0].name}, ${checked[1].name}${checked.length > 2 ? ` +${checked.length - 2} more` : ""}` : `${checked[0].name}` : `Filter by ${label}` }),
154
+ /* @__PURE__ */ jsx2(Icon, { icon: anchorEl ? "tabler:chevron-up" : "tabler:chevron-down" })
155
+ ]
156
+ }
157
+ )
158
+ }
159
+ ),
160
+ /* @__PURE__ */ jsx2(
161
+ StyledPopper,
162
+ {
163
+ id,
164
+ open,
165
+ anchorEl,
166
+ placement: "bottom",
167
+ sx: { width: "250px" },
168
+ children: /* @__PURE__ */ jsx2(ClickAwayListener, { onClickAway: handleClose, children: /* @__PURE__ */ jsxs("div", { children: [
169
+ /* @__PURE__ */ jsx2(
170
+ Autocomplete,
171
+ {
172
+ open: true,
173
+ multiple: true,
174
+ onClose: (event, reason) => {
175
+ if (reason === "escape") {
176
+ handleClose();
177
+ }
178
+ },
179
+ value: pendingValue,
180
+ renderTags: () => null,
181
+ disableCloseOnSelect: true,
182
+ PopperComponent,
183
+ noOptionsText: "No labels",
184
+ renderOption: (props, option) => /* @__PURE__ */ jsxs(
185
+ "li",
186
+ {
187
+ ...props,
188
+ style: {
189
+ justifyContent: "space-between",
190
+ alignItems: "center"
191
+ },
192
+ children: [
193
+ /* @__PURE__ */ jsx2(
194
+ Box,
195
+ {
196
+ sx: {
197
+ borderRadius: "3px",
198
+ alignItem: "center",
199
+ ml: 1,
200
+ mt: "1px",
201
+ justifyContent: "start",
202
+ alignItems: "center",
203
+ width: "80%",
204
+ fontSize: "13px"
205
+ },
206
+ children: option.name
207
+ }
208
+ ),
209
+ /* @__PURE__ */ jsx2(
210
+ Box,
211
+ {
212
+ component: "span",
213
+ sx: {
214
+ flexShrink: 0,
215
+ borderRadius: "3px",
216
+ mr: 1,
217
+ mt: "2px",
218
+ justifyContent: "end",
219
+ width: "20%",
220
+ alignItems: "center"
221
+ },
222
+ children: /* @__PURE__ */ jsx2(
223
+ Checkbox,
224
+ {
225
+ sx: {
226
+ color: "green",
227
+ "&.Mui-checked": {
228
+ color: "#6750A4"
229
+ }
230
+ },
231
+ ...label1,
232
+ checked: checked.some((x) => Number(x.id) === option.id),
233
+ onChange: () => {
234
+ handleMultiSelectChange(option);
235
+ }
236
+ }
237
+ )
238
+ }
239
+ )
240
+ ]
241
+ }
242
+ ),
243
+ options: [...list]?.sort((a, b) => {
244
+ let ai = value.indexOf(a);
245
+ ai = ai === -1 ? value.length + list?.indexOf(a) : ai;
246
+ let bi = value.indexOf(b);
247
+ bi = bi === -1 ? value.length + list?.indexOf(b) : bi;
248
+ return ai - bi;
249
+ }),
250
+ getOptionLabel: (option) => {
251
+ return option?.name;
252
+ },
253
+ renderInput: (params) => /* @__PURE__ */ jsxs(
254
+ Box,
255
+ {
256
+ component: "form",
257
+ sx: {
258
+ "& > :not(style)": {
259
+ justifyContent: "center",
260
+ width: "100%"
261
+ }
262
+ },
263
+ noValidate: true,
264
+ autoComplete: "off",
265
+ children: [
266
+ /* @__PURE__ */ jsx2(
267
+ TextField2,
268
+ {
269
+ id: "filled-basic",
270
+ label: "Search State",
271
+ variant: "filled",
272
+ sx: {
273
+ width: "100%",
274
+ margin: "10px",
275
+ "& MuiInputBase-root & MuiFilledInput-root": {
276
+ width: "94%"
277
+ },
278
+ "& > :not(style)": {
279
+ justifyContent: "center",
280
+ width: "94%"
281
+ }
282
+ },
283
+ ref: params.InputProps.ref,
284
+ inputProps: params.inputProps
285
+ }
286
+ ),
287
+ /* @__PURE__ */ jsx2(
288
+ "svg",
289
+ {
290
+ xmlns: "http://www.w3.org/2000/svg",
291
+ style: { position: "absolute", left: "90px", top: "30px" },
292
+ width: "24",
293
+ height: "24",
294
+ viewBox: "0 0 24 24",
295
+ fill: "none",
296
+ children: /* @__PURE__ */ jsx2(
297
+ "path",
298
+ {
299
+ fillRule: "evenodd",
300
+ clipRule: "evenodd",
301
+ d: "M14.76 13.27L20.49 19L19 20.49L13.27 14.76C12.2 15.53 10.91 16 9.5 16C5.91 16 3 13.09 3 9.5C3 5.91 5.91 3 9.5 3C13.09 3 16 5.91 16 9.5C16 10.91 15.53 12.2 14.76 13.27ZM9.5 5C7.01 5 5 7.01 5 9.5C5 11.99 7.01 14 9.5 14C11.99 14 14 11.99 14 9.5C14 7.01 11.99 5 9.5 5Z",
302
+ fill: "#49454F"
303
+ }
304
+ )
305
+ }
306
+ )
307
+ ]
308
+ }
309
+ )
310
+ }
311
+ ),
312
+ /* @__PURE__ */ jsxs(
313
+ Box,
314
+ {
315
+ sx: {
316
+ display: "flex",
317
+ flexDirection: "row",
318
+ alignItems: "center",
319
+ justifyContent: "space-between",
320
+ padding: 2,
321
+ gap: 2,
322
+ width: "100%"
323
+ },
324
+ children: [
325
+ /* @__PURE__ */ jsx2(
326
+ Button2,
327
+ {
328
+ onClick: () => OnSubmit(),
329
+ variant: "contained",
330
+ fullWidth: true,
331
+ sx: {
332
+ textTransform: "none",
333
+ minWidth: 100,
334
+ backgroundColor: "#7c3aed",
335
+ "&:hover": {
336
+ backgroundColor: "#6d28d9"
337
+ },
338
+ height: "40px"
339
+ },
340
+ children: "Apply"
341
+ }
342
+ ),
343
+ /* @__PURE__ */ jsx2(
344
+ Button2,
345
+ {
346
+ onClick: () => {
347
+ setChecked([]);
348
+ setData([]);
349
+ handleClose();
350
+ },
351
+ variant: "outlined",
352
+ fullWidth: true,
353
+ color: "inherit",
354
+ sx: { textTransform: "none", minWidth: 100, height: "40px" },
355
+ children: "Clear"
356
+ }
357
+ )
358
+ ]
359
+ }
360
+ )
361
+ ] }) })
362
+ }
363
+ )
364
+ ] });
365
+ };
366
+ var StyledAutocompletePopper = styled("div")(({ theme }) => ({
367
+ width: 250,
368
+ minWidth: 250,
369
+ [`& .${autocompleteClasses.paper}`]: {
370
+ boxShadow: "none",
371
+ color: "inherit",
372
+ fontSize: 13
373
+ },
374
+ [`& .${autocompleteClasses.listbox}`]: {
375
+ backgroundColor: theme.palette.mode === "light" ? "#fff" : "#1c2128",
376
+ padding: 0,
377
+ maxHeight: 280,
378
+ [`& .${autocompleteClasses.option}`]: {
379
+ minHeight: "auto",
380
+ alignItems: "flex-start",
381
+ padding: 8,
382
+ borderBottom: `1px solid ${theme.palette.mode === "light" ? "#eaecef" : "#30363d"}`,
383
+ '&[aria-selected="true"]': {
384
+ backgroundColor: "transparent"
385
+ },
386
+ [`&.${autocompleteClasses.focused}, &.${autocompleteClasses.focused}[aria-selected="true"]`]: {
387
+ backgroundColor: theme.palette.action.hover
388
+ }
389
+ }
390
+ },
391
+ [`&.${autocompleteClasses.popperDisablePortal}`]: {
392
+ position: "relative"
393
+ }
394
+ }));
395
+ function PopperComponent(props) {
396
+ const { disablePortal, anchorEl, open, ...other } = props;
397
+ return /* @__PURE__ */ jsx2(StyledAutocompletePopper, { ...other });
398
+ }
399
+ var StyledPopper = styled(Popper)(({ theme }) => ({
400
+ border: `1px solid ${theme.palette.mode === "light" ? "#e1e4e8" : "#30363d"}`,
401
+ boxShadow: `0 8px 24px ${theme.palette.mode === "light" ? "rgba(149, 157, 165, 0.2)" : "rgb(1, 4, 9)"}`,
402
+ borderRadius: 6,
403
+ width: 250,
404
+ minWidth: 250,
405
+ zIndex: theme.zIndex.modal,
406
+ fontSize: 13,
407
+ color: theme.palette.mode === "light" ? "#24292e" : "#c9d1d9",
408
+ backgroundColor: theme.palette.mode === "light" ? "#fff" : "#1c2128"
409
+ }));
410
+
411
+ // src/components/AdvancedFiltersDialog/AdvancedFiltersDialog.tsx
412
+ import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
413
+ var defaultLocationOptions = [
414
+ { id: 1, label: "Location A" },
415
+ { id: 2, label: "Location B" }
416
+ ];
417
+ var defaultBusinessAreaOptions = [
418
+ { id: 1, label: "Retail" },
419
+ { id: 2, label: "Healthcare" }
420
+ ];
421
+ var AdvancedFiltersDialog = ({
422
+ open,
423
+ onClose,
424
+ locationOptions = defaultLocationOptions.map((option) => ({
425
+ id: option.id,
426
+ name: option.label
427
+ })),
428
+ businessAreaOptions = defaultBusinessAreaOptions.map((option) => ({
429
+ id: option.id,
430
+ name: option.label
431
+ })),
432
+ selectedLocations = [],
433
+ selectedBusinessAreas = [],
434
+ onLocationsChange = () => {
435
+ },
436
+ onBusinessAreasChange = () => {
437
+ },
438
+ onApply,
439
+ onCancel
440
+ }) => {
441
+ const handleApply = () => {
442
+ onApply?.();
443
+ onClose();
444
+ };
445
+ const handleCancel = () => {
446
+ onCancel?.();
447
+ onClose();
448
+ };
449
+ return /* @__PURE__ */ jsxs2(Dialog, { open, onClose, maxWidth: "sm", fullWidth: true, children: [
450
+ /* @__PURE__ */ jsx3(DialogTitle, { children: /* @__PURE__ */ jsxs2(Box2, { display: "flex", alignItems: "center", justifyContent: "space-between", children: [
451
+ /* @__PURE__ */ jsx3(Typography2, { variant: "h6", children: "Advanced Filters" }),
452
+ /* @__PURE__ */ jsx3(IconButton, { onClick: onClose, size: "small", "aria-label": "Close", children: /* @__PURE__ */ jsx3(CloseIcon, {}) })
453
+ ] }) }),
454
+ /* @__PURE__ */ jsx3(DialogContent, { children: /* @__PURE__ */ jsxs2(Box2, { sx: { display: "flex", flexDirection: "column", gap: 2, pt: 1 }, children: [
455
+ /* @__PURE__ */ jsx3(
456
+ FalconMultiSelect,
457
+ {
458
+ label: "Locations",
459
+ list: locationOptions,
460
+ data: selectedLocations,
461
+ setData: onLocationsChange
462
+ }
463
+ ),
464
+ /* @__PURE__ */ jsx3(
465
+ FalconMultiSelect,
466
+ {
467
+ label: "Business Areas",
468
+ list: businessAreaOptions,
469
+ data: selectedBusinessAreas,
470
+ setData: onBusinessAreasChange
471
+ }
472
+ )
473
+ ] }) }),
474
+ /* @__PURE__ */ jsxs2(DialogActions, { children: [
475
+ /* @__PURE__ */ jsx3(Button3, { onClick: handleCancel, children: "Cancel" }),
476
+ /* @__PURE__ */ jsx3(Button3, { variant: "contained", onClick: handleApply, children: "Apply" })
477
+ ] })
478
+ ] });
479
+ };
480
+
481
+ // src/components/ButtonWithIcon/ButtonWithIcon.tsx
482
+ import { Box as Box3, Button as Button4, Typography as Typography3 } from "@mui/material";
483
+ import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
484
+ var ButtonWithIcon = ({
485
+ size = "large",
486
+ variant = "contained",
487
+ children,
488
+ icon,
489
+ ...props
490
+ }) => /* @__PURE__ */ jsx4(
491
+ Button4,
492
+ {
493
+ fullWidth: true,
494
+ size,
495
+ variant,
496
+ sx: { minWidth: "200px", maxWidth: "250px", backgroundColor: "white", color: "black" },
497
+ ...props,
498
+ children: /* @__PURE__ */ jsxs3(Box3, { display: "flex", gap: 1, justifyContent: "space-between", alignItems: "center", children: [
499
+ /* @__PURE__ */ jsx4(Typography3, { variant: "inherit", children }),
500
+ icon && /* @__PURE__ */ jsx4(Box3, { mt: 0.25, ml: 0.5, children: icon })
501
+ ] })
502
+ }
503
+ );
504
+
505
+ // src/components/FalconButton/FalconButton.tsx
506
+ import { Button as MuiButton, CircularProgress } from "@mui/material";
507
+ import { jsx as jsx5 } from "react/jsx-runtime";
508
+ var FalconButton = ({
509
+ loading = false,
510
+ disabled,
511
+ children,
512
+ size = "large",
513
+ variant = "contained",
514
+ type = "submit",
515
+ fullWidth = true,
516
+ className = "falcon-btn",
517
+ ...props
518
+ }) => /* @__PURE__ */ jsx5(
519
+ MuiButton,
520
+ {
521
+ disabled: disabled || loading,
522
+ size,
523
+ variant,
524
+ type,
525
+ fullWidth,
526
+ className,
527
+ ...props,
528
+ children: loading ? /* @__PURE__ */ jsx5(CircularProgress, { size: 16, color: "inherit" }) : children
529
+ }
530
+ );
531
+
532
+ // src/components/FalconDIstrictFilter/FalconDIstrictFilter.tsx
533
+ import { Autocomplete as Autocomplete2, TextField as TextField3 } from "@mui/material";
534
+ import { jsx as jsx6 } from "react/jsx-runtime";
535
+ var FalconDIstrictFilter = ({
536
+ label = "District",
537
+ options = [],
538
+ value = [],
539
+ onChange
540
+ }) => /* @__PURE__ */ jsx6(
541
+ Autocomplete2,
542
+ {
543
+ multiple: true,
544
+ options,
545
+ value,
546
+ onChange: (_, newValue) => onChange?.(newValue),
547
+ getOptionLabel: (opt) => typeof opt === "object" && opt !== null ? opt.label : "",
548
+ isOptionEqualToValue: (a, b) => a.id === b.id,
549
+ renderInput: (params) => /* @__PURE__ */ jsx6(TextField3, { ...params, label, placeholder: "Select districts" })
550
+ }
551
+ );
552
+
553
+ // src/components/FalconGrayButton/FalconGrayButton.tsx
554
+ import { Box as Box4, Stack as Stack2, Typography as Typography4, useTheme } from "@mui/material";
555
+ import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
556
+ var FalconGrayButton = ({
557
+ text,
558
+ Icon: Icon4,
559
+ onClick
560
+ }) => {
561
+ const theme = useTheme();
562
+ return /* @__PURE__ */ jsx7(
563
+ Box4,
564
+ {
565
+ sx: {
566
+ cursor: onClick ? "pointer" : "default",
567
+ padding: 4,
568
+ borderRadius: "8px",
569
+ background: theme.palette.secondary?.light ?? "#f0f0f0"
570
+ },
571
+ onClick,
572
+ role: onClick ? "button" : void 0,
573
+ children: /* @__PURE__ */ jsxs4(Stack2, { direction: "row", justifyContent: "center", gap: 4, alignItems: "center", children: [
574
+ Icon4,
575
+ /* @__PURE__ */ jsx7(Typography4, { fontSize: 12, align: "center", fontWeight: "bold", children: text })
576
+ ] })
577
+ }
578
+ );
579
+ };
580
+
581
+ // src/components/FalconPagination/FalconPagination.tsx
582
+ import { Box as Box5, Divider, Stack as Stack3 } from "@mui/material";
583
+ import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
584
+ var selectStyle = {
585
+ border: "none",
586
+ backgroundColor: "transparent",
587
+ padding: "5px 10px",
588
+ fontSize: "14px",
589
+ fontWeight: 500,
590
+ color: "#555770",
591
+ cursor: "pointer",
592
+ outline: "none"
593
+ };
594
+ var optionStyle = { padding: "5px 10px" };
595
+ var btnStyle = {
596
+ border: "none",
597
+ backgroundColor: "transparent",
598
+ padding: "5px 10px",
599
+ cursor: "pointer",
600
+ outline: "none"
601
+ };
602
+ var FalconPagination = ({
603
+ pageNo,
604
+ setPageNo,
605
+ perPage,
606
+ setPerPage,
607
+ totalItems,
608
+ perPageOptions = [12, 24, 36]
609
+ }) => {
610
+ const totalPage = Math.ceil(totalItems / perPage) || 1;
611
+ return /* @__PURE__ */ jsxs5(
612
+ Stack3,
613
+ {
614
+ spacing: 2,
615
+ alignItems: "center",
616
+ direction: "row",
617
+ width: "100%",
618
+ bgcolor: "#F0F0F0",
619
+ children: [
620
+ /* @__PURE__ */ jsx8(Box5, { children: /* @__PURE__ */ jsx8(
621
+ "select",
622
+ {
623
+ style: selectStyle,
624
+ value: perPage,
625
+ onChange: (e) => setPerPage(Number(e.target.value)),
626
+ "aria-label": "Items per page",
627
+ children: perPageOptions.map((n) => /* @__PURE__ */ jsx8("option", { style: optionStyle, value: n, children: n }, n))
628
+ }
629
+ ) }),
630
+ /* @__PURE__ */ jsx8(Divider, { orientation: "vertical", flexItem: true }),
631
+ /* @__PURE__ */ jsx8(Box5, { sx: { flex: 1 }, children: /* @__PURE__ */ jsxs5(Box5, { sx: { color: "#525252", fontFamily: "roboto" }, children: [
632
+ perPage * (pageNo - 1) + 1,
633
+ " - ",
634
+ Math.min(perPage * pageNo, totalItems),
635
+ " ",
636
+ "of ",
637
+ totalItems,
638
+ " items"
639
+ ] }) }),
640
+ /* @__PURE__ */ jsx8(Divider, { orientation: "vertical", flexItem: true }),
641
+ /* @__PURE__ */ jsxs5(Stack3, { alignItems: "center", direction: "row", gap: 1, children: [
642
+ /* @__PURE__ */ jsx8(Box5, { children: /* @__PURE__ */ jsx8(
643
+ "select",
644
+ {
645
+ style: selectStyle,
646
+ value: pageNo,
647
+ onChange: (e) => setPageNo(Number(e.target.value)),
648
+ "aria-label": "Page number",
649
+ children: Array.from({ length: totalPage }, (_, i) => /* @__PURE__ */ jsx8("option", { style: optionStyle, value: i + 1, children: i + 1 }, i))
650
+ }
651
+ ) }),
652
+ /* @__PURE__ */ jsxs5(Box5, { sx: { color: "#525252", fontFamily: "roboto" }, children: [
653
+ "of ",
654
+ totalPage,
655
+ " pages"
656
+ ] })
657
+ ] }),
658
+ /* @__PURE__ */ jsx8(Divider, { orientation: "vertical", flexItem: true }),
659
+ /* @__PURE__ */ jsxs5(Stack3, { direction: "row", gap: 1, children: [
660
+ /* @__PURE__ */ jsx8(
661
+ "button",
662
+ {
663
+ type: "button",
664
+ disabled: pageNo === 1,
665
+ onClick: () => setPageNo(pageNo - 1),
666
+ style: btnStyle,
667
+ "aria-label": "Previous page",
668
+ children: /* @__PURE__ */ jsx8(
669
+ "svg",
670
+ {
671
+ xmlns: "http://www.w3.org/2000/svg",
672
+ width: "16",
673
+ height: "16",
674
+ viewBox: "0 0 16 16",
675
+ fill: "none",
676
+ children: /* @__PURE__ */ jsx8("path", { d: "M10 12L5 8L10 4V12Z", fill: "#161616" })
677
+ }
678
+ )
679
+ }
680
+ ),
681
+ /* @__PURE__ */ jsx8(
682
+ "button",
683
+ {
684
+ type: "button",
685
+ disabled: pageNo === totalPage,
686
+ onClick: () => setPageNo(pageNo + 1),
687
+ style: btnStyle,
688
+ "aria-label": "Next page",
689
+ children: /* @__PURE__ */ jsx8(
690
+ "svg",
691
+ {
692
+ xmlns: "http://www.w3.org/2000/svg",
693
+ width: "16",
694
+ height: "16",
695
+ viewBox: "0 0 16 16",
696
+ fill: "none",
697
+ children: /* @__PURE__ */ jsx8("path", { d: "M6 4L11 8L6 12V4Z", fill: "#161616" })
698
+ }
699
+ )
700
+ }
701
+ )
702
+ ] })
703
+ ]
704
+ }
705
+ );
706
+ };
707
+
708
+ // src/components/FalconSelect/FalconSelect.tsx
709
+ import {
710
+ FormControl,
711
+ InputLabel,
712
+ MenuItem,
713
+ Select
714
+ } from "@mui/material";
715
+ import { jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
716
+ function normalizeOptions(options) {
717
+ return options.map(
718
+ (opt) => typeof opt === "string" ? { value: opt.toLowerCase(), label: opt } : opt
719
+ );
720
+ }
721
+ var FalconSelect = ({
722
+ label,
723
+ value,
724
+ onChange,
725
+ options,
726
+ disabled = false,
727
+ clearable = true
728
+ }) => {
729
+ const items = normalizeOptions(options);
730
+ const handleChange = (event) => {
731
+ const v = event.target.value;
732
+ onChange(v !== "" ? v : "");
733
+ };
734
+ return /* @__PURE__ */ jsxs6(FormControl, { variant: "filled", fullWidth: true, color: "primary", children: [
735
+ /* @__PURE__ */ jsxs6(InputLabel, { id: `falcon-select-${label}-label`, children: [
736
+ "Select ",
737
+ label,
738
+ " *"
739
+ ] }),
740
+ /* @__PURE__ */ jsxs6(
741
+ Select,
742
+ {
743
+ disabled,
744
+ value: value?.toLowerCase() ?? "",
745
+ label: `Select ${label}`,
746
+ onChange: handleChange,
747
+ labelId: `falcon-select-${label}-label`,
748
+ id: `falcon-select-${label}`,
749
+ children: [
750
+ clearable && /* @__PURE__ */ jsx9(MenuItem, { value: "", children: /* @__PURE__ */ jsx9("em", { children: "--Clear--" }) }),
751
+ items.map((item, i) => /* @__PURE__ */ jsx9(MenuItem, { value: item.value, children: item.label }, i))
752
+ ]
753
+ }
754
+ )
755
+ ] });
756
+ };
757
+
758
+ // src/components/FalconSingleSwitch/FalconSingleSwitch.tsx
759
+ import Stack4 from "@mui/material/Stack";
760
+ import Switch from "@mui/material/Switch";
761
+ import { styled as styled2 } from "@mui/material/styles";
762
+ import { jsx as jsx10 } from "react/jsx-runtime";
763
+ var AntSwitch = styled2(Switch)(() => ({
764
+ width: 28,
765
+ height: 16,
766
+ padding: 0,
767
+ display: "flex",
768
+ "&:active": {
769
+ "& .MuiSwitch-thumb": { width: 15 },
770
+ "& .MuiSwitch-switchBase.Mui-checked": { transform: "translateX(9px)" }
771
+ },
772
+ "& .MuiSwitch-switchBase": {
773
+ padding: 2,
774
+ "&.Mui-checked": {
775
+ transform: "translateX(12px)",
776
+ color: "#fff",
777
+ "& + .MuiSwitch-track": { opacity: 1 }
778
+ }
779
+ },
780
+ "& .MuiSwitch-thumb": {
781
+ boxShadow: "0 2px 4px 0 rgb(0 35 11 / 20%)",
782
+ width: 12,
783
+ height: 12,
784
+ borderRadius: 6
785
+ },
786
+ "& .MuiSwitch-track": {
787
+ borderRadius: 8,
788
+ opacity: 1,
789
+ backgroundColor: "rgba(0,0,0,.25)",
790
+ boxSizing: "border-box"
791
+ }
792
+ }));
793
+ var FalconSingleSwitch = ({
794
+ color,
795
+ setStatus,
796
+ value = false,
797
+ onChange
798
+ }) => {
799
+ const handleChange = (event, checked) => {
800
+ setStatus?.(checked);
801
+ onChange?.(event, checked);
802
+ };
803
+ return /* @__PURE__ */ jsx10(Stack4, { direction: "row", margin: 2, spacing: 1, alignItems: "center", children: /* @__PURE__ */ jsx10(
804
+ AntSwitch,
805
+ {
806
+ checked: value,
807
+ onChange: handleChange,
808
+ color,
809
+ size: "medium",
810
+ inputProps: { "aria-label": "toggle" }
811
+ }
812
+ ) });
813
+ };
814
+
815
+ // src/components/FalconTable/FalconTable.tsx
816
+ import { Box as Box6 } from "@mui/material";
817
+ import { DataGrid } from "@mui/x-data-grid";
818
+ import { useState as useState2 } from "react";
819
+ import { jsx as jsx11 } from "react/jsx-runtime";
820
+ var FalconTable = ({
821
+ rows,
822
+ getRowId,
823
+ columns,
824
+ pageSizeOptions = [7, 10, 25, 50]
825
+ }) => {
826
+ const [paginationModel, setPaginationModel] = useState2({
827
+ page: 0,
828
+ pageSize: 7
829
+ });
830
+ return /* @__PURE__ */ jsx11(
831
+ Box6,
832
+ {
833
+ sx: {
834
+ border: "2px solid #F2F2F2",
835
+ padding: "16px",
836
+ borderRadius: "12px"
837
+ },
838
+ children: /* @__PURE__ */ jsx11(
839
+ DataGrid,
840
+ {
841
+ autoHeight: true,
842
+ sx: {
843
+ minHeight: "48px",
844
+ "& .MuiDataGrid-columnHeaders": {
845
+ borderBottom: "0px",
846
+ borderRadius: "6px !important"
847
+ },
848
+ "& .MuiDataGrid-columnHeaderTitle": {
849
+ color: "#7A7A7A !important"
850
+ }
851
+ },
852
+ rows: rows ?? [],
853
+ getRowId,
854
+ columns,
855
+ disableRowSelectionOnClick: true,
856
+ pageSizeOptions,
857
+ paginationModel,
858
+ onPaginationModelChange: setPaginationModel
859
+ }
860
+ )
861
+ }
862
+ );
863
+ };
864
+
865
+ // src/components/FalconTicketColumsFilter/FalconTicketColumsFilter.tsx
866
+ import { Box as Box7, Typography as Typography5 } from "@mui/material";
867
+ import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
868
+ var FalconTicketColumsFilter = ({
869
+ columns = [],
870
+ selected = [],
871
+ onSelectionChange
872
+ }) => /* @__PURE__ */ jsxs7(Box7, { sx: { p: 2, minWidth: 280 }, children: [
873
+ /* @__PURE__ */ jsx12(Typography5, { variant: "subtitle2", gutterBottom: true, children: "Select columns" }),
874
+ columns.length === 0 ? /* @__PURE__ */ jsx12(Typography5, { variant: "body2", color: "text.secondary", children: "No columns configured. Pass columns prop." }) : /* @__PURE__ */ jsxs7(Typography5, { variant: "body2", children: [
875
+ selected.length,
876
+ " of ",
877
+ columns.length,
878
+ " selected"
879
+ ] }),
880
+ onSelectionChange && /* @__PURE__ */ jsx12(Typography5, { variant: "caption", display: "block", sx: { mt: 1 }, children: "(Column checkboxes to be wired from app)" })
881
+ ] });
882
+
883
+ // src/components/FalconTicketFilter/FalconTicketFilter.tsx
884
+ import { Button as Button5, Popover } from "@mui/material";
885
+ import { useState as useState3 } from "react";
886
+ import { Fragment as Fragment2, jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
887
+ var FalconTicketFilter = ({
888
+ children,
889
+ label = "FILTERS",
890
+ open: controlledOpen,
891
+ onOpenChange
892
+ }) => {
893
+ const [internalOpen, setInternalOpen] = useState3(false);
894
+ const open = controlledOpen ?? internalOpen;
895
+ const setOpen = onOpenChange ?? setInternalOpen;
896
+ const [anchorEl, setAnchorEl] = useState3(null);
897
+ const handleClick = (event) => {
898
+ setAnchorEl(event.currentTarget);
899
+ setOpen(true);
900
+ };
901
+ const handleClose = () => {
902
+ setAnchorEl(null);
903
+ setOpen(false);
904
+ };
905
+ return /* @__PURE__ */ jsxs8(Fragment2, { children: [
906
+ /* @__PURE__ */ jsx13(Button5, { onClick: handleClick, variant: "outlined", size: "medium", children: label }),
907
+ /* @__PURE__ */ jsx13(
908
+ Popover,
909
+ {
910
+ open,
911
+ anchorEl,
912
+ onClose: handleClose,
913
+ anchorOrigin: { vertical: "bottom", horizontal: "left" },
914
+ children: /* @__PURE__ */ jsx13("div", { style: { padding: 16, minWidth: 280 }, children })
915
+ }
916
+ )
917
+ ] });
918
+ };
919
+
920
+ // src/components/HeatMapChartLegend/HeatMapChartLegend.tsx
921
+ import { jsx as jsx14, jsxs as jsxs9 } from "react/jsx-runtime";
922
+ var HeatMapChartLegend = ({
923
+ title,
924
+ items,
925
+ gradientId,
926
+ gradientStops
927
+ }) => /* @__PURE__ */ jsxs9(
928
+ "div",
929
+ {
930
+ style: {
931
+ display: "flex",
932
+ alignItems: "center",
933
+ gap: "12px",
934
+ marginBottom: "16px",
935
+ fontFamily: "sans-serif"
936
+ },
937
+ children: [
938
+ /* @__PURE__ */ jsx14(
939
+ "span",
940
+ {
941
+ style: {
942
+ fontSize: "12px",
943
+ fontWeight: 700,
944
+ color: "#374151",
945
+ minWidth: "80px",
946
+ textAlign: "right"
947
+ },
948
+ children: title
949
+ }
950
+ ),
951
+ /* @__PURE__ */ jsxs9(
952
+ "div",
953
+ {
954
+ style: {
955
+ display: "flex",
956
+ alignItems: "center",
957
+ position: "relative",
958
+ flex: 1,
959
+ maxWidth: "600px"
960
+ },
961
+ children: [
962
+ /* @__PURE__ */ jsxs9(
963
+ "svg",
964
+ {
965
+ width: "100%",
966
+ height: "32",
967
+ style: { filter: "drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1))" },
968
+ children: [
969
+ /* @__PURE__ */ jsx14("defs", { children: /* @__PURE__ */ jsx14(
970
+ "linearGradient",
971
+ {
972
+ id: gradientId,
973
+ x1: "0%",
974
+ y1: "0%",
975
+ x2: "100%",
976
+ y2: "0%",
977
+ children: gradientStops.map((stop, index) => /* @__PURE__ */ jsx14(
978
+ "stop",
979
+ {
980
+ offset: stop.offset,
981
+ stopColor: stop.color,
982
+ stopOpacity: "1"
983
+ },
984
+ index
985
+ ))
986
+ }
987
+ ) }),
988
+ /* @__PURE__ */ jsx14(
989
+ "rect",
990
+ {
991
+ width: "100%",
992
+ height: "100%",
993
+ fill: `url(#${gradientId})`
994
+ }
995
+ )
996
+ ]
997
+ }
998
+ ),
999
+ /* @__PURE__ */ jsx14(
1000
+ "div",
1001
+ {
1002
+ style: {
1003
+ position: "absolute",
1004
+ top: 0,
1005
+ left: 0,
1006
+ right: 0,
1007
+ bottom: 0,
1008
+ display: "flex",
1009
+ alignItems: "center",
1010
+ justifyContent: "space-between",
1011
+ paddingLeft: "16px",
1012
+ paddingRight: "16px"
1013
+ },
1014
+ children: items.map((item, index) => /* @__PURE__ */ jsx14(
1015
+ "span",
1016
+ {
1017
+ style: {
1018
+ fontSize: "9px",
1019
+ fontWeight: 600,
1020
+ color: "white",
1021
+ textShadow: "0 1px 2px rgba(0, 0, 0, 0.5)",
1022
+ letterSpacing: "0.025em"
1023
+ },
1024
+ children: item.label
1025
+ },
1026
+ index
1027
+ ))
1028
+ }
1029
+ )
1030
+ ]
1031
+ }
1032
+ )
1033
+ ]
1034
+ }
1035
+ );
1036
+
1037
+ // src/components/ProgressBarNumber/ProgressBarNumber.tsx
1038
+ import { jsx as jsx15, jsxs as jsxs10 } from "react/jsx-runtime";
1039
+ var FullProgress = ({
1040
+ number,
1041
+ numColor
1042
+ }) => /* @__PURE__ */ jsxs10(
1043
+ "svg",
1044
+ {
1045
+ xmlns: "http://www.w3.org/2000/svg",
1046
+ width: 56,
1047
+ height: 56,
1048
+ viewBox: "0 0 56 56",
1049
+ fill: "none",
1050
+ children: [
1051
+ /* @__PURE__ */ jsx15(
1052
+ "circle",
1053
+ {
1054
+ cx: 28,
1055
+ cy: 28,
1056
+ r: 26,
1057
+ fill: "#D9D9D9",
1058
+ stroke: "#222222",
1059
+ strokeWidth: 4
1060
+ }
1061
+ ),
1062
+ /* @__PURE__ */ jsx15("text", { x: 28, y: 36, fontSize: 24, textAnchor: "middle", fill: numColor, children: number })
1063
+ ]
1064
+ }
1065
+ );
1066
+ var HalfProgress = ({
1067
+ number,
1068
+ numColor
1069
+ }) => /* @__PURE__ */ jsxs10(
1070
+ "svg",
1071
+ {
1072
+ xmlns: "http://www.w3.org/2000/svg",
1073
+ width: 56,
1074
+ height: 56,
1075
+ viewBox: "0 0 56 56",
1076
+ fill: "none",
1077
+ children: [
1078
+ /* @__PURE__ */ jsx15(
1079
+ "circle",
1080
+ {
1081
+ cx: 28,
1082
+ cy: 28,
1083
+ r: 26,
1084
+ fill: "#D9D9D9",
1085
+ stroke: "#222222",
1086
+ strokeWidth: 4,
1087
+ strokeDasharray: 85,
1088
+ strokeDashoffset: 130
1089
+ }
1090
+ ),
1091
+ /* @__PURE__ */ jsx15("text", { x: 28, y: 36, fontSize: 24, textAnchor: "middle", fill: numColor, children: number })
1092
+ ]
1093
+ }
1094
+ );
1095
+ var NoProgress = ({
1096
+ number,
1097
+ numColor
1098
+ }) => /* @__PURE__ */ jsxs10(
1099
+ "svg",
1100
+ {
1101
+ xmlns: "http://www.w3.org/2000/svg",
1102
+ width: 56,
1103
+ height: 56,
1104
+ viewBox: "0 0 56 56",
1105
+ fill: "none",
1106
+ children: [
1107
+ /* @__PURE__ */ jsx15(
1108
+ "circle",
1109
+ {
1110
+ cx: 28,
1111
+ cy: 28,
1112
+ r: 26,
1113
+ fill: "#D9D9D9",
1114
+ stroke: "#222222",
1115
+ strokeOpacity: "0.1",
1116
+ strokeWidth: "4"
1117
+ }
1118
+ ),
1119
+ /* @__PURE__ */ jsx15("text", { x: 28, y: 36, fontSize: 24, textAnchor: "middle", fill: numColor, children: number })
1120
+ ]
1121
+ }
1122
+ );
1123
+ var ProgressBarNumber = ({
1124
+ number,
1125
+ progress,
1126
+ numColor
1127
+ }) => {
1128
+ if (progress === 0) {
1129
+ return /* @__PURE__ */ jsx15(NoProgress, { number, numColor });
1130
+ }
1131
+ if (progress === 50) {
1132
+ return /* @__PURE__ */ jsx15(HalfProgress, { number, numColor });
1133
+ }
1134
+ if (progress === 100) {
1135
+ return /* @__PURE__ */ jsx15(FullProgress, { number, numColor });
1136
+ }
1137
+ return /* @__PURE__ */ jsx15("div", { children: "Invalid Progress" });
1138
+ };
1139
+
1140
+ // src/@core/theme/ThemeComponent.tsx
1141
+ import CssBaseline from "@mui/material/CssBaseline";
1142
+ import GlobalStyles2 from "@mui/material/GlobalStyles";
1143
+ import { ThemeProvider, createTheme, responsiveFontSizes } from "@mui/material/styles";
1144
+
1145
+ // src/@core/configs/themeConfig.ts
1146
+ var themeConfig = {
1147
+ // ** Layout Configs
1148
+ templateName: "OLY",
1149
+ layout: "vertical",
1150
+ direction: "ltr",
1151
+ // ** Routing Configs
1152
+ routingLoader: true,
1153
+ // ** Navigation (Menu) Configs
1154
+ navHidden: false,
1155
+ menuTextTruncate: true,
1156
+ navSubItemIcon: "tabler:chevron-right",
1157
+ navCollapsed: false,
1158
+ navigationSize: 260,
1159
+ collapsedNavigationSize: 82,
1160
+ afterVerticalNavMenuContentPosition: "fixed",
1161
+ beforeVerticalNavMenuContentPosition: "fixed",
1162
+ horizontalMenuAnimation: true,
1163
+ // ** AppBar Configs
1164
+ appBarBlur: true,
1165
+ // ** Other Configs
1166
+ responsiveFontSizes: true,
1167
+ disableRipple: false,
1168
+ disableCustomizer: true,
1169
+ toastPosition: "top-center"
1170
+ };
1171
+ var themeConfig_default = themeConfig;
1172
+
1173
+ // src/@core/theme/ThemeOptions.ts
1174
+ import { deepmerge } from "@mui/utils";
1175
+
1176
+ // src/@core/theme/UserThemeOptions.ts
1177
+ var UserThemeOptions = () => {
1178
+ return {
1179
+ /*
1180
+ palette:{
1181
+ primary: {
1182
+ light: '#8479F2',
1183
+ main: '#7367F0',
1184
+ dark: '#655BD3',
1185
+ contrastText: '#FFF'
1186
+ }
1187
+ },
1188
+ breakpoints: {
1189
+ values: {
1190
+ xs: 0,
1191
+ sm: 768,
1192
+ md: 992,
1193
+ lg: 1200,
1194
+ xl: 1920
1195
+ }
1196
+ },
1197
+ components: {
1198
+ MuiButton: {
1199
+ defaultProps: {
1200
+ disableElevation: true
1201
+ },
1202
+ styleOverrides: {
1203
+ root: {
1204
+ textTransform: 'none'
1205
+ },
1206
+ sizeSmall: {
1207
+ padding: '6px 16px'
1208
+ },
1209
+ sizeMedium: {
1210
+ padding: '8px 20px'
1211
+ },
1212
+ sizeLarge: {
1213
+ padding: '11px 24px'
1214
+ },
1215
+ textSizeSmall: {
1216
+ padding: '7px 12px'
1217
+ },
1218
+ textSizeMedium: {
1219
+ padding: '9px 16px'
1220
+ },
1221
+ textSizeLarge: {
1222
+ padding: '12px 16px'
1223
+ }
1224
+ }
1225
+ },
1226
+ MuiCardActions: {
1227
+ styleOverrides: {
1228
+ root: {
1229
+ padding: '16px 24px'
1230
+ }
1231
+ }
1232
+ },
1233
+ MuiCardContent: {
1234
+ styleOverrides: {
1235
+ root: {
1236
+ padding: '32px 24px',
1237
+ '&:last-child': {
1238
+ paddingBottom: '32px'
1239
+ }
1240
+ }
1241
+ }
1242
+ },
1243
+ MuiCssBaseline: {
1244
+ styleOverrides: {
1245
+ '*': {
1246
+ boxSizing: 'border-box'
1247
+ },
1248
+ html: {
1249
+ MozOsxFontSmoothing: 'grayscale',
1250
+ WebkitFontSmoothing: 'antialiased',
1251
+ display: 'flex',
1252
+ flexDirection: 'column',
1253
+ minHeight: '100%',
1254
+ width: '100%'
1255
+ },
1256
+ body: {
1257
+ display: 'flex',
1258
+ flex: '1 1 auto',
1259
+ flexDirection: 'column',
1260
+ minHeight: '100%',
1261
+ width: '100%'
1262
+ },
1263
+ '#__next': {
1264
+ display: 'flex',
1265
+ flex: '1 1 auto',
1266
+ flexDirection: 'column',
1267
+ height: '100%',
1268
+ width: '100%'
1269
+ }
1270
+ }
1271
+ }
1272
+ },
1273
+ shape: {
1274
+ borderRadius: 8
1275
+ },
1276
+ typography: {
1277
+ fontFamily:
1278
+ '"Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"',
1279
+ },
1280
+ shadows: mode === 'light' ? [
1281
+ 'none',
1282
+ '0px 2px 4px 1px rgba(51, 48, 60, 0.03), 0px 3px 4px 0px rgba(51, 48, 60, 0.02), 0px 1px 3px 2px rgba(51, 48, 60, 0.01)',
1283
+ '0px 3px 5px 2px rgba(51, 48, 60, 0.03), 0px 3px 5px 0px rgba(51, 48, 60, 0.02), 0px 1px 4px 2px rgba(51, 48, 60, 0.01)',
1284
+ '0px 3px 6px 2px rgba(51, 48, 60, 0.03), 0px 4px 6px 0px rgba(51, 48, 60, 0.02), 0px 1px 4px 2px rgba(51, 48, 60, 0.01)',
1285
+ '0px 2px 7px 1px rgba(51, 48, 60, 0.03), 0px 4px 7px 0px rgba(51, 48, 60, 0.02), 0px 1px 4px 2px rgba(51, 48, 60, 0.01)',
1286
+ '0px 3px 8px 1px rgba(51, 48, 60, 0.03), 0px 6px 8px 0px rgba(51, 48, 60, 0.02), 0px 1px 5px 4px rgba(51, 48, 60, 0.01)',
1287
+ '0px 3px 9px 1px rgba(51, 48, 60, 0.03), 0px 8px 9px 0px rgba(51, 48, 60, 0.02), 0px 1px 6px 4px rgba(51, 48, 60, 0.01)',
1288
+ '0px 4px 10px 2px rgba(51, 48, 60, 0.03), 0px 9px 10px 1px rgba(51, 48, 60, 0.02), 0px 2px 7px 4px rgba(51, 48, 60, 0.01)',
1289
+ '0px 5px 11px 3px rgba(51, 48, 60, 0.03), 0px 8px 11px 1px rgba(51, 48, 60, 0.02), 0px 3px 8px 4px rgba(51, 48, 60, 0.01)',
1290
+ '0px 5px 12px 3px rgba(51, 48, 60, 0.03), 0px 9px 12px 1px rgba(51, 48, 60, 0.02), 0px 3px 9px 5px rgba(51, 48, 60, 0.01)',
1291
+ '0px 6px 13px 3px rgba(51, 48, 60, 0.03), 0px 10px 13px 1px rgba(51, 48, 60, 0.02), 0px 4px 10px 5px rgba(51, 48, 60, 0.01)',
1292
+ '0px 6px 14px 4px rgba(51, 48, 60, 0.03), 0px 11px 14px 1px rgba(51, 48, 60, 0.02), 0px 4px 11px 5px rgba(51, 48, 60, 0.01)',
1293
+ '0px 7px 15px 4px rgba(51, 48, 60, 0.03), 0px 12px 15px 2px rgba(51, 48, 60, 0.02), 0px 5px 12px 5px rgba(51, 48, 60, 0.01)',
1294
+ '0px 7px 16px 4px rgba(51, 48, 60, 0.03), 0px 13px 16px 2px rgba(51, 48, 60, 0.02), 0px 5px 13px 6px rgba(51, 48, 60, 0.01)',
1295
+ '0px 7px 17px 4px rgba(51, 48, 60, 0.03), 0px 14px 17px 2px rgba(51, 48, 60, 0.02), 0px 5px 14px 6px rgba(51, 48, 60, 0.01)',
1296
+ '0px 8px 18px 5px rgba(51, 48, 60, 0.03), 0px 15px 18px 2px rgba(51, 48, 60, 0.02), 0px 6px 15px 6px rgba(51, 48, 60, 0.01)',
1297
+ '0px 8px 19px 5px rgba(51, 48, 60, 0.03), 0px 16px 19px 2px rgba(51, 48, 60, 0.02), 0px 6px 16px 6px rgba(51, 48, 60, 0.01)',
1298
+ '0px 8px 20px 5px rgba(51, 48, 60, 0.03), 0px 17px 20px 2px rgba(51, 48, 60, 0.02), 0px 6px 17px 7px rgba(51, 48, 60, 0.01)',
1299
+ '0px 9px 21px 5px rgba(51, 48, 60, 0.03), 0px 18px 21px 2px rgba(51, 48, 60, 0.02), 0px 7px 18px 7px rgba(51, 48, 60, 0.01)',
1300
+ '0px 9px 22px 6px rgba(51, 48, 60, 0.03), 0px 19px 22px 2px rgba(51, 48, 60, 0.02), 0px 7px 19px 7px rgba(51, 48, 60, 0.01)',
1301
+ '0px 10px 23px 6px rgba(51, 48, 60, 0.03), 0px 20px 23px 3px rgba(51, 48, 60, 0.02), 0px 8px 20px 7px rgba(51, 48, 60, 0.01)',
1302
+ '0px 10px 24px 6px rgba(51, 48, 60, 0.03), 0px 21px 24px 3px rgba(51, 48, 60, 0.02), 0px 8px 21px 7px rgba(51, 48, 60, 0.01)',
1303
+ '0px 10px 25px 6px rgba(51, 48, 60, 0.03), 0px 22px 25px 3px rgba(51, 48, 60, 0.02), 0px 8px 22px 7px rgba(51, 48, 60, 0.01)',
1304
+ '0px 11px 26px 7px rgba(51, 48, 60, 0.03), 0px 23px 26px 3px rgba(51, 48, 60, 0.02), 0px 9px 23px 7px rgba(51, 48, 60, 0.01)',
1305
+ '0px 11px 27px 7px rgba(51, 48, 60, 0.03), 0px 24px 27px 3px rgba(51, 48, 60, 0.02), 0px 9px 24px 7px rgba(51, 48, 60, 0.01)'
1306
+ ] : [
1307
+ 'none',
1308
+ '0px 2px 4px 1px rgba(12, 16, 27, 0.15), 0px 3px 4px 0px rgba(12, 16, 27, 0.1), 0px 1px 3px 2px rgba(12, 16, 27, 0.08)',
1309
+ '0px 3px 5px 2px rgba(12, 16, 27, 0.15), 0px 3px 5px 0px rgba(12, 16, 27, 0.1), 0px 1px 4px 2px rgba(12, 16, 27, 0.08)',
1310
+ '0px 3px 6px 2px rgba(12, 16, 27, 0.15), 0px 4px 6px 0px rgba(12, 16, 27, 0.1), 0px 1px 4px 2px rgba(12, 16, 27, 0.08)',
1311
+ '0px 2px 7px 1px rgba(12, 16, 27, 0.15), 0px 4px 7px 0px rgba(12, 16, 27, 0.1), 0px 1px 4px 2px rgba(12, 16, 27, 0.08)',
1312
+ '0px 3px 8px 1px rgba(12, 16, 27, 0.15), 0px 6px 8px 0px rgba(12, 16, 27, 0.1), 0px 1px 5px 4px rgba(12, 16, 27, 0.08)',
1313
+ '0px 3px 9px 1px rgba(12, 16, 27, 0.15), 0px 8px 9px 0px rgba(12, 16, 27, 0.1), 0px 1px 6px 4px rgba(12, 16, 27, 0.08)',
1314
+ '0px 4px 10px 2px rgba(12, 16, 27, 0.15), 0px 9px 10px 1px rgba(12, 16, 27, 0.1), 0px 2px 7px 4px rgba(12, 16, 27, 0.08)',
1315
+ '0px 5px 11px 3px rgba(12, 16, 27, 0.15), 0px 8px 11px 1px rgba(12, 16, 27, 0.1), 0px 3px 8px 4px rgba(12, 16, 27, 0.08)',
1316
+ '0px 5px 12px 3px rgba(12, 16, 27, 0.15), 0px 9px 12px 1px rgba(12, 16, 27, 0.1), 0px 3px 9px 5px rgba(12, 16, 27, 0.08)',
1317
+ '0px 6px 13px 3px rgba(12, 16, 27, 0.15), 0px 10px 13px 1px rgba(12, 16, 27, 0.1), 0px 4px 10px 5px rgba(12, 16, 27, 0.08)',
1318
+ '0px 6px 14px 4px rgba(12, 16, 27, 0.15), 0px 11px 14px 1px rgba(12, 16, 27, 0.1), 0px 4px 11px 5px rgba(12, 16, 27, 0.08)',
1319
+ '0px 7px 15px 4px rgba(12, 16, 27, 0.15), 0px 12px 15px 2px rgba(12, 16, 27, 0.1), 0px 5px 12px 5px rgba(12, 16, 27, 0.08)',
1320
+ '0px 7px 16px 4px rgba(12, 16, 27, 0.15), 0px 13px 16px 2px rgba(12, 16, 27, 0.1), 0px 5px 13px 6px rgba(12, 16, 27, 0.08)',
1321
+ '0px 7px 17px 4px rgba(12, 16, 27, 0.15), 0px 14px 17px 2px rgba(12, 16, 27, 0.1), 0px 5px 14px 6px rgba(12, 16, 27, 0.08)',
1322
+ '0px 8px 18px 5px rgba(12, 16, 27, 0.15), 0px 15px 18px 2px rgba(12, 16, 27, 0.1), 0px 6px 15px 6px rgba(12, 16, 27, 0.08)',
1323
+ '0px 8px 19px 5px rgba(12, 16, 27, 0.15), 0px 16px 19px 2px rgba(12, 16, 27, 0.1), 0px 6px 16px 6px rgba(12, 16, 27, 0.08)',
1324
+ '0px 8px 20px 5px rgba(12, 16, 27, 0.15), 0px 17px 20px 2px rgba(12, 16, 27, 0.1), 0px 6px 17px 7px rgba(12, 16, 27, 0.08)',
1325
+ '0px 9px 21px 5px rgba(12, 16, 27, 0.15), 0px 18px 21px 2px rgba(12, 16, 27, 0.1), 0px 7px 18px 7px rgba(12, 16, 27, 0.08)',
1326
+ '0px 9px 22px 6px rgba(12, 16, 27, 0.15), 0px 19px 22px 2px rgba(12, 16, 27, 0.1), 0px 7px 19px 7px rgba(12, 16, 27, 0.08)',
1327
+ '0px 10px 23px 6px rgba(12, 16, 27, 0.15), 0px 20px 23px 3px rgba(12, 16, 27, 0.1), 0px 8px 20px 7px rgba(12, 16, 27, 0.08)',
1328
+ '0px 10px 24px 6px rgba(12, 16, 27, 0.15), 0px 21px 24px 3px rgba(12, 16, 27, 0.1), 0px 8px 21px 7px rgba(12, 16, 27, 0.08)',
1329
+ '0px 10px 25px 6px rgba(12, 16, 27, 0.15), 0px 22px 25px 3px rgba(12, 16, 27, 0.1), 0px 8px 22px 7px rgba(12, 16, 27, 0.08)',
1330
+ '0px 11px 26px 7px rgba(12, 16, 27, 0.15), 0px 23px 26px 3px rgba(12, 16, 27, 0.1), 0px 9px 23px 7px rgba(12, 16, 27, 0.08)',
1331
+ '0px 11px 27px 7px rgba(12, 16, 27, 0.15), 0px 24px 27px 3px rgba(12, 16, 27, 0.1), 0px 9px 24px 7px rgba(12, 16, 27, 0.08)'
1332
+ ],
1333
+ zIndex: {
1334
+ appBar: 1200,
1335
+ drawer: 1100
1336
+ } */
1337
+ };
1338
+ };
1339
+ var UserThemeOptions_default = UserThemeOptions;
1340
+
1341
+ // src/@core/theme/breakpoints/index.ts
1342
+ var breakpoints = () => ({
1343
+ values: {
1344
+ xs: 0,
1345
+ sm: 600,
1346
+ md: 900,
1347
+ lg: 1200,
1348
+ xl: 1536
1349
+ }
1350
+ });
1351
+ var breakpoints_default = breakpoints;
1352
+
1353
+ // src/@core/utils/hex-to-rgba.ts
1354
+ var hexToRGBA = (hexCode, opacity) => {
1355
+ let hex = hexCode.replace("#", "");
1356
+ if (hex.length === 3) {
1357
+ hex = `${hex[0]}${hex[0]}${hex[1]}${hex[1]}${hex[2]}${hex[2]}`;
1358
+ }
1359
+ const r = parseInt(hex.substring(0, 2), 16);
1360
+ const g = parseInt(hex.substring(2, 4), 16);
1361
+ const b = parseInt(hex.substring(4, 6), 16);
1362
+ return `rgba(${r}, ${g}, ${b}, ${opacity})`;
1363
+ };
1364
+
1365
+ // src/@core/theme/overrides/alerts.ts
1366
+ var Alert = () => {
1367
+ return {
1368
+ MuiAlert: {
1369
+ styleOverrides: {
1370
+ root: ({ theme }) => ({
1371
+ fontWeight: 500,
1372
+ fontSize: "1rem",
1373
+ lineHeight: 1.375,
1374
+ alignItems: "flex-start",
1375
+ padding: theme.spacing(1.25, 3.5),
1376
+ "& .MuiAlertTitle-root": {
1377
+ marginBottom: theme.spacing(2.5)
1378
+ },
1379
+ "& a": {
1380
+ fontWeight: 700,
1381
+ color: "inherit"
1382
+ }
1383
+ }),
1384
+ icon: ({ theme }) => ({
1385
+ opacity: 1,
1386
+ fontSize: "1.125rem",
1387
+ padding: theme.spacing(1),
1388
+ borderRadius: theme.shape.borderRadius,
1389
+ margin: theme.spacing(1.75, 2.5, 1.75, 0),
1390
+ backgroundColor: theme.palette.common.white,
1391
+ "& + .MuiAlert-message": {
1392
+ padding: theme.spacing(2.25, 0)
1393
+ },
1394
+ "& ~ .MuiAlert-action": {
1395
+ paddingTop: theme.spacing(1.25)
1396
+ }
1397
+ }),
1398
+ message: ({ theme }) => ({
1399
+ padding: theme.spacing(1.75, 0)
1400
+ }),
1401
+ action: ({ theme }) => ({
1402
+ paddingTop: theme.spacing(0.75)
1403
+ }),
1404
+ standardSuccess: ({ theme }) => ({
1405
+ color: theme.palette.success.main,
1406
+ backgroundColor: hexToRGBA(theme.palette.success.main, 0.16),
1407
+ "& .MuiAlertTitle-root": {
1408
+ color: theme.palette.success.main
1409
+ },
1410
+ "& .MuiAlert-icon": {
1411
+ color: theme.palette.success.main
1412
+ }
1413
+ }),
1414
+ standardInfo: ({ theme }) => ({
1415
+ color: theme.palette.info.main,
1416
+ backgroundColor: hexToRGBA(theme.palette.info.main, 0.16),
1417
+ "& .MuiAlertTitle-root": {
1418
+ color: theme.palette.info.main
1419
+ },
1420
+ "& .MuiAlert-icon": {
1421
+ color: theme.palette.info.main
1422
+ }
1423
+ }),
1424
+ standardWarning: ({ theme }) => ({
1425
+ color: theme.palette.warning.main,
1426
+ backgroundColor: hexToRGBA(theme.palette.warning.main, 0.16),
1427
+ "& .MuiAlertTitle-root": {
1428
+ color: theme.palette.warning.main
1429
+ },
1430
+ "& .MuiAlert-icon": {
1431
+ color: theme.palette.warning.main
1432
+ }
1433
+ }),
1434
+ standardError: ({ theme }) => ({
1435
+ color: theme.palette.error.main,
1436
+ backgroundColor: hexToRGBA(theme.palette.error.main, 0.16),
1437
+ "& .MuiAlertTitle-root": {
1438
+ color: theme.palette.error.main
1439
+ },
1440
+ "& .MuiAlert-icon": {
1441
+ color: theme.palette.error.main
1442
+ }
1443
+ }),
1444
+ outlined: ({ theme }) => ({
1445
+ padding: theme.spacing(1, 3.25)
1446
+ }),
1447
+ outlinedSuccess: ({ theme }) => ({
1448
+ borderColor: theme.palette.success.main,
1449
+ color: theme.palette.success.main,
1450
+ "& .MuiAlertTitle-root": {
1451
+ color: theme.palette.success.main
1452
+ },
1453
+ "& .MuiAlert-icon": {
1454
+ color: theme.palette.common.white,
1455
+ backgroundColor: theme.palette.success.main
1456
+ }
1457
+ }),
1458
+ outlinedInfo: ({ theme }) => ({
1459
+ borderColor: theme.palette.info.main,
1460
+ color: theme.palette.info.main,
1461
+ "& .MuiAlertTitle-root": {
1462
+ color: theme.palette.info.main
1463
+ },
1464
+ "& .MuiAlert-icon": {
1465
+ color: theme.palette.common.white,
1466
+ backgroundColor: theme.palette.info.main
1467
+ }
1468
+ }),
1469
+ outlinedWarning: ({ theme }) => ({
1470
+ borderColor: theme.palette.warning.main,
1471
+ color: theme.palette.warning.main,
1472
+ "& .MuiAlertTitle-root": {
1473
+ color: theme.palette.warning.main
1474
+ },
1475
+ "& .MuiAlert-icon": {
1476
+ color: theme.palette.common.white,
1477
+ backgroundColor: theme.palette.warning.main
1478
+ }
1479
+ }),
1480
+ outlinedError: ({ theme }) => ({
1481
+ borderColor: theme.palette.error.main,
1482
+ color: theme.palette.error.main,
1483
+ "& .MuiAlertTitle-root": {
1484
+ color: theme.palette.error.main
1485
+ },
1486
+ "& .MuiAlert-icon": {
1487
+ color: theme.palette.common.white,
1488
+ backgroundColor: theme.palette.error.main
1489
+ }
1490
+ }),
1491
+ filled: ({ theme }) => ({
1492
+ color: theme.palette.common.white
1493
+ }),
1494
+ filledSuccess: ({ theme }) => ({
1495
+ "& .MuiAlert-icon": {
1496
+ color: theme.palette.success.main
1497
+ }
1498
+ }),
1499
+ filledInfo: ({ theme }) => ({
1500
+ "& .MuiAlert-icon": {
1501
+ color: theme.palette.info.main
1502
+ }
1503
+ }),
1504
+ filledWarning: ({ theme }) => ({
1505
+ "& .MuiAlert-icon": {
1506
+ color: theme.palette.warning.main
1507
+ }
1508
+ }),
1509
+ filledError: ({ theme }) => ({
1510
+ "& .MuiAlert-icon": {
1511
+ color: theme.palette.error.main
1512
+ }
1513
+ })
1514
+ }
1515
+ },
1516
+ MuiAlertTitle: {
1517
+ styleOverrides: {
1518
+ root: {
1519
+ fontWeight: 600,
1520
+ marginTop: "-1px",
1521
+ lineHeight: 1.33333,
1522
+ fontSize: "1.125rem"
1523
+ }
1524
+ }
1525
+ }
1526
+ };
1527
+ };
1528
+ var alerts_default = Alert;
1529
+
1530
+ // src/@core/theme/overrides/avatars.ts
1531
+ var Avatar = () => {
1532
+ return {
1533
+ MuiAvatar: {
1534
+ styleOverrides: {
1535
+ colorDefault: ({ theme }) => ({
1536
+ color: theme.palette.text.secondary,
1537
+ backgroundColor: theme.palette.customColors.avatarBg
1538
+ })
1539
+ }
1540
+ },
1541
+ MuiAvatarGroup: {
1542
+ styleOverrides: {
1543
+ root: ({ theme }) => ({
1544
+ "&.pull-up": {
1545
+ "& .MuiAvatar-root": {
1546
+ cursor: "pointer",
1547
+ transition: "box-shadow 0.2s ease, transform 0.2s ease",
1548
+ "&:hover": {
1549
+ zIndex: 2,
1550
+ boxShadow: theme.shadows[3],
1551
+ transform: "translateY(-4px)"
1552
+ }
1553
+ }
1554
+ },
1555
+ justifyContent: "flex-end",
1556
+ ".MuiCard-root & .MuiAvatar-root": {
1557
+ borderColor: theme.palette.background.paper
1558
+ }
1559
+ })
1560
+ }
1561
+ }
1562
+ };
1563
+ };
1564
+ var avatars_default = Avatar;
1565
+
1566
+ // src/@core/theme/overrides/backdrop.ts
1567
+ var Backdrop = () => {
1568
+ return {
1569
+ MuiBackdrop: {
1570
+ styleOverrides: {
1571
+ root: ({ theme }) => ({
1572
+ backgroundColor: theme.palette.mode === "light" ? `rgba(${theme.palette.customColors.main}, 0.7)` : hexToRGBA(theme.palette.background.default, 0.7)
1573
+ }),
1574
+ invisible: {
1575
+ backgroundColor: "transparent"
1576
+ }
1577
+ }
1578
+ }
1579
+ };
1580
+ };
1581
+ var backdrop_default = Backdrop;
1582
+
1583
+ // src/@core/theme/overrides/button.ts
1584
+ var Button6 = () => {
1585
+ return {
1586
+ MuiButton: {
1587
+ styleOverrides: {
1588
+ root: ({ ownerState, theme }) => ({
1589
+ fontWeight: 500,
1590
+ lineHeight: 1.7143,
1591
+ letterSpacing: "0.43px",
1592
+ textTransform: "capitalize",
1593
+ color: theme.palette.common.black,
1594
+ ...ownerState.size === "medium" && ownerState.variant === "text" && {
1595
+ padding: theme.spacing(1.75, 5)
1596
+ },
1597
+ ...ownerState.variant === "contained" && {
1598
+ "&:hover": {
1599
+ backgroundColor: theme.palette.common.black,
1600
+ opacity: 0.8
1601
+ }
1602
+ }
1603
+ }),
1604
+ contained: ({ theme }) => ({
1605
+ boxShadow: theme.shadows[2],
1606
+ padding: theme.spacing(1.75, 5),
1607
+ backgroundColor: theme.palette.common.black,
1608
+ color: theme.palette.common.white,
1609
+ "&:hover": {
1610
+ backgroundColor: theme.palette.common.black,
1611
+ opacity: 0.8
1612
+ }
1613
+ }),
1614
+ outlined: ({ theme }) => ({
1615
+ padding: theme.spacing(1.5, 4.75),
1616
+ whiteSpace: "nowrap",
1617
+ border: "1px solid black"
1618
+ }),
1619
+ sizeSmall: ({ ownerState, theme }) => ({
1620
+ ...ownerState.variant === "text" && {
1621
+ lineHeight: 1.53846,
1622
+ borderRadius: "4px",
1623
+ padding: theme.spacing(1, 3.5)
1624
+ },
1625
+ ...ownerState.variant === "contained" && {
1626
+ padding: theme.spacing(1, 3.5)
1627
+ },
1628
+ ...ownerState.variant === "outlined" && {
1629
+ padding: theme.spacing(0.75, 3.25)
1630
+ }
1631
+ }),
1632
+ sizeLarge: ({ ownerState, theme }) => ({
1633
+ ...ownerState.variant === "text" && {
1634
+ lineHeight: 2,
1635
+ borderRadius: "8px",
1636
+ padding: theme.spacing(2.25, 6.5)
1637
+ },
1638
+ ...ownerState.variant === "contained" && {
1639
+ padding: theme.spacing(2.25, 6.5)
1640
+ },
1641
+ ...ownerState.variant === "outlined" && {
1642
+ padding: theme.spacing(2, 6.25)
1643
+ }
1644
+ })
1645
+ }
1646
+ },
1647
+ MuiButtonBase: {
1648
+ defaultProps: {
1649
+ disableRipple: themeConfig_default.disableRipple
1650
+ }
1651
+ }
1652
+ };
1653
+ };
1654
+ var button_default = Button6;
1655
+
1656
+ // src/@core/theme/overrides/card.ts
1657
+ var Card = (skin) => {
1658
+ return {
1659
+ MuiCard: {
1660
+ styleOverrides: {
1661
+ root: ({ theme }) => ({
1662
+ ...skin === "bordered" && {
1663
+ border: `1px solid ${theme.palette.divider}`
1664
+ },
1665
+ backgroundColor: theme.palette.background.default,
1666
+ "& .card-more-options": {
1667
+ marginTop: theme.spacing(-1),
1668
+ marginRight: theme.spacing(-3)
1669
+ },
1670
+ "& .MuiTableContainer-root, & .MuiDataGrid-root, & .MuiDataGrid-columnHeaders": {
1671
+ borderRadius: 0
1672
+ }
1673
+ })
1674
+ },
1675
+ defaultProps: {
1676
+ elevation: skin === "bordered" ? 0 : 6
1677
+ }
1678
+ },
1679
+ MuiCardHeader: {
1680
+ styleOverrides: {
1681
+ root: ({ theme }) => ({
1682
+ padding: theme.spacing(6),
1683
+ "& + .MuiCardContent-root, & + .MuiCardActions-root, & + .MuiCollapse-root .MuiCardContent-root": {
1684
+ paddingTop: 0
1685
+ },
1686
+ "& .MuiCardHeader-subheader": {
1687
+ fontSize: "0.875rem",
1688
+ marginTop: theme.spacing(1),
1689
+ color: theme.palette.text.disabled
1690
+ }
1691
+ }),
1692
+ title: {
1693
+ lineHeight: 1.6,
1694
+ fontWeight: 500,
1695
+ fontSize: "1.125rem",
1696
+ letterSpacing: "0.15px",
1697
+ "@media (min-width: 600px)": {
1698
+ fontSize: "1.25rem"
1699
+ }
1700
+ },
1701
+ action: {
1702
+ marginTop: 0,
1703
+ marginRight: 0
1704
+ }
1705
+ }
1706
+ },
1707
+ MuiCardContent: {
1708
+ styleOverrides: {
1709
+ root: ({ theme }) => ({
1710
+ padding: theme.spacing(6),
1711
+ "& + .MuiCardHeader-root, & + .MuiCardContent-root, & + .MuiCardActions-root": {
1712
+ paddingTop: 0
1713
+ },
1714
+ "&:last-of-type": {
1715
+ paddingBottom: theme.spacing(6)
1716
+ }
1717
+ })
1718
+ }
1719
+ },
1720
+ MuiCardActions: {
1721
+ styleOverrides: {
1722
+ root: ({ theme }) => ({
1723
+ padding: theme.spacing(6),
1724
+ "& .MuiButton-text": {
1725
+ paddingLeft: theme.spacing(3),
1726
+ paddingRight: theme.spacing(3)
1727
+ },
1728
+ "&.card-action-dense": {
1729
+ padding: theme.spacing(0, 3, 3),
1730
+ ".MuiCard-root .MuiCardMedia-root + &": {
1731
+ paddingTop: theme.spacing(3)
1732
+ }
1733
+ },
1734
+ ".MuiCard-root &:first-of-type": {
1735
+ paddingTop: theme.spacing(3),
1736
+ "& + .MuiCardHeader-root, & + .MuiCardContent-root, & + .MuiCardActions-root": {
1737
+ paddingTop: 0
1738
+ }
1739
+ }
1740
+ })
1741
+ }
1742
+ }
1743
+ };
1744
+ };
1745
+ var card_default = Card;
1746
+
1747
+ // src/@core/theme/overrides/checkbox.tsx
1748
+ import { alpha, useTheme as useTheme2 } from "@mui/material/styles";
1749
+ import { jsx as jsx16, jsxs as jsxs11 } from "react/jsx-runtime";
1750
+ var CheckedIcon = () => {
1751
+ const theme = useTheme2();
1752
+ return /* @__PURE__ */ jsxs11("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1753
+ /* @__PURE__ */ jsx16(
1754
+ "path",
1755
+ {
1756
+ fill: "#6750A4",
1757
+ d: "M17.5514 3H6.75137C4.76314 3 3.15137 4.61177 3.15137 6.6V17.4C3.15137 19.3882 4.76314 21 6.75137 21H17.5514C19.5396 21 21.1514 19.3882 21.1514 17.4V6.6C21.1514 4.61177 19.5396 3 17.5514 3Z"
1758
+ }
1759
+ ),
1760
+ /* @__PURE__ */ jsx16(
1761
+ "path",
1762
+ {
1763
+ strokeWidth: "0.3",
1764
+ fill: theme.palette.common.white,
1765
+ stroke: theme.palette.common.white,
1766
+ d: "M8.63616 11.5663L8.53426 11.472L8.43235 11.5663L7.54946 12.3837L7.43057 12.4938L7.54946 12.6039L10.4885 15.3248L10.5904 15.4191L10.6923 15.3248L16.7533 9.71358L16.8722 9.60351L16.7533 9.49344L15.8704 8.67606L15.7685 8.58172L15.6666 8.67606L10.5904 13.3756L8.63616 11.5663Z"
1767
+ }
1768
+ )
1769
+ ] });
1770
+ };
1771
+ var Icon2 = () => {
1772
+ const theme = useTheme2();
1773
+ return /* @__PURE__ */ jsx16(
1774
+ "svg",
1775
+ {
1776
+ width: "24",
1777
+ height: "24",
1778
+ fill: "none",
1779
+ viewBox: "0 0 24 24",
1780
+ xmlns: "http://www.w3.org/2000/svg",
1781
+ stroke: theme.palette.text.disabled,
1782
+ children: /* @__PURE__ */ jsx16("path", { d: "M17.2105 3.5H6.78947C4.69661 3.5 3 5.19661 3 7.28947V17.7105C3 19.8034 4.69661 21.5 6.78947 21.5H17.2105C19.3034 21.5 21 19.8034 21 17.7105V7.28947C21 5.19661 19.3034 3.5 17.2105 3.5Z" })
1783
+ }
1784
+ );
1785
+ };
1786
+ var IndeterminateIcon = () => {
1787
+ const theme = useTheme2();
1788
+ return /* @__PURE__ */ jsx16(
1789
+ "svg",
1790
+ {
1791
+ width: "24",
1792
+ height: "24",
1793
+ viewBox: "0 0 24 24",
1794
+ fill: theme.palette.primary.main,
1795
+ xmlns: "http://www.w3.org/2000/svg",
1796
+ children: /* @__PURE__ */ jsx16(
1797
+ "path",
1798
+ {
1799
+ fillRule: "evenodd",
1800
+ clipRule: "evenodd",
1801
+ d: "M6.6 3.5H17.4C19.3882 3.5 21 5.11177 21 7.1V17.9C21 19.8882 19.3882 21.5 17.4 21.5H6.6C4.61177 21.5 3 19.8882 3 17.9V7.1C3 5.11177 4.61177 3.5 6.6 3.5ZM16.5 11.8569H7.5V13.1426H16.5V11.8569Z"
1802
+ }
1803
+ )
1804
+ }
1805
+ );
1806
+ };
1807
+ var Checkbox2 = () => {
1808
+ return {
1809
+ MuiCheckbox: {
1810
+ defaultProps: {
1811
+ icon: /* @__PURE__ */ jsx16(Icon2, {}),
1812
+ checkedIcon: /* @__PURE__ */ jsx16(CheckedIcon, {}),
1813
+ indeterminateIcon: /* @__PURE__ */ jsx16(IndeterminateIcon, {})
1814
+ },
1815
+ styleOverrides: {
1816
+ root: ({ theme }) => ({
1817
+ "&.Mui-checked": {
1818
+ "& svg": {
1819
+ filter: `drop-shadow(0 2px 3px ${alpha(theme.palette.mode === "light" ? theme.palette.customColors.main : "#0c101b", 0.16)})`
1820
+ },
1821
+ "&.Mui-disabled svg": {
1822
+ filter: "none",
1823
+ "& path:first-of-type": {
1824
+ fill: theme.palette.action.disabled
1825
+ },
1826
+ "& path:last-of-type": {
1827
+ fill: theme.palette.background.paper,
1828
+ stroke: theme.palette.background.paper
1829
+ }
1830
+ }
1831
+ },
1832
+ "&.Mui-disabled:not(.Mui-checked) svg": {
1833
+ stroke: theme.palette.action.disabled
1834
+ },
1835
+ "&.Mui-checked.MuiCheckbox-colorSecondary svg path:first-of-type": {
1836
+ fill: theme.palette.secondary.main
1837
+ },
1838
+ "&.Mui-checked.MuiCheckbox-colorSuccess svg path:first-of-type": {
1839
+ fill: theme.palette.success.main
1840
+ },
1841
+ "&.Mui-checked.MuiCheckbox-colorError svg path:first-of-type": {
1842
+ fill: theme.palette.error.main
1843
+ },
1844
+ "&.Mui-checked.MuiCheckbox-colorWarning svg path:first-of-type": {
1845
+ fill: theme.palette.warning.main
1846
+ },
1847
+ "&.Mui-checked.MuiCheckbox-colorInfo svg path:first-of-type": {
1848
+ fill: theme.palette.info.main
1849
+ }
1850
+ })
1851
+ }
1852
+ }
1853
+ };
1854
+ };
1855
+ var checkbox_default = Checkbox2;
1856
+
1857
+ // src/@core/theme/overrides/chip.ts
1858
+ var Chip = () => {
1859
+ return {
1860
+ MuiChip: {
1861
+ styleOverrides: {
1862
+ root: {
1863
+ height: 30,
1864
+ fontWeight: 500,
1865
+ backgroundColor: "#6e6f6f",
1866
+ color: "#f6f6f6",
1867
+ "&.MuiChip-rounded": {
1868
+ borderRadius: 4
1869
+ }
1870
+ },
1871
+ outlined: ({ theme }) => ({
1872
+ "&.MuiChip-colorDefault": {
1873
+ borderColor: `rgba(${theme.palette.customColors.main}, 0.22)`
1874
+ }
1875
+ }),
1876
+ sizeSmall: {
1877
+ height: 24
1878
+ },
1879
+ labelSmall: ({ theme }) => ({
1880
+ paddingLeft: theme.spacing(2.5),
1881
+ paddingRight: theme.spacing(2.5)
1882
+ }),
1883
+ deleteIcon: {
1884
+ width: 18,
1885
+ height: 18
1886
+ },
1887
+ avatar: ({ theme }) => ({
1888
+ color: theme.palette.text.primary
1889
+ }),
1890
+ deletableColorPrimary: ({ theme }) => ({
1891
+ "&.MuiChip-light .MuiChip-deleteIcon": {
1892
+ color: "#fff",
1893
+ "&:hover": {
1894
+ color: theme.palette.primary.main
1895
+ }
1896
+ }
1897
+ }),
1898
+ deletableColorSecondary: ({ theme }) => ({
1899
+ "&.MuiChip-light .MuiChip-deleteIcon": {
1900
+ color: hexToRGBA(theme.palette.secondary.main, 0.7),
1901
+ "&:hover": {
1902
+ color: theme.palette.secondary.main
1903
+ }
1904
+ }
1905
+ }),
1906
+ deletableColorSuccess: ({ theme }) => ({
1907
+ "&.MuiChip-light .MuiChip-deleteIcon": {
1908
+ color: hexToRGBA(theme.palette.success.main, 0.7),
1909
+ "&:hover": {
1910
+ color: theme.palette.success.main
1911
+ }
1912
+ }
1913
+ }),
1914
+ deletableColorError: ({ theme }) => ({
1915
+ "&.MuiChip-light .MuiChip-deleteIcon": {
1916
+ color: hexToRGBA(theme.palette.error.main, 0.7),
1917
+ "&:hover": {
1918
+ color: theme.palette.error.main
1919
+ }
1920
+ }
1921
+ }),
1922
+ deletableColorWarning: ({ theme }) => ({
1923
+ "&.MuiChip-light .MuiChip-deleteIcon": {
1924
+ color: hexToRGBA(theme.palette.warning.main, 0.7),
1925
+ "&:hover": {
1926
+ color: theme.palette.warning.main
1927
+ }
1928
+ }
1929
+ }),
1930
+ deletableColorInfo: ({ theme }) => ({
1931
+ "&.MuiChip-light .MuiChip-deleteIcon": {
1932
+ color: hexToRGBA(theme.palette.info.main, 0.7),
1933
+ "&:hover": {
1934
+ color: theme.palette.info.main
1935
+ }
1936
+ }
1937
+ })
1938
+ }
1939
+ }
1940
+ };
1941
+ };
1942
+ var chip_default = Chip;
1943
+
1944
+ // src/@core/theme/overrides/dataGrid.ts
1945
+ var DataGrid2 = () => {
1946
+ return {
1947
+ MuiDataGrid: {
1948
+ styleOverrides: {
1949
+ root: ({ theme }) => ({
1950
+ border: 0,
1951
+ color: theme.palette.text.primary,
1952
+ "& .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-columnHeader:focus-within": {
1953
+ outline: "none"
1954
+ }
1955
+ }),
1956
+ toolbarContainer: ({ theme }) => ({
1957
+ paddingRight: `${theme.spacing(6)} !important`,
1958
+ paddingLeft: `${theme.spacing(3.25)} !important`
1959
+ }),
1960
+ columnHeaders: ({ theme }) => ({
1961
+ backgroundColor: theme.palette.customColors.tableHeaderBg
1962
+ }),
1963
+ columnHeader: ({ theme }) => ({
1964
+ "&:not(.MuiDataGrid-columnHeaderCheckbox)": {
1965
+ paddingLeft: theme.spacing(4),
1966
+ paddingRight: theme.spacing(4),
1967
+ "&:first-of-type": {
1968
+ paddingLeft: theme.spacing(6)
1969
+ }
1970
+ },
1971
+ "&:last-of-type": {
1972
+ paddingRight: theme.spacing(6)
1973
+ }
1974
+ }),
1975
+ columnHeaderCheckbox: {
1976
+ maxWidth: "58px !important",
1977
+ minWidth: "58px !important"
1978
+ },
1979
+ columnHeaderTitleContainer: {
1980
+ padding: 0
1981
+ },
1982
+ columnHeaderTitle: {
1983
+ fontWeight: 600,
1984
+ fontSize: "0.75rem",
1985
+ letterSpacing: "1px",
1986
+ textTransform: "uppercase"
1987
+ },
1988
+ columnSeparator: ({ theme }) => ({
1989
+ color: theme.palette.divider
1990
+ }),
1991
+ row: {
1992
+ "&:last-child": {
1993
+ "& .MuiDataGrid-cell": {
1994
+ borderBottom: 0
1995
+ }
1996
+ }
1997
+ },
1998
+ cell: ({ theme }) => ({
1999
+ borderColor: theme.palette.divider,
2000
+ "&:not(.MuiDataGrid-cellCheckbox)": {
2001
+ paddingLeft: theme.spacing(4),
2002
+ paddingRight: theme.spacing(4),
2003
+ "&:first-of-type": {
2004
+ paddingLeft: theme.spacing(6)
2005
+ }
2006
+ },
2007
+ "&:last-of-type": {
2008
+ paddingRight: theme.spacing(6)
2009
+ },
2010
+ "&:focus, &:focus-within": {
2011
+ outline: "none"
2012
+ }
2013
+ }),
2014
+ cellCheckbox: {
2015
+ maxWidth: "58px !important",
2016
+ minWidth: "58px !important"
2017
+ },
2018
+ editInputCell: ({ theme }) => ({
2019
+ padding: 0,
2020
+ color: theme.palette.text.primary,
2021
+ "& .MuiInputBase-input": {
2022
+ padding: 0
2023
+ }
2024
+ }),
2025
+ footerContainer: ({ theme }) => ({
2026
+ borderTop: `1px solid ${theme.palette.divider}`,
2027
+ "& .MuiTablePagination-toolbar": {
2028
+ paddingLeft: `${theme.spacing(4)} !important`,
2029
+ paddingRight: `${theme.spacing(4)} !important`
2030
+ },
2031
+ "& .MuiTablePagination-displayedRows, & .MuiTablePagination-selectLabel": {
2032
+ color: theme.palette.text.primary
2033
+ }
2034
+ }),
2035
+ selectedRowCount: ({ theme }) => ({
2036
+ margin: 0,
2037
+ paddingLeft: theme.spacing(4),
2038
+ paddingRight: theme.spacing(4)
2039
+ })
2040
+ }
2041
+ }
2042
+ };
2043
+ };
2044
+ var dataGrid_default = DataGrid2;
2045
+
2046
+ // src/@core/theme/overrides/dialog.ts
2047
+ var Dialog2 = (skin) => {
2048
+ return {
2049
+ MuiDialog: {
2050
+ styleOverrides: {
2051
+ paper: ({ theme }) => ({
2052
+ boxShadow: theme.shadows[skin === "bordered" ? 0 : 9],
2053
+ background: theme.palette.background.default,
2054
+ ...skin === "bordered" && {
2055
+ border: `1px solid ${theme.palette.divider}`
2056
+ },
2057
+ "&:not(.MuiDialog-paperFullScreen)": {
2058
+ [theme.breakpoints.down("sm")]: {
2059
+ margin: theme.spacing(4),
2060
+ width: `calc(100% - ${theme.spacing(8)})`,
2061
+ maxWidth: `calc(100% - ${theme.spacing(8)}) !important`
2062
+ }
2063
+ },
2064
+ "& > .MuiList-root": {
2065
+ paddingLeft: theme.spacing(5),
2066
+ paddingRight: theme.spacing(5)
2067
+ }
2068
+ })
2069
+ }
2070
+ },
2071
+ MuiDialogTitle: {
2072
+ styleOverrides: {
2073
+ root: ({ theme }) => ({
2074
+ padding: theme.spacing(5, 6, 1)
2075
+ })
2076
+ }
2077
+ },
2078
+ MuiDialogContent: {
2079
+ styleOverrides: {
2080
+ root: ({ theme }) => ({
2081
+ padding: `${theme.spacing(5, 10)} !important`
2082
+ })
2083
+ }
2084
+ },
2085
+ MuiDialogActions: {
2086
+ styleOverrides: {
2087
+ root: ({ theme }) => ({
2088
+ padding: theme.spacing(1, 6, 5),
2089
+ "&.dialog-actions-dense": {
2090
+ padding: theme.spacing(1, 2.5, 2.5)
2091
+ }
2092
+ })
2093
+ }
2094
+ }
2095
+ };
2096
+ };
2097
+ var dialog_default = Dialog2;
2098
+
2099
+ // src/@core/theme/overrides/divider.ts
2100
+ var Divider2 = () => {
2101
+ return {
2102
+ MuiDivider: {
2103
+ styleOverrides: {
2104
+ root: ({ theme }) => ({
2105
+ ".MuiStack-root &:not(.MuiDivider-vertical)": {
2106
+ marginTop: theme.spacing(2),
2107
+ marginBottom: theme.spacing(2)
2108
+ }
2109
+ }),
2110
+ middle: ({ theme }) => ({
2111
+ "&:not(.MuiDivider-vertical)": {
2112
+ marginLeft: theme.spacing(5),
2113
+ marginRight: theme.spacing(5)
2114
+ },
2115
+ "&.MuiDivider-vertical": {
2116
+ marginTop: theme.spacing(2),
2117
+ marginBottom: theme.spacing(2)
2118
+ }
2119
+ })
2120
+ }
2121
+ }
2122
+ };
2123
+ };
2124
+ var divider_default = Divider2;
2125
+
2126
+ // src/@core/theme/overrides/input.ts
2127
+ var input = () => {
2128
+ return {
2129
+ MuiInputLabel: {
2130
+ styleOverrides: {
2131
+ root: ({ theme }) => ({
2132
+ color: theme.palette.text.secondary
2133
+ })
2134
+ }
2135
+ },
2136
+ MuiInput: {
2137
+ styleOverrides: {
2138
+ root: ({ theme }) => ({
2139
+ "&:before": {
2140
+ borderBottom: `1px solid rgba(${theme.palette.customColors.main}, 0.22)`
2141
+ },
2142
+ "&:hover:not(.Mui-disabled):before": {
2143
+ borderBottom: `1px solid rgba(${theme.palette.customColors.main}, 0.32)`
2144
+ },
2145
+ "&.Mui-disabled:before": {
2146
+ borderBottomStyle: "solid"
2147
+ }
2148
+ })
2149
+ }
2150
+ },
2151
+ MuiFilledInput: {
2152
+ styleOverrides: {
2153
+ root: ({ theme }) => ({
2154
+ backgroundColor: `rgba(${theme.palette.customColors.main}, 0.04)`,
2155
+ "&:hover:not(.Mui-disabled)": {
2156
+ backgroundColor: `rgba(${theme.palette.customColors.main}, 0.08)`
2157
+ },
2158
+ "&:before": {
2159
+ borderBottom: `1px solid rgba(${theme.palette.customColors.main}, 0.22)`
2160
+ },
2161
+ "&:hover:not(.Mui-disabled):before": {
2162
+ borderBottom: `1px solid rgba(${theme.palette.customColors.main}, 0.32)`
2163
+ }
2164
+ })
2165
+ }
2166
+ },
2167
+ MuiOutlinedInput: {
2168
+ styleOverrides: {
2169
+ root: ({ theme }) => ({
2170
+ "&:hover:not(.Mui-focused):not(.Mui-disabled):not(.Mui-error) .MuiOutlinedInput-notchedOutline": {
2171
+ borderColor: `rgba(${theme.palette.customColors.main}, 0.32)`
2172
+ },
2173
+ "&:hover.Mui-error .MuiOutlinedInput-notchedOutline": {
2174
+ borderColor: theme.palette.error.main
2175
+ },
2176
+ "& .MuiOutlinedInput-notchedOutline": {
2177
+ borderColor: `rgba(${theme.palette.customColors.main}, 0.22)`
2178
+ },
2179
+ "&.Mui-disabled .MuiOutlinedInput-notchedOutline": {
2180
+ borderColor: theme.palette.text.disabled
2181
+ },
2182
+ "&.Mui-focused": {
2183
+ boxShadow: `0 2px 3px 0 rgba(${theme.palette.customColors.main}, 0.1)`,
2184
+ color: theme.palette.text.secondary + " !important"
2185
+ }
2186
+ })
2187
+ }
2188
+ }
2189
+ };
2190
+ };
2191
+ var input_default = input;
2192
+
2193
+ // src/@core/theme/overrides/link.ts
2194
+ var link_default = {
2195
+ MuiLink: {
2196
+ styleOverrides: {
2197
+ root: {
2198
+ textDecoration: "none"
2199
+ }
2200
+ }
2201
+ }
2202
+ };
2203
+
2204
+ // src/@core/theme/overrides/list.ts
2205
+ var List = () => {
2206
+ return {
2207
+ MuiListItemIcon: {
2208
+ styleOverrides: {
2209
+ root: ({ theme }) => ({
2210
+ minWidth: "0 !important",
2211
+ marginRight: theme.spacing(2.25),
2212
+ color: theme.palette.text.secondary
2213
+ })
2214
+ }
2215
+ },
2216
+ MuiListItemAvatar: {
2217
+ styleOverrides: {
2218
+ root: ({ theme }) => ({
2219
+ minWidth: 0,
2220
+ marginRight: theme.spacing(4)
2221
+ })
2222
+ }
2223
+ },
2224
+ MuiListItemText: {
2225
+ styleOverrides: {
2226
+ dense: ({ theme }) => ({
2227
+ "& .MuiListItemText-primary": {
2228
+ color: theme.palette.text.primary
2229
+ }
2230
+ })
2231
+ }
2232
+ },
2233
+ MuiListSubheader: {
2234
+ styleOverrides: {
2235
+ root: ({ theme }) => ({
2236
+ fontWeight: 600,
2237
+ textTransform: "uppercase",
2238
+ color: theme.palette.text.primary
2239
+ })
2240
+ }
2241
+ }
2242
+ };
2243
+ };
2244
+ var list_default = List;
2245
+
2246
+ // src/@core/theme/overrides/menu.ts
2247
+ var Menu = (skin) => {
2248
+ const boxShadow = (theme) => {
2249
+ if (skin === "bordered") {
2250
+ return theme.shadows[0];
2251
+ } else if (theme.palette.mode === "light") {
2252
+ return theme.shadows[8];
2253
+ } else return theme.shadows[9];
2254
+ };
2255
+ return {
2256
+ MuiMenu: {
2257
+ styleOverrides: {
2258
+ root: ({ theme }) => ({
2259
+ "& .MuiMenu-paper": {
2260
+ boxShadow: boxShadow(theme),
2261
+ backgroundColor: theme.palette.background.default,
2262
+ ...skin === "bordered" && {
2263
+ border: `1px solid ${theme.palette.divider}`
2264
+ }
2265
+ }
2266
+ })
2267
+ }
2268
+ },
2269
+ MuiMenuItem: {
2270
+ styleOverrides: {
2271
+ root: ({ theme }) => ({
2272
+ margin: theme.spacing(0, 2, 1),
2273
+ backgroundColor: theme.palette.background.default,
2274
+ padding: theme.spacing(1.75, 4),
2275
+ borderRadius: theme.shape.borderRadius,
2276
+ "&:hover": {
2277
+ color: `${theme.palette.common.black} !important`
2278
+ },
2279
+ "&:last-child": {
2280
+ marginBottom: 0
2281
+ },
2282
+ "&:not(.Mui-focusVisible):hover": {
2283
+ color: theme.palette.common.black,
2284
+ backgroundColor: hexToRGBA(theme.palette.primary.main, 0.08)
2285
+ },
2286
+ "&.Mui-selected": {
2287
+ color: `${theme.palette.common.black} !important`,
2288
+ backgroundColor: `${theme.palette.primary.main} !important`,
2289
+ "&.Mui-focusVisible": {
2290
+ backgroundColor: `${theme.palette.primary.dark} !important`
2291
+ }
2292
+ }
2293
+ })
2294
+ }
2295
+ }
2296
+ };
2297
+ };
2298
+ var menu_default = Menu;
2299
+
2300
+ // src/@core/theme/overrides/paper.ts
2301
+ var paper_default = {
2302
+ MuiPaper: {
2303
+ styleOverrides: {
2304
+ root: {
2305
+ backgroundImage: "none",
2306
+ backgroundColor: "white"
2307
+ }
2308
+ }
2309
+ }
2310
+ };
2311
+
2312
+ // src/@core/theme/overrides/popover.ts
2313
+ var Popover2 = (skin) => {
2314
+ return {
2315
+ MuiPopover: {
2316
+ styleOverrides: {
2317
+ root: ({ theme }) => ({
2318
+ "& .MuiPopover-paper": {
2319
+ boxShadow: theme.shadows[skin === "bordered" ? 0 : 6],
2320
+ ...skin === "bordered" && { border: `1px solid ${theme.palette.divider}` }
2321
+ }
2322
+ })
2323
+ }
2324
+ }
2325
+ };
2326
+ };
2327
+ var popover_default = Popover2;
2328
+
2329
+ // src/@core/theme/overrides/progress.ts
2330
+ var Progress = () => {
2331
+ return {
2332
+ MuiLinearProgress: {
2333
+ styleOverrides: {
2334
+ root: ({ theme }) => ({
2335
+ height: 12,
2336
+ borderRadius: "10px",
2337
+ backgroundColor: theme.palette.customColors.trackBg
2338
+ }),
2339
+ bar: {
2340
+ borderRadius: "10px"
2341
+ }
2342
+ }
2343
+ }
2344
+ };
2345
+ };
2346
+ var progress_default = Progress;
2347
+
2348
+ // src/@core/theme/overrides/radio.tsx
2349
+ import { alpha as alpha2, useTheme as useTheme3 } from "@mui/material/styles";
2350
+ import { jsx as jsx17, jsxs as jsxs12 } from "react/jsx-runtime";
2351
+ var CheckedIcon2 = () => {
2352
+ const theme = useTheme3();
2353
+ return /* @__PURE__ */ jsxs12("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2354
+ /* @__PURE__ */ jsx17(
2355
+ "path",
2356
+ {
2357
+ fillRule: "evenodd",
2358
+ clipRule: "evenodd",
2359
+ fill: theme.palette.primary.main,
2360
+ d: "M12 3C16.9705 3 21 7.02944 21 12C21 16.9705 16.9705 21 12 21C7.02944 21 3 16.9705 3 12C3 7.02944 7.02944 3 12 3Z"
2361
+ }
2362
+ ),
2363
+ /* @__PURE__ */ jsx17(
2364
+ "path",
2365
+ {
2366
+ fill: theme.palette.common.white,
2367
+ d: "M16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12C8 9.79086 9.79086 8 12 8C14.2091 8 16 9.79086 16 12Z"
2368
+ }
2369
+ )
2370
+ ] });
2371
+ };
2372
+ var Icon3 = () => {
2373
+ const theme = useTheme3();
2374
+ return /* @__PURE__ */ jsx17(
2375
+ "svg",
2376
+ {
2377
+ width: "24",
2378
+ height: "24",
2379
+ fill: "none",
2380
+ viewBox: "0 0 24 24",
2381
+ xmlns: "http://www.w3.org/2000/svg",
2382
+ stroke: theme.palette.text.disabled,
2383
+ children: /* @__PURE__ */ jsx17("path", { d: "M12 3.5C16.6944 3.5 20.5 7.30558 20.5 12C20.5 16.6944 16.6944 20.5 12 20.5C7.30558 20.5 3.5 16.6944 3.5 12C3.5 7.30558 7.30558 3.5 12 3.5Z" })
2384
+ }
2385
+ );
2386
+ };
2387
+ var Radio = () => {
2388
+ return {
2389
+ MuiRadio: {
2390
+ defaultProps: {
2391
+ icon: /* @__PURE__ */ jsx17(Icon3, {}),
2392
+ checkedIcon: /* @__PURE__ */ jsx17(CheckedIcon2, {})
2393
+ },
2394
+ styleOverrides: {
2395
+ root: ({ theme }) => ({
2396
+ "&.Mui-checked": {
2397
+ "& svg": {
2398
+ fill: theme.palette.primary.main,
2399
+ filter: `drop-shadow(0 2px 3px ${alpha2(theme.palette.mode === "light" ? theme.palette.customColors.main : "#0c101b", 0.16)})`
2400
+ },
2401
+ "&.Mui-disabled svg": {
2402
+ opacity: 0.4,
2403
+ filter: "none",
2404
+ "& path:first-of-type": {
2405
+ fill: theme.palette.text.disabled
2406
+ },
2407
+ "& path:last-of-type": {
2408
+ fill: theme.palette.common.white,
2409
+ stroke: theme.palette.common.white,
2410
+ opacity: theme.palette.mode === "dark" ? 0.5 : 0.9
2411
+ }
2412
+ }
2413
+ },
2414
+ "&.Mui-disabled:not(.Mui-checked) svg": {
2415
+ opacity: 0.5
2416
+ },
2417
+ "&.Mui-checked.MuiRadio-colorSecondary svg path:first-of-type": {
2418
+ fill: theme.palette.secondary.main
2419
+ },
2420
+ "&.Mui-checked.MuiRadio-colorSuccess svg path:first-of-type": {
2421
+ fill: theme.palette.success.main
2422
+ },
2423
+ "&.Mui-checked.MuiRadio-colorError svg path:first-of-type": {
2424
+ fill: theme.palette.error.main
2425
+ },
2426
+ "&.Mui-checked.MuiRadio-colorWarning svg path:first-of-type": {
2427
+ fill: theme.palette.warning.main
2428
+ },
2429
+ "&.Mui-checked.MuiRadio-colorInfo svg path:first-of-type": {
2430
+ fill: theme.palette.info.main
2431
+ }
2432
+ })
2433
+ }
2434
+ }
2435
+ };
2436
+ };
2437
+ var radio_default = Radio;
2438
+
2439
+ // src/@core/theme/overrides/rating.ts
2440
+ var Rating = () => {
2441
+ return {
2442
+ MuiRating: {
2443
+ styleOverrides: {
2444
+ root: ({ theme }) => ({
2445
+ color: theme.palette.warning.main,
2446
+ "& svg": {
2447
+ flexShrink: 0
2448
+ }
2449
+ })
2450
+ }
2451
+ }
2452
+ };
2453
+ };
2454
+ var rating_default = Rating;
2455
+
2456
+ // src/@core/theme/overrides/select.ts
2457
+ var select_default = {
2458
+ MuiSelect: {
2459
+ styleOverrides: {
2460
+ select: {
2461
+ minWidth: "6rem !important",
2462
+ "&.MuiTablePagination-select": {
2463
+ minWidth: "1.5rem !important"
2464
+ }
2465
+ }
2466
+ }
2467
+ }
2468
+ };
2469
+
2470
+ // src/@core/theme/overrides/slider.ts
2471
+ var Slider = () => {
2472
+ return {
2473
+ MuiSlider: {
2474
+ styleOverrides: {
2475
+ root: ({ theme }) => ({
2476
+ "&:not(.MuiSlider-vertical)": {
2477
+ height: 6
2478
+ },
2479
+ "&.MuiSlider-vertical": {
2480
+ width: 6
2481
+ },
2482
+ "&.MuiSlider-colorPrimary": {
2483
+ "& .MuiSlider-thumb.Mui-active": {
2484
+ boxShadow: `0 0 0 10px ${hexToRGBA(theme.palette.primary.main, 0.16)}`
2485
+ },
2486
+ "& .MuiSlider-thumbSizeSmall:hover, &.MuiSlider-sizeSmall .MuiSlider-thumb.Mui-focusVisible": {
2487
+ boxShadow: `0 0 0 6px ${hexToRGBA(theme.palette.primary.main, 0.16)}`
2488
+ },
2489
+ "& .MuiSlider-thumbSizeSmall.Mui-active": {
2490
+ boxShadow: `0 0 0 8px ${hexToRGBA(theme.palette.primary.main, 0.16)} !important`
2491
+ }
2492
+ },
2493
+ "&.MuiSlider-colorSecondary": {
2494
+ "& .MuiSlider-thumb.Mui-active": {
2495
+ boxShadow: `0 0 0 10px ${hexToRGBA(theme.palette.secondary.main, 0.16)}`
2496
+ },
2497
+ "& .MuiSlider-thumbSizeSmall:hover, &.MuiSlider-sizeSmall .MuiSlider-thumb.Mui-focusVisible": {
2498
+ boxShadow: `0 0 0 6px ${hexToRGBA(theme.palette.secondary.main, 0.16)}`
2499
+ },
2500
+ "& .MuiSlider-thumbSizeSmall.Mui-active": {
2501
+ boxShadow: `0 0 0 8px ${hexToRGBA(theme.palette.secondary.main, 0.16)} !important`
2502
+ }
2503
+ }
2504
+ }),
2505
+ rail: ({ theme }) => ({
2506
+ opacity: 1,
2507
+ backgroundColor: theme.palette.action.selected
2508
+ }),
2509
+ track: {
2510
+ border: 0
2511
+ },
2512
+ thumb: ({ theme }) => ({
2513
+ width: 14,
2514
+ height: 14,
2515
+ "&:before": {
2516
+ boxShadow: theme.shadows[3],
2517
+ border: `2px solid ${theme.palette.background.paper}`
2518
+ },
2519
+ "&:not(.Mui-active):after": {
2520
+ width: 30,
2521
+ height: 30
2522
+ },
2523
+ "&.Mui-active": {
2524
+ width: 18,
2525
+ height: 18,
2526
+ "&:before": {
2527
+ borderWidth: 3
2528
+ },
2529
+ "&:after": {
2530
+ width: 38,
2531
+ height: 38
2532
+ }
2533
+ }
2534
+ }),
2535
+ sizeSmall: {
2536
+ "&:not(.MuiSlider-vertical)": {
2537
+ height: 4
2538
+ },
2539
+ "&.MuiSlider-vertical": {
2540
+ width: 4
2541
+ }
2542
+ },
2543
+ thumbSizeSmall: ({ theme }) => ({
2544
+ width: 12,
2545
+ height: 12,
2546
+ "&:before": {
2547
+ boxShadow: theme.shadows[2]
2548
+ },
2549
+ "&:not(.Mui-active):after": {
2550
+ width: 24,
2551
+ height: 24
2552
+ },
2553
+ "&.Mui-active": {
2554
+ width: 14,
2555
+ height: 14,
2556
+ "&:before": {
2557
+ borderWidth: 2
2558
+ },
2559
+ "&:after": {
2560
+ width: 30,
2561
+ height: 30
2562
+ }
2563
+ }
2564
+ })
2565
+ }
2566
+ }
2567
+ };
2568
+ };
2569
+ var slider_default = Slider;
2570
+
2571
+ // src/@core/theme/overrides/snackbar.ts
2572
+ var Snackbar = (skin) => {
2573
+ return {
2574
+ MuiSnackbarContent: {
2575
+ styleOverrides: {
2576
+ root: ({ theme }) => ({
2577
+ ...skin === "bordered" && { boxShadow: "none" },
2578
+ backgroundColor: `rgb(${theme.palette.customColors.main})`,
2579
+ color: theme.palette.common[theme.palette.mode === "light" ? "white" : "black"]
2580
+ })
2581
+ }
2582
+ }
2583
+ };
2584
+ };
2585
+ var snackbar_default = Snackbar;
2586
+
2587
+ // src/@core/theme/overrides/table.ts
2588
+ var Table = () => {
2589
+ return {
2590
+ MuiTableContainer: {
2591
+ styleOverrides: {
2592
+ root: ({ theme }) => ({
2593
+ boxShadow: theme.shadows[0],
2594
+ borderTopColor: theme.palette.divider
2595
+ })
2596
+ }
2597
+ },
2598
+ MuiTableHead: {
2599
+ styleOverrides: {
2600
+ root: {
2601
+ textTransform: "uppercase",
2602
+ "& .MuiTableCell-head": {
2603
+ fontSize: "0.75rem",
2604
+ fontWeight: 600,
2605
+ letterSpacing: "1px"
2606
+ }
2607
+ }
2608
+ }
2609
+ },
2610
+ MuiTableBody: {
2611
+ styleOverrides: {
2612
+ root: ({ theme }) => ({
2613
+ "& .MuiTableCell-body": {
2614
+ letterSpacing: "0.25px",
2615
+ color: theme.palette.text.secondary,
2616
+ "&:not(.MuiTableCell-sizeSmall):not(.MuiTableCell-paddingCheckbox):not(.MuiTableCell-paddingNone)": {
2617
+ paddingTop: theme.spacing(3.5),
2618
+ paddingBottom: theme.spacing(3.5)
2619
+ }
2620
+ }
2621
+ })
2622
+ }
2623
+ },
2624
+ MuiTableRow: {
2625
+ styleOverrides: {
2626
+ root: ({ theme }) => ({
2627
+ "& .MuiTableCell-head:not(.MuiTableCell-paddingCheckbox):first-child, & .MuiTableCell-root:not(.MuiTableCell-paddingCheckbox):first-child ": {
2628
+ paddingLeft: theme.spacing(6)
2629
+ },
2630
+ "& .MuiTableCell-head:last-child, & .MuiTableCell-root:last-child": {
2631
+ paddingRight: theme.spacing(6)
2632
+ }
2633
+ })
2634
+ }
2635
+ },
2636
+ MuiTableCell: {
2637
+ styleOverrides: {
2638
+ root: ({ theme }) => ({
2639
+ borderBottom: `1px solid ${theme.palette.divider}`
2640
+ }),
2641
+ paddingCheckbox: ({ theme }) => ({
2642
+ paddingLeft: theme.spacing(3.25)
2643
+ }),
2644
+ stickyHeader: ({ theme }) => ({
2645
+ backgroundColor: theme.palette.customColors.tableHeaderBg
2646
+ })
2647
+ }
2648
+ }
2649
+ };
2650
+ };
2651
+ var table_default = Table;
2652
+
2653
+ // src/@core/theme/overrides/tabs.ts
2654
+ var Tabs = () => {
2655
+ return {
2656
+ MuiTabs: {
2657
+ styleOverrides: {
2658
+ root: ({ theme }) => ({
2659
+ minHeight: 38,
2660
+ "&:not(.MuiTabs-vertical)": {
2661
+ borderBottom: `1px solid ${theme.palette.divider}`
2662
+ }
2663
+ }),
2664
+ vertical: ({ theme }) => ({
2665
+ minWidth: 130,
2666
+ marginRight: theme.spacing(4),
2667
+ borderRight: `1px solid ${theme.palette.divider}`,
2668
+ "& .MuiTab-root": {
2669
+ minWidth: 130
2670
+ }
2671
+ })
2672
+ }
2673
+ },
2674
+ MuiTab: {
2675
+ styleOverrides: {
2676
+ root: ({ theme }) => ({
2677
+ minHeight: 38,
2678
+ padding: theme.spacing(1.75, 5)
2679
+ }),
2680
+ textColorSecondary: ({ theme }) => ({
2681
+ "&.Mui-selected": {
2682
+ color: theme.palette.text.secondary
2683
+ }
2684
+ })
2685
+ }
2686
+ },
2687
+ MuiTabPanel: {
2688
+ styleOverrides: {
2689
+ root: ({ theme }) => ({
2690
+ padding: theme.spacing(6)
2691
+ })
2692
+ }
2693
+ }
2694
+ };
2695
+ };
2696
+ var tabs_default = Tabs;
2697
+
2698
+ // src/@core/theme/overrides/tooltip.ts
2699
+ var Tooltip = () => {
2700
+ return {
2701
+ MuiTooltip: {
2702
+ styleOverrides: {
2703
+ tooltip: ({ theme }) => ({
2704
+ backgroundColor: theme.palette.mode === "light" ? `rgba(${theme.palette.customColors.main}, 0.9)` : hexToRGBA(theme.palette.customColors.trackBg, 0.9)
2705
+ }),
2706
+ arrow: ({ theme }) => ({
2707
+ color: theme.palette.mode === "light" ? `rgba(${theme.palette.customColors.main}, 0.9)` : hexToRGBA(theme.palette.customColors.trackBg, 0.9)
2708
+ })
2709
+ }
2710
+ }
2711
+ };
2712
+ };
2713
+ var tooltip_default = Tooltip;
2714
+
2715
+ // src/@core/hooks/useSettings.ts
2716
+ import { useContext } from "react";
2717
+
2718
+ // src/@core/context/settingsContext.tsx
2719
+ import { createContext, useEffect as useEffect2, useState as useState4 } from "react";
2720
+ import { jsx as jsx18 } from "react/jsx-runtime";
2721
+ var initialSettings = {
2722
+ mode: "light",
2723
+ layout: themeConfig_default.layout,
2724
+ lastLayout: themeConfig_default.layout,
2725
+ direction: themeConfig_default.direction,
2726
+ navHidden: themeConfig_default.navHidden,
2727
+ appBarBlur: themeConfig_default.appBarBlur,
2728
+ navCollapsed: themeConfig_default.navCollapsed
2729
+ };
2730
+ var staticSettings = {
2731
+ layout: initialSettings.layout,
2732
+ navHidden: initialSettings.navHidden,
2733
+ lastLayout: initialSettings.lastLayout
2734
+ };
2735
+ var SettingsContext = createContext({
2736
+ saveSettings: () => null,
2737
+ settings: initialSettings
2738
+ });
2739
+ var SettingsConsumer = SettingsContext.Consumer;
2740
+
2741
+ // src/@core/hooks/useSettings.ts
2742
+ var useSettings = () => useContext(SettingsContext);
2743
+
2744
+ // src/@core/theme/overrides/accordion.ts
2745
+ var Accordion = () => {
2746
+ const { settings } = useSettings();
2747
+ const { skin } = settings;
2748
+ return {
2749
+ MuiAccordion: {
2750
+ styleOverrides: {
2751
+ root: ({ theme }) => ({
2752
+ margin: theme.spacing(2, 0),
2753
+ "&:before": { display: "none" },
2754
+ borderRadius: theme.shape.borderRadius,
2755
+ transition: "box-shadow .35s ease, margin .35s ease",
2756
+ boxShadow: theme.shadows[skin === "bordered" ? 0 : 1],
2757
+ ...skin === "bordered" && { border: `1px solid ${theme.palette.divider}` },
2758
+ "&.Mui-disabled": {
2759
+ backgroundColor: `rgba(${theme.palette.customColors.main}, 0.12)`
2760
+ },
2761
+ "&.Mui-expanded": {
2762
+ margin: theme.spacing(2, 0),
2763
+ boxShadow: theme.shadows[skin === "bordered" ? 0 : 6]
2764
+ },
2765
+ "& .MuiCollapse-root": {
2766
+ minHeight: "unset !important",
2767
+ transition: "height .35s ease !important",
2768
+ "&.MuiCollapse-entered": {
2769
+ height: "auto !important"
2770
+ }
2771
+ }
2772
+ })
2773
+ }
2774
+ },
2775
+ MuiAccordionSummary: {
2776
+ styleOverrides: {
2777
+ root: ({ theme }) => ({
2778
+ fontWeight: 500,
2779
+ borderRadius: "inherit",
2780
+ padding: `0 ${theme.spacing(4.5)}`,
2781
+ "& + .MuiCollapse-root": {
2782
+ "& .MuiAccordionDetails-root:first-child": {
2783
+ paddingTop: 0
2784
+ }
2785
+ },
2786
+ "&.Mui-expanded": {
2787
+ minHeight: "unset",
2788
+ borderBottomLeftRadius: 0,
2789
+ borderBottomRightRadius: 0,
2790
+ "& .MuiAccordionSummary-content": {
2791
+ margin: theme.spacing(3, 0)
2792
+ }
2793
+ },
2794
+ "& .MuiTypography-root": {
2795
+ fontWeight: 500
2796
+ }
2797
+ }),
2798
+ content: ({ theme }) => ({
2799
+ margin: theme.spacing(3, 0)
2800
+ }),
2801
+ expandIconWrapper: ({ theme }) => ({
2802
+ color: theme.palette.text.primary
2803
+ })
2804
+ }
2805
+ },
2806
+ MuiAccordionDetails: {
2807
+ styleOverrides: {
2808
+ root: ({ theme }) => ({
2809
+ padding: theme.spacing(4.5),
2810
+ "& + .MuiAccordionDetails-root": {
2811
+ paddingTop: 0
2812
+ }
2813
+ })
2814
+ }
2815
+ }
2816
+ };
2817
+ };
2818
+ var accordion_default = Accordion;
2819
+
2820
+ // src/@core/theme/overrides/autocomplete.ts
2821
+ var Autocomplete3 = (skin) => {
2822
+ return {
2823
+ MuiAutocomplete: {
2824
+ styleOverrides: {
2825
+ paper: ({ theme }) => ({
2826
+ ...skin === "bordered" && { boxShadow: "none", border: `1px solid ${theme.palette.divider}` }
2827
+ })
2828
+ }
2829
+ }
2830
+ };
2831
+ };
2832
+ var autocomplete_default = Autocomplete3;
2833
+
2834
+ // src/@core/theme/overrides/breadcrumbs.ts
2835
+ var Breadcrumbs = () => {
2836
+ return {
2837
+ MuiBreadcrumbs: {
2838
+ styleOverrides: {
2839
+ root: ({ theme }) => ({
2840
+ "& a": {
2841
+ textDecoration: "none",
2842
+ color: theme.palette.primary.main
2843
+ }
2844
+ }),
2845
+ li: ({ theme }) => ({
2846
+ color: theme.palette.text.secondary,
2847
+ "& .MuiTypography-root": {
2848
+ color: "inherit"
2849
+ }
2850
+ })
2851
+ }
2852
+ }
2853
+ };
2854
+ };
2855
+ var breadcrumbs_default = Breadcrumbs;
2856
+
2857
+ // src/@core/theme/overrides/pagination.ts
2858
+ var Pagination = () => {
2859
+ return {
2860
+ MuiPaginationItem: {
2861
+ styleOverrides: {
2862
+ root: ({ theme }) => ({
2863
+ "&:not(.MuiPaginationItem-outlined):not(.Mui-disabled)": {
2864
+ transition: theme.transitions.create(["color", "background-color", "box-shadow"], {
2865
+ duration: 250,
2866
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
2867
+ }),
2868
+ "&.Mui-selected": {
2869
+ boxShadow: theme.shadows[2]
2870
+ }
2871
+ }
2872
+ }),
2873
+ outlined: ({ theme }) => ({
2874
+ borderColor: `rgba(${theme.palette.customColors.main}, 0.22)`
2875
+ }),
2876
+ outlinedPrimary: ({ theme }) => ({
2877
+ "&.Mui-selected": {
2878
+ backgroundColor: hexToRGBA(theme.palette.primary.main, 0.16)
2879
+ }
2880
+ }),
2881
+ outlinedSecondary: ({ theme }) => ({
2882
+ "&.Mui-selected": {
2883
+ backgroundColor: hexToRGBA(theme.palette.secondary.main, 0.16)
2884
+ }
2885
+ })
2886
+ }
2887
+ }
2888
+ };
2889
+ };
2890
+ var pagination_default = Pagination;
2891
+
2892
+ // src/@core/theme/overrides/timeline.ts
2893
+ var Timeline = () => {
2894
+ return {
2895
+ MuiTimelineItem: {
2896
+ styleOverrides: {
2897
+ root: ({ theme }) => ({
2898
+ "&:not(:last-of-type)": {
2899
+ "& .MuiTimelineContent-root": {
2900
+ marginBottom: theme.spacing(4)
2901
+ }
2902
+ }
2903
+ })
2904
+ }
2905
+ },
2906
+ MuiTimelineConnector: {
2907
+ styleOverrides: {
2908
+ root: ({ theme }) => ({
2909
+ backgroundColor: theme.palette.divider
2910
+ })
2911
+ }
2912
+ },
2913
+ MuiTimelineContent: {
2914
+ styleOverrides: {
2915
+ root: ({ theme }) => ({
2916
+ marginTop: theme.spacing(0.5)
2917
+ })
2918
+ }
2919
+ },
2920
+ MuiTimelineDot: {
2921
+ styleOverrides: {
2922
+ filledPrimary: ({ theme }) => ({
2923
+ boxShadow: `0 0 0 3px ${hexToRGBA(theme.palette.primary.main, 0.16)}`
2924
+ }),
2925
+ filledSecondary: ({ theme }) => ({
2926
+ boxShadow: `0 0 0 3px ${hexToRGBA(theme.palette.secondary.main, 0.16)}`
2927
+ }),
2928
+ filledSuccess: ({ theme }) => ({
2929
+ boxShadow: `0 0 0 3px ${hexToRGBA(theme.palette.success.main, 0.16)}`
2930
+ }),
2931
+ filledError: ({ theme }) => ({
2932
+ boxShadow: `0 0 0 3px ${hexToRGBA(theme.palette.error.main, 0.16)}`
2933
+ }),
2934
+ filledWarning: ({ theme }) => ({
2935
+ boxShadow: `0 0 0 3px ${hexToRGBA(theme.palette.warning.main, 0.16)}`
2936
+ }),
2937
+ filledInfo: ({ theme }) => ({
2938
+ boxShadow: `0 0 0 3px ${hexToRGBA(theme.palette.info.main, 0.16)}`
2939
+ }),
2940
+ filledGrey: ({ theme }) => ({
2941
+ boxShadow: `0 0 0 3px ${hexToRGBA(theme.palette.grey[400], 0.16)}`
2942
+ }),
2943
+ outlinedPrimary: ({ theme }) => ({
2944
+ "& svg": { color: theme.palette.primary.main }
2945
+ }),
2946
+ outlinedSecondary: ({ theme }) => ({
2947
+ "& svg": { color: theme.palette.secondary.main }
2948
+ }),
2949
+ outlinedSuccess: ({ theme }) => ({
2950
+ "& svg": { color: theme.palette.success.main }
2951
+ }),
2952
+ outlinedError: ({ theme }) => ({
2953
+ "& svg": { color: theme.palette.error.main }
2954
+ }),
2955
+ outlinedWarning: ({ theme }) => ({
2956
+ "& svg": { color: theme.palette.warning.main }
2957
+ }),
2958
+ outlinedInfo: ({ theme }) => ({
2959
+ "& svg": { color: theme.palette.info.main }
2960
+ }),
2961
+ outlinedGrey: ({ theme }) => ({
2962
+ "& svg": { color: theme.palette.grey[400] }
2963
+ })
2964
+ }
2965
+ }
2966
+ };
2967
+ };
2968
+ var timeline_default = Timeline;
2969
+
2970
+ // src/@core/theme/overrides/toggleButton.ts
2971
+ var toggleButton_default = {
2972
+ MuiToggleButtonGroup: {
2973
+ styleOverrides: {
2974
+ root: {
2975
+ borderRadius: 4
2976
+ }
2977
+ }
2978
+ },
2979
+ MuiToggleButton: {
2980
+ styleOverrides: {
2981
+ root: {
2982
+ borderRadius: 4
2983
+ }
2984
+ }
2985
+ }
2986
+ };
2987
+
2988
+ // src/@core/theme/overrides/typography.ts
2989
+ var typography = {
2990
+ MuiTypography: {
2991
+ styleOverrides: {
2992
+ gutterBottom: ({ theme }) => ({
2993
+ marginBottom: theme.spacing(2)
2994
+ })
2995
+ },
2996
+ variants: [
2997
+ {
2998
+ props: { variant: "h1" },
2999
+ style: ({ theme }) => ({
3000
+ color: theme.palette.common.black
3001
+ })
3002
+ },
3003
+ {
3004
+ props: { variant: "h2" },
3005
+ style: ({ theme }) => ({
3006
+ color: theme.palette.common.black
3007
+ })
3008
+ },
3009
+ {
3010
+ props: { variant: "h3" },
3011
+ style: ({ theme }) => ({
3012
+ color: theme.palette.common.black,
3013
+ fontSize: "2.25rem !important"
3014
+ })
3015
+ },
3016
+ {
3017
+ props: { variant: "h4" },
3018
+ style: ({ theme }) => ({
3019
+ color: theme.palette.common.black,
3020
+ fontSize: "1.875rem !important"
3021
+ })
3022
+ },
3023
+ {
3024
+ props: { variant: "h5" },
3025
+ style: ({ theme }) => ({
3026
+ color: theme.palette.common.black,
3027
+ fontSize: "1.375rem !important"
3028
+ })
3029
+ },
3030
+ {
3031
+ props: { variant: "h6" },
3032
+ style: ({ theme }) => ({
3033
+ color: theme.palette.common.black
3034
+ })
3035
+ },
3036
+ {
3037
+ props: { variant: "subtitle1" },
3038
+ style: ({ theme }) => ({
3039
+ color: theme.palette.common.black,
3040
+ fontSize: "1.2rem"
3041
+ })
3042
+ },
3043
+ {
3044
+ props: { variant: "subtitle2" },
3045
+ style: ({}) => ({
3046
+ color: "#28293D"
3047
+ })
3048
+ },
3049
+ {
3050
+ props: { variant: "body1" },
3051
+ style: ({ theme }) => ({
3052
+ color: theme.palette.common.black,
3053
+ fontSize: "1.2rem !important"
3054
+ })
3055
+ },
3056
+ {
3057
+ props: { variant: "body2" },
3058
+ style: ({}) => ({
3059
+ color: "#222",
3060
+ fontSize: "12px !important"
3061
+ })
3062
+ },
3063
+ {
3064
+ props: { variant: "body" },
3065
+ style: ({}) => ({
3066
+ color: "#222",
3067
+ fontSize: "12px !important"
3068
+ })
3069
+ },
3070
+ {
3071
+ props: { variant: "button" },
3072
+ style: ({ theme }) => ({
3073
+ color: theme.palette.common.black,
3074
+ fontSize: "16px !important"
3075
+ })
3076
+ },
3077
+ {
3078
+ props: { variant: "caption" },
3079
+ style: ({ theme }) => ({
3080
+ color: theme.palette.text.secondary
3081
+ })
3082
+ },
3083
+ {
3084
+ props: { variant: "overline" },
3085
+ style: ({ theme }) => ({
3086
+ color: theme.palette.text.secondary
3087
+ })
3088
+ }
3089
+ ]
3090
+ }
3091
+ };
3092
+ var typography_default = typography;
3093
+
3094
+ // src/@core/theme/overrides/index.ts
3095
+ var Overrides = (settings) => {
3096
+ const { skin } = settings;
3097
+ const button = button_default();
3098
+ const chip = chip_default();
3099
+ const list = list_default();
3100
+ const tabs = tabs_default();
3101
+ const radio = radio_default();
3102
+ const input2 = input_default();
3103
+ const tables = table_default();
3104
+ const alerts = alerts_default();
3105
+ const rating = rating_default();
3106
+ const slider = slider_default();
3107
+ const avatars = avatars_default();
3108
+ const divider = divider_default();
3109
+ const menu = menu_default(skin);
3110
+ const tooltip = tooltip_default();
3111
+ const cards = card_default(skin);
3112
+ const checkbox = checkbox_default();
3113
+ const backdrop = backdrop_default();
3114
+ const dataGrid = dataGrid_default();
3115
+ const progress = progress_default();
3116
+ const timeline = timeline_default();
3117
+ const accordion = accordion_default();
3118
+ const dialog = dialog_default(skin);
3119
+ const pagination = pagination_default();
3120
+ const popover = popover_default(skin);
3121
+ const breadcrumb = breadcrumbs_default();
3122
+ const snackbar = snackbar_default(skin);
3123
+ const autocomplete = autocomplete_default(skin);
3124
+ return Object.assign(
3125
+ chip,
3126
+ list,
3127
+ menu,
3128
+ tabs,
3129
+ cards,
3130
+ radio,
3131
+ input2,
3132
+ alerts,
3133
+ button,
3134
+ dialog,
3135
+ rating,
3136
+ slider,
3137
+ tables,
3138
+ avatars,
3139
+ divider,
3140
+ link_default,
3141
+ popover,
3142
+ tooltip,
3143
+ checkbox,
3144
+ backdrop,
3145
+ dataGrid,
3146
+ paper_default,
3147
+ progress,
3148
+ snackbar,
3149
+ // switches,
3150
+ timeline,
3151
+ accordion,
3152
+ select_default,
3153
+ breadcrumb,
3154
+ pagination,
3155
+ autocomplete,
3156
+ typography_default,
3157
+ toggleButton_default
3158
+ );
3159
+ };
3160
+ var overrides_default = Overrides;
3161
+
3162
+ // src/@core/theme/palette/index.ts
3163
+ var DefaultPalette = (mode, skin) => {
3164
+ const whiteColor = "#FFF";
3165
+ const lightColor = "51, 48, 60";
3166
+ const darkColor = "228, 230, 244";
3167
+ const lightColorHex = "#33303c";
3168
+ const darkColorHex = "#e4e6f4";
3169
+ const darkPaperBgColor = "#2F3349";
3170
+ const mainColor = mode === "light" ? lightColor : darkColor;
3171
+ const defaultBgColor = () => {
3172
+ if (skin === "bordered" && mode === "light") {
3173
+ return whiteColor;
3174
+ } else if (skin === "bordered" && mode === "dark") {
3175
+ return darkPaperBgColor;
3176
+ } else if (mode === "light") {
3177
+ return "#F8F7FA";
3178
+ } else return "#25293C";
3179
+ };
3180
+ return {
3181
+ customColors: {
3182
+ dark: darkColorHex,
3183
+ main: lightColorHex,
3184
+ light: lightColorHex,
3185
+ lightPaperBg: whiteColor,
3186
+ darkPaperBg: darkPaperBgColor,
3187
+ bodyBg: mode === "light" ? "#F8F7FA" : "#25293C",
3188
+ trackBg: mode === "light" ? "#F1F0F2" : "#3B405B",
3189
+ avatarBg: mode === "light" ? "#F6F6F7" : "#4A5072",
3190
+ tableHeaderBg: mode === "light" ? "#F6F6F7" : "#4A5072"
3191
+ },
3192
+ mode,
3193
+ common: {
3194
+ black: "#000",
3195
+ white: whiteColor
3196
+ },
3197
+ primary: {
3198
+ light: "rgba(103, 80, 164, 0.02)",
3199
+ main: "#d8c5f9",
3200
+ dark: "#8710D8",
3201
+ contrastText: whiteColor
3202
+ },
3203
+ secondary: {
3204
+ light: "#EFEFEF",
3205
+ main: "#1D192B",
3206
+ dark: "#949699",
3207
+ contrastText: whiteColor
3208
+ },
3209
+ error: {
3210
+ light: "#ED6F70",
3211
+ main: "#EA5455",
3212
+ dark: "#CE4A4B",
3213
+ contrastText: whiteColor
3214
+ },
3215
+ warning: {
3216
+ light: "#FFAB5A",
3217
+ main: "#FF9F43",
3218
+ dark: "#E08C3B",
3219
+ contrastText: whiteColor
3220
+ },
3221
+ info: {
3222
+ light: "#1FD5EB",
3223
+ main: "#00CFE8",
3224
+ dark: "#00B6CC",
3225
+ contrastText: whiteColor
3226
+ },
3227
+ success: {
3228
+ light: "#42CE80",
3229
+ main: "#28C76F",
3230
+ dark: "#23AF62",
3231
+ contrastText: whiteColor
3232
+ },
3233
+ grey: {
3234
+ 50: "#FAFAFA",
3235
+ 100: "#F5F5F5",
3236
+ 200: "#EEEEEE",
3237
+ 300: "#E0E0E0",
3238
+ 400: "#BDBDBD",
3239
+ 500: "#9E9E9E",
3240
+ 600: "#757575",
3241
+ 700: "#616161",
3242
+ 800: "#424242",
3243
+ 900: "#212121",
3244
+ A100: "#F5F5F5",
3245
+ A200: "#EEEEEE",
3246
+ A400: "#BDBDBD",
3247
+ A700: "#616161"
3248
+ },
3249
+ text: {
3250
+ primary: `rgba(${mainColor}, 0.87)`,
3251
+ secondary: `rgba(${mainColor}, 0.6)`,
3252
+ disabled: `rgba(${mainColor}, 0.38)`
3253
+ },
3254
+ divider: `rgba(${mainColor}, 0.12)`,
3255
+ background: {
3256
+ // paper: mode === "light" ? whiteColor : darkPaperBgColor,
3257
+ paper: mode === "light" ? "#F2EBFF" : darkPaperBgColor,
3258
+ default: defaultBgColor()
3259
+ },
3260
+ action: {
3261
+ active: `rgba(${mainColor}, 0.54)`,
3262
+ hover: `rgba(${mainColor}, 0.04)`,
3263
+ selected: `rgba(${mainColor}, 0.08)`,
3264
+ disabled: `rgba(${mainColor}, 0.26)`,
3265
+ disabledBackground: `rgba(${mainColor}, 0.12)`,
3266
+ focus: `rgba(${mainColor}, 0.12)`
3267
+ }
3268
+ };
3269
+ };
3270
+ var palette_default = DefaultPalette;
3271
+
3272
+ // src/@core/theme/shadows/index.ts
3273
+ var Shadows = (mode) => {
3274
+ if (mode === "light") {
3275
+ return [
3276
+ "none",
3277
+ "0px 2px 4px 1px rgba(51, 48, 60, 0.03), 0px 3px 4px 0px rgba(51, 48, 60, 0.02), 0px 1px 3px 2px rgba(51, 48, 60, 0.01)",
3278
+ "0px 3px 5px 2px rgba(51, 48, 60, 0.03), 0px 3px 5px 0px rgba(51, 48, 60, 0.02), 0px 1px 4px 2px rgba(51, 48, 60, 0.01)",
3279
+ "0px 3px 6px 2px rgba(51, 48, 60, 0.03), 0px 4px 6px 0px rgba(51, 48, 60, 0.02), 0px 1px 4px 2px rgba(51, 48, 60, 0.01)",
3280
+ "0px 2px 7px 1px rgba(51, 48, 60, 0.03), 0px 4px 7px 0px rgba(51, 48, 60, 0.02), 0px 1px 4px 2px rgba(51, 48, 60, 0.01)",
3281
+ "0px 3px 8px 1px rgba(51, 48, 60, 0.03), 0px 6px 8px 0px rgba(51, 48, 60, 0.02), 0px 1px 5px 4px rgba(51, 48, 60, 0.01)",
3282
+ "0px 3px 9px 1px rgba(51, 48, 60, 0.03), 0px 8px 9px 0px rgba(51, 48, 60, 0.02), 0px 1px 6px 4px rgba(51, 48, 60, 0.01)",
3283
+ "0px 4px 10px 2px rgba(51, 48, 60, 0.03), 0px 9px 10px 1px rgba(51, 48, 60, 0.02), 0px 2px 7px 4px rgba(51, 48, 60, 0.01)",
3284
+ "0px 5px 11px 3px rgba(51, 48, 60, 0.03), 0px 8px 11px 1px rgba(51, 48, 60, 0.02), 0px 3px 8px 4px rgba(51, 48, 60, 0.01)",
3285
+ "0px 5px 12px 3px rgba(51, 48, 60, 0.03), 0px 9px 12px 1px rgba(51, 48, 60, 0.02), 0px 3px 9px 5px rgba(51, 48, 60, 0.01)",
3286
+ "0px 6px 13px 3px rgba(51, 48, 60, 0.03), 0px 10px 13px 1px rgba(51, 48, 60, 0.02), 0px 4px 10px 5px rgba(51, 48, 60, 0.01)",
3287
+ "0px 6px 14px 4px rgba(51, 48, 60, 0.03), 0px 11px 14px 1px rgba(51, 48, 60, 0.02), 0px 4px 11px 5px rgba(51, 48, 60, 0.01)",
3288
+ "0px 7px 15px 4px rgba(51, 48, 60, 0.03), 0px 12px 15px 2px rgba(51, 48, 60, 0.02), 0px 5px 12px 5px rgba(51, 48, 60, 0.01)",
3289
+ "0px 7px 16px 4px rgba(51, 48, 60, 0.03), 0px 13px 16px 2px rgba(51, 48, 60, 0.02), 0px 5px 13px 6px rgba(51, 48, 60, 0.01)",
3290
+ "0px 7px 17px 4px rgba(51, 48, 60, 0.03), 0px 14px 17px 2px rgba(51, 48, 60, 0.02), 0px 5px 14px 6px rgba(51, 48, 60, 0.01)",
3291
+ "0px 8px 18px 5px rgba(51, 48, 60, 0.03), 0px 15px 18px 2px rgba(51, 48, 60, 0.02), 0px 6px 15px 6px rgba(51, 48, 60, 0.01)",
3292
+ "0px 8px 19px 5px rgba(51, 48, 60, 0.03), 0px 16px 19px 2px rgba(51, 48, 60, 0.02), 0px 6px 16px 6px rgba(51, 48, 60, 0.01)",
3293
+ "0px 8px 20px 5px rgba(51, 48, 60, 0.03), 0px 17px 20px 2px rgba(51, 48, 60, 0.02), 0px 6px 17px 7px rgba(51, 48, 60, 0.01)",
3294
+ "0px 9px 21px 5px rgba(51, 48, 60, 0.03), 0px 18px 21px 2px rgba(51, 48, 60, 0.02), 0px 7px 18px 7px rgba(51, 48, 60, 0.01)",
3295
+ "0px 9px 22px 6px rgba(51, 48, 60, 0.03), 0px 19px 22px 2px rgba(51, 48, 60, 0.02), 0px 7px 19px 7px rgba(51, 48, 60, 0.01)",
3296
+ "0px 10px 23px 6px rgba(51, 48, 60, 0.03), 0px 20px 23px 3px rgba(51, 48, 60, 0.02), 0px 8px 20px 7px rgba(51, 48, 60, 0.01)",
3297
+ "0px 10px 24px 6px rgba(51, 48, 60, 0.03), 0px 21px 24px 3px rgba(51, 48, 60, 0.02), 0px 8px 21px 7px rgba(51, 48, 60, 0.01)",
3298
+ "0px 10px 25px 6px rgba(51, 48, 60, 0.03), 0px 22px 25px 3px rgba(51, 48, 60, 0.02), 0px 8px 22px 7px rgba(51, 48, 60, 0.01)",
3299
+ "0px 11px 26px 7px rgba(51, 48, 60, 0.03), 0px 23px 26px 3px rgba(51, 48, 60, 0.02), 0px 9px 23px 7px rgba(51, 48, 60, 0.01)",
3300
+ "0px 11px 27px 7px rgba(51, 48, 60, 0.03), 0px 24px 27px 3px rgba(51, 48, 60, 0.02), 0px 9px 24px 7px rgba(51, 48, 60, 0.01)"
3301
+ ];
3302
+ } else {
3303
+ return [
3304
+ "none",
3305
+ "0px 2px 4px 1px rgba(12, 16, 27, 0.15), 0px 3px 4px 0px rgba(12, 16, 27, 0.1), 0px 1px 3px 2px rgba(12, 16, 27, 0.08)",
3306
+ "0px 3px 5px 2px rgba(12, 16, 27, 0.15), 0px 3px 5px 0px rgba(12, 16, 27, 0.1), 0px 1px 4px 2px rgba(12, 16, 27, 0.08)",
3307
+ "0px 3px 6px 2px rgba(12, 16, 27, 0.15), 0px 4px 6px 0px rgba(12, 16, 27, 0.1), 0px 1px 4px 2px rgba(12, 16, 27, 0.08)",
3308
+ "0px 2px 7px 1px rgba(12, 16, 27, 0.15), 0px 4px 7px 0px rgba(12, 16, 27, 0.1), 0px 1px 4px 2px rgba(12, 16, 27, 0.08)",
3309
+ "0px 3px 8px 1px rgba(12, 16, 27, 0.15), 0px 6px 8px 0px rgba(12, 16, 27, 0.1), 0px 1px 5px 4px rgba(12, 16, 27, 0.08)",
3310
+ "0px 3px 9px 1px rgba(12, 16, 27, 0.15), 0px 8px 9px 0px rgba(12, 16, 27, 0.1), 0px 1px 6px 4px rgba(12, 16, 27, 0.08)",
3311
+ "0px 4px 10px 2px rgba(12, 16, 27, 0.15), 0px 9px 10px 1px rgba(12, 16, 27, 0.1), 0px 2px 7px 4px rgba(12, 16, 27, 0.08)",
3312
+ "0px 5px 11px 3px rgba(12, 16, 27, 0.15), 0px 8px 11px 1px rgba(12, 16, 27, 0.1), 0px 3px 8px 4px rgba(12, 16, 27, 0.08)",
3313
+ "0px 5px 12px 3px rgba(12, 16, 27, 0.15), 0px 9px 12px 1px rgba(12, 16, 27, 0.1), 0px 3px 9px 5px rgba(12, 16, 27, 0.08)",
3314
+ "0px 6px 13px 3px rgba(12, 16, 27, 0.15), 0px 10px 13px 1px rgba(12, 16, 27, 0.1), 0px 4px 10px 5px rgba(12, 16, 27, 0.08)",
3315
+ "0px 6px 14px 4px rgba(12, 16, 27, 0.15), 0px 11px 14px 1px rgba(12, 16, 27, 0.1), 0px 4px 11px 5px rgba(12, 16, 27, 0.08)",
3316
+ "0px 7px 15px 4px rgba(12, 16, 27, 0.15), 0px 12px 15px 2px rgba(12, 16, 27, 0.1), 0px 5px 12px 5px rgba(12, 16, 27, 0.08)",
3317
+ "0px 7px 16px 4px rgba(12, 16, 27, 0.15), 0px 13px 16px 2px rgba(12, 16, 27, 0.1), 0px 5px 13px 6px rgba(12, 16, 27, 0.08)",
3318
+ "0px 7px 17px 4px rgba(12, 16, 27, 0.15), 0px 14px 17px 2px rgba(12, 16, 27, 0.1), 0px 5px 14px 6px rgba(12, 16, 27, 0.08)",
3319
+ "0px 8px 18px 5px rgba(12, 16, 27, 0.15), 0px 15px 18px 2px rgba(12, 16, 27, 0.1), 0px 6px 15px 6px rgba(12, 16, 27, 0.08)",
3320
+ "0px 8px 19px 5px rgba(12, 16, 27, 0.15), 0px 16px 19px 2px rgba(12, 16, 27, 0.1), 0px 6px 16px 6px rgba(12, 16, 27, 0.08)",
3321
+ "0px 8px 20px 5px rgba(12, 16, 27, 0.15), 0px 17px 20px 2px rgba(12, 16, 27, 0.1), 0px 6px 17px 7px rgba(12, 16, 27, 0.08)",
3322
+ "0px 9px 21px 5px rgba(12, 16, 27, 0.15), 0px 18px 21px 2px rgba(12, 16, 27, 0.1), 0px 7px 18px 7px rgba(12, 16, 27, 0.08)",
3323
+ "0px 9px 22px 6px rgba(12, 16, 27, 0.15), 0px 19px 22px 2px rgba(12, 16, 27, 0.1), 0px 7px 19px 7px rgba(12, 16, 27, 0.08)",
3324
+ "0px 10px 23px 6px rgba(12, 16, 27, 0.15), 0px 20px 23px 3px rgba(12, 16, 27, 0.1), 0px 8px 20px 7px rgba(12, 16, 27, 0.08)",
3325
+ "0px 10px 24px 6px rgba(12, 16, 27, 0.15), 0px 21px 24px 3px rgba(12, 16, 27, 0.1), 0px 8px 21px 7px rgba(12, 16, 27, 0.08)",
3326
+ "0px 10px 25px 6px rgba(12, 16, 27, 0.15), 0px 22px 25px 3px rgba(12, 16, 27, 0.1), 0px 8px 22px 7px rgba(12, 16, 27, 0.08)",
3327
+ "0px 11px 26px 7px rgba(12, 16, 27, 0.15), 0px 23px 26px 3px rgba(12, 16, 27, 0.1), 0px 9px 23px 7px rgba(12, 16, 27, 0.08)",
3328
+ "0px 11px 27px 7px rgba(12, 16, 27, 0.15), 0px 24px 27px 3px rgba(12, 16, 27, 0.1), 0px 9px 24px 7px rgba(12, 16, 27, 0.08)"
3329
+ ];
3330
+ }
3331
+ };
3332
+ var shadows_default = Shadows;
3333
+
3334
+ // src/@core/theme/spacing/index.ts
3335
+ var spacing_default = {
3336
+ spacing: (factor) => `${0.25 * factor}rem`
3337
+ };
3338
+
3339
+ // src/@core/theme/typography/index.ts
3340
+ var typography2 = {
3341
+ fontFamily: [
3342
+ "Roboto",
3343
+ "Public Sans",
3344
+ "sans-serif",
3345
+ "-apple-system",
3346
+ "BlinkMacSystemFont",
3347
+ '"Segoe UI"',
3348
+ '"Helvetica Neue"',
3349
+ "Arial",
3350
+ "sans-serif",
3351
+ '"Apple Color Emoji"',
3352
+ '"Segoe UI Emoji"',
3353
+ '"Segoe UI Symbol"'
3354
+ ].join(","),
3355
+ h1: {
3356
+ fontWeight: 500
3357
+ },
3358
+ h2: {
3359
+ fontWeight: 500
3360
+ },
3361
+ h3: {
3362
+ fontWeight: 500
3363
+ },
3364
+ h4: {
3365
+ fontWeight: 500
3366
+ },
3367
+ h5: {
3368
+ fontWeight: 500
3369
+ }
3370
+ };
3371
+ var typography_default2 = typography2;
3372
+
3373
+ // src/@core/theme/ThemeOptions.ts
3374
+ var themeOptions = (settings, overrideMode) => {
3375
+ const { mode, direction } = settings;
3376
+ const userThemeConfig = Object.assign({}, UserThemeOptions_default());
3377
+ const mergedThemeConfig = deepmerge(
3378
+ {
3379
+ breakpoints: breakpoints_default(),
3380
+ direction,
3381
+ components: overrides_default(settings),
3382
+ palette: palette_default(mode, "default"),
3383
+ ...spacing_default,
3384
+ shape: {
3385
+ borderRadius: 6
3386
+ },
3387
+ mixins: {
3388
+ toolbar: {
3389
+ minHeight: 64
3390
+ }
3391
+ },
3392
+ shadows: shadows_default(mode),
3393
+ typography: typography_default2
3394
+ },
3395
+ userThemeConfig
3396
+ );
3397
+ return deepmerge(mergedThemeConfig, {
3398
+ palette: {
3399
+ primary: {
3400
+ ...mergedThemeConfig.palette ? mergedThemeConfig.palette.primary : palette_default(mode, "default").primary
3401
+ }
3402
+ }
3403
+ });
3404
+ };
3405
+ var ThemeOptions_default = themeOptions;
3406
+
3407
+ // src/@core/theme/globalStyles.ts
3408
+ var GlobalStyles = (theme) => {
3409
+ return {
3410
+ ".demo-space-x > *": {
3411
+ marginTop: "1rem !important",
3412
+ marginRight: "1rem !important",
3413
+ 'body[dir="rtl"] &': {
3414
+ marginRight: "0 !important",
3415
+ marginLeft: "1rem !important"
3416
+ }
3417
+ },
3418
+ ".demo-space-y > *:not(:last-of-type)": {
3419
+ marginBottom: "1rem"
3420
+ },
3421
+ ".MuiGrid-container.match-height .MuiCard-root": {
3422
+ height: "100%"
3423
+ },
3424
+ ".ps__rail-y": {
3425
+ zIndex: 1,
3426
+ right: "0 !important",
3427
+ left: "auto !important",
3428
+ "&:hover, &:focus, &.ps--clicking": {
3429
+ backgroundColor: theme.palette.mode === "light" ? "#F1F0F5 !important" : "#393D55 !important"
3430
+ },
3431
+ "& .ps__thumb-y": {
3432
+ right: "3px !important",
3433
+ left: "auto !important",
3434
+ backgroundColor: theme.palette.mode === "light" ? "rgba(93, 89, 108, 0.2) !important" : "rgba(207, 211, 236, 0.3) !important"
3435
+ },
3436
+ ".layout-vertical-nav &": {
3437
+ "& .ps__thumb-y": {
3438
+ width: 4
3439
+ },
3440
+ "&:hover, &:focus, &.ps--clicking": {
3441
+ backgroundColor: "transparent !important",
3442
+ "& .ps__thumb-y": {
3443
+ width: 6
3444
+ }
3445
+ }
3446
+ }
3447
+ },
3448
+ "#nprogress": {
3449
+ pointerEvents: "none",
3450
+ "& .bar": {
3451
+ left: 0,
3452
+ top: 0,
3453
+ height: 3,
3454
+ width: "100%",
3455
+ zIndex: 2e3,
3456
+ position: "fixed",
3457
+ backgroundColor: theme.palette.primary.main
3458
+ }
3459
+ }
3460
+ };
3461
+ };
3462
+ var globalStyles_default = GlobalStyles;
3463
+
3464
+ // src/@core/theme/ThemeComponent.tsx
3465
+ import { jsx as jsx19, jsxs as jsxs13 } from "react/jsx-runtime";
3466
+ var ThemeComponent = (props) => {
3467
+ const { settings, children } = props;
3468
+ let theme = createTheme(ThemeOptions_default(settings, "light"));
3469
+ if (themeConfig_default.responsiveFontSizes) {
3470
+ theme = responsiveFontSizes(theme);
3471
+ }
3472
+ return /* @__PURE__ */ jsxs13(ThemeProvider, { theme, children: [
3473
+ /* @__PURE__ */ jsx19(CssBaseline, {}),
3474
+ /* @__PURE__ */ jsx19(GlobalStyles2, { styles: () => globalStyles_default(theme) }),
3475
+ children
3476
+ ] });
3477
+ };
3478
+ var ThemeComponent_default = ThemeComponent;
3479
+ export {
3480
+ AddCommentInput,
3481
+ AdvancedFiltersDialog,
3482
+ ButtonWithIcon,
3483
+ FalconButton,
3484
+ FalconDIstrictFilter,
3485
+ FalconGrayButton,
3486
+ FalconMultiSelect,
3487
+ FalconPagination,
3488
+ FalconSelect,
3489
+ FalconSingleSwitch,
3490
+ FalconTable,
3491
+ ThemeComponent_default as FalconThemeProvider,
3492
+ FalconTicketColumsFilter,
3493
+ FalconTicketFilter,
3494
+ HeatMapChartLegend,
3495
+ ProgressBarNumber
3496
+ };
3497
+ //# sourceMappingURL=index.mjs.map