@react-hive/honey-layout 2.8.0 → 3.0.1

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
- import Re, { css as ye, useTheme as hr, ThemeProvider as gr, ThemeContext as cn } from "styled-components";
2
- import vr, { createContext as yr, forwardRef as mr, useMemo as _t, useContext as Xt, Fragment as un, useState as xt, useEffect as pe, useRef as Le, useCallback as Ae } from "react";
1
+ import Re, { css as pe, useTheme as hr, ThemeProvider as gr, ThemeContext as cn } from "styled-components";
2
+ import vr, { createContext as yr, forwardRef as mr, useMemo as _t, useContext as Xt, Fragment as un, useState as xt, useEffect as he, useRef as Le, useCallback as Ae } from "react";
3
3
  const ln = [
4
4
  'a[href]:not([tabindex="-1"])',
5
5
  'button:not([disabled]):not([tabindex="-1"])',
@@ -21,16 +21,16 @@ var dn = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
21
21
  /* Z+1 */
22
22
  );
23
23
  const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[A-Z]/g, (o) => `-${o.toLowerCase()}`), or = (n) => n.split(" ").filter((o) => o), Vt = (n, o = 16) => `${n / o}rem`, gn = (n, o, i, s) => {
24
- const f = i - n, c = s - o;
25
- return Math.sqrt(f ** 2 + c ** 2);
24
+ const l = i - n, c = s - o;
25
+ return Math.sqrt(l ** 2 + c ** 2);
26
26
  }, ir = (n, o) => Math.abs(n / o), ar = (n, o) => n * o / 100, vn = (n, o) => {
27
27
  if (o < 0 || o > 1)
28
28
  throw new Error(`[honey-layout]: Alpha "${o}" is not a valid hex format.`);
29
29
  const i = /^#?([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/, s = n.match(i);
30
30
  if (!s)
31
31
  throw new Error("[honey-layout]: Invalid hex format.");
32
- const f = s[1], c = f.length === 3 ? f[0] + f[0] + f[1] + f[1] + f[2] + f[2] : f, l = Math.round(o * 255).toString(16).toUpperCase().padStart(2, "0");
33
- return `#${c + l}`;
32
+ const l = s[1], c = l.length === 3 ? l[0] + l[0] + l[1] + l[1] + l[2] + l[2] : l, f = Math.round(o * 255).toString(16).toUpperCase().padStart(2, "0");
33
+ return `#${c + f}`;
34
34
  }, sr = (n) => `@media ${n.map((i) => {
35
35
  const s = [
36
36
  i.width && ["width", i.width],
@@ -44,8 +44,8 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
44
44
  i.maxResolution && ["max-resolution", i.maxResolution],
45
45
  i.resolution && ["resolution", i.resolution],
46
46
  i.update && ["update", i.update]
47
- ].filter(Boolean).map((l) => l && `(${l[0]}: ${l[1]})`).join(" and "), f = i.operator ? `${i.operator} ` : "", c = s ? ` and ${s}` : "";
48
- return `${f}${i.mediaType ?? "screen"}${c}`;
47
+ ].filter(Boolean).map((f) => f && `(${f[0]}: ${f[1]})`).join(" and "), l = i.operator ? `${i.operator} ` : "", c = s ? ` and ${s}` : "";
48
+ return `${l}${i.mediaType ?? "screen"}${c}`;
49
49
  }).join(", ")}`, br = (n) => {
50
50
  const s = window.getComputedStyle(n).getPropertyValue("transform").match(/^matrix\((.+)\)$/);
51
51
  if (!s)
@@ -53,20 +53,20 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
53
53
  translateX: 0,
54
54
  translateY: 0
55
55
  };
56
- const f = s[1].split(", "), c = parseFloat(f[4]), l = parseFloat(f[5]);
56
+ const l = s[1].split(", "), c = parseFloat(l[4]), f = parseFloat(l[5]);
57
57
  return {
58
58
  translateX: c,
59
- translateY: l
59
+ translateY: f
60
60
  };
