@cliquify.me/elements-ui 8.0.21 → 9.0.1
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/LICENSE +46 -0
- package/dist/index.es.js +896 -876
- package/package.json +16 -16
package/dist/index.es.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Bt = (t, r, n) =>
|
|
4
|
-
import { jsx as f, jsxs as
|
|
5
|
-
import { Sequence as sn, AbsoluteFill as Nr, Audio as an, Easing as I, interpolate as W, HtmlInCanvas as
|
|
6
|
-
import { TransitionSeries as dn, Transitions as
|
|
1
|
+
var qn = Object.defineProperty;
|
|
2
|
+
var Tn = (t, r, n) => r in t ? qn(t, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[r] = n;
|
|
3
|
+
var Bt = (t, r, n) => Tn(t, typeof r != "symbol" ? r + "" : r, n);
|
|
4
|
+
import { jsx as f, jsxs as gt, Fragment as kt } from "react/jsx-runtime";
|
|
5
|
+
import { Sequence as sn, AbsoluteFill as Nr, Audio as an, Easing as I, interpolate as W, HtmlInCanvas as Dn, useCurrentFrame as Nt, OffthreadVideo as sr, Img as qt, useVideoConfig as cn, delayRender as to, continueRender as Gr, cancelRender as ro, spring as wt, random as no } from "remotion";
|
|
6
|
+
import { TransitionSeries as dn, Transitions as oo } from "@cliquify.me/transitions";
|
|
7
7
|
import { BoxAnim as jt, ContentAnim as At, MaskAnim as Tt } from "@cliquify.me/animations";
|
|
8
8
|
import un from "@emotion/styled";
|
|
9
9
|
import { css as pr } from "@emotion/react";
|
|
10
|
-
import Vt, { Component as
|
|
11
|
-
import { chromaticAberration as
|
|
12
|
-
import { noise as
|
|
13
|
-
import { pixelate as
|
|
14
|
-
import { ENTER_EDIT_MODE as
|
|
15
|
-
import { getAudioData as
|
|
16
|
-
import { isEqual as
|
|
17
|
-
import { Circle as
|
|
18
|
-
const
|
|
10
|
+
import Vt, { Component as eo, useState as fr, useEffect as er, useMemo as yr, useRef as Er } from "react";
|
|
11
|
+
import { chromaticAberration as so } from "@remotion/effects/chromatic-aberration";
|
|
12
|
+
import { noise as ao } from "@remotion/effects/noise";
|
|
13
|
+
import { pixelate as co } from "@remotion/effects/pixelate";
|
|
14
|
+
import { ENTER_EDIT_MODE as io } from "@cliquify.me/state";
|
|
15
|
+
import { getAudioData as uo, visualizeAudio as lo } from "@remotion/media-utils";
|
|
16
|
+
import { isEqual as ho, cloneDeep as or } from "lodash";
|
|
17
|
+
import { Circle as po, Triangle as fo, Star as yo, Polygon as bo, Ellipse as vo } from "@remotion/shapes";
|
|
18
|
+
const It = (t, r) => {
|
|
19
19
|
const n = t.from / 1e3 * r, s = t.to / 1e3 * r - n;
|
|
20
20
|
return { from: n, durationInFrames: s };
|
|
21
|
-
},
|
|
21
|
+
}, go = (t, r) => ({
|
|
22
22
|
width: t.width || "100%",
|
|
23
23
|
height: t.height || "auto",
|
|
24
24
|
top: -(r.y || 0),
|
|
@@ -31,12 +31,12 @@ const kt = (t, r) => {
|
|
|
31
31
|
) * ((t.borderRadius || 0) / 100)}px`;
|
|
32
32
|
return {
|
|
33
33
|
pointerEvents: "none",
|
|
34
|
-
...
|
|
34
|
+
...go(t, r),
|
|
35
35
|
borderRadius: s,
|
|
36
36
|
overflow: "hidden",
|
|
37
37
|
...n
|
|
38
38
|
};
|
|
39
|
-
},
|
|
39
|
+
}, hn = (t, r) => {
|
|
40
40
|
const n = `${Math.min(
|
|
41
41
|
r.width || t.width || 0,
|
|
42
42
|
r.height || t.height || 0
|
|
@@ -92,7 +92,7 @@ const kt = (t, r) => {
|
|
|
92
92
|
boxShadow: t.boxShadow ? `${t.boxShadow.x}px ${t.boxShadow.y}px ${t.boxShadow.blur}px ${t.boxShadow.color}` : "",
|
|
93
93
|
...n
|
|
94
94
|
};
|
|
95
|
-
},
|
|
95
|
+
}, mo = (t, r = {}) => ({
|
|
96
96
|
pointerEvents: "auto",
|
|
97
97
|
top: t.top || 0,
|
|
98
98
|
left: t.left || 0,
|
|
@@ -145,13 +145,13 @@ const kt = (t, r) => {
|
|
|
145
145
|
}
|
|
146
146
|
)
|
|
147
147
|
}
|
|
148
|
-
),
|
|
148
|
+
), $t = ({
|
|
149
149
|
item: t,
|
|
150
150
|
options: r,
|
|
151
151
|
children: n
|
|
152
152
|
}) => {
|
|
153
153
|
var y, x, m, M;
|
|
154
|
-
const { details: s } = t, { fps: c, isTransition: a } = r, { from: i, durationInFrames: e } =
|
|
154
|
+
const { details: s } = t, { fps: c, isTransition: a } = r, { from: i, durationInFrames: e } = It(
|
|
155
155
|
{
|
|
156
156
|
from: t.display.from,
|
|
157
157
|
to: t.display.to
|
|
@@ -168,7 +168,7 @@ const kt = (t, r) => {
|
|
|
168
168
|
}
|
|
169
169
|
u && (delete l.boxShadow, delete l.filter);
|
|
170
170
|
const b = h ? "!pointer-events-auto" : "";
|
|
171
|
-
return a ? /* @__PURE__ */
|
|
171
|
+
return a ? /* @__PURE__ */ gt(
|
|
172
172
|
dn.Sequence,
|
|
173
173
|
{
|
|
174
174
|
durationInFrames: e,
|
|
@@ -204,7 +204,7 @@ const kt = (t, r) => {
|
|
|
204
204
|
]
|
|
205
205
|
},
|
|
206
206
|
t.id
|
|
207
|
-
) : /* @__PURE__ */
|
|
207
|
+
) : /* @__PURE__ */ gt(
|
|
208
208
|
sn,
|
|
209
209
|
{
|
|
210
210
|
from: i,
|
|
@@ -245,7 +245,7 @@ const kt = (t, r) => {
|
|
|
245
245
|
t.id
|
|
246
246
|
);
|
|
247
247
|
};
|
|
248
|
-
function
|
|
248
|
+
function pn({
|
|
249
249
|
item: t,
|
|
250
250
|
options: r
|
|
251
251
|
}) {
|
|
@@ -261,9 +261,9 @@ function hn({
|
|
|
261
261
|
pauseWhenBuffering: !0
|
|
262
262
|
}
|
|
263
263
|
);
|
|
264
|
-
return
|
|
264
|
+
return $t({ item: t, options: r, children: a });
|
|
265
265
|
}
|
|
266
|
-
const
|
|
266
|
+
const Rt = (t, r, n, s, c) => {
|
|
267
267
|
let a = null, i = null, e = null, p = null;
|
|
268
268
|
return c != null && c.isAnimationEditor || c != null && c.insideTemplate, t != null && t.in && (a = [], t.in.composition.forEach((o) => {
|
|
269
269
|
var b, y, x, m, M;
|
|
@@ -443,7 +443,7 @@ const Ft = (t, r, n, s, c) => {
|
|
|
443
443
|
animationLoop: e,
|
|
444
444
|
animationTimed: p
|
|
445
445
|
};
|
|
446
|
-
},
|
|
446
|
+
}, xo = (t) => {
|
|
447
447
|
const c = t % 30;
|
|
448
448
|
let a = 0, i = 0;
|
|
449
449
|
if (c < 15)
|
|
@@ -456,7 +456,7 @@ const Ft = (t, r, n, s, c) => {
|
|
|
456
456
|
}, Ar = (t, r, n, s = 10) => {
|
|
457
457
|
const c = r / (1e3 * s), i = Math.min(t / n, c) / c;
|
|
458
458
|
return i >= 1 ? 1 : 0.5 + 0.5 * i;
|
|
459
|
-
},
|
|
459
|
+
}, $o = un.span`
|
|
460
460
|
position: relative;
|
|
461
461
|
display: inline-block;
|
|
462
462
|
padding: 0 0.15em;
|
|
@@ -497,7 +497,7 @@ const Ft = (t, r, n, s, c) => {
|
|
|
497
497
|
background: ${t.activeFillColor};
|
|
498
498
|
}
|
|
499
499
|
`}
|
|
500
|
-
`,
|
|
500
|
+
`, So = un.span`
|
|
501
501
|
display: inline-block;
|
|
502
502
|
position: relative;
|
|
503
503
|
margin: 0;
|
|
@@ -521,7 +521,7 @@ const Ft = (t, r, n, s, c) => {
|
|
|
521
521
|
` : pr`
|
|
522
522
|
color: ${t.wordColor};
|
|
523
523
|
`}
|
|
524
|
-
`,
|
|
524
|
+
`, Mo = ["letter", "letterUmi", "letterTracy"], wo = ["letterKaraoke", "letterPopline"], Io = ({
|
|
525
525
|
word: t,
|
|
526
526
|
offsetFrom: r,
|
|
527
527
|
activeColor: n,
|
|
@@ -533,19 +533,19 @@ const Ft = (t, r, n, s, c) => {
|
|
|
533
533
|
fps: p,
|
|
534
534
|
textDecoration: o
|
|
535
535
|
}) => {
|
|
536
|
-
const { start: h, end: d } = t, u = (h + r) / 1e3 * p, l = (d + r) / 1e3 * p, b = e >= u && e < l, y = e >= u, x = b ? n : y ? c : a, m =
|
|
536
|
+
const { start: h, end: d } = t, u = (h + r) / 1e3 * p, l = (d + r) / 1e3 * p, b = e >= u && e < l, y = e >= u, x = b ? n : y ? c : a, m = wo.includes(i) && b ? 1.2 : 1, M = t.word.length, S = l - u;
|
|
537
537
|
return /* @__PURE__ */ f(
|
|
538
|
-
|
|
538
|
+
$o,
|
|
539
539
|
{
|
|
540
540
|
isActive: b,
|
|
541
541
|
activeFillColor: s,
|
|
542
542
|
scale: m,
|
|
543
543
|
animation: i,
|
|
544
544
|
textDecoration: o,
|
|
545
|
-
children: /* @__PURE__ */ f(
|
|
545
|
+
children: /* @__PURE__ */ f(So, { wordColor: x, children: t.word.split("").map(($, k) => {
|
|
546
546
|
const g = S / M, v = u + k * g, w = v + g;
|
|
547
547
|
let N = 1, R = !0;
|
|
548
|
-
return
|
|
548
|
+
return Mo.includes(i) && (R = e >= v), i === "letterTracy" && (N = W(
|
|
549
549
|
e,
|
|
550
550
|
[v, w],
|
|
551
551
|
[0, 1],
|
|
@@ -571,21 +571,21 @@ const Ft = (t, r, n, s, c) => {
|
|
|
571
571
|
}
|
|
572
572
|
);
|
|
573
573
|
};
|
|
574
|
-
function
|
|
574
|
+
function fn({
|
|
575
575
|
item: t,
|
|
576
576
|
options: r
|
|
577
577
|
}) {
|
|
578
|
-
const { fps: n, frame: s } = r, { details: c, display: a, animations: i } = t, { animationIn: e, animationOut: p, animationTimed: o } =
|
|
578
|
+
const { fps: n, frame: s } = r, { details: c, display: a, animations: i } = t, { animationIn: e, animationOut: p, animationTimed: o } = Rt(
|
|
579
579
|
i,
|
|
580
580
|
t,
|
|
581
581
|
s,
|
|
582
582
|
n,
|
|
583
583
|
r
|
|
584
|
-
), { from: h, durationInFrames: d } =
|
|
584
|
+
), { from: h, durationInFrames: d } = It(t.display, n), u = Array.isArray(c.words) ? c.words : [], [l] = u, b = a.from - ((l == null ? void 0 : l.start) || 0);
|
|
585
585
|
let y = Math.max((s ?? 0) - h, 0), x = {};
|
|
586
586
|
switch (c == null ? void 0 : c.animation) {
|
|
587
587
|
case "letterElla":
|
|
588
|
-
x =
|
|
588
|
+
x = xo(y);
|
|
589
589
|
break;
|
|
590
590
|
case "letterHormozi":
|
|
591
591
|
x.scale = Ar(
|
|
@@ -611,7 +611,7 @@ function pn({
|
|
|
611
611
|
transform: `scale(${x.scale})`
|
|
612
612
|
}
|
|
613
613
|
}, M = (s || 0) - t.display.from * n / 1e3, { boxShadow: S, ...$ } = Pt(c), { color: k, textShadow: g, ...v } = Dt(c);
|
|
614
|
-
return
|
|
614
|
+
return $t({
|
|
615
615
|
item: t,
|
|
616
616
|
options: r,
|
|
617
617
|
children: /* @__PURE__ */ f(
|
|
@@ -643,7 +643,7 @@ function pn({
|
|
|
643
643
|
transition: "transform 0.2s ease"
|
|
644
644
|
},
|
|
645
645
|
children: u.map((w, N) => /* @__PURE__ */ f(
|
|
646
|
-
|
|
646
|
+
Io,
|
|
647
647
|
{
|
|
648
648
|
color: c.color,
|
|
649
649
|
appearedColor: c.appearedColor || c.color,
|
|
@@ -666,18 +666,18 @@ function pn({
|
|
|
666
666
|
)
|
|
667
667
|
});
|
|
668
668
|
}
|
|
669
|
-
const
|
|
669
|
+
const yn = ({
|
|
670
670
|
item: t,
|
|
671
671
|
options: r
|
|
672
672
|
}) => {
|
|
673
673
|
var u, l, b, y;
|
|
674
|
-
const { fps: n, frame: s } = r, { details: c, animations: a } = t, { animationIn: i, animationOut: e, animationTimed: p } =
|
|
674
|
+
const { fps: n, frame: s } = r, { details: c, animations: a } = t, { animationIn: i, animationOut: e, animationTimed: p } = Rt(
|
|
675
675
|
a,
|
|
676
676
|
t,
|
|
677
677
|
s,
|
|
678
678
|
n,
|
|
679
679
|
r
|
|
680
|
-
), { durationInFrames: o } =
|
|
680
|
+
), { durationInFrames: o } = It(t.display, n), h = (s || 0) - t.display.from * n / 1e3, d = /* @__PURE__ */ f(
|
|
681
681
|
jt,
|
|
682
682
|
{
|
|
683
683
|
style: Pt(c),
|
|
@@ -714,9 +714,9 @@ const fn = ({
|
|
|
714
714
|
)
|
|
715
715
|
}
|
|
716
716
|
);
|
|
717
|
-
return
|
|
717
|
+
return $t({ item: t, options: r, children: d });
|
|
718
718
|
};
|
|
719
|
-
class _r extends
|
|
719
|
+
class _r extends eo {
|
|
720
720
|
constructor(r) {
|
|
721
721
|
super(r), this.state = { hasError: !1 };
|
|
722
722
|
}
|
|
@@ -731,8 +731,8 @@ class _r extends oo {
|
|
|
731
731
|
);
|
|
732
732
|
}
|
|
733
733
|
render() {
|
|
734
|
-
return this.state.hasError || !this.props.effects ? /* @__PURE__ */ f(
|
|
735
|
-
|
|
734
|
+
return this.state.hasError || !this.props.effects ? /* @__PURE__ */ f(kt, { children: this.props.children }) : /* @__PURE__ */ f(
|
|
735
|
+
Dn,
|
|
736
736
|
{
|
|
737
737
|
width: this.props.width,
|
|
738
738
|
height: this.props.height,
|
|
@@ -742,7 +742,7 @@ class _r extends oo {
|
|
|
742
742
|
);
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
|
-
const
|
|
745
|
+
const bn = ({
|
|
746
746
|
src: t,
|
|
747
747
|
isVideo: r,
|
|
748
748
|
frame: n,
|
|
@@ -759,7 +759,7 @@ const yn = ({
|
|
|
759
759
|
marqueeDetails: l,
|
|
760
760
|
effects: b
|
|
761
761
|
}) => {
|
|
762
|
-
const y =
|
|
762
|
+
const y = Nt(), x = typeof n == "number" && !isNaN(n) ? n : y, m = Math.max(0, x - (s || 0)), M = Math.min(1, Math.max(0, m / (c || 1))), S = e || 300, $ = p || 300, k = (l == null ? void 0 : l.direction) || "horizontal", g = k === "static", v = Math.min(15, Math.max(1, Number((l == null ? void 0 : l.repeatX) ?? 5))), w = Math.min(15, Math.max(1, Number((l == null ? void 0 : l.repeatY) ?? 5))), N = (l == null ? void 0 : l.baseSpeed) !== void 0 ? Number(l.baseSpeed) : 2, R = (l == null ? void 0 : l.speedVariation) !== void 0 ? Number(l.speedVariation) : 0.5, C = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialBaseSpeed) !== void 0 ? Number(l.initialBaseSpeed) : N, E = l != null && l.hasInitialValue ? C + (N - C) * M : N, Y = g ? 0 : E * 400, _ = g ? 0 : E * 400, F = (l == null ? void 0 : l.scaleFactor) !== void 0 ? Number(l.scaleFactor) : 1, X = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialScaleFactor) !== void 0 ? Number(l.initialScaleFactor) : F, P = l != null && l.hasInitialValue ? X + (F - X) * M : F, z = (l == null ? void 0 : l.lineOffset) !== void 0 ? Number(l.lineOffset) : 0.5, O = (l == null ? void 0 : l.gapX) !== void 0 ? Number(l.gapX) : 60, A = (l == null ? void 0 : l.gapY) !== void 0 ? Number(l.gapY) : 60, J = O / 100 * S, Z = A / 100 * $, D = S, L = $, H = D * P + J, G = L * P + Z, ft = u ? typeof u == "string" ? u : `${u.x ?? 0}px ${u.y ?? 0}px ${u.blur ?? 0}px ${u.color ?? ""}` : void 0, U = k === "vertical" || k === "up" || k === "down", q = k === "diagonal", ot = (v - 1) / 2, vt = (w - 1) / 2, nt = w, ut = v, it = Array.from({ length: nt }, (tt, st) => st - vt), mt = Array.from({ length: ut }, (tt, st) => st - ot), pt = (tt, st, et, ct) => /* @__PURE__ */ f(
|
|
763
763
|
"div",
|
|
764
764
|
{
|
|
765
765
|
style: {
|
|
@@ -768,13 +768,13 @@ const yn = ({
|
|
|
768
768
|
top: `calc(50% + ${et}px)`,
|
|
769
769
|
transform: `translate(-50%, -50%) scale(${P})`,
|
|
770
770
|
transformOrigin: "center center",
|
|
771
|
-
width: `${
|
|
772
|
-
height: `${
|
|
771
|
+
width: `${D}px`,
|
|
772
|
+
height: `${L}px`,
|
|
773
773
|
borderRadius: o || 0,
|
|
774
|
-
boxShadow:
|
|
774
|
+
boxShadow: ft,
|
|
775
775
|
opacity: ct ? 1 : 0.85
|
|
776
776
|
},
|
|
777
|
-
children: /* @__PURE__ */
|
|
777
|
+
children: /* @__PURE__ */ gt(
|
|
778
778
|
"div",
|
|
779
779
|
{
|
|
780
780
|
style: {
|
|
@@ -823,9 +823,9 @@ const yn = ({
|
|
|
823
823
|
}
|
|
824
824
|
)
|
|
825
825
|
},
|
|
826
|
-
|
|
826
|
+
tt
|
|
827
827
|
);
|
|
828
|
-
return
|
|
828
|
+
return U ? /* @__PURE__ */ f(
|
|
829
829
|
"div",
|
|
830
830
|
{
|
|
831
831
|
style: {
|
|
@@ -835,22 +835,22 @@ const yn = ({
|
|
|
835
835
|
overflow: "visible",
|
|
836
836
|
borderRadius: o || 0
|
|
837
837
|
},
|
|
838
|
-
children: mt.map((
|
|
838
|
+
children: mt.map((tt, st) => {
|
|
839
839
|
let et = st % 2 === 0 ? 1 : -1;
|
|
840
840
|
k === "up" && (et = -1), k === "down" && (et = 1);
|
|
841
|
-
const ct = 1 + st % 2 * (R * 0.5), dt = _ > 0 && et !== 0 ? et * (m * _ * 0.1 * ct) +
|
|
842
|
-
return it.map((
|
|
843
|
-
const lt =
|
|
844
|
-
return
|
|
845
|
-
`v-${st}-${
|
|
841
|
+
const ct = 1 + st % 2 * (R * 0.5), dt = _ > 0 && et !== 0 ? et * (m * _ * 0.1 * ct) + tt * (G * z) : tt * (G * z), yt = _ === 0 || et === 0 ? 0 : (dt % G + G) % G - G / 2;
|
|
842
|
+
return it.map((bt, St) => {
|
|
843
|
+
const lt = tt * H, j = bt * G + yt;
|
|
844
|
+
return pt(
|
|
845
|
+
`v-${st}-${St}`,
|
|
846
846
|
lt,
|
|
847
|
-
|
|
848
|
-
|
|
847
|
+
j,
|
|
848
|
+
tt === 0 && bt === 0
|
|
849
849
|
);
|
|
850
850
|
});
|
|
851
851
|
})
|
|
852
852
|
}
|
|
853
|
-
) :
|
|
853
|
+
) : q ? /* @__PURE__ */ f(
|
|
854
854
|
"div",
|
|
855
855
|
{
|
|
856
856
|
style: {
|
|
@@ -860,15 +860,15 @@ const yn = ({
|
|
|
860
860
|
overflow: "visible",
|
|
861
861
|
borderRadius: o || 0
|
|
862
862
|
},
|
|
863
|
-
children: it.map((
|
|
864
|
-
const et = st % 2 === 0 ? 1 : -1, ct = st % 2 === 0 ? 1 : -1, dt = 1 + st % 2 * (R * 0.5), yt = Y > 0 ? et * (m * Y * 0.1 * dt) +
|
|
865
|
-
return mt.map((
|
|
866
|
-
const Yt =
|
|
867
|
-
return
|
|
868
|
-
`d-${st}-${
|
|
863
|
+
children: it.map((tt, st) => {
|
|
864
|
+
const et = st % 2 === 0 ? 1 : -1, ct = st % 2 === 0 ? 1 : -1, dt = 1 + st % 2 * (R * 0.5), yt = Y > 0 ? et * (m * Y * 0.1 * dt) + tt * (H * z) : tt * (H * z), bt = Y === 0 ? 0 : (yt % H + H) % H - H / 2, St = _ > 0 ? ct * (m * _ * 0.1 * dt) + tt * (G * z) : tt * (G * z), lt = _ === 0 ? 0 : (St % G + G) % G - G / 2;
|
|
865
|
+
return mt.map((j, Ft) => {
|
|
866
|
+
const Yt = j * H + bt, Xt = tt * G + lt;
|
|
867
|
+
return pt(
|
|
868
|
+
`d-${st}-${Ft}`,
|
|
869
869
|
Yt,
|
|
870
870
|
Xt,
|
|
871
|
-
|
|
871
|
+
j === 0 && tt === 0
|
|
872
872
|
);
|
|
873
873
|
});
|
|
874
874
|
})
|
|
@@ -883,23 +883,23 @@ const yn = ({
|
|
|
883
883
|
overflow: "visible",
|
|
884
884
|
borderRadius: o || 0
|
|
885
885
|
},
|
|
886
|
-
children: it.map((
|
|
886
|
+
children: it.map((tt, st) => {
|
|
887
887
|
let et = st % 2 === 0 ? 1 : -1;
|
|
888
888
|
k === "left" && (et = -1), k === "right" && (et = 1);
|
|
889
|
-
const ct = 1 + st % 2 * (R * 0.5), dt = Y > 0 && et !== 0 ? et * (m * Y * 0.1 * ct) +
|
|
890
|
-
return mt.map((
|
|
891
|
-
const lt =
|
|
892
|
-
return
|
|
893
|
-
`h-${st}-${
|
|
889
|
+
const ct = 1 + st % 2 * (R * 0.5), dt = Y > 0 && et !== 0 ? et * (m * Y * 0.1 * ct) + tt * (H * z) : tt * (H * z), yt = Y === 0 || et === 0 ? 0 : (dt % H + H) % H - H / 2;
|
|
890
|
+
return mt.map((bt, St) => {
|
|
891
|
+
const lt = bt * H + yt, j = tt * G;
|
|
892
|
+
return pt(
|
|
893
|
+
`h-${st}-${St}`,
|
|
894
894
|
lt,
|
|
895
|
-
|
|
896
|
-
|
|
895
|
+
j,
|
|
896
|
+
bt === 0 && tt === 0
|
|
897
897
|
);
|
|
898
898
|
});
|
|
899
899
|
})
|
|
900
900
|
}
|
|
901
901
|
);
|
|
902
|
-
},
|
|
902
|
+
}, vn = ({
|
|
903
903
|
src: t,
|
|
904
904
|
isVideo: r,
|
|
905
905
|
frame: n,
|
|
@@ -916,10 +916,10 @@ const yn = ({
|
|
|
916
916
|
echoesDetails: l,
|
|
917
917
|
effects: b
|
|
918
918
|
}) => {
|
|
919
|
-
const y =
|
|
919
|
+
const y = Nt(), x = typeof n == "number" && !isNaN(n) ? n : y, m = e || 300, M = p || 300, S = (l == null ? void 0 : l.keepStill) || "both", $ = Number((l == null ? void 0 : l.toRepeatCount) ?? 5), k = Number((l == null ? void 0 : l.toScaleDown) ?? 0.3), g = Number((l == null ? void 0 : l.toCenterX) ?? 0.5), v = Number((l == null ? void 0 : l.toCenterY) ?? 0.5), w = (l == null ? void 0 : l.initialRepeatCount) !== void 0 ? Number(l.initialRepeatCount) : $, N = (l == null ? void 0 : l.initialScaleDown) !== void 0 ? Number(l.initialScaleDown) : 1, R = (l == null ? void 0 : l.initialCenterX) !== void 0 ? Number(l.initialCenterX) : g, C = (l == null ? void 0 : l.initialCenterY) !== void 0 ? Number(l.initialCenterY) : v, E = Math.max(0, x - (s || 0)), Y = Math.min(1, Math.max(0, E / (c || 1)));
|
|
920
920
|
let F = a + (i - a) * Y;
|
|
921
921
|
S === "initial" ? F = 0 : S === "final" && (F = 1);
|
|
922
|
-
const X = Math.max(1, Math.round(W(F, [0, 1], [w, $]))), P = W(F, [0, 1], [N, k]), z = W(F, [0, 1], [R, g]), O = W(F, [0, 1], [C, v]),
|
|
922
|
+
const X = Math.max(1, Math.round(W(F, [0, 1], [w, $]))), P = W(F, [0, 1], [N, k]), z = W(F, [0, 1], [R, g]), O = W(F, [0, 1], [C, v]), A = u ? typeof u == "string" ? u : `${u.x ?? 0}px ${u.y ?? 0}px ${u.blur ?? 0}px ${u.color ?? ""}` : void 0, J = Array.from({ length: X }, (Z, D) => D);
|
|
923
923
|
return /* @__PURE__ */ f(
|
|
924
924
|
"div",
|
|
925
925
|
{
|
|
@@ -930,8 +930,8 @@ const yn = ({
|
|
|
930
930
|
overflow: "hidden",
|
|
931
931
|
borderRadius: o || 0
|
|
932
932
|
},
|
|
933
|
-
children:
|
|
934
|
-
const
|
|
933
|
+
children: J.map((Z) => {
|
|
934
|
+
const D = X > 1 ? Z / (X - 1) : 0, L = 1 - D * (1 - Math.max(0.01, P)), H = (z - 0.5) * m * D, G = (O - 0.5) * M * D;
|
|
935
935
|
return /* @__PURE__ */ f(
|
|
936
936
|
"div",
|
|
937
937
|
{
|
|
@@ -941,13 +941,13 @@ const yn = ({
|
|
|
941
941
|
top: "50%",
|
|
942
942
|
width: `${m}px`,
|
|
943
943
|
height: `${M}px`,
|
|
944
|
-
transform: `translate(-50%, -50%) translate(${H}px, ${G}px) scale(${
|
|
944
|
+
transform: `translate(-50%, -50%) translate(${H}px, ${G}px) scale(${L})`,
|
|
945
945
|
transformOrigin: "center center",
|
|
946
946
|
borderRadius: o || 0,
|
|
947
|
-
boxShadow:
|
|
948
|
-
zIndex:
|
|
947
|
+
boxShadow: A,
|
|
948
|
+
zIndex: Z + 1
|
|
949
949
|
},
|
|
950
|
-
children: /* @__PURE__ */
|
|
950
|
+
children: /* @__PURE__ */ gt(
|
|
951
951
|
"div",
|
|
952
952
|
{
|
|
953
953
|
style: {
|
|
@@ -996,12 +996,12 @@ const yn = ({
|
|
|
996
996
|
}
|
|
997
997
|
)
|
|
998
998
|
},
|
|
999
|
-
`echo-${
|
|
999
|
+
`echo-${Z}`
|
|
1000
1000
|
);
|
|
1001
1001
|
})
|
|
1002
1002
|
}
|
|
1003
1003
|
);
|
|
1004
|
-
},
|
|
1004
|
+
}, gn = ({
|
|
1005
1005
|
src: t,
|
|
1006
1006
|
isVideo: r,
|
|
1007
1007
|
frame: n,
|
|
@@ -1018,7 +1018,7 @@ const yn = ({
|
|
|
1018
1018
|
wiggleDetails: l,
|
|
1019
1019
|
effects: b
|
|
1020
1020
|
}) => {
|
|
1021
|
-
const y =
|
|
1021
|
+
const y = Nt(), x = typeof n == "number" && !isNaN(n) ? n : y, m = e || 300, M = p || 300, S = Number((l == null ? void 0 : l.wiggleX) ?? 20), $ = Number((l == null ? void 0 : l.wiggleY) ?? 20), k = Number((l == null ? void 0 : l.speed) ?? 3), g = Number((l == null ? void 0 : l.angle) ?? 10), v = Number((l == null ? void 0 : l.seed) ?? 1), w = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialWiggleX) !== void 0 ? Number(l.initialWiggleX) : S, N = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialWiggleY) !== void 0 ? Number(l.initialWiggleY) : $, R = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialSpeed) !== void 0 ? Number(l.initialSpeed) : k, C = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialAngle) !== void 0 ? Number(l.initialAngle) : g, E = Math.max(0, x - (s || 0)), Y = Math.min(1, Math.max(0, E / (c || 1))), _ = l != null && l.hasInitialValue ? w + (S - w) * Y : S, F = l != null && l.hasInitialValue ? N + ($ - N) * Y : $, X = l != null && l.hasInitialValue ? R + (k - R) * Y : k, P = l != null && l.hasInitialValue ? C + (g - C) * Y : g, z = x * (X * 0.08), O = v * 12.345, A = Math.sin(z + O) * Math.cos(z * 0.65 + O) * _, J = Math.cos(z * 0.85 + O) * Math.sin(z * 1.15 + O) * F, Z = Math.sin(z * 0.9 + O * 1.35) * P, D = u ? typeof u == "string" ? u : `${u.x ?? 0}px ${u.y ?? 0}px ${u.blur ?? 0}px ${u.color ?? ""}` : void 0;
|
|
1022
1022
|
return /* @__PURE__ */ f(
|
|
1023
1023
|
"div",
|
|
1024
1024
|
{
|
|
@@ -1028,7 +1028,7 @@ const yn = ({
|
|
|
1028
1028
|
position: "relative",
|
|
1029
1029
|
overflow: "visible"
|
|
1030
1030
|
},
|
|
1031
|
-
children: /* @__PURE__ */
|
|
1031
|
+
children: /* @__PURE__ */ gt(
|
|
1032
1032
|
"div",
|
|
1033
1033
|
{
|
|
1034
1034
|
style: {
|
|
@@ -1037,10 +1037,10 @@ const yn = ({
|
|
|
1037
1037
|
position: "absolute",
|
|
1038
1038
|
left: "50%",
|
|
1039
1039
|
top: "50%",
|
|
1040
|
-
transform: `translate(-50%, -50%) translate(${
|
|
1040
|
+
transform: `translate(-50%, -50%) translate(${A}px, ${J}px) rotate(${Z}deg)`,
|
|
1041
1041
|
transformOrigin: "center center",
|
|
1042
1042
|
borderRadius: o || 0,
|
|
1043
|
-
boxShadow:
|
|
1043
|
+
boxShadow: D,
|
|
1044
1044
|
overflow: "hidden"
|
|
1045
1045
|
},
|
|
1046
1046
|
children: [
|
|
@@ -1097,15 +1097,15 @@ const yn = ({
|
|
|
1097
1097
|
children: h,
|
|
1098
1098
|
style: d = {}
|
|
1099
1099
|
}) => {
|
|
1100
|
-
const u =
|
|
1100
|
+
const u = Nt(), l = typeof t == "number" && !isNaN(t) ? t : u, b = a || 300, y = i || 300, x = (o == null ? void 0 : o.keepStill) || "both", m = Number((o == null ? void 0 : o.toRotationX) ?? 0), M = Number((o == null ? void 0 : o.toRotationY) ?? 360), S = Number((o == null ? void 0 : o.toRotationZ) ?? 0), $ = Number((o == null ? void 0 : o.toPivotX) ?? 0), k = Number((o == null ? void 0 : o.toPivotY) ?? 0), g = Number((o == null ? void 0 : o.toPerspective) ?? 0.45), v = !!(o != null && o.hasInitialValue), w = v ? Number((o == null ? void 0 : o.initialRotationX) ?? 0) : 0, N = v ? Number((o == null ? void 0 : o.initialRotationY) ?? 0) : 0, R = v ? Number((o == null ? void 0 : o.initialRotationZ) ?? 0) : 0, C = v ? Number((o == null ? void 0 : o.initialPivotX) ?? 0) : $, E = v ? Number((o == null ? void 0 : o.initialPivotY) ?? 0) : k, Y = v ? Number((o == null ? void 0 : o.initialPerspective) ?? 0.45) : g, _ = (o == null ? void 0 : o.frontFace) ?? !0, F = (o == null ? void 0 : o.backFace) ?? !0, X = Math.max(0, l - (r || 0)), P = Math.min(1, Math.max(0, X / (n || 1)));
|
|
1101
1101
|
let O = s + (c - s) * P;
|
|
1102
1102
|
x === "initial" ? O = 0 : x === "final" && (O = 1);
|
|
1103
|
-
const
|
|
1103
|
+
const A = W(O, [0, 1], [w, m]), J = W(O, [0, 1], [N, M]), Z = W(O, [0, 1], [R, S]), D = W(O, [0, 1], [C, $]), L = W(O, [0, 1], [E, k]), H = W(O, [0, 1], [Y, g]), G = Math.max(b, y), ft = Math.max(
|
|
1104
1104
|
1200,
|
|
1105
1105
|
Math.round(G * 2.5 / Math.max(0.05, H))
|
|
1106
|
-
),
|
|
1106
|
+
), U = A * Math.PI / 180, q = J * Math.PI / 180, ot = Math.cos(U) * Math.cos(q), vt = ot >= 0, nt = ot < 0;
|
|
1107
1107
|
let ut = !0;
|
|
1108
|
-
|
|
1108
|
+
vt && !_ && (ut = !1), nt && !F && (ut = !1);
|
|
1109
1109
|
const it = p ? typeof p == "string" ? p : `${p.x ?? 0}px ${p.y ?? 0}px ${p.blur ?? 0}px ${p.color ?? ""}` : void 0;
|
|
1110
1110
|
return /* @__PURE__ */ f(
|
|
1111
1111
|
"div",
|
|
@@ -1113,7 +1113,7 @@ const yn = ({
|
|
|
1113
1113
|
style: {
|
|
1114
1114
|
width: "100%",
|
|
1115
1115
|
height: "100%",
|
|
1116
|
-
perspective: `${
|
|
1116
|
+
perspective: `${ft}px`,
|
|
1117
1117
|
transformStyle: "preserve-3d",
|
|
1118
1118
|
position: "relative",
|
|
1119
1119
|
...d
|
|
@@ -1124,8 +1124,8 @@ const yn = ({
|
|
|
1124
1124
|
style: {
|
|
1125
1125
|
width: "100%",
|
|
1126
1126
|
height: "100%",
|
|
1127
|
-
transformOrigin: `${50 +
|
|
1128
|
-
transform: `rotateX(${
|
|
1127
|
+
transformOrigin: `${50 + D}% ${50 + L}%`,
|
|
1128
|
+
transform: `rotateX(${A}deg) rotateY(${J}deg) rotateZ(${Z}deg)`,
|
|
1129
1129
|
backfaceVisibility: F ? "visible" : "hidden",
|
|
1130
1130
|
visibility: ut ? "visible" : "hidden",
|
|
1131
1131
|
borderRadius: e || 0,
|
|
@@ -1137,7 +1137,7 @@ const yn = ({
|
|
|
1137
1137
|
)
|
|
1138
1138
|
}
|
|
1139
1139
|
);
|
|
1140
|
-
},
|
|
1140
|
+
}, ko = ({
|
|
1141
1141
|
src: t,
|
|
1142
1142
|
frame: r,
|
|
1143
1143
|
delay: n = 0,
|
|
@@ -1172,7 +1172,7 @@ const yn = ({
|
|
|
1172
1172
|
borderRadius: p,
|
|
1173
1173
|
boxShadow: d,
|
|
1174
1174
|
cardFlipDetails: u,
|
|
1175
|
-
children: /* @__PURE__ */
|
|
1175
|
+
children: /* @__PURE__ */ gt(
|
|
1176
1176
|
"div",
|
|
1177
1177
|
{
|
|
1178
1178
|
style: {
|
|
@@ -1248,7 +1248,7 @@ const yn = ({
|
|
|
1248
1248
|
function ur(t, r, n, s) {
|
|
1249
1249
|
return t[0] * r + t[1] * n + t[2] * s;
|
|
1250
1250
|
}
|
|
1251
|
-
function
|
|
1251
|
+
function mn(t, r, n, s = 0) {
|
|
1252
1252
|
const c = [];
|
|
1253
1253
|
for (let nt = 0; nt < 256; nt++) c[nt] = nt;
|
|
1254
1254
|
let a = Math.floor(Math.abs(s) * 1e3) % 2147483647 + 1;
|
|
@@ -1265,19 +1265,19 @@ function gn(t, r, n, s = 0) {
|
|
|
1265
1265
|
const b = (t + r + n) * p, y = Math.floor(t + b), x = Math.floor(r + b), m = Math.floor(n + b), M = (y + x + m) * o, S = y - M, $ = x - M, k = m - M, g = t - S, v = r - $, w = n - k;
|
|
1266
1266
|
let N = 0, R = 0, C = 0, E = 0, Y = 0, _ = 0;
|
|
1267
1267
|
g >= v ? v >= w ? (N = 1, R = 0, C = 0, E = 1, Y = 1, _ = 0) : g >= w ? (N = 1, R = 0, C = 0, E = 1, Y = 0, _ = 1) : (N = 0, R = 0, C = 1, E = 1, Y = 0, _ = 1) : v < w ? (N = 0, R = 0, C = 1, E = 0, Y = 1, _ = 1) : g < w ? (N = 0, R = 1, C = 0, E = 0, Y = 1, _ = 1) : (N = 0, R = 1, C = 0, E = 1, Y = 1, _ = 0);
|
|
1268
|
-
const F = g - N + o, X = v - R + o, P = w - C + o, z = g - E + 2 * o, O = v - Y + 2 * o,
|
|
1269
|
-
let
|
|
1270
|
-
|
|
1271
|
-
let
|
|
1272
|
-
|
|
1273
|
-
let
|
|
1274
|
-
|
|
1275
|
-
let ot = 0.6 -
|
|
1276
|
-
ot >= 0 && (ot *= ot, l = ot * ot * ur(dr[e[
|
|
1277
|
-
const
|
|
1278
|
-
return Math.min(1, Math.max(0, (
|
|
1268
|
+
const F = g - N + o, X = v - R + o, P = w - C + o, z = g - E + 2 * o, O = v - Y + 2 * o, A = w - _ + 2 * o, J = g - 1 + 3 * o, Z = v - 1 + 3 * o, D = w - 1 + 3 * o, L = y & 255, H = x & 255, G = m & 255;
|
|
1269
|
+
let ft = 0.6 - g * g - v * v - w * w;
|
|
1270
|
+
ft >= 0 && (ft *= ft, h = ft * ft * ur(dr[e[L + i[H + i[G]]]], g, v, w));
|
|
1271
|
+
let U = 0.6 - F * F - X * X - P * P;
|
|
1272
|
+
U >= 0 && (U *= U, d = U * U * ur(dr[e[L + N + i[H + R + i[G + C]]]], F, X, P));
|
|
1273
|
+
let q = 0.6 - z * z - O * O - A * A;
|
|
1274
|
+
q >= 0 && (q *= q, u = q * q * ur(dr[e[L + E + i[H + Y + i[G + _]]]], z, O, A));
|
|
1275
|
+
let ot = 0.6 - J * J - Z * Z - D * D;
|
|
1276
|
+
ot >= 0 && (ot *= ot, l = ot * ot * ur(dr[e[L + 1 + i[H + 1 + i[G + 1]]]], J, Z, D));
|
|
1277
|
+
const vt = 32 * (h + d + u + l);
|
|
1278
|
+
return Math.min(1, Math.max(0, (vt + 1) / 2));
|
|
1279
1279
|
}
|
|
1280
|
-
const
|
|
1280
|
+
const No = ({
|
|
1281
1281
|
src: t,
|
|
1282
1282
|
frame: r,
|
|
1283
1283
|
delay: n = 0,
|
|
@@ -1292,20 +1292,20 @@ const ko = ({
|
|
|
1292
1292
|
boxShadow: d,
|
|
1293
1293
|
noiseTileDetails: u
|
|
1294
1294
|
}) => {
|
|
1295
|
-
const l =
|
|
1296
|
-
let
|
|
1297
|
-
m === "initial" ?
|
|
1298
|
-
const
|
|
1295
|
+
const l = Nt(), b = typeof r == "number" && !isNaN(r) ? r : l, y = i || 300, x = e || 300, m = (u == null ? void 0 : u.keepStill) || "both", M = Number((u == null ? void 0 : u.toXRepetitions) ?? (u == null ? void 0 : u.xRepetitions) ?? 5), S = Number((u == null ? void 0 : u.toYRepetitions) ?? (u == null ? void 0 : u.yRepetitions) ?? 5), $ = Number((u == null ? void 0 : u.toGapX) ?? (u == null ? void 0 : u.gapX) ?? 12), k = Number((u == null ? void 0 : u.toGapY) ?? (u == null ? void 0 : u.gapY) ?? 12), g = Number((u == null ? void 0 : u.toScale) ?? (u == null ? void 0 : u.scale) ?? 1), v = Number((u == null ? void 0 : u.toNoiseScale) ?? (u == null ? void 0 : u.noiseScale) ?? 1.5), w = Number((u == null ? void 0 : u.toNoiseMoveX) ?? (u == null ? void 0 : u.noiseMoveX) ?? 0.6), N = Number((u == null ? void 0 : u.toNoiseMoveY) ?? (u == null ? void 0 : u.noiseMoveY) ?? 0.4), R = Number((u == null ? void 0 : u.toFps) ?? (u == null ? void 0 : u.fps) ?? 12), C = Number((u == null ? void 0 : u.toThreshold) ?? (u == null ? void 0 : u.threshold) ?? 0.45), E = Number((u == null ? void 0 : u.toSeedOffset) ?? (u == null ? void 0 : u.seedOffset) ?? 0), Y = !!(u != null && u.hasInitialValue), _ = Y ? Number((u == null ? void 0 : u.initialXRepetitions) ?? M) : M, F = Y ? Number((u == null ? void 0 : u.initialYRepetitions) ?? S) : S, X = Y ? Number((u == null ? void 0 : u.initialGapX) ?? $) : $, P = Y ? Number((u == null ? void 0 : u.initialGapY) ?? k) : k, z = Y ? Number((u == null ? void 0 : u.initialScale) ?? g) : g, O = Y ? Number((u == null ? void 0 : u.initialNoiseScale) ?? v) : v, A = Y ? Number((u == null ? void 0 : u.initialNoiseMoveX) ?? w) : w, J = Y ? Number((u == null ? void 0 : u.initialNoiseMoveY) ?? N) : N, Z = Y ? Number((u == null ? void 0 : u.initialFps) ?? R) : R, D = Y ? Number((u == null ? void 0 : u.initialThreshold) ?? C) : C, L = Y ? Number((u == null ? void 0 : u.initialSeedOffset) ?? E) : E, H = Math.max(0, b - (n || 0)), G = Math.min(1, Math.max(0, H / (s || 1)));
|
|
1296
|
+
let U = c + (a - c) * G;
|
|
1297
|
+
m === "initial" ? U = 0 : m === "final" && (U = 1);
|
|
1298
|
+
const q = Math.max(1, Math.round(W(U, [0, 1], [_, M]))), ot = Math.max(1, Math.round(W(U, [0, 1], [F, S]))), vt = W(U, [0, 1], [X, $]), nt = W(U, [0, 1], [P, k]), ut = W(U, [0, 1], [z, g]), it = W(U, [0, 1], [O, v]), mt = W(U, [0, 1], [A, w]), pt = W(U, [0, 1], [J, N]), tt = Math.max(1, Math.round(W(U, [0, 1], [Z, R]))), st = W(U, [0, 1], [D, C]), et = W(U, [0, 1], [L, E]), ct = d ? typeof d == "string" ? d : `${d.x ?? 0}px ${d.y ?? 0}px ${d.blur ?? 0}px ${d.color ?? ""}` : void 0, dt = Math.floor(H * (tt / 30)), yt = (q - 1) / 2, bt = (ot - 1) / 2, St = [];
|
|
1299
1299
|
for (let lt = 0; lt < ot; lt++)
|
|
1300
|
-
for (let
|
|
1301
|
-
const
|
|
1302
|
-
|
|
1303
|
-
Yt + dt *
|
|
1300
|
+
for (let j = 0; j < q; j++) {
|
|
1301
|
+
const Ft = j / Math.max(1, q) * it, Yt = lt / Math.max(1, ot) * it, Xt = dt * 0.1 + et, Et = mn(
|
|
1302
|
+
Ft + dt * mt * 0.05,
|
|
1303
|
+
Yt + dt * pt * 0.05,
|
|
1304
1304
|
Xt,
|
|
1305
1305
|
et
|
|
1306
|
-
), _t =
|
|
1307
|
-
|
|
1308
|
-
col:
|
|
1306
|
+
), _t = j === Math.floor(yt) && lt === Math.floor(bt) || Et >= st, Wt = j - yt, Lt = lt - bt, Ht = vt / 100 * y, Ut = nt / 100 * x, Zt = Wt * (y * ut + Ht), Qt = Lt * (x * ut + Ut);
|
|
1307
|
+
St.push({
|
|
1308
|
+
col: j,
|
|
1309
1309
|
row: lt,
|
|
1310
1310
|
visible: _t,
|
|
1311
1311
|
posX: Zt,
|
|
@@ -1321,7 +1321,7 @@ const ko = ({
|
|
|
1321
1321
|
position: "relative",
|
|
1322
1322
|
overflow: "visible"
|
|
1323
1323
|
},
|
|
1324
|
-
children:
|
|
1324
|
+
children: St.map((lt) => lt.visible ? /* @__PURE__ */ f(
|
|
1325
1325
|
"div",
|
|
1326
1326
|
{
|
|
1327
1327
|
style: {
|
|
@@ -1335,7 +1335,7 @@ const ko = ({
|
|
|
1335
1335
|
borderRadius: p || 0,
|
|
1336
1336
|
boxShadow: ct
|
|
1337
1337
|
},
|
|
1338
|
-
children: /* @__PURE__ */
|
|
1338
|
+
children: /* @__PURE__ */ gt(
|
|
1339
1339
|
"div",
|
|
1340
1340
|
{
|
|
1341
1341
|
style: {
|
|
@@ -1395,16 +1395,16 @@ function Vr(t) {
|
|
|
1395
1395
|
const r = t.map((n) => {
|
|
1396
1396
|
switch (n.type) {
|
|
1397
1397
|
case "chromaticAberration":
|
|
1398
|
-
return
|
|
1398
|
+
return so({
|
|
1399
1399
|
amount: n.offset ?? 5
|
|
1400
1400
|
});
|
|
1401
1401
|
case "noise":
|
|
1402
|
-
return
|
|
1402
|
+
return ao({
|
|
1403
1403
|
seed: n.seed ?? n.speed ?? 1,
|
|
1404
1404
|
amount: n.amount ?? 0.15
|
|
1405
1405
|
});
|
|
1406
1406
|
case "pixelate":
|
|
1407
|
-
return
|
|
1407
|
+
return co({ blockSize: n.size });
|
|
1408
1408
|
default:
|
|
1409
1409
|
return null;
|
|
1410
1410
|
}
|
|
@@ -1514,7 +1514,7 @@ function Cr(t, r, n = 0, s = 0) {
|
|
|
1514
1514
|
!d || !d.type || a.has(d.type) || c.push(d);
|
|
1515
1515
|
}), c.push(...i), c;
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1517
|
+
function xn(t) {
|
|
1518
1518
|
if (!t || !Array.isArray(t) || t.length === 0)
|
|
1519
1519
|
return { filter: "", overlays: [] };
|
|
1520
1520
|
const r = [], n = [];
|
|
@@ -1592,12 +1592,12 @@ function mn(t) {
|
|
|
1592
1592
|
overlays: n
|
|
1593
1593
|
};
|
|
1594
1594
|
}
|
|
1595
|
-
var Jt = {},
|
|
1595
|
+
var Jt = {}, $n = {}, Ct = {};
|
|
1596
1596
|
Object.defineProperty(Ct, "__esModule", {
|
|
1597
1597
|
value: !0
|
|
1598
1598
|
});
|
|
1599
1599
|
Ct.loop = Ct.conditional = Ct.parse = void 0;
|
|
1600
|
-
var
|
|
1600
|
+
var Ro = function t(r, n) {
|
|
1601
1601
|
var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, c = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : s;
|
|
1602
1602
|
if (Array.isArray(n))
|
|
1603
1603
|
n.forEach(function(i) {
|
|
@@ -1611,14 +1611,14 @@ var No = function t(r, n) {
|
|
|
1611
1611
|
}
|
|
1612
1612
|
return s;
|
|
1613
1613
|
};
|
|
1614
|
-
Ct.parse =
|
|
1615
|
-
var
|
|
1614
|
+
Ct.parse = Ro;
|
|
1615
|
+
var Fo = function(r, n) {
|
|
1616
1616
|
return function(s, c, a, i) {
|
|
1617
1617
|
n(s, c, a) && i(s, r, c, a);
|
|
1618
1618
|
};
|
|
1619
1619
|
};
|
|
1620
|
-
Ct.conditional =
|
|
1621
|
-
var
|
|
1620
|
+
Ct.conditional = Fo;
|
|
1621
|
+
var Yo = function(r, n) {
|
|
1622
1622
|
return function(s, c, a, i) {
|
|
1623
1623
|
for (var e = [], p = s.pos; n(s, c, a); ) {
|
|
1624
1624
|
var o = {};
|
|
@@ -1629,87 +1629,87 @@ var Fo = function(r, n) {
|
|
|
1629
1629
|
return e;
|
|
1630
1630
|
};
|
|
1631
1631
|
};
|
|
1632
|
-
Ct.loop =
|
|
1633
|
-
var
|
|
1634
|
-
Object.defineProperty(
|
|
1632
|
+
Ct.loop = Yo;
|
|
1633
|
+
var Mt = {};
|
|
1634
|
+
Object.defineProperty(Mt, "__esModule", {
|
|
1635
1635
|
value: !0
|
|
1636
1636
|
});
|
|
1637
|
-
|
|
1638
|
-
var
|
|
1637
|
+
Mt.readBits = Mt.readArray = Mt.readUnsigned = Mt.readString = Mt.peekBytes = Mt.readBytes = Mt.peekByte = Mt.readByte = Mt.buildStream = void 0;
|
|
1638
|
+
var Xo = function(r) {
|
|
1639
1639
|
return {
|
|
1640
1640
|
data: r,
|
|
1641
1641
|
pos: 0
|
|
1642
1642
|
};
|
|
1643
1643
|
};
|
|
1644
|
-
|
|
1645
|
-
var
|
|
1644
|
+
Mt.buildStream = Xo;
|
|
1645
|
+
var Sn = function() {
|
|
1646
1646
|
return function(r) {
|
|
1647
1647
|
return r.data[r.pos++];
|
|
1648
1648
|
};
|
|
1649
1649
|
};
|
|
1650
|
-
|
|
1651
|
-
var
|
|
1650
|
+
Mt.readByte = Sn;
|
|
1651
|
+
var Bo = function() {
|
|
1652
1652
|
var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
|
|
1653
1653
|
return function(n) {
|
|
1654
1654
|
return n.data[n.pos + r];
|
|
1655
1655
|
};
|
|
1656
1656
|
};
|
|
1657
|
-
|
|
1657
|
+
Mt.peekByte = Bo;
|
|
1658
1658
|
var br = function(r) {
|
|
1659
1659
|
return function(n) {
|
|
1660
1660
|
return n.data.subarray(n.pos, n.pos += r);
|
|
1661
1661
|
};
|
|
1662
1662
|
};
|
|
1663
|
-
|
|
1664
|
-
var
|
|
1663
|
+
Mt.readBytes = br;
|
|
1664
|
+
var Po = function(r) {
|
|
1665
1665
|
return function(n) {
|
|
1666
1666
|
return n.data.subarray(n.pos, n.pos + r);
|
|
1667
1667
|
};
|
|
1668
1668
|
};
|
|
1669
|
-
|
|
1670
|
-
var
|
|
1669
|
+
Mt.peekBytes = Po;
|
|
1670
|
+
var Eo = function(r) {
|
|
1671
1671
|
return function(n) {
|
|
1672
1672
|
return Array.from(br(r)(n)).map(function(s) {
|
|
1673
1673
|
return String.fromCharCode(s);
|
|
1674
1674
|
}).join("");
|
|
1675
1675
|
};
|
|
1676
1676
|
};
|
|
1677
|
-
|
|
1678
|
-
var
|
|
1677
|
+
Mt.readString = Eo;
|
|
1678
|
+
var _o = function(r) {
|
|
1679
1679
|
return function(n) {
|
|
1680
1680
|
var s = br(2)(n);
|
|
1681
1681
|
return r ? (s[1] << 8) + s[0] : (s[0] << 8) + s[1];
|
|
1682
1682
|
};
|
|
1683
1683
|
};
|
|
1684
|
-
|
|
1685
|
-
var
|
|
1684
|
+
Mt.readUnsigned = _o;
|
|
1685
|
+
var Wo = function(r, n) {
|
|
1686
1686
|
return function(s, c, a) {
|
|
1687
1687
|
for (var i = typeof n == "function" ? n(s, c, a) : n, e = br(r), p = new Array(i), o = 0; o < i; o++)
|
|
1688
1688
|
p[o] = e(s);
|
|
1689
1689
|
return p;
|
|
1690
1690
|
};
|
|
1691
1691
|
};
|
|
1692
|
-
|
|
1693
|
-
var
|
|
1692
|
+
Mt.readArray = Wo;
|
|
1693
|
+
var Vo = function(r, n, s) {
|
|
1694
1694
|
for (var c = 0, a = 0; a < s; a++)
|
|
1695
1695
|
c += r[n + a] && Math.pow(2, s - a - 1);
|
|
1696
1696
|
return c;
|
|
1697
|
-
},
|
|
1697
|
+
}, Co = function(r) {
|
|
1698
1698
|
return function(n) {
|
|
1699
|
-
for (var s =
|
|
1699
|
+
for (var s = Sn()(n), c = new Array(8), a = 0; a < 8; a++)
|
|
1700
1700
|
c[7 - a] = !!(s & 1 << a);
|
|
1701
1701
|
return Object.keys(r).reduce(function(i, e) {
|
|
1702
1702
|
var p = r[e];
|
|
1703
|
-
return p.length ? i[e] =
|
|
1703
|
+
return p.length ? i[e] = Vo(c, p.index, p.length) : i[e] = c[p.index], i;
|
|
1704
1704
|
}, {});
|
|
1705
1705
|
};
|
|
1706
1706
|
};
|
|
1707
|
-
|
|
1707
|
+
Mt.readBits = Co;
|
|
1708
1708
|
(function(t) {
|
|
1709
1709
|
Object.defineProperty(t, "__esModule", {
|
|
1710
1710
|
value: !0
|
|
1711
1711
|
}), t.default = void 0;
|
|
1712
|
-
var r = Ct, n =
|
|
1712
|
+
var r = Ct, n = Mt, s = {
|
|
1713
1713
|
blocks: function(u) {
|
|
1714
1714
|
for (var l = 0, b = [], y = u.data.length, x = 0, m = (0, n.readByte)()(u); m !== l && m; m = (0, n.readByte)()(u)) {
|
|
1715
1715
|
if (u.pos + m >= y) {
|
|
@@ -1886,13 +1886,13 @@ wt.readBits = Vo;
|
|
|
1886
1886
|
}
|
|
1887
1887
|
], h = o;
|
|
1888
1888
|
t.default = h;
|
|
1889
|
-
})(
|
|
1889
|
+
})($n);
|
|
1890
1890
|
var vr = {};
|
|
1891
1891
|
Object.defineProperty(vr, "__esModule", {
|
|
1892
1892
|
value: !0
|
|
1893
1893
|
});
|
|
1894
1894
|
vr.deinterlace = void 0;
|
|
1895
|
-
var
|
|
1895
|
+
var Oo = function(r, n) {
|
|
1896
1896
|
for (var s = new Array(r.length), c = r.length / n, a = function(u, l) {
|
|
1897
1897
|
var b = r.slice(l * n, (l + 1) * n);
|
|
1898
1898
|
s.splice.apply(s, [u * n, n].concat(b));
|
|
@@ -1901,13 +1901,13 @@ var Co = function(r, n) {
|
|
|
1901
1901
|
a(h, p), p++;
|
|
1902
1902
|
return s;
|
|
1903
1903
|
};
|
|
1904
|
-
vr.deinterlace =
|
|
1904
|
+
vr.deinterlace = Oo;
|
|
1905
1905
|
var gr = {};
|
|
1906
1906
|
Object.defineProperty(gr, "__esModule", {
|
|
1907
1907
|
value: !0
|
|
1908
1908
|
});
|
|
1909
1909
|
gr.lzw = void 0;
|
|
1910
|
-
var
|
|
1910
|
+
var zo = function(r, n, s) {
|
|
1911
1911
|
var c = 4096, a = -1, i = s, e, p, o, h, d, u, l, g, b, y, k, x, v, w, R, N, m = new Array(s), M = new Array(c), S = new Array(c), $ = new Array(c + 1);
|
|
1912
1912
|
for (x = r, p = 1 << x, d = p + 1, e = p + 2, l = a, h = x + 1, o = (1 << h) - 1, b = 0; b < p; b++)
|
|
1913
1913
|
M[b] = 0, S[b] = b;
|
|
@@ -1938,30 +1938,30 @@ var Oo = function(r, n, s) {
|
|
|
1938
1938
|
m[y] = 0;
|
|
1939
1939
|
return m;
|
|
1940
1940
|
};
|
|
1941
|
-
gr.lzw =
|
|
1941
|
+
gr.lzw = zo;
|
|
1942
1942
|
Object.defineProperty(Jt, "__esModule", {
|
|
1943
1943
|
value: !0
|
|
1944
1944
|
});
|
|
1945
|
-
var
|
|
1946
|
-
function
|
|
1945
|
+
var Mn = Jt.decompressFrames = Jt.decompressFrame = wn = Jt.parseGIF = void 0, Go = Uo($n), jo = Ct, Ao = Mt, Lo = vr, Ho = gr;
|
|
1946
|
+
function Uo(t) {
|
|
1947
1947
|
return t && t.__esModule ? t : { default: t };
|
|
1948
1948
|
}
|
|
1949
|
-
var
|
|
1949
|
+
var Zo = function(r) {
|
|
1950
1950
|
var n = new Uint8Array(r);
|
|
1951
|
-
return (0,
|
|
1952
|
-
},
|
|
1951
|
+
return (0, jo.parse)((0, Ao.buildStream)(n), Go.default);
|
|
1952
|
+
}, wn = Jt.parseGIF = Zo, Qo = function(r) {
|
|
1953
1953
|
for (var n = r.pixels.length, s = new Uint8ClampedArray(n * 4), c = 0; c < n; c++) {
|
|
1954
1954
|
var a = c * 4, i = r.pixels[c], e = r.colorTable[i] || [0, 0, 0];
|
|
1955
1955
|
s[a] = e[0], s[a + 1] = e[1], s[a + 2] = e[2], s[a + 3] = i !== r.transparentIndex ? 255 : 0;
|
|
1956
1956
|
}
|
|
1957
1957
|
return s;
|
|
1958
|
-
},
|
|
1958
|
+
}, In = function(r, n, s) {
|
|
1959
1959
|
if (!r.image) {
|
|
1960
1960
|
console.warn("gif frame does not have associated image.");
|
|
1961
1961
|
return;
|
|
1962
1962
|
}
|
|
1963
|
-
var c = r.image, a = c.descriptor.width * c.descriptor.height, i = (0,
|
|
1964
|
-
c.descriptor.lct.interlaced && (i = (0,
|
|
1963
|
+
var c = r.image, a = c.descriptor.width * c.descriptor.height, i = (0, Ho.lzw)(c.data.minCodeSize, c.data.blocks, a);
|
|
1964
|
+
c.descriptor.lct.interlaced && (i = (0, Lo.deinterlace)(i, c.descriptor.width));
|
|
1965
1965
|
var e = {
|
|
1966
1966
|
pixels: i,
|
|
1967
1967
|
dims: {
|
|
@@ -1971,22 +1971,22 @@ var Uo = function(r) {
|
|
|
1971
1971
|
height: r.image.descriptor.height
|
|
1972
1972
|
}
|
|
1973
1973
|
};
|
|
1974
|
-
return c.descriptor.lct && c.descriptor.lct.exists ? e.colorTable = c.lct : e.colorTable = n, r.gce && (e.delay = (r.gce.delay || 10) * 10, e.disposalType = r.gce.extras.disposal, r.gce.extras.transparentColorGiven && (e.transparentIndex = r.gce.transparentColorIndex)), s && (e.patch =
|
|
1974
|
+
return c.descriptor.lct && c.descriptor.lct.exists ? e.colorTable = c.lct : e.colorTable = n, r.gce && (e.delay = (r.gce.delay || 10) * 10, e.disposalType = r.gce.extras.disposal, r.gce.extras.transparentColorGiven && (e.transparentIndex = r.gce.transparentColorIndex)), s && (e.patch = Qo(e)), e;
|
|
1975
1975
|
};
|
|
1976
|
-
Jt.decompressFrame =
|
|
1977
|
-
var
|
|
1976
|
+
Jt.decompressFrame = In;
|
|
1977
|
+
var Ko = function(r, n) {
|
|
1978
1978
|
return r.frames.filter(function(s) {
|
|
1979
1979
|
return s.image;
|
|
1980
1980
|
}).map(function(s) {
|
|
1981
|
-
return
|
|
1981
|
+
return In(s, r.gct, n);
|
|
1982
1982
|
});
|
|
1983
1983
|
};
|
|
1984
|
-
|
|
1985
|
-
const xr = /* @__PURE__ */ new Map(),
|
|
1984
|
+
Mn = Jt.decompressFrames = Ko;
|
|
1985
|
+
const xr = /* @__PURE__ */ new Map(), Jo = (t) => !!t && t.split("?")[0].toLowerCase().endsWith(".gif"), qo = (t) => t <= 10 ? 100 : t, To = async (t) => {
|
|
1986
1986
|
const r = await fetch(t);
|
|
1987
1987
|
if (!r.ok)
|
|
1988
1988
|
throw new Error(`Could not fetch GIF: ${t}`);
|
|
1989
|
-
const n = await r.arrayBuffer(), s =
|
|
1989
|
+
const n = await r.arrayBuffer(), s = wn(n), c = Mn(s, !0), a = s.lsd.width, i = s.lsd.height;
|
|
1990
1990
|
if (!c.length)
|
|
1991
1991
|
throw new Error(`GIF has no frames: ${t}`);
|
|
1992
1992
|
const e = document.createElement("canvas");
|
|
@@ -2007,7 +2007,7 @@ const xr = /* @__PURE__ */ new Map(), Ko = (t) => !!t && t.split("?")[0].toLower
|
|
|
2007
2007
|
l.dims.width,
|
|
2008
2008
|
l.dims.height
|
|
2009
2009
|
);
|
|
2010
|
-
h.putImageData(y, 0, 0), p.drawImage(o, l.dims.left, l.dims.top), d.push(e.toDataURL("image/png")), u.push(
|
|
2010
|
+
h.putImageData(y, 0, 0), p.drawImage(o, l.dims.left, l.dims.top), d.push(e.toDataURL("image/png")), u.push(qo(l.delay || 0)), l.disposalType === 2 ? p.clearRect(
|
|
2011
2011
|
l.dims.left,
|
|
2012
2012
|
l.dims.top,
|
|
2013
2013
|
l.dims.width,
|
|
@@ -2020,15 +2020,15 @@ const xr = /* @__PURE__ */ new Map(), Ko = (t) => !!t && t.split("?")[0].toLower
|
|
|
2020
2020
|
frames: d,
|
|
2021
2021
|
delaysMs: u
|
|
2022
2022
|
};
|
|
2023
|
-
},
|
|
2023
|
+
}, Do = (t) => {
|
|
2024
2024
|
const r = xr.get(t);
|
|
2025
2025
|
if (r)
|
|
2026
2026
|
return r;
|
|
2027
|
-
const n =
|
|
2027
|
+
const n = To(t).catch((s) => {
|
|
2028
2028
|
throw xr.delete(t), s;
|
|
2029
2029
|
});
|
|
2030
2030
|
return xr.set(t, n), n;
|
|
2031
|
-
},
|
|
2031
|
+
}, te = (t, r) => {
|
|
2032
2032
|
if (r.frames.length === 1 || r.durationMs <= 0)
|
|
2033
2033
|
return 0;
|
|
2034
2034
|
const n = (t % r.durationMs + r.durationMs) % r.durationMs;
|
|
@@ -2037,29 +2037,29 @@ const xr = /* @__PURE__ */ new Map(), Ko = (t) => !!t && t.split("?")[0].toLower
|
|
|
2037
2037
|
if (s += r.delaysMs[c], n < s)
|
|
2038
2038
|
return c;
|
|
2039
2039
|
return r.delaysMs.length - 1;
|
|
2040
|
-
},
|
|
2041
|
-
const c =
|
|
2040
|
+
}, re = ({ src: t, alt: r = "gif", style: n, playbackRate: s }) => {
|
|
2041
|
+
const c = Nt(), { fps: a } = cn(), [i, e] = fr(null);
|
|
2042
2042
|
if (er(() => {
|
|
2043
|
-
const h =
|
|
2043
|
+
const h = to(`Decoding GIF ${t}`);
|
|
2044
2044
|
let d = !1;
|
|
2045
|
-
return
|
|
2045
|
+
return Do(t).then((u) => {
|
|
2046
2046
|
d || (e(u), Gr(h));
|
|
2047
2047
|
}).catch((u) => {
|
|
2048
|
-
d ||
|
|
2048
|
+
d || ro(u instanceof Error ? u : new Error(String(u)));
|
|
2049
2049
|
}), () => {
|
|
2050
2050
|
d = !0, Gr(h);
|
|
2051
2051
|
};
|
|
2052
2052
|
}, [t]), !i)
|
|
2053
2053
|
return null;
|
|
2054
|
-
const p = c / a * 1e3 * s, o =
|
|
2054
|
+
const p = c / a * 1e3 * s, o = te(p, i);
|
|
2055
2055
|
return /* @__PURE__ */ f(qt, { src: i.frames[o], alt: r, style: n });
|
|
2056
2056
|
};
|
|
2057
|
-
function
|
|
2057
|
+
function kn({
|
|
2058
2058
|
item: t,
|
|
2059
2059
|
options: r
|
|
2060
2060
|
}) {
|
|
2061
|
-
var nt, ut, it, mt,
|
|
2062
|
-
const { fps: n, frame: s, isTransition: c } = r, { details: a, animations: i } = t, e = t.playbackRate || 1, { animationIn: p, animationOut: o, animationTimed: h } =
|
|
2061
|
+
var nt, ut, it, mt, pt, tt, st, et, ct, dt, yt, bt, St, lt;
|
|
2062
|
+
const { fps: n, frame: s, isTransition: c } = r, { details: a, animations: i } = t, e = t.playbackRate || 1, { animationIn: p, animationOut: o, animationTimed: h } = Rt(
|
|
2063
2063
|
i,
|
|
2064
2064
|
t,
|
|
2065
2065
|
s,
|
|
@@ -2075,28 +2075,28 @@ function In({
|
|
|
2075
2075
|
${m}px
|
|
2076
2076
|
${M}px
|
|
2077
2077
|
${y}px round ${$}px
|
|
2078
|
-
)`, { durationInFrames: g } =
|
|
2078
|
+
)`, { durationInFrames: g } = It(t.display, n), v = (s || 0) - t.display.from * n / 1e3, w = Pt(a, d, {}), { WebkitTextStroke: N } = w, R = ln(a, d), C = Cr(
|
|
2079
2079
|
a.effects,
|
|
2080
2080
|
i,
|
|
2081
2081
|
v,
|
|
2082
2082
|
g
|
|
2083
|
-
), E = Vr(C), { filter: Y, overlays: _ } =
|
|
2084
|
-
(
|
|
2085
|
-
), O = !!(z && v >= (z.delay || 0) && v <= (z.delay || 0) + (z.durationInFrames || 60)),
|
|
2086
|
-
(
|
|
2087
|
-
),
|
|
2088
|
-
(
|
|
2089
|
-
),
|
|
2090
|
-
(
|
|
2091
|
-
), H = !!(
|
|
2092
|
-
(
|
|
2093
|
-
),
|
|
2083
|
+
), E = Vr(C), { filter: Y, overlays: _ } = xn(C), F = a.width || d.width || 300, X = a.height || d.height || 300, P = Jo(a.src), z = (ut = (nt = i == null ? void 0 : i.loop) == null ? void 0 : nt.composition) == null ? void 0 : ut.find(
|
|
2084
|
+
(j) => j.property === "textGridMarqueeTextAnimationLoop" || j.property === "textGridMarquee" || j.property === "imageGridMarqueeTextAnimationLoop" || j.property === "imageGridMarquee" || j.id === "textGridMarquee" || j.id === "imageGridMarquee"
|
|
2085
|
+
), O = !!(z && v >= (z.delay || 0) && v <= (z.delay || 0) + (z.durationInFrames || 60)), A = (mt = (it = i == null ? void 0 : i.loop) == null ? void 0 : it.composition) == null ? void 0 : mt.find(
|
|
2086
|
+
(j) => j.property === "inwardEchoes" || j.id === "inwardEchoes"
|
|
2087
|
+
), J = !!(A && v >= (A.delay || 0) && v <= (A.delay || 0) + (A.durationInFrames || 120)), Z = (tt = (pt = i == null ? void 0 : i.loop) == null ? void 0 : pt.composition) == null ? void 0 : tt.find(
|
|
2088
|
+
(j) => j.property === "wiggle" || j.id === "wiggle"
|
|
2089
|
+
), D = !!(Z && v >= (Z.delay || 0) && v <= (Z.delay || 0) + (Z.durationInFrames || 120)), L = (et = (st = i == null ? void 0 : i.loop) == null ? void 0 : st.composition) == null ? void 0 : et.find(
|
|
2090
|
+
(j) => j.property === "cardFlip" || j.id === "cardFlip"
|
|
2091
|
+
), H = !!(L && v >= (L.delay || 0) && v <= (L.delay || 0) + (L.durationInFrames || 120)), G = (dt = (ct = i == null ? void 0 : i.loop) == null ? void 0 : ct.composition) == null ? void 0 : dt.find(
|
|
2092
|
+
(j) => j.property === "noiseTile" || j.id === "noiseTile"
|
|
2093
|
+
), ft = !!(G && v >= (G.delay || 0) && v <= (G.delay || 0) + (G.durationInFrames || 120)), U = [
|
|
2094
2094
|
...((yt = i == null ? void 0 : i.in) == null ? void 0 : yt.composition) || [],
|
|
2095
|
-
...((
|
|
2096
|
-
...((
|
|
2095
|
+
...((bt = i == null ? void 0 : i.out) == null ? void 0 : bt.composition) || [],
|
|
2096
|
+
...((St = i == null ? void 0 : i.timed) == null ? void 0 : St.composition) || [],
|
|
2097
2097
|
...((lt = i == null ? void 0 : i.loop) == null ? void 0 : lt.composition) || []
|
|
2098
|
-
],
|
|
2099
|
-
|
|
2098
|
+
], q = () => O ? /* @__PURE__ */ f(
|
|
2099
|
+
bn,
|
|
2100
2100
|
{
|
|
2101
2101
|
src: a.src,
|
|
2102
2102
|
frame: v,
|
|
@@ -2113,15 +2113,15 @@ function In({
|
|
|
2113
2113
|
fps: n,
|
|
2114
2114
|
marqueeDetails: z == null ? void 0 : z.details
|
|
2115
2115
|
}
|
|
2116
|
-
) :
|
|
2117
|
-
|
|
2116
|
+
) : J ? /* @__PURE__ */ f(
|
|
2117
|
+
vn,
|
|
2118
2118
|
{
|
|
2119
2119
|
src: a.src,
|
|
2120
2120
|
frame: v,
|
|
2121
|
-
delay:
|
|
2122
|
-
durationInFrames:
|
|
2123
|
-
from:
|
|
2124
|
-
to:
|
|
2121
|
+
delay: A == null ? void 0 : A.delay,
|
|
2122
|
+
durationInFrames: A == null ? void 0 : A.durationInFrames,
|
|
2123
|
+
from: A == null ? void 0 : A.from,
|
|
2124
|
+
to: A == null ? void 0 : A.to,
|
|
2125
2125
|
width: F,
|
|
2126
2126
|
height: X,
|
|
2127
2127
|
borderRadius: R.borderRadius,
|
|
@@ -2129,17 +2129,17 @@ function In({
|
|
|
2129
2129
|
borderColor: a.borderColor,
|
|
2130
2130
|
boxShadow: a.boxShadow,
|
|
2131
2131
|
fps: n,
|
|
2132
|
-
echoesDetails:
|
|
2132
|
+
echoesDetails: A == null ? void 0 : A.details
|
|
2133
2133
|
}
|
|
2134
|
-
) :
|
|
2135
|
-
|
|
2134
|
+
) : D ? /* @__PURE__ */ f(
|
|
2135
|
+
gn,
|
|
2136
2136
|
{
|
|
2137
2137
|
src: a.src,
|
|
2138
2138
|
frame: v,
|
|
2139
|
-
delay:
|
|
2140
|
-
durationInFrames:
|
|
2141
|
-
from:
|
|
2142
|
-
to:
|
|
2139
|
+
delay: Z == null ? void 0 : Z.delay,
|
|
2140
|
+
durationInFrames: Z == null ? void 0 : Z.durationInFrames,
|
|
2141
|
+
from: Z == null ? void 0 : Z.from,
|
|
2142
|
+
to: Z == null ? void 0 : Z.to,
|
|
2143
2143
|
width: F,
|
|
2144
2144
|
height: X,
|
|
2145
2145
|
borderRadius: R.borderRadius,
|
|
@@ -2147,17 +2147,17 @@ function In({
|
|
|
2147
2147
|
borderColor: a.borderColor,
|
|
2148
2148
|
boxShadow: a.boxShadow,
|
|
2149
2149
|
fps: n,
|
|
2150
|
-
wiggleDetails:
|
|
2150
|
+
wiggleDetails: Z == null ? void 0 : Z.details
|
|
2151
2151
|
}
|
|
2152
2152
|
) : H ? /* @__PURE__ */ f(
|
|
2153
|
-
|
|
2153
|
+
ko,
|
|
2154
2154
|
{
|
|
2155
2155
|
src: a.src,
|
|
2156
2156
|
frame: v,
|
|
2157
|
-
delay:
|
|
2158
|
-
durationInFrames:
|
|
2159
|
-
from:
|
|
2160
|
-
to:
|
|
2157
|
+
delay: L == null ? void 0 : L.delay,
|
|
2158
|
+
durationInFrames: L == null ? void 0 : L.durationInFrames,
|
|
2159
|
+
from: L == null ? void 0 : L.from,
|
|
2160
|
+
to: L == null ? void 0 : L.to,
|
|
2161
2161
|
width: F,
|
|
2162
2162
|
height: X,
|
|
2163
2163
|
borderRadius: R.borderRadius,
|
|
@@ -2165,12 +2165,12 @@ function In({
|
|
|
2165
2165
|
borderColor: a.borderColor,
|
|
2166
2166
|
boxShadow: a.boxShadow,
|
|
2167
2167
|
fps: n,
|
|
2168
|
-
cardFlipDetails:
|
|
2168
|
+
cardFlipDetails: L == null ? void 0 : L.details,
|
|
2169
2169
|
activeEffects: C,
|
|
2170
2170
|
effects: E
|
|
2171
2171
|
}
|
|
2172
|
-
) :
|
|
2173
|
-
|
|
2172
|
+
) : ft ? /* @__PURE__ */ f(
|
|
2173
|
+
No,
|
|
2174
2174
|
{
|
|
2175
2175
|
src: a.src,
|
|
2176
2176
|
frame: v,
|
|
@@ -2188,7 +2188,7 @@ function In({
|
|
|
2188
2188
|
noiseTileDetails: G == null ? void 0 : G.details
|
|
2189
2189
|
}
|
|
2190
2190
|
) : P ? /* @__PURE__ */ f(
|
|
2191
|
-
|
|
2191
|
+
re,
|
|
2192
2192
|
{
|
|
2193
2193
|
src: a.src,
|
|
2194
2194
|
playbackRate: e,
|
|
@@ -2210,10 +2210,10 @@ function In({
|
|
|
2210
2210
|
objectFit: "cover",
|
|
2211
2211
|
borderRadius: R.borderRadius,
|
|
2212
2212
|
filter: Y || void 0,
|
|
2213
|
-
clipPath: k
|
|
2213
|
+
clipPath: u > 0 || d.x || d.y ? k : void 0
|
|
2214
2214
|
}
|
|
2215
2215
|
}
|
|
2216
|
-
), ot = O ||
|
|
2216
|
+
), ot = O || J || D || H || ft, vt = /* @__PURE__ */ f(
|
|
2217
2217
|
jt,
|
|
2218
2218
|
{
|
|
2219
2219
|
style: {
|
|
@@ -2242,10 +2242,10 @@ function In({
|
|
|
2242
2242
|
Tt,
|
|
2243
2243
|
{
|
|
2244
2244
|
item: t,
|
|
2245
|
-
keyframeAnimations:
|
|
2245
|
+
keyframeAnimations: U,
|
|
2246
2246
|
frame: v,
|
|
2247
2247
|
durationInFrames: g,
|
|
2248
|
-
children: /* @__PURE__ */
|
|
2248
|
+
children: /* @__PURE__ */ gt(
|
|
2249
2249
|
"div",
|
|
2250
2250
|
{
|
|
2251
2251
|
style: {
|
|
@@ -2254,7 +2254,7 @@ function In({
|
|
|
2254
2254
|
height: "100%"
|
|
2255
2255
|
},
|
|
2256
2256
|
children: [
|
|
2257
|
-
!O && !
|
|
2257
|
+
!O && !J && !D && !H && !ft && a.boxShadow && /* @__PURE__ */ f(
|
|
2258
2258
|
"div",
|
|
2259
2259
|
{
|
|
2260
2260
|
style: {
|
|
@@ -2269,7 +2269,7 @@ function In({
|
|
|
2269
2269
|
}
|
|
2270
2270
|
}
|
|
2271
2271
|
),
|
|
2272
|
-
/* @__PURE__ */
|
|
2272
|
+
/* @__PURE__ */ gt(
|
|
2273
2273
|
"div",
|
|
2274
2274
|
{
|
|
2275
2275
|
id: `${t.id}-reveal-mask`,
|
|
@@ -2284,29 +2284,39 @@ function In({
|
|
|
2284
2284
|
overflow: ot ? "visible" : "hidden",
|
|
2285
2285
|
borderRadius: R.borderRadius
|
|
2286
2286
|
},
|
|
2287
|
-
children:
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2287
|
+
children: [
|
|
2288
|
+
/* @__PURE__ */ gt(
|
|
2289
|
+
"div",
|
|
2290
|
+
{
|
|
2291
|
+
style: {
|
|
2292
|
+
...R,
|
|
2293
|
+
overflow: "visible",
|
|
2294
|
+
boxShadow: O ? "none" : R.boxShadow
|
|
2295
|
+
},
|
|
2296
|
+
children: [
|
|
2297
|
+
E ? /* @__PURE__ */ f(
|
|
2298
|
+
_r,
|
|
2299
|
+
{
|
|
2300
|
+
width: F,
|
|
2301
|
+
height: X,
|
|
2302
|
+
effects: E,
|
|
2303
|
+
children: q()
|
|
2304
|
+
}
|
|
2305
|
+
) : q(),
|
|
2306
|
+
_.map((j) => /* @__PURE__ */ f("div", { style: j.style }, j.id))
|
|
2307
|
+
]
|
|
2308
|
+
}
|
|
2309
|
+
),
|
|
2310
|
+
!O && !J && !D && !H && !ft && !!a.borderWidth && /* @__PURE__ */ f(
|
|
2311
|
+
"div",
|
|
2312
|
+
{
|
|
2313
|
+
style: {
|
|
2314
|
+
...hn(a, d),
|
|
2315
|
+
backgroundColor: "transparent"
|
|
2316
|
+
}
|
|
2317
|
+
}
|
|
2318
|
+
)
|
|
2319
|
+
]
|
|
2310
2320
|
}
|
|
2311
2321
|
)
|
|
2312
2322
|
]
|
|
@@ -2318,20 +2328,20 @@ function In({
|
|
|
2318
2328
|
)
|
|
2319
2329
|
}
|
|
2320
2330
|
);
|
|
2321
|
-
return
|
|
2331
|
+
return $t({ item: t, options: r, children: vt });
|
|
2322
2332
|
}
|
|
2323
|
-
const
|
|
2333
|
+
const Nn = ({
|
|
2324
2334
|
item: t,
|
|
2325
2335
|
options: r
|
|
2326
2336
|
}) => {
|
|
2327
2337
|
var u, l, b, y;
|
|
2328
|
-
const { fps: n, frame: s } = r, { details: c, animations: a } = t, { animationIn: i, animationOut: e, animationTimed: p } =
|
|
2338
|
+
const { fps: n, frame: s } = r, { details: c, animations: a } = t, { animationIn: i, animationOut: e, animationTimed: p } = Rt(
|
|
2329
2339
|
a,
|
|
2330
2340
|
t,
|
|
2331
2341
|
s,
|
|
2332
2342
|
n,
|
|
2333
2343
|
r
|
|
2334
|
-
), { durationInFrames: o } =
|
|
2344
|
+
), { durationInFrames: o } = It(t.display, n), h = (s || 0) - t.display.from * n / 1e3, d = /* @__PURE__ */ f(
|
|
2335
2345
|
jt,
|
|
2336
2346
|
{
|
|
2337
2347
|
style: Pt(c),
|
|
@@ -2381,7 +2391,7 @@ const kn = ({
|
|
|
2381
2391
|
)
|
|
2382
2392
|
}
|
|
2383
2393
|
);
|
|
2384
|
-
return
|
|
2394
|
+
return $t({ item: t, options: r, children: d });
|
|
2385
2395
|
}, Lr = {
|
|
2386
2396
|
// Legacy Easings
|
|
2387
2397
|
linear: I.linear,
|
|
@@ -2406,7 +2416,7 @@ const kn = ({
|
|
|
2406
2416
|
swing: I.inOut(I.back(1.70158)),
|
|
2407
2417
|
none: I.linear,
|
|
2408
2418
|
custom: I.inOut(I.cubic)
|
|
2409
|
-
},
|
|
2419
|
+
}, ne = (t) => Lr[t] || Lr.linear, oe = ({
|
|
2410
2420
|
char: t,
|
|
2411
2421
|
index: r,
|
|
2412
2422
|
frame: n,
|
|
@@ -2461,7 +2471,7 @@ const kn = ({
|
|
|
2461
2471
|
const $ = y ? 1 : W(S, [0, x], [0, 1], {
|
|
2462
2472
|
extrapolateLeft: "clamp",
|
|
2463
2473
|
extrapolateRight: "clamp"
|
|
2464
|
-
}), k =
|
|
2474
|
+
}), k = ne(o), g = y ? 1 : k($), v = e + (p - e) * g;
|
|
2465
2475
|
let w = {
|
|
2466
2476
|
display: "inline-block",
|
|
2467
2477
|
transformOrigin: "center"
|
|
@@ -2586,7 +2596,7 @@ const kn = ({
|
|
|
2586
2596
|
N.push(`scale(${E})`);
|
|
2587
2597
|
}
|
|
2588
2598
|
return N.length > 0 && (w.transform = N.join(" ")), R.length > 0 && (w.filter = R.join(" ")), /* @__PURE__ */ f("span", { style: w, children: t === " " ? " " : t }, r);
|
|
2589
|
-
},
|
|
2599
|
+
}, ee = ({
|
|
2590
2600
|
char: t,
|
|
2591
2601
|
index: r,
|
|
2592
2602
|
frame: n,
|
|
@@ -2594,7 +2604,7 @@ const kn = ({
|
|
|
2594
2604
|
textLength: c,
|
|
2595
2605
|
animationTextInFrames: a
|
|
2596
2606
|
}) => {
|
|
2597
|
-
const i = a, e = i / (c + 1), p = r * e, o =
|
|
2607
|
+
const i = a, e = i / (c + 1), p = r * e, o = wt({
|
|
2598
2608
|
frame: n - p,
|
|
2599
2609
|
fps: s,
|
|
2600
2610
|
from: 4,
|
|
@@ -2619,7 +2629,7 @@ const kn = ({
|
|
|
2619
2629
|
},
|
|
2620
2630
|
r
|
|
2621
2631
|
);
|
|
2622
|
-
},
|
|
2632
|
+
}, se = ({
|
|
2623
2633
|
char: t,
|
|
2624
2634
|
index: r,
|
|
2625
2635
|
frame: n,
|
|
@@ -2627,7 +2637,7 @@ const kn = ({
|
|
|
2627
2637
|
textLength: c,
|
|
2628
2638
|
animationTextInFrames: a
|
|
2629
2639
|
}) => {
|
|
2630
|
-
const e = a / c, p = r * e, o =
|
|
2640
|
+
const e = a / c, p = r * e, o = wt({
|
|
2631
2641
|
frame: n - p,
|
|
2632
2642
|
fps: s,
|
|
2633
2643
|
from: -90,
|
|
@@ -2645,7 +2655,7 @@ const kn = ({
|
|
|
2645
2655
|
},
|
|
2646
2656
|
r
|
|
2647
2657
|
);
|
|
2648
|
-
},
|
|
2658
|
+
}, ae = ({
|
|
2649
2659
|
char: t,
|
|
2650
2660
|
index: r,
|
|
2651
2661
|
frame: n,
|
|
@@ -2653,7 +2663,7 @@ const kn = ({
|
|
|
2653
2663
|
textLength: c,
|
|
2654
2664
|
animationTextInFrames: a
|
|
2655
2665
|
}) => {
|
|
2656
|
-
const e = a / c, p = r * e, o =
|
|
2666
|
+
const e = a / c, p = r * e, o = wt({
|
|
2657
2667
|
frame: n - p,
|
|
2658
2668
|
fps: s,
|
|
2659
2669
|
from: 0,
|
|
@@ -2671,7 +2681,7 @@ const kn = ({
|
|
|
2671
2681
|
},
|
|
2672
2682
|
r
|
|
2673
2683
|
);
|
|
2674
|
-
},
|
|
2684
|
+
}, ce = ({
|
|
2675
2685
|
char: t,
|
|
2676
2686
|
index: r,
|
|
2677
2687
|
frame: n,
|
|
@@ -2679,7 +2689,7 @@ const kn = ({
|
|
|
2679
2689
|
textLength: c,
|
|
2680
2690
|
animationTextInFrames: a
|
|
2681
2691
|
}) => {
|
|
2682
|
-
const i = a, e = i / c, p = r * e, o =
|
|
2692
|
+
const i = a, e = i / c, p = r * e, o = wt({
|
|
2683
2693
|
frame: n - p,
|
|
2684
2694
|
fps: s,
|
|
2685
2695
|
from: 1.1,
|
|
@@ -2701,7 +2711,7 @@ const kn = ({
|
|
|
2701
2711
|
},
|
|
2702
2712
|
r
|
|
2703
2713
|
);
|
|
2704
|
-
},
|
|
2714
|
+
}, ie = ({
|
|
2705
2715
|
char: t,
|
|
2706
2716
|
index: r,
|
|
2707
2717
|
frame: n,
|
|
@@ -2709,7 +2719,7 @@ const kn = ({
|
|
|
2709
2719
|
textLength: c,
|
|
2710
2720
|
animationTextInFrames: a
|
|
2711
2721
|
}) => {
|
|
2712
|
-
const i = a, e = i / c, p = r * e, o =
|
|
2722
|
+
const i = a, e = i / c, p = r * e, o = wt({
|
|
2713
2723
|
frame: n - p,
|
|
2714
2724
|
fps: s,
|
|
2715
2725
|
from: -100,
|
|
@@ -2737,7 +2747,7 @@ const kn = ({
|
|
|
2737
2747
|
},
|
|
2738
2748
|
r
|
|
2739
2749
|
);
|
|
2740
|
-
},
|
|
2750
|
+
}, de = ({
|
|
2741
2751
|
char: t,
|
|
2742
2752
|
index: r,
|
|
2743
2753
|
frame: n,
|
|
@@ -2746,19 +2756,19 @@ const kn = ({
|
|
|
2746
2756
|
animationTextOutFrames: a,
|
|
2747
2757
|
durationInFrames: i
|
|
2748
2758
|
}) => {
|
|
2749
|
-
const e = i - a, p = r / c * (i - e), o =
|
|
2759
|
+
const e = i - a, p = r / c * (i - e), o = wt({
|
|
2750
2760
|
frame: n - e - p,
|
|
2751
2761
|
fps: s,
|
|
2752
2762
|
from: 1,
|
|
2753
2763
|
to: 0,
|
|
2754
2764
|
config: { mass: 0.5, damping: 10 }
|
|
2755
|
-
}), h =
|
|
2765
|
+
}), h = wt({
|
|
2756
2766
|
frame: n - e - p,
|
|
2757
2767
|
fps: s,
|
|
2758
2768
|
from: 0,
|
|
2759
2769
|
to: 50,
|
|
2760
2770
|
config: { mass: 0.5, damping: 10 }
|
|
2761
|
-
}), d =
|
|
2771
|
+
}), d = wt({
|
|
2762
2772
|
frame: n - e - p,
|
|
2763
2773
|
fps: s,
|
|
2764
2774
|
from: 0,
|
|
@@ -2777,7 +2787,7 @@ const kn = ({
|
|
|
2777
2787
|
},
|
|
2778
2788
|
r
|
|
2779
2789
|
);
|
|
2780
|
-
},
|
|
2790
|
+
}, ue = ({
|
|
2781
2791
|
char: t,
|
|
2782
2792
|
index: r,
|
|
2783
2793
|
frame: n,
|
|
@@ -2786,7 +2796,7 @@ const kn = ({
|
|
|
2786
2796
|
animationTextOutFrames: a,
|
|
2787
2797
|
durationInFrames: i
|
|
2788
2798
|
}) => {
|
|
2789
|
-
const e = i - a, p = a / c, o = e + r * p, h = n - o, d =
|
|
2799
|
+
const e = i - a, p = a / c, o = e + r * p, h = n - o, d = wt({
|
|
2790
2800
|
frame: h,
|
|
2791
2801
|
fps: s,
|
|
2792
2802
|
from: 1,
|
|
@@ -2808,7 +2818,7 @@ const kn = ({
|
|
|
2808
2818
|
},
|
|
2809
2819
|
r
|
|
2810
2820
|
);
|
|
2811
|
-
},
|
|
2821
|
+
}, le = ({
|
|
2812
2822
|
char: t,
|
|
2813
2823
|
index: r,
|
|
2814
2824
|
frame: n,
|
|
@@ -2817,7 +2827,7 @@ const kn = ({
|
|
|
2817
2827
|
animationTextOutFrames: a,
|
|
2818
2828
|
durationInFrames: i
|
|
2819
2829
|
}) => {
|
|
2820
|
-
const p = a / c, h = i - a + r * p, d = n - h, u =
|
|
2830
|
+
const p = a / c, h = i - a + r * p, d = n - h, u = wt({
|
|
2821
2831
|
frame: d,
|
|
2822
2832
|
fps: s,
|
|
2823
2833
|
from: 0,
|
|
@@ -2835,7 +2845,7 @@ const kn = ({
|
|
|
2835
2845
|
},
|
|
2836
2846
|
r
|
|
2837
2847
|
);
|
|
2838
|
-
},
|
|
2848
|
+
}, he = ({
|
|
2839
2849
|
char: t,
|
|
2840
2850
|
index: r,
|
|
2841
2851
|
frame: n,
|
|
@@ -2844,7 +2854,7 @@ const kn = ({
|
|
|
2844
2854
|
animationTextOutFrames: a,
|
|
2845
2855
|
durationInFrames: i
|
|
2846
2856
|
}) => {
|
|
2847
|
-
const p = a / c, h = i - a + r * p, d = n - h, u =
|
|
2857
|
+
const p = a / c, h = i - a + r * p, d = n - h, u = wt({
|
|
2848
2858
|
frame: d,
|
|
2849
2859
|
fps: s,
|
|
2850
2860
|
from: 0,
|
|
@@ -2866,7 +2876,7 @@ const kn = ({
|
|
|
2866
2876
|
},
|
|
2867
2877
|
r
|
|
2868
2878
|
);
|
|
2869
|
-
},
|
|
2879
|
+
}, pe = ({
|
|
2870
2880
|
char: t,
|
|
2871
2881
|
index: r,
|
|
2872
2882
|
frame: n,
|
|
@@ -2874,19 +2884,19 @@ const kn = ({
|
|
|
2874
2884
|
textLength: c,
|
|
2875
2885
|
animationTextInFrames: a
|
|
2876
2886
|
}) => {
|
|
2877
|
-
const e = a / c, p = r * e, o =
|
|
2887
|
+
const e = a / c, p = r * e, o = wt({
|
|
2878
2888
|
frame: n - p,
|
|
2879
2889
|
fps: s,
|
|
2880
2890
|
from: 1.1,
|
|
2881
2891
|
to: 0,
|
|
2882
2892
|
config: { damping: 10 }
|
|
2883
|
-
}), h =
|
|
2893
|
+
}), h = wt({
|
|
2884
2894
|
frame: n - p,
|
|
2885
2895
|
fps: s,
|
|
2886
2896
|
from: 0.55,
|
|
2887
2897
|
to: 0,
|
|
2888
2898
|
config: { damping: 10 }
|
|
2889
|
-
}), d =
|
|
2899
|
+
}), d = wt({
|
|
2890
2900
|
frame: n - p,
|
|
2891
2901
|
fps: s,
|
|
2892
2902
|
from: 180,
|
|
@@ -2915,7 +2925,7 @@ const kn = ({
|
|
|
2915
2925
|
},
|
|
2916
2926
|
r
|
|
2917
2927
|
);
|
|
2918
|
-
},
|
|
2928
|
+
}, fe = ({
|
|
2919
2929
|
char: t,
|
|
2920
2930
|
index: r,
|
|
2921
2931
|
frame: n,
|
|
@@ -2924,7 +2934,7 @@ const kn = ({
|
|
|
2924
2934
|
animationTextOutFrames: a,
|
|
2925
2935
|
durationInFrames: i
|
|
2926
2936
|
}) => {
|
|
2927
|
-
const e = i - a, p = a / c, o = e + r * p, h = n - o, d =
|
|
2937
|
+
const e = i - a, p = a / c, o = e + r * p, h = n - o, d = wt({
|
|
2928
2938
|
frame: h,
|
|
2929
2939
|
fps: s,
|
|
2930
2940
|
from: 0,
|
|
@@ -2953,7 +2963,7 @@ const kn = ({
|
|
|
2953
2963
|
},
|
|
2954
2964
|
r
|
|
2955
2965
|
);
|
|
2956
|
-
},
|
|
2966
|
+
}, ye = ({
|
|
2957
2967
|
char: t,
|
|
2958
2968
|
index: r,
|
|
2959
2969
|
frame: n,
|
|
@@ -2962,19 +2972,19 @@ const kn = ({
|
|
|
2962
2972
|
animationTextOutFrames: a,
|
|
2963
2973
|
durationInFrames: i
|
|
2964
2974
|
}) => {
|
|
2965
|
-
const e = i - a, p = a / c, o = e + r * p, h = n - o, d =
|
|
2975
|
+
const e = i - a, p = a / c, o = e + r * p, h = n - o, d = wt({
|
|
2966
2976
|
frame: h,
|
|
2967
2977
|
fps: s,
|
|
2968
2978
|
from: 0,
|
|
2969
2979
|
to: 1,
|
|
2970
2980
|
config: { mass: 1, damping: 10 }
|
|
2971
|
-
}), u =
|
|
2981
|
+
}), u = wt({
|
|
2972
2982
|
frame: h,
|
|
2973
2983
|
fps: s,
|
|
2974
2984
|
from: 0,
|
|
2975
2985
|
to: 0.55,
|
|
2976
2986
|
config: { mass: 1, damping: 10 }
|
|
2977
|
-
}), l =
|
|
2987
|
+
}), l = wt({
|
|
2978
2988
|
frame: h,
|
|
2979
2989
|
fps: s,
|
|
2980
2990
|
from: 0,
|
|
@@ -2997,7 +3007,7 @@ const kn = ({
|
|
|
2997
3007
|
},
|
|
2998
3008
|
r
|
|
2999
3009
|
);
|
|
3000
|
-
},
|
|
3010
|
+
}, be = ({
|
|
3001
3011
|
char: t,
|
|
3002
3012
|
index: r,
|
|
3003
3013
|
frame: n,
|
|
@@ -3006,7 +3016,7 @@ const kn = ({
|
|
|
3006
3016
|
animationTextOutFrames: a,
|
|
3007
3017
|
durationInFrames: i
|
|
3008
3018
|
}) => {
|
|
3009
|
-
const e = i - a, p = a / c, o = e + r * p, h = n - o, d =
|
|
3019
|
+
const e = i - a, p = a / c, o = e + r * p, h = n - o, d = wt({
|
|
3010
3020
|
frame: h,
|
|
3011
3021
|
fps: s,
|
|
3012
3022
|
from: 1,
|
|
@@ -3024,7 +3034,7 @@ const kn = ({
|
|
|
3024
3034
|
},
|
|
3025
3035
|
r
|
|
3026
3036
|
);
|
|
3027
|
-
},
|
|
3037
|
+
}, ve = ({
|
|
3028
3038
|
char: t,
|
|
3029
3039
|
frame: r,
|
|
3030
3040
|
fps: n,
|
|
@@ -3041,7 +3051,7 @@ const kn = ({
|
|
|
3041
3051
|
children: t
|
|
3042
3052
|
}
|
|
3043
3053
|
);
|
|
3044
|
-
},
|
|
3054
|
+
}, ge = ({
|
|
3045
3055
|
char: t,
|
|
3046
3056
|
frame: r,
|
|
3047
3057
|
fps: n
|
|
@@ -3058,7 +3068,7 @@ const kn = ({
|
|
|
3058
3068
|
children: t
|
|
3059
3069
|
}
|
|
3060
3070
|
);
|
|
3061
|
-
},
|
|
3071
|
+
}, me = ({
|
|
3062
3072
|
frame: t,
|
|
3063
3073
|
fps: r,
|
|
3064
3074
|
char: n
|
|
@@ -3074,7 +3084,7 @@ const kn = ({
|
|
|
3074
3084
|
children: n
|
|
3075
3085
|
}
|
|
3076
3086
|
);
|
|
3077
|
-
},
|
|
3087
|
+
}, xe = ({
|
|
3078
3088
|
char: t,
|
|
3079
3089
|
index: r,
|
|
3080
3090
|
frame: n,
|
|
@@ -3094,7 +3104,7 @@ const kn = ({
|
|
|
3094
3104
|
},
|
|
3095
3105
|
r
|
|
3096
3106
|
);
|
|
3097
|
-
},
|
|
3107
|
+
}, $e = ({
|
|
3098
3108
|
char: t,
|
|
3099
3109
|
index: r,
|
|
3100
3110
|
frame: n,
|
|
@@ -3114,7 +3124,7 @@ const kn = ({
|
|
|
3114
3124
|
},
|
|
3115
3125
|
r
|
|
3116
3126
|
);
|
|
3117
|
-
},
|
|
3127
|
+
}, Se = ({
|
|
3118
3128
|
char: t,
|
|
3119
3129
|
index: r,
|
|
3120
3130
|
frame: n,
|
|
@@ -3138,7 +3148,7 @@ const kn = ({
|
|
|
3138
3148
|
},
|
|
3139
3149
|
r
|
|
3140
3150
|
);
|
|
3141
|
-
},
|
|
3151
|
+
}, Me = ({
|
|
3142
3152
|
char: t,
|
|
3143
3153
|
index: r,
|
|
3144
3154
|
frame: n,
|
|
@@ -3162,7 +3172,7 @@ const kn = ({
|
|
|
3162
3172
|
},
|
|
3163
3173
|
r
|
|
3164
3174
|
);
|
|
3165
|
-
},
|
|
3175
|
+
}, we = ({
|
|
3166
3176
|
char: t,
|
|
3167
3177
|
frame: r,
|
|
3168
3178
|
fps: n
|
|
@@ -3179,7 +3189,7 @@ const kn = ({
|
|
|
3179
3189
|
children: t
|
|
3180
3190
|
}
|
|
3181
3191
|
);
|
|
3182
|
-
},
|
|
3192
|
+
}, Ie = ({
|
|
3183
3193
|
char: t,
|
|
3184
3194
|
frame: r,
|
|
3185
3195
|
fps: n,
|
|
@@ -3201,7 +3211,7 @@ function $r(t) {
|
|
|
3201
3211
|
const r = Math.sin(t) * 1e4;
|
|
3202
3212
|
return r - Math.floor(r);
|
|
3203
3213
|
}
|
|
3204
|
-
const
|
|
3214
|
+
const ke = ({
|
|
3205
3215
|
char: t,
|
|
3206
3216
|
index: r,
|
|
3207
3217
|
frame: n
|
|
@@ -3218,7 +3228,7 @@ const Ie = ({
|
|
|
3218
3228
|
},
|
|
3219
3229
|
r
|
|
3220
3230
|
);
|
|
3221
|
-
},
|
|
3231
|
+
}, Ne = ({
|
|
3222
3232
|
char: t,
|
|
3223
3233
|
index: r,
|
|
3224
3234
|
frame: n,
|
|
@@ -3239,7 +3249,7 @@ const Ie = ({
|
|
|
3239
3249
|
extrapolateRight: "clamp"
|
|
3240
3250
|
}
|
|
3241
3251
|
);
|
|
3242
|
-
return /* @__PURE__ */
|
|
3252
|
+
return /* @__PURE__ */ gt(
|
|
3243
3253
|
"span",
|
|
3244
3254
|
{
|
|
3245
3255
|
style: {
|
|
@@ -3271,7 +3281,7 @@ const Ie = ({
|
|
|
3271
3281
|
}
|
|
3272
3282
|
);
|
|
3273
3283
|
};
|
|
3274
|
-
function
|
|
3284
|
+
function Re({
|
|
3275
3285
|
frame: t,
|
|
3276
3286
|
durationInFrames: r,
|
|
3277
3287
|
text: n,
|
|
@@ -3293,7 +3303,7 @@ function Ne({
|
|
|
3293
3303
|
return "";
|
|
3294
3304
|
}).join(" ");
|
|
3295
3305
|
}, [c]);
|
|
3296
|
-
return /* @__PURE__ */
|
|
3306
|
+
return /* @__PURE__ */ gt(
|
|
3297
3307
|
"div",
|
|
3298
3308
|
{
|
|
3299
3309
|
style: {
|
|
@@ -3323,7 +3333,7 @@ function Ne({
|
|
|
3323
3333
|
}
|
|
3324
3334
|
);
|
|
3325
3335
|
}
|
|
3326
|
-
const
|
|
3336
|
+
const Fe = ({
|
|
3327
3337
|
text: t,
|
|
3328
3338
|
frame: r,
|
|
3329
3339
|
details: n,
|
|
@@ -3378,7 +3388,7 @@ const Re = ({
|
|
|
3378
3388
|
)
|
|
3379
3389
|
}
|
|
3380
3390
|
);
|
|
3381
|
-
},
|
|
3391
|
+
}, Ye = ({
|
|
3382
3392
|
text: t,
|
|
3383
3393
|
frame: r,
|
|
3384
3394
|
animationTextInFrames: n,
|
|
@@ -3429,7 +3439,7 @@ const Re = ({
|
|
|
3429
3439
|
)
|
|
3430
3440
|
);
|
|
3431
3441
|
}
|
|
3432
|
-
return /* @__PURE__ */
|
|
3442
|
+
return /* @__PURE__ */ gt(
|
|
3433
3443
|
"div",
|
|
3434
3444
|
{
|
|
3435
3445
|
style: {
|
|
@@ -3494,7 +3504,7 @@ const Re = ({
|
|
|
3494
3504
|
]
|
|
3495
3505
|
}
|
|
3496
3506
|
);
|
|
3497
|
-
}, Hr = ["3", "2", "1"],
|
|
3507
|
+
}, Hr = ["3", "2", "1"], Xe = ({
|
|
3498
3508
|
text: t,
|
|
3499
3509
|
frame: r,
|
|
3500
3510
|
animationTextInFrames: n,
|
|
@@ -3525,7 +3535,7 @@ const Re = ({
|
|
|
3525
3535
|
children: i
|
|
3526
3536
|
}
|
|
3527
3537
|
);
|
|
3528
|
-
},
|
|
3538
|
+
}, Be = ({
|
|
3529
3539
|
text: t,
|
|
3530
3540
|
frame: r,
|
|
3531
3541
|
details: n,
|
|
@@ -3589,7 +3599,7 @@ const Re = ({
|
|
|
3589
3599
|
))
|
|
3590
3600
|
}
|
|
3591
3601
|
);
|
|
3592
|
-
},
|
|
3602
|
+
}, Pe = ({
|
|
3593
3603
|
text: t,
|
|
3594
3604
|
frame: r,
|
|
3595
3605
|
fps: n
|
|
@@ -3605,13 +3615,13 @@ const Re = ({
|
|
|
3605
3615
|
children: t
|
|
3606
3616
|
}
|
|
3607
3617
|
);
|
|
3608
|
-
},
|
|
3618
|
+
}, Ee = ({
|
|
3609
3619
|
frame: t,
|
|
3610
3620
|
durationInFrames: r,
|
|
3611
3621
|
text: n
|
|
3612
3622
|
}) => {
|
|
3613
3623
|
const s = W(t, [0, r / 2], [0, 360]), c = s - 90;
|
|
3614
|
-
return /* @__PURE__ */
|
|
3624
|
+
return /* @__PURE__ */ gt(
|
|
3615
3625
|
"div",
|
|
3616
3626
|
{
|
|
3617
3627
|
style: {
|
|
@@ -3650,7 +3660,7 @@ const Re = ({
|
|
|
3650
3660
|
]
|
|
3651
3661
|
}
|
|
3652
3662
|
);
|
|
3653
|
-
},
|
|
3663
|
+
}, _e = ({
|
|
3654
3664
|
frame: t,
|
|
3655
3665
|
text: r,
|
|
3656
3666
|
details: n,
|
|
@@ -3684,7 +3694,7 @@ function Sr(t) {
|
|
|
3684
3694
|
const r = Math.sin(t) * 1e4;
|
|
3685
3695
|
return r - Math.floor(r);
|
|
3686
3696
|
}
|
|
3687
|
-
const
|
|
3697
|
+
const We = ({ text: t, frame: r }) => {
|
|
3688
3698
|
const n = (Sr(r) - 0.5) * 8, s = (Sr(r + 999) - 0.5) * 8, c = (Sr(r + 500) - 0.5) * 6;
|
|
3689
3699
|
return /* @__PURE__ */ f(
|
|
3690
3700
|
"span",
|
|
@@ -3696,7 +3706,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
3696
3706
|
children: t
|
|
3697
3707
|
}
|
|
3698
3708
|
);
|
|
3699
|
-
}, Ur = 9,
|
|
3709
|
+
}, Ur = 9, Ve = ({
|
|
3700
3710
|
text: t,
|
|
3701
3711
|
frame: r,
|
|
3702
3712
|
details: n,
|
|
@@ -3735,9 +3745,9 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
3735
3745
|
})
|
|
3736
3746
|
}
|
|
3737
3747
|
);
|
|
3738
|
-
},
|
|
3748
|
+
}, Ce = ({ text: t, frame: r }) => {
|
|
3739
3749
|
const n = Math.sin(r / 10) * 10, s = Math.sin(r / 5) * 10;
|
|
3740
|
-
return /* @__PURE__ */
|
|
3750
|
+
return /* @__PURE__ */ gt(
|
|
3741
3751
|
"span",
|
|
3742
3752
|
{
|
|
3743
3753
|
style: {
|
|
@@ -3774,7 +3784,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
3774
3784
|
]
|
|
3775
3785
|
}
|
|
3776
3786
|
);
|
|
3777
|
-
},
|
|
3787
|
+
}, Oe = ({
|
|
3778
3788
|
text: t,
|
|
3779
3789
|
frame: r,
|
|
3780
3790
|
delay: n = 0,
|
|
@@ -3784,22 +3794,22 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
3784
3794
|
details: i,
|
|
3785
3795
|
marqueeDetails: e
|
|
3786
3796
|
}) => {
|
|
3787
|
-
const p =
|
|
3797
|
+
const p = Nt(), o = typeof r == "number" && !isNaN(r) ? r : p, h = Math.max(0, o - (n || 0)), d = Math.min(1, Math.max(0, h / (s || 1))), u = i.width || 300, l = i.height || 100, b = (e == null ? void 0 : e.direction) || "horizontal", y = b === "static", x = Math.min(15, Math.max(1, Number((e == null ? void 0 : e.repeatX) ?? 5))), m = Math.min(15, Math.max(1, Number((e == null ? void 0 : e.repeatY) ?? 5))), M = (e == null ? void 0 : e.baseSpeed) !== void 0 ? Number(e.baseSpeed) : 2, S = (e == null ? void 0 : e.speedVariation) !== void 0 ? Number(e.speedVariation) : 0.5, $ = e != null && e.hasInitialValue && (e == null ? void 0 : e.initialBaseSpeed) !== void 0 ? Number(e.initialBaseSpeed) : M, k = e != null && e.hasInitialValue ? $ + (M - $) * d : M, g = y ? 0 : k * 400, v = y ? 0 : k * 400, w = (e == null ? void 0 : e.scaleFactor) !== void 0 ? Number(e.scaleFactor) : 1, N = e != null && e.hasInitialValue && (e == null ? void 0 : e.initialScaleFactor) !== void 0 ? Number(e.initialScaleFactor) : w, R = e != null && e.hasInitialValue ? N + (w - N) * d : w, C = (e == null ? void 0 : e.lineOffset) !== void 0 ? Number(e.lineOffset) : 0.5, E = (e == null ? void 0 : e.gapX) !== void 0 ? Number(e.gapX) : 60, Y = (e == null ? void 0 : e.gapY) !== void 0 ? Number(e.gapY) : 60, _ = E / 100 * u, F = Y / 100 * l, X = u * R + _, P = l * R + F, z = Dt(i), O = b === "vertical" || b === "up" || b === "down", A = b === "diagonal", J = (x - 1) / 2, Z = (m - 1) / 2, D = m, L = x, H = Array.from({ length: D }, (U, q) => q - Z), G = Array.from({ length: L }, (U, q) => q - J), ft = (U, q, ot, vt) => /* @__PURE__ */ f(
|
|
3788
3798
|
"span",
|
|
3789
3799
|
{
|
|
3790
3800
|
style: {
|
|
3791
3801
|
...z,
|
|
3792
3802
|
position: "absolute",
|
|
3793
|
-
left: `calc(50% + ${
|
|
3803
|
+
left: `calc(50% + ${q}px)`,
|
|
3794
3804
|
top: `calc(50% + ${ot}px)`,
|
|
3795
3805
|
transform: `translate(-50%, -50%) scale(${R})`,
|
|
3796
3806
|
transformOrigin: "center center",
|
|
3797
|
-
opacity:
|
|
3807
|
+
opacity: vt ? 1 : 0.85,
|
|
3798
3808
|
whiteSpace: "nowrap"
|
|
3799
3809
|
},
|
|
3800
3810
|
children: t
|
|
3801
3811
|
},
|
|
3802
|
-
|
|
3812
|
+
U
|
|
3803
3813
|
);
|
|
3804
3814
|
return O ? /* @__PURE__ */ f(
|
|
3805
3815
|
"div",
|
|
@@ -3810,22 +3820,22 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
3810
3820
|
position: "relative",
|
|
3811
3821
|
overflow: "visible"
|
|
3812
3822
|
},
|
|
3813
|
-
children: G.map((
|
|
3814
|
-
let ot =
|
|
3823
|
+
children: G.map((U, q) => {
|
|
3824
|
+
let ot = q % 2 === 0 ? 1 : -1;
|
|
3815
3825
|
b === "up" && (ot = -1), b === "down" && (ot = 1);
|
|
3816
|
-
const
|
|
3826
|
+
const vt = 1 + q % 2 * (S * 0.5), nt = v > 0 && ot !== 0 ? ot * (h * v * 0.1 * vt) + U * (P * C) : U * (P * C), ut = v === 0 || ot === 0 ? 0 : (nt % P + P) % P - P / 2;
|
|
3817
3827
|
return H.map((it, mt) => {
|
|
3818
|
-
const
|
|
3819
|
-
return
|
|
3820
|
-
`v-${
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3828
|
+
const pt = U * X, tt = it * P + ut;
|
|
3829
|
+
return ft(
|
|
3830
|
+
`v-${q}-${mt}`,
|
|
3831
|
+
pt,
|
|
3832
|
+
tt,
|
|
3833
|
+
U === 0 && it === 0
|
|
3824
3834
|
);
|
|
3825
3835
|
});
|
|
3826
3836
|
})
|
|
3827
3837
|
}
|
|
3828
|
-
) :
|
|
3838
|
+
) : A ? /* @__PURE__ */ f(
|
|
3829
3839
|
"div",
|
|
3830
3840
|
{
|
|
3831
3841
|
style: {
|
|
@@ -3834,15 +3844,15 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
3834
3844
|
position: "relative",
|
|
3835
3845
|
overflow: "visible"
|
|
3836
3846
|
},
|
|
3837
|
-
children: H.map((
|
|
3838
|
-
const ot =
|
|
3839
|
-
return G.map((
|
|
3840
|
-
const et =
|
|
3841
|
-
return
|
|
3842
|
-
`d-${
|
|
3847
|
+
children: H.map((U, q) => {
|
|
3848
|
+
const ot = q % 2 === 0 ? 1 : -1, vt = q % 2 === 0 ? 1 : -1, nt = 1 + q % 2 * (S * 0.5), ut = g > 0 ? ot * (h * g * 0.1 * nt) + U * (X * C) : U * (X * C), it = g === 0 ? 0 : (ut % X + X) % X - X / 2, mt = v > 0 ? vt * (h * v * 0.1 * nt) + U * (P * C) : U * (P * C), pt = v === 0 ? 0 : (mt % P + P) % P - P / 2;
|
|
3849
|
+
return G.map((tt, st) => {
|
|
3850
|
+
const et = tt * X + it, ct = U * P + pt;
|
|
3851
|
+
return ft(
|
|
3852
|
+
`d-${q}-${st}`,
|
|
3843
3853
|
et,
|
|
3844
3854
|
ct,
|
|
3845
|
-
|
|
3855
|
+
U === 0 && tt === 0
|
|
3846
3856
|
);
|
|
3847
3857
|
});
|
|
3848
3858
|
})
|
|
@@ -3856,23 +3866,23 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
3856
3866
|
position: "relative",
|
|
3857
3867
|
overflow: "visible"
|
|
3858
3868
|
},
|
|
3859
|
-
children: H.map((
|
|
3860
|
-
let ot =
|
|
3869
|
+
children: H.map((U, q) => {
|
|
3870
|
+
let ot = q % 2 === 0 ? 1 : -1;
|
|
3861
3871
|
b === "left" && (ot = -1), b === "right" && (ot = 1);
|
|
3862
|
-
const
|
|
3872
|
+
const vt = 1 + q % 2 * (S * 0.5), nt = g > 0 && ot !== 0 ? ot * (h * g * 0.1 * vt) + U * (X * C) : U * (X * C), ut = g === 0 || ot === 0 ? 0 : (nt % X + X) % X - X / 2;
|
|
3863
3873
|
return G.map((it, mt) => {
|
|
3864
|
-
const
|
|
3865
|
-
return
|
|
3866
|
-
`h-${
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3874
|
+
const pt = it * X + ut, tt = U * P;
|
|
3875
|
+
return ft(
|
|
3876
|
+
`h-${q}-${mt}`,
|
|
3877
|
+
pt,
|
|
3878
|
+
tt,
|
|
3879
|
+
U === 0 && it === 0
|
|
3870
3880
|
);
|
|
3871
3881
|
});
|
|
3872
3882
|
})
|
|
3873
3883
|
}
|
|
3874
3884
|
);
|
|
3875
|
-
},
|
|
3885
|
+
}, ze = ({
|
|
3876
3886
|
text: t,
|
|
3877
3887
|
frame: r,
|
|
3878
3888
|
delay: n = 0,
|
|
@@ -3882,7 +3892,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
3882
3892
|
details: i,
|
|
3883
3893
|
echoesDetails: e
|
|
3884
3894
|
}) => {
|
|
3885
|
-
const p =
|
|
3895
|
+
const p = Nt(), o = typeof r == "number" && !isNaN(r) ? r : p, h = i.width || 300, d = i.height || 100, u = (e == null ? void 0 : e.keepStill) || "both", l = Number((e == null ? void 0 : e.toRepeatCount) ?? 5), b = Number((e == null ? void 0 : e.toScaleDown) ?? 0.3), y = Number((e == null ? void 0 : e.toCenterX) ?? 0.5), x = Number((e == null ? void 0 : e.toCenterY) ?? 0.5), m = (e == null ? void 0 : e.initialRepeatCount) !== void 0 ? Number(e.initialRepeatCount) : l, M = (e == null ? void 0 : e.initialScaleDown) !== void 0 ? Number(e.initialScaleDown) : 1, S = (e == null ? void 0 : e.initialCenterX) !== void 0 ? Number(e.initialCenterX) : y, $ = (e == null ? void 0 : e.initialCenterY) !== void 0 ? Number(e.initialCenterY) : x, k = Math.max(0, o - (n || 0)), g = Math.min(1, Math.max(0, k / (s || 1)));
|
|
3886
3896
|
let w = c + (a - c) * g;
|
|
3887
3897
|
u === "initial" ? w = 0 : u === "final" && (w = 1);
|
|
3888
3898
|
const N = Math.max(
|
|
@@ -3934,7 +3944,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
3934
3944
|
})
|
|
3935
3945
|
}
|
|
3936
3946
|
);
|
|
3937
|
-
},
|
|
3947
|
+
}, Ge = ({
|
|
3938
3948
|
text: t,
|
|
3939
3949
|
frame: r,
|
|
3940
3950
|
delay: n = 0,
|
|
@@ -3944,7 +3954,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
3944
3954
|
details: i,
|
|
3945
3955
|
wiggleDetails: e
|
|
3946
3956
|
}) => {
|
|
3947
|
-
const p =
|
|
3957
|
+
const p = Nt(), o = typeof r == "number" && !isNaN(r) ? r : p, h = Number((e == null ? void 0 : e.wiggleX) ?? 20), d = Number((e == null ? void 0 : e.wiggleY) ?? 20), u = Number((e == null ? void 0 : e.speed) ?? 3), l = Number((e == null ? void 0 : e.angle) ?? 10), b = Number((e == null ? void 0 : e.seed) ?? 1), y = e != null && e.hasInitialValue && (e == null ? void 0 : e.initialWiggleX) !== void 0 ? Number(e.initialWiggleX) : h, x = e != null && e.hasInitialValue && (e == null ? void 0 : e.initialWiggleY) !== void 0 ? Number(e.initialWiggleY) : d, m = e != null && e.hasInitialValue && (e == null ? void 0 : e.initialSpeed) !== void 0 ? Number(e.initialSpeed) : u, M = e != null && e.hasInitialValue && (e == null ? void 0 : e.initialAngle) !== void 0 ? Number(e.initialAngle) : l, S = Math.max(0, o - (n || 0)), $ = Math.min(1, Math.max(0, S / (s || 1))), k = e != null && e.hasInitialValue ? y + (h - y) * $ : h, g = e != null && e.hasInitialValue ? x + (d - x) * $ : d, v = e != null && e.hasInitialValue ? m + (u - m) * $ : u, w = e != null && e.hasInitialValue ? M + (l - M) * $ : l, N = o * (v * 0.08), R = b * 12.345, C = Math.sin(N + R) * Math.cos(N * 0.65 + R) * k, E = Math.cos(N * 0.85 + R) * Math.sin(N * 1.15 + R) * g, Y = Math.sin(N * 0.9 + R * 1.35) * w, _ = Dt(i);
|
|
3948
3958
|
return /* @__PURE__ */ f(
|
|
3949
3959
|
"div",
|
|
3950
3960
|
{
|
|
@@ -3972,7 +3982,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
3972
3982
|
)
|
|
3973
3983
|
}
|
|
3974
3984
|
);
|
|
3975
|
-
},
|
|
3985
|
+
}, je = ({
|
|
3976
3986
|
text: t,
|
|
3977
3987
|
frame: r,
|
|
3978
3988
|
delay: n = 0,
|
|
@@ -3997,7 +4007,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
3997
4007
|
children: /* @__PURE__ */ f("span", { style: p, children: t })
|
|
3998
4008
|
}
|
|
3999
4009
|
);
|
|
4000
|
-
},
|
|
4010
|
+
}, Ae = ({
|
|
4001
4011
|
text: t,
|
|
4002
4012
|
frame: r,
|
|
4003
4013
|
delay: n = 0,
|
|
@@ -4007,22 +4017,22 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4007
4017
|
details: i,
|
|
4008
4018
|
noiseTileDetails: e
|
|
4009
4019
|
}) => {
|
|
4010
|
-
const p =
|
|
4011
|
-
let
|
|
4012
|
-
u === "initial" ?
|
|
4013
|
-
const
|
|
4020
|
+
const p = Nt(), o = typeof r == "number" && !isNaN(r) ? r : p, h = i.width || 300, d = i.height || 100, u = (e == null ? void 0 : e.keepStill) || "both", l = Number((e == null ? void 0 : e.toXRepetitions) ?? (e == null ? void 0 : e.xRepetitions) ?? 5), b = Number((e == null ? void 0 : e.toYRepetitions) ?? (e == null ? void 0 : e.yRepetitions) ?? 5), y = Number((e == null ? void 0 : e.toGapX) ?? (e == null ? void 0 : e.gapX) ?? 12), x = Number((e == null ? void 0 : e.toGapY) ?? (e == null ? void 0 : e.gapY) ?? 12), m = Number((e == null ? void 0 : e.toScale) ?? (e == null ? void 0 : e.scale) ?? 1), M = Number((e == null ? void 0 : e.toNoiseScale) ?? (e == null ? void 0 : e.noiseScale) ?? 1.5), S = Number((e == null ? void 0 : e.toNoiseMoveX) ?? (e == null ? void 0 : e.noiseMoveX) ?? 0.6), $ = Number((e == null ? void 0 : e.toNoiseMoveY) ?? (e == null ? void 0 : e.noiseMoveY) ?? 0.4), k = Number((e == null ? void 0 : e.toFps) ?? (e == null ? void 0 : e.fps) ?? 12), g = Number((e == null ? void 0 : e.toThreshold) ?? (e == null ? void 0 : e.threshold) ?? 0.45), v = Number((e == null ? void 0 : e.toSeedOffset) ?? (e == null ? void 0 : e.seedOffset) ?? 0), w = !!(e != null && e.hasInitialValue), N = w ? Number((e == null ? void 0 : e.initialXRepetitions) ?? l) : l, R = w ? Number((e == null ? void 0 : e.initialYRepetitions) ?? b) : b, C = w ? Number((e == null ? void 0 : e.initialGapX) ?? y) : y, E = w ? Number((e == null ? void 0 : e.initialGapY) ?? x) : x, Y = w ? Number((e == null ? void 0 : e.initialScale) ?? m) : m, _ = w ? Number((e == null ? void 0 : e.initialNoiseScale) ?? M) : M, F = w ? Number((e == null ? void 0 : e.initialNoiseMoveX) ?? S) : S, X = w ? Number((e == null ? void 0 : e.initialNoiseMoveY) ?? $) : $, P = w ? Number((e == null ? void 0 : e.initialFps) ?? k) : k, z = w ? Number((e == null ? void 0 : e.initialThreshold) ?? g) : g, O = w ? Number((e == null ? void 0 : e.initialSeedOffset) ?? v) : v, A = Math.max(0, o - (n || 0)), J = Math.min(1, Math.max(0, A / (s || 1)));
|
|
4021
|
+
let D = c + (a - c) * J;
|
|
4022
|
+
u === "initial" ? D = 0 : u === "final" && (D = 1);
|
|
4023
|
+
const L = Math.max(1, Math.round(W(D, [0, 1], [N, l]))), H = Math.max(1, Math.round(W(D, [0, 1], [R, b]))), G = W(D, [0, 1], [C, y]), ft = W(D, [0, 1], [E, x]), U = W(D, [0, 1], [Y, m]), q = W(D, [0, 1], [_, M]), ot = W(D, [0, 1], [F, S]), vt = W(D, [0, 1], [X, $]), nt = Math.max(1, Math.round(W(D, [0, 1], [P, k]))), ut = W(D, [0, 1], [z, g]), it = W(D, [0, 1], [O, v]), mt = Dt(i), pt = Math.floor(A * (nt / 30)), tt = (L - 1) / 2, st = (H - 1) / 2, et = [];
|
|
4014
4024
|
for (let ct = 0; ct < H; ct++)
|
|
4015
|
-
for (let dt = 0; dt <
|
|
4016
|
-
const yt = dt / Math.max(1,
|
|
4017
|
-
yt +
|
|
4018
|
-
|
|
4019
|
-
|
|
4025
|
+
for (let dt = 0; dt < L; dt++) {
|
|
4026
|
+
const yt = dt / Math.max(1, L) * q, bt = ct / Math.max(1, H) * q, St = pt * 0.1 + it, lt = mn(
|
|
4027
|
+
yt + pt * ot * 0.05,
|
|
4028
|
+
bt + pt * vt * 0.05,
|
|
4029
|
+
St,
|
|
4020
4030
|
it
|
|
4021
|
-
),
|
|
4031
|
+
), Ft = dt === Math.floor(tt) && ct === Math.floor(st) || lt >= ut, Yt = dt - tt, Xt = ct - st, Et = G / 100 * h, zt = ft / 100 * d, _t = Yt * (h * U + Et), Wt = Xt * (d * U + zt);
|
|
4022
4032
|
et.push({
|
|
4023
4033
|
col: dt,
|
|
4024
4034
|
row: ct,
|
|
4025
|
-
visible:
|
|
4035
|
+
visible: Ft,
|
|
4026
4036
|
posX: _t,
|
|
4027
4037
|
posY: Wt
|
|
4028
4038
|
});
|
|
@@ -4044,7 +4054,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4044
4054
|
position: "absolute",
|
|
4045
4055
|
left: `calc(50% + ${ct.posX}px)`,
|
|
4046
4056
|
top: `calc(50% + ${ct.posY}px)`,
|
|
4047
|
-
transform: `translate(-50%, -50%) scale(${
|
|
4057
|
+
transform: `translate(-50%, -50%) scale(${U})`,
|
|
4048
4058
|
transformOrigin: "center center",
|
|
4049
4059
|
lineHeight: 1,
|
|
4050
4060
|
whiteSpace: "nowrap"
|
|
@@ -4055,7 +4065,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4055
4065
|
) : null)
|
|
4056
4066
|
}
|
|
4057
4067
|
);
|
|
4058
|
-
},
|
|
4068
|
+
}, Le = ({
|
|
4059
4069
|
animationDuration: t,
|
|
4060
4070
|
text: r,
|
|
4061
4071
|
details: n,
|
|
@@ -4081,7 +4091,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4081
4091
|
return "";
|
|
4082
4092
|
}).join(" ");
|
|
4083
4093
|
}, [a]);
|
|
4084
|
-
return /* @__PURE__ */
|
|
4094
|
+
return /* @__PURE__ */ gt(
|
|
4085
4095
|
"div",
|
|
4086
4096
|
{
|
|
4087
4097
|
style: {
|
|
@@ -4110,7 +4120,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4110
4120
|
]
|
|
4111
4121
|
}
|
|
4112
4122
|
);
|
|
4113
|
-
},
|
|
4123
|
+
}, He = ({
|
|
4114
4124
|
text: t,
|
|
4115
4125
|
frame: r,
|
|
4116
4126
|
details: n,
|
|
@@ -4178,7 +4188,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4178
4188
|
))
|
|
4179
4189
|
}
|
|
4180
4190
|
);
|
|
4181
|
-
},
|
|
4191
|
+
}, Ue = ({
|
|
4182
4192
|
text: t,
|
|
4183
4193
|
frame: r,
|
|
4184
4194
|
animationTextOutFrames: n,
|
|
@@ -4239,34 +4249,34 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4239
4249
|
)
|
|
4240
4250
|
}
|
|
4241
4251
|
);
|
|
4242
|
-
}, Ue = {
|
|
4243
|
-
sunnyMorningsTextAnimationIn: oe,
|
|
4244
|
-
dominoDreamsTextAnimationIn: ee,
|
|
4245
|
-
greatThinkersTextAnimationIn: se,
|
|
4246
|
-
beautifulQuestionsTextAnimationIn: ae,
|
|
4247
|
-
madeWithLoveTextAnimationIn: ce,
|
|
4248
|
-
realityIsBrokenTextAnimationIn: he,
|
|
4249
|
-
dropTextAnimationIn: me,
|
|
4250
|
-
descompressTextAnimationIn: xe
|
|
4251
4252
|
}, Ze = {
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
dropTextAnimationOut: Se
|
|
4253
|
+
sunnyMorningsTextAnimationIn: ee,
|
|
4254
|
+
dominoDreamsTextAnimationIn: se,
|
|
4255
|
+
greatThinkersTextAnimationIn: ae,
|
|
4256
|
+
beautifulQuestionsTextAnimationIn: ce,
|
|
4257
|
+
madeWithLoveTextAnimationIn: ie,
|
|
4258
|
+
realityIsBrokenTextAnimationIn: pe,
|
|
4259
|
+
dropTextAnimationIn: xe,
|
|
4260
|
+
descompressTextAnimationIn: $e
|
|
4261
4261
|
}, Qe = {
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4262
|
+
animatedTextOut: de,
|
|
4263
|
+
sunnyMorningsTextAnimationOut: ue,
|
|
4264
|
+
dominoDreamsTextAnimationOut: le,
|
|
4265
|
+
beautifulQuestionsTextAnimationOut: he,
|
|
4266
|
+
madeWithLoveTextAnimationOut: fe,
|
|
4267
|
+
realityIsBrokenTextAnimationOut: ye,
|
|
4268
|
+
greatThinkersTextAnimationOut: be,
|
|
4269
|
+
descompressTextAnimationOut: Se,
|
|
4270
|
+
dropTextAnimationOut: Me
|
|
4271
|
+
}, Ke = {
|
|
4272
|
+
vogueTextAnimationLoop: ve,
|
|
4273
|
+
dragonFlyTextAnimationLoop: ge,
|
|
4274
|
+
billboardTextAnimationLoop: me,
|
|
4275
|
+
heartbeatTextAnimationLoop: we,
|
|
4276
|
+
waveTextAnimationLoop: Ie,
|
|
4277
|
+
shakyLettersTextAnimationLoop: ke,
|
|
4278
|
+
pulseTextAnimationLoop: Ne
|
|
4279
|
+
}, Je = ({
|
|
4270
4280
|
text: t,
|
|
4271
4281
|
fps: r,
|
|
4272
4282
|
textAnimationNameIn: n,
|
|
@@ -4290,31 +4300,31 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4290
4300
|
durationInFrames: $,
|
|
4291
4301
|
animationFonts: k
|
|
4292
4302
|
}) => {
|
|
4293
|
-
var
|
|
4294
|
-
const g = x, v = $ - m, w = n ? g >= y : !1, N = s ? y >= v : !1, R = o && o.length > 0, C = h && h.length > 0, E = d && d.length > 0, Y = u && u.length > 0, _ = ((
|
|
4295
|
-
const
|
|
4296
|
-
if (!
|
|
4297
|
-
|
|
4298
|
-
const V = [],
|
|
4303
|
+
var j, Ft, Yt, Xt, Et, zt, _t, Wt, Lt, Ht, Ut, Zt, Qt, tr;
|
|
4304
|
+
const g = x, v = $ - m, w = n ? g >= y : !1, N = s ? y >= v : !1, R = o && o.length > 0, C = h && h.length > 0, E = d && d.length > 0, Y = u && u.length > 0, _ = ((j = o == null ? void 0 : o[0]) == null ? void 0 : j.durationInFrames) || x, F = ((Ft = o == null ? void 0 : o[0]) == null ? void 0 : Ft.delay) || 0, X = _ + F, P = ((Yt = h == null ? void 0 : h[0]) == null ? void 0 : Yt.durationInFrames) || m, z = ((Xt = h == null ? void 0 : h[0]) == null ? void 0 : Xt.delay) || 0, O = P + z, A = Math.max(0, $ - O), J = ((Et = u == null ? void 0 : u[0]) == null ? void 0 : Et.delay) || 0, Z = J, D = J + (((zt = u == null ? void 0 : u[0]) == null ? void 0 : zt.durationInFrames) || S), L = R && !n && (E ? y < X : y < A), H = C && !s && y >= A, G = Y && !L && !H && y >= Z && y <= D, ft = E && !c && !L && !H && !G, q = ((T, K, B) => {
|
|
4305
|
+
const ht = document.createElement("canvas").getContext("2d");
|
|
4306
|
+
if (!ht) return [];
|
|
4307
|
+
ht.font = `${B}px Arial`;
|
|
4308
|
+
const V = [], Q = T.split(`
|
|
4299
4309
|
`);
|
|
4300
|
-
for (const at of
|
|
4310
|
+
for (const at of Q) {
|
|
4301
4311
|
if (at.trim() === "") {
|
|
4302
4312
|
V.push("");
|
|
4303
4313
|
continue;
|
|
4304
4314
|
}
|
|
4305
4315
|
const rr = at.split(" ");
|
|
4306
|
-
let
|
|
4316
|
+
let xt = "";
|
|
4307
4317
|
for (const Kt of rr) {
|
|
4308
|
-
const ir =
|
|
4309
|
-
|
|
4318
|
+
const ir = xt ? `${xt} ${Kt}` : Kt;
|
|
4319
|
+
ht.measureText(ir).width > K ? (xt && V.push(xt), xt = Kt) : xt = ir;
|
|
4310
4320
|
}
|
|
4311
|
-
|
|
4321
|
+
xt && V.push(xt);
|
|
4312
4322
|
}
|
|
4313
4323
|
return V;
|
|
4314
4324
|
})(t, b.width, b.fontSize);
|
|
4315
4325
|
if (n === "typeWriterTextAnimationIn" && w)
|
|
4316
4326
|
return /* @__PURE__ */ f(
|
|
4317
|
-
|
|
4327
|
+
Re,
|
|
4318
4328
|
{
|
|
4319
4329
|
frame: y,
|
|
4320
4330
|
durationInFrames: x,
|
|
@@ -4324,7 +4334,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4324
4334
|
);
|
|
4325
4335
|
if (n === "backgroundTextAnimationIn" && w)
|
|
4326
4336
|
return /* @__PURE__ */ f(
|
|
4327
|
-
|
|
4337
|
+
Fe,
|
|
4328
4338
|
{
|
|
4329
4339
|
text: t,
|
|
4330
4340
|
frame: y,
|
|
@@ -4334,7 +4344,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4334
4344
|
);
|
|
4335
4345
|
if (n === "soundWaveTextAnimationIn" && w)
|
|
4336
4346
|
return /* @__PURE__ */ f(
|
|
4337
|
-
|
|
4347
|
+
Ye,
|
|
4338
4348
|
{
|
|
4339
4349
|
text: t,
|
|
4340
4350
|
frame: y,
|
|
@@ -4344,7 +4354,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4344
4354
|
);
|
|
4345
4355
|
if (n === "countDownTextAnimationIn" && w)
|
|
4346
4356
|
return /* @__PURE__ */ f(
|
|
4347
|
-
|
|
4357
|
+
Xe,
|
|
4348
4358
|
{
|
|
4349
4359
|
text: t,
|
|
4350
4360
|
frame: y,
|
|
@@ -4354,7 +4364,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4354
4364
|
);
|
|
4355
4365
|
if (n === "partialSlideIn" && w)
|
|
4356
4366
|
return /* @__PURE__ */ f(
|
|
4357
|
-
|
|
4367
|
+
Be,
|
|
4358
4368
|
{
|
|
4359
4369
|
text: t,
|
|
4360
4370
|
frame: y,
|
|
@@ -4365,10 +4375,10 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4365
4375
|
);
|
|
4366
4376
|
if (!w && !N) {
|
|
4367
4377
|
if (c === "spinTextAnimationLoop")
|
|
4368
|
-
return /* @__PURE__ */ f(
|
|
4378
|
+
return /* @__PURE__ */ f(Pe, { text: t, frame: y, fps: r });
|
|
4369
4379
|
if (c === "rotate3dTextAnimationLoop")
|
|
4370
4380
|
return /* @__PURE__ */ f(
|
|
4371
|
-
|
|
4381
|
+
Ee,
|
|
4372
4382
|
{
|
|
4373
4383
|
text: t,
|
|
4374
4384
|
frame: y,
|
|
@@ -4377,7 +4387,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4377
4387
|
);
|
|
4378
4388
|
if (c === "textFontChangeAnimationLoop")
|
|
4379
4389
|
return /* @__PURE__ */ f(
|
|
4380
|
-
|
|
4390
|
+
_e,
|
|
4381
4391
|
{
|
|
4382
4392
|
text: t,
|
|
4383
4393
|
frame: y,
|
|
@@ -4386,28 +4396,28 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4386
4396
|
}
|
|
4387
4397
|
);
|
|
4388
4398
|
if (c === "shakeTextAnimationLoop")
|
|
4389
|
-
return /* @__PURE__ */ f(
|
|
4399
|
+
return /* @__PURE__ */ f(We, { text: t, frame: y });
|
|
4390
4400
|
if (c === "vintageTextAnimationLoop")
|
|
4391
|
-
return /* @__PURE__ */ f(
|
|
4401
|
+
return /* @__PURE__ */ f(Ve, { text: t, frame: y, details: b, fps: r });
|
|
4392
4402
|
if (c === "glitchTextAnimationLoop")
|
|
4393
|
-
return /* @__PURE__ */ f(
|
|
4403
|
+
return /* @__PURE__ */ f(Ce, { text: t, frame: y });
|
|
4394
4404
|
if (c === "textGridMarqueeTextAnimationLoop" || c === "textGridMarquee") {
|
|
4395
4405
|
const B = (l == null ? void 0 : l.find(
|
|
4396
4406
|
(at) => at.property === "textGridMarqueeTextAnimationLoop" || at.property === "textGridMarquee" || at.id === "textGridMarquee"
|
|
4397
4407
|
)) || (d == null ? void 0 : d.find(
|
|
4398
4408
|
(at) => at.property === "textGridMarqueeTextAnimationLoop" || at.property === "textGridMarquee" || at.id === "textGridMarquee"
|
|
4399
|
-
)), rt = (B == null ? void 0 : B.delay) || 0,
|
|
4409
|
+
)), rt = (B == null ? void 0 : B.delay) || 0, ht = (B == null ? void 0 : B.durationInFrames) || (M > 0 ? M : $), V = rt + ht, Q = y >= rt && y <= V;
|
|
4400
4410
|
if (console.log(
|
|
4401
|
-
`[SpecialEffect Marquee] frame: ${y.toFixed(2)}, range: [${rt}, ${V}], active: ${
|
|
4402
|
-
),
|
|
4411
|
+
`[SpecialEffect Marquee] frame: ${y.toFixed(2)}, range: [${rt}, ${V}], active: ${Q}`
|
|
4412
|
+
), Q) {
|
|
4403
4413
|
const at = B == null ? void 0 : B.details;
|
|
4404
4414
|
return /* @__PURE__ */ f(
|
|
4405
|
-
|
|
4415
|
+
Oe,
|
|
4406
4416
|
{
|
|
4407
4417
|
text: t,
|
|
4408
4418
|
frame: y,
|
|
4409
4419
|
delay: rt,
|
|
4410
|
-
durationInFrames:
|
|
4420
|
+
durationInFrames: ht,
|
|
4411
4421
|
from: B == null ? void 0 : B.from,
|
|
4412
4422
|
to: B == null ? void 0 : B.to,
|
|
4413
4423
|
details: b,
|
|
@@ -4422,18 +4432,18 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4422
4432
|
(at) => at.property === "inwardEchoes" || at.id === "inwardEchoes"
|
|
4423
4433
|
)) || (d == null ? void 0 : d.find(
|
|
4424
4434
|
(at) => at.property === "inwardEchoes" || at.id === "inwardEchoes"
|
|
4425
|
-
)), rt = (B == null ? void 0 : B.delay) || 0,
|
|
4435
|
+
)), rt = (B == null ? void 0 : B.delay) || 0, ht = (B == null ? void 0 : B.durationInFrames) || (M > 0 ? M : $), V = rt + ht, Q = y >= rt && y <= V;
|
|
4426
4436
|
if (console.log(
|
|
4427
|
-
`[SpecialEffect InwardEchoes] frame: ${y.toFixed(2)}, range: [${rt}, ${V}], active: ${
|
|
4428
|
-
),
|
|
4437
|
+
`[SpecialEffect InwardEchoes] frame: ${y.toFixed(2)}, range: [${rt}, ${V}], active: ${Q}`
|
|
4438
|
+
), Q) {
|
|
4429
4439
|
const at = B == null ? void 0 : B.details;
|
|
4430
4440
|
return /* @__PURE__ */ f(
|
|
4431
|
-
|
|
4441
|
+
ze,
|
|
4432
4442
|
{
|
|
4433
4443
|
text: t,
|
|
4434
4444
|
frame: y,
|
|
4435
4445
|
delay: rt,
|
|
4436
|
-
durationInFrames:
|
|
4446
|
+
durationInFrames: ht,
|
|
4437
4447
|
from: B == null ? void 0 : B.from,
|
|
4438
4448
|
to: B == null ? void 0 : B.to,
|
|
4439
4449
|
details: b,
|
|
@@ -4448,18 +4458,18 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4448
4458
|
(at) => at.property === "wiggle" || at.id === "wiggle"
|
|
4449
4459
|
)) || (d == null ? void 0 : d.find(
|
|
4450
4460
|
(at) => at.property === "wiggle" || at.id === "wiggle"
|
|
4451
|
-
)), rt = (B == null ? void 0 : B.delay) || 0,
|
|
4461
|
+
)), rt = (B == null ? void 0 : B.delay) || 0, ht = (B == null ? void 0 : B.durationInFrames) || (M > 0 ? M : $), V = rt + ht, Q = y >= rt && y <= V;
|
|
4452
4462
|
if (console.log(
|
|
4453
|
-
`[SpecialEffect Wiggle] frame: ${y.toFixed(2)}, range: [${rt}, ${V}], active: ${
|
|
4454
|
-
),
|
|
4463
|
+
`[SpecialEffect Wiggle] frame: ${y.toFixed(2)}, range: [${rt}, ${V}], active: ${Q}`
|
|
4464
|
+
), Q) {
|
|
4455
4465
|
const at = B == null ? void 0 : B.details;
|
|
4456
4466
|
return /* @__PURE__ */ f(
|
|
4457
|
-
|
|
4467
|
+
Ge,
|
|
4458
4468
|
{
|
|
4459
4469
|
text: t,
|
|
4460
4470
|
frame: y,
|
|
4461
4471
|
delay: rt,
|
|
4462
|
-
durationInFrames:
|
|
4472
|
+
durationInFrames: ht,
|
|
4463
4473
|
from: B == null ? void 0 : B.from,
|
|
4464
4474
|
to: B == null ? void 0 : B.to,
|
|
4465
4475
|
details: b,
|
|
@@ -4469,56 +4479,56 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4469
4479
|
);
|
|
4470
4480
|
}
|
|
4471
4481
|
}
|
|
4472
|
-
const
|
|
4482
|
+
const T = (l == null ? void 0 : l.find(
|
|
4473
4483
|
(B) => B.property === "cardFlip" || B.id === "cardFlip"
|
|
4474
4484
|
)) || (d == null ? void 0 : d.find(
|
|
4475
4485
|
(B) => B.property === "cardFlip" || B.id === "cardFlip"
|
|
4476
4486
|
));
|
|
4477
|
-
if (c === "cardFlip" ||
|
|
4478
|
-
const B = (
|
|
4487
|
+
if (c === "cardFlip" || T) {
|
|
4488
|
+
const B = (T == null ? void 0 : T.delay) || 0, rt = (T == null ? void 0 : T.durationInFrames) || (M > 0 ? M : $), ht = B + rt, V = y >= B && y <= ht;
|
|
4479
4489
|
if (console.log(
|
|
4480
|
-
`[SpecialEffect CardFlip] frame: ${y.toFixed(2)}, range: [${B}, ${
|
|
4490
|
+
`[SpecialEffect CardFlip] frame: ${y.toFixed(2)}, range: [${B}, ${ht}], active: ${V}`
|
|
4481
4491
|
), V) {
|
|
4482
|
-
const
|
|
4492
|
+
const Q = T == null ? void 0 : T.details;
|
|
4483
4493
|
return /* @__PURE__ */ f(
|
|
4484
|
-
|
|
4494
|
+
je,
|
|
4485
4495
|
{
|
|
4486
4496
|
text: t,
|
|
4487
4497
|
frame: y,
|
|
4488
4498
|
delay: B,
|
|
4489
4499
|
durationInFrames: rt,
|
|
4490
|
-
from:
|
|
4491
|
-
to:
|
|
4500
|
+
from: T == null ? void 0 : T.from,
|
|
4501
|
+
to: T == null ? void 0 : T.to,
|
|
4492
4502
|
details: b,
|
|
4493
4503
|
fps: r,
|
|
4494
|
-
cardFlipDetails:
|
|
4504
|
+
cardFlipDetails: Q
|
|
4495
4505
|
}
|
|
4496
4506
|
);
|
|
4497
4507
|
}
|
|
4498
4508
|
}
|
|
4499
|
-
const
|
|
4509
|
+
const K = (l == null ? void 0 : l.find(
|
|
4500
4510
|
(B) => B.property === "noiseTile" || B.id === "noiseTile"
|
|
4501
4511
|
)) || (d == null ? void 0 : d.find(
|
|
4502
4512
|
(B) => B.property === "noiseTile" || B.id === "noiseTile"
|
|
4503
4513
|
));
|
|
4504
|
-
if (c === "noiseTile" ||
|
|
4505
|
-
const B = (
|
|
4514
|
+
if (c === "noiseTile" || K) {
|
|
4515
|
+
const B = (K == null ? void 0 : K.delay) || 0, rt = (K == null ? void 0 : K.durationInFrames) || (M > 0 ? M : $), ht = B + rt, V = y >= B && y <= ht;
|
|
4506
4516
|
if (console.log(
|
|
4507
|
-
`[SpecialEffect NoiseTile] frame: ${y.toFixed(2)}, range: [${B}, ${
|
|
4517
|
+
`[SpecialEffect NoiseTile] frame: ${y.toFixed(2)}, range: [${B}, ${ht}], active: ${V}`
|
|
4508
4518
|
), V) {
|
|
4509
|
-
const
|
|
4519
|
+
const Q = K == null ? void 0 : K.details;
|
|
4510
4520
|
return /* @__PURE__ */ f(
|
|
4511
|
-
|
|
4521
|
+
Ae,
|
|
4512
4522
|
{
|
|
4513
4523
|
text: t,
|
|
4514
4524
|
frame: y,
|
|
4515
4525
|
delay: B,
|
|
4516
4526
|
durationInFrames: rt,
|
|
4517
|
-
from:
|
|
4518
|
-
to:
|
|
4527
|
+
from: K == null ? void 0 : K.from,
|
|
4528
|
+
to: K == null ? void 0 : K.to,
|
|
4519
4529
|
details: b,
|
|
4520
4530
|
fps: r,
|
|
4521
|
-
noiseTileDetails:
|
|
4531
|
+
noiseTileDetails: Q
|
|
4522
4532
|
}
|
|
4523
4533
|
);
|
|
4524
4534
|
}
|
|
@@ -4526,7 +4536,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4526
4536
|
}
|
|
4527
4537
|
if (s === "typeWriterTextAnimationOut" && N)
|
|
4528
4538
|
return /* @__PURE__ */ f(
|
|
4529
|
-
|
|
4539
|
+
Le,
|
|
4530
4540
|
{
|
|
4531
4541
|
frame: y,
|
|
4532
4542
|
durationInFrames: $,
|
|
@@ -4537,7 +4547,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4537
4547
|
);
|
|
4538
4548
|
if (s === "partialSlideOut" && N)
|
|
4539
4549
|
return /* @__PURE__ */ f(
|
|
4540
|
-
|
|
4550
|
+
He,
|
|
4541
4551
|
{
|
|
4542
4552
|
text: t,
|
|
4543
4553
|
frame: y,
|
|
@@ -4549,7 +4559,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4549
4559
|
);
|
|
4550
4560
|
if (s === "backgroundTextAnimationOut" && N)
|
|
4551
4561
|
return /* @__PURE__ */ f(
|
|
4552
|
-
|
|
4562
|
+
Ue,
|
|
4553
4563
|
{
|
|
4554
4564
|
text: t,
|
|
4555
4565
|
frame: y,
|
|
@@ -4559,20 +4569,20 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4559
4569
|
fps: r
|
|
4560
4570
|
}
|
|
4561
4571
|
);
|
|
4562
|
-
const ot =
|
|
4563
|
-
(
|
|
4572
|
+
const ot = q.reduce(
|
|
4573
|
+
(T, K) => T + (K === "" ? 1 : K.length),
|
|
4564
4574
|
0
|
|
4565
|
-
),
|
|
4566
|
-
(
|
|
4575
|
+
), vt = q.reduce(
|
|
4576
|
+
(T, K) => T + (K.trim() === "" ? 0 : K.split(/\s+/).length),
|
|
4567
4577
|
0
|
|
4568
|
-
), nt =
|
|
4569
|
-
var
|
|
4578
|
+
), nt = q.length, ut = Ze[n], it = Qe[s], mt = Ke[c], pt = ((_t = o == null ? void 0 : o[0]) == null ? void 0 : _t.textAnimationMode) || ((Wt = h == null ? void 0 : h[0]) == null ? void 0 : Wt.textAnimationMode) || ((Lt = d == null ? void 0 : d[0]) == null ? void 0 : Lt.textAnimationMode) || ((Ht = u == null ? void 0 : u[0]) == null ? void 0 : Ht.textAnimationMode) || (n ? a : void 0) || (s ? i : void 0) || (c ? e : void 0) || a || e || "letter", tt = w ? a : N ? i : L ? o[0].textAnimationMode || pt : H ? h[0].textAnimationMode || pt : G ? u[0].textAnimationMode || pt : ft && d[0].textAnimationMode || pt, st = L ? o : H ? h : G ? u : ft ? d : [], et = (T, K, B, rt) => {
|
|
4579
|
+
var ht, V, Q;
|
|
4570
4580
|
if (w && ut)
|
|
4571
4581
|
return /* @__PURE__ */ f(
|
|
4572
4582
|
ut,
|
|
4573
4583
|
{
|
|
4574
|
-
char:
|
|
4575
|
-
index:
|
|
4584
|
+
char: T,
|
|
4585
|
+
index: K,
|
|
4576
4586
|
frame: y,
|
|
4577
4587
|
textLength: B,
|
|
4578
4588
|
fps: r,
|
|
@@ -4585,8 +4595,8 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4585
4595
|
return /* @__PURE__ */ f(
|
|
4586
4596
|
it,
|
|
4587
4597
|
{
|
|
4588
|
-
char:
|
|
4589
|
-
index:
|
|
4598
|
+
char: T,
|
|
4599
|
+
index: K,
|
|
4590
4600
|
frame: y,
|
|
4591
4601
|
textLength: B,
|
|
4592
4602
|
fps: r,
|
|
@@ -4600,8 +4610,8 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4600
4610
|
return /* @__PURE__ */ f(
|
|
4601
4611
|
mt,
|
|
4602
4612
|
{
|
|
4603
|
-
char:
|
|
4604
|
-
index:
|
|
4613
|
+
char: T,
|
|
4614
|
+
index: K,
|
|
4605
4615
|
frame: y,
|
|
4606
4616
|
textLength: B,
|
|
4607
4617
|
fps: r,
|
|
@@ -4611,96 +4621,96 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4611
4621
|
rt
|
|
4612
4622
|
);
|
|
4613
4623
|
if (st.length > 0) {
|
|
4614
|
-
const at =
|
|
4624
|
+
const at = L ? _ : H ? P : G ? ((ht = u == null ? void 0 : u[0]) == null ? void 0 : ht.durationInFrames) || S : ((V = d == null ? void 0 : d[0]) == null ? void 0 : V.durationInFrames) || M, rr = H ? y - A : G ? y - Z : y, xt = st[0], Kt = L ? "in" : H ? "out" : G ? "timed" : "loop";
|
|
4615
4625
|
return /* @__PURE__ */ f(
|
|
4616
|
-
|
|
4626
|
+
oe,
|
|
4617
4627
|
{
|
|
4618
|
-
char:
|
|
4619
|
-
index:
|
|
4628
|
+
char: T,
|
|
4629
|
+
index: K,
|
|
4620
4630
|
frame: rr,
|
|
4621
4631
|
fps: r,
|
|
4622
4632
|
textLength: B,
|
|
4623
4633
|
animationTextFrames: at,
|
|
4624
|
-
property:
|
|
4625
|
-
from:
|
|
4626
|
-
to:
|
|
4627
|
-
easing:
|
|
4628
|
-
delay: H ? 0 :
|
|
4634
|
+
property: xt.property,
|
|
4635
|
+
from: xt.from,
|
|
4636
|
+
to: xt.to,
|
|
4637
|
+
easing: xt.easing,
|
|
4638
|
+
delay: H ? 0 : xt.delay,
|
|
4629
4639
|
details: b,
|
|
4630
4640
|
phase: Kt,
|
|
4631
|
-
fade: !!((
|
|
4641
|
+
fade: !!((Q = xt == null ? void 0 : xt.details) != null && Q.fade || xt != null && xt.fade)
|
|
4632
4642
|
},
|
|
4633
4643
|
rt
|
|
4634
4644
|
);
|
|
4635
4645
|
}
|
|
4636
|
-
return /* @__PURE__ */ f("span", { children:
|
|
4646
|
+
return /* @__PURE__ */ f("span", { children: T === "" ? " " : T }, rt);
|
|
4637
4647
|
};
|
|
4638
4648
|
let dt = (b == null ? void 0 : b.textAlign) === "right";
|
|
4639
|
-
const yt = o && o.length > 0 ? o[0] : h && h.length > 0 ? h[0] : u && u.length > 0 ? u[0] : d && d.length > 0 ? d[0] : null,
|
|
4640
|
-
if (
|
|
4641
|
-
dt =
|
|
4649
|
+
const yt = o && o.length > 0 ? o[0] : h && h.length > 0 ? h[0] : u && u.length > 0 ? u[0] : d && d.length > 0 ? d[0] : null, bt = yt != null && yt.order ? yt : (Ut = o == null ? void 0 : o[0]) != null && Ut.order ? o[0] : (Zt = h == null ? void 0 : h[0]) != null && Zt.order ? h[0] : (Qt = u == null ? void 0 : u[0]) != null && Qt.order ? u[0] : (tr = d == null ? void 0 : d[0]) != null && tr.order ? d[0] : null;
|
|
4650
|
+
if (bt != null && bt.order)
|
|
4651
|
+
dt = bt.order === "backward";
|
|
4642
4652
|
else if (yt && yt.property === "translateX") {
|
|
4643
|
-
const
|
|
4644
|
-
!isNaN(
|
|
4653
|
+
const T = Number(yt.from), K = Number(yt.to);
|
|
4654
|
+
!isNaN(T) && !isNaN(K) && (dt = T < K);
|
|
4645
4655
|
}
|
|
4646
|
-
if (
|
|
4647
|
-
return /* @__PURE__ */ f(
|
|
4648
|
-
(B, rt) => et(B, 0, 1, `${
|
|
4649
|
-
) },
|
|
4650
|
-
if (
|
|
4651
|
-
let
|
|
4652
|
-
const
|
|
4656
|
+
if (tt === "all")
|
|
4657
|
+
return /* @__PURE__ */ f(kt, { children: q.map((T, K) => /* @__PURE__ */ f("div", { children: (T === "" ? [" "] : T.split("")).map(
|
|
4658
|
+
(B, rt) => et(B, 0, 1, `${K}-${rt}`)
|
|
4659
|
+
) }, K)) });
|
|
4660
|
+
if (tt === "word") {
|
|
4661
|
+
let T = 0;
|
|
4662
|
+
const K = q.map((B, rt) => {
|
|
4653
4663
|
if (B.trim() === "")
|
|
4654
4664
|
return {
|
|
4655
4665
|
rowIndex: rt,
|
|
4656
4666
|
tokens: []
|
|
4657
4667
|
};
|
|
4658
|
-
const V = B.split(/(\s+)/).map((
|
|
4668
|
+
const V = B.split(/(\s+)/).map((Q) => /^\s+$/.test(Q) ? { token: Q, wordIndex: null } : { token: Q, wordIndex: T++ });
|
|
4659
4669
|
return { rowIndex: rt, tokens: V };
|
|
4660
4670
|
});
|
|
4661
|
-
return /* @__PURE__ */ f(
|
|
4671
|
+
return /* @__PURE__ */ f(kt, { children: K.map(({ rowIndex: B, tokens: rt }) => rt.length === 0 ? /* @__PURE__ */ f("div", { children: " " }, B) : /* @__PURE__ */ f("div", { children: rt.map(({ token: ht, wordIndex: V }, Q) => {
|
|
4662
4672
|
if (V === null)
|
|
4663
4673
|
return /* @__PURE__ */ f(
|
|
4664
4674
|
"span",
|
|
4665
4675
|
{
|
|
4666
4676
|
style: { display: "inline-block" },
|
|
4667
|
-
children:
|
|
4677
|
+
children: ht.replace(/ /g, " ")
|
|
4668
4678
|
},
|
|
4669
|
-
`space-${B}-${
|
|
4679
|
+
`space-${B}-${Q}`
|
|
4670
4680
|
);
|
|
4671
|
-
const at = dt ?
|
|
4681
|
+
const at = dt ? vt - 1 - V : V;
|
|
4672
4682
|
return et(
|
|
4673
|
-
|
|
4683
|
+
ht,
|
|
4674
4684
|
at,
|
|
4675
|
-
|
|
4676
|
-
`word-${B}-${
|
|
4685
|
+
vt,
|
|
4686
|
+
`word-${B}-${Q}`
|
|
4677
4687
|
);
|
|
4678
4688
|
}) }, B)) });
|
|
4679
4689
|
}
|
|
4680
|
-
if (
|
|
4681
|
-
return /* @__PURE__ */ f(
|
|
4682
|
-
const B = dt ? nt - 1 -
|
|
4690
|
+
if (tt === "line")
|
|
4691
|
+
return /* @__PURE__ */ f(kt, { children: q.map((T, K) => {
|
|
4692
|
+
const B = dt ? nt - 1 - K : K;
|
|
4683
4693
|
return /* @__PURE__ */ f("div", { children: et(
|
|
4684
|
-
|
|
4694
|
+
T === "" ? " " : T,
|
|
4685
4695
|
B,
|
|
4686
4696
|
nt,
|
|
4687
|
-
`line-${
|
|
4688
|
-
) },
|
|
4697
|
+
`line-${K}`
|
|
4698
|
+
) }, K);
|
|
4689
4699
|
}) });
|
|
4690
|
-
let
|
|
4691
|
-
const lt =
|
|
4700
|
+
let St = 0;
|
|
4701
|
+
const lt = q.map((T) => (T === "" ? [" "] : T.split("")).map((rt) => ({
|
|
4692
4702
|
char: rt,
|
|
4693
|
-
globalIndex:
|
|
4703
|
+
globalIndex: St++
|
|
4694
4704
|
})));
|
|
4695
|
-
return /* @__PURE__ */ f(
|
|
4696
|
-
const
|
|
4705
|
+
return /* @__PURE__ */ f(kt, { children: lt.map((T, K) => /* @__PURE__ */ f("div", { children: T.map(({ char: B, globalIndex: rt }) => {
|
|
4706
|
+
const ht = dt ? ot - 1 - rt : rt;
|
|
4697
4707
|
return et(
|
|
4698
4708
|
B,
|
|
4699
|
-
|
|
4709
|
+
ht,
|
|
4700
4710
|
ot,
|
|
4701
|
-
`${
|
|
4711
|
+
`${K}-${rt}`
|
|
4702
4712
|
);
|
|
4703
|
-
}) },
|
|
4713
|
+
}) }, K)) });
|
|
4704
4714
|
}, Zr = ({
|
|
4705
4715
|
id: t,
|
|
4706
4716
|
content: r,
|
|
@@ -4761,8 +4771,8 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4761
4771
|
X.stopPropagation();
|
|
4762
4772
|
const P = window.getSelection(), z = Y.current;
|
|
4763
4773
|
if (P != null && P.rangeCount && z) {
|
|
4764
|
-
const
|
|
4765
|
-
|
|
4774
|
+
const A = P.getRangeAt(0);
|
|
4775
|
+
A.endOffset - A.startOffset === ((O = z.textContent) == null ? void 0 : O.length) && _();
|
|
4766
4776
|
}
|
|
4767
4777
|
},
|
|
4768
4778
|
onInput: (X) => c(t, X.target.innerText),
|
|
@@ -4779,7 +4789,7 @@ const _e = ({ text: t, frame: r }) => {
|
|
|
4779
4789
|
suppressContentEditableWarning: !0,
|
|
4780
4790
|
className: "designcombo_textLayer",
|
|
4781
4791
|
children: n ? r : /* @__PURE__ */ f(
|
|
4782
|
-
|
|
4792
|
+
Je,
|
|
4783
4793
|
{
|
|
4784
4794
|
textAnimationNameIn: p,
|
|
4785
4795
|
textAnimationNameOut: o,
|
|
@@ -4859,13 +4869,13 @@ function Xr(t, r, n) {
|
|
|
4859
4869
|
function Ot(t) {
|
|
4860
4870
|
return typeof t == "function";
|
|
4861
4871
|
}
|
|
4862
|
-
function
|
|
4872
|
+
function Rn(t) {
|
|
4863
4873
|
var r = function(s) {
|
|
4864
4874
|
Error.call(s), s.stack = new Error().stack;
|
|
4865
4875
|
}, n = t(r);
|
|
4866
4876
|
return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
|
|
4867
4877
|
}
|
|
4868
|
-
var Mr =
|
|
4878
|
+
var Mr = Rn(function(t) {
|
|
4869
4879
|
return function(r) {
|
|
4870
4880
|
t(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
4871
4881
|
` + r.map(function(n, s) {
|
|
@@ -4968,16 +4978,16 @@ var mr = function() {
|
|
|
4968
4978
|
var r = new t();
|
|
4969
4979
|
return r.closed = !0, r;
|
|
4970
4980
|
}(), t;
|
|
4971
|
-
}(),
|
|
4972
|
-
function
|
|
4981
|
+
}(), Fn = mr.EMPTY;
|
|
4982
|
+
function Yn(t) {
|
|
4973
4983
|
return t instanceof mr || t && "closed" in t && Ot(t.remove) && Ot(t.add) && Ot(t.unsubscribe);
|
|
4974
4984
|
}
|
|
4975
4985
|
function Qr(t) {
|
|
4976
4986
|
Ot(t) ? t() : t.unsubscribe();
|
|
4977
4987
|
}
|
|
4978
|
-
var
|
|
4988
|
+
var qe = {
|
|
4979
4989
|
Promise: void 0
|
|
4980
|
-
},
|
|
4990
|
+
}, Te = {
|
|
4981
4991
|
setTimeout: function(t, r) {
|
|
4982
4992
|
for (var n = [], s = 2; s < arguments.length; s++)
|
|
4983
4993
|
n[s - 2] = arguments[s];
|
|
@@ -4988,8 +4998,8 @@ var Je = {
|
|
|
4988
4998
|
},
|
|
4989
4999
|
delegate: void 0
|
|
4990
5000
|
};
|
|
4991
|
-
function
|
|
4992
|
-
|
|
5001
|
+
function De(t) {
|
|
5002
|
+
Te.setTimeout(function() {
|
|
4993
5003
|
throw t;
|
|
4994
5004
|
});
|
|
4995
5005
|
}
|
|
@@ -5002,7 +5012,7 @@ var Or = function(t) {
|
|
|
5002
5012
|
ar(r, t);
|
|
5003
5013
|
function r(n) {
|
|
5004
5014
|
var s = t.call(this) || this;
|
|
5005
|
-
return s.isStopped = !1, n ? (s.destination = n,
|
|
5015
|
+
return s.isStopped = !1, n ? (s.destination = n, Yn(n) && n.add(s)) : s.destination = ns, s;
|
|
5006
5016
|
}
|
|
5007
5017
|
return r.create = function(n, s, c) {
|
|
5008
5018
|
return new Pr(n, s, c);
|
|
@@ -5029,7 +5039,7 @@ var Or = function(t) {
|
|
|
5029
5039
|
this.unsubscribe();
|
|
5030
5040
|
}
|
|
5031
5041
|
}, r;
|
|
5032
|
-
}(mr),
|
|
5042
|
+
}(mr), ts = function() {
|
|
5033
5043
|
function t(r) {
|
|
5034
5044
|
this.partialObserver = r;
|
|
5035
5045
|
}
|
|
@@ -5068,29 +5078,29 @@ var Or = function(t) {
|
|
|
5068
5078
|
next: n ?? void 0,
|
|
5069
5079
|
error: s ?? void 0,
|
|
5070
5080
|
complete: c ?? void 0
|
|
5071
|
-
} : i = n, a.destination = new
|
|
5081
|
+
} : i = n, a.destination = new ts(i), a;
|
|
5072
5082
|
}
|
|
5073
5083
|
return r;
|
|
5074
5084
|
}(Or);
|
|
5075
5085
|
function lr(t) {
|
|
5076
|
-
|
|
5086
|
+
De(t);
|
|
5077
5087
|
}
|
|
5078
|
-
function
|
|
5088
|
+
function rs(t) {
|
|
5079
5089
|
throw t;
|
|
5080
5090
|
}
|
|
5081
|
-
var
|
|
5091
|
+
var ns = {
|
|
5082
5092
|
closed: !0,
|
|
5083
5093
|
next: Kr,
|
|
5084
|
-
error:
|
|
5094
|
+
error: rs,
|
|
5085
5095
|
complete: Kr
|
|
5086
|
-
},
|
|
5096
|
+
}, os = function() {
|
|
5087
5097
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
5088
5098
|
}();
|
|
5089
|
-
function
|
|
5099
|
+
function es(t) {
|
|
5090
5100
|
return t;
|
|
5091
5101
|
}
|
|
5092
|
-
function
|
|
5093
|
-
return t.length === 0 ?
|
|
5102
|
+
function ss(t) {
|
|
5103
|
+
return t.length === 0 ? es : t.length === 1 ? t[0] : function(r) {
|
|
5094
5104
|
return t.reduce(function(n, s) {
|
|
5095
5105
|
return s(n);
|
|
5096
5106
|
}, r);
|
|
@@ -5104,7 +5114,7 @@ var Jr = function() {
|
|
|
5104
5114
|
var n = new t();
|
|
5105
5115
|
return n.source = this, n.operator = r, n;
|
|
5106
5116
|
}, t.prototype.subscribe = function(r, n, s) {
|
|
5107
|
-
var c = this, a =
|
|
5117
|
+
var c = this, a = cs(r) ? r : new Pr(r, n, s);
|
|
5108
5118
|
return hr(function() {
|
|
5109
5119
|
var i = c, e = i.operator, p = i.source;
|
|
5110
5120
|
a.add(e ? e.call(a, p) : p ? c._subscribe(a) : c._trySubscribe(a));
|
|
@@ -5134,12 +5144,12 @@ var Jr = function() {
|
|
|
5134
5144
|
}, t.prototype._subscribe = function(r) {
|
|
5135
5145
|
var n;
|
|
5136
5146
|
return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r);
|
|
5137
|
-
}, t.prototype[
|
|
5147
|
+
}, t.prototype[os] = function() {
|
|
5138
5148
|
return this;
|
|
5139
5149
|
}, t.prototype.pipe = function() {
|
|
5140
5150
|
for (var r = [], n = 0; n < arguments.length; n++)
|
|
5141
5151
|
r[n] = arguments[n];
|
|
5142
|
-
return
|
|
5152
|
+
return ss(r)(this);
|
|
5143
5153
|
}, t.prototype.toPromise = function(r) {
|
|
5144
5154
|
var n = this;
|
|
5145
5155
|
return r = qr(r), new r(function(s, c) {
|
|
@@ -5158,13 +5168,13 @@ var Jr = function() {
|
|
|
5158
5168
|
}();
|
|
5159
5169
|
function qr(t) {
|
|
5160
5170
|
var r;
|
|
5161
|
-
return (r = t ??
|
|
5171
|
+
return (r = t ?? qe.Promise) !== null && r !== void 0 ? r : Promise;
|
|
5162
5172
|
}
|
|
5163
|
-
function
|
|
5173
|
+
function as(t) {
|
|
5164
5174
|
return t && Ot(t.next) && Ot(t.error) && Ot(t.complete);
|
|
5165
5175
|
}
|
|
5166
|
-
function
|
|
5167
|
-
return t && t instanceof Or ||
|
|
5176
|
+
function cs(t) {
|
|
5177
|
+
return t && t instanceof Or || as(t) && Yn(t);
|
|
5168
5178
|
}
|
|
5169
5179
|
(function(t) {
|
|
5170
5180
|
ar(r, t);
|
|
@@ -5202,11 +5212,11 @@ function as(t) {
|
|
|
5202
5212
|
}
|
|
5203
5213
|
}, r;
|
|
5204
5214
|
})(Or);
|
|
5205
|
-
var
|
|
5215
|
+
var is = Rn(function(t) {
|
|
5206
5216
|
return function() {
|
|
5207
5217
|
t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
5208
5218
|
};
|
|
5209
|
-
}),
|
|
5219
|
+
}), Xn = function(t) {
|
|
5210
5220
|
ar(r, t);
|
|
5211
5221
|
function r() {
|
|
5212
5222
|
var n = t.call(this) || this;
|
|
@@ -5217,7 +5227,7 @@ var cs = Nn(function(t) {
|
|
|
5217
5227
|
return s.operator = n, s;
|
|
5218
5228
|
}, r.prototype._throwIfClosed = function() {
|
|
5219
5229
|
if (this.closed)
|
|
5220
|
-
throw new
|
|
5230
|
+
throw new is();
|
|
5221
5231
|
}, r.prototype.next = function(n) {
|
|
5222
5232
|
var s = this;
|
|
5223
5233
|
hr(function() {
|
|
@@ -5273,7 +5283,7 @@ var cs = Nn(function(t) {
|
|
|
5273
5283
|
return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
|
|
5274
5284
|
}, r.prototype._innerSubscribe = function(n) {
|
|
5275
5285
|
var s = this, c = this, a = c.hasError, i = c.isStopped, e = c.observers;
|
|
5276
|
-
return a || i ?
|
|
5286
|
+
return a || i ? Fn : (this.currentObservers = null, e.push(n), new mr(function() {
|
|
5277
5287
|
s.currentObservers = null, Br(e, n);
|
|
5278
5288
|
}));
|
|
5279
5289
|
}, r.prototype._checkFinalizedStatuses = function(n) {
|
|
@@ -5302,24 +5312,24 @@ var cs = Nn(function(t) {
|
|
|
5302
5312
|
(s = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || s === void 0 || s.call(n);
|
|
5303
5313
|
}, r.prototype._subscribe = function(n) {
|
|
5304
5314
|
var s, c;
|
|
5305
|
-
return (c = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(n)) !== null && c !== void 0 ? c :
|
|
5315
|
+
return (c = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(n)) !== null && c !== void 0 ? c : Fn;
|
|
5306
5316
|
}, r;
|
|
5307
|
-
}(
|
|
5317
|
+
}(Xn);
|
|
5308
5318
|
let wr = null;
|
|
5309
|
-
function
|
|
5319
|
+
function ds() {
|
|
5310
5320
|
if (!wr) {
|
|
5311
|
-
const t = new
|
|
5321
|
+
const t = new Xn();
|
|
5312
5322
|
wr = { subject: t, dispatch: (r, n) => t.next({ key: r, value: n }) };
|
|
5313
5323
|
}
|
|
5314
5324
|
return wr;
|
|
5315
5325
|
}
|
|
5316
|
-
const { subject: sa, dispatch:
|
|
5317
|
-
function
|
|
5326
|
+
const { subject: sa, dispatch: us } = ds();
|
|
5327
|
+
function Bn({
|
|
5318
5328
|
item: t,
|
|
5319
5329
|
options: r
|
|
5320
5330
|
}) {
|
|
5321
|
-
var et, ct, dt, yt,
|
|
5322
|
-
const { handleTextChange: n, onTextBlur: s, fps: c, editableTextId: a, frame: i } = r, { id: e, details: p, animations: o } = t, { durationInFrames: h } =
|
|
5331
|
+
var et, ct, dt, yt, bt, St, lt, j, Ft, Yt, Xt, Et, zt, _t, Wt, Lt, Ht, Ut, Zt, Qt, tr, T, K, B, rt, ht;
|
|
5332
|
+
const { handleTextChange: n, onTextBlur: s, fps: c, editableTextId: a, frame: i } = r, { id: e, details: p, animations: o } = t, { durationInFrames: h } = It(t.display, c), d = [
|
|
5323
5333
|
"opacity",
|
|
5324
5334
|
"scale",
|
|
5325
5335
|
"translateX",
|
|
@@ -5347,13 +5357,13 @@ function Xn({
|
|
|
5347
5357
|
"maskDownIn",
|
|
5348
5358
|
"maskDownOut"
|
|
5349
5359
|
], u = (((et = o == null ? void 0 : o.in) == null ? void 0 : et.composition) || []).filter(
|
|
5350
|
-
(V) => d.some((
|
|
5360
|
+
(V) => d.some((Q) => V.property === Q) && V.textAnimationMode && V.textAnimationMode !== "all"
|
|
5351
5361
|
), l = (((ct = o == null ? void 0 : o.out) == null ? void 0 : ct.composition) || []).filter(
|
|
5352
|
-
(V) => d.some((
|
|
5362
|
+
(V) => d.some((Q) => V.property === Q) && V.textAnimationMode && V.textAnimationMode !== "all"
|
|
5353
5363
|
), b = (((dt = o == null ? void 0 : o.loop) == null ? void 0 : dt.composition) || []).filter(
|
|
5354
|
-
(V) => d.some((
|
|
5364
|
+
(V) => d.some((Q) => V.property === Q) && V.textAnimationMode && V.textAnimationMode !== "all"
|
|
5355
5365
|
), y = (((yt = o == null ? void 0 : o.timed) == null ? void 0 : yt.composition) || []).filter(
|
|
5356
|
-
(V) => d.some((
|
|
5366
|
+
(V) => d.some((Q) => V.property === Q) && V.textAnimationMode && V.textAnimationMode !== "all"
|
|
5357
5367
|
), x = new Set(u.map((V) => V.id)), m = new Set(l.map((V) => V.id)), M = new Set(
|
|
5358
5368
|
b.map((V) => V.id)
|
|
5359
5369
|
), S = new Set(
|
|
@@ -5384,42 +5394,42 @@ function Xn({
|
|
|
5384
5394
|
(V) => !S.has(V.id)
|
|
5385
5395
|
)
|
|
5386
5396
|
} : void 0
|
|
5387
|
-
}, { animationIn: k, animationOut: g, animationTimed: v } =
|
|
5397
|
+
}, { animationIn: k, animationOut: g, animationTimed: v } = Rt(
|
|
5388
5398
|
$,
|
|
5389
5399
|
t,
|
|
5390
5400
|
i,
|
|
5391
5401
|
c,
|
|
5392
5402
|
r
|
|
5393
|
-
), w = (
|
|
5394
|
-
(V) => !d.some((
|
|
5395
|
-
), N = (
|
|
5396
|
-
(V) => !d.some((
|
|
5403
|
+
), w = (bt = o == null ? void 0 : o.in) == null ? void 0 : bt.composition.find(
|
|
5404
|
+
(V) => !d.some((Q) => V.property === Q)
|
|
5405
|
+
), N = (St = o == null ? void 0 : o.out) == null ? void 0 : St.composition.find(
|
|
5406
|
+
(V) => !d.some((Q) => V.property === Q)
|
|
5397
5407
|
), R = (lt = o == null ? void 0 : o.loop) == null ? void 0 : lt.composition.find(
|
|
5398
|
-
(V) => !d.some((
|
|
5399
|
-
), C = (w == null ? void 0 : w.property) || "", E = (N == null ? void 0 : N.property) || "", Y = (R == null ? void 0 : R.property) || "", _ = (w == null ? void 0 : w.textAnimationMode) || ((
|
|
5408
|
+
(V) => !d.some((Q) => V.property === Q)
|
|
5409
|
+
), C = (w == null ? void 0 : w.property) || "", E = (N == null ? void 0 : N.property) || "", Y = (R == null ? void 0 : R.property) || "", _ = (w == null ? void 0 : w.textAnimationMode) || ((j = u[0]) == null ? void 0 : j.textAnimationMode) || (w ? "letter" : "all"), F = (N == null ? void 0 : N.textAnimationMode) || ((Ft = l[0]) == null ? void 0 : Ft.textAnimationMode) || (N ? "letter" : "all"), X = (R == null ? void 0 : R.textAnimationMode) || ((Yt = b[0]) == null ? void 0 : Yt.textAnimationMode) || (R ? "letter" : "all"), P = ((Xt = y[0]) == null ? void 0 : Xt.textAnimationMode) || "all", z = (w == null ? void 0 : w.durationInFrames) || ((zt = (Et = o == null ? void 0 : o.in) == null ? void 0 : Et.composition[0]) == null ? void 0 : zt.durationInFrames) || 0, O = (N == null ? void 0 : N.durationInFrames) || ((Wt = (_t = o == null ? void 0 : o.out) == null ? void 0 : _t.composition[0]) == null ? void 0 : Wt.durationInFrames) || 0, A = (R == null ? void 0 : R.durationInFrames) || ((Ht = (Lt = o == null ? void 0 : o.loop) == null ? void 0 : Lt.composition[0]) == null ? void 0 : Ht.durationInFrames) || 0, J = ((Ut = y[0]) == null ? void 0 : Ut.durationInFrames) || 0, Z = [];
|
|
5400
5410
|
o != null && o.loop && o.loop.composition.forEach((V) => {
|
|
5401
|
-
var
|
|
5402
|
-
(
|
|
5411
|
+
var Q;
|
|
5412
|
+
(Q = V.details) != null && Q.fonts && Z.push(...V.details.fonts);
|
|
5403
5413
|
}), o != null && o.in && o.in.composition.forEach((V) => {
|
|
5404
|
-
var
|
|
5405
|
-
(
|
|
5414
|
+
var Q;
|
|
5415
|
+
(Q = V.details) != null && Q.fonts && Z.push(...V.details.fonts);
|
|
5406
5416
|
}), o != null && o.out && o.out.composition.forEach((V) => {
|
|
5407
|
-
var
|
|
5408
|
-
(
|
|
5417
|
+
var Q;
|
|
5418
|
+
(Q = V.details) != null && Q.fonts && Z.push(...V.details.fonts);
|
|
5409
5419
|
});
|
|
5410
|
-
let
|
|
5420
|
+
let D = p.text;
|
|
5411
5421
|
if ((Qt = (Zt = t.animations) == null ? void 0 : Zt.timed) != null && Qt.composition) {
|
|
5412
5422
|
const V = (r.frame || 0) - t.display.from * c / 1e3;
|
|
5413
5423
|
if (V >= 0) {
|
|
5414
|
-
const
|
|
5415
|
-
|
|
5416
|
-
const
|
|
5417
|
-
V >=
|
|
5424
|
+
const Q = (tr = t.animations) == null ? void 0 : tr.timed.composition;
|
|
5425
|
+
Q.forEach((at, rr) => {
|
|
5426
|
+
const xt = Q.slice(0, rr).reduce((Kt, ir) => Kt + ir.durationInFrames, 0);
|
|
5427
|
+
V >= xt && at.text && (D = at.text);
|
|
5418
5428
|
});
|
|
5419
5429
|
}
|
|
5420
5430
|
}
|
|
5421
|
-
const
|
|
5422
|
-
V.stopPropagation(), V.preventDefault(),
|
|
5431
|
+
const L = (i || 0) - t.display.from * c / 1e3, H = p || {}, { top: G, left: ft, transform: U, position: q, boxShadow: ot, ...vt } = H, nt = (V) => {
|
|
5432
|
+
V.stopPropagation(), V.preventDefault(), us(io, {
|
|
5423
5433
|
payload: {
|
|
5424
5434
|
id: e
|
|
5425
5435
|
}
|
|
@@ -5427,14 +5437,14 @@ function Xn({
|
|
|
5427
5437
|
}, ut = Cr(
|
|
5428
5438
|
p.effects,
|
|
5429
5439
|
t.animations,
|
|
5430
|
-
|
|
5440
|
+
L,
|
|
5431
5441
|
h
|
|
5432
|
-
), it = Vr(ut), mt = typeof p.width == "number" ? p.width : parseInt(String(p.width || 300), 10) || 300,
|
|
5442
|
+
), it = Vr(ut), mt = typeof p.width == "number" ? p.width : parseInt(String(p.width || 300), 10) || 300, pt = typeof p.height == "number" ? p.height : parseInt(String(p.height || 100), 10) || 100, tt = {
|
|
5433
5443
|
key: e,
|
|
5434
5444
|
id: e,
|
|
5435
5445
|
fps: c,
|
|
5436
|
-
frame:
|
|
5437
|
-
content:
|
|
5446
|
+
frame: L,
|
|
5447
|
+
content: D,
|
|
5438
5448
|
editable: a === e,
|
|
5439
5449
|
onChange: n,
|
|
5440
5450
|
textAnimationNameIn: C,
|
|
@@ -5448,17 +5458,17 @@ function Xn({
|
|
|
5448
5458
|
basicCharAnimationsOut: l,
|
|
5449
5459
|
basicCharAnimationsLoop: b,
|
|
5450
5460
|
basicCharAnimationsTimed: y,
|
|
5451
|
-
loopComposition: (
|
|
5461
|
+
loopComposition: (T = o == null ? void 0 : o.loop) == null ? void 0 : T.composition,
|
|
5452
5462
|
onBlur: s,
|
|
5453
5463
|
onDoubleClick: nt,
|
|
5454
5464
|
style: Dt(p),
|
|
5455
5465
|
details: p,
|
|
5456
5466
|
animationTextInFrames: z,
|
|
5457
5467
|
animationTextOutFrames: O,
|
|
5458
|
-
animationTextLoopFrames:
|
|
5459
|
-
animationTextTimedFrames:
|
|
5468
|
+
animationTextLoopFrames: A,
|
|
5469
|
+
animationTextTimedFrames: J,
|
|
5460
5470
|
durationInFrames: h,
|
|
5461
|
-
animationFonts:
|
|
5471
|
+
animationFonts: Z
|
|
5462
5472
|
}, st = /* @__PURE__ */ f(
|
|
5463
5473
|
jt,
|
|
5464
5474
|
{
|
|
@@ -5466,7 +5476,7 @@ function Xn({
|
|
|
5466
5476
|
animationOut: a === e ? null : g,
|
|
5467
5477
|
basicCharAnimationsIn: u,
|
|
5468
5478
|
basicCharAnimationsOut: l,
|
|
5469
|
-
frame:
|
|
5479
|
+
frame: L,
|
|
5470
5480
|
durationInFrames: h,
|
|
5471
5481
|
style: {
|
|
5472
5482
|
transform: p.transform,
|
|
@@ -5478,7 +5488,7 @@ function Xn({
|
|
|
5478
5488
|
{
|
|
5479
5489
|
animationTimed: a === e ? null : v,
|
|
5480
5490
|
durationInFrames: h,
|
|
5481
|
-
frame:
|
|
5491
|
+
frame: L,
|
|
5482
5492
|
style: {
|
|
5483
5493
|
transform: p.transform,
|
|
5484
5494
|
rotate: p == null ? void 0 : p.rotate,
|
|
@@ -5489,39 +5499,39 @@ function Xn({
|
|
|
5489
5499
|
{
|
|
5490
5500
|
item: t,
|
|
5491
5501
|
keyframeAnimations: [
|
|
5492
|
-
...((
|
|
5502
|
+
...((K = o == null ? void 0 : o.in) == null ? void 0 : K.composition) || [],
|
|
5493
5503
|
...((B = o == null ? void 0 : o.out) == null ? void 0 : B.composition) || [],
|
|
5494
5504
|
...((rt = o == null ? void 0 : o.timed) == null ? void 0 : rt.composition) || [],
|
|
5495
|
-
...((
|
|
5505
|
+
...((ht = o == null ? void 0 : o.loop) == null ? void 0 : ht.composition) || [],
|
|
5496
5506
|
...k || [],
|
|
5497
5507
|
...g || [],
|
|
5498
5508
|
...v || []
|
|
5499
5509
|
],
|
|
5500
|
-
frame:
|
|
5510
|
+
frame: L,
|
|
5501
5511
|
durationInFrames: h,
|
|
5502
5512
|
children: it ? /* @__PURE__ */ f(
|
|
5503
5513
|
_r,
|
|
5504
5514
|
{
|
|
5505
5515
|
width: mt,
|
|
5506
|
-
height:
|
|
5516
|
+
height: pt,
|
|
5507
5517
|
effects: it,
|
|
5508
|
-
children: /* @__PURE__ */ f(Zr, { ...
|
|
5518
|
+
children: /* @__PURE__ */ f(Zr, { ...tt })
|
|
5509
5519
|
}
|
|
5510
|
-
) : /* @__PURE__ */ f(Zr, { ...
|
|
5520
|
+
) : /* @__PURE__ */ f(Zr, { ...tt })
|
|
5511
5521
|
}
|
|
5512
5522
|
)
|
|
5513
5523
|
}
|
|
5514
5524
|
)
|
|
5515
5525
|
}
|
|
5516
5526
|
);
|
|
5517
|
-
return
|
|
5527
|
+
return $t({ item: t, options: r, children: st });
|
|
5518
5528
|
}
|
|
5519
|
-
const
|
|
5529
|
+
const Pn = ({
|
|
5520
5530
|
item: t,
|
|
5521
5531
|
options: r
|
|
5522
5532
|
}) => {
|
|
5523
|
-
var ut, it, mt,
|
|
5524
|
-
const { fps: n, frame: s, isTransition: c } = r, { details: a, animations: i } = t, e = t.playbackRate || 1, { animationIn: p, animationOut: o, animationTimed: h } =
|
|
5533
|
+
var nt, ut, it, mt, pt, tt, st, et, ct, dt, yt, bt, St, lt;
|
|
5534
|
+
const { fps: n, frame: s, isTransition: c } = r, { details: a, animations: i } = t, e = t.playbackRate || 1, { animationIn: p, animationOut: o, animationTimed: h } = Rt(
|
|
5525
5535
|
i,
|
|
5526
5536
|
t,
|
|
5527
5537
|
s,
|
|
@@ -5540,30 +5550,30 @@ const Bn = ({
|
|
|
5540
5550
|
${m}px
|
|
5541
5551
|
${M}px
|
|
5542
5552
|
${y}px round ${$}px
|
|
5543
|
-
)`, { durationInFrames: g } =
|
|
5553
|
+
)`, { durationInFrames: g } = It(t.display, n), v = (s || 0) - t.display.from * n / 1e3, w = Pt(a, d, {}), { WebkitTextStroke: N } = w, R = ln(a, d), C = Cr(
|
|
5544
5554
|
a.effects,
|
|
5545
5555
|
i,
|
|
5546
5556
|
v,
|
|
5547
5557
|
g
|
|
5548
|
-
), E = Vr(C), { filter: Y, overlays: _ } =
|
|
5549
|
-
(
|
|
5550
|
-
), X = !!(F && v >= (F.delay || 0) && v <= (F.delay || 0) + (F.durationInFrames || 60)), P = (
|
|
5551
|
-
(
|
|
5552
|
-
), z = !!(P && v >= (P.delay || 0) && v <= (P.delay || 0) + (P.durationInFrames || 120)), O = (
|
|
5553
|
-
(
|
|
5554
|
-
),
|
|
5555
|
-
(
|
|
5556
|
-
),
|
|
5557
|
-
...((
|
|
5558
|
-
...((
|
|
5559
|
-
...((
|
|
5560
|
-
...((
|
|
5561
|
-
],
|
|
5558
|
+
), E = Vr(C), { filter: Y, overlays: _ } = xn(C), F = (ut = (nt = i == null ? void 0 : i.loop) == null ? void 0 : nt.composition) == null ? void 0 : ut.find(
|
|
5559
|
+
(j) => j.property === "textGridMarqueeTextAnimationLoop" || j.property === "textGridMarquee" || j.property === "imageGridMarqueeTextAnimationLoop" || j.property === "imageGridMarquee" || j.id === "textGridMarquee" || j.id === "imageGridMarquee"
|
|
5560
|
+
), X = !!(F && v >= (F.delay || 0) && v <= (F.delay || 0) + (F.durationInFrames || 60)), P = (mt = (it = i == null ? void 0 : i.loop) == null ? void 0 : it.composition) == null ? void 0 : mt.find(
|
|
5561
|
+
(j) => j.property === "inwardEchoes" || j.id === "inwardEchoes"
|
|
5562
|
+
), z = !!(P && v >= (P.delay || 0) && v <= (P.delay || 0) + (P.durationInFrames || 120)), O = (tt = (pt = i == null ? void 0 : i.loop) == null ? void 0 : pt.composition) == null ? void 0 : tt.find(
|
|
5563
|
+
(j) => j.property === "wiggle" || j.id === "wiggle"
|
|
5564
|
+
), A = !!(O && v >= (O.delay || 0) && v <= (O.delay || 0) + (O.durationInFrames || 120)), J = (et = (st = i == null ? void 0 : i.loop) == null ? void 0 : st.composition) == null ? void 0 : et.find(
|
|
5565
|
+
(j) => j.property === "cardFlip" || j.id === "cardFlip"
|
|
5566
|
+
), Z = !!(J && v >= (J.delay || 0) && v <= (J.delay || 0) + (J.durationInFrames || 120)), D = [
|
|
5567
|
+
...((ct = i == null ? void 0 : i.in) == null ? void 0 : ct.composition) || [],
|
|
5568
|
+
...((dt = i == null ? void 0 : i.out) == null ? void 0 : dt.composition) || [],
|
|
5569
|
+
...((yt = i == null ? void 0 : i.timed) == null ? void 0 : yt.composition) || [],
|
|
5570
|
+
...((bt = i == null ? void 0 : i.loop) == null ? void 0 : bt.composition) || []
|
|
5571
|
+
], L = a.width || d.width || 300, H = a.height || d.height || 300, G = /* @__PURE__ */ f(
|
|
5562
5572
|
sr,
|
|
5563
5573
|
{
|
|
5564
5574
|
"data-id": t.id,
|
|
5565
|
-
startFrom: ((
|
|
5566
|
-
endAt: (((
|
|
5575
|
+
startFrom: ((St = t.trim) == null ? void 0 : St.from) / 1e3 * n,
|
|
5576
|
+
endAt: (((lt = t.trim) == null ? void 0 : lt.to) / 1e3 * n || 1 / n) / e,
|
|
5567
5577
|
playbackRate: e,
|
|
5568
5578
|
src: a.src,
|
|
5569
5579
|
volume: (a.volume || 0) / 100,
|
|
@@ -5573,11 +5583,11 @@ const Bn = ({
|
|
|
5573
5583
|
width: "100%",
|
|
5574
5584
|
height: "100%",
|
|
5575
5585
|
filter: Y || void 0,
|
|
5576
|
-
clipPath: k
|
|
5586
|
+
clipPath: u > 0 || d.x || d.y ? k : void 0
|
|
5577
5587
|
}
|
|
5578
5588
|
}
|
|
5579
|
-
),
|
|
5580
|
-
|
|
5589
|
+
), ft = () => X ? /* @__PURE__ */ f(
|
|
5590
|
+
bn,
|
|
5581
5591
|
{
|
|
5582
5592
|
src: a.src,
|
|
5583
5593
|
isVideo: !0,
|
|
@@ -5596,7 +5606,7 @@ const Bn = ({
|
|
|
5596
5606
|
marqueeDetails: F == null ? void 0 : F.details
|
|
5597
5607
|
}
|
|
5598
5608
|
) : z ? /* @__PURE__ */ f(
|
|
5599
|
-
|
|
5609
|
+
vn,
|
|
5600
5610
|
{
|
|
5601
5611
|
src: a.src,
|
|
5602
5612
|
isVideo: !0,
|
|
@@ -5614,8 +5624,8 @@ const Bn = ({
|
|
|
5614
5624
|
fps: n,
|
|
5615
5625
|
echoesDetails: P == null ? void 0 : P.details
|
|
5616
5626
|
}
|
|
5617
|
-
) :
|
|
5618
|
-
|
|
5627
|
+
) : A ? /* @__PURE__ */ f(
|
|
5628
|
+
gn,
|
|
5619
5629
|
{
|
|
5620
5630
|
src: a.src,
|
|
5621
5631
|
isVideo: !0,
|
|
@@ -5633,30 +5643,30 @@ const Bn = ({
|
|
|
5633
5643
|
fps: n,
|
|
5634
5644
|
wiggleDetails: O == null ? void 0 : O.details
|
|
5635
5645
|
}
|
|
5636
|
-
) :
|
|
5646
|
+
) : Z ? /* @__PURE__ */ f(
|
|
5637
5647
|
Wr,
|
|
5638
5648
|
{
|
|
5639
5649
|
frame: v,
|
|
5640
|
-
delay:
|
|
5641
|
-
durationInFrames:
|
|
5642
|
-
from:
|
|
5643
|
-
to:
|
|
5644
|
-
width:
|
|
5650
|
+
delay: J == null ? void 0 : J.delay,
|
|
5651
|
+
durationInFrames: J == null ? void 0 : J.durationInFrames,
|
|
5652
|
+
from: J == null ? void 0 : J.from,
|
|
5653
|
+
to: J == null ? void 0 : J.to,
|
|
5654
|
+
width: L,
|
|
5645
5655
|
height: H,
|
|
5646
5656
|
borderRadius: R.borderRadius,
|
|
5647
5657
|
boxShadow: a.boxShadow,
|
|
5648
|
-
cardFlipDetails:
|
|
5658
|
+
cardFlipDetails: J == null ? void 0 : J.details,
|
|
5649
5659
|
children: G
|
|
5650
5660
|
}
|
|
5651
|
-
) : G,
|
|
5652
|
-
borderWidth:
|
|
5653
|
-
borderColor:
|
|
5654
|
-
...
|
|
5655
|
-
} = a,
|
|
5661
|
+
) : G, {
|
|
5662
|
+
borderWidth: U,
|
|
5663
|
+
borderColor: q,
|
|
5664
|
+
...ot
|
|
5665
|
+
} = a, vt = /* @__PURE__ */ f(
|
|
5656
5666
|
jt,
|
|
5657
5667
|
{
|
|
5658
5668
|
style: {
|
|
5659
|
-
...
|
|
5669
|
+
...ot,
|
|
5660
5670
|
...w,
|
|
5661
5671
|
boxShadow: void 0,
|
|
5662
5672
|
WebkitTextStroke: N
|
|
@@ -5681,10 +5691,10 @@ const Bn = ({
|
|
|
5681
5691
|
Tt,
|
|
5682
5692
|
{
|
|
5683
5693
|
item: t,
|
|
5684
|
-
keyframeAnimations:
|
|
5694
|
+
keyframeAnimations: D,
|
|
5685
5695
|
frame: v,
|
|
5686
5696
|
durationInFrames: g,
|
|
5687
|
-
children: /* @__PURE__ */
|
|
5697
|
+
children: /* @__PURE__ */ gt(
|
|
5688
5698
|
"div",
|
|
5689
5699
|
{
|
|
5690
5700
|
style: {
|
|
@@ -5693,7 +5703,7 @@ const Bn = ({
|
|
|
5693
5703
|
height: "100%"
|
|
5694
5704
|
},
|
|
5695
5705
|
children: [
|
|
5696
|
-
!X && !z && !
|
|
5706
|
+
!X && !z && !A && !Z && a.boxShadow && /* @__PURE__ */ f(
|
|
5697
5707
|
"div",
|
|
5698
5708
|
{
|
|
5699
5709
|
style: {
|
|
@@ -5708,7 +5718,7 @@ const Bn = ({
|
|
|
5708
5718
|
}
|
|
5709
5719
|
}
|
|
5710
5720
|
),
|
|
5711
|
-
/* @__PURE__ */
|
|
5721
|
+
/* @__PURE__ */ gt(
|
|
5712
5722
|
"div",
|
|
5713
5723
|
{
|
|
5714
5724
|
id: `${t.id}-reveal-mask`,
|
|
@@ -5723,29 +5733,39 @@ const Bn = ({
|
|
|
5723
5733
|
overflow: "hidden",
|
|
5724
5734
|
borderRadius: R.borderRadius
|
|
5725
5735
|
},
|
|
5726
|
-
children:
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5736
|
+
children: [
|
|
5737
|
+
/* @__PURE__ */ gt(
|
|
5738
|
+
"div",
|
|
5739
|
+
{
|
|
5740
|
+
style: {
|
|
5741
|
+
...R,
|
|
5742
|
+
overflow: "visible",
|
|
5743
|
+
boxShadow: X ? "none" : R.boxShadow
|
|
5744
|
+
},
|
|
5745
|
+
children: [
|
|
5746
|
+
E ? /* @__PURE__ */ f(
|
|
5747
|
+
_r,
|
|
5748
|
+
{
|
|
5749
|
+
width: L,
|
|
5750
|
+
height: H,
|
|
5751
|
+
effects: E,
|
|
5752
|
+
children: ft()
|
|
5753
|
+
}
|
|
5754
|
+
) : ft(),
|
|
5755
|
+
_.map((j) => /* @__PURE__ */ f("div", { style: j.style }, j.id))
|
|
5756
|
+
]
|
|
5757
|
+
}
|
|
5758
|
+
),
|
|
5759
|
+
!X && !z && !A && !Z && !!a.borderWidth && /* @__PURE__ */ f(
|
|
5760
|
+
"div",
|
|
5761
|
+
{
|
|
5762
|
+
style: {
|
|
5763
|
+
...hn(a, d),
|
|
5764
|
+
backgroundColor: "transparent"
|
|
5765
|
+
}
|
|
5766
|
+
}
|
|
5767
|
+
)
|
|
5768
|
+
]
|
|
5749
5769
|
}
|
|
5750
5770
|
)
|
|
5751
5771
|
]
|
|
@@ -5757,13 +5777,13 @@ const Bn = ({
|
|
|
5757
5777
|
)
|
|
5758
5778
|
}
|
|
5759
5779
|
);
|
|
5760
|
-
return
|
|
5780
|
+
return $t({ item: t, options: r, children: vt });
|
|
5761
5781
|
};
|
|
5762
|
-
function
|
|
5782
|
+
function En({
|
|
5763
5783
|
item: t,
|
|
5764
5784
|
options: r
|
|
5765
5785
|
}) {
|
|
5766
|
-
const { fps: n, frame: s } = r, { details: c } = t, a = t.playbackRate || 1, { from: i, durationInFrames: e } =
|
|
5786
|
+
const { fps: n, frame: s } = r, { details: c } = t, a = t.playbackRate || 1, { from: i, durationInFrames: e } = It(
|
|
5767
5787
|
{
|
|
5768
5788
|
from: t.display.from / a,
|
|
5769
5789
|
to: t.display.to / a
|
|
@@ -5778,7 +5798,7 @@ function Pn({
|
|
|
5778
5798
|
const h = Math.max((s || 0) - i, 0);
|
|
5779
5799
|
p = Math.min(h / e * 100, 100);
|
|
5780
5800
|
}
|
|
5781
|
-
const o = /* @__PURE__ */
|
|
5801
|
+
const o = /* @__PURE__ */ gt(kt, { children: [
|
|
5782
5802
|
/* @__PURE__ */ f(
|
|
5783
5803
|
"div",
|
|
5784
5804
|
{
|
|
@@ -5804,17 +5824,17 @@ function Pn({
|
|
|
5804
5824
|
}
|
|
5805
5825
|
)
|
|
5806
5826
|
] });
|
|
5807
|
-
return
|
|
5827
|
+
return $t({ item: t, options: r, children: o });
|
|
5808
5828
|
}
|
|
5809
|
-
const
|
|
5829
|
+
const ls = (t) => {
|
|
5810
5830
|
let r = 0;
|
|
5811
5831
|
for (let n = 0; n < t.length; n++)
|
|
5812
5832
|
r += t[n] * t[n];
|
|
5813
5833
|
return r = r / t.length, r = Math.sqrt(r), r;
|
|
5814
|
-
},
|
|
5815
|
-
const { minDb: n =
|
|
5816
|
-
return ps(
|
|
5817
|
-
},
|
|
5834
|
+
}, hs = (t) => 20 * Math.log10(t), ps = (t, r, n) => (t - r) / (n - r), fs = (t, r, n) => Math.max(Math.min(t, n), r), ys = -100, bs = -30, zr = (t, r = {}) => {
|
|
5835
|
+
const { minDb: n = ys, maxDb: s = bs } = r, c = hs(t);
|
|
5836
|
+
return fs(ps(c, n, s), 0, 1);
|
|
5837
|
+
}, _n = ({
|
|
5818
5838
|
totalWidth: t,
|
|
5819
5839
|
itemWidth: r,
|
|
5820
5840
|
frequencyData: n,
|
|
@@ -5829,7 +5849,7 @@ const us = (t) => {
|
|
|
5829
5849
|
);
|
|
5830
5850
|
return Math.log(1 + d);
|
|
5831
5851
|
});
|
|
5832
|
-
},
|
|
5852
|
+
}, vs = ({
|
|
5833
5853
|
values: t,
|
|
5834
5854
|
width: r = 400,
|
|
5835
5855
|
height: n = 100,
|
|
@@ -5856,7 +5876,7 @@ const us = (t) => {
|
|
|
5856
5876
|
u
|
|
5857
5877
|
);
|
|
5858
5878
|
}) }) });
|
|
5859
|
-
},
|
|
5879
|
+
}, gs = ({
|
|
5860
5880
|
width: t,
|
|
5861
5881
|
height: r,
|
|
5862
5882
|
frequencyData: n,
|
|
@@ -5868,7 +5888,7 @@ const us = (t) => {
|
|
|
5868
5888
|
maxDb: p,
|
|
5869
5889
|
minDb: o
|
|
5870
5890
|
}) => {
|
|
5871
|
-
const h = Er(null), d =
|
|
5891
|
+
const h = Er(null), d = Nt(), [u, l] = fr({ width: 400, height: 100 });
|
|
5872
5892
|
er(() => {
|
|
5873
5893
|
l((m) => {
|
|
5874
5894
|
var M, S;
|
|
@@ -5878,7 +5898,7 @@ const us = (t) => {
|
|
|
5878
5898
|
};
|
|
5879
5899
|
});
|
|
5880
5900
|
}, [d, l]);
|
|
5881
|
-
const { width: b, height: y } = u, x =
|
|
5901
|
+
const { width: b, height: y } = u, x = _n({
|
|
5882
5902
|
totalWidth: b,
|
|
5883
5903
|
itemWidth: s + c,
|
|
5884
5904
|
frequencyData: n,
|
|
@@ -5886,7 +5906,7 @@ const us = (t) => {
|
|
|
5886
5906
|
minDb: o
|
|
5887
5907
|
});
|
|
5888
5908
|
return /* @__PURE__ */ f("div", { ref: h, style: { width: t, height: r }, children: /* @__PURE__ */ f(
|
|
5889
|
-
|
|
5909
|
+
vs,
|
|
5890
5910
|
{
|
|
5891
5911
|
width: b,
|
|
5892
5912
|
height: y,
|
|
@@ -5899,7 +5919,7 @@ const us = (t) => {
|
|
|
5899
5919
|
}
|
|
5900
5920
|
) });
|
|
5901
5921
|
};
|
|
5902
|
-
class
|
|
5922
|
+
class ms {
|
|
5903
5923
|
constructor() {
|
|
5904
5924
|
Bt(this, "fps", 30);
|
|
5905
5925
|
Bt(this, "numberOfSamples", 512);
|
|
@@ -5917,7 +5937,7 @@ class gs {
|
|
|
5917
5937
|
}
|
|
5918
5938
|
async loadAudioData(r, n) {
|
|
5919
5939
|
try {
|
|
5920
|
-
const s = await
|
|
5940
|
+
const s = await uo(r);
|
|
5921
5941
|
this.audioDatas[n] = {
|
|
5922
5942
|
data: s,
|
|
5923
5943
|
lastAccessed: Date.now()
|
|
@@ -5948,7 +5968,7 @@ class gs {
|
|
|
5948
5968
|
validateUpdateItems(r) {
|
|
5949
5969
|
r.forEach((n) => {
|
|
5950
5970
|
this.items.forEach((s) => {
|
|
5951
|
-
!
|
|
5971
|
+
!ho(s, n) && s.id === n.id && this.updateItem(n);
|
|
5952
5972
|
});
|
|
5953
5973
|
});
|
|
5954
5974
|
}
|
|
@@ -5970,7 +5990,7 @@ class gs {
|
|
|
5970
5990
|
const p = r - this.items[i].display.from * this.fps / 1e3 + (((h = this.items[i].trim) == null ? void 0 : h.from) || 0) * this.fps / 1e3;
|
|
5971
5991
|
if (this.items[i].display.from * this.fps / 1e3 > r || this.items[i].display.to * this.fps / 1e3 < r)
|
|
5972
5992
|
return Array(this.numberOfSamples).fill(0);
|
|
5973
|
-
const o =
|
|
5993
|
+
const o = lo({
|
|
5974
5994
|
audioData: e.data,
|
|
5975
5995
|
frame: p,
|
|
5976
5996
|
fps: this.fps,
|
|
@@ -5988,15 +6008,15 @@ class gs {
|
|
|
5988
6008
|
return c;
|
|
5989
6009
|
}
|
|
5990
6010
|
}
|
|
5991
|
-
const Gt = new
|
|
6011
|
+
const Gt = new ms(), xs = ({
|
|
5992
6012
|
item: t,
|
|
5993
6013
|
options: r
|
|
5994
6014
|
}) => {
|
|
5995
6015
|
const { frame: n, fps: s } = r, { details: c } = t;
|
|
5996
6016
|
Gt.setAudioDataManager(s);
|
|
5997
6017
|
const e = Gt.getAudioDataForFrame(n || 0).slice(0, 0.7 * 512), o = ["middle", "over", "under"].includes(c.placement);
|
|
5998
|
-
return /* @__PURE__ */ f(
|
|
5999
|
-
|
|
6018
|
+
return /* @__PURE__ */ f(kt, { children: /* @__PURE__ */ f(
|
|
6019
|
+
gs,
|
|
6000
6020
|
{
|
|
6001
6021
|
frequencyData: e,
|
|
6002
6022
|
width: c.width,
|
|
@@ -6009,17 +6029,17 @@ const Gt = new gs(), ms = ({
|
|
|
6009
6029
|
}
|
|
6010
6030
|
) });
|
|
6011
6031
|
};
|
|
6012
|
-
function
|
|
6032
|
+
function Wn({
|
|
6013
6033
|
item: t,
|
|
6014
6034
|
options: r
|
|
6015
6035
|
}) {
|
|
6016
|
-
return
|
|
6036
|
+
return $t({ item: t, options: r, children: /* @__PURE__ */ f(kt, { children: /* @__PURE__ */ f(xs, { item: t, options: r }) }) });
|
|
6017
6037
|
}
|
|
6018
|
-
function
|
|
6038
|
+
function Vn({
|
|
6019
6039
|
item: t,
|
|
6020
6040
|
options: r
|
|
6021
6041
|
}) {
|
|
6022
|
-
const { fps: n, frame: s } = r, { details: c } = t, a = t.playbackRate || 1, { from: i, durationInFrames: e } =
|
|
6042
|
+
const { fps: n, frame: s } = r, { details: c } = t, a = t.playbackRate || 1, { from: i, durationInFrames: e } = It(
|
|
6023
6043
|
{
|
|
6024
6044
|
from: t.display.from / a,
|
|
6025
6045
|
to: t.display.to / a
|
|
@@ -6034,7 +6054,7 @@ function Wn({
|
|
|
6034
6054
|
const b = Math.max((s || 0) - i, 0);
|
|
6035
6055
|
p = Math.min(b / e * 100, 100);
|
|
6036
6056
|
}
|
|
6037
|
-
const o = c.width || 100, h = c.height || 100, u = Math.min(o, h) * c.barThickness / 100, l = /* @__PURE__ */ f(
|
|
6057
|
+
const o = c.width || 100, h = c.height || 100, u = Math.min(o, h) * c.barThickness / 100, l = /* @__PURE__ */ f(kt, { children: /* @__PURE__ */ f(
|
|
6038
6058
|
"div",
|
|
6039
6059
|
{
|
|
6040
6060
|
style: {
|
|
@@ -6044,7 +6064,7 @@ function Wn({
|
|
|
6044
6064
|
backgroundColor: "transparent",
|
|
6045
6065
|
scale: `${c.flipX ? -1 : 1} ${c.flipY ? -1 : 1}`
|
|
6046
6066
|
},
|
|
6047
|
-
children: /* @__PURE__ */
|
|
6067
|
+
children: /* @__PURE__ */ gt(
|
|
6048
6068
|
"div",
|
|
6049
6069
|
{
|
|
6050
6070
|
style: {
|
|
@@ -6082,9 +6102,9 @@ function Wn({
|
|
|
6082
6102
|
)
|
|
6083
6103
|
}
|
|
6084
6104
|
) });
|
|
6085
|
-
return
|
|
6105
|
+
return $t({ item: t, options: r, children: l });
|
|
6086
6106
|
}
|
|
6087
|
-
const
|
|
6107
|
+
const $s = ({
|
|
6088
6108
|
values: t,
|
|
6089
6109
|
radius: r,
|
|
6090
6110
|
lineThickness: n,
|
|
@@ -6121,7 +6141,7 @@ const xs = ({
|
|
|
6121
6141
|
})
|
|
6122
6142
|
}
|
|
6123
6143
|
) });
|
|
6124
|
-
},
|
|
6144
|
+
}, Ss = ({
|
|
6125
6145
|
frequencyData: t,
|
|
6126
6146
|
maxDb: r,
|
|
6127
6147
|
minDb: n,
|
|
@@ -6134,7 +6154,7 @@ const xs = ({
|
|
|
6134
6154
|
innerRadius: o = 0,
|
|
6135
6155
|
gapSize: h = 4
|
|
6136
6156
|
}) => {
|
|
6137
|
-
const d = 0.5 * s, u =
|
|
6157
|
+
const d = 0.5 * s, u = _n({
|
|
6138
6158
|
totalWidth: 2 * Math.PI * o,
|
|
6139
6159
|
itemWidth: c + h,
|
|
6140
6160
|
frequencyData: t,
|
|
@@ -6142,7 +6162,7 @@ const xs = ({
|
|
|
6142
6162
|
minDb: n
|
|
6143
6163
|
}), l = u.slice(Math.floor(0.5 * u.length)), b = [...l, ...l.slice().reverse()];
|
|
6144
6164
|
return /* @__PURE__ */ f(
|
|
6145
|
-
|
|
6165
|
+
$s,
|
|
6146
6166
|
{
|
|
6147
6167
|
values: b,
|
|
6148
6168
|
radius: d,
|
|
@@ -6154,16 +6174,16 @@ const xs = ({
|
|
|
6154
6174
|
innerRadius: o
|
|
6155
6175
|
}
|
|
6156
6176
|
);
|
|
6157
|
-
},
|
|
6177
|
+
}, Ms = ({
|
|
6158
6178
|
item: t,
|
|
6159
6179
|
options: r
|
|
6160
6180
|
}) => {
|
|
6161
6181
|
const { fps: n, frame: s } = r, { details: c } = t, a = t.playbackRate || 1;
|
|
6162
6182
|
Gt.setAudioDataManager(n);
|
|
6163
6183
|
const p = Gt.getAudioDataForFrame(s || 0).slice(0, 0.7 * 512);
|
|
6164
|
-
return /* @__PURE__ */
|
|
6184
|
+
return /* @__PURE__ */ gt(kt, { children: [
|
|
6165
6185
|
/* @__PURE__ */ f(
|
|
6166
|
-
|
|
6186
|
+
Ss,
|
|
6167
6187
|
{
|
|
6168
6188
|
frequencyData: p,
|
|
6169
6189
|
diameter: c.width,
|
|
@@ -6174,13 +6194,13 @@ const xs = ({
|
|
|
6174
6194
|
c.reproduceAudio && c.srcs.map((o, h) => /* @__PURE__ */ f(an, { playbackRate: a, src: o }, h))
|
|
6175
6195
|
] });
|
|
6176
6196
|
};
|
|
6177
|
-
function
|
|
6197
|
+
function Cn({
|
|
6178
6198
|
item: t,
|
|
6179
6199
|
options: r
|
|
6180
6200
|
}) {
|
|
6181
|
-
return
|
|
6201
|
+
return $t({ item: t, options: r, children: /* @__PURE__ */ f(kt, { children: /* @__PURE__ */ f(Ms, { item: t, options: r }) }) });
|
|
6182
6202
|
}
|
|
6183
|
-
const
|
|
6203
|
+
const ws = ({
|
|
6184
6204
|
numberOfPoints: t,
|
|
6185
6205
|
amplitude: r,
|
|
6186
6206
|
offsetPixels: n,
|
|
@@ -6194,7 +6214,7 @@ const Ms = ({
|
|
|
6194
6214
|
let d = Math.sin(Math.abs(o) * Math.PI);
|
|
6195
6215
|
return d = I.cubic(d), d = d * r, d = d * Math.sin((0.5 + e) * Math.PI), { x: h, y: d };
|
|
6196
6216
|
}).sort((i, e) => i.x > e.x ? 1 : -1);
|
|
6197
|
-
},
|
|
6217
|
+
}, Is = ({
|
|
6198
6218
|
sections: t = 12,
|
|
6199
6219
|
offsetPixels: r,
|
|
6200
6220
|
amplitude: n,
|
|
@@ -6209,7 +6229,7 @@ const Ms = ({
|
|
|
6209
6229
|
}) => {
|
|
6210
6230
|
const d = s, u = c, l = t, b = r % (2 * s / t), y = Array.from({ length: a }).map(($, k) => {
|
|
6211
6231
|
const g = k * i;
|
|
6212
|
-
return
|
|
6232
|
+
return ws({
|
|
6213
6233
|
width: d,
|
|
6214
6234
|
numberOfPoints: l,
|
|
6215
6235
|
offsetPixels: g + b,
|
|
@@ -6235,7 +6255,7 @@ const Ms = ({
|
|
|
6235
6255
|
`line-${k}`
|
|
6236
6256
|
);
|
|
6237
6257
|
}) }) });
|
|
6238
|
-
},
|
|
6258
|
+
}, ks = ({
|
|
6239
6259
|
frequencyData: t,
|
|
6240
6260
|
width: r,
|
|
6241
6261
|
height: n,
|
|
@@ -6244,11 +6264,11 @@ const Ms = ({
|
|
|
6244
6264
|
minDb: a,
|
|
6245
6265
|
...i
|
|
6246
6266
|
}) => {
|
|
6247
|
-
const e =
|
|
6267
|
+
const e = Nt(), { fps: p } = cn();
|
|
6248
6268
|
if (!t) return null;
|
|
6249
|
-
const o = t.slice(0.25 * t.length).map((u) => zr(u, { maxDb: c, minDb: a })), h = n *
|
|
6269
|
+
const o = t.slice(0.25 * t.length).map((u) => zr(u, { maxDb: c, minDb: a })), h = n * ls(o), d = e / p;
|
|
6250
6270
|
return /* @__PURE__ */ f("div", { style: { width: r, height: n }, children: /* @__PURE__ */ f(
|
|
6251
|
-
|
|
6271
|
+
Is,
|
|
6252
6272
|
{
|
|
6253
6273
|
width: r,
|
|
6254
6274
|
height: n,
|
|
@@ -6257,15 +6277,15 @@ const Ms = ({
|
|
|
6257
6277
|
...i
|
|
6258
6278
|
}
|
|
6259
6279
|
) });
|
|
6260
|
-
},
|
|
6280
|
+
}, Ns = ({
|
|
6261
6281
|
item: t,
|
|
6262
6282
|
options: r
|
|
6263
6283
|
}) => {
|
|
6264
6284
|
const { frame: n, fps: s } = r, { details: c } = t;
|
|
6265
6285
|
Gt.setAudioDataManager(s);
|
|
6266
6286
|
const e = Gt.getAudioDataForFrame(n || 0).slice(0, 0.7 * 512);
|
|
6267
|
-
return /* @__PURE__ */ f(
|
|
6268
|
-
|
|
6287
|
+
return /* @__PURE__ */ f(kt, { children: /* @__PURE__ */ f(
|
|
6288
|
+
ks,
|
|
6269
6289
|
{
|
|
6270
6290
|
frequencyData: e,
|
|
6271
6291
|
width: c.width,
|
|
@@ -6280,17 +6300,17 @@ const Ms = ({
|
|
|
6280
6300
|
}
|
|
6281
6301
|
) });
|
|
6282
6302
|
};
|
|
6283
|
-
function
|
|
6303
|
+
function On({
|
|
6284
6304
|
item: t,
|
|
6285
6305
|
options: r
|
|
6286
6306
|
}) {
|
|
6287
|
-
return
|
|
6307
|
+
return $t({ item: t, options: r, children: /* @__PURE__ */ f(kt, { children: /* @__PURE__ */ f(Ns, { item: t, options: r }) }) });
|
|
6288
6308
|
}
|
|
6289
|
-
const
|
|
6309
|
+
const Rs = (t, r) => {
|
|
6290
6310
|
if (!r || r === t.length) return [...t];
|
|
6291
6311
|
const n = r % t.length;
|
|
6292
6312
|
return [...t.slice(n), ...t.slice(0, n)];
|
|
6293
|
-
},
|
|
6313
|
+
}, Fs = ({
|
|
6294
6314
|
numberOfBumps: t = 8,
|
|
6295
6315
|
frequencyData: r,
|
|
6296
6316
|
maxDb: n = -30,
|
|
@@ -6301,7 +6321,7 @@ const Ns = (t, r) => {
|
|
|
6301
6321
|
e[d * p % e.length],
|
|
6302
6322
|
{ maxDb: n, minDb: s }
|
|
6303
6323
|
));
|
|
6304
|
-
},
|
|
6324
|
+
}, Ys = ({
|
|
6305
6325
|
values: t,
|
|
6306
6326
|
width: r = 400,
|
|
6307
6327
|
height: n = 100,
|
|
@@ -6326,9 +6346,9 @@ const Ns = (t, r) => {
|
|
|
6326
6346
|
scaling: 0.5
|
|
6327
6347
|
}, b = 0.15 * o, y = (o - 2 * b) / (t.length - 1), x = Array.from({ length: e }).map((m, M) => {
|
|
6328
6348
|
const S = 3 * M;
|
|
6329
|
-
return
|
|
6349
|
+
return Rs(t, S).map((k, g) => ({
|
|
6330
6350
|
x: b + g * y,
|
|
6331
|
-
y: d * h * k * (1.2 - 0.5 *
|
|
6351
|
+
y: d * h * k * (1.2 - 0.5 * no(M * t.length + g))
|
|
6332
6352
|
}));
|
|
6333
6353
|
});
|
|
6334
6354
|
return /* @__PURE__ */ f("div", { style: { width: r, height: n }, children: /* @__PURE__ */ f("svg", { width: o, height: h, viewBox: `0 ${u} ${o} ${h}`, children: x.map((m, M) => {
|
|
@@ -6340,7 +6360,7 @@ const Ns = (t, r) => {
|
|
|
6340
6360
|
mixBlendMode: p
|
|
6341
6361
|
}
|
|
6342
6362
|
};
|
|
6343
|
-
return /* @__PURE__ */
|
|
6363
|
+
return /* @__PURE__ */ gt(Vt.Fragment, { children: [
|
|
6344
6364
|
i !== "over" && /* @__PURE__ */ f(
|
|
6345
6365
|
"path",
|
|
6346
6366
|
{
|
|
@@ -6363,7 +6383,7 @@ const Ns = (t, r) => {
|
|
|
6363
6383
|
)
|
|
6364
6384
|
] }, M);
|
|
6365
6385
|
}) }) });
|
|
6366
|
-
},
|
|
6386
|
+
}, Xs = ({
|
|
6367
6387
|
width: t,
|
|
6368
6388
|
height: r,
|
|
6369
6389
|
frequencyData: n,
|
|
@@ -6375,7 +6395,7 @@ const Ns = (t, r) => {
|
|
|
6375
6395
|
maxDb: p,
|
|
6376
6396
|
minDb: o
|
|
6377
6397
|
}) => {
|
|
6378
|
-
const h = Er(null), d =
|
|
6398
|
+
const h = Er(null), d = Nt(), [u, l] = fr({ width: 400, height: 100 });
|
|
6379
6399
|
er(() => {
|
|
6380
6400
|
l((m) => {
|
|
6381
6401
|
var M, S;
|
|
@@ -6387,9 +6407,9 @@ const Ns = (t, r) => {
|
|
|
6387
6407
|
}, [d, l]);
|
|
6388
6408
|
const { width: b, height: y } = u;
|
|
6389
6409
|
if (!n) return null;
|
|
6390
|
-
const x =
|
|
6410
|
+
const x = Fs({ frequencyData: n, minDb: o, maxDb: p });
|
|
6391
6411
|
return /* @__PURE__ */ f("div", { ref: h, style: { width: t, height: r }, children: /* @__PURE__ */ f(
|
|
6392
|
-
|
|
6412
|
+
Ys,
|
|
6393
6413
|
{
|
|
6394
6414
|
values: x,
|
|
6395
6415
|
width: b,
|
|
@@ -6401,7 +6421,7 @@ const Ns = (t, r) => {
|
|
|
6401
6421
|
blendMode: i
|
|
6402
6422
|
}
|
|
6403
6423
|
) });
|
|
6404
|
-
},
|
|
6424
|
+
}, Bs = ({
|
|
6405
6425
|
item: t,
|
|
6406
6426
|
options: r
|
|
6407
6427
|
}) => {
|
|
@@ -6425,8 +6445,8 @@ const Ns = (t, r) => {
|
|
|
6425
6445
|
"color",
|
|
6426
6446
|
"luminosity"
|
|
6427
6447
|
].includes(o);
|
|
6428
|
-
return /* @__PURE__ */ f(
|
|
6429
|
-
|
|
6448
|
+
return /* @__PURE__ */ f(kt, { children: /* @__PURE__ */ f(
|
|
6449
|
+
Xs,
|
|
6430
6450
|
{
|
|
6431
6451
|
frequencyData: e,
|
|
6432
6452
|
width: c.width,
|
|
@@ -6439,24 +6459,24 @@ const Ns = (t, r) => {
|
|
|
6439
6459
|
}
|
|
6440
6460
|
) });
|
|
6441
6461
|
};
|
|
6442
|
-
function
|
|
6462
|
+
function zn({
|
|
6443
6463
|
item: t,
|
|
6444
6464
|
options: r
|
|
6445
6465
|
}) {
|
|
6446
|
-
return
|
|
6466
|
+
return $t({ item: t, options: r, children: /* @__PURE__ */ f(kt, { children: /* @__PURE__ */ f(Bs, { item: t, options: r }) }) });
|
|
6447
6467
|
}
|
|
6448
|
-
const
|
|
6468
|
+
const Gn = ({
|
|
6449
6469
|
item: t,
|
|
6450
6470
|
options: r
|
|
6451
6471
|
}) => {
|
|
6452
6472
|
var u, l, b, y;
|
|
6453
|
-
const { fps: n, frame: s } = r, { details: c, animations: a } = t, { animationIn: i, animationOut: e, animationTimed: p } =
|
|
6473
|
+
const { fps: n, frame: s } = r, { details: c, animations: a } = t, { animationIn: i, animationOut: e, animationTimed: p } = Rt(
|
|
6454
6474
|
a,
|
|
6455
6475
|
t,
|
|
6456
6476
|
s,
|
|
6457
6477
|
n,
|
|
6458
6478
|
r
|
|
6459
|
-
), { durationInFrames: o } =
|
|
6479
|
+
), { durationInFrames: o } = It(t.display, n), h = (s || 0) - t.display.from * n / 1e3, d = /* @__PURE__ */ f(
|
|
6460
6480
|
jt,
|
|
6461
6481
|
{
|
|
6462
6482
|
style: Pt(c),
|
|
@@ -6486,15 +6506,15 @@ const zn = ({
|
|
|
6486
6506
|
],
|
|
6487
6507
|
frame: h,
|
|
6488
6508
|
durationInFrames: o,
|
|
6489
|
-
children: /* @__PURE__ */ f("div", { style:
|
|
6509
|
+
children: /* @__PURE__ */ f("div", { style: mo(c) })
|
|
6490
6510
|
}
|
|
6491
6511
|
)
|
|
6492
6512
|
}
|
|
6493
6513
|
)
|
|
6494
6514
|
}
|
|
6495
6515
|
);
|
|
6496
|
-
return
|
|
6497
|
-
},
|
|
6516
|
+
return $t({ item: t, options: r, children: d });
|
|
6517
|
+
}, Ps = () => ({
|
|
6498
6518
|
scale: (t) => ({ transform: `scale(${t})` }),
|
|
6499
6519
|
opacity: (t) => ({ opacity: t }),
|
|
6500
6520
|
translateX: (t) => ({ transform: `translateX(${t}%)` }),
|
|
@@ -6525,7 +6545,7 @@ const zn = ({
|
|
|
6525
6545
|
for (let c = 0; c < 6; c += 1)
|
|
6526
6546
|
n.push(c * s + r);
|
|
6527
6547
|
return n;
|
|
6528
|
-
},
|
|
6548
|
+
}, Es = (t, r, n, s = !1) => {
|
|
6529
6549
|
const { from: c, to: a, ease: i } = r, e = r.durationInFrames || 30, p = Number(c), o = Number(a), h = Math.max(1, Number(e));
|
|
6530
6550
|
if (isNaN(p) || isNaN(o))
|
|
6531
6551
|
return p;
|
|
@@ -6554,7 +6574,7 @@ const zn = ({
|
|
|
6554
6574
|
extrapolateRight: "clamp",
|
|
6555
6575
|
easing: i
|
|
6556
6576
|
});
|
|
6557
|
-
},
|
|
6577
|
+
}, jn = (t) => {
|
|
6558
6578
|
if (t == null) return 0;
|
|
6559
6579
|
if (typeof t == "number")
|
|
6560
6580
|
return Number.isNaN(t) ? 0 : t;
|
|
@@ -6567,7 +6587,7 @@ const zn = ({
|
|
|
6567
6587
|
const c = parseFloat(String(t.rotation));
|
|
6568
6588
|
if (!Number.isNaN(c)) return c;
|
|
6569
6589
|
}
|
|
6570
|
-
return t.transform ?
|
|
6590
|
+
return t.transform ? jn(t.transform) : 0;
|
|
6571
6591
|
}
|
|
6572
6592
|
const r = String(t), n = /rotate\((-?[\d.]+)deg\)/.exec(r);
|
|
6573
6593
|
if (n)
|
|
@@ -6591,7 +6611,7 @@ const zn = ({
|
|
|
6591
6611
|
let M = c;
|
|
6592
6612
|
if (M == null || Number.isNaN(M)) {
|
|
6593
6613
|
const F = t.details;
|
|
6594
|
-
M =
|
|
6614
|
+
M = jn((F == null ? void 0 : F.rotate) ?? (F == null ? void 0 : F.rotation) ?? (F == null ? void 0 : F.transform));
|
|
6595
6615
|
}
|
|
6596
6616
|
const S = t.delay || 0, $ = t.durationInFrames || 30, k = s ? [n - $ - S, n - S] : [S, S + $], g = W(r, k, [l, b], {
|
|
6597
6617
|
extrapolateLeft: "clamp",
|
|
@@ -6606,7 +6626,7 @@ const zn = ({
|
|
|
6606
6626
|
transform: `translateX(${Y}px) translateY(${_}px)`
|
|
6607
6627
|
};
|
|
6608
6628
|
}
|
|
6609
|
-
const i =
|
|
6629
|
+
const i = Es(r, t, n, s), e = Ps();
|
|
6610
6630
|
return (e[a] || e.default)(i);
|
|
6611
6631
|
}, rn = (t, r, n, s = !1, c = !1, a) => Vt.useMemo(() => {
|
|
6612
6632
|
if (t.length === 0) return {};
|
|
@@ -6644,7 +6664,7 @@ const zn = ({
|
|
|
6644
6664
|
children: s,
|
|
6645
6665
|
style: c = {}
|
|
6646
6666
|
}) => {
|
|
6647
|
-
const a =
|
|
6667
|
+
const a = Nt(), i = rn(
|
|
6648
6668
|
Ir(t),
|
|
6649
6669
|
n,
|
|
6650
6670
|
a,
|
|
@@ -6681,7 +6701,7 @@ const zn = ({
|
|
|
6681
6701
|
m === "transform" ? x[m] = `${x[m] || ""} ${M || ""}`.trim() : m in x && typeof x[m] == "number" && typeof M == "number" ? x[m] = x[m] * M : x[m] = M;
|
|
6682
6702
|
}), x;
|
|
6683
6703
|
}, [p, o]), b = yr(() => {
|
|
6684
|
-
const x = l.transform || "", { translateX: m, translateY: M, scale: S, rotation: $, rotateY: k } =
|
|
6704
|
+
const x = l.transform || "", { translateX: m, translateY: M, scale: S, rotation: $, rotateY: k } = _s(x);
|
|
6685
6705
|
return `${$} ${m} ${M} ${S} ${k}`.trim();
|
|
6686
6706
|
}, [l]);
|
|
6687
6707
|
let y = i;
|
|
@@ -6717,7 +6737,7 @@ const zn = ({
|
|
|
6717
6737
|
)
|
|
6718
6738
|
}
|
|
6719
6739
|
);
|
|
6720
|
-
},
|
|
6740
|
+
}, _s = (t) => {
|
|
6721
6741
|
let r = "", n = "", s = "scale(1)", c = "", a = "";
|
|
6722
6742
|
const i = t.match(/translateX\([^)]+\)/g);
|
|
6723
6743
|
i && (r = i[i.length - 1]);
|
|
@@ -6739,11 +6759,11 @@ I.ease;
|
|
|
6739
6759
|
I.ease;
|
|
6740
6760
|
I.linear;
|
|
6741
6761
|
I.linear;
|
|
6742
|
-
const
|
|
6762
|
+
const An = ({
|
|
6743
6763
|
item: t,
|
|
6744
6764
|
options: r
|
|
6745
6765
|
}) => {
|
|
6746
|
-
const { fps: n, resizeState: s, frame: c } = r, { details: a, animations: i } = t, { durationInFrames: e } =
|
|
6766
|
+
const { fps: n, resizeState: s, frame: c } = r, { details: a, animations: i } = t, { durationInFrames: e } = It(t.display, n), { animationIn: p, animationOut: o } = Rt(
|
|
6747
6767
|
i,
|
|
6748
6768
|
t,
|
|
6749
6769
|
c,
|
|
@@ -6756,7 +6776,7 @@ const jn = ({
|
|
|
6756
6776
|
animationOut: o,
|
|
6757
6777
|
style: a,
|
|
6758
6778
|
children: /* @__PURE__ */ f(
|
|
6759
|
-
|
|
6779
|
+
po,
|
|
6760
6780
|
{
|
|
6761
6781
|
radius: d,
|
|
6762
6782
|
fill: a.backgroundColor
|
|
@@ -6764,12 +6784,12 @@ const jn = ({
|
|
|
6764
6784
|
)
|
|
6765
6785
|
}
|
|
6766
6786
|
);
|
|
6767
|
-
return
|
|
6768
|
-
},
|
|
6787
|
+
return $t({ item: t, options: r, children: u });
|
|
6788
|
+
}, Ln = ({
|
|
6769
6789
|
item: t,
|
|
6770
6790
|
options: r
|
|
6771
6791
|
}) => {
|
|
6772
|
-
const { fps: n, resizeState: s, frame: c } = r, { details: a, animations: i } = t, { durationInFrames: e } =
|
|
6792
|
+
const { fps: n, resizeState: s, frame: c } = r, { details: a, animations: i } = t, { durationInFrames: e } = It(t.display, n), { animationIn: p, animationOut: o } = Rt(
|
|
6773
6793
|
i,
|
|
6774
6794
|
t,
|
|
6775
6795
|
c,
|
|
@@ -6785,7 +6805,7 @@ const jn = ({
|
|
|
6785
6805
|
animationOut: o,
|
|
6786
6806
|
style: {},
|
|
6787
6807
|
children: /* @__PURE__ */ f(
|
|
6788
|
-
|
|
6808
|
+
fo,
|
|
6789
6809
|
{
|
|
6790
6810
|
length: d ?? 0,
|
|
6791
6811
|
fill: a.backgroundColor,
|
|
@@ -6794,12 +6814,12 @@ const jn = ({
|
|
|
6794
6814
|
)
|
|
6795
6815
|
}
|
|
6796
6816
|
);
|
|
6797
|
-
return
|
|
6798
|
-
},
|
|
6817
|
+
return $t({ item: t, options: r, children: u });
|
|
6818
|
+
}, Hn = ({
|
|
6799
6819
|
item: t,
|
|
6800
6820
|
options: r
|
|
6801
6821
|
}) => {
|
|
6802
|
-
const { fps: n, resizeState: s, frame: c } = r, { details: a, animations: i } = t, { durationInFrames: e } =
|
|
6822
|
+
const { fps: n, resizeState: s, frame: c } = r, { details: a, animations: i } = t, { durationInFrames: e } = It(t.display, n), { animationIn: p, animationOut: o } = Rt(
|
|
6803
6823
|
i,
|
|
6804
6824
|
t,
|
|
6805
6825
|
c,
|
|
@@ -6833,7 +6853,7 @@ const jn = ({
|
|
|
6833
6853
|
animationOut: o,
|
|
6834
6854
|
style: a,
|
|
6835
6855
|
children: /* @__PURE__ */ f(
|
|
6836
|
-
|
|
6856
|
+
yo,
|
|
6837
6857
|
{
|
|
6838
6858
|
points: a.points || 5,
|
|
6839
6859
|
innerRadius: l ?? 0,
|
|
@@ -6843,17 +6863,17 @@ const jn = ({
|
|
|
6843
6863
|
)
|
|
6844
6864
|
}
|
|
6845
6865
|
);
|
|
6846
|
-
return
|
|
6847
|
-
},
|
|
6866
|
+
return $t({ item: t, options: r, children: b });
|
|
6867
|
+
}, Un = ({
|
|
6848
6868
|
item: t,
|
|
6849
6869
|
options: r
|
|
6850
6870
|
}) => {
|
|
6851
|
-
const { fps: n, resizeState: s, frame: c } = r, { details: a, animations: i } = t, { animationIn: e, animationOut: p } =
|
|
6871
|
+
const { fps: n, resizeState: s, frame: c } = r, { details: a, animations: i } = t, { animationIn: e, animationOut: p } = Rt(
|
|
6852
6872
|
i,
|
|
6853
6873
|
t,
|
|
6854
6874
|
c,
|
|
6855
6875
|
n
|
|
6856
|
-
), { durationInFrames: o } =
|
|
6876
|
+
), { durationInFrames: o } = It(t.display, n), h = s == null ? void 0 : s[t.id], d = (b, y) => {
|
|
6857
6877
|
const x = y, m = y, M = Math.PI * 2 / b;
|
|
6858
6878
|
let S = Number.POSITIVE_INFINITY, $ = Number.NEGATIVE_INFINITY, k = Number.POSITIVE_INFINITY, g = Number.NEGATIVE_INFINITY;
|
|
6859
6879
|
for (let v = 0; v < b; v++) {
|
|
@@ -6881,7 +6901,7 @@ const jn = ({
|
|
|
6881
6901
|
animationOut: p,
|
|
6882
6902
|
style: a,
|
|
6883
6903
|
children: /* @__PURE__ */ f(
|
|
6884
|
-
|
|
6904
|
+
bo,
|
|
6885
6905
|
{
|
|
6886
6906
|
points: a.points || 3,
|
|
6887
6907
|
radius: u ?? 0,
|
|
@@ -6890,12 +6910,12 @@ const jn = ({
|
|
|
6890
6910
|
)
|
|
6891
6911
|
}
|
|
6892
6912
|
);
|
|
6893
|
-
return
|
|
6894
|
-
},
|
|
6913
|
+
return $t({ item: t, options: r, children: l });
|
|
6914
|
+
}, Zn = ({
|
|
6895
6915
|
item: t,
|
|
6896
6916
|
options: r
|
|
6897
6917
|
}) => {
|
|
6898
|
-
const { fps: n, resizeState: s, frame: c } = r, { details: a, animations: i } = t, { durationInFrames: e } =
|
|
6918
|
+
const { fps: n, resizeState: s, frame: c } = r, { details: a, animations: i } = t, { durationInFrames: e } = It(t.display, n), { animationIn: p, animationOut: o } = Rt(
|
|
6899
6919
|
i,
|
|
6900
6920
|
t,
|
|
6901
6921
|
c,
|
|
@@ -6908,7 +6928,7 @@ const jn = ({
|
|
|
6908
6928
|
animationOut: o,
|
|
6909
6929
|
style: a,
|
|
6910
6930
|
children: /* @__PURE__ */ f(
|
|
6911
|
-
|
|
6931
|
+
vo,
|
|
6912
6932
|
{
|
|
6913
6933
|
rx: d ?? 0,
|
|
6914
6934
|
ry: u ?? 0,
|
|
@@ -6919,8 +6939,8 @@ const jn = ({
|
|
|
6919
6939
|
)
|
|
6920
6940
|
}
|
|
6921
6941
|
);
|
|
6922
|
-
return
|
|
6923
|
-
},
|
|
6942
|
+
return $t({ item: t, options: r, children: l });
|
|
6943
|
+
}, Ws = () => ({
|
|
6924
6944
|
scale: (t) => ({ transform: `scale(${t})` }),
|
|
6925
6945
|
opacity: (t) => ({ opacity: t }),
|
|
6926
6946
|
translateX: (t) => ({ transform: `translateX(${t}%)` }),
|
|
@@ -7003,7 +7023,7 @@ const jn = ({
|
|
|
7003
7023
|
for (let c = 0; c < 6; c += 1)
|
|
7004
7024
|
n.push(c * s + r);
|
|
7005
7025
|
return n;
|
|
7006
|
-
},
|
|
7026
|
+
}, Vs = (t, r, n, s = !1) => {
|
|
7007
7027
|
const { from: c, to: a, ease: i } = r, e = r.durationInFrames || 30, p = Number(c), o = Number(a), h = Math.max(1, Number(e));
|
|
7008
7028
|
if (isNaN(p) || isNaN(o))
|
|
7009
7029
|
return p;
|
|
@@ -7032,7 +7052,7 @@ const jn = ({
|
|
|
7032
7052
|
extrapolateRight: "clamp",
|
|
7033
7053
|
easing: i
|
|
7034
7054
|
});
|
|
7035
|
-
},
|
|
7055
|
+
}, Qn = (t) => {
|
|
7036
7056
|
if (t == null) return 0;
|
|
7037
7057
|
if (typeof t == "number")
|
|
7038
7058
|
return Number.isNaN(t) ? 0 : t;
|
|
@@ -7045,7 +7065,7 @@ const jn = ({
|
|
|
7045
7065
|
const c = parseFloat(String(t.rotation));
|
|
7046
7066
|
if (!Number.isNaN(c)) return c;
|
|
7047
7067
|
}
|
|
7048
|
-
return t.transform ?
|
|
7068
|
+
return t.transform ? Qn(t.transform) : 0;
|
|
7049
7069
|
}
|
|
7050
7070
|
const r = String(t), n = /rotate\((-?[\d.]+)deg\)/.exec(r);
|
|
7051
7071
|
if (n)
|
|
@@ -7069,7 +7089,7 @@ const jn = ({
|
|
|
7069
7089
|
let M = c;
|
|
7070
7090
|
if (M == null || Number.isNaN(M)) {
|
|
7071
7091
|
const F = t.details;
|
|
7072
|
-
M =
|
|
7092
|
+
M = Qn((F == null ? void 0 : F.rotate) ?? (F == null ? void 0 : F.rotation) ?? (F == null ? void 0 : F.transform));
|
|
7073
7093
|
}
|
|
7074
7094
|
const S = t.delay || 0, $ = t.durationInFrames || 30, k = s ? [n - $ - S, n - S] : [S, S + $], g = W(r, k, [l, b], {
|
|
7075
7095
|
extrapolateLeft: "clamp",
|
|
@@ -7084,7 +7104,7 @@ const jn = ({
|
|
|
7084
7104
|
transform: `translateX(${Y}px) translateY(${_}px)`
|
|
7085
7105
|
};
|
|
7086
7106
|
}
|
|
7087
|
-
const i =
|
|
7107
|
+
const i = Vs(r, t, n, s), e = Ws();
|
|
7088
7108
|
return (e[a] || e.default)(i);
|
|
7089
7109
|
}, kr = (t, r, n, s = !1, c = !1, a) => Vt.useMemo(() => {
|
|
7090
7110
|
if (t.length === 0) return {};
|
|
@@ -7117,7 +7137,7 @@ const jn = ({
|
|
|
7117
7137
|
}), p),
|
|
7118
7138
|
{}
|
|
7119
7139
|
);
|
|
7120
|
-
}, [t, n, r, s, a]), nr = (t) => t ? Array.isArray(t) ? t : [t] : [],
|
|
7140
|
+
}, [t, n, r, s, a]), nr = (t) => t ? Array.isArray(t) ? t : [t] : [], Cs = ({
|
|
7121
7141
|
animationIn: t,
|
|
7122
7142
|
animationOut: r,
|
|
7123
7143
|
animationTimed: n,
|
|
@@ -7169,7 +7189,7 @@ const jn = ({
|
|
|
7169
7189
|
k === "transform" ? $[k] = `${$[k] || ""} ${g || ""}`.trim() : k in $ && typeof $[k] == "number" && typeof g == "number" ? $[k] = $[k] * g : $[k] = g;
|
|
7170
7190
|
}), $;
|
|
7171
7191
|
}, [d, h, u]), b = yr(() => {
|
|
7172
|
-
const $ = l.transform || "", { translateX: k, translateY: g, scale: v, rotation: w, rotateY: N } =
|
|
7192
|
+
const $ = l.transform || "", { translateX: k, translateY: g, scale: v, rotation: w, rotateY: N } = Os($);
|
|
7173
7193
|
return `${w} ${k} ${g} ${v} ${N}`.trim();
|
|
7174
7194
|
}, [l]), {
|
|
7175
7195
|
top: y,
|
|
@@ -7204,7 +7224,7 @@ const jn = ({
|
|
|
7204
7224
|
)
|
|
7205
7225
|
}
|
|
7206
7226
|
);
|
|
7207
|
-
},
|
|
7227
|
+
}, Os = (t) => {
|
|
7208
7228
|
let r = "", n = "", s = "scale(1)", c = "", a = "";
|
|
7209
7229
|
const i = t.match(/translateX\([^)]+\)/g);
|
|
7210
7230
|
i && (r = i[i.length - 1]);
|
|
@@ -7218,12 +7238,12 @@ const jn = ({
|
|
|
7218
7238
|
return h && (a = h[h.length - 1]), { translateX: r, translateY: n, scale: s, rotation: c, rotateY: a };
|
|
7219
7239
|
};
|
|
7220
7240
|
I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.linear, I.elastic(1), I.elastic(1), I.elastic(1), I.elastic(1), I.linear, I.linear, I.linear, I.linear, I.ease, I.ease, I.ease, I.ease, I.ease, I.ease, I.ease, I.ease, I.ease, I.ease;
|
|
7221
|
-
function
|
|
7241
|
+
function Kn({
|
|
7222
7242
|
item: t,
|
|
7223
7243
|
options: r
|
|
7224
7244
|
}) {
|
|
7225
7245
|
var R, C, E, Y, _;
|
|
7226
|
-
const { fps: n, frame: s } = r, { details: c, animations: a } = t, { width: i, height: e, strokeWidth: p, strokeBackground: o, strokeColors: h } = c, { animationIn: d, animationOut: u } =
|
|
7246
|
+
const { fps: n, frame: s } = r, { details: c, animations: a } = t, { width: i, height: e, strokeWidth: p, strokeBackground: o, strokeColors: h } = c, { animationIn: d, animationOut: u } = Rt(a, t), { durationInFrames: l } = It(t.display, n), b = i, y = e, x = p, m = b, M = y, S = b, $ = y, k = m + M + S + $;
|
|
7227
7247
|
let g = 0;
|
|
7228
7248
|
if (((R = a == null ? void 0 : a.out) == null ? void 0 : R.name) === "progressSquareAnimationOut") {
|
|
7229
7249
|
const F = (C = a == null ? void 0 : a.out) == null ? void 0 : C.composition[0].durationInFrames, X = Math.max(
|
|
@@ -7233,7 +7253,7 @@ function Qn({
|
|
|
7233
7253
|
g = Math.min(X / F * 100, 100) / 100, X > F && (g = 1);
|
|
7234
7254
|
}
|
|
7235
7255
|
if (((E = a == null ? void 0 : a.in) == null ? void 0 : E.name) === "progressSquareAnimationIn") {
|
|
7236
|
-
const { from: F } =
|
|
7256
|
+
const { from: F } = It(
|
|
7237
7257
|
{
|
|
7238
7258
|
from: t.display.from,
|
|
7239
7259
|
to: t.display.to
|
|
@@ -7243,7 +7263,7 @@ function Qn({
|
|
|
7243
7263
|
P < X ? g = Math.min(P / X * 100, 100) / 100 : ((_ = a == null ? void 0 : a.out) == null ? void 0 : _.name) !== "progressSquareAnimationOut" && (g = 1);
|
|
7244
7264
|
}
|
|
7245
7265
|
const v = g * 100 / 100 * k, w = h[0] || "#4A90E2", N = /* @__PURE__ */ f(
|
|
7246
|
-
|
|
7266
|
+
Cs,
|
|
7247
7267
|
{
|
|
7248
7268
|
style: Pt(
|
|
7249
7269
|
c,
|
|
@@ -7255,7 +7275,7 @@ function Qn({
|
|
|
7255
7275
|
animationIn: d,
|
|
7256
7276
|
animationOut: u,
|
|
7257
7277
|
durationInFrames: l,
|
|
7258
|
-
children: /* @__PURE__ */
|
|
7278
|
+
children: /* @__PURE__ */ gt(
|
|
7259
7279
|
"div",
|
|
7260
7280
|
{
|
|
7261
7281
|
style: {
|
|
@@ -7282,7 +7302,7 @@ function Qn({
|
|
|
7282
7302
|
}
|
|
7283
7303
|
}
|
|
7284
7304
|
),
|
|
7285
|
-
/* @__PURE__ */
|
|
7305
|
+
/* @__PURE__ */ gt("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: [
|
|
7286
7306
|
/* @__PURE__ */ f(
|
|
7287
7307
|
"div",
|
|
7288
7308
|
{
|
|
@@ -7347,9 +7367,9 @@ function Qn({
|
|
|
7347
7367
|
)
|
|
7348
7368
|
}
|
|
7349
7369
|
);
|
|
7350
|
-
return
|
|
7370
|
+
return $t({ item: t, options: r, children: N });
|
|
7351
7371
|
}
|
|
7352
|
-
const
|
|
7372
|
+
const Jn = (t) => {
|
|
7353
7373
|
const { trackItemIds: r, transitionsMap: n, trackItemsMap: s } = t, c = /* @__PURE__ */ new Map();
|
|
7354
7374
|
Object.values(n).forEach((o) => {
|
|
7355
7375
|
var l, b;
|
|
@@ -7381,58 +7401,58 @@ const Kn = (t) => {
|
|
|
7381
7401
|
return a.forEach((o) => {
|
|
7382
7402
|
o.sort((h, d) => "display" in h && "display" in d ? h.display.from - d.display.from : 0);
|
|
7383
7403
|
}), a;
|
|
7384
|
-
},
|
|
7404
|
+
}, zs = (t, r) => {
|
|
7385
7405
|
switch (t.type) {
|
|
7386
7406
|
case "text":
|
|
7387
|
-
return
|
|
7407
|
+
return Bn({ item: t, options: r });
|
|
7388
7408
|
case "caption":
|
|
7389
|
-
return
|
|
7409
|
+
return fn({ item: t, options: r });
|
|
7390
7410
|
case "shape":
|
|
7391
|
-
return
|
|
7411
|
+
return Nn({ item: t, options: r });
|
|
7392
7412
|
case "rect":
|
|
7393
|
-
return
|
|
7413
|
+
return Gn({ item: t, options: r });
|
|
7394
7414
|
case "circle":
|
|
7395
|
-
return jn({ item: t, options: r });
|
|
7396
|
-
case "triangle":
|
|
7397
7415
|
return An({ item: t, options: r });
|
|
7398
|
-
case "
|
|
7416
|
+
case "triangle":
|
|
7399
7417
|
return Ln({ item: t, options: r });
|
|
7400
|
-
case "
|
|
7418
|
+
case "star":
|
|
7401
7419
|
return Hn({ item: t, options: r });
|
|
7402
|
-
case "
|
|
7420
|
+
case "polygon":
|
|
7403
7421
|
return Un({ item: t, options: r });
|
|
7422
|
+
case "ellipse":
|
|
7423
|
+
return Zn({ item: t, options: r });
|
|
7404
7424
|
case "video":
|
|
7405
|
-
return
|
|
7425
|
+
return Pn({ item: t, options: r });
|
|
7406
7426
|
case "audio":
|
|
7407
|
-
return
|
|
7427
|
+
return pn({ item: t, options: r });
|
|
7408
7428
|
case "image":
|
|
7409
|
-
return
|
|
7429
|
+
return kn({ item: t, options: r });
|
|
7410
7430
|
case "illustration":
|
|
7411
|
-
return
|
|
7431
|
+
return yn({ item: t, options: r });
|
|
7412
7432
|
case "progressBar":
|
|
7413
|
-
return
|
|
7433
|
+
return En({ item: t, options: r });
|
|
7414
7434
|
case "linealAudioBars":
|
|
7415
|
-
return
|
|
7435
|
+
return Wn({ item: t, options: r });
|
|
7416
7436
|
case "waveAudioBars":
|
|
7417
|
-
return Cn({ item: t, options: r });
|
|
7418
|
-
case "hillAudioBars":
|
|
7419
7437
|
return On({ item: t, options: r });
|
|
7438
|
+
case "hillAudioBars":
|
|
7439
|
+
return zn({ item: t, options: r });
|
|
7420
7440
|
case "progressFrame":
|
|
7421
|
-
return Wn({ item: t, options: r });
|
|
7422
|
-
case "radialAudioBars":
|
|
7423
7441
|
return Vn({ item: t, options: r });
|
|
7442
|
+
case "radialAudioBars":
|
|
7443
|
+
return Cn({ item: t, options: r });
|
|
7424
7444
|
case "progressSquare":
|
|
7425
|
-
return
|
|
7445
|
+
return Kn({ item: t, options: r });
|
|
7426
7446
|
default:
|
|
7427
7447
|
return null;
|
|
7428
7448
|
}
|
|
7429
7449
|
};
|
|
7430
|
-
function
|
|
7450
|
+
function Gs({
|
|
7431
7451
|
item: t,
|
|
7432
7452
|
options: r,
|
|
7433
7453
|
renderSequenceItem: n
|
|
7434
7454
|
}) {
|
|
7435
|
-
const s = n ||
|
|
7455
|
+
const s = n || zs, {
|
|
7436
7456
|
editableTextId: c,
|
|
7437
7457
|
onTextBlur: a,
|
|
7438
7458
|
handleTextChange: i,
|
|
@@ -7444,7 +7464,7 @@ function zs({
|
|
|
7444
7464
|
structure: u,
|
|
7445
7465
|
frame: l,
|
|
7446
7466
|
mergedTrackItemsDeatilsMap: b
|
|
7447
|
-
} = r, y = or(o || {}), { trim: x, display: m } = t, M = e && e.some((g) => !!y[g]) ? e : Object.keys(y), S =
|
|
7467
|
+
} = r, y = or(o || {}), { trim: x, display: m } = t, M = e && e.some((g) => !!y[g]) ? e : Object.keys(y), S = Jn({
|
|
7448
7468
|
trackItemIds: or(M),
|
|
7449
7469
|
transitionsMap: or(p || {}),
|
|
7450
7470
|
trackItemsMap: y || {}
|
|
@@ -7461,11 +7481,11 @@ function zs({
|
|
|
7461
7481
|
if (!_) return null;
|
|
7462
7482
|
let F = {}, X = {}, P = [];
|
|
7463
7483
|
if (_.type === "template") {
|
|
7464
|
-
const O = u == null ? void 0 : u.find((
|
|
7484
|
+
const O = u == null ? void 0 : u.find((A) => A.id === _.id);
|
|
7465
7485
|
P = (O == null ? void 0 : O.items) || [];
|
|
7466
|
-
for (const
|
|
7467
|
-
O != null && O.items.includes(
|
|
7468
|
-
...b[
|
|
7486
|
+
for (const A in b)
|
|
7487
|
+
O != null && O.items.includes(A) && (X[A] = {
|
|
7488
|
+
...b[A]
|
|
7469
7489
|
});
|
|
7470
7490
|
return s(_, {
|
|
7471
7491
|
fps: d,
|
|
@@ -7475,7 +7495,7 @@ function zs({
|
|
|
7475
7495
|
itemsTemplateIds: P,
|
|
7476
7496
|
itemsTemplateMap: X,
|
|
7477
7497
|
transitionsTemplateMap: F,
|
|
7478
|
-
itemStructure: u == null ? void 0 : u.find((
|
|
7498
|
+
itemStructure: u == null ? void 0 : u.find((A) => A.id === _.id),
|
|
7479
7499
|
frame: (l ?? 0) - m.from * d / 1e3,
|
|
7480
7500
|
size: {
|
|
7481
7501
|
width: ((C = _.details) == null ? void 0 : C.width) || 0,
|
|
@@ -7507,7 +7527,7 @@ function zs({
|
|
|
7507
7527
|
const w = y[g[0].id], N = (((Y = w == null ? void 0 : w.display) == null ? void 0 : Y.from) || 0) / 1e3 * r.fps;
|
|
7508
7528
|
return /* @__PURE__ */ f(dn, { from: N, children: g.map((_) => {
|
|
7509
7529
|
if (_.type === "transition") {
|
|
7510
|
-
const F = _.duration / 1e3 * d, X =
|
|
7530
|
+
const F = _.duration / 1e3 * d, X = oo[_.kind];
|
|
7511
7531
|
return X ? X({
|
|
7512
7532
|
durationInFrames: F,
|
|
7513
7533
|
id: _.id,
|
|
@@ -7526,9 +7546,9 @@ function zs({
|
|
|
7526
7546
|
});
|
|
7527
7547
|
}) }, v);
|
|
7528
7548
|
});
|
|
7529
|
-
return
|
|
7549
|
+
return $t({ children: k, item: t, options: r });
|
|
7530
7550
|
}
|
|
7531
|
-
function
|
|
7551
|
+
function js({
|
|
7532
7552
|
item: t,
|
|
7533
7553
|
options: r,
|
|
7534
7554
|
renderSequenceItem: n
|
|
@@ -7543,13 +7563,13 @@ function Gs({
|
|
|
7543
7563
|
onTextBlur: p,
|
|
7544
7564
|
handleTextChange: o,
|
|
7545
7565
|
itemStructure: h
|
|
7546
|
-
} = r, { animations: d } = t, { durationInFrames: u } =
|
|
7566
|
+
} = r, { animations: d } = t, { durationInFrames: u } = It(t.display, i), { animationIn: l, animationOut: b, animationTimed: y } = Rt(
|
|
7547
7567
|
d,
|
|
7548
7568
|
t,
|
|
7549
7569
|
e,
|
|
7550
7570
|
i,
|
|
7551
7571
|
r
|
|
7552
|
-
), x = or(a || {}), M =
|
|
7572
|
+
), x = or(a || {}), M = Jn({
|
|
7553
7573
|
trackItemIds: or(c || []),
|
|
7554
7574
|
transitionsMap: {},
|
|
7555
7575
|
trackItemsMap: x
|
|
@@ -7619,75 +7639,75 @@ function Gs({
|
|
|
7619
7639
|
)
|
|
7620
7640
|
}
|
|
7621
7641
|
);
|
|
7622
|
-
return
|
|
7642
|
+
return $t({ item: t, options: r, children: k });
|
|
7623
7643
|
}
|
|
7624
7644
|
const en = {
|
|
7625
|
-
text: (t, r) =>
|
|
7626
|
-
caption: (t, r) =>
|
|
7627
|
-
shape: (t, r) =>
|
|
7628
|
-
rect: (t, r) =>
|
|
7629
|
-
circle: (t, r) =>
|
|
7630
|
-
triangle: (t, r) =>
|
|
7631
|
-
star: (t, r) =>
|
|
7632
|
-
polygon: (t, r) =>
|
|
7633
|
-
ellipse: (t, r) =>
|
|
7634
|
-
video: (t, r) =>
|
|
7635
|
-
audio: (t, r) =>
|
|
7636
|
-
image: (t, r) =>
|
|
7637
|
-
template: (t, r) =>
|
|
7645
|
+
text: (t, r) => Bn({ item: t, options: r }),
|
|
7646
|
+
caption: (t, r) => fn({ item: t, options: r }),
|
|
7647
|
+
shape: (t, r) => Nn({ item: t, options: r }),
|
|
7648
|
+
rect: (t, r) => Gn({ item: t, options: r }),
|
|
7649
|
+
circle: (t, r) => An({ item: t, options: r }),
|
|
7650
|
+
triangle: (t, r) => Ln({ item: t, options: r }),
|
|
7651
|
+
star: (t, r) => Hn({ item: t, options: r }),
|
|
7652
|
+
polygon: (t, r) => Un({ item: t, options: r }),
|
|
7653
|
+
ellipse: (t, r) => Zn({ item: t, options: r }),
|
|
7654
|
+
video: (t, r) => Pn({ item: t, options: r }),
|
|
7655
|
+
audio: (t, r) => pn({ item: t, options: r }),
|
|
7656
|
+
image: (t, r) => kn({ item: t, options: r }),
|
|
7657
|
+
template: (t, r) => Gs({
|
|
7638
7658
|
item: t,
|
|
7639
7659
|
options: r,
|
|
7640
7660
|
renderSequenceItem: (n, s) => en[n.type](n, s)
|
|
7641
7661
|
}),
|
|
7642
|
-
illustration: (t, r) =>
|
|
7643
|
-
progressBar: (t, r) =>
|
|
7644
|
-
linealAudioBars: (t, r) =>
|
|
7645
|
-
waveAudioBars: (t, r) =>
|
|
7646
|
-
hillAudioBars: (t, r) =>
|
|
7647
|
-
progressFrame: (t, r) =>
|
|
7648
|
-
radialAudioBars: (t, r) =>
|
|
7649
|
-
progressSquare: (t, r) =>
|
|
7650
|
-
composition: (t, r) =>
|
|
7662
|
+
illustration: (t, r) => yn({ item: t, options: r }),
|
|
7663
|
+
progressBar: (t, r) => En({ item: t, options: r }),
|
|
7664
|
+
linealAudioBars: (t, r) => Wn({ item: t, options: r }),
|
|
7665
|
+
waveAudioBars: (t, r) => On({ item: t, options: r }),
|
|
7666
|
+
hillAudioBars: (t, r) => zn({ item: t, options: r }),
|
|
7667
|
+
progressFrame: (t, r) => Vn({ item: t, options: r }),
|
|
7668
|
+
radialAudioBars: (t, r) => Cn({ item: t, options: r }),
|
|
7669
|
+
progressSquare: (t, r) => Kn({ item: t, options: r }),
|
|
7670
|
+
composition: (t, r) => js({
|
|
7651
7671
|
item: t,
|
|
7652
7672
|
options: r,
|
|
7653
7673
|
renderSequenceItem: (n, s) => en[n.type](n, s)
|
|
7654
7674
|
})
|
|
7655
7675
|
};
|
|
7656
7676
|
export {
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
|
|
7668
|
-
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
|
|
7677
|
+
pn as Audio,
|
|
7678
|
+
$t as BaseSequence,
|
|
7679
|
+
fn as Caption,
|
|
7680
|
+
An as Circle,
|
|
7681
|
+
js as Composition,
|
|
7682
|
+
Zn as Ellipse,
|
|
7683
|
+
zn as HillAudioBars,
|
|
7684
|
+
yn as Illustration,
|
|
7685
|
+
kn as Image,
|
|
7686
|
+
Wn as LinealAudioBars,
|
|
7687
|
+
Un as Polygon,
|
|
7688
|
+
En as ProgressBar,
|
|
7689
|
+
Vn as ProgressFrame,
|
|
7690
|
+
Kn as ProgressSquare,
|
|
7691
|
+
Cn as RadialAudioBars,
|
|
7692
|
+
Gn as Rect,
|
|
7673
7693
|
_r as SafeHtmlInCanvas,
|
|
7674
7694
|
en as SequenceItem,
|
|
7675
|
-
|
|
7676
|
-
|
|
7677
|
-
|
|
7678
|
-
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
|
|
7682
|
-
|
|
7683
|
-
|
|
7695
|
+
Nn as Shape,
|
|
7696
|
+
Hn as Star,
|
|
7697
|
+
Gs as Template,
|
|
7698
|
+
Bn as Text,
|
|
7699
|
+
Ln as Triangle,
|
|
7700
|
+
Pn as Video,
|
|
7701
|
+
On as WaveAudioBars,
|
|
7702
|
+
hn as calculateBorderOverlayStyles,
|
|
7703
|
+
mo as calculateContainerFigureStyles,
|
|
7684
7704
|
Pt as calculateContainerStyles,
|
|
7685
|
-
|
|
7705
|
+
go as calculateCropStyles,
|
|
7686
7706
|
ln as calculateMediaStyles,
|
|
7687
7707
|
Dt as calculateTextStyles,
|
|
7688
7708
|
Cr as getAnimatedRemotionEffects,
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7709
|
+
Rt as getAnimations,
|
|
7710
|
+
xn as getEffectsCssInfo,
|
|
7711
|
+
Jn as groupTrackItems,
|
|
7692
7712
|
Vr as mapRemotionEffects
|
|
7693
7713
|
};
|