@hybridcore/ui 1.4.30 → 1.4.32

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.
Files changed (108) hide show
  1. package/dist/AccordionDetails-mpRYHtGq.js +743 -0
  2. package/dist/{Add-eepk2WTM.js → Add-BKnWHZ7A.js} +10 -9
  3. package/dist/{Box-BPyg-Ybm.js → Box-SSMZuKnS.js} +8 -8
  4. package/dist/{Button-DLwB_sKd.js → Button-jy67CcTH.js} +8 -7
  5. package/dist/{ButtonBase-D0qccOVb.js → ButtonBase-CgQC8DUB.js} +13 -12
  6. package/dist/{CardContent-DFsCCOWk.js → CardContent-CCq4R1KS.js} +14 -13
  7. package/dist/{Checkbox-qy3cjvnb.js → Checkbox-B0P8LhCl.js} +10 -9
  8. package/dist/{Delete-OHEw9lDi.js → Delete-DfyX03ib.js} +1 -1
  9. package/dist/{DialogContent-CxOSq6h9.js → DialogContent-B0_-g7B0.js} +10 -9
  10. package/dist/{FormControlLabel-D9KFjcIx.js → FormControlLabel-BNT5EI0b.js} +10 -9
  11. package/dist/{IconButton-BaiyAtmS.js → IconButton-DekcZv4i.js} +16 -15
  12. package/dist/{Input-CmCkXczh.js → Input-BAbDr3Tk.js} +17 -16
  13. package/dist/{InputAdornment-CZUPEeia.js → InputAdornment-BAVRrRts.js} +8 -7
  14. package/dist/{InputLabel-CWkW8NtU.js → InputLabel-ClDXuWBr.js} +16 -14
  15. package/dist/{List-PpNAWJ_I.js → List-CNeRnfGL.js} +10 -9
  16. package/dist/{ListItem-CZbZ91vp.js → ListItem-N_dSd02S.js} +15 -14
  17. package/dist/{MenuItem-D-INSvZa.js → MenuItem-Lcjh1XlV.js} +11 -10
  18. package/dist/{Modal-KrI5qFIq.js → Modal-CJn-Bqyo.js} +14 -13
  19. package/dist/{OutlinedInput-DkIUD30e.js → OutlinedInput-De2keFJK.js} +28 -27
  20. package/dist/{Paper-btu3j72o.js → Paper-DRRYGupP.js} +22 -21
  21. package/dist/{Select-ClaBvSqf.js → Select-DwAJxKTN.js} +65 -63
  22. package/dist/{Source-Hf_SiWEW.js → Source-CnCcu5UP.js} +123 -123
  23. package/dist/{Tabs-BzelDJKy.js → Tabs-DqdkJU6b.js} +16 -14
  24. package/dist/{Text-D6oGbCdi.js → Text-BT5kPHOo.js} +41 -41
  25. package/dist/{TextField-D87qTh1k.js → TextField-BAXUnwnR.js} +14 -13
  26. package/dist/{Typography-Bm7PFqUT.js → Typography-CLq43OVQ.js} +21 -20
  27. package/dist/components/access/helpers.js +1 -1
  28. package/dist/components/access/index.js +1 -1
  29. package/dist/components/card/index.js +49 -48
  30. package/dist/components/card/styled.js +1 -1
  31. package/dist/components/collapsible-card/style.js +3 -3
  32. package/dist/components/confirm/dialog.js +3 -3
  33. package/dist/components/confirm/index.js +1 -1
  34. package/dist/components/container/index.js +10 -9
  35. package/dist/components/context-menu/index.js +13 -12
  36. package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
  37. package/dist/components/data-security-selectors/security-level/index.js +7 -7
  38. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  39. package/dist/components/geometry-picker/edit/index.js +2 -2
  40. package/dist/components/geometry-picker/geometry/index.js +1 -1
  41. package/dist/components/geometry-picker/index.js +3 -3
  42. package/dist/components/geometry-picker/kml/index.js +1 -1
  43. package/dist/components/geometry-picker/map/logic.js +19 -19
  44. package/dist/components/geometry-picker/map/style.js +1 -1
  45. package/dist/components/icon-button/index.js +1 -1
  46. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  47. package/dist/components/instance-form/components/variable/index.js +8 -8
  48. package/dist/components/instance-form/components/variables/index.js +1 -1
  49. package/dist/components/instance-hierarchy-table/styled.js +1 -1
  50. package/dist/components/map/helpers/mapbox.js +3 -3
  51. package/dist/components/map/helpers/ol.js +3 -3
  52. package/dist/components/map/logic.js +2 -2
  53. package/dist/components/map/styled.js +2 -2
  54. package/dist/components/property-mapping/index.js +2 -2
  55. package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
  56. package/dist/components/range-selector/components/date-range/index.js +1 -1
  57. package/dist/components/range-selector/index.js +1 -1
  58. package/dist/components/search-input/index.js +4 -4
  59. package/dist/components/tabs/index.js +1 -1
  60. package/dist/components/template-filters/components/filter/index.js +44 -0
  61. package/dist/components/template-filters/components/tab-panel/index.js +27 -0
  62. package/dist/components/template-filters/index.js +39 -0
  63. package/dist/components/template-filters/styled.js +1 -0
  64. package/dist/components/template-form/components/property-list/index.js +7 -7
  65. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  66. package/dist/components/template-form/components/property-list/property-list-form.js +9 -9
  67. package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
  68. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  69. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
  70. package/dist/components/template-form/index.js +5 -5
  71. package/dist/components/template-property-filters/property.js +5 -5
  72. package/dist/components/tree-select/index.js +5 -5
  73. package/dist/components/treeview-filter/index.js +384 -318
  74. package/dist/components/treeview-filter/item/index.js +56 -5
  75. package/dist/components/treeview-filter/item/styled.js +38 -0
  76. package/dist/components/treeview-filter/item-label/index.js +27 -26
  77. package/dist/createStyled-CUatW1r9.js +352 -0
  78. package/dist/{createSvgIcon-Cfm1LkEe.js → createSvgIcon-BXjHHQ0B.js} +28 -29
  79. package/dist/{createSvgIcon-DEXLbMwp.js → createSvgIcon-CBoAEepv.js} +9 -8
  80. package/dist/{styled-LNCprp4n.js → createTheme-DVoJnXAT.js} +134 -142
  81. package/dist/createTheme-DrgvKMA_.js +1563 -0
  82. package/dist/{dialog-v5-nL5yy.js → dialog-DPGR2gik.js} +7 -7
  83. package/dist/{exactProp-DkmnwNVS.js → exactProp-H1i70prd.js} +3 -3
  84. package/dist/{extendSxProp-qqdkfHzS.js → extendSxProp-BmK2hLmq.js} +4 -4
  85. package/dist/{has-CjQtZJa9.js → has-9_asnBxn.js} +26 -26
  86. package/dist/{helpers-B4UL9NMD.js → helpers-DaCoWmi2.js} +3 -3
  87. package/dist/{index-oPY7k6mu.js → index-B_GNCJdV.js} +7 -7
  88. package/dist/{index-C1fczHEW.js → index-RfDWDd66.js} +28 -27
  89. package/dist/{listItemTextClasses-DsHGzpPM.js → listItemTextClasses-CC7nbQWN.js} +4 -4
  90. package/dist/main.d.ts +14 -0
  91. package/dist/main.js +83 -81
  92. package/dist/{objectWithoutPropertiesLoose-BK36oJDi.js → objectWithoutPropertiesLoose-DJteAcBH.js} +2 -2
  93. package/dist/{ol-CHaVTXvL.js → ol-9hySGI6D.js} +3 -3
  94. package/dist/{property-list-form-B1GZ9ZGO.js → property-list-form-DgmTiBvu.js} +36 -35
  95. package/dist/styled-DkqItiLo.js +12 -0
  96. package/dist/unsupportedProp-BND8AB6O.js +25 -0
  97. package/dist/{useTheme-DBiahn6p.js → useTheme-B6oa3v5u.js} +4 -4
  98. package/dist/useTheme-GN5Dc3mG.js +18 -0
  99. package/dist/useThemeProps-BlXpIqSE.js +95 -0
  100. package/dist/{utils-DNe_YYjm.js → utils-BRsEqTye.js} +8 -8
  101. package/package.json +1 -1
  102. package/dist/AccordionDetails-CGs6GZQK.js +0 -454
  103. package/dist/Collapse-CL6LGGZw.js +0 -298
  104. package/dist/createStyled-BzvgQjjR.js +0 -1910
  105. package/dist/index-B0JPwFI9.js +0 -596
  106. package/dist/requirePropFactory-BjhhI-AW.js +0 -18
  107. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  108. package/dist/useThemeProps-uYx_RkOH.js +0 -109