61
- }, yn = (n, o, i, s = [], f = void 0, c = 0) => (n == null || n.forEach((l) => {
62
- const { [i]: g, ...p } = l, b = l[i], v = Array.isArray(b);
61
+ }, yn = (n, o, i, s = [], l = void 0, c = 0) => (n == null || n.forEach((f) => {
62
+ const { [i]: g, ...p } = f, b = f[i], v = Array.isArray(b);
63
63
  if (s.push({
64
64
  ...p,
65
- parentId: f,
65
+ parentId: l,
66
66
  depthLevel: c,
67
67
  totalNestedItems: v ? b.length : 0
68
68
  }), v) {
69
- const y = l[o];
69
+ const y = f[o];
70
70
  yn(
71
71
  b,
72
72
  o,
@@ -79,29 +79,29 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
79
79
  }), s), Qn = (n, o, i) => n.filter(
80
80
  (s) => s.parentId === o && (!i || i(s))
81
81
  ), eo = (n, o, i, s) => {
82
- const f = or(s.toLowerCase());
83
- if (!f.length)
82
+ const l = or(s.toLowerCase());
83
+ if (!l.length)
84
84
  return n;
85
85
  const c = n.reduce(
86
- (l, g, p) => (l[g[o]] = p, l),
86
+ (f, g, p) => (f[g[o]] = p, f),
87
87
  {}
88
88
  );
89
89
  return n.reduce(
90
- (l, g) => {
90
+ (f, g) => {
91
91
  const p = g[i];
92
- if (!p || l.some(
92
+ if (!p || f.some(
93
93
  (y) => y[o] === g[o]
94
94
  ))
95
- return l;
95
+ return f;
96
96
  const b = or(p.toLowerCase());
97
- if (f.every(
97
+ if (l.every(
98
98
  (y) => b.some((E) => E.startsWith(y))
99
99
  ))
100
100
  if (g.parentId === void 0) {
101
- l.push(g);
101
+ f.push(g);
102
102
  const y = (E) => {
103
103
  E.totalNestedItems && n.forEach((j) => {
104
- j.parentId === E[o] && (l.push(j), y(j));
104
+ j.parentId === E[o] && (f.push(j), y(j));
105
105
  });
106
106
  };
107
107
  y(g);
@@ -109,16 +109,16 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
109
109
  const y = (E) => {
110
110
  const j = c[E.parentId], M = n[j];
111
111
  M.parentId !== void 0 && y(M);
112
- const W = l.length ? l[l.length - 1].parentId : null;
112
+ const W = f.length ? f[f.length - 1].parentId : null;
113
113
  if (W === null || W !== E.parentId) {
114
114
  if (!M)
115
115
  throw new Error("[honey-layout]: Parent item was not found.");
116
- l.push(M);
116
+ f.push(M);
117
117
  }
118
118
  };
119
- y(g), l.push(g);
119
+ y(g), f.push(g);
120
120
  }
121
- return l;
121
+ return f;
122
122
  },
123
123
  []
124
124
  );
@@ -158,21 +158,21 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
158
158
  const n = Date.now().toString(), o = Math.floor(Math.random() * 1e4).toString().padStart(4, "0");
159
159
  return `${n}${o}`;
160
160
  }, Tt = (n, o = "px", i = "base") => ({ theme: s }) => {
161
- const f = s.spacings[i] ?? 0;
161
+ const l = s.spacings[i] ?? 0;
162
162
  if (typeof n == "number") {
163
- const l = n * f;
164
- return o ? `${l}${o}` : l;
163
+ const f = n * l;
164
+ return o ? `${f}${o}` : f;
165
165
  }
166
- return n.map((l) => {
167
- const g = l * f;
166
+ return n.map((f) => {
167
+ const g = f * l;
168
168
  return o ? `${g}${o}` : g;
169
169
  }).join(" ");
170
170
  }, bt = (n, o) => ({ theme: i }) => {
171
- const [s, f] = n.split("."), c = i.colors[s][f];
171
+ const [s, l] = n.split("."), c = i.colors[s][l];
172
172
  return o !== void 0 ? vn(c, o) : c;
173
173
  }, xn = (n) => ({ theme: o }) => {
174
174
  const i = o.fonts[n];
175
- return ye`
175
+ return pe`
176
176
  font-family: ${i.family};
177
177
  font-size: ${Vt(i.size)};
178
178
  font-weight: ${i.weight};
@@ -185,13 +185,13 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
185
185
  return En(n) && (typeof s == "number" || Array.isArray(s)) ? Tt(s, "px") : Sn(n) && typeof s == "string" && wn(s) ? bt(s) : s;
186
186
  }, Cn = (n, o) => Object.entries(n).filter(
187
187
  ([i, s]) => _r(i) && o === "xs" || s && typeof s == "object" && o in s
188
- ), xr = (n) => ({ theme: o, ...i }) => ye`
189
- ${Cn(i, n).map(([s, f]) => {
188
+ ), xr = (n) => ({ theme: o, ...i }) => pe`
189
+ ${Cn(i, n).map(([s, l]) => {
190
190
  const c = s.slice(1);
191
- return ye`
191
+ return pe`
192
192
  ${hn(c)}: ${Rn(
193
193
  c,
194
- f,
194
+ l,
195
195
  n
196
196
  )};
197
197
  `;
@@ -200,10 +200,10 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
200
200
  ([i, s]) => _r(i) && typeof s == "object" && n in s
201
201
  ), Tr = (n, o = {}) => {
202
202
  const i = (c) => {
203
- const l = c.breakpoints[n];
204
- if (!l)
203
+ const f = c.breakpoints[n];
204
+ if (!f)
205
205
  throw new Error(`[honey-layout]: Setup for breakpoint "${n}" was not found.`);
206
- return l;
206
+ return f;
207
207
  };
208
208
  return {
209
209
  down: ({ theme: c }) => sr([
@@ -219,7 +219,7 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
219
219
  }
220
220
  ])
221
221
  };
222
- }, yt = (n) => ({ theme: o, ...i }) => !o.breakpoints[n] || !On(n, i) ? null : ye`
222
+ }, yt = (n) => ({ theme: o, ...i }) => !o.breakpoints[n] || !On(n, i) ? null : pe`
223
223
  ${Tr(n).up} {
224
224
  ${xr(n)};
225
225
  }
@@ -235,10 +235,10 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
235
235
  isLg: !1,
236
236
  isXl: !1
237
237
  };
238
- const f = Object.entries(n).sort(([, l], [, g]) => l - g).map(([l]) => l), c = f.find((l) => {
239
- const g = n[l];
238
+ const l = Object.entries(n).sort(([, f], [, g]) => f - g).map(([f]) => f), c = l.find((f) => {
239
+ const g = n[f];
240
240
  return g ? window.innerWidth < g : !1;
241
- }) ?? f.pop();
241
+ }) ?? l.pop();
242
242
  return {
243
243
  isPortrait: i,
244
244
  isLandscape: s,
@@ -249,7 +249,7 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
249
249
  isXl: c === "xl"
250
250
  };
251
251
  }, Et = Re.div`
252
- ${({ modifiers: n }) => ye`
252
+ ${({ effects: n }) => pe`
253
253
  ${n};
254
254
 
255
255
  ${xr("xs")};
@@ -282,15 +282,15 @@ var ur;
282
282
  function Pn() {
283
283
  if (ur) return Qe;
284
284
  ur = 1;
285
- var n = vr, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, f = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
286
- function l(g, p, b) {
285
+ var n = vr, 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 };
286
+ function f(g, p, b) {
287
287
  var v, y = {}, E = null, j = null;
288
288
  b !== void 0 && (E = "" + b), p.key !== void 0 && (E = "" + p.key), p.ref !== void 0 && (j = p.ref);
289
289
  for (v in p) s.call(p, v) && !c.hasOwnProperty(v) && (y[v] = p[v]);
290
290
  if (g && g.defaultProps) for (v in p = g.defaultProps, p) y[v] === void 0 && (y[v] = p[v]);
291
- return { $$typeof: o, type: g, key: E, ref: j, props: y, _owner: f.current };
291
+ return { $$typeof: o, type: g, key: E, ref: j, props: y, _owner: l.current };
292
292
  }
293
- return Qe.Fragment = i, Qe.jsx = l, Qe.jsxs = l, Qe;
293
+ return Qe.Fragment = i, Qe.jsx = f, Qe.jsxs = f, Qe;
294
294
  }
295
295
  var et = {};
296
296
  /**
@@ -305,7 +305,7 @@ var et = {};
305
305
  var lr;
306
306
  function jn() {
307
307
  return lr || (lr = 1, process.env.NODE_ENV !== "production" && function() {
308
- var n = vr, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), g = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), M = Symbol.iterator, W = "@@iterator";
308
+ var n = vr, 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"), b = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), M = Symbol.iterator, W = "@@iterator";
309
309
  function X(t) {
310
310
  if (t === null || typeof t != "object")
311
311
  return null;
@@ -330,10 +330,10 @@ function jn() {
330
330
  L.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, L);
331
331
  }
332
332
  }
333
- var he = !1, x = !1, _ = !1, C = !1, K = !1, ne;
333
+ var ge = !1, x = !1, _ = !1, C = !1, K = !1, ne;
334
334
  ne = Symbol.for("react.module.reference");
335
335
  function be(t) {
336
- return !!(typeof t == "string" || typeof t == "function" || t === s || t === c || K || t === f || t === b || t === v || C || t === j || he || x || _ || typeof t == "object" && t !== null && (t.$$typeof === E || t.$$typeof === y || t.$$typeof === l || t.$$typeof === g || t.$$typeof === p || // This needs to include all possible module reference object
336
+ return !!(typeof t == "string" || typeof t == "function" || t === s || t === c || K || t === l || t === b || t === v || C || t === j || ge || x || _ || 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
337
337
  // types supported by any Flight configuration anywhere since
338
338
  // we don't know which Flight build this will end up being used
339
339
  // with.
@@ -363,7 +363,7 @@ function jn() {
363
363
  return "Portal";
364
364
  case c:
365
365
  return "Profiler";
366
- case f:
366
+ case l:
367
367
  return "StrictMode";
368
368
  case b:
369
369
  return "Suspense";
@@ -375,7 +375,7 @@ function jn() {
375
375
  case g:
376
376
  var u = t;
377
377
  return B(u) + ".Consumer";
378
- case l:
378
+ case f:
379
379
  var d = t;
380
380
  return B(d._context) + ".Provider";
381
381
  case p:
@@ -394,14 +394,14 @@ function jn() {
394
394
  }
395
395
  return null;
396
396
  }
397
- var q = Object.assign, le = 0, fe, _e, xe, $e, ke, Ce, ge;
397
+ var q = Object.assign, le = 0, fe, _e, xe, $e, ke, Ce, ve;
398
398
  function O() {
399
399
  }
400
400
  O.__reactDisabledLog = !0;
401
401
  function He() {
402
402
  {
403
403
  if (le === 0) {
404
- fe = console.log, _e = console.info, xe = console.warn, $e = console.error, ke = console.group, Ce = console.groupCollapsed, ge = console.groupEnd;
404
+ fe = console.log, _e = console.info, xe = console.warn, $e = console.error, ke = console.group, Ce = console.groupCollapsed, ve = console.groupEnd;
405
405
  var t = {
406
406
  configurable: !0,
407
407
  enumerable: !0,
@@ -449,7 +449,7 @@ function jn() {
449
449
  value: Ce
450
450
  }),
451
451
  groupEnd: q({}, t, {
452
- value: ge
452
+ value: ve
453
453
  })
454
454
  });
455
455
  }
@@ -662,7 +662,7 @@ function jn() {
662
662
  We[d] || (A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', U(Pe.current.type), t.ref), We[d] = !0);
663
663
  }
664
664
  }
665
- function ve(t, u) {
665
+ function ye(t, u) {
666
666
  {
667
667
  var d = function() {
668
668
  Ve || (Ve = !0, A("%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));
@@ -726,7 +726,7 @@ function jn() {
726
726
  }
727
727
  if (T || Y) {
728
728
  var H = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
729
- T && ve(S, H), Y && ze(S, H);
729
+ T && ye(S, H), Y && ze(S, H);
730
730
  }
731
731
  return Pt(t, T, Y, R, m, Pe.current, S);
732
732
  }
@@ -902,12 +902,12 @@ function Ln() {
902
902
  }
903
903
  var G = Ln();
904
904
  const Sr = Re(St)`
905
- ${({ columns: n, takeColumns: o = 1, spacing: i = 0, applyMaxWidth: s, theme: f }) => {
906
- const c = 100 / n, l = Tt(i, null)({ theme: f }), g = o * c, p = (n - o) * (l / n), b = `calc(${g}% - ${p}px)`;
907
- return ye`
905
+ ${({ 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, p = (n - o) * (f / n), b = `calc(${g}% - ${p}px)`;
907
+ return pe`
908
908
  flex-basis: ${b};
909
909
 
910
- ${s && ye`
910
+ ${s && pe`
911
911
  ${Tr(s).up} {
912
912
  max-width: ${b};
913
913
  }
@@ -915,7 +915,7 @@ const Sr = Re(St)`
915
915
  `;
916
916
  }}
917
917
  `, wr = Re(Et)`
918
- ${({ columnHeight: n, minColumnHeight: o, spacing: i = 0 }) => ye`
918
+ ${({ columnHeight: n, minColumnHeight: o, spacing: i = 0 }) => pe`
919
919
  display: flex;
920
920
  gap: ${Tt(i)};
921
921
 
@@ -929,17 +929,17 @@ wr.defaultProps = {
929
929
  $flexWrap: "wrap"
930
930
  };
931
931
  const Rr = yr(void 0), to = mr(
932
- ({ children: n, columns: o, spacing: i, isColumnGrowing: s = !0, applyColumnMaxWidth: f = !1, ...c }, l) => {
932
+ ({ children: n, columns: o, spacing: i, isColumnGrowing: s = !0, applyColumnMaxWidth: l = !1, ...c }, f) => {
933
933
  const g = _t(
934
934
  () => ({
935
935
  columns: o,
936
936
  spacing: i,
937
937
  isColumnGrowing: s,
938
- applyColumnMaxWidth: f
938
+ applyColumnMaxWidth: l
939
939
  }),
940
- [o, i, s, f]
940
+ [o, i, s, l]
941
941
  );
942
- return /* @__PURE__ */ G.jsx(Rr.Provider, { value: g, children: /* @__PURE__ */ G.jsx(wr, { ref: l, spacing: i, "data-testid": "honey-grid", ...c, children: n }) });
942
+ return /* @__PURE__ */ G.jsx(Rr.Provider, { value: g, children: /* @__PURE__ */ G.jsx(wr, { ref: f, spacing: i, "data-testid": "honey-grid", ...c, children: n }) });
943
943
  }
944
944
  ), An = () => {
945
945
  const n = Xt(Rr);
@@ -952,14 +952,14 @@ const Rr = yr(void 0), to = mr(
952
952
  children: n,
953
953
  ...o
954
954
  }) => {
955
- const { columns: i, spacing: s, isColumnGrowing: f, applyColumnMaxWidth: c } = An();
955
+ const { columns: i, spacing: s, isColumnGrowing: l, applyColumnMaxWidth: c } = An();
956
956
  return /* @__PURE__ */ G.jsx(
957
957
  Sr,
958
958
  {
959
959
  columns: i,
960
960
  spacing: s,
961
961
  applyMaxWidth: c,
962
- $flexGrow: f ? 1 : 0,
962
+ $flexGrow: l ? 1 : 0,
963
963
  "data-testid": "honey-grid-column",
964
964
  ...o,
965
965
  children: n
@@ -970,19 +970,19 @@ const Rr = yr(void 0), to = mr(
970
970
  isLoading: o = !1,
971
971
  isError: i = !1,
972
972
  isNoContent: s = !1,
973
- loadingContent: f = null,
973
+ loadingContent: l = null,
974
974
  errorContent: c = null,
975
- noContent: l = null
976
- }) => i ? c : o ? f : s ? l : n, kn = Re(St)`
975
+ noContent: f = null
976
+ }) => i ? c : o ? l : s ? f : n, kn = Re(St)`
977
977
  overflow: hidden auto;
978
978
  `, Hn = ({
979
979
  children: n,
980
980
  items: o,
981
981
  itemKey: i,
982
982
  isLoading: s,
983
- loadingContent: f,
983
+ loadingContent: l,
984
984
  isError: c,
985
- errorContent: l,
985
+ errorContent: f,
986
986
  noContent: g,
987
987
  ...p
988
988
  }, b) => /* @__PURE__ */ G.jsx(
@@ -997,9 +997,9 @@ const Rr = yr(void 0), to = mr(
997
997
  $n,
998
998
  {
999
999
  isLoading: s,
1000
- loadingContent: f,
1000
+ loadingContent: l,
1001
1001
  isError: c,
1002
- errorContent: l,
1002
+ errorContent: f,
1003
1003
  isNoContent: (o == null ? void 0 : o.length) === 0,
1004
1004
  noContent: g,
1005
1005
  children: o == null ? void 0 : o.map((v, y, E) => /* @__PURE__ */ G.jsx(un, { children: n(v, y, E) }, String(Cr(v, i, y))))
@@ -1011,20 +1011,20 @@ var Gt, dr;
1011
1011
  function In() {
1012
1012
  if (dr) return Gt;
1013
1013
  dr = 1;
1014
- var n = "Expected a function", o = NaN, i = "[object Symbol]", s = /^\s+|\s+$/g, f = /^[-+]0x[0-9a-f]+$/i, c = /^0b[01]+$/i, l = /^0o[0-7]+$/i, g = parseInt, p = typeof we == "object" && we && we.Object === Object && we, b = typeof self == "object" && self && self.Object === Object && self, v = p || b || Function("return this")(), y = Object.prototype, E = y.toString, j = Math.max, M = Math.min, W = function() {
1014
+ 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 we == "object" && we && we.Object === Object && we, b = typeof self == "object" && self && self.Object === Object && self, v = p || b || Function("return this")(), y = Object.prototype, E = y.toString, j = Math.max, M = Math.min, W = function() {
1015
1015
  return v.Date.now();
1016
1016
  };
1017
1017
  function X(x, _, C) {
1018
1018
  var K, ne, be, ue, B, U, q = 0, le = !1, fe = !1, _e = !0;
1019
1019
  if (typeof x != "function")
1020
1020
  throw new TypeError(n);
1021
- _ = he(_) || 0, z(C) && (le = !!C.leading, fe = "maxWait" in C, be = fe ? j(he(C.maxWait) || 0, _) : be, _e = "trailing" in C ? !!C.trailing : _e);
1021
+ _ = ge(_) || 0, z(C) && (le = !!C.leading, fe = "maxWait" in C, be = fe ? j(ge(C.maxWait) || 0, _) : be, _e = "trailing" in C ? !!C.trailing : _e);
1022
1022
  function xe(k) {
1023
1023
  var N = K, ee = ne;
1024
1024
  return K = ne = void 0, q = k, ue = x.apply(ee, N), ue;
1025
1025
  }
1026
1026
  function $e(k) {
1027
- return q = k, B = setTimeout(ge, _), le ? xe(k) : ue;
1027
+ return q = k, B = setTimeout(ve, _), le ? xe(k) : ue;
1028
1028
  }
1029
1029
  function ke(k) {
1030
1030
  var N = k - U, ee = k - q, oe = _ - N;
@@ -1034,11 +1034,11 @@ function In() {
1034
1034
  var N = k - U, ee = k - q;
1035
1035
  return U === void 0 || N >= _ || N < 0 || fe && ee >= be;
1036
1036
  }
1037
- function ge() {
1037
+ function ve() {
1038
1038
  var k = W();
1039
1039
  if (Ce(k))
1040
1040
  return O(k);
1041
- B = setTimeout(ge, ke(k));
1041
+ B = setTimeout(ve, ke(k));
1042
1042
  }
1043
1043
  function O(k) {
1044
1044
  return B = void 0, _e && K ? xe(k) : (K = ne = void 0, ue);
@@ -1055,9 +1055,9 @@ function In() {
1055
1055
  if (B === void 0)
1056
1056
  return $e(U);
1057
1057
  if (fe)
1058
- return B = setTimeout(ge, _), xe(U);
1058
+ return B = setTimeout(ve, _), xe(U);
1059
1059
  }
1060
- return B === void 0 && (B = setTimeout(ge, _)), ue;
1060
+ return B === void 0 && (B = setTimeout(ve, _)), ue;
1061
1061
  }
1062
1062
  return Z.cancel = He, Z.flush = Ue, Z;
1063
1063
  }
@@ -1071,7 +1071,7 @@ function In() {
1071
1071
  function me(x) {
1072
1072
  return typeof x == "symbol" || A(x) && E.call(x) == i;
1073
1073
  }
1074
- function he(x) {
1074
+ function ge(x) {
1075
1075
  if (typeof x == "number")
1076
1076
  return x;
1077
1077
  if (me(x))
@@ -1084,7 +1084,7 @@ function In() {
1084
1084
  return x === 0 ? x : +x;
1085
1085
  x = x.replace(s, "");
1086
1086
  var C = c.test(x);
1087
- return C || l.test(x) ? g(x.slice(2), C ? 2 : 8) : f.test(x) ? o : +x;
1087
+ return C || f.test(x) ? g(x.slice(2), C ? 2 : 8) : l.test(x) ? o : +x;
1088
1088
  }
1089
1089
  return Gt = X, Gt;
1090
1090
  }
@@ -1093,24 +1093,24 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
1093
1093
  delay: n = 0,
1094
1094
  overrideScreenState: o
1095
1095
  } = {}) => {
1096
- const i = hr(), [s, f] = xt(() => ({
1096
+ const i = hr(), [s, l] = xt(() => ({
1097
1097
  ...cr(i.breakpoints),
1098
1098
  ...o
1099
1099
  }));
1100
- return pe(() => {
1100
+ return he(() => {
1101
1101
  const c = Mn(() => {
1102
- f({ ...cr(i.breakpoints), ...o });
1102
+ l({ ...cr(i.breakpoints), ...o });
1103
1103
  }, n);
1104
1104
  return c(), window.addEventListener("resize", c), window.screen.orientation.addEventListener("change", c), () => {
1105
1105
  c.cancel(), window.removeEventListener("resize", c), window.screen.orientation.removeEventListener("change", c);
1106
1106
  };
1107
1107
  }, []), s;
1108
- }, Or = (n, { onMoveDrag: o, onStartDrag: i, onEndDrag: s }, { isEnabled: f = !0 } = {}) => {
1109
- pe(() => {
1108
+ }, Or = (n, { onMoveDrag: o, onStartDrag: i, onEndDrag: s }, { isEnabled: l = !0 } = {}) => {
1109
+ he(() => {
1110
1110
  const c = n.current;
1111
- if (!f || !c)
1111
+ if (!l || !c)
1112
1112
  return;
1113
- const l = o(c);
1113
+ const f = o(c);
1114
1114
  let g = !1, p = 0, b = 0, v = 0, y = 0, E = 0;
1115
1115
  const j = (_, C) => {
1116
1116
  i && i(c) === !1 || (g = !0, p = _, b = C, v = _, y = C, E = Date.now());
@@ -1129,11 +1129,11 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
1129
1129
  }, c);
1130
1130
  }
1131
1131
  }, W = () => {
1132
- M(), window.removeEventListener("mousemove", he), window.removeEventListener("mouseup", W);
1132
+ M(), window.removeEventListener("mousemove", ge), window.removeEventListener("mouseup", W);
1133
1133
  }, X = (_, C) => {
1134
1134
  if (!g)
1135
1135
  return;
1136
- if (l({
1136
+ if (f({
1137
1137
  get deltaX() {
1138
1138
  return _ - v;
1139
1139
  },
@@ -1163,10 +1163,10 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
1163
1163
  X(C.clientX, C.clientY);
1164
1164
  }, me = () => {
1165
1165
  g = !1;
1166
- }, he = (_) => {
1166
+ }, ge = (_) => {
1167
1167
  X(_.clientX, _.clientY);
1168
1168
  }, x = (_) => {
1169
- _.stopPropagation(), j(_.clientX, _.clientY), window.addEventListener("mousemove", he), window.addEventListener("mouseup", W);
1169
+ _.stopPropagation(), j(_.clientX, _.clientY), window.addEventListener("mousemove", ge), window.addEventListener("mouseup", W);
1170
1170
  };
1171
1171
  return c.addEventListener("touchstart", z, {
1172
1172
  passive: !0
@@ -1175,10 +1175,10 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
1175
1175
  }), c.addEventListener("touchend", M), c.addEventListener("touchcancel", me), c.addEventListener("mousedown", x), () => {
1176
1176
  c.removeEventListener("touchstart", z), c.removeEventListener("touchmove", A), c.removeEventListener("touchend", M), c.removeEventListener("touchcancel", me), c.removeEventListener("mousedown", x);
1177
1177
  };
1178
- }, [f, i, o, s]);
1178
+ }, [l, i, o, s]);
1179
1179
  }, oo = (n, o) => {
1180
- const i = Le(null), s = Le(null), f = Le(null), c = (p, b) => {
1181
- if (i.current = p, f.current = b, !!p)
1180
+ const i = Le(null), s = Le(null), l = Le(null), c = (p, b) => {
1181
+ if (i.current = p, l.current = b, !!p)
1182
1182
  if (b) {
1183
1183
  const v = ([y]) => {
1184
1184
  y.isIntersecting && o();
@@ -1189,9 +1189,9 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
1189
1189
  threshold: 0
1190
1190
  }), s.current.observe(b);
1191
1191
  } else s.current && (s.current.disconnect(), s.current = null);
1192
- }, l = Ae(
1192
+ }, f = Ae(
1193
1193
  (p) => {
1194
- c(p, f.current);
1194
+ c(p, l.current);
1195
1195
  },
1196
1196
  []
1197
1197
  ), g = Ae(
@@ -1201,7 +1201,7 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
1201
1201
  [i, o]
1202
1202
  );
1203
1203
  return {
1204
- scrollableContainerRef: l,
1204
+ scrollableContainerRef: f,
1205
1205
  targetRef: g
1206
1206
  };
1207
1207
  }, io = (n, {
@@ -1209,8 +1209,8 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
1209
1209
  onStartDrag: i,
1210
1210
  onEndDrag: s
1211
1211
  } = {}) => {
1212
- const f = Ae(
1213
- (c) => ({ deltaX: l, deltaY: g }) => {
1212
+ const l = Ae(
1213
+ (c) => ({ deltaX: f, deltaY: g }) => {
1214
1214
  const p = c.scrollWidth - c.clientWidth, b = c.scrollHeight - c.clientHeight;
1215
1215
  if (p <= 0 && b <= 0)
1216
1216
  return;
@@ -1220,32 +1220,32 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
1220
1220
  ), y = ar(
1221
1221
  c.clientHeight,
1222
1222
  o
1223
- ), { translateX: E, translateY: j } = br(c), M = E + l, W = j + g;
1223
+ ), { translateX: E, translateY: j } = br(c), M = E + f, W = j + g;
1224
1224
  let X = !1, z = E, A = j;
1225
- (l < 0 && M >= (p + v) * -1 || l > 0 && M <= v) && (z = M, X = !0), (g < 0 && W >= (b + y) * -1 || g > 0 && W <= y) && (A = W, X = !0), X && (c.style.transform = `translate(${z}px, ${A}px)`);
1225
+ (f < 0 && M >= (p + v) * -1 || f > 0 && M <= v) && (z = M, X = !0), (g < 0 && W >= (b + y) * -1 || g > 0 && W <= y) && (A = W, X = !0), X && (c.style.transform = `translate(${z}px, ${A}px)`);
1226
1226
  },
1227
1227
  [o]
1228
1228
  );
1229
1229
  Or(n, {
1230
1230
  onStartDrag: i,
1231
- onMoveDrag: f,
1231
+ onMoveDrag: l,
1232
1232
  onEndDrag: s
1233
- }), pe(() => {
1233
+ }), he(() => {
1234
1234
  const c = () => {
1235
- var l;
1236
- (l = n.current) == null || l.style.removeProperty("transform");
1235
+ var f;
1236
+ (f = n.current) == null || f.style.removeProperty("transform");
1237
1237
  };
1238
1238
  return window.addEventListener("resize", c), () => {
1239
1239
  window.removeEventListener("resize", c);
1240
1240
  };
1241
1241
  }, []);
1242
1242
  }, ao = (n, o, { isEnabled: i = !0 } = {}) => {
1243
- pe(() => {
1243
+ he(() => {
1244
1244
  if (!i)
1245
1245
  return;
1246
- const s = (f) => {
1247
- const c = f.code;
1248
- o.includes(c) && (f.preventDefault(), n(c, f));
1246
+ const s = (l) => {
1247
+ const c = l.code;
1248
+ o.includes(c) && (l.preventDefault(), n(c, l));
1249
1249
  };
1250
1250
  return document.addEventListener("keyup", s), () => {
1251
1251
  document.removeEventListener("keyup", s);
@@ -1259,21 +1259,21 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
1259
1259
  );
1260
1260
  return n;
1261
1261
  }, Wn = (n, o) => {
1262
- const { registerOverlay: i, unregisterOverlay: s } = jr(), f = Le(null);
1263
- return pe(() => {
1262
+ const { registerOverlay: i, unregisterOverlay: s } = jr(), l = Le(null);
1263
+ return he(() => {
1264
1264
  if (!n)
1265
1265
  return;
1266
1266
  const c = i(o);
1267
- return f.current = c, () => {
1268
- f.current = null, s(c.id);
1267
+ return l.current = c, () => {
1268
+ l.current = null, s(c.id);
1269
1269
  };
1270
- }, [n, o.onKeyUp]), f.current;
1270
+ }, [n, o.onKeyUp]), l.current;
1271
1271
  }, so = (n, { onKeyUp: o } = {}) => {
1272
1272
  const { overlays: i } = jr(), s = _t(
1273
- () => i.find((f) => f.id === n),
1273
+ () => i.find((l) => l.id === n),
1274
1274
  [i, n]
1275
1275
  );
1276
- return pe(() => {
1276
+ return he(() => {
1277
1277
  if (!(!s || !o))
1278
1278
  return s.addListener("keyup", o), () => {
1279
1279
  s.removeListener("keyup", o);
@@ -1286,25 +1286,25 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
1286
1286
  items: o,
1287
1287
  itemKey: i,
1288
1288
  activeItemIndex: s,
1289
- direction: f = "vertical",
1289
+ direction: l = "vertical",
1290
1290
  ...c
1291
1291
  }) => {
1292
- const [l, g] = xt(o), p = Le(null);
1293
- Le(-1), l == null || l.length;
1292
+ const [f, g] = xt(o), p = Le(null);
1293
+ Le(-1), f == null || f.length;
1294
1294
  const b = Ae((v) => (v.parentElement.clientHeight / 2, ({ deltaX: E, deltaY: j }) => {
1295
- const { translateX: M, translateY: W } = br(v), X = f === "horizontal" ? M + E : 0, z = f === "vertical" ? W + j : 0;
1295
+ const { translateX: M, translateY: W } = br(v), X = l === "horizontal" ? M + E : 0, z = l === "vertical" ? W + j : 0;
1296
1296
  v.style.transform = `translate(${X}px, ${z}px)`;
1297
1297
  }), []);
1298
1298
  return Or(p, {
1299
1299
  onMoveDrag: b
1300
- }), pe(() => {
1301
- }, []), pe(() => {
1300
+ }), he(() => {
1301
+ }, []), he(() => {
1302
1302
  const v = p.current;
1303
1303
  if (!v)
1304
1304
  return;
1305
1305
  const y = v.children[s];
1306
1306
  v.parentElement.clientHeight / 2, y.offsetTop + y.clientHeight / 2;
1307
- }, []), /* @__PURE__ */ G.jsx(Et, { $overflow: "hidden", "data-testid": "honey-looping-list-container", ...c, children: /* @__PURE__ */ G.jsx(Lr, { ref: p, "data-testid": "honey-looping-list", children: l == null ? void 0 : l.map((v, y, E) => {
1307
+ }, []), /* @__PURE__ */ G.jsx(Et, { $overflow: "hidden", "data-testid": "honey-looping-list-container", ...c, children: /* @__PURE__ */ G.jsx(Lr, { ref: p, "data-testid": "honey-looping-list", children: f == null ? void 0 : f.map((v, y, E) => {
1308
1308
  const j = Cr(v, i, y);
1309
1309
  return /* @__PURE__ */ G.jsx(
1310
1310
  zn,
@@ -1358,13 +1358,13 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
1358
1358
  isMount: o,
1359
1359
  unmountDelay: i,
1360
1360
  isAlwaysMounted: s = !1,
1361
- isKeepAfterMount: f = !1
1361
+ isKeepAfterMount: l = !1
1362
1362
  }) => {
1363
- const [c, l] = xt(s || o), g = Le(void 0);
1364
- return pe(() => {
1363
+ const [c, f] = xt(s || o), g = Le(void 0);
1364
+ return he(() => {
1365
1365
  if (!(!o || s))
1366
- return clearTimeout(g.current), l(!0), () => {
1367
- f || (g.current = setTimeout(() => l(!1), i));
1366
+ return clearTimeout(g.current), f(!0), () => {
1367
+ l || (g.current = setTimeout(() => f(!1), i));
1368
1368
  };
1369
1369
  }, [o]), c ? n : null;
1370
1370
  }, lo = ({
@@ -1372,35 +1372,35 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
1372
1372
  isActive: o,
1373
1373
  overlayId: i,
1374
1374
  onDeactivate: s,
1375
- ...f
1375
+ ...l
1376
1376
  }) => {
1377
1377
  const c = Wn(o, {
1378
1378
  id: i,
1379
1379
  onKeyUp: Ae(
1380
- (l) => {
1381
- l === "Escape" && s();
1380
+ (f) => {
1381
+ f === "Escape" && s();
1382
1382
  },
1383
1383
  [s]
1384
1384
  )
1385
1385
  });
1386
- return /* @__PURE__ */ G.jsx(St, { ref: c == null ? void 0 : c.setContainerRef, "aria-hidden": !o, ...f, children: typeof n == "function" ? n({
1386
+ return /* @__PURE__ */ G.jsx(St, { ref: c == null ? void 0 : c.setContainerRef, "aria-hidden": !o, ...l, children: typeof n == "function" ? n({
1387
1387
  overlay: c,
1388
1388
  deactivateOverlay: s
1389
1389
  }) : n });
1390
1390
  }, Yn = () => {
1391
1391
  const [n, o] = xt([]);
1392
- pe(() => {
1392
+ he(() => {
1393
1393
  if (!n.length)
1394
1394
  return;
1395
- const f = (c) => {
1395
+ const l = (c) => {
1396
1396
  n[n.length - 1].notifyListeners("keyup", c.code, c);
1397
1397
  };
1398
- return document.addEventListener("keyup", f), () => {
1399
- document.removeEventListener("keyup", f);
1398
+ return document.addEventListener("keyup", l), () => {
1399
+ document.removeEventListener("keyup", l);
1400
1400
  };
1401
1401
  }, [n]);
1402
- const i = Ae((f) => {
1403
- const c = f.id ?? _n(), l = [["keyup", f.onKeyUp]], g = {
1402
+ const i = Ae((l) => {
1403
+ const c = l.id ?? _n(), f = [["keyup", l.onKeyUp]], g = {
1404
1404
  current: null
1405
1405
  }, p = {
1406
1406
  containerRef: g,
@@ -1409,25 +1409,25 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
1409
1409
  g.current = b;
1410
1410
  },
1411
1411
  addListener: (b, v) => {
1412
- l.push([b, v]);
1412
+ f.push([b, v]);
1413
1413
  },
1414
1414
  removeListener: (b, v) => {
1415
- const y = l.findIndex(
1415
+ const y = f.findIndex(
1416
1416
  ([E, j]) => E === b && j === v
1417
1417
  );
1418
- y !== -1 && l.splice(y, 1);
1418
+ y !== -1 && f.splice(y, 1);
1419
1419
  },
1420
1420
  notifyListeners: (b, v, y) => {
1421
1421
  var E;
1422
- (!((E = f.listenKeys) != null && E.length) || f.listenKeys.includes(v)) && (y.preventDefault(), l.forEach(([j, M]) => {
1422
+ (!((E = l.listenKeys) != null && E.length) || l.listenKeys.includes(v)) && (y.preventDefault(), f.forEach(([j, M]) => {
1423
1423
  j === b && M(v, p, y);
1424
1424
  }));
1425
1425
  }
1426
1426
  };
1427
1427
  return o((b) => [...b, p]), p;
1428
- }, []), s = Ae((f) => {
1428
+ }, []), s = Ae((l) => {
1429
1429
  o(
1430
- (c) => c.filter((l) => l.id !== f)
1430
+ (c) => c.filter((f) => f.id !== l)
1431
1431
  );
1432
1432
  }, []);
1433
1433
  return {
@@ -1439,19 +1439,19 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
1439
1439
  children: n,
1440
1440
  mediaQueryOptions: o
1441
1441
  }) => {
1442
- const i = hr(), s = Fn(o), { overlays: f, registerOverlay: c, unregisterOverlay: l } = Yn(), g = _t(
1442
+ const i = hr(), s = Fn(o), { overlays: l, registerOverlay: c, unregisterOverlay: f } = Yn(), g = _t(
1443
1443
  () => ({
1444
1444
  theme: i,
1445
1445
  screenState: s,
1446
- overlays: f,
1446
+ overlays: l,
1447
1447
  registerOverlay: c,
1448
- unregisterOverlay: l,
1448
+ unregisterOverlay: f,
1449
1449
  resolveSpacing: (...p) => Tt(...p)({ theme: i }),
1450
1450
  resolveColor: (...p) => bt(...p)({ theme: i }),
1451
1451
  resolveFont: (...p) => xn(...p)({ theme: i }),
1452
1452
  resolveDimension: (...p) => Tn(...p)({ theme: i })
1453
1453
  }),
1454
- [i, s, f, c, l]
1454
+ [i, s, l, c, f]
1455
1455
  );
1456
1456
  return /* @__PURE__ */ G.jsx(Pr.Provider, { value: g, children: n });
1457
1457
  }, fo = ({
@@ -1463,8 +1463,8 @@ tt.exports;
1463
1463
  var pr;
1464
1464
  function Vn() {
1465
1465
  return pr || (pr = 1, function(n, o) {
1466
- var i = 200, s = "__lodash_hash_undefined__", f = 800, c = 16, l = 9007199254740991, g = "[object Arguments]", p = "[object Array]", b = "[object AsyncFunction]", v = "[object Boolean]", y = "[object Date]", E = "[object Error]", j = "[object Function]", M = "[object GeneratorFunction]", W = "[object Map]", X = "[object Number]", z = "[object Null]", A = "[object Object]", me = "[object Proxy]", he = "[object RegExp]", x = "[object Set]", _ = "[object String]", C = "[object Undefined]", K = "[object WeakMap]", ne = "[object ArrayBuffer]", be = "[object DataView]", ue = "[object Float32Array]", B = "[object Float64Array]", U = "[object Int8Array]", q = "[object Int16Array]", le = "[object Int32Array]", fe = "[object Uint8Array]", _e = "[object Uint8ClampedArray]", xe = "[object Uint16Array]", $e = "[object Uint32Array]", ke = /[\\^$.*+?()[\]{}|]/g, Ce = /^\[object .+?Constructor\]$/, ge = /^(?:0|[1-9]\d*)$/, O = {};
1467
- O[ue] = O[B] = O[U] = O[q] = O[le] = O[fe] = O[_e] = O[xe] = O[$e] = !0, O[g] = O[p] = O[ne] = O[v] = O[be] = O[y] = O[E] = O[j] = O[W] = O[X] = O[A] = O[he] = O[x] = O[_] = O[K] = !1;
1466
+ var i = 200, s = "__lodash_hash_undefined__", l = 800, c = 16, f = 9007199254740991, g = "[object Arguments]", p = "[object Array]", b = "[object AsyncFunction]", v = "[object Boolean]", y = "[object Date]", E = "[object Error]", j = "[object Function]", M = "[object GeneratorFunction]", W = "[object Map]", X = "[object Number]", z = "[object Null]", A = "[object Object]", me = "[object Proxy]", ge = "[object RegExp]", x = "[object Set]", _ = "[object String]", C = "[object Undefined]", K = "[object WeakMap]", ne = "[object ArrayBuffer]", be = "[object DataView]", ue = "[object Float32Array]", B = "[object Float64Array]", U = "[object Int8Array]", q = "[object Int16Array]", le = "[object Int32Array]", fe = "[object Uint8Array]", _e = "[object Uint8ClampedArray]", xe = "[object Uint16Array]", $e = "[object Uint32Array]", ke = /[\\^$.*+?()[\]{}|]/g, Ce = /^\[object .+?Constructor\]$/, ve = /^(?:0|[1-9]\d*)$/, O = {};
1467
+ O[ue] = O[B] = O[U] = O[q] = O[le] = O[fe] = O[_e] = O[xe] = O[$e] = !0, O[g] = O[p] = O[ne] = O[v] = O[be] = O[y] = O[E] = O[j] = O[W] = O[X] = O[A] = O[ge] = O[x] = O[_] = O[K] = !1;
1468
1468
  var He = typeof we == "object" && we && we.Object === Object && we, Ue = typeof self == "object" && self && self.Object === Object && self, Z = He || Ue || Function("return this")(), k = o && !o.nodeType && o, N = k && !0 && n && !n.nodeType && n, ee = N && N.exports === k, oe = ee && He.process, rt = function() {
1469
1469
  try {
1470
1470
  var e = N && N.require && N.require("util").types;
@@ -1510,7 +1510,7 @@ function Vn() {
1510
1510
  "^" + Te.call(de).replace(ke, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1511
1511
  ), Fe = ee ? Z.Buffer : void 0, Ve = Z.Symbol, Ge = Z.Uint8Array;
1512
1512
  Fe && Fe.allocUnsafe;
1513
- var We = nt(Object.getPrototypeOf, Object), st = Object.create, Ct = Me.propertyIsEnumerable, Ot = ot.splice, ve = Ve ? Ve.toStringTag : void 0, ze = function() {
1513
+ var We = nt(Object.getPrototypeOf, Object), st = Object.create, Ct = Me.propertyIsEnumerable, Ot = ot.splice, ye = Ve ? Ve.toStringTag : void 0, ze = function() {
1514
1514
  try {
1515
1515
  var e = Mt(Object, "defineProperty");
1516
1516
  return e({}, "", {}), e;
@@ -1679,7 +1679,7 @@ function Vn() {
1679
1679
  }
1680
1680
  var V = Nr();
1681
1681
  function Se(e) {
1682
- return e == null ? e === void 0 ? C : z : ve && ve in Object(e) ? Yr(e) : Kr(e);
1682
+ return e == null ? e === void 0 ? C : z : ye && ye in Object(e) ? Yr(e) : Kr(e);
1683
1683
  }
1684
1684
  function ht(e) {
1685
1685
  return Je(e) && Se(e) == g;
@@ -1790,21 +1790,21 @@ function Vn() {
1790
1790
  return Dt(a) ? a : void 0;
1791
1791
  }
1792
1792
  function Yr(e) {
1793
- var r = de.call(e, ve), a = e[ve];
1793
+ var r = de.call(e, ye), a = e[ye];
1794
1794
  try {
1795
- e[ve] = void 0;
1795
+ e[ye] = void 0;
1796
1796
  var h = !0;
1797
1797
  } catch {
1798
1798
  }
1799
1799
  var w = Be.call(e);
1800
- return h && (r ? e[ve] = a : delete e[ve]), w;
1800
+ return h && (r ? e[ye] = a : delete e[ye]), w;
1801
1801
  }
1802
1802
  function Br(e) {
1803
1803
  return typeof e.constructor == "function" && !Jt(e) ? Ke(We(e)) : {};
1804
1804
  }
1805
1805
  function Kt(e, r) {
1806
1806
  var a = typeof e;
1807
- return r = r ?? l, !!r && (a == "number" || a != "symbol" && ge.test(e)) && e > -1 && e % 1 == 0 && e < r;
1807
+ return r = r ?? f, !!r && (a == "number" || a != "symbol" && ve.test(e)) && e > -1 && e % 1 == 0 && e < r;
1808
1808
  }
1809
1809
  function Vr(e, r, a) {
1810
1810
  if (!je(a))
@@ -1853,7 +1853,7 @@ function Vn() {
1853
1853
  return function() {
1854
1854
  var h = Xe(), w = c - (h - a);
1855
1855
  if (a = h, w > 0) {
1856
- if (++r >= f)
1856
+ if (++r >= l)
1857
1857
  return arguments[0];
1858
1858
  } else
1859
1859
  r = 0;
@@ -1895,7 +1895,7 @@ function Vn() {
1895
1895
  return r == j || r == M || r == b || r == me;
1896
1896
  }
1897
1897
  function Qt(e) {
1898
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= l;
1898
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= f;
1899
1899
  }
1900
1900
  function je(e) {
1901
1901
  var r = typeof e;
@@ -1944,13 +1944,20 @@ const Xn = /* @__PURE__ */ Er(Gn), po = ({
1944
1944
  }) => {
1945
1945
  const i = Xt(cn), s = _t(() => Xn(i, n), [i, n]);
1946
1946
  return /* @__PURE__ */ G.jsx(gr, { theme: s, ...o });
1947
- }, ho = ({ durationMs: n, timingFunction: o = "ease-in-out", extraProperties: i = [] }) => ({ isActive: s = !1 }) => ye`
1948
- opacity: ${s ? 1 : 0};
1949
- visibility: ${s ? "visible" : "hidden"};
1947
+ }, ho = ({ durationMs: n, timingFunction: o = "ease-in-out", extraProperties: i = [], activeClassName: s }) => ({ isActive: l = !1 }) => pe`
1948
+ opacity: ${l ? 1 : 0};
1949
+ visibility: ${l ? "visible" : "hidden"};
1950
1950
 
1951
1951
  transition-property: ${["opacity", "visibility", ...i].join(", ")};
1952
1952
  transition-duration: ${n}ms;
1953
1953
  transition-timing-function: ${Array.isArray(o) ? o.join(", ") : o};
1954
+
1955
+ ${s && pe`
1956
+ &.${s} {
1957
+ opacity: 1;
1958
+ visibility: visible;
1959
+ }
1960
+ `}
1954
1961
  `;
1955
1962
  export {
1956
1963
  Et as HoneyBox,
@@ -1983,7 +1990,7 @@ export {
1983
1990
  Jn as getFocusableHTMLElements,
1984
1991
  Cr as getHoneyListItemId,
1985
1992
  br as getTransformationValues,
1986
- ho as honeyVisibilityTransitionModifier,
1993
+ ho as honeyVisibilityTransitionEffect,
1987
1994
  sr as media,
1988
1995
  Vt as pxToRem,
1989
1996
  bt as resolveColor,