@latte-macchiat-io/latte-vanilla-components 0.0.119 → 0.0.121

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -43,8 +43,8 @@ var Oa = /* @__PURE__ */ function() {
43
43
  return (r = i.parentNode) == null ? void 0 : r.removeChild(i);
44
44
  }), this.tags = [], this.ctr = 0;
45
45
  }, t;
46
- }(), tt = "-ms-", en = "-moz-", F = "-webkit-", Ms = "comm", ci = "rule", ui = "decl", ka = "@import", Ds = "@keyframes", Fa = "@layer", Ia = Math.abs, hn = String.fromCharCode, Ba = Object.assign;
47
- function $a(t, e) {
46
+ }(), tt = "-ms-", en = "-moz-", F = "-webkit-", Ms = "comm", ci = "rule", ui = "decl", ka = "@import", Ds = "@keyframes", Fa = "@layer", Ia = Math.abs, hn = String.fromCharCode, $a = Object.assign;
47
+ function Ba(t, e) {
48
48
  return J(t, 0) ^ 45 ? (((e << 2 ^ J(t, 0)) << 2 ^ J(t, 1)) << 2 ^ J(t, 2)) << 2 ^ J(t, 3) : 0;
49
49
  }
50
50
  function Ls(t) {
@@ -82,7 +82,7 @@ function mn(t, e, n, i, r, o, s) {
82
82
  return { value: t, root: e, parent: n, type: i, props: r, children: o, line: pn, column: oe, length: s, return: "" };
83
83
  }
84
84
  function me(t, e) {
85
- return Ba(mn("", null, null, "", null, null, 0), t, { length: -t.length }, e);
85
+ return $a(mn("", null, null, "", null, null, 0), t, { length: -t.length }, e);
86
86
  }
87
87
  function Na() {
88
88
  return Y;
@@ -99,7 +99,7 @@ function Vt() {
99
99
  function Ye() {
100
100
  return dt;
101
101
  }
102
- function Be(t, e) {
102
+ function $e(t, e) {
103
103
  return Ve(fe, t, e);
104
104
  }
105
105
  function Ee(t) {
@@ -147,7 +147,7 @@ function Fs(t) {
147
147
  return fe = "", t;
148
148
  }
149
149
  function qe(t) {
150
- return Ls(Be(dt - 1, _n(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
150
+ return Ls($e(dt - 1, _n(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
151
151
  }
152
152
  function za(t) {
153
153
  for (; (Y = Vt()) && Y < 33; )
@@ -157,7 +157,7 @@ function za(t) {
157
157
  function Wa(t, e) {
158
158
  for (; --e && mt() && !(Y < 48 || Y > 102 || Y > 57 && Y < 65 || Y > 70 && Y < 97); )
159
159
  ;
160
- return Be(t, Ye() + (e < 6 && Vt() == 32 && mt() == 32));
160
+ return $e(t, Ye() + (e < 6 && Vt() == 32 && mt() == 32));
161
161
  }
162
162
  function _n(t) {
163
163
  for (; mt(); )
@@ -185,12 +185,12 @@ function Ga(t, e) {
185
185
  for (; mt() && t + Y !== 57; )
186
186
  if (t + Y === 84 && Vt() === 47)
187
187
  break;
188
- return "/*" + Be(e, dt - 1) + "*" + hn(t === 47 ? t : mt());
188
+ return "/*" + $e(e, dt - 1) + "*" + hn(t === 47 ? t : mt());
189
189
  }
190
190
  function Ka(t) {
191
191
  for (; !Ee(Vt()); )
192
192
  mt();
193
- return Be(t, dt);
193
+ return $e(t, dt);
194
194
  }
195
195
  function Ha(t) {
196
196
  return Fs(Xe("", null, null, null, [""], t = ks(t), 0, [0], t));
@@ -356,7 +356,7 @@ function Ja(t) {
356
356
  var Qa = function(e, n, i) {
357
357
  for (var r = 0, o = 0; r = o, o = Vt(), r === 38 && o === 12 && (n[i] = 1), !Ee(o); )
358
358
  mt();
359
- return Be(e, dt);
359
+ return $e(e, dt);
360
360
  }, tl = function(e, n) {
361
361
  var i = -1, r = 44;
362
362
  do
@@ -402,7 +402,7 @@ var Qa = function(e, n, i) {
402
402
  }
403
403
  };
404
404
  function Is(t, e) {
405
- switch ($a(t, e)) {
405
+ switch (Ba(t, e)) {
406
406
  // color-adjust
407
407
  case 5103:
408
408
  return F + "print-" + t + t;
@@ -644,7 +644,7 @@ function ll(t) {
644
644
  });
645
645
  }), n;
646
646
  }
647
- var ze = { exports: {} }, B = {};
647
+ var ze = { exports: {} }, $ = {};
648
648
  /** @license React v16.13.1
649
649
  * react-is.production.min.js
650
650
  *
@@ -655,7 +655,7 @@ var ze = { exports: {} }, B = {};
655
655
  */
656
656
  var Xi;
657
657
  function cl() {
658
- if (Xi) return B;
658
+ if (Xi) return $;
659
659
  Xi = 1;
660
660
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, r = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, d = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, p = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, S = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
661
661
  function T(m) {
@@ -691,35 +691,35 @@ function cl() {
691
691
  function V(m) {
692
692
  return T(m) === c;
693
693
  }
694
- return B.AsyncMode = l, B.ConcurrentMode = c, B.ContextConsumer = a, B.ContextProvider = s, B.Element = e, B.ForwardRef = u, B.Fragment = i, B.Lazy = p, B.Memo = h, B.Portal = n, B.Profiler = o, B.StrictMode = r, B.Suspense = f, B.isAsyncMode = function(m) {
694
+ return $.AsyncMode = l, $.ConcurrentMode = c, $.ContextConsumer = a, $.ContextProvider = s, $.Element = e, $.ForwardRef = u, $.Fragment = i, $.Lazy = p, $.Memo = h, $.Portal = n, $.Profiler = o, $.StrictMode = r, $.Suspense = f, $.isAsyncMode = function(m) {
695
695
  return V(m) || T(m) === l;
696
- }, B.isConcurrentMode = V, B.isContextConsumer = function(m) {
696
+ }, $.isConcurrentMode = V, $.isContextConsumer = function(m) {
697
697
  return T(m) === a;
698
- }, B.isContextProvider = function(m) {
698
+ }, $.isContextProvider = function(m) {
699
699
  return T(m) === s;
700
- }, B.isElement = function(m) {
700
+ }, $.isElement = function(m) {
701
701
  return typeof m == "object" && m !== null && m.$$typeof === e;
702
- }, B.isForwardRef = function(m) {
702
+ }, $.isForwardRef = function(m) {
703
703
  return T(m) === u;
704
- }, B.isFragment = function(m) {
704
+ }, $.isFragment = function(m) {
705
705
  return T(m) === i;
706
- }, B.isLazy = function(m) {
706
+ }, $.isLazy = function(m) {
707
707
  return T(m) === p;
708
- }, B.isMemo = function(m) {
708
+ }, $.isMemo = function(m) {
709
709
  return T(m) === h;
710
- }, B.isPortal = function(m) {
710
+ }, $.isPortal = function(m) {
711
711
  return T(m) === n;
712
- }, B.isProfiler = function(m) {
712
+ }, $.isProfiler = function(m) {
713
713
  return T(m) === o;
714
- }, B.isStrictMode = function(m) {
714
+ }, $.isStrictMode = function(m) {
715
715
  return T(m) === r;
716
- }, B.isSuspense = function(m) {
716
+ }, $.isSuspense = function(m) {
717
717
  return T(m) === f;
718
- }, B.isValidElementType = function(m) {
718
+ }, $.isValidElementType = function(m) {
719
719
  return typeof m == "string" || typeof m == "function" || m === i || m === c || m === o || m === r || m === f || m === d || typeof m == "object" && m !== null && (m.$$typeof === p || m.$$typeof === h || m.$$typeof === s || m.$$typeof === a || m.$$typeof === u || m.$$typeof === S || m.$$typeof === v || m.$$typeof === w || m.$$typeof === g);
720
- }, B.typeOf = T, B;
720
+ }, $.typeOf = T, $;
721
721
  }
722
- var $ = {};
722
+ var B = {};
723
723
  /** @license React v16.13.1
724
724
  * react-is.development.js
725
725
  *
@@ -787,13 +787,13 @@ function ul() {
787
787
  function gt(R) {
788
788
  return V(R) === u;
789
789
  }
790
- function Bt(R) {
790
+ function $t(R) {
791
791
  return V(R) === i;
792
792
  }
793
793
  function pt(R) {
794
794
  return V(R) === p;
795
795
  }
796
- function $t(R) {
796
+ function Bt(R) {
797
797
  return V(R) === h;
798
798
  }
799
799
  function St(R) {
@@ -808,8 +808,8 @@ function ul() {
808
808
  function Gt(R) {
809
809
  return V(R) === f;
810
810
  }
811
- $.AsyncMode = m, $.ConcurrentMode = E, $.ContextConsumer = M, $.ContextProvider = y, $.Element = b, $.ForwardRef = x, $.Fragment = C, $.Lazy = O, $.Memo = z, $.Portal = q, $.Profiler = X, $.StrictMode = U, $.Suspense = k, $.isAsyncMode = at, $.isConcurrentMode = it, $.isContextConsumer = Ft, $.isContextProvider = It, $.isElement = bt, $.isForwardRef = gt, $.isFragment = Bt, $.isLazy = pt, $.isMemo = $t, $.isPortal = St, $.isProfiler = wt, $.isStrictMode = Wt, $.isSuspense = Gt, $.isValidElementType = T, $.typeOf = V;
812
- }()), $;
811
+ B.AsyncMode = m, B.ConcurrentMode = E, B.ContextConsumer = M, B.ContextProvider = y, B.Element = b, B.ForwardRef = x, B.Fragment = C, B.Lazy = O, B.Memo = z, B.Portal = q, B.Profiler = X, B.StrictMode = U, B.Suspense = k, B.isAsyncMode = at, B.isConcurrentMode = it, B.isContextConsumer = Ft, B.isContextProvider = It, B.isElement = bt, B.isForwardRef = gt, B.isFragment = $t, B.isLazy = pt, B.isMemo = Bt, B.isPortal = St, B.isProfiler = wt, B.isStrictMode = Wt, B.isSuspense = Gt, B.isValidElementType = T, B.typeOf = V;
812
+ }()), B;
813
813
  }
814
814
  var Ji;
815
815
  function fl() {
@@ -889,7 +889,7 @@ function pl(t, e, n) {
889
889
  t[r] !== void 0 ? e.push(t[r] + ";") : r && (i += r + " ");
890
890
  }), i;
891
891
  }
892
- var Bs = function(e, n, i) {
892
+ var $s = function(e, n, i) {
893
893
  var r = e.key + "-" + n.name;
894
894
  // we only need to add the styles to the registered cache if the
895
895
  // class name could be used further down
@@ -902,7 +902,7 @@ var Bs = function(e, n, i) {
902
902
  // also, note that this check will be dead code eliminated in the browser
903
903
  hl === !1) && e.registered[r] === void 0 && (e.registered[r] = n.styles);
904
904
  }, ml = function(e, n, i) {
905
- Bs(e, n, i);
905
+ $s(e, n, i);
906
906
  var r = e.key + "-" + n.name;
907
907
  if (e.inserted[n.name] === void 0) {
908
908
  var o = n;
@@ -979,12 +979,12 @@ var yl = {
979
979
  strokeMiterlimit: 1,
980
980
  strokeOpacity: 1,
981
981
  strokeWidth: 1
982
- }, vl = /[A-Z]|^ms/g, xl = /_EMO_([^_]+?)_([^]*?)_EMO_/g, $s = function(e) {
982
+ }, vl = /[A-Z]|^ms/g, xl = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Bs = function(e) {
983
983
  return e.charCodeAt(1) === 45;
984
984
  }, tr = function(e) {
985
985
  return e != null && typeof e != "boolean";
986
986
  }, Tn = /* @__PURE__ */ Ja(function(t) {
987
- return $s(t) ? t : t.replace(vl, "-$&").toLowerCase();
987
+ return Bs(t) ? t : t.replace(vl, "-$&").toLowerCase();
988
988
  }), er = function(e, n) {
989
989
  switch (e) {
990
990
  case "animation":
@@ -998,7 +998,7 @@ var yl = {
998
998
  }, r;
999
999
  });
1000
1000
  }
1001
- return yl[e] !== 1 && !$s(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
1001
+ return yl[e] !== 1 && !Bs(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
1002
1002
  };
1003
1003
  function Re(t, e, n) {
1004
1004
  if (n == null)
@@ -1126,7 +1126,7 @@ var Pl = function(e) {
1126
1126
  return i[Nn] = e, i;
1127
1127
  }, Vl = function(e) {
1128
1128
  var n = e.cache, i = e.serialized, r = e.isStringTag;
1129
- return Bs(n, i, r), Cl(function() {
1129
+ return $s(n, i, r), Cl(function() {
1130
1130
  return ml(n, i, r);
1131
1131
  }), null;
1132
1132
  }, El = /* @__PURE__ */ Pl(function(t, e, n) {
@@ -1526,7 +1526,7 @@ const Ol = D.div(
1526
1526
  viewBox: s = "0 0 24 24"
1527
1527
  }) => /* @__PURE__ */ A(Fl, { viewBox: s, width: `${e}px`, height: `${e}px`, styles: n, children: /* @__PURE__ */ A(Il, { d: i || kl[t], fill: r || o.colors.defaultIcon }) });
1528
1528
  var nn = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(nn || {});
1529
- const Bl = D.div(
1529
+ const $l = D.div(
1530
1530
  ({
1531
1531
  theme: {
1532
1532
  modal: { overlayBlur: t, overlayOpacity: e, overlayBackgroundColor: n }
@@ -1550,7 +1550,7 @@ const Bl = D.div(
1550
1550
  },
1551
1551
  i
1552
1552
  )
1553
- ), $l = D.div(
1553
+ ), Bl = D.div(
1554
1554
  ({
1555
1555
  theme: {
1556
1556
  global: { paddingLeft: t, paddingRight: e },
@@ -1617,13 +1617,13 @@ const Bl = D.div(
1617
1617
  "&:hover": {
1618
1618
  transform: "scale(1.2)"
1619
1619
  }
1620
- }), Bp = ({
1620
+ }), $p = ({
1621
1621
  children: t,
1622
1622
  styles: e = {},
1623
1623
  align: n = nn.Left,
1624
1624
  theme: i = j,
1625
1625
  onModalHide: r = void 0
1626
- }) => /* @__PURE__ */ A(Bl, { theme: i, styles: e, children: /* @__PURE__ */ ht($l, { theme: i, align: n, children: [
1626
+ }) => /* @__PURE__ */ A($l, { theme: i, styles: e, children: /* @__PURE__ */ ht(Bl, { theme: i, align: n, children: [
1627
1627
  r && /* @__PURE__ */ A(jl, { onClick: r, children: /* @__PURE__ */ A(Lt, { theme: i, icon: "close" }) }),
1628
1628
  t
1629
1629
  ] }) }), _l = D.div(
@@ -1862,7 +1862,7 @@ const Bl = D.div(
1862
1862
  },
1863
1863
  t
1864
1864
  )
1865
- ), $p = ({ children: t, styles: e = {}, theme: n = j }) => /* @__PURE__ */ A(Hl, { theme: n, styles: e, children: t }), Yl = D.div(
1865
+ ), Bp = ({ children: t, styles: e = {}, theme: n = j }) => /* @__PURE__ */ A(Hl, { theme: n, styles: e, children: t }), Yl = D.div(
1866
1866
  ({
1867
1867
  styles: t,
1868
1868
  isFullWidth: e,
@@ -2293,7 +2293,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2293
2293
  }, []);
2294
2294
  }
2295
2295
  var w = function(b, x) {
2296
- var C = x.decimal, O = x.decimals, z = x.duration, q = x.easingFn, X = x.end, U = x.formattingFn, k = x.numerals, _ = x.prefix, at = x.separator, it = x.start, Ft = x.suffix, It = x.useEasing, bt = x.useGrouping, gt = x.useIndianSeparators, Bt = x.enableScrollSpy, pt = x.scrollSpyDelay, $t = x.scrollSpyOnce, St = x.plugin;
2296
+ var C = x.decimal, O = x.decimals, z = x.duration, q = x.easingFn, X = x.end, U = x.formattingFn, k = x.numerals, _ = x.prefix, at = x.separator, it = x.start, Ft = x.suffix, It = x.useEasing, bt = x.useGrouping, gt = x.useIndianSeparators, $t = x.enableScrollSpy, pt = x.scrollSpyDelay, Bt = x.scrollSpyOnce, St = x.plugin;
2297
2297
  return new e.CountUp(b, X, {
2298
2298
  startVal: it,
2299
2299
  duration: z,
@@ -2309,9 +2309,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2309
2309
  useEasing: It,
2310
2310
  useIndianSeparators: gt,
2311
2311
  useGrouping: bt,
2312
- enableScrollSpy: Bt,
2312
+ enableScrollSpy: $t,
2313
2313
  scrollSpyDelay: pt,
2314
- scrollSpyOnce: $t
2314
+ scrollSpyOnce: Bt
2315
2315
  });
2316
2316
  }, T = ["ref", "startOnMount", "enableReinitialize", "delay", "onEnd", "onStart", "onPauseResume", "onReset", "onUpdate"], V = {
2317
2317
  decimal: ".",
@@ -2333,15 +2333,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2333
2333
  return Kt !== void 0;
2334
2334
  })), C = t.useMemo(function() {
2335
2335
  return r(r({}, V), x);
2336
- }, [b]), O = C.ref, z = C.startOnMount, q = C.enableReinitialize, X = C.delay, U = C.onEnd, k = C.onStart, _ = C.onPauseResume, at = C.onReset, it = C.onUpdate, Ft = u(C, T), It = t.useRef(), bt = t.useRef(), gt = t.useRef(!1), Bt = v(function() {
2336
+ }, [b]), O = C.ref, z = C.startOnMount, q = C.enableReinitialize, X = C.delay, U = C.onEnd, k = C.onStart, _ = C.onPauseResume, at = C.onReset, it = C.onUpdate, Ft = u(C, T), It = t.useRef(), bt = t.useRef(), gt = t.useRef(!1), $t = v(function() {
2337
2337
  return w(typeof O == "string" ? O : O.current, Ft);
2338
2338
  }), pt = v(function(lt) {
2339
2339
  var Ct = It.current;
2340
2340
  if (Ct && !lt)
2341
2341
  return Ct;
2342
- var Kt = Bt();
2342
+ var Kt = $t();
2343
2343
  return It.current = Kt, Kt;
2344
- }), $t = v(function() {
2344
+ }), Bt = v(function() {
2345
2345
  var lt = function() {
2346
2346
  return pt(!0).start(function() {
2347
2347
  U == null || U({
@@ -2376,9 +2376,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2376
2376
  start: Gt
2377
2377
  });
2378
2378
  }), Gt = v(function() {
2379
- wt(), $t();
2379
+ wt(), Bt();
2380
2380
  }), R = v(function(lt) {
2381
- z && (lt && wt(), $t());
2381
+ z && (lt && wt(), Bt());
2382
2382
  });
2383
2383
  return t.useEffect(function() {
2384
2384
  gt.current ? q && R(!0) : (gt.current = !0, R());
@@ -2401,7 +2401,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2401
2401
  enableReinitialize: !1
2402
2402
  })), at = _.start, it = _.reset, Ft = _.update, It = _.pauseResume, bt = _.getCountUp, gt = v(function() {
2403
2403
  at();
2404
- }), Bt = v(function(St) {
2404
+ }), $t = v(function(St) {
2405
2405
  b.preserveValue || it(), Ft(St);
2406
2406
  }), pt = v(function() {
2407
2407
  if (typeof b.children == "function" && !(U.current instanceof Element)) {
@@ -2413,12 +2413,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2413
2413
  t.useEffect(function() {
2414
2414
  pt();
2415
2415
  }, [pt]), t.useEffect(function() {
2416
- k.current && Bt(b.end);
2417
- }, [b.end, Bt]);
2418
- var $t = C && b;
2416
+ k.current && $t(b.end);
2417
+ }, [b.end, $t]);
2418
+ var Bt = C && b;
2419
2419
  return t.useEffect(function() {
2420
2420
  C && k.current && gt();
2421
- }, [gt, C, $t]), t.useEffect(function() {
2421
+ }, [gt, C, Bt]), t.useEffect(function() {
2422
2422
  !C && k.current && gt();
2423
2423
  }, [gt, C, b.start, b.suffix, b.prefix, b.duration, b.separator, b.decimals, b.decimal, b.className, b.formattingFn]), t.useEffect(function() {
2424
2424
  k.current = !0;
@@ -2726,11 +2726,11 @@ function Sc(t, e) {
2726
2726
  }), n;
2727
2727
  }
2728
2728
  var wc = "var(--_1wp326d0)", Tc = "var(--_1wp326d1)", Cc = "_1wp326d2";
2729
- const zp = ({ children: t, theme: e = j }) => {
2730
- const { main: { backgroundColor: n, minHeight: i } } = e;
2731
- return /* @__PURE__ */ A("main", { className: Cc, style: Sc({
2732
- [wc]: i,
2733
- [Tc]: n
2729
+ const zp = ({ children: t, theme: e = j, styles: n = "" }) => {
2730
+ const { main: { backgroundColor: i, minHeight: r } } = e;
2731
+ return /* @__PURE__ */ A("main", { className: `${Cc} ${n}`, style: Sc({
2732
+ [wc]: r,
2733
+ [Tc]: i
2734
2734
  }), children: t });
2735
2735
  }, Pc = D.div(
2736
2736
  ({
@@ -3136,14 +3136,14 @@ for (const t in ur)
3136
3136
  le[t] = {
3137
3137
  isEnabled: (e) => ur[t].some((n) => !!e[n])
3138
3138
  };
3139
- function Bc(t) {
3139
+ function $c(t) {
3140
3140
  for (const e in t)
3141
3141
  le[e] = {
3142
3142
  ...le[e],
3143
3143
  ...t[e]
3144
3144
  };
3145
3145
  }
3146
- const $c = /* @__PURE__ */ new Set([
3146
+ const Bc = /* @__PURE__ */ new Set([
3147
3147
  "animate",
3148
3148
  "exit",
3149
3149
  "variants",
@@ -3176,7 +3176,7 @@ const $c = /* @__PURE__ */ new Set([
3176
3176
  "viewport"
3177
3177
  ]);
3178
3178
  function sn(t) {
3179
- return t.startsWith("while") || t.startsWith("drag") && t !== "draggable" || t.startsWith("layout") || t.startsWith("onTap") || t.startsWith("onPan") || t.startsWith("onLayout") || $c.has(t);
3179
+ return t.startsWith("while") || t.startsWith("drag") && t !== "draggable" || t.startsWith("layout") || t.startsWith("onTap") || t.startsWith("onPan") || t.startsWith("onLayout") || Bc.has(t);
3180
3180
  }
3181
3181
  let Xs = (t) => !sn(t);
3182
3182
  function jc(t) {
@@ -3320,7 +3320,7 @@ function to(t) {
3320
3320
  }
3321
3321
  function qc({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVisualState: i, Component: r }) {
3322
3322
  var o, s;
3323
- t && Bc(t);
3323
+ t && $c(t);
3324
3324
  function a(c, u) {
3325
3325
  let f;
3326
3326
  const d = {
@@ -3397,11 +3397,11 @@ const nt = (t) => !!(t && t.getVelocity), io = (t, e) => e && typeof t == "numbe
3397
3397
  }, Ke = {
3398
3398
  ...pe,
3399
3399
  default: 1
3400
- }, $e = (t) => ({
3400
+ }, Be = (t) => ({
3401
3401
  test: (e) => typeof e == "string" && e.endsWith(t) && e.split(" ").length === 1,
3402
3402
  parse: parseFloat,
3403
3403
  transform: (e) => `${e}${t}`
3404
- }), jt = /* @__PURE__ */ $e("deg"), Rt = /* @__PURE__ */ $e("%"), L = /* @__PURE__ */ $e("px"), nu = /* @__PURE__ */ $e("vh"), iu = /* @__PURE__ */ $e("vw"), hr = {
3404
+ }), jt = /* @__PURE__ */ Be("deg"), Rt = /* @__PURE__ */ Be("%"), L = /* @__PURE__ */ Be("px"), nu = /* @__PURE__ */ Be("vh"), iu = /* @__PURE__ */ Be("vw"), hr = {
3405
3405
  ...Rt,
3406
3406
  parse: (t) => Rt.parse(t) / 100,
3407
3407
  transform: (t) => Rt.transform(t * 100)
@@ -4098,7 +4098,7 @@ function Fu(t, e, n = {}) {
4098
4098
  function Iu(t, e) {
4099
4099
  return t.clientX < e.left || t.clientX > e.right || t.clientY < e.top || t.clientY > e.bottom;
4100
4100
  }
4101
- function Bu(t) {
4101
+ function $u(t) {
4102
4102
  return t === "x" || t === "y" ? Tt[t] ? null : (Tt[t] = !0, () => {
4103
4103
  Tt[t] = !1;
4104
4104
  }) : Tt.x || Tt.y ? null : (Tt.x = Tt.y = !0, () => {
@@ -4115,13 +4115,13 @@ const So = /* @__PURE__ */ new Set([
4115
4115
  ...he
4116
4116
  ]);
4117
4117
  let Qe;
4118
- function $u() {
4118
+ function Bu() {
4119
4119
  Qe = void 0;
4120
4120
  }
4121
4121
  const Mt = {
4122
4122
  now: () => (Qe === void 0 && Mt.set(Z.isProcessing || kc.useManualTiming ? Z.timestamp : performance.now()), Qe),
4123
4123
  set: (t) => {
4124
- Qe = t, queueMicrotask($u);
4124
+ Qe = t, queueMicrotask(Bu);
4125
4125
  }
4126
4126
  };
4127
4127
  function Oi(t, e) {
@@ -4394,7 +4394,7 @@ function je(t, e, n, i) {
4394
4394
  const r = (o) => Gu(o, 0, 1, t, n);
4395
4395
  return (o) => o === 0 || o === 1 ? o : Co(r(o), e, i);
4396
4396
  }
4397
- const Po = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, Ao = (t) => (e) => 1 - t(1 - e), Vo = /* @__PURE__ */ je(0.33, 1.53, 0.69, 0.99), Bi = /* @__PURE__ */ Ao(Vo), Eo = /* @__PURE__ */ Po(Bi), Ro = (t) => (t *= 2) < 1 ? 0.5 * Bi(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), $i = (t) => 1 - Math.sin(Math.acos(t)), Mo = Ao($i), Do = Po($i), Lo = (t) => /^0[^.\s]+$/u.test(t);
4397
+ const Po = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, Ao = (t) => (e) => 1 - t(1 - e), Vo = /* @__PURE__ */ je(0.33, 1.53, 0.69, 0.99), $i = /* @__PURE__ */ Ao(Vo), Eo = /* @__PURE__ */ Po($i), Ro = (t) => (t *= 2) < 1 ? 0.5 * $i(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), Bi = (t) => 1 - Math.sin(Math.acos(t)), Mo = Ao(Bi), Do = Po(Bi), Lo = (t) => /^0[^.\s]+$/u.test(t);
4398
4398
  function Ku(t) {
4399
4399
  return typeof t == "number" ? t === 0 : t !== null ? t === "none" || t === "0" || Lo(t) : !0;
4400
4400
  }
@@ -4460,7 +4460,7 @@ function Fe(t) {
4460
4460
  function Io(t) {
4461
4461
  return Fe(t).values;
4462
4462
  }
4463
- function Bo(t) {
4463
+ function $o(t) {
4464
4464
  const { split: e, types: n } = Fe(t), i = e.length;
4465
4465
  return (r) => {
4466
4466
  let o = "";
@@ -4475,12 +4475,12 @@ function Bo(t) {
4475
4475
  const nf = (t) => typeof t == "number" ? 0 : t;
4476
4476
  function rf(t) {
4477
4477
  const e = Io(t);
4478
- return Bo(t)(e.map(nf));
4478
+ return $o(t)(e.map(nf));
4479
4479
  }
4480
4480
  const Ut = {
4481
4481
  test: Ju,
4482
4482
  parse: Io,
4483
- createTransformer: Bo,
4483
+ createTransformer: $o,
4484
4484
  getAnimatableNone: rf
4485
4485
  }, sf = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
4486
4486
  function of(t) {
@@ -4517,7 +4517,7 @@ const af = /\b([a-z-]*)\(.*?\)/gu, Zn = {
4517
4517
  filter: Zn,
4518
4518
  WebkitFilter: Zn
4519
4519
  }, Ni = (t) => lf[t];
4520
- function $o(t, e) {
4520
+ function Bo(t, e) {
4521
4521
  let n = Ni(t);
4522
4522
  return n !== Zn && (n = Ut), n.getAnimatableNone ? n.getAnimatableNone(e) : void 0;
4523
4523
  }
@@ -4530,7 +4530,7 @@ function uf(t, e, n) {
4530
4530
  }
4531
4531
  if (r && n)
4532
4532
  for (const o of e)
4533
- t[o] = $o(n, r);
4533
+ t[o] = Bo(n, r);
4534
4534
  }
4535
4535
  const Cr = (t) => t === pe || t === L, Pr = (t, e) => parseFloat(t.split(", ")[e]), Ar = (t, e) => (n, { transform: i }) => {
4536
4536
  if (i === "none" || !i)
@@ -4978,11 +4978,11 @@ function Ff(t, e, n) {
4978
4978
  function ei(t, e) {
4979
4979
  return t * Math.sqrt(1 - e * e);
4980
4980
  }
4981
- const If = ["duration", "bounce"], Bf = ["stiffness", "damping", "mass"];
4981
+ const If = ["duration", "bounce"], $f = ["stiffness", "damping", "mass"];
4982
4982
  function Lr(t, e) {
4983
4983
  return e.some((n) => t[n] !== void 0);
4984
4984
  }
4985
- function $f(t) {
4985
+ function Bf(t) {
4986
4986
  let e = {
4987
4987
  velocity: G.velocity,
4988
4988
  stiffness: G.stiffness,
@@ -4991,7 +4991,7 @@ function $f(t) {
4991
4991
  isResolvedFromDuration: !1,
4992
4992
  ...t
4993
4993
  };
4994
- if (!Lr(t, Bf) && Lr(t, If))
4994
+ if (!Lr(t, $f) && Lr(t, If))
4995
4995
  if (t.visualDuration) {
4996
4996
  const n = t.visualDuration, i = 2 * Math.PI / (n * 1.2), r = i * i, o = 2 * kt(0.05, 1, 1 - (t.bounce || 0)) * Math.sqrt(r);
4997
4997
  e = {
@@ -5017,7 +5017,7 @@ function Xo(t = G.visualDuration, e = G.bounce) {
5017
5017
  bounce: e
5018
5018
  } : t;
5019
5019
  let { restSpeed: i, restDelta: r } = n;
5020
- const o = n.keyframes[0], s = n.keyframes[n.keyframes.length - 1], a = { done: !1, value: o }, { stiffness: l, damping: c, mass: u, duration: f, velocity: d, isResolvedFromDuration: h } = $f({
5020
+ const o = n.keyframes[0], s = n.keyframes[n.keyframes.length - 1], a = { done: !1, value: o }, { stiffness: l, damping: c, mass: u, duration: f, velocity: d, isResolvedFromDuration: h } = Bf({
5021
5021
  ...n,
5022
5022
  velocity: -/* @__PURE__ */ Ot(n.velocity || 0)
5023
5023
  }), p = d || 0, g = c / (2 * Math.sqrt(l * u)), S = s - o, v = /* @__PURE__ */ Ot(Math.sqrt(l / u)), w = Math.abs(S) < 5;
@@ -5096,10 +5096,10 @@ const jf = /* @__PURE__ */ je(0.42, 0, 1, 1), _f = /* @__PURE__ */ je(0, 0, 0.58
5096
5096
  easeIn: jf,
5097
5097
  easeInOut: Zo,
5098
5098
  easeOut: _f,
5099
- circIn: $i,
5099
+ circIn: Bi,
5100
5100
  circInOut: Do,
5101
5101
  circOut: Mo,
5102
- backIn: Bi,
5102
+ backIn: $i,
5103
5103
  backInOut: Eo,
5104
5104
  backOut: Vo,
5105
5105
  anticipate: Ro
@@ -5690,7 +5690,7 @@ function gd(t) {
5690
5690
  return (e) => Promise.all(e.map(({ animation: n, options: i }) => ta(t, n, i)));
5691
5691
  }
5692
5692
  function yd(t) {
5693
- let e = gd(t), n = Br(), i = !0;
5693
+ let e = gd(t), n = $r(), i = !0;
5694
5694
  const r = (l) => (c, u) => {
5695
5695
  var f;
5696
5696
  const d = Oe(t, u, l === "exit" ? (f = t.presenceContext) === null || f === void 0 ? void 0 : f.custom : void 0);
@@ -5775,7 +5775,7 @@ function yd(t) {
5775
5775
  setAnimateFunction: o,
5776
5776
  getState: () => n,
5777
5777
  reset: () => {
5778
- n = Br(), i = !0;
5778
+ n = $r(), i = !0;
5779
5779
  }
5780
5780
  };
5781
5781
  }
@@ -5790,7 +5790,7 @@ function Ht(t = !1) {
5790
5790
  prevResolvedValues: {}
5791
5791
  };
5792
5792
  }
5793
- function Br() {
5793
+ function $r() {
5794
5794
  return {
5795
5795
  animate: Ht(!0),
5796
5796
  whileInView: Ht(),
@@ -5909,11 +5909,11 @@ function ot(t) {
5909
5909
  function Md(t, e, n) {
5910
5910
  return Math.abs(t - e) <= n;
5911
5911
  }
5912
- function $r(t, e, n, i = 0.5) {
5912
+ function Br(t, e, n, i = 0.5) {
5913
5913
  t.origin = i, t.originPoint = K(e.min, e.max, t.origin), t.scale = ot(n) / ot(e), t.translate = K(n.min, n.max, t.origin) - t.originPoint, (t.scale >= Ad && t.scale <= Vd || isNaN(t.scale)) && (t.scale = 1), (t.translate >= Ed && t.translate <= Rd || isNaN(t.translate)) && (t.translate = 0);
5914
5914
  }
5915
5915
  function Ce(t, e, n, i) {
5916
- $r(t.x, e.x, n.x, i ? i.originX : void 0), $r(t.y, e.y, n.y, i ? i.originY : void 0);
5916
+ Br(t.x, e.x, n.x, i ? i.originX : void 0), Br(t.y, e.y, n.y, i ? i.originY : void 0);
5917
5917
  }
5918
5918
  function jr(t, e, n) {
5919
5919
  t.min = n.min + e.min, t.max = t.min + ot(e);
@@ -6089,7 +6089,7 @@ function Id(t, e) {
6089
6089
  };
6090
6090
  return s.x === 1 / 0 && (s.x = 0), s.y === 1 / 0 && (s.y = 0), s;
6091
6091
  }
6092
- function Bd(t, { min: e, max: n }, i) {
6092
+ function $d(t, { min: e, max: n }, i) {
6093
6093
  return e !== void 0 && t < e ? t = i ? K(e, t, i.min) : Math.max(t, e) : n !== void 0 && t > n && (t = i ? K(n, t, i.max) : Math.min(t, n)), t;
6094
6094
  }
6095
6095
  function Xr(t, e, n) {
@@ -6098,7 +6098,7 @@ function Xr(t, e, n) {
6098
6098
  max: n !== void 0 ? t.max + n - (t.max - t.min) : void 0
6099
6099
  };
6100
6100
  }
6101
- function $d(t, { top: e, left: n, bottom: i, right: r }) {
6101
+ function Bd(t, { top: e, left: n, bottom: i, right: r }) {
6102
6102
  return {
6103
6103
  x: Xr(t.x, n, r),
6104
6104
  y: Xr(t.y, e, i)
@@ -6153,7 +6153,7 @@ class Wd {
6153
6153
  f ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(Ne(u).point);
6154
6154
  }, o = (u, f) => {
6155
6155
  const { drag: d, dragPropagation: h, onDragStart: p } = this.getProps();
6156
- if (d && !h && (this.openDragLock && this.openDragLock(), this.openDragLock = Bu(d), !this.openDragLock))
6156
+ if (d && !h && (this.openDragLock && this.openDragLock(), this.openDragLock = $u(d), !this.openDragLock))
6157
6157
  return;
6158
6158
  this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), vt((S) => {
6159
6159
  let v = this.getAxisMotionValue(S).get() || 0;
@@ -6215,12 +6215,12 @@ class Wd {
6215
6215
  return;
6216
6216
  const o = this.getAxisMotionValue(e);
6217
6217
  let s = this.originPoint[e] + i[e];
6218
- this.constraints && this.constraints[e] && (s = Bd(s, this.constraints[e], this.elastic[e])), o.set(s);
6218
+ this.constraints && this.constraints[e] && (s = $d(s, this.constraints[e], this.elastic[e])), o.set(s);
6219
6219
  }
6220
6220
  resolveConstraints() {
6221
6221
  var e;
6222
6222
  const { dragConstraints: n, dragElastic: i } = this.getProps(), r = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (e = this.visualElement.projection) === null || e === void 0 ? void 0 : e.layout, o = this.constraints;
6223
- n && Jt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && r ? this.constraints = $d(r.layoutBox, n) : this.constraints = !1, this.elastic = Ud(i), o !== this.constraints && r && this.constraints && !this.hasMutatedConstraints && vt((s) => {
6223
+ n && Jt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && r ? this.constraints = Bd(r.layoutBox, n) : this.constraints = !1, this.elastic = Ud(i), o !== this.constraints && r && this.constraints && !this.hasMutatedConstraints && vt((s) => {
6224
6224
  this.constraints !== !1 && this.getAxisMotionValue(s) && (this.constraints[s] = Nd(r.layoutBox[s], this.constraints[s]));
6225
6225
  });
6226
6226
  }
@@ -7259,7 +7259,7 @@ const Mh = ya({
7259
7259
  y: document.documentElement.scrollTop || document.body.scrollTop
7260
7260
  }),
7261
7261
  checkIsScrollRoot: () => !0
7262
- }), Bn = {
7262
+ }), $n = {
7263
7263
  current: void 0
7264
7264
  }, xa = ya({
7265
7265
  measureScroll: (t) => ({
@@ -7267,11 +7267,11 @@ const Mh = ya({
7267
7267
  y: t.scrollTop
7268
7268
  }),
7269
7269
  defaultParent: () => {
7270
- if (!Bn.current) {
7270
+ if (!$n.current) {
7271
7271
  const t = new Mh({});
7272
- t.mount(window), t.setOptions({ layoutScroll: !0 }), Bn.current = t;
7272
+ t.mount(window), t.setOptions({ layoutScroll: !0 }), $n.current = t;
7273
7273
  }
7274
- return Bn.current;
7274
+ return $n.current;
7275
7275
  },
7276
7276
  resetTransform: (t, e) => {
7277
7277
  t.style.transform = e !== void 0 ? e : "none";
@@ -7339,20 +7339,20 @@ class kh extends zt {
7339
7339
  unmount() {
7340
7340
  }
7341
7341
  }
7342
- const oi = /* @__PURE__ */ new WeakMap(), $n = /* @__PURE__ */ new WeakMap(), Fh = (t) => {
7342
+ const oi = /* @__PURE__ */ new WeakMap(), Bn = /* @__PURE__ */ new WeakMap(), Fh = (t) => {
7343
7343
  const e = oi.get(t.target);
7344
7344
  e && e(t);
7345
7345
  }, Ih = (t) => {
7346
7346
  t.forEach(Fh);
7347
7347
  };
7348
- function Bh({ root: t, ...e }) {
7348
+ function $h({ root: t, ...e }) {
7349
7349
  const n = t || document;
7350
- $n.has(n) || $n.set(n, {});
7351
- const i = $n.get(n), r = JSON.stringify(e);
7350
+ Bn.has(n) || Bn.set(n, {});
7351
+ const i = Bn.get(n), r = JSON.stringify(e);
7352
7352
  return i[r] || (i[r] = new IntersectionObserver(Ih, { root: t, ...e })), i[r];
7353
7353
  }
7354
- function $h(t, e, n) {
7355
- const i = Bh(e);
7354
+ function Bh(t, e, n) {
7355
+ const i = $h(e);
7356
7356
  return oi.set(t, n), i.observe(t), () => {
7357
7357
  oi.delete(t), i.unobserve(t);
7358
7358
  };
@@ -7379,7 +7379,7 @@ class _h extends zt {
7379
7379
  const { onViewportEnter: u, onViewportLeave: f } = this.node.getProps(), d = c ? u : f;
7380
7380
  d && d(l);
7381
7381
  };
7382
- return $h(this.node.current, s, a);
7382
+ return Bh(this.node.current, s, a);
7383
7383
  }
7384
7384
  mount() {
7385
7385
  this.startObserver();
@@ -7615,7 +7615,7 @@ class qh {
7615
7615
  readValue(e, n) {
7616
7616
  var i;
7617
7617
  let r = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : (i = this.getBaseTargetFromProps(this.props, e)) !== null && i !== void 0 ? i : this.readValueFromInstance(this.current, e, this.options);
7618
- return r != null && (typeof r == "string" && (No(r) || Lo(r)) ? r = parseFloat(r) : !Kh(r) && Ut.test(n) && (r = $o(e, n)), this.setBaseTarget(e, nt(r) ? r.get() : r)), nt(r) ? r.get() : r;
7618
+ return r != null && (typeof r == "string" && (No(r) || Lo(r)) ? r = parseFloat(r) : !Kh(r) && Ut.test(n) && (r = Bo(e, n)), this.setBaseTarget(e, nt(r) ? r.get() : r)), nt(r) ? r.get() : r;
7619
7619
  }
7620
7620
  /**
7621
7621
  * Set the base target to later animate back to. This is currently
@@ -8432,9 +8432,9 @@ export {
8432
8432
  Ki as InputType,
8433
8433
  _p as KeyNumber,
8434
8434
  Up as LanguageSwitcher,
8435
- $p as Logo,
8435
+ Bp as Logo,
8436
8436
  zp as Main,
8437
- Bp as Modal,
8437
+ $p as Modal,
8438
8438
  Xp as Nav,
8439
8439
  Jp as NavLegal,
8440
8440
  Zp as NavSocial,