@unicom-cloud/ui 0.8.73 → 0.8.75

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 (306) hide show
  1. package/Affix.js +2 -2
  2. package/Alert.js +3 -3
  3. package/AutoComplete.js +2 -2
  4. package/BackTop.js +4 -4
  5. package/Badge.js +3 -3
  6. package/Breadcrumb.js +3 -3
  7. package/Button.js +2 -2
  8. package/Calendar.js +3 -3
  9. package/Card.js +2 -2
  10. package/Carousel.js +2 -2
  11. package/Cascader.js +1 -1
  12. package/Checkbox.js +1 -1
  13. package/Collapse.js +1 -1
  14. package/ColorPicker.js +2 -2
  15. package/Comment.js +2 -2
  16. package/ConfigProvider.js +1 -1
  17. package/Copy.js +3 -3
  18. package/DatePicker.js +1 -1
  19. package/Descriptions.js +2 -2
  20. package/Divider.js +2 -2
  21. package/Draggable.js +2 -2
  22. package/Dropdown.js +2 -2
  23. package/Empty.js +2 -2
  24. package/Icon.js +2 -2
  25. package/IconHover.js +2 -2
  26. package/Image.js +1 -1
  27. package/InputNumber.js +2 -2
  28. package/Layout.js +2 -2
  29. package/Link.js +2 -2
  30. package/List.js +2 -2
  31. package/Mentions.js +2 -2
  32. package/Menu.js +1 -1
  33. package/Message.js +4 -4
  34. package/Modal.js +1 -1
  35. package/Notice.js +2 -2
  36. package/Notification.js +4 -4
  37. package/OverflowEllipsis.js +2 -2
  38. package/PageHeader.js +2 -2
  39. package/Popconfirm.js +2 -2
  40. package/Popover.js +2 -2
  41. package/Progress.js +2 -2
  42. package/Radio.js +1 -1
  43. package/Rate.js +2 -2
  44. package/ResizeBox.js +2 -2
  45. package/Result.js +2 -2
  46. package/SelectView.js +1 -1
  47. package/Skeleton.js +2 -2
  48. package/Slider.js +2 -2
  49. package/Space.js +2 -2
  50. package/SpeechSynthesis.js +4 -4
  51. package/Spin.js +2 -2
  52. package/Statistic.js +3 -3
  53. package/Steps.js +2 -2
  54. package/Switch.js +4 -4
  55. package/Table.js +1 -1
  56. package/Tabs.js +1 -1
  57. package/Tag.js +2 -2
  58. package/Tooltip.js +3 -3
  59. package/Transfer.js +2 -2
  60. package/Tree.js +1 -1
  61. package/Trigger.js +3 -3
  62. package/affix/index.js +2 -2
  63. package/alert/index.js +9 -9
  64. package/anchor/Anchor.js +26 -26
  65. package/anchor/Link.js +2 -2
  66. package/anchor/util.js +1 -1
  67. package/auto-complete/index.js +2 -2
  68. package/avatar/Avatar.js +2 -2
  69. package/avatar/Group.js +2 -2
  70. package/back-top/index.js +11 -11
  71. package/badge/Count.js +7 -7
  72. package/badge/index.js +9 -9
  73. package/breadcrumb/Item.js +6 -6
  74. package/breadcrumb/index.js +3 -3
  75. package/button/Group.js +2 -2
  76. package/button/index.js +2 -2
  77. package/calendar/Month.js +2 -2
  78. package/calendar/Year.js +1 -1
  79. package/calendar/index.js +4 -4
  80. package/card/Grid.js +5 -5
  81. package/card/Meta.js +4 -4
  82. package/card/index.js +2 -2
  83. package/carousel/Arrow.js +2 -2
  84. package/carousel/Indicator.js +6 -6
  85. package/carousel/index.js +2 -2
  86. package/cascader/Cascader.js +3 -3
  87. package/cascader/index.js +1 -1
  88. package/cascader/util.js +1 -1
  89. package/checkbox/Checkbox.js +3 -3
  90. package/checkbox/Group.js +3 -3
  91. package/checkbox/index.js +1 -1
  92. package/chunk/{oHDWCJnz.js → 0mWCmQHr.js} +3 -3
  93. package/chunk/{UDX9U6M7.js → B8hkFIar.js} +3 -3
  94. package/chunk/BFmckYou.js +25 -0
  95. package/chunk/{Cj2SQJiO.js → BJ9_azwQ.js} +487 -487
  96. package/chunk/{Dg0M2OmF.js → BViFMHr-.js} +5 -5
  97. package/chunk/BbqvFW5R.js +927 -0
  98. package/chunk/{uKZyjtff.js → BhBEMwvI.js} +21 -20
  99. package/chunk/{Bj4EV0eG.js → BpYX5PN4.js} +1 -1
  100. package/chunk/{B7hulkj9.js → BxZ39GzB.js} +2 -2
  101. package/chunk/C9XYyypq.js +713 -0
  102. package/chunk/CIkPwQlq.js +6 -0
  103. package/chunk/{uH6uxyao.js → CPlPBkN7.js} +2 -2
  104. package/chunk/CUFsOxJ2.js +10 -0
  105. package/chunk/CWlklVfi.js +257 -0
  106. package/chunk/{Ey4YJCkX.js → D0Dlbc2g.js} +2 -1
  107. package/chunk/{DejjIa3N.js → DFcz9ZPP.js} +35 -35
  108. package/chunk/{AwZqeapI.js → DRTWRsgI.js} +1 -1
  109. package/chunk/{D2LLXZQX.js → DeCsZrXb.js} +4 -4
  110. package/chunk/{DpoumMDw.js → DohlrJ4S.js} +1 -1
  111. package/chunk/DskaI8QL.js +25 -0
  112. package/chunk/{7HDzVe32.js → Dv6USvVF.js} +4 -4
  113. package/chunk/{DJDOFlqC.js → EL5Jmjgr.js} +2 -2
  114. package/chunk/{CiY7w1ZO.js → WVoGhvMI.js} +3 -3
  115. package/chunk/{BJ1soa2K.js → uEGHykhe.js} +18 -18
  116. package/collapse/Collapse.js +3 -3
  117. package/collapse/Item.js +4 -4
  118. package/collapse/index.js +1 -1
  119. package/color-picker/ControlBar.js +2 -2
  120. package/color-picker/InputAlpha.js +1 -1
  121. package/color-picker/InputHex.js +7 -7
  122. package/color-picker/InputRgb.js +6 -6
  123. package/color-picker/Palette.js +5 -5
  124. package/color-picker/Panel.js +4 -4
  125. package/color-picker/colors.js +7 -12
  126. package/color-picker/index.js +20 -20
  127. package/color-picker/utils.js +1 -1
  128. package/comment/index.js +6 -6
  129. package/config-provider/ConfigProvider.js +2 -2
  130. package/config-provider/context.js +1 -1
  131. package/config-provider/index.js +2 -2
  132. package/copy/index.js +16 -16
  133. package/date-picker/Picker.js +2 -2
  134. package/date-picker/PickerRange.js +3 -3
  135. package/date-picker/index.js +1 -1
  136. package/descriptions/index.js +2 -2
  137. package/divider/index.js +5 -5
  138. package/draggable/Item.js +1 -1
  139. package/draggable/index.js +9 -9
  140. package/drawer/Drawer.js +3 -3
  141. package/dropdown/Button.js +1 -1
  142. package/dropdown/index.js +2 -2
  143. package/empty/index.js +2 -2
  144. package/form/Control.js +1 -1
  145. package/form/Form.js +2 -2
  146. package/form/FormItem.js +3 -3
  147. package/form/FormLabel.js +9 -9
  148. package/form/context.js +1 -1
  149. package/grid/Col.js +2 -2
  150. package/grid/Row.js +2 -2
  151. package/grid/grid-item.js +2 -2
  152. package/grid/grid.js +8 -8
  153. package/icon/index.js +11 -11
  154. package/icon-hover/index.js +2 -2
  155. package/image/Image.js +4 -4
  156. package/image/ImageFooter.js +2 -2
  157. package/image/ImagePreview.js +5 -5
  158. package/image/ImagePreviewArrow.js +4 -4
  159. package/image/ImagePreviewGroup.js +1 -1
  160. package/image/ImagePreviewToolbar.js +1 -1
  161. package/image/TriggerForToolbar.js +4 -4
  162. package/image/index.js +1 -1
  163. package/index.js +586 -592
  164. package/input/Group.js +4 -4
  165. package/input/Input.js +45 -45
  166. package/input/InputElement.js +2 -2
  167. package/input/Password.js +2 -2
  168. package/input/Search.js +2 -2
  169. package/input/Textarea.js +2 -2
  170. package/input-number/index.js +2 -2
  171. package/input-tag/InputTag.js +4 -4
  172. package/layout/Content.js +2 -2
  173. package/layout/Footer.js +5 -5
  174. package/layout/Header.js +4 -4
  175. package/layout/Sider.js +2 -2
  176. package/layout/index.js +2 -2
  177. package/link/index.js +5 -5
  178. package/list/Item.js +2 -2
  179. package/list/Meta.js +4 -4
  180. package/list/index.js +2 -2
  181. package/mentions/index.js +2 -2
  182. package/menu/Item.js +5 -5
  183. package/menu/ItemGroup.js +1 -1
  184. package/menu/Menu.js +3 -3
  185. package/menu/OverflowWrap.js +2 -2
  186. package/menu/index.js +2 -2
  187. package/message/index.js +4 -4
  188. package/message/useMessage.js +1 -1
  189. package/modal/Confirm.js +2 -2
  190. package/modal/Modal.js +4 -4
  191. package/modal/index.js +1 -1
  192. package/notice/index.js +2 -2
  193. package/notification/index.js +4 -4
  194. package/notification/useNotification.js +1 -1
  195. package/overflow-ellipsis/OverflowItem.js +6 -6
  196. package/overflow-ellipsis/index.js +8 -8
  197. package/package.json +1 -1
  198. package/page-header/index.js +2 -2
  199. package/pagination/PageItem.js +2 -2
  200. package/pagination/PageJumper.js +1 -1
  201. package/pagination/PageOption.js +1 -1
  202. package/pagination/Pagination.js +23 -23
  203. package/picker/Input.js +7 -7
  204. package/picker/InputRange.js +9 -9
  205. package/popconfirm/index.js +2 -2
  206. package/popover/index.js +2 -2
  207. package/progress/CircleProgress.js +7 -7
  208. package/progress/LineProgess.js +1 -1
  209. package/progress/StepProgress.js +7 -7
  210. package/progress/index.js +8 -8
  211. package/radio/Group.js +3 -3
  212. package/radio/Radio.js +3 -3
  213. package/radio/index.js +2 -2
  214. package/rate/index.js +2 -2
  215. package/resize-box/ResizeTrigger.js +10 -10
  216. package/resize-box/Split.js +12 -12
  217. package/resize-box/SplitGroup.js +2 -2
  218. package/resize-box/index.js +2 -2
  219. package/result/index.js +9 -9
  220. package/select/Option.js +2 -2
  221. package/select/Select.js +3 -3
  222. package/select-view/Core.js +27 -27
  223. package/select-view/index.js +1 -1
  224. package/skeleton/Image.js +4 -4
  225. package/skeleton/Text.js +7 -7
  226. package/skeleton/index.js +2 -2
  227. package/slider/Button.js +2 -2
  228. package/slider/Dot.js +5 -5
  229. package/slider/Input.js +12 -12
  230. package/slider/Tick.js +6 -6
  231. package/slider/index.js +2 -2
  232. package/space/index.js +12 -12
  233. package/speech-synthesis/index.js +4 -4
  234. package/spin/DotLoading.js +1 -1
  235. package/spin/index.js +2 -2
  236. package/statistic/Countdown.js +7 -7
  237. package/statistic/index.js +20 -20
  238. package/steps/Step.js +1 -1
  239. package/steps/index.js +2 -2
  240. package/style/variables.less +375 -710
  241. package/style.css +1 -1
  242. package/switch/index.js +4 -4
  243. package/table/Table.js +4 -4
  244. package/table/index.js +4 -4
  245. package/tabs/Tab.js +3 -3
  246. package/tabs/TabContent.js +3 -3
  247. package/tabs/TabPane.js +2 -2
  248. package/tabs/index.js +2 -2
  249. package/tag/index.js +6 -6
  250. package/time-picker/Picker.js +2 -2
  251. package/time-picker/TimeColumn.js +7 -7
  252. package/time-picker/TimePicker.js +23 -23
  253. package/time-picker/util.js +5 -5
  254. package/timeline/Item.js +2 -2
  255. package/timeline/Timeline.js +2 -2
  256. package/tooltip/index.js +3 -3
  257. package/transfer/Item.js +3 -3
  258. package/transfer/List.js +3 -3
  259. package/transfer/index.js +2 -2
  260. package/tree/Animation.js +3 -3
  261. package/tree/Node.js +4 -4
  262. package/tree/NodeList.js +1 -1
  263. package/tree/Tree.js +3 -3
  264. package/tree/index.js +1 -1
  265. package/tree-select/Select.js +2 -2
  266. package/trigger/index.js +3 -3
  267. package/types/color-picker/colors.d.ts +1 -1
  268. package/types/config-provider/interface.d.ts +0 -1
  269. package/types/utils/color.d.ts +1 -1
  270. package/types/utils/constant.d.ts +1 -1
  271. package/types/utils/index.d.ts +1 -0
  272. package/types/utils/setDarkTheme.d.ts +4 -0
  273. package/typography/Base.js +2 -2
  274. package/typography/EditContent.js +1 -1
  275. package/typography/Ellipsis.js +14 -15
  276. package/typography/Paragraph.js +6 -6
  277. package/typography/Typography.js +5 -5
  278. package/typography/index.js +12 -13
  279. package/upload/TriggerNode.js +2 -2
  280. package/upload/Upload.js +5 -5
  281. package/upload/Uploader.js +2 -2
  282. package/upload/request.js +1 -1
  283. package/upload/request_.js +1 -1
  284. package/utils/PqbCSSTransition.js +1 -1
  285. package/utils/className.js +3 -3
  286. package/utils/color.js +2 -116
  287. package/utils/constant.js +3 -2
  288. package/utils/contextHolder.js +1 -1
  289. package/utils/copy.js +4 -4
  290. package/utils/dom.js +1 -1
  291. package/utils/fileToURL.js +1 -1
  292. package/utils/index.js +303 -309
  293. package/utils/reactTransitionGroup.js +1 -1
  294. package/utils/saveAs.js +1 -1
  295. package/utils/setDarkTheme.js +7 -0
  296. package/utils/tinycolor.js +13 -13
  297. package/utils/tween.js +1 -1
  298. package/verification-code/VerificationCode.js +7 -7
  299. package/version/index.js +1 -1
  300. package/watermark/Watermark.js +6 -6
  301. package/chunk/B0UZ1Ee2.js +0 -257
  302. package/chunk/Byd0ztYY.js +0 -724
  303. package/chunk/CCVU-Kst.js +0 -770
  304. package/chunk/CTxjmYmx.js +0 -19
  305. package/chunk/D0ZWT7db.js +0 -5
  306. package/chunk/JPPo5nY_.js +0 -9
