@react-hive/honey-layout 4.1.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.
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,7 +264,7 @@ const mn = () => {
264
264
  ${mt("lg")};
265
265
  ${mt("xl")};
266
266
  `}
267
- `, Vt = $e(wt).attrs(
267
+ `, Vt = $e(Tt).attrs(
268
268
  ({ $display: n = "flex", $flexDirection: o = "column" }) => ({
269
269
  $display: n,
270
270
  $flexDirection: o
@@ -289,12 +289,12 @@ function Cn() {
289
289
  if (sr) return Qe;
290
290
  sr = 1;
291
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 };
292
- function f(g, h, _) {
293
- var m, y = {}, w = null, O = null;
294
- _ !== void 0 && (w = "" + _), h.key !== void 0 && (w = "" + h.key), h.ref !== void 0 && (O = h.ref);
295
- for (m in h) s.call(h, m) && !c.hasOwnProperty(m) && (y[m] = h[m]);
296
- if (g && g.defaultProps) for (m in h = g.defaultProps, h) y[m] === void 0 && (y[m] = h[m]);
297
- 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 };
298
298
  }
299
299
  return Qe.Fragment = i, Qe.jsx = f, Qe.jsxs = f, Qe;
300
300
  }
@@ -311,11 +311,11 @@ var et = {};
311
311
  var cr;
312
312
  function On() {
313
313
  return cr || (cr = 1, process.env.NODE_ENV !== "production" && function() {
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"), 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";
315
315
  function q(t) {
316
316
  if (t === null || typeof t != "object")
317
317
  return null;
318
- var u = I && t[I] || t[z];
318
+ var u = W && t[W] || t[z];
319
319
  return typeof u == "function" ? u : null;
320
320
  }
321
321
  var U = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -328,18 +328,18 @@ function On() {
328
328
  }
329
329
  function ve(t, u, d) {
330
330
  {
331
- var b = U.ReactDebugCurrentFrame, E = b.getStackAddendum();
332
- E !== "" && (u += "%s", d = d.concat([E]));
331
+ var b = U.ReactDebugCurrentFrame, w = b.getStackAddendum();
332
+ w !== "" && (u += "%s", d = d.concat([w]));
333
333
  var A = d.map(function(S) {
334
334
  return String(S);
335
335
  });
336
336
  A.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, A);
337
337
  }
338
338
  }
339
- 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;
340
340
  V = Symbol.for("react.module.reference");
341
341
  function Z(t) {
342
- 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
343
343
  // types supported by any Flight configuration anywhere since
344
344
  // we don't know which Flight build this will end up being used
345
345
  // with.
@@ -349,13 +349,13 @@ function On() {
349
349
  var b = t.displayName;
350
350
  if (b)
351
351
  return b;
352
- var E = u.displayName || u.name || "";
353
- return E !== "" ? d + "(" + E + ")" : d;
352
+ var w = u.displayName || u.name || "";
353
+ return w !== "" ? d + "(" + w + ")" : d;
354
354
  }
355
355
  function re(t) {
356
356
  return t.displayName || "Context";
357
357
  }
358
- function F(t) {
358
+ function M(t) {
359
359
  if (t == null)
360
360
  return null;
361
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")
@@ -384,15 +384,15 @@ function On() {
384
384
  case f:
385
385
  var d = t;
386
386
  return re(d._context) + ".Provider";
387
- case h:
387
+ case p:
388
388
  return me(t, t.render, "ForwardRef");
389
389
  case y:
390
390
  var b = t.displayName || null;
391
- return b !== null ? b : F(t.type) || "Memo";
392
- case w: {
393
- 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;
394
394
  try {
395
- return F(S(A));
395
+ return M(S(A));
396
396
  } catch {
397
397
  return null;
398
398
  }
@@ -400,14 +400,14 @@ function On() {
400
400
  }
401
401
  return null;
402
402
  }
403
- 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;
404
404
  function C() {
405
405
  }
406
406
  C.__reactDisabledLog = !0;
407
- function Ce() {
407
+ function Oe() {
408
408
  {
409
409
  if (Q === 0) {
410
- 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;
411
411
  var t = {
412
412
  configurable: !0,
413
413
  enumerable: !0,
@@ -437,7 +437,7 @@ function On() {
437
437
  };
438
438
  Object.defineProperties(console, {
439
439
  log: Y({}, t, {
440
- value: Se
440
+ value: Re
441
441
  }),
442
442
  info: Y({}, t, {
443
443
  value: ae
@@ -455,7 +455,7 @@ function On() {
455
455
  value: He
456
456
  }),
457
457
  groupEnd: Y({}, t, {
458
- value: Re
458
+ value: Ce
459
459
  })
460
460
  });
461
461
  }
@@ -463,13 +463,13 @@ function On() {
463
463
  }
464
464
  }
465
465
  var ne = U.ReactCurrentDispatcher, se;
466
- function j(t, u, d) {
466
+ function P(t, u, d) {
467
467
  {
468
468
  if (se === void 0)
469
469
  try {
470
470
  throw Error();
471
- } catch (E) {
472
- var b = E.stack.trim().match(/\n( *(at )?)/);
471
+ } catch (w) {
472
+ var b = w.stack.trim().match(/\n( *(at )?)/);
473
473
  se = b && b[1] || "";
474
474
  }
475
475
  return `
@@ -478,8 +478,8 @@ function On() {
478
478
  }
479
479
  var J = !1, K;
480
480
  {
481
- var Oe = typeof WeakMap == "function" ? WeakMap : Map;
482
- K = new Oe();
481
+ var Pe = typeof WeakMap == "function" ? WeakMap : Map;
482
+ K = new Pe();
483
483
  }
484
484
  function Ye(t, u) {
485
485
  if (!t || J)
@@ -491,10 +491,10 @@ function On() {
491
491
  }
492
492
  var b;
493
493
  J = !0;
494
- var E = Error.prepareStackTrace;
494
+ var w = Error.prepareStackTrace;
495
495
  Error.prepareStackTrace = void 0;
496
496
  var A;
497
- A = ne.current, ne.current = null, Ce();
497
+ A = ne.current, ne.current = null, Oe();
498
498
  try {
499
499
  if (u) {
500
500
  var S = function() {
@@ -531,31 +531,31 @@ function On() {
531
531
  if (N && b && typeof N.stack == "string") {
532
532
  for (var T = N.stack.split(`
533
533
  `), B = b.stack.split(`
534
- `), M = T.length - 1, W = B.length - 1; M >= 1 && W >= 0 && T[M] !== B[W]; )
535
- W--;
536
- for (; M >= 1 && W >= 0; M--, W--)
537
- if (T[M] !== B[W]) {
538
- 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)
539
539
  do
540
- if (M--, W--, W < 0 || T[M] !== B[W]) {
540
+ if (D--, F--, F < 0 || T[D] !== B[F]) {
541
541
  var G = `
542
- ` + T[M].replace(" at new ", " at ");
542
+ ` + T[D].replace(" at new ", " at ");
543
543
  return t.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", t.displayName)), typeof t == "function" && K.set(t, G), G;
544
544
  }
545
- while (M >= 1 && W >= 0);
545
+ while (D >= 1 && F >= 0);
546
546
  break;
547
547
  }
548
548
  }
549
549
  } finally {
550
- J = !1, ne.current = A, Ne(), Error.prepareStackTrace = E;
550
+ J = !1, ne.current = A, Ne(), Error.prepareStackTrace = w;
551
551
  }
552
- var we = t ? t.displayName || t.name : "", te = we ? j(we) : "";
552
+ var we = t ? t.displayName || t.name : "", te = we ? P(we) : "";
553
553
  return typeof t == "function" && K.set(t, te), te;
554
554
  }
555
- function Et(t, u, d) {
555
+ function wt(t, u, d) {
556
556
  return Ye(t, !1);
557
557
  }
558
- function St(t) {
558
+ function Et(t) {
559
559
  var u = t.prototype;
560
560
  return !!(u && u.isReactComponent);
561
561
  }
@@ -563,32 +563,32 @@ function On() {
563
563
  if (t == null)
564
564
  return "";
565
565
  if (typeof t == "function")
566
- return Ye(t, St(t));
566
+ return Ye(t, Et(t));
567
567
  if (typeof t == "string")
568
- return j(t);
568
+ return P(t);
569
569
  switch (t) {
570
570
  case _:
571
- return j("Suspense");
571
+ return P("Suspense");
572
572
  case m:
573
- return j("SuspenseList");
573
+ return P("SuspenseList");
574
574
  }
575
575
  if (typeof t == "object")
576
576
  switch (t.$$typeof) {
577
- case h:
578
- return Et(t.render);
577
+ case p:
578
+ return wt(t.render);
579
579
  case y:
580
580
  return Ie(t.type, u, d);
581
- case w: {
582
- var b = t, E = b._payload, A = b._init;
581
+ case E: {
582
+ var b = t, w = b._payload, A = b._init;
583
583
  try {
584
- return Ie(A(E), u, d);
584
+ return Ie(A(w), u, d);
585
585
  } catch {
586
586
  }
587
587
  }
588
588
  }
589
589
  return "";
590
590
  }
591
- var Pe = Object.prototype.hasOwnProperty, rt = {}, nt = U.ReactDebugCurrentFrame;
591
+ var je = Object.prototype.hasOwnProperty, rt = {}, nt = U.ReactDebugCurrentFrame;
592
592
  function De(t) {
593
593
  if (t) {
594
594
  var u = t._owner, d = Ie(t.type, t._source, u ? u.type : null);
@@ -596,9 +596,9 @@ function On() {
596
596
  } else
597
597
  nt.setExtraStackFrame(null);
598
598
  }
599
- function Me(t, u, d, b, E) {
599
+ function Me(t, u, d, b, w) {
600
600
  {
601
- var A = Function.call.bind(Pe);
601
+ var A = Function.call.bind(je);
602
602
  for (var S in t)
603
603
  if (A(t, S)) {
604
604
  var T = void 0;
@@ -608,10 +608,10 @@ function On() {
608
608
  throw B.name = "Invariant Violation", B;
609
609
  }
610
610
  T = t[S](u, S, b, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
611
- } catch (M) {
612
- T = M;
611
+ } catch (D) {
612
+ T = D;
613
613
  }
614
- 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));
615
615
  }
616
616
  }
617
617
  }
@@ -646,7 +646,7 @@ function On() {
646
646
  __source: !0
647
647
  }, Ge, Xe;
648
648
  function st(t) {
649
- if (Pe.call(t, "ref")) {
649
+ if (je.call(t, "ref")) {
650
650
  var u = Object.getOwnPropertyDescriptor(t, "ref").get;
651
651
  if (u && u.isReactWarning)
652
652
  return !1;
@@ -654,17 +654,17 @@ function On() {
654
654
  return t.ref !== void 0;
655
655
  }
656
656
  function ct(t) {
657
- if (Pe.call(t, "key")) {
657
+ if (je.call(t, "key")) {
658
658
  var u = Object.getOwnPropertyDescriptor(t, "key").get;
659
659
  if (u && u.isReactWarning)
660
660
  return !1;
661
661
  }
662
662
  return t.key !== void 0;
663
663
  }
664
- function Rt(t, u) {
664
+ function St(t, u) {
665
665
  typeof t.ref == "string" && at.current;
666
666
  }
667
- function Ct(t, u) {
667
+ function Rt(t, u) {
668
668
  {
669
669
  var d = function() {
670
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));
@@ -686,7 +686,7 @@ function On() {
686
686
  });
687
687
  }
688
688
  }
689
- var We = function(t, u, d, b, E, A, S) {
689
+ var We = function(t, u, d, b, w, A, S) {
690
690
  var T = {
691
691
  // This tag allows us to uniquely identify this as a React Element
692
692
  $$typeof: o,
@@ -712,25 +712,25 @@ function On() {
712
712
  configurable: !1,
713
713
  enumerable: !1,
714
714
  writable: !1,
715
- value: E
715
+ value: w
716
716
  }), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
717
717
  };
718
- function Ot(t, u, d, b, E) {
718
+ function Ct(t, u, d, b, w) {
719
719
  {
720
720
  var A, S = {}, T = null, B = null;
721
- 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));
722
722
  for (A in u)
723
- Pe.call(u, A) && !Fe.hasOwnProperty(A) && (S[A] = u[A]);
723
+ je.call(u, A) && !Fe.hasOwnProperty(A) && (S[A] = u[A]);
724
724
  if (t && t.defaultProps) {
725
- var M = t.defaultProps;
726
- for (A in M)
727
- 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]);
728
728
  }
729
729
  if (T || B) {
730
- var W = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
731
- 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);
732
732
  }
733
- return We(t, T, B, E, b, at.current, S);
733
+ return We(t, T, B, w, b, at.current, S);
734
734
  }
735
735
  }
736
736
  var ze = U.ReactCurrentOwner, ut = U.ReactDebugCurrentFrame;
@@ -749,7 +749,7 @@ function On() {
749
749
  function ue() {
750
750
  {
751
751
  if (ze.current) {
752
- var t = F(ze.current.type);
752
+ var t = M(ze.current.type);
753
753
  if (t)
754
754
  return `
755
755
 
@@ -758,11 +758,11 @@ Check the render method of \`` + t + "`.";
758
758
  return "";
759
759
  }
760
760
  }
761
- function Pt(t) {
761
+ function Ot(t) {
762
762
  return "";
763
763
  }
764
764
  var lt = {};
765
- function jt(t) {
765
+ function Pt(t) {
766
766
  {
767
767
  var u = ue();
768
768
  if (!u) {
@@ -779,12 +779,12 @@ Check the top-level render call using <` + d + ">.");
779
779
  if (!t._store || t._store.validated || t.key != null)
780
780
  return;
781
781
  t._store.validated = !0;
782
- var d = jt(u);
782
+ var d = Pt(u);
783
783
  if (lt[d])
784
784
  return;
785
785
  lt[d] = !0;
786
786
  var b = "";
787
- 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);
788
788
  }
789
789
  }
790
790
  function dt(t, u) {
@@ -799,9 +799,9 @@ Check the top-level render call using <` + d + ">.");
799
799
  else if (qe(t))
800
800
  t._store && (t._store.validated = !0);
801
801
  else if (t) {
802
- var E = q(t);
803
- if (typeof E == "function" && E !== t.entries)
804
- 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; )
805
805
  qe(S.value) && ft(S.value, u);
806
806
  }
807
807
  }
@@ -814,24 +814,24 @@ Check the top-level render call using <` + d + ">.");
814
814
  var d;
815
815
  if (typeof u == "function")
816
816
  d = u.propTypes;
817
- 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.
818
818
  // Inner props are checked in the reconciler.
819
819
  u.$$typeof === y))
820
820
  d = u.propTypes;
821
821
  else
822
822
  return;
823
823
  if (d) {
824
- var b = F(u);
824
+ var b = M(u);
825
825
  Me(d, t.props, "prop", b, t);
826
826
  } else if (u.PropTypes !== void 0 && !ge) {
827
827
  ge = !0;
828
- var E = F(u);
829
- 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");
830
830
  }
831
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.");
832
832
  }
833
833
  }
834
- function Lt(t) {
834
+ function jt(t) {
835
835
  {
836
836
  for (var u = Object.keys(t.props), d = 0; d < u.length; d++) {
837
837
  var b = u[d];
@@ -844,20 +844,20 @@ Check the top-level render call using <` + d + ">.");
844
844
  }
845
845
  }
846
846
  var pt = {};
847
- function ht(t, u, d, b, E, A) {
847
+ function ht(t, u, d, b, w, A) {
848
848
  {
849
849
  var S = Z(t);
850
850
  if (!S) {
851
851
  var T = "";
852
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.");
853
- var B = Pt();
853
+ var B = Ot();
854
854
  B ? T += B : T += ue();
855
- var M;
856
- 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);
857
857
  }
858
- var W = Ot(t, u, d, E, A);
859
- if (W == null)
860
- return W;
858
+ var F = Ct(t, u, d, w, A);
859
+ if (F == null)
860
+ return F;
861
861
  if (S) {
862
862
  var G = u.children;
863
863
  if (G !== void 0)
@@ -871,8 +871,8 @@ Check the top-level render call using <` + d + ">.");
871
871
  else
872
872
  dt(G, t);
873
873
  }
874
- if (Pe.call(u, "key")) {
875
- 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) {
876
876
  return gt !== "key";
877
877
  }), Je = N.length > 0 ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}";
878
878
  if (!pt[te + Je]) {
@@ -885,17 +885,17 @@ React keys must be passed directly to JSX without using spread:
885
885
  <%s key={someKey} {...props} />`, Je, te, Ue, te), pt[te + Je] = !0;
886
886
  }
887
887
  }
888
- return t === s ? Lt(W) : oe(W), W;
888
+ return t === s ? jt(F) : oe(F), F;
889
889
  }
890
890
  }
891
- function At(t, u, d) {
891
+ function Lt(t, u, d) {
892
892
  return ht(t, u, d, !0);
893
893
  }
894
- function $t(t, u, d) {
894
+ function At(t, u, d) {
895
895
  return ht(t, u, d, !1);
896
896
  }
897
- var Te = $t, kt = At;
898
- 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;
899
899
  }()), et;
900
900
  }
901
901
  var ur;
@@ -905,7 +905,7 @@ function Pn() {
905
905
  var X = Pn();
906
906
  const wr = $e(Vt)`
907
907
  ${({ columns: n, takeColumns: o = 1, spacing: i = 0, applyMaxWidth: s, theme: l }) => {
908
- 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)`;
909
909
  return le`
910
910
  flex-basis: ${_};
911
911
 
@@ -916,12 +916,12 @@ const wr = $e(Vt)`
916
916
  `}
917
917
  `;
918
918
  }}
919
- `, jn = $e(wt).attrs(({ $flexWrap: n }) => ({
919
+ `, jn = $e(Tt).attrs(({ $flexWrap: n }) => ({
920
920
  $flexWrap: n ?? "wrap"
921
921
  }))`
922
922
  ${({ columnHeight: n, minColumnHeight: o, spacing: i = 0 }) => le`
923
923
  display: flex;
924
- gap: ${Tt(i)};
924
+ gap: ${xt(i)};
925
925
 
926
926
  > ${wr} {
927
927
  height: ${n};
@@ -944,7 +944,7 @@ const wr = $e(Vt)`
944
944
  );
945
945
  Ln.displayName = "HoneyGrid";
946
946
  const An = () => {
947
- const n = Bt(Er);
947
+ const n = Yt(Er);
948
948
  if (!n)
949
949
  throw new Error(
950
950
  "The `useCurrentHoneyGrid()` hook can only be used inside <HoneyGrid/> component!"
@@ -990,7 +990,7 @@ const An = () => {
990
990
  loadingContent: c,
991
991
  isError: f,
992
992
  errorContent: g,
993
- noContent: h,
993
+ noContent: p,
994
994
  ..._
995
995
  }, m) => /* @__PURE__ */ X.jsx(
996
996
  kn,
@@ -1009,109 +1009,109 @@ const An = () => {
1009
1009
  isError: f,
1010
1010
  errorContent: g,
1011
1011
  isNoContent: (o == null ? void 0 : o.length) === 0,
1012
- noContent: h,
1013
- 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))))
1014
1014
  }
1015
1015
  )
1016
1016
  }
1017
1017
  ), ro = vr(Hn);
1018
- var Yt, lr;
1018
+ var Nt, lr;
1019
1019
  function In() {
1020
- if (lr) return Yt;
1020
+ if (lr) return Nt;
1021
1021
  lr = 1;
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, 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() {
1023
1023
  return m.Date.now();
1024
1024
  };
1025
- function q(p, x, D) {
1026
- var V, Z, me, re, F, Y, Q = 0, Se = !1, ae = !1, be = !0;
1027
- 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")
1028
1028
  throw new TypeError(n);
1029
- 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);
1030
- 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) {
1031
1031
  var J = V, K = Z;
1032
- 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;
1033
1033
  }
1034
- function ke(j) {
1035
- 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;
1036
1036
  }
1037
- function He(j) {
1038
- var J = j - Y, K = j - Q, Oe = x - J;
1039
- 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;
1040
1040
  }
1041
- function Re(j) {
1042
- var J = j - Y, K = j - Q;
1041
+ function Ce(P) {
1042
+ var J = P - Y, K = P - Q;
1043
1043
  return Y === void 0 || J >= x || J < 0 || ae && K >= me;
1044
1044
  }
1045
1045
  function C() {
1046
- var j = z();
1047
- if (Re(j))
1048
- return Ce(j);
1049
- F = setTimeout(C, He(j));
1046
+ var P = z();
1047
+ if (Ce(P))
1048
+ return Oe(P);
1049
+ M = setTimeout(C, He(P));
1050
1050
  }
1051
- function Ce(j) {
1052
- 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);
1053
1053
  }
1054
1054
  function Ne() {
1055
- 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;
1056
1056
  }
1057
1057
  function ne() {
1058
- return F === void 0 ? re : Ce(z());
1058
+ return M === void 0 ? re : Oe(z());
1059
1059
  }
1060
1060
  function se() {
1061
- var j = z(), J = Re(j);
1062
- if (V = arguments, Z = this, Y = j, J) {
1063
- 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)
1064
1064
  return ke(Y);
1065
1065
  if (ae)
1066
- return F = setTimeout(C, x), _e(Y);
1066
+ return M = setTimeout(C, x), _e(Y);
1067
1067
  }
1068
- return F === void 0 && (F = setTimeout(C, x)), re;
1068
+ return M === void 0 && (M = setTimeout(C, x)), re;
1069
1069
  }
1070
1070
  return se.cancel = Ne, se.flush = ne, se;
1071
1071
  }
1072
- function U(p, x, D) {
1072
+ function U(h, x, I) {
1073
1073
  var V = !0, Z = !0;
1074
- if (typeof p != "function")
1074
+ if (typeof h != "function")
1075
1075
  throw new TypeError(n);
1076
- 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, {
1077
1077
  leading: V,
1078
1078
  maxWait: x,
1079
1079
  trailing: Z
1080
1080
  });
1081
1081
  }
1082
- function L(p) {
1083
- var x = typeof p;
1084
- return !!p && (x == "object" || x == "function");
1082
+ function L(h) {
1083
+ var x = typeof h;
1084
+ return !!h && (x == "object" || x == "function");
1085
1085
  }
1086
- function ve(p) {
1087
- return !!p && typeof p == "object";
1086
+ function ve(h) {
1087
+ return !!h && typeof h == "object";
1088
1088
  }
1089
- function ye(p) {
1090
- 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;
1091
1091
  }
1092
- function de(p) {
1093
- if (typeof p == "number")
1094
- return p;
1095
- if (ye(p))
1092
+ function de(h) {
1093
+ if (typeof h == "number")
1094
+ return h;
1095
+ if (ye(h))
1096
1096
  return o;
1097
- if (L(p)) {
1098
- var x = typeof p.valueOf == "function" ? p.valueOf() : p;
1099
- p = L(x) ? x + "" : x;
1100
- }
1101
- if (typeof p != "string")
1102
- return p === 0 ? p : +p;
1103
- p = p.replace(s, "");
1104
- var D = c.test(p);
1105
- 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;
1106
1106
  }
1107
- return Yt = U, Yt;
1107
+ return Nt = U, Nt;
1108
1108
  }
1109
1109
  var Dn = In();
1110
1110
  const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1111
1111
  resizeThrottle: n = 0,
1112
1112
  overrideScreenState: o
1113
1113
  } = {}) => {
1114
- const i = dr(), [s, l] = xt(() => ({
1114
+ const i = dr(), [s, l] = Bt(() => ({
1115
1115
  ...ar(i.breakpoints),
1116
1116
  ...o
1117
1117
  }));
@@ -1132,92 +1132,92 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1132
1132
  if (!l || !c)
1133
1133
  return;
1134
1134
  const f = o(c);
1135
- let g = !1, h = 0, _ = 0, m = 0, y = 0, w = 0;
1136
- const O = async (p, x) => {
1137
- i && !await i(c) || (g = !0, h = p, _ = x, m = p, y = x, w = Date.now());
1138
- }, 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 () => {
1139
1139
  if (g && (g = !1, s)) {
1140
- const p = Date.now() - w, x = m - h, D = y - _;
1140
+ const h = Date.now() - E, x = m - p, I = y - _;
1141
1141
  await s({
1142
1142
  deltaX: x,
1143
- deltaY: D,
1143
+ deltaY: I,
1144
1144
  get movingSpeedX() {
1145
- return nr(x, p);
1145
+ return nr(x, h);
1146
1146
  },
1147
1147
  get movingSpeedY() {
1148
- return nr(D, p);
1148
+ return nr(I, h);
1149
1149
  }
1150
1150
  }, c);
1151
1151
  }
1152
1152
  }, z = async () => {
1153
- await I(), window.removeEventListener("mousemove", ye), window.removeEventListener("mouseup", z);
1154
- }, q = async (p, x) => {
1153
+ await W(), window.removeEventListener("mousemove", ye), window.removeEventListener("mouseup", z);
1154
+ }, q = async (h, x) => {
1155
1155
  if (!g)
1156
1156
  return;
1157
1157
  if (!await f({
1158
1158
  get deltaX() {
1159
- return p - m;
1159
+ return h - m;
1160
1160
  },
1161
1161
  get deltaY() {
1162
1162
  return x - y;
1163
1163
  },
1164
1164
  get distanceX() {
1165
- return p - h;
1165
+ return h - p;
1166
1166
  },
1167
1167
  get distanceY() {
1168
1168
  return x - _;
1169
1169
  },
1170
1170
  get euclideanDistance() {
1171
- return pn(h, _, p, x);
1171
+ return pn(p, _, h, x);
1172
1172
  }
1173
1173
  })) {
1174
- m = p, y = x, await z();
1174
+ m = h, y = x, await z();
1175
1175
  return;
1176
1176
  }
1177
- m = p, y = x;
1178
- }, U = async (p) => {
1179
- p.stopPropagation();
1180
- const x = p.touches[0];
1181
- await O(x.clientX, x.clientY);
1182
- }, L = async (p) => {
1183
- 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];
1184
1184
  await q(x.clientX, x.clientY);
1185
1185
  }, ve = () => {
1186
1186
  g = !1;
1187
- }, ye = async (p) => {
1188
- await q(p.clientX, p.clientY);
1189
- }, de = async (p) => {
1190
- 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);
1191
1191
  };
1192
1192
  return c.addEventListener("touchstart", U, {
1193
1193
  passive: !0
1194
1194
  }), c.addEventListener("touchmove", L, {
1195
1195
  passive: !0
1196
- }), c.addEventListener("touchend", I), c.addEventListener("touchcancel", ve), c.addEventListener("mousedown", de), () => {
1197
- 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);
1198
1198
  };
1199
1199
  }, [l, i, o, s]);
1200
1200
  }, no = (n, o) => {
1201
- const i = Le(null), s = Le(null), l = Le(null), c = (h, _) => {
1202
- 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)
1203
1203
  if (_) {
1204
1204
  const m = ([y]) => {
1205
1205
  y.isIntersecting && o();
1206
1206
  };
1207
1207
  s.current = new IntersectionObserver(m, {
1208
- root: h,
1208
+ root: p,
1209
1209
  rootMargin: "0px",
1210
1210
  threshold: 0
1211
1211
  }), s.current.observe(_);
1212
1212
  } else s.current && (s.current.disconnect(), s.current = null);
1213
1213
  }, f = Ae(
1214
- (h) => {
1215
- c(h, l.current);
1214
+ (p) => {
1215
+ c(p, l.current);
1216
1216
  },
1217
1217
  []
1218
1218
  ), g = Ae(
1219
- (h) => {
1220
- c(i.current, h);
1219
+ (p) => {
1220
+ c(i.current, p);
1221
1221
  },
1222
1222
  [i, o]
1223
1223
  );
@@ -1232,8 +1232,8 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1232
1232
  } = {}) => {
1233
1233
  const l = Ae(
1234
1234
  (c) => async ({ deltaX: f, deltaY: g }) => {
1235
- const h = c.scrollWidth - c.clientWidth, _ = c.scrollHeight - c.clientHeight;
1236
- if (h <= 0 && _ <= 0)
1235
+ const p = c.scrollWidth - c.clientWidth, _ = c.scrollHeight - c.clientHeight;
1236
+ if (p <= 0 && _ <= 0)
1237
1237
  return !1;
1238
1238
  const m = or(
1239
1239
  c.clientWidth,
@@ -1241,9 +1241,9 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1241
1241
  ), y = or(
1242
1242
  c.clientHeight,
1243
1243
  o
1244
- ), { translateX: w, translateY: O } = yr(c), I = w + f, z = O + g;
1245
- let q = !1, U = w, L = O;
1246
- 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;
1247
1247
  },
1248
1248
  [o]
1249
1249
  );
@@ -1273,14 +1273,14 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1273
1273
  };
1274
1274
  }, [n, i]);
1275
1275
  }, Cr = gr(void 0), Or = () => {
1276
- const n = Bt(Cr);
1276
+ const n = Yt(Cr);
1277
1277
  if (!n)
1278
1278
  throw new Error(
1279
1279
  "The `useHoneyLayout()` hook must be used inside <HoneyLayoutProvider/> component!"
1280
1280
  );
1281
1281
  return n;
1282
1282
  }, Wn = (n, o) => {
1283
- const { registerOverlay: i, unregisterOverlay: s } = Or(), l = Le(null);
1283
+ const { registerOverlay: i, unregisterOverlay: s } = Or(), l = Se(null);
1284
1284
  return fe(() => {
1285
1285
  if (!n)
1286
1286
  return;
@@ -1300,7 +1300,7 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1300
1300
  s.removeListener("keyup", o);
1301
1301
  };
1302
1302
  }, [s, o]), s;
1303
- }, zn = $e(wt)`
1303
+ }, zn = $e(Tt)`
1304
1304
  overflow: hidden;
1305
1305
  `, Un = $e.div``, so = ({
1306
1306
  children: n,
@@ -1310,30 +1310,30 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1310
1310
  direction: l = "vertical",
1311
1311
  ...c
1312
1312
  }) => {
1313
- const [f, g] = xt(o), h = Le(null);
1314
- Le(-1), f == null || f.length;
1315
- const _ = Ae((m) => (m.parentElement.clientHeight / 2, async ({ deltaX: w, deltaY: O }) => {
1316
- 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;
1317
1317
  return m.style.transform = `translate(${q}px, ${U}px)`, !0;
1318
1318
  }), []);
1319
- return Rr(h, {
1319
+ return Rr(p, {
1320
1320
  onMoveDrag: _
1321
1321
  }), fe(() => {
1322
1322
  }, []), fe(() => {
1323
- const m = h.current;
1323
+ const m = p.current;
1324
1324
  if (!m)
1325
1325
  return;
1326
1326
  const y = m.children[s];
1327
1327
  m.parentElement.clientHeight / 2, y.offsetTop + y.clientHeight / 2;
1328
- }, []), /* @__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) => {
1329
- 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);
1330
1330
  return /* @__PURE__ */ X.jsx(
1331
1331
  Un,
1332
1332
  {
1333
1333
  "aria-current": y === s,
1334
- children: n(m, y, w)
1334
+ children: n(m, y, E)
1335
1335
  },
1336
- String(O)
1336
+ String(j)
1337
1337
  );
1338
1338
  }) }) });
