@wilow_app/design-system 0.1.4 → 0.1.6

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.
package/dist/index.es.js CHANGED
@@ -1,15 +1,15 @@
1
- import { jsx as C, jsxs as P, Fragment as $o } from "react/jsx-runtime";
2
- import * as w from "react";
3
- import L, { useRef as V, useEffect as te, useContext as mr, useState as me, useLayoutEffect as Go } from "react";
4
- import ko, { flushSync as hr } from "react-dom";
1
+ import { jsx as C, jsxs as A, Fragment as Lo } from "react/jsx-runtime";
2
+ import * as S from "react";
3
+ import L, { useRef as V, useEffect as te, useContext as mr, useState as me, useLayoutEffect as Mo } from "react";
4
+ import $o, { flushSync as hr } from "react-dom";
5
5
  function W(e) {
6
6
  return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
7
7
  }
8
- var Fo = typeof Symbol == "function" && Symbol.observable || "@@observable", In = Fo, Cn = () => Math.random().toString(36).substring(7).split("").join("."), Wo = {
8
+ var Go = typeof Symbol == "function" && Symbol.observable || "@@observable", In = Go, Cn = () => Math.random().toString(36).substring(7).split("").join("."), ko = {
9
9
  INIT: `@@redux/INIT${/* @__PURE__ */ Cn()}`,
10
10
  REPLACE: `@@redux/REPLACE${/* @__PURE__ */ Cn()}`
11
- }, On = Wo;
12
- function Uo(e) {
11
+ }, On = ko;
12
+ function Fo(e) {
13
13
  if (typeof e != "object" || e === null)
14
14
  return !1;
15
15
  let t = e;
@@ -17,7 +17,7 @@ function Uo(e) {
17
17
  t = Object.getPrototypeOf(t);
18
18
  return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
19
19
  }
20
- function Ho(e) {
20
+ function Wo(e) {
21
21
  if (e === void 0)
22
22
  return "undefined";
23
23
  if (e === null)
@@ -33,11 +33,11 @@ function Ho(e) {
33
33
  }
34
34
  if (Array.isArray(e))
35
35
  return "array";
36
- if (jo(e))
36
+ if (zo(e))
37
37
  return "date";
38
- if (qo(e))
38
+ if (Ho(e))
39
39
  return "error";
40
- const n = zo(e);
40
+ const n = Uo(e);
41
41
  switch (n) {
42
42
  case "Symbol":
43
43
  case "Promise":
@@ -49,18 +49,18 @@ function Ho(e) {
49
49
  }
50
50
  return Object.prototype.toString.call(e).slice(8, -1).toLowerCase().replace(/\s/g, "");
51
51
  }
52
- function zo(e) {
52
+ function Uo(e) {
53
53
  return typeof e.constructor == "function" ? e.constructor.name : null;
54
54
  }
55
- function qo(e) {
55
+ function Ho(e) {
56
56
  return e instanceof Error || typeof e.message == "string" && e.constructor && typeof e.constructor.stackTraceLimit == "number";
57
57
  }
58
- function jo(e) {
58
+ function zo(e) {
59
59
  return e instanceof Date ? !0 : typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
60
60
  }
61
61
  function ne(e) {
62
62
  let t = typeof e;
63
- return process.env.NODE_ENV !== "production" && (t = Ho(e)), t;
63
+ return process.env.NODE_ENV !== "production" && (t = Wo(e)), t;
64
64
  }
65
65
  function br(e, t, n) {
66
66
  if (typeof e != "function")
@@ -74,8 +74,8 @@ function br(e, t, n) {
74
74
  }
75
75
  let r = e, o = t, i = /* @__PURE__ */ new Map(), s = i, c = 0, a = !1;
76
76
  function d() {
77
- s === i && (s = /* @__PURE__ */ new Map(), i.forEach((h, y) => {
78
- s.set(y, h);
77
+ s === i && (s = /* @__PURE__ */ new Map(), i.forEach((m, y) => {
78
+ s.set(y, m);
79
79
  }));
80
80
  }
81
81
  function p() {
@@ -83,15 +83,15 @@ function br(e, t, n) {
83
83
  throw new Error(process.env.NODE_ENV === "production" ? W(3) : "You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");
84
84
  return o;
85
85
  }
86
- function l(h) {
87
- if (typeof h != "function")
88
- throw new Error(process.env.NODE_ENV === "production" ? W(4) : `Expected the listener to be a function. Instead, received: '${ne(h)}'`);
86
+ function l(m) {
87
+ if (typeof m != "function")
88
+ throw new Error(process.env.NODE_ENV === "production" ? W(4) : `Expected the listener to be a function. Instead, received: '${ne(m)}'`);
89
89
  if (a)
90
90
  throw new Error(process.env.NODE_ENV === "production" ? W(5) : "You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");
91
91
  let y = !0;
92
92
  d();
93
93
  const v = c++;
94
- return s.set(v, h), function() {
94
+ return s.set(v, m), function() {
95
95
  if (y) {
96
96
  if (a)
97
97
  throw new Error(process.env.NODE_ENV === "production" ? W(6) : "You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");
@@ -99,33 +99,33 @@ function br(e, t, n) {
99
99
  }
100
100
  };
101
101
  }
102
- function u(h) {
103
- if (!Uo(h))
104
- throw new Error(process.env.NODE_ENV === "production" ? W(7) : `Actions must be plain objects. Instead, the actual type was: '${ne(h)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);
105
- if (typeof h.type > "u")
102
+ function u(m) {
103
+ if (!Fo(m))
104
+ throw new Error(process.env.NODE_ENV === "production" ? W(7) : `Actions must be plain objects. Instead, the actual type was: '${ne(m)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);
105
+ if (typeof m.type > "u")
106
106
  throw new Error(process.env.NODE_ENV === "production" ? W(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
107
- if (typeof h.type != "string")
108
- throw new Error(process.env.NODE_ENV === "production" ? W(17) : `Action "type" property must be a string. Instead, the actual type was: '${ne(h.type)}'. Value was: '${h.type}' (stringified)`);
107
+ if (typeof m.type != "string")
108
+ throw new Error(process.env.NODE_ENV === "production" ? W(17) : `Action "type" property must be a string. Instead, the actual type was: '${ne(m.type)}'. Value was: '${m.type}' (stringified)`);
109
109
  if (a)
110
110
  throw new Error(process.env.NODE_ENV === "production" ? W(9) : "Reducers may not dispatch actions.");
111
111
  try {
112
- a = !0, o = r(o, h);
112
+ a = !0, o = r(o, m);
113
113
  } finally {
114
114
  a = !1;
115
115
  }
116
116
  return (i = s).forEach((v) => {
117
117
  v();
118
- }), h;
118
+ }), m;
119
119
  }
120
- function f(h) {
121
- if (typeof h != "function")
122
- throw new Error(process.env.NODE_ENV === "production" ? W(10) : `Expected the nextReducer to be a function. Instead, received: '${ne(h)}`);
123
- r = h, u({
120
+ function f(m) {
121
+ if (typeof m != "function")
122
+ throw new Error(process.env.NODE_ENV === "production" ? W(10) : `Expected the nextReducer to be a function. Instead, received: '${ne(m)}`);
123
+ r = m, u({
124
124
  type: On.REPLACE
125
125
  });
126
126
  }
127
- function m() {
128
- const h = l;
127
+ function h() {
128
+ const m = l;
129
129
  return {
130
130
  /**
131
131
  * The minimal observable subscription method.
@@ -143,7 +143,7 @@ function br(e, t, n) {
143
143
  N.next && N.next(p());
144
144
  }
145
145
  return v(), {
146
- unsubscribe: h(v)
146
+ unsubscribe: m(v)
147
147
  };
148
148
  },
149
149
  [In]() {
@@ -158,30 +158,30 @@ function br(e, t, n) {
158
158
  subscribe: l,
159
159
  getState: p,
160
160
  replaceReducer: f,
161
- [In]: m
161
+ [In]: h
162
162
  };
163
163
  }
164
- function Sn(e, t) {
164
+ function wn(e, t) {
165
165
  return function(...n) {
166
166
  return t(e.apply(this, n));
167
167
  };
168
168
  }
169
- function wn(e, t) {
169
+ function Sn(e, t) {
170
170
  if (typeof e == "function")
171
- return Sn(e, t);
171
+ return wn(e, t);
172
172
  if (typeof e != "object" || e === null)
173
173
  throw new Error(process.env.NODE_ENV === "production" ? W(16) : `bindActionCreators expected an object or a function, but instead received: '${ne(e)}'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);
174
174
  const n = {};
175
175
  for (const r in e) {
176
176
  const o = e[r];
177
- typeof o == "function" && (n[r] = Sn(o, t));
177
+ typeof o == "function" && (n[r] = wn(o, t));
178
178
  }
179
179
  return n;
180
180
  }
181
181
  function vr(...e) {
182
182
  return e.length === 0 ? (t) => t : e.length === 1 ? e[0] : e.reduce((t, n) => (...r) => t(n(...r)));
183
183
  }
184
- function Yo(...e) {
184
+ function qo(...e) {
185
185
  return (t) => (n, r) => {
186
186
  const o = t(n, r);
187
187
  let i = () => {
@@ -208,7 +208,7 @@ var gt = {};
208
208
  * LICENSE file in the root directory of this source tree.
209
209
  */
210
210
  var _n;
211
- function Xo() {
211
+ function jo() {
212
212
  if (_n) return gt;
213
213
  _n = 1;
214
214
  var e = L;
@@ -219,15 +219,15 @@ function Xo() {
219
219
  return gt.useSyncExternalStoreWithSelector = function(a, d, p, l, u) {
220
220
  var f = o(null);
221
221
  if (f.current === null) {
222
- var m = { hasValue: !1, value: null };
223
- f.current = m;
224
- } else m = f.current;
222
+ var h = { hasValue: !1, value: null };
223
+ f.current = h;
224
+ } else h = f.current;
225
225
  f = s(
226
226
  function() {
227
- function h(E) {
227
+ function m(E) {
228
228
  if (!y) {
229
- if (y = !0, v = E, E = l(E), u !== void 0 && m.hasValue) {
230
- var x = m.value;
229
+ if (y = !0, v = E, E = l(E), u !== void 0 && h.hasValue) {
230
+ var x = h.value;
231
231
  if (u(x, E))
232
232
  return I = x;
233
233
  }
@@ -240,10 +240,10 @@ function Xo() {
240
240
  var y = !1, v, I, N = p === void 0 ? null : p;
241
241
  return [
242
242
  function() {
243
- return h(d());
243
+ return m(d());
244
244
  },
245
245
  N === null ? void 0 : function() {
246
- return h(N());
246
+ return m(N());
247
247
  }
248
248
  ];
249
249
  },
@@ -252,7 +252,7 @@ function Xo() {
252
252
  var b = r(a, f[0], f[1]);
253
253
  return i(
254
254
  function() {
255
- m.hasValue = !0, m.value = b;
255
+ h.hasValue = !0, h.value = b;
256
256
  },
257
257
  [b]
258
258
  ), c(b), b;
@@ -269,7 +269,7 @@ var mt = {};
269
269
  * LICENSE file in the root directory of this source tree.
270
270
  */
271
271
  var An;
272
- function Ko() {
272
+ function Yo() {
273
273
  return An || (An = 1, process.env.NODE_ENV !== "production" && function() {
274
274
  function e(a, d) {
275
275
  return a === d && (a !== 0 || 1 / a === 1 / d) || a !== a && d !== d;
@@ -279,15 +279,15 @@ function Ko() {
279
279
  mt.useSyncExternalStoreWithSelector = function(a, d, p, l, u) {
280
280
  var f = o(null);
281
281
  if (f.current === null) {
282
- var m = { hasValue: !1, value: null };
283
- f.current = m;
284
- } else m = f.current;
282
+ var h = { hasValue: !1, value: null };
283
+ f.current = h;
284
+ } else h = f.current;
285
285
  f = s(
286
286
  function() {
287
- function h(E) {
287
+ function m(E) {
288
288
  if (!y) {
289
- if (y = !0, v = E, E = l(E), u !== void 0 && m.hasValue) {
290
- var x = m.value;
289
+ if (y = !0, v = E, E = l(E), u !== void 0 && h.hasValue) {
290
+ var x = h.value;
291
291
  if (u(x, E))
292
292
  return I = x;
293
293
  }
@@ -301,10 +301,10 @@ function Ko() {
301
301
  var y = !1, v, I, N = p === void 0 ? null : p;
302
302
  return [
303
303
  function() {
304
- return h(d());
304
+ return m(d());
305
305
  },
306
306
  N === null ? void 0 : function() {
307
- return h(N());
307
+ return m(N());
308
308
  }
309
309
  ];
310
310
  },
@@ -313,29 +313,29 @@ function Ko() {
313
313
  var b = r(a, f[0], f[1]);
314
314
  return i(
315
315
  function() {
316
- m.hasValue = !0, m.value = b;
316
+ h.hasValue = !0, h.value = b;
317
317
  },
318
318
  [b]
319
319
  ), c(b), b;
320
320
  }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
321
321
  }()), mt;
322
322
  }
323
- process.env.NODE_ENV === "production" ? Xo() : Ko();
324
- var yr = /* @__PURE__ */ w.version.startsWith("19"), Jo = /* @__PURE__ */ Symbol.for(
323
+ process.env.NODE_ENV === "production" ? jo() : Yo();
324
+ var yr = /* @__PURE__ */ S.version.startsWith("19"), Xo = /* @__PURE__ */ Symbol.for(
325
325
  yr ? "react.transitional.element" : "react.element"
326
- ), Zo = /* @__PURE__ */ Symbol.for("react.portal"), Er = /* @__PURE__ */ Symbol.for("react.fragment"), Dr = /* @__PURE__ */ Symbol.for("react.strict_mode"), Nr = /* @__PURE__ */ Symbol.for("react.profiler"), Ht = /* @__PURE__ */ Symbol.for("react.consumer"), zt = /* @__PURE__ */ Symbol.for("react.context"), qt = /* @__PURE__ */ Symbol.for("react.forward_ref"), xr = /* @__PURE__ */ Symbol.for("react.suspense"), Ir = /* @__PURE__ */ Symbol.for(
326
+ ), Ko = /* @__PURE__ */ Symbol.for("react.portal"), Er = /* @__PURE__ */ Symbol.for("react.fragment"), Dr = /* @__PURE__ */ Symbol.for("react.strict_mode"), Nr = /* @__PURE__ */ Symbol.for("react.profiler"), Ht = /* @__PURE__ */ Symbol.for("react.consumer"), zt = /* @__PURE__ */ Symbol.for("react.context"), qt = /* @__PURE__ */ Symbol.for("react.forward_ref"), xr = /* @__PURE__ */ Symbol.for("react.suspense"), Ir = /* @__PURE__ */ Symbol.for(
327
327
  "react.suspense_list"
328
- ), tt = /* @__PURE__ */ Symbol.for("react.memo"), Cr = /* @__PURE__ */ Symbol.for("react.lazy"), Qo = /* @__PURE__ */ Symbol.for("react.offscreen"), ei = /* @__PURE__ */ Symbol.for(
328
+ ), tt = /* @__PURE__ */ Symbol.for("react.memo"), Cr = /* @__PURE__ */ Symbol.for("react.lazy"), Jo = /* @__PURE__ */ Symbol.for("react.offscreen"), Zo = /* @__PURE__ */ Symbol.for(
329
329
  "react.client.reference"
330
- ), ti = qt, ni = tt;
331
- function ri(e) {
332
- return typeof e == "string" || typeof e == "function" || e === Er || e === Nr || e === Dr || e === xr || e === Ir || e === Qo || typeof e == "object" && e !== null && (e.$$typeof === Cr || e.$$typeof === tt || e.$$typeof === zt || e.$$typeof === Ht || e.$$typeof === qt || e.$$typeof === ei || e.getModuleId !== void 0);
330
+ ), Qo = qt, ei = tt;
331
+ function ti(e) {
332
+ return typeof e == "string" || typeof e == "function" || e === Er || e === Nr || e === Dr || e === xr || e === Ir || e === Jo || typeof e == "object" && e !== null && (e.$$typeof === Cr || e.$$typeof === tt || e.$$typeof === zt || e.$$typeof === Ht || e.$$typeof === qt || e.$$typeof === Zo || e.getModuleId !== void 0);
333
333
  }
334
334
  function Tt(e) {
335
335
  if (typeof e == "object" && e !== null) {
336
336
  const { $$typeof: t } = e;
337
337
  switch (t) {
338
- case Jo:
338
+ case Xo:
339
339
  switch (e = e.type, e) {
340
340
  case Er:
341
341
  case Nr:
@@ -356,15 +356,15 @@ function Tt(e) {
356
356
  return t;
357
357
  }
358
358
  }
359
- case Zo:
359
+ case Ko:
360
360
  return t;
361
361
  }
362
362
  }
363
363
  }
364
- function oi(e) {
364
+ function ni(e) {
365
365
  return yr ? Tt(e) === Ht : Tt(e) === zt;
366
366
  }
367
- function ii(e) {
367
+ function ri(e) {
368
368
  return Tt(e) === tt;
369
369
  }
370
370
  function jt(e) {
@@ -381,10 +381,10 @@ function ht(e, t) {
381
381
  ));
382
382
  else throw new Error(`Unexpected value for ${t} in connect.`);
383
383
  }
384
- function si(e, t, n) {
384
+ function oi(e, t, n) {
385
385
  ht(e, "mapStateToProps"), ht(t, "mapDispatchToProps"), ht(n, "mergeProps");
386
386
  }
387
- function ci(e, t, n, r, {
387
+ function ii(e, t, n, r, {
388
388
  areStatesEqual: o,
389
389
  areOwnPropsEqual: i,
390
390
  areStatePropsEqual: s
@@ -393,13 +393,13 @@ function ci(e, t, n, r, {
393
393
  function f(v, I) {
394
394
  return a = v, d = I, p = e(a, d), l = t(r, d), u = n(p, l, d), c = !0, u;
395
395
  }
396
- function m() {
396
+ function h() {
397
397
  return p = e(a, d), t.dependsOnOwnProps && (l = t(r, d)), u = n(p, l, d), u;
398
398
  }
399
399
  function b() {
400
400
  return e.dependsOnOwnProps && (p = e(a, d)), t.dependsOnOwnProps && (l = t(r, d)), u = n(p, l, d), u;
401
401
  }
402
- function h() {
402
+ function m() {
403
403
  const v = e(a, d), I = !s(v, p);
404
404
  return p = v, I && (u = n(p, l, d)), u;
405
405
  }
@@ -410,22 +410,22 @@ function ci(e, t, n, r, {
410
410
  I,
411
411
  d
412
412
  );
413
- return a = v, d = I, N && E ? m() : N ? b() : E ? h() : u;
413
+ return a = v, d = I, N && E ? h() : N ? b() : E ? m() : u;
414
414
  }
415
415
  return function(I, N) {
416
416
  return c ? y(I, N) : f(I, N);
417
417
  };
418
418
  }
419
- function ai(e, {
419
+ function si(e, {
420
420
  initMapStateToProps: t,
421
421
  initMapDispatchToProps: n,
422
422
  initMergeProps: r,
423
423
  ...o
424
424
  }) {
425
425
  const i = t(e, o), s = n(e, o), c = r(e, o);
426
- return process.env.NODE_ENV !== "production" && si(i, s, c), ci(i, s, c, e, o);
426
+ return process.env.NODE_ENV !== "production" && oi(i, s, c), ii(i, s, c, e, o);
427
427
  }
428
- function li(e, t) {
428
+ function ci(e, t) {
429
429
  const n = {};
430
430
  for (const r in e) {
431
431
  const o = e[r];
@@ -433,7 +433,7 @@ function li(e, t) {
433
433
  }
434
434
  return n;
435
435
  }
436
- function di(e) {
436
+ function ai(e) {
437
437
  if (typeof e != "object" || e === null) return !1;
438
438
  const t = Object.getPrototypeOf(e);
439
439
  if (t === null) return !0;
@@ -443,7 +443,7 @@ function di(e) {
443
443
  return t === n;
444
444
  }
445
445
  function Or(e, t, n) {
446
- di(e) || jt(
446
+ ai(e) || jt(
447
447
  `${n}() in ${t} must return a plain object. Instead received ${e}.`
448
448
  );
449
449
  }
@@ -459,7 +459,7 @@ function Bt(e) {
459
459
  function Pn(e) {
460
460
  return e.dependsOnOwnProps ? !!e.dependsOnOwnProps : e.length !== 1;
461
461
  }
462
- function Sr(e, t) {
462
+ function wr(e, t) {
463
463
  return function(r, { displayName: o }) {
464
464
  const i = function(c, a) {
465
465
  return i.dependsOnOwnProps ? i.mapToProps(c, a) : i.mapToProps(c, void 0);
@@ -478,29 +478,29 @@ function Yt(e, t) {
478
478
  );
479
479
  };
480
480
  }
481
- function ui(e) {
481
+ function li(e) {
482
482
  return e && typeof e == "object" ? Bt(
483
483
  (t) => (
484
484
  // @ts-ignore
485
- li(e, t)
485
+ ci(e, t)
486
486
  )
487
487
  ) : e ? typeof e == "function" ? (
488
488
  // @ts-ignore
489
- Sr(e, "mapDispatchToProps")
489
+ wr(e, "mapDispatchToProps")
490
490
  ) : Yt(e, "mapDispatchToProps") : Bt((t) => ({
491
491
  dispatch: t
492
492
  }));
493
493
  }
494
- function pi(e) {
494
+ function di(e) {
495
495
  return e ? typeof e == "function" ? (
496
496
  // @ts-ignore
497
- Sr(e, "mapStateToProps")
497
+ wr(e, "mapStateToProps")
498
498
  ) : Yt(e, "mapStateToProps") : Bt(() => ({}));
499
499
  }
500
- function fi(e, t, n) {
500
+ function ui(e, t, n) {
501
501
  return { ...n, ...e, ...t };
502
502
  }
503
- function gi(e) {
503
+ function pi(e) {
504
504
  return function(n, { displayName: r, areMergedPropsEqual: o }) {
505
505
  let i = !1, s;
506
506
  return function(a, d, p) {
@@ -509,20 +509,20 @@ function gi(e) {
509
509
  };
510
510
  };
511
511
  }
512
- function mi(e) {
513
- return e ? typeof e == "function" ? gi(e) : Yt(e, "mergeProps") : () => fi;
512
+ function fi(e) {
513
+ return e ? typeof e == "function" ? pi(e) : Yt(e, "mergeProps") : () => ui;
514
514
  }
515
- function hi(e) {
515
+ function gi(e) {
516
516
  e();
517
517
  }
518
- function bi() {
518
+ function mi() {
519
519
  let e = null, t = null;
520
520
  return {
521
521
  clear() {
522
522
  e = null, t = null;
523
523
  },
524
524
  notify() {
525
- hi(() => {
525
+ gi(() => {
526
526
  let n = e;
527
527
  for (; n; )
528
528
  n.callback(), n = n.next;
@@ -553,27 +553,27 @@ var Rn = {
553
553
  },
554
554
  get: () => []
555
555
  };
556
- function wr(e, t) {
556
+ function Sr(e, t) {
557
557
  let n, r = Rn, o = 0, i = !1;
558
558
  function s(b) {
559
559
  p();
560
- const h = r.subscribe(b);
560
+ const m = r.subscribe(b);
561
561
  let y = !1;
562
562
  return () => {
563
- y || (y = !0, h(), l());
563
+ y || (y = !0, m(), l());
564
564
  };
565
565
  }
566
566
  function c() {
567
567
  r.notify();
568
568
  }
569
569
  function a() {
570
- m.onStateChange && m.onStateChange();
570
+ h.onStateChange && h.onStateChange();
571
571
  }
572
572
  function d() {
573
573
  return i;
574
574
  }
575
575
  function p() {
576
- o++, n || (n = t ? t.addNestedSub(a) : e.subscribe(a), r = bi());
576
+ o++, n || (n = t ? t.addNestedSub(a) : e.subscribe(a), r = mi());
577
577
  }
578
578
  function l() {
579
579
  o--, n && o === 0 && (n(), n = void 0, r.clear(), r = Rn);
@@ -584,7 +584,7 @@ function wr(e, t) {
584
584
  function f() {
585
585
  i && (i = !1, l());
586
586
  }
587
- const m = {
587
+ const h = {
588
588
  addNestedSub: s,
589
589
  notifyNestedSubs: c,
590
590
  handleChangeWrapper: a,
@@ -593,9 +593,9 @@ function wr(e, t) {
593
593
  tryUnsubscribe: f,
594
594
  getListeners: () => r
595
595
  };
596
- return m;
596
+ return h;
597
597
  }
598
- var vi = () => typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", yi = /* @__PURE__ */ vi(), Ei = () => typeof navigator < "u" && navigator.product === "ReactNative", Di = /* @__PURE__ */ Ei(), Ni = () => yi || Di ? w.useLayoutEffect : w.useEffect, Ye = /* @__PURE__ */ Ni();
598
+ var hi = () => typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", bi = /* @__PURE__ */ hi(), vi = () => typeof navigator < "u" && navigator.product === "ReactNative", yi = /* @__PURE__ */ vi(), Ei = () => bi || yi ? S.useLayoutEffect : S.useEffect, Ye = /* @__PURE__ */ Ei();
599
599
  function Tn(e, t) {
600
600
  return e === t ? e !== 0 || t !== 0 || 1 / e === 1 / t : e !== e && t !== t;
601
601
  }
@@ -610,7 +610,7 @@ function bt(e, t) {
610
610
  return !1;
611
611
  return !0;
612
612
  }
613
- var xi = {
613
+ var Di = {
614
614
  childContextTypes: !0,
615
615
  contextType: !0,
616
616
  contextTypes: !0,
@@ -622,7 +622,7 @@ var xi = {
622
622
  mixins: !0,
623
623
  propTypes: !0,
624
624
  type: !0
625
- }, Ii = {
625
+ }, Ni = {
626
626
  name: !0,
627
627
  length: !0,
628
628
  prototype: !0,
@@ -630,7 +630,7 @@ var xi = {
630
630
  callee: !0,
631
631
  arguments: !0,
632
632
  arity: !0
633
- }, Ci = {
633
+ }, xi = {
634
634
  $$typeof: !0,
635
635
  render: !0,
636
636
  defaultProps: !0,
@@ -643,29 +643,29 @@ var xi = {
643
643
  displayName: !0,
644
644
  propTypes: !0,
645
645
  type: !0
646
- }, Oi = {
647
- [ti]: Ci,
648
- [ni]: _r
646
+ }, Ii = {
647
+ [Qo]: xi,
648
+ [ei]: _r
649
649
  };
650
650
  function Bn(e) {
651
- return ii(e) ? _r : Oi[e.$$typeof] || xi;
651
+ return ri(e) ? _r : Ii[e.$$typeof] || Di;
652
652
  }
653
- var Si = Object.defineProperty, wi = Object.getOwnPropertyNames, Vn = Object.getOwnPropertySymbols, _i = Object.getOwnPropertyDescriptor, Ai = Object.getPrototypeOf, Ln = Object.prototype;
653
+ var Ci = Object.defineProperty, Oi = Object.getOwnPropertyNames, Vn = Object.getOwnPropertySymbols, wi = Object.getOwnPropertyDescriptor, Si = Object.getPrototypeOf, Ln = Object.prototype;
654
654
  function Vt(e, t) {
655
655
  if (typeof t != "string") {
656
656
  if (Ln) {
657
- const i = Ai(t);
657
+ const i = Si(t);
658
658
  i && i !== Ln && Vt(e, i);
659
659
  }
660
- let n = wi(t);
660
+ let n = Oi(t);
661
661
  Vn && (n = n.concat(Vn(t)));
662
662
  const r = Bn(e), o = Bn(t);
663
663
  for (let i = 0; i < n.length; ++i) {
664
664
  const s = n[i];
665
- if (!Ii[s] && !(o && o[s]) && !(r && r[s])) {
666
- const c = _i(t, s);
665
+ if (!Ni[s] && !(o && o[s]) && !(r && r[s])) {
666
+ const c = wi(t, s);
667
667
  try {
668
- Si(e, s, c);
668
+ Ci(e, s, c);
669
669
  } catch {
670
670
  }
671
671
  }
@@ -677,28 +677,28 @@ var vt = /* @__PURE__ */ Symbol.for("react-redux-context"), yt = typeof globalTh
677
677
  /* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */
678
678
  {}
679
679
  );
680
- function Pi() {
681
- if (!w.createContext) return {};
680
+ function _i() {
681
+ if (!S.createContext) return {};
682
682
  const e = yt[vt] ?? (yt[vt] = /* @__PURE__ */ new Map());
683
- let t = e.get(w.createContext);
684
- return t || (t = w.createContext(
683
+ let t = e.get(S.createContext);
684
+ return t || (t = S.createContext(
685
685
  null
686
- ), process.env.NODE_ENV !== "production" && (t.displayName = "ReactRedux"), e.set(w.createContext, t)), t;
686
+ ), process.env.NODE_ENV !== "production" && (t.displayName = "ReactRedux"), e.set(S.createContext, t)), t;
687
687
  }
688
- var Ar = /* @__PURE__ */ Pi(), Ri = [null, null], Ti = (e) => {
688
+ var Ar = /* @__PURE__ */ _i(), Ai = [null, null], Pi = (e) => {
689
689
  try {
690
690
  return JSON.stringify(e);
691
691
  } catch {
692
692
  return String(e);
693
693
  }
694
694
  };
695
- function Bi(e, t, n) {
695
+ function Ri(e, t, n) {
696
696
  Ye(() => e(...t), n);
697
697
  }
698
- function Vi(e, t, n, r, o, i) {
698
+ function Ti(e, t, n, r, o, i) {
699
699
  e.current = r, n.current = !1, o.current && (o.current = null, i());
700
700
  }
701
- function Li(e, t, n, r, o, i, s, c, a, d, p) {
701
+ function Bi(e, t, n, r, o, i, s, c, a, d, p) {
702
702
  if (!e) return () => {
703
703
  };
704
704
  let l = !1, u = null;
@@ -706,31 +706,31 @@ function Li(e, t, n, r, o, i, s, c, a, d, p) {
706
706
  if (l || !c.current)
707
707
  return;
708
708
  const b = t.getState();
709
- let h, y;
709
+ let m, y;
710
710
  try {
711
- h = r(
711
+ m = r(
712
712
  b,
713
713
  o.current
714
714
  );
715
715
  } catch (v) {
716
716
  y = v, u = v;
717
717
  }
718
- y || (u = null), h === i.current ? s.current || d() : (i.current = h, a.current = h, s.current = !0, p());
718
+ y || (u = null), m === i.current ? s.current || d() : (i.current = m, a.current = m, s.current = !0, p());
719
719
  };
720
720
  return n.onStateChange = f, n.trySubscribe(), f(), () => {
721
721
  if (l = !0, n.tryUnsubscribe(), n.onStateChange = null, u)
722
722
  throw u;
723
723
  };
724
724
  }
725
- function Mi(e, t) {
725
+ function Vi(e, t) {
726
726
  return e === t;
727
727
  }
728
728
  var Mn = !1;
729
- function $i(e, t, n, {
729
+ function Li(e, t, n, {
730
730
  // The `pure` option has been removed, so TS doesn't like us destructuring this to check its existence.
731
731
  // @ts-ignore
732
732
  pure: r,
733
- areStatesEqual: o = Mi,
733
+ areStatesEqual: o = Vi,
734
734
  areOwnPropsEqual: i = bt,
735
735
  areStatePropsEqual: s = bt,
736
736
  areMergedPropsEqual: c = bt,
@@ -742,19 +742,19 @@ function $i(e, t, n, {
742
742
  process.env.NODE_ENV !== "production" && r !== void 0 && !Mn && (Mn = !0, jt(
743
743
  'The `pure` option has been removed. `connect` is now always a "pure/memoized" component'
744
744
  ));
745
- const p = d, l = pi(e), u = ui(t), f = mi(n), m = !!e;
746
- return (h) => {
747
- if (process.env.NODE_ENV !== "production" && !/* @__PURE__ */ ri(h))
745
+ const p = d, l = di(e), u = li(t), f = fi(n), h = !!e;
746
+ return (m) => {
747
+ if (process.env.NODE_ENV !== "production" && !/* @__PURE__ */ ti(m))
748
748
  throw new Error(
749
- `You must pass a component to the function returned by connect. Instead received ${Ti(
750
- h
749
+ `You must pass a component to the function returned by connect. Instead received ${Pi(
750
+ m
751
751
  )}`
752
752
  );
753
- const y = h.displayName || h.name || "Component", v = `Connect(${y})`, I = {
754
- shouldHandleStateChanges: m,
753
+ const y = m.displayName || m.name || "Component", v = `Connect(${y})`, I = {
754
+ shouldHandleStateChanges: h,
755
755
  displayName: v,
756
756
  wrappedComponentName: y,
757
- WrappedComponent: h,
757
+ WrappedComponent: m,
758
758
  // @ts-ignore
759
759
  initMapStateToProps: l,
760
760
  initMapDispatchToProps: u,
@@ -765,15 +765,15 @@ function $i(e, t, n, {
765
765
  areMergedPropsEqual: c
766
766
  };
767
767
  function N(_) {
768
- const [R, U, B] = w.useMemo(() => {
768
+ const [R, U, B] = S.useMemo(() => {
769
769
  const { reactReduxForwardedRef: z, ...ue } = _;
770
770
  return [_.context, z, ue];
771
- }, [_]), H = w.useMemo(() => {
771
+ }, [_]), H = S.useMemo(() => {
772
772
  let z = p;
773
773
  if (R != null && R.Consumer && process.env.NODE_ENV !== "production") {
774
- if (!/* @__PURE__ */ oi(
774
+ if (!/* @__PURE__ */ ni(
775
775
  // @ts-ignore
776
- /* @__PURE__ */ w.createElement(R.Consumer, null)
776
+ /* @__PURE__ */ S.createElement(R.Consumer, null)
777
777
  ))
778
778
  throw new Error(
779
779
  "You must pass a valid React context consumer as `props.context`"
@@ -781,29 +781,29 @@ function $i(e, t, n, {
781
781
  z = R;
782
782
  }
783
783
  return z;
784
- }, [R, p]), M = w.useContext(H), Q = !!_.store && !!_.store.getState && !!_.store.dispatch, de = !!M && !!M.store;
784
+ }, [R, p]), M = S.useContext(H), Q = !!_.store && !!_.store.getState && !!_.store.dispatch, de = !!M && !!M.store;
785
785
  if (process.env.NODE_ENV !== "production" && !Q && !de)
786
786
  throw new Error(
787
787
  `Could not find "store" in the context of "${v}". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to ${v} in connect options.`
788
788
  );
789
- const ee = Q ? _.store : M.store, ke = de ? M.getServerState : ee.getState, at = w.useMemo(() => ai(ee.dispatch, I), [ee]), [ve, En] = w.useMemo(() => {
790
- if (!m) return Ri;
791
- const z = wr(
789
+ const ee = Q ? _.store : M.store, ke = de ? M.getServerState : ee.getState, at = S.useMemo(() => si(ee.dispatch, I), [ee]), [ve, En] = S.useMemo(() => {
790
+ if (!h) return Ai;
791
+ const z = Sr(
792
792
  ee,
793
793
  Q ? void 0 : M.subscription
794
794
  ), ue = z.notifyNestedSubs.bind(z);
795
795
  return [z, ue];
796
- }, [ee, Q, M]), Dn = w.useMemo(() => Q ? M : {
796
+ }, [ee, Q, M]), Dn = S.useMemo(() => Q ? M : {
797
797
  ...M,
798
798
  subscription: ve
799
- }, [Q, M, ve]), lt = w.useRef(void 0), dt = w.useRef(B), ye = w.useRef(void 0), Nn = w.useRef(!1), ut = w.useRef(!1), pt = w.useRef(
799
+ }, [Q, M, ve]), lt = S.useRef(void 0), dt = S.useRef(B), ye = S.useRef(void 0), Nn = S.useRef(!1), ut = S.useRef(!1), pt = S.useRef(
800
800
  void 0
801
801
  );
802
802
  Ye(() => (ut.current = !0, () => {
803
803
  ut.current = !1;
804
804
  }), []);
805
- const xn = w.useMemo(() => () => ye.current && B === dt.current ? ye.current : at(ee.getState(), B), [ee, B]), Mo = w.useMemo(() => (ue) => ve ? Li(
806
- m,
805
+ const xn = S.useMemo(() => () => ye.current && B === dt.current ? ye.current : at(ee.getState(), B), [ee, B]), Vo = S.useMemo(() => (ue) => ve ? Bi(
806
+ h,
807
807
  ee,
808
808
  ve,
809
809
  // @ts-ignore
@@ -817,7 +817,7 @@ function $i(e, t, n, {
817
817
  ue
818
818
  ) : () => {
819
819
  }, [ve]);
820
- Bi(Vi, [
820
+ Ri(Ti, [
821
821
  dt,
822
822
  lt,
823
823
  Nn,
@@ -827,9 +827,9 @@ function $i(e, t, n, {
827
827
  ]);
828
828
  let Fe;
829
829
  try {
830
- Fe = w.useSyncExternalStore(
830
+ Fe = S.useSyncExternalStore(
831
831
  // TODO We're passing through a big wrapper that does a bunch of extra side effects besides subscribing
832
- Mo,
832
+ Vo,
833
833
  // TODO This is incredibly hacky. We've already processed the store update and calculated new child props,
834
834
  // TODO and we're just passing that through so it triggers a re-render for us rather than relying on `uSES`.
835
835
  xn,
@@ -845,34 +845,34 @@ ${pt.current.stack}
845
845
  Ye(() => {
846
846
  pt.current = void 0, ye.current = void 0, lt.current = Fe;
847
847
  });
848
- const ft = w.useMemo(() => (
848
+ const ft = S.useMemo(() => (
849
849
  // @ts-ignore
850
- /* @__PURE__ */ w.createElement(
851
- h,
850
+ /* @__PURE__ */ S.createElement(
851
+ m,
852
852
  {
853
853
  ...Fe,
854
854
  ref: U
855
855
  }
856
856
  )
857
- ), [U, h, Fe]);
858
- return w.useMemo(() => m ? /* @__PURE__ */ w.createElement(H.Provider, { value: Dn }, ft) : ft, [H, ft, Dn]);
857
+ ), [U, m, Fe]);
858
+ return S.useMemo(() => h ? /* @__PURE__ */ S.createElement(H.Provider, { value: Dn }, ft) : ft, [H, ft, Dn]);
859
859
  }
860
- const x = w.memo(N);
861
- if (x.WrappedComponent = h, x.displayName = N.displayName = v, a) {
862
- const R = w.forwardRef(
860
+ const x = S.memo(N);
861
+ if (x.WrappedComponent = m, x.displayName = N.displayName = v, a) {
862
+ const R = S.forwardRef(
863
863
  function(B, H) {
864
- return /* @__PURE__ */ w.createElement(x, { ...B, reactReduxForwardedRef: H });
864
+ return /* @__PURE__ */ S.createElement(x, { ...B, reactReduxForwardedRef: H });
865
865
  }
866
866
  );
867
- return R.displayName = v, R.WrappedComponent = h, /* @__PURE__ */ Vt(R, h);
867
+ return R.displayName = v, R.WrappedComponent = m, /* @__PURE__ */ Vt(R, m);
868
868
  }
869
- return /* @__PURE__ */ Vt(x, h);
869
+ return /* @__PURE__ */ Vt(x, m);
870
870
  };
871
871
  }
872
- var Pr = $i;
873
- function Gi(e) {
874
- const { children: t, context: n, serverState: r, store: o } = e, i = w.useMemo(() => {
875
- const a = wr(o), d = {
872
+ var Pr = Li;
873
+ function Mi(e) {
874
+ const { children: t, context: n, serverState: r, store: o } = e, i = S.useMemo(() => {
875
+ const a = Sr(o), d = {
876
876
  store: o,
877
877
  subscription: a,
878
878
  getServerState: r ? () => r : void 0
@@ -886,7 +886,7 @@ function Gi(e) {
886
886
  identityFunctionCheck: p
887
887
  });
888
888
  }
889
- }, [o, r]), s = w.useMemo(() => o.getState(), [o]);
889
+ }, [o, r]), s = S.useMemo(() => o.getState(), [o]);
890
890
  Ye(() => {
891
891
  const { subscription: a } = i;
892
892
  return a.onStateChange = a.notifyNestedSubs, a.trySubscribe(), s !== o.getState() && a.notifyNestedSubs(), () => {
@@ -894,11 +894,11 @@ function Gi(e) {
894
894
  };
895
895
  }, [i, s]);
896
896
  const c = n || Ar;
897
- return /* @__PURE__ */ w.createElement(c.Provider, { value: i }, t);
897
+ return /* @__PURE__ */ S.createElement(c.Provider, { value: i }, t);
898
898
  }
899
- var ki = Gi, Fi = process.env.NODE_ENV === "production", Et = "Invariant failed";
899
+ var $i = Mi, Gi = process.env.NODE_ENV === "production", Et = "Invariant failed";
900
900
  function $n(e, t) {
901
- if (Fi)
901
+ if (Gi)
902
902
  throw new Error(Et);
903
903
  var n = typeof t == "function" ? t() : t, r = n ? "".concat(Et, ": ").concat(n) : Et;
904
904
  throw new Error(r);
@@ -933,7 +933,7 @@ var Z = function(t) {
933
933
  bottom: t.bottom - n.bottom,
934
934
  right: t.right - n.right
935
935
  };
936
- }, Wi = function(t, n) {
936
+ }, ki = function(t, n) {
937
937
  return {
938
938
  top: t.top + n.y,
939
939
  left: t.left + n.x,
@@ -962,13 +962,13 @@ var Z = function(t) {
962
962
  return 0;
963
963
  var o = Number(n);
964
964
  return isNaN(o) && (process.env.NODE_ENV !== "production" ? $n(!1, "Could not parse value [raw: " + t + ", without suffix: " + n + "]") : $n()), o;
965
- }, Ui = function() {
965
+ }, Fi = function() {
966
966
  return {
967
967
  x: window.pageXOffset,
968
968
  y: window.pageYOffset
969
969
  };
970
970
  }, Xe = function(t, n) {
971
- var r = t.borderBox, o = t.border, i = t.margin, s = t.padding, c = Wi(r, n);
971
+ var r = t.borderBox, o = t.border, i = t.margin, s = t.padding, c = ki(r, n);
972
972
  return Kt({
973
973
  borderBox: c,
974
974
  border: o,
@@ -976,7 +976,7 @@ var Z = function(t) {
976
976
  padding: s
977
977
  });
978
978
  }, Ke = function(t, n) {
979
- return n === void 0 && (n = Ui()), Xe(t, n);
979
+ return n === void 0 && (n = Fi()), Xe(t, n);
980
980
  }, Rr = function(t, n) {
981
981
  var r = {
982
982
  top: X(n.marginTop),
@@ -1024,20 +1024,20 @@ function Je() {
1024
1024
  return e;
1025
1025
  }, Je.apply(null, arguments);
1026
1026
  }
1027
- const Hi = process.env.NODE_ENV === "production", zi = /[ \t]{2,}/g, qi = /^[ \t]*/gm, kn = (e) => e.replace(zi, " ").replace(qi, "").trim(), ji = (e) => kn(`
1027
+ const Wi = process.env.NODE_ENV === "production", Ui = /[ \t]{2,}/g, Hi = /^[ \t]*/gm, kn = (e) => e.replace(Ui, " ").replace(Hi, "").trim(), zi = (e) => kn(`
1028
1028
  %c@hello-pangea/dnd
1029
1029
 
1030
1030
  %c${kn(e)}
1031
1031
 
1032
1032
  %c👷‍ This is a development only message. It will be removed in production builds.
1033
- `), Yi = (e) => [ji(e), "color: #00C584; font-size: 1.2em; font-weight: bold;", "line-height: 1.5", "color: #723874;"], Xi = "__@hello-pangea/dnd-disable-dev-warnings";
1033
+ `), qi = (e) => [zi(e), "color: #00C584; font-size: 1.2em; font-weight: bold;", "line-height: 1.5", "color: #723874;"], ji = "__@hello-pangea/dnd-disable-dev-warnings";
1034
1034
  function Br(e, t) {
1035
- Hi || typeof window < "u" && window[Xi] || console[e](...Yi(t));
1035
+ Wi || typeof window < "u" && window[ji] || console[e](...qi(t));
1036
1036
  }
1037
1037
  const T = Br.bind(null, "warn"), Lt = Br.bind(null, "error");
1038
1038
  function re() {
1039
1039
  }
1040
- function Ki(e, t) {
1040
+ function Yi(e, t) {
1041
1041
  return {
1042
1042
  ...e,
1043
1043
  ...t
@@ -1045,7 +1045,7 @@ function Ki(e, t) {
1045
1045
  }
1046
1046
  function K(e, t, n) {
1047
1047
  const r = t.map((o) => {
1048
- const i = Ki(n, o.options);
1048
+ const i = Yi(n, o.options);
1049
1049
  return e.addEventListener(o.eventName, o.fn, i), function() {
1050
1050
  e.removeEventListener(o.eventName, o.fn, i);
1051
1051
  };
@@ -1056,16 +1056,16 @@ function K(e, t, n) {
1056
1056
  });
1057
1057
  };
1058
1058
  }
1059
- const Ji = process.env.NODE_ENV === "production", Fn = "Invariant failed";
1059
+ const Xi = process.env.NODE_ENV === "production", Fn = "Invariant failed";
1060
1060
  class Oe extends Error {
1061
1061
  }
1062
1062
  Oe.prototype.toString = function() {
1063
1063
  return this.message;
1064
1064
  };
1065
1065
  function g(e, t) {
1066
- throw Ji ? new Oe(Fn) : new Oe(`${Fn}: ${t || ""}`);
1066
+ throw Xi ? new Oe(Fn) : new Oe(`${Fn}: ${t || ""}`);
1067
1067
  }
1068
- class Zi extends L.Component {
1068
+ class Ki extends L.Component {
1069
1069
  constructor(...t) {
1070
1070
  super(...t), this.callbacks = null, this.unbind = re, this.onWindowError = (n) => {
1071
1071
  const r = this.getCallbacks();
@@ -1103,11 +1103,11 @@ class Zi extends L.Component {
1103
1103
  return this.props.children(this.setCallbacks);
1104
1104
  }
1105
1105
  }
1106
- const Qi = `
1106
+ const Ji = `
1107
1107
  Press space bar to start a drag.
1108
1108
  When dragging you can use the arrow keys to move the item around and escape to cancel.
1109
1109
  Some screen readers may require you to be in focus mode or to use your pass through key
1110
- `, Ze = (e) => e + 1, es = (e) => `
1110
+ `, Ze = (e) => e + 1, Zi = (e) => `
1111
1111
  You have lifted an item in position ${Ze(e.source.index)}
1112
1112
  `, Vr = (e, t) => {
1113
1113
  const n = e.droppableId === t.droppableId, r = Ze(e.index), o = Ze(t.index);
@@ -1127,7 +1127,7 @@ const Qi = `
1127
1127
  in list ${t.droppableId}
1128
1128
  has been combined with ${n.draggableId}
1129
1129
  in list ${n.droppableId}
1130
- `, ts = (e) => {
1130
+ `, Qi = (e) => {
1131
1131
  const t = e.destination;
1132
1132
  if (t)
1133
1133
  return Vr(e.source, t);
@@ -1136,7 +1136,7 @@ const Qi = `
1136
1136
  }, Wn = (e) => `
1137
1137
  The item has returned to its starting position
1138
1138
  of ${Ze(e.index)}
1139
- `, ns = (e) => {
1139
+ `, es = (e) => {
1140
1140
  if (e.reason === "CANCEL")
1141
1141
  return `
1142
1142
  Movement cancelled.
@@ -1154,23 +1154,23 @@ const Qi = `
1154
1154
  ${Wn(e.source)}
1155
1155
  `;
1156
1156
  }, ze = {
1157
- dragHandleUsageInstructions: Qi,
1158
- onDragStart: es,
1159
- onDragUpdate: ts,
1160
- onDragEnd: ns
1157
+ dragHandleUsageInstructions: Ji,
1158
+ onDragStart: Zi,
1159
+ onDragUpdate: Qi,
1160
+ onDragEnd: es
1161
1161
  };
1162
- function rs(e, t) {
1162
+ function ts(e, t) {
1163
1163
  return !!(e === t || Number.isNaN(e) && Number.isNaN(t));
1164
1164
  }
1165
1165
  function Mr(e, t) {
1166
1166
  if (e.length !== t.length)
1167
1167
  return !1;
1168
1168
  for (let n = 0; n < e.length; n++)
1169
- if (!rs(e[n], t[n]))
1169
+ if (!ts(e[n], t[n]))
1170
1170
  return !1;
1171
1171
  return !0;
1172
1172
  }
1173
- function S(e, t) {
1173
+ function w(e, t) {
1174
1174
  const n = me(() => ({
1175
1175
  inputs: t,
1176
1176
  result: e()
@@ -1183,7 +1183,7 @@ function S(e, t) {
1183
1183
  }, [s]), s.result;
1184
1184
  }
1185
1185
  function D(e, t) {
1186
- return S(() => e, t);
1186
+ return w(() => e, t);
1187
1187
  }
1188
1188
  const G = {
1189
1189
  x: 0,
@@ -1203,11 +1203,11 @@ const G = {
1203
1203
  } : {
1204
1204
  x: n,
1205
1205
  y: t
1206
- }, Se = (e, t) => Math.sqrt((t.x - e.x) ** 2 + (t.y - e.y) ** 2), Un = (e, t) => Math.min(...t.map((n) => Se(e, n))), $r = (e) => (t) => ({
1206
+ }, we = (e, t) => Math.sqrt((t.x - e.x) ** 2 + (t.y - e.y) ** 2), Un = (e, t) => Math.min(...t.map((n) => we(e, n))), $r = (e) => (t) => ({
1207
1207
  x: e(t.x),
1208
1208
  y: e(t.y)
1209
1209
  });
1210
- var os = (e, t) => {
1210
+ var ns = (e, t) => {
1211
1211
  const n = Z({
1212
1212
  top: Math.max(t.top, e.top),
1213
1213
  right: Math.min(t.right, e.right),
@@ -1233,22 +1233,22 @@ const Be = (e, t) => ({
1233
1233
  }, {
1234
1234
  x: e.right,
1235
1235
  y: e.bottom
1236
- }], is = {
1236
+ }], rs = {
1237
1237
  top: 0,
1238
1238
  right: 0,
1239
1239
  bottom: 0,
1240
1240
  left: 0
1241
- }, ss = (e, t) => t ? Be(e, t.scroll.diff.displacement) : e, cs = (e, t, n) => n && n.increasedBy ? {
1241
+ }, os = (e, t) => t ? Be(e, t.scroll.diff.displacement) : e, is = (e, t, n) => n && n.increasedBy ? {
1242
1242
  ...e,
1243
1243
  [t.end]: e[t.end] + n.increasedBy[t.line]
1244
- } : e, as = (e, t) => t && t.shouldClipSubject ? os(t.pageMarginBox, e) : Z(e);
1244
+ } : e, ss = (e, t) => t && t.shouldClipSubject ? ns(t.pageMarginBox, e) : Z(e);
1245
1245
  var pe = ({
1246
1246
  page: e,
1247
1247
  withPlaceholder: t,
1248
1248
  axis: n,
1249
1249
  frame: r
1250
1250
  }) => {
1251
- const o = ss(e.marginBox, r), i = cs(o, n, t), s = as(i, r);
1251
+ const o = os(e.marginBox, r), i = is(o, n, t), s = ss(i, r);
1252
1252
  return {
1253
1253
  page: e,
1254
1254
  withPlaceholder: t,
@@ -1295,15 +1295,15 @@ function $(e, t = Mr) {
1295
1295
  n = null;
1296
1296
  }, r;
1297
1297
  }
1298
- const Gr = $((e) => e.reduce((t, n) => (t[n.descriptor.id] = n, t), {})), kr = $((e) => e.reduce((t, n) => (t[n.descriptor.id] = n, t), {})), nt = $((e) => Object.values(e)), ls = $((e) => Object.values(e));
1299
- var le = $((e, t) => ls(t).filter((r) => e === r.descriptor.droppableId).sort((r, o) => r.descriptor.index - o.descriptor.index));
1298
+ const Gr = $((e) => e.reduce((t, n) => (t[n.descriptor.id] = n, t), {})), kr = $((e) => e.reduce((t, n) => (t[n.descriptor.id] = n, t), {})), nt = $((e) => Object.values(e)), cs = $((e) => Object.values(e));
1299
+ var le = $((e, t) => cs(t).filter((r) => e === r.descriptor.droppableId).sort((r, o) => r.descriptor.index - o.descriptor.index));
1300
1300
  function Zt(e) {
1301
1301
  return e.at && e.at.type === "REORDER" ? e.at.destination : null;
1302
1302
  }
1303
1303
  function rt(e) {
1304
1304
  return e.at && e.at.type === "COMBINE" ? e.at.combine : null;
1305
1305
  }
1306
- var ot = $((e, t) => t.filter((n) => n.descriptor.id !== e.descriptor.id)), ds = ({
1306
+ var ot = $((e, t) => t.filter((n) => n.descriptor.id !== e.descriptor.id)), as = ({
1307
1307
  isMovingForward: e,
1308
1308
  draggable: t,
1309
1309
  destination: n,
@@ -1313,7 +1313,7 @@ var ot = $((e, t) => t.filter((n) => n.descriptor.id !== e.descriptor.id)), ds =
1313
1313
  if (!n.isCombineEnabled || !Zt(o))
1314
1314
  return null;
1315
1315
  function s(f) {
1316
- const m = {
1316
+ const h = {
1317
1317
  type: "COMBINE",
1318
1318
  combine: {
1319
1319
  draggableId: f,
@@ -1322,7 +1322,7 @@ var ot = $((e, t) => t.filter((n) => n.descriptor.id !== e.descriptor.id)), ds =
1322
1322
  };
1323
1323
  return {
1324
1324
  ...o,
1325
- at: m
1325
+ at: h
1326
1326
  };
1327
1327
  }
1328
1328
  const c = o.displaced.all, a = c.length ? c[0] : null;
@@ -1346,12 +1346,12 @@ var ot = $((e, t) => t.filter((n) => n.descriptor.id !== e.descriptor.id)), ds =
1346
1346
  const Fr = {
1347
1347
  point: G,
1348
1348
  value: 0
1349
- }, we = {
1349
+ }, Se = {
1350
1350
  invisible: {},
1351
1351
  visible: {},
1352
1352
  all: []
1353
- }, us = {
1354
- displaced: we,
1353
+ }, ls = {
1354
+ displaced: Se,
1355
1355
  displacedBy: Fr,
1356
1356
  at: null
1357
1357
  };
@@ -1366,7 +1366,7 @@ var J = (e, t) => (n) => e <= n && n <= t, Wr = (e) => {
1366
1366
  const a = r.top < e.top && r.bottom > e.bottom, d = r.left < e.left && r.right > e.right;
1367
1367
  return a && d ? !0 : a && s || d && i;
1368
1368
  };
1369
- }, ps = (e) => {
1369
+ }, ds = (e) => {
1370
1370
  const t = J(e.top, e.bottom), n = J(e.left, e.right);
1371
1371
  return (r) => t(r.top) && t(r.bottom) && n(r.left) && n(r.right);
1372
1372
  };
@@ -1391,32 +1391,32 @@ const Qt = {
1391
1391
  crossAxisEnd: "bottom",
1392
1392
  crossAxisSize: "height"
1393
1393
  };
1394
- var fs = (e) => (t) => {
1394
+ var us = (e) => (t) => {
1395
1395
  const n = J(t.top, t.bottom), r = J(t.left, t.right);
1396
1396
  return (o) => e === Qt ? n(o.top) && n(o.bottom) : r(o.left) && r(o.right);
1397
1397
  };
1398
- const gs = (e, t) => {
1398
+ const ps = (e, t) => {
1399
1399
  const n = t.frame ? t.frame.scroll.diff.displacement : G;
1400
1400
  return Be(e, n);
1401
- }, ms = (e, t, n) => t.subject.active ? n(t.subject.active)(e) : !1, hs = (e, t, n) => n(t)(e), en = ({
1401
+ }, fs = (e, t, n) => t.subject.active ? n(t.subject.active)(e) : !1, gs = (e, t, n) => n(t)(e), en = ({
1402
1402
  target: e,
1403
1403
  destination: t,
1404
1404
  viewport: n,
1405
1405
  withDroppableDisplacement: r,
1406
1406
  isVisibleThroughFrameFn: o
1407
1407
  }) => {
1408
- const i = r ? gs(e, t) : e;
1409
- return ms(i, t, o) && hs(i, n, o);
1410
- }, bs = (e) => en({
1408
+ const i = r ? ps(e, t) : e;
1409
+ return fs(i, t, o) && gs(i, n, o);
1410
+ }, ms = (e) => en({
1411
1411
  ...e,
1412
1412
  isVisibleThroughFrameFn: Wr
1413
1413
  }), Hr = (e) => en({
1414
1414
  ...e,
1415
- isVisibleThroughFrameFn: ps
1416
- }), vs = (e) => en({
1415
+ isVisibleThroughFrameFn: ds
1416
+ }), hs = (e) => en({
1417
1417
  ...e,
1418
- isVisibleThroughFrameFn: fs(e.destination.axis)
1419
- }), ys = (e, t, n) => {
1418
+ isVisibleThroughFrameFn: us(e.destination.axis)
1419
+ }), bs = (e, t, n) => {
1420
1420
  if (typeof n == "boolean")
1421
1421
  return n;
1422
1422
  if (!t)
@@ -1430,7 +1430,7 @@ const gs = (e, t) => {
1430
1430
  const i = o[e];
1431
1431
  return i ? i.shouldAnimate : !0;
1432
1432
  };
1433
- function Es(e, t) {
1433
+ function vs(e, t) {
1434
1434
  const n = e.page.marginBox, r = {
1435
1435
  top: t.point.y,
1436
1436
  right: 0,
@@ -1448,15 +1448,15 @@ function _e({
1448
1448
  last: i
1449
1449
  }) {
1450
1450
  return e.reduce(function(c, a) {
1451
- const d = Es(a, n), p = a.descriptor.id;
1452
- if (c.all.push(p), !bs({
1451
+ const d = vs(a, n), p = a.descriptor.id;
1452
+ if (c.all.push(p), !ms({
1453
1453
  target: d,
1454
1454
  destination: t,
1455
1455
  viewport: r,
1456
1456
  withDroppableDisplacement: !0
1457
1457
  }))
1458
1458
  return c.invisible[a.descriptor.id] = !0, c;
1459
- const u = ys(p, i, o), f = {
1459
+ const u = bs(p, i, o), f = {
1460
1460
  draggableId: p,
1461
1461
  shouldAnimate: u
1462
1462
  };
@@ -1467,7 +1467,7 @@ function _e({
1467
1467
  invisible: {}
1468
1468
  });
1469
1469
  }
1470
- function Ds(e, t) {
1470
+ function ys(e, t) {
1471
1471
  if (!e.length)
1472
1472
  return 0;
1473
1473
  const n = e[e.length - 1].descriptor.index;
@@ -1479,11 +1479,11 @@ function zn({
1479
1479
  displacedBy: n,
1480
1480
  destination: r
1481
1481
  }) {
1482
- const o = Ds(e, {
1482
+ const o = ys(e, {
1483
1483
  inHomeList: t
1484
1484
  });
1485
1485
  return {
1486
- displaced: we,
1486
+ displaced: Se,
1487
1487
  displacedBy: n,
1488
1488
  at: {
1489
1489
  type: "REORDER",
@@ -1512,7 +1512,7 @@ function Qe({
1512
1512
  displacedBy: o,
1513
1513
  destination: n
1514
1514
  });
1515
- const d = t.find((m) => m.descriptor.index === s);
1515
+ const d = t.find((h) => h.descriptor.index === s);
1516
1516
  if (!d)
1517
1517
  return zn({
1518
1518
  insideDestination: t,
@@ -1543,7 +1543,7 @@ function Qe({
1543
1543
  function ie(e, t) {
1544
1544
  return !!t.effected[e];
1545
1545
  }
1546
- var Ns = ({
1546
+ var Es = ({
1547
1547
  isMovingForward: e,
1548
1548
  destination: t,
1549
1549
  draggables: n,
@@ -1554,7 +1554,7 @@ var Ns = ({
1554
1554
  return null;
1555
1555
  const i = r.draggableId, c = n[i].descriptor.index;
1556
1556
  return ie(i, o) ? e ? c : c - 1 : e ? c + 1 : c;
1557
- }, xs = ({
1557
+ }, Ds = ({
1558
1558
  isMovingForward: e,
1559
1559
  isInHomeList: t,
1560
1560
  insideDestination: n,
@@ -1564,7 +1564,7 @@ var Ns = ({
1564
1564
  return null;
1565
1565
  const o = r.index, i = e ? o + 1 : o - 1, s = n[0].descriptor.index, c = n[n.length - 1].descriptor.index, a = t ? c : c + 1;
1566
1566
  return i < s || i > a ? null : i;
1567
- }, Is = ({
1567
+ }, Ns = ({
1568
1568
  isMovingForward: e,
1569
1569
  isInHomeList: t,
1570
1570
  draggable: n,
@@ -1577,7 +1577,7 @@ var Ns = ({
1577
1577
  }) => {
1578
1578
  const d = s.at;
1579
1579
  if (d || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot move in direction without previous impact location") : g()), d.type === "REORDER") {
1580
- const l = xs({
1580
+ const l = Ds({
1581
1581
  isMovingForward: e,
1582
1582
  isInHomeList: t,
1583
1583
  location: d.destination,
@@ -1593,7 +1593,7 @@ var Ns = ({
1593
1593
  index: l
1594
1594
  });
1595
1595
  }
1596
- const p = Ns({
1596
+ const p = Es({
1597
1597
  isMovingForward: e,
1598
1598
  destination: o,
1599
1599
  displaced: s.displaced,
@@ -1610,7 +1610,7 @@ var Ns = ({
1610
1610
  displacedBy: s.displacedBy,
1611
1611
  index: p
1612
1612
  });
1613
- }, Cs = ({
1613
+ }, xs = ({
1614
1614
  displaced: e,
1615
1615
  afterCritical: t,
1616
1616
  combineWith: n,
@@ -1618,14 +1618,14 @@ var Ns = ({
1618
1618
  }) => {
1619
1619
  const o = !!(e.visible[n] || e.invisible[n]);
1620
1620
  return ie(n, t) ? o ? G : he(r.point) : o ? r.point : G;
1621
- }, Os = ({
1621
+ }, Is = ({
1622
1622
  afterCritical: e,
1623
1623
  impact: t,
1624
1624
  draggables: n
1625
1625
  }) => {
1626
1626
  const r = rt(t);
1627
1627
  r || (process.env.NODE_ENV, g());
1628
- const o = r.draggableId, i = n[o].page.borderBox.center, s = Cs({
1628
+ const o = r.draggableId, i = n[o].page.borderBox.center, s = xs({
1629
1629
  displaced: t.displaced,
1630
1630
  afterCritical: e,
1631
1631
  combineWith: o,
@@ -1633,7 +1633,7 @@ var Ns = ({
1633
1633
  });
1634
1634
  return k(i, s);
1635
1635
  };
1636
- const zr = (e, t) => t.margin[e.start] + t.borderBox[e.size] / 2, Ss = (e, t) => t.margin[e.end] + t.borderBox[e.size] / 2, tn = (e, t, n) => t[e.crossAxisStart] + n.margin[e.crossAxisStart] + n.borderBox[e.crossAxisSize] / 2, qn = ({
1636
+ const zr = (e, t) => t.margin[e.start] + t.borderBox[e.size] / 2, Cs = (e, t) => t.margin[e.end] + t.borderBox[e.size] / 2, tn = (e, t, n) => t[e.crossAxisStart] + n.margin[e.crossAxisStart] + n.borderBox[e.crossAxisSize] / 2, qn = ({
1637
1637
  axis: e,
1638
1638
  moveRelativeTo: t,
1639
1639
  isMoving: n
@@ -1641,12 +1641,12 @@ const zr = (e, t) => t.margin[e.start] + t.borderBox[e.size] / 2, Ss = (e, t) =>
1641
1641
  axis: e,
1642
1642
  moveRelativeTo: t,
1643
1643
  isMoving: n
1644
- }) => ae(e.line, t.marginBox[e.start] - Ss(e, n), tn(e, t.marginBox, n)), ws = ({
1644
+ }) => ae(e.line, t.marginBox[e.start] - Cs(e, n), tn(e, t.marginBox, n)), Os = ({
1645
1645
  axis: e,
1646
1646
  moveInto: t,
1647
1647
  isMoving: n
1648
1648
  }) => ae(e.line, t.contentBox[e.start] + zr(e, n), tn(e, t.contentBox, n));
1649
- var _s = ({
1649
+ var ws = ({
1650
1650
  impact: e,
1651
1651
  draggable: t,
1652
1652
  draggables: n,
@@ -1655,7 +1655,7 @@ var _s = ({
1655
1655
  }) => {
1656
1656
  const i = le(r.descriptor.id, n), s = t.page, c = r.axis;
1657
1657
  if (!i.length)
1658
- return ws({
1658
+ return Os({
1659
1659
  axis: c,
1660
1660
  moveInto: r.page,
1661
1661
  isMoving: s
@@ -1699,7 +1699,7 @@ var _s = ({
1699
1699
  const n = e.frame;
1700
1700
  return n ? k(t, n.scroll.diff.displacement) : t;
1701
1701
  };
1702
- const As = ({
1702
+ const Ss = ({
1703
1703
  impact: e,
1704
1704
  draggable: t,
1705
1705
  droppable: n,
@@ -1707,20 +1707,20 @@ const As = ({
1707
1707
  afterCritical: o
1708
1708
  }) => {
1709
1709
  const i = t.page.borderBox.center, s = e.at;
1710
- return !n || !s ? i : s.type === "REORDER" ? _s({
1710
+ return !n || !s ? i : s.type === "REORDER" ? ws({
1711
1711
  impact: e,
1712
1712
  draggable: t,
1713
1713
  draggables: r,
1714
1714
  droppable: n,
1715
1715
  afterCritical: o
1716
- }) : Os({
1716
+ }) : Is({
1717
1717
  impact: e,
1718
1718
  draggables: r,
1719
1719
  afterCritical: o
1720
1720
  });
1721
1721
  };
1722
1722
  var it = (e) => {
1723
- const t = As(e), n = e.droppable;
1723
+ const t = Ss(e), n = e.droppable;
1724
1724
  return n ? Mt(n, t) : t;
1725
1725
  }, qr = (e, t) => {
1726
1726
  const n = q(t, e.scroll.initial), r = he(n);
@@ -1745,7 +1745,7 @@ var it = (e) => {
1745
1745
  function Yn(e, t) {
1746
1746
  return e.map((n) => t[n]);
1747
1747
  }
1748
- function Ps(e, t) {
1748
+ function _s(e, t) {
1749
1749
  for (let n = 0; n < t.length; n++) {
1750
1750
  const r = t[n].visible[e];
1751
1751
  if (r)
@@ -1753,7 +1753,7 @@ function Ps(e, t) {
1753
1753
  }
1754
1754
  return null;
1755
1755
  }
1756
- var Rs = ({
1756
+ var As = ({
1757
1757
  impact: e,
1758
1758
  viewport: t,
1759
1759
  destination: n,
@@ -1775,13 +1775,13 @@ var Rs = ({
1775
1775
  last: c,
1776
1776
  forceShouldAnimate: !1
1777
1777
  }), p = {}, l = {}, u = [c, a, d];
1778
- return c.all.forEach((m) => {
1779
- const b = Ps(m, u);
1778
+ return c.all.forEach((h) => {
1779
+ const b = _s(h, u);
1780
1780
  if (b) {
1781
- l[m] = b;
1781
+ l[h] = b;
1782
1782
  return;
1783
1783
  }
1784
- p[m] = !0;
1784
+ p[h] = !0;
1785
1785
  }), {
1786
1786
  ...e,
1787
1787
  displaced: {
@@ -1790,12 +1790,12 @@ var Rs = ({
1790
1790
  visible: l
1791
1791
  }
1792
1792
  };
1793
- }, Ts = (e, t) => k(e.scroll.diff.displacement, t), nn = ({
1793
+ }, Ps = (e, t) => k(e.scroll.diff.displacement, t), nn = ({
1794
1794
  pageBorderBoxCenter: e,
1795
1795
  draggable: t,
1796
1796
  viewport: n
1797
1797
  }) => {
1798
- const r = Ts(n, e), o = q(r, t.page.borderBox.center);
1798
+ const r = Ps(n, e), o = q(r, t.page.borderBox.center);
1799
1799
  return k(t.client.borderBox.center, o);
1800
1800
  }, jr = ({
1801
1801
  draggable: e,
@@ -1811,8 +1811,8 @@ var Rs = ({
1811
1811
  withDroppableDisplacement: o,
1812
1812
  viewport: r
1813
1813
  };
1814
- return i ? vs(a) : Hr(a);
1815
- }, Bs = ({
1814
+ return i ? hs(a) : Hr(a);
1815
+ }, Rs = ({
1816
1816
  isMovingForward: e,
1817
1817
  draggable: t,
1818
1818
  destination: n,
@@ -1825,13 +1825,13 @@ var Rs = ({
1825
1825
  }) => {
1826
1826
  if (!n.isEnabled)
1827
1827
  return null;
1828
- const d = le(n.descriptor.id, r), p = be(t, n), l = ds({
1828
+ const d = le(n.descriptor.id, r), p = be(t, n), l = as({
1829
1829
  isMovingForward: e,
1830
1830
  draggable: t,
1831
1831
  destination: n,
1832
1832
  insideDestination: d,
1833
1833
  previousImpact: o
1834
- }) || Is({
1834
+ }) || Ns({
1835
1835
  isMovingForward: e,
1836
1836
  isInHomeList: p,
1837
1837
  draggable: t,
@@ -1868,24 +1868,24 @@ var Rs = ({
1868
1868
  impact: l,
1869
1869
  scrollJumpRequest: null
1870
1870
  };
1871
- const m = q(u, s), b = Rs({
1871
+ const h = q(u, s), b = As({
1872
1872
  impact: l,
1873
1873
  viewport: i,
1874
1874
  destination: n,
1875
1875
  draggables: r,
1876
- maxScrollChange: m
1876
+ maxScrollChange: h
1877
1877
  });
1878
1878
  return {
1879
1879
  clientSelection: c,
1880
1880
  impact: b,
1881
- scrollJumpRequest: m
1881
+ scrollJumpRequest: h
1882
1882
  };
1883
1883
  };
1884
1884
  const F = (e) => {
1885
1885
  const t = e.subject.active;
1886
1886
  return t || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot get clipped area from droppable") : g()), t;
1887
1887
  };
1888
- var Vs = ({
1888
+ var Ts = ({
1889
1889
  isMovingForward: e,
1890
1890
  pageBorderBoxCenter: t,
1891
1891
  source: n,
@@ -1918,23 +1918,23 @@ var Vs = ({
1918
1918
  const Xn = (e, t) => {
1919
1919
  const n = e.page.borderBox.center;
1920
1920
  return ie(e.descriptor.id, t) ? q(n, t.displacedBy.point) : n;
1921
- }, Ls = (e, t) => {
1921
+ }, Bs = (e, t) => {
1922
1922
  const n = e.page.borderBox;
1923
1923
  return ie(e.descriptor.id, t) ? Be(n, he(t.displacedBy.point)) : n;
1924
1924
  };
1925
- var Ms = ({
1925
+ var Vs = ({
1926
1926
  pageBorderBoxCenter: e,
1927
1927
  viewport: t,
1928
1928
  destination: n,
1929
1929
  insideDestination: r,
1930
1930
  afterCritical: o
1931
1931
  }) => r.filter((s) => Hr({
1932
- target: Ls(s, o),
1932
+ target: Bs(s, o),
1933
1933
  destination: n,
1934
1934
  viewport: t.frame,
1935
1935
  withDroppableDisplacement: !0
1936
1936
  })).sort((s, c) => {
1937
- const a = Se(e, Mt(n, Xn(s, o))), d = Se(e, Mt(n, Xn(c, o)));
1937
+ const a = we(e, Mt(n, Xn(s, o))), d = we(e, Mt(n, Xn(c, o)));
1938
1938
  return a < d ? -1 : d < a ? 1 : s.descriptor.index - c.descriptor.index;
1939
1939
  })[0] || null, Ve = $(function(t, n) {
1940
1940
  const r = n[t.line];
@@ -1943,7 +1943,7 @@ var Ms = ({
1943
1943
  point: ae(t.line, r)
1944
1944
  };
1945
1945
  });
1946
- const $s = (e, t, n) => {
1946
+ const Ls = (e, t, n) => {
1947
1947
  const r = e.axis;
1948
1948
  if (e.descriptor.mode === "virtual")
1949
1949
  return ae(r.line, t[r.line]);
@@ -1958,7 +1958,7 @@ const $s = (e, t, n) => {
1958
1958
  }), Xr = (e, t, n) => {
1959
1959
  const r = e.frame;
1960
1960
  be(t, e) && (process.env.NODE_ENV !== "production" ? g(!1, "Should not add placeholder space to home list") : g()), e.subject.withPlaceholder && (process.env.NODE_ENV !== "production" ? g(!1, "Cannot add placeholder size to a subject when it already has one") : g());
1961
- const o = Ve(e.axis, t.displaceBy).point, i = $s(e, o, n), s = {
1961
+ const o = Ve(e.axis, t.displaceBy).point, i = Ls(e, o, n), s = {
1962
1962
  placeholderSize: o,
1963
1963
  increasedBy: i,
1964
1964
  oldFrameMaxScroll: e.frame ? e.frame.scroll.max : null
@@ -1986,7 +1986,7 @@ const $s = (e, t, n) => {
1986
1986
  subject: d,
1987
1987
  frame: a
1988
1988
  };
1989
- }, Gs = (e) => {
1989
+ }, Ms = (e) => {
1990
1990
  const t = e.subject.withPlaceholder;
1991
1991
  t || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot remove placeholder form subject when there was none") : g());
1992
1992
  const n = e.frame;
@@ -2016,7 +2016,7 @@ const $s = (e, t, n) => {
2016
2016
  frame: o
2017
2017
  };
2018
2018
  };
2019
- var ks = ({
2019
+ var $s = ({
2020
2020
  previousPageBorderBoxCenter: e,
2021
2021
  moveRelativeTo: t,
2022
2022
  insideDestination: n,
@@ -2030,7 +2030,7 @@ var ks = ({
2030
2030
  if (n.length)
2031
2031
  return null;
2032
2032
  const l = {
2033
- displaced: we,
2033
+ displaced: Se,
2034
2034
  displacedBy: Fr,
2035
2035
  at: {
2036
2036
  type: "REORDER",
@@ -2065,10 +2065,10 @@ var ks = ({
2065
2065
  destination: i,
2066
2066
  viewport: s,
2067
2067
  displacedBy: p,
2068
- last: we,
2068
+ last: Se,
2069
2069
  index: d
2070
2070
  });
2071
- }, Fs = ({
2071
+ }, Gs = ({
2072
2072
  isMovingForward: e,
2073
2073
  previousPageBorderBoxCenter: t,
2074
2074
  draggable: n,
@@ -2078,7 +2078,7 @@ var ks = ({
2078
2078
  viewport: s,
2079
2079
  afterCritical: c
2080
2080
  }) => {
2081
- const a = Vs({
2081
+ const a = Ts({
2082
2082
  isMovingForward: e,
2083
2083
  pageBorderBoxCenter: t,
2084
2084
  source: r,
@@ -2087,13 +2087,13 @@ var ks = ({
2087
2087
  });
2088
2088
  if (!a)
2089
2089
  return null;
2090
- const d = le(a.descriptor.id, o), p = Ms({
2090
+ const d = le(a.descriptor.id, o), p = Vs({
2091
2091
  pageBorderBoxCenter: t,
2092
2092
  viewport: s,
2093
2093
  destination: a,
2094
2094
  insideDestination: d,
2095
2095
  afterCritical: c
2096
- }), l = ks({
2096
+ }), l = $s({
2097
2097
  previousPageBorderBoxCenter: t,
2098
2098
  destination: a,
2099
2099
  draggable: n,
@@ -2125,22 +2125,22 @@ var ks = ({
2125
2125
  const t = e.at;
2126
2126
  return t ? t.type === "REORDER" ? t.destination.droppableId : t.combine.droppableId : null;
2127
2127
  };
2128
- const Ws = (e, t) => {
2128
+ const ks = (e, t) => {
2129
2129
  const n = j(e);
2130
2130
  return n ? t[n] : null;
2131
2131
  };
2132
- var Us = ({
2132
+ var Fs = ({
2133
2133
  state: e,
2134
2134
  type: t
2135
2135
  }) => {
2136
- const n = Ws(e.impact, e.dimensions.droppables), r = !!n, o = e.dimensions.droppables[e.critical.droppable.id], i = n || o, s = i.axis.direction, c = s === "vertical" && (t === "MOVE_UP" || t === "MOVE_DOWN") || s === "horizontal" && (t === "MOVE_LEFT" || t === "MOVE_RIGHT");
2136
+ const n = ks(e.impact, e.dimensions.droppables), r = !!n, o = e.dimensions.droppables[e.critical.droppable.id], i = n || o, s = i.axis.direction, c = s === "vertical" && (t === "MOVE_UP" || t === "MOVE_DOWN") || s === "horizontal" && (t === "MOVE_LEFT" || t === "MOVE_RIGHT");
2137
2137
  if (c && !r)
2138
2138
  return null;
2139
2139
  const a = t === "MOVE_DOWN" || t === "MOVE_RIGHT", d = e.dimensions.draggables[e.critical.draggable.id], p = e.current.page.borderBoxCenter, {
2140
2140
  draggables: l,
2141
2141
  droppables: u
2142
2142
  } = e.dimensions;
2143
- return c ? Bs({
2143
+ return c ? Rs({
2144
2144
  isMovingForward: a,
2145
2145
  previousPageBorderBoxCenter: p,
2146
2146
  draggable: d,
@@ -2150,7 +2150,7 @@ var Us = ({
2150
2150
  previousClientSelection: e.current.client.selection,
2151
2151
  previousImpact: e.impact,
2152
2152
  afterCritical: e.afterCritical
2153
- }) : Fs({
2153
+ }) : Gs({
2154
2154
  isMovingForward: a,
2155
2155
  previousPageBorderBoxCenter: p,
2156
2156
  draggable: d,
@@ -2170,10 +2170,10 @@ function Kr(e) {
2170
2170
  return t(o.y) && n(o.x);
2171
2171
  };
2172
2172
  }
2173
- function Hs(e, t) {
2173
+ function Ws(e, t) {
2174
2174
  return e.left < t.right && e.right > t.left && e.top < t.bottom && e.bottom > t.top;
2175
2175
  }
2176
- function zs({
2176
+ function Us({
2177
2177
  pageBorderBox: e,
2178
2178
  draggable: t,
2179
2179
  candidates: n
@@ -2182,12 +2182,12 @@ function zs({
2182
2182
  const s = i.axis, c = ae(i.axis.line, e.center[s.line], i.page.borderBox.center[s.crossAxisLine]);
2183
2183
  return {
2184
2184
  id: i.descriptor.id,
2185
- distance: Se(r, c)
2185
+ distance: we(r, c)
2186
2186
  };
2187
2187
  }).sort((i, s) => s.distance - i.distance);
2188
2188
  return o[0] ? o[0].id : null;
2189
2189
  }
2190
- function qs({
2190
+ function Hs({
2191
2191
  pageBorderBox: e,
2192
2192
  draggable: t,
2193
2193
  droppables: n
@@ -2196,21 +2196,21 @@ function qs({
2196
2196
  if (!o.isEnabled)
2197
2197
  return !1;
2198
2198
  const i = o.subject.active;
2199
- if (!i || !Hs(e, i))
2199
+ if (!i || !Ws(e, i))
2200
2200
  return !1;
2201
2201
  if (Kr(i)(e.center))
2202
2202
  return !0;
2203
2203
  const s = o.axis, c = i.center[s.crossAxisLine], a = e[s.crossAxisStart], d = e[s.crossAxisEnd], p = J(i[s.crossAxisStart], i[s.crossAxisEnd]), l = p(a), u = p(d);
2204
2204
  return !l && !u ? !0 : l ? a < c : d > c;
2205
2205
  });
2206
- return r.length ? r.length === 1 ? r[0].descriptor.id : zs({
2206
+ return r.length ? r.length === 1 ? r[0].descriptor.id : Us({
2207
2207
  pageBorderBox: e,
2208
2208
  draggable: t,
2209
2209
  candidates: r
2210
2210
  }) : null;
2211
2211
  }
2212
2212
  const Jr = (e, t) => Z(Be(e, t));
2213
- var js = (e, t) => {
2213
+ var zs = (e, t) => {
2214
2214
  const n = e.frame;
2215
2215
  return n ? Jr(t, n.scroll.diff.value) : t;
2216
2216
  };
@@ -2220,14 +2220,14 @@ function Zr({
2220
2220
  }) {
2221
2221
  return !!(e.visible[t] || e.invisible[t]);
2222
2222
  }
2223
- function Ys({
2223
+ function qs({
2224
2224
  draggable: e,
2225
2225
  closest: t,
2226
2226
  inHomeList: n
2227
2227
  }) {
2228
2228
  return t ? n && t.descriptor.index > e.descriptor.index ? t.descriptor.index - 1 : t.descriptor.index : null;
2229
2229
  }
2230
- var Xs = ({
2230
+ var js = ({
2231
2231
  pageBorderBoxWithDroppableScroll: e,
2232
2232
  draggable: t,
2233
2233
  destination: n,
@@ -2237,12 +2237,12 @@ var Xs = ({
2237
2237
  afterCritical: s
2238
2238
  }) => {
2239
2239
  const c = n.axis, a = Ve(n.axis, t.displaceBy), d = a.value, p = e[c.start], l = e[c.end], f = ot(t, r).find((b) => {
2240
- const h = b.descriptor.id, y = b.page.borderBox.center[c.line], v = ie(h, s), I = Zr({
2240
+ const m = b.descriptor.id, y = b.page.borderBox.center[c.line], v = ie(m, s), I = Zr({
2241
2241
  displaced: o,
2242
- id: h
2242
+ id: m
2243
2243
  });
2244
2244
  return v ? I ? l <= y : p < y - d : I ? l <= y + d : p < y;
2245
- }) || null, m = Ys({
2245
+ }) || null, h = qs({
2246
2246
  draggable: t,
2247
2247
  closest: f,
2248
2248
  inHomeList: be(t, n)
@@ -2254,11 +2254,11 @@ var Xs = ({
2254
2254
  viewport: i,
2255
2255
  last: o,
2256
2256
  displacedBy: a,
2257
- index: m
2257
+ index: h
2258
2258
  });
2259
2259
  };
2260
- const Ks = 4;
2261
- var Js = ({
2260
+ const Ys = 4;
2261
+ var Xs = ({
2262
2262
  draggable: e,
2263
2263
  pageBorderBoxWithDroppableScroll: t,
2264
2264
  previousImpact: n,
@@ -2268,12 +2268,12 @@ var Js = ({
2268
2268
  }) => {
2269
2269
  if (!r.isCombineEnabled)
2270
2270
  return null;
2271
- const s = r.axis, c = Ve(r.axis, e.displaceBy), a = c.value, d = t[s.start], p = t[s.end], u = ot(e, o).find((m) => {
2272
- const b = m.descriptor.id, h = m.page.borderBox, v = h[s.size] / Ks, I = ie(b, i), N = Zr({
2271
+ const s = r.axis, c = Ve(r.axis, e.displaceBy), a = c.value, d = t[s.start], p = t[s.end], u = ot(e, o).find((h) => {
2272
+ const b = h.descriptor.id, m = h.page.borderBox, v = m[s.size] / Ys, I = ie(b, i), N = Zr({
2273
2273
  displaced: n.displaced,
2274
2274
  id: b
2275
2275
  });
2276
- return I ? N ? p > h[s.start] + v && p < h[s.end] - v : d > h[s.start] - a + v && d < h[s.end] - a - v : N ? p > h[s.start] + a + v && p < h[s.end] + a - v : d > h[s.start] + v && d < h[s.end] - v;
2276
+ return I ? N ? p > m[s.start] + v && p < m[s.end] - v : d > m[s.start] - a + v && d < m[s.end] - a - v : N ? p > m[s.start] + a + v && p < m[s.end] + a - v : d > m[s.start] + v && d < m[s.end] - v;
2277
2277
  });
2278
2278
  return u ? {
2279
2279
  displacedBy: c,
@@ -2295,22 +2295,22 @@ var Js = ({
2295
2295
  viewport: i,
2296
2296
  afterCritical: s
2297
2297
  }) => {
2298
- const c = Jr(t.page.borderBox, e), a = qs({
2298
+ const c = Jr(t.page.borderBox, e), a = Hs({
2299
2299
  pageBorderBox: c,
2300
2300
  draggable: t,
2301
2301
  droppables: r
2302
2302
  });
2303
2303
  if (!a)
2304
- return us;
2305
- const d = r[a], p = le(d.descriptor.id, n), l = js(d, c);
2306
- return Js({
2304
+ return ls;
2305
+ const d = r[a], p = le(d.descriptor.id, n), l = zs(d, c);
2306
+ return Xs({
2307
2307
  pageBorderBoxWithDroppableScroll: l,
2308
2308
  draggable: t,
2309
2309
  previousImpact: o,
2310
2310
  destination: d,
2311
2311
  insideDestination: p,
2312
2312
  afterCritical: s
2313
- }) || Xs({
2313
+ }) || js({
2314
2314
  pageBorderBoxWithDroppableScroll: l,
2315
2315
  draggable: t,
2316
2316
  destination: d,
@@ -2323,7 +2323,7 @@ var Js = ({
2323
2323
  ...e,
2324
2324
  [t.descriptor.id]: t
2325
2325
  });
2326
- const Zs = ({
2326
+ const Ks = ({
2327
2327
  previousImpact: e,
2328
2328
  impact: t,
2329
2329
  droppables: n
@@ -2334,17 +2334,17 @@ const Zs = ({
2334
2334
  const i = n[r];
2335
2335
  if (!i.subject.withPlaceholder)
2336
2336
  return n;
2337
- const s = Gs(i);
2337
+ const s = Ms(i);
2338
2338
  return rn(n, s);
2339
2339
  };
2340
- var Qs = ({
2340
+ var Js = ({
2341
2341
  draggable: e,
2342
2342
  draggables: t,
2343
2343
  droppables: n,
2344
2344
  previousImpact: r,
2345
2345
  impact: o
2346
2346
  }) => {
2347
- const i = Zs({
2347
+ const i = Ks({
2348
2348
  previousImpact: r,
2349
2349
  impact: o,
2350
2350
  droppables: n
@@ -2383,7 +2383,7 @@ var Qs = ({
2383
2383
  viewport: s,
2384
2384
  current: u
2385
2385
  };
2386
- const f = c.draggables[e.critical.draggable.id], m = o || Qr({
2386
+ const f = c.draggables[e.critical.draggable.id], h = o || Qr({
2387
2387
  pageOffset: l.offset,
2388
2388
  draggable: f,
2389
2389
  draggables: c.draggables,
@@ -2391,9 +2391,9 @@ var Qs = ({
2391
2391
  previousImpact: e.impact,
2392
2392
  viewport: s,
2393
2393
  afterCritical: e.afterCritical
2394
- }), b = Qs({
2394
+ }), b = Js({
2395
2395
  draggable: f,
2396
- impact: m,
2396
+ impact: h,
2397
2397
  previousImpact: e.impact,
2398
2398
  draggables: c.draggables,
2399
2399
  droppables: c.droppables
@@ -2405,13 +2405,13 @@ var Qs = ({
2405
2405
  draggables: c.draggables,
2406
2406
  droppables: b
2407
2407
  },
2408
- impact: m,
2408
+ impact: h,
2409
2409
  viewport: s,
2410
2410
  scrollJumpRequest: i || null,
2411
2411
  forceShouldAnimate: i ? !1 : null
2412
2412
  };
2413
2413
  };
2414
- function ec(e, t) {
2414
+ function Zs(e, t) {
2415
2415
  return e.map((n) => t[n]);
2416
2416
  }
2417
2417
  var eo = ({
@@ -2421,7 +2421,7 @@ var eo = ({
2421
2421
  destination: r,
2422
2422
  forceShouldAnimate: o
2423
2423
  }) => {
2424
- const i = e.displaced, s = ec(i.all, n), c = _e({
2424
+ const i = e.displaced, s = Zs(i.all, n), c = _e({
2425
2425
  afterDragging: s,
2426
2426
  destination: r,
2427
2427
  displacedBy: e.displacedBy,
@@ -2484,7 +2484,7 @@ var eo = ({
2484
2484
  dimensions: i,
2485
2485
  viewport: o
2486
2486
  });
2487
- }, tc = (e) => ({
2487
+ }, Qs = (e) => ({
2488
2488
  index: e.index,
2489
2489
  droppableId: e.droppableId
2490
2490
  }), ro = ({
@@ -2513,12 +2513,12 @@ var eo = ({
2513
2513
  displacedBy: o,
2514
2514
  at: {
2515
2515
  type: "REORDER",
2516
- destination: tc(e.descriptor)
2516
+ destination: Qs(e.descriptor)
2517
2517
  }
2518
2518
  },
2519
2519
  afterCritical: d
2520
2520
  };
2521
- }, nc = (e, t) => ({
2521
+ }, ec = (e, t) => ({
2522
2522
  draggables: e.draggables,
2523
2523
  droppables: rn(e.droppables, t)
2524
2524
  });
@@ -2527,7 +2527,7 @@ const Le = (e) => {
2527
2527
  }, Me = (e) => {
2528
2528
  process.env.NODE_ENV;
2529
2529
  };
2530
- var rc = ({
2530
+ var tc = ({
2531
2531
  draggable: e,
2532
2532
  offset: t,
2533
2533
  initialWindowScroll: n
@@ -2542,24 +2542,24 @@ var rc = ({
2542
2542
  client: r,
2543
2543
  page: o
2544
2544
  };
2545
- }, oc = (e) => {
2545
+ }, nc = (e) => {
2546
2546
  const t = e.frame;
2547
2547
  return t || (process.env.NODE_ENV !== "production" ? g(!1, "Expected Droppable to have a frame") : g()), t;
2548
- }, ic = ({
2548
+ }, rc = ({
2549
2549
  additions: e,
2550
2550
  updatedDroppables: t,
2551
2551
  viewport: n
2552
2552
  }) => {
2553
2553
  const r = n.scroll.diff.value;
2554
2554
  return e.map((o) => {
2555
- const i = o.descriptor.droppableId, s = t[i], a = oc(s).scroll.diff.value, d = k(r, a);
2556
- return rc({
2555
+ const i = o.descriptor.droppableId, s = t[i], a = nc(s).scroll.diff.value, d = k(r, a);
2556
+ return tc({
2557
2557
  draggable: o,
2558
2558
  offset: d,
2559
2559
  initialWindowScroll: n.scroll.initial
2560
2560
  });
2561
2561
  });
2562
- }, sc = ({
2562
+ }, oc = ({
2563
2563
  state: e,
2564
2564
  published: t
2565
2565
  }) => {
@@ -2570,7 +2570,7 @@ var rc = ({
2570
2570
  }), r = {
2571
2571
  ...e.dimensions.droppables,
2572
2572
  ...Gr(n)
2573
- }, o = kr(ic({
2573
+ }, o = kr(rc({
2574
2574
  additions: t.additions,
2575
2575
  updatedDroppables: r,
2576
2576
  viewport: e.viewport
@@ -2592,7 +2592,7 @@ var rc = ({
2592
2592
  home: p,
2593
2593
  draggables: i,
2594
2594
  viewport: e.viewport
2595
- }), f = a && a.isCombineEnabled ? e.impact : l, m = Qr({
2595
+ }), f = a && a.isCombineEnabled ? e.impact : l, h = Qr({
2596
2596
  pageOffset: e.current.page.offset,
2597
2597
  draggable: s.draggables[e.critical.draggable.id],
2598
2598
  draggables: s.draggables,
@@ -2605,7 +2605,7 @@ var rc = ({
2605
2605
  const b = {
2606
2606
  ...e,
2607
2607
  phase: "DRAGGING",
2608
- impact: m,
2608
+ impact: h,
2609
2609
  onLiftImpact: l,
2610
2610
  dimensions: s,
2611
2611
  afterCritical: u,
@@ -2619,7 +2619,7 @@ var rc = ({
2619
2619
  };
2620
2620
  };
2621
2621
  const $t = (e) => e.movementMode === "SNAP", Nt = (e, t, n) => {
2622
- const r = nc(e.dimensions, t);
2622
+ const r = ec(e.dimensions, t);
2623
2623
  return !$t(e) || n ? xe({
2624
2624
  state: e,
2625
2625
  dimensions: r
@@ -2639,7 +2639,7 @@ const Kn = {
2639
2639
  completed: null,
2640
2640
  shouldFlush: !1
2641
2641
  };
2642
- var cc = (e = Kn, t) => {
2642
+ var ic = (e = Kn, t) => {
2643
2643
  if (t.type === "FLUSH")
2644
2644
  return {
2645
2645
  ...Kn,
@@ -2696,7 +2696,7 @@ var cc = (e = Kn, t) => {
2696
2696
  phase: "COLLECTING"
2697
2697
  });
2698
2698
  if (t.type === "PUBLISH_WHILE_DRAGGING")
2699
- return e.phase === "COLLECTING" || e.phase === "DROP_PENDING" || (process.env.NODE_ENV !== "production" ? g(!1, `Unexpected ${t.type} received in phase ${e.phase}`) : g()), sc({
2699
+ return e.phase === "COLLECTING" || e.phase === "DROP_PENDING" || (process.env.NODE_ENV !== "production" ? g(!1, `Unexpected ${t.type} received in phase ${e.phase}`) : g()), oc({
2700
2700
  state: e,
2701
2701
  published: t.payload
2702
2702
  });
@@ -2796,7 +2796,7 @@ var cc = (e = Kn, t) => {
2796
2796
  if (e.phase === "COLLECTING" || e.phase === "DROP_PENDING")
2797
2797
  return e;
2798
2798
  e.phase !== "DRAGGING" && (process.env.NODE_ENV !== "production" ? g(!1, `${t.type} received while not in DRAGGING phase`) : g());
2799
- const n = Us({
2799
+ const n = Fs({
2800
2800
  state: e,
2801
2801
  type: t.type
2802
2802
  });
@@ -2842,58 +2842,58 @@ var cc = (e = Kn, t) => {
2842
2842
  }
2843
2843
  return e;
2844
2844
  };
2845
- function A(e, t) {
2845
+ function P(e, t) {
2846
2846
  return e instanceof Object && "type" in e && e.type === t;
2847
2847
  }
2848
- const ac = (e) => ({
2848
+ const sc = (e) => ({
2849
2849
  type: "BEFORE_INITIAL_CAPTURE",
2850
2850
  payload: e
2851
- }), lc = (e) => ({
2851
+ }), cc = (e) => ({
2852
2852
  type: "LIFT",
2853
2853
  payload: e
2854
- }), dc = (e) => ({
2854
+ }), ac = (e) => ({
2855
2855
  type: "INITIAL_PUBLISH",
2856
2856
  payload: e
2857
- }), uc = (e) => ({
2857
+ }), lc = (e) => ({
2858
2858
  type: "PUBLISH_WHILE_DRAGGING",
2859
2859
  payload: e
2860
- }), pc = () => ({
2860
+ }), dc = () => ({
2861
2861
  type: "COLLECTION_STARTING",
2862
2862
  payload: null
2863
- }), fc = (e) => ({
2863
+ }), uc = (e) => ({
2864
2864
  type: "UPDATE_DROPPABLE_SCROLL",
2865
2865
  payload: e
2866
- }), gc = (e) => ({
2866
+ }), pc = (e) => ({
2867
2867
  type: "UPDATE_DROPPABLE_IS_ENABLED",
2868
2868
  payload: e
2869
- }), mc = (e) => ({
2869
+ }), fc = (e) => ({
2870
2870
  type: "UPDATE_DROPPABLE_IS_COMBINE_ENABLED",
2871
2871
  payload: e
2872
2872
  }), oo = (e) => ({
2873
2873
  type: "MOVE",
2874
2874
  payload: e
2875
- }), hc = (e) => ({
2875
+ }), gc = (e) => ({
2876
2876
  type: "MOVE_BY_WINDOW_SCROLL",
2877
2877
  payload: e
2878
- }), bc = (e) => ({
2878
+ }), mc = (e) => ({
2879
2879
  type: "UPDATE_VIEWPORT_MAX_SCROLL",
2880
2880
  payload: e
2881
- }), vc = () => ({
2881
+ }), hc = () => ({
2882
2882
  type: "MOVE_UP",
2883
2883
  payload: null
2884
- }), yc = () => ({
2884
+ }), bc = () => ({
2885
2885
  type: "MOVE_DOWN",
2886
2886
  payload: null
2887
- }), Ec = () => ({
2887
+ }), vc = () => ({
2888
2888
  type: "MOVE_RIGHT",
2889
2889
  payload: null
2890
- }), Dc = () => ({
2890
+ }), yc = () => ({
2891
2891
  type: "MOVE_LEFT",
2892
2892
  payload: null
2893
2893
  }), on = () => ({
2894
2894
  type: "FLUSH",
2895
2895
  payload: null
2896
- }), Nc = (e) => ({
2896
+ }), Ec = (e) => ({
2897
2897
  type: "DROP_ANIMATE",
2898
2898
  payload: e
2899
2899
  }), sn = (e) => ({
@@ -2902,14 +2902,14 @@ const ac = (e) => ({
2902
2902
  }), io = (e) => ({
2903
2903
  type: "DROP",
2904
2904
  payload: e
2905
- }), xc = (e) => ({
2905
+ }), Dc = (e) => ({
2906
2906
  type: "DROP_PENDING",
2907
2907
  payload: e
2908
2908
  }), so = () => ({
2909
2909
  type: "DROP_ANIMATION_FINISHED",
2910
2910
  payload: null
2911
2911
  });
2912
- function Ic(e) {
2912
+ function Nc(e) {
2913
2913
  if (e.length <= 1)
2914
2914
  return;
2915
2915
  const t = e.map((o) => o.descriptor.index), n = {};
@@ -2928,17 +2928,17 @@ function Ic(e) {
2928
2928
  ${r}
2929
2929
  `);
2930
2930
  }
2931
- function Cc(e, t) {
2931
+ function xc(e, t) {
2932
2932
  if (process.env.NODE_ENV !== "production") {
2933
2933
  const n = le(e.droppable.id, t.draggables);
2934
- Ic(n);
2934
+ Nc(n);
2935
2935
  }
2936
2936
  }
2937
- var Oc = (e) => ({
2937
+ var Ic = (e) => ({
2938
2938
  getState: t,
2939
2939
  dispatch: n
2940
2940
  }) => (r) => (o) => {
2941
- if (!A(o, "LIFT")) {
2941
+ if (!P(o, "LIFT")) {
2942
2942
  r(o);
2943
2943
  return;
2944
2944
  }
@@ -2949,7 +2949,7 @@ var Oc = (e) => ({
2949
2949
  } = o.payload, a = t();
2950
2950
  a.phase === "DROP_ANIMATING" && n(sn({
2951
2951
  completed: a.completed
2952
- })), t().phase !== "IDLE" && (process.env.NODE_ENV !== "production" ? g(!1, "Unexpected phase to start a drag") : g()), n(on()), n(ac({
2952
+ })), t().phase !== "IDLE" && (process.env.NODE_ENV !== "production" ? g(!1, "Unexpected phase to start a drag") : g()), n(on()), n(sc({
2953
2953
  draggableId: i,
2954
2954
  movementMode: c
2955
2955
  }));
@@ -2963,15 +2963,15 @@ var Oc = (e) => ({
2963
2963
  dimensions: u,
2964
2964
  viewport: f
2965
2965
  } = e.startPublishing(p);
2966
- Cc(l, u), n(dc({
2966
+ xc(l, u), n(ac({
2967
2967
  critical: l,
2968
2968
  dimensions: u,
2969
2969
  clientSelection: s,
2970
2970
  movementMode: c,
2971
2971
  viewport: f
2972
2972
  }));
2973
- }, Sc = (e) => () => (t) => (n) => {
2974
- A(n, "INITIAL_PUBLISH") && e.dragging(), A(n, "DROP_ANIMATE") && e.dropping(n.payload.completed.result.reason), (A(n, "FLUSH") || A(n, "DROP_COMPLETE")) && e.resting(), t(n);
2973
+ }, Cc = (e) => () => (t) => (n) => {
2974
+ P(n, "INITIAL_PUBLISH") && e.dragging(), P(n, "DROP_ANIMATE") && e.dropping(n.payload.completed.result.reason), (P(n, "FLUSH") || P(n, "DROP_COMPLETE")) && e.resting(), t(n);
2975
2975
  };
2976
2976
  const cn = {
2977
2977
  outOfTheWay: "cubic-bezier(0.2, 0, 0, 1)",
@@ -3007,20 +3007,20 @@ const cn = {
3007
3007
  }, {
3008
3008
  minDropTime: kt,
3009
3009
  maxDropTime: ao
3010
- } = co, wc = ao - kt, Zn = 1500, _c = 0.6;
3011
- var Ac = ({
3010
+ } = co, Oc = ao - kt, Zn = 1500, wc = 0.6;
3011
+ var Sc = ({
3012
3012
  current: e,
3013
3013
  destination: t,
3014
3014
  reason: n
3015
3015
  }) => {
3016
- const r = Se(e, t);
3016
+ const r = we(e, t);
3017
3017
  if (r <= 0)
3018
3018
  return kt;
3019
3019
  if (r >= Zn)
3020
3020
  return ao;
3021
- const o = r / Zn, i = kt + wc * o, s = n === "CANCEL" ? i * _c : i;
3021
+ const o = r / Zn, i = kt + Oc * o, s = n === "CANCEL" ? i * wc : i;
3022
3022
  return Number(s.toFixed(2));
3023
- }, Pc = ({
3023
+ }, _c = ({
3024
3024
  impact: e,
3025
3025
  draggable: t,
3026
3026
  dimensions: n,
@@ -3039,7 +3039,7 @@ var Ac = ({
3039
3039
  viewport: r
3040
3040
  });
3041
3041
  return q(p, t.client.borderBox.center);
3042
- }, Rc = ({
3042
+ }, Ac = ({
3043
3043
  draggables: e,
3044
3044
  reason: t,
3045
3045
  lastImpact: n,
@@ -3061,21 +3061,21 @@ var Ac = ({
3061
3061
  } : {
3062
3062
  impact: {
3063
3063
  ...n,
3064
- displaced: we
3064
+ displaced: Se
3065
3065
  },
3066
3066
  didDropInsideDroppable: !0
3067
3067
  };
3068
- const Tc = ({
3068
+ const Pc = ({
3069
3069
  getState: e,
3070
3070
  dispatch: t
3071
3071
  }) => (n) => (r) => {
3072
- if (!A(r, "DROP")) {
3072
+ if (!P(r, "DROP")) {
3073
3073
  n(r);
3074
3074
  return;
3075
3075
  }
3076
3076
  const o = e(), i = r.payload.reason;
3077
3077
  if (o.phase === "COLLECTING") {
3078
- t(xc({
3078
+ t(Dc({
3079
3079
  reason: i
3080
3080
  }));
3081
3081
  return;
@@ -3086,7 +3086,7 @@ const Tc = ({
3086
3086
  const c = o.critical, a = o.dimensions, d = a.draggables[o.critical.draggable.id], {
3087
3087
  impact: p,
3088
3088
  didDropInsideDroppable: l
3089
- } = Rc({
3089
+ } = Ac({
3090
3090
  reason: i,
3091
3091
  lastImpact: o.impact,
3092
3092
  afterCritical: o.afterCritical,
@@ -3094,18 +3094,18 @@ const Tc = ({
3094
3094
  home: o.dimensions.droppables[o.critical.droppable.id],
3095
3095
  viewport: o.viewport,
3096
3096
  draggables: o.dimensions.draggables
3097
- }), u = l ? Zt(p) : null, f = l ? rt(p) : null, m = {
3097
+ }), u = l ? Zt(p) : null, f = l ? rt(p) : null, h = {
3098
3098
  index: c.draggable.index,
3099
3099
  droppableId: c.droppable.id
3100
3100
  }, b = {
3101
3101
  draggableId: d.descriptor.id,
3102
3102
  type: d.descriptor.type,
3103
- source: m,
3103
+ source: h,
3104
3104
  reason: i,
3105
3105
  mode: o.movementMode,
3106
3106
  destination: u,
3107
3107
  combine: f
3108
- }, h = Pc({
3108
+ }, m = _c({
3109
3109
  impact: p,
3110
3110
  draggable: d,
3111
3111
  dimensions: a,
@@ -3117,19 +3117,19 @@ const Tc = ({
3117
3117
  result: b,
3118
3118
  impact: p
3119
3119
  };
3120
- if (!(!oe(o.current.client.offset, h) || !!b.combine)) {
3120
+ if (!(!oe(o.current.client.offset, m) || !!b.combine)) {
3121
3121
  t(sn({
3122
3122
  completed: y
3123
3123
  }));
3124
3124
  return;
3125
3125
  }
3126
- const I = Ac({
3126
+ const I = Sc({
3127
3127
  current: o.current.client.offset,
3128
- destination: h,
3128
+ destination: m,
3129
3129
  reason: i
3130
3130
  });
3131
- t(Nc({
3132
- newHomeClientOffset: h,
3131
+ t(Ec({
3132
+ newHomeClientOffset: m,
3133
3133
  dropDuration: I,
3134
3134
  completed: y
3135
3135
  }));
@@ -3138,7 +3138,7 @@ var lo = () => ({
3138
3138
  x: window.pageXOffset,
3139
3139
  y: window.pageYOffset
3140
3140
  });
3141
- function Bc(e) {
3141
+ function Rc(e) {
3142
3142
  return {
3143
3143
  eventName: "scroll",
3144
3144
  options: {
@@ -3150,13 +3150,13 @@ function Bc(e) {
3150
3150
  }
3151
3151
  };
3152
3152
  }
3153
- function Vc({
3153
+ function Tc({
3154
3154
  onWindowScroll: e
3155
3155
  }) {
3156
3156
  function t() {
3157
3157
  e(lo());
3158
3158
  }
3159
- const n = Ce(t), r = Bc(n);
3159
+ const n = Ce(t), r = Rc(n);
3160
3160
  let o = re;
3161
3161
  function i() {
3162
3162
  return o !== re;
@@ -3173,19 +3173,19 @@ function Vc({
3173
3173
  isActive: i
3174
3174
  };
3175
3175
  }
3176
- const Lc = (e) => A(e, "DROP_COMPLETE") || A(e, "DROP_ANIMATE") || A(e, "FLUSH"), Mc = (e) => {
3177
- const t = Vc({
3176
+ const Bc = (e) => P(e, "DROP_COMPLETE") || P(e, "DROP_ANIMATE") || P(e, "FLUSH"), Vc = (e) => {
3177
+ const t = Tc({
3178
3178
  onWindowScroll: (n) => {
3179
- e.dispatch(hc({
3179
+ e.dispatch(gc({
3180
3180
  newScroll: n
3181
3181
  }));
3182
3182
  }
3183
3183
  });
3184
3184
  return (n) => (r) => {
3185
- !t.isActive() && A(r, "INITIAL_PUBLISH") && t.start(), t.isActive() && Lc(r) && t.stop(), n(r);
3185
+ !t.isActive() && P(r, "INITIAL_PUBLISH") && t.start(), t.isActive() && Bc(r) && t.stop(), n(r);
3186
3186
  };
3187
3187
  };
3188
- var $c = (e) => {
3188
+ var Lc = (e) => {
3189
3189
  let t = !1, n = !1;
3190
3190
  const r = setTimeout(() => {
3191
3191
  n = !0;
@@ -3204,7 +3204,7 @@ var $c = (e) => {
3204
3204
  t = !0, e(i), clearTimeout(r);
3205
3205
  };
3206
3206
  return o.wasCalled = () => t, o;
3207
- }, Gc = () => {
3207
+ }, Mc = () => {
3208
3208
  const e = [], t = (o) => {
3209
3209
  const i = e.findIndex((c) => c.timerId === o);
3210
3210
  i === -1 && (process.env.NODE_ENV !== "production" ? g(!1, "Could not find timer") : g());
@@ -3229,7 +3229,7 @@ var $c = (e) => {
3229
3229
  }
3230
3230
  };
3231
3231
  };
3232
- const kc = (e, t) => e == null && t == null ? !0 : e == null || t == null ? !1 : e.droppableId === t.droppableId && e.index === t.index, Fc = (e, t) => e == null && t == null ? !0 : e == null || t == null ? !1 : e.draggableId === t.draggableId && e.droppableId === t.droppableId, Wc = (e, t) => {
3232
+ const $c = (e, t) => e == null && t == null ? !0 : e == null || t == null ? !1 : e.droppableId === t.droppableId && e.index === t.index, Gc = (e, t) => e == null && t == null ? !0 : e == null || t == null ? !1 : e.draggableId === t.draggableId && e.droppableId === t.droppableId, kc = (e, t) => {
3233
3233
  if (e === t)
3234
3234
  return !0;
3235
3235
  const n = e.draggable.id === t.draggable.id && e.draggable.droppableId === t.draggable.droppableId && e.draggable.type === t.draggable.type && e.draggable.index === t.draggable.index, r = e.droppable.id === t.droppable.id && e.droppable.type === t.droppable.type;
@@ -3250,13 +3250,13 @@ function It(e, t, n, r) {
3250
3250
  n(r(t));
3251
3251
  return;
3252
3252
  }
3253
- const o = $c(n);
3253
+ const o = Lc(n);
3254
3254
  e(t, {
3255
3255
  announce: o
3256
3256
  }), o.wasCalled() || n(r(t));
3257
3257
  }
3258
- var Uc = (e, t) => {
3259
- const n = Gc();
3258
+ var Fc = (e, t) => {
3259
+ const n = Mc();
3260
3260
  let r = null;
3261
3261
  const o = (l, u) => {
3262
3262
  r && (process.env.NODE_ENV !== "production" ? g(!1, "Cannot fire onBeforeCapture as a drag start has already been published") : g()), Ee("onBeforeCapture", () => {
@@ -3283,18 +3283,18 @@ var Uc = (e, t) => {
3283
3283
  Ee("onDragStart", () => It(e().onDragStart, f, t, ze.onDragStart));
3284
3284
  });
3285
3285
  }, c = (l, u) => {
3286
- const f = Zt(u), m = rt(u);
3286
+ const f = Zt(u), h = rt(u);
3287
3287
  r || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot fire onDragMove when onDragStart has not been called") : g());
3288
- const b = !Wc(l, r.lastCritical);
3288
+ const b = !kc(l, r.lastCritical);
3289
3289
  b && (r.lastCritical = l);
3290
- const h = !kc(r.lastLocation, f);
3291
- h && (r.lastLocation = f);
3292
- const y = !Fc(r.lastCombine, m);
3293
- if (y && (r.lastCombine = m), !b && !h && !y)
3290
+ const m = !$c(r.lastLocation, f);
3291
+ m && (r.lastLocation = f);
3292
+ const y = !Gc(r.lastCombine, h);
3293
+ if (y && (r.lastCombine = h), !b && !m && !y)
3294
3294
  return;
3295
3295
  const v = {
3296
3296
  ...We(l, r.mode),
3297
- combine: m,
3297
+ combine: h,
3298
3298
  destination: f
3299
3299
  };
3300
3300
  n.add(() => {
@@ -3324,24 +3324,24 @@ var Uc = (e, t) => {
3324
3324
  d(l);
3325
3325
  }
3326
3326
  };
3327
- }, Hc = (e, t) => {
3328
- const n = Uc(e, t);
3327
+ }, Wc = (e, t) => {
3328
+ const n = Fc(e, t);
3329
3329
  return (r) => (o) => (i) => {
3330
- if (A(i, "BEFORE_INITIAL_CAPTURE")) {
3330
+ if (P(i, "BEFORE_INITIAL_CAPTURE")) {
3331
3331
  n.beforeCapture(i.payload.draggableId, i.payload.movementMode);
3332
3332
  return;
3333
3333
  }
3334
- if (A(i, "INITIAL_PUBLISH")) {
3334
+ if (P(i, "INITIAL_PUBLISH")) {
3335
3335
  const c = i.payload.critical;
3336
3336
  n.beforeStart(c, i.payload.movementMode), o(i), n.start(c, i.payload.movementMode);
3337
3337
  return;
3338
3338
  }
3339
- if (A(i, "DROP_COMPLETE")) {
3339
+ if (P(i, "DROP_COMPLETE")) {
3340
3340
  const c = i.payload.completed.result;
3341
3341
  n.flush(), o(i), n.drop(c);
3342
3342
  return;
3343
3343
  }
3344
- if (o(i), A(i, "FLUSH")) {
3344
+ if (o(i), P(i, "FLUSH")) {
3345
3345
  n.abort();
3346
3346
  return;
3347
3347
  }
@@ -3349,8 +3349,8 @@ var Uc = (e, t) => {
3349
3349
  s.phase === "DRAGGING" && n.update(s.critical, s.impact);
3350
3350
  };
3351
3351
  };
3352
- const zc = (e) => (t) => (n) => {
3353
- if (!A(n, "DROP_ANIMATION_FINISHED")) {
3352
+ const Uc = (e) => (t) => (n) => {
3353
+ if (!P(n, "DROP_ANIMATION_FINISHED")) {
3354
3354
  t(n);
3355
3355
  return;
3356
3356
  }
@@ -3358,13 +3358,13 @@ const zc = (e) => (t) => (n) => {
3358
3358
  r.phase !== "DROP_ANIMATING" && (process.env.NODE_ENV !== "production" ? g(!1, "Cannot finish a drop animating when no drop is occurring") : g()), e.dispatch(sn({
3359
3359
  completed: r.completed
3360
3360
  }));
3361
- }, qc = (e) => {
3361
+ }, Hc = (e) => {
3362
3362
  let t = null, n = null;
3363
3363
  function r() {
3364
3364
  n && (cancelAnimationFrame(n), n = null), t && (t(), t = null);
3365
3365
  }
3366
3366
  return (o) => (i) => {
3367
- if ((A(i, "FLUSH") || A(i, "DROP_COMPLETE") || A(i, "DROP_ANIMATION_FINISHED")) && r(), o(i), !A(i, "DROP_ANIMATE"))
3367
+ if ((P(i, "FLUSH") || P(i, "DROP_COMPLETE") || P(i, "DROP_ANIMATION_FINISHED")) && r(), o(i), !P(i, "DROP_ANIMATE"))
3368
3368
  return;
3369
3369
  const s = {
3370
3370
  eventName: "scroll",
@@ -3382,21 +3382,21 @@ const zc = (e) => (t) => (n) => {
3382
3382
  });
3383
3383
  };
3384
3384
  };
3385
- var jc = (e) => () => (t) => (n) => {
3386
- (A(n, "DROP_COMPLETE") || A(n, "FLUSH") || A(n, "DROP_ANIMATE")) && e.stopPublishing(), t(n);
3387
- }, Yc = (e) => {
3385
+ var zc = (e) => () => (t) => (n) => {
3386
+ (P(n, "DROP_COMPLETE") || P(n, "FLUSH") || P(n, "DROP_ANIMATE")) && e.stopPublishing(), t(n);
3387
+ }, qc = (e) => {
3388
3388
  let t = !1;
3389
3389
  return () => (n) => (r) => {
3390
- if (A(r, "INITIAL_PUBLISH")) {
3390
+ if (P(r, "INITIAL_PUBLISH")) {
3391
3391
  t = !0, e.tryRecordFocus(r.payload.critical.draggable.id), n(r), e.tryRestoreFocusRecorded();
3392
3392
  return;
3393
3393
  }
3394
3394
  if (n(r), !!t) {
3395
- if (A(r, "FLUSH")) {
3395
+ if (P(r, "FLUSH")) {
3396
3396
  t = !1, e.tryRestoreFocusRecorded();
3397
3397
  return;
3398
3398
  }
3399
- if (A(r, "DROP_COMPLETE")) {
3399
+ if (P(r, "DROP_COMPLETE")) {
3400
3400
  t = !1;
3401
3401
  const o = r.payload.completed.result;
3402
3402
  o.combine && e.tryShiftRecord(o.draggableId, o.combine.draggableId), e.tryRestoreFocusRecorded();
@@ -3404,13 +3404,13 @@ var jc = (e) => () => (t) => (n) => {
3404
3404
  }
3405
3405
  };
3406
3406
  };
3407
- const Xc = (e) => A(e, "DROP_COMPLETE") || A(e, "DROP_ANIMATE") || A(e, "FLUSH");
3408
- var Kc = (e) => (t) => (n) => (r) => {
3409
- if (Xc(r)) {
3407
+ const jc = (e) => P(e, "DROP_COMPLETE") || P(e, "DROP_ANIMATE") || P(e, "FLUSH");
3408
+ var Yc = (e) => (t) => (n) => (r) => {
3409
+ if (jc(r)) {
3410
3410
  e.stop(), n(r);
3411
3411
  return;
3412
3412
  }
3413
- if (A(r, "INITIAL_PUBLISH")) {
3413
+ if (P(r, "INITIAL_PUBLISH")) {
3414
3414
  n(r);
3415
3415
  const o = t.getState();
3416
3416
  o.phase !== "DRAGGING" && (process.env.NODE_ENV !== "production" ? g(!1, "Expected phase to be DRAGGING after INITIAL_PUBLISH") : g()), e.start(o);
@@ -3418,30 +3418,30 @@ var Kc = (e) => (t) => (n) => (r) => {
3418
3418
  }
3419
3419
  n(r), e.scroll(t.getState());
3420
3420
  };
3421
- const Jc = (e) => (t) => (n) => {
3422
- if (t(n), !A(n, "PUBLISH_WHILE_DRAGGING"))
3421
+ const Xc = (e) => (t) => (n) => {
3422
+ if (t(n), !P(n, "PUBLISH_WHILE_DRAGGING"))
3423
3423
  return;
3424
3424
  const r = e.getState();
3425
3425
  r.phase === "DROP_PENDING" && (r.isWaiting || e.dispatch(io({
3426
3426
  reason: r.reason
3427
3427
  })));
3428
- }, Zc = process.env.NODE_ENV !== "production" && typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
3428
+ }, Kc = process.env.NODE_ENV !== "production" && typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
3429
3429
  name: "@hello-pangea/dnd"
3430
3430
  }) : vr;
3431
- var Qc = ({
3431
+ var Jc = ({
3432
3432
  dimensionMarshal: e,
3433
3433
  focusMarshal: t,
3434
3434
  styleMarshal: n,
3435
3435
  getResponders: r,
3436
3436
  announce: o,
3437
3437
  autoScroller: i
3438
- }) => br(cc, Zc(Yo(Sc(n), jc(e), Oc(e), Tc, zc, qc, Jc, Kc(i), Mc, Yc(t), Hc(r, o))));
3438
+ }) => br(ic, Kc(qo(Cc(n), zc(e), Ic(e), Pc, Uc, Hc, Xc, Yc(i), Vc, qc(t), Wc(r, o))));
3439
3439
  const Ct = () => ({
3440
3440
  additions: {},
3441
3441
  removals: {},
3442
3442
  modified: {}
3443
3443
  });
3444
- function ea({
3444
+ function Zc({
3445
3445
  registry: e,
3446
3446
  callbacks: t
3447
3447
  }) {
@@ -3453,11 +3453,11 @@ function ea({
3453
3453
  additions: a,
3454
3454
  removals: d,
3455
3455
  modified: p
3456
- } = n, l = Object.keys(a).map((m) => e.draggable.getById(m).getDimension(G)).sort((m, b) => m.descriptor.index - b.descriptor.index), u = Object.keys(p).map((m) => {
3457
- const h = e.droppable.getById(m).callbacks.getScrollWhileDragging();
3456
+ } = n, l = Object.keys(a).map((h) => e.draggable.getById(h).getDimension(G)).sort((h, b) => h.descriptor.index - b.descriptor.index), u = Object.keys(p).map((h) => {
3457
+ const m = e.droppable.getById(h).callbacks.getScrollWhileDragging();
3458
3458
  return {
3459
- droppableId: m,
3460
- scroll: h
3459
+ droppableId: h,
3460
+ scroll: m
3461
3461
  };
3462
3462
  }), f = {
3463
3463
  additions: l,
@@ -3509,7 +3509,7 @@ var uo = ({
3509
3509
  width: e.clientWidth,
3510
3510
  height: e.clientHeight
3511
3511
  });
3512
- }, ta = () => {
3512
+ }, Qc = () => {
3513
3513
  const e = lo(), t = fo(), n = e.y, r = e.x, o = po(), i = o.clientWidth, s = o.clientHeight, c = r + i, a = n + s;
3514
3514
  return {
3515
3515
  frame: Z({
@@ -3528,13 +3528,13 @@ var uo = ({
3528
3528
  }
3529
3529
  }
3530
3530
  };
3531
- }, na = ({
3531
+ }, ea = ({
3532
3532
  critical: e,
3533
3533
  scrollOptions: t,
3534
3534
  registry: n
3535
3535
  }) => {
3536
3536
  Le();
3537
- const r = ta(), o = r.scroll.current, i = e.droppable, s = n.droppable.getAllByType(i.type).map((p) => p.callbacks.getDimensionAndWatchScroll(o, t)), c = n.draggable.getAllByType(e.draggable.type).map((p) => p.getDimension(o)), a = {
3537
+ const r = Qc(), o = r.scroll.current, i = e.droppable, s = n.droppable.getAllByType(i.type).map((p) => p.callbacks.getDimensionAndWatchScroll(o, t)), c = n.draggable.getAllByType(e.draggable.type).map((p) => p.getDimension(o)), a = {
3538
3538
  draggables: kr(c),
3539
3539
  droppables: Gr(s)
3540
3540
  };
@@ -3552,9 +3552,9 @@ function Qn(e, t, n) {
3552
3552
  See https://github.com/hello-pangea/dnd/blob/main/docs/patterns/virtual-lists.md
3553
3553
  `), !1) : !0;
3554
3554
  }
3555
- var ra = (e, t) => {
3555
+ var ta = (e, t) => {
3556
3556
  let n = null;
3557
- const r = ea({
3557
+ const r = Zc({
3558
3558
  callbacks: {
3559
3559
  publish: t.publishWhileDragging,
3560
3560
  collectionStarting: t.collectionStarting
@@ -3595,14 +3595,14 @@ var ra = (e, t) => {
3595
3595
  updateDroppableScroll: s,
3596
3596
  startPublishing: (u) => {
3597
3597
  n && (process.env.NODE_ENV !== "production" ? g(!1, "Cannot start capturing critical dimensions as there is already a collection") : g());
3598
- const f = e.draggable.getById(u.draggableId), m = e.droppable.getById(f.descriptor.droppableId), b = {
3598
+ const f = e.draggable.getById(u.draggableId), h = e.droppable.getById(f.descriptor.droppableId), b = {
3599
3599
  draggable: f.descriptor,
3600
- droppable: m.descriptor
3601
- }, h = e.subscribe(d);
3600
+ droppable: h.descriptor
3601
+ }, m = e.subscribe(d);
3602
3602
  return n = {
3603
3603
  critical: b,
3604
- unsubscribe: h
3605
- }, na({
3604
+ unsubscribe: m
3605
+ }, ea({
3606
3606
  critical: b,
3607
3607
  registry: e,
3608
3608
  scrollOptions: u.scrollOptions
@@ -3610,11 +3610,11 @@ var ra = (e, t) => {
3610
3610
  },
3611
3611
  stopPublishing: a
3612
3612
  };
3613
- }, go = (e, t) => e.phase === "IDLE" ? !0 : e.phase !== "DROP_ANIMATING" || e.completed.result.draggableId === t ? !1 : e.completed.result.reason === "DROP", oa = (e) => {
3613
+ }, go = (e, t) => e.phase === "IDLE" ? !0 : e.phase !== "DROP_ANIMATING" || e.completed.result.draggableId === t ? !1 : e.completed.result.reason === "DROP", na = (e) => {
3614
3614
  window.scrollBy(e.x, e.y);
3615
3615
  };
3616
- const ia = $((e) => nt(e).filter((t) => !(!t.isEnabled || !t.frame))), sa = (e, t) => ia(t).find((r) => (r.frame || (process.env.NODE_ENV !== "production" ? g(!1, "Invalid result") : g()), Kr(r.frame.pageMarginBox)(e))) || null;
3617
- var ca = ({
3616
+ const ra = $((e) => nt(e).filter((t) => !(!t.isEnabled || !t.frame))), oa = (e, t) => ra(t).find((r) => (r.frame || (process.env.NODE_ENV !== "production" ? g(!1, "Invalid result") : g()), Kr(r.frame.pageMarginBox)(e))) || null;
3617
+ var ia = ({
3618
3618
  center: e,
3619
3619
  destination: t,
3620
3620
  droppables: n
@@ -3623,7 +3623,7 @@ var ca = ({
3623
3623
  const o = n[t];
3624
3624
  return o.frame ? o : null;
3625
3625
  }
3626
- return sa(e, n);
3626
+ return oa(e, n);
3627
3627
  };
3628
3628
  const Pe = {
3629
3629
  startFromPercentage: 0.25,
@@ -3636,7 +3636,7 @@ const Pe = {
3636
3636
  },
3637
3637
  disabled: !1
3638
3638
  };
3639
- var aa = (e, t, n = () => Pe) => {
3639
+ var sa = (e, t, n = () => Pe) => {
3640
3640
  const r = n(), o = e[t.size] * r.startFromPercentage, i = e[t.size] * r.maxScrollAtPercentage;
3641
3641
  return {
3642
3642
  startScrollingFrom: o,
@@ -3653,7 +3653,7 @@ var aa = (e, t, n = () => Pe) => {
3653
3653
  This is unexpected and would cause a divide by 0 issue.
3654
3654
  Not allowing an auto scroll
3655
3655
  `), 0) : (n - e) / r;
3656
- }, an = 1, la = (e, t, n = () => Pe) => {
3656
+ }, an = 1, ca = (e, t, n = () => Pe) => {
3657
3657
  const r = n();
3658
3658
  if (e > t.startScrollingFrom)
3659
3659
  return 0;
@@ -3667,7 +3667,7 @@ var aa = (e, t, n = () => Pe) => {
3667
3667
  current: e
3668
3668
  }), s = r.maxPixelScroll * r.ease(i);
3669
3669
  return Math.ceil(s);
3670
- }, da = (e, t, n) => {
3670
+ }, aa = (e, t, n) => {
3671
3671
  const r = n(), o = r.durationDampening.accelerateAt, i = r.durationDampening.stopDampeningAt, s = t, c = i, d = Date.now() - s;
3672
3672
  if (d >= i)
3673
3673
  return e;
@@ -3686,8 +3686,8 @@ var aa = (e, t, n = () => Pe) => {
3686
3686
  shouldUseTimeDampening: r,
3687
3687
  getAutoScrollerOptions: o
3688
3688
  }) => {
3689
- const i = la(e, t, o);
3690
- return i === 0 ? 0 : r ? Math.max(da(i, n, o), an) : i;
3689
+ const i = ca(e, t, o);
3690
+ return i === 0 ? 0 : r ? Math.max(aa(i, n, o), an) : i;
3691
3691
  }, tr = ({
3692
3692
  container: e,
3693
3693
  distanceToEdges: t,
@@ -3696,7 +3696,7 @@ var aa = (e, t, n = () => Pe) => {
3696
3696
  shouldUseTimeDampening: o,
3697
3697
  getAutoScrollerOptions: i
3698
3698
  }) => {
3699
- const s = aa(e, r, i);
3699
+ const s = sa(e, r, i);
3700
3700
  return t[r.end] < t[r.start] ? er({
3701
3701
  distanceToEdge: t[r.end],
3702
3702
  thresholds: s,
@@ -3710,7 +3710,7 @@ var aa = (e, t, n = () => Pe) => {
3710
3710
  shouldUseTimeDampening: o,
3711
3711
  getAutoScrollerOptions: i
3712
3712
  });
3713
- }, ua = ({
3713
+ }, la = ({
3714
3714
  container: e,
3715
3715
  subject: t,
3716
3716
  proposedScroll: n
@@ -3721,7 +3721,7 @@ var aa = (e, t, n = () => Pe) => {
3721
3721
  y: r ? 0 : n.y
3722
3722
  };
3723
3723
  };
3724
- const pa = $r((e) => e === 0 ? 0 : e);
3724
+ const da = $r((e) => e === 0 ? 0 : e);
3725
3725
  var ho = ({
3726
3726
  dragStartTime: e,
3727
3727
  container: t,
@@ -3749,20 +3749,20 @@ var ho = ({
3749
3749
  axis: Ur,
3750
3750
  shouldUseTimeDampening: o,
3751
3751
  getAutoScrollerOptions: i
3752
- }), d = pa({
3752
+ }), d = da({
3753
3753
  x: a,
3754
3754
  y: c
3755
3755
  });
3756
3756
  if (oe(d, G))
3757
3757
  return null;
3758
- const p = ua({
3758
+ const p = la({
3759
3759
  container: t,
3760
3760
  subject: n,
3761
3761
  proposedScroll: d
3762
3762
  });
3763
3763
  return p ? oe(p, G) ? null : p : null;
3764
3764
  };
3765
- const fa = $r((e) => e === 0 ? 0 : e > 0 ? 1 : -1), ln = /* @__PURE__ */ (() => {
3765
+ const ua = $r((e) => e === 0 ? 0 : e > 0 ? 1 : -1), ln = /* @__PURE__ */ (() => {
3766
3766
  const e = (t, n) => t < 0 ? t : t > n ? t - n : 0;
3767
3767
  return ({
3768
3768
  current: t,
@@ -3783,7 +3783,7 @@ const fa = $r((e) => e === 0 ? 0 : e > 0 ? 1 : -1), ln = /* @__PURE__ */ (() =>
3783
3783
  const r = {
3784
3784
  x: Math.max(t.x, e.x),
3785
3785
  y: Math.max(t.y, e.y)
3786
- }, o = fa(n), i = ln({
3786
+ }, o = ua(n), i = ln({
3787
3787
  max: r,
3788
3788
  current: t,
3789
3789
  change: o
@@ -3793,7 +3793,7 @@ const fa = $r((e) => e === 0 ? 0 : e > 0 ? 1 : -1), ln = /* @__PURE__ */ (() =>
3793
3793
  current: e.scroll.current,
3794
3794
  max: e.scroll.max,
3795
3795
  change: t
3796
- }), ga = (e, t) => {
3796
+ }), pa = (e, t) => {
3797
3797
  if (!dn(e, t))
3798
3798
  return null;
3799
3799
  const n = e.scroll.max, r = e.scroll.current;
@@ -3809,7 +3809,7 @@ const fa = $r((e) => e === 0 ? 0 : e > 0 ? 1 : -1), ln = /* @__PURE__ */ (() =>
3809
3809
  max: n.scroll.max,
3810
3810
  change: t
3811
3811
  }) : !1;
3812
- }, ma = (e, t) => {
3812
+ }, fa = (e, t) => {
3813
3813
  const n = e.frame;
3814
3814
  return !n || !un(e, t) ? null : ln({
3815
3815
  current: n.scroll.current,
@@ -3817,7 +3817,7 @@ const fa = $r((e) => e === 0 ? 0 : e > 0 ? 1 : -1), ln = /* @__PURE__ */ (() =>
3817
3817
  change: t
3818
3818
  });
3819
3819
  };
3820
- var ha = ({
3820
+ var ga = ({
3821
3821
  viewport: e,
3822
3822
  subject: t,
3823
3823
  center: n,
@@ -3834,7 +3834,7 @@ var ha = ({
3834
3834
  getAutoScrollerOptions: i
3835
3835
  });
3836
3836
  return s && dn(e, s) ? s : null;
3837
- }, ba = ({
3837
+ }, ma = ({
3838
3838
  droppable: e,
3839
3839
  subject: t,
3840
3840
  center: n,
@@ -3864,7 +3864,7 @@ var ha = ({
3864
3864
  }) => {
3865
3865
  const s = e.current.page.borderBoxCenter, a = e.dimensions.draggables[e.critical.draggable.id].page.marginBox;
3866
3866
  if (e.isWindowScrollAllowed) {
3867
- const l = e.viewport, u = ha({
3867
+ const l = e.viewport, u = ga({
3868
3868
  dragStartTime: t,
3869
3869
  viewport: l,
3870
3870
  subject: a,
@@ -3877,14 +3877,14 @@ var ha = ({
3877
3877
  return;
3878
3878
  }
3879
3879
  }
3880
- const d = ca({
3880
+ const d = ia({
3881
3881
  center: s,
3882
3882
  destination: j(e.impact),
3883
3883
  droppables: e.dimensions.droppables
3884
3884
  });
3885
3885
  if (!d)
3886
3886
  return;
3887
- const p = ba({
3887
+ const p = ma({
3888
3888
  dragStartTime: t,
3889
3889
  droppable: d,
3890
3890
  subject: a,
@@ -3893,7 +3893,7 @@ var ha = ({
3893
3893
  getAutoScrollerOptions: i
3894
3894
  });
3895
3895
  p && o(d.descriptor.id, p);
3896
- }, va = ({
3896
+ }, ha = ({
3897
3897
  scrollWindow: e,
3898
3898
  scrollDroppable: t,
3899
3899
  getAutoScrollerOptions: n = () => Pe
@@ -3940,7 +3940,7 @@ var ha = ({
3940
3940
  },
3941
3941
  scroll: s
3942
3942
  };
3943
- }, ya = ({
3943
+ }, ba = ({
3944
3944
  move: e,
3945
3945
  scrollDroppable: t,
3946
3946
  scrollWindow: n
@@ -3953,7 +3953,7 @@ var ha = ({
3953
3953
  }, o = (c, a) => {
3954
3954
  if (!un(c, a))
3955
3955
  return a;
3956
- const d = ma(c, a);
3956
+ const d = fa(c, a);
3957
3957
  if (!d)
3958
3958
  return t(c.descriptor.id, a), null;
3959
3959
  const p = q(a, d);
@@ -3961,7 +3961,7 @@ var ha = ({
3961
3961
  }, i = (c, a, d) => {
3962
3962
  if (!c || !dn(a, d))
3963
3963
  return d;
3964
- const p = ga(a, d);
3964
+ const p = pa(a, d);
3965
3965
  if (!p)
3966
3966
  return n(d), null;
3967
3967
  const l = q(d, p);
@@ -3979,17 +3979,17 @@ var ha = ({
3979
3979
  const l = c.viewport, u = i(c.isWindowScrollAllowed, l, p);
3980
3980
  u && r(c, u);
3981
3981
  };
3982
- }, Ea = ({
3982
+ }, va = ({
3983
3983
  scrollDroppable: e,
3984
3984
  scrollWindow: t,
3985
3985
  move: n,
3986
3986
  getAutoScrollerOptions: r
3987
3987
  }) => {
3988
- const o = va({
3988
+ const o = ha({
3989
3989
  scrollWindow: t,
3990
3990
  scrollDroppable: e,
3991
3991
  getAutoScrollerOptions: r
3992
- }), i = ya({
3992
+ }), i = ba({
3993
3993
  move: n,
3994
3994
  scrollWindow: t,
3995
3995
  scrollDroppable: e
@@ -4022,7 +4022,7 @@ const fe = "data-rfd", ge = (() => {
4022
4022
  contextId: `${e}-context-id`,
4023
4023
  id: `${e}-id`
4024
4024
  };
4025
- })(), Da = (() => {
4025
+ })(), ya = (() => {
4026
4026
  const e = `${fe}-droppable`;
4027
4027
  return {
4028
4028
  base: e,
@@ -4031,12 +4031,12 @@ const fe = "data-rfd", ge = (() => {
4031
4031
  };
4032
4032
  })(), rr = {
4033
4033
  contextId: `${fe}-scroll-container-context-id`
4034
- }, Na = (e) => (t) => `[${t}="${e}"]`, De = (e, t) => e.map((n) => {
4034
+ }, Ea = (e) => (t) => `[${t}="${e}"]`, De = (e, t) => e.map((n) => {
4035
4035
  const r = n.styles[t];
4036
4036
  return r ? `${n.selector} { ${r} }` : "";
4037
- }).join(" "), xa = "pointer-events: none;";
4038
- var Ia = (e) => {
4039
- const t = Na(e), n = (() => {
4037
+ }).join(" "), Da = "pointer-events: none;";
4038
+ var Na = (e) => {
4039
+ const t = Ea(e), n = (() => {
4040
4040
  const c = `
4041
4041
  cursor: -webkit-grab;
4042
4042
  cursor: grab;
@@ -4050,7 +4050,7 @@ var Ia = (e) => {
4050
4050
  touch-action: manipulation;
4051
4051
  `,
4052
4052
  resting: c,
4053
- dragging: xa,
4053
+ dragging: Da,
4054
4054
  dropAnimating: c
4055
4055
  }
4056
4056
  };
@@ -4067,7 +4067,7 @@ var Ia = (e) => {
4067
4067
  }
4068
4068
  };
4069
4069
  })(), o = {
4070
- selector: t(Da.contextId),
4070
+ selector: t(ya.contextId),
4071
4071
  styles: {
4072
4072
  always: "overflow-anchor: none;"
4073
4073
  }
@@ -4093,15 +4093,15 @@ var Ia = (e) => {
4093
4093
  userCancel: De(s, "userCancel")
4094
4094
  };
4095
4095
  };
4096
- const Y = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Go : te, Ot = () => {
4096
+ const Y = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Mo : te, Ot = () => {
4097
4097
  const e = document.querySelector("head");
4098
4098
  return e || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot find the head to append a style to") : g()), e;
4099
4099
  }, or = (e) => {
4100
4100
  const t = document.createElement("style");
4101
4101
  return e && t.setAttribute("nonce", e), t.type = "text/css", t;
4102
4102
  };
4103
- function Ca(e, t) {
4104
- const n = S(() => Ia(e), [e]), r = V(null), o = V(null), i = D($((l) => {
4103
+ function xa(e, t) {
4104
+ const n = w(() => Na(e), [e]), r = V(null), o = V(null), i = D($((l) => {
4105
4105
  const u = o.current;
4106
4106
  u || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot set dynamic style element if it is not set") : g()), u.textContent = l;
4107
4107
  }), []), s = D((l) => {
@@ -4112,9 +4112,9 @@ function Ca(e, t) {
4112
4112
  !r.current && !o.current || (process.env.NODE_ENV !== "production" ? g(!1, "style elements already mounted") : g());
4113
4113
  const l = or(t), u = or(t);
4114
4114
  return r.current = l, o.current = u, l.setAttribute(`${fe}-always`, e), u.setAttribute(`${fe}-dynamic`, e), Ot().appendChild(l), Ot().appendChild(u), s(n.always), i(n.resting), () => {
4115
- const f = (m) => {
4116
- const b = m.current;
4117
- b || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot unmount ref as it is not set") : g()), Ot().removeChild(b), m.current = null;
4115
+ const f = (h) => {
4116
+ const b = h.current;
4117
+ b || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot unmount ref as it is not set") : g()), Ot().removeChild(b), h.current = null;
4118
4118
  };
4119
4119
  f(r), f(o);
4120
4120
  };
@@ -4128,7 +4128,7 @@ function Ca(e, t) {
4128
4128
  }, [i, n.dropAnimating, n.userCancel]), d = D(() => {
4129
4129
  o.current && i(n.resting);
4130
4130
  }, [i, n.resting]);
4131
- return S(() => ({
4131
+ return w(() => ({
4132
4132
  dragging: c,
4133
4133
  dropping: a,
4134
4134
  resting: d
@@ -4148,15 +4148,15 @@ function Eo(e, t) {
4148
4148
  const o = r.find((i) => i.getAttribute(ge.draggableId) === t);
4149
4149
  return o ? $e(o) ? o : (process.env.NODE_ENV !== "production" && T("drag handle needs to be a HTMLElement"), null) : (process.env.NODE_ENV !== "production" && T(`Unable to find drag handle with id "${t}" as no handle with a matching id was found`), null);
4150
4150
  }
4151
- function Oa(e) {
4151
+ function Ia(e) {
4152
4152
  const t = V({}), n = V(null), r = V(null), o = V(!1), i = D(function(u, f) {
4153
- const m = {
4153
+ const h = {
4154
4154
  id: u,
4155
4155
  focus: f
4156
4156
  };
4157
- return t.current[u] = m, function() {
4158
- const h = t.current;
4159
- h[u] !== m && delete h[u];
4157
+ return t.current[u] = h, function() {
4158
+ const m = t.current;
4159
+ m[u] !== h && delete m[u];
4160
4160
  };
4161
4161
  }, []), s = D(function(u) {
4162
4162
  const f = Eo(e, u);
@@ -4178,14 +4178,14 @@ function Oa(e) {
4178
4178
  o.current = !1;
4179
4179
  const u = r.current;
4180
4180
  u && cancelAnimationFrame(u);
4181
- }), []), S(() => ({
4181
+ }), []), w(() => ({
4182
4182
  register: i,
4183
4183
  tryRecordFocus: d,
4184
4184
  tryRestoreFocusRecorded: a,
4185
4185
  tryShiftRecord: c
4186
4186
  }), [i, d, a, c]);
4187
4187
  }
4188
- function Sa() {
4188
+ function Ca() {
4189
4189
  const e = {
4190
4190
  draggables: {},
4191
4191
  droppables: {}
@@ -4259,8 +4259,8 @@ function Sa() {
4259
4259
  clean: p
4260
4260
  };
4261
4261
  }
4262
- function wa() {
4263
- const e = S(Sa, []);
4262
+ function Oa() {
4263
+ const e = w(Ca, []);
4264
4264
  return te(() => function() {
4265
4265
  e.clean();
4266
4266
  }, [e]), e;
@@ -4269,7 +4269,7 @@ var pn = L.createContext(null), Re = () => {
4269
4269
  const e = document.body;
4270
4270
  return e || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot find document.body") : g()), e;
4271
4271
  };
4272
- const _a = {
4272
+ const wa = {
4273
4273
  position: "absolute",
4274
4274
  width: "1px",
4275
4275
  height: "1px",
@@ -4279,12 +4279,12 @@ const _a = {
4279
4279
  overflow: "hidden",
4280
4280
  clip: "rect(0 0 0 0)",
4281
4281
  "clip-path": "inset(100%)"
4282
- }, Aa = (e) => `rfd-announcement-${e}`;
4283
- function Pa(e) {
4284
- const t = S(() => Aa(e), [e]), n = V(null);
4282
+ }, Sa = (e) => `rfd-announcement-${e}`;
4283
+ function _a(e) {
4284
+ const t = w(() => Sa(e), [e]), n = V(null);
4285
4285
  return te(function() {
4286
4286
  const i = document.createElement("div");
4287
- return n.current = i, i.id = t, i.setAttribute("aria-live", "assertive"), i.setAttribute("aria-atomic", "true"), Je(i.style, _a), Re().appendChild(i), function() {
4287
+ return n.current = i, i.id = t, i.setAttribute("aria-live", "assertive"), i.setAttribute("aria-atomic", "true"), Je(i.style, wa), Re().appendChild(i), function() {
4288
4288
  setTimeout(function() {
4289
4289
  const a = Re();
4290
4290
  a.contains(i) && a.removeChild(i), i === n.current && (n.current = null);
@@ -4308,26 +4308,26 @@ function Pa(e) {
4308
4308
  `);
4309
4309
  }, []);
4310
4310
  }
4311
- const Ra = {
4311
+ const Aa = {
4312
4312
  separator: "::"
4313
4313
  };
4314
- function fn(e, t = Ra) {
4314
+ function fn(e, t = Aa) {
4315
4315
  const n = L.useId();
4316
- return S(() => `${e}${t.separator}${n}`, [t.separator, e, n]);
4316
+ return w(() => `${e}${t.separator}${n}`, [t.separator, e, n]);
4317
4317
  }
4318
- function Ta({
4318
+ function Pa({
4319
4319
  contextId: e,
4320
4320
  uniqueId: t
4321
4321
  }) {
4322
4322
  return `rfd-hidden-text-${e}-${t}`;
4323
4323
  }
4324
- function Ba({
4324
+ function Ra({
4325
4325
  contextId: e,
4326
4326
  text: t
4327
4327
  }) {
4328
4328
  const n = fn("hidden-text", {
4329
4329
  separator: "-"
4330
- }), r = S(() => Ta({
4330
+ }), r = w(() => Pa({
4331
4331
  contextId: e,
4332
4332
  uniqueId: n
4333
4333
  }), [n, e]);
@@ -4339,11 +4339,11 @@ function Ba({
4339
4339
  };
4340
4340
  }, [r, t]), r;
4341
4341
  }
4342
- var st = L.createContext(null), Va = {
4342
+ var st = L.createContext(null), Ta = {
4343
4343
  react: "^18.0.0 || ^19.0.0"
4344
4344
  };
4345
- const La = /(\d+)\.(\d+)\.(\d+)/, ir = (e) => {
4346
- const t = La.exec(e);
4345
+ const Ba = /(\d+)\.(\d+)\.(\d+)/, ir = (e) => {
4346
+ const t = Ba.exec(e);
4347
4347
  t == null && (process.env.NODE_ENV !== "production" ? g(!1, `Unable to parse React version ${e}`) : g());
4348
4348
  const n = Number(t[1]), r = Number(t[2]), o = Number(t[3]);
4349
4349
  return {
@@ -4352,41 +4352,41 @@ const La = /(\d+)\.(\d+)\.(\d+)/, ir = (e) => {
4352
4352
  patch: o,
4353
4353
  raw: e
4354
4354
  };
4355
- }, Ma = (e, t) => t.major > e.major ? !0 : t.major < e.major ? !1 : t.minor > e.minor ? !0 : t.minor < e.minor ? !1 : t.patch >= e.patch;
4356
- var $a = (e, t) => {
4355
+ }, Va = (e, t) => t.major > e.major ? !0 : t.major < e.major ? !1 : t.minor > e.minor ? !0 : t.minor < e.minor ? !1 : t.patch >= e.patch;
4356
+ var La = (e, t) => {
4357
4357
  const n = ir(e), r = ir(t);
4358
- Ma(n, r) || process.env.NODE_ENV !== "production" && T(`
4358
+ Va(n, r) || process.env.NODE_ENV !== "production" && T(`
4359
4359
  React version: [${r.raw}]
4360
4360
  does not satisfy expected peer dependency version: [${n.raw}]
4361
4361
 
4362
4362
  This can result in run time bugs, and even fatal crashes
4363
4363
  `);
4364
4364
  };
4365
- const St = `
4365
+ const wt = `
4366
4366
  We expect a html5 doctype: <!doctype html>
4367
4367
  This is to ensure consistent browser layout and measurement
4368
4368
 
4369
4369
  More information: https://github.com/hello-pangea/dnd/blob/main/docs/guides/doctype.md
4370
4370
  `;
4371
- var Ga = (e) => {
4371
+ var Ma = (e) => {
4372
4372
  const t = e.doctype;
4373
4373
  if (!t) {
4374
4374
  process.env.NODE_ENV !== "production" && T(`
4375
4375
  No <!doctype html> found.
4376
4376
 
4377
- ${St}
4377
+ ${wt}
4378
4378
  `);
4379
4379
  return;
4380
4380
  }
4381
4381
  t.name.toLowerCase() !== "html" && process.env.NODE_ENV !== "production" && T(`
4382
4382
  Unexpected <!doctype> found: (${t.name})
4383
4383
 
4384
- ${St}
4384
+ ${wt}
4385
4385
  `), t.publicId !== "" && process.env.NODE_ENV !== "production" && T(`
4386
4386
  Unexpected <!doctype> publicId found: (${t.publicId})
4387
4387
  A html5 doctype does not have a publicId
4388
4388
 
4389
- ${St}
4389
+ ${wt}
4390
4390
  `);
4391
4391
  };
4392
4392
  function gn(e) {
@@ -4407,9 +4407,9 @@ function Ge(e, t) {
4407
4407
  }, t);
4408
4408
  });
4409
4409
  }
4410
- function ka() {
4410
+ function $a() {
4411
4411
  Ge(() => {
4412
- $a(Va.react, L.version), Ga(document);
4412
+ La(Ta.react, L.version), Ma(document);
4413
4413
  }, []);
4414
4414
  }
4415
4415
  function mn(e) {
@@ -4418,7 +4418,7 @@ function mn(e) {
4418
4418
  t.current = e;
4419
4419
  }), t;
4420
4420
  }
4421
- function Fa() {
4421
+ function Ga() {
4422
4422
  let e = null;
4423
4423
  function t() {
4424
4424
  return !!e;
@@ -4450,24 +4450,24 @@ function Fa() {
4450
4450
  function Te(e) {
4451
4451
  return e.phase === "IDLE" || e.phase === "DROP_ANIMATING" ? !1 : e.isDragging;
4452
4452
  }
4453
- const Wa = 9, Ua = 13, hn = 27, Do = 32, Ha = 33, za = 34, qa = 35, ja = 36, Ya = 37, Xa = 38, Ka = 39, Ja = 40, Za = {
4454
- [Ua]: !0,
4455
- [Wa]: !0
4453
+ const ka = 9, Fa = 13, hn = 27, Do = 32, Wa = 33, Ua = 34, Ha = 35, za = 36, qa = 37, ja = 38, Ya = 39, Xa = 40, Ka = {
4454
+ [Fa]: !0,
4455
+ [ka]: !0
4456
4456
  };
4457
4457
  var No = (e) => {
4458
- Za[e.keyCode] && e.preventDefault();
4458
+ Ka[e.keyCode] && e.preventDefault();
4459
4459
  };
4460
4460
  const ct = (() => {
4461
4461
  const e = "visibilitychange";
4462
4462
  return typeof document > "u" ? e : [e, `ms${e}`, `webkit${e}`, `moz${e}`, `o${e}`].find((r) => `on${r}` in document) || e;
4463
4463
  })(), xo = 0, sr = 5;
4464
- function Qa(e, t) {
4464
+ function Ja(e, t) {
4465
4465
  return Math.abs(t.x - e.x) >= sr || Math.abs(t.y - e.y) >= sr;
4466
4466
  }
4467
4467
  const cr = {
4468
4468
  type: "IDLE"
4469
4469
  };
4470
- function el({
4470
+ function Za({
4471
4471
  cancel: e,
4472
4472
  completed: t,
4473
4473
  getPhase: n,
@@ -4493,7 +4493,7 @@ function el({
4493
4493
  }
4494
4494
  d.type !== "PENDING" && (process.env.NODE_ENV !== "production" ? g(!1, "Cannot be IDLE") : g());
4495
4495
  const p = d.point;
4496
- if (!Qa(p, a))
4496
+ if (!Ja(p, a))
4497
4497
  return;
4498
4498
  o.preventDefault();
4499
4499
  const l = d.actions.fluidLift(a);
@@ -4559,8 +4559,8 @@ function el({
4559
4559
  fn: e
4560
4560
  }];
4561
4561
  }
4562
- function tl(e) {
4563
- const t = V(cr), n = V(re), r = S(() => ({
4562
+ function Qa(e) {
4563
+ const t = V(cr), n = V(re), r = w(() => ({
4564
4564
  eventName: "mousedown",
4565
4565
  fn: function(l) {
4566
4566
  if (l.defaultPrevented || l.button !== xo || l.ctrlKey || l.metaKey || l.shiftKey || l.altKey)
@@ -4574,13 +4574,13 @@ function tl(e) {
4574
4574
  if (!f)
4575
4575
  return;
4576
4576
  l.preventDefault();
4577
- const m = {
4577
+ const h = {
4578
4578
  x: l.clientX,
4579
4579
  y: l.clientY
4580
4580
  };
4581
- n.current(), d(f, m);
4581
+ n.current(), d(f, h);
4582
4582
  }
4583
- }), [e]), o = S(() => ({
4583
+ }), [e]), o = w(() => ({
4584
4584
  eventName: "webkitmouseforcewillbegin",
4585
4585
  fn: (p) => {
4586
4586
  if (p.defaultPrevented)
@@ -4608,7 +4608,7 @@ function tl(e) {
4608
4608
  const l = {
4609
4609
  capture: !0,
4610
4610
  passive: !1
4611
- }, u = el({
4611
+ }, u = Za({
4612
4612
  cancel: c,
4613
4613
  completed: s,
4614
4614
  getPhase: () => t.current,
@@ -4630,15 +4630,15 @@ function tl(e) {
4630
4630
  };
4631
4631
  }, [i]);
4632
4632
  }
4633
- function nl() {
4633
+ function el() {
4634
4634
  }
4635
- const rl = {
4635
+ const tl = {
4636
+ [Ua]: !0,
4637
+ [Wa]: !0,
4636
4638
  [za]: !0,
4637
- [Ha]: !0,
4638
- [ja]: !0,
4639
- [qa]: !0
4639
+ [Ha]: !0
4640
4640
  };
4641
- function ol(e, t) {
4641
+ function nl(e, t) {
4642
4642
  function n() {
4643
4643
  t(), e.cancel();
4644
4644
  }
@@ -4656,23 +4656,23 @@ function ol(e, t) {
4656
4656
  o.preventDefault(), r();
4657
4657
  return;
4658
4658
  }
4659
- if (o.keyCode === Ja) {
4659
+ if (o.keyCode === Xa) {
4660
4660
  o.preventDefault(), e.moveDown();
4661
4661
  return;
4662
4662
  }
4663
- if (o.keyCode === Xa) {
4663
+ if (o.keyCode === ja) {
4664
4664
  o.preventDefault(), e.moveUp();
4665
4665
  return;
4666
4666
  }
4667
- if (o.keyCode === Ka) {
4667
+ if (o.keyCode === Ya) {
4668
4668
  o.preventDefault(), e.moveRight();
4669
4669
  return;
4670
4670
  }
4671
- if (o.keyCode === Ya) {
4671
+ if (o.keyCode === qa) {
4672
4672
  o.preventDefault(), e.moveLeft();
4673
4673
  return;
4674
4674
  }
4675
- if (rl[o.keyCode]) {
4675
+ if (tl[o.keyCode]) {
4676
4676
  o.preventDefault();
4677
4677
  return;
4678
4678
  }
@@ -4704,8 +4704,8 @@ function ol(e, t) {
4704
4704
  fn: n
4705
4705
  }];
4706
4706
  }
4707
- function il(e) {
4708
- const t = V(nl), n = S(() => ({
4707
+ function rl(e) {
4708
+ const t = V(el), n = w(() => ({
4709
4709
  eventName: "keydown",
4710
4710
  fn: function(i) {
4711
4711
  if (i.defaultPrevented || i.keyCode !== Do)
@@ -4725,7 +4725,7 @@ function il(e) {
4725
4725
  function p() {
4726
4726
  a || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot stop capturing a keyboard drag when not capturing") : g()), a = !1, t.current(), r();
4727
4727
  }
4728
- t.current = K(window, ol(d, p), {
4728
+ t.current = K(window, nl(d, p), {
4729
4729
  capture: !0,
4730
4730
  passive: !1
4731
4731
  });
@@ -4743,10 +4743,10 @@ function il(e) {
4743
4743
  };
4744
4744
  }, [r]);
4745
4745
  }
4746
- const wt = {
4746
+ const St = {
4747
4747
  type: "IDLE"
4748
- }, sl = 120, cl = 0.15;
4749
- function al({
4748
+ }, ol = 120, il = 0.15;
4749
+ function sl({
4750
4750
  cancel: e,
4751
4751
  getPhase: t
4752
4752
  }) {
@@ -4775,7 +4775,7 @@ function al({
4775
4775
  fn: e
4776
4776
  }];
4777
4777
  }
4778
- function ll({
4778
+ function cl({
4779
4779
  cancel: e,
4780
4780
  completed: t,
4781
4781
  getPhase: n
@@ -4828,7 +4828,7 @@ function ll({
4828
4828
  const o = n();
4829
4829
  o.type === "IDLE" && (process.env.NODE_ENV, g());
4830
4830
  const i = r.touches[0];
4831
- if (!i || !(i.force >= cl))
4831
+ if (!i || !(i.force >= il))
4832
4832
  return;
4833
4833
  const c = o.actions.shouldRespectForcePress();
4834
4834
  if (o.type === "PENDING") {
@@ -4850,28 +4850,28 @@ function ll({
4850
4850
  fn: e
4851
4851
  }];
4852
4852
  }
4853
- function dl(e) {
4854
- const t = V(wt), n = V(re), r = D(function() {
4853
+ function al(e) {
4854
+ const t = V(St), n = V(re), r = D(function() {
4855
4855
  return t.current;
4856
4856
  }, []), o = D(function(f) {
4857
4857
  t.current = f;
4858
- }, []), i = S(() => ({
4858
+ }, []), i = w(() => ({
4859
4859
  eventName: "touchstart",
4860
4860
  fn: function(f) {
4861
4861
  if (f.defaultPrevented)
4862
4862
  return;
4863
- const m = e.findClosestDraggableId(f);
4864
- if (!m)
4863
+ const h = e.findClosestDraggableId(f);
4864
+ if (!h)
4865
4865
  return;
4866
- const b = e.tryGetLock(m, c, {
4866
+ const b = e.tryGetLock(h, c, {
4867
4867
  sourceEvent: f
4868
4868
  });
4869
4869
  if (!b)
4870
4870
  return;
4871
- const h = f.touches[0], {
4871
+ const m = f.touches[0], {
4872
4872
  clientX: y,
4873
4873
  clientY: v
4874
- } = h, I = {
4874
+ } = m, I = {
4875
4875
  x: y,
4876
4876
  y: v
4877
4877
  };
@@ -4885,7 +4885,7 @@ function dl(e) {
4885
4885
  n.current = K(window, [i], f);
4886
4886
  }, [i]), c = D(() => {
4887
4887
  const u = t.current;
4888
- u.type !== "IDLE" && (u.type === "PENDING" && clearTimeout(u.longPressTimerId), o(wt), n.current(), s());
4888
+ u.type !== "IDLE" && (u.type === "PENDING" && clearTimeout(u.longPressTimerId), o(St), n.current(), s());
4889
4889
  }, [s, o]), a = D(() => {
4890
4890
  const u = t.current;
4891
4891
  c(), u.type === "DRAGGING" && u.actions.cancel({
@@ -4895,29 +4895,29 @@ function dl(e) {
4895
4895
  const f = {
4896
4896
  capture: !0,
4897
4897
  passive: !1
4898
- }, m = {
4898
+ }, h = {
4899
4899
  cancel: a,
4900
4900
  completed: c,
4901
4901
  getPhase: r
4902
- }, b = K(window, ll(m), f), h = K(window, al(m), f);
4902
+ }, b = K(window, cl(h), f), m = K(window, sl(h), f);
4903
4903
  n.current = function() {
4904
- b(), h();
4904
+ b(), m();
4905
4905
  };
4906
4906
  }, [a, r, c]), p = D(function() {
4907
4907
  const f = r();
4908
4908
  f.type !== "PENDING" && (process.env.NODE_ENV !== "production" ? g(!1, `Cannot start dragging from phase ${f.type}`) : g());
4909
- const m = f.actions.fluidLift(f.point);
4909
+ const h = f.actions.fluidLift(f.point);
4910
4910
  o({
4911
4911
  type: "DRAGGING",
4912
- actions: m,
4912
+ actions: h,
4913
4913
  hasMoved: !1
4914
4914
  });
4915
- }, [r, o]), l = D(function(f, m) {
4915
+ }, [r, o]), l = D(function(f, h) {
4916
4916
  r().type !== "IDLE" && (process.env.NODE_ENV !== "production" ? g(!1, "Expected to move from IDLE to PENDING drag") : g());
4917
- const b = setTimeout(p, sl);
4917
+ const b = setTimeout(p, ol);
4918
4918
  o({
4919
4919
  type: "PENDING",
4920
- point: m,
4920
+ point: h,
4921
4921
  actions: f,
4922
4922
  longPressTimerId: b
4923
4923
  }), d();
@@ -4925,8 +4925,8 @@ function dl(e) {
4925
4925
  Y(function() {
4926
4926
  return s(), function() {
4927
4927
  n.current();
4928
- const m = r();
4929
- m.type === "PENDING" && (clearTimeout(m.longPressTimerId), o(wt));
4928
+ const h = r();
4929
+ h.type === "PENDING" && (clearTimeout(h.longPressTimerId), o(St));
4930
4930
  };
4931
4931
  }, [r, s, o]), Y(function() {
4932
4932
  return K(window, [{
@@ -4940,7 +4940,7 @@ function dl(e) {
4940
4940
  }]);
4941
4941
  }, []);
4942
4942
  }
4943
- function ul(e) {
4943
+ function ll(e) {
4944
4944
  gn(() => {
4945
4945
  const t = mn(e);
4946
4946
  Ge(() => {
@@ -4948,52 +4948,52 @@ function ul(e) {
4948
4948
  });
4949
4949
  });
4950
4950
  }
4951
- const pl = ["input", "button", "textarea", "select", "option", "optgroup", "video", "audio"];
4951
+ const dl = ["input", "button", "textarea", "select", "option", "optgroup", "video", "audio"];
4952
4952
  function Io(e, t) {
4953
4953
  if (t == null)
4954
4954
  return !1;
4955
- if (pl.includes(t.tagName.toLowerCase()))
4955
+ if (dl.includes(t.tagName.toLowerCase()))
4956
4956
  return !0;
4957
4957
  const r = t.getAttribute("contenteditable");
4958
4958
  return r === "true" || r === "" ? !0 : t === e ? !1 : Io(e, t.parentElement);
4959
4959
  }
4960
- function fl(e, t) {
4960
+ function ul(e, t) {
4961
4961
  const n = t.target;
4962
4962
  return $e(n) ? Io(e, n) : !1;
4963
4963
  }
4964
- var gl = (e) => Z(e.getBoundingClientRect()).center;
4965
- function ml(e) {
4964
+ var pl = (e) => Z(e.getBoundingClientRect()).center;
4965
+ function fl(e) {
4966
4966
  return e instanceof yo(e).Element;
4967
4967
  }
4968
- const hl = (() => {
4968
+ const gl = (() => {
4969
4969
  const e = "matches";
4970
4970
  return typeof document > "u" ? e : [e, "msMatchesSelector", "webkitMatchesSelector"].find((r) => r in Element.prototype) || e;
4971
4971
  })();
4972
4972
  function Co(e, t) {
4973
- return e == null ? null : e[hl](t) ? e : Co(e.parentElement, t);
4973
+ return e == null ? null : e[gl](t) ? e : Co(e.parentElement, t);
4974
4974
  }
4975
- function bl(e, t) {
4975
+ function ml(e, t) {
4976
4976
  return e.closest ? e.closest(t) : Co(e, t);
4977
4977
  }
4978
- function vl(e) {
4978
+ function hl(e) {
4979
4979
  return `[${ge.contextId}="${e}"]`;
4980
4980
  }
4981
- function yl(e, t) {
4981
+ function bl(e, t) {
4982
4982
  const n = t.target;
4983
- if (!ml(n))
4983
+ if (!fl(n))
4984
4984
  return process.env.NODE_ENV !== "production" && T("event.target must be a Element"), null;
4985
- const r = vl(e), o = bl(n, r);
4985
+ const r = hl(e), o = ml(n, r);
4986
4986
  return o ? $e(o) ? o : (process.env.NODE_ENV !== "production" && T("drag handle must be a HTMLElement"), null) : null;
4987
4987
  }
4988
- function El(e, t) {
4989
- const n = yl(e, t);
4988
+ function vl(e, t) {
4989
+ const n = bl(e, t);
4990
4990
  return n ? n.getAttribute(ge.draggableId) : null;
4991
4991
  }
4992
- function Dl(e, t) {
4992
+ function yl(e, t) {
4993
4993
  const n = `[${Ft.contextId}="${e}"]`, o = vo(document, n).find((i) => i.getAttribute(Ft.id) === t);
4994
4994
  return o ? $e(o) ? o : (process.env.NODE_ENV !== "production" && T("Draggable element is not a HTMLElement"), null) : null;
4995
4995
  }
4996
- function Nl(e) {
4996
+ function El(e) {
4997
4997
  e.preventDefault();
4998
4998
  }
4999
4999
  function Ue({
@@ -5033,7 +5033,7 @@ function Oo({
5033
5033
  const o = n.draggable.findById(r);
5034
5034
  return o ? !(!o.options.isEnabled || !go(t.getState(), r)) : (process.env.NODE_ENV !== "production" && T(`Unable to find draggable with id: ${r}`), !1);
5035
5035
  }
5036
- function xl({
5036
+ function Dl({
5037
5037
  lockAPI: e,
5038
5038
  contextId: t,
5039
5039
  store: n,
@@ -5049,10 +5049,10 @@ function xl({
5049
5049
  draggableId: o
5050
5050
  }))
5051
5051
  return null;
5052
- const a = r.draggable.getById(o), d = Dl(t, a.descriptor.id);
5052
+ const a = r.draggable.getById(o), d = yl(t, a.descriptor.id);
5053
5053
  if (!d)
5054
5054
  return process.env.NODE_ENV !== "production" && T(`Unable to find draggable element with id: ${o}`), null;
5055
- if (s && !a.options.canDragInteractiveElements && fl(d, s))
5055
+ if (s && !a.options.canDragInteractiveElements && ul(d, s))
5056
5056
  return null;
5057
5057
  const p = e.claim(i || re);
5058
5058
  let l = "PRE_DRAG";
@@ -5062,7 +5062,7 @@ function xl({
5062
5062
  function f() {
5063
5063
  return e.isActive(p);
5064
5064
  }
5065
- function m(E, x) {
5065
+ function h(E, x) {
5066
5066
  Ue({
5067
5067
  expected: E,
5068
5068
  phase: l,
@@ -5070,19 +5070,19 @@ function xl({
5070
5070
  shouldWarn: !0
5071
5071
  }) && n.dispatch(x());
5072
5072
  }
5073
- const b = m.bind(null, "DRAGGING");
5074
- function h(E) {
5073
+ const b = h.bind(null, "DRAGGING");
5074
+ function m(E) {
5075
5075
  function x() {
5076
5076
  e.release(), l = "COMPLETED";
5077
5077
  }
5078
- l !== "PRE_DRAG" && (x(), process.env.NODE_ENV !== "production" ? g(!1, `Cannot lift in phase ${l}`) : g()), n.dispatch(lc(E.liftActionArgs)), l = "DRAGGING";
5078
+ l !== "PRE_DRAG" && (x(), process.env.NODE_ENV !== "production" ? g(!1, `Cannot lift in phase ${l}`) : g()), n.dispatch(cc(E.liftActionArgs)), l = "DRAGGING";
5079
5079
  function _(R, U = {
5080
5080
  shouldBlockNextClick: !1
5081
5081
  }) {
5082
5082
  if (E.cleanup(), U.shouldBlockNextClick) {
5083
5083
  const B = K(window, [{
5084
5084
  eventName: "click",
5085
- fn: Nl,
5085
+ fn: El,
5086
5086
  options: {
5087
5087
  once: !0,
5088
5088
  passive: !1,
@@ -5115,7 +5115,7 @@ function xl({
5115
5115
  }));
5116
5116
  });
5117
5117
  return {
5118
- ...h({
5118
+ ...m({
5119
5119
  liftActionArgs: {
5120
5120
  id: o,
5121
5121
  clientSelection: E,
@@ -5131,15 +5131,15 @@ function xl({
5131
5131
  }
5132
5132
  function v() {
5133
5133
  const E = {
5134
- moveUp: () => b(vc),
5135
- moveRight: () => b(Ec),
5136
- moveDown: () => b(yc),
5137
- moveLeft: () => b(Dc)
5134
+ moveUp: () => b(hc),
5135
+ moveRight: () => b(vc),
5136
+ moveDown: () => b(bc),
5137
+ moveLeft: () => b(yc)
5138
5138
  };
5139
- return h({
5139
+ return m({
5140
5140
  liftActionArgs: {
5141
5141
  id: o,
5142
- clientSelection: gl(d),
5142
+ clientSelection: pl(d),
5143
5143
  movementMode: "SNAP"
5144
5144
  },
5145
5145
  cleanup: re,
@@ -5167,22 +5167,22 @@ function xl({
5167
5167
  abort: I
5168
5168
  };
5169
5169
  }
5170
- const Il = [tl, il, dl];
5171
- function Cl({
5170
+ const Nl = [Qa, rl, al];
5171
+ function xl({
5172
5172
  contextId: e,
5173
5173
  store: t,
5174
5174
  registry: n,
5175
5175
  customSensors: r,
5176
5176
  enableDefaultSensors: o
5177
5177
  }) {
5178
- const i = [...o ? Il : [], ...r || []], s = me(() => Fa())[0], c = D(function(h, y) {
5179
- Te(h) && !Te(y) && s.tryAbandon();
5178
+ const i = [...o ? Nl : [], ...r || []], s = me(() => Ga())[0], c = D(function(m, y) {
5179
+ Te(m) && !Te(y) && s.tryAbandon();
5180
5180
  }, [s]);
5181
5181
  Y(function() {
5182
- let h = t.getState();
5182
+ let m = t.getState();
5183
5183
  return t.subscribe(() => {
5184
5184
  const v = t.getState();
5185
- c(h, v), h = v;
5185
+ c(m, v), m = v;
5186
5186
  });
5187
5187
  }, [s, t, c]), Y(() => s.tryAbandon, [s.tryAbandon]);
5188
5188
  const a = D((b) => Oo({
@@ -5190,20 +5190,20 @@ function Cl({
5190
5190
  registry: n,
5191
5191
  store: t,
5192
5192
  draggableId: b
5193
- }), [s, n, t]), d = D((b, h, y) => xl({
5193
+ }), [s, n, t]), d = D((b, m, y) => Dl({
5194
5194
  lockAPI: s,
5195
5195
  registry: n,
5196
5196
  contextId: e,
5197
5197
  store: t,
5198
5198
  draggableId: b,
5199
- forceSensorStop: h || null,
5199
+ forceSensorStop: m || null,
5200
5200
  sourceEvent: y && y.sourceEvent ? y.sourceEvent : null
5201
- }), [e, s, n, t]), p = D((b) => El(e, b), [e]), l = D((b) => {
5202
- const h = n.draggable.findById(b);
5203
- return h ? h.options : null;
5201
+ }), [e, s, n, t]), p = D((b) => vl(e, b), [e]), l = D((b) => {
5202
+ const m = n.draggable.findById(b);
5203
+ return m ? m.options : null;
5204
5204
  }, [n.draggable]), u = D(function() {
5205
5205
  s.isClaimed() && (s.tryAbandon(), t.getState().phase !== "IDLE" && t.dispatch(on()));
5206
- }, [s, t]), f = D(() => s.isClaimed(), [s]), m = S(() => ({
5206
+ }, [s, t]), f = D(() => s.isClaimed(), [s]), h = w(() => ({
5207
5207
  canGetLock: a,
5208
5208
  tryGetLock: d,
5209
5209
  findClosestDraggableId: p,
@@ -5211,11 +5211,11 @@ function Cl({
5211
5211
  tryReleaseLock: u,
5212
5212
  isLockClaimed: f
5213
5213
  }), [a, d, p, l, u, f]);
5214
- ul(i);
5214
+ ll(i);
5215
5215
  for (let b = 0; b < i.length; b++)
5216
- i[b](m);
5216
+ i[b](h);
5217
5217
  }
5218
- const Ol = (e) => ({
5218
+ const Il = (e) => ({
5219
5219
  onBeforeCapture: (t) => {
5220
5220
  hr(() => {
5221
5221
  e.onBeforeCapture && e.onBeforeCapture(t);
@@ -5225,7 +5225,7 @@ const Ol = (e) => ({
5225
5225
  onDragStart: e.onDragStart,
5226
5226
  onDragEnd: e.onDragEnd,
5227
5227
  onDragUpdate: e.onDragUpdate
5228
- }), Sl = (e) => ({
5228
+ }), Cl = (e) => ({
5229
5229
  ...Pe,
5230
5230
  ...e.autoScrollerOptions,
5231
5231
  durationDampening: {
@@ -5236,7 +5236,7 @@ const Ol = (e) => ({
5236
5236
  function Ne(e) {
5237
5237
  return e.current || (process.env.NODE_ENV !== "production" ? g(!1, "Could not find store from lazy ref") : g()), e.current;
5238
5238
  }
5239
- function wl(e) {
5239
+ function Ol(e) {
5240
5240
  const {
5241
5241
  contextId: t,
5242
5242
  setCallbacks: n,
@@ -5244,33 +5244,33 @@ function wl(e) {
5244
5244
  nonce: o,
5245
5245
  dragHandleUsageInstructions: i
5246
5246
  } = e, s = V(null);
5247
- ka();
5248
- const c = mn(e), a = D(() => Ol(c.current), [c]), d = D(() => Sl(c.current), [c]), p = Pa(t), l = Ba({
5247
+ $a();
5248
+ const c = mn(e), a = D(() => Il(c.current), [c]), d = D(() => Cl(c.current), [c]), p = _a(t), l = Ra({
5249
5249
  contextId: t,
5250
5250
  text: i
5251
- }), u = Ca(t, o), f = D((B) => {
5251
+ }), u = xa(t, o), f = D((B) => {
5252
5252
  Ne(s).dispatch(B);
5253
- }, []), m = S(() => wn({
5254
- publishWhileDragging: uc,
5255
- updateDroppableScroll: fc,
5256
- updateDroppableIsEnabled: gc,
5257
- updateDroppableIsCombineEnabled: mc,
5258
- collectionStarting: pc
5259
- }, f), [f]), b = wa(), h = S(() => ra(b, m), [b, m]), y = S(() => Ea({
5260
- scrollWindow: oa,
5261
- scrollDroppable: h.scrollDroppable,
5253
+ }, []), h = w(() => Sn({
5254
+ publishWhileDragging: lc,
5255
+ updateDroppableScroll: uc,
5256
+ updateDroppableIsEnabled: pc,
5257
+ updateDroppableIsCombineEnabled: fc,
5258
+ collectionStarting: dc
5259
+ }, f), [f]), b = Oa(), m = w(() => ta(b, h), [b, h]), y = w(() => va({
5260
+ scrollWindow: na,
5261
+ scrollDroppable: m.scrollDroppable,
5262
5262
  getAutoScrollerOptions: d,
5263
- ...wn({
5263
+ ...Sn({
5264
5264
  move: oo
5265
5265
  }, f)
5266
- }), [h.scrollDroppable, f, d]), v = Oa(t), I = S(() => Qc({
5266
+ }), [m.scrollDroppable, f, d]), v = Ia(t), I = w(() => Jc({
5267
5267
  announce: p,
5268
5268
  autoScroller: y,
5269
- dimensionMarshal: h,
5269
+ dimensionMarshal: m,
5270
5270
  focusMarshal: v,
5271
5271
  getResponders: a,
5272
5272
  styleMarshal: u
5273
- }), [p, y, h, v, a, u]);
5273
+ }), [p, y, m, v, a, u]);
5274
5274
  process.env.NODE_ENV !== "production" && s.current && s.current !== I && process.env.NODE_ENV !== "production" && T("unexpected store change"), s.current = I;
5275
5275
  const N = D(() => {
5276
5276
  const B = Ne(s);
@@ -5278,21 +5278,21 @@ function wl(e) {
5278
5278
  }, []), E = D(() => {
5279
5279
  const B = Ne(s).getState();
5280
5280
  return B.phase === "DROP_ANIMATING" ? !0 : B.phase === "IDLE" ? !1 : B.isDragging;
5281
- }, []), x = S(() => ({
5281
+ }, []), x = w(() => ({
5282
5282
  isDragging: E,
5283
5283
  tryAbort: N
5284
5284
  }), [E, N]);
5285
5285
  n(x);
5286
- const _ = D((B) => go(Ne(s).getState(), B), []), R = D(() => ce(Ne(s).getState()), []), U = S(() => ({
5287
- marshal: h,
5286
+ const _ = D((B) => go(Ne(s).getState(), B), []), R = D(() => ce(Ne(s).getState()), []), U = w(() => ({
5287
+ marshal: m,
5288
5288
  focus: v,
5289
5289
  contextId: t,
5290
5290
  canLift: _,
5291
5291
  isMovementAllowed: R,
5292
5292
  dragHandleUsageInstructionsId: l,
5293
5293
  registry: b
5294
- }), [t, h, l, v, _, R, b]);
5295
- return Cl({
5294
+ }), [t, m, l, v, _, R, b]);
5295
+ return xl({
5296
5296
  contextId: t,
5297
5297
  store: I,
5298
5298
  registry: b,
@@ -5300,17 +5300,17 @@ function wl(e) {
5300
5300
  enableDefaultSensors: e.enableDefaultSensors !== !1
5301
5301
  }), te(() => N, [N]), L.createElement(st.Provider, {
5302
5302
  value: U
5303
- }, L.createElement(ki, {
5303
+ }, L.createElement($i, {
5304
5304
  context: pn,
5305
5305
  store: I
5306
5306
  }, e.children));
5307
5307
  }
5308
- function _l() {
5308
+ function wl() {
5309
5309
  return L.useId();
5310
5310
  }
5311
- function Al(e) {
5312
- const t = _l(), n = e.dragHandleUsageInstructions || ze.dragHandleUsageInstructions;
5313
- return L.createElement(Zi, null, (r) => L.createElement(wl, {
5311
+ function Sl(e) {
5312
+ const t = wl(), n = e.dragHandleUsageInstructions || ze.dragHandleUsageInstructions;
5313
+ return L.createElement(Ki, null, (r) => L.createElement(Ol, {
5314
5314
  nonce: e.nonce,
5315
5315
  contextId: t,
5316
5316
  setCallbacks: r,
@@ -5328,16 +5328,16 @@ function Al(e) {
5328
5328
  const ar = {
5329
5329
  dragging: 5e3,
5330
5330
  dropAnimating: 4500
5331
- }, Pl = (e, t) => t ? Ie.drop(t.duration) : e ? Ie.snap : Ie.fluid, Rl = (e, t) => {
5331
+ }, _l = (e, t) => t ? Ie.drop(t.duration) : e ? Ie.snap : Ie.fluid, Al = (e, t) => {
5332
5332
  if (e)
5333
5333
  return t ? Ae.opacity.drop : Ae.opacity.combining;
5334
- }, Tl = (e) => e.forceShouldAnimate != null ? e.forceShouldAnimate : e.mode === "SNAP";
5335
- function Bl(e) {
5334
+ }, Pl = (e) => e.forceShouldAnimate != null ? e.forceShouldAnimate : e.mode === "SNAP";
5335
+ function Rl(e) {
5336
5336
  const n = e.dimension.client, {
5337
5337
  offset: r,
5338
5338
  combineWith: o,
5339
5339
  dropping: i
5340
- } = e, s = !!o, c = Tl(e), a = !!i, d = a ? Gt.drop(r, s) : Gt.moveTo(r);
5340
+ } = e, s = !!o, c = Pl(e), a = !!i, d = a ? Gt.drop(r, s) : Gt.moveTo(r);
5341
5341
  return {
5342
5342
  position: "fixed",
5343
5343
  top: n.marginBox.top,
@@ -5345,23 +5345,23 @@ function Bl(e) {
5345
5345
  boxSizing: "border-box",
5346
5346
  width: n.borderBox.width,
5347
5347
  height: n.borderBox.height,
5348
- transition: Pl(c, i),
5348
+ transition: _l(c, i),
5349
5349
  transform: d,
5350
- opacity: Rl(s, a),
5350
+ opacity: Al(s, a),
5351
5351
  zIndex: a ? ar.dropAnimating : ar.dragging,
5352
5352
  pointerEvents: "none"
5353
5353
  };
5354
5354
  }
5355
- function Vl(e) {
5355
+ function Tl(e) {
5356
5356
  return {
5357
5357
  transform: Gt.moveTo(e.offset),
5358
5358
  transition: e.shouldAnimateDisplacement ? void 0 : "none"
5359
5359
  };
5360
5360
  }
5361
- function Ll(e) {
5362
- return e.type === "DRAGGING" ? Bl(e) : Vl(e);
5361
+ function Bl(e) {
5362
+ return e.type === "DRAGGING" ? Rl(e) : Tl(e);
5363
5363
  }
5364
- function Ml(e, t, n = G) {
5364
+ function Vl(e, t, n = G) {
5365
5365
  const r = window.getComputedStyle(t), o = t.getBoundingClientRect(), i = Rr(o, r), s = Ke(i, n), c = {
5366
5366
  client: i,
5367
5367
  tagName: t.tagName.toLowerCase(),
@@ -5378,7 +5378,7 @@ function Ml(e, t, n = G) {
5378
5378
  page: s
5379
5379
  };
5380
5380
  }
5381
- function $l(e) {
5381
+ function Ll(e) {
5382
5382
  const t = fn("draggable"), {
5383
5383
  descriptor: n,
5384
5384
  registry: r,
@@ -5386,14 +5386,14 @@ function $l(e) {
5386
5386
  canDragInteractiveElements: i,
5387
5387
  shouldRespectForcePress: s,
5388
5388
  isEnabled: c
5389
- } = e, a = S(() => ({
5389
+ } = e, a = w(() => ({
5390
5390
  canDragInteractiveElements: i,
5391
5391
  shouldRespectForcePress: s,
5392
5392
  isEnabled: c
5393
5393
  }), [i, c, s]), d = D((f) => {
5394
- const m = o();
5395
- return m || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot get dimension when no ref is set") : g()), Ml(n, m, f);
5396
- }, [n, o]), p = S(() => ({
5394
+ const h = o();
5395
+ return h || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot get dimension when no ref is set") : g()), Vl(n, h, f);
5396
+ }, [n, o]), p = w(() => ({
5397
5397
  uniqueId: t,
5398
5398
  descriptor: n,
5399
5399
  options: a,
@@ -5409,7 +5409,7 @@ function $l(e) {
5409
5409
  }, [p, r.draggable]);
5410
5410
  }
5411
5411
  var bn = L.createContext(null);
5412
- function So(e) {
5412
+ function wo(e) {
5413
5413
  e && $e(e) || (process.env.NODE_ENV !== "production" ? g(!1, `
5414
5414
  provided.innerRef has not been provided with a HTMLElement.
5415
5415
 
@@ -5417,17 +5417,17 @@ function So(e) {
5417
5417
  https://github.com/hello-pangea/dnd/blob/main/docs/guides/using-inner-ref.md
5418
5418
  `) : g());
5419
5419
  }
5420
- function Gl(e, t, n) {
5420
+ function Ml(e, t, n) {
5421
5421
  Ge(() => {
5422
5422
  function r(i) {
5423
5423
  return `Draggable[id: ${i}]: `;
5424
5424
  }
5425
5425
  const o = e.draggableId;
5426
5426
  o || (process.env.NODE_ENV !== "production" ? g(!1, "Draggable requires a draggableId") : g(!1)), typeof o != "string" && (process.env.NODE_ENV !== "production" ? g(!1, `Draggable requires a [string] draggableId.
5427
- Provided: [type: ${typeof o}] (value: ${o})`) : g(!1)), Number.isInteger(e.index) || (process.env.NODE_ENV !== "production" ? g(!1, `${r(o)} requires an integer index prop`) : g(!1)), e.mapped.type !== "DRAGGING" && (So(n()), e.isEnabled && (Eo(t, o) || (process.env.NODE_ENV !== "production" ? g(!1, `${r(o)} Unable to find drag handle`) : g(!1))));
5427
+ Provided: [type: ${typeof o}] (value: ${o})`) : g(!1)), Number.isInteger(e.index) || (process.env.NODE_ENV !== "production" ? g(!1, `${r(o)} requires an integer index prop`) : g(!1)), e.mapped.type !== "DRAGGING" && (wo(n()), e.isEnabled && (Eo(t, o) || (process.env.NODE_ENV !== "production" ? g(!1, `${r(o)} Unable to find drag handle`) : g(!1))));
5428
5428
  });
5429
5429
  }
5430
- function kl(e) {
5430
+ function $l(e) {
5431
5431
  gn(() => {
5432
5432
  const t = V(e);
5433
5433
  Ge(() => {
@@ -5439,10 +5439,10 @@ function et(e) {
5439
5439
  const t = mr(e);
5440
5440
  return t || (process.env.NODE_ENV !== "production" ? g(!1, "Could not find required context") : g()), t;
5441
5441
  }
5442
- function Fl(e) {
5442
+ function Gl(e) {
5443
5443
  e.preventDefault();
5444
5444
  }
5445
- const Wl = (e) => {
5445
+ const kl = (e) => {
5446
5446
  const t = V(null), n = D((x = null) => {
5447
5447
  t.current = x;
5448
5448
  }, []), r = D(() => t.current, []), {
@@ -5452,7 +5452,7 @@ const Wl = (e) => {
5452
5452
  } = et(st), {
5453
5453
  type: c,
5454
5454
  droppableId: a
5455
- } = et(bn), d = S(() => ({
5455
+ } = et(bn), d = w(() => ({
5456
5456
  id: e.draggableId,
5457
5457
  index: e.index,
5458
5458
  type: c,
@@ -5462,34 +5462,34 @@ const Wl = (e) => {
5462
5462
  draggableId: l,
5463
5463
  isEnabled: u,
5464
5464
  shouldRespectForcePress: f,
5465
- canDragInteractiveElements: m,
5465
+ canDragInteractiveElements: h,
5466
5466
  isClone: b,
5467
- mapped: h,
5467
+ mapped: m,
5468
5468
  dropAnimationFinished: y
5469
5469
  } = e;
5470
- if (Gl(e, o, r), kl(b), !b) {
5471
- const x = S(() => ({
5470
+ if (Ml(e, o, r), $l(b), !b) {
5471
+ const x = w(() => ({
5472
5472
  descriptor: d,
5473
5473
  registry: s,
5474
5474
  getDraggableRef: r,
5475
- canDragInteractiveElements: m,
5475
+ canDragInteractiveElements: h,
5476
5476
  shouldRespectForcePress: f,
5477
5477
  isEnabled: u
5478
- }), [d, s, r, m, f, u]);
5479
- $l(x);
5478
+ }), [d, s, r, h, f, u]);
5479
+ Ll(x);
5480
5480
  }
5481
- const v = S(() => u ? {
5481
+ const v = w(() => u ? {
5482
5482
  tabIndex: 0,
5483
5483
  role: "button",
5484
5484
  "aria-describedby": i,
5485
5485
  "data-rfd-drag-handle-draggable-id": l,
5486
5486
  "data-rfd-drag-handle-context-id": o,
5487
5487
  draggable: !1,
5488
- onDragStart: Fl
5488
+ onDragStart: Gl
5489
5489
  } : null, [o, i, l, u]), I = D((x) => {
5490
- h.type === "DRAGGING" && h.dropping && x.propertyName === "transform" && hr(y);
5491
- }, [y, h]), N = S(() => {
5492
- const x = Ll(h), _ = h.type === "DRAGGING" && h.dropping ? I : void 0;
5490
+ m.type === "DRAGGING" && m.dropping && x.propertyName === "transform" && hr(y);
5491
+ }, [y, m]), N = w(() => {
5492
+ const x = Bl(m), _ = m.type === "DRAGGING" && m.dropping ? I : void 0;
5493
5493
  return {
5494
5494
  innerRef: n,
5495
5495
  draggableProps: {
@@ -5500,7 +5500,7 @@ const Wl = (e) => {
5500
5500
  },
5501
5501
  dragHandleProps: v
5502
5502
  };
5503
- }, [o, v, l, h, I, n]), E = S(() => ({
5503
+ }, [o, v, l, m, I, n]), E = w(() => ({
5504
5504
  draggableId: d.id,
5505
5505
  type: d.type,
5506
5506
  source: {
@@ -5508,17 +5508,17 @@ const Wl = (e) => {
5508
5508
  droppableId: d.droppableId
5509
5509
  }
5510
5510
  }), [d.droppableId, d.id, d.index, d.type]);
5511
- return L.createElement(L.Fragment, null, p(N, h.snapshot, E));
5511
+ return L.createElement(L.Fragment, null, p(N, m.snapshot, E));
5512
5512
  };
5513
- var wo = (e, t) => e === t, _o = (e) => {
5513
+ var So = (e, t) => e === t, _o = (e) => {
5514
5514
  const {
5515
5515
  combine: t,
5516
5516
  destination: n
5517
5517
  } = e;
5518
5518
  return n ? n.droppableId : t ? t.droppableId : null;
5519
5519
  };
5520
- const Ul = (e) => e.combine ? e.combine.draggableId : null, Hl = (e) => e.at && e.at.type === "COMBINE" ? e.at.combine.draggableId : null;
5521
- function zl() {
5520
+ const Fl = (e) => e.combine ? e.combine.draggableId : null, Wl = (e) => e.at && e.at.type === "COMBINE" ? e.at.combine.draggableId : null;
5521
+ function Ul() {
5522
5522
  const e = $((o, i) => ({
5523
5523
  x: o,
5524
5524
  y: i
@@ -5548,14 +5548,14 @@ function zl() {
5548
5548
  if (Te(o)) {
5549
5549
  if (o.critical.draggable.id !== i.draggableId)
5550
5550
  return null;
5551
- const s = o.current.client.offset, c = o.dimensions.draggables[i.draggableId], a = j(o.impact), d = Hl(o.impact), p = o.forceShouldAnimate;
5551
+ const s = o.current.client.offset, c = o.dimensions.draggables[i.draggableId], a = j(o.impact), d = Wl(o.impact), p = o.forceShouldAnimate;
5552
5552
  return n(e(s.x, s.y), o.movementMode, c, i.isClone, a, d, p);
5553
5553
  }
5554
5554
  if (o.phase === "DROP_ANIMATING") {
5555
5555
  const s = o.completed;
5556
5556
  if (s.result.draggableId !== i.draggableId)
5557
5557
  return null;
5558
- const c = i.isClone, a = o.dimensions.draggables[i.draggableId], d = s.result, p = d.mode, l = _o(d), u = Ul(d), m = {
5558
+ const c = i.isClone, a = o.dimensions.draggables[i.draggableId], d = s.result, p = d.mode, l = _o(d), u = Fl(d), h = {
5559
5559
  duration: o.dropDuration,
5560
5560
  curve: cn.drop,
5561
5561
  moveTo: o.newHomeClientOffset,
@@ -5567,12 +5567,12 @@ function zl() {
5567
5567
  type: "DRAGGING",
5568
5568
  offset: o.newHomeClientOffset,
5569
5569
  dimension: a,
5570
- dropping: m,
5570
+ dropping: h,
5571
5571
  draggingOver: l,
5572
5572
  combineWith: u,
5573
5573
  mode: p,
5574
5574
  forceShouldAnimate: null,
5575
- snapshot: t(p, c, l, u, m)
5575
+ snapshot: t(p, c, l, u, h)
5576
5576
  }
5577
5577
  };
5578
5578
  }
@@ -5591,7 +5591,7 @@ function Ao(e = null) {
5591
5591
  combineWith: null
5592
5592
  };
5593
5593
  }
5594
- const ql = {
5594
+ const Hl = {
5595
5595
  mapped: {
5596
5596
  type: "SECONDARY",
5597
5597
  offset: G,
@@ -5600,7 +5600,7 @@ const ql = {
5600
5600
  snapshot: Ao(null)
5601
5601
  }
5602
5602
  };
5603
- function jl() {
5603
+ function zl() {
5604
5604
  const e = $((s, c) => ({
5605
5605
  x: s,
5606
5606
  y: c
@@ -5619,12 +5619,12 @@ function jl() {
5619
5619
  return r(f);
5620
5620
  if (a.displaced.invisible[s])
5621
5621
  return null;
5622
- const h = he(d.displacedBy.point), y = e(h.x, h.y);
5622
+ const m = he(d.displacedBy.point), y = e(m.x, m.y);
5623
5623
  return n(y, f, !0);
5624
5624
  }
5625
5625
  if (l)
5626
5626
  return r(f);
5627
- const m = a.displacedBy.point, b = e(m.x, m.y);
5627
+ const h = a.displacedBy.point, b = e(h.x, h.y);
5628
5628
  return n(b, f, p.shouldAnimate);
5629
5629
  };
5630
5630
  return (s, c) => {
@@ -5637,19 +5637,19 @@ function jl() {
5637
5637
  return null;
5638
5638
  };
5639
5639
  }
5640
- const Yl = () => {
5641
- const e = zl(), t = jl();
5642
- return (r, o) => e(r, o) || t(r, o) || ql;
5643
- }, Xl = {
5640
+ const ql = () => {
5641
+ const e = Ul(), t = zl();
5642
+ return (r, o) => e(r, o) || t(r, o) || Hl;
5643
+ }, jl = {
5644
5644
  dropAnimationFinished: so
5645
- }, Kl = Pr(Yl, Xl, null, {
5645
+ }, Yl = Pr(ql, jl, null, {
5646
5646
  context: pn,
5647
- areStatePropsEqual: wo
5648
- })(Wl);
5647
+ areStatePropsEqual: So
5648
+ })(kl);
5649
5649
  function Po(e) {
5650
- return et(bn).isUsingCloneFor === e.draggableId && !e.isClone ? null : L.createElement(Kl, e);
5650
+ return et(bn).isUsingCloneFor === e.draggableId && !e.isClone ? null : L.createElement(Yl, e);
5651
5651
  }
5652
- function Jl(e) {
5652
+ function Xl(e) {
5653
5653
  const t = typeof e.isDragDisabled == "boolean" ? !e.isDragDisabled : !0, n = !!e.disableInteractiveElementBlocking, r = !!e.shouldRespectForcePress;
5654
5654
  return L.createElement(Po, Je({}, e, {
5655
5655
  isClone: !1,
@@ -5658,13 +5658,13 @@ function Jl(e) {
5658
5658
  shouldRespectForcePress: r
5659
5659
  }));
5660
5660
  }
5661
- const vn = (e) => (t) => e === t, Zl = vn("scroll"), Ql = vn("auto"), ed = vn("visible"), lr = (e, t) => t(e.overflowX) || t(e.overflowY), td = (e, t) => t(e.overflowX) && t(e.overflowY), Ro = (e) => {
5661
+ const vn = (e) => (t) => e === t, Kl = vn("scroll"), Jl = vn("auto"), Zl = vn("visible"), lr = (e, t) => t(e.overflowX) || t(e.overflowY), Ql = (e, t) => t(e.overflowX) && t(e.overflowY), Ro = (e) => {
5662
5662
  const t = window.getComputedStyle(e), n = {
5663
5663
  overflowX: t.overflowX,
5664
5664
  overflowY: t.overflowY
5665
5665
  };
5666
- return lr(n, Zl) || lr(n, Ql);
5667
- }, nd = () => {
5666
+ return lr(n, Kl) || lr(n, Jl);
5667
+ }, ed = () => {
5668
5668
  if (process.env.NODE_ENV === "production")
5669
5669
  return !1;
5670
5670
  const e = Re(), t = document.documentElement;
@@ -5674,7 +5674,7 @@ const vn = (e) => (t) => e === t, Zl = vn("scroll"), Ql = vn("auto"), ed = vn("v
5674
5674
  overflowX: n.overflowX,
5675
5675
  overflowY: n.overflowY
5676
5676
  };
5677
- return td(r, ed) || process.env.NODE_ENV !== "production" && T(`
5677
+ return Ql(r, Zl) || process.env.NODE_ENV !== "production" && T(`
5678
5678
  We have detected that your <body> element might be a scroll container.
5679
5679
  We have found no reliable way of detecting whether the <body> element is a scroll container.
5680
5680
  Under most circumstances a <body> scroll bar will be on the <html> element (document.documentElement)
@@ -5684,8 +5684,8 @@ const vn = (e) => (t) => e === t, Zl = vn("scroll"), Ql = vn("auto"), ed = vn("v
5684
5684
 
5685
5685
  More information: https://github.com/hello-pangea/dnd/blob/main/docs/guides/how-we-detect-scroll-containers.md
5686
5686
  `), !1;
5687
- }, yn = (e) => e == null ? null : e === document.body ? nd() ? e : null : e === document.documentElement ? null : Ro(e) ? e : yn(e.parentElement);
5688
- var rd = (e) => {
5687
+ }, yn = (e) => e == null ? null : e === document.body ? ed() ? e : null : e === document.documentElement ? null : Ro(e) ? e : yn(e.parentElement);
5688
+ var td = (e) => {
5689
5689
  !e || !yn(e.parentElement) || process.env.NODE_ENV !== "production" && T(`
5690
5690
  Droppable: unsupported nested scroll container detected.
5691
5691
  A Droppable can only have one scroll parent (which can be itself)
@@ -5698,13 +5698,13 @@ var rd = (e) => {
5698
5698
  y: e.scrollTop
5699
5699
  });
5700
5700
  const To = (e) => e ? window.getComputedStyle(e).position === "fixed" ? !0 : To(e.parentElement) : !1;
5701
- var od = (e) => {
5701
+ var nd = (e) => {
5702
5702
  const t = yn(e), n = To(e);
5703
5703
  return {
5704
5704
  closestScrollable: t,
5705
5705
  isFixedOnPage: n
5706
5706
  };
5707
- }, id = ({
5707
+ }, rd = ({
5708
5708
  descriptor: e,
5709
5709
  isEnabled: t,
5710
5710
  isCombineEnabled: n,
@@ -5720,7 +5720,7 @@ var od = (e) => {
5720
5720
  const {
5721
5721
  scrollSize: u,
5722
5722
  client: f
5723
- } = c, m = uo({
5723
+ } = c, h = uo({
5724
5724
  scrollHeight: u.scrollHeight,
5725
5725
  scrollWidth: u.scrollWidth,
5726
5726
  height: f.paddingBox.height,
@@ -5734,7 +5734,7 @@ var od = (e) => {
5734
5734
  scroll: {
5735
5735
  initial: c.scroll,
5736
5736
  current: c.scroll,
5737
- max: m,
5737
+ max: h,
5738
5738
  diff: {
5739
5739
  value: G,
5740
5740
  displacement: G
@@ -5759,7 +5759,7 @@ var od = (e) => {
5759
5759
  subject: p
5760
5760
  };
5761
5761
  };
5762
- const sd = (e, t) => {
5762
+ const od = (e, t) => {
5763
5763
  const n = Tr(e);
5764
5764
  if (!t || e !== t)
5765
5765
  return n;
@@ -5776,7 +5776,7 @@ const sd = (e, t) => {
5776
5776
  padding: n.padding
5777
5777
  });
5778
5778
  };
5779
- var cd = ({
5779
+ var id = ({
5780
5780
  ref: e,
5781
5781
  descriptor: t,
5782
5782
  env: n,
@@ -5786,10 +5786,10 @@ var cd = ({
5786
5786
  isCombineEnabled: s,
5787
5787
  shouldClipSubject: c
5788
5788
  }) => {
5789
- const a = n.closestScrollable, d = sd(e, a), p = Ke(d, r), l = (() => {
5789
+ const a = n.closestScrollable, d = od(e, a), p = Ke(d, r), l = (() => {
5790
5790
  if (!a)
5791
5791
  return null;
5792
- const f = Tr(a), m = {
5792
+ const f = Tr(a), h = {
5793
5793
  scrollHeight: a.scrollHeight,
5794
5794
  scrollWidth: a.scrollWidth
5795
5795
  };
@@ -5797,11 +5797,11 @@ var cd = ({
5797
5797
  client: f,
5798
5798
  page: Ke(f, r),
5799
5799
  scroll: Wt(a),
5800
- scrollSize: m,
5800
+ scrollSize: h,
5801
5801
  shouldClipSubject: c
5802
5802
  };
5803
5803
  })();
5804
- return id({
5804
+ return rd({
5805
5805
  descriptor: t,
5806
5806
  isEnabled: !i,
5807
5807
  isCombineEnabled: s,
@@ -5812,22 +5812,22 @@ var cd = ({
5812
5812
  closest: l
5813
5813
  });
5814
5814
  };
5815
- const ad = {
5815
+ const sd = {
5816
5816
  passive: !1
5817
- }, ld = {
5817
+ }, cd = {
5818
5818
  passive: !0
5819
5819
  };
5820
- var dr = (e) => e.shouldPublishImmediately ? ad : ld;
5820
+ var dr = (e) => e.shouldPublishImmediately ? sd : cd;
5821
5821
  const He = (e) => e && e.env.closestScrollable || null;
5822
- function dd(e) {
5822
+ function ad(e) {
5823
5823
  const t = V(null), n = et(st), r = fn("droppable"), {
5824
5824
  registry: o,
5825
5825
  marshal: i
5826
- } = n, s = mn(e), c = S(() => ({
5826
+ } = n, s = mn(e), c = w(() => ({
5827
5827
  id: e.droppableId,
5828
5828
  type: e.type,
5829
5829
  mode: e.mode
5830
- }), [e.droppableId, e.mode, e.type]), a = V(c), d = S(() => $((N, E) => {
5830
+ }), [e.droppableId, e.mode, e.type]), a = V(c), d = w(() => $((N, E) => {
5831
5831
  t.current || (process.env.NODE_ENV !== "production" ? g(!1, "Can only update scroll when dragging") : g());
5832
5832
  const x = {
5833
5833
  x: N,
@@ -5840,25 +5840,25 @@ function dd(e) {
5840
5840
  }, []), l = D(() => {
5841
5841
  const N = p();
5842
5842
  d(N.x, N.y);
5843
- }, [p, d]), u = S(() => Ce(l), [l]), f = D(() => {
5843
+ }, [p, d]), u = w(() => Ce(l), [l]), f = D(() => {
5844
5844
  const N = t.current, E = He(N);
5845
5845
  if (N && E || (process.env.NODE_ENV !== "production" ? g(!1, "Could not find scroll options while scrolling") : g()), N.scrollOptions.shouldPublishImmediately) {
5846
5846
  l();
5847
5847
  return;
5848
5848
  }
5849
5849
  u();
5850
- }, [u, l]), m = D((N, E) => {
5850
+ }, [u, l]), h = D((N, E) => {
5851
5851
  t.current && (process.env.NODE_ENV !== "production" ? g(!1, "Cannot collect a droppable while a drag is occurring") : g());
5852
5852
  const x = s.current, _ = x.getDroppableRef();
5853
5853
  _ || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot collect without a droppable ref") : g());
5854
- const R = od(_), U = {
5854
+ const R = nd(_), U = {
5855
5855
  ref: _,
5856
5856
  descriptor: c,
5857
5857
  env: R,
5858
5858
  scrollOptions: E
5859
5859
  };
5860
5860
  t.current = U;
5861
- const B = cd({
5861
+ const B = id({
5862
5862
  ref: _,
5863
5863
  descriptor: c,
5864
5864
  env: R,
@@ -5868,11 +5868,11 @@ function dd(e) {
5868
5868
  isCombineEnabled: x.isCombineEnabled,
5869
5869
  shouldClipSubject: !x.ignoreContainerClipping
5870
5870
  }), H = R.closestScrollable;
5871
- return H && (H.setAttribute(rr.contextId, n.contextId), H.addEventListener("scroll", f, dr(U.scrollOptions)), process.env.NODE_ENV !== "production" && rd(H)), B;
5871
+ return H && (H.setAttribute(rr.contextId, n.contextId), H.addEventListener("scroll", f, dr(U.scrollOptions)), process.env.NODE_ENV !== "production" && td(H)), B;
5872
5872
  }, [n.contextId, c, f, s]), b = D(() => {
5873
5873
  const N = t.current, E = He(N);
5874
5874
  return N && E || (process.env.NODE_ENV !== "production" ? g(!1, "Can only recollect Droppable client for Droppables that have a scroll container") : g()), Wt(E);
5875
- }, []), h = D(() => {
5875
+ }, []), m = D(() => {
5876
5876
  const N = t.current;
5877
5877
  N || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot stop drag when no active drag") : g());
5878
5878
  const E = He(N);
@@ -5882,19 +5882,19 @@ function dd(e) {
5882
5882
  E || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot scroll when there is no drag") : g());
5883
5883
  const x = He(E);
5884
5884
  x || (process.env.NODE_ENV !== "production" ? g(!1, "Cannot scroll a droppable with no closest scrollable") : g()), x.scrollTop += N.y, x.scrollLeft += N.x;
5885
- }, []), v = S(() => ({
5886
- getDimensionAndWatchScroll: m,
5885
+ }, []), v = w(() => ({
5886
+ getDimensionAndWatchScroll: h,
5887
5887
  getScrollWhileDragging: b,
5888
- dragStopped: h,
5888
+ dragStopped: m,
5889
5889
  scroll: y
5890
- }), [h, m, b, y]), I = S(() => ({
5890
+ }), [m, h, b, y]), I = w(() => ({
5891
5891
  uniqueId: r,
5892
5892
  descriptor: c,
5893
5893
  callbacks: v
5894
5894
  }), [v, c, r]);
5895
5895
  Y(() => (a.current = I.descriptor, o.droppable.register(I), () => {
5896
- t.current && (process.env.NODE_ENV !== "production" && T("Unsupported: changing the droppableId or type of a Droppable during a drag"), h()), o.droppable.unregister(I);
5897
- }), [v, c, h, I, i, o.droppable]), Y(() => {
5896
+ t.current && (process.env.NODE_ENV !== "production" && T("Unsupported: changing the droppableId or type of a Droppable during a drag"), m()), o.droppable.unregister(I);
5897
+ }), [v, c, m, I, i, o.droppable]), Y(() => {
5898
5898
  t.current && i.updateDroppableIsEnabled(a.current.id, !e.isDropDisabled);
5899
5899
  }, [e.isDropDisabled, i]), Y(() => {
5900
5900
  t.current && i.updateDroppableIsCombineEnabled(a.current.id, e.isCombineEnabled);
@@ -5905,8 +5905,8 @@ function _t() {
5905
5905
  const ur = {
5906
5906
  width: 0,
5907
5907
  height: 0,
5908
- margin: is
5909
- }, ud = ({
5908
+ margin: rs
5909
+ }, ld = ({
5910
5910
  isAnimatingOpenOnMount: e,
5911
5911
  placeholder: t,
5912
5912
  animate: n
@@ -5914,12 +5914,12 @@ const ur = {
5914
5914
  height: t.client.borderBox.height,
5915
5915
  width: t.client.borderBox.width,
5916
5916
  margin: t.client.margin
5917
- }, pd = ({
5917
+ }, dd = ({
5918
5918
  isAnimatingOpenOnMount: e,
5919
5919
  placeholder: t,
5920
5920
  animate: n
5921
5921
  }) => {
5922
- const r = ud({
5922
+ const r = ld({
5923
5923
  isAnimatingOpenOnMount: e,
5924
5924
  placeholder: t,
5925
5925
  animate: n
@@ -5938,7 +5938,7 @@ const ur = {
5938
5938
  pointerEvents: "none",
5939
5939
  transition: n !== "none" ? Ie.placeholder : null
5940
5940
  };
5941
- }, fd = (e) => {
5941
+ }, ud = (e) => {
5942
5942
  const t = V(null), n = D(() => {
5943
5943
  t.current && (clearTimeout(t.current), t.current = null);
5944
5944
  }, []), {
@@ -5952,7 +5952,7 @@ const ur = {
5952
5952
  }), n) : _t, [r, c, n]);
5953
5953
  const d = D((l) => {
5954
5954
  l.propertyName === "height" && (o(), r === "close" && i());
5955
- }, [r, i, o]), p = pd({
5955
+ }, [r, i, o]), p = dd({
5956
5956
  isAnimatingOpenOnMount: c,
5957
5957
  animate: e.animate,
5958
5958
  placeholder: e.placeholder
@@ -5964,14 +5964,14 @@ const ur = {
5964
5964
  ref: e.innerRef
5965
5965
  });
5966
5966
  };
5967
- var gd = L.memo(fd);
5967
+ var pd = L.memo(ud);
5968
5968
  function At(e) {
5969
5969
  return typeof e == "boolean";
5970
5970
  }
5971
5971
  function Pt(e, t) {
5972
5972
  t.forEach((n) => n(e));
5973
5973
  }
5974
- const md = [function({
5974
+ const fd = [function({
5975
5975
  props: t
5976
5976
  }) {
5977
5977
  t.droppableId || (process.env.NODE_ENV !== "production" ? g(!1, "A Droppable requires a droppableId prop") : g()), typeof t.droppableId != "string" && (process.env.NODE_ENV !== "production" ? g(!1, `A Droppable requires a [string] droppableId. Provided: [${typeof t.droppableId}]`) : g());
@@ -5982,8 +5982,8 @@ const md = [function({
5982
5982
  }, function({
5983
5983
  getDroppableRef: t
5984
5984
  }) {
5985
- So(t());
5986
- }], hd = [function({
5985
+ wo(t());
5986
+ }], gd = [function({
5987
5987
  props: t,
5988
5988
  getPlaceholderRef: n
5989
5989
  }) {
@@ -5994,7 +5994,7 @@ const md = [function({
5994
5994
  Please be sure to add the {provided.placeholder} React Node as a child of your Droppable.
5995
5995
  More information: https://github.com/hello-pangea/dnd/blob/main/docs/api/droppable.md
5996
5996
  `);
5997
- }], bd = [function({
5997
+ }], md = [function({
5998
5998
  props: t
5999
5999
  }) {
6000
6000
  t.renderClone || (process.env.NODE_ENV !== "production" ? g(!1, "Must provide a clone render function (renderClone) for virtual lists") : g());
@@ -6003,12 +6003,12 @@ const md = [function({
6003
6003
  }) {
6004
6004
  t() && (process.env.NODE_ENV !== "production" ? g(!1, "Expected virtual list to not have a placeholder") : g());
6005
6005
  }];
6006
- function vd(e) {
6006
+ function hd(e) {
6007
6007
  Ge(() => {
6008
- Pt(e, md), e.props.mode === "standard" && Pt(e, hd), e.props.mode === "virtual" && Pt(e, bd);
6008
+ Pt(e, fd), e.props.mode === "standard" && Pt(e, gd), e.props.mode === "virtual" && Pt(e, md);
6009
6009
  });
6010
6010
  }
6011
- class yd extends L.PureComponent {
6011
+ class bd extends L.PureComponent {
6012
6012
  constructor(...t) {
6013
6013
  super(...t), this.state = {
6014
6014
  isVisible: !!this.props.on,
@@ -6050,7 +6050,7 @@ class yd extends L.PureComponent {
6050
6050
  return this.props.children(t);
6051
6051
  }
6052
6052
  }
6053
- const Ed = (e) => {
6053
+ const vd = (e) => {
6054
6054
  const t = mr(st);
6055
6055
  t || (process.env.NODE_ENV !== "production" ? g(!1, "Could not find app context") : g());
6056
6056
  const {
@@ -6065,26 +6065,26 @@ const Ed = (e) => {
6065
6065
  ignoreContainerClipping: l,
6066
6066
  isDropDisabled: u,
6067
6067
  isCombineEnabled: f,
6068
- snapshot: m,
6068
+ snapshot: h,
6069
6069
  useClone: b,
6070
- updateViewportMaxScroll: h,
6070
+ updateViewportMaxScroll: m,
6071
6071
  getContainerForClone: y
6072
6072
  } = e, v = D(() => o.current, []), I = D((M = null) => {
6073
6073
  o.current = M;
6074
6074
  }, []), N = D(() => i.current, []), E = D((M = null) => {
6075
6075
  i.current = M;
6076
6076
  }, []);
6077
- vd({
6077
+ hd({
6078
6078
  props: e,
6079
6079
  getDroppableRef: v,
6080
6080
  getPlaceholderRef: N
6081
6081
  });
6082
6082
  const x = D(() => {
6083
- r() && h({
6083
+ r() && m({
6084
6084
  maxScroll: fo()
6085
6085
  });
6086
- }, [r, h]);
6087
- dd({
6086
+ }, [r, m]);
6087
+ ad({
6088
6088
  droppableId: c,
6089
6089
  type: a,
6090
6090
  mode: d,
@@ -6094,28 +6094,28 @@ const Ed = (e) => {
6094
6094
  ignoreContainerClipping: l,
6095
6095
  getDroppableRef: v
6096
6096
  });
6097
- const _ = S(() => L.createElement(yd, {
6097
+ const _ = w(() => L.createElement(bd, {
6098
6098
  on: e.placeholder,
6099
6099
  shouldAnimate: e.shouldAnimatePlaceholder
6100
6100
  }, ({
6101
6101
  onClose: M,
6102
6102
  data: Q,
6103
6103
  animate: de
6104
- }) => L.createElement(gd, {
6104
+ }) => L.createElement(pd, {
6105
6105
  placeholder: Q,
6106
6106
  onClose: M,
6107
6107
  innerRef: E,
6108
6108
  animate: de,
6109
6109
  contextId: n,
6110
6110
  onTransitionEnd: x
6111
- })), [n, x, e.placeholder, e.shouldAnimatePlaceholder, E]), R = S(() => ({
6111
+ })), [n, x, e.placeholder, e.shouldAnimatePlaceholder, E]), R = w(() => ({
6112
6112
  innerRef: I,
6113
6113
  placeholder: _,
6114
6114
  droppableProps: {
6115
6115
  "data-rfd-droppable-id": c,
6116
6116
  "data-rfd-droppable-context-id": n
6117
6117
  }
6118
- }), [n, c, _, I]), U = b ? b.dragging.draggableId : null, B = S(() => ({
6118
+ }), [n, c, _, I]), U = b ? b.dragging.draggableId : null, B = w(() => ({
6119
6119
  droppableId: c,
6120
6120
  type: a,
6121
6121
  isUsingCloneFor: U
@@ -6134,13 +6134,13 @@ const Ed = (e) => {
6134
6134
  shouldRespectForcePress: !1,
6135
6135
  canDragInteractiveElements: !0
6136
6136
  }, (ee, ke) => Q(ee, ke, M));
6137
- return ko.createPortal(de, y());
6137
+ return $o.createPortal(de, y());
6138
6138
  }
6139
6139
  return L.createElement(bn.Provider, {
6140
6140
  value: B
6141
- }, s(R, m), H());
6141
+ }, s(R, h), H());
6142
6142
  };
6143
- function Dd() {
6143
+ function yd() {
6144
6144
  return document.body || (process.env.NODE_ENV !== "production" ? g(!1, "document.body is not ready") : g()), document.body;
6145
6145
  }
6146
6146
  const pr = {
@@ -6151,7 +6151,7 @@ const pr = {
6151
6151
  isCombineEnabled: !1,
6152
6152
  ignoreContainerClipping: !1,
6153
6153
  renderClone: null,
6154
- getContainerForClone: Dd
6154
+ getContainerForClone: yd
6155
6155
  }, Bo = (e) => {
6156
6156
  let t = {
6157
6157
  ...e
@@ -6162,7 +6162,7 @@ const pr = {
6162
6162
  [n]: pr[n]
6163
6163
  });
6164
6164
  return t;
6165
- }, Rt = (e, t) => e === t.droppable.type, fr = (e, t) => t.draggables[e.draggable.id], Nd = () => {
6165
+ }, Rt = (e, t) => e === t.droppable.type, fr = (e, t) => t.draggables[e.draggable.id], Ed = () => {
6166
6166
  const e = {
6167
6167
  placeholder: null,
6168
6168
  shouldAnimatePlaceholder: !0,
@@ -6186,7 +6186,7 @@ const pr = {
6186
6186
  })), r = $((i, s, c, a, d, p) => {
6187
6187
  const l = d.descriptor.id;
6188
6188
  if (d.descriptor.droppableId === i) {
6189
- const m = p ? {
6189
+ const h = p ? {
6190
6190
  render: p,
6191
6191
  dragging: n(d.descriptor)
6192
6192
  } : null, b = {
@@ -6199,7 +6199,7 @@ const pr = {
6199
6199
  placeholder: d.placeholder,
6200
6200
  shouldAnimatePlaceholder: !1,
6201
6201
  snapshot: b,
6202
- useClone: m
6202
+ useClone: h
6203
6203
  };
6204
6204
  }
6205
6205
  if (!s)
@@ -6225,8 +6225,8 @@ const pr = {
6225
6225
  const u = i.critical;
6226
6226
  if (!Rt(d, u))
6227
6227
  return t;
6228
- const f = fr(u, i.dimensions), m = j(i.impact) === a;
6229
- return r(a, p, m, m, f, l);
6228
+ const f = fr(u, i.dimensions), h = j(i.impact) === a;
6229
+ return r(a, p, h, h, f, l);
6230
6230
  }
6231
6231
  if (i.phase === "DROP_ANIMATING") {
6232
6232
  const u = i.completed;
@@ -6239,21 +6239,21 @@ const pr = {
6239
6239
  const u = i.completed;
6240
6240
  if (!Rt(d, u.critical))
6241
6241
  return t;
6242
- const f = j(u.impact) === a, m = !!(u.impact.at && u.impact.at.type === "COMBINE"), b = u.critical.droppable.id === a;
6243
- return f ? m ? e : t : b ? e : t;
6242
+ const f = j(u.impact) === a, h = !!(u.impact.at && u.impact.at.type === "COMBINE"), b = u.critical.droppable.id === a;
6243
+ return f ? h ? e : t : b ? e : t;
6244
6244
  }
6245
6245
  return t;
6246
6246
  };
6247
- }, xd = {
6248
- updateViewportMaxScroll: bc
6249
- }, Id = Pr(Nd, xd, (e, t, n) => ({
6247
+ }, Dd = {
6248
+ updateViewportMaxScroll: mc
6249
+ }, Nd = Pr(Ed, Dd, (e, t, n) => ({
6250
6250
  ...Bo(n),
6251
6251
  ...e,
6252
6252
  ...t
6253
6253
  }), {
6254
6254
  context: pn,
6255
- areStatePropsEqual: wo
6256
- })(Ed), Cd = () => /* @__PURE__ */ P(
6255
+ areStatePropsEqual: So
6256
+ })(vd), xd = () => /* @__PURE__ */ A(
6257
6257
  "svg",
6258
6258
  {
6259
6259
  width: "16",
@@ -6270,7 +6270,7 @@ const pr = {
6270
6270
  /* @__PURE__ */ C("circle", { cx: "12", cy: "10", r: "3" })
6271
6271
  ]
6272
6272
  }
6273
- ), gr = () => /* @__PURE__ */ P(
6273
+ ), gr = () => /* @__PURE__ */ A(
6274
6274
  "svg",
6275
6275
  {
6276
6276
  width: "16",
@@ -6287,7 +6287,7 @@ const pr = {
6287
6287
  /* @__PURE__ */ C("polyline", { points: "12 6 12 12 16 14" })
6288
6288
  ]
6289
6289
  }
6290
- ), Od = () => /* @__PURE__ */ P(
6290
+ ), Id = () => /* @__PURE__ */ A(
6291
6291
  "svg",
6292
6292
  {
6293
6293
  width: "20",
@@ -6305,7 +6305,33 @@ const pr = {
6305
6305
  /* @__PURE__ */ C("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
6306
6306
  ]
6307
6307
  }
6308
- ), Vo = () => /* @__PURE__ */ P(
6308
+ ), Cd = () => /* @__PURE__ */ C(
6309
+ "svg",
6310
+ {
6311
+ width: "25",
6312
+ height: "25",
6313
+ viewBox: "0 0 90 90",
6314
+ fill: "none",
6315
+ xmlns: "http://www.w3.org/2000/svg",
6316
+ children: /* @__PURE__ */ A("g", { children: [
6317
+ /* @__PURE__ */ C(
6318
+ "polygon",
6319
+ {
6320
+ points: "37.95,64.44 23.78,50.27 30.85,43.2 37.95,50.3 59.15,29.1 66.22,36.17",
6321
+ fill: "#009E04"
6322
+ }
6323
+ ),
6324
+ /* @__PURE__ */ C(
6325
+ "path",
6326
+ {
6327
+ d: "M45 90C20.187 90 0 69.813 0 45C0 20.187 20.187 0 45 0C69.813 0 90 20.187 90 45C90 69.813 69.813 90 45 90ZM45 10C25.701 10 10 25.701 10 45C10 64.299 25.701 80 45 80C64.299 80 80 64.299 80 45C80 25.701 64.299 10 45 10Z",
6328
+ fill: "#009E04",
6329
+ strokeLinecap: "round"
6330
+ }
6331
+ )
6332
+ ] })
6333
+ }
6334
+ ), Od = () => /* @__PURE__ */ A(
6309
6335
  "svg",
6310
6336
  {
6311
6337
  width: "25",
@@ -6323,7 +6349,7 @@ const pr = {
6323
6349
  /* @__PURE__ */ C("line", { x1: "3", y1: "21", x2: "10", y2: "14" })
6324
6350
  ]
6325
6351
  }
6326
- ), Lo = () => /* @__PURE__ */ P(
6352
+ ), wd = () => /* @__PURE__ */ A(
6327
6353
  "svg",
6328
6354
  {
6329
6355
  width: "25",
@@ -6361,10 +6387,10 @@ const pr = {
6361
6387
  orders: [r]
6362
6388
  });
6363
6389
  }), t;
6364
- }, wd = ({ order: e, pathPeriod: t, isFirst: n, isDone: r, renderOrderExtraData: o }) => {
6390
+ }, _d = ({ order: e, pathPeriod: t, isFirst: n, isDone: r, renderOrderExtraData: o }) => {
6365
6391
  var a, d, p, l, u, f;
6366
6392
  const [i, s] = me(!1), c = (d = (a = e.customer) == null ? void 0 : a.address) != null && d.lat && ((l = (p = e.customer) == null ? void 0 : p.address) != null && l.long) ? `https://maps.google.com/?q=${e.customer.address.lat},${e.customer.address.long}` : "#";
6367
- return /* @__PURE__ */ P(
6393
+ return /* @__PURE__ */ A(
6368
6394
  "div",
6369
6395
  {
6370
6396
  style: {
@@ -6373,14 +6399,14 @@ const pr = {
6373
6399
  backgroundColor: r ? "#fafafa" : "transparent"
6374
6400
  },
6375
6401
  children: [
6376
- /* @__PURE__ */ P("div", { style: O.orderHeader, children: [
6377
- /* @__PURE__ */ P("div", { style: O.gridItem, children: [
6378
- /* @__PURE__ */ P("div", { style: O.gridLabel, children: [
6402
+ /* @__PURE__ */ A("div", { style: O.orderHeader, children: [
6403
+ /* @__PURE__ */ A("div", { style: O.gridItem, children: [
6404
+ /* @__PURE__ */ A("div", { style: O.gridLabel, children: [
6379
6405
  "ORDER",
6380
6406
  " ",
6381
6407
  r && /* @__PURE__ */ C("span", { style: { color: "#16a34a", marginLeft: "4px" }, children: "✓ DONE" })
6382
6408
  ] }),
6383
- /* @__PURE__ */ P("div", { style: O.gridValue, children: [
6409
+ /* @__PURE__ */ A("div", { style: O.gridValue, children: [
6384
6410
  "#",
6385
6411
  e.order_id
6386
6412
  ] })
@@ -6390,15 +6416,15 @@ const pr = {
6390
6416
  {
6391
6417
  onClick: () => s(!i),
6392
6418
  style: O.expandButton,
6393
- children: i ? /* @__PURE__ */ C(Lo, {}) : /* @__PURE__ */ C(Vo, {})
6419
+ children: i ? /* @__PURE__ */ C(wd, {}) : /* @__PURE__ */ C(Od, {})
6394
6420
  }
6395
6421
  )
6396
6422
  ] }),
6397
- /* @__PURE__ */ P("div", { style: O.detailsGrid, children: [
6398
- /* @__PURE__ */ P("div", { style: O.gridItem, children: [
6423
+ /* @__PURE__ */ A("div", { style: O.detailsGrid, children: [
6424
+ /* @__PURE__ */ A("div", { style: O.gridItem, children: [
6399
6425
  /* @__PURE__ */ C("div", { style: O.gridLabel, children: "LOCATION" }),
6400
- /* @__PURE__ */ P("div", { style: O.gridValueWithIcon, children: [
6401
- /* @__PURE__ */ C(Cd, {}),
6426
+ /* @__PURE__ */ A("div", { style: O.gridValueWithIcon, children: [
6427
+ /* @__PURE__ */ C(xd, {}),
6402
6428
  /* @__PURE__ */ C(
6403
6429
  "a",
6404
6430
  {
@@ -6411,25 +6437,25 @@ const pr = {
6411
6437
  )
6412
6438
  ] })
6413
6439
  ] }),
6414
- /* @__PURE__ */ P("div", { style: O.gridItem, children: [
6440
+ /* @__PURE__ */ A("div", { style: O.gridItem, children: [
6415
6441
  /* @__PURE__ */ C("div", { style: O.gridLabel, children: "PERIOD" }),
6416
6442
  /* @__PURE__ */ C("div", { style: O.gridValue, children: t })
6417
6443
  ] }),
6418
- /* @__PURE__ */ P("div", { style: O.gridItem, children: [
6444
+ /* @__PURE__ */ A("div", { style: O.gridItem, children: [
6419
6445
  /* @__PURE__ */ C("div", { style: O.gridLabel, children: "TIME WINDOW" }),
6420
- /* @__PURE__ */ P("div", { style: O.gridValueWithIcon, children: [
6446
+ /* @__PURE__ */ A("div", { style: O.gridValueWithIcon, children: [
6421
6447
  /* @__PURE__ */ C(gr, {}),
6422
6448
  " ",
6423
- /* @__PURE__ */ P("span", { style: O.direction, children: [
6449
+ /* @__PURE__ */ A("span", { style: O.direction, children: [
6424
6450
  qe(e.eta_start),
6425
6451
  " - ",
6426
6452
  qe(e.eta_end)
6427
6453
  ] })
6428
6454
  ] })
6429
6455
  ] }),
6430
- e.completed_at && /* @__PURE__ */ P("div", { style: O.gridItem, children: [
6456
+ e.completed_at && /* @__PURE__ */ A("div", { style: O.gridItem, children: [
6431
6457
  /* @__PURE__ */ C("div", { style: O.gridLabel, children: "COMPLETED AT" }),
6432
- /* @__PURE__ */ P("div", { style: O.gridValueWithIcon, children: [
6458
+ /* @__PURE__ */ A("div", { style: O.gridValueWithIcon, children: [
6433
6459
  /* @__PURE__ */ C(gr, {}),
6434
6460
  " ",
6435
6461
  /* @__PURE__ */ C("span", { style: O.direction, children: qe(e.completed_at) })
@@ -6440,7 +6466,7 @@ const pr = {
6440
6466
  ]
6441
6467
  }
6442
6468
  );
6443
- }, _d = ({
6469
+ }, Ad = ({
6444
6470
  stopGroup: e,
6445
6471
  index: t,
6446
6472
  pathType: n,
@@ -6452,14 +6478,14 @@ const pr = {
6452
6478
  }) => {
6453
6479
  const a = e.status ? je(e.status) : e.orders.every((f) => je(f.status)), [d, p] = me(!a), l = e.status ? Ut(e.status) : a ? "Completed" : "Pending", u = !o || i || a;
6454
6480
  return /* @__PURE__ */ C(
6455
- Jl,
6481
+ Xl,
6456
6482
  {
6457
6483
  draggableId: e.stop_id.toString(),
6458
6484
  index: t,
6459
6485
  isDragDisabled: u,
6460
6486
  children: (f) => {
6461
- var m, b;
6462
- return /* @__PURE__ */ P(
6487
+ var h, b;
6488
+ return /* @__PURE__ */ A(
6463
6489
  "div",
6464
6490
  {
6465
6491
  ref: f.innerRef,
@@ -6476,14 +6502,14 @@ const pr = {
6476
6502
  children: t + 1
6477
6503
  }
6478
6504
  ),
6479
- /* @__PURE__ */ P("div", { style: O.card, children: [
6480
- /* @__PURE__ */ P("div", { style: O.cardHeader, children: [
6481
- /* @__PURE__ */ P(
6505
+ /* @__PURE__ */ A("div", { style: O.card, children: [
6506
+ /* @__PURE__ */ A("div", { style: O.cardHeader, children: [
6507
+ /* @__PURE__ */ A(
6482
6508
  "div",
6483
6509
  {
6484
6510
  style: { display: "flex", alignItems: "center", gap: "8px" },
6485
6511
  children: [
6486
- /* @__PURE__ */ P("span", { style: O.title, children: [
6512
+ /* @__PURE__ */ A("span", { style: O.title, children: [
6487
6513
  n,
6488
6514
  " #",
6489
6515
  e.sequence_rank
@@ -6495,7 +6521,7 @@ const pr = {
6495
6521
  children: l
6496
6522
  }
6497
6523
  ),
6498
- e.completed_at && /* @__PURE__ */ P("span", { style: { fontSize: "12px", color: "#6b7280" }, children: [
6524
+ e.completed_at && /* @__PURE__ */ A("span", { style: { fontSize: "12px", color: "#6b7280" }, children: [
6499
6525
  "(",
6500
6526
  qe(e.completed_at),
6501
6527
  ")"
@@ -6503,7 +6529,7 @@ const pr = {
6503
6529
  ]
6504
6530
  }
6505
6531
  ),
6506
- /* @__PURE__ */ P(
6532
+ /* @__PURE__ */ A(
6507
6533
  "div",
6508
6534
  {
6509
6535
  style: { display: "flex", alignItems: "center", gap: "12px" },
@@ -6511,31 +6537,32 @@ const pr = {
6511
6537
  /* @__PURE__ */ C(
6512
6538
  "button",
6513
6539
  {
6514
- onClick: () => p(!d),
6515
- style: O.expandButton,
6516
- children: d ? /* @__PURE__ */ C(Lo, {}) : /* @__PURE__ */ C(Vo, {})
6540
+ onClick: () => {
6541
+ a && p((m) => !m);
6542
+ },
6543
+ children: a && /* @__PURE__ */ C(Cd, {})
6517
6544
  }
6518
6545
  ),
6519
- !u && /* @__PURE__ */ C("div", { ...f.dragHandleProps, children: /* @__PURE__ */ C(Od, {}) })
6546
+ !u && /* @__PURE__ */ C("div", { ...f.dragHandleProps, children: /* @__PURE__ */ C(Id, {}) })
6520
6547
  ]
6521
6548
  }
6522
6549
  )
6523
6550
  ] }),
6524
- d && /* @__PURE__ */ P($o, { children: [
6525
- /* @__PURE__ */ P("div", { style: O.customerName, children: [
6551
+ d && /* @__PURE__ */ A(Lo, { children: [
6552
+ /* @__PURE__ */ A("div", { style: O.customerName, children: [
6526
6553
  "Customer: ",
6527
- (b = (m = e.orders[0]) == null ? void 0 : m.customer) == null ? void 0 : b.name
6554
+ (b = (h = e.orders[0]) == null ? void 0 : h.customer) == null ? void 0 : b.name
6528
6555
  ] }),
6529
- /* @__PURE__ */ C("div", { style: O.ordersList, children: e.orders.map((h, y) => /* @__PURE__ */ C(
6530
- wd,
6556
+ /* @__PURE__ */ C("div", { style: O.ordersList, children: e.orders.map((m, y) => /* @__PURE__ */ C(
6557
+ _d,
6531
6558
  {
6532
- order: h,
6559
+ order: m,
6533
6560
  pathPeriod: r,
6534
6561
  isFirst: y === 0,
6535
- isDone: je(h.status),
6562
+ isDone: je(m.status),
6536
6563
  renderOrderExtraData: c
6537
6564
  },
6538
- h.id
6565
+ m.id
6539
6566
  )) }),
6540
6567
  s && /* @__PURE__ */ C("div", { style: O.actionsSlot, children: s(e) })
6541
6568
  ] })
@@ -6546,7 +6573,7 @@ const pr = {
6546
6573
  }
6547
6574
  }
6548
6575
  );
6549
- }, Bd = ({
6576
+ }, Vd = ({
6550
6577
  path: e,
6551
6578
  onReorder: t,
6552
6579
  renderStopActions: n,
@@ -6578,7 +6605,7 @@ const pr = {
6578
6605
  };
6579
6606
  if (!e || !i.length) return /* @__PURE__ */ C("div", { children: "No Path Data" });
6580
6607
  const a = je(e.status);
6581
- return /* @__PURE__ */ C("div", { style: O.container, children: /* @__PURE__ */ C(Al, { onDragEnd: c, children: /* @__PURE__ */ C(Id, { droppableId: "path-list", children: (d) => /* @__PURE__ */ P(
6608
+ return /* @__PURE__ */ C("div", { style: O.container, children: /* @__PURE__ */ C(Sl, { onDragEnd: c, children: /* @__PURE__ */ C(Nd, { droppableId: "path-list", children: (d) => /* @__PURE__ */ A(
6582
6609
  "div",
6583
6610
  {
6584
6611
  ref: d.innerRef,
@@ -6595,7 +6622,7 @@ const pr = {
6595
6622
  gap: "24px"
6596
6623
  },
6597
6624
  children: i.map((p, l) => /* @__PURE__ */ C(
6598
- _d,
6625
+ Ad,
6599
6626
  {
6600
6627
  stopGroup: p,
6601
6628
  index: l,
@@ -6734,5 +6761,5 @@ const pr = {
6734
6761
  actionsSlot: { marginTop: "16px" }
6735
6762
  };
6736
6763
  export {
6737
- Bd as LogisticsDashboard
6764
+ Vd as LogisticsDashboard
6738
6765
  };