@latte-macchiat-io/latte-vanilla-components 0.0.153 → 0.0.155

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,19 +1,19 @@
1
1
  import * as ke from "react/jsx-runtime";
2
- import { jsxs as qa, jsx as Fs } from "react/jsx-runtime";
2
+ import { jsxs as Ga, jsx as Bs } from "react/jsx-runtime";
3
3
  import * as lt from "react";
4
- import Ga, { forwardRef as Bs, useContext as rt, useState as _t, useEffect as wt, useRef as le, createContext as pe, useId as Ha, useCallback as Is, useLayoutEffect as Ka, useMemo as xn, useInsertionEffect as Ya, Fragment as js, createElement as Xa, Component as Za, createRef as Ja } from "react";
5
- function Qa(t) {
4
+ import Ha, { forwardRef as Is, useContext as rt, useState as _t, useEffect as wt, useRef as le, createContext as pe, useId as Ka, useCallback as Ns, useLayoutEffect as Ya, useMemo as xn, useInsertionEffect as Xa, Fragment as js, createElement as Za, Component as Ja, createRef as Qa } from "react";
5
+ function tl(t) {
6
6
  if (t.sheet)
7
7
  return t.sheet;
8
8
  for (var e = 0; e < document.styleSheets.length; e++)
9
9
  if (document.styleSheets[e].ownerNode === t)
10
10
  return document.styleSheets[e];
11
11
  }
12
- function tl(t) {
12
+ function el(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 el = /* @__PURE__ */ function() {
16
+ var nl = /* @__PURE__ */ function() {
17
17
  function t(n) {
18
18
  var r = this;
19
19
  this._insertTag = function(i) {
@@ -25,10 +25,10 @@ var el = /* @__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(tl(this));
28
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(el(this));
29
29
  var i = this.tags[this.tags.length - 1];
30
30
  if (this.isSpeedy) {
31
- var s = Qa(i);
31
+ var s = tl(i);
32
32
  try {
33
33
  s.insertRule(r, s.cssRules.length);
34
34
  } catch {
@@ -42,20 +42,20 @@ var el = /* @__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-", _ = "-webkit-", Ns = "comm", vr = "rule", br = "decl", nl = "@import", Us = "@keyframes", rl = "@layer", il = Math.abs, wn = String.fromCharCode, sl = Object.assign;
46
- function ol(t, e) {
45
+ }(), X = "-ms-", fn = "-moz-", _ = "-webkit-", Us = "comm", br = "rule", xr = "decl", rl = "@import", zs = "@keyframes", il = "@layer", sl = Math.abs, wn = String.fromCharCode, ol = Object.assign;
46
+ function al(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 zs(t) {
49
+ function Ws(t) {
50
50
  return t.trim();
51
51
  }
52
- function al(t, e) {
52
+ function ll(t, e) {
53
53
  return (t = e.exec(t)) ? t[0] : t;
54
54
  }
55
55
  function L(t, e, n) {
56
56
  return t.replace(e, n);
57
57
  }
58
- function Yn(t, e) {
58
+ function Xn(t, e) {
59
59
  return t.indexOf(e);
60
60
  }
61
61
  function K(t, e) {
@@ -67,30 +67,30 @@ function De(t, e, n) {
67
67
  function Ct(t) {
68
68
  return t.length;
69
69
  }
70
- function xr(t) {
70
+ function wr(t) {
71
71
  return t.length;
72
72
  }
73
73
  function He(t, e) {
74
74
  return e.push(t), t;
75
75
  }
76
- function ll(t, e) {
76
+ function cl(t, e) {
77
77
  return t.map(e).join("");
78
78
  }
79
- var Sn = 1, ue = 1, Ws = 0, ut = 0, q = 0, me = "";
79
+ var Sn = 1, ue = 1, qs = 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: Sn, column: ue, length: o, return: "" };
82
82
  }
83
83
  function be(t, e) {
84
- return sl(Tn("", null, null, "", null, null, 0), t, { length: -t.length }, e);
84
+ return ol(Tn("", null, null, "", null, null, 0), t, { length: -t.length }, e);
85
85
  }
86
- function cl() {
86
+ function ul() {
87
87
  return q;
88
88
  }
89
- function ul() {
89
+ function dl() {
90
90
  return q = ut > 0 ? K(me, --ut) : 0, ue--, q === 10 && (ue = 1, Sn--), q;
91
91
  }
92
92
  function ft() {
93
- return q = ut < Ws ? K(me, ut++) : 0, ue++, q === 10 && (ue = 1, Sn++), q;
93
+ return q = ut < qs ? K(me, ut++) : 0, ue++, q === 10 && (ue = 1, Sn++), q;
94
94
  }
95
95
  function At() {
96
96
  return K(me, ut);
@@ -139,26 +139,26 @@ function _e(t) {
139
139
  }
140
140
  return 0;
141
141
  }
142
- function qs(t) {
143
- return Sn = ue = 1, Ws = Ct(me = t), ut = 0, [];
144
- }
145
142
  function Gs(t) {
143
+ return Sn = ue = 1, qs = Ct(me = t), ut = 0, [];
144
+ }
145
+ function Hs(t) {
146
146
  return me = "", t;
147
147
  }
148
148
  function nn(t) {
149
- return zs(Ue(ut - 1, Xn(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
149
+ return Ws(Ue(ut - 1, Zn(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
150
150
  }
151
- function dl(t) {
151
+ function fl(t) {
152
152
  for (; (q = At()) && q < 33; )
153
153
  ft();
154
154
  return _e(t) > 2 || _e(q) > 3 ? "" : " ";
155
155
  }
156
- function fl(t, e) {
156
+ function hl(t, e) {
157
157
  for (; --e && ft() && !(q < 48 || q > 102 || q > 57 && q < 65 || q > 70 && q < 97); )
158
158
  ;
159
159
  return Ue(t, en() + (e < 6 && At() == 32 && ft() == 32));
160
160
  }
161
- function Xn(t) {
161
+ function Zn(t) {
162
162
  for (; ft(); )
163
163
  switch (q) {
164
164
  // ] ) " '
@@ -167,11 +167,11 @@ function Xn(t) {
167
167
  // " '
168
168
  case 34:
169
169
  case 39:
170
- t !== 34 && t !== 39 && Xn(q);
170
+ t !== 34 && t !== 39 && Zn(q);
171
171
  break;
172
172
  // (
173
173
  case 40:
174
- t === 41 && Xn(t);
174
+ t === 41 && Zn(t);
175
175
  break;
176
176
  // \
177
177
  case 92:
@@ -180,19 +180,19 @@ function Xn(t) {
180
180
  }
181
181
  return ut;
182
182
  }
183
- function hl(t, e) {
183
+ function pl(t, e) {
184
184
  for (; ft() && t + q !== 57; )
185
185
  if (t + q === 84 && At() === 47)
186
186
  break;
187
187
  return "/*" + Ue(e, ut - 1) + "*" + wn(t === 47 ? t : ft());
188
188
  }
189
- function pl(t) {
189
+ function ml(t) {
190
190
  for (; !_e(At()); )
191
191
  ft();
192
192
  return Ue(t, ut);
193
193
  }
194
- function ml(t) {
195
- return Gs(rn("", null, null, null, [""], t = qs(t), 0, [0], t));
194
+ function gl(t) {
195
+ return Hs(rn("", null, null, null, [""], t = Gs(t), 0, [0], t));
196
196
  }
197
197
  function rn(t, e, n, r, i, s, o, a, l) {
198
198
  for (var c = 0, u = 0, d = o, f = 0, h = 0, p = 0, g = 1, x = 1, v = 1, w = 0, S = "", P = i, m = s, V = r, E = S; x; )
@@ -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 += L(nn(w), "&", "&\f"), "&\f") != -1 && (v = -1);
203
+ Xn(E += L(nn(w), "&", "&\f"), "&\f") != -1 && (v = -1);
204
204
  break;
205
205
  }
206
206
  // " ' [
@@ -214,18 +214,18 @@ function rn(t, e, n, r, i, s, o, a, l) {
214
214
  case 10:
215
215
  case 13:
216
216
  case 32:
217
- E += dl(p);
217
+ E += fl(p);
218
218
  break;
219
219
  // \
220
220
  case 92:
221
- E += fl(en() - 1, 7);
221
+ E += hl(en() - 1, 7);
222
222
  continue;
223
223
  // /
224
224
  case 47:
225
225
  switch (At()) {
226
226
  case 42:
227
227
  case 47:
228
- He(gl(hl(ft(), en()), e, n), l);
228
+ He(yl(pl(ft(), en()), e, n), l);
229
229
  break;
230
230
  default:
231
231
  E += "/";
@@ -245,14 +245,14 @@ 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 = L(E, /\f/g, "")), h > 0 && Ct(E) - d && He(h > 32 ? ri(E + ";", r, n, d - 1) : ri(L(E, " ", "") + ";", r, n, d - 2), l);
248
+ v == -1 && (E = L(E, /\f/g, "")), h > 0 && Ct(E) - d && He(h > 32 ? ii(E + ";", r, n, d - 1) : ii(L(E, " ", "") + ";", r, n, d - 2), l);
249
249
  break;
250
250
  // @ ;
251
251
  case 59:
252
252
  E += ";";
253
253
  // { rule/at-rule
254
254
  default:
255
- if (He(V = ni(E, e, n, c, u, i, a, S, P = [], m = [], d), s), w === 123)
255
+ if (He(V = ri(E, e, n, c, u, i, a, S, P = [], m = [], d), s), w === 123)
256
256
  if (u === 0)
257
257
  rn(E, e, V, V, P, s, d, a, m);
258
258
  else
@@ -262,7 +262,7 @@ function rn(t, e, n, r, i, s, o, a, l) {
262
262
  case 108:
263
263
  case 109:
264
264
  case 115:
265
- rn(t, V, V, r && He(ni(t, V, V, 0, 0, i, a, S, i, P = [], d), m), i, m, d, a, r ? P : m);
265
+ rn(t, V, V, r && He(ri(t, V, V, 0, 0, i, a, S, i, P = [], d), m), i, m, d, a, r ? P : m);
266
266
  break;
267
267
  default:
268
268
  rn(E, V, V, V, [""], m, 0, a, m);
@@ -277,7 +277,7 @@ function rn(t, e, n, r, i, s, o, a, l) {
277
277
  if (g < 1) {
278
278
  if (w == 123)
279
279
  --g;
280
- else if (w == 125 && g++ == 0 && ul() == 125)
280
+ else if (w == 125 && g++ == 0 && dl() == 125)
281
281
  continue;
282
282
  }
283
283
  switch (E += wn(w), w * g) {
@@ -291,7 +291,7 @@ function rn(t, e, n, r, i, s, o, a, l) {
291
291
  break;
292
292
  // @
293
293
  case 64:
294
- At() === 45 && (E += nn(ft())), f = At(), u = d = Ct(S = E += pl(en())), w++;
294
+ At() === 45 && (E += nn(ft())), f = At(), u = d = Ct(S = E += ml(en())), w++;
295
295
  break;
296
296
  // -
297
297
  case 45:
@@ -300,68 +300,68 @@ function rn(t, e, n, r, i, s, o, a, l) {
300
300
  }
301
301
  return s;
302
302
  }
303
- function ni(t, e, n, r, i, s, o, a, l, c, u) {
304
- for (var d = i - 1, f = i === 0 ? s : [""], h = xr(f), p = 0, g = 0, x = 0; p < r; ++p)
305
- for (var v = 0, w = De(t, d + 1, d = il(g = o[p])), S = t; v < h; ++v)
306
- (S = zs(g > 0 ? f[v] + " " + w : L(w, /&\f/g, f[v]))) && (l[x++] = S);
307
- return Tn(t, e, n, i === 0 ? vr : a, l, c, u);
303
+ function ri(t, e, n, r, i, s, o, a, l, c, u) {
304
+ for (var d = i - 1, f = i === 0 ? s : [""], h = wr(f), p = 0, g = 0, x = 0; p < r; ++p)
305
+ for (var v = 0, w = De(t, d + 1, d = sl(g = o[p])), S = t; v < h; ++v)
306
+ (S = Ws(g > 0 ? f[v] + " " + w : L(w, /&\f/g, f[v]))) && (l[x++] = S);
307
+ return Tn(t, e, n, i === 0 ? br : a, l, c, u);
308
308
  }
309
- function gl(t, e, n) {
310
- return Tn(t, e, n, Ns, wn(cl()), De(t, 2, -2), 0);
309
+ function yl(t, e, n) {
310
+ return Tn(t, e, n, Us, wn(ul()), De(t, 2, -2), 0);
311
311
  }
312
- function ri(t, e, n, r) {
313
- return Tn(t, e, n, br, De(t, 0, r), De(t, r + 1, -1), r);
312
+ function ii(t, e, n, r) {
313
+ return Tn(t, e, n, xr, De(t, 0, r), De(t, r + 1, -1), r);
314
314
  }
315
315
  function ce(t, e) {
316
- for (var n = "", r = xr(t), i = 0; i < r; i++)
316
+ for (var n = "", r = wr(t), i = 0; i < r; i++)
317
317
  n += e(t[i], i, t, e) || "";
318
318
  return n;
319
319
  }
320
- function yl(t, e, n, r) {
320
+ function vl(t, e, n, r) {
321
321
  switch (t.type) {
322
- case rl:
322
+ case il:
323
323
  if (t.children.length) break;
324
- case nl:
325
- case br:
324
+ case rl:
325
+ case xr:
326
326
  return t.return = t.return || t.value;
327
- case Ns:
328
- return "";
329
327
  case Us:
328
+ return "";
329
+ case zs:
330
330
  return t.return = t.value + "{" + ce(t.children, r) + "}";
331
- case vr:
331
+ case br:
332
332
  t.value = t.props.join(",");
333
333
  }
334
334
  return Ct(n = ce(t.children, r)) ? t.return = t.value + "{" + n + "}" : "";
335
335
  }
336
- function vl(t) {
337
- var e = xr(t);
336
+ function bl(t) {
337
+ var e = wr(t);
338
338
  return function(n, r, i, s) {
339
339
  for (var o = "", a = 0; a < e; a++)
340
340
  o += t[a](n, r, i, s) || "";
341
341
  return o;
342
342
  };
343
343
  }
344
- function bl(t) {
344
+ function xl(t) {
345
345
  return function(e) {
346
346
  e.root || (e = e.return) && t(e);
347
347
  };
348
348
  }
349
- function xl(t) {
349
+ function wl(t) {
350
350
  var e = /* @__PURE__ */ Object.create(null);
351
351
  return function(n) {
352
352
  return e[n] === void 0 && (e[n] = t(n)), e[n];
353
353
  };
354
354
  }
355
- var wl = function(e, n, r) {
355
+ var Sl = function(e, n, r) {
356
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
- }, Sl = function(e, n) {
359
+ }, Tl = function(e, n) {
360
360
  var r = -1, i = 44;
361
361
  do
362
362
  switch (_e(i)) {
363
363
  case 0:
364
- i === 38 && At() === 12 && (n[r] = 1), e[r] += wl(ut - 1, n, r);
364
+ i === 38 && At() === 12 && (n[r] = 1), e[r] += Sl(ut - 1, n, r);
365
365
  break;
366
366
  case 2:
367
367
  e[r] += nn(i);
@@ -377,22 +377,22 @@ var wl = function(e, n, r) {
377
377
  }
378
378
  while (i = ft());
379
379
  return e;
380
- }, Tl = function(e, n) {
381
- return Gs(Sl(qs(e), n));
382
- }, ii = /* @__PURE__ */ new WeakMap(), Cl = function(e) {
380
+ }, Cl = function(e, n) {
381
+ return Hs(Tl(Gs(e), n));
382
+ }, si = /* @__PURE__ */ new WeakMap(), Pl = function(e) {
383
383
  if (!(e.type !== "rule" || !e.parent || // positive .length indicates that this rule contains pseudo
384
384
  // negative .length indicates that this rule has been already prefixed
385
385
  e.length < 1)) {
386
386
  for (var n = e.value, r = e.parent, i = e.column === r.column && e.line === r.line; r.type !== "rule"; )
387
387
  if (r = r.parent, !r) return;
388
- if (!(e.props.length === 1 && n.charCodeAt(0) !== 58 && !ii.get(r)) && !i) {
389
- ii.set(e, !0);
390
- for (var s = [], o = Tl(n, s), a = r.props, l = 0, c = 0; l < o.length; l++)
388
+ if (!(e.props.length === 1 && n.charCodeAt(0) !== 58 && !si.get(r)) && !i) {
389
+ si.set(e, !0);
390
+ for (var s = [], o = Cl(n, s), a = r.props, l = 0, c = 0; l < o.length; l++)
391
391
  for (var u = 0; u < a.length; u++, c++)
392
392
  e.props[c] = s[l] ? o[l].replace(/&\f/g, a[u]) : a[u] + " " + o[l];
393
393
  }
394
394
  }
395
- }, Pl = function(e) {
395
+ }, Al = function(e) {
396
396
  if (e.type === "decl") {
397
397
  var n = e.value;
398
398
  // charcode for l
@@ -400,8 +400,8 @@ var wl = function(e, n, r) {
400
400
  n.charCodeAt(2) === 98 && (e.return = "", e.value = "");
401
401
  }
402
402
  };
403
- function Hs(t, e) {
404
- switch (ol(t, e)) {
403
+ function Ks(t, e) {
404
+ switch (al(t, e)) {
405
405
  // color-adjust
406
406
  case 5103:
407
407
  return _ + "print-" + t + t;
@@ -508,7 +508,7 @@ function Hs(t, e) {
508
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(L(t, "stretch", "fill-available"), e) + t : t;
511
+ return ~Xn(t, "stretch") ? Ks(L(t, "stretch", "fill-available"), e) + t : t;
512
512
  }
513
513
  break;
514
514
  // position: sticky
@@ -516,7 +516,7 @@ 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, Ct(t) - 3 - (~Yn(t, "!important") && 10))) {
519
+ switch (K(t, Ct(t) - 3 - (~Xn(t, "!important") && 10))) {
520
520
  // stic(k)y
521
521
  case 107:
522
522
  return L(t, ":", ":" + _) + t;
@@ -542,18 +542,18 @@ function Hs(t, e) {
542
542
  }
543
543
  return t;
544
544
  }
545
- var Al = function(e, n, r, i) {
545
+ var Vl = function(e, n, r, i) {
546
546
  if (e.length > -1 && !e.return) switch (e.type) {
547
- case br:
548
- e.return = Hs(e.value, e.length);
547
+ case xr:
548
+ e.return = Ks(e.value, e.length);
549
549
  break;
550
- case Us:
550
+ case zs:
551
551
  return ce([be(e, {
552
552
  value: L(e.value, "@", "@" + _)
553
553
  })], i);
554
- case vr:
555
- if (e.length) return ll(e.props, function(s) {
556
- switch (al(s, /(::plac\w+|:read-\w+)/)) {
554
+ case br:
555
+ if (e.length) return cl(e.props, function(s) {
556
+ switch (ll(s, /(::plac\w+|:read-\w+)/)) {
557
557
  // :read-(only|write)
558
558
  case ":read-only":
559
559
  case ":read-write":
@@ -573,7 +573,7 @@ var Al = function(e, n, r, i) {
573
573
  return "";
574
574
  });
575
575
  }
576
- }, Vl = [Al], Rl = function(e) {
576
+ }, Rl = [Vl], El = function(e) {
577
577
  var n = e.key;
578
578
  if (n === "css") {
579
579
  var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
@@ -582,7 +582,7 @@ var Al = function(e, n, r, i) {
582
582
  x.indexOf(" ") !== -1 && (document.head.appendChild(g), g.setAttribute("data-s", ""));
583
583
  });
584
584
  }
585
- var i = e.stylisPlugins || Vl, s = {}, o, a = [];
585
+ var i = e.stylisPlugins || Rl, s = {}, o, a = [];
586
586
  o = e.container || document.head, Array.prototype.forEach.call(
587
587
  // this means we will ignore elements which don't have a space in them which
588
588
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
@@ -593,12 +593,12 @@ var Al = function(e, n, r, i) {
593
593
  a.push(g);
594
594
  }
595
595
  );
596
- var l, c = [Cl, Pl];
596
+ var l, c = [Pl, Al];
597
597
  {
598
- var u, d = [yl, bl(function(g) {
598
+ var u, d = [vl, xl(function(g) {
599
599
  u.insert(g);
600
- })], f = vl(c.concat(i, d)), h = function(x) {
601
- return ce(ml(x), f);
600
+ })], f = bl(c.concat(i, d)), h = function(x) {
601
+ return ce(gl(x), f);
602
602
  };
603
603
  l = function(x, v, w, S) {
604
604
  u = w, h(x ? x + "{" + v.styles + "}" : v.styles), S && (p.inserted[v.name] = !0);
@@ -606,7 +606,7 @@ var Al = function(e, n, r, i) {
606
606
  }
607
607
  var p = {
608
608
  key: n,
609
- sheet: new el({
609
+ sheet: new nl({
610
610
  key: n,
611
611
  container: o,
612
612
  nonce: e.nonce,
@@ -621,10 +621,10 @@ var Al = function(e, n, r, i) {
621
621
  };
622
622
  return p.sheet.hydrate(a), p;
623
623
  };
624
- function El(t) {
624
+ function Ml(t) {
625
625
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
626
626
  }
627
- function Ml(t) {
627
+ function kl(t) {
628
628
  if (t.__esModule) return t;
629
629
  var e = t.default;
630
630
  if (typeof e == "function") {
@@ -652,10 +652,10 @@ var Ke = { exports: {} }, $ = {};
652
652
  * This source code is licensed under the MIT license found in the
653
653
  * LICENSE file in the root directory of this source tree.
654
654
  */
655
- var si;
656
- function kl() {
657
- if (si) return $;
658
- si = 1;
655
+ var oi;
656
+ function Dl() {
657
+ if (oi) return $;
658
+ oi = 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, w = t ? Symbol.for("react.scope") : 60119;
660
660
  function S(m) {
661
661
  if (typeof m == "object" && m !== null) {
@@ -727,9 +727,9 @@ var O = {};
727
727
  * This source code is licensed under the MIT license found in the
728
728
  * LICENSE file in the root directory of this source tree.
729
729
  */
730
- var oi;
731
- function Dl() {
732
- return oi || (oi = 1, process.env.NODE_ENV !== "production" && function() {
730
+ var ai;
731
+ function _l() {
732
+ return ai || (ai = 1, process.env.NODE_ENV !== "production" && function() {
733
733
  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, w = t ? Symbol.for("react.scope") : 60119;
734
734
  function S(R) {
735
735
  return typeof R == "string" || typeof R == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
@@ -810,15 +810,15 @@ function Dl() {
810
810
  O.AsyncMode = m, O.ConcurrentMode = V, O.ContextConsumer = E, O.ContextProvider = y, O.Element = b, O.ForwardRef = T, O.Fragment = C, 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 = Ft, O.isLazy = dt, O.isMemo = Bt, O.isPortal = vt, O.isProfiler = bt, O.isStrictMode = qt, O.isSuspense = Gt, O.isValidElementType = S, O.typeOf = P;
811
811
  }()), O;
812
812
  }
813
- var ai;
814
- function _l() {
815
- return ai || (ai = 1, process.env.NODE_ENV === "production" ? Ke.exports = kl() : Ke.exports = Dl()), Ke.exports;
816
- }
817
- var Mn, li;
813
+ var li;
818
814
  function Ll() {
819
- if (li) return Mn;
820
- li = 1;
821
- var t = _l(), e = {
815
+ return li || (li = 1, process.env.NODE_ENV === "production" ? Ke.exports = Dl() : Ke.exports = _l()), Ke.exports;
816
+ }
817
+ var Mn, ci;
818
+ function $l() {
819
+ if (ci) return Mn;
820
+ ci = 1;
821
+ var t = Ll(), e = {
822
822
  childContextTypes: !0,
823
823
  contextType: !0,
824
824
  contextTypes: !0,
@@ -880,15 +880,15 @@ function Ll() {
880
880
  }
881
881
  return Mn = h, Mn;
882
882
  }
883
- Ll();
884
- var $l = !0;
885
- function Ol(t, e, n) {
883
+ $l();
884
+ var Ol = !0;
885
+ function Fl(t, e, n) {
886
886
  var r = "";
887
887
  return n.split(" ").forEach(function(i) {
888
888
  t[i] !== void 0 ? e.push(t[i] + ";") : i && (r += i + " ");
889
889
  }), r;
890
890
  }
891
- var Ks = function(e, n, r) {
891
+ var Ys = function(e, n, r) {
892
892
  var i = e.key + "-" + n.name;
893
893
  // we only need to add the styles to the registered cache if the
894
894
  // class name could be used further down
@@ -899,9 +899,9 @@ var Ks = function(e, n, r) {
899
899
  // in node since emotion-server relies on whether a style is in
900
900
  // the registered cache to know whether a style is global or not
901
901
  // also, note that this check will be dead code eliminated in the browser
902
- $l === !1) && e.registered[i] === void 0 && (e.registered[i] = n.styles);
903
- }, Fl = function(e, n, r) {
904
- Ks(e, n, r);
902
+ Ol === !1) && e.registered[i] === void 0 && (e.registered[i] = n.styles);
903
+ }, Bl = function(e, n, r) {
904
+ Ys(e, n, r);
905
905
  var i = e.key + "-" + n.name;
906
906
  if (e.inserted[n.name] === void 0) {
907
907
  var s = n;
@@ -910,7 +910,7 @@ var Ks = function(e, n, r) {
910
910
  while (s !== void 0);
911
911
  }
912
912
  };
913
- function Bl(t) {
913
+ function Il(t) {
914
914
  for (var e = 0, n, r = 0, i = t.length; i >= 4; ++r, i -= 4)
915
915
  n = t.charCodeAt(r) & 255 | (t.charCodeAt(++r) & 255) << 8 | (t.charCodeAt(++r) & 255) << 16 | (t.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
916
916
  (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
@@ -929,7 +929,7 @@ function Bl(t) {
929
929
  return e ^= e >>> 13, e = /* Math.imul(h, m): */
930
930
  (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
931
931
  }
932
- var Il = {
932
+ var Nl = {
933
933
  animationIterationCount: 1,
934
934
  aspectRatio: 1,
935
935
  borderImageOutset: 1,
@@ -978,18 +978,18 @@ var Il = {
978
978
  strokeMiterlimit: 1,
979
979
  strokeOpacity: 1,
980
980
  strokeWidth: 1
981
- }, jl = /[A-Z]|^ms/g, Nl = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Ys = function(e) {
981
+ }, jl = /[A-Z]|^ms/g, Ul = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Xs = function(e) {
982
982
  return e.charCodeAt(1) === 45;
983
- }, ci = function(e) {
983
+ }, ui = function(e) {
984
984
  return e != null && typeof e != "boolean";
985
- }, kn = /* @__PURE__ */ xl(function(t) {
986
- return Ys(t) ? t : t.replace(jl, "-$&").toLowerCase();
987
- }), ui = function(e, n) {
985
+ }, kn = /* @__PURE__ */ wl(function(t) {
986
+ return Xs(t) ? t : t.replace(jl, "-$&").toLowerCase();
987
+ }), di = function(e, n) {
988
988
  switch (e) {
989
989
  case "animation":
990
990
  case "animationName":
991
991
  if (typeof n == "string")
992
- return n.replace(Nl, function(r, i, s) {
992
+ return n.replace(Ul, function(r, i, s) {
993
993
  return Pt = {
994
994
  name: i,
995
995
  styles: s,
@@ -997,7 +997,7 @@ var Il = {
997
997
  }, i;
998
998
  });
999
999
  }
1000
- return Il[e] !== 1 && !Ys(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
1000
+ return Nl[e] !== 1 && !Xs(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
1001
1001
  };
1002
1002
  function Le(t, e, n) {
1003
1003
  if (n == null)
@@ -1029,7 +1029,7 @@ function Le(t, e, n) {
1029
1029
  var a = s.styles + ";";
1030
1030
  return a;
1031
1031
  }
1032
- return Ul(t, e, n);
1032
+ return zl(t, e, n);
1033
1033
  }
1034
1034
  case "function": {
1035
1035
  if (t !== void 0) {
@@ -1042,7 +1042,7 @@ function Le(t, e, n) {
1042
1042
  var u = n;
1043
1043
  return u;
1044
1044
  }
1045
- function Ul(t, e, n) {
1045
+ function zl(t, e, n) {
1046
1046
  var r = "";
1047
1047
  if (Array.isArray(n))
1048
1048
  for (var i = 0; i < n.length; i++)
@@ -1052,10 +1052,10 @@ function Ul(t, e, n) {
1052
1052
  var o = n[s];
1053
1053
  if (typeof o != "object") {
1054
1054
  var a = o;
1055
- ci(a) && (r += kn(s) + ":" + ui(s, a) + ";");
1055
+ ui(a) && (r += kn(s) + ":" + di(s, a) + ";");
1056
1056
  } else if (Array.isArray(o) && typeof o[0] == "string" && e == null)
1057
1057
  for (var l = 0; l < o.length; l++)
1058
- ci(o[l]) && (r += kn(s) + ":" + ui(s, o[l]) + ";");
1058
+ ui(o[l]) && (r += kn(s) + ":" + di(s, o[l]) + ";");
1059
1059
  else {
1060
1060
  var c = Le(t, e, o);
1061
1061
  switch (s) {
@@ -1071,8 +1071,8 @@ function Ul(t, e, n) {
1071
1071
  }
1072
1072
  return r;
1073
1073
  }
1074
- var di = /label:\s*([^\s;{]+)\s*(;|$)/g, Pt;
1075
- function zl(t, e, n) {
1074
+ var fi = /label:\s*([^\s;{]+)\s*(;|$)/g, Pt;
1075
+ function Wl(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 = "";
@@ -1089,66 +1089,66 @@ function zl(t, e, n) {
1089
1089
  var l = s;
1090
1090
  i += l[a];
1091
1091
  }
1092
- di.lastIndex = 0;
1093
- for (var c = "", u; (u = di.exec(i)) !== null; )
1092
+ fi.lastIndex = 0;
1093
+ for (var c = "", u; (u = fi.exec(i)) !== null; )
1094
1094
  c += "-" + u[1];
1095
- var d = Bl(i) + c;
1095
+ var d = Il(i) + c;
1096
1096
  return {
1097
1097
  name: d,
1098
1098
  styles: i,
1099
1099
  next: Pt
1100
1100
  };
1101
1101
  }
1102
- var Wl = function(e) {
1102
+ var ql = function(e) {
1103
1103
  return e();
1104
- }, ql = lt.useInsertionEffect ? lt.useInsertionEffect : !1, Gl = ql || Wl, Xs = /* @__PURE__ */ lt.createContext(
1104
+ }, Gl = lt.useInsertionEffect ? lt.useInsertionEffect : !1, Hl = Gl || ql, Zs = /* @__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
1108
1108
  // and we could have a special build just for that
1109
1109
  // but this is much easier and the native packages
1110
1110
  // might use a different theme context in the future anyway
1111
- typeof HTMLElement < "u" ? /* @__PURE__ */ Rl({
1111
+ typeof HTMLElement < "u" ? /* @__PURE__ */ El({
1112
1112
  key: "css"
1113
1113
  }) : null
1114
1114
  );
1115
- Xs.Provider;
1116
- var Hl = function(e) {
1117
- return /* @__PURE__ */ Bs(function(n, r) {
1118
- var i = rt(Xs);
1115
+ Zs.Provider;
1116
+ var Kl = function(e) {
1117
+ return /* @__PURE__ */ Is(function(n, r) {
1118
+ var i = rt(Zs);
1119
1119
  return e(n, i, r);
1120
1120
  });
1121
- }, Kl = /* @__PURE__ */ lt.createContext({}), Cn = {}.hasOwnProperty, Zn = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Zs = function(e, n) {
1121
+ }, Yl = /* @__PURE__ */ lt.createContext({}), Cn = {}.hasOwnProperty, Jn = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Js = function(e, n) {
1122
1122
  var r = {};
1123
1123
  for (var i in n)
1124
1124
  Cn.call(n, i) && (r[i] = n[i]);
1125
- return r[Zn] = e, r;
1126
- }, Yl = function(e) {
1125
+ return r[Jn] = e, r;
1126
+ }, Xl = function(e) {
1127
1127
  var n = e.cache, r = e.serialized, i = e.isStringTag;
1128
- return Ks(n, r, i), Gl(function() {
1129
- return Fl(n, r, i);
1128
+ return Ys(n, r, i), Hl(function() {
1129
+ return Bl(n, r, i);
1130
1130
  }), null;
1131
- }, Xl = /* @__PURE__ */ Hl(function(t, e, n) {
1131
+ }, Zl = /* @__PURE__ */ Kl(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
- var i = t[Zn], s = [r], o = "";
1135
- typeof t.className == "string" ? o = Ol(e.registered, s, t.className) : t.className != null && (o = t.className + " ");
1136
- var a = zl(s, void 0, lt.useContext(Kl));
1134
+ var i = t[Jn], s = [r], o = "";
1135
+ typeof t.className == "string" ? o = Fl(e.registered, s, t.className) : t.className != null && (o = t.className + " ");
1136
+ var a = Wl(s, void 0, lt.useContext(Yl));
1137
1137
  o += e.key + "-" + a.name;
1138
1138
  var l = {};
1139
1139
  for (var c in t)
1140
- Cn.call(t, c) && c !== "css" && c !== Zn && (l[c] = t[c]);
1141
- return l.className = o, n && (l.ref = n), /* @__PURE__ */ lt.createElement(lt.Fragment, null, /* @__PURE__ */ lt.createElement(Yl, {
1140
+ Cn.call(t, c) && c !== "css" && c !== Jn && (l[c] = t[c]);
1141
+ return l.className = o, n && (l.ref = n), /* @__PURE__ */ lt.createElement(lt.Fragment, null, /* @__PURE__ */ lt.createElement(Xl, {
1142
1142
  cache: e,
1143
1143
  serialized: a,
1144
1144
  isStringTag: typeof i == "string"
1145
1145
  }), /* @__PURE__ */ lt.createElement(i, l));
1146
- }), Js = Xl, Zl = ke.Fragment, A = function(e, n, r) {
1147
- return Cn.call(n, "css") ? ke.jsx(Js, Zs(e, n), r) : ke.jsx(e, n, r);
1146
+ }), Qs = Zl, Jl = ke.Fragment, A = function(e, n, r) {
1147
+ return Cn.call(n, "css") ? ke.jsx(Qs, Js(e, n), r) : ke.jsx(e, n, r);
1148
1148
  }, ht = function(e, n, r) {
1149
- return Cn.call(n, "css") ? ke.jsxs(Js, Zs(e, n), r) : ke.jsxs(e, n, r);
1149
+ return Cn.call(n, "css") ? ke.jsxs(Qs, Js(e, n), r) : ke.jsxs(e, n, r);
1150
1150
  };
1151
- function Jl(t) {
1151
+ function Ql(t) {
1152
1152
  var e = t.match(/^var\((.*)\)$/);
1153
1153
  return e ? e[1] : t;
1154
1154
  }
@@ -1158,7 +1158,7 @@ function F(t, e) {
1158
1158
  var r = t;
1159
1159
  for (var i in r) {
1160
1160
  var s = r[i];
1161
- s != null && (n[Jl(i)] = s);
1161
+ s != null && (n[Ql(i)] = s);
1162
1162
  }
1163
1163
  }
1164
1164
  return Object.defineProperty(n, "toString", {
@@ -1168,12 +1168,12 @@ function F(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", _n = "#C8AE96", Y = "#FCEFE6", Ql = "#2E2E2E", hi = "#CCCCCC", tc = " #888888", nt = "#000000", Ln = Qs, B = {
1171
+ const hi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif', to = "#FF7377", _n = "#C8AE96", Y = "#FCEFE6", tc = "#2E2E2E", pi = "#CCCCCC", ec = " #888888", nt = "#000000", Ln = to, B = {
1172
1172
  global: {
1173
1173
  maxWidth: 1200,
1174
1174
  paddingLeft: [15, 15, 30, 30],
1175
1175
  paddingRight: [15, 15, 30, 30],
1176
- brandFont: fi,
1176
+ brandFont: hi,
1177
1177
  defaultFont: Dn
1178
1178
  },
1179
1179
  colors: {
@@ -1215,13 +1215,13 @@ const fi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif'
1215
1215
  letterSpacing: 0.1,
1216
1216
  color: {
1217
1217
  primary: Y,
1218
- secondary: Ql,
1219
- disabled: tc
1218
+ secondary: tc,
1219
+ disabled: ec
1220
1220
  },
1221
1221
  backgroundColor: {
1222
1222
  primary: Ln,
1223
1223
  secondary: _n,
1224
- disabled: hi
1224
+ disabled: pi
1225
1225
  },
1226
1226
  border: {
1227
1227
  width: 2,
@@ -1229,7 +1229,7 @@ const fi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif'
1229
1229
  color: {
1230
1230
  primary: Ln,
1231
1231
  secondary: _n,
1232
- disabled: hi
1232
+ disabled: pi
1233
1233
  }
1234
1234
  },
1235
1235
  borderRadius: 50,
@@ -1270,7 +1270,7 @@ const fi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif'
1270
1270
  padding: ["15px", "30px"]
1271
1271
  },
1272
1272
  label: {
1273
- font: fi,
1273
+ font: hi,
1274
1274
  fontWeight: 500,
1275
1275
  color: Ln,
1276
1276
  paddingBottom: 5
@@ -1300,7 +1300,7 @@ const fi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif'
1300
1300
  border: `2px solid ${nt}`
1301
1301
  },
1302
1302
  error: {
1303
- color: Qs
1303
+ color: to
1304
1304
  }
1305
1305
  },
1306
1306
  header: {
@@ -1447,21 +1447,21 @@ function St() {
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 ec = "var(--_1h0tdm50)", nc = "var(--_1h0tdm51)", rc = "var(--_1h0tdm52)", ic = "var(--_1h0tdm53)", sc = "var(--_1h0tdm54)", oc = "var(--_1h0tdm55)", ac = "var(--_1h0tdm56)", lc = "var(--_1h0tdm57)", cc = "var(--_1h0tdm58)", uc = "var(--_1h0tdm59)", dc = "var(--_1h0tdm5a)", fc = "var(--_1h0tdm5b)", hc = "var(--_1h0tdm5c)", pc = "var(--_1h0tdm5d)", Qp = { 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
- const pi = ({
1450
+ var nc = "var(--_1h0tdm50)", rc = "var(--_1h0tdm51)", ic = "var(--_1h0tdm52)", sc = "var(--_1h0tdm53)", oc = "var(--_1h0tdm54)", ac = "var(--_1h0tdm55)", lc = "var(--_1h0tdm56)", cc = "var(--_1h0tdm57)", uc = "var(--_1h0tdm58)", dc = "var(--_1h0tdm59)", fc = "var(--_1h0tdm5a)", hc = "var(--_1h0tdm5b)", pc = "var(--_1h0tdm5c)", mc = "var(--_1h0tdm5d)", Qp = { 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 } } }, Qn = /* @__PURE__ */ ((t) => (t[t.Primary = 0] = "Primary", t[t.Secondary = 1] = "Secondary", t))(Qn || {}), tr = /* @__PURE__ */ ((t) => (t[t.Fill = 0] = "Fill", t[t.Outline = 1] = "Outline", t))(tr || {}), sn = /* @__PURE__ */ ((t) => (t[t.Small = 0] = "Small", t[t.Medium = 1] = "Medium", t[t.Large = 2] = "Large", t))(sn || {}), eo = /* @__PURE__ */ ((t) => (t.Reset = "reset", t.Button = "button", t.Submit = "submit", t))(eo || {});
1451
+ const mi = ({
1452
1452
  children: t,
1453
1453
  className: e,
1454
1454
  staticColor: n = "",
1455
1455
  isPending: r = !1,
1456
1456
  isDisabled: i = !1,
1457
- type: s = to.Button,
1458
- style: o = Qn.Fill,
1457
+ type: s = eo.Button,
1458
+ style: o = tr.Fill,
1459
1459
  size: a = sn.Medium,
1460
1460
  onClick: l = void 0,
1461
1461
  theme: c = B,
1462
- variant: u = Jn.Primary
1462
+ variant: u = Qn.Primary
1463
1463
  }) => {
1464
- const d = St(), { button: { color: f, backgroundColor: h, border: p, minWidth: g, fontWeight: x, transition: v, borderRadius: w, letterSpacing: S, paddingTop: P, paddingBottom: m, paddingLeft: V, paddingRight: E } } = c, y = a === sn.Large, b = a === sn.Small, T = o === Qn.Outline, C = u === Jn.Secondary;
1464
+ const d = St(), { button: { color: f, backgroundColor: h, border: p, minWidth: g, fontWeight: x, transition: v, borderRadius: w, letterSpacing: S, paddingTop: P, paddingBottom: m, paddingLeft: V, paddingRight: E } } = c, y = a === sn.Large, b = a === sn.Small, T = o === tr.Outline, C = u === Qn.Secondary;
1465
1465
  return /* @__PURE__ */ A(
1466
1466
  "button",
1467
1467
  {
@@ -1469,38 +1469,38 @@ const pi = ({
1469
1469
  onClick: l,
1470
1470
  className: e,
1471
1471
  style: F({
1472
- [oc]: v,
1473
- [ic]: `${g}px`,
1474
- [sc]: `${x}px`,
1475
- [fc]: `${w}px`,
1476
- [hc]: `${S}px`,
1477
- [nc]: i || r ? "default" : "pointer",
1478
- [dc]: i || r ? "none" : "auto",
1479
- [ec]: T && n ? n : T && C ? h.secondary : T ? h.primary : C ? f.secondary : i || r ? f.disabled : f.primary,
1480
- [pc]: T ? "transparent" : n || (C ? h.secondary : i ? h.disabled : h.primary),
1481
- [rc]: n ? `${p.width}px ${p.style} ${n}` : C ? `${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
- [ac]: b ? `${P.small[d]}px` : y ? `${P.large[d]}px` : `${P.medium[d]}px`,
1483
- [uc]: b ? `${m.small[d]}px` : y ? `${m.large[d]}px` : `${m.medium[d]}px`,
1484
- [lc]: b ? `${V.small[d]}px` : y ? `${V.large[d]}px` : `${V.medium[d]}px`,
1485
- [cc]: b ? `${E.small[d]}px` : y ? `${E.large[d]}px` : `${E.medium[d]}px`
1472
+ [ac]: v,
1473
+ [sc]: `${g}px`,
1474
+ [oc]: `${x}px`,
1475
+ [hc]: `${w}px`,
1476
+ [pc]: `${S}px`,
1477
+ [rc]: i || r ? "default" : "pointer",
1478
+ [fc]: i || r ? "none" : "auto",
1479
+ [nc]: T && n ? n : T && C ? h.secondary : T ? h.primary : C ? f.secondary : i || r ? f.disabled : f.primary,
1480
+ [mc]: T ? "transparent" : n || (C ? h.secondary : i ? h.disabled : h.primary),
1481
+ [ic]: n ? `${p.width}px ${p.style} ${n}` : C ? `${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
+ [lc]: b ? `${P.small[d]}px` : y ? `${P.large[d]}px` : `${P.medium[d]}px`,
1483
+ [dc]: b ? `${m.small[d]}px` : y ? `${m.large[d]}px` : `${m.medium[d]}px`,
1484
+ [cc]: b ? `${V.small[d]}px` : y ? `${V.large[d]}px` : `${V.medium[d]}px`,
1485
+ [uc]: b ? `${E.small[d]}px` : y ? `${E.large[d]}px` : `${E.medium[d]}px`
1486
1486
  }),
1487
1487
  children: t
1488
1488
  }
1489
1489
  );
1490
1490
  };
1491
- var mc = "var(--_1v7zi9y0)", gc = "var(--_1v7zi9y1)", yc = "var(--_1v7zi9y2)", vc = "var(--_1v7zi9y3)", bc = "var(--_1v7zi9y4)", tm = { 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 || {});
1491
+ var gc = "var(--_1v7zi9y0)", yc = "var(--_1v7zi9y1)", vc = "var(--_1v7zi9y2)", bc = "var(--_1v7zi9y3)", xc = "var(--_1v7zi9y4)", tm = { 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 em = ({ children: t, className: e, theme: n = B, align: r = Te.Left }) => {
1493
1493
  const i = St(), { actions: { gap: s, paddingTop: o, paddingBottom: a } } = n;
1494
1494
  return /* @__PURE__ */ A("div", { className: e, style: F({
1495
- [mc]: `${s[i]}px`,
1496
- [yc]: `${o[i]}px`,
1497
- [vc]: `${a[i]}px`,
1498
- [gc]: r === Te.Center ? "center" : "flex-start",
1499
- [bc]: r === Te.Right ? "flex-end" : r === Te.Left ? "flex-start" : "center"
1495
+ [gc]: `${s[i]}px`,
1496
+ [vc]: `${o[i]}px`,
1497
+ [bc]: `${a[i]}px`,
1498
+ [yc]: r === Te.Center ? "center" : "flex-start",
1499
+ [xc]: r === Te.Right ? "flex-end" : r === Te.Left ? "flex-start" : "center"
1500
1500
  }), children: t });
1501
1501
  };
1502
- var mi = { iconSize: "var(--_1slxfz50)", iconColor: "var(--_1slxfz51)" }, nm = { margin: "0 auto", display: "inline-block", verticalAlign: "middle" }, xc = "_1slxfz53";
1503
- const wc = {
1502
+ var gi = { iconSize: "var(--_1slxfz50)", iconColor: "var(--_1slxfz51)" }, nm = { margin: "0 auto", display: "inline-block", verticalAlign: "middle" }, wc = "_1slxfz53";
1503
+ const Sc = {
1504
1504
  caret: "M8.12 9.29 12 13.17l3.88-3.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-4.59 4.59c-.39.39-1.02.39-1.41 0L6.7 10.7a.9959.9959 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0",
1505
1505
  close: "M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4",
1506
1506
  arrowBack: "M19 11H7.83l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 0 0-1.41 0l-6.59 6.59c-.39.39-.39 1.02 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L7.83 13H19c.55 0 1-.45 1-1s-.45-1-1-1",
@@ -1532,8 +1532,8 @@ const wc = {
1532
1532
  {
1533
1533
  className: o,
1534
1534
  style: F({
1535
- [mi.iconSize]: `${e}px`,
1536
- [mi.iconColor]: r ?? i.colors.defaultIcon
1535
+ [gi.iconSize]: `${e}px`,
1536
+ [gi.iconColor]: r ?? i.colors.defaultIcon
1537
1537
  }),
1538
1538
  viewBox: s,
1539
1539
  width: `${e}px`,
@@ -1541,13 +1541,13 @@ const wc = {
1541
1541
  children: /* @__PURE__ */ A(
1542
1542
  "path",
1543
1543
  {
1544
- className: xc,
1545
- d: n || wc[t] || ""
1544
+ className: wc,
1545
+ d: n || Sc[t] || ""
1546
1546
  }
1547
1547
  )
1548
1548
  }
1549
1549
  );
1550
- var at = { overlayOpacity: "var(--_18bqyaq0)", overlayBackgroundColor: "var(--_18bqyaq1)", overlayBlur: "var(--_18bqyaq2)", modalWidth: "var(--_18bqyaq3)", modalPaddingTop: "var(--_18bqyaq4)", modalPaddingBottom: "var(--_18bqyaq5)", modalPaddingLeft: "var(--_18bqyaq6)", modalPaddingRight: "var(--_18bqyaq7)", modalMaxWidth: "var(--_18bqyaq8)", modalMaxHeight: "var(--_18bqyaq9)", modalContentTextAlign: "var(--_18bqyaqa)", modalContentBackgroundColor: "var(--_18bqyaqb)", modalContentBorderRadius: "var(--_18bqyaqc)", modalContentBorders: "var(--_18bqyaqd)" }, rm = { zIndex: 100, position: "fixed", width: "100%", height: "100%", selectors: { "&:before": { content: "''", position: "fixed", top: 0, left: 0, right: 0, bottom: 0, opacity: "var(--_18bqyaq0)", backgroundColor: "var(--_18bqyaq1)", backdropFilter: "blur(var(--_18bqyaq2))" } } }, Sc = "_18bqyaqf", Tc = "_18bqyaqg", on = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(on || {});
1550
+ var at = { overlayOpacity: "var(--_18bqyaq0)", overlayBackgroundColor: "var(--_18bqyaq1)", overlayBlur: "var(--_18bqyaq2)", modalWidth: "var(--_18bqyaq3)", modalPaddingTop: "var(--_18bqyaq4)", modalPaddingBottom: "var(--_18bqyaq5)", modalPaddingLeft: "var(--_18bqyaq6)", modalPaddingRight: "var(--_18bqyaq7)", modalMaxWidth: "var(--_18bqyaq8)", modalMaxHeight: "var(--_18bqyaq9)", modalContentTextAlign: "var(--_18bqyaqa)", modalContentBackgroundColor: "var(--_18bqyaqb)", modalContentBorderRadius: "var(--_18bqyaqc)", modalContentBorders: "var(--_18bqyaqd)" }, rm = { zIndex: 100, position: "fixed", width: "100%", height: "100%", selectors: { "&:before": { content: "''", position: "fixed", top: 0, left: 0, right: 0, bottom: 0, opacity: "var(--_18bqyaq0)", backgroundColor: "var(--_18bqyaq1)", backdropFilter: "blur(var(--_18bqyaq2))" } } }, Tc = "_18bqyaqf", Cc = "_18bqyaqg", on = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(on || {});
1551
1551
  const im = ({
1552
1552
  children: t,
1553
1553
  align: e = on.Left,
@@ -1575,19 +1575,19 @@ const im = ({
1575
1575
  [at.modalMaxWidth]: `calc(100% - ${o[s] + a[s]}px)`,
1576
1576
  [at.modalMaxHeight]: `calc(100% - ${o[s] + a[s]}px)`
1577
1577
  }),
1578
- children: /* @__PURE__ */ ht("div", { className: Sc, style: F({
1578
+ children: /* @__PURE__ */ ht("div", { className: Tc, style: F({
1579
1579
  [at.modalContentTextAlign]: e === on.Left ? "left" : e === on.Right ? "right" : "center",
1580
1580
  [at.modalContentBackgroundColor]: p,
1581
1581
  [at.modalContentBorderRadius]: `${h}px`,
1582
1582
  [at.modalContentBorders]: d
1583
1583
  }), children: [
1584
- r && /* @__PURE__ */ A("button", { className: Tc, onClick: r, children: /* @__PURE__ */ A(Xt, { className: "", theme: n, icon: "close" }) }),
1584
+ r && /* @__PURE__ */ A("button", { className: Cc, onClick: r, children: /* @__PURE__ */ A(Xt, { className: "", theme: n, icon: "close" }) }),
1585
1585
  t
1586
1586
  ] })
1587
1587
  }
1588
1588
  );
1589
1589
  };
1590
- var Cc = { videoMaxHeight: "var(--_18hbdtx0)" }, Pc = "_18hbdtx1", Ac = "_18hbdtx2", Vc = "_18hbdtx3", Rc = "_18hbdtx4", Ec = "_18hbdtx5", Mc = "_18hbdtx6";
1590
+ var $n = { videoMaxHeight: "var(--_18hbdtx0)", videoOpacity: "var(--_18hbdtx1)", videoPointerEvents: "var(--_18hbdtx2)" }, sm = {}, Pc = "_18hbdtx3", Ac = "_18hbdtx4", Vc = "_18hbdtx5", Rc = "_18hbdtx6", Ec = "_18hbdtx7", Mc = "_18hbdtx8";
1591
1591
  const kc = ({
1592
1592
  video: t,
1593
1593
  isAutoPlay: e,
@@ -1621,18 +1621,20 @@ const kc = ({
1621
1621
  y.key === "Escape" && S();
1622
1622
  };
1623
1623
  return wt(() => (window.addEventListener("keydown", E), () => window.removeEventListener("keydown", E)), []), /* @__PURE__ */ A("div", { className: f, style: F({
1624
- [Cc.videoMaxHeight]: u ? "100vw" : "100%"
1624
+ [$n.videoMaxHeight]: u ? "100vw" : "100%",
1625
+ [$n.videoOpacity]: p ? "0" : "1",
1626
+ [$n.videoPointerEvents]: p ? "none" : "auto"
1625
1627
  }), children: /* @__PURE__ */ ht("div", { className: Pc, children: [
1626
1628
  /* @__PURE__ */ A("video", { ref: h, playsInline: !0, onEnded: V, children: /* @__PURE__ */ A("source", { src: t, type: "video/mp4" }) }),
1627
1629
  n && /* @__PURE__ */ A("div", { className: Ac, children: /* @__PURE__ */ A("img", { src: n, alt: "" }) }),
1628
- (!c || !e) && /* @__PURE__ */ A("button", { className: Vc, onClick: w, "aria-label": "Play", children: /* @__PURE__ */ A(Xt, { icon: "play", size: 50, theme: l }) }),
1629
- d && /* @__PURE__ */ A("button", { className: Ec, onClick: S, "aria-label": "Close", children: /* @__PURE__ */ A(Xt, { icon: "close", size: 28, theme: l }) }),
1630
- p && a && /* @__PURE__ */ A("button", { className: Rc, onClick: p ? P : w, "aria-label": "Pause", children: /* @__PURE__ */ A(Xt, { icon: "pause", size: 28, theme: l }) }),
1631
- a && /* @__PURE__ */ A("button", { className: Mc, onClick: m, "aria-label": "Sound", children: /* @__PURE__ */ A(Xt, { icon: x ? "volumeUp" : "volumeMute", size: 28, theme: l }) })
1630
+ (!c || !e) && /* @__PURE__ */ A("button", { className: Vc, onClick: w, "aria-label": "Play", children: /* @__PURE__ */ A(Xt, { className: "", icon: "play", size: 50, theme: l }) }),
1631
+ d && /* @__PURE__ */ A("button", { className: Ec, onClick: S, "aria-label": "Close", children: /* @__PURE__ */ A(Xt, { className: "", icon: "close", size: 28, theme: l }) }),
1632
+ p && a && /* @__PURE__ */ A("button", { className: Rc, onClick: p ? P : w, "aria-label": "Pause", children: /* @__PURE__ */ A(Xt, { className: "", icon: "pause", size: 28, theme: l }) }),
1633
+ a && /* @__PURE__ */ A("button", { className: Mc, onClick: m, "aria-label": "Sound", children: /* @__PURE__ */ A(Xt, { className: "", icon: x ? "volumeUp" : "volumeMute", size: 28, theme: l }) })
1632
1634
  ] }) });
1633
1635
  };
1634
- var Dc = { imgMaxWidth: "var(--_13pkfbg0)" }, sm = {};
1635
- const om = ({ children: t, theme: e = B, className: n }) => /* @__PURE__ */ A(
1636
+ var Dc = { imgMaxWidth: "var(--_13pkfbg0)" }, om = {};
1637
+ const am = ({ children: t, theme: e = B, className: n }) => /* @__PURE__ */ A(
1636
1638
  "div",
1637
1639
  {
1638
1640
  className: n,
@@ -1642,7 +1644,7 @@ const om = ({ children: t, theme: e = B, className: n }) => /* @__PURE__ */ A(
1642
1644
  children: t
1643
1645
  }
1644
1646
  );
1645
- var $n = { gap: "var(--_1vea7fs0)", displayItem: "var(--_1vea7fs1)", isFullWidth: "var(--_1vea7fs2)" }, am = { gap: "var(--_1vea7fs0)", display: "flex", flexWrap: "nowrap", overflow: "hidden", width: "var(--_1vea7fs2)" };
1647
+ var On = { gap: "var(--_1vea7fs0)", displayItem: "var(--_1vea7fs1)", isFullWidth: "var(--_1vea7fs2)" }, lm = { gap: "var(--_1vea7fs0)", display: "flex", flexWrap: "nowrap", overflow: "hidden", width: "var(--_1vea7fs2)" };
1646
1648
  function _c() {
1647
1649
  const [t, e] = _t({
1648
1650
  width: void 0,
@@ -1658,7 +1660,7 @@ function _c() {
1658
1660
  return window.addEventListener("resize", n), n(), () => window.removeEventListener("resize", n);
1659
1661
  }, []), t;
1660
1662
  }
1661
- const lm = ({
1663
+ const cm = ({
1662
1664
  data: t,
1663
1665
  theme: e = B,
1664
1666
  displayItem: n = 1,
@@ -1676,9 +1678,9 @@ const lm = ({
1676
1678
  ref: u,
1677
1679
  className: o,
1678
1680
  style: F({
1679
- [$n.gap]: `${e.carousel.gap[0]}px`,
1680
- [$n.displayItem]: `${d}`,
1681
- [$n.isFullWidth]: r ? "100vw" : "100%"
1681
+ [On.gap]: `${e.carousel.gap[0]}px`,
1682
+ [On.displayItem]: `${d}`,
1683
+ [On.isFullWidth]: r ? "100vw" : "100%"
1682
1684
  }),
1683
1685
  children: [
1684
1686
  t.map((h, p) => /* @__PURE__ */ A("div", { children: h }, p)),
@@ -1770,12 +1772,12 @@ var we = {}, hn = function() {
1770
1772
  const $c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1771
1773
  __proto__: null,
1772
1774
  CountUp: Lc
1773
- }, Symbol.toStringTag, { value: "Module" })), Oc = /* @__PURE__ */ Ml($c);
1774
- var gi;
1775
+ }, Symbol.toStringTag, { value: "Module" })), Oc = /* @__PURE__ */ kl($c);
1776
+ var yi;
1775
1777
  function Fc() {
1776
- if (gi) return we;
1777
- gi = 1, Object.defineProperty(we, "__esModule", { value: !0 });
1778
- var t = Ga, e = Oc;
1778
+ if (yi) return we;
1779
+ yi = 1, Object.defineProperty(we, "__esModule", { value: !0 });
1780
+ var t = Ha, e = Oc;
1779
1781
  function n(y, b) {
1780
1782
  var T = y == null ? null : typeof Symbol < "u" && y[Symbol.iterator] || y["@@iterator"];
1781
1783
  if (T != null) {
@@ -2044,19 +2046,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2044
2046
  return we.default = E, we.useCountUp = m, we;
2045
2047
  }
2046
2048
  var Bc = Fc();
2047
- const Ic = /* @__PURE__ */ El(Bc);
2048
- var tr = /* @__PURE__ */ new Map(), Ye = /* @__PURE__ */ new WeakMap(), yi = 0, jc = void 0;
2049
- function Nc(t) {
2050
- return t ? (Ye.has(t) || (yi += 1, Ye.set(t, yi.toString())), Ye.get(t)) : "0";
2049
+ const Ic = /* @__PURE__ */ Ml(Bc);
2050
+ var er = /* @__PURE__ */ new Map(), Ye = /* @__PURE__ */ new WeakMap(), vi = 0, Nc = void 0;
2051
+ function jc(t) {
2052
+ return t ? (Ye.has(t) || (vi += 1, Ye.set(t, vi.toString())), Ye.get(t)) : "0";
2051
2053
  }
2052
2054
  function Uc(t) {
2053
2055
  return Object.keys(t).sort().filter(
2054
2056
  (e) => t[e] !== void 0
2055
- ).map((e) => `${e}_${e === "root" ? Nc(t.root) : t[e]}`).toString();
2057
+ ).map((e) => `${e}_${e === "root" ? jc(t.root) : t[e]}`).toString();
2056
2058
  }
2057
2059
  function zc(t) {
2058
2060
  const e = Uc(t);
2059
- let n = tr.get(e);
2061
+ let n = er.get(e);
2060
2062
  if (!n) {
2061
2063
  const r = /* @__PURE__ */ new Map();
2062
2064
  let i;
@@ -2073,11 +2075,11 @@ function zc(t) {
2073
2075
  id: e,
2074
2076
  observer: s,
2075
2077
  elements: r
2076
- }, tr.set(e, n);
2078
+ }, er.set(e, n);
2077
2079
  }
2078
2080
  return n;
2079
2081
  }
2080
- function Wc(t, e, n = {}, r = jc) {
2082
+ function Wc(t, e, n = {}, r = Nc) {
2081
2083
  if (typeof window.IntersectionObserver > "u" && r !== void 0) {
2082
2084
  const l = t.getBoundingClientRect();
2083
2085
  return e(r, {
@@ -2093,7 +2095,7 @@ function Wc(t, e, n = {}, r = jc) {
2093
2095
  }
2094
2096
  const { id: i, observer: s, elements: o } = zc(n), a = o.get(t) || [];
2095
2097
  return o.has(t) || o.set(t, a), a.push(e), s.observe(t), function() {
2096
- a.splice(a.indexOf(e), 1), a.length === 0 && (o.delete(t), s.unobserve(t)), o.size === 0 && (s.disconnect(), tr.delete(i));
2098
+ a.splice(a.indexOf(e), 1), a.length === 0 && (o.delete(t), s.unobserve(t)), o.size === 0 && (s.disconnect(), er.delete(i));
2097
2099
  };
2098
2100
  }
2099
2101
  function qc({
@@ -2162,8 +2164,8 @@ function qc({
2162
2164
  const w = [f, p.inView, p.entry];
2163
2165
  return w.ref = w[0], w.inView = w[1], w.entry = w[2], w;
2164
2166
  }
2165
- var Gc = { keyNumberPaddingBottom: "var(--_177g97f0)" }, cm = { display: "flex", flexDirection: "column" }, Hc = "_177g97f1";
2166
- const um = ({
2167
+ var Gc = { keyNumberPaddingBottom: "var(--_177g97f0)" }, um = { display: "flex", flexDirection: "column" }, Hc = "_177g97f1";
2168
+ const dm = ({
2167
2169
  label: t,
2168
2170
  suffix: e,
2169
2171
  keyNumber: n,
@@ -2191,8 +2193,8 @@ const um = ({
2191
2193
  }
2192
2194
  );
2193
2195
  };
2194
- var vi = { videoFullWidthLeft: "var(--_29n9il0)", videoFullWidthRight: "var(--_29n9il1)" }, dm = { height: 0, width: "100vw", overflow: "hidden", position: "relative", paddingBottom: "56.25%", left: "var(--_29n9il0)", right: "var(--_29n9il1)" };
2195
- const fm = ({
2196
+ var bi = { videoFullWidthLeft: "var(--_29n9il0)", videoFullWidthRight: "var(--_29n9il1)" }, fm = { height: 0, width: "100vw", overflow: "hidden", position: "relative", paddingBottom: "56.25%", left: "var(--_29n9il0)", right: "var(--_29n9il1)" };
2197
+ const hm = ({
2196
2198
  video: t,
2197
2199
  poster: e,
2198
2200
  className: n,
@@ -2209,8 +2211,8 @@ const fm = ({
2209
2211
  {
2210
2212
  className: n,
2211
2213
  style: F({
2212
- [vi.videoFullWidthLeft]: `min(calc((100vw - ${l}px) / -2), -${c[a]}px)`,
2213
- [vi.videoFullWidthRight]: `min(calc((100vw - ${l}px) / -2), -${u[a]}px)`
2214
+ [bi.videoFullWidthLeft]: `min(calc((100vw - ${l}px) / -2), -${c[a]}px)`,
2215
+ [bi.videoFullWidthRight]: `min(calc((100vw - ${l}px) / -2), -${u[a]}px)`
2214
2216
  }),
2215
2217
  children: /* @__PURE__ */ A(
2216
2218
  kc,
@@ -2227,8 +2229,8 @@ const fm = ({
2227
2229
  }
2228
2230
  );
2229
2231
  };
2230
- var Kc = { languageSwitcherWidth: "var(--_9kkynw0)" }, hm = { marginLeft: "auto", marginRight: "auto", position: "relative", width: "var(--_9kkynw0)" }, Yc = "_9kkynw1", Xc = "_9kkynw2";
2231
- const pm = ({
2232
+ var Kc = { languageSwitcherWidth: "var(--_9kkynw0)" }, pm = { marginLeft: "auto", marginRight: "auto", position: "relative", width: "var(--_9kkynw0)" }, Yc = "_9kkynw1", Xc = "_9kkynw2";
2233
+ const mm = ({
2232
2234
  currentLocale: t,
2233
2235
  handleChange: e,
2234
2236
  locales: n,
@@ -2260,15 +2262,15 @@ const pm = ({
2260
2262
  }
2261
2263
  );
2262
2264
  };
2263
- var Zc = "var(--_1wp326d0)", Jc = "var(--_1wp326d1)", mm = { 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)" } } };
2264
- const gm = ({ children: t, className: e, theme: n = B }) => {
2265
+ var Zc = "var(--_1wp326d0)", Jc = "var(--_1wp326d1)", gm = { 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)" } } };
2266
+ const ym = ({ children: t, className: e, theme: n = B }) => {
2265
2267
  const { main: { backgroundColor: r, minHeight: i } } = n;
2266
2268
  return /* @__PURE__ */ A("main", { className: e, style: F({
2267
2269
  [Zc]: i,
2268
2270
  [Jc]: r
2269
2271
  }), children: t });
2270
2272
  };
2271
- var bi = { overlayBottom: "var(--xr8l1e0)", overlayTransform: "var(--xr8l1e1)" }, Qc = "xr8l1e2";
2273
+ var xi = { overlayBottom: "var(--xr8l1e0)", overlayTransform: "var(--xr8l1e1)" }, Qc = "xr8l1e2";
2272
2274
  const tu = ({
2273
2275
  theme: t = B,
2274
2276
  isOpen: e = !1,
@@ -2282,13 +2284,13 @@ const tu = ({
2282
2284
  {
2283
2285
  className: `${Qc} ${r}`,
2284
2286
  style: F({
2285
- [bi.overlayBottom]: e ? "-100vh" : "100%",
2286
- [bi.overlayTransform]: e ? "translate(0, 0)" : "translate(0, -100%)"
2287
+ [xi.overlayBottom]: e ? "-100vh" : "100%",
2288
+ [xi.overlayTransform]: e ? "translate(0, 0)" : "translate(0, -100%)"
2287
2289
  }),
2288
2290
  children: n
2289
2291
  }
2290
2292
  ));
2291
- var eu = { displayOnDesktop: "var(--_1c0ak730)" }, nu = "_1c0ak731", xi = "_1c0ak732";
2293
+ var eu = { displayOnDesktop: "var(--_1c0ak730)" }, nu = "_1c0ak731", wi = "_1c0ak732";
2292
2294
  const ru = ({
2293
2295
  theme: t = B,
2294
2296
  isNavOpen: e = !1,
@@ -2309,14 +2311,14 @@ const ru = ({
2309
2311
  onClick: s,
2310
2312
  "aria-label": "Toggle nav",
2311
2313
  children: [
2312
- /* @__PURE__ */ A("span", { className: xi, "data-open": e ? "true" : "false" }),
2313
- /* @__PURE__ */ A("span", { className: xi, "data-open": e ? "true" : "false" })
2314
+ /* @__PURE__ */ A("span", { className: wi, "data-open": e ? "true" : "false" }),
2315
+ /* @__PURE__ */ A("span", { className: wi, "data-open": e ? "true" : "false" })
2314
2316
  ]
2315
2317
  }
2316
2318
  );
2317
2319
  };
2318
- var iu = { isFixed: "var(--_15wg1hu0)" }, ym = { zIndex: 30, width: "100%", display: "flex", alignItems: "center", justifyContent: "space-between", position: "var(--_15wg1hu0)", backgroundColor: "var(--header-bg, white)" }, su = "_15wg1hu1", ou = "_15wg1hu2";
2319
- const vm = ({
2320
+ var iu = { isFixed: "var(--_15wg1hu0)" }, vm = { zIndex: 30, width: "100%", display: "flex", alignItems: "center", justifyContent: "space-between", position: "var(--_15wg1hu0)", backgroundColor: "var(--header-bg, white)" }, su = "_15wg1hu1", ou = "_15wg1hu2";
2321
+ const bm = ({
2320
2322
  children: t,
2321
2323
  isFixed: e = !1,
2322
2324
  childrenOverlay: n,
@@ -2326,7 +2328,7 @@ const vm = ({
2326
2328
  className: o
2327
2329
  }) => {
2328
2330
  const [a, l] = _t(!1);
2329
- return /* @__PURE__ */ ht(Zl, { children: [
2331
+ return /* @__PURE__ */ ht(Jl, { children: [
2330
2332
  /* @__PURE__ */ ht(
2331
2333
  "header",
2332
2334
  {
@@ -2353,8 +2355,8 @@ const vm = ({
2353
2355
  e && /* @__PURE__ */ A("div", { className: ou })
2354
2356
  ] });
2355
2357
  };
2356
- var te = { footerGap: "var(--fl7h880)", footerBackgroundColor: "var(--fl7h881)", footerPaddingTop: "var(--fl7h882)", footerPaddingBottom: "var(--fl7h883)", footerPaddingLeft: "var(--fl7h884)", footerPaddingRight: "var(--fl7h885)" }, bm = { zIndex: 20, display: "flex", fontSize: "0.8em", alignItems: "center", flexDirection: "column", justifyContent: "space-between", gap: "var(--fl7h880)", backgroundColor: "var(--fl7h881)", paddingTop: "var(--fl7h882)", paddingBottom: "var(--fl7h883)", paddingLeft: "var(--fl7h884)", paddingRight: "var(--fl7h885)" };
2357
- const xm = ({ children: t, className: e, theme: n = B }) => {
2358
+ var te = { footerGap: "var(--fl7h880)", footerBackgroundColor: "var(--fl7h881)", footerPaddingTop: "var(--fl7h882)", footerPaddingBottom: "var(--fl7h883)", footerPaddingLeft: "var(--fl7h884)", footerPaddingRight: "var(--fl7h885)" }, xm = { zIndex: 20, display: "flex", fontSize: "0.8em", alignItems: "center", flexDirection: "column", justifyContent: "space-between", gap: "var(--fl7h880)", backgroundColor: "var(--fl7h881)", paddingTop: "var(--fl7h882)", paddingBottom: "var(--fl7h883)", paddingLeft: "var(--fl7h884)", paddingRight: "var(--fl7h885)" };
2359
+ const wm = ({ children: t, className: e, theme: n = B }) => {
2358
2360
  const r = St(), {
2359
2361
  global: { paddingLeft: i, paddingRight: s },
2360
2362
  footer: { gap: o, backgroundColor: a, paddingTop: l, paddingBottom: c }
@@ -2368,8 +2370,8 @@ const xm = ({ children: t, className: e, theme: n = B }) => {
2368
2370
  [te.footerPaddingRight]: `${s[r]}px`
2369
2371
  }), children: t });
2370
2372
  };
2371
- var ee = { columnsGap: "var(--mx2tfy0)", columnsTextAlign: "var(--mx2tfy1)", columnsJustifyContent: "var(--mx2tfy2)", isCentered: "var(--mx2tfy3)", isInverted: "var(--mx2tfy4)", column0: "var(--mx2tfy5)", column1: "var(--mx2tfy6)", column2: "var(--mx2tfy7)", column3: "var(--mx2tfy8)" }, wm = {}, Ce = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(Ce || {});
2372
- const Sm = ({
2373
+ var ee = { columnsGap: "var(--mx2tfy0)", columnsTextAlign: "var(--mx2tfy1)", columnsJustifyContent: "var(--mx2tfy2)", isCentered: "var(--mx2tfy3)", isInverted: "var(--mx2tfy4)", column0: "var(--mx2tfy5)", column1: "var(--mx2tfy6)", column2: "var(--mx2tfy7)", column3: "var(--mx2tfy8)" }, Sm = {}, Ce = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(Ce || {});
2374
+ const Tm = ({
2373
2375
  columns: t,
2374
2376
  children: e,
2375
2377
  align: n = Ce.Left,
@@ -2394,29 +2396,29 @@ const Sm = ({
2394
2396
  children: e
2395
2397
  }
2396
2398
  );
2397
- }, eo = pe({});
2398
- function no(t) {
2399
+ }, no = pe({});
2400
+ function ro(t) {
2399
2401
  const e = le(null);
2400
2402
  return e.current === null && (e.current = t()), e.current;
2401
2403
  }
2402
- const wr = /* @__PURE__ */ pe(null), ro = pe({
2404
+ const Sr = /* @__PURE__ */ pe(null), io = pe({
2403
2405
  transformPagePoint: (t) => t,
2404
2406
  isStatic: !1,
2405
2407
  reducedMotion: "never"
2406
2408
  });
2407
2409
  function au(t = !0) {
2408
- const e = rt(wr);
2410
+ const e = rt(Sr);
2409
2411
  if (e === null)
2410
2412
  return [!0, null];
2411
- const { isPresent: n, onExitComplete: r, register: i } = e, s = Ha();
2413
+ const { isPresent: n, onExitComplete: r, register: i } = e, s = Ka();
2412
2414
  wt(() => {
2413
2415
  if (t)
2414
2416
  return i(s);
2415
2417
  }, [t]);
2416
- const o = Is(() => t && r && r(s), [s, r, t]);
2418
+ const o = Ns(() => t && r && r(s), [s, r, t]);
2417
2419
  return !n && r ? [!1, o] : [!0];
2418
2420
  }
2419
- const Sr = typeof window < "u", io = Sr ? Ka : wt, ct = /* @__NO_SIDE_EFFECTS__ */ (t) => t;
2421
+ const Tr = typeof window < "u", so = Tr ? Ya : wt, ct = /* @__NO_SIDE_EFFECTS__ */ (t) => t;
2420
2422
  let ge = ct, Mt = ct;
2421
2423
  process.env.NODE_ENV !== "production" && (ge = (t, e) => {
2422
2424
  !t && typeof console < "u" && console.warn(e);
@@ -2425,7 +2427,7 @@ process.env.NODE_ENV !== "production" && (ge = (t, e) => {
2425
2427
  throw new Error(e);
2426
2428
  });
2427
2429
  // @__NO_SIDE_EFFECTS__
2428
- function Tr(t) {
2430
+ function Cr(t) {
2429
2431
  let e;
2430
2432
  return () => (e === void 0 && (e = t()), e);
2431
2433
  }
@@ -2488,7 +2490,7 @@ function cu(t, e) {
2488
2490
  return c;
2489
2491
  }
2490
2492
  const uu = 40;
2491
- function so(t, e) {
2493
+ function oo(t, e) {
2492
2494
  let n = !1, r = !0;
2493
2495
  const i = {
2494
2496
  delta: 0,
@@ -2508,7 +2510,7 @@ function so(t, e) {
2508
2510
  o[Xe[w]].cancel(v);
2509
2511
  }, state: i, steps: o };
2510
2512
  }
2511
- const { schedule: j, cancel: Ut, state: H, steps: On } = so(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ct, !0), oo = pe({ strict: !1 }), wi = {
2513
+ const { schedule: N, cancel: Ut, state: H, steps: Fn } = oo(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ct, !0), ao = pe({ strict: !1 }), Si = {
2512
2514
  animation: [
2513
2515
  "animate",
2514
2516
  "variants",
@@ -2528,9 +2530,9 @@ const { schedule: j, cancel: Ut, state: H, steps: On } = so(typeof requestAnimat
2528
2530
  inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
2529
2531
  layout: ["layout", "layoutId"]
2530
2532
  }, fe = {};
2531
- for (const t in wi)
2533
+ for (const t in Si)
2532
2534
  fe[t] = {
2533
- isEnabled: (e) => wi[t].some((n) => !!e[n])
2535
+ isEnabled: (e) => Si[t].some((n) => !!e[n])
2534
2536
  };
2535
2537
  function du(t) {
2536
2538
  for (const e in t)
@@ -2574,9 +2576,9 @@ const fu = /* @__PURE__ */ new Set([
2574
2576
  function pn(t) {
2575
2577
  return t.startsWith("while") || t.startsWith("drag") && t !== "draggable" || t.startsWith("layout") || t.startsWith("onTap") || t.startsWith("onPan") || t.startsWith("onLayout") || fu.has(t);
2576
2578
  }
2577
- let ao = (t) => !pn(t);
2579
+ let lo = (t) => !pn(t);
2578
2580
  function hu(t) {
2579
- t && (ao = (e) => e.startsWith("on") ? !pn(e) : t(e));
2581
+ t && (lo = (e) => e.startsWith("on") ? !pn(e) : t(e));
2580
2582
  }
2581
2583
  try {
2582
2584
  hu(require("@emotion/is-prop-valid").default);
@@ -2585,13 +2587,13 @@ try {
2585
2587
  function pu(t, e, n) {
2586
2588
  const r = {};
2587
2589
  for (const i in t)
2588
- i === "values" && typeof t.values == "object" || (ao(i) || n === !0 && pn(i) || !e && !pn(i) || // If trying to use native HTML drag events, forward drag listeners
2590
+ i === "values" && typeof t.values == "object" || (lo(i) || n === !0 && pn(i) || !e && !pn(i) || // If trying to use native HTML drag events, forward drag listeners
2589
2591
  t.draggable && i.startsWith("onDrag")) && (r[i] = t[i]);
2590
2592
  return r;
2591
2593
  }
2592
- const Si = /* @__PURE__ */ new Set();
2594
+ const Ti = /* @__PURE__ */ new Set();
2593
2595
  function Pn(t, e, n) {
2594
- t || Si.has(e) || (console.warn(e), Si.add(e));
2596
+ t || Ti.has(e) || (console.warn(e), Ti.add(e));
2595
2597
  }
2596
2598
  function mu(t) {
2597
2599
  if (typeof Proxy > "u")
@@ -2613,7 +2615,7 @@ function Vn(t) {
2613
2615
  function $e(t) {
2614
2616
  return typeof t == "string" || Array.isArray(t);
2615
2617
  }
2616
- const Cr = [
2618
+ const Pr = [
2617
2619
  "animate",
2618
2620
  "whileInView",
2619
2621
  "whileFocus",
@@ -2621,11 +2623,11 @@ const Cr = [
2621
2623
  "whileTap",
2622
2624
  "whileDrag",
2623
2625
  "exit"
2624
- ], Pr = ["initial", ...Cr];
2626
+ ], Ar = ["initial", ...Pr];
2625
2627
  function Rn(t) {
2626
- return Vn(t.animate) || Pr.some((e) => $e(t[e]));
2628
+ return Vn(t.animate) || Ar.some((e) => $e(t[e]));
2627
2629
  }
2628
- function lo(t) {
2630
+ function co(t) {
2629
2631
  return !!(Rn(t) || t.variants);
2630
2632
  }
2631
2633
  function gu(t, e) {
@@ -2640,9 +2642,9 @@ function gu(t, e) {
2640
2642
  }
2641
2643
  function yu(t) {
2642
2644
  const { initial: e, animate: n } = gu(t, rt(An));
2643
- return xn(() => ({ initial: e, animate: n }), [Ti(e), Ti(n)]);
2645
+ return xn(() => ({ initial: e, animate: n }), [Ci(e), Ci(n)]);
2644
2646
  }
2645
- function Ti(t) {
2647
+ function Ci(t) {
2646
2648
  return Array.isArray(t) ? t.join(" ") : t;
2647
2649
  }
2648
2650
  const vu = Symbol.for("motionComponentSymbol");
@@ -2650,7 +2652,7 @@ function ne(t) {
2650
2652
  return t && typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current");
2651
2653
  }
2652
2654
  function bu(t, e, n) {
2653
- return Is(
2655
+ return Ns(
2654
2656
  (r) => {
2655
2657
  r && t.onMount && t.onMount(r), e && (r ? e.mount(r) : e.unmount()), n && (typeof n == "function" ? n(r) : ne(n) && (n.current = r));
2656
2658
  },
@@ -2662,10 +2664,10 @@ function bu(t, e, n) {
2662
2664
  [e]
2663
2665
  );
2664
2666
  }
2665
- const Ar = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), xu = "framerAppearId", co = "data-" + Ar(xu), { schedule: Vr, cancel: Tm } = so(queueMicrotask, !1), uo = pe({});
2667
+ const Vr = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), xu = "framerAppearId", uo = "data-" + Vr(xu), { schedule: Rr, cancel: Cm } = oo(queueMicrotask, !1), fo = pe({});
2666
2668
  function wu(t, e, n, r, i) {
2667
2669
  var s, o;
2668
- const { visualElement: a } = rt(An), l = rt(oo), c = rt(wr), u = rt(ro).reducedMotion, d = le(null);
2670
+ const { visualElement: a } = rt(An), l = rt(ao), c = rt(Sr), u = rt(io).reducedMotion, d = le(null);
2669
2671
  r = r || l.renderer, !d.current && r && (d.current = r(t, {
2670
2672
  visualState: e,
2671
2673
  parent: a,
@@ -2674,15 +2676,15 @@ function wu(t, e, n, r, i) {
2674
2676
  blockInitialAnimation: c ? c.initial === !1 : !1,
2675
2677
  reducedMotionConfig: u
2676
2678
  }));
2677
- const f = d.current, h = rt(uo);
2679
+ const f = d.current, h = rt(fo);
2678
2680
  f && !f.projection && i && (f.type === "html" || f.type === "svg") && Su(d.current, n, i, h);
2679
2681
  const p = le(!1);
2680
- Ya(() => {
2682
+ Xa(() => {
2681
2683
  f && p.current && f.update(n, c);
2682
2684
  });
2683
- const g = n[co], x = le(!!g && !(!((s = window.MotionHandoffIsComplete) === null || s === void 0) && s.call(window, g)) && ((o = window.MotionHasOptimisedAnimation) === null || o === void 0 ? void 0 : o.call(window, g)));
2684
- return io(() => {
2685
- f && (p.current = !0, window.MotionIsMounted = !0, f.updateFeatures(), Vr.render(f.render), x.current && f.animationState && f.animationState.animateChanges());
2685
+ const g = n[uo], x = le(!!g && !(!((s = window.MotionHandoffIsComplete) === null || s === void 0) && s.call(window, g)) && ((o = window.MotionHasOptimisedAnimation) === null || o === void 0 ? void 0 : o.call(window, g)));
2686
+ return so(() => {
2687
+ f && (p.current = !0, window.MotionIsMounted = !0, f.updateFeatures(), Rr.render(f.render), x.current && f.animationState && f.animationState.animateChanges());
2686
2688
  }), wt(() => {
2687
2689
  f && (!x.current && f.animationState && f.animationState.animateChanges(), x.current && (queueMicrotask(() => {
2688
2690
  var v;
@@ -2692,7 +2694,7 @@ function wu(t, e, n, r, i) {
2692
2694
  }
2693
2695
  function Su(t, e, n, r) {
2694
2696
  const { layoutId: i, layout: s, drag: o, dragConstraints: a, layoutScroll: l, layoutRoot: c } = e;
2695
- t.projection = new n(t.latestValues, e["data-framer-portal-id"] ? void 0 : fo(t.parent)), t.projection.setOptions({
2697
+ t.projection = new n(t.latestValues, e["data-framer-portal-id"] ? void 0 : ho(t.parent)), t.projection.setOptions({
2696
2698
  layoutId: i,
2697
2699
  layout: s,
2698
2700
  alwaysMeasureLayout: !!o || a && ne(a),
@@ -2710,9 +2712,9 @@ function Su(t, e, n, r) {
2710
2712
  layoutRoot: c
2711
2713
  });
2712
2714
  }
2713
- function fo(t) {
2715
+ function ho(t) {
2714
2716
  if (t)
2715
- return t.options.allowProjection !== !1 ? t.projection : fo(t.parent);
2717
+ return t.options.allowProjection !== !1 ? t.projection : ho(t.parent);
2716
2718
  }
2717
2719
  function Tu({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVisualState: r, Component: i }) {
2718
2720
  var s, o;
@@ -2720,27 +2722,27 @@ function Tu({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVis
2720
2722
  function a(c, u) {
2721
2723
  let d;
2722
2724
  const f = {
2723
- ...rt(ro),
2725
+ ...rt(io),
2724
2726
  ...c,
2725
2727
  layoutId: Cu(c)
2726
2728
  }, { isStatic: h } = f, p = yu(c), g = r(c, h);
2727
- if (!h && Sr) {
2729
+ if (!h && Tr) {
2728
2730
  Pu(f, t);
2729
2731
  const x = Au(f);
2730
2732
  d = x.MeasureLayout, p.visualElement = wu(i, g, f, e, x.ProjectionNode);
2731
2733
  }
2732
- return qa(An.Provider, { value: p, children: [d && p.visualElement ? Fs(d, { visualElement: p.visualElement, ...f }) : null, n(i, c, bu(g, p.visualElement, u), g, h, p.visualElement)] });
2734
+ return Ga(An.Provider, { value: p, children: [d && p.visualElement ? Bs(d, { visualElement: p.visualElement, ...f }) : null, n(i, c, bu(g, p.visualElement, u), g, h, p.visualElement)] });
2733
2735
  }
2734
2736
  a.displayName = `motion.${typeof i == "string" ? i : `create(${(o = (s = i.displayName) !== null && s !== void 0 ? s : i.name) !== null && o !== void 0 ? o : ""})`}`;
2735
- const l = Bs(a);
2737
+ const l = Is(a);
2736
2738
  return l[vu] = i, l;
2737
2739
  }
2738
2740
  function Cu({ layoutId: t }) {
2739
- const e = rt(eo).id;
2741
+ const e = rt(no).id;
2740
2742
  return e && t !== void 0 ? e + "-" + t : t;
2741
2743
  }
2742
2744
  function Pu(t, e) {
2743
- const n = rt(oo).strict;
2745
+ const n = rt(ao).strict;
2744
2746
  if (process.env.NODE_ENV !== "production" && e && n) {
2745
2747
  const r = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
2746
2748
  t.ignoreStrict ? ge(!1, r) : Mt(!1, r);
@@ -2756,10 +2758,10 @@ function Au(t) {
2756
2758
  ProjectionNode: r.ProjectionNode
2757
2759
  };
2758
2760
  }
2759
- const ho = (t) => (e) => typeof e == "string" && e.startsWith(t), Rr = /* @__PURE__ */ ho("--"), Vu = /* @__PURE__ */ ho("var(--"), Er = (t) => Vu(t) ? Ru.test(t.split("/*")[0].trim()) : !1, Ru = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, Oe = {};
2761
+ const po = (t) => (e) => typeof e == "string" && e.startsWith(t), Er = /* @__PURE__ */ po("--"), Vu = /* @__PURE__ */ po("var(--"), Mr = (t) => Vu(t) ? Ru.test(t.split("/*")[0].trim()) : !1, Ru = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, Oe = {};
2760
2762
  function Eu(t) {
2761
2763
  for (const e in t)
2762
- Oe[e] = t[e], Rr(e) && (Oe[e].isCSSVariable = !0);
2764
+ Oe[e] = t[e], Er(e) && (Oe[e].isCSSVariable = !0);
2763
2765
  }
2764
2766
  const ye = [
2765
2767
  "transformPerspective",
@@ -2780,10 +2782,10 @@ const ye = [
2780
2782
  "skewX",
2781
2783
  "skewY"
2782
2784
  ], Qt = new Set(ye);
2783
- function po(t, { layout: e, layoutId: n }) {
2785
+ function mo(t, { layout: e, layoutId: n }) {
2784
2786
  return Qt.has(t) || t.startsWith("origin") || (e || n !== void 0) && (!!Oe[t] || t === "opacity");
2785
2787
  }
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
+ const J = (t) => !!(t && t.getVelocity), go = (t, e) => e && typeof t == "number" ? e.transform(t) : t, Lt = (t, e, n) => n > e ? e : n < t ? t : n, ve = {
2787
2789
  test: (t) => typeof t == "number",
2788
2790
  parse: parseFloat,
2789
2791
  transform: (t) => t
@@ -2797,7 +2799,7 @@ const J = (t) => !!(t && t.getVelocity), mo = (t, e) => e && typeof t == "number
2797
2799
  test: (e) => typeof e == "string" && e.endsWith(t) && e.split(" ").length === 1,
2798
2800
  parse: parseFloat,
2799
2801
  transform: (e) => `${e}${t}`
2800
- }), Nt = /* @__PURE__ */ ze("deg"), Rt = /* @__PURE__ */ ze("%"), M = /* @__PURE__ */ ze("px"), Mu = /* @__PURE__ */ ze("vh"), ku = /* @__PURE__ */ ze("vw"), Ci = {
2802
+ }), jt = /* @__PURE__ */ ze("deg"), Rt = /* @__PURE__ */ ze("%"), M = /* @__PURE__ */ ze("px"), Mu = /* @__PURE__ */ ze("vh"), ku = /* @__PURE__ */ ze("vw"), Pi = {
2801
2803
  ...Rt,
2802
2804
  parse: (t) => Rt.parse(t) / 100,
2803
2805
  transform: (t) => Rt.transform(t * 100)
@@ -2838,17 +2840,17 @@ const J = (t) => !!(t && t.getVelocity), mo = (t, e) => e && typeof t == "number
2838
2840
  backgroundPositionX: M,
2839
2841
  backgroundPositionY: M
2840
2842
  }, _u = {
2841
- rotate: Nt,
2842
- rotateX: Nt,
2843
- rotateY: Nt,
2844
- rotateZ: Nt,
2843
+ rotate: jt,
2844
+ rotateX: jt,
2845
+ rotateY: jt,
2846
+ rotateZ: jt,
2845
2847
  scale: Ze,
2846
2848
  scaleX: Ze,
2847
2849
  scaleY: Ze,
2848
2850
  scaleZ: Ze,
2849
- skew: Nt,
2850
- skewX: Nt,
2851
- skewY: Nt,
2851
+ skew: jt,
2852
+ skewX: jt,
2853
+ skewY: jt,
2852
2854
  distance: M,
2853
2855
  translateX: M,
2854
2856
  translateY: M,
@@ -2859,21 +2861,21 @@ const J = (t) => !!(t && t.getVelocity), mo = (t, e) => e && typeof t == "number
2859
2861
  perspective: M,
2860
2862
  transformPerspective: M,
2861
2863
  opacity: Fe,
2862
- originX: Ci,
2863
- originY: Ci,
2864
+ originX: Pi,
2865
+ originY: Pi,
2864
2866
  originZ: M
2865
- }, Pi = {
2867
+ }, Ai = {
2866
2868
  ...ve,
2867
2869
  transform: Math.round
2868
- }, Mr = {
2870
+ }, kr = {
2869
2871
  ...Du,
2870
2872
  ..._u,
2871
- zIndex: Pi,
2873
+ zIndex: Ai,
2872
2874
  size: M,
2873
2875
  // SVG
2874
2876
  fillOpacity: Fe,
2875
2877
  strokeOpacity: Fe,
2876
- numOctaves: Pi
2878
+ numOctaves: Ai
2877
2879
  }, Lu = {
2878
2880
  x: "translateX",
2879
2881
  y: "translateY",
@@ -2888,7 +2890,7 @@ function Ou(t, e, n) {
2888
2890
  continue;
2889
2891
  let l = !0;
2890
2892
  if (typeof a == "number" ? l = a === (o.startsWith("scale") ? 1 : 0) : l = parseFloat(a) === 0, !l || n) {
2891
- const c = mo(a, Mr[o]);
2893
+ const c = go(a, kr[o]);
2892
2894
  if (!l) {
2893
2895
  i = !1;
2894
2896
  const u = Lu[o] || o;
@@ -2899,7 +2901,7 @@ function Ou(t, e, n) {
2899
2901
  }
2900
2902
  return r = r.trim(), n ? r = n(e, i ? "" : r) : i && (r = "none"), r;
2901
2903
  }
2902
- function kr(t, e, n) {
2904
+ function Dr(t, e, n) {
2903
2905
  const { style: r, vars: i, transformOrigin: s } = t;
2904
2906
  let o = !1, a = !1;
2905
2907
  for (const l in e) {
@@ -2907,11 +2909,11 @@ function kr(t, e, n) {
2907
2909
  if (Qt.has(l)) {
2908
2910
  o = !0;
2909
2911
  continue;
2910
- } else if (Rr(l)) {
2912
+ } else if (Er(l)) {
2911
2913
  i[l] = c;
2912
2914
  continue;
2913
2915
  } else {
2914
- const u = mo(c, Mr[l]);
2916
+ const u = go(c, kr[l]);
2915
2917
  l.startsWith("origin") ? (a = !0, s[l] = u) : r[l] = u;
2916
2918
  }
2917
2919
  }
@@ -2920,31 +2922,31 @@ function kr(t, e, n) {
2920
2922
  r.transformOrigin = `${l} ${c} ${u}`;
2921
2923
  }
2922
2924
  }
2923
- const Dr = () => ({
2925
+ const _r = () => ({
2924
2926
  style: {},
2925
2927
  transform: {},
2926
2928
  transformOrigin: {},
2927
2929
  vars: {}
2928
2930
  });
2929
- function go(t, e, n) {
2931
+ function yo(t, e, n) {
2930
2932
  for (const r in e)
2931
- !J(e[r]) && !po(r, n) && (t[r] = e[r]);
2933
+ !J(e[r]) && !mo(r, n) && (t[r] = e[r]);
2932
2934
  }
2933
2935
  function Fu({ transformTemplate: t }, e) {
2934
2936
  return xn(() => {
2935
- const n = Dr();
2936
- return kr(n, e, t), Object.assign({}, n.vars, n.style);
2937
+ const n = _r();
2938
+ return Dr(n, e, t), Object.assign({}, n.vars, n.style);
2937
2939
  }, [e]);
2938
2940
  }
2939
2941
  function Bu(t, e) {
2940
2942
  const n = t.style || {}, r = {};
2941
- return go(r, n, t), Object.assign(r, Fu(t, e)), r;
2943
+ return yo(r, n, t), Object.assign(r, Fu(t, e)), r;
2942
2944
  }
2943
2945
  function Iu(t, e) {
2944
2946
  const n = {}, r = Bu(t, e);
2945
2947
  return t.drag && t.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = t.drag === !0 ? "none" : `pan-${t.drag === "x" ? "y" : "x"}`), t.tabIndex === void 0 && (t.onTap || t.onTapStart || t.whileTap) && (n.tabIndex = 0), n.style = r, n;
2946
2948
  }
2947
- const ju = [
2949
+ const Nu = [
2948
2950
  "animate",
2949
2951
  "circle",
2950
2952
  "defs",
@@ -2971,7 +2973,7 @@ const ju = [
2971
2973
  "use",
2972
2974
  "view"
2973
2975
  ];
2974
- function _r(t) {
2976
+ function Lr(t) {
2975
2977
  return (
2976
2978
  /**
2977
2979
  * If it's not a string, it's a custom React component. Currently we only support
@@ -2984,14 +2986,14 @@ function _r(t) {
2984
2986
  /**
2985
2987
  * If it's in our list of lowercase SVG tags, it's an SVG component
2986
2988
  */
2987
- !!(ju.indexOf(t) > -1 || /**
2989
+ !!(Nu.indexOf(t) > -1 || /**
2988
2990
  * If it contains a capital letter, it's an SVG component
2989
2991
  */
2990
2992
  /[A-Z]/u.test(t))
2991
2993
  )
2992
2994
  );
2993
2995
  }
2994
- const Nu = {
2996
+ const ju = {
2995
2997
  offset: "stroke-dashoffset",
2996
2998
  array: "stroke-dasharray"
2997
2999
  }, Uu = {
@@ -3000,19 +3002,19 @@ const Nu = {
3000
3002
  };
3001
3003
  function zu(t, e, n = 1, r = 0, i = !0) {
3002
3004
  t.pathLength = 1;
3003
- const s = i ? Nu : Uu;
3005
+ const s = i ? ju : Uu;
3004
3006
  t[s.offset] = M.transform(-r);
3005
3007
  const o = M.transform(e), a = M.transform(n);
3006
3008
  t[s.array] = `${o} ${a}`;
3007
3009
  }
3008
- function Ai(t, e, n) {
3010
+ function Vi(t, e, n) {
3009
3011
  return typeof t == "string" ? t : M.transform(e + n * t);
3010
3012
  }
3011
3013
  function Wu(t, e, n) {
3012
- const r = Ai(e, t.x, t.width), i = Ai(n, t.y, t.height);
3014
+ const r = Vi(e, t.x, t.width), i = Vi(n, t.y, t.height);
3013
3015
  return `${r} ${i}`;
3014
3016
  }
3015
- function Lr(t, {
3017
+ function $r(t, {
3016
3018
  attrX: e,
3017
3019
  attrY: n,
3018
3020
  attrScale: r,
@@ -3024,7 +3026,7 @@ function Lr(t, {
3024
3026
  // This is object creation, which we try to avoid per-frame.
3025
3027
  ...c
3026
3028
  }, u, d) {
3027
- if (kr(t, c, d), u) {
3029
+ if (Dr(t, c, d), u) {
3028
3030
  t.style.viewBox && (t.attrs.viewBox = t.style.viewBox);
3029
3031
  return;
3030
3032
  }
@@ -3032,51 +3034,51 @@ function Lr(t, {
3032
3034
  const { attrs: f, style: h, dimensions: p } = t;
3033
3035
  f.transform && (p && (h.transform = f.transform), delete f.transform), p && (i !== void 0 || s !== void 0 || h.transform) && (h.transformOrigin = Wu(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 && zu(f, o, a, l, !1);
3034
3036
  }
3035
- const yo = () => ({
3036
- ...Dr(),
3037
+ const vo = () => ({
3038
+ ..._r(),
3037
3039
  attrs: {}
3038
- }), $r = (t) => typeof t == "string" && t.toLowerCase() === "svg";
3040
+ }), Or = (t) => typeof t == "string" && t.toLowerCase() === "svg";
3039
3041
  function qu(t, e, n, r) {
3040
3042
  const i = xn(() => {
3041
- const s = yo();
3042
- return Lr(s, e, $r(r), t.transformTemplate), {
3043
+ const s = vo();
3044
+ return $r(s, e, Or(r), t.transformTemplate), {
3043
3045
  ...s.attrs,
3044
3046
  style: { ...s.style }
3045
3047
  };
3046
3048
  }, [e]);
3047
3049
  if (t.style) {
3048
3050
  const s = {};
3049
- go(s, t.style, t), i.style = { ...s, ...i.style };
3051
+ yo(s, t.style, t), i.style = { ...s, ...i.style };
3050
3052
  }
3051
3053
  return i;
3052
3054
  }
3053
3055
  function Gu(t = !1) {
3054
3056
  return (n, r, i, { latestValues: s }, o) => {
3055
- const l = (_r(n) ? qu : Iu)(r, s, o, n), c = pu(r, typeof n == "string", t), u = n !== js ? { ...c, ...l, ref: i } : {}, { children: d } = r, f = xn(() => J(d) ? d.get() : d, [d]);
3056
- return Xa(n, {
3057
+ const l = (Lr(n) ? qu : Iu)(r, s, o, n), c = pu(r, typeof n == "string", t), u = n !== js ? { ...c, ...l, ref: i } : {}, { children: d } = r, f = xn(() => J(d) ? d.get() : d, [d]);
3058
+ return Za(n, {
3057
3059
  ...u,
3058
3060
  children: f
3059
3061
  });
3060
3062
  };
3061
3063
  }
3062
- function Vi(t) {
3064
+ function Ri(t) {
3063
3065
  const e = [{}, {}];
3064
3066
  return t == null || t.values.forEach((n, r) => {
3065
3067
  e[0][r] = n.get(), e[1][r] = n.getVelocity();
3066
3068
  }), e;
3067
3069
  }
3068
- function Or(t, e, n, r) {
3070
+ function Fr(t, e, n, r) {
3069
3071
  if (typeof e == "function") {
3070
- const [i, s] = Vi(r);
3072
+ const [i, s] = Ri(r);
3071
3073
  e = e(n !== void 0 ? n : t.custom, i, s);
3072
3074
  }
3073
3075
  if (typeof e == "string" && (e = t.variants && t.variants[e]), typeof e == "function") {
3074
- const [i, s] = Vi(r);
3076
+ const [i, s] = Ri(r);
3075
3077
  e = e(n !== void 0 ? n : t.custom, i, s);
3076
3078
  }
3077
3079
  return e;
3078
3080
  }
3079
- const er = (t) => Array.isArray(t), Hu = (t) => !!(t && typeof t == "object" && t.mix && t.toValue), Ku = (t) => er(t) ? t[t.length - 1] || 0 : t;
3081
+ const nr = (t) => Array.isArray(t), Hu = (t) => !!(t && typeof t == "object" && t.mix && t.toValue), Ku = (t) => nr(t) ? t[t.length - 1] || 0 : t;
3080
3082
  function an(t) {
3081
3083
  const e = J(t) ? t.get() : t;
3082
3084
  return Hu(e) ? e.toValue() : e;
@@ -3088,16 +3090,16 @@ function Yu({ scrapeMotionValuesFromProps: t, createRenderState: e, onUpdate: n
3088
3090
  };
3089
3091
  return n && (o.onMount = (a) => n({ props: r, current: a, ...o }), o.onUpdate = (a) => n(a)), o;
3090
3092
  }
3091
- const vo = (t) => (e, n) => {
3092
- const r = rt(An), i = rt(wr), s = () => Yu(t, e, r, i);
3093
- return n ? s() : no(s);
3093
+ const bo = (t) => (e, n) => {
3094
+ const r = rt(An), i = rt(Sr), s = () => Yu(t, e, r, i);
3095
+ return n ? s() : ro(s);
3094
3096
  };
3095
3097
  function Xu(t, e, n, r) {
3096
3098
  const i = {}, s = r(t, {});
3097
3099
  for (const f in s)
3098
3100
  i[f] = an(s[f]);
3099
3101
  let { initial: o, animate: a } = t;
3100
- const l = Rn(t), c = lo(t);
3102
+ const l = Rn(t), c = co(t);
3101
3103
  e && c && !l && t.inherit !== !1 && (o === void 0 && (o = e.initial), a === void 0 && (a = e.animate));
3102
3104
  let u = n ? n.initial === !1 : !1;
3103
3105
  u = u || o === !1;
@@ -3105,7 +3107,7 @@ function Xu(t, e, n, r) {
3105
3107
  if (d && typeof d != "boolean" && !Vn(d)) {
3106
3108
  const f = Array.isArray(d) ? d : [d];
3107
3109
  for (let h = 0; h < f.length; h++) {
3108
- const p = Or(t, f[h]);
3110
+ const p = Fr(t, f[h]);
3109
3111
  if (p) {
3110
3112
  const { transitionEnd: g, transition: x, ...v } = p;
3111
3113
  for (const w in v) {
@@ -3123,20 +3125,20 @@ function Xu(t, e, n, r) {
3123
3125
  }
3124
3126
  return i;
3125
3127
  }
3126
- function Fr(t, e, n) {
3128
+ function Br(t, e, n) {
3127
3129
  var r;
3128
3130
  const { style: i } = t, s = {};
3129
3131
  for (const o in i)
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
+ (J(i[o]) || e.style && J(e.style[o]) || mo(o, t) || ((r = n == null ? void 0 : n.getValue(o)) === null || r === void 0 ? void 0 : r.liveStyle) !== void 0) && (s[o] = i[o]);
3131
3133
  return s;
3132
3134
  }
3133
3135
  const Zu = {
3134
- useVisualState: vo({
3135
- scrapeMotionValuesFromProps: Fr,
3136
- createRenderState: Dr
3136
+ useVisualState: bo({
3137
+ scrapeMotionValuesFromProps: Br,
3138
+ createRenderState: _r
3137
3139
  })
3138
3140
  };
3139
- function bo(t, e) {
3141
+ function xo(t, e) {
3140
3142
  try {
3141
3143
  e.dimensions = typeof t.getBBox == "function" ? t.getBBox() : t.getBoundingClientRect();
3142
3144
  } catch {
@@ -3148,12 +3150,12 @@ function bo(t, e) {
3148
3150
  };
3149
3151
  }
3150
3152
  }
3151
- function xo(t, { style: e, vars: n }, r, i) {
3153
+ function wo(t, { style: e, vars: n }, r, i) {
3152
3154
  Object.assign(t.style, e, i && i.getProjectionStyles(r));
3153
3155
  for (const s in n)
3154
3156
  t.style.setProperty(s, n[s]);
3155
3157
  }
3156
- const wo = /* @__PURE__ */ new Set([
3158
+ const So = /* @__PURE__ */ new Set([
3157
3159
  "baseFrequency",
3158
3160
  "diffuseConstant",
3159
3161
  "kernelMatrix",
@@ -3178,13 +3180,13 @@ const wo = /* @__PURE__ */ new Set([
3178
3180
  "textLength",
3179
3181
  "lengthAdjust"
3180
3182
  ]);
3181
- function So(t, e, n, r) {
3182
- xo(t, e, void 0, r);
3183
+ function To(t, e, n, r) {
3184
+ wo(t, e, void 0, r);
3183
3185
  for (const i in e.attrs)
3184
- t.setAttribute(wo.has(i) ? i : Ar(i), e.attrs[i]);
3186
+ t.setAttribute(So.has(i) ? i : Vr(i), e.attrs[i]);
3185
3187
  }
3186
- function To(t, e, n) {
3187
- const r = Fr(t, e, n);
3188
+ function Co(t, e, n) {
3189
+ const r = Br(t, e, n);
3188
3190
  for (const i in t)
3189
3191
  if (J(t[i]) || J(e[i])) {
3190
3192
  const s = ye.indexOf(i) !== -1 ? "attr" + i.charAt(0).toUpperCase() + i.substring(1) : i;
@@ -3192,10 +3194,10 @@ function To(t, e, n) {
3192
3194
  }
3193
3195
  return r;
3194
3196
  }
3195
- const Ri = ["x", "y", "width", "height", "cx", "cy", "r"], Ju = {
3196
- useVisualState: vo({
3197
- scrapeMotionValuesFromProps: To,
3198
- createRenderState: yo,
3197
+ const Ei = ["x", "y", "width", "height", "cx", "cy", "r"], Ju = {
3198
+ useVisualState: bo({
3199
+ scrapeMotionValuesFromProps: Co,
3200
+ createRenderState: vo,
3199
3201
  onUpdate: ({ props: t, prevProps: e, current: n, renderState: r, latestValues: i }) => {
3200
3202
  if (!n)
3201
3203
  return;
@@ -3211,13 +3213,13 @@ const Ri = ["x", "y", "width", "height", "cx", "cy", "r"], Ju = {
3211
3213
  return;
3212
3214
  let o = !e;
3213
3215
  if (e)
3214
- for (let a = 0; a < Ri.length; a++) {
3215
- const l = Ri[a];
3216
+ for (let a = 0; a < Ei.length; a++) {
3217
+ const l = Ei[a];
3216
3218
  t[l] !== e[l] && (o = !0);
3217
3219
  }
3218
- o && j.read(() => {
3219
- bo(n, r), j.render(() => {
3220
- Lr(r, i, $r(n.tagName), t.transformTemplate), So(n, r);
3220
+ o && N.read(() => {
3221
+ xo(n, r), N.render(() => {
3222
+ $r(r, i, Or(n.tagName), t.transformTemplate), To(n, r);
3221
3223
  });
3222
3224
  });
3223
3225
  }
@@ -3226,7 +3228,7 @@ const Ri = ["x", "y", "width", "height", "cx", "cy", "r"], Ju = {
3226
3228
  function Qu(t, e) {
3227
3229
  return function(r, { forwardMotionProps: i } = { forwardMotionProps: !1 }) {
3228
3230
  const o = {
3229
- ..._r(r) ? Ju : Zu,
3231
+ ...Lr(r) ? Ju : Zu,
3230
3232
  preloadedFeatures: t,
3231
3233
  useRender: Gu(i),
3232
3234
  createVisualElement: e,
@@ -3237,9 +3239,9 @@ function Qu(t, e) {
3237
3239
  }
3238
3240
  function Be(t, e, n) {
3239
3241
  const r = t.getProps();
3240
- return Or(r, e, n !== void 0 ? n : r.custom, t);
3242
+ return Fr(r, e, n !== void 0 ? n : r.custom, t);
3241
3243
  }
3242
- const td = /* @__PURE__ */ Tr(() => window.ScrollTimeline !== void 0);
3244
+ const td = /* @__PURE__ */ Cr(() => window.ScrollTimeline !== void 0);
3243
3245
  class ed {
3244
3246
  constructor(e) {
3245
3247
  this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
@@ -3315,29 +3317,29 @@ class nd extends ed {
3315
3317
  return Promise.all(this.animations).then(e).catch(n);
3316
3318
  }
3317
3319
  }
3318
- function Br(t, e) {
3320
+ function Ir(t, e) {
3319
3321
  return t ? t[e] || t.default || t : void 0;
3320
3322
  }
3321
- const nr = 2e4;
3322
- function Co(t) {
3323
+ const rr = 2e4;
3324
+ function Po(t) {
3323
3325
  let e = 0;
3324
3326
  const n = 50;
3325
3327
  let r = t.next(e);
3326
- for (; !r.done && e < nr; )
3328
+ for (; !r.done && e < rr; )
3327
3329
  e += n, r = t.next(e);
3328
- return e >= nr ? 1 / 0 : e;
3330
+ return e >= rr ? 1 / 0 : e;
3329
3331
  }
3330
- function Ir(t) {
3332
+ function Nr(t) {
3331
3333
  return typeof t == "function";
3332
3334
  }
3333
- function Ei(t, e) {
3335
+ function Mi(t, e) {
3334
3336
  t.timeline = e, t.onfinish = null;
3335
3337
  }
3336
3338
  const jr = (t) => Array.isArray(t) && typeof t[0] == "number", rd = {
3337
3339
  linearEasing: void 0
3338
3340
  };
3339
3341
  function id(t, e) {
3340
- const n = /* @__PURE__ */ Tr(t);
3342
+ const n = /* @__PURE__ */ Cr(t);
3341
3343
  return () => {
3342
3344
  var r;
3343
3345
  return (r = rd[e]) !== null && r !== void 0 ? r : n();
@@ -3350,17 +3352,17 @@ const mn = /* @__PURE__ */ id(() => {
3350
3352
  return !1;
3351
3353
  }
3352
3354
  return !0;
3353
- }, "linearEasing"), Po = (t, e, n = 10) => {
3355
+ }, "linearEasing"), Ao = (t, e, n = 10) => {
3354
3356
  let r = "";
3355
3357
  const i = Math.max(Math.round(e / n), 2);
3356
3358
  for (let s = 0; s < i; s++)
3357
3359
  r += t(/* @__PURE__ */ de(0, i - 1, s)) + ", ";
3358
3360
  return `linear(${r.substring(0, r.length - 2)})`;
3359
3361
  };
3360
- function Ao(t) {
3361
- return !!(typeof t == "function" && mn() || !t || typeof t == "string" && (t in rr || mn()) || jr(t) || Array.isArray(t) && t.every(Ao));
3362
+ function Vo(t) {
3363
+ return !!(typeof t == "function" && mn() || !t || typeof t == "string" && (t in ir || mn()) || jr(t) || Array.isArray(t) && t.every(Vo));
3362
3364
  }
3363
- const Pe = ([t, e, n, r]) => `cubic-bezier(${t}, ${e}, ${n}, ${r})`, rr = {
3365
+ const Pe = ([t, e, n, r]) => `cubic-bezier(${t}, ${e}, ${n}, ${r})`, ir = {
3364
3366
  linear: "linear",
3365
3367
  ease: "ease",
3366
3368
  easeIn: "ease-in",
@@ -3371,18 +3373,18 @@ const Pe = ([t, e, n, r]) => `cubic-bezier(${t}, ${e}, ${n}, ${r})`, rr = {
3371
3373
  backIn: /* @__PURE__ */ Pe([0.31, 0.01, 0.66, -0.59]),
3372
3374
  backOut: /* @__PURE__ */ Pe([0.33, 1.53, 0.69, 0.99])
3373
3375
  };
3374
- function Vo(t, e) {
3376
+ function Ro(t, e) {
3375
3377
  if (t)
3376
- return typeof t == "function" && mn() ? Po(t, e) : jr(t) ? Pe(t) : Array.isArray(t) ? t.map((n) => Vo(n, e) || rr.easeOut) : rr[t];
3378
+ return typeof t == "function" && mn() ? Ao(t, e) : jr(t) ? Pe(t) : Array.isArray(t) ? t.map((n) => Ro(n, e) || ir.easeOut) : ir[t];
3377
3379
  }
3378
3380
  const xt = {
3379
3381
  x: !1,
3380
3382
  y: !1
3381
3383
  };
3382
- function Ro() {
3384
+ function Eo() {
3383
3385
  return xt.x || xt.y;
3384
3386
  }
3385
- function Eo(t, e, n) {
3387
+ function Mo(t, e, n) {
3386
3388
  var r;
3387
3389
  if (t instanceof EventTarget)
3388
3390
  return [t];
@@ -3393,26 +3395,26 @@ function Eo(t, e, n) {
3393
3395
  }
3394
3396
  return Array.from(t);
3395
3397
  }
3396
- function Mo(t, e) {
3397
- const n = Eo(t), r = new AbortController(), i = {
3398
+ function ko(t, e) {
3399
+ const n = Mo(t), r = new AbortController(), i = {
3398
3400
  passive: !0,
3399
3401
  ...e,
3400
3402
  signal: r.signal
3401
3403
  };
3402
3404
  return [n, i, () => r.abort()];
3403
3405
  }
3404
- function Mi(t) {
3405
- return !(t.pointerType === "touch" || Ro());
3406
+ function ki(t) {
3407
+ return !(t.pointerType === "touch" || Eo());
3406
3408
  }
3407
3409
  function sd(t, e, n = {}) {
3408
- const [r, i, s] = Mo(t, n), o = (a) => {
3409
- if (!Mi(a))
3410
+ const [r, i, s] = ko(t, n), o = (a) => {
3411
+ if (!ki(a))
3410
3412
  return;
3411
3413
  const { target: l } = a, c = e(l, a);
3412
3414
  if (typeof c != "function" || !l)
3413
3415
  return;
3414
3416
  const u = (d) => {
3415
- Mi(d) && (c(d), l.removeEventListener("pointerleave", u));
3417
+ ki(d) && (c(d), l.removeEventListener("pointerleave", u));
3416
3418
  };
3417
3419
  l.addEventListener("pointerleave", u, i);
3418
3420
  };
@@ -3428,7 +3430,7 @@ function gn(t, e) {
3428
3430
  } catch {
3429
3431
  }
3430
3432
  }
3431
- 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, od = /* @__PURE__ */ new Set([
3433
+ const Do = (t, e) => e ? t === e ? !0 : Do(t, e.parentElement) : !1, Ur = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1, od = /* @__PURE__ */ new Set([
3432
3434
  "BUTTON",
3433
3435
  "INPUT",
3434
3436
  "SELECT",
@@ -3439,47 +3441,47 @@ function ad(t) {
3439
3441
  return od.has(t.tagName) || t.tabIndex !== -1;
3440
3442
  }
3441
3443
  const Ae = /* @__PURE__ */ new WeakSet();
3442
- function ki(t) {
3444
+ function Di(t) {
3443
3445
  return (e) => {
3444
3446
  e.key === "Enter" && t(e);
3445
3447
  };
3446
3448
  }
3447
- function Fn(t, e) {
3449
+ function Bn(t, e) {
3448
3450
  t.dispatchEvent(new PointerEvent("pointer" + e, { isPrimary: !0, bubbles: !0 }));
3449
3451
  }
3450
3452
  const ld = (t, e) => {
3451
3453
  const n = t.currentTarget;
3452
3454
  if (!n)
3453
3455
  return;
3454
- const r = ki(() => {
3456
+ const r = Di(() => {
3455
3457
  if (Ae.has(n))
3456
3458
  return;
3457
- Fn(n, "down");
3458
- const i = ki(() => {
3459
- Fn(n, "up");
3460
- }), s = () => Fn(n, "cancel");
3459
+ Bn(n, "down");
3460
+ const i = Di(() => {
3461
+ Bn(n, "up");
3462
+ }), s = () => Bn(n, "cancel");
3461
3463
  n.addEventListener("keyup", i, e), n.addEventListener("blur", s, e);
3462
3464
  });
3463
3465
  n.addEventListener("keydown", r, e), n.addEventListener("blur", () => n.removeEventListener("keydown", r), e);
3464
3466
  };
3465
- function Di(t) {
3466
- return Nr(t) && !Ro();
3467
+ function _i(t) {
3468
+ return Ur(t) && !Eo();
3467
3469
  }
3468
3470
  function cd(t, e, n = {}) {
3469
- const [r, i, s] = Mo(t, n), o = (a) => {
3471
+ const [r, i, s] = ko(t, n), o = (a) => {
3470
3472
  const l = a.currentTarget;
3471
- if (!l || !Di(a) || Ae.has(l))
3473
+ if (!l || !_i(a) || Ae.has(l))
3472
3474
  return;
3473
3475
  Ae.add(l), gn(a, "set");
3474
3476
  const c = e(l, a), u = (h, p) => {
3475
- l.removeEventListener("pointerup", d), l.removeEventListener("pointercancel", f), gn(h, "release"), !(!Di(h) || !Ae.has(l)) && (Ae.delete(l), typeof c == "function" && c(h, { success: p }));
3477
+ l.removeEventListener("pointerup", d), l.removeEventListener("pointercancel", f), gn(h, "release"), !(!_i(h) || !Ae.has(l)) && (Ae.delete(l), typeof c == "function" && c(h, { success: p }));
3476
3478
  }, d = (h) => {
3477
3479
  (h.isTrusted ? ud(h, l instanceof Element ? l.getBoundingClientRect() : {
3478
3480
  left: 0,
3479
3481
  top: 0,
3480
3482
  right: window.innerWidth,
3481
3483
  bottom: window.innerHeight
3482
- }) : !1) ? u(h, !1) : u(h, !(l instanceof Element) || ko(l, h.target));
3484
+ }) : !1) ? u(h, !1) : u(h, !(l instanceof Element) || Do(l, h.target));
3483
3485
  }, f = (h) => {
3484
3486
  u(h, !1);
3485
3487
  };
@@ -3501,7 +3503,7 @@ function dd(t) {
3501
3503
  xt.x = xt.y = !1;
3502
3504
  });
3503
3505
  }
3504
- const Do = /* @__PURE__ */ new Set([
3506
+ const _o = /* @__PURE__ */ new Set([
3505
3507
  "width",
3506
3508
  "height",
3507
3509
  "top",
@@ -3520,19 +3522,19 @@ const Et = {
3520
3522
  ln = t, queueMicrotask(fd);
3521
3523
  }
3522
3524
  };
3523
- function Ur(t, e) {
3525
+ function zr(t, e) {
3524
3526
  t.indexOf(e) === -1 && t.push(e);
3525
3527
  }
3526
- function zr(t, e) {
3528
+ function Wr(t, e) {
3527
3529
  const n = t.indexOf(e);
3528
3530
  n > -1 && t.splice(n, 1);
3529
3531
  }
3530
- class Wr {
3532
+ class qr {
3531
3533
  constructor() {
3532
3534
  this.subscriptions = [];
3533
3535
  }
3534
3536
  add(e) {
3535
- return Ur(this.subscriptions, e), () => zr(this.subscriptions, e);
3537
+ return zr(this.subscriptions, e), () => Wr(this.subscriptions, e);
3536
3538
  }
3537
3539
  notify(e, n, r) {
3538
3540
  const i = this.subscriptions.length;
@@ -3552,10 +3554,10 @@ class Wr {
3552
3554
  this.subscriptions.length = 0;
3553
3555
  }
3554
3556
  }
3555
- function _o(t, e) {
3557
+ function Lo(t, e) {
3556
3558
  return e ? t * (1e3 / e) : 0;
3557
3559
  }
3558
- const _i = 30, hd = (t) => !isNaN(parseFloat(t));
3560
+ const Li = 30, hd = (t) => !isNaN(parseFloat(t));
3559
3561
  class pd {
3560
3562
  /**
3561
3563
  * @param init - The initiating value
@@ -3621,10 +3623,10 @@ class pd {
3621
3623
  return process.env.NODE_ENV !== "production" && Pn(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", e);
3622
3624
  }
3623
3625
  on(e, n) {
3624
- this.events[e] || (this.events[e] = new Wr());
3626
+ this.events[e] || (this.events[e] = new qr());
3625
3627
  const r = this.events[e].add(n);
3626
3628
  return e === "change" ? () => {
3627
- r(), j.read(() => {
3629
+ r(), N.read(() => {
3628
3630
  this.events.change.getSize() || this.stop();
3629
3631
  });
3630
3632
  } : r;
@@ -3694,10 +3696,10 @@ class pd {
3694
3696
  */
3695
3697
  getVelocity() {
3696
3698
  const e = Et.now();
3697
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > _i)
3699
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Li)
3698
3700
  return 0;
3699
- const n = Math.min(this.updatedAt - this.prevUpdatedAt, _i);
3700
- return _o(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
3701
+ const n = Math.min(this.updatedAt - this.prevUpdatedAt, Li);
3702
+ return Lo(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
3701
3703
  }
3702
3704
  /**
3703
3705
  * Registers a new animation to control this `MotionValue`. Only one
@@ -3756,7 +3758,7 @@ function Ie(t, e) {
3756
3758
  function md(t, e, n) {
3757
3759
  t.hasValue(e) ? t.getValue(e).set(n) : t.addValue(e, Ie(n));
3758
3760
  }
3759
- function qr(t, e) {
3761
+ function Gr(t, e) {
3760
3762
  const n = Be(t, e);
3761
3763
  let { transitionEnd: r = {}, transition: i = {}, ...s } = n || {};
3762
3764
  s = { ...s, ...r };
@@ -3768,19 +3770,19 @@ function qr(t, e) {
3768
3770
  function gd(t) {
3769
3771
  return !!(J(t) && t.add);
3770
3772
  }
3771
- function ir(t, e) {
3773
+ function sr(t, e) {
3772
3774
  const n = t.getValue("willChange");
3773
3775
  if (gd(n))
3774
3776
  return n.add(e);
3775
3777
  }
3776
- function Lo(t) {
3777
- return t.props[co];
3778
+ function $o(t) {
3779
+ return t.props[uo];
3778
3780
  }
3779
- const $o = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, yd = 1e-7, vd = 12;
3781
+ const Oo = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, yd = 1e-7, vd = 12;
3780
3782
  function bd(t, e, n, r, i) {
3781
3783
  let s, o, a = 0;
3782
3784
  do
3783
- o = e + (n - e) / 2, s = $o(o, r, i) - t, s > 0 ? n = o : e = o;
3785
+ o = e + (n - e) / 2, s = Oo(o, r, i) - t, s > 0 ? n = o : e = o;
3784
3786
  while (Math.abs(s) > yd && ++a < vd);
3785
3787
  return o;
3786
3788
  }
@@ -3788,33 +3790,33 @@ function We(t, e, n, r) {
3788
3790
  if (t === e && n === r)
3789
3791
  return ct;
3790
3792
  const i = (s) => bd(s, 0, 1, t, n);
3791
- return (s) => s === 0 || s === 1 ? s : $o(i(s), e, r);
3793
+ return (s) => s === 0 || s === 1 ? s : Oo(i(s), e, r);
3792
3794
  }
3793
- const Oo = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, Fo = (t) => (e) => 1 - t(1 - e), Bo = /* @__PURE__ */ We(0.33, 1.53, 0.69, 0.99), Gr = /* @__PURE__ */ Fo(Bo), Io = /* @__PURE__ */ Oo(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 = Fo(Hr), Uo = Oo(Hr), zo = (t) => /^0[^.\s]+$/u.test(t);
3795
+ const Fo = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, Bo = (t) => (e) => 1 - t(1 - e), Io = /* @__PURE__ */ We(0.33, 1.53, 0.69, 0.99), Hr = /* @__PURE__ */ Bo(Io), No = /* @__PURE__ */ Fo(Hr), jo = (t) => (t *= 2) < 1 ? 0.5 * Hr(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), Kr = (t) => 1 - Math.sin(Math.acos(t)), Uo = Bo(Kr), zo = Fo(Kr), Wo = (t) => /^0[^.\s]+$/u.test(t);
3794
3796
  function xd(t) {
3795
- return typeof t == "number" ? t === 0 : t !== null ? t === "none" || t === "0" || zo(t) : !0;
3797
+ return typeof t == "number" ? t === 0 : t !== null ? t === "none" || t === "0" || Wo(t) : !0;
3796
3798
  }
3797
- const Ve = (t) => Math.round(t * 1e5) / 1e5, Kr = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
3799
+ const Ve = (t) => Math.round(t * 1e5) / 1e5, Yr = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
3798
3800
  function wd(t) {
3799
3801
  return t == null;
3800
3802
  }
3801
- const Sd = /^(?:#[\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" && Sd.test(n) && n.startsWith(t) || e && !wd(n) && Object.prototype.hasOwnProperty.call(n, e)), Wo = (t, e, n) => (r) => {
3803
+ const Sd = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Xr = (t, e) => (n) => !!(typeof n == "string" && Sd.test(n) && n.startsWith(t) || e && !wd(n) && Object.prototype.hasOwnProperty.call(n, e)), qo = (t, e, n) => (r) => {
3802
3804
  if (typeof r != "string")
3803
3805
  return r;
3804
- const [i, s, o, a] = r.match(Kr);
3806
+ const [i, s, o, a] = r.match(Yr);
3805
3807
  return {
3806
3808
  [t]: parseFloat(i),
3807
3809
  [e]: parseFloat(s),
3808
3810
  [n]: parseFloat(o),
3809
3811
  alpha: a !== void 0 ? parseFloat(a) : 1
3810
3812
  };
3811
- }, Td = (t) => Lt(0, 255, t), Bn = {
3813
+ }, Td = (t) => Lt(0, 255, t), In = {
3812
3814
  ...ve,
3813
3815
  transform: (t) => Math.round(Td(t))
3814
3816
  }, Zt = {
3815
- test: /* @__PURE__ */ Yr("rgb", "red"),
3816
- parse: /* @__PURE__ */ Wo("red", "green", "blue"),
3817
- transform: ({ red: t, green: e, blue: n, alpha: r = 1 }) => "rgba(" + Bn.transform(t) + ", " + Bn.transform(e) + ", " + Bn.transform(n) + ", " + Ve(Fe.transform(r)) + ")"
3817
+ test: /* @__PURE__ */ Xr("rgb", "red"),
3818
+ parse: /* @__PURE__ */ qo("red", "green", "blue"),
3819
+ transform: ({ red: t, green: e, blue: n, alpha: r = 1 }) => "rgba(" + In.transform(t) + ", " + In.transform(e) + ", " + In.transform(n) + ", " + Ve(Fe.transform(r)) + ")"
3818
3820
  };
3819
3821
  function Cd(t) {
3820
3822
  let e = "", n = "", r = "", i = "";
@@ -3825,79 +3827,79 @@ function Cd(t) {
3825
3827
  alpha: i ? parseInt(i, 16) / 255 : 1
3826
3828
  };
3827
3829
  }
3828
- const sr = {
3829
- test: /* @__PURE__ */ Yr("#"),
3830
+ const or = {
3831
+ test: /* @__PURE__ */ Xr("#"),
3830
3832
  parse: Cd,
3831
3833
  transform: Zt.transform
3832
3834
  }, re = {
3833
- test: /* @__PURE__ */ Yr("hsl", "hue"),
3834
- parse: /* @__PURE__ */ Wo("hue", "saturation", "lightness"),
3835
+ test: /* @__PURE__ */ Xr("hsl", "hue"),
3836
+ parse: /* @__PURE__ */ qo("hue", "saturation", "lightness"),
3835
3837
  transform: ({ hue: t, saturation: e, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(t) + ", " + Rt.transform(Ve(e)) + ", " + Rt.transform(Ve(n)) + ", " + Ve(Fe.transform(r)) + ")"
3836
3838
  }, Z = {
3837
- test: (t) => Zt.test(t) || sr.test(t) || re.test(t),
3838
- parse: (t) => Zt.test(t) ? Zt.parse(t) : re.test(t) ? re.parse(t) : sr.parse(t),
3839
+ test: (t) => Zt.test(t) || or.test(t) || re.test(t),
3840
+ parse: (t) => Zt.test(t) ? Zt.parse(t) : re.test(t) ? re.parse(t) : or.parse(t),
3839
3841
  transform: (t) => typeof t == "string" ? t : t.hasOwnProperty("red") ? Zt.transform(t) : re.transform(t)
3840
3842
  }, Pd = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
3841
3843
  function Ad(t) {
3842
3844
  var e, n;
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
+ return isNaN(t) && typeof t == "string" && (((e = t.match(Yr)) === null || e === void 0 ? void 0 : e.length) || 0) + (((n = t.match(Pd)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
3844
3846
  }
3845
- const qo = "number", Go = "color", Vd = "var", Rd = "var(", Li = "${}", Ed = /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 je(t) {
3847
+ const Go = "number", Ho = "color", Vd = "var", Rd = "var(", $i = "${}", Ed = /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;
3848
+ function Ne(t) {
3847
3849
  const e = t.toString(), n = [], r = {
3848
3850
  color: [],
3849
3851
  number: [],
3850
3852
  var: []
3851
3853
  }, i = [];
3852
3854
  let s = 0;
3853
- const a = e.replace(Ed, (l) => (Z.test(l) ? (r.color.push(s), i.push(Go), n.push(Z.parse(l))) : l.startsWith(Rd) ? (r.var.push(s), i.push(Vd), n.push(l)) : (r.number.push(s), i.push(qo), n.push(parseFloat(l))), ++s, Li)).split(Li);
3855
+ const a = e.replace(Ed, (l) => (Z.test(l) ? (r.color.push(s), i.push(Ho), n.push(Z.parse(l))) : l.startsWith(Rd) ? (r.var.push(s), i.push(Vd), n.push(l)) : (r.number.push(s), i.push(Go), n.push(parseFloat(l))), ++s, $i)).split($i);
3854
3856
  return { values: n, split: a, indexes: r, types: i };
3855
3857
  }
3856
- function Ho(t) {
3857
- return je(t).values;
3858
- }
3859
3858
  function Ko(t) {
3860
- const { split: e, types: n } = je(t), r = e.length;
3859
+ return Ne(t).values;
3860
+ }
3861
+ function Yo(t) {
3862
+ const { split: e, types: n } = Ne(t), r = e.length;
3861
3863
  return (i) => {
3862
3864
  let s = "";
3863
3865
  for (let o = 0; o < r; o++)
3864
3866
  if (s += e[o], i[o] !== void 0) {
3865
3867
  const a = n[o];
3866
- a === qo ? s += Ve(i[o]) : a === Go ? s += Z.transform(i[o]) : s += i[o];
3868
+ a === Go ? s += Ve(i[o]) : a === Ho ? s += Z.transform(i[o]) : s += i[o];
3867
3869
  }
3868
3870
  return s;
3869
3871
  };
3870
3872
  }
3871
3873
  const Md = (t) => typeof t == "number" ? 0 : t;
3872
3874
  function kd(t) {
3873
- const e = Ho(t);
3874
- return Ko(t)(e.map(Md));
3875
+ const e = Ko(t);
3876
+ return Yo(t)(e.map(Md));
3875
3877
  }
3876
3878
  const zt = {
3877
3879
  test: Ad,
3878
- parse: Ho,
3879
- createTransformer: Ko,
3880
+ parse: Ko,
3881
+ createTransformer: Yo,
3880
3882
  getAnimatableNone: kd
3881
3883
  }, Dd = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
3882
3884
  function _d(t) {
3883
3885
  const [e, n] = t.slice(0, -1).split("(");
3884
3886
  if (e === "drop-shadow")
3885
3887
  return t;
3886
- const [r] = n.match(Kr) || [];
3888
+ const [r] = n.match(Yr) || [];
3887
3889
  if (!r)
3888
3890
  return t;
3889
3891
  const i = n.replace(r, "");
3890
3892
  let s = Dd.has(e) ? 1 : 0;
3891
3893
  return r !== n && (s *= 100), e + "(" + s + i + ")";
3892
3894
  }
3893
- const Ld = /\b([a-z-]*)\(.*?\)/gu, or = {
3895
+ const Ld = /\b([a-z-]*)\(.*?\)/gu, ar = {
3894
3896
  ...zt,
3895
3897
  getAnimatableNone: (t) => {
3896
3898
  const e = t.match(Ld);
3897
3899
  return e ? e.map(_d).join(" ") : t;
3898
3900
  }
3899
3901
  }, $d = {
3900
- ...Mr,
3902
+ ...kr,
3901
3903
  // Color props
3902
3904
  color: Z,
3903
3905
  backgroundColor: Z,
@@ -3910,36 +3912,36 @@ const Ld = /\b([a-z-]*)\(.*?\)/gu, or = {
3910
3912
  borderRightColor: Z,
3911
3913
  borderBottomColor: Z,
3912
3914
  borderLeftColor: Z,
3913
- filter: or,
3914
- WebkitFilter: or
3915
- }, Xr = (t) => $d[t];
3916
- function Yo(t, e) {
3917
- let n = Xr(t);
3918
- return n !== or && (n = zt), n.getAnimatableNone ? n.getAnimatableNone(e) : void 0;
3915
+ filter: ar,
3916
+ WebkitFilter: ar
3917
+ }, Zr = (t) => $d[t];
3918
+ function Xo(t, e) {
3919
+ let n = Zr(t);
3920
+ return n !== ar && (n = zt), n.getAnimatableNone ? n.getAnimatableNone(e) : void 0;
3919
3921
  }
3920
3922
  const Od = /* @__PURE__ */ new Set(["auto", "none", "0"]);
3921
3923
  function Fd(t, e, n) {
3922
3924
  let r = 0, i;
3923
3925
  for (; r < t.length && !i; ) {
3924
3926
  const s = t[r];
3925
- typeof s == "string" && !Od.has(s) && je(s).values.length && (i = t[r]), r++;
3927
+ typeof s == "string" && !Od.has(s) && Ne(s).values.length && (i = t[r]), r++;
3926
3928
  }
3927
3929
  if (i && n)
3928
3930
  for (const s of e)
3929
- t[s] = Yo(n, i);
3931
+ t[s] = Xo(n, i);
3930
3932
  }
3931
- const $i = (t) => t === ve || t === M, Oi = (t, e) => parseFloat(t.split(", ")[e]), Fi = (t, e) => (n, { transform: r }) => {
3933
+ const Oi = (t) => t === ve || t === M, Fi = (t, e) => parseFloat(t.split(", ")[e]), Bi = (t, e) => (n, { transform: r }) => {
3932
3934
  if (r === "none" || !r)
3933
3935
  return 0;
3934
3936
  const i = r.match(/^matrix3d\((.+)\)$/u);
3935
3937
  if (i)
3936
- return Oi(i[1], e);
3938
+ return Fi(i[1], e);
3937
3939
  {
3938
3940
  const s = r.match(/^matrix\((.+)\)$/u);
3939
- return s ? Oi(s[1], t) : 0;
3941
+ return s ? Fi(s[1], t) : 0;
3940
3942
  }
3941
3943
  }, Bd = /* @__PURE__ */ new Set(["x", "y", "z"]), Id = ye.filter((t) => !Bd.has(t));
3942
- function jd(t) {
3944
+ function Nd(t) {
3943
3945
  const e = [];
3944
3946
  return Id.forEach((n) => {
3945
3947
  const r = t.getValue(n);
@@ -3955,18 +3957,18 @@ const he = {
3955
3957
  bottom: ({ y: t }, { top: e }) => parseFloat(e) + (t.max - t.min),
3956
3958
  right: ({ x: t }, { left: e }) => parseFloat(e) + (t.max - t.min),
3957
3959
  // Transform
3958
- x: Fi(4, 13),
3959
- y: Fi(5, 14)
3960
+ x: Bi(4, 13),
3961
+ y: Bi(5, 14)
3960
3962
  };
3961
3963
  he.translateX = he.x;
3962
3964
  he.translateY = he.y;
3963
3965
  const Jt = /* @__PURE__ */ new Set();
3964
- let ar = !1, lr = !1;
3965
- function Xo() {
3966
- if (lr) {
3966
+ let lr = !1, cr = !1;
3967
+ function Zo() {
3968
+ if (cr) {
3967
3969
  const t = Array.from(Jt).filter((r) => r.needsMeasurement), e = new Set(t.map((r) => r.element)), n = /* @__PURE__ */ new Map();
3968
3970
  e.forEach((r) => {
3969
- const i = jd(r);
3971
+ const i = Nd(r);
3970
3972
  i.length && (n.set(r, i), r.render());
3971
3973
  }), t.forEach((r) => r.measureInitialState()), e.forEach((r) => {
3972
3974
  r.render();
@@ -3979,22 +3981,22 @@ function Xo() {
3979
3981
  r.suspendedScrollY !== void 0 && window.scrollTo(0, r.suspendedScrollY);
3980
3982
  });
3981
3983
  }
3982
- lr = !1, ar = !1, Jt.forEach((t) => t.complete()), Jt.clear();
3984
+ cr = !1, lr = !1, Jt.forEach((t) => t.complete()), Jt.clear();
3983
3985
  }
3984
- function Zo() {
3986
+ function Jo() {
3985
3987
  Jt.forEach((t) => {
3986
- t.readKeyframes(), t.needsMeasurement && (lr = !0);
3988
+ t.readKeyframes(), t.needsMeasurement && (cr = !0);
3987
3989
  });
3988
3990
  }
3989
- function Nd() {
3990
- Zo(), Xo();
3991
+ function jd() {
3992
+ Jo(), Zo();
3991
3993
  }
3992
- class Zr {
3994
+ class Jr {
3993
3995
  constructor(e, n, r, i, s, o = !1) {
3994
3996
  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;
3995
3997
  }
3996
3998
  scheduleResolve() {
3997
- this.isScheduled = !0, this.isAsync ? (Jt.add(this), ar || (ar = !0, j.read(Zo), j.resolveKeyframes(Xo))) : (this.readKeyframes(), this.complete());
3999
+ this.isScheduled = !0, this.isAsync ? (Jt.add(this), lr || (lr = !0, N.read(Jo), N.resolveKeyframes(Zo))) : (this.readKeyframes(), this.complete());
3998
4000
  }
3999
4001
  readKeyframes() {
4000
4002
  const { unresolvedKeyframes: e, name: n, element: r, motionValue: i } = this;
@@ -4030,7 +4032,7 @@ class Zr {
4030
4032
  this.isComplete || this.scheduleResolve();
4031
4033
  }
4032
4034
  }
4033
- const Jo = (t) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t), Ud = (
4035
+ const Qo = (t) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t), Ud = (
4034
4036
  // eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words
4035
4037
  /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u
4036
4038
  );
@@ -4042,7 +4044,7 @@ function zd(t) {
4042
4044
  return [`--${n ?? r}`, i];
4043
4045
  }
4044
4046
  const Wd = 4;
4045
- function Qo(t, e, n = 1) {
4047
+ function ta(t, e, n = 1) {
4046
4048
  Mt(n <= Wd, `Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);
4047
4049
  const [r, i] = zd(t);
4048
4050
  if (!r)
@@ -4050,15 +4052,15 @@ function Qo(t, e, n = 1) {
4050
4052
  const s = window.getComputedStyle(e).getPropertyValue(r);
4051
4053
  if (s) {
4052
4054
  const o = s.trim();
4053
- return Jo(o) ? parseFloat(o) : o;
4055
+ return Qo(o) ? parseFloat(o) : o;
4054
4056
  }
4055
- return Er(i) ? Qo(i, e, n + 1) : i;
4057
+ return Mr(i) ? ta(i, e, n + 1) : i;
4056
4058
  }
4057
- const ta = (t) => (e) => e.test(t), qd = {
4059
+ const ea = (t) => (e) => e.test(t), qd = {
4058
4060
  test: (t) => t === "auto",
4059
4061
  parse: (t) => t
4060
- }, ea = [ve, M, Rt, Nt, ku, Mu, qd], Bi = (t) => ea.find(ta(t));
4061
- class na extends Zr {
4062
+ }, na = [ve, M, Rt, jt, ku, Mu, qd], Ii = (t) => na.find(ea(t));
4063
+ class ra extends Jr {
4062
4064
  constructor(e, n, r, i, s) {
4063
4065
  super(e, n, r, i, s, !0);
4064
4066
  }
@@ -4069,16 +4071,16 @@ class na extends Zr {
4069
4071
  super.readKeyframes();
4070
4072
  for (let l = 0; l < e.length; l++) {
4071
4073
  let c = e[l];
4072
- if (typeof c == "string" && (c = c.trim(), Er(c))) {
4073
- const u = Qo(c, n.current);
4074
+ if (typeof c == "string" && (c = c.trim(), Mr(c))) {
4075
+ const u = ta(c, n.current);
4074
4076
  u !== void 0 && (e[l] = u), l === e.length - 1 && (this.finalKeyframe = c);
4075
4077
  }
4076
4078
  }
4077
- if (this.resolveNoneKeyframes(), !Do.has(r) || e.length !== 2)
4079
+ if (this.resolveNoneKeyframes(), !_o.has(r) || e.length !== 2)
4078
4080
  return;
4079
- const [i, s] = e, o = Bi(i), a = Bi(s);
4081
+ const [i, s] = e, o = Ii(i), a = Ii(s);
4080
4082
  if (o !== a)
4081
- if ($i(o) && $i(a))
4083
+ if (Oi(o) && Oi(a))
4082
4084
  for (let l = 0; l < e.length; l++) {
4083
4085
  const c = e[l];
4084
4086
  typeof c == "string" && (e[l] = parseFloat(c));
@@ -4113,7 +4115,7 @@ class na extends Zr {
4113
4115
  }), this.resolveNoneKeyframes();
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
+ const Ni = (t, e) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
4117
4119
  (zt.test(t) || t === "0") && // And it contains numbers and/or colors
4118
4120
  !t.startsWith("url("));
4119
4121
  function Gd(t) {
@@ -4130,8 +4132,8 @@ function Hd(t, e, n, r) {
4130
4132
  return !1;
4131
4133
  if (e === "display" || e === "visibility")
4132
4134
  return !0;
4133
- const s = t[t.length - 1], o = Ii(i, e), a = Ii(s, e);
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 : Gd(t) || (n === "spring" || Ir(n)) && r;
4135
+ const s = t[t.length - 1], o = Ni(i, e), a = Ni(s, e);
4136
+ 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 : Gd(t) || (n === "spring" || Nr(n)) && r;
4135
4137
  }
4136
4138
  const Kd = (t) => t !== null;
4137
4139
  function En(t, { repeat: e, repeatType: n = "loop" }, r) {
@@ -4139,7 +4141,7 @@ function En(t, { repeat: e, repeatType: n = "loop" }, r) {
4139
4141
  return !s || r === void 0 ? i[s] : r;
4140
4142
  }
4141
4143
  const Yd = 40;
4142
- class ra {
4144
+ class ia {
4143
4145
  constructor({ autoplay: e = !0, delay: n = 0, type: r = "keyframes", repeat: i = 0, repeatDelay: s = 0, repeatType: o = "loop", ...a }) {
4144
4146
  this.isStopped = !1, this.hasAttemptedResolve = !1, this.createdAt = Et.now(), this.options = {
4145
4147
  autoplay: e,
@@ -4170,7 +4172,7 @@ class ra {
4170
4172
  * This is a deoptimisation, but at its worst still batches read/writes.
4171
4173
  */
4172
4174
  get resolved() {
4173
- return !this._resolved && !this.hasAttemptedResolve && Nd(), this._resolved;
4175
+ return !this._resolved && !this.hasAttemptedResolve && jd(), this._resolved;
4174
4176
  }
4175
4177
  /**
4176
4178
  * A method to be called when the keyframes resolver completes. This method
@@ -4214,7 +4216,7 @@ class ra {
4214
4216
  }
4215
4217
  }
4216
4218
  const U = (t, e, n) => t + (e - t) * n;
4217
- function In(t, e, n) {
4219
+ function Nn(t, e, n) {
4218
4220
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? t + (e - t) * 6 * n : n < 1 / 2 ? e : n < 2 / 3 ? t + (e - t) * (2 / 3 - n) * 6 : t;
4219
4221
  }
4220
4222
  function Xd({ hue: t, saturation: e, lightness: n, alpha: r }) {
@@ -4224,7 +4226,7 @@ function Xd({ hue: t, saturation: e, lightness: n, alpha: r }) {
4224
4226
  i = s = o = n;
4225
4227
  else {
4226
4228
  const a = n < 0.5 ? n * (1 + e) : n + e - n * e, l = 2 * n - a;
4227
- i = In(l, a, t + 1 / 3), s = In(l, a, t), o = In(l, a, t - 1 / 3);
4229
+ i = Nn(l, a, t + 1 / 3), s = Nn(l, a, t), o = Nn(l, a, t - 1 / 3);
4228
4230
  }
4229
4231
  return {
4230
4232
  red: Math.round(i * 255),
@@ -4239,7 +4241,7 @@ function yn(t, e) {
4239
4241
  const jn = (t, e, n) => {
4240
4242
  const r = t * t, i = n * (e * e - r) + r;
4241
4243
  return i < 0 ? 0 : Math.sqrt(i);
4242
- }, Zd = [sr, Zt, re], Jd = (t) => Zd.find((e) => e.test(t));
4244
+ }, Zd = [or, Zt, re], Jd = (t) => Zd.find((e) => e.test(t));
4243
4245
  function ji(t) {
4244
4246
  const e = Jd(t);
4245
4247
  if (ge(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`), !e)
@@ -4247,24 +4249,24 @@ function ji(t) {
4247
4249
  let n = e.parse(t);
4248
4250
  return e === re && (n = Xd(n)), n;
4249
4251
  }
4250
- const Ni = (t, e) => {
4252
+ const Ui = (t, e) => {
4251
4253
  const n = ji(t), r = ji(e);
4252
4254
  if (!n || !r)
4253
4255
  return yn(t, e);
4254
4256
  const i = { ...n };
4255
4257
  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));
4256
- }, Qd = (t, e) => (n) => e(t(n)), qe = (...t) => t.reduce(Qd), cr = /* @__PURE__ */ new Set(["none", "hidden"]);
4258
+ }, Qd = (t, e) => (n) => e(t(n)), qe = (...t) => t.reduce(Qd), ur = /* @__PURE__ */ new Set(["none", "hidden"]);
4257
4259
  function tf(t, e) {
4258
- return cr.has(t) ? (n) => n <= 0 ? t : e : (n) => n >= 1 ? e : t;
4260
+ return ur.has(t) ? (n) => n <= 0 ? t : e : (n) => n >= 1 ? e : t;
4259
4261
  }
4260
4262
  function ef(t, e) {
4261
4263
  return (n) => U(t, e, n);
4262
4264
  }
4263
- function Jr(t) {
4264
- return typeof t == "number" ? ef : typeof t == "string" ? Er(t) ? yn : Z.test(t) ? Ni : sf : Array.isArray(t) ? ia : typeof t == "object" ? Z.test(t) ? Ni : nf : yn;
4265
+ function Qr(t) {
4266
+ return typeof t == "number" ? ef : typeof t == "string" ? Mr(t) ? yn : Z.test(t) ? Ui : sf : Array.isArray(t) ? sa : typeof t == "object" ? Z.test(t) ? Ui : nf : yn;
4265
4267
  }
4266
- function ia(t, e) {
4267
- const n = [...t], r = n.length, i = t.map((s, o) => Jr(s)(s, e[o]));
4268
+ function sa(t, e) {
4269
+ const n = [...t], r = n.length, i = t.map((s, o) => Qr(s)(s, e[o]));
4268
4270
  return (s) => {
4269
4271
  for (let o = 0; o < r; o++)
4270
4272
  n[o] = i[o](s);
@@ -4274,7 +4276,7 @@ function ia(t, e) {
4274
4276
  function nf(t, e) {
4275
4277
  const n = { ...t, ...e }, r = {};
4276
4278
  for (const i in n)
4277
- t[i] !== void 0 && e[i] !== void 0 && (r[i] = Jr(t[i])(t[i], e[i]));
4279
+ t[i] !== void 0 && e[i] !== void 0 && (r[i] = Qr(t[i])(t[i], e[i]));
4278
4280
  return (i) => {
4279
4281
  for (const s in r)
4280
4282
  n[s] = r[s](i);
@@ -4291,18 +4293,18 @@ function rf(t, e) {
4291
4293
  return r;
4292
4294
  }
4293
4295
  const sf = (t, e) => {
4294
- const n = zt.createTransformer(e), r = je(t), i = je(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 ? tf(t, e) : qe(ia(rf(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));
4296
+ const n = zt.createTransformer(e), r = Ne(t), i = Ne(e);
4297
+ 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 ? ur.has(t) && !i.values.length || ur.has(e) && !r.values.length ? tf(t, e) : qe(sa(rf(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));
4296
4298
  };
4297
- function sa(t, e, n) {
4298
- return typeof t == "number" && typeof e == "number" && typeof n == "number" ? U(t, e, n) : Jr(t)(t, e);
4299
+ function oa(t, e, n) {
4300
+ return typeof t == "number" && typeof e == "number" && typeof n == "number" ? U(t, e, n) : Qr(t)(t, e);
4299
4301
  }
4300
4302
  const of = 5;
4301
- function oa(t, e, n) {
4303
+ function aa(t, e, n) {
4302
4304
  const r = Math.max(e - of, 0);
4303
- return _o(n - t(r), e - r);
4305
+ return Lo(n - t(r), e - r);
4304
4306
  }
4305
- const N = {
4307
+ const j = {
4306
4308
  // Default spring physics
4307
4309
  stiffness: 100,
4308
4310
  damping: 10,
@@ -4330,17 +4332,17 @@ const N = {
4330
4332
  // in seconds
4331
4333
  minDamping: 0.05,
4332
4334
  maxDamping: 1
4333
- }, Ui = 1e-3;
4334
- function af({ duration: t = N.duration, bounce: e = N.bounce, velocity: n = N.velocity, mass: r = N.mass }) {
4335
+ }, zi = 1e-3;
4336
+ function af({ duration: t = j.duration, bounce: e = j.bounce, velocity: n = j.velocity, mass: r = j.mass }) {
4335
4337
  let i, s;
4336
- ge(t <= /* @__PURE__ */ Vt(N.maxDuration), "Spring duration must be 10 seconds or less");
4338
+ ge(t <= /* @__PURE__ */ Vt(j.maxDuration), "Spring duration must be 10 seconds or less");
4337
4339
  let o = 1 - e;
4338
- o = Lt(N.minDamping, N.maxDamping, o), t = Lt(N.minDuration, N.maxDuration, /* @__PURE__ */ Dt(t)), o < 1 ? (i = (c) => {
4339
- const u = c * o, d = u * t, f = u - n, h = ur(c, o), p = Math.exp(-d);
4340
- return Ui - f / h * p;
4340
+ o = Lt(j.minDamping, j.maxDamping, o), t = Lt(j.minDuration, j.maxDuration, /* @__PURE__ */ Dt(t)), o < 1 ? (i = (c) => {
4341
+ const u = c * o, d = u * t, f = u - n, h = dr(c, o), p = Math.exp(-d);
4342
+ return zi - f / h * p;
4341
4343
  }, s = (c) => {
4342
- const d = c * o * t, f = d * n + n, h = Math.pow(o, 2) * Math.pow(c, 2) * t, p = Math.exp(-d), g = ur(Math.pow(c, 2), o);
4343
- return (-i(c) + Ui > 0 ? -1 : 1) * ((f - h) * p) / g;
4344
+ const d = c * o * t, f = d * n + n, h = Math.pow(o, 2) * Math.pow(c, 2) * t, p = Math.exp(-d), g = dr(Math.pow(c, 2), o);
4345
+ return (-i(c) + zi > 0 ? -1 : 1) * ((f - h) * p) / g;
4344
4346
  }) : (i = (c) => {
4345
4347
  const u = Math.exp(-c * t), d = (c - n) * t + 1;
4346
4348
  return -1e-3 + u * d;
@@ -4351,8 +4353,8 @@ function af({ duration: t = N.duration, bounce: e = N.bounce, velocity: n = N.ve
4351
4353
  const a = 5 / t, l = cf(i, s, a);
4352
4354
  if (t = /* @__PURE__ */ Vt(t), isNaN(l))
4353
4355
  return {
4354
- stiffness: N.stiffness,
4355
- damping: N.damping,
4356
+ stiffness: j.stiffness,
4357
+ damping: j.damping,
4356
4358
  duration: t
4357
4359
  };
4358
4360
  {
@@ -4371,28 +4373,28 @@ function cf(t, e, n) {
4371
4373
  r = r - t(r) / e(r);
4372
4374
  return r;
4373
4375
  }
4374
- function ur(t, e) {
4376
+ function dr(t, e) {
4375
4377
  return t * Math.sqrt(1 - e * e);
4376
4378
  }
4377
4379
  const uf = ["duration", "bounce"], df = ["stiffness", "damping", "mass"];
4378
- function zi(t, e) {
4380
+ function Wi(t, e) {
4379
4381
  return e.some((n) => t[n] !== void 0);
4380
4382
  }
4381
4383
  function ff(t) {
4382
4384
  let e = {
4383
- velocity: N.velocity,
4384
- stiffness: N.stiffness,
4385
- damping: N.damping,
4386
- mass: N.mass,
4385
+ velocity: j.velocity,
4386
+ stiffness: j.stiffness,
4387
+ damping: j.damping,
4388
+ mass: j.mass,
4387
4389
  isResolvedFromDuration: !1,
4388
4390
  ...t
4389
4391
  };
4390
- if (!zi(t, df) && zi(t, uf))
4392
+ if (!Wi(t, df) && Wi(t, uf))
4391
4393
  if (t.visualDuration) {
4392
4394
  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);
4393
4395
  e = {
4394
4396
  ...e,
4395
- mass: N.mass,
4397
+ mass: j.mass,
4396
4398
  stiffness: i,
4397
4399
  damping: s
4398
4400
  };
@@ -4401,12 +4403,12 @@ function ff(t) {
4401
4403
  e = {
4402
4404
  ...e,
4403
4405
  ...n,
4404
- mass: N.mass
4406
+ mass: j.mass
4405
4407
  }, e.isResolvedFromDuration = !0;
4406
4408
  }
4407
4409
  return e;
4408
4410
  }
4409
- function aa(t = N.visualDuration, e = N.bounce) {
4411
+ function la(t = j.visualDuration, e = j.bounce) {
4410
4412
  const n = typeof t != "object" ? {
4411
4413
  visualDuration: t,
4412
4414
  keyframes: [0, 1],
@@ -4417,10 +4419,10 @@ function aa(t = N.visualDuration, e = N.bounce) {
4417
4419
  ...n,
4418
4420
  velocity: -/* @__PURE__ */ Dt(n.velocity || 0)
4419
4421
  }), p = f || 0, g = c / (2 * Math.sqrt(l * u)), x = o - s, v = /* @__PURE__ */ Dt(Math.sqrt(l / u)), w = Math.abs(x) < 5;
4420
- r || (r = w ? N.restSpeed.granular : N.restSpeed.default), i || (i = w ? N.restDelta.granular : N.restDelta.default);
4422
+ r || (r = w ? j.restSpeed.granular : j.restSpeed.default), i || (i = w ? j.restDelta.granular : j.restDelta.default);
4421
4423
  let S;
4422
4424
  if (g < 1) {
4423
- const m = ur(v, g);
4425
+ const m = dr(v, g);
4424
4426
  S = (V) => {
4425
4427
  const E = Math.exp(-g * v * V);
4426
4428
  return o - E * ((p + g * v * x) / m * Math.sin(m * V) + x * Math.cos(m * V));
@@ -4442,20 +4444,20 @@ function aa(t = N.visualDuration, e = N.bounce) {
4442
4444
  a.done = m >= d;
4443
4445
  else {
4444
4446
  let E = 0;
4445
- g < 1 && (E = m === 0 ? /* @__PURE__ */ Vt(p) : oa(S, m, V));
4447
+ g < 1 && (E = m === 0 ? /* @__PURE__ */ Vt(p) : aa(S, m, V));
4446
4448
  const y = Math.abs(E) <= r, b = Math.abs(o - V) <= i;
4447
4449
  a.done = y && b;
4448
4450
  }
4449
4451
  return a.value = a.done ? o : V, a;
4450
4452
  },
4451
4453
  toString: () => {
4452
- const m = Math.min(Co(P), nr), V = Po((E) => P.next(m * E).value, m, 30);
4454
+ const m = Math.min(Po(P), rr), V = Ao((E) => P.next(m * E).value, m, 30);
4453
4455
  return m + "ms " + V;
4454
4456
  }
4455
4457
  };
4456
4458
  return P;
4457
4459
  }
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
+ function qi({ 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 }) {
4459
4461
  const d = t[0], f = {
4460
4462
  done: !1,
4461
4463
  value: d
@@ -4469,9 +4471,9 @@ function Wi({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: r = 3
4469
4471
  };
4470
4472
  let m, V;
4471
4473
  const E = (y) => {
4472
- h(f.value) && (m = y, V = aa({
4474
+ h(f.value) && (m = y, V = la({
4473
4475
  keyframes: [f.value, p(f.value)],
4474
- velocity: oa(S, y, f.value),
4476
+ velocity: aa(S, y, f.value),
4475
4477
  // TODO: This should be passing * 1000
4476
4478
  damping: i,
4477
4479
  stiffness: s,
@@ -4487,29 +4489,29 @@ function Wi({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: r = 3
4487
4489
  }
4488
4490
  };
4489
4491
  }
4490
- const hf = /* @__PURE__ */ We(0.42, 0, 1, 1), pf = /* @__PURE__ */ We(0, 0, 0.58, 1), la = /* @__PURE__ */ We(0.42, 0, 0.58, 1), mf = (t) => Array.isArray(t) && typeof t[0] != "number", qi = {
4492
+ const hf = /* @__PURE__ */ We(0.42, 0, 1, 1), pf = /* @__PURE__ */ We(0, 0, 0.58, 1), ca = /* @__PURE__ */ We(0.42, 0, 0.58, 1), mf = (t) => Array.isArray(t) && typeof t[0] != "number", Gi = {
4491
4493
  linear: ct,
4492
4494
  easeIn: hf,
4493
- easeInOut: la,
4495
+ easeInOut: ca,
4494
4496
  easeOut: pf,
4495
- circIn: Hr,
4496
- circInOut: Uo,
4497
- circOut: No,
4498
- backIn: Gr,
4499
- backInOut: Io,
4500
- backOut: Bo,
4497
+ circIn: Kr,
4498
+ circInOut: zo,
4499
+ circOut: Uo,
4500
+ backIn: Hr,
4501
+ backInOut: No,
4502
+ backOut: Io,
4501
4503
  anticipate: jo
4502
- }, Gi = (t) => {
4504
+ }, Hi = (t) => {
4503
4505
  if (jr(t)) {
4504
4506
  Mt(t.length === 4, "Cubic bezier arrays must contain four numerical values.");
4505
4507
  const [e, n, r, i] = t;
4506
4508
  return We(e, n, r, i);
4507
4509
  } else if (typeof t == "string")
4508
- return Mt(qi[t] !== void 0, `Invalid easing type '${t}'`), qi[t];
4510
+ return Mt(Gi[t] !== void 0, `Invalid easing type '${t}'`), Gi[t];
4509
4511
  return t;
4510
4512
  };
4511
4513
  function gf(t, e, n) {
4512
- const r = [], i = n || sa, s = t.length - 1;
4514
+ const r = [], i = n || oa, s = t.length - 1;
4513
4515
  for (let o = 0; o < s; o++) {
4514
4516
  let a = i(t[o], t[o + 1]);
4515
4517
  if (e) {
@@ -4555,10 +4557,10 @@ function xf(t, e) {
4555
4557
  return t.map((n) => n * e);
4556
4558
  }
4557
4559
  function wf(t, e) {
4558
- return t.map(() => e || la).splice(0, t.length - 1);
4560
+ return t.map(() => e || ca).splice(0, t.length - 1);
4559
4561
  }
4560
4562
  function Re({ duration: t = 300, keyframes: e, times: n, ease: r = "easeInOut" }) {
4561
- const i = mf(r) ? r.map(Gi) : Gi(r), s = {
4563
+ const i = mf(r) ? r.map(Hi) : Hi(r), s = {
4562
4564
  done: !1,
4563
4565
  value: e[0]
4564
4566
  }, o = xf(
@@ -4577,7 +4579,7 @@ function Re({ duration: t = 300, keyframes: e, times: n, ease: r = "easeInOut" }
4577
4579
  const Sf = (t) => {
4578
4580
  const e = ({ timestamp: n }) => t(n);
4579
4581
  return {
4580
- start: () => j.update(e, !0),
4582
+ start: () => N.update(e, !0),
4581
4583
  stop: () => Ut(e),
4582
4584
  /**
4583
4585
  * If we're processing this frame we can use the
@@ -4586,13 +4588,13 @@ const Sf = (t) => {
4586
4588
  now: () => H.isProcessing ? H.timestamp : Et.now()
4587
4589
  };
4588
4590
  }, Tf = {
4589
- decay: Wi,
4590
- inertia: Wi,
4591
+ decay: qi,
4592
+ inertia: qi,
4591
4593
  tween: Re,
4592
4594
  keyframes: Re,
4593
- spring: aa
4595
+ spring: la
4594
4596
  }, Cf = (t) => t / 100;
4595
- class Qr extends ra {
4597
+ class ti extends ia {
4596
4598
  constructor(e) {
4597
4599
  super(e), this.holdTime = null, this.cancelTime = null, this.currentTime = 0, this.playbackSpeed = 1, this.pendingPlayState = "running", this.startTime = null, this.state = "idle", this.stop = () => {
4598
4600
  if (this.resolver.cancel(), this.isStopped = !0, this.state === "idle")
@@ -4601,22 +4603,22 @@ class Qr extends ra {
4601
4603
  const { onStop: l } = this.options;
4602
4604
  l && l();
4603
4605
  };
4604
- const { name: n, motionValue: r, element: i, keyframes: s } = this.options, o = (i == null ? void 0 : i.KeyframeResolver) || Zr, a = (l, c) => this.onKeyframesResolved(l, c);
4606
+ const { name: n, motionValue: r, element: i, keyframes: s } = this.options, o = (i == null ? void 0 : i.KeyframeResolver) || Jr, a = (l, c) => this.onKeyframesResolved(l, c);
4605
4607
  this.resolver = new o(s, a, n, r, i), this.resolver.scheduleResolve();
4606
4608
  }
4607
4609
  flatten() {
4608
4610
  super.flatten(), this._resolved && Object.assign(this._resolved, this.initPlayback(this._resolved.keyframes));
4609
4611
  }
4610
4612
  initPlayback(e) {
4611
- const { type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: s, velocity: o = 0 } = this.options, a = Ir(n) ? n : Tf[n] || Re;
4613
+ const { type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: s, velocity: o = 0 } = this.options, a = Nr(n) ? n : Tf[n] || Re;
4612
4614
  let l, c;
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(Cf, sa(e[0], e[1])), e = [0, 100]);
4615
+ 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(Cf, oa(e[0], e[1])), e = [0, 100]);
4614
4616
  const u = a({ ...this.options, keyframes: e });
4615
4617
  s === "mirror" && (c = a({
4616
4618
  ...this.options,
4617
4619
  keyframes: [...e].reverse(),
4618
4620
  velocity: -o
4619
- })), u.calculatedDuration === null && (u.calculatedDuration = Co(u));
4621
+ })), u.calculatedDuration === null && (u.calculatedDuration = Po(u));
4620
4622
  const { calculatedDuration: d } = u, f = d + i, h = f * (r + 1) - i;
4621
4623
  return {
4622
4624
  generator: u,
@@ -4727,7 +4729,7 @@ const Pf = /* @__PURE__ */ new Set([
4727
4729
  function Af(t, e, n, { delay: r = 0, duration: i = 300, repeat: s = 0, repeatType: o = "loop", ease: a = "easeInOut", times: l } = {}) {
4728
4730
  const c = { [e]: n };
4729
4731
  l && (c.offset = l);
4730
- const u = Vo(a, i);
4732
+ const u = Ro(a, i);
4731
4733
  return Array.isArray(u) && (c.easing = u), t.animate(c, {
4732
4734
  delay: r,
4733
4735
  duration: i,
@@ -4737,12 +4739,12 @@ function Af(t, e, n, { delay: r = 0, duration: i = 300, repeat: s = 0, repeatTyp
4737
4739
  direction: o === "reverse" ? "alternate" : "normal"
4738
4740
  });
4739
4741
  }
4740
- const Vf = /* @__PURE__ */ Tr(() => Object.hasOwnProperty.call(Element.prototype, "animate")), vn = 10, Rf = 2e4;
4742
+ const Vf = /* @__PURE__ */ Cr(() => Object.hasOwnProperty.call(Element.prototype, "animate")), vn = 10, Rf = 2e4;
4741
4743
  function Ef(t) {
4742
- return Ir(t.type) || t.type === "spring" || !Ao(t.ease);
4744
+ return Nr(t.type) || t.type === "spring" || !Vo(t.ease);
4743
4745
  }
4744
4746
  function Mf(t, e) {
4745
- const n = new Qr({
4747
+ const n = new ti({
4746
4748
  ...e,
4747
4749
  keyframes: t,
4748
4750
  repeat: 0,
@@ -4761,30 +4763,30 @@ function Mf(t, e) {
4761
4763
  ease: "linear"
4762
4764
  };
4763
4765
  }
4764
- const ca = {
4766
+ const ua = {
4765
4767
  anticipate: jo,
4766
- backInOut: Io,
4767
- circInOut: Uo
4768
+ backInOut: No,
4769
+ circInOut: zo
4768
4770
  };
4769
4771
  function kf(t) {
4770
- return t in ca;
4772
+ return t in ua;
4771
4773
  }
4772
- class Hi extends ra {
4774
+ class Ki extends ia {
4773
4775
  constructor(e) {
4774
4776
  super(e);
4775
4777
  const { name: n, motionValue: r, element: i, keyframes: s } = this.options;
4776
- this.resolver = new na(s, (o, a) => this.onKeyframesResolved(o, a), n, r, i), this.resolver.scheduleResolve();
4778
+ this.resolver = new ra(s, (o, a) => this.onKeyframesResolved(o, a), n, r, i), this.resolver.scheduleResolve();
4777
4779
  }
4778
4780
  initPlayback(e, n) {
4779
4781
  let { duration: r = 300, times: i, ease: s, type: o, motionValue: a, name: l, startTime: c } = this.options;
4780
4782
  if (!a.owner || !a.owner.current)
4781
4783
  return !1;
4782
- if (typeof s == "string" && mn() && kf(s) && (s = ca[s]), Ef(this.options)) {
4784
+ if (typeof s == "string" && mn() && kf(s) && (s = ua[s]), Ef(this.options)) {
4783
4785
  const { onComplete: d, onUpdate: f, motionValue: h, element: p, ...g } = this.options, x = Mf(e, g);
4784
4786
  e = x.keyframes, e.length === 1 && (e[1] = e[0]), r = x.duration, i = x.times, s = x.ease, o = "keyframes";
4785
4787
  }
4786
4788
  const u = Af(a.owner.current, l, e, { ...this.options, duration: r, times: i, ease: s });
4787
- return u.startTime = c ?? this.calcStartTime(), this.pendingTimeline ? (Ei(u, this.pendingTimeline), this.pendingTimeline = void 0) : u.onfinish = () => {
4789
+ return u.startTime = c ?? this.calcStartTime(), this.pendingTimeline ? (Mi(u, this.pendingTimeline), this.pendingTimeline = void 0) : u.onfinish = () => {
4788
4790
  const { onComplete: d } = this.options;
4789
4791
  a.set(En(e, this.options, n)), d && d(), this.cancel(), this.resolveFinishedPromise();
4790
4792
  }, {
@@ -4857,7 +4859,7 @@ class Hi extends ra {
4857
4859
  if (!n)
4858
4860
  return ct;
4859
4861
  const { animation: r } = n;
4860
- Ei(r, e);
4862
+ Mi(r, e);
4861
4863
  }
4862
4864
  return ct;
4863
4865
  }
@@ -4888,7 +4890,7 @@ class Hi extends ra {
4888
4890
  if (n.playState === "idle" || n.playState === "finished")
4889
4891
  return;
4890
4892
  if (this.time) {
4891
- const { motionValue: c, onUpdate: u, onComplete: d, element: f, ...h } = this.options, p = new Qr({
4893
+ const { motionValue: c, onUpdate: u, onComplete: d, element: f, ...h } = this.options, p = new ti({
4892
4894
  ...h,
4893
4895
  keyframes: r,
4894
4896
  duration: i,
@@ -4943,8 +4945,8 @@ const Df = {
4943
4945
  function Ff({ when: t, delay: e, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: s, repeatType: o, repeatDelay: a, from: l, elapsed: c, ...u }) {
4944
4946
  return !!Object.keys(u).length;
4945
4947
  }
4946
- const ti = (t, e, n, r = {}, i, s) => (o) => {
4947
- const a = Br(r, t) || {}, l = a.delay || r.delay || 0;
4948
+ const ei = (t, e, n, r = {}, i, s) => (o) => {
4949
+ const a = Ir(r, t) || {}, l = a.delay || r.delay || 0;
4948
4950
  let { elapsed: c = 0 } = r;
4949
4951
  c = c - /* @__PURE__ */ Vt(l);
4950
4952
  let u = {
@@ -4971,17 +4973,17 @@ const ti = (t, e, n, r = {}, i, s) => (o) => {
4971
4973
  if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (u.duration = 0, u.delay === 0 && (d = !0)), d && !s && e.get() !== void 0) {
4972
4974
  const f = En(u.keyframes, a);
4973
4975
  if (f !== void 0)
4974
- return j.update(() => {
4976
+ return N.update(() => {
4975
4977
  u.onUpdate(f), u.onComplete();
4976
4978
  }), new nd([]);
4977
4979
  }
4978
- return !s && Hi.supports(u) ? new Hi(u) : new Qr(u);
4980
+ return !s && Ki.supports(u) ? new Ki(u) : new ti(u);
4979
4981
  };
4980
4982
  function Bf({ protectedKeys: t, needsAnimating: e }, n) {
4981
4983
  const r = t.hasOwnProperty(n) && e[n] !== !0;
4982
4984
  return e[n] = !1, r;
4983
4985
  }
4984
- function ua(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
4986
+ function da(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
4985
4987
  var s;
4986
4988
  let { transition: o = t.getDefaultTransition(), transitionEnd: a, ...l } = e;
4987
4989
  r && (o = r);
@@ -4992,32 +4994,32 @@ function ua(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
4992
4994
  continue;
4993
4995
  const p = {
4994
4996
  delay: n,
4995
- ...Br(o || {}, d)
4997
+ ...Ir(o || {}, d)
4996
4998
  };
4997
4999
  let g = !1;
4998
5000
  if (window.MotionHandoffAnimation) {
4999
- const v = Lo(t);
5001
+ const v = $o(t);
5000
5002
  if (v) {
5001
- const w = window.MotionHandoffAnimation(v, d, j);
5003
+ const w = window.MotionHandoffAnimation(v, d, N);
5002
5004
  w !== null && (p.startTime = w, g = !0);
5003
5005
  }
5004
5006
  }
5005
- ir(t, d), f.start(ti(d, f, h, t.shouldReduceMotion && Do.has(d) ? { type: !1 } : p, t, g));
5007
+ sr(t, d), f.start(ei(d, f, h, t.shouldReduceMotion && _o.has(d) ? { type: !1 } : p, t, g));
5006
5008
  const x = f.animation;
5007
5009
  x && c.push(x);
5008
5010
  }
5009
5011
  return a && Promise.all(c).then(() => {
5010
- j.update(() => {
5011
- a && qr(t, a);
5012
+ N.update(() => {
5013
+ a && Gr(t, a);
5012
5014
  });
5013
5015
  }), c;
5014
5016
  }
5015
- function dr(t, e, n = {}) {
5017
+ function fr(t, e, n = {}) {
5016
5018
  var r;
5017
5019
  const i = Be(t, e, n.type === "exit" ? (r = t.presenceContext) === null || r === void 0 ? void 0 : r.custom : void 0);
5018
5020
  let { transition: s = t.getDefaultTransition() || {} } = i || {};
5019
5021
  n.transitionOverride && (s = n.transitionOverride);
5020
- const o = i ? () => Promise.all(ua(t, i, n)) : () => Promise.resolve(), a = t.variantChildren && t.variantChildren.size ? (c = 0) => {
5022
+ const o = i ? () => Promise.all(da(t, i, n)) : () => Promise.resolve(), a = t.variantChildren && t.variantChildren.size ? (c = 0) => {
5021
5023
  const { delayChildren: u = 0, staggerChildren: d, staggerDirection: f } = s;
5022
5024
  return If(t, e, u + c, d, f, n);
5023
5025
  } : () => Promise.resolve(), { when: l } = s;
@@ -5029,33 +5031,33 @@ function dr(t, e, n = {}) {
5029
5031
  }
5030
5032
  function If(t, e, n = 0, r = 0, i = 1, s) {
5031
5033
  const o = [], a = (t.variantChildren.size - 1) * r, l = i === 1 ? (c = 0) => c * r : (c = 0) => a - c * r;
5032
- return Array.from(t.variantChildren).sort(jf).forEach((c, u) => {
5033
- c.notify("AnimationStart", e), o.push(dr(c, e, {
5034
+ return Array.from(t.variantChildren).sort(Nf).forEach((c, u) => {
5035
+ c.notify("AnimationStart", e), o.push(fr(c, e, {
5034
5036
  ...s,
5035
5037
  delay: n + l(u)
5036
5038
  }).then(() => c.notify("AnimationComplete", e)));
5037
5039
  }), Promise.all(o);
5038
5040
  }
5039
- function jf(t, e) {
5041
+ function Nf(t, e) {
5040
5042
  return t.sortNodePosition(e);
5041
5043
  }
5042
- function da(t, e, n = {}) {
5044
+ function fa(t, e, n = {}) {
5043
5045
  t.notify("AnimationStart", e);
5044
5046
  let r;
5045
5047
  if (Array.isArray(e)) {
5046
- const i = e.map((s) => dr(t, s, n));
5048
+ const i = e.map((s) => fr(t, s, n));
5047
5049
  r = Promise.all(i);
5048
5050
  } else if (typeof e == "string")
5049
- r = dr(t, e, n);
5051
+ r = fr(t, e, n);
5050
5052
  else {
5051
5053
  const i = typeof e == "function" ? Be(t, e, n.custom) : e;
5052
- r = Promise.all(ua(t, i, n));
5054
+ r = Promise.all(da(t, i, n));
5053
5055
  }
5054
5056
  return r.then(() => {
5055
5057
  t.notify("AnimationComplete", e);
5056
5058
  });
5057
5059
  }
5058
- function fa(t, e) {
5060
+ function ha(t, e) {
5059
5061
  if (!Array.isArray(e))
5060
5062
  return !1;
5061
5063
  const n = e.length;
@@ -5066,27 +5068,27 @@ function fa(t, e) {
5066
5068
  return !1;
5067
5069
  return !0;
5068
5070
  }
5069
- const Nf = Pr.length;
5070
- function ha(t) {
5071
+ const jf = Ar.length;
5072
+ function pa(t) {
5071
5073
  if (!t)
5072
5074
  return;
5073
5075
  if (!t.isControllingVariants) {
5074
- const n = t.parent ? ha(t.parent) || {} : {};
5076
+ const n = t.parent ? pa(t.parent) || {} : {};
5075
5077
  return t.props.initial !== void 0 && (n.initial = t.props.initial), n;
5076
5078
  }
5077
5079
  const e = {};
5078
- for (let n = 0; n < Nf; n++) {
5079
- const r = Pr[n], i = t.props[r];
5080
+ for (let n = 0; n < jf; n++) {
5081
+ const r = Ar[n], i = t.props[r];
5080
5082
  ($e(i) || i === !1) && (e[r] = i);
5081
5083
  }
5082
5084
  return e;
5083
5085
  }
5084
- const Uf = [...Cr].reverse(), zf = Cr.length;
5086
+ const Uf = [...Pr].reverse(), zf = Pr.length;
5085
5087
  function Wf(t) {
5086
- return (e) => Promise.all(e.map(({ animation: n, options: r }) => da(t, n, r)));
5088
+ return (e) => Promise.all(e.map(({ animation: n, options: r }) => fa(t, n, r)));
5087
5089
  }
5088
5090
  function qf(t) {
5089
- let e = Wf(t), n = Ki(), r = !0;
5091
+ let e = Wf(t), n = Yi(), r = !0;
5090
5092
  const i = (l) => (c, u) => {
5091
5093
  var d;
5092
5094
  const f = Be(t, u, l === "exit" ? (d = t.presenceContext) === null || d === void 0 ? void 0 : d.custom : void 0);
@@ -5100,7 +5102,7 @@ function qf(t) {
5100
5102
  e = l(t);
5101
5103
  }
5102
5104
  function o(l) {
5103
- const { props: c } = t, u = ha(t.parent) || {}, d = [], f = /* @__PURE__ */ new Set();
5105
+ const { props: c } = t, u = pa(t.parent) || {}, d = [], f = /* @__PURE__ */ new Set();
5104
5106
  let h = {}, p = 1 / 0;
5105
5107
  for (let x = 0; x < zf; x++) {
5106
5108
  const v = Uf[x], w = n[v], S = c[v] !== void 0 ? c[v] : u[v], P = $e(S), m = v === l ? w.isActive : null;
@@ -5131,7 +5133,7 @@ function qf(t) {
5131
5133
  if (h.hasOwnProperty(D))
5132
5134
  continue;
5133
5135
  let et = !1;
5134
- er(I) && er(st) ? et = !fa(I, st) : et = I !== st, et ? I != null ? Q(D) : f.add(D) : I !== void 0 && f.has(D) ? Q(D) : w.protectedKeys[D] = !0;
5136
+ nr(I) && nr(st) ? et = !ha(I, st) : et = I !== st, et ? I != null ? Q(D) : f.add(D) : I !== void 0 && f.has(D) ? Q(D) : w.protectedKeys[D] = !0;
5135
5137
  }
5136
5138
  w.prevProp = S, w.prevResolvedValues = C, w.isActive && (h = { ...h, ...C }), r && t.blockInitialAnimation && (y = !1), y && (!(V && E) || b) && d.push(...T.map((D) => ({
5137
5139
  animation: D,
@@ -5171,12 +5173,12 @@ function qf(t) {
5171
5173
  setAnimateFunction: s,
5172
5174
  getState: () => n,
5173
5175
  reset: () => {
5174
- n = Ki(), r = !0;
5176
+ n = Yi(), r = !0;
5175
5177
  }
5176
5178
  };
5177
5179
  }
5178
5180
  function Gf(t, e) {
5179
- return typeof e == "string" ? e !== t : Array.isArray(e) ? !fa(e, t) : !1;
5181
+ return typeof e == "string" ? e !== t : Array.isArray(e) ? !ha(e, t) : !1;
5180
5182
  }
5181
5183
  function Kt(t = !1) {
5182
5184
  return {
@@ -5186,7 +5188,7 @@ function Kt(t = !1) {
5186
5188
  prevResolvedValues: {}
5187
5189
  };
5188
5190
  }
5189
- function Ki() {
5191
+ function Yi() {
5190
5192
  return {
5191
5193
  animate: Kt(!0),
5192
5194
  whileInView: Kt(),
@@ -5263,7 +5265,7 @@ const Xf = {
5263
5265
  Feature: Yf
5264
5266
  }
5265
5267
  };
5266
- function Ne(t, e, n, r = { passive: !0 }) {
5268
+ function je(t, e, n, r = { passive: !0 }) {
5267
5269
  return t.addEventListener(e, n, r), () => t.removeEventListener(e, n);
5268
5270
  }
5269
5271
  function Ge(t) {
@@ -5274,11 +5276,11 @@ function Ge(t) {
5274
5276
  }
5275
5277
  };
5276
5278
  }
5277
- const Zf = (t) => (e) => Nr(e) && t(e, Ge(e));
5279
+ const Zf = (t) => (e) => Ur(e) && t(e, Ge(e));
5278
5280
  function ie(t, e, n, r) {
5279
- return Ne(t, e, Zf(n), r);
5281
+ return je(t, e, Zf(n), r);
5280
5282
  }
5281
- function pa({ top: t, left: e, right: n, bottom: r }) {
5283
+ function ma({ top: t, left: e, right: n, bottom: r }) {
5282
5284
  return {
5283
5285
  x: { min: e, max: n },
5284
5286
  y: { min: t, max: r }
@@ -5298,75 +5300,75 @@ function Qf(t, e) {
5298
5300
  right: r.x
5299
5301
  };
5300
5302
  }
5301
- const ma = 1e-4, th = 1 - ma, eh = 1 + ma, ga = 0.01, nh = 0 - ga, rh = 0 + ga;
5303
+ const ga = 1e-4, th = 1 - ga, eh = 1 + ga, ya = 0.01, nh = 0 - ya, rh = 0 + ya;
5302
5304
  function it(t) {
5303
5305
  return t.max - t.min;
5304
5306
  }
5305
5307
  function ih(t, e, n) {
5306
5308
  return Math.abs(t - e) <= n;
5307
5309
  }
5308
- function Yi(t, e, n, r = 0.5) {
5310
+ function Xi(t, e, n, r = 0.5) {
5309
5311
  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 >= th && t.scale <= eh || isNaN(t.scale)) && (t.scale = 1), (t.translate >= nh && t.translate <= rh || isNaN(t.translate)) && (t.translate = 0);
5310
5312
  }
5311
5313
  function Ee(t, e, n, r) {
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);
5314
+ Xi(t.x, e.x, n.x, r ? r.originX : void 0), Xi(t.y, e.y, n.y, r ? r.originY : void 0);
5313
5315
  }
5314
- function Xi(t, e, n) {
5316
+ function Zi(t, e, n) {
5315
5317
  t.min = n.min + e.min, t.max = t.min + it(e);
5316
5318
  }
5317
5319
  function sh(t, e, n) {
5318
- Xi(t.x, e.x, n.x), Xi(t.y, e.y, n.y);
5320
+ Zi(t.x, e.x, n.x), Zi(t.y, e.y, n.y);
5319
5321
  }
5320
- function Zi(t, e, n) {
5322
+ function Ji(t, e, n) {
5321
5323
  t.min = e.min - n.min, t.max = t.min + it(e);
5322
5324
  }
5323
5325
  function Me(t, e, n) {
5324
- Zi(t.x, e.x, n.x), Zi(t.y, e.y, n.y);
5326
+ Ji(t.x, e.x, n.x), Ji(t.y, e.y, n.y);
5325
5327
  }
5326
- const Ji = () => ({
5328
+ const Qi = () => ({
5327
5329
  translate: 0,
5328
5330
  scale: 1,
5329
5331
  origin: 0,
5330
5332
  originPoint: 0
5331
5333
  }), se = () => ({
5332
- x: Ji(),
5333
- y: Ji()
5334
- }), Qi = () => ({ min: 0, max: 0 }), W = () => ({
5335
5334
  x: Qi(),
5336
5335
  y: Qi()
5336
+ }), ts = () => ({ min: 0, max: 0 }), W = () => ({
5337
+ x: ts(),
5338
+ y: ts()
5337
5339
  });
5338
5340
  function gt(t) {
5339
5341
  return [t("x"), t("y")];
5340
5342
  }
5341
- function Nn(t) {
5343
+ function Un(t) {
5342
5344
  return t === void 0 || t === 1;
5343
5345
  }
5344
- function fr({ scale: t, scaleX: e, scaleY: n }) {
5345
- return !Nn(t) || !Nn(e) || !Nn(n);
5346
+ function hr({ scale: t, scaleX: e, scaleY: n }) {
5347
+ return !Un(t) || !Un(e) || !Un(n);
5346
5348
  }
5347
5349
  function Yt(t) {
5348
- return fr(t) || ya(t) || t.z || t.rotate || t.rotateX || t.rotateY || t.skewX || t.skewY;
5350
+ return hr(t) || va(t) || t.z || t.rotate || t.rotateX || t.rotateY || t.skewX || t.skewY;
5349
5351
  }
5350
- function ya(t) {
5351
- return ts(t.x) || ts(t.y);
5352
+ function va(t) {
5353
+ return es(t.x) || es(t.y);
5352
5354
  }
5353
- function ts(t) {
5355
+ function es(t) {
5354
5356
  return t && t !== "0%";
5355
5357
  }
5356
5358
  function bn(t, e, n) {
5357
5359
  const r = t - n, i = e * r;
5358
5360
  return n + i;
5359
5361
  }
5360
- function es(t, e, n, r, i) {
5362
+ function ns(t, e, n, r, i) {
5361
5363
  return i !== void 0 && (t = bn(t, i, r)), bn(t, n, r) + e;
5362
5364
  }
5363
- function hr(t, e = 0, n = 1, r, i) {
5364
- t.min = es(t.min, e, n, r, i), t.max = es(t.max, e, n, r, i);
5365
+ function pr(t, e = 0, n = 1, r, i) {
5366
+ t.min = ns(t.min, e, n, r, i), t.max = ns(t.max, e, n, r, i);
5365
5367
  }
5366
- function va(t, { x: e, y: n }) {
5367
- hr(t.x, e.translate, e.scale, e.originPoint), hr(t.y, n.translate, n.scale, n.originPoint);
5368
+ function ba(t, { x: e, y: n }) {
5369
+ pr(t.x, e.translate, e.scale, e.originPoint), pr(t.y, n.translate, n.scale, n.originPoint);
5368
5370
  }
5369
- const ns = 0.999999999999, rs = 1.0000000000001;
5371
+ const rs = 0.999999999999, is = 1.0000000000001;
5370
5372
  function oh(t, e, n, r = !1) {
5371
5373
  const i = n.length;
5372
5374
  if (!i)
@@ -5379,38 +5381,38 @@ function oh(t, e, n, r = !1) {
5379
5381
  l && l.props.style && l.props.style.display === "contents" || (r && s.options.layoutScroll && s.scroll && s !== s.root && ae(t, {
5380
5382
  x: -s.scroll.offset.x,
5381
5383
  y: -s.scroll.offset.y
5382
- }), o && (e.x *= o.x.scale, e.y *= o.y.scale, va(t, o)), r && Yt(s.latestValues) && ae(t, s.latestValues));
5384
+ }), o && (e.x *= o.x.scale, e.y *= o.y.scale, ba(t, o)), r && Yt(s.latestValues) && ae(t, s.latestValues));
5383
5385
  }
5384
- e.x < rs && e.x > ns && (e.x = 1), e.y < rs && e.y > ns && (e.y = 1);
5386
+ e.x < is && e.x > rs && (e.x = 1), e.y < is && e.y > rs && (e.y = 1);
5385
5387
  }
5386
5388
  function oe(t, e) {
5387
5389
  t.min = t.min + e, t.max = t.max + e;
5388
5390
  }
5389
- function is(t, e, n, r, i = 0.5) {
5391
+ function ss(t, e, n, r, i = 0.5) {
5390
5392
  const s = U(t.min, t.max, i);
5391
- hr(t, e, n, s, r);
5393
+ pr(t, e, n, s, r);
5392
5394
  }
5393
5395
  function ae(t, e) {
5394
- is(t.x, e.x, e.scaleX, e.scale, e.originX), is(t.y, e.y, e.scaleY, e.scale, e.originY);
5396
+ ss(t.x, e.x, e.scaleX, e.scale, e.originX), ss(t.y, e.y, e.scaleY, e.scale, e.originY);
5395
5397
  }
5396
- function ba(t, e) {
5397
- return pa(Qf(t.getBoundingClientRect(), e));
5398
+ function xa(t, e) {
5399
+ return ma(Qf(t.getBoundingClientRect(), e));
5398
5400
  }
5399
5401
  function ah(t, e, n) {
5400
- const r = ba(t, n), { scroll: i } = e;
5402
+ const r = xa(t, n), { scroll: i } = e;
5401
5403
  return i && (oe(r.x, i.offset.x), oe(r.y, i.offset.y)), r;
5402
5404
  }
5403
- const ss = (t, e) => Math.abs(t - e);
5405
+ const os = (t, e) => Math.abs(t - e);
5404
5406
  function lh(t, e) {
5405
- const n = ss(t.x, e.x), r = ss(t.y, e.y);
5407
+ const n = os(t.x, e.x), r = os(t.y, e.y);
5406
5408
  return Math.sqrt(n ** 2 + r ** 2);
5407
5409
  }
5408
- class xa {
5410
+ class wa {
5409
5411
  constructor(e, n, { transformPagePoint: r, dragSnapToOrigin: i = !1 } = {}) {
5410
5412
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.updatePoint = () => {
5411
5413
  if (!(this.lastMoveEvent && this.lastMoveEventInfo))
5412
5414
  return;
5413
- const u = zn(this.lastMoveEventInfo, this.history), d = this.startEvent !== null, f = lh(u.offset, { x: 0, y: 0 }) >= 3;
5415
+ const u = Wn(this.lastMoveEventInfo, this.history), d = this.startEvent !== null, f = lh(u.offset, { x: 0, y: 0 }) >= 3;
5414
5416
  if (!d && !f)
5415
5417
  return;
5416
5418
  const { point: h } = u, { timestamp: p } = H;
@@ -5424,21 +5426,21 @@ class xa {
5424
5426
  return;
5425
5427
  } catch {
5426
5428
  }
5427
- this.lastMoveEvent = u, this.lastMoveEventInfo = Un(d, this.transformPagePoint), j.update(this.updatePoint, !0);
5429
+ this.lastMoveEvent = u, this.lastMoveEventInfo = zn(d, this.transformPagePoint), N.update(this.updatePoint, !0);
5428
5430
  }, this.handlePointerUp = (u, d) => {
5429
5431
  gn(u, "release"), this.end();
5430
5432
  const { onEnd: f, onSessionEnd: h, resumeAnimation: p } = this.handlers;
5431
5433
  if (this.dragSnapToOrigin && p && p(), !(this.lastMoveEvent && this.lastMoveEventInfo))
5432
5434
  return;
5433
- const g = zn(u.type === "pointercancel" || u.type === "lostpointercapture" ? this.lastMoveEventInfo : Un(d, this.transformPagePoint), this.history);
5435
+ const g = Wn(u.type === "pointercancel" || u.type === "lostpointercapture" ? this.lastMoveEventInfo : zn(d, this.transformPagePoint), this.history);
5434
5436
  this.startEvent && f && f(u, g), h && h(u, g);
5435
- }, !Nr(e))
5437
+ }, !Ur(e))
5436
5438
  return;
5437
5439
  this.dragSnapToOrigin = i, this.handlers = n, this.transformPagePoint = r;
5438
- const s = Ge(e), o = Un(s, this.transformPagePoint), { point: a } = o, { timestamp: l } = H;
5440
+ const s = Ge(e), o = zn(s, this.transformPagePoint), { point: a } = o, { timestamp: l } = H;
5439
5441
  this.history = [{ ...a, timestamp: l }];
5440
5442
  const { onSessionStart: c } = n;
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
+ 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));
5442
5444
  }
5443
5445
  updateHandlers(e) {
5444
5446
  this.handlers = e;
@@ -5447,31 +5449,31 @@ class xa {
5447
5449
  this.removeListeners && this.removeListeners(), Ut(this.updatePoint);
5448
5450
  }
5449
5451
  }
5450
- function Un(t, e) {
5452
+ function zn(t, e) {
5451
5453
  return e ? { point: e(t.point) } : t;
5452
5454
  }
5453
- function os(t, e) {
5455
+ function as(t, e) {
5454
5456
  return { x: t.x - e.x, y: t.y - e.y };
5455
5457
  }
5456
- function zn({ point: t }, e) {
5458
+ function Wn({ point: t }, e) {
5457
5459
  return {
5458
5460
  point: t,
5459
- delta: os(t, wa(e)),
5460
- offset: os(t, ch(e)),
5461
+ delta: as(t, Sa(e)),
5462
+ offset: as(t, ch(e)),
5461
5463
  velocity: uh(e, 0.1)
5462
5464
  };
5463
5465
  }
5464
5466
  function ch(t) {
5465
5467
  return t[0];
5466
5468
  }
5467
- function wa(t) {
5469
+ function Sa(t) {
5468
5470
  return t[t.length - 1];
5469
5471
  }
5470
5472
  function uh(t, e) {
5471
5473
  if (t.length < 2)
5472
5474
  return { x: 0, y: 0 };
5473
5475
  let n = t.length - 1, r = null;
5474
- const i = wa(t);
5476
+ const i = Sa(t);
5475
5477
  for (; n >= 0 && (r = t[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Vt(e))); )
5476
5478
  n--;
5477
5479
  if (!r)
@@ -5488,7 +5490,7 @@ function uh(t, e) {
5488
5490
  function dh(t, { min: e, max: n }, r) {
5489
5491
  return e !== void 0 && t < e ? t = r ? U(e, t, r.min) : Math.max(t, e) : n !== void 0 && t > n && (t = r ? U(n, t, r.max) : Math.min(t, n)), t;
5490
5492
  }
5491
- function as(t, e, n) {
5493
+ function ls(t, e, n) {
5492
5494
  return {
5493
5495
  min: e !== void 0 ? t.min + e : void 0,
5494
5496
  max: n !== void 0 ? t.max + n - (t.max - t.min) : void 0
@@ -5496,18 +5498,18 @@ function as(t, e, n) {
5496
5498
  }
5497
5499
  function fh(t, { top: e, left: n, bottom: r, right: i }) {
5498
5500
  return {
5499
- x: as(t.x, n, i),
5500
- y: as(t.y, e, r)
5501
+ x: ls(t.x, n, i),
5502
+ y: ls(t.y, e, r)
5501
5503
  };
5502
5504
  }
5503
- function ls(t, e) {
5505
+ function cs(t, e) {
5504
5506
  let n = e.min - t.min, r = e.max - t.max;
5505
5507
  return e.max - e.min < t.max - t.min && ([n, r] = [r, n]), { min: n, max: r };
5506
5508
  }
5507
5509
  function hh(t, e) {
5508
5510
  return {
5509
- x: ls(t.x, e.x),
5510
- y: ls(t.y, e.y)
5511
+ x: cs(t.x, e.x),
5512
+ y: cs(t.y, e.y)
5511
5513
  };
5512
5514
  }
5513
5515
  function ph(t, e) {
@@ -5519,20 +5521,20 @@ function mh(t, e) {
5519
5521
  const n = {};
5520
5522
  return e.min !== void 0 && (n.min = e.min - t.min), e.max !== void 0 && (n.max = e.max - t.min), n;
5521
5523
  }
5522
- const pr = 0.35;
5523
- function gh(t = pr) {
5524
- return t === !1 ? t = 0 : t === !0 && (t = pr), {
5525
- x: cs(t, "left", "right"),
5526
- y: cs(t, "top", "bottom")
5524
+ const mr = 0.35;
5525
+ function gh(t = mr) {
5526
+ return t === !1 ? t = 0 : t === !0 && (t = mr), {
5527
+ x: us(t, "left", "right"),
5528
+ y: us(t, "top", "bottom")
5527
5529
  };
5528
5530
  }
5529
- function cs(t, e, n) {
5531
+ function us(t, e, n) {
5530
5532
  return {
5531
- min: us(t, e),
5532
- max: us(t, n)
5533
+ min: ds(t, e),
5534
+ max: ds(t, n)
5533
5535
  };
5534
5536
  }
5535
- function us(t, e) {
5537
+ function ds(t, e) {
5536
5538
  return typeof t == "number" ? t : t[e] || 0;
5537
5539
  }
5538
5540
  const yh = /* @__PURE__ */ new WeakMap();
@@ -5561,7 +5563,7 @@ class vh {
5561
5563
  }
5562
5564
  }
5563
5565
  this.originPoint[x] = v;
5564
- }), p && j.postRender(() => p(u, d)), ir(this.visualElement, "transform");
5566
+ }), p && N.postRender(() => p(u, d)), sr(this.visualElement, "transform");
5565
5567
  const { animationState: g } = this.visualElement;
5566
5568
  g && g.setActive("whileDrag", !0);
5567
5569
  }, o = (u, d) => {
@@ -5578,7 +5580,7 @@ class vh {
5578
5580
  var d;
5579
5581
  return this.getAnimationState(u) === "paused" && ((d = this.getAxisMotionValue(u).animation) === null || d === void 0 ? void 0 : d.play());
5580
5582
  }), { dragSnapToOrigin: c } = this.getProps();
5581
- this.panSession = new xa(e, {
5583
+ this.panSession = new wa(e, {
5582
5584
  onSessionStart: i,
5583
5585
  onStart: s,
5584
5586
  onMove: o,
@@ -5596,7 +5598,7 @@ class vh {
5596
5598
  const { velocity: i } = n;
5597
5599
  this.startAnimation(i);
5598
5600
  const { onDragEnd: s } = this.getProps();
5599
- s && j.postRender(() => s(e, n));
5601
+ s && N.postRender(() => s(e, n));
5600
5602
  }
5601
5603
  cancel() {
5602
5604
  this.isDragging = !1;
@@ -5633,7 +5635,7 @@ class vh {
5633
5635
  let o = hh(i.layout.layoutBox, s);
5634
5636
  if (n) {
5635
5637
  const a = n(Jf(o));
5636
- this.hasMutatedConstraints = !!a, a && (o = pa(a));
5638
+ this.hasMutatedConstraints = !!a, a && (o = ma(a));
5637
5639
  }
5638
5640
  return o;
5639
5641
  }
@@ -5660,7 +5662,7 @@ class vh {
5660
5662
  }
5661
5663
  startAxisValueAnimation(e, n) {
5662
5664
  const r = this.getAxisMotionValue(e);
5663
- return ir(this.visualElement, e), r.start(ti(e, r, 0, n, this.visualElement, !1));
5665
+ return sr(this.visualElement, e), r.start(ei(e, r, 0, n, this.visualElement, !1));
5664
5666
  }
5665
5667
  stopAnimation() {
5666
5668
  gt((e) => this.getAxisMotionValue(e).stop());
@@ -5736,8 +5738,8 @@ class vh {
5736
5738
  const { dragConstraints: l } = this.getProps();
5737
5739
  ne(l) && l.current && (this.constraints = this.resolveRefConstraints());
5738
5740
  }, { projection: i } = this.visualElement, s = i.addEventListener("measure", r);
5739
- i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), j.read(r);
5740
- const o = Ne(window, "resize", () => this.scalePositionWithinConstraints()), a = i.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: c }) => {
5741
+ i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), N.read(r);
5742
+ const o = je(window, "resize", () => this.scalePositionWithinConstraints()), a = i.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: c }) => {
5741
5743
  this.isDragging && c && (gt((u) => {
5742
5744
  const d = this.getAxisMotionValue(u);
5743
5745
  d && (this.originPoint[u] += l[u].translate, d.set(d.get() + l[u].translate));
@@ -5748,7 +5750,7 @@ class vh {
5748
5750
  };
5749
5751
  }
5750
5752
  getProps() {
5751
- const e = this.visualElement.getProps(), { drag: n = !1, dragDirectionLock: r = !1, dragPropagation: i = !1, dragConstraints: s = !1, dragElastic: o = pr, dragMomentum: a = !0 } = e;
5753
+ const e = this.visualElement.getProps(), { drag: n = !1, dragDirectionLock: r = !1, dragPropagation: i = !1, dragConstraints: s = !1, dragElastic: o = mr, dragMomentum: a = !0 } = e;
5752
5754
  return {
5753
5755
  ...e,
5754
5756
  drag: n,
@@ -5779,26 +5781,26 @@ class xh extends Wt {
5779
5781
  this.removeGroupControls(), this.removeListeners();
5780
5782
  }
5781
5783
  }
5782
- const ds = (t) => (e, n) => {
5783
- t && j.postRender(() => t(e, n));
5784
+ const fs = (t) => (e, n) => {
5785
+ t && N.postRender(() => t(e, n));
5784
5786
  };
5785
5787
  class wh extends Wt {
5786
5788
  constructor() {
5787
5789
  super(...arguments), this.removePointerDownListener = ct;
5788
5790
  }
5789
5791
  onPointerDown(e) {
5790
- this.session = new xa(e, this.createPanHandlers(), {
5792
+ this.session = new wa(e, this.createPanHandlers(), {
5791
5793
  transformPagePoint: this.node.getTransformPagePoint()
5792
5794
  });
5793
5795
  }
5794
5796
  createPanHandlers() {
5795
5797
  const { onPanSessionStart: e, onPanStart: n, onPan: r, onPanEnd: i } = this.node.getProps();
5796
5798
  return {
5797
- onSessionStart: ds(e),
5798
- onStart: ds(n),
5799
+ onSessionStart: fs(e),
5800
+ onStart: fs(n),
5799
5801
  onMove: r,
5800
5802
  onEnd: (s, o) => {
5801
- delete this.session, i && j.postRender(() => i(s, o));
5803
+ delete this.session, i && N.postRender(() => i(s, o));
5802
5804
  }
5803
5805
  };
5804
5806
  }
@@ -5824,7 +5826,7 @@ const cn = {
5824
5826
  */
5825
5827
  hasEverUpdated: !1
5826
5828
  };
5827
- function fs(t, e) {
5829
+ function hs(t, e) {
5828
5830
  return e.max === e.min ? 0 : t / (e.max - e.min) * 100;
5829
5831
  }
5830
5832
  const Se = {
@@ -5836,7 +5838,7 @@ const Se = {
5836
5838
  t = parseFloat(t);
5837
5839
  else
5838
5840
  return t;
5839
- const n = fs(t, e.target.x), r = fs(t, e.target.y);
5841
+ const n = hs(t, e.target.x), r = hs(t, e.target.y);
5840
5842
  return `${n}% ${r}%`;
5841
5843
  }
5842
5844
  }, Sh = {
@@ -5850,7 +5852,7 @@ const Se = {
5850
5852
  return typeof i[2 + o] == "number" && (i[2 + o] /= c), typeof i[3 + o] == "number" && (i[3 + o] /= c), s(i);
5851
5853
  }
5852
5854
  };
5853
- class Th extends Za {
5855
+ class Th extends Ja {
5854
5856
  /**
5855
5857
  * This only mounts projection nodes for components that
5856
5858
  * need measuring, we might want to do it for all components
@@ -5867,14 +5869,14 @@ class Th extends Za {
5867
5869
  }
5868
5870
  getSnapshotBeforeUpdate(e) {
5869
5871
  const { layoutDependency: n, visualElement: r, drag: i, isPresent: s } = this.props, o = r.projection;
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() || j.postRender(() => {
5872
+ 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(() => {
5871
5873
  const a = o.getStack();
5872
5874
  (!a || !a.members.length) && this.safeToRemove();
5873
5875
  }))), null;
5874
5876
  }
5875
5877
  componentDidUpdate() {
5876
5878
  const { projection: e } = this.props.visualElement;
5877
- e && (e.root.didUpdate(), Vr.postRender(() => {
5879
+ e && (e.root.didUpdate(), Rr.postRender(() => {
5878
5880
  !e.currentAnimation && e.isLead() && this.safeToRemove();
5879
5881
  }));
5880
5882
  }
@@ -5890,9 +5892,9 @@ class Th extends Za {
5890
5892
  return null;
5891
5893
  }
5892
5894
  }
5893
- function Sa(t) {
5894
- const [e, n] = au(), r = rt(eo);
5895
- return Fs(Th, { ...t, layoutGroup: r, switchLayoutGroup: rt(uo), isPresent: e, safeToRemove: n });
5895
+ function Ta(t) {
5896
+ const [e, n] = au(), r = rt(no);
5897
+ return Bs(Th, { ...t, layoutGroup: r, switchLayoutGroup: rt(fo), isPresent: e, safeToRemove: n });
5896
5898
  }
5897
5899
  const Ch = {
5898
5900
  borderRadius: {
@@ -5912,7 +5914,7 @@ const Ch = {
5912
5914
  };
5913
5915
  function Ph(t, e, n) {
5914
5916
  const r = J(t) ? t : Ie(t);
5915
- return r.start(ti("", r, e, n)), r.animation;
5917
+ return r.start(ei("", r, e, n)), r.animation;
5916
5918
  }
5917
5919
  function Ah(t) {
5918
5920
  return t instanceof SVGElement && t.tagName !== "svg";
@@ -5923,10 +5925,10 @@ class Rh {
5923
5925
  this.children = [], this.isDirty = !1;
5924
5926
  }
5925
5927
  add(e) {
5926
- Ur(this.children, e), this.isDirty = !0;
5928
+ zr(this.children, e), this.isDirty = !0;
5927
5929
  }
5928
5930
  remove(e) {
5929
- zr(this.children, e), this.isDirty = !0;
5931
+ Wr(this.children, e), this.isDirty = !0;
5930
5932
  }
5931
5933
  forEach(e) {
5932
5934
  this.isDirty && this.children.sort(Vh), this.isDirty = !1, this.children.forEach(e);
@@ -5937,9 +5939,9 @@ function Eh(t, e) {
5937
5939
  const s = i - n;
5938
5940
  s >= e && (Ut(r), t(s - e));
5939
5941
  };
5940
- return j.read(r, !0), () => Ut(r);
5942
+ return N.read(r, !0), () => Ut(r);
5941
5943
  }
5942
- const Ta = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Mh = Ta.length, hs = (t) => typeof t == "string" ? parseFloat(t) : t, ps = (t) => typeof t == "number" || M.test(t);
5944
+ const Ca = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Mh = Ca.length, ps = (t) => typeof t == "string" ? parseFloat(t) : t, ms = (t) => typeof t == "number" || M.test(t);
5943
5945
  function kh(t, e, n, r, i, s) {
5944
5946
  i ? (t.opacity = U(
5945
5947
  0,
@@ -5948,68 +5950,68 @@ function kh(t, e, n, r, i, s) {
5948
5950
  Dh(r)
5949
5951
  ), t.opacityExit = U(e.opacity !== void 0 ? e.opacity : 1, 0, _h(r))) : s && (t.opacity = U(e.opacity !== void 0 ? e.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, r));
5950
5952
  for (let o = 0; o < Mh; o++) {
5951
- const a = `border${Ta[o]}Radius`;
5952
- let l = ms(e, a), c = ms(n, a);
5953
+ const a = `border${Ca[o]}Radius`;
5954
+ let l = gs(e, a), c = gs(n, a);
5953
5955
  if (l === void 0 && c === void 0)
5954
5956
  continue;
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
+ l || (l = 0), c || (c = 0), l === 0 || c === 0 || ms(l) === ms(c) ? (t[a] = Math.max(U(ps(l), ps(c), r), 0), (Rt.test(c) || Rt.test(l)) && (t[a] += "%")) : t[a] = c;
5956
5958
  }
5957
5959
  (e.rotate || n.rotate) && (t.rotate = U(e.rotate || 0, n.rotate || 0, r));
5958
5960
  }
5959
- function ms(t, e) {
5961
+ function gs(t, e) {
5960
5962
  return t[e] !== void 0 ? t[e] : t.borderRadius;
5961
5963
  }
5962
- const Dh = /* @__PURE__ */ Ca(0, 0.5, No), _h = /* @__PURE__ */ Ca(0.5, 0.95, ct);
5963
- function Ca(t, e, n) {
5964
+ const Dh = /* @__PURE__ */ Pa(0, 0.5, Uo), _h = /* @__PURE__ */ Pa(0.5, 0.95, ct);
5965
+ function Pa(t, e, n) {
5964
5966
  return (r) => r < t ? 0 : r > e ? 1 : n(/* @__PURE__ */ de(t, e, r));
5965
5967
  }
5966
- function gs(t, e) {
5968
+ function ys(t, e) {
5967
5969
  t.min = e.min, t.max = e.max;
5968
5970
  }
5969
5971
  function mt(t, e) {
5970
- gs(t.x, e.x), gs(t.y, e.y);
5972
+ ys(t.x, e.x), ys(t.y, e.y);
5971
5973
  }
5972
- function ys(t, e) {
5974
+ function vs(t, e) {
5973
5975
  t.translate = e.translate, t.scale = e.scale, t.originPoint = e.originPoint, t.origin = e.origin;
5974
5976
  }
5975
- function vs(t, e, n, r, i) {
5977
+ function bs(t, e, n, r, i) {
5976
5978
  return t -= e, t = bn(t, 1 / n, r), i !== void 0 && (t = bn(t, 1 / i, r)), t;
5977
5979
  }
5978
5980
  function Lh(t, e = 0, n = 1, r = 0.5, i, s = t, o = t) {
5979
5981
  if (Rt.test(e) && (e = parseFloat(e), e = U(o.min, o.max, e / 100) - o.min), typeof e != "number")
5980
5982
  return;
5981
5983
  let a = U(s.min, s.max, r);
5982
- t === s && (a -= e), t.min = vs(t.min, e, n, a, i), t.max = vs(t.max, e, n, a, i);
5984
+ t === s && (a -= e), t.min = bs(t.min, e, n, a, i), t.max = bs(t.max, e, n, a, i);
5983
5985
  }
5984
- function bs(t, e, [n, r, i], s, o) {
5986
+ function xs(t, e, [n, r, i], s, o) {
5985
5987
  Lh(t, e[n], e[r], e[i], e.scale, s, o);
5986
5988
  }
5987
5989
  const $h = ["x", "scaleX", "originX"], Oh = ["y", "scaleY", "originY"];
5988
- function xs(t, e, n, r) {
5989
- bs(t.x, e, $h, n ? n.x : void 0, r ? r.x : void 0), bs(t.y, e, Oh, n ? n.y : void 0, r ? r.y : void 0);
5990
+ function ws(t, e, n, r) {
5991
+ xs(t.x, e, $h, n ? n.x : void 0, r ? r.x : void 0), xs(t.y, e, Oh, n ? n.y : void 0, r ? r.y : void 0);
5990
5992
  }
5991
- function ws(t) {
5993
+ function Ss(t) {
5992
5994
  return t.translate === 0 && t.scale === 1;
5993
5995
  }
5994
- function Pa(t) {
5995
- return ws(t.x) && ws(t.y);
5996
+ function Aa(t) {
5997
+ return Ss(t.x) && Ss(t.y);
5996
5998
  }
5997
- function Ss(t, e) {
5999
+ function Ts(t, e) {
5998
6000
  return t.min === e.min && t.max === e.max;
5999
6001
  }
6000
6002
  function Fh(t, e) {
6001
- return Ss(t.x, e.x) && Ss(t.y, e.y);
6003
+ return Ts(t.x, e.x) && Ts(t.y, e.y);
6002
6004
  }
6003
- function Ts(t, e) {
6005
+ function Cs(t, e) {
6004
6006
  return Math.round(t.min) === Math.round(e.min) && Math.round(t.max) === Math.round(e.max);
6005
6007
  }
6006
- function Aa(t, e) {
6007
- return Ts(t.x, e.x) && Ts(t.y, e.y);
6008
+ function Va(t, e) {
6009
+ return Cs(t.x, e.x) && Cs(t.y, e.y);
6008
6010
  }
6009
- function Cs(t) {
6011
+ function Ps(t) {
6010
6012
  return it(t.x) / it(t.y);
6011
6013
  }
6012
- function Ps(t, e) {
6014
+ function As(t, e) {
6013
6015
  return t.translate === e.translate && t.scale === e.scale && t.originPoint === e.originPoint;
6014
6016
  }
6015
6017
  class Bh {
@@ -6017,10 +6019,10 @@ class Bh {
6017
6019
  this.members = [];
6018
6020
  }
6019
6021
  add(e) {
6020
- Ur(this.members, e), e.scheduleRender();
6022
+ zr(this.members, e), e.scheduleRender();
6021
6023
  }
6022
6024
  remove(e) {
6023
- if (zr(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
6025
+ if (Wr(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
6024
6026
  const n = this.members[this.members.length - 1];
6025
6027
  n && this.promote(n);
6026
6028
  }
@@ -6076,30 +6078,30 @@ function Ih(t, e, n) {
6076
6078
  const a = t.x.scale * e.x, l = t.y.scale * e.y;
6077
6079
  return (a !== 1 || l !== 1) && (r += `scale(${a}, ${l})`), r || "none";
6078
6080
  }
6079
- const Wn = ["", "X", "Y", "Z"], jh = { visibility: "hidden" }, As = 1e3;
6080
- let Nh = 0;
6081
- function qn(t, e, n, r) {
6081
+ const qn = ["", "X", "Y", "Z"], Nh = { visibility: "hidden" }, Vs = 1e3;
6082
+ let jh = 0;
6083
+ function Gn(t, e, n, r) {
6082
6084
  const { latestValues: i } = e;
6083
6085
  i[t] && (n[t] = i[t], e.setStaticValue(t, 0), r && (r[t] = 0));
6084
6086
  }
6085
- function Va(t) {
6087
+ function Ra(t) {
6086
6088
  if (t.hasCheckedOptimisedAppear = !0, t.root === t)
6087
6089
  return;
6088
6090
  const { visualElement: e } = t.options;
6089
6091
  if (!e)
6090
6092
  return;
6091
- const n = Lo(e);
6093
+ const n = $o(e);
6092
6094
  if (window.MotionHasOptimisedAnimation(n, "transform")) {
6093
6095
  const { layout: i, layoutId: s } = t.options;
6094
- window.MotionCancelOptimisedAnimation(n, "transform", j, !(i || s));
6096
+ window.MotionCancelOptimisedAnimation(n, "transform", N, !(i || s));
6095
6097
  }
6096
6098
  const { parent: r } = t;
6097
- r && !r.hasCheckedOptimisedAppear && Va(r);
6099
+ r && !r.hasCheckedOptimisedAppear && Ra(r);
6098
6100
  }
6099
- function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
6101
+ function Ea({ attachResizeListener: t, defaultParent: e, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
6100
6102
  return class {
6101
6103
  constructor(o = {}, a = e == null ? void 0 : e()) {
6102
- this.id = Nh++, 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
+ this.id = jh++, 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 = () => {
6103
6105
  this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
6104
6106
  }, this.updateProjection = () => {
6105
6107
  this.projectionUpdateScheduled = !1, this.nodes.forEach(Wh), this.nodes.forEach(Yh), this.nodes.forEach(Xh), this.nodes.forEach(qh);
@@ -6109,7 +6111,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6109
6111
  this.root === this && (this.nodes = new Rh());
6110
6112
  }
6111
6113
  addEventListener(o, a) {
6112
- return this.eventHandlers.has(o) || this.eventHandlers.set(o, new Wr()), this.eventHandlers.get(o).add(a);
6114
+ return this.eventHandlers.has(o) || this.eventHandlers.set(o, new qr()), this.eventHandlers.get(o).add(a);
6113
6115
  }
6114
6116
  notifyListeners(o, ...a) {
6115
6117
  const l = this.eventHandlers.get(o);
@@ -6130,7 +6132,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6130
6132
  let d;
6131
6133
  const f = () => this.root.updateBlockedByResize = !1;
6132
6134
  t(o, () => {
6133
- this.root.updateBlockedByResize = !0, d && d(), d = Eh(f, 250), cn.hasAnimatedSinceResize && (cn.hasAnimatedSinceResize = !1, this.nodes.forEach(Rs));
6135
+ this.root.updateBlockedByResize = !0, d && d(), d = Eh(f, 250), cn.hasAnimatedSinceResize && (cn.hasAnimatedSinceResize = !1, this.nodes.forEach(Es));
6134
6136
  });
6135
6137
  }
6136
6138
  l && this.root.registerSharedNode(l, this), this.options.animate !== !1 && u && (l || c) && this.addEventListener("didUpdate", ({ delta: d, hasLayoutChanged: f, hasRelativeLayoutChanged: h, layout: p }) => {
@@ -6138,17 +6140,17 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6138
6140
  this.target = void 0, this.relativeTarget = void 0;
6139
6141
  return;
6140
6142
  }
6141
- const g = this.options.transition || u.getDefaultTransition() || ep, { onLayoutAnimationStart: x, onLayoutAnimationComplete: v } = u.getProps(), w = !this.targetLayout || !Aa(this.targetLayout, p), S = !f && h;
6143
+ const g = this.options.transition || u.getDefaultTransition() || ep, { onLayoutAnimationStart: x, onLayoutAnimationComplete: v } = u.getProps(), w = !this.targetLayout || !Va(this.targetLayout, p), S = !f && h;
6142
6144
  if (this.options.layoutRoot || this.resumeFrom || S || f && (w || !this.currentAnimation)) {
6143
6145
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(d, S);
6144
6146
  const P = {
6145
- ...Br(g, "layout"),
6147
+ ...Ir(g, "layout"),
6146
6148
  onPlay: x,
6147
6149
  onComplete: v
6148
6150
  };
6149
6151
  (u.shouldReduceMotion || this.options.layoutRoot) && (P.delay = 0, P.type = !1), this.startAnimation(P);
6150
6152
  } else
6151
- f || Rs(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
6153
+ f || Es(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
6152
6154
  this.targetLayout = p;
6153
6155
  });
6154
6156
  }
@@ -6183,7 +6185,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6183
6185
  this.options.onExitComplete && this.options.onExitComplete();
6184
6186
  return;
6185
6187
  }
6186
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && Va(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty)
6188
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && Ra(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty)
6187
6189
  return;
6188
6190
  this.isLayoutDirty = !0;
6189
6191
  for (let u = 0; u < this.path.length; u++) {
@@ -6198,24 +6200,24 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6198
6200
  }
6199
6201
  update() {
6200
6202
  if (this.updateScheduled = !1, this.isUpdateBlocked()) {
6201
- this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Vs);
6203
+ this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Rs);
6202
6204
  return;
6203
6205
  }
6204
6206
  this.isUpdating || this.nodes.forEach(Hh), this.isUpdating = !1, this.nodes.forEach(Kh), this.nodes.forEach(Uh), this.nodes.forEach(zh), this.clearAllSnapshots();
6205
6207
  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
+ H.delta = Lt(0, 1e3 / 60, a - H.timestamp), H.timestamp = a, H.isProcessing = !0, Fn.update.process(H), Fn.preRender.process(H), Fn.render.process(H), H.isProcessing = !1;
6207
6209
  }
6208
6210
  didUpdate() {
6209
- this.updateScheduled || (this.updateScheduled = !0, Vr.read(this.scheduleUpdate));
6211
+ this.updateScheduled || (this.updateScheduled = !0, Rr.read(this.scheduleUpdate));
6210
6212
  }
6211
6213
  clearAllSnapshots() {
6212
6214
  this.nodes.forEach(Gh), this.sharedNodes.forEach(Jh);
6213
6215
  }
6214
6216
  scheduleUpdateProjection() {
6215
- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, j.preRender(this.updateProjection, !1, !0));
6217
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, N.preRender(this.updateProjection, !1, !0));
6216
6218
  }
6217
6219
  scheduleCheckAfterUnmount() {
6218
- j.postRender(() => {
6220
+ N.postRender(() => {
6219
6221
  this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
6220
6222
  });
6221
6223
  }
@@ -6252,7 +6254,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6252
6254
  resetTransform() {
6253
6255
  if (!i)
6254
6256
  return;
6255
- const o = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, a = this.projectionDelta && !Pa(this.projectionDelta), l = this.getTransformTemplate(), c = l ? l(this.latestValues, "") : void 0, u = c !== this.prevTransformTemplateValue;
6257
+ const o = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, a = this.projectionDelta && !Aa(this.projectionDelta), l = this.getTransformTemplate(), c = l ? l(this.latestValues, "") : void 0, u = c !== this.prevTransformTemplateValue;
6256
6258
  o && (a || Yt(this.latestValues) || u) && (i(this.instance, c), this.shouldResetTransform = !1, this.scheduleRender());
6257
6259
  }
6258
6260
  measure(o = !0) {
@@ -6308,11 +6310,11 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6308
6310
  const c = this.path[l];
6309
6311
  if (!c.instance || !Yt(c.latestValues))
6310
6312
  continue;
6311
- fr(c.latestValues) && c.updateSnapshot();
6313
+ hr(c.latestValues) && c.updateSnapshot();
6312
6314
  const u = W(), d = c.measurePageBox();
6313
- mt(u, d), xs(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
6315
+ mt(u, d), ws(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
6314
6316
  }
6315
- return Yt(this.latestValues) && xs(a, this.latestValues), a;
6317
+ return Yt(this.latestValues) && ws(a, this.latestValues), a;
6316
6318
  }
6317
6319
  setTargetDelta(o) {
6318
6320
  this.targetDelta = o, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -6343,7 +6345,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6343
6345
  const h = this.getClosestProjectingParent();
6344
6346
  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;
6345
6347
  }
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(), sh(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
+ if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = W(), this.targetWithTransforms = W()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), sh(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : mt(this.target, this.layout.layoutBox), ba(this.target, this.targetDelta)) : mt(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget)) {
6347
6349
  this.attemptToResolveRelativeTarget = !1;
6348
6350
  const h = this.getClosestProjectingParent();
6349
6351
  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,7 +6353,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6351
6353
  }
6352
6354
  }
6353
6355
  getClosestProjectingParent() {
6354
- if (!(!this.parent || fr(this.parent.latestValues) || ya(this.parent.latestValues)))
6356
+ if (!(!this.parent || hr(this.parent.latestValues) || va(this.parent.latestValues)))
6355
6357
  return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
6356
6358
  }
6357
6359
  isProjecting() {
@@ -6374,7 +6376,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6374
6376
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
6375
6377
  return;
6376
6378
  }
6377
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (ys(this.prevProjectionDelta.x, this.projectionDelta.x), ys(this.prevProjectionDelta.y, this.projectionDelta.y)), Ee(this.projectionDelta, this.layoutCorrected, p, this.latestValues), (this.treeScale.x !== f || this.treeScale.y !== h || !Ps(this.projectionDelta.x, this.prevProjectionDelta.x) || !Ps(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", p));
6379
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (vs(this.prevProjectionDelta.x, this.projectionDelta.x), vs(this.prevProjectionDelta.y, this.projectionDelta.y)), Ee(this.projectionDelta, this.layoutCorrected, p, this.latestValues), (this.treeScale.x !== f || this.treeScale.y !== h || !As(this.projectionDelta.x, this.prevProjectionDelta.x) || !As(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", p));
6378
6380
  }
6379
6381
  hide() {
6380
6382
  this.isVisible = !1;
@@ -6401,12 +6403,12 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6401
6403
  let S;
6402
6404
  this.mixTargetDelta = (P) => {
6403
6405
  const m = P / 1e3;
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), Qh(this.relativeTarget, this.relativeTargetOrigin, f, m), S && Fh(this.relativeTarget, S) && (this.isProjectionDirty = !1), S || (S = W()), mt(S, this.relativeTarget)), g && (this.animationValues = u, kh(u, c, this.latestValues, m, w, v)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = m;
6406
+ Ms(d.x, o.x, m), Ms(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), Qh(this.relativeTarget, this.relativeTargetOrigin, f, m), S && Fh(this.relativeTarget, S) && (this.isProjectionDirty = !1), S || (S = W()), mt(S, this.relativeTarget)), g && (this.animationValues = u, kh(u, c, this.latestValues, m, w, v)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = m;
6405
6407
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
6406
6408
  }
6407
6409
  startAnimation(o) {
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 = j.update(() => {
6409
- cn.hasAnimatedSinceResize = !0, this.currentAnimation = Ph(0, As, {
6410
+ 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(() => {
6411
+ cn.hasAnimatedSinceResize = !0, this.currentAnimation = Ph(0, Vs, {
6410
6412
  ...o,
6411
6413
  onUpdate: (a) => {
6412
6414
  this.mixTargetDelta(a), o.onUpdate && o.onUpdate(a);
@@ -6425,13 +6427,13 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6425
6427
  o && o.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
6426
6428
  }
6427
6429
  finishAnimation() {
6428
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(As), this.currentAnimation.stop()), this.completeAnimation();
6430
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Vs), this.currentAnimation.stop()), this.completeAnimation();
6429
6431
  }
6430
6432
  applyTransformsToTarget() {
6431
6433
  const o = this.getLead();
6432
6434
  let { targetWithTransforms: a, target: l, layout: c, latestValues: u } = o;
6433
6435
  if (!(!a || !l || !c)) {
6434
- if (this !== o && this.layout && c && Ea(this.options.animationType, this.layout.layoutBox, c.layoutBox)) {
6436
+ if (this !== o && this.layout && c && Ma(this.options.animationType, this.layout.layoutBox, c.layoutBox)) {
6435
6437
  l = this.target || W();
6436
6438
  const d = it(this.layout.layoutBox.x);
6437
6439
  l.x.min = o.target.x.min, l.x.max = l.x.min + d;
@@ -6485,9 +6487,9 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6485
6487
  if ((l.z || l.rotate || l.rotateX || l.rotateY || l.rotateZ || l.skewX || l.skewY) && (a = !0), !a)
6486
6488
  return;
6487
6489
  const c = {};
6488
- l.z && qn("z", 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);
6490
+ l.z && Gn("z", o, c, this.animationValues);
6491
+ for (let u = 0; u < qn.length; u++)
6492
+ Gn(`rotate${qn[u]}`, o, c, this.animationValues), Gn(`skew${qn[u]}`, o, c, this.animationValues);
6491
6493
  o.render();
6492
6494
  for (const u in c)
6493
6495
  o.setStaticValue(u, c[u]), this.animationValues && (this.animationValues[u] = c[u]);
@@ -6498,7 +6500,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6498
6500
  if (!this.instance || this.isSVG)
6499
6501
  return;
6500
6502
  if (!this.isVisible)
6501
- return jh;
6503
+ return Nh;
6502
6504
  const c = {
6503
6505
  visibility: ""
6504
6506
  }, u = this.getTransformTemplate();
@@ -6534,7 +6536,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6534
6536
  this.root.nodes.forEach((o) => {
6535
6537
  var a;
6536
6538
  return (a = o.currentAnimation) === null || a === void 0 ? void 0 : a.stop();
6537
- }), this.root.nodes.forEach(Vs), this.root.sharedNodes.clear();
6539
+ }), this.root.nodes.forEach(Rs), this.root.sharedNodes.clear();
6538
6540
  }
6539
6541
  };
6540
6542
  }
@@ -6549,7 +6551,7 @@ function zh(t) {
6549
6551
  s === "size" ? gt((d) => {
6550
6552
  const f = o ? n.measuredBox[d] : n.layoutBox[d], h = it(f);
6551
6553
  f.min = r[d].min, f.max = f.min + h;
6552
- }) : Ea(s, n.layoutBox, r) && gt((d) => {
6554
+ }) : Ma(s, n.layoutBox, r) && gt((d) => {
6553
6555
  const f = o ? n.measuredBox[d] : n.layoutBox[d], h = it(r[d]);
6554
6556
  f.max = f.min + h, t.relativeTarget && !t.currentAnimation && (t.isProjectionDirty = !0, t.relativeTarget[d].max = t.relativeTarget[d].min + h);
6555
6557
  });
@@ -6557,7 +6559,7 @@ function zh(t) {
6557
6559
  Ee(a, r, n.layoutBox);
6558
6560
  const l = se();
6559
6561
  o ? Ee(l, t.applyTransform(i, !0), n.measuredBox) : Ee(l, r, n.layoutBox);
6560
- const c = !Pa(a);
6562
+ const c = !Aa(a);
6561
6563
  let u = !1;
6562
6564
  if (!t.resumeFrom) {
6563
6565
  const d = t.getClosestProjectingParent();
@@ -6567,7 +6569,7 @@ function zh(t) {
6567
6569
  const p = W();
6568
6570
  Me(p, n.layoutBox, f.layoutBox);
6569
6571
  const g = W();
6570
- Me(g, r, h.layoutBox), Aa(p, g) || (u = !0), d.options.layoutRoot && (t.relativeTarget = g, t.relativeTargetOrigin = p, t.relativeParent = d);
6572
+ Me(g, r, h.layoutBox), Va(p, g) || (u = !0), d.options.layoutRoot && (t.relativeTarget = g, t.relativeTargetOrigin = p, t.relativeParent = d);
6571
6573
  }
6572
6574
  }
6573
6575
  }
@@ -6594,7 +6596,7 @@ function qh(t) {
6594
6596
  function Gh(t) {
6595
6597
  t.clearSnapshot();
6596
6598
  }
6597
- function Vs(t) {
6599
+ function Rs(t) {
6598
6600
  t.clearMeasurements();
6599
6601
  }
6600
6602
  function Hh(t) {
@@ -6604,7 +6606,7 @@ function Kh(t) {
6604
6606
  const { visualElement: e } = t.options;
6605
6607
  e && e.getProps().onBeforeLayoutMeasure && e.notify("BeforeLayoutMeasure"), t.resetTransform();
6606
6608
  }
6607
- function Rs(t) {
6609
+ function Es(t) {
6608
6610
  t.finishAnimation(), t.targetDelta = t.relativeTarget = t.target = void 0, t.isProjectionDirty = !0;
6609
6611
  }
6610
6612
  function Yh(t) {
@@ -6619,14 +6621,14 @@ function Zh(t) {
6619
6621
  function Jh(t) {
6620
6622
  t.removeLeadSnapshot();
6621
6623
  }
6622
- function Es(t, e, n) {
6624
+ function Ms(t, e, n) {
6623
6625
  t.translate = U(e.translate, 0, n), t.scale = U(e.scale, 1, n), t.origin = e.origin, t.originPoint = e.originPoint;
6624
6626
  }
6625
- function Ms(t, e, n, r) {
6627
+ function ks(t, e, n, r) {
6626
6628
  t.min = U(e.min, n.min, r), t.max = U(e.max, n.max, r);
6627
6629
  }
6628
6630
  function Qh(t, e, n, r) {
6629
- Ms(t.x, e.x, n.x, r), Ms(t.y, e.y, n.y, r);
6631
+ ks(t.x, e.x, n.x, r), ks(t.y, e.y, n.y, r);
6630
6632
  }
6631
6633
  function tp(t) {
6632
6634
  return t.animationValues && t.animationValues.opacityExit !== void 0;
@@ -6634,40 +6636,40 @@ function tp(t) {
6634
6636
  const ep = {
6635
6637
  duration: 0.45,
6636
6638
  ease: [0.4, 0, 0.1, 1]
6637
- }, ks = (t) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(t), Ds = ks("applewebkit/") && !ks("chrome/") ? Math.round : ct;
6638
- function _s(t) {
6639
- t.min = Ds(t.min), t.max = Ds(t.max);
6639
+ }, Ds = (t) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(t), _s = Ds("applewebkit/") && !Ds("chrome/") ? Math.round : ct;
6640
+ function Ls(t) {
6641
+ t.min = _s(t.min), t.max = _s(t.max);
6640
6642
  }
6641
6643
  function np(t) {
6642
- _s(t.x), _s(t.y);
6644
+ Ls(t.x), Ls(t.y);
6643
6645
  }
6644
- function Ea(t, e, n) {
6645
- return t === "position" || t === "preserve-aspect" && !ih(Cs(e), Cs(n), 0.2);
6646
+ function Ma(t, e, n) {
6647
+ return t === "position" || t === "preserve-aspect" && !ih(Ps(e), Ps(n), 0.2);
6646
6648
  }
6647
6649
  function rp(t) {
6648
6650
  var e;
6649
6651
  return t !== t.root && ((e = t.scroll) === null || e === void 0 ? void 0 : e.wasRoot);
6650
6652
  }
6651
- const ip = Ra({
6652
- attachResizeListener: (t, e) => Ne(t, "resize", e),
6653
+ const ip = Ea({
6654
+ attachResizeListener: (t, e) => je(t, "resize", e),
6653
6655
  measureScroll: () => ({
6654
6656
  x: document.documentElement.scrollLeft || document.body.scrollLeft,
6655
6657
  y: document.documentElement.scrollTop || document.body.scrollTop
6656
6658
  }),
6657
6659
  checkIsScrollRoot: () => !0
6658
- }), Gn = {
6660
+ }), Hn = {
6659
6661
  current: void 0
6660
- }, Ma = Ra({
6662
+ }, ka = Ea({
6661
6663
  measureScroll: (t) => ({
6662
6664
  x: t.scrollLeft,
6663
6665
  y: t.scrollTop
6664
6666
  }),
6665
6667
  defaultParent: () => {
6666
- if (!Gn.current) {
6668
+ if (!Hn.current) {
6667
6669
  const t = new ip({});
6668
- t.mount(window), t.setOptions({ layoutScroll: !0 }), Gn.current = t;
6670
+ t.mount(window), t.setOptions({ layoutScroll: !0 }), Hn.current = t;
6669
6671
  }
6670
- return Gn.current;
6672
+ return Hn.current;
6671
6673
  },
6672
6674
  resetTransform: (t, e) => {
6673
6675
  t.style.transform = e !== void 0 ? e : "none";
@@ -6679,20 +6681,20 @@ const ip = Ra({
6679
6681
  },
6680
6682
  drag: {
6681
6683
  Feature: xh,
6682
- ProjectionNode: Ma,
6683
- MeasureLayout: Sa
6684
+ ProjectionNode: ka,
6685
+ MeasureLayout: Ta
6684
6686
  }
6685
6687
  };
6686
- function Ls(t, e, n) {
6688
+ function $s(t, e, n) {
6687
6689
  const { props: r } = t;
6688
6690
  t.animationState && r.whileHover && t.animationState.setActive("whileHover", n === "Start");
6689
6691
  const i = "onHover" + n, s = r[i];
6690
- s && j.postRender(() => s(e, Ge(e)));
6692
+ s && N.postRender(() => s(e, Ge(e)));
6691
6693
  }
6692
6694
  class op extends Wt {
6693
6695
  mount() {
6694
6696
  const { current: e } = this.node;
6695
- e && (this.unmount = sd(e, (n, r) => (Ls(this.node, r, "Start"), (i) => Ls(this.node, i, "End"))));
6697
+ e && (this.unmount = sd(e, (n, r) => ($s(this.node, r, "Start"), (i) => $s(this.node, i, "End"))));
6696
6698
  }
6697
6699
  unmount() {
6698
6700
  }
@@ -6714,43 +6716,43 @@ class ap extends Wt {
6714
6716
  !this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
6715
6717
  }
6716
6718
  mount() {
6717
- this.unmount = qe(Ne(this.node.current, "focus", () => this.onFocus()), Ne(this.node.current, "blur", () => this.onBlur()));
6719
+ this.unmount = qe(je(this.node.current, "focus", () => this.onFocus()), je(this.node.current, "blur", () => this.onBlur()));
6718
6720
  }
6719
6721
  unmount() {
6720
6722
  }
6721
6723
  }
6722
- function $s(t, e, n) {
6724
+ function Os(t, e, n) {
6723
6725
  const { props: r } = t;
6724
6726
  if (t.current instanceof HTMLButtonElement && t.current.disabled)
6725
6727
  return;
6726
6728
  t.animationState && r.whileTap && t.animationState.setActive("whileTap", n === "Start");
6727
6729
  const i = "onTap" + (n === "End" ? "" : n), s = r[i];
6728
- s && j.postRender(() => s(e, Ge(e)));
6730
+ s && N.postRender(() => s(e, Ge(e)));
6729
6731
  }
6730
6732
  class lp extends Wt {
6731
6733
  mount() {
6732
6734
  const { current: e } = this.node;
6733
- e && (this.unmount = cd(e, (n, r) => ($s(this.node, r, "Start"), (i, { success: s }) => $s(this.node, i, s ? "End" : "Cancel")), { useGlobalTarget: this.node.props.globalTapTarget }));
6735
+ e && (this.unmount = cd(e, (n, r) => (Os(this.node, r, "Start"), (i, { success: s }) => Os(this.node, i, s ? "End" : "Cancel")), { useGlobalTarget: this.node.props.globalTapTarget }));
6734
6736
  }
6735
6737
  unmount() {
6736
6738
  }
6737
6739
  }
6738
- const mr = /* @__PURE__ */ new WeakMap(), Hn = /* @__PURE__ */ new WeakMap(), cp = (t) => {
6739
- const e = mr.get(t.target);
6740
+ const gr = /* @__PURE__ */ new WeakMap(), Kn = /* @__PURE__ */ new WeakMap(), cp = (t) => {
6741
+ const e = gr.get(t.target);
6740
6742
  e && e(t);
6741
6743
  }, up = (t) => {
6742
6744
  t.forEach(cp);
6743
6745
  };
6744
6746
  function dp({ root: t, ...e }) {
6745
6747
  const n = t || document;
6746
- Hn.has(n) || Hn.set(n, {});
6747
- const r = Hn.get(n), i = JSON.stringify(e);
6748
+ Kn.has(n) || Kn.set(n, {});
6749
+ const r = Kn.get(n), i = JSON.stringify(e);
6748
6750
  return r[i] || (r[i] = new IntersectionObserver(up, { root: t, ...e })), r[i];
6749
6751
  }
6750
6752
  function fp(t, e, n) {
6751
6753
  const r = dp(e);
6752
- return mr.set(t, n), r.observe(t), () => {
6753
- mr.delete(t), r.unobserve(t);
6754
+ return gr.set(t, n), r.observe(t), () => {
6755
+ gr.delete(t), r.unobserve(t);
6754
6756
  };
6755
6757
  }
6756
6758
  const hp = {
@@ -6807,19 +6809,19 @@ const gp = {
6807
6809
  }
6808
6810
  }, yp = {
6809
6811
  layout: {
6810
- ProjectionNode: Ma,
6811
- MeasureLayout: Sa
6812
+ ProjectionNode: ka,
6813
+ MeasureLayout: Ta
6812
6814
  }
6813
- }, gr = { current: null }, ka = { current: !1 };
6815
+ }, yr = { current: null }, Da = { current: !1 };
6814
6816
  function vp() {
6815
- if (ka.current = !0, !!Sr)
6817
+ if (Da.current = !0, !!Tr)
6816
6818
  if (window.matchMedia) {
6817
- const t = window.matchMedia("(prefers-reduced-motion)"), e = () => gr.current = t.matches;
6819
+ const t = window.matchMedia("(prefers-reduced-motion)"), e = () => yr.current = t.matches;
6818
6820
  t.addListener(e), e();
6819
6821
  } else
6820
- gr.current = !1;
6822
+ yr.current = !1;
6821
6823
  }
6822
- const bp = [...ea, Z, zt], xp = (t) => bp.find(ta(t)), wp = /* @__PURE__ */ new WeakMap();
6824
+ const bp = [...na, Z, zt], xp = (t) => bp.find(ea(t)), wp = /* @__PURE__ */ new WeakMap();
6823
6825
  function Sp(t, e, n) {
6824
6826
  for (const r in e) {
6825
6827
  const i = e[r], s = n[r];
@@ -6840,7 +6842,7 @@ function Sp(t, e, n) {
6840
6842
  e[r] === void 0 && t.removeValue(r);
6841
6843
  return e;
6842
6844
  }
6843
- const Os = [
6845
+ const Fs = [
6844
6846
  "AnimationStart",
6845
6847
  "AnimationComplete",
6846
6848
  "Update",
@@ -6861,14 +6863,14 @@ class Tp {
6861
6863
  return {};
6862
6864
  }
6863
6865
  constructor({ parent: e, props: n, presenceContext: r, reducedMotionConfig: i, blockInitialAnimation: s, visualState: o }, a = {}) {
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
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Jr, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
6865
6867
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
6866
6868
  }, this.renderScheduledAt = 0, this.scheduleRender = () => {
6867
6869
  const h = Et.now();
6868
- this.renderScheduledAt < h && (this.renderScheduledAt = h, j.render(this.render, !1, !0));
6870
+ this.renderScheduledAt < h && (this.renderScheduledAt = h, N.render(this.render, !1, !0));
6869
6871
  };
6870
6872
  const { latestValues: l, renderState: c, onUpdate: u } = o;
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);
6873
+ 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 = co(n), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
6872
6874
  const { willChange: d, ...f } = this.scrapeMotionValuesFromProps(n, {}, this);
6873
6875
  for (const h in f) {
6874
6876
  const p = f[h];
@@ -6876,7 +6878,7 @@ class Tp {
6876
6878
  }
6877
6879
  }
6878
6880
  mount(e) {
6879
- this.current = e, wp.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), ka.current || vp(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : gr.current, process.env.NODE_ENV !== "production" && Pn(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
6881
+ this.current = e, wp.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), Da.current || vp(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : yr.current, process.env.NODE_ENV !== "production" && Pn(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
6880
6882
  }
6881
6883
  unmount() {
6882
6884
  this.projection && this.projection.unmount(), Ut(this.notifyUpdate), Ut(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
@@ -6893,7 +6895,7 @@ class Tp {
6893
6895
  const r = Qt.has(e);
6894
6896
  r && this.onBindTransform && this.onBindTransform();
6895
6897
  const i = n.on("change", (a) => {
6896
- this.latestValues[e] = a, this.props.onUpdate && j.preRender(this.notifyUpdate), r && this.projection && (this.projection.isTransformDirty = !0);
6898
+ this.latestValues[e] = a, this.props.onUpdate && N.preRender(this.notifyUpdate), r && this.projection && (this.projection.isTransformDirty = !0);
6897
6899
  }), s = n.on("renderRequest", this.scheduleRender);
6898
6900
  let o;
6899
6901
  window.MotionCheckAppearSync && (o = window.MotionCheckAppearSync(this, e, n)), this.valueSubscriptions.set(e, () => {
@@ -6939,8 +6941,8 @@ class Tp {
6939
6941
  */
6940
6942
  update(e, n) {
6941
6943
  (e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = n;
6942
- for (let r = 0; r < Os.length; r++) {
6943
- const i = Os[r];
6944
+ for (let r = 0; r < Fs.length; r++) {
6945
+ const i = Fs[r];
6944
6946
  this.propEventSubscriptions[i] && (this.propEventSubscriptions[i](), delete this.propEventSubscriptions[i]);
6945
6947
  const s = "on" + i, o = e[s];
6946
6948
  o && (this.propEventSubscriptions[i] = this.on(i, o));
@@ -7011,7 +7013,7 @@ class Tp {
7011
7013
  readValue(e, n) {
7012
7014
  var r;
7013
7015
  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);
7014
- return i != null && (typeof i == "string" && (Jo(i) || zo(i)) ? i = parseFloat(i) : !xp(i) && zt.test(n) && (i = Yo(e, n)), this.setBaseTarget(e, J(i) ? i.get() : i)), J(i) ? i.get() : i;
7016
+ return i != null && (typeof i == "string" && (Qo(i) || Wo(i)) ? i = parseFloat(i) : !xp(i) && zt.test(n) && (i = Xo(e, n)), this.setBaseTarget(e, J(i) ? i.get() : i)), J(i) ? i.get() : i;
7015
7017
  }
7016
7018
  /**
7017
7019
  * Set the base target to later animate back to. This is currently
@@ -7029,7 +7031,7 @@ class Tp {
7029
7031
  const { initial: r } = this.props;
7030
7032
  let i;
7031
7033
  if (typeof r == "string" || typeof r == "object") {
7032
- const o = Or(this.props, r, (n = this.presenceContext) === null || n === void 0 ? void 0 : n.custom);
7034
+ const o = Fr(this.props, r, (n = this.presenceContext) === null || n === void 0 ? void 0 : n.custom);
7033
7035
  o && (i = o[e]);
7034
7036
  }
7035
7037
  if (r && i !== void 0)
@@ -7038,15 +7040,15 @@ class Tp {
7038
7040
  return s !== void 0 && !J(s) ? s : this.initialValues[e] !== void 0 && i === void 0 ? void 0 : this.baseTarget[e];
7039
7041
  }
7040
7042
  on(e, n) {
7041
- return this.events[e] || (this.events[e] = new Wr()), this.events[e].add(n);
7043
+ return this.events[e] || (this.events[e] = new qr()), this.events[e].add(n);
7042
7044
  }
7043
7045
  notify(e, ...n) {
7044
7046
  this.events[e] && this.events[e].notify(...n);
7045
7047
  }
7046
7048
  }
7047
- class Da extends Tp {
7049
+ class _a extends Tp {
7048
7050
  constructor() {
7049
- super(...arguments), this.KeyframeResolver = na;
7051
+ super(...arguments), this.KeyframeResolver = ra;
7050
7052
  }
7051
7053
  sortInstanceNodePosition(e, n) {
7052
7054
  return e.compareDocumentPosition(n) & 2 ? 1 : -1;
@@ -7068,33 +7070,33 @@ class Da extends Tp {
7068
7070
  function Cp(t) {
7069
7071
  return window.getComputedStyle(t);
7070
7072
  }
7071
- class Pp extends Da {
7073
+ class Pp extends _a {
7072
7074
  constructor() {
7073
- super(...arguments), this.type = "html", this.renderInstance = xo;
7075
+ super(...arguments), this.type = "html", this.renderInstance = wo;
7074
7076
  }
7075
7077
  readValueFromInstance(e, n) {
7076
7078
  if (Qt.has(n)) {
7077
- const r = Xr(n);
7079
+ const r = Zr(n);
7078
7080
  return r && r.default || 0;
7079
7081
  } else {
7080
- const r = Cp(e), i = (Rr(n) ? r.getPropertyValue(n) : r[n]) || 0;
7082
+ const r = Cp(e), i = (Er(n) ? r.getPropertyValue(n) : r[n]) || 0;
7081
7083
  return typeof i == "string" ? i.trim() : i;
7082
7084
  }
7083
7085
  }
7084
7086
  measureInstanceViewportBox(e, { transformPagePoint: n }) {
7085
- return ba(e, n);
7087
+ return xa(e, n);
7086
7088
  }
7087
7089
  build(e, n, r) {
7088
- kr(e, n, r.transformTemplate);
7090
+ Dr(e, n, r.transformTemplate);
7089
7091
  }
7090
7092
  scrapeMotionValuesFromProps(e, n, r) {
7091
- return Fr(e, n, r);
7093
+ return Br(e, n, r);
7092
7094
  }
7093
7095
  }
7094
- class Ap extends Da {
7096
+ class Ap extends _a {
7095
7097
  constructor() {
7096
7098
  super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = W, this.updateDimensions = () => {
7097
- this.current && !this.renderState.dimensions && bo(this.current, this.renderState);
7099
+ this.current && !this.renderState.dimensions && xo(this.current, this.renderState);
7098
7100
  };
7099
7101
  }
7100
7102
  getBaseTargetFromProps(e, n) {
@@ -7102,28 +7104,28 @@ class Ap extends Da {
7102
7104
  }
7103
7105
  readValueFromInstance(e, n) {
7104
7106
  if (Qt.has(n)) {
7105
- const r = Xr(n);
7107
+ const r = Zr(n);
7106
7108
  return r && r.default || 0;
7107
7109
  }
7108
- return n = wo.has(n) ? n : Ar(n), e.getAttribute(n);
7110
+ return n = So.has(n) ? n : Vr(n), e.getAttribute(n);
7109
7111
  }
7110
7112
  scrapeMotionValuesFromProps(e, n, r) {
7111
- return To(e, n, r);
7113
+ return Co(e, n, r);
7112
7114
  }
7113
7115
  onBindTransform() {
7114
- this.current && !this.renderState.dimensions && j.postRender(this.updateDimensions);
7116
+ this.current && !this.renderState.dimensions && N.postRender(this.updateDimensions);
7115
7117
  }
7116
7118
  build(e, n, r) {
7117
- Lr(e, n, this.isSVGTag, r.transformTemplate);
7119
+ $r(e, n, this.isSVGTag, r.transformTemplate);
7118
7120
  }
7119
7121
  renderInstance(e, n, r, i) {
7120
- So(e, n, r, i);
7122
+ To(e, n, r, i);
7121
7123
  }
7122
7124
  mount(e) {
7123
- this.isSVGTag = $r(e.tagName), super.mount(e);
7125
+ this.isSVGTag = Or(e.tagName), super.mount(e);
7124
7126
  }
7125
7127
  }
7126
- const Vp = (t, e) => _r(t) ? new Ap(e) : new Pp(e, {
7128
+ const Vp = (t, e) => Lr(t) ? new Ap(e) : new Pp(e, {
7127
7129
  allowProjection: t !== js
7128
7130
  }), Rp = /* @__PURE__ */ Qu({
7129
7131
  ...Xf,
@@ -7134,20 +7136,20 @@ const Vp = (t, e) => _r(t) ? new Ap(e) : new Pp(e, {
7134
7136
  function Mp(t) {
7135
7137
  t.values.forEach((e) => e.stop());
7136
7138
  }
7137
- function yr(t, e) {
7139
+ function vr(t, e) {
7138
7140
  [...e].reverse().forEach((r) => {
7139
7141
  const i = t.getVariant(r);
7140
- i && qr(t, i), t.variantChildren && t.variantChildren.forEach((s) => {
7141
- yr(s, e);
7142
+ i && Gr(t, i), t.variantChildren && t.variantChildren.forEach((s) => {
7143
+ vr(s, e);
7142
7144
  });
7143
7145
  });
7144
7146
  }
7145
7147
  function kp(t, e) {
7146
7148
  if (Array.isArray(e))
7147
- return yr(t, e);
7149
+ return vr(t, e);
7148
7150
  if (typeof e == "string")
7149
- return yr(t, [e]);
7150
- qr(t, e);
7151
+ return vr(t, [e]);
7152
+ Gr(t, e);
7151
7153
  }
7152
7154
  function Dp() {
7153
7155
  let t = !1;
@@ -7159,7 +7161,7 @@ function Dp() {
7159
7161
  Mt(t, "controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");
7160
7162
  const s = [];
7161
7163
  return e.forEach((o) => {
7162
- s.push(da(o, r, {
7164
+ s.push(fa(o, r, {
7163
7165
  transitionOverride: i
7164
7166
  }));
7165
7167
  }), Promise.all(s);
@@ -7183,15 +7185,15 @@ function Dp() {
7183
7185
  return n;
7184
7186
  }
7185
7187
  function _p() {
7186
- const t = no(Dp);
7187
- return io(t.mount, []), t;
7188
+ const t = ro(Dp);
7189
+ return so(t.mount, []), t;
7188
7190
  }
7189
7191
  const Lp = _p, $p = {
7190
7192
  some: 0,
7191
7193
  all: 1
7192
7194
  };
7193
7195
  function Op(t, e, { root: n, margin: r, amount: i = "some" } = {}) {
7194
- const s = Eo(t), o = /* @__PURE__ */ new WeakMap(), a = (c) => {
7196
+ const s = Mo(t), o = /* @__PURE__ */ new WeakMap(), a = (c) => {
7195
7197
  c.forEach((u) => {
7196
7198
  const d = o.get(u.target);
7197
7199
  if (u.isIntersecting !== !!d)
@@ -7220,25 +7222,25 @@ function Fp(t, { root: e, margin: n, amount: r, once: i = !1, initial: s = !1 }
7220
7222
  return Op(t.current, l, c);
7221
7223
  }, [e, t, n, i, r]), o;
7222
7224
  }
7223
- var _a = "var(--_14qm28z0)", La = "var(--_14qm28z1)", $a = "var(--_14qm28z2)", Oa = "var(--_14qm28z3)", Fa = "var(--_14qm28z4)", Ba = "var(--_14qm28z5)", Ia = "var(--_14qm28z6)", ja = "var(--_14qm28z7)", Na = "var(--_14qm28z8)", Ua = "var(--_14qm28z9)", Bp = { 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)" }, Ip = "_14qm28za", za = "_14qm28zb";
7224
- const Pm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7225
+ var La = "var(--_14qm28z0)", $a = "var(--_14qm28z1)", Oa = "var(--_14qm28z2)", Fa = "var(--_14qm28z3)", Ba = "var(--_14qm28z4)", Ia = "var(--_14qm28z5)", Na = "var(--_14qm28z6)", ja = "var(--_14qm28z7)", Ua = "var(--_14qm28z8)", za = "var(--_14qm28z9)", Bp = { 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)" }, Ip = "_14qm28za", Wa = "_14qm28zb";
7226
+ const Am = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7225
7227
  __proto__: null,
7226
- sectionAlignVar: _a,
7227
- sectionBackgroundColorVar: Ua,
7228
- sectionColorVar: $a,
7229
- sectionContentStyle: za,
7230
- sectionJustifyContentVar: Na,
7228
+ sectionAlignVar: La,
7229
+ sectionBackgroundColorVar: za,
7230
+ sectionColorVar: Oa,
7231
+ sectionContentStyle: Wa,
7232
+ sectionJustifyContentVar: Ua,
7231
7233
  sectionMinHeightVar: ja,
7232
- sectionPaddingBottomVar: Ia,
7233
- sectionPaddingLeftVar: Fa,
7234
- sectionPaddingRightVar: Ba,
7235
- sectionPaddingTopVar: Oa,
7234
+ sectionPaddingBottomVar: Na,
7235
+ sectionPaddingLeftVar: Ba,
7236
+ sectionPaddingRightVar: Ia,
7237
+ sectionPaddingTopVar: Fa,
7236
7238
  sectionStyle: Ip,
7237
- sectionZIndexVar: La,
7239
+ sectionZIndexVar: $a,
7238
7240
  styles: Bp
7239
7241
  }, Symbol.toStringTag, { value: "Module" }));
7240
7242
  var un = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(un || {});
7241
- const jp = {
7243
+ const Np = {
7242
7244
  hidden: {
7243
7245
  opacity: 0
7244
7246
  },
@@ -7251,7 +7253,7 @@ const jp = {
7251
7253
  type: "spring"
7252
7254
  }
7253
7255
  }
7254
- }, Am = ({
7256
+ }, Vm = ({
7255
7257
  children: t,
7256
7258
  className: e,
7257
7259
  zIndex: n = 20,
@@ -7264,7 +7266,7 @@ const jp = {
7264
7266
  backgroundColor: c = "",
7265
7267
  noPaddingBottom: u = !1
7266
7268
  }) => {
7267
- const d = Lp(), f = St(), h = Ja(), {
7269
+ const d = Lp(), f = St(), h = Qa(), {
7268
7270
  colors: p,
7269
7271
  header: { height: g },
7270
7272
  footer: { height: x },
@@ -7276,35 +7278,35 @@ const jp = {
7276
7278
  return wt(() => {
7277
7279
  m && d.start("visible");
7278
7280
  }, [d, m]), /* @__PURE__ */ A("section", { id: r, ref: h, className: e, style: F({
7279
- [La]: `${n}`,
7280
- [Ua]: c,
7281
- [Na]: o ? "center" : "flex-start",
7282
- [$a]: i ? p.defaultLightText : p.defaultText,
7281
+ [$a]: `${n}`,
7282
+ [za]: c,
7283
+ [Ua]: o ? "center" : "flex-start",
7284
+ [Oa]: i ? p.defaultLightText : p.defaultText,
7283
7285
  [ja]: o ? `calc(100vh - ${g[f]}px - ${x[f]}px)` : "0",
7284
- [Fa]: `${w[f]}px`,
7285
- [Ba]: `${v[f]}px`,
7286
- [Oa]: a ? "0px" : `${S[f]}px`,
7287
- [Ia]: u ? "0px" : `${P[f]}px`
7288
- }), children: /* @__PURE__ */ A(Ep.div, { className: za, initial: "hidden", animate: d, variants: jp, style: F({
7289
- [_a]: s === un.Center ? "center" : s === un.Right ? "right" : "left"
7286
+ [Ba]: `${w[f]}px`,
7287
+ [Ia]: `${v[f]}px`,
7288
+ [Fa]: a ? "0px" : `${S[f]}px`,
7289
+ [Na]: u ? "0px" : `${P[f]}px`
7290
+ }), children: /* @__PURE__ */ A(Ep.div, { className: Wa, initial: "hidden", animate: d, variants: Np, style: F({
7291
+ [La]: s === un.Center ? "center" : s === un.Right ? "right" : "left"
7290
7292
  }), children: t }) });
7291
7293
  };
7292
- var Np = { navGap: "var(--_1h6zt340)" }, Vm = { display: "flex", flexDirection: "column", gap: "var(--_1h6zt340)" };
7293
- const Rm = ({ children: t, theme: e = B, className: n }) => {
7294
+ var jp = { navGap: "var(--_1h6zt340)" }, Rm = { display: "flex", flexDirection: "column", gap: "var(--_1h6zt340)" };
7295
+ const Em = ({ children: t, theme: e = B, className: n }) => {
7294
7296
  const r = St(), { nav: { gap: i } } = e;
7295
7297
  return /* @__PURE__ */ A(
7296
7298
  "nav",
7297
7299
  {
7298
7300
  className: n,
7299
7301
  style: F({
7300
- [Np.navGap]: `${i[r]}px`
7302
+ [jp.navGap]: `${i[r]}px`
7301
7303
  }),
7302
7304
  children: t
7303
7305
  }
7304
7306
  );
7305
7307
  };
7306
- var Up = { navSocialGap: "var(--g7q46n0)" }, Em = { display: "flex", flexDirection: "row", marginLeft: 0, marginRight: 0, gap: "var(--g7q46n0)" }, zp = "g7q46n1";
7307
- const Mm = ({ navSocial: t, className: e, theme: n = B }) => {
7308
+ var Up = { navSocialGap: "var(--g7q46n0)" }, Mm = { display: "flex", flexDirection: "row", marginLeft: 0, marginRight: 0, gap: "var(--g7q46n0)" }, zp = "g7q46n1";
7309
+ const km = ({ navSocial: t, className: e, theme: n = B }) => {
7308
7310
  const r = St(), {
7309
7311
  navSocial: { gap: i }
7310
7312
  } = n;
@@ -7322,8 +7324,8 @@ const Mm = ({ navSocial: t, className: e, theme: n = B }) => {
7322
7324
  }
7323
7325
  );
7324
7326
  };
7325
- var Wp = { navLegalGap: "var(--vehv9e0)" }, km = { display: "flex", flexDirection: "row", gap: "var(--vehv9e0)" };
7326
- const Dm = ({ children: t, className: e, theme: n = B }) => {
7327
+ var Wp = { navLegalGap: "var(--vehv9e0)" }, Dm = { display: "flex", flexDirection: "row", gap: "var(--vehv9e0)" };
7328
+ const _m = ({ children: t, className: e, theme: n = B }) => {
7327
7329
  const r = St(), {
7328
7330
  navLegal: { gap: i }
7329
7331
  } = n;
@@ -7338,22 +7340,22 @@ const Dm = ({ children: t, className: e, theme: n = B }) => {
7338
7340
  }
7339
7341
  );
7340
7342
  };
7341
- var Kn = { formWidth: "var(--dvq5w80)", formPadding: "var(--dvq5w81)", formBackgroundColor: "var(--dvq5w82)" }, _m = { width: "100%", maxWidth: "var(--dvq5w80)", backgroundColor: "var(--dvq5w82)", padding: "var(--dvq5w81)", position: "relative", "@media": { "(min-width: 768px)": { padding: "var(--formPadding)" } } };
7342
- const Lm = ({ action: t, children: e, theme: n = B, className: r }) => /* @__PURE__ */ A(
7343
+ var Yn = { formWidth: "var(--dvq5w80)", formPadding: "var(--dvq5w81)", formBackgroundColor: "var(--dvq5w82)" }, Lm = { width: "100%", maxWidth: "var(--dvq5w80)", backgroundColor: "var(--dvq5w82)", padding: "var(--dvq5w81)", position: "relative", "@media": { "(min-width: 768px)": { padding: "var(--formPadding)" } } };
7344
+ const $m = ({ action: t, children: e, theme: n = B, className: r }) => /* @__PURE__ */ A(
7343
7345
  "form",
7344
7346
  {
7345
7347
  className: r,
7346
7348
  action: typeof t == "string" ? t : void 0,
7347
7349
  style: F({
7348
- [Kn.formWidth]: `${n.form.width}px`,
7349
- [Kn.formPadding]: `${n.form.padding[0]}px`,
7350
- [Kn.formBackgroundColor]: n.form.backgroundColor
7350
+ [Yn.formWidth]: `${n.form.width}px`,
7351
+ [Yn.formPadding]: `${n.form.padding[0]}px`,
7352
+ [Yn.formBackgroundColor]: n.form.backgroundColor
7351
7353
  }),
7352
7354
  children: e
7353
7355
  }
7354
7356
  );
7355
7357
  var Qe = { rowGap: "var(--_223sdz0)", rowPadding: "var(--_223sdz1)", rowFontSize: "var(--_223sdz2)", rowJustifyContent: "var(--_223sdz3)" }, dn = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(dn || {});
7356
- const $m = ({
7358
+ const Om = ({
7357
7359
  children: t,
7358
7360
  theme: e = B,
7359
7361
  className: n,
@@ -7373,11 +7375,11 @@ const $m = ({
7373
7375
  children: t
7374
7376
  }
7375
7377
  );
7376
- 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)" }, Om = { width: "100%", fontSize: "inherit", lineHeight: "1.5em", fontFamily: "var(--k6gj0i0)", color: "var(--k6gj0i1)", border: "var(--k6gj0i2)", borderRadius: "var(--k6gj0i3)", backgroundColor: "var(--k6gj0i4)", padding: "var(--k6gj0i5)", selectors: { "&:focus": { outline: "var(--k6gj0i2)" } } }, ei = /* @__PURE__ */ ((t) => (t.Text = "text", t.Email = "email", t.Search = "search", t.Number = "number", t.Hidden = "hidden", t.Password = "password", t))(ei || {});
7378
+ 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)" }, Fm = { width: "100%", fontSize: "inherit", lineHeight: "1.5em", fontFamily: "var(--k6gj0i0)", color: "var(--k6gj0i1)", border: "var(--k6gj0i2)", borderRadius: "var(--k6gj0i3)", backgroundColor: "var(--k6gj0i4)", padding: "var(--k6gj0i5)", selectors: { "&:focus": { outline: "var(--k6gj0i2)" } } }, ni = /* @__PURE__ */ ((t) => (t.Text = "text", t.Email = "email", t.Search = "search", t.Number = "number", t.Hidden = "hidden", t.Password = "password", t))(ni || {});
7377
7379
  const qp = ({
7378
7380
  name: t,
7379
7381
  value: e = "",
7380
- type: n = ei.Text,
7382
+ type: n = ni.Text,
7381
7383
  disabled: r = !1,
7382
7384
  placeholder: i = "",
7383
7385
  theme: s = B,
@@ -7406,7 +7408,7 @@ const qp = ({
7406
7408
  })
7407
7409
  }
7408
7410
  );
7409
- 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)" }, Fm = {};
7411
+ 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)" }, Bm = {};
7410
7412
  const Gp = ({
7411
7413
  name: t,
7412
7414
  value: e,
@@ -7428,18 +7430,18 @@ const Gp = ({
7428
7430
  disabled: r,
7429
7431
  onChange: s,
7430
7432
  style: F({
7431
- [jt.font]: `var(--font-${o.form.textarea.font})`,
7432
- [jt.color]: o.form.textarea.color,
7433
- [jt.border]: o.form.textarea.border,
7434
- [jt.borderRadius]: `${o.form.textarea.borderRadius}px`,
7435
- [jt.padding]: `${o.form.textarea.padding[0]}px`,
7436
- [jt.backgroundColor]: o.form.textarea.backgroundColor,
7437
- [jt.placeholderColor]: o.form.textarea.placeholder.color,
7438
- [jt.placeholderOpacity]: `${o.form.textarea.placeholder.opacity}`
7433
+ [Nt.font]: `var(--font-${o.form.textarea.font})`,
7434
+ [Nt.color]: o.form.textarea.color,
7435
+ [Nt.border]: o.form.textarea.border,
7436
+ [Nt.borderRadius]: `${o.form.textarea.borderRadius}px`,
7437
+ [Nt.padding]: `${o.form.textarea.padding[0]}px`,
7438
+ [Nt.backgroundColor]: o.form.textarea.backgroundColor,
7439
+ [Nt.placeholderColor]: o.form.textarea.placeholder.color,
7440
+ [Nt.placeholderOpacity]: `${o.form.textarea.placeholder.opacity}`
7439
7441
  })
7440
7442
  }
7441
7443
  );
7442
- var tn = { font: "var(--_1s956dc0)", color: "var(--_1s956dc1)", fontWeight: "var(--_1s956dc2)", paddingBottom: "var(--_1s956dc3)" }, Bm = { width: "100%", textAlign: "left", fontFamily: "var(--_1s956dc0)", color: "var(--_1s956dc1)", fontWeight: "var(--_1s956dc2)", paddingBottom: "var(--_1s956dc3)" };
7444
+ var tn = { font: "var(--_1s956dc0)", color: "var(--_1s956dc1)", fontWeight: "var(--_1s956dc2)", paddingBottom: "var(--_1s956dc3)" }, Im = { width: "100%", textAlign: "left", fontFamily: "var(--_1s956dc0)", color: "var(--_1s956dc1)", fontWeight: "var(--_1s956dc2)", paddingBottom: "var(--_1s956dc3)" };
7443
7445
  const Hp = ({
7444
7446
  name: t,
7445
7447
  label: e,
@@ -7463,7 +7465,7 @@ const Hp = ({
7463
7465
  ]
7464
7466
  }
7465
7467
  );
7466
- var Kp = { errorColor: "var(--_1e95ziv0)" }, Im = {}, Wa = /* @__PURE__ */ ((t) => (t.Textarea = "textarea", t))(Wa || {});
7468
+ var Kp = { errorColor: "var(--_1e95ziv0)" }, Nm = {}, qa = /* @__PURE__ */ ((t) => (t.Textarea = "textarea", t))(qa || {});
7467
7469
  const jm = ({
7468
7470
  name: t,
7469
7471
  label: e = "",
@@ -7475,16 +7477,16 @@ const jm = ({
7475
7477
  errors: a = void 0,
7476
7478
  theme: l = B,
7477
7479
  onChange: c = void 0,
7478
- type: u = ei.Text,
7480
+ type: u = ni.Text,
7479
7481
  className: d
7480
7482
  }) => /* @__PURE__ */ ht("div", { className: d, style: F({
7481
7483
  [Kp.errorColor]: l.form.error.color
7482
7484
  }), children: [
7483
7485
  e && /* @__PURE__ */ A(Hp, { className: "", theme: l, label: e, name: t, required: i }),
7484
- u === Wa.Textarea ? /* @__PURE__ */ A(Gp, { className: "", value: n, rows: r, name: t, theme: l, onChange: c, disabled: s, placeholder: o }) : /* @__PURE__ */ A(qp, { className: "", value: n, type: u, name: t, theme: l, onChange: c, disabled: s, placeholder: o }),
7486
+ u === qa.Textarea ? /* @__PURE__ */ A(Gp, { className: "", value: n, rows: r, name: t, theme: l, onChange: c, disabled: s, placeholder: o }) : /* @__PURE__ */ A(qp, { className: "", value: n, type: u, name: t, theme: l, onChange: c, disabled: s, placeholder: o }),
7485
7487
  a && /* @__PURE__ */ A("div", { children: a instanceof Array ? a.map((f, h) => /* @__PURE__ */ A("span", { children: f }, h)) : a })
7486
7488
  ] });
7487
- 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)" }, Nm = {};
7489
+ 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)" }, Um = {};
7488
7490
  function Yp(t) {
7489
7491
  const e = t + "=", r = decodeURIComponent(document.cookie).split(";");
7490
7492
  for (let i = 0; i < r.length; i++) {
@@ -7502,7 +7504,7 @@ function Xp(t, e, n) {
7502
7504
  const i = "expires=" + r.toUTCString();
7503
7505
  document.cookie = t + "=" + e + ";" + i + ";path=/";
7504
7506
  }
7505
- const Um = ({
7507
+ const zm = ({
7506
7508
  children: t,
7507
7509
  theme: e = B,
7508
7510
  cookieName: n = "consent",
@@ -7536,8 +7538,8 @@ const Um = ({
7536
7538
  children: [
7537
7539
  t,
7538
7540
  /* @__PURE__ */ ht("div", { children: [
7539
- /* @__PURE__ */ A(pi, { className: "", onClick: () => l(!1), children: (r == null ? void 0 : r.actions.reject) || "Reject" }),
7540
- /* @__PURE__ */ A(pi, { className: "", onClick: () => l(!0), children: (r == null ? void 0 : r.actions.accept) || "Accept" })
7541
+ /* @__PURE__ */ A(mi, { className: "", onClick: () => l(!1), children: (r == null ? void 0 : r.actions.reject) || "Reject" }),
7542
+ /* @__PURE__ */ A(mi, { className: "", onClick: () => l(!0), children: (r == null ? void 0 : r.actions.accept) || "Accept" })
7541
7543
  ] })
7542
7544
  ]
7543
7545
  }
@@ -7547,60 +7549,61 @@ export {
7547
7549
  em as Actions,
7548
7550
  Te as ActionsAlign,
7549
7551
  tm as ActionsStyles,
7550
- pi as Button,
7552
+ mi as Button,
7551
7553
  sn as ButtonSize,
7552
- Qn as ButtonStyle,
7554
+ tr as ButtonStyle,
7553
7555
  Qp as ButtonStyles,
7554
- to as ButtonType,
7555
- Jn as ButtonVariant,
7556
- lm as Carousel,
7557
- am as CarouselStyles,
7558
- Sm as Columns,
7556
+ eo as ButtonType,
7557
+ Qn as ButtonVariant,
7558
+ cm as Carousel,
7559
+ lm as CarouselStyles,
7560
+ Tm as Columns,
7559
7561
  Ce as ColumnsAlign,
7560
- wm as ColumnsStyles,
7561
- Um as ConsentCookie,
7562
- Nm as ConsentCookieStyles,
7563
- xm as Footer,
7564
- bm as FooterStyles,
7565
- Lm as Form,
7566
- $m as FormRow,
7562
+ Sm as ColumnsStyles,
7563
+ zm as ConsentCookie,
7564
+ Um as ConsentCookieStyles,
7565
+ wm as Footer,
7566
+ xm as FooterStyles,
7567
+ $m as Form,
7568
+ Om as FormRow,
7567
7569
  dn as FormRowAlign,
7568
- _m as FormStyles,
7569
- vm as Header,
7570
- ym as HeaderStyles,
7570
+ Lm as FormStyles,
7571
+ bm as Header,
7572
+ vm as HeaderStyles,
7571
7573
  Xt as Icon,
7572
7574
  nm as IconStyles,
7573
- Om as InputStyles,
7574
- ei as InputType,
7575
- um as KeyNumber,
7576
- cm as KeyNumberStyles,
7577
- pm as LanguageSwitcher,
7578
- hm as LanguageSwitcherStyles,
7579
- om as Logo,
7580
- sm as LogoStyles,
7581
- gm as Main,
7582
- mm as MainStyles,
7575
+ Fm as InputStyles,
7576
+ ni as InputType,
7577
+ dm as KeyNumber,
7578
+ um as KeyNumberStyles,
7579
+ mm as LanguageSwitcher,
7580
+ pm as LanguageSwitcherStyles,
7581
+ am as Logo,
7582
+ om as LogoStyles,
7583
+ ym as Main,
7584
+ gm as MainStyles,
7583
7585
  im as Modal,
7584
7586
  rm as ModalStyles,
7585
- Rm as Nav,
7586
- Dm as NavLegal,
7587
- km as NavLegalStyles,
7588
- Mm as NavSocial,
7589
- Em as NavSocialStyles,
7590
- Vm as NavStyles,
7591
- Am as Section,
7587
+ Em as Nav,
7588
+ _m as NavLegal,
7589
+ Dm as NavLegalStyles,
7590
+ km as NavSocial,
7591
+ Mm as NavSocialStyles,
7592
+ Rm as NavStyles,
7593
+ Vm as Section,
7592
7594
  un as SectionAlign,
7593
7595
  Bp as SectionStyles,
7594
7596
  jm as TextField,
7595
7597
  qp as TextFieldInput,
7596
7598
  Hp as TextFieldLabel,
7597
- Bm as TextFieldLabelStyles,
7598
- Im as TextFieldStyles,
7599
+ Im as TextFieldLabelStyles,
7600
+ Nm as TextFieldStyles,
7599
7601
  Gp as TextFieldTextarea,
7600
- Fm as TextareaStyles,
7601
- Wa as TextareaType,
7602
+ Bm as TextareaStyles,
7603
+ qa as TextareaType,
7602
7604
  kc as Video,
7603
- fm as VideoFullWidth,
7604
- dm as VideoFullWidthStyles,
7605
- Pm as allStyles
7605
+ hm as VideoFullWidth,
7606
+ fm as VideoFullWidthStyles,
7607
+ sm as VideoStyles,
7608
+ Am as allStyles
7606
7609
  };