@latte-macchiat-io/latte-vanilla-components 0.0.143 → 0.0.145
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.cjs.js +4 -4
- package/dist/index.es.js +538 -525
- package/dist/latte-vanilla-components.css +1 -1
- package/dist/types/components/Columns/styles.css.d.ts +1 -1
- package/dist/types/components/ConsentCookie/styles.css.d.ts +1 -1
- package/dist/types/components/Footer/styles.css.d.ts +14 -1
- package/dist/types/components/Form/Row/styles.css.d.ts +8 -1
- package/dist/types/components/Form/TextField/Input/styles.css.d.ts +17 -2
- package/dist/types/components/Form/TextField/Label/styles.css.d.ts +9 -2
- package/dist/types/components/Form/TextField/Textarea/styles.css.d.ts +1 -1
- package/dist/types/components/Form/TextField/styles.css.d.ts +1 -1
- package/dist/types/components/Form/styles.css.d.ts +12 -1
- package/dist/types/components/Header/styles.css.d.ts +9 -1
- package/dist/types/components/Icon/styles.css.d.ts +5 -1
- package/dist/types/components/LanguageSwitcher/styles.css.d.ts +6 -1
- package/dist/types/components/Logo/styles.css.d.ts +1 -1
- package/dist/types/components/Modal/styles.css.d.ts +19 -1
- package/dist/types/components/Nav/styles.css.d.ts +5 -1
- package/dist/types/components/NavLegal/styles.css.d.ts +5 -1
- package/dist/types/components/NavSocial/styles.css.d.ts +7 -1
- package/dist/types/components/Section/export.d.ts +1 -0
- package/dist/types/components/Video/styles.css.d.ts +6 -1
- package/dist/types/components/VideoFullWidth/styles.css.d.ts +9 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as ke from "react/jsx-runtime";
|
2
2
|
import { jsxs as La, jsx as Fs } from "react/jsx-runtime";
|
3
3
|
import * as lt from "react";
|
4
|
-
import $a, { forwardRef as Bs, useContext as rt, useState as _t, useEffect as
|
4
|
+
import $a, { forwardRef as Bs, useContext as rt, useState as _t, useEffect as wt, useRef as le, createContext as pe, useId as Oa, useCallback as Is, useLayoutEffect as Fa, useMemo as xn, useInsertionEffect as Ba, Fragment as js, createElement as Ia, Component as ja, createRef as Na } from "react";
|
5
5
|
function Ua(t) {
|
6
6
|
if (t.sheet)
|
7
7
|
return t.sheet;
|
@@ -42,7 +42,7 @@ var Wa = /* @__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-",
|
45
|
+
}(), X = "-ms-", fn = "-moz-", _ = "-webkit-", Ns = "comm", vr = "rule", br = "decl", qa = "@import", Us = "@keyframes", Ga = "@layer", Ha = Math.abs, wn = String.fromCharCode, Ka = Object.assign;
|
46
46
|
function Ya(t, e) {
|
47
47
|
return K(t, 0) ^ 45 ? (((e << 2 ^ K(t, 0)) << 2 ^ K(t, 1)) << 2 ^ K(t, 2)) << 2 ^ K(t, 3) : 0;
|
48
48
|
}
|
@@ -64,7 +64,7 @@ function K(t, e) {
|
|
64
64
|
function De(t, e, n) {
|
65
65
|
return t.slice(e, n);
|
66
66
|
}
|
67
|
-
function
|
67
|
+
function Ct(t) {
|
68
68
|
return t.length;
|
69
69
|
}
|
70
70
|
function xr(t) {
|
@@ -76,9 +76,9 @@ function He(t, e) {
|
|
76
76
|
function Za(t, e) {
|
77
77
|
return t.map(e).join("");
|
78
78
|
}
|
79
|
-
var
|
79
|
+
var Sn = 1, ue = 1, Ws = 0, ut = 0, q = 0, me = "";
|
80
80
|
function Tn(t, e, n, r, i, s, o) {
|
81
|
-
return { value: t, root: e, parent: n, type: r, props: i, children: s, line:
|
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
84
|
return Ka(Tn("", null, null, "", null, null, 0), t, { length: -t.length }, e);
|
@@ -87,10 +87,10 @@ function Ja() {
|
|
87
87
|
return q;
|
88
88
|
}
|
89
89
|
function Qa() {
|
90
|
-
return q = ut > 0 ? K(me, --ut) : 0, ue--, q === 10 && (ue = 1,
|
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,
|
93
|
+
return q = ut < Ws ? K(me, ut++) : 0, ue++, q === 10 && (ue = 1, Sn++), q;
|
94
94
|
}
|
95
95
|
function At() {
|
96
96
|
return K(me, ut);
|
@@ -140,7 +140,7 @@ function _e(t) {
|
|
140
140
|
return 0;
|
141
141
|
}
|
142
142
|
function qs(t) {
|
143
|
-
return
|
143
|
+
return Sn = ue = 1, Ws = Ct(me = t), ut = 0, [];
|
144
144
|
}
|
145
145
|
function Gs(t) {
|
146
146
|
return me = "", t;
|
@@ -184,7 +184,7 @@ function nl(t, e) {
|
|
184
184
|
for (; ft() && t + q !== 57; )
|
185
185
|
if (t + q === 84 && At() === 47)
|
186
186
|
break;
|
187
|
-
return "/*" + Ue(e, ut - 1) + "*" +
|
187
|
+
return "/*" + Ue(e, ut - 1) + "*" + wn(t === 47 ? t : ft());
|
188
188
|
}
|
189
189
|
function rl(t) {
|
190
190
|
for (; !_e(At()); )
|
@@ -195,19 +195,19 @@ function il(t) {
|
|
195
195
|
return Gs(rn("", null, null, null, [""], t = qs(t), 0, [0], t));
|
196
196
|
}
|
197
197
|
function rn(t, e, n, r, i, s, o, a, l) {
|
198
|
-
for (var c = 0, u = 0, d = o, f = 0, h = 0, p = 0, g = 1, x = 1, v = 1,
|
199
|
-
switch (p =
|
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; )
|
199
|
+
switch (p = w, w = ft()) {
|
200
200
|
// (
|
201
201
|
case 40:
|
202
202
|
if (p != 108 && K(E, d - 1) == 58) {
|
203
|
-
Yn(E += L(nn(
|
203
|
+
Yn(E += L(nn(w), "&", "&\f"), "&\f") != -1 && (v = -1);
|
204
204
|
break;
|
205
205
|
}
|
206
206
|
// " ' [
|
207
207
|
case 34:
|
208
208
|
case 39:
|
209
209
|
case 91:
|
210
|
-
E += nn(
|
210
|
+
E += nn(w);
|
211
211
|
break;
|
212
212
|
// \t \n \r \s
|
213
213
|
case 9:
|
@@ -233,28 +233,28 @@ function rn(t, e, n, r, i, s, o, a, l) {
|
|
233
233
|
break;
|
234
234
|
// {
|
235
235
|
case 123 * g:
|
236
|
-
a[c++] =
|
236
|
+
a[c++] = Ct(E) * v;
|
237
237
|
// } ; \0
|
238
238
|
case 125 * g:
|
239
239
|
case 59:
|
240
240
|
case 0:
|
241
|
-
switch (
|
241
|
+
switch (w) {
|
242
242
|
// \0 }
|
243
243
|
case 0:
|
244
244
|
case 125:
|
245
245
|
x = 0;
|
246
246
|
// ;
|
247
247
|
case 59 + u:
|
248
|
-
v == -1 && (E = L(E, /\f/g, "")), h > 0 &&
|
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);
|
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,
|
255
|
+
if (He(V = ni(E, e, n, c, u, i, a, S, P = [], m = [], d), s), w === 123)
|
256
256
|
if (u === 0)
|
257
|
-
rn(E, e, V, V,
|
257
|
+
rn(E, e, V, V, P, s, d, a, m);
|
258
258
|
else
|
259
259
|
switch (f === 99 && K(E, 3) === 110 ? 100 : f) {
|
260
260
|
// d l m s
|
@@ -262,52 +262,52 @@ 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,
|
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);
|
266
266
|
break;
|
267
267
|
default:
|
268
268
|
rn(E, V, V, V, [""], m, 0, a, m);
|
269
269
|
}
|
270
270
|
}
|
271
|
-
c = u = h = 0, g = v = 1,
|
271
|
+
c = u = h = 0, g = v = 1, S = E = "", d = o;
|
272
272
|
break;
|
273
273
|
// :
|
274
274
|
case 58:
|
275
|
-
d = 1 +
|
275
|
+
d = 1 + Ct(E), h = p;
|
276
276
|
default:
|
277
277
|
if (g < 1) {
|
278
|
-
if (
|
278
|
+
if (w == 123)
|
279
279
|
--g;
|
280
|
-
else if (
|
280
|
+
else if (w == 125 && g++ == 0 && Qa() == 125)
|
281
281
|
continue;
|
282
282
|
}
|
283
|
-
switch (E +=
|
283
|
+
switch (E += wn(w), w * g) {
|
284
284
|
// &
|
285
285
|
case 38:
|
286
286
|
v = u > 0 ? 1 : (E += "\f", -1);
|
287
287
|
break;
|
288
288
|
// ,
|
289
289
|
case 44:
|
290
|
-
a[c++] = (
|
290
|
+
a[c++] = (Ct(E) - 1) * v, v = 1;
|
291
291
|
break;
|
292
292
|
// @
|
293
293
|
case 64:
|
294
|
-
At() === 45 && (E += nn(ft())), f = At(), u = d =
|
294
|
+
At() === 45 && (E += nn(ft())), f = At(), u = d = Ct(S = E += rl(en())), w++;
|
295
295
|
break;
|
296
296
|
// -
|
297
297
|
case 45:
|
298
|
-
p === 45 &&
|
298
|
+
p === 45 && Ct(E) == 2 && (g = 0);
|
299
299
|
}
|
300
300
|
}
|
301
301
|
return s;
|
302
302
|
}
|
303
303
|
function ni(t, e, n, r, i, s, o, a, l, c, u) {
|
304
304
|
for (var d = i - 1, f = i === 0 ? s : [""], h = xr(f), p = 0, g = 0, x = 0; p < r; ++p)
|
305
|
-
for (var v = 0,
|
306
|
-
(
|
305
|
+
for (var v = 0, w = De(t, d + 1, d = Ha(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
307
|
return Tn(t, e, n, i === 0 ? vr : a, l, c, u);
|
308
308
|
}
|
309
309
|
function sl(t, e, n) {
|
310
|
-
return Tn(t, e, n,
|
310
|
+
return Tn(t, e, n, Ns, wn(Ja()), De(t, 2, -2), 0);
|
311
311
|
}
|
312
312
|
function ri(t, e, n, r) {
|
313
313
|
return Tn(t, e, n, br, De(t, 0, r), De(t, r + 1, -1), r);
|
@@ -324,14 +324,14 @@ function ol(t, e, n, r) {
|
|
324
324
|
case qa:
|
325
325
|
case br:
|
326
326
|
return t.return = t.return || t.value;
|
327
|
-
case
|
327
|
+
case Ns:
|
328
328
|
return "";
|
329
329
|
case Us:
|
330
330
|
return t.return = t.value + "{" + ce(t.children, r) + "}";
|
331
331
|
case vr:
|
332
332
|
t.value = t.props.join(",");
|
333
333
|
}
|
334
|
-
return
|
334
|
+
return Ct(n = ce(t.children, r)) ? t.return = t.value + "{" + n + "}" : "";
|
335
335
|
}
|
336
336
|
function al(t) {
|
337
337
|
var e = xr(t);
|
@@ -373,7 +373,7 @@ var ul = function(e, n, r) {
|
|
373
373
|
}
|
374
374
|
// fallthrough
|
375
375
|
default:
|
376
|
-
e[r] +=
|
376
|
+
e[r] += wn(i);
|
377
377
|
}
|
378
378
|
while (i = ft());
|
379
379
|
return e;
|
@@ -499,7 +499,7 @@ function Hs(t, e) {
|
|
499
499
|
case 5789:
|
500
500
|
case 5021:
|
501
501
|
case 4765:
|
502
|
-
if (
|
502
|
+
if (Ct(t) - 1 - e > 6) switch (K(t, e + 1)) {
|
503
503
|
// (m)ax-content, (m)in-content
|
504
504
|
case 109:
|
505
505
|
if (K(t, e + 4) !== 45) break;
|
@@ -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,
|
519
|
+
switch (K(t, Ct(t) - 3 - (~Yn(t, "!important") && 10))) {
|
520
520
|
// stic(k)y
|
521
521
|
case 107:
|
522
522
|
return L(t, ":", ":" + _) + t;
|
@@ -600,8 +600,8 @@ var ml = function(e, n, r, i) {
|
|
600
600
|
})], f = al(c.concat(i, d)), h = function(x) {
|
601
601
|
return ce(il(x), f);
|
602
602
|
};
|
603
|
-
l = function(x, v,
|
604
|
-
u =
|
603
|
+
l = function(x, v, w, S) {
|
604
|
+
u = w, h(x ? x + "{" + v.styles + "}" : v.styles), S && (p.inserted[v.name] = !0);
|
605
605
|
};
|
606
606
|
}
|
607
607
|
var p = {
|
@@ -656,8 +656,8 @@ var si;
|
|
656
656
|
function xl() {
|
657
657
|
if (si) return $;
|
658
658
|
si = 1;
|
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,
|
660
|
-
function
|
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
|
+
function S(m) {
|
661
661
|
if (typeof m == "object" && m !== null) {
|
662
662
|
var V = m.$$typeof;
|
663
663
|
switch (V) {
|
@@ -687,36 +687,36 @@ function xl() {
|
|
687
687
|
}
|
688
688
|
}
|
689
689
|
}
|
690
|
-
function
|
691
|
-
return
|
690
|
+
function P(m) {
|
691
|
+
return S(m) === c;
|
692
692
|
}
|
693
693
|
return $.AsyncMode = l, $.ConcurrentMode = c, $.ContextConsumer = a, $.ContextProvider = o, $.Element = e, $.ForwardRef = u, $.Fragment = r, $.Lazy = p, $.Memo = h, $.Portal = n, $.Profiler = s, $.StrictMode = i, $.Suspense = d, $.isAsyncMode = function(m) {
|
694
|
-
return
|
695
|
-
}, $.isConcurrentMode =
|
696
|
-
return
|
694
|
+
return P(m) || S(m) === l;
|
695
|
+
}, $.isConcurrentMode = P, $.isContextConsumer = function(m) {
|
696
|
+
return S(m) === a;
|
697
697
|
}, $.isContextProvider = function(m) {
|
698
|
-
return
|
698
|
+
return S(m) === o;
|
699
699
|
}, $.isElement = function(m) {
|
700
700
|
return typeof m == "object" && m !== null && m.$$typeof === e;
|
701
701
|
}, $.isForwardRef = function(m) {
|
702
|
-
return
|
702
|
+
return S(m) === u;
|
703
703
|
}, $.isFragment = function(m) {
|
704
|
-
return
|
704
|
+
return S(m) === r;
|
705
705
|
}, $.isLazy = function(m) {
|
706
|
-
return
|
706
|
+
return S(m) === p;
|
707
707
|
}, $.isMemo = function(m) {
|
708
|
-
return
|
708
|
+
return S(m) === h;
|
709
709
|
}, $.isPortal = function(m) {
|
710
|
-
return
|
710
|
+
return S(m) === n;
|
711
711
|
}, $.isProfiler = function(m) {
|
712
|
-
return
|
712
|
+
return S(m) === s;
|
713
713
|
}, $.isStrictMode = function(m) {
|
714
|
-
return
|
714
|
+
return S(m) === i;
|
715
715
|
}, $.isSuspense = function(m) {
|
716
|
-
return
|
716
|
+
return S(m) === d;
|
717
717
|
}, $.isValidElementType = function(m) {
|
718
|
-
return typeof m == "string" || typeof m == "function" || m === r || m === c || m === s || m === i || m === d || m === f || typeof m == "object" && m !== null && (m.$$typeof === p || m.$$typeof === h || m.$$typeof === o || m.$$typeof === a || m.$$typeof === u || m.$$typeof === x || m.$$typeof === v || m.$$typeof ===
|
719
|
-
}, $.typeOf =
|
718
|
+
return typeof m == "string" || typeof m == "function" || m === r || m === c || m === s || m === i || m === d || m === f || typeof m == "object" && m !== null && (m.$$typeof === p || m.$$typeof === h || m.$$typeof === o || m.$$typeof === a || m.$$typeof === u || m.$$typeof === x || m.$$typeof === v || m.$$typeof === w || m.$$typeof === g);
|
719
|
+
}, $.typeOf = S, $;
|
720
720
|
}
|
721
721
|
var O = {};
|
722
722
|
/** @license React v16.13.1
|
@@ -728,14 +728,14 @@ var O = {};
|
|
728
728
|
* LICENSE file in the root directory of this source tree.
|
729
729
|
*/
|
730
730
|
var oi;
|
731
|
-
function
|
731
|
+
function wl() {
|
732
732
|
return oi || (oi = 1, process.env.NODE_ENV !== "production" && function() {
|
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,
|
734
|
-
function
|
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
|
+
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.
|
736
|
-
R === r || R === c || R === s || R === i || R === d || R === f || typeof R == "object" && R !== null && (R.$$typeof === p || R.$$typeof === h || R.$$typeof === o || R.$$typeof === a || R.$$typeof === u || R.$$typeof === x || R.$$typeof === v || R.$$typeof ===
|
736
|
+
R === r || R === c || R === s || R === i || R === d || R === f || typeof R == "object" && R !== null && (R.$$typeof === p || R.$$typeof === h || R.$$typeof === o || R.$$typeof === a || R.$$typeof === u || R.$$typeof === x || R.$$typeof === v || R.$$typeof === w || R.$$typeof === g);
|
737
737
|
}
|
738
|
-
function
|
738
|
+
function P(R) {
|
739
739
|
if (typeof R == "object" && R !== null) {
|
740
740
|
var ot = R.$$typeof;
|
741
741
|
switch (ot) {
|
@@ -767,58 +767,58 @@ function Sl() {
|
|
767
767
|
}
|
768
768
|
}
|
769
769
|
}
|
770
|
-
var m = l, V = c, E = a, y = o, b = e, T = u,
|
770
|
+
var m = l, V = c, E = a, y = o, b = e, T = u, C = r, k = p, z = h, Q = n, tt = s, G = i, D = d, I = !1;
|
771
771
|
function st(R) {
|
772
|
-
return I || (I = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), et(R) ||
|
772
|
+
return I || (I = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), et(R) || P(R) === l;
|
773
773
|
}
|
774
774
|
function et(R) {
|
775
|
-
return
|
775
|
+
return P(R) === c;
|
776
776
|
}
|
777
777
|
function $t(R) {
|
778
|
-
return
|
778
|
+
return P(R) === a;
|
779
779
|
}
|
780
780
|
function Ot(R) {
|
781
|
-
return
|
781
|
+
return P(R) === o;
|
782
782
|
}
|
783
783
|
function yt(R) {
|
784
784
|
return typeof R == "object" && R !== null && R.$$typeof === e;
|
785
785
|
}
|
786
786
|
function pt(R) {
|
787
|
-
return
|
787
|
+
return P(R) === u;
|
788
788
|
}
|
789
789
|
function Ft(R) {
|
790
|
-
return
|
790
|
+
return P(R) === r;
|
791
791
|
}
|
792
792
|
function dt(R) {
|
793
|
-
return
|
793
|
+
return P(R) === p;
|
794
794
|
}
|
795
795
|
function Bt(R) {
|
796
|
-
return
|
796
|
+
return P(R) === h;
|
797
797
|
}
|
798
798
|
function vt(R) {
|
799
|
-
return
|
799
|
+
return P(R) === n;
|
800
800
|
}
|
801
801
|
function bt(R) {
|
802
|
-
return
|
802
|
+
return P(R) === s;
|
803
803
|
}
|
804
804
|
function qt(R) {
|
805
|
-
return
|
805
|
+
return P(R) === i;
|
806
806
|
}
|
807
807
|
function Gt(R) {
|
808
|
-
return
|
808
|
+
return P(R) === d;
|
809
809
|
}
|
810
|
-
O.AsyncMode = m, O.ConcurrentMode = V, O.ContextConsumer = E, O.ContextProvider = y, O.Element = b, O.ForwardRef = T, O.Fragment =
|
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
813
|
var ai;
|
814
|
-
function
|
815
|
-
return ai || (ai = 1, process.env.NODE_ENV === "production" ? Ke.exports = xl() : Ke.exports =
|
814
|
+
function Sl() {
|
815
|
+
return ai || (ai = 1, process.env.NODE_ENV === "production" ? Ke.exports = xl() : Ke.exports = wl()), Ke.exports;
|
816
816
|
}
|
817
817
|
var Mn, li;
|
818
818
|
function Tl() {
|
819
819
|
if (li) return Mn;
|
820
820
|
li = 1;
|
821
|
-
var t =
|
821
|
+
var t = Sl(), e = {
|
822
822
|
childContextTypes: !0,
|
823
823
|
contextType: !0,
|
824
824
|
contextTypes: !0,
|
@@ -863,11 +863,11 @@ function Tl() {
|
|
863
863
|
var v = d(g);
|
864
864
|
v && v !== f && h(p, v, x);
|
865
865
|
}
|
866
|
-
var
|
867
|
-
c && (
|
868
|
-
for (var
|
869
|
-
var V =
|
870
|
-
if (!n[V] && !(x && x[V]) && !(
|
866
|
+
var w = l(g);
|
867
|
+
c && (w = w.concat(c(g)));
|
868
|
+
for (var S = o(p), P = o(g), m = 0; m < w.length; ++m) {
|
869
|
+
var V = w[m];
|
870
|
+
if (!n[V] && !(x && x[V]) && !(P && P[V]) && !(S && S[V])) {
|
871
871
|
var E = u(g, V);
|
872
872
|
try {
|
873
873
|
a(p, V, E);
|
@@ -881,8 +881,8 @@ function Tl() {
|
|
881
881
|
return Mn = h, Mn;
|
882
882
|
}
|
883
883
|
Tl();
|
884
|
-
var
|
885
|
-
function
|
884
|
+
var Cl = !0;
|
885
|
+
function Pl(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 + " ");
|
@@ -899,7 +899,7 @@ 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
|
-
|
902
|
+
Cl === !1) && e.registered[i] === void 0 && (e.registered[i] = n.styles);
|
903
903
|
}, Al = function(e, n, r) {
|
904
904
|
Ks(e, n, r);
|
905
905
|
var i = e.key + "-" + n.name;
|
@@ -990,10 +990,10 @@ var Rl = {
|
|
990
990
|
case "animationName":
|
991
991
|
if (typeof n == "string")
|
992
992
|
return n.replace(Ml, function(r, i, s) {
|
993
|
-
return
|
993
|
+
return Pt = {
|
994
994
|
name: i,
|
995
995
|
styles: s,
|
996
|
-
next:
|
996
|
+
next: Pt
|
997
997
|
}, i;
|
998
998
|
});
|
999
999
|
}
|
@@ -1011,20 +1011,20 @@ function Le(t, e, n) {
|
|
1011
1011
|
case "object": {
|
1012
1012
|
var i = n;
|
1013
1013
|
if (i.anim === 1)
|
1014
|
-
return
|
1014
|
+
return Pt = {
|
1015
1015
|
name: i.name,
|
1016
1016
|
styles: i.styles,
|
1017
|
-
next:
|
1017
|
+
next: Pt
|
1018
1018
|
}, i.name;
|
1019
1019
|
var s = n;
|
1020
1020
|
if (s.styles !== void 0) {
|
1021
1021
|
var o = s.next;
|
1022
1022
|
if (o !== void 0)
|
1023
1023
|
for (; o !== void 0; )
|
1024
|
-
|
1024
|
+
Pt = {
|
1025
1025
|
name: o.name,
|
1026
1026
|
styles: o.styles,
|
1027
|
-
next:
|
1027
|
+
next: Pt
|
1028
1028
|
}, o = o.next;
|
1029
1029
|
var a = s.styles + ";";
|
1030
1030
|
return a;
|
@@ -1033,8 +1033,8 @@ function Le(t, e, n) {
|
|
1033
1033
|
}
|
1034
1034
|
case "function": {
|
1035
1035
|
if (t !== void 0) {
|
1036
|
-
var l =
|
1037
|
-
return
|
1036
|
+
var l = Pt, c = n(t);
|
1037
|
+
return Pt = l, Le(t, e, c);
|
1038
1038
|
}
|
1039
1039
|
break;
|
1040
1040
|
}
|
@@ -1071,12 +1071,12 @@ function kl(t, e, n) {
|
|
1071
1071
|
}
|
1072
1072
|
return r;
|
1073
1073
|
}
|
1074
|
-
var di = /label:\s*([^\s;{]+)\s*(;|$)/g,
|
1074
|
+
var di = /label:\s*([^\s;{]+)\s*(;|$)/g, Pt;
|
1075
1075
|
function Dl(t, e, n) {
|
1076
1076
|
if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
|
1077
1077
|
return t[0];
|
1078
1078
|
var r = !0, i = "";
|
1079
|
-
|
1079
|
+
Pt = void 0;
|
1080
1080
|
var s = t[0];
|
1081
1081
|
if (s == null || s.raw === void 0)
|
1082
1082
|
r = !1, i += Le(n, e, s);
|
@@ -1096,7 +1096,7 @@ function Dl(t, e, n) {
|
|
1096
1096
|
return {
|
1097
1097
|
name: d,
|
1098
1098
|
styles: i,
|
1099
|
-
next:
|
1099
|
+
next: Pt
|
1100
1100
|
};
|
1101
1101
|
}
|
1102
1102
|
var _l = function(e) {
|
@@ -1118,10 +1118,10 @@ var Ol = function(e) {
|
|
1118
1118
|
var i = rt(Xs);
|
1119
1119
|
return e(n, i, r);
|
1120
1120
|
});
|
1121
|
-
}, Fl = /* @__PURE__ */ lt.createContext({}),
|
1121
|
+
}, Fl = /* @__PURE__ */ lt.createContext({}), Cn = {}.hasOwnProperty, Zn = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Zs = 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
1125
|
return r[Zn] = e, r;
|
1126
1126
|
}, Bl = function(e) {
|
1127
1127
|
var n = e.cache, r = e.serialized, i = e.isStringTag;
|
@@ -1132,23 +1132,23 @@ var Ol = function(e) {
|
|
1132
1132
|
var r = t.css;
|
1133
1133
|
typeof r == "string" && e.registered[r] !== void 0 && (r = e.registered[r]);
|
1134
1134
|
var i = t[Zn], s = [r], o = "";
|
1135
|
-
typeof t.className == "string" ? o =
|
1135
|
+
typeof t.className == "string" ? o = Pl(e.registered, s, t.className) : t.className != null && (o = t.className + " ");
|
1136
1136
|
var a = Dl(s, void 0, lt.useContext(Fl));
|
1137
1137
|
o += e.key + "-" + a.name;
|
1138
1138
|
var l = {};
|
1139
1139
|
for (var c in t)
|
1140
|
-
|
1140
|
+
Cn.call(t, c) && c !== "css" && c !== Zn && (l[c] = t[c]);
|
1141
1141
|
return l.className = o, n && (l.ref = n), /* @__PURE__ */ lt.createElement(lt.Fragment, null, /* @__PURE__ */ lt.createElement(Bl, {
|
1142
1142
|
cache: e,
|
1143
1143
|
serialized: a,
|
1144
1144
|
isStringTag: typeof i == "string"
|
1145
1145
|
}), /* @__PURE__ */ lt.createElement(i, l));
|
1146
|
-
}), Js = Il,
|
1147
|
-
return
|
1146
|
+
}), Js = Il, jl = 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);
|
1148
1148
|
}, ht = function(e, n, r) {
|
1149
|
-
return
|
1149
|
+
return Cn.call(n, "css") ? ke.jsxs(Js, Zs(e, n), r) : ke.jsxs(e, n, r);
|
1150
1150
|
};
|
1151
|
-
function
|
1151
|
+
function Nl(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[
|
1161
|
+
s != null && (n[Nl(i)] = s);
|
1162
1162
|
}
|
1163
1163
|
}
|
1164
1164
|
return Object.defineProperty(n, "toString", {
|
@@ -1437,9 +1437,9 @@ const fi = '"Goudy Bookletter 1911", sans-serif', Dn = '"Gill Sans", sans-serif'
|
|
1437
1437
|
"2xl": 1536
|
1438
1438
|
// Grand écran
|
1439
1439
|
};
|
1440
|
-
function
|
1440
|
+
function St() {
|
1441
1441
|
const [t, e] = _t("mobile");
|
1442
|
-
return
|
1442
|
+
return wt(() => {
|
1443
1443
|
function r() {
|
1444
1444
|
const i = window.innerWidth;
|
1445
1445
|
i >= xe["2xl"] ? e("2xl") : i >= xe.xl ? e("xl") : i >= xe.lg ? e("lg") : i >= xe.md ? e("md") : i >= xe.sm ? e("sm") : e("mobile");
|
@@ -1461,7 +1461,7 @@ const pi = ({
|
|
1461
1461
|
theme: c = B,
|
1462
1462
|
variant: u = Jn.Primary
|
1463
1463
|
}) => {
|
1464
|
-
const d =
|
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;
|
1465
1465
|
return /* @__PURE__ */ A(
|
1466
1466
|
"button",
|
1467
1467
|
{
|
@@ -1472,14 +1472,14 @@ const pi = ({
|
|
1472
1472
|
[Yl]: v,
|
1473
1473
|
[Hl]: `${g}px`,
|
1474
1474
|
[Kl]: `${x}px`,
|
1475
|
-
[ec]: `${
|
1476
|
-
[nc]: `${
|
1475
|
+
[ec]: `${w}px`,
|
1476
|
+
[nc]: `${S}px`,
|
1477
1477
|
[ql]: i || r ? "default" : "pointer",
|
1478
1478
|
[tc]: i || r ? "none" : "auto",
|
1479
|
-
[Wl]: T && n ? n : T &&
|
1480
|
-
[rc]: T ? "transparent" : n || (
|
1481
|
-
[Gl]: n ? `${p.width}px ${p.style} ${n}` :
|
1482
|
-
[Xl]: b ? `${
|
1479
|
+
[Wl]: T && n ? n : T && C ? h.secondary : T ? h.primary : C ? f.secondary : i || r ? f.disabled : f.primary,
|
1480
|
+
[rc]: T ? "transparent" : n || (C ? h.secondary : i ? h.disabled : h.primary),
|
1481
|
+
[Gl]: 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
|
+
[Xl]: b ? `${P.small[d]}px` : y ? `${P.large[d]}px` : `${P.medium[d]}px`,
|
1483
1483
|
[Ql]: b ? `${m.small[d]}px` : y ? `${m.large[d]}px` : `${m.medium[d]}px`,
|
1484
1484
|
[Zl]: b ? `${V.small[d]}px` : y ? `${V.large[d]}px` : `${V.medium[d]}px`,
|
1485
1485
|
[Jl]: b ? `${E.small[d]}px` : y ? `${E.large[d]}px` : `${E.medium[d]}px`
|
@@ -1490,7 +1490,7 @@ const pi = ({
|
|
1490
1490
|
};
|
1491
1491
|
var ic = "var(--_1v7zi9y0)", sc = "var(--_1v7zi9y1)", oc = "var(--_1v7zi9y2)", ac = "var(--_1v7zi9y3)", lc = "var(--_1v7zi9y4)", Jp = { width: "100%", display: "flex", flexWrap: "wrap", flexDirection: "row", gap: "var(--_1v7zi9y0)", alignItems: "var(--_1v7zi9y1)", paddingTop: "var(--_1v7zi9y2)", paddingBottom: "var(--_1v7zi9y3)", justifyContent: "var(--_1v7zi9y4)" }, Te = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(Te || {});
|
1492
1492
|
const Qp = ({ children: t, className: e, theme: n = B, align: r = Te.Left }) => {
|
1493
|
-
const i =
|
1493
|
+
const i = St(), { actions: { gap: s, paddingTop: o, paddingBottom: a } } = n;
|
1494
1494
|
return /* @__PURE__ */ A("div", { className: e, style: F({
|
1495
1495
|
[ic]: `${s[i]}px`,
|
1496
1496
|
[oc]: `${o[i]}px`,
|
@@ -1499,7 +1499,7 @@ const Qp = ({ children: t, className: e, theme: n = B, align: r = Te.Left }) =>
|
|
1499
1499
|
[lc]: 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)" }, tm = "
|
1502
|
+
var mi = { iconSize: "var(--_1slxfz50)", iconColor: "var(--_1slxfz51)" }, tm = { margin: "0 auto", display: "inline-block", verticalAlign: "middle" }, cc = "_1slxfz53";
|
1503
1503
|
const uc = {
|
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",
|
@@ -1547,7 +1547,7 @@ const uc = {
|
|
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)" }, em = "
|
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)" }, em = { 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))" } } }, dc = "_18bqyaqf", fc = "_18bqyaqg", on = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(on || {});
|
1551
1551
|
const nm = ({
|
1552
1552
|
children: t,
|
1553
1553
|
align: e = on.Left,
|
@@ -1555,9 +1555,9 @@ const nm = ({
|
|
1555
1555
|
onModalHide: r,
|
1556
1556
|
className: i
|
1557
1557
|
}) => {
|
1558
|
-
const s =
|
1558
|
+
const s = St(), {
|
1559
1559
|
global: { paddingLeft: o, paddingRight: a },
|
1560
|
-
modal: { overlayBlur: l, overlayOpacity: c, overlayBackgroundColor: u, border: d, width: f, borderRadius: h, backgroundColor: p, paddingTop: g, paddingLeft: x, paddingRight: v, paddingBottom:
|
1560
|
+
modal: { overlayBlur: l, overlayOpacity: c, overlayBackgroundColor: u, border: d, width: f, borderRadius: h, backgroundColor: p, paddingTop: g, paddingLeft: x, paddingRight: v, paddingBottom: w }
|
1561
1561
|
} = n;
|
1562
1562
|
return /* @__PURE__ */ A(
|
1563
1563
|
"div",
|
@@ -1569,7 +1569,7 @@ const nm = ({
|
|
1569
1569
|
[at.overlayBlur]: `${l}px`,
|
1570
1570
|
[at.modalWidth]: `${f[s]}px`,
|
1571
1571
|
[at.modalPaddingTop]: `${g[s]}px`,
|
1572
|
-
[at.modalPaddingBottom]: `${
|
1572
|
+
[at.modalPaddingBottom]: `${w[s]}px`,
|
1573
1573
|
[at.modalPaddingLeft]: `${x[s]}px`,
|
1574
1574
|
[at.modalPaddingRight]: `${v[s]}px`,
|
1575
1575
|
[at.modalMaxWidth]: `calc(100% - ${o[s] + a[s]}px)`,
|
@@ -1587,7 +1587,7 @@ const nm = ({
|
|
1587
1587
|
}
|
1588
1588
|
);
|
1589
1589
|
};
|
1590
|
-
var hc = { videoMaxHeight: "var(--_18hbdtx0)" }, pc = "
|
1590
|
+
var hc = { videoMaxHeight: "var(--_18hbdtx0)" }, pc = "_18hbdtx1", mc = "_18hbdtx2", gc = "_18hbdtx3", yc = "_18hbdtx4", vc = "_18hbdtx5", bc = "_18hbdtx6";
|
1591
1591
|
const xc = ({
|
1592
1592
|
video: t,
|
1593
1593
|
isAutoPlay: e,
|
@@ -1603,52 +1603,52 @@ const xc = ({
|
|
1603
1603
|
isPlayingFullScreen: d = !1,
|
1604
1604
|
className: f
|
1605
1605
|
}) => {
|
1606
|
-
const h = le(null), [p, g] = _t(!1), [x, v] = _t(e || r),
|
1606
|
+
const h = le(null), [p, g] = _t(!1), [x, v] = _t(e || r), w = () => {
|
1607
1607
|
var y;
|
1608
1608
|
i && i(), (y = h.current) == null || y.play(), g(!0);
|
1609
|
-
},
|
1609
|
+
}, S = () => {
|
1610
1610
|
var y;
|
1611
1611
|
s && s(), (y = h.current) == null || y.pause(), g(!1);
|
1612
|
-
},
|
1612
|
+
}, P = () => {
|
1613
1613
|
var y;
|
1614
1614
|
(y = h.current) == null || y.pause(), g(!1);
|
1615
1615
|
}, m = () => {
|
1616
1616
|
const y = !x;
|
1617
1617
|
v(y), h.current && (h.current.muted = y);
|
1618
1618
|
}, V = () => {
|
1619
|
-
o && o(),
|
1619
|
+
o && o(), S();
|
1620
1620
|
}, E = (y) => {
|
1621
|
-
y.key === "Escape" &&
|
1621
|
+
y.key === "Escape" && S();
|
1622
1622
|
};
|
1623
|
-
return
|
1623
|
+
return wt(() => (window.addEventListener("keydown", E), () => window.removeEventListener("keydown", E)), []), /* @__PURE__ */ A("div", { className: f, style: F({
|
1624
1624
|
[hc.videoMaxHeight]: u ? "100vw" : "100%"
|
1625
1625
|
}), children: /* @__PURE__ */ ht("div", { className: pc, children: [
|
1626
1626
|
/* @__PURE__ */ A("video", { ref: h, playsInline: !0, onEnded: V, children: /* @__PURE__ */ A("source", { src: t, type: "video/mp4" }) }),
|
1627
1627
|
n && /* @__PURE__ */ A("div", { className: mc, children: /* @__PURE__ */ A("img", { src: n, alt: "" }) }),
|
1628
|
-
(!c || !e) && /* @__PURE__ */ A("button", { className: gc, onClick:
|
1629
|
-
d && /* @__PURE__ */ A("button", { className: vc, onClick:
|
1630
|
-
p && a && /* @__PURE__ */ A("button", { className: yc, onClick: p ?
|
1628
|
+
(!c || !e) && /* @__PURE__ */ A("button", { className: gc, onClick: w, "aria-label": "Play", children: /* @__PURE__ */ A(Xt, { icon: "play", size: 50, theme: l }) }),
|
1629
|
+
d && /* @__PURE__ */ A("button", { className: vc, onClick: S, "aria-label": "Close", children: /* @__PURE__ */ A(Xt, { icon: "close", size: 28, theme: l }) }),
|
1630
|
+
p && a && /* @__PURE__ */ A("button", { className: yc, onClick: p ? P : w, "aria-label": "Pause", children: /* @__PURE__ */ A(Xt, { icon: "pause", size: 28, theme: l }) }),
|
1631
1631
|
a && /* @__PURE__ */ A("button", { className: bc, onClick: m, "aria-label": "Sound", children: /* @__PURE__ */ A(Xt, { icon: x ? "volumeUp" : "volumeMute", size: 28, theme: l }) })
|
1632
1632
|
] }) });
|
1633
1633
|
};
|
1634
|
-
var
|
1634
|
+
var wc = { imgMaxWidth: "var(--_13pkfbg0)" }, rm = {};
|
1635
1635
|
const im = ({ children: t, theme: e = B, className: n }) => /* @__PURE__ */ A(
|
1636
1636
|
"div",
|
1637
1637
|
{
|
1638
1638
|
className: n,
|
1639
1639
|
style: F({
|
1640
|
-
[
|
1640
|
+
[wc.imgMaxWidth]: "100%"
|
1641
1641
|
}),
|
1642
1642
|
children: t
|
1643
1643
|
}
|
1644
1644
|
);
|
1645
1645
|
var $n = { gap: "var(--_1vea7fs0)", displayItem: "var(--_1vea7fs1)", isFullWidth: "var(--_1vea7fs2)" }, sm = { gap: "var(--_1vea7fs0)", display: "flex", flexWrap: "nowrap", overflow: "hidden", width: "var(--_1vea7fs2)" };
|
1646
|
-
function
|
1646
|
+
function Sc() {
|
1647
1647
|
const [t, e] = _t({
|
1648
1648
|
width: void 0,
|
1649
1649
|
height: void 0
|
1650
1650
|
});
|
1651
|
-
return
|
1651
|
+
return wt(() => {
|
1652
1652
|
function n() {
|
1653
1653
|
e({
|
1654
1654
|
width: window.innerWidth,
|
@@ -1667,8 +1667,8 @@ const om = ({
|
|
1667
1667
|
displayNavButtons: s = !1,
|
1668
1668
|
className: o
|
1669
1669
|
}) => {
|
1670
|
-
const { width: a } =
|
1671
|
-
return
|
1670
|
+
const { width: a } = Sc(), [l, c] = _t(0), u = le(null), [d, f] = _t(n);
|
1671
|
+
return wt(() => {
|
1672
1672
|
a && a > 1024 ? f(n) : a && a > 768 ? f(Math.min(n, 2)) : f(1);
|
1673
1673
|
}, [a, n]), /* @__PURE__ */ ht(
|
1674
1674
|
"div",
|
@@ -1689,7 +1689,7 @@ const om = ({
|
|
1689
1689
|
}
|
1690
1690
|
);
|
1691
1691
|
};
|
1692
|
-
var
|
1692
|
+
var we = {}, hn = function() {
|
1693
1693
|
return hn = Object.assign || function(t) {
|
1694
1694
|
for (var e, n = 1, r = arguments.length; n < r; n++) for (var i in e = arguments[n]) Object.prototype.hasOwnProperty.call(e, i) && (t[i] = e[i]);
|
1695
1695
|
return t;
|
@@ -1767,21 +1767,21 @@ var Se = {}, hn = function() {
|
|
1767
1767
|
this.startTime = null, this.duration = 1e3 * Number(this.options.duration), this.remaining = this.duration;
|
1768
1768
|
}, t;
|
1769
1769
|
}();
|
1770
|
-
const
|
1770
|
+
const Cc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
1771
1771
|
__proto__: null,
|
1772
1772
|
CountUp: Tc
|
1773
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
1773
|
+
}, Symbol.toStringTag, { value: "Module" })), Pc = /* @__PURE__ */ bl(Cc);
|
1774
1774
|
var gi;
|
1775
1775
|
function Ac() {
|
1776
|
-
if (gi) return
|
1777
|
-
gi = 1, Object.defineProperty(
|
1778
|
-
var t = $a, e =
|
1776
|
+
if (gi) return we;
|
1777
|
+
gi = 1, Object.defineProperty(we, "__esModule", { value: !0 });
|
1778
|
+
var t = $a, e = Pc;
|
1779
1779
|
function n(y, b) {
|
1780
1780
|
var T = y == null ? null : typeof Symbol < "u" && y[Symbol.iterator] || y["@@iterator"];
|
1781
1781
|
if (T != null) {
|
1782
|
-
var
|
1782
|
+
var C, k, z, Q, tt = [], G = !0, D = !1;
|
1783
1783
|
try {
|
1784
|
-
if (z = (T = T.call(y)).next, b !== 0) for (; !(G = (
|
1784
|
+
if (z = (T = T.call(y)).next, b !== 0) for (; !(G = (C = z.call(T)).done) && (tt.push(C.value), tt.length !== b); G = !0) ;
|
1785
1785
|
} catch (I) {
|
1786
1786
|
D = !0, k = I;
|
1787
1787
|
} finally {
|
@@ -1797,20 +1797,20 @@ function Ac() {
|
|
1797
1797
|
function r(y, b) {
|
1798
1798
|
var T = Object.keys(y);
|
1799
1799
|
if (Object.getOwnPropertySymbols) {
|
1800
|
-
var
|
1801
|
-
b && (
|
1800
|
+
var C = Object.getOwnPropertySymbols(y);
|
1801
|
+
b && (C = C.filter(function(k) {
|
1802
1802
|
return Object.getOwnPropertyDescriptor(y, k).enumerable;
|
1803
|
-
})), T.push.apply(T,
|
1803
|
+
})), T.push.apply(T, C);
|
1804
1804
|
}
|
1805
1805
|
return T;
|
1806
1806
|
}
|
1807
1807
|
function i(y) {
|
1808
1808
|
for (var b = 1; b < arguments.length; b++) {
|
1809
1809
|
var T = arguments[b] != null ? arguments[b] : {};
|
1810
|
-
b % 2 ? r(Object(T), !0).forEach(function(
|
1811
|
-
a(y,
|
1812
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(y, Object.getOwnPropertyDescriptors(T)) : r(Object(T)).forEach(function(
|
1813
|
-
Object.defineProperty(y,
|
1810
|
+
b % 2 ? r(Object(T), !0).forEach(function(C) {
|
1811
|
+
a(y, C, T[C]);
|
1812
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(y, Object.getOwnPropertyDescriptors(T)) : r(Object(T)).forEach(function(C) {
|
1813
|
+
Object.defineProperty(y, C, Object.getOwnPropertyDescriptor(T, C));
|
1814
1814
|
});
|
1815
1815
|
}
|
1816
1816
|
return y;
|
@@ -1819,8 +1819,8 @@ function Ac() {
|
|
1819
1819
|
if (typeof y != "object" || !y) return y;
|
1820
1820
|
var T = y[Symbol.toPrimitive];
|
1821
1821
|
if (T !== void 0) {
|
1822
|
-
var
|
1823
|
-
if (typeof
|
1822
|
+
var C = T.call(y, b || "default");
|
1823
|
+
if (typeof C != "object") return C;
|
1824
1824
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
1825
1825
|
}
|
1826
1826
|
return (b === "string" ? String : Number)(y);
|
@@ -1841,26 +1841,26 @@ function Ac() {
|
|
1841
1841
|
return l = Object.assign ? Object.assign.bind() : function(y) {
|
1842
1842
|
for (var b = 1; b < arguments.length; b++) {
|
1843
1843
|
var T = arguments[b];
|
1844
|
-
for (var
|
1845
|
-
Object.prototype.hasOwnProperty.call(T,
|
1844
|
+
for (var C in T)
|
1845
|
+
Object.prototype.hasOwnProperty.call(T, C) && (y[C] = T[C]);
|
1846
1846
|
}
|
1847
1847
|
return y;
|
1848
1848
|
}, l.apply(this, arguments);
|
1849
1849
|
}
|
1850
1850
|
function c(y, b) {
|
1851
1851
|
if (y == null) return {};
|
1852
|
-
var T = {},
|
1853
|
-
for (z = 0; z <
|
1854
|
-
k =
|
1852
|
+
var T = {}, C = Object.keys(y), k, z;
|
1853
|
+
for (z = 0; z < C.length; z++)
|
1854
|
+
k = C[z], !(b.indexOf(k) >= 0) && (T[k] = y[k]);
|
1855
1855
|
return T;
|
1856
1856
|
}
|
1857
1857
|
function u(y, b) {
|
1858
1858
|
if (y == null) return {};
|
1859
|
-
var T = c(y, b),
|
1859
|
+
var T = c(y, b), C, k;
|
1860
1860
|
if (Object.getOwnPropertySymbols) {
|
1861
1861
|
var z = Object.getOwnPropertySymbols(y);
|
1862
1862
|
for (k = 0; k < z.length; k++)
|
1863
|
-
|
1863
|
+
C = z[k], !(b.indexOf(C) >= 0) && Object.prototype.propertyIsEnumerable.call(y, C) && (T[C] = y[C]);
|
1864
1864
|
}
|
1865
1865
|
return T;
|
1866
1866
|
}
|
@@ -1880,8 +1880,8 @@ function Ac() {
|
|
1880
1880
|
}
|
1881
1881
|
function p(y, b) {
|
1882
1882
|
(b == null || b > y.length) && (b = y.length);
|
1883
|
-
for (var T = 0,
|
1884
|
-
return
|
1883
|
+
for (var T = 0, C = new Array(b); T < b; T++) C[T] = y[T];
|
1884
|
+
return C;
|
1885
1885
|
}
|
1886
1886
|
function g() {
|
1887
1887
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
@@ -1893,17 +1893,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
1893
1893
|
return x(function() {
|
1894
1894
|
b.current = y;
|
1895
1895
|
}), t.useCallback(function() {
|
1896
|
-
for (var T = arguments.length,
|
1897
|
-
|
1898
|
-
return b.current.apply(void 0,
|
1896
|
+
for (var T = arguments.length, C = new Array(T), k = 0; k < T; k++)
|
1897
|
+
C[k] = arguments[k];
|
1898
|
+
return b.current.apply(void 0, C);
|
1899
1899
|
}, []);
|
1900
1900
|
}
|
1901
|
-
var
|
1902
|
-
var
|
1901
|
+
var w = function(b, T) {
|
1902
|
+
var C = T.decimal, k = T.decimals, z = T.duration, Q = T.easingFn, tt = T.end, G = T.formattingFn, D = T.numerals, I = T.prefix, st = T.separator, et = T.start, $t = T.suffix, Ot = T.useEasing, yt = T.useGrouping, pt = T.useIndianSeparators, Ft = T.enableScrollSpy, dt = T.scrollSpyDelay, Bt = T.scrollSpyOnce, vt = T.plugin;
|
1903
1903
|
return new e.CountUp(b, tt, {
|
1904
1904
|
startVal: et,
|
1905
1905
|
duration: z,
|
1906
|
-
decimal:
|
1906
|
+
decimal: C,
|
1907
1907
|
decimalPlaces: k,
|
1908
1908
|
easingFn: Q,
|
1909
1909
|
formattingFn: G,
|
@@ -1919,7 +1919,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
1919
1919
|
scrollSpyDelay: dt,
|
1920
1920
|
scrollSpyOnce: Bt
|
1921
1921
|
});
|
1922
|
-
},
|
1922
|
+
}, S = ["ref", "startOnMount", "enableReinitialize", "delay", "onEnd", "onStart", "onPauseResume", "onReset", "onUpdate"], P = {
|
1923
1923
|
decimal: ".",
|
1924
1924
|
separator: ",",
|
1925
1925
|
delay: null,
|
@@ -1937,10 +1937,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
1937
1937
|
var T = Object.fromEntries(Object.entries(b).filter(function(ot) {
|
1938
1938
|
var Tt = d(ot, 2), Ht = Tt[1];
|
1939
1939
|
return Ht !== void 0;
|
1940
|
-
})),
|
1941
|
-
return i(i({},
|
1942
|
-
}, [b]), k =
|
1943
|
-
return
|
1940
|
+
})), C = t.useMemo(function() {
|
1941
|
+
return i(i({}, P), T);
|
1942
|
+
}, [b]), k = C.ref, z = C.startOnMount, Q = C.enableReinitialize, tt = C.delay, G = C.onEnd, D = C.onStart, I = C.onPauseResume, st = C.onReset, et = C.onUpdate, $t = u(C, S), Ot = t.useRef(), yt = t.useRef(), pt = t.useRef(!1), Ft = v(function() {
|
1943
|
+
return w(typeof k == "string" ? k : k.current, $t);
|
1944
1944
|
}), dt = v(function(ot) {
|
1945
1945
|
var Tt = Ot.current;
|
1946
1946
|
if (Tt && !ot)
|
@@ -2000,7 +2000,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
2000
2000
|
getCountUp: dt
|
2001
2001
|
};
|
2002
2002
|
}, V = ["className", "redraw", "containerProps", "children", "style"], E = function(b) {
|
2003
|
-
var T = b.className,
|
2003
|
+
var T = b.className, C = b.redraw, k = b.containerProps, z = b.children, Q = b.style, tt = u(b, V), G = t.useRef(null), D = t.useRef(!1), I = m(i(i({}, tt), {}, {
|
2004
2004
|
ref: G,
|
2005
2005
|
startOnMount: typeof z != "function" || b.delay === 0,
|
2006
2006
|
// component manually restarts
|
@@ -2021,12 +2021,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
2021
2021
|
}, [dt]), t.useEffect(function() {
|
2022
2022
|
D.current && Ft(b.end);
|
2023
2023
|
}, [b.end, Ft]);
|
2024
|
-
var Bt =
|
2024
|
+
var Bt = C && b;
|
2025
2025
|
return t.useEffect(function() {
|
2026
|
-
|
2027
|
-
}, [pt,
|
2028
|
-
!
|
2029
|
-
}, [pt,
|
2026
|
+
C && D.current && pt();
|
2027
|
+
}, [pt, C, Bt]), t.useEffect(function() {
|
2028
|
+
!C && D.current && pt();
|
2029
|
+
}, [pt, C, b.start, b.suffix, b.prefix, b.duration, b.separator, b.decimals, b.decimal, b.className, b.formattingFn]), t.useEffect(function() {
|
2030
2030
|
D.current = !0;
|
2031
2031
|
}, []), typeof z == "function" ? z({
|
2032
2032
|
countUpRef: G,
|
@@ -2041,7 +2041,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
2041
2041
|
style: Q
|
2042
2042
|
}, k), typeof b.start < "u" ? yt().formattingFn(b.start) : "");
|
2043
2043
|
};
|
2044
|
-
return
|
2044
|
+
return we.default = E, we.useCountUp = m, we;
|
2045
2045
|
}
|
2046
2046
|
var Vc = Ac();
|
2047
2047
|
const Rc = /* @__PURE__ */ vl(Vc);
|
@@ -2116,14 +2116,14 @@ function Lc({
|
|
2116
2116
|
h.current = c, lt.useEffect(
|
2117
2117
|
() => {
|
2118
2118
|
if (o || !d) return;
|
2119
|
-
let
|
2120
|
-
return
|
2119
|
+
let S;
|
2120
|
+
return S = _c(
|
2121
2121
|
d,
|
2122
|
-
(
|
2122
|
+
(P, m) => {
|
2123
2123
|
g({
|
2124
|
-
inView:
|
2124
|
+
inView: P,
|
2125
2125
|
entry: m
|
2126
|
-
}), h.current && h.current(
|
2126
|
+
}), h.current && h.current(P, m), m.isIntersecting && s && S && (S(), S = void 0);
|
2127
2127
|
},
|
2128
2128
|
{
|
2129
2129
|
root: i,
|
@@ -2136,7 +2136,7 @@ function Lc({
|
|
2136
2136
|
},
|
2137
2137
|
l
|
2138
2138
|
), () => {
|
2139
|
-
|
2139
|
+
S && S();
|
2140
2140
|
};
|
2141
2141
|
},
|
2142
2142
|
// We break the rule here, because we aren't including the actual `threshold` variable
|
@@ -2159,8 +2159,8 @@ function Lc({
|
|
2159
2159
|
inView: !!a,
|
2160
2160
|
entry: void 0
|
2161
2161
|
}));
|
2162
|
-
const
|
2163
|
-
return
|
2162
|
+
const w = [f, p.inView, p.entry];
|
2163
|
+
return w.ref = w[0], w.inView = w[1], w.entry = w[2], w;
|
2164
2164
|
}
|
2165
2165
|
var $c = { keyNumberPaddingBottom: "var(--_177g97f0)" }, am = { display: "flex", flexDirection: "column" }, Oc = "_177g97f1";
|
2166
2166
|
const lm = ({
|
@@ -2170,7 +2170,7 @@ const lm = ({
|
|
2170
2170
|
className: r,
|
2171
2171
|
theme: i = B
|
2172
2172
|
}) => {
|
2173
|
-
const s =
|
2173
|
+
const s = St(), [o, a] = Lc({
|
2174
2174
|
threshold: 0.3,
|
2175
2175
|
triggerOnce: !0
|
2176
2176
|
}), { keyNumber: { paddingBottom: l } } = i;
|
@@ -2191,7 +2191,7 @@ const lm = ({
|
|
2191
2191
|
}
|
2192
2192
|
);
|
2193
2193
|
};
|
2194
|
-
var vi = { videoFullWidthLeft: "var(--_29n9il0)", videoFullWidthRight: "var(--_29n9il1)" }, cm = "
|
2194
|
+
var vi = { videoFullWidthLeft: "var(--_29n9il0)", videoFullWidthRight: "var(--_29n9il1)" }, cm = { height: 0, width: "100vw", overflow: "hidden", position: "relative", paddingBottom: "56.25%", left: "var(--_29n9il0)", right: "var(--_29n9il1)" };
|
2195
2195
|
const um = ({
|
2196
2196
|
video: t,
|
2197
2197
|
poster: e,
|
@@ -2201,7 +2201,7 @@ const um = ({
|
|
2201
2201
|
startMuted: s = !1,
|
2202
2202
|
theme: o = B
|
2203
2203
|
}) => {
|
2204
|
-
const a =
|
2204
|
+
const a = St(), {
|
2205
2205
|
global: { maxWidth: l, paddingLeft: c, paddingRight: u }
|
2206
2206
|
} = o;
|
2207
2207
|
return /* @__PURE__ */ A(
|
@@ -2227,7 +2227,7 @@ const um = ({
|
|
2227
2227
|
}
|
2228
2228
|
);
|
2229
2229
|
};
|
2230
|
-
var Fc = { languageSwitcherWidth: "var(--_9kkynw0)" }, dm = "
|
2230
|
+
var Fc = { languageSwitcherWidth: "var(--_9kkynw0)" }, dm = { marginLeft: "auto", marginRight: "auto", position: "relative", width: "var(--_9kkynw0)" }, Bc = "_9kkynw1", Ic = "_9kkynw2";
|
2231
2231
|
const fm = ({
|
2232
2232
|
currentLocale: t,
|
2233
2233
|
handleChange: e,
|
@@ -2236,7 +2236,7 @@ const fm = ({
|
|
2236
2236
|
className: i,
|
2237
2237
|
translations: s
|
2238
2238
|
}) => {
|
2239
|
-
const o =
|
2239
|
+
const o = St(), { languageSwitcher: a } = r;
|
2240
2240
|
return /* @__PURE__ */ ht(
|
2241
2241
|
"div",
|
2242
2242
|
{
|
@@ -2260,12 +2260,12 @@ const fm = ({
|
|
2260
2260
|
}
|
2261
2261
|
);
|
2262
2262
|
};
|
2263
|
-
var
|
2263
|
+
var jc = "var(--_1wp326d0)", Nc = "var(--_1wp326d1)", hm = { 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
2264
|
const pm = ({ children: t, className: e, theme: n = B }) => {
|
2265
2265
|
const { main: { backgroundColor: r, minHeight: i } } = n;
|
2266
2266
|
return /* @__PURE__ */ A("main", { className: e, style: F({
|
2267
|
-
[
|
2268
|
-
[
|
2267
|
+
[jc]: i,
|
2268
|
+
[Nc]: r
|
2269
2269
|
}), children: t });
|
2270
2270
|
};
|
2271
2271
|
var bi = { overlayBottom: "var(--xr8l1e0)", overlayTransform: "var(--xr8l1e1)" }, Uc = "xr8l1e2";
|
@@ -2274,7 +2274,7 @@ const zc = ({
|
|
2274
2274
|
isOpen: e = !1,
|
2275
2275
|
children: n,
|
2276
2276
|
className: r
|
2277
|
-
}) => (
|
2277
|
+
}) => (wt(() => {
|
2278
2278
|
const i = document.getElementsByTagName("html")[0];
|
2279
2279
|
i.style.overflow = "", e && (i.style.overflow = "hidden");
|
2280
2280
|
}, [e]), /* @__PURE__ */ A(
|
@@ -2315,7 +2315,7 @@ const Gc = ({
|
|
2315
2315
|
}
|
2316
2316
|
);
|
2317
2317
|
};
|
2318
|
-
var Hc = { isFixed: "var(--_15wg1hu0)" }, mm = "
|
2318
|
+
var Hc = { isFixed: "var(--_15wg1hu0)" }, mm = { zIndex: 30, width: "100%", display: "flex", alignItems: "center", justifyContent: "space-between", position: "var(--_15wg1hu0)", backgroundColor: "var(--header-bg, white)" }, Kc = "_15wg1hu1", Yc = "_15wg1hu2";
|
2319
2319
|
const gm = ({
|
2320
2320
|
children: t,
|
2321
2321
|
isFixed: e = !1,
|
@@ -2326,7 +2326,7 @@ const gm = ({
|
|
2326
2326
|
className: o
|
2327
2327
|
}) => {
|
2328
2328
|
const [a, l] = _t(!1);
|
2329
|
-
return /* @__PURE__ */ ht(
|
2329
|
+
return /* @__PURE__ */ ht(jl, { children: [
|
2330
2330
|
/* @__PURE__ */ ht(
|
2331
2331
|
"header",
|
2332
2332
|
{
|
@@ -2353,9 +2353,9 @@ const gm = ({
|
|
2353
2353
|
e && /* @__PURE__ */ A("div", { className: Yc })
|
2354
2354
|
] });
|
2355
2355
|
};
|
2356
|
-
var te = { footerGap: "var(--fl7h880)", footerBackgroundColor: "var(--fl7h881)", footerPaddingTop: "var(--fl7h882)", footerPaddingBottom: "var(--fl7h883)", footerPaddingLeft: "var(--fl7h884)", footerPaddingRight: "var(--fl7h885)" }, ym = "
|
2356
|
+
var te = { footerGap: "var(--fl7h880)", footerBackgroundColor: "var(--fl7h881)", footerPaddingTop: "var(--fl7h882)", footerPaddingBottom: "var(--fl7h883)", footerPaddingLeft: "var(--fl7h884)", footerPaddingRight: "var(--fl7h885)" }, ym = { 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
2357
|
const vm = ({ children: t, className: e, theme: n = B }) => {
|
2358
|
-
const r =
|
2358
|
+
const r = St(), {
|
2359
2359
|
global: { paddingLeft: i, paddingRight: s },
|
2360
2360
|
footer: { gap: o, backgroundColor: a, paddingTop: l, paddingBottom: c }
|
2361
2361
|
} = n;
|
@@ -2368,11 +2368,11 @@ const vm = ({ children: t, className: e, theme: n = B }) => {
|
|
2368
2368
|
[te.footerPaddingRight]: `${s[r]}px`
|
2369
2369
|
}), children: t });
|
2370
2370
|
};
|
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)" }, bm =
|
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)" }, bm = {}, Ce = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(Ce || {});
|
2372
2372
|
const xm = ({
|
2373
2373
|
columns: t,
|
2374
2374
|
children: e,
|
2375
|
-
align: n =
|
2375
|
+
align: n = Ce.Left,
|
2376
2376
|
isCentered: r = !1,
|
2377
2377
|
isInverted: i = !1,
|
2378
2378
|
theme: s = B,
|
@@ -2386,8 +2386,8 @@ const xm = ({
|
|
2386
2386
|
style: F({
|
2387
2387
|
...a,
|
2388
2388
|
[ee.columnsGap]: `${s.columns.gap}px`,
|
2389
|
-
[ee.columnsTextAlign]: n ===
|
2390
|
-
[ee.columnsJustifyContent]: n ===
|
2389
|
+
[ee.columnsTextAlign]: n === Ce.Center ? "center" : "left",
|
2390
|
+
[ee.columnsJustifyContent]: n === Ce.Right ? "flex-end" : n === Ce.Center ? "center" : "flex-start",
|
2391
2391
|
[ee.isCentered]: r ? "center" : "stretch",
|
2392
2392
|
[ee.isInverted]: i ? "row-reverse" : "row"
|
2393
2393
|
}),
|
@@ -2399,24 +2399,24 @@ function no(t) {
|
|
2399
2399
|
const e = le(null);
|
2400
2400
|
return e.current === null && (e.current = t()), e.current;
|
2401
2401
|
}
|
2402
|
-
const
|
2402
|
+
const wr = /* @__PURE__ */ pe(null), ro = pe({
|
2403
2403
|
transformPagePoint: (t) => t,
|
2404
2404
|
isStatic: !1,
|
2405
2405
|
reducedMotion: "never"
|
2406
2406
|
});
|
2407
2407
|
function Xc(t = !0) {
|
2408
|
-
const e = rt(
|
2408
|
+
const e = rt(wr);
|
2409
2409
|
if (e === null)
|
2410
2410
|
return [!0, null];
|
2411
2411
|
const { isPresent: n, onExitComplete: r, register: i } = e, s = Oa();
|
2412
|
-
|
2412
|
+
wt(() => {
|
2413
2413
|
if (t)
|
2414
2414
|
return i(s);
|
2415
2415
|
}, [t]);
|
2416
2416
|
const o = Is(() => t && r && r(s), [s, r, t]);
|
2417
2417
|
return !n && r ? [!1, o] : [!0];
|
2418
2418
|
}
|
2419
|
-
const
|
2419
|
+
const Sr = typeof window < "u", io = Sr ? Fa : wt, ct = /* @__NO_SIDE_EFFECTS__ */ (t) => t;
|
2420
2420
|
let ge = ct, Mt = ct;
|
2421
2421
|
process.env.NODE_ENV !== "production" && (ge = (t, e) => {
|
2422
2422
|
!t && typeof console < "u" && console.warn(e);
|
@@ -2494,21 +2494,21 @@ function so(t, e) {
|
|
2494
2494
|
delta: 0,
|
2495
2495
|
timestamp: 0,
|
2496
2496
|
isProcessing: !1
|
2497
|
-
}, s = () => n = !0, o = Xe.reduce((v,
|
2497
|
+
}, s = () => n = !0, o = Xe.reduce((v, w) => (v[w] = Jc(s), v), {}), { read: a, resolveKeyframes: l, update: c, preRender: u, render: d, postRender: f } = o, h = () => {
|
2498
2498
|
const v = performance.now();
|
2499
2499
|
n = !1, i.delta = r ? 1e3 / 60 : Math.max(Math.min(v - i.timestamp, Qc), 1), i.timestamp = v, i.isProcessing = !0, a.process(i), l.process(i), c.process(i), u.process(i), d.process(i), f.process(i), i.isProcessing = !1, n && e && (r = !1, t(h));
|
2500
2500
|
}, p = () => {
|
2501
2501
|
n = !0, r = !0, i.isProcessing || t(h);
|
2502
2502
|
};
|
2503
|
-
return { schedule: Xe.reduce((v,
|
2504
|
-
const
|
2505
|
-
return v[
|
2503
|
+
return { schedule: Xe.reduce((v, w) => {
|
2504
|
+
const S = o[w];
|
2505
|
+
return v[w] = (P, m = !1, V = !1) => (n || p(), S.schedule(P, m, V)), v;
|
2506
2506
|
}, {}), cancel: (v) => {
|
2507
|
-
for (let
|
2508
|
-
o[Xe[
|
2507
|
+
for (let w = 0; w < Xe.length; w++)
|
2508
|
+
o[Xe[w]].cancel(v);
|
2509
2509
|
}, state: i, steps: o };
|
2510
2510
|
}
|
2511
|
-
const { schedule:
|
2511
|
+
const { schedule: j, cancel: Ut, state: H, steps: On } = so(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ct, !0), oo = pe({ strict: !1 }), wi = {
|
2512
2512
|
animation: [
|
2513
2513
|
"animate",
|
2514
2514
|
"variants",
|
@@ -2528,9 +2528,9 @@ const { schedule: N, cancel: Ut, state: H, steps: On } = so(typeof requestAnimat
|
|
2528
2528
|
inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
|
2529
2529
|
layout: ["layout", "layoutId"]
|
2530
2530
|
}, fe = {};
|
2531
|
-
for (const t in
|
2531
|
+
for (const t in wi)
|
2532
2532
|
fe[t] = {
|
2533
|
-
isEnabled: (e) =>
|
2533
|
+
isEnabled: (e) => wi[t].some((n) => !!e[n])
|
2534
2534
|
};
|
2535
2535
|
function tu(t) {
|
2536
2536
|
for (const e in t)
|
@@ -2589,14 +2589,14 @@ function ru(t, e, n) {
|
|
2589
2589
|
t.draggable && i.startsWith("onDrag")) && (r[i] = t[i]);
|
2590
2590
|
return r;
|
2591
2591
|
}
|
2592
|
-
const
|
2593
|
-
function
|
2594
|
-
t ||
|
2592
|
+
const Si = /* @__PURE__ */ new Set();
|
2593
|
+
function Pn(t, e, n) {
|
2594
|
+
t || Si.has(e) || (console.warn(e), Si.add(e));
|
2595
2595
|
}
|
2596
2596
|
function iu(t) {
|
2597
2597
|
if (typeof Proxy > "u")
|
2598
2598
|
return t;
|
2599
|
-
const e = /* @__PURE__ */ new Map(), n = (...r) => (process.env.NODE_ENV !== "production" &&
|
2599
|
+
const e = /* @__PURE__ */ new Map(), n = (...r) => (process.env.NODE_ENV !== "production" && Pn(!1, "motion() is deprecated. Use motion.create() instead."), t(...r));
|
2600
2600
|
return new Proxy(n, {
|
2601
2601
|
/**
|
2602
2602
|
* Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.
|
@@ -2613,7 +2613,7 @@ function Vn(t) {
|
|
2613
2613
|
function $e(t) {
|
2614
2614
|
return typeof t == "string" || Array.isArray(t);
|
2615
2615
|
}
|
2616
|
-
const
|
2616
|
+
const Cr = [
|
2617
2617
|
"animate",
|
2618
2618
|
"whileInView",
|
2619
2619
|
"whileFocus",
|
@@ -2621,9 +2621,9 @@ const Pr = [
|
|
2621
2621
|
"whileTap",
|
2622
2622
|
"whileDrag",
|
2623
2623
|
"exit"
|
2624
|
-
],
|
2624
|
+
], Pr = ["initial", ...Cr];
|
2625
2625
|
function Rn(t) {
|
2626
|
-
return Vn(t.animate) ||
|
2626
|
+
return Vn(t.animate) || Pr.some((e) => $e(t[e]));
|
2627
2627
|
}
|
2628
2628
|
function lo(t) {
|
2629
2629
|
return !!(Rn(t) || t.variants);
|
@@ -2662,10 +2662,10 @@ function lu(t, e, n) {
|
|
2662
2662
|
[e]
|
2663
2663
|
);
|
2664
2664
|
}
|
2665
|
-
const Ar = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), cu = "framerAppearId", co = "data-" + Ar(cu), { schedule: Vr, cancel:
|
2665
|
+
const Ar = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), cu = "framerAppearId", co = "data-" + Ar(cu), { schedule: Vr, cancel: wm } = so(queueMicrotask, !1), uo = pe({});
|
2666
2666
|
function uu(t, e, n, r, i) {
|
2667
2667
|
var s, o;
|
2668
|
-
const { visualElement: a } = rt(An), l = rt(oo), c = rt(
|
2668
|
+
const { visualElement: a } = rt(An), l = rt(oo), c = rt(wr), u = rt(ro).reducedMotion, d = le(null);
|
2669
2669
|
r = r || l.renderer, !d.current && r && (d.current = r(t, {
|
2670
2670
|
visualState: e,
|
2671
2671
|
parent: a,
|
@@ -2683,7 +2683,7 @@ function uu(t, e, n, r, i) {
|
|
2683
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
2684
|
return io(() => {
|
2685
2685
|
f && (p.current = !0, window.MotionIsMounted = !0, f.updateFeatures(), Vr.render(f.render), x.current && f.animationState && f.animationState.animateChanges());
|
2686
|
-
}),
|
2686
|
+
}), wt(() => {
|
2687
2687
|
f && (!x.current && f.animationState && f.animationState.animateChanges(), x.current && (queueMicrotask(() => {
|
2688
2688
|
var v;
|
2689
2689
|
(v = window.MotionHandoffMarkAsComplete) === null || v === void 0 || v.call(window, g);
|
@@ -2724,7 +2724,7 @@ function fu({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVis
|
|
2724
2724
|
...c,
|
2725
2725
|
layoutId: hu(c)
|
2726
2726
|
}, { isStatic: h } = f, p = ou(c), g = r(c, h);
|
2727
|
-
if (!h &&
|
2727
|
+
if (!h && Sr) {
|
2728
2728
|
pu(f, t);
|
2729
2729
|
const x = mu(f);
|
2730
2730
|
d = x.MeasureLayout, p.visualElement = uu(i, g, f, e, x.ProjectionNode);
|
@@ -2797,11 +2797,11 @@ const J = (t) => !!(t && t.getVelocity), mo = (t, e) => e && typeof t == "number
|
|
2797
2797
|
test: (e) => typeof e == "string" && e.endsWith(t) && e.split(" ").length === 1,
|
2798
2798
|
parse: parseFloat,
|
2799
2799
|
transform: (e) => `${e}${t}`
|
2800
|
-
}),
|
2800
|
+
}), Nt = /* @__PURE__ */ ze("deg"), Rt = /* @__PURE__ */ ze("%"), M = /* @__PURE__ */ ze("px"), bu = /* @__PURE__ */ ze("vh"), xu = /* @__PURE__ */ ze("vw"), Ci = {
|
2801
2801
|
...Rt,
|
2802
2802
|
parse: (t) => Rt.parse(t) / 100,
|
2803
2803
|
transform: (t) => Rt.transform(t * 100)
|
2804
|
-
},
|
2804
|
+
}, wu = {
|
2805
2805
|
// Border props
|
2806
2806
|
borderWidth: M,
|
2807
2807
|
borderTopWidth: M,
|
@@ -2837,18 +2837,18 @@ const J = (t) => !!(t && t.getVelocity), mo = (t, e) => e && typeof t == "number
|
|
2837
2837
|
// Misc
|
2838
2838
|
backgroundPositionX: M,
|
2839
2839
|
backgroundPositionY: M
|
2840
|
-
},
|
2841
|
-
rotate:
|
2842
|
-
rotateX:
|
2843
|
-
rotateY:
|
2844
|
-
rotateZ:
|
2840
|
+
}, Su = {
|
2841
|
+
rotate: Nt,
|
2842
|
+
rotateX: Nt,
|
2843
|
+
rotateY: Nt,
|
2844
|
+
rotateZ: Nt,
|
2845
2845
|
scale: Ze,
|
2846
2846
|
scaleX: Ze,
|
2847
2847
|
scaleY: Ze,
|
2848
2848
|
scaleZ: Ze,
|
2849
|
-
skew:
|
2850
|
-
skewX:
|
2851
|
-
skewY:
|
2849
|
+
skew: Nt,
|
2850
|
+
skewX: Nt,
|
2851
|
+
skewY: Nt,
|
2852
2852
|
distance: M,
|
2853
2853
|
translateX: M,
|
2854
2854
|
translateY: M,
|
@@ -2859,30 +2859,30 @@ const J = (t) => !!(t && t.getVelocity), mo = (t, e) => e && typeof t == "number
|
|
2859
2859
|
perspective: M,
|
2860
2860
|
transformPerspective: M,
|
2861
2861
|
opacity: Fe,
|
2862
|
-
originX:
|
2863
|
-
originY:
|
2862
|
+
originX: Ci,
|
2863
|
+
originY: Ci,
|
2864
2864
|
originZ: M
|
2865
|
-
},
|
2865
|
+
}, Pi = {
|
2866
2866
|
...ve,
|
2867
2867
|
transform: Math.round
|
2868
2868
|
}, Mr = {
|
2869
|
-
...Su,
|
2870
2869
|
...wu,
|
2871
|
-
|
2870
|
+
...Su,
|
2871
|
+
zIndex: Pi,
|
2872
2872
|
size: M,
|
2873
2873
|
// SVG
|
2874
2874
|
fillOpacity: Fe,
|
2875
2875
|
strokeOpacity: Fe,
|
2876
|
-
numOctaves:
|
2876
|
+
numOctaves: Pi
|
2877
2877
|
}, Tu = {
|
2878
2878
|
x: "translateX",
|
2879
2879
|
y: "translateY",
|
2880
2880
|
z: "translateZ",
|
2881
2881
|
transformPerspective: "perspective"
|
2882
|
-
},
|
2883
|
-
function
|
2882
|
+
}, Cu = ye.length;
|
2883
|
+
function Pu(t, e, n) {
|
2884
2884
|
let r = "", i = !0;
|
2885
|
-
for (let s = 0; s <
|
2885
|
+
for (let s = 0; s < Cu; s++) {
|
2886
2886
|
const o = ye[s], a = t[o];
|
2887
2887
|
if (a === void 0)
|
2888
2888
|
continue;
|
@@ -2915,7 +2915,7 @@ function kr(t, e, n) {
|
|
2915
2915
|
l.startsWith("origin") ? (a = !0, s[l] = u) : r[l] = u;
|
2916
2916
|
}
|
2917
2917
|
}
|
2918
|
-
if (e.transform || (o || n ? r.transform =
|
2918
|
+
if (e.transform || (o || n ? r.transform = Pu(e, t.transform, n) : r.transform && (r.transform = "none")), a) {
|
2919
2919
|
const { originX: l = "50%", originY: c = "50%", originZ: u = 0 } = s;
|
2920
2920
|
r.transformOrigin = `${l} ${c} ${u}`;
|
2921
2921
|
}
|
@@ -3052,7 +3052,7 @@ function Lu(t, e, n, r) {
|
|
3052
3052
|
}
|
3053
3053
|
function $u(t = !1) {
|
3054
3054
|
return (n, r, i, { latestValues: s }, o) => {
|
3055
|
-
const l = (_r(n) ? Lu : Ru)(r, s, o, n), c = ru(r, typeof n == "string", t), u = n !==
|
3055
|
+
const l = (_r(n) ? Lu : Ru)(r, s, o, n), c = ru(r, typeof n == "string", t), u = n !== js ? { ...c, ...l, ref: i } : {}, { children: d } = r, f = xn(() => J(d) ? d.get() : d, [d]);
|
3056
3056
|
return Ia(n, {
|
3057
3057
|
...u,
|
3058
3058
|
children: f
|
@@ -3089,7 +3089,7 @@ function Bu({ scrapeMotionValuesFromProps: t, createRenderState: e, onUpdate: n
|
|
3089
3089
|
return n && (o.onMount = (a) => n({ props: r, current: a, ...o }), o.onUpdate = (a) => n(a)), o;
|
3090
3090
|
}
|
3091
3091
|
const vo = (t) => (e, n) => {
|
3092
|
-
const r = rt(An), i = rt(
|
3092
|
+
const r = rt(An), i = rt(wr), s = () => Bu(t, e, r, i);
|
3093
3093
|
return n ? s() : no(s);
|
3094
3094
|
};
|
3095
3095
|
function Iu(t, e, n, r) {
|
@@ -3108,16 +3108,16 @@ function Iu(t, e, n, r) {
|
|
3108
3108
|
const p = Or(t, f[h]);
|
3109
3109
|
if (p) {
|
3110
3110
|
const { transitionEnd: g, transition: x, ...v } = p;
|
3111
|
-
for (const
|
3112
|
-
let
|
3113
|
-
if (Array.isArray(
|
3114
|
-
const
|
3115
|
-
|
3111
|
+
for (const w in v) {
|
3112
|
+
let S = v[w];
|
3113
|
+
if (Array.isArray(S)) {
|
3114
|
+
const P = u ? S.length - 1 : 0;
|
3115
|
+
S = S[P];
|
3116
3116
|
}
|
3117
|
-
|
3117
|
+
S !== null && (i[w] = S);
|
3118
3118
|
}
|
3119
|
-
for (const
|
3120
|
-
i[
|
3119
|
+
for (const w in g)
|
3120
|
+
i[w] = g[w];
|
3121
3121
|
}
|
3122
3122
|
}
|
3123
3123
|
}
|
@@ -3130,7 +3130,7 @@ function Fr(t, e, n) {
|
|
3130
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]);
|
3131
3131
|
return s;
|
3132
3132
|
}
|
3133
|
-
const
|
3133
|
+
const ju = {
|
3134
3134
|
useVisualState: vo({
|
3135
3135
|
scrapeMotionValuesFromProps: Fr,
|
3136
3136
|
createRenderState: Dr
|
@@ -3153,7 +3153,7 @@ function xo(t, { style: e, vars: n }, r, i) {
|
|
3153
3153
|
for (const s in n)
|
3154
3154
|
t.style.setProperty(s, n[s]);
|
3155
3155
|
}
|
3156
|
-
const
|
3156
|
+
const wo = /* @__PURE__ */ new Set([
|
3157
3157
|
"baseFrequency",
|
3158
3158
|
"diffuseConstant",
|
3159
3159
|
"kernelMatrix",
|
@@ -3178,10 +3178,10 @@ const So = /* @__PURE__ */ new Set([
|
|
3178
3178
|
"textLength",
|
3179
3179
|
"lengthAdjust"
|
3180
3180
|
]);
|
3181
|
-
function
|
3181
|
+
function So(t, e, n, r) {
|
3182
3182
|
xo(t, e, void 0, r);
|
3183
3183
|
for (const i in e.attrs)
|
3184
|
-
t.setAttribute(
|
3184
|
+
t.setAttribute(wo.has(i) ? i : Ar(i), e.attrs[i]);
|
3185
3185
|
}
|
3186
3186
|
function To(t, e, n) {
|
3187
3187
|
const r = Fr(t, e, n);
|
@@ -3192,7 +3192,7 @@ function To(t, e, n) {
|
|
3192
3192
|
}
|
3193
3193
|
return r;
|
3194
3194
|
}
|
3195
|
-
const Ri = ["x", "y", "width", "height", "cx", "cy", "r"],
|
3195
|
+
const Ri = ["x", "y", "width", "height", "cx", "cy", "r"], Nu = {
|
3196
3196
|
useVisualState: vo({
|
3197
3197
|
scrapeMotionValuesFromProps: To,
|
3198
3198
|
createRenderState: yo,
|
@@ -3215,9 +3215,9 @@ const Ri = ["x", "y", "width", "height", "cx", "cy", "r"], ju = {
|
|
3215
3215
|
const l = Ri[a];
|
3216
3216
|
t[l] !== e[l] && (o = !0);
|
3217
3217
|
}
|
3218
|
-
o &&
|
3219
|
-
bo(n, r),
|
3220
|
-
Lr(r, i, $r(n.tagName), t.transformTemplate),
|
3218
|
+
o && j.read(() => {
|
3219
|
+
bo(n, r), j.render(() => {
|
3220
|
+
Lr(r, i, $r(n.tagName), t.transformTemplate), So(n, r);
|
3221
3221
|
});
|
3222
3222
|
});
|
3223
3223
|
}
|
@@ -3226,7 +3226,7 @@ const Ri = ["x", "y", "width", "height", "cx", "cy", "r"], ju = {
|
|
3226
3226
|
function Uu(t, e) {
|
3227
3227
|
return function(r, { forwardMotionProps: i } = { forwardMotionProps: !1 }) {
|
3228
3228
|
const o = {
|
3229
|
-
..._r(r) ?
|
3229
|
+
..._r(r) ? Nu : ju,
|
3230
3230
|
preloadedFeatures: t,
|
3231
3231
|
useRender: $u(i),
|
3232
3232
|
createVisualElement: e,
|
@@ -3319,7 +3319,7 @@ function Br(t, e) {
|
|
3319
3319
|
return t ? t[e] || t.default || t : void 0;
|
3320
3320
|
}
|
3321
3321
|
const nr = 2e4;
|
3322
|
-
function
|
3322
|
+
function Co(t) {
|
3323
3323
|
let e = 0;
|
3324
3324
|
const n = 50;
|
3325
3325
|
let r = t.next(e);
|
@@ -3333,7 +3333,7 @@ function Ir(t) {
|
|
3333
3333
|
function Ei(t, e) {
|
3334
3334
|
t.timeline = e, t.onfinish = null;
|
3335
3335
|
}
|
3336
|
-
const
|
3336
|
+
const jr = (t) => Array.isArray(t) && typeof t[0] == "number", Gu = {
|
3337
3337
|
linearEasing: void 0
|
3338
3338
|
};
|
3339
3339
|
function Hu(t, e) {
|
@@ -3350,7 +3350,7 @@ const mn = /* @__PURE__ */ Hu(() => {
|
|
3350
3350
|
return !1;
|
3351
3351
|
}
|
3352
3352
|
return !0;
|
3353
|
-
}, "linearEasing"),
|
3353
|
+
}, "linearEasing"), Po = (t, e, n = 10) => {
|
3354
3354
|
let r = "";
|
3355
3355
|
const i = Math.max(Math.round(e / n), 2);
|
3356
3356
|
for (let s = 0; s < i; s++)
|
@@ -3358,22 +3358,22 @@ const mn = /* @__PURE__ */ Hu(() => {
|
|
3358
3358
|
return `linear(${r.substring(0, r.length - 2)})`;
|
3359
3359
|
};
|
3360
3360
|
function Ao(t) {
|
3361
|
-
return !!(typeof t == "function" && mn() || !t || typeof t == "string" && (t in rr || mn()) ||
|
3361
|
+
return !!(typeof t == "function" && mn() || !t || typeof t == "string" && (t in rr || mn()) || jr(t) || Array.isArray(t) && t.every(Ao));
|
3362
3362
|
}
|
3363
|
-
const
|
3363
|
+
const Pe = ([t, e, n, r]) => `cubic-bezier(${t}, ${e}, ${n}, ${r})`, rr = {
|
3364
3364
|
linear: "linear",
|
3365
3365
|
ease: "ease",
|
3366
3366
|
easeIn: "ease-in",
|
3367
3367
|
easeOut: "ease-out",
|
3368
3368
|
easeInOut: "ease-in-out",
|
3369
|
-
circIn: /* @__PURE__ */
|
3370
|
-
circOut: /* @__PURE__ */
|
3371
|
-
backIn: /* @__PURE__ */
|
3372
|
-
backOut: /* @__PURE__ */
|
3369
|
+
circIn: /* @__PURE__ */ Pe([0, 0.65, 0.55, 1]),
|
3370
|
+
circOut: /* @__PURE__ */ Pe([0.55, 0, 1, 0.45]),
|
3371
|
+
backIn: /* @__PURE__ */ Pe([0.31, 0.01, 0.66, -0.59]),
|
3372
|
+
backOut: /* @__PURE__ */ Pe([0.33, 1.53, 0.69, 0.99])
|
3373
3373
|
};
|
3374
3374
|
function Vo(t, e) {
|
3375
3375
|
if (t)
|
3376
|
-
return typeof t == "function" && mn() ?
|
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];
|
3377
3377
|
}
|
3378
3378
|
const xt = {
|
3379
3379
|
x: !1,
|
@@ -3428,7 +3428,7 @@ function gn(t, e) {
|
|
3428
3428
|
} catch {
|
3429
3429
|
}
|
3430
3430
|
}
|
3431
|
-
const ko = (t, e) => e ? t === e ? !0 : ko(t, e.parentElement) : !1,
|
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, Yu = /* @__PURE__ */ new Set([
|
3432
3432
|
"BUTTON",
|
3433
3433
|
"INPUT",
|
3434
3434
|
"SELECT",
|
@@ -3463,7 +3463,7 @@ const Zu = (t, e) => {
|
|
3463
3463
|
n.addEventListener("keydown", r, e), n.addEventListener("blur", () => n.removeEventListener("keydown", r), e);
|
3464
3464
|
};
|
3465
3465
|
function Di(t) {
|
3466
|
-
return
|
3466
|
+
return Nr(t) && !Ro();
|
3467
3467
|
}
|
3468
3468
|
function Ju(t, e, n = {}) {
|
3469
3469
|
const [r, i, s] = Mo(t, n), o = (a) => {
|
@@ -3618,13 +3618,13 @@ class rd {
|
|
3618
3618
|
* @deprecated
|
3619
3619
|
*/
|
3620
3620
|
onChange(e) {
|
3621
|
-
return process.env.NODE_ENV !== "production" &&
|
3621
|
+
return process.env.NODE_ENV !== "production" && Pn(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", e);
|
3622
3622
|
}
|
3623
3623
|
on(e, n) {
|
3624
3624
|
this.events[e] || (this.events[e] = new Wr());
|
3625
3625
|
const r = this.events[e].add(n);
|
3626
3626
|
return e === "change" ? () => {
|
3627
|
-
r(),
|
3627
|
+
r(), j.read(() => {
|
3628
3628
|
this.events.change.getSize() || this.stop();
|
3629
3629
|
});
|
3630
3630
|
} : r;
|
@@ -3790,7 +3790,7 @@ function We(t, e, n, r) {
|
|
3790
3790
|
const i = (s) => ld(s, 0, 1, t, n);
|
3791
3791
|
return (s) => s === 0 || s === 1 ? s : $o(i(s), e, r);
|
3792
3792
|
}
|
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),
|
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);
|
3794
3794
|
function cd(t) {
|
3795
3795
|
return typeof t == "number" ? t === 0 : t !== null ? t === "none" || t === "0" || zo(t) : !0;
|
3796
3796
|
}
|
@@ -3843,7 +3843,7 @@ function md(t) {
|
|
3843
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;
|
3844
3844
|
}
|
3845
3845
|
const qo = "number", Go = "color", gd = "var", yd = "var(", Li = "${}", vd = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
|
3846
|
-
function
|
3846
|
+
function je(t) {
|
3847
3847
|
const e = t.toString(), n = [], r = {
|
3848
3848
|
color: [],
|
3849
3849
|
number: [],
|
@@ -3854,10 +3854,10 @@ function Ne(t) {
|
|
3854
3854
|
return { values: n, split: a, indexes: r, types: i };
|
3855
3855
|
}
|
3856
3856
|
function Ho(t) {
|
3857
|
-
return
|
3857
|
+
return je(t).values;
|
3858
3858
|
}
|
3859
3859
|
function Ko(t) {
|
3860
|
-
const { split: e, types: n } =
|
3860
|
+
const { split: e, types: n } = je(t), r = e.length;
|
3861
3861
|
return (i) => {
|
3862
3862
|
let s = "";
|
3863
3863
|
for (let o = 0; o < r; o++)
|
@@ -3878,8 +3878,8 @@ const zt = {
|
|
3878
3878
|
parse: Ho,
|
3879
3879
|
createTransformer: Ko,
|
3880
3880
|
getAnimatableNone: xd
|
3881
|
-
},
|
3882
|
-
function
|
3881
|
+
}, wd = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
|
3882
|
+
function Sd(t) {
|
3883
3883
|
const [e, n] = t.slice(0, -1).split("(");
|
3884
3884
|
if (e === "drop-shadow")
|
3885
3885
|
return t;
|
@@ -3887,16 +3887,16 @@ function wd(t) {
|
|
3887
3887
|
if (!r)
|
3888
3888
|
return t;
|
3889
3889
|
const i = n.replace(r, "");
|
3890
|
-
let s =
|
3890
|
+
let s = wd.has(e) ? 1 : 0;
|
3891
3891
|
return r !== n && (s *= 100), e + "(" + s + i + ")";
|
3892
3892
|
}
|
3893
3893
|
const Td = /\b([a-z-]*)\(.*?\)/gu, or = {
|
3894
3894
|
...zt,
|
3895
3895
|
getAnimatableNone: (t) => {
|
3896
3896
|
const e = t.match(Td);
|
3897
|
-
return e ? e.map(
|
3897
|
+
return e ? e.map(Sd).join(" ") : t;
|
3898
3898
|
}
|
3899
|
-
},
|
3899
|
+
}, Cd = {
|
3900
3900
|
...Mr,
|
3901
3901
|
// Color props
|
3902
3902
|
color: Z,
|
@@ -3912,17 +3912,17 @@ const Td = /\b([a-z-]*)\(.*?\)/gu, or = {
|
|
3912
3912
|
borderLeftColor: Z,
|
3913
3913
|
filter: or,
|
3914
3914
|
WebkitFilter: or
|
3915
|
-
}, Xr = (t) =>
|
3915
|
+
}, Xr = (t) => Cd[t];
|
3916
3916
|
function Yo(t, e) {
|
3917
3917
|
let n = Xr(t);
|
3918
3918
|
return n !== or && (n = zt), n.getAnimatableNone ? n.getAnimatableNone(e) : void 0;
|
3919
3919
|
}
|
3920
|
-
const
|
3920
|
+
const Pd = /* @__PURE__ */ new Set(["auto", "none", "0"]);
|
3921
3921
|
function Ad(t, e, n) {
|
3922
3922
|
let r = 0, i;
|
3923
3923
|
for (; r < t.length && !i; ) {
|
3924
3924
|
const s = t[r];
|
3925
|
-
typeof s == "string" && !
|
3925
|
+
typeof s == "string" && !Pd.has(s) && je(s).values.length && (i = t[r]), r++;
|
3926
3926
|
}
|
3927
3927
|
if (i && n)
|
3928
3928
|
for (const s of e)
|
@@ -3994,7 +3994,7 @@ class Zr {
|
|
3994
3994
|
this.isComplete = !1, this.isAsync = !1, this.needsMeasurement = !1, this.isScheduled = !1, this.unresolvedKeyframes = [...e], this.onComplete = n, this.name = r, this.motionValue = i, this.element = s, this.isAsync = o;
|
3995
3995
|
}
|
3996
3996
|
scheduleResolve() {
|
3997
|
-
this.isScheduled = !0, this.isAsync ? (Jt.add(this), ar || (ar = !0,
|
3997
|
+
this.isScheduled = !0, this.isAsync ? (Jt.add(this), ar || (ar = !0, j.read(Zo), j.resolveKeyframes(Xo))) : (this.readKeyframes(), this.complete());
|
3998
3998
|
}
|
3999
3999
|
readKeyframes() {
|
4000
4000
|
const { unresolvedKeyframes: e, name: n, element: r, motionValue: i } = this;
|
@@ -4057,7 +4057,7 @@ function Qo(t, e, n = 1) {
|
|
4057
4057
|
const ta = (t) => (e) => e.test(t), Ld = {
|
4058
4058
|
test: (t) => t === "auto",
|
4059
4059
|
parse: (t) => t
|
4060
|
-
}, ea = [ve, M, Rt,
|
4060
|
+
}, ea = [ve, M, Rt, Nt, xu, bu, Ld], Bi = (t) => ea.find(ta(t));
|
4061
4061
|
class na extends Zr {
|
4062
4062
|
constructor(e, n, r, i, s) {
|
4063
4063
|
super(e, n, r, i, s, !0);
|
@@ -4236,23 +4236,23 @@ function Id({ hue: t, saturation: e, lightness: n, alpha: r }) {
|
|
4236
4236
|
function yn(t, e) {
|
4237
4237
|
return (n) => n > 0 ? e : t;
|
4238
4238
|
}
|
4239
|
-
const
|
4239
|
+
const jn = (t, e, n) => {
|
4240
4240
|
const r = t * t, i = n * (e * e - r) + r;
|
4241
4241
|
return i < 0 ? 0 : Math.sqrt(i);
|
4242
|
-
},
|
4243
|
-
function
|
4244
|
-
const e =
|
4242
|
+
}, jd = [sr, Zt, re], Nd = (t) => jd.find((e) => e.test(t));
|
4243
|
+
function ji(t) {
|
4244
|
+
const e = Nd(t);
|
4245
4245
|
if (ge(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`), !e)
|
4246
4246
|
return !1;
|
4247
4247
|
let n = e.parse(t);
|
4248
4248
|
return e === re && (n = Id(n)), n;
|
4249
4249
|
}
|
4250
|
-
const
|
4251
|
-
const n =
|
4250
|
+
const Ni = (t, e) => {
|
4251
|
+
const n = ji(t), r = ji(e);
|
4252
4252
|
if (!n || !r)
|
4253
4253
|
return yn(t, e);
|
4254
4254
|
const i = { ...n };
|
4255
|
-
return (s) => (i.red =
|
4255
|
+
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
4256
|
}, Ud = (t, e) => (n) => e(t(n)), qe = (...t) => t.reduce(Ud), cr = /* @__PURE__ */ new Set(["none", "hidden"]);
|
4257
4257
|
function zd(t, e) {
|
4258
4258
|
return cr.has(t) ? (n) => n <= 0 ? t : e : (n) => n >= 1 ? e : t;
|
@@ -4261,7 +4261,7 @@ function Wd(t, e) {
|
|
4261
4261
|
return (n) => U(t, e, n);
|
4262
4262
|
}
|
4263
4263
|
function Jr(t) {
|
4264
|
-
return typeof t == "number" ? Wd : typeof t == "string" ? Er(t) ? yn : Z.test(t) ?
|
4264
|
+
return typeof t == "number" ? Wd : typeof t == "string" ? Er(t) ? yn : Z.test(t) ? Ni : Hd : Array.isArray(t) ? ia : typeof t == "object" ? Z.test(t) ? Ni : qd : yn;
|
4265
4265
|
}
|
4266
4266
|
function ia(t, e) {
|
4267
4267
|
const n = [...t], r = n.length, i = t.map((s, o) => Jr(s)(s, e[o]));
|
@@ -4291,7 +4291,7 @@ function Gd(t, e) {
|
|
4291
4291
|
return r;
|
4292
4292
|
}
|
4293
4293
|
const Hd = (t, e) => {
|
4294
|
-
const n = zt.createTransformer(e), r =
|
4294
|
+
const n = zt.createTransformer(e), r = je(t), i = je(e);
|
4295
4295
|
return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? cr.has(t) && !i.values.length || cr.has(e) && !r.values.length ? zd(t, e) : qe(ia(Gd(r, i), i.values), n) : (ge(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), yn(t, e));
|
4296
4296
|
};
|
4297
4297
|
function sa(t, e, n) {
|
@@ -4302,7 +4302,7 @@ function oa(t, e, n) {
|
|
4302
4302
|
const r = Math.max(e - Kd, 0);
|
4303
4303
|
return _o(n - t(r), e - r);
|
4304
4304
|
}
|
4305
|
-
const
|
4305
|
+
const N = {
|
4306
4306
|
// Default spring physics
|
4307
4307
|
stiffness: 100,
|
4308
4308
|
damping: 10,
|
@@ -4331,11 +4331,11 @@ const j = {
|
|
4331
4331
|
minDamping: 0.05,
|
4332
4332
|
maxDamping: 1
|
4333
4333
|
}, Ui = 1e-3;
|
4334
|
-
function Yd({ duration: t =
|
4334
|
+
function Yd({ duration: t = N.duration, bounce: e = N.bounce, velocity: n = N.velocity, mass: r = N.mass }) {
|
4335
4335
|
let i, s;
|
4336
|
-
ge(t <= /* @__PURE__ */ Vt(
|
4336
|
+
ge(t <= /* @__PURE__ */ Vt(N.maxDuration), "Spring duration must be 10 seconds or less");
|
4337
4337
|
let o = 1 - e;
|
4338
|
-
o = Lt(
|
4338
|
+
o = Lt(N.minDamping, N.maxDamping, o), t = Lt(N.minDuration, N.maxDuration, /* @__PURE__ */ Dt(t)), o < 1 ? (i = (c) => {
|
4339
4339
|
const u = c * o, d = u * t, f = u - n, h = ur(c, o), p = Math.exp(-d);
|
4340
4340
|
return Ui - f / h * p;
|
4341
4341
|
}, s = (c) => {
|
@@ -4351,8 +4351,8 @@ function Yd({ duration: t = j.duration, bounce: e = j.bounce, velocity: n = j.ve
|
|
4351
4351
|
const a = 5 / t, l = Zd(i, s, a);
|
4352
4352
|
if (t = /* @__PURE__ */ Vt(t), isNaN(l))
|
4353
4353
|
return {
|
4354
|
-
stiffness:
|
4355
|
-
damping:
|
4354
|
+
stiffness: N.stiffness,
|
4355
|
+
damping: N.damping,
|
4356
4356
|
duration: t
|
4357
4357
|
};
|
4358
4358
|
{
|
@@ -4380,10 +4380,10 @@ function zi(t, e) {
|
|
4380
4380
|
}
|
4381
4381
|
function tf(t) {
|
4382
4382
|
let e = {
|
4383
|
-
velocity:
|
4384
|
-
stiffness:
|
4385
|
-
damping:
|
4386
|
-
mass:
|
4383
|
+
velocity: N.velocity,
|
4384
|
+
stiffness: N.stiffness,
|
4385
|
+
damping: N.damping,
|
4386
|
+
mass: N.mass,
|
4387
4387
|
isResolvedFromDuration: !1,
|
4388
4388
|
...t
|
4389
4389
|
};
|
@@ -4392,7 +4392,7 @@ function tf(t) {
|
|
4392
4392
|
const n = t.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, s = 2 * Lt(0.05, 1, 1 - (t.bounce || 0)) * Math.sqrt(i);
|
4393
4393
|
e = {
|
4394
4394
|
...e,
|
4395
|
-
mass:
|
4395
|
+
mass: N.mass,
|
4396
4396
|
stiffness: i,
|
4397
4397
|
damping: s
|
4398
4398
|
};
|
@@ -4401,12 +4401,12 @@ function tf(t) {
|
|
4401
4401
|
e = {
|
4402
4402
|
...e,
|
4403
4403
|
...n,
|
4404
|
-
mass:
|
4404
|
+
mass: N.mass
|
4405
4405
|
}, e.isResolvedFromDuration = !0;
|
4406
4406
|
}
|
4407
4407
|
return e;
|
4408
4408
|
}
|
4409
|
-
function aa(t =
|
4409
|
+
function aa(t = N.visualDuration, e = N.bounce) {
|
4410
4410
|
const n = typeof t != "object" ? {
|
4411
4411
|
visualDuration: t,
|
4412
4412
|
keyframes: [0, 1],
|
@@ -4416,44 +4416,44 @@ function aa(t = j.visualDuration, e = j.bounce) {
|
|
4416
4416
|
const s = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], a = { done: !1, value: s }, { stiffness: l, damping: c, mass: u, duration: d, velocity: f, isResolvedFromDuration: h } = tf({
|
4417
4417
|
...n,
|
4418
4418
|
velocity: -/* @__PURE__ */ Dt(n.velocity || 0)
|
4419
|
-
}), p = f || 0, g = c / (2 * Math.sqrt(l * u)), x = o - s, v = /* @__PURE__ */ Dt(Math.sqrt(l / u)),
|
4420
|
-
r || (r =
|
4421
|
-
let
|
4419
|
+
}), 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);
|
4421
|
+
let S;
|
4422
4422
|
if (g < 1) {
|
4423
4423
|
const m = ur(v, g);
|
4424
|
-
|
4424
|
+
S = (V) => {
|
4425
4425
|
const E = Math.exp(-g * v * V);
|
4426
4426
|
return o - E * ((p + g * v * x) / m * Math.sin(m * V) + x * Math.cos(m * V));
|
4427
4427
|
};
|
4428
4428
|
} else if (g === 1)
|
4429
|
-
|
4429
|
+
S = (m) => o - Math.exp(-v * m) * (x + (p + v * x) * m);
|
4430
4430
|
else {
|
4431
4431
|
const m = v * Math.sqrt(g * g - 1);
|
4432
|
-
|
4432
|
+
S = (V) => {
|
4433
4433
|
const E = Math.exp(-g * v * V), y = Math.min(m * V, 300);
|
4434
4434
|
return o - E * ((p + g * v * x) * Math.sinh(y) + m * x * Math.cosh(y)) / m;
|
4435
4435
|
};
|
4436
4436
|
}
|
4437
|
-
const
|
4437
|
+
const P = {
|
4438
4438
|
calculatedDuration: h && d || null,
|
4439
4439
|
next: (m) => {
|
4440
|
-
const V =
|
4440
|
+
const V = S(m);
|
4441
4441
|
if (h)
|
4442
4442
|
a.done = m >= d;
|
4443
4443
|
else {
|
4444
4444
|
let E = 0;
|
4445
|
-
g < 1 && (E = m === 0 ? /* @__PURE__ */ Vt(p) : oa(
|
4445
|
+
g < 1 && (E = m === 0 ? /* @__PURE__ */ Vt(p) : oa(S, m, V));
|
4446
4446
|
const y = Math.abs(E) <= r, b = Math.abs(o - V) <= i;
|
4447
4447
|
a.done = y && b;
|
4448
4448
|
}
|
4449
4449
|
return a.value = a.done ? o : V, a;
|
4450
4450
|
},
|
4451
4451
|
toString: () => {
|
4452
|
-
const m = Math.min(
|
4452
|
+
const m = Math.min(Co(P), nr), V = Po((E) => P.next(m * E).value, m, 30);
|
4453
4453
|
return m + "ms " + V;
|
4454
4454
|
}
|
4455
4455
|
};
|
4456
|
-
return
|
4456
|
+
return P;
|
4457
4457
|
}
|
4458
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 }) {
|
4459
4459
|
const d = t[0], f = {
|
@@ -4463,15 +4463,15 @@ function Wi({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: r = 3
|
|
4463
4463
|
let g = n * e;
|
4464
4464
|
const x = d + g, v = o === void 0 ? x : o(x);
|
4465
4465
|
v !== x && (g = v - d);
|
4466
|
-
const
|
4467
|
-
const b =
|
4466
|
+
const w = (y) => -g * Math.exp(-y / r), S = (y) => v + w(y), P = (y) => {
|
4467
|
+
const b = w(y), T = S(y);
|
4468
4468
|
f.done = Math.abs(b) <= c, f.value = f.done ? v : T;
|
4469
4469
|
};
|
4470
4470
|
let m, V;
|
4471
4471
|
const E = (y) => {
|
4472
4472
|
h(f.value) && (m = y, V = aa({
|
4473
4473
|
keyframes: [f.value, p(f.value)],
|
4474
|
-
velocity: oa(
|
4474
|
+
velocity: oa(S, y, f.value),
|
4475
4475
|
// TODO: This should be passing * 1000
|
4476
4476
|
damping: i,
|
4477
4477
|
stiffness: s,
|
@@ -4483,7 +4483,7 @@ function Wi({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: r = 3
|
|
4483
4483
|
calculatedDuration: null,
|
4484
4484
|
next: (y) => {
|
4485
4485
|
let b = !1;
|
4486
|
-
return !V && m === void 0 && (b = !0,
|
4486
|
+
return !V && m === void 0 && (b = !0, P(y), E(y)), m !== void 0 && y >= m ? V.next(y - m) : (!b && P(y), f);
|
4487
4487
|
}
|
4488
4488
|
};
|
4489
4489
|
}
|
@@ -4494,13 +4494,13 @@ const ef = /* @__PURE__ */ We(0.42, 0, 1, 1), nf = /* @__PURE__ */ We(0, 0, 0.58
|
|
4494
4494
|
easeOut: nf,
|
4495
4495
|
circIn: Hr,
|
4496
4496
|
circInOut: Uo,
|
4497
|
-
circOut:
|
4497
|
+
circOut: No,
|
4498
4498
|
backIn: Gr,
|
4499
4499
|
backInOut: Io,
|
4500
4500
|
backOut: Bo,
|
4501
|
-
anticipate:
|
4501
|
+
anticipate: jo
|
4502
4502
|
}, Gi = (t) => {
|
4503
|
-
if (
|
4503
|
+
if (jr(t)) {
|
4504
4504
|
Mt(t.length === 4, "Cubic bezier arrays must contain four numerical values.");
|
4505
4505
|
const [e, n, r, i] = t;
|
4506
4506
|
return We(e, n, r, i);
|
@@ -4577,7 +4577,7 @@ function Re({ duration: t = 300, keyframes: e, times: n, ease: r = "easeInOut" }
|
|
4577
4577
|
const df = (t) => {
|
4578
4578
|
const e = ({ timestamp: n }) => t(n);
|
4579
4579
|
return {
|
4580
|
-
start: () =>
|
4580
|
+
start: () => j.update(e, !0),
|
4581
4581
|
stop: () => Ut(e),
|
4582
4582
|
/**
|
4583
4583
|
* If we're processing this frame we can use the
|
@@ -4616,7 +4616,7 @@ class Qr extends ra {
|
|
4616
4616
|
...this.options,
|
4617
4617
|
keyframes: [...e].reverse(),
|
4618
4618
|
velocity: -o
|
4619
|
-
})), u.calculatedDuration === null && (u.calculatedDuration =
|
4619
|
+
})), u.calculatedDuration === null && (u.calculatedDuration = Co(u));
|
4620
4620
|
const { calculatedDuration: d } = u, f = d + i, h = f * (r + 1) - i;
|
4621
4621
|
return {
|
4622
4622
|
generator: u,
|
@@ -4642,18 +4642,18 @@ class Qr extends ra {
|
|
4642
4642
|
return s.next(0);
|
4643
4643
|
const { delay: f, repeat: h, repeatType: p, repeatDelay: g, onUpdate: x } = this.options;
|
4644
4644
|
this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - u / this.speed, this.startTime)), n ? this.currentTime = e : this.holdTime !== null ? this.currentTime = this.holdTime : this.currentTime = Math.round(e - this.startTime) * this.speed;
|
4645
|
-
const v = this.currentTime - f * (this.speed >= 0 ? 1 : -1),
|
4645
|
+
const v = this.currentTime - f * (this.speed >= 0 ? 1 : -1), w = this.speed >= 0 ? v < 0 : v > u;
|
4646
4646
|
this.currentTime = Math.max(v, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = u);
|
4647
|
-
let
|
4647
|
+
let S = this.currentTime, P = s;
|
4648
4648
|
if (h) {
|
4649
4649
|
const y = Math.min(this.currentTime, u) / d;
|
4650
4650
|
let b = Math.floor(y), T = y % 1;
|
4651
|
-
!T && y >= 1 && (T = 1), T === 1 && b--, b = Math.min(b, h + 1), !!(b % 2) && (p === "reverse" ? (T = 1 - T, g && (T -= g / d)) : p === "mirror" && (
|
4651
|
+
!T && y >= 1 && (T = 1), T === 1 && b--, b = Math.min(b, h + 1), !!(b % 2) && (p === "reverse" ? (T = 1 - T, g && (T -= g / d)) : p === "mirror" && (P = o)), S = Lt(0, 1, T) * d;
|
4652
4652
|
}
|
4653
|
-
const m =
|
4653
|
+
const m = w ? { done: !1, value: l[0] } : P.next(S);
|
4654
4654
|
a && (m.value = a(m.value));
|
4655
4655
|
let { done: V } = m;
|
4656
|
-
!
|
4656
|
+
!w && c !== null && (V = this.speed >= 0 ? this.currentTime >= u : this.currentTime <= 0);
|
4657
4657
|
const E = this.holdTime === null && (this.state === "finished" || this.state === "running" && V);
|
4658
4658
|
return E && i !== void 0 && (m.value = En(l, this.options, i)), x && x(m.value), E && this.finish(), m;
|
4659
4659
|
}
|
@@ -4762,7 +4762,7 @@ function bf(t, e) {
|
|
4762
4762
|
};
|
4763
4763
|
}
|
4764
4764
|
const ca = {
|
4765
|
-
anticipate:
|
4765
|
+
anticipate: jo,
|
4766
4766
|
backInOut: Io,
|
4767
4767
|
circInOut: Uo
|
4768
4768
|
};
|
@@ -4922,12 +4922,12 @@ class Hi extends ra {
|
|
4922
4922
|
!l && !c && !i && s !== "mirror" && o !== 0 && a !== "inertia";
|
4923
4923
|
}
|
4924
4924
|
}
|
4925
|
-
const
|
4925
|
+
const wf = {
|
4926
4926
|
type: "spring",
|
4927
4927
|
stiffness: 500,
|
4928
4928
|
damping: 25,
|
4929
4929
|
restSpeed: 10
|
4930
|
-
},
|
4930
|
+
}, Sf = (t) => ({
|
4931
4931
|
type: "spring",
|
4932
4932
|
stiffness: 550,
|
4933
4933
|
damping: t === 0 ? 2 * Math.sqrt(550) : 30,
|
@@ -4935,11 +4935,11 @@ const Sf = {
|
|
4935
4935
|
}), Tf = {
|
4936
4936
|
type: "keyframes",
|
4937
4937
|
duration: 0.8
|
4938
|
-
},
|
4938
|
+
}, Cf = {
|
4939
4939
|
type: "keyframes",
|
4940
4940
|
ease: [0.25, 0.1, 0.35, 1],
|
4941
4941
|
duration: 0.3
|
4942
|
-
},
|
4942
|
+
}, Pf = (t, { keyframes: e }) => e.length > 2 ? Tf : Qt.has(t) ? t.startsWith("scale") ? Sf(e[1]) : wf : Cf;
|
4943
4943
|
function Af({ when: t, delay: e, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: s, repeatType: o, repeatDelay: a, from: l, elapsed: c, ...u }) {
|
4944
4944
|
return !!Object.keys(u).length;
|
4945
4945
|
}
|
@@ -4965,13 +4965,13 @@ const ti = (t, e, n, r = {}, i, s) => (o) => {
|
|
4965
4965
|
};
|
4966
4966
|
Af(a) || (u = {
|
4967
4967
|
...u,
|
4968
|
-
...
|
4968
|
+
...Pf(t, u)
|
4969
4969
|
}), u.duration && (u.duration = /* @__PURE__ */ Vt(u.duration)), u.repeatDelay && (u.repeatDelay = /* @__PURE__ */ Vt(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from);
|
4970
4970
|
let d = !1;
|
4971
4971
|
if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (u.duration = 0, u.delay === 0 && (d = !0)), d && !s && e.get() !== void 0) {
|
4972
4972
|
const f = En(u.keyframes, a);
|
4973
4973
|
if (f !== void 0)
|
4974
|
-
return
|
4974
|
+
return j.update(() => {
|
4975
4975
|
u.onUpdate(f), u.onComplete();
|
4976
4976
|
}), new qu([]);
|
4977
4977
|
}
|
@@ -4998,8 +4998,8 @@ function ua(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
|
|
4998
4998
|
if (window.MotionHandoffAnimation) {
|
4999
4999
|
const v = Lo(t);
|
5000
5000
|
if (v) {
|
5001
|
-
const
|
5002
|
-
|
5001
|
+
const w = window.MotionHandoffAnimation(v, d, j);
|
5002
|
+
w !== null && (p.startTime = w, g = !0);
|
5003
5003
|
}
|
5004
5004
|
}
|
5005
5005
|
ir(t, d), f.start(ti(d, f, h, t.shouldReduceMotion && Do.has(d) ? { type: !1 } : p, t, g));
|
@@ -5007,7 +5007,7 @@ function ua(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
|
|
5007
5007
|
x && c.push(x);
|
5008
5008
|
}
|
5009
5009
|
return a && Promise.all(c).then(() => {
|
5010
|
-
|
5010
|
+
j.update(() => {
|
5011
5011
|
a && qr(t, a);
|
5012
5012
|
});
|
5013
5013
|
}), c;
|
@@ -5066,7 +5066,7 @@ function fa(t, e) {
|
|
5066
5066
|
return !1;
|
5067
5067
|
return !0;
|
5068
5068
|
}
|
5069
|
-
const Mf =
|
5069
|
+
const Mf = Pr.length;
|
5070
5070
|
function ha(t) {
|
5071
5071
|
if (!t)
|
5072
5072
|
return;
|
@@ -5076,12 +5076,12 @@ function ha(t) {
|
|
5076
5076
|
}
|
5077
5077
|
const e = {};
|
5078
5078
|
for (let n = 0; n < Mf; n++) {
|
5079
|
-
const r =
|
5079
|
+
const r = Pr[n], i = t.props[r];
|
5080
5080
|
($e(i) || i === !1) && (e[r] = i);
|
5081
5081
|
}
|
5082
5082
|
return e;
|
5083
5083
|
}
|
5084
|
-
const kf = [...
|
5084
|
+
const kf = [...Cr].reverse(), Df = Cr.length;
|
5085
5085
|
function _f(t) {
|
5086
5086
|
return (e) => Promise.all(e.map(({ animation: n, options: r }) => da(t, n, r)));
|
5087
5087
|
}
|
@@ -5103,37 +5103,37 @@ function Lf(t) {
|
|
5103
5103
|
const { props: c } = t, u = ha(t.parent) || {}, d = [], f = /* @__PURE__ */ new Set();
|
5104
5104
|
let h = {}, p = 1 / 0;
|
5105
5105
|
for (let x = 0; x < Df; x++) {
|
5106
|
-
const v = kf[x],
|
5106
|
+
const v = kf[x], w = n[v], S = c[v] !== void 0 ? c[v] : u[v], P = $e(S), m = v === l ? w.isActive : null;
|
5107
5107
|
m === !1 && (p = x);
|
5108
|
-
let V =
|
5109
|
-
if (V && r && t.manuallyAnimateOnMount && (V = !1),
|
5110
|
-
!
|
5111
|
-
!
|
5112
|
-
Vn(
|
5108
|
+
let V = S === u[v] && S !== c[v] && P;
|
5109
|
+
if (V && r && t.manuallyAnimateOnMount && (V = !1), w.protectedKeys = { ...h }, // If it isn't active and hasn't *just* been set as inactive
|
5110
|
+
!w.isActive && m === null || // If we didn't and don't have any defined prop for this animation type
|
5111
|
+
!S && !w.prevProp || // Or if the prop doesn't define an animation
|
5112
|
+
Vn(S) || typeof S == "boolean")
|
5113
5113
|
continue;
|
5114
|
-
const E = $f(
|
5114
|
+
const E = $f(w.prevProp, S);
|
5115
5115
|
let y = E || // If we're making this variant active, we want to always make it active
|
5116
|
-
v === l &&
|
5117
|
-
x > p &&
|
5118
|
-
const T = Array.isArray(
|
5119
|
-
let
|
5120
|
-
m === !1 && (
|
5121
|
-
const { prevResolvedValues: k = {} } =
|
5116
|
+
v === l && w.isActive && !V && P || // If we removed a higher-priority variant (i is in reverse order)
|
5117
|
+
x > p && P, b = !1;
|
5118
|
+
const T = Array.isArray(S) ? S : [S];
|
5119
|
+
let C = T.reduce(i(v), {});
|
5120
|
+
m === !1 && (C = {});
|
5121
|
+
const { prevResolvedValues: k = {} } = w, z = {
|
5122
5122
|
...k,
|
5123
|
-
...
|
5123
|
+
...C
|
5124
5124
|
}, Q = (D) => {
|
5125
|
-
y = !0, f.has(D) && (b = !0, f.delete(D)),
|
5125
|
+
y = !0, f.has(D) && (b = !0, f.delete(D)), w.needsAnimating[D] = !0;
|
5126
5126
|
const I = t.getValue(D);
|
5127
5127
|
I && (I.liveStyle = !1);
|
5128
5128
|
};
|
5129
5129
|
for (const D in z) {
|
5130
|
-
const I =
|
5130
|
+
const I = C[D], st = k[D];
|
5131
5131
|
if (h.hasOwnProperty(D))
|
5132
5132
|
continue;
|
5133
5133
|
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) :
|
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;
|
5135
5135
|
}
|
5136
|
-
|
5136
|
+
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
5137
|
animation: D,
|
5138
5138
|
options: { type: v }
|
5139
5139
|
})));
|
@@ -5145,8 +5145,8 @@ function Lf(t) {
|
|
5145
5145
|
v && v.transition && (x.transition = v.transition);
|
5146
5146
|
}
|
5147
5147
|
f.forEach((v) => {
|
5148
|
-
const
|
5149
|
-
|
5148
|
+
const w = t.getBaseTarget(v), S = t.getValue(v);
|
5149
|
+
S && (S.liveStyle = !0), x[v] = w ?? null;
|
5150
5150
|
}), d.push({ animation: x });
|
5151
5151
|
}
|
5152
5152
|
let g = !!d.length;
|
@@ -5263,7 +5263,7 @@ const If = {
|
|
5263
5263
|
Feature: Bf
|
5264
5264
|
}
|
5265
5265
|
};
|
5266
|
-
function
|
5266
|
+
function Ne(t, e, n, r = { passive: !0 }) {
|
5267
5267
|
return t.addEventListener(e, n, r), () => t.removeEventListener(e, n);
|
5268
5268
|
}
|
5269
5269
|
function Ge(t) {
|
@@ -5274,9 +5274,9 @@ function Ge(t) {
|
|
5274
5274
|
}
|
5275
5275
|
};
|
5276
5276
|
}
|
5277
|
-
const
|
5277
|
+
const jf = (t) => (e) => Nr(e) && t(e, Ge(e));
|
5278
5278
|
function ie(t, e, n, r) {
|
5279
|
-
return
|
5279
|
+
return Ne(t, e, jf(n), r);
|
5280
5280
|
}
|
5281
5281
|
function pa({ top: t, left: e, right: n, bottom: r }) {
|
5282
5282
|
return {
|
@@ -5284,7 +5284,7 @@ function pa({ top: t, left: e, right: n, bottom: r }) {
|
|
5284
5284
|
y: { min: t, max: r }
|
5285
5285
|
};
|
5286
5286
|
}
|
5287
|
-
function
|
5287
|
+
function Nf({ x: t, y: e }) {
|
5288
5288
|
return { top: e.min, right: t.max, bottom: e.max, left: t.min };
|
5289
5289
|
}
|
5290
5290
|
function Uf(t, e) {
|
@@ -5338,11 +5338,11 @@ const Ji = () => ({
|
|
5338
5338
|
function gt(t) {
|
5339
5339
|
return [t("x"), t("y")];
|
5340
5340
|
}
|
5341
|
-
function
|
5341
|
+
function Nn(t) {
|
5342
5342
|
return t === void 0 || t === 1;
|
5343
5343
|
}
|
5344
5344
|
function fr({ scale: t, scaleX: e, scaleY: n }) {
|
5345
|
-
return !
|
5345
|
+
return !Nn(t) || !Nn(e) || !Nn(n);
|
5346
5346
|
}
|
5347
5347
|
function Yt(t) {
|
5348
5348
|
return fr(t) || ya(t) || t.z || t.rotate || t.rotateX || t.rotateY || t.skewX || t.skewY;
|
@@ -5424,7 +5424,7 @@ class xa {
|
|
5424
5424
|
return;
|
5425
5425
|
} catch {
|
5426
5426
|
}
|
5427
|
-
this.lastMoveEvent = u, this.lastMoveEventInfo = Un(d, this.transformPagePoint),
|
5427
|
+
this.lastMoveEvent = u, this.lastMoveEventInfo = Un(d, this.transformPagePoint), j.update(this.updatePoint, !0);
|
5428
5428
|
}, this.handlePointerUp = (u, d) => {
|
5429
5429
|
gn(u, "release"), this.end();
|
5430
5430
|
const { onEnd: f, onSessionEnd: h, resumeAnimation: p } = this.handlers;
|
@@ -5432,7 +5432,7 @@ class xa {
|
|
5432
5432
|
return;
|
5433
5433
|
const g = zn(u.type === "pointercancel" || u.type === "lostpointercapture" ? this.lastMoveEventInfo : Un(d, this.transformPagePoint), this.history);
|
5434
5434
|
this.startEvent && f && f(u, g), h && h(u, g);
|
5435
|
-
}, !
|
5435
|
+
}, !Nr(e))
|
5436
5436
|
return;
|
5437
5437
|
this.dragSnapToOrigin = i, this.handlers = n, this.transformPagePoint = r;
|
5438
5438
|
const s = Ge(e), o = Un(s, this.transformPagePoint), { point: a } = o, { timestamp: l } = H;
|
@@ -5456,7 +5456,7 @@ function os(t, e) {
|
|
5456
5456
|
function zn({ point: t }, e) {
|
5457
5457
|
return {
|
5458
5458
|
point: t,
|
5459
|
-
delta: os(t,
|
5459
|
+
delta: os(t, wa(e)),
|
5460
5460
|
offset: os(t, Jf(e)),
|
5461
5461
|
velocity: Qf(e, 0.1)
|
5462
5462
|
};
|
@@ -5464,14 +5464,14 @@ function zn({ point: t }, e) {
|
|
5464
5464
|
function Jf(t) {
|
5465
5465
|
return t[0];
|
5466
5466
|
}
|
5467
|
-
function
|
5467
|
+
function wa(t) {
|
5468
5468
|
return t[t.length - 1];
|
5469
5469
|
}
|
5470
5470
|
function Qf(t, e) {
|
5471
5471
|
if (t.length < 2)
|
5472
5472
|
return { x: 0, y: 0 };
|
5473
5473
|
let n = t.length - 1, r = null;
|
5474
|
-
const i =
|
5474
|
+
const i = wa(t);
|
5475
5475
|
for (; n >= 0 && (r = t[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Vt(e))); )
|
5476
5476
|
n--;
|
5477
5477
|
if (!r)
|
@@ -5554,14 +5554,14 @@ class ah {
|
|
5554
5554
|
this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), gt((x) => {
|
5555
5555
|
let v = this.getAxisMotionValue(x).get() || 0;
|
5556
5556
|
if (Rt.test(v)) {
|
5557
|
-
const { projection:
|
5558
|
-
if (
|
5559
|
-
const
|
5560
|
-
|
5557
|
+
const { projection: w } = this.visualElement;
|
5558
|
+
if (w && w.layout) {
|
5559
|
+
const S = w.layout.layoutBox[x];
|
5560
|
+
S && (v = it(S) * (parseFloat(v) / 100));
|
5561
5561
|
}
|
5562
5562
|
}
|
5563
5563
|
this.originPoint[x] = v;
|
5564
|
-
}), p &&
|
5564
|
+
}), p && j.postRender(() => p(u, d)), ir(this.visualElement, "transform");
|
5565
5565
|
const { animationState: g } = this.visualElement;
|
5566
5566
|
g && g.setActive("whileDrag", !0);
|
5567
5567
|
}, o = (u, d) => {
|
@@ -5596,7 +5596,7 @@ class ah {
|
|
5596
5596
|
const { velocity: i } = n;
|
5597
5597
|
this.startAnimation(i);
|
5598
5598
|
const { onDragEnd: s } = this.getProps();
|
5599
|
-
s &&
|
5599
|
+
s && j.postRender(() => s(e, n));
|
5600
5600
|
}
|
5601
5601
|
cancel() {
|
5602
5602
|
this.isDragging = !1;
|
@@ -5632,7 +5632,7 @@ class ah {
|
|
5632
5632
|
const s = Xf(r, i.root, this.visualElement.getTransformPagePoint());
|
5633
5633
|
let o = nh(i.layout.layoutBox, s);
|
5634
5634
|
if (n) {
|
5635
|
-
const a = n(
|
5635
|
+
const a = n(Nf(o));
|
5636
5636
|
this.hasMutatedConstraints = !!a, a && (o = pa(a));
|
5637
5637
|
}
|
5638
5638
|
return o;
|
@@ -5736,8 +5736,8 @@ class ah {
|
|
5736
5736
|
const { dragConstraints: l } = this.getProps();
|
5737
5737
|
ne(l) && l.current && (this.constraints = this.resolveRefConstraints());
|
5738
5738
|
}, { projection: i } = this.visualElement, s = i.addEventListener("measure", r);
|
5739
|
-
i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()),
|
5740
|
-
const o =
|
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
5741
|
this.isDragging && c && (gt((u) => {
|
5742
5742
|
const d = this.getAxisMotionValue(u);
|
5743
5743
|
d && (this.originPoint[u] += l[u].translate, d.set(d.get() + l[u].translate));
|
@@ -5780,7 +5780,7 @@ class ch extends Wt {
|
|
5780
5780
|
}
|
5781
5781
|
}
|
5782
5782
|
const ds = (t) => (e, n) => {
|
5783
|
-
t &&
|
5783
|
+
t && j.postRender(() => t(e, n));
|
5784
5784
|
};
|
5785
5785
|
class uh extends Wt {
|
5786
5786
|
constructor() {
|
@@ -5798,7 +5798,7 @@ class uh extends Wt {
|
|
5798
5798
|
onStart: ds(n),
|
5799
5799
|
onMove: r,
|
5800
5800
|
onEnd: (s, o) => {
|
5801
|
-
delete this.session, i &&
|
5801
|
+
delete this.session, i && j.postRender(() => i(s, o));
|
5802
5802
|
}
|
5803
5803
|
};
|
5804
5804
|
}
|
@@ -5827,7 +5827,7 @@ const cn = {
|
|
5827
5827
|
function fs(t, e) {
|
5828
5828
|
return e.max === e.min ? 0 : t / (e.max - e.min) * 100;
|
5829
5829
|
}
|
5830
|
-
const
|
5830
|
+
const Se = {
|
5831
5831
|
correct: (t, e) => {
|
5832
5832
|
if (!e.target)
|
5833
5833
|
return t;
|
@@ -5850,7 +5850,7 @@ const we = {
|
|
5850
5850
|
return typeof i[2 + o] == "number" && (i[2 + o] /= c), typeof i[3 + o] == "number" && (i[3 + o] /= c), s(i);
|
5851
5851
|
}
|
5852
5852
|
};
|
5853
|
-
class fh extends
|
5853
|
+
class fh extends ja {
|
5854
5854
|
/**
|
5855
5855
|
* This only mounts projection nodes for components that
|
5856
5856
|
* need measuring, we might want to do it for all components
|
@@ -5867,7 +5867,7 @@ class fh extends Na {
|
|
5867
5867
|
}
|
5868
5868
|
getSnapshotBeforeUpdate(e) {
|
5869
5869
|
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() ||
|
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(() => {
|
5871
5871
|
const a = o.getStack();
|
5872
5872
|
(!a || !a.members.length) && this.safeToRemove();
|
5873
5873
|
}))), null;
|
@@ -5890,13 +5890,13 @@ class fh extends Na {
|
|
5890
5890
|
return null;
|
5891
5891
|
}
|
5892
5892
|
}
|
5893
|
-
function
|
5893
|
+
function Sa(t) {
|
5894
5894
|
const [e, n] = Xc(), r = rt(eo);
|
5895
5895
|
return Fs(fh, { ...t, layoutGroup: r, switchLayoutGroup: rt(uo), isPresent: e, safeToRemove: n });
|
5896
5896
|
}
|
5897
5897
|
const hh = {
|
5898
5898
|
borderRadius: {
|
5899
|
-
...
|
5899
|
+
...Se,
|
5900
5900
|
applyTo: [
|
5901
5901
|
"borderTopLeftRadius",
|
5902
5902
|
"borderTopRightRadius",
|
@@ -5904,10 +5904,10 @@ const hh = {
|
|
5904
5904
|
"borderBottomRightRadius"
|
5905
5905
|
]
|
5906
5906
|
},
|
5907
|
-
borderTopLeftRadius:
|
5908
|
-
borderTopRightRadius:
|
5909
|
-
borderBottomLeftRadius:
|
5910
|
-
borderBottomRightRadius:
|
5907
|
+
borderTopLeftRadius: Se,
|
5908
|
+
borderTopRightRadius: Se,
|
5909
|
+
borderBottomLeftRadius: Se,
|
5910
|
+
borderBottomRightRadius: Se,
|
5911
5911
|
boxShadow: dh
|
5912
5912
|
};
|
5913
5913
|
function ph(t, e, n) {
|
@@ -5937,7 +5937,7 @@ function vh(t, e) {
|
|
5937
5937
|
const s = i - n;
|
5938
5938
|
s >= e && (Ut(r), t(s - e));
|
5939
5939
|
};
|
5940
|
-
return
|
5940
|
+
return j.read(r, !0), () => Ut(r);
|
5941
5941
|
}
|
5942
5942
|
const Ta = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], bh = Ta.length, hs = (t) => typeof t == "string" ? parseFloat(t) : t, ps = (t) => typeof t == "number" || M.test(t);
|
5943
5943
|
function xh(t, e, n, r, i, s) {
|
@@ -5945,8 +5945,8 @@ function xh(t, e, n, r, i, s) {
|
|
5945
5945
|
0,
|
5946
5946
|
// TODO Reinstate this if only child
|
5947
5947
|
n.opacity !== void 0 ? n.opacity : 1,
|
5948
|
-
|
5949
|
-
), t.opacityExit = U(e.opacity !== void 0 ? e.opacity : 1, 0,
|
5948
|
+
wh(r)
|
5949
|
+
), t.opacityExit = U(e.opacity !== void 0 ? e.opacity : 1, 0, Sh(r))) : s && (t.opacity = U(e.opacity !== void 0 ? e.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, r));
|
5950
5950
|
for (let o = 0; o < bh; o++) {
|
5951
5951
|
const a = `border${Ta[o]}Radius`;
|
5952
5952
|
let l = ms(e, a), c = ms(n, a);
|
@@ -5959,8 +5959,8 @@ function xh(t, e, n, r, i, s) {
|
|
5959
5959
|
function ms(t, e) {
|
5960
5960
|
return t[e] !== void 0 ? t[e] : t.borderRadius;
|
5961
5961
|
}
|
5962
|
-
const
|
5963
|
-
function
|
5962
|
+
const wh = /* @__PURE__ */ Ca(0, 0.5, No), Sh = /* @__PURE__ */ Ca(0.5, 0.95, ct);
|
5963
|
+
function Ca(t, e, n) {
|
5964
5964
|
return (r) => r < t ? 0 : r > e ? 1 : n(/* @__PURE__ */ de(t, e, r));
|
5965
5965
|
}
|
5966
5966
|
function gs(t, e) {
|
@@ -5984,21 +5984,21 @@ function Th(t, e = 0, n = 1, r = 0.5, i, s = t, o = t) {
|
|
5984
5984
|
function bs(t, e, [n, r, i], s, o) {
|
5985
5985
|
Th(t, e[n], e[r], e[i], e.scale, s, o);
|
5986
5986
|
}
|
5987
|
-
const
|
5987
|
+
const Ch = ["x", "scaleX", "originX"], Ph = ["y", "scaleY", "originY"];
|
5988
5988
|
function xs(t, e, n, r) {
|
5989
|
-
bs(t.x, e,
|
5989
|
+
bs(t.x, e, Ch, n ? n.x : void 0, r ? r.x : void 0), bs(t.y, e, Ph, n ? n.y : void 0, r ? r.y : void 0);
|
5990
5990
|
}
|
5991
|
-
function
|
5991
|
+
function ws(t) {
|
5992
5992
|
return t.translate === 0 && t.scale === 1;
|
5993
5993
|
}
|
5994
|
-
function
|
5995
|
-
return
|
5994
|
+
function Pa(t) {
|
5995
|
+
return ws(t.x) && ws(t.y);
|
5996
5996
|
}
|
5997
|
-
function
|
5997
|
+
function Ss(t, e) {
|
5998
5998
|
return t.min === e.min && t.max === e.max;
|
5999
5999
|
}
|
6000
6000
|
function Ah(t, e) {
|
6001
|
-
return
|
6001
|
+
return Ss(t.x, e.x) && Ss(t.y, e.y);
|
6002
6002
|
}
|
6003
6003
|
function Ts(t, e) {
|
6004
6004
|
return Math.round(t.min) === Math.round(e.min) && Math.round(t.max) === Math.round(e.max);
|
@@ -6006,10 +6006,10 @@ function Ts(t, e) {
|
|
6006
6006
|
function Aa(t, e) {
|
6007
6007
|
return Ts(t.x, e.x) && Ts(t.y, e.y);
|
6008
6008
|
}
|
6009
|
-
function
|
6009
|
+
function Cs(t) {
|
6010
6010
|
return it(t.x) / it(t.y);
|
6011
6011
|
}
|
6012
|
-
function
|
6012
|
+
function Ps(t, e) {
|
6013
6013
|
return t.translate === e.translate && t.scale === e.scale && t.originPoint === e.originPoint;
|
6014
6014
|
}
|
6015
6015
|
class Vh {
|
@@ -6091,7 +6091,7 @@ function Va(t) {
|
|
6091
6091
|
const n = Lo(e);
|
6092
6092
|
if (window.MotionHasOptimisedAnimation(n, "transform")) {
|
6093
6093
|
const { layout: i, layoutId: s } = t.options;
|
6094
|
-
window.MotionCancelOptimisedAnimation(n, "transform",
|
6094
|
+
window.MotionCancelOptimisedAnimation(n, "transform", j, !(i || s));
|
6095
6095
|
}
|
6096
6096
|
const { parent: r } = t;
|
6097
6097
|
r && !r.hasCheckedOptimisedAppear && Va(r);
|
@@ -6138,15 +6138,15 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
6138
6138
|
this.target = void 0, this.relativeTarget = void 0;
|
6139
6139
|
return;
|
6140
6140
|
}
|
6141
|
-
const g = this.options.transition || u.getDefaultTransition() || Wh, { onLayoutAnimationStart: x, onLayoutAnimationComplete: v } = u.getProps(),
|
6142
|
-
if (this.options.layoutRoot || this.resumeFrom ||
|
6143
|
-
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(d,
|
6144
|
-
const
|
6141
|
+
const g = this.options.transition || u.getDefaultTransition() || Wh, { onLayoutAnimationStart: x, onLayoutAnimationComplete: v } = u.getProps(), w = !this.targetLayout || !Aa(this.targetLayout, p), S = !f && h;
|
6142
|
+
if (this.options.layoutRoot || this.resumeFrom || S || f && (w || !this.currentAnimation)) {
|
6143
|
+
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(d, S);
|
6144
|
+
const P = {
|
6145
6145
|
...Br(g, "layout"),
|
6146
6146
|
onPlay: x,
|
6147
6147
|
onComplete: v
|
6148
6148
|
};
|
6149
|
-
(u.shouldReduceMotion || this.options.layoutRoot) && (
|
6149
|
+
(u.shouldReduceMotion || this.options.layoutRoot) && (P.delay = 0, P.type = !1), this.startAnimation(P);
|
6150
6150
|
} else
|
6151
6151
|
f || Rs(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
|
6152
6152
|
this.targetLayout = p;
|
@@ -6172,7 +6172,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
6172
6172
|
}
|
6173
6173
|
// Note: currently only running on root node
|
6174
6174
|
startUpdate() {
|
6175
|
-
this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(
|
6175
|
+
this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(jh), this.animationId++);
|
6176
6176
|
}
|
6177
6177
|
getTransformTemplate() {
|
6178
6178
|
const { visualElement: o } = this.options;
|
@@ -6209,13 +6209,13 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
6209
6209
|
this.updateScheduled || (this.updateScheduled = !0, Vr.read(this.scheduleUpdate));
|
6210
6210
|
}
|
6211
6211
|
clearAllSnapshots() {
|
6212
|
-
this.nodes.forEach($h), this.sharedNodes.forEach(
|
6212
|
+
this.nodes.forEach($h), this.sharedNodes.forEach(Nh);
|
6213
6213
|
}
|
6214
6214
|
scheduleUpdateProjection() {
|
6215
|
-
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0,
|
6215
|
+
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, j.preRender(this.updateProjection, !1, !0));
|
6216
6216
|
}
|
6217
6217
|
scheduleCheckAfterUnmount() {
|
6218
|
-
|
6218
|
+
j.postRender(() => {
|
6219
6219
|
this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
|
6220
6220
|
});
|
6221
6221
|
}
|
@@ -6252,7 +6252,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
6252
6252
|
resetTransform() {
|
6253
6253
|
if (!i)
|
6254
6254
|
return;
|
6255
|
-
const o = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, a = this.projectionDelta && !
|
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;
|
6256
6256
|
o && (a || Yt(this.latestValues) || u) && (i(this.instance, c), this.shouldResetTransform = !1, this.scheduleRender());
|
6257
6257
|
}
|
6258
6258
|
measure(o = !0) {
|
@@ -6374,7 +6374,7 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
6374
6374
|
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
|
6375
6375
|
return;
|
6376
6376
|
}
|
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 || !
|
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));
|
6378
6378
|
}
|
6379
6379
|
hide() {
|
6380
6380
|
this.isVisible = !1;
|
@@ -6396,16 +6396,16 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
6396
6396
|
setAnimationOrigin(o, a = !1) {
|
6397
6397
|
const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, d = se();
|
6398
6398
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
|
6399
|
-
const f = W(), h = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, g = h !== p, x = this.getStack(), v = !x || x.members.length <= 1,
|
6399
|
+
const f = W(), h = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, g = h !== p, x = this.getStack(), v = !x || x.members.length <= 1, w = !!(g && !v && this.options.crossfade === !0 && !this.path.some(zh));
|
6400
6400
|
this.animationProgress = 0;
|
6401
|
-
let
|
6402
|
-
this.mixTargetDelta = (
|
6403
|
-
const m =
|
6404
|
-
Es(d.x, o.x, m), Es(d.y, o.y, m), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Me(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Uh(this.relativeTarget, this.relativeTargetOrigin, f, m),
|
6401
|
+
let S;
|
6402
|
+
this.mixTargetDelta = (P) => {
|
6403
|
+
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), Uh(this.relativeTarget, this.relativeTargetOrigin, f, m), S && Ah(this.relativeTarget, S) && (this.isProjectionDirty = !1), S || (S = W()), mt(S, this.relativeTarget)), g && (this.animationValues = u, xh(u, c, this.latestValues, m, w, v)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = m;
|
6405
6405
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
6406
6406
|
}
|
6407
6407
|
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 =
|
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
6409
|
cn.hasAnimatedSinceResize = !0, this.currentAnimation = ph(0, As, {
|
6410
6410
|
...o,
|
6411
6411
|
onUpdate: (a) => {
|
@@ -6516,13 +6516,13 @@ function Ra({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
6516
6516
|
for (const g in Oe) {
|
6517
6517
|
if (f[g] === void 0)
|
6518
6518
|
continue;
|
6519
|
-
const { correct: x, applyTo: v, isCSSVariable:
|
6519
|
+
const { correct: x, applyTo: v, isCSSVariable: w } = Oe[g], S = c.transform === "none" ? f[g] : x(f[g], d);
|
6520
6520
|
if (v) {
|
6521
|
-
const
|
6522
|
-
for (let m = 0; m <
|
6523
|
-
c[v[m]] =
|
6521
|
+
const P = v.length;
|
6522
|
+
for (let m = 0; m < P; m++)
|
6523
|
+
c[v[m]] = S;
|
6524
6524
|
} else
|
6525
|
-
|
6525
|
+
w ? this.options.visualElement.renderState.vars[g] = S : c[g] = S;
|
6526
6526
|
}
|
6527
6527
|
return this.options.layoutId && (c.pointerEvents = d === this ? an(o == null ? void 0 : o.pointerEvents) || "" : "none"), c;
|
6528
6528
|
}
|
@@ -6557,7 +6557,7 @@ function Dh(t) {
|
|
6557
6557
|
Ee(a, r, n.layoutBox);
|
6558
6558
|
const l = se();
|
6559
6559
|
o ? Ee(l, t.applyTransform(i, !0), n.measuredBox) : Ee(l, r, n.layoutBox);
|
6560
|
-
const c = !
|
6560
|
+
const c = !Pa(a);
|
6561
6561
|
let u = !1;
|
6562
6562
|
if (!t.resumeFrom) {
|
6563
6563
|
const d = t.getClosestProjectingParent();
|
@@ -6613,10 +6613,10 @@ function Bh(t) {
|
|
6613
6613
|
function Ih(t) {
|
6614
6614
|
t.calcProjection();
|
6615
6615
|
}
|
6616
|
-
function
|
6616
|
+
function jh(t) {
|
6617
6617
|
t.resetSkewAndRotation();
|
6618
6618
|
}
|
6619
|
-
function
|
6619
|
+
function Nh(t) {
|
6620
6620
|
t.removeLeadSnapshot();
|
6621
6621
|
}
|
6622
6622
|
function Es(t, e, n) {
|
@@ -6642,14 +6642,14 @@ function qh(t) {
|
|
6642
6642
|
_s(t.x), _s(t.y);
|
6643
6643
|
}
|
6644
6644
|
function Ea(t, e, n) {
|
6645
|
-
return t === "position" || t === "preserve-aspect" && !Hf(
|
6645
|
+
return t === "position" || t === "preserve-aspect" && !Hf(Cs(e), Cs(n), 0.2);
|
6646
6646
|
}
|
6647
6647
|
function Gh(t) {
|
6648
6648
|
var e;
|
6649
6649
|
return t !== t.root && ((e = t.scroll) === null || e === void 0 ? void 0 : e.wasRoot);
|
6650
6650
|
}
|
6651
6651
|
const Hh = Ra({
|
6652
|
-
attachResizeListener: (t, e) =>
|
6652
|
+
attachResizeListener: (t, e) => Ne(t, "resize", e),
|
6653
6653
|
measureScroll: () => ({
|
6654
6654
|
x: document.documentElement.scrollLeft || document.body.scrollLeft,
|
6655
6655
|
y: document.documentElement.scrollTop || document.body.scrollTop
|
@@ -6680,14 +6680,14 @@ const Hh = Ra({
|
|
6680
6680
|
drag: {
|
6681
6681
|
Feature: ch,
|
6682
6682
|
ProjectionNode: Ma,
|
6683
|
-
MeasureLayout:
|
6683
|
+
MeasureLayout: Sa
|
6684
6684
|
}
|
6685
6685
|
};
|
6686
6686
|
function Ls(t, e, n) {
|
6687
6687
|
const { props: r } = t;
|
6688
6688
|
t.animationState && r.whileHover && t.animationState.setActive("whileHover", n === "Start");
|
6689
6689
|
const i = "onHover" + n, s = r[i];
|
6690
|
-
s &&
|
6690
|
+
s && j.postRender(() => s(e, Ge(e)));
|
6691
6691
|
}
|
6692
6692
|
class Yh extends Wt {
|
6693
6693
|
mount() {
|
@@ -6714,7 +6714,7 @@ class Xh extends Wt {
|
|
6714
6714
|
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
|
6715
6715
|
}
|
6716
6716
|
mount() {
|
6717
|
-
this.unmount = qe(
|
6717
|
+
this.unmount = qe(Ne(this.node.current, "focus", () => this.onFocus()), Ne(this.node.current, "blur", () => this.onBlur()));
|
6718
6718
|
}
|
6719
6719
|
unmount() {
|
6720
6720
|
}
|
@@ -6725,7 +6725,7 @@ function $s(t, e, n) {
|
|
6725
6725
|
return;
|
6726
6726
|
t.animationState && r.whileTap && t.animationState.setActive("whileTap", n === "Start");
|
6727
6727
|
const i = "onTap" + (n === "End" ? "" : n), s = r[i];
|
6728
|
-
s &&
|
6728
|
+
s && j.postRender(() => s(e, Ge(e)));
|
6729
6729
|
}
|
6730
6730
|
class Zh extends Wt {
|
6731
6731
|
mount() {
|
@@ -6808,11 +6808,11 @@ const sp = {
|
|
6808
6808
|
}, op = {
|
6809
6809
|
layout: {
|
6810
6810
|
ProjectionNode: Ma,
|
6811
|
-
MeasureLayout:
|
6811
|
+
MeasureLayout: Sa
|
6812
6812
|
}
|
6813
6813
|
}, gr = { current: null }, ka = { current: !1 };
|
6814
6814
|
function ap() {
|
6815
|
-
if (ka.current = !0, !!
|
6815
|
+
if (ka.current = !0, !!Sr)
|
6816
6816
|
if (window.matchMedia) {
|
6817
6817
|
const t = window.matchMedia("(prefers-reduced-motion)"), e = () => gr.current = t.matches;
|
6818
6818
|
t.addListener(e), e();
|
@@ -6824,7 +6824,7 @@ function dp(t, e, n) {
|
|
6824
6824
|
for (const r in e) {
|
6825
6825
|
const i = e[r], s = n[r];
|
6826
6826
|
if (J(i))
|
6827
|
-
t.addValue(r, i), process.env.NODE_ENV === "development" &&
|
6827
|
+
t.addValue(r, i), process.env.NODE_ENV === "development" && Pn(i.version === "12.4.7", `Attempting to mix Motion versions ${i.version} with 12.4.7 may not work as expected.`);
|
6828
6828
|
else if (J(s))
|
6829
6829
|
t.addValue(r, Ie(i, { owner: t }));
|
6830
6830
|
else if (s !== i)
|
@@ -6865,7 +6865,7 @@ class fp {
|
|
6865
6865
|
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
|
6866
6866
|
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
|
6867
6867
|
const h = Et.now();
|
6868
|
-
this.renderScheduledAt < h && (this.renderScheduledAt = h,
|
6868
|
+
this.renderScheduledAt < h && (this.renderScheduledAt = h, j.render(this.render, !1, !0));
|
6869
6869
|
};
|
6870
6870
|
const { latestValues: l, renderState: c, onUpdate: u } = o;
|
6871
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);
|
@@ -6876,7 +6876,7 @@ class fp {
|
|
6876
6876
|
}
|
6877
6877
|
}
|
6878
6878
|
mount(e) {
|
6879
|
-
this.current = e, up.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 || ap(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : gr.current, process.env.NODE_ENV !== "production" &&
|
6879
|
+
this.current = e, up.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 || ap(), 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);
|
6880
6880
|
}
|
6881
6881
|
unmount() {
|
6882
6882
|
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 +6893,7 @@ class fp {
|
|
6893
6893
|
const r = Qt.has(e);
|
6894
6894
|
r && this.onBindTransform && this.onBindTransform();
|
6895
6895
|
const i = n.on("change", (a) => {
|
6896
|
-
this.latestValues[e] = a, this.props.onUpdate &&
|
6896
|
+
this.latestValues[e] = a, this.props.onUpdate && j.preRender(this.notifyUpdate), r && this.projection && (this.projection.isTransformDirty = !0);
|
6897
6897
|
}), s = n.on("renderRequest", this.scheduleRender);
|
6898
6898
|
let o;
|
6899
6899
|
window.MotionCheckAppearSync && (o = window.MotionCheckAppearSync(this, e, n)), this.valueSubscriptions.set(e, () => {
|
@@ -7105,26 +7105,26 @@ class mp extends Da {
|
|
7105
7105
|
const r = Xr(n);
|
7106
7106
|
return r && r.default || 0;
|
7107
7107
|
}
|
7108
|
-
return n =
|
7108
|
+
return n = wo.has(n) ? n : Ar(n), e.getAttribute(n);
|
7109
7109
|
}
|
7110
7110
|
scrapeMotionValuesFromProps(e, n, r) {
|
7111
7111
|
return To(e, n, r);
|
7112
7112
|
}
|
7113
7113
|
onBindTransform() {
|
7114
|
-
this.current && !this.renderState.dimensions &&
|
7114
|
+
this.current && !this.renderState.dimensions && j.postRender(this.updateDimensions);
|
7115
7115
|
}
|
7116
7116
|
build(e, n, r) {
|
7117
7117
|
Lr(e, n, this.isSVGTag, r.transformTemplate);
|
7118
7118
|
}
|
7119
7119
|
renderInstance(e, n, r, i) {
|
7120
|
-
|
7120
|
+
So(e, n, r, i);
|
7121
7121
|
}
|
7122
7122
|
mount(e) {
|
7123
7123
|
this.isSVGTag = $r(e.tagName), super.mount(e);
|
7124
7124
|
}
|
7125
7125
|
}
|
7126
7126
|
const gp = (t, e) => _r(t) ? new mp(e) : new pp(e, {
|
7127
|
-
allowProjection: t !==
|
7127
|
+
allowProjection: t !== js
|
7128
7128
|
}), yp = /* @__PURE__ */ Uu({
|
7129
7129
|
...If,
|
7130
7130
|
...sp,
|
@@ -7149,7 +7149,7 @@ function xp(t, e) {
|
|
7149
7149
|
return yr(t, [e]);
|
7150
7150
|
qr(t, e);
|
7151
7151
|
}
|
7152
|
-
function
|
7152
|
+
function wp() {
|
7153
7153
|
let t = !1;
|
7154
7154
|
const e = /* @__PURE__ */ new Set(), n = {
|
7155
7155
|
subscribe(r) {
|
@@ -7182,15 +7182,15 @@ function Sp() {
|
|
7182
7182
|
};
|
7183
7183
|
return n;
|
7184
7184
|
}
|
7185
|
-
function
|
7186
|
-
const t = no(
|
7185
|
+
function Sp() {
|
7186
|
+
const t = no(wp);
|
7187
7187
|
return io(t.mount, []), t;
|
7188
7188
|
}
|
7189
|
-
const Tp =
|
7189
|
+
const Tp = Sp, Cp = {
|
7190
7190
|
some: 0,
|
7191
7191
|
all: 1
|
7192
7192
|
};
|
7193
|
-
function
|
7193
|
+
function Pp(t, e, { root: n, margin: r, amount: i = "some" } = {}) {
|
7194
7194
|
const s = Eo(t), o = /* @__PURE__ */ new WeakMap(), a = (c) => {
|
7195
7195
|
c.forEach((u) => {
|
7196
7196
|
const d = o.get(u.target);
|
@@ -7203,13 +7203,13 @@ function Cp(t, e, { root: n, margin: r, amount: i = "some" } = {}) {
|
|
7203
7203
|
}, l = new IntersectionObserver(a, {
|
7204
7204
|
root: n,
|
7205
7205
|
rootMargin: r,
|
7206
|
-
threshold: typeof i == "number" ? i :
|
7206
|
+
threshold: typeof i == "number" ? i : Cp[i]
|
7207
7207
|
});
|
7208
7208
|
return s.forEach((c) => l.observe(c)), () => l.disconnect();
|
7209
7209
|
}
|
7210
7210
|
function Ap(t, { root: e, margin: n, amount: r, once: i = !1, initial: s = !1 } = {}) {
|
7211
7211
|
const [o, a] = _t(s);
|
7212
|
-
return
|
7212
|
+
return wt(() => {
|
7213
7213
|
if (!t.current || i && o)
|
7214
7214
|
return;
|
7215
7215
|
const l = () => (a(!0), i ? void 0 : () => a(!1)), c = {
|
@@ -7217,10 +7217,10 @@ function Ap(t, { root: e, margin: n, amount: r, once: i = !1, initial: s = !1 }
|
|
7217
7217
|
margin: n,
|
7218
7218
|
amount: r
|
7219
7219
|
};
|
7220
|
-
return
|
7220
|
+
return Pp(t.current, l, c);
|
7221
7221
|
}, [e, t, n, i, r]), o;
|
7222
7222
|
}
|
7223
|
-
var Vp = "var(--_14qm28z0)", Rp = "var(--_14qm28z1)", Ep = "var(--_14qm28z2)", Mp = "var(--_14qm28z3)", kp = "var(--_14qm28z4)", Dp = "var(--_14qm28z5)", _p = "var(--_14qm28z6)", Lp = "var(--_14qm28z7)", $p = "var(--_14qm28z8)", Op = "var(--_14qm28z9)", Tm = { 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)" }, Fp = "_14qm28zb", un = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(un || {});
|
7223
|
+
var Vp = "var(--_14qm28z0)", Rp = "var(--_14qm28z1)", Ep = "var(--_14qm28z2)", Mp = "var(--_14qm28z3)", kp = "var(--_14qm28z4)", Dp = "var(--_14qm28z5)", _p = "var(--_14qm28z6)", Lp = "var(--_14qm28z7)", $p = "var(--_14qm28z8)", Op = "var(--_14qm28z9)", Tm = { 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)" }, Cm = "_14qm28za", Fp = "_14qm28zb", un = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(un || {});
|
7224
7224
|
const Bp = {
|
7225
7225
|
hidden: {
|
7226
7226
|
opacity: 0
|
@@ -7247,16 +7247,16 @@ const Bp = {
|
|
7247
7247
|
backgroundColor: c = "",
|
7248
7248
|
noPaddingBottom: u = !1
|
7249
7249
|
}) => {
|
7250
|
-
const d = Tp(), f =
|
7250
|
+
const d = Tp(), f = St(), h = Na(), {
|
7251
7251
|
colors: p,
|
7252
7252
|
header: { height: g },
|
7253
7253
|
footer: { height: x },
|
7254
|
-
global: { paddingRight: v, paddingLeft:
|
7255
|
-
section: { paddingTop:
|
7254
|
+
global: { paddingRight: v, paddingLeft: w },
|
7255
|
+
section: { paddingTop: S, paddingBottom: P }
|
7256
7256
|
} = l, m = Ap(h, {
|
7257
7257
|
margin: "0px 0px 0px 0px"
|
7258
7258
|
});
|
7259
|
-
return
|
7259
|
+
return wt(() => {
|
7260
7260
|
m && d.start("visible");
|
7261
7261
|
}, [d, m]), /* @__PURE__ */ A("section", { id: r, ref: h, className: e, style: F({
|
7262
7262
|
[Rp]: `${n}`,
|
@@ -7264,17 +7264,17 @@ const Bp = {
|
|
7264
7264
|
[$p]: o ? "center" : "flex-start",
|
7265
7265
|
[Ep]: i ? p.defaultLightText : p.defaultText,
|
7266
7266
|
[Lp]: o ? `calc(100vh - ${g[f]}px - ${x[f]}px)` : "0",
|
7267
|
-
[kp]: `${
|
7267
|
+
[kp]: `${w[f]}px`,
|
7268
7268
|
[Dp]: `${v[f]}px`,
|
7269
|
-
[Mp]: a ? "0px" : `${
|
7270
|
-
[_p]: u ? "0px" : `${
|
7269
|
+
[Mp]: a ? "0px" : `${S[f]}px`,
|
7270
|
+
[_p]: u ? "0px" : `${P[f]}px`
|
7271
7271
|
}), children: /* @__PURE__ */ A(vp.div, { className: Fp, initial: "hidden", animate: d, variants: Bp, style: F({
|
7272
7272
|
[Vp]: s === un.Center ? "center" : s === un.Right ? "right" : "left"
|
7273
7273
|
}), children: t }) });
|
7274
7274
|
};
|
7275
|
-
var Ip = { navGap: "var(--_1h6zt340)" },
|
7276
|
-
const
|
7277
|
-
const r =
|
7275
|
+
var Ip = { navGap: "var(--_1h6zt340)" }, Am = { display: "flex", flexDirection: "column", gap: "var(--_1h6zt340)" };
|
7276
|
+
const Vm = ({ children: t, theme: e = B, className: n }) => {
|
7277
|
+
const r = St(), { nav: { gap: i } } = e;
|
7278
7278
|
return /* @__PURE__ */ A(
|
7279
7279
|
"nav",
|
7280
7280
|
{
|
@@ -7286,9 +7286,9 @@ const Am = ({ children: t, theme: e = B, className: n }) => {
|
|
7286
7286
|
}
|
7287
7287
|
);
|
7288
7288
|
};
|
7289
|
-
var
|
7290
|
-
const
|
7291
|
-
const r =
|
7289
|
+
var jp = { navSocialGap: "var(--g7q46n0)" }, Rm = { display: "flex", flexDirection: "row", marginLeft: 0, marginRight: 0, gap: "var(--g7q46n0)" }, Np = "g7q46n1";
|
7290
|
+
const Em = ({ navSocial: t, className: e, theme: n = B }) => {
|
7291
|
+
const r = St(), {
|
7292
7292
|
navSocial: { gap: i }
|
7293
7293
|
} = n;
|
7294
7294
|
return /* @__PURE__ */ A(
|
@@ -7296,18 +7296,18 @@ const Rm = ({ navSocial: t, className: e, theme: n = B }) => {
|
|
7296
7296
|
{
|
7297
7297
|
className: e,
|
7298
7298
|
style: F({
|
7299
|
-
[
|
7299
|
+
[jp.navSocialGap]: `${i[r]}px`
|
7300
7300
|
}),
|
7301
7301
|
children: t.map(({ name: s, link: o }, a) => {
|
7302
7302
|
const l = s[0].toUpperCase() + s.slice(1);
|
7303
|
-
return /* @__PURE__ */ A("div", { className:
|
7303
|
+
return /* @__PURE__ */ A("div", { className: Np, children: /* @__PURE__ */ A("a", { target: "_blank", rel: "noopener noreferrer", "aria-label": s, href: o, children: /* @__PURE__ */ A(Xt, { theme: n, icon: `social${l}` }) }) }, `navSocialItem-${a}`);
|
7304
7304
|
})
|
7305
7305
|
}
|
7306
7306
|
);
|
7307
7307
|
};
|
7308
|
-
var Up = { navLegalGap: "var(--vehv9e0)" },
|
7309
|
-
const
|
7310
|
-
const r =
|
7308
|
+
var Up = { navLegalGap: "var(--vehv9e0)" }, Mm = { display: "flex", flexDirection: "row", gap: "var(--vehv9e0)" };
|
7309
|
+
const km = ({ children: t, className: e, theme: n = B }) => {
|
7310
|
+
const r = St(), {
|
7311
7311
|
navLegal: { gap: i }
|
7312
7312
|
} = n;
|
7313
7313
|
return /* @__PURE__ */ A(
|
@@ -7321,8 +7321,8 @@ const Mm = ({ children: t, className: e, theme: n = B }) => {
|
|
7321
7321
|
}
|
7322
7322
|
);
|
7323
7323
|
};
|
7324
|
-
var Kn = { formWidth: "var(--dvq5w80)", formPadding: "var(--dvq5w81)", formBackgroundColor: "var(--dvq5w82)" },
|
7325
|
-
const
|
7324
|
+
var Kn = { formWidth: "var(--dvq5w80)", formPadding: "var(--dvq5w81)", formBackgroundColor: "var(--dvq5w82)" }, Dm = { width: "100%", maxWidth: "var(--dvq5w80)", backgroundColor: "var(--dvq5w82)", padding: "var(--dvq5w81)", position: "relative", "@media": { "(min-width: 768px)": { padding: "var(--formPadding)" } } };
|
7325
|
+
const _m = ({ action: t, children: e, theme: n = B, className: r }) => /* @__PURE__ */ A(
|
7326
7326
|
"form",
|
7327
7327
|
{
|
7328
7328
|
className: r,
|
@@ -7336,7 +7336,7 @@ const Dm = ({ action: t, children: e, theme: n = B, className: r }) => /* @__PUR
|
|
7336
7336
|
}
|
7337
7337
|
);
|
7338
7338
|
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 || {});
|
7339
|
-
const
|
7339
|
+
const Lm = ({
|
7340
7340
|
children: t,
|
7341
7341
|
theme: e = B,
|
7342
7342
|
className: n,
|
@@ -7356,7 +7356,7 @@ const _m = ({
|
|
7356
7356
|
children: t
|
7357
7357
|
}
|
7358
7358
|
);
|
7359
|
-
var It = { font: "var(--k6gj0i0)", color: "var(--k6gj0i1)", border: "var(--k6gj0i2)", borderRadius: "var(--k6gj0i3)", backgroundColor: "var(--k6gj0i4)", padding: "var(--k6gj0i5)", placeholderColor: "var(--k6gj0i6)", placeholderOpacity: "var(--k6gj0i7)" },
|
7359
|
+
var It = { font: "var(--k6gj0i0)", color: "var(--k6gj0i1)", border: "var(--k6gj0i2)", borderRadius: "var(--k6gj0i3)", backgroundColor: "var(--k6gj0i4)", padding: "var(--k6gj0i5)", placeholderColor: "var(--k6gj0i6)", placeholderOpacity: "var(--k6gj0i7)" }, $m = { 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 || {});
|
7360
7360
|
const zp = ({
|
7361
7361
|
name: t,
|
7362
7362
|
value: e = "",
|
@@ -7389,7 +7389,7 @@ const zp = ({
|
|
7389
7389
|
})
|
7390
7390
|
}
|
7391
7391
|
);
|
7392
|
-
var
|
7392
|
+
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)" }, Om = {};
|
7393
7393
|
const Wp = ({
|
7394
7394
|
name: t,
|
7395
7395
|
value: e,
|
@@ -7411,18 +7411,18 @@ const Wp = ({
|
|
7411
7411
|
disabled: r,
|
7412
7412
|
onChange: s,
|
7413
7413
|
style: F({
|
7414
|
-
[
|
7415
|
-
[
|
7416
|
-
[
|
7417
|
-
[
|
7418
|
-
[
|
7419
|
-
[
|
7420
|
-
[
|
7421
|
-
[
|
7414
|
+
[jt.font]: `var(--font-${o.form.textarea.font})`,
|
7415
|
+
[jt.color]: o.form.textarea.color,
|
7416
|
+
[jt.border]: o.form.textarea.border,
|
7417
|
+
[jt.borderRadius]: `${o.form.textarea.borderRadius}px`,
|
7418
|
+
[jt.padding]: `${o.form.textarea.padding[0]}px`,
|
7419
|
+
[jt.backgroundColor]: o.form.textarea.backgroundColor,
|
7420
|
+
[jt.placeholderColor]: o.form.textarea.placeholder.color,
|
7421
|
+
[jt.placeholderOpacity]: `${o.form.textarea.placeholder.opacity}`
|
7422
7422
|
})
|
7423
7423
|
}
|
7424
7424
|
);
|
7425
|
-
var tn = { font: "var(--_1s956dc0)", color: "var(--_1s956dc1)", fontWeight: "var(--_1s956dc2)", paddingBottom: "var(--_1s956dc3)" },
|
7425
|
+
var tn = { font: "var(--_1s956dc0)", color: "var(--_1s956dc1)", fontWeight: "var(--_1s956dc2)", paddingBottom: "var(--_1s956dc3)" }, Fm = { width: "100%", textAlign: "left", fontFamily: "var(--_1s956dc0)", color: "var(--_1s956dc1)", fontWeight: "var(--_1s956dc2)", paddingBottom: "var(--_1s956dc3)" };
|
7426
7426
|
const qp = ({
|
7427
7427
|
name: t,
|
7428
7428
|
label: e,
|
@@ -7446,8 +7446,8 @@ const qp = ({
|
|
7446
7446
|
]
|
7447
7447
|
}
|
7448
7448
|
);
|
7449
|
-
var Gp = { errorColor: "var(--_1e95ziv0)" },
|
7450
|
-
const
|
7449
|
+
var Gp = { errorColor: "var(--_1e95ziv0)" }, Bm = {}, _a = /* @__PURE__ */ ((t) => (t.Textarea = "textarea", t))(_a || {});
|
7450
|
+
const Im = ({
|
7451
7451
|
name: t,
|
7452
7452
|
label: e = "",
|
7453
7453
|
value: n = "",
|
@@ -7467,7 +7467,7 @@ const Bm = ({
|
|
7467
7467
|
u === _a.Textarea ? /* @__PURE__ */ A(Wp, { className: "", value: n, rows: r, name: t, theme: l, onChange: c, disabled: s, placeholder: o }) : /* @__PURE__ */ A(zp, { className: "", value: n, type: u, name: t, theme: l, onChange: c, disabled: s, placeholder: o }),
|
7468
7468
|
a && /* @__PURE__ */ A("div", { children: a instanceof Array ? a.map((f, h) => /* @__PURE__ */ A("span", { children: f }, h)) : a })
|
7469
7469
|
] });
|
7470
|
-
var kt = { overlayBlur: "var(--pewdww0)", overlayOpacity: "var(--pewdww1)", overlayBackgroundColor: "var(--pewdww2)", width: "var(--pewdww3)", backgroundColor: "var(--pewdww4)", borderRadius: "var(--pewdww5)", borders: "var(--pewdww6)", actionsGap: "var(--pewdww7)", actionsPaddingTop: "var(--pewdww8)" },
|
7470
|
+
var kt = { overlayBlur: "var(--pewdww0)", overlayOpacity: "var(--pewdww1)", overlayBackgroundColor: "var(--pewdww2)", width: "var(--pewdww3)", backgroundColor: "var(--pewdww4)", borderRadius: "var(--pewdww5)", borders: "var(--pewdww6)", actionsGap: "var(--pewdww7)", actionsPaddingTop: "var(--pewdww8)" }, jm = {};
|
7471
7471
|
function Hp(t) {
|
7472
7472
|
const e = t + "=", r = decodeURIComponent(document.cookie).split(";");
|
7473
7473
|
for (let i = 0; i < r.length; i++) {
|
@@ -7496,7 +7496,7 @@ const Nm = ({
|
|
7496
7496
|
const [o, a] = _t(!1), l = (c) => {
|
7497
7497
|
a(!1), Kp(n, `${c}`, i);
|
7498
7498
|
};
|
7499
|
-
return
|
7499
|
+
return wt(() => {
|
7500
7500
|
const c = Hp(n), u = c !== "true" && c !== "false", d = c === "true";
|
7501
7501
|
u && a(!0);
|
7502
7502
|
const f = d ? "granted" : "denied";
|
@@ -7539,21 +7539,21 @@ export {
|
|
7539
7539
|
om as Carousel,
|
7540
7540
|
sm as CarouselStyles,
|
7541
7541
|
xm as Columns,
|
7542
|
-
|
7542
|
+
Ce as ColumnsAlign,
|
7543
7543
|
bm as ColumnsStyles,
|
7544
7544
|
Nm as ConsentCookie,
|
7545
|
-
|
7545
|
+
jm as ConsentCookieStyles,
|
7546
7546
|
vm as Footer,
|
7547
7547
|
ym as FooterStyles,
|
7548
|
-
|
7549
|
-
|
7548
|
+
_m as Form,
|
7549
|
+
Lm as FormRow,
|
7550
7550
|
dn as FormRowAlign,
|
7551
|
-
|
7551
|
+
Dm as FormStyles,
|
7552
7552
|
gm as Header,
|
7553
7553
|
mm as HeaderStyles,
|
7554
7554
|
Xt as Icon,
|
7555
7555
|
tm as IconStyles,
|
7556
|
-
|
7556
|
+
$m as InputStyles,
|
7557
7557
|
ei as InputType,
|
7558
7558
|
lm as KeyNumber,
|
7559
7559
|
am as KeyNumberStyles,
|
@@ -7565,24 +7565,37 @@ export {
|
|
7565
7565
|
hm as MainStyles,
|
7566
7566
|
nm as Modal,
|
7567
7567
|
em as ModalStyles,
|
7568
|
-
|
7569
|
-
|
7570
|
-
|
7571
|
-
|
7572
|
-
|
7573
|
-
|
7568
|
+
Vm as Nav,
|
7569
|
+
km as NavLegal,
|
7570
|
+
Mm as NavLegalStyles,
|
7571
|
+
Em as NavSocial,
|
7572
|
+
Rm as NavSocialStyles,
|
7573
|
+
Am as NavStyles,
|
7574
7574
|
Pm as Section,
|
7575
7575
|
un as SectionAlign,
|
7576
7576
|
Tm as SectionStyles,
|
7577
|
-
|
7577
|
+
Im as TextField,
|
7578
7578
|
zp as TextFieldInput,
|
7579
7579
|
qp as TextFieldLabel,
|
7580
|
-
|
7581
|
-
|
7580
|
+
Fm as TextFieldLabelStyles,
|
7581
|
+
Bm as TextFieldStyles,
|
7582
7582
|
Wp as TextFieldTextarea,
|
7583
|
-
|
7583
|
+
Om as TextareaStyles,
|
7584
7584
|
_a as TextareaType,
|
7585
7585
|
xc as Video,
|
7586
7586
|
um as VideoFullWidth,
|
7587
|
-
cm as VideoFullWidthStyles
|
7587
|
+
cm as VideoFullWidthStyles,
|
7588
|
+
Vp as sectionAlignVar,
|
7589
|
+
Op as sectionBackgroundColorVar,
|
7590
|
+
Ep as sectionColorVar,
|
7591
|
+
Fp as sectionContentStyle,
|
7592
|
+
$p as sectionJustifyContentVar,
|
7593
|
+
Lp as sectionMinHeightVar,
|
7594
|
+
_p as sectionPaddingBottomVar,
|
7595
|
+
kp as sectionPaddingLeftVar,
|
7596
|
+
Dp as sectionPaddingRightVar,
|
7597
|
+
Mp as sectionPaddingTopVar,
|
7598
|
+
Cm as sectionStyle,
|
7599
|
+
Rp as sectionZIndexVar,
|
7600
|
+
Tm as styles
|
7588
7601
|
};
|