@cgi-learning-hub/ui 1.0.0-dev.1721116816 → 1.0.0-dev.1721201350

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 (135) hide show
  1. package/dist/{Box-9LdfEXsf.js → Box-DIvTvtYV.js} +17 -16
  2. package/dist/Box-RP_U1h2I.cjs +1 -0
  3. package/dist/{ButtonBase-D-i7Mp_0.js → ButtonBase-BN5QfC5l.js} +15 -17
  4. package/dist/ButtonBase-BZD9sI_c.cjs +75 -0
  5. package/dist/CircularProgress-C_a44--B.cjs +28 -0
  6. package/dist/{CircularProgress-CA8vWmu-.js → CircularProgress-CgjNSTmB.js} +25 -26
  7. package/dist/DefaultButton-BOHgRr6G.cjs +1 -0
  8. package/dist/{DefaultButton--hIqP5--.js → DefaultButton-DVHllq2U.js} +26 -26
  9. package/dist/IconButton-DQ2kDyxh.cjs +2 -0
  10. package/dist/{IconButton-DqE3X4a8.js → IconButton-ysdlpOVe.js} +15 -16
  11. package/dist/InputBase-CCpgZdXG.cjs +3 -0
  12. package/dist/{InputBase-DP_Adhgc.js → InputBase-CR3zhf1t.js} +198 -197
  13. package/dist/LocalizationProvider-BGJCD07W.js +592 -0
  14. package/dist/LocalizationProvider-C0yQiDF6.cjs +5 -0
  15. package/dist/PaperHeader-D2LH9bW-.cjs +1 -0
  16. package/dist/{PaperHeader-FAOEsMM9.js → PaperHeader-DAzxEUlx.js} +21 -20
  17. package/dist/SearchInput-CvqVbm-Q.cjs +1 -0
  18. package/dist/{SearchInput-CsSDD5eI.js → SearchInput-DGF3NOLB.js} +28 -29
  19. package/dist/Tabs-C91eu1Uw.cjs +4 -0
  20. package/dist/{Tabs-3kwkNbaY.js → Tabs-CObzeuUj.js} +208 -209
  21. package/dist/TextInput-61DYDrkn.cjs +12 -0
  22. package/dist/{TextInput-D-KCBgdw.js → TextInput-CjRiCEow.js} +141 -143
  23. package/dist/TimePicker-C64jDcYa.js +24351 -0
  24. package/dist/TimePicker-DKHA-KBc.cjs +74 -0
  25. package/dist/Typography-CX8IJDUK.cjs +1 -0
  26. package/dist/{Typography-D9wqoWpo.js → Typography-DDYzN_3X.js} +18 -19
  27. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  28. package/dist/components/Dropzone/Dropzone.es.js +73 -103
  29. package/dist/components/Loader/Loader.cjs.js +1 -1
  30. package/dist/components/Loader/Loader.es.js +2 -3
  31. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  32. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +1 -2
  33. package/dist/components/LocalizationProvider/LocalizationProvider.cjs.js +1 -1
  34. package/dist/components/LocalizationProvider/LocalizationProvider.es.js +2 -2
  35. package/dist/components/LocalizationProvider/index.cjs.js +1 -1
  36. package/dist/components/LocalizationProvider/index.es.js +1 -1
  37. package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -1
  38. package/dist/components/PaperHeader/PaperHeader.es.js +2 -2
  39. package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +1 -1
  40. package/dist/components/PaperHeader/PaperHeader.stories.es.js +3 -3
  41. package/dist/components/PaperHeader/index.cjs.js +1 -1
  42. package/dist/components/PaperHeader/index.es.js +1 -1
  43. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
  44. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +2 -2
  45. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
  46. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +30 -31
  47. package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
  48. package/dist/components/buttons/DefaultButton/index.es.js +1 -1
  49. package/dist/components/buttons/IconButton.stories.cjs.js +1 -1
  50. package/dist/components/buttons/IconButton.stories.es.js +3 -3
  51. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
  52. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +1 -1
  53. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
  54. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
  55. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
  56. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +1 -1
  57. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
  58. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
  59. package/dist/components/buttons/index.cjs.js +1 -1
  60. package/dist/components/buttons/index.es.js +1 -1
  61. package/dist/components/feedback/QueryError/QueryError.cjs.js +1 -1
  62. package/dist/components/feedback/QueryError/QueryError.es.js +1 -1
  63. package/dist/components/index.cjs.js +1 -1
  64. package/dist/components/index.es.js +13 -13
  65. package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -1
  66. package/dist/components/inputs/PasswordInput/PasswordInput.es.js +7 -9
  67. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
  68. package/dist/components/inputs/SearchInput/SearchInput.es.js +3 -3
  69. package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -1
  70. package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +1 -1
  71. package/dist/components/inputs/SearchInput/index.cjs.js +1 -1
  72. package/dist/components/inputs/SearchInput/index.es.js +1 -1
  73. package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
  74. package/dist/components/inputs/TextInput/TextInput.es.js +1 -1
  75. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
  76. package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
  77. package/dist/components/inputs/TextInput/index.cjs.js +1 -1
  78. package/dist/components/inputs/TextInput/index.es.js +1 -1
  79. package/dist/components/inputs/index.cjs.js +1 -1
  80. package/dist/components/inputs/index.es.js +2 -2
  81. package/dist/components/lists/FileList/FileList.cjs.js +1 -1
  82. package/dist/components/lists/FileList/FileList.es.js +1 -1
  83. package/dist/components/lists/FileList/FileListItem.cjs.js +1 -1
  84. package/dist/components/lists/FileList/FileListItem.es.js +6 -6
  85. package/dist/components/lists/TabList.stories.cjs.js +1 -1
  86. package/dist/components/lists/TabList.stories.es.js +5 -5
  87. package/dist/createSvgIcon-BhmdtpFQ.cjs +1 -0
  88. package/dist/{createSvgIcon-DzqAq5L0.js → createSvgIcon-D0vr-xfg.js} +14 -15
  89. package/dist/{createSvgIcon-BB59Xsl7.cjs → createSvgIcon-DtHN6kOe.cjs} +1 -1
  90. package/dist/{createSvgIcon-BKAOek5F.js → createSvgIcon-XuLYHpIN.js} +2 -2
  91. package/dist/defaultTheme-43URU5cB.cjs +1 -0
  92. package/dist/defaultTheme-kWAisKX-.js +19 -0
  93. package/dist/{extendSxProp-DHqLFl-L.js → extendSxProp-BH27e4Uq.js} +47 -60
  94. package/dist/{extendSxProp-CaWP661G.cjs → extendSxProp-DguFtn4z.cjs} +2 -2
  95. package/dist/{fr-DQmRkdQN.cjs → fr-Cv05qO2i.cjs} +1 -1
  96. package/dist/{fr-CK9zQ_Ty.js → fr-VAA6DQIZ.js} +20 -34
  97. package/dist/identifier-DN9zMdjb.cjs +42 -0
  98. package/dist/{identifier-DRpIhLLR.js → identifier-wD7TMRod.js} +675 -703
  99. package/dist/index.cjs.js +1 -1
  100. package/dist/index.es.js +14 -15
  101. package/dist/{refType-Cn5gyhZI.js → refType-DNsX9F1k.js} +1 -1
  102. package/dist/{refType-DY4akPK-.cjs → refType-P4W7j6GU.cjs} +1 -1
  103. package/dist/styled-DBkKGFww.js +496 -0
  104. package/dist/styled-vrKxhnRS.cjs +17 -0
  105. package/dist/{useSlotProps-DUT5Ou9s.js → useTheme-0LP2yOaO.js} +35 -35
  106. package/dist/useTheme-BjiEuL2C.cjs +1 -0
  107. package/dist/useTheme-BlWZbBeO.cjs +1 -0
  108. package/dist/useTheme-DmZo1zFM.js +18 -0
  109. package/dist/useThemeProps-BbYOXO_x.cjs +1 -0
  110. package/dist/useThemeProps-C1QhfJXI.js +17 -0
  111. package/dist/useThemeProps-CuBdueUZ.js +27 -0
  112. package/dist/useThemeProps-zfqmINoS.cjs +1 -0
  113. package/package.json +16 -14
  114. package/dist/Box-DZHlB1JL.cjs +0 -1
  115. package/dist/ButtonBase-s9fq-FWa.cjs +0 -75
  116. package/dist/CircularProgress-BRObeUJf.cjs +0 -28
  117. package/dist/DefaultButton-CFsQZCt0.cjs +0 -1
  118. package/dist/IconButton-Ciyl-3i6.cjs +0 -2
  119. package/dist/InputBase-DrfyjvX2.cjs +0 -3
  120. package/dist/LocalizationProvider-DdSFKwmg.js +0 -577
  121. package/dist/LocalizationProvider-bb4YzxZc.cjs +0 -5
  122. package/dist/PaperHeader-Cym2X2f9.cjs +0 -1
  123. package/dist/SearchInput-DLB_reMI.cjs +0 -1
  124. package/dist/Tabs-DpjAr2Z-.cjs +0 -4
  125. package/dist/TextInput-BcCK6QOQ.cjs +0 -12
  126. package/dist/TimePicker-P_IrNQee.js +0 -22670
  127. package/dist/TimePicker-zrUL2wS7.cjs +0 -73
  128. package/dist/Typography-BWqNUG5K.cjs +0 -1
  129. package/dist/createSvgIcon-DYS0kjMM.cjs +0 -1
  130. package/dist/identifier-yw8YLxO3.cjs +0 -42
  131. package/dist/styled-BCfAQpid.cjs +0 -17
  132. package/dist/styled-LH7lmhcc.js +0 -474
  133. package/dist/useSlotProps-CabDgsss.cjs +0 -1
  134. package/dist/useThemeProps-BSLCJPn5.cjs +0 -1
  135. package/dist/useThemeProps-DQoLAgYV.js +0 -55
