@gardenfi/garden-book 0.1.98 → 0.1.100
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/components/atoms/Container/Container.d.ts +13 -0
- package/dist/components/atoms/Container/Container.stories.d.ts +7 -0
- package/dist/components/atoms/Icons/APIIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/BlogIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/BrandKitIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/CodeBlockIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/ConsoleIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/CopyrightsIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/DiscordIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/DraftIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/OtterSecIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/SDKIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/StakeIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/XIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/XSolidIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/ZellicIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/index.d.ts +14 -0
- package/dist/components/atoms/index.d.ts +2 -1
- package/dist/style.css +1 -1
- package/dist/ui.cjs.js +7 -7
- package/dist/ui.es.js +839 -408
- package/dist/ui.umd.js +7 -7
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -371,7 +371,7 @@ function isImage(e) {
|
|
|
371
371
|
return imageRegex.test(e);
|
|
372
372
|
}
|
|
373
373
|
function getDefaultConfig() {
|
|
374
|
-
const e = fromTheme("colors"), t = fromTheme("spacing"), i = fromTheme("blur"), n = fromTheme("brightness"), s = fromTheme("borderColor"), a = fromTheme("borderRadius"), o = fromTheme("borderSpacing"), l = fromTheme("borderWidth"), c = fromTheme("contrast"), f = fromTheme("grayscale"), u = fromTheme("hueRotate"), p = fromTheme("invert"), d = fromTheme("gap"), b = fromTheme("gradientColorStops"), C = fromTheme("gradientColorStopPositions"), g = fromTheme("inset"), E = fromTheme("margin"), m = fromTheme("opacity"), x = fromTheme("padding"), y = fromTheme("saturate"), S = fromTheme("scale"), T = fromTheme("sepia"), M = fromTheme("skew"), L = fromTheme("space"), V = fromTheme("translate"), k = () => ["auto", "contain", "none"], U = () => ["auto", "hidden", "clip", "visible", "scroll"],
|
|
374
|
+
const e = fromTheme("colors"), t = fromTheme("spacing"), i = fromTheme("blur"), n = fromTheme("brightness"), s = fromTheme("borderColor"), a = fromTheme("borderRadius"), o = fromTheme("borderSpacing"), l = fromTheme("borderWidth"), c = fromTheme("contrast"), f = fromTheme("grayscale"), u = fromTheme("hueRotate"), p = fromTheme("invert"), d = fromTheme("gap"), b = fromTheme("gradientColorStops"), C = fromTheme("gradientColorStopPositions"), g = fromTheme("inset"), E = fromTheme("margin"), m = fromTheme("opacity"), x = fromTheme("padding"), y = fromTheme("saturate"), S = fromTheme("scale"), T = fromTheme("sepia"), M = fromTheme("skew"), L = fromTheme("space"), V = fromTheme("translate"), k = () => ["auto", "contain", "none"], U = () => ["auto", "hidden", "clip", "visible", "scroll"], z = () => ["auto", isArbitraryValue, t], B = () => [isArbitraryValue, t], G = () => ["", isLength, isArbitraryLength], q = () => ["auto", isNumber, isArbitraryValue], H = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], _ = () => ["solid", "dashed", "dotted", "double", "none"], R = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], A = () => ["", "0", isArbitraryValue], F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], I = () => [isNumber, isArbitraryNumber], W = () => [isNumber, isArbitraryValue];
|
|
375
375
|
return {
|
|
376
376
|
cacheSize: 500,
|
|
377
377
|
separator: ":",
|
|
@@ -383,7 +383,7 @@ function getDefaultConfig() {
|
|
|
383
383
|
borderColor: [e],
|
|
384
384
|
borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
|
|
385
385
|
borderSpacing: B(),
|
|
386
|
-
borderWidth:
|
|
386
|
+
borderWidth: G(),
|
|
387
387
|
contrast: I(),
|
|
388
388
|
grayscale: A(),
|
|
389
389
|
hueRotate: W(),
|
|
@@ -391,8 +391,8 @@ function getDefaultConfig() {
|
|
|
391
391
|
gap: B(),
|
|
392
392
|
gradientColorStops: [e],
|
|
393
393
|
gradientColorStopPositions: [isPercent, isArbitraryLength],
|
|
394
|
-
inset:
|
|
395
|
-
margin:
|
|
394
|
+
inset: z(),
|
|
395
|
+
margin: z(),
|
|
396
396
|
opacity: I(),
|
|
397
397
|
padding: B(),
|
|
398
398
|
saturate: I(),
|
|
@@ -494,7 +494,7 @@ function getDefaultConfig() {
|
|
|
494
494
|
* @see https://tailwindcss.com/docs/object-position
|
|
495
495
|
*/
|
|
496
496
|
"object-position": [{
|
|
497
|
-
object: [...
|
|
497
|
+
object: [...H(), isArbitraryValue]
|
|
498
498
|
}],
|
|
499
499
|
/**
|
|
500
500
|
* Overflow
|
|
@@ -624,7 +624,7 @@ function getDefaultConfig() {
|
|
|
624
624
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
625
625
|
*/
|
|
626
626
|
basis: [{
|
|
627
|
-
basis:
|
|
627
|
+
basis: z()
|
|
628
628
|
}],
|
|
629
629
|
/**
|
|
630
630
|
* Flex Direction
|
|
@@ -1303,7 +1303,7 @@ function getDefaultConfig() {
|
|
|
1303
1303
|
* @see https://tailwindcss.com/docs/background-position
|
|
1304
1304
|
*/
|
|
1305
1305
|
"bg-position": [{
|
|
1306
|
-
bg: [...
|
|
1306
|
+
bg: [...H(), isArbitraryPosition]
|
|
1307
1307
|
}],
|
|
1308
1308
|
/**
|
|
1309
1309
|
* Background Repeat
|
|
@@ -1689,7 +1689,7 @@ function getDefaultConfig() {
|
|
|
1689
1689
|
* @see https://tailwindcss.com/docs/ring-width
|
|
1690
1690
|
*/
|
|
1691
1691
|
"ring-w": [{
|
|
1692
|
-
ring:
|
|
1692
|
+
ring: G()
|
|
1693
1693
|
}],
|
|
1694
1694
|
/**
|
|
1695
1695
|
* Ring Width Inset
|
|
@@ -2688,10 +2688,10 @@ var lottie$1 = { exports: {} };
|
|
|
2688
2688
|
function l() {
|
|
2689
2689
|
n || (n = o(function(b) {
|
|
2690
2690
|
function C() {
|
|
2691
|
-
function E(
|
|
2692
|
-
var R, P, A =
|
|
2691
|
+
function E(H, _) {
|
|
2692
|
+
var R, P, A = H.length, F, I, W, K;
|
|
2693
2693
|
for (P = 0; P < A; P += 1)
|
|
2694
|
-
if (R =
|
|
2694
|
+
if (R = H[P], "ks" in R && !R.completed) {
|
|
2695
2695
|
if (R.completed = !0, R.hasMask) {
|
|
2696
2696
|
var X = R.masksProperties;
|
|
2697
2697
|
for (I = X.length, F = 0; F < I; F += 1)
|
|
@@ -2701,50 +2701,50 @@ var lottie$1 = { exports: {} };
|
|
|
2701
2701
|
for (K = X[F].pt.k.length, W = 0; W < K; W += 1)
|
|
2702
2702
|
X[F].pt.k[W].s && T(X[F].pt.k[W].s[0]), X[F].pt.k[W].e && T(X[F].pt.k[W].e[0]);
|
|
2703
2703
|
}
|
|
2704
|
-
R.ty === 0 ? (R.layers = y(R.refId, _), E(R.layers, _)) : R.ty === 4 ? S(R.shapes) : R.ty === 5 &&
|
|
2704
|
+
R.ty === 0 ? (R.layers = y(R.refId, _), E(R.layers, _)) : R.ty === 4 ? S(R.shapes) : R.ty === 5 && G(R);
|
|
2705
2705
|
}
|
|
2706
2706
|
}
|
|
2707
|
-
function m(
|
|
2708
|
-
if (
|
|
2709
|
-
var R = 0, P =
|
|
2707
|
+
function m(H, _) {
|
|
2708
|
+
if (H) {
|
|
2709
|
+
var R = 0, P = H.length;
|
|
2710
2710
|
for (R = 0; R < P; R += 1)
|
|
2711
|
-
|
|
2711
|
+
H[R].t === 1 && (H[R].data.layers = y(H[R].data.refId, _), E(H[R].data.layers, _));
|
|
2712
2712
|
}
|
|
2713
2713
|
}
|
|
2714
|
-
function x(
|
|
2714
|
+
function x(H, _) {
|
|
2715
2715
|
for (var R = 0, P = _.length; R < P; ) {
|
|
2716
|
-
if (_[R].id ===
|
|
2716
|
+
if (_[R].id === H)
|
|
2717
2717
|
return _[R];
|
|
2718
2718
|
R += 1;
|
|
2719
2719
|
}
|
|
2720
2720
|
return null;
|
|
2721
2721
|
}
|
|
2722
|
-
function y(
|
|
2723
|
-
var R = x(
|
|
2722
|
+
function y(H, _) {
|
|
2723
|
+
var R = x(H, _);
|
|
2724
2724
|
return R ? R.layers.__used ? JSON.parse(JSON.stringify(R.layers)) : (R.layers.__used = !0, R.layers) : null;
|
|
2725
2725
|
}
|
|
2726
|
-
function S(
|
|
2727
|
-
var _, R =
|
|
2726
|
+
function S(H) {
|
|
2727
|
+
var _, R = H.length, P, A;
|
|
2728
2728
|
for (_ = R - 1; _ >= 0; _ -= 1)
|
|
2729
|
-
if (
|
|
2730
|
-
if (
|
|
2731
|
-
T(
|
|
2729
|
+
if (H[_].ty === "sh")
|
|
2730
|
+
if (H[_].ks.k.i)
|
|
2731
|
+
T(H[_].ks.k);
|
|
2732
2732
|
else
|
|
2733
|
-
for (A =
|
|
2734
|
-
|
|
2735
|
-
else
|
|
2733
|
+
for (A = H[_].ks.k.length, P = 0; P < A; P += 1)
|
|
2734
|
+
H[_].ks.k[P].s && T(H[_].ks.k[P].s[0]), H[_].ks.k[P].e && T(H[_].ks.k[P].e[0]);
|
|
2735
|
+
else H[_].ty === "gr" && S(H[_].it);
|
|
2736
2736
|
}
|
|
2737
|
-
function T(
|
|
2738
|
-
var _, R =
|
|
2737
|
+
function T(H) {
|
|
2738
|
+
var _, R = H.i.length;
|
|
2739
2739
|
for (_ = 0; _ < R; _ += 1)
|
|
2740
|
-
|
|
2740
|
+
H.i[_][0] += H.v[_][0], H.i[_][1] += H.v[_][1], H.o[_][0] += H.v[_][0], H.o[_][1] += H.v[_][1];
|
|
2741
2741
|
}
|
|
2742
|
-
function M(
|
|
2742
|
+
function M(H, _) {
|
|
2743
2743
|
var R = _ ? _.split(".") : [100, 100, 100];
|
|
2744
|
-
return
|
|
2744
|
+
return H[0] > R[0] ? !0 : R[0] > H[0] ? !1 : H[1] > R[1] ? !0 : R[1] > H[1] ? !1 : H[2] > R[2] ? !0 : R[2] > H[2] ? !1 : null;
|
|
2745
2745
|
}
|
|
2746
2746
|
var L = /* @__PURE__ */ function() {
|
|
2747
|
-
var
|
|
2747
|
+
var H = [4, 4, 14];
|
|
2748
2748
|
function _(P) {
|
|
2749
2749
|
var A = P.t.d;
|
|
2750
2750
|
P.t.d = {
|
|
@@ -2760,16 +2760,16 @@ var lottie$1 = { exports: {} };
|
|
|
2760
2760
|
P[A].ty === 5 && _(P[A]);
|
|
2761
2761
|
}
|
|
2762
2762
|
return function(P) {
|
|
2763
|
-
if (M(
|
|
2763
|
+
if (M(H, P.v) && (R(P.layers), P.assets)) {
|
|
2764
2764
|
var A, F = P.assets.length;
|
|
2765
2765
|
for (A = 0; A < F; A += 1)
|
|
2766
2766
|
P.assets[A].layers && R(P.assets[A].layers);
|
|
2767
2767
|
}
|
|
2768
2768
|
};
|
|
2769
2769
|
}(), V = /* @__PURE__ */ function() {
|
|
2770
|
-
var
|
|
2770
|
+
var H = [4, 7, 99];
|
|
2771
2771
|
return function(_) {
|
|
2772
|
-
if (_.chars && !M(
|
|
2772
|
+
if (_.chars && !M(H, _.v)) {
|
|
2773
2773
|
var R, P = _.chars.length;
|
|
2774
2774
|
for (R = 0; R < P; R += 1) {
|
|
2775
2775
|
var A = _.chars[R];
|
|
@@ -2831,7 +2831,7 @@ var lottie$1 = { exports: {} };
|
|
|
2831
2831
|
}
|
|
2832
2832
|
};
|
|
2833
2833
|
}(), k = /* @__PURE__ */ function() {
|
|
2834
|
-
var
|
|
2834
|
+
var H = [5, 7, 15];
|
|
2835
2835
|
function _(P) {
|
|
2836
2836
|
var A = P.t.p;
|
|
2837
2837
|
typeof A.a == "number" && (A.a = {
|
|
@@ -2851,14 +2851,14 @@ var lottie$1 = { exports: {} };
|
|
|
2851
2851
|
P[A].ty === 5 && _(P[A]);
|
|
2852
2852
|
}
|
|
2853
2853
|
return function(P) {
|
|
2854
|
-
if (M(
|
|
2854
|
+
if (M(H, P.v) && (R(P.layers), P.assets)) {
|
|
2855
2855
|
var A, F = P.assets.length;
|
|
2856
2856
|
for (A = 0; A < F; A += 1)
|
|
2857
2857
|
P.assets[A].layers && R(P.assets[A].layers);
|
|
2858
2858
|
}
|
|
2859
2859
|
};
|
|
2860
2860
|
}(), U = /* @__PURE__ */ function() {
|
|
2861
|
-
var
|
|
2861
|
+
var H = [4, 1, 9];
|
|
2862
2862
|
function _(P) {
|
|
2863
2863
|
var A, F = P.length, I, W;
|
|
2864
2864
|
for (A = 0; A < F; A += 1)
|
|
@@ -2877,14 +2877,14 @@ var lottie$1 = { exports: {} };
|
|
|
2877
2877
|
P[A].ty === 4 && _(P[A].shapes);
|
|
2878
2878
|
}
|
|
2879
2879
|
return function(P) {
|
|
2880
|
-
if (M(
|
|
2880
|
+
if (M(H, P.v) && (R(P.layers), P.assets)) {
|
|
2881
2881
|
var A, F = P.assets.length;
|
|
2882
2882
|
for (A = 0; A < F; A += 1)
|
|
2883
2883
|
P.assets[A].layers && R(P.assets[A].layers);
|
|
2884
2884
|
}
|
|
2885
2885
|
};
|
|
2886
|
-
}(),
|
|
2887
|
-
var
|
|
2886
|
+
}(), z = /* @__PURE__ */ function() {
|
|
2887
|
+
var H = [4, 4, 18];
|
|
2888
2888
|
function _(P) {
|
|
2889
2889
|
var A, F = P.length, I, W;
|
|
2890
2890
|
for (A = F - 1; A >= 0; A -= 1)
|
|
@@ -2912,21 +2912,21 @@ var lottie$1 = { exports: {} };
|
|
|
2912
2912
|
}
|
|
2913
2913
|
}
|
|
2914
2914
|
return function(P) {
|
|
2915
|
-
if (M(
|
|
2915
|
+
if (M(H, P.v) && (R(P.layers), P.assets)) {
|
|
2916
2916
|
var A, F = P.assets.length;
|
|
2917
2917
|
for (A = 0; A < F; A += 1)
|
|
2918
2918
|
P.assets[A].layers && R(P.assets[A].layers);
|
|
2919
2919
|
}
|
|
2920
2920
|
};
|
|
2921
2921
|
}();
|
|
2922
|
-
function B(
|
|
2923
|
-
|
|
2922
|
+
function B(H) {
|
|
2923
|
+
H.__complete || (U(H), L(H), V(H), k(H), z(H), E(H.layers, H.assets), m(H.chars, H.assets), H.__complete = !0);
|
|
2924
2924
|
}
|
|
2925
|
-
function
|
|
2926
|
-
|
|
2925
|
+
function G(H) {
|
|
2926
|
+
H.t.a.length === 0 && "m" in H.t.p;
|
|
2927
2927
|
}
|
|
2928
2928
|
var q = {};
|
|
2929
|
-
return q.completeData = B, q.checkColors = U, q.checkChars = V, q.checkPathProperties = k, q.checkShapes =
|
|
2929
|
+
return q.completeData = B, q.checkColors = U, q.checkChars = V, q.checkPathProperties = k, q.checkShapes = z, q.completeLayers = E, q;
|
|
2930
2930
|
}
|
|
2931
2931
|
if (a.dataManager || (a.dataManager = C()), a.assetLoader || (a.assetLoader = /* @__PURE__ */ function() {
|
|
2932
2932
|
function E(x) {
|
|
@@ -3581,13 +3581,13 @@ var lottie$1 = { exports: {} };
|
|
|
3581
3581
|
function U() {
|
|
3582
3582
|
!o && s && a && (window.requestAnimationFrame(x), a = !1);
|
|
3583
3583
|
}
|
|
3584
|
-
function
|
|
3584
|
+
function z() {
|
|
3585
3585
|
o = !0;
|
|
3586
3586
|
}
|
|
3587
3587
|
function B() {
|
|
3588
3588
|
o = !1, U();
|
|
3589
3589
|
}
|
|
3590
|
-
function
|
|
3590
|
+
function G(_, R) {
|
|
3591
3591
|
var P;
|
|
3592
3592
|
for (P = 0; P < n; P += 1)
|
|
3593
3593
|
t[P].animation.setVolume(_, R);
|
|
@@ -3597,12 +3597,12 @@ var lottie$1 = { exports: {} };
|
|
|
3597
3597
|
for (R = 0; R < n; R += 1)
|
|
3598
3598
|
t[R].animation.mute(_);
|
|
3599
3599
|
}
|
|
3600
|
-
function
|
|
3600
|
+
function H(_) {
|
|
3601
3601
|
var R;
|
|
3602
3602
|
for (R = 0; R < n; R += 1)
|
|
3603
3603
|
t[R].animation.unmute(_);
|
|
3604
3604
|
}
|
|
3605
|
-
return e.registerAnimation = c, e.loadAnimation = b, e.setSpeed = C, e.setDirection = g, e.play = E, e.pause = y, e.stop = T, e.togglePause = M, e.searchAnimations = V, e.resize = k, e.goToAndStop = S, e.destroy = L, e.freeze =
|
|
3605
|
+
return e.registerAnimation = c, e.loadAnimation = b, e.setSpeed = C, e.setDirection = g, e.play = E, e.pause = y, e.stop = T, e.togglePause = M, e.searchAnimations = V, e.resize = k, e.goToAndStop = S, e.destroy = L, e.freeze = z, e.unfreeze = B, e.setVolume = G, e.mute = q, e.unmute = H, e.getRegisteredAnimations = f, e;
|
|
3606
3606
|
}(), BezierFactory = function() {
|
|
3607
3607
|
var e = {};
|
|
3608
3608
|
e.getBezierEasing = i;
|
|
@@ -3670,8 +3670,8 @@ var lottie$1 = { exports: {} };
|
|
|
3670
3670
|
for (var S = this._p[0], T = this._p[2], M = this._mSampleValues, L = 0, V = 1, k = l - 1; V !== k && M[V] <= y; ++V)
|
|
3671
3671
|
L += c;
|
|
3672
3672
|
--V;
|
|
3673
|
-
var U = (y - M[V]) / (M[V + 1] - M[V]),
|
|
3674
|
-
return B >= s ? E(y,
|
|
3673
|
+
var U = (y - M[V]) / (M[V + 1] - M[V]), z = L + U * c, B = C(z, S, T);
|
|
3674
|
+
return B >= s ? E(y, z, S, T) : B === 0 ? z : g(y, L, L + c, S, T);
|
|
3675
3675
|
}
|
|
3676
3676
|
}, e;
|
|
3677
3677
|
}(), pooling = /* @__PURE__ */ function() {
|
|
@@ -3760,13 +3760,13 @@ var lottie$1 = { exports: {} };
|
|
|
3760
3760
|
return function(b, C, g, E) {
|
|
3761
3761
|
var m = (b[0] + "_" + b[1] + "_" + C[0] + "_" + C[1] + "_" + g[0] + "_" + g[1] + "_" + E[0] + "_" + E[1]).replace(/\./g, "p");
|
|
3762
3762
|
if (!d[m]) {
|
|
3763
|
-
var x = getDefaultCurveSegments(), y, S, T, M, L, V = 0, k, U,
|
|
3763
|
+
var x = getDefaultCurveSegments(), y, S, T, M, L, V = 0, k, U, z = null;
|
|
3764
3764
|
b.length === 2 && (b[0] !== C[0] || b[1] !== C[1]) && t(b[0], b[1], C[0], C[1], b[0] + g[0], b[1] + g[1]) && t(b[0], b[1], C[0], C[1], C[0] + E[0], C[1] + E[1]) && (x = 2);
|
|
3765
3765
|
var B = new a(x);
|
|
3766
3766
|
for (T = g.length, y = 0; y < x; y += 1) {
|
|
3767
3767
|
for (U = createSizedArray(T), L = y / (x - 1), k = 0, S = 0; S < T; S += 1)
|
|
3768
|
-
M = bmPow(1 - L, 3) * b[S] + 3 * bmPow(1 - L, 2) * L * (b[S] + g[S]) + 3 * (1 - L) * bmPow(L, 2) * (C[S] + E[S]) + bmPow(L, 3) * C[S], U[S] = M,
|
|
3769
|
-
k = bmSqrt(k), V += k, B.points[y] = new o(k, U),
|
|
3768
|
+
M = bmPow(1 - L, 3) * b[S] + 3 * bmPow(1 - L, 2) * L * (b[S] + g[S]) + 3 * (1 - L) * bmPow(L, 2) * (C[S] + E[S]) + bmPow(L, 3) * C[S], U[S] = M, z !== null && (k += bmPow(U[S] - z[S], 2));
|
|
3769
|
+
k = bmSqrt(k), V += k, B.points[y] = new o(k, U), z = U;
|
|
3770
3770
|
}
|
|
3771
3771
|
B.segmentLength = V, d[m] = B;
|
|
3772
3772
|
}
|
|
@@ -3794,9 +3794,9 @@ var lottie$1 = { exports: {} };
|
|
|
3794
3794
|
E < 0 ? E = 0 : E > 1 && (E = 1);
|
|
3795
3795
|
var y = c(E, x);
|
|
3796
3796
|
m = m > 1 ? 1 : m;
|
|
3797
|
-
var S = c(m, x), T, M = d.length, L = 1 - y, V = 1 - S, k = L * L * L, U = y * L * L * 3,
|
|
3797
|
+
var S = c(m, x), T, M = d.length, L = 1 - y, V = 1 - S, k = L * L * L, U = y * L * L * 3, z = y * y * L * 3, B = y * y * y, G = L * L * V, q = y * L * V + L * y * V + L * L * S, H = y * y * V + L * y * S + y * L * S, _ = y * y * S, R = L * V * V, P = y * V * V + L * S * V + L * V * S, A = y * S * V + L * S * S + y * V * S, F = y * S * S, I = V * V * V, W = S * V * V + V * S * V + V * V * S, K = S * S * V + V * S * S + S * V * S, X = S * S * S;
|
|
3798
3798
|
for (T = 0; T < M; T += 1)
|
|
3799
|
-
u[T * 4] = e.round((k * d[T] + U * C[T] +
|
|
3799
|
+
u[T * 4] = e.round((k * d[T] + U * C[T] + z * g[T] + B * b[T]) * 1e3) / 1e3, u[T * 4 + 1] = e.round((G * d[T] + q * C[T] + H * g[T] + _ * b[T]) * 1e3) / 1e3, u[T * 4 + 2] = e.round((R * d[T] + P * C[T] + A * g[T] + F * b[T]) * 1e3) / 1e3, u[T * 4 + 3] = e.round((I * d[T] + W * C[T] + K * g[T] + X * b[T]) * 1e3) / 1e3;
|
|
3800
3800
|
return u;
|
|
3801
3801
|
}
|
|
3802
3802
|
return {
|
|
@@ -3850,19 +3850,19 @@ var lottie$1 = { exports: {} };
|
|
|
3850
3850
|
t._lastPoint = g, t._lastAddedLength = V - S.points[g].partialLength, t._lastKeyframeIndex = a;
|
|
3851
3851
|
}
|
|
3852
3852
|
} else {
|
|
3853
|
-
var k, U,
|
|
3853
|
+
var k, U, z, B, G;
|
|
3854
3854
|
if (o = c.s.length, y = f.s || c.e, this.sh && c.h !== 1)
|
|
3855
3855
|
if (e >= m)
|
|
3856
3856
|
n[0] = y[0], n[1] = y[1], n[2] = y[2];
|
|
3857
3857
|
else if (e <= x)
|
|
3858
3858
|
n[0] = c.s[0], n[1] = c.s[1], n[2] = c.s[2];
|
|
3859
3859
|
else {
|
|
3860
|
-
var q = createQuaternion(c.s),
|
|
3861
|
-
quaternionToEuler(n, slerp(q,
|
|
3860
|
+
var q = createQuaternion(c.s), H = createQuaternion(y), _ = (e - x) / (m - x);
|
|
3861
|
+
quaternionToEuler(n, slerp(q, H, _));
|
|
3862
3862
|
}
|
|
3863
3863
|
else
|
|
3864
3864
|
for (a = 0; a < o; a += 1)
|
|
3865
|
-
c.h !== 1 && (e >= m ? b = 1 : e < x ? b = 0 : (c.o.x.constructor === Array ? (u.__fnct || (u.__fnct = []), u.__fnct[a] ? E = u.__fnct[a] : (k = c.o.x[a] === void 0 ? c.o.x[0] : c.o.x[a], U = c.o.y[a] === void 0 ? c.o.y[0] : c.o.y[a],
|
|
3865
|
+
c.h !== 1 && (e >= m ? b = 1 : e < x ? b = 0 : (c.o.x.constructor === Array ? (u.__fnct || (u.__fnct = []), u.__fnct[a] ? E = u.__fnct[a] : (k = c.o.x[a] === void 0 ? c.o.x[0] : c.o.x[a], U = c.o.y[a] === void 0 ? c.o.y[0] : c.o.y[a], z = c.i.x[a] === void 0 ? c.i.x[0] : c.i.x[a], B = c.i.y[a] === void 0 ? c.i.y[0] : c.i.y[a], E = BezierFactory.getBezierEasing(k, U, z, B).get, u.__fnct[a] = E)) : u.__fnct ? E = u.__fnct : (k = c.o.x, U = c.o.y, z = c.i.x, B = c.i.y, E = BezierFactory.getBezierEasing(k, U, z, B).get, c.keyframeMetadata = E), b = E((e - x) / (m - x)))), y = f.s || c.e, G = c.h === 1 ? c.s[a] : c.s[a] + (y[a] - c.s[a]) * b, this.propType === "multidimensional" ? n[a] = G : n = G;
|
|
3866
3866
|
}
|
|
3867
3867
|
return t.lastIndex = s, n;
|
|
3868
3868
|
}
|
|
@@ -4083,15 +4083,15 @@ var lottie$1 = { exports: {} };
|
|
|
4083
4083
|
}(), ShapePropertyFactory = function() {
|
|
4084
4084
|
var e = -999999;
|
|
4085
4085
|
function t(m, x, y) {
|
|
4086
|
-
var S = y.lastIndex, T, M, L, V, k, U,
|
|
4086
|
+
var S = y.lastIndex, T, M, L, V, k, U, z, B, G, q = this.keyframes;
|
|
4087
4087
|
if (m < q[0].t - this.offsetTime)
|
|
4088
4088
|
T = q[0].s[0], L = !0, S = 0;
|
|
4089
4089
|
else if (m >= q[q.length - 1].t - this.offsetTime)
|
|
4090
4090
|
T = q[q.length - 1].s ? q[q.length - 1].s[0] : q[q.length - 2].e[0], L = !0;
|
|
4091
4091
|
else {
|
|
4092
|
-
for (var
|
|
4093
|
-
|
|
4094
|
-
if (F = this.keyframesMetadata[
|
|
4092
|
+
for (var H = S, _ = q.length - 1, R = !0, P, A, F; R && (P = q[H], A = q[H + 1], !(A.t - this.offsetTime > m)); )
|
|
4093
|
+
H < _ - 1 ? H += 1 : R = !1;
|
|
4094
|
+
if (F = this.keyframesMetadata[H] || {}, L = P.h === 1, S = H, !L) {
|
|
4095
4095
|
if (m >= A.t - this.offsetTime)
|
|
4096
4096
|
B = 1;
|
|
4097
4097
|
else if (m < P.t - this.offsetTime)
|
|
@@ -4104,9 +4104,9 @@ var lottie$1 = { exports: {} };
|
|
|
4104
4104
|
}
|
|
4105
4105
|
T = P.s[0];
|
|
4106
4106
|
}
|
|
4107
|
-
for (U = x._length,
|
|
4108
|
-
for (k = 0; k <
|
|
4109
|
-
|
|
4107
|
+
for (U = x._length, z = T.i[0].length, y.lastIndex = S, V = 0; V < U; V += 1)
|
|
4108
|
+
for (k = 0; k < z; k += 1)
|
|
4109
|
+
G = L ? T.i[V][k] : T.i[V][k] + (M.i[V][k] - T.i[V][k]) * B, x.i[V][k] = G, G = L ? T.o[V][k] : T.o[V][k] + (M.o[V][k] - T.o[V][k]) * B, x.o[V][k] = G, G = L ? T.v[V][k] : T.v[V][k] + (M.v[V][k] - T.v[V][k]) * B, x.v[V][k] = G;
|
|
4110
4110
|
}
|
|
4111
4111
|
function i() {
|
|
4112
4112
|
var m = this.comp.renderedFrame - this.offsetTime, x = this.keyframes[0].t - this.offsetTime, y = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, S = this._caching.lastFrame;
|
|
@@ -4189,20 +4189,20 @@ var lottie$1 = { exports: {} };
|
|
|
4189
4189
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
|
|
4190
4190
|
},
|
|
4191
4191
|
convertStarToPath: function() {
|
|
4192
|
-
var y = Math.floor(this.pt.v) * 2, S = Math.PI * 2 / y, T = !0, M = this.or.v, L = this.ir.v, V = this.os.v, k = this.is.v, U = 2 * Math.PI * M / (y * 2),
|
|
4192
|
+
var y = Math.floor(this.pt.v) * 2, S = Math.PI * 2 / y, T = !0, M = this.or.v, L = this.ir.v, V = this.os.v, k = this.is.v, U = 2 * Math.PI * M / (y * 2), z = 2 * Math.PI * L / (y * 2), B, G, q, H, _ = -Math.PI / 2;
|
|
4193
4193
|
_ += this.r.v;
|
|
4194
4194
|
var R = this.data.d === 3 ? -1 : 1;
|
|
4195
4195
|
for (this.v._length = 0, B = 0; B < y; B += 1) {
|
|
4196
|
-
|
|
4197
|
-
var P =
|
|
4198
|
-
P += +this.p.v[0], A += +this.p.v[1], this.v.setTripleAt(P, A, P - F *
|
|
4196
|
+
G = T ? M : L, q = T ? V : k, H = T ? U : z;
|
|
4197
|
+
var P = G * Math.cos(_), A = G * Math.sin(_), F = P === 0 && A === 0 ? 0 : A / Math.sqrt(P * P + A * A), I = P === 0 && A === 0 ? 0 : -P / Math.sqrt(P * P + A * A);
|
|
4198
|
+
P += +this.p.v[0], A += +this.p.v[1], this.v.setTripleAt(P, A, P - F * H * q * R, A - I * H * q * R, P + F * H * q * R, A + I * H * q * R, B, !0), T = !T, _ += S * R;
|
|
4199
4199
|
}
|
|
4200
4200
|
},
|
|
4201
4201
|
convertPolygonToPath: function() {
|
|
4202
4202
|
var y = Math.floor(this.pt.v), S = Math.PI * 2 / y, T = this.or.v, M = this.os.v, L = 2 * Math.PI * T / (y * 4), V, k = -Math.PI * 0.5, U = this.data.d === 3 ? -1 : 1;
|
|
4203
4203
|
for (k += this.r.v, this.v._length = 0, V = 0; V < y; V += 1) {
|
|
4204
|
-
var
|
|
4205
|
-
|
|
4204
|
+
var z = T * Math.cos(k), B = T * Math.sin(k), G = z === 0 && B === 0 ? 0 : B / Math.sqrt(z * z + B * B), q = z === 0 && B === 0 ? 0 : -z / Math.sqrt(z * z + B * B);
|
|
4205
|
+
z += +this.p.v[0], B += +this.p.v[1], this.v.setTripleAt(z, B, z - G * L * M * U, B - q * L * M * U, z + G * L * M * U, B + q * L * M * U, V, !0), k += S * U;
|
|
4206
4206
|
}
|
|
4207
4207
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
4208
4208
|
}
|
|
@@ -4352,7 +4352,7 @@ var lottie$1 = { exports: {} };
|
|
|
4352
4352
|
var A = this.getInverseMatrix();
|
|
4353
4353
|
return A.applyToPointArray(P[0], P[1], P[2] || 0);
|
|
4354
4354
|
}
|
|
4355
|
-
function
|
|
4355
|
+
function z(P) {
|
|
4356
4356
|
var A, F = P.length, I = [];
|
|
4357
4357
|
for (A = 0; A < F; A += 1)
|
|
4358
4358
|
I[A] = U(P[A]);
|
|
@@ -4368,7 +4368,7 @@ var lottie$1 = { exports: {} };
|
|
|
4368
4368
|
}
|
|
4369
4369
|
return I;
|
|
4370
4370
|
}
|
|
4371
|
-
function
|
|
4371
|
+
function G(P, A, F) {
|
|
4372
4372
|
var I;
|
|
4373
4373
|
return this.isIdentity() ? I = [P, A, F] : I = [P * this.props[0] + A * this.props[4] + F * this.props[8] + this.props[12], P * this.props[1] + A * this.props[5] + F * this.props[9] + this.props[13], P * this.props[2] + A * this.props[6] + F * this.props[10] + this.props[14]], I;
|
|
4374
4374
|
}
|
|
@@ -4378,7 +4378,7 @@ var lottie$1 = { exports: {} };
|
|
|
4378
4378
|
var F = this.props;
|
|
4379
4379
|
return Math.round((P * F[0] + A * F[4] + F[12]) * 100) / 100 + "," + Math.round((P * F[1] + A * F[5] + F[13]) * 100) / 100;
|
|
4380
4380
|
}
|
|
4381
|
-
function
|
|
4381
|
+
function H() {
|
|
4382
4382
|
for (var P = 0, A = this.props, F = "matrix3d(", I = 1e4; P < 16; )
|
|
4383
4383
|
F += n(A[P] * I) / I, F += P === 15 ? ")" : ",", P += 1;
|
|
4384
4384
|
return F;
|
|
@@ -4392,7 +4392,7 @@ var lottie$1 = { exports: {} };
|
|
|
4392
4392
|
return "matrix(" + A + "," + F + "," + I + "," + W + "," + K + "," + X + ")";
|
|
4393
4393
|
}
|
|
4394
4394
|
return function() {
|
|
4395
|
-
this.reset = s, this.rotate = a, this.rotateX = o, this.rotateY = l, this.rotateZ = c, this.skew = u, this.skewFromAxis = p, this.shear = f, this.scale = d, this.setTransform = b, this.translate = C, this.transform = g, this.multiply = E, this.applyToPoint = T, this.applyToX = M, this.applyToY = L, this.applyToZ = V, this.applyToPointArray =
|
|
4395
|
+
this.reset = s, this.rotate = a, this.rotateX = o, this.rotateY = l, this.rotateZ = c, this.skew = u, this.skewFromAxis = p, this.shear = f, this.scale = d, this.setTransform = b, this.translate = C, this.transform = g, this.multiply = E, this.applyToPoint = T, this.applyToX = M, this.applyToY = L, this.applyToZ = V, this.applyToPointArray = G, this.applyToTriplePoints = B, this.applyToPointStringified = q, this.toCSS = H, this.to2dCSS = R, this.clone = y, this.cloneFromProps = S, this.equals = x, this.inversePoints = z, this.inversePoint = U, this.getInverseMatrix = k, this._t = this.transform, this.isIdentity = m, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
|
|
4396
4396
|
};
|
|
4397
4397
|
}();
|
|
4398
4398
|
function _typeof$3(e) {
|
|
@@ -5363,7 +5363,7 @@ var lottie$1 = { exports: {} };
|
|
|
5363
5363
|
function U(_) {
|
|
5364
5364
|
return k(_.substr(0, 2)) && k(_.substr(2, 2));
|
|
5365
5365
|
}
|
|
5366
|
-
function
|
|
5366
|
+
function z(_) {
|
|
5367
5367
|
return i.indexOf(_) !== -1;
|
|
5368
5368
|
}
|
|
5369
5369
|
function B(_, R) {
|
|
@@ -5378,23 +5378,23 @@ var lottie$1 = { exports: {} };
|
|
|
5378
5378
|
}
|
|
5379
5379
|
return T(_.substr(R, 2)) === s;
|
|
5380
5380
|
}
|
|
5381
|
-
function
|
|
5381
|
+
function G() {
|
|
5382
5382
|
this.isLoaded = !0;
|
|
5383
5383
|
}
|
|
5384
5384
|
var q = function() {
|
|
5385
5385
|
this.fonts = [], this.chars = null, this.typekitLoaded = 0, this.isLoaded = !1, this._warned = !1, this.initTime = Date.now(), this.setIsLoadedBinded = this.setIsLoaded.bind(this), this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);
|
|
5386
5386
|
};
|
|
5387
|
-
q.isModifier = M, q.isZeroWidthJoiner = L, q.isFlagEmoji = U, q.isRegionalCode = k, q.isCombinedCharacter =
|
|
5388
|
-
var
|
|
5387
|
+
q.isModifier = M, q.isZeroWidthJoiner = L, q.isFlagEmoji = U, q.isRegionalCode = k, q.isCombinedCharacter = z, q.isRegionalFlag = B, q.isVariationSelector = V, q.BLACK_FLAG_CODE_POINT = n;
|
|
5388
|
+
var H = {
|
|
5389
5389
|
addChars: m,
|
|
5390
5390
|
addFonts: E,
|
|
5391
5391
|
getCharData: x,
|
|
5392
5392
|
getFontByName: S,
|
|
5393
5393
|
measureText: y,
|
|
5394
5394
|
checkLoadedFonts: C,
|
|
5395
|
-
setIsLoaded:
|
|
5395
|
+
setIsLoaded: G
|
|
5396
5396
|
};
|
|
5397
|
-
return q.prototype =
|
|
5397
|
+
return q.prototype = H, q;
|
|
5398
5398
|
}();
|
|
5399
5399
|
function SlotManager(e) {
|
|
5400
5400
|
this.animationData = e;
|
|
@@ -6394,13 +6394,13 @@ var lottie$1 = { exports: {} };
|
|
|
6394
6394
|
if (p.t === 1)
|
|
6395
6395
|
(d.e._mdf || b) && (C.setAttribute("x2", m[0]), C.setAttribute("y2", m[1]), g && !d.g._collapsable && (d.of.setAttribute("x2", m[0]), d.of.setAttribute("y2", m[1])));
|
|
6396
6396
|
else {
|
|
6397
|
-
var
|
|
6398
|
-
if ((d.s._mdf || d.e._mdf || b) && (
|
|
6399
|
-
|
|
6400
|
-
var B = Math.atan2(m[1] - E[1], m[0] - E[0]),
|
|
6401
|
-
|
|
6402
|
-
var q =
|
|
6403
|
-
C.setAttribute("fx",
|
|
6397
|
+
var z;
|
|
6398
|
+
if ((d.s._mdf || d.e._mdf || b) && (z = Math.sqrt(Math.pow(E[0] - m[0], 2) + Math.pow(E[1] - m[1], 2)), C.setAttribute("r", z), g && !d.g._collapsable && d.of.setAttribute("r", z)), d.e._mdf || d.h._mdf || d.a._mdf || b) {
|
|
6399
|
+
z || (z = Math.sqrt(Math.pow(E[0] - m[0], 2) + Math.pow(E[1] - m[1], 2)));
|
|
6400
|
+
var B = Math.atan2(m[1] - E[1], m[0] - E[0]), G = d.h.v;
|
|
6401
|
+
G >= 1 ? G = 0.99 : G <= -1 && (G = -0.99);
|
|
6402
|
+
var q = z * G, H = Math.cos(B + d.a.v) * q + E[0], _ = Math.sin(B + d.a.v) * q + E[1];
|
|
6403
|
+
C.setAttribute("fx", H), C.setAttribute("fy", _), g && !d.g._collapsable && (d.of.setAttribute("fx", H), d.of.setAttribute("fy", _));
|
|
6404
6404
|
}
|
|
6405
6405
|
}
|
|
6406
6406
|
}
|
|
@@ -6593,17 +6593,17 @@ var lottie$1 = { exports: {} };
|
|
|
6593
6593
|
e.fWeight = T.weight, e.fStyle = T.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), a = e.finalText.length, e.finalLineHeight = e.lh;
|
|
6594
6594
|
var M = e.tr / 1e3 * e.finalSize, L;
|
|
6595
6595
|
if (e.sz)
|
|
6596
|
-
for (var V = !0, k = e.sz[0], U = e.sz[1],
|
|
6597
|
-
B = this.buildFinalText(e.t),
|
|
6598
|
-
var
|
|
6596
|
+
for (var V = !0, k = e.sz[0], U = e.sz[1], z, B; V; ) {
|
|
6597
|
+
B = this.buildFinalText(e.t), z = 0, C = 0, a = B.length, M = e.tr / 1e3 * e.finalSize;
|
|
6598
|
+
var G = -1;
|
|
6599
6599
|
for (s = 0; s < a; s += 1)
|
|
6600
|
-
L = B[s].charCodeAt(0), o = !1, B[s] === " " ?
|
|
6601
|
-
|
|
6600
|
+
L = B[s].charCodeAt(0), o = !1, B[s] === " " ? G = s : (L === 13 || L === 3) && (C = 0, o = !0, z += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (y = t.getCharData(B[s], x.fStyle, x.fFamily), S = o ? 0 : y.w * e.finalSize / 100) : S = t.measureText(B[s], e.f, e.finalSize), C + S > k && B[s] !== " " ? (G === -1 ? a += 1 : s = G, z += e.finalLineHeight || e.finalSize * 1.2, B.splice(s, G === s ? 1 : 0, "\r"), G = -1, C = 0) : (C += S, C += M);
|
|
6601
|
+
z += x.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && U < z ? (e.finalSize -= 1, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText = B, a = e.finalText.length, V = !1);
|
|
6602
6602
|
}
|
|
6603
6603
|
C = -M, S = 0;
|
|
6604
|
-
var q = 0,
|
|
6604
|
+
var q = 0, H;
|
|
6605
6605
|
for (s = 0; s < a; s += 1)
|
|
6606
|
-
if (o = !1,
|
|
6606
|
+
if (o = !1, H = e.finalText[s], L = H.charCodeAt(0), L === 13 || L === 3 ? (q = 0, b.push(C), g = C > g ? C : g, C = -2 * M, c = "", o = !0, d += 1) : c = H, t.chars ? (y = t.getCharData(H, x.fStyle, t.getFontByName(e.f).fFamily), S = o ? 0 : y.w * e.finalSize / 100) : S = t.measureText(c, e.f, e.finalSize), H === " " ? q += S + M : (C += S + M + q, q = 0), n.push({
|
|
6607
6607
|
l: S,
|
|
6608
6608
|
an: S,
|
|
6609
6609
|
add: u,
|
|
@@ -6773,26 +6773,26 @@ var lottie$1 = { exports: {} };
|
|
|
6773
6773
|
}, TextAnimatorProperty.prototype.getMeasures = function(e, t) {
|
|
6774
6774
|
if (this.lettersChangedFlag = t, !(!this._mdf && !this._isFirstFrame && !t && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
|
|
6775
6775
|
this._isFirstFrame = !1;
|
|
6776
|
-
var i = this._moreOptions.alignment.v, n = this._animatorsData, s = this._textData, a = this.mHelper, o = this._renderType, l = this.renderedLetters.length, c, f, u, p, d = e.l, b, C, g, E, m, x, y, S, T, M, L, V, k, U,
|
|
6776
|
+
var i = this._moreOptions.alignment.v, n = this._animatorsData, s = this._textData, a = this.mHelper, o = this._renderType, l = this.renderedLetters.length, c, f, u, p, d = e.l, b, C, g, E, m, x, y, S, T, M, L, V, k, U, z;
|
|
6777
6777
|
if (this._hasMaskedPath) {
|
|
6778
|
-
if (
|
|
6779
|
-
var B =
|
|
6778
|
+
if (z = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
|
|
6779
|
+
var B = z.v;
|
|
6780
6780
|
this._pathData.r.v && (B = B.reverse()), b = {
|
|
6781
6781
|
tLength: 0,
|
|
6782
6782
|
segments: []
|
|
6783
6783
|
}, p = B._length - 1;
|
|
6784
|
-
var
|
|
6784
|
+
var G;
|
|
6785
6785
|
for (V = 0, u = 0; u < p; u += 1)
|
|
6786
|
-
|
|
6787
|
-
u = p,
|
|
6786
|
+
G = bez.buildBezierData(B.v[u], B.v[u + 1], [B.o[u][0] - B.v[u][0], B.o[u][1] - B.v[u][1]], [B.i[u + 1][0] - B.v[u + 1][0], B.i[u + 1][1] - B.v[u + 1][1]]), b.tLength += G.segmentLength, b.segments.push(G), V += G.segmentLength;
|
|
6787
|
+
u = p, z.v.c && (G = bez.buildBezierData(B.v[u], B.v[0], [B.o[u][0] - B.v[u][0], B.o[u][1] - B.v[u][1]], [B.i[0][0] - B.v[0][0], B.i[0][1] - B.v[0][1]]), b.tLength += G.segmentLength, b.segments.push(G), V += G.segmentLength), this._pathData.pi = b;
|
|
6788
6788
|
}
|
|
6789
|
-
if (b = this._pathData.pi, C = this._pathData.f.v, y = 0, x = 1, E = 0, m = !0, M = b.segments, C < 0 &&
|
|
6789
|
+
if (b = this._pathData.pi, C = this._pathData.f.v, y = 0, x = 1, E = 0, m = !0, M = b.segments, C < 0 && z.v.c)
|
|
6790
6790
|
for (b.tLength < Math.abs(C) && (C = -Math.abs(C) % b.tLength), y = M.length - 1, T = M[y].points, x = T.length - 1; C < 0; )
|
|
6791
6791
|
C += T[x].partialLength, x -= 1, x < 0 && (y -= 1, T = M[y].points, x = T.length - 1);
|
|
6792
6792
|
T = M[y].points, S = T[x - 1], g = T[x], L = g.partialLength;
|
|
6793
6793
|
}
|
|
6794
6794
|
p = d.length, c = 0, f = 0;
|
|
6795
|
-
var q = e.finalSize * 1.2 * 0.714,
|
|
6795
|
+
var q = e.finalSize * 1.2 * 0.714, H = !0, _, R, P, A, F;
|
|
6796
6796
|
A = n.length;
|
|
6797
6797
|
var I, W = -1, K, X, ee, re = C, ce = y, fe = x, me = -1, de, se, ue, ie, Y, Te, Le, be, Ce = "", Pe = this.defaultPropsArray, ve;
|
|
6798
6798
|
if (e.j === 2 || e.j === 1) {
|
|
@@ -6812,7 +6812,7 @@ var lottie$1 = { exports: {} };
|
|
|
6812
6812
|
}
|
|
6813
6813
|
for (u = 0; u < p; u += 1) {
|
|
6814
6814
|
if (a.reset(), de = 1, d[u].n)
|
|
6815
|
-
c = 0, f += e.yOffset, f +=
|
|
6815
|
+
c = 0, f += e.yOffset, f += H ? 1 : 0, C = re, H = !1, this._hasMaskedPath && (y = ce, x = fe, T = M[y].points, S = T[x - 1], g = T[x], L = g.partialLength, E = 0), Ce = "", be = "", Te = "", ve = "", Pe = this.defaultPropsArray;
|
|
6816
6816
|
else {
|
|
6817
6817
|
if (this._hasMaskedPath) {
|
|
6818
6818
|
if (me !== d[u].line) {
|
|
@@ -6831,7 +6831,7 @@ var lottie$1 = { exports: {} };
|
|
|
6831
6831
|
for (P = 0; P < A; P += 1)
|
|
6832
6832
|
_ = n[P].a, _.p.propType && (R = n[P].s, I = R.getMult(d[u].anIndexes[P], s.a[P].s.totalChars), I.length ? Ee += _.p.v[0] * I[0] : Ee += _.p.v[0] * I), _.a.propType && (R = n[P].s, I = R.getMult(d[u].anIndexes[P], s.a[P].s.totalChars), I.length ? Ee += _.a.v[0] * I[0] : Ee += _.a.v[0] * I);
|
|
6833
6833
|
for (m = !0, this._pathData.a.v && (C = d[0].an * 0.5 + (V - this._pathData.f.v - d[0].an * 0.5 - d[d.length - 1].an * 0.5) * W / (p - 1), C += this._pathData.f.v); m; )
|
|
6834
|
-
E + L >= C + Ee || !T ? (k = (C + Ee - E) / g.partialLength, X = S.point[0] + (g.point[0] - S.point[0]) * k, ee = S.point[1] + (g.point[1] - S.point[1]) * k, a.translate(-i[0] * d[u].an * 5e-3, -(i[1] * q) * 0.01), m = !1) : T && (E += g.partialLength, x += 1, x >= T.length && (x = 0, y += 1, M[y] ? T = M[y].points :
|
|
6834
|
+
E + L >= C + Ee || !T ? (k = (C + Ee - E) / g.partialLength, X = S.point[0] + (g.point[0] - S.point[0]) * k, ee = S.point[1] + (g.point[1] - S.point[1]) * k, a.translate(-i[0] * d[u].an * 5e-3, -(i[1] * q) * 0.01), m = !1) : T && (E += g.partialLength, x += 1, x >= T.length && (x = 0, y += 1, M[y] ? T = M[y].points : z.v.c ? (x = 0, y = 0, T = M[y].points) : (E -= g.partialLength, T = null)), T && (S = g, g = T[x], L = g.partialLength));
|
|
6835
6835
|
K = d[u].an / 2 - d[u].add, a.translate(-K, 0, 0);
|
|
6836
6836
|
} else
|
|
6837
6837
|
K = d[u].an / 2 - d[u].add, a.translate(-K, 0, 0), a.translate(-i[0] * d[u].an * 5e-3, -i[1] * q * 0.01, 0);
|
|
@@ -8371,20 +8371,20 @@ var lottie$1 = { exports: {} };
|
|
|
8371
8371
|
entropy: !0
|
|
8372
8372
|
} : S || {};
|
|
8373
8373
|
var L = E(g(S.entropy ? [y, x(e)] : y === null ? m() : y, 3), M), V = new b(M), k = function() {
|
|
8374
|
-
for (var
|
|
8375
|
-
|
|
8376
|
-
for (;
|
|
8377
|
-
|
|
8378
|
-
return (
|
|
8374
|
+
for (var z = V.g(s), B = l, G = 0; z < c; )
|
|
8375
|
+
z = (z + G) * n, B *= n, G = V.g(1);
|
|
8376
|
+
for (; z >= f; )
|
|
8377
|
+
z /= 2, B /= 2, G >>>= 1;
|
|
8378
|
+
return (z + G) / B;
|
|
8379
8379
|
};
|
|
8380
8380
|
return k.int32 = function() {
|
|
8381
8381
|
return V.g(4) | 0;
|
|
8382
8382
|
}, k.quick = function() {
|
|
8383
8383
|
return V.g(4) / 4294967296;
|
|
8384
|
-
}, k.double = k, E(x(V.S), e), (S.pass || T || function(U,
|
|
8385
|
-
return
|
|
8384
|
+
}, k.double = k, E(x(V.S), e), (S.pass || T || function(U, z, B, G) {
|
|
8385
|
+
return G && (G.S && C(G, V), U.state = function() {
|
|
8386
8386
|
return C(V, {});
|
|
8387
|
-
}), B ? (t[o] = U,
|
|
8387
|
+
}), B ? (t[o] = U, z) : U;
|
|
8388
8388
|
})(k, L, "global" in S ? S.global : this == t, S.state);
|
|
8389
8389
|
}
|
|
8390
8390
|
t["seed" + o] = d;
|
|
@@ -8395,9 +8395,9 @@ var lottie$1 = { exports: {} };
|
|
|
8395
8395
|
for (L = 0; L < n; L++)
|
|
8396
8396
|
k[L] = k[V = u & V + y[L % T] + (S = k[L])], k[V] = S;
|
|
8397
8397
|
M.g = function(U) {
|
|
8398
|
-
for (var
|
|
8399
|
-
|
|
8400
|
-
return M.i =
|
|
8398
|
+
for (var z, B = 0, G = M.i, q = M.j, H = M.S; U--; )
|
|
8399
|
+
z = H[G = u & G + 1], B = B * n + H[u & (H[G] = H[q = u & q + z]) + (H[q] = z)];
|
|
8400
|
+
return M.i = G, M.j = q, B;
|
|
8401
8401
|
};
|
|
8402
8402
|
}
|
|
8403
8403
|
function C(y, S) {
|
|
@@ -9605,21 +9605,21 @@ var lottie$1 = { exports: {} };
|
|
|
9605
9605
|
if (L % 2 !== 0)
|
|
9606
9606
|
return this.getValueAtTime((x - (g - y) % x + y) / this.comp.globalData.frameRate, 0);
|
|
9607
9607
|
} else if (d === "offset") {
|
|
9608
|
-
var V = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), k = this.getValueAtTime(m / this.comp.globalData.frameRate, 0), U = this.getValueAtTime(((g - y) % x + y) / this.comp.globalData.frameRate, 0),
|
|
9608
|
+
var V = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), k = this.getValueAtTime(m / this.comp.globalData.frameRate, 0), U = this.getValueAtTime(((g - y) % x + y) / this.comp.globalData.frameRate, 0), z = Math.floor((g - y) / x);
|
|
9609
9609
|
if (this.pv.length) {
|
|
9610
9610
|
for (M = new Array(V.length), T = M.length, S = 0; S < T; S += 1)
|
|
9611
|
-
M[S] = (k[S] - V[S]) *
|
|
9611
|
+
M[S] = (k[S] - V[S]) * z + U[S];
|
|
9612
9612
|
return M;
|
|
9613
9613
|
}
|
|
9614
|
-
return (k - V) *
|
|
9614
|
+
return (k - V) * z + U;
|
|
9615
9615
|
} else if (d === "continue") {
|
|
9616
|
-
var B = this.getValueAtTime(m / this.comp.globalData.frameRate, 0),
|
|
9616
|
+
var B = this.getValueAtTime(m / this.comp.globalData.frameRate, 0), G = this.getValueAtTime((m - 1e-3) / this.comp.globalData.frameRate, 0);
|
|
9617
9617
|
if (this.pv.length) {
|
|
9618
9618
|
for (M = new Array(B.length), T = M.length, S = 0; S < T; S += 1)
|
|
9619
|
-
M[S] = B[S] + (B[S] -
|
|
9619
|
+
M[S] = B[S] + (B[S] - G[S]) * ((g - m) / this.comp.globalData.frameRate) / 5e-4;
|
|
9620
9620
|
return M;
|
|
9621
9621
|
}
|
|
9622
|
-
return B + (B -
|
|
9622
|
+
return B + (B - G) * ((g - m) / 1e-3);
|
|
9623
9623
|
}
|
|
9624
9624
|
return this.getValueAtTime(((g - y) % x + y) / this.comp.globalData.frameRate, 0);
|
|
9625
9625
|
}
|
|
@@ -9638,21 +9638,21 @@ var lottie$1 = { exports: {} };
|
|
|
9638
9638
|
if (L % 2 === 0)
|
|
9639
9639
|
return this.getValueAtTime(((m - g) % x + m) / this.comp.globalData.frameRate, 0);
|
|
9640
9640
|
} else if (d === "offset") {
|
|
9641
|
-
var V = this.getValueAtTime(m / this.comp.globalData.frameRate, 0), k = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), U = this.getValueAtTime((x - (m - g) % x + m) / this.comp.globalData.frameRate, 0),
|
|
9641
|
+
var V = this.getValueAtTime(m / this.comp.globalData.frameRate, 0), k = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), U = this.getValueAtTime((x - (m - g) % x + m) / this.comp.globalData.frameRate, 0), z = Math.floor((m - g) / x) + 1;
|
|
9642
9642
|
if (this.pv.length) {
|
|
9643
9643
|
for (M = new Array(V.length), T = M.length, S = 0; S < T; S += 1)
|
|
9644
|
-
M[S] = U[S] - (k[S] - V[S]) *
|
|
9644
|
+
M[S] = U[S] - (k[S] - V[S]) * z;
|
|
9645
9645
|
return M;
|
|
9646
9646
|
}
|
|
9647
|
-
return U - (k - V) *
|
|
9647
|
+
return U - (k - V) * z;
|
|
9648
9648
|
} else if (d === "continue") {
|
|
9649
|
-
var B = this.getValueAtTime(m / this.comp.globalData.frameRate, 0),
|
|
9649
|
+
var B = this.getValueAtTime(m / this.comp.globalData.frameRate, 0), G = this.getValueAtTime((m + 1e-3) / this.comp.globalData.frameRate, 0);
|
|
9650
9650
|
if (this.pv.length) {
|
|
9651
9651
|
for (M = new Array(B.length), T = M.length, S = 0; S < T; S += 1)
|
|
9652
|
-
M[S] = B[S] + (B[S] -
|
|
9652
|
+
M[S] = B[S] + (B[S] - G[S]) * (m - g) / 1e-3;
|
|
9653
9653
|
return M;
|
|
9654
9654
|
}
|
|
9655
|
-
return B + (B -
|
|
9655
|
+
return B + (B - G) * (m - g) / 1e-3;
|
|
9656
9656
|
}
|
|
9657
9657
|
return this.getValueAtTime((x - ((m - g) % x + m)) / this.comp.globalData.frameRate, 0);
|
|
9658
9658
|
}
|
|
@@ -10161,19 +10161,19 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10161
10161
|
}, U = function() {
|
|
10162
10162
|
var W;
|
|
10163
10163
|
(W = M.current) === null || W === void 0 || W.pause();
|
|
10164
|
-
},
|
|
10164
|
+
}, z = function(W) {
|
|
10165
10165
|
var K;
|
|
10166
10166
|
(K = M.current) === null || K === void 0 || K.setSpeed(W);
|
|
10167
10167
|
}, B = function(W, K) {
|
|
10168
10168
|
var X;
|
|
10169
10169
|
(X = M.current) === null || X === void 0 || X.goToAndPlay(W, K);
|
|
10170
|
-
},
|
|
10170
|
+
}, G = function(W, K) {
|
|
10171
10171
|
var X;
|
|
10172
10172
|
(X = M.current) === null || X === void 0 || X.goToAndStop(W, K);
|
|
10173
10173
|
}, q = function(W) {
|
|
10174
10174
|
var K;
|
|
10175
10175
|
(K = M.current) === null || K === void 0 || K.setDirection(W);
|
|
10176
|
-
},
|
|
10176
|
+
}, H = function(W, K) {
|
|
10177
10177
|
var X;
|
|
10178
10178
|
(X = M.current) === null || X === void 0 || X.playSegments(W, K);
|
|
10179
10179
|
}, _ = function(W) {
|
|
@@ -10278,11 +10278,11 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10278
10278
|
play: V,
|
|
10279
10279
|
stop: k,
|
|
10280
10280
|
pause: U,
|
|
10281
|
-
setSpeed:
|
|
10282
|
-
goToAndStop:
|
|
10281
|
+
setSpeed: z,
|
|
10282
|
+
goToAndStop: G,
|
|
10283
10283
|
goToAndPlay: B,
|
|
10284
10284
|
setDirection: q,
|
|
10285
|
-
playSegments:
|
|
10285
|
+
playSegments: H,
|
|
10286
10286
|
setSubframe: _,
|
|
10287
10287
|
getDuration: R,
|
|
10288
10288
|
destroy: P,
|
|
@@ -12709,12 +12709,12 @@ function useSnapPoints({ activeSnapPointProp: e, setActiveSnapPointProp: t, snap
|
|
|
12709
12709
|
var V;
|
|
12710
12710
|
return (V = i == null ? void 0 : i.map((k) => {
|
|
12711
12711
|
const U = typeof k == "string";
|
|
12712
|
-
let
|
|
12713
|
-
if (U && (
|
|
12714
|
-
const
|
|
12715
|
-
return d ? l === "bottom" ? L.height -
|
|
12712
|
+
let z = 0;
|
|
12713
|
+
if (U && (z = parseInt(k, 10)), isVertical(l)) {
|
|
12714
|
+
const G = U ? z : d ? k * L.height : 0;
|
|
12715
|
+
return d ? l === "bottom" ? L.height - G : -L.height + G : G;
|
|
12716
12716
|
}
|
|
12717
|
-
const B = U ?
|
|
12717
|
+
const B = U ? z : d ? k * L.width : 0;
|
|
12718
12718
|
return d ? l === "right" ? L.width - B : -L.width + B : B;
|
|
12719
12719
|
})) != null ? V : [];
|
|
12720
12720
|
}, [
|
|
@@ -12760,7 +12760,7 @@ function useSnapPoints({ activeSnapPointProp: e, setActiveSnapPointProp: t, snap
|
|
|
12760
12760
|
]);
|
|
12761
12761
|
function S({ draggedDistance: L, closeDrawer: V, velocity: k, dismissible: U }) {
|
|
12762
12762
|
if (a === void 0) return;
|
|
12763
|
-
const
|
|
12763
|
+
const z = l === "bottom" || l === "right" ? (x ?? 0) - L : (x ?? 0) + L, B = g === a - 1, G = g === 0, q = L > 0;
|
|
12764
12764
|
if (B && set(s.current, {
|
|
12765
12765
|
transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`
|
|
12766
12766
|
}), !f && k > 2 && !q) {
|
|
@@ -12771,18 +12771,18 @@ function useSnapPoints({ activeSnapPointProp: e, setActiveSnapPointProp: t, snap
|
|
|
12771
12771
|
y(m[i.length - 1]);
|
|
12772
12772
|
return;
|
|
12773
12773
|
}
|
|
12774
|
-
const
|
|
12774
|
+
const H = m == null ? void 0 : m.reduce((R, P) => typeof R != "number" || typeof P != "number" ? R : Math.abs(P - z) < Math.abs(R - z) ? P : R), _ = isVertical(l) ? window.innerHeight : window.innerWidth;
|
|
12775
12775
|
if (k > VELOCITY_THRESHOLD && Math.abs(L) < _ * 0.4) {
|
|
12776
12776
|
const R = q ? 1 : -1;
|
|
12777
12777
|
if (R > 0 && C && i) {
|
|
12778
12778
|
y(m[i.length - 1]);
|
|
12779
12779
|
return;
|
|
12780
12780
|
}
|
|
12781
|
-
if (
|
|
12781
|
+
if (G && R < 0 && U && V(), g === null) return;
|
|
12782
12782
|
y(m[g + R]);
|
|
12783
12783
|
return;
|
|
12784
12784
|
}
|
|
12785
|
-
y(
|
|
12785
|
+
y(H);
|
|
12786
12786
|
}
|
|
12787
12787
|
function T({ draggedDistance: L }) {
|
|
12788
12788
|
if (x === null) return;
|
|
@@ -12798,8 +12798,8 @@ function useSnapPoints({ activeSnapPointProp: e, setActiveSnapPointProp: t, snap
|
|
|
12798
12798
|
return 0;
|
|
12799
12799
|
if (k && !V) return 1;
|
|
12800
12800
|
if (!E && !k) return null;
|
|
12801
|
-
const
|
|
12802
|
-
return k ? 1 -
|
|
12801
|
+
const z = k ? g + 1 : g - 1, B = k ? m[z] - m[z - 1] : m[z + 1] - m[z], G = L / Math.abs(B);
|
|
12802
|
+
return k ? 1 - G : G;
|
|
12803
12803
|
}
|
|
12804
12804
|
return {
|
|
12805
12805
|
isLastSnapPoint: C,
|
|
@@ -12923,9 +12923,9 @@ function usePositionFixed({ isOpen: e, modal: t, nested: i, hasBeenOpened: n, pr
|
|
|
12923
12923
|
restorePositionSetting: u
|
|
12924
12924
|
};
|
|
12925
12925
|
}
|
|
12926
|
-
function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s, snapPoints: a, shouldScaleBackground: o = !1, setBackgroundColorOnScale: l = !0, closeThreshold: c = CLOSE_THRESHOLD, scrollLockTimeout: f = SCROLL_LOCK_TIMEOUT, dismissible: u = !0, handleOnly: p = !1, fadeFromIndex: d = a && a.length - 1, activeSnapPoint: b, setActiveSnapPoint: C, fixed: g, modal: E = !0, onClose: m, nested: x, noBodyStyles: y = !1, direction: S = "bottom", defaultOpen: T = !1, disablePreventScroll: M = !0, snapToSequentialPoint: L = !1, preventScrollRestoration: V = !1, repositionInputs: k = !0, onAnimationEnd: U, container:
|
|
12927
|
-
var
|
|
12928
|
-
const [
|
|
12926
|
+
function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s, snapPoints: a, shouldScaleBackground: o = !1, setBackgroundColorOnScale: l = !0, closeThreshold: c = CLOSE_THRESHOLD, scrollLockTimeout: f = SCROLL_LOCK_TIMEOUT, dismissible: u = !0, handleOnly: p = !1, fadeFromIndex: d = a && a.length - 1, activeSnapPoint: b, setActiveSnapPoint: C, fixed: g, modal: E = !0, onClose: m, nested: x, noBodyStyles: y = !1, direction: S = "bottom", defaultOpen: T = !1, disablePreventScroll: M = !0, snapToSequentialPoint: L = !1, preventScrollRestoration: V = !1, repositionInputs: k = !0, onAnimationEnd: U, container: z, autoFocus: B = !1 }) {
|
|
12927
|
+
var G, q;
|
|
12928
|
+
const [H = !1, _] = useControllableState({
|
|
12929
12929
|
defaultProp: T,
|
|
12930
12930
|
prop: e,
|
|
12931
12931
|
onChange: (j) => {
|
|
@@ -12935,7 +12935,7 @@ function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s,
|
|
|
12935
12935
|
document.body.style.pointerEvents = "auto";
|
|
12936
12936
|
}), j || (document.body.style.pointerEvents = "auto");
|
|
12937
12937
|
}
|
|
12938
|
-
}), [R, P] = React__default.useState(!1), [A, F] = React__default.useState(!1), [I, W] = React__default.useState(!1), K = React__default.useRef(null), X = React__default.useRef(null), ee = React__default.useRef(null), re = React__default.useRef(null), ce = React__default.useRef(null), fe = React__default.useRef(!1), me = React__default.useRef(null), de = React__default.useRef(0), se = React__default.useRef(!1), ue = React__default.useRef(!T), ie = React__default.useRef(0), Y = React__default.useRef(null), Te = React__default.useRef(((
|
|
12938
|
+
}), [R, P] = React__default.useState(!1), [A, F] = React__default.useState(!1), [I, W] = React__default.useState(!1), K = React__default.useRef(null), X = React__default.useRef(null), ee = React__default.useRef(null), re = React__default.useRef(null), ce = React__default.useRef(null), fe = React__default.useRef(!1), me = React__default.useRef(null), de = React__default.useRef(0), se = React__default.useRef(!1), ue = React__default.useRef(!T), ie = React__default.useRef(0), Y = React__default.useRef(null), Te = React__default.useRef(((G = Y.current) == null ? void 0 : G.getBoundingClientRect().height) || 0), Le = React__default.useRef(((q = Y.current) == null ? void 0 : q.getBoundingClientRect().width) || 0), be = React__default.useRef(0), Ce = React__default.useCallback((j) => {
|
|
12939
12939
|
a && j === we.length - 1 && (X.current = /* @__PURE__ */ new Date());
|
|
12940
12940
|
}, []), { activeSnapPoint: Pe, activeSnapPointIndex: ve, setActiveSnapPoint: ye, onRelease: xe, snapPointsOffset: we, onDrag: Se, shouldFade: Ae, getPercentageDragged: Ee } = useSnapPoints({
|
|
12941
12941
|
snapPoints: a,
|
|
@@ -12946,14 +12946,14 @@ function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s,
|
|
|
12946
12946
|
overlayRef: K,
|
|
12947
12947
|
onSnapPointChange: Ce,
|
|
12948
12948
|
direction: S,
|
|
12949
|
-
container:
|
|
12949
|
+
container: z,
|
|
12950
12950
|
snapToSequentialPoint: L
|
|
12951
12951
|
});
|
|
12952
12952
|
usePreventScroll({
|
|
12953
|
-
isDisabled: !
|
|
12953
|
+
isDisabled: !H || A || !E || I || !R || !k || !M
|
|
12954
12954
|
});
|
|
12955
12955
|
const { restorePositionSetting: Me } = usePositionFixed({
|
|
12956
|
-
isOpen:
|
|
12956
|
+
isOpen: H,
|
|
12957
12957
|
modal: E,
|
|
12958
12958
|
nested: x ?? !1,
|
|
12959
12959
|
hasBeenOpened: R,
|
|
@@ -12964,15 +12964,15 @@ function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s,
|
|
|
12964
12964
|
return (window.innerWidth - WINDOW_TOP_OFFSET) / window.innerWidth;
|
|
12965
12965
|
}
|
|
12966
12966
|
function Re(j) {
|
|
12967
|
-
var O,
|
|
12968
|
-
!u && !a || Y.current && !Y.current.contains(j.target) || (Te.current = ((O = Y.current) == null ? void 0 : O.getBoundingClientRect().height) || 0, Le.current = ((
|
|
12967
|
+
var O, N;
|
|
12968
|
+
!u && !a || Y.current && !Y.current.contains(j.target) || (Te.current = ((O = Y.current) == null ? void 0 : O.getBoundingClientRect().height) || 0, Le.current = ((N = Y.current) == null ? void 0 : N.getBoundingClientRect().width) || 0, F(!0), ee.current = /* @__PURE__ */ new Date(), isIOS() && window.addEventListener("touchend", () => fe.current = !1, {
|
|
12969
12969
|
once: !0
|
|
12970
12970
|
}), j.target.setPointerCapture(j.pointerId), de.current = isVertical(S) ? j.pageY : j.pageX);
|
|
12971
12971
|
}
|
|
12972
12972
|
function Ie(j, O) {
|
|
12973
|
-
var
|
|
12973
|
+
var N;
|
|
12974
12974
|
let J = j;
|
|
12975
|
-
const Q = (
|
|
12975
|
+
const Q = (N = window.getSelection()) == null ? void 0 : N.toString(), te = Y.current ? getTranslate(Y.current, S) : null, ne = /* @__PURE__ */ new Date();
|
|
12976
12976
|
if (J.tagName === "SELECT" || J.hasAttribute("data-vaul-no-drag") || J.closest("[data-vaul-no-drag]"))
|
|
12977
12977
|
return !1;
|
|
12978
12978
|
if (S === "right" || S === "left")
|
|
@@ -12998,9 +12998,9 @@ function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s,
|
|
|
12998
12998
|
}
|
|
12999
12999
|
function Oe(j) {
|
|
13000
13000
|
if (Y.current && A) {
|
|
13001
|
-
const O = S === "bottom" || S === "right" ? 1 : -1,
|
|
13001
|
+
const O = S === "bottom" || S === "right" ? 1 : -1, N = (de.current - (isVertical(S) ? j.pageY : j.pageX)) * O, J = N > 0, Q = a && !u && !J;
|
|
13002
13002
|
if (Q && ve === 0) return;
|
|
13003
|
-
const te = Math.abs(
|
|
13003
|
+
const te = Math.abs(N), ne = document.querySelector("[data-vaul-drawer-wrapper]"), le = S === "bottom" || S === "top" ? Te.current : Le.current;
|
|
13004
13004
|
let ae = te / le;
|
|
13005
13005
|
const oe = Ee(te, J);
|
|
13006
13006
|
if (oe !== null && (ae = oe), Q && ae >= 1 || !fe.current && !Ie(j.target, J)) return;
|
|
@@ -13009,9 +13009,9 @@ function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s,
|
|
|
13009
13009
|
}), set(K.current, {
|
|
13010
13010
|
transition: "none"
|
|
13011
13011
|
}), a && Se({
|
|
13012
|
-
draggedDistance:
|
|
13012
|
+
draggedDistance: N
|
|
13013
13013
|
}), J && !a) {
|
|
13014
|
-
const he = dampenValue(
|
|
13014
|
+
const he = dampenValue(N), ge = Math.min(he * -1, 0) * O;
|
|
13015
13015
|
set(Y.current, {
|
|
13016
13016
|
transform: isVertical(S) ? `translate3d(0, ${ge}px, 0)` : `translate3d(${ge}px, 0, 0)`
|
|
13017
13017
|
});
|
|
@@ -13045,8 +13045,8 @@ function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s,
|
|
|
13045
13045
|
var j;
|
|
13046
13046
|
function O() {
|
|
13047
13047
|
if (!Y.current || !k) return;
|
|
13048
|
-
const
|
|
13049
|
-
if (isInput(
|
|
13048
|
+
const N = document.activeElement;
|
|
13049
|
+
if (isInput(N) || se.current) {
|
|
13050
13050
|
var J;
|
|
13051
13051
|
const Q = ((J = window.visualViewport) == null ? void 0 : J.height) || 0, te = window.innerHeight;
|
|
13052
13052
|
let ne = te - Q;
|
|
@@ -13066,8 +13066,8 @@ function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s,
|
|
|
13066
13066
|
}
|
|
13067
13067
|
}
|
|
13068
13068
|
return (j = window.visualViewport) == null || j.addEventListener("resize", O), () => {
|
|
13069
|
-
var
|
|
13070
|
-
return (
|
|
13069
|
+
var N;
|
|
13070
|
+
return (N = window.visualViewport) == null ? void 0 : N.removeEventListener("resize", O);
|
|
13071
13071
|
};
|
|
13072
13072
|
}, [
|
|
13073
13073
|
ve,
|
|
@@ -13088,7 +13088,7 @@ function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s,
|
|
|
13088
13088
|
}), set(K.current, {
|
|
13089
13089
|
transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,
|
|
13090
13090
|
opacity: "1"
|
|
13091
|
-
}), o && O && O > 0 &&
|
|
13091
|
+
}), o && O && O > 0 && H && set(j, {
|
|
13092
13092
|
borderRadius: `${BORDER_RADIUS}px`,
|
|
13093
13093
|
overflow: "hidden",
|
|
13094
13094
|
...isVertical(S) ? {
|
|
@@ -13111,7 +13111,7 @@ function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s,
|
|
|
13111
13111
|
Y.current.classList.remove(DRAG_CLASS), fe.current = !1, F(!1), re.current = /* @__PURE__ */ new Date();
|
|
13112
13112
|
const O = getTranslate(Y.current, S);
|
|
13113
13113
|
if (!j || !Ie(j.target, !1) || !O || Number.isNaN(O) || ee.current === null) return;
|
|
13114
|
-
const
|
|
13114
|
+
const N = re.current.getTime() - ee.current.getTime(), J = de.current - (isVertical(S) ? j.pageY : j.pageX), Q = Math.abs(J) / N;
|
|
13115
13115
|
if (Q > 0.05 && (W(!0), setTimeout(() => {
|
|
13116
13116
|
W(!1);
|
|
13117
13117
|
}, 200)), a) {
|
|
@@ -13141,18 +13141,18 @@ function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s,
|
|
|
13141
13141
|
}
|
|
13142
13142
|
s == null || s(j, !0), ke();
|
|
13143
13143
|
}
|
|
13144
|
-
React__default.useEffect(() => (
|
|
13144
|
+
React__default.useEffect(() => (H && (set(document.documentElement, {
|
|
13145
13145
|
scrollBehavior: "auto"
|
|
13146
13146
|
}), X.current = /* @__PURE__ */ new Date()), () => {
|
|
13147
13147
|
reset(document.documentElement, "scrollBehavior");
|
|
13148
13148
|
}), [
|
|
13149
|
-
|
|
13149
|
+
H
|
|
13150
13150
|
]);
|
|
13151
13151
|
function $(j) {
|
|
13152
|
-
const O = j ? (window.innerWidth - NESTED_DISPLACEMENT) / window.innerWidth : 1,
|
|
13152
|
+
const O = j ? (window.innerWidth - NESTED_DISPLACEMENT) / window.innerWidth : 1, N = j ? -NESTED_DISPLACEMENT : 0;
|
|
13153
13153
|
me.current && window.clearTimeout(me.current), set(Y.current, {
|
|
13154
13154
|
transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,
|
|
13155
|
-
transform: isVertical(S) ? `scale(${O}) translate3d(0, ${
|
|
13155
|
+
transform: isVertical(S) ? `scale(${O}) translate3d(0, ${N}px, 0)` : `scale(${O}) translate3d(${N}px, 0, 0)`
|
|
13156
13156
|
}), !j && Y.current && (me.current = setTimeout(() => {
|
|
13157
13157
|
const J = getTranslate(Y.current, S);
|
|
13158
13158
|
set(Y.current, {
|
|
@@ -13163,14 +13163,14 @@ function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s,
|
|
|
13163
13163
|
}
|
|
13164
13164
|
function D(j, O) {
|
|
13165
13165
|
if (O < 0) return;
|
|
13166
|
-
const
|
|
13166
|
+
const N = (window.innerWidth - NESTED_DISPLACEMENT) / window.innerWidth, J = N + O * (1 - N), Q = -NESTED_DISPLACEMENT + O * NESTED_DISPLACEMENT;
|
|
13167
13167
|
set(Y.current, {
|
|
13168
13168
|
transform: isVertical(S) ? `scale(${J}) translate3d(0, ${Q}px, 0)` : `scale(${J}) translate3d(${Q}px, 0, 0)`,
|
|
13169
13169
|
transition: "none"
|
|
13170
13170
|
});
|
|
13171
13171
|
}
|
|
13172
|
-
function
|
|
13173
|
-
const
|
|
13172
|
+
function Z(j, O) {
|
|
13173
|
+
const N = isVertical(S) ? window.innerHeight : window.innerWidth, J = O ? (N - NESTED_DISPLACEMENT) / N : 1, Q = O ? -NESTED_DISPLACEMENT : 0;
|
|
13174
13174
|
O && set(Y.current, {
|
|
13175
13175
|
transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(",")})`,
|
|
13176
13176
|
transform: isVertical(S) ? `scale(${J}) translate3d(0, ${Q}px, 0)` : `scale(${J}) translate3d(${Q}px, 0, 0)`
|
|
@@ -13187,7 +13187,7 @@ function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s,
|
|
|
13187
13187
|
onOpenChange: (j) => {
|
|
13188
13188
|
!u && !j || (j ? P(!0) : Ve(!0), _(j));
|
|
13189
13189
|
},
|
|
13190
|
-
open:
|
|
13190
|
+
open: H
|
|
13191
13191
|
}, /* @__PURE__ */ React__default.createElement(DrawerContext.Provider, {
|
|
13192
13192
|
value: {
|
|
13193
13193
|
activeSnapPoint: Pe,
|
|
@@ -13202,13 +13202,13 @@ function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s,
|
|
|
13202
13202
|
dismissible: u,
|
|
13203
13203
|
shouldAnimate: ue,
|
|
13204
13204
|
handleOnly: p,
|
|
13205
|
-
isOpen:
|
|
13205
|
+
isOpen: H,
|
|
13206
13206
|
isDragging: A,
|
|
13207
13207
|
shouldFade: Ae,
|
|
13208
13208
|
closeDrawer: Ve,
|
|
13209
13209
|
onNestedDrag: D,
|
|
13210
13210
|
onNestedOpenChange: $,
|
|
13211
|
-
onNestedRelease:
|
|
13211
|
+
onNestedRelease: Z,
|
|
13212
13212
|
keyboardIsOpen: se,
|
|
13213
13213
|
modal: E,
|
|
13214
13214
|
snapPointsOffset: we,
|
|
@@ -13217,7 +13217,7 @@ function Root({ open: e, onOpenChange: t, children: i, onDrag: n, onRelease: s,
|
|
|
13217
13217
|
shouldScaleBackground: o,
|
|
13218
13218
|
setBackgroundColorOnScale: l,
|
|
13219
13219
|
noBodyStyles: y,
|
|
13220
|
-
container:
|
|
13220
|
+
container: z,
|
|
13221
13221
|
autoFocus: B
|
|
13222
13222
|
}
|
|
13223
13223
|
}, i));
|
|
@@ -13243,16 +13243,16 @@ Overlay.displayName = "Drawer.Overlay";
|
|
|
13243
13243
|
const Content = /* @__PURE__ */ React__default.forwardRef(function({ onPointerDownOutside: e, style: t, onOpenAutoFocus: i, ...n }, s) {
|
|
13244
13244
|
const { drawerRef: a, onPress: o, onRelease: l, onDrag: c, keyboardIsOpen: f, snapPointsOffset: u, activeSnapPointIndex: p, modal: d, isOpen: b, direction: C, snapPoints: g, container: E, handleOnly: m, shouldAnimate: x, autoFocus: y } = useDrawerContext(), [S, T] = React__default.useState(!1), M = useComposedRefs(s, a), L = React__default.useRef(null), V = React__default.useRef(null), k = React__default.useRef(!1), U = g && g.length > 0;
|
|
13245
13245
|
useScaleBackground();
|
|
13246
|
-
const
|
|
13246
|
+
const z = (G, q, H = 0) => {
|
|
13247
13247
|
if (k.current) return !0;
|
|
13248
|
-
const _ = Math.abs(
|
|
13248
|
+
const _ = Math.abs(G.y), R = Math.abs(G.x), P = R > _, A = [
|
|
13249
13249
|
"bottom",
|
|
13250
13250
|
"right"
|
|
13251
13251
|
].includes(q) ? 1 : -1;
|
|
13252
13252
|
if (q === "left" || q === "right") {
|
|
13253
|
-
if (!(
|
|
13253
|
+
if (!(G.x * A < 0) && R >= 0 && R <= H)
|
|
13254
13254
|
return P;
|
|
13255
|
-
} else if (!(
|
|
13255
|
+
} else if (!(G.y * A < 0) && _ >= 0 && _ <= H)
|
|
13256
13256
|
return !P;
|
|
13257
13257
|
return k.current = !0, !0;
|
|
13258
13258
|
};
|
|
@@ -13261,8 +13261,8 @@ const Content = /* @__PURE__ */ React__default.forwardRef(function({ onPointerDo
|
|
|
13261
13261
|
T(!0);
|
|
13262
13262
|
});
|
|
13263
13263
|
}, []);
|
|
13264
|
-
function B(
|
|
13265
|
-
L.current = null, k.current = !1, l(
|
|
13264
|
+
function B(G) {
|
|
13265
|
+
L.current = null, k.current = !1, l(G);
|
|
13266
13266
|
}
|
|
13267
13267
|
return /* @__PURE__ */ React__default.createElement(Content$1, {
|
|
13268
13268
|
"data-vaul-drawer-direction": C,
|
|
@@ -13277,44 +13277,44 @@ const Content = /* @__PURE__ */ React__default.forwardRef(function({ onPointerDo
|
|
|
13277
13277
|
"--snap-point-height": `${u[p ?? 0]}px`,
|
|
13278
13278
|
...t
|
|
13279
13279
|
} : t,
|
|
13280
|
-
onPointerDown: (
|
|
13281
|
-
m || (n.onPointerDown == null || n.onPointerDown.call(n,
|
|
13282
|
-
x:
|
|
13283
|
-
y:
|
|
13284
|
-
}, o(
|
|
13280
|
+
onPointerDown: (G) => {
|
|
13281
|
+
m || (n.onPointerDown == null || n.onPointerDown.call(n, G), L.current = {
|
|
13282
|
+
x: G.pageX,
|
|
13283
|
+
y: G.pageY
|
|
13284
|
+
}, o(G));
|
|
13285
13285
|
},
|
|
13286
|
-
onOpenAutoFocus: (
|
|
13287
|
-
i == null || i(
|
|
13286
|
+
onOpenAutoFocus: (G) => {
|
|
13287
|
+
i == null || i(G), y || G.preventDefault();
|
|
13288
13288
|
},
|
|
13289
|
-
onPointerDownOutside: (
|
|
13290
|
-
if (e == null || e(
|
|
13291
|
-
|
|
13289
|
+
onPointerDownOutside: (G) => {
|
|
13290
|
+
if (e == null || e(G), !d || G.defaultPrevented) {
|
|
13291
|
+
G.preventDefault();
|
|
13292
13292
|
return;
|
|
13293
13293
|
}
|
|
13294
13294
|
f.current && (f.current = !1);
|
|
13295
13295
|
},
|
|
13296
|
-
onFocusOutside: (
|
|
13296
|
+
onFocusOutside: (G) => {
|
|
13297
13297
|
if (!d) {
|
|
13298
|
-
|
|
13298
|
+
G.preventDefault();
|
|
13299
13299
|
return;
|
|
13300
13300
|
}
|
|
13301
13301
|
},
|
|
13302
|
-
onPointerMove: (
|
|
13303
|
-
if (V.current =
|
|
13304
|
-
const q =
|
|
13305
|
-
|
|
13306
|
-
x:
|
|
13302
|
+
onPointerMove: (G) => {
|
|
13303
|
+
if (V.current = G, m || (n.onPointerMove == null || n.onPointerMove.call(n, G), !L.current)) return;
|
|
13304
|
+
const q = G.pageY - L.current.y, H = G.pageX - L.current.x, _ = G.pointerType === "touch" ? 10 : 2;
|
|
13305
|
+
z({
|
|
13306
|
+
x: H,
|
|
13307
13307
|
y: q
|
|
13308
|
-
}, C, _) ? c(
|
|
13308
|
+
}, C, _) ? c(G) : (Math.abs(H) > _ || Math.abs(q) > _) && (L.current = null);
|
|
13309
13309
|
},
|
|
13310
|
-
onPointerUp: (
|
|
13311
|
-
n.onPointerUp == null || n.onPointerUp.call(n,
|
|
13310
|
+
onPointerUp: (G) => {
|
|
13311
|
+
n.onPointerUp == null || n.onPointerUp.call(n, G), L.current = null, k.current = !1, l(G);
|
|
13312
13312
|
},
|
|
13313
|
-
onPointerOut: (
|
|
13314
|
-
n.onPointerOut == null || n.onPointerOut.call(n,
|
|
13313
|
+
onPointerOut: (G) => {
|
|
13314
|
+
n.onPointerOut == null || n.onPointerOut.call(n, G), B(V.current);
|
|
13315
13315
|
},
|
|
13316
|
-
onContextMenu: (
|
|
13317
|
-
n.onContextMenu == null || n.onContextMenu.call(n,
|
|
13316
|
+
onContextMenu: (G) => {
|
|
13317
|
+
n.onContextMenu == null || n.onContextMenu.call(n, G), V.current && B(V.current);
|
|
13318
13318
|
}
|
|
13319
13319
|
});
|
|
13320
13320
|
});
|
|
@@ -13425,7 +13425,7 @@ const Drawer = {
|
|
|
13425
13425
|
/* @__PURE__ */ jsx("div", { className: "gf-mx-auto gf-mb-3 gf-h-1 gf-w-[60px] gf-rounded-full gf-bg-white/30" }),
|
|
13426
13426
|
/* @__PURE__ */ jsx("div", { className: "gf-scrollbar-hide gf-flex gf-max-h-[90vh] gf-flex-col gf-gap-5 gf-overflow-y-scroll", children: e })
|
|
13427
13427
|
] }) })
|
|
13428
|
-
] }), ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx(
|
|
13428
|
+
] }), Container = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx("div", { ...i, className: cn("gf-p-6 gf-rounded-2xl gf-w-fit", t), children: e }), ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx(
|
|
13429
13429
|
"svg",
|
|
13430
13430
|
{
|
|
13431
13431
|
width: "12",
|
|
@@ -14584,6 +14584,422 @@ const Drawer = {
|
|
|
14584
14584
|
}
|
|
14585
14585
|
)
|
|
14586
14586
|
}
|
|
14587
|
+
), CodeBlockIcon = (e) => /* @__PURE__ */ jsx(
|
|
14588
|
+
"svg",
|
|
14589
|
+
{
|
|
14590
|
+
width: "18",
|
|
14591
|
+
height: "18",
|
|
14592
|
+
viewBox: "0 0 18 18",
|
|
14593
|
+
fill: "none",
|
|
14594
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14595
|
+
...e,
|
|
14596
|
+
children: /* @__PURE__ */ jsx(
|
|
14597
|
+
"path",
|
|
14598
|
+
{
|
|
14599
|
+
d: "M6.6 12.2537L7.65375 11.1845L5.46925 9L7.64425 6.825L6.5905 5.75575L3.34625 9L6.6 12.2537ZM11.4 12.2537L14.6538 9L11.4 5.74625L10.3462 6.8155L12.5307 9L10.3462 11.1845L11.4 12.2537ZM2.30775 17.5C1.80258 17.5 1.375 17.325 1.025 16.975C0.675 16.625 0.5 16.1974 0.5 15.6923V2.30775C0.5 1.80258 0.675 1.375 1.025 1.025C1.375 0.675 1.80258 0.5 2.30775 0.5H15.6923C16.1974 0.5 16.625 0.675 16.975 1.025C17.325 1.375 17.5 1.80258 17.5 2.30775V15.6923C17.5 16.1974 17.325 16.625 16.975 16.975C16.625 17.325 16.1974 17.5 15.6923 17.5H2.30775ZM2.30775 16H15.6923C15.7692 16 15.8398 15.9679 15.9038 15.9038C15.9679 15.8398 16 15.7692 16 15.6923V2.30775C16 2.23075 15.9679 2.16025 15.9038 2.09625C15.8398 2.03208 15.7692 2 15.6923 2H2.30775C2.23075 2 2.16025 2.03208 2.09625 2.09625C2.03208 2.16025 2 2.23075 2 2.30775V15.6923C2 15.7692 2.03208 15.8398 2.09625 15.9038C2.16025 15.9679 2.23075 16 2.30775 16Z",
|
|
14600
|
+
fill: "#554B6A"
|
|
14601
|
+
}
|
|
14602
|
+
)
|
|
14603
|
+
}
|
|
14604
|
+
), APIIcon = (e) => /* @__PURE__ */ jsxs(
|
|
14605
|
+
"svg",
|
|
14606
|
+
{
|
|
14607
|
+
width: "16",
|
|
14608
|
+
height: "16",
|
|
14609
|
+
viewBox: "0 0 16 16",
|
|
14610
|
+
fill: "none",
|
|
14611
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14612
|
+
...e,
|
|
14613
|
+
children: [
|
|
14614
|
+
/* @__PURE__ */ jsx(
|
|
14615
|
+
"mask",
|
|
14616
|
+
{
|
|
14617
|
+
id: "mask0_24315_24445",
|
|
14618
|
+
style: { maskType: "alpha" },
|
|
14619
|
+
maskUnits: "userSpaceOnUse",
|
|
14620
|
+
x: "0",
|
|
14621
|
+
y: "0",
|
|
14622
|
+
width: "16",
|
|
14623
|
+
height: "16",
|
|
14624
|
+
children: /* @__PURE__ */ jsx("rect", { width: "16", height: "16", fill: "#D9D9D9" })
|
|
14625
|
+
}
|
|
14626
|
+
),
|
|
14627
|
+
/* @__PURE__ */ jsx("g", { mask: "url(#mask0_24315_24445)", children: /* @__PURE__ */ jsx(
|
|
14628
|
+
"path",
|
|
14629
|
+
{
|
|
14630
|
+
d: "M9.51267 13V12H11.16C11.396 12 11.5949 11.9201 11.7568 11.7603C11.9188 11.6004 11.9998 11.4068 11.9998 11.1795V9.80767C11.9998 9.41111 12.1178 9.05556 12.3537 8.741C12.5896 8.42644 12.8968 8.20767 13.2755 8.08467V7.91533C12.8968 7.79233 12.5896 7.57356 12.3537 7.259C12.1178 6.94444 11.9998 6.58889 11.9998 6.19233V4.8205C11.9998 4.59317 11.9188 4.39956 11.7568 4.23967C11.5949 4.07989 11.396 4 11.16 4H9.51267V3H11.16C11.6729 3 12.1077 3.17733 12.4645 3.532C12.8214 3.88678 12.9998 4.31628 12.9998 4.8205V6.19233C12.9998 6.42822 13.0829 6.62611 13.2492 6.786C13.4154 6.94578 13.6186 7.02567 13.8588 7.02567H14.3332V8.97433H13.8588C13.6186 8.97433 13.4154 9.05422 13.2492 9.214C13.0829 9.37389 12.9998 9.57178 12.9998 9.80767V11.1795C12.9998 11.6837 12.8214 12.1132 12.4645 12.468C12.1077 12.8227 11.6729 13 11.16 13H9.51267ZM4.83967 13C4.33112 13 3.89734 12.8227 3.53834 12.468C3.17934 12.1132 2.99984 11.6837 2.99984 11.1795V9.80767C2.99984 9.57178 2.91673 9.37389 2.7505 9.214C2.58428 9.05422 2.38106 8.97433 2.14084 8.97433H1.6665V7.02567H2.14084C2.38106 7.02567 2.58428 6.94578 2.7505 6.786C2.91673 6.62611 2.99984 6.42822 2.99984 6.19233V4.8205C2.99984 4.31628 3.17934 3.88678 3.53834 3.532C3.89734 3.17733 4.33112 3 4.83967 3H6.49334V4H4.83967C4.608 4 4.41012 4.07989 4.246 4.23967C4.08189 4.39956 3.99984 4.59317 3.99984 4.8205V6.19233C3.99984 6.58889 3.88295 6.94444 3.64917 7.259C3.41539 7.57356 3.10706 7.79233 2.72417 7.91533V8.08467C3.10706 8.20767 3.41539 8.42644 3.64917 8.741C3.88295 9.05556 3.99984 9.41111 3.99984 9.80767V11.1795C3.99984 11.4068 4.08189 11.6004 4.246 11.7603C4.41012 11.9201 4.608 12 4.83967 12H6.49334V13H4.83967Z",
|
|
14631
|
+
fill: "#554B6A"
|
|
14632
|
+
}
|
|
14633
|
+
) })
|
|
14634
|
+
]
|
|
14635
|
+
}
|
|
14636
|
+
), BlogIcon = (e) => /* @__PURE__ */ jsxs(
|
|
14637
|
+
"svg",
|
|
14638
|
+
{
|
|
14639
|
+
width: "16",
|
|
14640
|
+
height: "16",
|
|
14641
|
+
viewBox: "0 0 16 16",
|
|
14642
|
+
fill: "none",
|
|
14643
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14644
|
+
...e,
|
|
14645
|
+
children: [
|
|
14646
|
+
/* @__PURE__ */ jsx(
|
|
14647
|
+
"mask",
|
|
14648
|
+
{
|
|
14649
|
+
id: "mask0_24315_24428",
|
|
14650
|
+
style: { maskType: "alpha" },
|
|
14651
|
+
maskUnits: "userSpaceOnUse",
|
|
14652
|
+
x: "0",
|
|
14653
|
+
y: "0",
|
|
14654
|
+
width: "16",
|
|
14655
|
+
height: "16",
|
|
14656
|
+
children: /* @__PURE__ */ jsx("rect", { width: "16", height: "16", fill: "#D9D9D9" })
|
|
14657
|
+
}
|
|
14658
|
+
),
|
|
14659
|
+
/* @__PURE__ */ jsx("g", { mask: "url(#mask0_24315_24428)", children: /* @__PURE__ */ jsx(
|
|
14660
|
+
"path",
|
|
14661
|
+
{
|
|
14662
|
+
d: "M4.83325 11.1677H9.16659V10.1677H4.83325V11.1677ZM4.83325 8.50102H11.1666V7.50102H4.83325V8.50102ZM4.83325 5.83435H11.1666V4.83435H4.83325V5.83435ZM3.53842 13.6677C3.20164 13.6677 2.91659 13.551 2.68325 13.3177C2.44992 13.0844 2.33325 12.7993 2.33325 12.4625V3.53952C2.33325 3.20274 2.44992 2.91768 2.68325 2.68435C2.91659 2.45102 3.20164 2.33435 3.53842 2.33435H12.4614C12.7982 2.33435 13.0833 2.45102 13.3166 2.68435C13.5499 2.91768 13.6666 3.20274 13.6666 3.53952V12.4625C13.6666 12.7993 13.5499 13.0844 13.3166 13.3177C13.0833 13.551 12.7982 13.6677 12.4614 13.6677H3.53842ZM3.53842 12.6677H12.4614C12.5128 12.6677 12.5598 12.6463 12.6024 12.6035C12.6452 12.5609 12.6666 12.5139 12.6666 12.4625V3.53952C12.6666 3.48818 12.6452 3.44118 12.6024 3.39852C12.5598 3.35574 12.5128 3.33435 12.4614 3.33435H3.53842C3.48709 3.33435 3.44009 3.35574 3.39742 3.39852C3.35464 3.44118 3.33325 3.48818 3.33325 3.53952V12.4625C3.33325 12.5139 3.35464 12.5609 3.39742 12.6035C3.44009 12.6463 3.48709 12.6677 3.53842 12.6677Z",
|
|
14663
|
+
fill: "#554B6A"
|
|
14664
|
+
}
|
|
14665
|
+
) })
|
|
14666
|
+
]
|
|
14667
|
+
}
|
|
14668
|
+
), BrandKitIcon = (e) => /* @__PURE__ */ jsxs(
|
|
14669
|
+
"svg",
|
|
14670
|
+
{
|
|
14671
|
+
width: "16",
|
|
14672
|
+
height: "16",
|
|
14673
|
+
viewBox: "0 0 16 16",
|
|
14674
|
+
fill: "none",
|
|
14675
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14676
|
+
...e,
|
|
14677
|
+
children: [
|
|
14678
|
+
/* @__PURE__ */ jsx(
|
|
14679
|
+
"mask",
|
|
14680
|
+
{
|
|
14681
|
+
id: "mask0_24315_24433",
|
|
14682
|
+
style: { maskType: "alpha" },
|
|
14683
|
+
maskUnits: "userSpaceOnUse",
|
|
14684
|
+
x: "0",
|
|
14685
|
+
y: "0",
|
|
14686
|
+
width: "16",
|
|
14687
|
+
height: "16",
|
|
14688
|
+
children: /* @__PURE__ */ jsx("rect", { width: "16", height: "16", fill: "#D9D9D9" })
|
|
14689
|
+
}
|
|
14690
|
+
),
|
|
14691
|
+
/* @__PURE__ */ jsx("g", { mask: "url(#mask0_24315_24433)", children: /* @__PURE__ */ jsx(
|
|
14692
|
+
"path",
|
|
14693
|
+
{
|
|
14694
|
+
d: "M5.58982 11.9796C5.67093 11.9864 5.7501 11.9915 5.82732 11.9949C5.90443 11.9984 5.98765 12.0001 6.07699 12.0001C6.17099 12.0001 6.25854 11.9984 6.33965 11.9949C6.42087 11.9915 6.50421 11.9864 6.58965 11.9796V13.0514C6.58965 13.1112 6.60893 13.1603 6.64749 13.1988C6.68593 13.2372 6.73504 13.2564 6.79482 13.2564H13.0513C13.1111 13.2564 13.1602 13.2372 13.1987 13.1988C13.2371 13.1603 13.2563 13.1112 13.2563 13.0514V6.79494C13.2563 6.73516 13.2371 6.68605 13.1987 6.64761C13.1602 6.60905 13.1111 6.58977 13.0513 6.58977H11.9795C11.9863 6.50433 11.9914 6.421 11.9948 6.33977C11.9983 6.25866 12 6.17111 12 6.07711C12 5.98777 11.9983 5.90455 11.9948 5.82744C11.9914 5.75022 11.9863 5.67105 11.9795 5.58994H13.0513C13.3827 5.58994 13.6663 5.70794 13.9023 5.94394C14.1383 6.17994 14.2563 6.46361 14.2563 6.79494V13.0514C14.2563 13.3828 14.1383 13.6664 13.9023 13.9024C13.6663 14.1384 13.3827 14.2564 13.0513 14.2564H6.79482C6.46349 14.2564 6.17982 14.1384 5.94382 13.9024C5.70782 13.6664 5.58982 13.3828 5.58982 13.0514V11.9796ZM6.07815 10.4103C4.87137 10.4103 3.84726 9.99 3.00582 9.14944C2.16437 8.30877 1.74365 7.28505 1.74365 6.07827C1.74365 4.8715 2.16393 3.84739 3.00449 3.00594C3.84515 2.1645 4.86887 1.74377 6.07565 1.74377C7.28243 1.74377 8.30654 2.16405 9.14799 3.00461C9.98943 3.84527 10.4102 4.869 10.4102 6.07577C10.4102 7.28255 9.98987 8.30666 9.14932 9.14811C8.30865 9.98955 7.28493 10.4103 6.07815 10.4103ZM6.07699 9.41044C6.99921 9.41044 7.78532 9.08544 8.43532 8.43544C9.08532 7.78544 9.41032 6.99933 9.41032 6.07711C9.41032 5.15489 9.08532 4.36877 8.43532 3.71877C7.78532 3.06877 6.99921 2.74377 6.07699 2.74377C5.15476 2.74377 4.36865 3.06877 3.71865 3.71877C3.06865 4.36877 2.74365 5.15489 2.74365 6.07711C2.74365 6.99933 3.06865 7.78544 3.71865 8.43544C4.36865 9.08544 5.15476 9.41044 6.07699 9.41044Z",
|
|
14695
|
+
fill: "#554B6A"
|
|
14696
|
+
}
|
|
14697
|
+
) })
|
|
14698
|
+
]
|
|
14699
|
+
}
|
|
14700
|
+
), ConsoleIcon = (e) => /* @__PURE__ */ jsx(
|
|
14701
|
+
"svg",
|
|
14702
|
+
{
|
|
14703
|
+
width: "24",
|
|
14704
|
+
height: "24",
|
|
14705
|
+
viewBox: "0 0 24 24",
|
|
14706
|
+
fill: "none",
|
|
14707
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14708
|
+
...e,
|
|
14709
|
+
children: /* @__PURE__ */ jsx(
|
|
14710
|
+
"path",
|
|
14711
|
+
{
|
|
14712
|
+
d: "M4 20C3.45 20 2.97917 19.8042 2.5875 19.4125C2.19583 19.0208 2 18.55 2 18V6C2 5.45 2.19583 4.97917 2.5875 4.5875C2.97917 4.19583 3.45 4 4 4H20C20.55 4 21.0208 4.19583 21.4125 4.5875C21.8042 4.97917 22 5.45 22 6V18C22 18.55 21.8042 19.0208 21.4125 19.4125C21.0208 19.8042 20.55 20 20 20H4ZM4 18H20V8H4V18ZM7.5 17L6.1 15.6L8.675 13L6.075 10.4L7.5 9L11.5 13L7.5 17ZM12 17V15H18V17H12Z",
|
|
14713
|
+
fill: "#554B6A"
|
|
14714
|
+
}
|
|
14715
|
+
)
|
|
14716
|
+
}
|
|
14717
|
+
), CopyrightsIcon = (e) => /* @__PURE__ */ jsx(
|
|
14718
|
+
"svg",
|
|
14719
|
+
{
|
|
14720
|
+
width: "12",
|
|
14721
|
+
height: "12",
|
|
14722
|
+
viewBox: "0 0 12 12",
|
|
14723
|
+
fill: "none",
|
|
14724
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14725
|
+
...e,
|
|
14726
|
+
children: /* @__PURE__ */ jsx(
|
|
14727
|
+
"path",
|
|
14728
|
+
{
|
|
14729
|
+
d: "M5 7.875H7C7.10625 7.875 7.19529 7.83904 7.26713 7.76713C7.33904 7.69529 7.375 7.60625 7.375 7.5V6.625H6.625V7.125H5.375V4.875H6.625V5.375H7.375V4.49987C7.375 4.39354 7.33904 4.3045 7.26713 4.23275C7.19529 4.16092 7.10625 4.125 7 4.125H5C4.89375 4.125 4.80471 4.16096 4.73288 4.23288C4.66096 4.30471 4.625 4.39375 4.625 4.5V7.5C4.625 7.60625 4.66096 7.69529 4.73288 7.76713C4.80471 7.83904 4.89375 7.875 5 7.875ZM6.00087 10.75C5.34387 10.75 4.72633 10.6253 4.14825 10.376C3.57017 10.1267 3.06733 9.78829 2.63975 9.36088C2.21217 8.93346 1.87362 8.43083 1.62412 7.853C1.37471 7.27517 1.25 6.65779 1.25 6.00087C1.25 5.34387 1.37467 4.72633 1.624 4.14825C1.87333 3.57017 2.21171 3.06733 2.63913 2.63975C3.06654 2.21217 3.56917 1.87362 4.147 1.62412C4.72483 1.37471 5.34221 1.25 5.99913 1.25C6.65613 1.25 7.27367 1.37467 7.85175 1.624C8.42983 1.87333 8.93267 2.21171 9.36025 2.63913C9.78783 3.06654 10.1264 3.56917 10.3759 4.147C10.6253 4.72483 10.75 5.34221 10.75 5.99913C10.75 6.65613 10.6253 7.27367 10.376 7.85175C10.1267 8.42983 9.78829 8.93267 9.36088 9.36025C8.93346 9.78783 8.43083 10.1264 7.853 10.3759C7.27517 10.6253 6.65779 10.75 6.00087 10.75ZM6 10C7.11667 10 8.0625 9.6125 8.8375 8.8375C9.6125 8.0625 10 7.11667 10 6C10 4.88333 9.6125 3.9375 8.8375 3.1625C8.0625 2.3875 7.11667 2 6 2C4.88333 2 3.9375 2.3875 3.1625 3.1625C2.3875 3.9375 2 4.88333 2 6C2 7.11667 2.3875 8.0625 3.1625 8.8375C3.9375 9.6125 4.88333 10 6 10Z",
|
|
14730
|
+
fill: "#554B6A"
|
|
14731
|
+
}
|
|
14732
|
+
)
|
|
14733
|
+
}
|
|
14734
|
+
), DiscordIcon = (e) => /* @__PURE__ */ jsx(
|
|
14735
|
+
"svg",
|
|
14736
|
+
{
|
|
14737
|
+
width: "24",
|
|
14738
|
+
height: "24",
|
|
14739
|
+
viewBox: "0 0 24 24",
|
|
14740
|
+
fill: "none",
|
|
14741
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14742
|
+
...e,
|
|
14743
|
+
children: /* @__PURE__ */ jsx(
|
|
14744
|
+
"path",
|
|
14745
|
+
{
|
|
14746
|
+
d: "M18.9419 5.29661C17.6473 4.69088 16.263 4.25066 14.8157 4C14.638 4.32134 14.4304 4.75355 14.2872 5.09738C12.7487 4.86601 11.2245 4.86601 9.7143 5.09738C9.57116 4.75355 9.3588 4.32134 9.17947 4C7.73067 4.25066 6.3448 4.6925 5.05016 5.29982C2.43887 9.24582 1.73099 13.0938 2.08493 16.8872C3.81688 18.1805 5.49534 18.9662 7.14548 19.4804C7.55291 18.9196 7.91628 18.3235 8.22931 17.6953C7.63313 17.4688 7.06211 17.1892 6.52256 16.8647C6.6657 16.7586 6.80571 16.6478 6.94098 16.5337C10.2318 18.0729 13.8074 18.0729 17.0589 16.5337C17.1958 16.6478 17.3358 16.7586 17.4774 16.8647C16.9362 17.1908 16.3637 17.4704 15.7675 17.697C16.0805 18.3235 16.4423 18.9212 16.8513 19.4819C18.503 18.9678 20.183 18.1822 21.915 16.8872C22.3303 12.4897 21.2056 8.67705 18.9419 5.29661ZM8.67765 14.5543C7.68977 14.5543 6.87963 13.632 6.87963 12.509C6.87963 11.3859 7.67247 10.4621 8.67765 10.4621C9.68285 10.4621 10.493 11.3843 10.4757 12.509C10.4772 13.632 9.68285 14.5543 8.67765 14.5543ZM15.3223 14.5543C14.3344 14.5543 13.5243 13.632 13.5243 12.509C13.5243 11.3859 14.3171 10.4621 15.3223 10.4621C16.3275 10.4621 17.1376 11.3843 17.1203 12.509C17.1203 13.632 16.3275 14.5543 15.3223 14.5543Z",
|
|
14747
|
+
fill: "#817A90"
|
|
14748
|
+
}
|
|
14749
|
+
)
|
|
14750
|
+
}
|
|
14751
|
+
), DraftIcon = (e) => /* @__PURE__ */ jsxs(
|
|
14752
|
+
"svg",
|
|
14753
|
+
{
|
|
14754
|
+
width: "16",
|
|
14755
|
+
height: "16",
|
|
14756
|
+
viewBox: "0 0 16 16",
|
|
14757
|
+
fill: "none",
|
|
14758
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14759
|
+
...e,
|
|
14760
|
+
children: [
|
|
14761
|
+
/* @__PURE__ */ jsx(
|
|
14762
|
+
"mask",
|
|
14763
|
+
{
|
|
14764
|
+
id: "mask0_24315_24440",
|
|
14765
|
+
style: { maskType: "alpha" },
|
|
14766
|
+
maskUnits: "userSpaceOnUse",
|
|
14767
|
+
x: "0",
|
|
14768
|
+
y: "0",
|
|
14769
|
+
width: "16",
|
|
14770
|
+
height: "16",
|
|
14771
|
+
children: /* @__PURE__ */ jsx("rect", { width: "16", height: "16", fill: "#D9D9D9" })
|
|
14772
|
+
}
|
|
14773
|
+
),
|
|
14774
|
+
/* @__PURE__ */ jsx("g", { mask: "url(#mask0_24315_24440)", children: /* @__PURE__ */ jsx(
|
|
14775
|
+
"path",
|
|
14776
|
+
{
|
|
14777
|
+
d: "M4.20517 14.3323C3.86839 14.3323 3.58333 14.2156 3.35 13.9823C3.11667 13.749 3 13.4639 3 13.1271V2.87082C3 2.53404 3.11667 2.24898 3.35 2.01565C3.58333 1.78232 3.86839 1.66565 4.20517 1.66565H9.5L13 5.16565V13.1271C13 13.4639 12.8833 13.749 12.65 13.9823C12.4167 14.2156 12.1316 14.3323 11.7948 14.3323H4.20517ZM9 5.66565V2.66565H4.20517C4.15383 2.66565 4.10683 2.68704 4.06417 2.72982C4.02139 2.77248 4 2.81948 4 2.87082V13.1271C4 13.1785 4.02139 13.2255 4.06417 13.2681C4.10683 13.3109 4.15383 13.3323 4.20517 13.3323H11.7948C11.8462 13.3323 11.8932 13.3109 11.9358 13.2681C11.9786 13.2255 12 13.1785 12 13.1271V5.66565H9Z",
|
|
14778
|
+
fill: "#554B6A"
|
|
14779
|
+
}
|
|
14780
|
+
) })
|
|
14781
|
+
]
|
|
14782
|
+
}
|
|
14783
|
+
), OtterSecIcon = (e) => /* @__PURE__ */ jsxs(
|
|
14784
|
+
"svg",
|
|
14785
|
+
{
|
|
14786
|
+
width: "44",
|
|
14787
|
+
height: "45",
|
|
14788
|
+
viewBox: "0 0 44 45",
|
|
14789
|
+
fill: "none",
|
|
14790
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14791
|
+
...e,
|
|
14792
|
+
children: [
|
|
14793
|
+
/* @__PURE__ */ jsx(
|
|
14794
|
+
"path",
|
|
14795
|
+
{
|
|
14796
|
+
d: "M14.1692 1.23502C14.3871 0.920224 14.7988 0.508569 15.0652 0.339064C15.3557 0.169559 16.058 0.0242684 16.6391 5.34058e-05C17.4867 5.34058e-05 17.8015 0.145344 18.4553 0.799149C19.2301 1.59825 19.2544 1.62246 21.8938 1.74354C23.3709 1.81618 25.1144 2.05833 25.7682 2.27627C26.4462 2.46999 27.5359 3.00272 28.2381 3.43859C28.9162 3.87446 30.0543 4.69777 30.7807 5.27893C31.6525 5.98117 32.5 6.44125 34.8488 7.02241L34.2677 8.16052C33.9529 8.81432 33.2749 9.71028 32.7663 10.1946C32.2336 10.6547 31.3861 11.1874 30.8534 11.3811C30.248 11.5748 29.4005 11.6233 27.2211 11.3811L26.9305 12.6645C26.761 13.3425 26.4462 14.1416 26.2525 14.408C25.8893 14.8681 25.8893 14.7712 26.0104 13.3667C26.083 12.5434 26.083 11.8654 26.0104 11.8654C25.9377 11.8654 25.5503 12.5434 25.1386 13.3667C24.6543 14.3596 24.3153 14.8197 24.17 14.6501C24.0247 14.5049 24.1942 13.8026 24.6785 12.7129C25.0902 11.7686 25.3566 10.9695 25.2597 10.8968C25.187 10.8242 23.9521 10.7273 22.5476 10.6789C20.562 10.6305 19.5934 10.7031 18.3826 11.0421C17.5109 11.2843 16.2033 11.8654 15.4768 12.3497C14.7504 12.834 13.6849 13.7784 13.1037 14.4322C12.5226 15.086 11.7961 16.1515 11.4813 16.8295C11.1423 17.4833 10.7065 18.6941 10.5127 19.4932C10.2948 20.2922 10.1253 21.9147 10.1011 23.1254C10.1011 24.8447 10.2222 25.6922 10.7307 27.1693C11.0697 28.2106 11.7235 29.6392 12.1594 30.3173C12.6194 31.0195 13.6123 32.1818 14.4114 32.8841C15.1862 33.6105 16.397 34.458 17.0508 34.7728C17.7288 35.0876 18.8669 35.5235 19.5934 35.7172C20.3198 35.9109 21.9422 36.0804 23.2256 36.0804C24.5332 36.0804 26.1556 35.9109 26.979 35.693C27.7781 35.4751 29.2067 34.9181 30.1269 34.4338C31.1682 33.8769 32.4273 32.9325 33.3959 31.9639C34.2677 31.0922 35.3089 29.7361 35.7448 28.937C36.1565 28.1379 36.6892 26.7819 36.8829 25.9101C37.1008 25.0384 37.2703 23.8276 37.2703 23.1738C37.2703 22.5442 37.1493 21.4546 37.004 20.7523C36.8587 20.0743 36.4712 18.9846 36.1565 18.3308C35.8417 17.7012 35.5269 17.1927 35.4542 17.1927C35.3816 17.1927 35.4058 18.2582 35.4784 19.5416C35.5753 20.9461 35.5269 22.52 35.3574 23.3676C35.2121 24.1667 34.7762 25.4743 34.3888 26.2734C33.9529 27.1693 33.1538 28.2348 32.2578 29.0581C31.2892 29.9783 30.2964 30.6321 29.0372 31.1648C28.0444 31.5765 26.7368 32.0123 26.1314 32.085C25.066 32.2303 25.0902 32.206 26.979 31.2859C28.1897 30.7047 29.4973 29.8088 30.4417 28.9128C31.4345 27.9926 32.2578 26.9514 32.7179 26.0312C33.2991 24.8689 33.4444 24.1424 33.5654 22.399C33.6623 20.825 33.5897 19.7111 33.2991 18.4035C33.0811 17.4107 32.6211 16.0062 32.3063 15.3282C31.9673 14.6259 31.7009 13.9963 31.7009 13.9237C31.7009 13.8511 31.943 13.8026 32.2578 13.8026C32.5484 13.8026 33.8318 14.0448 35.091 14.3838C36.3502 14.6986 37.9484 15.2313 38.6022 15.5461C39.2802 15.8851 40.1277 16.4905 40.5394 16.8779C40.951 17.2654 41.4595 17.9434 41.6775 18.4035C41.9196 18.8636 42.2102 19.9048 42.3555 20.7039C42.5734 21.8904 42.5492 22.52 42.2344 24.094C42.0165 25.2563 41.4353 26.8787 40.7815 28.2106C40.2004 29.3971 39.1349 31.0921 38.4327 31.9397C37.7304 32.8114 36.4955 34.0464 35.6964 34.7002C34.8973 35.3298 33.2506 36.3468 32.0641 36.928C30.8776 37.5091 28.9646 38.2114 27.8265 38.4777C26.4462 38.8167 24.9933 38.9863 23.3467 38.9863C21.7243 38.9863 20.2956 38.841 18.988 38.5019C17.9225 38.2356 16.2759 37.6302 15.3557 37.1701C14.4356 36.71 12.91 35.7657 11.9899 35.0634C11.0697 34.3612 9.78629 33.1262 9.13248 32.3271C8.50289 31.528 7.65537 30.2688 7.26793 29.5424C6.88049 28.8159 6.32354 27.3873 6.03296 26.3944C5.76659 25.4016 5.4518 23.6824 5.35494 22.5685C5.25808 21.4788 5.11279 20.5828 5.01593 20.5828C4.89485 20.5828 4.74956 21.0913 4.67692 21.7209C4.58006 22.3747 4.58006 23.9245 4.6527 25.1837C4.72535 26.4429 5.01593 28.259 5.28229 29.1792C5.57287 30.0993 6.15403 31.6491 6.61412 32.5693C7.07421 33.4894 7.99438 34.8939 8.62397 35.6446C9.25356 36.4195 10.3917 37.5091 11.1181 38.0661C11.8446 38.5988 13.3217 39.4706 14.3871 39.9791C15.4526 40.4876 17.3172 41.1414 18.5037 41.432C20.223 41.8678 21.3611 41.9889 23.831 41.9647C26.5189 41.9647 27.2938 41.8678 29.1099 41.3109C30.2722 40.9719 31.7977 40.3907 32.5 40.0517C33.178 39.6885 34.413 38.9378 35.2121 38.3809C36.0112 37.8239 37.3672 36.6132 38.2389 35.693C39.1107 34.7728 40.2246 33.3684 40.6847 32.5693C41.169 31.7702 41.8712 30.4383 42.2586 29.5908C42.6461 28.7675 43.0335 28.0653 43.1546 28.0895C43.2515 28.0895 43.1062 28.7675 42.864 29.615C42.5977 30.4383 42.2344 31.5522 42.0407 32.085C41.847 32.6177 41.3627 33.7074 40.951 34.5065C40.5636 35.3056 39.6918 36.6616 39.0623 37.5091C38.4085 38.3809 37.1008 39.7127 36.1807 40.4876C35.2605 41.2625 33.8318 42.2553 33.0327 42.6669C32.2336 43.0786 30.8049 43.684 29.8848 43.9988C28.9646 44.3136 27.318 44.6768 26.2525 44.8221C25.1144 44.9916 23.2014 45.04 21.6517 44.9674C20.0535 44.8705 18.0194 44.5799 16.5665 44.1925C15.2347 43.8535 13.1764 43.1028 11.9656 42.4974C10.7791 41.9163 9.03562 40.8508 8.11545 40.1486C7.19528 39.4463 5.83924 38.1629 5.11279 37.2912C4.38634 36.4195 3.36931 35.015 2.88501 34.1432C2.37649 33.2715 1.65004 31.6491 1.23838 30.511C0.850944 29.3729 0.390858 27.581 0.221353 26.5155C0.0276326 25.3532 -0.0450125 23.5371 0.0276326 21.9147C0.124493 19.6869 0.293998 18.8151 1.04466 16.5873C1.52896 15.1344 2.42492 13.1004 3.00608 12.1076C3.58724 11.1148 4.60427 9.68606 5.23386 8.91118C5.86345 8.16052 6.88049 7.11927 7.48586 6.58654C8.09124 6.07803 9.39885 5.10942 10.3917 4.47983C11.3845 3.82603 12.571 3.14801 13.0069 2.9785C13.4428 2.809 13.7818 2.4942 13.7818 2.22784C13.806 2.0099 13.9755 1.54982 14.1692 1.23502Z",
|
|
14797
|
+
fill: "#554B6A"
|
|
14798
|
+
}
|
|
14799
|
+
),
|
|
14800
|
+
/* @__PURE__ */ jsx(
|
|
14801
|
+
"path",
|
|
14802
|
+
{
|
|
14803
|
+
d: "M26.616 5.32809C26.8822 5.32825 27.1487 5.47389 27.1971 5.6191C27.2212 5.78849 27.2212 6.07828 27.1971 6.22359C27.1487 6.39301 26.8822 6.53886 26.616 6.53902C26.3498 6.53902 26.0834 6.41782 26.0105 6.29684C25.9379 6.17576 25.9379 5.88509 26.0105 5.69137C26.059 5.49766 26.3497 5.32809 26.616 5.32809Z",
|
|
14804
|
+
fill: "#F5F8FA"
|
|
14805
|
+
}
|
|
14806
|
+
)
|
|
14807
|
+
]
|
|
14808
|
+
}
|
|
14809
|
+
), SDKIcon = (e) => /* @__PURE__ */ jsxs(
|
|
14810
|
+
"svg",
|
|
14811
|
+
{
|
|
14812
|
+
width: "16",
|
|
14813
|
+
height: "16",
|
|
14814
|
+
viewBox: "0 0 16 16",
|
|
14815
|
+
fill: "none",
|
|
14816
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14817
|
+
...e,
|
|
14818
|
+
children: [
|
|
14819
|
+
/* @__PURE__ */ jsx(
|
|
14820
|
+
"mask",
|
|
14821
|
+
{
|
|
14822
|
+
id: "mask0_24315_24450",
|
|
14823
|
+
style: { maskType: "alpha" },
|
|
14824
|
+
maskUnits: "userSpaceOnUse",
|
|
14825
|
+
x: "0",
|
|
14826
|
+
y: "0",
|
|
14827
|
+
width: "16",
|
|
14828
|
+
height: "16",
|
|
14829
|
+
children: /* @__PURE__ */ jsx("rect", { width: "16", height: "16", fill: "#D9D9D9" })
|
|
14830
|
+
}
|
|
14831
|
+
),
|
|
14832
|
+
/* @__PURE__ */ jsx("g", { mask: "url(#mask0_24315_24450)", children: /* @__PURE__ */ jsx(
|
|
14833
|
+
"path",
|
|
14834
|
+
{
|
|
14835
|
+
d: "M3.53866 13.6667C3.20622 13.6667 2.92222 13.5489 2.68666 13.3135C2.45122 13.0779 2.3335 12.7939 2.3335 12.4615V4.5C2.3335 4.38289 2.34994 4.27306 2.38283 4.1705C2.41572 4.06794 2.46938 3.97267 2.54383 3.88467L3.46433 2.777C3.53866 2.68467 3.62366 2.61544 3.71933 2.56933C3.81511 2.52311 3.92155 2.5 4.03866 2.5H11.9617C12.0788 2.5 12.1852 2.52311 12.281 2.56933C12.3767 2.61544 12.4617 2.68467 12.536 2.777L13.4565 3.88467C13.5309 3.97267 13.5846 4.06794 13.6175 4.1705C13.6504 4.27306 13.6668 4.38289 13.6668 4.5V12.4615C13.6668 12.7939 13.5491 13.0779 13.3137 13.3135C13.0781 13.5489 12.7941 13.6667 12.4617 13.6667H3.53866ZM3.60016 4.16667H12.4002L11.8335 3.5H4.16683L3.60016 4.16667ZM3.53866 12.6667H12.4617C12.5216 12.6667 12.5707 12.6474 12.6092 12.609C12.6476 12.5706 12.6668 12.5214 12.6668 12.4615V5.16667H3.3335V12.4615C3.3335 12.5214 3.35272 12.5706 3.39116 12.609C3.42961 12.6474 3.47877 12.6667 3.53866 12.6667ZM9.70016 11.123L11.8232 9L9.70016 6.877L8.97716 7.6L10.3772 9L8.97716 10.4L9.70016 11.123ZM6.3335 11.123L7.0565 10.4L5.6565 9L7.0565 7.6L6.3335 6.877L4.2105 9L6.3335 11.123Z",
|
|
14836
|
+
fill: "#554B6A"
|
|
14837
|
+
}
|
|
14838
|
+
) })
|
|
14839
|
+
]
|
|
14840
|
+
}
|
|
14841
|
+
), StakeIcon = (e) => /* @__PURE__ */ jsxs(
|
|
14842
|
+
"svg",
|
|
14843
|
+
{
|
|
14844
|
+
width: "16",
|
|
14845
|
+
height: "16",
|
|
14846
|
+
viewBox: "0 0 16 16",
|
|
14847
|
+
fill: "none",
|
|
14848
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14849
|
+
...e,
|
|
14850
|
+
children: [
|
|
14851
|
+
/* @__PURE__ */ jsx(
|
|
14852
|
+
"mask",
|
|
14853
|
+
{
|
|
14854
|
+
id: "mask0_24315_24292",
|
|
14855
|
+
style: { maskType: "alpha" },
|
|
14856
|
+
maskUnits: "userSpaceOnUse",
|
|
14857
|
+
x: "0",
|
|
14858
|
+
y: "0",
|
|
14859
|
+
width: "16",
|
|
14860
|
+
height: "16",
|
|
14861
|
+
children: /* @__PURE__ */ jsx("rect", { width: "16", height: "16", fill: "#D9D9D9" })
|
|
14862
|
+
}
|
|
14863
|
+
),
|
|
14864
|
+
/* @__PURE__ */ jsx("g", { mask: "url(#mask0_24315_24292)", children: /* @__PURE__ */ jsx(
|
|
14865
|
+
"path",
|
|
14866
|
+
{
|
|
14867
|
+
d: "M10.001 13C8.60544 13 7.42306 12.5157 6.45383 11.5472C5.48461 10.5786 5 9.39656 5 8.001C5 6.60544 5.48428 5.42306 6.45283 4.45383C7.42139 3.48461 8.60344 3 9.999 3C11.3946 3 12.5769 3.48428 13.5462 4.45283C14.5154 5.42139 15 6.60344 15 7.999C15 9.39456 14.5157 10.5769 13.5472 11.5462C12.5786 12.5154 11.3966 13 10.001 13ZM4.66667 12.8205C3.57433 12.5307 2.69017 11.9391 2.01417 11.0455C1.33806 10.1519 1 9.13678 1 8C1 6.86322 1.33806 5.84806 2.01417 4.9545C2.69017 4.06094 3.57433 3.46928 4.66667 3.1795V4.23333C3.86667 4.51111 3.22222 4.99444 2.73333 5.68333C2.24444 6.37222 2 7.14444 2 8C2 8.85556 2.24444 9.62778 2.73333 10.3167C3.22222 11.0056 3.86667 11.4889 4.66667 11.7667V12.8205ZM10 12C11.1111 12 12.0556 11.6111 12.8333 10.8333C13.6111 10.0556 14 9.11111 14 8C14 6.88889 13.6111 5.94444 12.8333 5.16667C12.0556 4.38889 11.1111 4 10 4C8.88889 4 7.94444 4.38889 7.16667 5.16667C6.38889 5.94444 6 6.88889 6 8C6 9.11111 6.38889 10.0556 7.16667 10.8333C7.94444 11.6111 8.88889 12 10 12Z",
|
|
14868
|
+
fill: "#554B6A"
|
|
14869
|
+
}
|
|
14870
|
+
) })
|
|
14871
|
+
]
|
|
14872
|
+
}
|
|
14873
|
+
), XSolidIcon = (e) => /* @__PURE__ */ jsx(
|
|
14874
|
+
"svg",
|
|
14875
|
+
{
|
|
14876
|
+
width: "24",
|
|
14877
|
+
height: "24",
|
|
14878
|
+
viewBox: "0 0 24 24",
|
|
14879
|
+
fill: "none",
|
|
14880
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14881
|
+
...e,
|
|
14882
|
+
children: /* @__PURE__ */ jsx(
|
|
14883
|
+
"path",
|
|
14884
|
+
{
|
|
14885
|
+
d: "M3.81818 2C2.81364 2 2 2.81364 2 3.81818V20.1818C2 21.1864 2.81364 22 3.81818 22H20.1818C21.1864 22 22 21.1864 22 20.1818V3.81818C22 2.81364 21.1864 2 20.1818 2H3.81818ZM6.22585 6.54545H10.418L12.8647 10.0433L15.892 6.54545H17.2113L13.4577 10.892L18.0494 17.4545H13.8572L11.1424 13.5732L7.79013 17.4545H6.44957L10.5458 12.7227L6.22585 6.54545ZM8.25355 7.62145L14.3935 16.3732H16.0199L9.8782 7.62145H8.25355Z",
|
|
14886
|
+
fill: "#817A90"
|
|
14887
|
+
}
|
|
14888
|
+
)
|
|
14889
|
+
}
|
|
14890
|
+
), XIcon = (e) => /* @__PURE__ */ jsx(
|
|
14891
|
+
"svg",
|
|
14892
|
+
{
|
|
14893
|
+
width: "25",
|
|
14894
|
+
height: "24",
|
|
14895
|
+
viewBox: "0 0 25 24",
|
|
14896
|
+
fill: "none",
|
|
14897
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14898
|
+
...e,
|
|
14899
|
+
children: /* @__PURE__ */ jsx(
|
|
14900
|
+
"path",
|
|
14901
|
+
{
|
|
14902
|
+
d: "M17.6557 3.86523H20.4171L14.3858 10.757L21.481 20.1364H15.9269L11.5735 14.4493L6.5983 20.1364H3.83298L10.2828 12.7635L3.48096 3.86523H9.17587L13.1068 9.06341L17.6557 3.86523ZM16.6857 18.4858H18.215L8.34276 5.42977H6.69999L16.6857 18.4858Z",
|
|
14903
|
+
fill: "#554B6A"
|
|
14904
|
+
}
|
|
14905
|
+
)
|
|
14906
|
+
}
|
|
14907
|
+
), ZellicIcon = (e) => /* @__PURE__ */ jsxs(
|
|
14908
|
+
"svg",
|
|
14909
|
+
{
|
|
14910
|
+
width: "48",
|
|
14911
|
+
height: "43",
|
|
14912
|
+
viewBox: "0 0 48 43",
|
|
14913
|
+
fill: "none",
|
|
14914
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14915
|
+
...e,
|
|
14916
|
+
children: [
|
|
14917
|
+
/* @__PURE__ */ jsx(
|
|
14918
|
+
"path",
|
|
14919
|
+
{
|
|
14920
|
+
d: "M14.3948 0.654297V17.277L11.6504 15.6921V0.654297H14.3948Z",
|
|
14921
|
+
fill: "#554B6A"
|
|
14922
|
+
}
|
|
14923
|
+
),
|
|
14924
|
+
/* @__PURE__ */ jsx(
|
|
14925
|
+
"path",
|
|
14926
|
+
{
|
|
14927
|
+
d: "M19.8831 0.654297V20.4451L17.1387 18.8602V0.654297H19.8831Z",
|
|
14928
|
+
fill: "#554B6A"
|
|
14929
|
+
}
|
|
14930
|
+
),
|
|
14931
|
+
/* @__PURE__ */ jsx(
|
|
14932
|
+
"path",
|
|
14933
|
+
{
|
|
14934
|
+
d: "M1.37221 19.2656L15.7667 27.5761L13.0223 29.1611L0 21.6413L1.37221 19.2656Z",
|
|
14935
|
+
fill: "#554B6A"
|
|
14936
|
+
}
|
|
14937
|
+
),
|
|
14938
|
+
/* @__PURE__ */ jsx(
|
|
14939
|
+
"path",
|
|
14940
|
+
{
|
|
14941
|
+
d: "M4.11733 14.5117L21.2563 24.4071L18.5119 25.9921L2.74512 16.8891L4.11733 14.5117Z",
|
|
14942
|
+
fill: "#554B6A"
|
|
14943
|
+
}
|
|
14944
|
+
),
|
|
14945
|
+
/* @__PURE__ */ jsx(
|
|
14946
|
+
"path",
|
|
14947
|
+
{
|
|
14948
|
+
d: "M10.9775 39.8474L25.3721 31.5352V34.705L12.3498 42.223L10.9775 39.8474Z",
|
|
14949
|
+
fill: "#554B6A"
|
|
14950
|
+
}
|
|
14951
|
+
),
|
|
14952
|
+
/* @__PURE__ */ jsx(
|
|
14953
|
+
"path",
|
|
14954
|
+
{
|
|
14955
|
+
d: "M8.2334 35.0907L25.3724 25.1953V28.3651L9.60561 37.4681L8.2334 35.0907Z",
|
|
14956
|
+
fill: "#554B6A"
|
|
14957
|
+
}
|
|
14958
|
+
),
|
|
14959
|
+
/* @__PURE__ */ jsx(
|
|
14960
|
+
"path",
|
|
14961
|
+
{
|
|
14962
|
+
d: "M33.6055 41.8181V25.1953L36.3499 26.7802V41.8181H33.6055Z",
|
|
14963
|
+
fill: "#554B6A"
|
|
14964
|
+
}
|
|
14965
|
+
),
|
|
14966
|
+
/* @__PURE__ */ jsx(
|
|
14967
|
+
"path",
|
|
14968
|
+
{
|
|
14969
|
+
d: "M28.1172 41.8201V22.0293L30.8616 23.6142V41.8201H28.1172Z",
|
|
14970
|
+
fill: "#554B6A"
|
|
14971
|
+
}
|
|
14972
|
+
),
|
|
14973
|
+
/* @__PURE__ */ jsx(
|
|
14974
|
+
"path",
|
|
14975
|
+
{
|
|
14976
|
+
d: "M46.6279 23.2118L32.2334 14.9013L34.9778 13.3164L48.0001 20.8362L46.6279 23.2118Z",
|
|
14977
|
+
fill: "#554B6A"
|
|
14978
|
+
}
|
|
14979
|
+
),
|
|
14980
|
+
/* @__PURE__ */ jsx(
|
|
14981
|
+
"path",
|
|
14982
|
+
{
|
|
14983
|
+
d: "M43.8831 27.9667L26.7441 18.0712L29.4886 16.4863L45.2553 25.5893L43.8831 27.9667Z",
|
|
14984
|
+
fill: "#554B6A"
|
|
14985
|
+
}
|
|
14986
|
+
),
|
|
14987
|
+
/* @__PURE__ */ jsx(
|
|
14988
|
+
"path",
|
|
14989
|
+
{
|
|
14990
|
+
d: "M37.0225 2.62566L22.6279 10.9379V7.76805L35.6503 0.25L37.0225 2.62566Z",
|
|
14991
|
+
fill: "#554B6A"
|
|
14992
|
+
}
|
|
14993
|
+
),
|
|
14994
|
+
/* @__PURE__ */ jsx(
|
|
14995
|
+
"path",
|
|
14996
|
+
{
|
|
14997
|
+
d: "M39.7669 7.38323L22.6279 17.2787V14.1088L38.3947 5.00586L39.7669 7.38323Z",
|
|
14998
|
+
fill: "#554B6A"
|
|
14999
|
+
}
|
|
15000
|
+
)
|
|
15001
|
+
]
|
|
15002
|
+
}
|
|
14587
15003
|
), ArbitrumLogo = (e) => /* @__PURE__ */ jsxs(
|
|
14588
15004
|
"svg",
|
|
14589
15005
|
{
|
|
@@ -16480,41 +16896,41 @@ var build = { exports: {} };
|
|
|
16480
16896
|
return L || u.test(T) ? p(T.slice(2), L ? 2 : 8) : c.test(T) ? NaN : +T;
|
|
16481
16897
|
}
|
|
16482
16898
|
s.exports = function(T, M, L) {
|
|
16483
|
-
var V, k, U,
|
|
16899
|
+
var V, k, U, z, B, G, q = 0, H = !1, _ = !1, R = !0;
|
|
16484
16900
|
if (typeof T != "function") throw new TypeError("Expected a function");
|
|
16485
16901
|
function P(K) {
|
|
16486
16902
|
var X = V, ee = k;
|
|
16487
|
-
return V = k = void 0, q = K,
|
|
16903
|
+
return V = k = void 0, q = K, z = T.apply(ee, X);
|
|
16488
16904
|
}
|
|
16489
16905
|
function A(K) {
|
|
16490
|
-
var X = K -
|
|
16491
|
-
return
|
|
16906
|
+
var X = K - G;
|
|
16907
|
+
return G === void 0 || X >= M || X < 0 || _ && K - q >= U;
|
|
16492
16908
|
}
|
|
16493
16909
|
function F() {
|
|
16494
16910
|
var K = x();
|
|
16495
16911
|
if (A(K)) return I(K);
|
|
16496
16912
|
B = setTimeout(F, function(X) {
|
|
16497
|
-
var ee = M - (X -
|
|
16913
|
+
var ee = M - (X - G);
|
|
16498
16914
|
return _ ? m(ee, U - (X - q)) : ee;
|
|
16499
16915
|
}(K));
|
|
16500
16916
|
}
|
|
16501
16917
|
function I(K) {
|
|
16502
|
-
return B = void 0, R && V ? P(K) : (V = k = void 0,
|
|
16918
|
+
return B = void 0, R && V ? P(K) : (V = k = void 0, z);
|
|
16503
16919
|
}
|
|
16504
16920
|
function W() {
|
|
16505
16921
|
var K = x(), X = A(K);
|
|
16506
|
-
if (V = arguments, k = this,
|
|
16922
|
+
if (V = arguments, k = this, G = K, X) {
|
|
16507
16923
|
if (B === void 0) return function(ee) {
|
|
16508
|
-
return q = ee, B = setTimeout(F, M),
|
|
16509
|
-
}(
|
|
16510
|
-
if (_) return B = setTimeout(F, M), P(
|
|
16924
|
+
return q = ee, B = setTimeout(F, M), H ? P(ee) : z;
|
|
16925
|
+
}(G);
|
|
16926
|
+
if (_) return B = setTimeout(F, M), P(G);
|
|
16511
16927
|
}
|
|
16512
|
-
return B === void 0 && (B = setTimeout(F, M)),
|
|
16928
|
+
return B === void 0 && (B = setTimeout(F, M)), z;
|
|
16513
16929
|
}
|
|
16514
|
-
return M = S(M) || 0, y(L) && (
|
|
16515
|
-
B !== void 0 && clearTimeout(B), q = 0, V =
|
|
16930
|
+
return M = S(M) || 0, y(L) && (H = !!L.leading, U = (_ = "maxWait" in L) ? E(S(L.maxWait) || 0, M) : U, R = "trailing" in L ? !!L.trailing : R), W.cancel = function() {
|
|
16931
|
+
B !== void 0 && clearTimeout(B), q = 0, V = G = k = B = void 0;
|
|
16516
16932
|
}, W.flush = function() {
|
|
16517
|
-
return B === void 0 ?
|
|
16933
|
+
return B === void 0 ? z : I(x());
|
|
16518
16934
|
}, W;
|
|
16519
16935
|
};
|
|
16520
16936
|
}, 858: (s, a, o) => {
|
|
@@ -16527,10 +16943,10 @@ var build = { exports: {} };
|
|
|
16527
16943
|
}
|
|
16528
16944
|
function L(V) {
|
|
16529
16945
|
if (typeof V == "number") return V;
|
|
16530
|
-
if (function(
|
|
16531
|
-
return typeof
|
|
16946
|
+
if (function(z) {
|
|
16947
|
+
return typeof z == "symbol" || /* @__PURE__ */ function(B) {
|
|
16532
16948
|
return !!B && typeof B == "object";
|
|
16533
|
-
}(
|
|
16949
|
+
}(z) && x.call(z) == f;
|
|
16534
16950
|
}(V)) return c;
|
|
16535
16951
|
if (M(V)) {
|
|
16536
16952
|
var k = typeof V.valueOf == "function" ? V.valueOf() : V;
|
|
@@ -16542,14 +16958,14 @@ var build = { exports: {} };
|
|
|
16542
16958
|
return U || b.test(V) ? C(V.slice(2), U ? 2 : 8) : p.test(V) ? c : +V;
|
|
16543
16959
|
}
|
|
16544
16960
|
s.exports = function(V, k, U) {
|
|
16545
|
-
var
|
|
16961
|
+
var z = !0, B = !0;
|
|
16546
16962
|
if (typeof V != "function") throw new TypeError(l);
|
|
16547
|
-
return M(U) && (
|
|
16963
|
+
return M(U) && (z = "leading" in U ? !!U.leading : z, B = "trailing" in U ? !!U.trailing : B), function(G, q, H) {
|
|
16548
16964
|
var _, R, P, A, F, I, W = 0, K = !1, X = !1, ee = !0;
|
|
16549
|
-
if (typeof
|
|
16965
|
+
if (typeof G != "function") throw new TypeError(l);
|
|
16550
16966
|
function re(se) {
|
|
16551
16967
|
var ue = _, ie = R;
|
|
16552
|
-
return _ = R = void 0, W = se, A =
|
|
16968
|
+
return _ = R = void 0, W = se, A = G.apply(ie, ue);
|
|
16553
16969
|
}
|
|
16554
16970
|
function ce(se) {
|
|
16555
16971
|
var ue = se - I;
|
|
@@ -16576,12 +16992,12 @@ var build = { exports: {} };
|
|
|
16576
16992
|
}
|
|
16577
16993
|
return F === void 0 && (F = setTimeout(fe, q)), A;
|
|
16578
16994
|
}
|
|
16579
|
-
return q = L(q) || 0, M(
|
|
16995
|
+
return q = L(q) || 0, M(H) && (K = !!H.leading, P = (X = "maxWait" in H) ? y(L(H.maxWait) || 0, q) : P, ee = "trailing" in H ? !!H.trailing : ee), de.cancel = function() {
|
|
16580
16996
|
F !== void 0 && clearTimeout(F), W = 0, _ = I = R = F = void 0;
|
|
16581
16997
|
}, de.flush = function() {
|
|
16582
16998
|
return F === void 0 ? A : me(T());
|
|
16583
16999
|
}, de;
|
|
16584
|
-
}(V, k, { leading:
|
|
17000
|
+
}(V, k, { leading: z, maxWait: k, trailing: B });
|
|
16585
17001
|
};
|
|
16586
17002
|
}, 694: (s, a, o) => {
|
|
16587
17003
|
var l = o(925);
|
|
@@ -16645,46 +17061,46 @@ var build = { exports: {} };
|
|
|
16645
17061
|
}, c($);
|
|
16646
17062
|
}
|
|
16647
17063
|
function f($, D) {
|
|
16648
|
-
var
|
|
17064
|
+
var Z = Object.keys($);
|
|
16649
17065
|
if (Object.getOwnPropertySymbols) {
|
|
16650
17066
|
var j = Object.getOwnPropertySymbols($);
|
|
16651
17067
|
D && (j = j.filter(function(O) {
|
|
16652
17068
|
return Object.getOwnPropertyDescriptor($, O).enumerable;
|
|
16653
|
-
})),
|
|
17069
|
+
})), Z.push.apply(Z, j);
|
|
16654
17070
|
}
|
|
16655
|
-
return
|
|
17071
|
+
return Z;
|
|
16656
17072
|
}
|
|
16657
|
-
function u($, D,
|
|
16658
|
-
return (D = d(D)) in $ ? Object.defineProperty($, D, { value:
|
|
17073
|
+
function u($, D, Z) {
|
|
17074
|
+
return (D = d(D)) in $ ? Object.defineProperty($, D, { value: Z, enumerable: !0, configurable: !0, writable: !0 }) : $[D] = Z, $;
|
|
16659
17075
|
}
|
|
16660
17076
|
function p($, D) {
|
|
16661
|
-
for (var
|
|
16662
|
-
var j = D[
|
|
17077
|
+
for (var Z = 0; Z < D.length; Z++) {
|
|
17078
|
+
var j = D[Z];
|
|
16663
17079
|
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty($, d(j.key), j);
|
|
16664
17080
|
}
|
|
16665
17081
|
}
|
|
16666
17082
|
function d($) {
|
|
16667
|
-
var D = function(
|
|
16668
|
-
if (c(
|
|
16669
|
-
var O =
|
|
17083
|
+
var D = function(Z, j) {
|
|
17084
|
+
if (c(Z) != "object" || !Z) return Z;
|
|
17085
|
+
var O = Z[Symbol.toPrimitive];
|
|
16670
17086
|
if (O !== void 0) {
|
|
16671
|
-
var
|
|
16672
|
-
if (c(
|
|
17087
|
+
var N = O.call(Z, "string");
|
|
17088
|
+
if (c(N) != "object") return N;
|
|
16673
17089
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
16674
17090
|
}
|
|
16675
|
-
return String(
|
|
17091
|
+
return String(Z);
|
|
16676
17092
|
}($);
|
|
16677
17093
|
return c(D) == "symbol" ? D : D + "";
|
|
16678
17094
|
}
|
|
16679
|
-
function b($, D,
|
|
17095
|
+
function b($, D, Z) {
|
|
16680
17096
|
return D = g(D), function(j, O) {
|
|
16681
17097
|
if (O && (c(O) == "object" || typeof O == "function")) return O;
|
|
16682
17098
|
if (O !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
16683
|
-
return function(
|
|
16684
|
-
if (
|
|
16685
|
-
return
|
|
17099
|
+
return function(N) {
|
|
17100
|
+
if (N === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
17101
|
+
return N;
|
|
16686
17102
|
}(j);
|
|
16687
|
-
}($, C() ? Reflect.construct(D,
|
|
17103
|
+
}($, C() ? Reflect.construct(D, Z || [], g($).constructor) : D.apply($, Z));
|
|
16688
17104
|
}
|
|
16689
17105
|
function C() {
|
|
16690
17106
|
try {
|
|
@@ -16702,8 +17118,8 @@ var build = { exports: {} };
|
|
|
16702
17118
|
}, g($);
|
|
16703
17119
|
}
|
|
16704
17120
|
function E($, D) {
|
|
16705
|
-
return E = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
16706
|
-
return
|
|
17121
|
+
return E = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(Z, j) {
|
|
17122
|
+
return Z.__proto__ = j, Z;
|
|
16707
17123
|
}, E($, D);
|
|
16708
17124
|
}
|
|
16709
17125
|
var m = function($) {
|
|
@@ -16712,37 +17128,37 @@ var build = { exports: {} };
|
|
|
16712
17128
|
});
|
|
16713
17129
|
}, x = {}, y = function($) {
|
|
16714
17130
|
function D(O) {
|
|
16715
|
-
var
|
|
17131
|
+
var N;
|
|
16716
17132
|
if (function(Q, te) {
|
|
16717
17133
|
if (!(Q instanceof te)) throw new TypeError("Cannot call a class as a function");
|
|
16718
|
-
}(this, D), (
|
|
17134
|
+
}(this, D), (N = b(this, D, [O])).supportsObserver = !O.scrollPosition && O.useIntersectionObserver && l(), N.supportsObserver) {
|
|
16719
17135
|
var J = O.threshold;
|
|
16720
|
-
|
|
17136
|
+
N.observer = function(Q) {
|
|
16721
17137
|
return x[Q] = x[Q] || new IntersectionObserver(m, { rootMargin: Q + "px" }), x[Q];
|
|
16722
17138
|
}(J);
|
|
16723
17139
|
}
|
|
16724
|
-
return
|
|
17140
|
+
return N;
|
|
16725
17141
|
}
|
|
16726
|
-
return function(O,
|
|
16727
|
-
if (typeof
|
|
16728
|
-
O.prototype = Object.create(
|
|
16729
|
-
}(D, $),
|
|
17142
|
+
return function(O, N) {
|
|
17143
|
+
if (typeof N != "function" && N !== null) throw new TypeError("Super expression must either be null or a function");
|
|
17144
|
+
O.prototype = Object.create(N && N.prototype, { constructor: { value: O, writable: !0, configurable: !0 } }), Object.defineProperty(O, "prototype", { writable: !1 }), N && E(O, N);
|
|
17145
|
+
}(D, $), Z = D, j = [{ key: "componentDidMount", value: function() {
|
|
16730
17146
|
this.placeholder && this.observer && (this.placeholder.onVisible = this.props.onVisible, this.observer.observe(this.placeholder)), this.supportsObserver || this.updateVisibility();
|
|
16731
17147
|
} }, { key: "componentWillUnmount", value: function() {
|
|
16732
17148
|
this.observer && this.placeholder && this.observer.unobserve(this.placeholder);
|
|
16733
17149
|
} }, { key: "componentDidUpdate", value: function() {
|
|
16734
17150
|
this.supportsObserver || this.updateVisibility();
|
|
16735
17151
|
} }, { key: "getPlaceholderBoundingBox", value: function() {
|
|
16736
|
-
var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.props.scrollPosition,
|
|
16737
|
-
return { bottom: O.y +
|
|
17152
|
+
var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.props.scrollPosition, N = this.placeholder.getBoundingClientRect(), J = this.placeholder.style, Q = parseInt(J.getPropertyValue("margin-left"), 10) || 0, te = parseInt(J.getPropertyValue("margin-top"), 10) || 0;
|
|
17153
|
+
return { bottom: O.y + N.bottom + te, left: O.x + N.left + Q, right: O.x + N.right + Q, top: O.y + N.top + te };
|
|
16738
17154
|
} }, { key: "isPlaceholderInViewport", value: function() {
|
|
16739
17155
|
if (typeof window > "u" || !this.placeholder) return !1;
|
|
16740
|
-
var O = this.props,
|
|
17156
|
+
var O = this.props, N = O.scrollPosition, J = O.threshold, Q = this.getPlaceholderBoundingBox(N), te = N.y + window.innerHeight, ne = N.x, le = N.x + window.innerWidth, ae = N.y;
|
|
16741
17157
|
return ae - J <= Q.bottom && te + J >= Q.top && ne - J <= Q.right && le + J >= Q.left;
|
|
16742
17158
|
} }, { key: "updateVisibility", value: function() {
|
|
16743
17159
|
this.isPlaceholderInViewport() && this.props.onVisible();
|
|
16744
17160
|
} }, { key: "render", value: function() {
|
|
16745
|
-
var O = this,
|
|
17161
|
+
var O = this, N = this.props, J = N.className, Q = N.height, te = N.placeholder, ne = N.style, le = N.width;
|
|
16746
17162
|
if (te && typeof te.type != "function") return a().cloneElement(te, { ref: function(oe) {
|
|
16747
17163
|
return O.placeholder = oe;
|
|
16748
17164
|
} });
|
|
@@ -16760,8 +17176,8 @@ var build = { exports: {} };
|
|
|
16760
17176
|
return le !== void 0 && (ae.width = le), Q !== void 0 && (ae.height = Q), a().createElement("span", { className: J, ref: function(oe) {
|
|
16761
17177
|
return O.placeholder = oe;
|
|
16762
17178
|
}, style: ae }, te);
|
|
16763
|
-
} }], j && p(
|
|
16764
|
-
var
|
|
17179
|
+
} }], j && p(Z.prototype, j), Object.defineProperty(Z, "prototype", { writable: !1 }), Z;
|
|
17180
|
+
var Z, j;
|
|
16765
17181
|
}(a().Component);
|
|
16766
17182
|
y.propTypes = { onVisible: o.PropTypes.func.isRequired, className: o.PropTypes.string, height: o.PropTypes.oneOfType([o.PropTypes.number, o.PropTypes.string]), placeholder: o.PropTypes.element, threshold: o.PropTypes.number, useIntersectionObserver: o.PropTypes.bool, scrollPosition: o.PropTypes.shape({ x: o.PropTypes.number.isRequired, y: o.PropTypes.number.isRequired }), width: o.PropTypes.oneOfType([o.PropTypes.number, o.PropTypes.string]) }, y.defaultProps = { className: "", placeholder: null, threshold: 100, useIntersectionObserver: !0 };
|
|
16767
17183
|
const S = y;
|
|
@@ -16777,51 +17193,51 @@ var build = { exports: {} };
|
|
|
16777
17193
|
}
|
|
16778
17194
|
return window;
|
|
16779
17195
|
};
|
|
16780
|
-
function
|
|
16781
|
-
return
|
|
17196
|
+
function z($) {
|
|
17197
|
+
return z = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(D) {
|
|
16782
17198
|
return typeof D;
|
|
16783
17199
|
} : function(D) {
|
|
16784
17200
|
return D && typeof Symbol == "function" && D.constructor === Symbol && D !== Symbol.prototype ? "symbol" : typeof D;
|
|
16785
|
-
},
|
|
17201
|
+
}, z($);
|
|
16786
17202
|
}
|
|
16787
17203
|
var B = ["delayMethod", "delayTime"];
|
|
16788
|
-
function
|
|
16789
|
-
return
|
|
17204
|
+
function G() {
|
|
17205
|
+
return G = Object.assign ? Object.assign.bind() : function($) {
|
|
16790
17206
|
for (var D = 1; D < arguments.length; D++) {
|
|
16791
|
-
var
|
|
16792
|
-
for (var j in
|
|
17207
|
+
var Z = arguments[D];
|
|
17208
|
+
for (var j in Z) ({}).hasOwnProperty.call(Z, j) && ($[j] = Z[j]);
|
|
16793
17209
|
}
|
|
16794
17210
|
return $;
|
|
16795
|
-
},
|
|
17211
|
+
}, G.apply(null, arguments);
|
|
16796
17212
|
}
|
|
16797
17213
|
function q($, D) {
|
|
16798
|
-
for (var
|
|
16799
|
-
var j = D[
|
|
16800
|
-
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty($,
|
|
17214
|
+
for (var Z = 0; Z < D.length; Z++) {
|
|
17215
|
+
var j = D[Z];
|
|
17216
|
+
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty($, H(j.key), j);
|
|
16801
17217
|
}
|
|
16802
17218
|
}
|
|
16803
|
-
function
|
|
16804
|
-
var D = function(
|
|
16805
|
-
if (Z
|
|
16806
|
-
var O =
|
|
17219
|
+
function H($) {
|
|
17220
|
+
var D = function(Z, j) {
|
|
17221
|
+
if (z(Z) != "object" || !Z) return Z;
|
|
17222
|
+
var O = Z[Symbol.toPrimitive];
|
|
16807
17223
|
if (O !== void 0) {
|
|
16808
|
-
var
|
|
16809
|
-
if (
|
|
17224
|
+
var N = O.call(Z, "string");
|
|
17225
|
+
if (z(N) != "object") return N;
|
|
16810
17226
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
16811
17227
|
}
|
|
16812
|
-
return String(
|
|
17228
|
+
return String(Z);
|
|
16813
17229
|
}($);
|
|
16814
|
-
return
|
|
17230
|
+
return z(D) == "symbol" ? D : D + "";
|
|
16815
17231
|
}
|
|
16816
|
-
function _($, D,
|
|
16817
|
-
return D = A(D), R($, P() ? Reflect.construct(D,
|
|
17232
|
+
function _($, D, Z) {
|
|
17233
|
+
return D = A(D), R($, P() ? Reflect.construct(D, Z || [], A($).constructor) : D.apply($, Z));
|
|
16818
17234
|
}
|
|
16819
17235
|
function R($, D) {
|
|
16820
|
-
if (D && (
|
|
17236
|
+
if (D && (z(D) == "object" || typeof D == "function")) return D;
|
|
16821
17237
|
if (D !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
16822
|
-
return function(
|
|
16823
|
-
if (
|
|
16824
|
-
return
|
|
17238
|
+
return function(Z) {
|
|
17239
|
+
if (Z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
17240
|
+
return Z;
|
|
16825
17241
|
}($);
|
|
16826
17242
|
}
|
|
16827
17243
|
function P() {
|
|
@@ -16840,8 +17256,8 @@ var build = { exports: {} };
|
|
|
16840
17256
|
}, A($);
|
|
16841
17257
|
}
|
|
16842
17258
|
function F($, D) {
|
|
16843
|
-
return F = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
16844
|
-
return
|
|
17259
|
+
return F = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(Z, j) {
|
|
17260
|
+
return Z.__proto__ = j, Z;
|
|
16845
17261
|
}, F($, D);
|
|
16846
17262
|
}
|
|
16847
17263
|
var I = function() {
|
|
@@ -16850,7 +17266,7 @@ var build = { exports: {} };
|
|
|
16850
17266
|
return typeof window > "u" ? 0 : window.scrollY || window.pageYOffset;
|
|
16851
17267
|
};
|
|
16852
17268
|
const K = function($) {
|
|
16853
|
-
var D = function(
|
|
17269
|
+
var D = function(Z) {
|
|
16854
17270
|
function j(J) {
|
|
16855
17271
|
var Q;
|
|
16856
17272
|
if (function(ne, le) {
|
|
@@ -16862,7 +17278,7 @@ var build = { exports: {} };
|
|
|
16862
17278
|
return function(J, Q) {
|
|
16863
17279
|
if (typeof Q != "function" && Q !== null) throw new TypeError("Super expression must either be null or a function");
|
|
16864
17280
|
J.prototype = Object.create(Q && Q.prototype, { constructor: { value: J, writable: !0, configurable: !0 } }), Object.defineProperty(J, "prototype", { writable: !1 }), Q && F(J, Q);
|
|
16865
|
-
}(j,
|
|
17281
|
+
}(j, Z), O = j, N = [{ key: "componentDidMount", value: function() {
|
|
16866
17282
|
this.addListeners();
|
|
16867
17283
|
} }, { key: "componentWillUnmount", value: function() {
|
|
16868
17284
|
this.removeListeners();
|
|
@@ -16879,12 +17295,12 @@ var build = { exports: {} };
|
|
|
16879
17295
|
if (ne == null) return {};
|
|
16880
17296
|
var ae, oe, pe = function(ge, Fe) {
|
|
16881
17297
|
if (ge == null) return {};
|
|
16882
|
-
var
|
|
17298
|
+
var He = {};
|
|
16883
17299
|
for (var Be in ge) if ({}.hasOwnProperty.call(ge, Be)) {
|
|
16884
17300
|
if (Fe.indexOf(Be) >= 0) continue;
|
|
16885
|
-
|
|
17301
|
+
He[Be] = ge[Be];
|
|
16886
17302
|
}
|
|
16887
|
-
return
|
|
17303
|
+
return He;
|
|
16888
17304
|
}(ne, le);
|
|
16889
17305
|
if (Object.getOwnPropertySymbols) {
|
|
16890
17306
|
var he = Object.getOwnPropertySymbols(ne);
|
|
@@ -16892,9 +17308,9 @@ var build = { exports: {} };
|
|
|
16892
17308
|
}
|
|
16893
17309
|
return pe;
|
|
16894
17310
|
}(J, B)), te = this.useIntersectionObserver ? null : this.state.scrollPosition;
|
|
16895
|
-
return a().createElement($,
|
|
16896
|
-
} }],
|
|
16897
|
-
var O,
|
|
17311
|
+
return a().createElement($, G({ forwardRef: this.baseComponentRef, scrollPosition: te }, Q));
|
|
17312
|
+
} }], N && q(O.prototype, N), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
17313
|
+
var O, N;
|
|
16898
17314
|
}(a().Component);
|
|
16899
17315
|
return D.propTypes = { delayMethod: o.PropTypes.oneOf(["debounce", "throttle"]), delayTime: o.PropTypes.number, useIntersectionObserver: o.PropTypes.bool }, D.defaultProps = { delayMethod: "throttle", delayTime: 300, useIntersectionObserver: !0 }, D;
|
|
16900
17316
|
};
|
|
@@ -16906,33 +17322,33 @@ var build = { exports: {} };
|
|
|
16906
17322
|
}, X($);
|
|
16907
17323
|
}
|
|
16908
17324
|
function ee($, D) {
|
|
16909
|
-
for (var
|
|
16910
|
-
var j = D[
|
|
17325
|
+
for (var Z = 0; Z < D.length; Z++) {
|
|
17326
|
+
var j = D[Z];
|
|
16911
17327
|
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty($, re(j.key), j);
|
|
16912
17328
|
}
|
|
16913
17329
|
}
|
|
16914
17330
|
function re($) {
|
|
16915
|
-
var D = function(
|
|
16916
|
-
if (X(
|
|
16917
|
-
var O =
|
|
17331
|
+
var D = function(Z, j) {
|
|
17332
|
+
if (X(Z) != "object" || !Z) return Z;
|
|
17333
|
+
var O = Z[Symbol.toPrimitive];
|
|
16918
17334
|
if (O !== void 0) {
|
|
16919
|
-
var
|
|
16920
|
-
if (X(
|
|
17335
|
+
var N = O.call(Z, "string");
|
|
17336
|
+
if (X(N) != "object") return N;
|
|
16921
17337
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
16922
17338
|
}
|
|
16923
|
-
return String(
|
|
17339
|
+
return String(Z);
|
|
16924
17340
|
}($);
|
|
16925
17341
|
return X(D) == "symbol" ? D : D + "";
|
|
16926
17342
|
}
|
|
16927
|
-
function ce($, D,
|
|
17343
|
+
function ce($, D, Z) {
|
|
16928
17344
|
return D = me(D), function(j, O) {
|
|
16929
17345
|
if (O && (X(O) == "object" || typeof O == "function")) return O;
|
|
16930
17346
|
if (O !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
16931
|
-
return function(
|
|
16932
|
-
if (
|
|
16933
|
-
return
|
|
17347
|
+
return function(N) {
|
|
17348
|
+
if (N === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
17349
|
+
return N;
|
|
16934
17350
|
}(j);
|
|
16935
|
-
}($, fe() ? Reflect.construct(D,
|
|
17351
|
+
}($, fe() ? Reflect.construct(D, Z || [], me($).constructor) : D.apply($, Z));
|
|
16936
17352
|
}
|
|
16937
17353
|
function fe() {
|
|
16938
17354
|
try {
|
|
@@ -16950,23 +17366,23 @@ var build = { exports: {} };
|
|
|
16950
17366
|
}, me($);
|
|
16951
17367
|
}
|
|
16952
17368
|
function de($, D) {
|
|
16953
|
-
return de = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
16954
|
-
return
|
|
17369
|
+
return de = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(Z, j) {
|
|
17370
|
+
return Z.__proto__ = j, Z;
|
|
16955
17371
|
}, de($, D);
|
|
16956
17372
|
}
|
|
16957
17373
|
var se = function($) {
|
|
16958
17374
|
function D(O) {
|
|
16959
|
-
return function(
|
|
16960
|
-
if (!(
|
|
17375
|
+
return function(N, J) {
|
|
17376
|
+
if (!(N instanceof J)) throw new TypeError("Cannot call a class as a function");
|
|
16961
17377
|
}(this, D), ce(this, D, [O]);
|
|
16962
17378
|
}
|
|
16963
|
-
return function(O,
|
|
16964
|
-
if (typeof
|
|
16965
|
-
O.prototype = Object.create(
|
|
16966
|
-
}(D, $),
|
|
17379
|
+
return function(O, N) {
|
|
17380
|
+
if (typeof N != "function" && N !== null) throw new TypeError("Super expression must either be null or a function");
|
|
17381
|
+
O.prototype = Object.create(N && N.prototype, { constructor: { value: O, writable: !0, configurable: !0 } }), Object.defineProperty(O, "prototype", { writable: !1 }), N && de(O, N);
|
|
17382
|
+
}(D, $), Z = D, (j = [{ key: "render", value: function() {
|
|
16967
17383
|
return a().createElement(S, this.props);
|
|
16968
|
-
} }]) && ee(
|
|
16969
|
-
var
|
|
17384
|
+
} }]) && ee(Z.prototype, j), Object.defineProperty(Z, "prototype", { writable: !1 }), Z;
|
|
17385
|
+
var Z, j;
|
|
16970
17386
|
}(a().Component);
|
|
16971
17387
|
const ue = K(se);
|
|
16972
17388
|
function ie($) {
|
|
@@ -16977,33 +17393,33 @@ var build = { exports: {} };
|
|
|
16977
17393
|
}, ie($);
|
|
16978
17394
|
}
|
|
16979
17395
|
function Y($, D) {
|
|
16980
|
-
for (var
|
|
16981
|
-
var j = D[
|
|
17396
|
+
for (var Z = 0; Z < D.length; Z++) {
|
|
17397
|
+
var j = D[Z];
|
|
16982
17398
|
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty($, Te(j.key), j);
|
|
16983
17399
|
}
|
|
16984
17400
|
}
|
|
16985
17401
|
function Te($) {
|
|
16986
|
-
var D = function(
|
|
16987
|
-
if (ie(
|
|
16988
|
-
var O =
|
|
17402
|
+
var D = function(Z, j) {
|
|
17403
|
+
if (ie(Z) != "object" || !Z) return Z;
|
|
17404
|
+
var O = Z[Symbol.toPrimitive];
|
|
16989
17405
|
if (O !== void 0) {
|
|
16990
|
-
var
|
|
16991
|
-
if (ie(
|
|
17406
|
+
var N = O.call(Z, "string");
|
|
17407
|
+
if (ie(N) != "object") return N;
|
|
16992
17408
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
16993
17409
|
}
|
|
16994
|
-
return String(
|
|
17410
|
+
return String(Z);
|
|
16995
17411
|
}($);
|
|
16996
17412
|
return ie(D) == "symbol" ? D : D + "";
|
|
16997
17413
|
}
|
|
16998
|
-
function Le($, D,
|
|
17414
|
+
function Le($, D, Z) {
|
|
16999
17415
|
return D = Ce(D), function(j, O) {
|
|
17000
17416
|
if (O && (ie(O) == "object" || typeof O == "function")) return O;
|
|
17001
17417
|
if (O !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
17002
|
-
return function(
|
|
17003
|
-
if (
|
|
17004
|
-
return
|
|
17418
|
+
return function(N) {
|
|
17419
|
+
if (N === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
17420
|
+
return N;
|
|
17005
17421
|
}(j);
|
|
17006
|
-
}($, be() ? Reflect.construct(D,
|
|
17422
|
+
}($, be() ? Reflect.construct(D, Z || [], Ce($).constructor) : D.apply($, Z));
|
|
17007
17423
|
}
|
|
17008
17424
|
function be() {
|
|
17009
17425
|
try {
|
|
@@ -17021,32 +17437,32 @@ var build = { exports: {} };
|
|
|
17021
17437
|
}, Ce($);
|
|
17022
17438
|
}
|
|
17023
17439
|
function Pe($, D) {
|
|
17024
|
-
return Pe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
17025
|
-
return
|
|
17440
|
+
return Pe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(Z, j) {
|
|
17441
|
+
return Z.__proto__ = j, Z;
|
|
17026
17442
|
}, Pe($, D);
|
|
17027
17443
|
}
|
|
17028
17444
|
var ve = function($) {
|
|
17029
17445
|
function D(O) {
|
|
17030
|
-
var
|
|
17446
|
+
var N;
|
|
17031
17447
|
(function(le, ae) {
|
|
17032
17448
|
if (!(le instanceof ae)) throw new TypeError("Cannot call a class as a function");
|
|
17033
|
-
})(this, D),
|
|
17449
|
+
})(this, D), N = Le(this, D, [O]);
|
|
17034
17450
|
var J = O.afterLoad, Q = O.beforeLoad, te = O.scrollPosition, ne = O.visibleByDefault;
|
|
17035
|
-
return
|
|
17451
|
+
return N.state = { visible: ne }, ne && (Q(), J()), N.onVisible = N.onVisible.bind(N), N.isScrollTracked = !!(te && Number.isFinite(te.x) && te.x >= 0 && Number.isFinite(te.y) && te.y >= 0), N;
|
|
17036
17452
|
}
|
|
17037
|
-
return function(O,
|
|
17038
|
-
if (typeof
|
|
17039
|
-
O.prototype = Object.create(
|
|
17040
|
-
}(D, $),
|
|
17041
|
-
|
|
17453
|
+
return function(O, N) {
|
|
17454
|
+
if (typeof N != "function" && N !== null) throw new TypeError("Super expression must either be null or a function");
|
|
17455
|
+
O.prototype = Object.create(N && N.prototype, { constructor: { value: O, writable: !0, configurable: !0 } }), Object.defineProperty(O, "prototype", { writable: !1 }), N && Pe(O, N);
|
|
17456
|
+
}(D, $), Z = D, (j = [{ key: "componentDidUpdate", value: function(O, N) {
|
|
17457
|
+
N.visible !== this.state.visible && this.props.afterLoad();
|
|
17042
17458
|
} }, { key: "onVisible", value: function() {
|
|
17043
17459
|
this.props.beforeLoad(), this.setState({ visible: !0 });
|
|
17044
17460
|
} }, { key: "render", value: function() {
|
|
17045
17461
|
if (this.state.visible) return this.props.children;
|
|
17046
|
-
var O = this.props,
|
|
17047
|
-
return this.isScrollTracked || pe && l() ? a().createElement(S, { className:
|
|
17048
|
-
} }]) && Y(
|
|
17049
|
-
var
|
|
17462
|
+
var O = this.props, N = O.className, J = O.delayMethod, Q = O.delayTime, te = O.height, ne = O.placeholder, le = O.scrollPosition, ae = O.style, oe = O.threshold, pe = O.useIntersectionObserver, he = O.width;
|
|
17463
|
+
return this.isScrollTracked || pe && l() ? a().createElement(S, { className: N, height: te, onVisible: this.onVisible, placeholder: ne, scrollPosition: le, style: ae, threshold: oe, useIntersectionObserver: pe, width: he }) : a().createElement(ue, { className: N, delayMethod: J, delayTime: Q, height: te, onVisible: this.onVisible, placeholder: ne, style: ae, threshold: oe, width: he });
|
|
17464
|
+
} }]) && Y(Z.prototype, j), Object.defineProperty(Z, "prototype", { writable: !1 }), Z;
|
|
17465
|
+
var Z, j;
|
|
17050
17466
|
}(a().Component);
|
|
17051
17467
|
ve.propTypes = { afterLoad: o.PropTypes.func, beforeLoad: o.PropTypes.func, useIntersectionObserver: o.PropTypes.bool, visibleByDefault: o.PropTypes.bool }, ve.defaultProps = { afterLoad: function() {
|
|
17052
17468
|
return {};
|
|
@@ -17063,66 +17479,66 @@ var build = { exports: {} };
|
|
|
17063
17479
|
}
|
|
17064
17480
|
var we = ["afterLoad", "beforeLoad", "delayMethod", "delayTime", "effect", "placeholder", "placeholderSrc", "scrollPosition", "threshold", "useIntersectionObserver", "visibleByDefault", "wrapperClassName", "wrapperProps"];
|
|
17065
17481
|
function Se($, D) {
|
|
17066
|
-
var
|
|
17482
|
+
var Z = Object.keys($);
|
|
17067
17483
|
if (Object.getOwnPropertySymbols) {
|
|
17068
17484
|
var j = Object.getOwnPropertySymbols($);
|
|
17069
17485
|
D && (j = j.filter(function(O) {
|
|
17070
17486
|
return Object.getOwnPropertyDescriptor($, O).enumerable;
|
|
17071
|
-
})),
|
|
17487
|
+
})), Z.push.apply(Z, j);
|
|
17072
17488
|
}
|
|
17073
|
-
return
|
|
17489
|
+
return Z;
|
|
17074
17490
|
}
|
|
17075
17491
|
function Ae($) {
|
|
17076
17492
|
for (var D = 1; D < arguments.length; D++) {
|
|
17077
|
-
var
|
|
17078
|
-
D % 2 ? Se(Object(
|
|
17079
|
-
Ee($, j,
|
|
17080
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties($, Object.getOwnPropertyDescriptors(
|
|
17081
|
-
Object.defineProperty($, j, Object.getOwnPropertyDescriptor(
|
|
17493
|
+
var Z = arguments[D] != null ? arguments[D] : {};
|
|
17494
|
+
D % 2 ? Se(Object(Z), !0).forEach(function(j) {
|
|
17495
|
+
Ee($, j, Z[j]);
|
|
17496
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties($, Object.getOwnPropertyDescriptors(Z)) : Se(Object(Z)).forEach(function(j) {
|
|
17497
|
+
Object.defineProperty($, j, Object.getOwnPropertyDescriptor(Z, j));
|
|
17082
17498
|
});
|
|
17083
17499
|
}
|
|
17084
17500
|
return $;
|
|
17085
17501
|
}
|
|
17086
|
-
function Ee($, D,
|
|
17087
|
-
return (D = Re(D)) in $ ? Object.defineProperty($, D, { value:
|
|
17502
|
+
function Ee($, D, Z) {
|
|
17503
|
+
return (D = Re(D)) in $ ? Object.defineProperty($, D, { value: Z, enumerable: !0, configurable: !0, writable: !0 }) : $[D] = Z, $;
|
|
17088
17504
|
}
|
|
17089
17505
|
function Me() {
|
|
17090
17506
|
return Me = Object.assign ? Object.assign.bind() : function($) {
|
|
17091
17507
|
for (var D = 1; D < arguments.length; D++) {
|
|
17092
|
-
var
|
|
17093
|
-
for (var j in
|
|
17508
|
+
var Z = arguments[D];
|
|
17509
|
+
for (var j in Z) ({}).hasOwnProperty.call(Z, j) && ($[j] = Z[j]);
|
|
17094
17510
|
}
|
|
17095
17511
|
return $;
|
|
17096
17512
|
}, Me.apply(null, arguments);
|
|
17097
17513
|
}
|
|
17098
17514
|
function _e($, D) {
|
|
17099
|
-
for (var
|
|
17100
|
-
var j = D[
|
|
17515
|
+
for (var Z = 0; Z < D.length; Z++) {
|
|
17516
|
+
var j = D[Z];
|
|
17101
17517
|
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty($, Re(j.key), j);
|
|
17102
17518
|
}
|
|
17103
17519
|
}
|
|
17104
17520
|
function Re($) {
|
|
17105
|
-
var D = function(
|
|
17106
|
-
if (xe(
|
|
17107
|
-
var O =
|
|
17521
|
+
var D = function(Z, j) {
|
|
17522
|
+
if (xe(Z) != "object" || !Z) return Z;
|
|
17523
|
+
var O = Z[Symbol.toPrimitive];
|
|
17108
17524
|
if (O !== void 0) {
|
|
17109
|
-
var
|
|
17110
|
-
if (xe(
|
|
17525
|
+
var N = O.call(Z, "string");
|
|
17526
|
+
if (xe(N) != "object") return N;
|
|
17111
17527
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
17112
17528
|
}
|
|
17113
|
-
return String(
|
|
17529
|
+
return String(Z);
|
|
17114
17530
|
}($);
|
|
17115
17531
|
return xe(D) == "symbol" ? D : D + "";
|
|
17116
17532
|
}
|
|
17117
|
-
function Ie($, D,
|
|
17533
|
+
function Ie($, D, Z) {
|
|
17118
17534
|
return D = Ve(D), function(j, O) {
|
|
17119
17535
|
if (O && (xe(O) == "object" || typeof O == "function")) return O;
|
|
17120
17536
|
if (O !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
17121
|
-
return function(
|
|
17122
|
-
if (
|
|
17123
|
-
return
|
|
17537
|
+
return function(N) {
|
|
17538
|
+
if (N === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
17539
|
+
return N;
|
|
17124
17540
|
}(j);
|
|
17125
|
-
}($, Oe() ? Reflect.construct(D,
|
|
17541
|
+
}($, Oe() ? Reflect.construct(D, Z || [], Ve($).constructor) : D.apply($, Z));
|
|
17126
17542
|
}
|
|
17127
17543
|
function Oe() {
|
|
17128
17544
|
try {
|
|
@@ -17140,27 +17556,27 @@ var build = { exports: {} };
|
|
|
17140
17556
|
}, Ve($);
|
|
17141
17557
|
}
|
|
17142
17558
|
function ke($, D) {
|
|
17143
|
-
return ke = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
17144
|
-
return
|
|
17559
|
+
return ke = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(Z, j) {
|
|
17560
|
+
return Z.__proto__ = j, Z;
|
|
17145
17561
|
}, ke($, D);
|
|
17146
17562
|
}
|
|
17147
17563
|
var De = function($) {
|
|
17148
17564
|
function D(O) {
|
|
17149
|
-
var
|
|
17565
|
+
var N;
|
|
17150
17566
|
return function(J, Q) {
|
|
17151
17567
|
if (!(J instanceof Q)) throw new TypeError("Cannot call a class as a function");
|
|
17152
|
-
}(this, D), (
|
|
17568
|
+
}(this, D), (N = Ie(this, D, [O])).state = { loaded: !1 }, N;
|
|
17153
17569
|
}
|
|
17154
|
-
return function(O,
|
|
17155
|
-
if (typeof
|
|
17156
|
-
O.prototype = Object.create(
|
|
17157
|
-
}(D, $),
|
|
17570
|
+
return function(O, N) {
|
|
17571
|
+
if (typeof N != "function" && N !== null) throw new TypeError("Super expression must either be null or a function");
|
|
17572
|
+
O.prototype = Object.create(N && N.prototype, { constructor: { value: O, writable: !0, configurable: !0 } }), Object.defineProperty(O, "prototype", { writable: !1 }), N && ke(O, N);
|
|
17573
|
+
}(D, $), Z = D, j = [{ key: "onImageLoad", value: function() {
|
|
17158
17574
|
var O = this;
|
|
17159
|
-
return this.state.loaded ? null : function(
|
|
17160
|
-
O.props.onLoad(
|
|
17575
|
+
return this.state.loaded ? null : function(N) {
|
|
17576
|
+
O.props.onLoad(N), O.props.afterLoad(), O.setState({ loaded: !0 });
|
|
17161
17577
|
};
|
|
17162
17578
|
} }, { key: "getImg", value: function() {
|
|
17163
|
-
var O = this.props,
|
|
17579
|
+
var O = this.props, N = (O.afterLoad, O.beforeLoad, O.delayMethod, O.delayTime, O.effect, O.placeholder, O.placeholderSrc, O.scrollPosition, O.threshold, O.useIntersectionObserver, O.visibleByDefault, O.wrapperClassName, O.wrapperProps, function(J, Q) {
|
|
17164
17580
|
if (J == null) return {};
|
|
17165
17581
|
var te, ne, le = function(oe, pe) {
|
|
17166
17582
|
if (oe == null) return {};
|
|
@@ -17177,18 +17593,18 @@ var build = { exports: {} };
|
|
|
17177
17593
|
}
|
|
17178
17594
|
return le;
|
|
17179
17595
|
}(O, we));
|
|
17180
|
-
return a().createElement("img", Me({},
|
|
17596
|
+
return a().createElement("img", Me({}, N, { onLoad: this.onImageLoad() }));
|
|
17181
17597
|
} }, { key: "getLazyLoadImage", value: function() {
|
|
17182
|
-
var O = this.props,
|
|
17183
|
-
return a().createElement(ye, { beforeLoad:
|
|
17598
|
+
var O = this.props, N = O.beforeLoad, J = O.className, Q = O.delayMethod, te = O.delayTime, ne = O.height, le = O.placeholder, ae = O.scrollPosition, oe = O.style, pe = O.threshold, he = O.useIntersectionObserver, ge = O.visibleByDefault, Fe = O.width;
|
|
17599
|
+
return a().createElement(ye, { beforeLoad: N, className: J, delayMethod: Q, delayTime: te, height: ne, placeholder: le, scrollPosition: ae, style: oe, threshold: pe, useIntersectionObserver: he, visibleByDefault: ge, width: Fe }, this.getImg());
|
|
17184
17600
|
} }, { key: "getWrappedLazyLoadImage", value: function(O) {
|
|
17185
|
-
var
|
|
17601
|
+
var N = this.props, J = N.effect, Q = N.height, te = N.placeholderSrc, ne = N.width, le = N.wrapperClassName, ae = N.wrapperProps, oe = this.state.loaded, pe = oe ? " lazy-load-image-loaded" : "", he = oe || !te ? {} : { backgroundImage: "url(".concat(te, ")"), backgroundSize: "100% 100%" };
|
|
17186
17602
|
return a().createElement("span", Me({ className: le + " lazy-load-image-background " + J + pe, style: Ae(Ae({}, he), {}, { color: "transparent", display: "inline-block", height: Q, width: ne }) }, ae), O);
|
|
17187
17603
|
} }, { key: "render", value: function() {
|
|
17188
|
-
var O = this.props,
|
|
17189
|
-
return (
|
|
17190
|
-
} }], j && _e(
|
|
17191
|
-
var
|
|
17604
|
+
var O = this.props, N = O.effect, J = O.placeholderSrc, Q = O.visibleByDefault, te = O.wrapperClassName, ne = O.wrapperProps, le = this.getLazyLoadImage();
|
|
17605
|
+
return (N || J) && !Q || te || ne ? this.getWrappedLazyLoadImage(le) : le;
|
|
17606
|
+
} }], j && _e(Z.prototype, j), Object.defineProperty(Z, "prototype", { writable: !1 }), Z;
|
|
17607
|
+
var Z, j;
|
|
17192
17608
|
}(a().Component);
|
|
17193
17609
|
De.propTypes = { onLoad: o.PropTypes.func, afterLoad: o.PropTypes.func, beforeLoad: o.PropTypes.func, delayMethod: o.PropTypes.string, delayTime: o.PropTypes.number, effect: o.PropTypes.string, placeholderSrc: o.PropTypes.string, threshold: o.PropTypes.number, useIntersectionObserver: o.PropTypes.bool, visibleByDefault: o.PropTypes.bool, wrapperClassName: o.PropTypes.string, wrapperProps: o.PropTypes.object }, De.defaultProps = { onLoad: function() {
|
|
17194
17610
|
}, afterLoad: function() {
|
|
@@ -19239,24 +19655,24 @@ function createAnimationState(e) {
|
|
|
19239
19655
|
m === c && x.isActive && !M && S || // If we removed a higher-priority variant (i is in reverse order)
|
|
19240
19656
|
E > C && S, k = !1;
|
|
19241
19657
|
const U = Array.isArray(y) ? y : [y];
|
|
19242
|
-
let
|
|
19243
|
-
T === !1 && (
|
|
19244
|
-
const { prevResolvedValues: B = {} } = x,
|
|
19658
|
+
let z = U.reduce(s(m), {});
|
|
19659
|
+
T === !1 && (z = {});
|
|
19660
|
+
const { prevResolvedValues: B = {} } = x, G = {
|
|
19245
19661
|
...B,
|
|
19246
|
-
...
|
|
19662
|
+
...z
|
|
19247
19663
|
}, q = (R) => {
|
|
19248
19664
|
V = !0, d.has(R) && (k = !0, d.delete(R)), x.needsAnimating[R] = !0;
|
|
19249
19665
|
const P = e.getValue(R);
|
|
19250
19666
|
P && (P.liveStyle = !1);
|
|
19251
19667
|
};
|
|
19252
|
-
for (const R in
|
|
19253
|
-
const P =
|
|
19668
|
+
for (const R in G) {
|
|
19669
|
+
const P = z[R], A = B[R];
|
|
19254
19670
|
if (b.hasOwnProperty(R))
|
|
19255
19671
|
continue;
|
|
19256
19672
|
let F = !1;
|
|
19257
19673
|
isKeyframesTarget(P) && isKeyframesTarget(A) ? F = !shallowCompare(P, A) : F = P !== A, F ? P != null ? q(R) : d.add(R) : P !== void 0 && d.has(R) ? q(R) : x.protectedKeys[R] = !0;
|
|
19258
19674
|
}
|
|
19259
|
-
x.prevProp = y, x.prevResolvedValues =
|
|
19675
|
+
x.prevProp = y, x.prevResolvedValues = z, x.isActive && (b = { ...b, ...z }), n && e.blockInitialAnimation && (V = !1), V && (!(M && L) || k) && p.push(...U.map((R) => ({
|
|
19260
19676
|
animation: R,
|
|
19261
19677
|
options: { type: m }
|
|
19262
19678
|
})));
|
|
@@ -21929,6 +22345,7 @@ const createDomVisualElement = (e, t) => isSVGComponent(e) ? new SVGVisualElemen
|
|
|
21929
22345
|
}
|
|
21930
22346
|
);
|
|
21931
22347
|
export {
|
|
22348
|
+
APIIcon,
|
|
21932
22349
|
AddIcon,
|
|
21933
22350
|
ArbitrumLogo,
|
|
21934
22351
|
ArrowDownwardIcon,
|
|
@@ -21944,7 +22361,9 @@ export {
|
|
|
21944
22361
|
AssetChainLogos,
|
|
21945
22362
|
BTCLogo,
|
|
21946
22363
|
BlogCard,
|
|
22364
|
+
BlogIcon,
|
|
21947
22365
|
BottomSheet,
|
|
22366
|
+
BrandKitIcon,
|
|
21948
22367
|
Button,
|
|
21949
22368
|
Camelot,
|
|
21950
22369
|
CancelIcon,
|
|
@@ -21957,13 +22376,19 @@ export {
|
|
|
21957
22376
|
Chip,
|
|
21958
22377
|
ClockIcon,
|
|
21959
22378
|
CloseIcon,
|
|
22379
|
+
CodeBlockIcon,
|
|
21960
22380
|
Coinbase,
|
|
21961
22381
|
CompareArrowsIcon,
|
|
22382
|
+
ConsoleIcon,
|
|
22383
|
+
Container,
|
|
21962
22384
|
CopyIcon,
|
|
22385
|
+
CopyrightsIcon,
|
|
21963
22386
|
DLCBTC,
|
|
21964
22387
|
Debridge,
|
|
21965
22388
|
DeleteIcon,
|
|
22389
|
+
DiscordIcon,
|
|
21966
22390
|
Dodo,
|
|
22391
|
+
DraftIcon,
|
|
21967
22392
|
EditIcon,
|
|
21968
22393
|
EthereumLogo,
|
|
21969
22394
|
ExchangeIcon,
|
|
@@ -21997,6 +22422,7 @@ export {
|
|
|
21997
22422
|
Opacity,
|
|
21998
22423
|
OpenInFullIcon,
|
|
21999
22424
|
OpenInNewIcon,
|
|
22425
|
+
OtterSecIcon,
|
|
22000
22426
|
PageInfoIcon,
|
|
22001
22427
|
PancakeSwap,
|
|
22002
22428
|
PasskeyIcon,
|
|
@@ -22011,12 +22437,14 @@ export {
|
|
|
22011
22437
|
ReferralIcon,
|
|
22012
22438
|
RelayLinkIcon,
|
|
22013
22439
|
RemoveIcon,
|
|
22440
|
+
SDKIcon,
|
|
22014
22441
|
ScaleY,
|
|
22015
22442
|
SearchIcon,
|
|
22016
22443
|
Share,
|
|
22017
22444
|
Shine,
|
|
22018
22445
|
Sidebar,
|
|
22019
22446
|
Solv,
|
|
22447
|
+
StakeIcon,
|
|
22020
22448
|
StarIcon,
|
|
22021
22449
|
SwapHorizontalIcon,
|
|
22022
22450
|
SwellBTC,
|
|
@@ -22032,5 +22460,8 @@ export {
|
|
|
22032
22460
|
WalletConnect,
|
|
22033
22461
|
WalletIcon,
|
|
22034
22462
|
WalletIconRose,
|
|
22035
|
-
WarningIcon
|
|
22463
|
+
WarningIcon,
|
|
22464
|
+
XIcon,
|
|
22465
|
+
XSolidIcon,
|
|
22466
|
+
ZellicIcon
|
|
22036
22467
|
};
|