@ukpc-lib/react 0.0.3 → 0.0.4

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,12 +1,12 @@
1
1
  import "../index.css";
2
2
  import Xe, { jsxs as I, jsx as T, Fragment as Ao } from "react/jsx-runtime";
3
- import * as _ from "react";
4
- import zs, { useState as ot, useRef as St, useEffect as Wt, createContext as Mt, useLayoutEffect as Ws, useContext as N, useInsertionEffect as So, useCallback as Vo, useMemo as he, forwardRef as Co, createElement as $s, useId as Mo } from "react";
5
- import { g as Do, a as _o, s as Ro, c as jt, u as Lo, _ as Eo, b as Be, d as ko, P as D, e as Bo, C as Io, r as Fo, f as Oo } from "../styled-f324a192.js";
3
+ import * as R from "react";
4
+ import zs, { useState as ot, useRef as St, useEffect as Wt, createContext as Mt, useLayoutEffect as Ws, useContext as N, useInsertionEffect as So, useCallback as Vo, useMemo as fe, forwardRef as Co, createElement as $s, useId as Mo } from "react";
5
+ import { g as Do, a as Ro, s as _o, c as jt, u as Lo, _ as Eo, b as Be, d as ko, P as D, e as Bo, C as Io, r as Fo, f as Oo } from "../styled-f324a192.js";
6
6
  import { createPortal as jo } from "react-dom";
7
7
  import { BrowserRouter as No, useLocation as Uo, Link as zo } from "react-router-dom";
8
8
  import Wo from "axios";
9
- const $o = "_container_de8pp_1", Go = "_fixed_de8pp_1", Ho = "_relative_de8pp_1", qo = "_flex_de8pp_1", Ko = "_hidden_de8pp_1", Yo = "_shadow_de8pp_1", Xo = "_filter_de8pp_1", Qo = "_transition_de8pp_1", Zo = "_avartarDropdownMenu_de8pp_9", Jo = "_navbar_de8pp_13", tr = "_userContainer_de8pp_25", er = "_userFullName_de8pp_29", nr = "_userAvatar_de8pp_33", G = {
9
+ const $o = "_container_de8pp_1", Go = "_fixed_de8pp_1", Ho = "_relative_de8pp_1", qo = "_flex_de8pp_1", Ko = "_hidden_de8pp_1", Yo = "_filter_de8pp_1", Xo = "_transition_de8pp_1", Qo = "_avartarDropdownMenu_de8pp_9", Zo = "_navbar_de8pp_13", Jo = "_userContainer_de8pp_25", tr = "_userFullName_de8pp_29", er = "_userAvatar_de8pp_33", G = {
10
10
  container: $o,
11
11
  fixed: Go,
12
12
  relative: Ho,
@@ -31,19 +31,18 @@ const $o = "_container_de8pp_1", Go = "_fixed_de8pp_1", Ho = "_relative_de8pp_1"
31
31
  "bg-gray-100": "_bg-gray-100_de8pp_1",
32
32
  "text-sm": "_text-sm_de8pp_1",
33
33
  "text-white": "_text-white_de8pp_1",
34
- shadow: Yo,
35
- filter: Xo,
36
- transition: Qo,
34
+ filter: Yo,
35
+ transition: Xo,
37
36
  "avatar-dropdown-item": "_avatar-dropdown-item_de8pp_5",
38
- avartarDropdownMenu: Zo,
39
- navbar: Jo,
37
+ avartarDropdownMenu: Qo,
38
+ navbar: Zo,
40
39
  "navbar-container": "_navbar-container_de8pp_17",
41
40
  "right-side-container": "_right-side-container_de8pp_21",
42
- userContainer: tr,
43
- userFullName: er,
44
- userAvatar: nr
41
+ userContainer: Jo,
42
+ userFullName: tr,
43
+ userAvatar: er
45
44
  };
46
- function sr() {
45
+ function nr() {
47
46
  return /* @__PURE__ */ I(
48
47
  "svg",
49
48
  {
@@ -80,7 +79,7 @@ function sr() {
80
79
  }
81
80
  );
82
81
  }
83
- function ir() {
82
+ function sr() {
84
83
  return /* @__PURE__ */ I(
85
84
  "svg",
86
85
  {
@@ -135,16 +134,16 @@ function ir() {
135
134
  }
136
135
  );
137
136
  }
138
- const or = "data:image/png;base64,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", rr = "_container_14n48_1", ar = "_fixed_14n48_1", lr = "_relative_14n48_1", cr = "_flex_14n48_1", ur = "_hidden_14n48_1", hr = "_shadow_14n48_1", fr = "_filter_14n48_1", dr = "_transition_14n48_1", Q = {
139
- container: rr,
140
- fixed: ar,
141
- relative: lr,
137
+ const ir = "data:image/png;base64,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", or = "_container_14n48_1", rr = "_fixed_14n48_1", ar = "_relative_14n48_1", lr = "_flex_14n48_1", cr = "_hidden_14n48_1", ur = "_filter_14n48_1", fr = "_transition_14n48_1", Q = {
138
+ container: or,
139
+ fixed: rr,
140
+ relative: ar,
142
141
  "mb-10": "_mb-10_14n48_1",
143
142
  "ml-3": "_ml-3_14n48_1",
144
143
  "mt-10": "_mt-10_14n48_1",
145
144
  "mt-6": "_mt-6_14n48_1",
146
- flex: cr,
147
- hidden: ur,
145
+ flex: lr,
146
+ hidden: cr,
148
147
  "h-[70px]": "_h-[70px]_14n48_1",
149
148
  "h-[8px]": "_h-[8px]_14n48_1",
150
149
  "h-screen": "_h-screen_14n48_1",
@@ -160,9 +159,8 @@ const or = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAArCAYAAAADgWq5AA
160
159
  "bg-gray-100": "_bg-gray-100_14n48_1",
161
160
  "text-sm": "_text-sm_14n48_1",
162
161
  "text-white": "_text-white_14n48_1",
163
- shadow: hr,
164
- filter: fr,
165
- transition: dr,
162
+ filter: ur,
163
+ transition: fr,
166
164
  "modal-overlay": "_modal-overlay_14n48_5",
167
165
  "modal-title": "_modal-title_14n48_9",
168
166
  "modal-footer": "_modal-footer_14n48_13",
@@ -205,7 +203,7 @@ function Gs({
205
203
  }
206
204
  );
207
205
  }
208
- function vh({
206
+ function yf({
209
207
  logo: t,
210
208
  user: e,
211
209
  baseUrl: n
@@ -222,14 +220,14 @@ function vh({
222
220
  children: `${e == null ? void 0 : e.firstName} ${e == null ? void 0 : e.lastName}`
223
221
  }
224
222
  ),
225
- /* @__PURE__ */ T(pr, { baseUrl: n, avatarUrl: e == null ? void 0 : e.avatarUrl })
223
+ /* @__PURE__ */ T(hr, { baseUrl: n, avatarUrl: e == null ? void 0 : e.avatarUrl })
226
224
  ] }),
227
- /* @__PURE__ */ T("span", { className: G["cursor-pointer"], children: /* @__PURE__ */ T(sr, {}) }),
228
- /* @__PURE__ */ T("span", { className: G["cursor-pointer"], children: /* @__PURE__ */ T(ir, {}) })
225
+ /* @__PURE__ */ T("span", { className: G["cursor-pointer"], children: /* @__PURE__ */ T(nr, {}) }),
226
+ /* @__PURE__ */ T("span", { className: G["cursor-pointer"], children: /* @__PURE__ */ T(sr, {}) })
229
227
  ] })
230
228
  ] }) });
231
229
  }