@@ -1,29 +1,28 @@
1
- import { d as me, e as Le, _ as b, h as ae, P as t } from "./identifier-DRpIhLLR.js";
1
+ import { d as me, e as Le, _ as b, h as ae, P as o } from "./identifier-wD7TMRod.js";
2
2
  import * as u from "react";
3
- import { g as ve, c as k } from "./extendSxProp-DHqLFl-L.js";
4
- import { u as Se } from "./useThemeProps-DQoLAgYV.js";
5
- import { s as _, c as ye, a as so } from "./styled-LH7lmhcc.js";
3
+ import { g as ve, c as k } from "./extendSxProp-BH27e4Uq.js";
4
+ import { s as _, u as Se, c as ye, a as st } from "./styled-DBkKGFww.js";
6
5
  import { jsxs as Q, jsx as C } from "react/jsx-runtime";
7
- import { B as ke } from "./ButtonBase-D-i7Mp_0.js";
8
- import { u as ao } from "./unsupportedProp-BuVD30Gh.js";
9
- import { u as Fe, a as se, b as io } from "./useSlotProps-DUT5Ou9s.js";
10
- import { u as co } from "./useForkRef-DwN_Iz9R.js";
11
- import { a as $e, d as Ae, o as uo } from "./ownerWindow-C7EH1lr6.js";
6
+ import { B as ke } from "./ButtonBase-BN5QfC5l.js";
7
+ import { u as at } from "./unsupportedProp-BuVD30Gh.js";
8
+ import { u as Fe, a as se, b as it } from "./useTheme-0LP2yOaO.js";
9
+ import { u as ct } from "./useForkRef-DwN_Iz9R.js";
10
+ import { a as $e, d as Ae, o as dt } from "./ownerWindow-C7EH1lr6.js";
12
11
  import { u as be } from "./useTimeout-BdvDipeg.js";
13
- import { r as po } from "./refType-Cn5gyhZI.js";
14
- import { c as je } from "./createSvgIcon-DzqAq5L0.js";
12
+ import { r as ut } from "./refType-DNsX9F1k.js";
13
+ import { c as De } from "./createSvgIcon-D0vr-xfg.js";
15
14
  let X;
