@react-hive/honey-layout 4.0.0 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/components/HoneyBox.d.ts +5 -6
  2. package/dist/components/HoneyFlexBox.d.ts +2 -8
  3. package/dist/components/HoneyGrid/HoneyGrid.d.ts +3 -25
  4. package/dist/components/HoneyGrid/HoneyGridStyled.d.ts +4 -10
  5. package/dist/components/HoneyGridColumn/HoneyGridColumn.types.d.ts +1 -1
  6. package/dist/components/HoneyGridColumn/HoneyGridColumnStyled.d.ts +4 -10
  7. package/dist/components/HoneyLazyContent.d.ts +2 -2
  8. package/dist/components/HoneyList/HoneyList.d.ts +2 -3
  9. package/dist/components/HoneyList/HoneyList.types.d.ts +6 -10
  10. package/dist/components/HoneyList/HoneyListStyled.d.ts +4 -16
  11. package/dist/components/HoneyLoopingList/HoneyLoopingList.d.ts +3 -6
  12. package/dist/components/HoneyOverlay.d.ts +5 -5
  13. package/dist/components/HoneyStatusContent.d.ts +2 -2
  14. package/dist/contexts/HoneyLayoutContext.d.ts +13 -13
  15. package/dist/effects.d.ts +4 -4
  16. package/dist/helpers/helpers.d.ts +32 -31
  17. package/dist/hooks/use-honey-drag.d.ts +11 -11
  18. package/dist/hooks/use-honey-media-query.d.ts +2 -2
  19. package/dist/hooks/use-honey-overlay.d.ts +2 -2
  20. package/dist/hooks/use-honey-synthetic-scrollable-container.d.ts +4 -4
  21. package/dist/hooks/use-register-honey-overlay.d.ts +3 -3
  22. package/dist/index.js +350 -349
  23. package/dist/providers/HoneyLayoutProvider.d.ts +2 -2
  24. package/dist/providers/HoneyLayoutThemeOverride.d.ts +3 -3
  25. package/dist/types/css.types.d.ts +2 -2
  26. package/dist/types/data.types.d.ts +11 -14
  27. package/dist/types/state.types.d.ts +2 -2
  28. package/dist/types/types.d.ts +8 -8
  29. package/dist/utils.d.ts +20 -20
  30. package/package.json +10 -10
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import $e, { css as le, useTheme as dr, ThemeProvider as pr, ThemeContext as an } from "styled-components";
2
- import hr, { createContext as gr, forwardRef as vr, useMemo as _t, useContext as Bt, Fragment as sn, useState as xt, useEffect as fe, useRef as Le, useCallback as Ae } from "react";
2
+ import hr, { createContext as gr, forwardRef as vr, useMemo as _t, useContext as Yt, Fragment as sn, useState as Bt, useEffect as fe, useRef as Se, useCallback as Ae } from "react";
3
3
  const cn = [
4
4
  'a[href]:not([tabindex="-1"])',
5
5
  'button:not([disabled]):not([tabindex="-1"])',
@@ -20,7 +20,7 @@ var ln = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
20
20
  }
21
21
  /* Z+1 */
22
22
  );