@@ -1,6 +1,6 @@
1
- import { _ as m, a as T } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
2
- import { f as N, d as M, j as q, k as J, b as K, e as X, l as G } from "./createStyled-BzvgQjjR.js";
3
- const V = (e) => e, Y = () => {
1
+ import { a as m, _ as T } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
+ import { k as N, a as w, b as L, d as q, e as J } from "./createTheme-DrgvKMA_.js";
3
+ const V = (e) => e, K = () => {
4
4
  let e = V;
5
5
  return {
6
6
  configure(t) {
@@ -13,7 +13,7 @@ const V = (e) => e, Y = () => {
13
13
  e = V;
14
14
  }
15
15
  };
16
- }, Q = Y(), Z = {
16
+ }, X = K(), Y = {
17
17
  active: "active",
18
18
  checked: "checked",
19
19
  completed: "completed",
@@ -27,42 +27,42 @@ const V = (e) => e, Y = () => {
27
27
  required: "required",
28
28
  selected: "selected"
29
29
  };
30
- function ee(e, t, r = "Mui") {
31
- const n = Z[t];
32
- return n ? `${r}-${n}` : `${Q.generate(e)}-${t}`;
30
+ function Q(e, t, r = "Mui") {
31
+ const n = Y[t];
32
+ return n ? `${r}-${n}` : `${X.generate(e)}-${t}`;
33
33
  }
34
- function te(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
34
+ function Z(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
35
35
  return Math.max(t, Math.min(e, r));
36
36
  }
37
37
  function U(e, t = 0, r = 1) {
38
- return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), te(e, t, r);
38
+ return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), Z(e, t, r);
39
39
  }
40
- function re(e) {
40
+ function ee(e) {
41
41
  e = e.slice(1);
42
42
  const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
43
43
  let r = e.match(t);
44
- return r && r[0].length === 1 && (r = r.map((n) => n + n)), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, s) => s < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
44
+ return r && r[0].length === 1 && (r = r.map((n) => n + n)), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, i) => i < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
45
45
  }
46
46
  function O(e) {
47
47
  if (e.type)
48
48
  return e;
49
49
  if (e.charAt(0) === "#")
50
- return O(re(e));
50
+ return O(ee(e));
51
51
  const t = e.indexOf("("), r = e.substring(0, t);
52
52
  if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(r) === -1)
53
53
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
54
54
  The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : N(9, e));
55
- let n = e.substring(t + 1, e.length - 1), s;
55
+ let n = e.substring(t + 1, e.length - 1), i;
56
56
  if (r === "color") {
57
- if (n = n.split(" "), s = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(s) === -1)
58
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${s}\` color space.
59
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : N(10, s));
57
+ if (n = n.split(" "), i = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(i) === -1)
58
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${i}\` color space.
59
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : N(10, i));
60
60
  } else
61
61
  n = n.split(",");
62
- return n = n.map((d) => parseFloat(d)), {
62
+ return n = n.map((u) => parseFloat(u)), {
63
63
  type: r,
64
64
  values: n,
65
- colorSpace: s
65
+ colorSpace: i
66
66
  };
67
67
  }
68
68
  function _(e) {
@@ -73,33 +73,33 @@ function _(e) {
73
73
  let {
74
74
  values: n
75
75
  } = e;
76
- return t.indexOf("rgb") !== -1 ? n = n.map((s, d) => d < 3 ? parseInt(s, 10) : s) : t.indexOf("hsl") !== -1 && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.indexOf("color") !== -1 ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
76
+ return t.indexOf("rgb") !== -1 ? n = n.map((i, u) => u < 3 ? parseInt(i, 10) : i) : t.indexOf("hsl") !== -1 && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.indexOf("color") !== -1 ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
77
77
  }
78
- function ne(e) {
78
+ function te(e) {
79
79
  e = O(e);
80
80
  const {
81
81
  values: t
82
- } = e, r = t[0], n = t[1] / 100, s = t[2] / 100, d = n * Math.min(s, 1 - s), i = (f, u = (f + r / 30) % 12) => s - d * Math.max(Math.min(u - 3, 9 - u, 1), -1);
82
+ } = e, r = t[0], n = t[1] / 100, i = t[2] / 100, u = n * Math.min(i, 1 - i), s = (f, d = (f + r / 30) % 12) => i - u * Math.max(Math.min(d - 3, 9 - d, 1), -1);
83
83
  let p = "rgb";
84
- const g = [Math.round(i(0) * 255), Math.round(i(8) * 255), Math.round(i(4) * 255)];
84
+ const g = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
85
85
  return e.type === "hsla" && (p += "a", g.push(t[3])), _({
86
86
  type: p,
87
87
  values: g
88
88
  });
89
89
  }
90
- function F(e) {
90
+ function R(e) {
91
91
  e = O(e);
92
- let t = e.type === "hsl" || e.type === "hsla" ? O(ne(e)).values : e.values;
92
+ let t = e.type === "hsl" || e.type === "hsla" ? O(te(e)).values : e.values;
93
93
  return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
94
94
  }
95
95
  function j(e, t) {
96
- const r = F(e), n = F(t);
96
+ const r = R(e), n = R(t);
97
97
  return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
98
98
  }
99
- function Ue(e, t) {
99
+ function Ie(e, t) {
100
100
  return e = O(e), t = U(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, _(e);
101
101
  }
102
- function ae(e, t) {
102
+ function re(e, t) {
103
103
  if (e = O(e), t = U(t), e.type.indexOf("hsl") !== -1)
104
104
  e.values[2] *= 1 - t;
105
105
  else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
@@ -107,7 +107,7 @@ function ae(e, t) {
107
107
  e.values[r] *= 1 - t;
108
108
  return _(e);
109
109
  }
110
- function se(e, t) {
110
+ function ne(e, t) {
111
111
  if (e = O(e), t = U(t), e.type.indexOf("hsl") !== -1)
112
112
  e.values[2] += (100 - e.values[2]) * t;
113
113
  else if (e.type.indexOf("rgb") !== -1)
@@ -118,7 +118,7 @@ function se(e, t) {
118
118
  e.values[r] += (1 - e.values[r]) * t;
119
119
  return _(e);
120
120
  }
121
- function ie(e, t) {
121
+ function ae(e, t) {
122
122
  return m({
123
123
  toolbar: {
124
124
  minHeight: 56,
@@ -136,7 +136,7 @@ function ie(e, t) {
136
136
  const S = {
137
137
  black: "#000",
138
138
  white: "#fff"
139
- }, oe = {
139
+ }, ie = {
140
140
  50: "#fafafa",
141
141
  100: "#f5f5f5",
142
142
  200: "#eeeeee",
@@ -181,7 +181,7 @@ const S = {
181
181
  A200: "#ff5252",
182
182
  A400: "#ff1744",
183
183
  A700: "#d50000"
184
- }, E = {
184
+ }, M = {
185
185
  50: "#fff3e0",
186
186
  100: "#ffe0b2",
187
187
  200: "#ffcc80",
@@ -226,7 +226,7 @@ const S = {
226
226
  A200: "#40c4ff",
227
227
  A400: "#00b0ff",
228
228
  A700: "#0091ea"
229
- }, w = {
229
+ }, E = {
230
230
  50: "#e8f5e9",
231
231
  100: "#c8e6c9",
232
232
  200: "#a5d6a7",
@@ -241,7 +241,7 @@ const S = {
241
241
  A200: "#69f0ae",
242
242
  A400: "#00e676",
243
243
  A700: "#00c853"
244
- }, ce = ["mode", "contrastThreshold", "tonalOffset"], R = {
244
+ }, se = ["mode", "contrastThreshold", "tonalOffset"], z = {
245
245
  // The colors used to style the text.
246
246
  text: {
247
247
  // The most important text.
@@ -304,11 +304,11 @@ const S = {
304
304
  activatedOpacity: 0.24
305
305
  }
306
306
  };
307
- function z(e, t, r, n) {
308
- const s = n.light || n, d = n.dark || n * 1.5;
309
- e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = se(e.main, s) : t === "dark" && (e.dark = ae(e.main, d)));
307
+ function F(e, t, r, n) {
308
+ const i = n.light || n, u = n.dark || n * 1.5;
309
+ e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = ne(e.main, i) : t === "dark" && (e.dark = re(e.main, u)));
310
310
  }
311
- function fe(e = "light") {
311
+ function oe(e = "light") {
312
312
  return e === "dark" ? {
313
313
  main: A[200],
314
314
  light: A[50],
@@ -319,7 +319,7 @@ function fe(e = "light") {
319
319
  dark: A[800]
320
320
  };
321
321
  }
322
- function de(e = "light") {
322
+ function ce(e = "light") {
323
323
  return e === "dark" ? {
324
324
  main: x[200],
325
325
  light: x[50],
@@ -330,7 +330,7 @@ function de(e = "light") {
330
330
  dark: x[700]
331
331
  };
332
332
  }
333
- function ue(e = "light") {
333
+ function fe(e = "light") {
334
334
  return e === "dark" ? {
335
335
  main: v[500],
336
336
  light: v[300],
@@ -341,7 +341,7 @@ function ue(e = "light") {
341
341
  dark: v[800]
342
342
  };
343
343
  }
344
- function le(e = "light") {
344
+ function ue(e = "light") {
345
345
  return e === "dark" ? {
346
346
  main: k[400],
347
347
  light: k[300],
@@ -352,37 +352,37 @@ function le(e = "light") {
352
352
  dark: k[900]
353
353
  };
354
354
  }
355
- function pe(e = "light") {
355
+ function de(e = "light") {
356
356
  return e === "dark" ? {
357
- main: w[400],
358
- light: w[300],
359
- dark: w[700]
357
+ main: E[400],
358
+ light: E[300],
359
+ dark: E[700]
360
360
  } : {
361
- main: w[800],
362
- light: w[500],
363
- dark: w[900]
361
+ main: E[800],
362
+ light: E[500],
363
+ dark: E[900]
364
364
  };
365
365
  }
366
- function ge(e = "light") {
366
+ function le(e = "light") {
367
367
  return e === "dark" ? {
368
- main: E[400],
369
- light: E[300],
370
- dark: E[700]
368
+ main: M[400],
369
+ light: M[300],
370
+ dark: M[700]
371
371
  } : {
372
372
  main: "#ed6c02",
373
373
  // closest to orange[800] that pass 3:1.
374
- light: E[500],
375
- dark: E[900]
374
+ light: M[500],
375
+ dark: M[900]
376
376
  };
377
377
  }
378
- function he(e) {
378
+ function pe(e) {
379
379
  const {
380
380
  mode: t = "light",
381
381
  contrastThreshold: r = 3,
382
382
  tonalOffset: n = 0.2
383
- } = e, s = T(e, ce), d = e.primary || fe(t), i = e.secondary || de(t), p = e.error || ue(t), g = e.info || le(t), f = e.success || pe(t), u = e.warning || ge(t);
383
+ } = e, i = T(e, se), u = e.primary || oe(t), s = e.secondary || ce(t), p = e.error || fe(t), g = e.info || ue(t), f = e.success || de(t), d = e.warning || le(t);
384
384
  function h(a) {
385
- const l = j(a, D.text.primary) >= r ? D.text.primary : R.text.primary;
385
+ const l = j(a, D.text.primary) >= r ? D.text.primary : z.text.primary;
386
386
  if (process.env.NODE_ENV !== "production") {
387
387
  const b = j(a, l);
388
388
  b < 3 && console.error([`MUI: The contrast ratio of ${b}:1 for ${l} on ${a}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
@@ -415,12 +415,12 @@ const theme1 = createTheme({ palette: {
415
415
  const theme2 = createTheme({ palette: {
416
416
  primary: { main: green[500] },
417
417
  } });` : N(12, l ? ` (${l})` : "", JSON.stringify(a.main)));
418
- return z(a, "light", I, n), z(a, "dark", C, n), a.contrastText || (a.contrastText = h(a.main)), a;
418
+ return F(a, "light", I, n), F(a, "dark", C, n), a.contrastText || (a.contrastText = h(a.main)), a;
419
419
  }, $ = {
420
420
  dark: D,
421
- light: R
421
+ light: z
422
422
  };
423
- return process.env.NODE_ENV !== "production" && ($[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), M(m({
423
+ return process.env.NODE_ENV !== "production" && ($[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), w(m({
424
424
  // A collection of common colors.
425
425
  common: m({}, S),
426
426
  // prevent mutable object.
@@ -428,12 +428,12 @@ const theme2 = createTheme({ palette: {
428
428
  mode: t,
429
429
  // The colors used to represent primary interface elements for a user.
430
430
  primary: c({
431
- color: d,
431
+ color: u,
432
432
  name: "primary"
433
433
  }),
434
434
  // The colors used to represent secondary interface elements for a user.
435
435
  secondary: c({
436
- color: i,
436
+ color: s,
437
437
  name: "secondary",
438
438
  mainShade: "A400",
439
439
  lightShade: "A200",
@@ -446,7 +446,7 @@ const theme2 = createTheme({ palette: {
446
446
  }),
447
447
  // The colors used to represent potentially dangerous actions or important messages.
448
448
  warning: c({
449
- color: u,
449
+ color: d,
450
450
  name: "warning"
451
451
  }),
452
452
  // The colors used to present information to the user that is neutral and not necessarily important.
@@ -460,7 +460,7 @@ const theme2 = createTheme({ palette: {
460
460
  name: "success"
461
461
  }),
462
462
  // The grey colors.
463
- grey: oe,
463
+ grey: ie,
464
464
  // Used by `getContrastText()` to maximize the contrast between
465
465
  // the background and the text.
466
466
  contrastThreshold: r,
@@ -472,55 +472,55 @@ const theme2 = createTheme({ palette: {
472
472
  // two indexes within its tonal palette.
473
473
  // E.g., shift from Red 500 to Red 300 or Red 700.
474
474
  tonalOffset: n
475
- }, $[t]), s);
475
+ }, $[t]), i);
476
476
  }
477
- const be = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
478
- function me(e) {
477
+ const ge = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
478
+ function he(e) {
479
479
  return Math.round(e * 1e5) / 1e5;
480
480
  }
481
481
  const W = {
482
482
  textTransform: "uppercase"
483
- }, P = '"Roboto", "Helvetica", "Arial", sans-serif';
484
- function ye(e, t) {
483
+ }, B = '"Roboto", "Helvetica", "Arial", sans-serif';
484
+ function be(e, t) {
485
485
  const r = typeof t == "function" ? t(e) : t, {
486
- fontFamily: n = P,
486
+ fontFamily: n = B,
487
487
  // The default font size of the Material Specification.
488
- fontSize: s = 14,
488
+ fontSize: i = 14,
489
489
  // px
490
- fontWeightLight: d = 300,
491
- fontWeightRegular: i = 400,
490
+ fontWeightLight: u = 300,
491
+ fontWeightRegular: s = 400,
492
492
  fontWeightMedium: p = 500,
493
493
  fontWeightBold: g = 700,
494
494
  // Tell MUI what's the font-size on the html element.
495
495
  // 16px is the default font-size used by browsers.
496
496
  htmlFontSize: f = 16,
497
497
  // Apply the CSS properties to all the variants.
498
- allVariants: u,
498
+ allVariants: d,
499
499
  pxToRem: h
500
- } = r, c = T(r, be);
501
- process.env.NODE_ENV !== "production" && (typeof s != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
502
- const $ = s / 14, y = h || ((b) => `${b / f * $}rem`), a = (b, I, C, H, L) => m({
500
+ } = r, c = T(r, ge);
501
+ process.env.NODE_ENV !== "production" && (typeof i != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
502
+ const $ = i / 14, y = h || ((b) => `${b / f * $}rem`), a = (b, I, C, P, H) => m({
503
503
  fontFamily: n,
504
504
  fontWeight: b,
505
505
  fontSize: y(I),
506
506
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
507
507
  lineHeight: C
508
- }, n === P ? {
509
- letterSpacing: `${me(H / I)}em`
510
- } : {}, L, u), l = {
511
- h1: a(d, 96, 1.167, -1.5),
512
- h2: a(d, 60, 1.2, -0.5),
513
- h3: a(i, 48, 1.167, 0),
514
- h4: a(i, 34, 1.235, 0.25),
515
- h5: a(i, 24, 1.334, 0),
508
+ }, n === B ? {
509
+ letterSpacing: `${he(P / I)}em`
510
+ } : {}, H, d), l = {
511
+ h1: a(u, 96, 1.167, -1.5),
512
+ h2: a(u, 60, 1.2, -0.5),
513
+ h3: a(s, 48, 1.167, 0),
514
+ h4: a(s, 34, 1.235, 0.25),
515
+ h5: a(s, 24, 1.334, 0),
516
516
  h6: a(p, 20, 1.6, 0.15),
517
- subtitle1: a(i, 16, 1.75, 0.15),
517
+ subtitle1: a(s, 16, 1.75, 0.15),
518
518
  subtitle2: a(p, 14, 1.57, 0.1),
519
- body1: a(i, 16, 1.5, 0.15),
520
- body2: a(i, 14, 1.43, 0.15),
519
+ body1: a(s, 16, 1.5, 0.15),
520
+ body2: a(s, 14, 1.43, 0.15),
521
521
  button: a(p, 14, 1.75, 0.4, W),
522
- caption: a(i, 12, 1.66, 0.4),
523
- overline: a(i, 12, 2.66, 1, W),
522
+ caption: a(s, 12, 1.66, 0.4),
523
+ overline: a(s, 12, 2.66, 1, W),
524
524
  inherit: {
525
525
  fontFamily: "inherit",
526
526
  fontWeight: "inherit",
@@ -529,13 +529,13 @@ function ye(e, t) {
529
529
  letterSpacing: "inherit"
530
530
  }
531
531
  };
532
- return M(m({
532
+ return w(m({
533
533
  htmlFontSize: f,
534
534
  pxToRem: y,
535
535
  fontFamily: n,
536
- fontSize: s,
537
- fontWeightLight: d,
538
- fontWeightRegular: i,
536
+ fontSize: i,
537
+ fontWeightLight: u,
538
+ fontWeightRegular: s,
539
539
  fontWeightMedium: p,
540
540
  fontWeightBold: g
541
541
  }, l), c, {
@@ -543,11 +543,11 @@ function ye(e, t) {
543
543
  // No need to clone deep
544
544
  });
545
545
  }
546
- const $e = 0.2, Oe = 0.14, xe = 0.12;
546
+ const me = 0.2, ye = 0.14, $e = 0.12;
547
547
  function o(...e) {
548
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${$e})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Oe})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${xe})`].join(",");
548
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${me})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ye})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${$e})`].join(",");
549
549
  }
550
- const ve = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), o(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), o(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), o(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), o(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), o(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), o(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), o(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), o(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), o(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), o(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), o(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), o(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), o(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), o(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), o(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), o(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), o(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), o(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), o(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), o(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), o(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), o(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Ae = ["duration", "easing", "delay"], ke = {
550
+ const Oe = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), o(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), o(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), o(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), o(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), o(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), o(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), o(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), o(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), o(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), o(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), o(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), o(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), o(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), o(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), o(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), o(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), o(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), o(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), o(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), o(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), o(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), o(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], xe = ["duration", "easing", "delay"], ve = {
551
551
  // This is the most common easing curve.
552
552
  easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
553
553
  // Objects enter the screen at full velocity from off-screen and
@@ -557,7 +557,7 @@ const ve = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2,
557
557
  easeIn: "cubic-bezier(0.4, 0, 1, 1)",
558
558
  // The sharp curve is used by objects that may return to the screen at any time.
559
559
  sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
560
- }, we = {
560
+ }, Ae = {
561
561
  shortest: 150,
562
562
  shorter: 200,
563
563
  short: 250,
@@ -570,37 +570,37 @@ const ve = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2,
570
570
  // recommended when something is leaving screen
571
571
  leavingScreen: 195
572
572
  };
573
- function B(e) {
573
+ function G(e) {
574
574
  return `${Math.round(e)}ms`;
575
575
  }
576
- function Ee(e) {
576
+ function ke(e) {
577
577
  if (!e)
578
578
  return 0;
579
579
  const t = e / 36;
580
580
  return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
581
581
  }
582
- function Me(e) {
583
- const t = m({}, ke, e.easing), r = m({}, we, e.duration);
582
+ function Ee(e) {
583
+ const t = m({}, ve, e.easing), r = m({}, Ae, e.duration);
584
584
  return m({
585
- getAutoHeightDuration: Ee,
586
- create: (s = ["all"], d = {}) => {
585
+ getAutoHeightDuration: ke,
586
+ create: (i = ["all"], u = {}) => {
587
587
  const {
588
- duration: i = r.standard,
588
+ duration: s = r.standard,
589
589
  easing: p = t.easeInOut,
590
590
  delay: g = 0
591
- } = d, f = T(d, Ae);
591
+ } = u, f = T(u, xe);
592
592
  if (process.env.NODE_ENV !== "production") {
593
- const u = (c) => typeof c == "string", h = (c) => !isNaN(parseFloat(c));
594
- !u(s) && !Array.isArray(s) && console.error('MUI: Argument "props" must be a string or Array.'), !h(i) && !u(i) && console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`), u(p) || console.error('MUI: Argument "easing" must be a string.'), !h(g) && !u(g) && console.error('MUI: Argument "delay" must be a number or a string.'), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
593
+ const d = (c) => typeof c == "string", h = (c) => !isNaN(parseFloat(c));
594
+ !d(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !h(s) && !d(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), d(p) || console.error('MUI: Argument "easing" must be a string.'), !h(g) && !d(g) && console.error('MUI: Argument "delay" must be a number or a string.'), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
595
595
  }