16
- function De() {
15
+ function je() {
17
16
  if (X)
18
17
  return X;
19
- const e = document.createElement("div"), o = document.createElement("div");
20
- return o.style.width = "10px", o.style.height = "1px", e.appendChild(o), e.dir = "rtl", e.style.fontSize = "14px", e.style.width = "4px", e.style.height = "1px", e.style.position = "absolute", e.style.top = "-1000px", e.style.overflow = "scroll", document.body.appendChild(e), X = "reverse", e.scrollLeft > 0 ? X = "default" : (e.scrollLeft = 1, e.scrollLeft === 0 && (X = "negative")), document.body.removeChild(e), X;
18
+ const e = document.createElement("div"), t = document.createElement("div");
19
+ return t.style.width = "10px", t.style.height = "1px", e.appendChild(t), e.dir = "rtl", e.style.fontSize = "14px", e.style.width = "4px", e.style.height = "1px", e.style.position = "absolute", e.style.top = "-1000px", e.style.overflow = "scroll", document.body.appendChild(e), X = "reverse", e.scrollLeft > 0 ? X = "default" : (e.scrollLeft = 1, e.scrollLeft === 0 && (X = "negative")), document.body.removeChild(e), X;
21
20
  }
22
- function fo(e, o) {
21
+ function pt(e, t) {
23
22
  const n = e.scrollLeft;
24
- if (o !== "rtl")
23
+ if (t !== "rtl")
25
24
  return n;
26
- switch (De()) {
25
+ switch (je()) {
27
26
  case "negative":
28
27
  return e.scrollWidth - e.clientWidth + n;
29
28
  case "reverse":
@@ -32,12 +31,12 @@ function fo(e, o) {
32
31
  return n;
33
32
  }
34
33
  }
35
- function bo(e) {
34
+ function ft(e) {
36
35
  return me("MuiTab", e);
37
36
  }
38
- const ho = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper"]), L = ho, mo = ["className", "disabled", "disableFocusRipple", "fullWidth", "icon", "iconPosition", "indicator", "label", "onChange", "onClick", "onFocus", "selected", "selectionFollowsFocus", "textColor", "value", "wrapped"], vo = (e) => {
37
+ const bt = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper"]), L = bt, ht = ["className", "disabled", "disableFocusRipple", "fullWidth", "icon", "iconPosition", "indicator", "label", "onChange", "onClick", "onFocus", "selected", "selectionFollowsFocus", "textColor", "value", "wrapped"], mt = (e) => {
39
38
  const {
40
- classes: o,
39
+ classes: t,
41
40
  textColor: n,
42
41
  fullWidth: c,
43
42
  wrapped: i,
@@ -49,21 +48,21 @@ const ho = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
49
48
  root: ["root", d && m && "labelIcon", `textColor${Le(n)}`, c && "fullWidth", i && "wrapped", h && "selected", p && "disabled"],
50
49
  iconWrapper: ["iconWrapper"]
51
50
  };
52
- return ye(y, bo, o);
53
- }, So = _(ke, {
51
+ return ye(y, ft, t);
52
+ }, vt = _(ke, {
54
53
  name: "MuiTab",
55
54
  slot: "Root",
56
- overridesResolver: (e, o) => {
55
+ overridesResolver: (e, t) => {
57
56
  const {
58
57
  ownerState: n
59
58
  } = e;
60
- return [o.root, n.label && n.icon && o.labelIcon, o[`textColor${Le(n.textColor)}`], n.fullWidth && o.fullWidth, n.wrapped && o.wrapped, {
61
- [`& .${L.iconWrapper}`]: o.iconWrapper
59
+ return [t.root, n.label && n.icon && t.labelIcon, t[`textColor${Le(n.textColor)}`], n.fullWidth && t.fullWidth, n.wrapped && t.wrapped, {
60
+ [`& .${L.iconWrapper}`]: t.iconWrapper
62
61
  }];
63
62
  }
64
63
  })(({
65
64
  theme: e,
66
- ownerState: o
65
+ ownerState: t
67
66
  }) => b({}, e.typography.button, {
68
67
  maxWidth: 360,
69
68
  minWidth: 90,
@@ -74,24 +73,24 @@ const ho = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
74
73
  overflow: "hidden",
75
74
  whiteSpace: "normal",
76
75
  textAlign: "center"
77
- }, o.label && {
78
- flexDirection: o.iconPosition === "top" || o.iconPosition === "bottom" ? "column" : "row"
76
+ }, t.label && {
77
+ flexDirection: t.iconPosition === "top" || t.iconPosition === "bottom" ? "column" : "row"
79
78
  }, {
80
79
  lineHeight: 1.25
81
- }, o.icon && o.label && {
80
+ }, t.icon && t.label && {
82
81
  minHeight: 72,
83
82
  paddingTop: 9,
84
83
  paddingBottom: 9,
85
- [`& > .${L.iconWrapper}`]: b({}, o.iconPosition === "top" && {
84
+ [`& > .${L.iconWrapper}`]: b({}, t.iconPosition === "top" && {
86
85
  marginBottom: 6
87
- }, o.iconPosition === "bottom" && {
86
+ }, t.iconPosition === "bottom" && {
88
87
  marginTop: 6
89
- }, o.iconPosition === "start" && {
88
+ }, t.iconPosition === "start" && {
90
89
  marginRight: e.spacing(1)
91
- }, o.iconPosition === "end" && {
90
+ }, t.iconPosition === "end" && {
92
91
  marginLeft: e.spacing(1)
93
92
  })
94
- }, o.textColor === "inherit" && {
93
+ }, t.textColor === "inherit" && {
95
94
  color: "inherit",
96
95
  opacity: 0.6,
97
96
  // same opacity as theme.palette.text.secondary
@@ -101,7 +100,7 @@ const ho = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
101
100
  [`&.${L.disabled}`]: {
102
101
  opacity: (e.vars || e).palette.action.disabledOpacity
103
102
  }
104
- }, o.textColor === "primary" && {
103
+ }, t.textColor === "primary" && {
105
104
  color: (e.vars || e).palette.text.secondary,
106
105
  [`&.${L.selected}`]: {
107
106
  color: (e.vars || e).palette.primary.main
@@ -109,7 +108,7 @@ const ho = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
109
108
  [`&.${L.disabled}`]: {
110
109
  color: (e.vars || e).palette.text.disabled
111
110
  }
112
- }, o.textColor === "secondary" && {
111
+ }, t.textColor === "secondary" && {
113
112
  color: (e.vars || e).palette.text.secondary,
114
113
  [`&.${L.selected}`]: {
115
114
  color: (e.vars || e).palette.secondary.main
@@ -117,16 +116,16 @@ const ho = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
117
116
  [`&.${L.disabled}`]: {
118
117
  color: (e.vars || e).palette.text.disabled
119
118
  }
120
- }, o.fullWidth && {
119
+ }, t.fullWidth && {
121
120
  flexShrink: 1,
122
121
  flexGrow: 1,
123
122
  flexBasis: 0,
124
123
  maxWidth: "none"
125
- }, o.wrapped && {
124
+ }, t.wrapped && {
126
125
  fontSize: e.typography.pxToRem(12)
127
- })), _e = /* @__PURE__ */ u.forwardRef(function(o, n) {
126
+ })), _e = /* @__PURE__ */ u.forwardRef(function(t, n) {
128
127
  const c = Se({
129
- props: o,
128
+ props: t,
130
129
  name: "MuiTab"
131
130
  }), {
132
131
  className: i,
@@ -150,7 +149,7 @@ const ho = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
150
149
  textColor: H = "inherit",
151
150
  value: N,
152
151
  wrapped: ie = !1
153
- } = c, V = ae(c, mo), Y = b({}, c, {
152
+ } = c, V = ae(c, ht), Y = b({}, c, {
154
153
  disabled: d,
155
154
  disableFocusRipple: m,
156
155
  selected: E,
@@ -160,14 +159,14 @@ const ho = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
160
159
  fullWidth: h,
161
160
  textColor: H,
162
161
  wrapped: ie
163
- }), U = vo(Y), $ = p && T && /* @__PURE__ */ u.isValidElement(p) ? /* @__PURE__ */ u.cloneElement(p, {
162
+ }), U = mt(Y), $ = p && T && /* @__PURE__ */ u.isValidElement(p) ? /* @__PURE__ */ u.cloneElement(p, {
164
163
  className: k(U.iconWrapper, p.props.className)
165
164
  }) : p, Z = (M) => {
166
165
  !E && v && v(M, N), I && I(M);
167
166
  }, P = (M) => {
168
167
  g && !E && v && v(M, N), F && F(M);
169
168
  };
170
- return /* @__PURE__ */ Q(So, b({
169
+ return /* @__PURE__ */ Q(vt, b({
171
170
  focusRipple: !m,
172
171
  className: k(U.root, i),
173
172
  ref: n,
@@ -195,25 +194,25 @@ process.env.NODE_ENV !== "production" && (_e.propTypes = {
195
194
  * This prop isn't supported.
196
195
  * Use the `component` prop if you need to change the children structure.
197
196
  */
198
- children: ao,
197
+ children: at,
199
198
  /**
200
199
  * Override or extend the styles applied to the component.
201
200
  */
202
- classes: t.object,
201
+ classes: o.object,
203
202
  /**
204
203
  * @ignore
205
204
  */
206
- className: t.string,
205
+ className: o.string,
207
206
  /**
208
207
  * If `true`, the component is disabled.
209
208
  * @default false
210
209
  */
211
- disabled: t.bool,
210
+ disabled: o.bool,
212
211
  /**
213
212
  * If `true`, the keyboard focus ripple is disabled.
214
213
  * @default false
215
214
  */
216
- disableFocusRipple: t.bool,
215
+ disableFocusRipple: o.bool,
217
216
  /**
218
217
  * If `true`, the ripple effect is disabled.
219
218
  *
@@ -221,64 +220,64 @@ process.env.NODE_ENV !== "production" && (_e.propTypes = {
221
220
  * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
222
221
  * @default false
223
222
  */
224
- disableRipple: t.bool,
223
+ disableRipple: o.bool,
225
224
  /**
226
225
  * The icon to display.
227
226
  */
228
- icon: t.oneOfType([t.element, t.string]),
227
+ icon: o.oneOfType([o.element, o.string]),
229
228
  /**
230
229
  * The position of the icon relative to the label.
231
230
  * @default 'top'
232
231
  */
233
- iconPosition: t.oneOf(["bottom", "end", "start", "top"]),
232
+ iconPosition: o.oneOf(["bottom", "end", "start", "top"]),
234
233
  /**
235
234
  * The label element.
236
235
  */
237
- label: t.node,
236
+ label: o.node,
238
237
  /**
239
238
  * @ignore
240
239
  */
241
- onChange: t.func,
240
+ onChange: o.func,
242
241
  /**
243
242
  * @ignore
244
243
  */
245
- onClick: t.func,
244
+ onClick: o.func,
246
245
  /**
247
246
  * @ignore
248
247
  */
249
- onFocus: t.func,
248
+ onFocus: o.func,
250
249
  /**
251
250
  * The system prop that allows defining system overrides as well as additional CSS styles.
252
251
  */
253
- sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
252
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
254
253
  /**
255
254
  * You can provide your own value. Otherwise, we fallback to the child position index.
256
255
  */
257
- value: t.any,
256
+ value: o.any,
258
257
  /**
259
258
  * Tab labels appear in a single row.
260
259
  * They can use a second line if needed.
261
260
  * @default false
262
261
  */
263
- wrapped: t.bool
262
+ wrapped: o.bool
264
263
  });
265
- const Qo = _e, yo = je(/* @__PURE__ */ C("path", {
264
+ const Gt = _e, St = De(/* @__PURE__ */ C("path", {
266
265
  d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
267
- }), "KeyboardArrowLeft"), go = je(/* @__PURE__ */ C("path", {
266
+ }), "KeyboardArrowLeft"), yt = De(/* @__PURE__ */ C("path", {
268
267
  d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
269
268
  }), "KeyboardArrowRight");
270
- function To(e) {
269
+ function gt(e) {
271
270
  return (1 + Math.sin(Math.PI * e - Math.PI / 2)) / 2;
272
271
  }
273
- function xo(e, o, n, c = {}, i = () => {
272
+ function Tt(e, t, n, c = {}, i = () => {
274
273
  }) {
275
274
  const {
276
- ease: d = To,
275
+ ease: d = gt,
277
276
  duration: m = 300
278
277
  // standard
279
278
  } = c;
280
279
  let h = null;
281
- const p = o[e];
280
+ const p = t[e];
282
281
  let y = !1;
283
282
  const w = () => {
284
283
  y = !0;
@@ -289,7 +288,7 @@ function xo(e, o, n, c = {}, i = () => {
289
288
  }
290
289
  h === null && (h = v);
291
290
  const I = Math.min(1, (v - h) / m);
292
- if (o[e] = d(I) * (n - p) + p, I >= 1) {
291
+ if (t[e] = d(I) * (n - p) + p, I >= 1) {
293
292
  requestAnimationFrame(() => {
294
293
  i(null);
295
294
  });
@@ -299,7 +298,7 @@ function xo(e, o, n, c = {}, i = () => {
299
298
  };
300
299
  return p === n ? (i(new Error("Element already at target position")), w) : (requestAnimationFrame(T), w);
301
300
  }
302
- const Bo = ["onChange"], Co = {
301
+ const xt = ["onChange"], Bt = {
303
302
  width: 99,
304
303
  height: 99,
305
304
  position: "absolute",
@@ -308,48 +307,48 @@ const Bo = ["onChange"], Co = {
308
307
  };
309
308
  function He(e) {
310
309
  const {
311
- onChange: o
312
- } = e, n = ae(e, Bo), c = u.useRef(), i = u.useRef(null), d = () => {
310
+ onChange: t
311
+ } = e, n = ae(e, xt), c = u.useRef(), i = u.useRef(null), d = () => {
313
312
  c.current = i.current.offsetHeight - i.current.clientHeight;
314
313
  };
315
- return co(() => {
314
+ return ct(() => {
316
315
  const m = Ae(() => {
317
316
  const p = c.current;
318
- d(), p !== c.current && o(c.current);
317
+ d(), p !== c.current && t(c.current);
319
318
  }), h = $e(i.current);
320
319
  return h.addEventListener("resize", m), () => {
321
320
  m.clear(), h.removeEventListener("resize", m);
322
321
  };
323
- }, [o]), u.useEffect(() => {
324
- d(), o(c.current);
325
- }, [o]), /* @__PURE__ */ C("div", b({
326
- style: Co,
322
+ }, [t]), u.useEffect(() => {
323
+ d(), t(c.current);
324
+ }, [t]), /* @__PURE__ */ C("div", b({
325
+ style: Bt,
327
326
  ref: i
328
327
  }, n));
329
328
  }
330
329
  process.env.NODE_ENV !== "production" && (He.propTypes = {
331
- onChange: t.func.isRequired
330
+ onChange: o.func.isRequired
332
331
  });
333
- function wo(e) {
332
+ function Ct(e) {
334
333
  return me("MuiTabScrollButton", e);
335
334
  }
336
- const Io = ve("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), Eo = ["className", "slots", "slotProps", "direction", "orientation", "disabled"], Oo = (e) => {
335
+ const wt = ve("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), It = ["className", "slots", "slotProps", "direction", "orientation", "disabled"], Et = (e) => {
337
336
  const {
338
- classes: o,
337
+ classes: t,
339
338
  orientation: n,
340
339
  disabled: c
341
340
  } = e;
342
341
  return ye({
343
342
  root: ["root", n, c && "disabled"]
344
- }, wo, o);
345
- }, No = _(ke, {
343
+ }, Ct, t);
344
+ }, Ot = _(ke, {
346
345
  name: "MuiTabScrollButton",
347
346
  slot: "Root",
348
- overridesResolver: (e, o) => {
347
+ overridesResolver: (e, t) => {
349
348
  const {
350
349
  ownerState: n
351
350
  } = e;
352
- return [o.root, n.orientation && o[n.orientation]];
351
+ return [t.root, n.orientation && t[n.orientation]];
353
352
  }
354
353
  })(({
355
354
  ownerState: e
@@ -357,7 +356,7 @@ const Io = ve("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
357
356
  width: 40,
358
357
  flexShrink: 0,
359
358
  opacity: 0.8,
360
- [`&.${Io.disabled}`]: {
359
+ [`&.${wt.disabled}`]: {
361
360
  opacity: 0
362
361
  }
363
362
  }, e.orientation === "vertical" && {
@@ -366,19 +365,19 @@ const Io = ve("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
366
365
  "& svg": {
367
366
  transform: `rotate(${e.isRtl ? -90 : 90}deg)`
368
367
  }
369
- })), Ve = /* @__PURE__ */ u.forwardRef(function(o, n) {
368
+ })), Ve = /* @__PURE__ */ u.forwardRef(function(t, n) {
370
369
  var c, i;
371
370
  const d = Se({
372
- props: o,
371
+ props: t,
373
372
  name: "MuiTabScrollButton"
374
373
  }), {
375
374
  className: m,
376
375
  slots: h = {},
377
376
  slotProps: p = {},
378
377
  direction: y
379
- } = d, w = ae(d, Eo), T = Fe(), v = b({
378
+ } = d, w = ae(d, It), T = Fe(), v = b({
380
379
  isRtl: T
381
- }, d), I = Oo(v), F = (c = h.StartScrollButtonIcon) != null ? c : yo, E = (i = h.EndScrollButtonIcon) != null ? i : go, g = se({
380
+ }, d), I = Et(v), F = (c = h.StartScrollButtonIcon) != null ? c : St, E = (i = h.EndScrollButtonIcon) != null ? i : yt, g = se({
382
381
  elementType: F,
383
382
  externalSlotProps: p.startScrollButtonIcon,
384
383
  additionalProps: {
@@ -393,7 +392,7 @@ const Io = ve("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
393
392
  },
394
393
  ownerState: v
395
394
  });
396
- return /* @__PURE__ */ C(No, b({
395
+ return /* @__PURE__ */ C(Ot, b({
397
396
  component: "div",
398
397
  className: k(I.root, m),
399
398
  ref: n,
@@ -412,55 +411,55 @@ process.env.NODE_ENV !== "production" && (Ve.propTypes = {
412
411
  /**
413
412
  * The content of the component.
414
413
  */
415
- children: t.node,
414
+ children: o.node,
416
415
  /**
417
416
  * Override or extend the styles applied to the component.
418
417
  */
419
- classes: t.object,
418
+ classes: o.object,
420
419
  /**
421
420
  * @ignore
422
421
  */
423
- className: t.string,
422
+ className: o.string,
424
423
  /**
425
424
  * The direction the button should indicate.
426
425
  */
427
- direction: t.oneOf(["left", "right"]).isRequired,
426
+ direction: o.oneOf(["left", "right"]).isRequired,
428
427
  /**
429
428
  * If `true`, the component is disabled.
430
429
  * @default false
431
430
  */
432
- disabled: t.bool,
431
+ disabled: o.bool,
433
432
  /**
434
433
  * The component orientation (layout flow direction).
435
434
  */
436
- orientation: t.oneOf(["horizontal", "vertical"]).isRequired,
435
+ orientation: o.oneOf(["horizontal", "vertical"]).isRequired,
437
436
  /**
438
437
  * The extra props for the slot components.
439
438
  * You can override the existing props or add new ones.
440
439
  * @default {}
441
440
  */
442
- slotProps: t.shape({
443
- endScrollButtonIcon: t.oneOfType([t.func, t.object]),
444
- startScrollButtonIcon: t.oneOfType([t.func, t.object])
441
+ slotProps: o.shape({
442
+ endScrollButtonIcon: o.oneOfType([o.func, o.object]),
443
+ startScrollButtonIcon: o.oneOfType([o.func, o.object])
445
444
  }),
446
445
  /**
447
446
  * The components used for each slot inside.
448
447
  * @default {}
449
448
  */
450
- slots: t.shape({
451
- EndScrollButtonIcon: t.elementType,
452
- StartScrollButtonIcon: t.elementType
449
+ slots: o.shape({
450
+ EndScrollButtonIcon: o.elementType,
451
+ StartScrollButtonIcon: o.elementType
453
452
  }),
454
453
  /**
455
454
  * The system prop that allows defining system overrides as well as additional CSS styles.
456
455
  */
457
- sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object])
456
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
458
457
  });
459
- function Mo(e) {
458
+ function Nt(e) {
460
459
  return me("MuiTabs", e);
461
460
  }
462
- const Ro = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), he = Ro, Po = ["aria-label", "aria-labelledby", "action", "centered", "children", "className", "component", "allowScrollButtonsMobile", "indicatorColor", "onChange", "orientation", "ScrollButtonComponent", "scrollButtons", "selectionFollowsFocus", "slots", "slotProps", "TabIndicatorProps", "TabScrollButtonProps", "textColor", "value", "variant", "visibleScrollbar"], Re = (e, o) => e === o ? e.firstChild : o && o.nextElementSibling ? o.nextElementSibling : e.firstChild, Pe = (e, o) => e === o ? e.lastChild : o && o.previousElementSibling ? o.previousElementSibling : e.lastChild, ne = (e, o, n) => {
463
- let c = !1, i = n(e, o);
461
+ const Mt = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), he = Mt, Rt = ["aria-label", "aria-labelledby", "action", "centered", "children", "className", "component", "allowScrollButtonsMobile", "indicatorColor", "onChange", "orientation", "ScrollButtonComponent", "scrollButtons", "selectionFollowsFocus", "slots", "slotProps", "TabIndicatorProps", "TabScrollButtonProps", "textColor", "value", "variant", "visibleScrollbar"], Re = (e, t) => e === t ? e.firstChild : t && t.nextElementSibling ? t.nextElementSibling : e.firstChild, Pe = (e, t) => e === t ? e.lastChild : t && t.previousElementSibling ? t.previousElementSibling : e.lastChild, ne = (e, t, n) => {
462
+ let c = !1, i = n(e, t);
464
463
  for (; i; ) {
465
464
  if (i === e.firstChild) {
466
465
  if (c)
@@ -475,9 +474,9 @@ const Ro = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
475
474
  return;
476
475
  }
477
476
  }
478
- }, Wo = (e) => {
477
+ }, Pt = (e) => {
479
478
  const {
480
- vertical: o,
479
+ vertical: t,
481
480
  fixed: n,
482
481
  hideScrollbar: c,
483
482
  scrollableX: i,
@@ -487,30 +486,30 @@ const Ro = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
487
486
  classes: p
488
487
  } = e;
489
488
  return ye({
490
- root: ["root", o && "vertical"],
489
+ root: ["root", t && "vertical"],
491
490
  scroller: ["scroller", n && "fixed", c && "hideScrollbar", i && "scrollableX", d && "scrollableY"],
492
- flexContainer: ["flexContainer", o && "flexContainerVertical", m && "centered"],
491
+ flexContainer: ["flexContainer", t && "flexContainerVertical", m && "centered"],
493
492
  indicator: ["indicator"],
494
493
  scrollButtons: ["scrollButtons", h && "scrollButtonsHideMobile"],
495
494
  scrollableX: [i && "scrollableX"],
496
495
  hideScrollbar: [c && "hideScrollbar"]
497
- }, Mo, p);
498
- }, zo = _("div", {
496
+ }, Nt, p);
497
+ }, Wt = _("div", {
499
498
  name: "MuiTabs",
500
499
  slot: "Root",
501
- overridesResolver: (e, o) => {
500
+ overridesResolver: (e, t) => {
502
501
  const {
503
502
  ownerState: n
504
503
  } = e;
505
504
  return [{
506
- [`& .${he.scrollButtons}`]: o.scrollButtons
505
+ [`& .${he.scrollButtons}`]: t.scrollButtons
507
506
  }, {
508
- [`& .${he.scrollButtons}`]: n.scrollButtonsHideMobile && o.scrollButtonsHideMobile
509
- }, o.root, n.vertical && o.vertical];
507
+ [`& .${he.scrollButtons}`]: n.scrollButtonsHideMobile && t.scrollButtonsHideMobile
508
+ }, t.root, n.vertical && t.vertical];
510
509
  }
511
510
  })(({
512
511
  ownerState: e,
513
- theme: o
512
+ theme: t
514
513
  }) => b({
515
514
  overflow: "hidden",
516
515
  minHeight: 48,
@@ -521,18 +520,18 @@ const Ro = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
521
520
  flexDirection: "column"
522
521
  }, e.scrollButtonsHideMobile && {
523
522
  [`& .${he.scrollButtons}`]: {
524
- [o.breakpoints.down("sm")]: {
523
+ [t.breakpoints.down("sm")]: {
525
524
  display: "none"
526
525
  }
527
526
  }
528
- })), Lo = _("div", {
527
+ })), zt = _("div", {
529
528
  name: "MuiTabs",
530
529
  slot: "Scroller",
531
- overridesResolver: (e, o) => {
530
+ overridesResolver: (e, t) => {
532
531
  const {
533
532
  ownerState: n
534
533
  } = e;
535
- return [o.scroller, n.fixed && o.fixed, n.hideScrollbar && o.hideScrollbar, n.scrollableX && o.scrollableX, n.scrollableY && o.scrollableY];
534
+ return [t.scroller, n.fixed && t.fixed, n.hideScrollbar && t.hideScrollbar, n.scrollableX && t.scrollableX, n.scrollableY && t.scrollableY];
536
535
  }
537
536
  })(({
538
537
  ownerState: e
@@ -558,14 +557,14 @@ const Ro = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
558
557
  }, e.scrollableY && {
559
558
  overflowY: "auto",
560
559
  overflowX: "hidden"
561
- })), ko = _("div", {
560
+ })), Lt = _("div", {
562
561
  name: "MuiTabs",
563
562
  slot: "FlexContainer",
564
- overridesResolver: (e, o) => {
563
+ overridesResolver: (e, t) => {
565
564
  const {
566
565
  ownerState: n
567
566
  } = e;
568
- return [o.flexContainer, n.vertical && o.flexContainerVertical, n.centered && o.centered];
567
+ return [t.flexContainer, n.vertical && t.flexContainerVertical, n.centered && t.centered];
569
568
  }
570
569
  })(({
571
570
  ownerState: e
@@ -575,28 +574,28 @@ const Ro = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
575
574
  flexDirection: "column"
576
575
  }, e.centered && {
577
576
  justifyContent: "center"
578
- })), Fo = _("span", {
577
+ })), kt = _("span", {
579
578
  name: "MuiTabs",
580
579
  slot: "Indicator",
581
- overridesResolver: (e, o) => o.indicator
580
+ overridesResolver: (e, t) => t.indicator
582
581
  })(({
583
582
  ownerState: e,
584
- theme: o
583
+ theme: t
585
584
  }) => b({
586
585
  position: "absolute",
587
586
  height: 2,
588
587
  bottom: 0,
589
588
  width: "100%",
590
- transition: o.transitions.create()
589
+ transition: t.transitions.create()
591
590
  }, e.indicatorColor === "primary" && {
592
- backgroundColor: (o.vars || o).palette.primary.main
591
+ backgroundColor: (t.vars || t).palette.primary.main
593
592
  }, e.indicatorColor === "secondary" && {
594
- backgroundColor: (o.vars || o).palette.secondary.main
593
+ backgroundColor: (t.vars || t).palette.secondary.main
595
594
  }, e.vertical && {
596
595
  height: "100%",
597
596
  width: 2,
598
597
  right: 0
599
- })), $o = _(He)({
598
+ })), Ft = _(He)({
600
599
  overflowX: "auto",
601
600
  overflowY: "hidden",
602
601
  // Hide dimensionless scrollbar on macOS
@@ -608,11 +607,11 @@ const Ro = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
608
607
  }
609
608
  }), We = {};
610
609
  let ze = !1;
611
- const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
610
+ const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
612
611
  const c = Se({
613
- props: o,
612
+ props: t,
614
613
  name: "MuiTabs"
615
- }), i = io(), d = Fe(), {
614
+ }), i = it(), d = Fe(), {
616
615
  "aria-label": m,
617
616
  "aria-labelledby": h,
618
617
  action: p,
@@ -635,7 +634,7 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
635
634
  value: P,
636
635
  variant: M = "standard",
637
636
  visibleScrollbar: ce = !1
638
- } = c, Xe = ae(c, Po), x = M === "scrollable", B = g === "vertical", K = B ? "scrollTop" : "scrollLeft", ee = B ? "top" : "left", oe = B ? "bottom" : "right", de = B ? "clientHeight" : "clientWidth", q = B ? "height" : "width", A = b({}, c, {
637
+ } = c, Xe = ae(c, Rt), x = M === "scrollable", B = g === "vertical", K = B ? "scrollTop" : "scrollLeft", ee = B ? "top" : "left", te = B ? "bottom" : "right", de = B ? "clientHeight" : "clientWidth", q = B ? "height" : "width", A = b({}, c, {
639
638
  component: v,
640
639
  allowScrollButtonsMobile: I,
641
640
  indicatorColor: F,
@@ -651,7 +650,7 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
651
650
  scrollableY: x && B,
652
651
  centered: y && !x,
653
652
  scrollButtonsHideMobile: !I
654
- }), W = Wo(A), Ye = se({
653
+ }), W = Pt(A), Ye = se({
655
654
  elementType: V.StartScrollButtonIcon,
656
655
  externalSlotProps: Y.startScrollButtonIcon,
657
656
  ownerState: A
@@ -661,10 +660,10 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
661
660
  ownerState: A
662
661
  });
663
662
  process.env.NODE_ENV !== "production" && y && x && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
664
- const [ge, qe] = u.useState(!1), [j, Te] = u.useState(We), [xe, Ge] = u.useState(!1), [Be, Je] = u.useState(!1), [Ce, Qe] = u.useState(!1), [we, Ze] = u.useState({
663
+ const [ge, qe] = u.useState(!1), [D, Te] = u.useState(We), [xe, Ge] = u.useState(!1), [Be, Je] = u.useState(!1), [Ce, Qe] = u.useState(!1), [we, Ze] = u.useState({
665
664
  overflow: "hidden",
666
665
  scrollbarWidth: 0
667
- }), te = /* @__PURE__ */ new Map(), R = u.useRef(null), D = u.useRef(null), Ie = () => {
666
+ }), oe = /* @__PURE__ */ new Map(), R = u.useRef(null), j = u.useRef(null), Ie = () => {
668
667
  const r = R.current;
669
668
  let l;
670
669
  if (r) {
@@ -673,7 +672,7 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
673
672
  clientWidth: r.clientWidth,
674
673
  scrollLeft: r.scrollLeft,
675
674
  scrollTop: r.scrollTop,
676
- scrollLeftNormalized: fo(r, d ? "rtl" : "ltr"),
675
+ scrollLeftNormalized: pt(r, d ? "rtl" : "ltr"),
677
676
  scrollWidth: r.scrollWidth,
678
677
  top: a.top,
679
678
  bottom: a.bottom,
@@ -683,10 +682,10 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
683
682
  }
684
683
  let s;
685
684
  if (r && P !== !1) {
686
- const a = D.current.children;
685
+ const a = j.current.children;
687
686
  if (a.length > 0) {
688
- const f = a[te.get(P)];
689
- process.env.NODE_ENV !== "production" && (f || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${P}".`, te.keys ? `You can provide one of the following values: ${Array.from(te.keys()).join(", ")}.` : null].join(`
687
+ const f = a[oe.get(P)];
688
+ process.env.NODE_ENV !== "production" && (f || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${P}".`, oe.keys ? `You can provide one of the following values: ${Array.from(oe.keys()).join(", ")}.` : null].join(`
690
689
  `))), s = f ? f.getBoundingClientRect() : null, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && !ze && s && s.width === 0 && s.height === 0 && // if the whole Tabs component is hidden, don't warn
691
690
  l.clientWidth !== 0 && (l = null, console.error(["MUI: The `value` provided to the Tabs component is invalid.", `The Tab with this \`value\` ("${P}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join(`
692
691
  `)), ze = !0);
@@ -713,25 +712,25 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
713
712
  // May be wrong until the font is loaded.
714
713
  [q]: l ? l[q] : 0
715
714
  };
716
- if (isNaN(j[a]) || isNaN(j[q]))
715
+ if (isNaN(D[a]) || isNaN(D[q]))
717
716
  Te(f);
718
717
  else {
719
- const S = Math.abs(j[a] - f[a]), O = Math.abs(j[q] - f[q]);
718
+ const S = Math.abs(D[a] - f[a]), O = Math.abs(D[q] - f[q]);
720
719
  (S >= 1 || O >= 1) && Te(f);
721
720
  }
722
721
  }), ue = (r, {
723
722
  animation: l = !0
724
723
  } = {}) => {
725
- l ? xo(K, R.current, r, {
724
+ l ? Tt(K, R.current, r, {
726
725
  duration: i.transitions.duration.standard
727
726
  }) : R.current[K] = r;
728
727
  }, Ee = (r) => {
729
728
  let l = R.current[K];
730
- B ? l += r : (l += r * (d ? -1 : 1), l *= d && De() === "reverse" ? -1 : 1), ue(l);
729
+ B ? l += r : (l += r * (d ? -1 : 1), l *= d && je() === "reverse" ? -1 : 1), ue(l);
731
730
  }, Oe = () => {
732
731
  const r = R.current[de];
733
732
  let l = 0;
734
- const s = Array.from(D.current.children);
733
+ const s = Array.from(j.current.children);
735
734
  for (let a = 0; a < s.length; a += 1) {
736
735
  const f = s[a];
737
736
  if (l + f[de] > r) {
@@ -741,19 +740,19 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
741
740
  l += f[de];
742
741
  }
743
742
  return l;
744
- }, eo = () => {
743
+ }, et = () => {
745
744
  Ee(-1 * Oe());
746
- }, oo = () => {
745
+ }, tt = () => {
747
746
  Ee(Oe());
748
- }, to = u.useCallback((r) => {
747
+ }, ot = u.useCallback((r) => {
749
748
  Ze({
750
749
  overflow: null,
751
750
  scrollbarWidth: r
752
751
  });
753
- }, []), ro = () => {
752
+ }, []), rt = () => {
754
753
  const r = {};
755
- r.scrollbarSizeListener = x ? /* @__PURE__ */ C($o, {
756
- onChange: to,
754
+ r.scrollbarSizeListener = x ? /* @__PURE__ */ C(Ft, {
755
+ onChange: ot,
757
756
  className: k(W.scrollableX, W.hideScrollbar)
758
757
  }) : null;
759
758
  const s = x && (N === "auto" && (xe || Be) || N === !0);
@@ -766,7 +765,7 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
766
765
  },
767
766
  orientation: g,
768
767
  direction: d ? "right" : "left",
769
- onClick: eo,
768
+ onClick: et,
770
769
  disabled: !xe
771
770
  }, $, {
772
771
  className: k(W.scrollButtons, $.className)
@@ -779,7 +778,7 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
779
778
  },
780
779
  orientation: g,
781
780
  direction: d ? "left" : "right",
782
- onClick: oo,
781
+ onClick: tt,
783
782
  disabled: !Be
784
783
  }, $, {
785
784
  className: k(W.scrollButtons, $.className)
@@ -795,8 +794,8 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
795
794
  ue(a, {
796
795
  animation: r
797
796
  });
798
- } else if (s[oe] > l[oe]) {
799
- const a = l[K] + (s[oe] - l[oe]);
797
+ } else if (s[te] > l[te]) {
798
+ const a = l[K] + (s[te] - l[te]);
800
799
  ue(a, {
801
800
  animation: r
802
801
  });
@@ -823,16 +822,16 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
823
822
  }, a = $e(R.current);
824
823
  a.addEventListener("resize", r);
825
824
  let f;
826
- return typeof ResizeObserver < "u" && (l = new ResizeObserver(r), Array.from(D.current.children).forEach((S) => {
825
+ return typeof ResizeObserver < "u" && (l = new ResizeObserver(r), Array.from(j.current.children).forEach((S) => {
827
826
  l.observe(S);
828
- })), typeof MutationObserver < "u" && (f = new MutationObserver(s), f.observe(D.current, {
827
+ })), typeof MutationObserver < "u" && (f = new MutationObserver(s), f.observe(j.current, {
829
828
  childList: !0
830
829
  })), () => {
831
830
  var S, O;
832
831
  r.clear(), a.removeEventListener("resize", r), (S = f) == null || S.disconnect(), (O = l) == null || O.disconnect();
833
832
  };
834
833
  }, [G, re]), u.useEffect(() => {
835
- const r = Array.from(D.current.children), l = r.length;
834
+ const r = Array.from(j.current.children), l = r.length;
836
835
  if (typeof IntersectionObserver < "u" && l > 0 && x && N !== !1) {
837
836
  const s = r[0], a = r[l - 1], f = {
838
837
  root: R.current,
@@ -853,24 +852,24 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
853
852
  }, []), u.useEffect(() => {
854
853
  G();
855
854
  }), u.useEffect(() => {
856
- Ne(We !== j);
857
- }, [Ne, j]), u.useImperativeHandle(p, () => ({
855
+ Ne(We !== D);
856
+ }, [Ne, D]), u.useImperativeHandle(p, () => ({
858
857
  updateIndicator: G,
859
858
  updateScrollButtons: re
860
859
  }), [G, re]);
861
- const Me = /* @__PURE__ */ C(Fo, b({}, U, {
860
+ const Me = /* @__PURE__ */ C(kt, b({}, U, {
862
861
  className: k(W.indicator, U.className),
863
862
  ownerState: A,
864
- style: b({}, j, U.style)
863
+ style: b({}, D, U.style)
865
864
  }));
866
865
  let le = 0;
867
- const lo = u.Children.map(w, (r) => {
866
+ const lt = u.Children.map(w, (r) => {
868
867
  if (!/* @__PURE__ */ u.isValidElement(r))
869
868
  return null;
870
- process.env.NODE_ENV !== "production" && so.isFragment(r) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
869
+ process.env.NODE_ENV !== "production" && st.isFragment(r) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
871
870
  `));
872
871
  const l = r.props.value === void 0 ? le : r.props.value;
873
- te.set(l, le);
872
+ oe.set(l, le);
874
873
  const s = l === P;
875
874
  return le += 1, /* @__PURE__ */ u.cloneElement(r, b({
876
875
  fullWidth: M === "fullWidth",
@@ -883,8 +882,8 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
883
882
  }, le === 1 && P === !1 && !r.props.tabIndex ? {
884
883
  tabIndex: 0
885
884
  } : {}));
886
- }), no = (r) => {
887
- const l = D.current, s = uo(l).activeElement;
885
+ }), nt = (r) => {
886
+ const l = j.current, s = dt(l).activeElement;
888
887
  if (s.getAttribute("role") !== "tab")
889
888
  return;
890
889
  let f = g === "horizontal" ? "ArrowLeft" : "ArrowUp", S = g === "horizontal" ? "ArrowRight" : "ArrowDown";
@@ -902,14 +901,14 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
902
901
  r.preventDefault(), ne(l, null, Pe);
903
902
  break;
904
903
  }
905
- }, pe = ro();
906
- return /* @__PURE__ */ Q(zo, b({
904
+ }, pe = rt();
905
+ return /* @__PURE__ */ Q(Wt, b({
907
906
  className: k(W.root, T),
908
907
  ownerState: A,
909
908
  ref: n,
910
909
  as: v
911
910
  }, Xe, {
912
- children: [pe.scrollButtonStart, pe.scrollbarSizeListener, /* @__PURE__ */ Q(Lo, {
911
+ children: [pe.scrollButtonStart, pe.scrollbarSizeListener, /* @__PURE__ */ Q(zt, {
913
912
  className: W.scroller,
914
913
  ownerState: A,
915
914
  style: {
@@ -917,16 +916,16 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(o, n) {
917
916
  [B ? `margin${d ? "Left" : "Right"}` : "marginBottom"]: ce ? void 0 : -we.scrollbarWidth
918
917
  },
919
918
  ref: R,
920
- children: [/* @__PURE__ */ C(ko, {
919
+ children: [/* @__PURE__ */ C(Lt, {
921
920
  "aria-label": m,
922
921
  "aria-labelledby": h,
923
922
  "aria-orientation": g === "vertical" ? "vertical" : null,
924
923
  className: W.flexContainer,
925
924
  ownerState: A,
926
- onKeyDown: no,
927
- ref: D,
925
+ onKeyDown: nt,
926
+ ref: j,
928
927
  role: "tablist",
929
- children: lo
928
+ children: lt
930
929
  }), ge && Me]
931
930
  }), pe.scrollButtonEnd]
932
931
  }));
@@ -944,66 +943,66 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
944
943
  * @param {object} actions This object contains all possible actions
945
944
  * that can be triggered programmatically.
946
945
  */
947
- action: po,
946
+ action: ut,
948
947
  /**
949
948
  * If `true`, the scroll buttons aren't forced hidden on mobile.
950
949
  * By default the scroll buttons are hidden on mobile and takes precedence over `scrollButtons`.
951
950
  * @default false
952
951
  */
953
- allowScrollButtonsMobile: t.bool,
952
+ allowScrollButtonsMobile: o.bool,
954
953
  /**
955
954
  * The label for the Tabs as a string.
956
955
  */
957
- "aria-label": t.string,
956
+ "aria-label": o.string,
958
957
  /**
959
958
  * An id or list of ids separated by a space that label the Tabs.
960
959
  */
961
- "aria-labelledby": t.string,
960
+ "aria-labelledby": o.string,
962
961
  /**
963
962
  * If `true`, the tabs are centered.
964
963
  * This prop is intended for large views.
965
964
  * @default false
966
965
  */
967
- centered: t.bool,
966
+ centered: o.bool,
968
967
  /**
969
968
  * The content of the component.
970
969
  */
971
- children: t.node,
970
+ children: o.node,
972
971
  /**
973
972
  * Override or extend the styles applied to the component.
974
973
  */
975
- classes: t.object,
974
+ classes: o.object,
976
975
  /**
977
976
  * @ignore
978
977
  */
979
- className: t.string,
978
+ className: o.string,
980
979
  /**
981
980
  * The component used for the root node.
982
981
  * Either a string to use a HTML element or a component.
983
982
  */
984
- component: t.elementType,
983
+ component: o.elementType,
985
984
  /**
986
985
  * Determines the color of the indicator.
987
986
  * @default 'primary'
988
987
  */
989
- indicatorColor: t.oneOfType([t.oneOf(["primary", "secondary"]), t.string]),
988
+ indicatorColor: o.oneOfType([o.oneOf(["primary", "secondary"]), o.string]),
990
989
  /**
991
990
  * Callback fired when the value changes.
992
991
  *
993
992
  * @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
994
993
  * @param {any} value We default to the index of the child (number)
995
994
  */
996
- onChange: t.func,
995
+ onChange: o.func,
997
996
  /**
998
997
  * The component orientation (layout flow direction).
999
998
  * @default 'horizontal'
1000
999
  */
1001
- orientation: t.oneOf(["horizontal", "vertical"]),
1000
+ orientation: o.oneOf(["horizontal", "vertical"]),
1002
1001
  /**
1003
1002
  * The component used to render the scroll buttons.
1004
1003
  * @default TabScrollButton
1005
1004
  */
1006
- ScrollButtonComponent: t.elementType,
1005
+ ScrollButtonComponent: o.elementType,
1007
1006
  /**
1008
1007
  * Determine behavior of scroll buttons when tabs are set to scroll:
1009
1008
  *
@@ -1015,53 +1014,53 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
1015
1014
  * This behavior can be disabled with `allowScrollButtonsMobile`.
1016
1015
  * @default 'auto'
1017
1016
  */
1018
- scrollButtons: t.oneOf(["auto", !1, !0]),
1017
+ scrollButtons: o.oneOf(["auto", !1, !0]),
1019
1018
  /**
1020
1019
  * If `true` the selected tab changes on focus. Otherwise it only
1021
1020
  * changes on activation.
1022
1021
  */
1023
- selectionFollowsFocus: t.bool,
1022
+ selectionFollowsFocus: o.bool,
1024
1023
  /**
1025
1024
  * The extra props for the slot components.
1026
1025
  * You can override the existing props or add new ones.
1027
1026
  * @default {}
1028
1027
  */
1029
- slotProps: t.shape({
1030
- endScrollButtonIcon: t.oneOfType([t.func, t.object]),
1031
- startScrollButtonIcon: t.oneOfType([t.func, t.object])
1028
+ slotProps: o.shape({
1029
+ endScrollButtonIcon: o.oneOfType([o.func, o.object]),
1030
+ startScrollButtonIcon: o.oneOfType([o.func, o.object])
1032
1031
  }),
1033
1032
  /**
1034
1033
  * The components used for each slot inside.
1035
1034
  * @default {}
1036
1035
  */
1037
- slots: t.shape({
1038
- EndScrollButtonIcon: t.elementType,
1039
- StartScrollButtonIcon: t.elementType
1036
+ slots: o.shape({
1037
+ EndScrollButtonIcon: o.elementType,
1038
+ StartScrollButtonIcon: o.elementType
1040
1039
  }),
1041
1040
  /**
1042
1041
  * The system prop that allows defining system overrides as well as additional CSS styles.
1043
1042
  */
1044
- sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
1043
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
1045
1044
  /**
1046
1045
  * Props applied to the tab indicator element.
1047
1046
  * @default {}
1048
1047
  */
1049
- TabIndicatorProps: t.object,
1048
+ TabIndicatorProps: o.object,
1050
1049
  /**
1051
1050
  * Props applied to the [`TabScrollButton`](/material-ui/api/tab-scroll-button/) element.
1052
1051
  * @default {}
1053
1052
  */
1054
- TabScrollButtonProps: t.object,
1053
+ TabScrollButtonProps: o.object,
1055
1054
  /**
1056
1055
  * Determines the color of the `Tab`.
1057
1056
  * @default 'primary'
1058
1057
  */
1059
- textColor: t.oneOf(["inherit", "primary", "secondary"]),
1058
+ textColor: o.oneOf(["inherit", "primary", "secondary"]),
1060
1059
  /**
1061
1060
  * The value of the currently selected `Tab`.
1062
1061
  * If you don't want any selected `Tab`, you can set this prop to `false`.
1063
1062
  */
1064
- value: t.any,
1063
+ value: o.any,
1065
1064
  /**
1066
1065
  * Determines additional display behavior of the tabs:
1067
1066
  *
@@ -1072,22 +1071,22 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
1072
1071
  * - `standard` will render the default state.
1073
1072
  * @default 'standard'
1074
1073
  */
1075
- variant: t.oneOf(["fullWidth", "scrollable", "standard"]),
1074
+ variant: o.oneOf(["fullWidth", "scrollable", "standard"]),
1076
1075
  /**
1077
1076
  * If `true`, the scrollbar is visible. It can be useful when displaying
1078
1077
  * a long vertical list of tabs.
1079
1078
  * @default false
1080
1079
  */
1081
- visibleScrollbar: t.bool
1080
+ visibleScrollbar: o.bool
1082
1081
  });
1083
- const Zo = Ue;
1082
+ const Jt = Ue;
1084
1083
  export {
1085
- go as K,
1086
- Qo as T,
1087
- Zo as a,
1084
+ yt as K,
1085
+ Gt as T,
1086
+ Jt as a,
1088
1087
  he as b,
1089
- Mo as c,
1090
- yo as d,
1091
- bo as g,
1088
+ Nt as c,
1089
+ St as d,
1090
+ ft as g,
1092
1091
  L as t
1093
1092
  };