@gardenfi/garden-book 0.0.30 → 0.0.31
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.cjs.js +5 -5
- package/dist/ui.es.js +364 -316
- package/dist/ui.umd.js +5 -5
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -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"), A = fromTheme("margin"), d = fromTheme("opacity"), y = fromTheme("padding"), p = fromTheme("saturate"), b = fromTheme("scale"), L = fromTheme("sepia"), M = fromTheme("skew"), T = fromTheme("space"), k = fromTheme("translate"),
|
|
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"), A = fromTheme("margin"), d = fromTheme("opacity"), y = fromTheme("padding"), p = fromTheme("saturate"), b = fromTheme("scale"), L = fromTheme("sepia"), M = 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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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 A(
|
|
2689
|
-
var I, x, S =
|
|
2688
|
+
function A(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
|
L($[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 && L($[B].pt.k[G].s[0]), $[B].pt.k[G].e && L($[B].pt.k[G].e[0]);
|
|
2700
2700
|
}
|
|
2701
2701
|
I.ty === 0 ? (I.layers = p(I.refId, _), A(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, _), A(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
|
-
L(
|
|
2726
|
+
if (Z[_].ty === "sh")
|
|
2727
|
+
if (Z[_].ks.k.i)
|
|
2728
|
+
L(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 && L(Z[_].ks.k[x].s[0]), Z[_].ks.k[x].e && L(Z[_].ks.k[x].e[0]);
|
|
2732
|
+
else Z[_].ty === "gr" && b(Z[_].it);
|
|
2733
2733
|
}
|
|
2734
|
-
function L(
|
|
2735
|
-
var _, I =
|
|
2734
|
+
function L(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 M(
|
|
2739
|
+
function M(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 (M(
|
|
2760
|
+
if (M(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 && !M(
|
|
2769
|
+
if (_.chars && !M(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 (M(
|
|
2851
|
+
if (M(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,56 +2874,56 @@ var lottie$1 = { exports: {} };
|
|
|
2874
2874
|
x[S].ty === 4 && _(x[S].shapes);
|
|
2875
2875
|
}
|
|
2876
2876
|
return function(x) {
|
|
2877
|
-
if (M(
|
|
2877
|
+
if (M(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 (M(
|
|
2912
|
+
if (M(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), A(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 = A, U;
|
|
2927
2927
|
}
|
|
2928
2928
|
if (a.dataManager || (a.dataManager = C()), a.assetLoader || (a.assetLoader = /* @__PURE__ */ function() {
|
|
2929
2929
|
function A(y) {
|
|
@@ -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,12 +3594,12 @@ 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 = A, e.pause = p, e.stop = L, e.togglePause = M, e.searchAnimations = k, e.resize =
|
|
3602
|
+
return e.registerAnimation = l, e.loadAnimation = P, e.setSpeed = C, e.setDirection = g, e.play = A, e.pause = p, e.stop = L, e.togglePause = M, 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;
|
|
@@ -3628,10 +3628,10 @@ var lottie$1 = { exports: {} };
|
|
|
3628
3628
|
return 3 * m(p, b) * y * y + 2 * E(p, b) * y + u(p);
|
|
3629
3629
|
}
|
|
3630
3630
|
function g(y, p, b, L, M) {
|
|
3631
|
-
var T, k,
|
|
3631
|
+
var T, k, H = 0;
|
|
3632
3632
|
do
|
|
3633
3633
|
k = p + (b - p) / 2, T = P(k, L, M) - y, T > 0 ? b = k : p = k;
|
|
3634
|
-
while (Math.abs(T) > a && ++
|
|
3634
|
+
while (Math.abs(T) > a && ++H < o);
|
|
3635
3635
|
return k;
|
|
3636
3636
|
}
|
|
3637
3637
|
function A(y, p, b, L) {
|
|
@@ -3664,7 +3664,7 @@ var lottie$1 = { exports: {} };
|
|
|
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], L = this._p[2], M = this._mSampleValues, T = 0, k = 1,
|
|
3667
|
+
for (var b = this._p[0], L = this._p[2], M = this._mSampleValues, T = 0, k = 1, H = f - 1; k !== H && M[k] <= p; ++k)
|
|
3668
3668
|
T += l;
|
|
3669
3669
|
--k;
|
|
3670
3670
|
var X = (p - M[k]) / (M[k + 1] - M[k]), N = T + X * l, j = C(N, b, L);
|
|
@@ -3731,10 +3731,10 @@ var lottie$1 = { exports: {} };
|
|
|
3731
3731
|
}
|
|
3732
3732
|
var s = /* @__PURE__ */ function() {
|
|
3733
3733
|
return function(u, P, C, g) {
|
|
3734
|
-
var A = getDefaultCurveSegments(), d, y, p, b, L, M = 0, T, k = [],
|
|
3734
|
+
var A = getDefaultCurveSegments(), d, y, p, b, L, M = 0, T, k = [], H = [], X = bezierLengthPool.newElement();
|
|
3735
3735
|
for (p = C.length, d = 0; d < A; d += 1) {
|
|
3736
3736
|
for (L = d / (A - 1), T = 0, y = 0; y < p; y += 1)
|
|
3737
|
-
b = bmPow(1 - L, 3) * u[y] + 3 * bmPow(1 - L, 2) * L * C[y] + 3 * (1 - L) * bmPow(L, 2) * g[y] + bmPow(L, 3) * P[y], k[y] = b,
|
|
3737
|
+
b = bmPow(1 - L, 3) * u[y] + 3 * bmPow(1 - L, 2) * L * C[y] + 3 * (1 - L) * bmPow(L, 2) * g[y] + bmPow(L, 3) * P[y], k[y] = b, H[y] !== null && (T += bmPow(k[y] - H[y], 2)), H[y] = k[y];
|
|
3738
3738
|
T && (T = bmSqrt(T), M += T), X.percents[d] = L, X.lengths[d] = M;
|
|
3739
3739
|
}
|
|
3740
3740
|
return X.addedLength = M, X;
|
|
@@ -3757,13 +3757,13 @@ var lottie$1 = { exports: {} };
|
|
|
3757
3757
|
return function(P, C, g, A) {
|
|
3758
3758
|
var d = (P[0] + "_" + P[1] + "_" + C[0] + "_" + C[1] + "_" + g[0] + "_" + g[1] + "_" + A[0] + "_" + A[1]).replace(/\./g, "p");
|
|
3759
3759
|
if (!u[d]) {
|
|
3760
|
-
var y = getDefaultCurveSegments(), p, b, L, M, T, k = 0,
|
|
3760
|
+
var y = getDefaultCurveSegments(), p, b, L, M, T, k = 0, H, X, N = null;
|
|
3761
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] + A[0], C[1] + A[1]) && (y = 2);
|
|
3762
3762
|
var j = new a(y);
|
|
3763
3763
|
for (L = g.length, p = 0; p < y; p += 1) {
|
|
3764
|
-
for (X = createSizedArray(L), T = p / (y - 1),
|
|
3765
|
-
M = bmPow(1 - T, 3) * P[b] + 3 * bmPow(1 - T, 2) * T * (P[b] + g[b]) + 3 * (1 - T) * bmPow(T, 2) * (C[b] + A[b]) + bmPow(T, 3) * C[b], X[b] = M, N !== null && (
|
|
3766
|
-
|
|
3764
|
+
for (X = createSizedArray(L), T = p / (y - 1), H = 0, b = 0; b < L; b += 1)
|
|
3765
|
+
M = bmPow(1 - T, 3) * P[b] + 3 * bmPow(1 - T, 2) * T * (P[b] + g[b]) + 3 * (1 - T) * bmPow(T, 2) * (C[b] + A[b]) + bmPow(T, 3) * C[b], X[b] = M, 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
|
}
|
|
@@ -3791,9 +3791,9 @@ var lottie$1 = { exports: {} };
|
|
|
3791
3791
|
A < 0 ? A = 0 : A > 1 && (A = 1);
|
|
3792
3792
|
var p = l(A, y);
|
|
3793
3793
|
d = d > 1 ? 1 : d;
|
|
3794
|
-
var b = l(d, y), L, M = u.length, T = 1 - p, k = 1 - b,
|
|
3794
|
+
var b = l(d, y), L, M = 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
3795
|
for (L = 0; L < M; L += 1)
|
|
3796
|
-
m[L * 4] = e.round((
|
|
3796
|
+
m[L * 4] = e.round((H * u[L] + X * C[L] + N * g[L] + j * P[L]) * 1e3) / 1e3, m[L * 4 + 1] = e.round((Y * u[L] + U * C[L] + Z * g[L] + _ * P[L]) * 1e3) / 1e3, m[L * 4 + 2] = e.round((I * u[L] + x * C[L] + S * g[L] + B * P[L]) * 1e3) / 1e3, m[L * 4 + 3] = e.round((F * u[L] + G * C[L] + q * g[L] + $ * P[L]) * 1e3) / 1e3;
|
|
3797
3797
|
return m;
|
|
3798
3798
|
}
|
|
3799
3799
|
return {
|
|
@@ -3847,19 +3847,19 @@ 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] ? A = 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] ? A = 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], A = BezierFactory.getBezierEasing(H, X, N, j).get, m.__fnct[a] = A)) : m.__fnct ? A = m.__fnct : (H = l.o.x, X = l.o.y, N = l.i.x, j = l.i.y, A = BezierFactory.getBezierEasing(H, X, N, j).get, l.keyframeMetadata = A), P = A((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
|
}
|
|
@@ -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, L, M, T, k,
|
|
4083
|
+
var b = p.lastIndex, L, M, T, k, H, X, N, j, Y, U = this.keyframes;
|
|
4084
4084
|
if (d < U[0].t - this.offsetTime)
|
|
4085
4085
|
L = U[0].s[0], T = !0, b = 0;
|
|
4086
4086
|
else if (d >= U[U.length - 1].t - this.offsetTime)
|
|
4087
4087
|
L = U[U.length - 1].s ? U[U.length - 1].s[0] : U[U.length - 2].e[0], T = !0;
|
|
4088
4088
|
else {
|
|
4089
|
-
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)
|
|
@@ -4102,8 +4102,8 @@ var lottie$1 = { exports: {} };
|
|
|
4102
4102
|
L = x.s[0];
|
|
4103
4103
|
}
|
|
4104
4104
|
for (X = y._length, N = L.i[0].length, p.lastIndex = b, k = 0; k < X; k += 1)
|
|
4105
|
-
for (
|
|
4106
|
-
Y = T ? L.i[k][
|
|
4105
|
+
for (H = 0; H < N; H += 1)
|
|
4106
|
+
Y = T ? L.i[k][H] : L.i[k][H] + (M.i[k][H] - L.i[k][H]) * j, y.i[k][H] = Y, Y = T ? L.o[k][H] : L.o[k][H] + (M.o[k][H] - L.o[k][H]) * j, y.o[k][H] = Y, Y = T ? L.v[k][H] : L.v[k][H] + (M.v[k][H] - L.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], L = this.p.v[1], M = this.s.v[0] / 2, T = this.s.v[1] / 2, k = this.d !== 3,
|
|
4176
|
-
|
|
4175
|
+
var b = this.p.v[0], L = this.p.v[1], M = 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] = L - T, H.v[1][0] = k ? b + M : b - M, H.v[1][1] = L, H.v[2][0] = b, H.v[2][1] = L + T, H.v[3][0] = k ? b - M : b + M, H.v[3][1] = L, H.i[0][0] = k ? b - M * d : b + M * d, H.i[0][1] = L - T, H.i[1][0] = k ? b + M : b - M, H.i[1][1] = L - T * d, H.i[2][0] = k ? b + M * d : b - M * d, H.i[2][1] = L + T, H.i[3][0] = k ? b - M : b + M, H.i[3][1] = L + T * d, H.o[0][0] = k ? b + M * d : b - M * d, H.o[0][1] = L - T, H.o[1][0] = k ? b + M : b - M, H.o[1][1] = L + T * d, H.o[2][0] = k ? b - M * d : b + M * d, H.o[2][1] = L + T, H.o[3][0] = k ? b - M : b + M, H.o[3][1] = L - 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, L = !0, M = this.or.v, T = this.ir.v, k = this.os.v,
|
|
4189
|
+
var p = Math.floor(this.pt.v) * 2, b = Math.PI * 2 / p, L = !0, M = this.or.v, T = this.ir.v, k = this.os.v, H = this.is.v, X = 2 * Math.PI * M / (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 = L ? M : T, U = L ? k :
|
|
4193
|
+
Y = L ? M : T, U = L ? k : H, Z = L ? 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), L = !L, _ += b * I;
|
|
4196
4196
|
}
|
|
4197
4197
|
},
|
|
4198
4198
|
convertPolygonToPath: function() {
|
|
4199
|
-
var p = Math.floor(this.pt.v), b = Math.PI * 2 / p, L = this.or.v, M = this.os.v, T = 2 * Math.PI * L / (p * 4), k,
|
|
4200
|
-
for (
|
|
4201
|
-
var N = L * Math.cos(
|
|
4202
|
-
N += +this.p.v[0], j += +this.p.v[1], this.v.setTripleAt(N, j, N - Y * T * M * X, j - U * T * M * X, N + Y * T * M * X, j + U * T * M * X, k, !0),
|
|
4199
|
+
var p = Math.floor(this.pt.v), b = Math.PI * 2 / p, L = this.or.v, M = this.os.v, T = 2 * Math.PI * L / (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 = L * Math.cos(H), j = L * 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 * M * X, j - U * T * M * X, N + Y * T * M * X, j + U * T * M * X, k, !0), H += b * X;
|
|
4203
4203
|
}
|
|
4204
4204
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
4205
4205
|
}
|
|
@@ -4286,18 +4286,18 @@ 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
4299
|
var Le = K[0], Me = 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], Ae = K[10], Pe = K[11], Ee = K[12], ke = K[13], Te = K[14], Ie = K[15];
|
|
4300
|
-
return K[0] = Le * x + Me *
|
|
4300
|
+
return K[0] = Le * x + Me * G + Se * re + ge * ce, K[1] = Le * S + Me * q + Se * le + ge * se, K[2] = Le * B + Me * $ + Se * pe + ge * oe, K[3] = Le * F + Me * 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 + Ae * re + Pe * ce, K[9] = _e * S + be * q + Ae * le + Pe * se, K[10] = _e * B + be * $ + Ae * pe + Pe * oe, K[11] = _e * F + be * J + Ae * 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
4302
|
function A(x) {
|
|
4303
4303
|
var S = x.props;
|
|
@@ -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 = A, this.applyToPoint = L, this.applyToX = M, this.applyToY = T, this.applyToZ = k, this.applyToPointArray = Y, this.applyToTriplePoints = j, this.applyToPointStringified = U, this.toCSS =
|
|
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 = A, this.applyToPoint = L, this.applyToX = M, 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) {
|
|
@@ -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;
|
|
@@ -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
|
}
|
|
@@ -5353,12 +5353,12 @@ var lottie$1 = { exports: {} };
|
|
|
5353
5353
|
function k(_) {
|
|
5354
5354
|
return _ === f;
|
|
5355
5355
|
}
|
|
5356
|
-
function
|
|
5356
|
+
function H(_) {
|
|
5357
5357
|
var I = L(_);
|
|
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;
|
|
@@ -5381,8 +5381,8 @@ 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 = M, U.isZeroWidthJoiner = T, U.isFlagEmoji = X, U.isRegionalCode =
|
|
5385
|
-
var
|
|
5384
|
+
U.isModifier = M, 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
5387
|
addFonts: A,
|
|
5388
5388
|
getCharData: y,
|
|
@@ -5391,7 +5391,7 @@ var lottie$1 = { exports: {} };
|
|
|
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;
|
|
@@ -6340,14 +6340,14 @@ var lottie$1 = { exports: {} };
|
|
|
6340
6340
|
function a() {
|
|
6341
6341
|
}
|
|
6342
6342
|
function o(E, u, P) {
|
|
6343
|
-
var C, g, A, d, y, p, b = u.styles.length, L = u.lvl, M, T, k,
|
|
6343
|
+
var C, g, A, d, y, p, b = u.styles.length, L = u.lvl, M, T, k, H;
|
|
6344
6344
|
for (p = 0; p < b; p += 1) {
|
|
6345
6345
|
if (d = u.sh._mdf || P, u.styles[p].lvl < L) {
|
|
6346
|
-
for (T = t.reset(), k = L - u.styles[p].lvl,
|
|
6347
|
-
d = u.transformers[
|
|
6346
|
+
for (T = t.reset(), k = L - 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 = L - u.styles[p].lvl,
|
|
6350
|
-
T.multiply(u.transformers[
|
|
6349
|
+
for (k = L - 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
6353
|
if (M = u.sh.paths, g = M._length, d) {
|
|
@@ -6379,9 +6379,9 @@ var lottie$1 = { exports: {} };
|
|
|
6379
6379
|
var L, M, T, k;
|
|
6380
6380
|
if (u.g._cmdf || P) {
|
|
6381
6381
|
L = u.cst;
|
|
6382
|
-
var
|
|
6382
|
+
var H = u.g.c;
|
|
6383
6383
|
for (T = L.length, M = 0; M < T; M += 1)
|
|
6384
|
-
k = L[M], k.setAttribute("offset",
|
|
6384
|
+
k = L[M], k.setAttribute("offset", H[M * 4] + "%"), k.setAttribute("stop-color", "rgb(" + H[M * 4 + 1] + "," + H[M * 4 + 2] + "," + H[M * 4 + 3] + ")");
|
|
6385
6385
|
}
|
|
6386
6386
|
if (g && (u.g._omdf || P)) {
|
|
6387
6387
|
var X = u.g.o;
|
|
@@ -6396,8 +6396,8 @@ var lottie$1 = { exports: {} };
|
|
|
6396
6396
|
N || (N = Math.sqrt(Math.pow(A[0] - d[0], 2) + Math.pow(A[1] - d[1], 2)));
|
|
6397
6397
|
var j = Math.atan2(d[1] - A[1], d[0] - A[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 + A[0], _ = Math.sin(j + u.a.v) * U + A[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
|
}
|
|
@@ -6590,17 +6590,17 @@ var lottie$1 = { exports: {} };
|
|
|
6590
6590
|
e.fWeight = L.weight, e.fStyle = L.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), a = e.finalText.length, e.finalLineHeight = e.lh;
|
|
6591
6591
|
var M = e.tr / 1e3 * e.finalSize, T;
|
|
6592
6592
|
if (e.sz)
|
|
6593
|
-
for (var k = !0,
|
|
6593
|
+
for (var k = !0, H = e.sz[0], X = e.sz[1], N, j; k; ) {
|
|
6594
6594
|
j = this.buildFinalText(e.t), N = 0, C = 0, a = j.length, M = 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 += M);
|
|
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
6600
|
C = -M, b = 0;
|
|
6601
|
-
var U = 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 * M, 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 + M : (C += b + M + U, U = 0), s.push({
|
|
6604
6604
|
l: b,
|
|
6605
6605
|
an: b,
|
|
6606
6606
|
add: m,
|
|
@@ -6644,10 +6644,10 @@ var lottie$1 = { exports: {} };
|
|
|
6644
6644
|
for (I = _[A], 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
6645
|
x = s[n], x.anIndexes[A] = 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
6646
|
i.a[A].s.totalChars = B;
|
|
6647
|
-
var
|
|
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[A] && (G = x.anIndexes[A], q = F.splice(Math.floor(Math.random() * F.length), 1)[0]), x.anIndexes[A] = 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) {
|
|
@@ -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, A, d, y, p, b, L, M, T, k,
|
|
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, A, d, y, p, b, L, M, 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;
|
|
@@ -6789,9 +6789,9 @@ var lottie$1 = { exports: {} };
|
|
|
6789
6789
|
L = M[p].points, b = L[y - 1], g = L[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, Le, Me, Se, ge = "", xe = this.defaultPropsArray, we;
|
|
6795
6795
|
if (e.j === 2 || e.j === 1) {
|
|
6796
6796
|
var me = 0, Ce = 0, _e = e.j === 2 ? -0.5 : -1, be = 0, Ae = !0;
|
|
6797
6797
|
for (m = 0; m < E; m += 1)
|
|
@@ -6809,7 +6809,7 @@ var lottie$1 = { exports: {} };
|
|
|
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, L = M[p].points, b = L[y - 1], g = L[y], T = g.partialLength, A = 0), ge = "", Se = "", Le = "", 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
|
-
A + T >= C + Pe || !L ? (
|
|
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
|
+
A + T >= C + Pe || !L ? (H = (C + Pe - A) / 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) : L && (A += g.partialLength, y += 1, y >= L.length && (y = 0, p += 1, M[p] ? L = M[p].points : N.v.c ? (y = 0, p = 0, L = M[p].points) : (A -= g.partialLength, L = null)), L && (b = g, g = L[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);
|
|
@@ -6857,7 +6857,7 @@ var lottie$1 = { exports: {} };
|
|
|
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:
|
|
@@ -8367,33 +8367,33 @@ var lottie$1 = { exports: {} };
|
|
|
8367
8367
|
b = b === !0 ? {
|
|
8368
8368
|
entropy: !0
|
|
8369
8369
|
} : b || {};
|
|
8370
|
-
var T = A(g(b.entropy ? [p, y(e)] : p === null ? d() : p, 3), M), k = new P(M),
|
|
8370
|
+
var T = A(g(b.entropy ? [p, y(e)] : p === null ? d() : p, 3), M), k = new P(M), 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, A(y(k.S), e), (b.pass || L || function(X, N, j, Y) {
|
|
8382
8382
|
return Y && (Y.S && C(Y, k), X.state = function() {
|
|
8383
8383
|
return C(k, {});
|
|
8384
8384
|
}), j ? (t[o] = X, N) : X;
|
|
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, L = p.length, M = this, T = 0, k = M.i = M.j = 0,
|
|
8389
|
+
var b, L = p.length, M = this, T = 0, k = M.i = M.j = 0, H = M.S = [];
|
|
8390
8390
|
for (L || (p = [L++]); T < s; )
|
|
8391
|
-
|
|
8391
|
+
H[T] = T++;
|
|
8392
8392
|
for (T = 0; T < s; T++)
|
|
8393
|
-
|
|
8393
|
+
H[T] = H[k = m & k + p[T % L] + (b = H[T])], H[k] = b;
|
|
8394
8394
|
M.g = function(X) {
|
|
8395
|
-
for (var N, j = 0, Y = M.i, U = M.j,
|
|
8396
|
-
N =
|
|
8395
|
+
for (var N, j = 0, Y = M.i, U = M.j, Z = M.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
8397
|
return M.i = Y, M.j = U, j;
|
|
8398
8398
|
};
|
|
8399
8399
|
}
|
|
@@ -9602,13 +9602,13 @@ var lottie$1 = { exports: {} };
|
|
|
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
9607
|
for (M = new Array(k.length), L = M.length, b = 0; b < L; b += 1)
|
|
9608
|
-
M[b] = (
|
|
9608
|
+
M[b] = (H[b] - k[b]) * N + X[b];
|
|
9609
9609
|
return M;
|
|
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) {
|
|
@@ -9635,13 +9635,13 @@ var lottie$1 = { exports: {} };
|
|
|
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
9640
|
for (M = new Array(k.length), L = M.length, b = 0; b < L; b += 1)
|
|
9641
|
-
M[b] = X[b] - (
|
|
9641
|
+
M[b] = X[b] - (H[b] - k[b]) * N;
|
|
9642
9642
|
return M;
|
|
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) {
|
|
@@ -9702,8 +9702,8 @@ var lottie$1 = { exports: {} };
|
|
|
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 {
|
|
@@ -9768,8 +9768,8 @@ var lottie$1 = { exports: {} };
|
|
|
9768
9768
|
C !== void 0 && (g = this.getValueAtTime(C, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(g));
|
|
9769
9769
|
for (var A = this._segmentsLength, d = A.lengths, y = A.totalLength * P, p = 0, b = d.length, L = 0, M; p < b; ) {
|
|
9770
9770
|
if (L + d[p].addedLength > y) {
|
|
9771
|
-
var T = p, k = g.c && p === b - 1 ? 0 : p + 1,
|
|
9772
|
-
M = bez.getPointInSegment(g.v[T], g.v[k], g.o[T], g.i[k],
|
|
9771
|
+
var T = p, k = g.c && p === b - 1 ? 0 : p + 1, H = (y - L) / d[p].addedLength;
|
|
9772
|
+
M = 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
|
L += d[p].addedLength;
|
|
@@ -10150,43 +10150,43 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10150
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, A = t.onDestroy;
|
|
10151
10151
|
t.lottieRef, t.renderer, t.name, t.assetsPath, t.rendererSettings;
|
|
10152
10152
|
var d = _objectWithoutProperties(t, _excluded$1), y = useState(!1), p = _slicedToArray(y, 2), b = p[0], L = p[1], M = useRef(), T = useRef(null), k = function() {
|
|
10153
|
-
var
|
|
10154
|
-
(
|
|
10155
|
-
},
|
|
10156
|
-
var
|
|
10157
|
-
(
|
|
10153
|
+
var G;
|
|
10154
|
+
(G = M.current) === null || G === void 0 || G.play();
|
|
10155
|
+
}, H = function() {
|
|
10156
|
+
var G;
|
|
10157
|
+
(G = M.current) === null || G === void 0 || G.stop();
|
|
10158
10158
|
}, X = function() {
|
|
10159
|
-
var
|
|
10160
|
-
(
|
|
10161
|
-
}, N = function(
|
|
10159
|
+
var G;
|
|
10160
|
+
(G = M.current) === null || G === void 0 || G.pause();
|
|
10161
|
+
}, N = function(G) {
|
|
10162
10162
|
var q;
|
|
10163
|
-
(q = M.current) === null || q === void 0 || q.setSpeed(
|
|
10164
|
-
}, j = function(
|
|
10163
|
+
(q = M.current) === null || q === void 0 || q.setSpeed(G);
|
|
10164
|
+
}, j = function(G, q) {
|
|
10165
10165
|
var $;
|
|
10166
|
-
($ = M.current) === null || $ === void 0 || $.goToAndPlay(
|
|
10167
|
-
}, Y = function(
|
|
10166
|
+
($ = M.current) === null || $ === void 0 || $.goToAndPlay(G, q);
|
|
10167
|
+
}, Y = function(G, q) {
|
|
10168
10168
|
var $;
|
|
10169
|
-
($ = M.current) === null || $ === void 0 || $.goToAndStop(
|
|
10170
|
-
}, U = function(
|
|
10169
|
+
($ = M.current) === null || $ === void 0 || $.goToAndStop(G, q);
|
|
10170
|
+
}, U = function(G) {
|
|
10171
10171
|
var q;
|
|
10172
|
-
(q = M.current) === null || q === void 0 || q.setDirection(
|
|
10173
|
-
},
|
|
10172
|
+
(q = M.current) === null || q === void 0 || q.setDirection(G);
|
|
10173
|
+
}, Z = function(G, q) {
|
|
10174
10174
|
var $;
|
|
10175
|
-
($ = M.current) === null || $ === void 0 || $.playSegments(
|
|
10176
|
-
}, _ = function(
|
|
10175
|
+
($ = M.current) === null || $ === void 0 || $.playSegments(G, q);
|
|
10176
|
+
}, _ = function(G) {
|
|
10177
10177
|
var q;
|
|
10178
|
-
(q = M.current) === null || q === void 0 || q.setSubframe(
|
|
10179
|
-
}, I = function(
|
|
10178
|
+
(q = M.current) === null || q === void 0 || q.setSubframe(G);
|
|
10179
|
+
}, I = function(G) {
|
|
10180
10180
|
var q;
|
|
10181
|
-
return (q = M.current) === null || q === void 0 ? void 0 : q.getDuration(
|
|
10181
|
+
return (q = M.current) === null || q === void 0 ? void 0 : q.getDuration(G);
|
|
10182
10182
|
}, x = function() {
|
|
10183
|
-
var
|
|
10184
|
-
(
|
|
10183
|
+
var G;
|
|
10184
|
+
(G = M.current) === null || G === void 0 || G.destroy(), M.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
10188
|
(q = M.current) === null || q === void 0 || q.destroy();
|
|
10189
|
-
var $ = _objectSpread2(_objectSpread2(_objectSpread2({}, t),
|
|
10189
|
+
var $ = _objectSpread2(_objectSpread2(_objectSpread2({}, t), G), {}, {
|
|
10190
10190
|
container: T.current
|
|
10191
10191
|
});
|
|
10192
10192
|
return M.current = lottie.loadAnimation($), L(!!M.current), function() {
|
|
@@ -10241,11 +10241,11 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10241
10241
|
}, {
|
|
10242
10242
|
name: "destroy",
|
|
10243
10243
|
handler: A
|
|
10244
|
-
}],
|
|
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
|
|
@@ -10273,13 +10273,13 @@ 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,
|
|
@@ -11414,8 +11414,8 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx("svg", { width: "12", heigh
|
|
|
11414
11414
|
] }), CatalogLogo = (e) => /* @__PURE__ */ jsxs(
|
|
11415
11415
|
"svg",
|
|
11416
11416
|
{
|
|
11417
|
-
width: "
|
|
11418
|
-
height: "
|
|
11417
|
+
width: "170",
|
|
11418
|
+
height: "38",
|
|
11419
11419
|
viewBox: "0 0 76 17",
|
|
11420
11420
|
fill: "none",
|
|
11421
11421
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -12339,19 +12339,67 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx("svg", { width: "12", heigh
|
|
|
12339
12339
|
), Camelot = (e) => /* @__PURE__ */ jsxs(
|
|
12340
12340
|
"svg",
|
|
12341
12341
|
{
|
|
12342
|
-
width: "
|
|
12343
|
-
height: "
|
|
12344
|
-
viewBox: "0 0
|
|
12342
|
+
width: "148",
|
|
12343
|
+
height: "36",
|
|
12344
|
+
viewBox: "0 0 148 36",
|
|
12345
12345
|
fill: "none",
|
|
12346
12346
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12347
12347
|
...e,
|
|
12348
12348
|
children: [
|
|
12349
|
-
/* @__PURE__ */ jsx("circle", { cx: "13.5348", cy: "13.5357", r: "13.36", fill: "#554B6A" }),
|
|
12350
12349
|
/* @__PURE__ */ jsx(
|
|
12351
12350
|
"path",
|
|
12352
12351
|
{
|
|
12353
|
-
d: "
|
|
12354
|
-
fill: "#
|
|
12352
|
+
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",
|
|
12353
|
+
fill: "#554B6A"
|
|
12354
|
+
}
|
|
12355
|
+
),
|
|
12356
|
+
/* @__PURE__ */ jsx(
|
|
12357
|
+
"path",
|
|
12358
|
+
{
|
|
12359
|
+
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",
|
|
12360
|
+
fill: "#554B6A"
|
|
12361
|
+
}
|
|
12362
|
+
),
|
|
12363
|
+
/* @__PURE__ */ jsx(
|
|
12364
|
+
"path",
|
|
12365
|
+
{
|
|
12366
|
+
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",
|
|
12367
|
+
fill: "#554B6A"
|
|
12368
|
+
}
|
|
12369
|
+
),
|
|
12370
|
+
/* @__PURE__ */ jsx(
|
|
12371
|
+
"path",
|
|
12372
|
+
{
|
|
12373
|
+
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",
|
|
12374
|
+
fill: "#554B6A"
|
|
12375
|
+
}
|
|
12376
|
+
),
|
|
12377
|
+
/* @__PURE__ */ jsx(
|
|
12378
|
+
"path",
|
|
12379
|
+
{
|
|
12380
|
+
d: "M94.1758 26.4247V9.57666H104.994V12.4567H97.3438V16.4707H104.328V19.3507H97.3438V23.5087H105.138V26.3887H94.1758V26.4247Z",
|
|
12381
|
+
fill: "#554B6A"
|
|
12382
|
+
}
|
|
12383
|
+
),
|
|
12384
|
+
/* @__PURE__ */ jsx(
|
|
12385
|
+
"path",
|
|
12386
|
+
{
|
|
12387
|
+
d: "M107.515 26.4247V9.57666H110.683V23.5267H118.387V26.4067H107.515V26.4247Z",
|
|
12388
|
+
fill: "#554B6A"
|
|
12389
|
+
}
|
|
12390
|
+
),
|
|
12391
|
+
/* @__PURE__ */ jsx(
|
|
12392
|
+
"path",
|
|
12393
|
+
{
|
|
12394
|
+
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",
|
|
12395
|
+
fill: "#554B6A"
|
|
12396
|
+
}
|
|
12397
|
+
),
|
|
12398
|
+
/* @__PURE__ */ jsx(
|
|
12399
|
+
"path",
|
|
12400
|
+
{
|
|
12401
|
+
d: "M139.465 26.4228V12.4728H134.551V9.59277H147.547V12.4728H142.633V26.4228H139.465Z",
|
|
12402
|
+
fill: "#554B6A"
|
|
12355
12403
|
}
|
|
12356
12404
|
)
|
|
12357
12405
|
]
|
|
@@ -12949,8 +12997,8 @@ var build = { exports: {} };
|
|
|
12949
12997
|
function b(L) {
|
|
12950
12998
|
if (typeof L == "number") return L;
|
|
12951
12999
|
if (function(k) {
|
|
12952
|
-
return typeof k == "symbol" || /* @__PURE__ */ function(
|
|
12953
|
-
return !!
|
|
13000
|
+
return typeof k == "symbol" || /* @__PURE__ */ function(H) {
|
|
13001
|
+
return !!H && typeof H == "object";
|
|
12954
13002
|
}(k) && g.call(k) == "[object Symbol]";
|
|
12955
13003
|
}(L)) return NaN;
|
|
12956
13004
|
if (p(L)) {
|
|
@@ -12963,11 +13011,11 @@ var build = { exports: {} };
|
|
|
12963
13011
|
return T || m.test(L) ? E(L.slice(2), T ? 2 : 8) : l.test(L) ? NaN : +L;
|
|
12964
13012
|
}
|
|
12965
13013
|
n.exports = function(L, M, T) {
|
|
12966
|
-
var k,
|
|
13014
|
+
var k, H, X, N, j, Y, U = 0, Z = !1, _ = !1, I = !0;
|
|
12967
13015
|
if (typeof L != "function") throw new TypeError("Expected a function");
|
|
12968
13016
|
function x(q) {
|
|
12969
|
-
var $ = k, J =
|
|
12970
|
-
return k =
|
|
13017
|
+
var $ = k, J = H;
|
|
13018
|
+
return k = H = void 0, U = q, N = L.apply(J, $);
|
|
12971
13019
|
}
|
|
12972
13020
|
function S(q) {
|
|
12973
13021
|
var $ = q - Y;
|
|
@@ -12982,31 +13030,31 @@ var build = { exports: {} };
|
|
|
12982
13030
|
}(q));
|
|
12983
13031
|
}
|
|
12984
13032
|
function F(q) {
|
|
12985
|
-
return j = void 0, I && k ? x(q) : (k =
|
|
13033
|
+
return j = void 0, I && k ? x(q) : (k = H = void 0, N);
|
|
12986
13034
|
}
|
|
12987
|
-
function
|
|
13035
|
+
function G() {
|
|
12988
13036
|
var q = y(), $ = S(q);
|
|
12989
|
-
if (k = arguments,
|
|
13037
|
+
if (k = arguments, H = this, Y = q, $) {
|
|
12990
13038
|
if (j === void 0) return function(J) {
|
|
12991
|
-
return U = J, j = setTimeout(B, M),
|
|
13039
|
+
return U = J, j = setTimeout(B, M), Z ? x(J) : N;
|
|
12992
13040
|
}(Y);
|
|
12993
13041
|
if (_) return j = setTimeout(B, M), x(Y);
|
|
12994
13042
|
}
|
|
12995
13043
|
return j === void 0 && (j = setTimeout(B, M)), N;
|
|
12996
13044
|
}
|
|
12997
|
-
return M = b(M) || 0, p(T) && (
|
|
12998
|
-
j !== void 0 && clearTimeout(j), U = 0, k = Y =
|
|
12999
|
-
},
|
|
13045
|
+
return M = b(M) || 0, p(T) && (Z = !!T.leading, X = (_ = "maxWait" in T) ? A(b(T.maxWait) || 0, M) : X, I = "trailing" in T ? !!T.trailing : I), G.cancel = function() {
|
|
13046
|
+
j !== void 0 && clearTimeout(j), U = 0, k = Y = H = j = void 0;
|
|
13047
|
+
}, G.flush = function() {
|
|
13000
13048
|
return j === void 0 ? N : F(y());
|
|
13001
|
-
},
|
|
13049
|
+
}, G;
|
|
13002
13050
|
};
|
|
13003
13051
|
}, 858: (n, a, o) => {
|
|
13004
13052
|
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, A = typeof self == "object" && self && self.Object === Object && self, d = g || A || Function("return this")(), y = Object.prototype.toString, p = Math.max, b = Math.min, L = function() {
|
|
13005
13053
|
return d.Date.now();
|
|
13006
13054
|
};
|
|
13007
13055
|
function M(k) {
|
|
13008
|
-
var
|
|
13009
|
-
return !!k && (
|
|
13056
|
+
var H = typeof k;
|
|
13057
|
+
return !!k && (H == "object" || H == "function");
|
|
13010
13058
|
}
|
|
13011
13059
|
function T(k) {
|
|
13012
13060
|
if (typeof k == "number") return k;
|
|
@@ -13016,34 +13064,34 @@ var build = { exports: {} };
|
|
|
13016
13064
|
}(N) && y.call(N) == c;
|
|
13017
13065
|
}(k)) return l;
|
|
13018
13066
|
if (M(k)) {
|
|
13019
|
-
var
|
|
13020
|
-
k = M(
|
|
13067
|
+
var H = typeof k.valueOf == "function" ? k.valueOf() : k;
|
|
13068
|
+
k = M(H) ? H + "" : H;
|
|
13021
13069
|
}
|
|
13022
13070
|
if (typeof k != "string") return k === 0 ? k : +k;
|
|
13023
13071
|
k = k.replace(m, "");
|
|
13024
13072
|
var X = u.test(k);
|
|
13025
13073
|
return X || P.test(k) ? C(k.slice(2), X ? 2 : 8) : E.test(k) ? l : +k;
|
|
13026
13074
|
}
|
|
13027
|
-
n.exports = function(k,
|
|
13075
|
+
n.exports = function(k, H, X) {
|
|
13028
13076
|
var N = !0, j = !0;
|
|
13029
13077
|
if (typeof k != "function") throw new TypeError(f);
|
|
13030
|
-
return M(X) && (N = "leading" in X ? !!X.leading : N, j = "trailing" in X ? !!X.trailing : j), function(Y, U,
|
|
13031
|
-
var _, I, x, S, B, F,
|
|
13078
|
+
return M(X) && (N = "leading" in X ? !!X.leading : N, j = "trailing" in X ? !!X.trailing : j), function(Y, U, Z) {
|
|
13079
|
+
var _, I, x, S, B, F, G = 0, q = !1, $ = !1, J = !0;
|
|
13032
13080
|
if (typeof Y != "function") throw new TypeError(f);
|
|
13033
13081
|
function re(se) {
|
|
13034
13082
|
var oe = _, te = I;
|
|
13035
|
-
return _ = I = void 0,
|
|
13083
|
+
return _ = I = void 0, G = se, S = Y.apply(te, oe);
|
|
13036
13084
|
}
|
|
13037
13085
|
function le(se) {
|
|
13038
13086
|
var oe = se - F;
|
|
13039
|
-
return F === void 0 || oe >= U || oe < 0 || $ && se -
|
|
13087
|
+
return F === void 0 || oe >= U || oe < 0 || $ && se - G >= x;
|
|
13040
13088
|
}
|
|
13041
13089
|
function pe() {
|
|
13042
13090
|
var se = L();
|
|
13043
13091
|
if (le(se)) return ue(se);
|
|
13044
13092
|
B = setTimeout(pe, function(oe) {
|
|
13045
13093
|
var te = U - (oe - F);
|
|
13046
|
-
return $ ? b(te, x - (oe -
|
|
13094
|
+
return $ ? b(te, x - (oe - G)) : te;
|
|
13047
13095
|
}(se));
|
|
13048
13096
|
}
|
|
13049
13097
|
function ue(se) {
|
|
@@ -13053,18 +13101,18 @@ var build = { exports: {} };
|
|
|
13053
13101
|
var se = L(), oe = le(se);
|
|
13054
13102
|
if (_ = arguments, I = this, F = se, oe) {
|
|
13055
13103
|
if (B === void 0) return function(te) {
|
|
13056
|
-
return
|
|
13104
|
+
return G = te, B = setTimeout(pe, U), q ? re(te) : S;
|
|
13057
13105
|
}(F);
|
|
13058
13106
|
if ($) return B = setTimeout(pe, U), re(F);
|
|
13059
13107
|
}
|
|
13060
13108
|
return B === void 0 && (B = setTimeout(pe, U)), S;
|
|
13061
13109
|
}
|
|
13062
|
-
return U = T(U) || 0, M(
|
|
13063
|
-
B !== void 0 && clearTimeout(B),
|
|
13110
|
+
return U = T(U) || 0, M(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() {
|
|
13111
|
+
B !== void 0 && clearTimeout(B), G = 0, _ = F = I = B = void 0;
|
|
13064
13112
|
}, ce.flush = function() {
|
|
13065
13113
|
return B === void 0 ? S : ue(L());
|
|
13066
13114
|
}, ce;
|
|
13067
|
-
}(k,
|
|
13115
|
+
}(k, H, { leading: N, maxWait: H, trailing: j });
|
|
13068
13116
|
};
|
|
13069
13117
|
}, 694: (n, a, o) => {
|
|
13070
13118
|
var f = o(925);
|
|
@@ -13131,8 +13179,8 @@ var build = { exports: {} };
|
|
|
13131
13179
|
var O = Object.keys(D);
|
|
13132
13180
|
if (Object.getOwnPropertySymbols) {
|
|
13133
13181
|
var W = Object.getOwnPropertySymbols(D);
|
|
13134
|
-
V && (W = W.filter(function(
|
|
13135
|
-
return Object.getOwnPropertyDescriptor(D,
|
|
13182
|
+
V && (W = W.filter(function(R) {
|
|
13183
|
+
return Object.getOwnPropertyDescriptor(D, R).enumerable;
|
|
13136
13184
|
})), O.push.apply(O, W);
|
|
13137
13185
|
}
|
|
13138
13186
|
return O;
|
|
@@ -13149,9 +13197,9 @@ var build = { exports: {} };
|
|
|
13149
13197
|
function u(D) {
|
|
13150
13198
|
var V = function(O, W) {
|
|
13151
13199
|
if (l(O) != "object" || !O) return O;
|
|
13152
|
-
var
|
|
13153
|
-
if (
|
|
13154
|
-
var z =
|
|
13200
|
+
var R = O[Symbol.toPrimitive];
|
|
13201
|
+
if (R !== void 0) {
|
|
13202
|
+
var z = R.call(O, "string");
|
|
13155
13203
|
if (l(z) != "object") return z;
|
|
13156
13204
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
13157
13205
|
}
|
|
@@ -13160,9 +13208,9 @@ var build = { exports: {} };
|
|
|
13160
13208
|
return l(V) == "symbol" ? V : V + "";
|
|
13161
13209
|
}
|
|
13162
13210
|
function P(D, V, O) {
|
|
13163
|
-
return V = g(V), function(W,
|
|
13164
|
-
if (
|
|
13165
|
-
if (
|
|
13211
|
+
return V = g(V), function(W, R) {
|
|
13212
|
+
if (R && (l(R) == "object" || typeof R == "function")) return R;
|
|
13213
|
+
if (R !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13166
13214
|
return function(z) {
|
|
13167
13215
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13168
13216
|
return z;
|
|
@@ -13194,21 +13242,21 @@ var build = { exports: {} };
|
|
|
13194
13242
|
V.isIntersecting && V.target.onVisible();
|
|
13195
13243
|
});
|
|
13196
13244
|
}, y = {}, p = function(D) {
|
|
13197
|
-
function V(
|
|
13245
|
+
function V(R) {
|
|
13198
13246
|
var z;
|
|
13199
13247
|
if (function(Q, ie) {
|
|
13200
13248
|
if (!(Q instanceof ie)) throw new TypeError("Cannot call a class as a function");
|
|
13201
|
-
}(this, V), (z = P(this, V, [
|
|
13202
|
-
var ee =
|
|
13249
|
+
}(this, V), (z = P(this, V, [R])).supportsObserver = !R.scrollPosition && R.useIntersectionObserver && f(), z.supportsObserver) {
|
|
13250
|
+
var ee = R.threshold;
|
|
13203
13251
|
z.observer = function(Q) {
|
|
13204
13252
|
return y[Q] = y[Q] || new IntersectionObserver(d, { rootMargin: Q + "px" }), y[Q];
|
|
13205
13253
|
}(ee);
|
|
13206
13254
|
}
|
|
13207
13255
|
return z;
|
|
13208
13256
|
}
|
|
13209
|
-
return function(
|
|
13257
|
+
return function(R, z) {
|
|
13210
13258
|
if (typeof z != "function" && z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
13211
|
-
|
|
13259
|
+
R.prototype = Object.create(z && z.prototype, { constructor: { value: R, writable: !0, configurable: !0 } }), Object.defineProperty(R, "prototype", { writable: !1 }), z && A(R, z);
|
|
13212
13260
|
}(V, D), O = V, W = [{ key: "componentDidMount", value: function() {
|
|
13213
13261
|
this.placeholder && this.observer && (this.placeholder.onVisible = this.props.onVisible, this.observer.observe(this.placeholder)), this.supportsObserver || this.updateVisibility();
|
|
13214
13262
|
} }, { key: "componentWillUnmount", value: function() {
|
|
@@ -13216,18 +13264,18 @@ var build = { exports: {} };
|
|
|
13216
13264
|
} }, { key: "componentDidUpdate", value: function() {
|
|
13217
13265
|
this.supportsObserver || this.updateVisibility();
|
|
13218
13266
|
} }, { key: "getPlaceholderBoundingBox", value: function() {
|
|
13219
|
-
var
|
|
13220
|
-
return { bottom:
|
|
13267
|
+
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;
|
|
13268
|
+
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
13269
|
} }, { key: "isPlaceholderInViewport", value: function() {
|
|
13222
13270
|
if (typeof window > "u" || !this.placeholder) return !1;
|
|
13223
|
-
var
|
|
13271
|
+
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
13272
|
return fe - ee <= Q.bottom && ie + ee >= Q.top && ne - ee <= Q.right && he + ee >= Q.left;
|
|
13225
13273
|
} }, { key: "updateVisibility", value: function() {
|
|
13226
13274
|
this.isPlaceholderInViewport() && this.props.onVisible();
|
|
13227
13275
|
} }, { key: "render", value: function() {
|
|
13228
|
-
var
|
|
13276
|
+
var R = this, z = this.props, ee = z.className, Q = z.height, ie = z.placeholder, ne = z.style, he = z.width;
|
|
13229
13277
|
if (ie && typeof ie.type != "function") return a().cloneElement(ie, { ref: function(ae) {
|
|
13230
|
-
return
|
|
13278
|
+
return R.placeholder = ae;
|
|
13231
13279
|
} });
|
|
13232
13280
|
var fe = function(ae) {
|
|
13233
13281
|
for (var ve = 1; ve < arguments.length; ve++) {
|
|
@@ -13241,21 +13289,21 @@ var build = { exports: {} };
|
|
|
13241
13289
|
return ae;
|
|
13242
13290
|
}({ display: "inline-block" }, ne);
|
|
13243
13291
|
return he !== void 0 && (fe.width = he), Q !== void 0 && (fe.height = Q), a().createElement("span", { className: ee, ref: function(ae) {
|
|
13244
|
-
return
|
|
13292
|
+
return R.placeholder = ae;
|
|
13245
13293
|
}, style: fe }, ie);
|
|
13246
13294
|
} }], W && E(O.prototype, W), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
13247
13295
|
var O, W;
|
|
13248
13296
|
}(a().Component);
|
|
13249
13297
|
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
13298
|
const b = p;
|
|
13251
|
-
var L = i(181), M = i.n(L), T = i(858), k = i.n(T),
|
|
13299
|
+
var L = i(181), M = i.n(L), T = i(858), k = i.n(T), H = function(D) {
|
|
13252
13300
|
var V = getComputedStyle(D, null);
|
|
13253
13301
|
return V.getPropertyValue("overflow") + V.getPropertyValue("overflow-y") + V.getPropertyValue("overflow-x");
|
|
13254
13302
|
};
|
|
13255
13303
|
const X = function(D) {
|
|
13256
13304
|
if (!(D instanceof HTMLElement)) return window;
|
|
13257
13305
|
for (var V = D; V && V instanceof HTMLElement; ) {
|
|
13258
|
-
if (/(scroll|auto)/.test(
|
|
13306
|
+
if (/(scroll|auto)/.test(H(V))) return V;
|
|
13259
13307
|
V = V.parentNode;
|
|
13260
13308
|
}
|
|
13261
13309
|
return window;
|
|
@@ -13280,15 +13328,15 @@ var build = { exports: {} };
|
|
|
13280
13328
|
function U(D, V) {
|
|
13281
13329
|
for (var O = 0; O < V.length; O++) {
|
|
13282
13330
|
var W = V[O];
|
|
13283
|
-
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D,
|
|
13331
|
+
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D, Z(W.key), W);
|
|
13284
13332
|
}
|
|
13285
13333
|
}
|
|
13286
|
-
function
|
|
13334
|
+
function Z(D) {
|
|
13287
13335
|
var V = function(O, W) {
|
|
13288
13336
|
if (N(O) != "object" || !O) return O;
|
|
13289
|
-
var
|
|
13290
|
-
if (
|
|
13291
|
-
var z =
|
|
13337
|
+
var R = O[Symbol.toPrimitive];
|
|
13338
|
+
if (R !== void 0) {
|
|
13339
|
+
var z = R.call(O, "string");
|
|
13292
13340
|
if (N(z) != "object") return z;
|
|
13293
13341
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
13294
13342
|
}
|
|
@@ -13329,7 +13377,7 @@ var build = { exports: {} };
|
|
|
13329
13377
|
}
|
|
13330
13378
|
var F = function() {
|
|
13331
13379
|
return typeof window > "u" ? 0 : window.scrollX || window.pageXOffset;
|
|
13332
|
-
},
|
|
13380
|
+
}, G = function() {
|
|
13333
13381
|
return typeof window > "u" ? 0 : window.scrollY || window.pageYOffset;
|
|
13334
13382
|
};
|
|
13335
13383
|
const q = function(D) {
|
|
@@ -13340,12 +13388,12 @@ var build = { exports: {} };
|
|
|
13340
13388
|
if (!(ne instanceof he)) throw new TypeError("Cannot call a class as a function");
|
|
13341
13389
|
}(this, W), (Q = _(this, W, [ee])).useIntersectionObserver = ee.useIntersectionObserver && f(), Q.useIntersectionObserver) return I(Q);
|
|
13342
13390
|
var ie = Q.onChangeScroll.bind(Q);
|
|
13343
|
-
return ee.delayMethod === "debounce" ? Q.delayedScroll = M()(ie, ee.delayTime) : ee.delayMethod === "throttle" && (Q.delayedScroll = k()(ie, ee.delayTime)), Q.state = { scrollPosition: { x: F(), y:
|
|
13391
|
+
return ee.delayMethod === "debounce" ? Q.delayedScroll = M()(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
13392
|
}
|
|
13345
13393
|
return function(ee, Q) {
|
|
13346
13394
|
if (typeof Q != "function" && Q !== null) throw new TypeError("Super expression must either be null or a function");
|
|
13347
13395
|
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),
|
|
13396
|
+
}(W, O), R = W, z = [{ key: "componentDidMount", value: function() {
|
|
13349
13397
|
this.addListeners();
|
|
13350
13398
|
} }, { key: "componentWillUnmount", value: function() {
|
|
13351
13399
|
this.removeListeners();
|
|
@@ -13356,15 +13404,15 @@ var build = { exports: {} };
|
|
|
13356
13404
|
} }, { key: "removeListeners", value: function() {
|
|
13357
13405
|
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
13406
|
} }, { key: "onChangeScroll", value: function() {
|
|
13359
|
-
this.useIntersectionObserver || this.setState({ scrollPosition: { x: F(), y:
|
|
13407
|
+
this.useIntersectionObserver || this.setState({ scrollPosition: { x: F(), y: G() } });
|
|
13360
13408
|
} }, { key: "render", value: function() {
|
|
13361
13409
|
var ee = this.props, Q = (ee.delayMethod, ee.delayTime, function(ne, he) {
|
|
13362
13410
|
if (ne == null) return {};
|
|
13363
|
-
var fe, ae, ve = function(ye,
|
|
13411
|
+
var fe, ae, ve = function(ye, He) {
|
|
13364
13412
|
if (ye == null) return {};
|
|
13365
13413
|
var Oe = {};
|
|
13366
13414
|
for (var Ve in ye) if ({}.hasOwnProperty.call(ye, Ve)) {
|
|
13367
|
-
if (
|
|
13415
|
+
if (He.indexOf(Ve) >= 0) continue;
|
|
13368
13416
|
Oe[Ve] = ye[Ve];
|
|
13369
13417
|
}
|
|
13370
13418
|
return Oe;
|
|
@@ -13376,8 +13424,8 @@ var build = { exports: {} };
|
|
|
13376
13424
|
return ve;
|
|
13377
13425
|
}(ee, j)), ie = this.useIntersectionObserver ? null : this.state.scrollPosition;
|
|
13378
13426
|
return a().createElement(D, Y({ forwardRef: this.baseComponentRef, scrollPosition: ie }, Q));
|
|
13379
|
-
} }], z && U(
|
|
13380
|
-
var
|
|
13427
|
+
} }], z && U(R.prototype, z), Object.defineProperty(R, "prototype", { writable: !1 }), R;
|
|
13428
|
+
var R, z;
|
|
13381
13429
|
}(a().Component);
|
|
13382
13430
|
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
13431
|
};
|
|
@@ -13397,9 +13445,9 @@ var build = { exports: {} };
|
|
|
13397
13445
|
function re(D) {
|
|
13398
13446
|
var V = function(O, W) {
|
|
13399
13447
|
if ($(O) != "object" || !O) return O;
|
|
13400
|
-
var
|
|
13401
|
-
if (
|
|
13402
|
-
var z =
|
|
13448
|
+
var R = O[Symbol.toPrimitive];
|
|
13449
|
+
if (R !== void 0) {
|
|
13450
|
+
var z = R.call(O, "string");
|
|
13403
13451
|
if ($(z) != "object") return z;
|
|
13404
13452
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
13405
13453
|
}
|
|
@@ -13408,9 +13456,9 @@ var build = { exports: {} };
|
|
|
13408
13456
|
return $(V) == "symbol" ? V : V + "";
|
|
13409
13457
|
}
|
|
13410
13458
|
function le(D, V, O) {
|
|
13411
|
-
return V = ue(V), function(W,
|
|
13412
|
-
if (
|
|
13413
|
-
if (
|
|
13459
|
+
return V = ue(V), function(W, R) {
|
|
13460
|
+
if (R && ($(R) == "object" || typeof R == "function")) return R;
|
|
13461
|
+
if (R !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13414
13462
|
return function(z) {
|
|
13415
13463
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13416
13464
|
return z;
|
|
@@ -13438,14 +13486,14 @@ var build = { exports: {} };
|
|
|
13438
13486
|
}, ce(D, V);
|
|
13439
13487
|
}
|
|
13440
13488
|
var se = function(D) {
|
|
13441
|
-
function V(
|
|
13489
|
+
function V(R) {
|
|
13442
13490
|
return function(z, ee) {
|
|
13443
13491
|
if (!(z instanceof ee)) throw new TypeError("Cannot call a class as a function");
|
|
13444
|
-
}(this, V), le(this, V, [
|
|
13492
|
+
}(this, V), le(this, V, [R]);
|
|
13445
13493
|
}
|
|
13446
|
-
return function(
|
|
13494
|
+
return function(R, z) {
|
|
13447
13495
|
if (typeof z != "function" && z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
13448
|
-
|
|
13496
|
+
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
13497
|
}(V, D), O = V, (W = [{ key: "render", value: function() {
|
|
13450
13498
|
return a().createElement(b, this.props);
|
|
13451
13499
|
} }]) && J(O.prototype, W), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
@@ -13468,9 +13516,9 @@ var build = { exports: {} };
|
|
|
13468
13516
|
function Le(D) {
|
|
13469
13517
|
var V = function(O, W) {
|
|
13470
13518
|
if (te(O) != "object" || !O) return O;
|
|
13471
|
-
var
|
|
13472
|
-
if (
|
|
13473
|
-
var z =
|
|
13519
|
+
var R = O[Symbol.toPrimitive];
|
|
13520
|
+
if (R !== void 0) {
|
|
13521
|
+
var z = R.call(O, "string");
|
|
13474
13522
|
if (te(z) != "object") return z;
|
|
13475
13523
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
13476
13524
|
}
|
|
@@ -13479,9 +13527,9 @@ var build = { exports: {} };
|
|
|
13479
13527
|
return te(V) == "symbol" ? V : V + "";
|
|
13480
13528
|
}
|
|
13481
13529
|
function Me(D, V, O) {
|
|
13482
|
-
return V = ge(V), function(W,
|
|
13483
|
-
if (
|
|
13484
|
-
if (
|
|
13530
|
+
return V = ge(V), function(W, R) {
|
|
13531
|
+
if (R && (te(R) == "object" || typeof R == "function")) return R;
|
|
13532
|
+
if (R !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13485
13533
|
return function(z) {
|
|
13486
13534
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13487
13535
|
return z;
|
|
@@ -13509,24 +13557,24 @@ var build = { exports: {} };
|
|
|
13509
13557
|
}, xe(D, V);
|
|
13510
13558
|
}
|
|
13511
13559
|
var we = function(D) {
|
|
13512
|
-
function V(
|
|
13560
|
+
function V(R) {
|
|
13513
13561
|
var z;
|
|
13514
13562
|
(function(he, fe) {
|
|
13515
13563
|
if (!(he instanceof fe)) throw new TypeError("Cannot call a class as a function");
|
|
13516
|
-
})(this, V), z = Me(this, V, [
|
|
13517
|
-
var ee =
|
|
13564
|
+
})(this, V), z = Me(this, V, [R]);
|
|
13565
|
+
var ee = R.afterLoad, Q = R.beforeLoad, ie = R.scrollPosition, ne = R.visibleByDefault;
|
|
13518
13566
|
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
13567
|
}
|
|
13520
|
-
return function(
|
|
13568
|
+
return function(R, z) {
|
|
13521
13569
|
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(
|
|
13570
|
+
R.prototype = Object.create(z && z.prototype, { constructor: { value: R, writable: !0, configurable: !0 } }), Object.defineProperty(R, "prototype", { writable: !1 }), z && xe(R, z);
|
|
13571
|
+
}(V, D), O = V, (W = [{ key: "componentDidUpdate", value: function(R, z) {
|
|
13524
13572
|
z.visible !== this.state.visible && this.props.afterLoad();
|
|
13525
13573
|
} }, { key: "onVisible", value: function() {
|
|
13526
13574
|
this.props.beforeLoad(), this.setState({ visible: !0 });
|
|
13527
13575
|
} }, { key: "render", value: function() {
|
|
13528
13576
|
if (this.state.visible) return this.props.children;
|
|
13529
|
-
var
|
|
13577
|
+
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
13578
|
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
13579
|
} }]) && K(O.prototype, W), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
13532
13580
|
var O, W;
|
|
@@ -13549,8 +13597,8 @@ var build = { exports: {} };
|
|
|
13549
13597
|
var O = Object.keys(D);
|
|
13550
13598
|
if (Object.getOwnPropertySymbols) {
|
|
13551
13599
|
var W = Object.getOwnPropertySymbols(D);
|
|
13552
|
-
V && (W = W.filter(function(
|
|
13553
|
-
return Object.getOwnPropertyDescriptor(D,
|
|
13600
|
+
V && (W = W.filter(function(R) {
|
|
13601
|
+
return Object.getOwnPropertyDescriptor(D, R).enumerable;
|
|
13554
13602
|
})), O.push.apply(O, W);
|
|
13555
13603
|
}
|
|
13556
13604
|
return O;
|
|
@@ -13587,9 +13635,9 @@ var build = { exports: {} };
|
|
|
13587
13635
|
function Te(D) {
|
|
13588
13636
|
var V = function(O, W) {
|
|
13589
13637
|
if (Ce(O) != "object" || !O) return O;
|
|
13590
|
-
var
|
|
13591
|
-
if (
|
|
13592
|
-
var z =
|
|
13638
|
+
var R = O[Symbol.toPrimitive];
|
|
13639
|
+
if (R !== void 0) {
|
|
13640
|
+
var z = R.call(O, "string");
|
|
13593
13641
|
if (Ce(z) != "object") return z;
|
|
13594
13642
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
13595
13643
|
}
|
|
@@ -13598,22 +13646,22 @@ var build = { exports: {} };
|
|
|
13598
13646
|
return Ce(V) == "symbol" ? V : V + "";
|
|
13599
13647
|
}
|
|
13600
13648
|
function Ie(D, V, O) {
|
|
13601
|
-
return V = Fe(V), function(W,
|
|
13602
|
-
if (
|
|
13603
|
-
if (
|
|
13649
|
+
return V = Fe(V), function(W, R) {
|
|
13650
|
+
if (R && (Ce(R) == "object" || typeof R == "function")) return R;
|
|
13651
|
+
if (R !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13604
13652
|
return function(z) {
|
|
13605
13653
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13606
13654
|
return z;
|
|
13607
13655
|
}(W);
|
|
13608
|
-
}(D,
|
|
13656
|
+
}(D, Re() ? Reflect.construct(V, O || [], Fe(D).constructor) : V.apply(D, O));
|
|
13609
13657
|
}
|
|
13610
|
-
function
|
|
13658
|
+
function Re() {
|
|
13611
13659
|
try {
|
|
13612
13660
|
var D = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
13613
13661
|
}));
|
|
13614
13662
|
} catch {
|
|
13615
13663
|
}
|
|
13616
|
-
return (
|
|
13664
|
+
return (Re = function() {
|
|
13617
13665
|
return !!D;
|
|
13618
13666
|
})();
|
|
13619
13667
|
}
|
|
@@ -13628,22 +13676,22 @@ var build = { exports: {} };
|
|
|
13628
13676
|
}, Be(D, V);
|
|
13629
13677
|
}
|
|
13630
13678
|
var je = function(D) {
|
|
13631
|
-
function V(
|
|
13679
|
+
function V(R) {
|
|
13632
13680
|
var z;
|
|
13633
13681
|
return function(ee, Q) {
|
|
13634
13682
|
if (!(ee instanceof Q)) throw new TypeError("Cannot call a class as a function");
|
|
13635
|
-
}(this, V), (z = Ie(this, V, [
|
|
13683
|
+
}(this, V), (z = Ie(this, V, [R])).state = { loaded: !1 }, z;
|
|
13636
13684
|
}
|
|
13637
|
-
return function(
|
|
13685
|
+
return function(R, z) {
|
|
13638
13686
|
if (typeof z != "function" && z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
13639
|
-
|
|
13687
|
+
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
13688
|
}(V, D), O = V, W = [{ key: "onImageLoad", value: function() {
|
|
13641
|
-
var
|
|
13689
|
+
var R = this;
|
|
13642
13690
|
return this.state.loaded ? null : function(z) {
|
|
13643
|
-
|
|
13691
|
+
R.props.onLoad(z), R.props.afterLoad(), R.setState({ loaded: !0 });
|
|
13644
13692
|
};
|
|
13645
13693
|
} }, { key: "getImg", value: function() {
|
|
13646
|
-
var
|
|
13694
|
+
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
13695
|
if (ee == null) return {};
|
|
13648
13696
|
var ie, ne, he = function(ae, ve) {
|
|
13649
13697
|
if (ae == null) return {};
|
|
@@ -13659,16 +13707,16 @@ var build = { exports: {} };
|
|
|
13659
13707
|
for (ne = 0; ne < fe.length; ne++) ie = fe[ne], Q.indexOf(ie) >= 0 || {}.propertyIsEnumerable.call(ee, ie) && (he[ie] = ee[ie]);
|
|
13660
13708
|
}
|
|
13661
13709
|
return he;
|
|
13662
|
-
}(
|
|
13710
|
+
}(R, _e));
|
|
13663
13711
|
return a().createElement("img", Ee({}, z, { onLoad: this.onImageLoad() }));
|
|
13664
13712
|
} }, { 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(
|
|
13713
|
+
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;
|
|
13714
|
+
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());
|
|
13715
|
+
} }, { key: "getWrappedLazyLoadImage", value: function(R) {
|
|
13668
13716
|
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: Ae(Ae({}, de), {}, { color: "transparent", display: "inline-block", height: Q, width: ne }) }, fe),
|
|
13717
|
+
return a().createElement("span", Ee({ className: he + " lazy-load-image-background " + ee + ve, style: Ae(Ae({}, de), {}, { color: "transparent", display: "inline-block", height: Q, width: ne }) }, fe), R);
|
|
13670
13718
|
} }, { key: "render", value: function() {
|
|
13671
|
-
var
|
|
13719
|
+
var R = this.props, z = R.effect, ee = R.placeholderSrc, Q = R.visibleByDefault, ie = R.wrapperClassName, ne = R.wrapperProps, he = this.getLazyLoadImage();
|
|
13672
13720
|
return (z || ee) && !Q || ie || ne ? this.getWrappedLazyLoadImage(he) : he;
|
|
13673
13721
|
} }], W && ke(O.prototype, W), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
13674
13722
|
var O, W;
|