232
- function pr({
230
+ function hr({
233
231
  avatarUrl: t,
234
232
  baseUrl: e
235
233
  }) {
@@ -250,7 +248,7 @@ function pr({
250
248
  onClick: () => s((c) => !c),
251
249
  alt: "user avatar",
252
250
  className: G.userAvatar,
253
- src: t || or
251
+ src: t || ir
254
252
  }
255
253
  ),
256
254
  n && /* @__PURE__ */ T("div", { ref: a, className: G.avartarDropdownMenu, children: /* @__PURE__ */ I("ul", { children: [
@@ -285,13 +283,13 @@ var Qe = {}, Hs = { exports: {} };
285
283
  t.exports = e, t.exports.__esModule = !0, t.exports.default = t.exports;
286
284
  })(Hs);
287
285
  var Ze = Hs.exports, we = {};
288
- function mr(...t) {
286
+ function dr(...t) {
289
287
  return t.reduce((e, n) => n == null ? e : function(...i) {
290
288
  e.apply(this, i), n.apply(this, i);
291
289
  }, () => {
292
290
  });
293
291
  }
294
- function gr(t, e = 166) {
292
+ function pr(t, e = 166) {
295
293
  let n;
296
294
  function s(...i) {
297
295
  const r = () => {
@@ -303,15 +301,15 @@ function gr(t, e = 166) {
303
301
  clearTimeout(n);
304
302
  }, s;
305
303
  }
306
- function yr(t, e) {
304
+ function mr(t, e) {
307
305
  return process.env.NODE_ENV === "production" ? () => null : (n, s, i, r, o) => {
308
306
  const a = i || "<<anonymous>>", l = o || s;
309
307
  return typeof n[s] < "u" ? new Error(`The ${r} \`${l}\` of \`${a}\` is deprecated. ${e}`) : null;
310
308
  };
311
309
  }
312
- function vr(t, e) {
310
+ function gr(t, e) {
313
311
  var n, s;
314
- return /* @__PURE__ */ _.isValidElement(t) && e.indexOf(
312
+ return /* @__PURE__ */ R.isValidElement(t) && e.indexOf(
315
313
  // For server components `muiName` is avaialble in element.type._payload.value.muiName
316
314
  // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
317
315
  // eslint-disable-next-line no-underscore-dangle
@@ -321,35 +319,35 @@ function vr(t, e) {
321
319
  function qs(t) {
322
320
  return t && t.ownerDocument || document;
323
321
  }
324
- function xr(t) {
322
+ function yr(t) {
325
323
  return qs(t).defaultView || window;
326
324
  }
327
325
  function Ks(t, e) {
328
326
  typeof t == "function" ? t(e) : t && (t.current = e);
329
327
  }
330
- const br = typeof window < "u" ? _.useLayoutEffect : _.useEffect, Ys = br;
331
- let Rn = 0;
332
- function wr(t) {
333
- const [e, n] = _.useState(t), s = t || e;
334
- return _.useEffect(() => {
335
- e == null && (Rn += 1, n(`mui-${Rn}`));
328
+ const vr = typeof window < "u" ? R.useLayoutEffect : R.useEffect, Ys = vr;
329
+ let _n = 0;
330
+ function xr(t) {
331
+ const [e, n] = R.useState(t), s = t || e;
332
+ return R.useEffect(() => {
333
+ e == null && (_n += 1, n(`mui-${_n}`));
336
334
  }, [e]), s;
337
335
  }
338
- const Ln = _["useId".toString()];
339
- function Tr(t) {
336
+ const Ln = R["useId".toString()];
337
+ function br(t) {
340
338
  if (Ln !== void 0) {
341
339
  const e = Ln();
342
340
  return t ?? e;
343
341
  }
344
- return wr(t);
342
+ return xr(t);
345
343
  }
346
- function Pr(t, e, n, s, i) {
344
+ function wr(t, e, n, s, i) {
347
345
  if (process.env.NODE_ENV === "production")
348
346
  return null;
349
347
  const r = i || e;
350
348
  return typeof t[e] < "u" ? new Error(`The prop \`${r}\` is not supported. Please remove it.`) : null;
351
349
  }
352
- function Ar({
350
+ function Tr({
353
351
  controlled: t,
354
352
  default: e,
355
353
  name: n,
@@ -357,43 +355,43 @@ function Ar({
357
355
  }) {
358
356
  const {
359
357
  current: i
360
- } = _.useRef(t !== void 0), [r, o] = _.useState(e), a = i ? t : r;
358
+ } = R.useRef(t !== void 0), [r, o] = R.useState(e), a = i ? t : r;
361
359
  if (process.env.NODE_ENV !== "production") {
362
- _.useEffect(() => {
360
+ R.useEffect(() => {
363
361
  i !== (t !== void 0) && console.error([`MUI: A component is changing the ${i ? "" : "un"}controlled ${s} state of ${n} to be ${i ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
364
362
  `));
365
363
  }, [s, n, t]);
366
364
  const {
367
365
  current: c
368
- } = _.useRef(e);
369
- _.useEffect(() => {
366
+ } = R.useRef(e);
367
+ R.useEffect(() => {
370
368
  !i && c !== e && console.error([`MUI: A component is changing the default ${s} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
371
369
  `));
372
370
  }, [JSON.stringify(e)]);
373
371
  }
374
- const l = _.useCallback((c) => {
372
+ const l = R.useCallback((c) => {
375
373
  i || o(c);
376
374
  }, []);
377
375
  return [a, l];
378
376
  }
379
- function Sr(t) {
380
- const e = _.useRef(t);
377
+ function Pr(t) {
378
+ const e = R.useRef(t);
381
379
  return Ys(() => {
382
380
  e.current = t;
383
- }), _.useRef((...n) => (
381
+ }), R.useRef((...n) => (
384
382
  // @ts-expect-error hide `this`
385
383
  (0, e.current)(...n)
386
384
  )).current;
387
385
  }
388
- function Vr(...t) {
389
- return _.useMemo(() => t.every((e) => e == null) ? null : (e) => {
386
+ function Ar(...t) {
387
+ return R.useMemo(() => t.every((e) => e == null) ? null : (e) => {
390
388
  t.forEach((n) => {
391
389
  Ks(n, e);
392
390
  });
393
391
  }, t);
394
392
  }
395
- let fe = !0, Ie = !1, En;
396
- const Cr = {
393
+ let he = !0, Ie = !1, En;
394
+ const Sr = {
397
395
  text: !0,
398
396
  search: !0,
399
397
  url: !0,
@@ -408,26 +406,26 @@ const Cr = {
408
406
  datetime: !0,
409
407
  "datetime-local": !0
410
408
  };
411
- function Mr(t) {
409
+ function Vr(t) {
412
410
  const {
413
411
  type: e,
414
412
  tagName: n
415
413
  } = t;
416
- return !!(n === "INPUT" && Cr[e] && !t.readOnly || n === "TEXTAREA" && !t.readOnly || t.isContentEditable);
414
+ return !!(n === "INPUT" && Sr[e] && !t.readOnly || n === "TEXTAREA" && !t.readOnly || t.isContentEditable);
417
415
  }
418
- function Dr(t) {
419
- t.metaKey || t.altKey || t.ctrlKey || (fe = !0);
416
+ function Cr(t) {
417
+ t.metaKey || t.altKey || t.ctrlKey || (he = !0);
420
418
  }
421
419
  function Te() {
422
- fe = !1;
420
+ he = !1;
423
421
  }
424
- function _r() {
425
- this.visibilityState === "hidden" && Ie && (fe = !0);
422
+ function Mr() {
423
+ this.visibilityState === "hidden" && Ie && (he = !0);
426
424
  }
427
- function Rr(t) {
428
- t.addEventListener("keydown", Dr, !0), t.addEventListener("mousedown", Te, !0), t.addEventListener("pointerdown", Te, !0), t.addEventListener("touchstart", Te, !0), t.addEventListener("visibilitychange", _r, !0);
425
+ function Dr(t) {
426
+ t.addEventListener("keydown", Cr, !0), t.addEventListener("mousedown", Te, !0), t.addEventListener("pointerdown", Te, !0), t.addEventListener("touchstart", Te, !0), t.addEventListener("visibilitychange", Mr, !0);
429
427
  }
430
- function Lr(t) {
428
+ function Rr(t) {
431
429
  const {
432
430
  target: e
433
431
  } = t;
@@ -435,19 +433,19 @@ function Lr(t) {
435
433
  return e.matches(":focus-visible");
436
434
  } catch {
437
435
  }
438
- return fe || Mr(e);
436
+ return he || Vr(e);
439
437
  }
440
- function Er() {
441
- const t = _.useCallback((i) => {
442
- i != null && Rr(i.ownerDocument);
443
- }, []), e = _.useRef(!1);
438
+ function _r() {
439
+ const t = R.useCallback((i) => {
440
+ i != null && Dr(i.ownerDocument);
441
+ }, []), e = R.useRef(!1);
444
442
  function n() {
445
443
  return e.current ? (Ie = !0, window.clearTimeout(En), En = window.setTimeout(() => {
446
444
  Ie = !1;
447
445
  }, 100), e.current = !1, !0) : !1;
448
446
  }
449
447
  function s(i) {
450
- return Lr(i) ? (e.current = !0, !0) : !1;
448
+ return Rr(i) ? (e.current = !0, !0) : !1;
451
449
  }
452
450
  return {
453
451
  isFocusVisibleRef: e,
@@ -456,11 +454,11 @@ function Er() {
456
454
  ref: t
457
455
  };
458
456
  }
459
- function kr(t) {
457
+ function Lr(t) {
460
458
  return Do("MuiSvgIcon", t);
461
459
  }
462
- _o("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
463
- const Br = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], Ir = (t) => {
460
+ Ro("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
461
+ const Er = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], kr = (t) => {
464
462
  const {
465
463
  color: e,
466
464
  fontSize: n,
@@ -468,8 +466,8 @@ const Br = ["children", "className", "color", "component", "fontSize", "htmlColo
468
466
  } = t, i = {
469
467
  root: ["root", e !== "inherit" && `color${jt(e)}`, `fontSize${jt(n)}`]
470
468
  };
471
- return Bo(i, kr, s);
472
- }, Fr = Ro("svg", {
469
+ return Bo(i, Lr, s);
470
+ }, Br = _o("svg", {
473
471
  name: "MuiSvgIcon",
474
472
  slot: "Root",
475
473
  overridesResolver: (t, e) => {
@@ -482,7 +480,7 @@ const Br = ["children", "className", "color", "component", "fontSize", "htmlColo
482
480
  theme: t,
483
481
  ownerState: e
484
482
  }) => {
485
- var n, s, i, r, o, a, l, c, u, h, f, d, p;
483
+ var n, s, i, r, o, a, l, c, u, f, h, d, p;
486
484
  return {
487
485
  userSelect: "none",
488
486
  width: "1em",
@@ -502,13 +500,13 @@ const Br = ["children", "className", "color", "component", "fontSize", "htmlColo
502
500
  large: ((c = t.typography) == null || (u = c.pxToRem) == null ? void 0 : u.call(c, 35)) || "2.1875rem"
503
501
  }[e.fontSize],
504
502
  // TODO v5 deprecate, v6 remove for sx
505
- color: (h = (f = (t.vars || t).palette) == null || (f = f[e.color]) == null ? void 0 : f.main) != null ? h : {
503
+ color: (f = (h = (t.vars || t).palette) == null || (h = h[e.color]) == null ? void 0 : h.main) != null ? f : {
506
504
  action: (d = (t.vars || t).palette) == null || (d = d.action) == null ? void 0 : d.active,
507
505
  disabled: (p = (t.vars || t).palette) == null || (p = p.action) == null ? void 0 : p.disabled,
508
506
  inherit: void 0
509
507
  }[e.color]
510
508
  };
511
- }), Je = /* @__PURE__ */ _.forwardRef(function(e, n) {
509
+ }), Je = /* @__PURE__ */ R.forwardRef(function(e, n) {
512
510
  const s = Lo({
513
511
  props: e,
514
512
  name: "MuiSvgIcon"
@@ -520,31 +518,31 @@ const Br = ["children", "className", "color", "component", "fontSize", "htmlColo
520
518
  fontSize: l = "medium",
521
519
  htmlColor: c,
522
520
  inheritViewBox: u = !1,
523
- titleAccess: h,
524
- viewBox: f = "0 0 24 24"
525
- } = s, d = Eo(s, Br), p = /* @__PURE__ */ _.isValidElement(i) && i.type === "svg", m = Be({}, s, {
521
+ titleAccess: f,
522
+ viewBox: h = "0 0 24 24"
523
+ } = s, d = Eo(s, Er), p = /* @__PURE__ */ R.isValidElement(i) && i.type === "svg", m = Be({}, s, {
526
524
  color: o,
527
525
  component: a,
528
526
  fontSize: l,
529
527
  instanceFontSize: e.fontSize,
530
528
  inheritViewBox: u,
531
- viewBox: f,
529
+ viewBox: h,
532
530
  hasSvgAsChild: p
533
531
  }), v = {};
534
- u || (v.viewBox = f);
535
- const b = Ir(m);
536
- return /* @__PURE__ */ I(Fr, Be({
532
+ u || (v.viewBox = h);
533
+ const b = kr(m);
534
+ return /* @__PURE__ */ I(Br, Be({
537
535
  as: a,
538
536
  className: ko(b.root, r),
539
537
  focusable: "false",
540
538
  color: c,
541
- "aria-hidden": h ? void 0 : !0,
542
- role: h ? "img" : void 0,
539
+ "aria-hidden": f ? void 0 : !0,
540
+ role: f ? "img" : void 0,
543
541
  ref: n
544
542
  }, v, d, p && i.props, {
545
543
  ownerState: m,
546
- children: [p ? i.props.children : i, h ? /* @__PURE__ */ T("title", {
547
- children: h
544
+ children: [p ? i.props.children : i, f ? /* @__PURE__ */ T("title", {
545
+ children: f
548
546
  }) : null]
549
547
  }));
550
548
  });
@@ -622,7 +620,7 @@ process.env.NODE_ENV !== "production" && (Je.propTypes = {
622
620
  });
623
621
  Je.muiName = "SvgIcon";
624
622
  const kn = Je;
625
- function Or(t, e) {
623
+ function Ir(t, e) {
626
624
  function n(s, i) {
627
625
  return /* @__PURE__ */ T(kn, Be({
628
626
  "data-testid": `${e}Icon`,
@@ -631,34 +629,34 @@ function Or(t, e) {
631
629
  children: t
632
630
  }));
633
631
  }
634
- return process.env.NODE_ENV !== "production" && (n.displayName = `${e}Icon`), n.muiName = kn.muiName, /* @__PURE__ */ _.memo(/* @__PURE__ */ _.forwardRef(n));
632
+ return process.env.NODE_ENV !== "production" && (n.displayName = `${e}Icon`), n.muiName = kn.muiName, /* @__PURE__ */ R.memo(/* @__PURE__ */ R.forwardRef(n));
635
633
  }
636
- const jr = {
634
+ const Fr = {
637
635
  configure: (t) => {
638
636
  process.env.NODE_ENV !== "production" && console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.", "", "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", "", "The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401", "", "The updated documentation: https://mui.com/guides/classname-generator/"].join(`
639
637
  `)), Io.configure(t);
640
638
  }
641
- }, Nr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
639
+ }, Or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
642
640
  __proto__: null,
643
641
  capitalize: jt,
644
- createChainedFunction: mr,
645
- createSvgIcon: Or,
646
- debounce: gr,
647
- deprecatedPropType: yr,
648
- isMuiElement: vr,
642
+ createChainedFunction: dr,
643
+ createSvgIcon: Ir,
644
+ debounce: pr,
645
+ deprecatedPropType: mr,
646
+ isMuiElement: gr,
649
647
  ownerDocument: qs,
650
- ownerWindow: xr,
648
+ ownerWindow: yr,
651
649
  requirePropFactory: Fo,
652
650
  setRef: Ks,
653
- unstable_ClassNameGenerator: jr,
651
+ unstable_ClassNameGenerator: Fr,
654
652
  unstable_useEnhancedEffect: Ys,
655
- unstable_useId: Tr,
656
- unsupportedProp: Pr,
657
- useControlled: Ar,
658
- useEventCallback: Sr,
659
- useForkRef: Vr,
660
- useIsFocusVisible: Er
661
- }, Symbol.toStringTag, { value: "Module" })), Ur = /* @__PURE__ */ Oo(Nr);
653
+ unstable_useId: br,
654
+ unsupportedProp: wr,
655
+ useControlled: Tr,
656
+ useEventCallback: Pr,
657
+ useForkRef: Ar,
658
+ useIsFocusVisible: _r
659
+ }, Symbol.toStringTag, { value: "Module" })), jr = /* @__PURE__ */ Oo(Or);
662
660
  var Bn;
663
661
  function tn() {
664
662
  return Bn || (Bn = 1, function(t) {
@@ -671,39 +669,39 @@ function tn() {
671
669
  return e.createSvgIcon;
672
670
  }
673
671
  });
674
- var e = Ur;
672
+ var e = jr;
675
673
  }(we)), we;
676
674
  }
677
- var zr = Ze;
675
+ var Nr = Ze;
678
676
  Object.defineProperty(Qe, "__esModule", {
679
677
  value: !0
680
678
  });
681
- var Xs = Qe.default = void 0, Wr = zr(tn()), $r = Xe;
682
- Xs = Qe.default = (0, Wr.default)(/* @__PURE__ */ (0, $r.jsx)("path", {
679
+ var Xs = Qe.default = void 0, Ur = Nr(tn()), zr = Xe;
680
+ Xs = Qe.default = (0, Ur.default)(/* @__PURE__ */ (0, zr.jsx)("path", {
683
681
  d: "m10 17 5-5-5-5z"
684
682
  }), "ArrowRight");
685
- var en = {}, Gr = Ze;
683
+ var en = {}, Wr = Ze;
686
684
  Object.defineProperty(en, "__esModule", {
687
685
  value: !0
688
686
  });
689
- var Qs = en.default = void 0, Hr = Gr(tn()), qr = Xe;
690
- Qs = en.default = (0, Hr.default)(/* @__PURE__ */ (0, qr.jsx)("path", {
687
+ var Qs = en.default = void 0, $r = Wr(tn()), Gr = Xe;
688
+ Qs = en.default = (0, $r.default)(/* @__PURE__ */ (0, Gr.jsx)("path", {
691
689
  d: "M4 18h11c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-5h8c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1M3 7c0 .55.45 1 1 1h11c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1m17.3 7.88L17.42 12l2.88-2.88c.39-.39.39-1.02 0-1.41a.9959.9959 0 0 0-1.41 0L15.3 11.3c-.39.39-.39 1.02 0 1.41l3.59 3.59c.39.39 1.02.39 1.41 0 .38-.39.39-1.03 0-1.42"
692
690
  }), "MenuOpenRounded");
693
- var nn = {}, Kr = Ze;
691
+ var nn = {}, Hr = Ze;
694
692
  Object.defineProperty(nn, "__esModule", {
695
693
  value: !0
696
694
  });
697
- var Zs = nn.default = void 0, Yr = Kr(tn()), Xr = Xe;
698
- Zs = nn.default = (0, Yr.default)(/* @__PURE__ */ (0, Xr.jsx)("path", {
695
+ var Zs = nn.default = void 0, qr = Hr(tn()), Kr = Xe;
696
+ Zs = nn.default = (0, qr.default)(/* @__PURE__ */ (0, Kr.jsx)("path", {
699
697
  d: "M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1M3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1"
700
698
  }), "MenuRounded");
701
699
  const Js = Mt({
702
700
  transformPagePoint: (t) => t,
703
701
  isStatic: !1,
704
702
  reducedMotion: "never"
705
- }), de = Mt({}), sn = Mt(null), pe = typeof document < "u", Qr = pe ? Ws : Wt, ti = Mt({ strict: !1 }), on = (t) => t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), Zr = "framerAppearId", ei = "data-" + on(Zr);
706
- function Jr(t, e, n, s) {
703
+ }), de = Mt({}), sn = Mt(null), pe = typeof document < "u", Yr = pe ? Ws : Wt, ti = Mt({ strict: !1 }), on = (t) => t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), Xr = "framerAppearId", ei = "data-" + on(Xr);
704
+ function Qr(t, e, n, s) {
707
705
  const { visualElement: i } = N(de), r = N(ti), o = N(sn), a = N(Js).reducedMotion, l = St();
708
706
  s = s || r.renderer, !l.current && s && (l.current = s(t, {
709
707
  visualState: e,
@@ -718,7 +716,7 @@ function Jr(t, e, n, s) {
718
716
  c && c.update(n, o);
719
717
  });
720
718
  const u = St(!!(n[ei] && !window.HandoffComplete));
721
- return Qr(() => {
719
+ return Yr(() => {
722
720
  c && (c.render(), u.current && c.animationState && c.animationState.animateChanges());
723
721
  }), Wt(() => {
724
722
  c && (c.updateFeatures(), !u.current && c.animationState && c.animationState.animateChanges(), u.current && (u.current = !1, window.HandoffComplete = !0));
@@ -727,7 +725,7 @@ function Jr(t, e, n, s) {
727
725
  function wt(t) {
728
726
  return t && typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current");
729
727
  }
730
- function ta(t, e, n) {
728
+ function Zr(t, e, n) {
731
729
  return Vo(
732
730
  (s) => {
733
731
  s && t.mount && t.mount(s), e && (s ? e.mount(s) : e.unmount()), n && (typeof n == "function" ? n(s) : wt(n) && (n.current = s));
@@ -761,7 +759,7 @@ function ge(t) {
761
759
  function ni(t) {
762
760
  return !!(ge(t) || t.variants);
763
761
  }
764
- function ea(t, e) {
762
+ function Jr(t, e) {
765
763
  if (ge(t)) {
766
764
  const { initial: n, animate: s } = t;
767
765
  return {
@@ -771,9 +769,9 @@ function ea(t, e) {
771
769
  }
772
770
  return t.inherit !== !1 ? e : {};
773
771
  }
774
- function na(t) {
775
- const { initial: e, animate: n } = ea(t, N(de));
776
- return he(() => ({ initial: e, animate: n }), [In(e), In(n)]);
772
+ function ta(t) {
773
+ const { initial: e, animate: n } = Jr(t, N(de));
774
+ return fe(() => ({ initial: e, animate: n }), [In(e), In(n)]);
777
775
  }
778
776
  function In(t) {
779
777
  return Array.isArray(t) ? t.join(" ") : t;
@@ -802,27 +800,27 @@ for (const t in Fn)
802
800
  Ut[t] = {
803
801
  isEnabled: (e) => Fn[t].some((n) => !!e[n])
804
802
  };
805
- function sa(t) {
803
+ function ea(t) {
806
804
  for (const e in t)
807
805
  Ut[e] = {
808
806
  ...Ut[e],
809
807
  ...t[e]
810
808
  };
811
809
  }
812
- const si = Mt({}), ii = Mt({}), ia = Symbol.for("motionComponentSymbol");
813
- function oa({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVisualState: s, Component: i }) {
814
- t && sa(t);
810
+ const si = Mt({}), ii = Mt({}), na = Symbol.for("motionComponentSymbol");
811
+ function sa({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVisualState: s, Component: i }) {
812
+ t && ea(t);
815
813
  function r(a, l) {
816
814
  let c;
817
815
  const u = {
818
816
  ...N(Js),
819
817
  ...a,
820
- layoutId: ra(a)
821
- }, { isStatic: h } = u, f = na(a), d = s(a, h);
822
- if (!h && pe) {
823
- f.visualElement = Jr(i, d, u, e);
818
+ layoutId: ia(a)
819
+ }, { isStatic: f } = u, h = ta(a), d = s(a, f);
820
+ if (!f && pe) {
821
+ h.visualElement = Qr(i, d, u, e);
824
822
  const p = N(ii), m = N(ti).strict;
825
- f.visualElement && (c = f.visualElement.loadFeatures(
823
+ h.visualElement && (c = h.visualElement.loadFeatures(
826
824
  // Note: Pass the full new combined props to correctly re-render dynamic feature components.
827
825
  u,
828
826
  m,
@@ -830,23 +828,23 @@ function oa({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVis
830
828
  p
831
829
  ));
832
830
  }
833
- return _.createElement(
831
+ return R.createElement(
834
832
  de.Provider,
835
- { value: f },
836
- c && f.visualElement ? _.createElement(c, { visualElement: f.visualElement, ...u }) : null,
837
- n(i, a, ta(d, f.visualElement, l), d, h, f.visualElement)
833
+ { value: h },
834
+ c && h.visualElement ? R.createElement(c, { visualElement: h.visualElement, ...u }) : null,
835
+ n(i, a, Zr(d, h.visualElement, l), d, f, h.visualElement)
838
836
  );
839
837
  }
840
838
  const o = Co(r);
841
- return o[ia] = i, o;
839
+ return o[na] = i, o;
842
840
  }
843
- function ra({ layoutId: t }) {
841
+ function ia({ layoutId: t }) {
844
842
  const e = N(si).id;
845
843
  return e && t !== void 0 ? e + "-" + t : t;
846
844
  }
847
- function aa(t) {
845
+ function oa(t) {
848
846
  function e(s, i = {}) {
849
- return oa(t(s, i));
847
+ return sa(t(s, i));
850
848
  }
851
849
  if (typeof Proxy > "u")
852
850
  return e;
@@ -860,7 +858,7 @@ function aa(t) {
860
858
  get: (s, i) => (n.has(i) || n.set(i, e(i)), n.get(i))
861
859
  });
862
860
  }
863
- const la = [
861
+ const ra = [
864
862
  "animate",
865
863
  "circle",
866
864
  "defs",
@@ -900,7 +898,7 @@ function ln(t) {
900
898
  /**
901
899
  * If it's in our list of lowercase SVG tags, it's an SVG component
902
900
  */
903
- !!(la.indexOf(t) > -1 || /**
901
+ !!(ra.indexOf(t) > -1 || /**
904
902
  * If it contains a capital letter, it's an SVG component
905
903
  */
906
904
  /[A-Z]/.test(t))
@@ -908,7 +906,7 @@ function ln(t) {
908
906
  );
909
907
  }
910
908
  const se = {};
911
- function ca(t) {
909
+ function aa(t) {
912
910
  Object.assign(se, t);
913
911
  }
914
912
  const $t = [
@@ -933,24 +931,24 @@ const $t = [
933
931
  function oi(t, { layout: e, layoutId: n }) {
934
932
  return gt.has(t) || t.startsWith("origin") || (e || n !== void 0) && (!!se[t] || t === "opacity");
935
933
  }
936
- const U = (t) => !!(t && t.getVelocity), ua = {
934
+ const U = (t) => !!(t && t.getVelocity), la = {
937
935
  x: "translateX",
938
936
  y: "translateY",
939
937
  z: "translateZ",
940
938
  transformPerspective: "perspective"
941
- }, ha = $t.length;
942
- function fa(t, { enableHardwareAcceleration: e = !0, allowTransformNone: n = !0 }, s, i) {
939
+ }, ca = $t.length;
940
+ function ua(t, { enableHardwareAcceleration: e = !0, allowTransformNone: n = !0 }, s, i) {
943
941
  let r = "";
944
- for (let o = 0; o < ha; o++) {
942
+ for (let o = 0; o < ca; o++) {
945
943
  const a = $t[o];
946
944
  if (t[a] !== void 0) {
947
- const l = ua[a] || a;
945
+ const l = la[a] || a;
948
946
  r += `${l}(${t[a]}) `;
949
947
  }
950
948
  }
951
949
  return e && !t.z && (r += "translateZ(0)"), r = r.trim(), i ? r = i(t, s ? "" : r) : n && s && (r = "none"), r;
952
950
  }
953
- const ri = (t) => (e) => typeof e == "string" && e.startsWith(t), ai = ri("--"), Fe = ri("var(--"), da = /var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g, pa = (t, e) => e && typeof t == "number" ? e.transform(t) : t, lt = (t, e, n) => Math.min(Math.max(n, t), e), yt = {
951
+ const ri = (t) => (e) => typeof e == "string" && e.startsWith(t), ai = ri("--"), Fe = ri("var(--"), fa = /var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g, ha = (t, e) => e && typeof t == "number" ? e.transform(t) : t, lt = (t, e, n) => Math.min(Math.max(n, t), e), yt = {
954
952
  test: (t) => typeof t == "number",
955
953
  parse: parseFloat,
956
954
  transform: (t) => t
@@ -960,7 +958,7 @@ const ri = (t) => (e) => typeof e == "string" && e.startsWith(t), ai = ri("--"),
960
958
  }, Xt = {
961
959
  ...yt,
962
960
  default: 1
963
- }, It = (t) => Math.round(t * 1e5) / 1e5, ye = /(-)?([\d]*\.?[\d])+/g, li = /(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi, ma = /^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;
961
+ }, It = (t) => Math.round(t * 1e5) / 1e5, ye = /(-)?([\d]*\.?[\d])+/g, li = /(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi, da = /^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;
964
962
  function Gt(t) {
965
963
  return typeof t == "string";
966
964
  }
@@ -968,7 +966,7 @@ const Ht = (t) => ({
968
966
  test: (e) => Gt(e) && e.endsWith(t) && e.split(" ").length === 1,
969
967
  parse: parseFloat,
970
968
  transform: (e) => `${e}${t}`
971
- }), st = Ht("deg"), K = Ht("%"), w = Ht("px"), ga = Ht("vh"), ya = Ht("vw"), On = {
969
+ }), st = Ht("deg"), K = Ht("%"), w = Ht("px"), pa = Ht("vh"), ma = Ht("vw"), On = {
972
970
  ...K,
973
971
  parse: (t) => K.parse(t) / 100,
974
972
  transform: (t) => K.transform(t * 100)
@@ -1044,23 +1042,23 @@ const Ht = (t) => ({
1044
1042
  function cn(t, e, n, s) {
1045
1043
  const { style: i, vars: r, transform: o, transformOrigin: a } = t;
1046
1044
  let l = !1, c = !1, u = !0;
1047
- for (const h in e) {
1048
- const f = e[h];
1049
- if (ai(h)) {
1050
- r[h] = f;
1045
+ for (const f in e) {
1046
+ const h = e[f];
1047
+ if (ai(f)) {
1048
+ r[f] = h;
1051
1049
  continue;
1052
1050
  }
1053
- const d = ci[h], p = pa(f, d);
1054
- if (gt.has(h)) {
1055
- if (l = !0, o[h] = p, !u)
1051
+ const d = ci[f], p = ha(h, d);
1052
+ if (gt.has(f)) {
1053
+ if (l = !0, o[f] = p, !u)
1056
1054
  continue;
1057
- f !== (d.default || 0) && (u = !1);
1055
+ h !== (d.default || 0) && (u = !1);
1058
1056
  } else
1059
- h.startsWith("origin") ? (c = !0, a[h] = p) : i[h] = p;
1057
+ f.startsWith("origin") ? (c = !0, a[f] = p) : i[f] = p;
1060
1058
  }
1061
- if (e.transform || (l || s ? i.transform = fa(t.transform, n, u, s) : i.transform && (i.transform = "none")), c) {
1062
- const { originX: h = "50%", originY: f = "50%", originZ: d = 0 } = a;
1063
- i.transformOrigin = `${h} ${f} ${d}`;
1059
+ if (e.transform || (l || s ? i.transform = ua(t.transform, n, u, s) : i.transform && (i.transform = "none")), c) {
1060
+ const { originX: f = "50%", originY: h = "50%", originZ: d = 0 } = a;
1061
+ i.transformOrigin = `${f} ${h} ${d}`;
1064
1062
  }
1065
1063
  }
1066
1064
  const un = () => ({
@@ -1073,21 +1071,21 @@ function ui(t, e, n) {
1073
1071
  for (const s in e)
1074
1072
  !U(e[s]) && !oi(s, n) && (t[s] = e[s]);
1075
1073
  }
1076
- function va({ transformTemplate: t }, e, n) {
1077
- return he(() => {
1074
+ function ga({ transformTemplate: t }, e, n) {
1075
+ return fe(() => {
1078
1076
  const s = un();
1079
1077
  return cn(s, e, { enableHardwareAcceleration: !n }, t), Object.assign({}, s.vars, s.style);
1080
1078
  }, [e]);
1081
1079
  }
1082
- function xa(t, e, n) {
1080
+ function ya(t, e, n) {
1083
1081
  const s = t.style || {}, i = {};
1084
- return ui(i, s, t), Object.assign(i, va(t, e, n)), t.transformValues ? t.transformValues(i) : i;
1082
+ return ui(i, s, t), Object.assign(i, ga(t, e, n)), t.transformValues ? t.transformValues(i) : i;
1085
1083
  }
1086
- function ba(t, e, n) {
1087
- const s = {}, i = xa(t, e, n);
1084
+ function va(t, e, n) {
1085
+ const s = {}, i = ya(t, e, n);
1088
1086
  return t.drag && t.dragListener !== !1 && (s.draggable = !1, i.userSelect = i.WebkitUserSelect = i.WebkitTouchCallout = "none", i.touchAction = t.drag === !0 ? "none" : `pan-${t.drag === "x" ? "y" : "x"}`), t.tabIndex === void 0 && (t.onTap || t.onTapStart || t.whileTap) && (s.tabIndex = 0), s.style = i, s;
1089
1087
  }
1090
- const wa = /* @__PURE__ */ new Set([
1088
+ const xa = /* @__PURE__ */ new Set([
1091
1089
  "animate",
1092
1090
  "exit",
1093
1091
  "variants",
@@ -1121,45 +1119,45 @@ const wa = /* @__PURE__ */ new Set([
1121
1119
  "viewport"
1122
1120
  ]);
1123
1121
  function ie(t) {
1124
- return t.startsWith("while") || t.startsWith("drag") && t !== "draggable" || t.startsWith("layout") || t.startsWith("onTap") || t.startsWith("onPan") || t.startsWith("onLayout") || wa.has(t);
1122
+ return t.startsWith("while") || t.startsWith("drag") && t !== "draggable" || t.startsWith("layout") || t.startsWith("onTap") || t.startsWith("onPan") || t.startsWith("onLayout") || xa.has(t);
1125
1123
  }
1126
- let hi = (t) => !ie(t);
1127
- function Ta(t) {
1128
- t && (hi = (e) => e.startsWith("on") ? !ie(e) : t(e));
1124
+ let fi = (t) => !ie(t);
1125
+ function ba(t) {
1126
+ t && (fi = (e) => e.startsWith("on") ? !ie(e) : t(e));
1129
1127
  }
1130
1128
  try {
1131
- Ta(require("@emotion/is-prop-valid").default);
1129
+ ba(require("@emotion/is-prop-valid").default);
1132
1130
  } catch {
1133
1131
  }
1134
- function Pa(t, e, n) {
1132
+ function wa(t, e, n) {
1135
1133
  const s = {};
1136
1134
  for (const i in t)
1137
- i === "values" && typeof t.values == "object" || (hi(i) || n === !0 && ie(i) || !e && !ie(i) || // If trying to use native HTML drag events, forward drag listeners
1135
+ i === "values" && typeof t.values == "object" || (fi(i) || n === !0 && ie(i) || !e && !ie(i) || // If trying to use native HTML drag events, forward drag listeners
1138
1136
  t.draggable && i.startsWith("onDrag")) && (s[i] = t[i]);
1139
1137
  return s;
1140
1138
  }
1141
1139
  function Nn(t, e, n) {
1142
1140
  return typeof t == "string" ? t : w.transform(e + n * t);
1143
1141
  }
1144
- function Aa(t, e, n) {
1142
+ function Ta(t, e, n) {
1145
1143
  const s = Nn(e, t.x, t.width), i = Nn(n, t.y, t.height);
1146
1144
  return `${s} ${i}`;
1147
1145
  }
1148
- const Sa = {
1146
+ const Pa = {
1149
1147
  offset: "stroke-dashoffset",
1150
1148
  array: "stroke-dasharray"
1151
- }, Va = {
1149
+ }, Aa = {
1152
1150
  offset: "strokeDashoffset",
1153
1151
  array: "strokeDasharray"
1154
1152
  };
1155
- function Ca(t, e, n = 1, s = 0, i = !0) {
1153
+ function Sa(t, e, n = 1, s = 0, i = !0) {
1156
1154
  t.pathLength = 1;
1157
- const r = i ? Sa : Va;
1155
+ const r = i ? Pa : Aa;
1158
1156
  t[r.offset] = w.transform(-s);
1159
1157
  const o = w.transform(e), a = w.transform(n);
1160
1158
  t[r.array] = `${o} ${a}`;
1161
1159
  }
1162
- function hn(t, {
1160
+ function fn(t, {
1163
1161
  attrX: e,
1164
1162
  attrY: n,
1165
1163
  attrScale: s,
@@ -1170,23 +1168,23 @@ function hn(t, {
1170
1168
  pathOffset: l = 0,
1171
1169
  // This is object creation, which we try to avoid per-frame.
1172
1170
  ...c
1173
- }, u, h, f) {
1174
- if (cn(t, c, u, f), h) {
1171
+ }, u, f, h) {
1172
+ if (cn(t, c, u, h), f) {
1175
1173
  t.style.viewBox && (t.attrs.viewBox = t.style.viewBox);
1176
1174
  return;
1177
1175
  }
1178
1176
  t.attrs = t.style, t.style = {};
1179
1177
  const { attrs: d, style: p, dimensions: m } = t;
1180
- d.transform && (m && (p.transform = d.transform), delete d.transform), m && (i !== void 0 || r !== void 0 || p.transform) && (p.transformOrigin = Aa(m, i !== void 0 ? i : 0.5, r !== void 0 ? r : 0.5)), e !== void 0 && (d.x = e), n !== void 0 && (d.y = n), s !== void 0 && (d.scale = s), o !== void 0 && Ca(d, o, a, l, !1);
1178
+ d.transform && (m && (p.transform = d.transform), delete d.transform), m && (i !== void 0 || r !== void 0 || p.transform) && (p.transformOrigin = Ta(m, i !== void 0 ? i : 0.5, r !== void 0 ? r : 0.5)), e !== void 0 && (d.x = e), n !== void 0 && (d.y = n), s !== void 0 && (d.scale = s), o !== void 0 && Sa(d, o, a, l, !1);
1181
1179
  }
1182
- const fi = () => ({
1180
+ const hi = () => ({
1183
1181
  ...un(),
1184
1182
  attrs: {}
1185
- }), fn = (t) => typeof t == "string" && t.toLowerCase() === "svg";
1186
- function Ma(t, e, n, s) {
1187
- const i = he(() => {
1188
- const r = fi();
1189
- return hn(r, e, { enableHardwareAcceleration: !1 }, fn(s), t.transformTemplate), {
1183
+ }), hn = (t) => typeof t == "string" && t.toLowerCase() === "svg";
1184
+ function Va(t, e, n, s) {
1185
+ const i = fe(() => {
1186
+ const r = hi();
1187
+ return fn(r, e, { enableHardwareAcceleration: !1 }, hn(s), t.transformTemplate), {
1190
1188
  ...r.attrs,
1191
1189
  style: { ...r.style }
1192
1190
  };
@@ -1197,16 +1195,16 @@ function Ma(t, e, n, s) {
1197
1195
  }
1198
1196
  return i;
1199
1197
  }
1200
- function Da(t = !1) {
1198
+ function Ca(t = !1) {
1201
1199
  return (n, s, i, { latestValues: r }, o) => {
1202
- const l = (ln(n) ? Ma : ba)(s, r, o, n), u = {
1203
- ...Pa(s, typeof n == "string", t),
1200
+ const l = (ln(n) ? Va : va)(s, r, o, n), u = {
1201
+ ...wa(s, typeof n == "string", t),
1204
1202
  ...l,
1205
1203
  ref: i
1206
- }, { children: h } = s, f = he(() => U(h) ? h.get() : h, [h]);
1204
+ }, { children: f } = s, h = fe(() => U(f) ? f.get() : f, [f]);
1207
1205
  return $s(n, {
1208
1206
  ...u,
1209
- children: f
1207
+ children: h
1210
1208
  });
1211
1209
  };
1212
1210
  }
@@ -1263,37 +1261,37 @@ function gi(t, e) {
1263
1261
  function pn(t, e, n, s = {}, i = {}) {
1264
1262
  return typeof e == "function" && (e = e(n !== void 0 ? n : t.custom, s, i)), typeof e == "string" && (e = t.variants && t.variants[e]), typeof e == "function" && (e = e(n !== void 0 ? n : t.custom, s, i)), e;
1265
1263
  }
1266
- function _a(t) {
1264
+ function Ma(t) {
1267
1265
  const e = St(null);
1268
1266
  return e.current === null && (e.current = t()), e.current;
1269
1267
  }
1270
- const oe = (t) => Array.isArray(t), Ra = (t) => !!(t && typeof t == "object" && t.mix && t.toValue), La = (t) => oe(t) ? t[t.length - 1] || 0 : t;
1268
+ const oe = (t) => Array.isArray(t), Da = (t) => !!(t && typeof t == "object" && t.mix && t.toValue), Ra = (t) => oe(t) ? t[t.length - 1] || 0 : t;
1271
1269
  function ee(t) {
1272
1270
  const e = U(t) ? t.get() : t;
1273
- return Ra(e) ? e.toValue() : e;
1271
+ return Da(e) ? e.toValue() : e;
1274
1272
  }
1275
- function Ea({ scrapeMotionValuesFromProps: t, createRenderState: e, onMount: n }, s, i, r) {
1273
+ function _a({ scrapeMotionValuesFromProps: t, createRenderState: e, onMount: n }, s, i, r) {
1276
1274
  const o = {
1277
- latestValues: ka(s, i, r, t),
1275
+ latestValues: La(s, i, r, t),
1278
1276
  renderState: e()
1279
1277
  };
1280
1278
  return n && (o.mount = (a) => n(s, a, o)), o;
1281
1279
  }
1282
1280
  const yi = (t) => (e, n) => {
1283
- const s = N(de), i = N(sn), r = () => Ea(t, e, s, i);
1284
- return n ? r() : _a(r);
1281
+ const s = N(de), i = N(sn), r = () => _a(t, e, s, i);
1282
+ return n ? r() : Ma(r);
1285
1283
  };
1286
- function ka(t, e, n, s) {
1284
+ function La(t, e, n, s) {
1287
1285
  const i = {}, r = s(t, {});
1288
- for (const f in r)
1289
- i[f] = ee(r[f]);
1286
+ for (const h in r)
1287
+ i[h] = ee(r[h]);
1290
1288
  let { initial: o, animate: a } = t;
1291
1289
  const l = ge(t), c = ni(t);
1292
1290
  e && c && !l && t.inherit !== !1 && (o === void 0 && (o = e.initial), a === void 0 && (a = e.animate));
1293
1291
  let u = n ? n.initial === !1 : !1;
1294
1292
  u = u || o === !1;
1295
- const h = u ? a : o;
1296
- return h && typeof h != "boolean" && !me(h) && (Array.isArray(h) ? h : [h]).forEach((d) => {
1293
+ const f = u ? a : o;
1294
+ return f && typeof f != "boolean" && !me(f) && (Array.isArray(f) ? f : [f]).forEach((d) => {
1297
1295
  const p = pn(t, d);
1298
1296
  if (!p)
1299
1297
  return;
@@ -1327,15 +1325,15 @@ class Un {
1327
1325
  this.order.length = 0, this.scheduled.clear();
1328
1326
  }
1329
1327
  }
1330
- function Ba(t) {
1328
+ function Ea(t) {
1331
1329
  let e = new Un(), n = new Un(), s = 0, i = !1, r = !1;
1332
1330
  const o = /* @__PURE__ */ new WeakSet(), a = {
1333
1331
  /**
1334
1332
  * Schedule a process to run on the next frame.
1335
1333
  */
1336
1334
  schedule: (l, c = !1, u = !1) => {
1337
- const h = u && i, f = h ? e : n;
1338
- return c && o.add(l), f.add(l) && h && i && (s = e.order.length), l;
1335
+ const f = u && i, h = f ? e : n;
1336
+ return c && o.add(l), h.add(l) && f && i && (s = e.order.length), l;
1339
1337
  },
1340
1338
  /**
1341
1339
  * Cancel the provided callback from running on the next frame.
@@ -1368,28 +1366,28 @@ const Qt = [
1368
1366
  "preRender",
1369
1367
  "render",
1370
1368
  "postRender"
1371
- ], Ia = 40;
1372
- function Fa(t, e) {
1369
+ ], ka = 40;
1370
+ function Ba(t, e) {
1373
1371
  let n = !1, s = !0;
1374
1372
  const i = {
1375
1373
  delta: 0,
1376
1374
  timestamp: 0,
1377
1375
  isProcessing: !1
1378
- }, r = Qt.reduce((h, f) => (h[f] = Ba(() => n = !0), h), {}), o = (h) => r[h].process(i), a = () => {
1379
- const h = performance.now();
1380
- n = !1, i.delta = s ? 1e3 / 60 : Math.max(Math.min(h - i.timestamp, Ia), 1), i.timestamp = h, i.isProcessing = !0, Qt.forEach(o), i.isProcessing = !1, n && e && (s = !1, t(a));
1376
+ }, r = Qt.reduce((f, h) => (f[h] = Ea(() => n = !0), f), {}), o = (f) => r[f].process(i), a = () => {
1377
+ const f = performance.now();
1378
+ n = !1, i.delta = s ? 1e3 / 60 : Math.max(Math.min(f - i.timestamp, ka), 1), i.timestamp = f, i.isProcessing = !0, Qt.forEach(o), i.isProcessing = !1, n && e && (s = !1, t(a));
1381
1379
  }, l = () => {
1382
1380
  n = !0, s = !0, i.isProcessing || t(a);
1383
1381
  };
1384
- return { schedule: Qt.reduce((h, f) => {
1385
- const d = r[f];
1386
- return h[f] = (p, m = !1, v = !1) => (n || l(), d.schedule(p, m, v)), h;
1387
- }, {}), cancel: (h) => Qt.forEach((f) => r[f].cancel(h)), state: i, steps: r };
1382
+ return { schedule: Qt.reduce((f, h) => {
1383
+ const d = r[h];
1384
+ return f[h] = (p, m = !1, v = !1) => (n || l(), d.schedule(p, m, v)), f;
1385
+ }, {}), cancel: (f) => Qt.forEach((h) => r[h].cancel(f)), state: i, steps: r };
1388
1386
  }
1389
- const { schedule: V, cancel: et, state: F, steps: Pe } = Fa(typeof requestAnimationFrame < "u" ? requestAnimationFrame : E, !0), Oa = {
1387
+ const { schedule: V, cancel: et, state: F, steps: Pe } = Ba(typeof requestAnimationFrame < "u" ? requestAnimationFrame : E, !0), Ia = {
1390
1388
  useVisualState: yi({
1391
1389
  scrapeMotionValuesFromProps: gi,
1392
- createRenderState: fi,
1390
+ createRenderState: hi,
1393
1391
  onMount: (t, e, { renderState: n, latestValues: s }) => {
1394
1392
  V.read(() => {
1395
1393
  try {
@@ -1403,21 +1401,21 @@ const { schedule: V, cancel: et, state: F, steps: Pe } = Fa(typeof requestAnimat
1403
1401
  };
1404
1402
  }
1405
1403
  }), V.render(() => {
1406
- hn(n, s, { enableHardwareAcceleration: !1 }, fn(e.tagName), t.transformTemplate), mi(e, n);
1404
+ fn(n, s, { enableHardwareAcceleration: !1 }, hn(e.tagName), t.transformTemplate), mi(e, n);
1407
1405
  });
1408
1406
  }
1409
1407
  })
1410
- }, ja = {
1408
+ }, Fa = {
1411
1409
  useVisualState: yi({
1412
1410
  scrapeMotionValuesFromProps: dn,
1413
1411
  createRenderState: un
1414
1412
  })
1415
1413
  };
1416
- function Na(t, { forwardMotionProps: e = !1 }, n, s) {
1414
+ function Oa(t, { forwardMotionProps: e = !1 }, n, s) {
1417
1415
  return {
1418
- ...ln(t) ? Oa : ja,
1416
+ ...ln(t) ? Ia : Fa,
1419
1417
  preloadedFeatures: n,
1420
- useRender: Da(e),
1418
+ useRender: Ca(e),
1421
1419
  createVisualElement: s,
1422
1420
  Component: t
1423
1421
  };
@@ -1434,11 +1432,11 @@ function ve(t, e = "page") {
1434
1432
  }
1435
1433
  };
1436
1434
  }
1437
- const Ua = (t) => (e) => vi(e) && t(e, ve(e));
1435
+ const ja = (t) => (e) => vi(e) && t(e, ve(e));
1438
1436
  function J(t, e, n, s) {
1439
- return Z(t, e, Ua(n), s);
1437
+ return Z(t, e, ja(n), s);
1440
1438
  }
1441
- const za = (t, e) => (n) => e(t(n)), rt = (...t) => t.reduce(za);
1439
+ const Na = (t, e) => (n) => e(t(n)), rt = (...t) => t.reduce(Na);
1442
1440
  function xi(t) {
1443
1441
  let e = null;
1444
1442
  return () => {
@@ -1485,14 +1483,14 @@ function $n(t, e) {
1485
1483
  passive: !t.getProps()[s]
1486
1484
  });
1487
1485
  }
1488
- class Wa extends ut {
1486
+ class Ua extends ut {
1489
1487
  mount() {
1490
1488
  this.unmount = rt($n(this.node, !0), $n(this.node, !1));
1491
1489
  }
1492
1490
  unmount() {
1493
1491
  }
1494
1492
  }
1495
- class $a extends ut {
1493
+ class za extends ut {
1496
1494
  constructor() {
1497
1495
  super(...arguments), this.isActive = !1;
1498
1496
  }
@@ -1521,7 +1519,7 @@ function Ae(t, e) {
1521
1519
  const n = new PointerEvent("pointer" + t);
1522
1520
  e(n, ve(n));
1523
1521
  }
1524
- class Ga extends ut {
1522
+ class Wa extends ut {
1525
1523
  constructor() {
1526
1524
  super(...arguments), this.removeStartListeners = E, this.removeEndListeners = E, this.removeAccessibleListeners = E, this.startPointerPress = (e, n) => {
1527
1525
  if (this.isPressing)
@@ -1530,9 +1528,9 @@ class Ga extends ut {
1530
1528
  const s = this.node.getProps(), r = J(window, "pointerup", (a, l) => {
1531
1529
  if (!this.checkPressEnd())
1532
1530
  return;
1533
- const { onTap: c, onTapCancel: u, globalTapTarget: h } = this.node.getProps();
1531
+ const { onTap: c, onTapCancel: u, globalTapTarget: f } = this.node.getProps();
1534
1532
  V.update(() => {
1535
- !h && !Ti(this.node.current, a.target) ? u && u(a, l) : c && c(a, l);
1533
+ !f && !Ti(this.node.current, a.target) ? u && u(a, l) : c && c(a, l);
1536
1534
  });
1537
1535
  }, { passive: !(s.onTap || s.onPointerUp) }), o = J(window, "pointercancel", (a, l) => this.cancelPress(a, l), { passive: !(s.onTapCancel || s.onPointerCancel) });
1538
1536
  this.removeEndListeners = rt(r, o), this.startPress(e, n);
@@ -1577,29 +1575,29 @@ class Ga extends ut {
1577
1575
  this.removeStartListeners(), this.removeEndListeners(), this.removeAccessibleListeners();
1578
1576
  }
1579
1577
  }
1580
- const Oe = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), Ha = (t) => {
1578
+ const Oe = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), $a = (t) => {
1581
1579
  const e = Oe.get(t.target);
1582
1580
  e && e(t);
1583
- }, qa = (t) => {
1584
- t.forEach(Ha);
1581
+ }, Ga = (t) => {
1582
+ t.forEach($a);
1585
1583
  };
1586
- function Ka({ root: t, ...e }) {
1584
+ function Ha({ root: t, ...e }) {
1587
1585
  const n = t || document;
1588
1586
  Se.has(n) || Se.set(n, {});
1589
1587
  const s = Se.get(n), i = JSON.stringify(e);
1590
- return s[i] || (s[i] = new IntersectionObserver(qa, { root: t, ...e })), s[i];
1588
+ return s[i] || (s[i] = new IntersectionObserver(Ga, { root: t, ...e })), s[i];
1591
1589
  }
1592
- function Ya(t, e, n) {
1593
- const s = Ka(e);
1590
+ function qa(t, e, n) {
1591
+ const s = Ha(e);
1594
1592
  return Oe.set(t, n), s.observe(t), () => {
1595
1593
  Oe.delete(t), s.unobserve(t);
1596
1594
  };
1597
1595
  }
1598
- const Xa = {
1596
+ const Ka = {
1599
1597
  some: 0,
1600
1598
  all: 1
1601
1599
  };
1602
- class Qa extends ut {
1600
+ class Ya extends ut {
1603
1601
  constructor() {
1604
1602
  super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
1605
1603
  }
@@ -1608,16 +1606,16 @@ class Qa extends ut {
1608
1606
  const { viewport: e = {} } = this.node.getProps(), { root: n, margin: s, amount: i = "some", once: r } = e, o = {
1609
1607
  root: n ? n.current : void 0,
1610
1608
  rootMargin: s,
1611
- threshold: typeof i == "number" ? i : Xa[i]
1609
+ threshold: typeof i == "number" ? i : Ka[i]
1612
1610
  }, a = (l) => {
1613
1611
  const { isIntersecting: c } = l;
1614
1612
  if (this.isInView === c || (this.isInView = c, r && !c && this.hasEnteredView))
1615
1613
  return;
1616
1614
  c && (this.hasEnteredView = !0), this.node.animationState && this.node.animationState.setActive("whileInView", c);
1617
- const { onViewportEnter: u, onViewportLeave: h } = this.node.getProps(), f = c ? u : h;
1618
- f && f(l);
1615
+ const { onViewportEnter: u, onViewportLeave: f } = this.node.getProps(), h = c ? u : f;
1616
+ h && h(l);
1619
1617
  };
1620
- return Ya(this.node.current, o, a);
1618
+ return qa(this.node.current, o, a);
1621
1619
  }
1622
1620
  mount() {
1623
1621
  this.startObserver();
@@ -1626,26 +1624,26 @@ class Qa extends ut {
1626
1624
  if (typeof IntersectionObserver > "u")
1627
1625
  return;
1628
1626
  const { props: e, prevProps: n } = this.node;
1629
- ["amount", "margin", "root"].some(Za(e, n)) && this.startObserver();
1627
+ ["amount", "margin", "root"].some(Xa(e, n)) && this.startObserver();
1630
1628
  }
1631
1629
  unmount() {
1632
1630
  }
1633
1631
  }
1634
- function Za({ viewport: t = {} }, { viewport: e = {} } = {}) {
1632
+ function Xa({ viewport: t = {} }, { viewport: e = {} } = {}) {
1635
1633
  return (n) => t[n] !== e[n];
1636
1634
  }
1637
- const Ja = {
1635
+ const Qa = {
1638
1636
  inView: {
1639
- Feature: Qa
1637
+ Feature: Ya
1640
1638
  },
1641
1639
  tap: {
1642
- Feature: Ga
1640
+ Feature: Wa
1643
1641
  },
1644
1642
  focus: {
1645
- Feature: $a
1643
+ Feature: za
1646
1644
  },
1647
1645
  hover: {
1648
- Feature: Wa
1646
+ Feature: Ua
1649
1647
  }
1650
1648
  };
1651
1649
  function Pi(t, e) {
@@ -1659,17 +1657,17 @@ function Pi(t, e) {
1659
1657
  return !1;
1660
1658
  return !0;
1661
1659
  }
1662
- function tl(t) {
1660
+ function Za(t) {
1663
1661
  const e = {};
1664
1662
  return t.values.forEach((n, s) => e[s] = n.get()), e;
1665
1663
  }
1666
- function el(t) {
1664
+ function Ja(t) {
1667
1665
  const e = {};
1668
1666
  return t.values.forEach((n, s) => e[s] = n.getVelocity()), e;
1669
1667
  }
1670
1668
  function xe(t, e, n) {
1671
1669
  const s = t.getProps();
1672
- return pn(s, e, n !== void 0 ? n : s.custom, tl(t), el(t));
1670
+ return pn(s, e, n !== void 0 ? n : s.custom, Za(t), Ja(t));
1673
1671
  }
1674
1672
  let qt = E, q = E;
1675
1673
  process.env.NODE_ENV !== "production" && (qt = (t, e) => {
@@ -1678,7 +1676,7 @@ process.env.NODE_ENV !== "production" && (qt = (t, e) => {
1678
1676
  if (!t)
1679
1677
  throw new Error(e);
1680
1678
  });
1681
- const at = (t) => t * 1e3, tt = (t) => t / 1e3, nl = {
1679
+ const at = (t) => t * 1e3, tt = (t) => t / 1e3, tl = {
1682
1680
  current: !1
1683
1681
  }, Ai = (t) => Array.isArray(t) && typeof t[0] == "number";
1684
1682
  function Si(t) {
@@ -1699,7 +1697,7 @@ function Ci(t) {
1699
1697
  if (t)
1700
1698
  return Ai(t) ? kt(t) : Array.isArray(t) ? t.map(Ci) : Vi[t];
1701
1699
  }
1702
- function sl(t, e, n, { delay: s = 0, duration: i, repeat: r = 0, repeatType: o = "loop", ease: a, times: l } = {}) {
1700
+ function el(t, e, n, { delay: s = 0, duration: i, repeat: r = 0, repeatType: o = "loop", ease: a, times: l } = {}) {
1703
1701
  const c = { [e]: n };
1704
1702
  l && (c.offset = l);
1705
1703
  const u = Ci(a);
@@ -1712,36 +1710,36 @@ function sl(t, e, n, { delay: s = 0, duration: i, repeat: r = 0, repeatType: o =
1712
1710
  direction: o === "reverse" ? "alternate" : "normal"
1713
1711
  });
1714
1712
  }
1715
- function il(t, { repeat: e, repeatType: n = "loop" }) {
1713
+ function nl(t, { repeat: e, repeatType: n = "loop" }) {
1716
1714
  const s = e && n !== "loop" && e % 2 === 1 ? 0 : t.length - 1;
1717
1715
  return t[s];
1718
1716
  }
1719
- const Mi = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, ol = 1e-7, rl = 12;
1720
- function al(t, e, n, s, i) {
1717
+ const Mi = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, sl = 1e-7, il = 12;
1718
+ function ol(t, e, n, s, i) {
1721
1719
  let r, o, a = 0;
1722
1720
  do
1723
1721
  o = e + (n - e) / 2, r = Mi(o, s, i) - t, r > 0 ? n = o : e = o;
1724
- while (Math.abs(r) > ol && ++a < rl);
1722
+ while (Math.abs(r) > sl && ++a < il);
1725
1723
  return o;
1726
1724
  }
1727
1725
  function Kt(t, e, n, s) {
1728
1726
  if (t === e && n === s)
1729
1727
  return E;
1730
- const i = (r) => al(r, 0, 1, t, n);
1728
+ const i = (r) => ol(r, 0, 1, t, n);
1731
1729
  return (r) => r === 0 || r === 1 ? r : Mi(i(r), e, s);
1732
1730
  }
1733
- const ll = Kt(0.42, 0, 1, 1), cl = Kt(0, 0, 0.58, 1), Di = Kt(0.42, 0, 0.58, 1), ul = (t) => Array.isArray(t) && typeof t[0] != "number", _i = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, Ri = (t) => (e) => 1 - t(1 - e), mn = (t) => 1 - Math.sin(Math.acos(t)), Li = Ri(mn), hl = _i(mn), Ei = Kt(0.33, 1.53, 0.69, 0.99), gn = Ri(Ei), fl = _i(gn), dl = (t) => (t *= 2) < 1 ? 0.5 * gn(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), Gn = {
1731
+ const rl = Kt(0.42, 0, 1, 1), al = Kt(0, 0, 0.58, 1), Di = Kt(0.42, 0, 0.58, 1), ll = (t) => Array.isArray(t) && typeof t[0] != "number", Ri = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, _i = (t) => (e) => 1 - t(1 - e), mn = (t) => 1 - Math.sin(Math.acos(t)), Li = _i(mn), cl = Ri(mn), Ei = Kt(0.33, 1.53, 0.69, 0.99), gn = _i(Ei), ul = Ri(gn), fl = (t) => (t *= 2) < 1 ? 0.5 * gn(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), Gn = {
1734
1732
  linear: E,
1735
- easeIn: ll,
1733
+ easeIn: rl,
1736
1734
  easeInOut: Di,
1737
- easeOut: cl,
1735
+ easeOut: al,
1738
1736
  circIn: mn,
1739
- circInOut: hl,
1737
+ circInOut: cl,
1740
1738
  circOut: Li,
1741
1739
  backIn: gn,
1742
- backInOut: fl,
1740
+ backInOut: ul,
1743
1741
  backOut: Ei,
1744
- anticipate: dl
1742
+ anticipate: fl
1745
1743
  }, Hn = (t) => {
1746
1744
  if (Array.isArray(t)) {
1747
1745
  q(t.length === 4, "Cubic bezier arrays must contain four numerical values.");
@@ -1750,7 +1748,7 @@ const ll = Kt(0.42, 0, 1, 1), cl = Kt(0, 0, 0.58, 1), Di = Kt(0.42, 0, 0.58, 1),
1750
1748
  } else if (typeof t == "string")
1751
1749
  return q(Gn[t] !== void 0, `Invalid easing type '${t}'`), Gn[t];
1752
1750
  return t;
1753
- }, yn = (t, e) => (n) => !!(Gt(n) && ma.test(n) && n.startsWith(t) || e && Object.prototype.hasOwnProperty.call(n, e)), ki = (t, e, n) => (s) => {
1751
+ }, yn = (t, e) => (n) => !!(Gt(n) && da.test(n) && n.startsWith(t) || e && Object.prototype.hasOwnProperty.call(n, e)), ki = (t, e, n) => (s) => {
1754
1752
  if (!Gt(s))
1755
1753
  return s;
1756
1754
  const [i, r, o, a] = s.match(ye);
@@ -1760,15 +1758,15 @@ const ll = Kt(0.42, 0, 1, 1), cl = Kt(0, 0, 0.58, 1), Di = Kt(0.42, 0, 0.58, 1),
1760
1758
  [n]: parseFloat(o),
1761
1759
  alpha: a !== void 0 ? parseFloat(a) : 1
1762
1760
  };
1763
- }, pl = (t) => lt(0, 255, t), Ve = {
1761
+ }, hl = (t) => lt(0, 255, t), Ve = {
1764
1762
  ...yt,
1765
- transform: (t) => Math.round(pl(t))
1763
+ transform: (t) => Math.round(hl(t))
1766
1764
  }, mt = {
1767
1765
  test: yn("rgb", "red"),
1768
1766
  parse: ki("red", "green", "blue"),
1769
1767
  transform: ({ red: t, green: e, blue: n, alpha: s = 1 }) => "rgba(" + Ve.transform(t) + ", " + Ve.transform(e) + ", " + Ve.transform(n) + ", " + It(Bt.transform(s)) + ")"
1770
1768
  };
1771
- function ml(t) {
1769
+ function dl(t) {
1772
1770
  let e = "", n = "", s = "", i = "";
1773
1771
  return t.length > 5 ? (e = t.substring(1, 3), n = t.substring(3, 5), s = t.substring(5, 7), i = t.substring(7, 9)) : (e = t.substring(1, 2), n = t.substring(2, 3), s = t.substring(3, 4), i = t.substring(4, 5), e += e, n += n, s += s, i += i), {
1774
1772
  red: parseInt(e, 16),
@@ -1779,7 +1777,7 @@ function ml(t) {
1779
1777
  }
1780
1778
  const je = {
1781
1779
  test: yn("#"),
1782
- parse: ml,
1780
+ parse: dl,
1783
1781
  transform: mt.transform
1784
1782
  }, Tt = {
1785
1783
  test: yn("hsl", "hue"),
@@ -1789,11 +1787,11 @@ const je = {
1789
1787
  test: (t) => mt.test(t) || je.test(t) || Tt.test(t),
1790
1788
  parse: (t) => mt.test(t) ? mt.parse(t) : Tt.test(t) ? Tt.parse(t) : je.parse(t),
1791
1789
  transform: (t) => Gt(t) ? t : t.hasOwnProperty("red") ? mt.transform(t) : Tt.transform(t)
1792
- }, R = (t, e, n) => -n * t + n * e + t;
1790
+ }, _ = (t, e, n) => -n * t + n * e + t;
1793
1791
  function Ce(t, e, n) {
1794
1792
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? t + (e - t) * 6 * n : n < 1 / 2 ? e : n < 2 / 3 ? t + (e - t) * (2 / 3 - n) * 6 : t;
1795
1793
  }
1796
- function gl({ hue: t, saturation: e, lightness: n, alpha: s }) {
1794
+ function pl({ hue: t, saturation: e, lightness: n, alpha: s }) {
1797
1795
  t /= 360, e /= 100, n /= 100;
1798
1796
  let i = 0, r = 0, o = 0;
1799
1797
  if (!e)
@@ -1812,23 +1810,23 @@ function gl({ hue: t, saturation: e, lightness: n, alpha: s }) {
1812
1810
  const Me = (t, e, n) => {
1813
1811
  const s = t * t;
1814
1812
  return Math.sqrt(Math.max(0, n * (e * e - s) + s));
1815
- }, yl = [je, mt, Tt], vl = (t) => yl.find((e) => e.test(t));
1813
+ }, ml = [je, mt, Tt], gl = (t) => ml.find((e) => e.test(t));
1816
1814
  function qn(t) {
1817
- const e = vl(t);
1815
+ const e = gl(t);
1818
1816
  q(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`);
1819
1817
  let n = e.parse(t);
1820
- return e === Tt && (n = gl(n)), n;
1818
+ return e === Tt && (n = pl(n)), n;
1821
1819
  }
1822
1820
  const Bi = (t, e) => {
1823
1821
  const n = qn(t), s = qn(e), i = { ...n };
1824
- return (r) => (i.red = Me(n.red, s.red, r), i.green = Me(n.green, s.green, r), i.blue = Me(n.blue, s.blue, r), i.alpha = R(n.alpha, s.alpha, r), mt.transform(i));
1822
+ return (r) => (i.red = Me(n.red, s.red, r), i.green = Me(n.green, s.green, r), i.blue = Me(n.blue, s.blue, r), i.alpha = _(n.alpha, s.alpha, r), mt.transform(i));
1825
1823
  };
1826
- function xl(t) {
1824
+ function yl(t) {
1827
1825
  var e, n;
1828
1826
  return isNaN(t) && Gt(t) && (((e = t.match(ye)) === null || e === void 0 ? void 0 : e.length) || 0) + (((n = t.match(li)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
1829
1827
  }
1830
1828
  const Ii = {
1831
- regex: da,
1829
+ regex: fa,
1832
1830
  countKey: "Vars",
1833
1831
  token: "${v}",
1834
1832
  parse: E
@@ -1870,19 +1868,19 @@ function Ni(t) {
1870
1868
  return a;
1871
1869
  };
1872
1870
  }
1873
- const bl = (t) => typeof t == "number" ? 0 : t;
1874
- function wl(t) {
1871
+ const vl = (t) => typeof t == "number" ? 0 : t;
1872
+ function xl(t) {
1875
1873
  const e = ji(t);
1876
- return Ni(t)(e.map(bl));
1874
+ return Ni(t)(e.map(vl));
1877
1875
  }
1878
1876
  const ct = {
1879
- test: xl,
1877
+ test: yl,
1880
1878
  parse: ji,
1881
1879
  createTransformer: Ni,
1882
- getAnimatableNone: wl
1880
+ getAnimatableNone: xl
1883
1881
  }, Ui = (t, e) => (n) => `${n > 0 ? e : t}`;
1884
1882
  function zi(t, e) {
1885
- return typeof t == "number" ? (n) => R(t, e, n) : j.test(t) ? Bi(t, e) : t.startsWith("var(") ? Ui(t, e) : $i(t, e);
1883
+ return typeof t == "number" ? (n) => _(t, e, n) : j.test(t) ? Bi(t, e) : t.startsWith("var(") ? Ui(t, e) : $i(t, e);
1886
1884
  }
1887
1885
  const Wi = (t, e) => {
1888
1886
  const n = [...t], s = n.length, i = t.map((r, o) => zi(r, e[o]));
@@ -1891,7 +1889,7 @@ const Wi = (t, e) => {
1891
1889
  n[o] = i[o](r);
1892
1890
  return n;
1893
1891
  };
1894
- }, Tl = (t, e) => {
1892
+ }, bl = (t, e) => {
1895
1893
  const n = { ...t, ...e }, s = {};
1896
1894
  for (const i in n)
1897
1895
  t[i] !== void 0 && e[i] !== void 0 && (s[i] = zi(t[i], e[i]));
@@ -1906,12 +1904,12 @@ const Wi = (t, e) => {
1906
1904
  }, zt = (t, e, n) => {
1907
1905
  const s = e - t;
1908
1906
  return s === 0 ? 1 : (n - t) / s;
1909
- }, Kn = (t, e) => (n) => R(t, e, n);
1910
- function Pl(t) {
1911
- return typeof t == "number" ? Kn : typeof t == "string" ? j.test(t) ? Bi : $i : Array.isArray(t) ? Wi : typeof t == "object" ? Tl : Kn;
1907
+ }, Kn = (t, e) => (n) => _(t, e, n);
1908
+ function wl(t) {
1909
+ return typeof t == "number" ? Kn : typeof t == "string" ? j.test(t) ? Bi : $i : Array.isArray(t) ? Wi : typeof t == "object" ? bl : Kn;
1912
1910
  }
1913
- function Al(t, e, n) {
1914
- const s = [], i = n || Pl(t[0]), r = t.length - 1;
1911
+ function Tl(t, e, n) {
1912
+ const s = [], i = n || wl(t[0]), r = t.length - 1;
1915
1913
  for (let o = 0; o < r; o++) {
1916
1914
  let a = i(t[o], t[o + 1]);
1917
1915
  if (e) {
@@ -1927,44 +1925,44 @@ function Gi(t, e, { clamp: n = !0, ease: s, mixer: i } = {}) {
1927
1925
  if (q(r === e.length, "Both input and output ranges must be the same length"), r === 1)
1928
1926
  return () => e[0];
1929
1927
  t[0] > t[r - 1] && (t = [...t].reverse(), e = [...e].reverse());
1930
- const o = Al(e, s, i), a = o.length, l = (c) => {
1928
+ const o = Tl(e, s, i), a = o.length, l = (c) => {
1931
1929
  let u = 0;
1932
1930
  if (a > 1)
1933
1931
  for (; u < t.length - 2 && !(c < t[u + 1]); u++)
1934
1932
  ;
1935
- const h = zt(t[u], t[u + 1], c);
1936
- return o[u](h);
1933
+ const f = zt(t[u], t[u + 1], c);
1934
+ return o[u](f);
1937
1935
  };
1938
1936
  return n ? (c) => l(lt(t[0], t[r - 1], c)) : l;
1939
1937
  }
1940
- function Sl(t, e) {
1938
+ function Pl(t, e) {
1941
1939
  const n = t[t.length - 1];
1942
1940
  for (let s = 1; s <= e; s++) {
1943
1941
  const i = zt(0, e, s);
1944
- t.push(R(n, 1, i));
1942
+ t.push(_(n, 1, i));
1945
1943
  }
1946
1944
  }
1947
- function Vl(t) {
1945
+ function Al(t) {
1948
1946
  const e = [0];
1949
- return Sl(e, t.length - 1), e;
1947
+ return Pl(e, t.length - 1), e;
1950
1948
  }
1951
- function Cl(t, e) {
1949
+ function Sl(t, e) {
1952
1950
  return t.map((n) => n * e);
1953
1951
  }
1954
- function Ml(t, e) {
1952
+ function Vl(t, e) {
1955
1953
  return t.map(() => e || Di).splice(0, t.length - 1);
1956
1954
  }
1957
1955
  function ae({ duration: t = 300, keyframes: e, times: n, ease: s = "easeInOut" }) {
1958
- const i = ul(s) ? s.map(Hn) : Hn(s), r = {
1956
+ const i = ll(s) ? s.map(Hn) : Hn(s), r = {
1959
1957
  done: !1,
1960
1958
  value: e[0]
1961
- }, o = Cl(
1959
+ }, o = Sl(
1962
1960
  // Only use the provided offsets if they're the correct length
1963
1961
  // TODO Maybe we should warn here if there's a length mismatch
1964
- n && n.length === e.length ? n : Vl(e),
1962
+ n && n.length === e.length ? n : Al(e),
1965
1963
  t
1966
1964
  ), a = Gi(o, e, {
1967
- ease: Array.isArray(i) ? i : Ml(e, i)
1965
+ ease: Array.isArray(i) ? i : Vl(e, i)
1968
1966
  });
1969
1967
  return {
1970
1968
  calculatedDuration: t,
@@ -1974,30 +1972,30 @@ function ae({ duration: t = 300, keyframes: e, times: n, ease: s = "easeInOut" }
1974
1972
  function Hi(t, e) {
1975
1973
  return e ? t * (1e3 / e) : 0;
1976
1974
  }
1977
- const Dl = 5;
1975
+ const Cl = 5;
1978
1976
  function qi(t, e, n) {
1979
- const s = Math.max(e - Dl, 0);
1977
+ const s = Math.max(e - Cl, 0);
1980
1978
  return Hi(n - t(s), e - s);
1981
1979
  }
1982
- const _e = 1e-3, _l = 0.01, Yn = 10, Rl = 0.05, Ll = 1;
1983
- function El({ duration: t = 800, bounce: e = 0.25, velocity: n = 0, mass: s = 1 }) {
1980
+ const Re = 1e-3, Ml = 0.01, Yn = 10, Dl = 0.05, Rl = 1;
1981
+ function _l({ duration: t = 800, bounce: e = 0.25, velocity: n = 0, mass: s = 1 }) {
1984
1982
  let i, r;
1985
1983
  qt(t <= at(Yn), "Spring duration must be 10 seconds or less");
1986
1984
  let o = 1 - e;
1987
- o = lt(Rl, Ll, o), t = lt(_l, Yn, tt(t)), o < 1 ? (i = (c) => {
1988
- const u = c * o, h = u * t, f = u - n, d = Ne(c, o), p = Math.exp(-h);
1989
- return _e - f / d * p;
1985
+ o = lt(Dl, Rl, o), t = lt(Ml, Yn, tt(t)), o < 1 ? (i = (c) => {
1986
+ const u = c * o, f = u * t, h = u - n, d = Ne(c, o), p = Math.exp(-f);
1987
+ return Re - h / d * p;
1990
1988
  }, r = (c) => {
1991
- const h = c * o * t, f = h * n + n, d = Math.pow(o, 2) * Math.pow(c, 2) * t, p = Math.exp(-h), m = Ne(Math.pow(c, 2), o);
1992
- return (-i(c) + _e > 0 ? -1 : 1) * ((f - d) * p) / m;
1989
+ const f = c * o * t, h = f * n + n, d = Math.pow(o, 2) * Math.pow(c, 2) * t, p = Math.exp(-f), m = Ne(Math.pow(c, 2), o);
1990
+ return (-i(c) + Re > 0 ? -1 : 1) * ((h - d) * p) / m;
1993
1991
  }) : (i = (c) => {
1994
- const u = Math.exp(-c * t), h = (c - n) * t + 1;
1995
- return -_e + u * h;
1992
+ const u = Math.exp(-c * t), f = (c - n) * t + 1;
1993
+ return -Re + u * f;
1996
1994
  }, r = (c) => {
1997
- const u = Math.exp(-c * t), h = (n - c) * (t * t);
1998
- return u * h;
1995
+ const u = Math.exp(-c * t), f = (n - c) * (t * t);
1996
+ return u * f;
1999
1997
  });
2000
- const a = 5 / t, l = Bl(i, r, a);
1998
+ const a = 5 / t, l = El(i, r, a);
2001
1999
  if (t = at(t), isNaN(l))
2002
2000
  return {
2003
2001
  stiffness: 100,
@@ -2013,21 +2011,21 @@ function El({ duration: t = 800, bounce: e = 0.25, velocity: n = 0, mass: s = 1
2013
2011
  };
2014
2012
  }
2015
2013
  }
2016
- const kl = 12;
2017
- function Bl(t, e, n) {
2014
+ const Ll = 12;
2015
+ function El(t, e, n) {
2018
2016
  let s = n;
2019
- for (let i = 1; i < kl; i++)
2017
+ for (let i = 1; i < Ll; i++)
2020
2018
  s = s - t(s) / e(s);
2021
2019
  return s;
2022
2020
  }
2023
2021
  function Ne(t, e) {
2024
2022
  return t * Math.sqrt(1 - e * e);
2025
2023
  }
2026
- const Il = ["duration", "bounce"], Fl = ["stiffness", "damping", "mass"];
2024
+ const kl = ["duration", "bounce"], Bl = ["stiffness", "damping", "mass"];
2027
2025
  function Xn(t, e) {
2028
2026
  return e.some((n) => t[n] !== void 0);
2029
2027
  }
2030
- function Ol(t) {
2028
+ function Il(t) {
2031
2029
  let e = {
2032
2030
  velocity: 0,
2033
2031
  stiffness: 100,
@@ -2036,8 +2034,8 @@ function Ol(t) {
2036
2034
  isResolvedFromDuration: !1,
2037
2035
  ...t
2038
2036
  };
2039
- if (!Xn(t, Fl) && Xn(t, Il)) {
2040
- const n = El(t);
2037
+ if (!Xn(t, Bl) && Xn(t, kl)) {
2038
+ const n = _l(t);
2041
2039
  e = {
2042
2040
  ...e,
2043
2041
  ...n,
@@ -2047,10 +2045,10 @@ function Ol(t) {
2047
2045
  return e;
2048
2046
  }
2049
2047
  function Ki({ keyframes: t, restDelta: e, restSpeed: n, ...s }) {
2050
- const i = t[0], r = t[t.length - 1], o = { done: !1, value: i }, { stiffness: a, damping: l, mass: c, duration: u, velocity: h, isResolvedFromDuration: f } = Ol({
2048
+ const i = t[0], r = t[t.length - 1], o = { done: !1, value: i }, { stiffness: a, damping: l, mass: c, duration: u, velocity: f, isResolvedFromDuration: h } = Il({
2051
2049
  ...s,
2052
2050
  velocity: -tt(s.velocity || 0)
2053
- }), d = h || 0, p = l / (2 * Math.sqrt(a * c)), m = r - i, v = tt(Math.sqrt(a / c)), b = Math.abs(m) < 5;
2051
+ }), d = f || 0, p = l / (2 * Math.sqrt(a * c)), m = r - i, v = tt(Math.sqrt(a / c)), b = Math.abs(m) < 5;
2054
2052
  n || (n = b ? 0.01 : 2), e || (e = b ? 5e-3 : 0.5);
2055
2053
  let y;
2056
2054
  if (p < 1) {
@@ -2069,10 +2067,10 @@ function Ki({ keyframes: t, restDelta: e, restSpeed: n, ...s }) {
2069
2067
  };
2070
2068
  }
2071
2069
  return {
2072
- calculatedDuration: f && u || null,
2070
+ calculatedDuration: h && u || null,
2073
2071
  next: (g) => {
2074
2072
  const x = y(g);
2075
- if (f)
2073
+ if (h)
2076
2074
  o.done = g >= u;
2077
2075
  else {
2078
2076
  let P = d;
@@ -2085,22 +2083,22 @@ function Ki({ keyframes: t, restDelta: e, restSpeed: n, ...s }) {
2085
2083
  };
2086
2084
  }
2087
2085
  function Qn({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: s = 325, bounceDamping: i = 10, bounceStiffness: r = 500, modifyTarget: o, min: a, max: l, restDelta: c = 0.5, restSpeed: u }) {
2088
- const h = t[0], f = {
2086
+ const f = t[0], h = {
2089
2087
  done: !1,
2090
- value: h
2088
+ value: f
2091
2089
  }, d = (A) => a !== void 0 && A < a || l !== void 0 && A > l, p = (A) => a === void 0 ? l : l === void 0 || Math.abs(a - A) < Math.abs(l - A) ? a : l;
2092
2090
  let m = n * e;
2093
- const v = h + m, b = o === void 0 ? v : o(v);
2094
- b !== v && (m = b - h);
2091
+ const v = f + m, b = o === void 0 ? v : o(v);
2092
+ b !== v && (m = b - f);
2095
2093
  const y = (A) => -m * Math.exp(-A / s), g = (A) => b + y(A), x = (A) => {
2096
2094
  const L = y(A), Y = g(A);
2097
- f.done = Math.abs(L) <= c, f.value = f.done ? b : Y;
2095
+ h.done = Math.abs(L) <= c, h.value = h.done ? b : Y;
2098
2096
  };
2099
2097
  let P, S;
2100
2098
  const C = (A) => {
2101
- d(f.value) && (P = A, S = Ki({
2102
- keyframes: [f.value, p(f.value)],
2103
- velocity: qi(g, A, f.value),
2099
+ d(h.value) && (P = A, S = Ki({
2100
+ keyframes: [h.value, p(h.value)],
2101
+ velocity: qi(g, A, h.value),
2104
2102
  damping: i,
2105
2103
  stiffness: r,
2106
2104
  restDelta: c,
@@ -2111,11 +2109,11 @@ function Qn({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: s = 3
2111
2109
  calculatedDuration: null,
2112
2110
  next: (A) => {
2113
2111
  let L = !1;
2114
- return !S && P === void 0 && (L = !0, x(A), C(A)), P !== void 0 && A > P ? S.next(A - P) : (!L && x(A), f);
2112
+ return !S && P === void 0 && (L = !0, x(A), C(A)), P !== void 0 && A > P ? S.next(A - P) : (!L && x(A), h);
2115
2113
  }
2116
2114
  };
2117
2115
  }
2118
- const jl = (t) => {
2116
+ const Fl = (t) => {
2119
2117
  const e = ({ timestamp: n }) => t(n);
2120
2118
  return {
2121
2119
  start: () => V.update(e, !0),
@@ -2135,14 +2133,14 @@ function Jn(t) {
2135
2133
  e += n, s = t.next(e);
2136
2134
  return e >= Zn ? 1 / 0 : e;
2137
2135
  }
2138
- const Nl = {
2136
+ const Ol = {
2139
2137
  decay: Qn,
2140
2138
  inertia: Qn,
2141
2139
  tween: ae,
2142
2140
  keyframes: ae,
2143
2141
  spring: Ki
2144
2142
  };
2145
- function le({ autoplay: t = !0, delay: e = 0, driver: n = jl, keyframes: s, type: i = "keyframes", repeat: r = 0, repeatDelay: o = 0, repeatType: a = "loop", onPlay: l, onStop: c, onComplete: u, onUpdate: h, ...f }) {
2143
+ function le({ autoplay: t = !0, delay: e = 0, driver: n = Fl, keyframes: s, type: i = "keyframes", repeat: r = 0, repeatDelay: o = 0, repeatType: a = "loop", onPlay: l, onStop: c, onComplete: u, onUpdate: f, ...h }) {
2146
2144
  let d = 1, p = !1, m, v;
2147
2145
  const b = () => {
2148
2146
  v = new Promise((M) => {
@@ -2151,17 +2149,17 @@ function le({ autoplay: t = !0, delay: e = 0, driver: n = jl, keyframes: s, type
2151
2149
  };
2152
2150
  b();
2153
2151
  let y;
2154
- const g = Nl[i] || ae;
2152
+ const g = Ol[i] || ae;
2155
2153
  let x;
2156
2154
  g !== ae && typeof s[0] != "number" && (process.env.NODE_ENV !== "production" && q(s.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${s}`), x = Gi([0, 100], s, {
2157
2155
  clamp: !1
2158
2156
  }), s = [0, 100]);
2159
- const P = g({ ...f, keyframes: s });
2157
+ const P = g({ ...h, keyframes: s });
2160
2158
  let S;
2161
2159
  a === "mirror" && (S = g({
2162
- ...f,
2160
+ ...h,
2163
2161
  keyframes: [...s].reverse(),
2164
- velocity: -(f.velocity || 0)
2162
+ velocity: -(h.velocity || 0)
2165
2163
  }));
2166
2164
  let C = "idle", A = null, L = null, Y = null;
2167
2165
  P.calculatedDuration === null && r && (P.calculatedDuration = Jn(P));
@@ -2173,20 +2171,20 @@ function le({ autoplay: t = !0, delay: e = 0, driver: n = jl, keyframes: s, type
2173
2171
  if (L === null)
2174
2172
  return;
2175
2173
  d > 0 && (L = Math.min(L, M)), d < 0 && (L = Math.min(M - X / d, L)), A !== null ? O = A : O = Math.round(M - L) * d;
2176
- const _t = O - e * (d >= 0 ? 1 : -1), Cn = d >= 0 ? _t < 0 : _t > X;
2177
- O = Math.max(_t, 0), C === "finished" && A === null && (O = X);
2174
+ const Rt = O - e * (d >= 0 ? 1 : -1), Cn = d >= 0 ? Rt < 0 : Rt > X;
2175
+ O = Math.max(Rt, 0), C === "finished" && A === null && (O = X);
2178
2176
  let Mn = O, Dn = P;
2179
2177
  if (r) {
2180
2178
  const be = Math.min(O, X) / H;
2181
- let Yt = Math.floor(be), ht = be % 1;
2182
- !ht && be >= 1 && (ht = 1), ht === 1 && Yt--, Yt = Math.min(Yt, r + 1), !!(Yt % 2) && (a === "reverse" ? (ht = 1 - ht, o && (ht -= o / H)) : a === "mirror" && (Dn = S)), Mn = lt(0, 1, ht) * H;
2179
+ let Yt = Math.floor(be), ft = be % 1;
2180
+ !ft && be >= 1 && (ft = 1), ft === 1 && Yt--, Yt = Math.min(Yt, r + 1), !!(Yt % 2) && (a === "reverse" ? (ft = 1 - ft, o && (ft -= o / H)) : a === "mirror" && (Dn = S)), Mn = lt(0, 1, ft) * H;
2183
2181
  }
2184
- const Rt = Cn ? { done: !1, value: s[0] } : Dn.next(Mn);
2185
- x && (Rt.value = x(Rt.value));
2186
- let { done: _n } = Rt;
2187
- !Cn && vt !== null && (_n = d >= 0 ? O >= X : O <= 0);
2188
- const Po = A === null && (C === "finished" || C === "running" && _n);
2189
- return h && h(Rt.value), Po && Dt(), Rt;
2182
+ const _t = Cn ? { done: !1, value: s[0] } : Dn.next(Mn);
2183
+ x && (_t.value = x(_t.value));
2184
+ let { done: Rn } = _t;
2185
+ !Cn && vt !== null && (Rn = d >= 0 ? O >= X : O <= 0);
2186
+ const Po = A === null && (C === "finished" || C === "running" && Rn);
2187
+ return f && f(_t.value), Po && Dt(), _t;
2190
2188
  }, B = () => {
2191
2189
  y && y.stop(), y = void 0;
2192
2190
  }, nt = () => {
@@ -2202,8 +2200,8 @@ function le({ autoplay: t = !0, delay: e = 0, driver: n = jl, keyframes: s, type
2202
2200
  };
2203
2201
  t && bt();
2204
2202
  const Vn = {
2205
- then(M, _t) {
2206
- return v.then(M, _t);
2203
+ then(M, Rt) {
2204
+ return v.then(M, Rt);
2207
2205
  },
2208
2206
  get time() {
2209
2207
  return tt(O);
@@ -2241,19 +2239,19 @@ function le({ autoplay: t = !0, delay: e = 0, driver: n = jl, keyframes: s, type
2241
2239
  };
2242
2240
  return Vn;
2243
2241
  }
2244
- function Ul(t) {
2242
+ function jl(t) {
2245
2243
  let e;
2246
2244
  return () => (e === void 0 && (e = t()), e);
2247
2245
  }
2248
- const zl = Ul(() => Object.hasOwnProperty.call(Element.prototype, "animate")), Wl = /* @__PURE__ */ new Set([
2246
+ const Nl = jl(() => Object.hasOwnProperty.call(Element.prototype, "animate")), Ul = /* @__PURE__ */ new Set([
2249
2247
  "opacity",
2250
2248
  "clipPath",
2251
2249
  "filter",
2252
2250
  "transform",
2253
2251
  "backgroundColor"
2254
- ]), Zt = 10, $l = 2e4, Gl = (t, e) => e.type === "spring" || t === "backgroundColor" || !Si(e.ease);
2255
- function Hl(t, e, { onUpdate: n, onComplete: s, ...i }) {
2256
- if (!(zl() && Wl.has(e) && !i.repeatDelay && i.repeatType !== "mirror" && i.damping !== 0 && i.type !== "inertia"))
2252
+ ]), Zt = 10, zl = 2e4, Wl = (t, e) => e.type === "spring" || t === "backgroundColor" || !Si(e.ease);
2253
+ function $l(t, e, { onUpdate: n, onComplete: s, ...i }) {
2254
+ if (!(Nl() && Ul.has(e) && !i.repeatDelay && i.repeatType !== "mirror" && i.damping !== 0 && i.type !== "inertia"))
2257
2255
  return !1;
2258
2256
  let o = !1, a, l, c = !1;
2259
2257
  const u = () => {
@@ -2262,23 +2260,23 @@ function Hl(t, e, { onUpdate: n, onComplete: s, ...i }) {
2262
2260
  });
2263
2261
  };
2264
2262
  u();
2265
- let { keyframes: h, duration: f = 300, ease: d, times: p } = i;
2266
- if (Gl(e, i)) {
2263
+ let { keyframes: f, duration: h = 300, ease: d, times: p } = i;
2264
+ if (Wl(e, i)) {
2267
2265
  const g = le({
2268
2266
  ...i,
2269
2267
  repeat: 0,
2270
2268
  delay: 0
2271
2269
  });
2272
- let x = { done: !1, value: h[0] };
2270
+ let x = { done: !1, value: f[0] };
2273
2271
  const P = [];
2274
2272
  let S = 0;
2275
- for (; !x.done && S < $l; )
2273
+ for (; !x.done && S < zl; )
2276
2274
  x = g.sample(S), P.push(x.value), S += Zt;
2277
- p = void 0, h = P, f = S - Zt, d = "linear";
2275
+ p = void 0, f = P, h = S - Zt, d = "linear";
2278
2276
  }
2279
- const m = sl(t.owner.current, e, h, {
2277
+ const m = el(t.owner.current, e, f, {
2280
2278
  ...i,
2281
- duration: f,
2279
+ duration: h,
2282
2280
  /**
2283
2281
  * This function is currently not called if ease is provided
2284
2282
  * as a function so the cast is safe.
@@ -2295,7 +2293,7 @@ function Hl(t, e, { onUpdate: n, onComplete: s, ...i }) {
2295
2293
  c = !0, V.update(v), a(), u();
2296
2294
  };
2297
2295
  return m.onfinish = () => {
2298
- c || (t.set(il(h, i)), s && s(), b());
2296
+ c || (t.set(nl(f, i)), s && s(), b());
2299
2297
  }, {
2300
2298
  then(g, x) {
2301
2299
  return l.then(g, x);
@@ -2316,7 +2314,7 @@ function Hl(t, e, { onUpdate: n, onComplete: s, ...i }) {
2316
2314
  m.playbackRate = g;
2317
2315
  },
2318
2316
  get duration() {
2319
- return tt(f);
2317
+ return tt(h);
2320
2318
  },
2321
2319
  play: () => {
2322
2320
  o || (m.play(), et(v));
@@ -2341,7 +2339,7 @@ function Hl(t, e, { onUpdate: n, onComplete: s, ...i }) {
2341
2339
  cancel: b
2342
2340
  };
2343
2341
  }
2344
- function ql({ keyframes: t, delay: e, onUpdate: n, onComplete: s }) {
2342
+ function Gl({ keyframes: t, delay: e, onUpdate: n, onComplete: s }) {
2345
2343
  const i = () => (n && n(t[t.length - 1]), s && s(), {
2346
2344
  time: 0,
2347
2345
  speed: 1,
@@ -2360,27 +2358,27 @@ function ql({ keyframes: t, delay: e, onUpdate: n, onComplete: s }) {
2360
2358
  onComplete: i
2361
2359
  }) : i();
2362
2360
  }
2363
- const Kl = {
2361
+ const Hl = {
2364
2362
  type: "spring",
2365
2363
  stiffness: 500,
2366
2364
  damping: 25,
2367
2365
  restSpeed: 10
2368
- }, Yl = (t) => ({
2366
+ }, ql = (t) => ({
2369
2367
  type: "spring",
2370
2368
  stiffness: 550,
2371
2369
  damping: t === 0 ? 2 * Math.sqrt(550) : 30,
2372
2370
  restSpeed: 10
2373
- }), Xl = {
2371
+ }), Kl = {
2374
2372
  type: "keyframes",
2375
2373
  duration: 0.8
2376
- }, Ql = {
2374
+ }, Yl = {
2377
2375
  type: "keyframes",
2378
2376
  ease: [0.25, 0.1, 0.35, 1],
2379
2377
  duration: 0.3
2380
- }, Zl = (t, { keyframes: e }) => e.length > 2 ? Xl : gt.has(t) ? t.startsWith("scale") ? Yl(e[1]) : Kl : Ql, Ue = (t, e) => t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && // It's animatable if we have a string
2378
+ }, Xl = (t, { keyframes: e }) => e.length > 2 ? Kl : gt.has(t) ? t.startsWith("scale") ? ql(e[1]) : Hl : Yl, Ue = (t, e) => t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && // It's animatable if we have a string
2381
2379
  (ct.test(e) || e === "0") && // And it contains numbers and/or colors
2382
- !e.startsWith("url(")), Jl = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
2383
- function tc(t) {
2380
+ !e.startsWith("url(")), Ql = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
2381
+ function Zl(t) {
2384
2382
  const [e, n] = t.slice(0, -1).split("(");
2385
2383
  if (e === "drop-shadow")
2386
2384
  return t;
@@ -2388,16 +2386,16 @@ function tc(t) {
2388
2386
  if (!s)
2389
2387
  return t;
2390
2388
  const i = n.replace(s, "");
2391
- let r = Jl.has(e) ? 1 : 0;
2389
+ let r = Ql.has(e) ? 1 : 0;
2392
2390
  return s !== n && (r *= 100), e + "(" + r + i + ")";
2393
2391
  }
2394
- const ec = /([a-z-]*)\(.*?\)/g, ze = {
2392
+ const Jl = /([a-z-]*)\(.*?\)/g, ze = {
2395
2393
  ...ct,
2396
2394
  getAnimatableNone: (t) => {
2397
- const e = t.match(ec);
2398
- return e ? e.map(tc).join(" ") : t;
2395
+ const e = t.match(Jl);
2396
+ return e ? e.map(Zl).join(" ") : t;
2399
2397
  }
2400
- }, nc = {
2398
+ }, tc = {
2401
2399
  ...ci,
2402
2400
  // Color props
2403
2401
  color: j,
@@ -2413,19 +2411,19 @@ const ec = /([a-z-]*)\(.*?\)/g, ze = {
2413
2411
  borderLeftColor: j,
2414
2412
  filter: ze,
2415
2413
  WebkitFilter: ze
2416
- }, vn = (t) => nc[t];
2414
+ }, vn = (t) => tc[t];
2417
2415
  function Yi(t, e) {
2418
2416
  let n = vn(t);
2419
2417
  return n !== ze && (n = ct), n.getAnimatableNone ? n.getAnimatableNone(e) : void 0;
2420
2418
  }
2421
2419
  const Xi = (t) => /^0[^.\s]+$/.test(t);
2422
- function sc(t) {
2420
+ function ec(t) {
2423
2421
  if (typeof t == "number")
2424
2422
  return t === 0;
2425
2423
  if (t !== null)
2426
2424
  return t === "none" || t === "0" || Xi(t);
2427
2425
  }
2428
- function ic(t, e, n, s) {
2426
+ function nc(t, e, n, s) {
2429
2427
  const i = Ue(e, n);
2430
2428
  let r;
2431
2429
  Array.isArray(n) ? r = [...n] : r = [null, n];
@@ -2433,7 +2431,7 @@ function ic(t, e, n, s) {
2433
2431
  let a;
2434
2432
  const l = [];
2435
2433
  for (let c = 0; c < r.length; c++)
2436
- r[c] === null && (r[c] = c === 0 ? o : r[c - 1]), sc(r[c]) && l.push(c), typeof r[c] == "string" && r[c] !== "none" && r[c] !== "0" && (a = r[c]);
2434
+ r[c] === null && (r[c] = c === 0 ? o : r[c - 1]), ec(r[c]) && l.push(c), typeof r[c] == "string" && r[c] !== "none" && r[c] !== "0" && (a = r[c]);
2437
2435
  if (i && l.length && a)
2438
2436
  for (let c = 0; c < l.length; c++) {
2439
2437
  const u = l[c];
@@ -2441,20 +2439,20 @@ function ic(t, e, n, s) {
2441
2439
  }
2442
2440
  return r;
2443
2441
  }
2444
- function oc({ when: t, delay: e, delayChildren: n, staggerChildren: s, staggerDirection: i, repeat: r, repeatType: o, repeatDelay: a, from: l, elapsed: c, ...u }) {
2442
+ function sc({ when: t, delay: e, delayChildren: n, staggerChildren: s, staggerDirection: i, repeat: r, repeatType: o, repeatDelay: a, from: l, elapsed: c, ...u }) {
2445
2443
  return !!Object.keys(u).length;
2446
2444
  }
2447
2445
  function xn(t, e) {
2448
2446
  return t[e] || t.default || t;
2449
2447
  }
2450
- const rc = {
2448
+ const ic = {
2451
2449
  skipAnimations: !1
2452
2450
  }, bn = (t, e, n, s = {}) => (i) => {
2453
2451
  const r = xn(s, t) || {}, o = r.delay || s.delay || 0;
2454
2452
  let { elapsed: a = 0 } = s;
2455
2453
  a = a - at(o);
2456
- const l = ic(e, t, n, r), c = l[0], u = l[l.length - 1], h = Ue(t, c), f = Ue(t, u);
2457
- qt(h === f, `You are trying to animate ${t} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);
2454
+ const l = nc(e, t, n, r), c = l[0], u = l[l.length - 1], f = Ue(t, c), h = Ue(t, u);
2455
+ qt(f === h, `You are trying to animate ${t} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);
2458
2456
  let d = {
2459
2457
  keyframes: l,
2460
2458
  velocity: e.getVelocity(),
@@ -2468,11 +2466,11 @@ const rc = {
2468
2466
  i(), r.onComplete && r.onComplete();
2469
2467
  }
2470
2468
  };
2471
- if (oc(r) || (d = {
2469
+ if (sc(r) || (d = {
2472
2470
  ...d,
2473
- ...Zl(t, d)
2474
- }), d.duration && (d.duration = at(d.duration)), d.repeatDelay && (d.repeatDelay = at(d.repeatDelay)), !h || !f || nl.current || r.type === !1 || rc.skipAnimations)
2475
- return ql(d);
2471
+ ...Xl(t, d)
2472
+ }), d.duration && (d.duration = at(d.duration)), d.repeatDelay && (d.repeatDelay = at(d.repeatDelay)), !f || !h || tl.current || r.type === !1 || ic.skipAnimations)
2473
+ return Gl(d);
2476
2474
  if (
2477
2475
  /**
2478
2476
  * If this is a handoff animation, the optimised animation will be running via
@@ -2485,7 +2483,7 @@ const rc = {
2485
2483
  */
2486
2484
  !e.owner.getProps().onUpdate
2487
2485
  ) {
2488
- const p = Hl(e, t, d);
2486
+ const p = $l(e, t, d);
2489
2487
  if (p)
2490
2488
  return p;
2491
2489
  }
@@ -2531,8 +2529,8 @@ const ts = /* @__PURE__ */ new Set();
2531
2529
  function An(t, e, n) {
2532
2530
  t || ts.has(e) || (console.warn(e), n && console.warn(n), ts.add(e));
2533
2531
  }
2534
- const ac = (t) => !isNaN(parseFloat(t));
2535
- class lc {
2532
+ const oc = (t) => !isNaN(parseFloat(t));
2533
+ class rc {
2536
2534
  /**
2537
2535
  * @param init - The initiating value
2538
2536
  * @param config - Optional configuration options
@@ -2548,7 +2546,7 @@ class lc {
2548
2546
  this.lastUpdated !== o && (this.timeDelta = r, this.lastUpdated = o, V.postRender(this.scheduleVelocityCheck)), this.prev !== this.current && this.events.change && this.events.change.notify(this.current), this.events.velocityChange && this.events.velocityChange.notify(this.getVelocity()), i && this.events.renderRequest && this.events.renderRequest.notify(this.current);
2549
2547
  }, this.scheduleVelocityCheck = () => V.postRender(this.velocityCheck), this.velocityCheck = ({ timestamp: s }) => {
2550
2548
  s !== this.lastUpdated && (this.prev = this.current, this.events.velocityChange && this.events.velocityChange.notify(this.getVelocity()));
2551
- }, this.hasAnimated = !1, this.prev = this.current = e, this.canTrackVelocity = ac(this.current), this.owner = n.owner;
2549
+ }, this.hasAnimated = !1, this.prev = this.current = e, this.canTrackVelocity = oc(this.current), this.owner = n.owner;
2552
2550
  }
2553
2551
  /**
2554
2552
  * Adds a function that will be notified when the `MotionValue` is updated.
@@ -2723,41 +2721,41 @@ class lc {
2723
2721
  }
2724
2722
  }
2725
2723
  function Vt(t, e) {
2726
- return new lc(t, e);
2724
+ return new rc(t, e);
2727
2725
  }
2728
- const Zi = (t) => (e) => e.test(t), cc = {
2726
+ const Zi = (t) => (e) => e.test(t), ac = {
2729
2727
  test: (t) => t === "auto",
2730
2728
  parse: (t) => t
2731
- }, Ji = [yt, w, K, st, ya, ga, cc], Lt = (t) => Ji.find(Zi(t)), uc = [...Ji, j, ct], hc = (t) => uc.find(Zi(t));
2732
- function fc(t, e, n) {
2729
+ }, Ji = [yt, w, K, st, ma, pa, ac], Lt = (t) => Ji.find(Zi(t)), lc = [...Ji, j, ct], cc = (t) => lc.find(Zi(t));
2730
+ function uc(t, e, n) {
2733
2731
  t.hasValue(e) ? t.getValue(e).set(n) : t.addValue(e, Vt(n));
2734
2732
  }
2735
- function dc(t, e) {
2733
+ function fc(t, e) {
2736
2734
  const n = xe(t, e);
2737
2735
  let { transitionEnd: s = {}, transition: i = {}, ...r } = n ? t.makeTargetAnimatable(n, !1) : {};
2738
2736
  r = { ...r, ...s };
2739
2737
  for (const o in r) {
2740
- const a = La(r[o]);
2741
- fc(t, o, a);
2738
+ const a = Ra(r[o]);
2739
+ uc(t, o, a);
2742
2740
  }
2743
2741
  }
2744
- function pc(t, e, n) {
2742
+ function hc(t, e, n) {
2745
2743
  var s, i;
2746
2744
  const r = Object.keys(e).filter((a) => !t.hasValue(a)), o = r.length;
2747
2745
  if (o)
2748
2746
  for (let a = 0; a < o; a++) {
2749
2747
  const l = r[a], c = e[l];
2750
2748
  let u = null;
2751
- Array.isArray(c) && (u = c[0]), u === null && (u = (i = (s = n[l]) !== null && s !== void 0 ? s : t.readValue(l)) !== null && i !== void 0 ? i : e[l]), u != null && (typeof u == "string" && (Qi(u) || Xi(u)) ? u = parseFloat(u) : !hc(u) && ct.test(c) && (u = Yi(l, c)), t.addValue(l, Vt(u, { owner: t })), n[l] === void 0 && (n[l] = u), u !== null && t.setBaseTarget(l, u));
2749
+ Array.isArray(c) && (u = c[0]), u === null && (u = (i = (s = n[l]) !== null && s !== void 0 ? s : t.readValue(l)) !== null && i !== void 0 ? i : e[l]), u != null && (typeof u == "string" && (Qi(u) || Xi(u)) ? u = parseFloat(u) : !cc(u) && ct.test(c) && (u = Yi(l, c)), t.addValue(l, Vt(u, { owner: t })), n[l] === void 0 && (n[l] = u), u !== null && t.setBaseTarget(l, u));
2752
2750
  }
2753
2751
  }
2754
- function mc(t, e) {
2752
+ function dc(t, e) {
2755
2753
  return e ? (e[t] || e.default || e).from : void 0;
2756
2754
  }
2757
- function gc(t, e, n) {
2755
+ function pc(t, e, n) {
2758
2756
  const s = {};
2759
2757
  for (const i in t) {
2760
- const r = mc(i, e);
2758
+ const r = dc(i, e);
2761
2759
  if (r !== void 0)
2762
2760
  s[i] = r;
2763
2761
  else {
@@ -2767,11 +2765,11 @@ function gc(t, e, n) {
2767
2765
  }
2768
2766
  return s;
2769
2767
  }
2770
- function yc({ protectedKeys: t, needsAnimating: e }, n) {
2768
+ function mc({ protectedKeys: t, needsAnimating: e }, n) {
2771
2769
  const s = t.hasOwnProperty(n) && e[n] !== !0;
2772
2770
  return e[n] = !1, s;
2773
2771
  }
2774
- function vc(t, e) {
2772
+ function gc(t, e) {
2775
2773
  const n = t.get();
2776
2774
  if (Array.isArray(e)) {
2777
2775
  for (let s = 0; s < e.length; s++)
@@ -2785,31 +2783,31 @@ function to(t, e, { delay: n = 0, transitionOverride: s, type: i } = {}) {
2785
2783
  const l = t.getValue("willChange");
2786
2784
  s && (r = s);
2787
2785
  const c = [], u = i && t.animationState && t.animationState.getState()[i];
2788
- for (const h in a) {
2789
- const f = t.getValue(h), d = a[h];
2790
- if (!f || d === void 0 || u && yc(u, h))
2786
+ for (const f in a) {
2787
+ const h = t.getValue(f), d = a[f];
2788
+ if (!h || d === void 0 || u && mc(u, f))
2791
2789
  continue;
2792
2790
  const p = {
2793
2791
  delay: n,
2794
2792
  elapsed: 0,
2795
- ...xn(r || {}, h)
2793
+ ...xn(r || {}, f)
2796
2794
  };
2797
2795
  if (window.HandoffAppearAnimations) {
2798
2796
  const b = t.getProps()[ei];
2799
2797
  if (b) {
2800
- const y = window.HandoffAppearAnimations(b, h, f, V);
2798
+ const y = window.HandoffAppearAnimations(b, f, h, V);
2801
2799
  y !== null && (p.elapsed = y, p.isHandoff = !0);
2802
2800
  }
2803
2801
  }
2804
- let m = !p.isHandoff && !vc(f, d);
2805
- if (p.type === "spring" && (f.getVelocity() || p.velocity) && (m = !1), f.animation && (m = !1), m)
2802
+ let m = !p.isHandoff && !gc(h, d);
2803
+ if (p.type === "spring" && (h.getVelocity() || p.velocity) && (m = !1), h.animation && (m = !1), m)
2806
2804
  continue;
2807
- f.start(bn(h, f, d, t.shouldReduceMotion && gt.has(h) ? { type: !1 } : p));
2808
- const v = f.animation;
2809
- ce(l) && (l.add(h), v.then(() => l.remove(h))), c.push(v);
2805
+ h.start(bn(f, h, d, t.shouldReduceMotion && gt.has(f) ? { type: !1 } : p));
2806
+ const v = h.animation;
2807
+ ce(l) && (l.add(f), v.then(() => l.remove(f))), c.push(v);
2810
2808
  }
2811
2809
  return o && Promise.all(c).then(() => {
2812
- o && dc(t, o);
2810
+ o && fc(t, o);
2813
2811
  }), c;
2814
2812
  }
2815
2813
  function We(t, e, n = {}) {
@@ -2817,8 +2815,8 @@ function We(t, e, n = {}) {
2817
2815
  let { transition: i = t.getDefaultTransition() || {} } = s || {};
2818
2816
  n.transitionOverride && (i = n.transitionOverride);
2819
2817
  const r = s ? () => Promise.all(to(t, s, n)) : () => Promise.resolve(), o = t.variantChildren && t.variantChildren.size ? (l = 0) => {
2820
- const { delayChildren: c = 0, staggerChildren: u, staggerDirection: h } = i;
2821
- return xc(t, e, c + l, u, h, n);
2818
+ const { delayChildren: c = 0, staggerChildren: u, staggerDirection: f } = i;
2819
+ return yc(t, e, c + l, u, f, n);
2822
2820
  } : () => Promise.resolve(), { when: a } = i;
2823
2821
  if (a) {
2824
2822
  const [l, c] = a === "beforeChildren" ? [r, o] : [o, r];
@@ -2826,19 +2824,19 @@ function We(t, e, n = {}) {
2826
2824
  } else
2827
2825
  return Promise.all([r(), o(n.delay)]);
2828
2826
  }
2829
- function xc(t, e, n = 0, s = 0, i = 1, r) {
2827
+ function yc(t, e, n = 0, s = 0, i = 1, r) {
2830
2828
  const o = [], a = (t.variantChildren.size - 1) * s, l = i === 1 ? (c = 0) => c * s : (c = 0) => a - c * s;
2831
- return Array.from(t.variantChildren).sort(bc).forEach((c, u) => {
2829
+ return Array.from(t.variantChildren).sort(vc).forEach((c, u) => {
2832
2830
  c.notify("AnimationStart", e), o.push(We(c, e, {
2833
2831
  ...r,
2834
2832
  delay: n + l(u)
2835
2833
  }).then(() => c.notify("AnimationComplete", e)));
2836
2834
  }), Promise.all(o);
2837
2835
  }
2838
- function bc(t, e) {
2836
+ function vc(t, e) {
2839
2837
  return t.sortNodePosition(e);
2840
2838
  }
2841
- function wc(t, e, n = {}) {
2839
+ function xc(t, e, n = {}) {
2842
2840
  t.notify("AnimationStart", e);
2843
2841
  let s;
2844
2842
  if (Array.isArray(e)) {
@@ -2852,19 +2850,19 @@ function wc(t, e, n = {}) {
2852
2850
  }
2853
2851
  return s.then(() => t.notify("AnimationComplete", e));
2854
2852
  }
2855
- const Tc = [...rn].reverse(), Pc = rn.length;
2856
- function Ac(t) {
2857
- return (e) => Promise.all(e.map(({ animation: n, options: s }) => wc(t, n, s)));
2853
+ const bc = [...rn].reverse(), wc = rn.length;
2854
+ function Tc(t) {
2855
+ return (e) => Promise.all(e.map(({ animation: n, options: s }) => xc(t, n, s)));
2858
2856
  }
2859
- function Sc(t) {
2860
- let e = Ac(t);
2861
- const n = Cc();
2857
+ function Pc(t) {
2858
+ let e = Tc(t);
2859
+ const n = Sc();
2862
2860
  let s = !0;
2863
2861
  const i = (l, c) => {
2864
2862
  const u = xe(t, c);
2865
2863
  if (u) {
2866
- const { transition: h, transitionEnd: f, ...d } = u;
2867
- l = { ...l, ...d, ...f };
2864
+ const { transition: f, transitionEnd: h, ...d } = u;
2865
+ l = { ...l, ...d, ...h };
2868
2866
  }
2869
2867
  return l;
2870
2868
  };
@@ -2872,18 +2870,18 @@ function Sc(t) {
2872
2870
  e = l(t);
2873
2871
  }
2874
2872
  function o(l, c) {
2875
- const u = t.getProps(), h = t.getVariantContext(!0) || {}, f = [], d = /* @__PURE__ */ new Set();
2873
+ const u = t.getProps(), f = t.getVariantContext(!0) || {}, h = [], d = /* @__PURE__ */ new Set();
2876
2874
  let p = {}, m = 1 / 0;
2877
- for (let b = 0; b < Pc; b++) {
2878
- const y = Tc[b], g = n[y], x = u[y] !== void 0 ? u[y] : h[y], P = Nt(x), S = y === c ? g.isActive : null;
2875
+ for (let b = 0; b < wc; b++) {
2876
+ const y = bc[b], g = n[y], x = u[y] !== void 0 ? u[y] : f[y], P = Nt(x), S = y === c ? g.isActive : null;
2879
2877
  S === !1 && (m = b);
2880
- let C = x === h[y] && x !== u[y] && P;
2878
+ let C = x === f[y] && x !== u[y] && P;
2881
2879
  if (C && s && t.manuallyAnimateOnMount && (C = !1), g.protectedKeys = { ...p }, // If it isn't active and hasn't *just* been set as inactive
2882
2880
  !g.isActive && S === null || // If we didn't and don't have any defined prop for this animation type
2883
2881
  !x && !g.prevProp || // Or if the prop doesn't define an animation
2884
2882
  me(x) || typeof x == "boolean")
2885
2883
  continue;
2886
- let L = Vc(g.prevProp, x) || // If we're making this variant active, we want to always make it active
2884
+ let L = Ac(g.prevProp, x) || // If we're making this variant active, we want to always make it active
2887
2885
  y === c && g.isActive && !C && P || // If we removed a higher-priority variant (i is in reverse order)
2888
2886
  b > m && P, Y = !1;
2889
2887
  const vt = Array.isArray(x) ? x : [x];
@@ -2902,7 +2900,7 @@ function Sc(t) {
2902
2900
  let bt = !1;
2903
2901
  oe(nt) && oe(Dt) ? bt = !Pi(nt, Dt) : bt = nt !== Dt, bt ? nt !== void 0 ? xt(B) : d.add(B) : nt !== void 0 && d.has(B) ? xt(B) : g.protectedKeys[B] = !0;
2904
2902
  }
2905
- g.prevProp = x, g.prevResolvedValues = H, g.isActive && (p = { ...p, ...H }), s && t.blockInitialAnimation && (L = !1), L && (!C || Y) && f.push(...vt.map((B) => ({
2903
+ g.prevProp = x, g.prevResolvedValues = H, g.isActive && (p = { ...p, ...H }), s && t.blockInitialAnimation && (L = !1), L && (!C || Y) && h.push(...vt.map((B) => ({
2906
2904
  animation: B,
2907
2905
  options: { type: y, ...l }
2908
2906
  })));
@@ -2912,23 +2910,23 @@ function Sc(t) {
2912
2910
  d.forEach((y) => {
2913
2911
  const g = t.getBaseTarget(y);
2914
2912
  g !== void 0 && (b[y] = g);
2915
- }), f.push({ animation: b });
2913
+ }), h.push({ animation: b });
2916
2914
  }
2917
- let v = !!f.length;
2918
- return s && (u.initial === !1 || u.initial === u.animate) && !t.manuallyAnimateOnMount && (v = !1), s = !1, v ? e(f) : Promise.resolve();
2915
+ let v = !!h.length;
2916
+ return s && (u.initial === !1 || u.initial === u.animate) && !t.manuallyAnimateOnMount && (v = !1), s = !1, v ? e(h) : Promise.resolve();
2919
2917
  }
2920
2918
  function a(l, c, u) {
2921
- var h;
2919
+ var f;
2922
2920
  if (n[l].isActive === c)
2923
2921
  return Promise.resolve();
2924
- (h = t.variantChildren) === null || h === void 0 || h.forEach((d) => {
2922
+ (f = t.variantChildren) === null || f === void 0 || f.forEach((d) => {
2925
2923
  var p;
2926
2924
  return (p = d.animationState) === null || p === void 0 ? void 0 : p.setActive(l, c);
2927
2925
  }), n[l].isActive = c;
2928
- const f = o(u, l);
2926
+ const h = o(u, l);
2929
2927
  for (const d in n)
2930
2928
  n[d].protectedKeys = {};
2931
- return f;
2929
+ return h;
2932
2930
  }
2933
2931
  return {
2934
2932
  animateChanges: o,
@@ -2937,10 +2935,10 @@ function Sc(t) {
2937
2935
  getState: () => n
2938
2936
  };
2939
2937
  }
2940
- function Vc(t, e) {
2938
+ function Ac(t, e) {
2941
2939
  return typeof e == "string" ? e !== t : Array.isArray(e) ? !Pi(e, t) : !1;
2942
2940
  }
2943
- function ft(t = !1) {
2941
+ function ht(t = !1) {
2944
2942
  return {
2945
2943
  isActive: t,
2946
2944
  protectedKeys: {},
@@ -2948,25 +2946,25 @@ function ft(t = !1) {
2948
2946
  prevResolvedValues: {}
2949
2947
  };
2950
2948
  }
2951
- function Cc() {
2949
+ function Sc() {
2952
2950
  return {
2953
- animate: ft(!0),
2954
- whileInView: ft(),
2955
- whileHover: ft(),
2956
- whileTap: ft(),
2957
- whileDrag: ft(),
2958
- whileFocus: ft(),
2959
- exit: ft()
2951
+ animate: ht(!0),
2952
+ whileInView: ht(),
2953
+ whileHover: ht(),
2954
+ whileTap: ht(),
2955
+ whileDrag: ht(),
2956
+ whileFocus: ht(),
2957
+ exit: ht()
2960
2958
  };
2961
2959
  }
2962
- class Mc extends ut {
2960
+ class Vc extends ut {
2963
2961
  /**
2964
2962
  * We dynamically generate the AnimationState manager as it contains a reference
2965
2963
  * to the underlying animation library. We only want to load that if we load this,
2966
2964
  * so people can optionally code split it out using the `m` component.
2967
2965
  */
2968
2966
  constructor(e) {
2969
- super(e), e.animationState || (e.animationState = Sc(e));
2967
+ super(e), e.animationState || (e.animationState = Pc(e));
2970
2968
  }
2971
2969
  updateAnimationControlsSubscription() {
2972
2970
  const { animate: e } = this.node.getProps();
@@ -2985,10 +2983,10 @@ class Mc extends ut {
2985
2983
  unmount() {
2986
2984
  }
2987
2985
  }
2988
- let Dc = 0;
2989
- class _c extends ut {
2986
+ let Cc = 0;
2987
+ class Mc extends ut {
2990
2988
  constructor() {
2991
- super(...arguments), this.id = Dc++;
2989
+ super(...arguments), this.id = Cc++;
2992
2990
  }
2993
2991
  update() {
2994
2992
  if (!this.node.presenceContext)
@@ -3006,15 +3004,15 @@ class _c extends ut {
3006
3004
  unmount() {
3007
3005
  }
3008
3006
  }
3009
- const Rc = {
3007
+ const Dc = {
3010
3008
  animation: {
3011
- Feature: Mc
3009
+ Feature: Vc
3012
3010
  },
3013
3011
  exit: {
3014
- Feature: _c
3012
+ Feature: Mc
3015
3013
  }
3016
3014
  }, es = (t, e) => Math.abs(t - e);
3017
- function Lc(t, e) {
3015
+ function Rc(t, e) {
3018
3016
  const n = es(t.x, e.x), s = es(t.y, e.y);
3019
3017
  return Math.sqrt(n ** 2 + s ** 2);
3020
3018
  }
@@ -3023,26 +3021,26 @@ class eo {
3023
3021
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => {
3024
3022
  if (!(this.lastMoveEvent && this.lastMoveEventInfo))
3025
3023
  return;
3026
- const h = Le(this.lastMoveEventInfo, this.history), f = this.startEvent !== null, d = Lc(h.offset, { x: 0, y: 0 }) >= 3;
3027
- if (!f && !d)
3024
+ const f = Le(this.lastMoveEventInfo, this.history), h = this.startEvent !== null, d = Rc(f.offset, { x: 0, y: 0 }) >= 3;
3025
+ if (!h && !d)
3028
3026
  return;
3029
- const { point: p } = h, { timestamp: m } = F;
3027
+ const { point: p } = f, { timestamp: m } = F;
3030
3028
  this.history.push({ ...p, timestamp: m });
3031
3029
  const { onStart: v, onMove: b } = this.handlers;
3032
- f || (v && v(this.lastMoveEvent, h), this.startEvent = this.lastMoveEvent), b && b(this.lastMoveEvent, h);
3033
- }, this.handlePointerMove = (h, f) => {
3034
- this.lastMoveEvent = h, this.lastMoveEventInfo = Re(f, this.transformPagePoint), V.update(this.updatePoint, !0);
3035
- }, this.handlePointerUp = (h, f) => {
3030
+ h || (v && v(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), b && b(this.lastMoveEvent, f);
3031
+ }, this.handlePointerMove = (f, h) => {
3032
+ this.lastMoveEvent = f, this.lastMoveEventInfo = _e(h, this.transformPagePoint), V.update(this.updatePoint, !0);
3033
+ }, this.handlePointerUp = (f, h) => {
3036
3034
  this.end();
3037
3035
  const { onEnd: d, onSessionEnd: p, resumeAnimation: m } = this.handlers;
3038
3036
  if (this.dragSnapToOrigin && m && m(), !(this.lastMoveEvent && this.lastMoveEventInfo))
3039
3037
  return;
3040
- const v = Le(h.type === "pointercancel" ? this.lastMoveEventInfo : Re(f, this.transformPagePoint), this.history);
3041
- this.startEvent && d && d(h, v), p && p(h, v);
3038
+ const v = Le(f.type === "pointercancel" ? this.lastMoveEventInfo : _e(h, this.transformPagePoint), this.history);
3039
+ this.startEvent && d && d(f, v), p && p(f, v);
3042
3040
  }, !vi(e))
3043
3041
  return;
3044
3042
  this.dragSnapToOrigin = r, this.handlers = n, this.transformPagePoint = s, this.contextWindow = i || window;
3045
- const o = ve(e), a = Re(o, this.transformPagePoint), { point: l } = a, { timestamp: c } = F;
3043
+ const o = ve(e), a = _e(o, this.transformPagePoint), { point: l } = a, { timestamp: c } = F;
3046
3044
  this.history = [{ ...l, timestamp: c }];
3047
3045
  const { onSessionStart: u } = n;
3048
3046
  u && u(e, Le(a, this.history)), this.removeListeners = rt(J(this.contextWindow, "pointermove", this.handlePointerMove), J(this.contextWindow, "pointerup", this.handlePointerUp), J(this.contextWindow, "pointercancel", this.handlePointerUp));
@@ -3054,7 +3052,7 @@ class eo {
3054
3052
  this.removeListeners && this.removeListeners(), et(this.updatePoint);
3055
3053
  }
3056
3054
  }
3057
- function Re(t, e) {
3055
+ function _e(t, e) {
3058
3056
  return e ? { point: e(t.point) } : t;
3059
3057
  }
3060
3058
  function ns(t, e) {
@@ -3064,17 +3062,17 @@ function Le({ point: t }, e) {
3064
3062
  return {
3065
3063
  point: t,
3066
3064
  delta: ns(t, no(e)),
3067
- offset: ns(t, Ec(e)),
3068
- velocity: kc(e, 0.1)
3065
+ offset: ns(t, _c(e)),
3066
+ velocity: Lc(e, 0.1)
3069
3067
  };
3070
3068
  }
3071
- function Ec(t) {
3069
+ function _c(t) {
3072
3070
  return t[0];
3073
3071
  }
3074
3072
  function no(t) {
3075
3073
  return t[t.length - 1];
3076
3074
  }
3077
- function kc(t, e) {
3075
+ function Lc(t, e) {
3078
3076
  if (t.length < 2)
3079
3077
  return { x: 0, y: 0 };
3080
3078
  let n = t.length - 1, s = null;
@@ -3099,7 +3097,7 @@ function $e(t, e = 0, n = 0.01) {
3099
3097
  return Math.abs(t - e) <= n;
3100
3098
  }
3101
3099
  function ss(t, e, n, s = 0.5) {
3102
- t.origin = s, t.originPoint = R(e.min, e.max, t.origin), t.scale = z(n) / z(e), ($e(t.scale, 1, 1e-4) || isNaN(t.scale)) && (t.scale = 1), t.translate = R(n.min, n.max, t.origin) - t.originPoint, ($e(t.translate) || isNaN(t.translate)) && (t.translate = 0);
3100
+ t.origin = s, t.originPoint = _(e.min, e.max, t.origin), t.scale = z(n) / z(e), ($e(t.scale, 1, 1e-4) || isNaN(t.scale)) && (t.scale = 1), t.translate = _(n.min, n.max, t.origin) - t.originPoint, ($e(t.translate) || isNaN(t.translate)) && (t.translate = 0);
3103
3101
  }
3104
3102
  function Ft(t, e, n, s) {
3105
3103
  ss(t.x, e.x, n.x, s ? s.originX : void 0), ss(t.y, e.y, n.y, s ? s.originY : void 0);
@@ -3107,7 +3105,7 @@ function Ft(t, e, n, s) {
3107
3105
  function is(t, e, n) {
3108
3106
  t.min = n.min + e.min, t.max = t.min + z(e);
3109
3107
  }
3110
- function Bc(t, e, n) {
3108
+ function Ec(t, e, n) {
3111
3109
  is(t.x, e.x, n.x), is(t.y, e.y, n.y);
3112
3110
  }
3113
3111
  function os(t, e, n) {
@@ -3116,8 +3114,8 @@ function os(t, e, n) {
3116
3114
  function Ot(t, e, n) {
3117
3115
  os(t.x, e.x, n.x), os(t.y, e.y, n.y);
3118
3116
  }
3119
- function Ic(t, { min: e, max: n }, s) {
3120
- return e !== void 0 && t < e ? t = s ? R(e, t, s.min) : Math.max(t, e) : n !== void 0 && t > n && (t = s ? R(n, t, s.max) : Math.min(t, n)), t;
3117
+ function kc(t, { min: e, max: n }, s) {
3118
+ return e !== void 0 && t < e ? t = s ? _(e, t, s.min) : Math.max(t, e) : n !== void 0 && t > n && (t = s ? _(n, t, s.max) : Math.min(t, n)), t;
3121
3119
  }
3122
3120
  function rs(t, e, n) {
3123
3121
  return {
@@ -3125,7 +3123,7 @@ function rs(t, e, n) {
3125
3123
  max: n !== void 0 ? t.max + n - (t.max - t.min) : void 0
3126
3124
  };
3127
3125
  }
3128
- function Fc(t, { top: e, left: n, bottom: s, right: i }) {
3126
+ function Bc(t, { top: e, left: n, bottom: s, right: i }) {
3129
3127
  return {
3130
3128
  x: rs(t.x, n, i),
3131
3129
  y: rs(t.y, e, s)
@@ -3135,23 +3133,23 @@ function as(t, e) {
3135
3133
  let n = e.min - t.min, s = e.max - t.max;
3136
3134
  return e.max - e.min < t.max - t.min && ([n, s] = [s, n]), { min: n, max: s };
3137
3135
  }
3138
- function Oc(t, e) {
3136
+ function Ic(t, e) {
3139
3137
  return {
3140
3138
  x: as(t.x, e.x),
3141
3139
  y: as(t.y, e.y)
3142
3140
  };
3143
3141
  }
3144
- function jc(t, e) {
3142
+ function Fc(t, e) {
3145
3143
  let n = 0.5;
3146
3144
  const s = z(t), i = z(e);
3147
3145
  return i > s ? n = zt(e.min, e.max - s, t.min) : s > i && (n = zt(t.min, t.max - i, e.min)), lt(0, 1, n);
3148
3146
  }
3149
- function Nc(t, e) {
3147
+ function Oc(t, e) {
3150
3148
  const n = {};
3151
3149
  return e.min !== void 0 && (n.min = e.min - t.min), e.max !== void 0 && (n.max = e.max - t.min), n;
3152
3150
  }
3153
3151
  const Ge = 0.35;
3154
- function Uc(t = Ge) {
3152
+ function jc(t = Ge) {
3155
3153
  return t === !1 ? t = 0 : t === !0 && (t = Ge), {
3156
3154
  x: ls(t, "left", "right"),
3157
3155
  y: ls(t, "top", "bottom")
@@ -3174,9 +3172,9 @@ const us = () => ({
3174
3172
  }), Pt = () => ({
3175
3173
  x: us(),
3176
3174
  y: us()
3177
- }), hs = () => ({ min: 0, max: 0 }), k = () => ({
3178
- x: hs(),
3179
- y: hs()
3175
+ }), fs = () => ({ min: 0, max: 0 }), k = () => ({
3176
+ x: fs(),
3177
+ y: fs()
3180
3178
  });
3181
3179
  function $(t) {
3182
3180
  return [t("x"), t("y")];
@@ -3187,10 +3185,10 @@ function so({ top: t, left: e, right: n, bottom: s }) {
3187
3185
  y: { min: t, max: s }
3188
3186
  };
3189
3187
  }
3190
- function zc({ x: t, y: e }) {
3188
+ function Nc({ x: t, y: e }) {
3191
3189
  return { top: e.min, right: t.max, bottom: e.max, left: t.min };
3192
3190
  }
3193
- function Wc(t, e) {
3191
+ function Uc(t, e) {
3194
3192
  if (!e)
3195
3193
  return t;
3196
3194
  const n = e({ x: t.left, y: t.top }), s = e({ x: t.right, y: t.bottom });
@@ -3211,9 +3209,9 @@ function dt(t) {
3211
3209
  return He(t) || io(t) || t.z || t.rotate || t.rotateX || t.rotateY;
3212
3210
  }
3213
3211
  function io(t) {
3214
- return fs(t.x) || fs(t.y);
3212
+ return hs(t.x) || hs(t.y);
3215
3213
  }
3216
- function fs(t) {
3214
+ function hs(t) {
3217
3215
  return t && t !== "0%";
3218
3216
  }
3219
3217
  function ue(t, e, n) {
@@ -3229,7 +3227,7 @@ function qe(t, e = 0, n = 1, s, i) {
3229
3227
  function oo(t, { x: e, y: n }) {
3230
3228
  qe(t.x, e.translate, e.scale, e.originPoint), qe(t.y, n.translate, n.scale, n.originPoint);
3231
3229
  }
3232
- function $c(t, e, n, s = !1) {
3230
+ function zc(t, e, n, s = !1) {
3233
3231
  const i = n.length;
3234
3232
  if (!i)
3235
3233
  return;
@@ -3252,22 +3250,22 @@ function it(t, e) {
3252
3250
  t.min = t.min + e, t.max = t.max + e;
3253
3251
  }
3254
3252
  function ms(t, e, [n, s, i]) {
3255
- const r = e[i] !== void 0 ? e[i] : 0.5, o = R(t.min, t.max, r);
3253
+ const r = e[i] !== void 0 ? e[i] : 0.5, o = _(t.min, t.max, r);
3256
3254
  qe(t, e[n], e[s], o, e.scale);
3257
3255
  }
3258
- const Gc = ["x", "scaleX", "originX"], Hc = ["y", "scaleY", "originY"];
3256
+ const Wc = ["x", "scaleX", "originX"], $c = ["y", "scaleY", "originY"];
3259
3257
  function At(t, e) {
3260
- ms(t.x, e, Gc), ms(t.y, e, Hc);
3258
+ ms(t.x, e, Wc), ms(t.y, e, $c);
3261
3259
  }
3262
3260
  function ro(t, e) {
3263
- return so(Wc(t.getBoundingClientRect(), e));
3261
+ return so(Uc(t.getBoundingClientRect(), e));
3264
3262
  }
3265
- function qc(t, e, n) {
3263
+ function Gc(t, e, n) {
3266
3264
  const s = ro(t, n), { scroll: i } = e;
3267
3265
  return i && (it(s.x, i.offset.x), it(s.y, i.offset.y)), s;
3268
3266
  }
3269
- const ao = ({ current: t }) => t ? t.ownerDocument.defaultView : null, Kc = /* @__PURE__ */ new WeakMap();
3270
- class Yc {
3267
+ const ao = ({ current: t }) => t ? t.ownerDocument.defaultView : null, Hc = /* @__PURE__ */ new WeakMap();
3268
+ class qc {
3271
3269
  constructor(e) {
3272
3270
  this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = k(), this.visualElement = e;
3273
3271
  }
@@ -3276,11 +3274,11 @@ class Yc {
3276
3274
  if (s && s.isPresent === !1)
3277
3275
  return;
3278
3276
  const i = (u) => {
3279
- const { dragSnapToOrigin: h } = this.getProps();
3280
- h ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(ve(u, "page").point);
3281
- }, r = (u, h) => {
3282
- const { drag: f, dragPropagation: d, onDragStart: p } = this.getProps();
3283
- if (f && !d && (this.openGlobalLock && this.openGlobalLock(), this.openGlobalLock = bi(f), !this.openGlobalLock))
3277
+ const { dragSnapToOrigin: f } = this.getProps();
3278
+ f ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(ve(u, "page").point);
3279
+ }, r = (u, f) => {
3280
+ const { drag: h, dragPropagation: d, onDragStart: p } = this.getProps();
3281
+ if (h && !d && (this.openGlobalLock && this.openGlobalLock(), this.openGlobalLock = bi(h), !this.openGlobalLock))
3284
3282
  return;
3285
3283
  this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), $((v) => {
3286
3284
  let b = this.getAxisMotionValue(v).get() || 0;
@@ -3292,22 +3290,22 @@ class Yc {
3292
3290
  }
3293
3291
  }
3294
3292
  this.originPoint[v] = b;
3295
- }), p && V.update(() => p(u, h), !1, !0);
3293
+ }), p && V.update(() => p(u, f), !1, !0);
3296
3294
  const { animationState: m } = this.visualElement;
3297
3295
  m && m.setActive("whileDrag", !0);
3298
- }, o = (u, h) => {
3299
- const { dragPropagation: f, dragDirectionLock: d, onDirectionLock: p, onDrag: m } = this.getProps();
3300
- if (!f && !this.openGlobalLock)
3296
+ }, o = (u, f) => {
3297
+ const { dragPropagation: h, dragDirectionLock: d, onDirectionLock: p, onDrag: m } = this.getProps();
3298
+ if (!h && !this.openGlobalLock)
3301
3299
  return;
3302
- const { offset: v } = h;
3300
+ const { offset: v } = f;
3303
3301
  if (d && this.currentDirection === null) {
3304
- this.currentDirection = Xc(v), this.currentDirection !== null && p && p(this.currentDirection);
3302
+ this.currentDirection = Kc(v), this.currentDirection !== null && p && p(this.currentDirection);
3305
3303
  return;
3306
3304
  }
3307
- this.updateAxis("x", h.point, v), this.updateAxis("y", h.point, v), this.visualElement.render(), m && m(u, h);
3308
- }, a = (u, h) => this.stop(u, h), l = () => $((u) => {
3309
- var h;
3310
- return this.getAnimationState(u) === "paused" && ((h = this.getAxisMotionValue(u).animation) === null || h === void 0 ? void 0 : h.play());
3305
+ this.updateAxis("x", f.point, v), this.updateAxis("y", f.point, v), this.visualElement.render(), m && m(u, f);
3306
+ }, a = (u, f) => this.stop(u, f), l = () => $((u) => {
3307
+ var f;
3308
+ return this.getAnimationState(u) === "paused" && ((f = this.getAxisMotionValue(u).animation) === null || f === void 0 ? void 0 : f.play());
3311
3309
  }), { dragSnapToOrigin: c } = this.getProps();
3312
3310
  this.panSession = new eo(e, {
3313
3311
  onSessionStart: i,
@@ -3343,13 +3341,13 @@ class Yc {
3343
3341
  return;
3344
3342
  const r = this.getAxisMotionValue(e);
3345
3343
  let o = this.originPoint[e] + s[e];
3346
- this.constraints && this.constraints[e] && (o = Ic(o, this.constraints[e], this.elastic[e])), r.set(o);
3344
+ this.constraints && this.constraints[e] && (o = kc(o, this.constraints[e], this.elastic[e])), r.set(o);
3347
3345
  }
3348
3346
  resolveConstraints() {
3349
3347
  var e;
3350
3348
  const { dragConstraints: n, dragElastic: s } = this.getProps(), i = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (e = this.visualElement.projection) === null || e === void 0 ? void 0 : e.layout, r = this.constraints;
3351
- n && wt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = Fc(i.layoutBox, n) : this.constraints = !1, this.elastic = Uc(s), r !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && $((o) => {
3352
- this.getAxisMotionValue(o) && (this.constraints[o] = Nc(i.layoutBox[o], this.constraints[o]));
3349
+ n && wt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = Bc(i.layoutBox, n) : this.constraints = !1, this.elastic = jc(s), r !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && $((o) => {
3350
+ this.getAxisMotionValue(o) && (this.constraints[o] = Oc(i.layoutBox[o], this.constraints[o]));
3353
3351
  });
3354
3352
  }
3355
3353
  resolveRefConstraints() {
@@ -3361,10 +3359,10 @@ class Yc {
3361
3359
  const { projection: i } = this.visualElement;
3362
3360
  if (!i || !i.layout)
3363
3361
  return !1;
3364
- const r = qc(s, i.root, this.visualElement.getTransformPagePoint());
3365
- let o = Oc(i.layout.layoutBox, r);
3362
+ const r = Gc(s, i.root, this.visualElement.getTransformPagePoint());
3363
+ let o = Ic(i.layout.layoutBox, r);
3366
3364
  if (n) {
3367
- const a = n(zc(o));
3365
+ const a = n(Nc(o));
3368
3366
  this.hasMutatedConstraints = !!a, a && (o = so(a));
3369
3367
  }
3370
3368
  return o;
@@ -3373,18 +3371,18 @@ class Yc {
3373
3371
  const { drag: n, dragMomentum: s, dragElastic: i, dragTransition: r, dragSnapToOrigin: o, onDragTransitionEnd: a } = this.getProps(), l = this.constraints || {}, c = $((u) => {
3374
3372
  if (!Jt(u, n, this.currentDirection))
3375
3373
  return;
3376
- let h = l && l[u] || {};
3377
- o && (h = { min: 0, max: 0 });
3378
- const f = i ? 200 : 1e6, d = i ? 40 : 1e7, p = {
3374
+ let f = l && l[u] || {};
3375
+ o && (f = { min: 0, max: 0 });
3376
+ const h = i ? 200 : 1e6, d = i ? 40 : 1e7, p = {
3379
3377
  type: "inertia",
3380
3378
  velocity: s ? e[u] : 0,
3381
- bounceStiffness: f,
3379
+ bounceStiffness: h,
3382
3380
  bounceDamping: d,
3383
3381
  timeConstant: 750,
3384
3382
  restDelta: 1,
3385
3383
  restSpeed: 10,
3386
3384
  ...r,
3387
- ...h
3385
+ ...f
3388
3386
  };
3389
3387
  return this.startAxisValueAnimation(u, p);
3390
3388
  });
@@ -3425,7 +3423,7 @@ class Yc {
3425
3423
  const { projection: i } = this.visualElement, r = this.getAxisMotionValue(n);
3426
3424
  if (i && i.layout) {
3427
3425
  const { min: o, max: a } = i.layout.layoutBox[n];
3428
- r.set(e[n] - R(o, a, 0.5));
3426
+ r.set(e[n] - _(o, a, 0.5));
3429
3427
  }
3430
3428
  });
3431
3429
  }
@@ -3446,7 +3444,7 @@ class Yc {
3446
3444
  const a = this.getAxisMotionValue(o);
3447
3445
  if (a) {
3448
3446
  const l = a.get();
3449
- i[o] = jc({ min: l, max: l }, this.constraints[o]);
3447
+ i[o] = Fc({ min: l, max: l }, this.constraints[o]);
3450
3448
  }
3451
3449
  });
3452
3450
  const { transformTemplate: r } = this.visualElement.getProps();
@@ -3454,13 +3452,13 @@ class Yc {
3454
3452
  if (!Jt(o, e, null))
3455
3453
  return;
3456
3454
  const a = this.getAxisMotionValue(o), { min: l, max: c } = this.constraints[o];
3457
- a.set(R(l, c, i[o]));
3455
+ a.set(_(l, c, i[o]));
3458
3456
  });
3459
3457
  }
3460
3458
  addListeners() {
3461
3459
  if (!this.visualElement.current)
3462
3460
  return;
3463
- Kc.set(this.visualElement, this);
3461
+ Hc.set(this.visualElement, this);
3464
3462
  const e = this.visualElement.current, n = J(e, "pointerdown", (l) => {
3465
3463
  const { drag: c, dragListener: u = !0 } = this.getProps();
3466
3464
  c && u && this.start(l);
@@ -3471,8 +3469,8 @@ class Yc {
3471
3469
  i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), s();
3472
3470
  const o = Z(window, "resize", () => this.scalePositionWithinConstraints()), a = i.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: c }) => {
3473
3471
  this.isDragging && c && ($((u) => {
3474
- const h = this.getAxisMotionValue(u);
3475
- h && (this.originPoint[u] += l[u].translate, h.set(h.get() + l[u].translate));
3472
+ const f = this.getAxisMotionValue(u);
3473
+ f && (this.originPoint[u] += l[u].translate, f.set(f.get() + l[u].translate));
3476
3474
  }), this.visualElement.render());
3477
3475
  });
3478
3476
  return () => {
@@ -3495,13 +3493,13 @@ class Yc {
3495
3493
  function Jt(t, e, n) {
3496
3494
  return (e === !0 || e === t) && (n === null || n === t);
3497
3495
  }
3498
- function Xc(t, e = 10) {
3496
+ function Kc(t, e = 10) {
3499
3497
  let n = null;
3500
3498
  return Math.abs(t.y) > e ? n = "y" : Math.abs(t.x) > e && (n = "x"), n;
3501
3499
  }
3502
- class Qc extends ut {
3500
+ class Yc extends ut {
3503
3501
  constructor(e) {
3504
- super(e), this.removeGroupControls = E, this.removeListeners = E, this.controls = new Yc(e);
3502
+ super(e), this.removeGroupControls = E, this.removeListeners = E, this.controls = new qc(e);
3505
3503
  }
3506
3504
  mount() {
3507
3505
  const { dragControls: e } = this.node.getProps();
@@ -3514,7 +3512,7 @@ class Qc extends ut {
3514
3512
  const gs = (t) => (e, n) => {
3515
3513
  t && V.update(() => t(e, n));
3516
3514
  };
3517
- class Zc extends ut {
3515
+ class Xc extends ut {
3518
3516
  constructor() {
3519
3517
  super(...arguments), this.removePointerDownListener = E;
3520
3518
  }
@@ -3545,7 +3543,7 @@ class Zc extends ut {
3545
3543
  this.removePointerDownListener(), this.session && this.session.end();
3546
3544
  }
3547
3545
  }
3548
- function Jc() {
3546
+ function Qc() {
3549
3547
  const t = N(sn);
3550
3548
  if (t === null)
3551
3549
  return [!0, null];
@@ -3579,18 +3577,18 @@ const Et = {
3579
3577
  const n = ys(t, e.target.x), s = ys(t, e.target.y);
3580
3578
  return `${n}% ${s}%`;
3581
3579
  }
3582
- }, tu = {
3580
+ }, Zc = {
3583
3581
  correct: (t, { treeScale: e, projectionDelta: n }) => {
3584
3582
  const s = t, i = ct.parse(t);
3585
3583
  if (i.length > 5)
3586
3584
  return s;
3587
3585
  const r = ct.createTransformer(t), o = typeof i[0] != "number" ? 1 : 0, a = n.x.scale * e.x, l = n.y.scale * e.y;
3588
3586
  i[0 + o] /= a, i[1 + o] /= l;
3589
- const c = R(a, l, 0.5);
3587
+ const c = _(a, l, 0.5);
3590
3588
  return typeof i[2 + o] == "number" && (i[2 + o] /= c), typeof i[3 + o] == "number" && (i[3 + o] /= c), r(i);
3591
3589
  }
3592
3590
  };
3593
- class eu extends zs.Component {
3591
+ class Jc extends zs.Component {
3594
3592
  /**
3595
3593
  * This only mounts projection nodes for components that
3596
3594
  * need measuring, we might want to do it for all components
@@ -3598,7 +3596,7 @@ class eu extends zs.Component {
3598
3596
  */
3599
3597
  componentDidMount() {
3600
3598
  const { visualElement: e, layoutGroup: n, switchLayoutGroup: s, layoutId: i } = this.props, { projection: r } = e;
3601
- ca(nu), r && (n.group && n.group.add(r), s && s.register && i && s.register(r), r.root.didUpdate(), r.addEventListener("animationComplete", () => {
3599
+ aa(tu), r && (n.group && n.group.add(r), s && s.register && i && s.register(r), r.root.didUpdate(), r.addEventListener("animationComplete", () => {
3602
3600
  this.safeToRemove();
3603
3601
  }), r.setOptions({
3604
3602
  ...r.options,
@@ -3631,10 +3629,10 @@ class eu extends zs.Component {
3631
3629
  }
3632
3630
  }
3633
3631
  function lo(t) {
3634
- const [e, n] = Jc(), s = N(si);
3635
- return zs.createElement(eu, { ...t, layoutGroup: s, switchLayoutGroup: N(ii), isPresent: e, safeToRemove: n });
3632
+ const [e, n] = Qc(), s = N(si);
3633
+ return zs.createElement(Jc, { ...t, layoutGroup: s, switchLayoutGroup: N(ii), isPresent: e, safeToRemove: n });
3636
3634
  }
3637
- const nu = {
3635
+ const tu = {
3638
3636
  borderRadius: {
3639
3637
  ...Et,
3640
3638
  applyTo: [
@@ -3648,28 +3646,28 @@ const nu = {
3648
3646
  borderTopRightRadius: Et,
3649
3647
  borderBottomLeftRadius: Et,
3650
3648
  borderBottomRightRadius: Et,
3651
- boxShadow: tu
3652
- }, co = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], su = co.length, vs = (t) => typeof t == "string" ? parseFloat(t) : t, xs = (t) => typeof t == "number" || w.test(t);
3653
- function iu(t, e, n, s, i, r) {
3654
- i ? (t.opacity = R(
3649
+ boxShadow: Zc
3650
+ }, co = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], eu = co.length, vs = (t) => typeof t == "string" ? parseFloat(t) : t, xs = (t) => typeof t == "number" || w.test(t);
3651
+ function nu(t, e, n, s, i, r) {
3652
+ i ? (t.opacity = _(
3655
3653
  0,
3656
3654
  // TODO Reinstate this if only child
3657
3655
  n.opacity !== void 0 ? n.opacity : 1,
3658
- ou(s)
3659
- ), t.opacityExit = R(e.opacity !== void 0 ? e.opacity : 1, 0, ru(s))) : r && (t.opacity = R(e.opacity !== void 0 ? e.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, s));
3660
- for (let o = 0; o < su; o++) {
3656
+ su(s)
3657
+ ), t.opacityExit = _(e.opacity !== void 0 ? e.opacity : 1, 0, iu(s))) : r && (t.opacity = _(e.opacity !== void 0 ? e.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, s));
3658
+ for (let o = 0; o < eu; o++) {
3661
3659
  const a = `border${co[o]}Radius`;
3662
3660
  let l = bs(e, a), c = bs(n, a);
3663
3661
  if (l === void 0 && c === void 0)
3664
3662
  continue;
3665
- l || (l = 0), c || (c = 0), l === 0 || c === 0 || xs(l) === xs(c) ? (t[a] = Math.max(R(vs(l), vs(c), s), 0), (K.test(c) || K.test(l)) && (t[a] += "%")) : t[a] = c;
3663
+ l || (l = 0), c || (c = 0), l === 0 || c === 0 || xs(l) === xs(c) ? (t[a] = Math.max(_(vs(l), vs(c), s), 0), (K.test(c) || K.test(l)) && (t[a] += "%")) : t[a] = c;
3666
3664
  }
3667
- (e.rotate || n.rotate) && (t.rotate = R(e.rotate || 0, n.rotate || 0, s));
3665
+ (e.rotate || n.rotate) && (t.rotate = _(e.rotate || 0, n.rotate || 0, s));
3668
3666
  }
3669
3667
  function bs(t, e) {
3670
3668
  return t[e] !== void 0 ? t[e] : t.borderRadius;
3671
3669
  }
3672
- const ou = uo(0, 0.5, Li), ru = uo(0.5, 0.95, E);
3670
+ const su = uo(0, 0.5, Li), iu = uo(0.5, 0.95, E);
3673
3671
  function uo(t, e, n) {
3674
3672
  return (s) => s < t ? 0 : s > e ? 1 : n(zt(t, e, s));
3675
3673
  }
@@ -3682,35 +3680,35 @@ function W(t, e) {
3682
3680
  function Ts(t, e, n, s, i) {
3683
3681
  return t -= e, t = ue(t, 1 / n, s), i !== void 0 && (t = ue(t, 1 / i, s)), t;
3684
3682
  }
3685
- function au(t, e = 0, n = 1, s = 0.5, i, r = t, o = t) {
3686
- if (K.test(e) && (e = parseFloat(e), e = R(o.min, o.max, e / 100) - o.min), typeof e != "number")
3683
+ function ou(t, e = 0, n = 1, s = 0.5, i, r = t, o = t) {
3684
+ if (K.test(e) && (e = parseFloat(e), e = _(o.min, o.max, e / 100) - o.min), typeof e != "number")
3687
3685
  return;
3688
- let a = R(r.min, r.max, s);
3686
+ let a = _(r.min, r.max, s);
3689
3687
  t === r && (a -= e), t.min = Ts(t.min, e, n, a, i), t.max = Ts(t.max, e, n, a, i);
3690
3688
  }
3691
3689
  function Ps(t, e, [n, s, i], r, o) {
3692
- au(t, e[n], e[s], e[i], e.scale, r, o);
3690
+ ou(t, e[n], e[s], e[i], e.scale, r, o);
3693
3691
  }
3694
- const lu = ["x", "scaleX", "originX"], cu = ["y", "scaleY", "originY"];
3692
+ const ru = ["x", "scaleX", "originX"], au = ["y", "scaleY", "originY"];
3695
3693
  function As(t, e, n, s) {
3696
- Ps(t.x, e, lu, n ? n.x : void 0, s ? s.x : void 0), Ps(t.y, e, cu, n ? n.y : void 0, s ? s.y : void 0);
3694
+ Ps(t.x, e, ru, n ? n.x : void 0, s ? s.x : void 0), Ps(t.y, e, au, n ? n.y : void 0, s ? s.y : void 0);
3697
3695
  }
3698
3696
  function Ss(t) {
3699
3697
  return t.translate === 0 && t.scale === 1;
3700
3698
  }
3701
- function ho(t) {
3699
+ function fo(t) {
3702
3700
  return Ss(t.x) && Ss(t.y);
3703
3701
  }
3704
- function uu(t, e) {
3702
+ function lu(t, e) {
3705
3703
  return t.x.min === e.x.min && t.x.max === e.x.max && t.y.min === e.y.min && t.y.max === e.y.max;
3706
3704
  }
3707
- function fo(t, e) {
3705
+ function ho(t, e) {
3708
3706
  return Math.round(t.x.min) === Math.round(e.x.min) && Math.round(t.x.max) === Math.round(e.x.max) && Math.round(t.y.min) === Math.round(e.y.min) && Math.round(t.y.max) === Math.round(e.y.max);
3709
3707
  }
3710
3708
  function Vs(t) {
3711
3709
  return z(t.x) / z(t.y);
3712
3710
  }
3713
- class hu {
3711
+ class cu {
3714
3712
  constructor() {
3715
3713
  this.members = [];
3716
3714
  }
@@ -3774,8 +3772,8 @@ function Cs(t, e, n) {
3774
3772
  const o = t.x.scale * e.x, a = t.y.scale * e.y;
3775
3773
  return (o !== 1 || a !== 1) && (s += `scale(${o}, ${a})`), s || "none";
3776
3774
  }
3777
- const fu = (t, e) => t.depth - e.depth;
3778
- class du {
3775
+ const uu = (t, e) => t.depth - e.depth;
3776
+ class fu {
3779
3777
  constructor() {
3780
3778
  this.children = [], this.isDirty = !1;
3781
3779
  }
@@ -3786,28 +3784,28 @@ class du {
3786
3784
  Tn(this.children, e), this.isDirty = !0;
3787
3785
  }
3788
3786
  forEach(e) {
3789
- this.isDirty && this.children.sort(fu), this.isDirty = !1, this.children.forEach(e);
3787
+ this.isDirty && this.children.sort(uu), this.isDirty = !1, this.children.forEach(e);
3790
3788
  }
3791
3789
  }
3792
- function pu(t, e) {
3790
+ function hu(t, e) {
3793
3791
  const n = performance.now(), s = ({ timestamp: i }) => {
3794
3792
  const r = i - n;
3795
3793
  r >= e && (et(s), t(r - e));
3796
3794
  };
3797
3795
  return V.read(s, !0), () => et(s);
3798
3796
  }
3799
- function mu(t) {
3797
+ function du(t) {
3800
3798
  window.MotionDebug && window.MotionDebug.record(t);
3801
3799
  }
3802
- function gu(t) {
3800
+ function pu(t) {
3803
3801
  return t instanceof SVGElement && t.tagName !== "svg";
3804
3802
  }
3805
- function yu(t, e, n) {
3803
+ function mu(t, e, n) {
3806
3804
  const s = U(t) ? t : Vt(t);
3807
3805
  return s.start(bn("", s, e, n)), s.animation;
3808
3806
  }
3809
- const Ms = ["", "X", "Y", "Z"], vu = { visibility: "hidden" }, Ds = 1e3;
3810
- let xu = 0;
3807
+ const Ms = ["", "X", "Y", "Z"], gu = { visibility: "hidden" }, Ds = 1e3;
3808
+ let yu = 0;
3811
3809
  const pt = {
3812
3810
  type: "projectionFrame",
3813
3811
  totalNodes: 0,
@@ -3817,14 +3815,14 @@ const pt = {
3817
3815
  function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, checkIsScrollRoot: s, resetTransform: i }) {
3818
3816
  return class {
3819
3817
  constructor(o = {}, a = e == null ? void 0 : e()) {
3820
- this.id = xu++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
3818
+ this.id = yu++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
3821
3819
  this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
3822
3820
  }, this.updateProjection = () => {
3823
- this.projectionUpdateScheduled = !1, pt.totalNodes = pt.resolvedTargetDeltas = pt.recalculatedProjection = 0, this.nodes.forEach(Tu), this.nodes.forEach(Cu), this.nodes.forEach(Mu), this.nodes.forEach(Pu), mu(pt);
3821
+ this.projectionUpdateScheduled = !1, pt.totalNodes = pt.resolvedTargetDeltas = pt.recalculatedProjection = 0, this.nodes.forEach(bu), this.nodes.forEach(Su), this.nodes.forEach(Vu), this.nodes.forEach(wu), du(pt);
3824
3822
  }, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = o, this.root = a ? a.root || a : this, this.path = a ? [...a.path, a] : [], this.parent = a, this.depth = a ? a.depth + 1 : 0;
3825
3823
  for (let l = 0; l < this.path.length; l++)
3826
3824
  this.path[l].shouldResetTransform = !0;
3827
- this.root === this && (this.nodes = new du());
3825
+ this.root === this && (this.nodes = new fu());
3828
3826
  }
3829
3827
  addEventListener(o, a) {
3830
3828
  return this.eventHandlers.has(o) || this.eventHandlers.set(o, new Pn()), this.eventHandlers.get(o).add(a);
@@ -3842,23 +3840,23 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
3842
3840
  mount(o, a = this.root.hasTreeAnimated) {
3843
3841
  if (this.instance)
3844
3842
  return;
3845
- this.isSVG = gu(o), this.instance = o;
3843
+ this.isSVG = pu(o), this.instance = o;
3846
3844
  const { layoutId: l, layout: c, visualElement: u } = this.options;
3847
3845
  if (u && !u.current && u.mount(o), this.root.nodes.add(this), this.parent && this.parent.children.add(this), a && (c || l) && (this.isLayoutDirty = !0), t) {
3848
- let h;
3849
- const f = () => this.root.updateBlockedByResize = !1;
3846
+ let f;
3847
+ const h = () => this.root.updateBlockedByResize = !1;
3850
3848
  t(o, () => {
3851
- this.root.updateBlockedByResize = !0, h && h(), h = pu(f, 250), ne.hasAnimatedSinceResize && (ne.hasAnimatedSinceResize = !1, this.nodes.forEach(Rs));
3849
+ this.root.updateBlockedByResize = !0, f && f(), f = hu(h, 250), ne.hasAnimatedSinceResize && (ne.hasAnimatedSinceResize = !1, this.nodes.forEach(_s));
3852
3850
  });
3853
3851
  }
3854
- l && this.root.registerSharedNode(l, this), this.options.animate !== !1 && u && (l || c) && this.addEventListener("didUpdate", ({ delta: h, hasLayoutChanged: f, hasRelativeTargetChanged: d, layout: p }) => {
3852
+ l && this.root.registerSharedNode(l, this), this.options.animate !== !1 && u && (l || c) && this.addEventListener("didUpdate", ({ delta: f, hasLayoutChanged: h, hasRelativeTargetChanged: d, layout: p }) => {
3855
3853
  if (this.isTreeAnimationBlocked()) {
3856
3854
  this.target = void 0, this.relativeTarget = void 0;
3857
3855
  return;
3858
3856
  }
3859
- const m = this.options.transition || u.getDefaultTransition() || Eu, { onLayoutAnimationStart: v, onLayoutAnimationComplete: b } = u.getProps(), y = !this.targetLayout || !fo(this.targetLayout, p) || d, g = !f && d;
3860
- if (this.options.layoutRoot || this.resumeFrom && this.resumeFrom.instance || g || f && (y || !this.currentAnimation)) {
3861
- this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(h, g);
3857
+ const m = this.options.transition || u.getDefaultTransition() || _u, { onLayoutAnimationStart: v, onLayoutAnimationComplete: b } = u.getProps(), y = !this.targetLayout || !ho(this.targetLayout, p) || d, g = !h && d;
3858
+ if (this.options.layoutRoot || this.resumeFrom && this.resumeFrom.instance || g || h && (y || !this.currentAnimation)) {
3859
+ this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(f, g);
3862
3860
  const x = {
3863
3861
  ...xn(m, "layout"),
3864
3862
  onPlay: v,
@@ -3866,7 +3864,7 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
3866
3864
  };
3867
3865
  (u.shouldReduceMotion || this.options.layoutRoot) && (x.delay = 0, x.type = !1), this.startAnimation(x);
3868
3866
  } else
3869
- f || Rs(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
3867
+ h || _s(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
3870
3868
  this.targetLayout = p;
3871
3869
  });
3872
3870
  }
@@ -3890,7 +3888,7 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
3890
3888
  }
3891
3889
  // Note: currently only running on root node
3892
3890
  startUpdate() {
3893
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Du), this.animationId++);
3891
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Cu), this.animationId++);
3894
3892
  }
3895
3893
  getTransformTemplate() {
3896
3894
  const { visualElement: o } = this.options;
@@ -3905,8 +3903,8 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
3905
3903
  return;
3906
3904
  this.isLayoutDirty = !0;
3907
3905
  for (let u = 0; u < this.path.length; u++) {
3908
- const h = this.path[u];
3909
- h.shouldResetTransform = !0, h.updateScroll("snapshot"), h.options.layoutRoot && h.willUpdate(!1);
3906
+ const f = this.path[u];
3907
+ f.shouldResetTransform = !0, f.updateScroll("snapshot"), f.options.layoutRoot && f.willUpdate(!1);
3910
3908
  }
3911
3909
  const { layoutId: a, layout: l } = this.options;
3912
3910
  if (a === void 0 && !l)
@@ -3916,10 +3914,10 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
3916
3914
  }
3917
3915
  update() {
3918
3916
  if (this.updateScheduled = !1, this.isUpdateBlocked()) {
3919
- this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(_s);
3917
+ this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Rs);
3920
3918
  return;
3921
3919
  }
3922
- this.isUpdating || this.nodes.forEach(Su), this.isUpdating = !1, this.nodes.forEach(Vu), this.nodes.forEach(bu), this.nodes.forEach(wu), this.clearAllSnapshots();
3920
+ this.isUpdating || this.nodes.forEach(Pu), this.isUpdating = !1, this.nodes.forEach(Au), this.nodes.forEach(vu), this.nodes.forEach(xu), this.clearAllSnapshots();
3923
3921
  const a = performance.now();
3924
3922
  F.delta = lt(0, 1e3 / 60, a - F.timestamp), F.timestamp = a, F.isProcessing = !0, Pe.update.process(F), Pe.preRender.process(F), Pe.render.process(F), F.isProcessing = !1;
3925
3923
  }
@@ -3927,7 +3925,7 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
3927
3925
  this.updateScheduled || (this.updateScheduled = !0, queueMicrotask(() => this.update()));
3928
3926
  }
3929
3927
  clearAllSnapshots() {
3930
- this.nodes.forEach(Au), this.sharedNodes.forEach(_u);
3928
+ this.nodes.forEach(Tu), this.sharedNodes.forEach(Mu);
3931
3929
  }
3932
3930
  scheduleUpdateProjection() {
3933
3931
  this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, V.preRender(this.updateProjection, !1, !0));
@@ -3966,13 +3964,13 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
3966
3964
  resetTransform() {
3967
3965
  if (!i)
3968
3966
  return;
3969
- const o = this.isLayoutDirty || this.shouldResetTransform, a = this.projectionDelta && !ho(this.projectionDelta), l = this.getTransformTemplate(), c = l ? l(this.latestValues, "") : void 0, u = c !== this.prevTransformTemplateValue;
3967
+ const o = this.isLayoutDirty || this.shouldResetTransform, a = this.projectionDelta && !fo(this.projectionDelta), l = this.getTransformTemplate(), c = l ? l(this.latestValues, "") : void 0, u = c !== this.prevTransformTemplateValue;
3970
3968
  o && (a || dt(this.latestValues) || u) && (i(this.instance, c), this.shouldResetTransform = !1, this.scheduleRender());
3971
3969
  }
3972
3970
  measure(o = !0) {
3973
3971
  const a = this.measurePageBox();
3974
3972
  let l = this.removeElementScroll(a);
3975
- return o && (l = this.removeTransform(l)), ku(l), {
3973
+ return o && (l = this.removeTransform(l)), Lu(l), {
3976
3974
  animationId: this.root.animationId,
3977
3975
  measuredBox: a,
3978
3976
  layoutBox: l,
@@ -3991,12 +3989,12 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
3991
3989
  const a = k();
3992
3990
  W(a, o);
3993
3991
  for (let l = 0; l < this.path.length; l++) {
3994
- const c = this.path[l], { scroll: u, options: h } = c;
3995
- if (c !== this.root && u && h.layoutScroll) {
3992
+ const c = this.path[l], { scroll: u, options: f } = c;
3993
+ if (c !== this.root && u && f.layoutScroll) {
3996
3994
  if (u.isRoot) {
3997
3995
  W(a, o);
3998
- const { scroll: f } = this.root;
3999
- f && (it(a.x, -f.offset.x), it(a.y, -f.offset.y));
3996
+ const { scroll: h } = this.root;
3997
+ h && (it(a.x, -h.offset.x), it(a.y, -h.offset.y));
4000
3998
  }
4001
3999
  it(a.x, u.offset.x), it(a.y, u.offset.y);
4002
4000
  }
@@ -4023,8 +4021,8 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4023
4021
  if (!c.instance || !dt(c.latestValues))
4024
4022
  continue;
4025
4023
  He(c.latestValues) && c.updateSnapshot();
4026
- const u = k(), h = c.measurePageBox();
4027
- W(u, h), As(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
4024
+ const u = k(), f = c.measurePageBox();
4025
+ W(u, f), As(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
4028
4026
  }
4029
4027
  return dt(this.latestValues) && As(a, this.latestValues), a;
4030
4028
  }
@@ -4051,14 +4049,14 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4051
4049
  const c = !!this.resumingFrom || this !== l;
4052
4050
  if (!(o || c && this.isSharedProjectionDirty || this.isProjectionDirty || !((a = this.parent) === null || a === void 0) && a.isProjectionDirty || this.attemptToResolveRelativeTarget))
4053
4051
  return;
4054
- const { layout: h, layoutId: f } = this.options;
4055
- if (!(!this.layout || !(h || f))) {
4052
+ const { layout: f, layoutId: h } = this.options;
4053
+ if (!(!this.layout || !(f || h))) {
4056
4054
  if (this.resolvedRelativeTargetAt = F.timestamp, !this.targetDelta && !this.relativeTarget) {
4057
4055
  const d = this.getClosestProjectingParent();
4058
4056
  d && d.layout && this.animationProgress !== 1 ? (this.relativeParent = d, this.forceRelativeParentToResolveTarget(), this.relativeTarget = k(), this.relativeTargetOrigin = k(), Ot(this.relativeTargetOrigin, this.layout.layoutBox, d.layout.layoutBox), W(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
4059
4057
  }
4060
4058
  if (!(!this.relativeTarget && !this.targetDelta)) {
4061
- if (this.target || (this.target = k(), this.targetWithTransforms = k()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Bc(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : W(this.target, this.layout.layoutBox), oo(this.target, this.targetDelta)) : W(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
4059
+ if (this.target || (this.target = k(), this.targetWithTransforms = k()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Ec(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : W(this.target, this.layout.layoutBox), oo(this.target, this.targetDelta)) : W(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
4062
4060
  this.attemptToResolveRelativeTarget = !1;
4063
4061
  const d = this.getClosestProjectingParent();
4064
4062
  d && !!d.resumingFrom == !!this.resumingFrom && !d.options.layoutScroll && d.target && this.animationProgress !== 1 ? (this.relativeParent = d, this.forceRelativeParentToResolveTarget(), this.relativeTarget = k(), this.relativeTargetOrigin = k(), Ot(this.relativeTargetOrigin, this.target, d.target), W(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
@@ -4080,12 +4078,12 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4080
4078
  let c = !0;
4081
4079
  if ((this.isProjectionDirty || !((o = this.parent) === null || o === void 0) && o.isProjectionDirty) && (c = !1), l && (this.isSharedProjectionDirty || this.isTransformDirty) && (c = !1), this.resolvedRelativeTargetAt === F.timestamp && (c = !1), c)
4082
4080
  return;
4083
- const { layout: u, layoutId: h } = this.options;
4084
- if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(u || h))
4081
+ const { layout: u, layoutId: f } = this.options;
4082
+ if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(u || f))
4085
4083
  return;
4086
4084
  W(this.layoutCorrected, this.layout.layoutBox);
4087
- const f = this.treeScale.x, d = this.treeScale.y;
4088
- $c(this.layoutCorrected, this.treeScale, this.path, l), a.layout && !a.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (a.target = a.layout.layoutBox);
4085
+ const h = this.treeScale.x, d = this.treeScale.y;
4086
+ zc(this.layoutCorrected, this.treeScale, this.path, l), a.layout && !a.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (a.target = a.layout.layoutBox);
4089
4087
  const { target: p } = a;
4090
4088
  if (!p) {
4091
4089
  this.projectionTransform && (this.projectionDelta = Pt(), this.projectionTransform = "none", this.scheduleRender());
@@ -4093,7 +4091,7 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4093
4091
  }
4094
4092
  this.projectionDelta || (this.projectionDelta = Pt(), this.projectionDeltaWithTransform = Pt());
4095
4093
  const m = this.projectionTransform;
4096
- Ft(this.projectionDelta, this.layoutCorrected, p, this.latestValues), this.projectionTransform = Cs(this.projectionDelta, this.treeScale), (this.projectionTransform !== m || this.treeScale.x !== f || this.treeScale.y !== d) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", p)), pt.recalculatedProjection++;
4094
+ Ft(this.projectionDelta, this.layoutCorrected, p, this.latestValues), this.projectionTransform = Cs(this.projectionDelta, this.treeScale), (this.projectionTransform !== m || this.treeScale.x !== h || this.treeScale.y !== d) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", p)), pt.recalculatedProjection++;
4097
4095
  }
4098
4096
  hide() {
4099
4097
  this.isVisible = !1;
@@ -4109,19 +4107,19 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4109
4107
  this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
4110
4108
  }
4111
4109
  setAnimationOrigin(o, a = !1) {
4112
- const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, h = Pt();
4110
+ const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, f = Pt();
4113
4111
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
4114
- const f = k(), d = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, m = d !== p, v = this.getStack(), b = !v || v.members.length <= 1, y = !!(m && !b && this.options.crossfade === !0 && !this.path.some(Lu));
4112
+ const h = k(), d = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, m = d !== p, v = this.getStack(), b = !v || v.members.length <= 1, y = !!(m && !b && this.options.crossfade === !0 && !this.path.some(Ru));
4115
4113
  this.animationProgress = 0;
4116
4114
  let g;
4117
4115
  this.mixTargetDelta = (x) => {
4118
4116
  const P = x / 1e3;
4119
- Ls(h.x, o.x, P), Ls(h.y, o.y, P), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Ot(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Ru(this.relativeTarget, this.relativeTargetOrigin, f, P), g && uu(this.relativeTarget, g) && (this.isProjectionDirty = !1), g || (g = k()), W(g, this.relativeTarget)), m && (this.animationValues = u, iu(u, c, this.latestValues, P, y, b)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = P;
4117
+ Ls(f.x, o.x, P), Ls(f.y, o.y, P), this.setTargetDelta(f), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Ot(h, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Du(this.relativeTarget, this.relativeTargetOrigin, h, P), g && lu(this.relativeTarget, g) && (this.isProjectionDirty = !1), g || (g = k()), W(g, this.relativeTarget)), m && (this.animationValues = u, nu(u, c, this.latestValues, P, y, b)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = P;
4120
4118
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
4121
4119
  }
4122
4120
  startAnimation(o) {
4123
4121
  this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (et(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = V.update(() => {
4124
- ne.hasAnimatedSinceResize = !0, this.currentAnimation = yu(0, Ds, {
4122
+ ne.hasAnimatedSinceResize = !0, this.currentAnimation = mu(0, Ds, {
4125
4123
  ...o,
4126
4124
  onUpdate: (a) => {
4127
4125
  this.mixTargetDelta(a), o.onUpdate && o.onUpdate(a);
@@ -4146,16 +4144,16 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4146
4144
  if (!(!a || !l || !c)) {
4147
4145
  if (this !== o && this.layout && c && mo(this.options.animationType, this.layout.layoutBox, c.layoutBox)) {
4148
4146
  l = this.target || k();
4149
- const h = z(this.layout.layoutBox.x);
4150
- l.x.min = o.target.x.min, l.x.max = l.x.min + h;
4151
- const f = z(this.layout.layoutBox.y);
4152
- l.y.min = o.target.y.min, l.y.max = l.y.min + f;
4147
+ const f = z(this.layout.layoutBox.x);
4148
+ l.x.min = o.target.x.min, l.x.max = l.x.min + f;
4149
+ const h = z(this.layout.layoutBox.y);
4150
+ l.y.min = o.target.y.min, l.y.max = l.y.min + h;
4153
4151
  }
4154
4152
  W(a, l), At(a, u), Ft(this.projectionDeltaWithTransform, this.layoutCorrected, a, u);
4155
4153
  }
4156
4154
  }
4157
4155
  registerSharedNode(o, a) {
4158
- this.sharedNodes.has(o) || this.sharedNodes.set(o, new hu()), this.sharedNodes.get(o).add(a);
4156
+ this.sharedNodes.has(o) || this.sharedNodes.set(o, new cu()), this.sharedNodes.get(o).add(a);
4159
4157
  const c = a.options.initialPromotionConfig;
4160
4158
  a.promote({
4161
4159
  transition: c ? c.transition : void 0,
@@ -4199,8 +4197,8 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4199
4197
  return;
4200
4198
  const c = {};
4201
4199
  for (let u = 0; u < Ms.length; u++) {
4202
- const h = "rotate" + Ms[u];
4203
- l[h] && (c[h] = l[h], o.setStaticValue(h, 0));
4200
+ const f = "rotate" + Ms[u];
4201
+ l[f] && (c[f] = l[f], o.setStaticValue(f, 0));
4204
4202
  }
4205
4203
  o.render();
4206
4204
  for (const u in c)
@@ -4212,25 +4210,25 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4212
4210
  if (!this.instance || this.isSVG)
4213
4211
  return;
4214
4212
  if (!this.isVisible)
4215
- return vu;
4213
+ return gu;
4216
4214
  const c = {
4217
4215
  visibility: ""
4218
4216
  }, u = this.getTransformTemplate();
4219
4217
  if (this.needsReset)
4220
4218
  return this.needsReset = !1, c.opacity = "", c.pointerEvents = ee(o == null ? void 0 : o.pointerEvents) || "", c.transform = u ? u(this.latestValues, "") : "none", c;
4221
- const h = this.getLead();
4222
- if (!this.projectionDelta || !this.layout || !h.target) {
4219
+ const f = this.getLead();
4220
+ if (!this.projectionDelta || !this.layout || !f.target) {
4223
4221
  const m = {};
4224
4222
  return this.options.layoutId && (m.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, m.pointerEvents = ee(o == null ? void 0 : o.pointerEvents) || ""), this.hasProjected && !dt(this.latestValues) && (m.transform = u ? u({}, "") : "none", this.hasProjected = !1), m;
4225
4223
  }
4226
- const f = h.animationValues || h.latestValues;
4227
- this.applyTransformsToTarget(), c.transform = Cs(this.projectionDeltaWithTransform, this.treeScale, f), u && (c.transform = u(f, c.transform));
4224
+ const h = f.animationValues || f.latestValues;
4225
+ this.applyTransformsToTarget(), c.transform = Cs(this.projectionDeltaWithTransform, this.treeScale, h), u && (c.transform = u(h, c.transform));
4228
4226
  const { x: d, y: p } = this.projectionDelta;
4229
- c.transformOrigin = `${d.origin * 100}% ${p.origin * 100}% 0`, h.animationValues ? c.opacity = h === this ? (l = (a = f.opacity) !== null && a !== void 0 ? a : this.latestValues.opacity) !== null && l !== void 0 ? l : 1 : this.preserveOpacity ? this.latestValues.opacity : f.opacityExit : c.opacity = h === this ? f.opacity !== void 0 ? f.opacity : "" : f.opacityExit !== void 0 ? f.opacityExit : 0;
4227
+ c.transformOrigin = `${d.origin * 100}% ${p.origin * 100}% 0`, f.animationValues ? c.opacity = f === this ? (l = (a = h.opacity) !== null && a !== void 0 ? a : this.latestValues.opacity) !== null && l !== void 0 ? l : 1 : this.preserveOpacity ? this.latestValues.opacity : h.opacityExit : c.opacity = f === this ? h.opacity !== void 0 ? h.opacity : "" : h.opacityExit !== void 0 ? h.opacityExit : 0;
4230
4228
  for (const m in se) {
4231
- if (f[m] === void 0)
4229
+ if (h[m] === void 0)
4232
4230
  continue;
4233
- const { correct: v, applyTo: b } = se[m], y = c.transform === "none" ? f[m] : v(f[m], h);
4231
+ const { correct: v, applyTo: b } = se[m], y = c.transform === "none" ? h[m] : v(h[m], f);
4234
4232
  if (b) {
4235
4233
  const g = b.length;
4236
4234
  for (let x = 0; x < g; x++)
@@ -4238,7 +4236,7 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4238
4236
  } else
4239
4237
  c[m] = y;
4240
4238
  }
4241
- return this.options.layoutId && (c.pointerEvents = h === this ? ee(o == null ? void 0 : o.pointerEvents) || "" : "none"), c;
4239
+ return this.options.layoutId && (c.pointerEvents = f === this ? ee(o == null ? void 0 : o.pointerEvents) || "" : "none"), c;
4242
4240
  }
4243
4241
  clearSnapshot() {
4244
4242
  this.resumeFrom = this.snapshot = void 0;
@@ -4248,40 +4246,40 @@ function po({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4248
4246
  this.root.nodes.forEach((o) => {
4249
4247
  var a;
4250
4248
  return (a = o.currentAnimation) === null || a === void 0 ? void 0 : a.stop();
4251
- }), this.root.nodes.forEach(_s), this.root.sharedNodes.clear();
4249
+ }), this.root.nodes.forEach(Rs), this.root.sharedNodes.clear();
4252
4250
  }
4253
4251
  };
4254
4252
  }
4255
- function bu(t) {
4253
+ function vu(t) {
4256
4254
  t.updateLayout();
4257
4255
  }
4258
- function wu(t) {
4256
+ function xu(t) {
4259
4257
  var e;
4260
4258
  const n = ((e = t.resumeFrom) === null || e === void 0 ? void 0 : e.snapshot) || t.snapshot;
4261
4259
  if (t.isLead() && t.layout && n && t.hasListeners("didUpdate")) {
4262
4260
  const { layoutBox: s, measuredBox: i } = t.layout, { animationType: r } = t.options, o = n.source !== t.layout.source;
4263
- r === "size" ? $((h) => {
4264
- const f = o ? n.measuredBox[h] : n.layoutBox[h], d = z(f);
4265
- f.min = s[h].min, f.max = f.min + d;
4266
- }) : mo(r, n.layoutBox, s) && $((h) => {
4267
- const f = o ? n.measuredBox[h] : n.layoutBox[h], d = z(s[h]);
4268
- f.max = f.min + d, t.relativeTarget && !t.currentAnimation && (t.isProjectionDirty = !0, t.relativeTarget[h].max = t.relativeTarget[h].min + d);
4261
+ r === "size" ? $((f) => {
4262
+ const h = o ? n.measuredBox[f] : n.layoutBox[f], d = z(h);
4263
+ h.min = s[f].min, h.max = h.min + d;
4264
+ }) : mo(r, n.layoutBox, s) && $((f) => {
4265
+ const h = o ? n.measuredBox[f] : n.layoutBox[f], d = z(s[f]);
4266
+ h.max = h.min + d, t.relativeTarget && !t.currentAnimation && (t.isProjectionDirty = !0, t.relativeTarget[f].max = t.relativeTarget[f].min + d);
4269
4267
  });
4270
4268
  const a = Pt();
4271
4269
  Ft(a, s, n.layoutBox);
4272
4270
  const l = Pt();
4273
4271
  o ? Ft(l, t.applyTransform(i, !0), n.measuredBox) : Ft(l, s, n.layoutBox);
4274
- const c = !ho(a);
4272
+ const c = !fo(a);
4275
4273
  let u = !1;
4276
4274
  if (!t.resumeFrom) {
4277
- const h = t.getClosestProjectingParent();
4278
- if (h && !h.resumeFrom) {
4279
- const { snapshot: f, layout: d } = h;
4280
- if (f && d) {
4275
+ const f = t.getClosestProjectingParent();
4276
+ if (f && !f.resumeFrom) {
4277
+ const { snapshot: h, layout: d } = f;
4278
+ if (h && d) {
4281
4279
  const p = k();
4282
- Ot(p, n.layoutBox, f.layoutBox);
4280
+ Ot(p, n.layoutBox, h.layoutBox);
4283
4281
  const m = k();
4284
- Ot(m, s, d.layoutBox), fo(p, m) || (u = !0), h.options.layoutRoot && (t.relativeTarget = m, t.relativeTargetOrigin = p, t.relativeParent = h);
4282
+ Ot(m, s, d.layoutBox), ho(p, m) || (u = !0), f.options.layoutRoot && (t.relativeTarget = m, t.relativeTargetOrigin = p, t.relativeParent = f);
4285
4283
  }
4286
4284
  }
4287
4285
  }
@@ -4299,66 +4297,66 @@ function wu(t) {
4299
4297
  }
4300
4298
  t.options.transition = void 0;
4301
4299
  }
4302
- function Tu(t) {
4300
+ function bu(t) {
4303
4301
  pt.totalNodes++, t.parent && (t.isProjecting() || (t.isProjectionDirty = t.parent.isProjectionDirty), t.isSharedProjectionDirty || (t.isSharedProjectionDirty = !!(t.isProjectionDirty || t.parent.isProjectionDirty || t.parent.isSharedProjectionDirty)), t.isTransformDirty || (t.isTransformDirty = t.parent.isTransformDirty));
4304
4302
  }
4305
- function Pu(t) {
4303
+ function wu(t) {
4306
4304
  t.isProjectionDirty = t.isSharedProjectionDirty = t.isTransformDirty = !1;
4307
4305
  }
4308
- function Au(t) {
4306
+ function Tu(t) {
4309
4307
  t.clearSnapshot();
4310
4308
  }
4311
- function _s(t) {
4309
+ function Rs(t) {
4312
4310
  t.clearMeasurements();
4313
4311
  }
4314
- function Su(t) {
4312
+ function Pu(t) {
4315
4313
  t.isLayoutDirty = !1;
4316
4314
  }
4317
- function Vu(t) {
4315
+ function Au(t) {
4318
4316
  const { visualElement: e } = t.options;
4319
4317
  e && e.getProps().onBeforeLayoutMeasure && e.notify("BeforeLayoutMeasure"), t.resetTransform();
4320
4318
  }
4321
- function Rs(t) {
4319
+ function _s(t) {
4322
4320
  t.finishAnimation(), t.targetDelta = t.relativeTarget = t.target = void 0, t.isProjectionDirty = !0;
4323
4321
  }
4324
- function Cu(t) {
4322
+ function Su(t) {
4325
4323
  t.resolveTargetDelta();
4326
4324
  }
4327
- function Mu(t) {
4325
+ function Vu(t) {
4328
4326
  t.calcProjection();
4329
4327
  }
4330
- function Du(t) {
4328
+ function Cu(t) {
4331
4329
  t.resetRotation();
4332
4330
  }
4333
- function _u(t) {
4331
+ function Mu(t) {
4334
4332
  t.removeLeadSnapshot();
4335
4333
  }
4336
4334
  function Ls(t, e, n) {
4337
- t.translate = R(e.translate, 0, n), t.scale = R(e.scale, 1, n), t.origin = e.origin, t.originPoint = e.originPoint;
4335
+ t.translate = _(e.translate, 0, n), t.scale = _(e.scale, 1, n), t.origin = e.origin, t.originPoint = e.originPoint;
4338
4336
  }
4339
4337
  function Es(t, e, n, s) {
4340
- t.min = R(e.min, n.min, s), t.max = R(e.max, n.max, s);
4338
+ t.min = _(e.min, n.min, s), t.max = _(e.max, n.max, s);
4341
4339
  }
4342
- function Ru(t, e, n, s) {
4340
+ function Du(t, e, n, s) {
4343
4341
  Es(t.x, e.x, n.x, s), Es(t.y, e.y, n.y, s);
4344
4342
  }
4345
- function Lu(t) {
4343
+ function Ru(t) {
4346
4344
  return t.animationValues && t.animationValues.opacityExit !== void 0;
4347
4345
  }
4348
- const Eu = {
4346
+ const _u = {
4349
4347
  duration: 0.45,
4350
4348
  ease: [0.4, 0, 0.1, 1]
4351
4349
  }, ks = (t) => typeof navigator < "u" && navigator.userAgent.toLowerCase().includes(t), Bs = ks("applewebkit/") && !ks("chrome/") ? Math.round : E;
4352
4350
  function Is(t) {
4353
4351
  t.min = Bs(t.min), t.max = Bs(t.max);
4354
4352
  }
4355
- function ku(t) {
4353
+ function Lu(t) {
4356
4354
  Is(t.x), Is(t.y);
4357
4355
  }
4358
4356
  function mo(t, e, n) {
4359
4357
  return t === "position" || t === "preserve-aspect" && !$e(Vs(e), Vs(n), 0.2);
4360
4358
  }
4361
- const Bu = po({
4359
+ const Eu = po({
4362
4360
  attachResizeListener: (t, e) => Z(t, "resize", e),
4363
4361
  measureScroll: () => ({
4364
4362
  x: document.documentElement.scrollLeft || document.body.scrollLeft,
@@ -4374,7 +4372,7 @@ const Bu = po({
4374
4372
  }),
4375
4373
  defaultParent: () => {
4376
4374
  if (!ke.current) {
4377
- const t = new Bu({});
4375
+ const t = new Eu({});
4378
4376
  t.mount(window), t.setOptions({ layoutScroll: !0 }), ke.current = t;
4379
4377
  }
4380
4378
  return ke.current;
@@ -4383,27 +4381,27 @@ const Bu = po({
4383
4381
  t.style.transform = e !== void 0 ? e : "none";
4384
4382
  },
4385
4383
  checkIsScrollRoot: (t) => window.getComputedStyle(t).position === "fixed"
4386
- }), Iu = {
4384
+ }), ku = {
4387
4385
  pan: {
4388
- Feature: Zc
4386
+ Feature: Xc
4389
4387
  },
4390
4388
  drag: {
4391
- Feature: Qc,
4389
+ Feature: Yc,
4392
4390
  ProjectionNode: go,
4393
4391
  MeasureLayout: lo
4394
4392
  }
4395
- }, Fu = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;
4396
- function Ou(t) {
4397
- const e = Fu.exec(t);
4393
+ }, Bu = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;
4394
+ function Iu(t) {
4395
+ const e = Bu.exec(t);
4398
4396
  if (!e)
4399
4397
  return [,];
4400
4398
  const [, n, s] = e;
4401
4399
  return [n, s];
4402
4400
  }
4403
- const ju = 4;
4401
+ const Fu = 4;
4404
4402
  function Ke(t, e, n = 1) {
4405
- q(n <= ju, `Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);
4406
- const [s, i] = Ou(t);
4403
+ q(n <= Fu, `Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);
4404
+ const [s, i] = Iu(t);
4407
4405
  if (!s)
4408
4406
  return;
4409
4407
  const r = window.getComputedStyle(e).getPropertyValue(s);
@@ -4413,7 +4411,7 @@ function Ke(t, e, n = 1) {
4413
4411
  } else
4414
4412
  return Fe(i) ? Ke(i, e, n + 1) : i;
4415
4413
  }
4416
- function Nu(t, { ...e }, n) {
4414
+ function Ou(t, { ...e }, n) {
4417
4415
  const s = t.current;
4418
4416
  if (!(s instanceof Element))
4419
4417
  return { target: e, transitionEnd: n };
@@ -4433,7 +4431,7 @@ function Nu(t, { ...e }, n) {
4433
4431
  }
4434
4432
  return { target: e, transitionEnd: n };
4435
4433
  }
4436
- const Uu = /* @__PURE__ */ new Set([
4434
+ const ju = /* @__PURE__ */ new Set([
4437
4435
  "width",
4438
4436
  "height",
4439
4437
  "top",
@@ -4444,7 +4442,7 @@ const Uu = /* @__PURE__ */ new Set([
4444
4442
  "y",
4445
4443
  "translateX",
4446
4444
  "translateY"
4447
- ]), yo = (t) => Uu.has(t), zu = (t) => Object.keys(t).some(yo), te = (t) => t === yt || t === w, Fs = (t, e) => parseFloat(t.split(", ")[e]), Os = (t, e) => (n, { transform: s }) => {
4445
+ ]), yo = (t) => ju.has(t), Nu = (t) => Object.keys(t).some(yo), te = (t) => t === yt || t === w, Fs = (t, e) => parseFloat(t.split(", ")[e]), Os = (t, e) => (n, { transform: s }) => {
4448
4446
  if (s === "none" || !s)
4449
4447
  return 0;
4450
4448
  const i = s.match(/^matrix3d\((.+)\)$/);
@@ -4454,10 +4452,10 @@ const Uu = /* @__PURE__ */ new Set([
4454
4452
  const r = s.match(/^matrix\((.+)\)$/);
4455
4453
  return r ? Fs(r[1], t) : 0;
4456
4454
  }
4457
- }, Wu = /* @__PURE__ */ new Set(["x", "y", "z"]), $u = $t.filter((t) => !Wu.has(t));
4458
- function Gu(t) {
4455
+ }, Uu = /* @__PURE__ */ new Set(["x", "y", "z"]), zu = $t.filter((t) => !Uu.has(t));
4456
+ function Wu(t) {
4459
4457
  const e = [];
4460
- return $u.forEach((n) => {
4458
+ return zu.forEach((n) => {
4461
4459
  const s = t.getValue(n);
4462
4460
  s !== void 0 && (e.push([n, s.get()]), s.set(n.startsWith("scale") ? 1 : 0));
4463
4461
  }), e.length && t.render(), e;
@@ -4476,7 +4474,7 @@ const Ct = {
4476
4474
  };
4477
4475
  Ct.translateX = Ct.x;
4478
4476
  Ct.translateY = Ct.y;
4479
- const Hu = (t, e, n) => {
4477
+ const $u = (t, e, n) => {
4480
4478
  const s = e.measureViewportBox(), i = e.current, r = getComputedStyle(i), { display: o } = r, a = {};
4481
4479
  o === "none" && e.setStaticValue("display", t.display || "block"), n.forEach((c) => {
4482
4480
  a[c] = Ct[c](s, r);
@@ -4486,7 +4484,7 @@ const Hu = (t, e, n) => {
4486
4484
  const u = e.getValue(c);
4487
4485
  u && u.jump(a[c]), t[c] = Ct[c](l, r);
4488
4486
  }), t;
4489
- }, qu = (t, e, n = {}, s = {}) => {
4487
+ }, Gu = (t, e, n = {}, s = {}) => {
4490
4488
  e = { ...e }, s = { ...s };
4491
4489
  const i = Object.keys(e).filter(yo);
4492
4490
  let r = [], o = !1;
@@ -4495,38 +4493,38 @@ const Hu = (t, e, n) => {
4495
4493
  const c = t.getValue(l);
4496
4494
  if (!t.hasValue(l))
4497
4495
  return;
4498
- let u = n[l], h = Lt(u);
4499
- const f = e[l];
4496
+ let u = n[l], f = Lt(u);
4497
+ const h = e[l];
4500
4498
  let d;
4501
- if (oe(f)) {
4502
- const p = f.length, m = f[0] === null ? 1 : 0;
4503
- u = f[m], h = Lt(u);
4504
- for (let v = m; v < p && f[v] !== null; v++)
4505
- d ? q(Lt(f[v]) === d, "All keyframes must be of the same type") : (d = Lt(f[v]), q(d === h || te(h) && te(d), "Keyframes must be of the same dimension as the current value"));
4499
+ if (oe(h)) {
4500
+ const p = h.length, m = h[0] === null ? 1 : 0;
4501
+ u = h[m], f = Lt(u);
4502
+ for (let v = m; v < p && h[v] !== null; v++)
4503
+ d ? q(Lt(h[v]) === d, "All keyframes must be of the same type") : (d = Lt(h[v]), q(d === f || te(f) && te(d), "Keyframes must be of the same dimension as the current value"));
4506
4504
  } else
4507
- d = Lt(f);
4508
- if (h !== d)
4509
- if (te(h) && te(d)) {
4505
+ d = Lt(h);
4506
+ if (f !== d)
4507
+ if (te(f) && te(d)) {
4510
4508
  const p = c.get();
4511
- typeof p == "string" && c.set(parseFloat(p)), typeof f == "string" ? e[l] = parseFloat(f) : Array.isArray(f) && d === w && (e[l] = f.map(parseFloat));
4509
+ typeof p == "string" && c.set(parseFloat(p)), typeof h == "string" ? e[l] = parseFloat(h) : Array.isArray(h) && d === w && (e[l] = h.map(parseFloat));
4512
4510
  } else
4513
- h != null && h.transform && (d != null && d.transform) && (u === 0 || f === 0) ? u === 0 ? c.set(d.transform(u)) : e[l] = h.transform(f) : (o || (r = Gu(t), o = !0), a.push(l), s[l] = s[l] !== void 0 ? s[l] : e[l], c.jump(f));
4511
+ f != null && f.transform && (d != null && d.transform) && (u === 0 || h === 0) ? u === 0 ? c.set(d.transform(u)) : e[l] = f.transform(h) : (o || (r = Wu(t), o = !0), a.push(l), s[l] = s[l] !== void 0 ? s[l] : e[l], c.jump(h));
4514
4512
  }), a.length) {
4515
- const l = a.indexOf("height") >= 0 ? window.pageYOffset : null, c = Hu(e, t, a);
4516
- return r.length && r.forEach(([u, h]) => {
4517
- t.getValue(u).set(h);
4513
+ const l = a.indexOf("height") >= 0 ? window.pageYOffset : null, c = $u(e, t, a);
4514
+ return r.length && r.forEach(([u, f]) => {
4515
+ t.getValue(u).set(f);
4518
4516
  }), t.render(), pe && l !== null && window.scrollTo({ top: l }), { target: c, transitionEnd: s };
4519
4517
  } else
4520
4518
  return { target: e, transitionEnd: s };
4521
4519
  };
4522
- function Ku(t, e, n, s) {
4523
- return zu(e) ? qu(t, e, n, s) : { target: e, transitionEnd: s };
4520
+ function Hu(t, e, n, s) {
4521
+ return Nu(e) ? Gu(t, e, n, s) : { target: e, transitionEnd: s };
4524
4522
  }
4525
- const Yu = (t, e, n, s) => {
4526
- const i = Nu(t, e, s);
4527
- return e = i.target, s = i.transitionEnd, Ku(t, e, n, s);
4523
+ const qu = (t, e, n, s) => {
4524
+ const i = Ou(t, e, s);
4525
+ return e = i.target, s = i.transitionEnd, Hu(t, e, n, s);
4528
4526
  }, Ye = { current: null }, vo = { current: !1 };
4529
- function Xu() {
4527
+ function Ku() {
4530
4528
  if (vo.current = !0, !!pe)
4531
4529
  if (window.matchMedia) {
4532
4530
  const t = window.matchMedia("(prefers-reduced-motion)"), e = () => Ye.current = t.matches;
@@ -4534,7 +4532,7 @@ function Xu() {
4534
4532
  } else
4535
4533
  Ye.current = !1;
4536
4534
  }
4537
- function Qu(t, e, n) {
4535
+ function Yu(t, e, n) {
4538
4536
  const { willChange: s } = e;
4539
4537
  for (const i in e) {
4540
4538
  const r = e[i], o = n[i];
@@ -4555,7 +4553,7 @@ function Qu(t, e, n) {
4555
4553
  e[i] === void 0 && t.removeValue(i);
4556
4554
  return e;
4557
4555
  }
4558
- const js = /* @__PURE__ */ new WeakMap(), xo = Object.keys(Ut), Zu = xo.length, Ns = [
4556
+ const js = /* @__PURE__ */ new WeakMap(), xo = Object.keys(Ut), Xu = xo.length, Ns = [
4559
4557
  "AnimationStart",
4560
4558
  "AnimationComplete",
4561
4559
  "Update",
@@ -4563,8 +4561,8 @@ const js = /* @__PURE__ */ new WeakMap(), xo = Object.keys(Ut), Zu = xo.length,
4563
4561
  "LayoutMeasure",
4564
4562
  "LayoutAnimationStart",
4565
4563
  "LayoutAnimationComplete"
4566
- ], Ju = an.length;
4567
- class th {
4564
+ ], Qu = an.length;
4565
+ class Zu {
4568
4566
  constructor({ parent: e, props: n, presenceContext: s, reducedMotionConfig: i, visualState: r }, o = {}) {
4569
4567
  this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
4570
4568
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
@@ -4572,9 +4570,9 @@ class th {
4572
4570
  const { latestValues: a, renderState: l } = r;
4573
4571
  this.latestValues = a, this.baseTarget = { ...a }, this.initialValues = n.initial ? { ...a } : {}, this.renderState = l, this.parent = e, this.props = n, this.presenceContext = s, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = i, this.options = o, this.isControllingVariants = ge(n), this.isVariantNode = ni(n), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
4574
4572
  const { willChange: c, ...u } = this.scrapeMotionValuesFromProps(n, {});
4575
- for (const h in u) {
4576
- const f = u[h];
4577
- a[h] !== void 0 && U(f) && (f.set(a[h], !1), ce(c) && c.add(h));
4573
+ for (const f in u) {
4574
+ const h = u[f];
4575
+ a[f] !== void 0 && U(h) && (h.set(a[f], !1), ce(c) && c.add(f));
4578
4576
  }
4579
4577
  }
4580
4578
  /**
@@ -4588,7 +4586,7 @@ class th {
4588
4586
  return {};
4589
4587
  }
4590
4588
  mount(e) {
4591
- this.current = e, js.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, s) => this.bindToMotionValue(s, n)), vo.current || Xu(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : Ye.current, process.env.NODE_ENV !== "production" && An(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);
4589
+ this.current = e, js.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, s) => this.bindToMotionValue(s, n)), vo.current || Ku(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : Ye.current, process.env.NODE_ENV !== "production" && An(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);
4592
4590
  }
4593
4591
  unmount() {
4594
4592
  js.delete(this.current), this.projection && this.projection.unmount(), et(this.notifyUpdate), et(this.render), this.valueSubscriptions.forEach((e) => e()), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
@@ -4615,17 +4613,17 @@ class th {
4615
4613
  const l = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
4616
4614
  n.ignoreStrict ? qt(!1, l) : q(!1, l);
4617
4615
  }
4618
- for (let l = 0; l < Zu; l++) {
4619
- const c = xo[l], { isEnabled: u, Feature: h, ProjectionNode: f, MeasureLayout: d } = Ut[c];
4620
- f && (o = f), u(n) && (!this.features[c] && h && (this.features[c] = new h(this)), d && (a = d));
4616
+ for (let l = 0; l < Xu; l++) {
4617
+ const c = xo[l], { isEnabled: u, Feature: f, ProjectionNode: h, MeasureLayout: d } = Ut[c];
4618
+ h && (o = h), u(n) && (!this.features[c] && f && (this.features[c] = new f(this)), d && (a = d));
4621
4619
  }
4622
4620
  if ((this.type === "html" || this.type === "svg") && !this.projection && o) {
4623
4621
  this.projection = new o(this.latestValues, this.parent && this.parent.projection);
4624
- const { layoutId: l, layout: c, drag: u, dragConstraints: h, layoutScroll: f, layoutRoot: d } = n;
4622
+ const { layoutId: l, layout: c, drag: u, dragConstraints: f, layoutScroll: h, layoutRoot: d } = n;
4625
4623
  this.projection.setOptions({
4626
4624
  layoutId: l,
4627
4625
  layout: c,
4628
- alwaysMeasureLayout: !!u || h && wt(h),
4626
+ alwaysMeasureLayout: !!u || f && wt(f),
4629
4627
  visualElement: this,
4630
4628
  scheduleRender: () => this.scheduleRender(),
4631
4629
  /**
@@ -4637,7 +4635,7 @@ class th {
4637
4635
  */
4638
4636
  animationType: typeof c == "string" ? c : "both",
4639
4637
  initialPromotionConfig: r,
4640
- layoutScroll: f,
4638
+ layoutScroll: h,
4641
4639
  layoutRoot: d
4642
4640
  });
4643
4641
  }
@@ -4688,7 +4686,7 @@ class th {
4688
4686
  const r = e["on" + i];
4689
4687
  r && (this.propEventSubscriptions[i] = this.on(i, r));
4690
4688
  }
4691
- this.prevMotionValues = Qu(this, this.scrapeMotionValuesFromProps(e, this.prevProps), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
4689
+ this.prevMotionValues = Yu(this, this.scrapeMotionValuesFromProps(e, this.prevProps), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
4692
4690
  }
4693
4691
  getProps() {
4694
4692
  return this.props;
@@ -4719,7 +4717,7 @@ class th {
4719
4717
  return this.props.initial !== void 0 && (s.initial = this.props.initial), s;
4720
4718
  }
4721
4719
  const n = {};
4722
- for (let s = 0; s < Ju; s++) {
4720
+ for (let s = 0; s < Qu; s++) {
4723
4721
  const i = an[s], r = this.props[i];
4724
4722
  (Nt(r) || r === !1) && (n[i] = r);
4725
4723
  }
@@ -4794,7 +4792,7 @@ class th {
4794
4792
  this.events[e] && this.events[e].notify(...n);
4795
4793
  }
4796
4794
  }
4797
- class bo extends th {
4795
+ class bo extends Zu {
4798
4796
  sortInstanceNodePosition(e, n) {
4799
4797
  return e.compareDocumentPosition(n) & 2 ? 1 : -1;
4800
4798
  }
@@ -4805,10 +4803,10 @@ class bo extends th {
4805
4803
  delete n[e], delete s[e];
4806
4804
  }
4807
4805
  makeTargetAnimatableFromInstance({ transition: e, transitionEnd: n, ...s }, { transformValues: i }, r) {
4808
- let o = gc(s, e || {}, this);
4806
+ let o = pc(s, e || {}, this);
4809
4807
  if (i && (n && (n = i(n)), s && (s = i(s)), o && (o = i(o))), r) {
4810
- pc(this, s, o);
4811
- const a = Yu(this, s, o, n);
4808
+ hc(this, s, o);
4809
+ const a = qu(this, s, o, n);
4812
4810
  n = a.transitionEnd, s = a.target;
4813
4811
  }
4814
4812
  return {
@@ -4818,10 +4816,10 @@ class bo extends th {
4818
4816
  };
4819
4817
  }
4820
4818
  }
4821
- function eh(t) {
4819
+ function Ju(t) {
4822
4820
  return window.getComputedStyle(t);
4823
4821
  }
4824
- class nh extends bo {
4822
+ class tf extends bo {
4825
4823
  constructor() {
4826
4824
  super(...arguments), this.type = "html";
4827
4825
  }
@@ -4830,7 +4828,7 @@ class nh extends bo {
4830
4828
  const s = vn(n);
4831
4829
  return s && s.default || 0;
4832
4830
  } else {
4833
- const s = eh(e), i = (ai(n) ? s.getPropertyValue(n) : s[n]) || 0;
4831
+ const s = Ju(e), i = (ai(n) ? s.getPropertyValue(n) : s[n]) || 0;
4834
4832
  return typeof i == "string" ? i.trim() : i;
4835
4833
  }
4836
4834
  }
@@ -4854,7 +4852,7 @@ class nh extends bo {
4854
4852
  di(e, n, s, i);
4855
4853
  }
4856
4854
  }
4857
- class sh extends bo {
4855
+ class ef extends bo {
4858
4856
  constructor() {
4859
4857
  super(...arguments), this.type = "svg", this.isSVGTag = !1;
4860
4858
  }
@@ -4875,26 +4873,26 @@ class sh extends bo {
4875
4873
  return gi(e, n);
4876
4874
  }
4877
4875
  build(e, n, s, i) {
4878
- hn(e, n, s, this.isSVGTag, i.transformTemplate);
4876
+ fn(e, n, s, this.isSVGTag, i.transformTemplate);
4879
4877
  }
4880
4878
  renderInstance(e, n, s, i) {
4881
4879
  mi(e, n, s, i);
4882
4880
  }
4883
4881
  mount(e) {
4884
- this.isSVGTag = fn(e.tagName), super.mount(e);
4882
+ this.isSVGTag = hn(e.tagName), super.mount(e);
4885
4883
  }
4886
4884
  }
4887
- const ih = (t, e) => ln(t) ? new sh(e, { enableHardwareAcceleration: !1 }) : new nh(e, { enableHardwareAcceleration: !0 }), oh = {
4885
+ const nf = (t, e) => ln(t) ? new ef(e, { enableHardwareAcceleration: !1 }) : new tf(e, { enableHardwareAcceleration: !0 }), sf = {
4888
4886
  layout: {
4889
4887
  ProjectionNode: go,
4890
4888
  MeasureLayout: lo
4891
4889
  }
4892
- }, rh = {
4893
- ...Rc,
4894
- ...Ja,
4895
- ...Iu,
4896
- ...oh
4897
- }, Sn = /* @__PURE__ */ aa((t, e) => Na(t, e, rh, ih));
4890
+ }, of = {
4891
+ ...Dc,
4892
+ ...Qa,
4893
+ ...ku,
4894
+ ...sf
4895
+ }, Sn = /* @__PURE__ */ oa((t, e) => Oa(t, e, of, nf));
4898
4896
  function Us(t) {
4899
4897
  for (; t.startsWith("/"); )
4900
4898
  t = t.slice(1);
@@ -4912,7 +4910,7 @@ function wo(t, e, n = []) {
4912
4910
  }
4913
4911
  return null;
4914
4912
  }
4915
- function ah(t) {
4913
+ function rf(t) {
4916
4914
  return /* @__PURE__ */ T(
4917
4915
  "svg",
4918
4916
  {
@@ -4934,22 +4932,22 @@ function ah(t) {
4934
4932
  }
4935
4933
  );
4936
4934
  }
4937
- function bh(t) {
4938
- return /* @__PURE__ */ T(No, { children: /* @__PURE__ */ T(lh, { ...t }) });
4935
+ function xf(t) {
4936
+ return /* @__PURE__ */ T(No, { children: /* @__PURE__ */ T(af, { ...t }) });
4939
4937
  }
4940
- function lh(t) {
4938
+ function af(t) {
4941
4939
  const { baseUrl: e, menuPath: n } = t;
4942
4940
  console.log("baseUrl:", e);
4943
4941
  const s = Uo();
4944
4942
  console.log("location:", s);
4945
- const [i, r] = ot([]), [o, a] = ot(!0), l = (wo(i, s.pathname) || []).filter((y) => y.parentKey !== 0), [c, u] = ot({}), h = (y) => {
4943
+ const [i, r] = ot([]), [o, a] = ot(!0), l = (wo(i, s.pathname) || []).filter((y) => y.parentKey !== 0), [c, u] = ot({}), f = (y) => {
4946
4944
  u({
4947
4945
  ...c,
4948
4946
  [y]: !c[y]
4949
4947
  });
4950
4948
  };
4951
4949
  console.log("matchPaths:", l);
4952
- const f = () => {
4950
+ const h = () => {
4953
4951
  a(!o);
4954
4952
  };
4955
4953
  Wt(() => {
@@ -4974,7 +4972,7 @@ function lh(t) {
4974
4972
  className: b("side-bar"),
4975
4973
  children: [
4976
4974
  /* @__PURE__ */ T("div", { className: "h-[8px]" }),
4977
- /* @__PURE__ */ T("div", { className: b("side-bar__toggle-btn"), children: /* @__PURE__ */ T("button", { className: "icon-btn", onClick: f, children: o ? /* @__PURE__ */ T(Zs, {}) : /* @__PURE__ */ T(Qs, {}) }) }),
4975
+ /* @__PURE__ */ T("div", { className: b("side-bar__toggle-btn"), children: /* @__PURE__ */ T("button", { className: "icon-btn", onClick: h, children: o ? /* @__PURE__ */ T(Zs, {}) : /* @__PURE__ */ T(Qs, {}) }) }),
4978
4976
  /* @__PURE__ */ T(
4979
4977
  "div",
4980
4978
  {
@@ -4987,7 +4985,7 @@ function lh(t) {
4987
4985
  isActive: (x) => l.some((P) => P.id === x),
4988
4986
  isCollapsed: o,
4989
4987
  expanded: (x) => c[x],
4990
- toggleExpand: h
4988
+ toggleExpand: f
4991
4989
  },
4992
4990
  y.id
4993
4991
  ))
@@ -5000,7 +4998,7 @@ function lh(t) {
5000
4998
  className: b("side-bar__logout-btn"),
5001
4999
  onClick: () => p(!0),
5002
5000
  children: [
5003
- /* @__PURE__ */ T(ah, {}),
5001
+ /* @__PURE__ */ T(rf, {}),
5004
5002
  /* @__PURE__ */ T("span", { className: `ml-3 ${o ? "hidden" : ""}`, children: "Logout" })
5005
5003
  ]
5006
5004
  }
@@ -5020,12 +5018,12 @@ function lh(t) {
5020
5018
  }
5021
5019
  function To({ item: t, level: e = 0, ...n }) {
5022
5020
  var v;
5023
- const { isActive: s, isCollapsed: i, expanded: r, toggleExpand: o } = n, a = `level-${e}`, l = i ? "collapsed" : "expanded", c = s(t.id) ? "active" : "", u = (b, y = a) => `${b} ${y} ${l} ${c}`, h = !!((v = t.children) != null && v.length), [f, d] = ot(!1), p = St();
5021
+ const { isActive: s, isCollapsed: i, expanded: r, toggleExpand: o } = n, a = `level-${e}`, l = i ? "collapsed" : "expanded", c = s(t.id) ? "active" : "", u = (b, y = a) => `${b} ${y} ${l} ${c}`, f = !!((v = t.children) != null && v.length), [h, d] = ot(!1), p = St();
5024
5022
  function m(b) {
5025
5023
  var P;
5026
5024
  const { level: y, hovered: g, parentRef: x } = b;
5027
- return !h || i && y >= 2 && !g ? null : /* @__PURE__ */ T(
5028
- ch,
5025
+ return !f || i && y >= 2 && !g ? null : /* @__PURE__ */ T(
5026
+ lf,
5029
5027
  {
5030
5028
  parentRef: x,
5031
5029
  onlyChild: !i || i && y < 2,
@@ -5056,13 +5054,13 @@ function To({ item: t, level: e = 0, ...n }) {
5056
5054
  /* @__PURE__ */ I(
5057
5055
  zo,
5058
5056
  {
5059
- to: h ? "#" : t.path || "#",
5057
+ to: f ? "#" : t.path || "#",
5060
5058
  style: {
5061
5059
  paddingLeft: `${i ? "0.5rem" : `${e * 1}rem`}`
5062
5060
  },
5063
5061
  className: u("menu-item__link"),
5064
5062
  onClick: () => {
5065
- h && !i && o(t.id);
5063
+ f && !i && o(t.id);
5066
5064
  },
5067
5065
  children: [
5068
5066
  e !== 0 && /* @__PURE__ */ T("div", { className: u("menu-item__icon"), children: /* @__PURE__ */ T(
@@ -5078,7 +5076,7 @@ function To({ item: t, level: e = 0, ...n }) {
5078
5076
  " ",
5079
5077
  t.name
5080
5078
  ] }),
5081
- h && /* @__PURE__ */ T("div", { className: u("menu-item__icon-arrow__wrapper"), children: /* @__PURE__ */ T(
5079
+ f && /* @__PURE__ */ T("div", { className: u("menu-item__icon-arrow__wrapper"), children: /* @__PURE__ */ T(
5082
5080
  Xs,
5083
5081
  {
5084
5082
  className: u(
@@ -5090,13 +5088,13 @@ function To({ item: t, level: e = 0, ...n }) {
5090
5088
  ]
5091
5089
  }
5092
5090
  ),
5093
- m({ level: e + 1, hovered: f, parentRef: p })
5091
+ m({ level: e + 1, hovered: h, parentRef: p })
5094
5092
  ]
5095
5093
  },
5096
5094
  t.id
5097
5095
  );
5098
5096
  }
5099
- function ch(t) {
5097
+ function lf(t) {
5100
5098
  const { children: e, parentRef: n, onlyChild: s } = t, [i, r] = ot({ top: 0, left: 0 });
5101
5099
  return Ws(() => {
5102
5100
  if (n.current) {
@@ -5122,6 +5120,6 @@ function ch(t) {
5122
5120
  );
5123
5121
  }
5124
5122
  export {
5125
- bh as GlobalMenu,
5126
- vh as TopBar
5123
+ xf as GlobalMenu,
5124
+ yf as TopBar
5127
5125
  };