@gardenfi/garden-book 0.1.42 → 0.1.44
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/ArrowEastIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/CheckCircleIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/FeesIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/OpenInNewIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/index.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/ui.cjs.js +5 -5
- package/dist/ui.es.js +672 -581
- package/dist/ui.umd.js +5 -5
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -25,14 +25,14 @@ const falsyToString = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0
|
|
|
25
25
|
}, {}), l = t == null || (s = t.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((p, m) => {
|
|
26
26
|
let { class: E, className: u, ...P } = m;
|
|
27
27
|
return Object.entries(P).every((C) => {
|
|
28
|
-
let [y,
|
|
29
|
-
return Array.isArray(
|
|
28
|
+
let [y, M] = C;
|
|
29
|
+
return Array.isArray(M) ? M.includes({
|
|
30
30
|
...a,
|
|
31
31
|
...f
|
|
32
32
|
}[y]) : {
|
|
33
33
|
...a,
|
|
34
34
|
...f
|
|
35
|
-
}[y] ===
|
|
35
|
+
}[y] === M;
|
|
36
36
|
}) ? [
|
|
37
37
|
...p,
|
|
38
38
|
E,
|
|
@@ -182,15 +182,15 @@ function createParseClassName(e) {
|
|
|
182
182
|
function o(f) {
|
|
183
183
|
const l = [];
|
|
184
184
|
let p = 0, m = 0, E;
|
|
185
|
-
for (let
|
|
186
|
-
let d = f[
|
|
185
|
+
for (let M = 0; M < f.length; M++) {
|
|
186
|
+
let d = f[M];
|
|
187
187
|
if (p === 0) {
|
|
188
|
-
if (d === n && (s || f.slice(
|
|
189
|
-
l.push(f.slice(m,
|
|
188
|
+
if (d === n && (s || f.slice(M, M + a) === t)) {
|
|
189
|
+
l.push(f.slice(m, M)), m = M + a;
|
|
190
190
|
continue;
|
|
191
191
|
}
|
|
192
192
|
if (d === "/") {
|
|
193
|
-
E =
|
|
193
|
+
E = M;
|
|
194
194
|
continue;
|
|
195
195
|
}
|
|
196
196
|
}
|
|
@@ -368,7 +368,7 @@ function isImage(e) {
|
|
|
368
368
|
return imageRegex.test(e);
|
|
369
369
|
}
|
|
370
370
|
function getDefaultConfig() {
|
|
371
|
-
const e = fromTheme("colors"), t = fromTheme("spacing"), i = fromTheme("blur"), s = fromTheme("brightness"), n = fromTheme("borderColor"), a = fromTheme("borderRadius"), o = fromTheme("borderSpacing"), f = fromTheme("borderWidth"), l = fromTheme("contrast"), p = fromTheme("grayscale"), m = fromTheme("hueRotate"), E = fromTheme("invert"), u = fromTheme("gap"), P = fromTheme("gradientColorStops"), C = fromTheme("gradientColorStopPositions"), y = fromTheme("inset"),
|
|
371
|
+
const e = fromTheme("colors"), t = fromTheme("spacing"), i = fromTheme("blur"), s = fromTheme("brightness"), n = fromTheme("borderColor"), a = fromTheme("borderRadius"), o = fromTheme("borderSpacing"), f = fromTheme("borderWidth"), l = fromTheme("contrast"), p = fromTheme("grayscale"), m = fromTheme("hueRotate"), E = fromTheme("invert"), u = fromTheme("gap"), P = fromTheme("gradientColorStops"), C = fromTheme("gradientColorStopPositions"), y = fromTheme("inset"), M = fromTheme("margin"), d = fromTheme("opacity"), g = fromTheme("padding"), c = fromTheme("saturate"), b = fromTheme("scale"), L = fromTheme("sepia"), A = fromTheme("skew"), T = fromTheme("space"), k = fromTheme("translate"), R = () => ["auto", "contain", "none"], X = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", isArbitraryValue, t], j = () => [isArbitraryValue, t], Y = () => ["", isLength, isArbitraryLength], U = () => ["auto", isNumber, isArbitraryValue], Z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], _ = () => ["solid", "dashed", "dotted", "double", "none"], I = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], x = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], S = () => ["", "0", isArbitraryValue], B = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], V = () => [isNumber, isArbitraryNumber], G = () => [isNumber, isArbitraryValue];
|
|
372
372
|
return {
|
|
373
373
|
cacheSize: 500,
|
|
374
374
|
separator: ":",
|
|
@@ -376,12 +376,12 @@ function getDefaultConfig() {
|
|
|
376
376
|
colors: [isAny],
|
|
377
377
|
spacing: [isLength, isArbitraryLength],
|
|
378
378
|
blur: ["none", "", isTshirtSize, isArbitraryValue],
|
|
379
|
-
brightness:
|
|
379
|
+
brightness: V(),
|
|
380
380
|
borderColor: [e],
|
|
381
381
|
borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
|
|
382
382
|
borderSpacing: j(),
|
|
383
383
|
borderWidth: Y(),
|
|
384
|
-
contrast:
|
|
384
|
+
contrast: V(),
|
|
385
385
|
grayscale: S(),
|
|
386
386
|
hueRotate: G(),
|
|
387
387
|
invert: S(),
|
|
@@ -390,10 +390,10 @@ function getDefaultConfig() {
|
|
|
390
390
|
gradientColorStopPositions: [isPercent, isArbitraryLength],
|
|
391
391
|
inset: N(),
|
|
392
392
|
margin: N(),
|
|
393
|
-
opacity:
|
|
393
|
+
opacity: V(),
|
|
394
394
|
padding: j(),
|
|
395
|
-
saturate:
|
|
396
|
-
scale:
|
|
395
|
+
saturate: V(),
|
|
396
|
+
scale: V(),
|
|
397
397
|
sepia: S(),
|
|
398
398
|
skew: G(),
|
|
399
399
|
space: j(),
|
|
@@ -899,63 +899,63 @@ function getDefaultConfig() {
|
|
|
899
899
|
* @see https://tailwindcss.com/docs/margin
|
|
900
900
|
*/
|
|
901
901
|
m: [{
|
|
902
|
-
m: [
|
|
902
|
+
m: [M]
|
|
903
903
|
}],
|
|
904
904
|
/**
|
|
905
905
|
* Margin X
|
|
906
906
|
* @see https://tailwindcss.com/docs/margin
|
|
907
907
|
*/
|
|
908
908
|
mx: [{
|
|
909
|
-
mx: [
|
|
909
|
+
mx: [M]
|
|
910
910
|
}],
|
|
911
911
|
/**
|
|
912
912
|
* Margin Y
|
|
913
913
|
* @see https://tailwindcss.com/docs/margin
|
|
914
914
|
*/
|
|
915
915
|
my: [{
|
|
916
|
-
my: [
|
|
916
|
+
my: [M]
|
|
917
917
|
}],
|
|
918
918
|
/**
|
|
919
919
|
* Margin Start
|
|
920
920
|
* @see https://tailwindcss.com/docs/margin
|
|
921
921
|
*/
|
|
922
922
|
ms: [{
|
|
923
|
-
ms: [
|
|
923
|
+
ms: [M]
|
|
924
924
|
}],
|
|
925
925
|
/**
|
|
926
926
|
* Margin End
|
|
927
927
|
* @see https://tailwindcss.com/docs/margin
|
|
928
928
|
*/
|
|
929
929
|
me: [{
|
|
930
|
-
me: [
|
|
930
|
+
me: [M]
|
|
931
931
|
}],
|
|
932
932
|
/**
|
|
933
933
|
* Margin Top
|
|
934
934
|
* @see https://tailwindcss.com/docs/margin
|
|
935
935
|
*/
|
|
936
936
|
mt: [{
|
|
937
|
-
mt: [
|
|
937
|
+
mt: [M]
|
|
938
938
|
}],
|
|
939
939
|
/**
|
|
940
940
|
* Margin Right
|
|
941
941
|
* @see https://tailwindcss.com/docs/margin
|
|
942
942
|
*/
|
|
943
943
|
mr: [{
|
|
944
|
-
mr: [
|
|
944
|
+
mr: [M]
|
|
945
945
|
}],
|
|
946
946
|
/**
|
|
947
947
|
* Margin Bottom
|
|
948
948
|
* @see https://tailwindcss.com/docs/margin
|
|
949
949
|
*/
|
|
950
950
|
mb: [{
|
|
951
|
-
mb: [
|
|
951
|
+
mb: [M]
|
|
952
952
|
}],
|
|
953
953
|
/**
|
|
954
954
|
* Margin Left
|
|
955
955
|
* @see https://tailwindcss.com/docs/margin
|
|
956
956
|
*/
|
|
957
957
|
ml: [{
|
|
958
|
-
ml: [
|
|
958
|
+
ml: [M]
|
|
959
959
|
}],
|
|
960
960
|
/**
|
|
961
961
|
* Space Between X
|
|
@@ -1827,7 +1827,7 @@ function getDefaultConfig() {
|
|
|
1827
1827
|
* @see https://tailwindcss.com/docs/sepia
|
|
1828
1828
|
*/
|
|
1829
1829
|
sepia: [{
|
|
1830
|
-
sepia: [
|
|
1830
|
+
sepia: [L]
|
|
1831
1831
|
}],
|
|
1832
1832
|
/**
|
|
1833
1833
|
* Backdrop Filter
|
|
@@ -1898,7 +1898,7 @@ function getDefaultConfig() {
|
|
|
1898
1898
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1899
1899
|
*/
|
|
1900
1900
|
"backdrop-sepia": [{
|
|
1901
|
-
"backdrop-sepia": [
|
|
1901
|
+
"backdrop-sepia": [L]
|
|
1902
1902
|
}],
|
|
1903
1903
|
// Tables
|
|
1904
1904
|
/**
|
|
@@ -2685,27 +2685,27 @@ var lottie$1 = { exports: {} };
|
|
|
2685
2685
|
function f() {
|
|
2686
2686
|
s || (s = o(function(P) {
|
|
2687
2687
|
function C() {
|
|
2688
|
-
function
|
|
2689
|
-
var I, x, S = Z.length, B,
|
|
2688
|
+
function M(Z, _) {
|
|
2689
|
+
var I, x, S = Z.length, B, V, G, q;
|
|
2690
2690
|
for (x = 0; x < S; x += 1)
|
|
2691
2691
|
if (I = Z[x], "ks" in I && !I.completed) {
|
|
2692
2692
|
if (I.completed = !0, I.hasMask) {
|
|
2693
2693
|
var $ = I.masksProperties;
|
|
2694
|
-
for (
|
|
2694
|
+
for (V = $.length, B = 0; B < V; B += 1)
|
|
2695
2695
|
if ($[B].pt.k.i)
|
|
2696
|
-
|
|
2696
|
+
L($[B].pt.k);
|
|
2697
2697
|
else
|
|
2698
2698
|
for (q = $[B].pt.k.length, G = 0; G < q; G += 1)
|
|
2699
|
-
$[B].pt.k[G].s &&
|
|
2699
|
+
$[B].pt.k[G].s && L($[B].pt.k[G].s[0]), $[B].pt.k[G].e && L($[B].pt.k[G].e[0]);
|
|
2700
2700
|
}
|
|
2701
|
-
I.ty === 0 ? (I.layers = c(I.refId, _),
|
|
2701
|
+
I.ty === 0 ? (I.layers = c(I.refId, _), M(I.layers, _)) : I.ty === 4 ? b(I.shapes) : I.ty === 5 && Y(I);
|
|
2702
2702
|
}
|
|
2703
2703
|
}
|
|
2704
2704
|
function d(Z, _) {
|
|
2705
2705
|
if (Z) {
|
|
2706
2706
|
var I = 0, x = Z.length;
|
|
2707
2707
|
for (I = 0; I < x; I += 1)
|
|
2708
|
-
Z[I].t === 1 && (Z[I].data.layers = c(Z[I].data.refId, _),
|
|
2708
|
+
Z[I].t === 1 && (Z[I].data.layers = c(Z[I].data.refId, _), M(Z[I].data.layers, _));
|
|
2709
2709
|
}
|
|
2710
2710
|
}
|
|
2711
2711
|
function g(Z, _) {
|
|
@@ -2725,13 +2725,13 @@ var lottie$1 = { exports: {} };
|
|
|
2725
2725
|
for (_ = I - 1; _ >= 0; _ -= 1)
|
|
2726
2726
|
if (Z[_].ty === "sh")
|
|
2727
2727
|
if (Z[_].ks.k.i)
|
|
2728
|
-
|
|
2728
|
+
L(Z[_].ks.k);
|
|
2729
2729
|
else
|
|
2730
2730
|
for (S = Z[_].ks.k.length, x = 0; x < S; x += 1)
|
|
2731
|
-
Z[_].ks.k[x].s &&
|
|
2731
|
+
Z[_].ks.k[x].s && L(Z[_].ks.k[x].s[0]), Z[_].ks.k[x].e && L(Z[_].ks.k[x].e[0]);
|
|
2732
2732
|
else Z[_].ty === "gr" && b(Z[_].it);
|
|
2733
2733
|
}
|
|
2734
|
-
function
|
|
2734
|
+
function L(Z) {
|
|
2735
2735
|
var _, I = Z.i.length;
|
|
2736
2736
|
for (_ = 0; _ < I; _ += 1)
|
|
2737
2737
|
Z.i[_][0] += Z.v[_][0], Z.i[_][1] += Z.v[_][1], Z.o[_][0] += Z.v[_][0], Z.o[_][1] += Z.v[_][1];
|
|
@@ -2857,14 +2857,14 @@ var lottie$1 = { exports: {} };
|
|
|
2857
2857
|
}(), X = /* @__PURE__ */ function() {
|
|
2858
2858
|
var Z = [4, 1, 9];
|
|
2859
2859
|
function _(x) {
|
|
2860
|
-
var S, B = x.length,
|
|
2860
|
+
var S, B = x.length, V, G;
|
|
2861
2861
|
for (S = 0; S < B; S += 1)
|
|
2862
2862
|
if (x[S].ty === "gr")
|
|
2863
2863
|
_(x[S].it);
|
|
2864
2864
|
else if (x[S].ty === "fl" || x[S].ty === "st")
|
|
2865
2865
|
if (x[S].c.k && x[S].c.k[0].i)
|
|
2866
|
-
for (G = x[S].c.k.length,
|
|
2867
|
-
x[S].c.k[
|
|
2866
|
+
for (G = x[S].c.k.length, V = 0; V < G; V += 1)
|
|
2867
|
+
x[S].c.k[V].s && (x[S].c.k[V].s[0] /= 255, x[S].c.k[V].s[1] /= 255, x[S].c.k[V].s[2] /= 255, x[S].c.k[V].s[3] /= 255), x[S].c.k[V].e && (x[S].c.k[V].e[0] /= 255, x[S].c.k[V].e[1] /= 255, x[S].c.k[V].e[2] /= 255, x[S].c.k[V].e[3] /= 255);
|
|
2868
2868
|
else
|
|
2869
2869
|
x[S].c.k[0] /= 255, x[S].c.k[1] /= 255, x[S].c.k[2] /= 255, x[S].c.k[3] /= 255;
|
|
2870
2870
|
}
|
|
@@ -2883,19 +2883,19 @@ var lottie$1 = { exports: {} };
|
|
|
2883
2883
|
}(), N = /* @__PURE__ */ function() {
|
|
2884
2884
|
var Z = [4, 4, 18];
|
|
2885
2885
|
function _(x) {
|
|
2886
|
-
var S, B = x.length,
|
|
2886
|
+
var S, B = x.length, V, G;
|
|
2887
2887
|
for (S = B - 1; S >= 0; S -= 1)
|
|
2888
2888
|
if (x[S].ty === "sh")
|
|
2889
2889
|
if (x[S].ks.k.i)
|
|
2890
2890
|
x[S].ks.k.c = x[S].closed;
|
|
2891
2891
|
else
|
|
2892
|
-
for (G = x[S].ks.k.length,
|
|
2893
|
-
x[S].ks.k[
|
|
2892
|
+
for (G = x[S].ks.k.length, V = 0; V < G; V += 1)
|
|
2893
|
+
x[S].ks.k[V].s && (x[S].ks.k[V].s[0].c = x[S].closed), x[S].ks.k[V].e && (x[S].ks.k[V].e[0].c = x[S].closed);
|
|
2894
2894
|
else x[S].ty === "gr" && _(x[S].it);
|
|
2895
2895
|
}
|
|
2896
2896
|
function I(x) {
|
|
2897
|
-
var S, B,
|
|
2898
|
-
for (B = 0; B <
|
|
2897
|
+
var S, B, V = x.length, G, q, $, J;
|
|
2898
|
+
for (B = 0; B < V; B += 1) {
|
|
2899
2899
|
if (S = x[B], S.hasMask) {
|
|
2900
2900
|
var re = S.masksProperties;
|
|
2901
2901
|
for (q = re.length, G = 0; G < q; G += 1)
|
|
@@ -2917,20 +2917,20 @@ var lottie$1 = { exports: {} };
|
|
|
2917
2917
|
};
|
|
2918
2918
|
}();
|
|
2919
2919
|
function j(Z) {
|
|
2920
|
-
Z.__complete || (X(Z), T(Z), k(Z), R(Z), N(Z),
|
|
2920
|
+
Z.__complete || (X(Z), T(Z), k(Z), R(Z), N(Z), M(Z.layers, Z.assets), d(Z.chars, Z.assets), Z.__complete = !0);
|
|
2921
2921
|
}
|
|
2922
2922
|
function Y(Z) {
|
|
2923
2923
|
Z.t.a.length === 0 && "m" in Z.t.p;
|
|
2924
2924
|
}
|
|
2925
2925
|
var U = {};
|
|
2926
|
-
return U.completeData = j, U.checkColors = X, U.checkChars = k, U.checkPathProperties = R, U.checkShapes = N, U.completeLayers =
|
|
2926
|
+
return U.completeData = j, U.checkColors = X, U.checkChars = k, U.checkPathProperties = R, U.checkShapes = N, U.completeLayers = M, U;
|
|
2927
2927
|
}
|
|
2928
2928
|
if (a.dataManager || (a.dataManager = C()), a.assetLoader || (a.assetLoader = /* @__PURE__ */ function() {
|
|
2929
|
-
function
|
|
2929
|
+
function M(g) {
|
|
2930
2930
|
var c = g.getResponseHeader("content-type");
|
|
2931
2931
|
return c && g.responseType === "json" && c.indexOf("json") !== -1 || g.response && _typeof$5(g.response) === "object" ? g.response : g.response && typeof g.response == "string" ? JSON.parse(g.response) : g.responseText ? JSON.parse(g.responseText) : null;
|
|
2932
2932
|
}
|
|
2933
|
-
function d(g, c, b,
|
|
2933
|
+
function d(g, c, b, L) {
|
|
2934
2934
|
var A, T = new XMLHttpRequest();
|
|
2935
2935
|
try {
|
|
2936
2936
|
T.responseType = "json";
|
|
@@ -2939,12 +2939,12 @@ var lottie$1 = { exports: {} };
|
|
|
2939
2939
|
T.onreadystatechange = function() {
|
|
2940
2940
|
if (T.readyState === 4)
|
|
2941
2941
|
if (T.status === 200)
|
|
2942
|
-
A =
|
|
2942
|
+
A = M(T), b(A);
|
|
2943
2943
|
else
|
|
2944
2944
|
try {
|
|
2945
|
-
A =
|
|
2945
|
+
A = M(T), b(A);
|
|
2946
2946
|
} catch (k) {
|
|
2947
|
-
|
|
2947
|
+
L && L(k);
|
|
2948
2948
|
}
|
|
2949
2949
|
};
|
|
2950
2950
|
try {
|
|
@@ -2958,10 +2958,10 @@ var lottie$1 = { exports: {} };
|
|
|
2958
2958
|
load: d
|
|
2959
2959
|
};
|
|
2960
2960
|
}()), P.data.type === "loadAnimation")
|
|
2961
|
-
a.assetLoader.load(P.data.path, P.data.fullPath, function(
|
|
2962
|
-
a.dataManager.completeData(
|
|
2961
|
+
a.assetLoader.load(P.data.path, P.data.fullPath, function(M) {
|
|
2962
|
+
a.dataManager.completeData(M), a.postMessage({
|
|
2963
2963
|
id: P.data.id,
|
|
2964
|
-
payload:
|
|
2964
|
+
payload: M,
|
|
2965
2965
|
status: "success"
|
|
2966
2966
|
});
|
|
2967
2967
|
}, function() {
|
|
@@ -2977,10 +2977,10 @@ var lottie$1 = { exports: {} };
|
|
|
2977
2977
|
payload: y,
|
|
2978
2978
|
status: "success"
|
|
2979
2979
|
});
|
|
2980
|
-
} else P.data.type === "loadData" && a.assetLoader.load(P.data.path, P.data.fullPath, function(
|
|
2980
|
+
} else P.data.type === "loadData" && a.assetLoader.load(P.data.path, P.data.fullPath, function(M) {
|
|
2981
2981
|
a.postMessage({
|
|
2982
2982
|
id: P.data.id,
|
|
2983
|
-
payload:
|
|
2983
|
+
payload: M,
|
|
2984
2984
|
status: "success"
|
|
2985
2985
|
});
|
|
2986
2986
|
}, function() {
|
|
@@ -3054,8 +3054,8 @@ var lottie$1 = { exports: {} };
|
|
|
3054
3054
|
if (d.e)
|
|
3055
3055
|
b = d.p;
|
|
3056
3056
|
else if (g) {
|
|
3057
|
-
var
|
|
3058
|
-
|
|
3057
|
+
var L = d.p;
|
|
3058
|
+
L.indexOf("images/") !== -1 && (L = L.split("/")[1]), b = g + L;
|
|
3059
3059
|
} else
|
|
3060
3060
|
b = c, b += d.u ? d.u : "", b += d.p;
|
|
3061
3061
|
return b;
|
|
@@ -3130,10 +3130,10 @@ var lottie$1 = { exports: {} };
|
|
|
3130
3130
|
function y(d, g) {
|
|
3131
3131
|
d === "svg" ? (this._elementHelper = g, this._createImageData = this.createImageData.bind(this)) : this._createImageData = this.createImgData.bind(this);
|
|
3132
3132
|
}
|
|
3133
|
-
function
|
|
3133
|
+
function M() {
|
|
3134
3134
|
this._imageLoaded = t.bind(this), this._footageLoaded = i.bind(this), this.testImageLoaded = n.bind(this), this.createFootageData = f.bind(this), this.assetsPath = "", this.path = "", this.totalImages = 0, this.totalFootages = 0, this.loadedAssets = 0, this.loadedFootagesCount = 0, this.imagesLoadedCb = null, this.images = [];
|
|
3135
3135
|
}
|
|
3136
|
-
return
|
|
3136
|
+
return M.prototype = {
|
|
3137
3137
|
loadAssets: l,
|
|
3138
3138
|
setAssetsPath: m,
|
|
3139
3139
|
setPath: p,
|
|
@@ -3146,7 +3146,7 @@ var lottie$1 = { exports: {} };
|
|
|
3146
3146
|
imageLoaded: t,
|
|
3147
3147
|
footageLoaded: i,
|
|
3148
3148
|
setCacheType: y
|
|
3149
|
-
},
|
|
3149
|
+
}, M;
|
|
3150
3150
|
}();
|
|
3151
3151
|
function BaseEvent() {
|
|
3152
3152
|
}
|
|
@@ -3519,7 +3519,7 @@ var lottie$1 = { exports: {} };
|
|
|
3519
3519
|
for (x = 0; x < s; x += 1)
|
|
3520
3520
|
t[x].animation.setDirection(_, I);
|
|
3521
3521
|
}
|
|
3522
|
-
function
|
|
3522
|
+
function M(_) {
|
|
3523
3523
|
var I;
|
|
3524
3524
|
for (I = 0; I < s; I += 1)
|
|
3525
3525
|
t[I].animation.play(_);
|
|
@@ -3543,7 +3543,7 @@ var lottie$1 = { exports: {} };
|
|
|
3543
3543
|
for (S = 0; S < s; S += 1)
|
|
3544
3544
|
t[S].animation.goToAndStop(_, I, x);
|
|
3545
3545
|
}
|
|
3546
|
-
function
|
|
3546
|
+
function L(_) {
|
|
3547
3547
|
var I;
|
|
3548
3548
|
for (I = 0; I < s; I += 1)
|
|
3549
3549
|
t[I].animation.stop(_);
|
|
@@ -3559,10 +3559,10 @@ var lottie$1 = { exports: {} };
|
|
|
3559
3559
|
t[I].animation.destroy(_);
|
|
3560
3560
|
}
|
|
3561
3561
|
function k(_, I, x) {
|
|
3562
|
-
var S = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), B,
|
|
3563
|
-
for (B = 0; B <
|
|
3562
|
+
var S = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), B, V = S.length;
|
|
3563
|
+
for (B = 0; B < V; B += 1)
|
|
3564
3564
|
x && S[B].setAttribute("data-bm-type", x), l(S[B], _);
|
|
3565
|
-
if (I &&
|
|
3565
|
+
if (I && V === 0) {
|
|
3566
3566
|
x || (x = "svg");
|
|
3567
3567
|
var G = document.getElementsByTagName("body")[0];
|
|
3568
3568
|
G.innerText = "";
|
|
@@ -3599,16 +3599,16 @@ var lottie$1 = { exports: {} };
|
|
|
3599
3599
|
for (I = 0; I < s; I += 1)
|
|
3600
3600
|
t[I].animation.unmute(_);
|
|
3601
3601
|
}
|
|
3602
|
-
return e.registerAnimation = l, e.loadAnimation = P, e.setSpeed = C, e.setDirection = y, e.play =
|
|
3602
|
+
return e.registerAnimation = l, e.loadAnimation = P, e.setSpeed = C, e.setDirection = y, e.play = M, e.pause = c, e.stop = L, e.togglePause = A, e.searchAnimations = k, e.resize = R, e.goToAndStop = b, e.destroy = T, e.freeze = N, e.unfreeze = j, e.setVolume = Y, e.mute = U, e.unmute = Z, e.getRegisteredAnimations = p, e;
|
|
3603
3603
|
}(), BezierFactory = function() {
|
|
3604
3604
|
var e = {};
|
|
3605
3605
|
e.getBezierEasing = i;
|
|
3606
3606
|
var t = {};
|
|
3607
|
-
function i(g, c, b,
|
|
3608
|
-
var T = A || ("bez_" + g + "_" + c + "_" + b + "_" +
|
|
3607
|
+
function i(g, c, b, L, A) {
|
|
3608
|
+
var T = A || ("bez_" + g + "_" + c + "_" + b + "_" + L).replace(/\./g, "p");
|
|
3609
3609
|
if (t[T])
|
|
3610
3610
|
return t[T];
|
|
3611
|
-
var k = new d([g, c, b,
|
|
3611
|
+
var k = new d([g, c, b, L]);
|
|
3612
3612
|
return t[T] = k, k;
|
|
3613
3613
|
}
|
|
3614
3614
|
var s = 4, n = 1e-3, a = 1e-7, o = 10, f = 11, l = 1 / (f - 1), p = typeof Float32Array == "function";
|
|
@@ -3627,18 +3627,18 @@ var lottie$1 = { exports: {} };
|
|
|
3627
3627
|
function C(g, c, b) {
|
|
3628
3628
|
return 3 * m(c, b) * g * g + 2 * E(c, b) * g + u(c);
|
|
3629
3629
|
}
|
|
3630
|
-
function y(g, c, b,
|
|
3630
|
+
function y(g, c, b, L, A) {
|
|
3631
3631
|
var T, k, R = 0;
|
|
3632
3632
|
do
|
|
3633
|
-
k = c + (b - c) / 2, T = P(k,
|
|
3633
|
+
k = c + (b - c) / 2, T = P(k, L, A) - g, T > 0 ? b = k : c = k;
|
|
3634
3634
|
while (Math.abs(T) > a && ++R < o);
|
|
3635
3635
|
return k;
|
|
3636
3636
|
}
|
|
3637
|
-
function
|
|
3637
|
+
function M(g, c, b, L) {
|
|
3638
3638
|
for (var A = 0; A < s; ++A) {
|
|
3639
|
-
var T = C(c, b,
|
|
3639
|
+
var T = C(c, b, L);
|
|
3640
3640
|
if (T === 0) return c;
|
|
3641
|
-
var k = P(c, b,
|
|
3641
|
+
var k = P(c, b, L) - g;
|
|
3642
3642
|
c -= k / T;
|
|
3643
3643
|
}
|
|
3644
3644
|
return c;
|
|
@@ -3648,27 +3648,27 @@ var lottie$1 = { exports: {} };
|
|
|
3648
3648
|
}
|
|
3649
3649
|
return d.prototype = {
|
|
3650
3650
|
get: function(c) {
|
|
3651
|
-
var b = this._p[0],
|
|
3652
|
-
return this._precomputed || this._precompute(), b ===
|
|
3651
|
+
var b = this._p[0], L = this._p[1], A = this._p[2], T = this._p[3];
|
|
3652
|
+
return this._precomputed || this._precompute(), b === L && A === T ? c : c === 0 ? 0 : c === 1 ? 1 : P(this._getTForX(c), L, T);
|
|
3653
3653
|
},
|
|
3654
3654
|
// Private part
|
|
3655
3655
|
_precompute: function() {
|
|
3656
|
-
var c = this._p[0], b = this._p[1],
|
|
3657
|
-
this._precomputed = !0, (c !== b ||
|
|
3656
|
+
var c = this._p[0], b = this._p[1], L = this._p[2], A = this._p[3];
|
|
3657
|
+
this._precomputed = !0, (c !== b || L !== A) && this._calcSampleValues();
|
|
3658
3658
|
},
|
|
3659
3659
|
_calcSampleValues: function() {
|
|
3660
|
-
for (var c = this._p[0], b = this._p[2],
|
|
3661
|
-
this._mSampleValues[
|
|
3660
|
+
for (var c = this._p[0], b = this._p[2], L = 0; L < f; ++L)
|
|
3661
|
+
this._mSampleValues[L] = P(L * l, c, b);
|
|
3662
3662
|
},
|
|
3663
3663
|
/**
|
|
3664
3664
|
* getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
|
|
3665
3665
|
*/
|
|
3666
3666
|
_getTForX: function(c) {
|
|
3667
|
-
for (var b = this._p[0],
|
|
3667
|
+
for (var b = this._p[0], L = this._p[2], A = this._mSampleValues, T = 0, k = 1, R = f - 1; k !== R && A[k] <= c; ++k)
|
|
3668
3668
|
T += l;
|
|
3669
3669
|
--k;
|
|
3670
|
-
var X = (c - A[k]) / (A[k + 1] - A[k]), N = T + X * l, j = C(N, b,
|
|
3671
|
-
return j >= n ?
|
|
3670
|
+
var X = (c - A[k]) / (A[k + 1] - A[k]), N = T + X * l, j = C(N, b, L);
|
|
3671
|
+
return j >= n ? M(c, N, b, L) : j === 0 ? N : y(c, T, T + l, b, L);
|
|
3672
3672
|
}
|
|
3673
3673
|
}, e;
|
|
3674
3674
|
}(), pooling = /* @__PURE__ */ function() {
|
|
@@ -3719,32 +3719,32 @@ var lottie$1 = { exports: {} };
|
|
|
3719
3719
|
}();
|
|
3720
3720
|
function bezFunction() {
|
|
3721
3721
|
var e = Math;
|
|
3722
|
-
function t(u, P, C, y,
|
|
3723
|
-
var g = u * y + P *
|
|
3722
|
+
function t(u, P, C, y, M, d) {
|
|
3723
|
+
var g = u * y + P * M + C * d - M * y - d * u - C * P;
|
|
3724
3724
|
return g > -1e-3 && g < 1e-3;
|
|
3725
3725
|
}
|
|
3726
|
-
function i(u, P, C, y,
|
|
3726
|
+
function i(u, P, C, y, M, d, g, c, b) {
|
|
3727
3727
|
if (C === 0 && d === 0 && b === 0)
|
|
3728
|
-
return t(u, P, y,
|
|
3729
|
-
var
|
|
3730
|
-
return
|
|
3728
|
+
return t(u, P, y, M, g, c);
|
|
3729
|
+
var L = e.sqrt(e.pow(y - u, 2) + e.pow(M - P, 2) + e.pow(d - C, 2)), A = e.sqrt(e.pow(g - u, 2) + e.pow(c - P, 2) + e.pow(b - C, 2)), T = e.sqrt(e.pow(g - y, 2) + e.pow(c - M, 2) + e.pow(b - d, 2)), k;
|
|
3730
|
+
return L > A ? L > T ? k = L - A - T : k = T - A - L : T > A ? k = T - A - L : k = A - L - T, k > -1e-4 && k < 1e-4;
|
|
3731
3731
|
}
|
|
3732
3732
|
var s = /* @__PURE__ */ function() {
|
|
3733
3733
|
return function(u, P, C, y) {
|
|
3734
|
-
var
|
|
3735
|
-
for (c = C.length, d = 0; d <
|
|
3736
|
-
for (
|
|
3737
|
-
b = bmPow(1 -
|
|
3738
|
-
T && (T = bmSqrt(T), A += T), X.percents[d] =
|
|
3734
|
+
var M = getDefaultCurveSegments(), d, g, c, b, L, A = 0, T, k = [], R = [], X = bezierLengthPool.newElement();
|
|
3735
|
+
for (c = C.length, d = 0; d < M; d += 1) {
|
|
3736
|
+
for (L = d / (M - 1), T = 0, g = 0; g < c; g += 1)
|
|
3737
|
+
b = bmPow(1 - L, 3) * u[g] + 3 * bmPow(1 - L, 2) * L * C[g] + 3 * (1 - L) * bmPow(L, 2) * y[g] + bmPow(L, 3) * P[g], k[g] = b, R[g] !== null && (T += bmPow(k[g] - R[g], 2)), R[g] = k[g];
|
|
3738
|
+
T && (T = bmSqrt(T), A += T), X.percents[d] = L, X.lengths[d] = A;
|
|
3739
3739
|
}
|
|
3740
3740
|
return X.addedLength = A, X;
|
|
3741
3741
|
};
|
|
3742
3742
|
}();
|
|
3743
3743
|
function n(u) {
|
|
3744
|
-
var P = segmentsLengthPool.newElement(), C = u.c, y = u.v,
|
|
3744
|
+
var P = segmentsLengthPool.newElement(), C = u.c, y = u.v, M = u.o, d = u.i, g, c = u._length, b = P.lengths, L = 0;
|
|
3745
3745
|
for (g = 0; g < c - 1; g += 1)
|
|
3746
|
-
b[g] = s(y[g], y[g + 1],
|
|
3747
|
-
return C && c && (b[g] = s(y[g], y[0],
|
|
3746
|
+
b[g] = s(y[g], y[g + 1], M[g], d[g + 1]), L += b[g].addedLength;
|
|
3747
|
+
return C && c && (b[g] = s(y[g], y[0], M[g], d[0]), L += b[g].addedLength), P.totalLength = L, P;
|
|
3748
3748
|
}
|
|
3749
3749
|
function a(u) {
|
|
3750
3750
|
this.segmentLength = 0, this.points = new Array(u);
|
|
@@ -3754,15 +3754,15 @@ var lottie$1 = { exports: {} };
|
|
|
3754
3754
|
}
|
|
3755
3755
|
var f = /* @__PURE__ */ function() {
|
|
3756
3756
|
var u = {};
|
|
3757
|
-
return function(P, C, y,
|
|
3758
|
-
var d = (P[0] + "_" + P[1] + "_" + C[0] + "_" + C[1] + "_" + y[0] + "_" + y[1] + "_" +
|
|
3757
|
+
return function(P, C, y, M) {
|
|
3758
|
+
var d = (P[0] + "_" + P[1] + "_" + C[0] + "_" + C[1] + "_" + y[0] + "_" + y[1] + "_" + M[0] + "_" + M[1]).replace(/\./g, "p");
|
|
3759
3759
|
if (!u[d]) {
|
|
3760
|
-
var g = getDefaultCurveSegments(), c, b,
|
|
3761
|
-
P.length === 2 && (P[0] !== C[0] || P[1] !== C[1]) && t(P[0], P[1], C[0], C[1], P[0] + y[0], P[1] + y[1]) && t(P[0], P[1], C[0], C[1], C[0] +
|
|
3760
|
+
var g = getDefaultCurveSegments(), c, b, L, A, T, k = 0, R, X, N = null;
|
|
3761
|
+
P.length === 2 && (P[0] !== C[0] || P[1] !== C[1]) && t(P[0], P[1], C[0], C[1], P[0] + y[0], P[1] + y[1]) && t(P[0], P[1], C[0], C[1], C[0] + M[0], C[1] + M[1]) && (g = 2);
|
|
3762
3762
|
var j = new a(g);
|
|
3763
|
-
for (
|
|
3764
|
-
for (X = createSizedArray(
|
|
3765
|
-
A = bmPow(1 - T, 3) * P[b] + 3 * bmPow(1 - T, 2) * T * (P[b] + y[b]) + 3 * (1 - T) * bmPow(T, 2) * (C[b] +
|
|
3763
|
+
for (L = y.length, c = 0; c < g; c += 1) {
|
|
3764
|
+
for (X = createSizedArray(L), T = c / (g - 1), R = 0, b = 0; b < L; b += 1)
|
|
3765
|
+
A = bmPow(1 - T, 3) * P[b] + 3 * bmPow(1 - T, 2) * T * (P[b] + y[b]) + 3 * (1 - T) * bmPow(T, 2) * (C[b] + M[b]) + bmPow(T, 3) * C[b], X[b] = A, N !== null && (R += bmPow(X[b] - N[b], 2));
|
|
3766
3766
|
R = bmSqrt(R), k += R, j.points[c] = new o(R, X), N = X;
|
|
3767
3767
|
}
|
|
3768
3768
|
j.segmentLength = k, u[d] = j;
|
|
@@ -3771,29 +3771,29 @@ var lottie$1 = { exports: {} };
|
|
|
3771
3771
|
};
|
|
3772
3772
|
}();
|
|
3773
3773
|
function l(u, P) {
|
|
3774
|
-
var C = P.percents, y = P.lengths,
|
|
3775
|
-
if (d ===
|
|
3774
|
+
var C = P.percents, y = P.lengths, M = C.length, d = bmFloor((M - 1) * u), g = u * P.addedLength, c = 0;
|
|
3775
|
+
if (d === M - 1 || d === 0 || g === y[d])
|
|
3776
3776
|
return C[d];
|
|
3777
|
-
for (var b = y[d] > g ? -1 : 1,
|
|
3778
|
-
if (y[d] <= g && y[d + 1] > g ? (c = (g - y[d]) / (y[d + 1] - y[d]),
|
|
3779
|
-
if (d ===
|
|
3777
|
+
for (var b = y[d] > g ? -1 : 1, L = !0; L; )
|
|
3778
|
+
if (y[d] <= g && y[d + 1] > g ? (c = (g - y[d]) / (y[d + 1] - y[d]), L = !1) : d += b, d < 0 || d >= M - 1) {
|
|
3779
|
+
if (d === M - 1)
|
|
3780
3780
|
return C[d];
|
|
3781
|
-
|
|
3781
|
+
L = !1;
|
|
3782
3782
|
}
|
|
3783
3783
|
return C[d] + (C[d + 1] - C[d]) * c;
|
|
3784
3784
|
}
|
|
3785
|
-
function p(u, P, C, y,
|
|
3786
|
-
var g = l(
|
|
3787
|
-
return [b,
|
|
3785
|
+
function p(u, P, C, y, M, d) {
|
|
3786
|
+
var g = l(M, d), c = 1 - g, b = e.round((c * c * c * u[0] + (g * c * c + c * g * c + c * c * g) * C[0] + (g * g * c + c * g * g + g * c * g) * y[0] + g * g * g * P[0]) * 1e3) / 1e3, L = e.round((c * c * c * u[1] + (g * c * c + c * g * c + c * c * g) * C[1] + (g * g * c + c * g * g + g * c * g) * y[1] + g * g * g * P[1]) * 1e3) / 1e3;
|
|
3787
|
+
return [b, L];
|
|
3788
3788
|
}
|
|
3789
3789
|
var m = createTypedArray("float32", 8);
|
|
3790
|
-
function E(u, P, C, y,
|
|
3791
|
-
|
|
3792
|
-
var c = l(
|
|
3790
|
+
function E(u, P, C, y, M, d, g) {
|
|
3791
|
+
M < 0 ? M = 0 : M > 1 && (M = 1);
|
|
3792
|
+
var c = l(M, g);
|
|
3793
3793
|
d = d > 1 ? 1 : d;
|
|
3794
|
-
var b = l(d, g),
|
|
3795
|
-
for (
|
|
3796
|
-
m[
|
|
3794
|
+
var b = l(d, g), L, A = u.length, T = 1 - c, k = 1 - b, R = T * T * T, X = c * T * T * 3, N = c * c * T * 3, j = c * c * c, Y = T * T * k, U = c * T * k + T * c * k + T * T * b, Z = c * c * k + T * c * b + c * T * b, _ = c * c * b, I = T * k * k, x = c * k * k + T * b * k + T * k * b, S = c * b * k + T * b * b + c * k * b, B = c * b * b, V = k * k * k, G = b * k * k + k * b * k + k * k * b, q = b * b * k + k * b * b + b * k * b, $ = b * b * b;
|
|
3795
|
+
for (L = 0; L < A; L += 1)
|
|
3796
|
+
m[L * 4] = e.round((R * u[L] + X * C[L] + N * y[L] + j * P[L]) * 1e3) / 1e3, m[L * 4 + 1] = e.round((Y * u[L] + U * C[L] + Z * y[L] + _ * P[L]) * 1e3) / 1e3, m[L * 4 + 2] = e.round((I * u[L] + x * C[L] + S * y[L] + B * P[L]) * 1e3) / 1e3, m[L * 4 + 3] = e.round((V * u[L] + G * C[L] + q * y[L] + $ * P[L]) * 1e3) / 1e3;
|
|
3797
3797
|
return m;
|
|
3798
3798
|
}
|
|
3799
3799
|
return {
|
|
@@ -3821,16 +3821,16 @@ var lottie$1 = { exports: {} };
|
|
|
3821
3821
|
a < o - 1 ? a += 1 : (n = 0, f = !1);
|
|
3822
3822
|
}
|
|
3823
3823
|
m = this.keyframesMetadata[a] || {};
|
|
3824
|
-
var E, u, P, C, y,
|
|
3824
|
+
var E, u, P, C, y, M, d = p.t - i, g = l.t - i, c;
|
|
3825
3825
|
if (l.to) {
|
|
3826
3826
|
m.bezierData || (m.bezierData = bez.buildBezierData(l.s, p.s || l.e, l.to, l.ti));
|
|
3827
3827
|
var b = m.bezierData;
|
|
3828
3828
|
if (e >= d || e < g) {
|
|
3829
|
-
var
|
|
3830
|
-
for (u = b.points[
|
|
3831
|
-
s[E] = b.points[
|
|
3829
|
+
var L = e >= d ? b.points.length - 1 : 0;
|
|
3830
|
+
for (u = b.points[L].point.length, E = 0; E < u; E += 1)
|
|
3831
|
+
s[E] = b.points[L].point[E];
|
|
3832
3832
|
} else {
|
|
3833
|
-
m.__fnct ?
|
|
3833
|
+
m.__fnct ? M = m.__fnct : (M = BezierFactory.getBezierEasing(l.o.x, l.o.y, l.i.x, l.i.y, l.n).get, m.__fnct = M), P = M((e - g) / (d - g));
|
|
3834
3834
|
var A = b.segmentLength * P, T, k = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastAddedLength : 0;
|
|
3835
3835
|
for (y = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastPoint : 0, f = !0, C = b.points.length; f; ) {
|
|
3836
3836
|
if (k += b.points[y].partialLength, A === 0 || P === 0 || y === b.points.length - 1) {
|
|
@@ -3859,13 +3859,13 @@ var lottie$1 = { exports: {} };
|
|
|
3859
3859
|
}
|
|
3860
3860
|
else
|
|
3861
3861
|
for (a = 0; a < o; a += 1)
|
|
3862
|
-
l.h !== 1 && (e >= d ? P = 1 : e < g ? P = 0 : (l.o.x.constructor === Array ? (m.__fnct || (m.__fnct = []), m.__fnct[a] ?
|
|
3862
|
+
l.h !== 1 && (e >= d ? P = 1 : e < g ? P = 0 : (l.o.x.constructor === Array ? (m.__fnct || (m.__fnct = []), m.__fnct[a] ? M = m.__fnct[a] : (R = l.o.x[a] === void 0 ? l.o.x[0] : l.o.x[a], X = l.o.y[a] === void 0 ? l.o.y[0] : l.o.y[a], N = l.i.x[a] === void 0 ? l.i.x[0] : l.i.x[a], j = l.i.y[a] === void 0 ? l.i.y[0] : l.i.y[a], M = BezierFactory.getBezierEasing(R, X, N, j).get, m.__fnct[a] = M)) : m.__fnct ? M = m.__fnct : (R = l.o.x, X = l.o.y, N = l.i.x, j = l.i.y, M = BezierFactory.getBezierEasing(R, X, N, j).get, l.keyframeMetadata = M), P = M((e - g) / (d - g)))), c = p.s || l.e, Y = l.h === 1 ? l.s[a] : l.s[a] + (c[a] - l.s[a]) * P, this.propType === "multidimensional" ? s[a] = Y : s = Y;
|
|
3863
3863
|
}
|
|
3864
3864
|
return t.lastIndex = n, s;
|
|
3865
3865
|
}
|
|
3866
3866
|
function slerp(e, t, i) {
|
|
3867
|
-
var s = [], n = e[0], a = e[1], o = e[2], f = e[3], l = t[0], p = t[1], m = t[2], E = t[3], u, P, C, y,
|
|
3868
|
-
return P = n * l + a * p + o * m + f * E, P < 0 && (P = -P, l = -l, p = -p, m = -m, E = -E), 1 - P > 1e-6 ? (u = Math.acos(P), C = Math.sin(u), y = Math.sin((1 - i) * u) / C,
|
|
3867
|
+
var s = [], n = e[0], a = e[1], o = e[2], f = e[3], l = t[0], p = t[1], m = t[2], E = t[3], u, P, C, y, M;
|
|
3868
|
+
return P = n * l + a * p + o * m + f * E, P < 0 && (P = -P, l = -l, p = -p, m = -m, E = -E), 1 - P > 1e-6 ? (u = Math.acos(P), C = Math.sin(u), y = Math.sin((1 - i) * u) / C, M = Math.sin(i * u) / C) : (y = 1 - i, M = i), s[0] = y * n + M * l, s[1] = y * a + M * p, s[2] = y * o + M * m, s[3] = y * f + M * E, s;
|
|
3869
3869
|
}
|
|
3870
3870
|
function quaternionToEuler(e, t) {
|
|
3871
3871
|
var i = t[0], s = t[1], n = t[2], a = t[3], o = Math.atan2(2 * s * a - 2 * i * n, 1 - 2 * s * s - 2 * n * n), f = Math.asin(2 * i * s + 2 * n * a), l = Math.atan2(2 * i * a - 2 * s * n, 1 - 2 * i * i - 2 * n * n);
|
|
@@ -4080,11 +4080,11 @@ var lottie$1 = { exports: {} };
|
|
|
4080
4080
|
}(), ShapePropertyFactory = function() {
|
|
4081
4081
|
var e = -999999;
|
|
4082
4082
|
function t(d, g, c) {
|
|
4083
|
-
var b = c.lastIndex,
|
|
4083
|
+
var b = c.lastIndex, L, A, T, k, R, X, N, j, Y, U = this.keyframes;
|
|
4084
4084
|
if (d < U[0].t - this.offsetTime)
|
|
4085
|
-
|
|
4085
|
+
L = U[0].s[0], T = !0, b = 0;
|
|
4086
4086
|
else if (d >= U[U.length - 1].t - this.offsetTime)
|
|
4087
|
-
|
|
4087
|
+
L = U[U.length - 1].s ? U[U.length - 1].s[0] : U[U.length - 2].e[0], T = !0;
|
|
4088
4088
|
else {
|
|
4089
4089
|
for (var Z = b, _ = U.length - 1, I = !0, x, S, B; I && (x = U[Z], S = U[Z + 1], !(S.t - this.offsetTime > d)); )
|
|
4090
4090
|
Z < _ - 1 ? Z += 1 : I = !1;
|
|
@@ -4094,16 +4094,16 @@ var lottie$1 = { exports: {} };
|
|
|
4094
4094
|
else if (d < x.t - this.offsetTime)
|
|
4095
4095
|
j = 0;
|
|
4096
4096
|
else {
|
|
4097
|
-
var
|
|
4098
|
-
B.__fnct ?
|
|
4097
|
+
var V;
|
|
4098
|
+
B.__fnct ? V = B.__fnct : (V = BezierFactory.getBezierEasing(x.o.x, x.o.y, x.i.x, x.i.y).get, B.__fnct = V), j = V((d - (x.t - this.offsetTime)) / (S.t - this.offsetTime - (x.t - this.offsetTime)));
|
|
4099
4099
|
}
|
|
4100
4100
|
A = S.s ? S.s[0] : x.e[0];
|
|
4101
4101
|
}
|
|
4102
|
-
|
|
4102
|
+
L = x.s[0];
|
|
4103
4103
|
}
|
|
4104
|
-
for (X = g._length, N =
|
|
4104
|
+
for (X = g._length, N = L.i[0].length, c.lastIndex = b, k = 0; k < X; k += 1)
|
|
4105
4105
|
for (R = 0; R < N; R += 1)
|
|
4106
|
-
Y = T ?
|
|
4106
|
+
Y = T ? L.i[k][R] : L.i[k][R] + (A.i[k][R] - L.i[k][R]) * j, g.i[k][R] = Y, Y = T ? L.o[k][R] : L.o[k][R] + (A.o[k][R] - L.o[k][R]) * j, g.o[k][R] = Y, Y = T ? L.v[k][R] : L.v[k][R] + (A.v[k][R] - L.v[k][R]) * j, g.v[k][R] = Y;
|
|
4107
4107
|
}
|
|
4108
4108
|
function i() {
|
|
4109
4109
|
var d = this.comp.renderedFrame - this.offsetTime, g = this.keyframes[0].t - this.offsetTime, c = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, b = this._caching.lastFrame;
|
|
@@ -4172,8 +4172,8 @@ var lottie$1 = { exports: {} };
|
|
|
4172
4172
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
|
|
4173
4173
|
},
|
|
4174
4174
|
convertEllToPath: function() {
|
|
4175
|
-
var b = this.p.v[0],
|
|
4176
|
-
R.v[0][0] = b, R.v[0][1] =
|
|
4175
|
+
var b = this.p.v[0], L = this.p.v[1], A = this.s.v[0] / 2, T = this.s.v[1] / 2, k = this.d !== 3, R = this.v;
|
|
4176
|
+
R.v[0][0] = b, R.v[0][1] = L - T, R.v[1][0] = k ? b + A : b - A, R.v[1][1] = L, R.v[2][0] = b, R.v[2][1] = L + T, R.v[3][0] = k ? b - A : b + A, R.v[3][1] = L, R.i[0][0] = k ? b - A * d : b + A * d, R.i[0][1] = L - T, R.i[1][0] = k ? b + A : b - A, R.i[1][1] = L - T * d, R.i[2][0] = k ? b + A * d : b - A * d, R.i[2][1] = L + T, R.i[3][0] = k ? b - A : b + A, R.i[3][1] = L + T * d, R.o[0][0] = k ? b + A * d : b - A * d, R.o[0][1] = L - T, R.o[1][0] = k ? b + A : b - A, R.o[1][1] = L + T * d, R.o[2][0] = k ? b - A * d : b + A * d, R.o[2][1] = L + T, R.o[3][0] = k ? b - A : b + A, R.o[3][1] = L - T * d;
|
|
4177
4177
|
}
|
|
4178
4178
|
}, extendPrototype([DynamicPropertyContainer], g), g;
|
|
4179
4179
|
}(), E = function() {
|
|
@@ -4186,19 +4186,19 @@ var lottie$1 = { exports: {} };
|
|
|
4186
4186
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
|
|
4187
4187
|
},
|
|
4188
4188
|
convertStarToPath: function() {
|
|
4189
|
-
var c = Math.floor(this.pt.v) * 2, b = Math.PI * 2 / c,
|
|
4189
|
+
var c = Math.floor(this.pt.v) * 2, b = Math.PI * 2 / c, L = !0, A = this.or.v, T = this.ir.v, k = this.os.v, R = this.is.v, X = 2 * Math.PI * A / (c * 2), N = 2 * Math.PI * T / (c * 2), j, Y, U, Z, _ = -Math.PI / 2;
|
|
4190
4190
|
_ += this.r.v;
|
|
4191
4191
|
var I = this.data.d === 3 ? -1 : 1;
|
|
4192
4192
|
for (this.v._length = 0, j = 0; j < c; j += 1) {
|
|
4193
|
-
Y =
|
|
4194
|
-
var x = Y * Math.cos(_), S = Y * Math.sin(_), B = x === 0 && S === 0 ? 0 : S / Math.sqrt(x * x + S * S),
|
|
4195
|
-
x += +this.p.v[0], S += +this.p.v[1], this.v.setTripleAt(x, S, x - B * Z * U * I, S -
|
|
4193
|
+
Y = L ? A : T, U = L ? k : R, Z = L ? X : N;
|
|
4194
|
+
var x = Y * Math.cos(_), S = Y * Math.sin(_), B = x === 0 && S === 0 ? 0 : S / Math.sqrt(x * x + S * S), V = x === 0 && S === 0 ? 0 : -x / Math.sqrt(x * x + S * S);
|
|
4195
|
+
x += +this.p.v[0], S += +this.p.v[1], this.v.setTripleAt(x, S, x - B * Z * U * I, S - V * Z * U * I, x + B * Z * U * I, S + V * Z * U * I, j, !0), L = !L, _ += b * I;
|
|
4196
4196
|
}
|
|
4197
4197
|
},
|
|
4198
4198
|
convertPolygonToPath: function() {
|
|
4199
|
-
var c = Math.floor(this.pt.v), b = Math.PI * 2 / c,
|
|
4199
|
+
var c = Math.floor(this.pt.v), b = Math.PI * 2 / c, L = this.or.v, A = this.os.v, T = 2 * Math.PI * L / (c * 4), k, R = -Math.PI * 0.5, X = this.data.d === 3 ? -1 : 1;
|
|
4200
4200
|
for (R += this.r.v, this.v._length = 0, k = 0; k < c; k += 1) {
|
|
4201
|
-
var N =
|
|
4201
|
+
var N = L * Math.cos(R), j = L * Math.sin(R), Y = N === 0 && j === 0 ? 0 : j / Math.sqrt(N * N + j * j), U = N === 0 && j === 0 ? 0 : -N / Math.sqrt(N * N + j * j);
|
|
4202
4202
|
N += +this.p.v[0], j += +this.p.v[1], this.v.setTripleAt(N, j, N - Y * T * A * X, j - U * T * A * X, N + Y * T * A * X, j + U * T * A * X, k, !0), R += b * X;
|
|
4203
4203
|
}
|
|
4204
4204
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
@@ -4210,8 +4210,8 @@ var lottie$1 = { exports: {} };
|
|
|
4210
4210
|
}
|
|
4211
4211
|
return d.prototype = {
|
|
4212
4212
|
convertRectToPath: function() {
|
|
4213
|
-
var c = this.p.v[0], b = this.p.v[1],
|
|
4214
|
-
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(c +
|
|
4213
|
+
var c = this.p.v[0], b = this.p.v[1], L = this.s.v[0] / 2, A = this.s.v[1] / 2, T = bmMin(L, A, this.r.v), k = T * (1 - roundCorner);
|
|
4214
|
+
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(c + L, b - A + T, c + L, b - A + T, c + L, b - A + k, 0, !0), this.v.setTripleAt(c + L, b + A - T, c + L, b + A - k, c + L, b + A - T, 1, !0), T !== 0 ? (this.v.setTripleAt(c + L - T, b + A, c + L - T, b + A, c + L - k, b + A, 2, !0), this.v.setTripleAt(c - L + T, b + A, c - L + k, b + A, c - L + T, b + A, 3, !0), this.v.setTripleAt(c - L, b + A - T, c - L, b + A - T, c - L, b + A - k, 4, !0), this.v.setTripleAt(c - L, b - A + T, c - L, b - A + k, c - L, b - A + T, 5, !0), this.v.setTripleAt(c - L + T, b - A, c - L + T, b - A, c - L + k, b - A, 6, !0), this.v.setTripleAt(c + L - T, b - A, c + L - k, b - A, c + L - T, b - A, 7, !0)) : (this.v.setTripleAt(c - L, b + A, c - L + k, b + A, c - L, b + A, 2), this.v.setTripleAt(c - L, b - A, c - L, b - A + k, c - L, b - A, 3))) : (this.v.setTripleAt(c + L, b - A + T, c + L, b - A + k, c + L, b - A + T, 0, !0), T !== 0 ? (this.v.setTripleAt(c + L - T, b - A, c + L - T, b - A, c + L - k, b - A, 1, !0), this.v.setTripleAt(c - L + T, b - A, c - L + k, b - A, c - L + T, b - A, 2, !0), this.v.setTripleAt(c - L, b - A + T, c - L, b - A + T, c - L, b - A + k, 3, !0), this.v.setTripleAt(c - L, b + A - T, c - L, b + A - k, c - L, b + A - T, 4, !0), this.v.setTripleAt(c - L + T, b + A, c - L + T, b + A, c - L + k, b + A, 5, !0), this.v.setTripleAt(c + L - T, b + A, c + L - k, b + A, c + L - T, b + A, 6, !0), this.v.setTripleAt(c + L, b + A - T, c + L, b + A - T, c + L, b + A - k, 7, !0)) : (this.v.setTripleAt(c - L, b - A, c - L + k, b - A, c - L, b - A, 1, !0), this.v.setTripleAt(c - L, b + A, c - L, b + A - k, c - L, b + A, 2, !0), this.v.setTripleAt(c + L, b + A, c + L - k, b + A, c + L, b + A, 3, !0)));
|
|
4215
4215
|
},
|
|
4216
4216
|
getValue: function() {
|
|
4217
4217
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
|
|
@@ -4222,7 +4222,7 @@ var lottie$1 = { exports: {} };
|
|
|
4222
4222
|
function P(d, g, c) {
|
|
4223
4223
|
var b;
|
|
4224
4224
|
if (c === 3 || c === 4) {
|
|
4225
|
-
var
|
|
4225
|
+
var L = c === 3 ? g.pt : g.ks, A = L.k;
|
|
4226
4226
|
A.length ? b = new p(d, g, c) : b = new f(d, g, c);
|
|
4227
4227
|
} else c === 5 ? b = new u(d, g) : c === 6 ? b = new m(d, g) : c === 7 && (b = new E(d, g));
|
|
4228
4228
|
return b.k && d.addDynamicProperty(b), b;
|
|
@@ -4233,8 +4233,8 @@ var lottie$1 = { exports: {} };
|
|
|
4233
4233
|
function y() {
|
|
4234
4234
|
return p;
|
|
4235
4235
|
}
|
|
4236
|
-
var
|
|
4237
|
-
return
|
|
4236
|
+
var M = {};
|
|
4237
|
+
return M.getShapeProp = P, M.getConstructorFunction = C, M.getKeyframedConstructorFunction = y, M;
|
|
4238
4238
|
}();
|
|
4239
4239
|
/*!
|
|
4240
4240
|
Transformation Matrix v2.0
|
|
@@ -4280,26 +4280,26 @@ var lottie$1 = { exports: {} };
|
|
|
4280
4280
|
return this.shear(i(x), i(S));
|
|
4281
4281
|
}
|
|
4282
4282
|
function E(x, S) {
|
|
4283
|
-
var B = e(S),
|
|
4284
|
-
return this._t(B,
|
|
4283
|
+
var B = e(S), V = t(S);
|
|
4284
|
+
return this._t(B, V, 0, 0, -V, B, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, i(x), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(B, -V, 0, 0, V, B, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
|
|
4285
4285
|
}
|
|
4286
4286
|
function u(x, S, B) {
|
|
4287
4287
|
return !B && B !== 0 && (B = 1), x === 1 && S === 1 && B === 1 ? this : this._t(x, 0, 0, 0, 0, S, 0, 0, 0, 0, B, 0, 0, 0, 0, 1);
|
|
4288
4288
|
}
|
|
4289
|
-
function P(x, S, B,
|
|
4290
|
-
return this.props[0] = x, this.props[1] = S, this.props[2] = B, this.props[3] =
|
|
4289
|
+
function P(x, S, B, V, G, q, $, J, re, le, pe, ue, ce, se, oe, te) {
|
|
4290
|
+
return this.props[0] = x, this.props[1] = S, this.props[2] = B, this.props[3] = V, this.props[4] = G, this.props[5] = q, this.props[6] = $, this.props[7] = J, this.props[8] = re, this.props[9] = le, this.props[10] = pe, this.props[11] = ue, this.props[12] = ce, this.props[13] = se, this.props[14] = oe, this.props[15] = te, this;
|
|
4291
4291
|
}
|
|
4292
4292
|
function C(x, S, B) {
|
|
4293
4293
|
return B = B || 0, x !== 0 || S !== 0 || B !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, x, S, B, 1) : this;
|
|
4294
4294
|
}
|
|
4295
|
-
function y(x, S, B,
|
|
4295
|
+
function y(x, S, B, V, G, q, $, J, re, le, pe, ue, ce, se, oe, te) {
|
|
4296
4296
|
var K = this.props;
|
|
4297
|
-
if (x === 1 && S === 0 && B === 0 &&
|
|
4297
|
+
if (x === 1 && S === 0 && B === 0 && V === 0 && G === 0 && q === 1 && $ === 0 && J === 0 && re === 0 && le === 0 && pe === 1 && ue === 0)
|
|
4298
4298
|
return K[12] = K[12] * x + K[15] * ce, K[13] = K[13] * q + K[15] * se, K[14] = K[14] * pe + K[15] * oe, K[15] *= te, this._identityCalculated = !1, this;
|
|
4299
|
-
var
|
|
4300
|
-
return K[0] =
|
|
4299
|
+
var Le = K[0], Ae = K[1], Se = K[2], ye = K[3], xe = K[4], we = K[5], me = K[6], Ce = K[7], _e = K[8], be = K[9], Me = K[10], Pe = K[11], Ee = K[12], ke = K[13], Te = K[14], Ie = K[15];
|
|
4300
|
+
return K[0] = Le * x + Ae * G + Se * re + ye * ce, K[1] = Le * S + Ae * q + Se * le + ye * se, K[2] = Le * B + Ae * $ + Se * pe + ye * oe, K[3] = Le * V + Ae * J + Se * ue + ye * te, K[4] = xe * x + we * G + me * re + Ce * ce, K[5] = xe * S + we * q + me * le + Ce * se, K[6] = xe * B + we * $ + me * pe + Ce * oe, K[7] = xe * V + we * J + me * ue + Ce * te, K[8] = _e * x + be * G + Me * re + Pe * ce, K[9] = _e * S + be * q + Me * le + Pe * se, K[10] = _e * B + be * $ + Me * pe + Pe * oe, K[11] = _e * V + be * J + Me * ue + Pe * te, K[12] = Ee * x + ke * G + Te * re + Ie * ce, K[13] = Ee * S + ke * q + Te * le + Ie * se, K[14] = Ee * B + ke * $ + Te * pe + Ie * oe, K[15] = Ee * V + ke * J + Te * ue + Ie * te, this._identityCalculated = !1, this;
|
|
4301
4301
|
}
|
|
4302
|
-
function
|
|
4302
|
+
function M(x) {
|
|
4303
4303
|
var S = x.props;
|
|
4304
4304
|
return this.transform(S[0], S[1], S[2], S[3], S[4], S[5], S[6], S[7], S[8], S[9], S[10], S[11], S[12], S[13], S[14], S[15]);
|
|
4305
4305
|
}
|
|
@@ -4325,7 +4325,7 @@ var lottie$1 = { exports: {} };
|
|
|
4325
4325
|
for (S = 0; S < 16; S += 1)
|
|
4326
4326
|
this.props[S] = x[S];
|
|
4327
4327
|
}
|
|
4328
|
-
function
|
|
4328
|
+
function L(x, S, B) {
|
|
4329
4329
|
return {
|
|
4330
4330
|
x: x * this.props[0] + S * this.props[4] + B * this.props[8] + this.props[12],
|
|
4331
4331
|
y: x * this.props[1] + S * this.props[5] + B * this.props[9] + this.props[13],
|
|
@@ -4342,32 +4342,32 @@ var lottie$1 = { exports: {} };
|
|
|
4342
4342
|
return x * this.props[2] + S * this.props[6] + B * this.props[10] + this.props[14];
|
|
4343
4343
|
}
|
|
4344
4344
|
function R() {
|
|
4345
|
-
var x = this.props[0] * this.props[5] - this.props[1] * this.props[4], S = this.props[5] / x, B = -this.props[1] / x,
|
|
4346
|
-
return J.props[0] = S, J.props[1] = B, J.props[4] =
|
|
4345
|
+
var x = this.props[0] * this.props[5] - this.props[1] * this.props[4], S = this.props[5] / x, B = -this.props[1] / x, V = -this.props[4] / x, G = this.props[0] / x, q = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / x, $ = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / x, J = new Matrix();
|
|
4346
|
+
return J.props[0] = S, J.props[1] = B, J.props[4] = V, J.props[5] = G, J.props[12] = q, J.props[13] = $, J;
|
|
4347
4347
|
}
|
|
4348
4348
|
function X(x) {
|
|
4349
4349
|
var S = this.getInverseMatrix();
|
|
4350
4350
|
return S.applyToPointArray(x[0], x[1], x[2] || 0);
|
|
4351
4351
|
}
|
|
4352
4352
|
function N(x) {
|
|
4353
|
-
var S, B = x.length,
|
|
4353
|
+
var S, B = x.length, V = [];
|
|
4354
4354
|
for (S = 0; S < B; S += 1)
|
|
4355
|
-
|
|
4356
|
-
return
|
|
4355
|
+
V[S] = X(x[S]);
|
|
4356
|
+
return V;
|
|
4357
4357
|
}
|
|
4358
4358
|
function j(x, S, B) {
|
|
4359
|
-
var
|
|
4359
|
+
var V = createTypedArray("float32", 6);
|
|
4360
4360
|
if (this.isIdentity())
|
|
4361
|
-
|
|
4361
|
+
V[0] = x[0], V[1] = x[1], V[2] = S[0], V[3] = S[1], V[4] = B[0], V[5] = B[1];
|
|
4362
4362
|
else {
|
|
4363
4363
|
var G = this.props[0], q = this.props[1], $ = this.props[4], J = this.props[5], re = this.props[12], le = this.props[13];
|
|
4364
|
-
|
|
4364
|
+
V[0] = x[0] * G + x[1] * $ + re, V[1] = x[0] * q + x[1] * J + le, V[2] = S[0] * G + S[1] * $ + re, V[3] = S[0] * q + S[1] * J + le, V[4] = B[0] * G + B[1] * $ + re, V[5] = B[0] * q + B[1] * J + le;
|
|
4365
4365
|
}
|
|
4366
|
-
return
|
|
4366
|
+
return V;
|
|
4367
4367
|
}
|
|
4368
4368
|
function Y(x, S, B) {
|
|
4369
|
-
var
|
|
4370
|
-
return this.isIdentity() ?
|
|
4369
|
+
var V;
|
|
4370
|
+
return this.isIdentity() ? V = [x, S, B] : V = [x * this.props[0] + S * this.props[4] + B * this.props[8] + this.props[12], x * this.props[1] + S * this.props[5] + B * this.props[9] + this.props[13], x * this.props[2] + S * this.props[6] + B * this.props[10] + this.props[14]], V;
|
|
4371
4371
|
}
|
|
4372
4372
|
function U(x, S) {
|
|
4373
4373
|
if (this.isIdentity())
|
|
@@ -4376,8 +4376,8 @@ var lottie$1 = { exports: {} };
|
|
|
4376
4376
|
return Math.round((x * B[0] + S * B[4] + B[12]) * 100) / 100 + "," + Math.round((x * B[1] + S * B[5] + B[13]) * 100) / 100;
|
|
4377
4377
|
}
|
|
4378
4378
|
function Z() {
|
|
4379
|
-
for (var x = 0, S = this.props, B = "matrix3d(",
|
|
4380
|
-
B += s(S[x] *
|
|
4379
|
+
for (var x = 0, S = this.props, B = "matrix3d(", V = 1e4; x < 16; )
|
|
4380
|
+
B += s(S[x] * V) / V, B += x === 15 ? ")" : ",", x += 1;
|
|
4381
4381
|
return B;
|
|
4382
4382
|
}
|
|
4383
4383
|
function _(x) {
|
|
@@ -4385,11 +4385,11 @@ var lottie$1 = { exports: {} };
|
|
|
4385
4385
|
return x < 1e-6 && x > 0 || x > -1e-6 && x < 0 ? s(x * S) / S : x;
|
|
4386
4386
|
}
|
|
4387
4387
|
function I() {
|
|
4388
|
-
var x = this.props, S = _(x[0]), B = _(x[1]),
|
|
4389
|
-
return "matrix(" + S + "," + B + "," +
|
|
4388
|
+
var x = this.props, S = _(x[0]), B = _(x[1]), V = _(x[4]), G = _(x[5]), q = _(x[12]), $ = _(x[13]);
|
|
4389
|
+
return "matrix(" + S + "," + B + "," + V + "," + G + "," + q + "," + $ + ")";
|
|
4390
4390
|
}
|
|
4391
4391
|
return function() {
|
|
4392
|
-
this.reset = n, this.rotate = a, this.rotateX = o, this.rotateY = f, this.rotateZ = l, this.skew = m, this.skewFromAxis = E, this.shear = p, this.scale = u, this.setTransform = P, this.translate = C, this.transform = y, this.multiply =
|
|
4392
|
+
this.reset = n, this.rotate = a, this.rotateX = o, this.rotateY = f, this.rotateZ = l, this.skew = m, this.skewFromAxis = E, this.shear = p, this.scale = u, this.setTransform = P, this.translate = C, this.transform = y, this.multiply = M, this.applyToPoint = L, this.applyToX = A, this.applyToY = T, this.applyToZ = k, this.applyToPointArray = Y, this.applyToTriplePoints = j, this.applyToPointStringified = U, this.toCSS = Z, this.to2dCSS = I, this.clone = c, this.cloneFromProps = b, this.equals = g, this.inversePoints = N, this.inversePoint = X, this.getInverseMatrix = R, this._t = this.transform, this.isIdentity = d, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
|
|
4393
4393
|
};
|
|
4394
4394
|
}();
|
|
4395
4395
|
function _typeof$3(e) {
|
|
@@ -4557,7 +4557,7 @@ var lottie$1 = { exports: {} };
|
|
|
4557
4557
|
for (o = 0; o < f; o += 1)
|
|
4558
4558
|
this.shapes[o].pathsData.length = 0, this.shapes[o].shape._mdf = !0;
|
|
4559
4559
|
} else {
|
|
4560
|
-
var C = [], y,
|
|
4560
|
+
var C = [], y, M;
|
|
4561
4561
|
for (o = 0; o < f; o += 1)
|
|
4562
4562
|
if (y = this.shapes[o], !y.shape._mdf && !this._mdf && !e && this.m !== 2)
|
|
4563
4563
|
y.shape.paths = y.localShapeCollection;
|
|
@@ -4574,7 +4574,7 @@ var lottie$1 = { exports: {} };
|
|
|
4574
4574
|
var d = t, g = i, c = 0, b;
|
|
4575
4575
|
for (o = f - 1; o >= 0; o -= 1)
|
|
4576
4576
|
if (y = this.shapes[o], y.shape._mdf) {
|
|
4577
|
-
for (
|
|
4577
|
+
for (M = y.localShapeCollection, M.releaseShapes(), this.m === 2 && f > 1 ? (b = this.calculateShapeEdges(t, i, y.totalShapeLength, c, P), c += y.totalShapeLength) : b = [[d, g]], p = b.length, l = 0; l < p; l += 1) {
|
|
4578
4578
|
d = b[l][0], g = b[l][1], C.length = 0, g <= 1 ? C.push({
|
|
4579
4579
|
s: y.totalShapeLength * d,
|
|
4580
4580
|
e: y.totalShapeLength * g
|
|
@@ -4588,20 +4588,20 @@ var lottie$1 = { exports: {} };
|
|
|
4588
4588
|
s: 0,
|
|
4589
4589
|
e: y.totalShapeLength * (g - 1)
|
|
4590
4590
|
}));
|
|
4591
|
-
var
|
|
4591
|
+
var L = this.addShapes(y, C[0]);
|
|
4592
4592
|
if (C[0].s !== C[0].e) {
|
|
4593
4593
|
if (C.length > 1) {
|
|
4594
4594
|
var A = y.shape.paths.shapes[y.shape.paths._length - 1];
|
|
4595
4595
|
if (A.c) {
|
|
4596
|
-
var T =
|
|
4597
|
-
this.addPaths(
|
|
4596
|
+
var T = L.pop();
|
|
4597
|
+
this.addPaths(L, M), L = this.addShapes(y, C[1], T);
|
|
4598
4598
|
} else
|
|
4599
|
-
this.addPaths(
|
|
4599
|
+
this.addPaths(L, M), L = this.addShapes(y, C[1]);
|
|
4600
4600
|
}
|
|
4601
|
-
this.addPaths(
|
|
4601
|
+
this.addPaths(L, M);
|
|
4602
4602
|
}
|
|
4603
4603
|
}
|
|
4604
|
-
y.shape.paths =
|
|
4604
|
+
y.shape.paths = M;
|
|
4605
4605
|
}
|
|
4606
4606
|
}
|
|
4607
4607
|
}, TrimModifier.prototype.addPaths = function(e, t) {
|
|
@@ -4613,7 +4613,7 @@ var lottie$1 = { exports: {} };
|
|
|
4613
4613
|
}, TrimModifier.prototype.addSegmentFromArray = function(e, t, i, s) {
|
|
4614
4614
|
t.setXYAt(e[1], e[5], "o", i), t.setXYAt(e[2], e[6], "i", i + 1), s && t.setXYAt(e[0], e[4], "v", i), t.setXYAt(e[3], e[7], "v", i + 1);
|
|
4615
4615
|
}, TrimModifier.prototype.addShapes = function(e, t, i) {
|
|
4616
|
-
var s = e.pathsData, n = e.shape.paths.shapes, a, o = e.shape.paths._length, f, l, p = 0, m, E, u, P, C = [], y,
|
|
4616
|
+
var s = e.pathsData, n = e.shape.paths.shapes, a, o = e.shape.paths._length, f, l, p = 0, m, E, u, P, C = [], y, M = !0;
|
|
4617
4617
|
for (i ? (E = i._length, y = i._length) : (i = shapePool.newElement(), E = 0, y = 0), C.push(i), a = 0; a < o; a += 1) {
|
|
4618
4618
|
for (u = s[a].lengths, i.c = n[a].c, l = n[a].c ? u.length : u.length + 1, f = 1; f < l; f += 1)
|
|
4619
4619
|
if (m = u[f - 1], p + m.addedLength < t.s)
|
|
@@ -4622,18 +4622,18 @@ var lottie$1 = { exports: {} };
|
|
|
4622
4622
|
i.c = !1;
|
|
4623
4623
|
break;
|
|
4624
4624
|
} else
|
|
4625
|
-
t.s <= p && t.e >= p + m.addedLength ? (this.addSegment(n[a].v[f - 1], n[a].o[f - 1], n[a].i[f], n[a].v[f], i, E,
|
|
4625
|
+
t.s <= p && t.e >= p + m.addedLength ? (this.addSegment(n[a].v[f - 1], n[a].o[f - 1], n[a].i[f], n[a].v[f], i, E, M), M = !1) : (P = bez.getNewSegment(n[a].v[f - 1], n[a].v[f], n[a].o[f - 1], n[a].i[f], (t.s - p) / m.addedLength, (t.e - p) / m.addedLength, u[f - 1]), this.addSegmentFromArray(P, i, E, M), M = !1, i.c = !1), p += m.addedLength, E += 1;
|
|
4626
4626
|
if (n[a].c && u.length) {
|
|
4627
4627
|
if (m = u[f - 1], p <= t.e) {
|
|
4628
4628
|
var d = u[f - 1].addedLength;
|
|
4629
|
-
t.s <= p && t.e >= p + d ? (this.addSegment(n[a].v[f - 1], n[a].o[f - 1], n[a].i[0], n[a].v[0], i, E,
|
|
4629
|
+
t.s <= p && t.e >= p + d ? (this.addSegment(n[a].v[f - 1], n[a].o[f - 1], n[a].i[0], n[a].v[0], i, E, M), M = !1) : (P = bez.getNewSegment(n[a].v[f - 1], n[a].v[0], n[a].o[f - 1], n[a].i[0], (t.s - p) / d, (t.e - p) / d, u[f - 1]), this.addSegmentFromArray(P, i, E, M), M = !1, i.c = !1);
|
|
4630
4630
|
} else
|
|
4631
4631
|
i.c = !1;
|
|
4632
4632
|
p += m.addedLength, E += 1;
|
|
4633
4633
|
}
|
|
4634
4634
|
if (i._length && (i.setXYAt(i.v[y][0], i.v[y][1], "i", y), i.setXYAt(i.v[i._length - 1][0], i.v[i._length - 1][1], "o", i._length - 1)), p > t.e)
|
|
4635
4635
|
break;
|
|
4636
|
-
a < o - 1 && (i = shapePool.newElement(),
|
|
4636
|
+
a < o - 1 && (i = shapePool.newElement(), M = !0, C.push(i), E = 0);
|
|
4637
4637
|
}
|
|
4638
4638
|
return C;
|
|
4639
4639
|
};
|
|
@@ -4841,7 +4841,7 @@ var lottie$1 = { exports: {} };
|
|
|
4841
4841
|
a += 1;
|
|
4842
4842
|
}
|
|
4843
4843
|
this._currentCopies = f;
|
|
4844
|
-
var u = this.o.v, P = u % 1, C = u > 0 ? Math.floor(u) : Math.ceil(u), y = this.pMatrix.props,
|
|
4844
|
+
var u = this.o.v, P = u % 1, C = u > 0 ? Math.floor(u) : Math.ceil(u), y = this.pMatrix.props, M = this.rMatrix.props, d = this.sMatrix.props;
|
|
4845
4845
|
this.pMatrix.reset(), this.rMatrix.reset(), this.sMatrix.reset(), this.tMatrix.reset(), this.matrix.reset();
|
|
4846
4846
|
var g = 0;
|
|
4847
4847
|
if (u > 0) {
|
|
@@ -4856,7 +4856,7 @@ var lottie$1 = { exports: {} };
|
|
|
4856
4856
|
s = this.data.m === 1 ? 0 : this._currentCopies - 1, n = this.data.m === 1 ? 1 : -1, a = this._currentCopies;
|
|
4857
4857
|
for (var c, b; a; ) {
|
|
4858
4858
|
if (t = this.elemsData[s].it, i = t[t.length - 1].transform.mProps.v.props, b = i.length, t[t.length - 1].transform.mProps._mdf = !0, t[t.length - 1].transform.op._mdf = !0, t[t.length - 1].transform.op.v = this._currentCopies === 1 ? this.so.v : this.so.v + (this.eo.v - this.so.v) * (s / (this._currentCopies - 1)), g !== 0) {
|
|
4859
|
-
for ((s !== 0 && n === 1 || s !== this._currentCopies - 1 && n === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), this.matrix.transform(
|
|
4859
|
+
for ((s !== 0 && n === 1 || s !== this._currentCopies - 1 && n === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), this.matrix.transform(M[0], M[1], M[2], M[3], M[4], M[5], M[6], M[7], M[8], M[9], M[10], M[11], M[12], M[13], M[14], M[15]), this.matrix.transform(d[0], d[1], d[2], d[3], d[4], d[5], d[6], d[7], d[8], d[9], d[10], d[11], d[12], d[13], d[14], d[15]), this.matrix.transform(y[0], y[1], y[2], y[3], y[4], y[5], y[6], y[7], y[8], y[9], y[10], y[11], y[12], y[13], y[14], y[15]), c = 0; c < b; c += 1)
|
|
4860
4860
|
i[c] = this.matrix.props[c];
|
|
4861
4861
|
this.matrix.reset();
|
|
4862
4862
|
} else
|
|
@@ -4877,9 +4877,9 @@ var lottie$1 = { exports: {} };
|
|
|
4877
4877
|
}, RoundCornersModifier.prototype.processPath = function(e, t) {
|
|
4878
4878
|
var i = shapePool.newElement();
|
|
4879
4879
|
i.c = e.c;
|
|
4880
|
-
var s, n = e._length, a, o, f, l, p, m, E = 0, u, P, C, y,
|
|
4880
|
+
var s, n = e._length, a, o, f, l, p, m, E = 0, u, P, C, y, M, d;
|
|
4881
4881
|
for (s = 0; s < n; s += 1)
|
|
4882
|
-
a = e.v[s], f = e.o[s], o = e.i[s], a[0] === f[0] && a[1] === f[1] && a[0] === o[0] && a[1] === o[1] ? (s === 0 || s === n - 1) && !e.c ? (i.setTripleAt(a[0], a[1], f[0], f[1], o[0], o[1], E), E += 1) : (s === 0 ? l = e.v[n - 1] : l = e.v[s - 1], p = Math.sqrt(Math.pow(a[0] - l[0], 2) + Math.pow(a[1] - l[1], 2)), m = p ? Math.min(p / 2, t) / p : 0,
|
|
4882
|
+
a = e.v[s], f = e.o[s], o = e.i[s], a[0] === f[0] && a[1] === f[1] && a[0] === o[0] && a[1] === o[1] ? (s === 0 || s === n - 1) && !e.c ? (i.setTripleAt(a[0], a[1], f[0], f[1], o[0], o[1], E), E += 1) : (s === 0 ? l = e.v[n - 1] : l = e.v[s - 1], p = Math.sqrt(Math.pow(a[0] - l[0], 2) + Math.pow(a[1] - l[1], 2)), m = p ? Math.min(p / 2, t) / p : 0, M = a[0] + (l[0] - a[0]) * m, u = M, d = a[1] - (a[1] - l[1]) * m, P = d, C = u - (u - a[0]) * roundCorner, y = P - (P - a[1]) * roundCorner, i.setTripleAt(u, P, C, y, M, d, E), E += 1, s === n - 1 ? l = e.v[0] : l = e.v[s + 1], p = Math.sqrt(Math.pow(a[0] - l[0], 2) + Math.pow(a[1] - l[1], 2)), m = p ? Math.min(p / 2, t) / p : 0, C = a[0] + (l[0] - a[0]) * m, u = C, y = a[1] + (l[1] - a[1]) * m, P = y, M = u - (u - a[0]) * roundCorner, d = P - (P - a[1]) * roundCorner, i.setTripleAt(u, P, C, y, M, d, E), E += 1) : (i.setTripleAt(e.v[s][0], e.v[s][1], e.o[s][0], e.o[s][1], e.i[s][0], e.i[s][1], E), E += 1);
|
|
4883
4883
|
return i;
|
|
4884
4884
|
}, RoundCornersModifier.prototype.processShapes = function(e) {
|
|
4885
4885
|
var t, i, s = this.shapes.length, n, a, o = this.rd.v;
|
|
@@ -5239,8 +5239,8 @@ var lottie$1 = { exports: {} };
|
|
|
5239
5239
|
function y(_, I) {
|
|
5240
5240
|
var x = document.body && I ? "svg" : "canvas", S, B = getFontProperties(_);
|
|
5241
5241
|
if (x === "svg") {
|
|
5242
|
-
var
|
|
5243
|
-
|
|
5242
|
+
var V = createNS("text");
|
|
5243
|
+
V.style.fontSize = "100px", V.setAttribute("font-family", _.fFamily), V.setAttribute("font-style", B.style), V.setAttribute("font-weight", B.weight), V.textContent = "1", _.fClass ? (V.style.fontFamily = "inherit", V.setAttribute("class", _.fClass)) : V.style.fontFamily = _.fFamily, I.appendChild(V), S = V;
|
|
5244
5244
|
} else {
|
|
5245
5245
|
var G = new OffscreenCanvas(500, 500).getContext("2d");
|
|
5246
5246
|
G.font = B.style + " " + B.weight + " 100px " + _.fFamily, S = G;
|
|
@@ -5252,7 +5252,7 @@ var lottie$1 = { exports: {} };
|
|
|
5252
5252
|
measureText: q
|
|
5253
5253
|
};
|
|
5254
5254
|
}
|
|
5255
|
-
function
|
|
5255
|
+
function M(_, I) {
|
|
5256
5256
|
if (!_) {
|
|
5257
5257
|
this.isLoaded = !0;
|
|
5258
5258
|
return;
|
|
@@ -5267,11 +5267,11 @@ var lottie$1 = { exports: {} };
|
|
|
5267
5267
|
}), this.fonts = _.list;
|
|
5268
5268
|
return;
|
|
5269
5269
|
}
|
|
5270
|
-
var x = _.list, S, B = x.length,
|
|
5270
|
+
var x = _.list, S, B = x.length, V = B;
|
|
5271
5271
|
for (S = 0; S < B; S += 1) {
|
|
5272
5272
|
var G = !0, q, $;
|
|
5273
5273
|
if (x[S].loaded = !1, x[S].monoCase = P(x[S].fFamily, "monospace"), x[S].sansCase = P(x[S].fFamily, "sans-serif"), !x[S].fPath)
|
|
5274
|
-
x[S].loaded = !0,
|
|
5274
|
+
x[S].loaded = !0, V -= 1;
|
|
5275
5275
|
else if (x[S].fOrigin === "p" || x[S].origin === 3) {
|
|
5276
5276
|
if (q = document.querySelectorAll('style[f-forigin="p"][f-family="' + x[S].fFamily + '"], style[f-origin="3"][f-family="' + x[S].fFamily + '"]'), q.length > 0 && (G = !1), G) {
|
|
5277
5277
|
var J = createTag("style");
|
|
@@ -5294,16 +5294,16 @@ var lottie$1 = { exports: {} };
|
|
|
5294
5294
|
}
|
|
5295
5295
|
x[S].helper = y(x[S], I), x[S].cache = {}, this.fonts.push(x[S]);
|
|
5296
5296
|
}
|
|
5297
|
-
|
|
5297
|
+
V === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
|
|
5298
5298
|
}
|
|
5299
5299
|
function d(_) {
|
|
5300
5300
|
if (_) {
|
|
5301
5301
|
this.chars || (this.chars = []);
|
|
5302
|
-
var I, x = _.length, S, B = this.chars.length,
|
|
5302
|
+
var I, x = _.length, S, B = this.chars.length, V;
|
|
5303
5303
|
for (I = 0; I < x; I += 1) {
|
|
5304
|
-
for (S = 0,
|
|
5305
|
-
this.chars[S].style === _[I].style && this.chars[S].fFamily === _[I].fFamily && this.chars[S].ch === _[I].ch && (
|
|
5306
|
-
|
|
5304
|
+
for (S = 0, V = !1; S < B; )
|
|
5305
|
+
this.chars[S].style === _[I].style && this.chars[S].fFamily === _[I].fFamily && this.chars[S].ch === _[I].ch && (V = !0), S += 1;
|
|
5306
|
+
V || (this.chars.push(_[I]), B += 1);
|
|
5307
5307
|
}
|
|
5308
5308
|
}
|
|
5309
5309
|
}
|
|
@@ -5318,12 +5318,12 @@ var lottie$1 = { exports: {} };
|
|
|
5318
5318
|
function c(_, I, x) {
|
|
5319
5319
|
var S = this.getFontByName(I), B = _;
|
|
5320
5320
|
if (!S.cache[B]) {
|
|
5321
|
-
var
|
|
5321
|
+
var V = S.helper;
|
|
5322
5322
|
if (_ === " ") {
|
|
5323
|
-
var G =
|
|
5323
|
+
var G = V.measureText("|" + _ + "|"), q = V.measureText("||");
|
|
5324
5324
|
S.cache[B] = (G - q) / 100;
|
|
5325
5325
|
} else
|
|
5326
|
-
S.cache[B] =
|
|
5326
|
+
S.cache[B] = V.measureText(_) / 100;
|
|
5327
5327
|
}
|
|
5328
5328
|
return S.cache[B] * x;
|
|
5329
5329
|
}
|
|
@@ -5335,7 +5335,7 @@ var lottie$1 = { exports: {} };
|
|
|
5335
5335
|
}
|
|
5336
5336
|
return this.fonts[0];
|
|
5337
5337
|
}
|
|
5338
|
-
function
|
|
5338
|
+
function L(_) {
|
|
5339
5339
|
var I = 0, x = _.charCodeAt(0);
|
|
5340
5340
|
if (x >= 55296 && x <= 56319) {
|
|
5341
5341
|
var S = _.charCodeAt(1);
|
|
@@ -5354,7 +5354,7 @@ var lottie$1 = { exports: {} };
|
|
|
5354
5354
|
return _ === f;
|
|
5355
5355
|
}
|
|
5356
5356
|
function R(_) {
|
|
5357
|
-
var I =
|
|
5357
|
+
var I = L(_);
|
|
5358
5358
|
return I >= p && I <= m;
|
|
5359
5359
|
}
|
|
5360
5360
|
function X(_) {
|
|
@@ -5364,16 +5364,16 @@ var lottie$1 = { exports: {} };
|
|
|
5364
5364
|
return i.indexOf(_) !== -1;
|
|
5365
5365
|
}
|
|
5366
5366
|
function j(_, I) {
|
|
5367
|
-
var x =
|
|
5367
|
+
var x = L(_.substr(I, 2));
|
|
5368
5368
|
if (x !== s)
|
|
5369
5369
|
return !1;
|
|
5370
5370
|
var S = 0;
|
|
5371
5371
|
for (I += 2; S < 5; ) {
|
|
5372
|
-
if (x =
|
|
5372
|
+
if (x = L(_.substr(I, 2)), x < a || x > o)
|
|
5373
5373
|
return !1;
|
|
5374
5374
|
S += 1, I += 2;
|
|
5375
5375
|
}
|
|
5376
|
-
return
|
|
5376
|
+
return L(_.substr(I, 2)) === n;
|
|
5377
5377
|
}
|
|
5378
5378
|
function Y() {
|
|
5379
5379
|
this.isLoaded = !0;
|
|
@@ -5384,7 +5384,7 @@ var lottie$1 = { exports: {} };
|
|
|
5384
5384
|
U.isModifier = A, U.isZeroWidthJoiner = T, U.isFlagEmoji = X, U.isRegionalCode = R, U.isCombinedCharacter = N, U.isRegionalFlag = j, U.isVariationSelector = k, U.BLACK_FLAG_CODE_POINT = s;
|
|
5385
5385
|
var Z = {
|
|
5386
5386
|
addChars: d,
|
|
5387
|
-
addFonts:
|
|
5387
|
+
addFonts: M,
|
|
5388
5388
|
getCharData: g,
|
|
5389
5389
|
getFontByName: b,
|
|
5390
5390
|
measureText: c,
|
|
@@ -5847,7 +5847,7 @@ var lottie$1 = { exports: {} };
|
|
|
5847
5847
|
this.data = e, this.element = t, this.globalData = i, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
|
|
5848
5848
|
var s = this.globalData.defs, n, a = this.masksProperties ? this.masksProperties.length : 0;
|
|
5849
5849
|
this.viewData = createSizedArray(a), this.solidPath = "";
|
|
5850
|
-
var o, f = this.masksProperties, l = 0, p = [], m, E, u = createElementID(), P, C, y,
|
|
5850
|
+
var o, f = this.masksProperties, l = 0, p = [], m, E, u = createElementID(), P, C, y, M, d = "clipPath", g = "clip-path";
|
|
5851
5851
|
for (n = 0; n < a; n += 1)
|
|
5852
5852
|
if ((f[n].mode !== "a" && f[n].mode !== "n" || f[n].inv || f[n].o.k !== 100 || f[n].o.x) && (d = "mask", g = "mask"), (f[n].mode === "s" || f[n].mode === "i") && l === 0 ? (P = createNS("rect"), P.setAttribute("fill", "#ffffff"), P.setAttribute("width", this.element.comp.data.w || 0), P.setAttribute("height", this.element.comp.data.h || 0), p.push(P)) : P = null, o = createNS("path"), f[n].mode === "n")
|
|
5853
5853
|
this.viewData[n] = {
|
|
@@ -5859,9 +5859,9 @@ var lottie$1 = { exports: {} };
|
|
|
5859
5859
|
else {
|
|
5860
5860
|
l += 1, o.setAttribute("fill", f[n].mode === "s" ? "#000000" : "#ffffff"), o.setAttribute("clip-rule", "nonzero");
|
|
5861
5861
|
var c;
|
|
5862
|
-
if (f[n].x.k !== 0 ? (d = "mask", g = "mask",
|
|
5862
|
+
if (f[n].x.k !== 0 ? (d = "mask", g = "mask", M = PropertyFactory.getProp(this.element, f[n].x, 0, null, this.element), c = createElementID(), C = createNS("filter"), C.setAttribute("id", c), y = createNS("feMorphology"), y.setAttribute("operator", "erode"), y.setAttribute("in", "SourceGraphic"), y.setAttribute("radius", "0"), C.appendChild(y), s.appendChild(C), o.setAttribute("stroke", f[n].mode === "s" ? "#000000" : "#ffffff")) : (y = null, M = null), this.storedData[n] = {
|
|
5863
5863
|
elem: o,
|
|
5864
|
-
x:
|
|
5864
|
+
x: M,
|
|
5865
5865
|
expan: y,
|
|
5866
5866
|
lastPath: "",
|
|
5867
5867
|
lastOperator: "",
|
|
@@ -5872,8 +5872,8 @@ var lottie$1 = { exports: {} };
|
|
|
5872
5872
|
var b = createNS("g");
|
|
5873
5873
|
for (m = 0; m < E; m += 1)
|
|
5874
5874
|
b.appendChild(p[m]);
|
|
5875
|
-
var
|
|
5876
|
-
|
|
5875
|
+
var L = createNS("mask");
|
|
5876
|
+
L.setAttribute("mask-type", "alpha"), L.setAttribute("id", u + "_" + l), L.appendChild(o), s.appendChild(L), b.setAttribute("mask", "url(" + getLocationHref() + "#" + u + "_" + l + ")"), p.length = 0, p.push(b);
|
|
5877
5877
|
} else
|
|
5878
5878
|
p.push(o);
|
|
5879
5879
|
f[n].inv && !this.solidPath && (this.solidPath = this.createLayerSolidPath()), this.viewData[n] = {
|
|
@@ -6340,23 +6340,23 @@ var lottie$1 = { exports: {} };
|
|
|
6340
6340
|
function a() {
|
|
6341
6341
|
}
|
|
6342
6342
|
function o(E, u, P) {
|
|
6343
|
-
var C, y,
|
|
6343
|
+
var C, y, M, d, g, c, b = u.styles.length, L = u.lvl, A, T, k, R;
|
|
6344
6344
|
for (c = 0; c < b; c += 1) {
|
|
6345
|
-
if (d = u.sh._mdf || P, u.styles[c].lvl <
|
|
6346
|
-
for (T = t.reset(), k =
|
|
6345
|
+
if (d = u.sh._mdf || P, u.styles[c].lvl < L) {
|
|
6346
|
+
for (T = t.reset(), k = L - u.styles[c].lvl, R = u.transformers.length - 1; !d && k > 0; )
|
|
6347
6347
|
d = u.transformers[R].mProps._mdf || d, k -= 1, R -= 1;
|
|
6348
6348
|
if (d)
|
|
6349
|
-
for (k =
|
|
6349
|
+
for (k = L - u.styles[c].lvl, R = u.transformers.length - 1; k > 0; )
|
|
6350
6350
|
T.multiply(u.transformers[R].mProps.v), k -= 1, R -= 1;
|
|
6351
6351
|
} else
|
|
6352
6352
|
T = e;
|
|
6353
6353
|
if (A = u.sh.paths, y = A._length, d) {
|
|
6354
|
-
for (
|
|
6355
|
-
g = A.shapes[C], g && g._length && (
|
|
6356
|
-
u.caches[c] =
|
|
6354
|
+
for (M = "", C = 0; C < y; C += 1)
|
|
6355
|
+
g = A.shapes[C], g && g._length && (M += buildShapeString(g, g._length, g.c, T));
|
|
6356
|
+
u.caches[c] = M;
|
|
6357
6357
|
} else
|
|
6358
|
-
|
|
6359
|
-
u.styles[c].d += E.hd === !0 ? "" :
|
|
6358
|
+
M = u.caches[c];
|
|
6359
|
+
u.styles[c].d += E.hd === !0 ? "" : M, u.styles[c]._mdf = d || u.styles[c]._mdf;
|
|
6360
6360
|
}
|
|
6361
6361
|
}
|
|
6362
6362
|
function f(E, u, P) {
|
|
@@ -6367,36 +6367,36 @@ var lottie$1 = { exports: {} };
|
|
|
6367
6367
|
p(E, u, P), m(E, u, P);
|
|
6368
6368
|
}
|
|
6369
6369
|
function p(E, u, P) {
|
|
6370
|
-
var C = u.gf, y = u.g._hasOpacity,
|
|
6370
|
+
var C = u.gf, y = u.g._hasOpacity, M = u.s.v, d = u.e.v;
|
|
6371
6371
|
if (u.o._mdf || P) {
|
|
6372
6372
|
var g = E.ty === "gf" ? "fill-opacity" : "stroke-opacity";
|
|
6373
6373
|
u.style.pElem.setAttribute(g, u.o.v);
|
|
6374
6374
|
}
|
|
6375
6375
|
if (u.s._mdf || P) {
|
|
6376
6376
|
var c = E.t === 1 ? "x1" : "cx", b = c === "x1" ? "y1" : "cy";
|
|
6377
|
-
C.setAttribute(c,
|
|
6377
|
+
C.setAttribute(c, M[0]), C.setAttribute(b, M[1]), y && !u.g._collapsable && (u.of.setAttribute(c, M[0]), u.of.setAttribute(b, M[1]));
|
|
6378
6378
|
}
|
|
6379
|
-
var
|
|
6379
|
+
var L, A, T, k;
|
|
6380
6380
|
if (u.g._cmdf || P) {
|
|
6381
|
-
|
|
6381
|
+
L = u.cst;
|
|
6382
6382
|
var R = u.g.c;
|
|
6383
|
-
for (T =
|
|
6384
|
-
k =
|
|
6383
|
+
for (T = L.length, A = 0; A < T; A += 1)
|
|
6384
|
+
k = L[A], k.setAttribute("offset", R[A * 4] + "%"), k.setAttribute("stop-color", "rgb(" + R[A * 4 + 1] + "," + R[A * 4 + 2] + "," + R[A * 4 + 3] + ")");
|
|
6385
6385
|
}
|
|
6386
6386
|
if (y && (u.g._omdf || P)) {
|
|
6387
6387
|
var X = u.g.o;
|
|
6388
|
-
for (u.g._collapsable ?
|
|
6389
|
-
k =
|
|
6388
|
+
for (u.g._collapsable ? L = u.cst : L = u.ost, T = L.length, A = 0; A < T; A += 1)
|
|
6389
|
+
k = L[A], u.g._collapsable || k.setAttribute("offset", X[A * 2] + "%"), k.setAttribute("stop-opacity", X[A * 2 + 1]);
|
|
6390
6390
|
}
|
|
6391
6391
|
if (E.t === 1)
|
|
6392
6392
|
(u.e._mdf || P) && (C.setAttribute("x2", d[0]), C.setAttribute("y2", d[1]), y && !u.g._collapsable && (u.of.setAttribute("x2", d[0]), u.of.setAttribute("y2", d[1])));
|
|
6393
6393
|
else {
|
|
6394
6394
|
var N;
|
|
6395
|
-
if ((u.s._mdf || u.e._mdf || P) && (N = Math.sqrt(Math.pow(
|
|
6396
|
-
N || (N = Math.sqrt(Math.pow(
|
|
6397
|
-
var j = Math.atan2(d[1] -
|
|
6395
|
+
if ((u.s._mdf || u.e._mdf || P) && (N = Math.sqrt(Math.pow(M[0] - d[0], 2) + Math.pow(M[1] - d[1], 2)), C.setAttribute("r", N), y && !u.g._collapsable && u.of.setAttribute("r", N)), u.e._mdf || u.h._mdf || u.a._mdf || P) {
|
|
6396
|
+
N || (N = Math.sqrt(Math.pow(M[0] - d[0], 2) + Math.pow(M[1] - d[1], 2)));
|
|
6397
|
+
var j = Math.atan2(d[1] - M[1], d[0] - M[0]), Y = u.h.v;
|
|
6398
6398
|
Y >= 1 ? Y = 0.99 : Y <= -1 && (Y = -0.99);
|
|
6399
|
-
var U = N * Y, Z = Math.cos(j + u.a.v) * U +
|
|
6399
|
+
var U = N * Y, Z = Math.cos(j + u.a.v) * U + M[0], _ = Math.sin(j + u.a.v) * U + M[1];
|
|
6400
6400
|
C.setAttribute("fx", Z), C.setAttribute("fy", _), y && !u.g._collapsable && (u.of.setAttribute("fx", Z), u.of.setAttribute("fy", _));
|
|
6401
6401
|
}
|
|
6402
6402
|
}
|
|
@@ -6471,18 +6471,18 @@ var lottie$1 = { exports: {} };
|
|
|
6471
6471
|
this.dynamicProperties[e].getValue();
|
|
6472
6472
|
this.renderModifiers();
|
|
6473
6473
|
}, SVGShapeElement.prototype.searchShapes = function(e, t, i, s, n, a, o) {
|
|
6474
|
-
var f = [].concat(a), l, p = e.length - 1, m, E, u = [], P = [], C, y,
|
|
6474
|
+
var f = [].concat(a), l, p = e.length - 1, m, E, u = [], P = [], C, y, M;
|
|
6475
6475
|
for (l = p; l >= 0; l -= 1) {
|
|
6476
|
-
if (
|
|
6477
|
-
|
|
6476
|
+
if (M = this.searchProcessedElement(e[l]), M ? t[l] = i[M - 1] : e[l]._render = o, e[l].ty === "fl" || e[l].ty === "st" || e[l].ty === "gf" || e[l].ty === "gs" || e[l].ty === "no")
|
|
6477
|
+
M ? t[l].style.closed = !1 : t[l] = this.createStyleElement(e[l], n), e[l]._render && t[l].style.pElem.parentNode !== s && s.appendChild(t[l].style.pElem), u.push(t[l].style);
|
|
6478
6478
|
else if (e[l].ty === "gr") {
|
|
6479
|
-
if (!
|
|
6479
|
+
if (!M)
|
|
6480
6480
|
t[l] = this.createGroupElement(e[l]);
|
|
6481
6481
|
else
|
|
6482
6482
|
for (E = t[l].it.length, m = 0; m < E; m += 1)
|
|
6483
6483
|
t[l].prevViewData[m] = t[l].it[m];
|
|
6484
6484
|
this.searchShapes(e[l].it, t[l].it, t[l].prevViewData, t[l].gr, n + 1, f, o), e[l]._render && t[l].gr.parentNode !== s && s.appendChild(t[l].gr);
|
|
6485
|
-
} else e[l].ty === "tr" ? (
|
|
6485
|
+
} else e[l].ty === "tr" ? (M || (t[l] = this.createTransformElement(e[l], s)), C = t[l].transform, f.push(C)) : e[l].ty === "sh" || e[l].ty === "rc" || e[l].ty === "el" || e[l].ty === "sr" ? (M || (t[l] = this.createShapeElement(e[l], f, n)), this.setElementStyles(t[l])) : e[l].ty === "tm" || e[l].ty === "rd" || e[l].ty === "ms" || e[l].ty === "pb" || e[l].ty === "zz" || e[l].ty === "op" ? (M ? (y = t[l], y.closed = !1) : (y = ShapeModifiers.getModifier(e[l].ty), y.init(this, e[l]), t[l] = y, this.shapeModifiers.push(y)), P.push(y)) : e[l].ty === "rp" && (M ? (y = t[l], y.closed = !0) : (y = ShapeModifiers.getModifier(e[l].ty), t[l] = y, y.init(this, e, l, t), this.shapeModifiers.push(y), o = !1), P.push(y));
|
|
6486
6486
|
this.addProcessedElement(e[l], l + 1);
|
|
6487
6487
|
}
|
|
6488
6488
|
for (p = u.length, l = 0; l < p; l += 1)
|
|
@@ -6586,8 +6586,8 @@ var lottie$1 = { exports: {} };
|
|
|
6586
6586
|
return t;
|
|
6587
6587
|
}, TextProperty.prototype.completeTextData = function(e) {
|
|
6588
6588
|
e.__complete = !0;
|
|
6589
|
-
var t = this.elem.globalData.fontManager, i = this.data, s = [], n, a, o, f = 0, l, p = i.m.g, m = 0, E = 0, u = 0, P = [], C = 0, y = 0,
|
|
6590
|
-
e.fWeight =
|
|
6589
|
+
var t = this.elem.globalData.fontManager, i = this.data, s = [], n, a, o, f = 0, l, p = i.m.g, m = 0, E = 0, u = 0, P = [], C = 0, y = 0, M, d, g = t.getFontByName(e.f), c, b = 0, L = getFontProperties(g);
|
|
6590
|
+
e.fWeight = L.weight, e.fStyle = L.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), a = e.finalText.length, e.finalLineHeight = e.lh;
|
|
6591
6591
|
var A = e.tr / 1e3 * e.finalSize, T;
|
|
6592
6592
|
if (e.sz)
|
|
6593
6593
|
for (var k = !0, R = e.sz[0], X = e.sz[1], N, j; k; ) {
|
|
@@ -6639,15 +6639,15 @@ var lottie$1 = { exports: {} };
|
|
|
6639
6639
|
e.lineWidths = P;
|
|
6640
6640
|
var _ = i.a, I, x;
|
|
6641
6641
|
d = _.length;
|
|
6642
|
-
var S, B,
|
|
6643
|
-
for (
|
|
6644
|
-
for (I = _[
|
|
6645
|
-
x = s[n], x.anIndexes[
|
|
6646
|
-
i.a[
|
|
6642
|
+
var S, B, V = [];
|
|
6643
|
+
for (M = 0; M < d; M += 1) {
|
|
6644
|
+
for (I = _[M], I.a.sc && (e.strokeColorAnim = !0), I.a.sw && (e.strokeWidthAnim = !0), (I.a.fc || I.a.fh || I.a.fs || I.a.fb) && (e.fillColorAnim = !0), B = 0, S = I.s.b, n = 0; n < a; n += 1)
|
|
6645
|
+
x = s[n], x.anIndexes[M] = B, (S == 1 && x.val !== "" || S == 2 && x.val !== "" && x.val !== " " || S == 3 && (x.n || x.val == " " || n == a - 1) || S == 4 && (x.n || n == a - 1)) && (I.s.rn === 1 && V.push(B), B += 1);
|
|
6646
|
+
i.a[M].s.totalChars = B;
|
|
6647
6647
|
var G = -1, q;
|
|
6648
6648
|
if (I.s.rn === 1)
|
|
6649
6649
|
for (n = 0; n < a; n += 1)
|
|
6650
|
-
x = s[n], G != x.anIndexes[
|
|
6650
|
+
x = s[n], G != x.anIndexes[M] && (G = x.anIndexes[M], q = V.splice(Math.floor(Math.random() * V.length), 1)[0]), x.anIndexes[M] = q;
|
|
6651
6651
|
}
|
|
6652
6652
|
e.yOffset = e.finalLineHeight || e.finalSize * 1.2, e.ls = e.ls || 0, e.ascent = g.ascent * e.finalSize / 100;
|
|
6653
6653
|
}, TextProperty.prototype.updateDocumentData = function(e, t) {
|
|
@@ -6695,9 +6695,9 @@ var lottie$1 = { exports: {} };
|
|
|
6695
6695
|
if (C === P)
|
|
6696
6696
|
u = 0;
|
|
6697
6697
|
else {
|
|
6698
|
-
var
|
|
6698
|
+
var M = C - P;
|
|
6699
6699
|
o = t(e(0, o + 0.5 - P), C - P);
|
|
6700
|
-
var d = -
|
|
6700
|
+
var d = -M / 2 + o, g = M / 2;
|
|
6701
6701
|
u = Math.sqrt(1 - d * d / (g * g));
|
|
6702
6702
|
}
|
|
6703
6703
|
u = E(u);
|
|
@@ -6770,7 +6770,7 @@ var lottie$1 = { exports: {} };
|
|
|
6770
6770
|
}, TextAnimatorProperty.prototype.getMeasures = function(e, t) {
|
|
6771
6771
|
if (this.lettersChangedFlag = t, !(!this._mdf && !this._isFirstFrame && !t && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
|
|
6772
6772
|
this._isFirstFrame = !1;
|
|
6773
|
-
var i = this._moreOptions.alignment.v, s = this._animatorsData, n = this._textData, a = this.mHelper, o = this._renderType, f = this.renderedLetters.length, l, p, m, E, u = e.l, P, C, y,
|
|
6773
|
+
var i = this._moreOptions.alignment.v, s = this._animatorsData, n = this._textData, a = this.mHelper, o = this._renderType, f = this.renderedLetters.length, l, p, m, E, u = e.l, P, C, y, M, d, g, c, b, L, A, T, k, R, X, N;
|
|
6774
6774
|
if (this._hasMaskedPath) {
|
|
6775
6775
|
if (N = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
|
|
6776
6776
|
var j = N.v;
|
|
@@ -6783,33 +6783,33 @@ var lottie$1 = { exports: {} };
|
|
|
6783
6783
|
Y = bez.buildBezierData(j.v[m], j.v[m + 1], [j.o[m][0] - j.v[m][0], j.o[m][1] - j.v[m][1]], [j.i[m + 1][0] - j.v[m + 1][0], j.i[m + 1][1] - j.v[m + 1][1]]), P.tLength += Y.segmentLength, P.segments.push(Y), k += Y.segmentLength;
|
|
6784
6784
|
m = E, N.v.c && (Y = bez.buildBezierData(j.v[m], j.v[0], [j.o[m][0] - j.v[m][0], j.o[m][1] - j.v[m][1]], [j.i[0][0] - j.v[0][0], j.i[0][1] - j.v[0][1]]), P.tLength += Y.segmentLength, P.segments.push(Y), k += Y.segmentLength), this._pathData.pi = P;
|
|
6785
6785
|
}
|
|
6786
|
-
if (P = this._pathData.pi, C = this._pathData.f.v, c = 0, g = 1,
|
|
6787
|
-
for (P.tLength < Math.abs(C) && (C = -Math.abs(C) % P.tLength), c = A.length - 1,
|
|
6788
|
-
C +=
|
|
6789
|
-
|
|
6786
|
+
if (P = this._pathData.pi, C = this._pathData.f.v, c = 0, g = 1, M = 0, d = !0, A = P.segments, C < 0 && N.v.c)
|
|
6787
|
+
for (P.tLength < Math.abs(C) && (C = -Math.abs(C) % P.tLength), c = A.length - 1, L = A[c].points, g = L.length - 1; C < 0; )
|
|
6788
|
+
C += L[g].partialLength, g -= 1, g < 0 && (c -= 1, L = A[c].points, g = L.length - 1);
|
|
6789
|
+
L = A[c].points, b = L[g - 1], y = L[g], T = y.partialLength;
|
|
6790
6790
|
}
|
|
6791
6791
|
E = u.length, l = 0, p = 0;
|
|
6792
6792
|
var U = e.finalSize * 1.2 * 0.714, Z = !0, _, I, x, S, B;
|
|
6793
6793
|
S = s.length;
|
|
6794
|
-
var
|
|
6794
|
+
var V, G = -1, q, $, J, re = C, le = c, pe = g, ue = -1, ce, se, oe, te, K, Le, Ae, Se, ye = "", xe = this.defaultPropsArray, we;
|
|
6795
6795
|
if (e.j === 2 || e.j === 1) {
|
|
6796
|
-
var me = 0, Ce = 0, _e = e.j === 2 ? -0.5 : -1, be = 0,
|
|
6796
|
+
var me = 0, Ce = 0, _e = e.j === 2 ? -0.5 : -1, be = 0, Me = !0;
|
|
6797
6797
|
for (m = 0; m < E; m += 1)
|
|
6798
6798
|
if (u[m].n) {
|
|
6799
6799
|
for (me && (me += Ce); be < m; )
|
|
6800
6800
|
u[be].animatorJustifyOffset = me, be += 1;
|
|
6801
|
-
me = 0,
|
|
6801
|
+
me = 0, Me = !0;
|
|
6802
6802
|
} else {
|
|
6803
6803
|
for (x = 0; x < S; x += 1)
|
|
6804
|
-
_ = s[x].a, _.t.propType && (
|
|
6805
|
-
|
|
6804
|
+
_ = s[x].a, _.t.propType && (Me && e.j === 2 && (Ce += _.t.v * _e), I = s[x].s, V = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), V.length ? me += _.t.v * V[0] * _e : me += _.t.v * V * _e);
|
|
6805
|
+
Me = !1;
|
|
6806
6806
|
}
|
|
6807
6807
|
for (me && (me += Ce); be < m; )
|
|
6808
6808
|
u[be].animatorJustifyOffset = me, be += 1;
|
|
6809
6809
|
}
|
|
6810
6810
|
for (m = 0; m < E; m += 1) {
|
|
6811
6811
|
if (a.reset(), ce = 1, u[m].n)
|
|
6812
|
-
l = 0, p += e.yOffset, p += Z ? 1 : 0, C = re, Z = !1, this._hasMaskedPath && (c = le, g = pe,
|
|
6812
|
+
l = 0, p += e.yOffset, p += Z ? 1 : 0, C = re, Z = !1, this._hasMaskedPath && (c = le, g = pe, L = A[c].points, b = L[g - 1], y = L[g], T = y.partialLength, M = 0), ye = "", Se = "", Le = "", we = "", xe = this.defaultPropsArray;
|
|
6813
6813
|
else {
|
|
6814
6814
|
if (this._hasMaskedPath) {
|
|
6815
6815
|
if (ue !== u[m].line) {
|
|
@@ -6826,32 +6826,32 @@ var lottie$1 = { exports: {} };
|
|
|
6826
6826
|
G !== u[m].ind && (u[G] && (C += u[G].extra), C += u[m].an / 2, G = u[m].ind), C += i[0] * u[m].an * 5e-3;
|
|
6827
6827
|
var Pe = 0;
|
|
6828
6828
|
for (x = 0; x < S; x += 1)
|
|
6829
|
-
_ = s[x].a, _.p.propType && (I = s[x].s,
|
|
6829
|
+
_ = s[x].a, _.p.propType && (I = s[x].s, V = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), V.length ? Pe += _.p.v[0] * V[0] : Pe += _.p.v[0] * V), _.a.propType && (I = s[x].s, V = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), V.length ? Pe += _.a.v[0] * V[0] : Pe += _.a.v[0] * V);
|
|
6830
6830
|
for (d = !0, this._pathData.a.v && (C = u[0].an * 0.5 + (k - this._pathData.f.v - u[0].an * 0.5 - u[u.length - 1].an * 0.5) * G / (E - 1), C += this._pathData.f.v); d; )
|
|
6831
|
-
|
|
6831
|
+
M + T >= C + Pe || !L ? (R = (C + Pe - M) / y.partialLength, $ = b.point[0] + (y.point[0] - b.point[0]) * R, J = b.point[1] + (y.point[1] - b.point[1]) * R, a.translate(-i[0] * u[m].an * 5e-3, -(i[1] * U) * 0.01), d = !1) : L && (M += y.partialLength, g += 1, g >= L.length && (g = 0, c += 1, A[c] ? L = A[c].points : N.v.c ? (g = 0, c = 0, L = A[c].points) : (M -= y.partialLength, L = null)), L && (b = y, y = L[g], T = y.partialLength));
|
|
6832
6832
|
q = u[m].an / 2 - u[m].add, a.translate(-q, 0, 0);
|
|
6833
6833
|
} else
|
|
6834
6834
|
q = u[m].an / 2 - u[m].add, a.translate(-q, 0, 0), a.translate(-i[0] * u[m].an * 5e-3, -i[1] * U * 0.01, 0);
|
|
6835
6835
|
for (x = 0; x < S; x += 1)
|
|
6836
|
-
_ = s[x].a, _.t.propType && (I = s[x].s,
|
|
6836
|
+
_ = s[x].a, _.t.propType && (I = s[x].s, V = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), (l !== 0 || e.j !== 0) && (this._hasMaskedPath ? V.length ? C += _.t.v * V[0] : C += _.t.v * V : V.length ? l += _.t.v * V[0] : l += _.t.v * V));
|
|
6837
6837
|
for (e.strokeWidthAnim && (oe = e.sw || 0), e.strokeColorAnim && (e.sc ? se = [e.sc[0], e.sc[1], e.sc[2]] : se = [0, 0, 0]), e.fillColorAnim && e.fc && (te = [e.fc[0], e.fc[1], e.fc[2]]), x = 0; x < S; x += 1)
|
|
6838
|
-
_ = s[x].a, _.a.propType && (I = s[x].s,
|
|
6838
|
+
_ = s[x].a, _.a.propType && (I = s[x].s, V = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), V.length ? a.translate(-_.a.v[0] * V[0], -_.a.v[1] * V[1], _.a.v[2] * V[2]) : a.translate(-_.a.v[0] * V, -_.a.v[1] * V, _.a.v[2] * V));
|
|
6839
6839
|
for (x = 0; x < S; x += 1)
|
|
6840
|
-
_ = s[x].a, _.s.propType && (I = s[x].s,
|
|
6840
|
+
_ = s[x].a, _.s.propType && (I = s[x].s, V = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), V.length ? a.scale(1 + (_.s.v[0] - 1) * V[0], 1 + (_.s.v[1] - 1) * V[1], 1) : a.scale(1 + (_.s.v[0] - 1) * V, 1 + (_.s.v[1] - 1) * V, 1));
|
|
6841
6841
|
for (x = 0; x < S; x += 1) {
|
|
6842
|
-
if (_ = s[x].a, I = s[x].s,
|
|
6842
|
+
if (_ = s[x].a, I = s[x].s, V = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), _.sk.propType && (V.length ? a.skewFromAxis(-_.sk.v * V[0], _.sa.v * V[1]) : a.skewFromAxis(-_.sk.v * V, _.sa.v * V)), _.r.propType && (V.length ? a.rotateZ(-_.r.v * V[2]) : a.rotateZ(-_.r.v * V)), _.ry.propType && (V.length ? a.rotateY(_.ry.v * V[1]) : a.rotateY(_.ry.v * V)), _.rx.propType && (V.length ? a.rotateX(_.rx.v * V[0]) : a.rotateX(_.rx.v * V)), _.o.propType && (V.length ? ce += (_.o.v * V[0] - ce) * V[0] : ce += (_.o.v * V - ce) * V), e.strokeWidthAnim && _.sw.propType && (V.length ? oe += _.sw.v * V[0] : oe += _.sw.v * V), e.strokeColorAnim && _.sc.propType)
|
|
6843
6843
|
for (K = 0; K < 3; K += 1)
|
|
6844
|
-
|
|
6844
|
+
V.length ? se[K] += (_.sc.v[K] - se[K]) * V[0] : se[K] += (_.sc.v[K] - se[K]) * V;
|
|
6845
6845
|
if (e.fillColorAnim && e.fc) {
|
|
6846
6846
|
if (_.fc.propType)
|
|
6847
6847
|
for (K = 0; K < 3; K += 1)
|
|
6848
|
-
|
|
6849
|
-
_.fh.propType && (
|
|
6848
|
+
V.length ? te[K] += (_.fc.v[K] - te[K]) * V[0] : te[K] += (_.fc.v[K] - te[K]) * V;
|
|
6849
|
+
_.fh.propType && (V.length ? te = addHueToRGB(te, _.fh.v * V[0]) : te = addHueToRGB(te, _.fh.v * V)), _.fs.propType && (V.length ? te = addSaturationToRGB(te, _.fs.v * V[0]) : te = addSaturationToRGB(te, _.fs.v * V)), _.fb.propType && (V.length ? te = addBrightnessToRGB(te, _.fb.v * V[0]) : te = addBrightnessToRGB(te, _.fb.v * V));
|
|
6850
6850
|
}
|
|
6851
6851
|
}
|
|
6852
6852
|
for (x = 0; x < S; x += 1)
|
|
6853
|
-
_ = s[x].a, _.p.propType && (I = s[x].s,
|
|
6854
|
-
if (e.strokeWidthAnim && (
|
|
6853
|
+
_ = s[x].a, _.p.propType && (I = s[x].s, V = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), this._hasMaskedPath ? V.length ? a.translate(0, _.p.v[1] * V[0], -_.p.v[2] * V[1]) : a.translate(0, _.p.v[1] * V, -_.p.v[2] * V) : V.length ? a.translate(_.p.v[0] * V[0], _.p.v[1] * V[1], -_.p.v[2] * V[2]) : a.translate(_.p.v[0] * V, _.p.v[1] * V, -_.p.v[2] * V));
|
|
6854
|
+
if (e.strokeWidthAnim && (Le = oe < 0 ? 0 : oe), e.strokeColorAnim && (Ae = "rgb(" + Math.round(se[0] * 255) + "," + Math.round(se[1] * 255) + "," + Math.round(se[2] * 255) + ")"), e.fillColorAnim && e.fc && (Se = "rgb(" + Math.round(te[0] * 255) + "," + Math.round(te[1] * 255) + "," + Math.round(te[2] * 255) + ")"), this._hasMaskedPath) {
|
|
6855
6855
|
if (a.translate(0, -e.ls), a.translate(0, i[1] * U * 0.01 + p, 0), this._pathData.p.v) {
|
|
6856
6856
|
X = (y.point[1] - b.point[1]) / (y.point[0] - b.point[0]);
|
|
6857
6857
|
var Ee = Math.atan(X) * 180 / Math.PI;
|
|
@@ -6871,7 +6871,7 @@ var lottie$1 = { exports: {} };
|
|
|
6871
6871
|
}
|
|
6872
6872
|
o === "html" ? ye = a.toCSS() : o === "svg" ? ye = a.to2dCSS() : xe = [a.props[0], a.props[1], a.props[2], a.props[3], a.props[4], a.props[5], a.props[6], a.props[7], a.props[8], a.props[9], a.props[10], a.props[11], a.props[12], a.props[13], a.props[14], a.props[15]], we = ce;
|
|
6873
6873
|
}
|
|
6874
|
-
f <= m ? (B = new LetterProps(we,
|
|
6874
|
+
f <= m ? (B = new LetterProps(we, Le, Ae, Se, ye, xe), this.renderedLetters.push(B), f += 1, this.lettersChangedFlag = !0) : (B = this.renderedLetters[m], this.lettersChangedFlag = B.update(we, Le, Ae, Se, ye, xe) || this.lettersChangedFlag);
|
|
6875
6875
|
}
|
|
6876
6876
|
}
|
|
6877
6877
|
}, TextAnimatorProperty.prototype.getValue = function() {
|
|
@@ -6948,7 +6948,7 @@ var lottie$1 = { exports: {} };
|
|
|
6948
6948
|
t = o.length;
|
|
6949
6949
|
var l, p = this.mHelper, m = "", E = this.data.singleShape, u = 0, P = 0, C = !0, y = i.tr * 1e-3 * i.finalSize;
|
|
6950
6950
|
if (E && !f && !i.sz) {
|
|
6951
|
-
var
|
|
6951
|
+
var M = this.textContainer, d = "start";
|
|
6952
6952
|
switch (i.j) {
|
|
6953
6953
|
case 1:
|
|
6954
6954
|
d = "end";
|
|
@@ -6960,14 +6960,14 @@ var lottie$1 = { exports: {} };
|
|
|
6960
6960
|
d = "start";
|
|
6961
6961
|
break;
|
|
6962
6962
|
}
|
|
6963
|
-
|
|
6963
|
+
M.setAttribute("text-anchor", d), M.setAttribute("letter-spacing", y);
|
|
6964
6964
|
var g = this.buildTextContents(i.finalText);
|
|
6965
6965
|
for (t = g.length, P = i.ps ? i.ps[1] + i.ascent : 0, e = 0; e < t; e += 1)
|
|
6966
|
-
l = this.textSpans[e].span || createNS("tspan"), l.textContent = g[e], l.setAttribute("x", 0), l.setAttribute("y", P), l.style.display = "inherit",
|
|
6966
|
+
l = this.textSpans[e].span || createNS("tspan"), l.textContent = g[e], l.setAttribute("x", 0), l.setAttribute("y", P), l.style.display = "inherit", M.appendChild(l), this.textSpans[e] || (this.textSpans[e] = {
|
|
6967
6967
|
span: null,
|
|
6968
6968
|
glyph: null
|
|
6969
6969
|
}), this.textSpans[e].span = l, P += i.finalLineHeight;
|
|
6970
|
-
this.layerElement.appendChild(
|
|
6970
|
+
this.layerElement.appendChild(M);
|
|
6971
6971
|
} else {
|
|
6972
6972
|
var c = this.textSpans.length, b;
|
|
6973
6973
|
for (e = 0; e < t; e += 1) {
|
|
@@ -6978,8 +6978,8 @@ var lottie$1 = { exports: {} };
|
|
|
6978
6978
|
}), !f || !E || e === 0) {
|
|
6979
6979
|
if (l = c > e ? this.textSpans[e].span : createNS(f ? "g" : "text"), c <= e) {
|
|
6980
6980
|
if (l.setAttribute("stroke-linecap", "butt"), l.setAttribute("stroke-linejoin", "round"), l.setAttribute("stroke-miterlimit", "4"), this.textSpans[e].span = l, f) {
|
|
6981
|
-
var
|
|
6982
|
-
l.appendChild(
|
|
6981
|
+
var L = createNS("g");
|
|
6982
|
+
l.appendChild(L), this.textSpans[e].childSpan = L;
|
|
6983
6983
|
}
|
|
6984
6984
|
this.textSpans[e].span = l, this.layerElement.appendChild(l);
|
|
6985
6985
|
}
|
|
@@ -7584,9 +7584,9 @@ var lottie$1 = { exports: {} };
|
|
|
7584
7584
|
var E = l * m, u = Math.cos(p + t.a.v) * E + o[0], P = Math.sin(p + t.a.v) * E + o[1];
|
|
7585
7585
|
n = a.createRadialGradient(u, P, 0, o[0], o[1], l);
|
|
7586
7586
|
}
|
|
7587
|
-
var C, y = e.g.p,
|
|
7587
|
+
var C, y = e.g.p, M = t.g.c, d = 1;
|
|
7588
7588
|
for (C = 0; C < y; C += 1)
|
|
7589
|
-
t.g._hasOpacity && t.g._collapsable && (d = t.g.o[C * 2 + 1]), n.addColorStop(
|
|
7589
|
+
t.g._hasOpacity && t.g._collapsable && (d = t.g.o[C * 2 + 1]), n.addColorStop(M[C * 4] / 100, "rgba(" + M[C * 4 + 1] + "," + M[C * 4 + 2] + "," + M[C * 4 + 3] + "," + d + ")");
|
|
7590
7590
|
s.grd = n;
|
|
7591
7591
|
}
|
|
7592
7592
|
s.coOp = t.o.v * i.opacity;
|
|
@@ -7613,18 +7613,18 @@ var lottie$1 = { exports: {} };
|
|
|
7613
7613
|
e.sc && (i = !0, this.values.stroke = this.buildColor(e.sc), this.values.sWidth = e.sw);
|
|
7614
7614
|
var s = this.globalData.fontManager.getFontByName(e.f), n, a, o = e.l, f = this.mHelper;
|
|
7615
7615
|
this.stroke = i, this.values.fValue = e.finalSize + "px " + this.globalData.fontManager.getFontByName(e.f).fFamily, a = e.finalText.length;
|
|
7616
|
-
var l, p, m, E, u, P, C, y,
|
|
7616
|
+
var l, p, m, E, u, P, C, y, M, d, g = this.data.singleShape, c = e.tr * 1e-3 * e.finalSize, b = 0, L = 0, A = !0, T = 0;
|
|
7617
7617
|
for (n = 0; n < a; n += 1) {
|
|
7618
|
-
l = this.globalData.fontManager.getCharData(e.finalText[n], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), p = l && l.data || {}, f.reset(), g && o[n].n && (b = -c,
|
|
7618
|
+
l = this.globalData.fontManager.getCharData(e.finalText[n], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), p = l && l.data || {}, f.reset(), g && o[n].n && (b = -c, L += e.yOffset, L += A ? 1 : 0, A = !1), u = p.shapes ? p.shapes[0].it : [], C = u.length, f.scale(e.finalSize / 100, e.finalSize / 100), g && this.applyTextPropertiesToMatrix(e, f, o[n].line, b, L), M = createSizedArray(C - 1);
|
|
7619
7619
|
var k = 0;
|
|
7620
7620
|
for (P = 0; P < C; P += 1)
|
|
7621
7621
|
if (u[P].ty === "sh") {
|
|
7622
7622
|
for (E = u[P].ks.k.i.length, y = u[P].ks.k, d = [], m = 1; m < E; m += 1)
|
|
7623
7623
|
m === 1 && d.push(f.applyToX(y.v[0][0], y.v[0][1], 0), f.applyToY(y.v[0][0], y.v[0][1], 0)), d.push(f.applyToX(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToY(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToX(y.i[m][0], y.i[m][1], 0), f.applyToY(y.i[m][0], y.i[m][1], 0), f.applyToX(y.v[m][0], y.v[m][1], 0), f.applyToY(y.v[m][0], y.v[m][1], 0));
|
|
7624
|
-
d.push(f.applyToX(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToY(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToX(y.i[0][0], y.i[0][1], 0), f.applyToY(y.i[0][0], y.i[0][1], 0), f.applyToX(y.v[0][0], y.v[0][1], 0), f.applyToY(y.v[0][0], y.v[0][1], 0)),
|
|
7624
|
+
d.push(f.applyToX(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToY(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToX(y.i[0][0], y.i[0][1], 0), f.applyToY(y.i[0][0], y.i[0][1], 0), f.applyToX(y.v[0][0], y.v[0][1], 0), f.applyToY(y.v[0][0], y.v[0][1], 0)), M[k] = d, k += 1;
|
|
7625
7625
|
}
|
|
7626
|
-
g && (b += o[n].l, b += c), this.textSpans[T] ? this.textSpans[T].elem =
|
|
7627
|
-
elem:
|
|
7626
|
+
g && (b += o[n].l, b += c), this.textSpans[T] ? this.textSpans[T].elem = M : this.textSpans[T] = {
|
|
7627
|
+
elem: M
|
|
7628
7628
|
}, T += 1;
|
|
7629
7629
|
}
|
|
7630
7630
|
}, CVTextElement.prototype.renderInnerContent = function() {
|
|
@@ -8048,8 +8048,8 @@ var lottie$1 = { exports: {} };
|
|
|
8048
8048
|
var p, m, E, u = this.mHelper, P, C = "", y = 0;
|
|
8049
8049
|
for (o = 0; o < f; o += 1) {
|
|
8050
8050
|
if (this.globalData.fontManager.chars ? (this.textPaths[y] ? p = this.textPaths[y] : (p = createNS("path"), p.setAttribute("stroke-linecap", lineCapEnum[1]), p.setAttribute("stroke-linejoin", lineJoinEnum[2]), p.setAttribute("stroke-miterlimit", "4")), this.isMasked || (this.textSpans[y] ? (m = this.textSpans[y], E = m.children[0]) : (m = createTag("div"), m.style.lineHeight = 0, E = createNS("svg"), E.appendChild(p), styleDiv(m)))) : this.isMasked ? p = this.textPaths[y] ? this.textPaths[y] : createNS("text") : this.textSpans[y] ? (m = this.textSpans[y], p = this.textPaths[y]) : (m = createTag("span"), styleDiv(m), p = createTag("span"), styleDiv(p), m.appendChild(p)), this.globalData.fontManager.chars) {
|
|
8051
|
-
var
|
|
8052
|
-
if (
|
|
8051
|
+
var M = this.globalData.fontManager.getCharData(e.finalText[o], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), d;
|
|
8052
|
+
if (M ? d = M.data : d = null, u.reset(), d && d.shapes && d.shapes.length && (P = d.shapes[0].it, u.scale(e.finalSize / 100, e.finalSize / 100), C = this.createPathShape(u, P), p.setAttribute("d", C)), this.isMasked)
|
|
8053
8053
|
this.innerElem.appendChild(p);
|
|
8054
8054
|
else {
|
|
8055
8055
|
if (this.innerElem.appendChild(m), d && d.shapes) {
|
|
@@ -8066,8 +8066,8 @@ var lottie$1 = { exports: {} };
|
|
|
8066
8066
|
this.innerElem.appendChild(p);
|
|
8067
8067
|
else {
|
|
8068
8068
|
this.innerElem.appendChild(m);
|
|
8069
|
-
var
|
|
8070
|
-
|
|
8069
|
+
var L = p.style, A = "translate3d(0," + -e.finalSize / 1.2 + "px,0)";
|
|
8070
|
+
L.transform = A, L.webkitTransform = A;
|
|
8071
8071
|
}
|
|
8072
8072
|
this.isMasked ? this.textSpans[y] = p : this.textSpans[y] = m, this.textSpans[y].style.display = "block", this.textPaths[y] = p, y += 1;
|
|
8073
8073
|
}
|
|
@@ -8362,12 +8362,12 @@ var lottie$1 = { exports: {} };
|
|
|
8362
8362
|
}
|
|
8363
8363
|
function seedRandom(e, t) {
|
|
8364
8364
|
var i = this, s = 256, n = 6, a = 52, o = "random", f = t.pow(s, n), l = t.pow(2, a), p = l * 2, m = s - 1, E;
|
|
8365
|
-
function u(c, b,
|
|
8365
|
+
function u(c, b, L) {
|
|
8366
8366
|
var A = [];
|
|
8367
8367
|
b = b === !0 ? {
|
|
8368
8368
|
entropy: !0
|
|
8369
8369
|
} : b || {};
|
|
8370
|
-
var T =
|
|
8370
|
+
var T = M(y(b.entropy ? [c, g(e)] : c === null ? d() : c, 3), A), k = new P(A), R = function() {
|
|
8371
8371
|
for (var N = k.g(n), j = f, Y = 0; N < l; )
|
|
8372
8372
|
N = (N + Y) * s, j *= s, Y = k.g(1);
|
|
8373
8373
|
for (; N >= p; )
|
|
@@ -8378,7 +8378,7 @@ var lottie$1 = { exports: {} };
|
|
|
8378
8378
|
return k.g(4) | 0;
|
|
8379
8379
|
}, R.quick = function() {
|
|
8380
8380
|
return k.g(4) / 4294967296;
|
|
8381
|
-
}, R.double = R,
|
|
8381
|
+
}, R.double = R, M(g(k.S), e), (b.pass || L || function(X, N, j, Y) {
|
|
8382
8382
|
return Y && (Y.S && C(Y, k), X.state = function() {
|
|
8383
8383
|
return C(k, {});
|
|
8384
8384
|
}), j ? (t[o] = X, N) : X;
|
|
@@ -8386,11 +8386,11 @@ var lottie$1 = { exports: {} };
|
|
|
8386
8386
|
}
|
|
8387
8387
|
t["seed" + o] = u;
|
|
8388
8388
|
function P(c) {
|
|
8389
|
-
var b,
|
|
8390
|
-
for (
|
|
8389
|
+
var b, L = c.length, A = this, T = 0, k = A.i = A.j = 0, R = A.S = [];
|
|
8390
|
+
for (L || (c = [L++]); T < s; )
|
|
8391
8391
|
R[T] = T++;
|
|
8392
8392
|
for (T = 0; T < s; T++)
|
|
8393
|
-
R[T] = R[k = m & k + c[T %
|
|
8393
|
+
R[T] = R[k = m & k + c[T % L] + (b = R[T])], R[k] = b;
|
|
8394
8394
|
A.g = function(X) {
|
|
8395
8395
|
for (var N, j = 0, Y = A.i, U = A.j, Z = A.S; X--; )
|
|
8396
8396
|
N = Z[Y = m & Y + 1], j = j * s + Z[m & (Z[Y] = Z[U = m & U + N]) + (Z[U] = N)];
|
|
@@ -8401,18 +8401,18 @@ var lottie$1 = { exports: {} };
|
|
|
8401
8401
|
return b.i = c.i, b.j = c.j, b.S = c.S.slice(), b;
|
|
8402
8402
|
}
|
|
8403
8403
|
function y(c, b) {
|
|
8404
|
-
var
|
|
8404
|
+
var L = [], A = _typeof$2(c), T;
|
|
8405
8405
|
if (b && A == "object")
|
|
8406
8406
|
for (T in c)
|
|
8407
8407
|
try {
|
|
8408
|
-
|
|
8408
|
+
L.push(y(c[T], b - 1));
|
|
8409
8409
|
} catch {
|
|
8410
8410
|
}
|
|
8411
|
-
return
|
|
8411
|
+
return L.length ? L : A == "string" ? c : c + "\0";
|
|
8412
8412
|
}
|
|
8413
|
-
function
|
|
8414
|
-
for (var
|
|
8415
|
-
b[m & T] = m & (A ^= b[m & T] * 19) +
|
|
8413
|
+
function M(c, b) {
|
|
8414
|
+
for (var L = c + "", A, T = 0; T < L.length; )
|
|
8415
|
+
b[m & T] = m & (A ^= b[m & T] * 19) + L.charCodeAt(T++);
|
|
8416
8416
|
return g(b);
|
|
8417
8417
|
}
|
|
8418
8418
|
function d() {
|
|
@@ -8420,14 +8420,14 @@ var lottie$1 = { exports: {} };
|
|
|
8420
8420
|
var c = new Uint8Array(s);
|
|
8421
8421
|
return (i.crypto || i.msCrypto).getRandomValues(c), g(c);
|
|
8422
8422
|
} catch {
|
|
8423
|
-
var b = i.navigator,
|
|
8424
|
-
return [+/* @__PURE__ */ new Date(), i,
|
|
8423
|
+
var b = i.navigator, L = b && b.plugins;
|
|
8424
|
+
return [+/* @__PURE__ */ new Date(), i, L, i.screen, g(e)];
|
|
8425
8425
|
}
|
|
8426
8426
|
}
|
|
8427
8427
|
function g(c) {
|
|
8428
8428
|
return String.fromCharCode.apply(0, c);
|
|
8429
8429
|
}
|
|
8430
|
-
|
|
8430
|
+
M(t.random(), e);
|
|
8431
8431
|
}
|
|
8432
8432
|
function initialize$2(e) {
|
|
8433
8433
|
seedRandom([], e);
|
|
@@ -9097,7 +9097,7 @@ var lottie$1 = { exports: {} };
|
|
|
9097
9097
|
}
|
|
9098
9098
|
function i(n, a, o, f) {
|
|
9099
9099
|
function l(P) {
|
|
9100
|
-
for (var C = n.ef, y = 0,
|
|
9100
|
+
for (var C = n.ef, y = 0, M = C.length; y < M; ) {
|
|
9101
9101
|
if (P === C[y].nm || P === C[y].mn || P === C[y].ix)
|
|
9102
9102
|
return C[y].ty === 5 ? m[y] : m[y]();
|
|
9103
9103
|
y += 1;
|
|
@@ -9169,28 +9169,28 @@ var lottie$1 = { exports: {} };
|
|
|
9169
9169
|
}), a;
|
|
9170
9170
|
};
|
|
9171
9171
|
}(), ShapeExpressionInterface = /* @__PURE__ */ function() {
|
|
9172
|
-
function e(C, y,
|
|
9172
|
+
function e(C, y, M) {
|
|
9173
9173
|
var d = [], g, c = C ? C.length : 0;
|
|
9174
9174
|
for (g = 0; g < c; g += 1)
|
|
9175
|
-
C[g].ty === "gr" ? d.push(i(C[g], y[g],
|
|
9175
|
+
C[g].ty === "gr" ? d.push(i(C[g], y[g], M)) : C[g].ty === "fl" ? d.push(s(C[g], y[g], M)) : C[g].ty === "st" ? d.push(o(C[g], y[g], M)) : C[g].ty === "tm" ? d.push(f(C[g], y[g], M)) : C[g].ty === "tr" || (C[g].ty === "el" ? d.push(p(C[g], y[g], M)) : C[g].ty === "sr" ? d.push(m(C[g], y[g], M)) : C[g].ty === "sh" ? d.push(ShapePathInterface(C[g], y[g], M)) : C[g].ty === "rc" ? d.push(E(C[g], y[g], M)) : C[g].ty === "rd" ? d.push(u(C[g], y[g], M)) : C[g].ty === "rp" ? d.push(P(C[g], y[g], M)) : C[g].ty === "gf" ? d.push(n(C[g], y[g], M)) : d.push(a(C[g], y[g])));
|
|
9176
9176
|
return d;
|
|
9177
9177
|
}
|
|
9178
|
-
function t(C, y,
|
|
9179
|
-
var d, g = function(
|
|
9178
|
+
function t(C, y, M) {
|
|
9179
|
+
var d, g = function(L) {
|
|
9180
9180
|
for (var A = 0, T = d.length; A < T; ) {
|
|
9181
|
-
if (d[A]._name ===
|
|
9181
|
+
if (d[A]._name === L || d[A].mn === L || d[A].propertyIndex === L || d[A].ix === L || d[A].ind === L)
|
|
9182
9182
|
return d[A];
|
|
9183
9183
|
A += 1;
|
|
9184
9184
|
}
|
|
9185
|
-
return typeof
|
|
9185
|
+
return typeof L == "number" ? d[L - 1] : null;
|
|
9186
9186
|
};
|
|
9187
|
-
g.propertyGroup = propertyGroupFactory(g,
|
|
9187
|
+
g.propertyGroup = propertyGroupFactory(g, M), d = e(C.it, y.it, g.propertyGroup), g.numProperties = d.length;
|
|
9188
9188
|
var c = l(C.it[C.it.length - 1], y.it[y.it.length - 1], g.propertyGroup);
|
|
9189
9189
|
return g.transform = c, g.propertyIndex = C.cix, g._name = C.nm, g;
|
|
9190
9190
|
}
|
|
9191
|
-
function i(C, y,
|
|
9192
|
-
var d = function(
|
|
9193
|
-
switch (
|
|
9191
|
+
function i(C, y, M) {
|
|
9192
|
+
var d = function(L) {
|
|
9193
|
+
switch (L) {
|
|
9194
9194
|
case "ADBE Vectors Group":
|
|
9195
9195
|
case "Contents":
|
|
9196
9196
|
case 2:
|
|
@@ -9199,7 +9199,7 @@ var lottie$1 = { exports: {} };
|
|
|
9199
9199
|
return d.transform;
|
|
9200
9200
|
}
|
|
9201
9201
|
};
|
|
9202
|
-
d.propertyGroup = propertyGroupFactory(d,
|
|
9202
|
+
d.propertyGroup = propertyGroupFactory(d, M);
|
|
9203
9203
|
var g = t(C, y, d.propertyGroup), c = l(C.it[C.it.length - 1], y.it[y.it.length - 1], d.propertyGroup);
|
|
9204
9204
|
return d.content = g, d.transform = c, Object.defineProperty(d, "_name", {
|
|
9205
9205
|
get: function() {
|
|
@@ -9207,7 +9207,7 @@ var lottie$1 = { exports: {} };
|
|
|
9207
9207
|
}
|
|
9208
9208
|
}), d.numProperties = C.np, d.propertyIndex = C.ix, d.nm = C.nm, d.mn = C.mn, d;
|
|
9209
9209
|
}
|
|
9210
|
-
function s(C, y,
|
|
9210
|
+
function s(C, y, M) {
|
|
9211
9211
|
function d(g) {
|
|
9212
9212
|
return g === "Color" || g === "color" ? d.color : g === "Opacity" || g === "opacity" ? d.opacity : null;
|
|
9213
9213
|
}
|
|
@@ -9224,9 +9224,9 @@ var lottie$1 = { exports: {} };
|
|
|
9224
9224
|
mn: {
|
|
9225
9225
|
value: C.mn
|
|
9226
9226
|
}
|
|
9227
|
-
}), y.c.setGroupProperty(PropertyInterface("Color",
|
|
9227
|
+
}), y.c.setGroupProperty(PropertyInterface("Color", M)), y.o.setGroupProperty(PropertyInterface("Opacity", M)), d;
|
|
9228
9228
|
}
|
|
9229
|
-
function n(C, y,
|
|
9229
|
+
function n(C, y, M) {
|
|
9230
9230
|
function d(g) {
|
|
9231
9231
|
return g === "Start Point" || g === "start point" ? d.startPoint : g === "End Point" || g === "end point" ? d.endPoint : g === "Opacity" || g === "opacity" ? d.opacity : null;
|
|
9232
9232
|
}
|
|
@@ -9251,7 +9251,7 @@ var lottie$1 = { exports: {} };
|
|
|
9251
9251
|
mn: {
|
|
9252
9252
|
value: C.mn
|
|
9253
9253
|
}
|
|
9254
|
-
}), y.s.setGroupProperty(PropertyInterface("Start Point",
|
|
9254
|
+
}), y.s.setGroupProperty(PropertyInterface("Start Point", M)), y.e.setGroupProperty(PropertyInterface("End Point", M)), y.o.setGroupProperty(PropertyInterface("Opacity", M)), d;
|
|
9255
9255
|
}
|
|
9256
9256
|
function a() {
|
|
9257
9257
|
function C() {
|
|
@@ -9259,15 +9259,15 @@ var lottie$1 = { exports: {} };
|
|
|
9259
9259
|
}
|
|
9260
9260
|
return C;
|
|
9261
9261
|
}
|
|
9262
|
-
function o(C, y,
|
|
9263
|
-
var d = propertyGroupFactory(T,
|
|
9262
|
+
function o(C, y, M) {
|
|
9263
|
+
var d = propertyGroupFactory(T, M), g = propertyGroupFactory(A, d);
|
|
9264
9264
|
function c(k) {
|
|
9265
9265
|
Object.defineProperty(A, C.d[k].nm, {
|
|
9266
9266
|
get: ExpressionPropertyInterface(y.d.dataProps[k].p)
|
|
9267
9267
|
});
|
|
9268
9268
|
}
|
|
9269
|
-
var b,
|
|
9270
|
-
for (b = 0; b <
|
|
9269
|
+
var b, L = C.d ? C.d.length : 0, A = {};
|
|
9270
|
+
for (b = 0; b < L; b += 1)
|
|
9271
9271
|
c(b), y.d.dataProps[b].p.setGroupProperty(g);
|
|
9272
9272
|
function T(k) {
|
|
9273
9273
|
return k === "Color" || k === "color" ? T.color : k === "Opacity" || k === "opacity" ? T.opacity : k === "Stroke Width" || k === "stroke width" ? T.strokeWidth : null;
|
|
@@ -9295,12 +9295,12 @@ var lottie$1 = { exports: {} };
|
|
|
9295
9295
|
}
|
|
9296
9296
|
}), y.c.setGroupProperty(PropertyInterface("Color", d)), y.o.setGroupProperty(PropertyInterface("Opacity", d)), y.w.setGroupProperty(PropertyInterface("Stroke Width", d)), T;
|
|
9297
9297
|
}
|
|
9298
|
-
function f(C, y,
|
|
9298
|
+
function f(C, y, M) {
|
|
9299
9299
|
function d(c) {
|
|
9300
9300
|
return c === C.e.ix || c === "End" || c === "end" ? d.end : c === C.s.ix ? d.start : c === C.o.ix ? d.offset : null;
|
|
9301
9301
|
}
|
|
9302
|
-
var g = propertyGroupFactory(d,
|
|
9303
|
-
return d.propertyIndex = C.ix, y.s.setGroupProperty(PropertyInterface("Start", g)), y.e.setGroupProperty(PropertyInterface("End", g)), y.o.setGroupProperty(PropertyInterface("Offset", g)), d.propertyIndex = C.ix, d.propertyGroup =
|
|
9302
|
+
var g = propertyGroupFactory(d, M);
|
|
9303
|
+
return d.propertyIndex = C.ix, y.s.setGroupProperty(PropertyInterface("Start", g)), y.e.setGroupProperty(PropertyInterface("End", g)), y.o.setGroupProperty(PropertyInterface("Offset", g)), d.propertyIndex = C.ix, d.propertyGroup = M, Object.defineProperties(d, {
|
|
9304
9304
|
start: {
|
|
9305
9305
|
get: ExpressionPropertyInterface(y.s)
|
|
9306
9306
|
},
|
|
@@ -9315,11 +9315,11 @@ var lottie$1 = { exports: {} };
|
|
|
9315
9315
|
}
|
|
9316
9316
|
}), d.mn = C.mn, d;
|
|
9317
9317
|
}
|
|
9318
|
-
function l(C, y,
|
|
9318
|
+
function l(C, y, M) {
|
|
9319
9319
|
function d(c) {
|
|
9320
9320
|
return C.a.ix === c || c === "Anchor Point" ? d.anchorPoint : C.o.ix === c || c === "Opacity" ? d.opacity : C.p.ix === c || c === "Position" ? d.position : C.r.ix === c || c === "Rotation" || c === "ADBE Vector Rotation" ? d.rotation : C.s.ix === c || c === "Scale" ? d.scale : C.sk && C.sk.ix === c || c === "Skew" ? d.skew : C.sa && C.sa.ix === c || c === "Skew Axis" ? d.skewAxis : null;
|
|
9321
9321
|
}
|
|
9322
|
-
var g = propertyGroupFactory(d,
|
|
9322
|
+
var g = propertyGroupFactory(d, M);
|
|
9323
9323
|
return y.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity", g)), y.transform.mProps.p.setGroupProperty(PropertyInterface("Position", g)), y.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point", g)), y.transform.mProps.s.setGroupProperty(PropertyInterface("Scale", g)), y.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation", g)), y.transform.mProps.sk && (y.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew", g)), y.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle", g))), y.transform.op.setGroupProperty(PropertyInterface("Opacity", g)), Object.defineProperties(d, {
|
|
9324
9324
|
opacity: {
|
|
9325
9325
|
get: ExpressionPropertyInterface(y.transform.mProps.o)
|
|
@@ -9345,13 +9345,13 @@ var lottie$1 = { exports: {} };
|
|
|
9345
9345
|
_name: {
|
|
9346
9346
|
value: C.nm
|
|
9347
9347
|
}
|
|
9348
|
-
}), d.ty = "tr", d.mn = C.mn, d.propertyGroup =
|
|
9348
|
+
}), d.ty = "tr", d.mn = C.mn, d.propertyGroup = M, d;
|
|
9349
9349
|
}
|
|
9350
|
-
function p(C, y,
|
|
9350
|
+
function p(C, y, M) {
|
|
9351
9351
|
function d(b) {
|
|
9352
9352
|
return C.p.ix === b ? d.position : C.s.ix === b ? d.size : null;
|
|
9353
9353
|
}
|
|
9354
|
-
var g = propertyGroupFactory(d,
|
|
9354
|
+
var g = propertyGroupFactory(d, M);
|
|
9355
9355
|
d.propertyIndex = C.ix;
|
|
9356
9356
|
var c = y.sh.ty === "tm" ? y.sh.prop : y.sh;
|
|
9357
9357
|
return c.s.setGroupProperty(PropertyInterface("Size", g)), c.p.setGroupProperty(PropertyInterface("Position", g)), Object.defineProperties(d, {
|
|
@@ -9366,11 +9366,11 @@ var lottie$1 = { exports: {} };
|
|
|
9366
9366
|
}
|
|
9367
9367
|
}), d.mn = C.mn, d;
|
|
9368
9368
|
}
|
|
9369
|
-
function m(C, y,
|
|
9369
|
+
function m(C, y, M) {
|
|
9370
9370
|
function d(b) {
|
|
9371
9371
|
return C.p.ix === b ? d.position : C.r.ix === b ? d.rotation : C.pt.ix === b ? d.points : C.or.ix === b || b === "ADBE Vector Star Outer Radius" ? d.outerRadius : C.os.ix === b ? d.outerRoundness : C.ir && (C.ir.ix === b || b === "ADBE Vector Star Inner Radius") ? d.innerRadius : C.is && C.is.ix === b ? d.innerRoundness : null;
|
|
9372
9372
|
}
|
|
9373
|
-
var g = propertyGroupFactory(d,
|
|
9373
|
+
var g = propertyGroupFactory(d, M), c = y.sh.ty === "tm" ? y.sh.prop : y.sh;
|
|
9374
9374
|
return d.propertyIndex = C.ix, c.or.setGroupProperty(PropertyInterface("Outer Radius", g)), c.os.setGroupProperty(PropertyInterface("Outer Roundness", g)), c.pt.setGroupProperty(PropertyInterface("Points", g)), c.p.setGroupProperty(PropertyInterface("Position", g)), c.r.setGroupProperty(PropertyInterface("Rotation", g)), C.ir && (c.ir.setGroupProperty(PropertyInterface("Inner Radius", g)), c.is.setGroupProperty(PropertyInterface("Inner Roundness", g))), Object.defineProperties(d, {
|
|
9375
9375
|
position: {
|
|
9376
9376
|
get: ExpressionPropertyInterface(c.p)
|
|
@@ -9398,11 +9398,11 @@ var lottie$1 = { exports: {} };
|
|
|
9398
9398
|
}
|
|
9399
9399
|
}), d.mn = C.mn, d;
|
|
9400
9400
|
}
|
|
9401
|
-
function E(C, y,
|
|
9401
|
+
function E(C, y, M) {
|
|
9402
9402
|
function d(b) {
|
|
9403
9403
|
return C.p.ix === b ? d.position : C.r.ix === b ? d.roundness : C.s.ix === b || b === "Size" || b === "ADBE Vector Rect Size" ? d.size : null;
|
|
9404
9404
|
}
|
|
9405
|
-
var g = propertyGroupFactory(d,
|
|
9405
|
+
var g = propertyGroupFactory(d, M), c = y.sh.ty === "tm" ? y.sh.prop : y.sh;
|
|
9406
9406
|
return d.propertyIndex = C.ix, c.p.setGroupProperty(PropertyInterface("Position", g)), c.s.setGroupProperty(PropertyInterface("Size", g)), c.r.setGroupProperty(PropertyInterface("Rotation", g)), Object.defineProperties(d, {
|
|
9407
9407
|
position: {
|
|
9408
9408
|
get: ExpressionPropertyInterface(c.p)
|
|
@@ -9418,11 +9418,11 @@ var lottie$1 = { exports: {} };
|
|
|
9418
9418
|
}
|
|
9419
9419
|
}), d.mn = C.mn, d;
|
|
9420
9420
|
}
|
|
9421
|
-
function u(C, y,
|
|
9421
|
+
function u(C, y, M) {
|
|
9422
9422
|
function d(b) {
|
|
9423
9423
|
return C.r.ix === b || b === "Round Corners 1" ? d.radius : null;
|
|
9424
9424
|
}
|
|
9425
|
-
var g = propertyGroupFactory(d,
|
|
9425
|
+
var g = propertyGroupFactory(d, M), c = y;
|
|
9426
9426
|
return d.propertyIndex = C.ix, c.rd.setGroupProperty(PropertyInterface("Radius", g)), Object.defineProperties(d, {
|
|
9427
9427
|
radius: {
|
|
9428
9428
|
get: ExpressionPropertyInterface(c.rd)
|
|
@@ -9432,11 +9432,11 @@ var lottie$1 = { exports: {} };
|
|
|
9432
9432
|
}
|
|
9433
9433
|
}), d.mn = C.mn, d;
|
|
9434
9434
|
}
|
|
9435
|
-
function P(C, y,
|
|
9435
|
+
function P(C, y, M) {
|
|
9436
9436
|
function d(b) {
|
|
9437
9437
|
return C.c.ix === b || b === "Copies" ? d.copies : C.o.ix === b || b === "Offset" ? d.offset : null;
|
|
9438
9438
|
}
|
|
9439
|
-
var g = propertyGroupFactory(d,
|
|
9439
|
+
var g = propertyGroupFactory(d, M), c = y;
|
|
9440
9440
|
return d.propertyIndex = C.ix, c.c.setGroupProperty(PropertyInterface("Copies", g)), c.o.setGroupProperty(PropertyInterface("Offset", g)), Object.defineProperties(d, {
|
|
9441
9441
|
copies: {
|
|
9442
9442
|
get: ExpressionPropertyInterface(c.c)
|
|
@@ -9449,20 +9449,20 @@ var lottie$1 = { exports: {} };
|
|
|
9449
9449
|
}
|
|
9450
9450
|
}), d.mn = C.mn, d;
|
|
9451
9451
|
}
|
|
9452
|
-
return function(C, y,
|
|
9452
|
+
return function(C, y, M) {
|
|
9453
9453
|
var d;
|
|
9454
9454
|
function g(b) {
|
|
9455
9455
|
if (typeof b == "number")
|
|
9456
|
-
return b = b === void 0 ? 1 : b, b === 0 ?
|
|
9457
|
-
for (var
|
|
9458
|
-
if (d[
|
|
9459
|
-
return d[
|
|
9460
|
-
|
|
9456
|
+
return b = b === void 0 ? 1 : b, b === 0 ? M : d[b - 1];
|
|
9457
|
+
for (var L = 0, A = d.length; L < A; ) {
|
|
9458
|
+
if (d[L]._name === b)
|
|
9459
|
+
return d[L];
|
|
9460
|
+
L += 1;
|
|
9461
9461
|
}
|
|
9462
9462
|
return null;
|
|
9463
9463
|
}
|
|
9464
9464
|
function c() {
|
|
9465
|
-
return
|
|
9465
|
+
return M;
|
|
9466
9466
|
}
|
|
9467
9467
|
return g.propertyGroup = propertyGroupFactory(g, c), d = e(C, y, g.propertyGroup), g.numProperties = d.length, g._name = "Contents", g;
|
|
9468
9468
|
};
|
|
@@ -9591,12 +9591,12 @@ var lottie$1 = { exports: {} };
|
|
|
9591
9591
|
if (!this.k || !this.keyframes)
|
|
9592
9592
|
return this.pv;
|
|
9593
9593
|
u = u ? u.toLowerCase() : "";
|
|
9594
|
-
var y = this.comp.renderedFrame,
|
|
9594
|
+
var y = this.comp.renderedFrame, M = this.keyframes, d = M[M.length - 1].t;
|
|
9595
9595
|
if (y <= d)
|
|
9596
9596
|
return this.pv;
|
|
9597
9597
|
var g, c;
|
|
9598
|
-
C ? (P ? g = Math.abs(d - this.elem.comp.globalData.frameRate * P) : g = Math.max(0, d - this.elem.data.ip), c = d - g) : ((!P || P >
|
|
9599
|
-
var b,
|
|
9598
|
+
C ? (P ? g = Math.abs(d - this.elem.comp.globalData.frameRate * P) : g = Math.max(0, d - this.elem.data.ip), c = d - g) : ((!P || P > M.length - 1) && (P = M.length - 1), c = M[M.length - 1 - P].t, g = d - c);
|
|
9599
|
+
var b, L, A;
|
|
9600
9600
|
if (u === "pingpong") {
|
|
9601
9601
|
var T = Math.floor((y - c) / g);
|
|
9602
9602
|
if (T % 2 !== 0)
|
|
@@ -9604,7 +9604,7 @@ var lottie$1 = { exports: {} };
|
|
|
9604
9604
|
} else if (u === "offset") {
|
|
9605
9605
|
var k = this.getValueAtTime(c / this.comp.globalData.frameRate, 0), R = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), X = this.getValueAtTime(((y - c) % g + c) / this.comp.globalData.frameRate, 0), N = Math.floor((y - c) / g);
|
|
9606
9606
|
if (this.pv.length) {
|
|
9607
|
-
for (A = new Array(k.length),
|
|
9607
|
+
for (A = new Array(k.length), L = A.length, b = 0; b < L; b += 1)
|
|
9608
9608
|
A[b] = (R[b] - k[b]) * N + X[b];
|
|
9609
9609
|
return A;
|
|
9610
9610
|
}
|
|
@@ -9612,7 +9612,7 @@ var lottie$1 = { exports: {} };
|
|
|
9612
9612
|
} else if (u === "continue") {
|
|
9613
9613
|
var j = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), Y = this.getValueAtTime((d - 1e-3) / this.comp.globalData.frameRate, 0);
|
|
9614
9614
|
if (this.pv.length) {
|
|
9615
|
-
for (A = new Array(j.length),
|
|
9615
|
+
for (A = new Array(j.length), L = A.length, b = 0; b < L; b += 1)
|
|
9616
9616
|
A[b] = j[b] + (j[b] - Y[b]) * ((y - d) / this.comp.globalData.frameRate) / 5e-4;
|
|
9617
9617
|
return A;
|
|
9618
9618
|
}
|
|
@@ -9624,12 +9624,12 @@ var lottie$1 = { exports: {} };
|
|
|
9624
9624
|
if (!this.k)
|
|
9625
9625
|
return this.pv;
|
|
9626
9626
|
u = u ? u.toLowerCase() : "";
|
|
9627
|
-
var y = this.comp.renderedFrame,
|
|
9627
|
+
var y = this.comp.renderedFrame, M = this.keyframes, d = M[0].t;
|
|
9628
9628
|
if (y >= d)
|
|
9629
9629
|
return this.pv;
|
|
9630
9630
|
var g, c;
|
|
9631
|
-
C ? (P ? g = Math.abs(this.elem.comp.globalData.frameRate * P) : g = Math.max(0, this.elem.data.op - d), c = d + g) : ((!P || P >
|
|
9632
|
-
var b,
|
|
9631
|
+
C ? (P ? g = Math.abs(this.elem.comp.globalData.frameRate * P) : g = Math.max(0, this.elem.data.op - d), c = d + g) : ((!P || P > M.length - 1) && (P = M.length - 1), c = M[P].t, g = c - d);
|
|
9632
|
+
var b, L, A;
|
|
9633
9633
|
if (u === "pingpong") {
|
|
9634
9634
|
var T = Math.floor((d - y) / g);
|
|
9635
9635
|
if (T % 2 === 0)
|
|
@@ -9637,7 +9637,7 @@ var lottie$1 = { exports: {} };
|
|
|
9637
9637
|
} else if (u === "offset") {
|
|
9638
9638
|
var k = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), R = this.getValueAtTime(c / this.comp.globalData.frameRate, 0), X = this.getValueAtTime((g - (d - y) % g + d) / this.comp.globalData.frameRate, 0), N = Math.floor((d - y) / g) + 1;
|
|
9639
9639
|
if (this.pv.length) {
|
|
9640
|
-
for (A = new Array(k.length),
|
|
9640
|
+
for (A = new Array(k.length), L = A.length, b = 0; b < L; b += 1)
|
|
9641
9641
|
A[b] = X[b] - (R[b] - k[b]) * N;
|
|
9642
9642
|
return A;
|
|
9643
9643
|
}
|
|
@@ -9645,7 +9645,7 @@ var lottie$1 = { exports: {} };
|
|
|
9645
9645
|
} else if (u === "continue") {
|
|
9646
9646
|
var j = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), Y = this.getValueAtTime((d + 1e-3) / this.comp.globalData.frameRate, 0);
|
|
9647
9647
|
if (this.pv.length) {
|
|
9648
|
-
for (A = new Array(j.length),
|
|
9648
|
+
for (A = new Array(j.length), L = A.length, b = 0; b < L; b += 1)
|
|
9649
9649
|
A[b] = j[b] + (j[b] - Y[b]) * (d - y) / 1e-3;
|
|
9650
9650
|
return A;
|
|
9651
9651
|
}
|
|
@@ -9658,14 +9658,14 @@ var lottie$1 = { exports: {} };
|
|
|
9658
9658
|
return this.pv;
|
|
9659
9659
|
if (u = (u || 0.4) * 0.5, P = Math.floor(P || 5), P <= 1)
|
|
9660
9660
|
return this.pv;
|
|
9661
|
-
var C = this.comp.renderedFrame / this.comp.globalData.frameRate, y = C - u,
|
|
9661
|
+
var C = this.comp.renderedFrame / this.comp.globalData.frameRate, y = C - u, M = C + u, d = P > 1 ? (M - y) / (P - 1) : 1, g = 0, c = 0, b;
|
|
9662
9662
|
this.pv.length ? b = createTypedArray("float32", this.pv.length) : b = 0;
|
|
9663
|
-
for (var
|
|
9664
|
-
if (
|
|
9663
|
+
for (var L; g < P; ) {
|
|
9664
|
+
if (L = this.getValueAtTime(y + g * d), this.pv.length)
|
|
9665
9665
|
for (c = 0; c < this.pv.length; c += 1)
|
|
9666
|
-
b[c] +=
|
|
9666
|
+
b[c] += L[c];
|
|
9667
9667
|
else
|
|
9668
|
-
b +=
|
|
9668
|
+
b += L;
|
|
9669
9669
|
g += 1;
|
|
9670
9670
|
}
|
|
9671
9671
|
if (this.pv.length)
|
|
@@ -9689,15 +9689,15 @@ var lottie$1 = { exports: {} };
|
|
|
9689
9689
|
P.scale(y[0] * this.s.mult, y[1] * this.s.mult, y[2] * this.s.mult);
|
|
9690
9690
|
}
|
|
9691
9691
|
if (this.sk && this.appliedTransformations < 3) {
|
|
9692
|
-
var
|
|
9693
|
-
P.skewFromAxis(-
|
|
9692
|
+
var M = this.sk.getValueAtTime(u), d = this.sa.getValueAtTime(u);
|
|
9693
|
+
P.skewFromAxis(-M * this.sk.mult, d * this.sa.mult);
|
|
9694
9694
|
}
|
|
9695
9695
|
if (this.r && this.appliedTransformations < 4) {
|
|
9696
9696
|
var g = this.r.getValueAtTime(u);
|
|
9697
9697
|
P.rotate(-g * this.r.mult);
|
|
9698
9698
|
} else if (!this.r && this.appliedTransformations < 4) {
|
|
9699
|
-
var c = this.rz.getValueAtTime(u), b = this.ry.getValueAtTime(u),
|
|
9700
|
-
P.rotateZ(-c * this.rz.mult).rotateY(b * this.ry.mult).rotateX(
|
|
9699
|
+
var c = this.rz.getValueAtTime(u), b = this.ry.getValueAtTime(u), L = this.rx.getValueAtTime(u), A = this.or.getValueAtTime(u);
|
|
9700
|
+
P.rotateZ(-c * this.rz.mult).rotateY(b * this.ry.mult).rotateX(L * this.rx.mult).rotateZ(-A[2] * this.or.mult).rotateY(A[1] * this.or.mult).rotateX(A[0] * this.or.mult);
|
|
9701
9701
|
}
|
|
9702
9702
|
if (this.data.p && this.data.p.s) {
|
|
9703
9703
|
var T = this.px.getValueAtTime(u), k = this.py.getValueAtTime(u);
|
|
@@ -9721,15 +9721,15 @@ var lottie$1 = { exports: {} };
|
|
|
9721
9721
|
return y.dynamicProperties.length ? y.getValueAtTime = s.bind(y) : y.getValueAtTime = n.bind(y), y.setGroupProperty = expressionHelpers.setGroupProperty, y;
|
|
9722
9722
|
};
|
|
9723
9723
|
var o = PropertyFactory.getProp;
|
|
9724
|
-
PropertyFactory.getProp = function(u, P, C, y,
|
|
9725
|
-
var d = o(u, P, C, y,
|
|
9724
|
+
PropertyFactory.getProp = function(u, P, C, y, M) {
|
|
9725
|
+
var d = o(u, P, C, y, M);
|
|
9726
9726
|
d.kf ? d.getValueAtTime = expressionHelpers.getValueAtTime.bind(d) : d.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(d), d.setGroupProperty = expressionHelpers.setGroupProperty, d.loopOut = e, d.loopIn = t, d.smooth = i, d.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(d), d.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(d), d.numKeys = P.a === 1 ? P.k.length : 0, d.propertyIndex = P.ix;
|
|
9727
9727
|
var g = 0;
|
|
9728
9728
|
return C !== 0 && (g = createTypedArray("float32", P.a === 1 ? P.k[0].s.length : P.k.length)), d._cachingAtTime = {
|
|
9729
9729
|
lastFrame: initialDefaultFrame,
|
|
9730
9730
|
lastIndex: 0,
|
|
9731
9731
|
value: g
|
|
9732
|
-
}, expressionHelpers.searchExpressions(u, P, d), d.k &&
|
|
9732
|
+
}, expressionHelpers.searchExpressions(u, P, d), d.k && M.addDynamicProperty(d), d;
|
|
9733
9733
|
};
|
|
9734
9734
|
function f(u) {
|
|
9735
9735
|
return this._cachingAtTime || (this._cachingAtTime = {
|
|
@@ -9746,9 +9746,9 @@ var lottie$1 = { exports: {} };
|
|
|
9746
9746
|
this.k && this.getValue();
|
|
9747
9747
|
var y = this.v;
|
|
9748
9748
|
C !== void 0 && (y = this.getValueAtTime(C, 0));
|
|
9749
|
-
var
|
|
9750
|
-
for (
|
|
9751
|
-
P === "i" || P === "o" ? b[
|
|
9749
|
+
var M, d = y._length, g = y[P], c = y.v, b = createSizedArray(d);
|
|
9750
|
+
for (M = 0; M < d; M += 1)
|
|
9751
|
+
P === "i" || P === "o" ? b[M] = [g[M][0] - c[M][0], g[M][1] - c[M][1]] : b[M] = [g[M][0], g[M][1]];
|
|
9752
9752
|
return b;
|
|
9753
9753
|
},
|
|
9754
9754
|
points: function(P) {
|
|
@@ -9766,24 +9766,24 @@ var lottie$1 = { exports: {} };
|
|
|
9766
9766
|
pointOnPath: function(P, C) {
|
|
9767
9767
|
var y = this.v;
|
|
9768
9768
|
C !== void 0 && (y = this.getValueAtTime(C, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(y));
|
|
9769
|
-
for (var
|
|
9770
|
-
if (
|
|
9771
|
-
var T = c, k = y.c && c === b - 1 ? 0 : c + 1, R = (g -
|
|
9769
|
+
for (var M = this._segmentsLength, d = M.lengths, g = M.totalLength * P, c = 0, b = d.length, L = 0, A; c < b; ) {
|
|
9770
|
+
if (L + d[c].addedLength > g) {
|
|
9771
|
+
var T = c, k = y.c && c === b - 1 ? 0 : c + 1, R = (g - L) / d[c].addedLength;
|
|
9772
9772
|
A = bez.getPointInSegment(y.v[T], y.v[k], y.o[T], y.i[k], R, d[c]);
|
|
9773
9773
|
break;
|
|
9774
9774
|
} else
|
|
9775
|
-
|
|
9775
|
+
L += d[c].addedLength;
|
|
9776
9776
|
c += 1;
|
|
9777
9777
|
}
|
|
9778
9778
|
return A || (A = y.c ? [y.v[0][0], y.v[0][1]] : [y.v[y._length - 1][0], y.v[y._length - 1][1]]), A;
|
|
9779
9779
|
},
|
|
9780
9780
|
vectorOnPath: function(P, C, y) {
|
|
9781
9781
|
P == 1 ? P = this.v.c : P == 0 && (P = 0.999);
|
|
9782
|
-
var
|
|
9782
|
+
var M = this.pointOnPath(P, C), d = this.pointOnPath(P + 1e-3, C), g = d[0] - M[0], c = d[1] - M[1], b = Math.sqrt(Math.pow(g, 2) + Math.pow(c, 2));
|
|
9783
9783
|
if (b === 0)
|
|
9784
9784
|
return [0, 0];
|
|
9785
|
-
var
|
|
9786
|
-
return
|
|
9785
|
+
var L = y === "tangent" ? [g / b, c / b] : [-c / b, g / b];
|
|
9786
|
+
return L;
|
|
9787
9787
|
},
|
|
9788
9788
|
tangentOnPath: function(P, C) {
|
|
9789
9789
|
return this.vectorOnPath(P, C, "tangent");
|
|
@@ -9795,8 +9795,8 @@ var lottie$1 = { exports: {} };
|
|
|
9795
9795
|
getValueAtTime: expressionHelpers.getStaticValueAtTime
|
|
9796
9796
|
}, extendPrototype([m], l), extendPrototype([m], p), p.prototype.getValueAtTime = f, p.prototype.initiateExpression = ExpressionManager.initiateExpression;
|
|
9797
9797
|
var E = ShapePropertyFactory.getShapeProp;
|
|
9798
|
-
ShapePropertyFactory.getShapeProp = function(u, P, C, y,
|
|
9799
|
-
var d = E(u, P, C, y,
|
|
9798
|
+
ShapePropertyFactory.getShapeProp = function(u, P, C, y, M) {
|
|
9799
|
+
var d = E(u, P, C, y, M);
|
|
9800
9800
|
return d.propertyIndex = P.ix, d.lock = !1, C === 3 ? expressionHelpers.searchExpressions(u, P.pt, d) : C === 4 && expressionHelpers.searchExpressions(u, P.ks, d), d.k && u.addDynamicProperty(d), d;
|
|
9801
9801
|
};
|
|
9802
9802
|
}
|
|
@@ -10147,9 +10147,9 @@ function _toPropertyKey(e) {
|
|
|
10147
10147
|
return typeof t == "symbol" ? t : String(t);
|
|
10148
10148
|
}
|
|
10149
10149
|
var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "onLoopComplete", "onEnterFrame", "onSegmentStart", "onConfigReady", "onDataReady", "onDataFailed", "onLoadedImages", "onDOMLoaded", "onDestroy", "lottieRef", "renderer", "name", "assetsPath", "rendererSettings"], useLottie = function e(t, i) {
|
|
10150
|
-
var s = t.animationData, n = t.loop, a = t.autoplay, o = t.initialSegment, f = t.onComplete, l = t.onLoopComplete, p = t.onEnterFrame, m = t.onSegmentStart, E = t.onConfigReady, u = t.onDataReady, P = t.onDataFailed, C = t.onLoadedImages, y = t.onDOMLoaded,
|
|
10150
|
+
var s = t.animationData, n = t.loop, a = t.autoplay, o = t.initialSegment, f = t.onComplete, l = t.onLoopComplete, p = t.onEnterFrame, m = t.onSegmentStart, E = t.onConfigReady, u = t.onDataReady, P = t.onDataFailed, C = t.onLoadedImages, y = t.onDOMLoaded, M = t.onDestroy;
|
|
10151
10151
|
t.lottieRef, t.renderer, t.name, t.assetsPath, t.rendererSettings;
|
|
10152
|
-
var d = _objectWithoutProperties(t, _excluded$1), g = useState(!1), c = _slicedToArray(g, 2), b = c[0],
|
|
10152
|
+
var d = _objectWithoutProperties(t, _excluded$1), g = useState(!1), c = _slicedToArray(g, 2), b = c[0], L = c[1], A = useRef(), T = useRef(null), k = function() {
|
|
10153
10153
|
var G;
|
|
10154
10154
|
(G = A.current) === null || G === void 0 || G.play();
|
|
10155
10155
|
}, R = function() {
|
|
@@ -10189,16 +10189,16 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10189
10189
|
var $ = _objectSpread2(_objectSpread2(_objectSpread2({}, t), G), {}, {
|
|
10190
10190
|
container: T.current
|
|
10191
10191
|
});
|
|
10192
|
-
return A.current = lottie.loadAnimation($),
|
|
10192
|
+
return A.current = lottie.loadAnimation($), L(!!A.current), function() {
|
|
10193
10193
|
var J;
|
|
10194
10194
|
(J = A.current) === null || J === void 0 || J.destroy(), A.current = void 0;
|
|
10195
10195
|
};
|
|
10196
10196
|
}
|
|
10197
10197
|
};
|
|
10198
10198
|
useEffect(function() {
|
|
10199
|
-
var
|
|
10199
|
+
var V = S();
|
|
10200
10200
|
return function() {
|
|
10201
|
-
return
|
|
10201
|
+
return V == null ? void 0 : V();
|
|
10202
10202
|
};
|
|
10203
10203
|
}, [s, n]), useEffect(function() {
|
|
10204
10204
|
A.current && (A.current.autoplay = !!a);
|
|
@@ -10211,7 +10211,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10211
10211
|
!Array.isArray(o) || !o.length || ((A.current.currentRawFrame < o[0] || A.current.currentRawFrame > o[1]) && (A.current.currentRawFrame = o[0]), A.current.setSegment(o[0], o[1]));
|
|
10212
10212
|
}
|
|
10213
10213
|
}, [o]), useEffect(function() {
|
|
10214
|
-
var
|
|
10214
|
+
var V = [{
|
|
10215
10215
|
name: "complete",
|
|
10216
10216
|
handler: f
|
|
10217
10217
|
}, {
|
|
@@ -10240,8 +10240,8 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10240
10240
|
handler: y
|
|
10241
10241
|
}, {
|
|
10242
10242
|
name: "destroy",
|
|
10243
|
-
handler:
|
|
10244
|
-
}], G =
|
|
10243
|
+
handler: M
|
|
10244
|
+
}], G = V.filter(function($) {
|
|
10245
10245
|
return $.handler != null;
|
|
10246
10246
|
});
|
|
10247
10247
|
if (G.length) {
|
|
@@ -10265,7 +10265,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10265
10265
|
});
|
|
10266
10266
|
};
|
|
10267
10267
|
}
|
|
10268
|
-
}, [f, l, p, m, E, u, P, C, y,
|
|
10268
|
+
}, [f, l, p, m, E, u, P, C, y, M]);
|
|
10269
10269
|
var B = /* @__PURE__ */ React.createElement("div", _objectSpread2({
|
|
10270
10270
|
style: i,
|
|
10271
10271
|
ref: T
|
|
@@ -10307,8 +10307,8 @@ var useInitInteractivity = function e(t) {
|
|
|
10307
10307
|
s.stop();
|
|
10308
10308
|
var f = function() {
|
|
10309
10309
|
var m = null, E = function() {
|
|
10310
|
-
var P = getContainerVisibility(o), C = a.find(function(
|
|
10311
|
-
var d =
|
|
10310
|
+
var P = getContainerVisibility(o), C = a.find(function(M) {
|
|
10311
|
+
var d = M.visibility;
|
|
10312
10312
|
return d && P >= d[0] && P <= d[1];
|
|
10313
10313
|
});
|
|
10314
10314
|
if (C) {
|
|
@@ -10325,19 +10325,19 @@ var useInitInteractivity = function e(t) {
|
|
|
10325
10325
|
};
|
|
10326
10326
|
}, l = function() {
|
|
10327
10327
|
var m = function(C, y) {
|
|
10328
|
-
var
|
|
10329
|
-
if (
|
|
10330
|
-
var g = getContainerCursorPosition(o,
|
|
10331
|
-
|
|
10328
|
+
var M = C, d = y;
|
|
10329
|
+
if (M !== -1 && d !== -1) {
|
|
10330
|
+
var g = getContainerCursorPosition(o, M, d);
|
|
10331
|
+
M = g.x, d = g.y;
|
|
10332
10332
|
}
|
|
10333
10333
|
var c = a.find(function(A) {
|
|
10334
10334
|
var T = A.position;
|
|
10335
|
-
return T && Array.isArray(T.x) && Array.isArray(T.y) ?
|
|
10335
|
+
return T && Array.isArray(T.x) && Array.isArray(T.y) ? M >= T.x[0] && M <= T.x[1] && d >= T.y[0] && d <= T.y[1] : T && !Number.isNaN(T.x) && !Number.isNaN(T.y) ? M === T.x && d === T.y : !1;
|
|
10336
10336
|
});
|
|
10337
10337
|
if (c) {
|
|
10338
10338
|
if (c.type === "seek" && c.position && Array.isArray(c.position.x) && Array.isArray(c.position.y) && c.frames.length === 2) {
|
|
10339
|
-
var b = (
|
|
10340
|
-
s.playSegments(c.frames, !0), s.goToAndStop(Math.ceil((b +
|
|
10339
|
+
var b = (M - c.position.x[0]) / (c.position.x[1] - c.position.x[0]), L = (d - c.position.y[0]) / (c.position.y[1] - c.position.y[0]);
|
|
10340
|
+
s.playSegments(c.frames, !0), s.goToAndStop(Math.ceil((b + L) / 2 * (c.frames[1] - c.frames[0])), !0);
|
|
10341
10341
|
}
|
|
10342
10342
|
c.type === "loop" && s.playSegments(c.frames, !0), c.type === "play" && (s.isPaused && s.resetSegments(!1), s.playSegments(c.frames)), c.type === "stop" && s.goToAndStop(c.frames[0], !0);
|
|
10343
10343
|
}
|
|
@@ -10367,7 +10367,7 @@ var useInitInteractivity = function e(t) {
|
|
|
10367
10367
|
wrapperRef: f
|
|
10368
10368
|
}), o;
|
|
10369
10369
|
}, _excluded = ["style", "interactivity"], Lottie = function e(t) {
|
|
10370
|
-
var i, s, n, a = t.style, o = t.interactivity, f = _objectWithoutProperties(t, _excluded), l = useLottie(f, a), p = l.View, m = l.play, E = l.stop, u = l.pause, P = l.setSpeed, C = l.goToAndStop, y = l.goToAndPlay,
|
|
10370
|
+
var i, s, n, a = t.style, o = t.interactivity, f = _objectWithoutProperties(t, _excluded), l = useLottie(f, a), p = l.View, m = l.play, E = l.stop, u = l.pause, P = l.setSpeed, C = l.goToAndStop, y = l.goToAndPlay, M = l.setDirection, d = l.playSegments, g = l.setSubframe, c = l.getDuration, b = l.destroy, L = l.animationContainerRef, A = l.animationLoaded, T = l.animationItem;
|
|
10371
10371
|
return useEffect(function() {
|
|
10372
10372
|
t.lottieRef && (t.lottieRef.current = {
|
|
10373
10373
|
play: m,
|
|
@@ -10376,12 +10376,12 @@ var useInitInteractivity = function e(t) {
|
|
|
10376
10376
|
setSpeed: P,
|
|
10377
10377
|
goToAndPlay: y,
|
|
10378
10378
|
goToAndStop: C,
|
|
10379
|
-
setDirection:
|
|
10379
|
+
setDirection: M,
|
|
10380
10380
|
playSegments: d,
|
|
10381
10381
|
setSubframe: g,
|
|
10382
10382
|
getDuration: c,
|
|
10383
10383
|
destroy: b,
|
|
10384
|
-
animationContainerRef:
|
|
10384
|
+
animationContainerRef: L,
|
|
10385
10385
|
animationLoaded: A,
|
|
10386
10386
|
animationItem: T
|
|
10387
10387
|
});
|
|
@@ -10394,12 +10394,12 @@ var useInitInteractivity = function e(t) {
|
|
|
10394
10394
|
setSpeed: P,
|
|
10395
10395
|
goToAndStop: C,
|
|
10396
10396
|
goToAndPlay: y,
|
|
10397
|
-
setDirection:
|
|
10397
|
+
setDirection: M,
|
|
10398
10398
|
playSegments: d,
|
|
10399
10399
|
setSubframe: g,
|
|
10400
10400
|
getDuration: c,
|
|
10401
10401
|
destroy: b,
|
|
10402
|
-
animationContainerRef:
|
|
10402
|
+
animationContainerRef: L,
|
|
10403
10403
|
animationLoaded: A,
|
|
10404
10404
|
animationItem: T
|
|
10405
10405
|
},
|
|
@@ -11592,6 +11592,74 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx(
|
|
|
11592
11592
|
}
|
|
11593
11593
|
)
|
|
11594
11594
|
}
|
|
11595
|
+
), FeesIcon = (e) => /* @__PURE__ */ jsx(
|
|
11596
|
+
"svg",
|
|
11597
|
+
{
|
|
11598
|
+
width: "12",
|
|
11599
|
+
height: "14",
|
|
11600
|
+
viewBox: "0 0 12 14",
|
|
11601
|
+
fill: "none",
|
|
11602
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11603
|
+
...e,
|
|
11604
|
+
children: /* @__PURE__ */ jsx(
|
|
11605
|
+
"path",
|
|
11606
|
+
{
|
|
11607
|
+
d: "M2 13.6667C1.44444 13.6667 0.972222 13.4722 0.583333 13.0833C0.194444 12.6945 0 12.2222 0 11.6667V9.66668H2V0.333344L3 1.33334L4 0.333344L5 1.33334L6 0.333344L7 1.33334L8 0.333344L9 1.33334L10 0.333344L11 1.33334L12 0.333344V11.6667C12 12.2222 11.8056 12.6945 11.4167 13.0833C11.0278 13.4722 10.5556 13.6667 10 13.6667H2ZM10 12.3333C10.1889 12.3333 10.3472 12.2695 10.475 12.1417C10.6028 12.0139 10.6667 11.8556 10.6667 11.6667V2.33334H3.33333V9.66668H9.33333V11.6667C9.33333 11.8556 9.39722 12.0139 9.525 12.1417C9.65278 12.2695 9.81111 12.3333 10 12.3333ZM4 5.00001V3.66668H8V5.00001H4ZM4 7.00001V5.66668H8V7.00001H4ZM9.33333 5.00001C9.14444 5.00001 8.98611 4.93612 8.85833 4.80834C8.73056 4.68057 8.66667 4.52223 8.66667 4.33334C8.66667 4.14445 8.73056 3.98612 8.85833 3.85834C8.98611 3.73057 9.14444 3.66668 9.33333 3.66668C9.52222 3.66668 9.68056 3.73057 9.80833 3.85834C9.93611 3.98612 10 4.14445 10 4.33334C10 4.52223 9.93611 4.68057 9.80833 4.80834C9.68056 4.93612 9.52222 5.00001 9.33333 5.00001ZM9.33333 7.00001C9.14444 7.00001 8.98611 6.93612 8.85833 6.80834C8.73056 6.68057 8.66667 6.52223 8.66667 6.33334C8.66667 6.14445 8.73056 5.98612 8.85833 5.85834C8.98611 5.73057 9.14444 5.66668 9.33333 5.66668C9.52222 5.66668 9.68056 5.73057 9.80833 5.85834C9.93611 5.98612 10 6.14445 10 6.33334C10 6.52223 9.93611 6.68057 9.80833 6.80834C9.68056 6.93612 9.52222 7.00001 9.33333 7.00001ZM2 12.3333H8V11H1.33333V11.6667C1.33333 11.8556 1.39722 12.0139 1.525 12.1417C1.65278 12.2695 1.81111 12.3333 2 12.3333Z",
|
|
11608
|
+
fill: "#554B6A"
|
|
11609
|
+
}
|
|
11610
|
+
)
|
|
11611
|
+
}
|
|
11612
|
+
), OpenInNewIcon = (e) => /* @__PURE__ */ jsx(
|
|
11613
|
+
"svg",
|
|
11614
|
+
{
|
|
11615
|
+
width: "12",
|
|
11616
|
+
height: "12",
|
|
11617
|
+
viewBox: "0 0 12 12",
|
|
11618
|
+
fill: "none",
|
|
11619
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11620
|
+
...e,
|
|
11621
|
+
children: /* @__PURE__ */ jsx(
|
|
11622
|
+
"path",
|
|
11623
|
+
{
|
|
11624
|
+
d: "M1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H6V1.33333H1.33333V10.6667H10.6667V6H12V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM4.46667 8.46667L3.53333 7.53333L9.73333 1.33333H7.33333V0H12V4.66667H10.6667V2.26667L4.46667 8.46667Z",
|
|
11625
|
+
fill: "#554B6A"
|
|
11626
|
+
}
|
|
11627
|
+
)
|
|
11628
|
+
}
|
|
11629
|
+
), ArrowEastIcon = (e) => /* @__PURE__ */ jsx(
|
|
11630
|
+
"svg",
|
|
11631
|
+
{
|
|
11632
|
+
width: "21",
|
|
11633
|
+
height: "14",
|
|
11634
|
+
viewBox: "0 0 21 14",
|
|
11635
|
+
fill: "none",
|
|
11636
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11637
|
+
...e,
|
|
11638
|
+
children: /* @__PURE__ */ jsx(
|
|
11639
|
+
"path",
|
|
11640
|
+
{
|
|
11641
|
+
d: "M13.1367 14L11.7117 12.6L16.3117 8H0.136719V6H16.3117L11.7367 1.4L13.1367 0L20.1367 7L13.1367 14Z",
|
|
11642
|
+
fill: "#554B6A"
|
|
11643
|
+
}
|
|
11644
|
+
)
|
|
11645
|
+
}
|
|
11646
|
+
), CheckCircleIcon = (e) => /* @__PURE__ */ jsx(
|
|
11647
|
+
"svg",
|
|
11648
|
+
{
|
|
11649
|
+
width: "14",
|
|
11650
|
+
height: "14",
|
|
11651
|
+
viewBox: "0 0 14 14",
|
|
11652
|
+
fill: "none",
|
|
11653
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11654
|
+
...e,
|
|
11655
|
+
children: /* @__PURE__ */ jsx(
|
|
11656
|
+
"path",
|
|
11657
|
+
{
|
|
11658
|
+
d: "M6.06536 10.0667L10.7654 5.36666L9.83203 4.43333L6.06536 8.19999L4.16536 6.29999L3.23203 7.23333L6.06536 10.0667ZM6.9987 13.6667C6.07648 13.6667 5.20981 13.4917 4.3987 13.1417C3.58759 12.7917 2.88203 12.3167 2.28203 11.7167C1.68203 11.1167 1.20703 10.4111 0.857031 9.59999C0.507031 8.78888 0.332031 7.92222 0.332031 6.99999C0.332031 6.07777 0.507031 5.21111 0.857031 4.39999C1.20703 3.58888 1.68203 2.88333 2.28203 2.28333C2.88203 1.68333 3.58759 1.20833 4.3987 0.858328C5.20981 0.508328 6.07648 0.333328 6.9987 0.333328C7.92092 0.333328 8.78759 0.508328 9.5987 0.858328C10.4098 1.20833 11.1154 1.68333 11.7154 2.28333C12.3154 2.88333 12.7904 3.58888 13.1404 4.39999C13.4904 5.21111 13.6654 6.07777 13.6654 6.99999C13.6654 7.92222 13.4904 8.78888 13.1404 9.59999C12.7904 10.4111 12.3154 11.1167 11.7154 11.7167C11.1154 12.3167 10.4098 12.7917 9.5987 13.1417C8.78759 13.4917 7.92092 13.6667 6.9987 13.6667ZM6.9987 12.3333C8.48759 12.3333 9.7487 11.8167 10.782 10.7833C11.8154 9.74999 12.332 8.48888 12.332 6.99999C12.332 5.51111 11.8154 4.24999 10.782 3.21666C9.7487 2.18333 8.48759 1.66666 6.9987 1.66666C5.50981 1.66666 4.2487 2.18333 3.21536 3.21666C2.18203 4.24999 1.66536 5.51111 1.66536 6.99999C1.66536 8.48888 2.18203 9.74999 3.21536 10.7833C4.2487 11.8167 5.50981 12.3333 6.9987 12.3333Z",
|
|
11659
|
+
fill: "#554B6A"
|
|
11660
|
+
}
|
|
11661
|
+
)
|
|
11662
|
+
}
|
|
11595
11663
|
), ArbitrumLogo = (e) => /* @__PURE__ */ jsxs(
|
|
11596
11664
|
"svg",
|
|
11597
11665
|
{
|
|
@@ -13226,8 +13294,8 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
13226
13294
|
isExternal: !0
|
|
13227
13295
|
},
|
|
13228
13296
|
{
|
|
13229
|
-
title: "
|
|
13230
|
-
link: appLink + "/
|
|
13297
|
+
title: "Quests",
|
|
13298
|
+
link: appLink + "/quests",
|
|
13231
13299
|
isExternal: !0
|
|
13232
13300
|
}
|
|
13233
13301
|
]
|
|
@@ -13240,10 +13308,20 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
13240
13308
|
link: "/blog",
|
|
13241
13309
|
isExternal: !1
|
|
13242
13310
|
},
|
|
13311
|
+
{
|
|
13312
|
+
title: "Docs",
|
|
13313
|
+
link: "https://docs.garden.finance",
|
|
13314
|
+
isExternal: !0
|
|
13315
|
+
},
|
|
13243
13316
|
{
|
|
13244
13317
|
title: "Audits",
|
|
13245
13318
|
link: "https://github.com/catalogfi/audits",
|
|
13246
13319
|
isExternal: !0
|
|
13320
|
+
},
|
|
13321
|
+
{
|
|
13322
|
+
title: "Media Kit",
|
|
13323
|
+
link: "https://docs.garden.finance/home/garden-brand-guide",
|
|
13324
|
+
isExternal: !0
|
|
13247
13325
|
}
|
|
13248
13326
|
]
|
|
13249
13327
|
},
|
|
@@ -13309,16 +13387,25 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
13309
13387
|
] }),
|
|
13310
13388
|
/* @__PURE__ */ jsx("hr", { className: "gf-mt-6 gf-mb-5 md:gf-mt-12 md:gf-mb-6 gf-border-dark-grey" }),
|
|
13311
13389
|
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col gf-gap-y-3 md:gf-flex-row gf-justify-between gf-items-center", children: [
|
|
13312
|
-
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-
|
|
13313
|
-
/* @__PURE__ */ jsxs(
|
|
13314
|
-
"
|
|
13315
|
-
|
|
13390
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-10", children: [
|
|
13391
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-2 gf-items-center", children: [
|
|
13392
|
+
/* @__PURE__ */ jsxs(Typography, { size: "h4", weight: "medium", children: [
|
|
13393
|
+
"Powered by",
|
|
13394
|
+
" "
|
|
13395
|
+
] }),
|
|
13396
|
+
/* @__PURE__ */ jsx("a", { href: "https://catalog.fi", target: "_blank", children: /* @__PURE__ */ jsx(CatalogLogo, { width: 76 }) })
|
|
13316
13397
|
] }),
|
|
13317
|
-
/* @__PURE__ */
|
|
13398
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-2 gf-items-center", children: [
|
|
13399
|
+
/* @__PURE__ */ jsxs(Typography, { size: "h4", weight: "medium", children: [
|
|
13400
|
+
"Audited by",
|
|
13401
|
+
" "
|
|
13402
|
+
] }),
|
|
13403
|
+
/* @__PURE__ */ jsx(TrailOfBits, { width: 36 })
|
|
13404
|
+
] })
|
|
13318
13405
|
] }),
|
|
13319
13406
|
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-6 md:gf-gap-x-4", children: [
|
|
13320
|
-
/* @__PURE__ */ jsx("a", { href: "
|
|
13321
|
-
/* @__PURE__ */ jsx("a", { href: "
|
|
13407
|
+
/* @__PURE__ */ jsx("a", { href: "https://garden.finance/privacy.pdf", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Privacy Policy" }) }),
|
|
13408
|
+
/* @__PURE__ */ jsx("a", { href: "https://garden.finance/terms.pdf", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Terms of Service" }) })
|
|
13322
13409
|
] })
|
|
13323
13410
|
] })
|
|
13324
13411
|
]
|
|
@@ -13327,35 +13414,35 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
13327
13414
|
var build = { exports: {} };
|
|
13328
13415
|
(() => {
|
|
13329
13416
|
var e = { 181: (n, a, o) => {
|
|
13330
|
-
var f = /^\s+|\s+$/g, l = /^[-+]0x[0-9a-f]+$/i, p = /^0b[01]+$/i, m = /^0o[0-7]+$/i, E = parseInt, u = typeof o.g == "object" && o.g && o.g.Object === Object && o.g, P = typeof self == "object" && self && self.Object === Object && self, C = u || P || Function("return this")(), y = Object.prototype.toString,
|
|
13417
|
+
var f = /^\s+|\s+$/g, l = /^[-+]0x[0-9a-f]+$/i, p = /^0b[01]+$/i, m = /^0o[0-7]+$/i, E = parseInt, u = typeof o.g == "object" && o.g && o.g.Object === Object && o.g, P = typeof self == "object" && self && self.Object === Object && self, C = u || P || Function("return this")(), y = Object.prototype.toString, M = Math.max, d = Math.min, g = function() {
|
|
13331
13418
|
return C.Date.now();
|
|
13332
13419
|
};
|
|
13333
|
-
function c(
|
|
13334
|
-
var A = typeof
|
|
13335
|
-
return !!
|
|
13420
|
+
function c(L) {
|
|
13421
|
+
var A = typeof L;
|
|
13422
|
+
return !!L && (A == "object" || A == "function");
|
|
13336
13423
|
}
|
|
13337
|
-
function b(
|
|
13338
|
-
if (typeof
|
|
13424
|
+
function b(L) {
|
|
13425
|
+
if (typeof L == "number") return L;
|
|
13339
13426
|
if (function(k) {
|
|
13340
13427
|
return typeof k == "symbol" || /* @__PURE__ */ function(R) {
|
|
13341
13428
|
return !!R && typeof R == "object";
|
|
13342
13429
|
}(k) && y.call(k) == "[object Symbol]";
|
|
13343
|
-
}(
|
|
13344
|
-
if (c(
|
|
13345
|
-
var A = typeof
|
|
13346
|
-
|
|
13430
|
+
}(L)) return NaN;
|
|
13431
|
+
if (c(L)) {
|
|
13432
|
+
var A = typeof L.valueOf == "function" ? L.valueOf() : L;
|
|
13433
|
+
L = c(A) ? A + "" : A;
|
|
13347
13434
|
}
|
|
13348
|
-
if (typeof
|
|
13349
|
-
|
|
13350
|
-
var T = p.test(
|
|
13351
|
-
return T || m.test(
|
|
13435
|
+
if (typeof L != "string") return L === 0 ? L : +L;
|
|
13436
|
+
L = L.replace(f, "");
|
|
13437
|
+
var T = p.test(L);
|
|
13438
|
+
return T || m.test(L) ? E(L.slice(2), T ? 2 : 8) : l.test(L) ? NaN : +L;
|
|
13352
13439
|
}
|
|
13353
|
-
n.exports = function(
|
|
13440
|
+
n.exports = function(L, A, T) {
|
|
13354
13441
|
var k, R, X, N, j, Y, U = 0, Z = !1, _ = !1, I = !0;
|
|
13355
|
-
if (typeof
|
|
13442
|
+
if (typeof L != "function") throw new TypeError("Expected a function");
|
|
13356
13443
|
function x(q) {
|
|
13357
13444
|
var $ = k, J = R;
|
|
13358
|
-
return k = R = void 0, U = q, N =
|
|
13445
|
+
return k = R = void 0, U = q, N = L.apply(J, $);
|
|
13359
13446
|
}
|
|
13360
13447
|
function S(q) {
|
|
13361
13448
|
var $ = q - Y;
|
|
@@ -13363,13 +13450,13 @@ var build = { exports: {} };
|
|
|
13363
13450
|
}
|
|
13364
13451
|
function B() {
|
|
13365
13452
|
var q = g();
|
|
13366
|
-
if (S(q)) return
|
|
13453
|
+
if (S(q)) return V(q);
|
|
13367
13454
|
j = setTimeout(B, function($) {
|
|
13368
13455
|
var J = A - ($ - Y);
|
|
13369
13456
|
return _ ? d(J, X - ($ - U)) : J;
|
|
13370
13457
|
}(q));
|
|
13371
13458
|
}
|
|
13372
|
-
function
|
|
13459
|
+
function V(q) {
|
|
13373
13460
|
return j = void 0, I && k ? x(q) : (k = R = void 0, N);
|
|
13374
13461
|
}
|
|
13375
13462
|
function G() {
|
|
@@ -13382,14 +13469,14 @@ var build = { exports: {} };
|
|
|
13382
13469
|
}
|
|
13383
13470
|
return j === void 0 && (j = setTimeout(B, A)), N;
|
|
13384
13471
|
}
|
|
13385
|
-
return A = b(A) || 0, c(T) && (Z = !!T.leading, X = (_ = "maxWait" in T) ?
|
|
13472
|
+
return A = b(A) || 0, c(T) && (Z = !!T.leading, X = (_ = "maxWait" in T) ? M(b(T.maxWait) || 0, A) : X, I = "trailing" in T ? !!T.trailing : I), G.cancel = function() {
|
|
13386
13473
|
j !== void 0 && clearTimeout(j), U = 0, k = Y = R = j = void 0;
|
|
13387
13474
|
}, G.flush = function() {
|
|
13388
|
-
return j === void 0 ? N :
|
|
13475
|
+
return j === void 0 ? N : V(g());
|
|
13389
13476
|
}, G;
|
|
13390
13477
|
};
|
|
13391
13478
|
}, 858: (n, a, o) => {
|
|
13392
|
-
var f = "Expected a function", l = NaN, p = "[object Symbol]", m = /^\s+|\s+$/g, E = /^[-+]0x[0-9a-f]+$/i, u = /^0b[01]+$/i, P = /^0o[0-7]+$/i, C = parseInt, y = typeof o.g == "object" && o.g && o.g.Object === Object && o.g,
|
|
13479
|
+
var f = "Expected a function", l = NaN, p = "[object Symbol]", m = /^\s+|\s+$/g, E = /^[-+]0x[0-9a-f]+$/i, u = /^0b[01]+$/i, P = /^0o[0-7]+$/i, C = parseInt, y = typeof o.g == "object" && o.g && o.g.Object === Object && o.g, M = typeof self == "object" && self && self.Object === Object && self, d = y || M || Function("return this")(), g = Object.prototype.toString, c = Math.max, b = Math.min, L = function() {
|
|
13393
13480
|
return d.Date.now();
|
|
13394
13481
|
};
|
|
13395
13482
|
function A(k) {
|
|
@@ -13416,21 +13503,21 @@ var build = { exports: {} };
|
|
|
13416
13503
|
var N = !0, j = !0;
|
|
13417
13504
|
if (typeof k != "function") throw new TypeError(f);
|
|
13418
13505
|
return A(X) && (N = "leading" in X ? !!X.leading : N, j = "trailing" in X ? !!X.trailing : j), function(Y, U, Z) {
|
|
13419
|
-
var _, I, x, S, B,
|
|
13506
|
+
var _, I, x, S, B, V, G = 0, q = !1, $ = !1, J = !0;
|
|
13420
13507
|
if (typeof Y != "function") throw new TypeError(f);
|
|
13421
13508
|
function re(se) {
|
|
13422
13509
|
var oe = _, te = I;
|
|
13423
13510
|
return _ = I = void 0, G = se, S = Y.apply(te, oe);
|
|
13424
13511
|
}
|
|
13425
13512
|
function le(se) {
|
|
13426
|
-
var oe = se -
|
|
13427
|
-
return
|
|
13513
|
+
var oe = se - V;
|
|
13514
|
+
return V === void 0 || oe >= U || oe < 0 || $ && se - G >= x;
|
|
13428
13515
|
}
|
|
13429
13516
|
function pe() {
|
|
13430
|
-
var se =
|
|
13517
|
+
var se = L();
|
|
13431
13518
|
if (le(se)) return ue(se);
|
|
13432
13519
|
B = setTimeout(pe, function(oe) {
|
|
13433
|
-
var te = U - (oe -
|
|
13520
|
+
var te = U - (oe - V);
|
|
13434
13521
|
return $ ? b(te, x - (oe - G)) : te;
|
|
13435
13522
|
}(se));
|
|
13436
13523
|
}
|
|
@@ -13438,19 +13525,19 @@ var build = { exports: {} };
|
|
|
13438
13525
|
return B = void 0, J && _ ? re(se) : (_ = I = void 0, S);
|
|
13439
13526
|
}
|
|
13440
13527
|
function ce() {
|
|
13441
|
-
var se =
|
|
13442
|
-
if (_ = arguments, I = this,
|
|
13528
|
+
var se = L(), oe = le(se);
|
|
13529
|
+
if (_ = arguments, I = this, V = se, oe) {
|
|
13443
13530
|
if (B === void 0) return function(te) {
|
|
13444
13531
|
return G = te, B = setTimeout(pe, U), q ? re(te) : S;
|
|
13445
|
-
}(
|
|
13446
|
-
if ($) return B = setTimeout(pe, U), re(
|
|
13532
|
+
}(V);
|
|
13533
|
+
if ($) return B = setTimeout(pe, U), re(V);
|
|
13447
13534
|
}
|
|
13448
13535
|
return B === void 0 && (B = setTimeout(pe, U)), S;
|
|
13449
13536
|
}
|
|
13450
13537
|
return U = T(U) || 0, A(Z) && (q = !!Z.leading, x = ($ = "maxWait" in Z) ? c(T(Z.maxWait) || 0, U) : x, J = "trailing" in Z ? !!Z.trailing : J), ce.cancel = function() {
|
|
13451
|
-
B !== void 0 && clearTimeout(B), G = 0, _ =
|
|
13538
|
+
B !== void 0 && clearTimeout(B), G = 0, _ = V = I = B = void 0;
|
|
13452
13539
|
}, ce.flush = function() {
|
|
13453
|
-
return B === void 0 ? S : ue(
|
|
13540
|
+
return B === void 0 ? S : ue(L());
|
|
13454
13541
|
}, ce;
|
|
13455
13542
|
}(k, R, { leading: N, maxWait: R, trailing: j });
|
|
13456
13543
|
};
|
|
@@ -13461,7 +13548,7 @@ var build = { exports: {} };
|
|
|
13461
13548
|
function p() {
|
|
13462
13549
|
}
|
|
13463
13550
|
p.resetWarningCache = l, n.exports = function() {
|
|
13464
|
-
function m(P, C, y,
|
|
13551
|
+
function m(P, C, y, M, d, g) {
|
|
13465
13552
|
if (g !== f) {
|
|
13466
13553
|
var c = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");
|
|
13467
13554
|
throw c.name = "Invariant Violation", c;
|
|
@@ -13509,33 +13596,33 @@ var build = { exports: {} };
|
|
|
13509
13596
|
return typeof window < "u" && "IntersectionObserver" in window && "isIntersecting" in window.IntersectionObserverEntry.prototype;
|
|
13510
13597
|
}
|
|
13511
13598
|
function l(D) {
|
|
13512
|
-
return l = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
13513
|
-
return typeof
|
|
13514
|
-
} : function(
|
|
13515
|
-
return
|
|
13599
|
+
return l = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(F) {
|
|
13600
|
+
return typeof F;
|
|
13601
|
+
} : function(F) {
|
|
13602
|
+
return F && typeof Symbol == "function" && F.constructor === Symbol && F !== Symbol.prototype ? "symbol" : typeof F;
|
|
13516
13603
|
}, l(D);
|
|
13517
13604
|
}
|
|
13518
|
-
function p(D,
|
|
13605
|
+
function p(D, F) {
|
|
13519
13606
|
var O = Object.keys(D);
|
|
13520
13607
|
if (Object.getOwnPropertySymbols) {
|
|
13521
13608
|
var W = Object.getOwnPropertySymbols(D);
|
|
13522
|
-
|
|
13609
|
+
F && (W = W.filter(function(H) {
|
|
13523
13610
|
return Object.getOwnPropertyDescriptor(D, H).enumerable;
|
|
13524
13611
|
})), O.push.apply(O, W);
|
|
13525
13612
|
}
|
|
13526
13613
|
return O;
|
|
13527
13614
|
}
|
|
13528
|
-
function m(D,
|
|
13529
|
-
return (
|
|
13615
|
+
function m(D, F, O) {
|
|
13616
|
+
return (F = u(F)) in D ? Object.defineProperty(D, F, { value: O, enumerable: !0, configurable: !0, writable: !0 }) : D[F] = O, D;
|
|
13530
13617
|
}
|
|
13531
|
-
function E(D,
|
|
13532
|
-
for (var O = 0; O <
|
|
13533
|
-
var W =
|
|
13618
|
+
function E(D, F) {
|
|
13619
|
+
for (var O = 0; O < F.length; O++) {
|
|
13620
|
+
var W = F[O];
|
|
13534
13621
|
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D, u(W.key), W);
|
|
13535
13622
|
}
|
|
13536
13623
|
}
|
|
13537
13624
|
function u(D) {
|
|
13538
|
-
var
|
|
13625
|
+
var F = function(O, W) {
|
|
13539
13626
|
if (l(O) != "object" || !O) return O;
|
|
13540
13627
|
var H = O[Symbol.toPrimitive];
|
|
13541
13628
|
if (H !== void 0) {
|
|
@@ -13545,17 +13632,17 @@ var build = { exports: {} };
|
|
|
13545
13632
|
}
|
|
13546
13633
|
return String(O);
|
|
13547
13634
|
}(D);
|
|
13548
|
-
return l(
|
|
13635
|
+
return l(F) == "symbol" ? F : F + "";
|
|
13549
13636
|
}
|
|
13550
|
-
function P(D,
|
|
13551
|
-
return
|
|
13637
|
+
function P(D, F, O) {
|
|
13638
|
+
return F = y(F), function(W, H) {
|
|
13552
13639
|
if (H && (l(H) == "object" || typeof H == "function")) return H;
|
|
13553
13640
|
if (H !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13554
13641
|
return function(z) {
|
|
13555
13642
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13556
13643
|
return z;
|
|
13557
13644
|
}(W);
|
|
13558
|
-
}(D, C() ? Reflect.construct(
|
|
13645
|
+
}(D, C() ? Reflect.construct(F, O || [], y(D).constructor) : F.apply(D, O));
|
|
13559
13646
|
}
|
|
13560
13647
|
function C() {
|
|
13561
13648
|
try {
|
|
@@ -13568,25 +13655,25 @@ var build = { exports: {} };
|
|
|
13568
13655
|
})();
|
|
13569
13656
|
}
|
|
13570
13657
|
function y(D) {
|
|
13571
|
-
return y = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
13572
|
-
return
|
|
13658
|
+
return y = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(F) {
|
|
13659
|
+
return F.__proto__ || Object.getPrototypeOf(F);
|
|
13573
13660
|
}, y(D);
|
|
13574
13661
|
}
|
|
13575
|
-
function
|
|
13576
|
-
return
|
|
13662
|
+
function M(D, F) {
|
|
13663
|
+
return M = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(O, W) {
|
|
13577
13664
|
return O.__proto__ = W, O;
|
|
13578
|
-
},
|
|
13665
|
+
}, M(D, F);
|
|
13579
13666
|
}
|
|
13580
13667
|
var d = function(D) {
|
|
13581
|
-
D.forEach(function(
|
|
13582
|
-
|
|
13668
|
+
D.forEach(function(F) {
|
|
13669
|
+
F.isIntersecting && F.target.onVisible();
|
|
13583
13670
|
});
|
|
13584
13671
|
}, g = {}, c = function(D) {
|
|
13585
|
-
function
|
|
13672
|
+
function F(H) {
|
|
13586
13673
|
var z;
|
|
13587
13674
|
if (function(Q, ie) {
|
|
13588
13675
|
if (!(Q instanceof ie)) throw new TypeError("Cannot call a class as a function");
|
|
13589
|
-
}(this,
|
|
13676
|
+
}(this, F), (z = P(this, F, [H])).supportsObserver = !H.scrollPosition && H.useIntersectionObserver && f(), z.supportsObserver) {
|
|
13590
13677
|
var ee = H.threshold;
|
|
13591
13678
|
z.observer = function(Q) {
|
|
13592
13679
|
return g[Q] = g[Q] || new IntersectionObserver(d, { rootMargin: Q + "px" }), g[Q];
|
|
@@ -13596,8 +13683,8 @@ var build = { exports: {} };
|
|
|
13596
13683
|
}
|
|
13597
13684
|
return function(H, z) {
|
|
13598
13685
|
if (typeof z != "function" && z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
13599
|
-
H.prototype = Object.create(z && z.prototype, { constructor: { value: H, writable: !0, configurable: !0 } }), Object.defineProperty(H, "prototype", { writable: !1 }), z &&
|
|
13600
|
-
}(
|
|
13686
|
+
H.prototype = Object.create(z && z.prototype, { constructor: { value: H, writable: !0, configurable: !0 } }), Object.defineProperty(H, "prototype", { writable: !1 }), z && M(H, z);
|
|
13687
|
+
}(F, D), O = F, W = [{ key: "componentDidMount", value: function() {
|
|
13601
13688
|
this.placeholder && this.observer && (this.placeholder.onVisible = this.props.onVisible, this.observer.observe(this.placeholder)), this.supportsObserver || this.updateVisibility();
|
|
13602
13689
|
} }, { key: "componentWillUnmount", value: function() {
|
|
13603
13690
|
this.observer && this.placeholder && this.observer.unobserve(this.placeholder);
|
|
@@ -13636,43 +13723,43 @@ var build = { exports: {} };
|
|
|
13636
13723
|
}(a().Component);
|
|
13637
13724
|
c.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]) }, c.defaultProps = { className: "", placeholder: null, threshold: 100, useIntersectionObserver: !0 };
|
|
13638
13725
|
const b = c;
|
|
13639
|
-
var
|
|
13640
|
-
var
|
|
13641
|
-
return
|
|
13726
|
+
var L = i(181), A = i.n(L), T = i(858), k = i.n(T), R = function(D) {
|
|
13727
|
+
var F = getComputedStyle(D, null);
|
|
13728
|
+
return F.getPropertyValue("overflow") + F.getPropertyValue("overflow-y") + F.getPropertyValue("overflow-x");
|
|
13642
13729
|
};
|
|
13643
13730
|
const X = function(D) {
|
|
13644
13731
|
if (!(D instanceof HTMLElement)) return window;
|
|
13645
|
-
for (var
|
|
13646
|
-
if (/(scroll|auto)/.test(R(
|
|
13647
|
-
|
|
13732
|
+
for (var F = D; F && F instanceof HTMLElement; ) {
|
|
13733
|
+
if (/(scroll|auto)/.test(R(F))) return F;
|
|
13734
|
+
F = F.parentNode;
|
|
13648
13735
|
}
|
|
13649
13736
|
return window;
|
|
13650
13737
|
};
|
|
13651
13738
|
function N(D) {
|
|
13652
|
-
return N = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
13653
|
-
return typeof
|
|
13654
|
-
} : function(
|
|
13655
|
-
return
|
|
13739
|
+
return N = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(F) {
|
|
13740
|
+
return typeof F;
|
|
13741
|
+
} : function(F) {
|
|
13742
|
+
return F && typeof Symbol == "function" && F.constructor === Symbol && F !== Symbol.prototype ? "symbol" : typeof F;
|
|
13656
13743
|
}, N(D);
|
|
13657
13744
|
}
|
|
13658
13745
|
var j = ["delayMethod", "delayTime"];
|
|
13659
13746
|
function Y() {
|
|
13660
13747
|
return Y = Object.assign ? Object.assign.bind() : function(D) {
|
|
13661
|
-
for (var
|
|
13662
|
-
var O = arguments[
|
|
13748
|
+
for (var F = 1; F < arguments.length; F++) {
|
|
13749
|
+
var O = arguments[F];
|
|
13663
13750
|
for (var W in O) ({}).hasOwnProperty.call(O, W) && (D[W] = O[W]);
|
|
13664
13751
|
}
|
|
13665
13752
|
return D;
|
|
13666
13753
|
}, Y.apply(null, arguments);
|
|
13667
13754
|
}
|
|
13668
|
-
function U(D,
|
|
13669
|
-
for (var O = 0; O <
|
|
13670
|
-
var W =
|
|
13755
|
+
function U(D, F) {
|
|
13756
|
+
for (var O = 0; O < F.length; O++) {
|
|
13757
|
+
var W = F[O];
|
|
13671
13758
|
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D, Z(W.key), W);
|
|
13672
13759
|
}
|
|
13673
13760
|
}
|
|
13674
13761
|
function Z(D) {
|
|
13675
|
-
var
|
|
13762
|
+
var F = function(O, W) {
|
|
13676
13763
|
if (N(O) != "object" || !O) return O;
|
|
13677
13764
|
var H = O[Symbol.toPrimitive];
|
|
13678
13765
|
if (H !== void 0) {
|
|
@@ -13682,14 +13769,14 @@ var build = { exports: {} };
|
|
|
13682
13769
|
}
|
|
13683
13770
|
return String(O);
|
|
13684
13771
|
}(D);
|
|
13685
|
-
return N(
|
|
13772
|
+
return N(F) == "symbol" ? F : F + "";
|
|
13686
13773
|
}
|
|
13687
|
-
function _(D,
|
|
13688
|
-
return
|
|
13774
|
+
function _(D, F, O) {
|
|
13775
|
+
return F = S(F), I(D, x() ? Reflect.construct(F, O || [], S(D).constructor) : F.apply(D, O));
|
|
13689
13776
|
}
|
|
13690
|
-
function I(D,
|
|
13691
|
-
if (
|
|
13692
|
-
if (
|
|
13777
|
+
function I(D, F) {
|
|
13778
|
+
if (F && (N(F) == "object" || typeof F == "function")) return F;
|
|
13779
|
+
if (F !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13693
13780
|
return function(O) {
|
|
13694
13781
|
if (O === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13695
13782
|
return O;
|
|
@@ -13706,29 +13793,29 @@ var build = { exports: {} };
|
|
|
13706
13793
|
})();
|
|
13707
13794
|
}
|
|
13708
13795
|
function S(D) {
|
|
13709
|
-
return S = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
13710
|
-
return
|
|
13796
|
+
return S = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(F) {
|
|
13797
|
+
return F.__proto__ || Object.getPrototypeOf(F);
|
|
13711
13798
|
}, S(D);
|
|
13712
13799
|
}
|
|
13713
|
-
function B(D,
|
|
13800
|
+
function B(D, F) {
|
|
13714
13801
|
return B = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(O, W) {
|
|
13715
13802
|
return O.__proto__ = W, O;
|
|
13716
|
-
}, B(D,
|
|
13803
|
+
}, B(D, F);
|
|
13717
13804
|
}
|
|
13718
|
-
var
|
|
13805
|
+
var V = function() {
|
|
13719
13806
|
return typeof window > "u" ? 0 : window.scrollX || window.pageXOffset;
|
|
13720
13807
|
}, G = function() {
|
|
13721
13808
|
return typeof window > "u" ? 0 : window.scrollY || window.pageYOffset;
|
|
13722
13809
|
};
|
|
13723
13810
|
const q = function(D) {
|
|
13724
|
-
var
|
|
13811
|
+
var F = function(O) {
|
|
13725
13812
|
function W(ee) {
|
|
13726
13813
|
var Q;
|
|
13727
13814
|
if (function(ne, he) {
|
|
13728
13815
|
if (!(ne instanceof he)) throw new TypeError("Cannot call a class as a function");
|
|
13729
13816
|
}(this, W), (Q = _(this, W, [ee])).useIntersectionObserver = ee.useIntersectionObserver && f(), Q.useIntersectionObserver) return I(Q);
|
|
13730
13817
|
var ie = Q.onChangeScroll.bind(Q);
|
|
13731
|
-
return ee.delayMethod === "debounce" ? Q.delayedScroll = A()(ie, ee.delayTime) : ee.delayMethod === "throttle" && (Q.delayedScroll = k()(ie, ee.delayTime)), Q.state = { scrollPosition: { x:
|
|
13818
|
+
return ee.delayMethod === "debounce" ? Q.delayedScroll = A()(ie, ee.delayTime) : ee.delayMethod === "throttle" && (Q.delayedScroll = k()(ie, ee.delayTime)), Q.state = { scrollPosition: { x: V(), y: G() } }, Q.baseComponentRef = a().createRef(), Q;
|
|
13732
13819
|
}
|
|
13733
13820
|
return function(ee, Q) {
|
|
13734
13821
|
if (typeof Q != "function" && Q !== null) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -13744,16 +13831,16 @@ var build = { exports: {} };
|
|
|
13744
13831
|
} }, { key: "removeListeners", value: function() {
|
|
13745
13832
|
typeof window > "u" || this.useIntersectionObserver || (this.scrollElement.removeEventListener("scroll", this.delayedScroll), window.removeEventListener("resize", this.delayedScroll), this.scrollElement !== window && window.removeEventListener("scroll", this.delayedScroll));
|
|
13746
13833
|
} }, { key: "onChangeScroll", value: function() {
|
|
13747
|
-
this.useIntersectionObserver || this.setState({ scrollPosition: { x:
|
|
13834
|
+
this.useIntersectionObserver || this.setState({ scrollPosition: { x: V(), y: G() } });
|
|
13748
13835
|
} }, { key: "render", value: function() {
|
|
13749
13836
|
var ee = this.props, Q = (ee.delayMethod, ee.delayTime, function(ne, he) {
|
|
13750
13837
|
if (ne == null) return {};
|
|
13751
13838
|
var fe, ae, ve = function(ge, Re) {
|
|
13752
13839
|
if (ge == null) return {};
|
|
13753
13840
|
var Oe = {};
|
|
13754
|
-
for (var
|
|
13755
|
-
if (Re.indexOf(
|
|
13756
|
-
Oe[
|
|
13841
|
+
for (var Fe in ge) if ({}.hasOwnProperty.call(ge, Fe)) {
|
|
13842
|
+
if (Re.indexOf(Fe) >= 0) continue;
|
|
13843
|
+
Oe[Fe] = ge[Fe];
|
|
13757
13844
|
}
|
|
13758
13845
|
return Oe;
|
|
13759
13846
|
}(ne, he);
|
|
@@ -13767,23 +13854,23 @@ var build = { exports: {} };
|
|
|
13767
13854
|
} }], z && U(H.prototype, z), Object.defineProperty(H, "prototype", { writable: !1 }), H;
|
|
13768
13855
|
var H, z;
|
|
13769
13856
|
}(a().Component);
|
|
13770
|
-
return
|
|
13857
|
+
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;
|
|
13771
13858
|
};
|
|
13772
13859
|
function $(D) {
|
|
13773
|
-
return $ = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
13774
|
-
return typeof
|
|
13775
|
-
} : function(
|
|
13776
|
-
return
|
|
13860
|
+
return $ = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(F) {
|
|
13861
|
+
return typeof F;
|
|
13862
|
+
} : function(F) {
|
|
13863
|
+
return F && typeof Symbol == "function" && F.constructor === Symbol && F !== Symbol.prototype ? "symbol" : typeof F;
|
|
13777
13864
|
}, $(D);
|
|
13778
13865
|
}
|
|
13779
|
-
function J(D,
|
|
13780
|
-
for (var O = 0; O <
|
|
13781
|
-
var W =
|
|
13866
|
+
function J(D, F) {
|
|
13867
|
+
for (var O = 0; O < F.length; O++) {
|
|
13868
|
+
var W = F[O];
|
|
13782
13869
|
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D, re(W.key), W);
|
|
13783
13870
|
}
|
|
13784
13871
|
}
|
|
13785
13872
|
function re(D) {
|
|
13786
|
-
var
|
|
13873
|
+
var F = function(O, W) {
|
|
13787
13874
|
if ($(O) != "object" || !O) return O;
|
|
13788
13875
|
var H = O[Symbol.toPrimitive];
|
|
13789
13876
|
if (H !== void 0) {
|
|
@@ -13793,17 +13880,17 @@ var build = { exports: {} };
|
|
|
13793
13880
|
}
|
|
13794
13881
|
return String(O);
|
|
13795
13882
|
}(D);
|
|
13796
|
-
return $(
|
|
13883
|
+
return $(F) == "symbol" ? F : F + "";
|
|
13797
13884
|
}
|
|
13798
|
-
function le(D,
|
|
13799
|
-
return
|
|
13885
|
+
function le(D, F, O) {
|
|
13886
|
+
return F = ue(F), function(W, H) {
|
|
13800
13887
|
if (H && ($(H) == "object" || typeof H == "function")) return H;
|
|
13801
13888
|
if (H !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13802
13889
|
return function(z) {
|
|
13803
13890
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13804
13891
|
return z;
|
|
13805
13892
|
}(W);
|
|
13806
|
-
}(D, pe() ? Reflect.construct(
|
|
13893
|
+
}(D, pe() ? Reflect.construct(F, O || [], ue(D).constructor) : F.apply(D, O));
|
|
13807
13894
|
}
|
|
13808
13895
|
function pe() {
|
|
13809
13896
|
try {
|
|
@@ -13816,45 +13903,45 @@ var build = { exports: {} };
|
|
|
13816
13903
|
})();
|
|
13817
13904
|
}
|
|
13818
13905
|
function ue(D) {
|
|
13819
|
-
return ue = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
13820
|
-
return
|
|
13906
|
+
return ue = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(F) {
|
|
13907
|
+
return F.__proto__ || Object.getPrototypeOf(F);
|
|
13821
13908
|
}, ue(D);
|
|
13822
13909
|
}
|
|
13823
|
-
function ce(D,
|
|
13910
|
+
function ce(D, F) {
|
|
13824
13911
|
return ce = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(O, W) {
|
|
13825
13912
|
return O.__proto__ = W, O;
|
|
13826
|
-
}, ce(D,
|
|
13913
|
+
}, ce(D, F);
|
|
13827
13914
|
}
|
|
13828
13915
|
var se = function(D) {
|
|
13829
|
-
function
|
|
13916
|
+
function F(H) {
|
|
13830
13917
|
return function(z, ee) {
|
|
13831
13918
|
if (!(z instanceof ee)) throw new TypeError("Cannot call a class as a function");
|
|
13832
|
-
}(this,
|
|
13919
|
+
}(this, F), le(this, F, [H]);
|
|
13833
13920
|
}
|
|
13834
13921
|
return function(H, z) {
|
|
13835
13922
|
if (typeof z != "function" && z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
13836
13923
|
H.prototype = Object.create(z && z.prototype, { constructor: { value: H, writable: !0, configurable: !0 } }), Object.defineProperty(H, "prototype", { writable: !1 }), z && ce(H, z);
|
|
13837
|
-
}(
|
|
13924
|
+
}(F, D), O = F, (W = [{ key: "render", value: function() {
|
|
13838
13925
|
return a().createElement(b, this.props);
|
|
13839
13926
|
} }]) && J(O.prototype, W), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
13840
13927
|
var O, W;
|
|
13841
13928
|
}(a().Component);
|
|
13842
13929
|
const oe = q(se);
|
|
13843
13930
|
function te(D) {
|
|
13844
|
-
return te = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
13845
|
-
return typeof
|
|
13846
|
-
} : function(
|
|
13847
|
-
return
|
|
13931
|
+
return te = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(F) {
|
|
13932
|
+
return typeof F;
|
|
13933
|
+
} : function(F) {
|
|
13934
|
+
return F && typeof Symbol == "function" && F.constructor === Symbol && F !== Symbol.prototype ? "symbol" : typeof F;
|
|
13848
13935
|
}, te(D);
|
|
13849
13936
|
}
|
|
13850
|
-
function K(D,
|
|
13851
|
-
for (var O = 0; O <
|
|
13852
|
-
var W =
|
|
13853
|
-
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D,
|
|
13937
|
+
function K(D, F) {
|
|
13938
|
+
for (var O = 0; O < F.length; O++) {
|
|
13939
|
+
var W = F[O];
|
|
13940
|
+
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D, Le(W.key), W);
|
|
13854
13941
|
}
|
|
13855
13942
|
}
|
|
13856
|
-
function
|
|
13857
|
-
var
|
|
13943
|
+
function Le(D) {
|
|
13944
|
+
var F = function(O, W) {
|
|
13858
13945
|
if (te(O) != "object" || !O) return O;
|
|
13859
13946
|
var H = O[Symbol.toPrimitive];
|
|
13860
13947
|
if (H !== void 0) {
|
|
@@ -13864,17 +13951,17 @@ var build = { exports: {} };
|
|
|
13864
13951
|
}
|
|
13865
13952
|
return String(O);
|
|
13866
13953
|
}(D);
|
|
13867
|
-
return te(
|
|
13954
|
+
return te(F) == "symbol" ? F : F + "";
|
|
13868
13955
|
}
|
|
13869
|
-
function Ae(D,
|
|
13870
|
-
return
|
|
13956
|
+
function Ae(D, F, O) {
|
|
13957
|
+
return F = ye(F), function(W, H) {
|
|
13871
13958
|
if (H && (te(H) == "object" || typeof H == "function")) return H;
|
|
13872
13959
|
if (H !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13873
13960
|
return function(z) {
|
|
13874
13961
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13875
13962
|
return z;
|
|
13876
13963
|
}(W);
|
|
13877
|
-
}(D, Se() ? Reflect.construct(
|
|
13964
|
+
}(D, Se() ? Reflect.construct(F, O || [], ye(D).constructor) : F.apply(D, O));
|
|
13878
13965
|
}
|
|
13879
13966
|
function Se() {
|
|
13880
13967
|
try {
|
|
@@ -13887,28 +13974,28 @@ var build = { exports: {} };
|
|
|
13887
13974
|
})();
|
|
13888
13975
|
}
|
|
13889
13976
|
function ye(D) {
|
|
13890
|
-
return ye = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(
|
|
13891
|
-
return
|
|
13977
|
+
return ye = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(F) {
|
|
13978
|
+
return F.__proto__ || Object.getPrototypeOf(F);
|
|
13892
13979
|
}, ye(D);
|
|
13893
13980
|
}
|
|
13894
|
-
function xe(D,
|
|
13981
|
+
function xe(D, F) {
|
|
13895
13982
|
return xe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(O, W) {
|
|
13896
13983
|
return O.__proto__ = W, O;
|
|
13897
|
-
}, xe(D,
|
|
13984
|
+
}, xe(D, F);
|
|
13898
13985
|
}
|
|
13899
13986
|
var we = function(D) {
|
|
13900
|
-
function
|
|
13987
|
+
function F(H) {
|
|
13901
13988
|
var z;
|
|
13902
13989
|
(function(he, fe) {
|
|
13903
13990
|
if (!(he instanceof fe)) throw new TypeError("Cannot call a class as a function");
|
|
13904
|
-
})(this,
|
|
13991
|
+
})(this, F), z = Ae(this, F, [H]);
|
|
13905
13992
|
var ee = H.afterLoad, Q = H.beforeLoad, ie = H.scrollPosition, ne = H.visibleByDefault;
|
|
13906
13993
|
return z.state = { visible: ne }, ne && (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;
|
|
13907
13994
|
}
|
|
13908
13995
|
return function(H, z) {
|
|
13909
13996
|
if (typeof z != "function" && z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
13910
13997
|
H.prototype = Object.create(z && z.prototype, { constructor: { value: H, writable: !0, configurable: !0 } }), Object.defineProperty(H, "prototype", { writable: !1 }), z && xe(H, z);
|
|
13911
|
-
}(
|
|
13998
|
+
}(F, D), O = F, (W = [{ key: "componentDidUpdate", value: function(H, z) {
|
|
13912
13999
|
z.visible !== this.state.visible && this.props.afterLoad();
|
|
13913
14000
|
} }, { key: "onVisible", value: function() {
|
|
13914
14001
|
this.props.beforeLoad(), this.setState({ visible: !0 });
|
|
@@ -13926,27 +14013,27 @@ var build = { exports: {} };
|
|
|
13926
14013
|
}, useIntersectionObserver: !0, visibleByDefault: !1 };
|
|
13927
14014
|
const me = we;
|
|
13928
14015
|
function Ce(D) {
|
|
13929
|
-
return Ce = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
13930
|
-
return typeof
|
|
13931
|
-
} : function(
|
|
13932
|
-
return
|
|
14016
|
+
return Ce = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(F) {
|
|
14017
|
+
return typeof F;
|
|
14018
|
+
} : function(F) {
|
|
14019
|
+
return F && typeof Symbol == "function" && F.constructor === Symbol && F !== Symbol.prototype ? "symbol" : typeof F;
|
|
13933
14020
|
}, Ce(D);
|
|
13934
14021
|
}
|
|
13935
14022
|
var _e = ["afterLoad", "beforeLoad", "delayMethod", "delayTime", "effect", "placeholder", "placeholderSrc", "scrollPosition", "threshold", "useIntersectionObserver", "visibleByDefault", "wrapperClassName", "wrapperProps"];
|
|
13936
|
-
function be(D,
|
|
14023
|
+
function be(D, F) {
|
|
13937
14024
|
var O = Object.keys(D);
|
|
13938
14025
|
if (Object.getOwnPropertySymbols) {
|
|
13939
14026
|
var W = Object.getOwnPropertySymbols(D);
|
|
13940
|
-
|
|
14027
|
+
F && (W = W.filter(function(H) {
|
|
13941
14028
|
return Object.getOwnPropertyDescriptor(D, H).enumerable;
|
|
13942
14029
|
})), O.push.apply(O, W);
|
|
13943
14030
|
}
|
|
13944
14031
|
return O;
|
|
13945
14032
|
}
|
|
13946
|
-
function
|
|
13947
|
-
for (var
|
|
13948
|
-
var O = arguments[
|
|
13949
|
-
|
|
14033
|
+
function Me(D) {
|
|
14034
|
+
for (var F = 1; F < arguments.length; F++) {
|
|
14035
|
+
var O = arguments[F] != null ? arguments[F] : {};
|
|
14036
|
+
F % 2 ? be(Object(O), !0).forEach(function(W) {
|
|
13950
14037
|
Pe(D, W, O[W]);
|
|
13951
14038
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(D, Object.getOwnPropertyDescriptors(O)) : be(Object(O)).forEach(function(W) {
|
|
13952
14039
|
Object.defineProperty(D, W, Object.getOwnPropertyDescriptor(O, W));
|
|
@@ -13954,26 +14041,26 @@ var build = { exports: {} };
|
|
|
13954
14041
|
}
|
|
13955
14042
|
return D;
|
|
13956
14043
|
}
|
|
13957
|
-
function Pe(D,
|
|
13958
|
-
return (
|
|
14044
|
+
function Pe(D, F, O) {
|
|
14045
|
+
return (F = Te(F)) in D ? Object.defineProperty(D, F, { value: O, enumerable: !0, configurable: !0, writable: !0 }) : D[F] = O, D;
|
|
13959
14046
|
}
|
|
13960
14047
|
function Ee() {
|
|
13961
14048
|
return Ee = Object.assign ? Object.assign.bind() : function(D) {
|
|
13962
|
-
for (var
|
|
13963
|
-
var O = arguments[
|
|
14049
|
+
for (var F = 1; F < arguments.length; F++) {
|
|
14050
|
+
var O = arguments[F];
|
|
13964
14051
|
for (var W in O) ({}).hasOwnProperty.call(O, W) && (D[W] = O[W]);
|
|
13965
14052
|
}
|
|
13966
14053
|
return D;
|
|
13967
14054
|
}, Ee.apply(null, arguments);
|
|
13968
14055
|
}
|
|
13969
|
-
function ke(D,
|
|
13970
|
-
for (var O = 0; O <
|
|
13971
|
-
var W =
|
|
14056
|
+
function ke(D, F) {
|
|
14057
|
+
for (var O = 0; O < F.length; O++) {
|
|
14058
|
+
var W = F[O];
|
|
13972
14059
|
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D, Te(W.key), W);
|
|
13973
14060
|
}
|
|
13974
14061
|
}
|
|
13975
14062
|
function Te(D) {
|
|
13976
|
-
var
|
|
14063
|
+
var F = function(O, W) {
|
|
13977
14064
|
if (Ce(O) != "object" || !O) return O;
|
|
13978
14065
|
var H = O[Symbol.toPrimitive];
|
|
13979
14066
|
if (H !== void 0) {
|
|
@@ -13983,17 +14070,17 @@ var build = { exports: {} };
|
|
|
13983
14070
|
}
|
|
13984
14071
|
return String(O);
|
|
13985
14072
|
}(D);
|
|
13986
|
-
return Ce(
|
|
14073
|
+
return Ce(F) == "symbol" ? F : F + "";
|
|
13987
14074
|
}
|
|
13988
|
-
function Ie(D,
|
|
13989
|
-
return
|
|
14075
|
+
function Ie(D, F, O) {
|
|
14076
|
+
return F = Ve(F), function(W, H) {
|
|
13990
14077
|
if (H && (Ce(H) == "object" || typeof H == "function")) return H;
|
|
13991
14078
|
if (H !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13992
14079
|
return function(z) {
|
|
13993
14080
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13994
14081
|
return z;
|
|
13995
14082
|
}(W);
|
|
13996
|
-
}(D, He() ? Reflect.construct(
|
|
14083
|
+
}(D, He() ? Reflect.construct(F, O || [], Ve(D).constructor) : F.apply(D, O));
|
|
13997
14084
|
}
|
|
13998
14085
|
function He() {
|
|
13999
14086
|
try {
|
|
@@ -14005,27 +14092,27 @@ var build = { exports: {} };
|
|
|
14005
14092
|
return !!D;
|
|
14006
14093
|
})();
|
|
14007
14094
|
}
|
|
14008
|
-
function
|
|
14009
|
-
return
|
|
14010
|
-
return
|
|
14011
|
-
},
|
|
14095
|
+
function Ve(D) {
|
|
14096
|
+
return Ve = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(F) {
|
|
14097
|
+
return F.__proto__ || Object.getPrototypeOf(F);
|
|
14098
|
+
}, Ve(D);
|
|
14012
14099
|
}
|
|
14013
|
-
function Be(D,
|
|
14100
|
+
function Be(D, F) {
|
|
14014
14101
|
return Be = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(O, W) {
|
|
14015
14102
|
return O.__proto__ = W, O;
|
|
14016
|
-
}, Be(D,
|
|
14103
|
+
}, Be(D, F);
|
|
14017
14104
|
}
|
|
14018
14105
|
var je = function(D) {
|
|
14019
|
-
function
|
|
14106
|
+
function F(H) {
|
|
14020
14107
|
var z;
|
|
14021
14108
|
return function(ee, Q) {
|
|
14022
14109
|
if (!(ee instanceof Q)) throw new TypeError("Cannot call a class as a function");
|
|
14023
|
-
}(this,
|
|
14110
|
+
}(this, F), (z = Ie(this, F, [H])).state = { loaded: !1 }, z;
|
|
14024
14111
|
}
|
|
14025
14112
|
return function(H, z) {
|
|
14026
14113
|
if (typeof z != "function" && z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
14027
14114
|
H.prototype = Object.create(z && z.prototype, { constructor: { value: H, writable: !0, configurable: !0 } }), Object.defineProperty(H, "prototype", { writable: !1 }), z && Be(H, z);
|
|
14028
|
-
}(
|
|
14115
|
+
}(F, D), O = F, W = [{ key: "onImageLoad", value: function() {
|
|
14029
14116
|
var H = this;
|
|
14030
14117
|
return this.state.loaded ? null : function(z) {
|
|
14031
14118
|
H.props.onLoad(z), H.props.afterLoad(), H.setState({ loaded: !0 });
|
|
@@ -14054,7 +14141,7 @@ var build = { exports: {} };
|
|
|
14054
14141
|
return a().createElement(me, { beforeLoad: z, className: ee, delayMethod: Q, delayTime: ie, height: ne, placeholder: he, scrollPosition: fe, style: ae, threshold: ve, useIntersectionObserver: de, visibleByDefault: ge, width: Re }, this.getImg());
|
|
14055
14142
|
} }, { key: "getWrappedLazyLoadImage", value: function(H) {
|
|
14056
14143
|
var z = this.props, ee = z.effect, Q = z.height, ie = z.placeholderSrc, ne = z.width, he = z.wrapperClassName, fe = z.wrapperProps, ae = this.state.loaded, ve = ae ? " lazy-load-image-loaded" : "", de = ae || !ie ? {} : { backgroundImage: "url(".concat(ie, ")"), backgroundSize: "100% 100%" };
|
|
14057
|
-
return a().createElement("span", Ee({ className: he + " lazy-load-image-background " + ee + ve, style:
|
|
14144
|
+
return a().createElement("span", Ee({ className: he + " lazy-load-image-background " + ee + ve, style: Me(Me({}, de), {}, { color: "transparent", display: "inline-block", height: Q, width: ne }) }, fe), H);
|
|
14058
14145
|
} }, { key: "render", value: function() {
|
|
14059
14146
|
var H = this.props, z = H.effect, ee = H.placeholderSrc, Q = H.visibleByDefault, ie = H.wrapperClassName, ne = H.wrapperProps, he = this.getLazyLoadImage();
|
|
14060
14147
|
return (z || ee) && !Q || ie || ne ? this.getWrappedLazyLoadImage(he) : he;
|
|
@@ -14166,6 +14253,7 @@ export {
|
|
|
14166
14253
|
AddIcon,
|
|
14167
14254
|
ArbitrumLogo,
|
|
14168
14255
|
ArrowDownwardIcon,
|
|
14256
|
+
ArrowEastIcon,
|
|
14169
14257
|
ArrowLeftIcon,
|
|
14170
14258
|
ArrowNorthEastIcon,
|
|
14171
14259
|
ArrowNorthWestIcon,
|
|
@@ -14178,6 +14266,7 @@ export {
|
|
|
14178
14266
|
Button,
|
|
14179
14267
|
Camelot,
|
|
14180
14268
|
CatalogLogo,
|
|
14269
|
+
CheckCircleIcon,
|
|
14181
14270
|
CheckIcon,
|
|
14182
14271
|
Chip,
|
|
14183
14272
|
ClockIcon,
|
|
@@ -14190,6 +14279,7 @@ export {
|
|
|
14190
14279
|
EditIcon,
|
|
14191
14280
|
EthereumLogo,
|
|
14192
14281
|
ExchangeIcon,
|
|
14282
|
+
FeesIcon,
|
|
14193
14283
|
Footer,
|
|
14194
14284
|
GMX,
|
|
14195
14285
|
GMXLogo,
|
|
@@ -14212,6 +14302,7 @@ export {
|
|
|
14212
14302
|
Modal,
|
|
14213
14303
|
Opacity,
|
|
14214
14304
|
OpenInFullIcon,
|
|
14305
|
+
OpenInNewIcon,
|
|
14215
14306
|
PageInfoIcon,
|
|
14216
14307
|
PancakeSwap,
|
|
14217
14308
|
PhantomIcon,
|