@hybridcore/ui 1.5.90 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/dist/{AccordionDetails-DhriPVPP.js → AccordionSummary-CMg08YSA.js} +91 -95
  2. package/dist/{Add-CMz4N2zT.js → Add-DuVVJeQU.js} +35 -36
  3. package/dist/AnimatedTheme-jnasw6rT.js +11305 -0
  4. package/dist/AxisRenderer-DTyLLA6c.js +3579 -0
  5. package/dist/AxisRendererY-C_ItLPNV.js +445 -0
  6. package/dist/Bullet-DVczI2TD.js +41 -0
  7. package/dist/Button-CcsPEIDh.js +35 -0
  8. package/dist/{ButtonBase-DsX-jMQJ.js → ButtonBase-sObABYY2.js} +62 -58
  9. package/dist/CategoryAxis-CwnfaGc8.js +458 -0
  10. package/dist/Circle-Cy5s-pVc.js +27 -0
  11. package/dist/ColorSet-C7vpNXhM.js +2957 -0
  12. package/dist/{ColumnSeries-BTcqshjB.js → ColumnSeries-CjgdJ2QL.js} +129 -126
  13. package/dist/DataProcessor-CHDO51q4.js +83 -0
  14. package/dist/DateAxis-YX3QNIB-.js +569 -0
  15. package/dist/{Delete-86TO0fMo.js → Delete-fBLhTHbF.js} +1 -1
  16. package/dist/{DialogContent-CqTojymQ.js → DialogContent-CGJ7alb8.js} +10 -13
  17. package/dist/FormControl-BCurCxRj.js +1294 -0
  18. package/dist/FormControlLabel-BkRfrhNy.js +601 -0
  19. package/dist/Hierarchy-Bihj0S61.js +925 -0
  20. package/dist/{IconButton-DJ-31-Fd.js → IconButton-_opV1iNK.js} +18 -19
  21. package/dist/IconPlus-yPkff_Vj.js +19 -0
  22. package/dist/{InputAdornment-B7qEA4kN.js → InputAdornment-C7PEvvYr.js} +17 -19
  23. package/dist/InputLabel-rEwwnD4_.js +354 -0
  24. package/dist/Legend-Dp_MKfS4.js +178 -0
  25. package/dist/LineSeries-Uiv5o56b.js +472 -0
  26. package/dist/{MenuItem-C6qlUyV3.js → MenuItem-DrE50M_p.js} +92 -69
  27. package/dist/Modal-DlB6GH-f.js +1659 -0
  28. package/dist/Paper-q9kKjAKx.js +527 -0
  29. package/dist/PieSeries-B2fW3z0s.js +693 -0
  30. package/dist/RoundedRectangle-CWLi2PXn.js +34 -0
  31. package/dist/Scrollbar-D86MJyr2.js +171 -0
  32. package/dist/Slice-B19rbYDZ.js +261 -0
  33. package/dist/{Source-BESIjd9X.js → Source-BSZST_GH.js} +2472 -2445
  34. package/dist/{Text-Cl1H4b0h.js → Text-ChJRuaD8.js} +398 -397
  35. package/dist/TextField-DSDIEEKu.js +3161 -0
  36. package/dist/Tick-2bcLyHpF.js +162 -0
  37. package/dist/{Typography-D1t7XuLN.js → Typography-B-Z5Y0Xq.js} +48 -50
  38. package/dist/Vector-BmuhQO4p.js +3606 -0
  39. package/dist/Vector-DfTqQEln.js +1735 -0
  40. package/dist/WKT-2wsDT-nq.js +2310 -0
  41. package/dist/XYCursor-C8WktvKM.js +362 -0
  42. package/dist/ZoomableContainer-DYyqwaMb.js +220 -0
  43. package/dist/_commonjsHelpers-BVfed4GL.js +28 -0
  44. package/dist/capitalize-quqpGCFu.js +9 -0
  45. package/dist/components/access/helpers.js +1 -1
  46. package/dist/components/access/index.js +8 -15
  47. package/dist/components/access/logic.js +25 -0
  48. package/dist/components/card/index.js +158 -498
  49. package/dist/components/card/logic.js +24 -0
  50. package/dist/components/card/styled.js +226 -51
  51. package/dist/components/card-alternate/index.js +111 -139
  52. package/dist/components/card-alternate/logic.js +17 -0
  53. package/dist/components/card-alternate/styled.js +113 -19
  54. package/dist/components/charts/_common/utils.js +20 -0
  55. package/dist/components/charts/candlestick/logic.js +170 -140
  56. package/dist/components/charts/chart-wrapper/helpers.js +27 -0
  57. package/dist/components/charts/chart-wrapper/index.js +44 -0
  58. package/dist/components/charts/chart-wrapper/logic.js +47 -0
  59. package/dist/components/charts/chart-wrapper/styled.js +44 -0
  60. package/dist/components/charts/column-line-mix/index.js +10 -0
  61. package/dist/components/charts/column-line-mix/logic.js +162 -0
  62. package/dist/components/charts/column-line-mix/styled.js +12 -0
  63. package/dist/components/charts/drill-down-treemap/index.js +10 -0
  64. package/dist/components/charts/drill-down-treemap/logic.js +391 -0
  65. package/dist/components/charts/drill-down-treemap/styled.js +12 -0
  66. package/dist/components/charts/drill-down-voronoi-treemap/index.js +10 -0
  67. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1527 -0
  68. package/dist/components/charts/drill-down-voronoi-treemap/styled.js +12 -0
  69. package/dist/components/charts/heatmap/index.js +10 -0
  70. package/dist/components/charts/heatmap/logic.js +361 -0
  71. package/dist/components/charts/heatmap/styled.js +12 -0
  72. package/dist/components/charts/highlighting-line-data/logic.js +89 -256
  73. package/dist/components/charts/line/index.js +10 -0
  74. package/dist/components/charts/line/logic.js +148 -0
  75. package/dist/components/charts/line/styled.js +12 -0
  76. package/dist/components/charts/logaritmic-scale/index.js +10 -0
  77. package/dist/components/charts/logaritmic-scale/logic.js +119 -0
  78. package/dist/components/charts/logaritmic-scale/styled.js +12 -0
  79. package/dist/components/charts/multiple-value-axes/index.js +10 -0
  80. package/dist/components/charts/multiple-value-axes/logic.js +191 -0
  81. package/dist/components/charts/multiple-value-axes/styled.js +12 -0
  82. package/dist/components/charts/nested-pie/index.js +10 -0
  83. package/dist/components/charts/nested-pie/logic.js +110 -0
  84. package/dist/components/charts/nested-pie/styled.js +12 -0
  85. package/dist/components/charts/packed-circles/index.js +10 -0
  86. package/dist/components/charts/packed-circles/logic.js +423 -0
  87. package/dist/components/charts/packed-circles/styled.js +12 -0
  88. package/dist/components/charts/pie-chart/index.js +10 -0
  89. package/dist/components/charts/pie-chart/logic.js +70 -0
  90. package/dist/components/charts/pie-chart/styled.js +12 -0
  91. package/dist/components/charts/stacked-area-radar/index.js +10 -0
  92. package/dist/components/charts/stacked-area-radar/logic.js +868 -0
  93. package/dist/components/charts/stacked-area-radar/styled.js +12 -0
  94. package/dist/components/charts/stacked-column-chart/index.js +10 -0
  95. package/dist/components/charts/stacked-column-chart/logic.js +148 -0
  96. package/dist/components/charts/stacked-column-chart/styled.js +12 -0
  97. package/dist/components/charts/xy-chart/index.js +10 -0
  98. package/dist/components/charts/xy-chart/logic.js +170 -0
  99. package/dist/components/charts/xy-chart/styled.js +12 -0
  100. package/dist/components/collapsible-card/index.js +58 -32
  101. package/dist/components/collapsible-card/logic.js +20 -0
  102. package/dist/components/collapsible-card/styled.js +52 -0
  103. package/dist/components/confirm/dialog.js +3 -3
  104. package/dist/components/confirm/index.js +1 -1
  105. package/dist/components/container/index.js +28 -269
  106. package/dist/components/container/logic.js +12 -0
  107. package/dist/components/container/styled.js +29 -0
  108. package/dist/components/context-menu/index.js +25 -557
  109. package/dist/components/context-menu/logic.js +14 -0
  110. package/dist/components/context-menu/styled.js +40 -0
  111. package/dist/components/data-map/components/controls/index.js +12 -0
  112. package/dist/components/data-map/components/controls/styled.js +34 -0
  113. package/dist/components/data-map/index.js +51 -0
  114. package/dist/components/data-map/logic.js +108 -0
  115. package/dist/components/data-map/styled.js +32 -0
  116. package/dist/components/data-security-selectors/security-level/index.js +36 -91
  117. package/dist/components/data-security-selectors/security-level/logic.js +73 -0
  118. package/dist/components/data-security-selectors/security-level/styled.js +47 -0
  119. package/dist/components/date-picker-with-custom-range/index.js +9 -0
  120. package/dist/components/date-picker-with-custom-range/logic.js +66 -0
  121. package/dist/components/date-picker-with-custom-range/styled.js +43 -0
  122. package/dist/components/divider/index.js +18 -0
  123. package/dist/components/divider/logic.js +13 -0
  124. package/dist/components/divider/styled.js +14 -0
  125. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  126. package/dist/components/geometry-picker/edit/index.js +1 -1
  127. package/dist/components/geometry-picker/geometry/index.js +1 -1
  128. package/dist/components/geometry-picker/index.js +8 -8
  129. package/dist/components/geometry-picker/kml/index.js +1 -1
  130. package/dist/components/geometry-picker/map/index.js +1 -1
  131. package/dist/components/geometry-picker/map/logic.js +65 -62
  132. package/dist/components/geometry-picker/map/style.js +1 -1
  133. package/dist/components/heat-map/components/controls/index.js +12 -0
  134. package/dist/components/heat-map/components/controls/styled.js +34 -0
  135. package/dist/components/heat-map/components/legend/index.js +26 -0
  136. package/dist/components/heat-map/components/legend/styled.js +14 -0
  137. package/dist/components/heat-map/index.js +37 -0
  138. package/dist/components/heat-map/logic.js +1945 -0
  139. package/dist/components/heat-map/styled.js +32 -0
  140. package/dist/components/icon-button/index.js +22 -15
  141. package/dist/components/icon-button/logic.js +15 -0
  142. package/dist/components/icon-button/styled.js +22 -10
  143. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  144. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8 -7
  145. package/dist/components/instance-form/components/variable/index.js +7 -9
  146. package/dist/components/instance-form/components/variables/index.js +1 -1
  147. package/dist/components/instance-form/index.js +1 -1
  148. package/dist/components/instance-hierarchy-table/index.js +32 -37
  149. package/dist/components/instance-hierarchy-table/logic.js +16 -0
  150. package/dist/components/instance-hierarchy-table/styled.js +53 -12
  151. package/dist/components/instance-table/index.js +30 -135
  152. package/dist/components/instance-table/logic.js +122 -0
  153. package/dist/components/instance-table/styled.js +53 -11
  154. package/dist/components/instance-variable-list/index.js +34 -29
  155. package/dist/components/instance-variable-list/styled.js +21 -21
  156. package/dist/components/instance-variable-list/variable.js +44 -74
  157. package/dist/components/key-protection/index.js +45 -2
  158. package/dist/components/key-protection/logic.js +40 -0
  159. package/dist/components/key-protection/styled.js +45 -0
  160. package/dist/components/key-protection/utils.js +1 -1
  161. package/dist/components/linear-indicator/index.js +10 -67
  162. package/dist/components/linear-indicator/logic.js +47 -0
  163. package/dist/components/linear-indicator/styled.js +39 -40
  164. package/dist/components/loading/index.js +15 -9
  165. package/dist/components/loading/logic.js +15 -0
  166. package/dist/components/loading/styled.js +26 -19
  167. package/dist/components/map/helpers/kml.js +1 -1
  168. package/dist/components/map/helpers/mapbox.js +14 -14
  169. package/dist/components/map/helpers/ol.js +23 -19
  170. package/dist/components/map/helpers/wkt.js +26 -1314
  171. package/dist/components/map/index.js +1 -1
  172. package/dist/components/map/logic.js +113 -101
  173. package/dist/components/map/styled.js +39 -31
  174. package/dist/components/metric-card/MetricChart.js +50 -498
  175. package/dist/components/metric-card/index.js +94 -115
  176. package/dist/components/metric-card/logic.js +70 -131
  177. package/dist/components/object-profile-card/components/avatar/index.js +44 -0
  178. package/dist/components/object-profile-card/components/avatar/logic.js +19 -0
  179. package/dist/components/object-profile-card/components/avatar/styled.js +41 -0
  180. package/dist/components/object-profile-card/index.js +90 -0
  181. package/dist/components/object-profile-card/logic.js +33 -0
  182. package/dist/components/object-profile-card/styled.js +48 -0
  183. package/dist/components/paginated-list/index.js +93 -89
  184. package/dist/components/paginated-list/logic.js +51 -40
  185. package/dist/components/paginated-list/styled.js +25 -21
  186. package/dist/components/phone-input/index.js +18 -22
  187. package/dist/components/phone-input/logic.js +14 -0
  188. package/dist/components/phone-input/styled.js +12 -4
  189. package/dist/components/property-mapping/index.js +2 -2
  190. package/dist/components/prr-map/components/controls/index.js +12 -0
  191. package/dist/components/prr-map/components/controls/styled.js +34 -0
  192. package/dist/components/prr-map/components/legend/index.js +36 -0
  193. package/dist/components/prr-map/components/legend/styled.js +21 -0
  194. package/dist/components/prr-map/index.js +38 -0
  195. package/dist/components/prr-map/logic.js +104 -0
  196. package/dist/components/prr-map/styled.js +32 -0
  197. package/dist/components/range-selector/components/composite-list-range/index.js +42 -50
  198. package/dist/components/range-selector/components/date-range/index.js +148 -7
  199. package/dist/components/range-selector/components/geometry-range/index.js +11 -17
  200. package/dist/components/range-selector/components/number-range/index.js +48 -53
  201. package/dist/components/range-selector/components/string-range/index.js +15 -17
  202. package/dist/components/range-selector/index.js +63 -57
  203. package/dist/components/range-selector/logic.js +12 -0
  204. package/dist/components/range-selector/styled.js +4222 -0
  205. package/dist/components/raster-grid-map/components/controls/index.js +12 -0
  206. package/dist/components/raster-grid-map/components/controls/styled.js +34 -0
  207. package/dist/components/raster-grid-map/components/legend/index.js +14 -0
  208. package/dist/components/raster-grid-map/components/legend/styled.js +21 -0
  209. package/dist/components/raster-grid-map/helpers.js +190 -0
  210. package/dist/components/raster-grid-map/index.js +38 -0
  211. package/dist/components/raster-grid-map/logic.js +172 -0
  212. package/dist/components/raster-grid-map/styled.js +32 -0
  213. package/dist/components/search-input/index.js +62 -140
  214. package/dist/components/search-input/logic.js +43 -0
  215. package/dist/components/search-input/styled.js +33 -0
  216. package/dist/components/simple-pivot-table/index.js +66 -0
  217. package/dist/components/simple-pivot-table/logic.js +51 -0
  218. package/dist/components/simple-pivot-table/styled.js +45 -0
  219. package/dist/components/static-text/index.js +18 -0
  220. package/dist/components/static-text/logic.js +13 -0
  221. package/dist/components/static-text/styled.js +45 -0
  222. package/dist/components/tabs/index.js +56 -2160
  223. package/dist/components/tabs/logic.js +36 -0
  224. package/dist/components/tabs/styled.js +94 -16
  225. package/dist/components/tabs/tab-panel.js +11 -10
  226. package/dist/components/template-filters/components/filter/index.js +13 -18
  227. package/dist/components/template-filters/components/tab-panel/index.js +8 -16
  228. package/dist/components/template-filters/index.js +21 -29
  229. package/dist/components/template-filters/logic.js +18 -0
  230. package/dist/components/template-filters/styled.js +44 -1
  231. package/dist/components/template-form/components/property-list/index.js +8 -8
  232. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  233. package/dist/components/template-form/components/property-list/property-list-form.js +8 -10
  234. package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
  235. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  236. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +8 -9
  237. package/dist/components/template-form/index.js +32 -33
  238. package/dist/components/template-property-filters/index.js +45 -95
  239. package/dist/components/template-property-filters/logic.js +27 -0
  240. package/dist/components/template-property-filters/property.js +105 -165
  241. package/dist/components/template-property-filters/styled.js +121 -20
  242. package/dist/components/timeline/index.js +61 -0
  243. package/dist/components/timeline/logic.js +40 -0
  244. package/dist/components/timeline/styled.js +48 -0
  245. package/dist/components/tree-select/index.js +52 -67
  246. package/dist/components/tree-select/logic.js +59 -0
  247. package/dist/components/tree-select/styled.js +45 -62
  248. package/dist/components/treeview-filter/index.js +43 -65
  249. package/dist/components/treeview-filter/item/index.js +43 -42
  250. package/dist/components/treeview-filter/item-label/index.js +17 -37
  251. package/dist/components/treeview-filter/logic.js +28 -0
  252. package/dist/components/treeview-filter/styled.js +86 -0
  253. package/dist/components/uploader/index.js +532 -567
  254. package/dist/components/uploader/logic.js +74 -0
  255. package/dist/components/uploader/styled.js +93 -46
  256. package/dist/constant-BiOGvlZc.js +21 -0
  257. package/dist/createReactComponent-C7L-DMHj.js +60 -0
  258. package/dist/{createSvgIcon-DLPYMuH1.js → createSvgIcon-BM3-TsGy.js} +33 -36
  259. package/dist/{createSvgIcon-OuwzpcaC.js → createSvgIcon-DX-SqL8M.js} +24 -26
  260. package/dist/{dialog-BE4D6swf.js → dialog-cf4HUXXl.js} +27 -28
  261. package/dist/{helpers-DaCoWmi2.js → helpers-B4UL9NMD.js} +3 -3
  262. package/dist/index-BMS1Otro.js +183 -0
  263. package/dist/index-C8C3YXle.js +1932 -0
  264. package/dist/index-C__OZmYy.js +663 -0
  265. package/dist/{index-CGNxsLVm.js → index-DPKUmQnz.js} +11 -13
  266. package/dist/{index-JrtqxUdI.js → index-kCJ_Zvl8.js} +5 -5
  267. package/dist/index.es-CHNMhaMi.js +2067 -0
  268. package/dist/index.esm-BLLrbTzY.js +318 -0
  269. package/dist/isMuiElement-BkJ72LB3.js +26 -0
  270. package/dist/main.d.ts +1869 -565
  271. package/dist/main.js +141 -443
  272. package/dist/{has-DNclCIDV.js → math-Bvt2Ubuz.js} +220 -222
  273. package/dist/ol-yOE-NV0X.js +7465 -0
  274. package/dist/path-CNVruS--.js +84 -0
  275. package/dist/{property-list-form-C5hcK2y2.js → property-list-form-DL_dEoNn.js} +57 -62
  276. package/dist/{createTheme-CNnKNxwL.js → styled-Bsjp3kFh.js} +275 -278
  277. package/dist/useId-B4-oF9Mq.js +34 -0
  278. package/dist/useMobilePicker-B-M3dnTn.js +7993 -0
  279. package/dist/{utils-Bq0ye5vf.js → utils-Cxu-fHjQ.js} +7 -7
  280. package/package.json +11 -2
  281. package/dist/AxisRendererY-kADUad00.js +0 -18370
  282. package/dist/Box-B1AVyJ_s.js +0 -71
  283. package/dist/Button-eqWvpDuh.js +0 -356
  284. package/dist/CardContent-DsYqqPeJ.js +0 -74
  285. package/dist/Checkbox-CrU2hpWB.js +0 -420
  286. package/dist/DateAxis-CMum47iz.js +0 -924
  287. package/dist/FormControlLabel-BrdX4R71.js +0 -195
  288. package/dist/Input-CoIrGZAh.js +0 -326
  289. package/dist/InputLabel-CBuAYyuT.js +0 -1367
  290. package/dist/LineSeries-CfcpoYla.js +0 -549
  291. package/dist/List-DOD5kSk3.js +0 -121
  292. package/dist/ListItem-r8PbsvCz.js +0 -429
  293. package/dist/Modal-CkcFEpHa.js +0 -1284
  294. package/dist/OutlinedInput-B-iZoc9l.js +0 -450
  295. package/dist/Paper-CjqLScHA.js +0 -163
  296. package/dist/Select-t3ewnSdf.js +0 -2180
  297. package/dist/Tabs-Cn42Z5QI.js +0 -789
  298. package/dist/TextField-BQ8a50fA.js +0 -459
  299. package/dist/components/collapsible-card/style.js +0 -49
  300. package/dist/components/key-protection/menu.js +0 -85
  301. package/dist/components/profile-card/index.js +0 -80
  302. package/dist/components/profile-card/logic.js +0 -33
  303. package/dist/components/profile-card/styled.js +0 -43
  304. package/dist/components/tabs/appleTabs.style.js +0 -55
  305. package/dist/components/treeview-filter/item/styled.js +0 -39
  306. package/dist/createStyled-BGx1I94c.js +0 -352
  307. package/dist/createTheme-CyC5HawC.js +0 -879
  308. package/dist/debounce-46wSf_lW.js +0 -15
  309. package/dist/exactProp-cjT0t_Pt.js +0 -36
  310. package/dist/extendSxProp-FEpqY5_S.js +0 -30
  311. package/dist/index-DMSHuq6l.js +0 -688
  312. package/dist/index-SpeaLUQD.js +0 -10963
  313. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  314. package/dist/isMuiElement-CxT3_ACP.js +0 -13
  315. package/dist/listItemTextClasses-CNjn41Of.js +0 -16
  316. package/dist/ol-lGwSyEIV.js +0 -15050
  317. package/dist/ownerDocument-CUrv0DIK.js +0 -6
  318. package/dist/ownerWindow-niciwP7I.js +0 -7
  319. package/dist/styled-B8ugzvji.js +0 -12
  320. package/dist/useFormControl-CatNKXAi.js +0 -10
  321. package/dist/useId-BHG98T5I.js +0 -26
  322. package/dist/useTheme-C15Eq8KG.js +0 -18
  323. package/dist/useTheme-D-uii9iX.js +0 -10
  324. package/dist/useThemeProps-DRP1dikX.js +0 -95
  325. package/dist/utils-CsOZUsQj.js +0 -365
