@lanaco/lnc-react-ui 4.0.2 → 4.0.5

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 (233) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +55 -50
  3. package/dist/AccordionDetails.cjs +1 -1
  4. package/dist/AccordionDetails.js +15 -15
  5. package/dist/AccordionSummary.cjs +1 -1
  6. package/dist/AccordionSummary.js +11 -11
  7. package/dist/ActionsToolbar.cjs +2 -2
  8. package/dist/ActionsToolbar.js +16 -16
  9. package/dist/Alert.cjs +1 -1
  10. package/dist/Alert.js +23 -23
  11. package/dist/Avatar.cjs +2 -2
  12. package/dist/Avatar.js +18 -21
  13. package/dist/Badge.cjs +1 -1
  14. package/dist/Badge.js +21 -14
  15. package/dist/Breadcrumbs.cjs +1 -1
  16. package/dist/Breadcrumbs.js +28 -28
  17. package/dist/Button.cjs +2 -2
  18. package/dist/Button.js +21 -22
  19. package/dist/ButtonGroup.cjs +1 -1
  20. package/dist/ButtonGroup.js +10 -6
  21. package/dist/CheckBoxInput.cjs +1 -1
  22. package/dist/CheckBoxInput.js +6 -6
  23. package/dist/Chip.cjs +1 -1
  24. package/dist/Chip.js +9 -9
  25. package/dist/ColorInput.cjs +1 -1
  26. package/dist/ColorInput.js +20 -20
  27. package/dist/ConfirmationForm.cjs +1 -1
  28. package/dist/ConfirmationForm.js +58 -58
  29. package/dist/Content.cjs +1 -1
  30. package/dist/Content.js +8 -8
  31. package/dist/{CustomStyles-nfD3J1mi.js → CustomStyles-BUSJ8bZt.js} +5 -5
  32. package/dist/{CustomStyles-CqlCjTgU.cjs → CustomStyles-Dlqxic2X.cjs} +1 -1
  33. package/dist/DataView.cjs +1 -1
  34. package/dist/DataView.js +35 -35
  35. package/dist/DateInput.cjs +4 -4
  36. package/dist/DateInput.js +491 -491
  37. package/dist/DecimalInput.cjs +1 -1
  38. package/dist/DecimalInput.js +43 -43
  39. package/dist/DetailsView.cjs +4 -4
  40. package/dist/DetailsView.js +40 -40
  41. package/dist/DoubleRangeSlider.cjs +1 -1
  42. package/dist/DoubleRangeSlider.js +33 -33
  43. package/dist/DragAndDropFile.cjs +1 -1
  44. package/dist/DragAndDropFile.js +165 -165
  45. package/dist/DragDropFiles.cjs +1 -1
  46. package/dist/DragDropFiles.js +31 -31
  47. package/dist/Drawer.cjs +1 -1
  48. package/dist/Drawer.js +47 -47
  49. package/dist/Dropdown.cjs +1 -1
  50. package/dist/Dropdown.js +39 -39
  51. package/dist/DropdownItem.cjs +1 -1
  52. package/dist/DropdownItem.js +23 -23
  53. package/dist/DropdownLookup.cjs +1 -1
  54. package/dist/DropdownLookup.js +36 -36
  55. package/dist/DropdownMenu.cjs +7 -1
  56. package/dist/DropdownMenu.js +192 -10
  57. package/dist/EditableTable.cjs +1 -1
  58. package/dist/EditableTable.js +4 -4
  59. package/dist/FileInput.cjs +1 -1
  60. package/dist/FileInput.js +24 -24
  61. package/dist/FlexBox.cjs +1 -1
  62. package/dist/FlexBox.js +14 -14
  63. package/dist/FlexGrid.cjs +1 -1
  64. package/dist/FlexGrid.js +30 -30
  65. package/dist/FlexGridItem.cjs +1 -1
  66. package/dist/FlexGridItem.js +16 -16
  67. package/dist/Footer.cjs +1 -1
  68. package/dist/Footer.js +5 -5
  69. package/dist/FormField.cjs +1 -1
  70. package/dist/FormField.js +8 -9
  71. package/dist/FormView.cjs +1 -1
  72. package/dist/FormView.js +31 -31
  73. package/dist/Grid.cjs +2 -3
  74. package/dist/Grid.js +38 -10
  75. package/dist/GridItem.cjs +2 -2
  76. package/dist/GridItem.js +29 -9
  77. package/dist/Header.cjs +1 -1
  78. package/dist/Header.js +7 -7
  79. package/dist/Icon.cjs +2 -2
  80. package/dist/Icon.js +35 -13
  81. package/dist/IconButton.cjs +1 -1
  82. package/dist/IconButton.js +51 -52
  83. package/dist/Kanban.cjs +12 -12
  84. package/dist/Kanban.js +891 -879
  85. package/dist/KanbanActionsToolbar.cjs +2 -2
  86. package/dist/KanbanActionsToolbar.js +28 -28
  87. package/dist/{KanbanCard-D9OhU8C6.js → KanbanCard-CHZ_C9kk.js} +50 -50
  88. package/dist/KanbanCard-DV3VnSUi.cjs +30 -0
  89. package/dist/KanbanCard.cjs +1 -1
  90. package/dist/KanbanCard.js +5 -5
  91. package/dist/KanbanFooter.cjs +1 -1
  92. package/dist/KanbanFooter.js +40 -40
  93. package/dist/KanbanHeader.cjs +2 -2
  94. package/dist/KanbanHeader.js +46 -46
  95. package/dist/KanbanView.cjs +1 -1
  96. package/dist/KanbanView.js +27 -27
  97. package/dist/Link.cjs +1 -1
  98. package/dist/Link.js +9 -9
  99. package/dist/MenuItem.cjs +1 -1
  100. package/dist/MenuItem.js +39 -39
  101. package/dist/Modal.cjs +1 -1
  102. package/dist/Modal.js +42 -42
  103. package/dist/MultiSelectDropdown.cjs +1 -1
  104. package/dist/MultiSelectDropdown.js +6 -6
  105. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  106. package/dist/MultiSelectDropdownLookup.js +6 -6
  107. package/dist/NestedDropdownItem.cjs +1 -1
  108. package/dist/NestedDropdownItem.js +40 -40
  109. package/dist/NestedMenuItem.cjs +1 -1
  110. package/dist/NestedMenuItem.js +45 -45
  111. package/dist/Notification.cjs +1 -83
  112. package/dist/Notification.js +3 -1077
  113. package/dist/NotificationContainer.cjs +37 -0
  114. package/dist/NotificationContainer.js +162 -0
  115. package/dist/NotificationMessage.cjs +47 -0
  116. package/dist/NotificationMessage.js +133 -0
  117. package/dist/NumberInput.cjs +1 -1
  118. package/dist/NumberInput.js +17 -17
  119. package/dist/PageLayout.cjs +1 -1
  120. package/dist/PageLayout.js +32 -32
  121. package/dist/Pagination.cjs +12 -0
  122. package/dist/Pagination.js +248 -0
  123. package/dist/PasswordInput.cjs +1 -1
  124. package/dist/PasswordInput.js +33 -33
  125. package/dist/Popover.cjs +1 -0
  126. package/dist/Popover.js +36 -0
  127. package/dist/PopoverClose.cjs +1 -0
  128. package/dist/PopoverClose.js +15 -0
  129. package/dist/PopoverContent.cjs +10 -0
  130. package/dist/PopoverContent.js +68 -0
  131. package/dist/PopoverContext.cjs +1 -0
  132. package/dist/PopoverContext.js +5 -0
  133. package/dist/PopoverDescription.cjs +1 -0
  134. package/dist/PopoverDescription.js +16 -0
  135. package/dist/PopoverHeading.cjs +1 -0
  136. package/dist/PopoverHeading.js +16 -0
  137. package/dist/PopoverTrigger.cjs +1 -0
  138. package/dist/PopoverTrigger.js +38 -0
  139. package/dist/ProgressBar.cjs +1 -1
  140. package/dist/ProgressBar.js +35 -24
  141. package/dist/RadioGroup.cjs +1 -1
  142. package/dist/RadioGroup.js +13 -13
  143. package/dist/RadioInput.cjs +1 -1
  144. package/dist/RadioInput.js +10 -10
  145. package/dist/RangeSlider.cjs +1 -1
  146. package/dist/RangeSlider.js +27 -27
  147. package/dist/SearchBar.cjs +1 -1
  148. package/dist/SearchBar.js +77 -77
  149. package/dist/Separator.cjs +1 -1
  150. package/dist/Separator.js +9 -9
  151. package/dist/Sidebar.cjs +1 -1
  152. package/dist/Sidebar.js +13 -13
  153. package/dist/Spinner.cjs +1 -1
  154. package/dist/Spinner.js +25 -20
  155. package/dist/Surface.cjs +2 -2
  156. package/dist/Surface.js +14 -15
  157. package/dist/SwipeableDrawer.cjs +1 -1
  158. package/dist/SwipeableDrawer.js +18 -18
  159. package/dist/TabItem.cjs +26 -0
  160. package/dist/TabItem.js +210 -0
  161. package/dist/Table.cjs +20 -20
  162. package/dist/Table.js +13 -12
  163. package/dist/TableView.cjs +8 -1
  164. package/dist/TableView.js +238 -9
  165. package/dist/Tabs.cjs +1 -1
  166. package/dist/Tabs.js +33 -27
  167. package/dist/TextAreaInput.cjs +1 -1
  168. package/dist/TextAreaInput.js +35 -35
  169. package/dist/TextInput.cjs +1 -1
  170. package/dist/TextInput.js +24 -24
  171. package/dist/ThemeProvider.cjs +1 -1
  172. package/dist/ThemeProvider.js +85 -85
  173. package/dist/TimeInput.cjs +1 -1
  174. package/dist/TimeInput.js +13 -13
  175. package/dist/Toggle.cjs +1 -1
  176. package/dist/Toggle.js +4 -5
  177. package/dist/TreeMenu.cjs +1 -1
  178. package/dist/TreeMenu.js +57 -57
  179. package/dist/TreeMenuSeparator.cjs +3 -3
  180. package/dist/TreeMenuSeparator.js +11 -11
  181. package/dist/UploadedFile.cjs +1 -1
  182. package/dist/UploadedFile.js +29 -29
  183. package/dist/_commonjsHelpers-DKOUU3wS.cjs +1 -0
  184. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  185. package/dist/{defineProperty-BHpTtkhC.js → defineProperty-B5pLF6px.js} +8 -8
  186. package/dist/{emotion-element-5486c51c.browser.esm-CSejtOeT.js → emotion-element-5486c51c.browser.esm-Bb4VkP8U.js} +4 -4
  187. package/dist/{emotion-is-prop-valid.esm-BzFBwmJz.js → emotion-is-prop-valid.esm-DkbeH1Xy.js} +1 -1
  188. package/dist/{emotion-react.browser.esm-OWM-uG8Q.js → emotion-react.browser.esm-CN-s34fZ.js} +6 -6
  189. package/dist/{emotion-react.browser.esm-DQBL7Wls.cjs → emotion-react.browser.esm-D7h2t2Bz.cjs} +1 -1
  190. package/dist/{emotion-styled.browser.esm-BZSYYThs.js → emotion-styled.browser.esm-BiK8DcgW.js} +12 -12
  191. package/dist/floating-ui.react.esm-72DKnou_.js +1198 -0
  192. package/dist/floating-ui.react.esm-C4vrBVJU.cjs +4 -0
  193. package/dist/{hoist-non-react-statics.cjs-Drf1aBlk.js → hoist-non-react-statics.cjs-CAHiRNzQ.js} +1 -1
  194. package/dist/{hoist-non-react-statics.cjs-B8r9S_ak.cjs → hoist-non-react-statics.cjs-Dr-ytKVG.cjs} +3 -3
  195. package/dist/{index-CZJEA84h.js → index--Kmch3aI.js} +1 -1
  196. package/dist/index-BIlhCoy2.cjs +20 -0
  197. package/dist/{index-BLQWNy78.js → index-BUChtubz.js} +4 -4
  198. package/dist/{index-Ds9PUTwb.js → index-BYnWp42a.js} +208 -213
  199. package/dist/{index-D5vEbKUT.js → index-CNBqQrtK.js} +1 -1
  200. package/dist/{index-IO9v6o0I.cjs → index-CSXL784P.cjs} +2 -2
  201. package/dist/{index-C29T0m2a.cjs → index-Ct1N7fF4.cjs} +1 -1
  202. package/dist/{index-BklgDeu4.js → index-Cu0xwYjD.js} +1 -1
  203. package/dist/{index-Cdkz-XH-.js → index-CvebWhtp.js} +1 -1
  204. package/dist/index-DAOBjHnD.cjs +1 -0
  205. package/dist/index-DBXXH_TD.cjs +1 -0
  206. package/dist/{index-B_da1uvD.js → index-DLVVKJXD.js} +1 -1
  207. package/dist/index-DaiUAQVF.cjs +1 -0
  208. package/dist/index.cjs +1 -26
  209. package/dist/index.js +180 -376
  210. package/dist/{motion-CtkUpWEn.js → motion-ecIGZGwI.js} +1 -1
  211. package/dist/react-toastify.esm-CkXGwKXL.js +798 -0
  212. package/dist/react-toastify.esm-Dqcb4SQT.cjs +1 -0
  213. package/dist/{setPrototypeOf-a891FLQJ.js → setPrototypeOf-CttqfWo1.js} +2 -2
  214. package/dist/style.css +1 -5
  215. package/dist/{tslib.es6-ZNVz5r_T.js → tslib.es6-DQ-SzcmG.js} +5 -5
  216. package/dist/usePopover.cjs +1 -0
  217. package/dist/usePopover.js +44 -0
  218. package/dist/{utils-DEke8iwo.js → utils-C52T57HO.js} +73 -73
  219. package/dist/{utils-hdRGTsQ7.cjs → utils-DTAPpJXU.cjs} +1 -1
  220. package/package.json +17 -5
  221. package/vite.config.js +16 -0
  222. package/custom-addons/ThemeSelector.js +0 -111
  223. package/custom-addons/register.js +0 -16
  224. package/custom-addons/theme-selector.css +0 -17
  225. package/dist/DropdownMenu-B6qr13ik.cjs +0 -19
  226. package/dist/DropdownMenu-DZi3TJ8Q.js +0 -1547
  227. package/dist/KanbanCard-ConTmu3w.cjs +0 -30
  228. package/dist/TableView-Cj5_fbSR.js +0 -481
  229. package/dist/TableView-D8ex512p.cjs +0 -19
  230. package/dist/index-BjdOz5Ok.cjs +0 -1
  231. package/dist/index-DXnSjbfJ.cjs +0 -20
  232. package/dist/index-Dzkd2i4n.cjs +0 -1
  233. package/dist/index-P-naJISQ.cjs +0 -1
package/dist/Kanban.js CHANGED
@@ -1,13 +1,14 @@
1
- import { jsx as ae, jsxs as pn } from "react/jsx-runtime";
2
- import k, { useEffect as K, useLayoutEffect as hi, useRef as Y, useMemo as j, useCallback as be, useState as he, createContext as kt, memo as pi, useReducer as Yn, useContext as vt, cloneElement as vi, forwardRef as Nr } from "react";
3
- import { r as At } from "./index-CZJEA84h.js";
4
- import { c as un, g as bi, P as W } from "./index-Ds9PUTwb.js";
5
- import { b as Mt, r as Ot, j as Tt } from "./utils-DEke8iwo.js";
6
- import { c as pr } from "./index-BklgDeu4.js";
7
- import { n as Pt } from "./emotion-styled.browser.esm-BZSYYThs.js";
8
- import { u as kn } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
9
- import { H as yi, K as mi } from "./KanbanCard-D9OhU8C6.js";
10
- import { c as wi } from "./index-B_da1uvD.js";
1
+ import { jsx as le, jsxs as vn } from "react/jsx-runtime";
2
+ import q, { useEffect as K, useLayoutEffect as hi, useRef as X, useMemo as j, useCallback as ve, useState as ne, createContext as Gt, memo as Mr, useReducer as pi, useContext as bt, cloneElement as vi, forwardRef as Sn } from "react";
3
+ import { r as Mt } from "./index--Kmch3aI.js";
4
+ import { P as k } from "./index-BYnWp42a.js";
5
+ import { a as Pt, r as Tt, l as Nt } from "./utils-C52T57HO.js";
6
+ import { c as pr } from "./index-Cu0xwYjD.js";
7
+ import { n as Bt } from "./emotion-styled.browser.esm-BiK8DcgW.js";
8
+ import { u as kn } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
9
+ import { H as bi, K as yi } from "./KanbanCard-CHZ_C9kk.js";
10
+ import { c as mi } from "./index-DLVVKJXD.js";
11
+ import { c as dn, g as wi } from "./_commonjsHelpers-DaMA6jEr.js";
11
12
  import xi from "./KanbanHeader.js";
12
13
  import { u as Ci } from "./useUpdateEffect-CuYWz7EA.js";
13
14
  var Di = function(e) {
@@ -24,8 +25,8 @@ function Si() {
24
25
  t
25
26
  );
26
27
  }