596
- return (Array.isArray(s) ? s : [s]).map((u) => `${u} ${typeof i == "string" ? i : B(i)} ${p} ${typeof g == "string" ? g : B(g)}`).join(",");
596
+ return (Array.isArray(i) ? i : [i]).map((d) => `${d} ${typeof s == "string" ? s : G(s)} ${p} ${typeof g == "string" ? g : G(g)}`).join(",");
597
597
  }
598
598
  }, e, {
599
599
  easing: t,
600
600
  duration: r
601
601
  });
602
602
  }
603
- const Ne = {
603
+ const Me = {
604
604
  mobileStepper: 1e3,
605
605
  fab: 1050,
606
606
  speedDial: 1050,
@@ -609,34 +609,34 @@ const Ne = {
609
609
  modal: 1300,
610
610
  snackbar: 1400,
611
611
  tooltip: 1500
612
- }, Se = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
613
- function Ie(e = {}, ...t) {
612
+ }, we = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
613
+ function Te(e = {}, ...t) {
614
614
  const {
615
615
  mixins: r = {},
616
616
  palette: n = {},
617
- transitions: s = {},
618
- typography: d = {}
619
- } = e, i = T(e, Se);
617
+ transitions: i = {},
618
+ typography: u = {}
619
+ } = e, s = T(e, we);
620
620
  if (e.vars)
621
621
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : N(18));
622
- const p = he(n), g = q(e);
623
- let f = M(g, {
624
- mixins: ie(g.breakpoints, r),
622
+ const p = pe(n), g = L(e);
623
+ let f = w(g, {
624
+ mixins: ae(g.breakpoints, r),
625
625
  palette: p,
626
626
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
627
- shadows: ve.slice(),
628
- typography: ye(p, d),
629
- transitions: Me(s),
630
- zIndex: m({}, Ne)
627
+ shadows: Oe.slice(),
628
+ typography: be(p, u),
629
+ transitions: Ee(i),
630
+ zIndex: m({}, Me)
631
631
  });
632
- if (f = M(f, i), f = t.reduce((u, h) => M(u, h), f), process.env.NODE_ENV !== "production") {
633
- const u = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], h = (c, $) => {
632
+ if (f = w(f, s), f = t.reduce((d, h) => w(d, h), f), process.env.NODE_ENV !== "production") {
633
+ const d = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], h = (c, $) => {
634
634
  let y;
635
635
  for (y in c) {
636
636
  const a = c[y];
637
- if (u.indexOf(y) !== -1 && Object.keys(a).length > 0) {
637
+ if (d.indexOf(y) !== -1 && Object.keys(a).length > 0) {
638
638
  if (process.env.NODE_ENV !== "production") {
639
- const l = ee("", y);
639
+ const l = Q("", y);
640
640
  console.error([`MUI: The \`${$}\` component increases the CSS specificity of the \`${y}\` internal state.`, "You can not override it like this: ", JSON.stringify(c, null, 2), "", `Instead, you need to use the '&.${l}' syntax:`, JSON.stringify({
641
641
  root: {
642
642
  [`&.${l}`]: a
@@ -653,27 +653,19 @@ function Ie(e = {}, ...t) {
653
653
  $ && c.indexOf("Mui") === 0 && h($, c);
654
654
  });
655
655
  }
656
- return f.unstable_sxConfig = m({}, J, i == null ? void 0 : i.unstable_sxConfig), f.unstable_sx = function(h) {
657
- return K({
656
+ return f.unstable_sxConfig = m({}, q, s == null ? void 0 : s.unstable_sxConfig), f.unstable_sx = function(h) {
657
+ return J({
658
658
  sx: h,
659
659
  theme: this
660
660
  });
661
661
  }, f;
662
662
  }
663
- const Te = Ie(), _e = (e) => G(e) && e !== "classes", Ve = G, Fe = X({
664
- defaultTheme: Te,
665
- rootShouldForwardProp: _e
666
- });
667
663
  export {
668
- Q as C,
669
- Ue as a,
670
- Te as b,
671
- Ie as c,
672
- ae as d,
673
- Ve as e,
674
- we as f,
675
- ee as g,
676
- se as l,
677
- _e as r,
678
- Fe as s
664
+ X as C,
665
+ Ie as a,
666
+ re as b,
667
+ Te as c,
668
+ Ae as d,
669
+ Q as g,
670
+ ne as l
679
671
  };