23
- const Kn = (n, o) => typeof o == "string" ? fn(n) : !0, dn = (n) => n.replace(/[A-Z]/g, (o) => `-${o.toLowerCase()}`), rr = (n) => n.split(" ").filter((o) => o), Nt = (n, o = 16) => `${n / o}rem`, pn = (n, o, i, s) => {
23
+ const Kn = (n, o) => typeof o == "string" ? fn(n) : !0, dn = (n) => n.replace(/[A-Z]/g, (o) => `-${o.toLowerCase()}`), rr = (n) => n.split(" ").filter((o) => o), Ut = (n, o = 16) => `${n / o}rem`, pn = (n, o, i, s) => {
24
24
  const l = i - n, c = s - o;
25
25
  return Math.sqrt(l ** 2 + c ** 2);
26
26
  }, nr = (n, o) => Math.abs(n / o), or = (n, o) => n * o / 100, hn = (n, o) => {
@@ -59,9 +59,9 @@ const Kn = (n, o) => typeof o == "string" ? fn(n) : !0, dn = (n) => n.replace(/[
59
59
  translateY: f
60
60
  };
61
61
  }, gn = (n, o, i, s = [], l = void 0, c = 0) => (n == null || n.forEach((f) => {
62
- const { [i]: g, ...h } = f, _ = f[i], m = Array.isArray(_);
62
+ const { [i]: g, ...p } = f, _ = f[i], m = Array.isArray(_);
63
63
  if (s.push({
64
- ...h,
64
+ ...p,
65
65
  parentId: l,
66
66
  depthLevel: c,
67
67
  totalNestedItems: m ? _.length : 0
@@ -83,37 +83,37 @@ const Kn = (n, o) => typeof o == "string" ? fn(n) : !0, dn = (n) => n.replace(/[
83
83
  if (!l.length)
84
84
  return n;
85
85
  const c = n.reduce(
86
- (f, g, h) => (f[g[o]] = h, f),
86
+ (f, g, p) => (f[g[o]] = p, f),
87
87
  {}
88
88
  );
89
89
  return n.reduce(
90
90
  (f, g) => {
91
- const h = g[i];
92
- if (!h || f.some(
91
+ const p = g[i];
92
+ if (!p || f.some(
93
93
  (y) => y[o] === g[o]
94
94
  ))
95
95
  return f;
96
- const _ = rr(h.toLowerCase());
96
+ const _ = rr(p.toLowerCase());
97
97
  if (l.every(
98
- (y) => _.some((w) => w.startsWith(y))
98
+ (y) => _.some((E) => E.startsWith(y))
99
99
  ))
100
100
  if (g.parentId === void 0) {
101
101
  f.push(g);
102
- const y = (w) => {
103
- w.totalNestedItems && n.forEach((O) => {
104
- O.parentId === w[o] && (f.push(O), y(O));
102
+ const y = (E) => {
103
+ E.totalNestedItems && n.forEach((j) => {
104
+ j.parentId === E[o] && (f.push(j), y(j));
105
105
  });
106
106
  };
107
107
  y(g);
108
108
  } else {
109
- const y = (w) => {
110
- const O = c[w.parentId], I = n[O];
111
- I.parentId !== void 0 && y(I);
109
+ const y = (E) => {
110
+ const j = c[E.parentId], W = n[j];
111
+ W.parentId !== void 0 && y(W);
112
112
  const z = f.length ? f[f.length - 1].parentId : null;
113
- if (z === null || z !== w.parentId) {
114
- if (!I)
113
+ if (z === null || z !== E.parentId) {
114
+ if (!W)
115
115
  throw new Error("[honey-layout]: Parent item was not found.");
116
- f.push(I);
116
+ f.push(W);
117
117
  }
118
118
  };
119
119
  y(g), f.push(g);
@@ -162,7 +162,7 @@ function eo(n, o) {
162
162
  const mn = () => {
163
163
  const n = Date.now().toString(), o = Math.floor(Math.random() * 1e4).toString().padStart(4, "0");
164
164
  return `${n}${o}`;
165
- }, Tt = (n, o = "px", i = "base") => ({ theme: s }) => {
165
+ }, xt = (n, o = "px", i = "base") => ({ theme: s }) => {
166
166
  const l = s.spacings[i] ?? 0;
167
167
  if (typeof n == "number") {
168
168
  const f = n * l;
@@ -179,15 +179,15 @@ const mn = () => {
179
179
  const i = o.fonts[n];
180
180
  return le`
181
181
  font-family: ${i.family};
182
- font-size: ${Nt(i.size)};
182
+ font-size: ${Ut(i.size)};
183
183
  font-weight: ${i.weight};
184
- line-height: ${i.lineHeight !== void 0 && Nt(i.lineHeight)};
185
- letter-spacing: ${i.letterSpacing !== void 0 && Nt(i.letterSpacing)};
184
+ line-height: ${i.lineHeight !== void 0 && Ut(i.lineHeight)};
185
+ letter-spacing: ${i.letterSpacing !== void 0 && Ut(i.letterSpacing)};
186
186
  `;
187
187
  }, _n = (n) => ({ theme: o }) => o.dimensions[n], xn = (n) => vn.includes(n), Tn = (n) => yn.includes(n), br = (n) => n[0] === "$", wn = (n) => n.split(".").length === 2, En = (n, o, i) => {
188
188
  const s = typeof o == "object" && !Array.isArray(o) ? o[i] : o;
189
189
  if (s !== void 0)
190
- return xn(n) && (typeof s == "number" || Array.isArray(s)) ? Tt(s, "px") : Tn(n) && typeof s == "string" && wn(s) ? mr(s) : s;
190
+ return xn(n) && (typeof s == "number" || Array.isArray(s)) ? xt(s, "px") : Tn(n) && typeof s == "string" && wn(s) ? mr(s) : s;
191
191
  }, Sn = (n, o) => Object.entries(n).filter(
192
192
  ([i, s]) => br(i) && o === "xs" || s && typeof s == "object" && o in s
193
193
  ), _r = (n) => ({ theme: o, ...i }) => le`
@@ -253,7 +253,7 @@ const mn = () => {
253
253
  isLg: c === "lg",
254
254
  isXl: c === "xl"
255
255
  };
256
- }, wt = $e.div`
256
+ }, Tt = $e.div`
257
257
  ${({ effects: n }) => le`
258
258
  ${n};
259
259
 
@@ -264,10 +264,12 @@ const mn = () => {
264
264
  ${mt("lg")};
265
265
  ${mt("xl")};
266
266
  `}
267
- `, Vt = $e(wt).attrs(({ $display: n, $flexDirection: o }) => ({
268
- $display: n ?? "flex",
269
- $flexDirection: o ?? "column"
270
- }))``;
267
+ `, Vt = $e(Tt).attrs(
268
+ ({ $display: n = "flex", $flexDirection: o = "column" }) => ({
269
+ $display: n,
270
+ $flexDirection: o
271
+ })
272
+ )``;
271
273
  var Ee = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
272
274
  function Tr(n) {
273
275
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
@@ -287,12 +289,12 @@ function Cn() {
287
289
  if (sr) return Qe;
288
290
  sr = 1;
289
291
  var n = hr, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, l = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
290
- function f(g, h, _) {
291
- var m, y = {}, w = null, O = null;
292
- _ !== void 0 && (w = "" + _), h.key !== void 0 && (w = "" + h.key), h.ref !== void 0 && (O = h.ref);
293
- for (m in h) s.call(h, m) && !c.hasOwnProperty(m) && (y[m] = h[m]);
294
- if (g && g.defaultProps) for (m in h = g.defaultProps, h) y[m] === void 0 && (y[m] = h[m]);
295
- return { $$typeof: o, type: g, key: w, ref: O, props: y, _owner: l.current };
292
+ function f(g, p, _) {
293
+ var m, y = {}, E = null, j = null;
294
+ _ !== void 0 && (E = "" + _), p.key !== void 0 && (E = "" + p.key), p.ref !== void 0 && (j = p.ref);
295
+ for (m in p) s.call(p, m) && !c.hasOwnProperty(m) && (y[m] = p[m]);
296
+ if (g && g.defaultProps) for (m in p = g.defaultProps, p) y[m] === void 0 && (y[m] = p[m]);
297
+ return { $$typeof: o, type: g, key: E, ref: j, props: y, _owner: l.current };
296
298
  }
297
299
  return Qe.Fragment = i, Qe.jsx = f, Qe.jsxs = f, Qe;
298
300
  }
@@ -309,11 +311,11 @@ var et = {};
309
311
  var cr;
310
312
  function On() {
311
313
  return cr || (cr = 1, process.env.NODE_ENV !== "production" && function() {
312
- var n = hr, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), g = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), I = Symbol.iterator, z = "@@iterator";
314
+ var n = hr, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), g = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), W = Symbol.iterator, z = "@@iterator";
313
315
  function q(t) {
314
316
  if (t === null || typeof t != "object")
315
317
  return null;
316
- var u = I && t[I] || t[z];
318
+ var u = W && t[W] || t[z];
317
319
  return typeof u == "function" ? u : null;
318
320
  }
319
321
  var U = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -326,18 +328,18 @@ function On() {
326
328
  }
327
329
  function ve(t, u, d) {
328
330
  {
329
- var b = U.ReactDebugCurrentFrame, E = b.getStackAddendum();
330
- E !== "" && (u += "%s", d = d.concat([E]));
331
+ var b = U.ReactDebugCurrentFrame, w = b.getStackAddendum();
332
+ w !== "" && (u += "%s", d = d.concat([w]));
331
333
  var A = d.map(function(S) {
332
334
  return String(S);
333
335
  });
334
336
  A.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, A);
335
337
  }
336
338
  }
337
- var ye = !1, de = !1, p = !1, x = !1, D = !1, V;
339
+ var ye = !1, de = !1, h = !1, x = !1, I = !1, V;
338
340
  V = Symbol.for("react.module.reference");
339
341
  function Z(t) {
340
- return !!(typeof t == "string" || typeof t == "function" || t === s || t === c || D || t === l || t === _ || t === m || x || t === O || ye || de || p || typeof t == "object" && t !== null && (t.$$typeof === w || t.$$typeof === y || t.$$typeof === f || t.$$typeof === g || t.$$typeof === h || // This needs to include all possible module reference object
342
+ return !!(typeof t == "string" || typeof t == "function" || t === s || t === c || I || t === l || t === _ || t === m || x || t === j || ye || de || h || typeof t == "object" && t !== null && (t.$$typeof === E || t.$$typeof === y || t.$$typeof === f || t.$$typeof === g || t.$$typeof === p || // This needs to include all possible module reference object
341
343
  // types supported by any Flight configuration anywhere since
342
344
  // we don't know which Flight build this will end up being used
343
345
  // with.
@@ -347,13 +349,13 @@ function On() {
347
349
  var b = t.displayName;
348
350
  if (b)
349
351
  return b;
350
- var E = u.displayName || u.name || "";
351
- return E !== "" ? d + "(" + E + ")" : d;
352
+ var w = u.displayName || u.name || "";
353
+ return w !== "" ? d + "(" + w + ")" : d;
352
354
  }
353
355
  function re(t) {
354
356
  return t.displayName || "Context";
355
357
  }
356
- function F(t) {
358
+ function M(t) {
357
359
  if (t == null)
358
360
  return null;
359
361
  if (typeof t.tag == "number" && L("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
@@ -382,15 +384,15 @@ function On() {
382
384
  case f:
383
385
  var d = t;
384
386
  return re(d._context) + ".Provider";
385
- case h:
387
+ case p:
386
388
  return me(t, t.render, "ForwardRef");
387
389
  case y:
388
390
  var b = t.displayName || null;
389
- return b !== null ? b : F(t.type) || "Memo";
390
- case w: {
391
- var E = t, A = E._payload, S = E._init;
391
+ return b !== null ? b : M(t.type) || "Memo";
392
+ case E: {
393
+ var w = t, A = w._payload, S = w._init;
392
394
  try {
393
- return F(S(A));
395
+ return M(S(A));
394
396
  } catch {
395
397
  return null;
396
398
  }
@@ -398,14 +400,14 @@ function On() {
398
400
  }
399
401
  return null;
400
402
  }
401
- var Y = Object.assign, Q = 0, Se, ae, be, _e, ke, He, Re;
403
+ var Y = Object.assign, Q = 0, Re, ae, be, _e, ke, He, Ce;
402
404
  function C() {
403
405
  }
404
406
  C.__reactDisabledLog = !0;
405
- function Ce() {
407
+ function Oe() {
406
408
  {
407
409
  if (Q === 0) {
408
- Se = console.log, ae = console.info, be = console.warn, _e = console.error, ke = console.group, He = console.groupCollapsed, Re = console.groupEnd;
410
+ Re = console.log, ae = console.info, be = console.warn, _e = console.error, ke = console.group, He = console.groupCollapsed, Ce = console.groupEnd;
409
411
  var t = {
410
412
  configurable: !0,
411
413
  enumerable: !0,
@@ -435,7 +437,7 @@ function On() {
435
437
  };
436
438
  Object.defineProperties(console, {
437
439
  log: Y({}, t, {
438
- value: Se
440
+ value: Re
439
441
  }),
440
442
  info: Y({}, t, {
441
443
  value: ae
@@ -453,7 +455,7 @@ function On() {
453
455
  value: He
454
456
  }),
455
457
  groupEnd: Y({}, t, {
456
- value: Re
458
+ value: Ce
457
459
  })
458
460
  });
459
461
  }
@@ -461,13 +463,13 @@ function On() {
461
463
  }
462
464
  }
463
465
  var ne = U.ReactCurrentDispatcher, se;
464
- function j(t, u, d) {
466
+ function P(t, u, d) {
465
467
  {
466
468
  if (se === void 0)
467
469
  try {
468
470
  throw Error();
469
- } catch (E) {
470
- var b = E.stack.trim().match(/\n( *(at )?)/);
471
+ } catch (w) {
472
+ var b = w.stack.trim().match(/\n( *(at )?)/);
471
473
  se = b && b[1] || "";
472
474
  }
473
475
  return `
@@ -476,8 +478,8 @@ function On() {
476
478
  }
477
479
  var J = !1, K;
478
480
  {
479
- var Oe = typeof WeakMap == "function" ? WeakMap : Map;
480
- K = new Oe();
481
+ var Pe = typeof WeakMap == "function" ? WeakMap : Map;
482
+ K = new Pe();
481
483
  }
482
484
  function Ye(t, u) {
483
485
  if (!t || J)
@@ -489,10 +491,10 @@ function On() {
489
491
  }
490
492
  var b;
491
493
  J = !0;
492
- var E = Error.prepareStackTrace;
494
+ var w = Error.prepareStackTrace;
493
495
  Error.prepareStackTrace = void 0;
494
496
  var A;
495
- A = ne.current, ne.current = null, Ce();
497
+ A = ne.current, ne.current = null, Oe();
496
498
  try {
497
499
  if (u) {
498
500
  var S = function() {
@@ -529,31 +531,31 @@ function On() {
529
531
  if (N && b && typeof N.stack == "string") {
530
532
  for (var T = N.stack.split(`
531
533
  `), B = b.stack.split(`
532
- `), M = T.length - 1, W = B.length - 1; M >= 1 && W >= 0 && T[M] !== B[W]; )
533
- W--;
534
- for (; M >= 1 && W >= 0; M--, W--)
535
- if (T[M] !== B[W]) {
536
- if (M !== 1 || W !== 1)
534
+ `), D = T.length - 1, F = B.length - 1; D >= 1 && F >= 0 && T[D] !== B[F]; )
535
+ F--;
536
+ for (; D >= 1 && F >= 0; D--, F--)
537
+ if (T[D] !== B[F]) {
538
+ if (D !== 1 || F !== 1)
537
539
  do
538
- if (M--, W--, W < 0 || T[M] !== B[W]) {
540
+ if (D--, F--, F < 0 || T[D] !== B[F]) {
539
541
  var G = `
540
- ` + T[M].replace(" at new ", " at ");
542
+ ` + T[D].replace(" at new ", " at ");
541
543
  return t.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", t.displayName)), typeof t == "function" && K.set(t, G), G;
542
544
  }
543
- while (M >= 1 && W >= 0);
545
+ while (D >= 1 && F >= 0);
544
546
  break;
545
547
  }
546
548
  }
547
549
  } finally {
548
- J = !1, ne.current = A, Ne(), Error.prepareStackTrace = E;
550
+ J = !1, ne.current = A, Ne(), Error.prepareStackTrace = w;
549
551
  }
550
- var we = t ? t.displayName || t.name : "", te = we ? j(we) : "";
552
+ var we = t ? t.displayName || t.name : "", te = we ? P(we) : "";
551
553
  return typeof t == "function" && K.set(t, te), te;
552
554
  }
553
- function Et(t, u, d) {
555
+ function wt(t, u, d) {
554
556
  return Ye(t, !1);
555
557
  }
556
- function St(t) {
558
+ function Et(t) {
557
559
  var u = t.prototype;
558
560
  return !!(u && u.isReactComponent);
559
561
  }
@@ -561,32 +563,32 @@ function On() {
561
563
  if (t == null)
562
564
  return "";
563
565
  if (typeof t == "function")
564
- return Ye(t, St(t));
566
+ return Ye(t, Et(t));
565
567
  if (typeof t == "string")
566
- return j(t);
568
+ return P(t);
567
569
  switch (t) {
568
570
  case _:
569
- return j("Suspense");
571
+ return P("Suspense");
570
572
  case m:
571
- return j("SuspenseList");
573
+ return P("SuspenseList");
572
574
  }
573
575
  if (typeof t == "object")
574
576
  switch (t.$$typeof) {
575
- case h:
576
- return Et(t.render);
577
+ case p:
578
+ return wt(t.render);
577
579
  case y:
578
580
  return Ie(t.type, u, d);
579
- case w: {
580
- var b = t, E = b._payload, A = b._init;
581
+ case E: {
582
+ var b = t, w = b._payload, A = b._init;
581
583
  try {
582
- return Ie(A(E), u, d);
584
+ return Ie(A(w), u, d);
583
585
  } catch {
584
586
  }
585
587
  }
586
588
  }
587
589
  return "";
588
590
  }
589
- var Pe = Object.prototype.hasOwnProperty, rt = {}, nt = U.ReactDebugCurrentFrame;
591
+ var je = Object.prototype.hasOwnProperty, rt = {}, nt = U.ReactDebugCurrentFrame;
590
592
  function De(t) {
591
593
  if (t) {
592
594
  var u = t._owner, d = Ie(t.type, t._source, u ? u.type : null);
@@ -594,9 +596,9 @@ function On() {
594
596
  } else
595
597
  nt.setExtraStackFrame(null);
596
598
  }
597
- function Me(t, u, d, b, E) {
599
+ function Me(t, u, d, b, w) {
598
600
  {
599
- var A = Function.call.bind(Pe);
601
+ var A = Function.call.bind(je);
600
602
  for (var S in t)
601
603
  if (A(t, S)) {
602
604
  var T = void 0;
@@ -606,10 +608,10 @@ function On() {
606
608
  throw B.name = "Invariant Violation", B;
607
609
  }
608
610
  T = t[S](u, S, b, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
609
- } catch (M) {
610
- T = M;
611
+ } catch (D) {
612
+ T = D;
611
613
  }
612
- T && !(T instanceof Error) && (De(E), L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", d, S, typeof T), De(null)), T instanceof Error && !(T.message in rt) && (rt[T.message] = !0, De(E), L("Failed %s type: %s", d, T.message), De(null));
614
+ T && !(T instanceof Error) && (De(w), L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", d, S, typeof T), De(null)), T instanceof Error && !(T.message in rt) && (rt[T.message] = !0, De(w), L("Failed %s type: %s", d, T.message), De(null));
613
615
  }
614
616
  }
615
617
  }
@@ -644,7 +646,7 @@ function On() {
644
646
  __source: !0
645
647
  }, Ge, Xe;
646
648
  function st(t) {
647
- if (Pe.call(t, "ref")) {
649
+ if (je.call(t, "ref")) {
648
650
  var u = Object.getOwnPropertyDescriptor(t, "ref").get;
649
651
  if (u && u.isReactWarning)
650
652
  return !1;
@@ -652,17 +654,17 @@ function On() {
652
654
  return t.ref !== void 0;
653
655
  }
654
656
  function ct(t) {
655
- if (Pe.call(t, "key")) {
657
+ if (je.call(t, "key")) {
656
658
  var u = Object.getOwnPropertyDescriptor(t, "key").get;
657
659
  if (u && u.isReactWarning)
658
660
  return !1;
659
661
  }
660
662
  return t.key !== void 0;
661
663
  }
662
- function Rt(t, u) {
664
+ function St(t, u) {
663
665
  typeof t.ref == "string" && at.current;
664
666
  }
665
- function Ct(t, u) {
667
+ function Rt(t, u) {
666
668
  {
667
669
  var d = function() {
668
670
  Ge || (Ge = !0, L("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
@@ -684,7 +686,7 @@ function On() {
684
686
  });
685
687
  }
686
688
  }
687
- var We = function(t, u, d, b, E, A, S) {
689
+ var We = function(t, u, d, b, w, A, S) {
688
690
  var T = {
689
691
  // This tag allows us to uniquely identify this as a React Element
690
692
  $$typeof: o,
@@ -710,25 +712,25 @@ function On() {
710
712
  configurable: !1,
711
713
  enumerable: !1,
712
714
  writable: !1,
713
- value: E
715
+ value: w
714
716
  }), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
715
717
  };
716
- function Ot(t, u, d, b, E) {
718
+ function Ct(t, u, d, b, w) {
717
719
  {
718
720
  var A, S = {}, T = null, B = null;
719
- d !== void 0 && (it(d), T = "" + d), ct(u) && (it(u.key), T = "" + u.key), st(u) && (B = u.ref, Rt(u, E));
721
+ d !== void 0 && (it(d), T = "" + d), ct(u) && (it(u.key), T = "" + u.key), st(u) && (B = u.ref, St(u, w));
720
722
  for (A in u)
721
- Pe.call(u, A) && !Fe.hasOwnProperty(A) && (S[A] = u[A]);
723
+ je.call(u, A) && !Fe.hasOwnProperty(A) && (S[A] = u[A]);
722
724
  if (t && t.defaultProps) {
723
- var M = t.defaultProps;
724
- for (A in M)
725
- S[A] === void 0 && (S[A] = M[A]);
725
+ var D = t.defaultProps;
726
+ for (A in D)
727
+ S[A] === void 0 && (S[A] = D[A]);
726
728
  }
727
729
  if (T || B) {
728
- var W = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
729
- T && Ct(S, W), B && pe(S, W);
730
+ var F = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
731
+ T && Rt(S, F), B && pe(S, F);
730
732
  }
731
- return We(t, T, B, E, b, at.current, S);
733
+ return We(t, T, B, w, b, at.current, S);
732
734
  }
733
735
  }
734
736
  var ze = U.ReactCurrentOwner, ut = U.ReactDebugCurrentFrame;
@@ -747,7 +749,7 @@ function On() {
747
749
  function ue() {
748
750
  {
749
751
  if (ze.current) {
750
- var t = F(ze.current.type);
752
+ var t = M(ze.current.type);
751
753
  if (t)
752
754
  return `
753
755
 
@@ -756,11 +758,11 @@ Check the render method of \`` + t + "`.";
756
758
  return "";
757
759
  }
758
760
  }
759
- function Pt(t) {
761
+ function Ot(t) {
760
762
  return "";
761
763
  }
762
764
  var lt = {};
763
- function jt(t) {
765
+ function Pt(t) {
764
766
  {
765
767
  var u = ue();
766
768
  if (!u) {
@@ -777,12 +779,12 @@ Check the top-level render call using <` + d + ">.");
777
779
  if (!t._store || t._store.validated || t.key != null)
778
780
  return;
779
781
  t._store.validated = !0;
780
- var d = jt(u);
782
+ var d = Pt(u);
781
783
  if (lt[d])
782
784
  return;
783
785
  lt[d] = !0;
784
786
  var b = "";
785
- t && t._owner && t._owner !== ze.current && (b = " It was passed a child from " + F(t._owner.type) + "."), he(t), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, b), he(null);
787
+ t && t._owner && t._owner !== ze.current && (b = " It was passed a child from " + M(t._owner.type) + "."), he(t), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, b), he(null);
786
788
  }
787
789
  }
788
790
  function dt(t, u) {
@@ -797,9 +799,9 @@ Check the top-level render call using <` + d + ">.");
797
799
  else if (qe(t))
798
800
  t._store && (t._store.validated = !0);
799
801
  else if (t) {
800
- var E = q(t);
801
- if (typeof E == "function" && E !== t.entries)
802
- for (var A = E.call(t), S; !(S = A.next()).done; )
802
+ var w = q(t);
803
+ if (typeof w == "function" && w !== t.entries)
804
+ for (var A = w.call(t), S; !(S = A.next()).done; )
803
805
  qe(S.value) && ft(S.value, u);
804
806
  }
805
807
  }
@@ -812,24 +814,24 @@ Check the top-level render call using <` + d + ">.");
812
814
  var d;
813
815
  if (typeof u == "function")
814
816
  d = u.propTypes;
815
- else if (typeof u == "object" && (u.$$typeof === h || // Note: Memo only checks outer props here.
817
+ else if (typeof u == "object" && (u.$$typeof === p || // Note: Memo only checks outer props here.
816
818
  // Inner props are checked in the reconciler.
817
819
  u.$$typeof === y))
818
820
  d = u.propTypes;
819
821
  else
820
822
  return;
821
823
  if (d) {
822
- var b = F(u);
824
+ var b = M(u);
823
825
  Me(d, t.props, "prop", b, t);
824
826
  } else if (u.PropTypes !== void 0 && !ge) {
825
827
  ge = !0;
826
- var E = F(u);
827
- L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
828
+ var w = M(u);
829
+ L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", w || "Unknown");
828
830
  }
829
831
  typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
830
832
  }
831
833
  }
832
- function Lt(t) {
834
+ function jt(t) {
833
835
  {
834
836
  for (var u = Object.keys(t.props), d = 0; d < u.length; d++) {
835
837
  var b = u[d];
@@ -842,20 +844,20 @@ Check the top-level render call using <` + d + ">.");
842
844
  }
843
845
  }
844
846
  var pt = {};
845
- function ht(t, u, d, b, E, A) {
847
+ function ht(t, u, d, b, w, A) {
846
848
  {
847
849
  var S = Z(t);
848
850
  if (!S) {
849
851
  var T = "";
850
852
  (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
851
- var B = Pt();
853
+ var B = Ot();
852
854
  B ? T += B : T += ue();
853
- var M;
854
- t === null ? M = "null" : xe(t) ? M = "array" : t !== void 0 && t.$$typeof === o ? (M = "<" + (F(t.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : M = typeof t, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", M, T);
855
+ var D;
856
+ t === null ? D = "null" : xe(t) ? D = "array" : t !== void 0 && t.$$typeof === o ? (D = "<" + (M(t.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : D = typeof t, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, T);
855
857
  }
856
- var W = Ot(t, u, d, E, A);
857
- if (W == null)
858
- return W;
858
+ var F = Ct(t, u, d, w, A);
859
+ if (F == null)
860
+ return F;
859
861
  if (S) {
860
862
  var G = u.children;
861
863
  if (G !== void 0)
@@ -869,8 +871,8 @@ Check the top-level render call using <` + d + ">.");
869
871
  else
870
872
  dt(G, t);
871
873
  }
872
- if (Pe.call(u, "key")) {
873
- var te = F(t), N = Object.keys(u).filter(function(gt) {
874
+ if (je.call(u, "key")) {
875
+ var te = M(t), N = Object.keys(u).filter(function(gt) {
874
876
  return gt !== "key";
875
877
  }), Je = N.length > 0 ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}";
876
878
  if (!pt[te + Je]) {
@@ -883,17 +885,17 @@ React keys must be passed directly to JSX without using spread:
883
885
  <%s key={someKey} {...props} />`, Je, te, Ue, te), pt[te + Je] = !0;
884
886
  }
885
887
  }
886
- return t === s ? Lt(W) : oe(W), W;
888
+ return t === s ? jt(F) : oe(F), F;
887
889
  }
888
890
  }
889
- function At(t, u, d) {
891
+ function Lt(t, u, d) {
890
892
  return ht(t, u, d, !0);
891
893
  }
892
- function $t(t, u, d) {
894
+ function At(t, u, d) {
893
895
  return ht(t, u, d, !1);
894
896
  }
895
- var Te = $t, kt = At;
896
- et.Fragment = s, et.jsx = Te, et.jsxs = kt;
897
+ var Te = At, $t = Lt;
898
+ et.Fragment = s, et.jsx = Te, et.jsxs = $t;
897
899
  }()), et;
898
900
  }
899
901
  var ur;
@@ -903,7 +905,7 @@ function Pn() {
903
905
  var X = Pn();
904
906
  const wr = $e(Vt)`
905
907
  ${({ columns: n, takeColumns: o = 1, spacing: i = 0, applyMaxWidth: s, theme: l }) => {
906
- const c = 100 / n, f = Tt(i, null)({ theme: l }), g = o * c, h = (n - o) * (f / n), _ = `calc(${g}% - ${h}px)`;
908
+ const c = 100 / n, f = xt(i, null)({ theme: l }), g = o * c, p = (n - o) * (f / n), _ = `calc(${g}% - ${p}px)`;
907
909
  return le`
908
910
  flex-basis: ${_};
909
911
 
@@ -914,12 +916,12 @@ const wr = $e(Vt)`
914
916
  `}
915
917
  `;
916
918
  }}
917
- `, jn = $e(wt).attrs(({ $flexWrap: n }) => ({
919
+ `, jn = $e(Tt).attrs(({ $flexWrap: n }) => ({
918
920
  $flexWrap: n ?? "wrap"
919
921
  }))`
920
922
  ${({ columnHeight: n, minColumnHeight: o, spacing: i = 0 }) => le`
921
923
  display: flex;
922
- gap: ${Tt(i)};
924
+ gap: ${xt(i)};
923
925
 
924
926
  > ${wr} {
925
927
  height: ${n};
@@ -942,7 +944,7 @@ const wr = $e(Vt)`
942
944
  );
943
945
  Ln.displayName = "HoneyGrid";
944
946
  const An = () => {
945
- const n = Bt(Er);
947
+ const n = Yt(Er);
946
948
  if (!n)
947
949
  throw new Error(
948
950
  "The `useCurrentHoneyGrid()` hook can only be used inside <HoneyGrid/> component!"
@@ -988,7 +990,7 @@ const An = () => {
988
990
  loadingContent: c,
989
991
  isError: f,
990
992
  errorContent: g,
991
- noContent: h,
993
+ noContent: p,
992
994
  ..._
993
995
  }, m) => /* @__PURE__ */ X.jsx(
994
996
  kn,
@@ -1007,109 +1009,109 @@ const An = () => {
1007
1009
  isError: f,
1008
1010
  errorContent: g,
1009
1011
  isNoContent: (o == null ? void 0 : o.length) === 0,
1010
- noContent: h,
1011
- children: o == null ? void 0 : o.map((y, w, O) => /* @__PURE__ */ X.jsx(sn, { children: n(y, w, O) }, String(Sr(y, i, w))))
1012
+ noContent: p,
1013
+ children: o == null ? void 0 : o.map((y, E, j) => /* @__PURE__ */ X.jsx(sn, { children: n(y, E, j) }, String(Sr(y, i, E))))
1012
1014
  }
1013
1015
  )
1014
1016
  }
1015
1017
  ), ro = vr(Hn);
1016
- var Yt, lr;
1018
+ var Nt, lr;
1017
1019
  function In() {
1018
- if (lr) return Yt;
1020
+ if (lr) return Nt;
1019
1021
  lr = 1;
1020
- var n = "Expected a function", o = NaN, i = "[object Symbol]", s = /^\s+|\s+$/g, l = /^[-+]0x[0-9a-f]+$/i, c = /^0b[01]+$/i, f = /^0o[0-7]+$/i, g = parseInt, h = typeof Ee == "object" && Ee && Ee.Object === Object && Ee, _ = typeof self == "object" && self && self.Object === Object && self, m = h || _ || Function("return this")(), y = Object.prototype, w = y.toString, O = Math.max, I = Math.min, z = function() {
1022
+ var n = "Expected a function", o = NaN, i = "[object Symbol]", s = /^\s+|\s+$/g, l = /^[-+]0x[0-9a-f]+$/i, c = /^0b[01]+$/i, f = /^0o[0-7]+$/i, g = parseInt, p = typeof Ee == "object" && Ee && Ee.Object === Object && Ee, _ = typeof self == "object" && self && self.Object === Object && self, m = p || _ || Function("return this")(), y = Object.prototype, E = y.toString, j = Math.max, W = Math.min, z = function() {
1021
1023
  return m.Date.now();
1022
1024
  };
1023
- function q(p, x, D) {
1024
- var V, Z, me, re, F, Y, Q = 0, Se = !1, ae = !1, be = !0;
1025
- if (typeof p != "function")
1025
+ function q(h, x, I) {
1026
+ var V, Z, me, re, M, Y, Q = 0, Re = !1, ae = !1, be = !0;
1027
+ if (typeof h != "function")
1026
1028
  throw new TypeError(n);
1027
- x = de(x) || 0, L(D) && (Se = !!D.leading, ae = "maxWait" in D, me = ae ? O(de(D.maxWait) || 0, x) : me, be = "trailing" in D ? !!D.trailing : be);
1028
- function _e(j) {
1029
+ x = de(x) || 0, L(I) && (Re = !!I.leading, ae = "maxWait" in I, me = ae ? j(de(I.maxWait) || 0, x) : me, be = "trailing" in I ? !!I.trailing : be);
1030
+ function _e(P) {
1029
1031
  var J = V, K = Z;
1030
- return V = Z = void 0, Q = j, re = p.apply(K, J), re;
1032
+ return V = Z = void 0, Q = P, re = h.apply(K, J), re;
1031
1033
  }
1032
- function ke(j) {
1033
- return Q = j, F = setTimeout(C, x), Se ? _e(j) : re;
1034
+ function ke(P) {
1035
+ return Q = P, M = setTimeout(C, x), Re ? _e(P) : re;
1034
1036
  }
1035
- function He(j) {
1036
- var J = j - Y, K = j - Q, Oe = x - J;
1037
- return ae ? I(Oe, me - K) : Oe;
1037
+ function He(P) {
1038
+ var J = P - Y, K = P - Q, Pe = x - J;
1039
+ return ae ? W(Pe, me - K) : Pe;
1038
1040
  }
1039
- function Re(j) {
1040
- var J = j - Y, K = j - Q;
1041
+ function Ce(P) {
1042
+ var J = P - Y, K = P - Q;
1041
1043
  return Y === void 0 || J >= x || J < 0 || ae && K >= me;
1042
1044
  }
1043
1045
  function C() {
1044
- var j = z();
1045
- if (Re(j))
1046
- return Ce(j);
1047
- F = setTimeout(C, He(j));
1046
+ var P = z();
1047
+ if (Ce(P))
1048
+ return Oe(P);
1049
+ M = setTimeout(C, He(P));
1048
1050
  }
1049
- function Ce(j) {
1050
- return F = void 0, be && V ? _e(j) : (V = Z = void 0, re);
1051
+ function Oe(P) {
1052
+ return M = void 0, be && V ? _e(P) : (V = Z = void 0, re);
1051
1053
  }
1052
1054
  function Ne() {
1053
- F !== void 0 && clearTimeout(F), Q = 0, V = Y = Z = F = void 0;
1055
+ M !== void 0 && clearTimeout(M), Q = 0, V = Y = Z = M = void 0;
1054
1056
  }
1055
1057
  function ne() {
1056
- return F === void 0 ? re : Ce(z());
1058
+ return M === void 0 ? re : Oe(z());
1057
1059
  }
1058
1060
  function se() {
1059
- var j = z(), J = Re(j);
1060
- if (V = arguments, Z = this, Y = j, J) {
1061
- if (F === void 0)
1061
+ var P = z(), J = Ce(P);
1062
+ if (V = arguments, Z = this, Y = P, J) {
1063
+ if (M === void 0)
1062
1064
  return ke(Y);
1063
1065
  if (ae)
1064
- return F = setTimeout(C, x), _e(Y);
1066
+ return M = setTimeout(C, x), _e(Y);
1065
1067
  }
1066
- return F === void 0 && (F = setTimeout(C, x)), re;
1068
+ return M === void 0 && (M = setTimeout(C, x)), re;
1067
1069
  }
1068
1070
  return se.cancel = Ne, se.flush = ne, se;
1069
1071
  }
1070
- function U(p, x, D) {
1072
+ function U(h, x, I) {
1071
1073
  var V = !0, Z = !0;
1072
- if (typeof p != "function")
1074
+ if (typeof h != "function")
1073
1075
  throw new TypeError(n);
1074
- return L(D) && (V = "leading" in D ? !!D.leading : V, Z = "trailing" in D ? !!D.trailing : Z), q(p, x, {
1076
+ return L(I) && (V = "leading" in I ? !!I.leading : V, Z = "trailing" in I ? !!I.trailing : Z), q(h, x, {
1075
1077
  leading: V,
1076
1078
  maxWait: x,
1077
1079
  trailing: Z
1078
1080
  });
1079
1081
  }
1080
- function L(p) {
1081
- var x = typeof p;
1082
- return !!p && (x == "object" || x == "function");
1082
+ function L(h) {
1083
+ var x = typeof h;
1084
+ return !!h && (x == "object" || x == "function");
1083
1085
  }
1084
- function ve(p) {
1085
- return !!p && typeof p == "object";
1086
+ function ve(h) {
1087
+ return !!h && typeof h == "object";
1086
1088
  }
1087
- function ye(p) {
1088
- return typeof p == "symbol" || ve(p) && w.call(p) == i;
1089
+ function ye(h) {
1090
+ return typeof h == "symbol" || ve(h) && E.call(h) == i;
1089
1091
  }
1090
- function de(p) {
1091
- if (typeof p == "number")
1092
- return p;
1093
- if (ye(p))
1092
+ function de(h) {
1093
+ if (typeof h == "number")
1094
+ return h;
1095
+ if (ye(h))
1094
1096
  return o;
1095
- if (L(p)) {
1096
- var x = typeof p.valueOf == "function" ? p.valueOf() : p;
1097
- p = L(x) ? x + "" : x;
1098
- }
1099
- if (typeof p != "string")
1100
- return p === 0 ? p : +p;
1101
- p = p.replace(s, "");
1102
- var D = c.test(p);
1103
- return D || f.test(p) ? g(p.slice(2), D ? 2 : 8) : l.test(p) ? o : +p;
1097
+ if (L(h)) {
1098
+ var x = typeof h.valueOf == "function" ? h.valueOf() : h;
1099
+ h = L(x) ? x + "" : x;
1100
+ }
1101
+ if (typeof h != "string")
1102
+ return h === 0 ? h : +h;
1103
+ h = h.replace(s, "");
1104
+ var I = c.test(h);
1105
+ return I || f.test(h) ? g(h.slice(2), I ? 2 : 8) : l.test(h) ? o : +h;
1104
1106
  }
1105
- return Yt = U, Yt;
1107
+ return Nt = U, Nt;
1106
1108
  }
1107
1109
  var Dn = In();
1108
1110
  const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1109
1111
  resizeThrottle: n = 0,
1110
1112
  overrideScreenState: o
1111
1113
  } = {}) => {
1112
- const i = dr(), [s, l] = xt(() => ({
1114
+ const i = dr(), [s, l] = Bt(() => ({
1113
1115
  ...ar(i.breakpoints),
1114
1116
  ...o
1115
1117
  }));
@@ -1130,92 +1132,92 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1130
1132
  if (!l || !c)
1131
1133
  return;
1132
1134
  const f = o(c);
1133
- let g = !1, h = 0, _ = 0, m = 0, y = 0, w = 0;
1134
- const O = async (p, x) => {
1135
- i && !await i(c) || (g = !0, h = p, _ = x, m = p, y = x, w = Date.now());
1136
- }, I = async () => {
1135
+ let g = !1, p = 0, _ = 0, m = 0, y = 0, E = 0;
1136
+ const j = async (h, x) => {
1137
+ i && !await i(c) || (g = !0, p = h, _ = x, m = h, y = x, E = Date.now());
1138
+ }, W = async () => {
1137
1139
  if (g && (g = !1, s)) {
1138
- const p = Date.now() - w, x = m - h, D = y - _;
1140
+ const h = Date.now() - E, x = m - p, I = y - _;
1139
1141
  await s({
1140
1142
  deltaX: x,
1141
- deltaY: D,
1143
+ deltaY: I,
1142
1144
  get movingSpeedX() {
1143
- return nr(x, p);
1145
+ return nr(x, h);
1144
1146
  },
1145
1147
  get movingSpeedY() {
1146
- return nr(D, p);
1148
+ return nr(I, h);
1147
1149
  }
1148
1150
  }, c);
1149
1151
  }
1150
1152
  }, z = async () => {
1151
- await I(), window.removeEventListener("mousemove", ye), window.removeEventListener("mouseup", z);
1152
- }, q = async (p, x) => {
1153
+ await W(), window.removeEventListener("mousemove", ye), window.removeEventListener("mouseup", z);
1154
+ }, q = async (h, x) => {
1153
1155
  if (!g)
1154
1156
  return;
1155
1157
  if (!await f({
1156
1158
  get deltaX() {
1157
- return p - m;
1159
+ return h - m;
1158
1160
  },
1159
1161
  get deltaY() {
1160
1162
  return x - y;
1161
1163
  },
1162
1164
  get distanceX() {
1163
- return p - h;
1165
+ return h - p;
1164
1166
  },
1165
1167
  get distanceY() {
1166
1168
  return x - _;
1167
1169
  },
1168
1170
  get euclideanDistance() {
1169
- return pn(h, _, p, x);
1171
+ return pn(p, _, h, x);
1170
1172
  }
1171
1173
  })) {
1172
- m = p, y = x, await z();
1174
+ m = h, y = x, await z();
1173
1175
  return;
1174
1176
  }
1175
- m = p, y = x;
1176
- }, U = async (p) => {
1177
- p.stopPropagation();
1178
- const x = p.touches[0];
1179
- await O(x.clientX, x.clientY);
1180
- }, L = async (p) => {
1181
- const x = p.touches[0];
1177
+ m = h, y = x;
1178
+ }, U = async (h) => {
1179
+ h.stopPropagation();
1180
+ const x = h.touches[0];
1181
+ await j(x.clientX, x.clientY);
1182
+ }, L = async (h) => {
1183
+ const x = h.touches[0];
1182
1184
  await q(x.clientX, x.clientY);
1183
1185
  }, ve = () => {
1184
1186
  g = !1;
1185
- }, ye = async (p) => {
1186
- await q(p.clientX, p.clientY);
1187
- }, de = async (p) => {
1188
- p.stopPropagation(), await O(p.clientX, p.clientY), window.addEventListener("mousemove", ye), window.addEventListener("mouseup", z);
1187
+ }, ye = async (h) => {
1188
+ await q(h.clientX, h.clientY);
1189
+ }, de = async (h) => {
1190
+ h.stopPropagation(), await j(h.clientX, h.clientY), window.addEventListener("mousemove", ye), window.addEventListener("mouseup", z);
1189
1191
  };
1190
1192
  return c.addEventListener("touchstart", U, {
1191
1193
  passive: !0
1192
1194
  }), c.addEventListener("touchmove", L, {
1193
1195
  passive: !0
1194
- }), c.addEventListener("touchend", I), c.addEventListener("touchcancel", ve), c.addEventListener("mousedown", de), () => {
1195
- c.removeEventListener("touchstart", U), c.removeEventListener("touchmove", L), c.removeEventListener("touchend", I), c.removeEventListener("touchcancel", ve), c.removeEventListener("mousedown", de);
1196
+ }), c.addEventListener("touchend", W), c.addEventListener("touchcancel", ve), c.addEventListener("mousedown", de), () => {
1197
+ c.removeEventListener("touchstart", U), c.removeEventListener("touchmove", L), c.removeEventListener("touchend", W), c.removeEventListener("touchcancel", ve), c.removeEventListener("mousedown", de);
1196
1198
  };
1197
1199
  }, [l, i, o, s]);
1198
1200
  }, no = (n, o) => {
1199
- const i = Le(null), s = Le(null), l = Le(null), c = (h, _) => {
1200
- if (i.current = h, l.current = _, !!h)
1201
+ const i = Se(null), s = Se(null), l = Se(null), c = (p, _) => {
1202
+ if (i.current = p, l.current = _, !!p)
1201
1203
  if (_) {
1202
1204
  const m = ([y]) => {
1203
1205
  y.isIntersecting && o();
1204
1206
  };
1205
1207
  s.current = new IntersectionObserver(m, {
1206
- root: h,
1208
+ root: p,
1207
1209
  rootMargin: "0px",
1208
1210
  threshold: 0
1209
1211
  }), s.current.observe(_);
1210
1212
  } else s.current && (s.current.disconnect(), s.current = null);
1211
1213
  }, f = Ae(
1212
- (h) => {
1213
- c(h, l.current);
1214
+ (p) => {
1215
+ c(p, l.current);
1214
1216
  },
1215
1217
  []
1216
1218
  ), g = Ae(
1217
- (h) => {
1218
- c(i.current, h);
1219
+ (p) => {
1220
+ c(i.current, p);
1219
1221
  },
1220
1222
  [i, o]
1221
1223
  );
@@ -1230,8 +1232,8 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1230
1232
  } = {}) => {
1231
1233
  const l = Ae(
1232
1234
  (c) => async ({ deltaX: f, deltaY: g }) => {
1233
- const h = c.scrollWidth - c.clientWidth, _ = c.scrollHeight - c.clientHeight;
1234
- if (h <= 0 && _ <= 0)
1235
+ const p = c.scrollWidth - c.clientWidth, _ = c.scrollHeight - c.clientHeight;
1236
+ if (p <= 0 && _ <= 0)
1235
1237
  return !1;
1236
1238
  const m = or(
1237
1239
  c.clientWidth,
@@ -1239,9 +1241,9 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1239
1241
  ), y = or(
1240
1242
  c.clientHeight,
1241
1243
  o
1242
- ), { translateX: w, translateY: O } = yr(c), I = w + f, z = O + g;
1243
- let q = !1, U = w, L = O;
1244
- return (f < 0 && I >= (h + m) * -1 || f > 0 && I <= m) && (U = I, q = !0), (g < 0 && z >= (_ + y) * -1 || g > 0 && z <= y) && (L = z, q = !0), q && (c.style.transform = `translate(${U}px, ${L}px)`), !0;
1244
+ ), { translateX: E, translateY: j } = yr(c), W = E + f, z = j + g;
1245
+ let q = !1, U = E, L = j;
1246
+ return (f < 0 && W >= (p + m) * -1 || f > 0 && W <= m) && (U = W, q = !0), (g < 0 && z >= (_ + y) * -1 || g > 0 && z <= y) && (L = z, q = !0), q && (c.style.transform = `translate(${U}px, ${L}px)`), !0;
1245
1247
  },
1246
1248
  [o]
1247
1249
  );
@@ -1271,14 +1273,14 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1271
1273
  };
1272
1274
  }, [n, i]);
1273
1275
  }, Cr = gr(void 0), Or = () => {
1274
- const n = Bt(Cr);
1276
+ const n = Yt(Cr);
1275
1277
  if (!n)
1276
1278
  throw new Error(
1277
1279
  "The `useHoneyLayout()` hook must be used inside <HoneyLayoutProvider/> component!"
1278
1280
  );
1279
1281
  return n;
1280
1282
  }, Wn = (n, o) => {
1281
- const { registerOverlay: i, unregisterOverlay: s } = Or(), l = Le(null);
1283
+ const { registerOverlay: i, unregisterOverlay: s } = Or(), l = Se(null);
1282
1284
  return fe(() => {
1283
1285
  if (!n)
1284
1286
  return;
@@ -1298,7 +1300,7 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1298
1300
  s.removeListener("keyup", o);
1299
1301
  };
1300
1302
  }, [s, o]), s;
1301
- }, zn = $e(wt)`
1303
+ }, zn = $e(Tt)`
1302
1304
  overflow: hidden;
1303
1305
  `, Un = $e.div``, so = ({
1304
1306
  children: n,
@@ -1308,30 +1310,30 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1308
1310
  direction: l = "vertical",
1309
1311
  ...c
1310
1312
  }) => {
1311
- const [f, g] = xt(o), h = Le(null);
1312
- Le(-1), f == null || f.length;
1313
- const _ = Ae((m) => (m.parentElement.clientHeight / 2, async ({ deltaX: w, deltaY: O }) => {
1314
- const { translateX: I, translateY: z } = yr(m), q = l === "horizontal" ? I + w : 0, U = l === "vertical" ? z + O : 0;
1313
+ const [f, g] = Bt(o), p = Se(null);
1314
+ Se(-1), f == null || f.length;
1315
+ const _ = Ae((m) => (m.parentElement.clientHeight / 2, async ({ deltaX: E, deltaY: j }) => {
1316
+ const { translateX: W, translateY: z } = yr(m), q = l === "horizontal" ? W + E : 0, U = l === "vertical" ? z + j : 0;
1315
1317
  return m.style.transform = `translate(${q}px, ${U}px)`, !0;
1316
1318
  }), []);
1317
- return Rr(h, {
1319
+ return Rr(p, {
1318
1320
  onMoveDrag: _
1319
1321
  }), fe(() => {
1320
1322
  }, []), fe(() => {
1321
- const m = h.current;
1323
+ const m = p.current;
1322
1324
  if (!m)
1323
1325
  return;
1324
1326
  const y = m.children[s];
1325
1327
  m.parentElement.clientHeight / 2, y.offsetTop + y.clientHeight / 2;
1326
- }, []), /* @__PURE__ */ X.jsx(wt, { $overflow: "hidden", "data-testid": "honey-looping-list-container", ...c, children: /* @__PURE__ */ X.jsx(zn, { ref: h, "data-testid": "honey-looping-list", children: f == null ? void 0 : f.map((m, y, w) => {
1327
- const O = Sr(m, i, y);
1328
+ }, []), /* @__PURE__ */ X.jsx(Tt, { $overflow: "hidden", "data-testid": "honey-looping-list-container", ...c, children: /* @__PURE__ */ X.jsx(zn, { ref: p, "data-testid": "honey-looping-list", children: f == null ? void 0 : f.map((m, y, E) => {
1329
+ const j = Sr(m, i, y);
1328
1330
  return /* @__PURE__ */ X.jsx(
1329
1331
  Un,
1330
1332
  {
1331
1333
  "aria-current": y === s,
1332
- children: n(m, y, w)
1334
+ children: n(m, y, E)
1333
1335
  },
1334
- String(O)
1336
+ String(j)
1335
1337
  );
1336
1338
  }) }) });
1337
1339
  }, co = ({
@@ -1341,7 +1343,7 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1341
1343
  isAlwaysMounted: s = !1,
1342
1344
  isKeepAfterMount: l = !1
1343
1345
  }) => {
1344
- const [c, f] = xt(s || o), g = Le(void 0);
1346
+ const [c, f] = Bt(s || o), g = Se(void 0);
1345
1347
  return fe(() => {
1346
1348
  if (!(!o || s))
1347
1349
  return clearTimeout(g.current), f(!0), () => {
@@ -1379,52 +1381,51 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1379
1381
  }
1380
1382
  );
1381
1383
  }, Nn = () => {
1382
- const [n, o] = xt([]);
1384
+ const n = Se([]);
1383
1385
  fe(() => {
1384
- if (!n.length)
1385
- return;
1386
- const l = (c) => {
1387
- n[n.length - 1].notifyListeners("keyup", c.code, c);
1386
+ const s = (l) => {
1387
+ const c = n.current;
1388
+ if (!c.length)
1389
+ return;
1390
+ c[c.length - 1].notifyListeners("keyup", l.code, l);
1388
1391
  };
1389
- return document.addEventListener("keyup", l), () => {
1390
- document.removeEventListener("keyup", l);
1392
+ return document.addEventListener("keyup", s), () => {
1393
+ document.removeEventListener("keyup", s);
1391
1394
  };
1392
- }, [n]);
1393
- const i = Ae((l) => {
1394
- const c = l.id ?? mn(), f = [["keyup", l.onKeyUp]], g = {
1395
+ }, []);
1396
+ const o = Ae((s) => {
1397
+ const l = s.id ?? mn(), c = [["keyup", s.onKeyUp]], f = {
1395
1398
  current: null
1396
- }, h = {
1397
- containerRef: g,
1398
- id: c,
1399
- setContainerRef: (_) => {
1400
- g.current = _;
1399
+ }, g = {
1400
+ containerRef: f,
1401
+ id: l,
1402
+ setContainerRef: (p) => {
1403
+ f.current = p;
1401
1404
  },
1402
- addListener: (_, m) => {
1403
- f.push([_, m]);
1405
+ addListener: (p, _) => {
1406
+ c.push([p, _]);
1404
1407
  },
1405
- removeListener: (_, m) => {
1406
- const y = f.findIndex(
1407
- ([w, O]) => w === _ && O === m
1408
+ removeListener: (p, _) => {
1409
+ const m = c.findIndex(
1410
+ ([y, E]) => y === p && E === _
1408
1411
  );
1409
- y !== -1 && f.splice(y, 1);
1412
+ m !== -1 && c.splice(m, 1);
1410
1413
  },
1411
- notifyListeners: (_, m, y) => {
1412
- var w;
1413
- (!((w = l.listenKeys) != null && w.length) || l.listenKeys.includes(m)) && (y.preventDefault(), f.forEach(([O, I]) => {
1414
- O === _ && I(m, h, y);
1414
+ notifyListeners: (p, _, m) => {
1415
+ const y = s.listenKeys ?? [];
1416
+ (!y.length || y.includes(_)) && (m.preventDefault(), c.forEach(([E, j]) => {
1417
+ E === p && j(_, g, m);
1415
1418
  }));
1416
1419
  }
1417
1420
  };
1418
- return o((_) => [..._, h]), h;
1419
- }, []), s = Ae((l) => {
1420
- o(
1421
- (c) => c.filter((f) => f.id !== l)
1422
- );
1421
+ return n.current.push(g), g;
1422
+ }, []), i = Ae((s) => {
1423
+ n.current = n.current.filter((l) => l.id !== s);
1423
1424
  }, []);
1424
1425
  return {
1425
- overlays: n,
1426
- registerOverlay: i,
1427
- unregisterOverlay: s
1426
+ overlays: n.current,
1427
+ registerOverlay: o,
1428
+ unregisterOverlay: i
1428
1429
  };
1429
1430
  }, Yn = ({
1430
1431
  children: n,
@@ -1437,10 +1438,10 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1437
1438
  overlays: l,
1438
1439
  registerOverlay: c,
1439
1440
  unregisterOverlay: f,
1440
- resolveSpacing: (...h) => Tt(...h)({ theme: i }),
1441
- resolveColor: (...h) => mr(...h)({ theme: i }),
1442
- resolveFont: (...h) => bn(...h)({ theme: i }),
1443
- resolveDimension: (...h) => _n(...h)({ theme: i })
1441
+ resolveSpacing: (...p) => xt(...p)({ theme: i }),
1442
+ resolveColor: (...p) => mr(...p)({ theme: i }),
1443
+ resolveFont: (...p) => bn(...p)({ theme: i }),
1444
+ resolveDimension: (...p) => _n(...p)({ theme: i })
1444
1445
  }),
1445
1446
  [i, s, l, c, f]
1446
1447
  );
@@ -1454,16 +1455,16 @@ tt.exports;
1454
1455
  var fr;
1455
1456
  function Bn() {
1456
1457
  return fr || (fr = 1, function(n, o) {
1457
- var i = 200, s = "__lodash_hash_undefined__", l = 800, c = 16, f = 9007199254740991, g = "[object Arguments]", h = "[object Array]", _ = "[object AsyncFunction]", m = "[object Boolean]", y = "[object Date]", w = "[object Error]", O = "[object Function]", I = "[object GeneratorFunction]", z = "[object Map]", q = "[object Number]", U = "[object Null]", L = "[object Object]", ve = "[object Proxy]", ye = "[object RegExp]", de = "[object Set]", p = "[object String]", x = "[object Undefined]", D = "[object WeakMap]", V = "[object ArrayBuffer]", Z = "[object DataView]", me = "[object Float32Array]", re = "[object Float64Array]", F = "[object Int8Array]", Y = "[object Int16Array]", Q = "[object Int32Array]", Se = "[object Uint8Array]", ae = "[object Uint8ClampedArray]", be = "[object Uint16Array]", _e = "[object Uint32Array]", ke = /[\\^$.*+?()[\]{}|]/g, He = /^\[object .+?Constructor\]$/, Re = /^(?:0|[1-9]\d*)$/, C = {};
1458
- C[me] = C[re] = C[F] = C[Y] = C[Q] = C[Se] = C[ae] = C[be] = C[_e] = !0, C[g] = C[h] = C[V] = C[m] = C[Z] = C[y] = C[w] = C[O] = C[z] = C[q] = C[L] = C[ye] = C[de] = C[p] = C[D] = !1;
1459
- var Ce = typeof Ee == "object" && Ee && Ee.Object === Object && Ee, Ne = typeof self == "object" && self && self.Object === Object && self, ne = Ce || Ne || Function("return this")(), se = o && !o.nodeType && o, j = se && !0 && n && !n.nodeType && n, J = j && j.exports === se, K = J && Ce.process, Oe = function() {
1458
+ var i = 200, s = "__lodash_hash_undefined__", l = 800, c = 16, f = 9007199254740991, g = "[object Arguments]", p = "[object Array]", _ = "[object AsyncFunction]", m = "[object Boolean]", y = "[object Date]", E = "[object Error]", j = "[object Function]", W = "[object GeneratorFunction]", z = "[object Map]", q = "[object Number]", U = "[object Null]", L = "[object Object]", ve = "[object Proxy]", ye = "[object RegExp]", de = "[object Set]", h = "[object String]", x = "[object Undefined]", I = "[object WeakMap]", V = "[object ArrayBuffer]", Z = "[object DataView]", me = "[object Float32Array]", re = "[object Float64Array]", M = "[object Int8Array]", Y = "[object Int16Array]", Q = "[object Int32Array]", Re = "[object Uint8Array]", ae = "[object Uint8ClampedArray]", be = "[object Uint16Array]", _e = "[object Uint32Array]", ke = /[\\^$.*+?()[\]{}|]/g, He = /^\[object .+?Constructor\]$/, Ce = /^(?:0|[1-9]\d*)$/, C = {};
1459
+ C[me] = C[re] = C[M] = C[Y] = C[Q] = C[Re] = C[ae] = C[be] = C[_e] = !0, C[g] = C[p] = C[V] = C[m] = C[Z] = C[y] = C[E] = C[j] = C[z] = C[q] = C[L] = C[ye] = C[de] = C[h] = C[I] = !1;
1460
+ var Oe = typeof Ee == "object" && Ee && Ee.Object === Object && Ee, Ne = typeof self == "object" && self && self.Object === Object && self, ne = Oe || Ne || Function("return this")(), se = o && !o.nodeType && o, P = se && !0 && n && !n.nodeType && n, J = P && P.exports === se, K = J && Oe.process, Pe = function() {
1460
1461
  try {
1461
- var e = j && j.require && j.require("util").types;
1462
+ var e = P && P.require && P.require("util").types;
1462
1463
  return e || K && K.binding && K.binding("util");
1463
1464
  } catch {
1464
1465
  }
1465
- }(), Ye = Oe && Oe.isTypedArray;
1466
- function Et(e, r, a) {
1466
+ }(), Ye = Pe && Pe.isTypedArray;
1467
+ function wt(e, r, a) {
1467
1468
  switch (a.length) {
1468
1469
  case 0:
1469
1470
  return e.call(r);
@@ -1476,7 +1477,7 @@ function Bn() {
1476
1477
  }
1477
1478
  return e.apply(r, a);
1478
1479
  }
1479
- function St(e, r) {
1480
+ function Et(e, r) {
1480
1481
  for (var a = -1, v = Array(e); ++a < e; )
1481
1482
  v[a] = r(a);
1482
1483
  return v;
@@ -1486,7 +1487,7 @@ function Bn() {
1486
1487
  return e(r);
1487
1488
  };
1488
1489
  }
1489
- function Pe(e, r) {
1490
+ function je(e, r) {
1490
1491
  return e == null ? void 0 : e[r];
1491
1492
  }
1492
1493
  function rt(e, r) {
@@ -1501,17 +1502,17 @@ function Bn() {
1501
1502
  "^" + xe.call(ce).replace(ke, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1502
1503
  ), Fe = J ? ne.Buffer : void 0, Ge = ne.Symbol, Xe = ne.Uint8Array;
1503
1504
  Fe && Fe.allocUnsafe;
1504
- var st = rt(Object.getPrototypeOf, Object), ct = Object.create, Rt = Me.propertyIsEnumerable, Ct = nt.splice, pe = Ge ? Ge.toStringTag : void 0, We = function() {
1505
+ var st = rt(Object.getPrototypeOf, Object), ct = Object.create, St = Me.propertyIsEnumerable, Rt = nt.splice, pe = Ge ? Ge.toStringTag : void 0, We = function() {
1505
1506
  try {
1506
- var e = Ht(Object, "defineProperty");
1507
+ var e = kt(Object, "defineProperty");
1507
1508
  return e({}, "", {}), e;
1508
1509
  } catch {
1509
1510
  }
1510
- }(), Ot = Fe ? Fe.isBuffer : void 0, ze = Math.max, ut = Date.now, he = Ht(ne, "Map"), ge = Ht(Object, "create"), qe = /* @__PURE__ */ function() {
1511
+ }(), Ct = Fe ? Fe.isBuffer : void 0, ze = Math.max, ut = Date.now, he = kt(ne, "Map"), ge = kt(Object, "create"), qe = /* @__PURE__ */ function() {
1511
1512
  function e() {
1512
1513
  }
1513
1514
  return function(r) {
1514
- if (!je(r))
1515
+ if (!Le(r))
1515
1516
  return {};
1516
1517
  if (ct)
1517
1518
  return ct(r);
@@ -1527,14 +1528,14 @@ function Bn() {
1527
1528
  this.set(v[0], v[1]);
1528
1529
  }
1529
1530
  }
1530
- function Pt() {
1531
+ function Ot() {
1531
1532
  this.__data__ = ge ? ge(null) : {}, this.size = 0;
1532
1533
  }
1533
1534
  function lt(e) {
1534
1535
  var r = this.has(e) && delete this.__data__[e];
1535
1536
  return this.size -= r ? 1 : 0, r;
1536
1537
  }
1537
- function jt(e) {
1538
+ function Pt(e) {
1538
1539
  var r = this.__data__;
1539
1540
  if (ge) {
1540
1541
  var a = r[e];
@@ -1550,7 +1551,7 @@ function Bn() {
1550
1551
  var a = this.__data__;
1551
1552
  return this.size += this.has(e) ? 0 : 1, a[e] = ge && r === void 0 ? s : r, this;
1552
1553
  }
1553
- ue.prototype.clear = Pt, ue.prototype.delete = lt, ue.prototype.get = jt, ue.prototype.has = ft, ue.prototype.set = dt;
1554
+ ue.prototype.clear = Ot, ue.prototype.delete = lt, ue.prototype.get = Pt, ue.prototype.has = ft, ue.prototype.set = dt;
1554
1555
  function oe(e) {
1555
1556
  var r = -1, a = e == null ? 0 : e.length;
1556
1557
  for (this.clear(); ++r < a; ) {
@@ -1558,7 +1559,7 @@ function Bn() {
1558
1559
  this.set(v[0], v[1]);
1559
1560
  }
1560
1561
  }
1561
- function Lt() {
1562
+ function jt() {
1562
1563
  this.__data__ = [], this.size = 0;
1563
1564
  }
1564
1565
  function pt(e) {
@@ -1566,20 +1567,20 @@ function Bn() {
1566
1567
  if (a < 0)
1567
1568
  return !1;
1568
1569
  var v = r.length - 1;
1569
- return a == v ? r.pop() : Ct.call(r, a, 1), --this.size, !0;
1570
+ return a == v ? r.pop() : Rt.call(r, a, 1), --this.size, !0;
1570
1571
  }
1571
1572
  function ht(e) {
1572
1573
  var r = this.__data__, a = te(r, e);
1573
1574
  return a < 0 ? void 0 : r[a][1];
1574
1575
  }
1575
- function At(e) {
1576
+ function Lt(e) {
1576
1577
  return te(this.__data__, e) > -1;
1577
1578
  }
1578
- function $t(e, r) {
1579
+ function At(e, r) {
1579
1580
  var a = this.__data__, v = te(a, e);
1580
1581
  return v < 0 ? (++this.size, a.push([e, r])) : a[v][1] = r, this;
1581
1582
  }
1582
- oe.prototype.clear = Lt, oe.prototype.delete = pt, oe.prototype.get = ht, oe.prototype.has = At, oe.prototype.set = $t;
1583
+ oe.prototype.clear = jt, oe.prototype.delete = pt, oe.prototype.get = ht, oe.prototype.has = Lt, oe.prototype.set = At;
1583
1584
  function Te(e) {
1584
1585
  var r = -1, a = e == null ? 0 : e.length;
1585
1586
  for (this.clear(); ++r < a; ) {
@@ -1587,7 +1588,7 @@ function Bn() {
1587
1588
  this.set(v[0], v[1]);
1588
1589
  }
1589
1590
  }
1590
- function kt() {
1591
+ function $t() {
1591
1592
  this.size = 0, this.__data__ = {
1592
1593
  hash: new ue(),
1593
1594
  map: new (he || oe)(),
@@ -1608,8 +1609,8 @@ function Bn() {
1608
1609
  var a = vt(this, e), v = a.size;
1609
1610
  return a.set(e, r), this.size += a.size == v ? 0 : 1, this;
1610
1611
  }
1611
- Te.prototype.clear = kt, Te.prototype.delete = t, Te.prototype.get = u, Te.prototype.has = d, Te.prototype.set = b;
1612
- function E(e) {
1612
+ Te.prototype.clear = $t, Te.prototype.delete = t, Te.prototype.get = u, Te.prototype.has = d, Te.prototype.set = b;
1613
+ function w(e) {
1613
1614
  var r = this.__data__ = new oe(e);
1614
1615
  this.size = r.size;
1615
1616
  }
@@ -1626,7 +1627,7 @@ function Bn() {
1626
1627
  function B(e) {
1627
1628
  return this.__data__.has(e);
1628
1629
  }
1629
- function M(e, r) {
1630
+ function D(e, r) {
1630
1631
  var a = this.__data__;
1631
1632
  if (a instanceof oe) {
1632
1633
  var v = a.__data__;
@@ -1636,16 +1637,16 @@ function Bn() {
1636
1637
  }
1637
1638
  return a.set(e, r), this.size = a.size, this;
1638
1639
  }
1639
- E.prototype.clear = A, E.prototype.delete = S, E.prototype.get = T, E.prototype.has = B, E.prototype.set = M;
1640
- function W(e, r) {
1641
- var a = Mt(e), v = !a && Dt(e), R = !a && !v && Jt(e), $ = !a && !v && !R && Zt(e), k = a || v || R || $, P = k ? St(e.length, String) : [], H = P.length;
1640
+ w.prototype.clear = A, w.prototype.delete = S, w.prototype.get = T, w.prototype.has = B, w.prototype.set = D;
1641
+ function F(e, r) {
1642
+ var a = Dt(e), v = !a && It(e), R = !a && !v && Jt(e), $ = !a && !v && !R && Zt(e), k = a || v || R || $, O = k ? Et(e.length, String) : [], H = O.length;
1642
1643
  for (var ie in e)
1643
1644
  k && // Safari 9 has enumerable `arguments.length` in strict mode.
1644
1645
  (ie == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
1645
1646
  R && (ie == "offset" || ie == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1646
1647
  $ && (ie == "buffer" || ie == "byteLength" || ie == "byteOffset") || // Skip index properties.
1647
- Xt(ie, H)) || P.push(ie);
1648
- return P;
1648
+ Xt(ie, H)) || O.push(ie);
1649
+ return O;
1649
1650
  }
1650
1651
  function G(e, r, a) {
1651
1652
  (a !== void 0 && !yt(e[r], a) || a === void 0 && !(r in e)) && N(e, r, a);
@@ -1676,16 +1677,16 @@ function Bn() {
1676
1677
  return Ke(e) && Ue(e) == g;
1677
1678
  }
1678
1679
  function Pr(e) {
1679
- if (!je(e) || Vr(e))
1680
+ if (!Le(e) || Vr(e))
1680
1681
  return !1;
1681
- var r = Wt(e) ? at : He;
1682
+ var r = Ft(e) ? at : He;
1682
1683
  return r.test(Zr(e));
1683
1684
  }
1684
1685
  function jr(e) {
1685
1686
  return Ke(e) && Kt(e.length) && !!C[Ue(e)];
1686
1687
  }
1687
1688
  function Lr(e) {
1688
- if (!je(e))
1689
+ if (!Le(e))
1689
1690
  return Gr(e);
1690
1691
  var r = qt(e), a = [];
1691
1692
  for (var v in e)
@@ -1694,24 +1695,24 @@ function Bn() {
1694
1695
  }
1695
1696
  function Gt(e, r, a, v, R) {
1696
1697
  e !== r && Je(r, function($, k) {
1697
- if (R || (R = new E()), je($))
1698
+ if (R || (R = new w()), Le($))
1698
1699
  Ar(e, r, k, a, Gt, v, R);
1699
1700
  else {
1700
- var P = v ? v(It(e, k), $, k + "", e, r, R) : void 0;
1701
- P === void 0 && (P = $), G(e, k, P);
1701
+ var O = v ? v(Ht(e, k), $, k + "", e, r, R) : void 0;
1702
+ O === void 0 && (O = $), G(e, k, O);
1702
1703
  }
1703
1704
  }, Qt);
1704
1705
  }
1705
1706
  function Ar(e, r, a, v, R, $, k) {
1706
- var P = It(e, a), H = It(r, a), ie = k.get(H);
1707
+ var O = Ht(e, a), H = Ht(r, a), ie = k.get(H);
1707
1708
  if (ie) {
1708
1709
  G(e, a, ie);
1709
1710
  return;
1710
1711
  }
1711
- var ee = $ ? $(P, H, a + "", e, r, k) : void 0, Ze = ee === void 0;
1712
+ var ee = $ ? $(O, H, a + "", e, r, k) : void 0, Ze = ee === void 0;
1712
1713
  if (Ze) {
1713
- var zt = Mt(H), Ut = !zt && Jt(H), tr = !zt && !Ut && Zt(H);
1714
- ee = H, zt || Ut || tr ? Mt(P) ? ee = P : Qr(P) ? ee = Mr(P) : Ut ? (Ze = !1, ee = Hr(H)) : tr ? (Ze = !1, ee = Dr(H)) : ee = [] : en(H) || Dt(H) ? (ee = P, Dt(P) ? ee = tn(P) : (!je(P) || Wt(P)) && (ee = Nr(H))) : Ze = !1;
1714
+ var Wt = Dt(H), zt = !Wt && Jt(H), tr = !Wt && !zt && Zt(H);
1715
+ ee = H, Wt || zt || tr ? Dt(O) ? ee = O : Qr(O) ? ee = Mr(O) : zt ? (Ze = !1, ee = Hr(H)) : tr ? (Ze = !1, ee = Dr(H)) : ee = [] : en(H) || It(H) ? (ee = O, It(O) ? ee = tn(O) : (!Le(O) || Ft(O)) && (ee = Nr(H))) : Ze = !1;
1715
1716
  }
1716
1717
  Ze && (k.set(H, ee), R(ee, H, v, $, k), k.delete(H)), G(e, a, ee);
1717
1718
  }
@@ -1747,8 +1748,8 @@ function Bn() {
1747
1748
  var R = !a;
1748
1749
  a || (a = {});
1749
1750
  for (var $ = -1, k = r.length; ++$ < k; ) {
1750
- var P = r[$], H = void 0;
1751
- H === void 0 && (H = e[P]), R ? N(a, P, H) : we(a, P, H);
1751
+ var O = r[$], H = void 0;
1752
+ H === void 0 && (H = e[O]), R ? N(a, O, H) : we(a, O, H);
1752
1753
  }
1753
1754
  return a;
1754
1755
  }
@@ -1756,15 +1757,15 @@ function Bn() {
1756
1757
  return $r(function(r, a) {
1757
1758
  var v = -1, R = a.length, $ = R > 1 ? a[R - 1] : void 0, k = R > 2 ? a[2] : void 0;
1758
1759
  for ($ = e.length > 3 && typeof $ == "function" ? (R--, $) : void 0, k && Yr(a[0], a[1], k) && ($ = R < 3 ? void 0 : $, R = 1), r = Object(r); ++v < R; ) {
1759
- var P = a[v];
1760
- P && e(r, P, v, $);
1760
+ var O = a[v];
1761
+ O && e(r, O, v, $);
1761
1762
  }
1762
1763
  return r;
1763
1764
  });
1764
1765
  }
1765
1766
  function zr(e) {
1766
1767
  return function(r, a, v) {
1767
- for (var R = -1, $ = Object(r), k = v(r), P = k.length; P--; ) {
1768
+ for (var R = -1, $ = Object(r), k = v(r), O = k.length; O--; ) {
1768
1769
  var H = k[++R];
1769
1770
  if (a($[H], H, $) === !1)
1770
1771
  break;
@@ -1776,8 +1777,8 @@ function Bn() {
1776
1777
  var a = e.__data__;
1777
1778
  return Br(r) ? a[typeof r == "string" ? "string" : "hash"] : a.map;
1778
1779
  }
1779
- function Ht(e, r) {
1780
- var a = Pe(e, r);
1780
+ function kt(e, r) {
1781
+ var a = je(e, r);
1781
1782
  return Pr(a) ? a : void 0;
1782
1783
  }
1783
1784
  function Ur(e) {
@@ -1795,13 +1796,13 @@ function Bn() {
1795
1796
  }
1796
1797
  function Xt(e, r) {
1797
1798
  var a = typeof e;
1798
- return r = r ?? f, !!r && (a == "number" || a != "symbol" && Re.test(e)) && e > -1 && e % 1 == 0 && e < r;
1799
+ return r = r ?? f, !!r && (a == "number" || a != "symbol" && Ce.test(e)) && e > -1 && e % 1 == 0 && e < r;
1799
1800
  }
1800
1801
  function Yr(e, r, a) {
1801
- if (!je(a))
1802
+ if (!Le(a))
1802
1803
  return !1;
1803
1804
  var v = typeof r;
1804
- return (v == "number" ? Ft(a) && Xt(r, a.length) : v == "string" && r in a) ? yt(a[r], e) : !1;
1805
+ return (v == "number" ? Mt(a) && Xt(r, a.length) : v == "string" && r in a) ? yt(a[r], e) : !1;
1805
1806
  }
1806
1807
  function Br(e) {
1807
1808
  var r = typeof e;
@@ -1829,12 +1830,12 @@ function Bn() {
1829
1830
  for (var v = arguments, R = -1, $ = ze(v.length - r, 0), k = Array($); ++R < $; )
1830
1831
  k[R] = v[r + R];
1831
1832
  R = -1;
1832
- for (var P = Array(r + 1); ++R < r; )
1833
- P[R] = v[R];
1834
- return P[r] = a(k), Et(e, this, P);
1833
+ for (var O = Array(r + 1); ++R < r; )
1834
+ O[R] = v[R];
1835
+ return O[r] = a(k), wt(e, this, O);
1835
1836
  };
1836
1837
  }
1837
- function It(e, r) {
1838
+ function Ht(e, r) {
1838
1839
  if (!(r === "constructor" && typeof e[r] == "function") && r != "__proto__")
1839
1840
  return e[r];
1840
1841
  }
@@ -1867,28 +1868,28 @@ function Bn() {
1867
1868
  function yt(e, r) {
1868
1869
  return e === r || e !== e && r !== r;
1869
1870
  }
1870
- var Dt = gt(/* @__PURE__ */ function() {
1871
+ var It = gt(/* @__PURE__ */ function() {
1871
1872
  return arguments;
1872
1873
  }()) ? gt : function(e) {
1873
- return Ke(e) && ce.call(e, "callee") && !Rt.call(e, "callee");
1874
- }, Mt = Array.isArray;
1875
- function Ft(e) {
1876
- return e != null && Kt(e.length) && !Wt(e);
1874
+ return Ke(e) && ce.call(e, "callee") && !St.call(e, "callee");
1875
+ }, Dt = Array.isArray;
1876
+ function Mt(e) {
1877
+ return e != null && Kt(e.length) && !Ft(e);
1877
1878
  }
1878
1879
  function Qr(e) {
1879
- return Ke(e) && Ft(e);
1880
+ return Ke(e) && Mt(e);
1880
1881
  }
1881
- var Jt = Ot || on;
1882
- function Wt(e) {
1883
- if (!je(e))
1882
+ var Jt = Ct || on;
1883
+ function Ft(e) {
1884
+ if (!Le(e))
1884
1885
  return !1;
1885
1886
  var r = Ue(e);
1886
- return r == O || r == I || r == _ || r == ve;
1887
+ return r == j || r == W || r == _ || r == ve;
1887
1888
  }
1888
1889
  function Kt(e) {
1889
1890
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= f;
1890
1891
  }
1891
- function je(e) {
1892
+ function Le(e) {
1892
1893
  var r = typeof e;
1893
1894
  return e != null && (r == "object" || r == "function");
1894
1895
  }
@@ -1909,7 +1910,7 @@ function Bn() {
1909
1910
  return Fr(e, Qt(e));
1910
1911
  }
1911
1912
  function Qt(e) {
1912
- return Ft(e) ? W(e) : Lr(e);
1913
+ return Mt(e) ? F(e) : Lr(e);
1913
1914
  }
1914
1915
  var rn = Wr(function(e, r, a) {
1915
1916
  Gt(e, r, a);
@@ -1933,7 +1934,7 @@ const Gn = /* @__PURE__ */ Tr(Vn), fo = ({
1933
1934
  theme: n,
1934
1935
  ...o
1935
1936
  }) => {
1936
- const i = Bt(an), s = _t(() => Gn(i, n), [i, n]);
1937
+ const i = Yt(an), s = _t(() => Gn(i, n), [i, n]);
1937
1938
  return /* @__PURE__ */ X.jsx(pr, { theme: s, ...o });
1938
1939
  }, po = ({ durationMs: n, timingFunction: o = "ease-in-out", extraProperties: i = [], activeClassName: s }) => ({ isActive: l = !1 }) => le`
1939
1940
  opacity: ${l ? 1 : 0};
@@ -1951,7 +1952,7 @@ const Gn = /* @__PURE__ */ Tr(Vn), fo = ({
1951
1952
  `}
1952
1953
  `;
1953
1954
  export {
1954
- wt as HoneyBox,
1955
+ Tt as HoneyBox,
1955
1956
  Vt as HoneyFlexBox,
1956
1957
  Ln as HoneyGrid,
1957
1958
  to as HoneyGridColumn,
@@ -1983,12 +1984,12 @@ export {
1983
1984
  yr as getTransformationValues,
1984
1985
  po as honeyVisibilityTransitionEffect,
1985
1986
  ir as media,
1986
- Nt as pxToRem,
1987
+ Ut as pxToRem,
1987
1988
  mr as resolveColor,
1988
1989
  _n as resolveDimension,
1989
1990
  bn as resolveFont,
1990
1991
  ar as resolveScreenState,
1991
- Tt as resolveSpacing,
1992
+ xt as resolveSpacing,
1992
1993
  Qn as searchFlattenedItems,
1993
1994
  Kn as shouldForwardProp,
1994
1995
  rr as splitStringIntoWords,