@blofin/blofin-ui 0.7.46-beta.8 → 0.7.46

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 (93) hide show
  1. package/dist/{ProTable-2cb6776c.js → ProTable-a018c4f3.js} +595 -592
  2. package/dist/ProTable.es.js +2 -2
  3. package/dist/components/ProTable/types/index.d.ts +1 -0
  4. package/dist/{index-b5bfefd1.js → index-01bcd525.js} +2 -2
  5. package/dist/{index-dca941d9.js → index-04d96746.js} +2 -2
  6. package/dist/{index-885dc245.js → index-05a39648.js} +2 -2
  7. package/dist/{index-b32683e0.js → index-0789da8f.js} +2 -2
  8. package/dist/{index-c858616f.js → index-13dd92d2.js} +2 -2
  9. package/dist/{index-aa7373d6.js → index-198ff1ed.js} +2 -2
  10. package/dist/{index-2d602cf5.js → index-1a643b89.js} +2 -2
  11. package/dist/{index-4b3d54dc.js → index-1c4022e0.js} +2 -2
  12. package/dist/{index-23d59612.js → index-1e9ae8be.js} +3 -3
  13. package/dist/{index-3077fe30.js → index-1f7ce739.js} +2 -2
  14. package/dist/{index-8675d33d.js → index-229d1eba.js} +2 -2
  15. package/dist/{index-830a7da3.js → index-2734849b.js} +1 -1
  16. package/dist/{index-3ea476c2.js → index-284d3a0b.js} +2 -2
  17. package/dist/{index-9fdb2a4e.js → index-2c7fb184.js} +2 -2
  18. package/dist/{index-7b12e1f5.js → index-2d35bf3b.js} +2 -2
  19. package/dist/{index-2c6b1c23.js → index-307c207d.js} +3 -3
  20. package/dist/{index-db5f63f4.js → index-30e84067.js} +3 -3
  21. package/dist/{index-b57ea03a.js → index-31c7c322.js} +2 -2
  22. package/dist/{index-998efde3.js → index-31f880a4.js} +2 -2
  23. package/dist/{index-5fb8c4dc.js → index-32acbd81.js} +2 -2
  24. package/dist/{index-7feca25a.js → index-342d1802.js} +2 -2
  25. package/dist/{index-6e40f9c1.js → index-39c6de05.js} +3 -3
  26. package/dist/{index-bae6f6c4.js → index-3b3080fd.js} +2 -2
  27. package/dist/{index-74eaca84.js → index-42a66939.js} +2 -2
  28. package/dist/{index-227f3284.js → index-43b08d56.js} +2 -2
  29. package/dist/{index-f6fb1bec.js → index-4538df53.js} +2 -2
  30. package/dist/{index-333d0ae1.js → index-45bb4ed7.js} +2 -2
  31. package/dist/{index-9dc6a4b8.js → index-45f05f0e.js} +1 -1
  32. package/dist/{index-c36ee1a7.js → index-4791c48f.js} +2 -2
  33. package/dist/{index-ace65a37.js → index-4b72c93c.js} +2 -2
  34. package/dist/{index-db7b3f38.js → index-4b911c6e.js} +2 -2
  35. package/dist/{index-e5a27f23.js → index-57247252.js} +2 -2
  36. package/dist/{index-5c31b85e.js → index-5aea07c2.js} +3 -3
  37. package/dist/{index-cca0c393.js → index-5b5af887.js} +2 -2
  38. package/dist/{index-56c02fe8.js → index-5d090023.js} +2 -2
  39. package/dist/{index-2673a393.js → index-5e1d327b.js} +2 -2
  40. package/dist/{index-238f6114.js → index-5ed66bee.js} +2 -2
  41. package/dist/{index-2fb7ac48.js → index-66cdb868.js} +2 -2
  42. package/dist/{index-b169d3bc.js → index-6b37c670.js} +2 -2
  43. package/dist/{index-6733e1be.js → index-6c8cf83d.js} +2 -2
  44. package/dist/{index-c09244aa.js → index-6f0ddbd0.js} +2 -2
  45. package/dist/{index-60f7f55e.js → index-7540e09c.js} +3 -3
  46. package/dist/{index-1806994f.js → index-7ad32786.js} +2 -2
  47. package/dist/{index-e3b72207.js → index-805c09f6.js} +84 -84
  48. package/dist/{index-0f37a070.js → index-80a816cd.js} +3 -3
  49. package/dist/{index-fa08c640.js → index-80bbc984.js} +3 -3
  50. package/dist/{index-fdb7abd1.js → index-81c7bc47.js} +2 -2
  51. package/dist/{index-9dc1297b.js → index-850436bd.js} +2 -2
  52. package/dist/{index-98dac01c.js → index-858a8ffe.js} +2 -2
  53. package/dist/{index-fa2fcb5e.js → index-88c2d612.js} +3 -3
  54. package/dist/{index-32a15c95.js → index-8d5906d1.js} +2 -2
  55. package/dist/{index-7c68dce8.js → index-8f4dd7e8.js} +2 -2
  56. package/dist/{index-ceeec500.js → index-8fb21b4c.js} +2 -2
  57. package/dist/{index-4fb496ea.js → index-98e07789.js} +2 -2
  58. package/dist/{index-d519d836.js → index-9a99f999.js} +3 -3
  59. package/dist/{index-a428c023.js → index-9c039997.js} +2 -2
  60. package/dist/{index-40656faa.js → index-a2ccffa7.js} +4 -4
  61. package/dist/{index-45d755b3.js → index-a5ec6b6b.js} +3 -3
  62. package/dist/{index-5fff7389.js → index-a8db0cfd.js} +2 -2
  63. package/dist/{index-aa0eebcf.js → index-af196788.js} +2 -2
  64. package/dist/{index-a3300c33.js → index-b881ea04.js} +3 -3
  65. package/dist/{index-bf3e07e9.js → index-bab534cd.js} +2 -2
  66. package/dist/{index-a2e40b7a.js → index-bd7a0e32.js} +2 -2
  67. package/dist/{index-ec6a2ecb.js → index-c158677d.js} +2 -2
  68. package/dist/{index-1b9e5c9f.js → index-c1bccaf4.js} +2 -2
  69. package/dist/{index-3e03c6a6.js → index-c2073b90.js} +2 -2
  70. package/dist/{index-1818a795.js → index-c4ae1aab.js} +2 -2
  71. package/dist/{index-7e6af658.js → index-cd77755c.js} +4 -4
  72. package/dist/{index-709e0109.js → index-ce06faef.js} +2 -2
  73. package/dist/{index-229481b4.js → index-ceaebbe7.js} +3 -3
  74. package/dist/{index-dcbc136e.js → index-cfd2e3f9.js} +2 -2
  75. package/dist/{index-21547544.js → index-d0a75781.js} +2 -2
  76. package/dist/{index-99b3b10c.js → index-d6bcc388.js} +3 -3
  77. package/dist/{index-79644c60.js → index-d6dbb71c.js} +2 -2
  78. package/dist/{index-c146c364.js → index-d965c515.js} +2 -2
  79. package/dist/{index-1e647ab8.js → index-d976435a.js} +2 -2
  80. package/dist/{index-ea3eab58.js → index-e5400bfb.js} +2 -2
  81. package/dist/{index-1e899736.js → index-ea293b70.js} +2 -2
  82. package/dist/{index-8a9c88c2.js → index-ed5b4205.js} +2 -2
  83. package/dist/{index-a6efa084.js → index-ef8bfaaf.js} +2 -2
  84. package/dist/{index-1883882b.js → index-f37db876.js} +2 -2
  85. package/dist/{index-c4263968.js → index-f3be2e4a.js} +2 -2
  86. package/dist/{index-17741303.js → index-f3cad480.js} +3 -3
  87. package/dist/{index-b9930a00.js → index-f531cc96.js} +2 -2
  88. package/dist/{index-cef30182.js → index-f653391d.js} +2 -2
  89. package/dist/{index-c7e82c88.js → index-f671b6f0.js} +1 -1
  90. package/dist/{index-ebe58492.js → index-f6815ad6.js} +2 -2
  91. package/dist/{index-5092f72a.js → index-fb20421f.js} +2 -2
  92. package/dist/index.es.js +2 -2
  93. package/package.json +1 -1
@@ -1,24 +1,24 @@
1
1
  import { j as z } from "./jsx-runtime-82a9ddf6.js";
2
2
  import * as Ce from "react";
3
- import V, { useLayoutEffect as Fn, useEffect as M, useRef as L, useMemo as O, useCallback as X, useState as ee, createContext as Je, memo as $n, useReducer as Wn, useContext as Ee } from "react";
4
- import { c as $, a as Me, u as Hn } from "./index-6ffbeca8.js";
3
+ import q, { useLayoutEffect as Fn, useEffect as M, useRef as L, useMemo as O, useCallback as K, useState as ee, createContext as Je, memo as $n, useReducer as Hn, useContext as Ie } from "react";
4
+ import { c as W, a as Me, u as Wn } from "./index-6ffbeca8.js";
5
5
  import { unstable_batchedUpdates as rt, createPortal as Xn } from "react-dom";
