@gardenfi/garden-book 0.0.30 → 0.0.32
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/ui.es.js
CHANGED
|
@@ -141,15 +141,15 @@ function createParseClassName(e) {
|
|
|
141
141
|
function o(f) {
|
|
142
142
|
const l = [];
|
|
143
143
|
let c = 0, m = 0, E;
|
|
144
|
-
for (let
|
|
145
|
-
let d = f[
|
|
144
|
+
for (let L = 0; L < f.length; L++) {
|
|
145
|
+
let d = f[L];
|
|
146
146
|
if (c === 0) {
|
|
147
|
-
if (d === n && (s || f.slice(
|
|
148
|
-
l.push(f.slice(m,
|
|
147
|
+
if (d === n && (s || f.slice(L, L + a) === t)) {
|
|
148
|
+
l.push(f.slice(m, L)), m = L + a;
|
|
149
149
|
continue;
|
|
150
150
|
}
|
|
151
151
|
if (d === "/") {
|
|
152
|
-
E =
|
|
152
|
+
E = L;
|
|
153
153
|
continue;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
@@ -327,7 +327,7 @@ function isImage(e) {
|
|
|
327
327
|
return imageRegex.test(e);
|
|
328
328
|
}
|
|
329
329
|
function getDefaultConfig() {
|
|
330
|
-
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"), c = fromTheme("grayscale"), m = fromTheme("hueRotate"), E = fromTheme("invert"), u = fromTheme("gap"), P = fromTheme("gradientColorStops"), C = fromTheme("gradientColorStopPositions"), g = fromTheme("inset"),
|
|
330
|
+
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"), c = fromTheme("grayscale"), m = fromTheme("hueRotate"), E = fromTheme("invert"), u = fromTheme("gap"), P = fromTheme("gradientColorStops"), C = fromTheme("gradientColorStopPositions"), g = fromTheme("inset"), L = fromTheme("margin"), d = fromTheme("opacity"), y = fromTheme("padding"), p = fromTheme("saturate"), b = fromTheme("scale"), M = fromTheme("sepia"), A = fromTheme("skew"), T = fromTheme("space"), k = fromTheme("translate"), H = () => ["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"], F = () => [isNumber, isArbitraryNumber], G = () => [isNumber, isArbitraryValue];
|
|
331
331
|
return {
|
|
332
332
|
cacheSize: 500,
|
|
333
333
|
separator: ":",
|
|
@@ -342,7 +342,7 @@ function getDefaultConfig() {
|
|
|
342
342
|
borderWidth: Y(),
|
|
343
343
|
contrast: F(),
|
|
344
344
|
grayscale: S(),
|
|
345
|
-
hueRotate:
|
|
345
|
+
hueRotate: G(),
|
|
346
346
|
invert: S(),
|
|
347
347
|
gap: j(),
|
|
348
348
|
gradientColorStops: [e],
|
|
@@ -354,7 +354,7 @@ function getDefaultConfig() {
|
|
|
354
354
|
saturate: F(),
|
|
355
355
|
scale: F(),
|
|
356
356
|
sepia: S(),
|
|
357
|
-
skew:
|
|
357
|
+
skew: G(),
|
|
358
358
|
space: j(),
|
|
359
359
|
translate: j()
|
|
360
360
|
},
|
|
@@ -450,7 +450,7 @@ function getDefaultConfig() {
|
|
|
450
450
|
* @see https://tailwindcss.com/docs/object-position
|
|
451
451
|
*/
|
|
452
452
|
"object-position": [{
|
|
453
|
-
object: [...
|
|
453
|
+
object: [...Z(), isArbitraryValue]
|
|
454
454
|
}],
|
|
455
455
|
/**
|
|
456
456
|
* Overflow
|
|
@@ -478,21 +478,21 @@ function getDefaultConfig() {
|
|
|
478
478
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
479
479
|
*/
|
|
480
480
|
overscroll: [{
|
|
481
|
-
overscroll:
|
|
481
|
+
overscroll: H()
|
|
482
482
|
}],
|
|
483
483
|
/**
|
|
484
484
|
* Overscroll Behavior X
|
|
485
485
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
486
486
|
*/
|
|
487
487
|
"overscroll-x": [{
|
|
488
|
-
"overscroll-x":
|
|
488
|
+
"overscroll-x": H()
|
|
489
489
|
}],
|
|
490
490
|
/**
|
|
491
491
|
* Overscroll Behavior Y
|
|
492
492
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
493
493
|
*/
|
|
494
494
|
"overscroll-y": [{
|
|
495
|
-
"overscroll-y":
|
|
495
|
+
"overscroll-y": H()
|
|
496
496
|
}],
|
|
497
497
|
/**
|
|
498
498
|
* Position
|
|
@@ -858,63 +858,63 @@ function getDefaultConfig() {
|
|
|
858
858
|
* @see https://tailwindcss.com/docs/margin
|
|
859
859
|
*/
|
|
860
860
|
m: [{
|
|
861
|
-
m: [
|
|
861
|
+
m: [L]
|
|
862
862
|
}],
|
|
863
863
|
/**
|
|
864
864
|
* Margin X
|
|
865
865
|
* @see https://tailwindcss.com/docs/margin
|
|
866
866
|
*/
|
|
867
867
|
mx: [{
|
|
868
|
-
mx: [
|
|
868
|
+
mx: [L]
|
|
869
869
|
}],
|
|
870
870
|
/**
|
|
871
871
|
* Margin Y
|
|
872
872
|
* @see https://tailwindcss.com/docs/margin
|
|
873
873
|
*/
|
|
874
874
|
my: [{
|
|
875
|
-
my: [
|
|
875
|
+
my: [L]
|
|
876
876
|
}],
|
|
877
877
|
/**
|
|
878
878
|
* Margin Start
|
|
879
879
|
* @see https://tailwindcss.com/docs/margin
|
|
880
880
|
*/
|
|
881
881
|
ms: [{
|
|
882
|
-
ms: [
|
|
882
|
+
ms: [L]
|
|
883
883
|
}],
|
|
884
884
|
/**
|
|
885
885
|
* Margin End
|
|
886
886
|
* @see https://tailwindcss.com/docs/margin
|
|
887
887
|
*/
|
|
888
888
|
me: [{
|
|
889
|
-
me: [
|
|
889
|
+
me: [L]
|
|
890
890
|
}],
|
|
891
891
|
/**
|
|
892
892
|
* Margin Top
|
|
893
893
|
* @see https://tailwindcss.com/docs/margin
|
|
894
894
|
*/
|
|
895
895
|
mt: [{
|
|
896
|
-
mt: [
|
|
896
|
+
mt: [L]
|
|
897
897
|
}],
|
|
898
898
|
/**
|
|
899
899
|
* Margin Right
|
|
900
900
|
* @see https://tailwindcss.com/docs/margin
|
|
901
901
|
*/
|
|
902
902
|
mr: [{
|
|
903
|
-
mr: [
|
|
903
|
+
mr: [L]
|
|
904
904
|
}],
|
|
905
905
|
/**
|
|
906
906
|
* Margin Bottom
|
|
907
907
|
* @see https://tailwindcss.com/docs/margin
|
|
908
908
|
*/
|
|
909
909
|
mb: [{
|
|
910
|
-
mb: [
|
|
910
|
+
mb: [L]
|
|
911
911
|
}],
|
|
912
912
|
/**
|
|
913
913
|
* Margin Left
|
|
914
914
|
* @see https://tailwindcss.com/docs/margin
|
|
915
915
|
*/
|
|
916
916
|
ml: [{
|
|
917
|
-
ml: [
|
|
917
|
+
ml: [L]
|
|
918
918
|
}],
|
|
919
919
|
/**
|
|
920
920
|
* Space Between X
|
|
@@ -1259,7 +1259,7 @@ function getDefaultConfig() {
|
|
|
1259
1259
|
* @see https://tailwindcss.com/docs/background-position
|
|
1260
1260
|
*/
|
|
1261
1261
|
"bg-position": [{
|
|
1262
|
-
bg: [...
|
|
1262
|
+
bg: [...Z(), isArbitraryPosition]
|
|
1263
1263
|
}],
|
|
1264
1264
|
/**
|
|
1265
1265
|
* Background Repeat
|
|
@@ -1786,7 +1786,7 @@ function getDefaultConfig() {
|
|
|
1786
1786
|
* @see https://tailwindcss.com/docs/sepia
|
|
1787
1787
|
*/
|
|
1788
1788
|
sepia: [{
|
|
1789
|
-
sepia: [
|
|
1789
|
+
sepia: [M]
|
|
1790
1790
|
}],
|
|
1791
1791
|
/**
|
|
1792
1792
|
* Backdrop Filter
|
|
@@ -1857,7 +1857,7 @@ function getDefaultConfig() {
|
|
|
1857
1857
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1858
1858
|
*/
|
|
1859
1859
|
"backdrop-sepia": [{
|
|
1860
|
-
"backdrop-sepia": [
|
|
1860
|
+
"backdrop-sepia": [M]
|
|
1861
1861
|
}],
|
|
1862
1862
|
// Tables
|
|
1863
1863
|
/**
|
|
@@ -1915,7 +1915,7 @@ function getDefaultConfig() {
|
|
|
1915
1915
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
1916
1916
|
*/
|
|
1917
1917
|
duration: [{
|
|
1918
|
-
duration:
|
|
1918
|
+
duration: G()
|
|
1919
1919
|
}],
|
|
1920
1920
|
/**
|
|
1921
1921
|
* Transition Timing Function
|
|
@@ -1929,7 +1929,7 @@ function getDefaultConfig() {
|
|
|
1929
1929
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
1930
1930
|
*/
|
|
1931
1931
|
delay: [{
|
|
1932
|
-
delay:
|
|
1932
|
+
delay: G()
|
|
1933
1933
|
}],
|
|
1934
1934
|
/**
|
|
1935
1935
|
* Animation
|
|
@@ -1993,14 +1993,14 @@ function getDefaultConfig() {
|
|
|
1993
1993
|
* @see https://tailwindcss.com/docs/skew
|
|
1994
1994
|
*/
|
|
1995
1995
|
"skew-x": [{
|
|
1996
|
-
"skew-x": [
|
|
1996
|
+
"skew-x": [A]
|
|
1997
1997
|
}],
|
|
1998
1998
|
/**
|
|
1999
1999
|
* Skew Y
|
|
2000
2000
|
* @see https://tailwindcss.com/docs/skew
|
|
2001
2001
|
*/
|
|
2002
2002
|
"skew-y": [{
|
|
2003
|
-
"skew-y": [
|
|
2003
|
+
"skew-y": [A]
|
|
2004
2004
|
}],
|
|
2005
2005
|
/**
|
|
2006
2006
|
* Transform Origin
|
|
@@ -2368,14 +2368,14 @@ const falsyToString = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0
|
|
|
2368
2368
|
}, {}), l = t == null || (s = t.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((c, m) => {
|
|
2369
2369
|
let { class: E, className: u, ...P } = m;
|
|
2370
2370
|
return Object.entries(P).every((C) => {
|
|
2371
|
-
let [g,
|
|
2372
|
-
return Array.isArray(
|
|
2371
|
+
let [g, L] = C;
|
|
2372
|
+
return Array.isArray(L) ? L.includes({
|
|
2373
2373
|
...a,
|
|
2374
2374
|
...f
|
|
2375
2375
|
}[g]) : {
|
|
2376
2376
|
...a,
|
|
2377
2377
|
...f
|
|
2378
|
-
}[g] ===
|
|
2378
|
+
}[g] === L;
|
|
2379
2379
|
}) ? [
|
|
2380
2380
|
...c,
|
|
2381
2381
|
E,
|
|
@@ -2685,63 +2685,63 @@ 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 =
|
|
2688
|
+
function L(Z, _) {
|
|
2689
|
+
var I, x, S = Z.length, B, F, G, q;
|
|
2690
2690
|
for (x = 0; x < S; x += 1)
|
|
2691
|
-
if (I =
|
|
2691
|
+
if (I = Z[x], "ks" in I && !I.completed) {
|
|
2692
2692
|
if (I.completed = !0, I.hasMask) {
|
|
2693
2693
|
var $ = I.masksProperties;
|
|
2694
2694
|
for (F = $.length, B = 0; B < F; B += 1)
|
|
2695
2695
|
if ($[B].pt.k.i)
|
|
2696
|
-
|
|
2696
|
+
M($[B].pt.k);
|
|
2697
2697
|
else
|
|
2698
|
-
for (q = $[B].pt.k.length,
|
|
2699
|
-
$[B].pt.k[
|
|
2698
|
+
for (q = $[B].pt.k.length, G = 0; G < q; G += 1)
|
|
2699
|
+
$[B].pt.k[G].s && M($[B].pt.k[G].s[0]), $[B].pt.k[G].e && M($[B].pt.k[G].e[0]);
|
|
2700
2700
|
}
|
|
2701
|
-
I.ty === 0 ? (I.layers = p(I.refId, _),
|
|
2701
|
+
I.ty === 0 ? (I.layers = p(I.refId, _), L(I.layers, _)) : I.ty === 4 ? b(I.shapes) : I.ty === 5 && Y(I);
|
|
2702
2702
|
}
|
|
2703
2703
|
}
|
|
2704
|
-
function d(
|
|
2705
|
-
if (
|
|
2706
|
-
var I = 0, x =
|
|
2704
|
+
function d(Z, _) {
|
|
2705
|
+
if (Z) {
|
|
2706
|
+
var I = 0, x = Z.length;
|
|
2707
2707
|
for (I = 0; I < x; I += 1)
|
|
2708
|
-
|
|
2708
|
+
Z[I].t === 1 && (Z[I].data.layers = p(Z[I].data.refId, _), L(Z[I].data.layers, _));
|
|
2709
2709
|
}
|
|
2710
2710
|
}
|
|
2711
|
-
function y(
|
|
2711
|
+
function y(Z, _) {
|
|
2712
2712
|
for (var I = 0, x = _.length; I < x; ) {
|
|
2713
|
-
if (_[I].id ===
|
|
2713
|
+
if (_[I].id === Z)
|
|
2714
2714
|
return _[I];
|
|
2715
2715
|
I += 1;
|
|
2716
2716
|
}
|
|
2717
2717
|
return null;
|
|
2718
2718
|
}
|
|
2719
|
-
function p(
|
|
2720
|
-
var I = y(
|
|
2719
|
+
function p(Z, _) {
|
|
2720
|
+
var I = y(Z, _);
|
|
2721
2721
|
return I ? I.layers.__used ? JSON.parse(JSON.stringify(I.layers)) : (I.layers.__used = !0, I.layers) : null;
|
|
2722
2722
|
}
|
|
2723
|
-
function b(
|
|
2724
|
-
var _, I =
|
|
2723
|
+
function b(Z) {
|
|
2724
|
+
var _, I = Z.length, x, S;
|
|
2725
2725
|
for (_ = I - 1; _ >= 0; _ -= 1)
|
|
2726
|
-
if (
|
|
2727
|
-
if (
|
|
2728
|
-
|
|
2726
|
+
if (Z[_].ty === "sh")
|
|
2727
|
+
if (Z[_].ks.k.i)
|
|
2728
|
+
M(Z[_].ks.k);
|
|
2729
2729
|
else
|
|
2730
|
-
for (S =
|
|
2731
|
-
|
|
2732
|
-
else
|
|
2730
|
+
for (S = Z[_].ks.k.length, x = 0; x < S; x += 1)
|
|
2731
|
+
Z[_].ks.k[x].s && M(Z[_].ks.k[x].s[0]), Z[_].ks.k[x].e && M(Z[_].ks.k[x].e[0]);
|
|
2732
|
+
else Z[_].ty === "gr" && b(Z[_].it);
|
|
2733
2733
|
}
|
|
2734
|
-
function
|
|
2735
|
-
var _, I =
|
|
2734
|
+
function M(Z) {
|
|
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];
|
|
2738
2738
|
}
|
|
2739
|
-
function
|
|
2739
|
+
function A(Z, _) {
|
|
2740
2740
|
var I = _ ? _.split(".") : [100, 100, 100];
|
|
2741
|
-
return
|
|
2741
|
+
return Z[0] > I[0] ? !0 : I[0] > Z[0] ? !1 : Z[1] > I[1] ? !0 : I[1] > Z[1] ? !1 : Z[2] > I[2] ? !0 : I[2] > Z[2] ? !1 : null;
|
|
2742
2742
|
}
|
|
2743
2743
|
var T = /* @__PURE__ */ function() {
|
|
2744
|
-
var
|
|
2744
|
+
var Z = [4, 4, 14];
|
|
2745
2745
|
function _(x) {
|
|
2746
2746
|
var S = x.t.d;
|
|
2747
2747
|
x.t.d = {
|
|
@@ -2757,16 +2757,16 @@ var lottie$1 = { exports: {} };
|
|
|
2757
2757
|
x[S].ty === 5 && _(x[S]);
|
|
2758
2758
|
}
|
|
2759
2759
|
return function(x) {
|
|
2760
|
-
if (
|
|
2760
|
+
if (A(Z, x.v) && (I(x.layers), x.assets)) {
|
|
2761
2761
|
var S, B = x.assets.length;
|
|
2762
2762
|
for (S = 0; S < B; S += 1)
|
|
2763
2763
|
x.assets[S].layers && I(x.assets[S].layers);
|
|
2764
2764
|
}
|
|
2765
2765
|
};
|
|
2766
2766
|
}(), k = /* @__PURE__ */ function() {
|
|
2767
|
-
var
|
|
2767
|
+
var Z = [4, 7, 99];
|
|
2768
2768
|
return function(_) {
|
|
2769
|
-
if (_.chars && !
|
|
2769
|
+
if (_.chars && !A(Z, _.v)) {
|
|
2770
2770
|
var I, x = _.chars.length;
|
|
2771
2771
|
for (I = 0; I < x; I += 1) {
|
|
2772
2772
|
var S = _.chars[I];
|
|
@@ -2827,8 +2827,8 @@ var lottie$1 = { exports: {} };
|
|
|
2827
2827
|
}
|
|
2828
2828
|
}
|
|
2829
2829
|
};
|
|
2830
|
-
}(),
|
|
2831
|
-
var
|
|
2830
|
+
}(), H = /* @__PURE__ */ function() {
|
|
2831
|
+
var Z = [5, 7, 15];
|
|
2832
2832
|
function _(x) {
|
|
2833
2833
|
var S = x.t.p;
|
|
2834
2834
|
typeof S.a == "number" && (S.a = {
|
|
@@ -2848,22 +2848,22 @@ var lottie$1 = { exports: {} };
|
|
|
2848
2848
|
x[S].ty === 5 && _(x[S]);
|
|
2849
2849
|
}
|
|
2850
2850
|
return function(x) {
|
|
2851
|
-
if (
|
|
2851
|
+
if (A(Z, x.v) && (I(x.layers), x.assets)) {
|
|
2852
2852
|
var S, B = x.assets.length;
|
|
2853
2853
|
for (S = 0; S < B; S += 1)
|
|
2854
2854
|
x.assets[S].layers && I(x.assets[S].layers);
|
|
2855
2855
|
}
|
|
2856
2856
|
};
|
|
2857
2857
|
}(), X = /* @__PURE__ */ function() {
|
|
2858
|
-
var
|
|
2858
|
+
var Z = [4, 1, 9];
|
|
2859
2859
|
function _(x) {
|
|
2860
|
-
var S, B = x.length, F,
|
|
2860
|
+
var S, B = x.length, F, 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 (
|
|
2866
|
+
for (G = x[S].c.k.length, F = 0; F < G; F += 1)
|
|
2867
2867
|
x[S].c.k[F].s && (x[S].c.k[F].s[0] /= 255, x[S].c.k[F].s[1] /= 255, x[S].c.k[F].s[2] /= 255, x[S].c.k[F].s[3] /= 255), x[S].c.k[F].e && (x[S].c.k[F].e[0] /= 255, x[S].c.k[F].e[1] /= 255, x[S].c.k[F].e[2] /= 255, x[S].c.k[F].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;
|
|
@@ -2874,64 +2874,64 @@ var lottie$1 = { exports: {} };
|
|
|
2874
2874
|
x[S].ty === 4 && _(x[S].shapes);
|
|
2875
2875
|
}
|
|
2876
2876
|
return function(x) {
|
|
2877
|
-
if (
|
|
2877
|
+
if (A(Z, x.v) && (I(x.layers), x.assets)) {
|
|
2878
2878
|
var S, B = x.assets.length;
|
|
2879
2879
|
for (S = 0; S < B; S += 1)
|
|
2880
2880
|
x.assets[S].layers && I(x.assets[S].layers);
|
|
2881
2881
|
}
|
|
2882
2882
|
};
|
|
2883
2883
|
}(), N = /* @__PURE__ */ function() {
|
|
2884
|
-
var
|
|
2884
|
+
var Z = [4, 4, 18];
|
|
2885
2885
|
function _(x) {
|
|
2886
|
-
var S, B = x.length, F,
|
|
2886
|
+
var S, B = x.length, F, 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 (
|
|
2892
|
+
for (G = x[S].ks.k.length, F = 0; F < G; F += 1)
|
|
2893
2893
|
x[S].ks.k[F].s && (x[S].ks.k[F].s[0].c = x[S].closed), x[S].ks.k[F].e && (x[S].ks.k[F].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, F = x.length,
|
|
2897
|
+
var S, B, F = x.length, G, q, $, J;
|
|
2898
2898
|
for (B = 0; B < F; B += 1) {
|
|
2899
2899
|
if (S = x[B], S.hasMask) {
|
|
2900
2900
|
var re = S.masksProperties;
|
|
2901
|
-
for (q = re.length,
|
|
2902
|
-
if (re[
|
|
2903
|
-
re[
|
|
2901
|
+
for (q = re.length, G = 0; G < q; G += 1)
|
|
2902
|
+
if (re[G].pt.k.i)
|
|
2903
|
+
re[G].pt.k.c = re[G].cl;
|
|
2904
2904
|
else
|
|
2905
|
-
for (J = re[
|
|
2906
|
-
re[
|
|
2905
|
+
for (J = re[G].pt.k.length, $ = 0; $ < J; $ += 1)
|
|
2906
|
+
re[G].pt.k[$].s && (re[G].pt.k[$].s[0].c = re[G].cl), re[G].pt.k[$].e && (re[G].pt.k[$].e[0].c = re[G].cl);
|
|
2907
2907
|
}
|
|
2908
2908
|
S.ty === 4 && _(S.shapes);
|
|
2909
2909
|
}
|
|
2910
2910
|
}
|
|
2911
2911
|
return function(x) {
|
|
2912
|
-
if (
|
|
2912
|
+
if (A(Z, x.v) && (I(x.layers), x.assets)) {
|
|
2913
2913
|
var S, B = x.assets.length;
|
|
2914
2914
|
for (S = 0; S < B; S += 1)
|
|
2915
2915
|
x.assets[S].layers && I(x.assets[S].layers);
|
|
2916
2916
|
}
|
|
2917
2917
|
};
|
|
2918
2918
|
}();
|
|
2919
|
-
function j(
|
|
2920
|
-
|
|
2919
|
+
function j(Z) {
|
|
2920
|
+
Z.__complete || (X(Z), T(Z), k(Z), H(Z), N(Z), L(Z.layers, Z.assets), d(Z.chars, Z.assets), Z.__complete = !0);
|
|
2921
2921
|
}
|
|
2922
|
-
function Y(
|
|
2923
|
-
|
|
2922
|
+
function Y(Z) {
|
|
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 =
|
|
2926
|
+
return U.completeData = j, U.checkColors = X, U.checkChars = k, U.checkPathProperties = H, U.checkShapes = N, U.completeLayers = L, U;
|
|
2927
2927
|
}
|
|
2928
2928
|
if (a.dataManager || (a.dataManager = C()), a.assetLoader || (a.assetLoader = /* @__PURE__ */ function() {
|
|
2929
|
-
function
|
|
2929
|
+
function L(y) {
|
|
2930
2930
|
var p = y.getResponseHeader("content-type");
|
|
2931
2931
|
return p && y.responseType === "json" && p.indexOf("json") !== -1 || y.response && _typeof$5(y.response) === "object" ? y.response : y.response && typeof y.response == "string" ? JSON.parse(y.response) : y.responseText ? JSON.parse(y.responseText) : null;
|
|
2932
2932
|
}
|
|
2933
|
-
function d(y, p, b,
|
|
2934
|
-
var
|
|
2933
|
+
function d(y, p, b, M) {
|
|
2934
|
+
var A, T = new XMLHttpRequest();
|
|
2935
2935
|
try {
|
|
2936
2936
|
T.responseType = "json";
|
|
2937
2937
|
} catch {
|
|
@@ -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
|
-
|
|
2942
|
+
A = L(T), b(A);
|
|
2943
2943
|
else
|
|
2944
2944
|
try {
|
|
2945
|
-
|
|
2945
|
+
A = L(T), b(A);
|
|
2946
2946
|
} catch (k) {
|
|
2947
|
-
|
|
2947
|
+
M && M(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(L) {
|
|
2962
|
+
a.dataManager.completeData(L), a.postMessage({
|
|
2963
2963
|
id: P.data.id,
|
|
2964
|
-
payload:
|
|
2964
|
+
payload: L,
|
|
2965
2965
|
status: "success"
|
|
2966
2966
|
});
|
|
2967
2967
|
}, function() {
|
|
@@ -2977,10 +2977,10 @@ var lottie$1 = { exports: {} };
|
|
|
2977
2977
|
payload: g,
|
|
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(L) {
|
|
2981
2981
|
a.postMessage({
|
|
2982
2982
|
id: P.data.id,
|
|
2983
|
-
payload:
|
|
2983
|
+
payload: L,
|
|
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 (y) {
|
|
3057
|
-
var
|
|
3058
|
-
|
|
3057
|
+
var M = d.p;
|
|
3058
|
+
M.indexOf("images/") !== -1 && (M = M.split("/")[1]), b = y + M;
|
|
3059
3059
|
} else
|
|
3060
3060
|
b = p, b += d.u ? d.u : "", b += d.p;
|
|
3061
3061
|
return b;
|
|
@@ -3130,10 +3130,10 @@ var lottie$1 = { exports: {} };
|
|
|
3130
3130
|
function g(d, y) {
|
|
3131
3131
|
d === "svg" ? (this._elementHelper = y, this._createImageData = this.createImageData.bind(this)) : this._createImageData = this.createImgData.bind(this);
|
|
3132
3132
|
}
|
|
3133
|
-
function
|
|
3133
|
+
function L() {
|
|
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 L.prototype = {
|
|
3137
3137
|
loadAssets: l,
|
|
3138
3138
|
setAssetsPath: m,
|
|
3139
3139
|
setPath: c,
|
|
@@ -3146,7 +3146,7 @@ var lottie$1 = { exports: {} };
|
|
|
3146
3146
|
imageLoaded: t,
|
|
3147
3147
|
footageLoaded: i,
|
|
3148
3148
|
setCacheType: g
|
|
3149
|
-
},
|
|
3149
|
+
}, L;
|
|
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 L(_) {
|
|
3523
3523
|
var I;
|
|
3524
3524
|
for (I = 0; I < s; I += 1)
|
|
3525
3525
|
t[I].animation.play(_);
|
|
@@ -3543,12 +3543,12 @@ 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 M(_) {
|
|
3547
3547
|
var I;
|
|
3548
3548
|
for (I = 0; I < s; I += 1)
|
|
3549
3549
|
t[I].animation.stop(_);
|
|
3550
3550
|
}
|
|
3551
|
-
function
|
|
3551
|
+
function A(_) {
|
|
3552
3552
|
var I;
|
|
3553
3553
|
for (I = 0; I < s; I += 1)
|
|
3554
3554
|
t[I].animation.togglePause(_);
|
|
@@ -3564,13 +3564,13 @@ var lottie$1 = { exports: {} };
|
|
|
3564
3564
|
x && S[B].setAttribute("data-bm-type", x), l(S[B], _);
|
|
3565
3565
|
if (I && F === 0) {
|
|
3566
3566
|
x || (x = "svg");
|
|
3567
|
-
var
|
|
3568
|
-
|
|
3567
|
+
var G = document.getElementsByTagName("body")[0];
|
|
3568
|
+
G.innerText = "";
|
|
3569
3569
|
var q = createTag("div");
|
|
3570
|
-
q.style.width = "100%", q.style.height = "100%", q.setAttribute("data-bm-type", x),
|
|
3570
|
+
q.style.width = "100%", q.style.height = "100%", q.setAttribute("data-bm-type", x), G.appendChild(q), l(q, _);
|
|
3571
3571
|
}
|
|
3572
3572
|
}
|
|
3573
|
-
function
|
|
3573
|
+
function H() {
|
|
3574
3574
|
var _;
|
|
3575
3575
|
for (_ = 0; _ < s; _ += 1)
|
|
3576
3576
|
t[_].animation.resize();
|
|
@@ -3594,21 +3594,21 @@ var lottie$1 = { exports: {} };
|
|
|
3594
3594
|
for (I = 0; I < s; I += 1)
|
|
3595
3595
|
t[I].animation.mute(_);
|
|
3596
3596
|
}
|
|
3597
|
-
function
|
|
3597
|
+
function Z(_) {
|
|
3598
3598
|
var I;
|
|
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 = g, e.play =
|
|
3602
|
+
return e.registerAnimation = l, e.loadAnimation = P, e.setSpeed = C, e.setDirection = g, e.play = L, e.pause = p, e.stop = M, e.togglePause = A, e.searchAnimations = k, e.resize = H, e.goToAndStop = b, e.destroy = T, e.freeze = N, e.unfreeze = j, e.setVolume = Y, e.mute = U, e.unmute = Z, e.getRegisteredAnimations = c, e;
|
|
3603
3603
|
}(), BezierFactory = function() {
|
|
3604
3604
|
var e = {};
|
|
3605
3605
|
e.getBezierEasing = i;
|
|
3606
3606
|
var t = {};
|
|
3607
|
-
function i(y, p, b,
|
|
3608
|
-
var T =
|
|
3607
|
+
function i(y, p, b, M, A) {
|
|
3608
|
+
var T = A || ("bez_" + y + "_" + p + "_" + b + "_" + M).replace(/\./g, "p");
|
|
3609
3609
|
if (t[T])
|
|
3610
3610
|
return t[T];
|
|
3611
|
-
var k = new d([y, p, b,
|
|
3611
|
+
var k = new d([y, p, b, M]);
|
|
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), c = typeof Float32Array == "function";
|
|
@@ -3627,18 +3627,18 @@ var lottie$1 = { exports: {} };
|
|
|
3627
3627
|
function C(y, p, b) {
|
|
3628
3628
|
return 3 * m(p, b) * y * y + 2 * E(p, b) * y + u(p);
|
|
3629
3629
|
}
|
|
3630
|
-
function g(y, p, b,
|
|
3631
|
-
var T, k,
|
|
3630
|
+
function g(y, p, b, M, A) {
|
|
3631
|
+
var T, k, H = 0;
|
|
3632
3632
|
do
|
|
3633
|
-
k = p + (b - p) / 2, T = P(k,
|
|
3634
|
-
while (Math.abs(T) > a && ++
|
|
3633
|
+
k = p + (b - p) / 2, T = P(k, M, A) - y, T > 0 ? b = k : p = k;
|
|
3634
|
+
while (Math.abs(T) > a && ++H < o);
|
|
3635
3635
|
return k;
|
|
3636
3636
|
}
|
|
3637
|
-
function
|
|
3638
|
-
for (var
|
|
3639
|
-
var T = C(p, b,
|
|
3637
|
+
function L(y, p, b, M) {
|
|
3638
|
+
for (var A = 0; A < s; ++A) {
|
|
3639
|
+
var T = C(p, b, M);
|
|
3640
3640
|
if (T === 0) return p;
|
|
3641
|
-
var k = P(p, b,
|
|
3641
|
+
var k = P(p, b, M) - y;
|
|
3642
3642
|
p -= k / T;
|
|
3643
3643
|
}
|
|
3644
3644
|
return p;
|
|
@@ -3648,27 +3648,27 @@ var lottie$1 = { exports: {} };
|
|
|
3648
3648
|
}
|
|
3649
3649
|
return d.prototype = {
|
|
3650
3650
|
get: function(p) {
|
|
3651
|
-
var b = this._p[0],
|
|
3652
|
-
return this._precomputed || this._precompute(), b ===
|
|
3651
|
+
var b = this._p[0], M = this._p[1], A = this._p[2], T = this._p[3];
|
|
3652
|
+
return this._precomputed || this._precompute(), b === M && A === T ? p : p === 0 ? 0 : p === 1 ? 1 : P(this._getTForX(p), M, T);
|
|
3653
3653
|
},
|
|
3654
3654
|
// Private part
|
|
3655
3655
|
_precompute: function() {
|
|
3656
|
-
var p = this._p[0], b = this._p[1],
|
|
3657
|
-
this._precomputed = !0, (p !== b ||
|
|
3656
|
+
var p = this._p[0], b = this._p[1], M = this._p[2], A = this._p[3];
|
|
3657
|
+
this._precomputed = !0, (p !== b || M !== A) && this._calcSampleValues();
|
|
3658
3658
|
},
|
|
3659
3659
|
_calcSampleValues: function() {
|
|
3660
|
-
for (var p = this._p[0], b = this._p[2],
|
|
3661
|
-
this._mSampleValues[
|
|
3660
|
+
for (var p = this._p[0], b = this._p[2], M = 0; M < f; ++M)
|
|
3661
|
+
this._mSampleValues[M] = P(M * l, p, 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(p) {
|
|
3667
|
-
for (var b = this._p[0],
|
|
3667
|
+
for (var b = this._p[0], M = this._p[2], A = this._mSampleValues, T = 0, k = 1, H = f - 1; k !== H && A[k] <= p; ++k)
|
|
3668
3668
|
T += l;
|
|
3669
3669
|
--k;
|
|
3670
|
-
var X = (p -
|
|
3671
|
-
return j >= n ?
|
|
3670
|
+
var X = (p - A[k]) / (A[k + 1] - A[k]), N = T + X * l, j = C(N, b, M);
|
|
3671
|
+
return j >= n ? L(p, N, b, M) : j === 0 ? N : g(p, T, T + l, b, M);
|
|
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, g,
|
|
3723
|
-
var y = u * g + P *
|
|
3722
|
+
function t(u, P, C, g, L, d) {
|
|
3723
|
+
var y = u * g + P * L + C * d - L * g - d * u - C * P;
|
|
3724
3724
|
return y > -1e-3 && y < 1e-3;
|
|
3725
3725
|
}
|
|
3726
|
-
function i(u, P, C, g,
|
|
3726
|
+
function i(u, P, C, g, L, d, y, p, b) {
|
|
3727
3727
|
if (C === 0 && d === 0 && b === 0)
|
|
3728
|
-
return t(u, P, g,
|
|
3729
|
-
var
|
|
3730
|
-
return
|
|
3728
|
+
return t(u, P, g, L, y, p);
|
|
3729
|
+
var M = e.sqrt(e.pow(g - u, 2) + e.pow(L - P, 2) + e.pow(d - C, 2)), A = e.sqrt(e.pow(y - u, 2) + e.pow(p - P, 2) + e.pow(b - C, 2)), T = e.sqrt(e.pow(y - g, 2) + e.pow(p - L, 2) + e.pow(b - d, 2)), k;
|
|
3730
|
+
return M > A ? M > T ? k = M - A - T : k = T - A - M : T > A ? k = T - A - M : k = A - M - T, k > -1e-4 && k < 1e-4;
|
|
3731
3731
|
}
|
|
3732
3732
|
var s = /* @__PURE__ */ function() {
|
|
3733
3733
|
return function(u, P, C, g) {
|
|
3734
|
-
var
|
|
3735
|
-
for (p = C.length, d = 0; d <
|
|
3736
|
-
for (
|
|
3737
|
-
b = bmPow(1 -
|
|
3738
|
-
T && (T = bmSqrt(T),
|
|
3734
|
+
var L = getDefaultCurveSegments(), d, y, p, b, M, A = 0, T, k = [], H = [], X = bezierLengthPool.newElement();
|
|
3735
|
+
for (p = C.length, d = 0; d < L; d += 1) {
|
|
3736
|
+
for (M = d / (L - 1), T = 0, y = 0; y < p; y += 1)
|
|
3737
|
+
b = bmPow(1 - M, 3) * u[y] + 3 * bmPow(1 - M, 2) * M * C[y] + 3 * (1 - M) * bmPow(M, 2) * g[y] + bmPow(M, 3) * P[y], k[y] = b, H[y] !== null && (T += bmPow(k[y] - H[y], 2)), H[y] = k[y];
|
|
3738
|
+
T && (T = bmSqrt(T), A += T), X.percents[d] = M, X.lengths[d] = A;
|
|
3739
3739
|
}
|
|
3740
|
-
return X.addedLength =
|
|
3740
|
+
return X.addedLength = A, X;
|
|
3741
3741
|
};
|
|
3742
3742
|
}();
|
|
3743
3743
|
function n(u) {
|
|
3744
|
-
var P = segmentsLengthPool.newElement(), C = u.c, g = u.v,
|
|
3744
|
+
var P = segmentsLengthPool.newElement(), C = u.c, g = u.v, L = u.o, d = u.i, y, p = u._length, b = P.lengths, M = 0;
|
|
3745
3745
|
for (y = 0; y < p - 1; y += 1)
|
|
3746
|
-
b[y] = s(g[y], g[y + 1],
|
|
3747
|
-
return C && p && (b[y] = s(g[y], g[0],
|
|
3746
|
+
b[y] = s(g[y], g[y + 1], L[y], d[y + 1]), M += b[y].addedLength;
|
|
3747
|
+
return C && p && (b[y] = s(g[y], g[0], L[y], d[0]), M += b[y].addedLength), P.totalLength = M, P;
|
|
3748
3748
|
}
|
|
3749
3749
|
function a(u) {
|
|
3750
3750
|
this.segmentLength = 0, this.points = new Array(u);
|
|
@@ -3754,16 +3754,16 @@ var lottie$1 = { exports: {} };
|
|
|
3754
3754
|
}
|
|
3755
3755
|
var f = /* @__PURE__ */ function() {
|
|
3756
3756
|
var u = {};
|
|
3757
|
-
return function(P, C, g,
|
|
3758
|
-
var d = (P[0] + "_" + P[1] + "_" + C[0] + "_" + C[1] + "_" + g[0] + "_" + g[1] + "_" +
|
|
3757
|
+
return function(P, C, g, L) {
|
|
3758
|
+
var d = (P[0] + "_" + P[1] + "_" + C[0] + "_" + C[1] + "_" + g[0] + "_" + g[1] + "_" + L[0] + "_" + L[1]).replace(/\./g, "p");
|
|
3759
3759
|
if (!u[d]) {
|
|
3760
|
-
var y = getDefaultCurveSegments(), p, b,
|
|
3761
|
-
P.length === 2 && (P[0] !== C[0] || P[1] !== C[1]) && t(P[0], P[1], C[0], C[1], P[0] + g[0], P[1] + g[1]) && t(P[0], P[1], C[0], C[1], C[0] +
|
|
3760
|
+
var y = getDefaultCurveSegments(), p, b, M, A, T, k = 0, H, 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] + g[0], P[1] + g[1]) && t(P[0], P[1], C[0], C[1], C[0] + L[0], C[1] + L[1]) && (y = 2);
|
|
3762
3762
|
var j = new a(y);
|
|
3763
|
-
for (
|
|
3764
|
-
for (X = createSizedArray(
|
|
3765
|
-
|
|
3766
|
-
|
|
3763
|
+
for (M = g.length, p = 0; p < y; p += 1) {
|
|
3764
|
+
for (X = createSizedArray(M), T = p / (y - 1), H = 0, b = 0; b < M; b += 1)
|
|
3765
|
+
A = bmPow(1 - T, 3) * P[b] + 3 * bmPow(1 - T, 2) * T * (P[b] + g[b]) + 3 * (1 - T) * bmPow(T, 2) * (C[b] + L[b]) + bmPow(T, 3) * C[b], X[b] = A, N !== null && (H += bmPow(X[b] - N[b], 2));
|
|
3766
|
+
H = bmSqrt(H), k += H, j.points[p] = new o(H, X), N = X;
|
|
3767
3767
|
}
|
|
3768
3768
|
j.segmentLength = k, u[d] = j;
|
|
3769
3769
|
}
|
|
@@ -3771,29 +3771,29 @@ var lottie$1 = { exports: {} };
|
|
|
3771
3771
|
};
|
|
3772
3772
|
}();
|
|
3773
3773
|
function l(u, P) {
|
|
3774
|
-
var C = P.percents, g = P.lengths,
|
|
3775
|
-
if (d ===
|
|
3774
|
+
var C = P.percents, g = P.lengths, L = C.length, d = bmFloor((L - 1) * u), y = u * P.addedLength, p = 0;
|
|
3775
|
+
if (d === L - 1 || d === 0 || y === g[d])
|
|
3776
3776
|
return C[d];
|
|
3777
|
-
for (var b = g[d] > y ? -1 : 1,
|
|
3778
|
-
if (g[d] <= y && g[d + 1] > y ? (p = (y - g[d]) / (g[d + 1] - g[d]),
|
|
3779
|
-
if (d ===
|
|
3777
|
+
for (var b = g[d] > y ? -1 : 1, M = !0; M; )
|
|
3778
|
+
if (g[d] <= y && g[d + 1] > y ? (p = (y - g[d]) / (g[d + 1] - g[d]), M = !1) : d += b, d < 0 || d >= L - 1) {
|
|
3779
|
+
if (d === L - 1)
|
|
3780
3780
|
return C[d];
|
|
3781
|
-
|
|
3781
|
+
M = !1;
|
|
3782
3782
|
}
|
|
3783
3783
|
return C[d] + (C[d + 1] - C[d]) * p;
|
|
3784
3784
|
}
|
|
3785
|
-
function c(u, P, C, g,
|
|
3786
|
-
var y = l(
|
|
3787
|
-
return [b,
|
|
3785
|
+
function c(u, P, C, g, L, d) {
|
|
3786
|
+
var y = l(L, d), p = 1 - y, b = e.round((p * p * p * u[0] + (y * p * p + p * y * p + p * p * y) * C[0] + (y * y * p + p * y * y + y * p * y) * g[0] + y * y * y * P[0]) * 1e3) / 1e3, M = e.round((p * p * p * u[1] + (y * p * p + p * y * p + p * p * y) * C[1] + (y * y * p + p * y * y + y * p * y) * g[1] + y * y * y * P[1]) * 1e3) / 1e3;
|
|
3787
|
+
return [b, M];
|
|
3788
3788
|
}
|
|
3789
3789
|
var m = createTypedArray("float32", 8);
|
|
3790
|
-
function E(u, P, C, g,
|
|
3791
|
-
|
|
3792
|
-
var p = l(
|
|
3790
|
+
function E(u, P, C, g, L, d, y) {
|
|
3791
|
+
L < 0 ? L = 0 : L > 1 && (L = 1);
|
|
3792
|
+
var p = l(L, y);
|
|
3793
3793
|
d = d > 1 ? 1 : d;
|
|
3794
|
-
var b = l(d, y),
|
|
3795
|
-
for (
|
|
3796
|
-
m[
|
|
3794
|
+
var b = l(d, y), M, A = u.length, T = 1 - p, k = 1 - b, H = T * T * T, X = p * T * T * 3, N = p * p * T * 3, j = p * p * p, Y = T * T * k, U = p * T * k + T * p * k + T * T * b, Z = p * p * k + T * p * b + p * T * b, _ = p * p * b, I = T * k * k, x = p * k * k + T * b * k + T * k * b, S = p * b * k + T * b * b + p * k * b, B = p * b * b, F = 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 (M = 0; M < A; M += 1)
|
|
3796
|
+
m[M * 4] = e.round((H * u[M] + X * C[M] + N * g[M] + j * P[M]) * 1e3) / 1e3, m[M * 4 + 1] = e.round((Y * u[M] + U * C[M] + Z * g[M] + _ * P[M]) * 1e3) / 1e3, m[M * 4 + 2] = e.round((I * u[M] + x * C[M] + S * g[M] + B * P[M]) * 1e3) / 1e3, m[M * 4 + 3] = e.round((F * u[M] + G * C[M] + q * g[M] + $ * P[M]) * 1e3) / 1e3;
|
|
3797
3797
|
return m;
|
|
3798
3798
|
}
|
|
3799
3799
|
return {
|
|
@@ -3821,24 +3821,24 @@ 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, g,
|
|
3824
|
+
var E, u, P, C, g, L, d = c.t - i, y = l.t - i, p;
|
|
3825
3825
|
if (l.to) {
|
|
3826
3826
|
m.bezierData || (m.bezierData = bez.buildBezierData(l.s, c.s || l.e, l.to, l.ti));
|
|
3827
3827
|
var b = m.bezierData;
|
|
3828
3828
|
if (e >= d || e < y) {
|
|
3829
|
-
var
|
|
3830
|
-
for (u = b.points[
|
|
3831
|
-
s[E] = b.points[
|
|
3829
|
+
var M = e >= d ? b.points.length - 1 : 0;
|
|
3830
|
+
for (u = b.points[M].point.length, E = 0; E < u; E += 1)
|
|
3831
|
+
s[E] = b.points[M].point[E];
|
|
3832
3832
|
} else {
|
|
3833
|
-
m.__fnct ?
|
|
3834
|
-
var
|
|
3833
|
+
m.__fnct ? L = m.__fnct : (L = BezierFactory.getBezierEasing(l.o.x, l.o.y, l.i.x, l.i.y, l.n).get, m.__fnct = L), P = L((e - y) / (d - y));
|
|
3834
|
+
var A = b.segmentLength * P, T, k = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastAddedLength : 0;
|
|
3835
3835
|
for (g = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastPoint : 0, f = !0, C = b.points.length; f; ) {
|
|
3836
|
-
if (k += b.points[g].partialLength,
|
|
3836
|
+
if (k += b.points[g].partialLength, A === 0 || P === 0 || g === b.points.length - 1) {
|
|
3837
3837
|
for (u = b.points[g].point.length, E = 0; E < u; E += 1)
|
|
3838
3838
|
s[E] = b.points[g].point[E];
|
|
3839
3839
|
break;
|
|
3840
|
-
} else if (
|
|
3841
|
-
for (T = (
|
|
3840
|
+
} else if (A >= k && A < k + b.points[g + 1].partialLength) {
|
|
3841
|
+
for (T = (A - k) / b.points[g + 1].partialLength, u = b.points[g].point.length, E = 0; E < u; E += 1)
|
|
3842
3842
|
s[E] = b.points[g].point[E] + (b.points[g + 1].point[E] - b.points[g].point[E]) * T;
|
|
3843
3843
|
break;
|
|
3844
3844
|
}
|
|
@@ -3847,25 +3847,25 @@ var lottie$1 = { exports: {} };
|
|
|
3847
3847
|
t._lastPoint = g, t._lastAddedLength = k - b.points[g].partialLength, t._lastKeyframeIndex = a;
|
|
3848
3848
|
}
|
|
3849
3849
|
} else {
|
|
3850
|
-
var
|
|
3850
|
+
var H, X, N, j, Y;
|
|
3851
3851
|
if (o = l.s.length, p = c.s || l.e, this.sh && l.h !== 1)
|
|
3852
3852
|
if (e >= d)
|
|
3853
3853
|
s[0] = p[0], s[1] = p[1], s[2] = p[2];
|
|
3854
3854
|
else if (e <= y)
|
|
3855
3855
|
s[0] = l.s[0], s[1] = l.s[1], s[2] = l.s[2];
|
|
3856
3856
|
else {
|
|
3857
|
-
var U = createQuaternion(l.s),
|
|
3858
|
-
quaternionToEuler(s, slerp(U,
|
|
3857
|
+
var U = createQuaternion(l.s), Z = createQuaternion(p), _ = (e - y) / (d - y);
|
|
3858
|
+
quaternionToEuler(s, slerp(U, Z, _));
|
|
3859
3859
|
}
|
|
3860
3860
|
else
|
|
3861
3861
|
for (a = 0; a < o; a += 1)
|
|
3862
|
-
l.h !== 1 && (e >= d ? P = 1 : e < y ? P = 0 : (l.o.x.constructor === Array ? (m.__fnct || (m.__fnct = []), m.__fnct[a] ?
|
|
3862
|
+
l.h !== 1 && (e >= d ? P = 1 : e < y ? P = 0 : (l.o.x.constructor === Array ? (m.__fnct || (m.__fnct = []), m.__fnct[a] ? L = m.__fnct[a] : (H = 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], L = BezierFactory.getBezierEasing(H, X, N, j).get, m.__fnct[a] = L)) : m.__fnct ? L = m.__fnct : (H = l.o.x, X = l.o.y, N = l.i.x, j = l.i.y, L = BezierFactory.getBezierEasing(H, X, N, j).get, l.keyframeMetadata = L), P = L((e - y) / (d - y)))), p = c.s || l.e, Y = l.h === 1 ? l.s[a] : l.s[a] + (p[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], c = t[1], m = t[2], E = t[3], u, P, C, g,
|
|
3868
|
-
return P = n * l + a * c + o * m + f * E, P < 0 && (P = -P, l = -l, c = -c, m = -m, E = -E), 1 - P > 1e-6 ? (u = Math.acos(P), C = Math.sin(u), g = Math.sin((1 - i) * u) / C,
|
|
3867
|
+
var s = [], n = e[0], a = e[1], o = e[2], f = e[3], l = t[0], c = t[1], m = t[2], E = t[3], u, P, C, g, L;
|
|
3868
|
+
return P = n * l + a * c + o * m + f * E, P < 0 && (P = -P, l = -l, c = -c, m = -m, E = -E), 1 - P > 1e-6 ? (u = Math.acos(P), C = Math.sin(u), g = Math.sin((1 - i) * u) / C, L = Math.sin(i * u) / C) : (g = 1 - i, L = i), s[0] = g * n + L * l, s[1] = g * a + L * c, s[2] = g * o + L * m, s[3] = g * f + L * 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,15 +4080,15 @@ var lottie$1 = { exports: {} };
|
|
|
4080
4080
|
}(), ShapePropertyFactory = function() {
|
|
4081
4081
|
var e = -999999;
|
|
4082
4082
|
function t(d, y, p) {
|
|
4083
|
-
var b = p.lastIndex,
|
|
4083
|
+
var b = p.lastIndex, M, A, T, k, H, X, N, j, Y, U = this.keyframes;
|
|
4084
4084
|
if (d < U[0].t - this.offsetTime)
|
|
4085
|
-
|
|
4085
|
+
M = U[0].s[0], T = !0, b = 0;
|
|
4086
4086
|
else if (d >= U[U.length - 1].t - this.offsetTime)
|
|
4087
|
-
|
|
4087
|
+
M = U[U.length - 1].s ? U[U.length - 1].s[0] : U[U.length - 2].e[0], T = !0;
|
|
4088
4088
|
else {
|
|
4089
|
-
for (var
|
|
4090
|
-
|
|
4091
|
-
if (B = this.keyframesMetadata[
|
|
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
|
+
Z < _ - 1 ? Z += 1 : I = !1;
|
|
4091
|
+
if (B = this.keyframesMetadata[Z] || {}, T = x.h === 1, b = Z, !T) {
|
|
4092
4092
|
if (d >= S.t - this.offsetTime)
|
|
4093
4093
|
j = 1;
|
|
4094
4094
|
else if (d < x.t - this.offsetTime)
|
|
@@ -4097,13 +4097,13 @@ var lottie$1 = { exports: {} };
|
|
|
4097
4097
|
var F;
|
|
4098
4098
|
B.__fnct ? F = B.__fnct : (F = BezierFactory.getBezierEasing(x.o.x, x.o.y, x.i.x, x.i.y).get, B.__fnct = F), j = F((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
|
+
M = x.s[0];
|
|
4103
4103
|
}
|
|
4104
|
-
for (X = y._length, N =
|
|
4105
|
-
for (
|
|
4106
|
-
Y = T ?
|
|
4104
|
+
for (X = y._length, N = M.i[0].length, p.lastIndex = b, k = 0; k < X; k += 1)
|
|
4105
|
+
for (H = 0; H < N; H += 1)
|
|
4106
|
+
Y = T ? M.i[k][H] : M.i[k][H] + (A.i[k][H] - M.i[k][H]) * j, y.i[k][H] = Y, Y = T ? M.o[k][H] : M.o[k][H] + (A.o[k][H] - M.o[k][H]) * j, y.o[k][H] = Y, Y = T ? M.v[k][H] : M.v[k][H] + (A.v[k][H] - M.v[k][H]) * j, y.v[k][H] = Y;
|
|
4107
4107
|
}
|
|
4108
4108
|
function i() {
|
|
4109
4109
|
var d = this.comp.renderedFrame - this.offsetTime, y = this.keyframes[0].t - this.offsetTime, p = 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
|
-
|
|
4175
|
+
var b = this.p.v[0], M = this.p.v[1], A = this.s.v[0] / 2, T = this.s.v[1] / 2, k = this.d !== 3, H = this.v;
|
|
4176
|
+
H.v[0][0] = b, H.v[0][1] = M - T, H.v[1][0] = k ? b + A : b - A, H.v[1][1] = M, H.v[2][0] = b, H.v[2][1] = M + T, H.v[3][0] = k ? b - A : b + A, H.v[3][1] = M, H.i[0][0] = k ? b - A * d : b + A * d, H.i[0][1] = M - T, H.i[1][0] = k ? b + A : b - A, H.i[1][1] = M - T * d, H.i[2][0] = k ? b + A * d : b - A * d, H.i[2][1] = M + T, H.i[3][0] = k ? b - A : b + A, H.i[3][1] = M + T * d, H.o[0][0] = k ? b + A * d : b - A * d, H.o[0][1] = M - T, H.o[1][0] = k ? b + A : b - A, H.o[1][1] = M + T * d, H.o[2][0] = k ? b - A * d : b + A * d, H.o[2][1] = M + T, H.o[3][0] = k ? b - A : b + A, H.o[3][1] = M - T * d;
|
|
4177
4177
|
}
|
|
4178
4178
|
}, extendPrototype([DynamicPropertyContainer], y), y;
|
|
4179
4179
|
}(), E = function() {
|
|
@@ -4186,20 +4186,20 @@ 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 p = Math.floor(this.pt.v) * 2, b = Math.PI * 2 / p,
|
|
4189
|
+
var p = Math.floor(this.pt.v) * 2, b = Math.PI * 2 / p, M = !0, A = this.or.v, T = this.ir.v, k = this.os.v, H = this.is.v, X = 2 * Math.PI * A / (p * 2), N = 2 * Math.PI * T / (p * 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 < p; j += 1) {
|
|
4193
|
-
Y =
|
|
4193
|
+
Y = M ? A : T, U = M ? k : H, Z = M ? X : N;
|
|
4194
4194
|
var x = Y * Math.cos(_), S = Y * Math.sin(_), B = x === 0 && S === 0 ? 0 : S / Math.sqrt(x * x + S * S), F = 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 *
|
|
4195
|
+
x += +this.p.v[0], S += +this.p.v[1], this.v.setTripleAt(x, S, x - B * Z * U * I, S - F * Z * U * I, x + B * Z * U * I, S + F * Z * U * I, j, !0), M = !M, _ += b * I;
|
|
4196
4196
|
}
|
|
4197
4197
|
},
|
|
4198
4198
|
convertPolygonToPath: function() {
|
|
4199
|
-
var p = Math.floor(this.pt.v), b = Math.PI * 2 / p,
|
|
4200
|
-
for (
|
|
4201
|
-
var N =
|
|
4202
|
-
N += +this.p.v[0], j += +this.p.v[1], this.v.setTripleAt(N, j, N - Y * T *
|
|
4199
|
+
var p = Math.floor(this.pt.v), b = Math.PI * 2 / p, M = this.or.v, A = this.os.v, T = 2 * Math.PI * M / (p * 4), k, H = -Math.PI * 0.5, X = this.data.d === 3 ? -1 : 1;
|
|
4200
|
+
for (H += this.r.v, this.v._length = 0, k = 0; k < p; k += 1) {
|
|
4201
|
+
var N = M * Math.cos(H), j = M * Math.sin(H), 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
|
+
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), H += b * X;
|
|
4203
4203
|
}
|
|
4204
4204
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
4205
4205
|
}
|
|
@@ -4210,8 +4210,8 @@ var lottie$1 = { exports: {} };
|
|
|
4210
4210
|
}
|
|
4211
4211
|
return d.prototype = {
|
|
4212
4212
|
convertRectToPath: function() {
|
|
4213
|
-
var p = this.p.v[0], b = this.p.v[1],
|
|
4214
|
-
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(p +
|
|
4213
|
+
var p = this.p.v[0], b = this.p.v[1], M = this.s.v[0] / 2, A = this.s.v[1] / 2, T = bmMin(M, A, this.r.v), k = T * (1 - roundCorner);
|
|
4214
|
+
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(p + M, b - A + T, p + M, b - A + T, p + M, b - A + k, 0, !0), this.v.setTripleAt(p + M, b + A - T, p + M, b + A - k, p + M, b + A - T, 1, !0), T !== 0 ? (this.v.setTripleAt(p + M - T, b + A, p + M - T, b + A, p + M - k, b + A, 2, !0), this.v.setTripleAt(p - M + T, b + A, p - M + k, b + A, p - M + T, b + A, 3, !0), this.v.setTripleAt(p - M, b + A - T, p - M, b + A - T, p - M, b + A - k, 4, !0), this.v.setTripleAt(p - M, b - A + T, p - M, b - A + k, p - M, b - A + T, 5, !0), this.v.setTripleAt(p - M + T, b - A, p - M + T, b - A, p - M + k, b - A, 6, !0), this.v.setTripleAt(p + M - T, b - A, p + M - k, b - A, p + M - T, b - A, 7, !0)) : (this.v.setTripleAt(p - M, b + A, p - M + k, b + A, p - M, b + A, 2), this.v.setTripleAt(p - M, b - A, p - M, b - A + k, p - M, b - A, 3))) : (this.v.setTripleAt(p + M, b - A + T, p + M, b - A + k, p + M, b - A + T, 0, !0), T !== 0 ? (this.v.setTripleAt(p + M - T, b - A, p + M - T, b - A, p + M - k, b - A, 1, !0), this.v.setTripleAt(p - M + T, b - A, p - M + k, b - A, p - M + T, b - A, 2, !0), this.v.setTripleAt(p - M, b - A + T, p - M, b - A + T, p - M, b - A + k, 3, !0), this.v.setTripleAt(p - M, b + A - T, p - M, b + A - k, p - M, b + A - T, 4, !0), this.v.setTripleAt(p - M + T, b + A, p - M + T, b + A, p - M + k, b + A, 5, !0), this.v.setTripleAt(p + M - T, b + A, p + M - k, b + A, p + M - T, b + A, 6, !0), this.v.setTripleAt(p + M, b + A - T, p + M, b + A - T, p + M, b + A - k, 7, !0)) : (this.v.setTripleAt(p - M, b - A, p - M + k, b - A, p - M, b - A, 1, !0), this.v.setTripleAt(p - M, b + A, p - M, b + A - k, p - M, b + A, 2, !0), this.v.setTripleAt(p + M, b + A, p + M - k, b + A, p + M, 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,8 +4222,8 @@ var lottie$1 = { exports: {} };
|
|
|
4222
4222
|
function P(d, y, p) {
|
|
4223
4223
|
var b;
|
|
4224
4224
|
if (p === 3 || p === 4) {
|
|
4225
|
-
var
|
|
4226
|
-
|
|
4225
|
+
var M = p === 3 ? y.pt : y.ks, A = M.k;
|
|
4226
|
+
A.length ? b = new c(d, y, p) : b = new f(d, y, p);
|
|
4227
4227
|
} else p === 5 ? b = new u(d, y) : p === 6 ? b = new m(d, y) : p === 7 && (b = new E(d, y));
|
|
4228
4228
|
return b.k && d.addDynamicProperty(b), b;
|
|
4229
4229
|
}
|
|
@@ -4233,8 +4233,8 @@ var lottie$1 = { exports: {} };
|
|
|
4233
4233
|
function g() {
|
|
4234
4234
|
return c;
|
|
4235
4235
|
}
|
|
4236
|
-
var
|
|
4237
|
-
return
|
|
4236
|
+
var L = {};
|
|
4237
|
+
return L.getShapeProp = P, L.getConstructorFunction = C, L.getKeyframedConstructorFunction = g, L;
|
|
4238
4238
|
}();
|
|
4239
4239
|
/*!
|
|
4240
4240
|
Transformation Matrix v2.0
|
|
@@ -4286,20 +4286,20 @@ var lottie$1 = { exports: {} };
|
|
|
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, F,
|
|
4290
|
-
return this.props[0] = x, this.props[1] = S, this.props[2] = B, this.props[3] = F, this.props[4] =
|
|
4289
|
+
function P(x, S, B, F, 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] = F, 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 g(x, S, B, F,
|
|
4295
|
+
function g(x, S, B, F, 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 && F === 0 &&
|
|
4297
|
+
if (x === 1 && S === 0 && B === 0 && F === 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 Me = K[0], Ae = K[1], Se = K[2], ge = K[3], xe = K[4], we = K[5], me = K[6], Ce = K[7], _e = K[8], be = K[9], Le = K[10], Pe = K[11], Ee = K[12], ke = K[13], Te = K[14], Ie = K[15];
|
|
4300
|
+
return K[0] = Me * x + Ae * G + Se * re + ge * ce, K[1] = Me * S + Ae * q + Se * le + ge * se, K[2] = Me * B + Ae * $ + Se * pe + ge * oe, K[3] = Me * F + Ae * J + Se * ue + ge * 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 * F + we * J + me * ue + Ce * te, K[8] = _e * x + be * G + Le * re + Pe * ce, K[9] = _e * S + be * q + Le * le + Pe * se, K[10] = _e * B + be * $ + Le * pe + Pe * oe, K[11] = _e * F + be * J + Le * 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 * F + ke * J + Te * ue + Ie * te, this._identityCalculated = !1, this;
|
|
4301
4301
|
}
|
|
4302
|
-
function
|
|
4302
|
+
function L(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,14 +4325,14 @@ 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 M(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],
|
|
4332
4332
|
z: x * this.props[2] + S * this.props[6] + B * this.props[10] + this.props[14]
|
|
4333
4333
|
};
|
|
4334
4334
|
}
|
|
4335
|
-
function
|
|
4335
|
+
function A(x, S, B) {
|
|
4336
4336
|
return x * this.props[0] + S * this.props[4] + B * this.props[8] + this.props[12];
|
|
4337
4337
|
}
|
|
4338
4338
|
function T(x, S, B) {
|
|
@@ -4341,9 +4341,9 @@ var lottie$1 = { exports: {} };
|
|
|
4341
4341
|
function k(x, S, B) {
|
|
4342
4342
|
return x * this.props[2] + S * this.props[6] + B * this.props[10] + this.props[14];
|
|
4343
4343
|
}
|
|
4344
|
-
function
|
|
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, F = -this.props[4] / x,
|
|
4346
|
-
return J.props[0] = S, J.props[1] = B, J.props[4] = F, J.props[5] =
|
|
4344
|
+
function H() {
|
|
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, F = -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] = F, 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();
|
|
@@ -4360,8 +4360,8 @@ var lottie$1 = { exports: {} };
|
|
|
4360
4360
|
if (this.isIdentity())
|
|
4361
4361
|
F[0] = x[0], F[1] = x[1], F[2] = S[0], F[3] = S[1], F[4] = B[0], F[5] = B[1];
|
|
4362
4362
|
else {
|
|
4363
|
-
var
|
|
4364
|
-
F[0] = x[0] *
|
|
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
|
+
F[0] = x[0] * G + x[1] * $ + re, F[1] = x[0] * q + x[1] * J + le, F[2] = S[0] * G + S[1] * $ + re, F[3] = S[0] * q + S[1] * J + le, F[4] = B[0] * G + B[1] * $ + re, F[5] = B[0] * q + B[1] * J + le;
|
|
4365
4365
|
}
|
|
4366
4366
|
return F;
|
|
4367
4367
|
}
|
|
@@ -4375,7 +4375,7 @@ var lottie$1 = { exports: {} };
|
|
|
4375
4375
|
var B = this.props;
|
|
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
|
-
function
|
|
4378
|
+
function Z() {
|
|
4379
4379
|
for (var x = 0, S = this.props, B = "matrix3d(", F = 1e4; x < 16; )
|
|
4380
4380
|
B += s(S[x] * F) / F, B += x === 15 ? ")" : ",", x += 1;
|
|
4381
4381
|
return B;
|
|
@@ -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]), F = _(x[4]),
|
|
4389
|
-
return "matrix(" + S + "," + B + "," + F + "," +
|
|
4388
|
+
var x = this.props, S = _(x[0]), B = _(x[1]), F = _(x[4]), G = _(x[5]), q = _(x[12]), $ = _(x[13]);
|
|
4389
|
+
return "matrix(" + S + "," + B + "," + F + "," + 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 = c, this.scale = u, this.setTransform = P, this.translate = C, this.transform = g, 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 = c, this.scale = u, this.setTransform = P, this.translate = C, this.transform = g, this.multiply = L, this.applyToPoint = M, 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 = p, this.cloneFromProps = b, this.equals = y, this.inversePoints = N, this.inversePoint = X, this.getInverseMatrix = H, 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 = [], g,
|
|
4560
|
+
var C = [], g, L;
|
|
4561
4561
|
for (o = 0; o < f; o += 1)
|
|
4562
4562
|
if (g = this.shapes[o], !g.shape._mdf && !this._mdf && !e && this.m !== 2)
|
|
4563
4563
|
g.shape.paths = g.localShapeCollection;
|
|
@@ -4574,7 +4574,7 @@ var lottie$1 = { exports: {} };
|
|
|
4574
4574
|
var d = t, y = i, p = 0, b;
|
|
4575
4575
|
for (o = f - 1; o >= 0; o -= 1)
|
|
4576
4576
|
if (g = this.shapes[o], g.shape._mdf) {
|
|
4577
|
-
for (
|
|
4577
|
+
for (L = g.localShapeCollection, L.releaseShapes(), this.m === 2 && f > 1 ? (b = this.calculateShapeEdges(t, i, g.totalShapeLength, p, P), p += g.totalShapeLength) : b = [[d, y]], c = b.length, l = 0; l < c; l += 1) {
|
|
4578
4578
|
d = b[l][0], y = b[l][1], C.length = 0, y <= 1 ? C.push({
|
|
4579
4579
|
s: g.totalShapeLength * d,
|
|
4580
4580
|
e: g.totalShapeLength * y
|
|
@@ -4588,20 +4588,20 @@ var lottie$1 = { exports: {} };
|
|
|
4588
4588
|
s: 0,
|
|
4589
4589
|
e: g.totalShapeLength * (y - 1)
|
|
4590
4590
|
}));
|
|
4591
|
-
var
|
|
4591
|
+
var M = this.addShapes(g, C[0]);
|
|
4592
4592
|
if (C[0].s !== C[0].e) {
|
|
4593
4593
|
if (C.length > 1) {
|
|
4594
|
-
var
|
|
4595
|
-
if (
|
|
4596
|
-
var T =
|
|
4597
|
-
this.addPaths(
|
|
4594
|
+
var A = g.shape.paths.shapes[g.shape.paths._length - 1];
|
|
4595
|
+
if (A.c) {
|
|
4596
|
+
var T = M.pop();
|
|
4597
|
+
this.addPaths(M, L), M = this.addShapes(g, C[1], T);
|
|
4598
4598
|
} else
|
|
4599
|
-
this.addPaths(
|
|
4599
|
+
this.addPaths(M, L), M = this.addShapes(g, C[1]);
|
|
4600
4600
|
}
|
|
4601
|
-
this.addPaths(
|
|
4601
|
+
this.addPaths(M, L);
|
|
4602
4602
|
}
|
|
4603
4603
|
}
|
|
4604
|
-
g.shape.paths =
|
|
4604
|
+
g.shape.paths = L;
|
|
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, c = 0, m, E, u, P, C = [], g,
|
|
4616
|
+
var s = e.pathsData, n = e.shape.paths.shapes, a, o = e.shape.paths._length, f, l, c = 0, m, E, u, P, C = [], g, L = !0;
|
|
4617
4617
|
for (i ? (E = i._length, g = i._length) : (i = shapePool.newElement(), E = 0, g = 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], c + 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 <= c && t.e >= c + 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 <= c && t.e >= c + m.addedLength ? (this.addSegment(n[a].v[f - 1], n[a].o[f - 1], n[a].i[f], n[a].v[f], i, E, L), L = !1) : (P = bez.getNewSegment(n[a].v[f - 1], n[a].v[f], n[a].o[f - 1], n[a].i[f], (t.s - c) / m.addedLength, (t.e - c) / m.addedLength, u[f - 1]), this.addSegmentFromArray(P, i, E, L), L = !1, i.c = !1), c += m.addedLength, E += 1;
|
|
4626
4626
|
if (n[a].c && u.length) {
|
|
4627
4627
|
if (m = u[f - 1], c <= t.e) {
|
|
4628
4628
|
var d = u[f - 1].addedLength;
|
|
4629
|
-
t.s <= c && t.e >= c + 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 <= c && t.e >= c + d ? (this.addSegment(n[a].v[f - 1], n[a].o[f - 1], n[a].i[0], n[a].v[0], i, E, L), L = !1) : (P = bez.getNewSegment(n[a].v[f - 1], n[a].v[0], n[a].o[f - 1], n[a].i[0], (t.s - c) / d, (t.e - c) / d, u[f - 1]), this.addSegmentFromArray(P, i, E, L), L = !1, i.c = !1);
|
|
4630
4630
|
} else
|
|
4631
4631
|
i.c = !1;
|
|
4632
4632
|
c += m.addedLength, E += 1;
|
|
4633
4633
|
}
|
|
4634
4634
|
if (i._length && (i.setXYAt(i.v[g][0], i.v[g][1], "i", g), i.setXYAt(i.v[i._length - 1][0], i.v[i._length - 1][1], "o", i._length - 1)), c > t.e)
|
|
4635
4635
|
break;
|
|
4636
|
-
a < o - 1 && (i = shapePool.newElement(),
|
|
4636
|
+
a < o - 1 && (i = shapePool.newElement(), L = !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), g = this.pMatrix.props,
|
|
4844
|
+
var u = this.o.v, P = u % 1, C = u > 0 ? Math.floor(u) : Math.ceil(u), g = this.pMatrix.props, L = 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 y = 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 p, 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)), y !== 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(L[0], L[1], L[2], L[3], L[4], L[5], L[6], L[7], L[8], L[9], L[10], L[11], L[12], L[13], L[14], L[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(g[0], g[1], g[2], g[3], g[4], g[5], g[6], g[7], g[8], g[9], g[10], g[11], g[12], g[13], g[14], g[15]), p = 0; p < b; p += 1)
|
|
4860
4860
|
i[p] = this.matrix.props[p];
|
|
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, c, m, E = 0, u, P, C, g,
|
|
4880
|
+
var s, n = e._length, a, o, f, l, c, m, E = 0, u, P, C, g, L, 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], c = Math.sqrt(Math.pow(a[0] - l[0], 2) + Math.pow(a[1] - l[1], 2)), m = c ? Math.min(c / 2, t) / c : 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], c = Math.sqrt(Math.pow(a[0] - l[0], 2) + Math.pow(a[1] - l[1], 2)), m = c ? Math.min(c / 2, t) / c : 0, L = a[0] + (l[0] - a[0]) * m, u = L, d = a[1] - (a[1] - l[1]) * m, P = d, C = u - (u - a[0]) * roundCorner, g = P - (P - a[1]) * roundCorner, i.setTripleAt(u, P, C, g, L, d, E), E += 1, s === n - 1 ? l = e.v[0] : l = e.v[s + 1], c = Math.sqrt(Math.pow(a[0] - l[0], 2) + Math.pow(a[1] - l[1], 2)), m = c ? Math.min(c / 2, t) / c : 0, C = a[0] + (l[0] - a[0]) * m, u = C, g = a[1] + (l[1] - a[1]) * m, P = g, L = u - (u - a[0]) * roundCorner, d = P - (P - a[1]) * roundCorner, i.setTripleAt(u, P, C, g, L, 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;
|
|
@@ -5242,8 +5242,8 @@ var lottie$1 = { exports: {} };
|
|
|
5242
5242
|
var F = createNS("text");
|
|
5243
5243
|
F.style.fontSize = "100px", F.setAttribute("font-family", _.fFamily), F.setAttribute("font-style", B.style), F.setAttribute("font-weight", B.weight), F.textContent = "1", _.fClass ? (F.style.fontFamily = "inherit", F.setAttribute("class", _.fClass)) : F.style.fontFamily = _.fFamily, I.appendChild(F), S = F;
|
|
5244
5244
|
} else {
|
|
5245
|
-
var
|
|
5246
|
-
|
|
5245
|
+
var G = new OffscreenCanvas(500, 500).getContext("2d");
|
|
5246
|
+
G.font = B.style + " " + B.weight + " 100px " + _.fFamily, S = G;
|
|
5247
5247
|
}
|
|
5248
5248
|
function q($) {
|
|
5249
5249
|
return x === "svg" ? (S.textContent = $, S.getComputedTextLength()) : S.measureText($).width;
|
|
@@ -5252,7 +5252,7 @@ var lottie$1 = { exports: {} };
|
|
|
5252
5252
|
measureText: q
|
|
5253
5253
|
};
|
|
5254
5254
|
}
|
|
5255
|
-
function
|
|
5255
|
+
function L(_, I) {
|
|
5256
5256
|
if (!_) {
|
|
5257
5257
|
this.isLoaded = !0;
|
|
5258
5258
|
return;
|
|
@@ -5269,25 +5269,25 @@ var lottie$1 = { exports: {} };
|
|
|
5269
5269
|
}
|
|
5270
5270
|
var x = _.list, S, B = x.length, F = B;
|
|
5271
5271
|
for (S = 0; S < B; S += 1) {
|
|
5272
|
-
var
|
|
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
5274
|
x[S].loaded = !0, F -= 1;
|
|
5275
5275
|
else if (x[S].fOrigin === "p" || x[S].origin === 3) {
|
|
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 && (
|
|
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");
|
|
5278
5278
|
J.setAttribute("f-forigin", x[S].fOrigin), J.setAttribute("f-origin", x[S].origin), J.setAttribute("f-family", x[S].fFamily), J.type = "text/css", J.innerText = "@font-face {font-family: " + x[S].fFamily + "; font-style: normal; src: url('" + x[S].fPath + "');}", I.appendChild(J);
|
|
5279
5279
|
}
|
|
5280
5280
|
} else if (x[S].fOrigin === "g" || x[S].origin === 1) {
|
|
5281
5281
|
for (q = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), $ = 0; $ < q.length; $ += 1)
|
|
5282
|
-
q[$].href.indexOf(x[S].fPath) !== -1 && (
|
|
5283
|
-
if (
|
|
5282
|
+
q[$].href.indexOf(x[S].fPath) !== -1 && (G = !1);
|
|
5283
|
+
if (G) {
|
|
5284
5284
|
var re = createTag("link");
|
|
5285
5285
|
re.setAttribute("f-forigin", x[S].fOrigin), re.setAttribute("f-origin", x[S].origin), re.type = "text/css", re.rel = "stylesheet", re.href = x[S].fPath, document.body.appendChild(re);
|
|
5286
5286
|
}
|
|
5287
5287
|
} else if (x[S].fOrigin === "t" || x[S].origin === 2) {
|
|
5288
5288
|
for (q = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), $ = 0; $ < q.length; $ += 1)
|
|
5289
|
-
x[S].fPath === q[$].src && (
|
|
5290
|
-
if (
|
|
5289
|
+
x[S].fPath === q[$].src && (G = !1);
|
|
5290
|
+
if (G) {
|
|
5291
5291
|
var le = createTag("link");
|
|
5292
5292
|
le.setAttribute("f-forigin", x[S].fOrigin), le.setAttribute("f-origin", x[S].origin), le.setAttribute("rel", "stylesheet"), le.setAttribute("href", x[S].fPath), I.appendChild(le);
|
|
5293
5293
|
}
|
|
@@ -5320,8 +5320,8 @@ var lottie$1 = { exports: {} };
|
|
|
5320
5320
|
if (!S.cache[B]) {
|
|
5321
5321
|
var F = S.helper;
|
|
5322
5322
|
if (_ === " ") {
|
|
5323
|
-
var
|
|
5324
|
-
S.cache[B] = (
|
|
5323
|
+
var G = F.measureText("|" + _ + "|"), q = F.measureText("||");
|
|
5324
|
+
S.cache[B] = (G - q) / 100;
|
|
5325
5325
|
} else
|
|
5326
5326
|
S.cache[B] = F.measureText(_) / 100;
|
|
5327
5327
|
}
|
|
@@ -5335,7 +5335,7 @@ var lottie$1 = { exports: {} };
|
|
|
5335
5335
|
}
|
|
5336
5336
|
return this.fonts[0];
|
|
5337
5337
|
}
|
|
5338
|
-
function
|
|
5338
|
+
function M(_) {
|
|
5339
5339
|
var I = 0, x = _.charCodeAt(0);
|
|
5340
5340
|
if (x >= 55296 && x <= 56319) {
|
|
5341
5341
|
var S = _.charCodeAt(1);
|
|
@@ -5343,7 +5343,7 @@ var lottie$1 = { exports: {} };
|
|
|
5343
5343
|
}
|
|
5344
5344
|
return I;
|
|
5345
5345
|
}
|
|
5346
|
-
function
|
|
5346
|
+
function A(_, I) {
|
|
5347
5347
|
var x = _.toString(16) + I.toString(16);
|
|
5348
5348
|
return E.indexOf(x) !== -1;
|
|
5349
5349
|
}
|
|
@@ -5353,27 +5353,27 @@ var lottie$1 = { exports: {} };
|
|
|
5353
5353
|
function k(_) {
|
|
5354
5354
|
return _ === f;
|
|
5355
5355
|
}
|
|
5356
|
-
function
|
|
5357
|
-
var I =
|
|
5356
|
+
function H(_) {
|
|
5357
|
+
var I = M(_);
|
|
5358
5358
|
return I >= c && I <= m;
|
|
5359
5359
|
}
|
|
5360
5360
|
function X(_) {
|
|
5361
|
-
return
|
|
5361
|
+
return H(_.substr(0, 2)) && H(_.substr(2, 2));
|
|
5362
5362
|
}
|
|
5363
5363
|
function N(_) {
|
|
5364
5364
|
return i.indexOf(_) !== -1;
|
|
5365
5365
|
}
|
|
5366
5366
|
function j(_, I) {
|
|
5367
|
-
var x =
|
|
5367
|
+
var x = M(_.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 = M(_.substr(I, 2)), x < a || x > o)
|
|
5373
5373
|
return !1;
|
|
5374
5374
|
S += 1, I += 2;
|
|
5375
5375
|
}
|
|
5376
|
-
return
|
|
5376
|
+
return M(_.substr(I, 2)) === n;
|
|
5377
5377
|
}
|
|
5378
5378
|
function Y() {
|
|
5379
5379
|
this.isLoaded = !0;
|
|
@@ -5381,17 +5381,17 @@ var lottie$1 = { exports: {} };
|
|
|
5381
5381
|
var U = function() {
|
|
5382
5382
|
this.fonts = [], this.chars = null, this.typekitLoaded = 0, this.isLoaded = !1, this._warned = !1, this.initTime = Date.now(), this.setIsLoadedBinded = this.setIsLoaded.bind(this), this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);
|
|
5383
5383
|
};
|
|
5384
|
-
U.isModifier =
|
|
5385
|
-
var
|
|
5384
|
+
U.isModifier = A, U.isZeroWidthJoiner = T, U.isFlagEmoji = X, U.isRegionalCode = H, U.isCombinedCharacter = N, U.isRegionalFlag = j, U.isVariationSelector = k, U.BLACK_FLAG_CODE_POINT = s;
|
|
5385
|
+
var Z = {
|
|
5386
5386
|
addChars: d,
|
|
5387
|
-
addFonts:
|
|
5387
|
+
addFonts: L,
|
|
5388
5388
|
getCharData: y,
|
|
5389
5389
|
getFontByName: b,
|
|
5390
5390
|
measureText: p,
|
|
5391
5391
|
checkLoadedFonts: C,
|
|
5392
5392
|
setIsLoaded: Y
|
|
5393
5393
|
};
|
|
5394
|
-
return U.prototype =
|
|
5394
|
+
return U.prototype = Z, U;
|
|
5395
5395
|
}();
|
|
5396
5396
|
function SlotManager(e) {
|
|
5397
5397
|
this.animationData = e;
|
|
@@ -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, c = [], m, E, u = createElementID(), P, C, g,
|
|
5850
|
+
var o, f = this.masksProperties, l = 0, c = [], m, E, u = createElementID(), P, C, g, L, d = "clipPath", y = "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", y = "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), c.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 p;
|
|
5862
|
-
if (f[n].x.k !== 0 ? (d = "mask", y = "mask",
|
|
5862
|
+
if (f[n].x.k !== 0 ? (d = "mask", y = "mask", L = PropertyFactory.getProp(this.element, f[n].x, 0, null, this.element), p = createElementID(), C = createNS("filter"), C.setAttribute("id", p), g = createNS("feMorphology"), g.setAttribute("operator", "erode"), g.setAttribute("in", "SourceGraphic"), g.setAttribute("radius", "0"), C.appendChild(g), s.appendChild(C), o.setAttribute("stroke", f[n].mode === "s" ? "#000000" : "#ffffff")) : (g = null, L = null), this.storedData[n] = {
|
|
5863
5863
|
elem: o,
|
|
5864
|
-
x:
|
|
5864
|
+
x: L,
|
|
5865
5865
|
expan: g,
|
|
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(c[m]);
|
|
5875
|
-
var
|
|
5876
|
-
|
|
5875
|
+
var M = createNS("mask");
|
|
5876
|
+
M.setAttribute("mask-type", "alpha"), M.setAttribute("id", u + "_" + l), M.appendChild(o), s.appendChild(M), b.setAttribute("mask", "url(" + getLocationHref() + "#" + u + "_" + l + ")"), c.length = 0, c.push(b);
|
|
5877
5877
|
} else
|
|
5878
5878
|
c.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, g,
|
|
6343
|
+
var C, g, L, d, y, p, b = u.styles.length, M = u.lvl, A, T, k, H;
|
|
6344
6344
|
for (p = 0; p < b; p += 1) {
|
|
6345
|
-
if (d = u.sh._mdf || P, u.styles[p].lvl <
|
|
6346
|
-
for (T = t.reset(), k =
|
|
6347
|
-
d = u.transformers[
|
|
6345
|
+
if (d = u.sh._mdf || P, u.styles[p].lvl < M) {
|
|
6346
|
+
for (T = t.reset(), k = M - u.styles[p].lvl, H = u.transformers.length - 1; !d && k > 0; )
|
|
6347
|
+
d = u.transformers[H].mProps._mdf || d, k -= 1, H -= 1;
|
|
6348
6348
|
if (d)
|
|
6349
|
-
for (k =
|
|
6350
|
-
T.multiply(u.transformers[
|
|
6349
|
+
for (k = M - u.styles[p].lvl, H = u.transformers.length - 1; k > 0; )
|
|
6350
|
+
T.multiply(u.transformers[H].mProps.v), k -= 1, H -= 1;
|
|
6351
6351
|
} else
|
|
6352
6352
|
T = e;
|
|
6353
|
-
if (
|
|
6354
|
-
for (
|
|
6355
|
-
y =
|
|
6356
|
-
u.caches[p] =
|
|
6353
|
+
if (A = u.sh.paths, g = A._length, d) {
|
|
6354
|
+
for (L = "", C = 0; C < g; C += 1)
|
|
6355
|
+
y = A.shapes[C], y && y._length && (L += buildShapeString(y, y._length, y.c, T));
|
|
6356
|
+
u.caches[p] = L;
|
|
6357
6357
|
} else
|
|
6358
|
-
|
|
6359
|
-
u.styles[p].d += E.hd === !0 ? "" :
|
|
6358
|
+
L = u.caches[p];
|
|
6359
|
+
u.styles[p].d += E.hd === !0 ? "" : L, u.styles[p]._mdf = d || u.styles[p]._mdf;
|
|
6360
6360
|
}
|
|
6361
6361
|
}
|
|
6362
6362
|
function f(E, u, P) {
|
|
@@ -6367,37 +6367,37 @@ var lottie$1 = { exports: {} };
|
|
|
6367
6367
|
c(E, u, P), m(E, u, P);
|
|
6368
6368
|
}
|
|
6369
6369
|
function c(E, u, P) {
|
|
6370
|
-
var C = u.gf, g = u.g._hasOpacity,
|
|
6370
|
+
var C = u.gf, g = u.g._hasOpacity, L = u.s.v, d = u.e.v;
|
|
6371
6371
|
if (u.o._mdf || P) {
|
|
6372
6372
|
var y = E.ty === "gf" ? "fill-opacity" : "stroke-opacity";
|
|
6373
6373
|
u.style.pElem.setAttribute(y, u.o.v);
|
|
6374
6374
|
}
|
|
6375
6375
|
if (u.s._mdf || P) {
|
|
6376
6376
|
var p = E.t === 1 ? "x1" : "cx", b = p === "x1" ? "y1" : "cy";
|
|
6377
|
-
C.setAttribute(p,
|
|
6377
|
+
C.setAttribute(p, L[0]), C.setAttribute(b, L[1]), g && !u.g._collapsable && (u.of.setAttribute(p, L[0]), u.of.setAttribute(b, L[1]));
|
|
6378
6378
|
}
|
|
6379
|
-
var
|
|
6379
|
+
var M, A, T, k;
|
|
6380
6380
|
if (u.g._cmdf || P) {
|
|
6381
|
-
|
|
6382
|
-
var
|
|
6383
|
-
for (T =
|
|
6384
|
-
k =
|
|
6381
|
+
M = u.cst;
|
|
6382
|
+
var H = u.g.c;
|
|
6383
|
+
for (T = M.length, A = 0; A < T; A += 1)
|
|
6384
|
+
k = M[A], k.setAttribute("offset", H[A * 4] + "%"), k.setAttribute("stop-color", "rgb(" + H[A * 4 + 1] + "," + H[A * 4 + 2] + "," + H[A * 4 + 3] + ")");
|
|
6385
6385
|
}
|
|
6386
6386
|
if (g && (u.g._omdf || P)) {
|
|
6387
6387
|
var X = u.g.o;
|
|
6388
|
-
for (u.g._collapsable ?
|
|
6389
|
-
k =
|
|
6388
|
+
for (u.g._collapsable ? M = u.cst : M = u.ost, T = M.length, A = 0; A < T; A += 1)
|
|
6389
|
+
k = M[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]), g && !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(L[0] - d[0], 2) + Math.pow(L[1] - d[1], 2)), C.setAttribute("r", N), g && !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(L[0] - d[0], 2) + Math.pow(L[1] - d[1], 2)));
|
|
6397
|
+
var j = Math.atan2(d[1] - L[1], d[0] - L[0]), Y = u.h.v;
|
|
6398
6398
|
Y >= 1 ? Y = 0.99 : Y <= -1 && (Y = -0.99);
|
|
6399
|
-
var U = N * Y,
|
|
6400
|
-
C.setAttribute("fx",
|
|
6399
|
+
var U = N * Y, Z = Math.cos(j + u.a.v) * U + L[0], _ = Math.sin(j + u.a.v) * U + L[1];
|
|
6400
|
+
C.setAttribute("fx", Z), C.setAttribute("fy", _), g && !u.g._collapsable && (u.of.setAttribute("fx", Z), u.of.setAttribute("fy", _));
|
|
6401
6401
|
}
|
|
6402
6402
|
}
|
|
6403
6403
|
}
|
|
@@ -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, c = e.length - 1, m, E, u = [], P = [], C, g,
|
|
6474
|
+
var f = [].concat(a), l, c = e.length - 1, m, E, u = [], P = [], C, g, L;
|
|
6475
6475
|
for (l = c; l >= 0; l -= 1) {
|
|
6476
|
-
if (
|
|
6477
|
-
|
|
6476
|
+
if (L = this.searchProcessedElement(e[l]), L ? t[l] = i[L - 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
|
+
L ? 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 (!L)
|
|
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" ? (L || (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" ? (L || (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" ? (L ? (g = t[l], g.closed = !1) : (g = ShapeModifiers.getModifier(e[l].ty), g.init(this, e[l]), t[l] = g, this.shapeModifiers.push(g)), P.push(g)) : e[l].ty === "rp" && (L ? (g = t[l], g.closed = !0) : (g = ShapeModifiers.getModifier(e[l].ty), t[l] = g, g.init(this, e, l, t), this.shapeModifiers.push(g), o = !1), P.push(g));
|
|
6486
6486
|
this.addProcessedElement(e[l], l + 1);
|
|
6487
6487
|
}
|
|
6488
6488
|
for (c = u.length, l = 0; l < c; l += 1)
|
|
@@ -6586,21 +6586,21 @@ 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, c = i.m.g, m = 0, E = 0, u = 0, P = [], C = 0, g = 0,
|
|
6590
|
-
e.fWeight =
|
|
6591
|
-
var
|
|
6589
|
+
var t = this.elem.globalData.fontManager, i = this.data, s = [], n, a, o, f = 0, l, c = i.m.g, m = 0, E = 0, u = 0, P = [], C = 0, g = 0, L, d, y = t.getFontByName(e.f), p, b = 0, M = getFontProperties(y);
|
|
6590
|
+
e.fWeight = M.weight, e.fStyle = M.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), a = e.finalText.length, e.finalLineHeight = e.lh;
|
|
6591
|
+
var A = e.tr / 1e3 * e.finalSize, T;
|
|
6592
6592
|
if (e.sz)
|
|
6593
|
-
for (var k = !0,
|
|
6594
|
-
j = this.buildFinalText(e.t), N = 0, C = 0, a = j.length,
|
|
6593
|
+
for (var k = !0, H = e.sz[0], X = e.sz[1], N, j; k; ) {
|
|
6594
|
+
j = this.buildFinalText(e.t), N = 0, C = 0, a = j.length, A = e.tr / 1e3 * e.finalSize;
|
|
6595
6595
|
var Y = -1;
|
|
6596
6596
|
for (n = 0; n < a; n += 1)
|
|
6597
|
-
T = j[n].charCodeAt(0), o = !1, j[n] === " " ? Y = n : (T === 13 || T === 3) && (C = 0, o = !0, N += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (p = t.getCharData(j[n], y.fStyle, y.fFamily), b = o ? 0 : p.w * e.finalSize / 100) : b = t.measureText(j[n], e.f, e.finalSize), C + b >
|
|
6597
|
+
T = j[n].charCodeAt(0), o = !1, j[n] === " " ? Y = n : (T === 13 || T === 3) && (C = 0, o = !0, N += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (p = t.getCharData(j[n], y.fStyle, y.fFamily), b = o ? 0 : p.w * e.finalSize / 100) : b = t.measureText(j[n], e.f, e.finalSize), C + b > H && j[n] !== " " ? (Y === -1 ? a += 1 : n = Y, N += e.finalLineHeight || e.finalSize * 1.2, j.splice(n, Y === n ? 1 : 0, "\r"), Y = -1, C = 0) : (C += b, C += A);
|
|
6598
6598
|
N += y.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && X < N ? (e.finalSize -= 1, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText = j, a = e.finalText.length, k = !1);
|
|
6599
6599
|
}
|
|
6600
|
-
C = -
|
|
6601
|
-
var U = 0,
|
|
6600
|
+
C = -A, b = 0;
|
|
6601
|
+
var U = 0, Z;
|
|
6602
6602
|
for (n = 0; n < a; n += 1)
|
|
6603
|
-
if (o = !1,
|
|
6603
|
+
if (o = !1, Z = e.finalText[n], T = Z.charCodeAt(0), T === 13 || T === 3 ? (U = 0, P.push(C), g = C > g ? C : g, C = -2 * A, l = "", o = !0, u += 1) : l = Z, t.chars ? (p = t.getCharData(Z, y.fStyle, t.getFontByName(e.f).fFamily), b = o ? 0 : p.w * e.finalSize / 100) : b = t.measureText(l, e.f, e.finalSize), Z === " " ? U += b + A : (C += b + A + U, U = 0), s.push({
|
|
6604
6604
|
l: b,
|
|
6605
6605
|
an: b,
|
|
6606
6606
|
add: m,
|
|
@@ -6640,14 +6640,14 @@ var lottie$1 = { exports: {} };
|
|
|
6640
6640
|
var _ = i.a, I, x;
|
|
6641
6641
|
d = _.length;
|
|
6642
6642
|
var S, B, F = [];
|
|
6643
|
-
for (
|
|
6644
|
-
for (I = _[
|
|
6645
|
-
x = s[n], x.anIndexes[
|
|
6646
|
-
i.a[
|
|
6647
|
-
var
|
|
6643
|
+
for (L = 0; L < d; L += 1) {
|
|
6644
|
+
for (I = _[L], 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[L] = 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 && F.push(B), B += 1);
|
|
6646
|
+
i.a[L].s.totalChars = B;
|
|
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],
|
|
6650
|
+
x = s[n], G != x.anIndexes[L] && (G = x.anIndexes[L], q = F.splice(Math.floor(Math.random() * F.length), 1)[0]), x.anIndexes[L] = q;
|
|
6651
6651
|
}
|
|
6652
6652
|
e.yOffset = e.finalLineHeight || e.finalSize * 1.2, e.ls = e.ls || 0, e.ascent = y.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 L = C - P;
|
|
6699
6699
|
o = t(e(0, o + 0.5 - P), C - P);
|
|
6700
|
-
var d = -
|
|
6700
|
+
var d = -L / 2 + o, y = L / 2;
|
|
6701
6701
|
u = Math.sqrt(1 - d * d / (y * y));
|
|
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, c, m, E, u = e.l, P, C, g,
|
|
6773
|
+
var i = this._moreOptions.alignment.v, s = this._animatorsData, n = this._textData, a = this.mHelper, o = this._renderType, f = this.renderedLetters.length, l, c, m, E, u = e.l, P, C, g, L, d, y, p, b, M, A, T, k, H, 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, p = 0, y = 1,
|
|
6787
|
-
for (P.tLength < Math.abs(C) && (C = -Math.abs(C) % P.tLength), p =
|
|
6788
|
-
C +=
|
|
6789
|
-
|
|
6786
|
+
if (P = this._pathData.pi, C = this._pathData.f.v, p = 0, y = 1, L = 0, d = !0, A = P.segments, C < 0 && N.v.c)
|
|
6787
|
+
for (P.tLength < Math.abs(C) && (C = -Math.abs(C) % P.tLength), p = A.length - 1, M = A[p].points, y = M.length - 1; C < 0; )
|
|
6788
|
+
C += M[y].partialLength, y -= 1, y < 0 && (p -= 1, M = A[p].points, y = M.length - 1);
|
|
6789
|
+
M = A[p].points, b = M[y - 1], g = M[y], T = g.partialLength;
|
|
6790
6790
|
}
|
|
6791
6791
|
E = u.length, l = 0, c = 0;
|
|
6792
|
-
var U = e.finalSize * 1.2 * 0.714,
|
|
6792
|
+
var U = e.finalSize * 1.2 * 0.714, Z = !0, _, I, x, S, B;
|
|
6793
6793
|
S = s.length;
|
|
6794
|
-
var F,
|
|
6794
|
+
var F, G = -1, q, $, J, re = C, le = p, pe = y, ue = -1, ce, se, oe, te, K, Me, Ae, Se, ge = "", 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, Le = !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, Le = !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 && (Le && e.j === 2 && (Ce += _.t.v * _e), I = s[x].s, F = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), F.length ? me += _.t.v * F[0] * _e : me += _.t.v * F * _e);
|
|
6805
|
+
Le = !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, c += e.yOffset, c +=
|
|
6812
|
+
l = 0, c += e.yOffset, c += Z ? 1 : 0, C = re, Z = !1, this._hasMaskedPath && (p = le, y = pe, M = A[p].points, b = M[y - 1], g = M[y], T = g.partialLength, L = 0), ge = "", Se = "", Me = "", we = "", xe = this.defaultPropsArray;
|
|
6813
6813
|
else {
|
|
6814
6814
|
if (this._hasMaskedPath) {
|
|
6815
6815
|
if (ue !== u[m].line) {
|
|
@@ -6823,12 +6823,12 @@ var lottie$1 = { exports: {} };
|
|
|
6823
6823
|
}
|
|
6824
6824
|
ue = u[m].line;
|
|
6825
6825
|
}
|
|
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
6829
|
_ = s[x].a, _.p.propType && (I = s[x].s, F = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), F.length ? Pe += _.p.v[0] * F[0] : Pe += _.p.v[0] * F), _.a.propType && (I = s[x].s, F = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), F.length ? Pe += _.a.v[0] * F[0] : Pe += _.a.v[0] * F);
|
|
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) *
|
|
6831
|
-
|
|
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
|
+
L + T >= C + Pe || !M ? (H = (C + Pe - L) / g.partialLength, $ = b.point[0] + (g.point[0] - b.point[0]) * H, J = b.point[1] + (g.point[1] - b.point[1]) * H, a.translate(-i[0] * u[m].an * 5e-3, -(i[1] * U) * 0.01), d = !1) : M && (L += g.partialLength, y += 1, y >= M.length && (y = 0, p += 1, A[p] ? M = A[p].points : N.v.c ? (y = 0, p = 0, M = A[p].points) : (L -= g.partialLength, M = null)), M && (b = g, g = M[y], T = g.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);
|
|
@@ -6851,13 +6851,13 @@ var lottie$1 = { exports: {} };
|
|
|
6851
6851
|
}
|
|
6852
6852
|
for (x = 0; x < S; x += 1)
|
|
6853
6853
|
_ = s[x].a, _.p.propType && (I = s[x].s, F = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), this._hasMaskedPath ? F.length ? a.translate(0, _.p.v[1] * F[0], -_.p.v[2] * F[1]) : a.translate(0, _.p.v[1] * F, -_.p.v[2] * F) : F.length ? a.translate(_.p.v[0] * F[0], _.p.v[1] * F[1], -_.p.v[2] * F[2]) : a.translate(_.p.v[0] * F, _.p.v[1] * F, -_.p.v[2] * F));
|
|
6854
|
-
if (e.strokeWidthAnim && (
|
|
6854
|
+
if (e.strokeWidthAnim && (Me = 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 + c, 0), this._pathData.p.v) {
|
|
6856
6856
|
X = (g.point[1] - b.point[1]) / (g.point[0] - b.point[0]);
|
|
6857
6857
|
var Ee = Math.atan(X) * 180 / Math.PI;
|
|
6858
6858
|
g.point[0] < b.point[0] && (Ee += 180), a.rotate(-Ee * Math.PI / 180);
|
|
6859
6859
|
}
|
|
6860
|
-
a.translate($, J, 0), C -= i[0] * u[m].an * 5e-3, u[m + 1] &&
|
|
6860
|
+
a.translate($, J, 0), C -= i[0] * u[m].an * 5e-3, u[m + 1] && G !== u[m + 1].ind && (C += u[m].an / 2, C += e.tr * 1e-3 * e.finalSize);
|
|
6861
6861
|
} else {
|
|
6862
6862
|
switch (a.translate(l, c, 0), e.ps && a.translate(e.ps[0], e.ps[1] + e.ascent, 0), e.j) {
|
|
6863
6863
|
case 1:
|
|
@@ -6871,7 +6871,7 @@ var lottie$1 = { exports: {} };
|
|
|
6871
6871
|
}
|
|
6872
6872
|
o === "html" ? ge = a.toCSS() : o === "svg" ? ge = 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, Me, Ae, Se, ge, xe), this.renderedLetters.push(B), f += 1, this.lettersChangedFlag = !0) : (B = this.renderedLetters[m], this.lettersChangedFlag = B.update(we, Me, Ae, Se, ge, 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, c = this.mHelper, m = "", E = this.data.singleShape, u = 0, P = 0, C = !0, g = i.tr * 1e-3 * i.finalSize;
|
|
6950
6950
|
if (E && !f && !i.sz) {
|
|
6951
|
-
var
|
|
6951
|
+
var L = 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
|
+
L.setAttribute("text-anchor", d), L.setAttribute("letter-spacing", g);
|
|
6964
6964
|
var y = this.buildTextContents(i.finalText);
|
|
6965
6965
|
for (t = y.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 = y[e], l.setAttribute("x", 0), l.setAttribute("y", P), l.style.display = "inherit",
|
|
6966
|
+
l = this.textSpans[e].span || createNS("tspan"), l.textContent = y[e], l.setAttribute("x", 0), l.setAttribute("y", P), l.style.display = "inherit", L.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(L);
|
|
6971
6971
|
} else {
|
|
6972
6972
|
var p = 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 = p > e ? this.textSpans[e].span : createNS(f ? "g" : "text"), p <= 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 M = createNS("g");
|
|
6982
|
+
l.appendChild(M), this.textSpans[e].childSpan = M;
|
|
6983
6983
|
}
|
|
6984
6984
|
this.textSpans[e].span = l, this.layerElement.appendChild(l);
|
|
6985
6985
|
}
|
|
@@ -6987,18 +6987,18 @@ var lottie$1 = { exports: {} };
|
|
|
6987
6987
|
}
|
|
6988
6988
|
if (c.reset(), E && (o[e].n && (u = -g, P += i.yOffset, P += C ? 1 : 0, C = !1), this.applyTextPropertiesToMatrix(i, c, o[e].line, u, P), u += o[e].l || 0, u += g), f) {
|
|
6989
6989
|
b = this.globalData.fontManager.getCharData(i.finalText[e], s.fStyle, this.globalData.fontManager.getFontByName(i.f).fFamily);
|
|
6990
|
-
var
|
|
6990
|
+
var A;
|
|
6991
6991
|
if (b.t === 1)
|
|
6992
|
-
|
|
6992
|
+
A = new SVGCompElement(b.data, this.globalData, this);
|
|
6993
6993
|
else {
|
|
6994
6994
|
var T = emptyShapeData;
|
|
6995
|
-
b.data && b.data.shapes && (T = this.buildShapeData(b.data, i.finalSize)),
|
|
6995
|
+
b.data && b.data.shapes && (T = this.buildShapeData(b.data, i.finalSize)), A = new SVGShapeElement(T, this.globalData, this);
|
|
6996
6996
|
}
|
|
6997
6997
|
if (this.textSpans[e].glyph) {
|
|
6998
6998
|
var k = this.textSpans[e].glyph;
|
|
6999
6999
|
this.textSpans[e].childSpan.removeChild(k.layerElement), k.destroy();
|
|
7000
7000
|
}
|
|
7001
|
-
this.textSpans[e].glyph =
|
|
7001
|
+
this.textSpans[e].glyph = A, A._debug = !0, A.prepareFrame(0), A.renderFrame(), this.textSpans[e].childSpan.appendChild(A.layerElement), b.t === 1 && this.textSpans[e].childSpan.setAttribute("transform", "scale(" + i.finalSize / 100 + "," + i.finalSize / 100 + ")");
|
|
7002
7002
|
} else
|
|
7003
7003
|
E && l.setAttribute("transform", "translate(" + c.props[12] + "," + c.props[13] + ")"), l.textContent = o[e].val, l.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve");
|
|
7004
7004
|
}
|
|
@@ -7584,9 +7584,9 @@ var lottie$1 = { exports: {} };
|
|
|
7584
7584
|
var E = l * m, u = Math.cos(c + t.a.v) * E + o[0], P = Math.sin(c + t.a.v) * E + o[1];
|
|
7585
7585
|
n = a.createRadialGradient(u, P, 0, o[0], o[1], l);
|
|
7586
7586
|
}
|
|
7587
|
-
var C, g = e.g.p,
|
|
7587
|
+
var C, g = e.g.p, L = t.g.c, d = 1;
|
|
7588
7588
|
for (C = 0; C < g; 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(L[C * 4] / 100, "rgba(" + L[C * 4 + 1] + "," + L[C * 4 + 2] + "," + L[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, c, m, E, u, P, C, g,
|
|
7616
|
+
var l, c, m, E, u, P, C, g, L, d, y = this.data.singleShape, p = e.tr * 1e-3 * e.finalSize, b = 0, M = 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), c = l && l.data || {}, f.reset(), y && o[n].n && (b = -p,
|
|
7618
|
+
l = this.globalData.fontManager.getCharData(e.finalText[n], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), c = l && l.data || {}, f.reset(), y && o[n].n && (b = -p, M += e.yOffset, M += A ? 1 : 0, A = !1), u = c.shapes ? c.shapes[0].it : [], C = u.length, f.scale(e.finalSize / 100, e.finalSize / 100), y && this.applyTextPropertiesToMatrix(e, f, o[n].line, b, M), L = 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, g = u[P].ks.k, d = [], m = 1; m < E; m += 1)
|
|
7623
7623
|
m === 1 && d.push(f.applyToX(g.v[0][0], g.v[0][1], 0), f.applyToY(g.v[0][0], g.v[0][1], 0)), d.push(f.applyToX(g.o[m - 1][0], g.o[m - 1][1], 0), f.applyToY(g.o[m - 1][0], g.o[m - 1][1], 0), f.applyToX(g.i[m][0], g.i[m][1], 0), f.applyToY(g.i[m][0], g.i[m][1], 0), f.applyToX(g.v[m][0], g.v[m][1], 0), f.applyToY(g.v[m][0], g.v[m][1], 0));
|
|
7624
|
-
d.push(f.applyToX(g.o[m - 1][0], g.o[m - 1][1], 0), f.applyToY(g.o[m - 1][0], g.o[m - 1][1], 0), f.applyToX(g.i[0][0], g.i[0][1], 0), f.applyToY(g.i[0][0], g.i[0][1], 0), f.applyToX(g.v[0][0], g.v[0][1], 0), f.applyToY(g.v[0][0], g.v[0][1], 0)),
|
|
7624
|
+
d.push(f.applyToX(g.o[m - 1][0], g.o[m - 1][1], 0), f.applyToY(g.o[m - 1][0], g.o[m - 1][1], 0), f.applyToX(g.i[0][0], g.i[0][1], 0), f.applyToY(g.i[0][0], g.i[0][1], 0), f.applyToX(g.v[0][0], g.v[0][1], 0), f.applyToY(g.v[0][0], g.v[0][1], 0)), L[k] = d, k += 1;
|
|
7625
7625
|
}
|
|
7626
|
-
y && (b += o[n].l, b += p), this.textSpans[T] ? this.textSpans[T].elem =
|
|
7627
|
-
elem:
|
|
7626
|
+
y && (b += o[n].l, b += p), this.textSpans[T] ? this.textSpans[T].elem = L : this.textSpans[T] = {
|
|
7627
|
+
elem: L
|
|
7628
7628
|
}, T += 1;
|
|
7629
7629
|
}
|
|
7630
7630
|
}, CVTextElement.prototype.renderInnerContent = function() {
|
|
@@ -8048,8 +8048,8 @@ var lottie$1 = { exports: {} };
|
|
|
8048
8048
|
var c, m, E, u = this.mHelper, P, C = "", g = 0;
|
|
8049
8049
|
for (o = 0; o < f; o += 1) {
|
|
8050
8050
|
if (this.globalData.fontManager.chars ? (this.textPaths[g] ? c = this.textPaths[g] : (c = createNS("path"), c.setAttribute("stroke-linecap", lineCapEnum[1]), c.setAttribute("stroke-linejoin", lineJoinEnum[2]), c.setAttribute("stroke-miterlimit", "4")), this.isMasked || (this.textSpans[g] ? (m = this.textSpans[g], E = m.children[0]) : (m = createTag("div"), m.style.lineHeight = 0, E = createNS("svg"), E.appendChild(c), styleDiv(m)))) : this.isMasked ? c = this.textPaths[g] ? this.textPaths[g] : createNS("text") : this.textSpans[g] ? (m = this.textSpans[g], c = this.textPaths[g]) : (m = createTag("span"), styleDiv(m), c = createTag("span"), styleDiv(c), m.appendChild(c)), this.globalData.fontManager.chars) {
|
|
8051
|
-
var
|
|
8052
|
-
if (
|
|
8051
|
+
var L = this.globalData.fontManager.getCharData(e.finalText[o], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), d;
|
|
8052
|
+
if (L ? d = L.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), c.setAttribute("d", C)), this.isMasked)
|
|
8053
8053
|
this.innerElem.appendChild(c);
|
|
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(c);
|
|
8067
8067
|
else {
|
|
8068
8068
|
this.innerElem.appendChild(m);
|
|
8069
|
-
var
|
|
8070
|
-
|
|
8069
|
+
var M = c.style, A = "translate3d(0," + -e.finalSize / 1.2 + "px,0)";
|
|
8070
|
+
M.transform = A, M.webkitTransform = A;
|
|
8071
8071
|
}
|
|
8072
8072
|
this.isMasked ? this.textSpans[g] = c : this.textSpans[g] = m, this.textSpans[g].style.display = "block", this.textPaths[g] = c, g += 1;
|
|
8073
8073
|
}
|
|
@@ -8362,57 +8362,57 @@ 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), c = l * 2, m = s - 1, E;
|
|
8365
|
-
function u(p, b,
|
|
8366
|
-
var
|
|
8365
|
+
function u(p, b, M) {
|
|
8366
|
+
var A = [];
|
|
8367
8367
|
b = b === !0 ? {
|
|
8368
8368
|
entropy: !0
|
|
8369
8369
|
} : b || {};
|
|
8370
|
-
var T =
|
|
8370
|
+
var T = L(g(b.entropy ? [p, y(e)] : p === null ? d() : p, 3), A), k = new P(A), H = 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 >= c; )
|
|
8374
8374
|
N /= 2, j /= 2, Y >>>= 1;
|
|
8375
8375
|
return (N + Y) / j;
|
|
8376
8376
|
};
|
|
8377
|
-
return
|
|
8377
|
+
return H.int32 = function() {
|
|
8378
8378
|
return k.g(4) | 0;
|
|
8379
|
-
},
|
|
8379
|
+
}, H.quick = function() {
|
|
8380
8380
|
return k.g(4) / 4294967296;
|
|
8381
|
-
},
|
|
8381
|
+
}, H.double = H, L(y(k.S), e), (b.pass || M || 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;
|
|
8385
|
-
})(
|
|
8385
|
+
})(H, T, "global" in b ? b.global : this == t, b.state);
|
|
8386
8386
|
}
|
|
8387
8387
|
t["seed" + o] = u;
|
|
8388
8388
|
function P(p) {
|
|
8389
|
-
var b,
|
|
8390
|
-
for (
|
|
8391
|
-
|
|
8389
|
+
var b, M = p.length, A = this, T = 0, k = A.i = A.j = 0, H = A.S = [];
|
|
8390
|
+
for (M || (p = [M++]); T < s; )
|
|
8391
|
+
H[T] = T++;
|
|
8392
8392
|
for (T = 0; T < s; T++)
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
for (var N, j = 0, Y =
|
|
8396
|
-
N =
|
|
8397
|
-
return
|
|
8393
|
+
H[T] = H[k = m & k + p[T % M] + (b = H[T])], H[k] = b;
|
|
8394
|
+
A.g = function(X) {
|
|
8395
|
+
for (var N, j = 0, Y = A.i, U = A.j, Z = A.S; X--; )
|
|
8396
|
+
N = Z[Y = m & Y + 1], j = j * s + Z[m & (Z[Y] = Z[U = m & U + N]) + (Z[U] = N)];
|
|
8397
|
+
return A.i = Y, A.j = U, j;
|
|
8398
8398
|
};
|
|
8399
8399
|
}
|
|
8400
8400
|
function C(p, b) {
|
|
8401
8401
|
return b.i = p.i, b.j = p.j, b.S = p.S.slice(), b;
|
|
8402
8402
|
}
|
|
8403
8403
|
function g(p, b) {
|
|
8404
|
-
var
|
|
8405
|
-
if (b &&
|
|
8404
|
+
var M = [], A = _typeof$2(p), T;
|
|
8405
|
+
if (b && A == "object")
|
|
8406
8406
|
for (T in p)
|
|
8407
8407
|
try {
|
|
8408
|
-
|
|
8408
|
+
M.push(g(p[T], b - 1));
|
|
8409
8409
|
} catch {
|
|
8410
8410
|
}
|
|
8411
|
-
return
|
|
8411
|
+
return M.length ? M : A == "string" ? p : p + "\0";
|
|
8412
8412
|
}
|
|
8413
|
-
function
|
|
8414
|
-
for (var
|
|
8415
|
-
b[m & T] = m & (
|
|
8413
|
+
function L(p, b) {
|
|
8414
|
+
for (var M = p + "", A, T = 0; T < M.length; )
|
|
8415
|
+
b[m & T] = m & (A ^= b[m & T] * 19) + M.charCodeAt(T++);
|
|
8416
8416
|
return y(b);
|
|
8417
8417
|
}
|
|
8418
8418
|
function d() {
|
|
@@ -8420,14 +8420,14 @@ var lottie$1 = { exports: {} };
|
|
|
8420
8420
|
var p = new Uint8Array(s);
|
|
8421
8421
|
return (i.crypto || i.msCrypto).getRandomValues(p), y(p);
|
|
8422
8422
|
} catch {
|
|
8423
|
-
var b = i.navigator,
|
|
8424
|
-
return [+/* @__PURE__ */ new Date(), i,
|
|
8423
|
+
var b = i.navigator, M = b && b.plugins;
|
|
8424
|
+
return [+/* @__PURE__ */ new Date(), i, M, i.screen, y(e)];
|
|
8425
8425
|
}
|
|
8426
8426
|
}
|
|
8427
8427
|
function y(p) {
|
|
8428
8428
|
return String.fromCharCode.apply(0, p);
|
|
8429
8429
|
}
|
|
8430
|
-
|
|
8430
|
+
L(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, g = 0,
|
|
9100
|
+
for (var C = n.ef, g = 0, L = C.length; g < L; ) {
|
|
9101
9101
|
if (P === C[g].nm || P === C[g].mn || P === C[g].ix)
|
|
9102
9102
|
return C[g].ty === 5 ? m[g] : m[g]();
|
|
9103
9103
|
g += 1;
|
|
@@ -9169,28 +9169,28 @@ var lottie$1 = { exports: {} };
|
|
|
9169
9169
|
}), a;
|
|
9170
9170
|
};
|
|
9171
9171
|
}(), ShapeExpressionInterface = /* @__PURE__ */ function() {
|
|
9172
|
-
function e(C, g,
|
|
9172
|
+
function e(C, g, L) {
|
|
9173
9173
|
var d = [], y, p = C ? C.length : 0;
|
|
9174
9174
|
for (y = 0; y < p; y += 1)
|
|
9175
|
-
C[y].ty === "gr" ? d.push(i(C[y], g[y],
|
|
9175
|
+
C[y].ty === "gr" ? d.push(i(C[y], g[y], L)) : C[y].ty === "fl" ? d.push(s(C[y], g[y], L)) : C[y].ty === "st" ? d.push(o(C[y], g[y], L)) : C[y].ty === "tm" ? d.push(f(C[y], g[y], L)) : C[y].ty === "tr" || (C[y].ty === "el" ? d.push(c(C[y], g[y], L)) : C[y].ty === "sr" ? d.push(m(C[y], g[y], L)) : C[y].ty === "sh" ? d.push(ShapePathInterface(C[y], g[y], L)) : C[y].ty === "rc" ? d.push(E(C[y], g[y], L)) : C[y].ty === "rd" ? d.push(u(C[y], g[y], L)) : C[y].ty === "rp" ? d.push(P(C[y], g[y], L)) : C[y].ty === "gf" ? d.push(n(C[y], g[y], L)) : d.push(a(C[y], g[y])));
|
|
9176
9176
|
return d;
|
|
9177
9177
|
}
|
|
9178
|
-
function t(C, g,
|
|
9179
|
-
var d, y = function(
|
|
9180
|
-
for (var
|
|
9181
|
-
if (d[
|
|
9182
|
-
return d[
|
|
9183
|
-
|
|
9178
|
+
function t(C, g, L) {
|
|
9179
|
+
var d, y = function(M) {
|
|
9180
|
+
for (var A = 0, T = d.length; A < T; ) {
|
|
9181
|
+
if (d[A]._name === M || d[A].mn === M || d[A].propertyIndex === M || d[A].ix === M || d[A].ind === M)
|
|
9182
|
+
return d[A];
|
|
9183
|
+
A += 1;
|
|
9184
9184
|
}
|
|
9185
|
-
return typeof
|
|
9185
|
+
return typeof M == "number" ? d[M - 1] : null;
|
|
9186
9186
|
};
|
|
9187
|
-
y.propertyGroup = propertyGroupFactory(y,
|
|
9187
|
+
y.propertyGroup = propertyGroupFactory(y, L), d = e(C.it, g.it, y.propertyGroup), y.numProperties = d.length;
|
|
9188
9188
|
var p = l(C.it[C.it.length - 1], g.it[g.it.length - 1], y.propertyGroup);
|
|
9189
9189
|
return y.transform = p, y.propertyIndex = C.cix, y._name = C.nm, y;
|
|
9190
9190
|
}
|
|
9191
|
-
function i(C, g,
|
|
9192
|
-
var d = function(
|
|
9193
|
-
switch (
|
|
9191
|
+
function i(C, g, L) {
|
|
9192
|
+
var d = function(M) {
|
|
9193
|
+
switch (M) {
|
|
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, L);
|
|
9203
9203
|
var y = t(C, g, d.propertyGroup), p = l(C.it[C.it.length - 1], g.it[g.it.length - 1], d.propertyGroup);
|
|
9204
9204
|
return d.content = y, d.transform = p, 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, g,
|
|
9210
|
+
function s(C, g, L) {
|
|
9211
9211
|
function d(y) {
|
|
9212
9212
|
return y === "Color" || y === "color" ? d.color : y === "Opacity" || y === "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
|
-
}), g.c.setGroupProperty(PropertyInterface("Color",
|
|
9227
|
+
}), g.c.setGroupProperty(PropertyInterface("Color", L)), g.o.setGroupProperty(PropertyInterface("Opacity", L)), d;
|
|
9228
9228
|
}
|
|
9229
|
-
function n(C, g,
|
|
9229
|
+
function n(C, g, L) {
|
|
9230
9230
|
function d(y) {
|
|
9231
9231
|
return y === "Start Point" || y === "start point" ? d.startPoint : y === "End Point" || y === "end point" ? d.endPoint : y === "Opacity" || y === "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
|
-
}), g.s.setGroupProperty(PropertyInterface("Start Point",
|
|
9254
|
+
}), g.s.setGroupProperty(PropertyInterface("Start Point", L)), g.e.setGroupProperty(PropertyInterface("End Point", L)), g.o.setGroupProperty(PropertyInterface("Opacity", L)), 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, g,
|
|
9263
|
-
var d = propertyGroupFactory(T,
|
|
9262
|
+
function o(C, g, L) {
|
|
9263
|
+
var d = propertyGroupFactory(T, L), y = propertyGroupFactory(A, d);
|
|
9264
9264
|
function p(k) {
|
|
9265
|
-
Object.defineProperty(
|
|
9265
|
+
Object.defineProperty(A, C.d[k].nm, {
|
|
9266
9266
|
get: ExpressionPropertyInterface(g.d.dataProps[k].p)
|
|
9267
9267
|
});
|
|
9268
9268
|
}
|
|
9269
|
-
var b,
|
|
9270
|
-
for (b = 0; b <
|
|
9269
|
+
var b, M = C.d ? C.d.length : 0, A = {};
|
|
9270
|
+
for (b = 0; b < M; b += 1)
|
|
9271
9271
|
p(b), g.d.dataProps[b].p.setGroupProperty(y);
|
|
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;
|
|
@@ -9284,7 +9284,7 @@ var lottie$1 = { exports: {} };
|
|
|
9284
9284
|
},
|
|
9285
9285
|
dash: {
|
|
9286
9286
|
get: function() {
|
|
9287
|
-
return
|
|
9287
|
+
return A;
|
|
9288
9288
|
}
|
|
9289
9289
|
},
|
|
9290
9290
|
_name: {
|
|
@@ -9295,12 +9295,12 @@ var lottie$1 = { exports: {} };
|
|
|
9295
9295
|
}
|
|
9296
9296
|
}), g.c.setGroupProperty(PropertyInterface("Color", d)), g.o.setGroupProperty(PropertyInterface("Opacity", d)), g.w.setGroupProperty(PropertyInterface("Stroke Width", d)), T;
|
|
9297
9297
|
}
|
|
9298
|
-
function f(C, g,
|
|
9298
|
+
function f(C, g, L) {
|
|
9299
9299
|
function d(p) {
|
|
9300
9300
|
return p === C.e.ix || p === "End" || p === "end" ? d.end : p === C.s.ix ? d.start : p === C.o.ix ? d.offset : null;
|
|
9301
9301
|
}
|
|
9302
|
-
var y = propertyGroupFactory(d,
|
|
9303
|
-
return d.propertyIndex = C.ix, g.s.setGroupProperty(PropertyInterface("Start", y)), g.e.setGroupProperty(PropertyInterface("End", y)), g.o.setGroupProperty(PropertyInterface("Offset", y)), d.propertyIndex = C.ix, d.propertyGroup =
|
|
9302
|
+
var y = propertyGroupFactory(d, L);
|
|
9303
|
+
return d.propertyIndex = C.ix, g.s.setGroupProperty(PropertyInterface("Start", y)), g.e.setGroupProperty(PropertyInterface("End", y)), g.o.setGroupProperty(PropertyInterface("Offset", y)), d.propertyIndex = C.ix, d.propertyGroup = L, Object.defineProperties(d, {
|
|
9304
9304
|
start: {
|
|
9305
9305
|
get: ExpressionPropertyInterface(g.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, g,
|
|
9318
|
+
function l(C, g, L) {
|
|
9319
9319
|
function d(p) {
|
|
9320
9320
|
return C.a.ix === p || p === "Anchor Point" ? d.anchorPoint : C.o.ix === p || p === "Opacity" ? d.opacity : C.p.ix === p || p === "Position" ? d.position : C.r.ix === p || p === "Rotation" || p === "ADBE Vector Rotation" ? d.rotation : C.s.ix === p || p === "Scale" ? d.scale : C.sk && C.sk.ix === p || p === "Skew" ? d.skew : C.sa && C.sa.ix === p || p === "Skew Axis" ? d.skewAxis : null;
|
|
9321
9321
|
}
|
|
9322
|
-
var y = propertyGroupFactory(d,
|
|
9322
|
+
var y = propertyGroupFactory(d, L);
|
|
9323
9323
|
return g.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity", y)), g.transform.mProps.p.setGroupProperty(PropertyInterface("Position", y)), g.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point", y)), g.transform.mProps.s.setGroupProperty(PropertyInterface("Scale", y)), g.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation", y)), g.transform.mProps.sk && (g.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew", y)), g.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle", y))), g.transform.op.setGroupProperty(PropertyInterface("Opacity", y)), Object.defineProperties(d, {
|
|
9324
9324
|
opacity: {
|
|
9325
9325
|
get: ExpressionPropertyInterface(g.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 = L, d;
|
|
9349
9349
|
}
|
|
9350
|
-
function c(C, g,
|
|
9350
|
+
function c(C, g, L) {
|
|
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 y = propertyGroupFactory(d,
|
|
9354
|
+
var y = propertyGroupFactory(d, L);
|
|
9355
9355
|
d.propertyIndex = C.ix;
|
|
9356
9356
|
var p = g.sh.ty === "tm" ? g.sh.prop : g.sh;
|
|
9357
9357
|
return p.s.setGroupProperty(PropertyInterface("Size", y)), p.p.setGroupProperty(PropertyInterface("Position", y)), 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, g,
|
|
9369
|
+
function m(C, g, L) {
|
|
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 y = propertyGroupFactory(d,
|
|
9373
|
+
var y = propertyGroupFactory(d, L), p = g.sh.ty === "tm" ? g.sh.prop : g.sh;
|
|
9374
9374
|
return d.propertyIndex = C.ix, p.or.setGroupProperty(PropertyInterface("Outer Radius", y)), p.os.setGroupProperty(PropertyInterface("Outer Roundness", y)), p.pt.setGroupProperty(PropertyInterface("Points", y)), p.p.setGroupProperty(PropertyInterface("Position", y)), p.r.setGroupProperty(PropertyInterface("Rotation", y)), C.ir && (p.ir.setGroupProperty(PropertyInterface("Inner Radius", y)), p.is.setGroupProperty(PropertyInterface("Inner Roundness", y))), Object.defineProperties(d, {
|
|
9375
9375
|
position: {
|
|
9376
9376
|
get: ExpressionPropertyInterface(p.p)
|
|
@@ -9398,11 +9398,11 @@ var lottie$1 = { exports: {} };
|
|
|
9398
9398
|
}
|
|
9399
9399
|
}), d.mn = C.mn, d;
|
|
9400
9400
|
}
|
|
9401
|
-
function E(C, g,
|
|
9401
|
+
function E(C, g, L) {
|
|
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 y = propertyGroupFactory(d,
|
|
9405
|
+
var y = propertyGroupFactory(d, L), p = g.sh.ty === "tm" ? g.sh.prop : g.sh;
|
|
9406
9406
|
return d.propertyIndex = C.ix, p.p.setGroupProperty(PropertyInterface("Position", y)), p.s.setGroupProperty(PropertyInterface("Size", y)), p.r.setGroupProperty(PropertyInterface("Rotation", y)), Object.defineProperties(d, {
|
|
9407
9407
|
position: {
|
|
9408
9408
|
get: ExpressionPropertyInterface(p.p)
|
|
@@ -9418,11 +9418,11 @@ var lottie$1 = { exports: {} };
|
|
|
9418
9418
|
}
|
|
9419
9419
|
}), d.mn = C.mn, d;
|
|
9420
9420
|
}
|
|
9421
|
-
function u(C, g,
|
|
9421
|
+
function u(C, g, L) {
|
|
9422
9422
|
function d(b) {
|
|
9423
9423
|
return C.r.ix === b || b === "Round Corners 1" ? d.radius : null;
|
|
9424
9424
|
}
|
|
9425
|
-
var y = propertyGroupFactory(d,
|
|
9425
|
+
var y = propertyGroupFactory(d, L), p = g;
|
|
9426
9426
|
return d.propertyIndex = C.ix, p.rd.setGroupProperty(PropertyInterface("Radius", y)), Object.defineProperties(d, {
|
|
9427
9427
|
radius: {
|
|
9428
9428
|
get: ExpressionPropertyInterface(p.rd)
|
|
@@ -9432,11 +9432,11 @@ var lottie$1 = { exports: {} };
|
|
|
9432
9432
|
}
|
|
9433
9433
|
}), d.mn = C.mn, d;
|
|
9434
9434
|
}
|
|
9435
|
-
function P(C, g,
|
|
9435
|
+
function P(C, g, L) {
|
|
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 y = propertyGroupFactory(d,
|
|
9439
|
+
var y = propertyGroupFactory(d, L), p = g;
|
|
9440
9440
|
return d.propertyIndex = C.ix, p.c.setGroupProperty(PropertyInterface("Copies", y)), p.o.setGroupProperty(PropertyInterface("Offset", y)), Object.defineProperties(d, {
|
|
9441
9441
|
copies: {
|
|
9442
9442
|
get: ExpressionPropertyInterface(p.c)
|
|
@@ -9449,20 +9449,20 @@ var lottie$1 = { exports: {} };
|
|
|
9449
9449
|
}
|
|
9450
9450
|
}), d.mn = C.mn, d;
|
|
9451
9451
|
}
|
|
9452
|
-
return function(C, g,
|
|
9452
|
+
return function(C, g, L) {
|
|
9453
9453
|
var d;
|
|
9454
9454
|
function y(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 ? L : d[b - 1];
|
|
9457
|
+
for (var M = 0, A = d.length; M < A; ) {
|
|
9458
|
+
if (d[M]._name === b)
|
|
9459
|
+
return d[M];
|
|
9460
|
+
M += 1;
|
|
9461
9461
|
}
|
|
9462
9462
|
return null;
|
|
9463
9463
|
}
|
|
9464
9464
|
function p() {
|
|
9465
|
-
return
|
|
9465
|
+
return L;
|
|
9466
9466
|
}
|
|
9467
9467
|
return y.propertyGroup = propertyGroupFactory(y, p), d = e(C, g, y.propertyGroup), y.numProperties = d.length, y._name = "Contents", y;
|
|
9468
9468
|
};
|
|
@@ -9591,30 +9591,30 @@ var lottie$1 = { exports: {} };
|
|
|
9591
9591
|
if (!this.k || !this.keyframes)
|
|
9592
9592
|
return this.pv;
|
|
9593
9593
|
u = u ? u.toLowerCase() : "";
|
|
9594
|
-
var g = this.comp.renderedFrame,
|
|
9594
|
+
var g = this.comp.renderedFrame, L = this.keyframes, d = L[L.length - 1].t;
|
|
9595
9595
|
if (g <= d)
|
|
9596
9596
|
return this.pv;
|
|
9597
9597
|
var y, p;
|
|
9598
|
-
C ? (P ? y = Math.abs(d - this.elem.comp.globalData.frameRate * P) : y = Math.max(0, d - this.elem.data.ip), p = d - y) : ((!P || P >
|
|
9599
|
-
var b,
|
|
9598
|
+
C ? (P ? y = Math.abs(d - this.elem.comp.globalData.frameRate * P) : y = Math.max(0, d - this.elem.data.ip), p = d - y) : ((!P || P > L.length - 1) && (P = L.length - 1), p = L[L.length - 1 - P].t, y = d - p);
|
|
9599
|
+
var b, M, A;
|
|
9600
9600
|
if (u === "pingpong") {
|
|
9601
9601
|
var T = Math.floor((g - p) / y);
|
|
9602
9602
|
if (T % 2 !== 0)
|
|
9603
9603
|
return this.getValueAtTime((y - (g - p) % y + p) / this.comp.globalData.frameRate, 0);
|
|
9604
9604
|
} else if (u === "offset") {
|
|
9605
|
-
var k = this.getValueAtTime(p / this.comp.globalData.frameRate, 0),
|
|
9605
|
+
var k = this.getValueAtTime(p / this.comp.globalData.frameRate, 0), H = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), X = this.getValueAtTime(((g - p) % y + p) / this.comp.globalData.frameRate, 0), N = Math.floor((g - p) / y);
|
|
9606
9606
|
if (this.pv.length) {
|
|
9607
|
-
for (
|
|
9608
|
-
|
|
9609
|
-
return
|
|
9607
|
+
for (A = new Array(k.length), M = A.length, b = 0; b < M; b += 1)
|
|
9608
|
+
A[b] = (H[b] - k[b]) * N + X[b];
|
|
9609
|
+
return A;
|
|
9610
9610
|
}
|
|
9611
|
-
return (
|
|
9611
|
+
return (H - k) * N + X;
|
|
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 (
|
|
9616
|
-
|
|
9617
|
-
return
|
|
9615
|
+
for (A = new Array(j.length), M = A.length, b = 0; b < M; b += 1)
|
|
9616
|
+
A[b] = j[b] + (j[b] - Y[b]) * ((g - d) / this.comp.globalData.frameRate) / 5e-4;
|
|
9617
|
+
return A;
|
|
9618
9618
|
}
|
|
9619
9619
|
return j + (j - Y) * ((g - d) / 1e-3);
|
|
9620
9620
|
}
|
|
@@ -9624,30 +9624,30 @@ var lottie$1 = { exports: {} };
|
|
|
9624
9624
|
if (!this.k)
|
|
9625
9625
|
return this.pv;
|
|
9626
9626
|
u = u ? u.toLowerCase() : "";
|
|
9627
|
-
var g = this.comp.renderedFrame,
|
|
9627
|
+
var g = this.comp.renderedFrame, L = this.keyframes, d = L[0].t;
|
|
9628
9628
|
if (g >= d)
|
|
9629
9629
|
return this.pv;
|
|
9630
9630
|
var y, p;
|
|
9631
|
-
C ? (P ? y = Math.abs(this.elem.comp.globalData.frameRate * P) : y = Math.max(0, this.elem.data.op - d), p = d + y) : ((!P || P >
|
|
9632
|
-
var b,
|
|
9631
|
+
C ? (P ? y = Math.abs(this.elem.comp.globalData.frameRate * P) : y = Math.max(0, this.elem.data.op - d), p = d + y) : ((!P || P > L.length - 1) && (P = L.length - 1), p = L[P].t, y = p - d);
|
|
9632
|
+
var b, M, A;
|
|
9633
9633
|
if (u === "pingpong") {
|
|
9634
9634
|
var T = Math.floor((d - g) / y);
|
|
9635
9635
|
if (T % 2 === 0)
|
|
9636
9636
|
return this.getValueAtTime(((d - g) % y + d) / this.comp.globalData.frameRate, 0);
|
|
9637
9637
|
} else if (u === "offset") {
|
|
9638
|
-
var k = this.getValueAtTime(d / this.comp.globalData.frameRate, 0),
|
|
9638
|
+
var k = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), H = this.getValueAtTime(p / this.comp.globalData.frameRate, 0), X = this.getValueAtTime((y - (d - g) % y + d) / this.comp.globalData.frameRate, 0), N = Math.floor((d - g) / y) + 1;
|
|
9639
9639
|
if (this.pv.length) {
|
|
9640
|
-
for (
|
|
9641
|
-
|
|
9642
|
-
return
|
|
9640
|
+
for (A = new Array(k.length), M = A.length, b = 0; b < M; b += 1)
|
|
9641
|
+
A[b] = X[b] - (H[b] - k[b]) * N;
|
|
9642
|
+
return A;
|
|
9643
9643
|
}
|
|
9644
|
-
return X - (
|
|
9644
|
+
return X - (H - k) * N;
|
|
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 (
|
|
9649
|
-
|
|
9650
|
-
return
|
|
9648
|
+
for (A = new Array(j.length), M = A.length, b = 0; b < M; b += 1)
|
|
9649
|
+
A[b] = j[b] + (j[b] - Y[b]) * (d - g) / 1e-3;
|
|
9650
|
+
return A;
|
|
9651
9651
|
}
|
|
9652
9652
|
return j + (j - Y) * (d - g) / 1e-3;
|
|
9653
9653
|
}
|
|
@@ -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, g = C - u,
|
|
9661
|
+
var C = this.comp.renderedFrame / this.comp.globalData.frameRate, g = C - u, L = C + u, d = P > 1 ? (L - g) / (P - 1) : 1, y = 0, p = 0, b;
|
|
9662
9662
|
this.pv.length ? b = createTypedArray("float32", this.pv.length) : b = 0;
|
|
9663
|
-
for (var
|
|
9664
|
-
if (
|
|
9663
|
+
for (var M; y < P; ) {
|
|
9664
|
+
if (M = this.getValueAtTime(g + y * d), this.pv.length)
|
|
9665
9665
|
for (p = 0; p < this.pv.length; p += 1)
|
|
9666
|
-
b[p] +=
|
|
9666
|
+
b[p] += M[p];
|
|
9667
9667
|
else
|
|
9668
|
-
b +=
|
|
9668
|
+
b += M;
|
|
9669
9669
|
y += 1;
|
|
9670
9670
|
}
|
|
9671
9671
|
if (this.pv.length)
|
|
@@ -9689,21 +9689,21 @@ var lottie$1 = { exports: {} };
|
|
|
9689
9689
|
P.scale(g[0] * this.s.mult, g[1] * this.s.mult, g[2] * this.s.mult);
|
|
9690
9690
|
}
|
|
9691
9691
|
if (this.sk && this.appliedTransformations < 3) {
|
|
9692
|
-
var
|
|
9693
|
-
P.skewFromAxis(-
|
|
9692
|
+
var L = this.sk.getValueAtTime(u), d = this.sa.getValueAtTime(u);
|
|
9693
|
+
P.skewFromAxis(-L * this.sk.mult, d * this.sa.mult);
|
|
9694
9694
|
}
|
|
9695
9695
|
if (this.r && this.appliedTransformations < 4) {
|
|
9696
9696
|
var y = this.r.getValueAtTime(u);
|
|
9697
9697
|
P.rotate(-y * this.r.mult);
|
|
9698
9698
|
} else if (!this.r && this.appliedTransformations < 4) {
|
|
9699
|
-
var p = this.rz.getValueAtTime(u), b = this.ry.getValueAtTime(u),
|
|
9700
|
-
P.rotateZ(-p * this.rz.mult).rotateY(b * this.ry.mult).rotateX(
|
|
9699
|
+
var p = this.rz.getValueAtTime(u), b = this.ry.getValueAtTime(u), M = this.rx.getValueAtTime(u), A = this.or.getValueAtTime(u);
|
|
9700
|
+
P.rotateZ(-p * this.rz.mult).rotateY(b * this.ry.mult).rotateX(M * 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);
|
|
9704
9704
|
if (this.data.p.z) {
|
|
9705
|
-
var
|
|
9706
|
-
P.translate(T * this.px.mult, k * this.py.mult, -
|
|
9705
|
+
var H = this.pz.getValueAtTime(u);
|
|
9706
|
+
P.translate(T * this.px.mult, k * this.py.mult, -H * this.pz.mult);
|
|
9707
9707
|
} else
|
|
9708
9708
|
P.translate(T * this.px.mult, k * this.py.mult, 0);
|
|
9709
9709
|
} else {
|
|
@@ -9721,15 +9721,15 @@ var lottie$1 = { exports: {} };
|
|
|
9721
9721
|
return g.dynamicProperties.length ? g.getValueAtTime = s.bind(g) : g.getValueAtTime = n.bind(g), g.setGroupProperty = expressionHelpers.setGroupProperty, g;
|
|
9722
9722
|
};
|
|
9723
9723
|
var o = PropertyFactory.getProp;
|
|
9724
|
-
PropertyFactory.getProp = function(u, P, C, g,
|
|
9725
|
-
var d = o(u, P, C, g,
|
|
9724
|
+
PropertyFactory.getProp = function(u, P, C, g, L) {
|
|
9725
|
+
var d = o(u, P, C, g, L);
|
|
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 y = 0;
|
|
9728
9728
|
return C !== 0 && (y = 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: y
|
|
9732
|
-
}, expressionHelpers.searchExpressions(u, P, d), d.k &&
|
|
9732
|
+
}, expressionHelpers.searchExpressions(u, P, d), d.k && L.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 g = this.v;
|
|
9748
9748
|
C !== void 0 && (g = this.getValueAtTime(C, 0));
|
|
9749
|
-
var
|
|
9750
|
-
for (
|
|
9751
|
-
P === "i" || P === "o" ? b[
|
|
9749
|
+
var L, d = g._length, y = g[P], p = g.v, b = createSizedArray(d);
|
|
9750
|
+
for (L = 0; L < d; L += 1)
|
|
9751
|
+
P === "i" || P === "o" ? b[L] = [y[L][0] - p[L][0], y[L][1] - p[L][1]] : b[L] = [y[L][0], y[L][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 g = this.v;
|
|
9768
9768
|
C !== void 0 && (g = this.getValueAtTime(C, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(g));
|
|
9769
|
-
for (var
|
|
9770
|
-
if (
|
|
9771
|
-
var T = p, k = g.c && p === b - 1 ? 0 : p + 1,
|
|
9772
|
-
|
|
9769
|
+
for (var L = this._segmentsLength, d = L.lengths, y = L.totalLength * P, p = 0, b = d.length, M = 0, A; p < b; ) {
|
|
9770
|
+
if (M + d[p].addedLength > y) {
|
|
9771
|
+
var T = p, k = g.c && p === b - 1 ? 0 : p + 1, H = (y - M) / d[p].addedLength;
|
|
9772
|
+
A = bez.getPointInSegment(g.v[T], g.v[k], g.o[T], g.i[k], H, d[p]);
|
|
9773
9773
|
break;
|
|
9774
9774
|
} else
|
|
9775
|
-
|
|
9775
|
+
M += d[p].addedLength;
|
|
9776
9776
|
p += 1;
|
|
9777
9777
|
}
|
|
9778
|
-
return
|
|
9778
|
+
return A || (A = g.c ? [g.v[0][0], g.v[0][1]] : [g.v[g._length - 1][0], g.v[g._length - 1][1]]), A;
|
|
9779
9779
|
},
|
|
9780
9780
|
vectorOnPath: function(P, C, g) {
|
|
9781
9781
|
P == 1 ? P = this.v.c : P == 0 && (P = 0.999);
|
|
9782
|
-
var
|
|
9782
|
+
var L = this.pointOnPath(P, C), d = this.pointOnPath(P + 1e-3, C), y = d[0] - L[0], p = d[1] - L[1], b = Math.sqrt(Math.pow(y, 2) + Math.pow(p, 2));
|
|
9783
9783
|
if (b === 0)
|
|
9784
9784
|
return [0, 0];
|
|
9785
|
-
var
|
|
9786
|
-
return
|
|
9785
|
+
var M = g === "tangent" ? [y / b, p / b] : [-p / b, y / b];
|
|
9786
|
+
return M;
|
|
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], c), c.prototype.getValueAtTime = f, c.prototype.initiateExpression = ExpressionManager.initiateExpression;
|
|
9797
9797
|
var E = ShapePropertyFactory.getShapeProp;
|
|
9798
|
-
ShapePropertyFactory.getShapeProp = function(u, P, C, g,
|
|
9799
|
-
var d = E(u, P, C, g,
|
|
9798
|
+
ShapePropertyFactory.getShapeProp = function(u, P, C, g, L) {
|
|
9799
|
+
var d = E(u, P, C, g, L);
|
|
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,51 +10147,51 @@ 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, c = t.onEnterFrame, m = t.onSegmentStart, E = t.onConfigReady, u = t.onDataReady, P = t.onDataFailed, C = t.onLoadedImages, g = t.onDOMLoaded,
|
|
10150
|
+
var s = t.animationData, n = t.loop, a = t.autoplay, o = t.initialSegment, f = t.onComplete, l = t.onLoopComplete, c = t.onEnterFrame, m = t.onSegmentStart, E = t.onConfigReady, u = t.onDataReady, P = t.onDataFailed, C = t.onLoadedImages, g = t.onDOMLoaded, L = t.onDestroy;
|
|
10151
10151
|
t.lottieRef, t.renderer, t.name, t.assetsPath, t.rendererSettings;
|
|
10152
|
-
var d = _objectWithoutProperties(t, _excluded$1), y = useState(!1), p = _slicedToArray(y, 2), b = p[0],
|
|
10153
|
-
var
|
|
10154
|
-
(
|
|
10155
|
-
},
|
|
10156
|
-
var
|
|
10157
|
-
(
|
|
10152
|
+
var d = _objectWithoutProperties(t, _excluded$1), y = useState(!1), p = _slicedToArray(y, 2), b = p[0], M = p[1], A = useRef(), T = useRef(null), k = function() {
|
|
10153
|
+
var G;
|
|
10154
|
+
(G = A.current) === null || G === void 0 || G.play();
|
|
10155
|
+
}, H = function() {
|
|
10156
|
+
var G;
|
|
10157
|
+
(G = A.current) === null || G === void 0 || G.stop();
|
|
10158
10158
|
}, X = function() {
|
|
10159
|
-
var
|
|
10160
|
-
(
|
|
10161
|
-
}, N = function(
|
|
10159
|
+
var G;
|
|
10160
|
+
(G = A.current) === null || G === void 0 || G.pause();
|
|
10161
|
+
}, N = function(G) {
|
|
10162
10162
|
var q;
|
|
10163
|
-
(q =
|
|
10164
|
-
}, j = function(
|
|
10163
|
+
(q = A.current) === null || q === void 0 || q.setSpeed(G);
|
|
10164
|
+
}, j = function(G, q) {
|
|
10165
10165
|
var $;
|
|
10166
|
-
($ =
|
|
10167
|
-
}, Y = function(
|
|
10166
|
+
($ = A.current) === null || $ === void 0 || $.goToAndPlay(G, q);
|
|
10167
|
+
}, Y = function(G, q) {
|
|
10168
10168
|
var $;
|
|
10169
|
-
($ =
|
|
10170
|
-
}, U = function(
|
|
10169
|
+
($ = A.current) === null || $ === void 0 || $.goToAndStop(G, q);
|
|
10170
|
+
}, U = function(G) {
|
|
10171
10171
|
var q;
|
|
10172
|
-
(q =
|
|
10173
|
-
},
|
|
10172
|
+
(q = A.current) === null || q === void 0 || q.setDirection(G);
|
|
10173
|
+
}, Z = function(G, q) {
|
|
10174
10174
|
var $;
|
|
10175
|
-
($ =
|
|
10176
|
-
}, _ = function(
|
|
10175
|
+
($ = A.current) === null || $ === void 0 || $.playSegments(G, q);
|
|
10176
|
+
}, _ = function(G) {
|
|
10177
10177
|
var q;
|
|
10178
|
-
(q =
|
|
10179
|
-
}, I = function(
|
|
10178
|
+
(q = A.current) === null || q === void 0 || q.setSubframe(G);
|
|
10179
|
+
}, I = function(G) {
|
|
10180
10180
|
var q;
|
|
10181
|
-
return (q =
|
|
10181
|
+
return (q = A.current) === null || q === void 0 ? void 0 : q.getDuration(G);
|
|
10182
10182
|
}, x = function() {
|
|
10183
|
-
var
|
|
10184
|
-
(
|
|
10183
|
+
var G;
|
|
10184
|
+
(G = A.current) === null || G === void 0 || G.destroy(), A.current = void 0;
|
|
10185
10185
|
}, S = function() {
|
|
10186
|
-
var
|
|
10186
|
+
var G = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, q;
|
|
10187
10187
|
if (T.current) {
|
|
10188
|
-
(q =
|
|
10189
|
-
var $ = _objectSpread2(_objectSpread2(_objectSpread2({}, t),
|
|
10188
|
+
(q = A.current) === null || q === void 0 || q.destroy();
|
|
10189
|
+
var $ = _objectSpread2(_objectSpread2(_objectSpread2({}, t), G), {}, {
|
|
10190
10190
|
container: T.current
|
|
10191
10191
|
});
|
|
10192
|
-
return
|
|
10192
|
+
return A.current = lottie.loadAnimation($), M(!!A.current), function() {
|
|
10193
10193
|
var J;
|
|
10194
|
-
(J =
|
|
10194
|
+
(J = A.current) === null || J === void 0 || J.destroy(), A.current = void 0;
|
|
10195
10195
|
};
|
|
10196
10196
|
}
|
|
10197
10197
|
};
|
|
@@ -10201,14 +10201,14 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10201
10201
|
return F == null ? void 0 : F();
|
|
10202
10202
|
};
|
|
10203
10203
|
}, [s, n]), useEffect(function() {
|
|
10204
|
-
|
|
10204
|
+
A.current && (A.current.autoplay = !!a);
|
|
10205
10205
|
}, [a]), useEffect(function() {
|
|
10206
|
-
if (
|
|
10206
|
+
if (A.current) {
|
|
10207
10207
|
if (!o) {
|
|
10208
|
-
|
|
10208
|
+
A.current.resetSegments(!0);
|
|
10209
10209
|
return;
|
|
10210
10210
|
}
|
|
10211
|
-
!Array.isArray(o) || !o.length || ((
|
|
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
10214
|
var F = [{
|
|
@@ -10240,12 +10240,12 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10240
10240
|
handler: g
|
|
10241
10241
|
}, {
|
|
10242
10242
|
name: "destroy",
|
|
10243
|
-
handler:
|
|
10244
|
-
}],
|
|
10243
|
+
handler: L
|
|
10244
|
+
}], G = F.filter(function($) {
|
|
10245
10245
|
return $.handler != null;
|
|
10246
10246
|
});
|
|
10247
|
-
if (
|
|
10248
|
-
var q =
|
|
10247
|
+
if (G.length) {
|
|
10248
|
+
var q = G.map(
|
|
10249
10249
|
/**
|
|
10250
10250
|
* Handle the process of adding an event listener
|
|
10251
10251
|
* @param {Listener} listener
|
|
@@ -10253,9 +10253,9 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10253
10253
|
*/
|
|
10254
10254
|
function($) {
|
|
10255
10255
|
var J;
|
|
10256
|
-
return (J =
|
|
10256
|
+
return (J = A.current) === null || J === void 0 || J.addEventListener($.name, $.handler), function() {
|
|
10257
10257
|
var re;
|
|
10258
|
-
(re =
|
|
10258
|
+
(re = A.current) === null || re === void 0 || re.removeEventListener($.name, $.handler);
|
|
10259
10259
|
};
|
|
10260
10260
|
}
|
|
10261
10261
|
);
|
|
@@ -10265,7 +10265,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10265
10265
|
});
|
|
10266
10266
|
};
|
|
10267
10267
|
}
|
|
10268
|
-
}, [f, l, c, m, E, u, P, C, g,
|
|
10268
|
+
}, [f, l, c, m, E, u, P, C, g, L]);
|
|
10269
10269
|
var B = /* @__PURE__ */ React.createElement("div", _objectSpread2({
|
|
10270
10270
|
style: i,
|
|
10271
10271
|
ref: T
|
|
@@ -10273,19 +10273,19 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10273
10273
|
return {
|
|
10274
10274
|
View: B,
|
|
10275
10275
|
play: k,
|
|
10276
|
-
stop:
|
|
10276
|
+
stop: H,
|
|
10277
10277
|
pause: X,
|
|
10278
10278
|
setSpeed: N,
|
|
10279
10279
|
goToAndStop: Y,
|
|
10280
10280
|
goToAndPlay: j,
|
|
10281
10281
|
setDirection: U,
|
|
10282
|
-
playSegments:
|
|
10282
|
+
playSegments: Z,
|
|
10283
10283
|
setSubframe: _,
|
|
10284
10284
|
getDuration: I,
|
|
10285
10285
|
destroy: x,
|
|
10286
10286
|
animationContainerRef: T,
|
|
10287
10287
|
animationLoaded: b,
|
|
10288
|
-
animationItem:
|
|
10288
|
+
animationItem: A.current
|
|
10289
10289
|
};
|
|
10290
10290
|
};
|
|
10291
10291
|
function getContainerVisibility(e) {
|
|
@@ -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(L) {
|
|
10311
|
+
var d = L.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, g) {
|
|
10328
|
-
var
|
|
10329
|
-
if (
|
|
10330
|
-
var y = getContainerCursorPosition(o,
|
|
10331
|
-
|
|
10332
|
-
}
|
|
10333
|
-
var p = a.find(function(
|
|
10334
|
-
var T =
|
|
10335
|
-
return T && Array.isArray(T.x) && Array.isArray(T.y) ?
|
|
10328
|
+
var L = C, d = g;
|
|
10329
|
+
if (L !== -1 && d !== -1) {
|
|
10330
|
+
var y = getContainerCursorPosition(o, L, d);
|
|
10331
|
+
L = y.x, d = y.y;
|
|
10332
|
+
}
|
|
10333
|
+
var p = a.find(function(A) {
|
|
10334
|
+
var T = A.position;
|
|
10335
|
+
return T && Array.isArray(T.x) && Array.isArray(T.y) ? L >= T.x[0] && L <= T.x[1] && d >= T.y[0] && d <= T.y[1] : T && !Number.isNaN(T.x) && !Number.isNaN(T.y) ? L === T.x && d === T.y : !1;
|
|
10336
10336
|
});
|
|
10337
10337
|
if (p) {
|
|
10338
10338
|
if (p.type === "seek" && p.position && Array.isArray(p.position.x) && Array.isArray(p.position.y) && p.frames.length === 2) {
|
|
10339
|
-
var b = (
|
|
10340
|
-
s.playSegments(p.frames, !0), s.goToAndStop(Math.ceil((b +
|
|
10339
|
+
var b = (L - p.position.x[0]) / (p.position.x[1] - p.position.x[0]), M = (d - p.position.y[0]) / (p.position.y[1] - p.position.y[0]);
|
|
10340
|
+
s.playSegments(p.frames, !0), s.goToAndStop(Math.ceil((b + M) / 2 * (p.frames[1] - p.frames[0])), !0);
|
|
10341
10341
|
}
|
|
10342
10342
|
p.type === "loop" && s.playSegments(p.frames, !0), p.type === "play" && (s.isPaused && s.resetSegments(!1), s.playSegments(p.frames)), p.type === "stop" && s.goToAndStop(p.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), c = l.View, m = l.play, E = l.stop, u = l.pause, P = l.setSpeed, C = l.goToAndStop, g = l.goToAndPlay,
|
|
10370
|
+
var i, s, n, a = t.style, o = t.interactivity, f = _objectWithoutProperties(t, _excluded), l = useLottie(f, a), c = l.View, m = l.play, E = l.stop, u = l.pause, P = l.setSpeed, C = l.goToAndStop, g = l.goToAndPlay, L = l.setDirection, d = l.playSegments, y = l.setSubframe, p = l.getDuration, b = l.destroy, M = 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,13 +10376,13 @@ var useInitInteractivity = function e(t) {
|
|
|
10376
10376
|
setSpeed: P,
|
|
10377
10377
|
goToAndPlay: g,
|
|
10378
10378
|
goToAndStop: C,
|
|
10379
|
-
setDirection:
|
|
10379
|
+
setDirection: L,
|
|
10380
10380
|
playSegments: d,
|
|
10381
10381
|
setSubframe: y,
|
|
10382
10382
|
getDuration: p,
|
|
10383
10383
|
destroy: b,
|
|
10384
|
-
animationContainerRef:
|
|
10385
|
-
animationLoaded:
|
|
10384
|
+
animationContainerRef: M,
|
|
10385
|
+
animationLoaded: A,
|
|
10386
10386
|
animationItem: T
|
|
10387
10387
|
});
|
|
10388
10388
|
}, [(i = t.lottieRef) === null || i === void 0 ? void 0 : i.current]), useLottieInteractivity({
|
|
@@ -10394,13 +10394,13 @@ var useInitInteractivity = function e(t) {
|
|
|
10394
10394
|
setSpeed: P,
|
|
10395
10395
|
goToAndStop: C,
|
|
10396
10396
|
goToAndPlay: g,
|
|
10397
|
-
setDirection:
|
|
10397
|
+
setDirection: L,
|
|
10398
10398
|
playSegments: d,
|
|
10399
10399
|
setSubframe: y,
|
|
10400
10400
|
getDuration: p,
|
|
10401
10401
|
destroy: b,
|
|
10402
|
-
animationContainerRef:
|
|
10403
|
-
animationLoaded:
|
|
10402
|
+
animationContainerRef: M,
|
|
10403
|
+
animationLoaded: A,
|
|
10404
10404
|
animationItem: T
|
|
10405
10405
|
},
|
|
10406
10406
|
actions: (s = o == null ? void 0 : o.actions) !== null && s !== void 0 ? s : [],
|
|
@@ -11399,6 +11399,40 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx("svg", { width: "12", heigh
|
|
|
11399
11399
|
}
|
|
11400
11400
|
)
|
|
11401
11401
|
}
|
|
11402
|
+
), TimerIcon = (e) => /* @__PURE__ */ jsx(
|
|
11403
|
+
"svg",
|
|
11404
|
+
{
|
|
11405
|
+
width: "16",
|
|
11406
|
+
height: "19",
|
|
11407
|
+
viewBox: "0 0 16 19",
|
|
11408
|
+
fill: "none",
|
|
11409
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11410
|
+
...e,
|
|
11411
|
+
children: /* @__PURE__ */ jsx(
|
|
11412
|
+
"path",
|
|
11413
|
+
{
|
|
11414
|
+
d: "M5.5 2.49998V0.833313H10.5V2.49998H5.5ZM7.16667 11.6666H8.83333V6.66665H7.16667V11.6666ZM8 18.3333C6.97222 18.3333 6.00347 18.1354 5.09375 17.7396C4.18403 17.3437 3.38889 16.8055 2.70833 16.125C2.02778 15.4444 1.48958 14.6493 1.09375 13.7396C0.697917 12.8298 0.5 11.8611 0.5 10.8333C0.5 9.80554 0.697917 8.83679 1.09375 7.92706C1.48958 7.01734 2.02778 6.2222 2.70833 5.54165C3.38889 4.86109 4.18403 4.3229 5.09375 3.92706C6.00347 3.53123 6.97222 3.33331 8 3.33331C8.86111 3.33331 9.6875 3.4722 10.4792 3.74998C11.2708 4.02776 12.0139 4.43054 12.7083 4.95831L13.875 3.79165L15.0417 4.95831L13.875 6.12498C14.4028 6.81942 14.8056 7.56248 15.0833 8.35415C15.3611 9.14581 15.5 9.9722 15.5 10.8333C15.5 11.8611 15.3021 12.8298 14.9062 13.7396C14.5104 14.6493 13.9722 15.4444 13.2917 16.125C12.6111 16.8055 11.816 17.3437 10.9062 17.7396C9.99653 18.1354 9.02778 18.3333 8 18.3333ZM8 16.6666C9.61111 16.6666 10.9861 16.0972 12.125 14.9583C13.2639 13.8194 13.8333 12.4444 13.8333 10.8333C13.8333 9.2222 13.2639 7.8472 12.125 6.70831C10.9861 5.56942 9.61111 4.99998 8 4.99998C6.38889 4.99998 5.01389 5.56942 3.875 6.70831C2.73611 7.8472 2.16667 9.2222 2.16667 10.8333C2.16667 12.4444 2.73611 13.8194 3.875 14.9583C5.01389 16.0972 6.38889 16.6666 8 16.6666Z",
|
|
11415
|
+
fill: "#554B6A"
|
|
11416
|
+
}
|
|
11417
|
+
)
|
|
11418
|
+
}
|
|
11419
|
+
), ReferralIcon = (e) => /* @__PURE__ */ jsx(
|
|
11420
|
+
"svg",
|
|
11421
|
+
{
|
|
11422
|
+
width: "20",
|
|
11423
|
+
height: "14",
|
|
11424
|
+
viewBox: "0 0 20 14",
|
|
11425
|
+
fill: "none",
|
|
11426
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11427
|
+
...e,
|
|
11428
|
+
children: /* @__PURE__ */ jsx(
|
|
11429
|
+
"path",
|
|
11430
|
+
{
|
|
11431
|
+
d: "M10.4167 6.95831C10.8194 6.51387 11.1285 6.00692 11.3438 5.43748C11.559 4.86804 11.6667 4.27776 11.6667 3.66665C11.6667 3.05554 11.559 2.46526 11.3438 1.89581C11.1285 1.32637 10.8194 0.819424 10.4167 0.37498C11.25 0.486091 11.9444 0.854146 12.5 1.47915C13.0556 2.10415 13.3333 2.83331 13.3333 3.66665C13.3333 4.49998 13.0556 5.22915 12.5 5.85415C11.9444 6.47915 11.25 6.8472 10.4167 6.95831ZM15 13.6666V11.1666C15 10.6666 14.8889 10.191 14.6667 9.73956C14.4444 9.28817 14.1528 8.88887 13.7917 8.54165C14.5 8.79165 15.1562 9.11456 15.7604 9.5104C16.3646 9.90623 16.6667 10.4583 16.6667 11.1666V13.6666H15ZM16.6667 7.83331V6.16665H15V4.49998H16.6667V2.83331H18.3333V4.49998H20V6.16665H18.3333V7.83331H16.6667ZM6.66667 6.99998C5.75 6.99998 4.96528 6.67359 4.3125 6.02081C3.65972 5.36804 3.33333 4.58331 3.33333 3.66665C3.33333 2.74998 3.65972 1.96526 4.3125 1.31248C4.96528 0.659702 5.75 0.333313 6.66667 0.333313C7.58333 0.333313 8.36806 0.659702 9.02083 1.31248C9.67361 1.96526 10 2.74998 10 3.66665C10 4.58331 9.67361 5.36804 9.02083 6.02081C8.36806 6.67359 7.58333 6.99998 6.66667 6.99998ZM0 13.6666V11.3333C0 10.8611 0.121528 10.4271 0.364583 10.0312C0.607639 9.6354 0.930556 9.33331 1.33333 9.12498C2.19444 8.69442 3.06944 8.37151 3.95833 8.15623C4.84722 7.94095 5.75 7.83331 6.66667 7.83331C7.58333 7.83331 8.48611 7.94095 9.375 8.15623C10.2639 8.37151 11.1389 8.69442 12 9.12498C12.4028 9.33331 12.7257 9.6354 12.9688 10.0312C13.2118 10.4271 13.3333 10.8611 13.3333 11.3333V13.6666H0ZM6.66667 5.33331C7.125 5.33331 7.51736 5.17012 7.84375 4.84373C8.17014 4.51734 8.33333 4.12498 8.33333 3.66665C8.33333 3.20831 8.17014 2.81595 7.84375 2.48956C7.51736 2.16317 7.125 1.99998 6.66667 1.99998C6.20833 1.99998 5.81597 2.16317 5.48958 2.48956C5.16319 2.81595 5 3.20831 5 3.66665C5 4.12498 5.16319 4.51734 5.48958 4.84373C5.81597 5.17012 6.20833 5.33331 6.66667 5.33331ZM1.66667 12H11.6667V11.3333C11.6667 11.1805 11.6285 11.0416 11.5521 10.9166C11.4757 10.7916 11.375 10.6944 11.25 10.625C10.5 10.25 9.74306 9.96873 8.97917 9.78123C8.21528 9.59373 7.44444 9.49998 6.66667 9.49998C5.88889 9.49998 5.11806 9.59373 4.35417 9.78123C3.59028 9.96873 2.83333 10.25 2.08333 10.625C1.95833 10.6944 1.85764 10.7916 1.78125 10.9166C1.70486 11.0416 1.66667 11.1805 1.66667 11.3333V12Z",
|
|
11432
|
+
fill: "#554B6A"
|
|
11433
|
+
}
|
|
11434
|
+
)
|
|
11435
|
+
}
|
|
11402
11436
|
), ArbitrumLogo = (e) => /* @__PURE__ */ jsxs("svg", { width: "18", height: "20", viewBox: "0 0 18 20", ...e, fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
11403
11437
|
/* @__PURE__ */ jsx("path", { d: "M0.671875 6.07916V13.9193C0.671875 14.4199 0.939395 14.8827 1.37268 15.1322L8.16244 19.0531C8.59572 19.3025 9.12912 19.3025 9.5624 19.0531L16.3522 15.1322C16.7854 14.8827 17.053 14.4199 17.053 13.9193V6.07916C17.053 5.57858 16.7854 5.11576 16.3522 4.86629L9.5624 0.945401C9.12912 0.695934 8.59572 0.695934 8.16244 0.945401L1.37104 4.86629C0.937754 5.11576 0.671875 5.57858 0.671875 6.07916Z", fill: "#213147" }),
|
|
11404
11438
|
/* @__PURE__ */ jsx("path", { d: "M10.3474 11.5195L9.37907 14.175C9.35281 14.2488 9.35281 14.3292 9.37907 14.4031L11.0449 18.9723L12.9717 17.8595L10.6592 11.5195C10.6067 11.3734 10.3999 11.3734 10.3474 11.5195Z", fill: "#12AAFF" }),
|
|
@@ -11414,8 +11448,8 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx("svg", { width: "12", heigh
|
|
|
11414
11448
|
] }), CatalogLogo = (e) => /* @__PURE__ */ jsxs(
|
|
11415
11449
|
"svg",
|
|
11416
11450
|
{
|
|
11417
|
-
width: "
|
|
11418
|
-
height: "
|
|
11451
|
+
width: "170",
|
|
11452
|
+
height: "38",
|
|
11419
11453
|
viewBox: "0 0 76 17",
|
|
11420
11454
|
fill: "none",
|
|
11421
11455
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12339,19 +12373,67 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx("svg", { width: "12", heigh
|
|
|
12339
12373
|
), Camelot = (e) => /* @__PURE__ */ jsxs(
|
|
12340
12374
|
"svg",
|
|
12341
12375
|
{
|
|
12342
|
-
width: "
|
|
12343
|
-
height: "
|
|
12344
|
-
viewBox: "0 0
|
|
12376
|
+
width: "148",
|
|
12377
|
+
height: "36",
|
|
12378
|
+
viewBox: "0 0 148 36",
|
|
12345
12379
|
fill: "none",
|
|
12346
12380
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12347
12381
|
...e,
|
|
12348
12382
|
children: [
|
|
12349
|
-
/* @__PURE__ */ jsx("circle", { cx: "13.5348", cy: "13.5357", r: "13.36", fill: "#554B6A" }),
|
|
12350
12383
|
/* @__PURE__ */ jsx(
|
|
12351
12384
|
"path",
|
|
12352
12385
|
{
|
|
12353
|
-
d: "
|
|
12354
|
-
fill: "#
|
|
12386
|
+
d: "M21.0788 36V21.204C24.6068 21.582 27.0008 23.202 27.0008 23.202L29.2508 20.664C25.5608 18.036 20.0888 17.928 20.0888 17.928L19.1888 7.992C19.7828 7.596 20.1788 6.93 20.1788 6.156C20.1788 4.95 19.1888 3.96 17.9828 3.96C16.7768 3.96 15.7868 4.95 15.7868 6.156C15.7868 6.93 16.1828 7.614 16.7768 7.992L15.8768 17.928C15.8768 17.928 10.4048 18.018 6.71479 20.664L8.96479 23.202C8.96479 23.202 11.3588 21.582 14.8868 21.204V36C1.09879 25.776 -0.0352069 10.926 0.000793079 5.994C0.000793079 4.968 0.612793 4.032 1.54879 3.618C4.30279 2.394 10.5848 0 17.9648 0C25.3448 0 31.6268 2.394 34.3808 3.618C35.3168 4.032 35.9288 4.968 35.9288 5.994C35.9648 10.926 34.8308 25.776 21.0788 36Z",
|
|
12387
|
+
fill: "#554B6A"
|
|
12388
|
+
}
|
|
12389
|
+
),
|
|
12390
|
+
/* @__PURE__ */ jsx(
|
|
12391
|
+
"path",
|
|
12392
|
+
{
|
|
12393
|
+
d: "M48.7977 26.7652C46.7097 26.7652 45.0537 26.1892 43.8477 25.0192C42.6237 23.8492 42.0117 22.1932 42.0117 20.0332V15.9832C42.0117 13.8232 42.6237 12.1492 43.8477 10.9972C45.0717 9.82722 46.7097 9.25122 48.7977 9.25122C50.8677 9.25122 52.4697 9.80922 53.6037 10.9432C54.7377 12.0772 55.2957 13.6252 55.2957 15.6052V15.7492H52.1637V15.5152C52.1637 14.5252 51.8937 13.6972 51.3357 13.0672C50.7777 12.4192 49.9317 12.1132 48.7977 12.1132C47.6817 12.1132 46.7997 12.4552 46.1517 13.1392C45.5037 13.8232 45.1977 14.7592 45.1977 15.9472V20.0872C45.1977 21.2572 45.5217 22.1932 46.1517 22.8952C46.7997 23.5972 47.6817 23.9392 48.7977 23.9392C49.9317 23.9392 50.7777 23.6152 51.3357 22.9672C51.8937 22.3192 52.1637 21.5092 52.1637 20.5192V20.0872H55.2957V20.4292C55.2957 22.4092 54.7377 23.9572 53.6037 25.0912C52.4697 26.1892 50.8677 26.7652 48.7977 26.7652Z",
|
|
12394
|
+
fill: "#554B6A"
|
|
12395
|
+
}
|
|
12396
|
+
),
|
|
12397
|
+
/* @__PURE__ */ jsx(
|
|
12398
|
+
"path",
|
|
12399
|
+
{
|
|
12400
|
+
d: "M56.5566 26.4247L60.9846 9.57666H66.5106L70.9386 26.4247H67.6626L66.7446 22.7167H60.7326L59.8146 26.4247H56.5566ZM61.4886 19.7827H66.0066L63.9546 11.5747H63.5226L61.4886 19.7827Z",
|
|
12401
|
+
fill: "#554B6A"
|
|
12402
|
+
}
|
|
12403
|
+
),
|
|
12404
|
+
/* @__PURE__ */ jsx(
|
|
12405
|
+
"path",
|
|
12406
|
+
{
|
|
12407
|
+
d: "M72.9531 26.4247V9.57666H78.8391L81.7551 24.2467H82.1871L85.1031 9.57666H90.9891V26.4247H87.9111V11.9167H87.4791L84.5991 26.4247H79.3611L76.4811 11.9167H76.0491V26.4247H72.9531Z",
|
|
12408
|
+
fill: "#554B6A"
|
|
12409
|
+
}
|
|
12410
|
+
),
|
|
12411
|
+
/* @__PURE__ */ jsx(
|
|
12412
|
+
"path",
|
|
12413
|
+
{
|
|
12414
|
+
d: "M94.1758 26.4247V9.57666H104.994V12.4567H97.3438V16.4707H104.328V19.3507H97.3438V23.5087H105.138V26.3887H94.1758V26.4247Z",
|
|
12415
|
+
fill: "#554B6A"
|
|
12416
|
+
}
|
|
12417
|
+
),
|
|
12418
|
+
/* @__PURE__ */ jsx(
|
|
12419
|
+
"path",
|
|
12420
|
+
{
|
|
12421
|
+
d: "M107.515 26.4247V9.57666H110.683V23.5267H118.387V26.4067H107.515V26.4247Z",
|
|
12422
|
+
fill: "#554B6A"
|
|
12423
|
+
}
|
|
12424
|
+
),
|
|
12425
|
+
/* @__PURE__ */ jsx(
|
|
12426
|
+
"path",
|
|
12427
|
+
{
|
|
12428
|
+
d: "M126.521 26.7652C124.397 26.7652 122.723 26.1892 121.463 25.0192C120.203 23.8492 119.591 22.1932 119.591 20.0332V15.9832C119.591 13.8232 120.221 12.1492 121.463 10.9972C122.723 9.82722 124.397 9.25122 126.521 9.25122C128.645 9.25122 130.319 9.82722 131.579 10.9972C132.839 12.1672 133.451 13.8232 133.451 15.9832V20.0332C133.451 22.1932 132.821 23.8672 131.579 25.0192C130.319 26.1712 128.627 26.7652 126.521 26.7652ZM126.521 23.9212C127.709 23.9212 128.627 23.5792 129.293 22.8952C129.959 22.2112 130.283 21.2752 130.283 20.1232V15.8752C130.283 14.7232 129.959 13.8052 129.293 13.1032C128.627 12.4192 127.709 12.0772 126.521 12.0772C125.351 12.0772 124.433 12.4192 123.767 13.1032C123.101 13.7872 122.777 14.7232 122.777 15.8752V20.1052C122.777 21.2572 123.101 22.1752 123.767 22.8772C124.415 23.5792 125.351 23.9212 126.521 23.9212Z",
|
|
12429
|
+
fill: "#554B6A"
|
|
12430
|
+
}
|
|
12431
|
+
),
|
|
12432
|
+
/* @__PURE__ */ jsx(
|
|
12433
|
+
"path",
|
|
12434
|
+
{
|
|
12435
|
+
d: "M139.465 26.4228V12.4728H134.551V9.59277H147.547V12.4728H142.633V26.4228H139.465Z",
|
|
12436
|
+
fill: "#554B6A"
|
|
12355
12437
|
}
|
|
12356
12438
|
)
|
|
12357
12439
|
]
|
|
@@ -12939,74 +13021,74 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
12939
13021
|
var build = { exports: {} };
|
|
12940
13022
|
(() => {
|
|
12941
13023
|
var e = { 181: (n, a, o) => {
|
|
12942
|
-
var f = /^\s+|\s+$/g, l = /^[-+]0x[0-9a-f]+$/i, c = /^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")(), g = Object.prototype.toString,
|
|
13024
|
+
var f = /^\s+|\s+$/g, l = /^[-+]0x[0-9a-f]+$/i, c = /^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")(), g = Object.prototype.toString, L = Math.max, d = Math.min, y = function() {
|
|
12943
13025
|
return C.Date.now();
|
|
12944
13026
|
};
|
|
12945
|
-
function p(
|
|
12946
|
-
var
|
|
12947
|
-
return !!
|
|
13027
|
+
function p(M) {
|
|
13028
|
+
var A = typeof M;
|
|
13029
|
+
return !!M && (A == "object" || A == "function");
|
|
12948
13030
|
}
|
|
12949
|
-
function b(
|
|
12950
|
-
if (typeof
|
|
13031
|
+
function b(M) {
|
|
13032
|
+
if (typeof M == "number") return M;
|
|
12951
13033
|
if (function(k) {
|
|
12952
|
-
return typeof k == "symbol" || /* @__PURE__ */ function(
|
|
12953
|
-
return !!
|
|
13034
|
+
return typeof k == "symbol" || /* @__PURE__ */ function(H) {
|
|
13035
|
+
return !!H && typeof H == "object";
|
|
12954
13036
|
}(k) && g.call(k) == "[object Symbol]";
|
|
12955
|
-
}(
|
|
12956
|
-
if (p(
|
|
12957
|
-
var
|
|
12958
|
-
|
|
12959
|
-
}
|
|
12960
|
-
if (typeof
|
|
12961
|
-
|
|
12962
|
-
var T = c.test(
|
|
12963
|
-
return T || m.test(
|
|
12964
|
-
}
|
|
12965
|
-
n.exports = function(
|
|
12966
|
-
var k,
|
|
12967
|
-
if (typeof
|
|
13037
|
+
}(M)) return NaN;
|
|
13038
|
+
if (p(M)) {
|
|
13039
|
+
var A = typeof M.valueOf == "function" ? M.valueOf() : M;
|
|
13040
|
+
M = p(A) ? A + "" : A;
|
|
13041
|
+
}
|
|
13042
|
+
if (typeof M != "string") return M === 0 ? M : +M;
|
|
13043
|
+
M = M.replace(f, "");
|
|
13044
|
+
var T = c.test(M);
|
|
13045
|
+
return T || m.test(M) ? E(M.slice(2), T ? 2 : 8) : l.test(M) ? NaN : +M;
|
|
13046
|
+
}
|
|
13047
|
+
n.exports = function(M, A, T) {
|
|
13048
|
+
var k, H, X, N, j, Y, U = 0, Z = !1, _ = !1, I = !0;
|
|
13049
|
+
if (typeof M != "function") throw new TypeError("Expected a function");
|
|
12968
13050
|
function x(q) {
|
|
12969
|
-
var $ = k, J =
|
|
12970
|
-
return k =
|
|
13051
|
+
var $ = k, J = H;
|
|
13052
|
+
return k = H = void 0, U = q, N = M.apply(J, $);
|
|
12971
13053
|
}
|
|
12972
13054
|
function S(q) {
|
|
12973
13055
|
var $ = q - Y;
|
|
12974
|
-
return Y === void 0 || $ >=
|
|
13056
|
+
return Y === void 0 || $ >= A || $ < 0 || _ && q - U >= X;
|
|
12975
13057
|
}
|
|
12976
13058
|
function B() {
|
|
12977
13059
|
var q = y();
|
|
12978
13060
|
if (S(q)) return F(q);
|
|
12979
13061
|
j = setTimeout(B, function($) {
|
|
12980
|
-
var J =
|
|
13062
|
+
var J = A - ($ - Y);
|
|
12981
13063
|
return _ ? d(J, X - ($ - U)) : J;
|
|
12982
13064
|
}(q));
|
|
12983
13065
|
}
|
|
12984
13066
|
function F(q) {
|
|
12985
|
-
return j = void 0, I && k ? x(q) : (k =
|
|
13067
|
+
return j = void 0, I && k ? x(q) : (k = H = void 0, N);
|
|
12986
13068
|
}
|
|
12987
|
-
function
|
|
13069
|
+
function G() {
|
|
12988
13070
|
var q = y(), $ = S(q);
|
|
12989
|
-
if (k = arguments,
|
|
13071
|
+
if (k = arguments, H = this, Y = q, $) {
|
|
12990
13072
|
if (j === void 0) return function(J) {
|
|
12991
|
-
return U = J, j = setTimeout(B,
|
|
13073
|
+
return U = J, j = setTimeout(B, A), Z ? x(J) : N;
|
|
12992
13074
|
}(Y);
|
|
12993
|
-
if (_) return j = setTimeout(B,
|
|
13075
|
+
if (_) return j = setTimeout(B, A), x(Y);
|
|
12994
13076
|
}
|
|
12995
|
-
return j === void 0 && (j = setTimeout(B,
|
|
13077
|
+
return j === void 0 && (j = setTimeout(B, A)), N;
|
|
12996
13078
|
}
|
|
12997
|
-
return
|
|
12998
|
-
j !== void 0 && clearTimeout(j), U = 0, k = Y =
|
|
12999
|
-
},
|
|
13079
|
+
return A = b(A) || 0, p(T) && (Z = !!T.leading, X = (_ = "maxWait" in T) ? L(b(T.maxWait) || 0, A) : X, I = "trailing" in T ? !!T.trailing : I), G.cancel = function() {
|
|
13080
|
+
j !== void 0 && clearTimeout(j), U = 0, k = Y = H = j = void 0;
|
|
13081
|
+
}, G.flush = function() {
|
|
13000
13082
|
return j === void 0 ? N : F(y());
|
|
13001
|
-
},
|
|
13083
|
+
}, G;
|
|
13002
13084
|
};
|
|
13003
13085
|
}, 858: (n, a, o) => {
|
|
13004
|
-
var f = "Expected a function", l = NaN, c = "[object Symbol]", m = /^\s+|\s+$/g, E = /^[-+]0x[0-9a-f]+$/i, u = /^0b[01]+$/i, P = /^0o[0-7]+$/i, C = parseInt, g = typeof o.g == "object" && o.g && o.g.Object === Object && o.g,
|
|
13086
|
+
var f = "Expected a function", l = NaN, c = "[object Symbol]", m = /^\s+|\s+$/g, E = /^[-+]0x[0-9a-f]+$/i, u = /^0b[01]+$/i, P = /^0o[0-7]+$/i, C = parseInt, g = typeof o.g == "object" && o.g && o.g.Object === Object && o.g, L = typeof self == "object" && self && self.Object === Object && self, d = g || L || Function("return this")(), y = Object.prototype.toString, p = Math.max, b = Math.min, M = function() {
|
|
13005
13087
|
return d.Date.now();
|
|
13006
13088
|
};
|
|
13007
|
-
function
|
|
13008
|
-
var
|
|
13009
|
-
return !!k && (
|
|
13089
|
+
function A(k) {
|
|
13090
|
+
var H = typeof k;
|
|
13091
|
+
return !!k && (H == "object" || H == "function");
|
|
13010
13092
|
}
|
|
13011
13093
|
function T(k) {
|
|
13012
13094
|
if (typeof k == "number") return k;
|
|
@@ -13015,56 +13097,56 @@ var build = { exports: {} };
|
|
|
13015
13097
|
return !!j && typeof j == "object";
|
|
13016
13098
|
}(N) && y.call(N) == c;
|
|
13017
13099
|
}(k)) return l;
|
|
13018
|
-
if (
|
|
13019
|
-
var
|
|
13020
|
-
k =
|
|
13100
|
+
if (A(k)) {
|
|
13101
|
+
var H = typeof k.valueOf == "function" ? k.valueOf() : k;
|
|
13102
|
+
k = A(H) ? H + "" : H;
|
|
13021
13103
|
}
|
|
13022
13104
|
if (typeof k != "string") return k === 0 ? k : +k;
|
|
13023
13105
|
k = k.replace(m, "");
|
|
13024
13106
|
var X = u.test(k);
|
|
13025
13107
|
return X || P.test(k) ? C(k.slice(2), X ? 2 : 8) : E.test(k) ? l : +k;
|
|
13026
13108
|
}
|
|
13027
|
-
n.exports = function(k,
|
|
13109
|
+
n.exports = function(k, H, X) {
|
|
13028
13110
|
var N = !0, j = !0;
|
|
13029
13111
|
if (typeof k != "function") throw new TypeError(f);
|
|
13030
|
-
return
|
|
13031
|
-
var _, I, x, S, B, F,
|
|
13112
|
+
return A(X) && (N = "leading" in X ? !!X.leading : N, j = "trailing" in X ? !!X.trailing : j), function(Y, U, Z) {
|
|
13113
|
+
var _, I, x, S, B, F, G = 0, q = !1, $ = !1, J = !0;
|
|
13032
13114
|
if (typeof Y != "function") throw new TypeError(f);
|
|
13033
13115
|
function re(se) {
|
|
13034
13116
|
var oe = _, te = I;
|
|
13035
|
-
return _ = I = void 0,
|
|
13117
|
+
return _ = I = void 0, G = se, S = Y.apply(te, oe);
|
|
13036
13118
|
}
|
|
13037
13119
|
function le(se) {
|
|
13038
13120
|
var oe = se - F;
|
|
13039
|
-
return F === void 0 || oe >= U || oe < 0 || $ && se -
|
|
13121
|
+
return F === void 0 || oe >= U || oe < 0 || $ && se - G >= x;
|
|
13040
13122
|
}
|
|
13041
13123
|
function pe() {
|
|
13042
|
-
var se =
|
|
13124
|
+
var se = M();
|
|
13043
13125
|
if (le(se)) return ue(se);
|
|
13044
13126
|
B = setTimeout(pe, function(oe) {
|
|
13045
13127
|
var te = U - (oe - F);
|
|
13046
|
-
return $ ? b(te, x - (oe -
|
|
13128
|
+
return $ ? b(te, x - (oe - G)) : te;
|
|
13047
13129
|
}(se));
|
|
13048
13130
|
}
|
|
13049
13131
|
function ue(se) {
|
|
13050
13132
|
return B = void 0, J && _ ? re(se) : (_ = I = void 0, S);
|
|
13051
13133
|
}
|
|
13052
13134
|
function ce() {
|
|
13053
|
-
var se =
|
|
13135
|
+
var se = M(), oe = le(se);
|
|
13054
13136
|
if (_ = arguments, I = this, F = se, oe) {
|
|
13055
13137
|
if (B === void 0) return function(te) {
|
|
13056
|
-
return
|
|
13138
|
+
return G = te, B = setTimeout(pe, U), q ? re(te) : S;
|
|
13057
13139
|
}(F);
|
|
13058
13140
|
if ($) return B = setTimeout(pe, U), re(F);
|
|
13059
13141
|
}
|
|
13060
13142
|
return B === void 0 && (B = setTimeout(pe, U)), S;
|
|
13061
13143
|
}
|
|
13062
|
-
return U = T(U) || 0,
|
|
13063
|
-
B !== void 0 && clearTimeout(B),
|
|
13144
|
+
return U = T(U) || 0, A(Z) && (q = !!Z.leading, x = ($ = "maxWait" in Z) ? p(T(Z.maxWait) || 0, U) : x, J = "trailing" in Z ? !!Z.trailing : J), ce.cancel = function() {
|
|
13145
|
+
B !== void 0 && clearTimeout(B), G = 0, _ = F = I = B = void 0;
|
|
13064
13146
|
}, ce.flush = function() {
|
|
13065
|
-
return B === void 0 ? S : ue(
|
|
13147
|
+
return B === void 0 ? S : ue(M());
|
|
13066
13148
|
}, ce;
|
|
13067
|
-
}(k,
|
|
13149
|
+
}(k, H, { leading: N, maxWait: H, trailing: j });
|
|
13068
13150
|
};
|
|
13069
13151
|
}, 694: (n, a, o) => {
|
|
13070
13152
|
var f = o(925);
|
|
@@ -13073,7 +13155,7 @@ var build = { exports: {} };
|
|
|
13073
13155
|
function c() {
|
|
13074
13156
|
}
|
|
13075
13157
|
c.resetWarningCache = l, n.exports = function() {
|
|
13076
|
-
function m(P, C, g,
|
|
13158
|
+
function m(P, C, g, L, d, y) {
|
|
13077
13159
|
if (y !== f) {
|
|
13078
13160
|
var p = 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");
|
|
13079
13161
|
throw p.name = "Invariant Violation", p;
|
|
@@ -13131,8 +13213,8 @@ var build = { exports: {} };
|
|
|
13131
13213
|
var O = Object.keys(D);
|
|
13132
13214
|
if (Object.getOwnPropertySymbols) {
|
|
13133
13215
|
var W = Object.getOwnPropertySymbols(D);
|
|
13134
|
-
V && (W = W.filter(function(
|
|
13135
|
-
return Object.getOwnPropertyDescriptor(D,
|
|
13216
|
+
V && (W = W.filter(function(R) {
|
|
13217
|
+
return Object.getOwnPropertyDescriptor(D, R).enumerable;
|
|
13136
13218
|
})), O.push.apply(O, W);
|
|
13137
13219
|
}
|
|
13138
13220
|
return O;
|
|
@@ -13149,9 +13231,9 @@ var build = { exports: {} };
|
|
|
13149
13231
|
function u(D) {
|
|
13150
13232
|
var V = function(O, W) {
|
|
13151
13233
|
if (l(O) != "object" || !O) return O;
|
|
13152
|
-
var
|
|
13153
|
-
if (
|
|
13154
|
-
var z =
|
|
13234
|
+
var R = O[Symbol.toPrimitive];
|
|
13235
|
+
if (R !== void 0) {
|
|
13236
|
+
var z = R.call(O, "string");
|
|
13155
13237
|
if (l(z) != "object") return z;
|
|
13156
13238
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
13157
13239
|
}
|
|
@@ -13160,9 +13242,9 @@ var build = { exports: {} };
|
|
|
13160
13242
|
return l(V) == "symbol" ? V : V + "";
|
|
13161
13243
|
}
|
|
13162
13244
|
function P(D, V, O) {
|
|
13163
|
-
return V = g(V), function(W,
|
|
13164
|
-
if (
|
|
13165
|
-
if (
|
|
13245
|
+
return V = g(V), function(W, R) {
|
|
13246
|
+
if (R && (l(R) == "object" || typeof R == "function")) return R;
|
|
13247
|
+
if (R !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13166
13248
|
return function(z) {
|
|
13167
13249
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13168
13250
|
return z;
|
|
@@ -13184,31 +13266,31 @@ var build = { exports: {} };
|
|
|
13184
13266
|
return V.__proto__ || Object.getPrototypeOf(V);
|
|
13185
13267
|
}, g(D);
|
|
13186
13268
|
}
|
|
13187
|
-
function
|
|
13188
|
-
return
|
|
13269
|
+
function L(D, V) {
|
|
13270
|
+
return L = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(O, W) {
|
|
13189
13271
|
return O.__proto__ = W, O;
|
|
13190
|
-
},
|
|
13272
|
+
}, L(D, V);
|
|
13191
13273
|
}
|
|
13192
13274
|
var d = function(D) {
|
|
13193
13275
|
D.forEach(function(V) {
|
|
13194
13276
|
V.isIntersecting && V.target.onVisible();
|
|
13195
13277
|
});
|
|
13196
13278
|
}, y = {}, p = function(D) {
|
|
13197
|
-
function V(
|
|
13279
|
+
function V(R) {
|
|
13198
13280
|
var z;
|
|
13199
13281
|
if (function(Q, ie) {
|
|
13200
13282
|
if (!(Q instanceof ie)) throw new TypeError("Cannot call a class as a function");
|
|
13201
|
-
}(this, V), (z = P(this, V, [
|
|
13202
|
-
var ee =
|
|
13283
|
+
}(this, V), (z = P(this, V, [R])).supportsObserver = !R.scrollPosition && R.useIntersectionObserver && f(), z.supportsObserver) {
|
|
13284
|
+
var ee = R.threshold;
|
|
13203
13285
|
z.observer = function(Q) {
|
|
13204
13286
|
return y[Q] = y[Q] || new IntersectionObserver(d, { rootMargin: Q + "px" }), y[Q];
|
|
13205
13287
|
}(ee);
|
|
13206
13288
|
}
|
|
13207
13289
|
return z;
|
|
13208
13290
|
}
|
|
13209
|
-
return function(
|
|
13291
|
+
return function(R, z) {
|
|
13210
13292
|
if (typeof z != "function" && z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
13211
|
-
|
|
13293
|
+
R.prototype = Object.create(z && z.prototype, { constructor: { value: R, writable: !0, configurable: !0 } }), Object.defineProperty(R, "prototype", { writable: !1 }), z && L(R, z);
|
|
13212
13294
|
}(V, D), O = V, W = [{ key: "componentDidMount", value: function() {
|
|
13213
13295
|
this.placeholder && this.observer && (this.placeholder.onVisible = this.props.onVisible, this.observer.observe(this.placeholder)), this.supportsObserver || this.updateVisibility();
|
|
13214
13296
|
} }, { key: "componentWillUnmount", value: function() {
|
|
@@ -13216,18 +13298,18 @@ var build = { exports: {} };
|
|
|
13216
13298
|
} }, { key: "componentDidUpdate", value: function() {
|
|
13217
13299
|
this.supportsObserver || this.updateVisibility();
|
|
13218
13300
|
} }, { key: "getPlaceholderBoundingBox", value: function() {
|
|
13219
|
-
var
|
|
13220
|
-
return { bottom:
|
|
13301
|
+
var R = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.props.scrollPosition, z = this.placeholder.getBoundingClientRect(), ee = this.placeholder.style, Q = parseInt(ee.getPropertyValue("margin-left"), 10) || 0, ie = parseInt(ee.getPropertyValue("margin-top"), 10) || 0;
|
|
13302
|
+
return { bottom: R.y + z.bottom + ie, left: R.x + z.left + Q, right: R.x + z.right + Q, top: R.y + z.top + ie };
|
|
13221
13303
|
} }, { key: "isPlaceholderInViewport", value: function() {
|
|
13222
13304
|
if (typeof window > "u" || !this.placeholder) return !1;
|
|
13223
|
-
var
|
|
13305
|
+
var R = this.props, z = R.scrollPosition, ee = R.threshold, Q = this.getPlaceholderBoundingBox(z), ie = z.y + window.innerHeight, ne = z.x, he = z.x + window.innerWidth, fe = z.y;
|
|
13224
13306
|
return fe - ee <= Q.bottom && ie + ee >= Q.top && ne - ee <= Q.right && he + ee >= Q.left;
|
|
13225
13307
|
} }, { key: "updateVisibility", value: function() {
|
|
13226
13308
|
this.isPlaceholderInViewport() && this.props.onVisible();
|
|
13227
13309
|
} }, { key: "render", value: function() {
|
|
13228
|
-
var
|
|
13310
|
+
var R = this, z = this.props, ee = z.className, Q = z.height, ie = z.placeholder, ne = z.style, he = z.width;
|
|
13229
13311
|
if (ie && typeof ie.type != "function") return a().cloneElement(ie, { ref: function(ae) {
|
|
13230
|
-
return
|
|
13312
|
+
return R.placeholder = ae;
|
|
13231
13313
|
} });
|
|
13232
13314
|
var fe = function(ae) {
|
|
13233
13315
|
for (var ve = 1; ve < arguments.length; ve++) {
|
|
@@ -13241,21 +13323,21 @@ var build = { exports: {} };
|
|
|
13241
13323
|
return ae;
|
|
13242
13324
|
}({ display: "inline-block" }, ne);
|
|
13243
13325
|
return he !== void 0 && (fe.width = he), Q !== void 0 && (fe.height = Q), a().createElement("span", { className: ee, ref: function(ae) {
|
|
13244
|
-
return
|
|
13326
|
+
return R.placeholder = ae;
|
|
13245
13327
|
}, style: fe }, ie);
|
|
13246
13328
|
} }], W && E(O.prototype, W), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
13247
13329
|
var O, W;
|
|
13248
13330
|
}(a().Component);
|
|
13249
13331
|
p.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]) }, p.defaultProps = { className: "", placeholder: null, threshold: 100, useIntersectionObserver: !0 };
|
|
13250
13332
|
const b = p;
|
|
13251
|
-
var
|
|
13333
|
+
var M = i(181), A = i.n(M), T = i(858), k = i.n(T), H = function(D) {
|
|
13252
13334
|
var V = getComputedStyle(D, null);
|
|
13253
13335
|
return V.getPropertyValue("overflow") + V.getPropertyValue("overflow-y") + V.getPropertyValue("overflow-x");
|
|
13254
13336
|
};
|
|
13255
13337
|
const X = function(D) {
|
|
13256
13338
|
if (!(D instanceof HTMLElement)) return window;
|
|
13257
13339
|
for (var V = D; V && V instanceof HTMLElement; ) {
|
|
13258
|
-
if (/(scroll|auto)/.test(
|
|
13340
|
+
if (/(scroll|auto)/.test(H(V))) return V;
|
|
13259
13341
|
V = V.parentNode;
|
|
13260
13342
|
}
|
|
13261
13343
|
return window;
|
|
@@ -13280,15 +13362,15 @@ var build = { exports: {} };
|
|
|
13280
13362
|
function U(D, V) {
|
|
13281
13363
|
for (var O = 0; O < V.length; O++) {
|
|
13282
13364
|
var W = V[O];
|
|
13283
|
-
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D,
|
|
13365
|
+
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D, Z(W.key), W);
|
|
13284
13366
|
}
|
|
13285
13367
|
}
|
|
13286
|
-
function
|
|
13368
|
+
function Z(D) {
|
|
13287
13369
|
var V = function(O, W) {
|
|
13288
13370
|
if (N(O) != "object" || !O) return O;
|
|
13289
|
-
var
|
|
13290
|
-
if (
|
|
13291
|
-
var z =
|
|
13371
|
+
var R = O[Symbol.toPrimitive];
|
|
13372
|
+
if (R !== void 0) {
|
|
13373
|
+
var z = R.call(O, "string");
|
|
13292
13374
|
if (N(z) != "object") return z;
|
|
13293
13375
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
13294
13376
|
}
|
|
@@ -13329,7 +13411,7 @@ var build = { exports: {} };
|
|
|
13329
13411
|
}
|
|
13330
13412
|
var F = function() {
|
|
13331
13413
|
return typeof window > "u" ? 0 : window.scrollX || window.pageXOffset;
|
|
13332
|
-
},
|
|
13414
|
+
}, G = function() {
|
|
13333
13415
|
return typeof window > "u" ? 0 : window.scrollY || window.pageYOffset;
|
|
13334
13416
|
};
|
|
13335
13417
|
const q = function(D) {
|
|
@@ -13340,12 +13422,12 @@ var build = { exports: {} };
|
|
|
13340
13422
|
if (!(ne instanceof he)) throw new TypeError("Cannot call a class as a function");
|
|
13341
13423
|
}(this, W), (Q = _(this, W, [ee])).useIntersectionObserver = ee.useIntersectionObserver && f(), Q.useIntersectionObserver) return I(Q);
|
|
13342
13424
|
var ie = Q.onChangeScroll.bind(Q);
|
|
13343
|
-
return ee.delayMethod === "debounce" ? Q.delayedScroll =
|
|
13425
|
+
return ee.delayMethod === "debounce" ? Q.delayedScroll = A()(ie, ee.delayTime) : ee.delayMethod === "throttle" && (Q.delayedScroll = k()(ie, ee.delayTime)), Q.state = { scrollPosition: { x: F(), y: G() } }, Q.baseComponentRef = a().createRef(), Q;
|
|
13344
13426
|
}
|
|
13345
13427
|
return function(ee, Q) {
|
|
13346
13428
|
if (typeof Q != "function" && Q !== null) throw new TypeError("Super expression must either be null or a function");
|
|
13347
13429
|
ee.prototype = Object.create(Q && Q.prototype, { constructor: { value: ee, writable: !0, configurable: !0 } }), Object.defineProperty(ee, "prototype", { writable: !1 }), Q && B(ee, Q);
|
|
13348
|
-
}(W, O),
|
|
13430
|
+
}(W, O), R = W, z = [{ key: "componentDidMount", value: function() {
|
|
13349
13431
|
this.addListeners();
|
|
13350
13432
|
} }, { key: "componentWillUnmount", value: function() {
|
|
13351
13433
|
this.removeListeners();
|
|
@@ -13356,15 +13438,15 @@ var build = { exports: {} };
|
|
|
13356
13438
|
} }, { key: "removeListeners", value: function() {
|
|
13357
13439
|
typeof window > "u" || this.useIntersectionObserver || (this.scrollElement.removeEventListener("scroll", this.delayedScroll), window.removeEventListener("resize", this.delayedScroll), this.scrollElement !== window && window.removeEventListener("scroll", this.delayedScroll));
|
|
13358
13440
|
} }, { key: "onChangeScroll", value: function() {
|
|
13359
|
-
this.useIntersectionObserver || this.setState({ scrollPosition: { x: F(), y:
|
|
13441
|
+
this.useIntersectionObserver || this.setState({ scrollPosition: { x: F(), y: G() } });
|
|
13360
13442
|
} }, { key: "render", value: function() {
|
|
13361
13443
|
var ee = this.props, Q = (ee.delayMethod, ee.delayTime, function(ne, he) {
|
|
13362
13444
|
if (ne == null) return {};
|
|
13363
|
-
var fe, ae, ve = function(ye,
|
|
13445
|
+
var fe, ae, ve = function(ye, He) {
|
|
13364
13446
|
if (ye == null) return {};
|
|
13365
13447
|
var Oe = {};
|
|
13366
13448
|
for (var Ve in ye) if ({}.hasOwnProperty.call(ye, Ve)) {
|
|
13367
|
-
if (
|
|
13449
|
+
if (He.indexOf(Ve) >= 0) continue;
|
|
13368
13450
|
Oe[Ve] = ye[Ve];
|
|
13369
13451
|
}
|
|
13370
13452
|
return Oe;
|
|
@@ -13376,8 +13458,8 @@ var build = { exports: {} };
|
|
|
13376
13458
|
return ve;
|
|
13377
13459
|
}(ee, j)), ie = this.useIntersectionObserver ? null : this.state.scrollPosition;
|
|
13378
13460
|
return a().createElement(D, Y({ forwardRef: this.baseComponentRef, scrollPosition: ie }, Q));
|
|
13379
|
-
} }], z && U(
|
|
13380
|
-
var
|
|
13461
|
+
} }], z && U(R.prototype, z), Object.defineProperty(R, "prototype", { writable: !1 }), R;
|
|
13462
|
+
var R, z;
|
|
13381
13463
|
}(a().Component);
|
|
13382
13464
|
return V.propTypes = { delayMethod: o.PropTypes.oneOf(["debounce", "throttle"]), delayTime: o.PropTypes.number, useIntersectionObserver: o.PropTypes.bool }, V.defaultProps = { delayMethod: "throttle", delayTime: 300, useIntersectionObserver: !0 }, V;
|
|
13383
13465
|
};
|
|
@@ -13397,9 +13479,9 @@ var build = { exports: {} };
|
|
|
13397
13479
|
function re(D) {
|
|
13398
13480
|
var V = function(O, W) {
|
|
13399
13481
|
if ($(O) != "object" || !O) return O;
|
|
13400
|
-
var
|
|
13401
|
-
if (
|
|
13402
|
-
var z =
|
|
13482
|
+
var R = O[Symbol.toPrimitive];
|
|
13483
|
+
if (R !== void 0) {
|
|
13484
|
+
var z = R.call(O, "string");
|
|
13403
13485
|
if ($(z) != "object") return z;
|
|
13404
13486
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
13405
13487
|
}
|
|
@@ -13408,9 +13490,9 @@ var build = { exports: {} };
|
|
|
13408
13490
|
return $(V) == "symbol" ? V : V + "";
|
|
13409
13491
|
}
|
|
13410
13492
|
function le(D, V, O) {
|
|
13411
|
-
return V = ue(V), function(W,
|
|
13412
|
-
if (
|
|
13413
|
-
if (
|
|
13493
|
+
return V = ue(V), function(W, R) {
|
|
13494
|
+
if (R && ($(R) == "object" || typeof R == "function")) return R;
|
|
13495
|
+
if (R !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13414
13496
|
return function(z) {
|
|
13415
13497
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13416
13498
|
return z;
|
|
@@ -13438,14 +13520,14 @@ var build = { exports: {} };
|
|
|
13438
13520
|
}, ce(D, V);
|
|
13439
13521
|
}
|
|
13440
13522
|
var se = function(D) {
|
|
13441
|
-
function V(
|
|
13523
|
+
function V(R) {
|
|
13442
13524
|
return function(z, ee) {
|
|
13443
13525
|
if (!(z instanceof ee)) throw new TypeError("Cannot call a class as a function");
|
|
13444
|
-
}(this, V), le(this, V, [
|
|
13526
|
+
}(this, V), le(this, V, [R]);
|
|
13445
13527
|
}
|
|
13446
|
-
return function(
|
|
13528
|
+
return function(R, z) {
|
|
13447
13529
|
if (typeof z != "function" && z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
13448
|
-
|
|
13530
|
+
R.prototype = Object.create(z && z.prototype, { constructor: { value: R, writable: !0, configurable: !0 } }), Object.defineProperty(R, "prototype", { writable: !1 }), z && ce(R, z);
|
|
13449
13531
|
}(V, D), O = V, (W = [{ key: "render", value: function() {
|
|
13450
13532
|
return a().createElement(b, this.props);
|
|
13451
13533
|
} }]) && J(O.prototype, W), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
@@ -13462,15 +13544,15 @@ var build = { exports: {} };
|
|
|
13462
13544
|
function K(D, V) {
|
|
13463
13545
|
for (var O = 0; O < V.length; O++) {
|
|
13464
13546
|
var W = V[O];
|
|
13465
|
-
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D,
|
|
13547
|
+
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D, Me(W.key), W);
|
|
13466
13548
|
}
|
|
13467
13549
|
}
|
|
13468
|
-
function
|
|
13550
|
+
function Me(D) {
|
|
13469
13551
|
var V = function(O, W) {
|
|
13470
13552
|
if (te(O) != "object" || !O) return O;
|
|
13471
|
-
var
|
|
13472
|
-
if (
|
|
13473
|
-
var z =
|
|
13553
|
+
var R = O[Symbol.toPrimitive];
|
|
13554
|
+
if (R !== void 0) {
|
|
13555
|
+
var z = R.call(O, "string");
|
|
13474
13556
|
if (te(z) != "object") return z;
|
|
13475
13557
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
13476
13558
|
}
|
|
@@ -13478,10 +13560,10 @@ var build = { exports: {} };
|
|
|
13478
13560
|
}(D);
|
|
13479
13561
|
return te(V) == "symbol" ? V : V + "";
|
|
13480
13562
|
}
|
|
13481
|
-
function
|
|
13482
|
-
return V = ge(V), function(W,
|
|
13483
|
-
if (
|
|
13484
|
-
if (
|
|
13563
|
+
function Ae(D, V, O) {
|
|
13564
|
+
return V = ge(V), function(W, R) {
|
|
13565
|
+
if (R && (te(R) == "object" || typeof R == "function")) return R;
|
|
13566
|
+
if (R !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13485
13567
|
return function(z) {
|
|
13486
13568
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13487
13569
|
return z;
|
|
@@ -13509,24 +13591,24 @@ var build = { exports: {} };
|
|
|
13509
13591
|
}, xe(D, V);
|
|
13510
13592
|
}
|
|
13511
13593
|
var we = function(D) {
|
|
13512
|
-
function V(
|
|
13594
|
+
function V(R) {
|
|
13513
13595
|
var z;
|
|
13514
13596
|
(function(he, fe) {
|
|
13515
13597
|
if (!(he instanceof fe)) throw new TypeError("Cannot call a class as a function");
|
|
13516
|
-
})(this, V), z =
|
|
13517
|
-
var ee =
|
|
13598
|
+
})(this, V), z = Ae(this, V, [R]);
|
|
13599
|
+
var ee = R.afterLoad, Q = R.beforeLoad, ie = R.scrollPosition, ne = R.visibleByDefault;
|
|
13518
13600
|
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;
|
|
13519
13601
|
}
|
|
13520
|
-
return function(
|
|
13602
|
+
return function(R, z) {
|
|
13521
13603
|
if (typeof z != "function" && z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
13522
|
-
|
|
13523
|
-
}(V, D), O = V, (W = [{ key: "componentDidUpdate", value: function(
|
|
13604
|
+
R.prototype = Object.create(z && z.prototype, { constructor: { value: R, writable: !0, configurable: !0 } }), Object.defineProperty(R, "prototype", { writable: !1 }), z && xe(R, z);
|
|
13605
|
+
}(V, D), O = V, (W = [{ key: "componentDidUpdate", value: function(R, z) {
|
|
13524
13606
|
z.visible !== this.state.visible && this.props.afterLoad();
|
|
13525
13607
|
} }, { key: "onVisible", value: function() {
|
|
13526
13608
|
this.props.beforeLoad(), this.setState({ visible: !0 });
|
|
13527
13609
|
} }, { key: "render", value: function() {
|
|
13528
13610
|
if (this.state.visible) return this.props.children;
|
|
13529
|
-
var
|
|
13611
|
+
var R = this.props, z = R.className, ee = R.delayMethod, Q = R.delayTime, ie = R.height, ne = R.placeholder, he = R.scrollPosition, fe = R.style, ae = R.threshold, ve = R.useIntersectionObserver, de = R.width;
|
|
13530
13612
|
return this.isScrollTracked || ve && f() ? a().createElement(b, { className: z, height: ie, onVisible: this.onVisible, placeholder: ne, scrollPosition: he, style: fe, threshold: ae, useIntersectionObserver: ve, width: de }) : a().createElement(oe, { className: z, delayMethod: ee, delayTime: Q, height: ie, onVisible: this.onVisible, placeholder: ne, style: fe, threshold: ae, width: de });
|
|
13531
13613
|
} }]) && K(O.prototype, W), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
13532
13614
|
var O, W;
|
|
@@ -13549,13 +13631,13 @@ var build = { exports: {} };
|
|
|
13549
13631
|
var O = Object.keys(D);
|
|
13550
13632
|
if (Object.getOwnPropertySymbols) {
|
|
13551
13633
|
var W = Object.getOwnPropertySymbols(D);
|
|
13552
|
-
V && (W = W.filter(function(
|
|
13553
|
-
return Object.getOwnPropertyDescriptor(D,
|
|
13634
|
+
V && (W = W.filter(function(R) {
|
|
13635
|
+
return Object.getOwnPropertyDescriptor(D, R).enumerable;
|
|
13554
13636
|
})), O.push.apply(O, W);
|
|
13555
13637
|
}
|
|
13556
13638
|
return O;
|
|
13557
13639
|
}
|
|
13558
|
-
function
|
|
13640
|
+
function Le(D) {
|
|
13559
13641
|
for (var V = 1; V < arguments.length; V++) {
|
|
13560
13642
|
var O = arguments[V] != null ? arguments[V] : {};
|
|
13561
13643
|
V % 2 ? be(Object(O), !0).forEach(function(W) {
|
|
@@ -13587,9 +13669,9 @@ var build = { exports: {} };
|
|
|
13587
13669
|
function Te(D) {
|
|
13588
13670
|
var V = function(O, W) {
|
|
13589
13671
|
if (Ce(O) != "object" || !O) return O;
|
|
13590
|
-
var
|
|
13591
|
-
if (
|
|
13592
|
-
var z =
|
|
13672
|
+
var R = O[Symbol.toPrimitive];
|
|
13673
|
+
if (R !== void 0) {
|
|
13674
|
+
var z = R.call(O, "string");
|
|
13593
13675
|
if (Ce(z) != "object") return z;
|
|
13594
13676
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
13595
13677
|
}
|
|
@@ -13598,22 +13680,22 @@ var build = { exports: {} };
|
|
|
13598
13680
|
return Ce(V) == "symbol" ? V : V + "";
|
|
13599
13681
|
}
|
|
13600
13682
|
function Ie(D, V, O) {
|
|
13601
|
-
return V = Fe(V), function(W,
|
|
13602
|
-
if (
|
|
13603
|
-
if (
|
|
13683
|
+
return V = Fe(V), function(W, R) {
|
|
13684
|
+
if (R && (Ce(R) == "object" || typeof R == "function")) return R;
|
|
13685
|
+
if (R !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13604
13686
|
return function(z) {
|
|
13605
13687
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13606
13688
|
return z;
|
|
13607
13689
|
}(W);
|
|
13608
|
-
}(D,
|
|
13690
|
+
}(D, Re() ? Reflect.construct(V, O || [], Fe(D).constructor) : V.apply(D, O));
|
|
13609
13691
|
}
|
|
13610
|
-
function
|
|
13692
|
+
function Re() {
|
|
13611
13693
|
try {
|
|
13612
13694
|
var D = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
13613
13695
|
}));
|
|
13614
13696
|
} catch {
|
|
13615
13697
|
}
|
|
13616
|
-
return (
|
|
13698
|
+
return (Re = function() {
|
|
13617
13699
|
return !!D;
|
|
13618
13700
|
})();
|
|
13619
13701
|
}
|
|
@@ -13628,22 +13710,22 @@ var build = { exports: {} };
|
|
|
13628
13710
|
}, Be(D, V);
|
|
13629
13711
|
}
|
|
13630
13712
|
var je = function(D) {
|
|
13631
|
-
function V(
|
|
13713
|
+
function V(R) {
|
|
13632
13714
|
var z;
|
|
13633
13715
|
return function(ee, Q) {
|
|
13634
13716
|
if (!(ee instanceof Q)) throw new TypeError("Cannot call a class as a function");
|
|
13635
|
-
}(this, V), (z = Ie(this, V, [
|
|
13717
|
+
}(this, V), (z = Ie(this, V, [R])).state = { loaded: !1 }, z;
|
|
13636
13718
|
}
|
|
13637
|
-
return function(
|
|
13719
|
+
return function(R, z) {
|
|
13638
13720
|
if (typeof z != "function" && z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
13639
|
-
|
|
13721
|
+
R.prototype = Object.create(z && z.prototype, { constructor: { value: R, writable: !0, configurable: !0 } }), Object.defineProperty(R, "prototype", { writable: !1 }), z && Be(R, z);
|
|
13640
13722
|
}(V, D), O = V, W = [{ key: "onImageLoad", value: function() {
|
|
13641
|
-
var
|
|
13723
|
+
var R = this;
|
|
13642
13724
|
return this.state.loaded ? null : function(z) {
|
|
13643
|
-
|
|
13725
|
+
R.props.onLoad(z), R.props.afterLoad(), R.setState({ loaded: !0 });
|
|
13644
13726
|
};
|
|
13645
13727
|
} }, { key: "getImg", value: function() {
|
|
13646
|
-
var
|
|
13728
|
+
var R = this.props, z = (R.afterLoad, R.beforeLoad, R.delayMethod, R.delayTime, R.effect, R.placeholder, R.placeholderSrc, R.scrollPosition, R.threshold, R.useIntersectionObserver, R.visibleByDefault, R.wrapperClassName, R.wrapperProps, function(ee, Q) {
|
|
13647
13729
|
if (ee == null) return {};
|
|
13648
13730
|
var ie, ne, he = function(ae, ve) {
|
|
13649
13731
|
if (ae == null) return {};
|
|
@@ -13659,16 +13741,16 @@ var build = { exports: {} };
|
|
|
13659
13741
|
for (ne = 0; ne < fe.length; ne++) ie = fe[ne], Q.indexOf(ie) >= 0 || {}.propertyIsEnumerable.call(ee, ie) && (he[ie] = ee[ie]);
|
|
13660
13742
|
}
|
|
13661
13743
|
return he;
|
|
13662
|
-
}(
|
|
13744
|
+
}(R, _e));
|
|
13663
13745
|
return a().createElement("img", Ee({}, z, { onLoad: this.onImageLoad() }));
|
|
13664
13746
|
} }, { key: "getLazyLoadImage", value: function() {
|
|
13665
|
-
var
|
|
13666
|
-
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: ye, width:
|
|
13667
|
-
} }, { key: "getWrappedLazyLoadImage", value: function(
|
|
13747
|
+
var R = this.props, z = R.beforeLoad, ee = R.className, Q = R.delayMethod, ie = R.delayTime, ne = R.height, he = R.placeholder, fe = R.scrollPosition, ae = R.style, ve = R.threshold, de = R.useIntersectionObserver, ye = R.visibleByDefault, He = R.width;
|
|
13748
|
+
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: ye, width: He }, this.getImg());
|
|
13749
|
+
} }, { key: "getWrappedLazyLoadImage", value: function(R) {
|
|
13668
13750
|
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%" };
|
|
13669
|
-
return a().createElement("span", Ee({ className: he + " lazy-load-image-background " + ee + ve, style:
|
|
13751
|
+
return a().createElement("span", Ee({ className: he + " lazy-load-image-background " + ee + ve, style: Le(Le({}, de), {}, { color: "transparent", display: "inline-block", height: Q, width: ne }) }, fe), R);
|
|
13670
13752
|
} }, { key: "render", value: function() {
|
|
13671
|
-
var
|
|
13753
|
+
var R = this.props, z = R.effect, ee = R.placeholderSrc, Q = R.visibleByDefault, ie = R.wrapperClassName, ne = R.wrapperProps, he = this.getLazyLoadImage();
|
|
13672
13754
|
return (z || ee) && !Q || ie || ne ? this.getWrappedLazyLoadImage(he) : he;
|
|
13673
13755
|
} }], W && ke(O.prototype, W), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
13674
13756
|
var O, W;
|
|
@@ -13833,12 +13915,14 @@ export {
|
|
|
13833
13915
|
RadiantLogo,
|
|
13834
13916
|
RadioCheckedIcon,
|
|
13835
13917
|
RadioUncheckedIcon,
|
|
13918
|
+
ReferralIcon,
|
|
13836
13919
|
RemoveIcon,
|
|
13837
13920
|
SearchIcon,
|
|
13838
13921
|
Sidebar,
|
|
13839
13922
|
Solv,
|
|
13840
13923
|
StarIcon,
|
|
13841
13924
|
SwellBTC,
|
|
13925
|
+
TimerIcon,
|
|
13842
13926
|
TokenInfo,
|
|
13843
13927
|
TraderJoe,
|
|
13844
13928
|
TrailOfBits,
|