@cliquify.me/elements-ui 9.0.21 → 9.0.23

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.
Files changed (2) hide show
  1. package/dist/index.es.js +569 -569
  2. package/package.json +6 -6
package/dist/index.es.js CHANGED
@@ -1,24 +1,24 @@
1
- var Pi = Object.defineProperty;
2
- var Wi = (t, e, n) => e in t ? Pi(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
- var ve = (t, e, n) => Wi(t, typeof e != "symbol" ? e + "" : e, n);
1
+ var Wi = Object.defineProperty;
2
+ var Ni = (t, e, n) => e in t ? Wi(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
+ var ve = (t, e, n) => Ni(t, typeof e != "symbol" ? e + "" : e, n);
4
4
  import { jsx as a, jsxs as ot, Fragment as zt } from "react/jsx-runtime";
5
- import { Sequence as Ds, AbsoluteFill as mr, Audio as ta, Easing as P, interpolate as st, HtmlInCanvas as Ni, useCurrentFrame as gt, OffthreadVideo as Sn, Img as Ue, useVideoConfig as ea, delayRender as Bi, continueRender as vs, cancelRender as Oi, spring as Vt, random as Yi } from "remotion";
6
- import { TransitionSeries as na, Transitions as Ai } from "@cliquify.me/transitions";
5
+ import { Sequence as Ds, AbsoluteFill as mr, Audio as ta, Easing as P, interpolate as st, HtmlInCanvas as Bi, useCurrentFrame as gt, OffthreadVideo as Sn, Img as Ue, useVideoConfig as ea, delayRender as Oi, continueRender as vs, cancelRender as Yi, spring as Vt, random as Ai } from "remotion";
6
+ import { TransitionSeries as na, Transitions as Xi } from "@cliquify.me/transitions";
7
7
  import { BoxAnim as Pe, ContentAnim as We, MaskAnim as Ze } from "@cliquify.me/animations";
8
8
  import ra from "@emotion/styled";
9
9
  import { css as Gn } from "@emotion/react";
10
- import de, { Component as Xi, useState as Ft, useEffect as Mt, useMemo as Bt, useId as oa, useRef as tt } from "react";
11
- import { chromaticAberration as Ci } from "@remotion/effects/chromatic-aberration";
12
- import { noise as zi } from "@remotion/effects/noise";
13
- import { pixelate as Hi } from "@remotion/effects/pixelate";
14
- import { ENTER_EDIT_MODE as _i } from "@cliquify.me/state";
15
- import { getAudioData as Vi, visualizeAudio as Li } from "@remotion/media-utils";
16
- import { isEqual as ji, cloneDeep as Mn } from "lodash";
17
- import { Circle as Gi, Triangle as Ti, Star as Ui, Polygon as Zi, Ellipse as Qi } from "@remotion/shapes";
10
+ import de, { Component as Ci, useState as Ft, useEffect as Mt, useMemo as Bt, useId as oa, useRef as tt } from "react";
11
+ import { chromaticAberration as zi } from "@remotion/effects/chromatic-aberration";
12
+ import { noise as Hi } from "@remotion/effects/noise";
13
+ import { pixelate as _i } from "@remotion/effects/pixelate";
14
+ import { ENTER_EDIT_MODE as Vi } from "@cliquify.me/state";
15
+ import { getAudioData as Li, visualizeAudio as ji } from "@remotion/media-utils";
16
+ import { isEqual as Gi, cloneDeep as Mn } from "lodash";
17
+ import { Circle as Ti, Triangle as Ui, Star as Zi, Polygon as Qi, Ellipse as Ji } from "@remotion/shapes";
18
18
  const jt = (t, e) => {
19
19
  const n = t.from / 1e3 * e, c = t.to / 1e3 * e - n;
20
20
  return { from: n, durationInFrames: c };
21
- }, Ji = (t, e) => ({
21
+ }, Ki = (t, e) => ({
22
22
  width: t.width || "100%",
23
23
  height: t.height || "auto",
24
24
  top: -(e.y || 0),
@@ -31,7 +31,7 @@ const jt = (t, e) => {
31
31
  ) * ((t.borderRadius || 0) / 100)}px`;
32
32
  return {
33
33
  pointerEvents: "none",
34
- ...Ji(t, e),
34
+ ...Ki(t, e),
35
35
  borderRadius: c,
36
36
  overflow: "hidden",
37
37
  ...n
@@ -92,7 +92,7 @@ const jt = (t, e) => {
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
- }, Ki = (t, e = {}) => ({
95
+ }, qi = (t, e = {}) => ({
96
96
  pointerEvents: "auto",
97
97
  top: t.top || 0,
98
98
  left: t.left || 0,
@@ -264,7 +264,7 @@ function aa({
264
264
  return Ot({ item: t, options: e, children: o });
265
265
  }
266
266
  P.out(P.cubic), P.in(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.in(P.cubic), P.in(P.cubic), P.in(P.cubic), P.in(P.cubic), P.out(P.back(1.7)), P.in(P.back(1.7)), P.out(P.cubic), P.in(P.cubic), P.out(P.cubic), P.in(P.cubic), P.bounce, P.bounce, P.elastic(1), P.elastic(1), P.out(P.cubic), P.out(P.cubic), P.in(P.cubic), P.in(P.cubic), P.out(P.cubic), P.in(P.cubic), P.out(P.cubic), P.in(P.cubic), P.out(P.cubic), P.in(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.in(P.cubic), P.inOut(P.cubic), P.inOut(P.cubic), P.linear, P.inOut(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.linear, P.out(P.cubic), P.out(P.cubic), P.linear, P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic), P.out(P.cubic);
267
- const qi = /* @__PURE__ */ new Set([
267
+ const Di = /* @__PURE__ */ new Set([
268
268
  "none",
269
269
  "linear",
270
270
  "custom",
@@ -280,7 +280,7 @@ const qi = /* @__PURE__ */ new Set([
280
280
  "elastic",
281
281
  "overshoot",
282
282
  "impulse"
283
- ]), Di = [
283
+ ]), tl = [
284
284
  "linear",
285
285
  "ease",
286
286
  "quad",
@@ -295,8 +295,8 @@ const qi = /* @__PURE__ */ new Set([
295
295
  if (typeof (t == null ? void 0 : t.ease) == "function")
296
296
  return t.ease;
297
297
  const e = t == null ? void 0 : t.easing;
298
- return typeof e != "string" || !e ? P.linear : qi.has(e) ? tl(e) : Di.includes(e) ? P[e] : P.linear;
299
- }, tl = (t) => {
298
+ return typeof e != "string" || !e ? P.linear : Di.has(e) ? el(e) : tl.includes(e) ? P[e] : P.linear;
299
+ }, el = (t) => {
300
300
  switch (t) {
301
301
  case "none":
302
302
  case "linear":
@@ -503,7 +503,7 @@ const qi = /* @__PURE__ */ new Set([
503
503
  animationLoop: r,
504
504
  animationTimed: m
505
505
  };
506
- }, el = (t) => {
506
+ }, nl = (t) => {
507
507
  const i = t % 30;
508
508
  let o = 0, u = 0;
509
509
  if (i < 15)
@@ -516,7 +516,7 @@ const qi = /* @__PURE__ */ new Set([
516
516
  }, bs = (t, e, n, c = 10) => {
517
517
  const i = e / (1e3 * c), u = Math.min(t / n, i) / i;
518
518
  return u >= 1 ? 1 : 0.5 + 0.5 * u;
519
- }, nl = ra.span`
519
+ }, rl = ra.span`
520
520
  position: relative;
521
521
  display: inline-block;
522
522
  padding: 0 0.15em;
@@ -557,7 +557,7 @@ const qi = /* @__PURE__ */ new Set([
557
557
  background: ${t.activeFillColor};
558
558
  }
559
559
  `}
560
- `, rl = ra.span`
560
+ `, ol = ra.span`
561
561
  display: inline-block;
562
562
  position: relative;
563
563
  margin: 0;
@@ -581,7 +581,7 @@ const qi = /* @__PURE__ */ new Set([
581
581
  ` : Gn`
582
582
  color: ${t.wordColor};
583
583
  `}
584
- `, ol = ["letter", "letterUmi", "letterTracy"], cl = ["letterKaraoke", "letterPopline"], sl = ({
584
+ `, cl = ["letter", "letterUmi", "letterTracy"], sl = ["letterKaraoke", "letterPopline"], al = ({
585
585
  word: t,
586
586
  offsetFrom: e,
587
587
  activeColor: n,
@@ -599,9 +599,9 @@ const qi = /* @__PURE__ */ new Set([
599
599
  letterSpacing: y,
600
600
  textShadow: f
601
601
  }) => {
602
- const { start: x, end: v } = t, g = (x + e) / 1e3 * m, w = (v + e) / 1e3 * m, b = r >= g && r < w, S = r >= g, $ = b ? n : S ? i : o, M = cl.includes(u) && b ? 1.2 : 1, F = t.word.length, k = w - g;
602
+ const { start: x, end: v } = t, g = (x + e) / 1e3 * m, w = (v + e) / 1e3 * m, b = r >= g && r < w, S = r >= g, $ = b ? n : S ? i : o, M = sl.includes(u) && b ? 1.2 : 1, F = t.word.length, k = w - g;
603
603
  return /* @__PURE__ */ a(
604
- nl,
604
+ rl,
605
605
  {
606
606
  isActive: b,
607
607
  activeFillColor: c,
@@ -616,7 +616,7 @@ const qi = /* @__PURE__ */ new Set([
616
616
  letterSpacing: y || "inherit"
617
617
  },
618
618
  children: /* @__PURE__ */ a(
619
- rl,
619
+ ol,
620
620
  {
621
621
  wordColor: $,
622
622
  style: {
@@ -630,7 +630,7 @@ const qi = /* @__PURE__ */ new Set([
630
630
  children: t.word.split("").map((I, R) => {
631
631
  const E = k / F, N = g + R * E, O = N + E;
632
632
  let W = 1, Y = !0;
633
- return ol.includes(u) && (Y = r >= N), u === "letterTracy" && (W = st(
633
+ return cl.includes(u) && (Y = r >= N), u === "letterTracy" && (W = st(
634
634
  r,
635
635
  [N, O],
636
636
  [0, 1],
@@ -674,7 +674,7 @@ function ia({
674
674
  let f = Math.max((c ?? 0) - p, 0), x = {};
675
675
  switch (i == null ? void 0 : i.animation) {
676
676
  case "letterElla":
677
- x = el(f);
677
+ x = nl(f);
678
678
  break;
679
679
  case "letterHormozi":
680
680
  x.scale = bs(
@@ -760,7 +760,7 @@ function ia({
760
760
  T ? (X = "'Arial Black', Impact, 'Montserrat', 'Helvetica Neue', sans-serif", z = "italic", j = 900, L = "1.3em", G = "-0.05em", W = Z, Y = Z, C = Z, H = "0 3px 10px rgba(0, 0, 0, 0.75), 0 1px 2px rgba(0, 0, 0, 0.9)") : (X = "'Helvetica Neue', Helvetica, Arial, Inter, sans-serif", z = "normal", j = 300, L = "1em", G = "-0.03em", W = "#ffffff", Y = "#ffffff", C = "#ffffff", H = "0 2px 6px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.85)");
761
761
  }
762
762
  return /* @__PURE__ */ a(
763
- sl,
763
+ al,
764
764
  {
765
765
  color: W,
766
766
  appearedColor: Y,
@@ -840,7 +840,7 @@ const la = ({
840
840
  );
841
841
  return Ot({ item: t, options: e, children: d });
842
842
  };
843
- class Mr extends Xi {
843
+ class Mr extends Ci {
844
844
  constructor(e) {
845
845
  super(e), this.state = { hasError: !1 };
846
846
  }
@@ -856,7 +856,7 @@ class Mr extends Xi {
856
856
  }
857
857
  render() {
858
858
  return this.state.hasError || !this.props.effects ? /* @__PURE__ */ a(zt, { children: this.props.children }) : /* @__PURE__ */ a(
859
- Ni,
859
+ Bi,
860
860
  {
861
861
  width: this.props.width,
862
862
  height: this.props.height,
@@ -1261,7 +1261,7 @@ const ua = ({
1261
1261
  )
1262
1262
  }
1263
1263
  );
1264
- }, al = ({
1264
+ }, il = ({
1265
1265
  src: t,
1266
1266
  frame: e,
1267
1267
  delay: n = 0,
@@ -1401,7 +1401,7 @@ function fa(t, e, n, c = 0) {
1401
1401
  const D = 32 * (p + d + h + l);
1402
1402
  return Math.min(1, Math.max(0, (D + 1) / 2));
1403
1403
  }
1404
- const il = ({
1404
+ const ll = ({
1405
1405
  src: t,
1406
1406
  frame: e,
1407
1407
  delay: n = 0,
@@ -1519,16 +1519,16 @@ function Sr(t) {
1519
1519
  const e = t.map((n) => {
1520
1520
  switch (n.type) {
1521
1521
  case "chromaticAberration":
1522
- return Ci({
1522
+ return zi({
1523
1523
  amount: n.offset ?? 5
1524
1524
  });
1525
1525
  case "noise":
1526
- return zi({
1526
+ return Hi({
1527
1527
  seed: n.seed ?? n.speed ?? 1,
1528
1528
  amount: n.amount ?? 0.15
1529
1529
  });
1530
1530
  case "pixelate":
1531
- return Hi({ blockSize: n.size });
1531
+ return _i({ blockSize: n.size });
1532
1532
  default:
1533
1533
  return null;
1534
1534
  }
@@ -1721,7 +1721,7 @@ Object.defineProperty($e, "__esModule", {
1721
1721
  value: !0
1722
1722
  });
1723
1723
  $e.loop = $e.conditional = $e.parse = void 0;
1724
- var ll = function t(e, n) {
1724
+ var ul = function t(e, n) {
1725
1725
  var c = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : c;
1726
1726
  if (Array.isArray(n))
1727
1727
  n.forEach(function(u) {
@@ -1735,14 +1735,14 @@ var ll = function t(e, n) {
1735
1735
  }
1736
1736
  return c;
1737
1737
  };
1738
- $e.parse = ll;
1739
- var ul = function(e, n) {
1738
+ $e.parse = ul;
1739
+ var dl = function(e, n) {
1740
1740
  return function(c, i, o, u) {
1741
1741
  n(c, i, o) && u(c, e, i, o);
1742
1742
  };
1743
1743
  };
1744
- $e.conditional = ul;
1745
- var dl = function(e, n) {
1744
+ $e.conditional = dl;
1745
+ var hl = function(e, n) {
1746
1746
  return function(c, i, o, u) {
1747
1747
  for (var r = [], m = c.pos; n(c, i, o); ) {
1748
1748
  var s = {};
@@ -1753,82 +1753,82 @@ var dl = function(e, n) {
1753
1753
  return r;
1754
1754
  };
1755
1755
  };
1756
- $e.loop = dl;
1756
+ $e.loop = hl;
1757
1757
  var Yt = {};
1758
1758
  Object.defineProperty(Yt, "__esModule", {
1759
1759
  value: !0
1760
1760
  });
1761
1761
  Yt.readBits = Yt.readArray = Yt.readUnsigned = Yt.readString = Yt.peekBytes = Yt.readBytes = Yt.peekByte = Yt.readByte = Yt.buildStream = void 0;
1762
- var hl = function(e) {
1762
+ var fl = function(e) {
1763
1763
  return {
1764
1764
  data: e,
1765
1765
  pos: 0
1766
1766
  };
1767
1767
  };
1768
- Yt.buildStream = hl;
1768
+ Yt.buildStream = fl;
1769
1769
  var ya = function() {
1770
1770
  return function(e) {
1771
1771
  return e.data[e.pos++];
1772
1772
  };
1773
1773
  };
1774
1774
  Yt.readByte = ya;
1775
- var fl = function() {
1775
+ var pl = function() {
1776
1776
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
1777
1777
  return function(n) {
1778
1778
  return n.data[n.pos + e];
1779
1779
  };
1780
1780
  };
1781
- Yt.peekByte = fl;
1781
+ Yt.peekByte = pl;
1782
1782
  var Zn = function(e) {
1783
1783
  return function(n) {
1784
1784
  return n.data.subarray(n.pos, n.pos += e);
1785
1785
  };
1786
1786
  };
1787
1787
  Yt.readBytes = Zn;
1788
- var pl = function(e) {
1788
+ var ml = function(e) {
1789
1789
  return function(n) {
1790
1790
  return n.data.subarray(n.pos, n.pos + e);
1791
1791
  };
1792
1792
  };
1793
- Yt.peekBytes = pl;
1794
- var ml = function(e) {
1793
+ Yt.peekBytes = ml;
1794
+ var yl = function(e) {
1795
1795
  return function(n) {
1796
1796
  return Array.from(Zn(e)(n)).map(function(c) {
1797
1797
  return String.fromCharCode(c);
1798
1798
  }).join("");
1799
1799
  };
1800
1800
  };
1801
- Yt.readString = ml;
1802
- var yl = function(e) {
1801
+ Yt.readString = yl;
1802
+ var gl = function(e) {
1803
1803
  return function(n) {
1804
1804
  var c = Zn(2)(n);
1805
1805
  return e ? (c[1] << 8) + c[0] : (c[0] << 8) + c[1];
1806
1806
  };
1807
1807
  };
1808
- Yt.readUnsigned = yl;
1809
- var gl = function(e, n) {
1808
+ Yt.readUnsigned = gl;
1809
+ var vl = function(e, n) {
1810
1810
  return function(c, i, o) {
1811
1811
  for (var u = typeof n == "function" ? n(c, i, o) : n, r = Zn(e), m = new Array(u), s = 0; s < u; s++)
1812
1812
  m[s] = r(c);
1813
1813
  return m;
1814
1814
  };
1815
1815
  };
1816
- Yt.readArray = gl;
1817
- var vl = function(e, n, c) {
1816
+ Yt.readArray = vl;
1817
+ var xl = function(e, n, c) {
1818
1818
  for (var i = 0, o = 0; o < c; o++)
1819
1819
  i += e[n + o] && Math.pow(2, c - o - 1);
1820
1820
  return i;
1821
- }, xl = function(e) {
1821
+ }, bl = function(e) {
1822
1822
  return function(n) {
1823
1823
  for (var c = ya()(n), i = new Array(8), o = 0; o < 8; o++)
1824
1824
  i[7 - o] = !!(c & 1 << o);
1825
1825
  return Object.keys(e).reduce(function(u, r) {
1826
1826
  var m = e[r];
1827
- return m.length ? u[r] = vl(i, m.index, m.length) : u[r] = i[m.index], u;
1827
+ return m.length ? u[r] = xl(i, m.index, m.length) : u[r] = i[m.index], u;
1828
1828
  }, {});
1829
1829
  };
1830
1830
  };
1831
- Yt.readBits = xl;
1831
+ Yt.readBits = bl;
1832
1832
  (function(t) {
1833
1833
  Object.defineProperty(t, "__esModule", {
1834
1834
  value: !0
@@ -2016,7 +2016,7 @@ Object.defineProperty(Qn, "__esModule", {
2016
2016
  value: !0
2017
2017
  });
2018
2018
  Qn.deinterlace = void 0;
2019
- var bl = function(e, n) {
2019
+ var wl = function(e, n) {
2020
2020
  for (var c = new Array(e.length), i = e.length / n, o = function(h, l) {
2021
2021
  var y = e.slice(l * n, (l + 1) * n);
2022
2022
  c.splice.apply(c, [h * n, n].concat(y));
@@ -2025,13 +2025,13 @@ var bl = function(e, n) {
2025
2025
  o(p, m), m++;
2026
2026
  return c;
2027
2027
  };
2028
- Qn.deinterlace = bl;
2028
+ Qn.deinterlace = wl;
2029
2029
  var Jn = {};
2030
2030
  Object.defineProperty(Jn, "__esModule", {
2031
2031
  value: !0
2032
2032
  });
2033
2033
  Jn.lzw = void 0;
2034
- var wl = function(e, n, c) {
2034
+ var $l = function(e, n, c) {
2035
2035
  var i = 4096, o = -1, u = c, r, m, s, p, d, h, l, $, y, f, S, x, M, F, I, k, v = new Array(c), g = new Array(i), w = new Array(i), b = new Array(i + 1);
2036
2036
  for (x = e, m = 1 << x, d = m + 1, r = m + 2, l = o, p = x + 1, s = (1 << p) - 1, y = 0; y < m; y++)
2037
2037
  g[y] = 0, w[y] = y;
@@ -2062,18 +2062,18 @@ var wl = function(e, n, c) {
2062
2062
  v[f] = 0;
2063
2063
  return v;
2064
2064
  };
2065
- Jn.lzw = wl;
2065
+ Jn.lzw = $l;
2066
2066
  Object.defineProperty(Te, "__esModule", {
2067
2067
  value: !0
2068
2068
  });
2069
- var ga = Te.decompressFrames = Te.decompressFrame = va = Te.parseGIF = void 0, $l = kl(ma), Ml = $e, Fl = Yt, Sl = Qn, Il = Jn;
2070
- function kl(t) {
2069
+ var ga = Te.decompressFrames = Te.decompressFrame = va = Te.parseGIF = void 0, Ml = Rl(ma), Fl = $e, Sl = Yt, Il = Qn, kl = Jn;
2070
+ function Rl(t) {
2071
2071
  return t && t.__esModule ? t : { default: t };
2072
2072
  }
2073
- var Rl = function(e) {
2073
+ var El = function(e) {
2074
2074
  var n = new Uint8Array(e);
2075
- return (0, Ml.parse)((0, Fl.buildStream)(n), $l.default);
2076
- }, va = Te.parseGIF = Rl, El = function(e) {
2075
+ return (0, Fl.parse)((0, Sl.buildStream)(n), Ml.default);
2076
+ }, va = Te.parseGIF = El, Pl = function(e) {
2077
2077
  for (var n = e.pixels.length, c = new Uint8ClampedArray(n * 4), i = 0; i < n; i++) {
2078
2078
  var o = i * 4, u = e.pixels[i], r = e.colorTable[u] || [0, 0, 0];
2079
2079
  c[o] = r[0], c[o + 1] = r[1], c[o + 2] = r[2], c[o + 3] = u !== e.transparentIndex ? 255 : 0;
@@ -2084,8 +2084,8 @@ var Rl = function(e) {
2084
2084
  console.warn("gif frame does not have associated image.");
2085
2085
  return;
2086
2086
  }
2087
- var i = e.image, o = i.descriptor.width * i.descriptor.height, u = (0, Il.lzw)(i.data.minCodeSize, i.data.blocks, o);
2088
- i.descriptor.lct.interlaced && (u = (0, Sl.deinterlace)(u, i.descriptor.width));
2087
+ var i = e.image, o = i.descriptor.width * i.descriptor.height, u = (0, kl.lzw)(i.data.minCodeSize, i.data.blocks, o);
2088
+ i.descriptor.lct.interlaced && (u = (0, Il.deinterlace)(u, i.descriptor.width));
2089
2089
  var r = {
2090
2090
  pixels: u,
2091
2091
  dims: {
@@ -2095,18 +2095,18 @@ var Rl = function(e) {
2095
2095
  height: e.image.descriptor.height
2096
2096
  }
2097
2097
  };
2098
- return i.descriptor.lct && i.descriptor.lct.exists ? r.colorTable = i.lct : r.colorTable = n, e.gce && (r.delay = (e.gce.delay || 10) * 10, r.disposalType = e.gce.extras.disposal, e.gce.extras.transparentColorGiven && (r.transparentIndex = e.gce.transparentColorIndex)), c && (r.patch = El(r)), r;
2098
+ return i.descriptor.lct && i.descriptor.lct.exists ? r.colorTable = i.lct : r.colorTable = n, e.gce && (r.delay = (e.gce.delay || 10) * 10, r.disposalType = e.gce.extras.disposal, e.gce.extras.transparentColorGiven && (r.transparentIndex = e.gce.transparentColorIndex)), c && (r.patch = Pl(r)), r;
2099
2099
  };
2100
2100
  Te.decompressFrame = xa;
2101
- var Pl = function(e, n) {
2101
+ var Wl = function(e, n) {
2102
2102
  return e.frames.filter(function(c) {
2103
2103
  return c.image;
2104
2104
  }).map(function(c) {
2105
2105
  return xa(c, e.gct, n);
2106
2106
  });
2107
2107
  };
2108
- ga = Te.decompressFrames = Pl;
2109
- const Dn = /* @__PURE__ */ new Map(), Wl = (t) => !!t && t.split("?")[0].toLowerCase().endsWith(".gif"), Nl = (t) => t <= 10 ? 100 : t, Bl = async (t) => {
2108
+ ga = Te.decompressFrames = Wl;
2109
+ const Dn = /* @__PURE__ */ new Map(), Nl = (t) => !!t && t.split("?")[0].toLowerCase().endsWith(".gif"), Bl = (t) => t <= 10 ? 100 : t, Ol = async (t) => {
2110
2110
  const e = await fetch(t);
2111
2111
  if (!e.ok)
2112
2112
  throw new Error(`Could not fetch GIF: ${t}`);
@@ -2131,7 +2131,7 @@ const Dn = /* @__PURE__ */ new Map(), Wl = (t) => !!t && t.split("?")[0].toLower
2131
2131
  l.dims.width,
2132
2132
  l.dims.height
2133
2133
  );
2134
- p.putImageData(f, 0, 0), m.drawImage(s, l.dims.left, l.dims.top), d.push(r.toDataURL("image/png")), h.push(Nl(l.delay || 0)), l.disposalType === 2 ? m.clearRect(
2134
+ p.putImageData(f, 0, 0), m.drawImage(s, l.dims.left, l.dims.top), d.push(r.toDataURL("image/png")), h.push(Bl(l.delay || 0)), l.disposalType === 2 ? m.clearRect(
2135
2135
  l.dims.left,
2136
2136
  l.dims.top,
2137
2137
  l.dims.width,
@@ -2144,15 +2144,15 @@ const Dn = /* @__PURE__ */ new Map(), Wl = (t) => !!t && t.split("?")[0].toLower
2144
2144
  frames: d,
2145
2145
  delaysMs: h
2146
2146
  };
2147
- }, Ol = (t) => {
2147
+ }, Yl = (t) => {
2148
2148
  const e = Dn.get(t);
2149
2149
  if (e)
2150
2150
  return e;
2151
- const n = Bl(t).catch((c) => {
2151
+ const n = Ol(t).catch((c) => {
2152
2152
  throw Dn.delete(t), c;
2153
2153
  });
2154
2154
  return Dn.set(t, n), n;
2155
- }, Yl = (t, e) => {
2155
+ }, Al = (t, e) => {
2156
2156
  if (e.frames.length === 1 || e.durationMs <= 0)
2157
2157
  return 0;
2158
2158
  const n = (t % e.durationMs + e.durationMs) % e.durationMs;
@@ -2161,21 +2161,21 @@ const Dn = /* @__PURE__ */ new Map(), Wl = (t) => !!t && t.split("?")[0].toLower
2161
2161
  if (c += e.delaysMs[i], n < c)
2162
2162
  return i;
2163
2163
  return e.delaysMs.length - 1;
2164
- }, Al = ({ src: t, alt: e = "gif", style: n, playbackRate: c }) => {
2164
+ }, Xl = ({ src: t, alt: e = "gif", style: n, playbackRate: c }) => {
2165
2165
  const i = gt(), { fps: o } = ea(), [u, r] = Ft(null);
2166
2166
  if (Mt(() => {
2167
- const p = Bi(`Decoding GIF ${t}`);
2167
+ const p = Oi(`Decoding GIF ${t}`);
2168
2168
  let d = !1;
2169
- return Ol(t).then((h) => {
2169
+ return Yl(t).then((h) => {
2170
2170
  d || (r(h), vs(p));
2171
2171
  }).catch((h) => {
2172
- d || Oi(h instanceof Error ? h : new Error(String(h)));
2172
+ d || Yi(h instanceof Error ? h : new Error(String(h)));
2173
2173
  }), () => {
2174
2174
  d = !0, vs(p);
2175
2175
  };
2176
2176
  }, [t]), !u)
2177
2177
  return null;
2178
- const m = i / o * 1e3 * c, s = Yl(m, u);
2178
+ const m = i / o * 1e3 * c, s = Al(m, u);
2179
2179
  return /* @__PURE__ */ a(Ue, { src: u.frames[s], alt: e, style: n });
2180
2180
  };
2181
2181
  function ba({
@@ -2204,7 +2204,7 @@ function ba({
2204
2204
  u,
2205
2205
  M,
2206
2206
  $
2207
- ), E = Sr(R), { filter: N, overlays: O } = pa(R), W = o.width || d.width || 300, Y = o.height || d.height || 300, C = Wl(o.src), z = (rt = (K = u == null ? void 0 : u.loop) == null ? void 0 : K.composition) == null ? void 0 : rt.find(
2207
+ ), E = Sr(R), { filter: N, overlays: O } = pa(R), W = o.width || d.width || 300, Y = o.height || d.height || 300, C = Nl(o.src), z = (rt = (K = u == null ? void 0 : u.loop) == null ? void 0 : K.composition) == null ? void 0 : rt.find(
2208
2208
  (dt) => dt.property === "textGridMarqueeTextAnimationLoop" || dt.property === "textGridMarquee" || dt.property === "imageGridMarqueeTextAnimationLoop" || dt.property === "imageGridMarquee" || dt.id === "textGridMarquee" || dt.id === "imageGridMarquee"
2209
2209
  ), X = !!(z && M >= (z.delay || 0) && M <= (z.delay || 0) + (z.durationInFrames || 60)), H = (it = (ct = u == null ? void 0 : u.loop) == null ? void 0 : ct.composition) == null ? void 0 : it.find(
2210
2210
  (dt) => dt.property === "inwardEchoes" || dt.id === "inwardEchoes"
@@ -2274,7 +2274,7 @@ function ba({
2274
2274
  wiggleDetails: j == null ? void 0 : j.details
2275
2275
  }
2276
2276
  ) : T ? /* @__PURE__ */ a(
2277
- al,
2277
+ il,
2278
2278
  {
2279
2279
  src: o.src,
2280
2280
  frame: M,
@@ -2294,7 +2294,7 @@ function ba({
2294
2294
  effects: E
2295
2295
  }
2296
2296
  ) : J ? /* @__PURE__ */ a(
2297
- il,
2297
+ ll,
2298
2298
  {
2299
2299
  src: o.src,
2300
2300
  frame: M,
@@ -2312,7 +2312,7 @@ function ba({
2312
2312
  noiseTileDetails: Z == null ? void 0 : Z.details
2313
2313
  }
2314
2314
  ) : C ? /* @__PURE__ */ a(
2315
- Al,
2315
+ Xl,
2316
2316
  {
2317
2317
  src: o.src,
2318
2318
  playbackRate: r,
@@ -2551,7 +2551,7 @@ const wa = ({
2551
2551
  swing: P.inOut(P.back(1.70158)),
2552
2552
  none: P.linear,
2553
2553
  custom: P.inOut(P.cubic)
2554
- }, Xl = (t) => ws[t] || ws.linear, Cl = ({
2554
+ }, Cl = (t) => ws[t] || ws.linear, zl = ({
2555
2555
  char: t,
2556
2556
  index: e,
2557
2557
  frame: n,
@@ -2608,7 +2608,7 @@ const wa = ({
2608
2608
  const $ = v ? 1 : st(S, [0, g], [0, 1], {
2609
2609
  extrapolateLeft: "clamp",
2610
2610
  extrapolateRight: "clamp"
2611
- }), M = Xl(s), F = v ? 1 : M($), k = r + (m - r) * F;
2611
+ }), M = Cl(s), F = v ? 1 : M($), k = r + (m - r) * F;
2612
2612
  let I = {
2613
2613
  display: "inline-block",
2614
2614
  transformOrigin: "center"
@@ -2733,7 +2733,7 @@ const wa = ({
2733
2733
  R.push(`scale(${O})`);
2734
2734
  }
2735
2735
  return R.length > 0 && (I.transform = R.join(" ")), E.length > 0 && (I.filter = E.join(" ")), /* @__PURE__ */ a("span", { style: I, children: f ?? (t === " " ? " " : t) }, e);
2736
- }, zl = ({
2736
+ }, Hl = ({
2737
2737
  char: t,
2738
2738
  index: e,
2739
2739
  frame: n,
@@ -2764,7 +2764,7 @@ const wa = ({
2764
2764
  (y, { animation: f }, x) => {
2765
2765
  var v, g, w, b, S, $;
2766
2766
  return /* @__PURE__ */ a(
2767
- Cl,
2767
+ zl,
2768
2768
  {
2769
2769
  char: t,
2770
2770
  index: e,
@@ -2806,7 +2806,7 @@ const wa = ({
2806
2806
  children: l
2807
2807
  }
2808
2808
  );
2809
- }, Hl = ({
2809
+ }, _l = ({
2810
2810
  char: t,
2811
2811
  index: e,
2812
2812
  frame: n,
@@ -2839,7 +2839,7 @@ const wa = ({
2839
2839
  },
2840
2840
  e
2841
2841
  );
2842
- }, _l = ({
2842
+ }, Vl = ({
2843
2843
  char: t,
2844
2844
  index: e,
2845
2845
  frame: n,
@@ -2865,7 +2865,7 @@ const wa = ({
2865
2865
  },
2866
2866
  e
2867
2867
  );
2868
- }, Vl = ({
2868
+ }, Ll = ({
2869
2869
  char: t,
2870
2870
  index: e,
2871
2871
  frame: n,
@@ -2891,7 +2891,7 @@ const wa = ({
2891
2891
  },
2892
2892
  e
2893
2893
  );
2894
- }, Ll = ({
2894
+ }, jl = ({
2895
2895
  char: t,
2896
2896
  index: e,
2897
2897
  frame: n,
@@ -2921,7 +2921,7 @@ const wa = ({
2921
2921
  },
2922
2922
  e
2923
2923
  );
2924
- }, jl = ({
2924
+ }, Gl = ({
2925
2925
  char: t,
2926
2926
  index: e,
2927
2927
  frame: n,
@@ -2957,7 +2957,7 @@ const wa = ({
2957
2957
  },
2958
2958
  e
2959
2959
  );
2960
- }, Gl = ({
2960
+ }, Tl = ({
2961
2961
  char: t,
2962
2962
  index: e,
2963
2963
  frame: n,
@@ -2997,7 +2997,7 @@ const wa = ({
2997
2997
  },
2998
2998
  e
2999
2999
  );
3000
- }, Tl = ({
3000
+ }, Ul = ({
3001
3001
  char: t,
3002
3002
  index: e,
3003
3003
  frame: n,
@@ -3028,7 +3028,7 @@ const wa = ({
3028
3028
  },
3029
3029
  e
3030
3030
  );
3031
- }, Ul = ({
3031
+ }, Zl = ({
3032
3032
  char: t,
3033
3033
  index: e,
3034
3034
  frame: n,
@@ -3055,7 +3055,7 @@ const wa = ({
3055
3055
  },
3056
3056
  e
3057
3057
  );
3058
- }, Zl = ({
3058
+ }, Ql = ({
3059
3059
  char: t,
3060
3060
  index: e,
3061
3061
  frame: n,
@@ -3086,7 +3086,7 @@ const wa = ({
3086
3086
  },
3087
3087
  e
3088
3088
  );
3089
- }, Ql = ({
3089
+ }, Jl = ({
3090
3090
  char: t,
3091
3091
  index: e,
3092
3092
  frame: n,
@@ -3135,7 +3135,7 @@ const wa = ({
3135
3135
  },
3136
3136
  e
3137
3137
  );
3138
- }, Jl = ({
3138
+ }, Kl = ({
3139
3139
  char: t,
3140
3140
  index: e,
3141
3141
  frame: n,
@@ -3173,7 +3173,7 @@ const wa = ({
3173
3173
  },
3174
3174
  e
3175
3175
  );
3176
- }, Kl = ({
3176
+ }, ql = ({
3177
3177
  char: t,
3178
3178
  index: e,
3179
3179
  frame: n,
@@ -3217,7 +3217,7 @@ const wa = ({
3217
3217
  },
3218
3218
  e
3219
3219
  );
3220
- }, ql = ({
3220
+ }, Dl = ({
3221
3221
  char: t,
3222
3222
  index: e,
3223
3223
  frame: n,
@@ -3244,7 +3244,7 @@ const wa = ({
3244
3244
  },
3245
3245
  e
3246
3246
  );
3247
- }, Dl = ({
3247
+ }, t0 = ({
3248
3248
  char: t,
3249
3249
  frame: e,
3250
3250
  fps: n,
@@ -3261,7 +3261,7 @@ const wa = ({
3261
3261
  children: t
3262
3262
  }
3263
3263
  );
3264
- }, t0 = ({
3264
+ }, e0 = ({
3265
3265
  char: t,
3266
3266
  frame: e,
3267
3267
  fps: n
@@ -3278,7 +3278,7 @@ const wa = ({
3278
3278
  children: t
3279
3279
  }
3280
3280
  );
3281
- }, e0 = ({
3281
+ }, n0 = ({
3282
3282
  frame: t,
3283
3283
  fps: e,
3284
3284
  char: n
@@ -3294,7 +3294,7 @@ const wa = ({
3294
3294
  children: n
3295
3295
  }
3296
3296
  );
3297
- }, n0 = ({
3297
+ }, r0 = ({
3298
3298
  char: t,
3299
3299
  index: e,
3300
3300
  frame: n,
@@ -3314,7 +3314,7 @@ const wa = ({
3314
3314
  },
3315
3315
  e
3316
3316
  );
3317
- }, r0 = ({
3317
+ }, o0 = ({
3318
3318
  char: t,
3319
3319
  index: e,
3320
3320
  frame: n,
@@ -3334,7 +3334,7 @@ const wa = ({
3334
3334
  },
3335
3335
  e
3336
3336
  );
3337
- }, o0 = ({
3337
+ }, c0 = ({
3338
3338
  char: t,
3339
3339
  index: e,
3340
3340
  frame: n,
@@ -3358,7 +3358,7 @@ const wa = ({
3358
3358
  },
3359
3359
  e
3360
3360
  );
3361
- }, c0 = ({
3361
+ }, s0 = ({
3362
3362
  char: t,
3363
3363
  index: e,
3364
3364
  frame: n,
@@ -3382,7 +3382,7 @@ const wa = ({
3382
3382
  },
3383
3383
  e
3384
3384
  );
3385
- }, s0 = ({
3385
+ }, a0 = ({
3386
3386
  char: t,
3387
3387
  frame: e,
3388
3388
  fps: n
@@ -3399,7 +3399,7 @@ const wa = ({
3399
3399
  children: t
3400
3400
  }
3401
3401
  );
3402
- }, a0 = ({
3402
+ }, i0 = ({
3403
3403
  char: t,
3404
3404
  frame: e,
3405
3405
  fps: n,
@@ -3421,7 +3421,7 @@ function tr(t) {
3421
3421
  const e = Math.sin(t) * 1e4;
3422
3422
  return e - Math.floor(e);
3423
3423
  }
3424
- const i0 = ({
3424
+ const l0 = ({
3425
3425
  char: t,
3426
3426
  index: e,
3427
3427
  frame: n
@@ -3438,7 +3438,7 @@ const i0 = ({
3438
3438
  },
3439
3439
  e
3440
3440
  );
3441
- }, l0 = ({
3441
+ }, u0 = ({
3442
3442
  char: t,
3443
3443
  index: e,
3444
3444
  frame: n,
@@ -3491,7 +3491,7 @@ const i0 = ({
3491
3491
  }
3492
3492
  );
3493
3493
  };
3494
- function u0({
3494
+ function d0({
3495
3495
  frame: t,
3496
3496
  durationInFrames: e,
3497
3497
  text: n,
@@ -3543,7 +3543,7 @@ function u0({
3543
3543
  }
3544
3544
  );
3545
3545
  }
3546
- const d0 = ({
3546
+ const h0 = ({
3547
3547
  text: t,
3548
3548
  frame: e,
3549
3549
  details: n,
@@ -3598,7 +3598,7 @@ const d0 = ({
3598
3598
  )
3599
3599
  }
3600
3600
  );
3601
- }, h0 = ({
3601
+ }, f0 = ({
3602
3602
  text: t,
3603
3603
  frame: e,
3604
3604
  animationTextInFrames: n,
@@ -3714,7 +3714,7 @@ const d0 = ({
3714
3714
  ]
3715
3715
  }
3716
3716
  );
3717
- }, $s = ["3", "2", "1"], f0 = ({
3717
+ }, $s = ["3", "2", "1"], p0 = ({
3718
3718
  text: t,
3719
3719
  frame: e,
3720
3720
  animationTextInFrames: n,
@@ -3745,7 +3745,7 @@ const d0 = ({
3745
3745
  children: u
3746
3746
  }
3747
3747
  );
3748
- }, p0 = ({
3748
+ }, m0 = ({
3749
3749
  text: t,
3750
3750
  frame: e,
3751
3751
  details: n,
@@ -3809,7 +3809,7 @@ const d0 = ({
3809
3809
  ))
3810
3810
  }
3811
3811
  );
3812
- }, m0 = ({
3812
+ }, y0 = ({
3813
3813
  text: t,
3814
3814
  frame: e,
3815
3815
  fps: n
@@ -3825,7 +3825,7 @@ const d0 = ({
3825
3825
  children: t
3826
3826
  }
3827
3827
  );
3828
- }, y0 = ({
3828
+ }, g0 = ({
3829
3829
  frame: t,
3830
3830
  durationInFrames: e,
3831
3831
  text: n
@@ -3870,7 +3870,7 @@ const d0 = ({
3870
3870
  ]
3871
3871
  }
3872
3872
  );
3873
- }, g0 = ({
3873
+ }, v0 = ({
3874
3874
  frame: t,
3875
3875
  text: e,
3876
3876
  details: n,
@@ -3904,7 +3904,7 @@ function er(t) {
3904
3904
  const e = Math.sin(t) * 1e4;
3905
3905
  return e - Math.floor(e);
3906
3906
  }
3907
- const v0 = ({ text: t, frame: e }) => {
3907
+ const x0 = ({ text: t, frame: e }) => {
3908
3908
  const n = (er(e) - 0.5) * 8, c = (er(e + 999) - 0.5) * 8, i = (er(e + 500) - 0.5) * 6;
3909
3909
  return /* @__PURE__ */ a(
3910
3910
  "span",
@@ -3916,7 +3916,7 @@ const v0 = ({ text: t, frame: e }) => {
3916
3916
  children: t
3917
3917
  }
3918
3918
  );
3919
- }, Ms = 9, x0 = ({
3919
+ }, Ms = 9, b0 = ({
3920
3920
  text: t,
3921
3921
  frame: e,
3922
3922
  details: n,
@@ -3955,7 +3955,7 @@ const v0 = ({ text: t, frame: e }) => {
3955
3955
  })
3956
3956
  }
3957
3957
  );
3958
- }, b0 = ({ text: t, frame: e }) => {
3958
+ }, w0 = ({ text: t, frame: e }) => {
3959
3959
  const n = Math.sin(e / 10) * 10, c = Math.sin(e / 5) * 10;
3960
3960
  return /* @__PURE__ */ ot(
3961
3961
  "span",
@@ -3994,7 +3994,7 @@ const v0 = ({ text: t, frame: e }) => {
3994
3994
  ]
3995
3995
  }
3996
3996
  );
3997
- }, w0 = ({
3997
+ }, $0 = ({
3998
3998
  text: t,
3999
3999
  frame: e,
4000
4000
  delay: n = 0,
@@ -4092,7 +4092,7 @@ const v0 = ({ text: t, frame: e }) => {
4092
4092
  })
4093
4093
  }
4094
4094
  );
4095
- }, $0 = ({
4095
+ }, M0 = ({
4096
4096
  text: t,
4097
4097
  frame: e,
4098
4098
  delay: n = 0,
@@ -4154,7 +4154,7 @@ const v0 = ({ text: t, frame: e }) => {
4154
4154
  })
4155
4155
  }
4156
4156
  );
4157
- }, M0 = ({
4157
+ }, F0 = ({
4158
4158
  text: t,
4159
4159
  frame: e,
4160
4160
  delay: n = 0,
@@ -4192,7 +4192,7 @@ const v0 = ({ text: t, frame: e }) => {
4192
4192
  )
4193
4193
  }
4194
4194
  );
4195
- }, F0 = ({
4195
+ }, S0 = ({
4196
4196
  text: t,
4197
4197
  frame: e,
4198
4198
  delay: n = 0,
@@ -4217,7 +4217,7 @@ const v0 = ({ text: t, frame: e }) => {
4217
4217
  children: /* @__PURE__ */ a("span", { style: m, children: t })
4218
4218
  }
4219
4219
  );
4220
- }, S0 = ({
4220
+ }, I0 = ({
4221
4221
  text: t,
4222
4222
  frame: e,
4223
4223
  delay: n = 0,
@@ -4275,7 +4275,7 @@ const v0 = ({ text: t, frame: e }) => {
4275
4275
  ) : null)
4276
4276
  }
4277
4277
  );
4278
- }, I0 = ({
4278
+ }, k0 = ({
4279
4279
  animationDuration: t,
4280
4280
  text: e,
4281
4281
  details: n,
@@ -4330,7 +4330,7 @@ const v0 = ({ text: t, frame: e }) => {
4330
4330
  ]
4331
4331
  }
4332
4332
  );
4333
- }, k0 = ({
4333
+ }, R0 = ({
4334
4334
  text: t,
4335
4335
  frame: e,
4336
4336
  details: n,
@@ -4398,7 +4398,7 @@ const v0 = ({ text: t, frame: e }) => {
4398
4398
  ))
4399
4399
  }
4400
4400
  );
4401
- }, R0 = ({
4401
+ }, E0 = ({
4402
4402
  text: t,
4403
4403
  frame: e,
4404
4404
  animationTextOutFrames: n,
@@ -4462,7 +4462,7 @@ const v0 = ({ text: t, frame: e }) => {
4462
4462
  }, An = (t, e, n) => Math.min(n, Math.max(e, t)), Fs = (t) => {
4463
4463
  const e = Number.parseFloat(String(t ?? 0));
4464
4464
  return Number.isFinite(e) ? e : 0;
4465
- }, E0 = (t, e) => {
4465
+ }, P0 = (t, e) => {
4466
4466
  if (typeof t == "number")
4467
4467
  return t > 0 && t <= 4 ? t * e : t;
4468
4468
  if (typeof t == "string") {
@@ -4476,7 +4476,7 @@ const v0 = ({ text: t, frame: e }) => {
4476
4476
  }
4477
4477
  }
4478
4478
  return e * 1.2;
4479
- }, P0 = (t, e, n) => {
4479
+ }, W0 = (t, e, n) => {
4480
4480
  let c;
4481
4481
  if (typeof document < "u") {
4482
4482
  const p = document.createElement("canvas").getContext("2d");
@@ -4505,7 +4505,7 @@ const v0 = ({ text: t, frame: e }) => {
4505
4505
  }) => {
4506
4506
  const h = n, l = m ?? (r == null ? void 0 : r.color) ?? "#E5AD08", y = s ?? (r == null ? void 0 : r.angle) ?? 12, f = p, x = An((r == null ? void 0 : r.shadowOpacity) ?? 0.35, 0, 1), v = Number.parseFloat(String((r == null ? void 0 : r.fontSize) ?? 16)) || 16, g = Math.max(
4507
4507
  1,
4508
- d ?? E0(r == null ? void 0 : r.lineHeight, v)
4508
+ d ?? P0(r == null ? void 0 : r.lineHeight, v)
4509
4509
  ), w = An(
4510
4510
  (h - c) / Math.max(1, i),
4511
4511
  0,
@@ -4514,7 +4514,7 @@ const v0 = ({ text: t, frame: e }) => {
4514
4514
  () => M.map((I, R) => ({
4515
4515
  line: I,
4516
4516
  index: R,
4517
- measuredWidth: P0(I, r, v)
4517
+ measuredWidth: W0(I, r, v)
4518
4518
  })),
4519
4519
  [M, r, v]
4520
4520
  ), k = Math.max(
@@ -4692,7 +4692,7 @@ const v0 = ({ text: t, frame: e }) => {
4692
4692
  })
4693
4693
  }
4694
4694
  );
4695
- }, W0 = (t) => {
4695
+ }, N0 = (t) => {
4696
4696
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
4697
4697
  return /* @__PURE__ */ a(
4698
4698
  $a,
@@ -4701,7 +4701,7 @@ const v0 = ({ text: t, frame: e }) => {
4701
4701
  resolvedFrame: n
4702
4702
  }
4703
4703
  );
4704
- }, N0 = ({
4704
+ }, B0 = ({
4705
4705
  frame: t = 0,
4706
4706
  ...e
4707
4707
  }) => /* @__PURE__ */ a(
@@ -4711,7 +4711,7 @@ const v0 = ({ text: t, frame: e }) => {
4711
4711
  frame: t,
4712
4712
  resolvedFrame: t
4713
4713
  }
4714
- ), Qe = (t, e, n) => Math.min(n, Math.max(e, t)), B0 = (t) => {
4714
+ ), Qe = (t, e, n) => Math.min(n, Math.max(e, t)), O0 = (t) => {
4715
4715
  const e = Math.sin(t) * 1e4;
4716
4716
  return e - Math.floor(e);
4717
4717
  }, Ma = ({
@@ -4926,7 +4926,7 @@ const v0 = ({ text: t, frame: e }) => {
4926
4926
  },
4927
4927
  children: rt.map((ct, it) => {
4928
4928
  const pt = Array.from(ct).map((at) => {
4929
- const ht = w++, mt = B0(m + ht) * 0.8, yt = Math.min(1, mt + 0.2), xt = Qe(
4929
+ const ht = w++, mt = O0(m + ht) * 0.8, yt = Math.min(1, mt + 0.2), xt = Qe(
4930
4930
  (y - mt) / Math.max(1e-3, yt - mt),
4931
4931
  0,
4932
4932
  1
@@ -5008,7 +5008,7 @@ const v0 = ({ text: t, frame: e }) => {
5008
5008
  ]
5009
5009
  }
5010
5010
  );
5011
- }, O0 = (t) => {
5011
+ }, Y0 = (t) => {
5012
5012
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
5013
5013
  return /* @__PURE__ */ a(
5014
5014
  Ma,
@@ -5017,7 +5017,7 @@ const v0 = ({ text: t, frame: e }) => {
5017
5017
  resolvedFrame: n
5018
5018
  }
5019
5019
  );
5020
- }, Y0 = ({
5020
+ }, A0 = ({
5021
5021
  frame: t = 0,
5022
5022
  ...e
5023
5023
  }) => /* @__PURE__ */ a(
@@ -5139,7 +5139,7 @@ const v0 = ({ text: t, frame: e }) => {
5139
5139
  ))
5140
5140
  }
5141
5141
  );
5142
- }, A0 = (t) => {
5142
+ }, X0 = (t) => {
5143
5143
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
5144
5144
  return /* @__PURE__ */ a(
5145
5145
  Fa,
@@ -5148,7 +5148,7 @@ const v0 = ({ text: t, frame: e }) => {
5148
5148
  resolvedFrame: n
5149
5149
  }
5150
5150
  );
5151
- }, X0 = ({
5151
+ }, C0 = ({
5152
5152
  frame: t = 0,
5153
5153
  ...e
5154
5154
  }) => /* @__PURE__ */ a(
@@ -5158,13 +5158,13 @@ const v0 = ({ text: t, frame: e }) => {
5158
5158
  frame: t,
5159
5159
  resolvedFrame: t
5160
5160
  }
5161
- ), Be = (t, e, n) => Math.min(n, Math.max(e, t)), C0 = (t) => {
5161
+ ), Be = (t, e, n) => Math.min(n, Math.max(e, t)), z0 = (t) => {
5162
5162
  const e = Math.sin(t) * 1e4;
5163
5163
  return e - Math.floor(e);
5164
5164
  }, Ss = (t) => {
5165
5165
  const e = Number.parseFloat(String(t ?? 0));
5166
5166
  return Number.isFinite(e) ? e : 0;
5167
- }, Is = (t) => t * t * (3 - 2 * t), z0 = (t, e, n) => {
5167
+ }, Is = (t) => t * t * (3 - 2 * t), H0 = (t, e, n) => {
5168
5168
  let c;
5169
5169
  if (typeof document < "u") {
5170
5170
  const p = document.createElement("canvas").getContext("2d");
@@ -5218,7 +5218,7 @@ const v0 = ({ text: t, frame: e }) => {
5218
5218
  line: Y,
5219
5219
  lineIndex: C,
5220
5220
  characters: Array.from(Y),
5221
- width: z0(Y, r, $)
5221
+ width: H0(Y, r, $)
5222
5222
  })),
5223
5223
  [E, r, $]
5224
5224
  ), O = Bt(() => {
@@ -5230,7 +5230,7 @@ const v0 = ({ text: t, frame: e }) => {
5230
5230
  { length: C },
5231
5231
  (H, L) => ({
5232
5232
  index: L,
5233
- random: C0(m + L * 127.1 + 311.7)
5233
+ random: z0(m + L * 127.1 + 311.7)
5234
5234
  })
5235
5235
  ).sort((H, L) => H.random - L.random), X = new Array(C);
5236
5236
  return z.forEach((H, L) => {
@@ -5338,7 +5338,7 @@ const v0 = ({ text: t, frame: e }) => {
5338
5338
  )
5339
5339
  }
5340
5340
  );
5341
- }, H0 = (t) => {
5341
+ }, _0 = (t) => {
5342
5342
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
5343
5343
  return /* @__PURE__ */ a(
5344
5344
  Sa,
@@ -5347,7 +5347,7 @@ const v0 = ({ text: t, frame: e }) => {
5347
5347
  resolvedFrame: n
5348
5348
  }
5349
5349
  );
5350
- }, _0 = ({
5350
+ }, V0 = ({
5351
5351
  frame: t = 0,
5352
5352
  ...e
5353
5353
  }) => /* @__PURE__ */ a(
@@ -5357,7 +5357,7 @@ const v0 = ({ text: t, frame: e }) => {
5357
5357
  frame: t,
5358
5358
  resolvedFrame: t
5359
5359
  }
5360
- ), nr = (t, e, n) => Math.min(n, Math.max(e, t)), V0 = (t, e) => st(t, [0, 0.5, 1], e ? [45, -20, -5] : [-45, 20, 5], {
5360
+ ), nr = (t, e, n) => Math.min(n, Math.max(e, t)), L0 = (t, e) => st(t, [0, 0.5, 1], e ? [45, -20, -5] : [-45, 20, 5], {
5361
5361
  extrapolateLeft: "clamp",
5362
5362
  extrapolateRight: "clamp"
5363
5363
  }), Ia = ({
@@ -5458,7 +5458,7 @@ const v0 = ({ text: t, frame: e }) => {
5458
5458
  extrapolateLeft: "clamp",
5459
5459
  extrapolateRight: "clamp"
5460
5460
  }
5461
- ), C = V0(
5461
+ ), C = L0(
5462
5462
  O,
5463
5463
  I.isFirstWord
5464
5464
  );
@@ -5511,7 +5511,7 @@ const v0 = ({ text: t, frame: e }) => {
5511
5511
  })
5512
5512
  }
5513
5513
  );
5514
- }, L0 = (t) => {
5514
+ }, j0 = (t) => {
5515
5515
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
5516
5516
  return /* @__PURE__ */ a(
5517
5517
  Ia,
@@ -5520,7 +5520,7 @@ const v0 = ({ text: t, frame: e }) => {
5520
5520
  resolvedFrame: n
5521
5521
  }
5522
5522
  );
5523
- }, j0 = ({
5523
+ }, G0 = ({
5524
5524
  frame: t = 0,
5525
5525
  ...e
5526
5526
  }) => /* @__PURE__ */ a(
@@ -5600,7 +5600,7 @@ const v0 = ({ text: t, frame: e }) => {
5600
5600
  })
5601
5601
  }
5602
5602
  );
5603
- }, G0 = (t) => {
5603
+ }, T0 = (t) => {
5604
5604
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
5605
5605
  return /* @__PURE__ */ a(
5606
5606
  ka,
@@ -5609,7 +5609,7 @@ const v0 = ({ text: t, frame: e }) => {
5609
5609
  resolvedFrame: n
5610
5610
  }
5611
5611
  );
5612
- }, T0 = ({
5612
+ }, U0 = ({
5613
5613
  frame: t = 0,
5614
5614
  ...e
5615
5615
  }) => /* @__PURE__ */ a(
@@ -5743,7 +5743,7 @@ const v0 = ({ text: t, frame: e }) => {
5743
5743
  )
5744
5744
  }
5745
5745
  );
5746
- }, U0 = (t) => {
5746
+ }, Z0 = (t) => {
5747
5747
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
5748
5748
  return /* @__PURE__ */ a(
5749
5749
  Ra,
@@ -5752,7 +5752,7 @@ const v0 = ({ text: t, frame: e }) => {
5752
5752
  resolvedFrame: n
5753
5753
  }
5754
5754
  );
5755
- }, Z0 = ({
5755
+ }, Q0 = ({
5756
5756
  frame: t = 0,
5757
5757
  ...e
5758
5758
  }) => /* @__PURE__ */ a(
@@ -5896,7 +5896,7 @@ const v0 = ({ text: t, frame: e }) => {
5896
5896
  ]
5897
5897
  }
5898
5898
  );
5899
- }, Q0 = (t) => {
5899
+ }, J0 = (t) => {
5900
5900
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
5901
5901
  return /* @__PURE__ */ a(
5902
5902
  Ea,
@@ -5905,7 +5905,7 @@ const v0 = ({ text: t, frame: e }) => {
5905
5905
  resolvedFrame: n
5906
5906
  }
5907
5907
  );
5908
- }, J0 = ({
5908
+ }, K0 = ({
5909
5909
  frame: t = 0,
5910
5910
  ...e
5911
5911
  }) => /* @__PURE__ */ a(
@@ -5919,7 +5919,7 @@ const v0 = ({ text: t, frame: e }) => {
5919
5919
  ), or = (t, e, n) => Math.min(n, Math.max(e, t)), ks = (t) => {
5920
5920
  const e = Number.parseFloat(String(t ?? 0));
5921
5921
  return Number.isFinite(e) ? e : 0;
5922
- }, K0 = (t, e, n) => {
5922
+ }, q0 = (t, e, n) => {
5923
5923
  let c;
5924
5924
  if (typeof document < "u") {
5925
5925
  const s = document.createElement("canvas").getContext("2d");
@@ -5956,7 +5956,7 @@ const v0 = ({ text: t, frame: e }) => {
5956
5956
  w * or(p, 0.01, 1)
5957
5957
  ), S = Math.max(0.01, d), $ = (r == null ? void 0 : r.textAlign) || "left", M = e.map((k) => ({
5958
5958
  line: k,
5959
- width: K0(k, r, w)
5959
+ width: q0(k, r, w)
5960
5960
  })), F = Math.max(0, ...M.map(({ width: k }) => k));
5961
5961
  return /* @__PURE__ */ ot(
5962
5962
  "div",
@@ -6041,7 +6041,7 @@ const v0 = ({ text: t, frame: e }) => {
6041
6041
  ]
6042
6042
  }
6043
6043
  );
6044
- }, q0 = (t) => {
6044
+ }, D0 = (t) => {
6045
6045
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
6046
6046
  return /* @__PURE__ */ a(
6047
6047
  Pa,
@@ -6050,7 +6050,7 @@ const v0 = ({ text: t, frame: e }) => {
6050
6050
  resolvedFrame: n
6051
6051
  }
6052
6052
  );
6053
- }, D0 = ({
6053
+ }, tu = ({
6054
6054
  frame: t = 0,
6055
6055
  ...e
6056
6056
  }) => /* @__PURE__ */ a(
@@ -6063,7 +6063,7 @@ const v0 = ({ text: t, frame: e }) => {
6063
6063
  ), wn = (t, e, n) => Math.min(n, Math.max(e, t)), Rs = (t) => {
6064
6064
  const e = wn(t, 0, 1);
6065
6065
  return e * e * (3 - 2 * e);
6066
- }, tu = (t) => Array.from(t).reduce((e, n) => /\s/.test(n) ? e + 0.32 : /[ilI.,'`!:;|]/.test(n) ? e + 0.3 : /[mwMW@#%&]/.test(n) ? e + 0.86 : /[A-Z0-9]/.test(n) ? e + 0.64 : e + 0.56, 0), Wa = ({
6066
+ }, eu = (t) => Array.from(t).reduce((e, n) => /\s/.test(n) ? e + 0.32 : /[ilI.,'`!:;|]/.test(n) ? e + 0.3 : /[mwMW@#%&]/.test(n) ? e + 0.86 : /[A-Z0-9]/.test(n) ? e + 0.64 : e + 0.56, 0), Wa = ({
6067
6067
  text: t = "Edit me...",
6068
6068
  lines: e,
6069
6069
  resolvedFrame: n,
@@ -6080,7 +6080,7 @@ const v0 = ({ text: t, frame: e }) => {
6080
6080
  const h = n, l = Math.max(1, p ?? (r == null ? void 0 : r.width) ?? 600), y = Math.max(1, (d ?? (r == null ? void 0 : r.height) ?? 120) * 1.2), f = m ?? "#F1B715", x = (r == null ? void 0 : r.WebkitTextStrokeColor) ?? (r == null ? void 0 : r.color) ?? "#FFFFFF", v = s ?? (r == null ? void 0 : r.angle) ?? -5, g = wn((r == null ? void 0 : r.shadowOpacity) ?? 0.35, 0, 1), w = "#936800", b = de.useId().replace(/:/g, ""), $ = (e != null && e.length ? e : t.split(/\r\n?|\n/)).map(
6081
6081
  (Ut) => (r == null ? void 0 : r.textTransform) === "uppercase" ? Ut.toLocaleUpperCase() : (r == null ? void 0 : r.textTransform) === "lowercase" ? Ut.toLocaleLowerCase() : Ut
6082
6082
  ), M = Math.max(
6083
- ...$.map(tu),
6083
+ ...$.map(eu),
6084
6084
  1
6085
6085
  ), F = $.length, k = wn(
6086
6086
  o + (u - o) * wn(
@@ -6456,7 +6456,7 @@ const v0 = ({ text: t, frame: e }) => {
6456
6456
  ]
6457
6457
  }
6458
6458
  );
6459
- }, eu = (t) => {
6459
+ }, nu = (t) => {
6460
6460
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
6461
6461
  return /* @__PURE__ */ a(
6462
6462
  Wa,
@@ -6465,7 +6465,7 @@ const v0 = ({ text: t, frame: e }) => {
6465
6465
  resolvedFrame: n
6466
6466
  }
6467
6467
  );
6468
- }, nu = (t) => {
6468
+ }, ru = (t) => {
6469
6469
  const e = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : 0;
6470
6470
  return /* @__PURE__ */ a(
6471
6471
  Wa,
@@ -6474,7 +6474,7 @@ const v0 = ({ text: t, frame: e }) => {
6474
6474
  resolvedFrame: e
6475
6475
  }
6476
6476
  );
6477
- }, cr = (t, e, n) => Math.min(n, Math.max(e, t)), ru = `
6477
+ }, cr = (t, e, n) => Math.min(n, Math.max(e, t)), ou = `
6478
6478
  M 50 50
6479
6479
  Q 300 42, 550 50
6480
6480
  C 578 52, 588 62, 588 80
@@ -6579,7 +6579,7 @@ const v0 = ({ text: t, frame: e }) => {
6579
6579
  children: /* @__PURE__ */ a(
6580
6580
  "path",
6581
6581
  {
6582
- d: ru,
6582
+ d: ou,
6583
6583
  fill: m,
6584
6584
  style: {
6585
6585
  clipPath: `inset(0 ${(1 - C) * 100}% 0 0)`
@@ -6624,7 +6624,7 @@ const v0 = ({ text: t, frame: e }) => {
6624
6624
  })
6625
6625
  }
6626
6626
  );
6627
- }, ou = (t) => {
6627
+ }, cu = (t) => {
6628
6628
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
6629
6629
  return /* @__PURE__ */ a(
6630
6630
  Na,
@@ -6633,7 +6633,7 @@ const v0 = ({ text: t, frame: e }) => {
6633
6633
  resolvedFrame: n
6634
6634
  }
6635
6635
  );
6636
- }, cu = ({
6636
+ }, su = ({
6637
6637
  frame: t = 0,
6638
6638
  ...e
6639
6639
  }) => /* @__PURE__ */ a(
@@ -6818,7 +6818,7 @@ const v0 = ({ text: t, frame: e }) => {
6818
6818
  ]
6819
6819
  }
6820
6820
  );
6821
- }, su = (t) => {
6821
+ }, au = (t) => {
6822
6822
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
6823
6823
  return /* @__PURE__ */ a(
6824
6824
  Ba,
@@ -6827,7 +6827,7 @@ const v0 = ({ text: t, frame: e }) => {
6827
6827
  resolvedFrame: n
6828
6828
  }
6829
6829
  );
6830
- }, au = ({
6830
+ }, iu = ({
6831
6831
  frame: t = 0,
6832
6832
  ...e
6833
6833
  }) => /* @__PURE__ */ a(
@@ -6840,7 +6840,7 @@ const v0 = ({ text: t, frame: e }) => {
6840
6840
  ), Cn = (t, e, n) => Math.min(n, Math.max(e, t)), Tn = (t) => {
6841
6841
  const e = Number.parseFloat(String(t ?? 0));
6842
6842
  return Number.isFinite(e) ? e : 0;
6843
- }, iu = (t, e) => {
6843
+ }, lu = (t, e) => {
6844
6844
  if (typeof t == "number")
6845
6845
  return t > 0 && t <= 4 ? t * e : t;
6846
6846
  if (typeof t == "string") {
@@ -6857,7 +6857,7 @@ const v0 = ({ text: t, frame: e }) => {
6857
6857
  }
6858
6858
  }
6859
6859
  return e * 1.2;
6860
- }, lu = (t, e, n) => {
6860
+ }, uu = (t, e, n) => {
6861
6861
  let c;
6862
6862
  if (typeof document < "u") {
6863
6863
  const p = document.createElement("canvas").getContext("2d");
@@ -6870,7 +6870,7 @@ const v0 = ({ text: t, frame: e }) => {
6870
6870
  c = Array.from(t).length * n * 0.6;
6871
6871
  const i = Array.from(t), o = Tn(e == null ? void 0 : e.letterSpacing), u = Tn(e == null ? void 0 : e.wordSpacing), r = Math.max(0, i.length - 1) * o, m = (t.match(/\s/g) || []).length * u;
6872
6872
  return Math.max(1, c + r + m);
6873
- }, uu = (t, e, n) => {
6873
+ }, du = (t, e, n) => {
6874
6874
  if (typeof document < "u") {
6875
6875
  const c = document.createElement("canvas").getContext("2d");
6876
6876
  if (c) {
@@ -6893,7 +6893,7 @@ const v0 = ({ text: t, frame: e }) => {
6893
6893
  borderColor: m = "#E5AD08",
6894
6894
  angle: s = 12
6895
6895
  }) => {
6896
- const d = `text-border-ribbon-${oa().replace(/:/g, "")}`, h = n, l = Cn((r == null ? void 0 : r.shadowOpacity) ?? 0.35, 0, 1), y = Math.max(0, (r == null ? void 0 : r.paddingX) ?? 8), f = Math.max(0, (r == null ? void 0 : r.paddingY) ?? 4), x = Number.parseFloat(String((r == null ? void 0 : r.fontSize) ?? 16)) || 16, v = Math.max(1.5, x * 0.075), g = Math.max(1, iu(r == null ? void 0 : r.lineHeight, x)), w = Cn(
6896
+ const d = `text-border-ribbon-${oa().replace(/:/g, "")}`, h = n, l = Cn((r == null ? void 0 : r.shadowOpacity) ?? 0.35, 0, 1), y = Math.max(0, (r == null ? void 0 : r.paddingX) ?? 8), f = Math.max(0, (r == null ? void 0 : r.paddingY) ?? 4), x = Number.parseFloat(String((r == null ? void 0 : r.fontSize) ?? 16)) || 16, v = Math.max(1.5, x * 0.075), g = Math.max(1, lu(r == null ? void 0 : r.lineHeight, x)), w = Cn(
6897
6897
  (h - c) / Math.max(1, i),
6898
6898
  0,
6899
6899
  1
@@ -6901,10 +6901,10 @@ const v0 = ({ text: t, frame: e }) => {
6901
6901
  () => $.map((W, Y) => ({
6902
6902
  line: W,
6903
6903
  index: Y,
6904
- measuredWidth: lu(W, r, x)
6904
+ measuredWidth: uu(W, r, x)
6905
6905
  })),
6906
6906
  [$, r, x]
6907
- ), F = typeof (r == null ? void 0 : r.color) == "string" ? r.color : "#FFFFFF", k = (r == null ? void 0 : r.fontFamily) || "Arial", I = (r == null ? void 0 : r.fontWeight) || "normal", R = (r == null ? void 0 : r.fontStyle) || "normal", E = uu(r, x, g), N = Tn(r == null ? void 0 : r.letterSpacing), O = Tn(r == null ? void 0 : r.wordSpacing);
6907
+ ), F = typeof (r == null ? void 0 : r.color) == "string" ? r.color : "#FFFFFF", k = (r == null ? void 0 : r.fontFamily) || "Arial", I = (r == null ? void 0 : r.fontWeight) || "normal", R = (r == null ? void 0 : r.fontStyle) || "normal", E = du(r, x, g), N = Tn(r == null ? void 0 : r.letterSpacing), O = Tn(r == null ? void 0 : r.wordSpacing);
6908
6908
  return /* @__PURE__ */ a(
6909
6909
  "div",
6910
6910
  {
@@ -7119,7 +7119,7 @@ const v0 = ({ text: t, frame: e }) => {
7119
7119
  })
7120
7120
  }
7121
7121
  );
7122
- }, du = (t) => {
7122
+ }, hu = (t) => {
7123
7123
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
7124
7124
  return /* @__PURE__ */ a(
7125
7125
  Oa,
@@ -7128,7 +7128,7 @@ const v0 = ({ text: t, frame: e }) => {
7128
7128
  resolvedFrame: n
7129
7129
  }
7130
7130
  );
7131
- }, hu = ({
7131
+ }, fu = ({
7132
7132
  frame: t = 0,
7133
7133
  ...e
7134
7134
  }) => /* @__PURE__ */ a(
@@ -7269,7 +7269,7 @@ const v0 = ({ text: t, frame: e }) => {
7269
7269
  ]
7270
7270
  }
7271
7271
  );
7272
- }, fu = (t) => {
7272
+ }, pu = (t) => {
7273
7273
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
7274
7274
  return /* @__PURE__ */ a(
7275
7275
  Ya,
@@ -7278,7 +7278,7 @@ const v0 = ({ text: t, frame: e }) => {
7278
7278
  resolvedFrame: n
7279
7279
  }
7280
7280
  );
7281
- }, pu = ({
7281
+ }, mu = ({
7282
7282
  frame: t = 0,
7283
7283
  ...e
7284
7284
  }) => /* @__PURE__ */ a(
@@ -7288,7 +7288,7 @@ const v0 = ({ text: t, frame: e }) => {
7288
7288
  frame: t,
7289
7289
  resolvedFrame: t
7290
7290
  }
7291
- ), Fn = (t, e, n) => Math.min(n, Math.max(e, t)), Un = (t) => t * t * (3 - 2 * t), mu = ({
7291
+ ), Fn = (t, e, n) => Math.min(n, Math.max(e, t)), Un = (t) => t * t * (3 - 2 * t), yu = ({
7292
7292
  text: t = "Edit me...",
7293
7293
  lines: e,
7294
7294
  resolvedFrame: n,
@@ -7390,7 +7390,7 @@ const v0 = ({ text: t, frame: e }) => {
7390
7390
  }, Es = (t) => {
7391
7391
  const e = Number.parseFloat(String(t ?? 0));
7392
7392
  return Number.isFinite(e) ? e : 0;
7393
- }, yu = (t, e, n) => {
7393
+ }, gu = (t, e, n) => {
7394
7394
  let c;
7395
7395
  if (typeof document < "u") {
7396
7396
  const s = document.createElement("canvas").getContext("2d");
@@ -7406,7 +7406,7 @@ const v0 = ({ text: t, frame: e }) => {
7406
7406
  0,
7407
7407
  c(t) + u + r
7408
7408
  );
7409
- }, gu = ({
7409
+ }, vu = ({
7410
7410
  text: t = "Edit me...",
7411
7411
  lines: e = [],
7412
7412
  resolvedFrame: n,
@@ -7420,7 +7420,7 @@ const v0 = ({ text: t, frame: e }) => {
7420
7420
  () => g.map(($, M) => ({
7421
7421
  line: $,
7422
7422
  lineIndex: M,
7423
- width: yu($, o, y)
7423
+ width: gu($, o, y)
7424
7424
  })),
7425
7425
  [g, o, y]
7426
7426
  ), S = Math.max(0, ...b.map(({ width: $ }) => $));
@@ -7506,20 +7506,20 @@ const v0 = ({ text: t, frame: e }) => {
7506
7506
  })
7507
7507
  }
7508
7508
  );
7509
- }, vu = (t) => {
7509
+ }, xu = (t) => {
7510
7510
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
7511
7511
  return /* @__PURE__ */ a(
7512
- gu,
7512
+ vu,
7513
7513
  {
7514
7514
  ...t,
7515
7515
  resolvedFrame: n
7516
7516
  }
7517
7517
  );
7518
- }, xu = ({
7518
+ }, bu = ({
7519
7519
  frame: t = 0,
7520
7520
  ...e
7521
7521
  }) => /* @__PURE__ */ a(
7522
- mu,
7522
+ yu,
7523
7523
  {
7524
7524
  ...e,
7525
7525
  resolvedFrame: t
@@ -7527,10 +7527,10 @@ const v0 = ({ text: t, frame: e }) => {
7527
7527
  ), nn = (t, e, n) => Math.min(n, Math.max(e, t)), Ps = (t) => {
7528
7528
  const e = Number.parseFloat(String(t ?? 0));
7529
7529
  return Number.isFinite(e) ? e : 0;
7530
- }, bu = (t) => {
7530
+ }, wu = (t) => {
7531
7531
  const e = nn(t, 0, 1);
7532
7532
  return 1 - Math.pow(1 - e, 3);
7533
- }, wu = (t, e, n) => {
7533
+ }, $u = (t, e, n) => {
7534
7534
  let c;
7535
7535
  if (typeof document < "u") {
7536
7536
  const p = document.createElement("canvas").getContext("2d");
@@ -7568,7 +7568,7 @@ const v0 = ({ text: t, frame: e }) => {
7568
7568
  return {
7569
7569
  line: I,
7570
7570
  lineIndex: R,
7571
- width: wu(I, o, y),
7571
+ width: $u(I, o, y),
7572
7572
  tokens: E,
7573
7573
  wordCount: N
7574
7574
  };
@@ -7722,7 +7722,7 @@ const v0 = ({ text: t, frame: e }) => {
7722
7722
  (p - K) / q,
7723
7723
  0,
7724
7724
  1
7725
- ) : p >= K ? 1 : 0, ct = bu(rt);
7725
+ ) : p >= K ? 1 : 0, ct = wu(rt);
7726
7726
  return /* @__PURE__ */ a(
7727
7727
  "span",
7728
7728
  {
@@ -7749,7 +7749,7 @@ const v0 = ({ text: t, frame: e }) => {
7749
7749
  })
7750
7750
  }
7751
7751
  );
7752
- }, $u = (t) => {
7752
+ }, Mu = (t) => {
7753
7753
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
7754
7754
  return /* @__PURE__ */ a(
7755
7755
  Aa,
@@ -7758,7 +7758,7 @@ const v0 = ({ text: t, frame: e }) => {
7758
7758
  resolvedFrame: n
7759
7759
  }
7760
7760
  );
7761
- }, Mu = ({
7761
+ }, Fu = ({
7762
7762
  frame: t = 0,
7763
7763
  ...e
7764
7764
  }) => /* @__PURE__ */ a(
@@ -7771,7 +7771,7 @@ const v0 = ({ text: t, frame: e }) => {
7771
7771
  ), sr = (t, e, n) => Math.min(n, Math.max(e, t)), Ws = (t) => {
7772
7772
  const e = Number.parseFloat(String(t ?? 0));
7773
7773
  return Number.isFinite(e) ? e : 0;
7774
- }, yr = 0.5, Ns = yr / 2.2, Fu = (t, e, n) => {
7774
+ }, yr = 0.5, Ns = yr / 2.2, Su = (t, e, n) => {
7775
7775
  let c;
7776
7776
  if (typeof document < "u") {
7777
7777
  const p = document.createElement("canvas").getContext("2d");
@@ -7813,7 +7813,7 @@ const v0 = ({ text: t, frame: e }) => {
7813
7813
  () => v.map((F, k) => ({
7814
7814
  line: F,
7815
7815
  lineIndex: k,
7816
- width: Fu(F, o, h)
7816
+ width: Su(F, o, h)
7817
7817
  })),
7818
7818
  [v, o, h]
7819
7819
  ), w = Math.max(1, g.length), b = d * Ns, S = w > 1 ? Math.max(
@@ -7941,7 +7941,7 @@ const v0 = ({ text: t, frame: e }) => {
7941
7941
  })
7942
7942
  }
7943
7943
  );
7944
- }, Su = (t) => {
7944
+ }, Iu = (t) => {
7945
7945
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
7946
7946
  return /* @__PURE__ */ a(
7947
7947
  Xa,
@@ -7950,7 +7950,7 @@ const v0 = ({ text: t, frame: e }) => {
7950
7950
  resolvedFrame: n
7951
7951
  }
7952
7952
  );
7953
- }, Iu = ({
7953
+ }, ku = ({
7954
7954
  frame: t = 0,
7955
7955
  ...e
7956
7956
  }) => /* @__PURE__ */ a(
@@ -7960,13 +7960,13 @@ const v0 = ({ text: t, frame: e }) => {
7960
7960
  frame: t,
7961
7961
  resolvedFrame: t
7962
7962
  }
7963
- ), Ve = (t, e, n) => Math.min(n, Math.max(e, t)), ku = (t) => {
7963
+ ), Ve = (t, e, n) => Math.min(n, Math.max(e, t)), Ru = (t) => {
7964
7964
  const e = Math.sin(t * 127.1 + 311.7) * 43758.5453123;
7965
7965
  return e - Math.floor(e);
7966
7966
  }, Bs = (t) => {
7967
7967
  const e = Number.parseFloat(String(t ?? 0));
7968
7968
  return Number.isFinite(e) ? e : 0;
7969
- }, Ru = (t, e, n) => {
7969
+ }, Eu = (t, e, n) => {
7970
7970
  let c;
7971
7971
  if (typeof document < "u") {
7972
7972
  const m = document.createElement("canvas").getContext("2d");
@@ -7982,7 +7982,7 @@ const v0 = ({ text: t, frame: e }) => {
7982
7982
  0,
7983
7983
  c + Math.max(0, i.length - 1) * o + (t.match(/\s/g) || []).length * u
7984
7984
  );
7985
- }, Eu = ({ size: t, color: e, opacity: n, blur: c, rotation: i }) => /* @__PURE__ */ a(
7985
+ }, Pu = ({ size: t, color: e, opacity: n, blur: c, rotation: i }) => /* @__PURE__ */ a(
7986
7986
  "svg",
7987
7987
  {
7988
7988
  xmlns: "http://www.w3.org/2000/svg",
@@ -8039,7 +8039,7 @@ const v0 = ({ text: t, frame: e }) => {
8039
8039
  line: G,
8040
8040
  lineIndex: U,
8041
8041
  characters: Array.from(G),
8042
- width: Ru(G, r, x)
8042
+ width: Eu(G, r, x)
8043
8043
  })),
8044
8044
  [I, r, x]
8045
8045
  ), E = Math.max(
@@ -8075,7 +8075,7 @@ const v0 = ({ text: t, frame: e }) => {
8075
8075
  Math.floor(z * W)
8076
8076
  )
8077
8077
  ) : -1, L = Bt(() => Array.from({ length: $ }, (G, U) => {
8078
- const T = (J) => ku(S + U * 31.73 + J * 97.13), Z = T(7) > 0.78;
8078
+ const T = (J) => Ru(S + U * 31.73 + J * 97.13), Z = T(7) > 0.78;
8079
8079
  return {
8080
8080
  id: U,
8081
8081
  spread: T(1),
@@ -8194,7 +8194,7 @@ const v0 = ({ text: t, frame: e }) => {
8194
8194
  pointerEvents: "none"
8195
8195
  },
8196
8196
  children: /* @__PURE__ */ a(
8197
- Eu,
8197
+ Pu,
8198
8198
  {
8199
8199
  size: _.size,
8200
8200
  color: b,
@@ -8226,7 +8226,7 @@ const v0 = ({ text: t, frame: e }) => {
8226
8226
  )
8227
8227
  }
8228
8228
  );
8229
- }, Pu = (t) => {
8229
+ }, Wu = (t) => {
8230
8230
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
8231
8231
  return /* @__PURE__ */ a(
8232
8232
  Ca,
@@ -8235,7 +8235,7 @@ const v0 = ({ text: t, frame: e }) => {
8235
8235
  resolvedFrame: n
8236
8236
  }
8237
8237
  );
8238
- }, Wu = ({
8238
+ }, Nu = ({
8239
8239
  frame: t = 0,
8240
8240
  ...e
8241
8241
  }) => /* @__PURE__ */ a(
@@ -8405,7 +8405,7 @@ const v0 = ({ text: t, frame: e }) => {
8405
8405
  ]
8406
8406
  }
8407
8407
  );
8408
- }, Nu = (t) => {
8408
+ }, Bu = (t) => {
8409
8409
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
8410
8410
  return /* @__PURE__ */ a(
8411
8411
  za,
@@ -8414,7 +8414,7 @@ const v0 = ({ text: t, frame: e }) => {
8414
8414
  resolvedFrame: n
8415
8415
  }
8416
8416
  );
8417
- }, Bu = ({
8417
+ }, Ou = ({
8418
8418
  frame: t = 0,
8419
8419
  ...e
8420
8420
  }) => /* @__PURE__ */ a(
@@ -8539,7 +8539,7 @@ const v0 = ({ text: t, frame: e }) => {
8539
8539
  ]
8540
8540
  }
8541
8541
  );
8542
- }, Ou = (t) => {
8542
+ }, Yu = (t) => {
8543
8543
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
8544
8544
  return /* @__PURE__ */ a(
8545
8545
  Ha,
@@ -8548,7 +8548,7 @@ const v0 = ({ text: t, frame: e }) => {
8548
8548
  resolvedFrame: n
8549
8549
  }
8550
8550
  );
8551
- }, Yu = ({
8551
+ }, Au = ({
8552
8552
  frame: t = 0,
8553
8553
  ...e
8554
8554
  }) => /* @__PURE__ */ a(
@@ -8558,7 +8558,7 @@ const v0 = ({ text: t, frame: e }) => {
8558
8558
  frame: t,
8559
8559
  resolvedFrame: t
8560
8560
  }
8561
- ), pe = (t, e, n) => Math.min(n, Math.max(e, t)), Au = (t, e, n) => t + (e - t) * n, Xu = (t) => {
8561
+ ), pe = (t, e, n) => Math.min(n, Math.max(e, t)), Xu = (t, e, n) => t + (e - t) * n, Cu = (t) => {
8562
8562
  const e = pe(t, 0, 1);
8563
8563
  return e < 0.5 ? 8 * Math.pow(e, 4) : 1 - Math.pow(-2 * e + 2, 4) / 2;
8564
8564
  }, Os = (t) => {
@@ -8587,7 +8587,7 @@ const v0 = ({ text: t, frame: e }) => {
8587
8587
  (x - w) / (1 - w),
8588
8588
  0,
8589
8589
  1
8590
- ), M = 1 - Xu($), F = g ? Math.pow(S, 0.45) : 0, k = g ? F : M, I = pe(m, 0, 5), R = k * I, E = Math.floor(
8590
+ ), M = 1 - Cu($), F = g ? Math.pow(S, 0.45) : 0, k = g ? F : M, I = pe(m, 0, 5), R = k * I, E = Math.floor(
8591
8591
  pe(p, 1, 24)
8592
8592
  ), N = $t(
8593
8593
  r ?? {}
@@ -8625,7 +8625,7 @@ const v0 = ({ text: t, frame: e }) => {
8625
8625
  1 - X * k * (0.35 + Math.abs(z) * 0.65),
8626
8626
  0.08,
8627
8627
  1
8628
- ), L = pe(R, 0, 1), j = pe(s, 0, 1) * pe(R, 0, 1), G = v ? g ? 0 : Math.max(0, h) : Math.max(0, h) * (g ? 1 - F : 0.2 + 0.8 * x), U = v ? g ? 0 : 1 : g ? 1 - F : Au(0.15, 1, x), T = v ? 0 : Math.sin(l * 3.4) * 8 * R, Z = v ? 0 : Math.cos(l * 2.9) * 3 * R, J = g && x > 0.1 && !v ? Math.sin(l * 3.4) * 4 * F : 0, V = g && x > 0.1 && !v ? Math.cos(l * 2.9) * 2 * F : 0, q = (_, D = 1, K) => /* @__PURE__ */ a(
8628
+ ), L = pe(R, 0, 1), j = pe(s, 0, 1) * pe(R, 0, 1), G = v ? g ? 0 : Math.max(0, h) : Math.max(0, h) * (g ? 1 - F : 0.2 + 0.8 * x), U = v ? g ? 0 : 1 : g ? 1 - F : Xu(0.15, 1, x), T = v ? 0 : Math.sin(l * 3.4) * 8 * R, Z = v ? 0 : Math.cos(l * 2.9) * 3 * R, J = g && x > 0.1 && !v ? Math.sin(l * 3.4) * 4 * F : 0, V = g && x > 0.1 && !v ? Math.cos(l * 2.9) * 2 * F : 0, q = (_, D = 1, K) => /* @__PURE__ */ a(
8629
8629
  "div",
8630
8630
  {
8631
8631
  style: {
@@ -8777,7 +8777,7 @@ const v0 = ({ text: t, frame: e }) => {
8777
8777
  ]
8778
8778
  }
8779
8779
  );
8780
- }, Cu = (t) => {
8780
+ }, zu = (t) => {
8781
8781
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
8782
8782
  return /* @__PURE__ */ a(
8783
8783
  _a,
@@ -8786,7 +8786,7 @@ const v0 = ({ text: t, frame: e }) => {
8786
8786
  resolvedFrame: n
8787
8787
  }
8788
8788
  );
8789
- }, zu = ({
8789
+ }, Hu = ({
8790
8790
  frame: t = 0,
8791
8791
  ...e
8792
8792
  }) => /* @__PURE__ */ a(
@@ -8796,7 +8796,7 @@ const v0 = ({ text: t, frame: e }) => {
8796
8796
  frame: t,
8797
8797
  resolvedFrame: t
8798
8798
  }
8799
- ), Va = (t, e, n) => Math.min(n, Math.max(e, t)), Hu = (t) => t < 0.5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2, _u = (t) => {
8799
+ ), Va = (t, e, n) => Math.min(n, Math.max(e, t)), _u = (t) => t < 0.5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2, Vu = (t) => {
8800
8800
  const e = t.replace("#", "");
8801
8801
  if (!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$/.test(e))
8802
8802
  return { r: 255, g: 255, b: 255 };
@@ -8806,12 +8806,12 @@ const v0 = ({ text: t, frame: e }) => {
8806
8806
  g: parseInt(n.substring(2, 4), 16),
8807
8807
  b: parseInt(n.substring(4, 6), 16)
8808
8808
  };
8809
- }, Vu = (t, e, n) => {
8809
+ }, Lu = (t, e, n) => {
8810
8810
  const c = (i) => Math.round(Va(i, 0, 255)).toString(16).padStart(2, "0");
8811
8811
  return `#${c(t)}${c(e)}${c(n)}`;
8812
- }, Lu = (t, e) => {
8813
- const { r: n, g: c, b: i } = _u(t), o = 0.299 * n + 0.587 * c + 0.114 * i, u = Math.max(0, e);
8814
- return Vu(
8812
+ }, ju = (t, e) => {
8813
+ const { r: n, g: c, b: i } = Vu(t), o = 0.299 * n + 0.587 * c + 0.114 * i, u = Math.max(0, e);
8814
+ return Lu(
8815
8815
  o + (n - o) * u,
8816
8816
  o + (c - o) * u,
8817
8817
  o + (i - o) * u
@@ -8829,7 +8829,7 @@ const v0 = ({ text: t, frame: e }) => {
8829
8829
  colorIntensity: s = 1,
8830
8830
  sweepWidth: p = 0.3
8831
8831
  }) => {
8832
- const d = n, h = Math.max(1, Math.floor(i)), l = d - c, y = Va(l / h, 0, 1), f = Hu(y), v = u < o ? 1 - f : f, g = (r == null ? void 0 : r.color) ?? "#FFFFFF", w = Math.max(0, m), S = v * w * 100 % 100, $ = `${S}%`, M = `${S}%`, F = Math.max(0, s), I = [
8832
+ const d = n, h = Math.max(1, Math.floor(i)), l = d - c, y = Va(l / h, 0, 1), f = _u(y), v = u < o ? 1 - f : f, g = (r == null ? void 0 : r.color) ?? "#FFFFFF", w = Math.max(0, m), S = v * w * 100 % 100, $ = `${S}%`, M = `${S}%`, F = Math.max(0, s), I = [
8833
8833
  "#087BFF",
8834
8834
  "#00C8FF",
8835
8835
  "#00E5A0",
@@ -8841,7 +8841,7 @@ const v0 = ({ text: t, frame: e }) => {
8841
8841
  "#A000FF",
8842
8842
  "#1677FF"
8843
8843
  ].map(
8844
- (Y) => Lu(Y, F)
8844
+ (Y) => ju(Y, F)
8845
8845
  ), E = 8 * Math.max(0.01, p), N = `
8846
8846
  repeating-linear-gradient(
8847
8847
  135deg,
@@ -8909,7 +8909,7 @@ const v0 = ({ text: t, frame: e }) => {
8909
8909
  )
8910
8910
  }
8911
8911
  );
8912
- }, ju = (t) => {
8912
+ }, Gu = (t) => {
8913
8913
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
8914
8914
  return /* @__PURE__ */ a(
8915
8915
  La,
@@ -8918,7 +8918,7 @@ const v0 = ({ text: t, frame: e }) => {
8918
8918
  resolvedFrame: n
8919
8919
  }
8920
8920
  );
8921
- }, Gu = ({
8921
+ }, Tu = ({
8922
8922
  frame: t = 0,
8923
8923
  ...e
8924
8924
  }) => /* @__PURE__ */ a(
@@ -9044,7 +9044,7 @@ const v0 = ({ text: t, frame: e }) => {
9044
9044
  )
9045
9045
  }
9046
9046
  );
9047
- }, Tu = (t) => {
9047
+ }, Uu = (t) => {
9048
9048
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
9049
9049
  return /* @__PURE__ */ a(
9050
9050
  ja,
@@ -9053,7 +9053,7 @@ const v0 = ({ text: t, frame: e }) => {
9053
9053
  resolvedFrame: n
9054
9054
  }
9055
9055
  );
9056
- }, Uu = ({
9056
+ }, Zu = ({
9057
9057
  frame: t = 0,
9058
9058
  ...e
9059
9059
  }) => /* @__PURE__ */ a(
@@ -9063,7 +9063,7 @@ const v0 = ({ text: t, frame: e }) => {
9063
9063
  frame: t,
9064
9064
  resolvedFrame: t
9065
9065
  }
9066
- ), Le = (t, e, n) => Math.min(n, Math.max(e, t)), Zu = (t, e, n) => {
9066
+ ), Le = (t, e, n) => Math.min(n, Math.max(e, t)), Qu = (t, e, n) => {
9067
9067
  if (t <= 0) return 0;
9068
9068
  if (t >= 1) return 1;
9069
9069
  const c = Le(e, 0, 2), i = Math.max(1, n);
@@ -9094,7 +9094,7 @@ const v0 = ({ text: t, frame: e }) => {
9094
9094
  (S - w) / (b - w),
9095
9095
  0,
9096
9096
  1
9097
- ), F = b < w ? 1 - $ : $, k = (1 - F) * Math.max(0, m), I = Zu(
9097
+ ), F = b < w ? 1 - $ : $, k = (1 - F) * Math.max(0, m), I = Qu(
9098
9098
  F,
9099
9099
  p,
9100
9100
  d
@@ -9151,7 +9151,7 @@ const v0 = ({ text: t, frame: e }) => {
9151
9151
  )
9152
9152
  }
9153
9153
  );
9154
- }, Qu = (t) => {
9154
+ }, Ju = (t) => {
9155
9155
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
9156
9156
  return /* @__PURE__ */ a(
9157
9157
  Ga,
@@ -9160,7 +9160,7 @@ const v0 = ({ text: t, frame: e }) => {
9160
9160
  resolvedFrame: n
9161
9161
  }
9162
9162
  );
9163
- }, Ju = ({
9163
+ }, Ku = ({
9164
9164
  frame: t = 0,
9165
9165
  ...e
9166
9166
  }) => /* @__PURE__ */ a(
@@ -9170,7 +9170,7 @@ const v0 = ({ text: t, frame: e }) => {
9170
9170
  frame: t,
9171
9171
  resolvedFrame: t
9172
9172
  }
9173
- ), $n = (t, e, n) => Math.min(n, Math.max(e, t)), Ku = (t, e, n) => {
9173
+ ), $n = (t, e, n) => Math.min(n, Math.max(e, t)), qu = (t, e, n) => {
9174
9174
  if (t <= 0) return 0;
9175
9175
  if (t >= 1) return 1;
9176
9176
  const c = $n(e, 0, 2), i = Math.max(1, n);
@@ -9200,7 +9200,7 @@ const v0 = ({ text: t, frame: e }) => {
9200
9200
  (b - g) / (w - g),
9201
9201
  0,
9202
9202
  1
9203
- ), M = w < g ? 1 - S : S, F = Ku(
9203
+ ), M = w < g ? 1 - S : S, F = qu(
9204
9204
  M,
9205
9205
  p,
9206
9206
  d
@@ -9313,7 +9313,7 @@ const v0 = ({ text: t, frame: e }) => {
9313
9313
  ]
9314
9314
  }
9315
9315
  );
9316
- }, qu = (t) => {
9316
+ }, Du = (t) => {
9317
9317
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
9318
9318
  return /* @__PURE__ */ a(
9319
9319
  Ta,
@@ -9322,7 +9322,7 @@ const v0 = ({ text: t, frame: e }) => {
9322
9322
  resolvedFrame: n
9323
9323
  }
9324
9324
  );
9325
- }, Du = ({
9325
+ }, td = ({
9326
9326
  frame: t = 0,
9327
9327
  ...e
9328
9328
  }) => /* @__PURE__ */ a(
@@ -9332,10 +9332,10 @@ const v0 = ({ text: t, frame: e }) => {
9332
9332
  frame: t,
9333
9333
  resolvedFrame: t
9334
9334
  }
9335
- ), rn = (t, e, n) => Math.min(n, Math.max(e, t)), td = (t) => {
9335
+ ), rn = (t, e, n) => Math.min(n, Math.max(e, t)), ed = (t) => {
9336
9336
  const e = rn(t, 0, 1);
9337
9337
  return e * e * (3 - 2 * e);
9338
- }, ed = (t) => t - Math.floor(t), fe = (t) => ed(Math.sin(t * 127.1 + 311.7) * 43758.5453), Ua = ({
9338
+ }, nd = (t) => t - Math.floor(t), fe = (t) => nd(Math.sin(t * 127.1 + 311.7) * 43758.5453), Ua = ({
9339
9339
  text: t = "Edit me...",
9340
9340
  lines: e = [],
9341
9341
  resolvedFrame: n,
@@ -9360,7 +9360,7 @@ const v0 = ({ text: t, frame: e }) => {
9360
9360
  (g + (w - g) * v - g) / (w - g),
9361
9361
  0,
9362
9362
  1
9363
- ), $ = b ? 1 - S : S, M = $ <= 0.5, F = M ? $ * 2 : ($ - 0.5) * 2, I = 100 * (1 - td(F)), R = M ? `inset(${I}% 0 0 0)` : `inset(0 0 ${100 - I}% 0)`, E = rn(
9363
+ ), $ = b ? 1 - S : S, M = $ <= 0.5, F = M ? $ * 2 : ($ - 0.5) * 2, I = 100 * (1 - ed(F)), R = M ? `inset(${I}% 0 0 0)` : `inset(0 0 ${100 - I}% 0)`, E = rn(
9364
9364
  Math.max(0, p),
9365
9365
  0,
9366
9366
  1
@@ -9666,7 +9666,7 @@ const v0 = ({ text: t, frame: e }) => {
9666
9666
  ]
9667
9667
  }
9668
9668
  );
9669
- }, nd = (t) => {
9669
+ }, rd = (t) => {
9670
9670
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
9671
9671
  return /* @__PURE__ */ a(
9672
9672
  Ua,
@@ -9675,7 +9675,7 @@ const v0 = ({ text: t, frame: e }) => {
9675
9675
  resolvedFrame: n
9676
9676
  }
9677
9677
  );
9678
- }, rd = ({
9678
+ }, od = ({
9679
9679
  frame: t = 0,
9680
9680
  ...e
9681
9681
  }) => /* @__PURE__ */ a(
@@ -9685,7 +9685,7 @@ const v0 = ({ text: t, frame: e }) => {
9685
9685
  frame: t,
9686
9686
  resolvedFrame: t
9687
9687
  }
9688
- ), yn = (t, e, n) => Math.min(n, Math.max(e, t)), Ys = (t) => t >= 1 ? 1 : 1 - Math.pow(2, -10 * t), od = (t) => t - Math.floor(t), As = (t) => od(Math.sin(t * 127.1 + 311.7) * 43758.5453), Za = ({
9688
+ ), yn = (t, e, n) => Math.min(n, Math.max(e, t)), Ys = (t) => t >= 1 ? 1 : 1 - Math.pow(2, -10 * t), cd = (t) => t - Math.floor(t), As = (t) => cd(Math.sin(t * 127.1 + 311.7) * 43758.5453), Za = ({
9689
9689
  text: t = "YOUR BRAND",
9690
9690
  lines: e,
9691
9691
  resolvedFrame: n,
@@ -10108,7 +10108,7 @@ const v0 = ({ text: t, frame: e }) => {
10108
10108
  ]
10109
10109
  }
10110
10110
  );
10111
- }, cd = ({
10111
+ }, sd = ({
10112
10112
  frame: t,
10113
10113
  ...e
10114
10114
  }) => {
@@ -10120,16 +10120,16 @@ const v0 = ({ text: t, frame: e }) => {
10120
10120
  resolvedFrame: typeof t == "number" && Number.isFinite(t) ? t : n
10121
10121
  }
10122
10122
  );
10123
- }, sd = ({ frame: t = 0, ...e }) => /* @__PURE__ */ a(
10123
+ }, ad = ({ frame: t = 0, ...e }) => /* @__PURE__ */ a(
10124
10124
  Za,
10125
10125
  {
10126
10126
  ...e,
10127
10127
  resolvedFrame: t
10128
10128
  }
10129
- ), xe = (t, e, n) => Math.min(n, Math.max(e, t)), ad = (t) => {
10129
+ ), xe = (t, e, n) => Math.min(n, Math.max(e, t)), id = (t) => {
10130
10130
  const e = xe(t, 0, 1);
10131
10131
  return e * e * (3 - 2 * e);
10132
- }, id = (t) => t - Math.floor(t), Hn = (t) => id(Math.sin(t * 127.1 + 311.7) * 43758.5453), Qa = ({
10132
+ }, ld = (t) => t - Math.floor(t), Hn = (t) => ld(Math.sin(t * 127.1 + 311.7) * 43758.5453), Qa = ({
10133
10133
  text: t = "Edit me...",
10134
10134
  lines: e = [],
10135
10135
  resolvedFrame: n,
@@ -10156,7 +10156,7 @@ const v0 = ({ text: t, frame: e }) => {
10156
10156
  (b + (S - b) * w - b) / (S - b),
10157
10157
  0,
10158
10158
  1
10159
- ), F = $ ? 1 - M : M, k = F, I = 1 - ad(
10159
+ ), F = $ ? 1 - M : M, k = F, I = 1 - id(
10160
10160
  xe((w - 0.8) / 0.2, 0, 1)
10161
10161
  ), R = Math.max(0, m), E = 1 - k, N = Math.sin(
10162
10162
  F * Math.PI * 2 * Math.max(1, d)
@@ -10415,7 +10415,7 @@ const v0 = ({ text: t, frame: e }) => {
10415
10415
  ]
10416
10416
  }
10417
10417
  );
10418
- }, ld = (t) => {
10418
+ }, ud = (t) => {
10419
10419
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
10420
10420
  return /* @__PURE__ */ a(
10421
10421
  Qa,
@@ -10424,7 +10424,7 @@ const v0 = ({ text: t, frame: e }) => {
10424
10424
  resolvedFrame: n
10425
10425
  }
10426
10426
  );
10427
- }, ud = ({
10427
+ }, dd = ({
10428
10428
  frame: t = 0,
10429
10429
  ...e
10430
10430
  }) => /* @__PURE__ */ a(
@@ -10434,7 +10434,7 @@ const v0 = ({ text: t, frame: e }) => {
10434
10434
  frame: t,
10435
10435
  resolvedFrame: t
10436
10436
  }
10437
- ), je = (t, e, n) => Math.min(n, Math.max(e, t)), dd = (t) => {
10437
+ ), je = (t, e, n) => Math.min(n, Math.max(e, t)), hd = (t) => {
10438
10438
  const e = je(t, 0, 1);
10439
10439
  return e * e * (3 - 2 * e);
10440
10440
  }, Ja = ({
@@ -10461,7 +10461,7 @@ const v0 = ({ text: t, frame: e }) => {
10461
10461
  (v + (g - v) * x - v) / (g - v),
10462
10462
  0,
10463
10463
  1
10464
- ), b = g < v ? 1 - w : w, S = dd(b), $ = e.length > 0 ? e : [t], M = $t(
10464
+ ), b = g < v ? 1 - w : w, S = hd(b), $ = e.length > 0 ? e : [t], M = $t(
10465
10465
  r ?? {}
10466
10466
  ), F = $.reduce(
10467
10467
  (z, X) => z + X.length,
@@ -10636,7 +10636,7 @@ const v0 = ({ text: t, frame: e }) => {
10636
10636
  )
10637
10637
  }
10638
10638
  );
10639
- }, hd = (t) => {
10639
+ }, fd = (t) => {
10640
10640
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
10641
10641
  return /* @__PURE__ */ a(
10642
10642
  Ja,
@@ -10645,7 +10645,7 @@ const v0 = ({ text: t, frame: e }) => {
10645
10645
  resolvedFrame: n
10646
10646
  }
10647
10647
  );
10648
- }, fd = ({
10648
+ }, pd = ({
10649
10649
  frame: t = 0,
10650
10650
  ...e
10651
10651
  }) => /* @__PURE__ */ a(
@@ -10906,7 +10906,7 @@ const v0 = ({ text: t, frame: e }) => {
10906
10906
  })
10907
10907
  }
10908
10908
  );
10909
- }, pd = (t) => {
10909
+ }, md = (t) => {
10910
10910
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
10911
10911
  return /* @__PURE__ */ a(
10912
10912
  Ka,
@@ -10915,7 +10915,7 @@ const v0 = ({ text: t, frame: e }) => {
10915
10915
  resolvedFrame: n
10916
10916
  }
10917
10917
  );
10918
- }, md = ({
10918
+ }, yd = ({
10919
10919
  frame: t = 0,
10920
10920
  ...e
10921
10921
  }) => /* @__PURE__ */ a(
@@ -11193,7 +11193,7 @@ const v0 = ({ text: t, frame: e }) => {
11193
11193
  })
11194
11194
  }
11195
11195
  );
11196
- }, yd = (t) => {
11196
+ }, gd = (t) => {
11197
11197
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
11198
11198
  return /* @__PURE__ */ a(
11199
11199
  qa,
@@ -11202,7 +11202,7 @@ const v0 = ({ text: t, frame: e }) => {
11202
11202
  resolvedFrame: n
11203
11203
  }
11204
11204
  );
11205
- }, gd = ({
11205
+ }, vd = ({
11206
11206
  frame: t = 0,
11207
11207
  ...e
11208
11208
  }) => /* @__PURE__ */ a(
@@ -11212,7 +11212,7 @@ const v0 = ({ text: t, frame: e }) => {
11212
11212
  frame: t,
11213
11213
  resolvedFrame: t
11214
11214
  }
11215
- ), ee = (t, e, n) => Math.min(n, Math.max(e, t)), vd = (t, e, n) => {
11215
+ ), ee = (t, e, n) => Math.min(n, Math.max(e, t)), xd = (t, e, n) => {
11216
11216
  const c = ee((n - t) / (e - t), 0, 1);
11217
11217
  return c * c * (3 - 2 * c);
11218
11218
  }, lr = (t, e) => {
@@ -11238,7 +11238,7 @@ const v0 = ({ text: t, frame: e }) => {
11238
11238
  }) => {
11239
11239
  const x = n, v = Math.max(1, i), g = x - c, w = ee(g / v, 0, 1), b = $t(
11240
11240
  o ?? {}
11241
- ), S = e.length > 0 ? e : [t], $ = b.color ?? (o == null ? void 0 : o.color) ?? "#FFFFFF", M = vd(0.92, 1, w), F = 1, k = g >= 0 && g < v, I = ee(s, 0.1, 5), R = Math.sin(
11241
+ ), S = e.length > 0 ? e : [t], $ = b.color ?? (o == null ? void 0 : o.color) ?? "#FFFFFF", M = xd(0.92, 1, w), F = 1, k = g >= 0 && g < v, I = ee(s, 0.1, 5), R = Math.sin(
11242
11242
  g * 0.65 * I + l
11243
11243
  ), E = Math.sin(
11244
11244
  g * 1.37 * I + l * 0.7
@@ -11471,7 +11471,7 @@ const v0 = ({ text: t, frame: e }) => {
11471
11471
  })
11472
11472
  }
11473
11473
  );
11474
- }, xd = (t) => {
11474
+ }, bd = (t) => {
11475
11475
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
11476
11476
  return /* @__PURE__ */ a(
11477
11477
  Da,
@@ -11480,7 +11480,7 @@ const v0 = ({ text: t, frame: e }) => {
11480
11480
  resolvedFrame: n
11481
11481
  }
11482
11482
  );
11483
- }, bd = ({
11483
+ }, wd = ({
11484
11484
  frame: t = 0,
11485
11485
  ...e
11486
11486
  }) => /* @__PURE__ */ a(
@@ -11493,7 +11493,7 @@ const v0 = ({ text: t, frame: e }) => {
11493
11493
  ), ye = (t, e, n) => Math.min(n, Math.max(e, t)), Ae = (t, e, n) => t + (e - t) * n, _n = (t, e, n) => {
11494
11494
  const c = ye((n - t) / (e - t), 0, 1);
11495
11495
  return c * c * (3 - 2 * c);
11496
- }, wd = (t) => 1 - Math.pow(1 - ye(t, 0, 1), 3), $d = (t) => {
11496
+ }, $d = (t) => 1 - Math.pow(1 - ye(t, 0, 1), 3), Md = (t) => {
11497
11497
  const e = ye(t, 0, 1);
11498
11498
  return e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2;
11499
11499
  }, Xs = (t, e) => {
@@ -11520,9 +11520,9 @@ const v0 = ({ text: t, frame: e }) => {
11520
11520
  }) => {
11521
11521
  const v = n, g = Math.max(1, i), w = v - c, b = ye(w / g, 0, 1), $ = u > r ? 1 - b : b, M = $t(
11522
11522
  o ?? {}
11523
- ), F = e.length > 0 ? e : [t], k = M.color ?? (o == null ? void 0 : o.color), I = w >= 0 && w < g, R = wd(
11523
+ ), F = e.length > 0 ? e : [t], k = M.color ?? (o == null ? void 0 : o.color), I = w >= 0 && w < g, R = $d(
11524
11524
  _n(0.04, 0.38, $)
11525
- ), E = $d(
11525
+ ), E = Md(
11526
11526
  _n(0.38, 0.78, $)
11527
11527
  ), N = 1 - _n(
11528
11528
  0.48,
@@ -11709,7 +11709,7 @@ const v0 = ({ text: t, frame: e }) => {
11709
11709
  })
11710
11710
  }
11711
11711
  );
11712
- }, Md = (t) => {
11712
+ }, Fd = (t) => {
11713
11713
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
11714
11714
  return /* @__PURE__ */ a(
11715
11715
  ti,
@@ -11718,7 +11718,7 @@ const v0 = ({ text: t, frame: e }) => {
11718
11718
  resolvedFrame: n
11719
11719
  }
11720
11720
  );
11721
- }, Fd = ({
11721
+ }, Sd = ({
11722
11722
  frame: t = 0,
11723
11723
  ...e
11724
11724
  }) => /* @__PURE__ */ a(
@@ -11731,7 +11731,7 @@ const v0 = ({ text: t, frame: e }) => {
11731
11731
  ), ue = (t, e, n) => Math.min(n, Math.max(e, t)), Xe = (t, e, n) => t + (e - t) * n, Ce = (t, e, n) => {
11732
11732
  const c = ue((n - t) / (e - t), 0, 1);
11733
11733
  return c * c * (3 - 2 * c);
11734
- }, Sd = (t) => 1 - Math.pow(1 - ue(t, 0, 1), 3), Id = (t) => {
11734
+ }, Id = (t) => 1 - Math.pow(1 - ue(t, 0, 1), 3), kd = (t) => {
11735
11735
  const e = ue(t, 0, 1);
11736
11736
  return e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2;
11737
11737
  }, Cs = (t, e) => {
@@ -11761,9 +11761,9 @@ const v0 = ({ text: t, frame: e }) => {
11761
11761
  f > x && (b = 1 - b);
11762
11762
  const S = $t(
11763
11763
  o ?? {}
11764
- ), $ = e.length > 0 ? e : [t], M = S.color ?? (o == null ? void 0 : o.color), F = w >= 0 && w < g, k = Sd(
11764
+ ), $ = e.length > 0 ? e : [t], M = S.color ?? (o == null ? void 0 : o.color), F = w >= 0 && w < g, k = Id(
11765
11765
  Ce(0.02, 0.34, b)
11766
- ), I = Id(
11766
+ ), I = kd(
11767
11767
  Ce(0.38, 0.76, b)
11768
11768
  ), R = Ce(
11769
11769
  0.72,
@@ -11973,7 +11973,7 @@ const v0 = ({ text: t, frame: e }) => {
11973
11973
  })
11974
11974
  }
11975
11975
  );
11976
- }, kd = (t) => {
11976
+ }, Rd = (t) => {
11977
11977
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
11978
11978
  return /* @__PURE__ */ a(
11979
11979
  ei,
@@ -11982,7 +11982,7 @@ const v0 = ({ text: t, frame: e }) => {
11982
11982
  resolvedFrame: n
11983
11983
  }
11984
11984
  );
11985
- }, Rd = ({
11985
+ }, Ed = ({
11986
11986
  frame: t = 0,
11987
11987
  ...e
11988
11988
  }) => /* @__PURE__ */ a(
@@ -12272,7 +12272,7 @@ const v0 = ({ text: t, frame: e }) => {
12272
12272
  })
12273
12273
  }
12274
12274
  );
12275
- }, Ed = (t) => {
12275
+ }, Pd = (t) => {
12276
12276
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
12277
12277
  return /* @__PURE__ */ a(
12278
12278
  ni,
@@ -12281,7 +12281,7 @@ const v0 = ({ text: t, frame: e }) => {
12281
12281
  resolvedFrame: n
12282
12282
  }
12283
12283
  );
12284
- }, Pd = ({
12284
+ }, Wd = ({
12285
12285
  frame: t = 0,
12286
12286
  ...e
12287
12287
  }) => /* @__PURE__ */ a(
@@ -12475,7 +12475,7 @@ const v0 = ({ text: t, frame: e }) => {
12475
12475
  })
12476
12476
  }
12477
12477
  );
12478
- }, Wd = (t) => {
12478
+ }, Nd = (t) => {
12479
12479
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
12480
12480
  return /* @__PURE__ */ a(
12481
12481
  ri,
@@ -12484,7 +12484,7 @@ const v0 = ({ text: t, frame: e }) => {
12484
12484
  resolvedFrame: n
12485
12485
  }
12486
12486
  );
12487
- }, Nd = ({
12487
+ }, Bd = ({
12488
12488
  frame: t = 0,
12489
12489
  ...e
12490
12490
  }) => /* @__PURE__ */ a(
@@ -12497,13 +12497,13 @@ const v0 = ({ text: t, frame: e }) => {
12497
12497
  ), me = (t, e, n) => Math.min(n, Math.max(e, t)), ur = (t, e, n) => t + (e - t) * n, vn = (t, e, n) => {
12498
12498
  const c = me((n - t) / (e - t), 0, 1);
12499
12499
  return c * c * (3 - 2 * c);
12500
- }, Bd = (t) => {
12500
+ }, Od = (t) => {
12501
12501
  const e = me(t, 0, 1);
12502
12502
  return e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2;
12503
12503
  }, xn = (t, e) => {
12504
12504
  const n = Math.sin(t * 127.1 + e * 311.7) * 43758.5453;
12505
12505
  return n - Math.floor(n);
12506
- }, Od = (t) => /\s/.test(t) ? 0.35 : /[ilI.,:;!'|]/.test(t) ? 0.38 : /[fjrt()]/.test(t) ? 0.55 : /[mwMW@%]/.test(t) ? 1.3 : /[A-Z]/.test(t) ? 0.9 : 0.75, oi = ({
12506
+ }, Yd = (t) => /\s/.test(t) ? 0.35 : /[ilI.,:;!'|]/.test(t) ? 0.38 : /[fjrt()]/.test(t) ? 0.55 : /[mwMW@%]/.test(t) ? 1.3 : /[A-Z]/.test(t) ? 0.9 : 0.75, oi = ({
12507
12507
  text: t = "Agregar título",
12508
12508
  lines: e = [],
12509
12509
  resolvedFrame: n,
@@ -12568,7 +12568,7 @@ const v0 = ({ text: t, frame: e }) => {
12568
12568
  color: M
12569
12569
  },
12570
12570
  children: $.map((L, j) => {
12571
- const G = Array.from(L), U = y + j * 17, T = 0.9 + xn(j * 19, U) * 0.2, Z = G.map(Od), J = Z.reduce(
12571
+ const G = Array.from(L), U = y + j * 17, T = 0.9 + xn(j * 19, U) * 0.2, Z = G.map(Yd), J = Z.reduce(
12572
12572
  (_, D) => _ + D,
12573
12573
  0
12574
12574
  );
@@ -12654,7 +12654,7 @@ const v0 = ({ text: t, frame: e }) => {
12654
12654
  ),
12655
12655
  0,
12656
12656
  1
12657
- ), it = Bd(
12657
+ ), it = Od(
12658
12658
  ct
12659
12659
  ), pt = ur(
12660
12660
  0,
@@ -12711,7 +12711,7 @@ const v0 = ({ text: t, frame: e }) => {
12711
12711
  })
12712
12712
  }
12713
12713
  );
12714
- }, Yd = (t) => {
12714
+ }, Ad = (t) => {
12715
12715
  const e = gt(), n = typeof t.frame == "number" && Number.isFinite(t.frame) ? t.frame : e;
12716
12716
  return /* @__PURE__ */ a(
12717
12717
  oi,
@@ -12720,7 +12720,7 @@ const v0 = ({ text: t, frame: e }) => {
12720
12720
  resolvedFrame: n
12721
12721
  }
12722
12722
  );
12723
- }, Ad = ({
12723
+ }, Xd = ({
12724
12724
  frame: t = 0,
12725
12725
  ...e
12726
12726
  }) => /* @__PURE__ */ a(
@@ -12730,34 +12730,34 @@ const v0 = ({ text: t, frame: e }) => {
12730
12730
  frame: t,
12731
12731
  resolvedFrame: t
12732
12732
  }
12733
- ), Xd = {
12734
- sunnyMorningsTextAnimationIn: Hl,
12735
- dominoDreamsTextAnimationIn: _l,
12736
- greatThinkersTextAnimationIn: Vl,
12737
- beautifulQuestionsTextAnimationIn: Ll,
12738
- madeWithLoveTextAnimationIn: jl,
12739
- realityIsBrokenTextAnimationIn: Ql,
12740
- dropTextAnimationIn: n0,
12741
- descompressTextAnimationIn: r0
12742
- }, Cd = {
12743
- animatedTextOut: Gl,
12744
- sunnyMorningsTextAnimationOut: Tl,
12745
- dominoDreamsTextAnimationOut: Ul,
12746
- beautifulQuestionsTextAnimationOut: Zl,
12747
- madeWithLoveTextAnimationOut: Jl,
12748
- realityIsBrokenTextAnimationOut: Kl,
12749
- greatThinkersTextAnimationOut: ql,
12750
- descompressTextAnimationOut: o0,
12751
- dropTextAnimationOut: c0
12733
+ ), Cd = {
12734
+ sunnyMorningsTextAnimationIn: _l,
12735
+ dominoDreamsTextAnimationIn: Vl,
12736
+ greatThinkersTextAnimationIn: Ll,
12737
+ beautifulQuestionsTextAnimationIn: jl,
12738
+ madeWithLoveTextAnimationIn: Gl,
12739
+ realityIsBrokenTextAnimationIn: Jl,
12740
+ dropTextAnimationIn: r0,
12741
+ descompressTextAnimationIn: o0
12752
12742
  }, zd = {
12753
- vogueTextAnimationLoop: Dl,
12754
- dragonFlyTextAnimationLoop: t0,
12755
- billboardTextAnimationLoop: e0,
12756
- heartbeatTextAnimationLoop: s0,
12757
- waveTextAnimationLoop: a0,
12758
- shakyLettersTextAnimationLoop: i0,
12759
- pulseTextAnimationLoop: l0
12760
- }, Hd = ({
12743
+ animatedTextOut: Tl,
12744
+ sunnyMorningsTextAnimationOut: Ul,
12745
+ dominoDreamsTextAnimationOut: Zl,
12746
+ beautifulQuestionsTextAnimationOut: Ql,
12747
+ madeWithLoveTextAnimationOut: Kl,
12748
+ realityIsBrokenTextAnimationOut: ql,
12749
+ greatThinkersTextAnimationOut: Dl,
12750
+ descompressTextAnimationOut: c0,
12751
+ dropTextAnimationOut: s0
12752
+ }, Hd = {
12753
+ vogueTextAnimationLoop: t0,
12754
+ dragonFlyTextAnimationLoop: e0,
12755
+ billboardTextAnimationLoop: n0,
12756
+ heartbeatTextAnimationLoop: a0,
12757
+ waveTextAnimationLoop: i0,
12758
+ shakyLettersTextAnimationLoop: l0,
12759
+ pulseTextAnimationLoop: u0
12760
+ }, _d = ({
12761
12761
  text: t,
12762
12762
  fps: e,
12763
12763
  textAnimationNameIn: n,
@@ -12822,7 +12822,7 @@ const v0 = ({ text: t, frame: e }) => {
12822
12822
  );
12823
12823
  if (n.includes("typeWriterTextAnimationIn") && R)
12824
12824
  return /* @__PURE__ */ a(
12825
- u0,
12825
+ d0,
12826
12826
  {
12827
12827
  frame: f,
12828
12828
  durationInFrames: x,
@@ -12832,7 +12832,7 @@ const v0 = ({ text: t, frame: e }) => {
12832
12832
  );
12833
12833
  if (n.includes("backgroundTextAnimationIn") && R)
12834
12834
  return /* @__PURE__ */ a(
12835
- d0,
12835
+ h0,
12836
12836
  {
12837
12837
  text: t,
12838
12838
  frame: f,
@@ -12842,7 +12842,7 @@ const v0 = ({ text: t, frame: e }) => {
12842
12842
  );
12843
12843
  if (n.includes("soundWaveTextAnimationIn") && R)
12844
12844
  return /* @__PURE__ */ a(
12845
- h0,
12845
+ f0,
12846
12846
  {
12847
12847
  text: t,
12848
12848
  frame: f,
@@ -12852,7 +12852,7 @@ const v0 = ({ text: t, frame: e }) => {
12852
12852
  );
12853
12853
  if (n.includes("countDownTextAnimationIn") && R)
12854
12854
  return /* @__PURE__ */ a(
12855
- f0,
12855
+ p0,
12856
12856
  {
12857
12857
  text: t,
12858
12858
  frame: f,
@@ -12862,7 +12862,7 @@ const v0 = ({ text: t, frame: e }) => {
12862
12862
  );
12863
12863
  if (n.includes("partialSlideIn") && R)
12864
12864
  return /* @__PURE__ */ a(
12865
- p0,
12865
+ m0,
12866
12866
  {
12867
12867
  text: t,
12868
12868
  frame: f,
@@ -12902,7 +12902,7 @@ const v0 = ({ text: t, frame: e }) => {
12902
12902
  if (rt) {
12903
12903
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = rt;
12904
12904
  return /* @__PURE__ */ a(
12905
- Pu,
12905
+ Wu,
12906
12906
  {
12907
12907
  text: t,
12908
12908
  lines: V,
@@ -12925,7 +12925,7 @@ const v0 = ({ text: t, frame: e }) => {
12925
12925
  if (it) {
12926
12926
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = it;
12927
12927
  return /* @__PURE__ */ a(
12928
- Nu,
12928
+ Bu,
12929
12929
  {
12930
12930
  text: t,
12931
12931
  lines: V,
@@ -12949,7 +12949,7 @@ const v0 = ({ text: t, frame: e }) => {
12949
12949
  if (at) {
12950
12950
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = at;
12951
12951
  return /* @__PURE__ */ a(
12952
- Ou,
12952
+ Yu,
12953
12953
  {
12954
12954
  text: t,
12955
12955
  lines: V,
@@ -12974,7 +12974,7 @@ const v0 = ({ text: t, frame: e }) => {
12974
12974
  if (mt) {
12975
12975
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = mt;
12976
12976
  return /* @__PURE__ */ a(
12977
- Cu,
12977
+ zu,
12978
12978
  {
12979
12979
  text: t,
12980
12980
  lines: V,
@@ -12999,7 +12999,7 @@ const v0 = ({ text: t, frame: e }) => {
12999
12999
  if (xt) {
13000
13000
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = xt;
13001
13001
  return /* @__PURE__ */ a(
13002
- ju,
13002
+ Gu,
13003
13003
  {
13004
13004
  text: t,
13005
13005
  lines: V,
@@ -13022,7 +13022,7 @@ const v0 = ({ text: t, frame: e }) => {
13022
13022
  if (bt) {
13023
13023
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = bt;
13024
13024
  return /* @__PURE__ */ a(
13025
- Tu,
13025
+ Uu,
13026
13026
  {
13027
13027
  text: t,
13028
13028
  lines: V,
@@ -13050,7 +13050,7 @@ const v0 = ({ text: t, frame: e }) => {
13050
13050
  if (St) {
13051
13051
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = St;
13052
13052
  return /* @__PURE__ */ a(
13053
- Qu,
13053
+ Ju,
13054
13054
  {
13055
13055
  text: t,
13056
13056
  lines: V,
@@ -13077,7 +13077,7 @@ const v0 = ({ text: t, frame: e }) => {
13077
13077
  if (At) {
13078
13078
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = At;
13079
13079
  return /* @__PURE__ */ a(
13080
- qu,
13080
+ Du,
13081
13081
  {
13082
13082
  text: t,
13083
13083
  lines: V,
@@ -13103,7 +13103,7 @@ const v0 = ({ text: t, frame: e }) => {
13103
13103
  if (Xt) {
13104
13104
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = Xt;
13105
13105
  return /* @__PURE__ */ a(
13106
- nd,
13106
+ rd,
13107
13107
  {
13108
13108
  text: t,
13109
13109
  lines: V,
@@ -13130,7 +13130,7 @@ const v0 = ({ text: t, frame: e }) => {
13130
13130
  if (Gt) {
13131
13131
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = Gt;
13132
13132
  return /* @__PURE__ */ a(
13133
- cd,
13133
+ sd,
13134
13134
  {
13135
13135
  text: t,
13136
13136
  lines: V,
@@ -13157,7 +13157,7 @@ const v0 = ({ text: t, frame: e }) => {
13157
13157
  if (oe) {
13158
13158
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = oe;
13159
13159
  return /* @__PURE__ */ a(
13160
- ld,
13160
+ ud,
13161
13161
  {
13162
13162
  text: t,
13163
13163
  lines: V,
@@ -13186,7 +13186,7 @@ const v0 = ({ text: t, frame: e }) => {
13186
13186
  if (ge) {
13187
13187
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = ge;
13188
13188
  return /* @__PURE__ */ a(
13189
- hd,
13189
+ fd,
13190
13190
  {
13191
13191
  text: t,
13192
13192
  lines: V,
@@ -13212,7 +13212,7 @@ const v0 = ({ text: t, frame: e }) => {
13212
13212
  if (Ut) {
13213
13213
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = Ut;
13214
13214
  return /* @__PURE__ */ a(
13215
- pd,
13215
+ md,
13216
13216
  {
13217
13217
  text: t,
13218
13218
  lines: V,
@@ -13241,7 +13241,7 @@ const v0 = ({ text: t, frame: e }) => {
13241
13241
  if (Ne) {
13242
13242
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = Ne;
13243
13243
  return /* @__PURE__ */ a(
13244
- yd,
13244
+ gd,
13245
13245
  {
13246
13246
  text: t,
13247
13247
  lines: V,
@@ -13272,7 +13272,7 @@ const v0 = ({ text: t, frame: e }) => {
13272
13272
  if (Se) {
13273
13273
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = Se;
13274
13274
  return /* @__PURE__ */ a(
13275
- xd,
13275
+ bd,
13276
13276
  {
13277
13277
  text: t,
13278
13278
  lines: V,
@@ -13300,7 +13300,7 @@ const v0 = ({ text: t, frame: e }) => {
13300
13300
  if (cn) {
13301
13301
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = cn;
13302
13302
  return /* @__PURE__ */ a(
13303
- Md,
13303
+ Fd,
13304
13304
  {
13305
13305
  text: t,
13306
13306
  lines: V,
@@ -13329,7 +13329,7 @@ const v0 = ({ text: t, frame: e }) => {
13329
13329
  if (an) {
13330
13330
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = an;
13331
13331
  return /* @__PURE__ */ a(
13332
- kd,
13332
+ Rd,
13333
13333
  {
13334
13334
  text: t,
13335
13335
  lines: V,
@@ -13358,7 +13358,7 @@ const v0 = ({ text: t, frame: e }) => {
13358
13358
  if (un) {
13359
13359
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = un;
13360
13360
  return /* @__PURE__ */ a(
13361
- Ed,
13361
+ Pd,
13362
13362
  {
13363
13363
  text: t,
13364
13364
  lines: V,
@@ -13386,7 +13386,7 @@ const v0 = ({ text: t, frame: e }) => {
13386
13386
  if (ft) {
13387
13387
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = ft;
13388
13388
  return /* @__PURE__ */ a(
13389
- Wd,
13389
+ Nd,
13390
13390
  {
13391
13391
  text: t,
13392
13392
  lines: V,
@@ -13413,7 +13413,7 @@ const v0 = ({ text: t, frame: e }) => {
13413
13413
  if (hn) {
13414
13414
  const { animation: A, animationStart: et, animationDuration: lt, isOut: nt } = hn;
13415
13415
  return /* @__PURE__ */ a(
13416
- Yd,
13416
+ Ad,
13417
13417
  {
13418
13418
  text: t,
13419
13419
  lines: V,
@@ -13435,10 +13435,10 @@ const v0 = ({ text: t, frame: e }) => {
13435
13435
  }
13436
13436
  if (!R && !E) {
13437
13437
  if (i === "spinTextAnimationLoop")
13438
- return /* @__PURE__ */ a(m0, { text: t, frame: f, fps: e });
13438
+ return /* @__PURE__ */ a(y0, { text: t, frame: f, fps: e });
13439
13439
  if (i === "rotate3dTextAnimationLoop")
13440
13440
  return /* @__PURE__ */ a(
13441
- y0,
13441
+ g0,
13442
13442
  {
13443
13443
  text: t,
13444
13444
  frame: f,
@@ -13447,7 +13447,7 @@ const v0 = ({ text: t, frame: e }) => {
13447
13447
  );
13448
13448
  if (i === "textFontChangeAnimationLoop")
13449
13449
  return /* @__PURE__ */ a(
13450
- g0,
13450
+ v0,
13451
13451
  {
13452
13452
  text: t,
13453
13453
  frame: f,
@@ -13456,11 +13456,11 @@ const v0 = ({ text: t, frame: e }) => {
13456
13456
  }
13457
13457
  );
13458
13458
  if (i === "shakeTextAnimationLoop")
13459
- return /* @__PURE__ */ a(v0, { text: t, frame: f });
13459
+ return /* @__PURE__ */ a(x0, { text: t, frame: f });
13460
13460
  if (i === "vintageTextAnimationLoop")
13461
- return /* @__PURE__ */ a(x0, { text: t, frame: f, details: y, fps: e });
13461
+ return /* @__PURE__ */ a(b0, { text: t, frame: f, details: y, fps: e });
13462
13462
  if (i === "glitchTextAnimationLoop")
13463
- return /* @__PURE__ */ a(b0, { text: t, frame: f });
13463
+ return /* @__PURE__ */ a(w0, { text: t, frame: f });
13464
13464
  if (i === "textGridMarqueeTextAnimationLoop" || i === "textGridMarquee") {
13465
13465
  const B = (l == null ? void 0 : l.find(
13466
13466
  (Wt) => Wt.property === "textGridMarqueeTextAnimationLoop" || Wt.property === "textGridMarquee" || Wt.id === "textGridMarquee"
@@ -13472,7 +13472,7 @@ const v0 = ({ text: t, frame: e }) => {
13472
13472
  ), Et) {
13473
13473
  const Wt = B == null ? void 0 : B.details;
13474
13474
  return /* @__PURE__ */ a(
13475
- w0,
13475
+ $0,
13476
13476
  {
13477
13477
  text: t,
13478
13478
  frame: f,
@@ -13498,7 +13498,7 @@ const v0 = ({ text: t, frame: e }) => {
13498
13498
  ), Et) {
13499
13499
  const Wt = B == null ? void 0 : B.details;
13500
13500
  return /* @__PURE__ */ a(
13501
- $0,
13501
+ M0,
13502
13502
  {
13503
13503
  text: t,
13504
13504
  frame: f,
@@ -13524,7 +13524,7 @@ const v0 = ({ text: t, frame: e }) => {
13524
13524
  ), Et) {
13525
13525
  const Wt = B == null ? void 0 : B.details;
13526
13526
  return /* @__PURE__ */ a(
13527
- M0,
13527
+ F0,
13528
13528
  {
13529
13529
  text: t,
13530
13530
  frame: f,
@@ -13551,7 +13551,7 @@ const v0 = ({ text: t, frame: e }) => {
13551
13551
  ), Q) {
13552
13552
  const Et = A == null ? void 0 : A.details, Wt = typeof (Et == null ? void 0 : Et.color) == "string" ? Et.color : "#E5AD08", gs = typeof (Et == null ? void 0 : Et.angle) == "number" ? Et.angle : 12;
13553
13553
  return /* @__PURE__ */ a(
13554
- W0,
13554
+ N0,
13555
13555
  {
13556
13556
  text: t,
13557
13557
  lines: V,
@@ -13582,7 +13582,7 @@ const v0 = ({ text: t, frame: e }) => {
13582
13582
  if (f >= B && f <= vt) {
13583
13583
  const Q = et == null ? void 0 : et.details;
13584
13584
  return /* @__PURE__ */ a(
13585
- O0,
13585
+ Y0,
13586
13586
  {
13587
13587
  text: t,
13588
13588
  frame: f,
@@ -13608,7 +13608,7 @@ const v0 = ({ text: t, frame: e }) => {
13608
13608
  if (f >= B && f <= vt) {
13609
13609
  const Q = (lt == null ? void 0 : lt.details) || {};
13610
13610
  return /* @__PURE__ */ a(
13611
- A0,
13611
+ X0,
13612
13612
  {
13613
13613
  text: t,
13614
13614
  lines: V,
@@ -13633,7 +13633,7 @@ const v0 = ({ text: t, frame: e }) => {
13633
13633
  if (f >= B && f <= vt) {
13634
13634
  const Q = nt == null ? void 0 : nt.details;
13635
13635
  return /* @__PURE__ */ a(
13636
- H0,
13636
+ _0,
13637
13637
  {
13638
13638
  text: t,
13639
13639
  lines: V,
@@ -13663,7 +13663,7 @@ const v0 = ({ text: t, frame: e }) => {
13663
13663
  if (f >= B && f <= vt) {
13664
13664
  const Q = It == null ? void 0 : It.details;
13665
13665
  return /* @__PURE__ */ a(
13666
- L0,
13666
+ j0,
13667
13667
  {
13668
13668
  text: t,
13669
13669
  lines: V,
@@ -13689,7 +13689,7 @@ const v0 = ({ text: t, frame: e }) => {
13689
13689
  if (f >= B && f <= vt) {
13690
13690
  const Q = Rt == null ? void 0 : Rt.details;
13691
13691
  return /* @__PURE__ */ a(
13692
- ou,
13692
+ cu,
13693
13693
  {
13694
13694
  text: t,
13695
13695
  lines: V,
@@ -13714,7 +13714,7 @@ const v0 = ({ text: t, frame: e }) => {
13714
13714
  if (f >= B && f <= vt) {
13715
13715
  const Q = Lt == null ? void 0 : Lt.details;
13716
13716
  return /* @__PURE__ */ a(
13717
- su,
13717
+ au,
13718
13718
  {
13719
13719
  text: t,
13720
13720
  lines: V,
@@ -13738,7 +13738,7 @@ const v0 = ({ text: t, frame: e }) => {
13738
13738
  if (f >= B && f <= vt) {
13739
13739
  const Q = Zt == null ? void 0 : Zt.details;
13740
13740
  return /* @__PURE__ */ a(
13741
- du,
13741
+ hu,
13742
13742
  {
13743
13743
  text: t,
13744
13744
  lines: V,
@@ -13762,7 +13762,7 @@ const v0 = ({ text: t, frame: e }) => {
13762
13762
  if (f >= B && f <= vt) {
13763
13763
  const Q = Dt == null ? void 0 : Dt.details;
13764
13764
  return /* @__PURE__ */ a(
13765
- fu,
13765
+ pu,
13766
13766
  {
13767
13767
  text: t,
13768
13768
  lines: V,
@@ -13787,7 +13787,7 @@ const v0 = ({ text: t, frame: e }) => {
13787
13787
  if (f >= B && f <= vt) {
13788
13788
  const Q = ie == null ? void 0 : ie.details;
13789
13789
  return /* @__PURE__ */ a(
13790
- vu,
13790
+ xu,
13791
13791
  {
13792
13792
  text: t,
13793
13793
  lines: V,
@@ -13811,7 +13811,7 @@ const v0 = ({ text: t, frame: e }) => {
13811
13811
  if (f >= B && f <= vt) {
13812
13812
  const Q = ce == null ? void 0 : ce.details;
13813
13813
  return /* @__PURE__ */ a(
13814
- $u,
13814
+ Mu,
13815
13815
  {
13816
13816
  text: t,
13817
13817
  lines: V,
@@ -13837,7 +13837,7 @@ const v0 = ({ text: t, frame: e }) => {
13837
13837
  if (f >= B && f <= vt) {
13838
13838
  const Q = le == null ? void 0 : le.details;
13839
13839
  return /* @__PURE__ */ a(
13840
- Su,
13840
+ Iu,
13841
13841
  {
13842
13842
  text: t,
13843
13843
  lines: V,
@@ -13862,7 +13862,7 @@ const v0 = ({ text: t, frame: e }) => {
13862
13862
  if (f >= B && f <= vt) {
13863
13863
  const Q = Nt == null ? void 0 : Nt.details;
13864
13864
  return /* @__PURE__ */ a(
13865
- G0,
13865
+ T0,
13866
13866
  {
13867
13867
  text: t,
13868
13868
  frame: f,
@@ -13886,7 +13886,7 @@ const v0 = ({ text: t, frame: e }) => {
13886
13886
  if (f >= B && f <= vt) {
13887
13887
  const Q = Ct == null ? void 0 : Ct.details;
13888
13888
  return /* @__PURE__ */ a(
13889
- U0,
13889
+ Z0,
13890
13890
  {
13891
13891
  text: t,
13892
13892
  lines: V,
@@ -13914,7 +13914,7 @@ const v0 = ({ text: t, frame: e }) => {
13914
13914
  if (f >= B && f <= vt) {
13915
13915
  const Q = _t == null ? void 0 : _t.details;
13916
13916
  return /* @__PURE__ */ a(
13917
- Q0,
13917
+ J0,
13918
13918
  {
13919
13919
  text: t,
13920
13920
  lines: V,
@@ -13940,7 +13940,7 @@ const v0 = ({ text: t, frame: e }) => {
13940
13940
  if (f >= B && f <= vt) {
13941
13941
  const Q = he == null ? void 0 : he.details;
13942
13942
  return /* @__PURE__ */ a(
13943
- q0,
13943
+ D0,
13944
13944
  {
13945
13945
  text: t,
13946
13946
  lines: V,
@@ -13966,7 +13966,7 @@ const v0 = ({ text: t, frame: e }) => {
13966
13966
  const B = (Qt == null ? void 0 : Qt.delay) || 0, ut = (Qt == null ? void 0 : Qt.durationInFrames) || (g > 0 ? g : b), vt = B + ut;
13967
13967
  if (f >= B && f <= vt)
13968
13968
  return /* @__PURE__ */ a(
13969
- eu,
13969
+ nu,
13970
13970
  {
13971
13971
  text: t,
13972
13972
  lines: V,
@@ -13993,7 +13993,7 @@ const v0 = ({ text: t, frame: e }) => {
13993
13993
  ), Q) {
13994
13994
  const Et = Jt == null ? void 0 : Jt.details;
13995
13995
  return /* @__PURE__ */ a(
13996
- F0,
13996
+ S0,
13997
13997
  {
13998
13998
  text: t,
13999
13999
  frame: f,
@@ -14020,7 +14020,7 @@ const v0 = ({ text: t, frame: e }) => {
14020
14020
  ), Q) {
14021
14021
  const Et = Kt == null ? void 0 : Kt.details;
14022
14022
  return /* @__PURE__ */ a(
14023
- S0,
14023
+ I0,
14024
14024
  {
14025
14025
  text: t,
14026
14026
  frame: f,
@@ -14038,7 +14038,7 @@ const v0 = ({ text: t, frame: e }) => {
14038
14038
  }
14039
14039
  if (c.includes("typeWriterTextAnimationOut") && E)
14040
14040
  return /* @__PURE__ */ a(
14041
- I0,
14041
+ k0,
14042
14042
  {
14043
14043
  frame: f,
14044
14044
  durationInFrames: b,
@@ -14049,7 +14049,7 @@ const v0 = ({ text: t, frame: e }) => {
14049
14049
  );
14050
14050
  if (c.includes("partialSlideOut") && E)
14051
14051
  return /* @__PURE__ */ a(
14052
- k0,
14052
+ R0,
14053
14053
  {
14054
14054
  text: t,
14055
14055
  frame: f,
@@ -14061,7 +14061,7 @@ const v0 = ({ text: t, frame: e }) => {
14061
14061
  );
14062
14062
  if (c.includes("backgroundTextAnimationOut") && E)
14063
14063
  return /* @__PURE__ */ a(
14064
- R0,
14064
+ E0,
14065
14065
  {
14066
14066
  text: t,
14067
14067
  frame: f,
@@ -14077,7 +14077,7 @@ const v0 = ({ text: t, frame: e }) => {
14077
14077
  ), En = V.reduce(
14078
14078
  (A, et) => A + (et.trim() === "" ? 0 : et.split(/\s+/).length),
14079
14079
  0
14080
- ), Pn = V.length, Wn = Xd[n[0]], Er = Cd[c[0]], Pr = zd[i], fn = ((ls = s == null ? void 0 : s[0]) == null ? void 0 : ls.textAnimationMode) || ((us = p == null ? void 0 : p[0]) == null ? void 0 : us.textAnimationMode) || ((ds = d == null ? void 0 : d[0]) == null ? void 0 : ds.textAnimationMode) || ((hs = h == null ? void 0 : h[0]) == null ? void 0 : hs.textAnimationMode) || (k ? o : void 0) || (I ? u : void 0) || (i ? r : void 0) || o || r || "letter", qn = R ? o : E ? u : G ? s[0].textAnimationMode || fn : U ? p[0].textAnimationMode || fn : T ? h[0].textAnimationMode || fn : Z && d[0].textAnimationMode || fn, Wr = G ? s : U ? p : T ? h : Z ? d : [], Nn = (A, et, lt, nt) => {
14080
+ ), Pn = V.length, Wn = Cd[n[0]], Er = zd[c[0]], Pr = Hd[i], fn = ((ls = s == null ? void 0 : s[0]) == null ? void 0 : ls.textAnimationMode) || ((us = p == null ? void 0 : p[0]) == null ? void 0 : us.textAnimationMode) || ((ds = d == null ? void 0 : d[0]) == null ? void 0 : ds.textAnimationMode) || ((hs = h == null ? void 0 : h[0]) == null ? void 0 : hs.textAnimationMode) || (k ? o : void 0) || (I ? u : void 0) || (i ? r : void 0) || o || r || "letter", qn = R ? o : E ? u : G ? s[0].textAnimationMode || fn : U ? p[0].textAnimationMode || fn : T ? h[0].textAnimationMode || fn : Z && d[0].textAnimationMode || fn, Wr = G ? s : U ? p : T ? h : Z ? d : [], Nn = (A, et, lt, nt) => {
14081
14081
  if (R && Wn)
14082
14082
  return /* @__PURE__ */ a(
14083
14083
  Wn,
@@ -14124,7 +14124,7 @@ const v0 = ({ text: t, frame: e }) => {
14124
14124
  if (Wr.length > 0) {
14125
14125
  const It = U ? f - X : f;
14126
14126
  return /* @__PURE__ */ a(
14127
- zl,
14127
+ Hl,
14128
14128
  {
14129
14129
  char: A,
14130
14130
  index: et,
@@ -14192,12 +14192,12 @@ const v0 = ({ text: t, frame: e }) => {
14192
14192
  `line-${et}`
14193
14193
  ) }, et);
14194
14194
  }) });
14195
- let Ri = 0;
14196
- const Ei = V.map((A) => (A === "" ? [" "] : A.split("")).map((nt) => ({
14195
+ let Ei = 0;
14196
+ const Pi = V.map((A) => (A === "" ? [" "] : A.split("")).map((nt) => ({
14197
14197
  char: nt,
14198
- globalIndex: Ri++
14198
+ globalIndex: Ei++
14199
14199
  })));
14200
- return /* @__PURE__ */ a(zt, { children: Ei.map((A, et) => /* @__PURE__ */ a("div", { children: A.map(({ char: lt, globalIndex: nt }) => {
14200
+ return /* @__PURE__ */ a(zt, { children: Pi.map((A, et) => /* @__PURE__ */ a("div", { children: A.map(({ char: lt, globalIndex: nt }) => {
14201
14201
  const It = pn ? Rn - 1 - nt : nt;
14202
14202
  return Nn(
14203
14203
  lt,
@@ -14297,7 +14297,7 @@ const v0 = ({ text: t, frame: e }) => {
14297
14297
  className: "designcombo_textLayer",
14298
14298
  children: n ? e.endsWith(`
14299
14299
  `) ? `${e}​` : e : /* @__PURE__ */ a(
14300
- Hd,
14300
+ _d,
14301
14301
  {
14302
14302
  textAnimationNameIn: m,
14303
14303
  textAnimationNameOut: s,
@@ -14494,9 +14494,9 @@ function ai(t) {
14494
14494
  function Vs(t) {
14495
14495
  Me(t) ? t() : t.unsubscribe();
14496
14496
  }
14497
- var _d = {
14497
+ var Vd = {
14498
14498
  Promise: void 0
14499
- }, Vd = {
14499
+ }, Ld = {
14500
14500
  setTimeout: function(t, e) {
14501
14501
  for (var n = [], c = 2; c < arguments.length; c++)
14502
14502
  n[c - 2] = arguments[c];
@@ -14507,8 +14507,8 @@ var _d = {
14507
14507
  },
14508
14508
  delegate: void 0
14509
14509
  };
14510
- function Ld(t) {
14511
- Vd.setTimeout(function() {
14510
+ function jd(t) {
14511
+ Ld.setTimeout(function() {
14512
14512
  throw t;
14513
14513
  });
14514
14514
  }
@@ -14521,7 +14521,7 @@ var kr = function(t) {
14521
14521
  In(e, t);
14522
14522
  function e(n) {
14523
14523
  var c = t.call(this) || this;
14524
- return c.isStopped = !1, n ? (c.destination = n, ai(n) && n.add(c)) : c.destination = Td, c;
14524
+ return c.isStopped = !1, n ? (c.destination = n, ai(n) && n.add(c)) : c.destination = Ud, c;
14525
14525
  }
14526
14526
  return e.create = function(n, c, i) {
14527
14527
  return new $r(n, c, i);
@@ -14548,7 +14548,7 @@ var kr = function(t) {
14548
14548
  this.unsubscribe();
14549
14549
  }
14550
14550
  }, e;
14551
- }(Kn), jd = function() {
14551
+ }(Kn), Gd = function() {
14552
14552
  function t(e) {
14553
14553
  this.partialObserver = e;
14554
14554
  }
@@ -14587,29 +14587,29 @@ var kr = function(t) {
14587
14587
  next: n ?? void 0,
14588
14588
  error: c ?? void 0,
14589
14589
  complete: i ?? void 0
14590
- } : u = n, o.destination = new jd(u), o;
14590
+ } : u = n, o.destination = new Gd(u), o;
14591
14591
  }
14592
14592
  return e;
14593
14593
  }(kr);
14594
14594
  function Ln(t) {
14595
- Ld(t);
14595
+ jd(t);
14596
14596
  }
14597
- function Gd(t) {
14597
+ function Td(t) {
14598
14598
  throw t;
14599
14599
  }
14600
- var Td = {
14600
+ var Ud = {
14601
14601
  closed: !0,
14602
14602
  next: Ls,
14603
- error: Gd,
14603
+ error: Td,
14604
14604
  complete: Ls
14605
- }, Ud = function() {
14605
+ }, Zd = function() {
14606
14606
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
14607
14607
  }();
14608
- function Zd(t) {
14608
+ function Qd(t) {
14609
14609
  return t;
14610
14610
  }
14611
- function Qd(t) {
14612
- return t.length === 0 ? Zd : t.length === 1 ? t[0] : function(e) {
14611
+ function Jd(t) {
14612
+ return t.length === 0 ? Qd : t.length === 1 ? t[0] : function(e) {
14613
14613
  return t.reduce(function(n, c) {
14614
14614
  return c(n);
14615
14615
  }, e);
@@ -14623,7 +14623,7 @@ var js = function() {
14623
14623
  var n = new t();
14624
14624
  return n.source = this, n.operator = e, n;
14625
14625
  }, t.prototype.subscribe = function(e, n, c) {
14626
- var i = this, o = Kd(e) ? e : new $r(e, n, c);
14626
+ var i = this, o = qd(e) ? e : new $r(e, n, c);
14627
14627
  return jn(function() {
14628
14628
  var u = i, r = u.operator, m = u.source;
14629
14629
  o.add(r ? r.call(o, m) : m ? i._subscribe(o) : i._trySubscribe(o));
@@ -14653,12 +14653,12 @@ var js = function() {
14653
14653
  }, t.prototype._subscribe = function(e) {
14654
14654
  var n;
14655
14655
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(e);
14656
- }, t.prototype[Ud] = function() {
14656
+ }, t.prototype[Zd] = function() {
14657
14657
  return this;
14658
14658
  }, t.prototype.pipe = function() {
14659
14659
  for (var e = [], n = 0; n < arguments.length; n++)
14660
14660
  e[n] = arguments[n];
14661
- return Qd(e)(this);
14661
+ return Jd(e)(this);
14662
14662
  }, t.prototype.toPromise = function(e) {
14663
14663
  var n = this;
14664
14664
  return e = Gs(e), new e(function(c, i) {
@@ -14677,13 +14677,13 @@ var js = function() {
14677
14677
  }();
14678
14678
  function Gs(t) {
14679
14679
  var e;
14680
- return (e = t ?? _d.Promise) !== null && e !== void 0 ? e : Promise;
14680
+ return (e = t ?? Vd.Promise) !== null && e !== void 0 ? e : Promise;
14681
14681
  }
14682
- function Jd(t) {
14682
+ function Kd(t) {
14683
14683
  return t && Me(t.next) && Me(t.error) && Me(t.complete);
14684
14684
  }
14685
- function Kd(t) {
14686
- return t && t instanceof kr || Jd(t) && ai(t);
14685
+ function qd(t) {
14686
+ return t && t instanceof kr || Kd(t) && ai(t);
14687
14687
  }
14688
14688
  (function(t) {
14689
14689
  In(e, t);
@@ -14721,7 +14721,7 @@ function Kd(t) {
14721
14721
  }
14722
14722
  }, e;
14723
14723
  })(kr);
14724
- var qd = ci(function(t) {
14724
+ var Dd = ci(function(t) {
14725
14725
  return function() {
14726
14726
  t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
14727
14727
  };
@@ -14736,7 +14736,7 @@ var qd = ci(function(t) {
14736
14736
  return c.operator = n, c;
14737
14737
  }, e.prototype._throwIfClosed = function() {
14738
14738
  if (this.closed)
14739
- throw new qd();
14739
+ throw new Dd();
14740
14740
  }, e.prototype.next = function(n) {
14741
14741
  var c = this;
14742
14742
  jn(function() {
@@ -14825,14 +14825,14 @@ var qd = ci(function(t) {
14825
14825
  }, e;
14826
14826
  }(ii);
14827
14827
  let hr = null;
14828
- function Dd() {
14828
+ function th() {
14829
14829
  if (!hr) {
14830
14830
  const t = new ii();
14831
14831
  hr = { subject: t, dispatch: (e, n) => t.next({ key: e, value: n }) };
14832
14832
  }
14833
14833
  return hr;
14834
14834
  }
14835
- const { subject: Qh, dispatch: th } = Dd();
14835
+ const { subject: Qh, dispatch: eh } = th();
14836
14836
  function li({
14837
14837
  item: t,
14838
14838
  options: e
@@ -14942,7 +14942,7 @@ function li({
14942
14942
  }
14943
14943
  }
14944
14944
  const Z = (u || 0) - t.display.from * i / 1e3, J = m || {}, { top: V, left: q, transform: _, position: D, boxShadow: K, ...rt } = J, ct = (ft) => {
14945
- ft.stopPropagation(), ft.preventDefault(), th(_i, {
14945
+ ft.stopPropagation(), ft.preventDefault(), eh(Vi, {
14946
14946
  payload: {
14947
14947
  id: r
14948
14948
  }
@@ -15340,14 +15340,14 @@ function di({
15340
15340
  ] });
15341
15341
  return Ot({ item: t, options: e, children: s });
15342
15342
  }
15343
- const eh = (t) => {
15343
+ const nh = (t) => {
15344
15344
  let e = 0;
15345
15345
  for (let n = 0; n < t.length; n++)
15346
15346
  e += t[n] * t[n];
15347
15347
  return e = e / t.length, e = Math.sqrt(e), e;
15348
- }, nh = (t) => 20 * Math.log10(t), rh = (t, e, n) => (t - e) / (n - e), oh = (t, e, n) => Math.max(Math.min(t, n), e), ch = -100, sh = -30, Rr = (t, e = {}) => {
15349
- const { minDb: n = ch, maxDb: c = sh } = e, i = nh(t);
15350
- return oh(rh(i, n, c), 0, 1);
15348
+ }, rh = (t) => 20 * Math.log10(t), oh = (t, e, n) => (t - e) / (n - e), ch = (t, e, n) => Math.max(Math.min(t, n), e), sh = -100, ah = -30, Rr = (t, e = {}) => {
15349
+ const { minDb: n = sh, maxDb: c = ah } = e, i = rh(t);
15350
+ return ch(oh(i, n, c), 0, 1);
15351
15351
  }, hi = ({
15352
15352
  totalWidth: t,
15353
15353
  itemWidth: e,
@@ -15363,7 +15363,7 @@ const eh = (t) => {
15363
15363
  );
15364
15364
  return Math.log(1 + d);
15365
15365
  });
15366
- }, ah = ({
15366
+ }, ih = ({
15367
15367
  values: t,
15368
15368
  width: e = 400,
15369
15369
  height: n = 100,
@@ -15390,7 +15390,7 @@ const eh = (t) => {
15390
15390
  h
15391
15391
  );
15392
15392
  }) }) });
15393
- }, ih = ({
15393
+ }, lh = ({
15394
15394
  width: t,
15395
15395
  height: e,
15396
15396
  frequencyData: n,
@@ -15420,7 +15420,7 @@ const eh = (t) => {
15420
15420
  minDb: s
15421
15421
  });
15422
15422
  return /* @__PURE__ */ a("div", { ref: p, style: { width: t, height: e }, children: /* @__PURE__ */ a(
15423
- ah,
15423
+ ih,
15424
15424
  {
15425
15425
  width: y,
15426
15426
  height: f,
@@ -15433,7 +15433,7 @@ const eh = (t) => {
15433
15433
  }
15434
15434
  ) });
15435
15435
  };
15436
- class lh {
15436
+ class uh {
15437
15437
  constructor() {
15438
15438
  ve(this, "fps", 30);
15439
15439
  ve(this, "numberOfSamples", 512);
@@ -15451,7 +15451,7 @@ class lh {
15451
15451
  }
15452
15452
  async loadAudioData(e, n) {
15453
15453
  try {
15454
- const c = await Vi(e);
15454
+ const c = await Li(e);
15455
15455
  this.audioDatas[n] = {
15456
15456
  data: c,
15457
15457
  lastAccessed: Date.now()
@@ -15482,7 +15482,7 @@ class lh {
15482
15482
  validateUpdateItems(e) {
15483
15483
  e.forEach((n) => {
15484
15484
  this.items.forEach((c) => {
15485
- !ji(c, n) && c.id === n.id && this.updateItem(n);
15485
+ !Gi(c, n) && c.id === n.id && this.updateItem(n);
15486
15486
  });
15487
15487
  });
15488
15488
  }
@@ -15504,7 +15504,7 @@ class lh {
15504
15504
  const m = e - this.items[u].display.from * this.fps / 1e3 + (((p = this.items[u].trim) == null ? void 0 : p.from) || 0) * this.fps / 1e3;
15505
15505
  if (this.items[u].display.from * this.fps / 1e3 > e || this.items[u].display.to * this.fps / 1e3 < e)
15506
15506
  return Array(this.numberOfSamples).fill(0);
15507
- const s = Li({
15507
+ const s = ji({
15508
15508
  audioData: r.data,
15509
15509
  frame: m,
15510
15510
  fps: this.fps,
@@ -15522,7 +15522,7 @@ class lh {
15522
15522
  return i;
15523
15523
  }
15524
15524
  }
15525
- const Ee = new lh(), uh = ({
15525
+ const Ee = new uh(), dh = ({
15526
15526
  item: t,
15527
15527
  options: e
15528
15528
  }) => {
@@ -15530,7 +15530,7 @@ const Ee = new lh(), uh = ({
15530
15530
  Ee.setAudioDataManager(c);
15531
15531
  const r = Ee.getAudioDataForFrame(n || 0).slice(0, 0.7 * 512), s = ["middle", "over", "under"].includes(i.placement);
15532
15532
  return /* @__PURE__ */ a(zt, { children: /* @__PURE__ */ a(
15533
- ih,
15533
+ lh,
15534
15534
  {
15535
15535
  frequencyData: r,
15536
15536
  width: i.width,
@@ -15547,7 +15547,7 @@ function fi({
15547
15547
  item: t,
15548
15548
  options: e
15549
15549
  }) {
15550
- return Ot({ item: t, options: e, children: /* @__PURE__ */ a(zt, { children: /* @__PURE__ */ a(uh, { item: t, options: e }) }) });
15550
+ return Ot({ item: t, options: e, children: /* @__PURE__ */ a(zt, { children: /* @__PURE__ */ a(dh, { item: t, options: e }) }) });
15551
15551
  }
15552
15552
  function pi({
15553
15553
  item: t,
@@ -15618,7 +15618,7 @@ function pi({
15618
15618
  ) });
15619
15619
  return Ot({ item: t, options: e, children: l });
15620
15620
  }
15621
- const dh = ({
15621
+ const hh = ({
15622
15622
  values: t,
15623
15623
  radius: e,
15624
15624
  lineThickness: n,
@@ -15655,7 +15655,7 @@ const dh = ({
15655
15655
  })
15656
15656
  }
15657
15657
  ) });
15658
- }, hh = ({
15658
+ }, fh = ({
15659
15659
  frequencyData: t,
15660
15660
  maxDb: e,
15661
15661
  minDb: n,
@@ -15676,7 +15676,7 @@ const dh = ({
15676
15676
  minDb: n
15677
15677
  }), l = h.slice(Math.floor(0.5 * h.length)), y = [...l, ...l.slice().reverse()];
15678
15678
  return /* @__PURE__ */ a(
15679
- dh,
15679
+ hh,
15680
15680
  {
15681
15681
  values: y,
15682
15682
  radius: d,
@@ -15688,7 +15688,7 @@ const dh = ({
15688
15688
  innerRadius: s
15689
15689
  }
15690
15690
  );
15691
- }, fh = ({
15691
+ }, ph = ({
15692
15692
  item: t,
15693
15693
  options: e
15694
15694
  }) => {
@@ -15697,7 +15697,7 @@ const dh = ({
15697
15697
  const m = Ee.getAudioDataForFrame(c || 0).slice(0, 0.7 * 512);
15698
15698
  return /* @__PURE__ */ ot(zt, { children: [
15699
15699
  /* @__PURE__ */ a(
15700
- hh,
15700
+ fh,
15701
15701
  {
15702
15702
  frequencyData: m,
15703
15703
  diameter: i.width,
@@ -15712,9 +15712,9 @@ function mi({
15712
15712
  item: t,
15713
15713
  options: e
15714
15714
  }) {
15715
- return Ot({ item: t, options: e, children: /* @__PURE__ */ a(zt, { children: /* @__PURE__ */ a(fh, { item: t, options: e }) }) });
15715
+ return Ot({ item: t, options: e, children: /* @__PURE__ */ a(zt, { children: /* @__PURE__ */ a(ph, { item: t, options: e }) }) });
15716
15716
  }
15717
- const ph = ({
15717
+ const mh = ({
15718
15718
  numberOfPoints: t,
15719
15719
  amplitude: e,
15720
15720
  offsetPixels: n,
@@ -15728,7 +15728,7 @@ const ph = ({
15728
15728
  let d = Math.sin(Math.abs(s) * Math.PI);
15729
15729
  return d = P.cubic(d), d = d * e, d = d * Math.sin((0.5 + r) * Math.PI), { x: p, y: d };
15730
15730
  }).sort((u, r) => u.x > r.x ? 1 : -1);
15731
- }, mh = ({
15731
+ }, yh = ({
15732
15732
  sections: t = 12,
15733
15733
  offsetPixels: e,
15734
15734
  amplitude: n,
@@ -15743,7 +15743,7 @@ const ph = ({
15743
15743
  }) => {
15744
15744
  const d = c, h = i, l = t, y = e % (2 * c / t), f = Array.from({ length: o }).map((b, S) => {
15745
15745
  const $ = S * u;
15746
- return ph({
15746
+ return mh({
15747
15747
  width: d,
15748
15748
  numberOfPoints: l,
15749
15749
  offsetPixels: $ + y,
@@ -15769,7 +15769,7 @@ const ph = ({
15769
15769
  `line-${S}`
15770
15770
  );
15771
15771
  }) }) });
15772
- }, yh = ({
15772
+ }, gh = ({
15773
15773
  frequencyData: t,
15774
15774
  width: e,
15775
15775
  height: n,
@@ -15780,9 +15780,9 @@ const ph = ({
15780
15780
  }) => {
15781
15781
  const r = gt(), { fps: m } = ea();
15782
15782
  if (!t) return null;
15783
- const s = t.slice(0.25 * t.length).map((h) => Rr(h, { maxDb: i, minDb: o })), p = n * eh(s), d = r / m;
15783
+ const s = t.slice(0.25 * t.length).map((h) => Rr(h, { maxDb: i, minDb: o })), p = n * nh(s), d = r / m;
15784
15784
  return /* @__PURE__ */ a("div", { style: { width: e, height: n }, children: /* @__PURE__ */ a(
15785
- mh,
15785
+ yh,
15786
15786
  {
15787
15787
  width: e,
15788
15788
  height: n,
@@ -15791,7 +15791,7 @@ const ph = ({
15791
15791
  ...u
15792
15792
  }
15793
15793
  ) });
15794
- }, gh = ({
15794
+ }, vh = ({
15795
15795
  item: t,
15796
15796
  options: e
15797
15797
  }) => {
@@ -15799,7 +15799,7 @@ const ph = ({
15799
15799
  Ee.setAudioDataManager(c);
15800
15800
  const r = Ee.getAudioDataForFrame(n || 0).slice(0, 0.7 * 512);
15801
15801
  return /* @__PURE__ */ a(zt, { children: /* @__PURE__ */ a(
15802
- yh,
15802
+ gh,
15803
15803
  {
15804
15804
  frequencyData: r,
15805
15805
  width: i.width,
@@ -15818,13 +15818,13 @@ function yi({
15818
15818
  item: t,
15819
15819
  options: e
15820
15820
  }) {
15821
- return Ot({ item: t, options: e, children: /* @__PURE__ */ a(zt, { children: /* @__PURE__ */ a(gh, { item: t, options: e }) }) });
15821
+ return Ot({ item: t, options: e, children: /* @__PURE__ */ a(zt, { children: /* @__PURE__ */ a(vh, { item: t, options: e }) }) });
15822
15822
  }
15823
- const vh = (t, e) => {
15823
+ const xh = (t, e) => {
15824
15824
  if (!e || e === t.length) return [...t];
15825
15825
  const n = e % t.length;
15826
15826
  return [...t.slice(n), ...t.slice(0, n)];
15827
- }, xh = ({
15827
+ }, bh = ({
15828
15828
  numberOfBumps: t = 8,
15829
15829
  frequencyData: e,
15830
15830
  maxDb: n = -30,
@@ -15835,7 +15835,7 @@ const vh = (t, e) => {
15835
15835
  r[d * m % r.length],
15836
15836
  { maxDb: n, minDb: c }
15837
15837
  ));
15838
- }, bh = ({
15838
+ }, wh = ({
15839
15839
  values: t,
15840
15840
  width: e = 400,
15841
15841
  height: n = 100,
@@ -15860,9 +15860,9 @@ const vh = (t, e) => {
15860
15860
  scaling: 0.5
15861
15861
  }, y = 0.15 * s, f = (s - 2 * y) / (t.length - 1), x = Array.from({ length: r }).map((v, g) => {
15862
15862
  const w = 3 * g;
15863
- return vh(t, w).map((S, $) => ({
15863
+ return xh(t, w).map((S, $) => ({
15864
15864
  x: y + $ * f,
15865
- y: d * p * S * (1.2 - 0.5 * Yi(g * t.length + $))
15865
+ y: d * p * S * (1.2 - 0.5 * Ai(g * t.length + $))
15866
15866
  }));
15867
15867
  });
15868
15868
  return /* @__PURE__ */ a("div", { style: { width: e, height: n }, children: /* @__PURE__ */ a("svg", { width: s, height: p, viewBox: `0 ${h} ${s} ${p}`, children: x.map((v, g) => {
@@ -15897,7 +15897,7 @@ const vh = (t, e) => {
15897
15897
  )
15898
15898
  ] }, g);
15899
15899
  }) }) });
15900
- }, wh = ({
15900
+ }, $h = ({
15901
15901
  width: t,
15902
15902
  height: e,
15903
15903
  frequencyData: n,
@@ -15921,9 +15921,9 @@ const vh = (t, e) => {
15921
15921
  }, [d, l]);
15922
15922
  const { width: y, height: f } = h;
15923
15923
  if (!n) return null;
15924
- const x = xh({ frequencyData: n, minDb: s, maxDb: m });
15924
+ const x = bh({ frequencyData: n, minDb: s, maxDb: m });
15925
15925
  return /* @__PURE__ */ a("div", { ref: p, style: { width: t, height: e }, children: /* @__PURE__ */ a(
15926
- bh,
15926
+ wh,
15927
15927
  {
15928
15928
  values: x,
15929
15929
  width: y,
@@ -15935,7 +15935,7 @@ const vh = (t, e) => {
15935
15935
  blendMode: u
15936
15936
  }
15937
15937
  ) });
15938
- }, $h = ({
15938
+ }, Mh = ({
15939
15939
  item: t,
15940
15940
  options: e
15941
15941
  }) => {
@@ -15960,7 +15960,7 @@ const vh = (t, e) => {
15960
15960
  "luminosity"
15961
15961
  ].includes(s);
15962
15962
  return /* @__PURE__ */ a(zt, { children: /* @__PURE__ */ a(
15963
- wh,
15963
+ $h,
15964
15964
  {
15965
15965
  frequencyData: r,
15966
15966
  width: i.width,
@@ -15977,7 +15977,7 @@ function gi({
15977
15977
  item: t,
15978
15978
  options: e
15979
15979
  }) {
15980
- return Ot({ item: t, options: e, children: /* @__PURE__ */ a(zt, { children: /* @__PURE__ */ a($h, { item: t, options: e }) }) });
15980
+ return Ot({ item: t, options: e, children: /* @__PURE__ */ a(zt, { children: /* @__PURE__ */ a(Mh, { item: t, options: e }) }) });
15981
15981
  }
15982
15982
  const vi = ({
15983
15983
  item: t,
@@ -16020,7 +16020,7 @@ const vi = ({
16020
16020
  ],
16021
16021
  frame: p,
16022
16022
  durationInFrames: s,
16023
- children: /* @__PURE__ */ a("div", { style: Ki(i) })
16023
+ children: /* @__PURE__ */ a("div", { style: qi(i) })
16024
16024
  }
16025
16025
  )
16026
16026
  }
@@ -16028,7 +16028,7 @@ const vi = ({
16028
16028
  }
16029
16029
  );
16030
16030
  return Ot({ item: t, options: e, children: d });
16031
- }, Mh = () => ({
16031
+ }, Fh = () => ({
16032
16032
  scale: (t) => ({ transform: `scale(${t})` }),
16033
16033
  opacity: (t) => ({ opacity: t }),
16034
16034
  translateX: (t) => ({ transform: `translateX(${t}%)` }),
@@ -16059,7 +16059,7 @@ const vi = ({
16059
16059
  for (let i = 0; i < 6; i += 1)
16060
16060
  n.push(i * c + e);
16061
16061
  return n;
16062
- }, Fh = (t, e, n, c = !1) => {
16062
+ }, Sh = (t, e, n, c = !1) => {
16063
16063
  const { from: i, to: o, ease: u } = e, r = e.durationInFrames || 30, m = Number(i), s = Number(o), p = Math.max(1, Number(r));
16064
16064
  if (isNaN(m) || isNaN(s))
16065
16065
  return m;
@@ -16140,7 +16140,7 @@ const vi = ({
16140
16140
  transform: `translateX(${N}px) translateY(${O}px)`
16141
16141
  };
16142
16142
  }
16143
- const u = Fh(e, t, n, c), r = Mh();
16143
+ const u = Sh(e, t, n, c), r = Fh();
16144
16144
  return (r[o] || r.default)(u);
16145
16145
  }, Qs = (t, e, n, c = !1, i = !1, o) => de.useMemo(() => {
16146
16146
  if (t.length === 0) return {};
@@ -16215,7 +16215,7 @@ const vi = ({
16215
16215
  v === "transform" ? x[v] = `${x[v] || ""} ${g || ""}`.trim() : v in x && typeof x[v] == "number" && typeof g == "number" ? x[v] = x[v] * g : x[v] = g;
16216
16216
  }), x;
16217
16217
  }, [m, s]), y = Bt(() => {
16218
- const x = l.transform || "", { translateX: v, translateY: g, scale: w, rotation: b, rotateY: S } = Sh(x);
16218
+ const x = l.transform || "", { translateX: v, translateY: g, scale: w, rotation: b, rotateY: S } = Ih(x);
16219
16219
  return `${b} ${v} ${g} ${w} ${S}`.trim();
16220
16220
  }, [l]);
16221
16221
  let f = u;
@@ -16251,7 +16251,7 @@ const vi = ({
16251
16251
  )
16252
16252
  }
16253
16253
  );
16254
- }, Sh = (t) => {
16254
+ }, Ih = (t) => {
16255
16255
  let e = "", n = "", c = "scale(1)", i = "", o = "";
16256
16256
  const u = t.match(/translateX\([^)]+\)/g);
16257
16257
  u && (e = u[u.length - 1]);
@@ -16290,7 +16290,7 @@ const bi = ({
16290
16290
  animationOut: s,
16291
16291
  style: o,
16292
16292
  children: /* @__PURE__ */ a(
16293
- Gi,
16293
+ Ti,
16294
16294
  {
16295
16295
  radius: d,
16296
16296
  fill: o.backgroundColor
@@ -16319,7 +16319,7 @@ const bi = ({
16319
16319
  animationOut: s,
16320
16320
  style: {},
16321
16321
  children: /* @__PURE__ */ a(
16322
- Ti,
16322
+ Ui,
16323
16323
  {
16324
16324
  length: d ?? 0,
16325
16325
  fill: o.backgroundColor,
@@ -16367,7 +16367,7 @@ const bi = ({
16367
16367
  animationOut: s,
16368
16368
  style: o,
16369
16369
  children: /* @__PURE__ */ a(
16370
- Ui,
16370
+ Zi,
16371
16371
  {
16372
16372
  points: o.points || 5,
16373
16373
  innerRadius: l ?? 0,
@@ -16415,7 +16415,7 @@ const bi = ({
16415
16415
  animationOut: m,
16416
16416
  style: o,
16417
16417
  children: /* @__PURE__ */ a(
16418
- Zi,
16418
+ Qi,
16419
16419
  {
16420
16420
  points: o.points || 3,
16421
16421
  radius: h ?? 0,
@@ -16442,7 +16442,7 @@ const bi = ({
16442
16442
  animationOut: s,
16443
16443
  style: o,
16444
16444
  children: /* @__PURE__ */ a(
16445
- Qi,
16445
+ Ji,
16446
16446
  {
16447
16447
  rx: d ?? 0,
16448
16448
  ry: h ?? 0,
@@ -16454,7 +16454,7 @@ const bi = ({
16454
16454
  }
16455
16455
  );
16456
16456
  return Ot({ item: t, options: e, children: l });
16457
- }, Ih = () => ({
16457
+ }, kh = () => ({
16458
16458
  scale: (t) => ({ transform: `scale(${t})` }),
16459
16459
  opacity: (t) => ({ opacity: t }),
16460
16460
  translateX: (t) => ({ transform: `translateX(${t}%)` }),
@@ -16537,7 +16537,7 @@ const bi = ({
16537
16537
  for (let i = 0; i < 6; i += 1)
16538
16538
  n.push(i * c + e);
16539
16539
  return n;
16540
- }, kh = (t, e, n, c = !1) => {
16540
+ }, Rh = (t, e, n, c = !1) => {
16541
16541
  const { from: i, to: o, ease: u } = e, r = e.durationInFrames || 30, m = Number(i), s = Number(o), p = Math.max(1, Number(r));
16542
16542
  if (isNaN(m) || isNaN(s))
16543
16543
  return m;
@@ -16618,7 +16618,7 @@ const bi = ({
16618
16618
  transform: `translateX(${N}px) translateY(${O}px)`
16619
16619
  };
16620
16620
  }
16621
- const u = kh(e, t, n, c), r = Ih();
16621
+ const u = Rh(e, t, n, c), r = kh();
16622
16622
  return (r[o] || r.default)(u);
16623
16623
  }, pr = (t, e, n, c = !1, i = !1, o) => de.useMemo(() => {
16624
16624
  if (t.length === 0) return {};
@@ -16651,7 +16651,7 @@ const bi = ({
16651
16651
  }), m),
16652
16652
  {}
16653
16653
  );
16654
- }, [t, n, e, c, o]), bn = (t) => t ? Array.isArray(t) ? t : [t] : [], Rh = ({
16654
+ }, [t, n, e, c, o]), bn = (t) => t ? Array.isArray(t) ? t : [t] : [], Eh = ({
16655
16655
  animationIn: t,
16656
16656
  animationOut: e,
16657
16657
  animationTimed: n,
@@ -16703,7 +16703,7 @@ const bi = ({
16703
16703
  S === "transform" ? b[S] = `${b[S] || ""} ${$ || ""}`.trim() : S in b && typeof b[S] == "number" && typeof $ == "number" ? b[S] = b[S] * $ : b[S] = $;
16704
16704
  }), b;
16705
16705
  }, [d, p, h]), y = Bt(() => {
16706
- const b = l.transform || "", { translateX: S, translateY: $, scale: M, rotation: F, rotateY: k } = Eh(b);
16706
+ const b = l.transform || "", { translateX: S, translateY: $, scale: M, rotation: F, rotateY: k } = Ph(b);
16707
16707
  return `${F} ${S} ${$} ${M} ${k}`.trim();
16708
16708
  }, [l]), {
16709
16709
  top: f,
@@ -16738,7 +16738,7 @@ const bi = ({
16738
16738
  )
16739
16739
  }
16740
16740
  );
16741
- }, Eh = (t) => {
16741
+ }, Ph = (t) => {
16742
16742
  let e = "", n = "", c = "scale(1)", i = "", o = "";
16743
16743
  const u = t.match(/translateX\([^)]+\)/g);
16744
16744
  u && (e = u[u.length - 1]);
@@ -16777,7 +16777,7 @@ function Ii({
16777
16777
  C < Y ? $ = Math.min(C / Y * 100, 100) / 100 : ((O = o == null ? void 0 : o.out) == null ? void 0 : O.name) !== "progressSquareAnimationOut" && ($ = 1);
16778
16778
  }
16779
16779
  const M = $ * 100 / 100 * S, F = p[0] || "#4A90E2", k = /* @__PURE__ */ a(
16780
- Rh,
16780
+ Eh,
16781
16781
  {
16782
16782
  style: Fe(
16783
16783
  i,
@@ -16915,7 +16915,7 @@ const ki = (t) => {
16915
16915
  return o.forEach((s) => {
16916
16916
  s.sort((p, d) => "display" in p && "display" in d ? p.display.from - d.display.from : 0);
16917
16917
  }), o;
16918
- }, Ph = (t, e) => {
16918
+ }, Ri = (t, e) => {
16919
16919
  switch (t.type) {
16920
16920
  case "text":
16921
16921
  return li({ item: t, options: e });
@@ -16966,7 +16966,7 @@ function Wh({
16966
16966
  options: e,
16967
16967
  renderSequenceItem: n
16968
16968
  }) {
16969
- const c = n || Ph, {
16969
+ const c = n || Ri, {
16970
16970
  editableTextId: i,
16971
16971
  onTextBlur: o,
16972
16972
  handleTextChange: u,
@@ -17041,7 +17041,7 @@ function Wh({
17041
17041
  const F = f[$[0].id], k = (((N = F == null ? void 0 : F.display) == null ? void 0 : N.from) || 0) / 1e3 * e.fps;
17042
17042
  return /* @__PURE__ */ a(na, { from: k, children: $.map((O) => {
17043
17043
  if (O.type === "transition") {
17044
- const W = O.duration / 1e3 * d, Y = Ai[O.kind];
17044
+ const W = O.duration / 1e3 * d, Y = Xi[O.kind];
17045
17045
  return Y ? Y({
17046
17046
  durationInFrames: W,
17047
17047
  id: O.id,
@@ -17067,54 +17067,54 @@ function Nh({
17067
17067
  options: e,
17068
17068
  renderSequenceItem: n
17069
17069
  }) {
17070
- var $, M, F, k;
17071
- const {
17072
- editableTextId: c,
17073
- itemsTemplateIds: i,
17074
- itemsTemplateMap: o,
17075
- fps: u,
17076
- frame: r,
17077
- onTextBlur: m,
17078
- handleTextChange: s,
17079
- itemStructure: p
17080
- } = e, { animations: d } = t, { durationInFrames: h } = jt(t.display, u), { animationIn: l, animationOut: y, animationTimed: f } = re(
17081
- d,
17070
+ var M, F, k, I;
17071
+ const c = n || Ri, {
17072
+ editableTextId: i,
17073
+ itemsTemplateIds: o,
17074
+ itemsTemplateMap: u,
17075
+ fps: r,
17076
+ frame: m,
17077
+ onTextBlur: s,
17078
+ handleTextChange: p,
17079
+ itemStructure: d
17080
+ } = e, { animations: h } = t, { durationInFrames: l } = jt(t.display, r), { animationIn: y, animationOut: f, animationTimed: x } = re(
17081
+ h,
17082
17082
  t,
17083
+ m,
17083
17084
  r,
17084
- u,
17085
17085
  e
17086
- ), x = Mn(o || {}), g = ki({
17087
- trackItemIds: Mn(i || []),
17086
+ ), v = Mn(u || {}), w = ki({
17087
+ trackItemIds: Mn(o || []),
17088
17088
  transitionsMap: {},
17089
- trackItemsMap: x
17090
- }).map((I, R) => {
17091
- if (I.length === 1) {
17092
- const E = x[I[0].id];
17093
- if (!E) return null;
17094
- let N = R;
17095
- if (p) {
17096
- const { tracks: O } = p;
17097
- N = O.length - O.findIndex((W) => W.items.includes(E.id));
17089
+ trackItemsMap: v
17090
+ }).map((R, E) => {
17091
+ if (R.length === 1) {
17092
+ const N = v[R[0].id];
17093
+ if (!N) return null;
17094
+ let O = E;
17095
+ if (d) {
17096
+ const { tracks: W } = d;
17097
+ O = W.length - W.findIndex((Y) => Y.items.includes(N.id));
17098
17098
  }
17099
- return n ? n(E, {
17100
- fps: u,
17101
- handleTextChange: s,
17102
- onTextBlur: m,
17103
- editableTextId: c,
17104
- zIndex: N,
17099
+ return c(N, {
17100
+ fps: r,
17101
+ handleTextChange: p,
17102
+ onTextBlur: s,
17103
+ editableTextId: i,
17104
+ zIndex: O,
17105
17105
  isAnimationEditor: e.isAnimationEditor,
17106
17106
  insideTemplate: !0,
17107
- frame: (r ?? 0) - t.display.from * u / 1e3
17108
- }) : null;
17107
+ frame: (m ?? 0) - t.display.from * r / 1e3
17108
+ });
17109
17109
  }
17110
17110
  return null;
17111
- }), w = g && g.map((I) => I), b = (r || 0) - t.display.from * u / 1e3, S = /* @__PURE__ */ a(
17111
+ }), b = w && w.map((R) => R), S = (m || 0) - t.display.from * r / 1e3, $ = /* @__PURE__ */ a(
17112
17112
  Pe,
17113
17113
  {
17114
- animationIn: l,
17115
- animationOut: y,
17116
- frame: b,
17117
- durationInFrames: h,
17114
+ animationIn: y,
17115
+ animationOut: f,
17116
+ frame: S,
17117
+ durationInFrames: l,
17118
17118
  style: {
17119
17119
  ...t.details,
17120
17120
  width: t.details.width,
@@ -17123,9 +17123,9 @@ function Nh({
17123
17123
  children: /* @__PURE__ */ a(
17124
17124
  We,
17125
17125
  {
17126
- animationTimed: f,
17127
- durationInFrames: h,
17128
- frame: b,
17126
+ animationTimed: x,
17127
+ durationInFrames: l,
17128
+ frame: S,
17129
17129
  style: {
17130
17130
  ...t.details,
17131
17131
  width: t.details.width,
@@ -17136,24 +17136,24 @@ function Nh({
17136
17136
  {
17137
17137
  item: t,
17138
17138
  keyframeAnimations: [
17139
- ...(($ = d == null ? void 0 : d.in) == null ? void 0 : $.composition) || [],
17140
- ...((M = d == null ? void 0 : d.out) == null ? void 0 : M.composition) || [],
17141
- ...((F = d == null ? void 0 : d.timed) == null ? void 0 : F.composition) || [],
17142
- ...((k = d == null ? void 0 : d.loop) == null ? void 0 : k.composition) || [],
17143
- ...l || [],
17139
+ ...((M = h == null ? void 0 : h.in) == null ? void 0 : M.composition) || [],
17140
+ ...((F = h == null ? void 0 : h.out) == null ? void 0 : F.composition) || [],
17141
+ ...((k = h == null ? void 0 : h.timed) == null ? void 0 : k.composition) || [],
17142
+ ...((I = h == null ? void 0 : h.loop) == null ? void 0 : I.composition) || [],
17144
17143
  ...y || [],
17145
- ...f || []
17144
+ ...f || [],
17145
+ ...x || []
17146
17146
  ],
17147
- frame: b,
17148
- durationInFrames: h,
17149
- children: w
17147
+ frame: S,
17148
+ durationInFrames: l,
17149
+ children: b
17150
17150
  }
17151
17151
  )
17152
17152
  }
17153
17153
  )
17154
17154
  }
17155
17155
  );
17156
- return Ot({ item: t, options: e, children: S });
17156
+ return Ot({ item: t, options: e, children: $ });
17157
17157
  }
17158
17158
  const Jh = ({
17159
17159
  text: t,
@@ -17199,7 +17199,7 @@ const Jh = ({
17199
17199
  overflow: "visible"
17200
17200
  },
17201
17201
  children: /* @__PURE__ */ a(
17202
- Ad,
17202
+ Xd,
17203
17203
  {
17204
17204
  text: t,
17205
17205
  frame: S,
@@ -17263,7 +17263,7 @@ const Jh = ({
17263
17263
  overflow: "visible"
17264
17264
  },
17265
17265
  children: /* @__PURE__ */ a(
17266
- Nd,
17266
+ Bd,
17267
17267
  {
17268
17268
  text: t,
17269
17269
  frame: S,
@@ -17328,7 +17328,7 @@ const Jh = ({
17328
17328
  overflow: "visible"
17329
17329
  },
17330
17330
  children: /* @__PURE__ */ a(
17331
- Pd,
17331
+ Wd,
17332
17332
  {
17333
17333
  text: t,
17334
17334
  frame: $,
@@ -17395,7 +17395,7 @@ const Jh = ({
17395
17395
  overflow: "visible"
17396
17396
  },
17397
17397
  children: /* @__PURE__ */ a(
17398
- Rd,
17398
+ Ed,
17399
17399
  {
17400
17400
  text: t,
17401
17401
  frame: M,
@@ -17463,7 +17463,7 @@ const Jh = ({
17463
17463
  overflow: "visible"
17464
17464
  },
17465
17465
  children: /* @__PURE__ */ a(
17466
- Fd,
17466
+ Sd,
17467
17467
  {
17468
17468
  text: t,
17469
17469
  frame: M,
@@ -17530,7 +17530,7 @@ const Jh = ({
17530
17530
  overflow: "visible"
17531
17531
  },
17532
17532
  children: /* @__PURE__ */ a(
17533
- bd,
17533
+ wd,
17534
17534
  {
17535
17535
  text: t,
17536
17536
  frame: $,
@@ -17599,7 +17599,7 @@ const Jh = ({
17599
17599
  overflow: "visible"
17600
17600
  },
17601
17601
  children: /* @__PURE__ */ a(
17602
- gd,
17602
+ vd,
17603
17603
  {
17604
17604
  text: t,
17605
17605
  frame: k,
@@ -17670,7 +17670,7 @@ const Jh = ({
17670
17670
  overflow: "visible"
17671
17671
  },
17672
17672
  children: /* @__PURE__ */ a(
17673
- md,
17673
+ yd,
17674
17674
  {
17675
17675
  text: t,
17676
17676
  lines: e,
@@ -17737,7 +17737,7 @@ const Jh = ({
17737
17737
  overflow: "visible"
17738
17738
  },
17739
17739
  children: /* @__PURE__ */ a(
17740
- fd,
17740
+ pd,
17741
17741
  {
17742
17742
  text: t,
17743
17743
  lines: e,
@@ -17804,7 +17804,7 @@ const Jh = ({
17804
17804
  overflow: "visible"
17805
17805
  },
17806
17806
  children: /* @__PURE__ */ a(
17807
- ud,
17807
+ dd,
17808
17808
  {
17809
17809
  text: t,
17810
17810
  lines: e,
@@ -17871,7 +17871,7 @@ const Jh = ({
17871
17871
  overflow: "visible"
17872
17872
  },
17873
17873
  children: /* @__PURE__ */ a(
17874
- sd,
17874
+ ad,
17875
17875
  {
17876
17876
  text: t,
17877
17877
  frame: S,
@@ -17935,7 +17935,7 @@ const Jh = ({
17935
17935
  overflow: "visible"
17936
17936
  },
17937
17937
  children: /* @__PURE__ */ a(
17938
- rd,
17938
+ od,
17939
17939
  {
17940
17940
  text: t,
17941
17941
  frame: S,
@@ -17999,7 +17999,7 @@ const Jh = ({
17999
17999
  overflow: "visible"
18000
18000
  },
18001
18001
  children: /* @__PURE__ */ a(
18002
- Du,
18002
+ td,
18003
18003
  {
18004
18004
  text: t,
18005
18005
  lines: e,
@@ -18064,7 +18064,7 @@ const Jh = ({
18064
18064
  overflow: "visible"
18065
18065
  },
18066
18066
  children: /* @__PURE__ */ a(
18067
- Ju,
18067
+ Ku,
18068
18068
  {
18069
18069
  text: t,
18070
18070
  lines: e,
@@ -18131,7 +18131,7 @@ const Jh = ({
18131
18131
  overflow: "visible"
18132
18132
  },
18133
18133
  children: /* @__PURE__ */ a(
18134
- Uu,
18134
+ Zu,
18135
18135
  {
18136
18136
  text: t,
18137
18137
  lines: e,
@@ -18194,7 +18194,7 @@ const Jh = ({
18194
18194
  overflow: "visible"
18195
18195
  },
18196
18196
  children: /* @__PURE__ */ a(
18197
- Gu,
18197
+ Tu,
18198
18198
  {
18199
18199
  text: t,
18200
18200
  lines: e,
@@ -18254,7 +18254,7 @@ const Jh = ({
18254
18254
  overflow: "visible"
18255
18255
  },
18256
18256
  children: /* @__PURE__ */ a(
18257
- zu,
18257
+ Hu,
18258
18258
  {
18259
18259
  text: t,
18260
18260
  lines: e,
@@ -18316,7 +18316,7 @@ const Jh = ({
18316
18316
  overflow: "visible"
18317
18317
  },
18318
18318
  children: /* @__PURE__ */ a(
18319
- Yu,
18319
+ Au,
18320
18320
  {
18321
18321
  text: t,
18322
18322
  lines: e,
@@ -18377,7 +18377,7 @@ const Jh = ({
18377
18377
  overflow: "visible"
18378
18378
  },
18379
18379
  children: /* @__PURE__ */ a(
18380
- Bu,
18380
+ Ou,
18381
18381
  {
18382
18382
  text: t,
18383
18383
  lines: e,
@@ -18438,7 +18438,7 @@ const Jh = ({
18438
18438
  overflow: "visible"
18439
18439
  },
18440
18440
  children: /* @__PURE__ */ a(
18441
- Wu,
18441
+ Nu,
18442
18442
  {
18443
18443
  text: t,
18444
18444
  lines: e,
@@ -18499,7 +18499,7 @@ const Jh = ({
18499
18499
  overflow: "visible"
18500
18500
  },
18501
18501
  children: /* @__PURE__ */ a(
18502
- N0,
18502
+ B0,
18503
18503
  {
18504
18504
  text: t,
18505
18505
  lines: e,
@@ -18557,7 +18557,7 @@ const Jh = ({
18557
18557
  overflow: "visible"
18558
18558
  },
18559
18559
  children: /* @__PURE__ */ a(
18560
- Y0,
18560
+ A0,
18561
18561
  {
18562
18562
  text: t,
18563
18563
  frame: v,
@@ -18618,7 +18618,7 @@ const Jh = ({
18618
18618
  overflow: "visible"
18619
18619
  },
18620
18620
  children: /* @__PURE__ */ a(
18621
- _0,
18621
+ V0,
18622
18622
  {
18623
18623
  text: t,
18624
18624
  lines: e,
@@ -18678,7 +18678,7 @@ const Jh = ({
18678
18678
  overflow: "visible"
18679
18679
  },
18680
18680
  children: /* @__PURE__ */ a(
18681
- j0,
18681
+ G0,
18682
18682
  {
18683
18683
  text: t,
18684
18684
  lines: e ?? (t ?? "Edit me...").split(`
@@ -18733,7 +18733,7 @@ const Jh = ({
18733
18733
  overflow: "visible"
18734
18734
  },
18735
18735
  children: /* @__PURE__ */ a(
18736
- cu,
18736
+ su,
18737
18737
  {
18738
18738
  text: t,
18739
18739
  lines: t.split(/\r\n?|\n/),
@@ -18800,7 +18800,7 @@ const Jh = ({
18800
18800
  overflow: "visible"
18801
18801
  },
18802
18802
  children: /* @__PURE__ */ a(
18803
- au,
18803
+ iu,
18804
18804
  {
18805
18805
  text: t,
18806
18806
  lines: x,
@@ -18858,7 +18858,7 @@ const Jh = ({
18858
18858
  overflow: "visible"
18859
18859
  },
18860
18860
  children: /* @__PURE__ */ a(
18861
- hu,
18861
+ fu,
18862
18862
  {
18863
18863
  text: t,
18864
18864
  lines: e,
@@ -18915,7 +18915,7 @@ const Jh = ({
18915
18915
  overflow: "visible"
18916
18916
  },
18917
18917
  children: /* @__PURE__ */ a(
18918
- pu,
18918
+ mu,
18919
18919
  {
18920
18920
  text: t,
18921
18921
  lines: e,
@@ -18967,7 +18967,7 @@ const Jh = ({
18967
18967
  overflow: "visible"
18968
18968
  },
18969
18969
  children: /* @__PURE__ */ a(
18970
- xu,
18970
+ bu,
18971
18971
  {
18972
18972
  text: t,
18973
18973
  lines: t.split(/\r\n?|\n/),
@@ -19023,7 +19023,7 @@ const Jh = ({
19023
19023
  overflow: "visible"
19024
19024
  },
19025
19025
  children: /* @__PURE__ */ a(
19026
- Mu,
19026
+ Fu,
19027
19027
  {
19028
19028
  text: t,
19029
19029
  lines: e,
@@ -19078,7 +19078,7 @@ const Jh = ({
19078
19078
  overflow: "visible"
19079
19079
  },
19080
19080
  children: /* @__PURE__ */ a(
19081
- Iu,
19081
+ ku,
19082
19082
  {
19083
19083
  text: t,
19084
19084
  lines: e,
@@ -19132,7 +19132,7 @@ const Jh = ({
19132
19132
  overflow: "visible"
19133
19133
  },
19134
19134
  children: /* @__PURE__ */ a(
19135
- X0,
19135
+ C0,
19136
19136
  {
19137
19137
  text: t,
19138
19138
  lines: e,
@@ -19185,7 +19185,7 @@ const Jh = ({
19185
19185
  overflow: "visible"
19186
19186
  },
19187
19187
  children: /* @__PURE__ */ a(
19188
- T0,
19188
+ U0,
19189
19189
  {
19190
19190
  text: t,
19191
19191
  frame: f,
@@ -19241,7 +19241,7 @@ const Jh = ({
19241
19241
  overflow: "visible"
19242
19242
  },
19243
19243
  children: /* @__PURE__ */ a(
19244
- Z0,
19244
+ Q0,
19245
19245
  {
19246
19246
  text: t,
19247
19247
  lines: e,
@@ -19299,7 +19299,7 @@ const Jh = ({
19299
19299
  overflow: "visible"
19300
19300
  },
19301
19301
  children: /* @__PURE__ */ a(
19302
- J0,
19302
+ K0,
19303
19303
  {
19304
19304
  text: t,
19305
19305
  lines: e,
@@ -19358,7 +19358,7 @@ const Jh = ({
19358
19358
  overflow: "visible"
19359
19359
  },
19360
19360
  children: /* @__PURE__ */ a(
19361
- D0,
19361
+ tu,
19362
19362
  {
19363
19363
  text: t,
19364
19364
  lines: M,
@@ -19432,7 +19432,7 @@ const Jh = ({
19432
19432
  overflow: "visible"
19433
19433
  },
19434
19434
  children: /* @__PURE__ */ a(
19435
- nu,
19435
+ ru,
19436
19436
  {
19437
19437
  text: t,
19438
19438
  lines: $,
@@ -19487,7 +19487,7 @@ const Jh = ({
19487
19487
  export {
19488
19488
  aa as Audio,
19489
19489
  Ot as BaseSequence,
19490
- Su as BouncingSequentialRectangleText,
19490
+ Iu as BouncingSequentialRectangleText,
19491
19491
  kf as BouncingSequentialRectangleTextPreview,
19492
19492
  rf as BrokenCodePreview,
19493
19493
  ia as Caption,
@@ -19495,7 +19495,7 @@ export {
19495
19495
  tf as CodeUnshredPreview,
19496
19496
  hf as ColorDrainPreview,
19497
19497
  Nh as Composition,
19498
- eu as CurvedBannerRibbon,
19498
+ nu as CurvedBannerRibbon,
19499
19499
  Bf as CurvedBannerRibbonPreview,
19500
19500
  df as CutTrapezoidPreview,
19501
19501
  of as DragSelectPreview,
@@ -19504,15 +19504,15 @@ export {
19504
19504
  pf as EchoUncutPreview,
19505
19505
  uf as ElasticUnfoldPreview,
19506
19506
  Fi as Ellipse,
19507
- su as FirstLineSlideReveal,
19507
+ au as FirstLineSlideReveal,
19508
19508
  $f as FirstLineSlideRevealPreview,
19509
19509
  cf as GeneTwistPreview,
19510
19510
  gi as HillAudioBars,
19511
- q0 as HorizontalTextStretch,
19511
+ D0 as HorizontalTextStretch,
19512
19512
  Nf as HorizontalTextStretchPreview,
19513
19513
  la as Illustration,
19514
19514
  ba as Image,
19515
- ou as LetterByLetterCurveReveal,
19515
+ cu as LetterByLetterCurveReveal,
19516
19516
  wf as LetterByLetterCurveRevealPreview,
19517
19517
  fi as LinealAudioBars,
19518
19518
  yf as MysticDustPreview,
@@ -19523,24 +19523,24 @@ export {
19523
19523
  di as ProgressBar,
19524
19524
  pi as ProgressFrame,
19525
19525
  Ii as ProgressSquare,
19526
- G0 as ProgressiveWordShadow,
19526
+ T0 as ProgressiveWordShadow,
19527
19527
  Ef as ProgressiveWordShadowPreview,
19528
19528
  mi as RadialAudioBars,
19529
- O0 as RandomFadeText,
19529
+ Y0 as RandomFadeText,
19530
19530
  vf as RandomFadeTextPreview,
19531
- H0 as RandomFadeTextWithRectangle,
19531
+ _0 as RandomFadeTextWithRectangle,
19532
19532
  xf as RandomFadeTextWithRectanglePreview,
19533
- vu as RandomTranslateTextWithRectangle,
19533
+ xu as RandomTranslateTextWithRectangle,
19534
19534
  Sf as RandomTranslateTextWithRectanglePreview,
19535
19535
  vi as Rect,
19536
- W0 as RibbonReveal,
19536
+ N0 as RibbonReveal,
19537
19537
  gf as RibbonRevealPreview,
19538
- U0 as RightToLeftTextReveal,
19538
+ Z0 as RightToLeftTextReveal,
19539
19539
  Pf as RightToLeftTextRevealPreview,
19540
19540
  Mr as SafeHtmlInCanvas,
19541
19541
  sf as ScanlineSmearPreview,
19542
19542
  qs as SequenceItem,
19543
- $u as SequentialDoubleRectangleText,
19543
+ Mu as SequentialDoubleRectangleText,
19544
19544
  If as SequentialDoubleRectangleTextPreview,
19545
19545
  wa as Shape,
19546
19546
  $i as Star,
@@ -19548,26 +19548,26 @@ export {
19548
19548
  Wh as Template,
19549
19549
  qh as TerminalCutsPreview,
19550
19550
  li as Text,
19551
- du as TextBorderRibbonReveal,
19551
+ hu as TextBorderRibbonReveal,
19552
19552
  Mf as TextBorderRibbonRevealPreview,
19553
- fu as TextMessageReveal,
19553
+ pu as TextMessageReveal,
19554
19554
  Ff as TextMessageRevealPreview,
19555
- A0 as TextShadowReveal,
19555
+ X0 as TextShadowReveal,
19556
19556
  Rf as TextShadowRevealPreview,
19557
19557
  wi as Triangle,
19558
- Q0 as TypewriterWithLassoReveal,
19558
+ J0 as TypewriterWithLassoReveal,
19559
19559
  Wf as TypewriterWithLassoRevealPreview,
19560
19560
  lf as UnslicedPreview,
19561
19561
  Dh as UnsteadyEchoPreview,
19562
19562
  ui as Video,
19563
19563
  ef as VioletBlinkPreview,
19564
19564
  yi as WaveAudioBars,
19565
- L0 as WordByWordRectangleReveal,
19565
+ j0 as WordByWordRectangleReveal,
19566
19566
  bf as WordByWordRectangleRevealPreview,
19567
19567
  sa as calculateBorderOverlayStyles,
19568
- Ki as calculateContainerFigureStyles,
19568
+ qi as calculateContainerFigureStyles,
19569
19569
  Fe as calculateContainerStyles,
19570
- Ji as calculateCropStyles,
19570
+ Ki as calculateCropStyles,
19571
19571
  ca as calculateMediaStyles,
19572
19572
  $t as calculateTextStyles,
19573
19573
  Ir as getAnimatedRemotionEffects,