@algorisys/tinyfly 0.116.0 → 0.117.0

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.
@@ -1772,8 +1772,20 @@ function ps(t, e) {
1772
1772
  if (e.length !== 0)
1773
1773
  return e[Math.floor(t.next() * e.length)];
1774
1774
  }
1775
+ function ys(t, e = 0, n = 1) {
1776
+ const r = 1 - t.next(), s = t.next();
1777
+ return e + n * Math.sqrt(-2 * Math.log(r)) * Math.cos(2 * Math.PI * s);
1778
+ }
1779
+ function Ms(t, e) {
1780
+ const n = [...e];
1781
+ for (let r = n.length - 1; r > 0; r--) {
1782
+ const s = Math.floor(t.next() * (r + 1));
1783
+ [n[r], n[s]] = [n[s], n[r]];
1784
+ }
1785
+ return n;
1786
+ }
1775
1787
  const Ce = /^([+\-*/])=\s*(-?[\d.]+)$/, Ee = /^random\(\s*(-?[\d.]+)\s*,\s*(-?[\d.]+)\s*(?:,\s*(-?[\d.]+)\s*)?\)$/i;
1776
- function ys(t) {
1788
+ function xs(t) {
1777
1789
  return typeof t != "string" ? !1 : Ce.test(t.trim()) || Ee.test(t.trim());
1778
1790
  }
1779
1791
  function De(t, e = {}) {
@@ -1812,7 +1824,7 @@ function gr(t, e = 0, n) {
1812
1824
  }
1813
1825
  return r;
1814
1826
  }
1815
- class Ms {
1827
+ class _s {
1816
1828
  random;
1817
1829
  constructor(e) {
1818
1830
  this.random = $e(e);
@@ -1829,7 +1841,7 @@ class Ms {
1829
1841
  }
1830
1842
  }
1831
1843
  const pr = 600;
1832
- function xs(t) {
1844
+ function bs(t) {
1833
1845
  if (Array.isArray(t)) {
1834
1846
  const [d, f, g, m] = t;
1835
1847
  return { fn: ae(d, f, g, m), bezier: [d, f, g, m] };
@@ -1851,7 +1863,7 @@ function xs(t) {
1851
1863
  }
1852
1864
  return { fn: Mr(h, l) };
1853
1865
  }
1854
- function _s(t = {}) {
1866
+ function Ts(t = {}) {
1855
1867
  const n = 0.1 + Math.max(0, Math.min(1, t.strength ?? 0.7)) * 0.7, r = [1];
1856
1868
  for (let o = n; o > 2e-3; o *= n) r.push(2 * Math.sqrt(o));
1857
1869
  const s = r.reduce((o, a) => o + a, 0);
@@ -1870,7 +1882,7 @@ function _s(t = {}) {
1870
1882
  return 1;
1871
1883
  };
1872
1884
  }
1873
- function bs(t = {}) {
1885
+ function ws(t = {}) {
1874
1886
  const e = Math.max(1, t.wiggles ?? 10), n = t.type ?? "easeOut", r = (s) => n === "uniform" ? 1 : n === "easeInOut" ? Math.sin(Math.PI * s) : (1 - s) ** 2;
1875
1887
  return (s) => s <= 0 || s >= 1 ? 0 : Math.sin(s * e * Math.PI * 2) * r(s);
1876
1888
  }
@@ -1918,7 +1930,7 @@ function ae(t, e, n, r) {
1918
1930
  };
1919
1931
  }
1920
1932
  const xr = 350, _r = 300, br = 550;
1921
- function Ts(t, e = {}) {
1933
+ function ks(t, e = {}) {
1922
1934
  const n = e.lead ?? xr, r = e.gap ?? _r, s = e.tail ?? br, o = [];
1923
1935
  let a = 0;
1924
1936
  return t.forEach((i, c) => {
@@ -1940,10 +1952,10 @@ function Ts(t, e = {}) {
1940
1952
  o.push({ id: i.id ?? `s${c}`, start: a, duration: u - a, cues: h }), a = u;
1941
1953
  }), { duration: a, scenes: o, cues: o.flatMap((i) => i.cues) };
1942
1954
  }
1943
- function ws(t) {
1955
+ function As(t) {
1944
1956
  return t.cues.map((e) => ({ id: e.id, time: e.start, label: e.text }));
1945
1957
  }
1946
- function ks(t, e) {
1958
+ function Ss(t, e) {
1947
1959
  let n = t.scenes[0];
1948
1960
  for (const r of t.scenes)
1949
1961
  if (e >= r.start) n = r;
@@ -1957,13 +1969,13 @@ function Ot(t, e) {
1957
1969
  function pt(t, e) {
1958
1970
  return (e - t.offset) / gt(t);
1959
1971
  }
1960
- function As(t, e) {
1972
+ function vs(t, e) {
1961
1973
  return Ot(t, Math.round(pt(t, e)));
1962
1974
  }
1963
- function Ss(t, e) {
1975
+ function Ps(t, e) {
1964
1976
  return Ot(t, Math.ceil(pt(t, e) - 1e-9));
1965
1977
  }
1966
- function vs(t, e, n) {
1978
+ function Is(t, e, n) {
1967
1979
  const r = Math.max(1, Math.round(t.beatsPerBar ?? 4)), s = [];
1968
1980
  if (!(t.bpm > 0) || n < e) return s;
1969
1981
  for (let o = Math.ceil(pt(t, e) - 1e-9); ; o++) {
@@ -1974,7 +1986,7 @@ function vs(t, e, n) {
1974
1986
  return s;
1975
1987
  }
1976
1988
  const H = 100;
1977
- function Ps(t, e, n = {}) {
1989
+ function $s(t, e, n = {}) {
1978
1990
  const r = n.minBpm ?? 70, s = n.maxBpm ?? 180, o = Math.max(1, Math.round(e / H)), a = Math.min(t.length, Math.round((n.maxSeconds ?? 60) * e)), i = Math.floor(a / o);
1979
1991
  if (i < 4) return { bpm: 120, offset: 0, confidence: 0 };
1980
1992
  const c = new Float64Array(i);
@@ -2021,7 +2033,7 @@ function Ps(t, e, n = {}) {
2021
2033
  return { bpm: Math.round(S * 100) / 100, offset: Math.round(P % (6e4 / S)), confidence: k };
2022
2034
  }
2023
2035
  const Tr = 600, wr = 250, ie = 1;
2024
- function Is(t, e) {
2036
+ function Rs(t, e) {
2025
2037
  const n = e.target ?? "Camera", r = { x: e.stage.width / 2, y: e.stage.height / 2 }, s = {}, o = (u, d, f, g) => {
2026
2038
  const m = s[u] ??= [];
2027
2039
  for (; m.length > 0 && m[m.length - 1].time >= d; ) m.pop();
@@ -2097,11 +2109,11 @@ function Ar(t, e) {
2097
2109
  }
2098
2110
  return s !== void 0 && o <= Math.max(2, Math.floor(t.length / 3)) ? s : void 0;
2099
2111
  }
2100
- function $s(t, e, n, r) {
2112
+ function Cs(t, e, n, r) {
2101
2113
  const s = typeof e == "string" ? r ?? Ar(e, n) : void 0;
2102
2114
  return `Unknown ${t} ${JSON.stringify(e)}${s ? `: did you mean "${s}"?` : "."} Known: ${n.join(", ")}`;
2103
2115
  }
2104
- function Rs(t, e) {
2116
+ function Es(t, e) {
2105
2117
  const n = e.step ?? 33, r = e.stiffness ?? 120, s = e.damping ?? 9, o = e.mass ?? 1;
2106
2118
  let a = t(e.start), i = 0;
2107
2119
  const c = [{ time: e.start, value: a }];
@@ -2121,7 +2133,7 @@ function Le(t) {
2121
2133
  const e = t - Math.floor(t);
2122
2134
  return 1 - Math.abs(e * 2 - 1);
2123
2135
  }
2124
- function Cs(t, e) {
2136
+ function Ds(t, e) {
2125
2137
  const n = Math.max(1, Math.round(e.cycles ?? 1)), r = e.amplitude ?? 1, s = K(t, e.period, n) + (e.phase ?? 0), o = s - Math.floor(s);
2126
2138
  switch (e.shape ?? "sine") {
2127
2139
  case "triangle":
@@ -2132,15 +2144,15 @@ function Cs(t, e) {
2132
2144
  return r * Math.sin(o * Math.PI * 2);
2133
2145
  }
2134
2146
  }
2135
- function Es(t, e) {
2147
+ function Ls(t, e) {
2136
2148
  const n = Math.max(1, Math.round(e.cycles ?? 1)), r = typeof e.easing == "function" ? e.easing : Lt(e.easing ?? "ease-in-out"), s = K(t, e.period, n) + (e.phase ?? 0);
2137
2149
  return r(Le(s));
2138
2150
  }
2139
- function Ds(t, e) {
2151
+ function Fs(t, e) {
2140
2152
  const n = Fe(e.seed), r = Math.max(1, Math.round(e.cycles ?? 1)), s = (K(t, e.period, 1) + (e.phase ?? 0)) * Math.PI * 2, o = r / Math.PI;
2141
2153
  return Oe([Math.cos(s) * o + 7.31, Math.sin(s) * o + 3.17], n, e.octaves ?? 1);
2142
2154
  }
2143
- function Ls(t, e, n) {
2155
+ function Os(t, e, n) {
2144
2156
  const r = Fe(n.seed), s = Math.max(1, Math.round(n.cycles ?? 1)), o = Math.max(1, Math.round(n.cyclesAlong ?? 1)), a = K(t, n.period, 1) * Math.PI * 2, i = K(e, n.periodAlong, 1) * Math.PI * 2, c = s / Math.PI, h = o / Math.PI;
2145
2157
  return Oe([Math.cos(a) * c + 5.13, Math.sin(a) * c + 9.47, Math.cos(i) * h + 2.71, Math.sin(i) * h + 6.29], r, n.octaves ?? 1);
2146
2158
  }
@@ -2174,25 +2186,25 @@ function vr(t, e) {
2174
2186
  n = Math.imul(n ^ (r | 0), 2246822507) >>> 0, n = (n ^ n >>> 13) >>> 0, n = Math.imul(n, 3266489909) >>> 0, n = (n ^ n >>> 16) >>> 0;
2175
2187
  return n / 4294967296 * 2 - 1;
2176
2188
  }
2177
- function Fs(t, e = {}) {
2189
+ function Ns(t, e = {}) {
2178
2190
  if (t.length === 0) throw new Error("curve: needs at least one key");
2179
2191
  const r = { id: "curve", target: "curve", property: "value", keyframes: t.map((o) => ({ time: o.at, value: o.value, easing: o.easing })).sort((o, a) => o.time - a.time), interpolation: e.interpolation }, s = new ut(r);
2180
2192
  return (o) => s.getValueAtTime(o);
2181
2193
  }
2182
- function Os(t, e) {
2194
+ function Xs(t, e) {
2183
2195
  return e * gt({ bpm: t.bpm });
2184
2196
  }
2185
- function Ns(t, e) {
2197
+ function Ys(t, e) {
2186
2198
  const n = Math.max(1, Math.round(t / gt(e)));
2187
2199
  return { beats: n, grid: { ...e, bpm: n * 6e4 / t } };
2188
2200
  }
2189
- function Xs(t, e, n = {}) {
2201
+ function zs(t, e, n = {}) {
2190
2202
  const r = Math.max(1e-6, n.attack ?? 0.05), s = Math.max(1e-6, n.decay ?? 0.4), o = pt(e, t), a = o - Math.floor(o), i = a < r ? a / r : Math.max(0, 1 - (a - r) / s), c = n.barAccent ?? 0;
2191
2203
  if (c <= 0) return i;
2192
2204
  const h = Math.max(1, Math.round(e.beatsPerBar ?? 4)), u = (Math.floor(o) % h + h) % h === 0;
2193
2205
  return i * (u ? 1 + c : 1) / (1 + c);
2194
2206
  }
2195
- function Ys(t, e, n = {}) {
2207
+ function js(t, e, n = {}) {
2196
2208
  const r = n.fps ?? 30, s = Math.max(1, Math.round(e / r)), o = Math.max(1, Math.ceil(t.length / s)), a = new Float32Array(o), i = Math.min(0.99, Math.max(0, n.smoothing ?? 0.5));
2197
2209
  let c = 0, h = 0;
2198
2210
  for (let l = 0; l < o; l++) {
@@ -2205,7 +2217,7 @@ function Ys(t, e, n = {}) {
2205
2217
  if (n.normalize !== !1 && h > 0) for (let l = 0; l < o; l++) a[l] /= h;
2206
2218
  return a;
2207
2219
  }
2208
- function zs(t, e, n = 30, r) {
2220
+ function Us(t, e, n = 30, r) {
2209
2221
  if (t.length === 0) return 0;
2210
2222
  const o = (r ? K(e, r) * r : e) * n / 1e3, a = Math.floor(o), i = t[Math.min(t.length - 1, Math.max(0, a))], c = t[Math.min(t.length - 1, Math.max(0, a + 1))];
2211
2223
  return i + (c - i) * (o - a);
@@ -2218,7 +2230,7 @@ const Pr = {
2218
2230
  "9:16": 9 / 16,
2219
2231
  "4:5": 4 / 5
2220
2232
  }, Ne = (t) => typeof t == "number" ? t : Pr[t];
2221
- function js(t, e) {
2233
+ function Vs(t, e) {
2222
2234
  const n = Ne(e), r = t.width / t.height;
2223
2235
  if (n >= r) {
2224
2236
  const o = t.width / n;
@@ -2227,11 +2239,11 @@ function js(t, e) {
2227
2239
  const s = t.height * n;
2228
2240
  return { x: (t.width - s) / 2, y: 0, width: s, height: t.height };
2229
2241
  }
2230
- function Us(t, e) {
2242
+ function Bs(t, e) {
2231
2243
  const n = Ne(t), r = (s) => Math.max(2, Math.round(s / 2) * 2);
2232
2244
  return "width" in e ? { width: r(e.width), height: r(e.width / n) } : { width: r(e.height * n), height: r(e.height) };
2233
2245
  }
2234
- function Vs(t, e = {}) {
2246
+ function Hs(t, e = {}) {
2235
2247
  const n = (r) => ({
2236
2248
  x: t.x + t.width * (1 - r) / 2,
2237
2249
  y: t.y + t.height * (1 - r) / 2,
@@ -2241,7 +2253,7 @@ function Vs(t, e = {}) {
2241
2253
  return { action: n(e.action ?? 0.9), title: n(e.title ?? 0.8) };
2242
2254
  }
2243
2255
  const F = (t) => Math.round(t * 1e3) / 1e3;
2244
- function Bs(t, e = {}) {
2256
+ function qs(t, e = {}) {
2245
2257
  if (t.length === 0) return "";
2246
2258
  const n = e.curviness ?? 1, r = e.closed ?? !1, s = t.length;
2247
2259
  let o = `M${F(t[0].x)} ${F(t[0].y)}`;
@@ -2267,7 +2279,7 @@ function Ir(t) {
2267
2279
  for (let r = 0; r + 1 < e.length; r += 2) n.push({ x: e[r], y: e[r + 1] });
2268
2280
  return n;
2269
2281
  }
2270
- function Hs(t) {
2282
+ function Ws(t) {
2271
2283
  const e = t.attributes;
2272
2284
  switch (t.tag.toLowerCase()) {
2273
2285
  case "path":
@@ -2295,7 +2307,7 @@ function Hs(t) {
2295
2307
  return null;
2296
2308
  }
2297
2309
  }
2298
- function qs(t, e, n) {
2310
+ function Qs(t, e, n) {
2299
2311
  const r = Math.max(2, Math.round(n.samples ?? 32)), s = Math.max(0, n.length), o = n.since !== void 0 ? Math.max(e - s, n.since) : e - s;
2300
2312
  if (o >= e) return [];
2301
2313
  const a = n.period, i = [];
@@ -2306,7 +2318,7 @@ function qs(t, e, n) {
2306
2318
  return i;
2307
2319
  }
2308
2320
  const $r = 2.5;
2309
- function Ws(t) {
2321
+ function Gs(t) {
2310
2322
  const e = [], n = [], r = t.length, s = (o, a) => {
2311
2323
  for (let i = o + a; i >= 0 && i < r; i += a) {
2312
2324
  const c = (t[i].x - t[o].x) * a, h = (t[i].y - t[o].y) * a, l = Math.hypot(c, h);
@@ -2324,7 +2336,7 @@ function Ws(t) {
2324
2336
  }
2325
2337
  return { left: e, right: n };
2326
2338
  }
2327
- function Qs(t) {
2339
+ function Ks(t) {
2328
2340
  const e = t.length;
2329
2341
  if (e < 2) return null;
2330
2342
  const n = t[e - 1];
@@ -2335,8 +2347,8 @@ function Qs(t) {
2335
2347
  }
2336
2348
  return null;
2337
2349
  }
2338
- const Gs = { scale: 1, turn: 0, x: 0, y: 0 };
2339
- function Ks(t = {}) {
2350
+ const Zs = { scale: 1, turn: 0, x: 0, y: 0 };
2351
+ function Js(t = {}) {
2340
2352
  return { scale: t.scale ?? 1, turn: t.turn ?? 0, x: t.x ?? 0, y: t.y ?? 0 };
2341
2353
  }
2342
2354
  function Rr(t, e, n) {
@@ -2347,11 +2359,11 @@ function Xe(t, e) {
2347
2359
  const { ax: n, ay: r } = yt(t.scale, t.turn);
2348
2360
  return { x: n * e.x - r * e.y + t.x, y: r * e.x + n * e.y + t.y };
2349
2361
  }
2350
- function Zs(t, e) {
2362
+ function to(t, e) {
2351
2363
  const n = Xe(e, { x: t.x, y: t.y });
2352
2364
  return { scale: t.scale * e.scale, turn: t.turn + e.turn, x: n.x, y: n.y };
2353
2365
  }
2354
- function Js(t) {
2366
+ function eo(t) {
2355
2367
  if (t.scale === 0) throw new Error("invertSimilarity: a scale of 0 cannot be undone");
2356
2368
  const e = { scale: 1 / t.scale, turn: -t.turn, x: 0, y: 0 }, n = Xe(e, { x: t.x, y: t.y });
2357
2369
  return { ...e, x: -n.x, y: -n.y };
@@ -2360,12 +2372,12 @@ function Cr(t) {
2360
2372
  const { ax: e, ay: n } = yt(t.scale, t.turn), r = 1 - e, s = -n, o = r * r + s * s;
2361
2373
  return o < 1e-18 ? null : { x: (t.x * r + t.y * s) / o, y: (t.y * r - t.x * s) / o };
2362
2374
  }
2363
- function to(t, e) {
2375
+ function no(t, e) {
2364
2376
  if (t.scale <= 0) throw new Error("powSimilarity: the scale must be positive");
2365
2377
  const n = Math.pow(t.scale, e), r = t.turn * e, s = Cr(t);
2366
2378
  return s ? Rr(n, r, s) : { scale: n, turn: r, x: t.x * e, y: t.y * e };
2367
2379
  }
2368
- function eo(t) {
2380
+ function ro(t) {
2369
2381
  const { ax: e, ay: n } = yt(t.scale, t.turn);
2370
2382
  return [e, n, -n, e, t.x, t.y];
2371
2383
  }
@@ -2389,7 +2401,7 @@ function ze(t, e = {}) {
2389
2401
  function je(t, e = {}) {
2390
2402
  return t.map((n) => ({ box: n, depth: Ye([(n.min[0] + n.max[0]) / 2, (n.min[1] + n.max[1]) / 2, (n.min[2] + n.max[2]) / 2]) })).sort((n, r) => n.depth - r.depth).flatMap(({ box: n }) => ze(n, e));
2391
2403
  }
2392
- function no(t = {}) {
2404
+ function so(t = {}) {
2393
2405
  const e = t.size ?? 10, r = (t.thickness ?? 2) / 2, s = [
2394
2406
  { tag: 0, min: [-r, -r, -r], max: [e - r, r, r] },
2395
2407
  { tag: 1, min: [e - r, -r, -r], max: [e + r, e - r, r] },
@@ -2397,7 +2409,7 @@ function no(t = {}) {
2397
2409
  ], o = t.centre ?? { x: 0, y: 0 }, a = Nt([2 * e / 3, e / 3, e / 3], { scale: t.scale }), i = { centre: { x: o.x - a.x, y: o.y - a.y }, scale: t.scale };
2398
2410
  return { boxes: s, faces: [...je(s, i), ...ze({ ...s[0], hide: ["right"] }, i)] };
2399
2411
  }
2400
- function ro(t = {}) {
2412
+ function oo(t = {}) {
2401
2413
  const e = Math.max(2, Math.round(t.steps ?? 8)), n = t.tread ?? 1.5, r = t.rise ?? 0.25, s = t.width ?? 3, o = t.base ?? 1.5, a = Math.max(1, Math.round(e * (n - 2 * r) / (n + 2 * r))), i = 2 * (e + a), c = n * (e - a) / i, h = [
2402
2414
  { dir: [1, 0, 0], across: [0, 1, 0], count: e },
2403
2415
  { dir: [0, 1, 0], across: [-1, 0, 0], count: e },
@@ -2427,7 +2439,7 @@ function Er(t, e, n) {
2427
2439
  }
2428
2440
  return r;
2429
2441
  }
2430
- function so(t, e = {}) {
2442
+ function ao(t, e = {}) {
2431
2443
  if (t.length === 0) return [];
2432
2444
  const n = e.threshold ?? 1, r = Math.max(0.5, e.cell ?? 4), s = Math.sqrt(1 / n) * 1.6, o = e.bounds ?? {
2433
2445
  x: Math.min(...t.map((f) => f.x - f.r * s)),
@@ -2515,7 +2527,7 @@ function ce(t) {
2515
2527
  }
2516
2528
  return e;
2517
2529
  }
2518
- function oo(t) {
2530
+ function io(t) {
2519
2531
  const e = Math.min(1, Math.max(0, t.progress));
2520
2532
  if (e <= 0) return [];
2521
2533
  const n = t.width / 2, r = n * (0.55 + 0.75 * e), s = Math.max(t.length * e, r * 1.2), o = t.x, a = t.y + s - r, i = Math.max(0.1, n * (0.35 - 0.3 * e)), c = a - Math.sqrt(Math.max(0, r * r - i * i)), h = Math.max(0, c - t.y), l = 8, u = [], d = [];
@@ -2530,7 +2542,7 @@ function oo(t) {
2530
2542
  }
2531
2543
  return [...d, ...y, ...u.reverse()];
2532
2544
  }
2533
- function ao(t) {
2545
+ function co(t) {
2534
2546
  const e = Math.min(1, Math.max(0, t.grow ?? 1)), n = e >= 1 ? 1 : 1 - Math.pow(1 - e, 3) + 0.08 * Math.sin(e * Math.PI) * e, r = t.r * Math.max(0, n);
2535
2547
  if (r <= 0) return [];
2536
2548
  const s = Math.max(12, Math.round(t.segments ?? 48)), o = t.wobble ?? 0.05, a = t.time ?? 0, i = t.period ? a / t.period : a / 2500, c = (i - Math.floor(i)) * Math.PI * 2, h = t.seed ?? 0, l = [];
@@ -2540,7 +2552,7 @@ function ao(t) {
2540
2552
  }
2541
2553
  return l;
2542
2554
  }
2543
- function io(t) {
2555
+ function uo(t) {
2544
2556
  const e = t.progress;
2545
2557
  if (e <= 0 || e >= 1) return [];
2546
2558
  const n = Math.max(3, Math.round(t.pieces ?? 8)), r = [], s = t.r * (1 + 1.2 * e), o = Math.PI * 2 / n * 0.6 * (1 - e);
@@ -2554,11 +2566,11 @@ function io(t) {
2554
2566
  }
2555
2567
  return r;
2556
2568
  }
2557
- function co(t, e = {}) {
2569
+ function ho(t, e = {}) {
2558
2570
  const n = Math.max(0.05, 1 + t);
2559
2571
  return { sx: e.keep === "volume" ? 1 / Math.sqrt(n) : 1 / n, sy: n };
2560
2572
  }
2561
- function uo(t, e, n = { x: 0, y: 0 }) {
2573
+ function lo(t, e, n = { x: 0, y: 0 }) {
2562
2574
  return t.map((r) => ({ x: n.x + (r.x - n.x) * e.sx, y: n.y + (r.y - n.y) * e.sy }));
2563
2575
  }
2564
2576
  function Lr(t, e) {
@@ -2589,7 +2601,7 @@ function Ct(t) {
2589
2601
  function Or(t, e, n) {
2590
2602
  return [t[0] + (e[0] - t[0]) * n, t[1] + (e[1] - t[1]) * n, t[2] + (e[2] - t[2]) * n];
2591
2603
  }
2592
- const ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2604
+ const fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2593
2605
  __proto__: null,
2594
2606
  add: Lr,
2595
2607
  cross: Rt,
@@ -2708,7 +2720,7 @@ function Qr(t, e) {
2708
2720
  const n = t[0] * e[0] + t[4] * e[1] + t[8] * e[2] + t[12], r = t[1] * e[0] + t[5] * e[1] + t[9] * e[2] + t[13], s = t[2] * e[0] + t[6] * e[1] + t[10] * e[2] + t[14], o = t[3] * e[0] + t[7] * e[1] + t[11] * e[2] + t[15];
2709
2721
  return o === 1 || o === 0 ? [n, r, s] : [n / o, r / o, s / o];
2710
2722
  }
2711
- const lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2723
+ const mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2712
2724
  __proto__: null,
2713
2725
  compose: Ur,
2714
2726
  fromQuat: Ve,
@@ -2730,7 +2742,7 @@ export {
2730
2742
  L as DEFAULT_SPRING,
2731
2743
  Vt as FORMAT_VERSION,
2732
2744
  Pr as FRAME_ASPECTS,
2733
- Gs as IDENTITY_SIMILARITY,
2745
+ Zs as IDENTITY_SIMILARITY,
2734
2746
  nn as INERTIA_MAX_DURATION_MS,
2735
2747
  rr as InertiaTrackPlayer,
2736
2748
  is as MORPH_SAMPLES,
@@ -2742,41 +2754,41 @@ export {
2742
2754
  nr as SpringTrackPlayer,
2743
2755
  Pe as Timeline,
2744
2756
  ut as TrackPlayer,
2745
- Ms as ValueResolver,
2757
+ _s as ValueResolver,
2746
2758
  Xe as applySimilarity,
2747
2759
  Ne as aspectOf,
2748
- Ys as audioEnvelope,
2760
+ js as audioEnvelope,
2749
2761
  pn as backOut,
2750
2762
  Zn as bakeEasing,
2751
2763
  Ae as bakeInertiaTrack,
2752
2764
  ke as bakeSpringTrack,
2753
2765
  pt as beatAtTime,
2754
2766
  gt as beatLength,
2755
- Os as beatPeriod,
2756
- Xs as beatPulse,
2767
+ Xs as beatPeriod,
2768
+ zs as beatPulse,
2757
2769
  Ot as beatTime,
2758
- vs as beatsBetween,
2770
+ Is as beatsBetween,
2759
2771
  gn as bounceOut,
2760
- ao as bubblePath,
2761
- io as bubblePop,
2762
- Is as cameraTracks,
2772
+ co as bubblePath,
2773
+ uo as bubblePop,
2774
+ Rs as cameraTracks,
2763
2775
  or as charactersFor,
2764
2776
  cs as clearMorphCache,
2765
2777
  os as clearPathCache,
2766
2778
  Ar as closestName,
2767
- Zs as composeSimilarity,
2779
+ to as composeSimilarity,
2768
2780
  dn as createCubicBezier,
2769
2781
  $e as createRandom,
2770
2782
  er as createTrack,
2771
2783
  rs as criticalDamping,
2772
- Fs as curve,
2773
- _s as customBounce,
2774
- xs as customEase,
2775
- bs as customWiggle,
2784
+ Ns as curve,
2785
+ Ts as customBounce,
2786
+ bs as customEase,
2787
+ ws as customWiggle,
2776
2788
  fr as deserializeTimeline,
2777
2789
  hr as deserializeTrack,
2778
- Ps as detectTempo,
2779
- oo as dripPath,
2790
+ $s as detectTempo,
2791
+ io as dripPath,
2780
2792
  un as easeIn,
2781
2793
  me as easeInCubic,
2782
2794
  ln as easeInOut,
@@ -2788,11 +2800,11 @@ export {
2788
2800
  an as easeOutQuad,
2789
2801
  kr as editDistance,
2790
2802
  mn as elasticOut,
2791
- zs as envelopeAt,
2803
+ Us as envelopeAt,
2792
2804
  Jn as expandParametricEasings,
2793
2805
  ue as formatVersionFor,
2794
- js as frameRect,
2795
- Us as frameSize,
2806
+ Vs as frameRect,
2807
+ Bs as frameSize,
2796
2808
  gs as fromJSON,
2797
2809
  Lt as getEasingFunction,
2798
2810
  Te as getInterpolator,
@@ -2813,7 +2825,7 @@ export {
2813
2825
  Kn as interpolatePathString,
2814
2826
  Gn as interpolateQuaternion,
2815
2827
  oe as interpolateString,
2816
- Js as invertSimilarity,
2828
+ eo as invertSimilarity,
2817
2829
  Qe as isCubicBezierEasing,
2818
2830
  U as isInertiaTrack,
2819
2831
  Gr as isMotionPathPoint,
@@ -2823,58 +2835,60 @@ export {
2823
2835
  V as isSpringTrack,
2824
2836
  Et as isTextTrack,
2825
2837
  ns as isUnderdamped,
2826
- ys as isUnresolved,
2838
+ xs as isUnresolved,
2827
2839
  Ye as isoDepth,
2828
2840
  ze as isometricBoxFaces,
2829
2841
  je as isometricFaces,
2830
2842
  Pt as linear,
2831
- Ns as loopBeats,
2832
- Es as loopEase,
2833
- Ds as loopNoise,
2834
- lo as mat4,
2843
+ Ys as loopBeats,
2844
+ Ls as loopEase,
2845
+ Fs as loopNoise,
2846
+ mo as mat4,
2835
2847
  Ze as maxStaggerDistance,
2836
- so as metaballContours,
2848
+ ao as metaballContours,
2837
2849
  Er as metaballField,
2838
2850
  Xn as morphPath,
2839
- ws as narrationMarkers,
2840
- ks as narrationSceneAt,
2851
+ As as narrationMarkers,
2852
+ Ss as narrationSceneAt,
2841
2853
  rn as naturalRest,
2842
- As as nearestBeat,
2843
- Ss as nextBeat,
2854
+ vs as nearestBeat,
2855
+ Ps as nextBeat,
2844
2856
  Mn as parametricEasing,
2845
2857
  Q as parsePath,
2846
- ro as penroseStairs,
2847
- no as penroseTriangle,
2858
+ oo as penroseStairs,
2859
+ so as penroseTriangle,
2848
2860
  K as phaseOf,
2849
2861
  Le as pingPong,
2850
- Ts as planNarration,
2862
+ ks as planNarration,
2851
2863
  ds as playheadCrossings,
2852
2864
  ye as pointAtDistance,
2853
- Bs as pointsToPath,
2854
- to as powSimilarity,
2865
+ qs as pointsToPath,
2866
+ no as powSimilarity,
2855
2867
  Nt as projectIsometric,
2856
2868
  us as quat,
2857
2869
  Re as randomBetween,
2858
2870
  ps as randomChoice,
2871
+ ys as randomNormal,
2859
2872
  mr as randomSnapped,
2860
2873
  gr as resolveSequence,
2861
2874
  De as resolveValue,
2862
- Ws as ribbon,
2863
- Qs as ribbonHeadCap,
2864
- Vs as safeAreas,
2865
- uo as scalePoints,
2875
+ Gs as ribbon,
2876
+ Ks as ribbonHeadCap,
2877
+ Hs as safeAreas,
2878
+ lo as scalePoints,
2866
2879
  lr as serializeTimeline,
2867
2880
  ur as serializeTrack,
2868
- Hs as shapeToPathData,
2869
- Ks as similarity,
2881
+ Ws as shapeToPathData,
2882
+ Ms as shuffled,
2883
+ Js as similarity,
2870
2884
  Rr as similarityAbout,
2871
2885
  Cr as similarityFixedPoint,
2872
- eo as similarityMatrix,
2886
+ ro as similarityMatrix,
2873
2887
  tr as simplifyKeyframes,
2874
2888
  es as springDuration,
2875
- Rs as springFollow,
2889
+ Es as springFollow,
2876
2890
  ts as springValueAt,
2877
- co as squashStretch,
2891
+ ho as squashStretch,
2878
2892
  le as staggerDistance,
2879
2893
  fe as staggerOffset,
2880
2894
  Je as staggerOffsets,
@@ -2884,10 +2898,10 @@ export {
2884
2898
  ms as toJSON,
2885
2899
  hs as toKeyframedTrack,
2886
2900
  ls as toKeyframedTracks,
2887
- Ls as torusNoise,
2901
+ Os as torusNoise,
2888
2902
  j as trackTargets,
2889
- qs as trailSamples,
2890
- $s as unknownName,
2891
- ho as vec3,
2892
- Cs as wobble
2903
+ Qs as trailSamples,
2904
+ Cs as unknownName,
2905
+ fo as vec3,
2906
+ Ds as wobble
2893
2907
  };