6
- var U = /* @__PURE__ */ ((e) => (e.default = "default", e.desc = "desc", e.asc = "asc", e))(U || {});
7
- const Yn = $("bu-w-full bu-rounded-lg", {
6
+ var V = /* @__PURE__ */ ((e) => (e.default = "default", e.desc = "desc", e.asc = "asc", e))(V || {});
7
+ const Yn = W("bu-w-full bu-rounded-lg", {
8
8
  variants: {
9
9
  theme: {
10
10
  light: "bu-bg-light-background",
11
11
  dark: "bu-bg-dark-background"
12
12
  }
13
13
  }
14
- }), Kn = $("bu-w-full bu-border-collapse"), Un = $("bu-sticky bu-top-0 bu-z-[100]", {
14
+ }), Kn = W("bu-w-full bu-border-collapse"), Un = W("bu-sticky bu-top-0 bu-z-[100]", {
15
15
  variants: {
16
16
  theme: {
17
17
  light: "bu-bg-light-background",
18
18
  dark: "bu-bg-dark-background"
19
19
  }
20
20
  }
21
- }), rn = $(
21
+ }), rn = W(
22
22
  "bu-relative bu-z-[999] bu-h-[25px] bu-select-none bu-border-b bu-px-[4px] bu-text-left bu-text-[12px] bu-font-medium bu-transition-all bu-duration-300",
23
23
  {
24
24
  variants: {
@@ -32,28 +32,28 @@ const Yn = $("bu-w-full bu-rounded-lg", {
32
32
  }
33
33
  }
34
34
  }
35
- ), on = $("bu-sticky bu-left-0 bu-top-0 bu-z-[1000]", {
35
+ ), on = W("bu-sticky bu-left-0 bu-top-0 bu-z-[1000]", {
36
36
  variants: {
37
37
  theme: {
38
38
  light: "bu-bg-light-background",
39
39
  dark: "bu-bg-dark-background"
40
40
  }
41
41
  }
42
- }), sn = $("bu-sticky bu-right-0 bu-top-0 bu-z-[1000]", {
42
+ }), sn = W("bu-sticky bu-right-0 bu-top-0 bu-z-[1000]", {
43
43
  variants: {
44
44
  theme: {
45
45
  light: "bu-bg-light-background",
46
46
  dark: "bu-bg-dark-background"
47
47
  }
48
48
  }
49
- }), Vn = $("bu-cursor-pointer", {
49
+ }), Vn = W("bu-cursor-pointer", {
50
50
  variants: {
51
51
  theme: {
52
52
  light: "hover:bu-bg-light-hover-fill-primary",
53
53
  dark: "hover:bu-bg-dark-hover-fill-primary"
54
54
  }
55
55
  }
56
- }), qn = $(
56
+ }), qn = W(
57
57
  "bu-pointer-events-auto bu-opacity-0 bu-transition-opacity bu-duration-200 group-hover:bu-opacity-100",
58
58
  {
59
59
  variants: {
@@ -63,14 +63,14 @@ const Yn = $("bu-w-full bu-rounded-lg", {
63
63
  }
64
64
  }
65
65
  }
66
- ), an = $("bu-z-[1002] !bu-cursor-grabbing bu-opacity-60 bu-shadow-lg", {
66
+ ), an = W("bu-z-[1002] !bu-cursor-grabbing bu-opacity-60 bu-shadow-lg", {
67
67
  variants: {
68
68
  theme: {
69
69
  light: "bu-bg-light-background",
70
70
  dark: "bu-bg-dark-background"
71
71
  }
72
72
  }
73
- }), Gn = $("bu-ml-2 bu-inline-flex bu-flex-col bu-align-middle"), Jn = $(
73
+ }), Gn = W("bu-ml-2 bu-inline-flex bu-flex-col bu-align-middle"), Jn = W(
74
74
  "bu-h-0 bu-w-0 bu-border-l-4 bu-border-r-4 bu-border-transparent",
75
75
  {
76
76
  variants: {
@@ -88,42 +88,42 @@ const Yn = $("bu-w-full bu-rounded-lg", {
88
88
  }
89
89
  }
90
90
  }
91
- ), _n = $("", {
91
+ ), _n = W("", {
92
92
  variants: {
93
93
  theme: {
94
94
  light: "bu-bg-light-background",
95
95
  dark: "bu-bg-dark-background"
96
96
  }
97
97
  }
98
- }), Zn = $("bu-group bu-border-b bu-transition-colors bu-duration-200", {
98
+ }), Zn = W("bu-group bu-border-b bu-transition-colors bu-duration-200", {
99
99
  variants: {
100
100
  theme: {
101
101
  light: "bu-hover:bu-bg-light-fill-primary bu-border-light-line-primary",
102
102
  dark: "bu-hover:bu-bg-dark-fill-primary bu-border-dark-line-primary"
103
103
  }
104
104
  }
105
- }), ln = $("bu-h-[60px] bu-border-b bu-px-[4px] bu-text-[12px]", {
105
+ }), ln = W("bu-h-[60px] bu-border-b bu-px-[4px] bu-text-[12px]", {
106
106
  variants: {
107
107
  theme: {
108
108
  light: "bu-border-light-line-primary bu-text-light-label group-hover:bu-bg-light-fill-primary",
109
109
  dark: "bu-border-dark-line-primary bu-text-dark-label group-hover:bu-bg-dark-fill-primary"
110
110
  }
111
111
  }
112
- }), cn = $("bu-sticky bu-left-0", {
112
+ }), cn = W("bu-sticky bu-left-0", {
113
113
  variants: {
114
114
  theme: {
115
115
  light: "bu-bg-light-background group-hover:bu-bg-light-fill-primary",
116
116
  dark: "bu-bg-dark-background group-hover:bu-bg-dark-fill-primary"
117
117
  }
118
118
  }
119
- }), un = $("bu-sticky bu-right-0", {
119
+ }), un = W("bu-sticky bu-right-0", {
120
120
  variants: {
121
121
  theme: {
122
122
  light: "bu-bg-light-background group-hover:bu-bg-light-fill-primary",
123
123
  dark: "bu-bg-dark-background group-hover:bu-bg-dark-fill-primary"
124
124
  }
125
125
  }
126
- }), Qn = $("bu-px-5 bu-py-10 bu-text-center", {
126
+ }), Qn = W("bu-px-5 bu-py-10 bu-text-center", {
127
127
  variants: {
128
128
  theme: {
129
129
  light: "bu-text-light-label-60",
@@ -179,43 +179,43 @@ function ze(e) {
179
179
  return t === "[object Window]" || // In Electron context the Window object serializes to [object global]
180
180
  t === "[object global]";
181
181
  }
182
- function Et(e) {
182
+ function It(e) {
183
183
  return "nodeType" in e;
184
184
  }
185
- function q(e) {
185
+ function G(e) {
186
186
  var t, n;
187
- return e ? ze(e) ? e : Et(e) && (t = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? t : window : window;
187
+ return e ? ze(e) ? e : It(e) && (t = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? t : window : window;
188
188
  }
189
- function It(e) {
189
+ function Et(e) {
190
190
  const {
191
191
  Document: t
192
- } = q(e);
192
+ } = G(e);
193
193
  return e instanceof t;
194
194
  }
195
195
  function _e(e) {
196
- return ze(e) ? !1 : e instanceof q(e).HTMLElement;
196
+ return ze(e) ? !1 : e instanceof G(e).HTMLElement;
197
197
  }
198
198
  function dn(e) {
199
- return e instanceof q(e).SVGElement;
199
+ return e instanceof G(e).SVGElement;
200
200
  }
201
201
  function je(e) {
202
- return e ? ze(e) ? e.document : Et(e) ? It(e) ? e : _e(e) || dn(e) ? e.ownerDocument : document : document : document;
202
+ return e ? ze(e) ? e.document : It(e) ? Et(e) ? e : _e(e) || dn(e) ? e.ownerDocument : document : document : document;
203
203
  }
204
204
  const fe = dt ? Fn : M;
205
205
  function kt(e) {
206
206
  const t = L(e);
207
207
  return fe(() => {
208
208
  t.current = e;
209
- }), X(function() {
209
+ }), K(function() {
210
210
  for (var n = arguments.length, r = new Array(n), o = 0; o < n; o++)
211
211
  r[o] = arguments[o];
212
212
  return t.current == null ? void 0 : t.current(...r);
213
213
  }, []);
214
214
  }
215
215
  function or() {
216
- const e = L(null), t = X((r, o) => {
216
+ const e = L(null), t = K((r, o) => {
217
217
  e.current = setInterval(r, o);
218
- }, []), n = X(() => {
218
+ }, []), n = K(() => {
219
219
  e.current !== null && (clearInterval(e.current), e.current = null);
220
220
  }, []);
221
221
  return [t, n];
@@ -239,7 +239,7 @@ function Ze(e, t) {
239
239
  );
240
240
  }
241
241
  function at(e) {
242
- const t = kt(e), n = L(null), r = X(
242
+ const t = kt(e), n = L(null), r = K(
243
243
  (o) => {
244
244
  o !== n.current && (t == null || t(o, n.current)), n.current = o;
245
245
  },
@@ -269,9 +269,9 @@ function fn(e) {
269
269
  r[o - 1] = arguments[o];
270
270
  return r.reduce((i, s) => {
271
271
  const a = Object.entries(s);
272
- for (const [l, d] of a) {
273
- const u = i[l];
274
- u != null && (i[l] = u + e * d);
272
+ for (const [l, u] of a) {
273
+ const c = i[l];
274
+ c != null && (i[l] = c + e * u);
275
275
  }
276
276
  return i;
277
277
  }, {
@@ -288,7 +288,7 @@ function Tt(e) {
288
288
  return !1;
289
289
  const {
290
290
  KeyboardEvent: t
291
- } = q(e.target);
291
+ } = G(e.target);
292
292
  return t && e instanceof t;
293
293
  }
294
294
  function sr(e) {
@@ -296,7 +296,7 @@ function sr(e) {
296
296
  return !1;
297
297
  const {
298
298
  TouchEvent: t
299
- } = q(e.target);
299
+ } = G(e.target);
300
300
  return t && e instanceof t;
301
301
  }
302
302
  function St(e) {
@@ -377,7 +377,7 @@ function cr(e) {
377
377
  id: t,
378
378
  value: n
379
379
  } = e;
380
- return V.createElement("div", {
380
+ return q.createElement("div", {
381
381
  id: t,
382
382
  style: lr
383
383
  }, n);
@@ -402,7 +402,7 @@ function ur(e) {
402
402
  clipPath: "inset(100%)",
403
403
  whiteSpace: "nowrap"
404
404
  };
405
- return V.createElement("div", {
405
+ return q.createElement("div", {
406
406
  id: t,
407
407
  style: o,
408
408
  role: "status",
@@ -413,7 +413,7 @@ function ur(e) {
413
413
  function dr() {
414
414
  const [e, t] = ee("");
415
415
  return {
416
- announce: X((r) => {
416
+ announce: K((r) => {
417
417
  r != null && t(r);
418
418
  }, []),
419
419
  announcement: e
@@ -421,7 +421,7 @@ function dr() {
421
421
  }
422
422
  const hn = /* @__PURE__ */ Je(null);
423
423
  function fr(e) {
424
- const t = Ee(hn);
424
+ const t = Ie(hn);
425
425
  M(() => {
426
426
  if (!t)
427
427
  throw new Error("useDndMonitor must be used within a children of <DndContext>");
@@ -429,8 +429,8 @@ function fr(e) {
429
429
  }, [e, t]);
430
430
  }
431
431
  function hr() {
432
- const [e] = ee(() => /* @__PURE__ */ new Set()), t = X((r) => (e.add(r), () => e.delete(r)), [e]);
433
- return [X((r) => {
432
+ const [e] = ee(() => /* @__PURE__ */ new Set()), t = K((r) => (e.add(r), () => e.delete(r)), [e]);
433
+ return [K((r) => {
434
434
  let {
435
435
  type: o,
436
436
  event: i
@@ -485,53 +485,53 @@ function vr(e) {
485
485
  const {
486
486
  announce: i,
487
487
  announcement: s
488
- } = dr(), a = Qe("DndLiveRegion"), [l, d] = ee(!1);
488
+ } = dr(), a = Qe("DndLiveRegion"), [l, u] = ee(!1);
489
489
  if (M(() => {
490
- d(!0);
490
+ u(!0);
491
491
  }, []), fr(O(() => ({
492
- onDragStart(c) {
492
+ onDragStart(d) {
493
493
  let {
494
494
  active: h
495
- } = c;
495
+ } = d;
496
496
  i(t.onDragStart({
497
497
  active: h
498
498
  }));
499
499
  },
500
- onDragMove(c) {
500
+ onDragMove(d) {
501
501
  let {
502
502
  active: h,
503
503
  over: f
504
- } = c;
504
+ } = d;
505
505
  t.onDragMove && i(t.onDragMove({
506
506
  active: h,
507
507
  over: f
508
508
  }));
509
509
  },
510
- onDragOver(c) {
510
+ onDragOver(d) {
511
511
  let {
512
512
  active: h,
513
513
  over: f
514
- } = c;
514
+ } = d;
515
515
  i(t.onDragOver({
516
516
  active: h,
517
517
  over: f
518
518
  }));
519
519
  },
520
- onDragEnd(c) {
520
+ onDragEnd(d) {
521
521
  let {
522
522
  active: h,
523
523
  over: f
524
- } = c;
524
+ } = d;
525
525
  i(t.onDragEnd({
526
526
  active: h,
527
527
  over: f
528
528
  }));
529
529
  },
530
- onDragCancel(c) {
530
+ onDragCancel(d) {
531
531
  let {
532
532
  active: h,
533
533
  over: f
534
- } = c;
534
+ } = d;
535
535
  i(t.onDragCancel({
536
536
  active: h,
537
537
  over: f
@@ -539,19 +539,19 @@ function vr(e) {
539
539
  }
540
540
  }), [i, t])), !l)
541
541
  return null;
542
- const u = V.createElement(V.Fragment, null, V.createElement(cr, {
542
+ const c = q.createElement(q.Fragment, null, q.createElement(cr, {
543
543
  id: r,
544
544
  value: o.draggable
545
- }), V.createElement(ur, {
545
+ }), q.createElement(ur, {
546
546
  id: a,
547
547
  announcement: s
548
548
  }));
549
- return n ? Xn(u, n) : u;
549
+ return n ? Xn(c, n) : c;
550
550
  }
551
- var P;
551
+ var F;
552
552
  (function(e) {
553
553
  e.DragStart = "dragStart", e.DragMove = "dragMove", e.DragEnd = "dragEnd", e.DragCancel = "dragCancel", e.DragOver = "dragOver", e.RegisterDroppable = "registerDroppable", e.SetDroppableDisabled = "setDroppableDisabled", e.UnregisterDroppable = "unregisterDroppable";
554
- })(P || (P = {}));
554
+ })(F || (F = {}));
555
555
  function ct() {
556
556
  }
557
557
  function Kt(e, t) {
@@ -628,12 +628,12 @@ const Sr = (e) => {
628
628
  id: a
629
629
  } = s, l = n.get(a);
630
630
  if (l) {
631
- const d = yr(Ut(l), o);
631
+ const u = yr(Ut(l), o);
632
632
  i.push({
633
633
  id: a,
634
634
  data: {
635
635
  droppableContainer: s,
636
- value: d
636
+ value: u
637
637
  }
638
638
  });
639
639
  }
@@ -643,8 +643,8 @@ const Sr = (e) => {
643
643
  function Dr(e, t) {
644
644
  const n = Math.max(t.top, e.top), r = Math.max(t.left, e.left), o = Math.min(t.left + t.width, e.left + e.width), i = Math.min(t.top + t.height, e.top + e.height), s = o - r, a = i - n;
645
645
  if (r < o && n < i) {
646
- const l = t.width * t.height, d = e.width * e.height, u = s * a, c = u / (l + d - u);
647
- return Number(c.toFixed(4));
646
+ const l = t.width * t.height, u = e.width * e.height, c = s * a, d = c / (l + u - c);
647
+ return Number(d.toFixed(4));
648
648
  }
649
649
  return 0;
650
650
  }
@@ -685,7 +685,7 @@ function gn(e, t) {
685
685
  y: e.top - t.top
686
686
  } : ie;
687
687
  }
688
- function Er(e) {
688
+ function Ir(e) {
689
689
  return function(n) {
690
690
  for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
691
691
  o[i - 1] = arguments[i];
@@ -700,7 +700,7 @@ function Er(e) {
700
700
  });
701
701
  };
702
702
  }
703
- const Ir = /* @__PURE__ */ Er(1);
703
+ const Er = /* @__PURE__ */ Ir(1);
704
704
  function kr(e) {
705
705
  if (e.startsWith("matrix3d(")) {
706
706
  const t = e.slice(9, -1).split(/, /);
@@ -730,13 +730,13 @@ function Tr(e, t, n) {
730
730
  scaleY: i,
731
731
  x: s,
732
732
  y: a
733
- } = r, l = e.left - s - (1 - o) * parseFloat(n), d = e.top - a - (1 - i) * parseFloat(n.slice(n.indexOf(" ") + 1)), u = o ? e.width / o : e.width, c = i ? e.height / i : e.height;
733
+ } = r, l = e.left - s - (1 - o) * parseFloat(n), u = e.top - a - (1 - i) * parseFloat(n.slice(n.indexOf(" ") + 1)), c = o ? e.width / o : e.width, d = i ? e.height / i : e.height;
734
734
  return {
735
- width: u,
736
- height: c,
737
- top: d,
738
- right: l + u,
739
- bottom: d + c,
735
+ width: c,
736
+ height: d,
737
+ top: u,
738
+ right: l + c,
739
+ bottom: u + d,
740
740
  left: l
741
741
  };
742
742
  }
@@ -748,10 +748,10 @@ function Pe(e, t) {
748
748
  let n = e.getBoundingClientRect();
749
749
  if (t.ignoreTransform) {
750
750
  const {
751
- transform: d,
752
- transformOrigin: u
753
- } = q(e).getComputedStyle(e);
754
- d && (n = Tr(n, d, u));
751
+ transform: u,
752
+ transformOrigin: c
753
+ } = G(e).getComputedStyle(e);
754
+ u && (n = Tr(n, u, c));
755
755
  }
756
756
  const {
757
757
  top: r,
@@ -787,10 +787,10 @@ function Nr(e) {
787
787
  };
788
788
  }
789
789
  function Or(e, t) {
790
- return t === void 0 && (t = q(e).getComputedStyle(e)), t.position === "fixed";
790
+ return t === void 0 && (t = G(e).getComputedStyle(e)), t.position === "fixed";
791
791
  }
792
792
  function Mr(e, t) {
793
- t === void 0 && (t = q(e).getComputedStyle(e));
793
+ t === void 0 && (t = G(e).getComputedStyle(e));
794
794
  const n = /(auto|scroll|overlay)/;
795
795
  return ["overflow", "overflowX", "overflowY"].some((o) => {
796
796
  const i = t[o];
@@ -802,11 +802,11 @@ function At(e, t) {
802
802
  function r(o) {
803
803
  if (t != null && n.length >= t || !o)
804
804
  return n;
805
- if (It(o) && o.scrollingElement != null && !n.includes(o.scrollingElement))
805
+ if (Et(o) && o.scrollingElement != null && !n.includes(o.scrollingElement))
806
806
  return n.push(o.scrollingElement), n;
807
807
  if (!_e(o) || dn(o) || n.includes(o))
808
808
  return n;
809
- const i = q(e).getComputedStyle(o);
809
+ const i = G(e).getComputedStyle(o);
810
810
  return o !== e && Mr(o, i) && n.push(o), Or(o, i) ? n : r(o.parentNode);
811
811
  }
812
812
  return e ? r(e) : n;
@@ -816,7 +816,7 @@ function bn(e) {
816
816
  return t ?? null;
817
817
  }
818
818
  function yt(e) {
819
- return !dt || !e ? null : ze(e) ? e : Et(e) ? It(e) || e === je(e).scrollingElement ? window : _e(e) ? e : null : null;
819
+ return !dt || !e ? null : ze(e) ? e : It(e) ? Et(e) || e === je(e).scrollingElement ? window : _e(e) ? e : null : null;
820
820
  }
821
821
  function vn(e) {
822
822
  return ze(e) ? e.scrollX : e.scrollLeft;
@@ -830,10 +830,10 @@ function Dt(e) {
830
830
  y: pn(e)
831
831
  };
832
832
  }
833
- var B;
833
+ var $;
834
834
  (function(e) {
835
835
  e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
836
- })(B || (B = {}));
836
+ })($ || ($ = {}));
837
837
  function yn(e) {
838
838
  return !dt || !e ? !1 : e === document.scrollingElement;
839
839
  }
@@ -873,9 +873,9 @@ function zr(e, t, n, r, o) {
873
873
  } = n;
874
874
  r === void 0 && (r = 10), o === void 0 && (o = Lr);
875
875
  const {
876
- isTop: d,
877
- isBottom: u,
878
- isLeft: c,
876
+ isTop: u,
877
+ isBottom: c,
878
+ isLeft: d,
879
879
  isRight: h
880
880
  } = xn(e), f = {
881
881
  x: 0,
@@ -887,7 +887,7 @@ function zr(e, t, n, r, o) {
887
887
  height: t.height * o.y,
888
888
  width: t.width * o.x
889
889
  };
890
- return !d && i <= t.top + g.height ? (f.y = B.Backward, v.y = r * Math.abs((t.top + g.height - i) / g.height)) : !u && l >= t.bottom - g.height && (f.y = B.Forward, v.y = r * Math.abs((t.bottom - g.height - l) / g.height)), !h && a >= t.right - g.width ? (f.x = B.Forward, v.x = r * Math.abs((t.right - g.width - a) / g.width)) : !c && s <= t.left + g.width && (f.x = B.Backward, v.x = r * Math.abs((t.left + g.width - s) / g.width)), {
890
+ return !u && i <= t.top + g.height ? (f.y = $.Backward, v.y = r * Math.abs((t.top + g.height - i) / g.height)) : !c && l >= t.bottom - g.height && (f.y = $.Forward, v.y = r * Math.abs((t.bottom - g.height - l) / g.height)), !h && a >= t.right - g.width ? (f.x = $.Forward, v.x = r * Math.abs((t.right - g.width - a) / g.width)) : !d && s <= t.left + g.width && (f.x = $.Backward, v.x = r * Math.abs((t.left + g.width - s) / g.width)), {
891
891
  direction: f,
892
892
  speed: v
893
893
  };
@@ -957,8 +957,8 @@ class Nt {
957
957
  for (const l of s)
958
958
  Object.defineProperty(this, l, {
959
959
  get: () => {
960
- const d = a(r), u = o[i] - d;
961
- return this.rect[l] + u;
960
+ const u = a(r), c = o[i] - u;
961
+ return this.rect[l] + c;
962
962
  },
963
963
  enumerable: !0
964
964
  });
@@ -981,10 +981,10 @@ class Ye {
981
981
  (o = this.target) == null || o.addEventListener(t, n, r), this.listeners.push([t, n, r]);
982
982
  }
983
983
  }
984
- function Wr(e) {
984
+ function Hr(e) {
985
985
  const {
986
986
  EventTarget: t
987
- } = q(e);
987
+ } = G(e);
988
988
  return e instanceof t ? e : je(e);
989
989
  }
990
990
  function xt(e, t) {
@@ -998,7 +998,7 @@ var re;
998
998
  function qt(e) {
999
999
  e.preventDefault();
1000
1000
  }
1001
- function Hr(e) {
1001
+ function Wr(e) {
1002
1002
  e.stopPropagation();
1003
1003
  }
1004
1004
  var E;
@@ -1044,7 +1044,7 @@ class Ot {
1044
1044
  target: n
1045
1045
  }
1046
1046
  } = t;
1047
- this.props = t, this.listeners = new Ye(je(n)), this.windowListeners = new Ye(q(n)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
1047
+ this.props = t, this.listeners = new Ye(je(n)), this.windowListeners = new Ye(G(n)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
1048
1048
  }
1049
1049
  attach() {
1050
1050
  this.handleStart(), this.windowListeners.add(re.Resize, this.handleCancel), this.windowListeners.add(re.VisibilityChange, this.handleCancel), setTimeout(() => this.listeners.add(re.Keydown, this.handleKeyDown));
@@ -1078,19 +1078,19 @@ class Ot {
1078
1078
  return;
1079
1079
  }
1080
1080
  const {
1081
- collisionRect: d
1082
- } = r.current, u = d ? {
1083
- x: d.left,
1084
- y: d.top
1081
+ collisionRect: u
1082
+ } = r.current, c = u ? {
1083
+ x: u.left,
1084
+ y: u.top
1085
1085
  } : ie;
1086
- this.referenceCoordinates || (this.referenceCoordinates = u);
1087
- const c = s(t, {
1086
+ this.referenceCoordinates || (this.referenceCoordinates = c);
1087
+ const d = s(t, {
1088
1088
  active: n,
1089
1089
  context: r.current,
1090
- currentCoordinates: u
1090
+ currentCoordinates: c
1091
1091
  });
1092
- if (c) {
1093
- const h = lt(c, u), f = {
1092
+ if (d) {
1093
+ const h = lt(d, c), f = {
1094
1094
  x: 0,
1095
1095
  y: 0
1096
1096
  }, {
@@ -1098,47 +1098,47 @@ class Ot {
1098
1098
  } = r.current;
1099
1099
  for (const g of v) {
1100
1100
  const b = t.code, {
1101
- isTop: w,
1101
+ isTop: x,
1102
1102
  isRight: p,
1103
- isLeft: m,
1104
- isBottom: C,
1105
- maxScroll: D,
1106
- minScroll: R
1107
- } = xn(g), y = jr(g), x = {
1108
- x: Math.min(b === E.Right ? y.right - y.width / 2 : y.right, Math.max(b === E.Right ? y.left : y.left + y.width / 2, c.x)),
1109
- y: Math.min(b === E.Down ? y.bottom - y.height / 2 : y.bottom, Math.max(b === E.Down ? y.top : y.top + y.height / 2, c.y))
1110
- }, I = b === E.Right && !p || b === E.Left && !m, N = b === E.Down && !C || b === E.Up && !w;
1111
- if (I && x.x !== c.x) {
1112
- const S = g.scrollLeft + h.x, G = b === E.Right && S <= D.x || b === E.Left && S >= R.x;
1113
- if (G && !h.y) {
1103
+ isLeft: y,
1104
+ isBottom: R,
1105
+ maxScroll: S,
1106
+ minScroll: I
1107
+ } = xn(g), m = jr(g), w = {
1108
+ x: Math.min(b === E.Right ? m.right - m.width / 2 : m.right, Math.max(b === E.Right ? m.left : m.left + m.width / 2, d.x)),
1109
+ y: Math.min(b === E.Down ? m.bottom - m.height / 2 : m.bottom, Math.max(b === E.Down ? m.top : m.top + m.height / 2, d.y))
1110
+ }, D = b === E.Right && !p || b === E.Left && !y, N = b === E.Down && !R || b === E.Up && !x;
1111
+ if (D && w.x !== d.x) {
1112
+ const C = g.scrollLeft + h.x, P = b === E.Right && C <= S.x || b === E.Left && C >= I.x;
1113
+ if (P && !h.y) {
1114
1114
  g.scrollTo({
1115
- left: S,
1115
+ left: C,
1116
1116
  behavior: a
1117
1117
  });
1118
1118
  return;
1119
1119
  }
1120
- G ? f.x = g.scrollLeft - S : f.x = b === E.Right ? g.scrollLeft - D.x : g.scrollLeft - R.x, f.x && g.scrollBy({
1120
+ P ? f.x = g.scrollLeft - C : f.x = b === E.Right ? g.scrollLeft - S.x : g.scrollLeft - I.x, f.x && g.scrollBy({
1121
1121
  left: -f.x,
1122
1122
  behavior: a
1123
1123
  });
1124
1124
  break;
1125
- } else if (N && x.y !== c.y) {
1126
- const S = g.scrollTop + h.y, G = b === E.Down && S <= D.y || b === E.Up && S >= R.y;
1127
- if (G && !h.x) {
1125
+ } else if (N && w.y !== d.y) {
1126
+ const C = g.scrollTop + h.y, P = b === E.Down && C <= S.y || b === E.Up && C >= I.y;
1127
+ if (P && !h.x) {
1128
1128
  g.scrollTo({
1129
- top: S,
1129
+ top: C,
1130
1130
  behavior: a
1131
1131
  });
1132
1132
  return;
1133
1133
  }
1134
- G ? f.y = g.scrollTop - S : f.y = b === E.Down ? g.scrollTop - D.y : g.scrollTop - R.y, f.y && g.scrollBy({
1134
+ P ? f.y = g.scrollTop - C : f.y = b === E.Down ? g.scrollTop - S.y : g.scrollTop - I.y, f.y && g.scrollBy({
1135
1135
  top: -f.y,
1136
1136
  behavior: a
1137
1137
  });
1138
1138
  break;
1139
1139
  }
1140
1140
  }
1141
- this.handleMove(t, Le(lt(c, this.referenceCoordinates), f));
1141
+ this.handleMove(t, Le(lt(d, this.referenceCoordinates), f));
1142
1142
  }
1143
1143
  }
1144
1144
  }
@@ -1194,13 +1194,13 @@ function Jt(e) {
1194
1194
  class Mt {
1195
1195
  constructor(t, n, r) {
1196
1196
  var o;
1197
- r === void 0 && (r = Wr(t.event.target)), this.props = void 0, this.events = void 0, this.autoScrollEnabled = !0, this.document = void 0, this.activated = !1, this.initialCoordinates = void 0, this.timeoutId = null, this.listeners = void 0, this.documentListeners = void 0, this.windowListeners = void 0, this.props = t, this.events = n;
1197
+ r === void 0 && (r = Hr(t.event.target)), this.props = void 0, this.events = void 0, this.autoScrollEnabled = !0, this.document = void 0, this.activated = !1, this.initialCoordinates = void 0, this.timeoutId = null, this.listeners = void 0, this.documentListeners = void 0, this.windowListeners = void 0, this.props = t, this.events = n;
1198
1198
  const {
1199
1199
  event: i
1200
1200
  } = t, {
1201
1201
  target: s
1202
1202
  } = i;
1203
- this.props = t, this.events = n, this.document = je(s), this.documentListeners = new Ye(this.document), this.listeners = new Ye(r), this.windowListeners = new Ye(q(s)), this.initialCoordinates = (o = St(i)) != null ? o : ie, 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();
1203
+ this.props = t, this.events = n, this.document = je(s), this.documentListeners = new Ye(this.document), this.listeners = new Ye(r), this.windowListeners = new Ye(G(s)), this.initialCoordinates = (o = St(i)) != null ? o : ie, 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();
1204
1204
  }
1205
1205
  attach() {
1206
1206
  const {
@@ -1248,7 +1248,7 @@ class Mt {
1248
1248
  } = this, {
1249
1249
  onStart: n
1250
1250
  } = this.props;
1251
- t && (this.activated = !0, this.documentListeners.add(re.Click, Hr, {
1251
+ t && (this.activated = !0, this.documentListeners.add(re.Click, Wr, {
1252
1252
  capture: !0
1253
1253
  }), this.removeTextSelection(), this.documentListeners.add(re.SelectionChange, this.removeTextSelection), n(t));
1254
1254
  }
@@ -1266,17 +1266,17 @@ class Mt {
1266
1266
  } = i;
1267
1267
  if (!o)
1268
1268
  return;
1269
- const l = (n = St(t)) != null ? n : ie, d = lt(o, l);
1269
+ const l = (n = St(t)) != null ? n : ie, u = lt(o, l);
1270
1270
  if (!r && a) {
1271
1271
  if (Gt(a)) {
1272
- if (a.tolerance != null && xt(d, a.tolerance))
1272
+ if (a.tolerance != null && xt(u, a.tolerance))
1273
1273
  return this.handleCancel();
1274
- if (xt(d, a.distance))
1274
+ if (xt(u, a.distance))
1275
1275
  return this.handleStart();
1276
1276
  }
1277
- if (Jt(a) && xt(d, a.tolerance))
1277
+ if (Jt(a) && xt(u, a.tolerance))
1278
1278
  return this.handleCancel();
1279
- this.handlePending(a, d);
1279
+ this.handlePending(a, u);
1280
1280
  return;
1281
1281
  }
1282
1282
  t.cancelable && t.preventDefault(), s(l);
@@ -1425,18 +1425,18 @@ function qr(e) {
1425
1425
  interval: s = 5,
1426
1426
  order: a = ut.TreeOrder,
1427
1427
  pointerCoordinates: l,
1428
- scrollableAncestors: d,
1429
- scrollableAncestorRects: u,
1430
- delta: c,
1428
+ scrollableAncestors: u,
1429
+ scrollableAncestorRects: c,
1430
+ delta: d,
1431
1431
  threshold: h
1432
1432
  } = e;
1433
1433
  const f = Jr({
1434
- delta: c,
1434
+ delta: d,
1435
1435
  disabled: !i
1436
1436
  }), [v, g] = or(), b = L({
1437
1437
  x: 0,
1438
1438
  y: 0
1439
- }), w = L({
1439
+ }), x = L({
1440
1440
  x: 0,
1441
1441
  y: 0
1442
1442
  }), p = O(() => {
@@ -1451,40 +1451,40 @@ function qr(e) {
1451
1451
  case Ke.DraggableRect:
1452
1452
  return o;
1453
1453
  }
1454
- }, [n, o, l]), m = L(null), C = X(() => {
1455
- const R = m.current;
1456
- if (!R)
1454
+ }, [n, o, l]), y = L(null), R = K(() => {
1455
+ const I = y.current;
1456
+ if (!I)
1457
1457
  return;
1458
- const y = b.current.x * w.current.x, x = b.current.y * w.current.y;
1459
- R.scrollBy(y, x);
1460
- }, []), D = O(() => a === ut.TreeOrder ? [...d].reverse() : d, [a, d]);
1458
+ const m = b.current.x * x.current.x, w = b.current.y * x.current.y;
1459
+ I.scrollBy(m, w);
1460
+ }, []), S = O(() => a === ut.TreeOrder ? [...u].reverse() : u, [a, u]);
1461
1461
  M(
1462
1462
  () => {
1463
- if (!i || !d.length || !p) {
1463
+ if (!i || !u.length || !p) {
1464
1464
  g();
1465
1465
  return;
1466
1466
  }
1467
- for (const R of D) {
1468
- if ((r == null ? void 0 : r(R)) === !1)
1467
+ for (const I of S) {
1468
+ if ((r == null ? void 0 : r(I)) === !1)
1469
1469
  continue;
1470
- const y = d.indexOf(R), x = u[y];
1471
- if (!x)
1470
+ const m = u.indexOf(I), w = c[m];
1471
+ if (!w)
1472
1472
  continue;
1473
1473
  const {
1474
- direction: I,
1474
+ direction: D,
1475
1475
  speed: N
1476
- } = zr(R, x, p, t, h);
1477
- for (const S of ["x", "y"])
1478
- f[S][I[S]] || (N[S] = 0, I[S] = 0);
1476
+ } = zr(I, w, p, t, h);
1477
+ for (const C of ["x", "y"])
1478
+ f[C][D[C]] || (N[C] = 0, D[C] = 0);
1479
1479
  if (N.x > 0 || N.y > 0) {
1480
- g(), m.current = R, v(C, s), b.current = N, w.current = I;
1480
+ g(), y.current = I, v(R, s), b.current = N, x.current = D;
1481
1481
  return;
1482
1482
  }
1483
1483
  }
1484
1484
  b.current = {
1485
1485
  x: 0,
1486
1486
  y: 0
1487
- }, w.current = {
1487
+ }, x.current = {
1488
1488
  x: 0,
1489
1489
  y: 0
1490
1490
  }, g();
@@ -1492,7 +1492,7 @@ function qr(e) {
1492
1492
  // eslint-disable-next-line react-hooks/exhaustive-deps
1493
1493
  [
1494
1494
  t,
1495
- C,
1495
+ R,
1496
1496
  r,
1497
1497
  g,
1498
1498
  i,
@@ -1502,9 +1502,9 @@ function qr(e) {
1502
1502
  // eslint-disable-next-line react-hooks/exhaustive-deps
1503
1503
  JSON.stringify(f),
1504
1504
  v,
1505
- d,
1506
- D,
1507
1505
  u,
1506
+ S,
1507
+ c,
1508
1508
  // eslint-disable-next-line react-hooks/exhaustive-deps
1509
1509
  JSON.stringify(h)
1510
1510
  ]
@@ -1512,12 +1512,12 @@ function qr(e) {
1512
1512
  }
1513
1513
  const Gr = {
1514
1514
  x: {
1515
- [B.Backward]: !1,
1516
- [B.Forward]: !1
1515
+ [$.Backward]: !1,
1516
+ [$.Forward]: !1
1517
1517
  },
1518
1518
  y: {
1519
- [B.Backward]: !1,
1520
- [B.Forward]: !1
1519
+ [$.Backward]: !1,
1520
+ [$.Forward]: !1
1521
1521
  }
1522
1522
  };
1523
1523
  function Jr(e) {
@@ -1535,12 +1535,12 @@ function Jr(e) {
1535
1535
  };
1536
1536
  return {
1537
1537
  x: {
1538
- [B.Backward]: o.x[B.Backward] || i.x === -1,
1539
- [B.Forward]: o.x[B.Forward] || i.x === 1
1538
+ [$.Backward]: o.x[$.Backward] || i.x === -1,
1539
+ [$.Forward]: o.x[$.Forward] || i.x === 1
1540
1540
  },
1541
1541
  y: {
1542
- [B.Backward]: o.y[B.Backward] || i.y === -1,
1543
- [B.Forward]: o.y[B.Forward] || i.y === 1
1542
+ [$.Backward]: o.y[$.Backward] || i.y === -1,
1543
+ [$.Forward]: o.y[$.Forward] || i.y === 1
1544
1544
  }
1545
1545
  };
1546
1546
  }, [n, t, r]);
@@ -1581,36 +1581,36 @@ function Qr(e, t) {
1581
1581
  const [i, s] = ee(null), {
1582
1582
  frequency: a,
1583
1583
  measure: l,
1584
- strategy: d
1585
- } = o, u = L(e), c = b(), h = Ve(c), f = X(function(w) {
1586
- w === void 0 && (w = []), !h.current && s((p) => p === null ? w : p.concat(w.filter((m) => !p.includes(m))));
1587
- }, [h]), v = L(null), g = Ze((w) => {
1588
- if (c && !n)
1584
+ strategy: u
1585
+ } = o, c = L(e), d = b(), h = Ve(d), f = K(function(x) {
1586
+ x === void 0 && (x = []), !h.current && s((p) => p === null ? x : p.concat(x.filter((y) => !p.includes(y))));
1587
+ }, [h]), v = L(null), g = Ze((x) => {
1588
+ if (d && !n)
1589
1589
  return _t;
1590
- if (!w || w === _t || u.current !== e || i != null) {
1590
+ if (!x || x === _t || c.current !== e || i != null) {
1591
1591
  const p = /* @__PURE__ */ new Map();
1592
- for (let m of e) {
1593
- if (!m)
1592
+ for (let y of e) {
1593
+ if (!y)
1594
1594
  continue;
1595
- if (i && i.length > 0 && !i.includes(m.id) && m.rect.current) {
1596
- p.set(m.id, m.rect.current);
1595
+ if (i && i.length > 0 && !i.includes(y.id) && y.rect.current) {
1596
+ p.set(y.id, y.rect.current);
1597
1597
  continue;
1598
1598
  }
1599
- const C = m.node.current, D = C ? new Nt(l(C), C) : null;
1600
- m.rect.current = D, D && p.set(m.id, D);
1599
+ const R = y.node.current, S = R ? new Nt(l(R), R) : null;
1600
+ y.rect.current = S, S && p.set(y.id, S);
1601
1601
  }
1602
1602
  return p;
1603
1603
  }
1604
- return w;
1605
- }, [e, i, n, c, l]);
1604
+ return x;
1605
+ }, [e, i, n, d, l]);
1606
1606
  return M(() => {
1607
- u.current = e;
1607
+ c.current = e;
1608
1608
  }, [e]), M(
1609
1609
  () => {
1610
- c || f();
1610
+ d || f();
1611
1611
  },
1612
1612
  // eslint-disable-next-line react-hooks/exhaustive-deps
1613
- [n, c]
1613
+ [n, d]
1614
1614
  ), M(
1615
1615
  () => {
1616
1616
  i && i.length > 0 && s(null);
@@ -1619,19 +1619,19 @@ function Qr(e, t) {
1619
1619
  [JSON.stringify(i)]
1620
1620
  ), M(
1621
1621
  () => {
1622
- c || typeof a != "number" || v.current !== null || (v.current = setTimeout(() => {
1622
+ d || typeof a != "number" || v.current !== null || (v.current = setTimeout(() => {
1623
1623
  f(), v.current = null;
1624
1624
  }, a));
1625
1625
  },
1626
1626
  // eslint-disable-next-line react-hooks/exhaustive-deps
1627
- [a, c, f, ...r]
1627
+ [a, d, f, ...r]
1628
1628
  ), {
1629
1629
  droppableRects: g,
1630
1630
  measureDroppableContainers: f,
1631
1631
  measuringScheduled: i != null
1632
1632
  };
1633
1633
  function b() {
1634
- switch (d) {
1634
+ switch (u) {
1635
1635
  case Ge.Always:
1636
1636
  return !1;
1637
1637
  case Ge.BeforeDragging:
@@ -1692,22 +1692,22 @@ function Zt(e, t, n) {
1692
1692
  if (!e)
1693
1693
  return null;
1694
1694
  if (e.isConnected === !1) {
1695
- var d;
1696
- return (d = l ?? n) != null ? d : null;
1695
+ var u;
1696
+ return (u = l ?? n) != null ? u : null;
1697
1697
  }
1698
- const u = t(e);
1699
- return JSON.stringify(l) === JSON.stringify(u) ? l : u;
1698
+ const c = t(e);
1699
+ return JSON.stringify(l) === JSON.stringify(c) ? l : c;
1700
1700
  });
1701
1701
  }
1702
1702
  const s = to({
1703
1703
  callback(l) {
1704
1704
  if (e)
1705
- for (const d of l) {
1705
+ for (const u of l) {
1706
1706
  const {
1707
- type: u,
1708
- target: c
1709
- } = d;
1710
- if (u === "childList" && c instanceof HTMLElement && c.contains(e)) {
1707
+ type: c,
1708
+ target: d
1709
+ } = u;
1710
+ if (c === "childList" && d instanceof HTMLElement && d.contains(e)) {
1711
1711
  i();
1712
1712
  break;
1713
1713
  }
@@ -1735,7 +1735,7 @@ function oo(e) {
1735
1735
  }, [e]), n;
1736
1736
  }
1737
1737
  function io(e) {
1738
- const [t, n] = ee(null), r = L(e), o = X((i) => {
1738
+ const [t, n] = ee(null), r = L(e), o = K((i) => {
1739
1739
  const s = yt(i.target);
1740
1740
  s && n((a) => a ? (a.set(s, Dt(s)), new Map(a)) : null);
1741
1741
  }, []);
@@ -1744,10 +1744,10 @@ function io(e) {
1744
1744
  if (e !== i) {
1745
1745
  s(i);
1746
1746
  const a = e.map((l) => {
1747
- const d = yt(l);
1748
- return d ? (d.addEventListener("scroll", o, {
1747
+ const u = yt(l);
1748
+ return u ? (u.addEventListener("scroll", o, {
1749
1749
  passive: !0
1750
- }), [d, Dt(d)]) : null;
1750
+ }), [u, Dt(u)]) : null;
1751
1751
  }).filter((l) => l != null);
1752
1752
  n(a.length ? new Map(a) : null), r.current = e;
1753
1753
  }
@@ -1756,8 +1756,8 @@ function io(e) {
1756
1756
  };
1757
1757
  function s(a) {
1758
1758
  a.forEach((l) => {
1759
- const d = yt(l);
1760
- d == null || d.removeEventListener("scroll", o);
1759
+ const u = yt(l);
1760
+ u == null || u.removeEventListener("scroll", o);
1761
1761
  });
1762
1762
  }
1763
1763
  }, [o, e]), O(() => e.length ? t ? Array.from(t.values()).reduce((i, s) => Le(i, s), ie) : wn(e) : ie, [e, t]);
@@ -1819,7 +1819,7 @@ function Dn(e) {
1819
1819
  const tn = [];
1820
1820
  function lo(e, t) {
1821
1821
  t === void 0 && (t = Pe);
1822
- const [n] = e, r = Dn(n ? q(n) : null), [o, i] = ee(tn);
1822
+ const [n] = e, r = Dn(n ? G(n) : null), [o, i] = ee(tn);
1823
1823
  function s() {
1824
1824
  i(() => e.length ? e.map((l) => yn(l) ? r : new Nt(t(l), l)) : tn);
1825
1825
  }
@@ -1842,15 +1842,15 @@ function uo(e) {
1842
1842
  let {
1843
1843
  measure: t
1844
1844
  } = e;
1845
- const [n, r] = ee(null), o = X((d) => {
1845
+ const [n, r] = ee(null), o = K((u) => {
1846
1846
  for (const {
1847
- target: u
1848
- } of d)
1849
- if (_e(u)) {
1850
- r((c) => {
1851
- const h = t(u);
1852
- return c ? {
1853
- ...c,
1847
+ target: c
1848
+ } of u)
1849
+ if (_e(c)) {
1850
+ r((d) => {
1851
+ const h = t(c);
1852
+ return d ? {
1853
+ ...d,
1854
1854
  width: h.width,
1855
1855
  height: h.height
1856
1856
  } : h;
@@ -1859,9 +1859,9 @@ function uo(e) {
1859
1859
  }
1860
1860
  }, [t]), i = ft({
1861
1861
  callback: o
1862
- }), s = X((d) => {
1863
- const u = co(d);
1864
- i == null || i.disconnect(), u && (i == null || i.observe(u)), r(u ? t(u) : null);
1862
+ }), s = K((u) => {
1863
+ const c = co(u);
1864
+ i == null || i.disconnect(), c && (i == null || i.observe(c)), r(c ? t(c) : null);
1865
1865
  }, [t, i]), [a, l] = at(s);
1866
1866
  return O(() => ({
1867
1867
  nodeRef: a,
@@ -1969,7 +1969,7 @@ function vo() {
1969
1969
  }
1970
1970
  function po(e, t) {
1971
1971
  switch (t.type) {
1972
- case P.DragStart:
1972
+ case F.DragStart:
1973
1973
  return {
1974
1974
  ...e,
1975
1975
  draggable: {
@@ -1978,7 +1978,7 @@ function po(e, t) {
1978
1978
  active: t.active
1979
1979
  }
1980
1980
  };
1981
- case P.DragMove:
1981
+ case F.DragMove:
1982
1982
  return e.draggable.active == null ? e : {
1983
1983
  ...e,
1984
1984
  draggable: {
@@ -1989,8 +1989,8 @@ function po(e, t) {
1989
1989
  }
1990
1990
  }
1991
1991
  };
1992
- case P.DragEnd:
1993
- case P.DragCancel:
1992
+ case F.DragEnd:
1993
+ case F.DragCancel:
1994
1994
  return {
1995
1995
  ...e,
1996
1996
  draggable: {
@@ -2006,7 +2006,7 @@ function po(e, t) {
2006
2006
  }
2007
2007
  }
2008
2008
  };
2009
- case P.RegisterDroppable: {
2009
+ case F.RegisterDroppable: {
2010
2010
  const {
2011
2011
  element: n
2012
2012
  } = t, {
@@ -2020,7 +2020,7 @@ function po(e, t) {
2020
2020
  }
2021
2021
  };
2022
2022
  }
2023
- case P.SetDroppableDisabled: {
2023
+ case F.SetDroppableDisabled: {
2024
2024
  const {
2025
2025
  id: n,
2026
2026
  key: r,
@@ -2040,7 +2040,7 @@ function po(e, t) {
2040
2040
  }
2041
2041
  };
2042
2042
  }
2043
- case P.UnregisterDroppable: {
2043
+ case F.UnregisterDroppable: {
2044
2044
  const {
2045
2045
  id: n,
2046
2046
  key: r
@@ -2068,7 +2068,7 @@ function yo(e) {
2068
2068
  active: n,
2069
2069
  activatorEvent: r,
2070
2070
  draggableNodes: o
2071
- } = Ee(ht), i = mt(r), s = mt(n == null ? void 0 : n.id);
2071
+ } = Ie(ht), i = mt(r), s = mt(n == null ? void 0 : n.id);
2072
2072
  return M(() => {
2073
2073
  if (!t && !r && i && s != null) {
2074
2074
  if (!Tt(i) || document.activeElement === i.target)
@@ -2078,17 +2078,17 @@ function yo(e) {
2078
2078
  return;
2079
2079
  const {
2080
2080
  activatorNode: l,
2081
- node: d
2081
+ node: u
2082
2082
  } = a;
2083
- if (!l.current && !d.current)
2083
+ if (!l.current && !u.current)
2084
2084
  return;
2085
2085
  requestAnimationFrame(() => {
2086
- for (const u of [l.current, d.current]) {
2087
- if (!u)
2086
+ for (const c of [l.current, u.current]) {
2087
+ if (!c)
2088
2088
  continue;
2089
- const c = ar(u);
2090
- if (c) {
2091
- c.focus();
2089
+ const d = ar(c);
2090
+ if (d) {
2091
+ d.focus();
2092
2092
  break;
2093
2093
  }
2094
2094
  }
@@ -2147,15 +2147,15 @@ function mo(e) {
2147
2147
  }
2148
2148
  if (i.current || !r)
2149
2149
  return;
2150
- const d = t == null ? void 0 : t.node.current;
2151
- if (!d || d.isConnected === !1)
2150
+ const u = t == null ? void 0 : t.node.current;
2151
+ if (!u || u.isConnected === !1)
2152
2152
  return;
2153
- const u = n(d), c = gn(u, r);
2154
- if (s || (c.x = 0), a || (c.y = 0), i.current = !0, Math.abs(c.x) > 0 || Math.abs(c.y) > 0) {
2155
- const h = bn(d);
2153
+ const c = n(u), d = gn(c, r);
2154
+ if (s || (d.x = 0), a || (d.y = 0), i.current = !0, Math.abs(d.x) > 0 || Math.abs(d.y) > 0) {
2155
+ const h = bn(u);
2156
2156
  h && h.scrollBy({
2157
- top: c.y,
2158
- left: c.x
2157
+ top: d.y,
2158
+ left: d.x
2159
2159
  });
2160
2160
  }
2161
2161
  }, [t, s, a, r, n]);
@@ -2175,73 +2175,73 @@ const So = /* @__PURE__ */ $n(function(t) {
2175
2175
  id: s,
2176
2176
  accessibility: a,
2177
2177
  autoScroll: l = !0,
2178
- children: d,
2179
- sensors: u = fo,
2180
- collisionDetection: c = Cr,
2178
+ children: u,
2179
+ sensors: c = fo,
2180
+ collisionDetection: d = Cr,
2181
2181
  measuring: h,
2182
2182
  modifiers: f,
2183
2183
  ...v
2184
2184
  } = t;
2185
- const g = Wn(po, void 0, vo), [b, w] = g, [p, m] = hr(), [C, D] = ee(De.Uninitialized), R = C === De.Initialized, {
2185
+ const g = Hn(po, void 0, vo), [b, x] = g, [p, y] = hr(), [R, S] = ee(De.Uninitialized), I = R === De.Initialized, {
2186
2186
  draggable: {
2187
- active: y,
2188
- nodes: x,
2189
- translate: I
2187
+ active: m,
2188
+ nodes: w,
2189
+ translate: D
2190
2190
  },
2191
2191
  droppable: {
2192
2192
  containers: N
2193
2193
  }
2194
- } = b, S = y != null ? x.get(y) : null, G = L({
2194
+ } = b, C = m != null ? w.get(m) : null, P = L({
2195
2195
  initial: null,
2196
2196
  translated: null
2197
- }), Y = O(() => {
2198
- var H;
2199
- return y != null ? {
2200
- id: y,
2197
+ }), j = O(() => {
2198
+ var Y;
2199
+ return m != null ? {
2200
+ id: m,
2201
2201
  // It's possible for the active node to unmount while dragging
2202
- data: (H = S == null ? void 0 : S.data) != null ? H : ho,
2203
- rect: G
2202
+ data: (Y = C == null ? void 0 : C.data) != null ? Y : ho,
2203
+ rect: P
2204
2204
  } : null;
2205
- }, [y, S]), T = L(null), [J, K] = ee(null), [k, se] = ee(null), j = Ve(v, Object.values(v)), ae = Qe("DndDescribedBy", s), le = O(() => N.getEnabled(), [N]), W = wo(h), {
2205
+ }, [m, C]), T = L(null), [J, U] = ee(null), [k, se] = ee(null), B = Ve(v, Object.values(v)), ae = Qe("DndDescribedBy", s), le = O(() => N.getEnabled(), [N]), X = wo(h), {
2206
2206
  droppableRects: he,
2207
2207
  measureDroppableContainers: Re,
2208
2208
  measuringScheduled: Be
2209
2209
  } = Qr(le, {
2210
- dragging: R,
2211
- dependencies: [I.x, I.y],
2212
- config: W.droppable
2213
- }), te = _r(x, y), et = O(() => k ? St(k) : null, [k]), pe = Bn(), ge = eo(te, W.draggable.measure);
2210
+ dragging: I,
2211
+ dependencies: [D.x, D.y],
2212
+ config: X.droppable
2213
+ }), te = _r(w, m), et = O(() => k ? St(k) : null, [k]), pe = Bn(), ge = eo(te, X.draggable.measure);
2214
2214
  mo({
2215
- activeNode: y != null ? x.get(y) : null,
2215
+ activeNode: m != null ? w.get(m) : null,
2216
2216
  config: pe.layoutShiftCompensation,
2217
2217
  initialRect: ge,
2218
- measure: W.draggable.measure
2218
+ measure: X.draggable.measure
2219
2219
  });
2220
- const A = Zt(te, W.draggable.measure, ge), Fe = Zt(te ? te.parentElement : null), ce = L({
2220
+ const A = Zt(te, X.draggable.measure, ge), Fe = Zt(te ? te.parentElement : null), ce = L({
2221
2221
  activatorEvent: null,
2222
2222
  active: null,
2223
2223
  activeNode: te,
2224
2224
  collisionRect: null,
2225
2225
  collisions: null,
2226
2226
  droppableRects: he,
2227
- draggableNodes: x,
2227
+ draggableNodes: w,
2228
2228
  draggingNode: null,
2229
2229
  draggingNodeRect: null,
2230
2230
  droppableContainers: N,
2231
2231
  over: null,
2232
2232
  scrollableAncestors: [],
2233
2233
  scrollAdjustedTranslate: null
2234
- }), Ie = N.getNodeFor((n = ce.current.over) == null ? void 0 : n.id), be = uo({
2235
- measure: W.dragOverlay.measure
2236
- }), ke = (r = be.nodeRef.current) != null ? r : te, Te = R ? (o = be.rect) != null ? o : A : null, jt = !!(be.nodeRef.current && be.rect), Pt = ro(jt ? null : A), gt = Dn(ke ? q(ke) : null), ye = oo(R ? Ie ?? te : null), tt = lo(ye), nt = xo(f, {
2234
+ }), Ee = N.getNodeFor((n = ce.current.over) == null ? void 0 : n.id), be = uo({
2235
+ measure: X.dragOverlay.measure
2236
+ }), ke = (r = be.nodeRef.current) != null ? r : te, Te = I ? (o = be.rect) != null ? o : A : null, jt = !!(be.nodeRef.current && be.rect), Pt = ro(jt ? null : A), gt = Dn(ke ? G(ke) : null), ye = oo(I ? Ee ?? te : null), tt = lo(ye), nt = xo(f, {
2237
2237
  transform: {
2238
- x: I.x - Pt.x,
2239
- y: I.y - Pt.y,
2238
+ x: D.x - Pt.x,
2239
+ y: D.y - Pt.y,
2240
2240
  scaleX: 1,
2241
2241
  scaleY: 1
2242
2242
  },
2243
2243
  activatorEvent: k,
2244
- active: Y,
2244
+ active: j,
2245
2245
  activeNodeRect: A,
2246
2246
  containerNodeRect: Fe,
2247
2247
  draggingNodeRect: Te,
@@ -2250,24 +2250,24 @@ const So = /* @__PURE__ */ $n(function(t) {
2250
2250
  scrollableAncestors: ye,
2251
2251
  scrollableAncestorRects: tt,
2252
2252
  windowRect: gt
2253
- }), Bt = et ? Le(et, I) : null, Ft = io(ye), Nn = en(Ft), On = en(Ft, [A]), Ae = Le(nt, Nn), Ne = Te ? Ir(Te, nt) : null, $e = Y && Ne ? c({
2254
- active: Y,
2253
+ }), Bt = et ? Le(et, D) : null, Ft = io(ye), Nn = en(Ft), On = en(Ft, [A]), Ae = Le(nt, Nn), Ne = Te ? Er(Te, nt) : null, $e = j && Ne ? d({
2254
+ active: j,
2255
2255
  collisionRect: Ne,
2256
2256
  droppableRects: he,
2257
2257
  droppableContainers: le,
2258
2258
  pointerCoordinates: Bt
2259
- }) : null, $t = mr($e, "id"), [xe, Wt] = ee(null), Mn = jt ? nt : Le(nt, On), Ln = Rr(Mn, (i = xe == null ? void 0 : xe.rect) != null ? i : null, A), bt = L(null), Ht = X(
2260
- (H, _) => {
2259
+ }) : null, $t = mr($e, "id"), [xe, Ht] = ee(null), Mn = jt ? nt : Le(nt, On), Ln = Rr(Mn, (i = xe == null ? void 0 : xe.rect) != null ? i : null, A), bt = L(null), Wt = K(
2260
+ (Y, _) => {
2261
2261
  let {
2262
2262
  sensor: Z,
2263
2263
  options: we
2264
2264
  } = _;
2265
2265
  if (T.current == null)
2266
2266
  return;
2267
- const ne = x.get(T.current);
2267
+ const ne = w.get(T.current);
2268
2268
  if (!ne)
2269
2269
  return;
2270
- const Q = H.nativeEvent, ue = new Z({
2270
+ const Q = Y.nativeEvent, ue = new Z({
2271
2271
  active: T.current,
2272
2272
  activeNode: ne,
2273
2273
  event: Q,
@@ -2275,101 +2275,101 @@ const So = /* @__PURE__ */ $n(function(t) {
2275
2275
  // Sensors need to be instantiated with refs for arguments that change over time
2276
2276
  // otherwise they are frozen in time with the stale arguments
2277
2277
  context: ce,
2278
- onAbort(F) {
2279
- if (!x.get(F))
2278
+ onAbort(H) {
2279
+ if (!w.get(H))
2280
2280
  return;
2281
2281
  const {
2282
2282
  onDragAbort: de
2283
- } = j.current, ve = {
2284
- id: F
2283
+ } = B.current, ve = {
2284
+ id: H
2285
2285
  };
2286
2286
  de == null || de(ve), p({
2287
2287
  type: "onDragAbort",
2288
2288
  event: ve
2289
2289
  });
2290
2290
  },
2291
- onPending(F, me, de, ve) {
2292
- if (!x.get(F))
2291
+ onPending(H, me, de, ve) {
2292
+ if (!w.get(H))
2293
2293
  return;
2294
2294
  const {
2295
- onDragPending: He
2296
- } = j.current, Se = {
2297
- id: F,
2295
+ onDragPending: We
2296
+ } = B.current, Se = {
2297
+ id: H,
2298
2298
  constraint: me,
2299
2299
  initialCoordinates: de,
2300
2300
  offset: ve
2301
2301
  };
2302
- He == null || He(Se), p({
2302
+ We == null || We(Se), p({
2303
2303
  type: "onDragPending",
2304
2304
  event: Se
2305
2305
  });
2306
2306
  },
2307
- onStart(F) {
2307
+ onStart(H) {
2308
2308
  const me = T.current;
2309
2309
  if (me == null)
2310
2310
  return;
2311
- const de = x.get(me);
2311
+ const de = w.get(me);
2312
2312
  if (!de)
2313
2313
  return;
2314
2314
  const {
2315
2315
  onDragStart: ve
2316
- } = j.current, We = {
2316
+ } = B.current, He = {
2317
2317
  activatorEvent: Q,
2318
2318
  active: {
2319
2319
  id: me,
2320
2320
  data: de.data,
2321
- rect: G
2321
+ rect: P
2322
2322
  }
2323
2323
  };
2324
2324
  rt(() => {
2325
- ve == null || ve(We), D(De.Initializing), w({
2326
- type: P.DragStart,
2327
- initialCoordinates: F,
2325
+ ve == null || ve(He), S(De.Initializing), x({
2326
+ type: F.DragStart,
2327
+ initialCoordinates: H,
2328
2328
  active: me
2329
2329
  }), p({
2330
2330
  type: "onDragStart",
2331
- event: We
2332
- }), K(bt.current), se(Q);
2331
+ event: He
2332
+ }), U(bt.current), se(Q);
2333
2333
  });
2334
2334
  },
2335
- onMove(F) {
2336
- w({
2337
- type: P.DragMove,
2338
- coordinates: F
2335
+ onMove(H) {
2336
+ x({
2337
+ type: F.DragMove,
2338
+ coordinates: H
2339
2339
  });
2340
2340
  },
2341
- onEnd: Oe(P.DragEnd),
2342
- onCancel: Oe(P.DragCancel)
2341
+ onEnd: Oe(F.DragEnd),
2342
+ onCancel: Oe(F.DragCancel)
2343
2343
  });
2344
2344
  bt.current = ue;
2345
- function Oe(F) {
2345
+ function Oe(H) {
2346
2346
  return async function() {
2347
2347
  const {
2348
2348
  active: de,
2349
2349
  collisions: ve,
2350
- over: We,
2351
- scrollAdjustedTranslate: He
2350
+ over: He,
2351
+ scrollAdjustedTranslate: We
2352
2352
  } = ce.current;
2353
2353
  let Se = null;
2354
- if (de && He) {
2354
+ if (de && We) {
2355
2355
  const {
2356
2356
  cancelDrop: Xe
2357
- } = j.current;
2357
+ } = B.current;
2358
2358
  Se = {
2359
2359
  activatorEvent: Q,
2360
2360
  active: de,
2361
2361
  collisions: ve,
2362
- delta: He,
2363
- over: We
2364
- }, F === P.DragEnd && typeof Xe == "function" && await Promise.resolve(Xe(Se)) && (F = P.DragCancel);
2362
+ delta: We,
2363
+ over: He
2364
+ }, H === F.DragEnd && typeof Xe == "function" && await Promise.resolve(Xe(Se)) && (H = F.DragCancel);
2365
2365
  }
2366
2366
  T.current = null, rt(() => {
2367
- w({
2368
- type: F
2369
- }), D(De.Uninitialized), Wt(null), K(null), se(null), bt.current = null;
2370
- const Xe = F === P.DragEnd ? "onDragEnd" : "onDragCancel";
2367
+ x({
2368
+ type: H
2369
+ }), S(De.Uninitialized), Ht(null), U(null), se(null), bt.current = null;
2370
+ const Xe = H === F.DragEnd ? "onDragEnd" : "onDragCancel";
2371
2371
  if (Se) {
2372
- const vt = j.current[Xe];
2372
+ const vt = B.current[Xe];
2373
2373
  vt == null || vt(Se), p({
2374
2374
  type: Xe,
2375
2375
  event: Se
@@ -2380,9 +2380,9 @@ const So = /* @__PURE__ */ $n(function(t) {
2380
2380
  }
2381
2381
  },
2382
2382
  // eslint-disable-next-line react-hooks/exhaustive-deps
2383
- [x]
2384
- ), zn = X((H, _) => (Z, we) => {
2385
- const ne = Z.nativeEvent, Q = x.get(we);
2383
+ [w]
2384
+ ), zn = K((Y, _) => (Z, we) => {
2385
+ const ne = Z.nativeEvent, Q = w.get(we);
2386
2386
  if (
2387
2387
  // Another sensor is already instantiating
2388
2388
  T.current !== null || // No active draggable
@@ -2393,17 +2393,17 @@ const So = /* @__PURE__ */ $n(function(t) {
2393
2393
  const ue = {
2394
2394
  active: Q
2395
2395
  };
2396
- H(Z, _.options, ue) === !0 && (ne.dndKit = {
2396
+ Y(Z, _.options, ue) === !0 && (ne.dndKit = {
2397
2397
  capturedBy: _.sensor
2398
- }, T.current = we, Ht(Z, _));
2399
- }, [x, Ht]), Xt = Zr(u, zn);
2400
- so(u), fe(() => {
2401
- A && C === De.Initializing && D(De.Initialized);
2402
- }, [A, C]), M(
2398
+ }, T.current = we, Wt(Z, _));
2399
+ }, [w, Wt]), Xt = Zr(c, zn);
2400
+ so(c), fe(() => {
2401
+ A && R === De.Initializing && S(De.Initialized);
2402
+ }, [A, R]), M(
2403
2403
  () => {
2404
2404
  const {
2405
- onDragMove: H
2406
- } = j.current, {
2405
+ onDragMove: Y
2406
+ } = B.current, {
2407
2407
  active: _,
2408
2408
  activatorEvent: Z,
2409
2409
  collisions: we,
@@ -2422,7 +2422,7 @@ const So = /* @__PURE__ */ $n(function(t) {
2422
2422
  over: ne
2423
2423
  };
2424
2424
  rt(() => {
2425
- H == null || H(Q), p({
2425
+ Y == null || Y(Q), p({
2426
2426
  type: "onDragMove",
2427
2427
  event: Q
2428
2428
  });
@@ -2433,23 +2433,23 @@ const So = /* @__PURE__ */ $n(function(t) {
2433
2433
  ), M(
2434
2434
  () => {
2435
2435
  const {
2436
- active: H,
2436
+ active: Y,
2437
2437
  activatorEvent: _,
2438
2438
  collisions: Z,
2439
2439
  droppableContainers: we,
2440
2440
  scrollAdjustedTranslate: ne
2441
2441
  } = ce.current;
2442
- if (!H || T.current == null || !_ || !ne)
2442
+ if (!Y || T.current == null || !_ || !ne)
2443
2443
  return;
2444
2444
  const {
2445
2445
  onDragOver: Q
2446
- } = j.current, ue = we.get($t), Oe = ue && ue.rect.current ? {
2446
+ } = B.current, ue = we.get($t), Oe = ue && ue.rect.current ? {
2447
2447
  id: ue.id,
2448
2448
  rect: ue.rect.current,
2449
2449
  data: ue.data,
2450
2450
  disabled: ue.disabled
2451
- } : null, F = {
2452
- active: H,
2451
+ } : null, H = {
2452
+ active: Y,
2453
2453
  activatorEvent: _,
2454
2454
  collisions: Z,
2455
2455
  delta: {
@@ -2459,9 +2459,9 @@ const So = /* @__PURE__ */ $n(function(t) {
2459
2459
  over: Oe
2460
2460
  };
2461
2461
  rt(() => {
2462
- Wt(Oe), Q == null || Q(F), p({
2462
+ Ht(Oe), Q == null || Q(H), p({
2463
2463
  type: "onDragOver",
2464
- event: F
2464
+ event: H
2465
2465
  });
2466
2466
  });
2467
2467
  },
@@ -2470,77 +2470,77 @@ const So = /* @__PURE__ */ $n(function(t) {
2470
2470
  ), fe(() => {
2471
2471
  ce.current = {
2472
2472
  activatorEvent: k,
2473
- active: Y,
2473
+ active: j,
2474
2474
  activeNode: te,
2475
2475
  collisionRect: Ne,
2476
2476
  collisions: $e,
2477
2477
  droppableRects: he,
2478
- draggableNodes: x,
2478
+ draggableNodes: w,
2479
2479
  draggingNode: ke,
2480
2480
  draggingNodeRect: Te,
2481
2481
  droppableContainers: N,
2482
2482
  over: xe,
2483
2483
  scrollableAncestors: ye,
2484
2484
  scrollAdjustedTranslate: Ae
2485
- }, G.current = {
2485
+ }, P.current = {
2486
2486
  initial: Te,
2487
2487
  translated: Ne
2488
2488
  };
2489
- }, [Y, te, $e, Ne, x, ke, Te, he, N, xe, ye, Ae]), qr({
2489
+ }, [j, te, $e, Ne, w, ke, Te, he, N, xe, ye, Ae]), qr({
2490
2490
  ...pe,
2491
- delta: I,
2491
+ delta: D,
2492
2492
  draggingRect: Ne,
2493
2493
  pointerCoordinates: Bt,
2494
2494
  scrollableAncestors: ye,
2495
2495
  scrollableAncestorRects: tt
2496
2496
  });
2497
2497
  const jn = O(() => ({
2498
- active: Y,
2498
+ active: j,
2499
2499
  activeNode: te,
2500
2500
  activeNodeRect: A,
2501
2501
  activatorEvent: k,
2502
2502
  collisions: $e,
2503
2503
  containerNodeRect: Fe,
2504
2504
  dragOverlay: be,
2505
- draggableNodes: x,
2505
+ draggableNodes: w,
2506
2506
  droppableContainers: N,
2507
2507
  droppableRects: he,
2508
2508
  over: xe,
2509
2509
  measureDroppableContainers: Re,
2510
2510
  scrollableAncestors: ye,
2511
2511
  scrollableAncestorRects: tt,
2512
- measuringConfiguration: W,
2512
+ measuringConfiguration: X,
2513
2513
  measuringScheduled: Be,
2514
2514
  windowRect: gt
2515
- }), [Y, te, A, k, $e, Fe, be, x, N, he, xe, Re, ye, tt, W, Be, gt]), Pn = O(() => ({
2515
+ }), [j, te, A, k, $e, Fe, be, w, N, he, xe, Re, ye, tt, X, Be, gt]), Pn = O(() => ({
2516
2516
  activatorEvent: k,
2517
2517
  activators: Xt,
2518
- active: Y,
2518
+ active: j,
2519
2519
  activeNodeRect: A,
2520
2520
  ariaDescribedById: {
2521
2521
  draggable: ae
2522
2522
  },
2523
- dispatch: w,
2524
- draggableNodes: x,
2523
+ dispatch: x,
2524
+ draggableNodes: w,
2525
2525
  over: xe,
2526
2526
  measureDroppableContainers: Re
2527
- }), [k, Xt, Y, A, w, ae, x, xe, Re]);
2528
- return V.createElement(hn.Provider, {
2529
- value: m
2530
- }, V.createElement(ht.Provider, {
2527
+ }), [k, Xt, j, A, x, ae, w, xe, Re]);
2528
+ return q.createElement(hn.Provider, {
2529
+ value: y
2530
+ }, q.createElement(ht.Provider, {
2531
2531
  value: Pn
2532
- }, V.createElement(Cn.Provider, {
2532
+ }, q.createElement(Cn.Provider, {
2533
2533
  value: jn
2534
- }, V.createElement(Rn.Provider, {
2534
+ }, q.createElement(Rn.Provider, {
2535
2535
  value: Ln
2536
- }, d)), V.createElement(yo, {
2536
+ }, u)), q.createElement(yo, {
2537
2537
  disabled: (a == null ? void 0 : a.restoreFocus) === !1
2538
- })), V.createElement(vr, {
2538
+ })), q.createElement(vr, {
2539
2539
  ...a,
2540
2540
  hiddenTextDescribedById: ae
2541
2541
  }));
2542
2542
  function Bn() {
2543
- const H = (J == null ? void 0 : J.autoScrollEnabled) === !1, _ = typeof l == "object" ? l.enabled === !1 : l === !1, Z = R && !H && !_;
2543
+ const Y = (J == null ? void 0 : J.autoScrollEnabled) === !1, _ = typeof l == "object" ? l.enabled === !1 : l === !1, Z = I && !Y && !_;
2544
2544
  return typeof l == "object" ? {
2545
2545
  ...l,
2546
2546
  enabled: Z
@@ -2560,55 +2560,55 @@ function Ro(e) {
2560
2560
  activators: s,
2561
2561
  activatorEvent: a,
2562
2562
  active: l,
2563
- activeNodeRect: d,
2564
- ariaDescribedById: u,
2565
- draggableNodes: c,
2563
+ activeNodeRect: u,
2564
+ ariaDescribedById: c,
2565
+ draggableNodes: d,
2566
2566
  over: h
2567
- } = Ee(ht), {
2567
+ } = Ie(ht), {
2568
2568
  role: f = nn,
2569
2569
  roleDescription: v = "draggable",
2570
2570
  tabIndex: g = 0
2571
- } = o ?? {}, b = (l == null ? void 0 : l.id) === t, w = Ee(b ? Rn : Do), [p, m] = at(), [C, D] = at(), R = ao(s, t), y = Ve(n);
2571
+ } = o ?? {}, b = (l == null ? void 0 : l.id) === t, x = Ie(b ? Rn : Do), [p, y] = at(), [R, S] = at(), I = ao(s, t), m = Ve(n);
2572
2572
  fe(
2573
- () => (c.set(t, {
2573
+ () => (d.set(t, {
2574
2574
  id: t,
2575
2575
  key: i,
2576
2576
  node: p,
2577
- activatorNode: C,
2578
- data: y
2577
+ activatorNode: R,
2578
+ data: m
2579
2579
  }), () => {
2580
- const I = c.get(t);
2581
- I && I.key === i && c.delete(t);
2580
+ const D = d.get(t);
2581
+ D && D.key === i && d.delete(t);
2582
2582
  }),
2583
2583
  // eslint-disable-next-line react-hooks/exhaustive-deps
2584
- [c, t]
2584
+ [d, t]
2585
2585
  );
2586
- const x = O(() => ({
2586
+ const w = O(() => ({
2587
2587
  role: f,
2588
2588
  tabIndex: g,
2589
2589
  "aria-disabled": r,
2590
2590
  "aria-pressed": b && f === nn ? !0 : void 0,
2591
2591
  "aria-roledescription": v,
2592
- "aria-describedby": u.draggable
2593
- }), [r, f, g, b, v, u.draggable]);
2592
+ "aria-describedby": c.draggable
2593
+ }), [r, f, g, b, v, c.draggable]);
2594
2594
  return {
2595
2595
  active: l,
2596
2596
  activatorEvent: a,
2597
- activeNodeRect: d,
2598
- attributes: x,
2597
+ activeNodeRect: u,
2598
+ attributes: w,
2599
2599
  isDragging: b,
2600
- listeners: r ? void 0 : R,
2600
+ listeners: r ? void 0 : I,
2601
2601
  node: p,
2602
2602
  over: h,
2603
- setNodeRef: m,
2604
- setActivatorNodeRef: D,
2605
- transform: w
2603
+ setNodeRef: y,
2604
+ setActivatorNodeRef: S,
2605
+ transform: x
2606
2606
  };
2607
2607
  }
2608
- function Eo() {
2609
- return Ee(Cn);
2608
+ function Io() {
2609
+ return Ie(Cn);
2610
2610
  }
2611
- const Io = "Droppable", ko = {
2611
+ const Eo = "Droppable", ko = {
2612
2612
  timeout: 25
2613
2613
  };
2614
2614
  function To(e) {
@@ -2618,72 +2618,72 @@ function To(e) {
2618
2618
  id: r,
2619
2619
  resizeObserverConfig: o
2620
2620
  } = e;
2621
- const i = Qe(Io), {
2621
+ const i = Qe(Eo), {
2622
2622
  active: s,
2623
2623
  dispatch: a,
2624
2624
  over: l,
2625
- measureDroppableContainers: d
2626
- } = Ee(ht), u = L({
2625
+ measureDroppableContainers: u
2626
+ } = Ie(ht), c = L({
2627
2627
  disabled: n
2628
- }), c = L(!1), h = L(null), f = L(null), {
2628
+ }), d = L(!1), h = L(null), f = L(null), {
2629
2629
  disabled: v,
2630
2630
  updateMeasurementsFor: g,
2631
2631
  timeout: b
2632
2632
  } = {
2633
2633
  ...ko,
2634
2634
  ...o
2635
- }, w = Ve(g ?? r), p = X(
2635
+ }, x = Ve(g ?? r), p = K(
2636
2636
  () => {
2637
- if (!c.current) {
2638
- c.current = !0;
2637
+ if (!d.current) {
2638
+ d.current = !0;
2639
2639
  return;
2640
2640
  }
2641
2641
  f.current != null && clearTimeout(f.current), f.current = setTimeout(() => {
2642
- d(Array.isArray(w.current) ? w.current : [w.current]), f.current = null;
2642
+ u(Array.isArray(x.current) ? x.current : [x.current]), f.current = null;
2643
2643
  }, b);
2644
2644
  },
2645
2645
  //eslint-disable-next-line react-hooks/exhaustive-deps
2646
2646
  [b]
2647
- ), m = ft({
2647
+ ), y = ft({
2648
2648
  callback: p,
2649
2649
  disabled: v || !s
2650
- }), C = X((x, I) => {
2651
- m && (I && (m.unobserve(I), c.current = !1), x && m.observe(x));
2652
- }, [m]), [D, R] = at(C), y = Ve(t);
2650
+ }), R = K((w, D) => {
2651
+ y && (D && (y.unobserve(D), d.current = !1), w && y.observe(w));
2652
+ }, [y]), [S, I] = at(R), m = Ve(t);
2653
2653
  return M(() => {
2654
- !m || !D.current || (m.disconnect(), c.current = !1, m.observe(D.current));
2655
- }, [D, m]), M(
2654
+ !y || !S.current || (y.disconnect(), d.current = !1, y.observe(S.current));
2655
+ }, [S, y]), M(
2656
2656
  () => (a({
2657
- type: P.RegisterDroppable,
2657
+ type: F.RegisterDroppable,
2658
2658
  element: {
2659
2659
  id: r,
2660
2660
  key: i,
2661
2661
  disabled: n,
2662
- node: D,
2662
+ node: S,
2663
2663
  rect: h,
2664
- data: y
2664
+ data: m
2665
2665
  }
2666
2666
  }), () => a({
2667
- type: P.UnregisterDroppable,
2667
+ type: F.UnregisterDroppable,
2668
2668
  key: i,
2669
2669
  id: r
2670
2670
  })),
2671
2671
  // eslint-disable-next-line react-hooks/exhaustive-deps
2672
2672
  [r]
2673
2673
  ), M(() => {
2674
- n !== u.current.disabled && (a({
2675
- type: P.SetDroppableDisabled,
2674
+ n !== c.current.disabled && (a({
2675
+ type: F.SetDroppableDisabled,
2676
2676
  id: r,
2677
2677
  key: i,
2678
2678
  disabled: n
2679
- }), u.current.disabled = n);
2679
+ }), c.current.disabled = n);
2680
2680
  }, [r, i, n, a]), {
2681
2681
  active: s,
2682
2682
  rect: h,
2683
2683
  isOver: (l == null ? void 0 : l.id) === r,
2684
- node: D,
2684
+ node: S,
2685
2685
  over: l,
2686
- setNodeRef: R
2686
+ setNodeRef: I
2687
2687
  };
2688
2688
  }
2689
2689
  function zt(e, t, n) {
@@ -2732,9 +2732,9 @@ const it = {
2732
2732
  return null;
2733
2733
  const l = Lo(n, s, o);
2734
2734
  if (s === o) {
2735
- const d = n[i];
2736
- return d ? {
2737
- x: o < i ? d.left + d.width - (a.left + a.width) : d.left - a.left,
2735
+ const u = n[i];
2736
+ return u ? {
2737
+ x: o < i ? u.left + u.width - (a.left + a.width) : u.left - a.left,
2738
2738
  y: 0,
2739
2739
  ...it
2740
2740
  } : null;
@@ -2757,7 +2757,7 @@ function Lo(e, t, n) {
2757
2757
  const r = e[t], o = e[t - 1], i = e[t + 1];
2758
2758
  return !r || !o && !i ? 0 : n < t ? o ? r.left - (o.left + o.width) : i.left - (r.left + r.width) : i ? i.left - (r.left + r.width) : r.left - (o.left + o.width);
2759
2759
  }
2760
- const En = (e) => {
2760
+ const In = (e) => {
2761
2761
  let {
2762
2762
  rects: t,
2763
2763
  activeIndex: n,
@@ -2771,15 +2771,15 @@ const En = (e) => {
2771
2771
  scaleX: a.width / s.width,
2772
2772
  scaleY: a.height / s.height
2773
2773
  };
2774
- }, In = "Sortable", kn = /* @__PURE__ */ V.createContext({
2774
+ }, En = "Sortable", kn = /* @__PURE__ */ q.createContext({
2775
2775
  activeIndex: -1,
2776
- containerId: In,
2776
+ containerId: En,
2777
2777
  disableTransforms: !1,
2778
2778
  items: [],
2779
2779
  overIndex: -1,
2780
2780
  useDragOverlay: !1,
2781
2781
  sortedRects: [],
2782
- strategy: En,
2782
+ strategy: In,
2783
2783
  disabled: {
2784
2784
  draggable: !1,
2785
2785
  droppable: !1
@@ -2790,27 +2790,27 @@ function zo(e) {
2790
2790
  children: t,
2791
2791
  id: n,
2792
2792
  items: r,
2793
- strategy: o = En,
2793
+ strategy: o = In,
2794
2794
  disabled: i = !1
2795
2795
  } = e;
2796
2796
  const {
2797
2797
  active: s,
2798
2798
  dragOverlay: a,
2799
2799
  droppableRects: l,
2800
- over: d,
2801
- measureDroppableContainers: u
2802
- } = Eo(), c = Qe(In, n), h = a.rect !== null, f = O(() => r.map((R) => typeof R == "object" && "id" in R ? R.id : R), [r]), v = s != null, g = s ? f.indexOf(s.id) : -1, b = d ? f.indexOf(d.id) : -1, w = L(f), p = !No(f, w.current), m = b !== -1 && g === -1 || p, C = Oo(i);
2800
+ over: u,
2801
+ measureDroppableContainers: c
2802
+ } = Io(), d = Qe(En, n), h = a.rect !== null, f = O(() => r.map((I) => typeof I == "object" && "id" in I ? I.id : I), [r]), v = s != null, g = s ? f.indexOf(s.id) : -1, b = u ? f.indexOf(u.id) : -1, x = L(f), p = !No(f, x.current), y = b !== -1 && g === -1 || p, R = Oo(i);
2803
2803
  fe(() => {
2804
- p && v && u(f);
2805
- }, [p, f, v, u]), M(() => {
2806
- w.current = f;
2804
+ p && v && c(f);
2805
+ }, [p, f, v, c]), M(() => {
2806
+ x.current = f;
2807
2807
  }, [f]);
2808
- const D = O(
2808
+ const S = O(
2809
2809
  () => ({
2810
2810
  activeIndex: g,
2811
- containerId: c,
2812
- disabled: C,
2813
- disableTransforms: m,
2811
+ containerId: d,
2812
+ disabled: R,
2813
+ disableTransforms: y,
2814
2814
  items: f,
2815
2815
  overIndex: b,
2816
2816
  useDragOverlay: h,
@@ -2818,10 +2818,10 @@ function zo(e) {
2818
2818
  strategy: o
2819
2819
  }),
2820
2820
  // eslint-disable-next-line react-hooks/exhaustive-deps
2821
- [g, c, C.draggable, C.droppable, m, f, b, l, h, o]
2821
+ [g, d, R.draggable, R.droppable, y, f, b, l, h, o]
2822
2822
  );
2823
- return V.createElement(kn.Provider, {
2824
- value: D
2823
+ return q.createElement(kn.Provider, {
2824
+ value: S
2825
2825
  }, t);
2826
2826
  }
2827
2827
  const jo = (e) => {
@@ -2842,9 +2842,9 @@ const jo = (e) => {
2842
2842
  newIndex: s,
2843
2843
  previousItems: a,
2844
2844
  previousContainerId: l,
2845
- transition: d
2845
+ transition: u
2846
2846
  } = e;
2847
- return !d || !r || a !== i && o === s ? !1 : n ? !0 : s !== o && t === l;
2847
+ return !u || !r || a !== i && o === s ? !1 : n ? !0 : s !== o && t === l;
2848
2848
  }, Po = {
2849
2849
  duration: 200,
2850
2850
  easing: "ease"
@@ -2867,15 +2867,15 @@ function $o(e) {
2867
2867
  if (!t && n !== a.current && r.current) {
2868
2868
  const l = o.current;
2869
2869
  if (l) {
2870
- const d = Pe(r.current, {
2870
+ const u = Pe(r.current, {
2871
2871
  ignoreTransform: !0
2872
- }), u = {
2873
- x: l.left - d.left,
2874
- y: l.top - d.top,
2875
- scaleX: l.width / d.width,
2876
- scaleY: l.height / d.height
2872
+ }), c = {
2873
+ x: l.left - u.left,
2874
+ y: l.top - u.top,
2875
+ scaleX: l.width / u.width,
2876
+ scaleY: l.height / u.height
2877
2877
  };
2878
- (u.x || u.y) && s(u);
2878
+ (c.x || c.y) && s(c);
2879
2879
  }
2880
2880
  }
2881
2881
  n !== a.current && (a.current = n);
@@ -2883,7 +2883,7 @@ function $o(e) {
2883
2883
  i && s(null);
2884
2884
  }, [i]), i;
2885
2885
  }
2886
- function Wo(e) {
2886
+ function Ho(e) {
2887
2887
  let {
2888
2888
  animateLayoutChanges: t = Tn,
2889
2889
  attributes: n,
@@ -2893,95 +2893,95 @@ function Wo(e) {
2893
2893
  id: s,
2894
2894
  strategy: a,
2895
2895
  resizeObserverConfig: l,
2896
- transition: d = Po
2896
+ transition: u = Po
2897
2897
  } = e;
2898
2898
  const {
2899
- items: u,
2900
- containerId: c,
2899
+ items: c,
2900
+ containerId: d,
2901
2901
  activeIndex: h,
2902
2902
  disabled: f,
2903
2903
  disableTransforms: v,
2904
2904
  sortedRects: g,
2905
2905
  overIndex: b,
2906
- useDragOverlay: w,
2906
+ useDragOverlay: x,
2907
2907
  strategy: p
2908
- } = Ee(kn), m = Ho(r, f), C = u.indexOf(s), D = O(() => ({
2908
+ } = Ie(kn), y = Wo(r, f), R = c.indexOf(s), S = O(() => ({
2909
2909
  sortable: {
2910
- containerId: c,
2911
- index: C,
2912
- items: u
2910
+ containerId: d,
2911
+ index: R,
2912
+ items: c
2913
2913
  },
2914
2914
  ...o
2915
- }), [c, o, C, u]), R = O(() => u.slice(u.indexOf(s)), [u, s]), {
2916
- rect: y,
2917
- node: x,
2918
- isOver: I,
2915
+ }), [d, o, R, c]), I = O(() => c.slice(c.indexOf(s)), [c, s]), {
2916
+ rect: m,
2917
+ node: w,
2918
+ isOver: D,
2919
2919
  setNodeRef: N
2920
2920
  } = To({
2921
2921
  id: s,
2922
- data: D,
2923
- disabled: m.droppable,
2922
+ data: S,
2923
+ disabled: y.droppable,
2924
2924
  resizeObserverConfig: {
2925
- updateMeasurementsFor: R,
2925
+ updateMeasurementsFor: I,
2926
2926
  ...l
2927
2927
  }
2928
2928
  }), {
2929
- active: S,
2930
- activatorEvent: G,
2931
- activeNodeRect: Y,
2929
+ active: C,
2930
+ activatorEvent: P,
2931
+ activeNodeRect: j,
2932
2932
  attributes: T,
2933
2933
  setNodeRef: J,
2934
- listeners: K,
2934
+ listeners: U,
2935
2935
  isDragging: k,
2936
2936
  over: se,
2937
- setActivatorNodeRef: j,
2937
+ setActivatorNodeRef: B,
2938
2938
  transform: ae
2939
2939
  } = Ro({
2940
2940
  id: s,
2941
- data: D,
2941
+ data: S,
2942
2942
  attributes: {
2943
2943
  ...Fo,
2944
2944
  ...n
2945
2945
  },
2946
- disabled: m.draggable
2947
- }), le = rr(N, J), W = !!S, he = W && !v && ot(h) && ot(b), Re = !w && k, Be = Re && he ? ae : null, et = he ? Be ?? (a ?? p)({
2946
+ disabled: y.draggable
2947
+ }), le = rr(N, J), X = !!C, he = X && !v && ot(h) && ot(b), Re = !x && k, Be = Re && he ? ae : null, et = he ? Be ?? (a ?? p)({
2948
2948
  rects: g,
2949
- activeNodeRect: Y,
2949
+ activeNodeRect: j,
2950
2950
  activeIndex: h,
2951
2951
  overIndex: b,
2952
- index: C
2952
+ index: R
2953
2953
  }) : null, pe = ot(h) && ot(b) ? i({
2954
2954
  id: s,
2955
- items: u,
2955
+ items: c,
2956
2956
  activeIndex: h,
2957
2957
  overIndex: b
2958
- }) : C, ge = S == null ? void 0 : S.id, A = L({
2958
+ }) : R, ge = C == null ? void 0 : C.id, A = L({
2959
2959
  activeId: ge,
2960
- items: u,
2960
+ items: c,
2961
2961
  newIndex: pe,
2962
- containerId: c
2963
- }), Fe = u !== A.current.items, ce = t({
2964
- active: S,
2965
- containerId: c,
2962
+ containerId: d
2963
+ }), Fe = c !== A.current.items, ce = t({
2964
+ active: C,
2965
+ containerId: d,
2966
2966
  isDragging: k,
2967
- isSorting: W,
2967
+ isSorting: X,
2968
2968
  id: s,
2969
- index: C,
2970
- items: u,
2969
+ index: R,
2970
+ items: c,
2971
2971
  newIndex: A.current.newIndex,
2972
2972
  previousItems: A.current.items,
2973
2973
  previousContainerId: A.current.containerId,
2974
- transition: d,
2974
+ transition: u,
2975
2975
  wasDragging: A.current.activeId != null
2976
- }), Ie = $o({
2976
+ }), Ee = $o({
2977
2977
  disabled: !ce,
2978
- index: C,
2979
- node: x,
2980
- rect: y
2978
+ index: R,
2979
+ node: w,
2980
+ rect: m
2981
2981
  });
2982
2982
  return M(() => {
2983
- W && A.current.newIndex !== pe && (A.current.newIndex = pe), c !== A.current.containerId && (A.current.containerId = c), u !== A.current.items && (A.current.items = u);
2984
- }, [W, pe, c, u]), M(() => {
2983
+ X && A.current.newIndex !== pe && (A.current.newIndex = pe), d !== A.current.containerId && (A.current.containerId = d), c !== A.current.items && (A.current.items = c);
2984
+ }, [X, pe, d, c]), M(() => {
2985
2985
  if (ge === A.current.activeId)
2986
2986
  return;
2987
2987
  if (ge != null && A.current.activeId == null) {
@@ -2993,43 +2993,43 @@ function Wo(e) {
2993
2993
  }, 50);
2994
2994
  return () => clearTimeout(ke);
2995
2995
  }, [ge]), {
2996
- active: S,
2996
+ active: C,
2997
2997
  activeIndex: h,
2998
2998
  attributes: T,
2999
- data: D,
3000
- rect: y,
3001
- index: C,
2999
+ data: S,
3000
+ rect: m,
3001
+ index: R,
3002
3002
  newIndex: pe,
3003
- items: u,
3004
- isOver: I,
3005
- isSorting: W,
3003
+ items: c,
3004
+ isOver: D,
3005
+ isSorting: X,
3006
3006
  isDragging: k,
3007
- listeners: K,
3008
- node: x,
3007
+ listeners: U,
3008
+ node: w,
3009
3009
  overIndex: b,
3010
3010
  over: se,
3011
3011
  setNodeRef: le,
3012
- setActivatorNodeRef: j,
3012
+ setActivatorNodeRef: B,
3013
3013
  setDroppableNodeRef: N,
3014
3014
  setDraggableNodeRef: J,
3015
- transform: Ie ?? et,
3015
+ transform: Ee ?? et,
3016
3016
  transition: be()
3017
3017
  };
3018
3018
  function be() {
3019
3019
  if (
3020
3020
  // Temporarily disable transitions for a single frame to set up derived transforms
3021
- Ie || // Or to prevent items jumping to back to their "new" position when items change
3022
- Fe && A.current.newIndex === C
3021
+ Ee || // Or to prevent items jumping to back to their "new" position when items change
3022
+ Fe && A.current.newIndex === R
3023
3023
  )
3024
3024
  return Bo;
3025
- if (!(Re && !Tt(G) || !d) && (W || ce))
3025
+ if (!(Re && !Tt(P) || !u) && (X || ce))
3026
3026
  return qe.Transition.toString({
3027
- ...d,
3027
+ ...u,
3028
3028
  property: An
3029
3029
  });
3030
3030
  }
3031
3031
  }
3032
- function Ho(e, t) {
3032
+ function Wo(e, t) {
3033
3033
  var n, r;
3034
3034
  return typeof e == "boolean" ? {
3035
3035
  draggable: e,
@@ -3066,17 +3066,17 @@ const Xo = ({ className: e }) => /* @__PURE__ */ z.jsxs(
3066
3066
  dragHandleIcon: a,
3067
3067
  theme: l = "light"
3068
3068
  }) => {
3069
- const d = Ce.useRef(null), [u, c] = Ce.useState(null), h = (y) => {
3070
- const { isSorting: x, wasDragging: I } = y;
3071
- return x || I ? Tn(y) : !0;
3069
+ const u = Ce.useRef(null), [c, d] = Ce.useState(null), h = (D) => {
3070
+ const { isSorting: N, wasDragging: C } = D;
3071
+ return N || C ? Tn(D) : !0;
3072
3072
  }, {
3073
3073
  attributes: f,
3074
3074
  listeners: v,
3075
3075
  setNodeRef: g,
3076
3076
  transform: b,
3077
- transition: w,
3077
+ transition: x,
3078
3078
  isDragging: p
3079
- } = Wo({
3079
+ } = Ho({
3080
3080
  id: e.key || `col-${t}`,
3081
3081
  disabled: !s || !!e.fixed,
3082
3082
  animateLayoutChanges: h,
@@ -3084,49 +3084,49 @@ const Xo = ({ className: e }) => /* @__PURE__ */ z.jsxs(
3084
3084
  duration: 250,
3085
3085
  easing: "cubic-bezier(0.25, 1, 0.5, 1)"
3086
3086
  }
3087
- }), m = Ce.useCallback(
3088
- (y) => {
3089
- d.current = y, g(y);
3087
+ }), y = Ce.useCallback(
3088
+ (D) => {
3089
+ u.current = D, g(D);
3090
3090
  },
3091
3091
  [g]
3092
3092
  );
3093
3093
  Ce.useEffect(() => {
3094
- if (p && d.current) {
3095
- const y = d.current.getBoundingClientRect().width;
3096
- c(y);
3094
+ if (p && u.current) {
3095
+ const D = u.current.getBoundingClientRect().width;
3096
+ d(D);
3097
3097
  } else
3098
- p || c(null);
3098
+ p || d(null);
3099
3099
  }, [p]);
3100
- const C = () => {
3101
- const y = p && u ? `${u}px` : e.width || "auto";
3102
- let x = "auto";
3103
- e.fixed ? x = p ? 1001 : 1e3 : p && (x = 100);
3104
- const I = {
3100
+ const R = () => {
3101
+ const D = p && c ? `${c}px` : e.width || "auto";
3102
+ let N = "auto";
3103
+ e.fixed ? N = p ? 1001 : 1e3 : p && (N = 100);
3104
+ const C = {
3105
3105
  transform: b ? qe.Translate.toString(b) : void 0,
3106
- transition: w || "transform 250ms cubic-bezier(0.25, 1, 0.5, 1)",
3106
+ transition: x || "transform 250ms cubic-bezier(0.25, 1, 0.5, 1)",
3107
3107
  willChange: "transform",
3108
- width: y,
3108
+ width: D,
3109
3109
  textAlign: oe.getTextAlign(e.align),
3110
3110
  opacity: p ? 0.5 : 1,
3111
3111
  // cursor 由 className 控制,不在 inline style 中设置
3112
- zIndex: x,
3112
+ zIndex: N,
3113
3113
  whiteSpace: "nowrap",
3114
3114
  overflow: "hidden",
3115
3115
  textOverflow: "ellipsis"
3116
3116
  };
3117
- if (p && u && (I.minWidth = `${u}px`, I.maxWidth = `${u}px`), e.fixed === "left") {
3118
- let N = 0;
3119
- for (let S = 0; S < t; S++)
3120
- n[S].fixed === "left" && (N += parseInt(n[S].width || "150"));
3121
- I.left = `${N}px`;
3117
+ if (p && c && (C.minWidth = `${c}px`, C.maxWidth = `${c}px`), e.fixed === "left") {
3118
+ let P = 0;
3119
+ for (let j = 0; j < t; j++)
3120
+ n[j].fixed === "left" && (P += parseInt(n[j].width || "150"));
3121
+ C.left = `${P}px`;
3122
3122
  } else if (e.fixed === "right") {
3123
- let N = 0;
3124
- for (let S = t + 1; S < n.length; S++)
3125
- n[S].fixed === "right" && (N += parseInt(n[S].width || "150"));
3126
- I.right = `${N}px`;
3123
+ let P = 0;
3124
+ for (let j = t + 1; j < n.length; j++)
3125
+ n[j].fixed === "right" && (P += parseInt(n[j].width || "150"));
3126
+ C.right = `${P}px`;
3127
3127
  }
3128
- return I;
3129
- }, D = Me(
3128
+ return C;
3129
+ }, S = Me(
3130
3130
  "bu-group",
3131
3131
  oe.getThClasses({
3132
3132
  theme: l,
@@ -3135,15 +3135,18 @@ const Xo = ({ className: e }) => /* @__PURE__ */ z.jsxs(
3135
3135
  isDragging: p,
3136
3136
  draggable: s
3137
3137
  })
3138
- ), R = s && !e.fixed;
3138
+ ), I = s && !e.fixed, m = e.filter && e.key, w = (D) => {
3139
+ m && (D.target.closest(".drag-handle-icon") || o(e));
3140
+ };
3139
3141
  return /* @__PURE__ */ z.jsx(
3140
3142
  "th",
3141
3143
  {
3142
- ref: m,
3143
- className: D,
3144
- style: C(),
3144
+ ref: y,
3145
+ className: S,
3146
+ style: R(),
3145
3147
  ...f,
3146
3148
  ...v,
3149
+ onClick: w,
3147
3150
  children: /* @__PURE__ */ z.jsxs(
3148
3151
  "div",
3149
3152
  {
@@ -3152,18 +3155,19 @@ const Xo = ({ className: e }) => /* @__PURE__ */ z.jsxs(
3152
3155
  children: [
3153
3156
  /* @__PURE__ */ z.jsxs("div", { className: "bu-flex bu-items-center", children: [
3154
3157
  e.renderHeader ? e.renderHeader([]) : e.title,
3155
- i(e, o),
3158
+ i(e),
3156
3159
  e.renderEndIcon ? e.renderEndIcon() : null
3157
3160
  ] }),
3158
- R && /* @__PURE__ */ z.jsx(
3161
+ I && /* @__PURE__ */ z.jsx(
3159
3162
  "span",
3160
3163
  {
3161
- className: Me(
3164
+ "data-drag-handle": !0,
3165
+ className: `${Me(
3162
3166
  oe.dragHandle({
3163
3167
  theme: l
3164
3168
  }),
3165
3169
  "group-hover:bu-opacity-100"
3166
- ),
3170
+ )} drag-handle-icon`,
3167
3171
  style: {
3168
3172
  display: "flex",
3169
3173
  alignItems: "center",
@@ -3186,23 +3190,21 @@ const Xo = ({ className: e }) => /* @__PURE__ */ z.jsxs(
3186
3190
  theadClass: i,
3187
3191
  draggable: s = !1,
3188
3192
  dragHandleIcon: a,
3189
- theme: l = "light"
3190
- } = e, d = (c) => {
3191
- c.filter && c.key && r(c.key, c.type);
3192
- }, u = (c, h) => {
3193
- if (!c.filter || !c.key)
3193
+ theme: l = "light",
3194
+ rowIdPrefix: u
3195
+ } = e, c = (h) => {
3196
+ h.filter && h.key && r(h.key, h.type);
3197
+ }, d = (h) => {
3198
+ if (!h.filter || !h.key)
3194
3199
  return null;
3195
- const f = n[c.key] || U.default, v = l === "dark" ? "#EBECF5" : "#0A0A0A", g = "#F80", b = f !== U.default;
3200
+ const f = n[h.key] || V.default, v = l === "dark" ? "#EBECF5" : "#0A0A0A", g = "#F80", b = f !== V.default;
3196
3201
  return /* @__PURE__ */ z.jsx(
3197
3202
  "span",
3198
3203
  {
3199
3204
  className: Me(
3200
3205
  "bu-inline-flex bu-align-middle bu-transition-opacity bu-duration-200",
3201
- "bu-ml-[4px] bu-cursor-pointer"
3206
+ "bu-ml-[4px]"
3202
3207
  ),
3203
- onClick: (w) => {
3204
- w.stopPropagation(), h(c);
3205
- },
3206
3208
  children: /* @__PURE__ */ z.jsxs(
3207
3209
  "svg",
3208
3210
  {
@@ -3220,16 +3222,16 @@ const Xo = ({ className: e }) => /* @__PURE__ */ z.jsxs(
3220
3222
  "path",
3221
3223
  {
3222
3224
  d: "M5.4847 3.04301V4.10942H0.151367V3.04301L2.81803 0.376343L5.4847 3.04301Z",
3223
- fill: f === U.asc ? g : v,
3224
- fillOpacity: f === U.asc ? "1" : "0.2"
3225
+ fill: f === V.asc ? g : v,
3226
+ fillOpacity: f === V.asc ? "1" : "0.2"
3225
3227
  }
3226
3228
  ),
3227
3229
  /* @__PURE__ */ z.jsx(
3228
3230
  "path",
3229
3231
  {
3230
3232
  d: "M5.4847 5.89067V6.95707L2.81803 9.62374L0.151367 6.95707V5.89067H5.4847Z",
3231
- fill: f === U.desc ? g : v,
3232
- fillOpacity: f === U.desc ? "1" : "0.2"
3233
+ fill: f === V.desc ? g : v,
3234
+ fillOpacity: f === V.desc ? "1" : "0.2"
3233
3235
  }
3234
3236
  )
3235
3237
  ]
@@ -3238,50 +3240,50 @@ const Xo = ({ className: e }) => /* @__PURE__ */ z.jsxs(
3238
3240
  }
3239
3241
  );
3240
3242
  };
3241
- return /* @__PURE__ */ z.jsx("thead", { className: Me(oe.thead({ theme: l }), i), children: /* @__PURE__ */ z.jsx("tr", { children: t.map((c, h) => /* @__PURE__ */ z.jsx(
3243
+ return /* @__PURE__ */ z.jsx("thead", { className: Me(oe.thead({ theme: l }), i), children: /* @__PURE__ */ z.jsx("tr", { id: u ? `${u}-thead` : "", children: t.map((h, f) => /* @__PURE__ */ z.jsx(
3242
3244
  Yo,
3243
3245
  {
3244
- column: c,
3245
- index: h,
3246
+ column: h,
3247
+ index: f,
3246
3248
  columns: t,
3247
- sortState: c.key ? n[c.key] : void 0,
3248
- onSort: d,
3249
- renderSortIcon: u,
3250
- isDragging: c.key === o,
3249
+ sortState: h.key ? n[h.key] : void 0,
3250
+ onSort: c,
3251
+ renderSortIcon: d,
3252
+ isDragging: h.key === o,
3251
3253
  draggable: s,
3252
3254
  dragHandleIcon: a,
3253
3255
  theme: l
3254
3256
  },
3255
- c.key || h
3257
+ h.key || f
3256
3258
  )) }) });
3257
3259
  }, Uo = (e) => {
3258
- const { columns: t, data: n, rowKey: r, tdClass: o, tbodyClass: i, theme: s = "light" } = e, a = (u, c) => {
3260
+ const { columns: t, data: n, rowKey: r, tdClass: o, tbodyClass: i, theme: s = "light" } = e, a = (c, d) => {
3259
3261
  const h = {
3260
- textAlign: oe.getTextAlign(u.align)
3262
+ textAlign: oe.getTextAlign(c.align)
3261
3263
  };
3262
- if (u.fixed === "left") {
3264
+ if (c.fixed === "left") {
3263
3265
  let f = 0;
3264
- for (let v = 0; v < c; v++)
3266
+ for (let v = 0; v < d; v++)
3265
3267
  t[v].fixed === "left" && (f += parseInt(t[v].width || "150"));
3266
3268
  h.left = `${f}px`;
3267
- } else if (u.fixed === "right") {
3269
+ } else if (c.fixed === "right") {
3268
3270
  let f = 0;
3269
- for (let v = c + 1; v < t.length; v++)
3271
+ for (let v = d + 1; v < t.length; v++)
3270
3272
  t[v].fixed === "right" && (f += parseInt(t[v].width || "150"));
3271
3273
  h.right = `${f}px`;
3272
3274
  }
3273
3275
  return h;
3274
- }, l = (u, c, h) => u.render ? u.render(c, h) : u.key ? c[u.key] : null, d = (u, c, h) => {
3275
- if (u.onCell)
3276
- return u.onCell(c, h);
3276
+ }, l = (c, d, h) => c.render ? c.render(d, h) : c.key ? d[c.key] : null, u = (c, d, h) => {
3277
+ if (c.onCell)
3278
+ return c.onCell(d, h);
3277
3279
  };
3278
- return /* @__PURE__ */ z.jsx("tbody", { className: Me(oe.tbody({ theme: s }), i), children: n.map((u, c) => /* @__PURE__ */ z.jsx(
3280
+ return /* @__PURE__ */ z.jsx("tbody", { className: Me(oe.tbody({ theme: s }), i), children: n.map((c, d) => /* @__PURE__ */ z.jsx(
3279
3281
  "tr",
3280
3282
  {
3281
- id: e.rowIdPrefix ? `${e.rowIdPrefix}-${c}` : "",
3283
+ id: e.rowIdPrefix ? `${e.rowIdPrefix}-${d}` : "",
3282
3284
  className: oe.tr({ theme: s }),
3283
3285
  children: t.map((h, f) => {
3284
- const v = d(h, u, c);
3286
+ const v = u(h, c, d);
3285
3287
  return v === 0 ? null : /* @__PURE__ */ z.jsx(
3286
3288
  "td",
3287
3289
  {
@@ -3292,13 +3294,13 @@ const Xo = ({ className: e }) => /* @__PURE__ */ z.jsxs(
3292
3294
  }),
3293
3295
  style: a(h, f),
3294
3296
  colSpan: v,
3295
- children: l(h, u, c)
3297
+ children: l(h, c, d)
3296
3298
  },
3297
3299
  h.key || f
3298
3300
  );
3299
3301
  })
3300
3302
  },
3301
- u[r] || c
3303
+ c[r] || d
3302
3304
  )) });
3303
3305
  }, Vo = (e) => {
3304
3306
  let {
@@ -3318,14 +3320,14 @@ const Xo = ({ className: e }) => /* @__PURE__ */ z.jsxs(
3318
3320
  tbodyClass: s,
3319
3321
  renderEmpty: a,
3320
3322
  onSortChange: l,
3321
- tableLayout: d = "auto",
3322
- draggable: u = !1,
3323
+ tableLayout: u = "auto",
3324
+ draggable: c = !1,
3323
3325
  // 默认不启用拖拽
3324
- onColumnsChange: c,
3326
+ onColumnsChange: d,
3325
3327
  dragHandleIcon: h,
3326
3328
  maxHeight: f,
3327
3329
  rowIdPrefix: v
3328
- } = e, { theme: g } = Hn(), [b, w] = Ce.useState(t), [p, m] = Ce.useState({}), [C, D] = Ce.useState(null), R = pr(
3330
+ } = e, { theme: g } = Wn(), [b, x] = Ce.useState(t), [p, y] = Ce.useState({}), [R, S] = Ce.useState(null), I = pr(
3329
3331
  Kt(Lt, {
3330
3332
  activationConstraint: {
3331
3333
  distance: 8
@@ -3335,45 +3337,45 @@ const Xo = ({ className: e }) => /* @__PURE__ */ z.jsxs(
3335
3337
  Kt(Ot)
3336
3338
  );
3337
3339
  Ce.useEffect(() => {
3338
- w(t);
3340
+ x(t);
3339
3341
  }, [t]);
3340
- const y = (T, J) => {
3341
- const K = p[T] || U.default;
3342
+ const m = (T, J) => {
3343
+ const U = p[T] || V.default;
3342
3344
  let k;
3343
- K === U.default ? k = U.desc : K === U.desc ? k = U.asc : k = U.default;
3345
+ U === V.default ? k = V.desc : U === V.desc ? k = V.asc : k = V.default;
3344
3346
  const se = J || "single";
3345
- let j;
3346
- if (se === "single" ? j = { [T]: k } : (j = { ...p, [T]: k }, k === U.default && delete j[T]), m(j), l)
3347
+ let B;
3348
+ if (se === "single" ? B = { [T]: k } : (B = { ...p, [T]: k }, k === V.default && delete B[T]), y(B), l)
3347
3349
  if (se === "single")
3348
3350
  l({ sortKey: T, sort: k });
3349
3351
  else {
3350
- const ae = Object.entries(j).map(([le, W]) => ({
3352
+ const ae = Object.entries(B).map(([le, X]) => ({
3351
3353
  sortKey: le,
3352
- sort: W
3354
+ sort: X
3353
3355
  }));
3354
3356
  l(ae);
3355
3357
  }
3356
- }, x = (T) => {
3357
- D(T.active.id);
3358
- }, I = (T) => {
3359
- const { active: J, over: K } = T;
3360
- D(null), !(!K || J.id === K.id) && w((k) => {
3361
- const se = k.findIndex((le) => le.key === J.id), j = k.findIndex((le) => le.key === K.id);
3362
- if (se === -1 || j === -1 || k[j].fixed)
3358
+ }, w = (T) => {
3359
+ S(T.active.id);
3360
+ }, D = (T) => {
3361
+ const { active: J, over: U } = T;
3362
+ S(null), !(!U || J.id === U.id) && x((k) => {
3363
+ const se = k.findIndex((le) => le.key === J.id), B = k.findIndex((le) => le.key === U.id);
3364
+ if (se === -1 || B === -1 || k[B].fixed)
3363
3365
  return k;
3364
- const ae = zt(k, se, j);
3365
- return c && c(ae), ae;
3366
+ const ae = zt(k, se, B);
3367
+ return d && d(ae), ae;
3366
3368
  });
3367
- }, N = b.filter((T) => !T.fixed && T.key).map((T) => T.key), G = (() => {
3368
- const T = b.reduce((J, K) => {
3369
- if (K.width) {
3370
- const k = parseInt(K.width);
3369
+ }, N = b.filter((T) => !T.fixed && T.key).map((T) => T.key), P = (() => {
3370
+ const T = b.reduce((J, U) => {
3371
+ if (U.width) {
3372
+ const k = parseInt(U.width);
3371
3373
  return J + (isNaN(k) ? 150 : k);
3372
3374
  }
3373
3375
  return J + 150;
3374
3376
  }, 0);
3375
3377
  return T > 0 ? `${T}px` : void 0;
3376
- })(), Y = () => /* @__PURE__ */ z.jsx(
3378
+ })(), j = () => /* @__PURE__ */ z.jsx(
3377
3379
  "div",
3378
3380
  {
3379
3381
  className: oe.container({ theme: g }),
@@ -3383,8 +3385,8 @@ const Xo = ({ className: e }) => /* @__PURE__ */ z.jsxs(
3383
3385
  {
3384
3386
  className: oe.table(),
3385
3387
  style: {
3386
- tableLayout: d,
3387
- minWidth: d === "fixed" ? G : void 0
3388
+ tableLayout: u,
3389
+ minWidth: u === "fixed" ? P : void 0
3388
3390
  },
3389
3391
  children: [
3390
3392
  /* @__PURE__ */ z.jsx(
@@ -3392,12 +3394,13 @@ const Xo = ({ className: e }) => /* @__PURE__ */ z.jsxs(
3392
3394
  {
3393
3395
  columns: b,
3394
3396
  sortStates: p,
3395
- onSort: y,
3396
- activeId: u ? C : null,
3397
+ onSort: m,
3398
+ activeId: c ? R : null,
3397
3399
  theadClass: o,
3398
- draggable: u,
3400
+ draggable: c,
3399
3401
  dragHandleIcon: h,
3400
- theme: g
3402
+ theme: g,
3403
+ rowIdPrefix: v
3401
3404
  }
3402
3405
  ),
3403
3406
  /* @__PURE__ */ z.jsx(
@@ -3417,26 +3420,26 @@ const Xo = ({ className: e }) => /* @__PURE__ */ z.jsxs(
3417
3420
  ) : /* @__PURE__ */ z.jsx("div", { className: oe.empty({ theme: g }), children: a || "No Data" })
3418
3421
  }
3419
3422
  );
3420
- return u ? /* @__PURE__ */ z.jsx(
3423
+ return c ? /* @__PURE__ */ z.jsx(
3421
3424
  So,
3422
3425
  {
3423
- sensors: R,
3426
+ sensors: I,
3424
3427
  collisionDetection: Sr,
3425
- onDragStart: x,
3426
- onDragEnd: I,
3428
+ onDragStart: w,
3429
+ onDragEnd: D,
3427
3430
  modifiers: [Vo],
3428
3431
  children: /* @__PURE__ */ z.jsx(
3429
3432
  zo,
3430
3433
  {
3431
3434
  items: N,
3432
3435
  strategy: Mo,
3433
- children: Y()
3436
+ children: j()
3434
3437
  }
3435
3438
  )
3436
3439
  }
3437
- ) : Y();
3440
+ ) : j();
3438
3441
  };
3439
3442
  export {
3440
3443
  Zo as P,
3441
- U as S
3444
+ V as S
3442
3445
  };