@@ -1,22 +1,22 @@
1
- import { jsx as W } from "react/jsx-runtime";
2
- import x, { isValidElement as Z, cloneElement as ee, Children as Ue } from "react";
3
- import H from "react-dom";
4
- import Te from "react-is";
5
- const he = {
1
+ import { jsx as q } from "react/jsx-runtime";
2
+ import g, { isValidElement as Z, cloneElement as ee, Children as We } from "react";
3
+ import Y from "react-dom";
4
+ import Ne from "react-is";
5
+ const fe = {
6
6
  disabled: !1
7
7
  };
8
- function Ve(n, e) {
8
+ function Fe(n, e) {
9
9
  return n.classList ? !!e && n.classList.contains(e) : ` ${n.className.baseVal || n.className} `.indexOf(
10
10
  ` ${e} `
11
11
  ) !== -1;
12
12
  }
13
- function Ye(n, e) {
14
- n.classList ? n.classList.add(e) : Ve(n, e) || (typeof n.className == "string" ? n.className = `${n.className} ${e}` : n.setAttribute(
13
+ function Ue(n, e) {
14
+ n.classList ? n.classList.add(e) : Fe(n, e) || (typeof n.className == "string" ? n.className = `${n.className} ${e}` : n.setAttribute(
15
15
  "class",
16
16
  `${n.className && n.className.baseVal || ""} ${e}`
17
17
  ));
18
18
  }
19
- function Be(n) {
19
+ function Ye(n) {
20
20
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
21
21
  }
22
22
  var Q = { exports: {} };
@@ -25,137 +25,137 @@ object-assign
25
25
  (c) Sindre Sorhus
26
26
  @license MIT
27
27
  */
28
- var ne, Ee;
29
- function He() {
30
- if (Ee) return ne;
31
- Ee = 1;
28
+ var ne, he;
29
+ function Ge() {
30
+ if (he) return ne;
31
+ he = 1;
32
32
  var n = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
33
33
  function r(i) {
34
34
  if (i == null)
35
35
  throw new TypeError("Object.assign cannot be called with null or undefined");
36
36
  return Object(i);
37
37
  }
38
- function s() {
38
+ function o() {
39
39
  try {
40
40
  if (!Object.assign)
41
41
  return !1;
42
42
  var i = new String("abc");
43
43
  if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
44
44
  return !1;
45
- for (var c = {}, l = 0; l < 10; l++)
46
- c["_" + String.fromCharCode(l)] = l;
47
- var O = Object.getOwnPropertyNames(c).map(function(b) {
48
- return c[b];
45
+ for (var u = {}, c = 0; c < 10; c++)
46
+ u["_" + String.fromCharCode(c)] = c;
47
+ var O = Object.getOwnPropertyNames(u).map(function(b) {
48
+ return u[b];
49
49
  });
50
50
  if (O.join("") !== "0123456789")
51
51
  return !1;
52
- var T = {};
52
+ var N = {};
53
53
  return "abcdefghijklmnopqrst".split("").forEach(function(b) {
54
- T[b] = b;
55
- }), Object.keys(Object.assign({}, T)).join("") === "abcdefghijklmnopqrst";
54
+ N[b] = b;
55
+ }), Object.keys(Object.assign({}, N)).join("") === "abcdefghijklmnopqrst";
56
56
  } catch {
57
57
  return !1;
58
58
  }
59
59
  }
60
- return ne = s() ? Object.assign : function(i, c) {
61
- for (var l, O = r(i), T, b = 1; b < arguments.length; b++) {
62
- l = Object(arguments[b]);
63
- for (var S in l)
64
- e.call(l, S) && (O[S] = l[S]);
60
+ return ne = o() ? Object.assign : function(i, u) {
61
+ for (var c, O = r(i), N, b = 1; b < arguments.length; b++) {
62
+ c = Object(arguments[b]);
63
+ for (var T in c)
64
+ e.call(c, T) && (O[T] = c[T]);
65
65
  if (n) {
66
- T = n(l);
67
- for (var R = 0; R < T.length; R++)
68
- t.call(l, T[R]) && (O[T[R]] = l[T[R]]);
66
+ N = n(c);
67
+ for (var S = 0; S < N.length; S++)
68
+ t.call(c, N[S]) && (O[N[S]] = c[N[S]]);
69
69
  }
70
70
  }
71
71
  return O;
72
72
  }, ne;
73
73
  }
74
- var re, ve;
75
- function le() {
76
- if (ve) return re;
77
- ve = 1;
74
+ var re, Ee;
75
+ function ue() {
76
+ if (Ee) return re;
77
+ Ee = 1;
78
78
  var n = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
79
79
  return re = n, re;
80
80
  }
81
- var ie, ye;
81
+ var me, ye;
82
82
  function Ce() {
83
- return ye || (ye = 1, ie = Function.call.bind(Object.prototype.hasOwnProperty)), ie;
83
+ return ye || (ye = 1, me = Function.call.bind(Object.prototype.hasOwnProperty)), me;
84
84
  }
85
- var se, ge;
86
- function Fe() {
87
- if (ge) return se;
88
- ge = 1;
85
+ var ie, ve;
86
+ function Je() {
87
+ if (ve) return ie;
88
+ ve = 1;
89
89
  var n = function() {
90
90
  };
91
91
  if (process.env.NODE_ENV !== "production") {
92
- var e = /* @__PURE__ */ le(), t = {}, r = /* @__PURE__ */ Ce();
92
+ var e = /* @__PURE__ */ ue(), t = {}, r = /* @__PURE__ */ Ce();
93
93
  n = function(i) {
94
- var c = "Warning: " + i;
95
- typeof console < "u" && console.error(c);
94
+ var u = "Warning: " + i;
95
+ typeof console < "u" && console.error(u);
96
96
  try {
97
- throw new Error(c);
97
+ throw new Error(u);
98
98
  } catch {
99
99
  }
100
100
  };
101
101
  }
102
- function s(i, c, l, O, T) {
102
+ function o(i, u, c, O, N) {
103
103
  if (process.env.NODE_ENV !== "production") {
104
104
  for (var b in i)
105
105
  if (r(i, b)) {
106
- var S;
106
+ var T;
107
107
  try {
108
108
  if (typeof i[b] != "function") {
109
- var R = Error(
110
- (O || "React class") + ": " + l + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
109
+ var S = Error(
110
+ (O || "React class") + ": " + c + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
111
111
  );
112
- throw R.name = "Invariant Violation", R;
112
+ throw S.name = "Invariant Violation", S;
113
113
  }
114
- S = i[b](c, b, O, l, null, e);
115
- } catch (X) {
116
- S = X;
114
+ T = i[b](u, b, O, c, null, e);
115
+ } catch (B) {
116
+ T = B;
117
117
  }
118
- if (S && !(S instanceof Error) && n(
119
- (O || "React class") + ": type specification of " + l + " `" + b + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof S + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
120
- ), S instanceof Error && !(S.message in t)) {
121
- t[S.message] = !0;
122
- var N = T ? T() : "";
118
+ if (T && !(T instanceof Error) && n(
119
+ (O || "React class") + ": type specification of " + c + " `" + b + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof T + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
120
+ ), T instanceof Error && !(T.message in t)) {
121
+ t[T.message] = !0;
122
+ var A = N ? N() : "";
123
123
  n(
124
- "Failed " + l + " type: " + S.message + (N ?? "")
124
+ "Failed " + c + " type: " + T.message + (A ?? "")
125
125
  );
126
126
  }
127
127
  }
128
128
  }
129
129
  }
130
- return s.resetWarningCache = function() {
130
+ return o.resetWarningCache = function() {
131
131
  process.env.NODE_ENV !== "production" && (t = {});
132
- }, se = s, se;
132
+ }, ie = o, ie;
133
133
  }
134
- var oe, me;
135
- function Ge() {
136
- if (me) return oe;
137
- me = 1;
138
- var n = Te, e = He(), t = /* @__PURE__ */ le(), r = /* @__PURE__ */ Ce(), s = /* @__PURE__ */ Fe(), i = function() {
134
+ var oe, xe;
135
+ function ze() {
136
+ if (xe) return oe;
137
+ xe = 1;
138
+ var n = Ne, e = Ge(), t = /* @__PURE__ */ ue(), r = /* @__PURE__ */ Ce(), o = /* @__PURE__ */ Je(), i = function() {
139
139
  };
140
- process.env.NODE_ENV !== "production" && (i = function(l) {
141
- var O = "Warning: " + l;
140
+ process.env.NODE_ENV !== "production" && (i = function(c) {
141
+ var O = "Warning: " + c;
142
142
  typeof console < "u" && console.error(O);
143
143
  try {
144
144
  throw new Error(O);
145
145
  } catch {
146
146
  }
147
147
  });
148
- function c() {
148
+ function u() {
149
149
  return null;
150
150
  }
151
- return oe = function(l, O) {
152
- var T = typeof Symbol == "function" && Symbol.iterator, b = "@@iterator";
153
- function S(o) {
154
- var a = o && (T && o[T] || o[b]);
151
+ return oe = function(c, O) {
152
+ var N = typeof Symbol == "function" && Symbol.iterator, b = "@@iterator";
153
+ function T(s) {
154
+ var a = s && (N && s[N] || s[b]);
155
155
  if (typeof a == "function")
156
156
  return a;
157
157
  }
158
- var R = "<<anonymous>>", N = {
158
+ var S = "<<anonymous>>", A = {
159
159
  array: I("array"),
160
160
  bigint: I("bigint"),
161
161
  bool: I("boolean"),
@@ -164,246 +164,246 @@ function Ge() {
164
164
  object: I("object"),
165
165
  string: I("string"),
166
166
  symbol: I("symbol"),
167
- any: z(),
168
- arrayOf: Pe,
169
- element: je(),
170
- elementType: ke(),
171
- instanceOf: $e,
172
- node: Ie(),
173
- objectOf: Ae,
167
+ any: H(),
168
+ arrayOf: we,
169
+ element: Re(),
170
+ elementType: $e(),
171
+ instanceOf: je,
172
+ node: Ae(),
173
+ objectOf: Pe,
174
174
  oneOf: De,
175
- oneOfType: Ne,
176
- shape: qe,
175
+ oneOfType: Ie,
176
+ shape: Ve,
177
177
  exact: _e
178
178
  };
179
- function X(o, a) {
180
- return o === a ? o !== 0 || 1 / o === 1 / a : o !== o && a !== a;
179
+ function B(s, a) {
180
+ return s === a ? s !== 0 || 1 / s === 1 / a : s !== s && a !== a;
181
181
  }
182
- function C(o, a) {
183
- this.message = o, this.data = a && typeof a == "object" ? a : {}, this.stack = "";
182
+ function C(s, a) {
183
+ this.message = s, this.data = a && typeof a == "object" ? a : {}, this.stack = "";
184
184
  }
185
185
  C.prototype = Error.prototype;
186
- function P(o) {
186
+ function w(s) {
187
187
  if (process.env.NODE_ENV !== "production")
188
188
  var a = {}, E = 0;
189
- function f(v, d, h, y, m, g, j) {
190
- if (y = y || R, g = g || h, j !== t) {
189
+ function f(m, d, h, y, x, v, k) {
190
+ if (y = y || S, v = v || h, k !== t) {
191
191
  if (O) {
192
- var w = new Error(
192
+ var R = new Error(
193
193
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
194
194
  );
195
- throw w.name = "Invariant Violation", w;
195
+ throw R.name = "Invariant Violation", R;
196
196
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
197
- var U = y + ":" + h;
198
- !a[U] && // Avoid spamming the console because they are often not actionable except for lib authors
197
+ var K = y + ":" + h;
198
+ !a[K] && // Avoid spamming the console because they are often not actionable except for lib authors
199
199
  E < 3 && (i(
200
- "You are manually calling a React.PropTypes validation function for the `" + g + "` prop on `" + y + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
201
- ), a[U] = !0, E++);
200
+ "You are manually calling a React.PropTypes validation function for the `" + v + "` prop on `" + y + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
201
+ ), a[K] = !0, E++);
202
202
  }
203
203
  }
204
- return d[h] == null ? v ? d[h] === null ? new C("The " + m + " `" + g + "` is marked as required " + ("in `" + y + "`, but its value is `null`.")) : new C("The " + m + " `" + g + "` is marked as required in " + ("`" + y + "`, but its value is `undefined`.")) : null : o(d, h, y, m, g);
204
+ return d[h] == null ? m ? d[h] === null ? new C("The " + x + " `" + v + "` is marked as required " + ("in `" + y + "`, but its value is `null`.")) : new C("The " + x + " `" + v + "` is marked as required in " + ("`" + y + "`, but its value is `undefined`.")) : null : s(d, h, y, x, v);
205
205
  }
206
206
  var p = f.bind(null, !1);
207
207
  return p.isRequired = f.bind(null, !0), p;
208
208
  }
209
- function I(o) {
210
- function a(E, f, p, v, d, h) {
211
- var y = E[f], m = q(y);
212
- if (m !== o) {
213
- var g = B(y);
209
+ function I(s) {
210
+ function a(E, f, p, m, d, h) {
211
+ var y = E[f], x = V(y);
212
+ if (x !== s) {
213
+ var v = U(y);
214
214
  return new C(
215
- "Invalid " + v + " `" + d + "` of type " + ("`" + g + "` supplied to `" + p + "`, expected ") + ("`" + o + "`."),
216
- { expectedType: o }
215
+ "Invalid " + m + " `" + d + "` of type " + ("`" + v + "` supplied to `" + p + "`, expected ") + ("`" + s + "`."),
216
+ { expectedType: s }
217
217
  );
218
218
  }
219
219
  return null;
220
220
  }
221
- return P(a);
221
+ return w(a);
222
222
  }
223
- function z() {
224
- return P(c);
223
+ function H() {
224
+ return w(u);
225
225
  }
226
- function Pe(o) {
227
- function a(E, f, p, v, d) {
228
- if (typeof o != "function")
226
+ function we(s) {
227
+ function a(E, f, p, m, d) {
228
+ if (typeof s != "function")
229
229
  return new C("Property `" + d + "` of component `" + p + "` has invalid PropType notation inside arrayOf.");
230
230
  var h = E[f];
231
231
  if (!Array.isArray(h)) {
232
- var y = q(h);
233
- return new C("Invalid " + v + " `" + d + "` of type " + ("`" + y + "` supplied to `" + p + "`, expected an array."));
232
+ var y = V(h);
233
+ return new C("Invalid " + m + " `" + d + "` of type " + ("`" + y + "` supplied to `" + p + "`, expected an array."));
234
234
  }
235
- for (var m = 0; m < h.length; m++) {
236
- var g = o(h, m, p, v, d + "[" + m + "]", t);
237
- if (g instanceof Error)
238
- return g;
235
+ for (var x = 0; x < h.length; x++) {
236
+ var v = s(h, x, p, m, d + "[" + x + "]", t);
237
+ if (v instanceof Error)
238
+ return v;
239
239
  }
240
240
  return null;
241
241
  }
242
- return P(a);
242
+ return w(a);
243
243
  }
244
- function je() {
245
- function o(a, E, f, p, v) {
244
+ function Re() {
245
+ function s(a, E, f, p, m) {
246
246
  var d = a[E];
247
- if (!l(d)) {
248
- var h = q(d);
249
- return new C("Invalid " + p + " `" + v + "` of type " + ("`" + h + "` supplied to `" + f + "`, expected a single ReactElement."));
247
+ if (!c(d)) {
248
+ var h = V(d);
249
+ return new C("Invalid " + p + " `" + m + "` of type " + ("`" + h + "` supplied to `" + f + "`, expected a single ReactElement."));
250
250
  }
251
251
  return null;
252
252
  }
253
- return P(o);
253
+ return w(s);
254
254
  }
255
- function ke() {
256
- function o(a, E, f, p, v) {
255
+ function $e() {
256
+ function s(a, E, f, p, m) {
257
257
  var d = a[E];
258
258
  if (!n.isValidElementType(d)) {
259
- var h = q(d);
260
- return new C("Invalid " + p + " `" + v + "` of type " + ("`" + h + "` supplied to `" + f + "`, expected a single ReactElement type."));
259
+ var h = V(d);
260
+ return new C("Invalid " + p + " `" + m + "` of type " + ("`" + h + "` supplied to `" + f + "`, expected a single ReactElement type."));
261
261
  }
262
262
  return null;
263
263
  }
264
- return P(o);
264
+ return w(s);
265
265
  }
266
- function $e(o) {
267
- function a(E, f, p, v, d) {
268
- if (!(E[f] instanceof o)) {
269
- var h = o.name || R, y = We(E[f]);
270
- return new C("Invalid " + v + " `" + d + "` of type " + ("`" + y + "` supplied to `" + p + "`, expected ") + ("instance of `" + h + "`."));
266
+ function je(s) {
267
+ function a(E, f, p, m, d) {
268
+ if (!(E[f] instanceof s)) {
269
+ var h = s.name || S, y = qe(E[f]);
270
+ return new C("Invalid " + m + " `" + d + "` of type " + ("`" + y + "` supplied to `" + p + "`, expected ") + ("instance of `" + h + "`."));
271
271
  }
272
272
  return null;
273
273
  }
274
- return P(a);
274
+ return w(a);
275
275
  }
276
- function De(o) {
277
- if (!Array.isArray(o))
276
+ function De(s) {
277
+ if (!Array.isArray(s))
278
278
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
279
279
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
280
- ) : i("Invalid argument supplied to oneOf, expected an array.")), c;
281
- function a(E, f, p, v, d) {
282
- for (var h = E[f], y = 0; y < o.length; y++)
283
- if (X(h, o[y]))
280
+ ) : i("Invalid argument supplied to oneOf, expected an array.")), u;
281
+ function a(E, f, p, m, d) {
282
+ for (var h = E[f], y = 0; y < s.length; y++)
283
+ if (B(h, s[y]))
284
284
  return null;
285
- var m = JSON.stringify(o, function(j, w) {
286
- var U = B(w);
287
- return U === "symbol" ? String(w) : w;
285
+ var x = JSON.stringify(s, function(v, k) {
286
+ var R = U(k);
287
+ return R === "symbol" ? String(k) : k;
288
288
  });
289
- return new C("Invalid " + v + " `" + d + "` of value `" + String(h) + "` " + ("supplied to `" + p + "`, expected one of " + m + "."));
289
+ return new C("Invalid " + m + " `" + d + "` of value `" + String(h) + "` " + ("supplied to `" + p + "`, expected one of " + x + "."));
290
290
  }
291
- return P(a);
291
+ return w(a);
292
292
  }
293
- function Ae(o) {
294
- function a(E, f, p, v, d) {
295
- if (typeof o != "function")
293
+ function Pe(s) {
294
+ function a(E, f, p, m, d) {
295
+ if (typeof s != "function")
296
296
  return new C("Property `" + d + "` of component `" + p + "` has invalid PropType notation inside objectOf.");
297
- var h = E[f], y = q(h);
297
+ var h = E[f], y = V(h);
298
298
  if (y !== "object")
299
- return new C("Invalid " + v + " `" + d + "` of type " + ("`" + y + "` supplied to `" + p + "`, expected an object."));
300
- for (var m in h)
301
- if (r(h, m)) {
302
- var g = o(h, m, p, v, d + "." + m, t);
303
- if (g instanceof Error)
304
- return g;
299
+ return new C("Invalid " + m + " `" + d + "` of type " + ("`" + y + "` supplied to `" + p + "`, expected an object."));
300
+ for (var x in h)
301
+ if (r(h, x)) {
302
+ var v = s(h, x, p, m, d + "." + x, t);
303
+ if (v instanceof Error)
304
+ return v;
305
305
  }
306
306
  return null;
307
307
  }
308
- return P(a);
308
+ return w(a);
309
309
  }
310
- function Ne(o) {
311
- if (!Array.isArray(o))
312
- return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), c;
313
- for (var a = 0; a < o.length; a++) {
314
- var E = o[a];
310
+ function Ie(s) {
311
+ if (!Array.isArray(s))
312
+ return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), u;
313
+ for (var a = 0; a < s.length; a++) {
314
+ var E = s[a];
315
315
  if (typeof E != "function")
316
316
  return i(
317
317
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Me(E) + " at index " + a + "."
318
- ), c;
318
+ ), u;
319
319
  }
320
- function f(p, v, d, h, y) {
321
- for (var m = [], g = 0; g < o.length; g++) {
322
- var j = o[g], w = j(p, v, d, h, y, t);
323
- if (w == null)
320
+ function f(p, m, d, h, y) {
321
+ for (var x = [], v = 0; v < s.length; v++) {
322
+ var k = s[v], R = k(p, m, d, h, y, t);
323
+ if (R == null)
324
324
  return null;
325
- w.data && r(w.data, "expectedType") && m.push(w.data.expectedType);
325
+ R.data && r(R.data, "expectedType") && x.push(R.data.expectedType);
326
326
  }
327
- var U = m.length > 0 ? ", expected one of type [" + m.join(", ") + "]" : "";
328
- return new C("Invalid " + h + " `" + y + "` supplied to " + ("`" + d + "`" + U + "."));
327
+ var K = x.length > 0 ? ", expected one of type [" + x.join(", ") + "]" : "";
328
+ return new C("Invalid " + h + " `" + y + "` supplied to " + ("`" + d + "`" + K + "."));
329
329
  }
330
- return P(f);
330
+ return w(f);
331
331
  }
332
- function Ie() {
333
- function o(a, E, f, p, v) {
334
- return K(a[E]) ? null : new C("Invalid " + p + " `" + v + "` supplied to " + ("`" + f + "`, expected a ReactNode."));
332
+ function Ae() {
333
+ function s(a, E, f, p, m) {
334
+ return X(a[E]) ? null : new C("Invalid " + p + " `" + m + "` supplied to " + ("`" + f + "`, expected a ReactNode."));
335
335
  }
336
- return P(o);
336
+ return w(s);
337
337
  }
338
- function fe(o, a, E, f, p) {
338
+ function de(s, a, E, f, p) {
339
339
  return new C(
340
- (o || "React class") + ": " + a + " type `" + E + "." + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + p + "`."
340
+ (s || "React class") + ": " + a + " type `" + E + "." + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + p + "`."
341
341
  );
342
342
  }
343
- function qe(o) {
344
- function a(E, f, p, v, d) {
345
- var h = E[f], y = q(h);
343
+ function Ve(s) {
344
+ function a(E, f, p, m, d) {
345
+ var h = E[f], y = V(h);
346
346
  if (y !== "object")
347
- return new C("Invalid " + v + " `" + d + "` of type `" + y + "` " + ("supplied to `" + p + "`, expected `object`."));
348
- for (var m in o) {
349
- var g = o[m];
350
- if (typeof g != "function")
351
- return fe(p, v, d, m, B(g));
352
- var j = g(h, m, p, v, d + "." + m, t);
353
- if (j)
354
- return j;
347
+ return new C("Invalid " + m + " `" + d + "` of type `" + y + "` " + ("supplied to `" + p + "`, expected `object`."));
348
+ for (var x in s) {
349
+ var v = s[x];
350
+ if (typeof v != "function")
351
+ return de(p, m, d, x, U(v));
352
+ var k = v(h, x, p, m, d + "." + x, t);
353
+ if (k)
354
+ return k;
355
355
  }
356
356
  return null;
357
357
  }
358
- return P(a);
358
+ return w(a);
359
359
  }
360
- function _e(o) {
361
- function a(E, f, p, v, d) {
362
- var h = E[f], y = q(h);
360
+ function _e(s) {
361
+ function a(E, f, p, m, d) {
362
+ var h = E[f], y = V(h);
363
363
  if (y !== "object")
364
- return new C("Invalid " + v + " `" + d + "` of type `" + y + "` " + ("supplied to `" + p + "`, expected `object`."));
365
- var m = e({}, E[f], o);
366
- for (var g in m) {
367
- var j = o[g];
368
- if (r(o, g) && typeof j != "function")
369
- return fe(p, v, d, g, B(j));
370
- if (!j)
364
+ return new C("Invalid " + m + " `" + d + "` of type `" + y + "` " + ("supplied to `" + p + "`, expected `object`."));
365
+ var x = e({}, E[f], s);
366
+ for (var v in x) {
367
+ var k = s[v];
368
+ if (r(s, v) && typeof k != "function")
369
+ return de(p, m, d, v, U(k));
370
+ if (!k)
371
371
  return new C(
372
- "Invalid " + v + " `" + d + "` key `" + g + "` supplied to `" + p + "`.\nBad object: " + JSON.stringify(E[f], null, " ") + `
373
- Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
372
+ "Invalid " + m + " `" + d + "` key `" + v + "` supplied to `" + p + "`.\nBad object: " + JSON.stringify(E[f], null, " ") + `
373
+ Valid keys: ` + JSON.stringify(Object.keys(s), null, " ")
374
374
  );
375
- var w = j(h, g, p, v, d + "." + g, t);
376
- if (w)
377
- return w;
375
+ var R = k(h, v, p, m, d + "." + v, t);
376
+ if (R)
377
+ return R;
378
378
  }
379
379
  return null;
380
380
  }
381
- return P(a);
381
+ return w(a);
382
382
  }
383
- function K(o) {
384
- switch (typeof o) {
383
+ function X(s) {
384
+ switch (typeof s) {
385
385
  case "number":
386
386
  case "string":
387
387
  case "undefined":
388
388
  return !0;
389
389
  case "boolean":
390
- return !o;
390
+ return !s;
391
391
  case "object":
392
- if (Array.isArray(o))
393
- return o.every(K);
394
- if (o === null || l(o))
392
+ if (Array.isArray(s))
393
+ return s.every(X);
394
+ if (s === null || c(s))
395
395
  return !0;
396
- var a = S(o);
396
+ var a = T(s);
397
397
  if (a) {
398
- var E = a.call(o), f;
399
- if (a !== o.entries) {
398
+ var E = a.call(s), f;
399
+ if (a !== s.entries) {
400
400
  for (; !(f = E.next()).done; )
401
- if (!K(f.value))
401
+ if (!X(f.value))
402
402
  return !1;
403
403
  } else
404
404
  for (; !(f = E.next()).done; ) {
405
405
  var p = f.value;
406
- if (p && !K(p[1]))
406
+ if (p && !X(p[1]))
407
407
  return !1;
408
408
  }
409
409
  } else
@@ -413,27 +413,27 @@ Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
413
413
  return !1;
414
414
  }
415
415
  }
416
- function Le(o, a) {
417
- return o === "symbol" ? !0 : a ? a["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && a instanceof Symbol : !1;
416
+ function Le(s, a) {
417
+ return s === "symbol" ? !0 : a ? a["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && a instanceof Symbol : !1;
418
418
  }
419
- function q(o) {
420
- var a = typeof o;
421
- return Array.isArray(o) ? "array" : o instanceof RegExp ? "object" : Le(a, o) ? "symbol" : a;
419
+ function V(s) {
420
+ var a = typeof s;
421
+ return Array.isArray(s) ? "array" : s instanceof RegExp ? "object" : Le(a, s) ? "symbol" : a;
422
422
  }
423
- function B(o) {
424
- if (typeof o > "u" || o === null)
425
- return "" + o;
426
- var a = q(o);
423
+ function U(s) {
424
+ if (typeof s > "u" || s === null)
425
+ return "" + s;
426
+ var a = V(s);
427
427
  if (a === "object") {
428
- if (o instanceof Date)
428
+ if (s instanceof Date)
429
429
  return "date";
430
- if (o instanceof RegExp)
430
+ if (s instanceof RegExp)
431
431
  return "regexp";
432
432
  }
433
433
  return a;
434
434
  }
435
- function Me(o) {
436
- var a = B(o);
435
+ function Me(s) {
436
+ var a = U(s);
437
437
  switch (a) {
438
438
  case "array":
439
439
  case "object":
@@ -446,32 +446,32 @@ Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
446
446
  return a;
447
447
  }
448
448
  }
449
- function We(o) {
450
- return !o.constructor || !o.constructor.name ? R : o.constructor.name;
449
+ function qe(s) {
450
+ return !s.constructor || !s.constructor.name ? S : s.constructor.name;
451
451
  }
452
- return N.checkPropTypes = s, N.resetWarningCache = s.resetWarningCache, N.PropTypes = N, N;
452
+ return A.checkPropTypes = o, A.resetWarningCache = o.resetWarningCache, A.PropTypes = A, A;
453
453
  }, oe;
454
454
  }
455
- var ae, be;
456
- function Je() {
457
- if (be) return ae;
455
+ var se, be;
456
+ function Be() {
457
+ if (be) return se;
458
458
  be = 1;
459
- var n = /* @__PURE__ */ le();
459
+ var n = /* @__PURE__ */ ue();
460
460
  function e() {
461
461
  }
462
462
  function t() {
463
463
  }
464
- return t.resetWarningCache = e, ae = function() {
465
- function r(c, l, O, T, b, S) {
466
- if (S !== n) {
467
- var R = new Error(
464
+ return t.resetWarningCache = e, se = function() {
465
+ function r(u, c, O, N, b, T) {
466
+ if (T !== n) {
467
+ var S = new Error(
468
468
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
469
469
  );
470
- throw R.name = "Invariant Violation", R;
470
+ throw S.name = "Invariant Violation", S;
471
471
  }
472
472
  }
473
473
  r.isRequired = r;
474
- function s() {
474
+ function o() {
475
475
  return r;
476
476
  }
477
477
  var i = {
@@ -484,34 +484,34 @@ function Je() {
484
484
  string: r,
485
485
  symbol: r,
486
486
  any: r,
487
- arrayOf: s,
487
+ arrayOf: o,
488
488
  element: r,
489
489
  elementType: r,
490
- instanceOf: s,
490
+ instanceOf: o,
491
491
  node: r,
492
- objectOf: s,
493
- oneOf: s,
494
- oneOfType: s,
495
- shape: s,
496
- exact: s,
492
+ objectOf: o,
493
+ oneOf: o,
494
+ oneOfType: o,
495
+ shape: o,
496
+ exact: o,
497
497
  checkPropTypes: t,
498
498
  resetWarningCache: e
499
499
  };
500
500
  return i.PropTypes = i, i;
501
- }, ae;
501
+ }, se;
502
502
  }
503
- var xe;
504
- function Xe() {
505
- if (xe) return Q.exports;
506
- if (xe = 1, process.env.NODE_ENV !== "production") {
507
- var n = Te, e = !0;
508
- Q.exports = /* @__PURE__ */ Ge()(n.isElement, e);
503
+ var ge;
504
+ function He() {
505
+ if (ge) return Q.exports;
506
+ if (ge = 1, process.env.NODE_ENV !== "production") {
507
+ var n = Ne, e = !0;
508
+ Q.exports = /* @__PURE__ */ ze()(n.isElement, e);
509
509
  } else
510
- Q.exports = /* @__PURE__ */ Je()();
510
+ Q.exports = /* @__PURE__ */ Be()();
511
511
  return Q.exports;
512
512
  }
513
- var ze = /* @__PURE__ */ Xe();
514
- const u = /* @__PURE__ */ Be(ze);
513
+ var Xe = /* @__PURE__ */ He();
514
+ const l = /* @__PURE__ */ Ye(Xe);
515
515
  function Oe(n, e) {
516
516
  return n.replace(new RegExp(`(^|\\s)${e}(?:\\s|$)`, "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
517
517
  }
@@ -527,39 +527,39 @@ function Ke(n, e) {
527
527
  )
528
528
  );
529
529
  }
530
- const G = x.createContext(null);
530
+ const J = g.createContext(null);
531
531
  var Qe = Object.defineProperty, Ze = (n, e, t) => e in n ? Qe(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, et = (n, e, t) => Ze(n, e + "", t);
532
- const tt = process.env.NODE_ENV !== "production" ? u.oneOfType([
533
- u.number,
534
- u.shape({
535
- enter: u.number,
536
- exit: u.number,
537
- appear: u.number
532
+ const tt = process.env.NODE_ENV !== "production" ? l.oneOfType([
533
+ l.number,
534
+ l.shape({
535
+ enter: l.number,
536
+ exit: l.number,
537
+ appear: l.number
538
538
  }).isRequired
539
- ]) : null, nt = process.env.NODE_ENV !== "production" ? u.oneOfType([
540
- u.string,
541
- u.shape({
542
- enter: u.string,
543
- exit: u.string,
544
- active: u.string
539
+ ]) : null, nt = process.env.NODE_ENV !== "production" ? l.oneOfType([
540
+ l.string,
541
+ l.shape({
542
+ enter: l.string,
543
+ exit: l.string,
544
+ active: l.string
545
545
  }),
546
- u.shape({
547
- enter: u.string,
548
- enterDone: u.string,
549
- enterActive: u.string,
550
- exit: u.string,
551
- exitDone: u.string,
552
- exitActive: u.string
546
+ l.shape({
547
+ enter: l.string,
548
+ enterDone: l.string,
549
+ enterActive: l.string,
550
+ exit: l.string,
551
+ exitDone: l.string,
552
+ exitActive: l.string
553
553
  })
554
- ]) : null, Se = (n) => n.scrollTop, F = "unmounted", L = "exited", k = "entering", D = "entered", J = "exiting";
555
- let A = class extends x.Component {
554
+ ]) : null, Te = (n) => n.scrollTop, G = "unmounted", L = "exited", $ = "entering", D = "entered", z = "exiting";
555
+ let P = class extends g.Component {
556
556
  constructor(e, t) {
557
557
  super(e, t);
558
- let r = t, s = r && !r.isMounting ? e.enter : e.appear, i;
559
- this.appearStatus = null, e.in ? s ? (i = L, this.appearStatus = k) : i = D : e.unmountOnExit || e.mountOnEnter ? i = F : i = L, this.state = { status: i }, this.nextCallback = null;
558
+ let r = t, o = r && !r.isMounting ? e.enter : e.appear, i;
559
+ this.appearStatus = null, e.in ? o ? (i = L, this.appearStatus = $) : i = D : e.unmountOnExit || e.mountOnEnter ? i = G : i = L, this.state = { status: i }, this.nextCallback = null;
560
560
  }
561
561
  static getDerivedStateFromProps({ in: e }, t) {
562
- return e && t.status === F ? { status: L } : null;
562
+ return e && t.status === G ? { status: L } : null;
563
563
  }
564
564
  // getSnapshotBeforeUpdate(prevProps) {
565
565
  // let nextStatus = null
@@ -584,7 +584,7 @@ let A = class extends x.Component {
584
584
  let t = null;
585
585
  if (e !== this.props) {
586
586
  const { status: r } = this.state;
587
- this.props.in ? r !== k && r !== D && (t = k) : (r === k || r === D) && (t = J);
587
+ this.props.in ? r !== $ && r !== D && (t = $) : (r === $ || r === D) && (t = z);
588
588
  }
589
589
  this.updateStatus(!1, t);
590
590
  }
@@ -593,46 +593,46 @@ let A = class extends x.Component {
593
593
  }
594
594
  getTimeouts() {
595
595
  const { timeout: e } = this.props;
596
- let t, r, s;
597
- return t = r = s = e, e != null && typeof e != "number" && (t = e.exit, r = e.enter, s = e.appear !== void 0 ? e.appear : r), { exit: t, enter: r, appear: s };
596
+ let t, r, o;
597
+ return t = r = o = e, e != null && typeof e != "number" && (t = e.exit, r = e.enter, o = e.appear !== void 0 ? e.appear : r), { exit: t, enter: r, appear: o };
598
598
  }
599
599
  updateStatus(e = !1, t) {
600
600
  if (t !== null)
601
- if (this.cancelNextCallback(), t === k) {
601
+ if (this.cancelNextCallback(), t === $) {
602
602
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
603
- const r = this.props.nodeRef ? this.props.nodeRef.current : H.findDOMNode(this);
604
- r && Se(r);
603
+ const r = this.props.nodeRef ? this.props.nodeRef.current : Y.findDOMNode(this);
604
+ r && Te(r);
605
605
  }
606
606
  this.performEnter(e);
607
607
  } else
608
608
  this.performExit();
609
- else this.props.unmountOnExit && this.state.status === L && this.setState({ status: F });
609
+ else this.props.unmountOnExit && this.state.status === L && this.setState({ status: G });
610
610
  }
611
611
  performEnter(e) {
612
- const { enter: t } = this.props, r = this.context ? this.context.isMounting : e, [s, i] = this.props.nodeRef ? [r] : [H.findDOMNode(this), r], c = this.getTimeouts(), l = r ? c.appear : c.enter;
613
- if (!e && !t || he.disabled) {
612
+ const { enter: t } = this.props, r = this.context ? this.context.isMounting : e, [o, i] = this.props.nodeRef ? [r] : [Y.findDOMNode(this), r], u = this.getTimeouts(), c = r ? u.appear : u.enter;
613
+ if (!e && !t || fe.disabled) {
614
614
  this.safeSetState({ status: D }, () => {
615
- this.props.onEntered(s);
615
+ this.props.onEntered(o);
616
616
  });
617
617
  return;
618
618
  }
619
- this.props.onEnter(s, i), this.safeSetState({ status: k }, () => {
620
- this.props.onEntering(s, i), this.onTransitionEnd(l, () => {
619
+ this.props.onEnter(o, i), this.safeSetState({ status: $ }, () => {
620
+ this.props.onEntering(o, i), this.onTransitionEnd(c, () => {
621
621
  this.safeSetState({ status: D }, () => {
622
- this.props.onEntered(s, i);
622
+ this.props.onEntered(o, i);
623
623
  });
624
624
  });
625
625
  });
626
626
  }
627
627
  performExit() {
628
- const { exit: e } = this.props, t = this.getTimeouts(), r = this.props.nodeRef ? void 0 : H.findDOMNode(this);
629
- if (!e || he.disabled) {
628
+ const { exit: e } = this.props, t = this.getTimeouts(), r = this.props.nodeRef ? void 0 : Y.findDOMNode(this);
629
+ if (!e || fe.disabled) {
630
630
  this.safeSetState({ status: L }, () => {
631
631
  this.props.onExited(r);
632
632
  });
633
633
  return;
634
634
  }
635
- this.props.onExit(r), this.safeSetState({ status: J }, () => {
635
+ this.props.onExit(r), this.safeSetState({ status: z }, () => {
636
636
  this.props.onExiting(r), this.onTransitionEnd(t.exit, () => {
637
637
  this.safeSetState({ status: L }, () => {
638
638
  this.props.onExited(r);
@@ -656,49 +656,49 @@ let A = class extends x.Component {
656
656
  }
657
657
  onTransitionEnd(e, t) {
658
658
  this.setNextCallback(t);
659
- const r = this.props.nodeRef ? this.props.nodeRef.current : H.findDOMNode(this), s = e == null && !this.props.addEndListener;
660
- if (!r || s) {
659
+ const r = this.props.nodeRef ? this.props.nodeRef.current : Y.findDOMNode(this), o = e == null && !this.props.addEndListener;
660
+ if (!r || o) {
661
661
  setTimeout(this.nextCallback, 0);
662
662
  return;
663
663
  }
664
664
  if (this.props.addEndListener) {
665
- const [i, c] = this.props.nodeRef ? [this.nextCallback] : [r, this.nextCallback];
666
- this.props.addEndListener(i, c);
665
+ const [i, u] = this.props.nodeRef ? [this.nextCallback] : [r, this.nextCallback];
666
+ this.props.addEndListener(i, u);
667
667
  }
668
668
  e != null && setTimeout(this.nextCallback, e);
669
669
  }
670
670
  render() {
671
671
  const e = this.state.status;
672
- if (e === F)
672
+ if (e === G)
673
673
  return null;
674
674
  const {
675
675
  children: t,
676
676
  // filter props for `Transition`
677
677
  in: r,
678
- mountOnEnter: s,
678
+ mountOnEnter: o,
679
679
  unmountOnExit: i,
680
- appear: c,
681
- enter: l,
680
+ appear: u,
681
+ enter: c,
682
682
  exit: O,
683
- timeout: T,
683
+ timeout: N,
684
684
  addEndListener: b,
685
- onEnter: S,
686
- onEntering: R,
687
- onEntered: N,
688
- onExit: X,
685
+ onEnter: T,
686
+ onEntering: S,
687
+ onEntered: A,
688
+ onExit: B,
689
689
  onExiting: C,
690
- onExited: P,
690
+ onExited: w,
691
691
  nodeRef: I,
692
- ...z
692
+ ...H
693
693
  } = this.props;
694
694
  return (
695
695
  // allows for nested Transitions
696
- /* @__PURE__ */ W(G.Provider, { value: null, children: typeof t == "function" ? t(e, z) : x.cloneElement(x.Children.only(t), z) })
696
+ /* @__PURE__ */ q(J.Provider, { value: null, children: typeof t == "function" ? t(e, H) : g.cloneElement(g.Children.only(t), H) })
697
697
  );
698
698
  }
699
699
  };
700
- et(A, "contextType", G);
701
- A.propTypes = {
700
+ et(P, "contextType", J);
701
+ P.propTypes = {
702
702
  /**
703
703
  * A React reference to the DOM element that needs to transition:
704
704
  * https://stackoverflow.com/a/51127130/4671932
@@ -713,12 +713,12 @@ A.propTypes = {
713
713
  * (see
714
714
  * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
715
715
  */
716
- nodeRef: u.shape({
717
- current: typeof Element > "u" ? u.any : (n, e, t, r, s, i) => {
718
- const c = n[e];
719
- return u.instanceOf(
720
- c && "ownerDocument" in c ? c.ownerDocument.defaultView.Element : Element
721
- )(n, e, t, r, s, i);
716
+ nodeRef: l.shape({
717
+ current: typeof Element > "u" ? l.any : (n, e, t, r, o, i) => {
718
+ const u = n[e];
719
+ return l.instanceOf(
720
+ u && "ownerDocument" in u ? u.ownerDocument.defaultView.Element : Element
721
+ )(n, e, t, r, o, i);
722
722
  }
723
723
  }),
724
724
  /**
@@ -735,26 +735,26 @@ A.propTypes = {
735
735
  * </Transition>
736
736
  * ```
737
737
  */
738
- children: u.oneOfType([
739
- u.func.isRequired,
740
- u.element.isRequired
738
+ children: l.oneOfType([
739
+ l.func.isRequired,
740
+ l.element.isRequired
741
741
  ]).isRequired,
742
742
  /**
743
743
  * Show the component; triggers the enter or exit states
744
744
  */
745
- in: u.bool,
745
+ in: l.bool,
746
746
  /**
747
747
  * By default the child component is mounted immediately along with
748
748
  * the parent `Transition` component. If you want to "lazy mount" the component on the
749
749
  * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
750
750
  * mounted, even on "exited", unless you also specify `unmountOnExit`.
751
751
  */
752
- mountOnEnter: u.bool,
752
+ mountOnEnter: l.bool,
753
753
  /**
754
754
  * By default the child component stays mounted after it reaches the `'exited'` state.
755
755
  * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
756
756
  */
757
- unmountOnExit: u.bool,
757
+ unmountOnExit: l.bool,
758
758
  /**
759
759
  * By default the child component does not perform the enter transition when
760
760
  * it first mounts, regardless of the value of `in`. If you want this
@@ -766,15 +766,15 @@ A.propTypes = {
766
766
  * > additional `.appear-*` classes, that way you can choose to style it
767
767
  * > differently.
768
768
  */
769
- appear: u.bool,
769
+ appear: l.bool,
770
770
  /**
771
771
  * Enable or disable enter transitions.
772
772
  */
773
- enter: u.bool,
773
+ enter: l.bool,
774
774
  /**
775
775
  * Enable or disable exit transitions.
776
776
  */
777
- exit: u.bool,
777
+ exit: l.bool,
778
778
  /**
779
779
  * The duration of the transition, in milliseconds.
780
780
  * Required unless `addEndListener` is provided.
@@ -819,7 +819,7 @@ A.propTypes = {
819
819
  * }}
820
820
  * ```
821
821
  */
822
- addEndListener: u.func,
822
+ addEndListener: l.func,
823
823
  /**
824
824
  * Callback fired before the "entering" status is applied. An extra parameter
825
825
  * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
@@ -828,7 +828,7 @@ A.propTypes = {
828
828
  *
829
829
  * @type Function(node: HtmlElement, isAppearing: bool) -> void
830
830
  */
831
- onEnter: u.func,
831
+ onEnter: l.func,
832
832
  /**
833
833
  * Callback fired after the "entering" status is applied. An extra parameter
834
834
  * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
@@ -837,7 +837,7 @@ A.propTypes = {
837
837
  *
838
838
  * @type Function(node: HtmlElement, isAppearing: bool)
839
839
  */
840
- onEntering: u.func,
840
+ onEntering: l.func,
841
841
  /**
842
842
  * Callback fired after the "entered" status is applied. An extra parameter
843
843
  * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
@@ -846,7 +846,7 @@ A.propTypes = {
846
846
  *
847
847
  * @type Function(node: HtmlElement, isAppearing: bool) -> void
848
848
  */
849
- onEntered: u.func,
849
+ onEntered: l.func,
850
850
  /**
851
851
  * Callback fired before the "exiting" status is applied.
852
852
  *
@@ -854,7 +854,7 @@ A.propTypes = {
854
854
  *
855
855
  * @type Function(node: HtmlElement) -> void
856
856
  */
857
- onExit: u.func,
857
+ onExit: l.func,
858
858
  /**
859
859
  * Callback fired after the "exiting" status is applied.
860
860
  *
@@ -862,7 +862,7 @@ A.propTypes = {
862
862
  *
863
863
  * @type Function(node: HtmlElement) -> void
864
864
  */
865
- onExiting: u.func,
865
+ onExiting: l.func,
866
866
  /**
867
867
  * Callback fired after the "exited" status is applied.
868
868
  *
@@ -870,82 +870,82 @@ A.propTypes = {
870
870
  *
871
871
  * @type Function(node: HtmlElement) -> void
872
872
  */
873
- onExited: u.func
873
+ onExited: l.func
874
874
  };
875
- function V() {
875
+ function W() {
876
876
  }
877
- A.defaultProps = {
877
+ P.defaultProps = {
878
878
  in: !1,
879
879
  mountOnEnter: !1,
880
880
  unmountOnExit: !1,
881
881
  appear: !1,
882
882
  enter: !0,
883
883
  exit: !0,
884
- onEnter: V,
885
- onEntering: V,
886
- onEntered: V,
887
- onExit: V,
888
- onExiting: V,
889
- onExited: V
884
+ onEnter: W,
885
+ onEntering: W,
886
+ onEntered: W,
887
+ onExit: W,
888
+ onExiting: W,
889
+ onExited: W
890
890
  };
891
- A.UNMOUNTED = F;
892
- A.EXITED = L;
893
- A.ENTERING = k;
894
- A.ENTERED = D;
895
- A.EXITING = J;
896
- var rt = Object.defineProperty, it = (n, e, t) => e in n ? rt(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, $ = (n, e, t) => it(n, typeof e != "symbol" ? e + "" : e, t);
897
- const st = (n, e) => n && e && e.split(" ").forEach((t) => Ye(n, t)), ue = (n, e) => n && e && e.split(" ").forEach((t) => Ke(n, t));
898
- let Re = class extends x.Component {
891
+ P.UNMOUNTED = G;
892
+ P.EXITED = L;
893
+ P.ENTERING = $;
894
+ P.ENTERED = D;
895
+ P.EXITING = z;
896
+ var rt = Object.defineProperty, it = (n, e, t) => e in n ? rt(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, j = (n, e, t) => it(n, typeof e != "symbol" ? e + "" : e, t);
897
+ const ot = (n, e) => n && e && e.split(" ").forEach((t) => Ue(n, t)), ae = (n, e) => n && e && e.split(" ").forEach((t) => Ke(n, t));
898
+ let Se = class extends g.Component {
899
899
  constructor() {
900
- super(...arguments), $(this, "appliedClasses", {
900
+ super(...arguments), j(this, "appliedClasses", {
901
901
  appear: {},
902
902
  enter: {},
903
903
  exit: {}
904
- }), $(this, "onEnter", (e, t) => {
905
- const [r, s] = this.resolveArguments(e, t);
906
- this.removeClasses(r, "exit"), this.addClass(r, s ? "appear" : "enter", "base"), this.props.onEnter && this.props.onEnter(e, t);
907
- }), $(this, "onEntering", (e, t) => {
908
- const [r, s] = this.resolveArguments(e, t), i = s ? "appear" : "enter";
904
+ }), j(this, "onEnter", (e, t) => {
905
+ const [r, o] = this.resolveArguments(e, t);
906
+ this.removeClasses(r, "exit"), this.addClass(r, o ? "appear" : "enter", "base"), this.props.onEnter && this.props.onEnter(e, t);
907
+ }), j(this, "onEntering", (e, t) => {
908
+ const [r, o] = this.resolveArguments(e, t), i = o ? "appear" : "enter";
909
909
  this.addClass(r, i, "active"), this.props.onEntering && this.props.onEntering(e, t);
910
- }), $(this, "onEntered", (e, t) => {
911
- const [r, s] = this.resolveArguments(e, t), i = s ? "appear" : "enter";
910
+ }), j(this, "onEntered", (e, t) => {
911
+ const [r, o] = this.resolveArguments(e, t), i = o ? "appear" : "enter";
912
912
  this.removeClasses(r, i), this.addClass(r, i, "done"), this.props.onEntered && this.props.onEntered(e, t);
913
- }), $(this, "onExit", (e) => {
913
+ }), j(this, "onExit", (e) => {
914
914
  const [t] = this.resolveArguments(e);
915
915
  this.removeClasses(t, "appear"), this.removeClasses(t, "enter"), this.addClass(t, "exit", "base"), this.props.onExit && this.props.onExit(e);
916
- }), $(this, "onExiting", (e) => {
916
+ }), j(this, "onExiting", (e) => {
917
917
  const [t] = this.resolveArguments(e);
918
918
  this.addClass(t, "exit", "active"), this.props.onExiting && this.props.onExiting(e);
919
- }), $(this, "onExited", (e) => {
919
+ }), j(this, "onExited", (e) => {
920
920
  const [t] = this.resolveArguments(e);
921
921
  this.removeClasses(t, "exit"), this.addClass(t, "exit", "done"), this.props.onExited && this.props.onExited(e);
922
- }), $(this, "resolveArguments", (e, t) => this.props.nodeRef ? [this.props.nodeRef.current, e] : [e, t]), $(this, "getClassNames", (e) => {
923
- const { classNames: t } = this.props, r = typeof t == "string", s = r && t ? `${t}-` : "";
924
- let i = r ? `${s}${e}` : t[e], c = r ? `${i}-active` : t[`${e}Active`], l = r ? `${i}-done` : t[`${e}Done`];
922
+ }), j(this, "resolveArguments", (e, t) => this.props.nodeRef ? [this.props.nodeRef.current, e] : [e, t]), j(this, "getClassNames", (e) => {
923
+ const { classNames: t } = this.props, r = typeof t == "string", o = r && t ? `${t}-` : "";
924
+ let i = r ? `${o}${e}` : t[e], u = r ? `${i}-active` : t[`${e}Active`], c = r ? `${i}-done` : t[`${e}Done`];
925
925
  return {
926
926
  baseClassName: i,
927
- activeClassName: c,
928
- doneClassName: l
927
+ activeClassName: u,
928
+ doneClassName: c
929
929
  };
930
930
  });
931
931
  }
932
932
  addClass(e, t, r) {
933
- let s = this.getClassNames(t)[`${r}ClassName`];
933
+ let o = this.getClassNames(t)[`${r}ClassName`];
934
934
  const { doneClassName: i } = this.getClassNames("enter");
935
- t === "appear" && r === "done" && i && (s += ` ${i}`), r === "active" && e && Se(e), s && (this.appliedClasses[t][r] = s, st(e, s));
935
+ t === "appear" && r === "done" && i && (o += ` ${i}`), r === "active" && e && Te(e), o && (this.appliedClasses[t][r] = o, ot(e, o));
936
936
  }
937
937
  removeClasses(e, t) {
938
938
  const {
939
939
  base: r,
940
- active: s,
940
+ active: o,
941
941
  done: i
942
942
  } = this.appliedClasses[t];
943
- this.appliedClasses[t] = {}, r && ue(e, r), s && ue(e, s), i && ue(e, i);
943
+ this.appliedClasses[t] = {}, r && ae(e, r), o && ae(e, o), i && ae(e, i);
944
944
  }
945
945
  render() {
946
946
  const { classNames: e, ...t } = this.props;
947
- return /* @__PURE__ */ W(
948
- A,
947
+ return /* @__PURE__ */ q(
948
+ P,
949
949
  {
950
950
  ...t,
951
951
  onEnter: this.onEnter,
@@ -958,11 +958,11 @@ let Re = class extends x.Component {
958
958
  );
959
959
  }
960
960
  };
961
- $(Re, "defaultProps", {
961
+ j(Se, "defaultProps", {
962
962
  classNames: ""
963
963
  });
964
- Re.propTypes = {
965
- ...A.propTypes,
964
+ Se.propTypes = {
965
+ ...P.propTypes,
966
966
  /**
967
967
  * The animation classNames applied to the component as it appears, enters,
968
968
  * exits or has finished the transition. A single name can be provided, which
@@ -1040,7 +1040,7 @@ Re.propTypes = {
1040
1040
  *
1041
1041
  * @type Function(node: HtmlElement, isAppearing: bool)
1042
1042
  */
1043
- onEnter: u.func,
1043
+ onEnter: l.func,
1044
1044
  /**
1045
1045
  * A `<Transition>` callback fired immediately after the 'enter-active' or
1046
1046
  * 'appear-active' class is applied.
@@ -1049,7 +1049,7 @@ Re.propTypes = {
1049
1049
  *
1050
1050
  * @type Function(node: HtmlElement, isAppearing: bool)
1051
1051
  */
1052
- onEntering: u.func,
1052
+ onEntering: l.func,
1053
1053
  /**
1054
1054
  * A `<Transition>` callback fired immediately after the 'enter' or
1055
1055
  * 'appear' classes are **removed** and the `done` class is added to the DOM node.
@@ -1058,7 +1058,7 @@ Re.propTypes = {
1058
1058
  *
1059
1059
  * @type Function(node: HtmlElement, isAppearing: bool)
1060
1060
  */
1061
- onEntered: u.func,
1061
+ onEntered: l.func,
1062
1062
  /**
1063
1063
  * A `<Transition>` callback fired immediately after the 'exit' class is
1064
1064
  * applied.
@@ -1067,7 +1067,7 @@ Re.propTypes = {
1067
1067
  *
1068
1068
  * @type Function(node: HtmlElement)
1069
1069
  */
1070
- onExit: u.func,
1070
+ onExit: l.func,
1071
1071
  /**
1072
1072
  * A `<Transition>` callback fired immediately after the 'exit-active' is applied.
1073
1073
  *
@@ -1075,7 +1075,7 @@ Re.propTypes = {
1075
1075
  *
1076
1076
  * @type Function(node: HtmlElement)
1077
1077
  */
1078
- onExiting: u.func,
1078
+ onExiting: l.func,
1079
1079
  /**
1080
1080
  * A `<Transition>` callback fired immediately after the 'exit' classes
1081
1081
  * are **removed** and the `exit-done` class is added to the DOM node.
@@ -1084,40 +1084,40 @@ Re.propTypes = {
1084
1084
  *
1085
1085
  * @type Function(node: HtmlElement)
1086
1086
  */
1087
- onExited: u.func
1087
+ onExited: l.func
1088
1088
  };
1089
- function pe(n, e) {
1090
- let t = (s) => e && Z(s) ? e(s) : s, r = /* @__PURE__ */ Object.create(null);
1091
- return n && Ue.map(n, (s) => s).forEach((s) => {
1092
- r[s.key] = t(s);
1089
+ function ce(n, e) {
1090
+ let t = (o) => e && Z(o) ? e(o) : o, r = /* @__PURE__ */ Object.create(null);
1091
+ return n && We.map(n, (o) => o).forEach((o) => {
1092
+ r[o.key] = t(o);
1093
1093
  }), r;
1094
1094
  }
1095
- function ot(n, e) {
1095
+ function st(n, e) {
1096
1096
  n = n || {}, e = e || {};
1097
- function t(l) {
1098
- return l in e ? e[l] : n[l];
1097
+ function t(c) {
1098
+ return c in e ? e[c] : n[c];
1099
1099
  }
1100
- let r = /* @__PURE__ */ Object.create(null), s = [];
1101
- for (let l in n)
1102
- l in e ? s.length && (r[l] = s, s = []) : s.push(l);
1103
- let i, c = {};
1104
- for (let l in e) {
1105
- if (r[l])
1106
- for (i = 0; i < r[l].length; i++) {
1107
- let O = r[l][i];
1108
- c[r[l][i]] = t(O);
1100
+ let r = /* @__PURE__ */ Object.create(null), o = [];
1101
+ for (let c in n)
1102
+ c in e ? o.length && (r[c] = o, o = []) : o.push(c);
1103
+ let i, u = {};
1104
+ for (let c in e) {
1105
+ if (r[c])
1106
+ for (i = 0; i < r[c].length; i++) {
1107
+ let O = r[c][i];
1108
+ u[r[c][i]] = t(O);
1109
1109
  }
1110
- c[l] = t(l);
1110
+ u[c] = t(c);
1111
1111
  }
1112
- for (i = 0; i < s.length; i++)
1113
- c[s[i]] = t(s[i]);
1114
- return c;
1112
+ for (i = 0; i < o.length; i++)
1113
+ u[o[i]] = t(o[i]);
1114
+ return u;
1115
1115
  }
1116
1116
  function M(n, e, t) {
1117
1117
  return t[e] != null ? t[e] : n.props[e];
1118
1118
  }
1119
1119
  function at(n, e) {
1120
- return pe(n.children, (t) => ee(t, {
1120
+ return ce(n.children, (t) => ee(t, {
1121
1121
  onExited: e.bind(null, t),
1122
1122
  in: !0,
1123
1123
  appear: M(t, "appear", n),
@@ -1125,30 +1125,30 @@ function at(n, e) {
1125
1125
  exit: M(t, "exit", n)
1126
1126
  }));
1127
1127
  }
1128
- function ut(n, e, t) {
1129
- let r = pe(n.children), s = ot(e, r);
1130
- return Object.keys(s).forEach((i) => {
1131
- let c = s[i];
1132
- if (!Z(c)) return;
1133
- const l = i in e, O = i in r, T = e[i], b = Z(T) && !T.props.in;
1134
- O && (!l || b) ? s[i] = ee(c, {
1135
- onExited: t.bind(null, c),
1128
+ function lt(n, e, t) {
1129
+ let r = ce(n.children), o = st(e, r);
1130
+ return Object.keys(o).forEach((i) => {
1131
+ let u = o[i];
1132
+ if (!Z(u)) return;
1133
+ const c = i in e, O = i in r, N = e[i], b = Z(N) && !N.props.in;
1134
+ O && (!c || b) ? o[i] = ee(u, {
1135
+ onExited: t.bind(null, u),
1136
1136
  in: !0,
1137
- exit: M(c, "exit", n),
1138
- enter: M(c, "enter", n)
1139
- }) : !O && l && !b ? s[i] = ee(c, { in: !1 }) : O && l && Z(T) && (s[i] = ee(c, {
1140
- onExited: t.bind(null, c),
1141
- in: T.props.in,
1142
- exit: M(c, "exit", n),
1143
- enter: M(c, "enter", n)
1137
+ exit: M(u, "exit", n),
1138
+ enter: M(u, "enter", n)
1139
+ }) : !O && c && !b ? o[i] = ee(u, { in: !1 }) : O && c && Z(N) && (o[i] = ee(u, {
1140
+ onExited: t.bind(null, u),
1141
+ in: N.props.in,
1142
+ exit: M(u, "exit", n),
1143
+ enter: M(u, "enter", n)
1144
1144
  }));
1145
- }), s;
1145
+ }), o;
1146
1146
  }
1147
- const ct = Object.values || ((n) => Object.keys(n).map((e) => n[e])), lt = {
1147
+ const ut = Object.values || ((n) => Object.keys(n).map((e) => n[e])), ct = {
1148
1148
  component: "div",
1149
1149
  childFactory: (n) => n
1150
1150
  };
1151
- class de extends x.Component {
1151
+ class pe extends g.Component {
1152
1152
  constructor(e, t) {
1153
1153
  super(e, t);
1154
1154
  const r = this.handleExited.bind(this);
@@ -1166,26 +1166,26 @@ class de extends x.Component {
1166
1166
  componentWillUnmount() {
1167
1167
  this.mounted = !1;
1168
1168
  }
1169
- static getDerivedStateFromProps(e, { children: t, handleExited: r, firstRender: s }) {
1169
+ static getDerivedStateFromProps(e, { children: t, handleExited: r, firstRender: o }) {
1170
1170
  return {
1171
- children: s ? at(e, r) : ut(e, t, r),
1171
+ children: o ? at(e, r) : lt(e, t, r),
1172
1172
  firstRender: !1
1173
1173
  };
1174
1174
  }
1175
1175
  // node is `undefined` when user provided `nodeRef` prop
1176
1176
  handleExited(e, t) {
1177
- let r = pe(this.props.children);
1178
- e.key in r || (e.props.onExited && e.props.onExited(t), this.mounted && this.setState((s) => {
1179
- let i = { ...s.children };
1177
+ let r = ce(this.props.children);
1178
+ e.key in r || (e.props.onExited && e.props.onExited(t), this.mounted && this.setState((o) => {
1179
+ let i = { ...o.children };
1180
1180
  return delete i[e.key], { children: i };
1181
1181
  }));
1182
1182
  }
1183
1183
  render() {
1184
- const { component: e, childFactory: t, ...r } = this.props, { contextValue: s } = this.state, i = ct(this.state.children).map(t);
1185
- return delete r.appear, delete r.enter, delete r.exit, e === null ? /* @__PURE__ */ W(G.Provider, { value: s, children: i }) : /* @__PURE__ */ W(G.Provider, { value: s, children: /* @__PURE__ */ W(e, { ...r, children: i }) });
1184
+ const { component: e, childFactory: t, ...r } = this.props, { contextValue: o } = this.state, i = ut(this.state.children).map(t);
1185
+ return delete r.appear, delete r.enter, delete r.exit, e === null ? /* @__PURE__ */ q(J.Provider, { value: o, children: i }) : /* @__PURE__ */ q(J.Provider, { value: o, children: /* @__PURE__ */ q(e, { ...r, children: i }) });
1186
1186
  }
1187
1187
  }
1188
- de.propTypes = {
1188
+ pe.propTypes = {
1189
1189
  /**
1190
1190
  * `<TransitionGroup>` renders a `<div>` by default. You can change this
1191
1191
  * behavior by providing a `component` prop.
@@ -1193,7 +1193,7 @@ de.propTypes = {
1193
1193
  * you can pass in `component={null}`. This is useful if the wrapping div
1194
1194
  * borks your css styles.
1195
1195
  */
1196
- component: u.any,
1196
+ component: l.any,
1197
1197
  /**
1198
1198
  * A set of `<Transition>` components, that are toggled `in` and out as they
1199
1199
  * leave. the `<TransitionGroup>` will inject specific transition props, so
@@ -1207,25 +1207,25 @@ de.propTypes = {
1207
1207
  * the transition child as you change its content, this will cause
1208
1208
  * `TransitionGroup` to transition the child out and back in.
1209
1209
  */
1210
- children: u.node,
1210
+ children: l.node,
1211
1211
  /**
1212
1212
  * A convenience prop that enables or disables appear animations
1213
1213
  * for all children. Note that specifying this will override any defaults set
1214
1214
  * on individual children Transitions.
1215
1215
  */
1216
- appear: u.bool,
1216
+ appear: l.bool,
1217
1217
  /**
1218
1218
  * A convenience prop that enables or disables enter animations
1219
1219
  * for all children. Note that specifying this will override any defaults set
1220
1220
  * on individual children Transitions.
1221
1221
  */
1222
- enter: u.bool,
1222
+ enter: l.bool,
1223
1223
  /**
1224
1224
  * A convenience prop that enables or disables exit animations
1225
1225
  * for all children. Note that specifying this will override any defaults set
1226
1226
  * on individual children Transitions.
1227
1227
  */
1228
- exit: u.bool,
1228
+ exit: l.bool,
1229
1229
  /**
1230
1230
  * You may need to apply reactive updates to a child as it is exiting.
1231
1231
  * This is generally done by using `cloneElement` however in the case of an exiting
@@ -1236,29 +1236,29 @@ de.propTypes = {
1236
1236
  *
1237
1237
  * @type Function(child: ReactElement) -> ReactElement
1238
1238
  */
1239
- childFactory: u.func
1239
+ childFactory: l.func
1240
1240
  };
1241
- de.defaultProps = lt;
1242
- var pt = Object.defineProperty, dt = (n, e, t) => e in n ? pt(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Y = (n, e, t) => dt(n, typeof e != "symbol" ? e + "" : e, t);
1243
- class ft extends x.Component {
1241
+ pe.defaultProps = ct;
1242
+ var pt = Object.defineProperty, dt = (n, e, t) => e in n ? pt(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, F = (n, e, t) => dt(n, typeof e != "symbol" ? e + "" : e, t);
1243
+ class ft extends g.Component {
1244
1244
  constructor() {
1245
- super(...arguments), Y(this, "handleEnter", (...e) => this.handleLifecycle("onEnter", 0, e)), Y(this, "handleEntering", (...e) => this.handleLifecycle("onEntering", 0, e)), Y(this, "handleEntered", (...e) => this.handleLifecycle("onEntered", 0, e)), Y(this, "handleExit", (...e) => this.handleLifecycle("onExit", 1, e)), Y(this, "handleExiting", (...e) => this.handleLifecycle("onExiting", 1, e)), Y(this, "handleExited", (...e) => this.handleLifecycle("onExited", 1, e));
1245
+ super(...arguments), F(this, "handleEnter", (...e) => this.handleLifecycle("onEnter", 0, e)), F(this, "handleEntering", (...e) => this.handleLifecycle("onEntering", 0, e)), F(this, "handleEntered", (...e) => this.handleLifecycle("onEntered", 0, e)), F(this, "handleExit", (...e) => this.handleLifecycle("onExit", 1, e)), F(this, "handleExiting", (...e) => this.handleLifecycle("onExiting", 1, e)), F(this, "handleExited", (...e) => this.handleLifecycle("onExited", 1, e));
1246
1246
  }
1247
1247
  handleLifecycle(e, t, r) {
1248
- const { children: s } = this.props, i = x.Children.toArray(s)[t];
1248
+ const { children: o } = this.props, i = g.Children.toArray(o)[t];
1249
1249
  if (i.props[e] && i.props[e](...r), this.props[e]) {
1250
- const c = i.props.nodeRef ? void 0 : H.findDOMNode(this);
1251
- this.props[e](c);
1250
+ const u = i.props.nodeRef ? void 0 : Y.findDOMNode(this);
1251
+ this.props[e](u);
1252
1252
  }
1253
1253
  }
1254
1254
  render() {
1255
- const { children: e, in: t, ...r } = this.props, [s, i] = x.Children.toArray(e);
1256
- return delete r.onEnter, delete r.onEntering, delete r.onEntered, delete r.onExit, delete r.onExiting, delete r.onExited, /* @__PURE__ */ W(de, { ...r, children: t ? x.cloneElement(s, {
1255
+ const { children: e, in: t, ...r } = this.props, [o, i] = g.Children.toArray(e);
1256
+ return delete r.onEnter, delete r.onEntering, delete r.onEntered, delete r.onExit, delete r.onExiting, delete r.onExited, /* @__PURE__ */ q(pe, { ...r, children: t ? g.cloneElement(o, {
1257
1257
  key: "first",
1258
1258
  onEnter: this.handleEnter,
1259
1259
  onEntering: this.handleEntering,
1260
1260
  onEntered: this.handleEntered
1261
- }) : x.cloneElement(i, {
1261
+ }) : g.cloneElement(i, {
1262
1262
  key: "second",
1263
1263
  onEnter: this.handleExit,
1264
1264
  onEntering: this.handleExiting,
@@ -1267,16 +1267,16 @@ class ft extends x.Component {
1267
1267
  }
1268
1268
  }
1269
1269
  ft.propTypes = {
1270
- in: u.bool.isRequired,
1270
+ in: l.bool.isRequired,
1271
1271
  children(n, e) {
1272
- return x.Children.count(n[e]) !== 2 ? new Error(
1272
+ return g.Children.count(n[e]) !== 2 ? new Error(
1273
1273
  `"${e}" must be exactly two transition components.`
1274
1274
  ) : null;
1275
1275
  }
1276
1276
  };
1277
- var ht = Object.defineProperty, Et = (n, e, t) => e in n ? ht(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, ce = (n, e, t) => Et(n, typeof e != "symbol" ? e + "" : e, t);
1278
- function vt(n, e) {
1279
- return !(n === e || x.isValidElement(n) && x.isValidElement(e) && n.key != null && n.key === e.key);
1277
+ var ht = Object.defineProperty, Et = (n, e, t) => e in n ? ht(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, le = (n, e, t) => Et(n, typeof e != "symbol" ? e + "" : e, t);
1278
+ function mt(n, e) {
1279
+ return !(n === e || g.isValidElement(n) && g.isValidElement(e) && n.key != null && n.key === e.key);
1280
1280
  }
1281
1281
  const _ = {
1282
1282
  out: "out-in",
@@ -1284,46 +1284,46 @@ const _ = {
1284
1284
  }, te = (n, e, t) => (...r) => {
1285
1285
  n.props[e] && n.props[e](...r), t();
1286
1286
  }, yt = {
1287
- [_.out]: ({ current: n, changeState: e }) => x.cloneElement(n, {
1287
+ [_.out]: ({ current: n, changeState: e }) => g.cloneElement(n, {
1288
1288
  in: !1,
1289
1289
  onExited: te(n, "onExited", () => {
1290
- e(k, null);
1290
+ e($, null);
1291
1291
  })
1292
1292
  }),
1293
1293
  [_.in]: ({ current: n, changeState: e, children: t }) => [
1294
1294
  n,
1295
- x.cloneElement(t, {
1295
+ g.cloneElement(t, {
1296
1296
  in: !0,
1297
1297
  onEntered: te(t, "onEntered", () => {
1298
- e(k);
1298
+ e($);
1299
1299
  })
1300
1300
  })
1301
1301
  ]
1302
- }, gt = {
1303
- [_.out]: ({ children: n, changeState: e }) => x.cloneElement(n, {
1302
+ }, vt = {
1303
+ [_.out]: ({ children: n, changeState: e }) => g.cloneElement(n, {
1304
1304
  in: !0,
1305
1305
  onEntered: te(n, "onEntered", () => {
1306
- e(D, x.cloneElement(n, { in: !0 }));
1306
+ e(D, g.cloneElement(n, { in: !0 }));
1307
1307
  })
1308
1308
  }),
1309
1309
  [_.in]: ({ current: n, children: e, changeState: t }) => [
1310
- x.cloneElement(n, {
1310
+ g.cloneElement(n, {
1311
1311
  in: !1,
1312
1312
  onExited: te(n, "onExited", () => {
1313
- t(D, x.cloneElement(e, { in: !0 }));
1313
+ t(D, g.cloneElement(e, { in: !0 }));
1314
1314
  })
1315
1315
  }),
1316
- x.cloneElement(e, {
1316
+ g.cloneElement(e, {
1317
1317
  in: !0
1318
1318
  })
1319
1319
  ]
1320
1320
  };
1321
- class we extends x.Component {
1321
+ class ke extends g.Component {
1322
1322
  constructor() {
1323
- super(...arguments), ce(this, "state", {
1323
+ super(...arguments), le(this, "state", {
1324
1324
  status: D,
1325
1325
  current: null
1326
- }), ce(this, "appeared", !1), ce(this, "changeState", (e, t = this.state.current) => {
1326
+ }), le(this, "appeared", !1), le(this, "changeState", (e, t = this.state.current) => {
1327
1327
  this.setState({
1328
1328
  status: e,
1329
1329
  current: t
@@ -1336,12 +1336,12 @@ class we extends x.Component {
1336
1336
  static getDerivedStateFromProps(e, t) {
1337
1337
  return e.children == null ? {
1338
1338
  current: null
1339
- } : t.status === k && e.mode === _.in ? {
1340
- status: k
1341
- } : t.current && vt(t.current, e.children) ? {
1342
- status: J
1339
+ } : t.status === $ && e.mode === _.in ? {
1340
+ status: $
1341
+ } : t.current && mt(t.current, e.children) ? {
1342
+ status: z
1343
1343
  } : {
1344
- current: x.cloneElement(e.children, {
1344
+ current: g.cloneElement(e.children, {
1345
1345
  in: !0
1346
1346
  })
1347
1347
  };
@@ -1349,23 +1349,23 @@ class we extends x.Component {
1349
1349
  render() {
1350
1350
  const {
1351
1351
  props: { children: e, mode: t },
1352
- state: { status: r, current: s }
1353
- } = this, i = { children: e, current: s, changeState: this.changeState, status: r };
1354
- let c;
1352
+ state: { status: r, current: o }
1353
+ } = this, i = { children: e, current: o, changeState: this.changeState, status: r };
1354
+ let u;
1355
1355
  switch (r) {
1356
- case k:
1357
- c = gt[t](i);
1356
+ case $:
1357
+ u = vt[t](i);
1358
1358
  break;
1359
- case J:
1360
- c = yt[t](i);
1359
+ case z:
1360
+ u = yt[t](i);
1361
1361
  break;
1362
1362
  case D:
1363
- c = s;
1363
+ u = o;
1364
1364
  }
1365
- return /* @__PURE__ */ W(G.Provider, { value: { isMounting: !this.appeared }, children: c });
1365
+ return /* @__PURE__ */ q(J.Provider, { value: { isMounting: !this.appeared }, children: u });
1366
1366
  }
1367
1367
  }
1368
- we.propTypes = {
1368
+ ke.propTypes = {
1369
1369
  /**
1370
1370
  * Transition modes.
1371
1371
  * `out-in`: Current element transitions out first, then when complete, the new element transitions in.
@@ -1373,19 +1373,19 @@ we.propTypes = {
1373
1373
  *
1374
1374
  * @type {'out-in'|'in-out'}
1375
1375
  */
1376
- mode: u.oneOf([_.in, _.out]),
1376
+ mode: l.oneOf([_.in, _.out]),
1377
1377
  /**
1378
1378
  * Any `Transition` or `CSSTransition` component.
1379
1379
  */
1380
- children: u.oneOfType([u.element.isRequired])
1380
+ children: l.oneOfType([l.element.isRequired])
1381
1381
  };
1382
- we.defaultProps = {
1382
+ ke.defaultProps = {
1383
1383
  mode: _.out
1384
1384
  };
1385
1385
  export {
1386
- de as b,
1387
- Re as c,
1388
- we as h,
1386
+ pe as b,
1387
+ Se as c,
1388
+ ke as h,
1389
1389
  ft as m,
1390
- A as u
1390
+ P as u
1391
1391
  };