1339
1339
  }, co = ({
@@ -1343,7 +1343,7 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1343
1343
  isAlwaysMounted: s = !1,
1344
1344
  isKeepAfterMount: l = !1
1345
1345
  }) => {
1346
- const [c, f] = xt(s || o), g = Le(void 0);
1346
+ const [c, f] = Bt(s || o), g = Se(void 0);
1347
1347
  return fe(() => {
1348
1348
  if (!(!o || s))
1349
1349
  return clearTimeout(g.current), f(!0), () => {
@@ -1381,52 +1381,51 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1381
1381
  }
1382
1382
  );
1383
1383
  }, Nn = () => {
1384
- const [n, o] = xt([]);
1384
+ const n = Se([]);
1385
1385
  fe(() => {
1386
- if (!n.length)
1387
- return;
1388
- const l = (c) => {
1389
- 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);
1390
1391
  };
1391
- return document.addEventListener("keyup", l), () => {
1392
- document.removeEventListener("keyup", l);
1392
+ return document.addEventListener("keyup", s), () => {
1393
+ document.removeEventListener("keyup", s);
1393
1394
  };
1394
- }, [n]);
1395
- const i = Ae((l) => {
1396
- 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 = {
1397
1398
  current: null
1398
- }, h = {
1399
- containerRef: g,
1400
- id: c,
1401
- setContainerRef: (_) => {
1402
- g.current = _;
1399
+ }, g = {
1400
+ containerRef: f,
1401
+ id: l,
1402
+ setContainerRef: (p) => {
1403
+ f.current = p;
1403
1404
  },
1404
- addListener: (_, m) => {
1405
- f.push([_, m]);
1405
+ addListener: (p, _) => {
1406
+ c.push([p, _]);
1406
1407
  },
1407
- removeListener: (_, m) => {
1408
- const y = f.findIndex(
1409
- ([w, O]) => w === _ && O === m
1408
+ removeListener: (p, _) => {
1409
+ const m = c.findIndex(
1410
+ ([y, E]) => y === p && E === _
1410
1411
  );
1411
- y !== -1 && f.splice(y, 1);
1412
+ m !== -1 && c.splice(m, 1);
1412
1413
  },
1413
- notifyListeners: (_, m, y) => {
1414
- var w;
1415
- (!((w = l.listenKeys) != null && w.length) || l.listenKeys.includes(m)) && (y.preventDefault(), f.forEach(([O, I]) => {
1416
- 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);
1417
1418
  }));
1418
1419
  }
1419
1420
  };
1420
- return o((_) => [..._, h]), h;
1421
- }, []), s = Ae((l) => {
1422
- o(
1423
- (c) => c.filter((f) => f.id !== l)
1424
- );
1421
+ return n.current.push(g), g;
1422
+ }, []), i = Ae((s) => {
1423
+ n.current = n.current.filter((l) => l.id !== s);
1425
1424
  }, []);
1426
1425
  return {
1427
- overlays: n,
1428
- registerOverlay: i,
1429
- unregisterOverlay: s
1426
+ overlays: n.current,
1427
+ registerOverlay: o,
1428
+ unregisterOverlay: i
1430
1429
  };
1431
1430
  }, Yn = ({
1432
1431
  children: n,
@@ -1439,10 +1438,10 @@ const Mn = /* @__PURE__ */ Tr(Dn), Fn = ({
1439
1438
  overlays: l,
1440
1439
  registerOverlay: c,
1441
1440
  unregisterOverlay: f,
1442
- resolveSpacing: (...h) => Tt(...h)({ theme: i }),
1443
- resolveColor: (...h) => mr(...h)({ theme: i }),
1444
- resolveFont: (...h) => bn(...h)({ theme: i }),
1445
- 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 })
1446
1445
  }),
1447
1446
  [i, s, l, c, f]
1448
1447
  );
@@ -1456,16 +1455,16 @@ tt.exports;
1456
1455
  var fr;
1457
1456
  function Bn() {
1458
1457
  return fr || (fr = 1, function(n, o) {
1459
- 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 = {};
1460
- 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;
1461
- 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() {
1462
1461
  try {
1463
- var e = j && j.require && j.require("util").types;
1462
+ var e = P && P.require && P.require("util").types;
1464
1463
  return e || K && K.binding && K.binding("util");
1465
1464
  } catch {
1466
1465
  }
1467
- }(), Ye = Oe && Oe.isTypedArray;
1468
- function Et(e, r, a) {
1466
+ }(), Ye = Pe && Pe.isTypedArray;
1467
+ function wt(e, r, a) {
1469
1468
  switch (a.length) {
1470
1469
  case 0:
1471
1470
  return e.call(r);
@@ -1478,7 +1477,7 @@ function Bn() {
1478
1477
  }
1479
1478
  return e.apply(r, a);
1480
1479
  }
1481
- function St(e, r) {
1480
+ function Et(e, r) {
1482
1481
  for (var a = -1, v = Array(e); ++a < e; )
1483
1482
  v[a] = r(a);
1484
1483
  return v;
@@ -1488,7 +1487,7 @@ function Bn() {
1488
1487
  return e(r);
1489
1488
  };
1490
1489
  }
1491
- function Pe(e, r) {
1490
+ function je(e, r) {
1492
1491
  return e == null ? void 0 : e[r];
1493
1492
  }
1494
1493
  function rt(e, r) {
@@ -1503,17 +1502,17 @@ function Bn() {
1503
1502
  "^" + xe.call(ce).replace(ke, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1504
1503
  ), Fe = J ? ne.Buffer : void 0, Ge = ne.Symbol, Xe = ne.Uint8Array;
1505
1504
  Fe && Fe.allocUnsafe;
1506
- 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() {
1507
1506
  try {
1508
- var e = Ht(Object, "defineProperty");
1507
+ var e = kt(Object, "defineProperty");
1509
1508
  return e({}, "", {}), e;
1510
1509
  } catch {
1511
1510
  }
1512
- }(), 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() {
1513
1512
  function e() {
1514
1513
  }
1515
1514
  return function(r) {
1516
- if (!je(r))
1515
+ if (!Le(r))
1517
1516
  return {};
1518
1517
  if (ct)
1519
1518
  return ct(r);
@@ -1529,14 +1528,14 @@ function Bn() {
1529
1528
  this.set(v[0], v[1]);
1530
1529
  }
1531
1530
  }
1532
- function Pt() {
1531
+ function Ot() {
1533
1532
  this.__data__ = ge ? ge(null) : {}, this.size = 0;
1534
1533
  }
1535
1534
  function lt(e) {
1536
1535
  var r = this.has(e) && delete this.__data__[e];
1537
1536
  return this.size -= r ? 1 : 0, r;
1538
1537
  }
1539
- function jt(e) {
1538
+ function Pt(e) {
1540
1539
  var r = this.__data__;
1541
1540
  if (ge) {
1542
1541
  var a = r[e];
@@ -1552,7 +1551,7 @@ function Bn() {
1552
1551
  var a = this.__data__;
1553
1552
  return this.size += this.has(e) ? 0 : 1, a[e] = ge && r === void 0 ? s : r, this;
1554
1553
  }
1555
- 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;
1556
1555
  function oe(e) {
1557
1556
  var r = -1, a = e == null ? 0 : e.length;
1558
1557
  for (this.clear(); ++r < a; ) {
@@ -1560,7 +1559,7 @@ function Bn() {
1560
1559
  this.set(v[0], v[1]);
1561
1560
  }
1562
1561
  }
1563
- function Lt() {
1562
+ function jt() {
1564
1563
  this.__data__ = [], this.size = 0;
1565
1564
  }
1566
1565
  function pt(e) {
@@ -1568,20 +1567,20 @@ function Bn() {
1568
1567
  if (a < 0)
1569
1568
  return !1;
1570
1569
  var v = r.length - 1;
1571
- 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;
1572
1571
  }
1573
1572
  function ht(e) {
1574
1573
  var r = this.__data__, a = te(r, e);
1575
1574
  return a < 0 ? void 0 : r[a][1];
1576
1575
  }
1577
- function At(e) {
1576
+ function Lt(e) {
1578
1577
  return te(this.__data__, e) > -1;
1579
1578
  }
1580
- function $t(e, r) {
1579
+ function At(e, r) {
1581
1580
  var a = this.__data__, v = te(a, e);
1582
1581
  return v < 0 ? (++this.size, a.push([e, r])) : a[v][1] = r, this;
1583
1582
  }
1584
- 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;
1585
1584
  function Te(e) {
1586
1585
  var r = -1, a = e == null ? 0 : e.length;
1587
1586
  for (this.clear(); ++r < a; ) {
@@ -1589,7 +1588,7 @@ function Bn() {
1589
1588
  this.set(v[0], v[1]);
1590
1589
  }
1591
1590
  }
1592
- function kt() {
1591
+ function $t() {
1593
1592
  this.size = 0, this.__data__ = {
1594
1593
  hash: new ue(),
1595
1594
  map: new (he || oe)(),
@@ -1610,8 +1609,8 @@ function Bn() {
1610
1609
  var a = vt(this, e), v = a.size;
1611
1610
  return a.set(e, r), this.size += a.size == v ? 0 : 1, this;
1612
1611
  }
1613
- Te.prototype.clear = kt, Te.prototype.delete = t, Te.prototype.get = u, Te.prototype.has = d, Te.prototype.set = b;
1614
- 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) {
1615
1614
  var r = this.__data__ = new oe(e);
1616
1615
  this.size = r.size;
1617
1616
  }
@@ -1628,7 +1627,7 @@ function Bn() {
1628
1627
  function B(e) {
1629
1628
  return this.__data__.has(e);
1630
1629
  }
1631
- function M(e, r) {
1630
+ function D(e, r) {
1632
1631
  var a = this.__data__;
1633
1632
  if (a instanceof oe) {
1634
1633
  var v = a.__data__;
@@ -1638,16 +1637,16 @@ function Bn() {
1638
1637
  }
1639
1638
  return a.set(e, r), this.size = a.size, this;
1640
1639
  }
1641
- E.prototype.clear = A, E.prototype.delete = S, E.prototype.get = T, E.prototype.has = B, E.prototype.set = M;
1642
- function W(e, r) {
1643
- 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;
1644
1643
  for (var ie in e)
1645
1644
  k && // Safari 9 has enumerable `arguments.length` in strict mode.
1646
1645
  (ie == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
1647
1646
  R && (ie == "offset" || ie == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1648
1647
  $ && (ie == "buffer" || ie == "byteLength" || ie == "byteOffset") || // Skip index properties.
1649
- Xt(ie, H)) || P.push(ie);
1650
- return P;
1648
+ Xt(ie, H)) || O.push(ie);
1649
+ return O;
1651
1650
  }
1652
1651
  function G(e, r, a) {
1653
1652
  (a !== void 0 && !yt(e[r], a) || a === void 0 && !(r in e)) && N(e, r, a);
@@ -1678,16 +1677,16 @@ function Bn() {
1678
1677
  return Ke(e) && Ue(e) == g;
1679
1678
  }
1680
1679
  function Pr(e) {
1681
- if (!je(e) || Vr(e))
1680
+ if (!Le(e) || Vr(e))
1682
1681
  return !1;
1683
- var r = Wt(e) ? at : He;
1682
+ var r = Ft(e) ? at : He;
1684
1683
  return r.test(Zr(e));
1685
1684
  }
1686
1685
  function jr(e) {
1687
1686
  return Ke(e) && Kt(e.length) && !!C[Ue(e)];
1688
1687
  }
1689
1688
  function Lr(e) {
1690
- if (!je(e))
1689
+ if (!Le(e))
1691
1690
  return Gr(e);
1692
1691
  var r = qt(e), a = [];
1693
1692
  for (var v in e)
@@ -1696,24 +1695,24 @@ function Bn() {
1696
1695
  }
1697
1696
  function Gt(e, r, a, v, R) {
1698
1697
  e !== r && Je(r, function($, k) {
1699
- if (R || (R = new E()), je($))
1698
+ if (R || (R = new w()), Le($))
1700
1699
  Ar(e, r, k, a, Gt, v, R);
1701
1700
  else {
1702
- var P = v ? v(It(e, k), $, k + "", e, r, R) : void 0;
1703
- 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);
1704
1703
  }
1705
1704
  }, Qt);
1706
1705
  }
1707
1706
  function Ar(e, r, a, v, R, $, k) {
1708
- 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);
1709
1708
  if (ie) {
1710
1709
  G(e, a, ie);
1711
1710
  return;
1712
1711
  }
1713
- 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;
1714
1713
  if (Ze) {
1715
- var zt = Mt(H), Ut = !zt && Jt(H), tr = !zt && !Ut && Zt(H);
1716
- 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;
1717
1716
  }
1718
1717
  Ze && (k.set(H, ee), R(ee, H, v, $, k), k.delete(H)), G(e, a, ee);
1719
1718
  }
@@ -1749,8 +1748,8 @@ function Bn() {
1749
1748
  var R = !a;
1750
1749
  a || (a = {});
1751
1750
  for (var $ = -1, k = r.length; ++$ < k; ) {
1752
- var P = r[$], H = void 0;
1753
- 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);
1754
1753
  }
1755
1754
  return a;
1756
1755
  }
@@ -1758,15 +1757,15 @@ function Bn() {
1758
1757
  return $r(function(r, a) {
1759
1758
  var v = -1, R = a.length, $ = R > 1 ? a[R - 1] : void 0, k = R > 2 ? a[2] : void 0;
1760
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; ) {
1761
- var P = a[v];
1762
- P && e(r, P, v, $);
1760
+ var O = a[v];
1761
+ O && e(r, O, v, $);
1763
1762
  }
1764
1763
  return r;
1765
1764
  });
1766
1765
  }
1767
1766
  function zr(e) {
1768
1767
  return function(r, a, v) {
1769
- 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--; ) {
1770
1769
  var H = k[++R];
1771
1770
  if (a($[H], H, $) === !1)
1772
1771
  break;
@@ -1778,8 +1777,8 @@ function Bn() {
1778
1777
  var a = e.__data__;
1779
1778
  return Br(r) ? a[typeof r == "string" ? "string" : "hash"] : a.map;
1780
1779
  }
1781
- function Ht(e, r) {
1782
- var a = Pe(e, r);
1780
+ function kt(e, r) {
1781
+ var a = je(e, r);
1783
1782
  return Pr(a) ? a : void 0;
1784
1783
  }
1785
1784
  function Ur(e) {
@@ -1797,13 +1796,13 @@ function Bn() {
1797
1796
  }
1798
1797
  function Xt(e, r) {
1799
1798
  var a = typeof e;
1800
- 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;
1801
1800
  }
1802
1801
  function Yr(e, r, a) {
1803
- if (!je(a))
1802
+ if (!Le(a))
1804
1803
  return !1;
1805
1804
  var v = typeof r;
1806
- 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;
1807
1806
  }
1808
1807
  function Br(e) {
1809
1808
  var r = typeof e;
@@ -1831,12 +1830,12 @@ function Bn() {
1831
1830
  for (var v = arguments, R = -1, $ = ze(v.length - r, 0), k = Array($); ++R < $; )
1832
1831
  k[R] = v[r + R];
1833
1832
  R = -1;
1834
- for (var P = Array(r + 1); ++R < r; )
1835
- P[R] = v[R];
1836
- 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);
1837
1836
  };
1838
1837
  }
1839
- function It(e, r) {
1838
+ function Ht(e, r) {
1840
1839
  if (!(r === "constructor" && typeof e[r] == "function") && r != "__proto__")
1841
1840
  return e[r];
1842
1841
  }
@@ -1869,28 +1868,28 @@ function Bn() {
1869
1868
  function yt(e, r) {
1870
1869
  return e === r || e !== e && r !== r;
1871
1870
  }
1872
- var Dt = gt(/* @__PURE__ */ function() {
1871
+ var It = gt(/* @__PURE__ */ function() {
1873
1872
  return arguments;
1874
1873
  }()) ? gt : function(e) {
1875
- return Ke(e) && ce.call(e, "callee") && !Rt.call(e, "callee");
1876
- }, Mt = Array.isArray;
1877
- function Ft(e) {
1878
- 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);
1879
1878
  }
1880
1879
  function Qr(e) {
1881
- return Ke(e) && Ft(e);
1880
+ return Ke(e) && Mt(e);
1882
1881
  }
1883
- var Jt = Ot || on;
1884
- function Wt(e) {
1885
- if (!je(e))
1882
+ var Jt = Ct || on;
1883
+ function Ft(e) {
1884
+ if (!Le(e))
1886
1885
  return !1;
1887
1886
  var r = Ue(e);
1888
- return r == O || r == I || r == _ || r == ve;
1887
+ return r == j || r == W || r == _ || r == ve;
1889
1888
  }
1890
1889
  function Kt(e) {
1891
1890
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= f;
1892
1891
  }
1893
- function je(e) {
1892
+ function Le(e) {
1894
1893
  var r = typeof e;
1895
1894
  return e != null && (r == "object" || r == "function");
1896
1895
  }
@@ -1911,7 +1910,7 @@ function Bn() {
1911
1910
  return Fr(e, Qt(e));
1912
1911
  }
1913
1912
  function Qt(e) {
1914
- return Ft(e) ? W(e) : Lr(e);
1913
+ return Mt(e) ? F(e) : Lr(e);
1915
1914
  }
1916
1915
  var rn = Wr(function(e, r, a) {
1917
1916
  Gt(e, r, a);
@@ -1935,7 +1934,7 @@ const Gn = /* @__PURE__ */ Tr(Vn), fo = ({
1935
1934
  theme: n,
1936
1935
  ...o
1937
1936
  }) => {
1938
- const i = Bt(an), s = _t(() => Gn(i, n), [i, n]);
1937
+ const i = Yt(an), s = _t(() => Gn(i, n), [i, n]);
1939
1938
  return /* @__PURE__ */ X.jsx(pr, { theme: s, ...o });
1940
1939
  }, po = ({ durationMs: n, timingFunction: o = "ease-in-out", extraProperties: i = [], activeClassName: s }) => ({ isActive: l = !1 }) => le`
1941
1940
  opacity: ${l ? 1 : 0};
@@ -1953,7 +1952,7 @@ const Gn = /* @__PURE__ */ Tr(Vn), fo = ({
1953
1952
  `}
1954
1953
  `;
1955
1954
  export {
1956
- wt as HoneyBox,
1955
+ Tt as HoneyBox,
1957
1956
  Vt as HoneyFlexBox,
1958
1957
  Ln as HoneyGrid,
1959
1958
  to as HoneyGridColumn,
@@ -1985,12 +1984,12 @@ export {
1985
1984
  yr as getTransformationValues,
1986
1985
  po as honeyVisibilityTransitionEffect,
1987
1986
  ir as media,
1988
- Nt as pxToRem,
1987
+ Ut as pxToRem,
1989
1988
  mr as resolveColor,
1990
1989
  _n as resolveDimension,
1991
1990
  bn as resolveFont,
1992
1991
  ar as resolveScreenState,
1993
- Tt as resolveSpacing,
1992
+ xt as resolveSpacing,
1994
1993
  Qn as searchFlattenedItems,
1995
1994
  Kn as shouldForwardProp,
1996
1995
  rr as splitStringIntoWords,