@@ -1,7 +1,52 @@
1
- import { a as m, _ as T } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import { g as N, a as w, b as L, d as q, e as J } from "./createTheme-CyC5HawC.js";
3
- const V = (e) => e, K = () => {
4
- let e = V;
1
+ import { getContrastRatio as _, lighten as J, darken as K, createTheme as Y, unstable_defaultSxConfig as Q, unstable_styleFunctionSx as X, useThemeProps as Z, shouldForwardProp as W, createStyled as ee } from "@mui/system";
2
+ import { a as m, _ as M } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
3
+ function S(e) {
4
+ if (typeof e != "object" || e === null)
5
+ return !1;
6
+ const t = Object.getPrototypeOf(e);
7
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
8
+ }
9
+ function R(e) {
10
+ if (!S(e))
11
+ return e;
12
+ const t = {};
13
+ return Object.keys(e).forEach((n) => {
14
+ t[n] = R(e[n]);
15
+ }), t;
16
+ }
17
+ function E(e, t, n = {
18
+ clone: !0
19
+ }) {
20
+ const r = n.clone ? m({}, e) : e;
21
+ return S(e) && S(t) && Object.keys(t).forEach((a) => {
22
+ S(t[a]) && // Avoid prototype pollution
23
+ Object.prototype.hasOwnProperty.call(e, a) && S(e[a]) ? r[a] = E(e[a], t[a], n) : n.clone ? r[a] = S(t[a]) ? R(t[a]) : t[a] : r[a] = t[a];
24
+ }), r;
25
+ }
26
+ function j(e) {
27
+ let t = "https://mui.com/production-error/?code=" + e;
28
+ for (let n = 1; n < arguments.length; n += 1)
29
+ t += "&args[]=" + encodeURIComponent(arguments[n]);
30
+ return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
31
+ }
32
+ function Ie(e, t, n = void 0) {
33
+ const r = {};
34
+ return Object.keys(e).forEach(
35
+ // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
36
+ // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
37
+ (a) => {
38
+ r[a] = e[a].reduce((d, i) => {
39
+ if (i) {
40
+ const l = t(i);
41
+ l !== "" && d.push(l), n && n[i] && d.push(n[i]);
42
+ }
43
+ return d;
44
+ }, []).join(" ");
45
+ }
46
+ ), r;
47
+ }
48
+ const D = (e) => e, te = () => {
49
+ let e = D;
5
50
  return {
6
51
  configure(t) {
7
52
  e = t;
@@ -10,10 +55,10 @@ const V = (e) => e, K = () => {
10
55
  return e(t);
11
56
  },
12
57
  reset() {
13
- e = V;
58
+ e = D;
14
59
  }
15
60
  };
16
- }, X = K(), Y = {
61
+ }, re = te(), ne = {
17
62
  active: "active",
18
63
  checked: "checked",
19
64
  completed: "completed",
@@ -27,98 +72,28 @@ const V = (e) => e, K = () => {
27
72
  required: "required",
28
73
  selected: "selected"
29
74
  };
30
- function Q(e, t, r = "Mui") {
31
- const n = Y[t];
32
- return n ? `${r}-${n}` : `${X.generate(e)}-${t}`;
33
- }
34
- function Z(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
35
- return Math.max(t, Math.min(e, r));
36
- }
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}].`), Z(e, t, r);
39
- }
40
- function ee(e) {
41
- e = e.slice(1);
42
- const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
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, i) => i < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
45
- }
46
- function O(e) {
47
- if (e.type)
48
- return e;
49
- if (e.charAt(0) === "#")
50
- return O(ee(e));
51
- const t = e.indexOf("("), r = e.substring(0, t);
52
- if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(r) === -1)
53
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
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), i;
56
- if (r === "color") {
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
- } else
61
- n = n.split(",");
62
- return n = n.map((u) => parseFloat(u)), {
63
- type: r,
64
- values: n,
65
- colorSpace: i
66
- };
67
- }
68
- function _(e) {
69
- const {
70
- type: t,
71
- colorSpace: r
72
- } = e;
73
- let {
74
- values: n
75
- } = e;
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
- }
78
- function te(e) {
79
- e = O(e);
80
- const {
81
- values: t
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
- let p = "rgb";
84
- const g = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
85
- return e.type === "hsla" && (p += "a", g.push(t[3])), _({
86
- type: p,
87
- values: g
88
- });
89
- }
90
- function R(e) {
91
- e = O(e);
92
- let t = e.type === "hsl" || e.type === "hsla" ? O(te(e)).values : e.values;
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
- }
95
- function j(e, t) {
96
- const r = R(e), n = R(t);
97
- return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
75
+ function B(e, t, n = "Mui") {
76
+ const r = ne[t];
77
+ return r ? `${n}-${r}` : `${re.generate(e)}-${t}`;
98
78
  }
99
- function Ie(e, t) {
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);
79
+ function je(e, t, n = "Mui") {
80
+ const r = {};
81
+ return t.forEach((a) => {
82
+ r[a] = B(e, a, n);
83
+ }), r;
101
84
  }
102
- function re(e, t) {
103
- if (e = O(e), t = U(t), e.type.indexOf("hsl") !== -1)
104
- e.values[2] *= 1 - t;
105
- else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
106
- for (let r = 0; r < 3; r += 1)
107
- e.values[r] *= 1 - t;
108
- return _(e);
85
+ function H(e) {
86
+ var t, n, r = "";
87
+ if (typeof e == "string" || typeof e == "number") r += e;
88
+ else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (n = H(e[t])) && (r && (r += " "), r += n);
89
+ else for (t in e) e[t] && (r && (r += " "), r += t);
90
+ return r;
109
91
  }
110
- function ne(e, t) {
111
- if (e = O(e), t = U(t), e.type.indexOf("hsl") !== -1)
112
- e.values[2] += (100 - e.values[2]) * t;
113
- else if (e.type.indexOf("rgb") !== -1)
114
- for (let r = 0; r < 3; r += 1)
115
- e.values[r] += (255 - e.values[r]) * t;
116
- else if (e.type.indexOf("color") !== -1)
117
- for (let r = 0; r < 3; r += 1)
118
- e.values[r] += (1 - e.values[r]) * t;
119
- return _(e);
92
+ function _e() {
93
+ for (var e, t, n = 0, r = ""; n < arguments.length; ) (e = arguments[n++]) && (t = H(e)) && (r && (r += " "), r += t);
94
+ return r;
120
95
  }
121
- function ae(e, t) {
96
+ function oe(e, t) {
122
97
  return m({
123
98
  toolbar: {
124
99
  minHeight: 56,
@@ -133,10 +108,10 @@ function ae(e, t) {
133
108
  }
134
109
  }, t);
135
110
  }
136
- const S = {
111
+ const k = {
137
112
  black: "#000",
138
113
  white: "#fff"
139
- }, ie = {
114
+ }, ae = {
140
115
  50: "#fafafa",
141
116
  100: "#f5f5f5",
142
117
  200: "#eeeeee",
@@ -151,7 +126,7 @@ const S = {
151
126
  A200: "#eeeeee",
152
127
  A400: "#bdbdbd",
153
128
  A700: "#616161"
154
- }, x = {
129
+ }, $ = {
155
130
  50: "#f3e5f5",
156
131
  100: "#e1bee7",
157
132
  200: "#ce93d8",
@@ -166,7 +141,7 @@ const S = {
166
141
  A200: "#e040fb",
167
142
  A400: "#d500f9",
168
143
  A700: "#aa00ff"
169
- }, v = {
144
+ }, A = {
170
145
  50: "#ffebee",
171
146
  100: "#ffcdd2",
172
147
  200: "#ef9a9a",
@@ -181,7 +156,7 @@ const S = {
181
156
  A200: "#ff5252",
182
157
  A400: "#ff1744",
183
158
  A700: "#d50000"
184
- }, M = {
159
+ }, T = {
185
160
  50: "#fff3e0",
186
161
  100: "#ffe0b2",
187
162
  200: "#ffcc80",
@@ -196,7 +171,7 @@ const S = {
196
171
  A200: "#ffab40",
197
172
  A400: "#ff9100",
198
173
  A700: "#ff6d00"
199
- }, A = {
174
+ }, v = {
200
175
  50: "#e3f2fd",
201
176
  100: "#bbdefb",
202
177
  200: "#90caf9",
@@ -211,7 +186,7 @@ const S = {
211
186
  A200: "#448aff",
212
187
  A400: "#2979ff",
213
188
  A700: "#2962ff"
214
- }, k = {
189
+ }, x = {
215
190
  50: "#e1f5fe",
216
191
  100: "#b3e5fc",
217
192
  200: "#81d4fa",
@@ -226,7 +201,7 @@ const S = {
226
201
  A200: "#40c4ff",
227
202
  A400: "#00b0ff",
228
203
  A700: "#0091ea"
229
- }, E = {
204
+ }, w = {
230
205
  50: "#e8f5e9",
231
206
  100: "#c8e6c9",
232
207
  200: "#a5d6a7",
@@ -241,7 +216,7 @@ const S = {
241
216
  A200: "#69f0ae",
242
217
  A400: "#00e676",
243
218
  A700: "#00c853"
244
- }, se = ["mode", "contrastThreshold", "tonalOffset"], z = {
219
+ }, ie = ["mode", "contrastThreshold", "tonalOffset"], U = {
245
220
  // The colors used to style the text.
246
221
  text: {
247
222
  // The most important text.
@@ -256,8 +231,8 @@ const S = {
256
231
  // The background colors used to style the surfaces.
257
232
  // Consistency between these values is important.
258
233
  background: {
259
- paper: S.white,
260
- default: S.white
234
+ paper: k.white,
235
+ default: k.white
261
236
  },
262
237
  // The colors used to style the action elements.
263
238
  action: {
@@ -278,9 +253,9 @@ const S = {
278
253
  focusOpacity: 0.12,
279
254
  activatedOpacity: 0.12
280
255
  }
281
- }, D = {
256
+ }, I = {
282
257
  text: {
283
- primary: S.white,
258
+ primary: k.white,
284
259
  secondary: "rgba(255, 255, 255, 0.7)",
285
260
  disabled: "rgba(255, 255, 255, 0.5)",
286
261
  icon: "rgba(255, 255, 255, 0.5)"
@@ -291,7 +266,7 @@ const S = {
291
266
  default: "#121212"
292
267
  },
293
268
  action: {
294
- active: S.white,
269
+ active: k.white,
295
270
  hover: "rgba(255, 255, 255, 0.08)",
296
271
  hoverOpacity: 0.08,
297
272
  selected: "rgba(255, 255, 255, 0.16)",
@@ -304,105 +279,105 @@ const S = {
304
279
  activatedOpacity: 0.24
305
280
  }
306
281
  };
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)));
282
+ function P(e, t, n, r) {
283
+ const a = r.light || r, d = r.dark || r * 1.5;
284
+ e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = J(e.main, a) : t === "dark" && (e.dark = K(e.main, d)));
310
285
  }
311
- function oe(e = "light") {
286
+ function se(e = "light") {
312
287
  return e === "dark" ? {
313
- main: A[200],
314
- light: A[50],
315
- dark: A[400]
288
+ main: v[200],
289
+ light: v[50],
290
+ dark: v[400]
316
291
  } : {
317
- main: A[700],
318
- light: A[400],
319
- dark: A[800]
292
+ main: v[700],
293
+ light: v[400],
294
+ dark: v[800]
320
295
  };
321
296
  }
322
297
  function ce(e = "light") {
323
298
  return e === "dark" ? {
324
- main: x[200],
325
- light: x[50],
326
- dark: x[400]
299
+ main: $[200],
300
+ light: $[50],
301
+ dark: $[400]
327
302
  } : {
328
- main: x[500],
329
- light: x[300],
330
- dark: x[700]
303
+ main: $[500],
304
+ light: $[300],
305
+ dark: $[700]
331
306
  };
332
307
  }
333
308
  function fe(e = "light") {
334
309
  return e === "dark" ? {
335
- main: v[500],
336
- light: v[300],
337
- dark: v[700]
310
+ main: A[500],
311
+ light: A[300],
312
+ dark: A[700]
338
313
  } : {
339
- main: v[700],
340
- light: v[400],
341
- dark: v[800]
314
+ main: A[700],
315
+ light: A[400],
316
+ dark: A[800]
342
317
  };
343
318
  }
344
319
  function ue(e = "light") {
345
320
  return e === "dark" ? {
346
- main: k[400],
347
- light: k[300],
348
- dark: k[700]
321
+ main: x[400],
322
+ light: x[300],
323
+ dark: x[700]
349
324
  } : {
350
- main: k[700],
351
- light: k[500],
352
- dark: k[900]
325
+ main: x[700],
326
+ light: x[500],
327
+ dark: x[900]
353
328
  };
354
329
  }
355
330
  function de(e = "light") {
356
331
  return e === "dark" ? {
357
- main: E[400],
358
- light: E[300],
359
- dark: E[700]
332
+ main: w[400],
333
+ light: w[300],
334
+ dark: w[700]
360
335
  } : {
361
- main: E[800],
362
- light: E[500],
363
- dark: E[900]
336
+ main: w[800],
337
+ light: w[500],
338
+ dark: w[900]
364
339
  };
365
340
  }
366
341
  function le(e = "light") {
367
342
  return e === "dark" ? {
368
- main: M[400],
369
- light: M[300],
370
- dark: M[700]
343
+ main: T[400],
344
+ light: T[300],
345
+ dark: T[700]
371
346
  } : {
372
347
  main: "#ed6c02",
373
348
  // closest to orange[800] that pass 3:1.
374
- light: M[500],
375
- dark: M[900]
349
+ light: T[500],
350
+ dark: T[900]
376
351
  };
377
352
  }
378
- function pe(e) {
353
+ function ge(e) {
379
354
  const {
380
355
  mode: t = "light",
381
- contrastThreshold: r = 3,
382
- tonalOffset: n = 0.2
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
- function h(a) {
385
- const l = j(a, D.text.primary) >= r ? D.text.primary : z.text.primary;
356
+ contrastThreshold: n = 3,
357
+ tonalOffset: r = 0.2
358
+ } = e, a = M(e, ie), d = e.primary || se(t), i = e.secondary || ce(t), l = e.error || fe(t), p = e.info || ue(t), f = e.success || de(t), g = e.warning || le(t);
359
+ function h(o) {
360
+ const u = _(o, I.text.primary) >= n ? I.text.primary : U.text.primary;
386
361
  if (process.env.NODE_ENV !== "production") {
387
- const b = j(a, l);
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(`
362
+ const b = _(o, u);
363
+ b < 3 && console.error([`MUI: The contrast ratio of ${b}:1 for ${u} on ${o}`, "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(`
389
364
  `));
390
365
  }
391
- return l;
366
+ return u;
392
367
  }
393
368
  const c = ({
394
- color: a,
395
- name: l,
369
+ color: o,
370
+ name: u,
396
371
  mainShade: b = 500,
397
- lightShade: I = 300,
398
- darkShade: C = 700
372
+ lightShade: C = 300,
373
+ darkShade: N = 700
399
374
  }) => {
400
- if (a = m({}, a), !a.main && a[b] && (a.main = a[b]), !a.hasOwnProperty("main"))
401
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${l ? ` (${l})` : ""} provided to augmentColor(color) is invalid.
402
- The color object needs to have a \`main\` property or a \`${b}\` property.` : N(11, l ? ` (${l})` : "", b));
403
- if (typeof a.main != "string")
404
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${l ? ` (${l})` : ""} provided to augmentColor(color) is invalid.
405
- \`color.main\` should be a string, but \`${JSON.stringify(a.main)}\` was provided instead.
375
+ if (o = m({}, o), !o.main && o[b] && (o.main = o[b]), !o.hasOwnProperty("main"))
376
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${u ? ` (${u})` : ""} provided to augmentColor(color) is invalid.
377
+ The color object needs to have a \`main\` property or a \`${b}\` property.` : j(11, u ? ` (${u})` : "", b));
378
+ if (typeof o.main != "string")
379
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${u ? ` (${u})` : ""} provided to augmentColor(color) is invalid.
380
+ \`color.main\` should be a string, but \`${JSON.stringify(o.main)}\` was provided instead.
406
381
 
407
382
  Did you intend to use one of the following approaches?
408
383
 
@@ -414,26 +389,26 @@ const theme1 = createTheme({ palette: {
414
389
 
415
390
  const theme2 = createTheme({ palette: {
416
391
  primary: { main: green[500] },
417
- } });` : N(12, l ? ` (${l})` : "", JSON.stringify(a.main)));
418
- return F(a, "light", I, n), F(a, "dark", C, n), a.contrastText || (a.contrastText = h(a.main)), a;
419
- }, $ = {
420
- dark: D,
421
- light: z
392
+ } });` : j(12, u ? ` (${u})` : "", JSON.stringify(o.main)));
393
+ return P(o, "light", C, r), P(o, "dark", N, r), o.contrastText || (o.contrastText = h(o.main)), o;
394
+ }, O = {
395
+ dark: I,
396
+ light: U
422
397
  };
423
- return process.env.NODE_ENV !== "production" && ($[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), w(m({
398
+ return process.env.NODE_ENV !== "production" && (O[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), E(m({
424
399
  // A collection of common colors.
425
- common: m({}, S),
400
+ common: m({}, k),
426
401
  // prevent mutable object.
427
402
  // The palette mode, can be light or dark.
428
403
  mode: t,
429
404
  // The colors used to represent primary interface elements for a user.
430
405
  primary: c({
431
- color: u,
406
+ color: d,
432
407
  name: "primary"
433
408
  }),
434
409
  // The colors used to represent secondary interface elements for a user.
435
410
  secondary: c({
436
- color: s,
411
+ color: i,
437
412
  name: "secondary",
438
413
  mainShade: "A400",
439
414
  lightShade: "A200",
@@ -441,17 +416,17 @@ const theme2 = createTheme({ palette: {
441
416
  }),
442
417
  // The colors used to represent interface elements that the user should be made aware of.
443
418
  error: c({
444
- color: p,
419
+ color: l,
445
420
  name: "error"
446
421
  }),
447
422
  // The colors used to represent potentially dangerous actions or important messages.
448
423
  warning: c({
449
- color: d,
424
+ color: g,
450
425
  name: "warning"
451
426
  }),
452
427
  // The colors used to present information to the user that is neutral and not necessarily important.
453
428
  info: c({
454
- color: g,
429
+ color: p,
455
430
  name: "info"
456
431
  }),
457
432
  // The colors used to indicate the successful completion of an action that user triggered.
@@ -460,10 +435,10 @@ const theme2 = createTheme({ palette: {
460
435
  name: "success"
461
436
  }),
462
437
  // The grey colors.
463
- grey: ie,
438
+ grey: ae,
464
439
  // Used by `getContrastText()` to maximize the contrast between
465
440
  // the background and the text.
466
- contrastThreshold: r,
441
+ contrastThreshold: n,
467
442
  // Takes a background color and returns the text color that maximizes the contrast.
468
443
  getContrastText: h,
469
444
  // Generate a rich color object.
@@ -471,56 +446,56 @@ const theme2 = createTheme({ palette: {
471
446
  // Used by the functions below to shift a color's luminance by approximately
472
447
  // two indexes within its tonal palette.
473
448
  // E.g., shift from Red 500 to Red 300 or Red 700.
474
- tonalOffset: n
475
- }, $[t]), i);
449
+ tonalOffset: r
450
+ }, O[t]), a);
476
451
  }
477
- const ge = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
478
- function he(e) {
452
+ const he = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
453
+ function pe(e) {
479
454
  return Math.round(e * 1e5) / 1e5;
480
455
  }
481
- const W = {
456
+ const V = {
482
457
  textTransform: "uppercase"
483
- }, B = '"Roboto", "Helvetica", "Arial", sans-serif';
484
- function be(e, t) {
485
- const r = typeof t == "function" ? t(e) : t, {
486
- fontFamily: n = B,
458
+ }, z = '"Roboto", "Helvetica", "Arial", sans-serif';
459
+ function me(e, t) {
460
+ const n = typeof t == "function" ? t(e) : t, {
461
+ fontFamily: r = z,
487
462
  // The default font size of the Material Specification.
488
- fontSize: i = 14,
463
+ fontSize: a = 14,
489
464
  // px
490
- fontWeightLight: u = 300,
491
- fontWeightRegular: s = 400,
492
- fontWeightMedium: p = 500,
493
- fontWeightBold: g = 700,
465
+ fontWeightLight: d = 300,
466
+ fontWeightRegular: i = 400,
467
+ fontWeightMedium: l = 500,
468
+ fontWeightBold: p = 700,
494
469
  // Tell MUI what's the font-size on the html element.
495
470
  // 16px is the default font-size used by browsers.
496
471
  htmlFontSize: f = 16,
497
472
  // Apply the CSS properties to all the variants.
498
- allVariants: d,
473
+ allVariants: g,
499
474
  pxToRem: h
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
- fontFamily: n,
475
+ } = n, c = M(n, he);
476
+ process.env.NODE_ENV !== "production" && (typeof a != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
477
+ const O = a / 14, y = h || ((b) => `${b / f * O}rem`), o = (b, C, N, G, L) => m({
478
+ fontFamily: r,
504
479
  fontWeight: b,
505
- fontSize: y(I),
480
+ fontSize: y(C),
506
481
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
507
- lineHeight: C
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
- h6: a(p, 20, 1.6, 0.15),
517
- subtitle1: a(s, 16, 1.75, 0.15),
518
- subtitle2: a(p, 14, 1.57, 0.1),
519
- body1: a(s, 16, 1.5, 0.15),
520
- body2: a(s, 14, 1.43, 0.15),
521
- button: a(p, 14, 1.75, 0.4, W),
522
- caption: a(s, 12, 1.66, 0.4),
523
- overline: a(s, 12, 2.66, 1, W),
482
+ lineHeight: N
483
+ }, r === z ? {
484
+ letterSpacing: `${pe(G / C)}em`
485
+ } : {}, L, g), u = {
486
+ h1: o(d, 96, 1.167, -1.5),
487
+ h2: o(d, 60, 1.2, -0.5),
488
+ h3: o(i, 48, 1.167, 0),
489
+ h4: o(i, 34, 1.235, 0.25),
490
+ h5: o(i, 24, 1.334, 0),
491
+ h6: o(l, 20, 1.6, 0.15),
492
+ subtitle1: o(i, 16, 1.75, 0.15),
493
+ subtitle2: o(l, 14, 1.57, 0.1),
494
+ body1: o(i, 16, 1.5, 0.15),
495
+ body2: o(i, 14, 1.43, 0.15),
496
+ button: o(l, 14, 1.75, 0.4, V),
497
+ caption: o(i, 12, 1.66, 0.4),
498
+ overline: o(i, 12, 2.66, 1, V),
524
499
  inherit: {
525
500
  fontFamily: "inherit",
526
501
  fontWeight: "inherit",
@@ -529,25 +504,25 @@ function be(e, t) {
529
504
  letterSpacing: "inherit"
530
505
  }
531
506
  };
532
- return w(m({
507
+ return E(m({
533
508
  htmlFontSize: f,
534
509
  pxToRem: y,
535
- fontFamily: n,
536
- fontSize: i,
537
- fontWeightLight: u,
538
- fontWeightRegular: s,
539
- fontWeightMedium: p,
540
- fontWeightBold: g
541
- }, l), c, {
510
+ fontFamily: r,
511
+ fontSize: a,
512
+ fontWeightLight: d,
513
+ fontWeightRegular: i,
514
+ fontWeightMedium: l,
515
+ fontWeightBold: p
516
+ }, u), c, {
542
517
  clone: !1
543
518
  // No need to clone deep
544
519
  });
545
520
  }
546
- const me = 0.2, ye = 0.14, $e = 0.12;
547
- function o(...e) {
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(",");
521
+ const be = 0.2, ye = 0.14, Oe = 0.12;
522
+ function s(...e) {
523
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${be})`, `${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,${Oe})`].join(",");
549
524
  }
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 = {
525
+ const $e = ["none", s(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), s(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), s(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), s(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), s(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), s(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), s(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), s(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), s(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), s(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), s(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), s(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), s(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), s(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), s(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), s(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), s(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), s(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), s(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), s(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), s(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), s(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), s(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), s(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Ae = ["duration", "easing", "delay"], ve = {
551
526
  // This is the most common easing curve.
552
527
  easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
553
528
  // Objects enter the screen at full velocity from off-screen and
@@ -557,7 +532,7 @@ const Oe = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2,
557
532
  easeIn: "cubic-bezier(0.4, 0, 1, 1)",
558
533
  // The sharp curve is used by objects that may return to the screen at any time.
559
534
  sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
560
- }, Ae = {
535
+ }, xe = {
561
536
  shortest: 150,
562
537
  shorter: 200,
563
538
  short: 250,
@@ -570,37 +545,37 @@ const Oe = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2,
570
545
  // recommended when something is leaving screen
571
546
  leavingScreen: 195
572
547
  };
573
- function G(e) {
548
+ function F(e) {
574
549
  return `${Math.round(e)}ms`;
575
550
  }
576
- function ke(e) {
551
+ function we(e) {
577
552
  if (!e)
578
553
  return 0;
579
554
  const t = e / 36;
580
555
  return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
581
556
  }
582
- function Ee(e) {
583
- const t = m({}, ve, e.easing), r = m({}, Ae, e.duration);
557
+ function Se(e) {
558
+ const t = m({}, ve, e.easing), n = m({}, xe, e.duration);
584
559
  return m({
585
- getAutoHeightDuration: ke,
586
- create: (i = ["all"], u = {}) => {
560
+ getAutoHeightDuration: we,
561
+ create: (a = ["all"], d = {}) => {
587
562
  const {
588
- duration: s = r.standard,
589
- easing: p = t.easeInOut,
590
- delay: g = 0
591
- } = u, f = T(u, xe);
563
+ duration: i = n.standard,
564
+ easing: l = t.easeInOut,
565
+ delay: p = 0
566
+ } = d, f = M(d, Ae);
592
567
  if (process.env.NODE_ENV !== "production") {
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(",")}].`);
568
+ const g = (c) => typeof c == "string", h = (c) => !isNaN(parseFloat(c));
569
+ !g(a) && !Array.isArray(a) && console.error('MUI: Argument "props" must be a string or Array.'), !h(i) && !g(i) && console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`), g(l) || console.error('MUI: Argument "easing" must be a string.'), !h(p) && !g(p) && 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
570
  }
596
- return (Array.isArray(i) ? i : [i]).map((d) => `${d} ${typeof s == "string" ? s : G(s)} ${p} ${typeof g == "string" ? g : G(g)}`).join(",");
571
+ return (Array.isArray(a) ? a : [a]).map((g) => `${g} ${typeof i == "string" ? i : F(i)} ${l} ${typeof p == "string" ? p : F(p)}`).join(",");
597
572
  }
598
573
  }, e, {
599
574
  easing: t,
600
- duration: r
575
+ duration: n
601
576
  });
602
577
  }
603
- const Me = {
578
+ const Ee = {
604
579
  mobileStepper: 1e3,
605
580
  fab: 1050,
606
581
  speedDial: 1050,
@@ -609,37 +584,37 @@ const Me = {
609
584
  modal: 1300,
610
585
  snackbar: 1400,
611
586
  tooltip: 1500
612
- }, we = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
613
- function Te(e = {}, ...t) {
587
+ }, Te = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
588
+ function ke(e = {}, ...t) {
614
589
  const {
615
- mixins: r = {},
616
- palette: n = {},
617
- transitions: i = {},
618
- typography: u = {}
619
- } = e, s = T(e, we);
590
+ mixins: n = {},
591
+ palette: r = {},
592
+ transitions: a = {},
593
+ typography: d = {}
594
+ } = e, i = M(e, Te);
620
595
  if (e.vars)
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 = pe(n), g = L(e);
623
- let f = w(g, {
624
- mixins: ae(g.breakpoints, r),
625
- palette: p,
596
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : j(18));
597
+ const l = ge(r), p = Y(e);
598
+ let f = E(p, {
599
+ mixins: oe(p.breakpoints, n),
600
+ palette: l,
626
601
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
627
- shadows: Oe.slice(),
628
- typography: be(p, u),
629
- transitions: Ee(i),
630
- zIndex: m({}, Me)
602
+ shadows: $e.slice(),
603
+ typography: me(l, d),
604
+ transitions: Se(a),
605
+ zIndex: m({}, Ee)
631
606
  });
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, $) => {
607
+ if (f = E(f, i), f = t.reduce((g, h) => E(g, h), f), process.env.NODE_ENV !== "production") {
608
+ const g = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], h = (c, O) => {
634
609
  let y;
635
610
  for (y in c) {
636
- const a = c[y];
637
- if (d.indexOf(y) !== -1 && Object.keys(a).length > 0) {
611
+ const o = c[y];
612
+ if (g.indexOf(y) !== -1 && Object.keys(o).length > 0) {
638
613
  if (process.env.NODE_ENV !== "production") {
639
- const l = Q("", y);
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({
614
+ const u = B("", y);
615
+ console.error([`MUI: The \`${O}\` 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 '&.${u}' syntax:`, JSON.stringify({
641
616
  root: {
642
- [`&.${l}`]: a
617
+ [`&.${u}`]: o
643
618
  }
644
619
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
645
620
  `));
@@ -649,23 +624,45 @@ function Te(e = {}, ...t) {
649
624
  }
650
625
  };
651
626
  Object.keys(f.components).forEach((c) => {
652
- const $ = f.components[c].styleOverrides;
653
- $ && c.indexOf("Mui") === 0 && h($, c);
627
+ const O = f.components[c].styleOverrides;
628
+ O && c.indexOf("Mui") === 0 && h(O, c);
654
629
  });
655
630
  }
656
- return f.unstable_sxConfig = m({}, q, s == null ? void 0 : s.unstable_sxConfig), f.unstable_sx = function(h) {
657
- return J({
631
+ return f.unstable_sxConfig = m({}, Q, i == null ? void 0 : i.unstable_sxConfig), f.unstable_sx = function(h) {
632
+ return X({
658
633
  sx: h,
659
634
  theme: this
660
635
  });
661
636
  }, f;
662
637
  }
638
+ const q = ke();
639
+ function De({
640
+ props: e,
641
+ name: t
642
+ }) {
643
+ return Z({
644
+ props: e,
645
+ name: t,
646
+ defaultTheme: q
647
+ });
648
+ }
649
+ const Ce = (e) => W(e) && e !== "classes", Ue = W, Pe = ee({
650
+ defaultTheme: q,
651
+ rootShouldForwardProp: Ce
652
+ });
663
653
  export {
664
- X as C,
654
+ re as C,
665
655
  Ie as a,
666
- re as b,
667
- Te as c,
668
- Ae as d,
669
- Q as g,
670
- ne as l
656
+ B as b,
657
+ _e as c,
658
+ ke as d,
659
+ q as e,
660
+ j as f,
661
+ je as g,
662
+ E as h,
663
+ xe as i,
664
+ Ue as j,
665
+ Ce as r,
666
+ Pe as s,
667
+ De as u
671
668
  };