@m4l/styles 0.0.13 → 0.0.15

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/index.js CHANGED
@@ -1,3686 +1,41 @@
1
- import { alpha as e, useTheme as w } from "@mui/material/styles";
2
- import { alpha as n } from "@mui/system";
3
- import { alpha as M } from "@mui/material";
4
- import { useResponsive as T } from "@m4l/graphics";
5
- function c(o, r) {
6
- return `linear-gradient(to bottom, ${o}, ${r})`;
7
- }
8
- const t = {
9
- patronusBlue: {
10
- 10: "#CCE6FF",
11
- 20: "#88BCFF",
12
- 30: "#60A7FF",
13
- 40: "#3891FF",
14
- 50: "#0064FF",
15
- 60: "#0039D7",
16
- 70: "#001AA4",
17
- 80: "#00086A",
18
- 90: "#000033"
19
- },
20
- crayonBlue: {
21
- 10: "#A5C9FE",
22
- 20: "#88B7FC",
23
- 30: "#6AA4F9",
24
- 40: "#5494F3",
25
- 50: "#2774E6",
26
- 60: "#2367CC",
27
- 70: "#1F5AB3",
28
- 80: "#1A4D99",
29
- 90: "#113366"
30
- },
31
- middleYellow: {
32
- 10: "#FFFBCE",
33
- 20: "#FFF79C",
34
- 30: "#FFF46B",
35
- 40: "#FFF039",
36
- 50: "#FFEC08",
37
- 60: "#E5D400",
38
- 70: "#9E9200",
39
- 80: "#696100",
40
- 90: "#353100"
41
- },
42
- acidGreen: {
43
- 10: "#CDFFC2",
44
- 20: "#A8FF97",
45
- 30: "#83FF6B",
46
- 40: "#5EFF40",
47
- 50: "#39FF14",
48
- 60: "#47CC2D",
49
- 70: "#229E0A",
50
- 80: "#176E05",
51
- 90: "#0B3D00"
52
- },
53
- grassGreen: {
54
- 10: "#FDFFE6",
55
- 20: "#D0E4A3",
56
- 30: "#AFDA85",
57
- 40: "#87D06A",
58
- 50: "#4BB543",
59
- 60: "#438C2D",
60
- 70: "#3A631E",
61
- 80: "#2A3B11",
62
- 90: "#0F1206"
63
- },
64
- candyRed: {
65
- 10: "#FFD6D6",
66
- 20: "#EE9B9B",
67
- 30: "#EB7F7F",
68
- 40: "#E86463",
69
- 50: "#D73733",
70
- 60: "#AE1916",
71
- 70: "#850502",
72
- 80: "#5C0500",
73
- 90: "#330400"
74
- },
75
- turquiBlue: {
76
- 10: "#B5D9EA",
77
- 20: "#92BBCD",
78
- 30: "#709DB1 ",
79
- 40: "#4D7E94",
80
- 50: "#2A6077",
81
- 60: "#255569",
82
- 70: "#214A5A",
83
- 80: "#1C3E4C",
84
- 90: "#18333D"
85
- },
86
- blazeOrange: {
87
- 10: "#F8BE9F",
88
- 20: "#FAA777",
89
- 30: "#FC8F50",
90
- 40: "#FD7828",
91
- 50: "#FF6000",
92
- 60: "#DE5300",
93
- 70: "#BD4600",
94
- 80: "#9B3900",
95
- 90: "#6D2A00"
96
- },
97
- flameRed: {
98
- 10: "#F4BABA",
99
- 20: "#F59292",
100
- 30: "#F66A6A",
101
- 40: "#F64141",
102
- 50: "#F71919",
103
- 60: "#D31616",
104
- 70: "#AF1212",
105
- 80: "#8A0F0F",
106
- 90: "#660C0C"
107
- },
108
- coolGrey: {
109
- 10: "#BAC6CC",
110
- 20: "#A7B4B9",
111
- 30: "#94A1A6",
112
- 40: "#818F93",
113
- 50: "#6E7C80",
114
- 60: "#5C6A6C",
115
- 70: "#495859",
116
- 80: "#364546",
117
- 90: "#233333"
118
- },
119
- marbleLight: {
120
- 10: "#FEFFFF",
121
- 20: "#F9FBFB",
122
- 30: "#F4F7F7",
123
- 40: "#EFF3F4",
124
- 50: "#EAEFF0",
125
- 60: "#fff0",
126
- 70: "#fff0",
127
- 80: "#fff0",
128
- 90: "#fff0"
129
- },
130
- ashBlak: {
131
- 10: "#2F3737",
132
- 20: "#2A3232",
133
- 30: "#252C2C",
134
- 40: "#212727",
135
- 50: "#1C2121",
136
- 60: "#090A0A",
137
- 70: "#fff0",
138
- 80: "#fff0",
139
- 90: "#fff0"
140
- }
141
- }, $ = {
142
- patronus: {
143
- 4: e(t.patronusBlue[50], 0.04),
144
- 12: e(t.patronusBlue[50], 0.12),
145
- 24: e(t.patronusBlue[50], 0.24),
146
- 36: e(t.patronusBlue[50], 0.36),
147
- 48: e(t.patronusBlue[50], 0.48),
148
- 60: e(t.patronusBlue[50], 0.6),
149
- 72: e(t.patronusBlue[50], 0.72)
150
- },
151
- turqui: {
152
- 4: e(t.turquiBlue[50], 0.04),
153
- 12: e(t.turquiBlue[50], 0.12),
154
- 24: e(t.turquiBlue[50], 0.24),
155
- 36: e(t.turquiBlue[50], 0.36),
156
- 48: e(t.turquiBlue[50], 0.48),
157
- 60: e(t.turquiBlue[50], 0.6),
158
- 72: e(t.turquiBlue[50], 0.72)
159
- },
160
- grass: {
161
- 4: e(t.grassGreen[50], 0.04),
162
- 12: e(t.grassGreen[50], 0.12),
163
- 24: e(t.grassGreen[50], 0.24),
164
- 36: e(t.grassGreen[50], 0.36),
165
- 48: e(t.grassGreen[50], 0.48),
166
- 60: e(t.grassGreen[50], 0.6),
167
- 72: e(t.grassGreen[50], 0.72)
168
- },
169
- candy: {
170
- 4: e(t.candyRed[50], 0.04),
171
- 12: e(t.candyRed[50], 0.12),
172
- 24: e(t.candyRed[50], 0.24),
173
- 36: e(t.candyRed[50], 0.36),
174
- 48: e(t.candyRed[50], 0.48),
175
- 60: e(t.candyRed[50], 0.6),
176
- 72: e(t.candyRed[50], 0.72)
177
- },
178
- blaze: {
179
- 4: e(t.blazeOrange[50], 0.04),
180
- 12: e(t.blazeOrange[50], 0.12),
181
- 24: e(t.blazeOrange[50], 0.24),
182
- 36: e(t.blazeOrange[50], 0.36),
183
- 48: e(t.blazeOrange[50], 0.48),
184
- 60: e(t.blazeOrange[50], 0.6),
185
- 72: e(t.blazeOrange[50], 0.72)
186
- },
187
- cool: {
188
- 4: e(t.coolGrey[70], 0.04),
189
- 12: e(t.coolGrey[70], 0.12),
190
- 24: e(t.coolGrey[70], 0.24),
191
- 36: e(t.coolGrey[70], 0.36),
192
- 48: e(t.coolGrey[70], 0.48),
193
- 60: e(t.coolGrey[70], 0.6),
194
- 72: e(t.coolGrey[70], 0.72)
195
- },
196
- marbel: {
197
- 4: e(t.marbleLight[10], 0.04),
198
- 12: e(t.marbleLight[10], 0.12),
199
- 24: e(t.marbleLight[10], 0.24),
200
- 36: e(t.marbleLight[10], 0.36),
201
- 48: e(t.marbleLight[10], 0.48),
202
- 60: e(t.marbleLight[10], 0.6),
203
- 72: e(t.marbleLight[10], 0.72)
204
- }
205
- }, y = {
206
- lighter: t.patronusBlue[70],
207
- light: t.patronusBlue[60],
208
- main: t.patronusBlue[50],
209
- dark: t.patronusBlue[40],
210
- darker: t.patronusBlue[20],
211
- contrastText: t.marbleLight[10]
212
- }, D = {
213
- lighter: "#fff0",
214
- light: "#fff0",
215
- main: "#fff0",
216
- dark: "#fff0",
217
- darker: "#fff0"
218
- }, f = {
219
- lighter: "#fff0",
220
- light: "#fff0",
221
- main: t.crayonBlue[50],
222
- dark: "#fff0",
223
- darker: "#fff0",
224
- opacity: e(t.crayonBlue[50], 0.08)
225
- }, v = {
226
- lighter: "#fff0",
227
- light: "#fff0",
228
- main: t.acidGreen[60],
229
- dark: "#fff0",
230
- darker: "#fff0",
231
- opacity: e(t.acidGreen[60], 0.08)
232
- }, L = {
233
- lighter: "#fff0",
234
- light: "#fff0",
235
- main: t.middleYellow[60],
236
- dark: "#fff0",
237
- darker: "#fff0",
238
- opacity: e(t.middleYellow[60], 0.08)
239
- }, B = {
240
- lighter: "#fff0",
241
- light: "#fff0",
242
- main: t.flameRed[40],
243
- dark: "#fff0",
244
- darker: "#fff0",
245
- opacity: e(t.flameRed[40], 0.08)
246
- }, x = {
247
- 0: "#FFFFFF",
248
- 100: "#F9FAFB",
249
- 200: "#F4F6F8",
250
- 300: "#DFE3E8",
251
- 400: "#C4CDD5",
252
- 500: "#919EAB",
253
- 600: "#637381",
254
- 700: "#454F5B",
255
- 800: "#212B36",
256
- 900: "#161C24",
257
- 5008: e("#919EAB", 0.08),
258
- 50012: e("#919EAB", 0.12),
259
- 50016: e("#919EAB", 0.16),
260
- 50024: e("#919EAB", 0.24),
261
- 50032: e("#919EAB", 0.32),
262
- 50048: e("#919EAB", 0.48),
263
- 50056: e("#919EAB", 0.56),
264
- 50080: e("#919EAB", 0.8)
265
- }, m = {
266
- primary: c(y.light, y.main),
267
- info: c(f.light, f.main),
268
- success: c(v.light, v.main),
269
- warning: c(L.light, L.main),
270
- error: c(B.light, B.main)
271
- }, z = {
272
- violet: ["#826AF9", "#9E86FF", "#D0AEFF", "#F7D2FF"],
273
- blue: ["#2D99FF", "#83CFFF", "#A5F3FF", "#CCFAFF"],
274
- green: ["#2CD9C5", "#60F1C8", "#A4F7CC", "#C0F2DC"],
275
- yellow: ["#FFE700", "#FFEF5A", "#FFF7AE", "#FFF3D6"],
276
- red: ["#FF6C40", "#FF8F6D", "#FFBD98", "#FFF2D4"]
277
- }, H = {
278
- normal: t.crayonBlue[50],
279
- hover: t.crayonBlue[70]
280
- }, G = {
281
- normal: t.acidGreen[60],
282
- hover: t.acidGreen[70]
283
- }, E = {
284
- normal: t.flameRed[40],
285
- hover: t.flameRed[60]
286
- }, W = {
287
- normal: t.flameRed[60],
288
- hover: t.flameRed[70]
289
- }, P = {
290
- default: e(t.coolGrey[50], 0.24),
291
- transition: e(t.coolGrey[50], 0.08)
292
- }, l = {
293
- info: { ...H },
294
- success: { ...G },
295
- error: { ...E },
296
- warning: { ...W },
297
- skeleton: { ...P }
298
- }, h = {
299
- common: { black: "#000", white: "#fff" },
300
- primary: { ...y },
301
- state: {
302
- ...l
303
- },
304
- patronus: { ...t },
305
- opacity: { ...$ },
306
- secondary: { ...D, contrastText: "#fff" },
307
- info: { ...f, contrastText: "#fff" },
308
- success: { ...v, contrastText: x[800] },
309
- warning: { ...L, contrastText: x[800] },
310
- error: { ...B, contrastText: "#fff" },
311
- grey: x,
312
- gradients: m,
313
- chart: z,
314
- divider: x[50024],
315
- action: {
316
- hoverOpacity: 0.08,
317
- disabledOpacity: 0.48
318
- }
319
- }, s = {
320
- light: {
321
- ...h,
322
- mode: "light",
323
- text: {
324
- primary: t.ashBlak[10],
325
- secondary: t.coolGrey[40],
326
- disabled: t.coolGrey[10]
327
- },
328
- background: {
329
- paper: "#fff0",
330
- default: t.marbleLight[10],
331
- neutral: t.marbleLight[30],
332
- background: t.marbleLight[50]
333
- },
334
- grid: { sectionHeader: "#F6F7F9", divider: "#EDEFF2", rowHover: "#FAFBFC" }
335
- },
336
- dark: {
337
- ...h,
338
- mode: "dark",
339
- text: {
340
- primary: t.marbleLight[30],
341
- secondary: t.coolGrey[20],
342
- disabled: t.coolGrey[50]
343
- },
344
- background: {
345
- paper: "#fff0",
346
- default: t.ashBlak[10],
347
- neutral: t.ashBlak[30],
348
- background: t.ashBlak[50]
349
- },
350
- grid: { sectionHeader: "#29313A", divider: "#3E464F", rowHover: "#1F262F" }
351
- }
352
- }, g = [
353
- {
354
- name: "patronus",
355
- lighter: t.patronusBlue[70],
356
- light: t.patronusBlue[60],
357
- main: t.patronusBlue[50],
358
- dark: t.patronusBlue[40],
359
- darker: t.patronusBlue[20],
360
- contrastText: t.marbleLight[10]
361
- },
362
- {
363
- name: "turqui",
364
- lighter: t.turquiBlue[80],
365
- light: t.turquiBlue[60],
366
- main: t.turquiBlue[40],
367
- dark: t.turquiBlue[50],
368
- darker: t.turquiBlue[20],
369
- contrastText: t.marbleLight[10]
370
- },
371
- {
372
- name: "grass",
373
- lighter: t.grassGreen[80],
374
- light: t.grassGreen[50],
375
- main: t.grassGreen[60],
376
- dark: t.grassGreen[40],
377
- darker: t.grassGreen[20],
378
- contrastText: t.marbleLight[10]
379
- },
380
- {
381
- name: "candy",
382
- lighter: t.candyRed[70],
383
- light: t.candyRed[60],
384
- main: t.candyRed[50],
385
- dark: t.candyRed[40],
386
- darker: t.candyRed[30],
387
- contrastText: t.marbleLight[10]
388
- },
389
- {
390
- name: "blaze",
391
- lighter: t.blazeOrange[80],
392
- light: t.blazeOrange[50],
393
- main: t.blazeOrange[60],
394
- dark: t.blazeOrange[40],
395
- darker: t.blazeOrange[20],
396
- contrastText: t.marbleLight[10]
397
- }
398
- ], F = g[0], q = g[1], _ = g[2], N = g[3], j = g[4];
399
- function b(o) {
400
- try {
401
- return {
402
- patronus: F,
403
- turqui: q,
404
- grass: _,
405
- candy: N,
406
- blaze: j
407
- }[o];
408
- } catch {
409
- }
410
- return F;
411
- }
412
- const V = (o, r) => {
413
- let a = {};
414
- switch (o) {
415
- case "patronus":
416
- a = {
417
- light: {
418
- active12: n(t?.patronusBlue[50], 0.12),
419
- active: t?.patronusBlue[50],
420
- focus: t?.patronusBlue[70],
421
- hover: t?.patronusBlue[60],
422
- default: n(t?.coolGrey[70], 0.04),
423
- ...l
424
- },
425
- dark: {
426
- active12: n(t?.patronusBlue[50], 0.12),
427
- active: t?.patronusBlue[50],
428
- focus: t?.patronusBlue[30],
429
- hover: t?.patronusBlue[40],
430
- default: n(t?.marbleLight[10], 0.04),
431
- ...l
432
- }
433
- };
434
- break;
435
- case "turqui":
436
- a = {
437
- light: {
438
- active12: n(t?.turquiBlue[50], 0.12),
439
- active: t?.turquiBlue[50],
440
- focus: t?.turquiBlue[70],
441
- hover: t?.turquiBlue[60],
442
- default: n(t?.coolGrey[70], 0.12),
443
- ...l
444
- },
445
- dark: {
446
- active12: n(t?.turquiBlue[50], 0.12),
447
- active: t?.turquiBlue[50],
448
- focus: t?.turquiBlue[30],
449
- hover: t?.turquiBlue[40],
450
- default: n(t?.marbleLight[10], 0.12),
451
- ...l
452
- }
453
- };
454
- break;
455
- case "grass":
456
- a = {
457
- light: {
458
- active12: n(t?.grassGreen[50], 0.12),
459
- active: t?.grassGreen[50],
460
- focus: t?.grassGreen[70],
461
- hover: t?.grassGreen[60],
462
- default: n(t?.coolGrey[70], 0.12),
463
- ...l
464
- },
465
- dark: {
466
- active12: n(t?.grassGreen[50], 0.12),
467
- active: t?.grassGreen[50],
468
- focus: t?.grassGreen[30],
469
- hover: t?.grassGreen[40],
470
- default: n(t?.marbleLight[10], 0.12),
471
- ...l
472
- }
473
- };
474
- break;
475
- case "candy":
476
- a = {
477
- light: {
478
- active12: n(t?.candyRed[50], 0.12),
479
- active: t?.candyRed[50],
480
- focus: t?.candyRed[70],
481
- hover: t?.candyRed[60],
482
- default: n(t?.coolGrey[70], 0.12),
483
- ...l
484
- },
485
- dark: {
486
- active12: n(t?.candyRed[50], 0.12),
487
- active: t?.candyRed[50],
488
- focus: t?.candyRed[30],
489
- hover: t?.candyRed[40],
490
- default: n(t?.marbleLight[10], 0.12),
491
- ...l
492
- }
493
- };
494
- break;
495
- case "blaze":
496
- a = {
497
- light: {
498
- active12: n(t?.blazeOrange[50], 0.12),
499
- active: t?.blazeOrange[50],
500
- focus: t?.blazeOrange[70],
501
- hover: t?.blazeOrange[60],
502
- default: n(t?.coolGrey[70], 0.12),
503
- ...l
504
- },
505
- dark: {
506
- active12: n(t?.blazeOrange[50], 0.12),
507
- active: t?.blazeOrange[50],
508
- focus: t?.blazeOrange[30],
509
- hover: t?.blazeOrange[40],
510
- default: n(t?.marbleLight[10], 0.12),
511
- ...l
512
- }
513
- };
514
- break;
515
- default:
516
- a = {
517
- light: {
518
- active12: n(t?.turquiBlue[50], 0.12),
519
- active: t?.turquiBlue[50],
520
- focus: t?.turquiBlue[70],
521
- hover: t?.turquiBlue[60],
522
- default: n(t?.coolGrey[70], 0.12),
523
- ...l
524
- },
525
- dark: {
526
- active12: n(t?.turquiBlue[50], 0.12),
527
- active: t?.turquiBlue[50],
528
- focus: t?.turquiBlue[30],
529
- hover: t?.turquiBlue[40],
530
- default: n(t?.marbleLight[10], 0.12),
531
- ...l
532
- }
533
- };
534
- break;
535
- }
536
- return r === "light" ? { ...a.light } : { ...a.dark };
537
- };
538
- function Y(o) {
539
- return Math.round(parseFloat(o) * 16);
540
- }
541
- function d(o) {
542
- return `${o / 16}rem`;
543
- }
544
- function p({ sm: o, md: r, lg: a }) {
545
- return {
546
- "@media (min-width:0px)": {
547
- fontSize: `${o}px`
548
- },
549
- "@media (min-width:900px)": {
550
- fontSize: `${r}px`
551
- },
552
- "@media (min-width:1200px)": {
553
- fontSize: `${a}px`
554
- }
555
- };
556
- }
557
- function U() {
558
- return [...w().breakpoints.keys].reverse().reduce((a, i) => {
559
- const k = T("up", i);
560
- return !a && k ? i : a;
561
- }, null) || "xs";
562
- }
563
- function ct(o) {
564
- const r = w(), a = U(), i = r.breakpoints.up(a === "xl" ? "lg" : a), S = (o === "h1" || o === "h2" || o === "h3" || o === "h4" || o === "h5" || o === "h6") && r.typography[o][i] ? r.typography[o][i] : r.typography[o], C = Y(S.fontSize), R = Number(r.typography[o].lineHeight) * C, { fontWeight: O, letterSpacing: A } = r.typography[o];
565
- return { fontSize: C, lineHeight: R, fontWeight: O, letterSpacing: A };
566
- }
567
- const K = "Poppins, sans-serif", J = {
568
- fontFamily: K,
569
- fontWeightRegular: 400,
570
- fontWeightMedium: 600,
571
- fontWeightBold: 700,
572
- h1: {
573
- fontWeight: 600,
574
- lineHeight: 1.5,
575
- ...p({ sm: 38, md: 40, lg: 40 })
576
- },
577
- h2: {
578
- fontWeight: 600,
579
- lineHeight: 1,
580
- ...p({ sm: 40, md: 44, lg: 48 })
581
- },
582
- h3: {
583
- fontWeight: 600,
584
- lineHeight: 1.5,
585
- ...p({ sm: 30, md: 32, lg: 32 })
586
- },
587
- h4: {
588
- fontWeight: 600,
589
- lineHeight: 1.5,
590
- ...p({ sm: 20, md: 24, lg: 24 })
591
- },
592
- h5: {
593
- fontWeight: 600,
594
- lineHeight: 1.5,
595
- ...p({ sm: 22, md: 24, lg: 24 })
596
- },
597
- h6: {
598
- fontWeight: 600,
599
- lineHeight: 28 / 18,
600
- ...p({ sm: 18, md: 18, lg: 18 })
601
- },
602
- subtitle: {
603
- fontWeight: 400,
604
- lineHeight: 1.5,
605
- ...p({ sm: 18, md: 16, lg: 16 })
606
- },
607
- subtitleDens: {
608
- fontWeight: 600,
609
- lineHeight: 1.5,
610
- ...p({ sm: 18, md: 16, lg: 16 })
611
- },
612
- paragraph: {
613
- fontWeight: 400,
614
- lineHeight: 1.429,
615
- ...p({ sm: 16, md: 14, lg: 14 })
616
- },
617
- paragraphDens: {
618
- fontWeight: 600,
619
- lineHeight: 1.429,
620
- ...p({ sm: 16, md: 14, lg: 14 })
621
- },
622
- subtitle1: {
623
- fontWeight: 600,
624
- lineHeight: 1.5,
625
- fontSize: d(14)
626
- },
627
- subtitle2: {
628
- fontWeight: 600,
629
- lineHeight: 1.5,
630
- fontSize: d(12)
631
- },
632
- body: {
633
- fontWeight: 400,
634
- lineHeight: 1.143,
635
- ...p({ sm: 14, md: 12, lg: 12 })
636
- },
637
- bodyDens: {
638
- fontWeight: 600,
639
- lineHeight: 1.143,
640
- ...p({ sm: 14, md: 12, lg: 12 })
641
- },
642
- body0: {
643
- lineHeight: 1.5,
644
- fontWeight: 400,
645
- fontSize: d(16)
646
- },
647
- body1: {
648
- lineHeight: 1.5,
649
- fontWeight: 400,
650
- fontSize: d(14)
651
- },
652
- body2: {
653
- lineHeight: 1.5,
654
- fontWeight: 400,
655
- fontSize: d(12)
656
- },
657
- caption: {
658
- lineHeight: 1.5,
659
- fontSize: d(11)
660
- },
661
- overline: {
662
- fontWeight: 700,
663
- lineHeight: 1.5,
664
- fontSize: d(12),
665
- textTransform: "uppercase"
666
- },
667
- button: {
668
- fontWeight: 700,
669
- lineHeight: 24 / 14,
670
- fontSize: d(14),
671
- textTransform: "capitalize"
672
- },
673
- action: {
674
- fontWeight: 500,
675
- lineHeight: 1.667,
676
- ...p({ sm: 14, md: 12, lg: 12 })
677
- }
678
- }, Q = s.light.grey[500], X = "#000000", I = (o) => {
679
- const r = e(o, 0.2), a = e(o, 0.14), i = e(o, 0.12);
680
- return [
681
- "none",
682
- `0px 2px 1px -1px ${r},0px 1px 1px 0px ${a},0px 1px 3px 0px ${i}`,
683
- `0px 3px 1px -2px ${r},0px 2px 2px 0px ${a},0px 1px 5px 0px ${i}`,
684
- `0px 3px 3px -2px ${r},0px 3px 4px 0px ${a},0px 1px 8px 0px ${i}`,
685
- `0px 2px 4px -1px ${r},0px 4px 5px 0px ${a},0px 1px 10px 0px ${i}`,
686
- `0px 3px 5px -1px ${r},0px 5px 8px 0px ${a},0px 1px 14px 0px ${i}`,
687
- `0px 3px 5px -1px ${r},0px 6px 10px 0px ${a},0px 1px 18px 0px ${i}`,
688
- `0px 4px 5px -2px ${r},0px 7px 10px 1px ${a},0px 2px 16px 1px ${i}`,
689
- `0px 5px 5px -3px ${r},0px 8px 10px 1px ${a},0px 3px 14px 2px ${i}`,
690
- `0px 5px 6px -3px ${r},0px 9px 12px 1px ${a},0px 3px 16px 2px ${i}`,
691
- `0px 6px 6px -3px ${r},0px 10px 14px 1px ${a},0px 4px 18px 3px ${i}`,
692
- `0px 6px 7px -4px ${r},0px 11px 15px 1px ${a},0px 4px 20px 3px ${i}`,
693
- `0px 7px 8px -4px ${r},0px 12px 17px 2px ${a},0px 5px 22px 4px ${i}`,
694
- `0px 7px 8px -4px ${r},0px 13px 19px 2px ${a},0px 5px 24px 4px ${i}`,
695
- `0px 7px 9px -4px ${r},0px 14px 21px 2px ${a},0px 5px 26px 4px ${i}`,
696
- `0px 8px 9px -5px ${r},0px 15px 22px 2px ${a},0px 6px 28px 5px ${i}`,
697
- `0px 8px 10px -5px ${r},0px 16px 24px 2px ${a},0px 6px 30px 5px ${i}`,
698
- `0px 8px 11px -5px ${r},0px 17px 26px 2px ${a},0px 6px 32px 5px ${i}`,
699
- `0px 9px 11px -5px ${r},0px 18px 28px 2px ${a},0px 7px 34px 6px ${i}`,
700
- `0px 9px 12px -6px ${r},0px 19px 29px 2px ${a},0px 7px 36px 6px ${i}`,
701
- `0px 10px 13px -6px ${r},0px 20px 31px 3px ${a},0px 8px 38px 7px ${i}`,
702
- `0px 10px 13px -6px ${r},0px 21px 33px 3px ${a},0px 8px 40px 7px ${i}`,
703
- `0px 10px 14px -6px ${r},0px 22px 35px 3px ${a},0px 8px 42px 7px ${i}`,
704
- `0px 11px 14px -7px ${r},0px 23px 36px 3px ${a},0px 9px 44px 8px ${i}`,
705
- `0px 11px 15px -7px ${r},0px 24px 38px 3px ${a},0px 9px 46px 8px ${i}`
706
- ];
707
- }, Z = (o) => {
708
- const r = {
709
- info: `0px 2px 8px 0px ${e(t.patronusBlue[50], 0.2)}`,
710
- secondary: `0px 2px 8px 0px ${e(s.light.secondary.main, 0.24)}`,
711
- success: `0px 2px 8px 0px ${e(t.acidGreen[50], 0.2)}`,
712
- warning: `0px 2px 8px 0px ${e(t.middleYellow[50], 0.2)}`,
713
- error: `0px 2px 8px 0px ${e(t.flameRed[50], 0.2)}`,
714
- card: `0 0 2px 0 ${e(s.light.grey[500], 0.2)}, 0 12px 24px -4px ${e(
715
- s.light.grey[500],
716
- 0.12
717
- )}`,
718
- dialog: `-40px 40px 80px -8px ${e(s.light.common.black, 0.24)}`,
719
- dropdown: `0 0 2px 0 ${e(s.light.grey[500], 0.24)}, -20px 20px 40px -4px ${e(
720
- s.light.grey[500],
721
- 0.24
722
- )}`
723
- };
724
- return o === "light" ? {
725
- z1: `0px 1px 2px ${e(t.coolGrey[70], 0.12)}`,
726
- z2: `0px 2px 2px 1px ${e(t.coolGrey[70], 0.12)}`,
727
- z3: `0px 4px 8px ${e(t.coolGrey[70], 0.16)}`,
728
- z4: `0px 8px 16px 1px ${e(t.coolGrey[70], 0.16)}`,
729
- ...r
730
- } : {
731
- z1: `0px 1px 2px ${e(t.ashBlak[50], 0.4)}`,
732
- z2: `0px 2px 2px 1px ${e(t.ashBlak[50], 0.4)}`,
733
- z3: `0px 4px 8px 1px ${e(t.ashBlak[60], 0.4)}`,
734
- z4: `0px 8px 16px 4px ${e(t.ashBlak[60], 0.4)}`,
735
- ...r
736
- };
737
- }, oo = {
738
- light: I(Q),
739
- dark: I(X)
740
- }, gt = {
741
- typography: J,
742
- palette: {
743
- ...s.light,
744
- primary: b("patronus"),
745
- state: { ...V("patronus", "light") },
746
- representative: b("patronus").darker
747
- },
748
- shape: { borderRadius: 8 },
749
- direction: "rtl",
750
- shadows: oo.light,
751
- customShadows: {
752
- primary: `0 8px 16px 0 ${M(b("patronus").main, 0.2)}`,
753
- ...Z("dark")
754
- },
755
- stretch: !0,
756
- spacing: (o) => `${0.5 * o}rem`
757
- };
758
- function to(o) {
759
- return {
760
- MuiAvatar: {
761
- styleOverrides: {
762
- colorDefault: {
763
- color: o.palette.text.secondary,
764
- backgroundColor: o.palette.grey[400]
765
- }
766
- }
767
- },
768
- MuiAvatarGroup: {
769
- styleOverrides: {
770
- avatar: {
771
- fontSize: 16,
772
- fontWeight: o.typography.fontWeightMedium,
773
- "&:first-of-type": {
774
- fontSize: 14,
775
- color: o.palette.primary.main,
776
- backgroundColor: o.palette.primary.lighter
777
- }
778
- }
779
- }
780
- }
781
- };
782
- }
783
- function eo(o) {
784
- return {
785
- MuiButton: {
786
- styleOverrides: {
787
- root: {
788
- textTransform: "capitalize",
789
- "&:hover": {
790
- boxShadow: "none"
791
- }
792
- },
793
- sizeLarge: {
794
- height: 48
795
- },
796
- containedInherit: {
797
- color: o.palette.grey[800],
798
- boxShadow: o.customShadows?.z1,
799
- "&:hover": {
800
- backgroundColor: o.palette.grey[400]
801
- }
802
- },
803
- containedPrimary: {
804
- boxShadow: o.customShadows?.z4
805
- },
806
- containedSecondary: {
807
- boxShadow: o.customShadows?.secondary
808
- },
809
- containedInfo: {
810
- boxShadow: o.customShadows?.info
811
- },
812
- containedSuccess: {
813
- boxShadow: o.customShadows?.success
814
- },
815
- containedWarning: {
816
- boxShadow: o.customShadows?.warning
817
- },
818
- containedError: {
819
- boxShadow: o.customShadows?.error
820
- },
821
- outlinedInherit: {
822
- border: `1px solid ${o.palette.grey[50032]}`,
823
- "&:hover": {
824
- backgroundColor: o.palette.action.hover
825
- }
826
- },
827
- textInherit: {
828
- "&:hover": {
829
- backgroundColor: o.palette.action.hover
830
- }
831
- }
832
- }
833
- }
834
- };
835
- }
836
- function ro(o) {
837
- return {
838
- MuiIconButton: {
839
- styleOverrides: {
840
- root: {
841
- "&.MuiIconButton-sizeSmall": {
842
- height: o.spacing(3),
843
- width: o.spacing(3),
844
- margin: 0,
845
- padding: 0,
846
- " > svg": {
847
- height: 20,
848
- width: 20
849
- },
850
- "& .MuiBox-root": {
851
- height: 20,
852
- width: 20
853
- }
854
- }
855
- }
856
- }
857
- }
858
- };
859
- }
860
- function ao(o) {
861
- return console.log("test theme", o.palette), {
862
- MuiFab: {
863
- defaultProps: {
864
- color: "primary"
865
- },
866
- styleOverrides: {
867
- root: {
868
- boxShadow: o.customShadows?.z4,
869
- "&:hover": {
870
- boxShadow: "none",
871
- backgroundColor: o.palette.grey[400]
872
- }
873
- },
874
- primary: {
875
- boxShadow: o.customShadows?.primary,
876
- "&:hover": {
877
- backgroundColor: o.palette.primary.dark
878
- }
879
- },
880
- secondary: {
881
- boxShadow: o.customShadows?.secondary,
882
- "&:hover": {
883
- backgroundColor: o.palette.secondary.dark
884
- }
885
- },
886
- extended: {
887
- "& svg": {
888
- marginRight: o.spacing(1)
889
- }
890
- }
891
- }
892
- }
893
- };
894
- }
895
- function io(o) {
896
- return {
897
- MuiCard: {
898
- styleOverrides: {
899
- root: {
900
- position: "relative",
901
- boxShadow: o.customShadows?.card,
902
- borderRadius: Number(o.shape.borderRadius) * 2,
903
- zIndex: 0
904
- }
905
- }
906
- },
907
- MuiCardHeader: {
908
- defaultProps: {
909
- titleTypographyProps: { variant: "h6" },
910
- subheaderTypographyProps: { variant: "body2", marginTop: o.spacing(0.5) }
911
- },
912
- styleOverrides: {
913
- root: {
914
- padding: o.spacing(3, 3, 0)
915
- }
916
- }
917
- },
918
- MuiCardContent: {
919
- styleOverrides: {
920
- root: {
921
- padding: o.spacing(3)
922
- }
923
- }
924
- }
925
- };
926
- }
927
- function no(o) {
928
- return {
929
- MuiTabs: {
930
- styleOverrides: {
931
- root: {
932
- padding: 0,
933
- fontWeight: o.typography.fontWeightMedium,
934
- borderTopLeftRadius: o.shape.borderRadius,
935
- borderTopRightRadius: o.shape.borderRadius,
936
- "&.Mui-selected": {
937
- color: o.palette.text.primary
938
- },
939
- "&:not(:last-of-type)": {
940
- marginRight: o.spacing(5)
941
- },
942
- "@media (min-width: 600px)": {
943
- minWidth: 48
944
- },
945
- "& .MuiButtonBase-root": {
946
- ...o.typography.subtitle2
947
- }
948
- },
949
- labelIcon: {
950
- minHeight: 48,
951
- flexDirection: "row",
952
- "& > *:first-of-type": {
953
- marginBottom: 0,
954
- marginRight: o.spacing(1)
955
- }
956
- },
957
- wrapper: {
958
- flexDirection: "row",
959
- whiteSpace: "nowrap"
960
- },
961
- textColorInherit: {
962
- opacity: 1,
963
- color: o.palette.text.secondary
964
- }
965
- }
966
- },
967
- MuiTabPanel: {
968
- styleOverrides: {
969
- root: {
970
- padding: 0
971
- }
972
- }
973
- },
974
- MuiTabScrollButton: {
975
- styleOverrides: {
976
- root: {
977
- width: 48,
978
- borderRadius: "50%"
979
- }
980
- }
981
- }
982
- };
983
- }
984
- function po(o) {
985
- return {
986
- MuiMenuItem: {
987
- styleOverrides: {
988
- root: {
989
- "&.Mui-selected": {
990
- backgroundColor: o.palette.action.selected,
991
- "&:hover": {
992
- backgroundColor: o.palette.action.hover
993
- }
994
- }
995
- }
996
- }
997
- }
998
- };
999
- }
1000
- function lo(o) {
1001
- return {
1002
- MuiLink: {
1003
- defaultProps: {
1004
- underline: "hover"
1005
- },
1006
- styleOverrides: {
1007
- root: {
1008
- "&.MuiLink-underlineHover": {
1009
- textDecorationColor: o.palette.primary.main
1010
- }
1011
- }
1012
- }
1013
- }
1014
- };
1015
- }
1016
- function so(o) {
1017
- return {
1018
- MuiListItemIcon: {
1019
- styleOverrides: {
1020
- root: {
1021
- color: "inherit",
1022
- minWidth: "auto",
1023
- marginRight: o.spacing(2)
1024
- }
1025
- }
1026
- },
1027
- MuiListItemAvatar: {
1028
- styleOverrides: {
1029
- root: {
1030
- minWidth: "auto",
1031
- marginRight: o.spacing(2)
1032
- }
1033
- }
1034
- },
1035
- MuiListItemText: {
1036
- styleOverrides: {
1037
- root: {
1038
- marginTop: 0,
1039
- marginBottom: 0
1040
- },
1041
- multiline: {
1042
- marginTop: 0,
1043
- marginBottom: 0
1044
- }
1045
- }
1046
- }
1047
- };
1048
- }
1049
- function uo(o) {
1050
- return {
1051
- MuiTableRow: {
1052
- styleOverrides: {
1053
- root: {
1054
- "&.Mui-selected": {
1055
- backgroundColor: o.palette.action.selected,
1056
- "&:hover": {
1057
- backgroundColor: o.palette.action.hover
1058
- }
1059
- }
1060
- }
1061
- }
1062
- },
1063
- MuiTableCell: {
1064
- styleOverrides: {
1065
- root: {
1066
- borderBottom: "none"
1067
- },
1068
- head: {
1069
- color: o.palette.text.secondary,
1070
- backgroundColor: o.palette.background.neutral,
1071
- "&:first-of-type": {
1072
- paddingLeft: o.spacing(3),
1073
- borderTopLeftRadius: o.shape.borderRadius,
1074
- borderBottomLeftRadius: o.shape.borderRadius,
1075
- boxShadow: `inset 8px 0 0 ${o.palette.background.paper}`
1076
- },
1077
- "&:last-of-type": {
1078
- paddingRight: o.spacing(3),
1079
- borderTopRightRadius: o.shape.borderRadius,
1080
- borderBottomRightRadius: o.shape.borderRadius,
1081
- boxShadow: `inset -8px 0 0 ${o.palette.background.paper}`
1082
- }
1083
- },
1084
- stickyHeader: {
1085
- backgroundColor: o.palette.background.paper,
1086
- backgroundImage: `linear-gradient(to bottom, ${o.palette.background.neutral} 0%, ${o.palette.background.neutral} 100%)`
1087
- },
1088
- body: {
1089
- "&:first-of-type": {
1090
- paddingLeft: o.spacing(3)
1091
- },
1092
- "&:last-of-type": {
1093
- paddingRight: o.spacing(3)
1094
- }
1095
- }
1096
- }
1097
- },
1098
- MuiTablePagination: {
1099
- styleOverrides: {
1100
- root: {
1101
- ...o.typography.caption
1102
- },
1103
- toolbar: {
1104
- "& .MuiInputBase-root": {
1105
- marginLeft: o.spacing(1),
1106
- marginRight: o.spacing(3),
1107
- ...o.typography.caption
1108
- },
1109
- "&.MuiToolbar-regular": {
1110
- minHeight: 40,
1111
- height: 40,
1112
- paddingRight: 0
1113
- },
1114
- "& .MuiTablePagination-displayedRows": {
1115
- ...o.typography.caption
1116
- }
1117
- },
1118
- selectLabel: {
1119
- ...o.typography.caption
1120
- },
1121
- select: {
1122
- paddingBottom: 4,
1123
- "&:focus": {
1124
- borderRadius: o.shape.borderRadius
1125
- }
1126
- },
1127
- selectIcon: {
1128
- width: 20,
1129
- height: 20
1130
- }
1131
- }
1132
- }
1133
- };
1134
- }
1135
- function co(o) {
1136
- return {
1137
- MuiBadge: {
1138
- styleOverrides: {
1139
- dot: {
1140
- width: 10,
1141
- height: 10,
1142
- borderRadius: "50%"
1143
- }
1144
- }
1145
- }
1146
- };
1147
- }
1148
- function go(o) {
1149
- return {
1150
- MuiPaper: {
1151
- defaultProps: {
1152
- elevation: 0
1153
- },
1154
- variants: [
1155
- {
1156
- props: { variant: "outlined" },
1157
- style: { borderColor: o.palette.grey[50012] }
1158
- }
1159
- ],
1160
- styleOverrides: {
1161
- root: {
1162
- backgroundImage: "none",
1163
- backgroundColor: o.palette.background.default,
1164
- borderRadius: "2px",
1165
- "& .MuiStack-root .MuiMenuItem-root": {
1166
- color: o.palette.text.primary,
1167
- transition: "all .5s",
1168
- borderRadius: "4px",
1169
- ...o.typography.action
1170
- },
1171
- "& .MuiStack-root .MuiMenuItem-root:hover": {
1172
- color: o.palette.state?.hover,
1173
- transition: "all .5s",
1174
- backgroundColor: o.palette.state?.active12
1175
- },
1176
- "& .MuiStack-root .MuiMenuItem-root.Mui-selected": {
1177
- color: o.palette.state?.active,
1178
- transition: "all .5s",
1179
- backgroundColor: o.palette.state?.active12
1180
- },
1181
- "& .MuiStack-root .MuiMenuItem-root:focus": {
1182
- color: o.palette.state?.focus,
1183
- transition: "all .5s",
1184
- backgroundColor: o.palette.background.default,
1185
- boxShadow: `0 0 0 1px ${o.palette.state?.focus}`
1186
- },
1187
- "& .MuiAutocomplete-listbox .MuiAutocomplete-option": {
1188
- color: o.palette.text.primary,
1189
- transition: "all .5s",
1190
- borderRadius: "4px",
1191
- ...o.typography.action
1192
- },
1193
- "& .MuiAutocomplete-listbox .MuiAutocomplete-option:hover": {
1194
- color: o.palette.state?.hover,
1195
- transition: "all .5s",
1196
- backgroundColor: o.palette.state?.active12
1197
- },
1198
- "& .MuiAutocomplete-listbox .MuiAutocomplete-option.Mui-selected": {
1199
- color: o.palette.state?.active,
1200
- transition: "all .5s",
1201
- backgroundColor: o.palette.state?.active12
1202
- },
1203
- "& .MuiAutocomplete-listbox .MuiAutocomplete-option:active": {
1204
- color: o.palette.state?.focus,
1205
- transition: "all .5s",
1206
- backgroundColor: o.palette.background.default,
1207
- boxShadow: `0 0 0 1px ${o.palette.state?.focus}`
1208
- }
1209
- }
1210
- }
1211
- }
1212
- };
1213
- }
1214
- function xo(o) {
1215
- return {
1216
- MuiFormControl: {
1217
- styleOverrides: {
1218
- root: {}
1219
- }
1220
- },
1221
- MuiInputBase: {
1222
- styleOverrides: {
1223
- root: {
1224
- backgroundColor: o.palette.background.default,
1225
- ...o.typography.body2,
1226
- borderRadius: o.spacing(1),
1227
- "&.Mui-disabled": {
1228
- "& svg": { color: o.palette.text.disabled }
1229
- },
1230
- padding: "0px"
1231
- },
1232
- input: {
1233
- padding: "4px 8px",
1234
- "&::placeholder": {
1235
- opacity: 1,
1236
- color: o.palette.text.disabled
1237
- }
1238
- }
1239
- }
1240
- },
1241
- MuiInput: {
1242
- styleOverrides: {
1243
- underline: {
1244
- "&:before": {
1245
- borderBottomColor: o.palette.grey[50056]
1246
- }
1247
- }
1248
- }
1249
- },
1250
- MuiFilledInput: {
1251
- styleOverrides: {
1252
- root: {
1253
- backgroundColor: o.palette.grey[50012],
1254
- "&:hover": {
1255
- backgroundColor: o.palette.grey[50016]
1256
- },
1257
- "&.Mui-focused": {
1258
- backgroundColor: o.palette.action.focus
1259
- },
1260
- "&.Mui-disabled": {
1261
- backgroundColor: o.palette.action.disabledBackground
1262
- }
1263
- },
1264
- underline: {
1265
- "&:before": {
1266
- borderBottomColor: o.palette.grey[50056]
1267
- }
1268
- }
1269
- }
1270
- },
1271
- MuiOutlinedInput: {
1272
- styleOverrides: {
1273
- root: {
1274
- ...o.typography.body2,
1275
- color: o.palette.text.primary,
1276
- "& > input": {
1277
- padding: o.spacing(1.5, 1.5)
1278
- },
1279
- "& .MuiOutlinedInput-notchedOutline": {
1280
- borderColor: o.palette.grey[50032],
1281
- fontSize: "0.875rem"
1282
- },
1283
- "&.Mui-disabled": {
1284
- "& .MuiOutlinedInput-notchedOutline": {
1285
- borderColor: o.palette.action.disabledBackground
1286
- }
1287
- },
1288
- "& .MuiOutlinedInput-input:-webkit-autofill": {
1289
- WebkitBoxShadow: `0 0 0 1000px ${o.palette.background.autofill} inset`
1290
- }
1291
- }
1292
- }
1293
- }
1294
- };
1295
- }
1296
- function bo(o) {
1297
- return {
1298
- MuiInputLabel: {
1299
- styleOverrides: {
1300
- shrink: {
1301
- transform: "translate(14px, -9px) scale(0.75)!important"
1302
- },
1303
- outlined: {
1304
- transform: "translate(14px, 12px) scale(1)",
1305
- fontSize: 12
1306
- }
1307
- }
1308
- }
1309
- };
1310
- }
1311
- function Mo(o) {
1312
- return {
1313
- MuiRadio: {
1314
- styleOverrides: {
1315
- root: {
1316
- padding: o.spacing(1),
1317
- svg: {
1318
- fontSize: 24,
1319
- "&[font-size=small]": {
1320
- fontSize: 20
1321
- }
1322
- }
1323
- }
1324
- }
1325
- }
1326
- };
1327
- }
1328
- function yo(o) {
1329
- const r = o.palette.mode === "light";
1330
- return {
1331
- MuiDrawer: {
1332
- styleOverrides: {
1333
- root: {
1334
- "&.M4LSideBar-drawer": {
1335
- test: "root",
1336
- "& .MuiPaper-root": {
1337
- background: o.palette.background.neutral,
1338
- display: "flex",
1339
- flexDirection: "row"
1340
- }
1341
- }
1342
- },
1343
- modal: {
1344
- '&[role="presentation"]': {
1345
- "& .MuiDrawer-paperAnchorLeft": {
1346
- boxShadow: `8px 24px 24px 12px ${M(
1347
- o.palette.grey[900],
1348
- r ? 0.16 : 0.48
1349
- )}`
1350
- },
1351
- "& .MuiDrawer-paperAnchorRight": {
1352
- boxShadow: `-8px 24px 24px 12px ${M(
1353
- o.palette.grey[900],
1354
- r ? 0.16 : 0.48
1355
- )}`
1356
- }
1357
- }
1358
- }
1359
- }
1360
- }
1361
- };
1362
- }
1363
- function fo(o) {
1364
- return {
1365
- MuiDialog: {
1366
- styleOverrides: {
1367
- paper: {
1368
- boxShadow: o.customShadows?.dialog,
1369
- "&.MuiPaper-rounded": {
1370
- borderRadius: Number(o.shape.borderRadius) * 2
1371
- },
1372
- "&.MuiDialog-paperFullScreen": {
1373
- borderRadius: 0
1374
- },
1375
- "&.MuiDialog-paper .MuiDialogActions-root": {
1376
- padding: o.spacing(3)
1377
- },
1378
- "@media (max-width: 600px)": {
1379
- margin: o.spacing(2)
1380
- },
1381
- "@media (max-width: 663.95px)": {
1382
- "&.MuiDialog-paperWidthSm.MuiDialog-paperScrollBody": {
1383
- maxWidth: "100%"
1384
- }
1385
- }
1386
- },
1387
- paperFullWidth: {
1388
- width: "100%"
1389
- }
1390
- }
1391
- },
1392
- MuiDialogTitle: {
1393
- styleOverrides: {
1394
- root: {
1395
- padding: o.spacing(3, 3, 0)
1396
- }
1397
- }
1398
- },
1399
- MuiDialogContent: {
1400
- styleOverrides: {
1401
- root: {
1402
- borderTop: 0,
1403
- borderBottom: 0,
1404
- padding: o.spacing(3)
1405
- }
1406
- }
1407
- },
1408
- MuiDialogActions: {
1409
- styleOverrides: {
1410
- root: {
1411
- "& > :not(:first-of-type)": {
1412
- marginLeft: o.spacing(1.5)
1413
- }
1414
- }
1415
- }
1416
- }
1417
- };
1418
- }
1419
- function vo(o) {
1420
- const r = o.palette.mode === "light";
1421
- return {
1422
- MuiSlider: {
1423
- defaultProps: {
1424
- size: "small"
1425
- },
1426
- styleOverrides: {
1427
- root: {
1428
- "&.Mui-disabled": {
1429
- color: o.palette.action.disabled
1430
- }
1431
- },
1432
- markLabel: {
1433
- fontSize: 13,
1434
- color: o.palette.text.disabled
1435
- },
1436
- valueLabel: {
1437
- borderRadius: 8,
1438
- backgroundColor: o.palette.grey[r ? 800 : 700]
1439
- }
1440
- }
1441
- }
1442
- };
1443
- }
1444
- function Lo(o) {
1445
- const r = o.palette.mode === "light";
1446
- return {
1447
- MuiSwitch: {
1448
- styleOverrides: {
1449
- thumb: {
1450
- boxShadow: o.customShadows?.z1
1451
- },
1452
- track: {
1453
- opacity: 1,
1454
- backgroundColor: o.palette.grey[500]
1455
- },
1456
- switchBase: {
1457
- left: 0,
1458
- right: "auto",
1459
- "&:not(:.Mui-checked)": {
1460
- color: o.palette.grey[r ? 100 : 300]
1461
- },
1462
- "&.Mui-checked.Mui-disabled, &.Mui-disabled": {
1463
- color: o.palette.grey[r ? 400 : 600]
1464
- },
1465
- "&.Mui-disabled+.MuiSwitch-track": {
1466
- opacity: 1,
1467
- backgroundColor: `${o.palette.action.disabledBackground} !important`
1468
- }
1469
- }
1470
- }
1471
- }
1472
- };
1473
- }
1474
- function Bo(o) {
1475
- return {
1476
- MuiSvgIcon: {
1477
- styleOverrides: {
1478
- fontSizeSmall: {
1479
- width: 20,
1480
- height: 20,
1481
- fontSize: "inherit"
1482
- },
1483
- fontSizeLarge: {
1484
- width: 32,
1485
- height: 32,
1486
- fontSize: "inherit"
1487
- }
1488
- }
1489
- }
1490
- };
1491
- }
1492
- function ko(o) {
1493
- const r = o.palette.mode === "light";
1494
- return {
1495
- MuiTooltip: {
1496
- styleOverrides: {
1497
- tooltip: {
1498
- backgroundColor: o.palette.grey[r ? 800 : 700]
1499
- },
1500
- arrow: {
1501
- color: o.palette.grey[r ? 800 : 700]
1502
- }
1503
- }
1504
- }
1505
- };
1506
- }
1507
- function Co(o) {
1508
- return {
1509
- MuiPopover: {
1510
- styleOverrides: {
1511
- paper: {}
1512
- }
1513
- }
1514
- };
1515
- }
1516
- function ho(o) {
1517
- return {
1518
- MuiStepConnector: {
1519
- styleOverrides: {
1520
- line: {
1521
- borderColor: o.palette.divider
1522
- }
1523
- }
1524
- }
1525
- };
1526
- }
1527
- function Fo(o) {
1528
- return {
1529
- MuiDataGrid: {
1530
- styleOverrides: {
1531
- root: {
1532
- borderRadius: 0,
1533
- border: "1px solid transparent",
1534
- "& .MuiTablePagination-root": {
1535
- borderTop: 0
1536
- },
1537
- "& .MuiDataGrid-toolbarContainer": {
1538
- padding: o.spacing(2),
1539
- backgroundColor: o.palette.background.neutral,
1540
- "& .MuiButton-root": {
1541
- marginRight: o.spacing(1.5),
1542
- color: o.palette.text.primary,
1543
- "&:hover": {
1544
- backgroundColor: o.palette.action.hover
1545
- }
1546
- }
1547
- },
1548
- "& .MuiDataGrid-cell, .MuiDataGrid-columnsContainer": {
1549
- borderBottom: `1px solid ${o.palette.divider}`
1550
- },
1551
- "& .MuiDataGrid-columnSeparator": {
1552
- color: o.palette.divider
1553
- },
1554
- '& .MuiDataGrid-columnHeader[data-field="__check__"]': {
1555
- padding: 0
1556
- }
1557
- }
1558
- }
1559
- },
1560
- MuiGridMenu: {
1561
- styleOverrides: {
1562
- root: {
1563
- "& .MuiDataGrid-gridMenuList": {
1564
- boxShadow: o.customShadows?.z4,
1565
- borderRadius: o.shape.borderRadius
1566
- },
1567
- "& .MuiMenuItem-root": {
1568
- ...o.typography.body2
1569
- }
1570
- }
1571
- }
1572
- },
1573
- MuiGridFilterForm: {
1574
- styleOverrides: {
1575
- root: {
1576
- padding: o.spacing(1.5, 0),
1577
- "& .MuiFormControl-root": {
1578
- margin: o.spacing(0, 0.5)
1579
- },
1580
- "& .MuiInput-root": {
1581
- marginTop: o.spacing(3),
1582
- "&::before, &::after": {
1583
- display: "none"
1584
- },
1585
- "& .MuiNativeSelect-select, .MuiInput-input": {
1586
- ...o.typography.body2,
1587
- padding: o.spacing(0.75, 1),
1588
- borderRadius: o.shape.borderRadius,
1589
- backgroundColor: o.palette.background.neutral
1590
- },
1591
- "& .MuiSvgIcon-root": {
1592
- right: 4
1593
- }
1594
- }
1595
- }
1596
- }
1597
- },
1598
- MuiGridPanelFooter: {
1599
- styleOverrides: {
1600
- root: {
1601
- padding: o.spacing(2),
1602
- justifyContent: "flex-end",
1603
- "& .MuiButton-root": {
1604
- "&:first-of-type": {
1605
- marginRight: o.spacing(1.5),
1606
- color: o.palette.text.primary,
1607
- "&:hover": {
1608
- backgroundColor: o.palette.action.hover
1609
- }
1610
- },
1611
- "&:last-of-type": {
1612
- color: o.palette.common.white,
1613
- backgroundColor: o.palette.primary.main,
1614
- "&:hover": {
1615
- backgroundColor: o.palette.primary.dark
1616
- }
1617
- }
1618
- }
1619
- }
1620
- }
1621
- }
1622
- };
1623
- }
1624
- function Io(o) {
1625
- return {
1626
- MuiSkeleton: {
1627
- defaultProps: {
1628
- animation: "wave"
1629
- },
1630
- styleOverrides: {
1631
- root: {
1632
- backgroundColor: o.palette.divider
1633
- }
1634
- }
1635
- }
1636
- };
1637
- }
1638
- function wo(o) {
1639
- const r = e(o.palette.grey[900], 0.48), a = e(o.palette.grey[900], 1);
1640
- return {
1641
- MuiBackdrop: {
1642
- styleOverrides: {
1643
- root: {
1644
- background: [
1645
- "rgb(22,28,36)",
1646
- `-moz-linear-gradient(75deg, ${r} 0%, ${a} 100%)`,
1647
- `-webkit-linear-gradient(75deg, ${r} 0%, ${a} 100%)`,
1648
- `linear-gradient(75deg, ${r} 0%, ${a} 100%)`
1649
- ],
1650
- "&.MuiBackdrop-invisible": {
1651
- background: "transparent"
1652
- }
1653
- }
1654
- }
1655
- }
1656
- };
1657
- }
1658
- function So(o) {
1659
- const r = o.palette.mode === "light";
1660
- return {
1661
- MuiLinearProgress: {
1662
- styleOverrides: {
1663
- root: {
1664
- borderRadius: 4,
1665
- overflow: "hidden"
1666
- },
1667
- bar: {
1668
- borderRadius: 4
1669
- },
1670
- colorPrimary: {
1671
- backgroundColor: o.palette.primary[r ? "lighter" : "darker"]
1672
- },
1673
- buffer: {
1674
- backgroundColor: "transparent"
1675
- }
1676
- }
1677
- }
1678
- };
1679
- }
1680
- function Ro(o) {
1681
- return {
1682
- MuiTimelineDot: {
1683
- styleOverrides: {
1684
- root: {
1685
- boxShadow: "none"
1686
- }
1687
- }
1688
- },
1689
- MuiTimelineConnector: {
1690
- styleOverrides: {
1691
- root: {
1692
- backgroundColor: o.palette.divider
1693
- }
1694
- }
1695
- }
1696
- };
1697
- }
1698
- function Oo(o) {
1699
- return {
1700
- MuiCheckbox: {
1701
- styleOverrides: {
1702
- root: {
1703
- padding: o.spacing(1),
1704
- oleee: "sss",
1705
- color: o.palette.action.active,
1706
- "& .Mui-checked": {
1707
- color: o.palette.primary.main
1708
- },
1709
- "&.Mui-checked.Mui-disabled, &.Mui-disabled": {
1710
- color: o.palette.action.disabled
1711
- }
1712
- }
1713
- }
1714
- }
1715
- };
1716
- }
1717
- function Ao(o) {
1718
- return {
1719
- MuiAccordion: {
1720
- styleOverrides: {
1721
- root: {
1722
- backgroundColor: o.palette.background.default,
1723
- width: "100%",
1724
- marginTop: "0px",
1725
- marginBottom: o.spacing(1.5),
1726
- "&.Mui-expanded": {
1727
- marginTop: "0px",
1728
- marginBottom: o.spacing(1.5)
1729
- },
1730
- border: "0px solid transparent",
1731
- "&.Mui-disabled": {
1732
- backgroundColor: "transparent"
1733
- },
1734
- "&::before": {
1735
- content: "none"
1736
- }
1737
- }
1738
- }
1739
- },
1740
- MuiAccordionDetails: {
1741
- styleOverrides: {
1742
- root: {
1743
- padding: `0px ${o.spacing(0)}`
1744
- }
1745
- }
1746
- },
1747
- MuiAccordionSummary: {
1748
- styleOverrides: {
1749
- root: {
1750
- borderRadius: o.spacing(0.5),
1751
- height: o.spacing(4.5),
1752
- minHeight: o.spacing(4.5),
1753
- backgroundColor: o.palette.background.header,
1754
- paddingLeft: o.spacing(2),
1755
- paddingRight: o.spacing(2),
1756
- marginBottom: "0px",
1757
- "&.Mui-expanded": {
1758
- height: o.spacing(4.5),
1759
- minHeight: o.spacing(4.5),
1760
- borderRadius: `${o.spacing(0.5)} ${o.spacing(0.5)} 0px 0px`
1761
- },
1762
- "&.Mui-disabled": {
1763
- opacity: 1,
1764
- color: o.palette.action.disabled,
1765
- "& .MuiTypography-root": {
1766
- color: "inherit"
1767
- }
1768
- }
1769
- },
1770
- expandIconWrapper: {
1771
- color: o.palette.action.active,
1772
- height: 20,
1773
- width: 20,
1774
- alignItems: "center",
1775
- justifyContent: "center",
1776
- "& > svg": {
1777
- height: 12,
1778
- width: 12
1779
- }
1780
- },
1781
- content: {
1782
- ...o.typography.subtitle2,
1783
- margin: "0px",
1784
- "&.Mui-expanded": {
1785
- margin: "0px"
1786
- }
1787
- }
1788
- }
1789
- }
1790
- };
1791
- }
1792
- function To(o) {
1793
- return {
1794
- MuiTypography: {
1795
- defaultProps: {
1796
- variantMapping: {
1797
- subtitleDens: "span"
1798
- }
1799
- },
1800
- styleOverrides: {
1801
- paragraph: {
1802
- marginBottom: o.spacing(2)
1803
- },
1804
- gutterBottom: {
1805
- marginBottom: o.spacing(1)
1806
- }
1807
- }
1808
- }
1809
- };
1810
- }
1811
- function $o(o) {
1812
- return {
1813
- MuiPaginationItem: {
1814
- styleOverrides: {
1815
- root: {
1816
- "&.Mui-selected": {
1817
- fontWeight: o.typography.fontWeightBold
1818
- }
1819
- },
1820
- textPrimary: {
1821
- "&.Mui-selected": {
1822
- color: o.palette.primary.main,
1823
- backgroundColor: e(o.palette.primary.main, 0.08),
1824
- "&:hover, &.Mui-focusVisible": {
1825
- backgroundColor: `${e(
1826
- o.palette.primary.main,
1827
- 0.24
1828
- )} !important`
1829
- }
1830
- }
1831
- },
1832
- outlined: {
1833
- border: `1px solid ${o.palette.grey[50032]}`
1834
- },
1835
- outlinedPrimary: {
1836
- "&.Mui-selected": {
1837
- backgroundColor: e(o.palette.primary.main, 0.08),
1838
- border: `1px solid ${e(o.palette.primary.main, 0.24)}`
1839
- }
1840
- }
1841
- }
1842
- }
1843
- };
1844
- }
1845
- function Do(o) {
1846
- return {
1847
- MuiBreadcrumbs: {
1848
- styleOverrides: {
1849
- separator: {
1850
- marginLeft: o.spacing(2),
1851
- marginRight: o.spacing(2)
1852
- }
1853
- }
1854
- }
1855
- };
1856
- }
1857
- function mo(o) {
1858
- const r = (a) => ({
1859
- props: { variant: "contained", color: a },
1860
- style: { boxShadow: o.customShadows?.primary }
1861
- });
1862
- return {
1863
- MuiButtonGroup: {
1864
- variants: [
1865
- {
1866
- props: { variant: "contained", color: "inherit" },
1867
- style: { boxShadow: o.customShadows?.z4 }
1868
- },
1869
- r("primary"),
1870
- r("secondary"),
1871
- r("info"),
1872
- r("success"),
1873
- r("warning"),
1874
- r("error"),
1875
- {
1876
- props: { disabled: !0 },
1877
- style: {
1878
- boxShadow: "none",
1879
- "& .MuiButtonGroup-grouped.Mui-disabled": {
1880
- color: o.palette.action.disabled,
1881
- borderColor: `${o.palette.action.disabledBackground} !important`,
1882
- "&.MuiButton-contained": {
1883
- backgroundColor: o.palette.action.disabledBackground
1884
- }
1885
- }
1886
- }
1887
- }
1888
- ],
1889
- styleOverrides: {
1890
- root: {
1891
- "&:hover": {
1892
- boxShadow: "none"
1893
- }
1894
- }
1895
- }
1896
- }
1897
- };
1898
- }
1899
- function zo(o) {
1900
- return {
1901
- MuiCssBaseline: {
1902
- styleOverrides: {
1903
- "*": {
1904
- margin: 0,
1905
- padding: 0,
1906
- boxSizing: "border-box"
1907
- },
1908
- html: {
1909
- width: "100%",
1910
- height: "100%",
1911
- WebkitOverflowScrolling: "touch"
1912
- },
1913
- body: {
1914
- width: "100%",
1915
- height: "100%"
1916
- },
1917
- "#root": {
1918
- width: "100%",
1919
- height: "100%"
1920
- },
1921
- input: {
1922
- "&[type=number]": {
1923
- MozAppearance: "textfield",
1924
- "&::-webkit-outer-spin-button": {
1925
- margin: 0,
1926
- WebkitAppearance: "none"
1927
- },
1928
- "&::-webkit-inner-spin-button": {
1929
- margin: 0,
1930
- WebkitAppearance: "none"
1931
- }
1932
- }
1933
- },
1934
- img: {
1935
- display: "block",
1936
- maxWidth: "100%"
1937
- }
1938
- }
1939
- }
1940
- };
1941
- }
1942
- function Ho(o) {
1943
- return {
1944
- MuiAutocomplete: {
1945
- styleOverrides: {
1946
- root: {
1947
- "& .MuiInputBase-root": {
1948
- padding: "0 39px 0px 0"
1949
- }
1950
- },
1951
- paper: {
1952
- boxShadow: o.customShadows?.dropdown
1953
- },
1954
- listbox: {
1955
- padding: o.spacing(0, 1),
1956
- "& .MuiAutocomplete-option": {
1957
- padding: o.spacing(1),
1958
- margin: o.spacing(1, 0),
1959
- borderRadius: o.shape.borderRadius
1960
- }
1961
- }
1962
- }
1963
- }
1964
- };
1965
- }
1966
- const u = (o, r) => ({
1967
- props: { color: r },
1968
- style: {
1969
- "&:hover": {
1970
- borderColor: e(o.palette[r].main, 0.48),
1971
- backgroundColor: e(o.palette[r].main, o.palette.action.hoverOpacity)
1972
- },
1973
- "&.Mui-selected": {
1974
- borderColor: e(o.palette[r].main, 0.48)
1975
- }
1976
- }
1977
- });
1978
- function Go(o) {
1979
- return {
1980
- MuiToggleButton: {
1981
- variants: [
1982
- {
1983
- props: { color: "standard" },
1984
- style: {
1985
- "&.Mui-selected": {
1986
- backgroundColor: o.palette.action.selected
1987
- }
1988
- }
1989
- },
1990
- u(o, "primary"),
1991
- u(o, "secondary"),
1992
- u(o, "info"),
1993
- u(o, "success"),
1994
- u(o, "warning"),
1995
- u(o, "error")
1996
- ]
1997
- },
1998
- MuiToggleButtonGroup: {
1999
- styleOverrides: {
2000
- root: {
2001
- borderRadius: o.shape.borderRadius,
2002
- backgroundColor: o.palette.background.paper,
2003
- border: `solid 1px ${o.palette.grey[50012]}`,
2004
- "& .MuiToggleButton-root": {
2005
- margin: 4,
2006
- borderColor: "transparent !important",
2007
- borderRadius: `${o.shape.borderRadius}px !important`
2008
- }
2009
- }
2010
- }
2011
- }
2012
- };
2013
- }
2014
- function Eo(o) {
2015
- return {
2016
- MuiFormControlLabel: {
2017
- styleOverrides: {
2018
- label: {
2019
- ...o.typography.body1
2020
- }
2021
- }
2022
- },
2023
- MuiFormHelperText: {
2024
- styleOverrides: {
2025
- root: {
2026
- marginTop: o.spacing(1)
2027
- }
2028
- }
2029
- },
2030
- MuiFormLabel: {
2031
- styleOverrides: {
2032
- root: {
2033
- color: o.palette.text.disabled
2034
- }
2035
- }
2036
- }
2037
- };
2038
- }
2039
- function Wo(o) {
2040
- return {
2041
- MuiLoadingButton: {
2042
- styleOverrides: {
2043
- root: {
2044
- "&.MuiLoadingButton-root": {
2045
- ...o.typography.subtitle2,
2046
- "& .MuiCircularProgress-root": {
2047
- color: o.palette.primary.main
2048
- }
2049
- },
2050
- "&.MuiButton-text": {
2051
- "& .MuiLoadingButton-startIconPendingStart": {
2052
- marginLeft: 0
2053
- },
2054
- "& .MuiLoadingButton-endIconPendingEnd": {
2055
- marginRight: 0
2056
- }
2057
- }
2058
- }
2059
- }
2060
- }
2061
- };
2062
- }
2063
- const Po = (o) => ({
2064
- M4LBruceTest: {
2065
- styleOverrides: {}
2066
- }
2067
- }), qo = (o) => ({
2068
- M4LDynamicFilter: {
2069
- styleOverrides: {
2070
- "&.M4LDynamicFilter-root": {
2071
- borderRadius: "4px",
2072
- background: o.palette.background.default,
2073
- boxShadow: o.customShadows.z2,
2074
- padding: "0px",
2075
- border: "none",
2076
- borderTop: "1px solid",
2077
- borderColor: o.palette.state.default,
2078
- overflow: "hidden",
2079
- "& .M4LDynamicFilter-containerFistRow": {
2080
- height: "32px",
2081
- width: "100%",
2082
- "& .M4LDynamicFilter-containerInputFilter": {
2083
- width: "100%",
2084
- alignItems: "center",
2085
- maxWidth: "100%"
2086
- }
2087
- },
2088
- "&.M4LDynamicFilter-isInvalid": {
2089
- borderColor: o.palette.state.error.normal
2090
- },
2091
- "& .M4LDynamicFilter-containerClearFilter": {
2092
- display: "flex",
2093
- flexDirection: "row",
2094
- gap: "4px",
2095
- backgroundColor: o.palette.background.neutral,
2096
- padding: "4px"
2097
- },
2098
- "& .M4LDynamicFilter-containerInputFilter": {
2099
- display: "flex",
2100
- flexDirection: "row",
2101
- gap: "8px",
2102
- padding: "4px",
2103
- backgroundColor: o.palette.background.neutral,
2104
- height: "100%",
2105
- maxWidth: "135px",
2106
- width: "100%",
2107
- alignItems: "center",
2108
- "& > input": {
2109
- border: "none",
2110
- background: "none",
2111
- ...o.typography.body,
2112
- color: o.palette.text.primary,
2113
- padding: "0px 4px",
2114
- width: "100%",
2115
- BorderRadius: "4px"
2116
- },
2117
- "& input:focus-visible": {
2118
- border: "none",
2119
- background: o.palette.state.active12,
2120
- BorderRadius: "4px",
2121
- outline: "none",
2122
- padding: "0px 4px"
2123
- }
2124
- },
2125
- "& .M4LDynamicFilter-wrapperApplyedFilters": {
2126
- borderLeft: "none",
2127
- height: "29px"
2128
- },
2129
- "& .M4LDynamicFilter-containerApplyedFilters": {
2130
- padding: "2px"
2131
- },
2132
- "& .M4LDynamicFilter-applyedFilter": {
2133
- borderRadius: "4px",
2134
- background: o.palette.state.default,
2135
- boxShadow: o.customShadows.z2,
2136
- color: o.palette.text.secondary,
2137
- ...o.typography.body,
2138
- border: "none",
2139
- borderTop: "1px solid",
2140
- borderColor: o.palette.state.default,
2141
- "& .css-5ca9fi": {
2142
- ...o.typography.body
2143
- },
2144
- "& .css-1wytxsy": {
2145
- ...o.typography.body
2146
- }
2147
- },
2148
- "& .M4LDynamicFilter-popoverFilterPaper": {
2149
- background: o.palette.background.default,
2150
- borderRadius: "6px",
2151
- minWidth: "200px",
2152
- boxShadow: o.customShadows.z3,
2153
- borderTop: "1px solid",
2154
- borderColor: o.palette.state.default,
2155
- padding: "0px!important",
2156
- "& .M4LPopover-arrowStyle": {
2157
- background: "none"
2158
- },
2159
- "& .m4l_FormProvider": {
2160
- gap: "0px",
2161
- "& .M4LDynamicFilter-popoverFilterHeader": {
2162
- background: o.palette.state.default,
2163
- display: "flex",
2164
- gap: "4px",
2165
- padding: "8px",
2166
- borderRadius: "4px",
2167
- boxShadow: o.customShadows.z2,
2168
- borderBottom: "0px",
2169
- borderTop: "2px solid",
2170
- borderColor: o.palette.state.default,
2171
- "& .MuiTypography-root": {
2172
- ...o.typography.bodyDens,
2173
- color: o.palette.text.primary
2174
- }
2175
- },
2176
- "& .M4LDynamicFilter-popoverContainerFields": {
2177
- padding: "0px 12px"
2178
- },
2179
- "& #WrapperStandarActions": {
2180
- display: "flex",
2181
- flexDirection: "row",
2182
- gap: "12px",
2183
- padding: "16px 8px 12px 0px",
2184
- ".M4LButton-root": {
2185
- width: "fit-content"
2186
- }
2187
- }
2188
- }
2189
- },
2190
- "& .M4LDynamicFilter-popoverMenuFields": {
2191
- borderTop: "1px solid",
2192
- borderColor: o.palette.state.default,
2193
- "& .M4LDynamicFilter-classespopoverLabelMemuItem": {
2194
- ...o.typography.body,
2195
- color: o.palette.text.secondary
2196
- },
2197
- "& .M4LDynamicFilter-popoverMenuFieldsItem:hover": {
2198
- ...o.typography.body,
2199
- color: o.palette.state.hover,
2200
- background: o.palette.state.default
2201
- }
2202
- }
2203
- }
2204
- }
2205
- }
2206
- }), _o = (o) => ({
2207
- M4LRHFTextFieldPassword: {
2208
- styleOverrides: {
2209
- "&.M4LRHFTextFieldPassword-root": {
2210
- width: "100%"
2211
- }
2212
- }
2213
- }
2214
- }), No = (o) => ({
2215
- M4LRHFTextField: {
2216
- styleOverrides: {
2217
- "&.M4LRHFTextField-root": {
2218
- display: "flex",
2219
- flexDirection: "column",
2220
- width: "100%",
2221
- gap: "4px",
2222
- "& .M4LRHFTextField-label": {
2223
- color: o.palette.text.secondary,
2224
- transition: "all .5s ease"
2225
- },
2226
- "& .MuiInputBase-root": {
2227
- padding: "0px",
2228
- "& .MuiInputBase-input": {
2229
- color: o.palette.text.secondary,
2230
- padding: "0px",
2231
- backgroundColor: "transparent",
2232
- ...o.typography.body
2233
- },
2234
- "& .MuiInputAdornment-root": {
2235
- margin: "0px",
2236
- padding: "0px"
2237
- },
2238
- "& .M4LIcon-icon": {
2239
- backgroundColor: o.palette.text.secondary,
2240
- transition: "all .3s ease"
2241
- },
2242
- "& .MuiOutlinedInput-notchedOutline": {
2243
- border: "1px solid",
2244
- padding: "4px",
2245
- borderColor: o.palette.divider,
2246
- borderRadius: "4px",
2247
- inset: "0px",
2248
- transition: "all .3s ease",
2249
- "& legend": {
2250
- display: "none"
2251
- }
2252
- }
2253
- },
2254
- "&:hover": {
2255
- "& .M4LRHFTextField-label": {
2256
- color: o.palette.state?.hover
2257
- },
2258
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
2259
- borderColor: o.palette.state?.hover,
2260
- boxShadow: `0px 1px 8px ${n(o.palette.primary.main, 0.32)}`
2261
- },
2262
- "& .MuiInputBase-input": {
2263
- color: o.palette.text.primary
2264
- },
2265
- "& .M4LIcon-icon": {
2266
- backgroundColor: o.palette.state?.hover
2267
- }
2268
- },
2269
- "&.M4LRHFTextField-isFocus": {
2270
- "& .M4LRHFTextField-label": {
2271
- color: o.palette.state?.active
2272
- },
2273
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
2274
- transition: "all .1s ease",
2275
- border: "2px solid",
2276
- borderColor: o.palette.state?.active,
2277
- boxShadow: `0px 1px 8px ${n(o.palette.primary.main, 0.32)}`
2278
- },
2279
- "& .MuiInputBase-input": {
2280
- color: o.palette.text.primary
2281
- },
2282
- "& .M4LIcon-icon": {
2283
- backgroundColor: o.palette.state?.active
2284
- }
2285
- },
2286
- "&.M4LRHFTextField-variantError": {
2287
- "& .M4LRHFTextField-label": {
2288
- color: o.palette.state?.error.normal
2289
- },
2290
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
2291
- border: "1px solid",
2292
- borderColor: o.palette.state?.error.normal
2293
- },
2294
- "& .MuiInputBase-input": {
2295
- color: o.palette.text.primary
2296
- },
2297
- "& .M4LIcon-icon": {
2298
- backgroundColor: o.palette.state?.error.normal
2299
- },
2300
- "&:hover": {
2301
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
2302
- boxShadow: o.customShadows?.error
2303
- }
2304
- },
2305
- "&.M4LRHFTextField-isFocus": {
2306
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
2307
- boxShadow: o.customShadows?.error
2308
- }
2309
- }
2310
- },
2311
- "&.M4LRHFTextField-isDisabled": {
2312
- "& .M4LRHFTextField-label": {
2313
- color: o.palette.text.disabled
2314
- },
2315
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
2316
- border: "1px solid",
2317
- borderColor: o.palette.text.disabled,
2318
- backgroundColor: o.palette.state?.default,
2319
- boxShadow: "none"
2320
- },
2321
- "& .MuiInputBase-input": {
2322
- color: o.palette.text.disabled
2323
- },
2324
- "& .M4LIcon-icon": {
2325
- backgroundColor: o.palette.text.disabled
2326
- }
2327
- },
2328
- "&.M4LRHFTextField-sizeSmall": {
2329
- "& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFTextField-skeleton": {
2330
- height: "24px",
2331
- padding: "0px 8px"
2332
- }
2333
- },
2334
- "&.M4LRHFTextField-sizeMedium": {
2335
- "& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFTextField-skeleton": {
2336
- height: "28px",
2337
- padding: "0px 8px"
2338
- }
2339
- }
2340
- }
2341
- }
2342
- }
2343
- }), jo = (o) => ({
2344
- M4LIcon: {
2345
- styleOverrides: {
2346
- ["&.M4LIcon-root"]: {
2347
- display: "flex",
2348
- justifyContent: "center",
2349
- alignItems: "center",
2350
- width: "fit-content",
2351
- transition: "transform 0.5s ease-in-out",
2352
- ".M4LIcon-icon": {
2353
- backgroundColor: o.palette.text.primary
2354
- },
2355
- ".M4LIcon-sizeExtraSmall": {
2356
- width: "12px",
2357
- height: "12px",
2358
- minWidth: "12px",
2359
- minHeight: "12px"
2360
- },
2361
- ".M4LIcon-sizeSmall": {
2362
- width: "16px",
2363
- height: "16px",
2364
- minWidth: "16px",
2365
- minHeight: "16px"
2366
- },
2367
- ".M4LIcon-sizeMedium": {
2368
- width: "20px",
2369
- height: "20px",
2370
- minWidth: "20px",
2371
- minHeight: "20px"
2372
- },
2373
- ".M4LIcon-sizeLarge": {
2374
- width: "28px",
2375
- height: "28px",
2376
- minWidth: "28px",
2377
- minHeight: "28px"
2378
- },
2379
- ".M4LIcon-sizeExtraLarge": {
2380
- width: "36px",
2381
- height: "36px",
2382
- minWidth: "36px",
2383
- minHeight: "36px"
2384
- },
2385
- ".M4LIcon-variantSkeleton": {
2386
- borderRadius: "4px",
2387
- backgroundColor: o.palette.state?.skeleton.default
2388
- }
2389
- }
2390
- }
2391
- }
2392
- }), Vo = (o) => ({
2393
- M4LIconButton: {
2394
- styleOverrides: {
2395
- ["&.M4LIconButton-root"]: {
2396
- position: "relative",
2397
- borderRadius: "4px",
2398
- display: "flex",
2399
- justifyContent: "center",
2400
- alignItems: "center",
2401
- transition: "all .5s ease",
2402
- "& .M4LIcon-root .M4LIcon-icon": {
2403
- transition: "all .5s ease",
2404
- backgroundColor: o.palette.text.secondary
2405
- },
2406
- "&::before": {
2407
- boxSizing: "content-box",
2408
- border: "1px solid",
2409
- borderColor: o.palette.state?.focus,
2410
- borderRadius: "3px",
2411
- position: "absolute",
2412
- transition: "all .5s ease"
2413
- },
2414
- ".M4LIconButton-sizeExtraSmall&::before": {
2415
- width: "22px",
2416
- height: "22px"
2417
- },
2418
- ".M4LIconButton-sizeSmall&::before": {
2419
- width: "26px",
2420
- height: "26px"
2421
- },
2422
- ".M4LIconButton-sizeMedium&::before": {
2423
- width: "30px",
2424
- height: "30px"
2425
- },
2426
- "&.M4LIconButton-sizeExtraSmall": {
2427
- width: "20px",
2428
- height: "20px"
2429
- },
2430
- "&.M4LIconButton-sizeSmall": {
2431
- width: "24px",
2432
- height: "24px"
2433
- },
2434
- "&.M4LIconButton-sizeMedium": {
2435
- width: "28px",
2436
- height: "28px"
2437
- },
2438
- "& .MuiIconButton-root": {
2439
- position: "static",
2440
- borderRadius: "4px",
2441
- padding: "0"
2442
- },
2443
- "&.M4LIconButton-variantPrimary:not(&.M4LIconButton-isDisabled)": {
2444
- backgroundColor: o.palette.state?.default,
2445
- "&:hover": {
2446
- backgroundColor: o.palette.state?.hover,
2447
- "& .M4LIcon-icon": {
2448
- backgroundColor: "#fff"
2449
- }
2450
- },
2451
- "&:active": {
2452
- backgroundColor: o.palette.state?.active,
2453
- transition: "background-color .5s ease",
2454
- "& .M4LIcon-icon": {
2455
- backgroundColor: "#fff"
2456
- }
2457
- },
2458
- "&.M4LIconButton-isFocus": {
2459
- backgroundColor: o.palette.state?.active,
2460
- "& .M4LIcon-icon": {
2461
- backgroundColor: o.palette.patronus?.marbleLight[10]
2462
- },
2463
- "&::before": {
2464
- content: "''"
2465
- }
2466
- }
2467
- },
2468
- "&.M4LIconButton-variantSecondary:not(&.M4LIconButton-isDisabled)": {
2469
- borderColor: o.palette.text.secondary,
2470
- "& .M4LIcon-icon": {
2471
- backgroundColor: o.palette.text.secondary
2472
- },
2473
- "&:hover": {
2474
- border: "1px solid",
2475
- borderColor: o.palette.state?.focus,
2476
- "& .M4LIcon-icon": {
2477
- backgroundColor: o.palette.state?.focus
2478
- }
2479
- },
2480
- "&:active": {
2481
- border: "1px solid",
2482
- borderColor: o.palette.state?.active,
2483
- "& .M4LIcon-icon": {
2484
- backgroundColor: o.palette.state?.active
2485
- }
2486
- },
2487
- "&.M4LIconButton-isFocus": {
2488
- border: "1px solid",
2489
- borderColor: o.palette.state?.active,
2490
- "& .M4LIcon-icon": {
2491
- backgroundColor: o.palette.state?.active
2492
- },
2493
- "&::before": {
2494
- content: "''"
2495
- }
2496
- }
2497
- },
2498
- "&.M4LIconButton-variantLine:not(&.M4LIconButton-isDisabled)": {
2499
- "&:hover": {
2500
- backgroundColor: o.palette.state?.active12,
2501
- "& .M4LIcon-icon": {
2502
- backgroundColor: o.palette.state?.focus
2503
- }
2504
- },
2505
- "&:active": {
2506
- backgroundColor: "transparent",
2507
- "& .M4LIcon-icon": {
2508
- backgroundColor: o.palette.state?.active
2509
- }
2510
- },
2511
- "&.M4LIconButton-isFocus": {
2512
- backgroundColor: "transparent",
2513
- border: "1px solid",
2514
- borderColor: o.palette.state?.focus,
2515
- "& .M4LIcon-icon": {
2516
- backgroundColor: o.palette.state?.active
2517
- }
2518
- }
2519
- },
2520
- "&.M4LIconButton-isDisabled": {
2521
- "& .M4LIcon-icon": {
2522
- backgroundColor: o.palette.text.disabled
2523
- }
2524
- },
2525
- "&.M4LIconButton-root .MuiSkeleton-root": {
2526
- borderRadius: "4px"
2527
- }
2528
- }
2529
- }
2530
- }
2531
- }), Yo = (o) => ({
2532
- M4LanguagePopover: {
2533
- styleOverrides: {
2534
- ["&.M4LanguagePopover-root"]: {}
2535
- }
2536
- }
2537
- }), Uo = (o) => ({
2538
- M4LImageButton: {
2539
- styleOverrides: {
2540
- ["&.M4LImageButton-root"]: {
2541
- test: "root",
2542
- ".MuiButtonBase-root": {
2543
- display: "flex",
2544
- padding: "4px",
2545
- borderRadius: "6px",
2546
- alignItems: "center",
2547
- justifyContent: "center"
2548
- },
2549
- ".M4LImage-root": {
2550
- display: "flex",
2551
- alignItems: "center",
2552
- justifyContent: "center",
2553
- objectFit: "cover",
2554
- width: "100%",
2555
- height: "100%"
2556
- },
2557
- ".M4LImage-lazyLoad": {
2558
- borderRadius: "4px",
2559
- width: "100%",
2560
- height: "100%",
2561
- display: "flex",
2562
- alignItems: "center",
2563
- justifyContent: "center"
2564
- },
2565
- ".M4LImage-img": {
2566
- borderRadius: "4px"
2567
- },
2568
- ".MuiButtonBase-root:hover": {
2569
- backgroundColor: o.palette.state?.active12
2570
- },
2571
- ".MuiButtonBase-root:focus": {
2572
- backgroundColor: o.palette.state?.active12,
2573
- border: "1px solid",
2574
- borderColor: o.palette.state?.focus
2575
- }
2576
- }
2577
- }
2578
- }
2579
- }), Ko = (o) => ({
2580
- M4LImage: {
2581
- styleOverrides: {
2582
- ["&.M4LImage-root"]: {
2583
- position: "relative",
2584
- display: "flex",
2585
- flexDirection: "column",
2586
- justifyContent: "center",
2587
- alignItems: "center",
2588
- "& .M4LImage-img": {
2589
- opacity: 0,
2590
- position: "absolute",
2591
- inset: "0",
2592
- objectFit: "contain"
2593
- },
2594
- "&.M4LImage-loaded .M4LImage-img": {
2595
- opacity: 1,
2596
- transition: "opacity .5s",
2597
- margin: "0 auto"
2598
- },
2599
- "& .M4LImage-skeletonImage, & .M4LImage-skeletonCircle": {
2600
- opacity: 1,
2601
- position: "absolute",
2602
- inset: 0
2603
- },
2604
- "&.M4LImage-loaded .M4LImage-skeletonImage, &.M4LImage-loaded .M4LImage-skeletonCircle": {
2605
- opacity: 0,
2606
- transition: "opacity .3s"
2607
- },
2608
- "& .M4LImage-lazyLoad": {
2609
- display: "flex",
2610
- justifyContent: "center",
2611
- alignItems: "center"
2612
- }
2613
- }
2614
- }
2615
- }
2616
- }), Jo = (o) => ({
2617
- M4LPopover: {
2618
- styleOverrides: {
2619
- "&.M4LDynamicFilter-popoverMenuFields": {
2620
- "& .M4LDynamicFilter-popoverMenuFieldsPaper": {
2621
- borderRadius: "6px",
2622
- background: o.palette.background.default,
2623
- padding: "4px",
2624
- boxShadow: o.customShadows.z3,
2625
- display: "flex",
2626
- flexDirection: "column",
2627
- gap: "4px"
2628
- },
2629
- "& .M4LDynamicFilter-popoverMenuFieldsItem": {
2630
- borderRadius: "4px",
2631
- padding: "2px 8px",
2632
- display: "flex",
2633
- flexDirection: "row",
2634
- gap: "4px"
2635
- }
2636
- },
2637
- ["&.M4LPopover-root"]: {
2638
- ".MuiPaper-root": {
2639
- background: o.palette.background.default,
2640
- borderRadius: "6px",
2641
- padding: "8px",
2642
- boxShadow: o.customShadows.z3
2643
- },
2644
- "& .M4LanguagePopover-containerItems": {
2645
- "& .M4LanguagePopover-labelItem": {
2646
- ...o.typography.body,
2647
- color: o.palette.text.secondary
2648
- },
2649
- "& .MuiButtonBase-root:hover": {
2650
- backgroundColor: o.palette.state?.active12
2651
- },
2652
- "& .MuiButtonBase-root.Mui-selected": {
2653
- backgroundColor: o.palette.state?.active12,
2654
- "& .M4LanguagePopover-labelItem": {
2655
- color: o.palette.state?.active
2656
- }
2657
- }
2658
- }
2659
- }
2660
- }
2661
- }
2662
- }), Qo = (o) => ({
2663
- M4LRHFCheckbox: {
2664
- styleOverrides: {
2665
- "&.M4LRHFCheckbox-root": {
2666
- display: "flex",
2667
- flexDirection: "column",
2668
- gap: o.spacing(0.5),
2669
- ".M4LRHFCheckbox-checkTypography": {
2670
- display: "flex",
2671
- gap: o.spacing(2),
2672
- [o.breakpoints.down("sm")]: {
2673
- gap: o.spacing(1),
2674
- ...o.typography.paragraph
2675
- }
2676
- },
2677
- "& .MuiTypography-root": {
2678
- color: o.palette.text.primary,
2679
- ...o.typography.body
2680
- },
2681
- ".M4LRHFCheckbox-small .MuiButtonBase-root": {
2682
- width: "20px",
2683
- height: "20px"
2684
- },
2685
- ".MuiCheckbox-root .MuiSvgIcon-fontSizeSmall": {
2686
- width: "16px",
2687
- height: "16px"
2688
- },
2689
- ".M4LRHFCheckbox-medium .MuiButtonBase-root": {
2690
- width: "24px",
2691
- height: "24px"
2692
- },
2693
- ".MuiCheckbox-root .MuiSvgIcon-fontSizeMedium": {
2694
- width: "20px",
2695
- height: "20px"
2696
- },
2697
- ".MuiButtonBase-root": {
2698
- borderRadius: "4px"
2699
- },
2700
- ".MuiButtonBase-root:hover": {
2701
- backgroundColor: o.palette.state?.active12
2702
- },
2703
- ".Mui-focusVisible": {
2704
- border: "1px solid",
2705
- borderColor: o.palette.state?.focus
2706
- },
2707
- ".MuiButtonBase-root:hover .MuiSvgIcon-root": {
2708
- fill: o.palette.state?.hover
2709
- },
2710
- ".M4LRHFCheckbox-checkTypography .MuiTypography-root": {
2711
- ...o.typography.body
2712
- },
2713
- ".M4LRHFCheckbox-stateDisabled .MuiSvgIcon-root": {
2714
- fill: o.palette.state?.default
2715
- },
2716
- ".M4LRHFCheckbox-stateDisabled .MuiTypography-root": {
2717
- color: o.palette.text.disabled
2718
- },
2719
- ".MuiButtonBase-root .Mui-focusVisible:focus-visible": {
2720
- outline: "#fff00"
2721
- }
2722
- }
2723
- }
2724
- }
2725
- }), Xo = (o) => ({
2726
- M4LErrorLabel: {
2727
- styleOverrides: {
2728
- ["&.M4LHelperText-root"]: {
2729
- "&.M4LHelperText-variantInfo .MuiTypography-root": {
2730
- color: o.palette.info.main
2731
- },
2732
- "&.M4LHelperText-variantSuccess .MuiTypography-root": {
2733
- color: o.palette.success.main
2734
- },
2735
- "&.M4LHelperText-variantWarning .MuiTypography-root": {
2736
- color: o.palette.warning.main
2737
- },
2738
- "&.M4LHelperText-variantError .MuiTypography-root": {
2739
- color: o.palette.error.main
2740
- }
2741
- }
2742
- }
2743
- }
2744
- }), Zo = (o) => ({
2745
- M4LTypography: {
2746
- styleOverrides: {
2747
- ["&.M4LTypography-root"]: {
2748
- color: o.palette.text.primary,
2749
- display: "inline",
2750
- "& .MuiTypography-root": {
2751
- margin: "unset"
2752
- }
2753
- }
2754
- }
2755
- }
2756
- }), ot = (o) => ({
2757
- M4LButton: {
2758
- styleOverrides: {
2759
- "&.M4LButton-root": {
2760
- width: "100%",
2761
- display: "flex",
2762
- justifyContent: "center",
2763
- "& .M4LButton-skeleton ": {
2764
- height: "100%!important",
2765
- borderRadius: "4px"
2766
- },
2767
- "& .MuiButtonBase-root": {
2768
- display: "flex",
2769
- textTransform: "none",
2770
- gap: "8px",
2771
- transition: "all .5s ease",
2772
- borderRadius: "4px",
2773
- border: "1px solid transparent",
2774
- ...o.typography.action,
2775
- "& .M4LIcon-icon": {
2776
- transition: "all .5s ease"
2777
- },
2778
- "& .MuiButton-startIcon, & .MuiButton-endIcon": {
2779
- margin: "0px"
2780
- },
2781
- "&::before": {
2782
- inset: "0",
2783
- border: "1px solid",
2784
- borderColor: o.palette.state?.focus,
2785
- borderRadius: "4px",
2786
- transform: "scale(1.07, 1.36)",
2787
- position: "absolute",
2788
- boxSizing: "border-box"
2789
- }
2790
- },
2791
- "&.M4LButton-isDisabled": {
2792
- "& .MuiButtonBase-root": {
2793
- color: `${o.palette.text.disabled}!important`,
2794
- "& .M4LIcon-icon": {
2795
- backgroundColor: `${o.palette.text.disabled}!important`
2796
- }
2797
- },
2798
- "&.M4LButton-variantContained": {
2799
- "& .MuiButtonBase-root": {
2800
- color: o.palette.text.disabled,
2801
- "& .M4LIcon-icon": {
2802
- backgroundColor: o.palette.text.disabled
2803
- },
2804
- "&:hover": {
2805
- backgroundColor: o.palette.state?.default,
2806
- color: o.palette.text.disabled,
2807
- "& .M4LIcon-icon": {
2808
- backgroundColor: o.palette.text.disabled,
2809
- color: o.palette.text.disabled
2810
- }
2811
- },
2812
- "&:active": {
2813
- backgroundColor: o.palette.state?.active,
2814
- color: o.palette.text.primary,
2815
- "& .M4LIcon-icon": {
2816
- backgroundColor: o.palette.text.disabled,
2817
- color: o.palette.text.disabled
2818
- }
2819
- },
2820
- "&.Mui-focusVisible": {
2821
- backgroundColor: o.palette.state?.default,
2822
- color: o.palette.text.disabled,
2823
- "& .M4LIcon-icon": {
2824
- backgroundColor: o.palette.text.disabled,
2825
- color: o.palette.text.disabled
2826
- },
2827
- "&::before": {
2828
- content: "none"
2829
- }
2830
- }
2831
- }
2832
- }
2833
- },
2834
- "&.M4LButton-sizeSmall": {
2835
- height: "28px",
2836
- "& .MuiButtonBase-root": {
2837
- padding: "4px 12px"
2838
- },
2839
- "&.M4LButton-skeleton": {
2840
- height: "28px"
2841
- }
2842
- },
2843
- "&.M4LButton-sizeMedium": {
2844
- height: "38px",
2845
- "& .MuiButtonBase-root": {
2846
- padding: "8px 16px"
2847
- },
2848
- "&.M4LButton-skeleton": {
2849
- height: "38px"
2850
- }
2851
- },
2852
- "&.M4LButton-variantContained": {
2853
- "& .MuiButtonBase-root": {
2854
- backgroundColor: o.palette.state?.default,
2855
- color: o.palette.text.primary,
2856
- boxShadow: o.customShadows?.z2,
2857
- position: "relative",
2858
- "& .M4LIcon-icon": {
2859
- backgroundColor: o.palette.text.primary
2860
- },
2861
- "&:hover": {
2862
- backgroundColor: o.palette.state?.hover,
2863
- color: o.palette.patronus?.marbleLight[10],
2864
- "& .M4LIcon-icon": {
2865
- backgroundColor: o.palette.patronus?.marbleLight[10]
2866
- }
2867
- },
2868
- "&:active": {
2869
- backgroundColor: o.palette.state?.active,
2870
- color: o.palette.patronus?.marbleLight[10],
2871
- "& .M4LIcon-icon": {
2872
- backgroundColor: o.palette.patronus?.marbleLight[10]
2873
- }
2874
- },
2875
- "&.Mui-focusVisible": {
2876
- backgroundColor: o.palette.state?.active,
2877
- color: o.palette.patronus?.marbleLight[10],
2878
- "& .M4LIcon-icon": {
2879
- backgroundColor: o.palette.patronus?.marbleLight[10]
2880
- },
2881
- "&::before": {
2882
- content: "''"
2883
- }
2884
- }
2885
- }
2886
- },
2887
- "&.M4LButton-variantOutlined": {
2888
- "& .MuiButtonBase-root": {
2889
- border: "1px solid",
2890
- borderColor: o.palette.state.default,
2891
- color: o.palette.text.primary,
2892
- "& .M4LIcon-icon": {
2893
- backgroundColor: o.palette.text.secondary
2894
- },
2895
- "&:hover": {
2896
- borderColor: o.palette.state?.hover,
2897
- color: o.palette.state?.hover,
2898
- backgroundColor: o.palette.state?.active12,
2899
- "& .M4LIcon-icon": {
2900
- backgroundColor: o.palette.state?.hover
2901
- }
2902
- },
2903
- "&:active": {
2904
- borderColor: o.palette.state?.active,
2905
- color: o.palette.state?.active,
2906
- backgroundColor: "transparent",
2907
- "& .M4LIcon-icon": {
2908
- backgroundColor: o.palette.state?.active
2909
- }
2910
- },
2911
- "&.Mui-focusVisible": {
2912
- borderColor: o.palette.state?.active,
2913
- color: o.palette.state?.active,
2914
- backgroundColor: "transparent",
2915
- "& .M4LIcon-icon": {
2916
- backgroundColor: o.palette.state?.active
2917
- },
2918
- "&::before": {
2919
- content: "''"
2920
- }
2921
- }
2922
- }
2923
- },
2924
- "&.M4LButton-variantText": {
2925
- "& .MuiButtonBase-root": {
2926
- color: o.palette.text.secondary,
2927
- "& .M4LIcon-icon": {
2928
- backgroundColor: o.palette.text.secondary
2929
- },
2930
- "&:hover": {
2931
- backgroundColor: o.palette.state?.active12,
2932
- color: o.palette.state?.hover,
2933
- "& .M4LIcon-icon": {
2934
- backgroundColor: o.palette.state?.hover
2935
- }
2936
- },
2937
- "&:active": {
2938
- backgroundColor: "transparent",
2939
- color: o.palette.state?.active,
2940
- "& .M4LIcon-icon": {
2941
- backgroundColor: o.palette.state?.active
2942
- }
2943
- },
2944
- "&.Mui-focusVisible": {
2945
- backgroundColor: "transparent",
2946
- color: o.palette.state?.active,
2947
- "& .M4LIcon-icon": {
2948
- backgroundColor: o.palette.state?.active
2949
- },
2950
- "&:before": {
2951
- content: "''"
2952
- }
2953
- }
2954
- }
2955
- }
2956
- }
2957
- }
2958
- }
2959
- }), tt = (o) => ({
2960
- M4LRHFAutocomplete: {
2961
- styleOverrides: {
2962
- "&.M4LRHFAutocomplete-root": {
2963
- display: "flex",
2964
- flexDirection: "column",
2965
- width: "100%",
2966
- gap: "4px",
2967
- "& .M4LRHFAutocomplete-label": {
2968
- color: o.palette.text.secondary,
2969
- transition: "all .3s ease"
2970
- },
2971
- "& .MuiAutocomplete-endAdornment": {
2972
- top: "unset"
2973
- },
2974
- "& .MuiInputBase-root": {
2975
- padding: "0px",
2976
- "& .MuiInputBase-input": {
2977
- color: o.palette.text.secondary,
2978
- padding: "4px",
2979
- backgroundColor: "transparent",
2980
- ...o.typography.body
2981
- },
2982
- "& .MuiInputAdornment-root": {
2983
- margin: "0px",
2984
- padding: "0px"
2985
- },
2986
- "& .M4LIcon-icon": {
2987
- backgroundColor: o.palette.text.secondary,
2988
- transition: "all .3s ease"
2989
- },
2990
- "& .MuiOutlinedInput-notchedOutline": {
2991
- border: "1px solid",
2992
- borderColor: o.palette.divider,
2993
- borderRadius: "4px",
2994
- inset: "0px",
2995
- transition: "all .3s ease",
2996
- "& legend": {
2997
- display: "none"
2998
- }
2999
- }
3000
- },
3001
- "&:hover": {
3002
- "& .M4LRHFAutocomplete-label": {
3003
- color: o.palette.state?.hover
3004
- },
3005
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
3006
- borderColor: o.palette.state?.hover,
3007
- boxShadow: `0px 1px 8px ${e(o.palette.primary.main, 0.32)}`
3008
- },
3009
- "& .MuiInputBase-input": {
3010
- color: o.palette.text.primary
3011
- },
3012
- "& .M4LIcon-icon": {
3013
- backgroundColor: o.palette.state?.hover
3014
- }
3015
- },
3016
- "&.M4LRHFAutocomplete-isFocus": {
3017
- "& .M4LRHFAutocomplete-label": {
3018
- color: o.palette.state?.active
3019
- },
3020
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
3021
- transition: "all .1s ease",
3022
- border: "2px solid",
3023
- borderColor: o.palette.state?.active,
3024
- boxShadow: `0px 1px 8px ${e(o.palette.primary.main, 0.32)}`
3025
- },
3026
- "& .MuiInputBase-input": {
3027
- color: o.palette.text.primary
3028
- },
3029
- "& .M4LIcon-icon": {
3030
- backgroundColor: o.palette.state?.active
3031
- }
3032
- },
3033
- "&.M4LRHFAutocomplete-variantError": {
3034
- "& .M4LRHFAutocomplete-label": {
3035
- color: o.palette.state?.error.normal
3036
- },
3037
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
3038
- border: "1px solid",
3039
- borderColor: o.palette.state?.error.normal
3040
- },
3041
- "& .MuiInputBase-input": {
3042
- color: o.palette.text.primary
3043
- },
3044
- "& .M4LIcon-icon": {
3045
- backgroundColor: o.palette.state?.error.normal
3046
- },
3047
- "&:hover": {
3048
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
3049
- boxShadow: o.customShadows?.error
3050
- }
3051
- },
3052
- "&.M4LRHFAutocomplete-isFocus": {
3053
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
3054
- boxShadow: o.customShadows?.error
3055
- }
3056
- }
3057
- },
3058
- "&.M4LRHFAutocomplete-isDisabled": {
3059
- "& .M4LRHFAutocomplete-label": {
3060
- color: o.palette.text.disabled
3061
- },
3062
- "& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
3063
- border: "1px solid",
3064
- borderColor: o.palette.text.disabled,
3065
- backgroundColor: o.palette.state?.default,
3066
- boxShadow: "none"
3067
- },
3068
- "& .MuiInputBase-input": {
3069
- color: o.palette.text.disabled
3070
- },
3071
- "& .M4LIcon-icon": {
3072
- backgroundColor: o.palette.text.disabled
3073
- }
3074
- },
3075
- "&.M4LRHFAutocomplete-sizeSmall": {
3076
- "& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFAutocomplete-skeleton": {
3077
- height: "24px",
3078
- padding: "0px 8px"
3079
- }
3080
- },
3081
- "&.M4LRHFAutocomplete-sizeMedium": {
3082
- "& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFAutocomplete-skeleton": {
3083
- height: "28px",
3084
- padding: "0px 8px"
3085
- }
3086
- }
3087
- }
3088
- }
3089
- }
3090
- }), et = (o) => ({
3091
- M4LRHFAutocompleteAsync: {
3092
- styleOverrides: {
3093
- "&.M4LRHFAutocompleteAsync-root": {
3094
- width: "100%",
3095
- padding: "4px"
3096
- }
3097
- }
3098
- }
3099
- }), rt = (o) => ({
3100
- M4LoadingButton: {
3101
- styleOverrides: {
3102
- "&.M4LoadingButton-root": {
3103
- width: "100%",
3104
- display: "flex",
3105
- justifyContent: "center",
3106
- "& .MuiLoadingButton-loading": {
3107
- "& .MuiTypography-root": {
3108
- color: "transparent"
3109
- }
3110
- },
3111
- "& .MuiCircularProgress-root": {
3112
- color: o.palette.primary.main
3113
- },
3114
- "& .MuiTypography-root": {
3115
- color: o.palette.text.secondary,
3116
- transition: "all .5s ease"
3117
- },
3118
- "& .M4LoadingButton-skeleton ": {
3119
- height: "100%!important",
3120
- borderRadius: "4px"
3121
- },
3122
- "& .MuiButtonBase-root": {
3123
- display: "flex",
3124
- textTransform: "none",
3125
- gap: "8px",
3126
- transition: "all .5s ease",
3127
- borderRadius: "4px",
3128
- border: "1px solid transparent",
3129
- ...o.typography.action,
3130
- "& .M4LIcon-icon": {
3131
- transition: "all .5s ease"
3132
- },
3133
- "& .MuiButton-startIcon, & .MuiButton-endIcon": {
3134
- margin: "0px"
3135
- },
3136
- "&::before": {
3137
- inset: "0",
3138
- border: "1px solid",
3139
- borderColor: o.palette.state?.focus,
3140
- borderRadius: "4px",
3141
- transform: "scale(1.07, 1.36)",
3142
- position: "absolute",
3143
- boxSizing: "border-box"
3144
- }
3145
- },
3146
- "&.M4LoadingButton-isDisabled": {
3147
- "& .MuiButtonBase-root": {
3148
- color: `${o.palette.text.disabled}!important`,
3149
- "& .M4LIcon-icon": {
3150
- backgroundColor: `${o.palette.text.disabled}!important`
3151
- }
3152
- },
3153
- "&.M4LoadingButton-variantContained": {
3154
- "& .MuiButtonBase-root": {
3155
- color: o.palette.text.disabled,
3156
- "& .M4LIcon-icon": {
3157
- backgroundColor: o.palette.text.disabled
3158
- },
3159
- "&:hover": {
3160
- backgroundColor: o.palette.state?.default,
3161
- color: o.palette.text.disabled,
3162
- "& .M4LIcon-icon": {
3163
- backgroundColor: o.palette.text.disabled,
3164
- color: o.palette.text.disabled
3165
- }
3166
- },
3167
- "&:active": {
3168
- backgroundColor: o.palette.state?.default,
3169
- color: o.palette.text.disabled,
3170
- "& .M4LIcon-icon": {
3171
- backgroundColor: o.palette.text.disabled,
3172
- color: o.palette.text.disabled
3173
- }
3174
- },
3175
- "&.Mui-focusVisible": {
3176
- backgroundColor: o.palette.state?.default,
3177
- color: o.palette.text.disabled,
3178
- "& .M4LIcon-icon": {
3179
- backgroundColor: o.palette.text.disabled,
3180
- color: o.palette.text.disabled
3181
- },
3182
- "&::before": {
3183
- content: "none"
3184
- }
3185
- }
3186
- }
3187
- }
3188
- },
3189
- "&.M4LoadingButton-sizeSmall": {
3190
- height: "28px",
3191
- "& .MuiButtonBase-root": {
3192
- padding: "4px 12px"
3193
- },
3194
- "&.M4LoadingButton-skeleton": {
3195
- height: "28px"
3196
- }
3197
- },
3198
- "&.M4LoadingButton-sizeMedium": {
3199
- height: "38px",
3200
- "& .MuiButtonBase-root": {
3201
- padding: "8px 16px"
3202
- },
3203
- "&.M4LoadingButton-skeleton": {
3204
- height: "38px"
3205
- }
3206
- },
3207
- "&.M4LoadingButton-variantContained": {
3208
- "& .MuiButtonBase-root": {
3209
- backgroundColor: o.palette.state?.default,
3210
- color: o.palette.text.secondary,
3211
- boxShadow: o.customShadows?.z1,
3212
- position: "relative",
3213
- "& .M4LIcon-icon": {
3214
- backgroundColor: o.palette.text.secondary
3215
- },
3216
- "&:hover": {
3217
- backgroundColor: o.palette.state?.hover,
3218
- "& .M4LIcon-icon": {
3219
- backgroundColor: o.palette.patronus?.marbleLight[10]
3220
- },
3221
- "& .MuiTypography-root": {
3222
- color: o.palette.patronus?.marbleLight[10]
3223
- }
3224
- },
3225
- "&:active": {
3226
- backgroundColor: o.palette.state?.active,
3227
- color: o.palette.patronus?.marbleLight[10],
3228
- "& .M4LIcon-icon": {
3229
- backgroundColor: o.palette.patronus?.marbleLight[10]
3230
- }
3231
- },
3232
- "&.Mui-focusVisible": {
3233
- backgroundColor: o.palette.state?.active,
3234
- color: o.palette.patronus?.marbleLight[10],
3235
- "& .M4LIcon-icon": {
3236
- backgroundColor: o.palette.patronus?.marbleLight[10]
3237
- },
3238
- "&::before": {
3239
- content: "''"
3240
- }
3241
- }
3242
- }
3243
- },
3244
- "&.M4LoadingButton-variantOutlined": {
3245
- "& .MuiButtonBase-root": {
3246
- border: "1px solid",
3247
- borderColor: o.palette.text.secondary,
3248
- color: o.palette.text.secondary,
3249
- "& .M4LIcon-icon": {
3250
- backgroundColor: o.palette.text.secondary
3251
- },
3252
- "&:hover": {
3253
- borderColor: o.palette.state?.hover,
3254
- color: o.palette.state?.hover,
3255
- backgroundColor: o.palette.state?.active12,
3256
- "& .M4LIcon-icon": {
3257
- backgroundColor: o.palette.state?.hover
3258
- }
3259
- },
3260
- "&:active": {
3261
- borderColor: o.palette.state?.active,
3262
- color: o.palette.state?.active,
3263
- backgroundColor: "transparent",
3264
- "& .M4LIcon-icon": {
3265
- backgroundColor: o.palette.state?.active
3266
- }
3267
- },
3268
- "&.Mui-focusVisible": {
3269
- borderColor: o.palette.state?.active,
3270
- color: o.palette.state?.active,
3271
- backgroundColor: "transparent",
3272
- "& .M4LIcon-icon": {
3273
- backgroundColor: o.palette.state?.active
3274
- },
3275
- "&::before": {
3276
- content: "''"
3277
- }
3278
- }
3279
- }
3280
- },
3281
- "&.M4LoadingButton-variantText": {
3282
- "& .MuiButtonBase-root": {
3283
- color: o.palette.text.secondary,
3284
- "& .M4LIcon-icon": {
3285
- backgroundColor: o.palette.text.secondary
3286
- },
3287
- "&:hover": {
3288
- backgroundColor: o.palette.state?.active12,
3289
- color: o.palette.state?.hover,
3290
- "& .M4LIcon-icon": {
3291
- backgroundColor: o.palette.state?.hover
3292
- }
3293
- },
3294
- "&:active": {
3295
- backgroundColor: "transparent",
3296
- color: o.palette.state?.active,
3297
- "& .M4LIcon-icon": {
3298
- backgroundColor: o.palette.state?.active
3299
- }
3300
- },
3301
- "&.Mui-focusVisible": {
3302
- backgroundColor: "transparent",
3303
- color: o.palette.state?.active,
3304
- "& .M4LIcon-icon": {
3305
- backgroundColor: o.palette.state?.active
3306
- },
3307
- "&:before": {
3308
- content: "''"
3309
- }
3310
- }
3311
- }
3312
- }
3313
- }
3314
- }
3315
- }
3316
- }), at = (o) => ({
3317
- M4LNavLink: {
3318
- styleOverrides: {
3319
- ["&.M4LNavLink-root"]: {
3320
- "& .M4LTypography-root": {
3321
- color: o.palette.primary.main
3322
- },
3323
- "&: hover": {
3324
- "& .M4LTypography-root": {
3325
- color: o.palette.state?.hover,
3326
- textDecoration: "underline",
3327
- textDecorationColor: o.palette.state?.hover
3328
- }
3329
- },
3330
- "& > a": {
3331
- textDecoration: "none"
3332
- }
3333
- }
3334
- }
3335
- }
3336
- }), it = (o) => ({
3337
- M4LSideBar: {
3338
- styleOverrides: {
3339
- "&.M4LSideBar-root": {
3340
- height: "100%",
3341
- width: "auto",
3342
- background: o.palette.background.neutral,
3343
- paddingLeft: "14px",
3344
- paddingBottom: "14px",
3345
- boxShadow: o.customShadows.z3,
3346
- [o.breakpoints.down("sm")]: {
3347
- width: "0px",
3348
- height: "0px",
3349
- padding: "0px"
3350
- },
3351
- "& .M4LSideBar-wrapperSideBar": {
3352
- height: "100%",
3353
- "& .M4LSideBar-containerSideBarLogo": {
3354
- marginRight: "14px",
3355
- "& .M4LSideBar-containerLogo": {
3356
- height: "128px",
3357
- display: "flex",
3358
- flexDirection: "column",
3359
- justifyContent: "center",
3360
- alignItems: "center",
3361
- fitContent: "100%",
3362
- boxSizing: "contentBox",
3363
- paddingTop: "24px",
3364
- paddingBottom: "28px",
3365
- gap: "12px",
3366
- "& .M4LTypography-root": {
3367
- display: "flex",
3368
- justifyContent: "center",
3369
- width: "100%",
3370
- "& .MuiTypography-root": {
3371
- with: "100%",
3372
- overflow: "hidden",
3373
- textOverflow: "ellipsis",
3374
- textWrap: "nowrap"
3375
- }
3376
- },
3377
- "& .M4LImage-root": {
3378
- position: "relative",
3379
- background: o.palette.background.default,
3380
- boxShadow: o.customShadows.z3,
3381
- padding: "6px",
3382
- borderRadius: "6px"
3383
- }
3384
- }
3385
- },
3386
- "& .M4LSideBar-contentGroups": {
3387
- overflow: "hidden",
3388
- flexGrow: "1",
3389
- display: "flex",
3390
- flexDirection: "column",
3391
- "& .M4LSideBar-contentGroupsLine": {
3392
- display: "flex",
3393
- height: "2px",
3394
- marginRight: "14px",
3395
- backgroundColor: o.palette.state.default
3396
- },
3397
- "& .M4LSideBar-wrapperGroup": {
3398
- height: "100%",
3399
- "& .M4LSideBar-wrapperGroupTitle": {
3400
- padding: "20px",
3401
- height: "60px",
3402
- "& .M4LTypography-root": {
3403
- display: "flex",
3404
- width: "100%",
3405
- "& .MuiTypography-root": {
3406
- with: "100%",
3407
- overflow: "hidden",
3408
- textOverflow: "ellipsis",
3409
- textWrap: "nowrap"
3410
- }
3411
- }
3412
- },
3413
- "& .M4LSideBar-itemListMainRoot": {
3414
- display: "flex",
3415
- borderRadius: "4px 0px 0px 4px",
3416
- justifyContent: "center",
3417
- flexDirection: "column",
3418
- gap: "8px",
3419
- "& .M4LSideBar-navItemMainRoot": {
3420
- backgroundColor: "transparent",
3421
- "&:hover": {
3422
- background: o.palette.state.default
3423
- }
3424
- },
3425
- "&.M4LSideBar-itemMainActive": {
3426
- "& .M4LSideBar-navItemMainRoot": {
3427
- background: o.palette.state.active12,
3428
- "&:hover": {
3429
- background: e(o.palette.state.active || "#fff", 0.18)
3430
- }
3431
- },
3432
- "& .M4LSideBar-navItemRootContent": {
3433
- "& .M4LSideBar-navItemRootContentIconTypo": {
3434
- "& .M4LIcon-icon": {
3435
- backgroundColor: o.palette.state.focus
3436
- },
3437
- "& .MuiTypography-root": {
3438
- color: o.palette.state.focus
3439
- },
3440
- "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
3441
- backgroundColor: o.palette.state.focus
3442
- }
3443
- },
3444
- "&::before": {
3445
- content: '""',
3446
- width: "5px",
3447
- top: "0px",
3448
- bottom: "0px",
3449
- right: "0px",
3450
- backgroundColor: o.palette.state.focus,
3451
- borderRadius: "4px 0px 0px 4px",
3452
- position: "absolute"
3453
- }
3454
- }
3455
- },
3456
- "& .M4LSideBar-navItemRootContent": {
3457
- display: "flex",
3458
- padding: "8px",
3459
- justifyContent: "center",
3460
- borderRadius: "4px 0px 0px 4px",
3461
- position: "relative",
3462
- "& .M4LSideBar-navItemRootContentIconTypo": {
3463
- display: "flex",
3464
- gap: "8px",
3465
- width: "100%",
3466
- "& .M4LIcon-icon": {
3467
- backgroundColor: o.palette.text.secondary
3468
- },
3469
- "& .MuiTypography-root": {
3470
- ...o.typography.paragraphDens,
3471
- color: o.palette.text.secondary
3472
- },
3473
- "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
3474
- backgroundColor: o.palette.text.secondary
3475
- }
3476
- }
3477
- },
3478
- "& .M4LSideBar-navListSubItemRoot": {
3479
- "& .M4LSideBar-navSubItemContentRoot ": {
3480
- "&.M4LSideBar-subItemCollapseActive": {
3481
- backgroundColor: o.palette.state.active12
3482
- },
3483
- "&.M4LSideBar-subItemActive": {
3484
- "& .M4LSideBar-navSubItemContentBullet": {
3485
- height: "14px",
3486
- borderRadius: "10px",
3487
- backgroundColor: o.palette.state.focus
3488
- }
3489
- },
3490
- "&:hover": {
3491
- background: o.palette.state.default
3492
- }
3493
- },
3494
- "& .M4LSideBar-navSubItemContentRoot": {
3495
- gap: "12px",
3496
- margin: "0px 0px 1px 0px",
3497
- padding: "16px",
3498
- "& .M4LSideBar-navSubItemContentBullet": {
3499
- minWidth: "5px",
3500
- minHeight: "5px",
3501
- borderRadius: "50%",
3502
- backgroundColor: o.palette.text.primary
3503
- },
3504
- "& .M4LTypography-root": {
3505
- display: "flex",
3506
- width: "100%",
3507
- "& .MuiTypography-root": {
3508
- ...o.typography.paragraph,
3509
- color: o.palette.text.secondary,
3510
- with: "100%",
3511
- overflow: "hidden",
3512
- textOverflow: "ellipsis",
3513
- textWrap: "nowrap"
3514
- }
3515
- }
3516
- }
3517
- },
3518
- "& .MuiCollapse-root": {
3519
- marginLeft: "28px"
3520
- }
3521
- }
3522
- },
3523
- "& .M4LIcon-root .M4LIcon-icon": {
3524
- backgroundColor: o.palette.text.disabled
3525
- }
3526
- },
3527
- "& .M4LSideBar-collapseButton": {
3528
- display: "flex",
3529
- paddingTop: "14px",
3530
- borderTop: "2px solid",
3531
- borderColor: o.palette.state.default,
3532
- justifyContent: "center",
3533
- marginRight: "14px",
3534
- gap: "15px",
3535
- "& .M4LSideBar-containerLogoButton": {
3536
- display: "flex",
3537
- gap: "14px",
3538
- "& .M4LSideBar-containerLogoButtonLogo": {
3539
- width: "120px",
3540
- height: "40px"
3541
- },
3542
- "& .M4LSideBar-containerLogoButtonIcon": {
3543
- display: "flex",
3544
- alignItems: "center"
3545
- }
3546
- }
3547
- }
3548
- },
3549
- "& .M4LSideBar-contentMobile": {
3550
- width: "100%",
3551
- display: "flex",
3552
- flexDirection: "column",
3553
- paddingLeft: "14px"
3554
- },
3555
- "& .M4LSideBar-contentDesktop": {
3556
- display: "flex"
3557
- }
3558
- }
3559
- }
3560
- }
3561
- }), nt = (o) => ({
3562
- M4LAreasAdmin: {
3563
- styleOverrides: {
3564
- "&.M4LAreasAdmin-root": {
3565
- width: "100%",
3566
- "& .M4LAreasAdmin-areaContainerChips": {
3567
- display: "flex",
3568
- overflow: "auto",
3569
- width: "100%",
3570
- "& .M4LAreasAdmin-areaChipRoot": {
3571
- "& .M4LAreasAdmin-areaChipTitle": {
3572
- textWrap: "nowrap"
3573
- }
3574
- }
3575
- }
3576
- }
3577
- }
3578
- }
3579
- }), pt = (o) => ({
3580
- M4LAreasViewer: {
3581
- styleOverrides: {
3582
- "&.M4LAreasViewer-root": {
3583
- test: "root"
3584
- }
3585
- }
3586
- }
3587
- });
3588
- function xt(o) {
3589
- return Object.assign(
3590
- ao(o),
3591
- no(o),
3592
- io(o),
3593
- po(o),
3594
- lo(o),
3595
- xo(o),
3596
- bo(),
3597
- Mo(o),
3598
- co(),
3599
- so(o),
3600
- uo(o),
3601
- go(o),
3602
- Lo(o),
3603
- eo(o),
3604
- ro(o),
3605
- fo(o),
3606
- to(o),
3607
- vo(o),
3608
- yo(o),
3609
- ho(o),
3610
- ko(o),
3611
- Co(),
3612
- Bo(),
3613
- Oo(o),
3614
- Fo(o),
3615
- Io(o),
3616
- Ro(o),
3617
- wo(o),
3618
- So(o),
3619
- Ao(o),
3620
- To(o),
3621
- $o(o),
3622
- mo(o),
3623
- Do(o),
3624
- zo(),
3625
- Ho(o),
3626
- Eo(o),
3627
- Go(o),
3628
- Wo(o),
3629
- rt(o),
3630
- Po(),
3631
- qo(o),
3632
- No(o),
3633
- _o(),
3634
- tt(o),
3635
- et(),
3636
- jo(o),
3637
- Vo(o),
3638
- Yo(),
3639
- Uo(o),
3640
- at(o),
3641
- Ko(),
3642
- Jo(o),
3643
- Qo(o),
3644
- Xo(o),
3645
- Zo(o),
3646
- ot(o),
3647
- it(o),
3648
- nt(),
3649
- pt()
3650
- );
3651
- }
3652
- const bt = {
3653
- values: {
3654
- xs: 0,
3655
- sm: 600,
3656
- md: 900,
3657
- lg: 1200,
3658
- xl: 1400
3659
- }
3660
- }, Mt = {
3661
- mobile: 16,
3662
- desktop: 16
3663
- };
1
+ import { d as f } from "./theme/defaultThemeOptions.364b28b6.js";
2
+ import { c as l, s as g } from "./theme/shadows.b2f38616.js";
3
+ import { P as u, p as d } from "./theme/palette.4b477f9b.js";
4
+ import { t as S } from "./theme/typography.1db0276b.js";
5
+ import { f as C } from "./theme/overrides/index.19dec027.js";
6
+ import { u as R } from "./utils/useResponsive.2c45e8e0.js";
7
+ import { e as T, b, c as v, d as y, g as z, a as w, t as F } from "./utils/getColorPresets.f3113d85.js";
8
+ import { g as k } from "./utils/getColorState.456150fd.js";
9
+ import { g as A, p as B, a as L, r as N } from "./utils/getFontValue.88831637.js";
10
+ import { g as j, m as D } from "./config.5405b46b.js";
11
+ import "@mui/material/styles";
12
+ import "@mui/material/useMediaQuery";
13
+ import "@mui/system";
14
+ import "@mui/material";
15
+ import "./theme/overrides/MUIComponents/index.56660771.js";
16
+ import "./theme/overrides/M4LExtendedComponents/index.9ef37d1d.js";
17
+ import "./theme/overrides/M4LRHFComponents/index.5f690e33.js";
3664
18
  export {
3665
- t as PATRONUSCOLORS,
3666
- j as blaze,
3667
- N as candy,
3668
- g as colorPresets,
3669
- Z as createCustomShadows,
3670
- F as defaultPreset,
3671
- gt as defaultThemeOptions,
3672
- xt as fnComponentsOverrides,
3673
- b as getColorPresets,
3674
- V as getColorState,
3675
- ct as getFontValue,
3676
- Mt as globalRemSize,
3677
- _ as grass,
3678
- bt as muiBreakpointsValues,
3679
- s as palette,
3680
- d as pxToRem,
3681
- Y as remToPx,
3682
- p as responsiveFontSizes,
3683
- oo as shadows,
3684
- q as turqui,
3685
- J as typography
19
+ u as PATRONUSCOLORS,
20
+ T as blaze,
21
+ b as candy,
22
+ v as colorPresets,
23
+ l as createCustomShadows,
24
+ y as defaultPreset,
25
+ f as defaultThemeOptions,
26
+ C as fnComponentsOverrides,
27
+ z as getColorPresets,
28
+ k as getColorState,
29
+ A as getFontValue,
30
+ j as globalRemSize,
31
+ w as grass,
32
+ D as muiBreakpointsValues,
33
+ d as palette,
34
+ B as pxToRem,
35
+ L as remToPx,
36
+ N as responsiveFontSizes,
37
+ g as shadows,
38
+ F as turqui,
39
+ S as typography,
40
+ R as useResponsive
3686
41
  };