@gardenfi/garden-book 0.1.85 → 0.1.87
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/Icons/GasStationIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/SwapHorizontalIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/index.d.ts +2 -0
- package/dist/components/molecules/GradientScroll/GradientScroll.d.ts +1 -0
- package/dist/components/molecules/GradientScroll/GradientScroll.stories.d.ts +1 -0
- package/dist/ui.cjs.js +5 -5
- package/dist/ui.es.js +206 -167
- package/dist/ui.umd.js +5 -5
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -369,7 +369,7 @@ function isImage(e) {
|
|
|
369
369
|
return imageRegex.test(e);
|
|
370
370
|
}
|
|
371
371
|
function getDefaultConfig() {
|
|
372
|
-
const e = fromTheme("colors"), t = fromTheme("spacing"), i = fromTheme("blur"), n = fromTheme("brightness"), s = fromTheme("borderColor"), a = fromTheme("borderRadius"), o = fromTheme("borderSpacing"), c = fromTheme("borderWidth"), l = fromTheme("contrast"), f = fromTheme("grayscale"), u = fromTheme("hueRotate"), m = fromTheme("invert"), p = fromTheme("gap"), b = fromTheme("gradientColorStops"), C = fromTheme("gradientColorStopPositions"), y = fromTheme("inset"), A = fromTheme("margin"), g = fromTheme("opacity"), x = fromTheme("padding"), d = fromTheme("saturate"), S = fromTheme("scale"), T = fromTheme("sepia"), E = fromTheme("skew"), _ = fromTheme("space"), V = fromTheme("translate"), B = () => ["auto", "contain", "none"], $ = () => ["auto", "hidden", "clip", "visible", "scroll"],
|
|
372
|
+
const e = fromTheme("colors"), t = fromTheme("spacing"), i = fromTheme("blur"), n = fromTheme("brightness"), s = fromTheme("borderColor"), a = fromTheme("borderRadius"), o = fromTheme("borderSpacing"), c = fromTheme("borderWidth"), l = fromTheme("contrast"), f = fromTheme("grayscale"), u = fromTheme("hueRotate"), m = fromTheme("invert"), p = fromTheme("gap"), b = fromTheme("gradientColorStops"), C = fromTheme("gradientColorStopPositions"), y = fromTheme("inset"), A = fromTheme("margin"), g = fromTheme("opacity"), x = fromTheme("padding"), d = fromTheme("saturate"), S = fromTheme("scale"), T = fromTheme("sepia"), E = fromTheme("skew"), _ = fromTheme("space"), V = fromTheme("translate"), B = () => ["auto", "contain", "none"], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], z = () => ["auto", isArbitraryValue, t], D = () => [isArbitraryValue, t], X = () => ["", isLength, isArbitraryLength], q = () => ["auto", isNumber, isArbitraryValue], N = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], L = () => ["solid", "dashed", "dotted", "double", "none"], k = () => ["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"], M = () => ["", "0", isArbitraryValue], R = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], I = () => [isNumber, isArbitraryNumber], G = () => [isNumber, isArbitraryValue];
|
|
373
373
|
return {
|
|
374
374
|
cacheSize: 500,
|
|
375
375
|
separator: ":",
|
|
@@ -389,8 +389,8 @@ function getDefaultConfig() {
|
|
|
389
389
|
gap: D(),
|
|
390
390
|
gradientColorStops: [e],
|
|
391
391
|
gradientColorStopPositions: [isPercent, isArbitraryLength],
|
|
392
|
-
inset:
|
|
393
|
-
margin:
|
|
392
|
+
inset: z(),
|
|
393
|
+
margin: z(),
|
|
394
394
|
opacity: I(),
|
|
395
395
|
padding: D(),
|
|
396
396
|
saturate: I(),
|
|
@@ -622,7 +622,7 @@ function getDefaultConfig() {
|
|
|
622
622
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
623
623
|
*/
|
|
624
624
|
basis: [{
|
|
625
|
-
basis:
|
|
625
|
+
basis: z()
|
|
626
626
|
}],
|
|
627
627
|
/**
|
|
628
628
|
* Flex Direction
|
|
@@ -2881,7 +2881,7 @@ var lottie$1 = { exports: {} };
|
|
|
2881
2881
|
P.assets[M].layers && k(P.assets[M].layers);
|
|
2882
2882
|
}
|
|
2883
2883
|
};
|
|
2884
|
-
}(),
|
|
2884
|
+
}(), z = /* @__PURE__ */ function() {
|
|
2885
2885
|
var N = [4, 4, 18];
|
|
2886
2886
|
function L(P) {
|
|
2887
2887
|
var M, R = P.length, I, G;
|
|
@@ -2918,13 +2918,13 @@ var lottie$1 = { exports: {} };
|
|
|
2918
2918
|
};
|
|
2919
2919
|
}();
|
|
2920
2920
|
function D(N) {
|
|
2921
|
-
N.__complete || ($(N), _(N), V(N), B(N),
|
|
2921
|
+
N.__complete || ($(N), _(N), V(N), B(N), z(N), A(N.layers, N.assets), g(N.chars, N.assets), N.__complete = !0);
|
|
2922
2922
|
}
|
|
2923
2923
|
function X(N) {
|
|
2924
2924
|
N.t.a.length === 0 && "m" in N.t.p;
|
|
2925
2925
|
}
|
|
2926
2926
|
var q = {};
|
|
2927
|
-
return q.completeData = D, q.checkColors = $, q.checkChars = V, q.checkPathProperties = B, q.checkShapes =
|
|
2927
|
+
return q.completeData = D, q.checkColors = $, q.checkChars = V, q.checkPathProperties = B, q.checkShapes = z, q.completeLayers = A, q;
|
|
2928
2928
|
}
|
|
2929
2929
|
if (a.dataManager || (a.dataManager = C()), a.assetLoader || (a.assetLoader = /* @__PURE__ */ function() {
|
|
2930
2930
|
function A(x) {
|
|
@@ -3579,7 +3579,7 @@ var lottie$1 = { exports: {} };
|
|
|
3579
3579
|
function $() {
|
|
3580
3580
|
!o && s && a && (window.requestAnimationFrame(x), a = !1);
|
|
3581
3581
|
}
|
|
3582
|
-
function
|
|
3582
|
+
function z() {
|
|
3583
3583
|
o = !0;
|
|
3584
3584
|
}
|
|
3585
3585
|
function D() {
|
|
@@ -3600,7 +3600,7 @@ var lottie$1 = { exports: {} };
|
|
|
3600
3600
|
for (k = 0; k < n; k += 1)
|
|
3601
3601
|
t[k].animation.unmute(L);
|
|
3602
3602
|
}
|
|
3603
|
-
return e.registerAnimation = l, e.loadAnimation = b, e.setSpeed = C, e.setDirection = y, e.play = A, e.pause = d, e.stop = T, e.togglePause = E, e.searchAnimations = V, e.resize = B, e.goToAndStop = S, e.destroy = _, e.freeze =
|
|
3603
|
+
return e.registerAnimation = l, e.loadAnimation = b, e.setSpeed = C, e.setDirection = y, e.play = A, e.pause = d, e.stop = T, e.togglePause = E, e.searchAnimations = V, e.resize = B, e.goToAndStop = S, e.destroy = _, e.freeze = z, e.unfreeze = D, e.setVolume = X, e.mute = q, e.unmute = N, e.getRegisteredAnimations = f, e;
|
|
3604
3604
|
}(), BezierFactory = function() {
|
|
3605
3605
|
var e = {};
|
|
3606
3606
|
e.getBezierEasing = i;
|
|
@@ -3668,8 +3668,8 @@ var lottie$1 = { exports: {} };
|
|
|
3668
3668
|
for (var S = this._p[0], T = this._p[2], E = this._mSampleValues, _ = 0, V = 1, B = c - 1; V !== B && E[V] <= d; ++V)
|
|
3669
3669
|
_ += l;
|
|
3670
3670
|
--V;
|
|
3671
|
-
var $ = (d - E[V]) / (E[V + 1] - E[V]),
|
|
3672
|
-
return D >= s ? A(d,
|
|
3671
|
+
var $ = (d - E[V]) / (E[V + 1] - E[V]), z = _ + $ * l, D = C(z, S, T);
|
|
3672
|
+
return D >= s ? A(d, z, S, T) : D === 0 ? z : y(d, _, _ + l, S, T);
|
|
3673
3673
|
}
|
|
3674
3674
|
}, e;
|
|
3675
3675
|
}(), pooling = /* @__PURE__ */ function() {
|
|
@@ -3758,13 +3758,13 @@ var lottie$1 = { exports: {} };
|
|
|
3758
3758
|
return function(b, C, y, A) {
|
|
3759
3759
|
var g = (b[0] + "_" + b[1] + "_" + C[0] + "_" + C[1] + "_" + y[0] + "_" + y[1] + "_" + A[0] + "_" + A[1]).replace(/\./g, "p");
|
|
3760
3760
|
if (!p[g]) {
|
|
3761
|
-
var x = getDefaultCurveSegments(), d, S, T, E, _, V = 0, B, $,
|
|
3761
|
+
var x = getDefaultCurveSegments(), d, S, T, E, _, V = 0, B, $, z = null;
|
|
3762
3762
|
b.length === 2 && (b[0] !== C[0] || b[1] !== C[1]) && t(b[0], b[1], C[0], C[1], b[0] + y[0], b[1] + y[1]) && t(b[0], b[1], C[0], C[1], C[0] + A[0], C[1] + A[1]) && (x = 2);
|
|
3763
3763
|
var D = new a(x);
|
|
3764
3764
|
for (T = y.length, d = 0; d < x; d += 1) {
|
|
3765
3765
|
for ($ = createSizedArray(T), _ = d / (x - 1), B = 0, S = 0; S < T; S += 1)
|
|
3766
|
-
E = bmPow(1 - _, 3) * b[S] + 3 * bmPow(1 - _, 2) * _ * (b[S] + y[S]) + 3 * (1 - _) * bmPow(_, 2) * (C[S] + A[S]) + bmPow(_, 3) * C[S], $[S] = E,
|
|
3767
|
-
B = bmSqrt(B), V += B, D.points[d] = new o(B, $),
|
|
3766
|
+
E = bmPow(1 - _, 3) * b[S] + 3 * bmPow(1 - _, 2) * _ * (b[S] + y[S]) + 3 * (1 - _) * bmPow(_, 2) * (C[S] + A[S]) + bmPow(_, 3) * C[S], $[S] = E, z !== null && (B += bmPow($[S] - z[S], 2));
|
|
3767
|
+
B = bmSqrt(B), V += B, D.points[d] = new o(B, $), z = $;
|
|
3768
3768
|
}
|
|
3769
3769
|
D.segmentLength = V, p[g] = D;
|
|
3770
3770
|
}
|
|
@@ -3792,9 +3792,9 @@ var lottie$1 = { exports: {} };
|
|
|
3792
3792
|
A < 0 ? A = 0 : A > 1 && (A = 1);
|
|
3793
3793
|
var d = l(A, x);
|
|
3794
3794
|
g = g > 1 ? 1 : g;
|
|
3795
|
-
var S = l(g, x), T, E = p.length, _ = 1 - d, V = 1 - S, B = _ * _ * _, $ = d * _ * _ * 3,
|
|
3795
|
+
var S = l(g, x), T, E = p.length, _ = 1 - d, V = 1 - S, B = _ * _ * _, $ = d * _ * _ * 3, z = d * d * _ * 3, D = d * d * d, X = _ * _ * V, q = d * _ * V + _ * d * V + _ * _ * S, N = d * d * V + _ * d * S + d * _ * S, L = d * d * S, k = _ * V * V, P = d * V * V + _ * S * V + _ * V * S, M = d * S * V + _ * S * S + d * V * S, R = d * S * S, I = V * V * V, G = S * V * V + V * S * V + V * V * S, U = S * S * V + V * S * S + S * V * S, K = S * S * S;
|
|
3796
3796
|
for (T = 0; T < E; T += 1)
|
|
3797
|
-
u[T * 4] = e.round((B * p[T] + $ * C[T] +
|
|
3797
|
+
u[T * 4] = e.round((B * p[T] + $ * C[T] + z * y[T] + D * b[T]) * 1e3) / 1e3, u[T * 4 + 1] = e.round((X * p[T] + q * C[T] + N * y[T] + L * b[T]) * 1e3) / 1e3, u[T * 4 + 2] = e.round((k * p[T] + P * C[T] + M * y[T] + R * b[T]) * 1e3) / 1e3, u[T * 4 + 3] = e.round((I * p[T] + G * C[T] + U * y[T] + K * b[T]) * 1e3) / 1e3;
|
|
3798
3798
|
return u;
|
|
3799
3799
|
}
|
|
3800
3800
|
return {
|
|
@@ -3848,7 +3848,7 @@ var lottie$1 = { exports: {} };
|
|
|
3848
3848
|
t._lastPoint = y, t._lastAddedLength = V - S.points[y].partialLength, t._lastKeyframeIndex = a;
|
|
3849
3849
|
}
|
|
3850
3850
|
} else {
|
|
3851
|
-
var B, $,
|
|
3851
|
+
var B, $, z, D, X;
|
|
3852
3852
|
if (o = l.s.length, d = f.s || l.e, this.sh && l.h !== 1)
|
|
3853
3853
|
if (e >= g)
|
|
3854
3854
|
n[0] = d[0], n[1] = d[1], n[2] = d[2];
|
|
@@ -3860,7 +3860,7 @@ var lottie$1 = { exports: {} };
|
|
|
3860
3860
|
}
|
|
3861
3861
|
else
|
|
3862
3862
|
for (a = 0; a < o; a += 1)
|
|
3863
|
-
l.h !== 1 && (e >= g ? b = 1 : e < x ? b = 0 : (l.o.x.constructor === Array ? (u.__fnct || (u.__fnct = []), u.__fnct[a] ? A = u.__fnct[a] : (B = l.o.x[a] === void 0 ? l.o.x[0] : l.o.x[a], $ = l.o.y[a] === void 0 ? l.o.y[0] : l.o.y[a],
|
|
3863
|
+
l.h !== 1 && (e >= g ? b = 1 : e < x ? b = 0 : (l.o.x.constructor === Array ? (u.__fnct || (u.__fnct = []), u.__fnct[a] ? A = u.__fnct[a] : (B = l.o.x[a] === void 0 ? l.o.x[0] : l.o.x[a], $ = l.o.y[a] === void 0 ? l.o.y[0] : l.o.y[a], z = l.i.x[a] === void 0 ? l.i.x[0] : l.i.x[a], D = l.i.y[a] === void 0 ? l.i.y[0] : l.i.y[a], A = BezierFactory.getBezierEasing(B, $, z, D).get, u.__fnct[a] = A)) : u.__fnct ? A = u.__fnct : (B = l.o.x, $ = l.o.y, z = l.i.x, D = l.i.y, A = BezierFactory.getBezierEasing(B, $, z, D).get, l.keyframeMetadata = A), b = A((e - x) / (g - x)))), d = f.s || l.e, X = l.h === 1 ? l.s[a] : l.s[a] + (d[a] - l.s[a]) * b, this.propType === "multidimensional" ? n[a] = X : n = X;
|
|
3864
3864
|
}
|
|
3865
3865
|
return t.lastIndex = s, n;
|
|
3866
3866
|
}
|
|
@@ -4081,7 +4081,7 @@ var lottie$1 = { exports: {} };
|
|
|
4081
4081
|
}(), ShapePropertyFactory = function() {
|
|
4082
4082
|
var e = -999999;
|
|
4083
4083
|
function t(g, x, d) {
|
|
4084
|
-
var S = d.lastIndex, T, E, _, V, B, $,
|
|
4084
|
+
var S = d.lastIndex, T, E, _, V, B, $, z, D, X, q = this.keyframes;
|
|
4085
4085
|
if (g < q[0].t - this.offsetTime)
|
|
4086
4086
|
T = q[0].s[0], _ = !0, S = 0;
|
|
4087
4087
|
else if (g >= q[q.length - 1].t - this.offsetTime)
|
|
@@ -4102,8 +4102,8 @@ var lottie$1 = { exports: {} };
|
|
|
4102
4102
|
}
|
|
4103
4103
|
T = P.s[0];
|
|
4104
4104
|
}
|
|
4105
|
-
for ($ = x._length,
|
|
4106
|
-
for (B = 0; B <
|
|
4105
|
+
for ($ = x._length, z = T.i[0].length, d.lastIndex = S, V = 0; V < $; V += 1)
|
|
4106
|
+
for (B = 0; B < z; B += 1)
|
|
4107
4107
|
X = _ ? T.i[V][B] : T.i[V][B] + (E.i[V][B] - T.i[V][B]) * D, x.i[V][B] = X, X = _ ? T.o[V][B] : T.o[V][B] + (E.o[V][B] - T.o[V][B]) * D, x.o[V][B] = X, X = _ ? T.v[V][B] : T.v[V][B] + (E.v[V][B] - T.v[V][B]) * D, x.v[V][B] = X;
|
|
4108
4108
|
}
|
|
4109
4109
|
function i() {
|
|
@@ -4187,11 +4187,11 @@ var lottie$1 = { exports: {} };
|
|
|
4187
4187
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
|
|
4188
4188
|
},
|
|
4189
4189
|
convertStarToPath: function() {
|
|
4190
|
-
var d = Math.floor(this.pt.v) * 2, S = Math.PI * 2 / d, T = !0, E = this.or.v, _ = this.ir.v, V = this.os.v, B = this.is.v, $ = 2 * Math.PI * E / (d * 2),
|
|
4190
|
+
var d = Math.floor(this.pt.v) * 2, S = Math.PI * 2 / d, T = !0, E = this.or.v, _ = this.ir.v, V = this.os.v, B = this.is.v, $ = 2 * Math.PI * E / (d * 2), z = 2 * Math.PI * _ / (d * 2), D, X, q, N, L = -Math.PI / 2;
|
|
4191
4191
|
L += this.r.v;
|
|
4192
4192
|
var k = this.data.d === 3 ? -1 : 1;
|
|
4193
4193
|
for (this.v._length = 0, D = 0; D < d; D += 1) {
|
|
4194
|
-
X = T ? E : _, q = T ? V : B, N = T ? $ :
|
|
4194
|
+
X = T ? E : _, q = T ? V : B, N = T ? $ : z;
|
|
4195
4195
|
var P = X * Math.cos(L), M = X * Math.sin(L), R = P === 0 && M === 0 ? 0 : M / Math.sqrt(P * P + M * M), I = P === 0 && M === 0 ? 0 : -P / Math.sqrt(P * P + M * M);
|
|
4196
4196
|
P += +this.p.v[0], M += +this.p.v[1], this.v.setTripleAt(P, M, P - R * N * q * k, M - I * N * q * k, P + R * N * q * k, M + I * N * q * k, D, !0), T = !T, L += S * k;
|
|
4197
4197
|
}
|
|
@@ -4199,8 +4199,8 @@ var lottie$1 = { exports: {} };
|
|
|
4199
4199
|
convertPolygonToPath: function() {
|
|
4200
4200
|
var d = Math.floor(this.pt.v), S = Math.PI * 2 / d, T = this.or.v, E = this.os.v, _ = 2 * Math.PI * T / (d * 4), V, B = -Math.PI * 0.5, $ = this.data.d === 3 ? -1 : 1;
|
|
4201
4201
|
for (B += this.r.v, this.v._length = 0, V = 0; V < d; V += 1) {
|
|
4202
|
-
var
|
|
4203
|
-
|
|
4202
|
+
var z = T * Math.cos(B), D = T * Math.sin(B), X = z === 0 && D === 0 ? 0 : D / Math.sqrt(z * z + D * D), q = z === 0 && D === 0 ? 0 : -z / Math.sqrt(z * z + D * D);
|
|
4203
|
+
z += +this.p.v[0], D += +this.p.v[1], this.v.setTripleAt(z, D, z - X * _ * E * $, D - q * _ * E * $, z + X * _ * E * $, D + q * _ * E * $, V, !0), B += S * $;
|
|
4204
4204
|
}
|
|
4205
4205
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
4206
4206
|
}
|
|
@@ -4350,7 +4350,7 @@ var lottie$1 = { exports: {} };
|
|
|
4350
4350
|
var M = this.getInverseMatrix();
|
|
4351
4351
|
return M.applyToPointArray(P[0], P[1], P[2] || 0);
|
|
4352
4352
|
}
|
|
4353
|
-
function
|
|
4353
|
+
function z(P) {
|
|
4354
4354
|
var M, R = P.length, I = [];
|
|
4355
4355
|
for (M = 0; M < R; M += 1)
|
|
4356
4356
|
I[M] = $(P[M]);
|
|
@@ -4390,7 +4390,7 @@ var lottie$1 = { exports: {} };
|
|
|
4390
4390
|
return "matrix(" + M + "," + R + "," + I + "," + G + "," + U + "," + K + ")";
|
|
4391
4391
|
}
|
|
4392
4392
|
return function() {
|
|
4393
|
-
this.reset = s, this.rotate = a, this.rotateX = o, this.rotateY = c, this.rotateZ = l, this.skew = u, this.skewFromAxis = m, this.shear = f, this.scale = p, this.setTransform = b, this.translate = C, this.transform = y, this.multiply = A, this.applyToPoint = T, this.applyToX = E, this.applyToY = _, this.applyToZ = V, this.applyToPointArray = X, this.applyToTriplePoints = D, this.applyToPointStringified = q, this.toCSS = N, this.to2dCSS = k, this.clone = d, this.cloneFromProps = S, this.equals = x, this.inversePoints =
|
|
4393
|
+
this.reset = s, this.rotate = a, this.rotateX = o, this.rotateY = c, this.rotateZ = l, this.skew = u, this.skewFromAxis = m, this.shear = f, this.scale = p, this.setTransform = b, this.translate = C, this.transform = y, this.multiply = A, this.applyToPoint = T, this.applyToX = E, this.applyToY = _, this.applyToZ = V, this.applyToPointArray = X, this.applyToTriplePoints = D, this.applyToPointStringified = q, this.toCSS = N, this.to2dCSS = k, this.clone = d, this.cloneFromProps = S, this.equals = x, this.inversePoints = z, this.inversePoint = $, this.getInverseMatrix = B, this._t = this.transform, this.isIdentity = g, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
|
|
4394
4394
|
};
|
|
4395
4395
|
}();
|
|
4396
4396
|
function _typeof$3(e) {
|
|
@@ -5361,7 +5361,7 @@ var lottie$1 = { exports: {} };
|
|
|
5361
5361
|
function $(L) {
|
|
5362
5362
|
return B(L.substr(0, 2)) && B(L.substr(2, 2));
|
|
5363
5363
|
}
|
|
5364
|
-
function
|
|
5364
|
+
function z(L) {
|
|
5365
5365
|
return i.indexOf(L) !== -1;
|
|
5366
5366
|
}
|
|
5367
5367
|
function D(L, k) {
|
|
@@ -5382,7 +5382,7 @@ var lottie$1 = { exports: {} };
|
|
|
5382
5382
|
var q = function() {
|
|
5383
5383
|
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);
|
|
5384
5384
|
};
|
|
5385
|
-
q.isModifier = E, q.isZeroWidthJoiner = _, q.isFlagEmoji = $, q.isRegionalCode = B, q.isCombinedCharacter =
|
|
5385
|
+
q.isModifier = E, q.isZeroWidthJoiner = _, q.isFlagEmoji = $, q.isRegionalCode = B, q.isCombinedCharacter = z, q.isRegionalFlag = D, q.isVariationSelector = V, q.BLACK_FLAG_CODE_POINT = n;
|
|
5386
5386
|
var N = {
|
|
5387
5387
|
addChars: g,
|
|
5388
5388
|
addFonts: A,
|
|
@@ -6392,12 +6392,12 @@ var lottie$1 = { exports: {} };
|
|
|
6392
6392
|
if (m.t === 1)
|
|
6393
6393
|
(p.e._mdf || b) && (C.setAttribute("x2", g[0]), C.setAttribute("y2", g[1]), y && !p.g._collapsable && (p.of.setAttribute("x2", g[0]), p.of.setAttribute("y2", g[1])));
|
|
6394
6394
|
else {
|
|
6395
|
-
var
|
|
6396
|
-
if ((p.s._mdf || p.e._mdf || b) && (
|
|
6397
|
-
|
|
6395
|
+
var z;
|
|
6396
|
+
if ((p.s._mdf || p.e._mdf || b) && (z = Math.sqrt(Math.pow(A[0] - g[0], 2) + Math.pow(A[1] - g[1], 2)), C.setAttribute("r", z), y && !p.g._collapsable && p.of.setAttribute("r", z)), p.e._mdf || p.h._mdf || p.a._mdf || b) {
|
|
6397
|
+
z || (z = Math.sqrt(Math.pow(A[0] - g[0], 2) + Math.pow(A[1] - g[1], 2)));
|
|
6398
6398
|
var D = Math.atan2(g[1] - A[1], g[0] - A[0]), X = p.h.v;
|
|
6399
6399
|
X >= 1 ? X = 0.99 : X <= -1 && (X = -0.99);
|
|
6400
|
-
var q =
|
|
6400
|
+
var q = z * X, N = Math.cos(D + p.a.v) * q + A[0], L = Math.sin(D + p.a.v) * q + A[1];
|
|
6401
6401
|
C.setAttribute("fx", N), C.setAttribute("fy", L), y && !p.g._collapsable && (p.of.setAttribute("fx", N), p.of.setAttribute("fy", L));
|
|
6402
6402
|
}
|
|
6403
6403
|
}
|
|
@@ -6591,12 +6591,12 @@ var lottie$1 = { exports: {} };
|
|
|
6591
6591
|
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;
|
|
6592
6592
|
var E = e.tr / 1e3 * e.finalSize, _;
|
|
6593
6593
|
if (e.sz)
|
|
6594
|
-
for (var V = !0, B = e.sz[0], $ = e.sz[1],
|
|
6595
|
-
D = this.buildFinalText(e.t),
|
|
6594
|
+
for (var V = !0, B = e.sz[0], $ = e.sz[1], z, D; V; ) {
|
|
6595
|
+
D = this.buildFinalText(e.t), z = 0, C = 0, a = D.length, E = e.tr / 1e3 * e.finalSize;
|
|
6596
6596
|
var X = -1;
|
|
6597
6597
|
for (s = 0; s < a; s += 1)
|
|
6598
|
-
_ = D[s].charCodeAt(0), o = !1, D[s] === " " ? X = s : (_ === 13 || _ === 3) && (C = 0, o = !0,
|
|
6599
|
-
|
|
6598
|
+
_ = D[s].charCodeAt(0), o = !1, D[s] === " " ? X = s : (_ === 13 || _ === 3) && (C = 0, o = !0, z += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (d = t.getCharData(D[s], x.fStyle, x.fFamily), S = o ? 0 : d.w * e.finalSize / 100) : S = t.measureText(D[s], e.f, e.finalSize), C + S > B && D[s] !== " " ? (X === -1 ? a += 1 : s = X, z += e.finalLineHeight || e.finalSize * 1.2, D.splice(s, X === s ? 1 : 0, "\r"), X = -1, C = 0) : (C += S, C += E);
|
|
6599
|
+
z += x.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && $ < z ? (e.finalSize -= 1, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText = D, a = e.finalText.length, V = !1);
|
|
6600
6600
|
}
|
|
6601
6601
|
C = -E, S = 0;
|
|
6602
6602
|
var q = 0, N;
|
|
@@ -6771,10 +6771,10 @@ var lottie$1 = { exports: {} };
|
|
|
6771
6771
|
}, TextAnimatorProperty.prototype.getMeasures = function(e, t) {
|
|
6772
6772
|
if (this.lettersChangedFlag = t, !(!this._mdf && !this._isFirstFrame && !t && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
|
|
6773
6773
|
this._isFirstFrame = !1;
|
|
6774
|
-
var i = this._moreOptions.alignment.v, n = this._animatorsData, s = this._textData, a = this.mHelper, o = this._renderType, c = this.renderedLetters.length, l, f, u, m, p = e.l, b, C, y, A, g, x, d, S, T, E, _, V, B, $,
|
|
6774
|
+
var i = this._moreOptions.alignment.v, n = this._animatorsData, s = this._textData, a = this.mHelper, o = this._renderType, c = this.renderedLetters.length, l, f, u, m, p = e.l, b, C, y, A, g, x, d, S, T, E, _, V, B, $, z;
|
|
6775
6775
|
if (this._hasMaskedPath) {
|
|
6776
|
-
if (
|
|
6777
|
-
var D =
|
|
6776
|
+
if (z = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
|
|
6777
|
+
var D = z.v;
|
|
6778
6778
|
this._pathData.r.v && (D = D.reverse()), b = {
|
|
6779
6779
|
tLength: 0,
|
|
6780
6780
|
segments: []
|
|
@@ -6782,9 +6782,9 @@ var lottie$1 = { exports: {} };
|
|
|
6782
6782
|
var X;
|
|
6783
6783
|
for (V = 0, u = 0; u < m; u += 1)
|
|
6784
6784
|
X = bez.buildBezierData(D.v[u], D.v[u + 1], [D.o[u][0] - D.v[u][0], D.o[u][1] - D.v[u][1]], [D.i[u + 1][0] - D.v[u + 1][0], D.i[u + 1][1] - D.v[u + 1][1]]), b.tLength += X.segmentLength, b.segments.push(X), V += X.segmentLength;
|
|
6785
|
-
u = m,
|
|
6785
|
+
u = m, z.v.c && (X = bez.buildBezierData(D.v[u], D.v[0], [D.o[u][0] - D.v[u][0], D.o[u][1] - D.v[u][1]], [D.i[0][0] - D.v[0][0], D.i[0][1] - D.v[0][1]]), b.tLength += X.segmentLength, b.segments.push(X), V += X.segmentLength), this._pathData.pi = b;
|
|
6786
6786
|
}
|
|
6787
|
-
if (b = this._pathData.pi, C = this._pathData.f.v, d = 0, x = 1, A = 0, g = !0, E = b.segments, C < 0 &&
|
|
6787
|
+
if (b = this._pathData.pi, C = this._pathData.f.v, d = 0, x = 1, A = 0, g = !0, E = b.segments, C < 0 && z.v.c)
|
|
6788
6788
|
for (b.tLength < Math.abs(C) && (C = -Math.abs(C) % b.tLength), d = E.length - 1, T = E[d].points, x = T.length - 1; C < 0; )
|
|
6789
6789
|
C += T[x].partialLength, x -= 1, x < 0 && (d -= 1, T = E[d].points, x = T.length - 1);
|
|
6790
6790
|
T = E[d].points, S = T[x - 1], y = T[x], _ = y.partialLength;
|
|
@@ -6829,7 +6829,7 @@ var lottie$1 = { exports: {} };
|
|
|
6829
6829
|
for (P = 0; P < M; P += 1)
|
|
6830
6830
|
L = n[P].a, L.p.propType && (k = n[P].s, I = k.getMult(p[u].anIndexes[P], s.a[P].s.totalChars), I.length ? Se += L.p.v[0] * I[0] : Se += L.p.v[0] * I), L.a.propType && (k = n[P].s, I = k.getMult(p[u].anIndexes[P], s.a[P].s.totalChars), I.length ? Se += L.a.v[0] * I[0] : Se += L.a.v[0] * I);
|
|
6831
6831
|
for (g = !0, this._pathData.a.v && (C = p[0].an * 0.5 + (V - this._pathData.f.v - p[0].an * 0.5 - p[p.length - 1].an * 0.5) * G / (m - 1), C += this._pathData.f.v); g; )
|
|
6832
|
-
A + _ >= C + Se || !T ? (B = (C + Se - A) / y.partialLength, K = S.point[0] + (y.point[0] - S.point[0]) * B, J = S.point[1] + (y.point[1] - S.point[1]) * B, a.translate(-i[0] * p[u].an * 5e-3, -(i[1] * q) * 0.01), g = !1) : T && (A += y.partialLength, x += 1, x >= T.length && (x = 0, d += 1, E[d] ? T = E[d].points :
|
|
6832
|
+
A + _ >= C + Se || !T ? (B = (C + Se - A) / y.partialLength, K = S.point[0] + (y.point[0] - S.point[0]) * B, J = S.point[1] + (y.point[1] - S.point[1]) * B, a.translate(-i[0] * p[u].an * 5e-3, -(i[1] * q) * 0.01), g = !1) : T && (A += y.partialLength, x += 1, x >= T.length && (x = 0, d += 1, E[d] ? T = E[d].points : z.v.c ? (x = 0, d = 0, T = E[d].points) : (A -= y.partialLength, T = null)), T && (S = y, y = T[x], _ = y.partialLength));
|
|
6833
6833
|
U = p[u].an / 2 - p[u].add, a.translate(-U, 0, 0);
|
|
6834
6834
|
} else
|
|
6835
6835
|
U = p[u].an / 2 - p[u].add, a.translate(-U, 0, 0), a.translate(-i[0] * p[u].an * 5e-3, -i[1] * q * 0.01, 0);
|
|
@@ -8369,20 +8369,20 @@ var lottie$1 = { exports: {} };
|
|
|
8369
8369
|
entropy: !0
|
|
8370
8370
|
} : S || {};
|
|
8371
8371
|
var _ = A(y(S.entropy ? [d, x(e)] : d === null ? g() : d, 3), E), V = new b(E), B = function() {
|
|
8372
|
-
for (var
|
|
8373
|
-
|
|
8374
|
-
for (;
|
|
8375
|
-
|
|
8376
|
-
return (
|
|
8372
|
+
for (var z = V.g(s), D = c, X = 0; z < l; )
|
|
8373
|
+
z = (z + X) * n, D *= n, X = V.g(1);
|
|
8374
|
+
for (; z >= f; )
|
|
8375
|
+
z /= 2, D /= 2, X >>>= 1;
|
|
8376
|
+
return (z + X) / D;
|
|
8377
8377
|
};
|
|
8378
8378
|
return B.int32 = function() {
|
|
8379
8379
|
return V.g(4) | 0;
|
|
8380
8380
|
}, B.quick = function() {
|
|
8381
8381
|
return V.g(4) / 4294967296;
|
|
8382
|
-
}, B.double = B, A(x(V.S), e), (S.pass || T || function($,
|
|
8382
|
+
}, B.double = B, A(x(V.S), e), (S.pass || T || function($, z, D, X) {
|
|
8383
8383
|
return X && (X.S && C(X, V), $.state = function() {
|
|
8384
8384
|
return C(V, {});
|
|
8385
|
-
}), D ? (t[o] = $,
|
|
8385
|
+
}), D ? (t[o] = $, z) : $;
|
|
8386
8386
|
})(B, _, "global" in S ? S.global : this == t, S.state);
|
|
8387
8387
|
}
|
|
8388
8388
|
t["seed" + o] = p;
|
|
@@ -8393,8 +8393,8 @@ var lottie$1 = { exports: {} };
|
|
|
8393
8393
|
for (_ = 0; _ < n; _++)
|
|
8394
8394
|
B[_] = B[V = u & V + d[_ % T] + (S = B[_])], B[V] = S;
|
|
8395
8395
|
E.g = function($) {
|
|
8396
|
-
for (var
|
|
8397
|
-
|
|
8396
|
+
for (var z, D = 0, X = E.i, q = E.j, N = E.S; $--; )
|
|
8397
|
+
z = N[X = u & X + 1], D = D * n + N[u & (N[X] = N[q = u & q + z]) + (N[q] = z)];
|
|
8398
8398
|
return E.i = X, E.j = q, D;
|
|
8399
8399
|
};
|
|
8400
8400
|
}
|
|
@@ -9603,13 +9603,13 @@ var lottie$1 = { exports: {} };
|
|
|
9603
9603
|
if (_ % 2 !== 0)
|
|
9604
9604
|
return this.getValueAtTime((x - (y - d) % x + d) / this.comp.globalData.frameRate, 0);
|
|
9605
9605
|
} else if (p === "offset") {
|
|
9606
|
-
var V = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), B = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), $ = this.getValueAtTime(((y - d) % x + d) / this.comp.globalData.frameRate, 0),
|
|
9606
|
+
var V = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), B = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), $ = this.getValueAtTime(((y - d) % x + d) / this.comp.globalData.frameRate, 0), z = Math.floor((y - d) / x);
|
|
9607
9607
|
if (this.pv.length) {
|
|
9608
9608
|
for (E = new Array(V.length), T = E.length, S = 0; S < T; S += 1)
|
|
9609
|
-
E[S] = (B[S] - V[S]) *
|
|
9609
|
+
E[S] = (B[S] - V[S]) * z + $[S];
|
|
9610
9610
|
return E;
|
|
9611
9611
|
}
|
|
9612
|
-
return (B - V) *
|
|
9612
|
+
return (B - V) * z + $;
|
|
9613
9613
|
} else if (p === "continue") {
|
|
9614
9614
|
var D = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), X = this.getValueAtTime((g - 1e-3) / this.comp.globalData.frameRate, 0);
|
|
9615
9615
|
if (this.pv.length) {
|
|
@@ -9636,13 +9636,13 @@ var lottie$1 = { exports: {} };
|
|
|
9636
9636
|
if (_ % 2 === 0)
|
|
9637
9637
|
return this.getValueAtTime(((g - y) % x + g) / this.comp.globalData.frameRate, 0);
|
|
9638
9638
|
} else if (p === "offset") {
|
|
9639
|
-
var V = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), B = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), $ = this.getValueAtTime((x - (g - y) % x + g) / this.comp.globalData.frameRate, 0),
|
|
9639
|
+
var V = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), B = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), $ = this.getValueAtTime((x - (g - y) % x + g) / this.comp.globalData.frameRate, 0), z = Math.floor((g - y) / x) + 1;
|
|
9640
9640
|
if (this.pv.length) {
|
|
9641
9641
|
for (E = new Array(V.length), T = E.length, S = 0; S < T; S += 1)
|
|
9642
|
-
E[S] = $[S] - (B[S] - V[S]) *
|
|
9642
|
+
E[S] = $[S] - (B[S] - V[S]) * z;
|
|
9643
9643
|
return E;
|
|
9644
9644
|
}
|
|
9645
|
-
return $ - (B - V) *
|
|
9645
|
+
return $ - (B - V) * z;
|
|
9646
9646
|
} else if (p === "continue") {
|
|
9647
9647
|
var D = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), X = this.getValueAtTime((g + 1e-3) / this.comp.globalData.frameRate, 0);
|
|
9648
9648
|
if (this.pv.length) {
|
|
@@ -10159,7 +10159,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10159
10159
|
}, $ = function() {
|
|
10160
10160
|
var G;
|
|
10161
10161
|
(G = E.current) === null || G === void 0 || G.pause();
|
|
10162
|
-
},
|
|
10162
|
+
}, z = function(G) {
|
|
10163
10163
|
var U;
|
|
10164
10164
|
(U = E.current) === null || U === void 0 || U.setSpeed(G);
|
|
10165
10165
|
}, D = function(G, U) {
|
|
@@ -10276,7 +10276,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10276
10276
|
play: V,
|
|
10277
10277
|
stop: B,
|
|
10278
10278
|
pause: $,
|
|
10279
|
-
setSpeed:
|
|
10279
|
+
setSpeed: z,
|
|
10280
10280
|
goToAndStop: X,
|
|
10281
10281
|
goToAndPlay: D,
|
|
10282
10282
|
setDirection: q,
|
|
@@ -12589,7 +12589,41 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx(
|
|
|
12589
12589
|
), WarningIcon = (e) => /* @__PURE__ */ jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
12590
12590
|
/* @__PURE__ */ jsx("mask", { id: "mask0_19962_22568", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "16", height: "16", children: /* @__PURE__ */ jsx("rect", { width: "16", height: "16", fill: "#D9D9D9" }) }),
|
|
12591
12591
|
/* @__PURE__ */ jsx("g", { mask: "url(#mask0_19962_22568)", children: /* @__PURE__ */ jsx("path", { d: "M0.664062 13.9987L7.9974 1.33203L15.3307 13.9987H0.664062ZM2.96406 12.6654H13.0307L7.9974 3.9987L2.96406 12.6654ZM7.9974 11.9987C8.18629 11.9987 8.34462 11.9348 8.4724 11.807C8.60017 11.6793 8.66406 11.5209 8.66406 11.332C8.66406 11.1431 8.60017 10.9848 8.4724 10.857C8.34462 10.7293 8.18629 10.6654 7.9974 10.6654C7.80851 10.6654 7.65017 10.7293 7.5224 10.857C7.39462 10.9848 7.33073 11.1431 7.33073 11.332C7.33073 11.5209 7.39462 11.6793 7.5224 11.807C7.65017 11.9348 7.80851 11.9987 7.9974 11.9987ZM7.33073 9.9987H8.66406V6.66536H7.33073V9.9987Z", fill: "#554B6A" }) })
|
|
12592
|
-
] }),
|
|
12592
|
+
] }), SwapHorizontalIcon = (e) => /* @__PURE__ */ jsx(
|
|
12593
|
+
"svg",
|
|
12594
|
+
{
|
|
12595
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12596
|
+
width: "12",
|
|
12597
|
+
height: "10",
|
|
12598
|
+
viewBox: "0 0 12 10",
|
|
12599
|
+
fill: "none",
|
|
12600
|
+
...e,
|
|
12601
|
+
children: /* @__PURE__ */ jsx(
|
|
12602
|
+
"path",
|
|
12603
|
+
{
|
|
12604
|
+
d: "M3.1727 9.36931L0.458008 6.65462L3.1727 3.93994L3.78753 4.56367L2.13392 6.21712H6.38103V7.09212H2.13392L3.78753 8.74573L3.1727 9.36931ZM8.82665 6.05452L8.21182 5.43079L9.86542 3.77719H5.61832V2.90233H9.86542L8.21182 1.24873L8.82665 0.625L11.5413 3.33969L8.82665 6.05452Z",
|
|
12605
|
+
fill: "#554B6A"
|
|
12606
|
+
}
|
|
12607
|
+
)
|
|
12608
|
+
}
|
|
12609
|
+
), GasStationIcon = (e) => /* @__PURE__ */ jsx(
|
|
12610
|
+
"svg",
|
|
12611
|
+
{
|
|
12612
|
+
width: "10",
|
|
12613
|
+
height: "10",
|
|
12614
|
+
viewBox: "0 0 10 10",
|
|
12615
|
+
fill: "none",
|
|
12616
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12617
|
+
...e,
|
|
12618
|
+
children: /* @__PURE__ */ jsx(
|
|
12619
|
+
"path",
|
|
12620
|
+
{
|
|
12621
|
+
d: "M0.625 9.95829V1.09615C0.625 0.801466 0.727083 0.552043 0.93125 0.347876C1.13542 0.143709 1.38484 0.041626 1.67952 0.041626H4.82048C5.11516 0.041626 5.36458 0.143709 5.56875 0.347876C5.77292 0.552043 5.875 0.801466 5.875 1.09615V4.88781H6.43588C6.72589 4.88781 6.97415 4.99106 7.18065 5.19756C7.38715 5.40406 7.4904 5.65227 7.4904 5.94219V8.58965C7.4904 8.77738 7.55563 8.93649 7.6861 9.06696C7.81658 9.19753 7.97568 9.26281 8.16342 9.26281C8.35115 9.26281 8.51026 9.19753 8.64073 9.06696C8.7713 8.93649 8.83658 8.77738 8.83658 8.58965V4.50194C8.74908 4.55424 8.65672 4.59051 8.5595 4.61073C8.46228 4.63086 8.36019 4.64092 8.25325 4.64092C7.89518 4.64092 7.59248 4.5173 7.34515 4.27006C7.09791 4.02283 6.97429 3.72017 6.97429 3.36211C6.97429 3.07345 7.05659 2.8164 7.22119 2.59094C7.38569 2.36548 7.60332 2.2142 7.87408 2.13711L6.55925 0.822417L7.04838 0.333293L9.1281 2.37729C9.25906 2.50815 9.3591 2.65977 9.42823 2.83215C9.49745 3.00452 9.53206 3.18117 9.53206 3.36211V8.58965C9.53206 8.9729 9.39984 9.29679 9.1354 9.56133C8.87105 9.82597 8.54744 9.95829 8.16458 9.95829C7.78162 9.95829 7.45758 9.82597 7.19246 9.56133C6.92743 9.29679 6.79492 8.9729 6.79492 8.58965V5.76281C6.79492 5.71041 6.77805 5.66739 6.74431 5.63375C6.71067 5.60011 6.6677 5.58329 6.6154 5.58329H5.875V9.95829H0.625ZM1.5 3.97913H5V1.09615C5 1.05123 4.98128 1.0101 4.94385 0.972771C4.90652 0.935341 4.8654 0.916626 4.82048 0.916626H1.67952C1.6346 0.916626 1.59348 0.935341 1.55615 0.972771C1.51872 1.0101 1.5 1.05123 1.5 1.09615V3.97913ZM8.25325 3.94544C8.41853 3.94544 8.55707 3.88954 8.66887 3.77773C8.78068 3.66592 8.83658 3.52738 8.83658 3.36211C8.83658 3.19683 8.78068 3.05829 8.66887 2.94648C8.55707 2.83467 8.41853 2.77877 8.25325 2.77877C8.08797 2.77877 7.94943 2.83467 7.83763 2.94648C7.72582 3.05829 7.66992 3.19683 7.66992 3.36211C7.66992 3.52738 7.72582 3.66592 7.83763 3.77773C7.94943 3.88954 8.08797 3.94544 8.25325 3.94544ZM1.5 9.08329H5V4.85413H1.5V9.08329Z",
|
|
12622
|
+
fill: "#554B6A"
|
|
12623
|
+
}
|
|
12624
|
+
)
|
|
12625
|
+
}
|
|
12626
|
+
), ArbitrumLogo = (e) => /* @__PURE__ */ jsxs(
|
|
12593
12627
|
"svg",
|
|
12594
12628
|
{
|
|
12595
12629
|
width: "18",
|
|
@@ -14230,23 +14264,26 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
14230
14264
|
className: t,
|
|
14231
14265
|
height: i,
|
|
14232
14266
|
gradientHeight: n = 24,
|
|
14233
|
-
|
|
14267
|
+
onClose: s = !1,
|
|
14268
|
+
...a
|
|
14234
14269
|
}) => {
|
|
14235
|
-
const [
|
|
14236
|
-
if (
|
|
14237
|
-
const { scrollTop:
|
|
14238
|
-
|
|
14270
|
+
const [o, c] = useState(!0), [l, f] = useState(!0), u = useRef(null), m = useRef(null), p = () => {
|
|
14271
|
+
if (u.current) {
|
|
14272
|
+
const { scrollTop: b, scrollHeight: C, clientHeight: y } = u.current;
|
|
14273
|
+
c(b + y < C), f(b > 0);
|
|
14239
14274
|
}
|
|
14240
14275
|
};
|
|
14241
14276
|
return useEffect(() => {
|
|
14242
|
-
|
|
14243
|
-
|
|
14244
|
-
m
|
|
14245
|
-
|
|
14246
|
-
|
|
14277
|
+
s && u.current && (u.current.scrollTop = 0);
|
|
14278
|
+
}, [s]), useEffect(() => {
|
|
14279
|
+
const b = u.current, C = m.current;
|
|
14280
|
+
if (!b || !C) return;
|
|
14281
|
+
p();
|
|
14282
|
+
const y = new ResizeObserver(() => {
|
|
14283
|
+
p();
|
|
14247
14284
|
});
|
|
14248
|
-
return
|
|
14249
|
-
|
|
14285
|
+
return y.observe(b), y.observe(C), () => {
|
|
14286
|
+
y.disconnect();
|
|
14250
14287
|
};
|
|
14251
14288
|
}, []), /* @__PURE__ */ jsxs(
|
|
14252
14289
|
"div",
|
|
@@ -14256,18 +14293,18 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
14256
14293
|
t
|
|
14257
14294
|
),
|
|
14258
14295
|
style: { height: typeof i == "number" ? `${i}px` : i },
|
|
14259
|
-
...
|
|
14296
|
+
...a,
|
|
14260
14297
|
children: [
|
|
14261
14298
|
/* @__PURE__ */ jsx(
|
|
14262
14299
|
"div",
|
|
14263
14300
|
{
|
|
14264
14301
|
className: "gf-h-full gf-w-full gf-overflow-auto gf-no-scrollbar",
|
|
14265
|
-
onScroll:
|
|
14266
|
-
ref:
|
|
14267
|
-
children: /* @__PURE__ */ jsx("div", { ref:
|
|
14302
|
+
onScroll: p,
|
|
14303
|
+
ref: u,
|
|
14304
|
+
children: /* @__PURE__ */ jsx("div", { ref: m, children: e })
|
|
14268
14305
|
}
|
|
14269
14306
|
),
|
|
14270
|
-
|
|
14307
|
+
l && /* @__PURE__ */ jsx(
|
|
14271
14308
|
"div",
|
|
14272
14309
|
{
|
|
14273
14310
|
className: " gf-w-full gf-absolute gf-top-0 gf-left-0 gf-z-40 gf-bg-gradient-to-b gf-from-white gf-via-white/80 gf-to-transparent gf-pointer-events-none",
|
|
@@ -14276,7 +14313,7 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
14276
14313
|
}
|
|
14277
14314
|
}
|
|
14278
14315
|
),
|
|
14279
|
-
|
|
14316
|
+
o && /* @__PURE__ */ jsx(
|
|
14280
14317
|
"div",
|
|
14281
14318
|
{
|
|
14282
14319
|
className: " gf-w-full gf-absolute gf-bottom-0 gf-left-0 gf-z-40 gf-bg-gradient-to-t gf-from-white gf-via-white/80 gf-to-transparent gf-pointer-events-none",
|
|
@@ -14458,11 +14495,11 @@ var build = { exports: {} };
|
|
|
14458
14495
|
return _ || u.test(T) ? m(T.slice(2), _ ? 2 : 8) : l.test(T) ? NaN : +T;
|
|
14459
14496
|
}
|
|
14460
14497
|
s.exports = function(T, E, _) {
|
|
14461
|
-
var V, B, $,
|
|
14498
|
+
var V, B, $, z, D, X, q = 0, N = !1, L = !1, k = !0;
|
|
14462
14499
|
if (typeof T != "function") throw new TypeError("Expected a function");
|
|
14463
14500
|
function P(U) {
|
|
14464
14501
|
var K = V, J = B;
|
|
14465
|
-
return V = B = void 0, q = U,
|
|
14502
|
+
return V = B = void 0, q = U, z = T.apply(J, K);
|
|
14466
14503
|
}
|
|
14467
14504
|
function M(U) {
|
|
14468
14505
|
var K = U - X;
|
|
@@ -14477,22 +14514,22 @@ var build = { exports: {} };
|
|
|
14477
14514
|
}(U));
|
|
14478
14515
|
}
|
|
14479
14516
|
function I(U) {
|
|
14480
|
-
return D = void 0, k && V ? P(U) : (V = B = void 0,
|
|
14517
|
+
return D = void 0, k && V ? P(U) : (V = B = void 0, z);
|
|
14481
14518
|
}
|
|
14482
14519
|
function G() {
|
|
14483
14520
|
var U = x(), K = M(U);
|
|
14484
14521
|
if (V = arguments, B = this, X = U, K) {
|
|
14485
14522
|
if (D === void 0) return function(J) {
|
|
14486
|
-
return q = J, D = setTimeout(R, E), N ? P(J) :
|
|
14523
|
+
return q = J, D = setTimeout(R, E), N ? P(J) : z;
|
|
14487
14524
|
}(X);
|
|
14488
14525
|
if (L) return D = setTimeout(R, E), P(X);
|
|
14489
14526
|
}
|
|
14490
|
-
return D === void 0 && (D = setTimeout(R, E)),
|
|
14527
|
+
return D === void 0 && (D = setTimeout(R, E)), z;
|
|
14491
14528
|
}
|
|
14492
14529
|
return E = S(E) || 0, d(_) && (N = !!_.leading, $ = (L = "maxWait" in _) ? A(S(_.maxWait) || 0, E) : $, k = "trailing" in _ ? !!_.trailing : k), G.cancel = function() {
|
|
14493
14530
|
D !== void 0 && clearTimeout(D), q = 0, V = X = B = D = void 0;
|
|
14494
14531
|
}, G.flush = function() {
|
|
14495
|
-
return D === void 0 ?
|
|
14532
|
+
return D === void 0 ? z : I(x());
|
|
14496
14533
|
}, G;
|
|
14497
14534
|
};
|
|
14498
14535
|
}, 858: (s, a, o) => {
|
|
@@ -14505,10 +14542,10 @@ var build = { exports: {} };
|
|
|
14505
14542
|
}
|
|
14506
14543
|
function _(V) {
|
|
14507
14544
|
if (typeof V == "number") return V;
|
|
14508
|
-
if (function(
|
|
14509
|
-
return typeof
|
|
14545
|
+
if (function(z) {
|
|
14546
|
+
return typeof z == "symbol" || /* @__PURE__ */ function(D) {
|
|
14510
14547
|
return !!D && typeof D == "object";
|
|
14511
|
-
}(
|
|
14548
|
+
}(z) && x.call(z) == f;
|
|
14512
14549
|
}(V)) return l;
|
|
14513
14550
|
if (E(V)) {
|
|
14514
14551
|
var B = typeof V.valueOf == "function" ? V.valueOf() : V;
|
|
@@ -14520,9 +14557,9 @@ var build = { exports: {} };
|
|
|
14520
14557
|
return $ || b.test(V) ? C(V.slice(2), $ ? 2 : 8) : m.test(V) ? l : +V;
|
|
14521
14558
|
}
|
|
14522
14559
|
s.exports = function(V, B, $) {
|
|
14523
|
-
var
|
|
14560
|
+
var z = !0, D = !0;
|
|
14524
14561
|
if (typeof V != "function") throw new TypeError(c);
|
|
14525
|
-
return E($) && (
|
|
14562
|
+
return E($) && (z = "leading" in $ ? !!$.leading : z, D = "trailing" in $ ? !!$.trailing : D), function(X, q, N) {
|
|
14526
14563
|
var L, k, P, M, R, I, G = 0, U = !1, K = !1, J = !0;
|
|
14527
14564
|
if (typeof X != "function") throw new TypeError(c);
|
|
14528
14565
|
function re(ne) {
|
|
@@ -14559,7 +14596,7 @@ var build = { exports: {} };
|
|
|
14559
14596
|
}, ue.flush = function() {
|
|
14560
14597
|
return R === void 0 ? M : pe(T());
|
|
14561
14598
|
}, ue;
|
|
14562
|
-
}(V, B, { leading:
|
|
14599
|
+
}(V, B, { leading: z, maxWait: B, trailing: D });
|
|
14563
14600
|
};
|
|
14564
14601
|
}, 694: (s, a, o) => {
|
|
14565
14602
|
var c = o(925);
|
|
@@ -14646,8 +14683,8 @@ var build = { exports: {} };
|
|
|
14646
14683
|
if (l(O) != "object" || !O) return O;
|
|
14647
14684
|
var j = O[Symbol.toPrimitive];
|
|
14648
14685
|
if (j !== void 0) {
|
|
14649
|
-
var
|
|
14650
|
-
if (l(
|
|
14686
|
+
var Z = j.call(O, "string");
|
|
14687
|
+
if (l(Z) != "object") return Z;
|
|
14651
14688
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
14652
14689
|
}
|
|
14653
14690
|
return String(O);
|
|
@@ -14658,9 +14695,9 @@ var build = { exports: {} };
|
|
|
14658
14695
|
return F = y(F), function(W, j) {
|
|
14659
14696
|
if (j && (l(j) == "object" || typeof j == "function")) return j;
|
|
14660
14697
|
if (j !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
14661
|
-
return function(
|
|
14662
|
-
if (
|
|
14663
|
-
return
|
|
14698
|
+
return function(Z) {
|
|
14699
|
+
if (Z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
14700
|
+
return Z;
|
|
14664
14701
|
}(W);
|
|
14665
14702
|
}(H, C() ? Reflect.construct(F, O || [], y(H).constructor) : F.apply(H, O));
|
|
14666
14703
|
}
|
|
@@ -14690,20 +14727,20 @@ var build = { exports: {} };
|
|
|
14690
14727
|
});
|
|
14691
14728
|
}, x = {}, d = function(H) {
|
|
14692
14729
|
function F(j) {
|
|
14693
|
-
var
|
|
14730
|
+
var Z;
|
|
14694
14731
|
if (function(Q, ie) {
|
|
14695
14732
|
if (!(Q instanceof ie)) throw new TypeError("Cannot call a class as a function");
|
|
14696
|
-
}(this, F), (
|
|
14733
|
+
}(this, F), (Z = b(this, F, [j])).supportsObserver = !j.scrollPosition && j.useIntersectionObserver && c(), Z.supportsObserver) {
|
|
14697
14734
|
var ee = j.threshold;
|
|
14698
|
-
|
|
14735
|
+
Z.observer = function(Q) {
|
|
14699
14736
|
return x[Q] = x[Q] || new IntersectionObserver(g, { rootMargin: Q + "px" }), x[Q];
|
|
14700
14737
|
}(ee);
|
|
14701
14738
|
}
|
|
14702
|
-
return
|
|
14739
|
+
return Z;
|
|
14703
14740
|
}
|
|
14704
|
-
return function(j,
|
|
14705
|
-
if (typeof
|
|
14706
|
-
j.prototype = Object.create(
|
|
14741
|
+
return function(j, Z) {
|
|
14742
|
+
if (typeof Z != "function" && Z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
14743
|
+
j.prototype = Object.create(Z && Z.prototype, { constructor: { value: j, writable: !0, configurable: !0 } }), Object.defineProperty(j, "prototype", { writable: !1 }), Z && A(j, Z);
|
|
14707
14744
|
}(F, H), O = F, W = [{ key: "componentDidMount", value: function() {
|
|
14708
14745
|
this.placeholder && this.observer && (this.placeholder.onVisible = this.props.onVisible, this.observer.observe(this.placeholder)), this.supportsObserver || this.updateVisibility();
|
|
14709
14746
|
} }, { key: "componentWillUnmount", value: function() {
|
|
@@ -14711,16 +14748,16 @@ var build = { exports: {} };
|
|
|
14711
14748
|
} }, { key: "componentDidUpdate", value: function() {
|
|
14712
14749
|
this.supportsObserver || this.updateVisibility();
|
|
14713
14750
|
} }, { key: "getPlaceholderBoundingBox", value: function() {
|
|
14714
|
-
var j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.props.scrollPosition,
|
|
14715
|
-
return { bottom: j.y +
|
|
14751
|
+
var j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.props.scrollPosition, Z = this.placeholder.getBoundingClientRect(), ee = this.placeholder.style, Q = parseInt(ee.getPropertyValue("margin-left"), 10) || 0, ie = parseInt(ee.getPropertyValue("margin-top"), 10) || 0;
|
|
14752
|
+
return { bottom: j.y + Z.bottom + ie, left: j.x + Z.left + Q, right: j.x + Z.right + Q, top: j.y + Z.top + ie };
|
|
14716
14753
|
} }, { key: "isPlaceholderInViewport", value: function() {
|
|
14717
14754
|
if (typeof window > "u" || !this.placeholder) return !1;
|
|
14718
|
-
var j = this.props,
|
|
14755
|
+
var j = this.props, Z = j.scrollPosition, ee = j.threshold, Q = this.getPlaceholderBoundingBox(Z), ie = Z.y + window.innerHeight, se = Z.x, he = Z.x + window.innerWidth, ce = Z.y;
|
|
14719
14756
|
return ce - ee <= Q.bottom && ie + ee >= Q.top && se - ee <= Q.right && he + ee >= Q.left;
|
|
14720
14757
|
} }, { key: "updateVisibility", value: function() {
|
|
14721
14758
|
this.isPlaceholderInViewport() && this.props.onVisible();
|
|
14722
14759
|
} }, { key: "render", value: function() {
|
|
14723
|
-
var j = this,
|
|
14760
|
+
var j = this, Z = this.props, ee = Z.className, Q = Z.height, ie = Z.placeholder, se = Z.style, he = Z.width;
|
|
14724
14761
|
if (ie && typeof ie.type != "function") return a().cloneElement(ie, { ref: function(ae) {
|
|
14725
14762
|
return j.placeholder = ae;
|
|
14726
14763
|
} });
|
|
@@ -14755,12 +14792,12 @@ var build = { exports: {} };
|
|
|
14755
14792
|
}
|
|
14756
14793
|
return window;
|
|
14757
14794
|
};
|
|
14758
|
-
function
|
|
14759
|
-
return
|
|
14795
|
+
function z(H) {
|
|
14796
|
+
return z = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(F) {
|
|
14760
14797
|
return typeof F;
|
|
14761
14798
|
} : function(F) {
|
|
14762
14799
|
return F && typeof Symbol == "function" && F.constructor === Symbol && F !== Symbol.prototype ? "symbol" : typeof F;
|
|
14763
|
-
},
|
|
14800
|
+
}, z(H);
|
|
14764
14801
|
}
|
|
14765
14802
|
var D = ["delayMethod", "delayTime"];
|
|
14766
14803
|
function X() {
|
|
@@ -14780,22 +14817,22 @@ var build = { exports: {} };
|
|
|
14780
14817
|
}
|
|
14781
14818
|
function N(H) {
|
|
14782
14819
|
var F = function(O, W) {
|
|
14783
|
-
if (
|
|
14820
|
+
if (z(O) != "object" || !O) return O;
|
|
14784
14821
|
var j = O[Symbol.toPrimitive];
|
|
14785
14822
|
if (j !== void 0) {
|
|
14786
|
-
var
|
|
14787
|
-
if (Z
|
|
14823
|
+
var Z = j.call(O, "string");
|
|
14824
|
+
if (z(Z) != "object") return Z;
|
|
14788
14825
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
14789
14826
|
}
|
|
14790
14827
|
return String(O);
|
|
14791
14828
|
}(H);
|
|
14792
|
-
return
|
|
14829
|
+
return z(F) == "symbol" ? F : F + "";
|
|
14793
14830
|
}
|
|
14794
14831
|
function L(H, F, O) {
|
|
14795
14832
|
return F = M(F), k(H, P() ? Reflect.construct(F, O || [], M(H).constructor) : F.apply(H, O));
|
|
14796
14833
|
}
|
|
14797
14834
|
function k(H, F) {
|
|
14798
|
-
if (F && (
|
|
14835
|
+
if (F && (z(F) == "object" || typeof F == "function")) return F;
|
|
14799
14836
|
if (F !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
14800
14837
|
return function(O) {
|
|
14801
14838
|
if (O === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -14840,7 +14877,7 @@ var build = { exports: {} };
|
|
|
14840
14877
|
return function(ee, Q) {
|
|
14841
14878
|
if (typeof Q != "function" && Q !== null) throw new TypeError("Super expression must either be null or a function");
|
|
14842
14879
|
ee.prototype = Object.create(Q && Q.prototype, { constructor: { value: ee, writable: !0, configurable: !0 } }), Object.defineProperty(ee, "prototype", { writable: !1 }), Q && R(ee, Q);
|
|
14843
|
-
}(W, O), j = W,
|
|
14880
|
+
}(W, O), j = W, Z = [{ key: "componentDidMount", value: function() {
|
|
14844
14881
|
this.addListeners();
|
|
14845
14882
|
} }, { key: "componentWillUnmount", value: function() {
|
|
14846
14883
|
this.removeListeners();
|
|
@@ -14871,8 +14908,8 @@ var build = { exports: {} };
|
|
|
14871
14908
|
return ge;
|
|
14872
14909
|
}(ee, D)), ie = this.useIntersectionObserver ? null : this.state.scrollPosition;
|
|
14873
14910
|
return a().createElement(H, X({ forwardRef: this.baseComponentRef, scrollPosition: ie }, Q));
|
|
14874
|
-
} }],
|
|
14875
|
-
var j,
|
|
14911
|
+
} }], Z && q(j.prototype, Z), Object.defineProperty(j, "prototype", { writable: !1 }), j;
|
|
14912
|
+
var j, Z;
|
|
14876
14913
|
}(a().Component);
|
|
14877
14914
|
return F.propTypes = { delayMethod: o.PropTypes.oneOf(["debounce", "throttle"]), delayTime: o.PropTypes.number, useIntersectionObserver: o.PropTypes.bool }, F.defaultProps = { delayMethod: "throttle", delayTime: 300, useIntersectionObserver: !0 }, F;
|
|
14878
14915
|
};
|
|
@@ -14894,8 +14931,8 @@ var build = { exports: {} };
|
|
|
14894
14931
|
if (K(O) != "object" || !O) return O;
|
|
14895
14932
|
var j = O[Symbol.toPrimitive];
|
|
14896
14933
|
if (j !== void 0) {
|
|
14897
|
-
var
|
|
14898
|
-
if (K(
|
|
14934
|
+
var Z = j.call(O, "string");
|
|
14935
|
+
if (K(Z) != "object") return Z;
|
|
14899
14936
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
14900
14937
|
}
|
|
14901
14938
|
return String(O);
|
|
@@ -14906,9 +14943,9 @@ var build = { exports: {} };
|
|
|
14906
14943
|
return F = pe(F), function(W, j) {
|
|
14907
14944
|
if (j && (K(j) == "object" || typeof j == "function")) return j;
|
|
14908
14945
|
if (j !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
14909
|
-
return function(
|
|
14910
|
-
if (
|
|
14911
|
-
return
|
|
14946
|
+
return function(Z) {
|
|
14947
|
+
if (Z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
14948
|
+
return Z;
|
|
14912
14949
|
}(W);
|
|
14913
14950
|
}(H, fe() ? Reflect.construct(F, O || [], pe(H).constructor) : F.apply(H, O));
|
|
14914
14951
|
}
|
|
@@ -14934,13 +14971,13 @@ var build = { exports: {} };
|
|
|
14934
14971
|
}
|
|
14935
14972
|
var ne = function(H) {
|
|
14936
14973
|
function F(j) {
|
|
14937
|
-
return function(
|
|
14938
|
-
if (!(
|
|
14974
|
+
return function(Z, ee) {
|
|
14975
|
+
if (!(Z instanceof ee)) throw new TypeError("Cannot call a class as a function");
|
|
14939
14976
|
}(this, F), le(this, F, [j]);
|
|
14940
14977
|
}
|
|
14941
|
-
return function(j,
|
|
14942
|
-
if (typeof
|
|
14943
|
-
j.prototype = Object.create(
|
|
14978
|
+
return function(j, Z) {
|
|
14979
|
+
if (typeof Z != "function" && Z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
14980
|
+
j.prototype = Object.create(Z && Z.prototype, { constructor: { value: j, writable: !0, configurable: !0 } }), Object.defineProperty(j, "prototype", { writable: !1 }), Z && ue(j, Z);
|
|
14944
14981
|
}(F, H), O = F, (W = [{ key: "render", value: function() {
|
|
14945
14982
|
return a().createElement(S, this.props);
|
|
14946
14983
|
} }]) && J(O.prototype, W), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
@@ -14965,8 +15002,8 @@ var build = { exports: {} };
|
|
|
14965
15002
|
if (te(O) != "object" || !O) return O;
|
|
14966
15003
|
var j = O[Symbol.toPrimitive];
|
|
14967
15004
|
if (j !== void 0) {
|
|
14968
|
-
var
|
|
14969
|
-
if (te(
|
|
15005
|
+
var Z = j.call(O, "string");
|
|
15006
|
+
if (te(Z) != "object") return Z;
|
|
14970
15007
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
14971
15008
|
}
|
|
14972
15009
|
return String(O);
|
|
@@ -14977,9 +15014,9 @@ var build = { exports: {} };
|
|
|
14977
15014
|
return F = ye(F), function(W, j) {
|
|
14978
15015
|
if (j && (te(j) == "object" || typeof j == "function")) return j;
|
|
14979
15016
|
if (j !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
14980
|
-
return function(
|
|
14981
|
-
if (
|
|
14982
|
-
return
|
|
15017
|
+
return function(Z) {
|
|
15018
|
+
if (Z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
15019
|
+
return Z;
|
|
14983
15020
|
}(W);
|
|
14984
15021
|
}(H, Pe() ? Reflect.construct(F, O || [], ye(H).constructor) : F.apply(H, O));
|
|
14985
15022
|
}
|
|
@@ -15005,24 +15042,24 @@ var build = { exports: {} };
|
|
|
15005
15042
|
}
|
|
15006
15043
|
var we = function(H) {
|
|
15007
15044
|
function F(j) {
|
|
15008
|
-
var
|
|
15045
|
+
var Z;
|
|
15009
15046
|
(function(he, ce) {
|
|
15010
15047
|
if (!(he instanceof ce)) throw new TypeError("Cannot call a class as a function");
|
|
15011
|
-
})(this, F),
|
|
15048
|
+
})(this, F), Z = Ee(this, F, [j]);
|
|
15012
15049
|
var ee = j.afterLoad, Q = j.beforeLoad, ie = j.scrollPosition, se = j.visibleByDefault;
|
|
15013
|
-
return
|
|
15050
|
+
return Z.state = { visible: se }, se && (Q(), ee()), Z.onVisible = Z.onVisible.bind(Z), Z.isScrollTracked = !!(ie && Number.isFinite(ie.x) && ie.x >= 0 && Number.isFinite(ie.y) && ie.y >= 0), Z;
|
|
15014
15051
|
}
|
|
15015
|
-
return function(j,
|
|
15016
|
-
if (typeof
|
|
15017
|
-
j.prototype = Object.create(
|
|
15018
|
-
}(F, H), O = F, (W = [{ key: "componentDidUpdate", value: function(j,
|
|
15019
|
-
|
|
15052
|
+
return function(j, Z) {
|
|
15053
|
+
if (typeof Z != "function" && Z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
15054
|
+
j.prototype = Object.create(Z && Z.prototype, { constructor: { value: j, writable: !0, configurable: !0 } }), Object.defineProperty(j, "prototype", { writable: !1 }), Z && be(j, Z);
|
|
15055
|
+
}(F, H), O = F, (W = [{ key: "componentDidUpdate", value: function(j, Z) {
|
|
15056
|
+
Z.visible !== this.state.visible && this.props.afterLoad();
|
|
15020
15057
|
} }, { key: "onVisible", value: function() {
|
|
15021
15058
|
this.props.beforeLoad(), this.setState({ visible: !0 });
|
|
15022
15059
|
} }, { key: "render", value: function() {
|
|
15023
15060
|
if (this.state.visible) return this.props.children;
|
|
15024
|
-
var j = this.props,
|
|
15025
|
-
return this.isScrollTracked || ge && c() ? a().createElement(S, { className:
|
|
15061
|
+
var j = this.props, Z = j.className, ee = j.delayMethod, Q = j.delayTime, ie = j.height, se = j.placeholder, he = j.scrollPosition, ce = j.style, ae = j.threshold, ge = j.useIntersectionObserver, de = j.width;
|
|
15062
|
+
return this.isScrollTracked || ge && c() ? a().createElement(S, { className: Z, height: ie, onVisible: this.onVisible, placeholder: se, scrollPosition: he, style: ce, threshold: ae, useIntersectionObserver: ge, width: de }) : a().createElement(oe, { className: Z, delayMethod: ee, delayTime: Q, height: ie, onVisible: this.onVisible, placeholder: se, style: ce, threshold: ae, width: de });
|
|
15026
15063
|
} }]) && Y(O.prototype, W), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
15027
15064
|
var O, W;
|
|
15028
15065
|
}(a().Component);
|
|
@@ -15084,8 +15121,8 @@ var build = { exports: {} };
|
|
|
15084
15121
|
if (Ce(O) != "object" || !O) return O;
|
|
15085
15122
|
var j = O[Symbol.toPrimitive];
|
|
15086
15123
|
if (j !== void 0) {
|
|
15087
|
-
var
|
|
15088
|
-
if (Ce(
|
|
15124
|
+
var Z = j.call(O, "string");
|
|
15125
|
+
if (Ce(Z) != "object") return Z;
|
|
15089
15126
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
15090
15127
|
}
|
|
15091
15128
|
return String(O);
|
|
@@ -15096,9 +15133,9 @@ var build = { exports: {} };
|
|
|
15096
15133
|
return F = Ie(F), function(W, j) {
|
|
15097
15134
|
if (j && (Ce(j) == "object" || typeof j == "function")) return j;
|
|
15098
15135
|
if (j !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
15099
|
-
return function(
|
|
15100
|
-
if (
|
|
15101
|
-
return
|
|
15136
|
+
return function(Z) {
|
|
15137
|
+
if (Z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
15138
|
+
return Z;
|
|
15102
15139
|
}(W);
|
|
15103
15140
|
}(H, je() ? Reflect.construct(F, O || [], Ie(H).constructor) : F.apply(H, O));
|
|
15104
15141
|
}
|
|
@@ -15124,21 +15161,21 @@ var build = { exports: {} };
|
|
|
15124
15161
|
}
|
|
15125
15162
|
var Be = function(H) {
|
|
15126
15163
|
function F(j) {
|
|
15127
|
-
var
|
|
15164
|
+
var Z;
|
|
15128
15165
|
return function(ee, Q) {
|
|
15129
15166
|
if (!(ee instanceof Q)) throw new TypeError("Cannot call a class as a function");
|
|
15130
|
-
}(this, F), (
|
|
15167
|
+
}(this, F), (Z = ke(this, F, [j])).state = { loaded: !1 }, Z;
|
|
15131
15168
|
}
|
|
15132
|
-
return function(j,
|
|
15133
|
-
if (typeof
|
|
15134
|
-
j.prototype = Object.create(
|
|
15169
|
+
return function(j, Z) {
|
|
15170
|
+
if (typeof Z != "function" && Z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
15171
|
+
j.prototype = Object.create(Z && Z.prototype, { constructor: { value: j, writable: !0, configurable: !0 } }), Object.defineProperty(j, "prototype", { writable: !1 }), Z && Re(j, Z);
|
|
15135
15172
|
}(F, H), O = F, W = [{ key: "onImageLoad", value: function() {
|
|
15136
15173
|
var j = this;
|
|
15137
|
-
return this.state.loaded ? null : function(
|
|
15138
|
-
j.props.onLoad(
|
|
15174
|
+
return this.state.loaded ? null : function(Z) {
|
|
15175
|
+
j.props.onLoad(Z), j.props.afterLoad(), j.setState({ loaded: !0 });
|
|
15139
15176
|
};
|
|
15140
15177
|
} }, { key: "getImg", value: function() {
|
|
15141
|
-
var j = this.props,
|
|
15178
|
+
var j = this.props, Z = (j.afterLoad, j.beforeLoad, j.delayMethod, j.delayTime, j.effect, j.placeholder, j.placeholderSrc, j.scrollPosition, j.threshold, j.useIntersectionObserver, j.visibleByDefault, j.wrapperClassName, j.wrapperProps, function(ee, Q) {
|
|
15142
15179
|
if (ee == null) return {};
|
|
15143
15180
|
var ie, se, he = function(ae, ge) {
|
|
15144
15181
|
if (ae == null) return {};
|
|
@@ -15155,16 +15192,16 @@ var build = { exports: {} };
|
|
|
15155
15192
|
}
|
|
15156
15193
|
return he;
|
|
15157
15194
|
}(j, Le));
|
|
15158
|
-
return a().createElement("img", Ae({},
|
|
15195
|
+
return a().createElement("img", Ae({}, Z, { onLoad: this.onImageLoad() }));
|
|
15159
15196
|
} }, { key: "getLazyLoadImage", value: function() {
|
|
15160
|
-
var j = this.props,
|
|
15161
|
-
return a().createElement(me, { beforeLoad:
|
|
15197
|
+
var j = this.props, Z = j.beforeLoad, ee = j.className, Q = j.delayMethod, ie = j.delayTime, se = j.height, he = j.placeholder, ce = j.scrollPosition, ae = j.style, ge = j.threshold, de = j.useIntersectionObserver, ve = j.visibleByDefault, De = j.width;
|
|
15198
|
+
return a().createElement(me, { beforeLoad: Z, className: ee, delayMethod: Q, delayTime: ie, height: se, placeholder: he, scrollPosition: ce, style: ae, threshold: ge, useIntersectionObserver: de, visibleByDefault: ve, width: De }, this.getImg());
|
|
15162
15199
|
} }, { key: "getWrappedLazyLoadImage", value: function(j) {
|
|
15163
|
-
var
|
|
15200
|
+
var Z = this.props, ee = Z.effect, Q = Z.height, ie = Z.placeholderSrc, se = Z.width, he = Z.wrapperClassName, ce = Z.wrapperProps, ae = this.state.loaded, ge = ae ? " lazy-load-image-loaded" : "", de = ae || !ie ? {} : { backgroundImage: "url(".concat(ie, ")"), backgroundSize: "100% 100%" };
|
|
15164
15201
|
return a().createElement("span", Ae({ className: he + " lazy-load-image-background " + ee + ge, style: Me(Me({}, de), {}, { color: "transparent", display: "inline-block", height: Q, width: se }) }, ce), j);
|
|
15165
15202
|
} }, { key: "render", value: function() {
|
|
15166
|
-
var j = this.props,
|
|
15167
|
-
return (
|
|
15203
|
+
var j = this.props, Z = j.effect, ee = j.placeholderSrc, Q = j.visibleByDefault, ie = j.wrapperClassName, se = j.wrapperProps, he = this.getLazyLoadImage();
|
|
15204
|
+
return (Z || ee) && !Q || ie || se ? this.getWrappedLazyLoadImage(he) : he;
|
|
15168
15205
|
} }], W && _e(O.prototype, W), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
15169
15206
|
var O, W;
|
|
15170
15207
|
}(a().Component);
|
|
@@ -17217,24 +17254,24 @@ function createAnimationState(e) {
|
|
|
17217
17254
|
g === l && x.isActive && !E && S || // If we removed a higher-priority variant (i is in reverse order)
|
|
17218
17255
|
A > C && S, B = !1;
|
|
17219
17256
|
const $ = Array.isArray(d) ? d : [d];
|
|
17220
|
-
let
|
|
17221
|
-
T === !1 && (
|
|
17257
|
+
let z = $.reduce(s(g), {});
|
|
17258
|
+
T === !1 && (z = {});
|
|
17222
17259
|
const { prevResolvedValues: D = {} } = x, X = {
|
|
17223
17260
|
...D,
|
|
17224
|
-
...
|
|
17261
|
+
...z
|
|
17225
17262
|
}, q = (k) => {
|
|
17226
17263
|
V = !0, p.has(k) && (B = !0, p.delete(k)), x.needsAnimating[k] = !0;
|
|
17227
17264
|
const P = e.getValue(k);
|
|
17228
17265
|
P && (P.liveStyle = !1);
|
|
17229
17266
|
};
|
|
17230
17267
|
for (const k in X) {
|
|
17231
|
-
const P =
|
|
17268
|
+
const P = z[k], M = D[k];
|
|
17232
17269
|
if (b.hasOwnProperty(k))
|
|
17233
17270
|
continue;
|
|
17234
17271
|
let R = !1;
|
|
17235
17272
|
isKeyframesTarget(P) && isKeyframesTarget(M) ? R = !shallowCompare(P, M) : R = P !== M, R ? P != null ? q(k) : p.add(k) : P !== void 0 && p.has(k) ? q(k) : x.protectedKeys[k] = !0;
|
|
17236
17273
|
}
|
|
17237
|
-
x.prevProp = d, x.prevResolvedValues =
|
|
17274
|
+
x.prevProp = d, x.prevResolvedValues = z, x.isActive && (b = { ...b, ...z }), n && e.blockInitialAnimation && (V = !1), V && (!(E && _) || B) && m.push(...$.map((k) => ({
|
|
17238
17275
|
animation: k,
|
|
17239
17276
|
options: { type: g }
|
|
17240
17277
|
})));
|
|
@@ -19952,6 +19989,7 @@ export {
|
|
|
19952
19989
|
GardenLogo,
|
|
19953
19990
|
GardenLogoText,
|
|
19954
19991
|
GardenStrokeIcon,
|
|
19992
|
+
GasStationIcon,
|
|
19955
19993
|
GradientScroll,
|
|
19956
19994
|
InfinityIcon,
|
|
19957
19995
|
InfoBadge,
|
|
@@ -19991,6 +20029,7 @@ export {
|
|
|
19991
20029
|
Sidebar,
|
|
19992
20030
|
Solv,
|
|
19993
20031
|
StarIcon,
|
|
20032
|
+
SwapHorizontalIcon,
|
|
19994
20033
|
SwellBTC,
|
|
19995
20034
|
ThorswapIcon,
|
|
19996
20035
|
TimerIcon,
|