@latte-macchiat-io/latte-vanilla-components 0.0.126 → 0.0.127
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 +3 -3
- package/dist/index.es.js +105 -105
- package/dist/types/components/Section/styles.css.d.ts +19 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -77,7 +77,7 @@ function Ue(t, e) {
|
|
77
77
|
function Na(t, e) {
|
78
78
|
return t.map(e).join("");
|
79
79
|
}
|
80
|
-
var mn = 1, oe = 1, ks = 0, dt = 0,
|
80
|
+
var mn = 1, oe = 1, ks = 0, dt = 0, q = 0, fe = "";
|
81
81
|
function gn(t, e, n, i, r, o, s) {
|
82
82
|
return { value: t, root: e, parent: n, type: i, props: r, children: o, line: mn, column: oe, length: s, return: "" };
|
83
83
|
}
|
@@ -85,18 +85,18 @@ function me(t, e) {
|
|
85
85
|
return $a(gn("", null, null, "", null, null, 0), t, { length: -t.length }, e);
|
86
86
|
}
|
87
87
|
function Ua() {
|
88
|
-
return
|
88
|
+
return q;
|
89
89
|
}
|
90
90
|
function za() {
|
91
|
-
return
|
91
|
+
return q = dt > 0 ? J(fe, --dt) : 0, oe--, q === 10 && (oe = 1, mn--), q;
|
92
92
|
}
|
93
93
|
function gt() {
|
94
|
-
return
|
94
|
+
return q = dt < ks ? J(fe, dt++) : 0, oe++, q === 10 && (oe = 1, mn++), q;
|
95
95
|
}
|
96
96
|
function Vt() {
|
97
97
|
return J(fe, dt);
|
98
98
|
}
|
99
|
-
function
|
99
|
+
function qe() {
|
100
100
|
return dt;
|
101
101
|
}
|
102
102
|
function Be(t, e) {
|
@@ -146,29 +146,29 @@ function Fs(t) {
|
|
146
146
|
function Is(t) {
|
147
147
|
return fe = "", t;
|
148
148
|
}
|
149
|
-
function
|
149
|
+
function Ye(t) {
|
150
150
|
return Os(Be(dt - 1, Nn(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
|
151
151
|
}
|
152
152
|
function Wa(t) {
|
153
|
-
for (; (
|
153
|
+
for (; (q = Vt()) && q < 33; )
|
154
154
|
gt();
|
155
|
-
return Ee(t) > 2 || Ee(
|
155
|
+
return Ee(t) > 2 || Ee(q) > 3 ? "" : " ";
|
156
156
|
}
|
157
157
|
function Ha(t, e) {
|
158
|
-
for (; --e && gt() && !(
|
158
|
+
for (; --e && gt() && !(q < 48 || q > 102 || q > 57 && q < 65 || q > 70 && q < 97); )
|
159
159
|
;
|
160
|
-
return Be(t,
|
160
|
+
return Be(t, qe() + (e < 6 && Vt() == 32 && gt() == 32));
|
161
161
|
}
|
162
162
|
function Nn(t) {
|
163
163
|
for (; gt(); )
|
164
|
-
switch (
|
164
|
+
switch (q) {
|
165
165
|
// ] ) " '
|
166
166
|
case t:
|
167
167
|
return dt;
|
168
168
|
// " '
|
169
169
|
case 34:
|
170
170
|
case 39:
|
171
|
-
t !== 34 && t !== 39 && Nn(
|
171
|
+
t !== 34 && t !== 39 && Nn(q);
|
172
172
|
break;
|
173
173
|
// (
|
174
174
|
case 40:
|
@@ -182,8 +182,8 @@ function Nn(t) {
|
|
182
182
|
return dt;
|
183
183
|
}
|
184
184
|
function Ga(t, e) {
|
185
|
-
for (; gt() && t +
|
186
|
-
if (t +
|
185
|
+
for (; gt() && t + q !== 57; )
|
186
|
+
if (t + q === 84 && Vt() === 47)
|
187
187
|
break;
|
188
188
|
return "/*" + Be(e, dt - 1) + "*" + pn(t === 47 ? t : gt());
|
189
189
|
}
|
@@ -192,7 +192,7 @@ function Ka(t) {
|
|
192
192
|
gt();
|
193
193
|
return Be(t, dt);
|
194
194
|
}
|
195
|
-
function
|
195
|
+
function qa(t) {
|
196
196
|
return Is(Xe("", null, null, null, [""], t = Fs(t), 0, [0], t));
|
197
197
|
}
|
198
198
|
function Xe(t, e, n, i, r, o, s, a, l) {
|
@@ -201,14 +201,14 @@ function Xe(t, e, n, i, r, o, s, a, l) {
|
|
201
201
|
// (
|
202
202
|
case 40:
|
203
203
|
if (p != 108 && J(M, f - 1) == 58) {
|
204
|
-
_n(M += I(
|
204
|
+
_n(M += I(Ye(S), "&", "&\f"), "&\f") != -1 && (v = -1);
|
205
205
|
break;
|
206
206
|
}
|
207
207
|
// " ' [
|
208
208
|
case 34:
|
209
209
|
case 39:
|
210
210
|
case 91:
|
211
|
-
M +=
|
211
|
+
M += Ye(S);
|
212
212
|
break;
|
213
213
|
// \t \n \r \s
|
214
214
|
case 9:
|
@@ -219,14 +219,14 @@ function Xe(t, e, n, i, r, o, s, a, l) {
|
|
219
219
|
break;
|
220
220
|
// \
|
221
221
|
case 92:
|
222
|
-
M += Ha(
|
222
|
+
M += Ha(qe() - 1, 7);
|
223
223
|
continue;
|
224
224
|
// /
|
225
225
|
case 47:
|
226
226
|
switch (Vt()) {
|
227
227
|
case 42:
|
228
228
|
case 47:
|
229
|
-
Ue(
|
229
|
+
Ue(Ya(Ga(gt(), qe()), e, n), l);
|
230
230
|
break;
|
231
231
|
default:
|
232
232
|
M += "/";
|
@@ -246,14 +246,14 @@ function Xe(t, e, n, i, r, o, s, a, l) {
|
|
246
246
|
w = 0;
|
247
247
|
// ;
|
248
248
|
case 59 + u:
|
249
|
-
v == -1 && (M = I(M, /\f/g, "")), h > 0 && Pt(M) - f && Ue(h > 32 ?
|
249
|
+
v == -1 && (M = I(M, /\f/g, "")), h > 0 && Pt(M) - f && Ue(h > 32 ? Yi(M + ";", i, n, f - 1) : Yi(I(M, " ", "") + ";", i, n, f - 2), l);
|
250
250
|
break;
|
251
251
|
// @ ;
|
252
252
|
case 59:
|
253
253
|
M += ";";
|
254
254
|
// { rule/at-rule
|
255
255
|
default:
|
256
|
-
if (Ue(E =
|
256
|
+
if (Ue(E = qi(M, e, n, c, u, r, a, T, A = [], m = [], f), o), S === 123)
|
257
257
|
if (u === 0)
|
258
258
|
Xe(M, e, E, E, A, o, f, a, m);
|
259
259
|
else
|
@@ -263,7 +263,7 @@ function Xe(t, e, n, i, r, o, s, a, l) {
|
|
263
263
|
case 108:
|
264
264
|
case 109:
|
265
265
|
case 115:
|
266
|
-
Xe(t, E, E, i && Ue(
|
266
|
+
Xe(t, E, E, i && Ue(qi(t, E, E, 0, 0, r, a, T, r, A = [], f), m), r, m, f, a, i ? A : m);
|
267
267
|
break;
|
268
268
|
default:
|
269
269
|
Xe(M, E, E, E, [""], m, 0, a, m);
|
@@ -292,7 +292,7 @@ function Xe(t, e, n, i, r, o, s, a, l) {
|
|
292
292
|
break;
|
293
293
|
// @
|
294
294
|
case 64:
|
295
|
-
Vt() === 45 && (M +=
|
295
|
+
Vt() === 45 && (M += Ye(gt())), d = Vt(), u = f = Pt(T = M += Ka(qe())), S++;
|
296
296
|
break;
|
297
297
|
// -
|
298
298
|
case 45:
|
@@ -301,16 +301,16 @@ function Xe(t, e, n, i, r, o, s, a, l) {
|
|
301
301
|
}
|
302
302
|
return o;
|
303
303
|
}
|
304
|
-
function
|
304
|
+
function qi(t, e, n, i, r, o, s, a, l, c, u) {
|
305
305
|
for (var f = r - 1, d = r === 0 ? o : [""], h = di(d), p = 0, g = 0, w = 0; p < i; ++p)
|
306
306
|
for (var v = 0, S = Ve(t, f + 1, f = Ba(g = s[p])), T = t; v < h; ++v)
|
307
307
|
(T = Os(g > 0 ? d[v] + " " + S : I(S, /&\f/g, d[v]))) && (l[w++] = T);
|
308
308
|
return gn(t, e, n, r === 0 ? ui : a, l, c, u);
|
309
309
|
}
|
310
|
-
function
|
310
|
+
function Ya(t, e, n) {
|
311
311
|
return gn(t, e, n, Ds, pn(Ua()), Ve(t, 2, -2), 0);
|
312
312
|
}
|
313
|
-
function
|
313
|
+
function Yi(t, e, n, i) {
|
314
314
|
return gn(t, e, n, fi, Ve(t, 0, i), Ve(t, i + 1, -1), i);
|
315
315
|
}
|
316
316
|
function se(t, e) {
|
@@ -365,7 +365,7 @@ var tl = function(e, n, i) {
|
|
365
365
|
r === 38 && Vt() === 12 && (n[i] = 1), e[i] += tl(dt - 1, n, i);
|
366
366
|
break;
|
367
367
|
case 2:
|
368
|
-
e[i] +=
|
368
|
+
e[i] += Ye(r);
|
369
369
|
break;
|
370
370
|
case 4:
|
371
371
|
if (r === 44) {
|
@@ -599,7 +599,7 @@ var sl = function(e, n, i, r) {
|
|
599
599
|
var u, f = [Xa, Ja(function(g) {
|
600
600
|
u.insert(g);
|
601
601
|
})], d = Za(c.concat(r, f)), h = function(w) {
|
602
|
-
return se(
|
602
|
+
return se(qa(w), d);
|
603
603
|
};
|
604
604
|
l = function(w, v, S, T) {
|
605
605
|
u = S, h(w ? w + "{" + v.styles + "}" : v.styles), T && (p.inserted[v.name] = !0);
|
@@ -768,7 +768,7 @@ function fl() {
|
|
768
768
|
}
|
769
769
|
}
|
770
770
|
}
|
771
|
-
var m = l, E = c, M = a, y = s, b = e, x = u, C = i, O = p, z = h,
|
771
|
+
var m = l, E = c, M = a, y = s, b = e, x = u, C = i, O = p, z = h, Y = n, X = o, U = r, k = f, _ = !1;
|
772
772
|
function lt(R) {
|
773
773
|
return _ || (_ = !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.")), it(R) || A(R) === l;
|
774
774
|
}
|
@@ -808,7 +808,7 @@ function fl() {
|
|
808
808
|
function Ht(R) {
|
809
809
|
return A(R) === f;
|
810
810
|
}
|
811
|
-
$.AsyncMode = m, $.ConcurrentMode = E, $.ContextConsumer = M, $.ContextProvider = y, $.Element = b, $.ForwardRef = x, $.Fragment = C, $.Lazy = O, $.Memo = z, $.Portal =
|
811
|
+
$.AsyncMode = m, $.ConcurrentMode = E, $.ContextConsumer = M, $.ContextProvider = y, $.Element = b, $.ForwardRef = x, $.Fragment = C, $.Lazy = O, $.Memo = z, $.Portal = Y, $.Profiler = X, $.StrictMode = U, $.Suspense = k, $.isAsyncMode = lt, $.isConcurrentMode = it, $.isContextConsumer = Ft, $.isContextProvider = It, $.isElement = bt, $.isForwardRef = yt, $.isFragment = Bt, $.isLazy = pt, $.isMemo = $t, $.isPortal = wt, $.isProfiler = St, $.isStrictMode = Wt, $.isSuspense = Ht, $.isValidElementType = T, $.typeOf = A;
|
812
812
|
}()), $;
|
813
813
|
}
|
814
814
|
var Qi;
|
@@ -1154,7 +1154,7 @@ const Dl = [
|
|
1154
1154
|
768,
|
1155
1155
|
1024,
|
1156
1156
|
1680
|
1157
|
-
], P = Dl.map((t) => `(min-width: ${t}px)`),
|
1157
|
+
], P = Dl.map((t) => `(min-width: ${t}px)`), Yt = {
|
1158
1158
|
mobile: 0,
|
1159
1159
|
// Mobile par défaut
|
1160
1160
|
sm: 640,
|
@@ -1822,7 +1822,7 @@ const jl = L.div(
|
|
1822
1822
|
path: { fill: i }
|
1823
1823
|
}
|
1824
1824
|
})
|
1825
|
-
),
|
1825
|
+
), ql = ({
|
1826
1826
|
video: t,
|
1827
1827
|
isAutoPlay: e,
|
1828
1828
|
styles: n = {},
|
@@ -1864,7 +1864,7 @@ const jl = L.div(
|
|
1864
1864
|
p && l && /* @__PURE__ */ V(Gl, { theme: c, isPlaying: p, "aria-label": "Pause", onClick: p ? A : S, children: /* @__PURE__ */ V(Lt, { icon: "pause", size: 28, theme: c }) }),
|
1865
1865
|
l && /* @__PURE__ */ V(Kl, { theme: c, isMuted: r, onClick: m, "aria-label": "Sound", children: /* @__PURE__ */ V(Lt, { icon: w ? "volumeUp" : "volumeMute", size: 28, theme: c }) })
|
1866
1866
|
] });
|
1867
|
-
},
|
1867
|
+
}, Yl = L.div(
|
1868
1868
|
({ styles: t }) => G(
|
1869
1869
|
{
|
1870
1870
|
img: {
|
@@ -1875,7 +1875,7 @@ const jl = L.div(
|
|
1875
1875
|
},
|
1876
1876
|
t
|
1877
1877
|
)
|
1878
|
-
),
|
1878
|
+
), qp = ({ children: t, styles: e = {}, theme: n = j }) => /* @__PURE__ */ V(Yl, { theme: n, styles: e, children: t }), Xl = L.div(
|
1879
1879
|
({
|
1880
1880
|
styles: t,
|
1881
1881
|
isFullWidth: e,
|
@@ -2000,7 +2000,7 @@ function ic() {
|
|
2000
2000
|
return window.addEventListener("resize", n), n(), () => window.removeEventListener("resize", n);
|
2001
2001
|
}, []), t;
|
2002
2002
|
}
|
2003
|
-
const
|
2003
|
+
const Yp = ({
|
2004
2004
|
data: t,
|
2005
2005
|
styles: e = {},
|
2006
2006
|
displayItem: n = 1,
|
@@ -2009,7 +2009,7 @@ const qp = ({
|
|
2009
2009
|
displayNavBullets: o = !1,
|
2010
2010
|
displayNavButtons: s = !1
|
2011
2011
|
}) => {
|
2012
|
-
const { width: a } = ic(), [l, c] = mt(0), [u, f] = mt(i.carousel.gap[0]), d = a !== void 0 && a >
|
2012
|
+
const { width: a } = ic(), [l, c] = mt(0), [u, f] = mt(i.carousel.gap[0]), d = a !== void 0 && a > Yt[1], h = a !== void 0 && a > Yt[2], [p, g] = mt(0), [w, v] = mt(0), [S, T] = mt(0), [A, m] = mt(n), E = _t(null), M = _t(null), y = _t(null), b = (x, C) => {
|
2013
2013
|
C < x && -(C - x) > 100 && c((O) => O !== t.length - 1 * A ? O + 1 : t.length - 1), C > x && C - x > 100 && c((O) => O !== 0 ? O - 1 : 0);
|
2014
2014
|
};
|
2015
2015
|
return ot(() => {
|
@@ -2038,14 +2038,14 @@ const qp = ({
|
|
2038
2038
|
const x = E.current;
|
2039
2039
|
return x && g(x.getBoundingClientRect().width), window.addEventListener("resize", () => g(x.getBoundingClientRect().width)), () => window.removeEventListener("resize", () => g(x.getBoundingClientRect().width));
|
2040
2040
|
}, []), ot(() => {
|
2041
|
-
var
|
2041
|
+
var Y, X;
|
2042
2042
|
let x = 0, C = 0;
|
2043
2043
|
const O = (U) => {
|
2044
2044
|
x = U.changedTouches[0].screenX;
|
2045
2045
|
}, z = (U) => {
|
2046
2046
|
C = U.changedTouches[0].screenX, b(x, C);
|
2047
2047
|
};
|
2048
|
-
(
|
2048
|
+
(Y = E.current) == null || Y.addEventListener("touchstart", (U) => O(U), { passive: !0 }), (X = E.current) == null || X.addEventListener("touchend", (U) => z(U), { passive: !0 });
|
2049
2049
|
}, []), ot(() => {
|
2050
2050
|
const C = (A - 1) * u;
|
2051
2051
|
y.current && T((p - C) / A);
|
@@ -2186,14 +2186,14 @@ function ac() {
|
|
2186
2186
|
function n(y, b) {
|
2187
2187
|
var x = y == null ? null : typeof Symbol < "u" && y[Symbol.iterator] || y["@@iterator"];
|
2188
2188
|
if (x != null) {
|
2189
|
-
var C, O, z,
|
2189
|
+
var C, O, z, Y, X = [], U = !0, k = !1;
|
2190
2190
|
try {
|
2191
2191
|
if (z = (x = x.call(y)).next, b !== 0) for (; !(U = (C = z.call(x)).done) && (X.push(C.value), X.length !== b); U = !0) ;
|
2192
2192
|
} catch (_) {
|
2193
2193
|
k = !0, O = _;
|
2194
2194
|
} finally {
|
2195
2195
|
try {
|
2196
|
-
if (!U && x.return != null && (
|
2196
|
+
if (!U && x.return != null && (Y = x.return(), Object(Y) !== Y)) return;
|
2197
2197
|
} finally {
|
2198
2198
|
if (k) throw O;
|
2199
2199
|
}
|
@@ -2306,13 +2306,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
2306
2306
|
}, []);
|
2307
2307
|
}
|
2308
2308
|
var S = function(b, x) {
|
2309
|
-
var C = x.decimal, O = x.decimals, z = x.duration,
|
2309
|
+
var C = x.decimal, O = x.decimals, z = x.duration, Y = x.easingFn, X = x.end, U = x.formattingFn, k = x.numerals, _ = x.prefix, lt = x.separator, it = x.start, Ft = x.suffix, It = x.useEasing, bt = x.useGrouping, yt = x.useIndianSeparators, Bt = x.enableScrollSpy, pt = x.scrollSpyDelay, $t = x.scrollSpyOnce, wt = x.plugin;
|
2310
2310
|
return new e.CountUp(b, X, {
|
2311
2311
|
startVal: it,
|
2312
2312
|
duration: z,
|
2313
2313
|
decimal: C,
|
2314
2314
|
decimalPlaces: O,
|
2315
|
-
easingFn:
|
2315
|
+
easingFn: Y,
|
2316
2316
|
formattingFn: U,
|
2317
2317
|
numerals: k,
|
2318
2318
|
separator: lt,
|
@@ -2346,7 +2346,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
2346
2346
|
return Gt !== void 0;
|
2347
2347
|
})), C = t.useMemo(function() {
|
2348
2348
|
return r(r({}, A), x);
|
2349
|
-
}, [b]), O = C.ref, z = C.startOnMount,
|
2349
|
+
}, [b]), O = C.ref, z = C.startOnMount, Y = C.enableReinitialize, X = C.delay, U = C.onEnd, k = C.onStart, _ = C.onPauseResume, lt = C.onReset, it = C.onUpdate, Ft = u(C, T), It = t.useRef(), bt = t.useRef(), yt = t.useRef(!1), Bt = v(function() {
|
2350
2350
|
return S(typeof O == "string" ? O : O.current, Ft);
|
2351
2351
|
}), pt = v(function(ct) {
|
2352
2352
|
var Ct = It.current;
|
@@ -2394,8 +2394,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
2394
2394
|
z && (ct && St(), $t());
|
2395
2395
|
});
|
2396
2396
|
return t.useEffect(function() {
|
2397
|
-
yt.current ?
|
2398
|
-
}, [
|
2397
|
+
yt.current ? Y && R(!0) : (yt.current = !0, R());
|
2398
|
+
}, [Y, yt, R, X, b.start, b.suffix, b.prefix, b.duration, b.separator, b.decimals, b.decimal, b.formattingFn]), t.useEffect(function() {
|
2399
2399
|
return function() {
|
2400
2400
|
St();
|
2401
2401
|
};
|
@@ -2407,7 +2407,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
2407
2407
|
getCountUp: pt
|
2408
2408
|
};
|
2409
2409
|
}, E = ["className", "redraw", "containerProps", "children", "style"], M = function(b) {
|
2410
|
-
var x = b.className, C = b.redraw, O = b.containerProps, z = b.children,
|
2410
|
+
var x = b.className, C = b.redraw, O = b.containerProps, z = b.children, Y = b.style, X = u(b, E), U = t.useRef(null), k = t.useRef(!1), _ = m(r(r({}, X), {}, {
|
2411
2411
|
ref: U,
|
2412
2412
|
startOnMount: typeof z != "function" || b.delay === 0,
|
2413
2413
|
// component manually restarts
|
@@ -2445,7 +2445,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
2445
2445
|
}) : /* @__PURE__ */ t.createElement("span", l({
|
2446
2446
|
className: x,
|
2447
2447
|
ref: U,
|
2448
|
-
style:
|
2448
|
+
style: Y
|
2449
2449
|
}, O), typeof b.start < "u" ? bt().formattingFn(b.start) : "");
|
2450
2450
|
};
|
2451
2451
|
return ge.default = M, ge.useCountUp = m, ge;
|
@@ -2637,7 +2637,7 @@ const gc = L.div(
|
|
2637
2637
|
showControls: r,
|
2638
2638
|
startMuted: o = !1,
|
2639
2639
|
theme: s = j
|
2640
|
-
}) => /* @__PURE__ */ V(vc, { theme: s, styles: i, children: /* @__PURE__ */ V(
|
2640
|
+
}) => /* @__PURE__ */ V(vc, { theme: s, styles: i, children: /* @__PURE__ */ V(ql, { isVideoFullWidth: !0, video: t, theme: s, poster: e, isAutoPlay: n, startMuted: o, showControls: r }) }), xc = L.div(
|
2641
2641
|
({
|
2642
2642
|
styles: t,
|
2643
2643
|
theme: {
|
@@ -3033,7 +3033,7 @@ function Oc(t = !0) {
|
|
3033
3033
|
const s = Rs(() => t && i && i(o), [o, i, t]);
|
3034
3034
|
return !n && i ? [!1, s] : [!0];
|
3035
3035
|
}
|
3036
|
-
const pi = typeof window < "u",
|
3036
|
+
const pi = typeof window < "u", qs = pi ? Va : ot, ft = /* @__NO_SIDE_EFFECTS__ */ (t) => t;
|
3037
3037
|
let de = ft, Dt = ft;
|
3038
3038
|
process.env.NODE_ENV !== "production" && (de = (t, e) => {
|
3039
3039
|
!t && typeof console < "u" && console.warn(e);
|
@@ -3105,7 +3105,7 @@ function Fc(t, e) {
|
|
3105
3105
|
return c;
|
3106
3106
|
}
|
3107
3107
|
const Ic = 40;
|
3108
|
-
function
|
3108
|
+
function Ys(t, e) {
|
3109
3109
|
let n = !1, i = !0;
|
3110
3110
|
const r = {
|
3111
3111
|
delta: 0,
|
@@ -3125,7 +3125,7 @@ function qs(t, e) {
|
|
3125
3125
|
s[He[S]].cancel(v);
|
3126
3126
|
}, state: r, steps: s };
|
3127
3127
|
}
|
3128
|
-
const { schedule: N, cancel: Nt, state: Z, steps: En } =
|
3128
|
+
const { schedule: N, cancel: Nt, state: Z, steps: En } = Ys(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ft, !0), Xs = ue({ strict: !1 }), fr = {
|
3129
3129
|
animation: [
|
3130
3130
|
"animate",
|
3131
3131
|
"variants",
|
@@ -3279,7 +3279,7 @@ function Hc(t, e, n) {
|
|
3279
3279
|
[e]
|
3280
3280
|
);
|
3281
3281
|
}
|
3282
|
-
const vi = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), Gc = "framerAppearId", Qs = "data-" + vi(Gc), { schedule: xi, cancel: rm } =
|
3282
|
+
const vi = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), Gc = "framerAppearId", Qs = "data-" + vi(Gc), { schedule: xi, cancel: rm } = Ys(queueMicrotask, !1), to = ue({});
|
3283
3283
|
function Kc(t, e, n, i, r) {
|
3284
3284
|
var o, s;
|
3285
3285
|
const { visualElement: a } = st(xn), l = st(Xs), c = st(hi), u = st(Ks).reducedMotion, f = _t(null);
|
@@ -3292,13 +3292,13 @@ function Kc(t, e, n, i, r) {
|
|
3292
3292
|
reducedMotionConfig: u
|
3293
3293
|
}));
|
3294
3294
|
const d = f.current, h = st(to);
|
3295
|
-
d && !d.projection && r && (d.type === "html" || d.type === "svg") &&
|
3295
|
+
d && !d.projection && r && (d.type === "html" || d.type === "svg") && qc(f.current, n, r, h);
|
3296
3296
|
const p = _t(!1);
|
3297
3297
|
Ea(() => {
|
3298
3298
|
d && p.current && d.update(n, c);
|
3299
3299
|
});
|
3300
3300
|
const g = n[Qs], w = _t(!!g && !(!((o = window.MotionHandoffIsComplete) === null || o === void 0) && o.call(window, g)) && ((s = window.MotionHasOptimisedAnimation) === null || s === void 0 ? void 0 : s.call(window, g)));
|
3301
|
-
return
|
3301
|
+
return qs(() => {
|
3302
3302
|
d && (p.current = !0, window.MotionIsMounted = !0, d.updateFeatures(), xi.render(d.render), w.current && d.animationState && d.animationState.animateChanges());
|
3303
3303
|
}), ot(() => {
|
3304
3304
|
d && (!w.current && d.animationState && d.animationState.animateChanges(), w.current && (queueMicrotask(() => {
|
@@ -3307,7 +3307,7 @@ function Kc(t, e, n, i, r) {
|
|
3307
3307
|
}), w.current = !1));
|
3308
3308
|
}), d;
|
3309
3309
|
}
|
3310
|
-
function
|
3310
|
+
function qc(t, e, n, i) {
|
3311
3311
|
const { layoutId: r, layout: o, drag: s, dragConstraints: a, layoutScroll: l, layoutRoot: c } = e;
|
3312
3312
|
t.projection = new n(t.latestValues, e["data-framer-portal-id"] ? void 0 : eo(t.parent)), t.projection.setOptions({
|
3313
3313
|
layoutId: r,
|
@@ -3331,7 +3331,7 @@ function eo(t) {
|
|
3331
3331
|
if (t)
|
3332
3332
|
return t.options.allowProjection !== !1 ? t.projection : eo(t.parent);
|
3333
3333
|
}
|
3334
|
-
function
|
3334
|
+
function Yc({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVisualState: i, Component: r }) {
|
3335
3335
|
var o, s;
|
3336
3336
|
t && Bc(t);
|
3337
3337
|
function a(c, u) {
|
@@ -3849,7 +3849,7 @@ function Pu(t, e) {
|
|
3849
3849
|
createVisualElement: e,
|
3850
3850
|
Component: i
|
3851
3851
|
};
|
3852
|
-
return
|
3852
|
+
return Yc(s);
|
3853
3853
|
};
|
3854
3854
|
}
|
3855
3855
|
function Oe(t, e, n) {
|
@@ -3935,14 +3935,14 @@ class Eu extends Vu {
|
|
3935
3935
|
function Mi(t, e) {
|
3936
3936
|
return t ? t[e] || t.default || t : void 0;
|
3937
3937
|
}
|
3938
|
-
const
|
3938
|
+
const qn = 2e4;
|
3939
3939
|
function po(t) {
|
3940
3940
|
let e = 0;
|
3941
3941
|
const n = 50;
|
3942
3942
|
let i = t.next(e);
|
3943
|
-
for (; !i.done && e <
|
3943
|
+
for (; !i.done && e < qn; )
|
3944
3944
|
e += n, i = t.next(e);
|
3945
|
-
return e >=
|
3945
|
+
return e >= qn ? 1 / 0 : e;
|
3946
3946
|
}
|
3947
3947
|
function Di(t) {
|
3948
3948
|
return typeof t == "function";
|
@@ -3975,9 +3975,9 @@ const an = /* @__PURE__ */ Mu(() => {
|
|
3975
3975
|
return `linear(${i.substring(0, i.length - 2)})`;
|
3976
3976
|
};
|
3977
3977
|
function go(t) {
|
3978
|
-
return !!(typeof t == "function" && an() || !t || typeof t == "string" && (t in
|
3978
|
+
return !!(typeof t == "function" && an() || !t || typeof t == "string" && (t in Yn || an()) || Li(t) || Array.isArray(t) && t.every(go));
|
3979
3979
|
}
|
3980
|
-
const ve = ([t, e, n, i]) => `cubic-bezier(${t}, ${e}, ${n}, ${i})`,
|
3980
|
+
const ve = ([t, e, n, i]) => `cubic-bezier(${t}, ${e}, ${n}, ${i})`, Yn = {
|
3981
3981
|
linear: "linear",
|
3982
3982
|
ease: "ease",
|
3983
3983
|
easeIn: "ease-in",
|
@@ -3990,7 +3990,7 @@ const ve = ([t, e, n, i]) => `cubic-bezier(${t}, ${e}, ${n}, ${i})`, qn = {
|
|
3990
3990
|
};
|
3991
3991
|
function yo(t, e) {
|
3992
3992
|
if (t)
|
3993
|
-
return typeof t == "function" && an() ? mo(t, e) : Li(t) ? ve(t) : Array.isArray(t) ? t.map((n) => yo(n, e) ||
|
3993
|
+
return typeof t == "function" && an() ? mo(t, e) : Li(t) ? ve(t) : Array.isArray(t) ? t.map((n) => yo(n, e) || Yn.easeOut) : Yn[t];
|
3994
3994
|
}
|
3995
3995
|
const Tt = {
|
3996
3996
|
x: !1,
|
@@ -4415,7 +4415,7 @@ const Se = (t) => Math.round(t * 1e5) / 1e5, _i = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
|
|
4415
4415
|
function Ku(t) {
|
4416
4416
|
return t == null;
|
4417
4417
|
}
|
4418
|
-
const
|
4418
|
+
const qu = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Ni = (t, e) => (n) => !!(typeof n == "string" && qu.test(n) && n.startsWith(t) || e && !Ku(n) && Object.prototype.hasOwnProperty.call(n, e)), ko = (t, e, n) => (i) => {
|
4419
4419
|
if (typeof i != "string")
|
4420
4420
|
return i;
|
4421
4421
|
const [r, o, s, a] = i.match(_i);
|
@@ -4425,9 +4425,9 @@ const Yu = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
|
|
4425
4425
|
[n]: parseFloat(s),
|
4426
4426
|
alpha: a !== void 0 ? parseFloat(a) : 1
|
4427
4427
|
};
|
4428
|
-
},
|
4428
|
+
}, Yu = (t) => kt(0, 255, t), Mn = {
|
4429
4429
|
...pe,
|
4430
|
-
transform: (t) => Math.round(
|
4430
|
+
transform: (t) => Math.round(Yu(t))
|
4431
4431
|
}, Xt = {
|
4432
4432
|
test: /* @__PURE__ */ Ni("rgb", "red"),
|
4433
4433
|
parse: /* @__PURE__ */ ko("red", "green", "blue"),
|
@@ -4878,9 +4878,9 @@ function Ef(t, e) {
|
|
4878
4878
|
return (n) => H(t, e, n);
|
4879
4879
|
}
|
4880
4880
|
function Wi(t) {
|
4881
|
-
return typeof t == "number" ? Ef : typeof t == "string" ? wi(t) ? cn : et.test(t) ? Dr : Df : Array.isArray(t) ?
|
4881
|
+
return typeof t == "number" ? Ef : typeof t == "string" ? wi(t) ? cn : et.test(t) ? Dr : Df : Array.isArray(t) ? qo : typeof t == "object" ? et.test(t) ? Dr : Rf : cn;
|
4882
4882
|
}
|
4883
|
-
function
|
4883
|
+
function qo(t, e) {
|
4884
4884
|
const n = [...t], i = n.length, r = t.map((o, s) => Wi(o)(o, e[s]));
|
4885
4885
|
return (o) => {
|
4886
4886
|
for (let s = 0; s < i; s++)
|
@@ -4909,9 +4909,9 @@ function Mf(t, e) {
|
|
4909
4909
|
}
|
4910
4910
|
const Df = (t, e) => {
|
4911
4911
|
const n = Ut.createTransformer(e), i = Fe(t), r = Fe(e);
|
4912
|
-
return i.indexes.var.length === r.indexes.var.length && i.indexes.color.length === r.indexes.color.length && i.indexes.number.length >= r.indexes.number.length ? ei.has(t) && !r.values.length || ei.has(e) && !i.values.length ? Vf(t, e) : _e(
|
4912
|
+
return i.indexes.var.length === r.indexes.var.length && i.indexes.color.length === r.indexes.color.length && i.indexes.number.length >= r.indexes.number.length ? ei.has(t) && !r.values.length || ei.has(e) && !i.values.length ? Vf(t, e) : _e(qo(Mf(i, r), r.values), n) : (de(!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.`), cn(t, e));
|
4913
4913
|
};
|
4914
|
-
function
|
4914
|
+
function Yo(t, e, n) {
|
4915
4915
|
return typeof t == "number" && typeof e == "number" && typeof n == "number" ? H(t, e, n) : Wi(t)(t, e);
|
4916
4916
|
}
|
4917
4917
|
const Lf = 5;
|
@@ -5066,7 +5066,7 @@ function Zo(t = W.visualDuration, e = W.bounce) {
|
|
5066
5066
|
return a.value = a.done ? s : E, a;
|
5067
5067
|
},
|
5068
5068
|
toString: () => {
|
5069
|
-
const m = Math.min(po(A),
|
5069
|
+
const m = Math.min(po(A), qn), E = mo((M) => A.next(m * M).value, m, 30);
|
5070
5070
|
return m + "ms " + E;
|
5071
5071
|
}
|
5072
5072
|
};
|
@@ -5126,7 +5126,7 @@ const jf = /* @__PURE__ */ je(0.42, 0, 1, 1), _f = /* @__PURE__ */ je(0, 0, 0.58
|
|
5126
5126
|
return t;
|
5127
5127
|
};
|
5128
5128
|
function Uf(t, e, n) {
|
5129
|
-
const i = [], r = n ||
|
5129
|
+
const i = [], r = n || Yo, o = t.length - 1;
|
5130
5130
|
for (let s = 0; s < o; s++) {
|
5131
5131
|
let a = r(t[s], t[s + 1]);
|
5132
5132
|
if (e) {
|
@@ -5191,7 +5191,7 @@ function Te({ duration: t = 300, keyframes: e, times: n, ease: i = "easeInOut" }
|
|
5191
5191
|
next: (l) => (o.value = a(l), o.done = l >= t, o)
|
5192
5192
|
};
|
5193
5193
|
}
|
5194
|
-
const
|
5194
|
+
const qf = (t) => {
|
5195
5195
|
const e = ({ timestamp: n }) => t(n);
|
5196
5196
|
return {
|
5197
5197
|
start: () => N.update(e, !0),
|
@@ -5202,7 +5202,7 @@ const Yf = (t) => {
|
|
5202
5202
|
*/
|
5203
5203
|
now: () => Z.isProcessing ? Z.timestamp : Mt.now()
|
5204
5204
|
};
|
5205
|
-
},
|
5205
|
+
}, Yf = {
|
5206
5206
|
decay: kr,
|
5207
5207
|
inertia: kr,
|
5208
5208
|
tween: Te,
|
@@ -5225,9 +5225,9 @@ class Hi extends Ko {
|
|
5225
5225
|
super.flatten(), this._resolved && Object.assign(this._resolved, this.initPlayback(this._resolved.keyframes));
|
5226
5226
|
}
|
5227
5227
|
initPlayback(e) {
|
5228
|
-
const { type: n = "keyframes", repeat: i = 0, repeatDelay: r = 0, repeatType: o, velocity: s = 0 } = this.options, a = Di(n) ? n :
|
5228
|
+
const { type: n = "keyframes", repeat: i = 0, repeatDelay: r = 0, repeatType: o, velocity: s = 0 } = this.options, a = Di(n) ? n : Yf[n] || Te;
|
5229
5229
|
let l, c;
|
5230
|
-
process.env.NODE_ENV !== "production" && a !== Te && Dt(e.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`), a !== Te && typeof e[0] != "number" && (l = _e(Xf,
|
5230
|
+
process.env.NODE_ENV !== "production" && a !== Te && Dt(e.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`), a !== Te && typeof e[0] != "number" && (l = _e(Xf, Yo(e[0], e[1])), e = [0, 100]);
|
5231
5231
|
const u = a({ ...this.options, keyframes: e });
|
5232
5232
|
o === "mirror" && (c = a({
|
5233
5233
|
...this.options,
|
@@ -5298,7 +5298,7 @@ class Hi extends Ko {
|
|
5298
5298
|
}
|
5299
5299
|
if (this.isStopped)
|
5300
5300
|
return;
|
5301
|
-
const { driver: e =
|
5301
|
+
const { driver: e = qf, onPlay: n, startTime: i } = this.options;
|
5302
5302
|
this.driver || (this.driver = e((o) => this.tick(o))), n && n();
|
5303
5303
|
const r = this.driver.now();
|
5304
5304
|
this.holdTime !== null ? this.startTime = r - this.holdTime : this.startTime ? this.state === "finished" && (this.startTime = r) : this.startTime = i ?? this.calcStartTime(), this.state === "finished" && this.updateFinishedPromise(), this.cancelTime = this.startTime, this.holdTime = null, this.state = "running", this.driver.start();
|
@@ -5738,7 +5738,7 @@ function yd(t) {
|
|
5738
5738
|
const { prevResolvedValues: O = {} } = S, z = {
|
5739
5739
|
...O,
|
5740
5740
|
...C
|
5741
|
-
},
|
5741
|
+
}, Y = (k) => {
|
5742
5742
|
y = !0, d.has(k) && (b = !0, d.delete(k)), S.needsAnimating[k] = !0;
|
5743
5743
|
const _ = t.getValue(k);
|
5744
5744
|
_ && (_.liveStyle = !1);
|
@@ -5748,7 +5748,7 @@ function yd(t) {
|
|
5748
5748
|
if (h.hasOwnProperty(k))
|
5749
5749
|
continue;
|
5750
5750
|
let it = !1;
|
5751
|
-
Kn(_) && Kn(lt) ? it = !na(_, lt) : it = _ !== lt, it ? _ != null ?
|
5751
|
+
Kn(_) && Kn(lt) ? it = !na(_, lt) : it = _ !== lt, it ? _ != null ? Y(k) : d.add(k) : _ !== void 0 && d.has(k) ? Y(k) : S.protectedKeys[k] = !0;
|
5752
5752
|
}
|
5753
5753
|
S.prevProp = T, S.prevResolvedValues = C, S.isActive && (h = { ...h, ...C }), i && t.blockInitialAnimation && (y = !1), y && (!(E && M) || b) && f.push(...x.map((k) => ({
|
5754
5754
|
animation: k,
|
@@ -5961,7 +5961,7 @@ function On(t) {
|
|
5961
5961
|
function ri({ scale: t, scaleX: e, scaleY: n }) {
|
5962
5962
|
return !On(t) || !On(e) || !On(n);
|
5963
5963
|
}
|
5964
|
-
function
|
5964
|
+
function qt(t) {
|
5965
5965
|
return ri(t) || aa(t) || t.z || t.rotate || t.rotateX || t.rotateY || t.skewX || t.skewY;
|
5966
5966
|
}
|
5967
5967
|
function aa(t) {
|
@@ -5996,19 +5996,19 @@ function Ld(t, e, n, i = !1) {
|
|
5996
5996
|
l && l.props.style && l.props.style.display === "contents" || (i && o.options.layoutScroll && o.scroll && o !== o.root && re(t, {
|
5997
5997
|
x: -o.scroll.offset.x,
|
5998
5998
|
y: -o.scroll.offset.y
|
5999
|
-
}), s && (e.x *= s.x.scale, e.y *= s.y.scale, la(t, s)), i &&
|
5999
|
+
}), s && (e.x *= s.x.scale, e.y *= s.y.scale, la(t, s)), i && qt(o.latestValues) && re(t, o.latestValues));
|
6000
6000
|
}
|
6001
6001
|
e.x < Kr && e.x > Gr && (e.x = 1), e.y < Kr && e.y > Gr && (e.y = 1);
|
6002
6002
|
}
|
6003
6003
|
function ie(t, e) {
|
6004
6004
|
t.min = t.min + e, t.max = t.max + e;
|
6005
6005
|
}
|
6006
|
-
function
|
6006
|
+
function qr(t, e, n, i, r = 0.5) {
|
6007
6007
|
const o = H(t.min, t.max, r);
|
6008
6008
|
si(t, e, n, o, i);
|
6009
6009
|
}
|
6010
6010
|
function re(t, e) {
|
6011
|
-
|
6011
|
+
qr(t.x, e.x, e.scaleX, e.scale, e.originX), qr(t.y, e.y, e.scaleY, e.scale, e.originY);
|
6012
6012
|
}
|
6013
6013
|
function ca(t, e) {
|
6014
6014
|
return ra(Pd(t.getBoundingClientRect(), e));
|
@@ -6017,9 +6017,9 @@ function Od(t, e, n) {
|
|
6017
6017
|
const i = ca(t, n), { scroll: r } = e;
|
6018
6018
|
return r && (ie(i.x, r.offset.x), ie(i.y, r.offset.y)), i;
|
6019
6019
|
}
|
6020
|
-
const
|
6020
|
+
const Yr = (t, e) => Math.abs(t - e);
|
6021
6021
|
function kd(t, e) {
|
6022
|
-
const n =
|
6022
|
+
const n = Yr(t.x, e.x), i = Yr(t.y, e.y);
|
6023
6023
|
return Math.sqrt(n ** 2 + i ** 2);
|
6024
6024
|
}
|
6025
6025
|
class ua {
|
@@ -6456,7 +6456,7 @@ const ye = {
|
|
6456
6456
|
const n = ns(t, e.target.x), i = ns(t, e.target.y);
|
6457
6457
|
return `${n}% ${i}%`;
|
6458
6458
|
}
|
6459
|
-
},
|
6459
|
+
}, qd = {
|
6460
6460
|
correct: (t, { treeScale: e, projectionDelta: n }) => {
|
6461
6461
|
const i = t, r = Ut.parse(t);
|
6462
6462
|
if (r.length > 5)
|
@@ -6467,7 +6467,7 @@ const ye = {
|
|
6467
6467
|
return typeof r[2 + s] == "number" && (r[2 + s] /= c), typeof r[3 + s] == "number" && (r[3 + s] /= c), o(r);
|
6468
6468
|
}
|
6469
6469
|
};
|
6470
|
-
class
|
6470
|
+
class Yd extends Ma {
|
6471
6471
|
/**
|
6472
6472
|
* This only mounts projection nodes for components that
|
6473
6473
|
* need measuring, we might want to do it for all components
|
@@ -6509,7 +6509,7 @@ class qd extends Ma {
|
|
6509
6509
|
}
|
6510
6510
|
function da(t) {
|
6511
6511
|
const [e, n] = Oc(), i = st(Hs);
|
6512
|
-
return Vs(
|
6512
|
+
return Vs(Yd, { ...t, layoutGroup: i, switchLayoutGroup: st(to), isPresent: e, safeToRemove: n });
|
6513
6513
|
}
|
6514
6514
|
const Xd = {
|
6515
6515
|
borderRadius: {
|
@@ -6525,7 +6525,7 @@ const Xd = {
|
|
6525
6525
|
borderTopRightRadius: ye,
|
6526
6526
|
borderBottomLeftRadius: ye,
|
6527
6527
|
borderBottomRightRadius: ye,
|
6528
|
-
boxShadow:
|
6528
|
+
boxShadow: qd
|
6529
6529
|
};
|
6530
6530
|
function Zd(t, e, n) {
|
6531
6531
|
const i = nt(t) ? t : ke(t);
|
@@ -6870,7 +6870,7 @@ function va({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
6870
6870
|
if (!r)
|
6871
6871
|
return;
|
6872
6872
|
const s = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, a = this.projectionDelta && !ma(this.projectionDelta), l = this.getTransformTemplate(), c = l ? l(this.latestValues, "") : void 0, u = c !== this.prevTransformTemplateValue;
|
6873
|
-
s && (a ||
|
6873
|
+
s && (a || qt(this.latestValues) || u) && (r(this.instance, c), this.shouldResetTransform = !1, this.scheduleRender());
|
6874
6874
|
}
|
6875
6875
|
measure(s = !0) {
|
6876
6876
|
const a = this.measurePageBox();
|
@@ -6914,22 +6914,22 @@ function va({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
6914
6914
|
!a && u.options.layoutScroll && u.scroll && u !== u.root && re(l, {
|
6915
6915
|
x: -u.scroll.offset.x,
|
6916
6916
|
y: -u.scroll.offset.y
|
6917
|
-
}),
|
6917
|
+
}), qt(u.latestValues) && re(l, u.latestValues);
|
6918
6918
|
}
|
6919
|
-
return
|
6919
|
+
return qt(this.latestValues) && re(l, this.latestValues), l;
|
6920
6920
|
}
|
6921
6921
|
removeTransform(s) {
|
6922
6922
|
const a = K();
|
6923
6923
|
vt(a, s);
|
6924
6924
|
for (let l = 0; l < this.path.length; l++) {
|
6925
6925
|
const c = this.path[l];
|
6926
|
-
if (!c.instance || !
|
6926
|
+
if (!c.instance || !qt(c.latestValues))
|
6927
6927
|
continue;
|
6928
6928
|
ri(c.latestValues) && c.updateSnapshot();
|
6929
6929
|
const u = K(), f = c.measurePageBox();
|
6930
6930
|
vt(u, f), us(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
|
6931
6931
|
}
|
6932
|
-
return
|
6932
|
+
return qt(this.latestValues) && us(a, this.latestValues), a;
|
6933
6933
|
}
|
6934
6934
|
setTargetDelta(s) {
|
6935
6935
|
this.targetDelta = s, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
|
@@ -7124,7 +7124,7 @@ function va({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
7124
7124
|
const f = this.getLead();
|
7125
7125
|
if (!this.projectionDelta || !this.layout || !f.target) {
|
7126
7126
|
const g = {};
|
7127
|
-
return this.options.layoutId && (g.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, g.pointerEvents = Je(s == null ? void 0 : s.pointerEvents) || ""), this.hasProjected && !
|
7127
|
+
return this.options.layoutId && (g.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, g.pointerEvents = Je(s == null ? void 0 : s.pointerEvents) || ""), this.hasProjected && !qt(this.latestValues) && (g.transform = u ? u({}, "") : "none", this.hasProjected = !1), g;
|
7128
7128
|
}
|
7129
7129
|
const d = f.animationValues || f.latestValues;
|
7130
7130
|
this.applyTransformsToTarget(), c.transform = fh(this.projectionDeltaWithTransform, this.treeScale, d), u && (c.transform = u(d, c.transform));
|
@@ -7437,7 +7437,7 @@ function Wh() {
|
|
7437
7437
|
li.current = !1;
|
7438
7438
|
}
|
7439
7439
|
const Hh = [...Ho, et, Ut], Gh = (t) => Hh.find(Wo(t)), Kh = /* @__PURE__ */ new WeakMap();
|
7440
|
-
function
|
7440
|
+
function qh(t, e, n) {
|
7441
7441
|
for (const i in e) {
|
7442
7442
|
const r = e[i], o = n[i];
|
7443
7443
|
if (nt(r))
|
@@ -7466,7 +7466,7 @@ const As = [
|
|
7466
7466
|
"LayoutAnimationStart",
|
7467
7467
|
"LayoutAnimationComplete"
|
7468
7468
|
];
|
7469
|
-
class
|
7469
|
+
class Yh {
|
7470
7470
|
/**
|
7471
7471
|
* This method takes React props and returns found MotionValues. For example, HTML
|
7472
7472
|
* MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.
|
@@ -7562,7 +7562,7 @@ class qh {
|
|
7562
7562
|
const o = "on" + r, s = e[o];
|
7563
7563
|
s && (this.propEventSubscriptions[r] = this.on(r, s));
|
7564
7564
|
}
|
7565
|
-
this.prevMotionValues =
|
7565
|
+
this.prevMotionValues = qh(this, this.scrapeMotionValuesFromProps(e, this.prevProps, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue(), this.onUpdate && this.onUpdate(this);
|
7566
7566
|
}
|
7567
7567
|
getProps() {
|
7568
7568
|
return this.props;
|
@@ -7661,7 +7661,7 @@ class qh {
|
|
7661
7661
|
this.events[e] && this.events[e].notify(...n);
|
7662
7662
|
}
|
7663
7663
|
}
|
7664
|
-
class Sa extends
|
7664
|
+
class Sa extends Yh {
|
7665
7665
|
constructor() {
|
7666
7666
|
super(...arguments), this.KeyframeResolver = Go;
|
7667
7667
|
}
|
@@ -7801,7 +7801,7 @@ function rp() {
|
|
7801
7801
|
}
|
7802
7802
|
function sp() {
|
7803
7803
|
const t = Gs(rp);
|
7804
|
-
return
|
7804
|
+
return qs(t.mount, []), t;
|
7805
7805
|
}
|
7806
7806
|
const op = sp, ap = {
|
7807
7807
|
some: 0,
|
@@ -7842,12 +7842,12 @@ function up() {
|
|
7842
7842
|
return ot(() => {
|
7843
7843
|
function i() {
|
7844
7844
|
const r = window.innerWidth;
|
7845
|
-
r >=
|
7845
|
+
r >= Yt["2xl"] ? e("2xl") : r >= Yt.xl ? e("xl") : r >= Yt.lg ? e("lg") : r >= Yt.md ? e("md") : r >= Yt.sm ? e("sm") : e("mobile");
|
7846
7846
|
}
|
7847
7847
|
return i(), window.addEventListener("resize", i), () => window.removeEventListener("resize", i);
|
7848
7848
|
}, []), ["mobile", "sm", "md", "lg", "xl", "2xl"].indexOf(t);
|
7849
7849
|
}
|
7850
|
-
var fp = "var(--jqc4y00)", dp = "var(--jqc4y01)", hp = "var(--jqc4y02)", pp = "var(--jqc4y03)", mp = "var(--jqc4y04)", gp = "var(--jqc4y05)", yp = "var(--jqc4y06)", vp = "var(--jqc4y07)", xp = "var(--jqc4y08)", bp = "var(--jqc4y09)", om = "
|
7850
|
+
var fp = "var(--jqc4y00)", dp = "var(--jqc4y01)", hp = "var(--jqc4y02)", pp = "var(--jqc4y03)", mp = "var(--jqc4y04)", gp = "var(--jqc4y05)", yp = "var(--jqc4y06)", vp = "var(--jqc4y07)", xp = "var(--jqc4y08)", bp = "var(--jqc4y09)", om = { width: "100%", display: "flex", alignItems: "center", position: "relative", flexDirection: "column", animation: "background 0.5s ease-in-out", color: "var(--jqc4y02)", zIndex: "var(--jqc4y01)", minHeight: "var(--jqc4y07)", paddingTop: "var(--jqc4y03)", paddingLeft: "var(--jqc4y04)", paddingRight: "var(--jqc4y05)", paddingBottom: "var(--jqc4y06)", background: "var(--jqc4y09)", justifyContent: "var(--jqc4y08)" }, wp = "jqc4y0b", en = /* @__PURE__ */ ((t) => (t[t.Center = 0] = "Center", t[t.Left = 1] = "Left", t[t.Right = 2] = "Right", t))(en || {});
|
7851
7851
|
const Sp = {
|
7852
7852
|
hidden: {
|
7853
7853
|
opacity: 0
|
@@ -8374,7 +8374,7 @@ export {
|
|
8374
8374
|
Wn as ButtonStyle,
|
8375
8375
|
zs as ButtonType,
|
8376
8376
|
zn as ButtonVariant,
|
8377
|
-
|
8377
|
+
Yp as Carousel,
|
8378
8378
|
im as Columns,
|
8379
8379
|
we as ColumnsAlign,
|
8380
8380
|
pm as ConsentCookie,
|
@@ -8387,7 +8387,7 @@ export {
|
|
8387
8387
|
Ki as InputType,
|
8388
8388
|
Xp as KeyNumber,
|
8389
8389
|
Jp as LanguageSwitcher,
|
8390
|
-
|
8390
|
+
qp as Logo,
|
8391
8391
|
tm as Main,
|
8392
8392
|
Qp as MainStyles,
|
8393
8393
|
Kp as Modal,
|
@@ -8402,6 +8402,6 @@ export {
|
|
8402
8402
|
Lp as TextFieldLabel,
|
8403
8403
|
Bp as TextFieldTextarea,
|
8404
8404
|
Ta as TextareaType,
|
8405
|
-
|
8405
|
+
ql as Video,
|
8406
8406
|
Zp as VideoFullWidth
|
8407
8407
|
};
|