@shotstack/shotstack-studio 2.22.1 → 2.22.2

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.
@@ -226,7 +226,7 @@ class ha {
226
226
  return this.normaliseAdjacentBoundaries(i), this.validateKeyframes(i), this.insertFillerKeyframes(i, r, n);
227
227
  }
228
228
  createNormalizedKeyframes(e) {
229
- return e.filter((r) => typeof r.start == "number" && typeof r.length == "number").toSorted((r, n) => r.start - n.start).map((r) => ({
229
+ return e.filter((r) => typeof r.start == "number" && typeof r.length == "number").sort((r, n) => r.start - n.start).map((r) => ({
230
230
  start: r.start,
231
231
  length: r.length,
232
232
  from: typeof r.from == "number" ? r.from : 0,
@@ -14638,6 +14638,8 @@ var ZI = { gsap: `/*!
14638
14638
  var origGsapPause = origGsapTl && typeof origGsapTl.pause === "function" ? origGsapTl.pause.bind(origGsapTl) : null;
14639
14639
  var origGsapSeek = origGsapTl && typeof origGsapTl.seek === "function" ? origGsapTl.seek.bind(origGsapTl) : null;
14640
14640
  var origGsapGetChildren = origGsapTl && typeof origGsapTl.getChildren === "function" ? origGsapTl.getChildren.bind(origGsapTl) : null;
14641
+ // Capture may queue longer than an animation lasts; only the host advances its clock.
14642
+ if (origGsapPause) origGsapPause(0);
14641
14643
  var origLottieRegistered = window.lottie && typeof window.lottie.getRegisteredAnimations === "function" ? window.lottie.getRegisteredAnimations.bind(window.lottie) : null;
14642
14644
  var animeInstances = [];
14643
14645
 
@@ -14714,7 +14716,7 @@ ${HI(n)}
14714
14716
  </body>
14715
14717
  </html>`;
14716
14718
  }
14717
- var YI = "v2";
14719
+ var YI = "v3";
14718
14720
  async function qI(t) {
14719
14721
  const e = `${YI} ${t.html} ${t.css} ${t.js} ${t.width} ${t.height}`, r = new TextEncoder().encode(e), n = await crypto.subtle.digest("SHA-256", r);
14720
14722
  return Array.from(new Uint8Array(n)).map((i) => i.toString(16).padStart(2, "0")).join("");