@janbox/storefront-builder 2.0.13 → 2.0.14

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.
@@ -1,27 +1,27 @@
1
1
  import { jsx as A, Fragment as vt, jsxs as B } from "@emotion/react/jsx-runtime";
2
2
  import * as En from "react";
3
- import Xr, { isValidElement as Gt, useCallback as le, useMemo as st, Fragment as Pn, lazy as Wo, forwardRef as z, Suspense as Go, useId as Oe, cloneElement as Rn, createContext as ut, useContext as G, useRef as ot, useInsertionEffect as Yr, useEffect as Le, Children as $o, useLayoutEffect as qo, useState as di, createElement as zo, Component as Ko } from "react";
3
+ import Yr, { isValidElement as Gt, useCallback as le, useMemo as st, Fragment as Pn, lazy as Wo, forwardRef as z, Suspense as Go, useId as Oe, cloneElement as Rn, createContext as ut, useContext as G, useRef as ot, useInsertionEffect as Zr, useEffect as Le, Children as $o, useLayoutEffect as qo, useState as fi, createElement as zo, Component as Ko } from "react";
4
4
  import "flat";
5
- import { parseInt as Xo, isString as cn, isNil as it, get as Zr } from "lodash-es";
5
+ import { parseInt as Xo, isString as cn, isNil as it, get as Jr } from "lodash-es";
6
6
  import { useEditor as Yo, useNode as I } from "@craftjs/core";
7
7
  import { useMergeRefs as H, FloatingPortal as Dn, FloatingOverlay as Zo, FloatingFocusManager as Jo } from "@floating-ui/react";
8
- import { Button as Jr, Grid as Qo, Cell as ta, Link as ea, Flexbox as na, FlexItem as ia, Text as Pe, Image as ra, Marquee as sa, MarqueeDataAttributes as oa, MarqueeItem as aa, Tabs as la, TabList as ca, Tab as ua, TabContent as da, TabPanel as fa, Swiper as ha, SwiperSlide as pa, UnorderedList as ma, ListItem as ga, Icon as ya, Accordion as va, AccordionSummary as ba, AccordionContent as Ta, AccordionGroup as xa, Video as Aa, Box as wa, Container as Sa, CountdownTimer as Ca, Primitive as fi } from "@janbox/storefront-ui";
8
+ import { Button as Qr, Grid as Qo, Cell as ta, Link as ea, Flexbox as na, FlexItem as ia, Text as Pe, Image as ra, Marquee as sa, MarqueeDataAttributes as oa, MarqueeItem as aa, Tabs as la, TabList as ca, Tab as ua, TabContent as da, TabPanel as fa, Swiper as ha, SwiperSlide as pa, UnorderedList as ma, ListItem as ga, Icon as ya, Accordion as va, AccordionSummary as ba, AccordionContent as Ta, AccordionGroup as xa, Video as Aa, Box as wa, Container as Sa, CountdownTimer as Ca, Primitive as hi } from "@janbox/storefront-ui";
9
9
  import { FLOATING_Z_INDEX as Ea, mediaQuery as Pa } from "@janbox/storefront-ui/theme";
10
10
  import "@janbox/storefront-ui/hooks";
11
- import { keyframes as Qr } from "@emotion/react";
11
+ import { keyframes as ts } from "@emotion/react";
12
12
  import "react-colorful";
13
13
  import "overlayscrollbars-react";
14
14
  import "@tanstack/react-virtual";
15
15
  import { jsx as kt, Fragment as Ra, jsxs as Da } from "react/jsx-runtime";
16
16
  import "react-dropzone";
17
17
  import "react-datepicker";
18
- var k = /* @__PURE__ */ ((t) => (t.Root = "root", t.Unknown = "unknown", t.Box = "box", t.Paragraph = "paragraph", t.Heading = "heading", t.Image = "image", t.Button = "button", t.IconButton = "icon-button", t.Link = "link", t.Video = "video", t.Grid = "grid", t.Cell = "cell", t.Flexbox = "flexbox", t.FlexItem = "flex-item", t.UnorderedList = "unordered-list", t.ListItem = "list-item", t.Swiper = "swiper", t.SwiperSlide = "swiper-slide", t.Icon = "icon", t.Tabs = "tabs", t.TabList = "tab-list", t.Tab = "tab", t.TabContent = "tab-content", t.TabPanel = "tab-panel", t.Marquee = "marquee", t.MarqueeItem = "marquee-item", t.AccordionGroup = "accordion-group", t.Accordion = "accordion", t.AccordionSummary = "accordion-summary", t.AccordionContent = "accordion-content", t.Container = "container", t.CountdownTimer = "countdown-timer", t))(k || {}), gt = /* @__PURE__ */ ((t) => (t.DATA_NODE_ID = "data-node-id", t.DATA_NODE_EDITABLE = "data-node-editable", t.DATA_NODE_SELECTABLE = "data-node-selectable", t.DATA_NODE_NAME = "data-node-name", t.DATA_NODE_RESOLVED = "data-node-resolved", t.DATA_NODE_INDICATOR_ERROR = "data-node-indicator-error", t.DATA_NODE_INDICATOR_TARGET = "data-node-indicator-target", t.DATA_NODE_DROP_TARGET = "data-node-drop-target", t.DATA_NODE_DROP_TARGET_ERROR = "data-node-drop-target-error", t))(gt || {}), ts = /* @__PURE__ */ ((t) => (t.True = "true", t.False = "false", t))(ts || {});
18
+ var k = /* @__PURE__ */ ((t) => (t.Root = "root", t.Unknown = "unknown", t.Box = "box", t.Paragraph = "paragraph", t.Heading = "heading", t.Image = "image", t.Button = "button", t.IconButton = "icon-button", t.Link = "link", t.Video = "video", t.Grid = "grid", t.Cell = "cell", t.Flexbox = "flexbox", t.FlexItem = "flex-item", t.UnorderedList = "unordered-list", t.ListItem = "list-item", t.Swiper = "swiper", t.SwiperSlide = "swiper-slide", t.Icon = "icon", t.Tabs = "tabs", t.TabList = "tab-list", t.Tab = "tab", t.TabContent = "tab-content", t.TabPanel = "tab-panel", t.Marquee = "marquee", t.MarqueeItem = "marquee-item", t.AccordionGroup = "accordion-group", t.Accordion = "accordion", t.AccordionSummary = "accordion-summary", t.AccordionContent = "accordion-content", t.Container = "container", t.CountdownTimer = "countdown-timer", t))(k || {}), gt = /* @__PURE__ */ ((t) => (t.DATA_NODE_ID = "data-node-id", t.DATA_NODE_EDITABLE = "data-node-editable", t.DATA_NODE_SELECTABLE = "data-node-selectable", t.DATA_NODE_NAME = "data-node-name", t.DATA_NODE_RESOLVED = "data-node-resolved", t.DATA_NODE_INDICATOR_ERROR = "data-node-indicator-error", t.DATA_NODE_INDICATOR_TARGET = "data-node-indicator-target", t.DATA_NODE_DROP_TARGET = "data-node-drop-target", t.DATA_NODE_DROP_TARGET_ERROR = "data-node-drop-target-error", t))(gt || {}), es = /* @__PURE__ */ ((t) => (t.True = "true", t.False = "false", t))(es || {});
19
19
  function Ma(t) {
20
20
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
21
21
  }
