@latte-macchiat-io/latte-vanilla-components 0.0.136 → 0.0.138

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as ke from "react/jsx-runtime";
2
- import { jsxs as $a, jsx as Bs } from "react/jsx-runtime";
2
+ import { jsxs as La, jsx as Bs } from "react/jsx-runtime";
3
3
  import * as lt from "react";
4
- import Oa, { forwardRef as Fs, useContext as rt, useState as Lt, useEffect as St, useRef as le, createContext as pe, useId as _a, useCallback as Is, useLayoutEffect as Ba, useMemo as xn, useInsertionEffect as Fa, Fragment as js, createElement as Ia, Component as ja, createRef as Na } from "react";
4
+ import $a, { forwardRef as Fs, useContext as rt, useState as _t, useEffect as St, useRef as le, createContext as pe, useId as Oa, useCallback as Is, useLayoutEffect as Ba, useMemo as xn, useInsertionEffect as Fa, Fragment as Ns, createElement as Ia, Component as Na, createRef as ja } from "react";
5
5
  function Ua(t) {
6
6
  if (t.sheet)
7
7
  return t.sheet;
@@ -9,11 +9,11 @@ function Ua(t) {
9
9
  if (document.styleSheets[e].ownerNode === t)
10
10
  return document.styleSheets[e];
11
11
  }
12
- function Wa(t) {
12
+ function za(t) {
13
13
  var e = document.createElement("style");
14
14
  return e.setAttribute("data-emotion", t.key), t.nonce !== void 0 && e.setAttribute("nonce", t.nonce), e.appendChild(document.createTextNode("")), e.setAttribute("data-s", ""), e;
15
15
  }
16
- var za = /* @__PURE__ */ function() {
16
+ var Wa = /* @__PURE__ */ function() {
17
17
  function t(n) {
18
18
  var r = this;
19
19
  this._insertTag = function(i) {
@@ -25,7 +25,7 @@ var za = /* @__PURE__ */ function() {
25
25
  return e.hydrate = function(r) {
26
26
  r.forEach(this._insertTag);
27
27
  }, e.insert = function(r) {
28
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Wa(this));
28
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(za(this));
29
29
  var i = this.tags[this.tags.length - 1];
30
30
  if (this.isSpeedy) {
31
31
  var s = Ua(i);
@@ -42,17 +42,17 @@ var za = /* @__PURE__ */ function() {
42
42
  return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
43
43
  }), this.tags = [], this.ctr = 0;
44
44
  }, t;
45
- }(), X = "-ms-", fn = "-moz-", L = "-webkit-", Ns = "comm", vr = "rule", br = "decl", qa = "@import", Us = "@keyframes", Ga = "@layer", Ha = Math.abs, Sn = String.fromCharCode, Ka = Object.assign;
45
+ }(), X = "-ms-", fn = "-moz-", _ = "-webkit-", js = "comm", vr = "rule", br = "decl", qa = "@import", Us = "@keyframes", Ga = "@layer", Ha = Math.abs, Sn = String.fromCharCode, Ka = Object.assign;
46
46
  function Ya(t, e) {
47
47
  return K(t, 0) ^ 45 ? (((e << 2 ^ K(t, 0)) << 2 ^ K(t, 1)) << 2 ^ K(t, 2)) << 2 ^ K(t, 3) : 0;
48
48
  }
49
- function Ws(t) {
49
+ function zs(t) {
50
50
  return t.trim();
51
51
  }
52
52
  function Xa(t, e) {
53
53
  return (t = e.exec(t)) ? t[0] : t;
54
54
  }
55
- function $(t, e, n) {
55
+ function L(t, e, n) {
56
56
  return t.replace(e, n);
57
57
  }
58
58
  function Yn(t, e) {
@@ -64,7 +64,7 @@ function K(t, e) {
64
64
  function De(t, e, n) {
65
65
  return t.slice(e, n);
66
66
  }
67
- function Tt(t) {
67
+ function Pt(t) {
68
68
  return t.length;
69
69
  }
70
70
  function xr(t) {
@@ -76,7 +76,7 @@ function He(t, e) {
76
76
  function Za(t, e) {
77
77
  return t.map(e).join("");
78
78
  }
79
- var wn = 1, ue = 1, zs = 0, ut = 0, q = 0, me = "";
79
+ var wn = 1, ue = 1, Ws = 0, ut = 0, q = 0, me = "";
80
80
  function Tn(t, e, n, r, i, s, o) {
81
81
  return { value: t, root: e, parent: n, type: r, props: i, children: s, line: wn, column: ue, length: o, return: "" };
82
82
  }
@@ -90,9 +90,9 @@ function Qa() {
90
90
  return q = ut > 0 ? K(me, --ut) : 0, ue--, q === 10 && (ue = 1, wn--), q;
91
91
  }
92
92
  function ft() {
93
- return q = ut < zs ? K(me, ut++) : 0, ue++, q === 10 && (ue = 1, wn++), q;
93
+ return q = ut < Ws ? K(me, ut++) : 0, ue++, q === 10 && (ue = 1, wn++), q;
94
94
  }
95
- function Ct() {
95
+ function At() {
96
96
  return K(me, ut);
97
97
  }
98
98
  function en() {
@@ -101,7 +101,7 @@ function en() {
101
101
  function Ue(t, e) {
102
102
  return De(me, t, e);
103
103
  }
104
- function Le(t) {
104
+ function _e(t) {
105
105
  switch (t) {
106
106
  // \0 \t \n \r \s whitespace token
107
107
  case 0:
@@ -140,23 +140,23 @@ function Le(t) {
140
140
  return 0;
141
141
  }
142
142
  function qs(t) {
143
- return wn = ue = 1, zs = Tt(me = t), ut = 0, [];
143
+ return wn = ue = 1, Ws = Pt(me = t), ut = 0, [];
144
144
  }
145
145
  function Gs(t) {
146
146
  return me = "", t;
147
147
  }
148
148
  function nn(t) {
149
- return Ws(Ue(ut - 1, Xn(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
149
+ return zs(Ue(ut - 1, Xn(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
150
150
  }
151
151
  function tl(t) {
152
- for (; (q = Ct()) && q < 33; )
152
+ for (; (q = At()) && q < 33; )
153
153
  ft();
154
- return Le(t) > 2 || Le(q) > 3 ? "" : " ";
154
+ return _e(t) > 2 || _e(q) > 3 ? "" : " ";
155
155
  }
156
156
  function el(t, e) {
157
157
  for (; --e && ft() && !(q < 48 || q > 102 || q > 57 && q < 65 || q > 70 && q < 97); )
158
158
  ;
159
- return Ue(t, en() + (e < 6 && Ct() == 32 && ft() == 32));
159
+ return Ue(t, en() + (e < 6 && At() == 32 && ft() == 32));
160
160
  }
161
161
  function Xn(t) {
162
162
  for (; ft(); )
@@ -182,12 +182,12 @@ function Xn(t) {
182
182
  }
183
183
  function nl(t, e) {
184
184
  for (; ft() && t + q !== 57; )
185
- if (t + q === 84 && Ct() === 47)
185
+ if (t + q === 84 && At() === 47)
186
186
  break;
187
187
  return "/*" + Ue(e, ut - 1) + "*" + Sn(t === 47 ? t : ft());
188
188
  }
189
189
  function rl(t) {
190
- for (; !Le(Ct()); )
190
+ for (; !_e(At()); )
191
191
  ft();
192
192
  return Ue(t, ut);
193
193
  }
@@ -200,7 +200,7 @@ function rn(t, e, n, r, i, s, o, a, l) {
200
200
  // (
201
201
  case 40:
202
202
  if (p != 108 && K(E, d - 1) == 58) {
203
- Yn(E += $(nn(S), "&", "&\f"), "&\f") != -1 && (v = -1);
203
+ Yn(E += L(nn(S), "&", "&\f"), "&\f") != -1 && (v = -1);
204
204
  break;
205
205
  }
206
206
  // " ' [
@@ -222,7 +222,7 @@ function rn(t, e, n, r, i, s, o, a, l) {
222
222
  continue;
223
223
  // /
224
224
  case 47:
225
- switch (Ct()) {
225
+ switch (At()) {
226
226
  case 42:
227
227
  case 47:
228
228
  He(sl(nl(ft(), en()), e, n), l);
@@ -233,7 +233,7 @@ function rn(t, e, n, r, i, s, o, a, l) {
233
233
  break;
234
234
  // {
235
235
  case 123 * g:
236
- a[c++] = Tt(E) * v;
236
+ a[c++] = Pt(E) * v;
237
237
  // } ; \0
238
238
  case 125 * g:
239
239
  case 59:
@@ -245,7 +245,7 @@ function rn(t, e, n, r, i, s, o, a, l) {
245
245
  x = 0;
246
246
  // ;
247
247
  case 59 + u:
248
- v == -1 && (E = $(E, /\f/g, "")), h > 0 && Tt(E) - d && He(h > 32 ? ri(E + ";", r, n, d - 1) : ri($(E, " ", "") + ";", r, n, d - 2), l);
248
+ v == -1 && (E = L(E, /\f/g, "")), h > 0 && Pt(E) - d && He(h > 32 ? ri(E + ";", r, n, d - 1) : ri(L(E, " ", "") + ";", r, n, d - 2), l);
249
249
  break;
250
250
  // @ ;
251
251
  case 59:
@@ -272,7 +272,7 @@ function rn(t, e, n, r, i, s, o, a, l) {
272
272
  break;
273
273
  // :
274
274
  case 58:
275
- d = 1 + Tt(E), h = p;
275
+ d = 1 + Pt(E), h = p;
276
276
  default:
277
277
  if (g < 1) {
278
278
  if (S == 123)
@@ -287,15 +287,15 @@ function rn(t, e, n, r, i, s, o, a, l) {
287
287
  break;
288
288
  // ,
289
289
  case 44:
290
- a[c++] = (Tt(E) - 1) * v, v = 1;
290
+ a[c++] = (Pt(E) - 1) * v, v = 1;
291
291
  break;
292
292
  // @
293
293
  case 64:
294
- Ct() === 45 && (E += nn(ft())), f = Ct(), u = d = Tt(w = E += rl(en())), S++;
294
+ At() === 45 && (E += nn(ft())), f = At(), u = d = Pt(w = E += rl(en())), S++;
295
295
  break;
296
296
  // -
297
297
  case 45:
298
- p === 45 && Tt(E) == 2 && (g = 0);
298
+ p === 45 && Pt(E) == 2 && (g = 0);
299
299
  }
300
300
  }
301
301
  return s;
@@ -303,11 +303,11 @@ function rn(t, e, n, r, i, s, o, a, l) {
303
303
  function ni(t, e, n, r, i, s, o, a, l, c, u) {
304
304
  for (var d = i - 1, f = i === 0 ? s : [""], h = xr(f), p = 0, g = 0, x = 0; p < r; ++p)
305
305
  for (var v = 0, S = De(t, d + 1, d = Ha(g = o[p])), w = t; v < h; ++v)
306
- (w = Ws(g > 0 ? f[v] + " " + S : $(S, /&\f/g, f[v]))) && (l[x++] = w);
306
+ (w = zs(g > 0 ? f[v] + " " + S : L(S, /&\f/g, f[v]))) && (l[x++] = w);
307
307
  return Tn(t, e, n, i === 0 ? vr : a, l, c, u);
308
308
  }
309
309
  function sl(t, e, n) {
310
- return Tn(t, e, n, Ns, Sn(Ja()), De(t, 2, -2), 0);
310
+ return Tn(t, e, n, js, Sn(Ja()), De(t, 2, -2), 0);
311
311
  }
312
312
  function ri(t, e, n, r) {
313
313
  return Tn(t, e, n, br, De(t, 0, r), De(t, r + 1, -1), r);
@@ -324,14 +324,14 @@ function ol(t, e, n, r) {
324
324
  case qa:
325
325
  case br:
326
326
  return t.return = t.return || t.value;
327
- case Ns:
327
+ case js:
328
328
  return "";
329
329
  case Us:
330
330
  return t.return = t.value + "{" + ce(t.children, r) + "}";
331
331
  case vr:
332
332
  t.value = t.props.join(",");
333
333
  }
334
- return Tt(n = ce(t.children, r)) ? t.return = t.value + "{" + n + "}" : "";
334
+ return Pt(n = ce(t.children, r)) ? t.return = t.value + "{" + n + "}" : "";
335
335
  }
336
336
  function al(t) {
337
337
  var e = xr(t);
@@ -353,22 +353,22 @@ function cl(t) {
353
353
  };
354
354
  }
355
355
  var ul = function(e, n, r) {
356
- for (var i = 0, s = 0; i = s, s = Ct(), i === 38 && s === 12 && (n[r] = 1), !Le(s); )
356
+ for (var i = 0, s = 0; i = s, s = At(), i === 38 && s === 12 && (n[r] = 1), !_e(s); )
357
357
  ft();
358
358
  return Ue(e, ut);
359
359
  }, dl = function(e, n) {
360
360
  var r = -1, i = 44;
361
361
  do
362
- switch (Le(i)) {
362
+ switch (_e(i)) {
363
363
  case 0:
364
- i === 38 && Ct() === 12 && (n[r] = 1), e[r] += ul(ut - 1, n, r);
364
+ i === 38 && At() === 12 && (n[r] = 1), e[r] += ul(ut - 1, n, r);
365
365
  break;
366
366
  case 2:
367
367
  e[r] += nn(i);
368
368
  break;
369
369
  case 4:
370
370
  if (i === 44) {
371
- e[++r] = Ct() === 58 ? "&\f" : "", n[r] = e[r].length;
371
+ e[++r] = At() === 58 ? "&\f" : "", n[r] = e[r].length;
372
372
  break;
373
373
  }
374
374
  // fallthrough
@@ -404,7 +404,7 @@ function Hs(t, e) {
404
404
  switch (Ya(t, e)) {
405
405
  // color-adjust
406
406
  case 5103:
407
- return L + "print-" + t + t;
407
+ return _ + "print-" + t + t;
408
408
  // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
409
409
  case 5737:
410
410
  case 4201:
@@ -434,58 +434,58 @@ function Hs(t, e) {
434
434
  case 5365:
435
435
  case 5621:
436
436
  case 3829:
437
- return L + t + t;
437
+ return _ + t + t;
438
438
  // appearance, user-select, transform, hyphens, text-size-adjust
439
439
  case 5349:
440
440
  case 4246:
441
441
  case 4810:
442
442
  case 6968:
443
443
  case 2756:
444
- return L + t + fn + t + X + t + t;
444
+ return _ + t + fn + t + X + t + t;
445
445
  // flex, flex-direction
446
446
  case 6828:
447
447
  case 4268:
448
- return L + t + X + t + t;
448
+ return _ + t + X + t + t;
449
449
  // order
450
450
  case 6165:
451
- return L + t + X + "flex-" + t + t;
451
+ return _ + t + X + "flex-" + t + t;
452
452
  // align-items
453
453
  case 5187:
454
- return L + t + $(t, /(\w+).+(:[^]+)/, L + "box-$1$2" + X + "flex-$1$2") + t;
454
+ return _ + t + L(t, /(\w+).+(:[^]+)/, _ + "box-$1$2" + X + "flex-$1$2") + t;
455
455
  // align-self
456
456
  case 5443:
457
- return L + t + X + "flex-item-" + $(t, /flex-|-self/, "") + t;
457
+ return _ + t + X + "flex-item-" + L(t, /flex-|-self/, "") + t;
458
458
  // align-content
459
459
  case 4675:
460
- return L + t + X + "flex-line-pack" + $(t, /align-content|flex-|-self/, "") + t;
460
+ return _ + t + X + "flex-line-pack" + L(t, /align-content|flex-|-self/, "") + t;
461
461
  // flex-shrink
462
462
  case 5548:
463
- return L + t + X + $(t, "shrink", "negative") + t;
463
+ return _ + t + X + L(t, "shrink", "negative") + t;
464
464
  // flex-basis
465
465
  case 5292:
466
- return L + t + X + $(t, "basis", "preferred-size") + t;
466
+ return _ + t + X + L(t, "basis", "preferred-size") + t;
467
467
  // flex-grow
468
468
  case 6060:
469
- return L + "box-" + $(t, "-grow", "") + L + t + X + $(t, "grow", "positive") + t;
469
+ return _ + "box-" + L(t, "-grow", "") + _ + t + X + L(t, "grow", "positive") + t;
470
470
  // transition
471
471
  case 4554:
472
- return L + $(t, /([^-])(transform)/g, "$1" + L + "$2") + t;
472
+ return _ + L(t, /([^-])(transform)/g, "$1" + _ + "$2") + t;
473
473
  // cursor
474
474
  case 6187:
475
- return $($($(t, /(zoom-|grab)/, L + "$1"), /(image-set)/, L + "$1"), t, "") + t;
475
+ return L(L(L(t, /(zoom-|grab)/, _ + "$1"), /(image-set)/, _ + "$1"), t, "") + t;
476
476
  // background, background-image
477
477
  case 5495:
478
478
  case 3959:
479
- return $(t, /(image-set\([^]*)/, L + "$1$`$1");
479
+ return L(t, /(image-set\([^]*)/, _ + "$1$`$1");
480
480
  // justify-content
481
481
  case 4968:
482
- return $($(t, /(.+:)(flex-)?(.*)/, L + "box-pack:$3" + X + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + L + t + t;
482
+ return L(L(t, /(.+:)(flex-)?(.*)/, _ + "box-pack:$3" + X + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + _ + t + t;
483
483
  // (margin|padding)-inline-(start|end)
484
484
  case 4095:
485
485
  case 3583:
486
486
  case 4068:
487
487
  case 2532:
488
- return $(t, /(.+)-inline(.+)/, L + "$1$2") + t;
488
+ return L(t, /(.+)-inline(.+)/, _ + "$1$2") + t;
489
489
  // (min|max)?(width|height|inline-size|block-size)
490
490
  case 8116:
491
491
  case 7059:
@@ -499,16 +499,16 @@ function Hs(t, e) {
499
499
  case 5789:
500
500
  case 5021:
501
501
  case 4765:
502
- if (Tt(t) - 1 - e > 6) switch (K(t, e + 1)) {
502
+ if (Pt(t) - 1 - e > 6) switch (K(t, e + 1)) {
503
503
  // (m)ax-content, (m)in-content
504
504
  case 109:
505
505
  if (K(t, e + 4) !== 45) break;
506
506
  // (f)ill-available, (f)it-content
507
507
  case 102:
508
- return $(t, /(.+:)(.+)-([^]+)/, "$1" + L + "$2-$3$1" + fn + (K(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
508
+ return L(t, /(.+:)(.+)-([^]+)/, "$1" + _ + "$2-$3$1" + fn + (K(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
509
509
  // (s)tretch
510
510
  case 115:
511
- return ~Yn(t, "stretch") ? Hs($(t, "stretch", "fill-available"), e) + t : t;
511
+ return ~Yn(t, "stretch") ? Hs(L(t, "stretch", "fill-available"), e) + t : t;
512
512
  }
513
513
  break;
514
514
  // position: sticky
@@ -516,13 +516,13 @@ function Hs(t, e) {
516
516
  if (K(t, e + 1) !== 115) break;
517
517
  // display: (flex|inline-flex)
518
518
  case 6444:
519
- switch (K(t, Tt(t) - 3 - (~Yn(t, "!important") && 10))) {
519
+ switch (K(t, Pt(t) - 3 - (~Yn(t, "!important") && 10))) {
520
520
  // stic(k)y
521
521
  case 107:
522
- return $(t, ":", ":" + L) + t;
522
+ return L(t, ":", ":" + _) + t;
523
523
  // (inline-)?fl(e)x
524
524
  case 101:
525
- return $(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + L + (K(t, 14) === 45 ? "inline-" : "") + "box$3$1" + L + "$2$3$1" + X + "$2box$3") + t;
525
+ return L(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + _ + (K(t, 14) === 45 ? "inline-" : "") + "box$3$1" + _ + "$2$3$1" + X + "$2box$3") + t;
526
526
  }
527
527
  break;
528
528
  // writing-mode
@@ -530,15 +530,15 @@ function Hs(t, e) {
530
530
  switch (K(t, e + 11)) {
531
531
  // vertical-l(r)
532
532
  case 114:
533
- return L + t + X + $(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
533
+ return _ + t + X + L(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
534
534
  // vertical-r(l)
535
535
  case 108:
536
- return L + t + X + $(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
536
+ return _ + t + X + L(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
537
537
  // horizontal(-)tb
538
538
  case 45:
539
- return L + t + X + $(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
539
+ return _ + t + X + L(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
540
540
  }
541
- return L + t + X + t + t;
541
+ return _ + t + X + t + t;
542
542
  }
543
543
  return t;
544
544
  }
@@ -549,7 +549,7 @@ var ml = function(e, n, r, i) {
549
549
  break;
550
550
  case Us:
551
551
  return ce([be(e, {
552
- value: $(e.value, "@", "@" + L)
552
+ value: L(e.value, "@", "@" + _)
553
553
  })], i);
554
554
  case vr:
555
555
  if (e.length) return Za(e.props, function(s) {
@@ -558,16 +558,16 @@ var ml = function(e, n, r, i) {
558
558
  case ":read-only":
559
559
  case ":read-write":
560
560
  return ce([be(e, {
561
- props: [$(s, /:(read-\w+)/, ":" + fn + "$1")]
561
+ props: [L(s, /:(read-\w+)/, ":" + fn + "$1")]
562
562
  })], i);
563
563
  // :placeholder
564
564
  case "::placeholder":
565
565
  return ce([be(e, {
566
- props: [$(s, /:(plac\w+)/, ":" + L + "input-$1")]
566
+ props: [L(s, /:(plac\w+)/, ":" + _ + "input-$1")]
567
567
  }), be(e, {
568
- props: [$(s, /:(plac\w+)/, ":" + fn + "$1")]
568
+ props: [L(s, /:(plac\w+)/, ":" + fn + "$1")]
569
569
  }), be(e, {
570
- props: [$(s, /:(plac\w+)/, X + "input-$1")]
570
+ props: [L(s, /:(plac\w+)/, X + "input-$1")]
571
571
  })], i);
572
572
  }
573
573
  return "";
@@ -606,7 +606,7 @@ var ml = function(e, n, r, i) {
606
606
  }
607
607
  var p = {
608
608
  key: n,
609
- sheet: new za({
609
+ sheet: new Wa({
610
610
  key: n,
611
611
  container: o,
612
612
  nonce: e.nonce,
@@ -643,7 +643,7 @@ function bl(t) {
643
643
  });
644
644
  }), n;
645
645
  }
646
- var Ke = { exports: {} }, O = {};
646
+ var Ke = { exports: {} }, $ = {};
647
647
  /** @license React v16.13.1
648
648
  * react-is.production.min.js
649
649
  *
@@ -654,7 +654,7 @@ var Ke = { exports: {} }, O = {};
654
654
  */
655
655
  var si;
656
656
  function xl() {
657
- if (si) return O;
657
+ if (si) return $;
658
658
  si = 1;
659
659
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, s = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, f = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, p = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, x = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, S = t ? Symbol.for("react.scope") : 60119;
660
660
  function w(m) {
@@ -690,35 +690,35 @@ function xl() {
690
690
  function C(m) {
691
691
  return w(m) === c;
692
692
  }
693
- return O.AsyncMode = l, O.ConcurrentMode = c, O.ContextConsumer = a, O.ContextProvider = o, O.Element = e, O.ForwardRef = u, O.Fragment = r, O.Lazy = p, O.Memo = h, O.Portal = n, O.Profiler = s, O.StrictMode = i, O.Suspense = d, O.isAsyncMode = function(m) {
693
+ return $.AsyncMode = l, $.ConcurrentMode = c, $.ContextConsumer = a, $.ContextProvider = o, $.Element = e, $.ForwardRef = u, $.Fragment = r, $.Lazy = p, $.Memo = h, $.Portal = n, $.Profiler = s, $.StrictMode = i, $.Suspense = d, $.isAsyncMode = function(m) {
694
694
  return C(m) || w(m) === l;
695
- }, O.isConcurrentMode = C, O.isContextConsumer = function(m) {
695
+ }, $.isConcurrentMode = C, $.isContextConsumer = function(m) {
696
696
  return w(m) === a;
697
- }, O.isContextProvider = function(m) {
697
+ }, $.isContextProvider = function(m) {
698
698
  return w(m) === o;
699
- }, O.isElement = function(m) {
699
+ }, $.isElement = function(m) {
700
700
  return typeof m == "object" && m !== null && m.$$typeof === e;
701
- }, O.isForwardRef = function(m) {
701
+ }, $.isForwardRef = function(m) {
702
702
  return w(m) === u;
703
- }, O.isFragment = function(m) {
703
+ }, $.isFragment = function(m) {
704
704
  return w(m) === r;
705
- }, O.isLazy = function(m) {
705
+ }, $.isLazy = function(m) {
706
706
  return w(m) === p;
707
- }, O.isMemo = function(m) {
707
+ }, $.isMemo = function(m) {
708
708
  return w(m) === h;
709
- }, O.isPortal = function(m) {
709
+ }, $.isPortal = function(m) {
710
710
  return w(m) === n;
711
- }, O.isProfiler = function(m) {
711
+ }, $.isProfiler = function(m) {
712
712
  return w(m) === s;
713
- }, O.isStrictMode = function(m) {
713
+ }, $.isStrictMode = function(m) {
714
714
  return w(m) === i;
715
- }, O.isSuspense = function(m) {
715
+ }, $.isSuspense = function(m) {
716
716
  return w(m) === d;
717
- }, O.isValidElementType = function(m) {
717
+ }, $.isValidElementType = function(m) {
718
718
  return typeof m == "string" || typeof m == "function" || m === r || m === c || m === s || m === i || m === d || m === f || typeof m == "object" && m !== null && (m.$$typeof === p || m.$$typeof === h || m.$$typeof === o || m.$$typeof === a || m.$$typeof === u || m.$$typeof === x || m.$$typeof === v || m.$$typeof === S || m.$$typeof === g);
719
- }, O.typeOf = w, O;
719
+ }, $.typeOf = w, $;
720
720
  }
721
- var _ = {};
721
+ var O = {};
722
722
  /** @license React v16.13.1
723
723
  * react-is.development.js
724
724
  *
@@ -740,17 +740,17 @@ function Sl() {
740
740
  var ot = R.$$typeof;
741
741
  switch (ot) {
742
742
  case e:
743
- var wt = R.type;
744
- switch (wt) {
743
+ var Tt = R.type;
744
+ switch (Tt) {
745
745
  case l:
746
746
  case c:
747
747
  case r:
748
748
  case s:
749
749
  case i:
750
750
  case d:
751
- return wt;
751
+ return Tt;
752
752
  default:
753
- var Ht = wt && wt.$$typeof;
753
+ var Ht = Tt && Tt.$$typeof;
754
754
  switch (Ht) {
755
755
  case a:
756
756
  case u:
@@ -767,17 +767,17 @@ function Sl() {
767
767
  }
768
768
  }
769
769
  }
770
- var m = l, V = c, E = a, y = o, b = e, T = u, P = r, k = p, W = h, Q = n, tt = s, G = i, D = d, I = !1;
770
+ var m = l, V = c, E = a, y = o, b = e, T = u, P = r, k = p, z = h, Q = n, tt = s, G = i, D = d, I = !1;
771
771
  function st(R) {
772
772
  return I || (I = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), et(R) || C(R) === l;
773
773
  }
774
774
  function et(R) {
775
775
  return C(R) === c;
776
776
  }
777
- function Ot(R) {
777
+ function $t(R) {
778
778
  return C(R) === a;
779
779
  }
780
- function _t(R) {
780
+ function Ot(R) {
781
781
  return C(R) === o;
782
782
  }
783
783
  function yt(R) {
@@ -807,8 +807,8 @@ function Sl() {
807
807
  function Gt(R) {
808
808
  return C(R) === d;
809
809
  }
810
- _.AsyncMode = m, _.ConcurrentMode = V, _.ContextConsumer = E, _.ContextProvider = y, _.Element = b, _.ForwardRef = T, _.Fragment = P, _.Lazy = k, _.Memo = W, _.Portal = Q, _.Profiler = tt, _.StrictMode = G, _.Suspense = D, _.isAsyncMode = st, _.isConcurrentMode = et, _.isContextConsumer = Ot, _.isContextProvider = _t, _.isElement = yt, _.isForwardRef = pt, _.isFragment = Bt, _.isLazy = dt, _.isMemo = Ft, _.isPortal = vt, _.isProfiler = bt, _.isStrictMode = qt, _.isSuspense = Gt, _.isValidElementType = w, _.typeOf = C;
811
- }()), _;
810
+ O.AsyncMode = m, O.ConcurrentMode = V, O.ContextConsumer = E, O.ContextProvider = y, O.Element = b, O.ForwardRef = T, O.Fragment = P, O.Lazy = k, O.Memo = z, O.Portal = Q, O.Profiler = tt, O.StrictMode = G, O.Suspense = D, O.isAsyncMode = st, O.isConcurrentMode = et, O.isContextConsumer = $t, O.isContextProvider = Ot, O.isElement = yt, O.isForwardRef = pt, O.isFragment = Bt, O.isLazy = dt, O.isMemo = Ft, O.isPortal = vt, O.isProfiler = bt, O.isStrictMode = qt, O.isSuspense = Gt, O.isValidElementType = w, O.typeOf = C;
811
+ }()), O;
812
812
  }
813
813
  var ai;
814
814
  function wl() {
@@ -990,16 +990,16 @@ var Rl = {
990
990
  case "animationName":
991
991
  if (typeof n == "string")
992
992
  return n.replace(Ml, function(r, i, s) {
993
- return Pt = {
993
+ return Ct = {
994
994
  name: i,
995
995
  styles: s,
996
- next: Pt
996
+ next: Ct
997
997
  }, i;
998
998
  });
999
999
  }
1000
1000
  return Rl[e] !== 1 && !Ys(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
1001
1001
  };
1002
- function $e(t, e, n) {
1002
+ function Le(t, e, n) {
1003
1003
  if (n == null)
1004
1004
  return "";
1005
1005
  var r = n;
@@ -1011,20 +1011,20 @@ function $e(t, e, n) {
1011
1011
  case "object": {
1012
1012
  var i = n;
1013
1013
  if (i.anim === 1)
1014
- return Pt = {
1014
+ return Ct = {
1015
1015
  name: i.name,
1016
1016
  styles: i.styles,
1017
- next: Pt
1017
+ next: Ct
1018
1018
  }, i.name;
1019
1019
  var s = n;
1020
1020
  if (s.styles !== void 0) {
1021
1021
  var o = s.next;
1022
1022
  if (o !== void 0)
1023
1023
  for (; o !== void 0; )
1024
- Pt = {
1024
+ Ct = {
1025
1025
  name: o.name,
1026
1026
  styles: o.styles,
1027
- next: Pt
1027
+ next: Ct
1028
1028
  }, o = o.next;
1029
1029
  var a = s.styles + ";";
1030
1030
  return a;
@@ -1033,8 +1033,8 @@ function $e(t, e, n) {
1033
1033
  }
1034
1034
  case "function": {
1035
1035
  if (t !== void 0) {
1036
- var l = Pt, c = n(t);
1037
- return Pt = l, $e(t, e, c);
1036
+ var l = Ct, c = n(t);
1037
+ return Ct = l, Le(t, e, c);
1038
1038
  }
1039
1039
  break;
1040
1040
  }
@@ -1046,7 +1046,7 @@ function kl(t, e, n) {
1046
1046
  var r = "";
1047
1047
  if (Array.isArray(n))
1048
1048
  for (var i = 0; i < n.length; i++)
1049
- r += $e(t, e, n[i]) + ";";
1049
+ r += Le(t, e, n[i]) + ";";
1050
1050
  else
1051
1051
  for (var s in n) {
1052
1052
  var o = n[s];
@@ -1057,7 +1057,7 @@ function kl(t, e, n) {
1057
1057
  for (var l = 0; l < o.length; l++)
1058
1058
  ci(o[l]) && (r += kn(s) + ":" + ui(s, o[l]) + ";");
1059
1059
  else {
1060
- var c = $e(t, e, o);
1060
+ var c = Le(t, e, o);
1061
1061
  switch (s) {
1062
1062
  case "animation":
1063
1063
  case "animationName": {
@@ -1071,21 +1071,21 @@ function kl(t, e, n) {
1071
1071
  }
1072
1072
  return r;
1073
1073
  }
1074
- var di = /label:\s*([^\s;{]+)\s*(;|$)/g, Pt;
1074
+ var di = /label:\s*([^\s;{]+)\s*(;|$)/g, Ct;
1075
1075
  function Dl(t, e, n) {
1076
1076
  if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
1077
1077
  return t[0];
1078
1078
  var r = !0, i = "";
1079
- Pt = void 0;
1079
+ Ct = void 0;
1080
1080
  var s = t[0];
1081
1081
  if (s == null || s.raw === void 0)
1082
- r = !1, i += $e(n, e, s);
1082
+ r = !1, i += Le(n, e, s);
1083
1083
  else {
1084
1084
  var o = s;
1085
1085
  i += o[0];
1086
1086
  }
1087
1087
  for (var a = 1; a < t.length; a++)
1088
- if (i += $e(n, e, t[a]), r) {
1088
+ if (i += Le(n, e, t[a]), r) {
1089
1089
  var l = s;
1090
1090
  i += l[a];
1091
1091
  }
@@ -1096,12 +1096,12 @@ function Dl(t, e, n) {
1096
1096
  return {
1097
1097
  name: d,
1098
1098
  styles: i,
1099
- next: Pt
1099
+ next: Ct
1100
1100
  };
1101
1101
  }
1102
- var Ll = function(e) {
1102
+ var _l = function(e) {
1103
1103
  return e();
1104
- }, $l = lt.useInsertionEffect ? lt.useInsertionEffect : !1, Ol = $l || Ll, Xs = /* @__PURE__ */ lt.createContext(
1104
+ }, Ll = lt.useInsertionEffect ? lt.useInsertionEffect : !1, $l = Ll || _l, Xs = /* @__PURE__ */ lt.createContext(
1105
1105
  // we're doing this to avoid preconstruct's dead code elimination in this one case
1106
1106
  // because this module is primarily intended for the browser and node
1107
1107
  // but it's also required in react native and similar environments sometimes
@@ -1113,7 +1113,7 @@ var Ll = function(e) {
1113
1113
  }) : null
1114
1114
  );
1115
1115
  Xs.Provider;
1116
- var _l = function(e) {
1116
+ var Ol = function(e) {
1117
1117
  return /* @__PURE__ */ Fs(function(n, r) {
1118
1118
  var i = rt(Xs);
1119
1119
  return e(n, i, r);
@@ -1125,10 +1125,10 @@ var _l = function(e) {
1125
1125
  return r[Zn] = e, r;
1126
1126
  }, Fl = function(e) {
1127
1127
  var n = e.cache, r = e.serialized, i = e.isStringTag;
1128
- return Ks(n, r, i), Ol(function() {
1128
+ return Ks(n, r, i), $l(function() {
1129
1129
  return Al(n, r, i);
1130
1130
  }), null;
1131
- }, Il = /* @__PURE__ */ _l(function(t, e, n) {
1131
+ }, Il = /* @__PURE__ */ Ol(function(t, e, n) {
1132
1132
  var r = t.css;
1133
1133
  typeof r == "string" && e.registered[r] !== void 0 && (r = e.registered[r]);
1134
1134
  var i = t[Zn], s = [r], o = "";
@@ -1143,12 +1143,12 @@ var _l = function(e) {
1143
1143
  serialized: a,
1144
1144
  isStringTag: typeof i == "string"
1145
1145
  }), /* @__PURE__ */ lt.createElement(i, l));
1146
- }), Js = Il, jl = ke.Fragment, A = function(e, n, r) {
1146
+ }), Js = Il, Nl = ke.Fragment, A = function(e, n, r) {
1147
1147
  return Pn.call(n, "css") ? ke.jsx(Js, Zs(e, n), r) : ke.jsx(e, n, r);
1148
1148
  }, ht = function(e, n, r) {
1149
1149
  return Pn.call(n, "css") ? ke.jsxs(Js, Zs(e, n), r) : ke.jsxs(e, n, r);
1150
1150
  };
1151
- function Nl(t) {
1151
+ function jl(t) {
1152
1152
  var e = t.match(/^var\((.*)\)$/);
1153
1153
  return e ? e[1] : t;
1154
1154
  }
@@ -1158,7 +1158,7 @@ function B(t, e) {
1158
1158
  var r = t;
1159
1159
  for (var i in r) {
1160
1160
  var s = r[i];
1161
- s != null && (n[Nl(i)] = s);
1161
+ s != null && (n[jl(i)] = s);
1162
1162
  }
1163
1163
  }
1164
1164
  return Object.defineProperty(n, "toString", {
@@ -1168,7 +1168,7 @@ function B(t, e) {
1168
1168
  writable: !1
1169
1169
  }), n;
1170
1170
  }
1171
- const fi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif', Qs = "#FF7377", Ln = "#C8AE96", Y = "#FCEFE6", Ul = "#2E2E2E", hi = "#CCCCCC", Wl = " #888888", nt = "#000000", $n = Qs, F = {
1171
+ const fi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif', Qs = "#FF7377", _n = "#C8AE96", Y = "#FCEFE6", Ul = "#2E2E2E", hi = "#CCCCCC", zl = " #888888", nt = "#000000", Ln = Qs, F = {
1172
1172
  global: {
1173
1173
  maxWidth: 1200,
1174
1174
  paddingLeft: [15, 15, 30, 30],
@@ -1189,7 +1189,7 @@ const fi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif'
1189
1189
  cookieConsent: Y
1190
1190
  },
1191
1191
  borders: {
1192
- hr: `1px solid ${Ln}`,
1192
+ hr: `1px solid ${_n}`,
1193
1193
  cookieConsent: `2px solid ${nt}`
1194
1194
  },
1195
1195
  borderRadius: {
@@ -1216,19 +1216,19 @@ const fi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif'
1216
1216
  color: {
1217
1217
  primary: Y,
1218
1218
  secondary: Ul,
1219
- disabled: Wl
1219
+ disabled: zl
1220
1220
  },
1221
1221
  backgroundColor: {
1222
- primary: $n,
1223
- secondary: Ln,
1222
+ primary: Ln,
1223
+ secondary: _n,
1224
1224
  disabled: hi
1225
1225
  },
1226
1226
  border: {
1227
1227
  width: 2,
1228
1228
  style: "solid",
1229
1229
  color: {
1230
- primary: $n,
1231
- secondary: Ln,
1230
+ primary: Ln,
1231
+ secondary: _n,
1232
1232
  disabled: hi
1233
1233
  }
1234
1234
  },
@@ -1272,7 +1272,7 @@ const fi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif'
1272
1272
  label: {
1273
1273
  font: fi,
1274
1274
  fontWeight: 500,
1275
- color: $n,
1275
+ color: Ln,
1276
1276
  paddingBottom: 5
1277
1277
  },
1278
1278
  input: {
@@ -1437,8 +1437,8 @@ const fi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif'
1437
1437
  "2xl": 1536
1438
1438
  // Grand écran
1439
1439
  };
1440
- function Mt() {
1441
- const [t, e] = Lt("mobile");
1440
+ function wt() {
1441
+ const [t, e] = _t("mobile");
1442
1442
  return St(() => {
1443
1443
  function r() {
1444
1444
  const i = window.innerWidth;
@@ -1447,7 +1447,7 @@ function Mt() {
1447
1447
  return r(), window.addEventListener("resize", r), () => window.removeEventListener("resize", r);
1448
1448
  }, []), ["mobile", "sm", "md", "lg", "xl", "2xl"].indexOf(t);
1449
1449
  }
1450
- var zl = "var(--_1h0tdm50)", ql = "var(--_1h0tdm51)", Gl = "var(--_1h0tdm52)", Hl = "var(--_1h0tdm53)", Kl = "var(--_1h0tdm54)", Yl = "var(--_1h0tdm55)", Xl = "var(--_1h0tdm56)", Zl = "var(--_1h0tdm57)", Jl = "var(--_1h0tdm58)", Ql = "var(--_1h0tdm59)", tc = "var(--_1h0tdm5a)", ec = "var(--_1h0tdm5b)", nc = "var(--_1h0tdm5c)", rc = "var(--_1h0tdm5d)", Zp = { position: "relative", display: "inline-block", color: "var(--_1h0tdm50)", border: "var(--_1h0tdm52)", cursor: "var(--_1h0tdm51)", minWidth: "var(--_1h0tdm53)", fontWeight: "var(--_1h0tdm54)", transition: "var(--_1h0tdm55)", paddingTop: "var(--_1h0tdm56)", paddingLeft: "var(--_1h0tdm57)", paddingRight: "var(--_1h0tdm58)", paddingBottom: "var(--_1h0tdm59)", pointerEvent: "var(--_1h0tdm5a)", borderRadius: "var(--_1h0tdm5b)", letterSpacing: "var(--_1h0tdm5c)", backgroundColor: "var(--_1h0tdm5d)", selectors: { "&:hover": { opacity: 0.5 } } }, Jn = /* @__PURE__ */ ((t) => (t[t.Primary = 0] = "Primary", t[t.Secondary = 1] = "Secondary", t))(Jn || {}), Qn = /* @__PURE__ */ ((t) => (t[t.Fill = 0] = "Fill", t[t.Outline = 1] = "Outline", t))(Qn || {}), sn = /* @__PURE__ */ ((t) => (t[t.Small = 0] = "Small", t[t.Medium = 1] = "Medium", t[t.Large = 2] = "Large", t))(sn || {}), to = /* @__PURE__ */ ((t) => (t.Reset = "reset", t.Button = "button", t.Submit = "submit", t))(to || {});
1450
+ var Wl = "var(--_1h0tdm50)", ql = "var(--_1h0tdm51)", Gl = "var(--_1h0tdm52)", Hl = "var(--_1h0tdm53)", Kl = "var(--_1h0tdm54)", Yl = "var(--_1h0tdm55)", Xl = "var(--_1h0tdm56)", Zl = "var(--_1h0tdm57)", Jl = "var(--_1h0tdm58)", Ql = "var(--_1h0tdm59)", tc = "var(--_1h0tdm5a)", ec = "var(--_1h0tdm5b)", nc = "var(--_1h0tdm5c)", rc = "var(--_1h0tdm5d)", Zp = { position: "relative", display: "inline-block", color: "var(--_1h0tdm50)", border: "var(--_1h0tdm52)", cursor: "var(--_1h0tdm51)", minWidth: "var(--_1h0tdm53)", fontWeight: "var(--_1h0tdm54)", transition: "var(--_1h0tdm55)", paddingTop: "var(--_1h0tdm56)", paddingLeft: "var(--_1h0tdm57)", paddingRight: "var(--_1h0tdm58)", paddingBottom: "var(--_1h0tdm59)", pointerEvent: "var(--_1h0tdm5a)", borderRadius: "var(--_1h0tdm5b)", letterSpacing: "var(--_1h0tdm5c)", backgroundColor: "var(--_1h0tdm5d)", selectors: { "&:hover": { opacity: 0.5 } } }, Jn = /* @__PURE__ */ ((t) => (t[t.Primary = 0] = "Primary", t[t.Secondary = 1] = "Secondary", t))(Jn || {}), Qn = /* @__PURE__ */ ((t) => (t[t.Fill = 0] = "Fill", t[t.Outline = 1] = "Outline", t))(Qn || {}), sn = /* @__PURE__ */ ((t) => (t[t.Small = 0] = "Small", t[t.Medium = 1] = "Medium", t[t.Large = 2] = "Large", t))(sn || {}), to = /* @__PURE__ */ ((t) => (t.Reset = "reset", t.Button = "button", t.Submit = "submit", t))(to || {});
1451
1451
  const pi = ({
1452
1452
  children: t,
1453
1453
  className: e,
@@ -1461,7 +1461,7 @@ const pi = ({
1461
1461
  theme: c = F,
1462
1462
  variant: u = Jn.Primary
1463
1463
  }) => {
1464
- const d = Mt(), { button: { color: f, backgroundColor: h, border: p, minWidth: g, fontWeight: x, transition: v, borderRadius: S, letterSpacing: w, paddingTop: C, paddingBottom: m, paddingLeft: V, paddingRight: E } } = c, y = a === sn.Large, b = a === sn.Small, T = o === Qn.Outline, P = u === Jn.Secondary;
1464
+ const d = wt(), { button: { color: f, backgroundColor: h, border: p, minWidth: g, fontWeight: x, transition: v, borderRadius: S, letterSpacing: w, paddingTop: C, paddingBottom: m, paddingLeft: V, paddingRight: E } } = c, y = a === sn.Large, b = a === sn.Small, T = o === Qn.Outline, P = u === Jn.Secondary;
1465
1465
  return /* @__PURE__ */ A(
1466
1466
  "button",
1467
1467
  {
@@ -1476,7 +1476,7 @@ const pi = ({
1476
1476
  [nc]: `${w}px`,
1477
1477
  [ql]: i || r ? "default" : "pointer",
1478
1478
  [tc]: i || r ? "none" : "auto",
1479
- [zl]: T && n ? n : T && P ? h.secondary : T ? h.primary : P ? f.secondary : i || r ? f.disabled : f.primary,
1479
+ [Wl]: T && n ? n : T && P ? h.secondary : T ? h.primary : P ? f.secondary : i || r ? f.disabled : f.primary,
1480
1480
  [rc]: T ? "transparent" : n || (P ? h.secondary : i ? h.disabled : h.primary),
1481
1481
  [Gl]: n ? `${p.width}px ${p.style} ${n}` : P ? `${p.width}px ${p.style} ${p.color.secondary}` : i ? `${p.width}px ${p.style} ${p.color.disabled}` : `${p.width}px ${p.style} ${p.color.primary}`,
1482
1482
  [Xl]: b ? `${C.small[d]}px` : y ? `${C.large[d]}px` : `${C.medium[d]}px`,
@@ -1490,7 +1490,7 @@ const pi = ({
1490
1490
  };
1491
1491
  var ic = "var(--_1v7zi9y0)", sc = "var(--_1v7zi9y1)", oc = "var(--_1v7zi9y2)", ac = "var(--_1v7zi9y3)", lc = "var(--_1v7zi9y4)", Jp = { width: "100%", display: "flex", flexWrap: "wrap", flexDirection: "row", gap: "var(--_1v7zi9y0)", alignItems: "var(--_1v7zi9y1)", paddingTop: "var(--_1v7zi9y2)", paddingBottom: "var(--_1v7zi9y3)", justifyContent: "var(--_1v7zi9y4)" }, Te = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(Te || {});
1492
1492
  const Qp = ({ children: t, className: e, theme: n = F, align: r = Te.Left }) => {
1493
- const i = Mt(), { actions: { gap: s, paddingTop: o, paddingBottom: a } } = n;
1493
+ const i = wt(), { actions: { gap: s, paddingTop: o, paddingBottom: a } } = n;
1494
1494
  return /* @__PURE__ */ A("div", { className: e, style: B({
1495
1495
  [ic]: `${s[i]}px`,
1496
1496
  [oc]: `${o[i]}px`,
@@ -1555,7 +1555,7 @@ const nm = ({
1555
1555
  onModalHide: r,
1556
1556
  className: i
1557
1557
  }) => {
1558
- const s = Mt(), {
1558
+ const s = wt(), {
1559
1559
  global: { paddingLeft: o, paddingRight: a },
1560
1560
  modal: { overlayBlur: l, overlayOpacity: c, overlayBackgroundColor: u, border: d, width: f, borderRadius: h, backgroundColor: p, paddingTop: g, paddingLeft: x, paddingRight: v, paddingBottom: S }
1561
1561
  } = n;
@@ -1603,7 +1603,7 @@ const xc = ({
1603
1603
  isPlayingFullScreen: d = !1,
1604
1604
  className: f
1605
1605
  }) => {
1606
- const h = le(null), [p, g] = Lt(!1), [x, v] = Lt(e || r), S = () => {
1606
+ const h = le(null), [p, g] = _t(!1), [x, v] = _t(e || r), S = () => {
1607
1607
  var y;
1608
1608
  i && i(), (y = h.current) == null || y.play(), g(!0);
1609
1609
  }, w = () => {
@@ -1642,9 +1642,9 @@ const im = ({ children: t, theme: e = F, className: n }) => /* @__PURE__ */ A(
1642
1642
  children: t
1643
1643
  }
1644
1644
  );
1645
- var On = { gap: "var(--_1vea7fs0)", displayItem: "var(--_1vea7fs1)", isFullWidth: "var(--_1vea7fs2)" }, sm = { gap: "var(--_1vea7fs0)", display: "flex", flexWrap: "nowrap", overflow: "hidden", width: "var(--_1vea7fs2)" };
1645
+ var $n = { gap: "var(--_1vea7fs0)", displayItem: "var(--_1vea7fs1)", isFullWidth: "var(--_1vea7fs2)" }, sm = { gap: "var(--_1vea7fs0)", display: "flex", flexWrap: "nowrap", overflow: "hidden", width: "var(--_1vea7fs2)" };
1646
1646
  function wc() {
1647
- const [t, e] = Lt({
1647
+ const [t, e] = _t({
1648
1648
  width: void 0,
1649
1649
  height: void 0
1650
1650
  });
@@ -1667,7 +1667,7 @@ const om = ({
1667
1667
  displayNavButtons: s = !1,
1668
1668
  className: o
1669
1669
  }) => {
1670
- const { width: a } = wc(), [l, c] = Lt(0), u = le(null), [d, f] = Lt(n);
1670
+ const { width: a } = wc(), [l, c] = _t(0), u = le(null), [d, f] = _t(n);
1671
1671
  return St(() => {
1672
1672
  a && a > 1024 ? f(n) : a && a > 768 ? f(Math.min(n, 2)) : f(1);
1673
1673
  }, [a, n]), /* @__PURE__ */ ht(
@@ -1676,9 +1676,9 @@ const om = ({
1676
1676
  ref: u,
1677
1677
  className: o,
1678
1678
  style: B({
1679
- [On.gap]: `${e.carousel.gap[0]}px`,
1680
- [On.displayItem]: `${d}`,
1681
- [On.isFullWidth]: r ? "100vw" : "100%"
1679
+ [$n.gap]: `${e.carousel.gap[0]}px`,
1680
+ [$n.displayItem]: `${d}`,
1681
+ [$n.isFullWidth]: r ? "100vw" : "100%"
1682
1682
  }),
1683
1683
  children: [
1684
1684
  t.map((h, p) => /* @__PURE__ */ A("div", { children: h }, p)),
@@ -1775,13 +1775,13 @@ var gi;
1775
1775
  function Ac() {
1776
1776
  if (gi) return Se;
1777
1777
  gi = 1, Object.defineProperty(Se, "__esModule", { value: !0 });
1778
- var t = Oa, e = Cc;
1778
+ var t = $a, e = Cc;
1779
1779
  function n(y, b) {
1780
1780
  var T = y == null ? null : typeof Symbol < "u" && y[Symbol.iterator] || y["@@iterator"];
1781
1781
  if (T != null) {
1782
- var P, k, W, Q, tt = [], G = !0, D = !1;
1782
+ var P, k, z, Q, tt = [], G = !0, D = !1;
1783
1783
  try {
1784
- if (W = (T = T.call(y)).next, b !== 0) for (; !(G = (P = W.call(T)).done) && (tt.push(P.value), tt.length !== b); G = !0) ;
1784
+ if (z = (T = T.call(y)).next, b !== 0) for (; !(G = (P = z.call(T)).done) && (tt.push(P.value), tt.length !== b); G = !0) ;
1785
1785
  } catch (I) {
1786
1786
  D = !0, k = I;
1787
1787
  } finally {
@@ -1849,18 +1849,18 @@ function Ac() {
1849
1849
  }
1850
1850
  function c(y, b) {
1851
1851
  if (y == null) return {};
1852
- var T = {}, P = Object.keys(y), k, W;
1853
- for (W = 0; W < P.length; W++)
1854
- k = P[W], !(b.indexOf(k) >= 0) && (T[k] = y[k]);
1852
+ var T = {}, P = Object.keys(y), k, z;
1853
+ for (z = 0; z < P.length; z++)
1854
+ k = P[z], !(b.indexOf(k) >= 0) && (T[k] = y[k]);
1855
1855
  return T;
1856
1856
  }
1857
1857
  function u(y, b) {
1858
1858
  if (y == null) return {};
1859
1859
  var T = c(y, b), P, k;
1860
1860
  if (Object.getOwnPropertySymbols) {
1861
- var W = Object.getOwnPropertySymbols(y);
1862
- for (k = 0; k < W.length; k++)
1863
- P = W[k], !(b.indexOf(P) >= 0) && Object.prototype.propertyIsEnumerable.call(y, P) && (T[P] = y[P]);
1861
+ var z = Object.getOwnPropertySymbols(y);
1862
+ for (k = 0; k < z.length; k++)
1863
+ P = z[k], !(b.indexOf(P) >= 0) && Object.prototype.propertyIsEnumerable.call(y, P) && (T[P] = y[P]);
1864
1864
  }
1865
1865
  return T;
1866
1866
  }
@@ -1899,10 +1899,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1899
1899
  }, []);
1900
1900
  }
1901
1901
  var S = function(b, T) {
1902
- var P = T.decimal, k = T.decimals, W = T.duration, Q = T.easingFn, tt = T.end, G = T.formattingFn, D = T.numerals, I = T.prefix, st = T.separator, et = T.start, Ot = T.suffix, _t = T.useEasing, yt = T.useGrouping, pt = T.useIndianSeparators, Bt = T.enableScrollSpy, dt = T.scrollSpyDelay, Ft = T.scrollSpyOnce, vt = T.plugin;
1902
+ var P = T.decimal, k = T.decimals, z = T.duration, Q = T.easingFn, tt = T.end, G = T.formattingFn, D = T.numerals, I = T.prefix, st = T.separator, et = T.start, $t = T.suffix, Ot = T.useEasing, yt = T.useGrouping, pt = T.useIndianSeparators, Bt = T.enableScrollSpy, dt = T.scrollSpyDelay, Ft = T.scrollSpyOnce, vt = T.plugin;
1903
1903
  return new e.CountUp(b, tt, {
1904
1904
  startVal: et,
1905
- duration: W,
1905
+ duration: z,
1906
1906
  decimal: P,
1907
1907
  decimalPlaces: k,
1908
1908
  easingFn: Q,
@@ -1910,9 +1910,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1910
1910
  numerals: D,
1911
1911
  separator: st,
1912
1912
  prefix: I,
1913
- suffix: Ot,
1913
+ suffix: $t,
1914
1914
  plugin: vt,
1915
- useEasing: _t,
1915
+ useEasing: Ot,
1916
1916
  useIndianSeparators: pt,
1917
1917
  useGrouping: yt,
1918
1918
  enableScrollSpy: Bt,
@@ -1935,18 +1935,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1935
1935
  useIndianSeparators: !1
1936
1936
  }, m = function(b) {
1937
1937
  var T = Object.fromEntries(Object.entries(b).filter(function(ot) {
1938
- var wt = d(ot, 2), Ht = wt[1];
1938
+ var Tt = d(ot, 2), Ht = Tt[1];
1939
1939
  return Ht !== void 0;
1940
1940
  })), P = t.useMemo(function() {
1941
1941
  return i(i({}, C), T);
1942
- }, [b]), k = P.ref, W = P.startOnMount, Q = P.enableReinitialize, tt = P.delay, G = P.onEnd, D = P.onStart, I = P.onPauseResume, st = P.onReset, et = P.onUpdate, Ot = u(P, w), _t = t.useRef(), yt = t.useRef(), pt = t.useRef(!1), Bt = v(function() {
1943
- return S(typeof k == "string" ? k : k.current, Ot);
1942
+ }, [b]), k = P.ref, z = P.startOnMount, Q = P.enableReinitialize, tt = P.delay, G = P.onEnd, D = P.onStart, I = P.onPauseResume, st = P.onReset, et = P.onUpdate, $t = u(P, w), Ot = t.useRef(), yt = t.useRef(), pt = t.useRef(!1), Bt = v(function() {
1943
+ return S(typeof k == "string" ? k : k.current, $t);
1944
1944
  }), dt = v(function(ot) {
1945
- var wt = _t.current;
1946
- if (wt && !ot)
1947
- return wt;
1945
+ var Tt = Ot.current;
1946
+ if (Tt && !ot)
1947
+ return Tt;
1948
1948
  var Ht = Bt();
1949
- return _t.current = Ht, Ht;
1949
+ return Ot.current = Ht, Ht;
1950
1950
  }), Ft = v(function() {
1951
1951
  var ot = function() {
1952
1952
  return dt(!0).start(function() {
@@ -1984,7 +1984,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1984
1984
  }), Gt = v(function() {
1985
1985
  bt(), Ft();
1986
1986
  }), R = v(function(ot) {
1987
- W && (ot && bt(), Ft());
1987
+ z && (ot && bt(), Ft());
1988
1988
  });
1989
1989
  return t.useEffect(function() {
1990
1990
  pt.current ? Q && R(!0) : (pt.current = !0, R());
@@ -2000,15 +2000,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2000
2000
  getCountUp: dt
2001
2001
  };
2002
2002
  }, V = ["className", "redraw", "containerProps", "children", "style"], E = function(b) {
2003
- var T = b.className, P = b.redraw, k = b.containerProps, W = b.children, Q = b.style, tt = u(b, V), G = t.useRef(null), D = t.useRef(!1), I = m(i(i({}, tt), {}, {
2003
+ var T = b.className, P = b.redraw, k = b.containerProps, z = b.children, Q = b.style, tt = u(b, V), G = t.useRef(null), D = t.useRef(!1), I = m(i(i({}, tt), {}, {
2004
2004
  ref: G,
2005
- startOnMount: typeof W != "function" || b.delay === 0,
2005
+ startOnMount: typeof z != "function" || b.delay === 0,
2006
2006
  // component manually restarts
2007
2007
  enableReinitialize: !1
2008
- })), st = I.start, et = I.reset, Ot = I.update, _t = I.pauseResume, yt = I.getCountUp, pt = v(function() {
2008
+ })), st = I.start, et = I.reset, $t = I.update, Ot = I.pauseResume, yt = I.getCountUp, pt = v(function() {
2009
2009
  st();
2010
2010
  }), Bt = v(function(vt) {
2011
- b.preserveValue || et(), Ot(vt);
2011
+ b.preserveValue || et(), $t(vt);
2012
2012
  }), dt = v(function() {
2013
2013
  if (typeof b.children == "function" && !(G.current instanceof Element)) {
2014
2014
  console.error(`Couldn't find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. <span ref={containerRef} />.`);
@@ -2028,12 +2028,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2028
2028
  !P && D.current && pt();
2029
2029
  }, [pt, P, b.start, b.suffix, b.prefix, b.duration, b.separator, b.decimals, b.decimal, b.className, b.formattingFn]), t.useEffect(function() {
2030
2030
  D.current = !0;
2031
- }, []), typeof W == "function" ? W({
2031
+ }, []), typeof z == "function" ? z({
2032
2032
  countUpRef: G,
2033
2033
  start: st,
2034
2034
  reset: et,
2035
- update: Ot,
2036
- pauseResume: _t,
2035
+ update: $t,
2036
+ pauseResume: Ot,
2037
2037
  getCountUp: yt
2038
2038
  }) : /* @__PURE__ */ t.createElement("span", l({
2039
2039
  className: T,
@@ -2077,7 +2077,7 @@ function Dc(t) {
2077
2077
  }
2078
2078
  return n;
2079
2079
  }
2080
- function Lc(t, e, n = {}, r = Ec) {
2080
+ function _c(t, e, n = {}, r = Ec) {
2081
2081
  if (typeof window.IntersectionObserver > "u" && r !== void 0) {
2082
2082
  const l = t.getBoundingClientRect();
2083
2083
  return e(r, {
@@ -2096,7 +2096,7 @@ function Lc(t, e, n = {}, r = Ec) {
2096
2096
  a.splice(a.indexOf(e), 1), a.length === 0 && (o.delete(t), s.unobserve(t)), o.size === 0 && (s.disconnect(), tr.delete(i));
2097
2097
  };
2098
2098
  }
2099
- function $c({
2099
+ function Lc({
2100
2100
  threshold: t,
2101
2101
  delay: e,
2102
2102
  trackVisibility: n,
@@ -2117,7 +2117,7 @@ function $c({
2117
2117
  () => {
2118
2118
  if (o || !d) return;
2119
2119
  let w;
2120
- return w = Lc(
2120
+ return w = _c(
2121
2121
  d,
2122
2122
  (C, m) => {
2123
2123
  g({
@@ -2162,7 +2162,7 @@ function $c({
2162
2162
  const S = [f, p.inView, p.entry];
2163
2163
  return S.ref = S[0], S.inView = S[1], S.entry = S[2], S;
2164
2164
  }
2165
- var Oc = { keyNumberPaddingBottom: "var(--_177g97f0)" }, _c = "_177g97f1";
2165
+ var $c = { keyNumberPaddingBottom: "var(--_177g97f0)" }, Oc = "_177g97f1";
2166
2166
  const am = ({
2167
2167
  label: t,
2168
2168
  suffix: e,
@@ -2170,21 +2170,20 @@ const am = ({
2170
2170
  className: r,
2171
2171
  theme: i = F
2172
2172
  }) => {
2173
- const [s, o] = $c({
2173
+ const s = wt(), [o, a] = Lc({
2174
2174
  threshold: 0.3,
2175
2175
  triggerOnce: !0
2176
- }), { keyNumber: { paddingBottom: a } } = i;
2176
+ }), { keyNumber: { paddingBottom: l } } = i;
2177
2177
  return /* @__PURE__ */ ht(
2178
2178
  "div",
2179
2179
  {
2180
- ref: s,
2180
+ ref: o,
2181
2181
  className: r,
2182
- style: B({
2183
- [Oc.keyNumberPaddingBottom]: `${a || 15}px`
2184
- }),
2185
2182
  children: [
2186
- /* @__PURE__ */ ht("div", { className: _c, children: [
2187
- /* @__PURE__ */ A("span", { children: /* @__PURE__ */ A(Rc, { end: o ? n : 0, duration: 8 }) }),
2183
+ /* @__PURE__ */ ht("div", { className: Oc, style: B({
2184
+ [$c.keyNumberPaddingBottom]: `${l[s]}px`
2185
+ }), children: [
2186
+ /* @__PURE__ */ A("span", { children: /* @__PURE__ */ A(Rc, { end: a ? n : 0, duration: 8 }) }),
2188
2187
  e
2189
2188
  ] }),
2190
2189
  /* @__PURE__ */ A("p", { children: t })
@@ -2202,7 +2201,7 @@ const cm = ({
2202
2201
  startMuted: s = !1,
2203
2202
  theme: o = F
2204
2203
  }) => {
2205
- const a = Mt(), {
2204
+ const a = wt(), {
2206
2205
  global: { maxWidth: l, paddingLeft: c, paddingRight: u }
2207
2206
  } = o;
2208
2207
  return /* @__PURE__ */ A(
@@ -2237,7 +2236,7 @@ const dm = ({
2237
2236
  className: i,
2238
2237
  translations: s
2239
2238
  }) => {
2240
- const o = Mt(), { languageSwitcher: a } = r;
2239
+ const o = wt(), { languageSwitcher: a } = r;
2241
2240
  return /* @__PURE__ */ ht(
2242
2241
  "div",
2243
2242
  {
@@ -2261,16 +2260,16 @@ const dm = ({
2261
2260
  }
2262
2261
  );
2263
2262
  };
2264
- var jc = "var(--_1wp326d0)", Nc = "var(--_1wp326d1)", fm = { display: "flex", backgroundColor: "var(--_1wp326d1)", flex: "1 1 auto", minHeight: "45vh", textAlign: "center", alignItems: "center", flexDirection: "column", justifyContent: "center", "@media": { "screen and (min-width: 768px)": { minHeight: "var(--_1wp326d0)" } } };
2263
+ var Nc = "var(--_1wp326d0)", jc = "var(--_1wp326d1)", fm = { display: "flex", backgroundColor: "var(--_1wp326d1)", flex: "1 1 auto", minHeight: "45vh", textAlign: "center", alignItems: "center", flexDirection: "column", justifyContent: "center", "@media": { "screen and (min-width: 768px)": { minHeight: "var(--_1wp326d0)" } } };
2265
2264
  const hm = ({ children: t, className: e, theme: n = F }) => {
2266
2265
  const { main: { backgroundColor: r, minHeight: i } } = n;
2267
2266
  return /* @__PURE__ */ A("main", { className: e, style: B({
2268
- [jc]: i,
2269
- [Nc]: r
2267
+ [Nc]: i,
2268
+ [jc]: r
2270
2269
  }), children: t });
2271
2270
  };
2272
2271
  var bi = { overlayBottom: "var(--xr8l1e0)", overlayTransform: "var(--xr8l1e1)" }, Uc = "xr8l1e2";
2273
- const Wc = ({
2272
+ const zc = ({
2274
2273
  theme: t = F,
2275
2274
  isOpen: e = !1,
2276
2275
  children: n,
@@ -2289,7 +2288,7 @@ const Wc = ({
2289
2288
  children: n
2290
2289
  }
2291
2290
  ));
2292
- var zc = { displayOnDesktop: "var(--_1c0ak730)" }, qc = "_1c0ak731", xi = "_1c0ak732";
2291
+ var Wc = { displayOnDesktop: "var(--_1c0ak730)" }, qc = "_1c0ak731", xi = "_1c0ak732";
2293
2292
  const Gc = ({
2294
2293
  theme: t = F,
2295
2294
  isNavOpen: e = !1,
@@ -2305,7 +2304,7 @@ const Gc = ({
2305
2304
  {
2306
2305
  className: `${qc} ${i}`,
2307
2306
  style: B({
2308
- [zc.displayOnDesktop]: r ? "block" : "none"
2307
+ [Wc.displayOnDesktop]: r ? "block" : "none"
2309
2308
  }),
2310
2309
  onClick: s,
2311
2310
  "aria-label": "Toggle nav",
@@ -2326,8 +2325,8 @@ const pm = ({
2326
2325
  displayToggleNavOnDesktop: s = !1,
2327
2326
  className: o
2328
2327
  }) => {
2329
- const [a, l] = Lt(!1);
2330
- return /* @__PURE__ */ ht(jl, { children: [
2328
+ const [a, l] = _t(!1);
2329
+ return /* @__PURE__ */ ht(Nl, { children: [
2331
2330
  /* @__PURE__ */ ht(
2332
2331
  "header",
2333
2332
  {
@@ -2336,7 +2335,7 @@ const pm = ({
2336
2335
  [Hc.isFixed]: e ? "fixed" : "relative"
2337
2336
  }),
2338
2337
  children: [
2339
- n && /* @__PURE__ */ A(Wc, { className: "", theme: r, isOpen: a, children: n }),
2338
+ n && /* @__PURE__ */ A(zc, { className: "", theme: r, isOpen: a, children: n }),
2340
2339
  t,
2341
2340
  !i && /* @__PURE__ */ A(
2342
2341
  Gc,
@@ -2356,7 +2355,7 @@ const pm = ({
2356
2355
  };
2357
2356
  var te = { footerGap: "var(--fl7h880)", footerBackgroundColor: "var(--fl7h881)", footerPaddingTop: "var(--fl7h882)", footerPaddingBottom: "var(--fl7h883)", footerPaddingLeft: "var(--fl7h884)", footerPaddingRight: "var(--fl7h885)" }, mm = "fl7h886";
2358
2357
  const gm = ({ children: t, className: e, theme: n = F }) => {
2359
- const r = Mt(), {
2358
+ const r = wt(), {
2360
2359
  global: { paddingLeft: i, paddingRight: s },
2361
2360
  footer: { gap: o, backgroundColor: a, paddingTop: l, paddingBottom: c }
2362
2361
  } = n;
@@ -2409,7 +2408,7 @@ function Xc(t = !0) {
2409
2408
  const e = rt(Sr);
2410
2409
  if (e === null)
2411
2410
  return [!0, null];
2412
- const { isPresent: n, onExitComplete: r, register: i } = e, s = _a();
2411
+ const { isPresent: n, onExitComplete: r, register: i } = e, s = Oa();
2413
2412
  St(() => {
2414
2413
  if (t)
2415
2414
  return i(s);
@@ -2418,10 +2417,10 @@ function Xc(t = !0) {
2418
2417
  return !n && r ? [!1, o] : [!0];
2419
2418
  }
2420
2419
  const wr = typeof window < "u", io = wr ? Ba : St, ct = /* @__NO_SIDE_EFFECTS__ */ (t) => t;
2421
- let ge = ct, Et = ct;
2420
+ let ge = ct, Mt = ct;
2422
2421
  process.env.NODE_ENV !== "production" && (ge = (t, e) => {
2423
2422
  !t && typeof console < "u" && console.warn(e);
2424
- }, Et = (t, e) => {
2423
+ }, Mt = (t, e) => {
2425
2424
  if (!t)
2426
2425
  throw new Error(e);
2427
2426
  });
@@ -2433,7 +2432,7 @@ function Tr(t) {
2433
2432
  const de = /* @__NO_SIDE_EFFECTS__ */ (t, e, n) => {
2434
2433
  const r = e - t;
2435
2434
  return r === 0 ? 1 : (n - t) / r;
2436
- }, At = /* @__NO_SIDE_EFFECTS__ */ (t) => t * 1e3, Dt = /* @__NO_SIDE_EFFECTS__ */ (t) => t / 1e3, Zc = {
2435
+ }, Vt = /* @__NO_SIDE_EFFECTS__ */ (t) => t * 1e3, Dt = /* @__NO_SIDE_EFFECTS__ */ (t) => t / 1e3, Zc = {
2437
2436
  skipAnimations: !1,
2438
2437
  useManualTiming: !1
2439
2438
  }, Xe = [
@@ -2509,7 +2508,7 @@ function so(t, e) {
2509
2508
  o[Xe[S]].cancel(v);
2510
2509
  }, state: i, steps: o };
2511
2510
  }
2512
- const { schedule: j, cancel: Ut, state: H, steps: _n } = so(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ct, !0), oo = pe({ strict: !1 }), Si = {
2511
+ const { schedule: N, cancel: Ut, state: H, steps: On } = so(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ct, !0), oo = pe({ strict: !1 }), Si = {
2513
2512
  animation: [
2514
2513
  "animate",
2515
2514
  "variants",
@@ -2611,7 +2610,7 @@ const An = /* @__PURE__ */ pe({});
2611
2610
  function Vn(t) {
2612
2611
  return t !== null && typeof t == "object" && typeof t.start == "function";
2613
2612
  }
2614
- function Oe(t) {
2613
+ function $e(t) {
2615
2614
  return typeof t == "string" || Array.isArray(t);
2616
2615
  }
2617
2616
  const Pr = [
@@ -2624,7 +2623,7 @@ const Pr = [
2624
2623
  "exit"
2625
2624
  ], Cr = ["initial", ...Pr];
2626
2625
  function Rn(t) {
2627
- return Vn(t.animate) || Cr.some((e) => Oe(t[e]));
2626
+ return Vn(t.animate) || Cr.some((e) => $e(t[e]));
2628
2627
  }
2629
2628
  function lo(t) {
2630
2629
  return !!(Rn(t) || t.variants);
@@ -2633,8 +2632,8 @@ function su(t, e) {
2633
2632
  if (Rn(t)) {
2634
2633
  const { initial: n, animate: r } = t;
2635
2634
  return {
2636
- initial: n === !1 || Oe(n) ? n : void 0,
2637
- animate: Oe(r) ? r : void 0
2635
+ initial: n === !1 || $e(n) ? n : void 0,
2636
+ animate: $e(r) ? r : void 0
2638
2637
  };
2639
2638
  }
2640
2639
  return t.inherit !== !1 ? e : {};
@@ -2730,7 +2729,7 @@ function fu({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVis
2730
2729
  const x = mu(f);
2731
2730
  d = x.MeasureLayout, p.visualElement = uu(i, g, f, e, x.ProjectionNode);
2732
2731
  }
2733
- return $a(An.Provider, { value: p, children: [d && p.visualElement ? Bs(d, { visualElement: p.visualElement, ...f }) : null, n(i, c, lu(g, p.visualElement, u), g, h, p.visualElement)] });
2732
+ return La(An.Provider, { value: p, children: [d && p.visualElement ? Bs(d, { visualElement: p.visualElement, ...f }) : null, n(i, c, lu(g, p.visualElement, u), g, h, p.visualElement)] });
2734
2733
  }
2735
2734
  a.displayName = `motion.${typeof i == "string" ? i : `create(${(o = (s = i.displayName) !== null && s !== void 0 ? s : i.name) !== null && o !== void 0 ? o : ""})`}`;
2736
2735
  const l = Fs(a);
@@ -2744,7 +2743,7 @@ function pu(t, e) {
2744
2743
  const n = rt(oo).strict;
2745
2744
  if (process.env.NODE_ENV !== "production" && e && n) {
2746
2745
  const r = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
2747
- t.ignoreStrict ? ge(!1, r) : Et(!1, r);
2746
+ t.ignoreStrict ? ge(!1, r) : Mt(!1, r);
2748
2747
  }
2749
2748
  }
2750
2749
  function mu(t) {
@@ -2757,10 +2756,10 @@ function mu(t) {
2757
2756
  ProjectionNode: r.ProjectionNode
2758
2757
  };
2759
2758
  }
2760
- const ho = (t) => (e) => typeof e == "string" && e.startsWith(t), Rr = /* @__PURE__ */ ho("--"), gu = /* @__PURE__ */ ho("var(--"), Er = (t) => gu(t) ? yu.test(t.split("/*")[0].trim()) : !1, yu = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, _e = {};
2759
+ const ho = (t) => (e) => typeof e == "string" && e.startsWith(t), Rr = /* @__PURE__ */ ho("--"), gu = /* @__PURE__ */ ho("var(--"), Er = (t) => gu(t) ? yu.test(t.split("/*")[0].trim()) : !1, yu = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, Oe = {};
2761
2760
  function vu(t) {
2762
2761
  for (const e in t)
2763
- _e[e] = t[e], Rr(e) && (_e[e].isCSSVariable = !0);
2762
+ Oe[e] = t[e], Rr(e) && (Oe[e].isCSSVariable = !0);
2764
2763
  }
2765
2764
  const ye = [
2766
2765
  "transformPerspective",
@@ -2782,26 +2781,26 @@ const ye = [
2782
2781
  "skewY"
2783
2782
  ], Qt = new Set(ye);
2784
2783
  function po(t, { layout: e, layoutId: n }) {
2785
- return Qt.has(t) || t.startsWith("origin") || (e || n !== void 0) && (!!_e[t] || t === "opacity");
2784
+ return Qt.has(t) || t.startsWith("origin") || (e || n !== void 0) && (!!Oe[t] || t === "opacity");
2786
2785
  }
2787
- const J = (t) => !!(t && t.getVelocity), mo = (t, e) => e && typeof t == "number" ? e.transform(t) : t, $t = (t, e, n) => n > e ? e : n < t ? t : n, ve = {
2786
+ const J = (t) => !!(t && t.getVelocity), mo = (t, e) => e && typeof t == "number" ? e.transform(t) : t, Lt = (t, e, n) => n > e ? e : n < t ? t : n, ve = {
2788
2787
  test: (t) => typeof t == "number",
2789
2788
  parse: parseFloat,
2790
2789
  transform: (t) => t
2791
2790
  }, Be = {
2792
2791
  ...ve,
2793
- transform: (t) => $t(0, 1, t)
2792
+ transform: (t) => Lt(0, 1, t)
2794
2793
  }, Ze = {
2795
2794
  ...ve,
2796
2795
  default: 1
2797
- }, We = (t) => ({
2796
+ }, ze = (t) => ({
2798
2797
  test: (e) => typeof e == "string" && e.endsWith(t) && e.split(" ").length === 1,
2799
2798
  parse: parseFloat,
2800
2799
  transform: (e) => `${e}${t}`
2801
- }), Nt = /* @__PURE__ */ We("deg"), Vt = /* @__PURE__ */ We("%"), M = /* @__PURE__ */ We("px"), bu = /* @__PURE__ */ We("vh"), xu = /* @__PURE__ */ We("vw"), Pi = {
2802
- ...Vt,
2803
- parse: (t) => Vt.parse(t) / 100,
2804
- transform: (t) => Vt.transform(t * 100)
2800
+ }), jt = /* @__PURE__ */ ze("deg"), Rt = /* @__PURE__ */ ze("%"), M = /* @__PURE__ */ ze("px"), bu = /* @__PURE__ */ ze("vh"), xu = /* @__PURE__ */ ze("vw"), Pi = {
2801
+ ...Rt,
2802
+ parse: (t) => Rt.parse(t) / 100,
2803
+ transform: (t) => Rt.transform(t * 100)
2805
2804
  }, Su = {
2806
2805
  // Border props
2807
2806
  borderWidth: M,
@@ -2839,17 +2838,17 @@ const J = (t) => !!(t && t.getVelocity), mo = (t, e) => e && typeof t == "number
2839
2838
  backgroundPositionX: M,
2840
2839
  backgroundPositionY: M
2841
2840
  }, wu = {
2842
- rotate: Nt,
2843
- rotateX: Nt,
2844
- rotateY: Nt,
2845
- rotateZ: Nt,
2841
+ rotate: jt,
2842
+ rotateX: jt,
2843
+ rotateY: jt,
2844
+ rotateZ: jt,
2846
2845
  scale: Ze,
2847
2846
  scaleX: Ze,
2848
2847
  scaleY: Ze,
2849
2848
  scaleZ: Ze,
2850
- skew: Nt,
2851
- skewX: Nt,
2852
- skewY: Nt,
2849
+ skew: jt,
2850
+ skewX: jt,
2851
+ skewY: jt,
2853
2852
  distance: M,
2854
2853
  translateX: M,
2855
2854
  translateY: M,
@@ -2972,7 +2971,7 @@ const Eu = [
2972
2971
  "use",
2973
2972
  "view"
2974
2973
  ];
2975
- function Lr(t) {
2974
+ function _r(t) {
2976
2975
  return (
2977
2976
  /**
2978
2977
  * If it's not a string, it's a custom React component. Currently we only support
@@ -3009,11 +3008,11 @@ function Du(t, e, n = 1, r = 0, i = !0) {
3009
3008
  function Ai(t, e, n) {
3010
3009
  return typeof t == "string" ? t : M.transform(e + n * t);
3011
3010
  }
3012
- function Lu(t, e, n) {
3011
+ function _u(t, e, n) {
3013
3012
  const r = Ai(e, t.x, t.width), i = Ai(n, t.y, t.height);
3014
3013
  return `${r} ${i}`;
3015
3014
  }
3016
- function $r(t, {
3015
+ function Lr(t, {
3017
3016
  attrX: e,
3018
3017
  attrY: n,
3019
3018
  attrScale: r,
@@ -3031,16 +3030,16 @@ function $r(t, {
3031
3030
  }
3032
3031
  t.attrs = t.style, t.style = {};
3033
3032
  const { attrs: f, style: h, dimensions: p } = t;
3034
- f.transform && (p && (h.transform = f.transform), delete f.transform), p && (i !== void 0 || s !== void 0 || h.transform) && (h.transformOrigin = Lu(p, i !== void 0 ? i : 0.5, s !== void 0 ? s : 0.5)), e !== void 0 && (f.x = e), n !== void 0 && (f.y = n), r !== void 0 && (f.scale = r), o !== void 0 && Du(f, o, a, l, !1);
3033
+ f.transform && (p && (h.transform = f.transform), delete f.transform), p && (i !== void 0 || s !== void 0 || h.transform) && (h.transformOrigin = _u(p, i !== void 0 ? i : 0.5, s !== void 0 ? s : 0.5)), e !== void 0 && (f.x = e), n !== void 0 && (f.y = n), r !== void 0 && (f.scale = r), o !== void 0 && Du(f, o, a, l, !1);
3035
3034
  }
3036
3035
  const yo = () => ({
3037
3036
  ...Dr(),
3038
3037
  attrs: {}
3039
- }), Or = (t) => typeof t == "string" && t.toLowerCase() === "svg";
3040
- function $u(t, e, n, r) {
3038
+ }), $r = (t) => typeof t == "string" && t.toLowerCase() === "svg";
3039
+ function Lu(t, e, n, r) {
3041
3040
  const i = xn(() => {
3042
3041
  const s = yo();
3043
- return $r(s, e, Or(r), t.transformTemplate), {
3042
+ return Lr(s, e, $r(r), t.transformTemplate), {
3044
3043
  ...s.attrs,
3045
3044
  style: { ...s.style }
3046
3045
  };
@@ -3051,9 +3050,9 @@ function $u(t, e, n, r) {
3051
3050
  }
3052
3051
  return i;
3053
3052
  }
3054
- function Ou(t = !1) {
3053
+ function $u(t = !1) {
3055
3054
  return (n, r, i, { latestValues: s }, o) => {
3056
- const l = (Lr(n) ? $u : Ru)(r, s, o, n), c = ru(r, typeof n == "string", t), u = n !== js ? { ...c, ...l, ref: i } : {}, { children: d } = r, f = xn(() => J(d) ? d.get() : d, [d]);
3055
+ const l = (_r(n) ? Lu : Ru)(r, s, o, n), c = ru(r, typeof n == "string", t), u = n !== Ns ? { ...c, ...l, ref: i } : {}, { children: d } = r, f = xn(() => J(d) ? d.get() : d, [d]);
3057
3056
  return Ia(n, {
3058
3057
  ...u,
3059
3058
  children: f
@@ -3066,7 +3065,7 @@ function Vi(t) {
3066
3065
  e[0][r] = n.get(), e[1][r] = n.getVelocity();
3067
3066
  }), e;
3068
3067
  }
3069
- function _r(t, e, n, r) {
3068
+ function Or(t, e, n, r) {
3070
3069
  if (typeof e == "function") {
3071
3070
  const [i, s] = Vi(r);
3072
3071
  e = e(n !== void 0 ? n : t.custom, i, s);
@@ -3077,10 +3076,10 @@ function _r(t, e, n, r) {
3077
3076
  }
3078
3077
  return e;
3079
3078
  }
3080
- const er = (t) => Array.isArray(t), _u = (t) => !!(t && typeof t == "object" && t.mix && t.toValue), Bu = (t) => er(t) ? t[t.length - 1] || 0 : t;
3079
+ const er = (t) => Array.isArray(t), Ou = (t) => !!(t && typeof t == "object" && t.mix && t.toValue), Bu = (t) => er(t) ? t[t.length - 1] || 0 : t;
3081
3080
  function an(t) {
3082
3081
  const e = J(t) ? t.get() : t;
3083
- return _u(e) ? e.toValue() : e;
3082
+ return Ou(e) ? e.toValue() : e;
3084
3083
  }
3085
3084
  function Fu({ scrapeMotionValuesFromProps: t, createRenderState: e, onUpdate: n }, r, i, s) {
3086
3085
  const o = {
@@ -3106,7 +3105,7 @@ function Iu(t, e, n, r) {
3106
3105
  if (d && typeof d != "boolean" && !Vn(d)) {
3107
3106
  const f = Array.isArray(d) ? d : [d];
3108
3107
  for (let h = 0; h < f.length; h++) {
3109
- const p = _r(t, f[h]);
3108
+ const p = Or(t, f[h]);
3110
3109
  if (p) {
3111
3110
  const { transitionEnd: g, transition: x, ...v } = p;
3112
3111
  for (const S in v) {
@@ -3131,7 +3130,7 @@ function Br(t, e, n) {
3131
3130
  (J(i[o]) || e.style && J(e.style[o]) || po(o, t) || ((r = n == null ? void 0 : n.getValue(o)) === null || r === void 0 ? void 0 : r.liveStyle) !== void 0) && (s[o] = i[o]);
3132
3131
  return s;
3133
3132
  }
3134
- const ju = {
3133
+ const Nu = {
3135
3134
  useVisualState: vo({
3136
3135
  scrapeMotionValuesFromProps: Br,
3137
3136
  createRenderState: Dr
@@ -3193,7 +3192,7 @@ function To(t, e, n) {
3193
3192
  }
3194
3193
  return r;
3195
3194
  }
3196
- const Ri = ["x", "y", "width", "height", "cx", "cy", "r"], Nu = {
3195
+ const Ri = ["x", "y", "width", "height", "cx", "cy", "r"], ju = {
3197
3196
  useVisualState: vo({
3198
3197
  scrapeMotionValuesFromProps: To,
3199
3198
  createRenderState: yo,
@@ -3216,9 +3215,9 @@ const Ri = ["x", "y", "width", "height", "cx", "cy", "r"], Nu = {
3216
3215
  const l = Ri[a];
3217
3216
  t[l] !== e[l] && (o = !0);
3218
3217
  }
3219
- o && j.read(() => {
3220
- bo(n, r), j.render(() => {
3221
- $r(r, i, Or(n.tagName), t.transformTemplate), wo(n, r);
3218
+ o && N.read(() => {
3219
+ bo(n, r), N.render(() => {
3220
+ Lr(r, i, $r(n.tagName), t.transformTemplate), wo(n, r);
3222
3221
  });
3223
3222
  });
3224
3223
  }
@@ -3227,9 +3226,9 @@ const Ri = ["x", "y", "width", "height", "cx", "cy", "r"], Nu = {
3227
3226
  function Uu(t, e) {
3228
3227
  return function(r, { forwardMotionProps: i } = { forwardMotionProps: !1 }) {
3229
3228
  const o = {
3230
- ...Lr(r) ? Nu : ju,
3229
+ ..._r(r) ? ju : Nu,
3231
3230
  preloadedFeatures: t,
3232
- useRender: Ou(i),
3231
+ useRender: $u(i),
3233
3232
  createVisualElement: e,
3234
3233
  Component: r
3235
3234
  };
@@ -3238,10 +3237,10 @@ function Uu(t, e) {
3238
3237
  }
3239
3238
  function Fe(t, e, n) {
3240
3239
  const r = t.getProps();
3241
- return _r(r, e, n !== void 0 ? n : r.custom, t);
3240
+ return Or(r, e, n !== void 0 ? n : r.custom, t);
3242
3241
  }
3243
- const Wu = /* @__PURE__ */ Tr(() => window.ScrollTimeline !== void 0);
3244
- class zu {
3242
+ const zu = /* @__PURE__ */ Tr(() => window.ScrollTimeline !== void 0);
3243
+ class Wu {
3245
3244
  constructor(e) {
3246
3245
  this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
3247
3246
  }
@@ -3260,7 +3259,7 @@ class zu {
3260
3259
  }
3261
3260
  attachTimeline(e, n) {
3262
3261
  const r = this.animations.map((i) => {
3263
- if (Wu() && i.attachTimeline)
3262
+ if (zu() && i.attachTimeline)
3264
3263
  return i.attachTimeline(e);
3265
3264
  if (typeof n == "function")
3266
3265
  return n(i);
@@ -3311,7 +3310,7 @@ class zu {
3311
3310
  this.runAll("complete");
3312
3311
  }
3313
3312
  }
3314
- class qu extends zu {
3313
+ class qu extends Wu {
3315
3314
  then(e, n) {
3316
3315
  return Promise.all(this.animations).then(e).catch(n);
3317
3316
  }
@@ -3334,7 +3333,7 @@ function Ir(t) {
3334
3333
  function Ei(t, e) {
3335
3334
  t.timeline = e, t.onfinish = null;
3336
3335
  }
3337
- const jr = (t) => Array.isArray(t) && typeof t[0] == "number", Gu = {
3336
+ const Nr = (t) => Array.isArray(t) && typeof t[0] == "number", Gu = {
3338
3337
  linearEasing: void 0
3339
3338
  };
3340
3339
  function Hu(t, e) {
@@ -3359,7 +3358,7 @@ const mn = /* @__PURE__ */ Hu(() => {
3359
3358
  return `linear(${r.substring(0, r.length - 2)})`;
3360
3359
  };
3361
3360
  function Ao(t) {
3362
- return !!(typeof t == "function" && mn() || !t || typeof t == "string" && (t in rr || mn()) || jr(t) || Array.isArray(t) && t.every(Ao));
3361
+ return !!(typeof t == "function" && mn() || !t || typeof t == "string" && (t in rr || mn()) || Nr(t) || Array.isArray(t) && t.every(Ao));
3363
3362
  }
3364
3363
  const Ce = ([t, e, n, r]) => `cubic-bezier(${t}, ${e}, ${n}, ${r})`, rr = {
3365
3364
  linear: "linear",
@@ -3374,7 +3373,7 @@ const Ce = ([t, e, n, r]) => `cubic-bezier(${t}, ${e}, ${n}, ${r})`, rr = {
3374
3373
  };
3375
3374
  function Vo(t, e) {
3376
3375
  if (t)
3377
- return typeof t == "function" && mn() ? Co(t, e) : jr(t) ? Ce(t) : Array.isArray(t) ? t.map((n) => Vo(n, e) || rr.easeOut) : rr[t];
3376
+ return typeof t == "function" && mn() ? Co(t, e) : Nr(t) ? Ce(t) : Array.isArray(t) ? t.map((n) => Vo(n, e) || rr.easeOut) : rr[t];
3378
3377
  }
3379
3378
  const xt = {
3380
3379
  x: !1,
@@ -3429,7 +3428,7 @@ function gn(t, e) {
3429
3428
  } catch {
3430
3429
  }
3431
3430
  }
3432
- const ko = (t, e) => e ? t === e ? !0 : ko(t, e.parentElement) : !1, Nr = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1, Yu = /* @__PURE__ */ new Set([
3431
+ const ko = (t, e) => e ? t === e ? !0 : ko(t, e.parentElement) : !1, jr = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1, Yu = /* @__PURE__ */ new Set([
3433
3432
  "BUTTON",
3434
3433
  "INPUT",
3435
3434
  "SELECT",
@@ -3464,7 +3463,7 @@ const Zu = (t, e) => {
3464
3463
  n.addEventListener("keydown", r, e), n.addEventListener("blur", () => n.removeEventListener("keydown", r), e);
3465
3464
  };
3466
3465
  function Di(t) {
3467
- return Nr(t) && !Ro();
3466
+ return jr(t) && !Ro();
3468
3467
  }
3469
3468
  function Ju(t, e, n = {}) {
3470
3469
  const [r, i, s] = Mo(t, n), o = (a) => {
@@ -3515,8 +3514,8 @@ let ln;
3515
3514
  function ed() {
3516
3515
  ln = void 0;
3517
3516
  }
3518
- const Rt = {
3519
- now: () => (ln === void 0 && Rt.set(H.isProcessing || Zc.useManualTiming ? H.timestamp : performance.now()), ln),
3517
+ const Et = {
3518
+ now: () => (ln === void 0 && Et.set(H.isProcessing || Zc.useManualTiming ? H.timestamp : performance.now()), ln),
3520
3519
  set: (t) => {
3521
3520
  ln = t, queueMicrotask(ed);
3522
3521
  }
@@ -3524,16 +3523,16 @@ const Rt = {
3524
3523
  function Ur(t, e) {
3525
3524
  t.indexOf(e) === -1 && t.push(e);
3526
3525
  }
3527
- function Wr(t, e) {
3526
+ function zr(t, e) {
3528
3527
  const n = t.indexOf(e);
3529
3528
  n > -1 && t.splice(n, 1);
3530
3529
  }
3531
- class zr {
3530
+ class Wr {
3532
3531
  constructor() {
3533
3532
  this.subscriptions = [];
3534
3533
  }
3535
3534
  add(e) {
3536
- return Ur(this.subscriptions, e), () => Wr(this.subscriptions, e);
3535
+ return Ur(this.subscriptions, e), () => zr(this.subscriptions, e);
3537
3536
  }
3538
3537
  notify(e, n, r) {
3539
3538
  const i = this.subscriptions.length;
@@ -3553,10 +3552,10 @@ class zr {
3553
3552
  this.subscriptions.length = 0;
3554
3553
  }
3555
3554
  }
3556
- function Lo(t, e) {
3555
+ function _o(t, e) {
3557
3556
  return e ? t * (1e3 / e) : 0;
3558
3557
  }
3559
- const Li = 30, nd = (t) => !isNaN(parseFloat(t));
3558
+ const _i = 30, nd = (t) => !isNaN(parseFloat(t));
3560
3559
  class rd {
3561
3560
  /**
3562
3561
  * @param init - The initiating value
@@ -3568,12 +3567,12 @@ class rd {
3568
3567
  */
3569
3568
  constructor(e, n = {}) {
3570
3569
  this.version = "12.4.7", this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (r, i = !0) => {
3571
- const s = Rt.now();
3570
+ const s = Et.now();
3572
3571
  this.updatedAt !== s && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(r), this.current !== this.prev && this.events.change && this.events.change.notify(this.current), i && this.events.renderRequest && this.events.renderRequest.notify(this.current);
3573
3572
  }, this.hasAnimated = !1, this.setCurrent(e), this.owner = n.owner;
3574
3573
  }
3575
3574
  setCurrent(e) {
3576
- this.current = e, this.updatedAt = Rt.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = nd(this.current));
3575
+ this.current = e, this.updatedAt = Et.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = nd(this.current));
3577
3576
  }
3578
3577
  setPrevFrameValue(e = this.current) {
3579
3578
  this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -3622,10 +3621,10 @@ class rd {
3622
3621
  return process.env.NODE_ENV !== "production" && Cn(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", e);
3623
3622
  }
3624
3623
  on(e, n) {
3625
- this.events[e] || (this.events[e] = new zr());
3624
+ this.events[e] || (this.events[e] = new Wr());
3626
3625
  const r = this.events[e].add(n);
3627
3626
  return e === "change" ? () => {
3628
- r(), j.read(() => {
3627
+ r(), N.read(() => {
3629
3628
  this.events.change.getSize() || this.stop();
3630
3629
  });
3631
3630
  } : r;
@@ -3694,11 +3693,11 @@ class rd {
3694
3693
  * @public
3695
3694
  */
3696
3695
  getVelocity() {
3697
- const e = Rt.now();
3698
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Li)
3696
+ const e = Et.now();
3697
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > _i)
3699
3698
  return 0;
3700
- const n = Math.min(this.updatedAt - this.prevUpdatedAt, Li);
3701
- return Lo(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
3699
+ const n = Math.min(this.updatedAt - this.prevUpdatedAt, _i);
3700
+ return _o(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
3702
3701
  }
3703
3702
  /**
3704
3703
  * Registers a new animation to control this `MotionValue`. Only one
@@ -3774,32 +3773,32 @@ function ir(t, e) {
3774
3773
  if (sd(n))
3775
3774
  return n.add(e);
3776
3775
  }
3777
- function $o(t) {
3776
+ function Lo(t) {
3778
3777
  return t.props[co];
3779
3778
  }
3780
- const Oo = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, od = 1e-7, ad = 12;
3779
+ const $o = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, od = 1e-7, ad = 12;
3781
3780
  function ld(t, e, n, r, i) {
3782
3781
  let s, o, a = 0;
3783
3782
  do
3784
- o = e + (n - e) / 2, s = Oo(o, r, i) - t, s > 0 ? n = o : e = o;
3783
+ o = e + (n - e) / 2, s = $o(o, r, i) - t, s > 0 ? n = o : e = o;
3785
3784
  while (Math.abs(s) > od && ++a < ad);
3786
3785
  return o;
3787
3786
  }
3788
- function ze(t, e, n, r) {
3787
+ function We(t, e, n, r) {
3789
3788
  if (t === e && n === r)
3790
3789
  return ct;
3791
3790
  const i = (s) => ld(s, 0, 1, t, n);
3792
- return (s) => s === 0 || s === 1 ? s : Oo(i(s), e, r);
3791
+ return (s) => s === 0 || s === 1 ? s : $o(i(s), e, r);
3793
3792
  }
3794
- const _o = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, Bo = (t) => (e) => 1 - t(1 - e), Fo = /* @__PURE__ */ ze(0.33, 1.53, 0.69, 0.99), Gr = /* @__PURE__ */ Bo(Fo), Io = /* @__PURE__ */ _o(Gr), jo = (t) => (t *= 2) < 1 ? 0.5 * Gr(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), Hr = (t) => 1 - Math.sin(Math.acos(t)), No = Bo(Hr), Uo = _o(Hr), Wo = (t) => /^0[^.\s]+$/u.test(t);
3793
+ const Oo = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, Bo = (t) => (e) => 1 - t(1 - e), Fo = /* @__PURE__ */ We(0.33, 1.53, 0.69, 0.99), Gr = /* @__PURE__ */ Bo(Fo), Io = /* @__PURE__ */ Oo(Gr), No = (t) => (t *= 2) < 1 ? 0.5 * Gr(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), Hr = (t) => 1 - Math.sin(Math.acos(t)), jo = Bo(Hr), Uo = Oo(Hr), zo = (t) => /^0[^.\s]+$/u.test(t);
3795
3794
  function cd(t) {
3796
- return typeof t == "number" ? t === 0 : t !== null ? t === "none" || t === "0" || Wo(t) : !0;
3795
+ return typeof t == "number" ? t === 0 : t !== null ? t === "none" || t === "0" || zo(t) : !0;
3797
3796
  }
3798
3797
  const Ve = (t) => Math.round(t * 1e5) / 1e5, Kr = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
3799
3798
  function ud(t) {
3800
3799
  return t == null;
3801
3800
  }
3802
- const dd = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Yr = (t, e) => (n) => !!(typeof n == "string" && dd.test(n) && n.startsWith(t) || e && !ud(n) && Object.prototype.hasOwnProperty.call(n, e)), zo = (t, e, n) => (r) => {
3801
+ const dd = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Yr = (t, e) => (n) => !!(typeof n == "string" && dd.test(n) && n.startsWith(t) || e && !ud(n) && Object.prototype.hasOwnProperty.call(n, e)), Wo = (t, e, n) => (r) => {
3803
3802
  if (typeof r != "string")
3804
3803
  return r;
3805
3804
  const [i, s, o, a] = r.match(Kr);
@@ -3809,12 +3808,12 @@ const dd = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
3809
3808
  [n]: parseFloat(o),
3810
3809
  alpha: a !== void 0 ? parseFloat(a) : 1
3811
3810
  };
3812
- }, fd = (t) => $t(0, 255, t), Fn = {
3811
+ }, fd = (t) => Lt(0, 255, t), Fn = {
3813
3812
  ...ve,
3814
3813
  transform: (t) => Math.round(fd(t))
3815
3814
  }, Zt = {
3816
3815
  test: /* @__PURE__ */ Yr("rgb", "red"),
3817
- parse: /* @__PURE__ */ zo("red", "green", "blue"),
3816
+ parse: /* @__PURE__ */ Wo("red", "green", "blue"),
3818
3817
  transform: ({ red: t, green: e, blue: n, alpha: r = 1 }) => "rgba(" + Fn.transform(t) + ", " + Fn.transform(e) + ", " + Fn.transform(n) + ", " + Ve(Be.transform(r)) + ")"
3819
3818
  };
3820
3819
  function hd(t) {
@@ -3832,8 +3831,8 @@ const sr = {
3832
3831
  transform: Zt.transform
3833
3832
  }, re = {
3834
3833
  test: /* @__PURE__ */ Yr("hsl", "hue"),
3835
- parse: /* @__PURE__ */ zo("hue", "saturation", "lightness"),
3836
- transform: ({ hue: t, saturation: e, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(t) + ", " + Vt.transform(Ve(e)) + ", " + Vt.transform(Ve(n)) + ", " + Ve(Be.transform(r)) + ")"
3834
+ parse: /* @__PURE__ */ Wo("hue", "saturation", "lightness"),
3835
+ transform: ({ hue: t, saturation: e, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(t) + ", " + Rt.transform(Ve(e)) + ", " + Rt.transform(Ve(n)) + ", " + Ve(Be.transform(r)) + ")"
3837
3836
  }, Z = {
3838
3837
  test: (t) => Zt.test(t) || sr.test(t) || re.test(t),
3839
3838
  parse: (t) => Zt.test(t) ? Zt.parse(t) : re.test(t) ? re.parse(t) : sr.parse(t),
@@ -3843,22 +3842,22 @@ function md(t) {
3843
3842
  var e, n;
3844
3843
  return isNaN(t) && typeof t == "string" && (((e = t.match(Kr)) === null || e === void 0 ? void 0 : e.length) || 0) + (((n = t.match(pd)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
3845
3844
  }
3846
- const qo = "number", Go = "color", gd = "var", yd = "var(", $i = "${}", vd = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
3847
- function je(t) {
3845
+ const qo = "number", Go = "color", gd = "var", yd = "var(", Li = "${}", vd = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
3846
+ function Ne(t) {
3848
3847
  const e = t.toString(), n = [], r = {
3849
3848
  color: [],
3850
3849
  number: [],
3851
3850
  var: []
3852
3851
  }, i = [];
3853
3852
  let s = 0;
3854
- const a = e.replace(vd, (l) => (Z.test(l) ? (r.color.push(s), i.push(Go), n.push(Z.parse(l))) : l.startsWith(yd) ? (r.var.push(s), i.push(gd), n.push(l)) : (r.number.push(s), i.push(qo), n.push(parseFloat(l))), ++s, $i)).split($i);
3853
+ const a = e.replace(vd, (l) => (Z.test(l) ? (r.color.push(s), i.push(Go), n.push(Z.parse(l))) : l.startsWith(yd) ? (r.var.push(s), i.push(gd), n.push(l)) : (r.number.push(s), i.push(qo), n.push(parseFloat(l))), ++s, Li)).split(Li);
3855
3854
  return { values: n, split: a, indexes: r, types: i };
3856
3855
  }
3857
3856
  function Ho(t) {
3858
- return je(t).values;
3857
+ return Ne(t).values;
3859
3858
  }
3860
3859
  function Ko(t) {
3861
- const { split: e, types: n } = je(t), r = e.length;
3860
+ const { split: e, types: n } = Ne(t), r = e.length;
3862
3861
  return (i) => {
3863
3862
  let s = "";
3864
3863
  for (let o = 0; o < r; o++)
@@ -3874,7 +3873,7 @@ function xd(t) {
3874
3873
  const e = Ho(t);
3875
3874
  return Ko(t)(e.map(bd));
3876
3875
  }
3877
- const Wt = {
3876
+ const zt = {
3878
3877
  test: md,
3879
3878
  parse: Ho,
3880
3879
  createTransformer: Ko,
@@ -3892,7 +3891,7 @@ function wd(t) {
3892
3891
  return r !== n && (s *= 100), e + "(" + s + i + ")";
3893
3892
  }
3894
3893
  const Td = /\b([a-z-]*)\(.*?\)/gu, or = {
3895
- ...Wt,
3894
+ ...zt,
3896
3895
  getAnimatableNone: (t) => {
3897
3896
  const e = t.match(Td);
3898
3897
  return e ? e.map(wd).join(" ") : t;
@@ -3916,28 +3915,28 @@ const Td = /\b([a-z-]*)\(.*?\)/gu, or = {
3916
3915
  }, Xr = (t) => Pd[t];
3917
3916
  function Yo(t, e) {
3918
3917
  let n = Xr(t);
3919
- return n !== or && (n = Wt), n.getAnimatableNone ? n.getAnimatableNone(e) : void 0;
3918
+ return n !== or && (n = zt), n.getAnimatableNone ? n.getAnimatableNone(e) : void 0;
3920
3919
  }
3921
3920
  const Cd = /* @__PURE__ */ new Set(["auto", "none", "0"]);
3922
3921
  function Ad(t, e, n) {
3923
3922
  let r = 0, i;
3924
3923
  for (; r < t.length && !i; ) {
3925
3924
  const s = t[r];
3926
- typeof s == "string" && !Cd.has(s) && je(s).values.length && (i = t[r]), r++;
3925
+ typeof s == "string" && !Cd.has(s) && Ne(s).values.length && (i = t[r]), r++;
3927
3926
  }
3928
3927
  if (i && n)
3929
3928
  for (const s of e)
3930
3929
  t[s] = Yo(n, i);
3931
3930
  }
3932
- const Oi = (t) => t === ve || t === M, _i = (t, e) => parseFloat(t.split(", ")[e]), Bi = (t, e) => (n, { transform: r }) => {
3931
+ const $i = (t) => t === ve || t === M, Oi = (t, e) => parseFloat(t.split(", ")[e]), Bi = (t, e) => (n, { transform: r }) => {
3933
3932
  if (r === "none" || !r)
3934
3933
  return 0;
3935
3934
  const i = r.match(/^matrix3d\((.+)\)$/u);
3936
3935
  if (i)
3937
- return _i(i[1], e);
3936
+ return Oi(i[1], e);
3938
3937
  {
3939
3938
  const s = r.match(/^matrix\((.+)\)$/u);
3940
- return s ? _i(s[1], t) : 0;
3939
+ return s ? Oi(s[1], t) : 0;
3941
3940
  }
3942
3941
  }, Vd = /* @__PURE__ */ new Set(["x", "y", "z"]), Rd = ye.filter((t) => !Vd.has(t));
3943
3942
  function Ed(t) {
@@ -3995,7 +3994,7 @@ class Zr {
3995
3994
  this.isComplete = !1, this.isAsync = !1, this.needsMeasurement = !1, this.isScheduled = !1, this.unresolvedKeyframes = [...e], this.onComplete = n, this.name = r, this.motionValue = i, this.element = s, this.isAsync = o;
3996
3995
  }
3997
3996
  scheduleResolve() {
3998
- this.isScheduled = !0, this.isAsync ? (Jt.add(this), ar || (ar = !0, j.read(Zo), j.resolveKeyframes(Xo))) : (this.readKeyframes(), this.complete());
3997
+ this.isScheduled = !0, this.isAsync ? (Jt.add(this), ar || (ar = !0, N.read(Zo), N.resolveKeyframes(Xo))) : (this.readKeyframes(), this.complete());
3999
3998
  }
4000
3999
  readKeyframes() {
4001
4000
  const { unresolvedKeyframes: e, name: n, element: r, motionValue: i } = this;
@@ -4042,9 +4041,9 @@ function Dd(t) {
4042
4041
  const [, n, r, i] = e;
4043
4042
  return [`--${n ?? r}`, i];
4044
4043
  }
4045
- const Ld = 4;
4044
+ const _d = 4;
4046
4045
  function Qo(t, e, n = 1) {
4047
- Et(n <= Ld, `Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);
4046
+ Mt(n <= _d, `Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);
4048
4047
  const [r, i] = Dd(t);
4049
4048
  if (!r)
4050
4049
  return;
@@ -4055,10 +4054,10 @@ function Qo(t, e, n = 1) {
4055
4054
  }
4056
4055
  return Er(i) ? Qo(i, e, n + 1) : i;
4057
4056
  }
4058
- const ta = (t) => (e) => e.test(t), $d = {
4057
+ const ta = (t) => (e) => e.test(t), Ld = {
4059
4058
  test: (t) => t === "auto",
4060
4059
  parse: (t) => t
4061
- }, ea = [ve, M, Vt, Nt, xu, bu, $d], Fi = (t) => ea.find(ta(t));
4060
+ }, ea = [ve, M, Rt, jt, xu, bu, Ld], Fi = (t) => ea.find(ta(t));
4062
4061
  class na extends Zr {
4063
4062
  constructor(e, n, r, i, s) {
4064
4063
  super(e, n, r, i, s, !0);
@@ -4079,7 +4078,7 @@ class na extends Zr {
4079
4078
  return;
4080
4079
  const [i, s] = e, o = Fi(i), a = Fi(s);
4081
4080
  if (o !== a)
4082
- if (Oi(o) && Oi(a))
4081
+ if ($i(o) && $i(a))
4083
4082
  for (let l = 0; l < e.length; l++) {
4084
4083
  const c = e[l];
4085
4084
  typeof c == "string" && (e[l] = parseFloat(c));
@@ -4115,9 +4114,9 @@ class na extends Zr {
4115
4114
  }
4116
4115
  }
4117
4116
  const Ii = (t, e) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
4118
- (Wt.test(t) || t === "0") && // And it contains numbers and/or colors
4117
+ (zt.test(t) || t === "0") && // And it contains numbers and/or colors
4119
4118
  !t.startsWith("url("));
4120
- function Od(t) {
4119
+ function $d(t) {
4121
4120
  const e = t[0];
4122
4121
  if (t.length === 1)
4123
4122
  return !0;
@@ -4125,14 +4124,14 @@ function Od(t) {
4125
4124
  if (t[n] !== e)
4126
4125
  return !0;
4127
4126
  }
4128
- function _d(t, e, n, r) {
4127
+ function Od(t, e, n, r) {
4129
4128
  const i = t[0];
4130
4129
  if (i === null)
4131
4130
  return !1;
4132
4131
  if (e === "display" || e === "visibility")
4133
4132
  return !0;
4134
4133
  const s = t[t.length - 1], o = Ii(i, e), a = Ii(s, e);
4135
- return ge(o === a, `You are trying to animate ${e} from "${i}" to "${s}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${s} via the \`style\` property.`), !o || !a ? !1 : Od(t) || (n === "spring" || Ir(n)) && r;
4134
+ return ge(o === a, `You are trying to animate ${e} from "${i}" to "${s}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${s} via the \`style\` property.`), !o || !a ? !1 : $d(t) || (n === "spring" || Ir(n)) && r;
4136
4135
  }
4137
4136
  const Bd = (t) => t !== null;
4138
4137
  function En(t, { repeat: e, repeatType: n = "loop" }, r) {
@@ -4142,7 +4141,7 @@ function En(t, { repeat: e, repeatType: n = "loop" }, r) {
4142
4141
  const Fd = 40;
4143
4142
  class ra {
4144
4143
  constructor({ autoplay: e = !0, delay: n = 0, type: r = "keyframes", repeat: i = 0, repeatDelay: s = 0, repeatType: o = "loop", ...a }) {
4145
- this.isStopped = !1, this.hasAttemptedResolve = !1, this.createdAt = Rt.now(), this.options = {
4144
+ this.isStopped = !1, this.hasAttemptedResolve = !1, this.createdAt = Et.now(), this.options = {
4146
4145
  autoplay: e,
4147
4146
  delay: n,
4148
4147
  type: r,
@@ -4179,9 +4178,9 @@ class ra {
4179
4178
  * Otherwise, it will call initPlayback on the implementing class.
4180
4179
  */
4181
4180
  onKeyframesResolved(e, n) {
4182
- this.resolvedAt = Rt.now(), this.hasAttemptedResolve = !0;
4181
+ this.resolvedAt = Et.now(), this.hasAttemptedResolve = !0;
4183
4182
  const { name: r, type: i, velocity: s, delay: o, onComplete: a, onUpdate: l, isGenerator: c } = this.options;
4184
- if (!c && !_d(e, r, i, s))
4183
+ if (!c && !Od(e, r, i, s))
4185
4184
  if (o)
4186
4185
  this.options.duration = 0;
4187
4186
  else {
@@ -4237,32 +4236,32 @@ function Id({ hue: t, saturation: e, lightness: n, alpha: r }) {
4237
4236
  function yn(t, e) {
4238
4237
  return (n) => n > 0 ? e : t;
4239
4238
  }
4240
- const jn = (t, e, n) => {
4239
+ const Nn = (t, e, n) => {
4241
4240
  const r = t * t, i = n * (e * e - r) + r;
4242
4241
  return i < 0 ? 0 : Math.sqrt(i);
4243
- }, jd = [sr, Zt, re], Nd = (t) => jd.find((e) => e.test(t));
4244
- function ji(t) {
4245
- const e = Nd(t);
4242
+ }, Nd = [sr, Zt, re], jd = (t) => Nd.find((e) => e.test(t));
4243
+ function Ni(t) {
4244
+ const e = jd(t);
4246
4245
  if (ge(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`), !e)
4247
4246
  return !1;
4248
4247
  let n = e.parse(t);
4249
4248
  return e === re && (n = Id(n)), n;
4250
4249
  }
4251
- const Ni = (t, e) => {
4252
- const n = ji(t), r = ji(e);
4250
+ const ji = (t, e) => {
4251
+ const n = Ni(t), r = Ni(e);
4253
4252
  if (!n || !r)
4254
4253
  return yn(t, e);
4255
4254
  const i = { ...n };
4256
- return (s) => (i.red = jn(n.red, r.red, s), i.green = jn(n.green, r.green, s), i.blue = jn(n.blue, r.blue, s), i.alpha = U(n.alpha, r.alpha, s), Zt.transform(i));
4255
+ return (s) => (i.red = Nn(n.red, r.red, s), i.green = Nn(n.green, r.green, s), i.blue = Nn(n.blue, r.blue, s), i.alpha = U(n.alpha, r.alpha, s), Zt.transform(i));
4257
4256
  }, Ud = (t, e) => (n) => e(t(n)), qe = (...t) => t.reduce(Ud), cr = /* @__PURE__ */ new Set(["none", "hidden"]);
4258
- function Wd(t, e) {
4257
+ function zd(t, e) {
4259
4258
  return cr.has(t) ? (n) => n <= 0 ? t : e : (n) => n >= 1 ? e : t;
4260
4259
  }
4261
- function zd(t, e) {
4260
+ function Wd(t, e) {
4262
4261
  return (n) => U(t, e, n);
4263
4262
  }
4264
4263
  function Jr(t) {
4265
- return typeof t == "number" ? zd : typeof t == "string" ? Er(t) ? yn : Z.test(t) ? Ni : Hd : Array.isArray(t) ? ia : typeof t == "object" ? Z.test(t) ? Ni : qd : yn;
4264
+ return typeof t == "number" ? Wd : typeof t == "string" ? Er(t) ? yn : Z.test(t) ? ji : Hd : Array.isArray(t) ? ia : typeof t == "object" ? Z.test(t) ? ji : qd : yn;
4266
4265
  }
4267
4266
  function ia(t, e) {
4268
4267
  const n = [...t], r = n.length, i = t.map((s, o) => Jr(s)(s, e[o]));
@@ -4292,8 +4291,8 @@ function Gd(t, e) {
4292
4291
  return r;
4293
4292
  }
4294
4293
  const Hd = (t, e) => {
4295
- const n = Wt.createTransformer(e), r = je(t), i = je(e);
4296
- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? cr.has(t) && !i.values.length || cr.has(e) && !r.values.length ? Wd(t, e) : qe(ia(Gd(r, i), i.values), n) : (ge(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), yn(t, e));
4294
+ const n = zt.createTransformer(e), r = Ne(t), i = Ne(e);
4295
+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? cr.has(t) && !i.values.length || cr.has(e) && !r.values.length ? zd(t, e) : qe(ia(Gd(r, i), i.values), n) : (ge(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), yn(t, e));
4297
4296
  };
4298
4297
  function sa(t, e, n) {
4299
4298
  return typeof t == "number" && typeof e == "number" && typeof n == "number" ? U(t, e, n) : Jr(t)(t, e);
@@ -4301,9 +4300,9 @@ function sa(t, e, n) {
4301
4300
  const Kd = 5;
4302
4301
  function oa(t, e, n) {
4303
4302
  const r = Math.max(e - Kd, 0);
4304
- return Lo(n - t(r), e - r);
4303
+ return _o(n - t(r), e - r);
4305
4304
  }
4306
- const N = {
4305
+ const j = {
4307
4306
  // Default spring physics
4308
4307
  stiffness: 100,
4309
4308
  damping: 10,
@@ -4332,11 +4331,11 @@ const N = {
4332
4331
  minDamping: 0.05,
4333
4332
  maxDamping: 1
4334
4333
  }, Ui = 1e-3;
4335
- function Yd({ duration: t = N.duration, bounce: e = N.bounce, velocity: n = N.velocity, mass: r = N.mass }) {
4334
+ function Yd({ duration: t = j.duration, bounce: e = j.bounce, velocity: n = j.velocity, mass: r = j.mass }) {
4336
4335
  let i, s;
4337
- ge(t <= /* @__PURE__ */ At(N.maxDuration), "Spring duration must be 10 seconds or less");
4336
+ ge(t <= /* @__PURE__ */ Vt(j.maxDuration), "Spring duration must be 10 seconds or less");
4338
4337
  let o = 1 - e;
4339
- o = $t(N.minDamping, N.maxDamping, o), t = $t(N.minDuration, N.maxDuration, /* @__PURE__ */ Dt(t)), o < 1 ? (i = (c) => {
4338
+ o = Lt(j.minDamping, j.maxDamping, o), t = Lt(j.minDuration, j.maxDuration, /* @__PURE__ */ Dt(t)), o < 1 ? (i = (c) => {
4340
4339
  const u = c * o, d = u * t, f = u - n, h = ur(c, o), p = Math.exp(-d);
4341
4340
  return Ui - f / h * p;
4342
4341
  }, s = (c) => {
@@ -4350,10 +4349,10 @@ function Yd({ duration: t = N.duration, bounce: e = N.bounce, velocity: n = N.ve
4350
4349
  return u * d;
4351
4350
  });
4352
4351
  const a = 5 / t, l = Zd(i, s, a);
4353
- if (t = /* @__PURE__ */ At(t), isNaN(l))
4352
+ if (t = /* @__PURE__ */ Vt(t), isNaN(l))
4354
4353
  return {
4355
- stiffness: N.stiffness,
4356
- damping: N.damping,
4354
+ stiffness: j.stiffness,
4355
+ damping: j.damping,
4357
4356
  duration: t
4358
4357
  };
4359
4358
  {
@@ -4376,24 +4375,24 @@ function ur(t, e) {
4376
4375
  return t * Math.sqrt(1 - e * e);
4377
4376
  }
4378
4377
  const Jd = ["duration", "bounce"], Qd = ["stiffness", "damping", "mass"];
4379
- function Wi(t, e) {
4378
+ function zi(t, e) {
4380
4379
  return e.some((n) => t[n] !== void 0);
4381
4380
  }
4382
4381
  function tf(t) {
4383
4382
  let e = {
4384
- velocity: N.velocity,
4385
- stiffness: N.stiffness,
4386
- damping: N.damping,
4387
- mass: N.mass,
4383
+ velocity: j.velocity,
4384
+ stiffness: j.stiffness,
4385
+ damping: j.damping,
4386
+ mass: j.mass,
4388
4387
  isResolvedFromDuration: !1,
4389
4388
  ...t
4390
4389
  };
4391
- if (!Wi(t, Qd) && Wi(t, Jd))
4390
+ if (!zi(t, Qd) && zi(t, Jd))
4392
4391
  if (t.visualDuration) {
4393
- const n = t.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, s = 2 * $t(0.05, 1, 1 - (t.bounce || 0)) * Math.sqrt(i);
4392
+ const n = t.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, s = 2 * Lt(0.05, 1, 1 - (t.bounce || 0)) * Math.sqrt(i);
4394
4393
  e = {
4395
4394
  ...e,
4396
- mass: N.mass,
4395
+ mass: j.mass,
4397
4396
  stiffness: i,
4398
4397
  damping: s
4399
4398
  };
@@ -4402,12 +4401,12 @@ function tf(t) {
4402
4401
  e = {
4403
4402
  ...e,
4404
4403
  ...n,
4405
- mass: N.mass
4404
+ mass: j.mass
4406
4405
  }, e.isResolvedFromDuration = !0;
4407
4406
  }
4408
4407
  return e;
4409
4408
  }
4410
- function aa(t = N.visualDuration, e = N.bounce) {
4409
+ function aa(t = j.visualDuration, e = j.bounce) {
4411
4410
  const n = typeof t != "object" ? {
4412
4411
  visualDuration: t,
4413
4412
  keyframes: [0, 1],
@@ -4418,7 +4417,7 @@ function aa(t = N.visualDuration, e = N.bounce) {
4418
4417
  ...n,
4419
4418
  velocity: -/* @__PURE__ */ Dt(n.velocity || 0)
4420
4419
  }), p = f || 0, g = c / (2 * Math.sqrt(l * u)), x = o - s, v = /* @__PURE__ */ Dt(Math.sqrt(l / u)), S = Math.abs(x) < 5;
4421
- r || (r = S ? N.restSpeed.granular : N.restSpeed.default), i || (i = S ? N.restDelta.granular : N.restDelta.default);
4420
+ r || (r = S ? j.restSpeed.granular : j.restSpeed.default), i || (i = S ? j.restDelta.granular : j.restDelta.default);
4422
4421
  let w;
4423
4422
  if (g < 1) {
4424
4423
  const m = ur(v, g);
@@ -4443,7 +4442,7 @@ function aa(t = N.visualDuration, e = N.bounce) {
4443
4442
  a.done = m >= d;
4444
4443
  else {
4445
4444
  let E = 0;
4446
- g < 1 && (E = m === 0 ? /* @__PURE__ */ At(p) : oa(w, m, V));
4445
+ g < 1 && (E = m === 0 ? /* @__PURE__ */ Vt(p) : oa(w, m, V));
4447
4446
  const y = Math.abs(E) <= r, b = Math.abs(o - V) <= i;
4448
4447
  a.done = y && b;
4449
4448
  }
@@ -4456,7 +4455,7 @@ function aa(t = N.visualDuration, e = N.bounce) {
4456
4455
  };
4457
4456
  return C;
4458
4457
  }
4459
- function zi({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: s = 500, modifyTarget: o, min: a, max: l, restDelta: c = 0.5, restSpeed: u }) {
4458
+ function Wi({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: s = 500, modifyTarget: o, min: a, max: l, restDelta: c = 0.5, restSpeed: u }) {
4460
4459
  const d = t[0], f = {
4461
4460
  done: !1,
4462
4461
  value: d
@@ -4488,25 +4487,25 @@ function zi({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: r = 3
4488
4487
  }
4489
4488
  };
4490
4489
  }
4491
- const ef = /* @__PURE__ */ ze(0.42, 0, 1, 1), nf = /* @__PURE__ */ ze(0, 0, 0.58, 1), la = /* @__PURE__ */ ze(0.42, 0, 0.58, 1), rf = (t) => Array.isArray(t) && typeof t[0] != "number", qi = {
4490
+ const ef = /* @__PURE__ */ We(0.42, 0, 1, 1), nf = /* @__PURE__ */ We(0, 0, 0.58, 1), la = /* @__PURE__ */ We(0.42, 0, 0.58, 1), rf = (t) => Array.isArray(t) && typeof t[0] != "number", qi = {
4492
4491
  linear: ct,
4493
4492
  easeIn: ef,
4494
4493
  easeInOut: la,
4495
4494
  easeOut: nf,
4496
4495
  circIn: Hr,
4497
4496
  circInOut: Uo,
4498
- circOut: No,
4497
+ circOut: jo,
4499
4498
  backIn: Gr,
4500
4499
  backInOut: Io,
4501
4500
  backOut: Fo,
4502
- anticipate: jo
4501
+ anticipate: No
4503
4502
  }, Gi = (t) => {
4504
- if (jr(t)) {
4505
- Et(t.length === 4, "Cubic bezier arrays must contain four numerical values.");
4503
+ if (Nr(t)) {
4504
+ Mt(t.length === 4, "Cubic bezier arrays must contain four numerical values.");
4506
4505
  const [e, n, r, i] = t;
4507
- return ze(e, n, r, i);
4506
+ return We(e, n, r, i);
4508
4507
  } else if (typeof t == "string")
4509
- return Et(qi[t] !== void 0, `Invalid easing type '${t}'`), qi[t];
4508
+ return Mt(qi[t] !== void 0, `Invalid easing type '${t}'`), qi[t];
4510
4509
  return t;
4511
4510
  };
4512
4511
  function sf(t, e, n) {
@@ -4523,7 +4522,7 @@ function sf(t, e, n) {
4523
4522
  }
4524
4523
  function of(t, e, { clamp: n = !0, ease: r, mixer: i } = {}) {
4525
4524
  const s = t.length;
4526
- if (Et(s === e.length, "Both input and output ranges must be the same length"), s === 1)
4525
+ if (Mt(s === e.length, "Both input and output ranges must be the same length"), s === 1)
4527
4526
  return () => e[0];
4528
4527
  if (s === 2 && e[0] === e[1])
4529
4528
  return () => e[1];
@@ -4539,7 +4538,7 @@ function of(t, e, { clamp: n = !0, ease: r, mixer: i } = {}) {
4539
4538
  const f = /* @__PURE__ */ de(t[d], t[d + 1], u);
4540
4539
  return a[d](f);
4541
4540
  };
4542
- return n ? (u) => c($t(t[0], t[s - 1], u)) : c;
4541
+ return n ? (u) => c(Lt(t[0], t[s - 1], u)) : c;
4543
4542
  }
4544
4543
  function af(t, e) {
4545
4544
  const n = t[t.length - 1];
@@ -4578,17 +4577,17 @@ function Re({ duration: t = 300, keyframes: e, times: n, ease: r = "easeInOut" }
4578
4577
  const df = (t) => {
4579
4578
  const e = ({ timestamp: n }) => t(n);
4580
4579
  return {
4581
- start: () => j.update(e, !0),
4580
+ start: () => N.update(e, !0),
4582
4581
  stop: () => Ut(e),
4583
4582
  /**
4584
4583
  * If we're processing this frame we can use the
4585
4584
  * framelocked timestamp to keep things in sync.
4586
4585
  */
4587
- now: () => H.isProcessing ? H.timestamp : Rt.now()
4586
+ now: () => H.isProcessing ? H.timestamp : Et.now()
4588
4587
  };
4589
4588
  }, ff = {
4590
- decay: zi,
4591
- inertia: zi,
4589
+ decay: Wi,
4590
+ inertia: Wi,
4592
4591
  tween: Re,
4593
4592
  keyframes: Re,
4594
4593
  spring: aa
@@ -4611,7 +4610,7 @@ class Qr extends ra {
4611
4610
  initPlayback(e) {
4612
4611
  const { type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: s, velocity: o = 0 } = this.options, a = Ir(n) ? n : ff[n] || Re;
4613
4612
  let l, c;
4614
- process.env.NODE_ENV !== "production" && a !== Re && Et(e.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`), a !== Re && typeof e[0] != "number" && (l = qe(hf, sa(e[0], e[1])), e = [0, 100]);
4613
+ process.env.NODE_ENV !== "production" && a !== Re && Mt(e.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`), a !== Re && typeof e[0] != "number" && (l = qe(hf, sa(e[0], e[1])), e = [0, 100]);
4615
4614
  const u = a({ ...this.options, keyframes: e });
4616
4615
  s === "mirror" && (c = a({
4617
4616
  ...this.options,
@@ -4649,7 +4648,7 @@ class Qr extends ra {
4649
4648
  if (h) {
4650
4649
  const y = Math.min(this.currentTime, u) / d;
4651
4650
  let b = Math.floor(y), T = y % 1;
4652
- !T && y >= 1 && (T = 1), T === 1 && b--, b = Math.min(b, h + 1), !!(b % 2) && (p === "reverse" ? (T = 1 - T, g && (T -= g / d)) : p === "mirror" && (C = o)), w = $t(0, 1, T) * d;
4651
+ !T && y >= 1 && (T = 1), T === 1 && b--, b = Math.min(b, h + 1), !!(b % 2) && (p === "reverse" ? (T = 1 - T, g && (T -= g / d)) : p === "mirror" && (C = o)), w = Lt(0, 1, T) * d;
4653
4652
  }
4654
4653
  const m = S ? { done: !1, value: l[0] } : C.next(w);
4655
4654
  a && (m.value = a(m.value));
@@ -4666,7 +4665,7 @@ class Qr extends ra {
4666
4665
  return /* @__PURE__ */ Dt(this.currentTime);
4667
4666
  }
4668
4667
  set time(e) {
4669
- e = /* @__PURE__ */ At(e), this.currentTime = e, this.holdTime !== null || this.speed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.speed);
4668
+ e = /* @__PURE__ */ Vt(e), this.currentTime = e, this.holdTime !== null || this.speed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.speed);
4670
4669
  }
4671
4670
  get speed() {
4672
4671
  return this.playbackSpeed;
@@ -4763,7 +4762,7 @@ function bf(t, e) {
4763
4762
  };
4764
4763
  }
4765
4764
  const ca = {
4766
- anticipate: jo,
4765
+ anticipate: No,
4767
4766
  backInOut: Io,
4768
4767
  circInOut: Uo
4769
4768
  };
@@ -4816,7 +4815,7 @@ class Hi extends ra {
4816
4815
  if (!n)
4817
4816
  return;
4818
4817
  const { animation: r } = n;
4819
- r.currentTime = /* @__PURE__ */ At(e);
4818
+ r.currentTime = /* @__PURE__ */ Vt(e);
4820
4819
  }
4821
4820
  get speed() {
4822
4821
  const { resolved: e } = this;
@@ -4897,7 +4896,7 @@ class Hi extends ra {
4897
4896
  ease: o,
4898
4897
  times: a,
4899
4898
  isGenerator: !0
4900
- }), g = /* @__PURE__ */ At(this.time);
4899
+ }), g = /* @__PURE__ */ Vt(this.time);
4901
4900
  c.setWithVelocity(p.sample(g - vn).value, p.sample(g).value, vn);
4902
4901
  }
4903
4902
  const { onStop: l } = this.options;
@@ -4947,7 +4946,7 @@ function Af({ when: t, delay: e, delayChildren: n, staggerChildren: r, staggerDi
4947
4946
  const ti = (t, e, n, r = {}, i, s) => (o) => {
4948
4947
  const a = Fr(r, t) || {}, l = a.delay || r.delay || 0;
4949
4948
  let { elapsed: c = 0 } = r;
4950
- c = c - /* @__PURE__ */ At(l);
4949
+ c = c - /* @__PURE__ */ Vt(l);
4951
4950
  let u = {
4952
4951
  keyframes: Array.isArray(n) ? n : [null, n],
4953
4952
  ease: "easeOut",
@@ -4967,12 +4966,12 @@ const ti = (t, e, n, r = {}, i, s) => (o) => {
4967
4966
  Af(a) || (u = {
4968
4967
  ...u,
4969
4968
  ...Cf(t, u)
4970
- }), u.duration && (u.duration = /* @__PURE__ */ At(u.duration)), u.repeatDelay && (u.repeatDelay = /* @__PURE__ */ At(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from);
4969
+ }), u.duration && (u.duration = /* @__PURE__ */ Vt(u.duration)), u.repeatDelay && (u.repeatDelay = /* @__PURE__ */ Vt(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from);
4971
4970
  let d = !1;
4972
4971
  if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (u.duration = 0, u.delay === 0 && (d = !0)), d && !s && e.get() !== void 0) {
4973
4972
  const f = En(u.keyframes, a);
4974
4973
  if (f !== void 0)
4975
- return j.update(() => {
4974
+ return N.update(() => {
4976
4975
  u.onUpdate(f), u.onComplete();
4977
4976
  }), new qu([]);
4978
4977
  }
@@ -4997,9 +4996,9 @@ function ua(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
4997
4996
  };
4998
4997
  let g = !1;
4999
4998
  if (window.MotionHandoffAnimation) {
5000
- const v = $o(t);
4999
+ const v = Lo(t);
5001
5000
  if (v) {
5002
- const S = window.MotionHandoffAnimation(v, d, j);
5001
+ const S = window.MotionHandoffAnimation(v, d, N);
5003
5002
  S !== null && (p.startTime = S, g = !0);
5004
5003
  }
5005
5004
  }
@@ -5008,7 +5007,7 @@ function ua(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
5008
5007
  x && c.push(x);
5009
5008
  }
5010
5009
  return a && Promise.all(c).then(() => {
5011
- j.update(() => {
5010
+ N.update(() => {
5012
5011
  a && qr(t, a);
5013
5012
  });
5014
5013
  }), c;
@@ -5078,16 +5077,16 @@ function ha(t) {
5078
5077
  const e = {};
5079
5078
  for (let n = 0; n < Mf; n++) {
5080
5079
  const r = Cr[n], i = t.props[r];
5081
- (Oe(i) || i === !1) && (e[r] = i);
5080
+ ($e(i) || i === !1) && (e[r] = i);
5082
5081
  }
5083
5082
  return e;
5084
5083
  }
5085
5084
  const kf = [...Pr].reverse(), Df = Pr.length;
5086
- function Lf(t) {
5085
+ function _f(t) {
5087
5086
  return (e) => Promise.all(e.map(({ animation: n, options: r }) => da(t, n, r)));
5088
5087
  }
5089
- function $f(t) {
5090
- let e = Lf(t), n = Ki(), r = !0;
5088
+ function Lf(t) {
5089
+ let e = _f(t), n = Ki(), r = !0;
5091
5090
  const i = (l) => (c, u) => {
5092
5091
  var d;
5093
5092
  const f = Fe(t, u, l === "exit" ? (d = t.presenceContext) === null || d === void 0 ? void 0 : d.custom : void 0);
@@ -5104,7 +5103,7 @@ function $f(t) {
5104
5103
  const { props: c } = t, u = ha(t.parent) || {}, d = [], f = /* @__PURE__ */ new Set();
5105
5104
  let h = {}, p = 1 / 0;
5106
5105
  for (let x = 0; x < Df; x++) {
5107
- const v = kf[x], S = n[v], w = c[v] !== void 0 ? c[v] : u[v], C = Oe(w), m = v === l ? S.isActive : null;
5106
+ const v = kf[x], S = n[v], w = c[v] !== void 0 ? c[v] : u[v], C = $e(w), m = v === l ? S.isActive : null;
5108
5107
  m === !1 && (p = x);
5109
5108
  let V = w === u[v] && w !== c[v] && C;
5110
5109
  if (V && r && t.manuallyAnimateOnMount && (V = !1), S.protectedKeys = { ...h }, // If it isn't active and hasn't *just* been set as inactive
@@ -5112,14 +5111,14 @@ function $f(t) {
5112
5111
  !w && !S.prevProp || // Or if the prop doesn't define an animation
5113
5112
  Vn(w) || typeof w == "boolean")
5114
5113
  continue;
5115
- const E = Of(S.prevProp, w);
5114
+ const E = $f(S.prevProp, w);
5116
5115
  let y = E || // If we're making this variant active, we want to always make it active
5117
5116
  v === l && S.isActive && !V && C || // If we removed a higher-priority variant (i is in reverse order)
5118
5117
  x > p && C, b = !1;
5119
5118
  const T = Array.isArray(w) ? w : [w];
5120
5119
  let P = T.reduce(i(v), {});
5121
5120
  m === !1 && (P = {});
5122
- const { prevResolvedValues: k = {} } = S, W = {
5121
+ const { prevResolvedValues: k = {} } = S, z = {
5123
5122
  ...k,
5124
5123
  ...P
5125
5124
  }, Q = (D) => {
@@ -5127,7 +5126,7 @@ function $f(t) {
5127
5126
  const I = t.getValue(D);
5128
5127
  I && (I.liveStyle = !1);
5129
5128
  };
5130
- for (const D in W) {
5129
+ for (const D in z) {
5131
5130
  const I = P[D], st = k[D];
5132
5131
  if (h.hasOwnProperty(D))
5133
5132
  continue;
@@ -5176,7 +5175,7 @@ function $f(t) {
5176
5175
  }
5177
5176
  };
5178
5177
  }
5179
- function Of(t, e) {
5178
+ function $f(t, e) {
5180
5179
  return typeof e == "string" ? e !== t : Array.isArray(e) ? !fa(e, t) : !1;
5181
5180
  }
5182
5181
  function Kt(t = !1) {
@@ -5198,21 +5197,21 @@ function Ki() {
5198
5197
  exit: Kt()
5199
5198
  };
5200
5199
  }
5201
- class zt {
5200
+ class Wt {
5202
5201
  constructor(e) {
5203
5202
  this.isMounted = !1, this.node = e;
5204
5203
  }
5205
5204
  update() {
5206
5205
  }
5207
5206
  }
5208
- class _f extends zt {
5207
+ class Of extends Wt {
5209
5208
  /**
5210
5209
  * We dynamically generate the AnimationState manager as it contains a reference
5211
5210
  * to the underlying animation library. We only want to load that if we load this,
5212
5211
  * so people can optionally code split it out using the `m` component.
5213
5212
  */
5214
5213
  constructor(e) {
5215
- super(e), e.animationState || (e.animationState = $f(e));
5214
+ super(e), e.animationState || (e.animationState = Lf(e));
5216
5215
  }
5217
5216
  updateAnimationControlsSubscription() {
5218
5217
  const { animate: e } = this.node.getProps();
@@ -5234,7 +5233,7 @@ class _f extends zt {
5234
5233
  }
5235
5234
  }
5236
5235
  let Bf = 0;
5237
- class Ff extends zt {
5236
+ class Ff extends Wt {
5238
5237
  constructor() {
5239
5238
  super(...arguments), this.id = Bf++;
5240
5239
  }
@@ -5258,13 +5257,13 @@ class Ff extends zt {
5258
5257
  }
5259
5258
  const If = {
5260
5259
  animation: {
5261
- Feature: _f
5260
+ Feature: Of
5262
5261
  },
5263
5262
  exit: {
5264
5263
  Feature: Ff
5265
5264
  }
5266
5265
  };
5267
- function Ne(t, e, n, r = { passive: !0 }) {
5266
+ function je(t, e, n, r = { passive: !0 }) {
5268
5267
  return t.addEventListener(e, n, r), () => t.removeEventListener(e, n);
5269
5268
  }
5270
5269
  function Ge(t) {
@@ -5275,9 +5274,9 @@ function Ge(t) {
5275
5274
  }
5276
5275
  };
5277
5276
  }
5278
- const jf = (t) => (e) => Nr(e) && t(e, Ge(e));
5277
+ const Nf = (t) => (e) => jr(e) && t(e, Ge(e));
5279
5278
  function ie(t, e, n, r) {
5280
- return Ne(t, e, jf(n), r);
5279
+ return je(t, e, Nf(n), r);
5281
5280
  }
5282
5281
  function pa({ top: t, left: e, right: n, bottom: r }) {
5283
5282
  return {
@@ -5285,7 +5284,7 @@ function pa({ top: t, left: e, right: n, bottom: r }) {
5285
5284
  y: { min: t, max: r }
5286
5285
  };
5287
5286
  }
5288
- function Nf({ x: t, y: e }) {
5287
+ function jf({ x: t, y: e }) {
5289
5288
  return { top: e.min, right: t.max, bottom: e.max, left: t.min };
5290
5289
  }
5291
5290
  function Uf(t, e) {
@@ -5299,7 +5298,7 @@ function Uf(t, e) {
5299
5298
  right: r.x
5300
5299
  };
5301
5300
  }
5302
- const ma = 1e-4, Wf = 1 - ma, zf = 1 + ma, ga = 0.01, qf = 0 - ga, Gf = 0 + ga;
5301
+ const ma = 1e-4, zf = 1 - ma, Wf = 1 + ma, ga = 0.01, qf = 0 - ga, Gf = 0 + ga;
5303
5302
  function it(t) {
5304
5303
  return t.max - t.min;
5305
5304
  }
@@ -5307,7 +5306,7 @@ function Hf(t, e, n) {
5307
5306
  return Math.abs(t - e) <= n;
5308
5307
  }
5309
5308
  function Yi(t, e, n, r = 0.5) {
5310
- t.origin = r, t.originPoint = U(e.min, e.max, t.origin), t.scale = it(n) / it(e), t.translate = U(n.min, n.max, t.origin) - t.originPoint, (t.scale >= Wf && t.scale <= zf || isNaN(t.scale)) && (t.scale = 1), (t.translate >= qf && t.translate <= Gf || isNaN(t.translate)) && (t.translate = 0);
5309
+ t.origin = r, t.originPoint = U(e.min, e.max, t.origin), t.scale = it(n) / it(e), t.translate = U(n.min, n.max, t.origin) - t.originPoint, (t.scale >= zf && t.scale <= Wf || isNaN(t.scale)) && (t.scale = 1), (t.translate >= qf && t.translate <= Gf || isNaN(t.translate)) && (t.translate = 0);
5311
5310
  }
5312
5311
  function Ee(t, e, n, r) {
5313
5312
  Yi(t.x, e.x, n.x, r ? r.originX : void 0), Yi(t.y, e.y, n.y, r ? r.originY : void 0);
@@ -5332,18 +5331,18 @@ const Ji = () => ({
5332
5331
  }), se = () => ({
5333
5332
  x: Ji(),
5334
5333
  y: Ji()
5335
- }), Qi = () => ({ min: 0, max: 0 }), z = () => ({
5334
+ }), Qi = () => ({ min: 0, max: 0 }), W = () => ({
5336
5335
  x: Qi(),
5337
5336
  y: Qi()
5338
5337
  });
5339
5338
  function gt(t) {
5340
5339
  return [t("x"), t("y")];
5341
5340
  }
5342
- function Nn(t) {
5341
+ function jn(t) {
5343
5342
  return t === void 0 || t === 1;
5344
5343
  }
5345
5344
  function fr({ scale: t, scaleX: e, scaleY: n }) {
5346
- return !Nn(t) || !Nn(e) || !Nn(n);
5345
+ return !jn(t) || !jn(e) || !jn(n);
5347
5346
  }
5348
5347
  function Yt(t) {
5349
5348
  return fr(t) || ya(t) || t.z || t.rotate || t.rotateX || t.rotateY || t.skewX || t.skewY;
@@ -5411,7 +5410,7 @@ class xa {
5411
5410
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.updatePoint = () => {
5412
5411
  if (!(this.lastMoveEvent && this.lastMoveEventInfo))
5413
5412
  return;
5414
- const u = Wn(this.lastMoveEventInfo, this.history), d = this.startEvent !== null, f = Zf(u.offset, { x: 0, y: 0 }) >= 3;
5413
+ const u = zn(this.lastMoveEventInfo, this.history), d = this.startEvent !== null, f = Zf(u.offset, { x: 0, y: 0 }) >= 3;
5415
5414
  if (!d && !f)
5416
5415
  return;
5417
5416
  const { point: h } = u, { timestamp: p } = H;
@@ -5425,21 +5424,21 @@ class xa {
5425
5424
  return;
5426
5425
  } catch {
5427
5426
  }
5428
- this.lastMoveEvent = u, this.lastMoveEventInfo = Un(d, this.transformPagePoint), j.update(this.updatePoint, !0);
5427
+ this.lastMoveEvent = u, this.lastMoveEventInfo = Un(d, this.transformPagePoint), N.update(this.updatePoint, !0);
5429
5428
  }, this.handlePointerUp = (u, d) => {
5430
5429
  gn(u, "release"), this.end();
5431
5430
  const { onEnd: f, onSessionEnd: h, resumeAnimation: p } = this.handlers;
5432
5431
  if (this.dragSnapToOrigin && p && p(), !(this.lastMoveEvent && this.lastMoveEventInfo))
5433
5432
  return;
5434
- const g = Wn(u.type === "pointercancel" || u.type === "lostpointercapture" ? this.lastMoveEventInfo : Un(d, this.transformPagePoint), this.history);
5433
+ const g = zn(u.type === "pointercancel" || u.type === "lostpointercapture" ? this.lastMoveEventInfo : Un(d, this.transformPagePoint), this.history);
5435
5434
  this.startEvent && f && f(u, g), h && h(u, g);
5436
- }, !Nr(e))
5435
+ }, !jr(e))
5437
5436
  return;
5438
5437
  this.dragSnapToOrigin = i, this.handlers = n, this.transformPagePoint = r;
5439
5438
  const s = Ge(e), o = Un(s, this.transformPagePoint), { point: a } = o, { timestamp: l } = H;
5440
5439
  this.history = [{ ...a, timestamp: l }];
5441
5440
  const { onSessionStart: c } = n;
5442
- c && c(e, Wn(o, this.history)), gn(e, "set"), this.removeListeners = qe(ie(e.currentTarget, "pointermove", this.handlePointerMove), ie(e.currentTarget, "pointerup", this.handlePointerUp), ie(e.currentTarget, "pointercancel", this.handlePointerUp), ie(e.currentTarget, "lostpointercapture", this.handlePointerUp));
5441
+ c && c(e, zn(o, this.history)), gn(e, "set"), this.removeListeners = qe(ie(e.currentTarget, "pointermove", this.handlePointerMove), ie(e.currentTarget, "pointerup", this.handlePointerUp), ie(e.currentTarget, "pointercancel", this.handlePointerUp), ie(e.currentTarget, "lostpointercapture", this.handlePointerUp));
5443
5442
  }
5444
5443
  updateHandlers(e) {
5445
5444
  this.handlers = e;
@@ -5454,7 +5453,7 @@ function Un(t, e) {
5454
5453
  function os(t, e) {
5455
5454
  return { x: t.x - e.x, y: t.y - e.y };
5456
5455
  }
5457
- function Wn({ point: t }, e) {
5456
+ function zn({ point: t }, e) {
5458
5457
  return {
5459
5458
  point: t,
5460
5459
  delta: os(t, Sa(e)),
@@ -5473,7 +5472,7 @@ function Qf(t, e) {
5473
5472
  return { x: 0, y: 0 };
5474
5473
  let n = t.length - 1, r = null;
5475
5474
  const i = Sa(t);
5476
- for (; n >= 0 && (r = t[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ At(e))); )
5475
+ for (; n >= 0 && (r = t[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Vt(e))); )
5477
5476
  n--;
5478
5477
  if (!r)
5479
5478
  return { x: 0, y: 0 };
@@ -5514,7 +5513,7 @@ function nh(t, e) {
5514
5513
  function rh(t, e) {
5515
5514
  let n = 0.5;
5516
5515
  const r = it(t), i = it(e);
5517
- return i > r ? n = /* @__PURE__ */ de(e.min, e.max - r, t.min) : r > i && (n = /* @__PURE__ */ de(t.min, t.max - i, e.min)), $t(0, 1, n);
5516
+ return i > r ? n = /* @__PURE__ */ de(e.min, e.max - r, t.min) : r > i && (n = /* @__PURE__ */ de(t.min, t.max - i, e.min)), Lt(0, 1, n);
5518
5517
  }
5519
5518
  function ih(t, e) {
5520
5519
  const n = {};
@@ -5539,7 +5538,7 @@ function us(t, e) {
5539
5538
  const oh = /* @__PURE__ */ new WeakMap();
5540
5539
  class ah {
5541
5540
  constructor(e) {
5542
- this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = z(), this.visualElement = e;
5541
+ this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = W(), this.visualElement = e;
5543
5542
  }
5544
5543
  start(e, { snapToCursor: n = !1 } = {}) {
5545
5544
  const { presenceContext: r } = this.visualElement;
@@ -5554,7 +5553,7 @@ class ah {
5554
5553
  return;
5555
5554
  this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), gt((x) => {
5556
5555
  let v = this.getAxisMotionValue(x).get() || 0;
5557
- if (Vt.test(v)) {
5556
+ if (Rt.test(v)) {
5558
5557
  const { projection: S } = this.visualElement;
5559
5558
  if (S && S.layout) {
5560
5559
  const w = S.layout.layoutBox[x];
@@ -5562,7 +5561,7 @@ class ah {
5562
5561
  }
5563
5562
  }
5564
5563
  this.originPoint[x] = v;
5565
- }), p && j.postRender(() => p(u, d)), ir(this.visualElement, "transform");
5564
+ }), p && N.postRender(() => p(u, d)), ir(this.visualElement, "transform");
5566
5565
  const { animationState: g } = this.visualElement;
5567
5566
  g && g.setActive("whileDrag", !0);
5568
5567
  }, o = (u, d) => {
@@ -5597,7 +5596,7 @@ class ah {
5597
5596
  const { velocity: i } = n;
5598
5597
  this.startAnimation(i);
5599
5598
  const { onDragEnd: s } = this.getProps();
5600
- s && j.postRender(() => s(e, n));
5599
+ s && N.postRender(() => s(e, n));
5601
5600
  }
5602
5601
  cancel() {
5603
5602
  this.isDragging = !1;
@@ -5626,14 +5625,14 @@ class ah {
5626
5625
  if (!e || !ne(e))
5627
5626
  return !1;
5628
5627
  const r = e.current;
5629
- Et(r !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");
5628
+ Mt(r !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");
5630
5629
  const { projection: i } = this.visualElement;
5631
5630
  if (!i || !i.layout)
5632
5631
  return !1;
5633
5632
  const s = Xf(r, i.root, this.visualElement.getTransformPagePoint());
5634
5633
  let o = nh(i.layout.layoutBox, s);
5635
5634
  if (n) {
5636
- const a = n(Nf(o));
5635
+ const a = n(jf(o));
5637
5636
  this.hasMutatedConstraints = !!a, a && (o = pa(a));
5638
5637
  }
5639
5638
  return o;
@@ -5737,8 +5736,8 @@ class ah {
5737
5736
  const { dragConstraints: l } = this.getProps();
5738
5737
  ne(l) && l.current && (this.constraints = this.resolveRefConstraints());
5739
5738
  }, { projection: i } = this.visualElement, s = i.addEventListener("measure", r);
5740
- i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), j.read(r);
5741
- const o = Ne(window, "resize", () => this.scalePositionWithinConstraints()), a = i.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: c }) => {
5739
+ i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), N.read(r);
5740
+ const o = je(window, "resize", () => this.scalePositionWithinConstraints()), a = i.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: c }) => {
5742
5741
  this.isDragging && c && (gt((u) => {
5743
5742
  const d = this.getAxisMotionValue(u);
5744
5743
  d && (this.originPoint[u] += l[u].translate, d.set(d.get() + l[u].translate));
@@ -5768,7 +5767,7 @@ function lh(t, e = 10) {
5768
5767
  let n = null;
5769
5768
  return Math.abs(t.y) > e ? n = "y" : Math.abs(t.x) > e && (n = "x"), n;
5770
5769
  }
5771
- class ch extends zt {
5770
+ class ch extends Wt {
5772
5771
  constructor(e) {
5773
5772
  super(e), this.removeGroupControls = ct, this.removeListeners = ct, this.controls = new ah(e);
5774
5773
  }
@@ -5781,9 +5780,9 @@ class ch extends zt {
5781
5780
  }
5782
5781
  }
5783
5782
  const ds = (t) => (e, n) => {
5784
- t && j.postRender(() => t(e, n));
5783
+ t && N.postRender(() => t(e, n));
5785
5784
  };
5786
- class uh extends zt {
5785
+ class uh extends Wt {
5787
5786
  constructor() {
5788
5787
  super(...arguments), this.removePointerDownListener = ct;
5789
5788
  }
@@ -5799,7 +5798,7 @@ class uh extends zt {
5799
5798
  onStart: ds(n),
5800
5799
  onMove: r,
5801
5800
  onEnd: (s, o) => {
5802
- delete this.session, i && j.postRender(() => i(s, o));
5801
+ delete this.session, i && N.postRender(() => i(s, o));
5803
5802
  }
5804
5803
  };
5805
5804
  }
@@ -5842,16 +5841,16 @@ const we = {
5842
5841
  }
5843
5842
  }, dh = {
5844
5843
  correct: (t, { treeScale: e, projectionDelta: n }) => {
5845
- const r = t, i = Wt.parse(t);
5844
+ const r = t, i = zt.parse(t);
5846
5845
  if (i.length > 5)
5847
5846
  return r;
5848
- const s = Wt.createTransformer(t), o = typeof i[0] != "number" ? 1 : 0, a = n.x.scale * e.x, l = n.y.scale * e.y;
5847
+ const s = zt.createTransformer(t), o = typeof i[0] != "number" ? 1 : 0, a = n.x.scale * e.x, l = n.y.scale * e.y;
5849
5848
  i[0 + o] /= a, i[1 + o] /= l;
5850
5849
  const c = U(a, l, 0.5);
5851
5850
  return typeof i[2 + o] == "number" && (i[2 + o] /= c), typeof i[3 + o] == "number" && (i[3 + o] /= c), s(i);
5852
5851
  }
5853
5852
  };
5854
- class fh extends ja {
5853
+ class fh extends Na {
5855
5854
  /**
5856
5855
  * This only mounts projection nodes for components that
5857
5856
  * need measuring, we might want to do it for all components
@@ -5868,7 +5867,7 @@ class fh extends ja {
5868
5867
  }
5869
5868
  getSnapshotBeforeUpdate(e) {
5870
5869
  const { layoutDependency: n, visualElement: r, drag: i, isPresent: s } = this.props, o = r.projection;
5871
- return o && (o.isPresent = s, i || e.layoutDependency !== n || n === void 0 ? o.willUpdate() : this.safeToRemove(), e.isPresent !== s && (s ? o.promote() : o.relegate() || j.postRender(() => {
5870
+ return o && (o.isPresent = s, i || e.layoutDependency !== n || n === void 0 ? o.willUpdate() : this.safeToRemove(), e.isPresent !== s && (s ? o.promote() : o.relegate() || N.postRender(() => {
5872
5871
  const a = o.getStack();
5873
5872
  (!a || !a.members.length) && this.safeToRemove();
5874
5873
  }))), null;
@@ -5927,18 +5926,18 @@ class yh {
5927
5926
  Ur(this.children, e), this.isDirty = !0;
5928
5927
  }
5929
5928
  remove(e) {
5930
- Wr(this.children, e), this.isDirty = !0;
5929
+ zr(this.children, e), this.isDirty = !0;
5931
5930
  }
5932
5931
  forEach(e) {
5933
5932
  this.isDirty && this.children.sort(gh), this.isDirty = !1, this.children.forEach(e);
5934
5933
  }
5935
5934
  }
5936
5935
  function vh(t, e) {
5937
- const n = Rt.now(), r = ({ timestamp: i }) => {
5936
+ const n = Et.now(), r = ({ timestamp: i }) => {
5938
5937
  const s = i - n;
5939
5938
  s >= e && (Ut(r), t(s - e));
5940
5939
  };
5941
- return j.read(r, !0), () => Ut(r);
5940
+ return N.read(r, !0), () => Ut(r);
5942
5941
  }
5943
5942
  const Ta = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], bh = Ta.length, hs = (t) => typeof t == "string" ? parseFloat(t) : t, ps = (t) => typeof t == "number" || M.test(t);
5944
5943
  function xh(t, e, n, r, i, s) {
@@ -5953,14 +5952,14 @@ function xh(t, e, n, r, i, s) {
5953
5952
  let l = ms(e, a), c = ms(n, a);
5954
5953
  if (l === void 0 && c === void 0)
5955
5954
  continue;
5956
- l || (l = 0), c || (c = 0), l === 0 || c === 0 || ps(l) === ps(c) ? (t[a] = Math.max(U(hs(l), hs(c), r), 0), (Vt.test(c) || Vt.test(l)) && (t[a] += "%")) : t[a] = c;
5955
+ l || (l = 0), c || (c = 0), l === 0 || c === 0 || ps(l) === ps(c) ? (t[a] = Math.max(U(hs(l), hs(c), r), 0), (Rt.test(c) || Rt.test(l)) && (t[a] += "%")) : t[a] = c;
5957
5956
  }
5958
5957
  (e.rotate || n.rotate) && (t.rotate = U(e.rotate || 0, n.rotate || 0, r));
5959
5958
  }
5960
5959
  function ms(t, e) {
5961
5960
  return t[e] !== void 0 ? t[e] : t.borderRadius;
5962
5961
  }
5963
- const Sh = /* @__PURE__ */ Pa(0, 0.5, No), wh = /* @__PURE__ */ Pa(0.5, 0.95, ct);
5962
+ const Sh = /* @__PURE__ */ Pa(0, 0.5, jo), wh = /* @__PURE__ */ Pa(0.5, 0.95, ct);
5964
5963
  function Pa(t, e, n) {
5965
5964
  return (r) => r < t ? 0 : r > e ? 1 : n(/* @__PURE__ */ de(t, e, r));
5966
5965
  }
@@ -5977,7 +5976,7 @@ function vs(t, e, n, r, i) {
5977
5976
  return t -= e, t = bn(t, 1 / n, r), i !== void 0 && (t = bn(t, 1 / i, r)), t;
5978
5977
  }
5979
5978
  function Th(t, e = 0, n = 1, r = 0.5, i, s = t, o = t) {
5980
- if (Vt.test(e) && (e = parseFloat(e), e = U(o.min, o.max, e / 100) - o.min), typeof e != "number")
5979
+ if (Rt.test(e) && (e = parseFloat(e), e = U(o.min, o.max, e / 100) - o.min), typeof e != "number")
5981
5980
  return;
5982
5981
  let a = U(s.min, s.max, r);
5983
5982
  t === s && (a -= e), t.min = vs(t.min, e, n, a, i), t.max = vs(t.max, e, n, a, i);
@@ -6021,7 +6020,7 @@ class Vh {
6021
6020
  Ur(this.members, e), e.scheduleRender();
6022
6021
  }
6023
6022
  remove(e) {
6024
- if (Wr(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
6023
+ if (zr(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
6025
6024
  const n = this.members[this.members.length - 1];
6026
6025
  n && this.promote(n);
6027
6026
  }
@@ -6077,7 +6076,7 @@ function Rh(t, e, n) {
6077
6076
  const a = t.x.scale * e.x, l = t.y.scale * e.y;
6078
6077
  return (a !== 1 || l !== 1) && (r += `scale(${a}, ${l})`), r || "none";
6079
6078
  }
6080
- const zn = ["", "X", "Y", "Z"], Eh = { visibility: "hidden" }, As = 1e3;
6079
+ const Wn = ["", "X", "Y", "Z"], Eh = { visibility: "hidden" }, As = 1e3;
6081
6080
  let Mh = 0;
6082
6081
  function qn(t, e, n, r) {
6083
6082
  const { latestValues: i } = e;
@@ -6089,10 +6088,10 @@ function Va(t) {
6089
6088
  const { visualElement: e } = t.options;
6090
6089
  if (!e)
6091
6090
  return;
6092
- const n = $o(e);
6091
+ const n = Lo(e);
6093
6092
  if (window.MotionHasOptimisedAnimation(n, "transform")) {
6094
6093
  const { layout: i, layoutId: s } = t.options;
6095
- window.MotionCancelOptimisedAnimation(n, "transform", j, !(i || s));
6094
+ window.MotionCancelOptimisedAnimation(n, "transform", N, !(i || s));
6096
6095
  }
6097
6096
  const { parent: r } = t;
6098
6097
  r && !r.hasCheckedOptimisedAppear && Va(r);
@@ -6103,14 +6102,14 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6103
6102
  this.id = Mh++, 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.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
6104
6103
  this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
6105
6104
  }, this.updateProjection = () => {
6106
- this.projectionUpdateScheduled = !1, this.nodes.forEach(Lh), this.nodes.forEach(Fh), this.nodes.forEach(Ih), this.nodes.forEach($h);
6105
+ this.projectionUpdateScheduled = !1, this.nodes.forEach(_h), this.nodes.forEach(Fh), this.nodes.forEach(Ih), this.nodes.forEach(Lh);
6107
6106
  }, this.resolvedRelativeTargetAt = 0, 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;
6108
6107
  for (let l = 0; l < this.path.length; l++)
6109
6108
  this.path[l].shouldResetTransform = !0;
6110
6109
  this.root === this && (this.nodes = new yh());
6111
6110
  }
6112
6111
  addEventListener(o, a) {
6113
- return this.eventHandlers.has(o) || this.eventHandlers.set(o, new zr()), this.eventHandlers.get(o).add(a);
6112
+ return this.eventHandlers.has(o) || this.eventHandlers.set(o, new Wr()), this.eventHandlers.get(o).add(a);
6114
6113
  }
6115
6114
  notifyListeners(o, ...a) {
6116
6115
  const l = this.eventHandlers.get(o);
@@ -6139,7 +6138,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6139
6138
  this.target = void 0, this.relativeTarget = void 0;
6140
6139
  return;
6141
6140
  }
6142
- const g = this.options.transition || u.getDefaultTransition() || zh, { onLayoutAnimationStart: x, onLayoutAnimationComplete: v } = u.getProps(), S = !this.targetLayout || !Aa(this.targetLayout, p), w = !f && h;
6141
+ const g = this.options.transition || u.getDefaultTransition() || Wh, { onLayoutAnimationStart: x, onLayoutAnimationComplete: v } = u.getProps(), S = !this.targetLayout || !Aa(this.targetLayout, p), w = !f && h;
6143
6142
  if (this.options.layoutRoot || this.resumeFrom || w || f && (S || !this.currentAnimation)) {
6144
6143
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(d, w);
6145
6144
  const C = {
@@ -6173,7 +6172,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6173
6172
  }
6174
6173
  // Note: currently only running on root node
6175
6174
  startUpdate() {
6176
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(jh), this.animationId++);
6175
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Nh), this.animationId++);
6177
6176
  }
6178
6177
  getTransformTemplate() {
6179
6178
  const { visualElement: o } = this.options;
@@ -6202,21 +6201,21 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6202
6201
  this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Vs);
6203
6202
  return;
6204
6203
  }
6205
- this.isUpdating || this.nodes.forEach(_h), this.isUpdating = !1, this.nodes.forEach(Bh), this.nodes.forEach(kh), this.nodes.forEach(Dh), this.clearAllSnapshots();
6206
- const a = Rt.now();
6207
- H.delta = $t(0, 1e3 / 60, a - H.timestamp), H.timestamp = a, H.isProcessing = !0, _n.update.process(H), _n.preRender.process(H), _n.render.process(H), H.isProcessing = !1;
6204
+ this.isUpdating || this.nodes.forEach(Oh), this.isUpdating = !1, this.nodes.forEach(Bh), this.nodes.forEach(kh), this.nodes.forEach(Dh), this.clearAllSnapshots();
6205
+ const a = Et.now();
6206
+ H.delta = Lt(0, 1e3 / 60, a - H.timestamp), H.timestamp = a, H.isProcessing = !0, On.update.process(H), On.preRender.process(H), On.render.process(H), H.isProcessing = !1;
6208
6207
  }
6209
6208
  didUpdate() {
6210
6209
  this.updateScheduled || (this.updateScheduled = !0, Vr.read(this.scheduleUpdate));
6211
6210
  }
6212
6211
  clearAllSnapshots() {
6213
- this.nodes.forEach(Oh), this.sharedNodes.forEach(Nh);
6212
+ this.nodes.forEach($h), this.sharedNodes.forEach(jh);
6214
6213
  }
6215
6214
  scheduleUpdateProjection() {
6216
- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, j.preRender(this.updateProjection, !1, !0));
6215
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, N.preRender(this.updateProjection, !1, !0));
6217
6216
  }
6218
6217
  scheduleCheckAfterUnmount() {
6219
- j.postRender(() => {
6218
+ N.postRender(() => {
6220
6219
  this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
6221
6220
  });
6222
6221
  }
@@ -6233,7 +6232,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6233
6232
  for (let l = 0; l < this.path.length; l++)
6234
6233
  this.path[l].updateScroll();
6235
6234
  const o = this.layout;
6236
- this.layout = this.measure(!1), this.layoutCorrected = z(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
6235
+ this.layout = this.measure(!1), this.layoutCorrected = W(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
6237
6236
  const { visualElement: a } = this.options;
6238
6237
  a && a.notify("LayoutMeasure", this.layout.layoutBox, o ? o.layoutBox : void 0);
6239
6238
  }
@@ -6271,7 +6270,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6271
6270
  var o;
6272
6271
  const { visualElement: a } = this.options;
6273
6272
  if (!a)
6274
- return z();
6273
+ return W();
6275
6274
  const l = a.measureViewportBox();
6276
6275
  if (!(((o = this.scroll) === null || o === void 0 ? void 0 : o.wasRoot) || this.path.some(Gh))) {
6277
6276
  const { scroll: u } = this.root;
@@ -6281,7 +6280,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6281
6280
  }
6282
6281
  removeElementScroll(o) {
6283
6282
  var a;
6284
- const l = z();
6283
+ const l = W();
6285
6284
  if (mt(l, o), !((a = this.scroll) === null || a === void 0) && a.wasRoot)
6286
6285
  return l;
6287
6286
  for (let c = 0; c < this.path.length; c++) {
@@ -6291,7 +6290,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6291
6290
  return l;
6292
6291
  }
6293
6292
  applyTransform(o, a = !1) {
6294
- const l = z();
6293
+ const l = W();
6295
6294
  mt(l, o);
6296
6295
  for (let c = 0; c < this.path.length; c++) {
6297
6296
  const u = this.path[c];
@@ -6303,14 +6302,14 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6303
6302
  return Yt(this.latestValues) && ae(l, this.latestValues), l;
6304
6303
  }
6305
6304
  removeTransform(o) {
6306
- const a = z();
6305
+ const a = W();
6307
6306
  mt(a, o);
6308
6307
  for (let l = 0; l < this.path.length; l++) {
6309
6308
  const c = this.path[l];
6310
6309
  if (!c.instance || !Yt(c.latestValues))
6311
6310
  continue;
6312
6311
  fr(c.latestValues) && c.updateSnapshot();
6313
- const u = z(), d = c.measurePageBox();
6312
+ const u = W(), d = c.measurePageBox();
6314
6313
  mt(u, d), xs(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
6315
6314
  }
6316
6315
  return Yt(this.latestValues) && xs(a, this.latestValues), a;
@@ -6342,12 +6341,12 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6342
6341
  if (!(!this.layout || !(d || f))) {
6343
6342
  if (this.resolvedRelativeTargetAt = H.timestamp, !this.targetDelta && !this.relativeTarget) {
6344
6343
  const h = this.getClosestProjectingParent();
6345
- h && h.layout && this.animationProgress !== 1 ? (this.relativeParent = h, this.forceRelativeParentToResolveTarget(), this.relativeTarget = z(), this.relativeTargetOrigin = z(), Me(this.relativeTargetOrigin, this.layout.layoutBox, h.layout.layoutBox), mt(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
6344
+ h && h.layout && this.animationProgress !== 1 ? (this.relativeParent = h, this.forceRelativeParentToResolveTarget(), this.relativeTarget = W(), this.relativeTargetOrigin = W(), Me(this.relativeTargetOrigin, this.layout.layoutBox, h.layout.layoutBox), mt(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
6346
6345
  }
6347
- if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = z(), this.targetWithTransforms = z()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Kf(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : mt(this.target, this.layout.layoutBox), va(this.target, this.targetDelta)) : mt(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget)) {
6346
+ if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = W(), this.targetWithTransforms = W()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Kf(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : mt(this.target, this.layout.layoutBox), va(this.target, this.targetDelta)) : mt(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget)) {
6348
6347
  this.attemptToResolveRelativeTarget = !1;
6349
6348
  const h = this.getClosestProjectingParent();
6350
- h && !!h.resumingFrom == !!this.resumingFrom && !h.options.layoutScroll && h.target && this.animationProgress !== 1 ? (this.relativeParent = h, this.forceRelativeParentToResolveTarget(), this.relativeTarget = z(), this.relativeTargetOrigin = z(), Me(this.relativeTargetOrigin, this.target, h.target), mt(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
6349
+ h && !!h.resumingFrom == !!this.resumingFrom && !h.options.layoutScroll && h.target && this.animationProgress !== 1 ? (this.relativeParent = h, this.forceRelativeParentToResolveTarget(), this.relativeTarget = W(), this.relativeTargetOrigin = W(), Me(this.relativeTargetOrigin, this.target, h.target), mt(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
6351
6350
  }
6352
6351
  }
6353
6352
  }
@@ -6369,7 +6368,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6369
6368
  return;
6370
6369
  mt(this.layoutCorrected, this.layout.layoutBox);
6371
6370
  const f = this.treeScale.x, h = this.treeScale.y;
6372
- Yf(this.layoutCorrected, this.treeScale, this.path, l), a.layout && !a.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (a.target = a.layout.layoutBox, a.targetWithTransforms = z());
6371
+ Yf(this.layoutCorrected, this.treeScale, this.path, l), a.layout && !a.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (a.target = a.layout.layoutBox, a.targetWithTransforms = W());
6373
6372
  const { target: p } = a;
6374
6373
  if (!p) {
6375
6374
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
@@ -6397,16 +6396,16 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6397
6396
  setAnimationOrigin(o, a = !1) {
6398
6397
  const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, d = se();
6399
6398
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
6400
- const f = z(), h = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, g = h !== p, x = this.getStack(), v = !x || x.members.length <= 1, S = !!(g && !v && this.options.crossfade === !0 && !this.path.some(Wh));
6399
+ const f = W(), h = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, g = h !== p, x = this.getStack(), v = !x || x.members.length <= 1, S = !!(g && !v && this.options.crossfade === !0 && !this.path.some(zh));
6401
6400
  this.animationProgress = 0;
6402
6401
  let w;
6403
6402
  this.mixTargetDelta = (C) => {
6404
6403
  const m = C / 1e3;
6405
- Es(d.x, o.x, m), Es(d.y, o.y, m), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Me(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Uh(this.relativeTarget, this.relativeTargetOrigin, f, m), w && Ah(this.relativeTarget, w) && (this.isProjectionDirty = !1), w || (w = z()), mt(w, this.relativeTarget)), g && (this.animationValues = u, xh(u, c, this.latestValues, m, S, v)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = m;
6404
+ Es(d.x, o.x, m), Es(d.y, o.y, m), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Me(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Uh(this.relativeTarget, this.relativeTargetOrigin, f, m), w && Ah(this.relativeTarget, w) && (this.isProjectionDirty = !1), w || (w = W()), mt(w, this.relativeTarget)), g && (this.animationValues = u, xh(u, c, this.latestValues, m, S, v)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = m;
6406
6405
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
6407
6406
  }
6408
6407
  startAnimation(o) {
6409
- this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (Ut(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = j.update(() => {
6408
+ this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (Ut(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = N.update(() => {
6410
6409
  cn.hasAnimatedSinceResize = !0, this.currentAnimation = ph(0, As, {
6411
6410
  ...o,
6412
6411
  onUpdate: (a) => {
@@ -6433,7 +6432,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6433
6432
  let { targetWithTransforms: a, target: l, layout: c, latestValues: u } = o;
6434
6433
  if (!(!a || !l || !c)) {
6435
6434
  if (this !== o && this.layout && c && Ea(this.options.animationType, this.layout.layoutBox, c.layoutBox)) {
6436
- l = this.target || z();
6435
+ l = this.target || W();
6437
6436
  const d = it(this.layout.layoutBox.x);
6438
6437
  l.x.min = o.target.x.min, l.x.max = l.x.min + d;
6439
6438
  const f = it(this.layout.layoutBox.y);
@@ -6487,8 +6486,8 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6487
6486
  return;
6488
6487
  const c = {};
6489
6488
  l.z && qn("z", o, c, this.animationValues);
6490
- for (let u = 0; u < zn.length; u++)
6491
- qn(`rotate${zn[u]}`, o, c, this.animationValues), qn(`skew${zn[u]}`, o, c, this.animationValues);
6489
+ for (let u = 0; u < Wn.length; u++)
6490
+ qn(`rotate${Wn[u]}`, o, c, this.animationValues), qn(`skew${Wn[u]}`, o, c, this.animationValues);
6492
6491
  o.render();
6493
6492
  for (const u in c)
6494
6493
  o.setStaticValue(u, c[u]), this.animationValues && (this.animationValues[u] = c[u]);
@@ -6514,10 +6513,10 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6514
6513
  this.applyTransformsToTarget(), c.transform = Rh(this.projectionDeltaWithTransform, this.treeScale, f), u && (c.transform = u(f, c.transform));
6515
6514
  const { x: h, y: p } = this.projectionDelta;
6516
6515
  c.transformOrigin = `${h.origin * 100}% ${p.origin * 100}% 0`, d.animationValues ? c.opacity = d === 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 = d === this ? f.opacity !== void 0 ? f.opacity : "" : f.opacityExit !== void 0 ? f.opacityExit : 0;
6517
- for (const g in _e) {
6516
+ for (const g in Oe) {
6518
6517
  if (f[g] === void 0)
6519
6518
  continue;
6520
- const { correct: x, applyTo: v, isCSSVariable: S } = _e[g], w = c.transform === "none" ? f[g] : x(f[g], d);
6519
+ const { correct: x, applyTo: v, isCSSVariable: S } = Oe[g], w = c.transform === "none" ? f[g] : x(f[g], d);
6521
6520
  if (v) {
6522
6521
  const C = v.length;
6523
6522
  for (let m = 0; m < C; m++)
@@ -6565,9 +6564,9 @@ function Dh(t) {
6565
6564
  if (d && !d.resumeFrom) {
6566
6565
  const { snapshot: f, layout: h } = d;
6567
6566
  if (f && h) {
6568
- const p = z();
6567
+ const p = W();
6569
6568
  Me(p, n.layoutBox, f.layoutBox);
6570
- const g = z();
6569
+ const g = W();
6571
6570
  Me(g, r, h.layoutBox), Aa(p, g) || (u = !0), d.options.layoutRoot && (t.relativeTarget = g, t.relativeTargetOrigin = p, t.relativeParent = d);
6572
6571
  }
6573
6572
  }
@@ -6586,19 +6585,19 @@ function Dh(t) {
6586
6585
  }
6587
6586
  t.options.transition = void 0;
6588
6587
  }
6589
- function Lh(t) {
6588
+ function _h(t) {
6590
6589
  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));
6591
6590
  }
6592
- function $h(t) {
6591
+ function Lh(t) {
6593
6592
  t.isProjectionDirty = t.isSharedProjectionDirty = t.isTransformDirty = !1;
6594
6593
  }
6595
- function Oh(t) {
6594
+ function $h(t) {
6596
6595
  t.clearSnapshot();
6597
6596
  }
6598
6597
  function Vs(t) {
6599
6598
  t.clearMeasurements();
6600
6599
  }
6601
- function _h(t) {
6600
+ function Oh(t) {
6602
6601
  t.isLayoutDirty = !1;
6603
6602
  }
6604
6603
  function Bh(t) {
@@ -6614,10 +6613,10 @@ function Fh(t) {
6614
6613
  function Ih(t) {
6615
6614
  t.calcProjection();
6616
6615
  }
6617
- function jh(t) {
6616
+ function Nh(t) {
6618
6617
  t.resetSkewAndRotation();
6619
6618
  }
6620
- function Nh(t) {
6619
+ function jh(t) {
6621
6620
  t.removeLeadSnapshot();
6622
6621
  }
6623
6622
  function Es(t, e, n) {
@@ -6629,18 +6628,18 @@ function Ms(t, e, n, r) {
6629
6628
  function Uh(t, e, n, r) {
6630
6629
  Ms(t.x, e.x, n.x, r), Ms(t.y, e.y, n.y, r);
6631
6630
  }
6632
- function Wh(t) {
6631
+ function zh(t) {
6633
6632
  return t.animationValues && t.animationValues.opacityExit !== void 0;
6634
6633
  }
6635
- const zh = {
6634
+ const Wh = {
6636
6635
  duration: 0.45,
6637
6636
  ease: [0.4, 0, 0.1, 1]
6638
6637
  }, ks = (t) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(t), Ds = ks("applewebkit/") && !ks("chrome/") ? Math.round : ct;
6639
- function Ls(t) {
6638
+ function _s(t) {
6640
6639
  t.min = Ds(t.min), t.max = Ds(t.max);
6641
6640
  }
6642
6641
  function qh(t) {
6643
- Ls(t.x), Ls(t.y);
6642
+ _s(t.x), _s(t.y);
6644
6643
  }
6645
6644
  function Ea(t, e, n) {
6646
6645
  return t === "position" || t === "preserve-aspect" && !Hf(Ps(e), Ps(n), 0.2);
@@ -6650,7 +6649,7 @@ function Gh(t) {
6650
6649
  return t !== t.root && ((e = t.scroll) === null || e === void 0 ? void 0 : e.wasRoot);
6651
6650
  }
6652
6651
  const Hh = Ra({
6653
- attachResizeListener: (t, e) => Ne(t, "resize", e),
6652
+ attachResizeListener: (t, e) => je(t, "resize", e),
6654
6653
  measureScroll: () => ({
6655
6654
  x: document.documentElement.scrollLeft || document.body.scrollLeft,
6656
6655
  y: document.documentElement.scrollTop || document.body.scrollTop
@@ -6684,21 +6683,21 @@ const Hh = Ra({
6684
6683
  MeasureLayout: wa
6685
6684
  }
6686
6685
  };
6687
- function $s(t, e, n) {
6686
+ function Ls(t, e, n) {
6688
6687
  const { props: r } = t;
6689
6688
  t.animationState && r.whileHover && t.animationState.setActive("whileHover", n === "Start");
6690
6689
  const i = "onHover" + n, s = r[i];
6691
- s && j.postRender(() => s(e, Ge(e)));
6690
+ s && N.postRender(() => s(e, Ge(e)));
6692
6691
  }
6693
- class Yh extends zt {
6692
+ class Yh extends Wt {
6694
6693
  mount() {
6695
6694
  const { current: e } = this.node;
6696
- e && (this.unmount = Ku(e, (n, r) => ($s(this.node, r, "Start"), (i) => $s(this.node, i, "End"))));
6695
+ e && (this.unmount = Ku(e, (n, r) => (Ls(this.node, r, "Start"), (i) => Ls(this.node, i, "End"))));
6697
6696
  }
6698
6697
  unmount() {
6699
6698
  }
6700
6699
  }
6701
- class Xh extends zt {
6700
+ class Xh extends Wt {
6702
6701
  constructor() {
6703
6702
  super(...arguments), this.isActive = !1;
6704
6703
  }
@@ -6715,23 +6714,23 @@ class Xh extends zt {
6715
6714
  !this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
6716
6715
  }
6717
6716
  mount() {
6718
- this.unmount = qe(Ne(this.node.current, "focus", () => this.onFocus()), Ne(this.node.current, "blur", () => this.onBlur()));
6717
+ this.unmount = qe(je(this.node.current, "focus", () => this.onFocus()), je(this.node.current, "blur", () => this.onBlur()));
6719
6718
  }
6720
6719
  unmount() {
6721
6720
  }
6722
6721
  }
6723
- function Os(t, e, n) {
6722
+ function $s(t, e, n) {
6724
6723
  const { props: r } = t;
6725
6724
  if (t.current instanceof HTMLButtonElement && t.current.disabled)
6726
6725
  return;
6727
6726
  t.animationState && r.whileTap && t.animationState.setActive("whileTap", n === "Start");
6728
6727
  const i = "onTap" + (n === "End" ? "" : n), s = r[i];
6729
- s && j.postRender(() => s(e, Ge(e)));
6728
+ s && N.postRender(() => s(e, Ge(e)));
6730
6729
  }
6731
- class Zh extends zt {
6730
+ class Zh extends Wt {
6732
6731
  mount() {
6733
6732
  const { current: e } = this.node;
6734
- e && (this.unmount = Ju(e, (n, r) => (Os(this.node, r, "Start"), (i, { success: s }) => Os(this.node, i, s ? "End" : "Cancel")), { useGlobalTarget: this.node.props.globalTapTarget }));
6733
+ e && (this.unmount = Ju(e, (n, r) => ($s(this.node, r, "Start"), (i, { success: s }) => $s(this.node, i, s ? "End" : "Cancel")), { useGlobalTarget: this.node.props.globalTapTarget }));
6735
6734
  }
6736
6735
  unmount() {
6737
6736
  }
@@ -6758,7 +6757,7 @@ const np = {
6758
6757
  some: 0,
6759
6758
  all: 1
6760
6759
  };
6761
- class rp extends zt {
6760
+ class rp extends Wt {
6762
6761
  constructor() {
6763
6762
  super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
6764
6763
  }
@@ -6820,7 +6819,7 @@ function ap() {
6820
6819
  } else
6821
6820
  gr.current = !1;
6822
6821
  }
6823
- const lp = [...ea, Z, Wt], cp = (t) => lp.find(ta(t)), up = /* @__PURE__ */ new WeakMap();
6822
+ const lp = [...ea, Z, zt], cp = (t) => lp.find(ta(t)), up = /* @__PURE__ */ new WeakMap();
6824
6823
  function dp(t, e, n) {
6825
6824
  for (const r in e) {
6826
6825
  const i = e[r], s = n[r];
@@ -6841,7 +6840,7 @@ function dp(t, e, n) {
6841
6840
  e[r] === void 0 && t.removeValue(r);
6842
6841
  return e;
6843
6842
  }
6844
- const _s = [
6843
+ const Os = [
6845
6844
  "AnimationStart",
6846
6845
  "AnimationComplete",
6847
6846
  "Update",
@@ -6865,8 +6864,8 @@ class fp {
6865
6864
  this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Zr, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
6866
6865
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
6867
6866
  }, this.renderScheduledAt = 0, this.scheduleRender = () => {
6868
- const h = Rt.now();
6869
- this.renderScheduledAt < h && (this.renderScheduledAt = h, j.render(this.render, !1, !0));
6867
+ const h = Et.now();
6868
+ this.renderScheduledAt < h && (this.renderScheduledAt = h, N.render(this.render, !1, !0));
6870
6869
  };
6871
6870
  const { latestValues: l, renderState: c, onUpdate: u } = o;
6872
6871
  this.onUpdate = u, this.latestValues = l, this.baseTarget = { ...l }, this.initialValues = n.initial ? { ...l } : {}, this.renderState = c, this.parent = e, this.props = n, this.presenceContext = r, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = i, this.options = a, this.blockInitialAnimation = !!s, this.isControllingVariants = Rn(n), this.isVariantNode = lo(n), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
@@ -6894,7 +6893,7 @@ class fp {
6894
6893
  const r = Qt.has(e);
6895
6894
  r && this.onBindTransform && this.onBindTransform();
6896
6895
  const i = n.on("change", (a) => {
6897
- this.latestValues[e] = a, this.props.onUpdate && j.preRender(this.notifyUpdate), r && this.projection && (this.projection.isTransformDirty = !0);
6896
+ this.latestValues[e] = a, this.props.onUpdate && N.preRender(this.notifyUpdate), r && this.projection && (this.projection.isTransformDirty = !0);
6898
6897
  }), s = n.on("renderRequest", this.scheduleRender);
6899
6898
  let o;
6900
6899
  window.MotionCheckAppearSync && (o = window.MotionCheckAppearSync(this, e, n)), this.valueSubscriptions.set(e, () => {
@@ -6926,7 +6925,7 @@ class fp {
6926
6925
  * removed with a re-render to work.
6927
6926
  */
6928
6927
  measureViewportBox() {
6929
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : z();
6928
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : W();
6930
6929
  }
6931
6930
  getStaticValue(e) {
6932
6931
  return this.latestValues[e];
@@ -6940,8 +6939,8 @@ class fp {
6940
6939
  */
6941
6940
  update(e, n) {
6942
6941
  (e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = n;
6943
- for (let r = 0; r < _s.length; r++) {
6944
- const i = _s[r];
6942
+ for (let r = 0; r < Os.length; r++) {
6943
+ const i = Os[r];
6945
6944
  this.propEventSubscriptions[i] && (this.propEventSubscriptions[i](), delete this.propEventSubscriptions[i]);
6946
6945
  const s = "on" + i, o = e[s];
6947
6946
  o && (this.propEventSubscriptions[i] = this.on(i, o));
@@ -7012,7 +7011,7 @@ class fp {
7012
7011
  readValue(e, n) {
7013
7012
  var r;
7014
7013
  let i = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : (r = this.getBaseTargetFromProps(this.props, e)) !== null && r !== void 0 ? r : this.readValueFromInstance(this.current, e, this.options);
7015
- return i != null && (typeof i == "string" && (Jo(i) || Wo(i)) ? i = parseFloat(i) : !cp(i) && Wt.test(n) && (i = Yo(e, n)), this.setBaseTarget(e, J(i) ? i.get() : i)), J(i) ? i.get() : i;
7014
+ return i != null && (typeof i == "string" && (Jo(i) || zo(i)) ? i = parseFloat(i) : !cp(i) && zt.test(n) && (i = Yo(e, n)), this.setBaseTarget(e, J(i) ? i.get() : i)), J(i) ? i.get() : i;
7016
7015
  }
7017
7016
  /**
7018
7017
  * Set the base target to later animate back to. This is currently
@@ -7030,7 +7029,7 @@ class fp {
7030
7029
  const { initial: r } = this.props;
7031
7030
  let i;
7032
7031
  if (typeof r == "string" || typeof r == "object") {
7033
- const o = _r(this.props, r, (n = this.presenceContext) === null || n === void 0 ? void 0 : n.custom);
7032
+ const o = Or(this.props, r, (n = this.presenceContext) === null || n === void 0 ? void 0 : n.custom);
7034
7033
  o && (i = o[e]);
7035
7034
  }
7036
7035
  if (r && i !== void 0)
@@ -7039,7 +7038,7 @@ class fp {
7039
7038
  return s !== void 0 && !J(s) ? s : this.initialValues[e] !== void 0 && i === void 0 ? void 0 : this.baseTarget[e];
7040
7039
  }
7041
7040
  on(e, n) {
7042
- return this.events[e] || (this.events[e] = new zr()), this.events[e].add(n);
7041
+ return this.events[e] || (this.events[e] = new Wr()), this.events[e].add(n);
7043
7042
  }
7044
7043
  notify(e, ...n) {
7045
7044
  this.events[e] && this.events[e].notify(...n);
@@ -7094,7 +7093,7 @@ class pp extends Da {
7094
7093
  }
7095
7094
  class mp extends Da {
7096
7095
  constructor() {
7097
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = z, this.updateDimensions = () => {
7096
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = W, this.updateDimensions = () => {
7098
7097
  this.current && !this.renderState.dimensions && bo(this.current, this.renderState);
7099
7098
  };
7100
7099
  }
@@ -7112,20 +7111,20 @@ class mp extends Da {
7112
7111
  return To(e, n, r);
7113
7112
  }
7114
7113
  onBindTransform() {
7115
- this.current && !this.renderState.dimensions && j.postRender(this.updateDimensions);
7114
+ this.current && !this.renderState.dimensions && N.postRender(this.updateDimensions);
7116
7115
  }
7117
7116
  build(e, n, r) {
7118
- $r(e, n, this.isSVGTag, r.transformTemplate);
7117
+ Lr(e, n, this.isSVGTag, r.transformTemplate);
7119
7118
  }
7120
7119
  renderInstance(e, n, r, i) {
7121
7120
  wo(e, n, r, i);
7122
7121
  }
7123
7122
  mount(e) {
7124
- this.isSVGTag = Or(e.tagName), super.mount(e);
7123
+ this.isSVGTag = $r(e.tagName), super.mount(e);
7125
7124
  }
7126
7125
  }
7127
- const gp = (t, e) => Lr(t) ? new mp(e) : new pp(e, {
7128
- allowProjection: t !== js
7126
+ const gp = (t, e) => _r(t) ? new mp(e) : new pp(e, {
7127
+ allowProjection: t !== Ns
7129
7128
  }), yp = /* @__PURE__ */ Uu({
7130
7129
  ...If,
7131
7130
  ...sp,
@@ -7157,7 +7156,7 @@ function Sp() {
7157
7156
  return e.add(r), () => void e.delete(r);
7158
7157
  },
7159
7158
  start(r, i) {
7160
- Et(t, "controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");
7159
+ Mt(t, "controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");
7161
7160
  const s = [];
7162
7161
  return e.forEach((o) => {
7163
7162
  s.push(da(o, r, {
@@ -7166,7 +7165,7 @@ function Sp() {
7166
7165
  }), Promise.all(s);
7167
7166
  },
7168
7167
  set(r) {
7169
- return Et(t, "controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."), e.forEach((i) => {
7168
+ return Mt(t, "controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."), e.forEach((i) => {
7170
7169
  xp(i, r);
7171
7170
  });
7172
7171
  },
@@ -7209,7 +7208,7 @@ function Cp(t, e, { root: n, margin: r, amount: i = "some" } = {}) {
7209
7208
  return s.forEach((c) => l.observe(c)), () => l.disconnect();
7210
7209
  }
7211
7210
  function Ap(t, { root: e, margin: n, amount: r, once: i = !1, initial: s = !1 } = {}) {
7212
- const [o, a] = Lt(s);
7211
+ const [o, a] = _t(s);
7213
7212
  return St(() => {
7214
7213
  if (!t.current || i && o)
7215
7214
  return;
@@ -7221,7 +7220,7 @@ function Ap(t, { root: e, margin: n, amount: r, once: i = !1, initial: s = !1 }
7221
7220
  return Cp(t.current, l, c);
7222
7221
  }, [e, t, n, i, r]), o;
7223
7222
  }
7224
- var Vp = "var(--jqc4y00)", Rp = "var(--jqc4y01)", Ep = "var(--jqc4y02)", Mp = "var(--jqc4y03)", kp = "var(--jqc4y04)", Dp = "var(--jqc4y05)", Lp = "var(--jqc4y06)", $p = "var(--jqc4y07)", Op = "var(--jqc4y08)", _p = "var(--jqc4y09)", Sm = { width: "100%", display: "flex", alignItems: "center", position: "relative", flexDirection: "column", animation: "background 0.5s ease-in-out", color: "var(--jqc4y02)", zIndex: "var(--jqc4y01)", minHeight: "var(--jqc4y07)", paddingTop: "var(--jqc4y03)", paddingLeft: "var(--jqc4y04)", paddingRight: "var(--jqc4y05)", paddingBottom: "var(--jqc4y06)", background: "var(--jqc4y09)", justifyContent: "var(--jqc4y08)" }, Bp = "jqc4y0b", un = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(un || {});
7223
+ var Vp = "var(--_14qm28z0)", Rp = "var(--_14qm28z1)", Ep = "var(--_14qm28z2)", Mp = "var(--_14qm28z3)", kp = "var(--_14qm28z4)", Dp = "var(--_14qm28z5)", _p = "var(--_14qm28z6)", Lp = "var(--_14qm28z7)", $p = "var(--_14qm28z8)", Op = "var(--_14qm28z9)", Sm = { width: "100%", display: "flex", alignItems: "center", position: "relative", flexDirection: "column", animation: "background 0.5s ease-in-out", color: "var(--_14qm28z2)", zIndex: "var(--_14qm28z1)", minHeight: "var(--_14qm28z7)", paddingTop: "var(--_14qm28z3)", paddingLeft: "var(--_14qm28z4)", paddingRight: "var(--_14qm28z5)", paddingBottom: "var(--_14qm28z6)", background: "var(--_14qm28z9)", justifyContent: "var(--_14qm28z8)" }, Bp = "_14qm28zb", un = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(un || {});
7225
7224
  const Fp = {
7226
7225
  hidden: {
7227
7226
  opacity: 0
@@ -7248,7 +7247,7 @@ const Fp = {
7248
7247
  backgroundColor: c = "",
7249
7248
  noPaddingBottom: u = !1
7250
7249
  }) => {
7251
- const d = Tp(), f = Mt(), h = Na(), {
7250
+ const d = Tp(), f = wt(), h = ja(), {
7252
7251
  colors: p,
7253
7252
  header: { height: g },
7254
7253
  footer: { height: x },
@@ -7261,21 +7260,21 @@ const Fp = {
7261
7260
  m && d.start("visible");
7262
7261
  }, [d, m]), /* @__PURE__ */ A("section", { id: r, ref: h, className: e, style: B({
7263
7262
  [Rp]: `${n}`,
7264
- [_p]: c,
7265
- [Op]: o ? "center" : "flex-start",
7263
+ [Op]: c,
7264
+ [$p]: o ? "center" : "flex-start",
7266
7265
  [Ep]: i ? p.defaultLightText : p.defaultText,
7267
- [$p]: o ? `calc(100vh - ${g[f]}px - ${x[f]}px)` : "0",
7266
+ [Lp]: o ? `calc(100vh - ${g[f]}px - ${x[f]}px)` : "0",
7268
7267
  [kp]: `${S[f]}px`,
7269
7268
  [Dp]: `${v[f]}px`,
7270
7269
  [Mp]: a ? "0px" : `${w[f]}px`,
7271
- [Lp]: u ? "0px" : `${C[f]}px`
7270
+ [_p]: u ? "0px" : `${C[f]}px`
7272
7271
  }), children: /* @__PURE__ */ A(vp.div, { className: Bp, initial: "hidden", animate: d, variants: Fp, style: B({
7273
7272
  [Vp]: s === un.Center ? "center" : s === un.Right ? "right" : "left"
7274
7273
  }), children: t }) });
7275
7274
  };
7276
7275
  var Ip = { navGap: "var(--_1h6zt340)" }, Tm = "_1h6zt341";
7277
7276
  const Pm = ({ children: t, theme: e = F, className: n }) => {
7278
- const r = Mt(), { nav: { gap: i } } = e;
7277
+ const r = wt(), { nav: { gap: i } } = e;
7279
7278
  return /* @__PURE__ */ A(
7280
7279
  "nav",
7281
7280
  {
@@ -7287,9 +7286,9 @@ const Pm = ({ children: t, theme: e = F, className: n }) => {
7287
7286
  }
7288
7287
  );
7289
7288
  };
7290
- var jp = { navSocialGap: "var(--g7q46n0)" }, Cm = "g7q46n1", Np = "g7q46n2";
7289
+ var Np = { navSocialGap: "var(--g7q46n0)" }, Cm = "g7q46n1", jp = "g7q46n2";
7291
7290
  const Am = ({ navSocial: t, className: e, theme: n = F }) => {
7292
- const r = Mt(), {
7291
+ const r = wt(), {
7293
7292
  navSocial: { gap: i }
7294
7293
  } = n;
7295
7294
  return /* @__PURE__ */ A(
@@ -7297,18 +7296,18 @@ const Am = ({ navSocial: t, className: e, theme: n = F }) => {
7297
7296
  {
7298
7297
  className: e,
7299
7298
  style: B({
7300
- [jp.navSocialGap]: `${i[r]}px`
7299
+ [Np.navSocialGap]: `${i[r]}px`
7301
7300
  }),
7302
7301
  children: t.map(({ name: s, link: o }, a) => {
7303
7302
  const l = s[0].toUpperCase() + s.slice(1);
7304
- return /* @__PURE__ */ A("div", { className: Np, children: /* @__PURE__ */ A("a", { target: "_blank", rel: "noopener noreferrer", "aria-label": s, href: o, children: /* @__PURE__ */ A(Xt, { theme: n, icon: `social${l}` }) }) }, `navSocialItem-${a}`);
7303
+ return /* @__PURE__ */ A("div", { className: jp, children: /* @__PURE__ */ A("a", { target: "_blank", rel: "noopener noreferrer", "aria-label": s, href: o, children: /* @__PURE__ */ A(Xt, { theme: n, icon: `social${l}` }) }) }, `navSocialItem-${a}`);
7305
7304
  })
7306
7305
  }
7307
7306
  );
7308
7307
  };
7309
7308
  var Up = { navLegalGap: "var(--vehv9e0)" }, Vm = "vehv9e1";
7310
7309
  const Rm = ({ children: t, className: e, theme: n = F }) => {
7311
- const r = Mt(), {
7310
+ const r = wt(), {
7312
7311
  navLegal: { gap: i }
7313
7312
  } = n;
7314
7313
  return /* @__PURE__ */ A(
@@ -7358,7 +7357,7 @@ const Mm = ({
7358
7357
  }
7359
7358
  );
7360
7359
  var It = { font: "var(--k6gj0i0)", color: "var(--k6gj0i1)", border: "var(--k6gj0i2)", borderRadius: "var(--k6gj0i3)", backgroundColor: "var(--k6gj0i4)", padding: "var(--k6gj0i5)", placeholderColor: "var(--k6gj0i6)", placeholderOpacity: "var(--k6gj0i7)" }, km = "k6gj0i9", ei = /* @__PURE__ */ ((t) => (t.Text = "text", t.Email = "email", t.Search = "search", t.Number = "number", t.Hidden = "hidden", t.Password = "password", t))(ei || {});
7361
- const Wp = ({
7360
+ const zp = ({
7362
7361
  name: t,
7363
7362
  value: e = "",
7364
7363
  type: n = ei.Text,
@@ -7390,8 +7389,8 @@ const Wp = ({
7390
7389
  })
7391
7390
  }
7392
7391
  );
7393
- var jt = { font: "var(--l5ei120)", color: "var(--l5ei121)", border: "var(--l5ei122)", borderRadius: "var(--l5ei123)", padding: "var(--l5ei124)", backgroundColor: "var(--l5ei125)", placeholderColor: "var(--l5ei126)", placeholderOpacity: "var(--l5ei127)" }, Dm = "l5ei129";
7394
- const zp = ({
7392
+ var Nt = { font: "var(--l5ei120)", color: "var(--l5ei121)", border: "var(--l5ei122)", borderRadius: "var(--l5ei123)", padding: "var(--l5ei124)", backgroundColor: "var(--l5ei125)", placeholderColor: "var(--l5ei126)", placeholderOpacity: "var(--l5ei127)" }, Dm = "l5ei129";
7393
+ const Wp = ({
7395
7394
  name: t,
7396
7395
  value: e,
7397
7396
  rows: n = 2,
@@ -7412,18 +7411,18 @@ const zp = ({
7412
7411
  disabled: r,
7413
7412
  onChange: s,
7414
7413
  style: B({
7415
- [jt.font]: `var(--font-${o.form.textarea.font})`,
7416
- [jt.color]: o.form.textarea.color,
7417
- [jt.border]: o.form.textarea.border,
7418
- [jt.borderRadius]: `${o.form.textarea.borderRadius}px`,
7419
- [jt.padding]: `${o.form.textarea.padding[0]}px`,
7420
- [jt.backgroundColor]: o.form.textarea.backgroundColor,
7421
- [jt.placeholderColor]: o.form.textarea.placeholder.color,
7422
- [jt.placeholderOpacity]: `${o.form.textarea.placeholder.opacity}`
7414
+ [Nt.font]: `var(--font-${o.form.textarea.font})`,
7415
+ [Nt.color]: o.form.textarea.color,
7416
+ [Nt.border]: o.form.textarea.border,
7417
+ [Nt.borderRadius]: `${o.form.textarea.borderRadius}px`,
7418
+ [Nt.padding]: `${o.form.textarea.padding[0]}px`,
7419
+ [Nt.backgroundColor]: o.form.textarea.backgroundColor,
7420
+ [Nt.placeholderColor]: o.form.textarea.placeholder.color,
7421
+ [Nt.placeholderOpacity]: `${o.form.textarea.placeholder.opacity}`
7423
7422
  })
7424
7423
  }
7425
7424
  );
7426
- var tn = { font: "var(--_1s956dc0)", color: "var(--_1s956dc1)", fontWeight: "var(--_1s956dc2)", paddingBottom: "var(--_1s956dc3)" }, Lm = "_1s956dc5";
7425
+ var tn = { font: "var(--_1s956dc0)", color: "var(--_1s956dc1)", fontWeight: "var(--_1s956dc2)", paddingBottom: "var(--_1s956dc3)" }, _m = "_1s956dc5";
7427
7426
  const qp = ({
7428
7427
  name: t,
7429
7428
  label: e,
@@ -7447,8 +7446,8 @@ const qp = ({
7447
7446
  ]
7448
7447
  }
7449
7448
  );
7450
- var Gp = { errorColor: "var(--_1e95ziv0)" }, La = /* @__PURE__ */ ((t) => (t.Textarea = "textarea", t))(La || {});
7451
- const $m = ({
7449
+ var Gp = { errorColor: "var(--_1e95ziv0)" }, _a = /* @__PURE__ */ ((t) => (t.Textarea = "textarea", t))(_a || {});
7450
+ const Lm = ({
7452
7451
  name: t,
7453
7452
  label: e = "",
7454
7453
  value: n = "",
@@ -7465,10 +7464,10 @@ const $m = ({
7465
7464
  [Gp.errorColor]: l.form.error.color
7466
7465
  }), children: [
7467
7466
  e && /* @__PURE__ */ A(qp, { className: "", theme: l, label: e, name: t, required: i }),
7468
- u === La.Textarea ? /* @__PURE__ */ A(zp, { className: "", value: n, rows: r, name: t, theme: l, onChange: c, disabled: s, placeholder: o }) : /* @__PURE__ */ A(Wp, { className: "", value: n, type: u, name: t, theme: l, onChange: c, disabled: s, placeholder: o }),
7467
+ u === _a.Textarea ? /* @__PURE__ */ A(Wp, { className: "", value: n, rows: r, name: t, theme: l, onChange: c, disabled: s, placeholder: o }) : /* @__PURE__ */ A(zp, { className: "", value: n, type: u, name: t, theme: l, onChange: c, disabled: s, placeholder: o }),
7469
7468
  a && /* @__PURE__ */ A("div", { children: a instanceof Array ? a.map((f, h) => /* @__PURE__ */ A("span", { children: f }, h)) : a })
7470
7469
  ] });
7471
- var kt = { overlayBlur: "var(--pewdww0)", overlayOpacity: "var(--pewdww1)", overlayBackgroundColor: "var(--pewdww2)", width: "var(--pewdww3)", backgroundColor: "var(--pewdww4)", borderRadius: "var(--pewdww5)", borders: "var(--pewdww6)", actionsGap: "var(--pewdww7)", actionsPaddingTop: "var(--pewdww8)" }, Om = "pewdww9";
7470
+ var kt = { overlayBlur: "var(--pewdww0)", overlayOpacity: "var(--pewdww1)", overlayBackgroundColor: "var(--pewdww2)", width: "var(--pewdww3)", backgroundColor: "var(--pewdww4)", borderRadius: "var(--pewdww5)", borders: "var(--pewdww6)", actionsGap: "var(--pewdww7)", actionsPaddingTop: "var(--pewdww8)" }, $m = "pewdww9";
7472
7471
  function Hp(t) {
7473
7472
  const e = t + "=", r = decodeURIComponent(document.cookie).split(";");
7474
7473
  for (let i = 0; i < r.length; i++) {
@@ -7486,7 +7485,7 @@ function Kp(t, e, n) {
7486
7485
  const i = "expires=" + r.toUTCString();
7487
7486
  document.cookie = t + "=" + e + ";" + i + ";path=/";
7488
7487
  }
7489
- const _m = ({
7488
+ const Om = ({
7490
7489
  children: t,
7491
7490
  theme: e = F,
7492
7491
  cookieName: n = "consent",
@@ -7494,7 +7493,7 @@ const _m = ({
7494
7493
  cookieExpirationDays: i = 365,
7495
7494
  className: s
7496
7495
  }) => {
7497
- const [o, a] = Lt(!1), l = (c) => {
7496
+ const [o, a] = _t(!1), l = (c) => {
7498
7497
  a(!1), Kp(n, `${c}`, i);
7499
7498
  };
7500
7499
  return St(() => {
@@ -7542,8 +7541,8 @@ export {
7542
7541
  vm as Columns,
7543
7542
  Pe as ColumnsAlign,
7544
7543
  ym as ColumnsStyles,
7545
- _m as ConsentCookie,
7546
- Om as ConsentCookieStyles,
7544
+ Om as ConsentCookie,
7545
+ $m as ConsentCookieStyles,
7547
7546
  gm as Footer,
7548
7547
  mm as FooterStyles,
7549
7548
  Em as Form,
@@ -7572,13 +7571,13 @@ export {
7572
7571
  wm as Section,
7573
7572
  un as SectionAlign,
7574
7573
  Sm as SectionStyles,
7575
- $m as TextField,
7576
- Wp as TextFieldInput,
7574
+ Lm as TextField,
7575
+ zp as TextFieldInput,
7577
7576
  qp as TextFieldLabel,
7578
- Lm as TextFieldLabelStyles,
7579
- zp as TextFieldTextarea,
7577
+ _m as TextFieldLabelStyles,
7578
+ Wp as TextFieldTextarea,
7580
7579
  Dm as TextareaStyles,
7581
- La as TextareaType,
7580
+ _a as TextareaType,
7582
7581
  xc as Video,
7583
7582
  cm as VideoFullWidth,
7584
7583
  lm as VideoFullWidthStyles