@shotstack/shotstack-studio 2.23.0 → 2.23.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.
@@ -37954,7 +37954,7 @@ function L0(t) {
37954
37954
  const e = wp.get(t);
37955
37955
  return e ? e.displayName : t;
37956
37956
  }
37957
- const LR = /^(#|0x)?(([a-f0-9]{3}){1,2}([a-f0-9]{2})?)$/i, ZR = /^(rgb|rgba|hsl|hsla)\(/i, UR = /^[a-z]+$/i;
37957
+ const LR = /^(#|0x)?([a-f0-9]{3}|[a-f0-9]{4}|[a-f0-9]{6}|[a-f0-9]{8})$/i, ZR = /^(rgb|rgba|hsl|hsla)\(/i, UR = /^[a-z]+$/i;
37958
37958
  function sa(t, e = "#ffffff") {
37959
37959
  if (typeof t != "string")
37960
37960
  return e;
@@ -45218,7 +45218,7 @@ class oU {
45218
45218
  const a = this.findOrphanedPlayers(i);
45219
45219
  for (const s of a)
45220
45220
  this.disposePlayer(s), n.disposed.push(s);
45221
- return (n.created.length > 0 || n.disposed.length > 0 || n.updated.length > 0) && this.rebuildTracksOrdering(e), this.syncTrackContainers(e.timeline.tracks.length), n;
45221
+ return (n.created.length > 0 || n.disposed.length > 0 || n.updated.length > 0) && this.rebuildTracksOrdering(e), this.syncTrackContainers(e.timeline.tracks.length), this.edit.updateTotalDuration(), n;
45222
45222
  } finally {
45223
45223
  this.isReconciling = !1;
45224
45224
  }