27
- const Dn = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
28
- function $t(e) {
28
+ const Rn = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
29
+ function zt(e) {
29
30
  const t = Object.prototype.toString.call(e);
30
31
  return t === "[object Window]" || // In Electron context the Window object serializes to [object global]
31
32
  t === "[object global]";
@@ -33,53 +34,53 @@ function $t(e) {
33
34
  function Gn(e) {
34
35
  return "nodeType" in e;
35
36
  }
36
- function Se(e) {
37
+ function Re(e) {
37
38
  var t, n;
38
- return e ? $t(e) ? e : Gn(e) && (t = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? t : window : window;
39
+ return e ? zt(e) ? e : Gn(e) && (t = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? t : window : window;
39
40
  }
40
41
  function Wn(e) {
41
42
  const {
42
43
  Document: t
43
- } = Se(e);
44
+ } = Re(e);
44
45
  return e instanceof t;
45
46
  }
46
- function Gt(e) {
47
- return $t(e) ? !1 : e instanceof Se(e).HTMLElement;
47
+ function Wt(e) {
48
+ return zt(e) ? !1 : e instanceof Re(e).HTMLElement;
48
49
  }
49
- function Mr(e) {
50
- return e instanceof Se(e).SVGElement;
50
+ function Lr(e) {
51
+ return e instanceof Re(e).SVGElement;
51
52
  }
52
- function Bt(e) {
53
- return e ? $t(e) ? e.document : Gn(e) ? Wn(e) ? e : Gt(e) || Mr(e) ? e.ownerDocument : document : document : document;
53
+ function Ft(e) {
54
+ return e ? zt(e) ? e.document : Gn(e) ? Wn(e) ? e : Wt(e) || Lr(e) ? e.ownerDocument : document : document : document;
54
55
  }
55
- const Ue = Dn ? hi : K;
56
- function Sn(e) {
57
- const t = Y(e);
58
- return Ue(() => {
56
+ const qe = Rn ? hi : K;
57
+ function An(e) {
58
+ const t = X(e);
59
+ return qe(() => {
59
60
  t.current = e;
60
- }), be(function() {
61
+ }), ve(function() {
61
62
  for (var n = arguments.length, o = new Array(n), i = 0; i < n; i++)
62
63
  o[i] = arguments[i];
63
64
  return t.current == null ? void 0 : t.current(...o);
64
65
  }, []);
65
66
  }
66
67
  function Ri() {
67
- const e = Y(null), t = be((o, i) => {
68
+ const e = X(null), t = ve((o, i) => {
68
69
  e.current = setInterval(o, i);
69
- }, []), n = be(() => {
70
+ }, []), n = ve(() => {
70
71
  e.current !== null && (clearInterval(e.current), e.current = null);
71
72
  }, []);
72
73
  return [t, n];
73
74
  }
74
- function Yt(e, t) {
75
+ function kt(e, t) {
75
76
  t === void 0 && (t = [e]);
76
- const n = Y(e);
77
- return Ue(() => {
77
+ const n = X(e);
78
+ return qe(() => {
78
79
  n.current !== e && (n.current = e);
79
80
  }, t), n;
80
81
  }
81
- function Wt(e, t) {
82
- const n = Y();
82
+ function qt(e, t) {
83
+ const n = X();
83
84
  return j(
84
85
  () => {
85
86
  const o = e(n.current);
@@ -89,8 +90,8 @@ function Wt(e, t) {
89
90
  [...t]
90
91
  );
91
92
  }
92
- function vn(e) {
93
- const t = Sn(e), n = Y(null), o = be(
93
+ function bn(e) {
94
+ const t = An(e), n = X(null), o = ve(
94
95
  (i) => {
95
96
  i !== n.current && (t == null || t(i, n.current)), n.current = i;
96
97
  },
@@ -99,22 +100,22 @@ function vn(e) {
99
100
  );
100
101
  return [n, o];
101
102
  }
102
- function bn(e) {
103
- const t = Y();
103
+ function yn(e) {
104
+ const t = X();
104
105
  return K(() => {
105
106
  t.current = e;
106
107
  }, [e]), t.current;
107
108
  }
108
- let Mn = {};
109
- function qt(e, t) {
109
+ let Pn = {};
110
+ function Jt(e, t) {
110
111
  return j(() => {
111
112
  if (t)
112
113
  return t;
113
- const n = Mn[e] == null ? 0 : Mn[e] + 1;
114
- return Mn[e] = n, e + "-" + n;
114
+ const n = Pn[e] == null ? 0 : Pn[e] + 1;
115
+ return Pn[e] = n, e + "-" + n;
115
116
  }, [e, t]);
116
117
  }
117
- function Lr(e) {
118
+ function Pr(e) {
118
119
  return function(t) {
119
120
  for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
120
121
  o[i - 1] = arguments[i];
@@ -130,16 +131,16 @@ function Lr(e) {
130
131
  });
131
132
  };
132
133
  }
133
- const Nt = /* @__PURE__ */ Lr(1), yn = /* @__PURE__ */ Lr(-1);
134
+ const Lt = /* @__PURE__ */ Pr(1), mn = /* @__PURE__ */ Pr(-1);
134
135
  function Ai(e) {
135
136
  return "clientX" in e && "clientY" in e;
136
137
  }
137
- function Rn(e) {
138
+ function En(e) {
138
139
  if (!e)
139
140
  return !1;
140
141
  const {
141
142
  KeyboardEvent: t
142
- } = Se(e.target);
143
+ } = Re(e.target);
143
144
  return t && e instanceof t;
144
145
  }
145
146
  function Ei(e) {
@@ -147,10 +148,10 @@ function Ei(e) {
147
148
  return !1;
148
149
  const {
149
150
  TouchEvent: t
150
- } = Se(e.target);
151
+ } = Re(e.target);
151
152
  return t && e instanceof t;
152
153
  }
153
- function mn(e) {
154
+ function wn(e) {
154
155
  if (Ei(e)) {
155
156
  if (e.touches && e.touches.length) {
156
157
  const {
@@ -177,7 +178,7 @@ function mn(e) {
177
178
  y: e.clientY
178
179
  } : null;
179
180
  }
180
- const bt = /* @__PURE__ */ Object.freeze({
181
+ const yt = /* @__PURE__ */ Object.freeze({
181
182
  Translate: {
182
183
  toString(e) {
183
184
  if (!e)
@@ -203,7 +204,7 @@ const bt = /* @__PURE__ */ Object.freeze({
203
204
  Transform: {
204
205
  toString(e) {
205
206
  if (e)
206
- return [bt.Translate.toString(e), bt.Scale.toString(e)].join(" ");
207
+ return [yt.Translate.toString(e), yt.Scale.toString(e)].join(" ");
207
208
  }
208
209
  },
209
210
  Transition: {
@@ -228,7 +229,7 @@ function Oi(e) {
228
229
  id: t,
229
230
  value: n
230
231
  } = e;
231
- return k.createElement("div", {
232
+ return q.createElement("div", {
232
233
  id: t,
233
234
  style: Ii
234
235
  }, n);
@@ -241,6 +242,8 @@ function Ti(e) {
241
242
  } = e;
242
243
  const i = {
243
244
  position: "fixed",
245
+ top: 0,
246
+ left: 0,
244
247
  width: 1,
245
248
  height: 1,
246
249
  margin: -1,
@@ -251,7 +254,7 @@ function Ti(e) {
251
254
  clipPath: "inset(100%)",
252
255
  whiteSpace: "nowrap"
253
256
  };
254
- return k.createElement("div", {
257
+ return q.createElement("div", {
255
258
  id: t,
256
259
  style: i,
257
260
  role: "status",
@@ -260,17 +263,17 @@ function Ti(e) {
260
263
  }, n);
261
264
  }
262
265
  function Ni() {
263
- const [e, t] = he("");
266
+ const [e, t] = ne("");
264
267
  return {
265
- announce: be((o) => {
268
+ announce: ve((o) => {
266
269
  o != null && t(o);
267
270
  }, []),
268
271
  announcement: e
269
272
  };
270
273
  }
271
- const Pr = /* @__PURE__ */ kt(null);
274
+ const $r = /* @__PURE__ */ Gt(null);
272
275
  function Mi(e) {
273
- const t = vt(Pr);
276
+ const t = bt($r);
274
277
  K(() => {
275
278
  if (!t)
276
279
  throw new Error("useDndMonitor must be used within a children of <DndContext>");
@@ -278,8 +281,8 @@ function Mi(e) {
278
281
  }, [e, t]);
279
282
  }
280
283
  function Li() {
281
- const [e] = he(() => /* @__PURE__ */ new Set()), t = be((o) => (e.add(o), () => e.delete(o)), [e]);
282
- return [be((o) => {
284
+ const [e] = ne(() => /* @__PURE__ */ new Set()), t = ve((o) => (e.add(o), () => e.delete(o)), [e]);
285
+ return [ve((o) => {
283
286
  let {
284
287
  type: i,
285
288
  event: a
@@ -334,7 +337,7 @@ function Bi(e) {
334
337
  const {
335
338
  announce: a,
336
339
  announcement: l
337
- } = Ni(), c = qt("DndLiveRegion"), [d, u] = he(!1);
340
+ } = Ni(), c = Jt("DndLiveRegion"), [d, u] = ne(!1);
338
341
  if (K(() => {
339
342
  u(!0);
340
343
  }, []), Mi(j(() => ({
@@ -388,22 +391,22 @@ function Bi(e) {
388
391
  }
389
392
  }), [a, t])), !d)
390
393
  return null;
391
- const h = k.createElement(k.Fragment, null, k.createElement(Oi, {
394
+ const h = q.createElement(q.Fragment, null, q.createElement(Oi, {
392
395
  id: o,
393
396
  value: i.draggable
394
- }), k.createElement(Ti, {
397
+ }), q.createElement(Ti, {
395
398
  id: c,
396
399
  announcement: l
397
400
  }));
398
- return n ? At.createPortal(h, n) : h;
401
+ return n ? Mt.createPortal(h, n) : h;
399
402
  }
400
- var le;
403
+ var ce;
401
404
  (function(e) {
402
405
  e.DragStart = "dragStart", e.DragMove = "dragMove", e.DragEnd = "dragEnd", e.DragCancel = "dragCancel", e.DragOver = "dragOver", e.RegisterDroppable = "registerDroppable", e.SetDroppableDisabled = "setDroppableDisabled", e.UnregisterDroppable = "unregisterDroppable";
403
- })(le || (le = {}));
404
- function wn() {
406
+ })(ce || (ce = {}));
407
+ function xn() {
405
408
  }
406
- function Ln(e, t) {
409
+ function $n(e, t) {
407
410
  return j(
408
411
  () => ({
409
412
  sensor: e,
@@ -430,7 +433,7 @@ function qn(e, t) {
430
433
  return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
431
434
  }
432
435
  function Fi(e, t) {
433
- const n = mn(e);
436
+ const n = wn(e);
434
437
  if (!n)
435
438
  return "0 0";
436
439
  const o = {
@@ -463,7 +466,7 @@ function Ki(e, t) {
463
466
  } = t;
464
467
  return o - n;
465
468
  }
466
- function Fn(e) {
469
+ function Kn(e) {
467
470
  let {
468
471
  left: t,
469
472
  top: n,
@@ -525,13 +528,13 @@ const yr = (e) => {
525
528
  droppableRects: n,
526
529
  droppableContainers: o
527
530
  } = e;
528
- const i = Fn(t), a = [];
531
+ const i = Kn(t), a = [];
529
532
  for (const l of o) {
530
533
  const {
531
534
  id: c
532
535
  } = l, d = n.get(c);
533
536
  if (d) {
534
- const u = Fn(d), h = i.reduce((w, b, A) => w + qn(u[A], b), 0), g = Number((h / 4).toFixed(4));
537
+ const u = Kn(d), h = i.reduce((w, b, A) => w + qn(u[A], b), 0), g = Number((h / 4).toFixed(4));
535
538
  a.push({
536
539
  id: c,
537
540
  data: {
@@ -543,7 +546,7 @@ const yr = (e) => {
543
546
  }
544
547
  return a.sort(Jn);
545
548
  };
546
- function Ui(e, t) {
549
+ function Xi(e, t) {
547
550
  const n = Math.max(t.top, e.top), o = Math.max(t.left, e.left), i = Math.min(t.left + t.width, e.left + e.width), a = Math.min(t.top + t.height, e.top + e.height), l = i - o, c = a - n;
548
551
  if (o < i && n < a) {
549
552
  const d = t.width * t.height, u = e.width * e.height, h = l * c, g = h / (d + u - h);
@@ -551,7 +554,7 @@ function Ui(e, t) {
551
554
  }
552
555
  return 0;
553
556
  }
554
- const $r = (e) => {
557
+ const Br = (e) => {
555
558
  let {
556
559
  collisionRect: t,
557
560
  droppableRects: n,
@@ -563,7 +566,7 @@ const $r = (e) => {
563
566
  id: l
564
567
  } = a, c = n.get(l);
565
568
  if (c) {
566
- const d = Ui(c, t);
569
+ const d = Xi(c, t);
567
570
  d > 0 && i.push({
568
571
  id: l,
569
572
  data: {
@@ -575,7 +578,7 @@ const $r = (e) => {
575
578
  }
576
579
  return i.sort(Ki);
577
580
  };
578
- function Xi(e, t) {
581
+ function Ui(e, t) {
579
582
  const {
580
583
  top: n,
581
584
  left: o,
@@ -597,8 +600,8 @@ const ji = (e) => {
597
600
  const {
598
601
  id: l
599
602
  } = a, c = n.get(l);
600
- if (c && Xi(o, c)) {
601
- const u = Fn(c).reduce((g, w) => g + qn(o, w), 0), h = Number((u / 4).toFixed(4));
603
+ if (c && Ui(o, c)) {
604
+ const u = Kn(c).reduce((g, w) => g + qn(o, w), 0), h = Number((u / 4).toFixed(4));
602
605
  i.push({
603
606
  id: l,
604
607
  data: {
@@ -617,7 +620,7 @@ function Yi(e, t, n) {
617
620
  scaleY: t && n ? t.height / n.height : 1
618
621
  };
619
622
  }
620
- function Br(e, t) {
623
+ function zr(e, t) {
621
624
  return e && t ? {
622
625
  x: e.left - t.left,
623
626
  y: e.top - t.top
@@ -639,7 +642,7 @@ function ki(e) {
639
642
  };
640
643
  }
641
644
  const Gi = /* @__PURE__ */ ki(1);
642
- function zr(e) {
645
+ function Fr(e) {
643
646
  if (e.startsWith("matrix3d(")) {
644
647
  const t = e.slice(9, -1).split(/, /);
645
648
  return {
@@ -660,7 +663,7 @@ function zr(e) {
660
663
  return null;
661
664
  }
662
665
  function Wi(e, t, n) {
663
- const o = zr(t);
666
+ const o = Fr(t);
664
667
  if (!o)
665
668
  return e;
666
669
  const {
@@ -681,14 +684,14 @@ function Wi(e, t, n) {
681
684
  const qi = {
682
685
  ignoreTransform: !1
683
686
  };
684
- function zt(e, t) {
687
+ function Kt(e, t) {
685
688
  t === void 0 && (t = qi);
686
689
  let n = e.getBoundingClientRect();
687
690
  if (t.ignoreTransform) {
688
691
  const {
689
692
  transform: u,
690
693
  transformOrigin: h
691
- } = Se(e).getComputedStyle(e);
694
+ } = Re(e).getComputedStyle(e);
692
695
  u && (n = Wi(n, u, h));
693
696
  }
694
697
  const {
@@ -709,7 +712,7 @@ function zt(e, t) {
709
712
  };
710
713
  }
711
714
  function mr(e) {
712
- return zt(e, {
715
+ return Kt(e, {
713
716
  ignoreTransform: !0
714
717
  });
715
718
  }
@@ -725,10 +728,10 @@ function Ji(e) {
725
728
  };
726
729
  }
727
730
  function Vi(e, t) {
728
- return t === void 0 && (t = Se(e).getComputedStyle(e)), t.position === "fixed";
731
+ return t === void 0 && (t = Re(e).getComputedStyle(e)), t.position === "fixed";
729
732
  }
730
733
  function Qi(e, t) {
731
- t === void 0 && (t = Se(e).getComputedStyle(e));
734
+ t === void 0 && (t = Re(e).getComputedStyle(e));
732
735
  const n = /(auto|scroll|overlay)/;
733
736
  return ["overflow", "overflowX", "overflowY"].some((i) => {
734
737
  const a = t[i];
@@ -742,30 +745,30 @@ function Qn(e, t) {
742
745
  return n;
743
746
  if (Wn(i) && i.scrollingElement != null && !n.includes(i.scrollingElement))
744
747
  return n.push(i.scrollingElement), n;
745
- if (!Gt(i) || Mr(i) || n.includes(i))
748
+ if (!Wt(i) || Lr(i) || n.includes(i))
746
749
  return n;
747
- const a = Se(e).getComputedStyle(i);
750
+ const a = Re(e).getComputedStyle(i);
748
751
  return i !== e && Qi(i, a) && n.push(i), Vi(i, a) ? n : o(i.parentNode);
749
752
  }
750
753
  return e ? o(e) : n;
751
754
  }
752
- function Fr(e) {
755
+ function Kr(e) {
753
756
  const [t] = Qn(e, 1);
754
757
  return t ?? null;
755
758
  }
756
- function Pn(e) {
757
- return !Dn || !e ? null : $t(e) ? e : Gn(e) ? Wn(e) || e === Bt(e).scrollingElement ? window : Gt(e) ? e : null : null;
758
- }
759
- function Kr(e) {
760
- return $t(e) ? e.scrollX : e.scrollLeft;
759
+ function Bn(e) {
760
+ return !Rn || !e ? null : zt(e) ? e : Gn(e) ? Wn(e) || e === Ft(e).scrollingElement ? window : Wt(e) ? e : null : null;
761
761
  }
762
762
  function Hr(e) {
763
- return $t(e) ? e.scrollY : e.scrollTop;
763
+ return zt(e) ? e.scrollX : e.scrollLeft;
764
764
  }
765
- function Kn(e) {
765
+ function Xr(e) {
766
+ return zt(e) ? e.scrollY : e.scrollTop;
767
+ }
768
+ function Hn(e) {
766
769
  return {
767
- x: Kr(e),
768
- y: Hr(e)
770
+ x: Hr(e),
771
+ y: Xr(e)
769
772
  };
770
773
  }
771
774
  var ge;
@@ -773,9 +776,9 @@ var ge;
773
776
  e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
774
777
  })(ge || (ge = {}));
775
778
  function Ur(e) {
776
- return !Dn || !e ? !1 : e === document.scrollingElement;
779
+ return !Rn || !e ? !1 : e === document.scrollingElement;
777
780
  }
778
- function Xr(e) {
781
+ function jr(e) {
779
782
  const t = {
780
783
  x: 0,
781
784
  y: 0
@@ -815,7 +818,7 @@ function es(e, t, n, o, i) {
815
818
  isBottom: h,
816
819
  isLeft: g,
817
820
  isRight: w
818
- } = Xr(e), b = {
821
+ } = jr(e), b = {
819
822
  x: 0,
820
823
  y: 0
821
824
  }, A = {
@@ -860,17 +863,17 @@ function ts(e) {
860
863
  height: e.clientHeight
861
864
  };
862
865
  }
863
- function jr(e) {
864
- return e.reduce((t, n) => Nt(t, Kn(n)), Je);
866
+ function Yr(e) {
867
+ return e.reduce((t, n) => Lt(t, Hn(n)), Je);
865
868
  }
866
869
  function ns(e) {
867
- return e.reduce((t, n) => t + Kr(n), 0);
870
+ return e.reduce((t, n) => t + Hr(n), 0);
868
871
  }
869
872
  function rs(e) {
870
- return e.reduce((t, n) => t + Hr(n), 0);
873
+ return e.reduce((t, n) => t + Xr(n), 0);
871
874
  }
872
- function Yr(e, t) {
873
- if (t === void 0 && (t = zt), !e)
875
+ function kr(e, t) {
876
+ if (t === void 0 && (t = Kt), !e)
874
877
  return;
875
878
  const {
876
879
  top: n,
@@ -878,7 +881,7 @@ function Yr(e, t) {
878
881
  bottom: i,
879
882
  right: a
880
883
  } = t(e);
881
- Fr(e) && (i <= 0 || a <= 0 || n >= window.innerHeight || o >= window.innerWidth) && e.scrollIntoView({
884
+ Kr(e) && (i <= 0 || a <= 0 || n >= window.innerHeight || o >= window.innerWidth) && e.scrollIntoView({
882
885
  block: "center",
883
886
  inline: "center"
884
887
  });
@@ -887,7 +890,7 @@ const os = [["x", ["left", "right"], ns], ["y", ["top", "bottom"], rs]];
887
890
  class Zn {
888
891
  constructor(t, n) {
889
892
  this.rect = void 0, this.width = void 0, this.height = void 0, this.top = void 0, this.bottom = void 0, this.right = void 0, this.left = void 0;
890
- const o = Qn(n), i = jr(o);
893
+ const o = Qn(n), i = Yr(o);
891
894
  this.rect = {
892
895
  ...t
893
896
  }, this.width = t.width, this.height = t.height;
@@ -905,7 +908,7 @@ class Zn {
905
908
  });
906
909
  }
907
910
  }
908
- class Ht {
911
+ class Xt {
909
912
  constructor(t) {
910
913
  this.target = void 0, this.listeners = [], this.removeAll = () => {
911
914
  this.listeners.forEach((n) => {
@@ -922,10 +925,10 @@ class Ht {
922
925
  function is(e) {
923
926
  const {
924
927
  EventTarget: t
925
- } = Se(e);
926
- return e instanceof t ? e : Bt(e);
928
+ } = Re(e);
929
+ return e instanceof t ? e : Ft(e);
927
930
  }
928
- function $n(e, t) {
931
+ function zn(e, t) {
929
932
  const n = Math.abs(e.x), o = Math.abs(e.y);
930
933
  return typeof t == "number" ? Math.sqrt(n ** 2 + o ** 2) > t : "x" in t && "y" in t ? n > t.x && o > t.y : "x" in t ? n > t.x : "y" in t ? o > t.y : !1;
931
934
  }
@@ -943,7 +946,7 @@ var L;
943
946
  (function(e) {
944
947
  e.Space = "Space", e.Down = "ArrowDown", e.Right = "ArrowRight", e.Left = "ArrowLeft", e.Up = "ArrowUp", e.Esc = "Escape", e.Enter = "Enter";
945
948
  })(L || (L = {}));
946
- const kr = {
949
+ const Gr = {
947
950
  start: [L.Space, L.Enter],
948
951
  cancel: [L.Esc],
949
952
  end: [L.Space, L.Enter]
@@ -982,7 +985,7 @@ class er {
982
985
  target: n
983
986
  }
984
987
  } = t;
985
- this.props = t, this.listeners = new Ht(Bt(n)), this.windowListeners = new Ht(Se(n)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
988
+ this.props = t, this.listeners = new Xt(Ft(n)), this.windowListeners = new Xt(Re(n)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
986
989
  }
987
990
  attach() {
988
991
  this.handleStart(), this.windowListeners.add(He.Resize, this.handleCancel), this.windowListeners.add(He.VisibilityChange, this.handleCancel), setTimeout(() => this.listeners.add(He.Keydown, this.handleKeyDown));
@@ -992,16 +995,16 @@ class er {
992
995
  activeNode: t,
993
996
  onStart: n
994
997
  } = this.props, o = t.node.current;
995
- o && Yr(o), n(Je);
998
+ o && kr(o), n(Je);
996
999
  }
997
1000
  handleKeyDown(t) {
998
- if (Rn(t)) {
1001
+ if (En(t)) {
999
1002
  const {
1000
1003
  active: n,
1001
1004
  context: o,
1002
1005
  options: i
1003
1006
  } = this.props, {
1004
- keyboardCodes: a = kr,
1007
+ keyboardCodes: a = Gr,
1005
1008
  coordinateGetter: l = as,
1006
1009
  scrollBehavior: c = "smooth"
1007
1010
  } = i, {
@@ -1028,7 +1031,7 @@ class er {
1028
1031
  currentCoordinates: h
1029
1032
  });
1030
1033
  if (g) {
1031
- const w = yn(g, h), b = {
1034
+ const w = mn(g, h), b = {
1032
1035
  x: 0,
1033
1036
  y: 0
1034
1037
  }, {
@@ -1042,7 +1045,7 @@ class er {
1042
1045
  isBottom: R,
1043
1046
  maxScroll: T,
1044
1047
  minScroll: _
1045
- } = Xr(v), O = ts(v), M = {
1048
+ } = jr(v), O = ts(v), M = {
1046
1049
  x: Math.min(x === L.Right ? O.right - O.width / 2 : O.right, Math.max(x === L.Right ? O.left : O.left + O.width / 2, g.x)),
1047
1050
  y: Math.min(x === L.Down ? O.bottom - O.height / 2 : O.bottom, Math.max(x === L.Down ? O.top : O.top + O.height / 2, g.y))
1048
1051
  }, H = x === L.Right && !E || x === L.Left && !D, U = x === L.Down && !R || x === L.Up && !S;
@@ -1076,7 +1079,7 @@ class er {
1076
1079
  break;
1077
1080
  }
1078
1081
  }
1079
- this.handleMove(t, Nt(yn(g, this.referenceCoordinates), b));
1082
+ this.handleMove(t, Lt(mn(g, this.referenceCoordinates), b));
1080
1083
  }
1081
1084
  }
1082
1085
  }
@@ -1106,7 +1109,7 @@ er.activators = [{
1106
1109
  eventName: "onKeyDown",
1107
1110
  handler: (e, t, n) => {
1108
1111
  let {
1109
- keyboardCodes: o = kr,
1112
+ keyboardCodes: o = Gr,
1110
1113
  onActivation: i
1111
1114
  } = t, {
1112
1115
  active: a
@@ -1138,7 +1141,7 @@ class tr {
1138
1141
  } = t, {
1139
1142
  target: l
1140
1143
  } = a;
1141
- this.props = t, this.events = n, this.document = Bt(l), this.documentListeners = new Ht(this.document), this.listeners = new Ht(o), this.windowListeners = new Ht(Se(l)), this.initialCoordinates = (i = mn(a)) != null ? i : Je, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
1144
+ this.props = t, this.events = n, this.document = Ft(l), this.documentListeners = new Xt(this.document), this.listeners = new Xt(o), this.windowListeners = new Xt(Re(l)), this.initialCoordinates = (i = wn(a)) != null ? i : Je, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
1142
1145
  }
1143
1146
  attach() {
1144
1147
  const {
@@ -1152,7 +1155,7 @@ class tr {
1152
1155
  } = this;
1153
1156
  if (this.listeners.add(t.move.name, this.handleMove, {
1154
1157
  passive: !1
1155
- }), this.listeners.add(t.end.name, this.handleEnd), this.windowListeners.add(He.Resize, this.handleCancel), this.windowListeners.add(He.DragStart, wr), this.windowListeners.add(He.VisibilityChange, this.handleCancel), this.windowListeners.add(He.ContextMenu, wr), this.documentListeners.add(He.Keydown, this.handleKeydown), n) {
1158
+ }), this.listeners.add(t.end.name, this.handleEnd), t.cancel && this.listeners.add(t.cancel.name, this.handleCancel), this.windowListeners.add(He.Resize, this.handleCancel), this.windowListeners.add(He.DragStart, wr), this.windowListeners.add(He.VisibilityChange, this.handleCancel), this.windowListeners.add(He.ContextMenu, wr), this.documentListeners.add(He.Keydown, this.handleKeydown), n) {
1156
1159
  if (o != null && o({
1157
1160
  event: this.props.event,
1158
1161
  activeNode: this.props.activeNode,
@@ -1195,15 +1198,15 @@ class tr {
1195
1198
  } = a;
1196
1199
  if (!i)
1197
1200
  return;
1198
- const d = (n = mn(t)) != null ? n : Je, u = yn(i, d);
1201
+ const d = (n = wn(t)) != null ? n : Je, u = mn(i, d);
1199
1202
  if (!o && c) {
1200
1203
  if (xr(c)) {
1201
- if (c.tolerance != null && $n(u, c.tolerance))
1204
+ if (c.tolerance != null && zn(u, c.tolerance))
1202
1205
  return this.handleCancel();
1203
- if ($n(u, c.distance))
1206
+ if (zn(u, c.distance))
1204
1207
  return this.handleStart();
1205
1208
  }
1206
- return Cr(c) && $n(u, c.tolerance) ? this.handleCancel() : void 0;
1209
+ return Cr(c) && zn(u, c.tolerance) ? this.handleCancel() : void 0;
1207
1210
  }
1208
1211
  t.cancelable && t.preventDefault(), l(d);
1209
1212
  }
@@ -1228,6 +1231,9 @@ class tr {
1228
1231
  }
1229
1232
  }
1230
1233
  const ls = {
1234
+ cancel: {
1235
+ name: "pointercancel"
1236
+ },
1231
1237
  move: {
1232
1238
  name: "pointermove"
1233
1239
  },
@@ -1235,15 +1241,15 @@ const ls = {
1235
1241
  name: "pointerup"
1236
1242
  }
1237
1243
  };
1238
- class Gr extends tr {
1244
+ class Wr extends tr {
1239
1245
  constructor(t) {
1240
1246
  const {
1241
1247
  event: n
1242
- } = t, o = Bt(n.target);
1248
+ } = t, o = Ft(n.target);
1243
1249
  super(t, ls, o);
1244
1250
  }
1245
1251
  }
1246
- Gr.activators = [{
1252
+ Wr.activators = [{
1247
1253
  eventName: "onPointerDown",
1248
1254
  handler: (e, t) => {
1249
1255
  let {
@@ -1264,16 +1270,16 @@ const cs = {
1264
1270
  name: "mouseup"
1265
1271
  }
1266
1272
  };
1267
- var Hn;
1273
+ var Xn;
1268
1274
  (function(e) {
1269
1275
  e[e.RightClick = 2] = "RightClick";
1270
- })(Hn || (Hn = {}));
1271
- class Wr extends tr {
1276
+ })(Xn || (Xn = {}));
1277
+ class qr extends tr {
1272
1278
  constructor(t) {
1273
- super(t, cs, Bt(t.event.target));
1279
+ super(t, cs, Ft(t.event.target));
1274
1280
  }
1275
1281
  }
1276
- Wr.activators = [{
1282
+ qr.activators = [{
1277
1283
  eventName: "onMouseDown",
1278
1284
  handler: (e, t) => {
1279
1285
  let {
@@ -1281,12 +1287,15 @@ Wr.activators = [{
1281
1287
  } = e, {
1282
1288
  onActivation: o
1283
1289
  } = t;
1284
- return n.button === Hn.RightClick ? !1 : (o == null || o({
1290
+ return n.button === Xn.RightClick ? !1 : (o == null || o({
1285
1291
  event: n
1286
1292
  }), !0);
1287
1293
  }
1288
1294
  }];
1289
- const Bn = {
1295
+ const Fn = {
1296
+ cancel: {
1297
+ name: "touchcancel"
1298
+ },
1290
1299
  move: {
1291
1300
  name: "touchmove"
1292
1301
  },
@@ -1294,22 +1303,22 @@ const Bn = {
1294
1303
  name: "touchend"
1295
1304
  }
1296
1305
  };
1297
- class qr extends tr {
1306
+ class Jr extends tr {
1298
1307
  constructor(t) {
1299
- super(t, Bn);
1308
+ super(t, Fn);
1300
1309
  }
1301
1310
  static setup() {
1302
- return window.addEventListener(Bn.move.name, t, {
1311
+ return window.addEventListener(Fn.move.name, t, {
1303
1312
  capture: !1,
1304
1313
  passive: !1
1305
1314
  }), function() {
1306
- window.removeEventListener(Bn.move.name, t);
1315
+ window.removeEventListener(Fn.move.name, t);
1307
1316
  };
1308
1317
  function t() {
1309
1318
  }
1310
1319
  }
1311
1320
  }
1312
- qr.activators = [{
1321
+ Jr.activators = [{
1313
1322
  eventName: "onTouchStart",
1314
1323
  handler: (e, t) => {
1315
1324
  let {
@@ -1329,10 +1338,10 @@ var Ut;
1329
1338
  (function(e) {
1330
1339
  e[e.Pointer = 0] = "Pointer", e[e.DraggableRect = 1] = "DraggableRect";
1331
1340
  })(Ut || (Ut = {}));
1332
- var xn;
1341
+ var Cn;
1333
1342
  (function(e) {
1334
1343
  e[e.TreeOrder = 0] = "TreeOrder", e[e.ReversedTreeOrder = 1] = "ReversedTreeOrder";
1335
- })(xn || (xn = {}));
1344
+ })(Cn || (Cn = {}));
1336
1345
  function us(e) {
1337
1346
  let {
1338
1347
  acceleration: t,
@@ -1341,7 +1350,7 @@ function us(e) {
1341
1350
  draggingRect: i,
1342
1351
  enabled: a,
1343
1352
  interval: l = 5,
1344
- order: c = xn.TreeOrder,
1353
+ order: c = Cn.TreeOrder,
1345
1354
  pointerCoordinates: d,
1346
1355
  scrollableAncestors: u,
1347
1356
  scrollableAncestorRects: h,
@@ -1351,10 +1360,10 @@ function us(e) {
1351
1360
  const b = fs({
1352
1361
  delta: g,
1353
1362
  disabled: !a
1354
- }), [A, v] = Ri(), x = Y({
1363
+ }), [A, v] = Ri(), x = X({
1355
1364
  x: 0,
1356
1365
  y: 0
1357
- }), S = Y({
1366
+ }), S = X({
1358
1367
  x: 0,
1359
1368
  y: 0
1360
1369
  }), E = j(() => {
@@ -1369,13 +1378,13 @@ function us(e) {
1369
1378
  case Ut.DraggableRect:
1370
1379
  return i;
1371
1380
  }
1372
- }, [n, i, d]), D = Y(null), R = be(() => {
1381
+ }, [n, i, d]), D = X(null), R = ve(() => {
1373
1382
  const _ = D.current;
1374
1383
  if (!_)
1375
1384
  return;
1376
1385
  const O = x.current.x * S.current.x, M = x.current.y * S.current.y;
1377
1386
  _.scrollBy(O, M);
1378
- }, []), T = j(() => c === xn.TreeOrder ? [...u].reverse() : u, [c, u]);
1387
+ }, []), T = j(() => c === Cn.TreeOrder ? [...u].reverse() : u, [c, u]);
1379
1388
  K(
1380
1389
  () => {
1381
1390
  if (!a || !u.length || !E) {
@@ -1443,8 +1452,8 @@ function fs(e) {
1443
1452
  delta: t,
1444
1453
  disabled: n
1445
1454
  } = e;
1446
- const o = bn(t);
1447
- return Wt((i) => {
1455
+ const o = yn(t);
1456
+ return qt((i) => {
1448
1457
  if (n || !o || !i)
1449
1458
  return ds;
1450
1459
  const a = {
@@ -1464,10 +1473,10 @@ function fs(e) {
1464
1473
  }, [n, t, o]);
1465
1474
  }
1466
1475
  function gs(e, t) {
1467
- const n = t !== null ? e.get(t) : void 0, o = n ? n.node.current : null;
1468
- return Wt((i) => {
1476
+ const n = t != null ? e.get(t) : void 0, o = n ? n.node.current : null;
1477
+ return qt((i) => {
1469
1478
  var a;
1470
- return t === null ? null : (a = o ?? i) != null ? a : null;
1479
+ return t == null ? null : (a = o ?? i) != null ? a : null;
1471
1480
  }, [o, t]);
1472
1481
  }
1473
1482
  function hs(e, t) {
@@ -1481,10 +1490,10 @@ function hs(e, t) {
1481
1490
  return [...n, ...a];
1482
1491
  }, []), [e, t]);
1483
1492
  }
1484
- var Lt;
1493
+ var $t;
1485
1494
  (function(e) {
1486
1495
  e[e.Always = 0] = "Always", e[e.BeforeDragging = 1] = "BeforeDragging", e[e.WhileDragging = 2] = "WhileDragging";
1487
- })(Lt || (Lt = {}));
1496
+ })($t || ($t = {}));
1488
1497
  var Un;
1489
1498
  (function(e) {
1490
1499
  e.Optimized = "optimized";
@@ -1496,13 +1505,13 @@ function ps(e, t) {
1496
1505
  dependencies: o,
1497
1506
  config: i
1498
1507
  } = t;
1499
- const [a, l] = he(null), {
1508
+ const [a, l] = ne(null), {
1500
1509
  frequency: c,
1501
1510
  measure: d,
1502
1511
  strategy: u
1503
- } = i, h = Y(e), g = x(), w = Yt(g), b = be(function(S) {
1512
+ } = i, h = X(e), g = x(), w = kt(g), b = ve(function(S) {
1504
1513
  S === void 0 && (S = []), !w.current && l((E) => E === null ? S : E.concat(S.filter((D) => !E.includes(D))));
1505
- }, [w]), A = Y(null), v = Wt((S) => {
1514
+ }, [w]), A = X(null), v = qt((S) => {
1506
1515
  if (g && !n)
1507
1516
  return Dr;
1508
1517
  if (!S || S === Dr || h.current !== e || a != null) {
@@ -1550,9 +1559,9 @@ function ps(e, t) {
1550
1559
  };
1551
1560
  function x() {
1552
1561
  switch (u) {
1553
- case Lt.Always:
1562
+ case $t.Always:
1554
1563
  return !1;
1555
- case Lt.BeforeDragging:
1564
+ case $t.BeforeDragging:
1556
1565
  return n;
1557
1566
  default:
1558
1567
  return !n;
@@ -1560,7 +1569,7 @@ function ps(e, t) {
1560
1569
  }
1561
1570
  }
1562
1571
  function nr(e, t) {
1563
- return Wt((n) => e ? n || (typeof t == "function" ? t(e) : e) : null, [t, e]);
1572
+ return qt((n) => e ? n || (typeof t == "function" ? t(e) : e) : null, [t, e]);
1564
1573
  }
1565
1574
  function vs(e, t) {
1566
1575
  return nr(e, t);
@@ -1570,7 +1579,7 @@ function bs(e) {
1570
1579
  callback: t,
1571
1580
  disabled: n
1572
1581
  } = e;
1573
- const o = Sn(t), i = j(() => {
1582
+ const o = An(t), i = j(() => {
1574
1583
  if (n || typeof window > "u" || typeof window.MutationObserver > "u")
1575
1584
  return;
1576
1585
  const {
@@ -1580,12 +1589,12 @@ function bs(e) {
1580
1589
  }, [o, n]);
1581
1590
  return K(() => () => i == null ? void 0 : i.disconnect(), [i]), i;
1582
1591
  }
1583
- function An(e) {
1592
+ function _n(e) {
1584
1593
  let {
1585
1594
  callback: t,
1586
1595
  disabled: n
1587
1596
  } = e;
1588
- const o = Sn(t), i = j(
1597
+ const o = An(t), i = j(
1589
1598
  () => {
1590
1599
  if (n || typeof window > "u" || typeof window.ResizeObserver > "u")
1591
1600
  return;
@@ -1600,11 +1609,24 @@ function An(e) {
1600
1609
  return K(() => () => i == null ? void 0 : i.disconnect(), [i]), i;
1601
1610
  }
1602
1611
  function ys(e) {
1603
- return new Zn(zt(e), e);
1612
+ return new Zn(Kt(e), e);
1604
1613
  }
1605
1614
  function Sr(e, t, n) {
1606
1615
  t === void 0 && (t = ys);
1607
- const [o, i] = Yn(c, null), a = bs({
1616
+ const [o, i] = ne(null);
1617
+ function a() {
1618
+ i((d) => {
1619
+ if (!e)
1620
+ return null;
1621
+ if (e.isConnected === !1) {
1622
+ var u;
1623
+ return (u = d ?? n) != null ? u : null;
1624
+ }
1625
+ const h = t(e);
1626
+ return JSON.stringify(d) === JSON.stringify(h) ? d : h;
1627
+ });
1628
+ }
1629
+ const l = bs({
1608
1630
  callback(d) {
1609
1631
  if (e)
1610
1632
  for (const u of d) {
@@ -1613,56 +1635,46 @@ function Sr(e, t, n) {
1613
1635
  target: g
1614
1636
  } = u;
1615
1637
  if (h === "childList" && g instanceof HTMLElement && g.contains(e)) {
1616
- i();
1638
+ a();
1617
1639
  break;
1618
1640
  }
1619
1641
  }
1620
1642
  }
1621
- }), l = An({
1622
- callback: i
1643
+ }), c = _n({
1644
+ callback: a
1623
1645
  });
1624
- return Ue(() => {
1625
- i(), e ? (l == null || l.observe(e), a == null || a.observe(document.body, {
1646
+ return qe(() => {
1647
+ a(), e ? (c == null || c.observe(e), l == null || l.observe(document.body, {
1626
1648
  childList: !0,
1627
1649
  subtree: !0
1628
- })) : (l == null || l.disconnect(), a == null || a.disconnect());
1650
+ })) : (c == null || c.disconnect(), l == null || l.disconnect());
1629
1651
  }, [e]), o;
1630
- function c(d) {
1631
- if (!e)
1632
- return null;
1633
- if (e.isConnected === !1) {
1634
- var u;
1635
- return (u = d ?? n) != null ? u : null;
1636
- }
1637
- const h = t(e);
1638
- return JSON.stringify(d) === JSON.stringify(h) ? d : h;
1639
- }
1640
1652
  }
1641
1653
  function ms(e) {
1642
1654
  const t = nr(e);
1643
- return Br(e, t);
1655
+ return zr(e, t);
1644
1656
  }
1645
1657
  const Rr = [];
1646
1658
  function ws(e) {
1647
- const t = Y(e), n = Wt((o) => e ? o && o !== Rr && e && t.current && e.parentNode === t.current.parentNode ? o : Qn(e) : Rr, [e]);
1659
+ const t = X(e), n = qt((o) => e ? o && o !== Rr && e && t.current && e.parentNode === t.current.parentNode ? o : Qn(e) : Rr, [e]);
1648
1660
  return K(() => {
1649
1661
  t.current = e;
1650
1662
  }, [e]), n;
1651
1663
  }
1652
1664
  function xs(e) {
1653
- const [t, n] = he(null), o = Y(e), i = be((a) => {
1654
- const l = Pn(a.target);
1655
- l && n((c) => c ? (c.set(l, Kn(l)), new Map(c)) : null);
1665
+ const [t, n] = ne(null), o = X(e), i = ve((a) => {
1666
+ const l = Bn(a.target);
1667
+ l && n((c) => c ? (c.set(l, Hn(l)), new Map(c)) : null);
1656
1668
  }, []);
1657
1669
  return K(() => {
1658
1670
  const a = o.current;
1659
1671
  if (e !== a) {
1660
1672
  l(a);
1661
1673
  const c = e.map((d) => {
1662
- const u = Pn(d);
1674
+ const u = Bn(d);
1663
1675
  return u ? (u.addEventListener("scroll", i, {
1664
1676
  passive: !0
1665
- }), [u, Kn(u)]) : null;
1677
+ }), [u, Hn(u)]) : null;
1666
1678
  }).filter((d) => d != null);
1667
1679
  n(c.length ? new Map(c) : null), o.current = e;
1668
1680
  }
@@ -1671,15 +1683,15 @@ function xs(e) {
1671
1683
  };
1672
1684
  function l(c) {
1673
1685
  c.forEach((d) => {
1674
- const u = Pn(d);
1686
+ const u = Bn(d);
1675
1687
  u == null || u.removeEventListener("scroll", i);
1676
1688
  });
1677
1689
  }
1678
- }, [i, e]), j(() => e.length ? t ? Array.from(t.values()).reduce((a, l) => Nt(a, l), Je) : jr(e) : Je, [e, t]);
1690
+ }, [i, e]), j(() => e.length ? t ? Array.from(t.values()).reduce((a, l) => Lt(a, l), Je) : Yr(e) : Je, [e, t]);
1679
1691
  }
1680
1692
  function Ar(e, t) {
1681
1693
  t === void 0 && (t = []);
1682
- const n = Y(null);
1694
+ const n = X(null);
1683
1695
  return K(
1684
1696
  () => {
1685
1697
  n.current = null;
@@ -1689,12 +1701,12 @@ function Ar(e, t) {
1689
1701
  ), K(() => {
1690
1702
  const o = e !== Je;
1691
1703
  o && !n.current && (n.current = e), !o && n.current && (n.current = null);
1692
- }, [e]), n.current ? yn(e, n.current) : Je;
1704
+ }, [e]), n.current ? mn(e, n.current) : Je;
1693
1705
  }
1694
1706
  function Cs(e) {
1695
1707
  K(
1696
1708
  () => {
1697
- if (!Dn)
1709
+ if (!Rn)
1698
1710
  return;
1699
1711
  const t = e.map((n) => {
1700
1712
  let {
@@ -1728,39 +1740,40 @@ function Ds(e, t) {
1728
1740
  }, n;
1729
1741
  }, {}), [e, t]);
1730
1742
  }
1731
- function Jr(e) {
1743
+ function Vr(e) {
1732
1744
  return j(() => e ? Ji(e) : null, [e]);
1733
1745
  }
1734
- const zn = [];
1746
+ const Er = [];
1735
1747
  function Ss(e, t) {
1736
- t === void 0 && (t = zt);
1737
- const [n] = e, o = Jr(n ? Se(n) : null), [i, a] = Yn(c, zn), l = An({
1738
- callback: a
1748
+ t === void 0 && (t = Kt);
1749
+ const [n] = e, o = Vr(n ? Re(n) : null), [i, a] = ne(Er);
1750
+ function l() {
1751
+ a(() => e.length ? e.map((d) => Ur(d) ? o : new Zn(t(d), d)) : Er);
1752
+ }
1753
+ const c = _n({
1754
+ callback: l
1739
1755
  });
1740
- return e.length > 0 && i === zn && a(), Ue(() => {
1741
- e.length ? e.forEach((d) => l == null ? void 0 : l.observe(d)) : (l == null || l.disconnect(), a());
1756
+ return qe(() => {
1757
+ c == null || c.disconnect(), l(), e.forEach((d) => c == null ? void 0 : c.observe(d));
1742
1758
  }, [e]), i;
1743
- function c() {
1744
- return e.length ? e.map((d) => Ur(d) ? o : new Zn(t(d), d)) : zn;
1745
- }
1746
1759
  }
1747
- function Vr(e) {
1760
+ function Qr(e) {
1748
1761
  if (!e)
1749
1762
  return null;
1750
1763
  if (e.children.length > 1)
1751
1764
  return e;
1752
1765
  const t = e.children[0];
1753
- return Gt(t) ? t : e;
1766
+ return Wt(t) ? t : e;
1754
1767
  }
1755
1768
  function Rs(e) {
1756
1769
  let {
1757
1770
  measure: t
1758
1771
  } = e;
1759
- const [n, o] = he(null), i = be((u) => {
1772
+ const [n, o] = ne(null), i = ve((u) => {
1760
1773
  for (const {
1761
1774
  target: h
1762
1775
  } of u)
1763
- if (Gt(h)) {
1776
+ if (Wt(h)) {
1764
1777
  o((g) => {
1765
1778
  const w = t(h);
1766
1779
  return g ? {
@@ -1771,12 +1784,12 @@ function Rs(e) {
1771
1784
  });
1772
1785
  break;
1773
1786
  }
1774
- }, [t]), a = An({
1787
+ }, [t]), a = _n({
1775
1788
  callback: i
1776
- }), l = be((u) => {
1777
- const h = Vr(u);
1789
+ }), l = ve((u) => {
1790
+ const h = Qr(u);
1778
1791
  a == null || a.disconnect(), h && (a == null || a.observe(h)), o(h ? t(h) : null);
1779
- }, [t, a]), [c, d] = vn(l);
1792
+ }, [t, a]), [c, d] = bn(l);
1780
1793
  return j(() => ({
1781
1794
  nodeRef: c,
1782
1795
  rect: n,
@@ -1784,27 +1797,27 @@ function Rs(e) {
1784
1797
  }), [n, c, d]);
1785
1798
  }
1786
1799
  const As = [{
1787
- sensor: Gr,
1800
+ sensor: Wr,
1788
1801
  options: {}
1789
1802
  }, {
1790
1803
  sensor: er,
1791
1804
  options: {}
1792
1805
  }], Es = {
1793
1806
  current: {}
1794
- }, hn = {
1807
+ }, pn = {
1795
1808
  draggable: {
1796
1809
  measure: mr
1797
1810
  },
1798
1811
  droppable: {
1799
1812
  measure: mr,
1800
- strategy: Lt.WhileDragging,
1813
+ strategy: $t.WhileDragging,
1801
1814
  frequency: Un.Optimized
1802
1815
  },
1803
1816
  dragOverlay: {
1804
- measure: zt
1817
+ measure: Kt
1805
1818
  }
1806
1819
  };
1807
- class Xt extends Map {
1820
+ class jt extends Map {
1808
1821
  get(t) {
1809
1822
  var n;
1810
1823
  return t != null && (n = super.get(t)) != null ? n : void 0;
@@ -1834,22 +1847,22 @@ const _s = {
1834
1847
  containerNodeRect: null,
1835
1848
  draggableNodes: /* @__PURE__ */ new Map(),
1836
1849
  droppableRects: /* @__PURE__ */ new Map(),
1837
- droppableContainers: /* @__PURE__ */ new Xt(),
1850
+ droppableContainers: /* @__PURE__ */ new jt(),
1838
1851
  over: null,
1839
1852
  dragOverlay: {
1840
1853
  nodeRef: {
1841
1854
  current: null
1842
1855
  },
1843
1856
  rect: null,
1844
- setRef: wn
1857
+ setRef: xn
1845
1858
  },
1846
1859
  scrollableAncestors: [],
1847
1860
  scrollableAncestorRects: [],
1848
- measuringConfiguration: hn,
1849
- measureDroppableContainers: wn,
1861
+ measuringConfiguration: pn,
1862
+ measureDroppableContainers: xn,
1850
1863
  windowRect: null,
1851
1864
  measuringScheduled: !1
1852
- }, Qr = {
1865
+ }, Zr = {
1853
1866
  activatorEvent: null,
1854
1867
  activators: [],
1855
1868
  active: null,
@@ -1857,11 +1870,11 @@ const _s = {
1857
1870
  ariaDescribedById: {
1858
1871
  draggable: ""
1859
1872
  },
1860
- dispatch: wn,
1873
+ dispatch: xn,
1861
1874
  draggableNodes: /* @__PURE__ */ new Map(),
1862
1875
  over: null,
1863
- measureDroppableContainers: wn
1864
- }, Jt = /* @__PURE__ */ kt(Qr), Zr = /* @__PURE__ */ kt(_s);
1876
+ measureDroppableContainers: xn
1877
+ }, Vt = /* @__PURE__ */ Gt(Zr), eo = /* @__PURE__ */ Gt(_s);
1865
1878
  function Is() {
1866
1879
  return {
1867
1880
  draggable: {
@@ -1877,13 +1890,13 @@ function Is() {
1877
1890
  }
1878
1891
  },
1879
1892
  droppable: {
1880
- containers: new Xt()
1893
+ containers: new jt()
1881
1894
  }
1882
1895
  };
1883
1896
  }
1884
1897
  function Os(e, t) {
1885
1898
  switch (t.type) {
1886
- case le.DragStart:
1899
+ case ce.DragStart:
1887
1900
  return {
1888
1901
  ...e,
1889
1902
  draggable: {
@@ -1892,8 +1905,8 @@ function Os(e, t) {
1892
1905
  active: t.active
1893
1906
  }
1894
1907
  };
1895
- case le.DragMove:
1896
- return e.draggable.active ? {
1908
+ case ce.DragMove:
1909
+ return e.draggable.active == null ? e : {
1897
1910
  ...e,
1898
1911
  draggable: {
1899
1912
  ...e.draggable,
@@ -1902,9 +1915,9 @@ function Os(e, t) {
1902
1915
  y: t.coordinates.y - e.draggable.initialCoordinates.y
1903
1916
  }
1904
1917
  }
1905
- } : e;
1906
- case le.DragEnd:
1907
- case le.DragCancel:
1918
+ };
1919
+ case ce.DragEnd:
1920
+ case ce.DragCancel:
1908
1921
  return {
1909
1922
  ...e,
1910
1923
  draggable: {
@@ -1920,12 +1933,12 @@ function Os(e, t) {
1920
1933
  }
1921
1934
  }
1922
1935
  };
1923
- case le.RegisterDroppable: {
1936
+ case ce.RegisterDroppable: {
1924
1937
  const {
1925
1938
  element: n
1926
1939
  } = t, {
1927
1940
  id: o
1928
- } = n, i = new Xt(e.droppable.containers);
1941
+ } = n, i = new jt(e.droppable.containers);
1929
1942
  return i.set(o, n), {
1930
1943
  ...e,
1931
1944
  droppable: {
@@ -1934,7 +1947,7 @@ function Os(e, t) {
1934
1947
  }
1935
1948
  };
1936
1949
  }
1937
- case le.SetDroppableDisabled: {
1950
+ case ce.SetDroppableDisabled: {
1938
1951
  const {
1939
1952
  id: n,
1940
1953
  key: o,
@@ -1942,7 +1955,7 @@ function Os(e, t) {
1942
1955
  } = t, a = e.droppable.containers.get(n);
1943
1956
  if (!a || o !== a.key)
1944
1957
  return e;
1945
- const l = new Xt(e.droppable.containers);
1958
+ const l = new jt(e.droppable.containers);
1946
1959
  return l.set(n, {
1947
1960
  ...a,
1948
1961
  disabled: i
@@ -1954,14 +1967,14 @@ function Os(e, t) {
1954
1967
  }
1955
1968
  };
1956
1969
  }
1957
- case le.UnregisterDroppable: {
1970
+ case ce.UnregisterDroppable: {
1958
1971
  const {
1959
1972
  id: n,
1960
1973
  key: o
1961
1974
  } = t, i = e.droppable.containers.get(n);
1962
1975
  if (!i || o !== i.key)
1963
1976
  return e;
1964
- const a = new Xt(e.droppable.containers);
1977
+ const a = new jt(e.droppable.containers);
1965
1978
  return a.delete(n), {
1966
1979
  ...e,
1967
1980
  droppable: {
@@ -1982,10 +1995,10 @@ function Ts(e) {
1982
1995
  active: n,
1983
1996
  activatorEvent: o,
1984
1997
  draggableNodes: i
1985
- } = vt(Jt), a = bn(o), l = bn(n == null ? void 0 : n.id);
1998
+ } = bt(Vt), a = yn(o), l = yn(n == null ? void 0 : n.id);
1986
1999
  return K(() => {
1987
2000
  if (!t && !o && a && l != null) {
1988
- if (!Rn(a) || document.activeElement === a.target)
2001
+ if (!En(a) || document.activeElement === a.target)
1989
2002
  return;
1990
2003
  const c = i.get(l);
1991
2004
  if (!c)
@@ -2010,7 +2023,7 @@ function Ts(e) {
2010
2023
  }
2011
2024
  }, [o, t, i, l, a]), null;
2012
2025
  }
2013
- function eo(e, t) {
2026
+ function to(e, t) {
2014
2027
  let {
2015
2028
  transform: n,
2016
2029
  ...o
@@ -2024,15 +2037,15 @@ function Ns(e) {
2024
2037
  return j(
2025
2038
  () => ({
2026
2039
  draggable: {
2027
- ...hn.draggable,
2040
+ ...pn.draggable,
2028
2041
  ...e == null ? void 0 : e.draggable
2029
2042
  },
2030
2043
  droppable: {
2031
- ...hn.droppable,
2044
+ ...pn.droppable,
2032
2045
  ...e == null ? void 0 : e.droppable
2033
2046
  },
2034
2047
  dragOverlay: {
2035
- ...hn.dragOverlay,
2048
+ ...pn.dragOverlay,
2036
2049
  ...e == null ? void 0 : e.dragOverlay
2037
2050
  }
2038
2051
  }),
@@ -2047,14 +2060,14 @@ function Ms(e) {
2047
2060
  initialRect: o,
2048
2061
  config: i = !0
2049
2062
  } = e;
2050
- const a = Y(!1), {
2063
+ const a = X(!1), {
2051
2064
  x: l,
2052
2065
  y: c
2053
2066
  } = typeof i == "boolean" ? {
2054
2067
  x: i,
2055
2068
  y: i
2056
2069
  } : i;
2057
- Ue(() => {
2070
+ qe(() => {
2058
2071
  if (!l && !c || !t) {
2059
2072
  a.current = !1;
2060
2073
  return;
@@ -2064,9 +2077,9 @@ function Ms(e) {
2064
2077
  const u = t == null ? void 0 : t.node.current;
2065
2078
  if (!u || u.isConnected === !1)
2066
2079
  return;
2067
- const h = n(u), g = Br(h, o);
2080
+ const h = n(u), g = zr(h, o);
2068
2081
  if (l || (g.x = 0), c || (g.y = 0), a.current = !0, Math.abs(g.x) > 0 || Math.abs(g.y) > 0) {
2069
- const w = Fr(u);
2082
+ const w = Kr(u);
2070
2083
  w && w.scrollBy({
2071
2084
  top: g.y,
2072
2085
  left: g.x
@@ -2074,16 +2087,16 @@ function Ms(e) {
2074
2087
  }
2075
2088
  }, [t, l, c, o, n]);
2076
2089
  }
2077
- const En = /* @__PURE__ */ kt({
2090
+ const In = /* @__PURE__ */ Gt({
2078
2091
  ...Je,
2079
2092
  scaleX: 1,
2080
2093
  scaleY: 1
2081
2094
  });
2082
- var pt;
2095
+ var vt;
2083
2096
  (function(e) {
2084
2097
  e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
2085
- })(pt || (pt = {}));
2086
- const Ls = /* @__PURE__ */ pi(function(t) {
2098
+ })(vt || (vt = {}));
2099
+ const Ls = /* @__PURE__ */ Mr(function(t) {
2087
2100
  var n, o, i, a;
2088
2101
  let {
2089
2102
  id: l,
@@ -2091,12 +2104,12 @@ const Ls = /* @__PURE__ */ pi(function(t) {
2091
2104
  autoScroll: d = !0,
2092
2105
  children: u,
2093
2106
  sensors: h = As,
2094
- collisionDetection: g = $r,
2107
+ collisionDetection: g = Br,
2095
2108
  measuring: w,
2096
2109
  modifiers: b,
2097
2110
  ...A
2098
2111
  } = t;
2099
- const v = Yn(Os, void 0, Is), [x, S] = v, [E, D] = Li(), [R, T] = he(pt.Uninitialized), _ = R === pt.Initialized, {
2112
+ const v = pi(Os, void 0, Is), [x, S] = v, [E, D] = Li(), [R, T] = ne(vt.Uninitialized), _ = R === vt.Initialized, {
2100
2113
  draggable: {
2101
2114
  active: O,
2102
2115
  nodes: M,
@@ -2105,33 +2118,33 @@ const Ls = /* @__PURE__ */ pi(function(t) {
2105
2118
  droppable: {
2106
2119
  containers: U
2107
2120
  }
2108
- } = x, B = O ? M.get(O) : null, re = Y({
2121
+ } = x, B = O != null ? M.get(O) : null, re = X({
2109
2122
  initial: null,
2110
2123
  translated: null
2111
2124
  }), Q = j(() => {
2112
- var X;
2125
+ var W;
2113
2126
  return O != null ? {
2114
2127
  id: O,
2115
2128
  // It's possible for the active node to unmount while dragging
2116
- data: (X = B == null ? void 0 : B.data) != null ? X : Es,
2129
+ data: (W = B == null ? void 0 : B.data) != null ? W : Es,
2117
2130
  rect: re
2118
2131
  } : null;
2119
- }, [O, B]), Re = Y(null), [Xe, F] = he(null), [J, Le] = he(null), Oe = Yt(A, Object.values(A)), ce = qt("DndDescribedBy", l), Pe = j(() => U.getEnabled(), [U]), V = Ns(w), {
2132
+ }, [O, B]), Ae = X(null), [Xe, F] = ne(null), [J, Pe] = ne(null), Ne = kt(A, Object.values(A)), ue = Jt("DndDescribedBy", l), $e = j(() => U.getEnabled(), [U]), V = Ns(w), {
2120
2133
  droppableRects: we,
2121
- measureDroppableContainers: je,
2122
- measuringScheduled: tt
2123
- } = ps(Pe, {
2134
+ measureDroppableContainers: Ue,
2135
+ measuringScheduled: et
2136
+ } = ps($e, {
2124
2137
  dragging: _,
2125
2138
  dependencies: [H.x, H.y],
2126
2139
  config: V.droppable
2127
- }), Z = gs(M, O), nt = j(() => J ? mn(J) : null, [J]), $e = Qt(), ue = vs(Z, V.draggable.measure);
2140
+ }), Z = gs(M, O), tt = j(() => J ? wn(J) : null, [J]), Be = Ye(), de = vs(Z, V.draggable.measure);
2128
2141
  Ms({
2129
- activeNode: O ? M.get(O) : null,
2130
- config: $e.layoutShiftCompensation,
2131
- initialRect: ue,
2142
+ activeNode: O != null ? M.get(O) : null,
2143
+ config: Be.layoutShiftCompensation,
2144
+ initialRect: de,
2132
2145
  measure: V.draggable.measure
2133
2146
  });
2134
- const $ = Sr(Z, V.draggable.measure, ue), rt = Sr(Z ? Z.parentElement : null), Ae = Y({
2147
+ const $ = Sr(Z, V.draggable.measure, de), nt = Sr(Z ? Z.parentElement : null), Ee = X({
2135
2148
  activatorEvent: null,
2136
2149
  active: null,
2137
2150
  activeNode: Z,
@@ -2145,120 +2158,119 @@ const Ls = /* @__PURE__ */ pi(function(t) {
2145
2158
  over: null,
2146
2159
  scrollableAncestors: [],
2147
2160
  scrollAdjustedTranslate: null
2148
- }), Ve = U.getNodeFor((n = Ae.current.over) == null ? void 0 : n.id), P = Rs({
2161
+ }), Ve = U.getNodeFor((n = Ee.current.over) == null ? void 0 : n.id), P = Rs({
2149
2162
  measure: V.dragOverlay.measure
2150
- }), Qe = (o = P.nodeRef.current) != null ? o : Z, Ye = _ ? (i = P.rect) != null ? i : $ : null, yt = !!(P.nodeRef.current && P.rect), Ee = ms(yt ? null : $), Ze = Jr(Qe ? Se(Qe) : null), p = ws(_ ? Ve ?? Z : null), m = Ss(p), N = eo(b, {
2163
+ }), Qe = (o = P.nodeRef.current) != null ? o : Z, je = _ ? (i = P.rect) != null ? i : $ : null, mt = !!(P.nodeRef.current && P.rect), _e = ms(mt ? null : $), Ze = Vr(Qe ? Re(Qe) : null), p = ws(_ ? Ve ?? Z : null), m = Ss(p), N = to(b, {
2151
2164
  transform: {
2152
- x: H.x - Ee.x,
2153
- y: H.y - Ee.y,
2165
+ x: H.x - _e.x,
2166
+ y: H.y - _e.y,
2154
2167
  scaleX: 1,
2155
2168
  scaleY: 1
2156
2169
  },
2157
2170
  activatorEvent: J,
2158
2171
  active: Q,
2159
2172
  activeNodeRect: $,
2160
- containerNodeRect: rt,
2161
- draggingNodeRect: Ye,
2162
- over: Ae.current.over,
2173
+ containerNodeRect: nt,
2174
+ draggingNodeRect: je,
2175
+ over: Ee.current.over,
2163
2176
  overlayNodeRect: P.rect,
2164
2177
  scrollableAncestors: p,
2165
2178
  scrollableAncestorRects: m,
2166
2179
  windowRect: Ze
2167
- }), q = nt ? Nt(nt, H) : null, G = xs(p), de = Ar(G), ee = Ar(G, [$]), oe = Nt(N, de), pe = Ye ? Gi(Ye, N) : null, ye = Q && pe ? g({
2180
+ }), G = tt ? Lt(tt, H) : null, Y = xs(p), fe = Ar(Y), ee = Ar(Y, [$]), oe = Lt(N, fe), he = je ? Gi(je, N) : null, be = Q && he ? g({
2168
2181
  active: Q,
2169
- collisionRect: pe,
2182
+ collisionRect: he,
2170
2183
  droppableRects: we,
2171
- droppableContainers: Pe,
2172
- pointerCoordinates: q
2173
- }) : null, ot = Vn(ye, "id"), [te, Te] = he(null), mt = yt ? N : Nt(N, ee), ie = Yi(mt, (a = te == null ? void 0 : te.rect) != null ? a : null, $), fe = be(
2174
- (X, ne) => {
2184
+ droppableContainers: $e,
2185
+ pointerCoordinates: G
2186
+ }) : null, rt = Vn(be, "id"), [te, Me] = ne(null), wt = mt ? N : Lt(N, ee), ie = Yi(wt, (a = te == null ? void 0 : te.rect) != null ? a : null, $), se = X(null), Le = ve(
2187
+ (W, xe) => {
2175
2188
  let {
2176
- sensor: xe,
2189
+ sensor: ye,
2177
2190
  options: ke
2178
- } = ne;
2179
- if (Re.current == null)
2191
+ } = xe;
2192
+ if (Ae.current == null)
2180
2193
  return;
2181
- const Ce = M.get(Re.current);
2182
- if (!Ce)
2194
+ const Ie = M.get(Ae.current);
2195
+ if (!Ie)
2183
2196
  return;
2184
- const Ne = X.nativeEvent, ze = new xe({
2185
- active: Re.current,
2186
- activeNode: Ce,
2187
- event: Ne,
2197
+ const Ce = W.nativeEvent, ze = new ye({
2198
+ active: Ae.current,
2199
+ activeNode: Ie,
2200
+ event: Ce,
2188
2201
  options: ke,
2189
2202
  // Sensors need to be instantiated with refs for arguments that change over time
2190
2203
  // otherwise they are frozen in time with the stale arguments
2191
- context: Ae,
2192
- onStart(Me) {
2193
- const it = Re.current;
2194
- if (it == null)
2204
+ context: Ee,
2205
+ onStart(De) {
2206
+ const Ge = Ae.current;
2207
+ if (Ge == null)
2195
2208
  return;
2196
- const Ge = M.get(it);
2197
- if (!Ge)
2209
+ const it = M.get(Ge);
2210
+ if (!it)
2198
2211
  return;
2199
2212
  const {
2200
2213
  onDragStart: dt
2201
- } = Oe.current, ft = {
2214
+ } = Ne.current, ft = {
2215
+ activatorEvent: Ce,
2202
2216
  active: {
2203
- id: it,
2204
- data: Ge.data,
2217
+ id: Ge,
2218
+ data: it.data,
2205
2219
  rect: re
2206
2220
  }
2207
2221
  };
2208
- At.unstable_batchedUpdates(() => {
2209
- dt == null || dt(ft), T(pt.Initializing), S({
2210
- type: le.DragStart,
2211
- initialCoordinates: Me,
2212
- active: it
2222
+ Mt.unstable_batchedUpdates(() => {
2223
+ dt == null || dt(ft), T(vt.Initializing), S({
2224
+ type: ce.DragStart,
2225
+ initialCoordinates: De,
2226
+ active: Ge
2213
2227
  }), E({
2214
2228
  type: "onDragStart",
2215
2229
  event: ft
2216
- });
2230
+ }), F(se.current), Pe(Ce);
2217
2231
  });
2218
2232
  },
2219
- onMove(Me) {
2233
+ onMove(De) {
2220
2234
  S({
2221
- type: le.DragMove,
2222
- coordinates: Me
2235
+ type: ce.DragMove,
2236
+ coordinates: De
2223
2237
  });
2224
2238
  },
2225
- onEnd: ut(le.DragEnd),
2226
- onCancel: ut(le.DragCancel)
2227
- });
2228
- At.unstable_batchedUpdates(() => {
2229
- F(ze), Le(X.nativeEvent);
2239
+ onEnd: ut(ce.DragEnd),
2240
+ onCancel: ut(ce.DragCancel)
2230
2241
  });
2231
- function ut(Me) {
2242
+ se.current = ze;
2243
+ function ut(De) {
2232
2244
  return async function() {
2233
2245
  const {
2234
- active: Ge,
2246
+ active: it,
2235
2247
  collisions: dt,
2236
2248
  over: ft,
2237
- scrollAdjustedTranslate: Et
2238
- } = Ae.current;
2239
- let We = null;
2240
- if (Ge && Et) {
2249
+ scrollAdjustedTranslate: gt
2250
+ } = Ee.current;
2251
+ let xt = null;
2252
+ if (it && gt) {
2241
2253
  const {
2242
- cancelDrop: wt
2243
- } = Oe.current;
2244
- We = {
2245
- activatorEvent: Ne,
2246
- active: Ge,
2254
+ cancelDrop: Ct
2255
+ } = Ne.current;
2256
+ xt = {
2257
+ activatorEvent: Ce,
2258
+ active: it,
2247
2259
  collisions: dt,
2248
- delta: Et,
2260
+ delta: gt,
2249
2261
  over: ft
2250
- }, Me === le.DragEnd && typeof wt == "function" && await Promise.resolve(wt(We)) && (Me = le.DragCancel);
2262
+ }, De === ce.DragEnd && typeof Ct == "function" && await Promise.resolve(Ct(xt)) && (De = ce.DragCancel);
2251
2263
  }
2252
- Re.current = null, At.unstable_batchedUpdates(() => {
2264
+ Ae.current = null, Mt.unstable_batchedUpdates(() => {
2253
2265
  S({
2254
- type: Me
2255
- }), T(pt.Uninitialized), Te(null), F(null), Le(null);
2256
- const wt = Me === le.DragEnd ? "onDragEnd" : "onDragCancel";
2257
- if (We) {
2258
- const Kt = Oe.current[wt];
2259
- Kt == null || Kt(We), E({
2260
- type: wt,
2261
- event: We
2266
+ type: De
2267
+ }), T(vt.Uninitialized), Me(null), F(null), Pe(null), se.current = null;
2268
+ const Ct = De === ce.DragEnd ? "onDragEnd" : "onDragCancel";
2269
+ if (xt) {
2270
+ const Ht = Ne.current[Ct];
2271
+ Ht == null || Ht(xt), E({
2272
+ type: Ct,
2273
+ event: xt
2262
2274
  });
2263
2275
  }
2264
2276
  });
@@ -2267,50 +2279,50 @@ const Ls = /* @__PURE__ */ pi(function(t) {
2267
2279
  },
2268
2280
  // eslint-disable-next-line react-hooks/exhaustive-deps
2269
2281
  [M]
2270
- ), Be = be((X, ne) => (xe, ke) => {
2271
- const Ce = xe.nativeEvent, Ne = M.get(ke);
2282
+ ), ot = ve((W, xe) => (ye, ke) => {
2283
+ const Ie = ye.nativeEvent, Ce = M.get(ke);
2272
2284
  if (
2273
2285
  // Another sensor is already instantiating
2274
- Re.current !== null || // No active draggable
2275
- !Ne || // Event has already been captured
2276
- Ce.dndKit || Ce.defaultPrevented
2286
+ Ae.current !== null || // No active draggable
2287
+ !Ce || // Event has already been captured
2288
+ Ie.dndKit || Ie.defaultPrevented
2277
2289
  )
2278
2290
  return;
2279
2291
  const ze = {
2280
- active: Ne
2292
+ active: Ce
2281
2293
  };
2282
- X(xe, ne.options, ze) === !0 && (Ce.dndKit = {
2283
- capturedBy: ne.sensor
2284
- }, Re.current = ke, fe(xe, ne));
2285
- }, [M, fe]), et = hs(h, Be);
2286
- Cs(h), Ue(() => {
2287
- $ && R === pt.Initializing && T(pt.Initialized);
2294
+ W(ye, xe.options, ze) === !0 && (Ie.dndKit = {
2295
+ capturedBy: xe.sensor
2296
+ }, Ae.current = ke, Le(ye, xe));
2297
+ }, [M, Le]), _t = hs(h, ot);
2298
+ Cs(h), qe(() => {
2299
+ $ && R === vt.Initializing && T(vt.Initialized);
2288
2300
  }, [$, R]), K(
2289
2301
  () => {
2290
2302
  const {
2291
- onDragMove: X
2292
- } = Oe.current, {
2293
- active: ne,
2294
- activatorEvent: xe,
2303
+ onDragMove: W
2304
+ } = Ne.current, {
2305
+ active: xe,
2306
+ activatorEvent: ye,
2295
2307
  collisions: ke,
2296
- over: Ce
2297
- } = Ae.current;
2298
- if (!ne || !xe)
2308
+ over: Ie
2309
+ } = Ee.current;
2310
+ if (!xe || !ye)
2299
2311
  return;
2300
- const Ne = {
2301
- active: ne,
2302
- activatorEvent: xe,
2312
+ const Ce = {
2313
+ active: xe,
2314
+ activatorEvent: ye,
2303
2315
  collisions: ke,
2304
2316
  delta: {
2305
2317
  x: oe.x,
2306
2318
  y: oe.y
2307
2319
  },
2308
- over: Ce
2320
+ over: Ie
2309
2321
  };
2310
- At.unstable_batchedUpdates(() => {
2311
- X == null || X(Ne), E({
2322
+ Mt.unstable_batchedUpdates(() => {
2323
+ W == null || W(Ce), E({
2312
2324
  type: "onDragMove",
2313
- event: Ne
2325
+ event: Ce
2314
2326
  });
2315
2327
  });
2316
2328
  },
@@ -2319,122 +2331,122 @@ const Ls = /* @__PURE__ */ pi(function(t) {
2319
2331
  ), K(
2320
2332
  () => {
2321
2333
  const {
2322
- active: X,
2323
- activatorEvent: ne,
2324
- collisions: xe,
2334
+ active: W,
2335
+ activatorEvent: xe,
2336
+ collisions: ye,
2325
2337
  droppableContainers: ke,
2326
- scrollAdjustedTranslate: Ce
2327
- } = Ae.current;
2328
- if (!X || Re.current == null || !ne || !Ce)
2338
+ scrollAdjustedTranslate: Ie
2339
+ } = Ee.current;
2340
+ if (!W || Ae.current == null || !xe || !Ie)
2329
2341
  return;
2330
2342
  const {
2331
- onDragOver: Ne
2332
- } = Oe.current, ze = ke.get(ot), ut = ze && ze.rect.current ? {
2343
+ onDragOver: Ce
2344
+ } = Ne.current, ze = ke.get(rt), ut = ze && ze.rect.current ? {
2333
2345
  id: ze.id,
2334
2346
  rect: ze.rect.current,
2335
2347
  data: ze.data,
2336
2348
  disabled: ze.disabled
2337
- } : null, Me = {
2338
- active: X,
2339
- activatorEvent: ne,
2340
- collisions: xe,
2349
+ } : null, De = {
2350
+ active: W,
2351
+ activatorEvent: xe,
2352
+ collisions: ye,
2341
2353
  delta: {
2342
- x: Ce.x,
2343
- y: Ce.y
2354
+ x: Ie.x,
2355
+ y: Ie.y
2344
2356
  },
2345
2357
  over: ut
2346
2358
  };
2347
- At.unstable_batchedUpdates(() => {
2348
- Te(ut), Ne == null || Ne(Me), E({
2359
+ Mt.unstable_batchedUpdates(() => {
2360
+ Me(ut), Ce == null || Ce(De), E({
2349
2361
  type: "onDragOver",
2350
- event: Me
2362
+ event: De
2351
2363
  });
2352
2364
  });
2353
2365
  },
2354
2366
  // eslint-disable-next-line react-hooks/exhaustive-deps
2355
- [ot]
2356
- ), Ue(() => {
2357
- Ae.current = {
2367
+ [rt]
2368
+ ), qe(() => {
2369
+ Ee.current = {
2358
2370
  activatorEvent: J,
2359
2371
  active: Q,
2360
2372
  activeNode: Z,
2361
- collisionRect: pe,
2362
- collisions: ye,
2373
+ collisionRect: he,
2374
+ collisions: be,
2363
2375
  droppableRects: we,
2364
2376
  draggableNodes: M,
2365
2377
  draggingNode: Qe,
2366
- draggingNodeRect: Ye,
2378
+ draggingNodeRect: je,
2367
2379
  droppableContainers: U,
2368
2380
  over: te,
2369
2381
  scrollableAncestors: p,
2370
2382
  scrollAdjustedTranslate: oe
2371
2383
  }, re.current = {
2372
- initial: Ye,
2373
- translated: pe
2384
+ initial: je,
2385
+ translated: he
2374
2386
  };
2375
- }, [Q, Z, ye, pe, M, Qe, Ye, we, U, te, p, oe]), us({
2376
- ...$e,
2387
+ }, [Q, Z, be, he, M, Qe, je, we, U, te, p, oe]), us({
2388
+ ...Be,
2377
2389
  delta: H,
2378
- draggingRect: pe,
2379
- pointerCoordinates: q,
2390
+ draggingRect: he,
2391
+ pointerCoordinates: G,
2380
2392
  scrollableAncestors: p,
2381
2393
  scrollableAncestorRects: m
2382
2394
  });
2383
- const Ft = j(() => ({
2395
+ const Qt = j(() => ({
2384
2396
  active: Q,
2385
2397
  activeNode: Z,
2386
2398
  activeNodeRect: $,
2387
2399
  activatorEvent: J,
2388
- collisions: ye,
2389
- containerNodeRect: rt,
2400
+ collisions: be,
2401
+ containerNodeRect: nt,
2390
2402
  dragOverlay: P,
2391
2403
  draggableNodes: M,
2392
2404
  droppableContainers: U,
2393
2405
  droppableRects: we,
2394
2406
  over: te,
2395
- measureDroppableContainers: je,
2407
+ measureDroppableContainers: Ue,
2396
2408
  scrollableAncestors: p,
2397
2409
  scrollableAncestorRects: m,
2398
2410
  measuringConfiguration: V,
2399
- measuringScheduled: tt,
2411
+ measuringScheduled: et,
2400
2412
  windowRect: Ze
2401
- }), [Q, Z, $, J, ye, rt, P, M, U, we, te, je, p, m, V, tt, Ze]), Vt = j(() => ({
2413
+ }), [Q, Z, $, J, be, nt, P, M, U, we, te, Ue, p, m, V, et, Ze]), Zt = j(() => ({
2402
2414
  activatorEvent: J,
2403
- activators: et,
2415
+ activators: _t,
2404
2416
  active: Q,
2405
2417
  activeNodeRect: $,
2406
2418
  ariaDescribedById: {
2407
- draggable: ce
2419
+ draggable: ue
2408
2420
  },
2409
2421
  dispatch: S,
2410
2422
  draggableNodes: M,
2411
2423
  over: te,
2412
- measureDroppableContainers: je
2413
- }), [J, et, Q, $, S, ce, M, te, je]);
2414
- return k.createElement(Pr.Provider, {
2424
+ measureDroppableContainers: Ue
2425
+ }), [J, _t, Q, $, S, ue, M, te, Ue]);
2426
+ return q.createElement($r.Provider, {
2415
2427
  value: D
2416
- }, k.createElement(Jt.Provider, {
2417
- value: Vt
2418
- }, k.createElement(Zr.Provider, {
2419
- value: Ft
2420
- }, k.createElement(En.Provider, {
2428
+ }, q.createElement(Vt.Provider, {
2429
+ value: Zt
2430
+ }, q.createElement(eo.Provider, {
2431
+ value: Qt
2432
+ }, q.createElement(In.Provider, {
2421
2433
  value: ie
2422
- }, u)), k.createElement(Ts, {
2434
+ }, u)), q.createElement(Ts, {
2423
2435
  disabled: (c == null ? void 0 : c.restoreFocus) === !1
2424
- })), k.createElement(Bi, {
2436
+ })), q.createElement(Bi, {
2425
2437
  ...c,
2426
- hiddenTextDescribedById: ce
2438
+ hiddenTextDescribedById: ue
2427
2439
  }));
2428
- function Qt() {
2429
- const X = (Xe == null ? void 0 : Xe.autoScrollEnabled) === !1, ne = typeof d == "object" ? d.enabled === !1 : d === !1, xe = _ && !X && !ne;
2440
+ function Ye() {
2441
+ const W = (Xe == null ? void 0 : Xe.autoScrollEnabled) === !1, xe = typeof d == "object" ? d.enabled === !1 : d === !1, ye = _ && !W && !xe;
2430
2442
  return typeof d == "object" ? {
2431
2443
  ...d,
2432
- enabled: xe
2444
+ enabled: ye
2433
2445
  } : {
2434
- enabled: xe
2446
+ enabled: ye
2435
2447
  };
2436
2448
  }
2437
- }), Ps = /* @__PURE__ */ kt(null), Er = "button", $s = "Droppable";
2449
+ }), Ps = /* @__PURE__ */ Gt(null), _r = "button", $s = "Draggable";
2438
2450
  function Bs(e) {
2439
2451
  let {
2440
2452
  id: t,
@@ -2442,7 +2454,7 @@ function Bs(e) {
2442
2454
  disabled: o = !1,
2443
2455
  attributes: i
2444
2456
  } = e;
2445
- const a = qt($s), {
2457
+ const a = Jt($s), {
2446
2458
  activators: l,
2447
2459
  activatorEvent: c,
2448
2460
  active: d,
@@ -2450,12 +2462,12 @@ function Bs(e) {
2450
2462
  ariaDescribedById: h,
2451
2463
  draggableNodes: g,
2452
2464
  over: w
2453
- } = vt(Jt), {
2454
- role: b = Er,
2465
+ } = bt(Vt), {
2466
+ role: b = _r,
2455
2467
  roleDescription: A = "draggable",
2456
2468
  tabIndex: v = 0
2457
- } = i ?? {}, x = (d == null ? void 0 : d.id) === t, S = vt(x ? En : Ps), [E, D] = vn(), [R, T] = vn(), _ = Ds(l, t), O = Yt(n);
2458
- Ue(
2469
+ } = i ?? {}, x = (d == null ? void 0 : d.id) === t, S = bt(x ? In : Ps), [E, D] = bn(), [R, T] = bn(), _ = Ds(l, t), O = kt(n);
2470
+ qe(
2459
2471
  () => (g.set(t, {
2460
2472
  id: t,
2461
2473
  key: a,
@@ -2473,7 +2485,7 @@ function Bs(e) {
2473
2485
  role: b,
2474
2486
  tabIndex: v,
2475
2487
  "aria-disabled": o,
2476
- "aria-pressed": x && b === Er ? !0 : void 0,
2488
+ "aria-pressed": x && b === _r ? !0 : void 0,
2477
2489
  "aria-roledescription": A,
2478
2490
  "aria-describedby": h.draggable
2479
2491
  }), [o, b, v, x, A, h.draggable]);
@@ -2491,8 +2503,8 @@ function Bs(e) {
2491
2503
  transform: S
2492
2504
  };
2493
2505
  }
2494
- function to() {
2495
- return vt(Zr);
2506
+ function no() {
2507
+ return bt(eo);
2496
2508
  }
2497
2509
  const zs = "Droppable", Fs = {
2498
2510
  timeout: 25
@@ -2504,21 +2516,21 @@ function Ks(e) {
2504
2516
  id: o,
2505
2517
  resizeObserverConfig: i
2506
2518
  } = e;
2507
- const a = qt(zs), {
2519
+ const a = Jt(zs), {
2508
2520
  active: l,
2509
2521
  dispatch: c,
2510
2522
  over: d,
2511
2523
  measureDroppableContainers: u
2512
- } = vt(Jt), h = Y({
2524
+ } = bt(Vt), h = X({
2513
2525
  disabled: n
2514
- }), g = Y(!1), w = Y(null), b = Y(null), {
2526
+ }), g = X(!1), w = X(null), b = X(null), {
2515
2527
  disabled: A,
2516
2528
  updateMeasurementsFor: v,
2517
2529
  timeout: x
2518
2530
  } = {
2519
2531
  ...Fs,
2520
2532
  ...i
2521
- }, S = Yt(v ?? o), E = be(
2533
+ }, S = kt(v ?? o), E = ve(
2522
2534
  () => {
2523
2535
  if (!g.current) {
2524
2536
  g.current = !0;
@@ -2530,17 +2542,17 @@ function Ks(e) {
2530
2542
  },
2531
2543
  //eslint-disable-next-line react-hooks/exhaustive-deps
2532
2544
  [x]
2533
- ), D = An({
2545
+ ), D = _n({
2534
2546
  callback: E,
2535
2547
  disabled: A || !l
2536
- }), R = be((M, H) => {
2548
+ }), R = ve((M, H) => {
2537
2549
  D && (H && (D.unobserve(H), g.current = !1), M && D.observe(M));
2538
- }, [D]), [T, _] = vn(R), O = Yt(t);
2550
+ }, [D]), [T, _] = bn(R), O = kt(t);
2539
2551
  return K(() => {
2540
2552
  !D || !T.current || (D.disconnect(), g.current = !1, D.observe(T.current));
2541
- }, [T, D]), Ue(
2553
+ }, [T, D]), K(
2542
2554
  () => (c({
2543
- type: le.RegisterDroppable,
2555
+ type: ce.RegisterDroppable,
2544
2556
  element: {
2545
2557
  id: o,
2546
2558
  key: a,
@@ -2550,7 +2562,7 @@ function Ks(e) {
2550
2562
  data: O
2551
2563
  }
2552
2564
  }), () => c({
2553
- type: le.UnregisterDroppable,
2565
+ type: ce.UnregisterDroppable,
2554
2566
  key: a,
2555
2567
  id: o
2556
2568
  })),
@@ -2558,7 +2570,7 @@ function Ks(e) {
2558
2570
  [o]
2559
2571
  ), K(() => {
2560
2572
  n !== h.current.disabled && (c({
2561
- type: le.SetDroppableDisabled,
2573
+ type: ce.SetDroppableDisabled,
2562
2574
  id: o,
2563
2575
  key: a,
2564
2576
  disabled: n
@@ -2577,8 +2589,8 @@ function Hs(e) {
2577
2589
  animation: t,
2578
2590
  children: n
2579
2591
  } = e;
2580
- const [o, i] = he(null), [a, l] = he(null), c = bn(n);
2581
- return !n && !o && c && i(c), Ue(() => {
2592
+ const [o, i] = ne(null), [a, l] = ne(null), c = yn(n);
2593
+ return !n && !o && c && i(c), qe(() => {
2582
2594
  if (!a)
2583
2595
  return;
2584
2596
  const d = o == null ? void 0 : o.key, u = o == null ? void 0 : o.props.id;
@@ -2589,30 +2601,30 @@ function Hs(e) {
2589
2601
  Promise.resolve(t(u, a)).then(() => {
2590
2602
  i(null);
2591
2603
  });
2592
- }, [t, o, a]), k.createElement(k.Fragment, null, n, o ? vi(o, {
2604
+ }, [t, o, a]), q.createElement(q.Fragment, null, n, o ? vi(o, {
2593
2605
  ref: l
2594
2606
  }) : null);
2595
2607
  }
2596
- const Us = {
2608
+ const Xs = {
2597
2609
  x: 0,
2598
2610
  y: 0,
2599
2611
  scaleX: 1,
2600
2612
  scaleY: 1
2601
2613
  };
2602
- function Xs(e) {
2614
+ function Us(e) {
2603
2615
  let {
2604
2616
  children: t
2605
2617
  } = e;
2606
- return k.createElement(Jt.Provider, {
2607
- value: Qr
2608
- }, k.createElement(En.Provider, {
2609
- value: Us
2618
+ return q.createElement(Vt.Provider, {
2619
+ value: Zr
2620
+ }, q.createElement(In.Provider, {
2621
+ value: Xs
2610
2622
  }, t));
2611
2623
  }
2612
2624
  const js = {
2613
2625
  position: "fixed",
2614
2626
  touchAction: "none"
2615
- }, Ys = (e) => Rn(e) ? "transform 250ms ease" : void 0, ks = /* @__PURE__ */ Nr((e, t) => {
2627
+ }, Ys = (e) => En(e) ? "transform 250ms ease" : void 0, ks = /* @__PURE__ */ Sn((e, t) => {
2616
2628
  let {
2617
2629
  as: n,
2618
2630
  activatorEvent: o,
@@ -2636,17 +2648,17 @@ const js = {
2636
2648
  height: c.height,
2637
2649
  top: c.top,
2638
2650
  left: c.left,
2639
- transform: bt.Transform.toString(g),
2651
+ transform: yt.Transform.toString(g),
2640
2652
  transformOrigin: i && o ? Fi(o, c) : void 0,
2641
2653
  transition: typeof h == "function" ? h(o) : h,
2642
2654
  ...d
2643
2655
  };
2644
- return k.createElement(n, {
2656
+ return q.createElement(n, {
2645
2657
  className: l,
2646
2658
  style: w,
2647
2659
  ref: t
2648
2660
  }, a);
2649
- }), no = (e) => (t) => {
2661
+ }), ro = (e) => (t) => {
2650
2662
  let {
2651
2663
  active: n,
2652
2664
  dragOverlay: o
@@ -2674,15 +2686,15 @@ const js = {
2674
2686
  }
2675
2687
  } = e;
2676
2688
  return [{
2677
- transform: bt.Transform.toString(t)
2689
+ transform: yt.Transform.toString(t)
2678
2690
  }, {
2679
- transform: bt.Transform.toString(n)
2691
+ transform: yt.Transform.toString(n)
2680
2692
  }];
2681
2693
  }, Ws = {
2682
2694
  duration: 250,
2683
2695
  easing: "ease",
2684
2696
  keyframes: Gs,
2685
- sideEffects: /* @__PURE__ */ no({
2697
+ sideEffects: /* @__PURE__ */ ro({
2686
2698
  styles: {
2687
2699
  active: {
2688
2700
  opacity: "0"
@@ -2697,7 +2709,7 @@ function qs(e) {
2697
2709
  droppableContainers: o,
2698
2710
  measuringConfiguration: i
2699
2711
  } = e;
2700
- return Sn((a, l) => {
2712
+ return An((a, l) => {
2701
2713
  if (t === null)
2702
2714
  return;
2703
2715
  const c = n.get(a);
@@ -2706,16 +2718,16 @@ function qs(e) {
2706
2718
  const d = c.node.current;
2707
2719
  if (!d)
2708
2720
  return;
2709
- const u = Vr(l);
2721
+ const u = Qr(l);
2710
2722
  if (!u)
2711
2723
  return;
2712
2724
  const {
2713
2725
  transform: h
2714
- } = Se(l).getComputedStyle(l), g = zr(h);
2726
+ } = Re(l).getComputedStyle(l), g = Fr(h);
2715
2727
  if (!g)
2716
2728
  return;
2717
2729
  const w = typeof t == "function" ? t : Js(t);
2718
- return Yr(d, i.draggable.measure), w({
2730
+ return kr(d, i.draggable.measure), w({
2719
2731
  active: {
2720
2732
  id: a,
2721
2733
  data: c.data,
@@ -2789,14 +2801,14 @@ function Js(e) {
2789
2801
  });
2790
2802
  };
2791
2803
  }
2792
- let _r = 0;
2804
+ let Ir = 0;
2793
2805
  function Vs(e) {
2794
2806
  return j(() => {
2795
2807
  if (e != null)
2796
- return _r++, _r;
2808
+ return Ir++, Ir;
2797
2809
  }, [e]);
2798
2810
  }
2799
- const Qs = /* @__PURE__ */ k.memo((e) => {
2811
+ const Qs = /* @__PURE__ */ q.memo((e) => {
2800
2812
  let {
2801
2813
  adjustScale: t = !1,
2802
2814
  children: n,
@@ -2821,7 +2833,7 @@ const Qs = /* @__PURE__ */ k.memo((e) => {
2821
2833
  scrollableAncestors: D,
2822
2834
  scrollableAncestorRects: R,
2823
2835
  windowRect: T
2824
- } = to(), _ = vt(En), O = Vs(g == null ? void 0 : g.id), M = eo(l, {
2836
+ } = no(), _ = bt(In), O = Vs(g == null ? void 0 : g.id), M = to(l, {
2825
2837
  activatorEvent: h,
2826
2838
  active: g,
2827
2839
  activeNodeRect: w,
@@ -2839,9 +2851,9 @@ const Qs = /* @__PURE__ */ k.memo((e) => {
2839
2851
  droppableContainers: v,
2840
2852
  measuringConfiguration: E
2841
2853
  }), B = H ? x.setRef : void 0;
2842
- return k.createElement(Xs, null, k.createElement(Hs, {
2854
+ return q.createElement(Us, null, q.createElement(Hs, {
2843
2855
  animation: U
2844
- }, g && O ? k.createElement(ks, {
2856
+ }, g && O ? q.createElement(ks, {
2845
2857
  key: O,
2846
2858
  id: g.id,
2847
2859
  ref: B,
@@ -2858,7 +2870,7 @@ const Qs = /* @__PURE__ */ k.memo((e) => {
2858
2870
  transform: M
2859
2871
  }, n) : null));
2860
2872
  });
2861
- function jt(e, t, n) {
2873
+ function Yt(e, t, n) {
2862
2874
  const o = e.slice();
2863
2875
  return o.splice(n < 0 ? o.length + n : n, 0, o.splice(t, 1)[0]), o;
2864
2876
  }
@@ -2868,7 +2880,7 @@ function Zs(e, t) {
2868
2880
  return a && (n[i] = a), n;
2869
2881
  }, Array(e.length));
2870
2882
  }
2871
- function dn(e) {
2883
+ function fn(e) {
2872
2884
  return e !== null && e >= 0;
2873
2885
  }
2874
2886
  function ea(e, t) {
@@ -2887,7 +2899,7 @@ function ta(e) {
2887
2899
  droppable: e
2888
2900
  } : e;
2889
2901
  }
2890
- const fn = {
2902
+ const gn = {
2891
2903
  scaleX: 1,
2892
2904
  scaleY: 1
2893
2905
  }, na = (e) => {
@@ -2908,45 +2920,45 @@ const fn = {
2908
2920
  return u ? {
2909
2921
  x: i < a ? u.left + u.width - (c.left + c.width) : u.left - c.left,
2910
2922
  y: 0,
2911
- ...fn
2923
+ ...gn
2912
2924
  } : null;
2913
2925
  }
2914
2926
  return l > i && l <= a ? {
2915
2927
  x: -c.width - d,
2916
2928
  y: 0,
2917
- ...fn
2929
+ ...gn
2918
2930
  } : l < i && l >= a ? {
2919
2931
  x: c.width + d,
2920
2932
  y: 0,
2921
- ...fn
2933
+ ...gn
2922
2934
  } : {
2923
2935
  x: 0,
2924
2936
  y: 0,
2925
- ...fn
2937
+ ...gn
2926
2938
  };
2927
2939
  };
2928
2940
  function ra(e, t, n) {
2929
2941
  const o = e[t], i = e[t - 1], a = e[t + 1];
2930
2942
  return !o || !i && !a ? 0 : n < t ? i ? o.left - (i.left + i.width) : a.left - (o.left + o.width) : a ? a.left - (o.left + o.width) : o.left - (i.left + i.width);
2931
2943
  }
2932
- const ro = (e) => {
2944
+ const oo = (e) => {
2933
2945
  let {
2934
2946
  rects: t,
2935
2947
  activeIndex: n,
2936
2948
  overIndex: o,
2937
2949
  index: i
2938
2950
  } = e;
2939
- const a = jt(t, o, n), l = t[i], c = a[i];
2951
+ const a = Yt(t, o, n), l = t[i], c = a[i];
2940
2952
  return !c || !l ? null : {
2941
2953
  x: c.left - l.left,
2942
2954
  y: c.top - l.top,
2943
2955
  scaleX: c.width / l.width,
2944
2956
  scaleY: c.height / l.height
2945
2957
  };
2946
- }, gn = {
2958
+ }, hn = {
2947
2959
  scaleX: 1,
2948
2960
  scaleY: 1
2949
- }, Ir = (e) => {
2961
+ }, Or = (e) => {
2950
2962
  var t;
2951
2963
  let {
2952
2964
  activeIndex: n,
@@ -2963,48 +2975,48 @@ const ro = (e) => {
2963
2975
  return u ? {
2964
2976
  x: 0,
2965
2977
  y: n < l ? u.top + u.height - (c.top + c.height) : u.top - c.top,
2966
- ...gn
2978
+ ...hn
2967
2979
  } : null;
2968
2980
  }
2969
2981
  const d = oa(a, i, n);
2970
2982
  return i > n && i <= l ? {
2971
2983
  x: 0,
2972
2984
  y: -c.height - d,
2973
- ...gn
2985
+ ...hn
2974
2986
  } : i < n && i >= l ? {
2975
2987
  x: 0,
2976
2988
  y: c.height + d,
2977
- ...gn
2989
+ ...hn
2978
2990
  } : {
2979
2991
  x: 0,
2980
2992
  y: 0,
2981
- ...gn
2993
+ ...hn
2982
2994
  };
2983
2995
  };
2984
2996
  function oa(e, t, n) {
2985
2997
  const o = e[t], i = e[t - 1], a = e[t + 1];
2986
2998
  return o ? n < t ? i ? o.top - (i.top + i.height) : a ? a.top - (o.top + o.height) : 0 : a ? a.top - (o.top + o.height) : i ? o.top - (i.top + i.height) : 0 : 0;
2987
2999
  }
2988
- const oo = "Sortable", io = /* @__PURE__ */ k.createContext({
3000
+ const io = "Sortable", so = /* @__PURE__ */ q.createContext({
2989
3001
  activeIndex: -1,
2990
- containerId: oo,
3002
+ containerId: io,
2991
3003
  disableTransforms: !1,
2992
3004
  items: [],
2993
3005
  overIndex: -1,
2994
3006
  useDragOverlay: !1,
2995
3007
  sortedRects: [],
2996
- strategy: ro,
3008
+ strategy: oo,
2997
3009
  disabled: {
2998
3010
  draggable: !1,
2999
3011
  droppable: !1
3000
3012
  }
3001
3013
  });
3002
- function Or(e) {
3014
+ function Tr(e) {
3003
3015
  let {
3004
3016
  children: t,
3005
3017
  id: n,
3006
3018
  items: o,
3007
- strategy: i = ro,
3019
+ strategy: i = oo,
3008
3020
  disabled: a = !1
3009
3021
  } = e;
3010
3022
  const {
@@ -3013,8 +3025,8 @@ function Or(e) {
3013
3025
  droppableRects: d,
3014
3026
  over: u,
3015
3027
  measureDroppableContainers: h
3016
- } = to(), g = qt(oo, n), w = c.rect !== null, b = j(() => o.map((_) => typeof _ == "object" && "id" in _ ? _.id : _), [o]), A = l != null, v = l ? b.indexOf(l.id) : -1, x = u ? b.indexOf(u.id) : -1, S = Y(b), E = !ea(b, S.current), D = x !== -1 && v === -1 || E, R = ta(a);
3017
- Ue(() => {
3028
+ } = no(), g = Jt(io, n), w = c.rect !== null, b = j(() => o.map((_) => typeof _ == "object" && "id" in _ ? _.id : _), [o]), A = l != null, v = l ? b.indexOf(l.id) : -1, x = u ? b.indexOf(u.id) : -1, S = X(b), E = !ea(b, S.current), D = x !== -1 && v === -1 || E, R = ta(a);
3029
+ qe(() => {
3018
3030
  E && A && h(b);
3019
3031
  }, [E, b, A, h]), K(() => {
3020
3032
  S.current = b;
@@ -3034,7 +3046,7 @@ function Or(e) {
3034
3046
  // eslint-disable-next-line react-hooks/exhaustive-deps
3035
3047
  [v, g, R.draggable, R.droppable, D, b, x, d, w, i]
3036
3048
  );
3037
- return k.createElement(io.Provider, {
3049
+ return q.createElement(so.Provider, {
3038
3050
  value: T
3039
3051
  }, t);
3040
3052
  }
@@ -3045,8 +3057,8 @@ const ia = (e) => {
3045
3057
  activeIndex: o,
3046
3058
  overIndex: i
3047
3059
  } = e;
3048
- return jt(n, o, i).indexOf(t);
3049
- }, so = (e) => {
3060
+ return Yt(n, o, i).indexOf(t);
3061
+ }, ao = (e) => {
3050
3062
  let {
3051
3063
  containerId: t,
3052
3064
  isSorting: n,
@@ -3062,8 +3074,8 @@ const ia = (e) => {
3062
3074
  }, sa = {
3063
3075
  duration: 200,
3064
3076
  easing: "ease"
3065
- }, ao = "transform", aa = /* @__PURE__ */ bt.Transition.toString({
3066
- property: ao,
3077
+ }, lo = "transform", aa = /* @__PURE__ */ yt.Transition.toString({
3078
+ property: lo,
3067
3079
  duration: 0,
3068
3080
  easing: "linear"
3069
3081
  }), la = {
@@ -3076,12 +3088,12 @@ function ca(e) {
3076
3088
  node: o,
3077
3089
  rect: i
3078
3090
  } = e;
3079
- const [a, l] = he(null), c = Y(n);
3080
- return Ue(() => {
3091
+ const [a, l] = ne(null), c = X(n);
3092
+ return qe(() => {
3081
3093
  if (!t && n !== c.current && o.current) {
3082
3094
  const d = i.current;
3083
3095
  if (d) {
3084
- const u = zt(o.current, {
3096
+ const u = Kt(o.current, {
3085
3097
  ignoreTransform: !0
3086
3098
  }), h = {
3087
3099
  x: d.left - u.left,
@@ -3097,9 +3109,9 @@ function ca(e) {
3097
3109
  a && l(null);
3098
3110
  }, [a]), a;
3099
3111
  }
3100
- function lo(e) {
3112
+ function co(e) {
3101
3113
  let {
3102
- animateLayoutChanges: t = so,
3114
+ animateLayoutChanges: t = ao,
3103
3115
  attributes: n,
3104
3116
  disabled: o,
3105
3117
  data: i,
@@ -3119,7 +3131,7 @@ function lo(e) {
3119
3131
  overIndex: x,
3120
3132
  useDragOverlay: S,
3121
3133
  strategy: E
3122
- } = vt(io), D = ua(o, b), R = h.indexOf(l), T = j(() => ({
3134
+ } = bt(so), D = ua(o, b), R = h.indexOf(l), T = j(() => ({
3123
3135
  sortable: {
3124
3136
  containerId: g,
3125
3137
  index: R,
@@ -3143,13 +3155,13 @@ function lo(e) {
3143
3155
  active: B,
3144
3156
  activatorEvent: re,
3145
3157
  activeNodeRect: Q,
3146
- attributes: Re,
3158
+ attributes: Ae,
3147
3159
  setNodeRef: Xe,
3148
3160
  listeners: F,
3149
3161
  isDragging: J,
3150
- over: Le,
3151
- setActivatorNodeRef: Oe,
3152
- transform: ce
3162
+ over: Pe,
3163
+ setActivatorNodeRef: Ne,
3164
+ transform: ue
3153
3165
  } = Bs({
3154
3166
  id: l,
3155
3167
  data: T,
@@ -3158,23 +3170,23 @@ function lo(e) {
3158
3170
  ...n
3159
3171
  },
3160
3172
  disabled: D.draggable
3161
- }), Pe = Si(U, Xe), V = !!B, we = V && !A && dn(w) && dn(x), je = !S && J, tt = je && we ? ce : null, nt = we ? tt ?? (c ?? E)({
3173
+ }), $e = Si(U, Xe), V = !!B, we = V && !A && fn(w) && fn(x), Ue = !S && J, et = Ue && we ? ue : null, tt = we ? et ?? (c ?? E)({
3162
3174
  rects: v,
3163
3175
  activeNodeRect: Q,
3164
3176
  activeIndex: w,
3165
3177
  overIndex: x,
3166
3178
  index: R
3167
- }) : null, $e = dn(w) && dn(x) ? a({
3179
+ }) : null, Be = fn(w) && fn(x) ? a({
3168
3180
  id: l,
3169
3181
  items: h,
3170
3182
  activeIndex: w,
3171
3183
  overIndex: x
3172
- }) : R, ue = B == null ? void 0 : B.id, $ = Y({
3173
- activeId: ue,
3184
+ }) : R, de = B == null ? void 0 : B.id, $ = X({
3185
+ activeId: de,
3174
3186
  items: h,
3175
- newIndex: $e,
3187
+ newIndex: Be,
3176
3188
  containerId: g
3177
- }), rt = h !== $.current.items, Ae = t({
3189
+ }), nt = h !== $.current.items, Ee = t({
3178
3190
  active: B,
3179
3191
  containerId: g,
3180
3192
  isDragging: J,
@@ -3188,32 +3200,32 @@ function lo(e) {
3188
3200
  transition: u,
3189
3201
  wasDragging: $.current.activeId != null
3190
3202
  }), Ve = ca({
3191
- disabled: !Ae,
3203
+ disabled: !Ee,
3192
3204
  index: R,
3193
3205
  node: M,
3194
3206
  rect: O
3195
3207
  });
3196
3208
  return K(() => {
3197
- V && $.current.newIndex !== $e && ($.current.newIndex = $e), g !== $.current.containerId && ($.current.containerId = g), h !== $.current.items && ($.current.items = h);
3198
- }, [V, $e, g, h]), K(() => {
3199
- if (ue === $.current.activeId)
3209
+ V && $.current.newIndex !== Be && ($.current.newIndex = Be), g !== $.current.containerId && ($.current.containerId = g), h !== $.current.items && ($.current.items = h);
3210
+ }, [V, Be, g, h]), K(() => {
3211
+ if (de === $.current.activeId)
3200
3212
  return;
3201
- if (ue && !$.current.activeId) {
3202
- $.current.activeId = ue;
3213
+ if (de && !$.current.activeId) {
3214
+ $.current.activeId = de;
3203
3215
  return;
3204
3216
  }
3205
3217
  const Qe = setTimeout(() => {
3206
- $.current.activeId = ue;
3218
+ $.current.activeId = de;
3207
3219
  }, 50);
3208
3220
  return () => clearTimeout(Qe);
3209
- }, [ue]), {
3221
+ }, [de]), {
3210
3222
  active: B,
3211
3223
  activeIndex: w,
3212
- attributes: Re,
3224
+ attributes: Ae,
3213
3225
  data: T,
3214
3226
  rect: O,
3215
3227
  index: R,
3216
- newIndex: $e,
3228
+ newIndex: Be,
3217
3229
  items: h,
3218
3230
  isOver: H,
3219
3231
  isSorting: V,
@@ -3221,25 +3233,25 @@ function lo(e) {
3221
3233
  listeners: F,
3222
3234
  node: M,
3223
3235
  overIndex: x,
3224
- over: Le,
3225
- setNodeRef: Pe,
3226
- setActivatorNodeRef: Oe,
3236
+ over: Pe,
3237
+ setNodeRef: $e,
3238
+ setActivatorNodeRef: Ne,
3227
3239
  setDroppableNodeRef: U,
3228
3240
  setDraggableNodeRef: Xe,
3229
- transform: Ve ?? nt,
3241
+ transform: Ve ?? tt,
3230
3242
  transition: P()
3231
3243
  };
3232
3244
  function P() {
3233
3245
  if (
3234
3246
  // Temporarily disable transitions for a single frame to set up derived transforms
3235
3247
  Ve || // Or to prevent items jumping to back to their "new" position when items change
3236
- rt && $.current.newIndex === R
3248
+ nt && $.current.newIndex === R
3237
3249
  )
3238
3250
  return aa;
3239
- if (!(je && !Rn(re) || !u) && (V || Ae))
3240
- return bt.Transition.toString({
3251
+ if (!(Ue && !En(re) || !u) && (V || Ee))
3252
+ return yt.Transition.toString({
3241
3253
  ...u,
3242
- property: ao
3254
+ property: lo
3243
3255
  });
3244
3256
  }
3245
3257
  }
@@ -3256,7 +3268,7 @@ function ua(e, t) {
3256
3268
  }
3257
3269
  L.Down, L.Right, L.Up, L.Left;
3258
3270
  const da = (e) => e;
3259
- function Tr(e, t = da) {
3271
+ function Nr(e, t = da) {
3260
3272
  return [...new Array(e)].map((n, o) => t(o));
3261
3273
  }
3262
3274
  const fa = [
@@ -3320,7 +3332,7 @@ const fa = [
3320
3332
  };
3321
3333
  }
3322
3334
  }
3323
- }, ha = "_Wrapper_37o6x_33", pa = "_fadeIn_37o6x_41", va = "_dragOverlay_37o6x_44", ba = "_Item_37o6x_53", ya = "_withHandle_37o6x_79", ma = "_dragging_37o6x_83", wa = "_disabled_37o6x_91", xa = "_pop_37o6x_1", Ca = "_color_37o6x_110", Da = "_Remove_37o6x_123", Sa = "_Actions_37o6x_129", qe = {
3335
+ }, ha = "_Wrapper_37o6x_33", pa = "_fadeIn_37o6x_41", va = "_dragOverlay_37o6x_44", ba = "_Item_37o6x_53", ya = "_withHandle_37o6x_79", ma = "_dragging_37o6x_83", wa = "_disabled_37o6x_91", xa = "_pop_37o6x_1", Ca = "_color_37o6x_110", Da = "_Remove_37o6x_123", Sa = "_Actions_37o6x_129", We = {
3324
3336
  Wrapper: ha,
3325
3337
  fadeIn: pa,
3326
3338
  dragOverlay: va,
@@ -3332,19 +3344,19 @@ const fa = [
3332
3344
  color: Ca,
3333
3345
  Remove: Da,
3334
3346
  Actions: Sa
3335
- }, Ra = Pt.div`
3347
+ }, Ra = Bt.div`
3336
3348
  font-family: ${(e) => {
3337
3349
  var t, n;
3338
3350
  return (n = (t = e.theme) == null ? void 0 : t.typography) == null ? void 0 : n.fontFamily;
3339
3351
  }};
3340
- background-color: ${(e) => Mt(
3352
+ background-color: ${(e) => Pt(
3341
3353
  e.theme,
3342
3354
  "KanbanCard",
3343
3355
  e.color ? "primary" : e.color,
3344
3356
  "enabled",
3345
3357
  "background"
3346
3358
  )};
3347
- color: ${(e) => Mt(
3359
+ color: ${(e) => Pt(
3348
3360
  e.theme,
3349
3361
  "KanbanCard",
3350
3362
  e.color ? "primary" : e.color,
@@ -3354,8 +3366,8 @@ const fa = [
3354
3366
  &:hover .Actions > * {
3355
3367
  opacity: 1 !important;
3356
3368
  }
3357
- `, Xn = k.memo(
3358
- k.forwardRef(
3369
+ `, jn = Mr(
3370
+ Sn(
3359
3371
  ({
3360
3372
  cardProps: e,
3361
3373
  color: t,
@@ -3398,14 +3410,14 @@ const fa = [
3398
3410
  transform: v,
3399
3411
  transition: A,
3400
3412
  value: x
3401
- }) : /* @__PURE__ */ ae(
3413
+ }) : /* @__PURE__ */ le(
3402
3414
  "li",
3403
3415
  {
3404
3416
  className: pr(
3405
- qe.Wrapper,
3406
- a && qe.fadeIn,
3407
- b && qe.sorting,
3408
- n && qe.dragOverlay
3417
+ We.Wrapper,
3418
+ a && We.fadeIn,
3419
+ b && We.sorting,
3420
+ n && We.dragOverlay
3409
3421
  ),
3410
3422
  style: {
3411
3423
  ...S,
@@ -3418,18 +3430,18 @@ const fa = [
3418
3430
  "--color": t
3419
3431
  },
3420
3432
  ref: _,
3421
- children: /* @__PURE__ */ pn(
3433
+ children: /* @__PURE__ */ vn(
3422
3434
  Ra,
3423
3435
  {
3424
3436
  theme: O,
3425
3437
  color: t,
3426
3438
  className: pr(
3427
- qe.Item,
3428
- o && qe.dragging,
3429
- l && qe.withHandle,
3430
- n && qe.dragOverlay,
3431
- i && qe.disabled,
3432
- t && qe.color
3439
+ We.Item,
3440
+ o && We.dragging,
3441
+ l && We.withHandle,
3442
+ n && We.dragOverlay,
3443
+ i && We.disabled,
3444
+ t && We.color
3433
3445
  ) + " " + E,
3434
3446
  style: e == null ? void 0 : e.style,
3435
3447
  "data-cypress": "draggable-item",
@@ -3438,7 +3450,7 @@ const fa = [
3438
3450
  tabIndex: l ? void 0 : 0,
3439
3451
  children: [
3440
3452
  R,
3441
- /* @__PURE__ */ ae("span", { className: qe.Actions })
3453
+ /* @__PURE__ */ le("span", { className: We.Actions })
3442
3454
  ]
3443
3455
  }
3444
3456
  )
@@ -3446,7 +3458,7 @@ const fa = [
3446
3458
  );
3447
3459
  }
3448
3460
  )
3449
- ), Aa = Pt.div`
3461
+ ), Aa = Bt.div`
3450
3462
  display: flex;
3451
3463
  flex: 1;
3452
3464
  flex-direction: column;
@@ -3487,14 +3499,14 @@ const fa = [
3487
3499
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0), 0 0px 0px 2px #4c9ffe;
3488
3500
  }
3489
3501
 
3490
- background-color: ${(e) => Mt(
3502
+ background-color: ${(e) => Pt(
3491
3503
  e.theme,
3492
3504
  "Kanban",
3493
3505
  e.color,
3494
3506
  "enabled",
3495
3507
  "background"
3496
3508
  )};
3497
- `, Ea = Pt.div`
3509
+ `, Ea = Bt.div`
3498
3510
  display: flex;
3499
3511
  padding: 5px 20px;
3500
3512
  padding-left: 8px;
@@ -3504,14 +3516,14 @@ const fa = [
3504
3516
  border-top-left-radius: 5px;
3505
3517
  border-top-right-radius: 5px;
3506
3518
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
3507
- background-color: ${(e) => Mt(
3519
+ background-color: ${(e) => Pt(
3508
3520
  e.theme,
3509
3521
  "KanbanHeader",
3510
3522
  e.color,
3511
3523
  "enabled",
3512
3524
  "background"
3513
3525
  )};
3514
- color: ${(e) => Mt(
3526
+ color: ${(e) => Pt(
3515
3527
  e.theme,
3516
3528
  "KanbanHeader",
3517
3529
  e.color ? "primary" : e.color,
@@ -3521,7 +3533,7 @@ const fa = [
3521
3533
  &:hover .Actions > * {
3522
3534
  opacity: 1 !important;
3523
3535
  }
3524
- `, _a = Pt.div`
3536
+ `, _a = Bt.div`
3525
3537
  display: flex;
3526
3538
 
3527
3539
  & > *:first-of-type:not(:last-of-type) {
@@ -3531,7 +3543,7 @@ const fa = [
3531
3543
  & > *:first-of-type:not(:last-of-type):focus-visible {
3532
3544
  opacity: 1;
3533
3545
  }
3534
- `, co = Nr((e, t) => {
3546
+ `, uo = Sn((e, t) => {
3535
3547
  const {
3536
3548
  children: n,
3537
3549
  containerId: o,
@@ -3553,7 +3565,7 @@ const fa = [
3553
3565
  color: D,
3554
3566
  ...R
3555
3567
  } = e, T = kn();
3556
- return /* @__PURE__ */ pn(
3568
+ return /* @__PURE__ */ vn(
3557
3569
  Aa,
3558
3570
  {
3559
3571
  ...R,
@@ -3573,28 +3585,28 @@ const fa = [
3573
3585
  color: D,
3574
3586
  theme: T,
3575
3587
  children: [
3576
- g ? /* @__PURE__ */ pn(Ea, { theme: T, color: D, children: [
3577
- /* @__PURE__ */ ae(_a, { className: "Actions", children: /* @__PURE__ */ ae(yi, { ...l }) }),
3588
+ g ? /* @__PURE__ */ vn(Ea, { theme: T, color: D, children: [
3589
+ /* @__PURE__ */ le(_a, { className: "Actions", children: /* @__PURE__ */ le(bi, { ...l }) }),
3578
3590
  g
3579
3591
  ] }) : null,
3580
- /* @__PURE__ */ ae("ul", { children: n }),
3592
+ /* @__PURE__ */ le("ul", { children: n }),
3581
3593
  i(o)
3582
3594
  ]
3583
3595
  }
3584
3596
  );
3585
3597
  });
3586
- var Cn = { exports: {} };
3587
- Cn.exports;
3598
+ var Dn = { exports: {} };
3599
+ Dn.exports;
3588
3600
  (function(e, t) {
3589
- var n = 200, o = "Expected a function", i = "__lodash_hash_undefined__", a = 1, l = 2, c = 1 / 0, d = 9007199254740991, u = 17976931348623157e292, h = NaN, g = "[object Arguments]", w = "[object Array]", b = "[object Boolean]", A = "[object Date]", v = "[object Error]", x = "[object Function]", S = "[object GeneratorFunction]", E = "[object Map]", D = "[object Number]", R = "[object Object]", T = "[object Promise]", _ = "[object RegExp]", O = "[object Set]", M = "[object String]", H = "[object Symbol]", U = "[object WeakMap]", B = "[object ArrayBuffer]", re = "[object DataView]", Q = "[object Float32Array]", Re = "[object Float64Array]", Xe = "[object Int8Array]", F = "[object Int16Array]", J = "[object Int32Array]", Le = "[object Uint8Array]", Oe = "[object Uint8ClampedArray]", ce = "[object Uint16Array]", Pe = "[object Uint32Array]", V = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, we = /^\w*$/, je = /^\./, tt = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Z = /[\\^$.*+?()[\]{}|]/g, nt = /^\s+|\s+$/g, $e = /\\(\\)?/g, ue = /^[-+]0x[0-9a-f]+$/i, $ = /^0b[01]+$/i, rt = /^\[object .+?Constructor\]$/, Ae = /^0o[0-7]+$/i, Ve = /^(?:0|[1-9]\d*)$/, P = {};
3590
- P[Q] = P[Re] = P[Xe] = P[F] = P[J] = P[Le] = P[Oe] = P[ce] = P[Pe] = !0, P[g] = P[w] = P[B] = P[b] = P[re] = P[A] = P[v] = P[x] = P[E] = P[D] = P[R] = P[_] = P[O] = P[M] = P[U] = !1;
3591
- var Qe = parseInt, Ye = typeof un == "object" && un && un.Object === Object && un, yt = typeof self == "object" && self && self.Object === Object && self, Ee = Ye || yt || Function("return this")(), Ze = t && !t.nodeType && t, p = Ze && !0 && e && !e.nodeType && e, m = p && p.exports === Ze, N = m && Ye.process, q = function() {
3601
+ var n = 200, o = "Expected a function", i = "__lodash_hash_undefined__", a = 1, l = 2, c = 1 / 0, d = 9007199254740991, u = 17976931348623157e292, h = NaN, g = "[object Arguments]", w = "[object Array]", b = "[object Boolean]", A = "[object Date]", v = "[object Error]", x = "[object Function]", S = "[object GeneratorFunction]", E = "[object Map]", D = "[object Number]", R = "[object Object]", T = "[object Promise]", _ = "[object RegExp]", O = "[object Set]", M = "[object String]", H = "[object Symbol]", U = "[object WeakMap]", B = "[object ArrayBuffer]", re = "[object DataView]", Q = "[object Float32Array]", Ae = "[object Float64Array]", Xe = "[object Int8Array]", F = "[object Int16Array]", J = "[object Int32Array]", Pe = "[object Uint8Array]", Ne = "[object Uint8ClampedArray]", ue = "[object Uint16Array]", $e = "[object Uint32Array]", V = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, we = /^\w*$/, Ue = /^\./, et = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Z = /[\\^$.*+?()[\]{}|]/g, tt = /^\s+|\s+$/g, Be = /\\(\\)?/g, de = /^[-+]0x[0-9a-f]+$/i, $ = /^0b[01]+$/i, nt = /^\[object .+?Constructor\]$/, Ee = /^0o[0-7]+$/i, Ve = /^(?:0|[1-9]\d*)$/, P = {};
3602
+ P[Q] = P[Ae] = P[Xe] = P[F] = P[J] = P[Pe] = P[Ne] = P[ue] = P[$e] = !0, P[g] = P[w] = P[B] = P[b] = P[re] = P[A] = P[v] = P[x] = P[E] = P[D] = P[R] = P[_] = P[O] = P[M] = P[U] = !1;
3603
+ var Qe = parseInt, je = typeof dn == "object" && dn && dn.Object === Object && dn, mt = typeof self == "object" && self && self.Object === Object && self, _e = je || mt || Function("return this")(), Ze = t && !t.nodeType && t, p = Ze && !0 && e && !e.nodeType && e, m = p && p.exports === Ze, N = m && je.process, G = function() {
3592
3604
  try {
3593
3605
  return N && N.binding("util");
3594
3606
  } catch {
3595
3607
  }
3596
- }(), G = q && q.isTypedArray;
3597
- function de(r, s) {
3608
+ }(), Y = G && G.isTypedArray;
3609
+ function fe(r, s) {
3598
3610
  for (var f = -1, y = r ? r.length : 0; ++f < y; )
3599
3611
  if (s(r[f], f, r))
3600
3612
  return !0;
@@ -3611,17 +3623,17 @@ Cn.exports;
3611
3623
  return s == null ? void 0 : s[r];
3612
3624
  };
3613
3625
  }
3614
- function pe(r, s) {
3626
+ function he(r, s) {
3615
3627
  for (var f = -1, y = Array(r); ++f < r; )
3616
3628
  y[f] = s(f);
3617
3629
  return y;
3618
3630
  }
3619
- function ye(r) {
3631
+ function be(r) {
3620
3632
  return function(s) {
3621
3633
  return r(s);
3622
3634
  };
3623
3635
  }
3624
- function ot(r, s) {
3636
+ function rt(r, s) {
3625
3637
  return r == null ? void 0 : r[s];
3626
3638
  }
3627
3639
  function te(r) {
@@ -3633,13 +3645,13 @@ Cn.exports;
3633
3645
  }
3634
3646
  return s;
3635
3647
  }
3636
- function Te(r) {
3648
+ function Me(r) {
3637
3649
  var s = -1, f = Array(r.size);
3638
3650
  return r.forEach(function(y, I) {
3639
3651
  f[++s] = [I, y];
3640
3652
  }), f;
3641
3653
  }
3642
- function mt(r, s) {
3654
+ function wt(r, s) {
3643
3655
  return function(f) {
3644
3656
  return r(s(f));
3645
3657
  };
@@ -3650,13 +3662,13 @@ Cn.exports;
3650
3662
  f[++s] = y;
3651
3663
  }), f;
3652
3664
  }
3653
- var fe = Array.prototype, Be = Function.prototype, et = Object.prototype, Ft = Ee["__core-js_shared__"], Vt = function() {
3654
- var r = /[^.]+$/.exec(Ft && Ft.keys && Ft.keys.IE_PROTO || "");
3665
+ var se = Array.prototype, Le = Function.prototype, ot = Object.prototype, _t = _e["__core-js_shared__"], Qt = function() {
3666
+ var r = /[^.]+$/.exec(_t && _t.keys && _t.keys.IE_PROTO || "");
3655
3667
  return r ? "Symbol(src)_1." + r : "";
3656
- }(), Qt = Be.toString, X = et.hasOwnProperty, ne = et.toString, xe = RegExp(
3657
- "^" + Qt.call(X).replace(Z, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
3658
- ), ke = Ee.Symbol, Ce = Ee.Uint8Array, Ne = et.propertyIsEnumerable, ze = fe.splice, ut = mt(Object.keys, Object), Me = Math.max, it = _t(Ee, "DataView"), Ge = _t(Ee, "Map"), dt = _t(Ee, "Promise"), ft = _t(Ee, "Set"), Et = _t(Ee, "WeakMap"), We = _t(Object, "create"), wt = Ct(it), Kt = Ct(Ge), uo = Ct(dt), fo = Ct(ft), go = Ct(Et), Zt = ke ? ke.prototype : void 0, _n = Zt ? Zt.valueOf : void 0, rr = Zt ? Zt.toString : void 0;
3659
- function xt(r) {
3668
+ }(), Zt = Le.toString, Ye = ot.hasOwnProperty, W = ot.toString, xe = RegExp(
3669
+ "^" + Zt.call(Ye).replace(Z, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
3670
+ ), ye = _e.Symbol, ke = _e.Uint8Array, Ie = ot.propertyIsEnumerable, Ce = se.splice, ze = wt(Object.keys, Object), ut = Math.max, De = It(_e, "DataView"), Ge = It(_e, "Map"), it = It(_e, "Promise"), dt = It(_e, "Set"), ft = It(_e, "WeakMap"), gt = It(Object, "create"), xt = St(De), Ct = St(Ge), Ht = St(it), fo = St(dt), go = St(ft), en = ye ? ye.prototype : void 0, On = en ? en.valueOf : void 0, rr = en ? en.toString : void 0;
3671
+ function Dt(r) {
3660
3672
  var s = -1, f = r ? r.length : 0;
3661
3673
  for (this.clear(); ++s < f; ) {
3662
3674
  var y = r[s];
@@ -3664,28 +3676,28 @@ Cn.exports;
3664
3676
  }
3665
3677
  }
3666
3678
  function ho() {
3667
- this.__data__ = We ? We(null) : {};
3679
+ this.__data__ = gt ? gt(null) : {};
3668
3680
  }
3669
3681
  function po(r) {
3670
3682
  return this.has(r) && delete this.__data__[r];
3671
3683
  }
3672
3684
  function vo(r) {
3673
3685
  var s = this.__data__;
3674
- if (We) {
3686
+ if (gt) {
3675
3687
  var f = s[r];
3676
3688
  return f === i ? void 0 : f;
3677
3689
  }
3678
- return X.call(s, r) ? s[r] : void 0;
3690
+ return Ye.call(s, r) ? s[r] : void 0;
3679
3691
  }
3680
3692
  function bo(r) {
3681
3693
  var s = this.__data__;
3682
- return We ? s[r] !== void 0 : X.call(s, r);
3694
+ return gt ? s[r] !== void 0 : Ye.call(s, r);
3683
3695
  }
3684
3696
  function yo(r, s) {
3685
3697
  var f = this.__data__;
3686
- return f[r] = We && s === void 0 ? i : s, this;
3698
+ return f[r] = gt && s === void 0 ? i : s, this;
3687
3699
  }
3688
- xt.prototype.clear = ho, xt.prototype.delete = po, xt.prototype.get = vo, xt.prototype.has = bo, xt.prototype.set = yo;
3700
+ Dt.prototype.clear = ho, Dt.prototype.delete = po, Dt.prototype.get = vo, Dt.prototype.has = bo, Dt.prototype.set = yo;
3689
3701
  function st(r) {
3690
3702
  var s = -1, f = r ? r.length : 0;
3691
3703
  for (this.clear(); ++s < f; ) {
@@ -3697,21 +3709,21 @@ Cn.exports;
3697
3709
  this.__data__ = [];
3698
3710
  }
3699
3711
  function wo(r) {
3700
- var s = this.__data__, f = tn(s, r);
3712
+ var s = this.__data__, f = nn(s, r);
3701
3713
  if (f < 0)
3702
3714
  return !1;
3703
3715
  var y = s.length - 1;
3704
- return f == y ? s.pop() : ze.call(s, f, 1), !0;
3716
+ return f == y ? s.pop() : Ce.call(s, f, 1), !0;
3705
3717
  }
3706
3718
  function xo(r) {
3707
- var s = this.__data__, f = tn(s, r);
3719
+ var s = this.__data__, f = nn(s, r);
3708
3720
  return f < 0 ? void 0 : s[f][1];
3709
3721
  }
3710
3722
  function Co(r) {
3711
- return tn(this.__data__, r) > -1;
3723
+ return nn(this.__data__, r) > -1;
3712
3724
  }
3713
3725
  function Do(r, s) {
3714
- var f = this.__data__, y = tn(f, r);
3726
+ var f = this.__data__, y = nn(f, r);
3715
3727
  return y < 0 ? f.push([r, s]) : f[y][1] = s, this;
3716
3728
  }
3717
3729
  st.prototype.clear = mo, st.prototype.delete = wo, st.prototype.get = xo, st.prototype.has = Co, st.prototype.set = Do;
@@ -3724,25 +3736,25 @@ Cn.exports;
3724
3736
  }
3725
3737
  function So() {
3726
3738
  this.__data__ = {
3727
- hash: new xt(),
3739
+ hash: new Dt(),
3728
3740
  map: new (Ge || st)(),
3729
- string: new xt()
3741
+ string: new Dt()
3730
3742
  };
3731
3743
  }
3732
3744
  function Ro(r) {
3733
- return nn(this, r).delete(r);
3745
+ return rn(this, r).delete(r);
3734
3746
  }
3735
3747
  function Ao(r) {
3736
- return nn(this, r).get(r);
3748
+ return rn(this, r).get(r);
3737
3749
  }
3738
3750
  function Eo(r) {
3739
- return nn(this, r).has(r);
3751
+ return rn(this, r).has(r);
3740
3752
  }
3741
3753
  function _o(r, s) {
3742
- return nn(this, r).set(r, s), this;
3754
+ return rn(this, r).set(r, s), this;
3743
3755
  }
3744
3756
  at.prototype.clear = So, at.prototype.delete = Ro, at.prototype.get = Ao, at.prototype.has = Eo, at.prototype.set = _o;
3745
- function en(r) {
3757
+ function tn(r) {
3746
3758
  var s = -1, f = r ? r.length : 0;
3747
3759
  for (this.__data__ = new at(); ++s < f; )
3748
3760
  this.add(r[s]);
@@ -3753,7 +3765,7 @@ Cn.exports;
3753
3765
  function Oo(r) {
3754
3766
  return this.__data__.has(r);
3755
3767
  }
3756
- en.prototype.add = en.prototype.push = Io, en.prototype.has = Oo;
3768
+ tn.prototype.add = tn.prototype.push = Io, tn.prototype.has = Oo;
3757
3769
  function lt(r) {
3758
3770
  this.__data__ = new st(r);
3759
3771
  }
@@ -3781,46 +3793,46 @@ Cn.exports;
3781
3793
  }
3782
3794
  lt.prototype.clear = To, lt.prototype.delete = No, lt.prototype.get = Mo, lt.prototype.has = Lo, lt.prototype.set = Po;
3783
3795
  function $o(r, s) {
3784
- var f = Dt(r) || dr(r) ? pe(r.length, String) : [], y = f.length, I = !!y;
3796
+ var f = Rt(r) || dr(r) ? he(r.length, String) : [], y = f.length, I = !!y;
3785
3797
  for (var C in r)
3786
- X.call(r, C) && !(I && (C == "length" || ar(C, y))) && f.push(C);
3798
+ Ye.call(r, C) && !(I && (C == "length" || ar(C, y))) && f.push(C);
3787
3799
  return f;
3788
3800
  }
3789
- function tn(r, s) {
3801
+ function nn(r, s) {
3790
3802
  for (var f = r.length; f--; )
3791
3803
  if (ur(r[f][0], s))
3792
3804
  return f;
3793
3805
  return -1;
3794
3806
  }
3795
3807
  function or(r, s) {
3796
- s = rn(s, r) ? [s] : ir(s);
3808
+ s = on(s, r) ? [s] : ir(s);
3797
3809
  for (var f = 0, y = s.length; r != null && f < y; )
3798
- r = r[on(s[f++])];
3810
+ r = r[sn(s[f++])];
3799
3811
  return f && f == y ? r : void 0;
3800
3812
  }
3801
3813
  function Bo(r) {
3802
- return ne.call(r);
3814
+ return W.call(r);
3803
3815
  }
3804
3816
  function zo(r, s) {
3805
3817
  return r != null && s in Object(r);
3806
3818
  }
3807
- function In(r, s, f, y, I) {
3808
- return r === s ? !0 : r == null || s == null || !It(r) && !sn(s) ? r !== r && s !== s : Fo(r, s, In, f, y, I);
3819
+ function Tn(r, s, f, y, I) {
3820
+ return r === s ? !0 : r == null || s == null || !Ot(r) && !an(s) ? r !== r && s !== s : Fo(r, s, Tn, f, y, I);
3809
3821
  }
3810
3822
  function Fo(r, s, f, y, I, C) {
3811
- var z = Dt(r), ve = Dt(s), se = w, me = w;
3812
- z || (se = gt(r), se = se == g ? R : se), ve || (me = gt(s), me = me == g ? R : me);
3813
- var _e = se == R && !te(r), Ie = me == R && !te(s), De = se == me;
3814
- if (De && !_e)
3815
- return C || (C = new lt()), z || ii(r) ? sr(r, s, f, y, I, C) : qo(r, s, se, f, y, I, C);
3823
+ var z = Rt(r), pe = Rt(s), ae = w, me = w;
3824
+ z || (ae = ht(r), ae = ae == g ? R : ae), pe || (me = ht(s), me = me == g ? R : me);
3825
+ var Oe = ae == R && !te(r), Te = me == R && !te(s), Se = ae == me;
3826
+ if (Se && !Oe)
3827
+ return C || (C = new lt()), z || ii(r) ? sr(r, s, f, y, I, C) : qo(r, s, ae, f, y, I, C);
3816
3828
  if (!(I & l)) {
3817
- var Fe = _e && X.call(r, "__wrapped__"), Ke = Ie && X.call(s, "__wrapped__");
3829
+ var Fe = Oe && Ye.call(r, "__wrapped__"), Ke = Te && Ye.call(s, "__wrapped__");
3818
3830
  if (Fe || Ke) {
3819
- var ht = Fe ? r.value() : r, ct = Ke ? s.value() : s;
3820
- return C || (C = new lt()), f(ht, ct, y, I, C);
3831
+ var pt = Fe ? r.value() : r, ct = Ke ? s.value() : s;
3832
+ return C || (C = new lt()), f(pt, ct, y, I, C);
3821
3833
  }
3822
3834
  }
3823
- return De ? (C || (C = new lt()), Jo(r, s, f, y, I, C)) : !1;
3835
+ return Se ? (C || (C = new lt()), Jo(r, s, f, y, I, C)) : !1;
3824
3836
  }
3825
3837
  function Ko(r, s, f, y) {
3826
3838
  var I = f.length, C = I;
@@ -3833,36 +3845,36 @@ Cn.exports;
3833
3845
  }
3834
3846
  for (; ++I < C; ) {
3835
3847
  z = f[I];
3836
- var ve = z[0], se = r[ve], me = z[1];
3848
+ var pe = z[0], ae = r[pe], me = z[1];
3837
3849
  if (z[2]) {
3838
- if (se === void 0 && !(ve in r))
3850
+ if (ae === void 0 && !(pe in r))
3839
3851
  return !1;
3840
3852
  } else {
3841
- var _e = new lt(), Ie;
3842
- if (!(Ie === void 0 ? In(me, se, y, a | l, _e) : Ie))
3853
+ var Oe = new lt(), Te;
3854
+ if (!(Te === void 0 ? Tn(me, ae, y, a | l, Oe) : Te))
3843
3855
  return !1;
3844
3856
  }
3845
3857
  }
3846
3858
  return !0;
3847
3859
  }
3848
3860
  function Ho(r) {
3849
- if (!It(r) || ei(r))
3861
+ if (!Ot(r) || ei(r))
3850
3862
  return !1;
3851
- var s = gr(r) || te(r) ? xe : rt;
3852
- return s.test(Ct(r));
3853
- }
3854
- function Uo(r) {
3855
- return sn(r) && Tn(r.length) && !!P[ne.call(r)];
3863
+ var s = gr(r) || te(r) ? xe : nt;
3864
+ return s.test(St(r));
3856
3865
  }
3857
3866
  function Xo(r) {
3858
- return typeof r == "function" ? r : r == null ? fi : typeof r == "object" ? Dt(r) ? ko(r[0], r[1]) : Yo(r) : gi(r);
3867
+ return an(r) && Mn(r.length) && !!P[W.call(r)];
3868
+ }
3869
+ function Uo(r) {
3870
+ return typeof r == "function" ? r : r == null ? fi : typeof r == "object" ? Rt(r) ? ko(r[0], r[1]) : Yo(r) : gi(r);
3859
3871
  }
3860
3872
  function jo(r) {
3861
3873
  if (!ti(r))
3862
- return ut(r);
3874
+ return ze(r);
3863
3875
  var s = [];
3864
3876
  for (var f in Object(r))
3865
- X.call(r, f) && f != "constructor" && s.push(f);
3877
+ Ye.call(r, f) && f != "constructor" && s.push(f);
3866
3878
  return s;
3867
3879
  }
3868
3880
  function Yo(r) {
@@ -3872,9 +3884,9 @@ Cn.exports;
3872
3884
  };
3873
3885
  }
3874
3886
  function ko(r, s) {
3875
- return rn(r) && lr(s) ? cr(on(r), s) : function(f) {
3887
+ return on(r) && lr(s) ? cr(sn(r), s) : function(f) {
3876
3888
  var y = ui(f, r);
3877
- return y === void 0 && y === s ? di(f, r) : In(s, y, void 0, a | l);
3889
+ return y === void 0 && y === s ? di(f, r) : Tn(s, y, void 0, a | l);
3878
3890
  };
3879
3891
  }
3880
3892
  function Go(r) {
@@ -3885,46 +3897,46 @@ Cn.exports;
3885
3897
  function Wo(r) {
3886
3898
  if (typeof r == "string")
3887
3899
  return r;
3888
- if (an(r))
3900
+ if (ln(r))
3889
3901
  return rr ? rr.call(r) : "";
3890
3902
  var s = r + "";
3891
3903
  return s == "0" && 1 / r == -c ? "-0" : s;
3892
3904
  }
3893
3905
  function ir(r) {
3894
- return Dt(r) ? r : ni(r);
3906
+ return Rt(r) ? r : ni(r);
3895
3907
  }
3896
3908
  function sr(r, s, f, y, I, C) {
3897
- var z = I & l, ve = r.length, se = s.length;
3898
- if (ve != se && !(z && se > ve))
3909
+ var z = I & l, pe = r.length, ae = s.length;
3910
+ if (pe != ae && !(z && ae > pe))
3899
3911
  return !1;
3900
3912
  var me = C.get(r);
3901
3913
  if (me && C.get(s))
3902
3914
  return me == s;
3903
- var _e = -1, Ie = !0, De = I & a ? new en() : void 0;
3904
- for (C.set(r, s), C.set(s, r); ++_e < ve; ) {
3905
- var Fe = r[_e], Ke = s[_e];
3915
+ var Oe = -1, Te = !0, Se = I & a ? new tn() : void 0;
3916
+ for (C.set(r, s), C.set(s, r); ++Oe < pe; ) {
3917
+ var Fe = r[Oe], Ke = s[Oe];
3906
3918
  if (y)
3907
- var ht = z ? y(Ke, Fe, _e, s, r, C) : y(Fe, Ke, _e, r, s, C);
3908
- if (ht !== void 0) {
3909
- if (ht)
3919
+ var pt = z ? y(Ke, Fe, Oe, s, r, C) : y(Fe, Ke, Oe, r, s, C);
3920
+ if (pt !== void 0) {
3921
+ if (pt)
3910
3922
  continue;
3911
- Ie = !1;
3923
+ Te = !1;
3912
3924
  break;
3913
3925
  }
3914
- if (De) {
3915
- if (!de(s, function(ct, St) {
3916
- if (!De.has(St) && (Fe === ct || f(Fe, ct, y, I, C)))
3917
- return De.add(St);
3926
+ if (Se) {
3927
+ if (!fe(s, function(ct, At) {
3928
+ if (!Se.has(At) && (Fe === ct || f(Fe, ct, y, I, C)))
3929
+ return Se.add(At);
3918
3930
  })) {
3919
- Ie = !1;
3931
+ Te = !1;
3920
3932
  break;
3921
3933
  }
3922
3934
  } else if (!(Fe === Ke || f(Fe, Ke, y, I, C))) {
3923
- Ie = !1;
3935
+ Te = !1;
3924
3936
  break;
3925
3937
  }
3926
3938
  }
3927
- return C.delete(r), C.delete(s), Ie;
3939
+ return C.delete(r), C.delete(s), Te;
3928
3940
  }
3929
3941
  function qo(r, s, f, y, I, C, z) {
3930
3942
  switch (f) {
@@ -3933,7 +3945,7 @@ Cn.exports;
3933
3945
  return !1;
3934
3946
  r = r.buffer, s = s.buffer;
3935
3947
  case B:
3936
- return !(r.byteLength != s.byteLength || !y(new Ce(r), new Ce(s)));
3948
+ return !(r.byteLength != s.byteLength || !y(new ke(r), new ke(s)));
3937
3949
  case b:
3938
3950
  case A:
3939
3951
  case D:
@@ -3944,30 +3956,30 @@ Cn.exports;
3944
3956
  case M:
3945
3957
  return r == s + "";
3946
3958
  case E:
3947
- var ve = Te;
3959
+ var pe = Me;
3948
3960
  case O:
3949
- var se = C & l;
3950
- if (ve || (ve = ie), r.size != s.size && !se)
3961
+ var ae = C & l;
3962
+ if (pe || (pe = ie), r.size != s.size && !ae)
3951
3963
  return !1;
3952
3964
  var me = z.get(r);
3953
3965
  if (me)
3954
3966
  return me == s;
3955
3967
  C |= a, z.set(r, s);
3956
- var _e = sr(ve(r), ve(s), y, I, C, z);
3957
- return z.delete(r), _e;
3968
+ var Oe = sr(pe(r), pe(s), y, I, C, z);
3969
+ return z.delete(r), Oe;
3958
3970
  case H:
3959
- if (_n)
3960
- return _n.call(r) == _n.call(s);
3971
+ if (On)
3972
+ return On.call(r) == On.call(s);
3961
3973
  }
3962
3974
  return !1;
3963
3975
  }
3964
3976
  function Jo(r, s, f, y, I, C) {
3965
- var z = I & l, ve = Nn(r), se = ve.length, me = Nn(s), _e = me.length;
3966
- if (se != _e && !z)
3977
+ var z = I & l, pe = Ln(r), ae = pe.length, me = Ln(s), Oe = me.length;
3978
+ if (ae != Oe && !z)
3967
3979
  return !1;
3968
- for (var Ie = se; Ie--; ) {
3969
- var De = ve[Ie];
3970
- if (!(z ? De in s : X.call(s, De)))
3980
+ for (var Te = ae; Te--; ) {
3981
+ var Se = pe[Te];
3982
+ if (!(z ? Se in s : Ye.call(s, Se)))
3971
3983
  return !1;
3972
3984
  }
3973
3985
  var Fe = C.get(r);
@@ -3975,48 +3987,48 @@ Cn.exports;
3975
3987
  return Fe == s;
3976
3988
  var Ke = !0;
3977
3989
  C.set(r, s), C.set(s, r);
3978
- for (var ht = z; ++Ie < se; ) {
3979
- De = ve[Ie];
3980
- var ct = r[De], St = s[De];
3990
+ for (var pt = z; ++Te < ae; ) {
3991
+ Se = pe[Te];
3992
+ var ct = r[Se], At = s[Se];
3981
3993
  if (y)
3982
- var hr = z ? y(St, ct, De, s, r, C) : y(ct, St, De, r, s, C);
3983
- if (!(hr === void 0 ? ct === St || f(ct, St, y, I, C) : hr)) {
3994
+ var hr = z ? y(At, ct, Se, s, r, C) : y(ct, At, Se, r, s, C);
3995
+ if (!(hr === void 0 ? ct === At || f(ct, At, y, I, C) : hr)) {
3984
3996
  Ke = !1;
3985
3997
  break;
3986
3998
  }
3987
- ht || (ht = De == "constructor");
3999
+ pt || (pt = Se == "constructor");
3988
4000
  }
3989
- if (Ke && !ht) {
3990
- var ln = r.constructor, cn = s.constructor;
3991
- ln != cn && "constructor" in r && "constructor" in s && !(typeof ln == "function" && ln instanceof ln && typeof cn == "function" && cn instanceof cn) && (Ke = !1);
4001
+ if (Ke && !pt) {
4002
+ var cn = r.constructor, un = s.constructor;
4003
+ cn != un && "constructor" in r && "constructor" in s && !(typeof cn == "function" && cn instanceof cn && typeof un == "function" && un instanceof un) && (Ke = !1);
3992
4004
  }
3993
4005
  return C.delete(r), C.delete(s), Ke;
3994
4006
  }
3995
- function nn(r, s) {
4007
+ function rn(r, s) {
3996
4008
  var f = r.__data__;
3997
4009
  return Zo(s) ? f[typeof s == "string" ? "string" : "hash"] : f.map;
3998
4010
  }
3999
4011
  function Vo(r) {
4000
- for (var s = Nn(r), f = s.length; f--; ) {
4012
+ for (var s = Ln(r), f = s.length; f--; ) {
4001
4013
  var y = s[f], I = r[y];
4002
4014
  s[f] = [y, I, lr(I)];
4003
4015
  }
4004
4016
  return s;
4005
4017
  }
4006
- function _t(r, s) {
4007
- var f = ot(r, s);
4018
+ function It(r, s) {
4019
+ var f = rt(r, s);
4008
4020
  return Ho(f) ? f : void 0;
4009
4021
  }
4010
- var gt = Bo;
4011
- (it && gt(new it(new ArrayBuffer(1))) != re || Ge && gt(new Ge()) != E || dt && gt(dt.resolve()) != T || ft && gt(new ft()) != O || Et && gt(new Et()) != U) && (gt = function(r) {
4012
- var s = ne.call(r), f = s == R ? r.constructor : void 0, y = f ? Ct(f) : void 0;
4022
+ var ht = Bo;
4023
+ (De && ht(new De(new ArrayBuffer(1))) != re || Ge && ht(new Ge()) != E || it && ht(it.resolve()) != T || dt && ht(new dt()) != O || ft && ht(new ft()) != U) && (ht = function(r) {
4024
+ var s = W.call(r), f = s == R ? r.constructor : void 0, y = f ? St(f) : void 0;
4013
4025
  if (y)
4014
4026
  switch (y) {
4015
- case wt:
4027
+ case xt:
4016
4028
  return re;
4017
- case Kt:
4029
+ case Ct:
4018
4030
  return E;
4019
- case uo:
4031
+ case Ht:
4020
4032
  return T;
4021
4033
  case fo:
4022
4034
  return O;
@@ -4026,9 +4038,9 @@ Cn.exports;
4026
4038
  return s;
4027
4039
  });
4028
4040
  function Qo(r, s, f) {
4029
- s = rn(s, r) ? [s] : ir(s);
4041
+ s = on(s, r) ? [s] : ir(s);
4030
4042
  for (var y, I = -1, z = s.length; ++I < z; ) {
4031
- var C = on(s[I]);
4043
+ var C = sn(s[I]);
4032
4044
  if (!(y = r != null && f(r, C)))
4033
4045
  break;
4034
4046
  r = r[C];
@@ -4036,53 +4048,53 @@ Cn.exports;
4036
4048
  if (y)
4037
4049
  return y;
4038
4050
  var z = r ? r.length : 0;
4039
- return !!z && Tn(z) && ar(C, z) && (Dt(r) || dr(r));
4051
+ return !!z && Mn(z) && ar(C, z) && (Rt(r) || dr(r));
4040
4052
  }
4041
4053
  function ar(r, s) {
4042
4054
  return s = s ?? d, !!s && (typeof r == "number" || Ve.test(r)) && r > -1 && r % 1 == 0 && r < s;
4043
4055
  }
4044
- function rn(r, s) {
4045
- if (Dt(r))
4056
+ function on(r, s) {
4057
+ if (Rt(r))
4046
4058
  return !1;
4047
4059
  var f = typeof r;
4048
- return f == "number" || f == "symbol" || f == "boolean" || r == null || an(r) ? !0 : we.test(r) || !V.test(r) || s != null && r in Object(s);
4060
+ return f == "number" || f == "symbol" || f == "boolean" || r == null || ln(r) ? !0 : we.test(r) || !V.test(r) || s != null && r in Object(s);
4049
4061
  }
4050
4062
  function Zo(r) {
4051
4063
  var s = typeof r;
4052
4064
  return s == "string" || s == "number" || s == "symbol" || s == "boolean" ? r !== "__proto__" : r === null;
4053
4065
  }
4054
4066
  function ei(r) {
4055
- return !!Vt && Vt in r;
4067
+ return !!Qt && Qt in r;
4056
4068
  }
4057
4069
  function ti(r) {
4058
- var s = r && r.constructor, f = typeof s == "function" && s.prototype || et;
4070
+ var s = r && r.constructor, f = typeof s == "function" && s.prototype || ot;
4059
4071
  return r === f;
4060
4072
  }
4061
4073
  function lr(r) {
4062
- return r === r && !It(r);
4074
+ return r === r && !Ot(r);
4063
4075
  }
4064
4076
  function cr(r, s) {
4065
4077
  return function(f) {
4066
4078
  return f == null ? !1 : f[r] === s && (s !== void 0 || r in Object(f));
4067
4079
  };
4068
4080
  }
4069
- var ni = On(function(r) {
4081
+ var ni = Nn(function(r) {
4070
4082
  r = ci(r);
4071
4083
  var s = [];
4072
- return je.test(r) && s.push(""), r.replace(tt, function(f, y, I, C) {
4073
- s.push(I ? C.replace($e, "$1") : y || f);
4084
+ return Ue.test(r) && s.push(""), r.replace(et, function(f, y, I, C) {
4085
+ s.push(I ? C.replace(Be, "$1") : y || f);
4074
4086
  }), s;
4075
4087
  });
4076
- function on(r) {
4077
- if (typeof r == "string" || an(r))
4088
+ function sn(r) {
4089
+ if (typeof r == "string" || ln(r))
4078
4090
  return r;
4079
4091
  var s = r + "";
4080
4092
  return s == "0" && 1 / r == -c ? "-0" : s;
4081
4093
  }
4082
- function Ct(r) {
4094
+ function St(r) {
4083
4095
  if (r != null) {
4084
4096
  try {
4085
- return Qt.call(r);
4097
+ return Zt.call(r);
4086
4098
  } catch {
4087
4099
  }
4088
4100
  try {
@@ -4097,9 +4109,9 @@ Cn.exports;
4097
4109
  if (!y)
4098
4110
  return -1;
4099
4111
  var I = f == null ? 0 : ai(f);
4100
- return I < 0 && (I = Me(y + I, 0)), ee(r, Xo(s), I);
4112
+ return I < 0 && (I = ut(y + I, 0)), ee(r, Uo(s), I);
4101
4113
  }
4102
- function On(r, s) {
4114
+ function Nn(r, s) {
4103
4115
  if (typeof r != "function" || s && typeof s != "function")
4104
4116
  throw new TypeError(o);
4105
4117
  var f = function() {
@@ -4109,40 +4121,40 @@ Cn.exports;
4109
4121
  var z = r.apply(this, y);
4110
4122
  return f.cache = C.set(I, z), z;
4111
4123
  };
4112
- return f.cache = new (On.Cache || at)(), f;
4124
+ return f.cache = new (Nn.Cache || at)(), f;
4113
4125
  }
4114
- On.Cache = at;
4126
+ Nn.Cache = at;
4115
4127
  function ur(r, s) {
4116
4128
  return r === s || r !== r && s !== s;
4117
4129
  }
4118
4130
  function dr(r) {
4119
- return oi(r) && X.call(r, "callee") && (!Ne.call(r, "callee") || ne.call(r) == g);
4131
+ return oi(r) && Ye.call(r, "callee") && (!Ie.call(r, "callee") || W.call(r) == g);
4120
4132
  }
4121
- var Dt = Array.isArray;
4133
+ var Rt = Array.isArray;
4122
4134
  function fr(r) {
4123
- return r != null && Tn(r.length) && !gr(r);
4135
+ return r != null && Mn(r.length) && !gr(r);
4124
4136
  }
4125
4137
  function oi(r) {
4126
- return sn(r) && fr(r);
4138
+ return an(r) && fr(r);
4127
4139
  }
4128
4140
  function gr(r) {
4129
- var s = It(r) ? ne.call(r) : "";
4141
+ var s = Ot(r) ? W.call(r) : "";
4130
4142
  return s == x || s == S;
4131
4143
  }
4132
- function Tn(r) {
4144
+ function Mn(r) {
4133
4145
  return typeof r == "number" && r > -1 && r % 1 == 0 && r <= d;
4134
4146
  }
4135
- function It(r) {
4147
+ function Ot(r) {
4136
4148
  var s = typeof r;
4137
4149
  return !!r && (s == "object" || s == "function");
4138
4150
  }
4139
- function sn(r) {
4151
+ function an(r) {
4140
4152
  return !!r && typeof r == "object";
4141
4153
  }
4142
- function an(r) {
4143
- return typeof r == "symbol" || sn(r) && ne.call(r) == H;
4154
+ function ln(r) {
4155
+ return typeof r == "symbol" || an(r) && W.call(r) == H;
4144
4156
  }
4145
- var ii = G ? ye(G) : Uo;
4157
+ var ii = Y ? be(Y) : Xo;
4146
4158
  function si(r) {
4147
4159
  if (!r)
4148
4160
  return r === 0 ? r : 0;
@@ -4159,17 +4171,17 @@ Cn.exports;
4159
4171
  function li(r) {
4160
4172
  if (typeof r == "number")
4161
4173
  return r;
4162
- if (an(r))
4174
+ if (ln(r))
4163
4175
  return h;
4164
- if (It(r)) {
4176
+ if (Ot(r)) {
4165
4177
  var s = typeof r.valueOf == "function" ? r.valueOf() : r;
4166
- r = It(s) ? s + "" : s;
4178
+ r = Ot(s) ? s + "" : s;
4167
4179
  }
4168
4180
  if (typeof r != "string")
4169
4181
  return r === 0 ? r : +r;
4170
- r = r.replace(nt, "");
4182
+ r = r.replace(tt, "");
4171
4183
  var f = $.test(r);
4172
- return f || Ae.test(r) ? Qe(r.slice(2), f ? 2 : 8) : ue.test(r) ? h : +r;
4184
+ return f || Ee.test(r) ? Qe(r.slice(2), f ? 2 : 8) : de.test(r) ? h : +r;
4173
4185
  }
4174
4186
  function ci(r) {
4175
4187
  return r == null ? "" : Wo(r);
@@ -4181,26 +4193,26 @@ Cn.exports;
4181
4193
  function di(r, s) {
4182
4194
  return r != null && Qo(r, s, zo);
4183
4195
  }
4184
- function Nn(r) {
4196
+ function Ln(r) {
4185
4197
  return fr(r) ? $o(r) : jo(r);
4186
4198
  }
4187
4199
  function fi(r) {
4188
4200
  return r;
4189
4201
  }
4190
4202
  function gi(r) {
4191
- return rn(r) ? oe(on(r)) : Go(r);
4203
+ return on(r) ? oe(sn(r)) : Go(r);
4192
4204
  }
4193
4205
  e.exports = ri;
4194
- })(Cn, Cn.exports);
4195
- var Ia = Cn.exports;
4196
- const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4206
+ })(Dn, Dn.exports);
4207
+ var Ia = Dn.exports;
4208
+ const Et = /* @__PURE__ */ wi(Ia), Oa = Bt.div``, Ta = Bt.div`
4197
4209
  box-sizing: border-box;
4198
4210
  display: flex;
4199
4211
  flex-direction: ${(e) => e.verticalDisplay ? "column" : "row"};
4200
4212
  ${(e) => e.horizontalDisplay == !1 && "flex-wrap: wrap;"}
4201
4213
  overflow: auto;
4202
- `, Na = (e) => so({ ...e, wasDragging: !0 }), Ma = {
4203
- sideEffects: no({
4214
+ `, Na = (e) => ao({ ...e, wasDragging: !0 }), Ma = {
4215
+ sideEffects: ro({
4204
4216
  styles: {
4205
4217
  active: {
4206
4218
  opacity: "0.5"
@@ -4208,14 +4220,14 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4208
4220
  }
4209
4221
  })
4210
4222
  }, La = () => {
4211
- const [e, t] = he(!1);
4223
+ const [e, t] = ne(!1);
4212
4224
  return K(() => {
4213
4225
  const n = setTimeout(() => t(!0), 500);
4214
4226
  return () => clearTimeout(n);
4215
4227
  }, []), e;
4216
- }, jn = (e, t) => {
4228
+ }, Yn = (e, t) => {
4217
4229
  if (e)
4218
- return Mt(
4230
+ return Pt(
4219
4231
  t,
4220
4232
  "KanbanCard",
4221
4233
  e,
@@ -4245,7 +4257,7 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4245
4257
  setNodeRef: x,
4246
4258
  transition: S,
4247
4259
  transform: E
4248
- } = lo({
4260
+ } = co({
4249
4261
  id: i,
4250
4262
  data: {
4251
4263
  type: "container",
@@ -4253,14 +4265,14 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4253
4265
  },
4254
4266
  animateLayoutChanges: Na
4255
4267
  }), D = v ? i === v.id && ((R = g == null ? void 0 : g.data.current) == null ? void 0 : R.type) !== "container" || a.includes(v.id) : !1;
4256
- return /* @__PURE__ */ ae(
4257
- co,
4268
+ return /* @__PURE__ */ le(
4269
+ uo,
4258
4270
  {
4259
4271
  ref: o ? void 0 : x,
4260
4272
  style: {
4261
4273
  ...u,
4262
4274
  transition: S,
4263
- transform: bt.Translate.toString(E),
4275
+ transform: yt.Translate.toString(E),
4264
4276
  opacity: b ? 0.5 : void 0
4265
4277
  },
4266
4278
  className: l,
@@ -4302,11 +4314,11 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4302
4314
  transform: R,
4303
4315
  transition: T,
4304
4316
  attributes: _
4305
- } = lo({
4317
+ } = co({
4306
4318
  id: t
4307
4319
  }), O = La(), M = x && !O;
4308
- return /* @__PURE__ */ ae(
4309
- Xn,
4320
+ return /* @__PURE__ */ le(
4321
+ jn,
4310
4322
  {
4311
4323
  ref: e ? void 0 : b,
4312
4324
  cardProps: u,
@@ -4329,7 +4341,7 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4329
4341
  overIndex: E ? c(E.id) : D,
4330
4342
  containerId: l
4331
4343
  },
4332
- color: jn(n == null ? void 0 : n.color, h),
4344
+ color: Yn(n == null ? void 0 : n.color, h),
4333
4345
  transition: T,
4334
4346
  transform: R,
4335
4347
  fadeIn: M,
@@ -4343,7 +4355,7 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4343
4355
  })
4344
4356
  }
4345
4357
  );
4346
- }, Ba = k.forwardRef((e, t) => {
4358
+ }, Ba = Sn((e, t) => {
4347
4359
  const {
4348
4360
  horizontalDisplay: n = !1,
4349
4361
  verticalDisplay: o = !1,
@@ -4359,7 +4371,7 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4359
4371
  minimal: b = !1,
4360
4372
  modifiers: A,
4361
4373
  renderItem: v,
4362
- strategy: x = Ir,
4374
+ strategy: x = Or,
4363
4375
  scrollable: S,
4364
4376
  maxContainerHeight: E,
4365
4377
  cardProps: D,
@@ -4378,169 +4390,169 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4378
4390
  color: B = "primary",
4379
4391
  size: re = "small",
4380
4392
  children: Q,
4381
- ...Re
4382
- } = e, Xe = kn(), [F, J] = he(
4393
+ ...Ae
4394
+ } = e, Xe = kn(), [F, J] = ne(
4383
4395
  () => _ ?? {
4384
- A: Tr(a, (p) => `A${p + 1}`),
4385
- B: Tr(a, (p) => `B${p + 1}`)
4396
+ A: Nr(a, (p) => `A${p + 1}`),
4397
+ B: Nr(a, (p) => `B${p + 1}`)
4386
4398
  }
4387
- ), [Le, Oe] = he(Object.keys(_)), [ce, Pe] = he(null), V = Y(null), we = Y(!1), je = ce ? Le.includes(ce) : !1, tt = be(
4399
+ ), [Pe, Ne] = ne(Object.keys(_)), [ue, $e] = ne(null), V = X(null), we = X(!1), Ue = ue ? Pe.includes(ue) : !1, et = ve(
4388
4400
  (p) => {
4389
- var G;
4390
- if (ce && ce in F)
4401
+ var Y;
4402
+ if (ue && ue in F)
4391
4403
  return yr({
4392
4404
  ...p,
4393
4405
  droppableContainers: p.droppableContainers.filter(
4394
- (de) => de.id in F
4406
+ (fe) => fe.id in F
4395
4407
  )
4396
4408
  });
4397
4409
  const m = ji(p), N = m.length > 0 ? (
4398
4410
  // If there are droppables intersecting with the pointer, return those
4399
4411
  m
4400
- ) : $r(p);
4401
- let q = Vn(N, "id");
4402
- if (q != null) {
4403
- if (q in F) {
4404
- const de = F[q];
4405
- de.length > 0 && (q = (G = yr({
4412
+ ) : Br(p);
4413
+ let G = Vn(N, "id");
4414
+ if (G != null) {
4415
+ if (G in F) {
4416
+ const fe = F[G];
4417
+ fe.length > 0 && (G = (Y = yr({
4406
4418
  ...p,
4407
4419
  droppableContainers: p.droppableContainers.filter(
4408
- (ee) => ee.id !== q && de.map((oe) => oe.id).includes(ee.id)
4420
+ (ee) => ee.id !== G && fe.map((oe) => oe.id).includes(ee.id)
4409
4421
  )
4410
- })[0]) == null ? void 0 : G.id);
4422
+ })[0]) == null ? void 0 : Y.id);
4411
4423
  }
4412
- return V.current = q, [{ id: q }];
4424
+ return V.current = G, [{ id: G }];
4413
4425
  }
4414
- return we.current && (V.current = ce), V.current ? [{ id: V.current }] : [];
4426
+ return we.current && (V.current = ue), V.current ? [{ id: V.current }] : [];
4415
4427
  },
4416
- [ce, F]
4417
- ), [Z, nt] = he([]), $e = zi(
4418
- Ln(Wr),
4419
- Ln(qr),
4420
- Ln(er, {
4428
+ [ue, F]
4429
+ ), [Z, tt] = ne([]), Be = zi(
4430
+ $n(qr),
4431
+ $n(Jr),
4432
+ $n(er, {
4421
4433
  coordinateGetter: h
4422
4434
  })
4423
4435
  );
4424
4436
  Di(() => {
4425
- J(_), Oe(Object.keys(_));
4437
+ J(_), Ne(Object.keys(_));
4426
4438
  }), Ci(() => {
4427
- J(_), Oe(Object.keys(_));
4439
+ J(_), Ne(Object.keys(_));
4428
4440
  }, [_]), K(() => {
4429
4441
  requestAnimationFrame(() => {
4430
4442
  we.current = !1;
4431
4443
  });
4432
4444
  }, [F]);
4433
- const ue = (p) => p in F ? p : Object.keys(F).find(
4445
+ const de = (p) => p in F ? p : Object.keys(F).find(
4434
4446
  (m) => F[m].map((N) => N.id).includes(p)
4435
4447
  ), $ = (p) => {
4436
- const m = ue(p);
4437
- return m ? Rt(F[m], (N) => N.id == p) : -1;
4438
- }, rt = () => {
4439
- Z && J(Z), Pe(null), nt(null);
4440
- }, Ae = (p) => {
4441
- Pe(p.active.id), nt(F);
4448
+ const m = de(p);
4449
+ return m ? Et(F[m], (N) => N.id == p) : -1;
4450
+ }, nt = () => {
4451
+ Z && J(Z), $e(null), tt(null);
4452
+ }, Ee = (p) => {
4453
+ $e(p.active.id), tt(F);
4442
4454
  }, Ve = (p) => {
4443
- const { active: m, over: N } = p, q = N == null ? void 0 : N.id;
4444
- if (q == null || m.id in F)
4455
+ const { active: m, over: N } = p, G = N == null ? void 0 : N.id;
4456
+ if (G == null || m.id in F)
4445
4457
  return;
4446
- const G = ue(q), de = ue(m.id);
4447
- !G || !de || de !== G && J((ee) => {
4448
- const oe = ee[de], pe = ee[G], ye = Rt(pe, (Te) => Te.id == q), ot = Rt(oe, (Te) => Te.id == m.id);
4458
+ const Y = de(G), fe = de(m.id);
4459
+ !Y || !fe || fe !== Y && J((ee) => {
4460
+ const oe = ee[fe], he = ee[Y], be = Et(he, (Me) => Me.id == G), rt = Et(oe, (Me) => Me.id == m.id);
4449
4461
  let te;
4450
- if (q in ee)
4451
- te = pe.length + 1;
4462
+ if (G in ee)
4463
+ te = he.length + 1;
4452
4464
  else {
4453
- const mt = N && m.rect.current.translated && m.rect.current.translated.top > N.rect.top + N.rect.height ? 1 : 0;
4454
- te = ye >= 0 ? ye + mt : pe.length + 1;
4465
+ const wt = N && m.rect.current.translated && m.rect.current.translated.top > N.rect.top + N.rect.height ? 1 : 0;
4466
+ te = be >= 0 ? be + wt : he.length + 1;
4455
4467
  }
4456
4468
  return U(m.id), we.current = !0, {
4457
4469
  ...ee,
4458
- [de]: ee[de].filter(
4459
- (Te) => Te.id != m.id
4470
+ [fe]: ee[fe].filter(
4471
+ (Me) => Me.id != m.id
4460
4472
  ),
4461
- [G]: [
4462
- ...ee[G].slice(0, te),
4463
- ee[de][ot],
4464
- ...ee[G].slice(
4473
+ [Y]: [
4474
+ ...ee[Y].slice(0, te),
4475
+ ee[fe][rt],
4476
+ ...ee[Y].slice(
4465
4477
  te,
4466
- ee[G].length
4478
+ ee[Y].length
4467
4479
  )
4468
4480
  ]
4469
4481
  };
4470
4482
  });
4471
4483
  }, P = (p) => {
4472
4484
  const { active: m, over: N } = p;
4473
- var q = !1, G = wi(F);
4474
- m.id in F && (N != null && N.id) && Oe((ie) => {
4475
- q = !0;
4476
- const fe = ie.indexOf(m.id), Be = ie.indexOf(N.id);
4477
- var et = jt(ie, fe, Be);
4478
- return m.id !== N.id && M(p, et), et;
4485
+ var G = !1, Y = mi(F);
4486
+ m.id in F && (N != null && N.id) && Ne((ie) => {
4487
+ G = !0;
4488
+ const se = ie.indexOf(m.id), Le = ie.indexOf(N.id);
4489
+ var ot = Yt(ie, se, Le);
4490
+ return m.id !== N.id && M(p, ot), ot;
4479
4491
  });
4480
- const de = ue(m.id);
4481
- if (!de) {
4482
- Pe(null);
4492
+ const fe = de(m.id);
4493
+ if (!fe) {
4494
+ $e(null);
4483
4495
  return;
4484
4496
  }
4485
4497
  const ee = N == null ? void 0 : N.id;
4486
4498
  if (ee == null) {
4487
- Pe(null);
4499
+ $e(null);
4488
4500
  return;
4489
4501
  }
4490
- const oe = ue(ee);
4502
+ const oe = de(ee);
4491
4503
  if (oe) {
4492
- const ie = Rt(
4493
- F[de],
4494
- (Be) => Be.id == m.id
4495
- ), fe = Rt(F[oe], (Be) => Be.id == ee);
4496
- ie !== fe && (G = {
4497
- ...G,
4498
- [oe]: jt(
4499
- G[oe],
4504
+ const ie = Et(
4505
+ F[fe],
4506
+ (Le) => Le.id == m.id
4507
+ ), se = Et(F[oe], (Le) => Le.id == ee);
4508
+ ie !== se && (Y = {
4509
+ ...Y,
4510
+ [oe]: Yt(
4511
+ Y[oe],
4500
4512
  ie,
4501
- fe
4513
+ se
4502
4514
  )
4503
- }, J((Be) => ({
4504
- ...Be,
4505
- [oe]: jt(
4506
- Be[oe],
4515
+ }, J((Le) => ({
4516
+ ...Le,
4517
+ [oe]: Yt(
4518
+ Le[oe],
4507
4519
  ie,
4508
- fe
4520
+ se
4509
4521
  )
4510
4522
  })));
4511
4523
  }
4512
- if (!q) {
4513
- var pe, ye = null, ot, te = -1, Te = Object.keys(Z), mt = Object.keys(G);
4514
- Te.forEach((ie) => {
4515
- if (Z[ie].map((fe) => fe.id.toString()).includes(m.id.toString())) {
4516
- pe = ie, ot = Rt(Z[ie], (fe) => fe.id == m.id);
4524
+ if (!G) {
4525
+ var he, be = null, rt, te = -1, Me = Object.keys(Z), wt = Object.keys(Y);
4526
+ Me.forEach((ie) => {
4527
+ if (Z[ie].map((se) => se.id.toString()).includes(m.id.toString())) {
4528
+ he = ie, rt = Et(Z[ie], (se) => se.id == m.id);
4517
4529
  return;
4518
4530
  }
4519
- }), mt.forEach((ie) => {
4520
- if (G[ie].map((fe) => fe.id.toString()).includes(m.id.toString())) {
4521
- ye = ie, te = Rt(G[ie], (fe) => fe.id == m.id);
4531
+ }), wt.forEach((ie) => {
4532
+ if (Y[ie].map((se) => se.id.toString()).includes(m.id.toString())) {
4533
+ be = ie, te = Et(Y[ie], (se) => se.id == m.id);
4522
4534
  return;
4523
4535
  }
4524
- }), pe === ye && ot !== te && H(p, G, ye), pe !== ye && U(p, G, ye, pe);
4536
+ }), he === be && rt !== te && H(p, Y, be), he !== be && U(p, Y, be, he);
4525
4537
  }
4526
- Pe(null);
4538
+ $e(null);
4527
4539
  }, Qe = (p) => {
4528
4540
  var m = null;
4529
- return Le.forEach((N) => {
4530
- F[N].forEach((q) => {
4531
- if (q.id == p) {
4532
- m = q;
4541
+ return Pe.forEach((N) => {
4542
+ F[N].forEach((G) => {
4543
+ if (G.id == p) {
4544
+ m = G;
4533
4545
  return;
4534
4546
  }
4535
4547
  });
4536
- }), /* @__PURE__ */ ae(
4537
- Xn,
4548
+ }), /* @__PURE__ */ le(
4549
+ jn,
4538
4550
  {
4539
4551
  value: p,
4540
4552
  handle: d,
4541
4553
  cardProps: D,
4542
4554
  style: g({
4543
- containerId: ue(p),
4555
+ containerId: de(p),
4544
4556
  overIndex: -1,
4545
4557
  index: $(p),
4546
4558
  value: p,
@@ -4548,7 +4560,7 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4548
4560
  isDragging: !0,
4549
4561
  isDragOverlay: !0
4550
4562
  }),
4551
- color: jn(m == null ? void 0 : m.color, Xe),
4563
+ color: Yn(m == null ? void 0 : m.color, Xe),
4552
4564
  wrapperStyle: w({ index: 0 }),
4553
4565
  renderItem: v,
4554
4566
  dragOverlay: !0,
@@ -4557,10 +4569,10 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4557
4569
  }
4558
4570
  }
4559
4571
  );
4560
- }, Ye = (p) => /* @__PURE__ */ ae(
4561
- co,
4572
+ }, je = (p) => /* @__PURE__ */ le(
4573
+ uo,
4562
4574
  {
4563
- label: yt(p),
4575
+ label: mt(p),
4564
4576
  columns: c,
4565
4577
  style: {
4566
4578
  height: "100%"
@@ -4568,9 +4580,9 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4568
4580
  shadow: !0,
4569
4581
  unstyled: !1,
4570
4582
  containerId: p,
4571
- renderFooterContent: Ee,
4572
- children: F[p].map((m, N) => /* @__PURE__ */ ae(
4573
- Xn,
4583
+ renderFooterContent: _e,
4584
+ children: F[p].map((m, N) => /* @__PURE__ */ le(
4585
+ jn,
4574
4586
  {
4575
4587
  cardProps: D,
4576
4588
  value: m.id,
@@ -4584,7 +4596,7 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4584
4596
  isSorting: !1,
4585
4597
  isDragOverlay: !1
4586
4598
  }),
4587
- color: jn(m == null ? void 0 : m.color, Xe),
4599
+ color: Yn(m == null ? void 0 : m.color, Xe),
4588
4600
  wrapperStyle: w({ index: N }),
4589
4601
  renderItem: v,
4590
4602
  children: Ze(m == null ? void 0 : m.content, m == null ? void 0 : m.id, {
@@ -4596,10 +4608,10 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4596
4608
  m.id
4597
4609
  ))
4598
4610
  }
4599
- ), yt = (p) => {
4611
+ ), mt = (p) => {
4600
4612
  let m = c == null ? void 0 : c.find((N) => N.id == (p == null ? void 0 : p.toString()));
4601
- return Ot(
4602
- Tt("KANBAN_HEADER", p, Q),
4613
+ return Tt(
4614
+ Nt("KANBAN_HEADER", p, Q),
4603
4615
  {
4604
4616
  ...R,
4605
4617
  item: { [p]: F[p] },
@@ -4607,8 +4619,8 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4607
4619
  },
4608
4620
  m == null ? void 0 : m.header,
4609
4621
  !0
4610
- ) || Ot(
4611
- Tt("KANBAN_HEADER", null, Q),
4622
+ ) || Tt(
4623
+ Nt("KANBAN_HEADER", null, Q),
4612
4624
  {
4613
4625
  ...R,
4614
4626
  item: { [p]: F[p] },
@@ -4616,7 +4628,7 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4616
4628
  },
4617
4629
  m == null ? void 0 : m.header,
4618
4630
  !0
4619
- ) || /* @__PURE__ */ ae(
4631
+ ) || /* @__PURE__ */ le(
4620
4632
  xi,
4621
4633
  {
4622
4634
  id: p,
@@ -4628,80 +4640,80 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4628
4640
  children: m == null ? void 0 : m.header
4629
4641
  }
4630
4642
  );
4631
- }, Ee = (p) => Ot(
4632
- Tt("KANBAN_FOOTER", p, Q),
4643
+ }, _e = (p) => Tt(
4644
+ Nt("KANBAN_FOOTER", p, Q),
4633
4645
  {
4634
4646
  ...T,
4635
4647
  id: p
4636
4648
  },
4637
4649
  null
4638
- ) || Ot(
4639
- Tt("KANBAN_FOOTER", null, Q),
4650
+ ) || Tt(
4651
+ Nt("KANBAN_FOOTER", null, Q),
4640
4652
  {
4641
4653
  ...T,
4642
4654
  id: p
4643
4655
  },
4644
4656
  null
4645
- ), Ze = (p, m, N) => Ot(
4646
- Tt("KANBAN_CARD", m, Q),
4657
+ ), Ze = (p, m, N) => Tt(
4658
+ Nt("KANBAN_CARD", m, Q),
4647
4659
  {
4648
4660
  ...N
4649
4661
  },
4650
4662
  p,
4651
4663
  !0
4652
- ) || Ot(
4653
- Tt("KANBAN_CARD", null, Q),
4664
+ ) || Tt(
4665
+ Nt("KANBAN_CARD", null, Q),
4654
4666
  {
4655
4667
  ...N
4656
4668
  },
4657
4669
  p,
4658
4670
  !0
4659
- ) || /* @__PURE__ */ ae(mi, { color: B, size: re, ...N, children: p });
4660
- return /* @__PURE__ */ ae(Oa, { ref: t, ...Re, children: /* @__PURE__ */ pn(
4671
+ ) || /* @__PURE__ */ le(yi, { color: B, size: re, ...N, children: p });
4672
+ return /* @__PURE__ */ le(Oa, { ref: t, ...Ae, children: /* @__PURE__ */ vn(
4661
4673
  Ls,
4662
4674
  {
4663
4675
  measuring: {
4664
4676
  droppable: {
4665
- strategy: Lt.Always
4677
+ strategy: $t.Always
4666
4678
  }
4667
4679
  },
4668
- sensors: $e,
4669
- collisionDetection: tt,
4680
+ sensors: Be,
4681
+ collisionDetection: et,
4670
4682
  modifiers: A,
4671
4683
  cancelDrop: l,
4672
- onDragCancel: rt,
4673
- onDragStart: Ae,
4684
+ onDragCancel: nt,
4685
+ onDragStart: Ee,
4674
4686
  onDragOver: Ve,
4675
4687
  onDragEnd: P,
4676
4688
  children: [
4677
- /* @__PURE__ */ ae(
4689
+ /* @__PURE__ */ le(
4678
4690
  Ta,
4679
4691
  {
4680
4692
  horizontalDisplay: n,
4681
4693
  verticalDisplay: o,
4682
- children: /* @__PURE__ */ ae(
4683
- Or,
4694
+ children: /* @__PURE__ */ le(
4695
+ Tr,
4684
4696
  {
4685
- items: [...Le],
4686
- strategy: o ? Ir : na,
4687
- children: Le.map((p) => /* @__PURE__ */ ae(
4697
+ items: [...Pe],
4698
+ strategy: o ? Or : na,
4699
+ children: Pe.map((p) => /* @__PURE__ */ le(
4688
4700
  Pa,
4689
4701
  {
4690
4702
  id: p,
4691
- label: b ? void 0 : yt(p),
4703
+ label: b ? void 0 : mt(p),
4692
4704
  items: F[p],
4693
4705
  color: B,
4694
4706
  scrollable: S,
4695
4707
  style: u,
4696
4708
  unstyled: b,
4697
4709
  containerId: p,
4698
- renderFooterContent: Ee,
4710
+ renderFooterContent: _e,
4699
4711
  maxContainerHeight: E,
4700
4712
  ...R,
4701
- children: /* @__PURE__ */ ae(Or, { items: F[p], strategy: x, children: F[p].map((m, N) => /* @__PURE__ */ ae(
4713
+ children: /* @__PURE__ */ le(Tr, { items: F[p], strategy: x, children: F[p].map((m, N) => /* @__PURE__ */ le(
4702
4714
  $a,
4703
4715
  {
4704
- disabled: je || (m == null ? void 0 : m.disabled),
4716
+ disabled: Ue || (m == null ? void 0 : m.disabled),
4705
4717
  id: m.id,
4706
4718
  item: m,
4707
4719
  index: N,
@@ -4723,8 +4735,8 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4723
4735
  )
4724
4736
  }
4725
4737
  ),
4726
- At.createPortal(
4727
- /* @__PURE__ */ ae(Qs, { adjustScale: i, dropAnimation: Ma, children: ce ? Le.includes(ce) ? Ye(ce) : Qe(ce) : null }),
4738
+ Mt.createPortal(
4739
+ /* @__PURE__ */ le(Qs, { adjustScale: i, dropAnimation: Ma, children: ue ? Pe.includes(ue) ? je(ue) : Qe(ue) : null }),
4728
4740
  document.body
4729
4741
  )
4730
4742
  ]
@@ -4732,29 +4744,29 @@ const Rt = /* @__PURE__ */ bi(Ia), Oa = Pt.div``, Ta = Pt.div`
4732
4744
  ) });
4733
4745
  });
4734
4746
  Ba.propTypes = {
4735
- horizontalDisplay: W.bool,
4736
- verticalDisplay: W.bool,
4737
- adjustScale: W.bool,
4747
+ horizontalDisplay: k.bool,
4748
+ verticalDisplay: k.bool,
4749
+ adjustScale: k.bool,
4738
4750
  //Number of items in container
4739
- itemCount: W.bool,
4740
- cancelDrop: W.func,
4751
+ itemCount: k.bool,
4752
+ cancelDrop: k.func,
4741
4753
  /**
4742
4754
  * type of: [{id: `<string | number>`, content: `<string | element>`}, ...]
4743
4755
  */
4744
- columns: W.array,
4745
- handle: W.bool,
4756
+ columns: k.array,
4757
+ handle: k.bool,
4746
4758
  // containerStyle,
4747
4759
  // coordinateGetter = multipleContainersCoordinateGetter,
4748
- getItemStyles: W.func,
4749
- wrapperStyle: W.func,
4750
- minimal: W.bool,
4760
+ getItemStyles: k.func,
4761
+ wrapperStyle: k.func,
4762
+ minimal: k.bool,
4751
4763
  // modifiers,
4752
- renderItem: W.func,
4764
+ renderItem: k.func,
4753
4765
  // strategy = verticalListSortingStrategy,
4754
- scrollable: W.bool,
4755
- cardProps: W.any,
4756
- headerProps: W.any,
4757
- footerProps: W.any,
4766
+ scrollable: k.bool,
4767
+ cardProps: k.any,
4768
+ headerProps: k.any,
4769
+ footerProps: k.any,
4758
4770
  //---------------------------
4759
4771
  /**
4760
4772
  * Type of:
@@ -4764,19 +4776,19 @@ Ba.propTypes = {
4764
4776
  * content< element >,
4765
4777
  * color< "primary" | "secondary" | "danger" | "warning" | "information" | "neutral" >]}] }
4766
4778
  */
4767
- data: W.object,
4768
- columnInfo: W.object,
4769
- onColumnMoved: W.func,
4770
- onCardMoved: W.func,
4771
- onCardChangedColumns: W.func,
4779
+ data: k.object,
4780
+ columnInfo: k.object,
4781
+ onColumnMoved: k.func,
4782
+ onCardMoved: k.func,
4783
+ onCardChangedColumns: k.func,
4772
4784
  /**
4773
4785
  * Max height of column container (cards list) before scroll appears.
4774
4786
  */
4775
- maxContainerHeight: W.string,
4787
+ maxContainerHeight: k.string,
4776
4788
  //----------------
4777
- className: W.string,
4778
- style: W.object,
4779
- color: W.oneOf([
4789
+ className: k.string,
4790
+ style: k.object,
4791
+ color: k.oneOf([
4780
4792
  "primary",
4781
4793
  "secondary",
4782
4794
  "success",
@@ -4786,7 +4798,7 @@ Ba.propTypes = {
4786
4798
  "neutral",
4787
4799
  "gray"
4788
4800
  ]),
4789
- size: W.oneOf(["small", "medium", "large"])
4801
+ size: k.oneOf(["small", "medium", "large"])
4790
4802
  };
4791
4803
  export {
4792
4804
  Ba as default