22
- var Xt = {}, _t = {}, ve = {}, mt = {}, Ct = {}, qe = {}, hi;
23
- function es() {
24
- return hi || (hi = 1, (function(t) {
22
+ var Xt = {}, _t = {}, ve = {}, mt = {}, Ct = {}, qe = {}, pi;
23
+ function ns() {
24
+ return pi || (pi = 1, (function(t) {
25
25
  Object.defineProperty(t, "__esModule", { value: !0 }), t.Doctype = t.CDATA = t.Tag = t.Style = t.Script = t.Comment = t.Directive = t.Text = t.Root = t.isTag = t.ElementType = void 0;
26
26
  var e;
27
27
  (function(i) {
@@ -33,10 +33,10 @@ function es() {
33
33
  t.isTag = n, t.Root = e.Root, t.Text = e.Text, t.Directive = e.Directive, t.Comment = e.Comment, t.Script = e.Script, t.Style = e.Style, t.Tag = e.Tag, t.CDATA = e.CDATA, t.Doctype = e.Doctype;
34
34
  })(qe)), qe;
35
35
  }
36
- var M = {}, pi;
37
- function mi() {
38
- if (pi) return M;
39
- pi = 1;
36
+ var M = {}, mi;
37
+ function gi() {
38
+ if (mi) return M;
39
+ mi = 1;
40
40
  var t = M && M.__extends || /* @__PURE__ */ (function() {
41
41
  var f = function(m, v) {
42
42
  return f = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(x, C) {
@@ -64,7 +64,7 @@ function mi() {
64
64
  }, e.apply(this, arguments);
65
65
  };
66
66
  Object.defineProperty(M, "__esModule", { value: !0 }), M.cloneNode = M.hasChildren = M.isDocument = M.isDirective = M.isComment = M.isText = M.isCDATA = M.isTag = M.Element = M.Document = M.CDATA = M.NodeWithChildren = M.ProcessingInstruction = M.Comment = M.Text = M.DataNode = M.Node = void 0;
67
- var n = /* @__PURE__ */ es(), i = (
67
+ var n = /* @__PURE__ */ ns(), i = (
68
68
  /** @class */
69
69
  (function() {
70
70
  function f() {
@@ -387,9 +387,9 @@ function mi() {
387
387
  }
388
388
  return M;
389
389
  }
390
- var gi;
391
- function ns() {
392
- return gi || (gi = 1, (function(t) {
390
+ var yi;
391
+ function is() {
392
+ return yi || (yi = 1, (function(t) {
393
393
  var e = Ct && Ct.__createBinding || (Object.create ? (function(a, c, l, u) {
394
394
  u === void 0 && (u = l);
395
395
  var d = Object.getOwnPropertyDescriptor(c, l);
@@ -402,8 +402,8 @@ function ns() {
402
402
  for (var l in a) l !== "default" && !Object.prototype.hasOwnProperty.call(c, l) && e(c, a, l);
403
403
  };
404
404
  Object.defineProperty(t, "__esModule", { value: !0 }), t.DomHandler = void 0;
405
- var i = /* @__PURE__ */ es(), r = /* @__PURE__ */ mi();
406
- n(/* @__PURE__ */ mi(), t);
405
+ var i = /* @__PURE__ */ ns(), r = /* @__PURE__ */ gi();
406
+ n(/* @__PURE__ */ gi(), t);
407
407
  var s = {
408
408
  withStartIndices: !1,
409
409
  withEndIndices: !1,
@@ -468,9 +468,9 @@ function ns() {
468
468
  t.DomHandler = o, t.default = o;
469
469
  })(Ct)), Ct;
470
470
  }
471
- var ze = {}, yi;
471
+ var ze = {}, vi;
472
472
  function ka() {
473
- return yi || (yi = 1, (function(t) {
473
+ return vi || (vi = 1, (function(t) {
474
474
  Object.defineProperty(t, "__esModule", { value: !0 }), t.CARRIAGE_RETURN_PLACEHOLDER_REGEX = t.CARRIAGE_RETURN_PLACEHOLDER = t.CARRIAGE_RETURN_REGEX = t.CARRIAGE_RETURN = t.CASE_SENSITIVE_TAG_NAMES_MAP = t.CASE_SENSITIVE_TAG_NAMES = void 0, t.CASE_SENSITIVE_TAG_NAMES = [
475
475
  "animateMotion",
476
476
  "animateTransform",
@@ -508,11 +508,11 @@ function ka() {
508
508
  }, {}), t.CARRIAGE_RETURN = "\r", t.CARRIAGE_RETURN_REGEX = new RegExp(t.CARRIAGE_RETURN, "g"), t.CARRIAGE_RETURN_PLACEHOLDER = "__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now().toString(), "__"), t.CARRIAGE_RETURN_PLACEHOLDER_REGEX = new RegExp(t.CARRIAGE_RETURN_PLACEHOLDER, "g");
509
509
  })(ze)), ze;
510
510
  }
511
- var vi;
512
- function is() {
513
- if (vi) return mt;
514
- vi = 1, Object.defineProperty(mt, "__esModule", { value: !0 }), mt.formatAttributes = i, mt.hasOpenTag = s, mt.escapeSpecialCharacters = o, mt.revertEscapedCharacters = a, mt.formatDOM = c;
515
- var t = /* @__PURE__ */ ns(), e = ka();
511
+ var bi;
512
+ function rs() {
513
+ if (bi) return mt;
514
+ bi = 1, Object.defineProperty(mt, "__esModule", { value: !0 }), mt.formatAttributes = i, mt.hasOpenTag = s, mt.escapeSpecialCharacters = o, mt.revertEscapedCharacters = a, mt.formatDOM = c;
515
+ var t = /* @__PURE__ */ is(), e = ka();
516
516
  function n(l) {
517
517
  return e.CASE_SENSITIVE_TAG_NAMES_MAP[l];
518
518
  }
@@ -573,11 +573,11 @@ function is() {
573
573
  }
574
574
  return mt;
575
575
  }
576
- var bi;
576
+ var Ti;
577
577
  function Va() {
578
- if (bi) return ve;
579
- bi = 1, Object.defineProperty(ve, "__esModule", { value: !0 }), ve.default = b;
580
- var t = is(), e = "html", n = "head", i = "body", r = /<([a-zA-Z]+[0-9]?)/, s = function(y, g) {
578
+ if (Ti) return ve;
579
+ Ti = 1, Object.defineProperty(ve, "__esModule", { value: !0 }), ve.default = b;
580
+ var t = rs(), e = "html", n = "head", i = "body", r = /<([a-zA-Z]+[0-9]?)/, s = function(y, g) {
581
581
  throw new Error("This browser does not support `document.implementation.createHTMLDocument`");
582
582
  }, o = function(y, g) {
583
583
  throw new Error("This browser does not support `DOMParser.prototype.parseFromString`");
@@ -641,15 +641,15 @@ function Va() {
641
641
  }
642
642
  return ve;
643
643
  }
644
- var Ti;
644
+ var xi;
645
645
  function _a() {
646
- if (Ti) return _t;
647
- Ti = 1;
646
+ if (xi) return _t;
647
+ xi = 1;
648
648
  var t = _t && _t.__importDefault || function(s) {
649
649
  return s && s.__esModule ? s : { default: s };
650
650
  };
651
651
  Object.defineProperty(_t, "__esModule", { value: !0 }), _t.default = r;
652
- var e = t(Va()), n = is(), i = /<(![a-zA-Z\s]+)>/;
652
+ var e = t(Va()), n = rs(), i = /<(![a-zA-Z\s]+)>/;
653
653
  function r(s) {
654
654
  if (typeof s != "string")
655
655
  throw new TypeError("First argument must be a string");
@@ -660,10 +660,10 @@ function _a() {
660
660
  }
661
661
  return _t;
662
662
  }
663
- var be = {}, tt = {}, Yt = {}, xi;
663
+ var be = {}, tt = {}, Yt = {}, Ai;
664
664
  function Ia() {
665
- if (xi) return Yt;
666
- xi = 1;
665
+ if (Ai) return Yt;
666
+ Ai = 1;
667
667
  var t = 0;
668
668
  Yt.SAME = t;
669
669
  var e = 1;
@@ -1153,10 +1153,10 @@ function Ia() {
1153
1153
  zoomAndPan: 1
1154
1154
  }, Yt;
1155
1155
  }
1156
- var Ai;
1156
+ var wi;
1157
1157
  function Oa() {
1158
- if (Ai) return tt;
1159
- Ai = 1;
1158
+ if (wi) return tt;
1159
+ wi = 1;
1160
1160
  const t = 0, e = 1, n = 2, i = 3, r = 4, s = 5, o = 6;
1161
1161
  function a(f) {
1162
1162
  return l.hasOwnProperty(f) ? l[f] : null;
@@ -1571,10 +1571,10 @@ function Oa() {
1571
1571
  }, {});
1572
1572
  return tt.BOOLEAN = i, tt.BOOLEANISH_STRING = n, tt.NUMERIC = s, tt.OVERLOADED_BOOLEAN = r, tt.POSITIVE_NUMERIC = o, tt.RESERVED = t, tt.STRING = e, tt.getPropertyInfo = a, tt.isCustomAttribute = S, tt.possibleStandardNames = E, tt;
1573
1573
  }
1574
- var Zt = {}, It = {}, Ke, wi;
1574
+ var Zt = {}, It = {}, Ke, Si;
1575
1575
  function La() {
1576
- if (wi) return Ke;
1577
- wi = 1;
1576
+ if (Si) return Ke;
1577
+ Si = 1;
1578
1578
  var t = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, e = /\n/g, n = /^\s*/, i = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, r = /^:\s*/, s = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, o = /^[;\s]*/, a = /^\s+|\s+$/g, c = `
1579
1579
  `, l = "/", u = "*", d = "", h = "comment", p = "declaration";
1580
1580
  function b(g, T) {
@@ -1661,10 +1661,10 @@ function La() {
1661
1661
  }
1662
1662
  return Ke = b, Ke;
1663
1663
  }
1664
- var Si;
1664
+ var Ci;
1665
1665
  function Na() {
1666
- if (Si) return It;
1667
- Si = 1;
1666
+ if (Ci) return It;
1667
+ Ci = 1;
1668
1668
  var t = It && It.__importDefault || function(i) {
1669
1669
  return i && i.__esModule ? i : { default: i };
1670
1670
  };
@@ -1684,10 +1684,10 @@ function Na() {
1684
1684
  }
1685
1685
  return It;
1686
1686
  }
1687
- var Jt = {}, Ci;
1687
+ var Jt = {}, Ei;
1688
1688
  function Fa() {
1689
- if (Ci) return Jt;
1690
- Ci = 1, Object.defineProperty(Jt, "__esModule", { value: !0 }), Jt.camelCase = void 0;
1689
+ if (Ei) return Jt;
1690
+ Ei = 1, Object.defineProperty(Jt, "__esModule", { value: !0 }), Jt.camelCase = void 0;
1691
1691
  var t = /^--[a-zA-Z0-9_-]+$/, e = /-([a-z])/g, n = /^[^-]+$/, i = /^-(webkit|moz|ms|o|khtml)-/, r = /^-(ms)-/, s = function(l) {
1692
1692
  return !l || n.test(l) || t.test(l);
1693
1693
  }, o = function(l, u) {
@@ -1699,10 +1699,10 @@ function Fa() {
1699
1699
  };
1700
1700
  return Jt.camelCase = c, Jt;
1701
1701
  }
1702
- var Qt, Ei;
1702
+ var Qt, Pi;
1703
1703
  function ja() {
1704
- if (Ei) return Qt;
1705
- Ei = 1;
1704
+ if (Pi) return Qt;
1705
+ Pi = 1;
1706
1706
  var t = Qt && Qt.__importDefault || function(r) {
1707
1707
  return r && r.__esModule ? r : { default: r };
1708
1708
  }, e = t(Na()), n = Fa();
@@ -1714,14 +1714,14 @@ function ja() {
1714
1714
  }
1715
1715
  return i.default = i, Qt = i, Qt;
1716
1716
  }
1717
- var Pi;
1718
- function rs() {
1719
- return Pi || (Pi = 1, (function(t) {
1717
+ var Ri;
1718
+ function ss() {
1719
+ return Ri || (Ri = 1, (function(t) {
1720
1720
  var e = Zt && Zt.__importDefault || function(u) {
1721
1721
  return u && u.__esModule ? u : { default: u };
1722
1722
  };
1723
1723
  Object.defineProperty(t, "__esModule", { value: !0 }), t.returnFirstArg = t.canTextBeChildOfNode = t.ELEMENTS_WITH_NO_TEXT_CHILDREN = t.PRESERVE_CUSTOM_ATTRIBUTES = void 0, t.isCustomComponent = s, t.setStyleProp = a;
1724
- var n = Xr, i = e(ja()), r = /* @__PURE__ */ new Set([
1724
+ var n = Yr, i = e(ja()), r = /* @__PURE__ */ new Set([
1725
1725
  "annotation-xml",
1726
1726
  "color-profile",
1727
1727
  "font-face",
@@ -1771,11 +1771,11 @@ function rs() {
1771
1771
  t.returnFirstArg = l;
1772
1772
  })(Zt)), Zt;
1773
1773
  }
1774
- var Ri;
1775
- function ss() {
1776
- if (Ri) return be;
1777
- Ri = 1, Object.defineProperty(be, "__esModule", { value: !0 }), be.default = s;
1778
- var t = Oa(), e = rs(), n = ["checked", "value"], i = ["input", "select", "textarea"], r = {
1774
+ var Di;
1775
+ function os() {
1776
+ if (Di) return be;
1777
+ Di = 1, Object.defineProperty(be, "__esModule", { value: !0 }), be.default = s;
1778
+ var t = Oa(), e = ss(), n = ["checked", "value"], i = ["input", "select", "textarea"], r = {
1779
1779
  reset: !0,
1780
1780
  submit: !0
1781
1781
  };
@@ -1810,15 +1810,15 @@ function ss() {
1810
1810
  }
1811
1811
  return be;
1812
1812
  }
1813
- var Ot = {}, Di;
1813
+ var Ot = {}, Mi;
1814
1814
  function Ba() {
1815
- if (Di) return Ot;
1816
- Di = 1;
1815
+ if (Mi) return Ot;
1816
+ Mi = 1;
1817
1817
  var t = Ot && Ot.__importDefault || function(a) {
1818
1818
  return a && a.__esModule ? a : { default: a };
1819
1819
  };
1820
1820
  Object.defineProperty(Ot, "__esModule", { value: !0 }), Ot.default = s;
1821
- var e = Xr, n = t(ss()), i = rs(), r = {
1821
+ var e = Yr, n = t(os()), i = ss(), r = {
1822
1822
  cloneElement: e.cloneElement,
1823
1823
  createElement: e.createElement,
1824
1824
  isValidElement: e.isValidElement
@@ -1870,20 +1870,20 @@ function Ba() {
1870
1870
  }
1871
1871
  return Ot;
1872
1872
  }
1873
- var Mi;
1873
+ var ki;
1874
1874
  function Ua() {
1875
- return Mi || (Mi = 1, (function(t) {
1875
+ return ki || (ki = 1, (function(t) {
1876
1876
  var e = Xt && Xt.__importDefault || function(c) {
1877
1877
  return c && c.__esModule ? c : { default: c };
1878
1878
  };
1879
1879
  Object.defineProperty(t, "__esModule", { value: !0 }), t.htmlToDOM = t.domToReact = t.attributesToProps = t.Text = t.ProcessingInstruction = t.Element = t.Comment = void 0, t.default = a;
1880
1880
  var n = e(_a());
1881
1881
  t.htmlToDOM = n.default;
1882
- var i = e(ss());
1882
+ var i = e(os());
1883
1883
  t.attributesToProps = i.default;
1884
1884
  var r = e(Ba());
1885
1885
  t.domToReact = r.default;
1886
- var s = /* @__PURE__ */ ns();
1886
+ var s = /* @__PURE__ */ is();
1887
1887
  Object.defineProperty(t, "Comment", { enumerable: !0, get: function() {
1888
1888
  return s.Comment;
1889
1889
  } }), Object.defineProperty(t, "Element", { enumerable: !0, get: function() {
@@ -1903,7 +1903,7 @@ function Ua() {
1903
1903
  })(Xt)), Xt;
1904
1904
  }
1905
1905
  var Ha = Ua();
1906
- const ki = /* @__PURE__ */ Ma(Ha), Wa = ki.default || ki, _h = (t, e = "int", n = ",") => {
1906
+ const Vi = /* @__PURE__ */ Ma(Ha), Wa = Vi.default || Vi, _h = (t, e = "int", n = ",") => {
1907
1907
  const r = (e === "int" ? Xo : parseFloat)((t ?? "").toString().trim().replaceAll(n, ""));
1908
1908
  return isNaN(r) ? void 0 : r;
1909
1909
  };
@@ -1942,13 +1942,13 @@ function Ga(t, e) {
1942
1942
  });
1943
1943
  return Gt(r) && r.type === "svg" ? r : null;
1944
1944
  }
1945
- const os = (t) => t.info ?? {}, as = (t) => t.data?.custom ?? {}, $a = (t) => {
1946
- const e = as(t);
1945
+ const as = (t) => t.info ?? {}, Mn = (t) => t.data?.custom ?? {}, $a = (t) => {
1946
+ const e = Mn(t);
1947
1947
  if (cn(e.displayName))
1948
1948
  return e.displayName;
1949
- const n = os(t);
1949
+ const n = as(t);
1950
1950
  return cn(n.displayName) ? n.displayName : n.displayName?.(t.data.props) ?? t.data.displayName;
1951
- }, At = (t) => t.data.displayName, Ih = (t) => t.related ?? {}, qa = (t) => as(t).selectable ?? os(t).selectable ?? !0, Oh = (t, e) => {
1951
+ }, At = (t) => t.data.displayName, Ih = (t) => t.related ?? {}, qa = (t) => Mn(t).selectable ?? as(t).selectable ?? !0, Oh = (t, e) => {
1952
1952
  try {
1953
1953
  t.craft && (t.craft = {
1954
1954
  ...t.craft,
@@ -2021,7 +2021,7 @@ const os = (t) => t.info ?? {}, as = (t) => t.data?.custom ?? {}, $a = (t) => {
2021
2021
  const a = n?.placement?.parent?.id === i, c = a && !!n?.error;
2022
2022
  return {
2023
2023
  [gt.DATA_NODE_ID]: i,
2024
- [gt.DATA_NODE_EDITABLE]: ts.True,
2024
+ [gt.DATA_NODE_EDITABLE]: es.True,
2025
2025
  [gt.DATA_NODE_SELECTABLE]: r.toString(),
2026
2026
  [gt.DATA_NODE_NAME]: s,
2027
2027
  [gt.DATA_NODE_RESOLVED]: o,
@@ -2121,7 +2121,7 @@ const Ka = {
2121
2121
  children: "(this only visible in the editor)"
2122
2122
  }
2123
2123
  ),
2124
- /* @__PURE__ */ A(Jr, { size: "sm", variant: "contained", color: "neutral", onClick: i, children: "Remove" })
2124
+ /* @__PURE__ */ A(Qr, { size: "sm", variant: "contained", color: "neutral", onClick: i, children: "Remove" })
2125
2125
  ]
2126
2126
  }
2127
2127
  ) });
@@ -2134,7 +2134,9 @@ O(Ya, {
2134
2134
  }
2135
2135
  });
2136
2136
  const Za = (t) => {
2137
- const { connectors: e } = I(), n = N();
2137
+ const { connectors: e } = I((i) => ({
2138
+ hidden: Mn(i).hidden ?? {}
2139
+ })), n = N();
2138
2140
  return /* @__PURE__ */ A(
2139
2141
  Qo,
2140
2142
  {
@@ -2156,7 +2158,7 @@ O(Za, {
2156
2158
  displayName: "Grid"
2157
2159
  }
2158
2160
  });
2159
- const Ja = Wo(() => import("./index-tISPdvwn.js").then((t) => ({ default: t.WbTooltip }))), Qa = z(
2161
+ const Ja = Wo(() => import("./index-D0JkcVaR.js").then((t) => ({ default: t.WbTooltip }))), Qa = z(
2160
2162
  ({ tooltip: t, size: e = "24", type: n = "button", isHighlighted: i, ...r }, s) => {
2161
2163
  const o = {
2162
2164
  width: Number(e),
@@ -2190,7 +2192,7 @@ const Ja = Wo(() => import("./index-tISPdvwn.js").then((t) => ({ default: t.WbTo
2190
2192
  ...e,
2191
2193
  ref: n
2192
2194
  }) });
2193
- }), Mn = ({ source: t, size: e = 20, width: n, height: i, ...r }) => /* @__PURE__ */ A(ls, { source: t, ...r, width: n ?? e, height: i ?? e }), cs = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2195
+ }), kn = ({ source: t, size: e = 20, width: n, height: i, ...r }) => /* @__PURE__ */ A(ls, { source: t, ...r, width: n ?? e, height: i ?? e }), cs = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2194
2196
  <path d="M12 17.6201V21.0001" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2195
2197
  <path d="M8.02001 15.9805L5.64001 18.3605" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2196
2198
  <path d="M6.38 12H3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
@@ -2200,7 +2202,7 @@ const Ja = Wo(() => import("./index-tISPdvwn.js").then((t) => ({ default: t.WbTo
2200
2202
  <path d="M21 12H19.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2201
2203
  <path d="M18.36 18.3597L17.83 17.8297" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2202
2204
  </svg>
2203
- `, tl = Qr`
2205
+ `, tl = ts`
2204
2206
  from { transform: rotate(0deg); }
2205
2207
  to { transform: rotate(360deg); }
2206
2208
  `, Nh = z(
@@ -2253,7 +2255,7 @@ const Ja = Wo(() => import("./index-tISPdvwn.js").then((t) => ({ default: t.WbTo
2253
2255
  justifyContent: "center",
2254
2256
  visibility: "visible"
2255
2257
  },
2256
- children: /* @__PURE__ */ A(Mn, { source: cs, size: 16, css: { animation: `${tl} 1s linear infinite` } })
2258
+ children: /* @__PURE__ */ A(kn, { source: cs, size: 16, css: { animation: `${tl} 1s linear infinite` } })
2257
2259
  }
2258
2260
  ),
2259
2261
  e === "outlined" && /* @__PURE__ */ A(
@@ -2276,7 +2278,7 @@ const Ja = Wo(() => import("./index-tISPdvwn.js").then((t) => ({ default: t.WbTo
2276
2278
  <path d="M12.8002 7.5002H8.5002V3.2002C8.5002 2.9002 8.3002 2.7002 8.0002 2.7002C7.7002 2.7002 7.5002 2.9002 7.5002 3.2002V7.5002H3.2002C2.9002 7.5002 2.7002 7.7002 2.7002 8.0002C2.7002 8.3002 2.9002 8.5002 3.2002 8.5002H7.5002V12.8002C7.5002 13.1002 7.7002 13.3002 8.0002 13.3002C8.3002 13.3002 8.5002 13.1002 8.5002 12.8002V8.5002H12.8002C13.1002 8.5002 13.3002 8.3002 13.3002 8.0002C13.3002 7.7002 13.1002 7.5002 12.8002 7.5002Z" fill="currentColor"/>
2277
2279
  </svg>
2278
2280
  `, nl = ut({}), us = () => G(nl), Fh = z(({ children: t, ...e }, n) => {
2279
- const { getReferenceProps: i, context: r } = us(), s = H([r.refs.setReference, Zr(t, "ref"), n]);
2281
+ const { getReferenceProps: i, context: r } = us(), s = H([r.refs.setReference, Jr(t, "ref"), n]);
2280
2282
  return Gt(t) ? Rn(
2281
2283
  t,
2282
2284
  i({
@@ -2311,7 +2313,7 @@ const Ja = Wo(() => import("./index-tISPdvwn.js").then((t) => ({ default: t.WbTo
2311
2313
  ) }) : /* @__PURE__ */ A(vt, {});
2312
2314
  }
2313
2315
  ), il = ut({}), ds = () => G(il), Bh = z(({ children: t, ...e }, n) => {
2314
- const { getReferenceProps: i, context: r } = ds(), s = H([r.refs.setReference, Zr(t, "ref"), n]);
2316
+ const { getReferenceProps: i, context: r } = ds(), s = H([r.refs.setReference, Jr(t, "ref"), n]);
2315
2317
  return Gt(t) ? Rn(
2316
2318
  t,
2317
2319
  i({
@@ -2420,12 +2422,12 @@ const Ja = Wo(() => import("./index-tISPdvwn.js").then((t) => ({ default: t.WbTo
2420
2422
  ),
2421
2423
  Gt(t) ? t : /* @__PURE__ */ A("span", { css: { flex: 1 }, children: t })
2422
2424
  ] })
2423
- ), rl = ut({}), Gh = () => G(rl), kn = ut({});
2424
- function Vn(t) {
2425
+ ), rl = ut({}), Gh = () => G(rl), Vn = ut({});
2426
+ function _n(t) {
2425
2427
  const e = ot(null);
2426
2428
  return e.current === null && (e.current = t()), e.current;
2427
2429
  }
2428
- const Ne = ut(null), _n = ut({
2430
+ const Ne = ut(null), In = ut({
2429
2431
  transformPagePoint: (t) => t,
2430
2432
  isStatic: !1,
2431
2433
  reducedMotion: "never"
@@ -2454,8 +2456,8 @@ function ol({ children: t, isPresent: e }) {
2454
2456
  height: 0,
2455
2457
  top: 0,
2456
2458
  left: 0
2457
- }), { nonce: s } = G(_n);
2458
- return Yr(() => {
2459
+ }), { nonce: s } = G(In);
2460
+ return Zr(() => {
2459
2461
  const { width: o, height: a, top: c, left: l } = r.current;
2460
2462
  if (e || !i.current || !o || !a)
2461
2463
  return;
@@ -2475,7 +2477,7 @@ function ol({ children: t, isPresent: e }) {
2475
2477
  }, [e]), kt(sl, { isPresent: e, childRef: i, sizeRef: r, children: En.cloneElement(t, { ref: i }) });
2476
2478
  }
2477
2479
  const al = ({ children: t, initial: e, isPresent: n, onExitComplete: i, custom: r, presenceAffectsLayout: s, mode: o }) => {
2478
- const a = Vn(ll), c = Oe(), l = le((d) => {
2480
+ const a = _n(ll), c = Oe(), l = le((d) => {
2479
2481
  a.set(d, !0);
2480
2482
  for (const h of a.values())
2481
2483
  if (!h)
@@ -2518,14 +2520,14 @@ function fs(t = !0) {
2518
2520
  return !n && i ? [!1, o] : [!0];
2519
2521
  }
2520
2522
  const Te = (t) => t.key || "";
2521
- function Vi(t) {
2523
+ function _i(t) {
2522
2524
  const e = [];
2523
2525
  return $o.forEach(t, (n) => {
2524
2526
  Gt(n) && e.push(n);
2525
2527
  }), e;
2526
2528
  }
2527
- const In = typeof window < "u", hs = In ? qo : Le, cl = ({ children: t, custom: e, initial: n = !0, onExitComplete: i, presenceAffectsLayout: r = !0, mode: s = "sync", propagate: o = !1 }) => {
2528
- const [a, c] = fs(o), l = st(() => Vi(t), [t]), u = o && !a ? [] : l.map(Te), d = ot(!0), h = ot(l), p = Vn(() => /* @__PURE__ */ new Map()), [b, y] = di(l), [g, T] = di(l);
2529
+ const On = typeof window < "u", hs = On ? qo : Le, cl = ({ children: t, custom: e, initial: n = !0, onExitComplete: i, presenceAffectsLayout: r = !0, mode: s = "sync", propagate: o = !1 }) => {
2530
+ const [a, c] = fs(o), l = st(() => _i(t), [t]), u = o && !a ? [] : l.map(Te), d = ot(!0), h = ot(l), p = _n(() => /* @__PURE__ */ new Map()), [b, y] = fi(l), [g, T] = fi(l);
2529
2531
  hs(() => {
2530
2532
  d.current = !1, h.current = l;
2531
2533
  for (let E = 0; E < g.length; E++) {
@@ -2540,11 +2542,11 @@ const In = typeof window < "u", hs = In ? qo : Le, cl = ({ children: t, custom:
2540
2542
  const m = g[f], v = Te(m);
2541
2543
  u.includes(v) || (E.splice(f, 0, m), w.push(m));
2542
2544
  }
2543
- s === "wait" && w.length && (E = w), T(Vi(E)), y(l);
2545
+ s === "wait" && w.length && (E = w), T(_i(E)), y(l);
2544
2546
  return;
2545
2547
  }
2546
2548
  process.env.NODE_ENV !== "production" && s === "wait" && g.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
2547
- const { forceRender: S } = G(kn);
2549
+ const { forceRender: S } = G(Vn);
2548
2550
  return kt(Ra, { children: g.map((E) => {
2549
2551
  const f = Te(E), m = o && !a ? !1 : l === g || u.includes(f), v = () => {
2550
2552
  if (p.has(f))
@@ -2641,7 +2643,7 @@ function ps(t, e) {
2641
2643
  o[xe[w]].cancel(T);
2642
2644
  }, state: r, steps: o };
2643
2645
  }
2644
- const { schedule: F, cancel: Tt, state: q, steps: Xe } = ps(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Y, !0), ms = ut({ strict: !1 }), _i = {
2646
+ const { schedule: F, cancel: Tt, state: q, steps: Xe } = ps(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Y, !0), ms = ut({ strict: !1 }), Ii = {
2645
2647
  animation: [
2646
2648
  "animate",
2647
2649
  "variants",
@@ -2661,9 +2663,9 @@ const { schedule: F, cancel: Tt, state: q, steps: Xe } = ps(typeof requestAnimat
2661
2663
  inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
2662
2664
  layout: ["layout", "layoutId"]
2663
2665
  }, Ut = {};
2664
- for (const t in _i)
2666
+ for (const t in Ii)
2665
2667
  Ut[t] = {
2666
- isEnabled: (e) => _i[t].some((n) => !!e[n])
2668
+ isEnabled: (e) => Ii[t].some((n) => !!e[n])
2667
2669
  };
2668
2670
  function hl(t) {
2669
2671
  for (const e in t)
@@ -2722,9 +2724,9 @@ function gl(t, e, n) {
2722
2724
  t.draggable && r.startsWith("onDrag")) && (i[r] = t[r]);
2723
2725
  return i;
2724
2726
  }
2725
- const Ii = /* @__PURE__ */ new Set();
2727
+ const Oi = /* @__PURE__ */ new Set();
2726
2728
  function Fe(t, e, n) {
2727
- t || Ii.has(e) || (console.warn(e), Ii.add(e));
2729
+ t || Oi.has(e) || (console.warn(e), Oi.add(e));
2728
2730
  }
2729
2731
  function yl(t) {
2730
2732
  if (typeof Proxy > "u")
@@ -2746,7 +2748,7 @@ function ce(t) {
2746
2748
  function Be(t) {
2747
2749
  return t !== null && typeof t == "object" && typeof t.start == "function";
2748
2750
  }
2749
- const On = [
2751
+ const Ln = [
2750
2752
  "animate",
2751
2753
  "whileInView",
2752
2754
  "whileFocus",
@@ -2754,9 +2756,9 @@ const On = [
2754
2756
  "whileTap",
2755
2757
  "whileDrag",
2756
2758
  "exit"
2757
- ], Ln = ["initial", ...On];
2759
+ ], Nn = ["initial", ...Ln];
2758
2760
  function Ue(t) {
2759
- return Be(t.animate) || Ln.some((e) => ce(t[e]));
2761
+ return Be(t.animate) || Nn.some((e) => ce(t[e]));
2760
2762
  }
2761
2763
  function ys(t) {
2762
2764
  return !!(Ue(t) || t.variants);
@@ -2773,9 +2775,9 @@ function vl(t, e) {
2773
2775
  }
2774
2776
  function bl(t) {
2775
2777
  const { initial: e, animate: n } = vl(t, G(je));
2776
- return st(() => ({ initial: e, animate: n }), [Oi(e), Oi(n)]);
2778
+ return st(() => ({ initial: e, animate: n }), [Li(e), Li(n)]);
2777
2779
  }
2778
- function Oi(t) {
2780
+ function Li(t) {
2779
2781
  return Array.isArray(t) ? t.join(" ") : t;
2780
2782
  }
2781
2783
  const Tl = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
@@ -2795,10 +2797,10 @@ function xl(t, e, n) {
2795
2797
  [e]
2796
2798
  );
2797
2799
  }
2798
- const Nn = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), Al = "framerAppearId", vs = "data-" + Nn(Al), { schedule: Fn } = ps(queueMicrotask, !1), bs = ut({});
2800
+ const Fn = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), Al = "framerAppearId", vs = "data-" + Fn(Al), { schedule: jn } = ps(queueMicrotask, !1), bs = ut({});
2799
2801
  function wl(t, e, n, i, r) {
2800
2802
  var s, o;
2801
- const { visualElement: a } = G(je), c = G(ms), l = G(Ne), u = G(_n).reducedMotion, d = ot(null);
2803
+ const { visualElement: a } = G(je), c = G(ms), l = G(Ne), u = G(In).reducedMotion, d = ot(null);
2802
2804
  i = i || c.renderer, !d.current && i && (d.current = i(t, {
2803
2805
  visualState: e,
2804
2806
  parent: a,
@@ -2810,12 +2812,12 @@ function wl(t, e, n, i, r) {
2810
2812
  const h = d.current, p = G(bs);
2811
2813
  h && !h.projection && r && (h.type === "html" || h.type === "svg") && Sl(d.current, n, r, p);
2812
2814
  const b = ot(!1);
2813
- Yr(() => {
2815
+ Zr(() => {
2814
2816
  h && b.current && h.update(n, l);
2815
2817
  });
2816
2818
  const y = n[vs], g = ot(!!y && !(!((s = window.MotionHandoffIsComplete) === null || s === void 0) && s.call(window, y)) && ((o = window.MotionHasOptimisedAnimation) === null || o === void 0 ? void 0 : o.call(window, y)));
2817
2819
  return hs(() => {
2818
- h && (b.current = !0, window.MotionIsMounted = !0, h.updateFeatures(), Fn.render(h.render), g.current && h.animationState && h.animationState.animateChanges());
2820
+ h && (b.current = !0, window.MotionIsMounted = !0, h.updateFeatures(), jn.render(h.render), g.current && h.animationState && h.animationState.animateChanges());
2819
2821
  }), Le(() => {
2820
2822
  h && (!g.current && h.animationState && h.animationState.animateChanges(), g.current && (queueMicrotask(() => {
2821
2823
  var T;
@@ -2853,11 +2855,11 @@ function Cl({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVis
2853
2855
  function a(l, u) {
2854
2856
  let d;
2855
2857
  const h = {
2856
- ...G(_n),
2858
+ ...G(In),
2857
2859
  ...l,
2858
2860
  layoutId: El(l)
2859
2861
  }, { isStatic: p } = h, b = bl(l), y = i(l, p);
2860
- if (!p && In) {
2862
+ if (!p && On) {
2861
2863
  Pl(h, t);
2862
2864
  const g = Rl(h);
2863
2865
  d = g.MeasureLayout, b.visualElement = wl(r, y, h, e, g.ProjectionNode);
@@ -2869,7 +2871,7 @@ function Cl({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVis
2869
2871
  return c[Tl] = r, c;
2870
2872
  }
2871
2873
  function El({ layoutId: t }) {
2872
- const e = G(kn).id;
2874
+ const e = G(Vn).id;
2873
2875
  return e && t !== void 0 ? e + "-" + t : t;
2874
2876
  }
2875
2877
  function Pl(t, e) {
@@ -2916,7 +2918,7 @@ const Dl = [
2916
2918
  "use",
2917
2919
  "view"
2918
2920
  ];
2919
- function jn(t) {
2921
+ function Bn(t) {
2920
2922
  return (
2921
2923
  /**
2922
2924
  * If it's not a string, it's a custom React component. Currently we only support
@@ -2936,19 +2938,19 @@ function jn(t) {
2936
2938
  )
2937
2939
  );
2938
2940
  }
2939
- function Li(t) {
2941
+ function Ni(t) {
2940
2942
  const e = [{}, {}];
2941
2943
  return t?.values.forEach((n, i) => {
2942
2944
  e[0][i] = n.get(), e[1][i] = n.getVelocity();
2943
2945
  }), e;
2944
2946
  }
2945
- function Bn(t, e, n, i) {
2947
+ function Un(t, e, n, i) {
2946
2948
  if (typeof e == "function") {
2947
- const [r, s] = Li(i);
2949
+ const [r, s] = Ni(i);
2948
2950
  e = e(n !== void 0 ? n : t.custom, r, s);
2949
2951
  }
2950
2952
  if (typeof e == "string" && (e = t.variants && t.variants[e]), typeof e == "function") {
2951
- const [r, s] = Li(i);
2953
+ const [r, s] = Ni(i);
2952
2954
  e = e(n !== void 0 ? n : t.custom, r, s);
2953
2955
  }
2954
2956
  return e;
@@ -2967,7 +2969,7 @@ function Vl({ scrapeMotionValuesFromProps: t, createRenderState: e, onUpdate: n
2967
2969
  }
2968
2970
  const xs = (t) => (e, n) => {
2969
2971
  const i = G(je), r = G(Ne), s = () => Vl(t, e, i, r);
2970
- return n ? s() : Vn(s);
2972
+ return n ? s() : _n(s);
2971
2973
  };
2972
2974
  function _l(t, e, n, i) {
2973
2975
  const r = {}, s = i(t, {});
@@ -2982,7 +2984,7 @@ function _l(t, e, n, i) {
2982
2984
  if (d && typeof d != "boolean" && !Be(d)) {
2983
2985
  const h = Array.isArray(d) ? d : [d];
2984
2986
  for (let p = 0; p < h.length; p++) {
2985
- const b = Bn(t, h[p]);
2987
+ const b = Un(t, h[p]);
2986
2988
  if (b) {
2987
2989
  const { transitionEnd: y, transition: g, ...T } = b;
2988
2990
  for (const w in T) {
@@ -3018,7 +3020,7 @@ const qt = [
3018
3020
  "skew",
3019
3021
  "skewX",
3020
3022
  "skewY"
3021
- ], Vt = new Set(qt), As = (t) => (e) => typeof e == "string" && e.startsWith(t), ws = /* @__PURE__ */ As("--"), Il = /* @__PURE__ */ As("var(--"), Un = (t) => Il(t) ? Ol.test(t.split("/*")[0].trim()) : !1, Ol = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, Ss = (t, e) => e && typeof t == "number" ? e.transform(t) : t, ht = (t, e, n) => n > e ? e : n < t ? t : n, zt = {
3023
+ ], Vt = new Set(qt), As = (t) => (e) => typeof e == "string" && e.startsWith(t), ws = /* @__PURE__ */ As("--"), Il = /* @__PURE__ */ As("var(--"), Hn = (t) => Il(t) ? Ol.test(t.split("/*")[0].trim()) : !1, Ol = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, Ss = (t, e) => e && typeof t == "number" ? e.transform(t) : t, ht = (t, e, n) => n > e ? e : n < t ? t : n, zt = {
3022
3024
  test: (t) => typeof t == "number",
3023
3025
  parse: parseFloat,
3024
3026
  transform: (t) => t
@@ -3032,7 +3034,7 @@ const qt = [
3032
3034
  test: (e) => typeof e == "string" && e.endsWith(t) && e.split(" ").length === 1,
3033
3035
  parse: parseFloat,
3034
3036
  transform: (e) => `${e}${t}`
3035
- }), yt = /* @__PURE__ */ pe("deg"), at = /* @__PURE__ */ pe("%"), P = /* @__PURE__ */ pe("px"), Ll = /* @__PURE__ */ pe("vh"), Nl = /* @__PURE__ */ pe("vw"), Ni = {
3037
+ }), yt = /* @__PURE__ */ pe("deg"), at = /* @__PURE__ */ pe("%"), P = /* @__PURE__ */ pe("px"), Ll = /* @__PURE__ */ pe("vh"), Nl = /* @__PURE__ */ pe("vw"), Fi = {
3036
3038
  ...at,
3037
3039
  parse: (t) => at.parse(t) / 100,
3038
3040
  transform: (t) => at.transform(t * 100)
@@ -3094,21 +3096,21 @@ const qt = [
3094
3096
  perspective: P,
3095
3097
  transformPerspective: P,
3096
3098
  opacity: ue,
3097
- originX: Ni,
3098
- originY: Ni,
3099
+ originX: Fi,
3100
+ originY: Fi,
3099
3101
  originZ: P
3100
- }, Fi = {
3102
+ }, ji = {
3101
3103
  ...zt,
3102
3104
  transform: Math.round
3103
- }, Hn = {
3105
+ }, Wn = {
3104
3106
  ...Fl,
3105
3107
  ...jl,
3106
- zIndex: Fi,
3108
+ zIndex: ji,
3107
3109
  size: P,
3108
3110
  // SVG
3109
3111
  fillOpacity: ue,
3110
3112
  strokeOpacity: ue,
3111
- numOctaves: Fi
3113
+ numOctaves: ji
3112
3114
  }, Bl = {
3113
3115
  x: "translateX",
3114
3116
  y: "translateY",
@@ -3123,7 +3125,7 @@ function Hl(t, e, n) {
3123
3125
  continue;
3124
3126
  let c = !0;
3125
3127
  if (typeof a == "number" ? c = a === (o.startsWith("scale") ? 1 : 0) : c = parseFloat(a) === 0, !c || n) {
3126
- const l = Ss(a, Hn[o]);
3128
+ const l = Ss(a, Wn[o]);
3127
3129
  if (!c) {
3128
3130
  r = !1;
3129
3131
  const u = Bl[o] || o;
@@ -3134,7 +3136,7 @@ function Hl(t, e, n) {
3134
3136
  }
3135
3137
  return i = i.trim(), n ? i = n(e, r ? "" : i) : r && (i = "none"), i;
3136
3138
  }
3137
- function Wn(t, e, n) {
3139
+ function Gn(t, e, n) {
3138
3140
  const { style: i, vars: r, transformOrigin: s } = t;
3139
3141
  let o = !1, a = !1;
3140
3142
  for (const c in e) {
@@ -3146,7 +3148,7 @@ function Wn(t, e, n) {
3146
3148
  r[c] = l;
3147
3149
  continue;
3148
3150
  } else {
3149
- const u = Ss(l, Hn[c]);
3151
+ const u = Ss(l, Wn[c]);
3150
3152
  c.startsWith("origin") ? (a = !0, s[c] = u) : i[c] = u;
3151
3153
  }
3152
3154
  }
@@ -3169,14 +3171,14 @@ function $l(t, e, n = 1, i = 0, r = !0) {
3169
3171
  const o = P.transform(e), a = P.transform(n);
3170
3172
  t[s.array] = `${o} ${a}`;
3171
3173
  }
3172
- function ji(t, e, n) {
3174
+ function Bi(t, e, n) {
3173
3175
  return typeof t == "string" ? t : P.transform(e + n * t);
3174
3176
  }
3175
3177
  function ql(t, e, n) {
3176
- const i = ji(e, t.x, t.width), r = ji(n, t.y, t.height);
3178
+ const i = Bi(e, t.x, t.width), r = Bi(n, t.y, t.height);
3177
3179
  return `${i} ${r}`;
3178
3180
  }
3179
- function Gn(t, {
3181
+ function $n(t, {
3180
3182
  attrX: e,
3181
3183
  attrY: n,
3182
3184
  attrScale: i,
@@ -3188,7 +3190,7 @@ function Gn(t, {
3188
3190
  // This is object creation, which we try to avoid per-frame.
3189
3191
  ...l
3190
3192
  }, u, d) {
3191
- if (Wn(t, l, d), u) {
3193
+ if (Gn(t, l, d), u) {
3192
3194
  t.style.viewBox && (t.attrs.viewBox = t.style.viewBox);
3193
3195
  return;
3194
3196
  }
@@ -3196,15 +3198,15 @@ function Gn(t, {
3196
3198
  const { attrs: h, style: p, dimensions: b } = t;
3197
3199
  h.transform && (b && (p.transform = h.transform), delete h.transform), b && (r !== void 0 || s !== void 0 || p.transform) && (p.transformOrigin = ql(b, r !== void 0 ? r : 0.5, s !== void 0 ? s : 0.5)), e !== void 0 && (h.x = e), n !== void 0 && (h.y = n), i !== void 0 && (h.scale = i), o !== void 0 && $l(h, o, a, c, !1);
3198
3200
  }
3199
- const $n = () => ({
3201
+ const qn = () => ({
3200
3202
  style: {},
3201
3203
  transform: {},
3202
3204
  transformOrigin: {},
3203
3205
  vars: {}
3204
3206
  }), Cs = () => ({
3205
- ...$n(),
3207
+ ...qn(),
3206
3208
  attrs: {}
3207
- }), qn = (t) => typeof t == "string" && t.toLowerCase() === "svg";
3209
+ }), zn = (t) => typeof t == "string" && t.toLowerCase() === "svg";
3208
3210
  function Es(t, { style: e, vars: n }, i, r) {
3209
3211
  Object.assign(t.style, e, r && r.getProjectionStyles(i));
3210
3212
  for (const s in n)
@@ -3238,7 +3240,7 @@ const Ps = /* @__PURE__ */ new Set([
3238
3240
  function Rs(t, e, n, i) {
3239
3241
  Es(t, e, void 0, i);
3240
3242
  for (const r in e.attrs)
3241
- t.setAttribute(Ps.has(r) ? r : Nn(r), e.attrs[r]);
3243
+ t.setAttribute(Ps.has(r) ? r : Fn(r), e.attrs[r]);
3242
3244
  }
3243
3245
  const De = {};
3244
3246
  function zl(t) {
@@ -3247,7 +3249,7 @@ function zl(t) {
3247
3249
  function Ds(t, { layout: e, layoutId: n }) {
3248
3250
  return Vt.has(t) || t.startsWith("origin") || (e || n !== void 0) && (!!De[t] || t === "opacity");
3249
3251
  }
3250
- function zn(t, e, n) {
3252
+ function Kn(t, e, n) {
3251
3253
  var i;
3252
3254
  const { style: r } = t, s = {};
3253
3255
  for (const o in r)
@@ -3255,7 +3257,7 @@ function zn(t, e, n) {
3255
3257
  return s;
3256
3258
  }
3257
3259
  function Ms(t, e, n) {
3258
- const i = zn(t, e, n);
3260
+ const i = Kn(t, e, n);
3259
3261
  for (const r in t)
3260
3262
  if (X(t[r]) || X(e[r])) {
3261
3263
  const s = qt.indexOf(r) !== -1 ? "attr" + r.charAt(0).toUpperCase() + r.substring(1) : r;
@@ -3275,7 +3277,7 @@ function Kl(t, e) {
3275
3277
  };
3276
3278
  }
3277
3279
  }
3278
- const Bi = ["x", "y", "width", "height", "cx", "cy", "r"], Xl = {
3280
+ const Ui = ["x", "y", "width", "height", "cx", "cy", "r"], Xl = {
3279
3281
  useVisualState: xs({
3280
3282
  scrapeMotionValuesFromProps: Ms,
3281
3283
  createRenderState: Cs,
@@ -3294,21 +3296,21 @@ const Bi = ["x", "y", "width", "height", "cx", "cy", "r"], Xl = {
3294
3296
  return;
3295
3297
  let o = !e;
3296
3298
  if (e)
3297
- for (let a = 0; a < Bi.length; a++) {
3298
- const c = Bi[a];
3299
+ for (let a = 0; a < Ui.length; a++) {
3300
+ const c = Ui[a];
3299
3301
  t[c] !== e[c] && (o = !0);
3300
3302
  }
3301
3303
  o && F.read(() => {
3302
3304
  Kl(n, i), F.render(() => {
3303
- Gn(i, r, qn(n.tagName), t.transformTemplate), Rs(n, i);
3305
+ $n(i, r, zn(n.tagName), t.transformTemplate), Rs(n, i);
3304
3306
  });
3305
3307
  });
3306
3308
  }
3307
3309
  })
3308
3310
  }, Yl = {
3309
3311
  useVisualState: xs({
3310
- scrapeMotionValuesFromProps: zn,
3311
- createRenderState: $n
3312
+ scrapeMotionValuesFromProps: Kn,
3313
+ createRenderState: qn
3312
3314
  })
3313
3315
  };
3314
3316
  function ks(t, e, n) {
@@ -3317,8 +3319,8 @@ function ks(t, e, n) {
3317
3319
  }
3318
3320
  function Zl({ transformTemplate: t }, e) {
3319
3321
  return st(() => {
3320
- const n = $n();
3321
- return Wn(n, e, t), Object.assign({}, n.vars, n.style);
3322
+ const n = qn();
3323
+ return Gn(n, e, t), Object.assign({}, n.vars, n.style);
3322
3324
  }, [e]);
3323
3325
  }
3324
3326
  function Jl(t, e) {
@@ -3332,7 +3334,7 @@ function Ql(t, e) {
3332
3334
  function tc(t, e, n, i) {
3333
3335
  const r = st(() => {
3334
3336
  const s = Cs();
3335
- return Gn(s, e, qn(i), t.transformTemplate), {
3337
+ return $n(s, e, zn(i), t.transformTemplate), {
3336
3338
  ...s.attrs,
3337
3339
  style: { ...s.style }
3338
3340
  };
@@ -3345,7 +3347,7 @@ function tc(t, e, n, i) {
3345
3347
  }
3346
3348
  function ec(t = !1) {
3347
3349
  return (n, i, r, { latestValues: s }, o) => {
3348
- const c = (jn(n) ? tc : Ql)(i, s, o, n), l = gl(i, typeof n == "string", t), u = n !== Pn ? { ...l, ...c, ref: r } : {}, { children: d } = i, h = st(() => X(d) ? d.get() : d, [d]);
3350
+ const c = (Bn(n) ? tc : Ql)(i, s, o, n), l = gl(i, typeof n == "string", t), u = n !== Pn ? { ...l, ...c, ref: r } : {}, { children: d } = i, h = st(() => X(d) ? d.get() : d, [d]);
3349
3351
  return zo(n, {
3350
3352
  ...u,
3351
3353
  children: h
@@ -3355,7 +3357,7 @@ function ec(t = !1) {
3355
3357
  function nc(t, e) {
3356
3358
  return function(i, { forwardMotionProps: r } = { forwardMotionProps: !1 }) {
3357
3359
  const o = {
3358
- ...jn(i) ? Xl : Yl,
3360
+ ...Bn(i) ? Xl : Yl,
3359
3361
  preloadedFeatures: t,
3360
3362
  useRender: ec(r),
3361
3363
  createVisualElement: e,
@@ -3377,9 +3379,9 @@ function Vs(t, e) {
3377
3379
  }
3378
3380
  function He(t, e, n) {
3379
3381
  const i = t.getProps();
3380
- return Bn(i, e, n !== void 0 ? n : i.custom, t);
3382
+ return Un(i, e, n !== void 0 ? n : i.custom, t);
3381
3383
  }
3382
- function Kn(t, e) {
3384
+ function Xn(t, e) {
3383
3385
  return t ? t[e] || t.default || t : void 0;
3384
3386
  }
3385
3387
  const _s = /* @__PURE__ */ new Set([
@@ -3401,19 +3403,19 @@ const lt = {
3401
3403
  Ce = t, queueMicrotask(ic);
3402
3404
  }
3403
3405
  };
3404
- function Xn(t, e) {
3406
+ function Yn(t, e) {
3405
3407
  t.indexOf(e) === -1 && t.push(e);
3406
3408
  }
3407
- function Yn(t, e) {
3409
+ function Zn(t, e) {
3408
3410
  const n = t.indexOf(e);
3409
3411
  n > -1 && t.splice(n, 1);
3410
3412
  }
3411
- class Zn {
3413
+ class Jn {
3412
3414
  constructor() {
3413
3415
  this.subscriptions = [];
3414
3416
  }
3415
3417
  add(e) {
3416
- return Xn(this.subscriptions, e), () => Yn(this.subscriptions, e);
3418
+ return Yn(this.subscriptions, e), () => Zn(this.subscriptions, e);
3417
3419
  }
3418
3420
  notify(e, n, i) {
3419
3421
  const r = this.subscriptions.length;
@@ -3436,7 +3438,7 @@ class Zn {
3436
3438
  function Is(t, e) {
3437
3439
  return e ? t * (1e3 / e) : 0;
3438
3440
  }
3439
- const Ui = 30, rc = (t) => !isNaN(parseFloat(t));
3441
+ const Hi = 30, rc = (t) => !isNaN(parseFloat(t));
3440
3442
  class sc {
3441
3443
  /**
3442
3444
  * @param init - The initiating value
@@ -3502,7 +3504,7 @@ class sc {
3502
3504
  return process.env.NODE_ENV !== "production" && Fe(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", e);
3503
3505
  }
3504
3506
  on(e, n) {
3505
- this.events[e] || (this.events[e] = new Zn());
3507
+ this.events[e] || (this.events[e] = new Jn());
3506
3508
  const i = this.events[e].add(n);
3507
3509
  return e === "change" ? () => {
3508
3510
  i(), F.read(() => {
@@ -3575,9 +3577,9 @@ class sc {
3575
3577
  */
3576
3578
  getVelocity() {
3577
3579
  const e = lt.now();
3578
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Ui)
3580
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Hi)
3579
3581
  return 0;
3580
- const n = Math.min(this.updatedAt - this.prevUpdatedAt, Ui);
3582
+ const n = Math.min(this.updatedAt - this.prevUpdatedAt, Hi);
3581
3583
  return Is(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
3582
3584
  }
3583
3585
  /**
@@ -3658,11 +3660,11 @@ function Os(t) {
3658
3660
  return t.props[vs];
3659
3661
  }
3660
3662
  // @__NO_SIDE_EFFECTS__
3661
- function Jn(t) {
3663
+ function Qn(t) {
3662
3664
  let e;
3663
3665
  return () => (e === void 0 && (e = t()), e);
3664
3666
  }
3665
- const cc = /* @__PURE__ */ Jn(() => window.ScrollTimeline !== void 0);
3667
+ const cc = /* @__PURE__ */ Qn(() => window.ScrollTimeline !== void 0);
3666
3668
  class uc {
3667
3669
  constructor(e) {
3668
3670
  this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
@@ -3739,17 +3741,17 @@ class dc extends uc {
3739
3741
  }
3740
3742
  }
3741
3743
  const ct = /* @__NO_SIDE_EFFECTS__ */ (t) => t * 1e3, ft = /* @__NO_SIDE_EFFECTS__ */ (t) => t / 1e3;
3742
- function Qn(t) {
3744
+ function ti(t) {
3743
3745
  return typeof t == "function";
3744
3746
  }
3745
- function Hi(t, e) {
3747
+ function Wi(t, e) {
3746
3748
  t.timeline = e, t.onfinish = null;
3747
3749
  }
3748
- const ti = (t) => Array.isArray(t) && typeof t[0] == "number", fc = {
3750
+ const ei = (t) => Array.isArray(t) && typeof t[0] == "number", fc = {
3749
3751
  linearEasing: void 0
3750
3752
  };
3751
3753
  function hc(t, e) {
3752
- const n = /* @__PURE__ */ Jn(t);
3754
+ const n = /* @__PURE__ */ Qn(t);
3753
3755
  return () => {
3754
3756
  var i;
3755
3757
  return (i = fc[e]) !== null && i !== void 0 ? i : n();
@@ -3773,7 +3775,7 @@ const Me = /* @__PURE__ */ hc(() => {
3773
3775
  return `linear(${i.substring(0, i.length - 2)})`;
3774
3776
  };
3775
3777
  function Ns(t) {
3776
- return !!(typeof t == "function" && Me() || !t || typeof t == "string" && (t in fn || Me()) || ti(t) || Array.isArray(t) && t.every(Ns));
3778
+ return !!(typeof t == "function" && Me() || !t || typeof t == "string" && (t in fn || Me()) || ei(t) || Array.isArray(t) && t.every(Ns));
3777
3779
  }
3778
3780
  const ee = ([t, e, n, i]) => `cubic-bezier(${t}, ${e}, ${n}, ${i})`, fn = {
3779
3781
  linear: "linear",
@@ -3788,7 +3790,7 @@ const ee = ([t, e, n, i]) => `cubic-bezier(${t}, ${e}, ${n}, ${i})`, fn = {
3788
3790
  };
3789
3791
  function Fs(t, e) {
3790
3792
  if (t)
3791
- return typeof t == "function" && Me() ? Ls(t, e) : ti(t) ? ee(t) : Array.isArray(t) ? t.map((n) => Fs(n, e) || fn.easeOut) : fn[t];
3793
+ return typeof t == "function" && Me() ? Ls(t, e) : ei(t) ? ee(t) : Array.isArray(t) ? t.map((n) => Fs(n, e) || fn.easeOut) : fn[t];
3792
3794
  }
3793
3795
  const js = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, pc = 1e-7, mc = 12;
3794
3796
  function gc(t, e, n, i, r) {
@@ -3804,18 +3806,18 @@ function me(t, e, n, i) {
3804
3806
  const r = (s) => gc(s, 0, 1, t, n);
3805
3807
  return (s) => s === 0 || s === 1 ? s : js(r(s), e, i);
3806
3808
  }
3807
- const Bs = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, Us = (t) => (e) => 1 - t(1 - e), Hs = /* @__PURE__ */ me(0.33, 1.53, 0.69, 0.99), ei = /* @__PURE__ */ Us(Hs), Ws = /* @__PURE__ */ Bs(ei), Gs = (t) => (t *= 2) < 1 ? 0.5 * ei(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), ni = (t) => 1 - Math.sin(Math.acos(t)), $s = Us(ni), qs = Bs(ni), zs = (t) => /^0[^.\s]+$/u.test(t);
3809
+ const Bs = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, Us = (t) => (e) => 1 - t(1 - e), Hs = /* @__PURE__ */ me(0.33, 1.53, 0.69, 0.99), ni = /* @__PURE__ */ Us(Hs), Ws = /* @__PURE__ */ Bs(ni), Gs = (t) => (t *= 2) < 1 ? 0.5 * ni(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), ii = (t) => 1 - Math.sin(Math.acos(t)), $s = Us(ii), qs = Bs(ii), zs = (t) => /^0[^.\s]+$/u.test(t);
3808
3810
  function yc(t) {
3809
3811
  return typeof t == "number" ? t === 0 : t !== null ? t === "none" || t === "0" || zs(t) : !0;
3810
3812
  }
3811
- const re = (t) => Math.round(t * 1e5) / 1e5, ii = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
3813
+ const re = (t) => Math.round(t * 1e5) / 1e5, ri = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
3812
3814
  function vc(t) {
3813
3815
  return t == null;
3814
3816
  }
3815
- const bc = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, ri = (t, e) => (n) => !!(typeof n == "string" && bc.test(n) && n.startsWith(t) || e && !vc(n) && Object.prototype.hasOwnProperty.call(n, e)), Ks = (t, e, n) => (i) => {
3817
+ const bc = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, si = (t, e) => (n) => !!(typeof n == "string" && bc.test(n) && n.startsWith(t) || e && !vc(n) && Object.prototype.hasOwnProperty.call(n, e)), Ks = (t, e, n) => (i) => {
3816
3818
  if (typeof i != "string")
3817
3819
  return i;
3818
- const [r, s, o, a] = i.match(ii);
3820
+ const [r, s, o, a] = i.match(ri);
3819
3821
  return {
3820
3822
  [t]: parseFloat(r),
3821
3823
  [e]: parseFloat(s),
@@ -3826,7 +3828,7 @@ const bc = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
3826
3828
  ...zt,
3827
3829
  transform: (t) => Math.round(Tc(t))
3828
3830
  }, Dt = {
3829
- test: /* @__PURE__ */ ri("rgb", "red"),
3831
+ test: /* @__PURE__ */ si("rgb", "red"),
3830
3832
  parse: /* @__PURE__ */ Ks("red", "green", "blue"),
3831
3833
  transform: ({ red: t, green: e, blue: n, alpha: i = 1 }) => "rgba(" + Ye.transform(t) + ", " + Ye.transform(e) + ", " + Ye.transform(n) + ", " + re(ue.transform(i)) + ")"
3832
3834
  };
@@ -3840,11 +3842,11 @@ function xc(t) {
3840
3842
  };
3841
3843
  }
3842
3844
  const hn = {
3843
- test: /* @__PURE__ */ ri("#"),
3845
+ test: /* @__PURE__ */ si("#"),
3844
3846
  parse: xc,
3845
3847
  transform: Dt.transform
3846
3848
  }, Nt = {
3847
- test: /* @__PURE__ */ ri("hsl", "hue"),
3849
+ test: /* @__PURE__ */ si("hsl", "hue"),
3848
3850
  parse: /* @__PURE__ */ Ks("hue", "saturation", "lightness"),
3849
3851
  transform: ({ hue: t, saturation: e, lightness: n, alpha: i = 1 }) => "hsla(" + Math.round(t) + ", " + at.transform(re(e)) + ", " + at.transform(re(n)) + ", " + re(ue.transform(i)) + ")"
3850
3852
  }, K = {
@@ -3854,9 +3856,9 @@ const hn = {
3854
3856
  }, Ac = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
3855
3857
  function wc(t) {
3856
3858
  var e, n;
3857
- return isNaN(t) && typeof t == "string" && (((e = t.match(ii)) === null || e === void 0 ? void 0 : e.length) || 0) + (((n = t.match(Ac)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
3859
+ return isNaN(t) && typeof t == "string" && (((e = t.match(ri)) === null || e === void 0 ? void 0 : e.length) || 0) + (((n = t.match(Ac)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
3858
3860
  }
3859
- const Xs = "number", Ys = "color", Sc = "var", Cc = "var(", Wi = "${}", Ec = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
3861
+ const Xs = "number", Ys = "color", Sc = "var", Cc = "var(", Gi = "${}", Ec = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
3860
3862
  function fe(t) {
3861
3863
  const e = t.toString(), n = [], i = {
3862
3864
  color: [],
@@ -3864,7 +3866,7 @@ function fe(t) {
3864
3866
  var: []
3865
3867
  }, r = [];
3866
3868
  let s = 0;
3867
- const a = e.replace(Ec, (c) => (K.test(c) ? (i.color.push(s), r.push(Ys), n.push(K.parse(c))) : c.startsWith(Cc) ? (i.var.push(s), r.push(Sc), n.push(c)) : (i.number.push(s), r.push(Xs), n.push(parseFloat(c))), ++s, Wi)).split(Wi);
3869
+ const a = e.replace(Ec, (c) => (K.test(c) ? (i.color.push(s), r.push(Ys), n.push(K.parse(c))) : c.startsWith(Cc) ? (i.var.push(s), r.push(Sc), n.push(c)) : (i.number.push(s), r.push(Xs), n.push(parseFloat(c))), ++s, Gi)).split(Gi);
3868
3870
  return { values: n, split: a, indexes: i, types: r };
3869
3871
  }
3870
3872
  function Zs(t) {
@@ -3897,7 +3899,7 @@ function Mc(t) {
3897
3899
  const [e, n] = t.slice(0, -1).split("(");
3898
3900
  if (e === "drop-shadow")
3899
3901
  return t;
3900
- const [i] = n.match(ii) || [];
3902
+ const [i] = n.match(ri) || [];
3901
3903
  if (!i)
3902
3904
  return t;
3903
3905
  const r = n.replace(i, "");
@@ -3911,7 +3913,7 @@ const kc = /\b([a-z-]*)\(.*?\)/gu, pn = {
3911
3913
  return e ? e.map(Mc).join(" ") : t;
3912
3914
  }
3913
3915
  }, Vc = {
3914
- ...Hn,
3916
+ ...Wn,
3915
3917
  // Color props
3916
3918
  color: K,
3917
3919
  backgroundColor: K,
@@ -3926,9 +3928,9 @@ const kc = /\b([a-z-]*)\(.*?\)/gu, pn = {
3926
3928
  borderLeftColor: K,
3927
3929
  filter: pn,
3928
3930
  WebkitFilter: pn
3929
- }, si = (t) => Vc[t];
3931
+ }, oi = (t) => Vc[t];
3930
3932
  function Qs(t, e) {
3931
- let n = si(t);
3933
+ let n = oi(t);
3932
3934
  return n !== pn && (n = xt), n.getAnimatableNone ? n.getAnimatableNone(e) : void 0;
3933
3935
  }
3934
3936
  const _c = /* @__PURE__ */ new Set(["auto", "none", "0"]);
@@ -3942,15 +3944,15 @@ function Ic(t, e, n) {
3942
3944
  for (const s of e)
3943
3945
  t[s] = Qs(n, r);
3944
3946
  }
3945
- const Gi = (t) => t === zt || t === P, $i = (t, e) => parseFloat(t.split(", ")[e]), qi = (t, e) => (n, { transform: i }) => {
3947
+ const $i = (t) => t === zt || t === P, qi = (t, e) => parseFloat(t.split(", ")[e]), zi = (t, e) => (n, { transform: i }) => {
3946
3948
  if (i === "none" || !i)
3947
3949
  return 0;
3948
3950
  const r = i.match(/^matrix3d\((.+)\)$/u);
3949
3951
  if (r)
3950
- return $i(r[1], e);
3952
+ return qi(r[1], e);
3951
3953
  {
3952
3954
  const s = i.match(/^matrix\((.+)\)$/u);
3953
- return s ? $i(s[1], t) : 0;
3955
+ return s ? qi(s[1], t) : 0;
3954
3956
  }
3955
3957
  }, Oc = /* @__PURE__ */ new Set(["x", "y", "z"]), Lc = qt.filter((t) => !Oc.has(t));
3956
3958
  function Nc(t) {
@@ -3969,8 +3971,8 @@ const Wt = {
3969
3971
  bottom: ({ y: t }, { top: e }) => parseFloat(e) + (t.max - t.min),
3970
3972
  right: ({ x: t }, { left: e }) => parseFloat(e) + (t.max - t.min),
3971
3973
  // Transform
3972
- x: qi(4, 13),
3973
- y: qi(5, 14)
3974
+ x: zi(4, 13),
3975
+ y: zi(5, 14)
3974
3976
  };
3975
3977
  Wt.translateX = Wt.x;
3976
3978
  Wt.translateY = Wt.y;
@@ -4003,7 +4005,7 @@ function eo() {
4003
4005
  function Fc() {
4004
4006
  eo(), to();
4005
4007
  }
4006
- class oi {
4008
+ class ai {
4007
4009
  constructor(e, n, i, r, s, o = !1) {
4008
4010
  this.isComplete = !1, this.isAsync = !1, this.needsMeasurement = !1, this.isScheduled = !1, this.unresolvedKeyframes = [...e], this.onComplete = n, this.name = i, this.motionValue = r, this.element = s, this.isAsync = o;
4009
4011
  }
@@ -4066,13 +4068,13 @@ function io(t, e, n = 1) {
4066
4068
  const o = s.trim();
4067
4069
  return no(o) ? parseFloat(o) : o;
4068
4070
  }
4069
- return Un(r) ? io(r, e, n + 1) : r;
4071
+ return Hn(r) ? io(r, e, n + 1) : r;
4070
4072
  }
4071
4073
  const ro = (t) => (e) => e.test(t), Hc = {
4072
4074
  test: (t) => t === "auto",
4073
4075
  parse: (t) => t
4074
- }, so = [zt, P, at, yt, Nl, Ll, Hc], zi = (t) => so.find(ro(t));
4075
- class oo extends oi {
4076
+ }, so = [zt, P, at, yt, Nl, Ll, Hc], Ki = (t) => so.find(ro(t));
4077
+ class oo extends ai {
4076
4078
  constructor(e, n, i, r, s) {
4077
4079
  super(e, n, i, r, s, !0);
4078
4080
  }
@@ -4083,16 +4085,16 @@ class oo extends oi {
4083
4085
  super.readKeyframes();
4084
4086
  for (let c = 0; c < e.length; c++) {
4085
4087
  let l = e[c];
4086
- if (typeof l == "string" && (l = l.trim(), Un(l))) {
4088
+ if (typeof l == "string" && (l = l.trim(), Hn(l))) {
4087
4089
  const u = io(l, n.current);
4088
4090
  u !== void 0 && (e[c] = u), c === e.length - 1 && (this.finalKeyframe = l);
4089
4091
  }
4090
4092
  }
4091
4093
  if (this.resolveNoneKeyframes(), !_s.has(i) || e.length !== 2)
4092
4094
  return;
4093
- const [r, s] = e, o = zi(r), a = zi(s);
4095
+ const [r, s] = e, o = Ki(r), a = Ki(s);
4094
4096
  if (o !== a)
4095
- if (Gi(o) && Gi(a))
4097
+ if ($i(o) && $i(a))
4096
4098
  for (let c = 0; c < e.length; c++) {
4097
4099
  const l = e[c];
4098
4100
  typeof l == "string" && (e[c] = parseFloat(l));
@@ -4127,7 +4129,7 @@ class oo extends oi {
4127
4129
  }), this.resolveNoneKeyframes();
4128
4130
  }
4129
4131
  }
4130
- const Ki = (t, e) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
4132
+ const Xi = (t, e) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
4131
4133
  (xt.test(t) || t === "0") && // And it contains numbers and/or colors
4132
4134
  !t.startsWith("url("));
4133
4135
  function Wc(t) {
@@ -4144,8 +4146,8 @@ function Gc(t, e, n, i) {
4144
4146
  return !1;
4145
4147
  if (e === "display" || e === "visibility")
4146
4148
  return !0;
4147
- const s = t[t.length - 1], o = Ki(r, e), a = Ki(s, e);
4148
- return $t(o === a, `You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`), !o || !a ? !1 : Wc(t) || (n === "spring" || Qn(n)) && i;
4149
+ const s = t[t.length - 1], o = Xi(r, e), a = Xi(s, e);
4150
+ return $t(o === a, `You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`), !o || !a ? !1 : Wc(t) || (n === "spring" || ti(n)) && i;
4149
4151
  }
4150
4152
  const $c = (t) => t !== null;
4151
4153
  function We(t, { repeat: e, repeatType: n = "loop" }, i) {
@@ -4263,15 +4265,15 @@ const Je = (t, e, n) => {
4263
4265
  const i = t * t, r = n * (e * e - i) + i;
4264
4266
  return r < 0 ? 0 : Math.sqrt(r);
4265
4267
  }, Kc = [hn, Dt, Nt], Xc = (t) => Kc.find((e) => e.test(t));
4266
- function Xi(t) {
4268
+ function Yi(t) {
4267
4269
  const e = Xc(t);
4268
4270
  if ($t(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`), !e)
4269
4271
  return !1;
4270
4272
  let n = e.parse(t);
4271
4273
  return e === Nt && (n = zc(n)), n;
4272
4274
  }
4273
- const Yi = (t, e) => {
4274
- const n = Xi(t), i = Xi(e);
4275
+ const Zi = (t, e) => {
4276
+ const n = Yi(t), i = Yi(e);
4275
4277
  if (!n || !i)
4276
4278
  return ke(t, e);
4277
4279
  const r = { ...n };
@@ -4283,11 +4285,11 @@ function Zc(t, e) {
4283
4285
  function Jc(t, e) {
4284
4286
  return (n) => U(t, e, n);
4285
4287
  }
4286
- function ai(t) {
4287
- return typeof t == "number" ? Jc : typeof t == "string" ? Un(t) ? ke : K.test(t) ? Yi : eu : Array.isArray(t) ? co : typeof t == "object" ? K.test(t) ? Yi : Qc : ke;
4288
+ function li(t) {
4289
+ return typeof t == "number" ? Jc : typeof t == "string" ? Hn(t) ? ke : K.test(t) ? Zi : eu : Array.isArray(t) ? co : typeof t == "object" ? K.test(t) ? Zi : Qc : ke;
4288
4290
  }
4289
4291
  function co(t, e) {
4290
- const n = [...t], i = n.length, r = t.map((s, o) => ai(s)(s, e[o]));
4292
+ const n = [...t], i = n.length, r = t.map((s, o) => li(s)(s, e[o]));
4291
4293
  return (s) => {
4292
4294
  for (let o = 0; o < i; o++)
4293
4295
  n[o] = r[o](s);
@@ -4297,7 +4299,7 @@ function co(t, e) {
4297
4299
  function Qc(t, e) {
4298
4300
  const n = { ...t, ...e }, i = {};
4299
4301
  for (const r in n)
4300
- t[r] !== void 0 && e[r] !== void 0 && (i[r] = ai(t[r])(t[r], e[r]));
4302
+ t[r] !== void 0 && e[r] !== void 0 && (i[r] = li(t[r])(t[r], e[r]));
4301
4303
  return (r) => {
4302
4304
  for (const s in i)
4303
4305
  n[s] = i[s](r);
@@ -4318,7 +4320,7 @@ const eu = (t, e) => {
4318
4320
  return i.indexes.var.length === r.indexes.var.length && i.indexes.color.length === r.indexes.color.length && i.indexes.number.length >= r.indexes.number.length ? vn.has(t) && !r.values.length || vn.has(e) && !i.values.length ? Zc(t, e) : ge(co(tu(i, r), r.values), n) : ($t(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), ke(t, e));
4319
4321
  };
4320
4322
  function uo(t, e, n) {
4321
- return typeof t == "number" && typeof e == "number" && typeof n == "number" ? U(t, e, n) : ai(t)(t, e);
4323
+ return typeof t == "number" && typeof e == "number" && typeof n == "number" ? U(t, e, n) : li(t)(t, e);
4322
4324
  }
4323
4325
  const nu = 5;
4324
4326
  function fo(t, e, n) {
@@ -4398,7 +4400,7 @@ function bn(t, e) {
4398
4400
  return t * Math.sqrt(1 - e * e);
4399
4401
  }
4400
4402
  const ou = ["duration", "bounce"], au = ["stiffness", "damping", "mass"];
4401
- function Zi(t, e) {
4403
+ function Ji(t, e) {
4402
4404
  return e.some((n) => t[n] !== void 0);
4403
4405
  }
4404
4406
  function lu(t) {
@@ -4410,7 +4412,7 @@ function lu(t) {
4410
4412
  isResolvedFromDuration: !1,
4411
4413
  ...t
4412
4414
  };
4413
- if (!Zi(t, au) && Zi(t, ou))
4415
+ if (!Ji(t, au) && Ji(t, ou))
4414
4416
  if (t.visualDuration) {
4415
4417
  const n = t.visualDuration, i = 2 * Math.PI / (n * 1.2), r = i * i, s = 2 * ht(0.05, 1, 1 - (t.bounce || 0)) * Math.sqrt(r);
4416
4418
  e = {
@@ -4478,7 +4480,7 @@ function ho(t = j.visualDuration, e = j.bounce) {
4478
4480
  };
4479
4481
  return E;
4480
4482
  }
4481
- function Ji({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: i = 325, bounceDamping: r = 10, bounceStiffness: s = 500, modifyTarget: o, min: a, max: c, restDelta: l = 0.5, restSpeed: u }) {
4483
+ function Qi({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: i = 325, bounceDamping: r = 10, bounceStiffness: s = 500, modifyTarget: o, min: a, max: c, restDelta: l = 0.5, restSpeed: u }) {
4482
4484
  const d = t[0], h = {
4483
4485
  done: !1,
4484
4486
  value: d
@@ -4510,25 +4512,25 @@ function Ji({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: i = 3
4510
4512
  }
4511
4513
  };
4512
4514
  }
4513
- const cu = /* @__PURE__ */ me(0.42, 0, 1, 1), uu = /* @__PURE__ */ me(0, 0, 0.58, 1), po = /* @__PURE__ */ me(0.42, 0, 0.58, 1), du = (t) => Array.isArray(t) && typeof t[0] != "number", Qi = {
4515
+ const cu = /* @__PURE__ */ me(0.42, 0, 1, 1), uu = /* @__PURE__ */ me(0, 0, 0.58, 1), po = /* @__PURE__ */ me(0.42, 0, 0.58, 1), du = (t) => Array.isArray(t) && typeof t[0] != "number", tr = {
4514
4516
  linear: Y,
4515
4517
  easeIn: cu,
4516
4518
  easeInOut: po,
4517
4519
  easeOut: uu,
4518
- circIn: ni,
4520
+ circIn: ii,
4519
4521
  circInOut: qs,
4520
4522
  circOut: $s,
4521
- backIn: ei,
4523
+ backIn: ni,
4522
4524
  backInOut: Ws,
4523
4525
  backOut: Hs,
4524
4526
  anticipate: Gs
4525
- }, tr = (t) => {
4526
- if (ti(t)) {
4527
+ }, er = (t) => {
4528
+ if (ei(t)) {
4527
4529
  bt(t.length === 4, "Cubic bezier arrays must contain four numerical values.");
4528
4530
  const [e, n, i, r] = t;
4529
4531
  return me(e, n, i, r);
4530
4532
  } else if (typeof t == "string")
4531
- return bt(Qi[t] !== void 0, `Invalid easing type '${t}'`), Qi[t];
4533
+ return bt(tr[t] !== void 0, `Invalid easing type '${t}'`), tr[t];
4532
4534
  return t;
4533
4535
  };
4534
4536
  function fu(t, e, n) {
@@ -4581,7 +4583,7 @@ function yu(t, e) {
4581
4583
  return t.map(() => e || po).splice(0, t.length - 1);
4582
4584
  }
4583
4585
  function Ve({ duration: t = 300, keyframes: e, times: n, ease: i = "easeInOut" }) {
4584
- const r = du(i) ? i.map(tr) : tr(i), s = {
4586
+ const r = du(i) ? i.map(er) : er(i), s = {
4585
4587
  done: !1,
4586
4588
  value: e[0]
4587
4589
  }, o = gu(
@@ -4609,13 +4611,13 @@ const vu = (t) => {
4609
4611
  now: () => q.isProcessing ? q.timestamp : lt.now()
4610
4612
  };
4611
4613
  }, bu = {
4612
- decay: Ji,
4613
- inertia: Ji,
4614
+ decay: Qi,
4615
+ inertia: Qi,
4614
4616
  tween: Ve,
4615
4617
  keyframes: Ve,
4616
4618
  spring: ho
4617
4619
  }, Tu = (t) => t / 100;
4618
- class li extends ao {
4620
+ class ci extends ao {
4619
4621
  constructor(e) {
4620
4622
  super(e), this.holdTime = null, this.cancelTime = null, this.currentTime = 0, this.playbackSpeed = 1, this.pendingPlayState = "running", this.startTime = null, this.state = "idle", this.stop = () => {
4621
4623
  if (this.resolver.cancel(), this.isStopped = !0, this.state === "idle")
@@ -4624,14 +4626,14 @@ class li extends ao {
4624
4626
  const { onStop: c } = this.options;
4625
4627
  c && c();
4626
4628
  };
4627
- const { name: n, motionValue: i, element: r, keyframes: s } = this.options, o = r?.KeyframeResolver || oi, a = (c, l) => this.onKeyframesResolved(c, l);
4629
+ const { name: n, motionValue: i, element: r, keyframes: s } = this.options, o = r?.KeyframeResolver || ai, a = (c, l) => this.onKeyframesResolved(c, l);
4628
4630
  this.resolver = new o(s, a, n, i, r), this.resolver.scheduleResolve();
4629
4631
  }
4630
4632
  flatten() {
4631
4633
  super.flatten(), this._resolved && Object.assign(this._resolved, this.initPlayback(this._resolved.keyframes));
4632
4634
  }
4633
4635
  initPlayback(e) {
4634
- const { type: n = "keyframes", repeat: i = 0, repeatDelay: r = 0, repeatType: s, velocity: o = 0 } = this.options, a = Qn(n) ? n : bu[n] || Ve;
4636
+ const { type: n = "keyframes", repeat: i = 0, repeatDelay: r = 0, repeatType: s, velocity: o = 0 } = this.options, a = ti(n) ? n : bu[n] || Ve;
4635
4637
  let c, l;
4636
4638
  a !== Ve && typeof e[0] != "number" && (process.env.NODE_ENV !== "production" && bt(e.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`), c = ge(Tu, uo(e[0], e[1])), e = [0, 100]);
4637
4639
  const u = a({ ...this.options, keyframes: e });
@@ -4760,12 +4762,12 @@ function Au(t, e, n, { delay: i = 0, duration: r = 300, repeat: s = 0, repeatTyp
4760
4762
  direction: o === "reverse" ? "alternate" : "normal"
4761
4763
  });
4762
4764
  }
4763
- const wu = /* @__PURE__ */ Jn(() => Object.hasOwnProperty.call(Element.prototype, "animate")), _e = 10, Su = 2e4;
4765
+ const wu = /* @__PURE__ */ Qn(() => Object.hasOwnProperty.call(Element.prototype, "animate")), _e = 10, Su = 2e4;
4764
4766
  function Cu(t) {
4765
- return Qn(t.type) || t.type === "spring" || !Ns(t.ease);
4767
+ return ti(t.type) || t.type === "spring" || !Ns(t.ease);
4766
4768
  }
4767
4769
  function Eu(t, e) {
4768
- const n = new li({
4770
+ const n = new ci({
4769
4771
  ...e,
4770
4772
  keyframes: t,
4771
4773
  repeat: 0,
@@ -4792,7 +4794,7 @@ const mo = {
4792
4794
  function Pu(t) {
4793
4795
  return t in mo;
4794
4796
  }
4795
- class er extends ao {
4797
+ class nr extends ao {
4796
4798
  constructor(e) {
4797
4799
  super(e);
4798
4800
  const { name: n, motionValue: i, element: r, keyframes: s } = this.options;
@@ -4807,7 +4809,7 @@ class er extends ao {
4807
4809
  e = g.keyframes, e.length === 1 && (e[1] = e[0]), i = g.duration, r = g.times, s = g.ease, o = "keyframes";
4808
4810
  }
4809
4811
  const u = Au(a.owner.current, c, e, { ...this.options, duration: i, times: r, ease: s });
4810
- return u.startTime = l ?? this.calcStartTime(), this.pendingTimeline ? (Hi(u, this.pendingTimeline), this.pendingTimeline = void 0) : u.onfinish = () => {
4812
+ return u.startTime = l ?? this.calcStartTime(), this.pendingTimeline ? (Wi(u, this.pendingTimeline), this.pendingTimeline = void 0) : u.onfinish = () => {
4811
4813
  const { onComplete: d } = this.options;
4812
4814
  a.set(We(e, this.options, n)), d && d(), this.cancel(), this.resolveFinishedPromise();
4813
4815
  }, {
@@ -4880,7 +4882,7 @@ class er extends ao {
4880
4882
  if (!n)
4881
4883
  return Y;
4882
4884
  const { animation: i } = n;
4883
- Hi(i, e);
4885
+ Wi(i, e);
4884
4886
  }
4885
4887
  return Y;
4886
4888
  }
@@ -4911,7 +4913,7 @@ class er extends ao {
4911
4913
  if (n.playState === "idle" || n.playState === "finished")
4912
4914
  return;
4913
4915
  if (this.time) {
4914
- const { motionValue: l, onUpdate: u, onComplete: d, element: h, ...p } = this.options, b = new li({
4916
+ const { motionValue: l, onUpdate: u, onComplete: d, element: h, ...p } = this.options, b = new ci({
4915
4917
  ...p,
4916
4918
  keyframes: i,
4917
4919
  duration: r,
@@ -4966,8 +4968,8 @@ const Ru = {
4966
4968
  function _u({ when: t, delay: e, delayChildren: n, staggerChildren: i, staggerDirection: r, repeat: s, repeatType: o, repeatDelay: a, from: c, elapsed: l, ...u }) {
4967
4969
  return !!Object.keys(u).length;
4968
4970
  }
4969
- const ci = (t, e, n, i = {}, r, s) => (o) => {
4970
- const a = Kn(i, t) || {}, c = a.delay || i.delay || 0;
4971
+ const ui = (t, e, n, i = {}, r, s) => (o) => {
4972
+ const a = Xn(i, t) || {}, c = a.delay || i.delay || 0;
4971
4973
  let { elapsed: l = 0 } = i;
4972
4974
  l = l - /* @__PURE__ */ ct(c);
4973
4975
  let u = {
@@ -4998,7 +5000,7 @@ const ci = (t, e, n, i = {}, r, s) => (o) => {
4998
5000
  u.onUpdate(h), u.onComplete();
4999
5001
  }), new dc([]);
5000
5002
  }
5001
- return !s && er.supports(u) ? new er(u) : new li(u);
5003
+ return !s && nr.supports(u) ? new nr(u) : new ci(u);
5002
5004
  };
5003
5005
  function Iu({ protectedKeys: t, needsAnimating: e }, n) {
5004
5006
  const i = t.hasOwnProperty(n) && e[n] !== !0;
@@ -5015,7 +5017,7 @@ function go(t, e, { delay: n = 0, transitionOverride: i, type: r } = {}) {
5015
5017
  continue;
5016
5018
  const b = {
5017
5019
  delay: n,
5018
- ...Kn(o || {}, d)
5020
+ ...Xn(o || {}, d)
5019
5021
  };
5020
5022
  let y = !1;
5021
5023
  if (window.MotionHandoffAnimation) {
@@ -5025,7 +5027,7 @@ function go(t, e, { delay: n = 0, transitionOverride: i, type: r } = {}) {
5025
5027
  w !== null && (b.startTime = w, y = !0);
5026
5028
  }
5027
5029
  }
5028
- dn(t, d), h.start(ci(d, h, p, t.shouldReduceMotion && _s.has(d) ? { type: !1 } : b, t, y));
5030
+ dn(t, d), h.start(ui(d, h, p, t.shouldReduceMotion && _s.has(d) ? { type: !1 } : b, t, y));
5029
5031
  const g = h.animation;
5030
5032
  g && l.push(g);
5031
5033
  }
@@ -5078,7 +5080,7 @@ function Nu(t, e, n = {}) {
5078
5080
  t.notify("AnimationComplete", e);
5079
5081
  });
5080
5082
  }
5081
- const Fu = Ln.length;
5083
+ const Fu = Nn.length;
5082
5084
  function yo(t) {
5083
5085
  if (!t)
5084
5086
  return;
@@ -5088,17 +5090,17 @@ function yo(t) {
5088
5090
  }
5089
5091
  const e = {};
5090
5092
  for (let n = 0; n < Fu; n++) {
5091
- const i = Ln[n], r = t.props[i];
5093
+ const i = Nn[n], r = t.props[i];
5092
5094
  (ce(r) || r === !1) && (e[i] = r);
5093
5095
  }
5094
5096
  return e;
5095
5097
  }
5096
- const ju = [...On].reverse(), Bu = On.length;
5098
+ const ju = [...Ln].reverse(), Bu = Ln.length;
5097
5099
  function Uu(t) {
5098
5100
  return (e) => Promise.all(e.map(({ animation: n, options: i }) => Nu(t, n, i)));
5099
5101
  }
5100
5102
  function Hu(t) {
5101
- let e = Uu(t), n = nr(), i = !0;
5103
+ let e = Uu(t), n = ir(), i = !0;
5102
5104
  const r = (c) => (l, u) => {
5103
5105
  var d;
5104
5106
  const h = He(t, u, c === "exit" ? (d = t.presenceContext) === null || d === void 0 ? void 0 : d.custom : void 0);
@@ -5179,7 +5181,7 @@ function Hu(t) {
5179
5181
  setAnimateFunction: s,
5180
5182
  getState: () => n,
5181
5183
  reset: () => {
5182
- n = nr(), i = !0;
5184
+ n = ir(), i = !0;
5183
5185
  }
5184
5186
  };
5185
5187
  }
@@ -5194,7 +5196,7 @@ function Et(t = !1) {
5194
5196
  prevResolvedValues: {}
5195
5197
  };
5196
5198
  }
5197
- function nr() {
5199
+ function ir() {
5198
5200
  return {
5199
5201
  animate: Et(!0),
5200
5202
  whileInView: Et(),
@@ -5282,7 +5284,7 @@ function Ku(t) {
5282
5284
  rt.x = rt.y = !1;
5283
5285
  });
5284
5286
  }
5285
- const ui = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1;
5287
+ const di = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1;
5286
5288
  function he(t, e, n, i = { passive: !0 }) {
5287
5289
  return t.addEventListener(e, n, i), () => t.removeEventListener(e, n);
5288
5290
  }
@@ -5294,13 +5296,13 @@ function ye(t) {
5294
5296
  }
5295
5297
  };
5296
5298
  }
5297
- const Xu = (t) => (e) => ui(e) && t(e, ye(e));
5299
+ const Xu = (t) => (e) => di(e) && t(e, ye(e));
5298
5300
  function se(t, e, n, i) {
5299
5301
  return he(t, e, Xu(n), i);
5300
5302
  }
5301
- const ir = (t, e) => Math.abs(t - e);
5303
+ const rr = (t, e) => Math.abs(t - e);
5302
5304
  function Yu(t, e) {
5303
- const n = ir(t.x, e.x), i = ir(t.y, e.y);
5305
+ const n = rr(t.x, e.x), i = rr(t.y, e.y);
5304
5306
  return Math.sqrt(n ** 2 + i ** 2);
5305
5307
  }
5306
5308
  class bo {
@@ -5324,7 +5326,7 @@ class bo {
5324
5326
  return;
5325
5327
  const g = en(d.type === "pointercancel" ? this.lastMoveEventInfo : tn(h, this.transformPagePoint), this.history);
5326
5328
  this.startEvent && p && p(d, g), b && b(d, g);
5327
- }, !ui(e))
5329
+ }, !di(e))
5328
5330
  return;
5329
5331
  this.dragSnapToOrigin = s, this.handlers = n, this.transformPagePoint = i, this.contextWindow = r || window;
5330
5332
  const o = ye(e), a = tn(o, this.transformPagePoint), { point: c } = a, { timestamp: l } = q;
@@ -5342,14 +5344,14 @@ class bo {
5342
5344
  function tn(t, e) {
5343
5345
  return e ? { point: e(t.point) } : t;
5344
5346
  }
5345
- function rr(t, e) {
5347
+ function sr(t, e) {
5346
5348
  return { x: t.x - e.x, y: t.y - e.y };
5347
5349
  }
5348
5350
  function en({ point: t }, e) {
5349
5351
  return {
5350
5352
  point: t,
5351
- delta: rr(t, To(e)),
5352
- offset: rr(t, Zu(e)),
5353
+ delta: sr(t, To(e)),
5354
+ offset: sr(t, Zu(e)),
5353
5355
  velocity: Ju(e, 0.1)
5354
5356
  };
5355
5357
  }
@@ -5384,28 +5386,28 @@ function Z(t) {
5384
5386
  function id(t, e, n) {
5385
5387
  return Math.abs(t - e) <= n;
5386
5388
  }
5387
- function sr(t, e, n, i = 0.5) {
5389
+ function or(t, e, n, i = 0.5) {
5388
5390
  t.origin = i, t.originPoint = U(e.min, e.max, t.origin), t.scale = Z(n) / Z(e), t.translate = U(n.min, n.max, t.origin) - t.originPoint, (t.scale >= Qu && t.scale <= td || isNaN(t.scale)) && (t.scale = 1), (t.translate >= ed && t.translate <= nd || isNaN(t.translate)) && (t.translate = 0);
5389
5391
  }
5390
5392
  function oe(t, e, n, i) {
5391
- sr(t.x, e.x, n.x, i ? i.originX : void 0), sr(t.y, e.y, n.y, i ? i.originY : void 0);
5393
+ or(t.x, e.x, n.x, i ? i.originX : void 0), or(t.y, e.y, n.y, i ? i.originY : void 0);
5392
5394
  }
5393
- function or(t, e, n) {
5395
+ function ar(t, e, n) {
5394
5396
  t.min = n.min + e.min, t.max = t.min + Z(e);
5395
5397
  }
5396
5398
  function rd(t, e, n) {
5397
- or(t.x, e.x, n.x), or(t.y, e.y, n.y);
5399
+ ar(t.x, e.x, n.x), ar(t.y, e.y, n.y);
5398
5400
  }
5399
- function ar(t, e, n) {
5401
+ function lr(t, e, n) {
5400
5402
  t.min = e.min - n.min, t.max = t.min + Z(e);
5401
5403
  }
5402
5404
  function ae(t, e, n) {
5403
- ar(t.x, e.x, n.x), ar(t.y, e.y, n.y);
5405
+ lr(t.x, e.x, n.x), lr(t.y, e.y, n.y);
5404
5406
  }
5405
5407
  function sd(t, { min: e, max: n }, i) {
5406
5408
  return e !== void 0 && t < e ? t = i ? U(e, t, i.min) : Math.max(t, e) : n !== void 0 && t > n && (t = i ? U(n, t, i.max) : Math.min(t, n)), t;
5407
5409
  }
5408
- function lr(t, e, n) {
5410
+ function cr(t, e, n) {
5409
5411
  return {
5410
5412
  min: e !== void 0 ? t.min + e : void 0,
5411
5413
  max: n !== void 0 ? t.max + n - (t.max - t.min) : void 0
@@ -5413,18 +5415,18 @@ function lr(t, e, n) {
5413
5415
  }
5414
5416
  function od(t, { top: e, left: n, bottom: i, right: r }) {
5415
5417
  return {
5416
- x: lr(t.x, n, r),
5417
- y: lr(t.y, e, i)
5418
+ x: cr(t.x, n, r),
5419
+ y: cr(t.y, e, i)
5418
5420
  };
5419
5421
  }
5420
- function cr(t, e) {
5422
+ function ur(t, e) {
5421
5423
  let n = e.min - t.min, i = e.max - t.max;
5422
5424
  return e.max - e.min < t.max - t.min && ([n, i] = [i, n]), { min: n, max: i };
5423
5425
  }
5424
5426
  function ad(t, e) {
5425
5427
  return {
5426
- x: cr(t.x, e.x),
5427
- y: cr(t.y, e.y)
5428
+ x: ur(t.x, e.x),
5429
+ y: ur(t.y, e.y)
5428
5430
  };
5429
5431
  }
5430
5432
  function ld(t, e) {
@@ -5439,30 +5441,30 @@ function cd(t, e) {
5439
5441
  const xn = 0.35;
5440
5442
  function ud(t = xn) {
5441
5443
  return t === !1 ? t = 0 : t === !0 && (t = xn), {
5442
- x: ur(t, "left", "right"),
5443
- y: ur(t, "top", "bottom")
5444
+ x: dr(t, "left", "right"),
5445
+ y: dr(t, "top", "bottom")
5444
5446
  };
5445
5447
  }
5446
- function ur(t, e, n) {
5448
+ function dr(t, e, n) {
5447
5449
  return {
5448
- min: dr(t, e),
5449
- max: dr(t, n)
5450
+ min: fr(t, e),
5451
+ max: fr(t, n)
5450
5452
  };
5451
5453
  }
5452
- function dr(t, e) {
5454
+ function fr(t, e) {
5453
5455
  return typeof t == "number" ? t : t[e] || 0;
5454
5456
  }
5455
- const fr = () => ({
5457
+ const hr = () => ({
5456
5458
  translate: 0,
5457
5459
  scale: 1,
5458
5460
  origin: 0,
5459
5461
  originPoint: 0
5460
5462
  }), Ft = () => ({
5461
- x: fr(),
5462
- y: fr()
5463
- }), hr = () => ({ min: 0, max: 0 }), W = () => ({
5464
5463
  x: hr(),
5465
5464
  y: hr()
5465
+ }), pr = () => ({ min: 0, max: 0 }), W = () => ({
5466
+ x: pr(),
5467
+ y: pr()
5466
5468
  });
5467
5469
  function nt(t) {
5468
5470
  return [t("x"), t("y")];
@@ -5497,25 +5499,25 @@ function Pt(t) {
5497
5499
  return An(t) || So(t) || t.z || t.rotate || t.rotateX || t.rotateY || t.skewX || t.skewY;
5498
5500
  }
5499
5501
  function So(t) {
5500
- return pr(t.x) || pr(t.y);
5502
+ return mr(t.x) || mr(t.y);
5501
5503
  }
5502
- function pr(t) {
5504
+ function mr(t) {
5503
5505
  return t && t !== "0%";
5504
5506
  }
5505
5507
  function Ie(t, e, n) {
5506
5508
  const i = t - n, r = e * i;
5507
5509
  return n + r;
5508
5510
  }
5509
- function mr(t, e, n, i, r) {
5511
+ function gr(t, e, n, i, r) {
5510
5512
  return r !== void 0 && (t = Ie(t, r, i)), Ie(t, n, i) + e;
5511
5513
  }
5512
5514
  function wn(t, e = 0, n = 1, i, r) {
5513
- t.min = mr(t.min, e, n, i, r), t.max = mr(t.max, e, n, i, r);
5515
+ t.min = gr(t.min, e, n, i, r), t.max = gr(t.max, e, n, i, r);
5514
5516
  }
5515
5517
  function Co(t, { x: e, y: n }) {
5516
5518
  wn(t.x, e.translate, e.scale, e.originPoint), wn(t.y, n.translate, n.scale, n.originPoint);
5517
5519
  }
5518
- const gr = 0.999999999999, yr = 1.0000000000001;
5520
+ const yr = 0.999999999999, vr = 1.0000000000001;
5519
5521
  function hd(t, e, n, i = !1) {
5520
5522
  const r = n.length;
5521
5523
  if (!r)
@@ -5530,17 +5532,17 @@ function hd(t, e, n, i = !1) {
5530
5532
  y: -s.scroll.offset.y
5531
5533
  }), o && (e.x *= o.x.scale, e.y *= o.y.scale, Co(t, o)), i && Pt(s.latestValues) && Bt(t, s.latestValues));
5532
5534
  }
5533
- e.x < yr && e.x > gr && (e.x = 1), e.y < yr && e.y > gr && (e.y = 1);
5535
+ e.x < vr && e.x > yr && (e.x = 1), e.y < vr && e.y > yr && (e.y = 1);
5534
5536
  }
5535
5537
  function jt(t, e) {
5536
5538
  t.min = t.min + e, t.max = t.max + e;
5537
5539
  }
5538
- function vr(t, e, n, i, r = 0.5) {
5540
+ function br(t, e, n, i, r = 0.5) {
5539
5541
  const s = U(t.min, t.max, r);
5540
5542
  wn(t, e, n, s, i);
5541
5543
  }
5542
5544
  function Bt(t, e) {
5543
- vr(t.x, e.x, e.scaleX, e.scale, e.originX), vr(t.y, e.y, e.scaleY, e.scale, e.originY);
5545
+ br(t.x, e.x, e.scaleX, e.scale, e.originX), br(t.y, e.y, e.scaleY, e.scale, e.originY);
5544
5546
  }
5545
5547
  function Eo(t, e) {
5546
5548
  return wo(fd(t.getBoundingClientRect(), e));
@@ -5675,7 +5677,7 @@ class gd {
5675
5677
  }
5676
5678
  startAxisValueAnimation(e, n) {
5677
5679
  const i = this.getAxisMotionValue(e);
5678
- return dn(this.visualElement, e), i.start(ci(e, i, 0, n, this.visualElement, !1));
5680
+ return dn(this.visualElement, e), i.start(ui(e, i, 0, n, this.visualElement, !1));
5679
5681
  }
5680
5682
  stopAnimation() {
5681
5683
  nt((e) => this.getAxisMotionValue(e).stop());
@@ -5794,7 +5796,7 @@ class vd extends St {
5794
5796
  this.removeGroupControls(), this.removeListeners();
5795
5797
  }
5796
5798
  }
5797
- const br = (t) => (e, n) => {
5799
+ const Tr = (t) => (e, n) => {
5798
5800
  t && F.postRender(() => t(e, n));
5799
5801
  };
5800
5802
  class bd extends St {
@@ -5810,8 +5812,8 @@ class bd extends St {
5810
5812
  createPanHandlers() {
5811
5813
  const { onPanSessionStart: e, onPanStart: n, onPan: i, onPanEnd: r } = this.node.getProps();
5812
5814
  return {
5813
- onSessionStart: br(e),
5814
- onStart: br(n),
5815
+ onSessionStart: Tr(e),
5816
+ onStart: Tr(n),
5815
5817
  onMove: i,
5816
5818
  onEnd: (s, o) => {
5817
5819
  delete this.session, r && F.postRender(() => r(s, o));
@@ -5840,7 +5842,7 @@ const Ee = {
5840
5842
  */
5841
5843
  hasEverUpdated: !1
5842
5844
  };
5843
- function Tr(t, e) {
5845
+ function xr(t, e) {
5844
5846
  return e.max === e.min ? 0 : t / (e.max - e.min) * 100;
5845
5847
  }
5846
5848
  const te = {
@@ -5852,7 +5854,7 @@ const te = {
5852
5854
  t = parseFloat(t);
5853
5855
  else
5854
5856
  return t;
5855
- const n = Tr(t, e.target.x), i = Tr(t, e.target.y);
5857
+ const n = xr(t, e.target.x), i = xr(t, e.target.y);
5856
5858
  return `${n}% ${i}%`;
5857
5859
  }
5858
5860
  }, Td = {
@@ -5890,7 +5892,7 @@ class xd extends Ko {
5890
5892
  }
5891
5893
  componentDidUpdate() {
5892
5894
  const { projection: e } = this.props.visualElement;
5893
- e && (e.root.didUpdate(), Fn.postRender(() => {
5895
+ e && (e.root.didUpdate(), jn.postRender(() => {
5894
5896
  !e.currentAnimation && e.isLead() && this.safeToRemove();
5895
5897
  }));
5896
5898
  }
@@ -5907,7 +5909,7 @@ class xd extends Ko {
5907
5909
  }
5908
5910
  }
5909
5911
  function Ro(t) {
5910
- const [e, n] = fs(), i = G(kn);
5912
+ const [e, n] = fs(), i = G(Vn);
5911
5913
  return kt(xd, { ...t, layoutGroup: i, switchLayoutGroup: G(bs), isPresent: e, safeToRemove: n });
5912
5914
  }
5913
5915
  const Ad = {
@@ -5928,7 +5930,7 @@ const Ad = {
5928
5930
  };
5929
5931
  function wd(t, e, n) {
5930
5932
  const i = X(t) ? t : de(t);
5931
- return i.start(ci("", i, e, n)), i.animation;
5933
+ return i.start(ui("", i, e, n)), i.animation;
5932
5934
  }
5933
5935
  function Sd(t) {
5934
5936
  return t instanceof SVGElement && t.tagName !== "svg";
@@ -5939,10 +5941,10 @@ class Ed {
5939
5941
  this.children = [], this.isDirty = !1;
5940
5942
  }
5941
5943
  add(e) {
5942
- Xn(this.children, e), this.isDirty = !0;
5944
+ Yn(this.children, e), this.isDirty = !0;
5943
5945
  }
5944
5946
  remove(e) {
5945
- Yn(this.children, e), this.isDirty = !0;
5947
+ Zn(this.children, e), this.isDirty = !0;
5946
5948
  }
5947
5949
  forEach(e) {
5948
5950
  this.isDirty && this.children.sort(Cd), this.isDirty = !1, this.children.forEach(e);
@@ -5955,7 +5957,7 @@ function Pd(t, e) {
5955
5957
  };
5956
5958
  return F.read(i, !0), () => Tt(i);
5957
5959
  }
5958
- const Do = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Rd = Do.length, xr = (t) => typeof t == "string" ? parseFloat(t) : t, Ar = (t) => typeof t == "number" || P.test(t);
5960
+ const Do = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Rd = Do.length, Ar = (t) => typeof t == "string" ? parseFloat(t) : t, wr = (t) => typeof t == "number" || P.test(t);
5959
5961
  function Dd(t, e, n, i, r, s) {
5960
5962
  r ? (t.opacity = U(
5961
5963
  0,
@@ -5965,67 +5967,67 @@ function Dd(t, e, n, i, r, s) {
5965
5967
  ), t.opacityExit = U(e.opacity !== void 0 ? e.opacity : 1, 0, kd(i))) : s && (t.opacity = U(e.opacity !== void 0 ? e.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, i));
5966
5968
  for (let o = 0; o < Rd; o++) {
5967
5969
  const a = `border${Do[o]}Radius`;
5968
- let c = wr(e, a), l = wr(n, a);
5970
+ let c = Sr(e, a), l = Sr(n, a);
5969
5971
  if (c === void 0 && l === void 0)
5970
5972
  continue;
5971
- c || (c = 0), l || (l = 0), c === 0 || l === 0 || Ar(c) === Ar(l) ? (t[a] = Math.max(U(xr(c), xr(l), i), 0), (at.test(l) || at.test(c)) && (t[a] += "%")) : t[a] = l;
5973
+ c || (c = 0), l || (l = 0), c === 0 || l === 0 || wr(c) === wr(l) ? (t[a] = Math.max(U(Ar(c), Ar(l), i), 0), (at.test(l) || at.test(c)) && (t[a] += "%")) : t[a] = l;
5972
5974
  }
5973
5975
  (e.rotate || n.rotate) && (t.rotate = U(e.rotate || 0, n.rotate || 0, i));
5974
5976
  }
5975
- function wr(t, e) {
5977
+ function Sr(t, e) {
5976
5978
  return t[e] !== void 0 ? t[e] : t.borderRadius;
5977
5979
  }
5978
5980
  const Md = /* @__PURE__ */ Mo(0, 0.5, $s), kd = /* @__PURE__ */ Mo(0.5, 0.95, Y);
5979
5981
  function Mo(t, e, n) {
5980
5982
  return (i) => i < t ? 0 : i > e ? 1 : n(/* @__PURE__ */ Ht(t, e, i));
5981
5983
  }
5982
- function Sr(t, e) {
5984
+ function Cr(t, e) {
5983
5985
  t.min = e.min, t.max = e.max;
5984
5986
  }
5985
5987
  function et(t, e) {
5986
- Sr(t.x, e.x), Sr(t.y, e.y);
5988
+ Cr(t.x, e.x), Cr(t.y, e.y);
5987
5989
  }
5988
- function Cr(t, e) {
5990
+ function Er(t, e) {
5989
5991
  t.translate = e.translate, t.scale = e.scale, t.originPoint = e.originPoint, t.origin = e.origin;
5990
5992
  }
5991
- function Er(t, e, n, i, r) {
5993
+ function Pr(t, e, n, i, r) {
5992
5994
  return t -= e, t = Ie(t, 1 / n, i), r !== void 0 && (t = Ie(t, 1 / r, i)), t;
5993
5995
  }
5994
5996
  function Vd(t, e = 0, n = 1, i = 0.5, r, s = t, o = t) {
5995
5997
  if (at.test(e) && (e = parseFloat(e), e = U(o.min, o.max, e / 100) - o.min), typeof e != "number")
5996
5998
  return;
5997
5999
  let a = U(s.min, s.max, i);
5998
- t === s && (a -= e), t.min = Er(t.min, e, n, a, r), t.max = Er(t.max, e, n, a, r);
6000
+ t === s && (a -= e), t.min = Pr(t.min, e, n, a, r), t.max = Pr(t.max, e, n, a, r);
5999
6001
  }
6000
- function Pr(t, e, [n, i, r], s, o) {
6002
+ function Rr(t, e, [n, i, r], s, o) {
6001
6003
  Vd(t, e[n], e[i], e[r], e.scale, s, o);
6002
6004
  }
6003
6005
  const _d = ["x", "scaleX", "originX"], Id = ["y", "scaleY", "originY"];
6004
- function Rr(t, e, n, i) {
6005
- Pr(t.x, e, _d, n ? n.x : void 0, i ? i.x : void 0), Pr(t.y, e, Id, n ? n.y : void 0, i ? i.y : void 0);
6006
+ function Dr(t, e, n, i) {
6007
+ Rr(t.x, e, _d, n ? n.x : void 0, i ? i.x : void 0), Rr(t.y, e, Id, n ? n.y : void 0, i ? i.y : void 0);
6006
6008
  }
6007
- function Dr(t) {
6009
+ function Mr(t) {
6008
6010
  return t.translate === 0 && t.scale === 1;
6009
6011
  }
6010
6012
  function ko(t) {
6011
- return Dr(t.x) && Dr(t.y);
6013
+ return Mr(t.x) && Mr(t.y);
6012
6014
  }
6013
- function Mr(t, e) {
6015
+ function kr(t, e) {
6014
6016
  return t.min === e.min && t.max === e.max;
6015
6017
  }
6016
6018
  function Od(t, e) {
6017
- return Mr(t.x, e.x) && Mr(t.y, e.y);
6019
+ return kr(t.x, e.x) && kr(t.y, e.y);
6018
6020
  }
6019
- function kr(t, e) {
6021
+ function Vr(t, e) {
6020
6022
  return Math.round(t.min) === Math.round(e.min) && Math.round(t.max) === Math.round(e.max);
6021
6023
  }
6022
6024
  function Vo(t, e) {
6023
- return kr(t.x, e.x) && kr(t.y, e.y);
6025
+ return Vr(t.x, e.x) && Vr(t.y, e.y);
6024
6026
  }
6025
- function Vr(t) {
6027
+ function _r(t) {
6026
6028
  return Z(t.x) / Z(t.y);
6027
6029
  }
6028
- function _r(t, e) {
6030
+ function Ir(t, e) {
6029
6031
  return t.translate === e.translate && t.scale === e.scale && t.originPoint === e.originPoint;
6030
6032
  }
6031
6033
  class Ld {
@@ -6033,10 +6035,10 @@ class Ld {
6033
6035
  this.members = [];
6034
6036
  }
6035
6037
  add(e) {
6036
- Xn(this.members, e), e.scheduleRender();
6038
+ Yn(this.members, e), e.scheduleRender();
6037
6039
  }
6038
6040
  remove(e) {
6039
- if (Yn(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
6041
+ if (Zn(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
6040
6042
  const n = this.members[this.members.length - 1];
6041
6043
  n && this.promote(n);
6042
6044
  }
@@ -6097,7 +6099,7 @@ const Rt = {
6097
6099
  totalNodes: 0,
6098
6100
  resolvedTargetDeltas: 0,
6099
6101
  recalculatedProjection: 0
6100
- }, ne = typeof window < "u" && window.MotionDebug !== void 0, rn = ["", "X", "Y", "Z"], Fd = { visibility: "hidden" }, Ir = 1e3;
6102
+ }, ne = typeof window < "u" && window.MotionDebug !== void 0, rn = ["", "X", "Y", "Z"], Fd = { visibility: "hidden" }, Or = 1e3;
6101
6103
  let jd = 0;
6102
6104
  function sn(t, e, n, i) {
6103
6105
  const { latestValues: r } = e;
@@ -6130,7 +6132,7 @@ function Io({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6130
6132
  this.root === this && (this.nodes = new Ed());
6131
6133
  }
6132
6134
  addEventListener(o, a) {
6133
- return this.eventHandlers.has(o) || this.eventHandlers.set(o, new Zn()), this.eventHandlers.get(o).add(a);
6135
+ return this.eventHandlers.has(o) || this.eventHandlers.set(o, new Jn()), this.eventHandlers.get(o).add(a);
6134
6136
  }
6135
6137
  notifyListeners(o, ...a) {
6136
6138
  const c = this.eventHandlers.get(o);
@@ -6151,7 +6153,7 @@ function Io({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6151
6153
  let d;
6152
6154
  const h = () => this.root.updateBlockedByResize = !1;
6153
6155
  t(o, () => {
6154
- this.root.updateBlockedByResize = !0, d && d(), d = Pd(h, 250), Ee.hasAnimatedSinceResize && (Ee.hasAnimatedSinceResize = !1, this.nodes.forEach(Lr));
6156
+ this.root.updateBlockedByResize = !0, d && d(), d = Pd(h, 250), Ee.hasAnimatedSinceResize && (Ee.hasAnimatedSinceResize = !1, this.nodes.forEach(Nr));
6155
6157
  });
6156
6158
  }
6157
6159
  c && this.root.registerSharedNode(c, this), this.options.animate !== !1 && u && (c || l) && this.addEventListener("didUpdate", ({ delta: d, hasLayoutChanged: h, hasRelativeTargetChanged: p, layout: b }) => {
@@ -6163,13 +6165,13 @@ function Io({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6163
6165
  if (this.options.layoutRoot || this.resumeFrom && this.resumeFrom.instance || S || h && (w || !this.currentAnimation)) {
6164
6166
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(d, S);
6165
6167
  const E = {
6166
- ...Kn(y, "layout"),
6168
+ ...Xn(y, "layout"),
6167
6169
  onPlay: g,
6168
6170
  onComplete: T
6169
6171
  };
6170
6172
  (u.shouldReduceMotion || this.options.layoutRoot) && (E.delay = 0, E.type = !1), this.startAnimation(E);
6171
6173
  } else
6172
- h || Lr(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
6174
+ h || Nr(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
6173
6175
  this.targetLayout = b;
6174
6176
  });
6175
6177
  }
@@ -6219,7 +6221,7 @@ function Io({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6219
6221
  }
6220
6222
  update() {
6221
6223
  if (this.updateScheduled = !1, this.isUpdateBlocked()) {
6222
- this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Or);
6224
+ this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Lr);
6223
6225
  return;
6224
6226
  }
6225
6227
  this.isUpdating || this.nodes.forEach($d), this.isUpdating = !1, this.nodes.forEach(qd), this.nodes.forEach(Bd), this.nodes.forEach(Ud), this.clearAllSnapshots();
@@ -6227,7 +6229,7 @@ function Io({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6227
6229
  q.delta = ht(0, 1e3 / 60, a - q.timestamp), q.timestamp = a, q.isProcessing = !0, Xe.update.process(q), Xe.preRender.process(q), Xe.render.process(q), q.isProcessing = !1;
6228
6230
  }
6229
6231
  didUpdate() {
6230
- this.updateScheduled || (this.updateScheduled = !0, Fn.read(this.scheduleUpdate));
6232
+ this.updateScheduled || (this.updateScheduled = !0, jn.read(this.scheduleUpdate));
6231
6233
  }
6232
6234
  clearAllSnapshots() {
6233
6235
  this.nodes.forEach(Gd), this.sharedNodes.forEach(Yd);
@@ -6331,9 +6333,9 @@ function Io({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6331
6333
  continue;
6332
6334
  An(l.latestValues) && l.updateSnapshot();
6333
6335
  const u = W(), d = l.measurePageBox();
6334
- et(u, d), Rr(a, l.latestValues, l.snapshot ? l.snapshot.layoutBox : void 0, u);
6336
+ et(u, d), Dr(a, l.latestValues, l.snapshot ? l.snapshot.layoutBox : void 0, u);
6335
6337
  }
6336
- return Pt(this.latestValues) && Rr(a, this.latestValues), a;
6338
+ return Pt(this.latestValues) && Dr(a, this.latestValues), a;
6337
6339
  }
6338
6340
  setTargetDelta(o) {
6339
6341
  this.targetDelta = o, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -6398,7 +6400,7 @@ function Io({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6398
6400
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
6399
6401
  return;
6400
6402
  }
6401
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Cr(this.prevProjectionDelta.x, this.projectionDelta.x), Cr(this.prevProjectionDelta.y, this.projectionDelta.y)), oe(this.projectionDelta, this.layoutCorrected, b, this.latestValues), (this.treeScale.x !== h || this.treeScale.y !== p || !_r(this.projectionDelta.x, this.prevProjectionDelta.x) || !_r(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", b)), ne && Rt.recalculatedProjection++;
6403
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Er(this.prevProjectionDelta.x, this.projectionDelta.x), Er(this.prevProjectionDelta.y, this.projectionDelta.y)), oe(this.projectionDelta, this.layoutCorrected, b, this.latestValues), (this.treeScale.x !== h || this.treeScale.y !== p || !Ir(this.projectionDelta.x, this.prevProjectionDelta.x) || !Ir(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", b)), ne && Rt.recalculatedProjection++;
6402
6404
  }
6403
6405
  hide() {
6404
6406
  this.isVisible = !1;
@@ -6425,12 +6427,12 @@ function Io({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6425
6427
  let S;
6426
6428
  this.mixTargetDelta = (E) => {
6427
6429
  const f = E / 1e3;
6428
- Nr(d.x, o.x, f), Nr(d.y, o.y, f), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ae(h, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Zd(this.relativeTarget, this.relativeTargetOrigin, h, f), S && Od(this.relativeTarget, S) && (this.isProjectionDirty = !1), S || (S = W()), et(S, this.relativeTarget)), y && (this.animationValues = u, Dd(u, l, this.latestValues, f, w, T)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = f;
6430
+ Fr(d.x, o.x, f), Fr(d.y, o.y, f), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ae(h, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Zd(this.relativeTarget, this.relativeTargetOrigin, h, f), S && Od(this.relativeTarget, S) && (this.isProjectionDirty = !1), S || (S = W()), et(S, this.relativeTarget)), y && (this.animationValues = u, Dd(u, l, this.latestValues, f, w, T)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = f;
6429
6431
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
6430
6432
  }
6431
6433
  startAnimation(o) {
6432
6434
  this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (Tt(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = F.update(() => {
6433
- Ee.hasAnimatedSinceResize = !0, this.currentAnimation = wd(0, Ir, {
6435
+ Ee.hasAnimatedSinceResize = !0, this.currentAnimation = wd(0, Or, {
6434
6436
  ...o,
6435
6437
  onUpdate: (a) => {
6436
6438
  this.mixTargetDelta(a), o.onUpdate && o.onUpdate(a);
@@ -6447,7 +6449,7 @@ function Io({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6447
6449
  o && o.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
6448
6450
  }
6449
6451
  finishAnimation() {
6450
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Ir), this.currentAnimation.stop()), this.completeAnimation();
6452
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Or), this.currentAnimation.stop()), this.completeAnimation();
6451
6453
  }
6452
6454
  applyTransformsToTarget() {
6453
6455
  const o = this.getLead();
@@ -6556,7 +6558,7 @@ function Io({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6556
6558
  this.root.nodes.forEach((o) => {
6557
6559
  var a;
6558
6560
  return (a = o.currentAnimation) === null || a === void 0 ? void 0 : a.stop();
6559
- }), this.root.nodes.forEach(Or), this.root.sharedNodes.clear();
6561
+ }), this.root.nodes.forEach(Lr), this.root.sharedNodes.clear();
6560
6562
  }
6561
6563
  };
6562
6564
  }
@@ -6616,7 +6618,7 @@ function Wd(t) {
6616
6618
  function Gd(t) {
6617
6619
  t.clearSnapshot();
6618
6620
  }
6619
- function Or(t) {
6621
+ function Lr(t) {
6620
6622
  t.clearMeasurements();
6621
6623
  }
6622
6624
  function $d(t) {
@@ -6626,7 +6628,7 @@ function qd(t) {
6626
6628
  const { visualElement: e } = t.options;
6627
6629
  e && e.getProps().onBeforeLayoutMeasure && e.notify("BeforeLayoutMeasure"), t.resetTransform();
6628
6630
  }
6629
- function Lr(t) {
6631
+ function Nr(t) {
6630
6632
  t.finishAnimation(), t.targetDelta = t.relativeTarget = t.target = void 0, t.isProjectionDirty = !0;
6631
6633
  }
6632
6634
  function zd(t) {
@@ -6641,14 +6643,14 @@ function Xd(t) {
6641
6643
  function Yd(t) {
6642
6644
  t.removeLeadSnapshot();
6643
6645
  }
6644
- function Nr(t, e, n) {
6646
+ function Fr(t, e, n) {
6645
6647
  t.translate = U(e.translate, 0, n), t.scale = U(e.scale, 1, n), t.origin = e.origin, t.originPoint = e.originPoint;
6646
6648
  }
6647
- function Fr(t, e, n, i) {
6649
+ function jr(t, e, n, i) {
6648
6650
  t.min = U(e.min, n.min, i), t.max = U(e.max, n.max, i);
6649
6651
  }
6650
6652
  function Zd(t, e, n, i) {
6651
- Fr(t.x, e.x, n.x, i), Fr(t.y, e.y, n.y, i);
6653
+ jr(t.x, e.x, n.x, i), jr(t.y, e.y, n.y, i);
6652
6654
  }
6653
6655
  function Jd(t) {
6654
6656
  return t.animationValues && t.animationValues.opacityExit !== void 0;
@@ -6656,15 +6658,15 @@ function Jd(t) {
6656
6658
  const Qd = {
6657
6659
  duration: 0.45,
6658
6660
  ease: [0.4, 0, 0.1, 1]
6659
- }, jr = (t) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(t), Br = jr("applewebkit/") && !jr("chrome/") ? Math.round : Y;
6660
- function Ur(t) {
6661
- t.min = Br(t.min), t.max = Br(t.max);
6661
+ }, Br = (t) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(t), Ur = Br("applewebkit/") && !Br("chrome/") ? Math.round : Y;
6662
+ function Hr(t) {
6663
+ t.min = Ur(t.min), t.max = Ur(t.max);
6662
6664
  }
6663
6665
  function tf(t) {
6664
- Ur(t.x), Ur(t.y);
6666
+ Hr(t.x), Hr(t.y);
6665
6667
  }
6666
6668
  function Oo(t, e, n) {
6667
- return t === "position" || t === "preserve-aspect" && !id(Vr(e), Vr(n), 0.2);
6669
+ return t === "position" || t === "preserve-aspect" && !id(_r(e), _r(n), 0.2);
6668
6670
  }
6669
6671
  function ef(t) {
6670
6672
  var e;
@@ -6724,17 +6726,17 @@ function No(t, e) {
6724
6726
  };
6725
6727
  return [n, r, () => i.abort()];
6726
6728
  }
6727
- function Hr(t) {
6729
+ function Wr(t) {
6728
6730
  return (e) => {
6729
6731
  e.pointerType === "touch" || vo() || t(e);
6730
6732
  };
6731
6733
  }
6732
6734
  function of(t, e, n = {}) {
6733
- const [i, r, s] = No(t, n), o = Hr((a) => {
6735
+ const [i, r, s] = No(t, n), o = Wr((a) => {
6734
6736
  const { target: c } = a, l = e(a);
6735
6737
  if (typeof l != "function" || !c)
6736
6738
  return;
6737
- const u = Hr((d) => {
6739
+ const u = Wr((d) => {
6738
6740
  l(d), c.removeEventListener("pointerleave", u);
6739
6741
  });
6740
6742
  c.addEventListener("pointerleave", u, r);
@@ -6743,7 +6745,7 @@ function of(t, e, n = {}) {
6743
6745
  a.addEventListener("pointerenter", o, r);
6744
6746
  }), s;
6745
6747
  }
6746
- function Wr(t, e, n) {
6748
+ function Gr(t, e, n) {
6747
6749
  const { props: i } = t;
6748
6750
  t.animationState && i.whileHover && t.animationState.setActive("whileHover", n === "Start");
6749
6751
  const r = "onHover" + n, s = i[r];
@@ -6752,7 +6754,7 @@ function Wr(t, e, n) {
6752
6754
  class af extends St {
6753
6755
  mount() {
6754
6756
  const { current: e } = this.node;
6755
- e && (this.unmount = of(e, (n) => (Wr(this.node, n, "Start"), (i) => Wr(this.node, i, "End"))));
6757
+ e && (this.unmount = of(e, (n) => (Gr(this.node, n, "Start"), (i) => Gr(this.node, i, "End"))));
6756
6758
  }
6757
6759
  unmount() {
6758
6760
  }
@@ -6790,7 +6792,7 @@ function uf(t) {
6790
6792
  return cf.has(t.tagName) || t.tabIndex !== -1;
6791
6793
  }
6792
6794
  const ie = /* @__PURE__ */ new WeakSet();
6793
- function Gr(t) {
6795
+ function $r(t) {
6794
6796
  return (e) => {
6795
6797
  e.key === "Enter" && t(e);
6796
6798
  };
@@ -6802,28 +6804,28 @@ const df = (t, e) => {
6802
6804
  const n = t.currentTarget;
6803
6805
  if (!n)
6804
6806
  return;
6805
- const i = Gr(() => {
6807
+ const i = $r(() => {
6806
6808
  if (ie.has(n))
6807
6809
  return;
6808
6810
  an(n, "down");
6809
- const r = Gr(() => {
6811
+ const r = $r(() => {
6810
6812
  an(n, "up");
6811
6813
  }), s = () => an(n, "cancel");
6812
6814
  n.addEventListener("keyup", r, e), n.addEventListener("blur", s, e);
6813
6815
  });
6814
6816
  n.addEventListener("keydown", i, e), n.addEventListener("blur", () => n.removeEventListener("keydown", i), e);
6815
6817
  };
6816
- function $r(t) {
6817
- return ui(t) && !vo();
6818
+ function qr(t) {
6819
+ return di(t) && !vo();
6818
6820
  }
6819
6821
  function ff(t, e, n = {}) {
6820
6822
  const [i, r, s] = No(t, n), o = (a) => {
6821
6823
  const c = a.currentTarget;
6822
- if (!$r(a) || ie.has(c))
6824
+ if (!qr(a) || ie.has(c))
6823
6825
  return;
6824
6826
  ie.add(c);
6825
6827
  const l = e(a), u = (p, b) => {
6826
- window.removeEventListener("pointerup", d), window.removeEventListener("pointercancel", h), !(!$r(p) || !ie.has(c)) && (ie.delete(c), typeof l == "function" && l(p, { success: b }));
6828
+ window.removeEventListener("pointerup", d), window.removeEventListener("pointercancel", h), !(!qr(p) || !ie.has(c)) && (ie.delete(c), typeof l == "function" && l(p, { success: b }));
6827
6829
  }, d = (p) => {
6828
6830
  u(p, n.useGlobalTarget || Fo(c, p.target));
6829
6831
  }, h = (p) => {
@@ -6835,7 +6837,7 @@ function ff(t, e, n = {}) {
6835
6837
  !uf(a) && a.getAttribute("tabindex") === null && (a.tabIndex = 0), (n.useGlobalTarget ? window : a).addEventListener("pointerdown", o, r), a.addEventListener("focus", (l) => df(l, r), r);
6836
6838
  }), s;
6837
6839
  }
6838
- function qr(t, e, n) {
6840
+ function zr(t, e, n) {
6839
6841
  const { props: i } = t;
6840
6842
  t.animationState && i.whileTap && t.animationState.setActive("whileTap", n === "Start");
6841
6843
  const r = "onTap" + (n === "End" ? "" : n), s = i[r];
@@ -6844,7 +6846,7 @@ function qr(t, e, n) {
6844
6846
  class hf extends St {
6845
6847
  mount() {
6846
6848
  const { current: e } = this.node;
6847
- e && (this.unmount = ff(e, (n) => (qr(this.node, n, "Start"), (i, { success: r }) => qr(this.node, i, r ? "End" : "Cancel")), { useGlobalTarget: this.node.props.globalTapTarget }));
6849
+ e && (this.unmount = ff(e, (n) => (zr(this.node, n, "Start"), (i, { success: r }) => zr(this.node, i, r ? "End" : "Cancel")), { useGlobalTarget: this.node.props.globalTapTarget }));
6848
6850
  }
6849
6851
  unmount() {
6850
6852
  }
@@ -6926,14 +6928,14 @@ const xf = {
6926
6928
  }
6927
6929
  }, Cn = { current: null }, jo = { current: !1 };
6928
6930
  function wf() {
6929
- if (jo.current = !0, !!In)
6931
+ if (jo.current = !0, !!On)
6930
6932
  if (window.matchMedia) {
6931
6933
  const t = window.matchMedia("(prefers-reduced-motion)"), e = () => Cn.current = t.matches;
6932
6934
  t.addListener(e), e();
6933
6935
  } else
6934
6936
  Cn.current = !1;
6935
6937
  }
6936
- const Sf = [...so, K, xt], Cf = (t) => Sf.find(ro(t)), zr = /* @__PURE__ */ new WeakMap();
6938
+ const Sf = [...so, K, xt], Cf = (t) => Sf.find(ro(t)), Kr = /* @__PURE__ */ new WeakMap();
6937
6939
  function Ef(t, e, n) {
6938
6940
  for (const i in e) {
6939
6941
  const r = e[i], s = n[i];
@@ -6954,7 +6956,7 @@ function Ef(t, e, n) {
6954
6956
  e[i] === void 0 && t.removeValue(i);
6955
6957
  return e;
6956
6958
  }
6957
- const Kr = [
6959
+ const Xr = [
6958
6960
  "AnimationStart",
6959
6961
  "AnimationComplete",
6960
6962
  "Update",
@@ -6975,7 +6977,7 @@ class Pf {
6975
6977
  return {};
6976
6978
  }
6977
6979
  constructor({ parent: e, props: n, presenceContext: i, reducedMotionConfig: r, blockInitialAnimation: s, visualState: o }, a = {}) {
6978
- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = oi, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
6980
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = ai, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
6979
6981
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
6980
6982
  }, this.renderScheduledAt = 0, this.scheduleRender = () => {
6981
6983
  const p = lt.now();
@@ -6990,10 +6992,10 @@ class Pf {
6990
6992
  }
6991
6993
  }
6992
6994
  mount(e) {
6993
- this.current = e, zr.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, i) => this.bindToMotionValue(i, n)), jo.current || wf(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : Cn.current, process.env.NODE_ENV !== "production" && Fe(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
6995
+ this.current = e, Kr.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, i) => this.bindToMotionValue(i, n)), jo.current || wf(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : Cn.current, process.env.NODE_ENV !== "production" && Fe(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
6994
6996
  }
6995
6997
  unmount() {
6996
- zr.delete(this.current), this.projection && this.projection.unmount(), Tt(this.notifyUpdate), Tt(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
6998
+ Kr.delete(this.current), this.projection && this.projection.unmount(), Tt(this.notifyUpdate), Tt(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
6997
6999
  for (const e in this.events)
6998
7000
  this.events[e].clear();
6999
7001
  for (const e in this.features) {
@@ -7051,8 +7053,8 @@ class Pf {
7051
7053
  */
7052
7054
  update(e, n) {
7053
7055
  (e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = n;
7054
- for (let i = 0; i < Kr.length; i++) {
7055
- const r = Kr[i];
7056
+ for (let i = 0; i < Xr.length; i++) {
7057
+ const r = Xr[i];
7056
7058
  this.propEventSubscriptions[r] && (this.propEventSubscriptions[r](), delete this.propEventSubscriptions[r]);
7057
7059
  const s = "on" + r, o = e[s];
7058
7060
  o && (this.propEventSubscriptions[r] = this.on(r, o));
@@ -7141,7 +7143,7 @@ class Pf {
7141
7143
  const { initial: i } = this.props;
7142
7144
  let r;
7143
7145
  if (typeof i == "string" || typeof i == "object") {
7144
- const o = Bn(this.props, i, (n = this.presenceContext) === null || n === void 0 ? void 0 : n.custom);
7146
+ const o = Un(this.props, i, (n = this.presenceContext) === null || n === void 0 ? void 0 : n.custom);
7145
7147
  o && (r = o[e]);
7146
7148
  }
7147
7149
  if (i && r !== void 0)
@@ -7150,7 +7152,7 @@ class Pf {
7150
7152
  return s !== void 0 && !X(s) ? s : this.initialValues[e] !== void 0 && r === void 0 ? void 0 : this.baseTarget[e];
7151
7153
  }
7152
7154
  on(e, n) {
7153
- return this.events[e] || (this.events[e] = new Zn()), this.events[e].add(n);
7155
+ return this.events[e] || (this.events[e] = new Jn()), this.events[e].add(n);
7154
7156
  }
7155
7157
  notify(e, ...n) {
7156
7158
  this.events[e] && this.events[e].notify(...n);
@@ -7186,7 +7188,7 @@ class Df extends Bo {
7186
7188
  }
7187
7189
  readValueFromInstance(e, n) {
7188
7190
  if (Vt.has(n)) {
7189
- const i = si(n);
7191
+ const i = oi(n);
7190
7192
  return i && i.default || 0;
7191
7193
  } else {
7192
7194
  const i = Rf(e), r = (ws(n) ? i.getPropertyValue(n) : i[n]) || 0;
@@ -7197,10 +7199,10 @@ class Df extends Bo {
7197
7199
  return Eo(e, n);
7198
7200
  }
7199
7201
  build(e, n, i) {
7200
- Wn(e, n, i.transformTemplate);
7202
+ Gn(e, n, i.transformTemplate);
7201
7203
  }
7202
7204
  scrapeMotionValuesFromProps(e, n, i) {
7203
- return zn(e, n, i);
7205
+ return Kn(e, n, i);
7204
7206
  }
7205
7207
  }
7206
7208
  class Mf extends Bo {
@@ -7212,32 +7214,32 @@ class Mf extends Bo {
7212
7214
  }
7213
7215
  readValueFromInstance(e, n) {
7214
7216
  if (Vt.has(n)) {
7215
- const i = si(n);
7217
+ const i = oi(n);
7216
7218
  return i && i.default || 0;
7217
7219
  }
7218
- return n = Ps.has(n) ? n : Nn(n), e.getAttribute(n);
7220
+ return n = Ps.has(n) ? n : Fn(n), e.getAttribute(n);
7219
7221
  }
7220
7222
  scrapeMotionValuesFromProps(e, n, i) {
7221
7223
  return Ms(e, n, i);
7222
7224
  }
7223
7225
  build(e, n, i) {
7224
- Gn(e, n, this.isSVGTag, i.transformTemplate);
7226
+ $n(e, n, this.isSVGTag, i.transformTemplate);
7225
7227
  }
7226
7228
  renderInstance(e, n, i, r) {
7227
7229
  Rs(e, n, i, r);
7228
7230
  }
7229
7231
  mount(e) {
7230
- this.isSVGTag = qn(e.tagName), super.mount(e);
7232
+ this.isSVGTag = zn(e.tagName), super.mount(e);
7231
7233
  }
7232
7234
  }
7233
- const kf = (t, e) => jn(t) ? new Mf(e) : new Df(e, {
7235
+ const kf = (t, e) => Bn(t) ? new Mf(e) : new Df(e, {
7234
7236
  allowProjection: t !== Pn
7235
7237
  }), Vf = /* @__PURE__ */ nc({
7236
7238
  ...zu,
7237
7239
  ...xf,
7238
7240
  ...rf,
7239
7241
  ...Af
7240
- }, kf), Uo = /* @__PURE__ */ yl(Vf), _f = Qr`
7242
+ }, kf), Uo = /* @__PURE__ */ yl(Vf), _f = ts`
7241
7243
  from { transform: rotate(0deg); }
7242
7244
  to { transform: rotate(360deg); }
7243
7245
  `, qh = ({
@@ -7271,7 +7273,7 @@ const kf = (t, e) => jn(t) ? new Mf(e) : new Df(e, {
7271
7273
  zIndex: 50
7272
7274
  },
7273
7275
  children: /* @__PURE__ */ A(
7274
- Mn,
7276
+ kn,
7275
7277
  {
7276
7278
  source: cs,
7277
7279
  css: { color: R.palette.orange["6s"], animation: `${_f} 1s linear infinite` },
@@ -7487,7 +7489,7 @@ const kf = (t, e) => jn(t) ? new Mf(e) : new Df(e, {
7487
7489
  ref: i,
7488
7490
  children: [
7489
7491
  t,
7490
- e && /* @__PURE__ */ A(Lf, { children: /* @__PURE__ */ A("div", { css: { position: "absolute", right: 12, top: "50%", transform: "translateY(-50%)" }, children: /* @__PURE__ */ A(Qa, { children: /* @__PURE__ */ A(Mn, { source: Nf }) }) }) })
7492
+ e && /* @__PURE__ */ A(Lf, { children: /* @__PURE__ */ A("div", { css: { position: "absolute", right: 12, top: "50%", transform: "translateY(-50%)" }, children: /* @__PURE__ */ A(Qa, { children: /* @__PURE__ */ A(kn, { source: Nf }) }) }) })
7491
7493
  ]
7492
7494
  }
7493
7495
  )
@@ -7581,7 +7583,7 @@ const Bf = ({ anchor: t, ...e }) => {
7581
7583
  enabled: s.options.enabled
7582
7584
  })), { connectors: r } = I();
7583
7585
  return /* @__PURE__ */ A(
7584
- Jr,
7586
+ Qr,
7585
7587
  {
7586
7588
  anchor: i ? void 0 : t,
7587
7589
  ...e,
@@ -8100,7 +8102,7 @@ const gh = ({
8100
8102
  ["years", "months", "weeks", "days", "hours", "minutes", "seconds"].map((d) => [d, i.every((h) => h.value !== d)])
8101
8103
  );
8102
8104
  return /* @__PURE__ */ A(Ca, { date: r, omit: u, children: (d) => /* @__PURE__ */ B(
8103
- fi,
8105
+ hi,
8104
8106
  {
8105
8107
  ...o,
8106
8108
  ref: (h) => {
@@ -8144,7 +8146,7 @@ const gh = ({
8144
8146
  i.map((h) => {
8145
8147
  const p = d[h.value];
8146
8148
  return /* @__PURE__ */ B(
8147
- fi,
8149
+ hi,
8148
8150
  {
8149
8151
  ...t,
8150
8152
  sx: {
@@ -8253,15 +8255,15 @@ export {
8253
8255
  hh as V,
8254
8256
  k as W,
8255
8257
  gt as X,
8256
- ts as Y,
8258
+ es as Y,
8257
8259
  Qa as Z,
8258
- Mn as _,
8260
+ kn as _,
8259
8261
  fh as a,
8260
8262
  us as a0,
8261
8263
  il as a1,
8262
8264
  rl as a2,
8263
8265
  Gh as a3,
8264
- Vn as a4,
8266
+ _n as a4,
8265
8267
  Uo as a5,
8266
8268
  If as a6,
8267
8269
  Yh as a7,
@@ -8304,9 +8306,9 @@ export {
8304
8306
  rh as r,
8305
8307
  O as s,
8306
8308
  R as t,
8307
- as as u,
8309
+ Mn as u,
8308
8310
  $a as v,
8309
- os as w,
8311
+ as as w,
8310
8312
  Ih as x,
8311
8313
  At as y,
8312
8314
  qa as z