@waveform-playlist/browser 9.3.0 → 9.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ import * as nh from "tone";
2
2
  import { now as Va, Context as rh, setContext as oh, Volume as Qo, getDestination as ea, getTransport as Wt, start as ah, getContext as Lt, Panner as Ds, Gain as Rs, PolySynth as io, Synth as sh, MembraneSynth as lo, NoiseSynth as ih, MetalSynth as bl, Part as wc, Analyser as _c, StereoWidener as lh, Gate as ch, Limiter as uh, Compressor as dh, Chebyshev as fh, BitCrusher as hh, Distortion as ph, EQ3 as mh, AutoWah as gh, AutoFilter as vh, AutoPanner as yh, Vibrato as bh, Tremolo as wh, Phaser as _h, Chorus as Sh, PingPongDelay as kh, FeedbackDelay as Ch, JCReverb as xh, Freeverb as Eh, Reverb as Ih } from "tone";
3
3
  import { jsx as k, jsxs as me, Fragment as zt } from "react/jsx-runtime";
4
4
  import * as P from "react";
5
- import at, { useEffect as K, useLayoutEffect as Nr, useRef as T, useMemo as Ce, useState as z, useCallback as $, useContext as Pe, createContext as We, memo as Sc, forwardRef as kc, startTransition as Ps, useImperativeHandle as Cc, useSyncExternalStore as Ah, Fragment as Mh, useInsertionEffect as Th } from "react";
5
+ import at, { useEffect as K, useLayoutEffect as Nr, useRef as T, useMemo as Ce, useState as z, useCallback as $, useContext as Pe, createContext as Ve, memo as Sc, forwardRef as kc, startTransition as Ps, useImperativeHandle as Cc, useSyncExternalStore as Ah, Fragment as Mh, useInsertionEffect as Th } from "react";
6
6
  import O, { ThemeContext as $h, withTheme as xc, useTheme as Dh, ThemeProvider as Ec } from "styled-components";
7
7
  import { flushSync as Rh, createPortal as Ic } from "react-dom";
8
8
  var ka = { exports: {} }, wl;
@@ -2947,7 +2947,7 @@ dt.prototype.U = function(e) {
2947
2947
  };
2948
2948
  dt.prototype.subscribe = function(e) {
2949
2949
  var t = this;
2950
- return Mt(function() {
2950
+ return Tt(function() {
2951
2951
  var n = t.value, r = we;
2952
2952
  we = void 0;
2953
2953
  try {
@@ -3110,7 +3110,7 @@ tr.prototype.d = function() {
3110
3110
  tr.prototype.dispose = function() {
3111
3111
  this.d();
3112
3112
  };
3113
- function Mt(e, t) {
3113
+ function Tt(e, t) {
3114
3114
  var n = new tr(e, t);
3115
3115
  try {
3116
3116
  n.c();
@@ -3212,7 +3212,7 @@ function xa(e = !0) {
3212
3212
  };
3213
3213
  }
3214
3214
  function Zr(...e) {
3215
- const t = e.map((n) => Mt(n));
3215
+ const t = e.map((n) => Tt(n));
3216
3216
  return () => t.forEach((n) => n());
3217
3217
  }
3218
3218
  var Hc, Gc, Uc, Xc, Yc, jc, lt, Ws, Ea, Xa, Ya, rt, Vs, Ia, Kc, ja, Ns, Aa, Ka, qa;
@@ -3480,13 +3480,13 @@ var au = /* @__PURE__ */ ((e) => (e.Horizontal = "x", e.Vertical = "y", e))(au |
3480
3480
  var s, i, l, c, u, f = t & 7, p = !!(t & 8), d = !!(t & 16), h = f > 3 ? e.length + 1 : f ? p ? 1 : 2 : 0, g = hu[f + 5], v = f > 3 && (e[h - 1] = []), m = e[h] || (e[h] = []), y = f && (!d && !p && (o = o.prototype), f < 5 && (f > 3 || !d) && Dp(f < 4 ? o : { get [n]() {
3481
3481
  return Je(this, a);
3482
3482
  }, set [n](b) {
3483
- return Et(this, a, b);
3483
+ return It(this, a, b);
3484
3484
  } }, n));
3485
3485
  f ? d && f < 4 && Ol(a, (f > 2 ? "set " : f > 1 ? "get " : "") + n) : Ol(o, n);
3486
3486
  for (var w = r.length - 1; w >= 0; w--)
3487
- c = Pp(f, n, l = {}, e[3], m), f && (c.static = p, c.private = d, u = c.access = { has: d ? (b) => Fp(o, b) : (b) => n in b }, f ^ 3 && (u.get = d ? (b) => (f ^ 1 ? Je : Op)(b, o, f ^ 4 ? a : y.get) : (b) => b[n]), f > 2 && (u.set = d ? (b, _) => Et(b, o, _, f ^ 4 ? a : y.set) : (b, _) => b[n] = _)), i = (0, r[w])(f ? f < 4 ? d ? a : y[g] : f > 4 ? void 0 : { get: y.get, set: y.set } : o, c), l._ = 1, f ^ 4 || i === void 0 ? gr(i) && (f > 4 ? v.unshift(i) : f ? d ? a = i : y[g] = i : o = i) : typeof i != "object" || i === null ? or("Object expected") : (gr(s = i.get) && (y.get = s), gr(s = i.set) && (y.set = s), gr(s = i.init) && v.unshift(s));
3487
+ c = Pp(f, n, l = {}, e[3], m), f && (c.static = p, c.private = d, u = c.access = { has: d ? (b) => Fp(o, b) : (b) => n in b }, f ^ 3 && (u.get = d ? (b) => (f ^ 1 ? Je : Op)(b, o, f ^ 4 ? a : y.get) : (b) => b[n]), f > 2 && (u.set = d ? (b, _) => It(b, o, _, f ^ 4 ? a : y.set) : (b, _) => b[n] = _)), i = (0, r[w])(f ? f < 4 ? d ? a : y[g] : f > 4 ? void 0 : { get: y.get, set: y.set } : o, c), l._ = 1, f ^ 4 || i === void 0 ? gr(i) && (f > 4 ? v.unshift(i) : f ? d ? a = i : y[g] = i : o = i) : typeof i != "object" || i === null ? or("Object expected") : (gr(s = i.get) && (y.get = s), gr(s = i.set) && (y.set = s), gr(s = i.init) && v.unshift(s));
3488
3488
  return f || In(e, o), y && zs(o, n, y), d ? f ^ 4 ? a : y : o;
3489
- }, Zs = (e, t, n) => t.has(e) || or("Cannot " + n), Fp = (e, t) => Object(t) !== t ? or('Cannot use the "in" operator on this value') : e.has(t), Je = (e, t, n) => (Zs(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Se = (e, t, n) => t.has(e) ? or("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Et = (e, t, n, r) => (Zs(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), Op = (e, t, n) => (Zs(e, t, "access private method"), n);
3489
+ }, Zs = (e, t, n) => t.has(e) || or("Cannot " + n), Fp = (e, t) => Object(t) !== t ? or('Cannot use the "in" operator on this value') : e.has(t), Je = (e, t, n) => (Zs(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Se = (e, t, n) => t.has(e) ? or("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), It = (e, t, n, r) => (Zs(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), Op = (e, t, n) => (Zs(e, t, "access private method"), n);
3490
3490
  function pu(e, t) {
3491
3491
  return {
3492
3492
  plugin: e,
@@ -3557,7 +3557,7 @@ var mt = class {
3557
3557
  * @returns A function to dispose of the effect
3558
3558
  */
3559
3559
  registerEffect(e) {
3560
- const t = Mt(e.bind(this));
3560
+ const t = Tt(e.bind(this));
3561
3561
  return Je(this, _o).add(t), t;
3562
3562
  }
3563
3563
  /**
@@ -3628,7 +3628,7 @@ var Ur = class extends mt {
3628
3628
  }
3629
3629
  for (const { plugin: r, options: o } of t)
3630
3630
  this.register(r, o);
3631
- Et(this, So, n);
3631
+ It(this, So, n);
3632
3632
  }
3633
3633
  /**
3634
3634
  * Gets a plugin instance by its constructor.
@@ -3694,17 +3694,17 @@ var ho = [], Wn, Vn, Bp = class extends mt {
3694
3694
  * @param manager - The drag drop manager instance
3695
3695
  */
3696
3696
  constructor(e) {
3697
- super(e), Se(this, Wn), Se(this, Vn), this.computeCollisions = this.computeCollisions.bind(this), Et(this, Vn, zr(ho)), this.destroy = Zr(
3697
+ super(e), Se(this, Wn), Se(this, Vn), this.computeCollisions = this.computeCollisions.bind(this), It(this, Vn, zr(ho)), this.destroy = Zr(
3698
3698
  () => {
3699
3699
  const t = this.computeCollisions(), n = ke(
3700
3700
  () => this.manager.dragOperation.position.current
3701
3701
  );
3702
3702
  if (t !== ho) {
3703
3703
  const r = Je(this, Wn);
3704
- if (Et(this, Wn, n), r && n.x == r.x && n.y == r.y)
3704
+ if (It(this, Wn, n), r && n.x == r.x && n.y == r.y)
3705
3705
  return;
3706
3706
  } else
3707
- Et(this, Wn, void 0);
3707
+ It(this, Wn, void 0);
3708
3708
  Je(this, Vn).value = t;
3709
3709
  },
3710
3710
  () => {
@@ -3720,7 +3720,7 @@ var ho = [], Wn, Vn, Bp = class extends mt {
3720
3720
  */
3721
3721
  forceUpdate(e = !0) {
3722
3722
  ke(() => {
3723
- e ? Je(this, Vn).value = this.computeCollisions() : Et(this, Wn, void 0);
3723
+ e ? Je(this, Vn).value = this.computeCollisions() : It(this, Wn, void 0);
3724
3724
  });
3725
3725
  }
3726
3726
  /**
@@ -3860,17 +3860,17 @@ var Np = class extends Ur {
3860
3860
  }
3861
3861
  );
3862
3862
  }
3863
- }, Us = /* @__PURE__ */ ((e) => (e[e.Lowest = 0] = "Lowest", e[e.Low = 1] = "Low", e[e.Normal = 2] = "Normal", e[e.High = 3] = "High", e[e.Highest = 4] = "Highest", e))(Us || {}), Xs = /* @__PURE__ */ ((e) => (e[e.Collision = 0] = "Collision", e[e.ShapeIntersection = 1] = "ShapeIntersection", e[e.PointerIntersection = 2] = "PointerIntersection", e))(Xs || {}), gu, vu, yu, bu, wu, _u, Su, At, Ys;
3863
+ }, Us = /* @__PURE__ */ ((e) => (e[e.Lowest = 0] = "Lowest", e[e.Low = 1] = "Low", e[e.Normal = 2] = "Normal", e[e.High = 3] = "High", e[e.Highest = 4] = "Highest", e))(Us || {}), Xs = /* @__PURE__ */ ((e) => (e[e.Collision = 0] = "Collision", e[e.ShapeIntersection = 1] = "ShapeIntersection", e[e.PointerIntersection = 2] = "PointerIntersection", e))(Xs || {}), gu, vu, yu, bu, wu, _u, Su, Mt, Ys;
3864
3864
  Su = [ge], _u = [Re], wu = [Re], bu = [Re], yu = [Re], vu = [Re], gu = [Re];
3865
3865
  var Kt = class {
3866
3866
  constructor() {
3867
- se(At, 5, this), Se(this, Ys, se(
3868
- At,
3867
+ se(Mt, 5, this), Se(this, Ys, se(
3868
+ Mt,
3869
3869
  8,
3870
3870
  this,
3871
3871
  "idle"
3872
3872
  /* Idle */
3873
- )), se(At, 11, this);
3873
+ )), se(Mt, 11, this);
3874
3874
  }
3875
3875
  get current() {
3876
3876
  return this.value;
@@ -3900,16 +3900,16 @@ var Kt = class {
3900
3900
  this.value = e;
3901
3901
  }
3902
3902
  };
3903
- At = ar(null);
3903
+ Mt = ar(null);
3904
3904
  Ys = /* @__PURE__ */ new WeakMap();
3905
- de(At, 4, "value", Su, Kt, Ys);
3906
- de(At, 2, "current", _u, Kt);
3907
- de(At, 2, "idle", wu, Kt);
3908
- de(At, 2, "initializing", bu, Kt);
3909
- de(At, 2, "initialized", yu, Kt);
3910
- de(At, 2, "dragging", vu, Kt);
3911
- de(At, 2, "dropped", gu, Kt);
3912
- In(At, Kt);
3905
+ de(Mt, 4, "value", Su, Kt, Ys);
3906
+ de(Mt, 2, "current", _u, Kt);
3907
+ de(Mt, 2, "idle", wu, Kt);
3908
+ de(Mt, 2, "initializing", bu, Kt);
3909
+ de(Mt, 2, "initialized", yu, Kt);
3910
+ de(Mt, 2, "dragging", vu, Kt);
3911
+ de(Mt, 2, "dropped", gu, Kt);
3912
+ In(Mt, Kt);
3913
3913
  var zp = class {
3914
3914
  /**
3915
3915
  * Creates a new instance of drag actions.
@@ -4074,7 +4074,7 @@ var zp = class {
4074
4074
  r.controller === o && (r.controller = void 0), r.reset();
4075
4075
  };
4076
4076
  if (l) {
4077
- const { source: u } = r, f = Mt(() => {
4077
+ const { source: u } = r, f = Tt(() => {
4078
4078
  u?.status === "idle" && (f(), c());
4079
4079
  });
4080
4080
  } else
@@ -4304,7 +4304,7 @@ var Yn = class extends mt {
4304
4304
  this.options = e, Se(this, Co);
4305
4305
  }
4306
4306
  set controller(e) {
4307
- Et(this, Co, e), e.signal.addEventListener("abort", () => this.abort());
4307
+ It(this, Co, e), e.signal.addEventListener("abort", () => this.abort());
4308
4308
  }
4309
4309
  /**
4310
4310
  * Called when the activation is triggered.
@@ -4384,7 +4384,7 @@ var jn = class extends mt {
4384
4384
  destroy() {
4385
4385
  this.draggables.destroy(), this.droppables.destroy(), this.plugins.destroy(), this.sensors.destroy(), this.modifiers.destroy();
4386
4386
  }
4387
- }, Vu, Nu, zu, Zu, Hu, Gu, Uu, Xu, Yu, vr, xo, Nn, Le, ii, li, ci, ui, di, yr;
4387
+ }, Vu, Nu, zu, Zu, Hu, Gu, Uu, Xu, Yu, vr, xo, Nn, Be, ii, li, ci, ui, di, yr;
4388
4388
  Yu = [Re], Xu = [ge], Uu = [ge], Gu = [ge], Hu = [ge], Zu = [ge], zu = [Re], Nu = [Re], Vu = [Re];
4389
4389
  var Bt = class {
4390
4390
  /**
@@ -4393,10 +4393,10 @@ var Bt = class {
4393
4393
  * @param manager - The drag and drop manager that owns this operation
4394
4394
  */
4395
4395
  constructor(e) {
4396
- se(Le, 5, this), Se(this, vr), Se(this, xo), Se(this, Nn, new un(
4396
+ se(Be, 5, this), Se(this, vr), Se(this, xo), Se(this, Nn, new un(
4397
4397
  void 0,
4398
4398
  (t, n) => t && n ? t.equals(n) : t === n
4399
- )), this.status = new Kt(), Se(this, ii, se(Le, 8, this, !1)), se(Le, 11, this), Se(this, li, se(Le, 12, this, null)), se(Le, 15, this), Se(this, ci, se(Le, 16, this, null)), se(Le, 19, this), Se(this, ui, se(Le, 20, this, null)), se(Le, 23, this), Se(this, di, se(Le, 24, this, [])), se(Le, 27, this), this.position = new oa({ x: 0, y: 0 }), Se(this, yr, { x: 0, y: 0 }), Et(this, vr, e);
4399
+ )), this.status = new Kt(), Se(this, ii, se(Be, 8, this, !1)), se(Be, 11, this), Se(this, li, se(Be, 12, this, null)), se(Be, 15, this), Se(this, ci, se(Be, 16, this, null)), se(Be, 19, this), Se(this, ui, se(Be, 20, this, null)), se(Be, 23, this), Se(this, di, se(Be, 24, this, [])), se(Be, 27, this), this.position = new oa({ x: 0, y: 0 }), Se(this, yr, { x: 0, y: 0 }), It(this, vr, e);
4400
4400
  }
4401
4401
  get shape() {
4402
4402
  const { current: e, initial: t, previous: n } = Je(this, Nn);
@@ -4415,7 +4415,7 @@ var Bt = class {
4415
4415
  const t = this.sourceIdentifier;
4416
4416
  if (t == null) return null;
4417
4417
  const n = Je(this, vr).registry.draggables.get(t);
4418
- return n && Et(this, xo, n), (e = n ?? Je(this, xo)) != null ? e : null;
4418
+ return n && It(this, xo, n), (e = n ?? Je(this, xo)) != null ? e : null;
4419
4419
  }
4420
4420
  get target() {
4421
4421
  var e;
@@ -4429,7 +4429,7 @@ var Bt = class {
4429
4429
  n = r.apply(du(uu({}, this.snapshot()), {
4430
4430
  transform: n
4431
4431
  }));
4432
- return Et(this, yr, n), n;
4432
+ return It(this, yr, n), n;
4433
4433
  }
4434
4434
  /**
4435
4435
  * Creates a snapshot of the current drag operation state.
@@ -4464,11 +4464,11 @@ var Bt = class {
4464
4464
  this.status.set(
4465
4465
  "idle"
4466
4466
  /* Idle */
4467
- ), this.sourceIdentifier = null, this.targetIdentifier = null, Je(this, Nn).reset(), this.position.reset({ x: 0, y: 0 }), Et(this, yr, { x: 0, y: 0 }), this.modifiers = [];
4467
+ ), this.sourceIdentifier = null, this.targetIdentifier = null, Je(this, Nn).reset(), this.position.reset({ x: 0, y: 0 }), It(this, yr, { x: 0, y: 0 }), this.modifiers = [];
4468
4468
  });
4469
4469
  }
4470
4470
  };
4471
- Le = ar(null);
4471
+ Be = ar(null);
4472
4472
  vr = /* @__PURE__ */ new WeakMap();
4473
4473
  xo = /* @__PURE__ */ new WeakMap();
4474
4474
  Nn = /* @__PURE__ */ new WeakMap();
@@ -4478,16 +4478,16 @@ ci = /* @__PURE__ */ new WeakMap();
4478
4478
  ui = /* @__PURE__ */ new WeakMap();
4479
4479
  di = /* @__PURE__ */ new WeakMap();
4480
4480
  yr = /* @__PURE__ */ new WeakMap();
4481
- de(Le, 2, "shape", Yu, Bt);
4482
- de(Le, 4, "canceled", Xu, Bt, ii);
4483
- de(Le, 4, "activatorEvent", Uu, Bt, li);
4484
- de(Le, 4, "sourceIdentifier", Gu, Bt, ci);
4485
- de(Le, 4, "targetIdentifier", Hu, Bt, ui);
4486
- de(Le, 4, "modifiers", Zu, Bt, di);
4487
- de(Le, 2, "source", zu, Bt);
4488
- de(Le, 2, "target", Nu, Bt);
4489
- de(Le, 2, "transform", Vu, Bt);
4490
- In(Le, Bt);
4481
+ de(Be, 2, "shape", Yu, Bt);
4482
+ de(Be, 4, "canceled", Xu, Bt, ii);
4483
+ de(Be, 4, "activatorEvent", Uu, Bt, li);
4484
+ de(Be, 4, "sourceIdentifier", Gu, Bt, ci);
4485
+ de(Be, 4, "targetIdentifier", Hu, Bt, ui);
4486
+ de(Be, 4, "modifiers", Zu, Bt, di);
4487
+ de(Be, 2, "source", zu, Bt);
4488
+ de(Be, 2, "target", Nu, Bt);
4489
+ de(Be, 2, "transform", Vu, Bt);
4490
+ In(Be, Bt);
4491
4491
  var Gp = {
4492
4492
  get rendering() {
4493
4493
  return Promise.resolve();
@@ -4600,26 +4600,26 @@ function hi(e) {
4600
4600
  function Xr(e) {
4601
4601
  return "nodeType" in e;
4602
4602
  }
4603
- function Tt(e) {
4603
+ function $t(e) {
4604
4604
  var t, n, r;
4605
4605
  return e ? hi(e) ? e : Xr(e) ? "defaultView" in e ? (t = e.defaultView) != null ? t : window : (r = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? r : window : window : window;
4606
4606
  }
4607
4607
  function pi(e) {
4608
- const { Document: t } = Tt(e);
4608
+ const { Document: t } = $t(e);
4609
4609
  return e instanceof t || "nodeType" in e && e.nodeType === Node.DOCUMENT_NODE;
4610
4610
  }
4611
4611
  function kn(e) {
4612
- return !e || hi(e) ? !1 : e instanceof Tt(e).HTMLElement || "namespaceURI" in e && typeof e.namespaceURI == "string" && e.namespaceURI.endsWith("html");
4612
+ return !e || hi(e) ? !1 : e instanceof $t(e).HTMLElement || "namespaceURI" in e && typeof e.namespaceURI == "string" && e.namespaceURI.endsWith("html");
4613
4613
  }
4614
4614
  function qu(e) {
4615
- return e instanceof Tt(e).SVGElement || "namespaceURI" in e && typeof e.namespaceURI == "string" && e.namespaceURI.endsWith("svg");
4615
+ return e instanceof $t(e).SVGElement || "namespaceURI" in e && typeof e.namespaceURI == "string" && e.namespaceURI.endsWith("svg");
4616
4616
  }
4617
4617
  function Mn(e) {
4618
4618
  return e ? hi(e) ? e.document : Xr(e) ? pi(e) ? e : kn(e) || qu(e) ? e.ownerDocument : document : document : document;
4619
4619
  }
4620
4620
  function Yp(e) {
4621
4621
  var t, n, r, o;
4622
- const { documentElement: a } = Mn(e), s = Tt(e).visualViewport, i = (t = s?.width) != null ? t : a.clientWidth, l = (n = s?.height) != null ? n : a.clientHeight, c = (r = s?.offsetTop) != null ? r : 0, u = (o = s?.offsetLeft) != null ? o : 0;
4622
+ const { documentElement: a } = Mn(e), s = $t(e).visualViewport, i = (t = s?.width) != null ? t : a.clientWidth, l = (n = s?.height) != null ? n : a.clientHeight, c = (r = s?.offsetTop) != null ? r : 0, u = (o = s?.offsetLeft) != null ? o : 0;
4623
4623
  return {
4624
4624
  top: c,
4625
4625
  left: u,
@@ -4718,7 +4718,7 @@ function Qu() {
4718
4718
  };
4719
4719
  }
4720
4720
  function gi(e) {
4721
- return !e || !Xr(e) ? !1 : e instanceof Tt(e).ShadowRoot;
4721
+ return !e || !Xr(e) ? !1 : e instanceof $t(e).ShadowRoot;
4722
4722
  }
4723
4723
  function Lo(e) {
4724
4724
  if (e && Xr(e)) {
@@ -5004,7 +5004,7 @@ function zl(e) {
5004
5004
  }
5005
5005
  function ld(e) {
5006
5006
  var t, n;
5007
- const r = Tt(e), o = zl(e) ? Yp(e) : sa(e), a = r.visualViewport, s = zl(e) ? {
5007
+ const r = $t(e), o = zl(e) ? Yp(e) : sa(e), a = r.visualViewport, s = zl(e) ? {
5008
5008
  height: (t = a?.height) != null ? t : r.innerHeight,
5009
5009
  width: (n = a?.width) != null ? n : r.innerWidth
5010
5010
  } : {
@@ -5063,7 +5063,7 @@ function qt(e, t = !1) {
5063
5063
  return n || (n = Zl(e), No.set(e, n), dm.schedule(fm), n);
5064
5064
  }
5065
5065
  function Zl(e) {
5066
- return Tt(e).getComputedStyle(e);
5066
+ return $t(e).getComputedStyle(e);
5067
5067
  }
5068
5068
  function hm(e, t = qt(e, !0)) {
5069
5069
  return t.position === "fixed" || t.position === "sticky";
@@ -5199,7 +5199,7 @@ function bm(e) {
5199
5199
  }
5200
5200
  return null;
5201
5201
  }
5202
- var It = /* @__PURE__ */ ((e) => (e[e.Idle = 0] = "Idle", e[e.Forward = 1] = "Forward", e[e.Reverse = -1] = "Reverse", e))(It || {}), wm = {
5202
+ var At = /* @__PURE__ */ ((e) => (e[e.Idle = 0] = "Idle", e[e.Forward = 1] = "Forward", e[e.Reverse = -1] = "Reverse", e))(At || {}), wm = {
5203
5203
  x: 0.2,
5204
5204
  y: 0.2
5205
5205
  }, _m = {
@@ -5412,16 +5412,16 @@ var Rm = class {
5412
5412
  }
5413
5413
  };
5414
5414
  function Cn(e) {
5415
- return e ? e instanceof Tt(e).Element || Xr(e) && e.nodeType === Node.ELEMENT_NODE : !1;
5415
+ return e ? e instanceof $t(e).Element || Xr(e) && e.nodeType === Node.ELEMENT_NODE : !1;
5416
5416
  }
5417
5417
  function wi(e) {
5418
5418
  if (!e) return !1;
5419
- const { KeyboardEvent: t } = Tt(e.target);
5419
+ const { KeyboardEvent: t } = $t(e.target);
5420
5420
  return e instanceof t;
5421
5421
  }
5422
5422
  function Pm(e) {
5423
5423
  if (!e) return !1;
5424
- const { PointerEvent: t } = Tt(e.target);
5424
+ const { PointerEvent: t } = $t(e.target);
5425
5425
  return e instanceof t;
5426
5426
  }
5427
5427
  function Fm(e) {
@@ -5511,7 +5511,7 @@ var Lm = ({
5511
5511
  for (var w = r.length - 1; w >= 0; w--)
5512
5512
  c = Hm(f, n, l = {}, e[3], m), f && (c.static = p, c.private = d, u = c.access = { has: d ? (b) => Gm(o, b) : (b) => n in b }, f ^ 3 && (u.get = d ? (b) => (f ^ 1 ? Ie : xn)(b, o, f ^ 4 ? a : y.get) : (b) => b[n]), f > 2 && (u.set = d ? (b, _) => ut(b, o, _, f ^ 4 ? a : y.set) : (b, _) => b[n] = _)), i = (0, r[w])(f ? f < 4 ? d ? a : y[g] : f > 4 ? void 0 : { get: y.get, set: y.set } : o, c), l._ = 1, f ^ 4 || i === void 0 ? kr(i) && (f > 4 ? v.unshift(i) : f ? d ? a = i : y[g] = i : o = i) : typeof i != "object" || i === null ? sr("Object expected") : (kr(s = i.get) && (y.get = s), kr(s = i.set) && (y.set = s), kr(s = i.init) && v.unshift(s));
5513
5513
  return f || Tn(e, o), y && _i(o, n, y), d ? f ^ 4 ? a : y : o;
5514
- }, ki = (e, t, n) => t.has(e) || sr("Cannot " + n), Gm = (e, t) => Object(t) !== t ? sr('Cannot use the "in" operator on this value') : e.has(t), Ie = (e, t, n) => (ki(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Be = (e, t, n) => t.has(e) ? sr("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), ut = (e, t, n, r) => (ki(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), xn = (e, t, n) => (ki(e, t, "access private method"), n), Gl = {
5514
+ }, ki = (e, t, n) => t.has(e) || sr("Cannot " + n), Gm = (e, t) => Object(t) !== t ? sr('Cannot use the "in" operator on this value') : e.has(t), Ie = (e, t, n) => (ki(e, t, "read from private field"), n ? n.call(e) : t.get(e)), We = (e, t, n) => t.has(e) ? sr("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), ut = (e, t, n, r) => (ki(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), xn = (e, t, n) => (ki(e, t, "access private method"), n), Gl = {
5515
5515
  role: "button",
5516
5516
  roleDescription: "draggable"
5517
5517
  }, Um = "dnd-kit-description", Xm = "dnd-kit-announcement", Ym = {
@@ -5630,7 +5630,7 @@ var ng = class extends mt {
5630
5630
  return Mn((r = this.manager.dragOperation.source) == null ? void 0 : r.element);
5631
5631
  }
5632
5632
  );
5633
- this.destroy = Mt(() => {
5633
+ this.destroy = Tt(() => {
5634
5634
  var r;
5635
5635
  const { dragOperation: o } = this.manager, { cursor: a = "grabbing", nonce: s } = (r = this.options) != null ? r : {};
5636
5636
  if (o.status.initialized) {
@@ -5641,7 +5641,7 @@ var ng = class extends mt {
5641
5641
  }
5642
5642
  }, Zo = /* @__PURE__ */ new Map(), pd, md, gd, vd, ds, Tr, jt, Ci, Qn, yd, bd, wd, _d, $n = class extends (ds = Ur, vd = [ge], gd = [Re], md = [Re], pd = [Re], ds) {
5643
5643
  constructor(e) {
5644
- super(e), He(jt, 5, this), Be(this, Qn), Be(this, Tr, /* @__PURE__ */ new Set()), Be(this, Ci, He(jt, 8, this, /* @__PURE__ */ new Set())), He(jt, 11, this), this.registerEffect(xn(this, Qn, yd));
5644
+ super(e), He(jt, 5, this), We(this, Qn), We(this, Tr, /* @__PURE__ */ new Set()), We(this, Ci, He(jt, 8, this, /* @__PURE__ */ new Set())), He(jt, 11, this), this.registerEffect(xn(this, Qn, yd));
5645
5645
  }
5646
5646
  /**
5647
5647
  * Registers CSS rules to be injected into the active drag operation's
@@ -6020,7 +6020,7 @@ function mg(e) {
6020
6020
  ]
6021
6021
  }),
6022
6022
  options: {
6023
- duration: ed(Tt(e.feedbackElement)) ? 0 : e.moved || e.feedbackElement !== e.element ? s : 0,
6023
+ duration: ed($t(e.feedbackElement)) ? 0 : e.moved || e.feedbackElement !== e.element ? s : 0,
6024
6024
  easing: i
6025
6025
  }
6026
6026
  }).then(() => {
@@ -6029,7 +6029,7 @@ function mg(e) {
6029
6029
  }
6030
6030
  var kd, ps, Lr, xi, Ao, Cd, xd, Br = class extends (ps = mt, kd = [ge], ps) {
6031
6031
  constructor(t, n) {
6032
- super(t, n), Be(this, Ao), Be(this, xi, He(Lr, 8, this)), He(Lr, 11, this), this.state = {
6032
+ super(t, n), We(this, Ao), We(this, xi, He(Lr, 8, this)), He(Lr, 11, this), this.state = {
6033
6033
  initial: {},
6034
6034
  current: {}
6035
6035
  };
@@ -6124,14 +6124,14 @@ xd = function() {
6124
6124
  top: _ + G.y
6125
6125
  };
6126
6126
  d.setAttribute(Vt, "true");
6127
- const Me = ke(() => s.transform), B = (t = p.translate) != null ? t : { x: 0, y: 0 }, Fe = Me.x * h.scaleX + B.x, st = Me.y * h.scaleY + B.y, Ge = Qu();
6127
+ const Me = ke(() => s.transform), B = (t = p.translate) != null ? t : { x: 0, y: 0 }, Oe = Me.x * h.scaleX + B.x, st = Me.y * h.scaleY + B.y, Ge = Qu();
6128
6128
  C.set(
6129
6129
  {
6130
6130
  width: w - X,
6131
6131
  height: b - ee,
6132
6132
  top: te.top + Ge.y,
6133
6133
  left: te.left + Ge.x,
6134
- translate: `${Fe}px ${st}px 0`,
6134
+ translate: `${Oe}px ${st}px 0`,
6135
6135
  transition: E ? `${E}, translate 0ms linear` : "",
6136
6136
  scale: v ? `${y.x} ${y.y}` : "",
6137
6137
  "transform-origin": `${he.x * 100}% ${he.y * 100}%`
@@ -6161,7 +6161,7 @@ xd = function() {
6161
6161
  }
6162
6162
  }), xe = new Yt(d);
6163
6163
  ke(() => s.shape = xe);
6164
- const Ne = Tt(d), Ue = (le) => {
6164
+ const Ne = $t(d), Ue = (le) => {
6165
6165
  this.manager.actions.stop({ event: le });
6166
6166
  }, tt = ed(Ne);
6167
6167
  fe && Ne.addEventListener("resize", Ue), ke(() => l.status) === "idle" && requestAnimationFrame(() => l.status = "dragging"), ie && (ft.observe(ie), ve = ug(
@@ -6261,16 +6261,16 @@ St(Lr, 4, "overlay", kd, Br, xi);
6261
6261
  Tn(Lr, Br);
6262
6262
  Br.configure = An(Br);
6263
6263
  var ms = Br, ur = !0, gg = !1, Ed, Id, Ad, Md, on, Ei, Ii;
6264
- Md = (Ad = [ge], It.Forward), Id = (Ed = [ge], It.Reverse);
6264
+ Md = (Ad = [ge], At.Forward), Id = (Ed = [ge], At.Reverse);
6265
6265
  var Wr = class {
6266
6266
  constructor() {
6267
- Be(this, Ei, He(on, 8, this, ur)), He(on, 11, this), Be(this, Ii, He(on, 12, this, ur)), He(on, 15, this);
6267
+ We(this, Ei, He(on, 8, this, ur)), He(on, 11, this), We(this, Ii, He(on, 12, this, ur)), He(on, 15, this);
6268
6268
  }
6269
6269
  isLocked(e) {
6270
- return e === It.Idle ? !1 : e == null ? this[It.Forward] === ur && this[It.Reverse] === ur : this[e] === ur;
6270
+ return e === At.Idle ? !1 : e == null ? this[At.Forward] === ur && this[At.Reverse] === ur : this[e] === ur;
6271
6271
  }
6272
6272
  unlock(e) {
6273
- e !== It.Idle && (this[e] = gg);
6273
+ e !== At.Idle && (this[e] = gg);
6274
6274
  }
6275
6275
  };
6276
6276
  on = ir(null);
@@ -6279,7 +6279,7 @@ Ii = /* @__PURE__ */ new WeakMap();
6279
6279
  St(on, 4, Md, Ad, Wr, Ei);
6280
6280
  St(on, 4, Id, Ed, Wr, Ii);
6281
6281
  Tn(on, Wr);
6282
- var vg = [It.Forward, It.Reverse], Xl = class {
6282
+ var vg = [At.Forward, At.Reverse], Xl = class {
6283
6283
  constructor() {
6284
6284
  this.x = new Wr(), this.y = new Wr();
6285
6285
  }
@@ -6291,7 +6291,7 @@ var vg = [It.Forward, It.Reverse], Xl = class {
6291
6291
  super(e);
6292
6292
  const t = zr(new Xl());
6293
6293
  let n = null;
6294
- this.signal = t, Mt(() => {
6294
+ this.signal = t, Tt(() => {
6295
6295
  const { status: r } = e.dragOperation;
6296
6296
  if (!r.initialized) {
6297
6297
  n = null, t.value = new Xl();
@@ -6322,7 +6322,7 @@ function Yl(e, t) {
6322
6322
  }
6323
6323
  var Td, gs, Vr, Ai, nn, vs, ia = class extends (gs = Ur, Td = [ge], gs) {
6324
6324
  constructor(e) {
6325
- super(e), Be(this, Ai, He(Vr, 8, this, !1)), He(Vr, 11, this), Be(this, nn), Be(this, vs, () => {
6325
+ super(e), We(this, Ai, He(Vr, 8, this, !1)), He(Vr, 11, this), We(this, nn), We(this, vs, () => {
6326
6326
  if (!Ie(this, nn))
6327
6327
  return;
6328
6328
  const { element: a, by: s } = Ie(this, nn);
@@ -6414,7 +6414,7 @@ vs = /* @__PURE__ */ new WeakMap();
6414
6414
  St(Vr, 4, "autoScrolling", Td, ia, Ai);
6415
6415
  Tn(Vr, ia);
6416
6416
  function jl(e) {
6417
- return e > 0 ? It.Forward : e < 0 ? It.Reverse : It.Idle;
6417
+ return e > 0 ? At.Forward : e < 0 ? At.Reverse : At.Idle;
6418
6418
  }
6419
6419
  var bg = class {
6420
6420
  constructor(e) {
@@ -6438,7 +6438,7 @@ var bg = class {
6438
6438
  const n = e.registry.plugins.get(ia);
6439
6439
  if (!n)
6440
6440
  throw new Error("AutoScroller plugin depends on Scroller plugin");
6441
- this.destroy = Mt(() => {
6441
+ this.destroy = Tt(() => {
6442
6442
  if (this.disabled)
6443
6443
  return;
6444
6444
  const { position: r, status: o } = e.dragOperation;
@@ -6461,13 +6461,13 @@ var bg = class {
6461
6461
  passive: !0
6462
6462
  }, Cr, Sg = class extends Ur {
6463
6463
  constructor(e) {
6464
- super(e), Be(this, Cr), this.handleScroll = () => {
6464
+ super(e), We(this, Cr), this.handleScroll = () => {
6465
6465
  Ie(this, Cr) == null && ut(this, Cr, setTimeout(() => {
6466
6466
  this.manager.collisionObserver.forceUpdate(!1), ut(this, Cr, void 0);
6467
6467
  }, 50));
6468
6468
  };
6469
6469
  const { dragOperation: t } = this.manager;
6470
- this.destroy = Mt(() => {
6470
+ this.destroy = Tt(() => {
6471
6471
  var n, r, o;
6472
6472
  if (t.status.dragging) {
6473
6473
  const s = (o = (r = (n = t.source) == null ? void 0 : n.element) == null ? void 0 : r.ownerDocument) != null ? o : document;
@@ -6485,7 +6485,7 @@ var bg = class {
6485
6485
  Cr = /* @__PURE__ */ new WeakMap();
6486
6486
  var kg = class extends mt {
6487
6487
  constructor(e, t) {
6488
- super(e, t), this.manager = e, this.destroy = Mt(() => {
6488
+ super(e, t), this.manager = e, this.destroy = Tt(() => {
6489
6489
  var n;
6490
6490
  const { dragOperation: r } = this.manager, { nonce: o } = (n = this.options) != null ? n : {};
6491
6491
  if (r.status.initialized) {
@@ -6523,7 +6523,7 @@ var xr = Object.freeze({
6523
6523
  }
6524
6524
  }), zn, Go = class extends Yn {
6525
6525
  constructor(t, n) {
6526
- super(t), this.manager = t, this.options = n, Be(this, zn, []), this.listeners = new nd(), this.handleSourceKeyDown = (r, o, a) => {
6526
+ super(t), this.manager = t, this.options = n, We(this, zn, []), this.listeners = new nd(), this.handleSourceKeyDown = (r, o, a) => {
6527
6527
  if (this.disabled || r.defaultPrevented || !Cn(r.target) || o.disabled)
6528
6528
  return;
6529
6529
  const {
@@ -6534,7 +6534,7 @@ var xr = Object.freeze({
6534
6534
  };
6535
6535
  }
6536
6536
  bind(t, n = this.options) {
6537
- return Mt(() => {
6537
+ return Tt(() => {
6538
6538
  var o;
6539
6539
  const a = (o = t.handle) != null ? o : t.element, s = (i) => {
6540
6540
  wi(i) && this.handleSourceKeyDown(i, t, n);
@@ -6637,7 +6637,7 @@ function On(e, t) {
6637
6637
  }
6638
6638
  var wn, xg = class extends Wu {
6639
6639
  constructor() {
6640
- super(...arguments), Be(this, wn);
6640
+ super(...arguments), We(this, wn);
6641
6641
  }
6642
6642
  onEvent(e) {
6643
6643
  switch (e.type) {
@@ -6668,7 +6668,7 @@ var wn, xg = class extends Wu {
6668
6668
  wn = /* @__PURE__ */ new WeakMap();
6669
6669
  var Zn, _n, Eg = class extends Wu {
6670
6670
  constructor() {
6671
- super(...arguments), Be(this, Zn), Be(this, _n);
6671
+ super(...arguments), We(this, Zn), We(this, _n);
6672
6672
  }
6673
6673
  onEvent(e) {
6674
6674
  switch (e.type) {
@@ -6722,7 +6722,7 @@ var ys = Object.freeze({
6722
6722
  }
6723
6723
  }), Hn, Uo = class extends Yn {
6724
6724
  constructor(t, n) {
6725
- super(t), this.manager = t, this.options = n, Be(this, Hn, /* @__PURE__ */ new Set()), this.listeners = new nd(), this.latest = {
6725
+ super(t), this.manager = t, this.options = n, We(this, Hn, /* @__PURE__ */ new Set()), this.listeners = new nd(), this.latest = {
6726
6726
  event: void 0,
6727
6727
  coordinates: void 0
6728
6728
  }, this.handleMove = () => {
@@ -6735,7 +6735,7 @@ var ys = Object.freeze({
6735
6735
  return typeof o == "function" ? o(t, n) : o;
6736
6736
  }
6737
6737
  bind(t, n = this.options) {
6738
- return Mt(() => {
6738
+ return Tt(() => {
6739
6739
  var o;
6740
6740
  const a = new AbortController(), { signal: s } = a, i = (c) => {
6741
6741
  Pm(c) && this.handlePointerDown(c, t, n);
@@ -6934,7 +6934,7 @@ var Un = {
6934
6934
  ]
6935
6935
  }, i),
6936
6936
  t
6937
- ), Be(this, Ti, He(Ot, 8, this)), He(Ot, 11, this), Be(this, $i, He(Ot, 12, this)), He(Ot, 15, this), Be(this, Di, He(Ot, 16, this)), He(Ot, 19, this), this.element = r, this.handle = a, this.feedback = s;
6937
+ ), We(this, Ti, He(Ot, 8, this)), He(Ot, 11, this), We(this, $i, He(Ot, 12, this)), He(Ot, 15, this), We(this, Di, He(Ot, 16, this)), He(Ot, 19, this), this.element = r, this.handle = a, this.feedback = s;
6938
6938
  }
6939
6939
  };
6940
6940
  Ot = ir(ws);
@@ -6991,7 +6991,7 @@ var Fd, Od, _s, an, Ri, Ra, Ld, Bd, $r, Pi, Wd = class extends (_s = Ht, Od = [g
6991
6991
  ]
6992
6992
  }),
6993
6993
  t
6994
- ), Be(this, $r), Be(this, Ri, He(an, 8, this)), He(an, 11, this), Be(this, Pi, He(an, 12, this)), He(an, 15, this), this.element = r, this.refreshShape = () => i();
6994
+ ), We(this, $r), We(this, Ri, He(an, 8, this)), He(an, 11, this), We(this, Pi, He(an, 12, this)), He(an, 15, this), this.element = r, this.refreshShape = () => i();
6995
6995
  }
6996
6996
  set element(e) {
6997
6997
  ut(this, $r, e, Bd);
@@ -7030,7 +7030,7 @@ function Rg(e, t) {
7030
7030
  n.current.clear();
7031
7031
  return;
7032
7032
  }
7033
- return Mt(() => {
7033
+ return Tt(() => {
7034
7034
  var o;
7035
7035
  let a = !1, s = !1;
7036
7036
  for (const i of n.current) {
@@ -7070,7 +7070,7 @@ var Pg = Object.defineProperty, Fg = Object.defineProperties, Og = Object.getOwn
7070
7070
  for (var n of Ql(t))
7071
7071
  Bg.call(t, n) && ec(e, n, t[n]);
7072
7072
  return e;
7073
- }, Vg = (e, t) => Fg(e, Og(t)), Ng = new Mi(), zg = We(
7073
+ }, Vg = (e, t) => Fg(e, Og(t)), Ng = new Mi(), zg = Ve(
7074
7074
  Ng
7075
7075
  );
7076
7076
  Sc(
@@ -7366,7 +7366,7 @@ const n0 = /* @__PURE__ */ new Map([
7366
7366
  "thin",
7367
7367
  /* @__PURE__ */ P.createElement(P.Fragment, null, /* @__PURE__ */ P.createElement("path", { d: "M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z" }))
7368
7368
  ]
7369
- ]), s0 = We({
7369
+ ]), s0 = Ve({
7370
7370
  color: "currentColor",
7371
7371
  size: "1em",
7372
7372
  weight: "regular",
@@ -7490,7 +7490,7 @@ var l0 = O.div`
7490
7490
  font-family: ${(e) => e.theme.fontFamily};
7491
7491
  font-size: ${(e) => e.theme.fontSize};
7492
7492
  color: ${(e) => e.theme.textColor};
7493
- `, $t = O.button`
7493
+ `, kt = O.button`
7494
7494
  padding: 0.5rem 1rem;
7495
7495
  background: ${(e) => e.theme.buttonBackground || "#007bff"};
7496
7496
  color: ${(e) => e.theme.buttonText || "white"};
@@ -7824,7 +7824,7 @@ var rf = {
7824
7824
  cancelPendingNotification() {
7825
7825
  this._notifyRafId !== null && (cancelAnimationFrame(this._notifyRafId), this._notifyRafId = null);
7826
7826
  }
7827
- }, of = We(null), m0 = () => () => {
7827
+ }, of = Ve(null), m0 = () => () => {
7828
7828
  }, g0 = ({ containerRef: e, children: t }) => {
7829
7829
  const n = T(null);
7830
7830
  n.current === null && (n.current = new p0(e.current));
@@ -7877,7 +7877,7 @@ function ua(e, t, n = 0) {
7877
7877
  [r]
7878
7878
  );
7879
7879
  }
7880
- var af = We(0), y0 = ({
7880
+ var af = Ve(0), y0 = ({
7881
7881
  originX: e,
7882
7882
  children: t
7883
7883
  }) => /* @__PURE__ */ k(af.Provider, { value: e, children: t }), Li = () => Pe(af);
@@ -8996,14 +8996,14 @@ var ac = ({
8996
8996
  }
8997
8997
  )
8998
8998
  ] });
8999
- }, rv = We(null);
8999
+ }, rv = Ve(null);
9000
9000
  function df() {
9001
9001
  return Pe(rv);
9002
9002
  }
9003
9003
  function To() {
9004
9004
  return window.devicePixelRatio;
9005
9005
  }
9006
- var ff = We(To()), hf = ({ children: e }) => {
9006
+ var ff = Ve(To()), hf = ({ children: e }) => {
9007
9007
  const [t, n] = z(To());
9008
9008
  return matchMedia(`(resolution: ${To()}dppx)`).addEventListener(
9009
9009
  "change",
@@ -9012,7 +9012,7 @@ var ff = We(To()), hf = ({ children: e }) => {
9012
9012
  },
9013
9013
  { once: !0 }
9014
9014
  ), /* @__PURE__ */ k(ff.Provider, { value: Math.ceil(t), children: e });
9015
- }, Vi = () => Pe(ff), Jr = We({
9015
+ }, Vi = () => Pe(ff), Jr = Ve({
9016
9016
  sampleRate: 48e3,
9017
9017
  samplesPerPixel: 1e3,
9018
9018
  zoomLevels: [1e3, 1500, 2e3, 2500],
@@ -9026,15 +9026,15 @@ var ff = We(To()), hf = ({ children: e }) => {
9026
9026
  barWidth: 1,
9027
9027
  barGap: 0
9028
9028
  }), fa = () => Pe(Jr), Qr = () => Pe($h);
9029
- We(/* @__PURE__ */ k(Mh, {}));
9029
+ Ve(/* @__PURE__ */ k(Mh, {}));
9030
9030
  var ov = 0, av = !1, sv = 0, iv = 0, lv = {
9031
9031
  progress: ov,
9032
9032
  isPlaying: av,
9033
9033
  selectionStart: sv,
9034
9034
  selectionEnd: iv
9035
9035
  };
9036
- We(lv);
9037
- We({
9036
+ Ve(lv);
9037
+ Ve({
9038
9038
  setIsPlaying: () => {
9039
9039
  },
9040
9040
  setProgress: () => {
@@ -9174,8 +9174,8 @@ var hv = fv(), sc = ({
9174
9174
  const te = (ie + _e) * s, Me = Math.floor(te / F);
9175
9175
  if (Me < 0 || Me >= D) continue;
9176
9176
  const B = Me * I;
9177
- for (let Fe = 0; Fe < De; Fe++) {
9178
- const st = 1 - Fe / De;
9177
+ for (let Oe = 0; Oe < De; Oe++) {
9178
+ const st = 1 - Oe / De;
9179
9179
  let Ge = Math.floor(st * I);
9180
9180
  if (R) {
9181
9181
  let xe = 0, Ne = I - 1;
@@ -9186,7 +9186,7 @@ var hv = fv(), sc = ({
9186
9186
  Ge = xe;
9187
9187
  }
9188
9188
  if (Ge < 0 || Ge >= I) continue;
9189
- const ve = n.data[B + Ge], re = Math.max(0, Math.min(1, (ve + q + H) / q)), Qe = Math.floor(re * 255), ft = (Fe * he + _e) * 4;
9189
+ const ve = n.data[B + Ge], re = Math.max(0, Math.min(1, (ve + q + H) / q)), Qe = Math.floor(re * 255), ft = (Oe * he + _e) * 4;
9190
9190
  Y[ft] = E[Qe * 3], Y[ft + 1] = E[Qe * 3 + 1], Y[ft + 2] = E[Qe * 3 + 2], Y[ft + 3] = 255;
9191
9191
  }
9192
9192
  }
@@ -11010,7 +11010,7 @@ function gy(e = {}) {
11010
11010
  ], [t, n, r, o]);
11011
11011
  }
11012
11012
  const Hb = (e) => {
11013
- const { tracks: t, sampleRate: n, engineRef: r } = e, { currentTimeRef: o } = kt(), { selectedTrackId: a } = Ct(), s = $(
11013
+ const { tracks: t, sampleRate: n, engineRef: r } = e, { currentTimeRef: o } = Ct(), { selectedTrackId: a } = xt(), s = $(
11014
11014
  (l, c, u) => {
11015
11015
  const { samplesPerPixel: f } = e, p = t[l];
11016
11016
  if (!p) return !1;
@@ -11066,7 +11066,7 @@ const Hb = (e) => {
11066
11066
  const t = [], n = typeof navigator < "u" && navigator.platform.includes("Mac");
11067
11067
  return e.metaKey && t.push(n ? "Cmd" : "Ctrl"), e.ctrlKey && !e.metaKey && t.push("Ctrl"), e.altKey && t.push(n ? "Option" : "Alt"), e.shiftKey && t.push("Shift"), t.push(e.key.toUpperCase()), t.join("+");
11068
11068
  }, Ub = (e = {}) => {
11069
- const { enabled: t = !0, additionalShortcuts: n = [], shortcuts: r } = e, { isPlaying: o } = kt(), { setCurrentTime: a, play: s, pause: i, stop: l } = Ve(), c = $(() => {
11069
+ const { enabled: t = !0, additionalShortcuts: n = [], shortcuts: r } = e, { isPlaying: o } = Ct(), { setCurrentTime: a, play: s, pause: i, stop: l } = Fe(), c = $(() => {
11070
11070
  o ? i() : s();
11071
11071
  }, [o, s, i]), u = $(() => {
11072
11072
  l();
@@ -12885,7 +12885,7 @@ function Qb() {
12885
12885
  errors: o
12886
12886
  };
12887
12887
  }
12888
- const Sf = We(null), kf = We(null), Cf = We(null), xf = We(null), e1 = ({
12888
+ const Sf = Ve(null), kf = Ve(null), Cf = Ve(null), xf = Ve(null), e1 = ({
12889
12889
  tracks: e,
12890
12890
  timescale: t = !1,
12891
12891
  mono: n = !1,
@@ -12926,13 +12926,13 @@ const Sf = We(null), kf = We(null), Cf = We(null), xf = We(null), e1 = ({
12926
12926
  E.current = C;
12927
12927
  const [x, M] = z(null), [R, A] = z(!1), [I, D] = z(0), [F, L] = z(0), [H, Q] = z([]), [q, oe] = z([]), [X, ee] = z([]), [ie, fe] = z(s), [he, De] = z(
12928
12928
  c?.isContinuousPlay ?? !1
12929
- ), [Z, Y] = z(c?.linkEndpoints ?? !1), [_e, G] = z(c?.editable ?? !1), [te, Me] = z(!1), B = T(null), Fe = T(!1), st = T(!1);
12929
+ ), [Z, Y] = z(c?.linkEndpoints ?? !1), [_e, G] = z(c?.editable ?? !1), [te, Me] = z(!1), B = T(null), Oe = T(!1), st = T(!1);
12930
12930
  st.current = R;
12931
12931
  const Ge = T(0), ve = T(0), re = T(e), Qe = T(y);
12932
12932
  Qe.current = y;
12933
12933
  const ft = T(X), xe = T(0), Ne = T(0), Ue = T(null), tt = T(null), Dt = T(!1), Jt = T(c?.isContinuousPlay ?? !1), j = T(null), ye = T(null), je = T(0), ze = T(!1), le = T(!1), pe = T(o), Ke = T(44100), { timeFormat: Rt, setTimeFormat: Pt, formatTime: Rn } = ay(), gt = sy({ engineRef: B, initialSamplesPerPixel: o }), { samplesPerPixel: V, onEngineState: J } = gt, ne = iy({ engineRef: B, initialVolume: 1 }), {
12934
12934
  masterVolume: ue,
12935
- setMasterVolume: Oe,
12935
+ setMasterVolume: Le,
12936
12936
  masterVolumeRef: qe,
12937
12937
  onEngineState: ae
12938
12938
  } = ne, {
@@ -13031,7 +13031,7 @@ const Sf = We(null), kf = We(null), Cf = We(null), xf = We(null), e1 = ({
13031
13031
  soloed: bt.soloed,
13032
13032
  volume: bt.volume,
13033
13033
  pan: bt.pan
13034
- }))), B.current && B.current.dispose(), je.current = 0, ye.current = null, Fe.current = !1;
13034
+ }))), B.current && B.current.dispose(), je.current = 0, ye.current = null, Oe.current = !1;
13035
13035
  const Te = Yh({ effects: u, soundFontCache: Qe.current }), Ae = new tp({
13036
13036
  adapter: Te,
13037
13037
  samplesPerPixel: pe.current,
@@ -13219,7 +13219,7 @@ const Sf = We(null), kf = We(null), Cf = We(null), xf = We(null), e1 = ({
13219
13219
  const { position: U } = ro.current;
13220
13220
  ro.current = null;
13221
13221
  const W = Lt().currentTime;
13222
- xe.current = W, Ne.current = U, Fe.current || (await B.current.init(), Fe.current = !0), B.current.play(U), A(!0), pn();
13222
+ xe.current = W, Ne.current = U, Oe.current || (await B.current.init(), Oe.current = !0), B.current.play(U), A(!0), pn();
13223
13223
  }
13224
13224
  })().catch((U) => {
13225
13225
  console.warn("[waveform-playlist] Failed to resume playback after track change:", U), A(!1), yt();
@@ -13231,7 +13231,7 @@ const Sf = We(null), kf = We(null), Cf = We(null), xf = We(null), e1 = ({
13231
13231
  const be = N ?? ve.current;
13232
13232
  Ge.current = be, ve.current = be, B.current.stop(), B.current.seek(be), yt();
13233
13233
  const Ee = Lt().currentTime;
13234
- xe.current = Ee, Ne.current = be, Ue.current = U !== void 0 ? be + U : null, Fe.current || (await B.current.init(), Fe.current = !0);
13234
+ xe.current = Ee, Ne.current = be, Ue.current = U !== void 0 ? be + U : null, Oe.current || (await B.current.init(), Oe.current = !0);
13235
13235
  const Te = U !== void 0 ? be + U : void 0;
13236
13236
  try {
13237
13237
  B.current.play(be, Te);
@@ -13385,7 +13385,7 @@ const Sf = We(null), kf = We(null), Cf = We(null), xf = We(null), e1 = ({
13385
13385
  zoomIn: gt.zoomIn,
13386
13386
  zoomOut: gt.zoomOut,
13387
13387
  // Master volume
13388
- setMasterVolume: Oe,
13388
+ setMasterVolume: Le,
13389
13389
  // Automatic scroll
13390
13390
  setAutomaticScroll: yl,
13391
13391
  setScrollContainer: pl,
@@ -13418,7 +13418,7 @@ const Sf = We(null), kf = We(null), Cf = We(null), xf = We(null), e1 = ({
13418
13418
  Rn,
13419
13419
  gt.zoomIn,
13420
13420
  gt.zoomOut,
13421
- Oe,
13421
+ Le,
13422
13422
  yl,
13423
13423
  pl,
13424
13424
  tt,
@@ -13485,22 +13485,22 @@ const Sf = We(null), kf = We(null), Cf = We(null), xf = We(null), e1 = ({
13485
13485
  ]
13486
13486
  ), Qf = { ...rf, ...i };
13487
13487
  return /* @__PURE__ */ k(Ec, { theme: Qf, children: /* @__PURE__ */ k(Sf.Provider, { value: jf, children: /* @__PURE__ */ k(kf.Provider, { value: Kf, children: /* @__PURE__ */ k(Cf.Provider, { value: qf, children: /* @__PURE__ */ k(xf.Provider, { value: Jf, children: b }) }) }) }) });
13488
- }, kt = () => {
13488
+ }, Ct = () => {
13489
13489
  const e = Pe(Sf);
13490
13490
  if (!e)
13491
13491
  throw new Error("usePlaybackAnimation must be used within WaveformPlaylistProvider");
13492
13492
  return e;
13493
- }, Ct = () => {
13493
+ }, xt = () => {
13494
13494
  const e = Pe(kf);
13495
13495
  if (!e)
13496
13496
  throw new Error("usePlaylistState must be used within WaveformPlaylistProvider");
13497
13497
  return e;
13498
- }, Ve = () => {
13498
+ }, Fe = () => {
13499
13499
  const e = Pe(Cf);
13500
13500
  if (!e)
13501
13501
  throw new Error("usePlaylistControls must be used within WaveformPlaylistProvider");
13502
13502
  return e;
13503
- }, xt = () => {
13503
+ }, Et = () => {
13504
13504
  const e = Pe(xf);
13505
13505
  if (!e)
13506
13506
  throw new Error("usePlaylistData must be used within WaveformPlaylistProvider");
@@ -13749,7 +13749,7 @@ var $y = class {
13749
13749
  return this.track?.peaks.sample_rate ?? 44100;
13750
13750
  }
13751
13751
  };
13752
- const Ef = We(null), If = We(null), Af = We(null), Mf = We(null), t1 = ({
13752
+ const Ef = Ve(null), If = Ve(null), Af = Ve(null), Mf = Ve(null), t1 = ({
13753
13753
  track: e,
13754
13754
  samplesPerPixel: t = 1024,
13755
13755
  waveHeight: n = 100,
@@ -13873,7 +13873,7 @@ const Ef = We(null), If = We(null), Af = We(null), Mf = We(null), t1 = ({
13873
13873
  De(j);
13874
13874
  };
13875
13875
  De(j);
13876
- }, [Y, te, De]), B = Z, Fe = $(
13876
+ }, [Y, te, De]), B = Z, Oe = $(
13877
13877
  (j) => {
13878
13878
  if (!q.current) return;
13879
13879
  const ye = j ?? oe.current;
@@ -13925,7 +13925,7 @@ const Ef = We(null), If = We(null), Af = We(null), Mf = We(null), t1 = ({
13925
13925
  []
13926
13926
  ), tt = Ce(
13927
13927
  () => ({
13928
- play: Fe,
13928
+ play: Oe,
13929
13929
  pause: st,
13930
13930
  stop: Ge,
13931
13931
  seekTo: ve,
@@ -13940,7 +13940,7 @@ const Ef = We(null), If = We(null), Af = We(null), Mf = We(null), t1 = ({
13940
13940
  scrollContainerRef: ie
13941
13941
  }),
13942
13942
  [
13943
- Fe,
13943
+ Oe,
13944
13944
  st,
13945
13945
  Ge,
13946
13946
  ve,
@@ -13999,8 +13999,8 @@ const Ef = We(null), If = We(null), Af = We(null), Mf = We(null), t1 = ({
13999
13999
  throw new Error("useMediaElementData must be used within MediaElementPlaylistProvider");
14000
14000
  return e;
14001
14001
  }, n1 = ({ className: e }) => {
14002
- const { isPlaying: t, currentTimeRef: n } = kt(), { selectionStart: r, selectionEnd: o, isLoopEnabled: a } = Ct(), { play: s } = Ve();
14003
- return /* @__PURE__ */ k($t, { onClick: async () => {
14002
+ const { isPlaying: t, currentTimeRef: n } = Ct(), { selectionStart: r, selectionEnd: o, isLoopEnabled: a } = xt(), { play: s } = Fe();
14003
+ return /* @__PURE__ */ k(kt, { onClick: async () => {
14004
14004
  if (r !== o && o > r && !a) {
14005
14005
  const c = o - r;
14006
14006
  await s(r, c);
@@ -14008,27 +14008,27 @@ const Ef = We(null), If = We(null), Af = We(null), Mf = We(null), t1 = ({
14008
14008
  await s(n.current ?? 0);
14009
14009
  }, disabled: t, className: e, children: "Play" });
14010
14010
  }, r1 = ({ className: e }) => {
14011
- const { isPlaying: t } = kt(), { pause: n } = Ve();
14012
- return /* @__PURE__ */ k($t, { onClick: n, disabled: !t, className: e, children: "Pause" });
14011
+ const { isPlaying: t } = Ct(), { pause: n } = Fe();
14012
+ return /* @__PURE__ */ k(kt, { onClick: n, disabled: !t, className: e, children: "Pause" });
14013
14013
  }, o1 = ({ className: e }) => {
14014
- const { isPlaying: t } = kt(), { stop: n } = Ve();
14015
- return /* @__PURE__ */ k($t, { onClick: n, disabled: !t, className: e, children: "Stop" });
14014
+ const { isPlaying: t } = Ct(), { stop: n } = Fe();
14015
+ return /* @__PURE__ */ k(kt, { onClick: n, disabled: !t, className: e, children: "Stop" });
14016
14016
  }, a1 = ({ className: e }) => {
14017
- const { isPlaying: t } = kt(), { play: n, setCurrentTime: r } = Ve();
14018
- return /* @__PURE__ */ k($t, { onClick: () => {
14017
+ const { isPlaying: t } = Ct(), { play: n, setCurrentTime: r } = Fe();
14018
+ return /* @__PURE__ */ k(kt, { onClick: () => {
14019
14019
  r(0), t && n(0);
14020
14020
  }, className: e, children: "Rewind" });
14021
14021
  }, s1 = ({ className: e }) => {
14022
- const { isPlaying: t } = kt(), { play: n, setCurrentTime: r } = Ve(), { duration: o } = xt();
14023
- return /* @__PURE__ */ k($t, { onClick: () => {
14022
+ const { isPlaying: t } = Ct(), { play: n, setCurrentTime: r } = Fe(), { duration: o } = Et();
14023
+ return /* @__PURE__ */ k(kt, { onClick: () => {
14024
14024
  r(o), t && n(o);
14025
14025
  }, className: e, children: "Fast Forward" });
14026
14026
  }, i1 = ({
14027
14027
  skipAmount: e = 5,
14028
14028
  className: t
14029
14029
  }) => {
14030
- const { currentTimeRef: n, isPlaying: r } = kt(), { play: o, setCurrentTime: a } = Ve();
14031
- return /* @__PURE__ */ k($t, { onClick: () => {
14030
+ const { currentTimeRef: n, isPlaying: r } = Ct(), { play: o, setCurrentTime: a } = Fe();
14031
+ return /* @__PURE__ */ k(kt, { onClick: () => {
14032
14032
  const i = Math.max(0, (n.current ?? 0) - e);
14033
14033
  a(i), r && o(i);
14034
14034
  }, className: t, children: "Skip Backward" });
@@ -14036,15 +14036,15 @@ const Ef = We(null), If = We(null), Af = We(null), Mf = We(null), t1 = ({
14036
14036
  skipAmount: e = 5,
14037
14037
  className: t
14038
14038
  }) => {
14039
- const { currentTimeRef: n, isPlaying: r } = kt(), { play: o, setCurrentTime: a } = Ve(), { duration: s } = xt();
14040
- return /* @__PURE__ */ k($t, { onClick: () => {
14039
+ const { currentTimeRef: n, isPlaying: r } = Ct(), { play: o, setCurrentTime: a } = Fe(), { duration: s } = Et();
14040
+ return /* @__PURE__ */ k(kt, { onClick: () => {
14041
14041
  const l = Math.min(s, (n.current ?? 0) + e);
14042
14042
  a(l), r && o(l);
14043
14043
  }, className: t, children: "Skip Forward" });
14044
14044
  }, c1 = ({ className: e }) => {
14045
- const { isLoopEnabled: t, loopStart: n, loopEnd: r } = Ct(), { setLoopEnabled: o, setLoopRegion: a } = Ve(), { duration: s } = xt(), i = n !== r && r > n;
14045
+ const { isLoopEnabled: t, loopStart: n, loopEnd: r } = xt(), { setLoopEnabled: o, setLoopRegion: a } = Fe(), { duration: s } = Et(), i = n !== r && r > n;
14046
14046
  return /* @__PURE__ */ k(
14047
- $t,
14047
+ kt,
14048
14048
  {
14049
14049
  onClick: () => {
14050
14050
  if (!t && !i) {
@@ -14059,9 +14059,9 @@ const Ef = We(null), If = We(null), Af = We(null), Mf = We(null), t1 = ({
14059
14059
  }
14060
14060
  );
14061
14061
  }, u1 = ({ className: e }) => {
14062
- const { selectionStart: t, selectionEnd: n, loopStart: r, loopEnd: o } = Ct(), { setLoopRegionFromSelection: a, clearLoopRegion: s } = Ve(), i = t !== n && n > t, l = r !== o && o > r;
14062
+ const { selectionStart: t, selectionEnd: n, loopStart: r, loopEnd: o } = xt(), { setLoopRegionFromSelection: a, clearLoopRegion: s } = Fe(), i = t !== n && n > t, l = r !== o && o > r;
14063
14063
  return /* @__PURE__ */ k(
14064
- $t,
14064
+ kt,
14065
14065
  {
14066
14066
  onClick: () => {
14067
14067
  l ? s() : a();
@@ -14073,19 +14073,28 @@ const Ef = We(null), If = We(null), Af = We(null), Mf = We(null), t1 = ({
14073
14073
  }
14074
14074
  );
14075
14075
  }, d1 = ({
14076
+ onClearAll: e,
14077
+ label: t = "Clear All",
14078
+ className: n
14079
+ }) => {
14080
+ const { stop: r } = Fe(), o = $(() => {
14081
+ r(), e();
14082
+ }, [r, e]);
14083
+ return /* @__PURE__ */ k(kt, { onClick: o, className: n, title: "Remove all tracks", children: t });
14084
+ }, f1 = ({
14076
14085
  className: e,
14077
14086
  disabled: t
14078
14087
  }) => {
14079
- const { zoomIn: n } = Ve(), { canZoomIn: r } = xt();
14080
- return /* @__PURE__ */ k($t, { onClick: n, disabled: t || !r, className: e, children: "Zoom In" });
14081
- }, f1 = ({
14088
+ const { zoomIn: n } = Fe(), { canZoomIn: r } = Et();
14089
+ return /* @__PURE__ */ k(kt, { onClick: n, disabled: t || !r, className: e, children: "Zoom In" });
14090
+ }, h1 = ({
14082
14091
  className: e,
14083
14092
  disabled: t
14084
14093
  }) => {
14085
- const { zoomOut: n } = Ve(), { canZoomOut: r } = xt();
14086
- return /* @__PURE__ */ k($t, { onClick: n, disabled: t || !r, className: e, children: "Zoom Out" });
14087
- }, h1 = ({ className: e }) => {
14088
- const { masterVolume: t } = xt(), { setMasterVolume: n } = Ve();
14094
+ const { zoomOut: n } = Fe(), { canZoomOut: r } = Et();
14095
+ return /* @__PURE__ */ k(kt, { onClick: n, disabled: t || !r, className: e, children: "Zoom Out" });
14096
+ }, p1 = ({ className: e }) => {
14097
+ const { masterVolume: t } = Et(), { setMasterVolume: n } = Fe();
14089
14098
  return /* @__PURE__ */ k(
14090
14099
  W0,
14091
14100
  {
@@ -14094,8 +14103,8 @@ const Ef = We(null), If = We(null), Af = We(null), Mf = We(null), t1 = ({
14094
14103
  className: e
14095
14104
  }
14096
14105
  );
14097
- }, p1 = ({ className: e }) => {
14098
- const { timeFormat: t } = xt(), { setTimeFormat: n } = Ve();
14106
+ }, m1 = ({ className: e }) => {
14107
+ const { timeFormat: t } = Et(), { setTimeFormat: n } = Fe();
14099
14108
  return /* @__PURE__ */ k(xv, { value: t, onChange: n, className: e });
14100
14109
  }, Ry = O.span`
14101
14110
  font-family: 'Courier New', Monaco, monospace;
@@ -14103,8 +14112,8 @@ const Ef = We(null), If = We(null), Af = We(null), Mf = We(null), t1 = ({
14103
14112
  font-weight: 600;
14104
14113
  color: ${(e) => e.theme?.textColor || "#333"};
14105
14114
  user-select: none;
14106
- `, m1 = ({ className: e }) => {
14107
- const t = T(null), n = T(null), { isPlaying: r, currentTimeRef: o, getPlaybackTime: a } = kt(), { timeFormat: s } = xt();
14115
+ `, g1 = ({ className: e }) => {
14116
+ const t = T(null), n = T(null), { isPlaying: r, currentTimeRef: o, getPlaybackTime: a } = Ct(), { timeFormat: s } = Et();
14108
14117
  return K(() => {
14109
14118
  const i = () => {
14110
14119
  if (t.current) {
@@ -14119,8 +14128,8 @@ const Ef = We(null), If = We(null), Af = We(null), Mf = We(null), t1 = ({
14119
14128
  }, [r, s, o, a]), K(() => {
14120
14129
  !r && t.current && (t.current.textContent = Xn(o.current ?? 0, s));
14121
14130
  }), /* @__PURE__ */ k(Ry, { ref: t, className: e, "aria-label": "Audio position", children: Xn(o.current ?? 0, s) });
14122
- }, g1 = ({ className: e }) => {
14123
- const { selectionStart: t, selectionEnd: n } = Ct(), { setSelection: r } = Ve();
14131
+ }, v1 = ({ className: e }) => {
14132
+ const { selectionStart: t, selectionEnd: n } = xt(), { setSelection: r } = Fe();
14124
14133
  return /* @__PURE__ */ k(
14125
14134
  nv,
14126
14135
  {
@@ -14130,8 +14139,8 @@ const Ef = We(null), If = We(null), Af = We(null), Mf = We(null), t1 = ({
14130
14139
  className: e
14131
14140
  }
14132
14141
  );
14133
- }, v1 = ({ className: e }) => {
14134
- const { isAutomaticScroll: t } = Ct(), { setAutomaticScroll: n } = Ve();
14142
+ }, y1 = ({ className: e }) => {
14143
+ const { isAutomaticScroll: t } = xt(), { setAutomaticScroll: n } = Fe();
14135
14144
  return /* @__PURE__ */ k(
14136
14145
  h0,
14137
14146
  {
@@ -14140,7 +14149,7 @@ const Ef = We(null), If = We(null), Af = We(null), Mf = We(null), t1 = ({
14140
14149
  className: e
14141
14150
  }
14142
14151
  );
14143
- }, ma = We(null), y1 = ma.Provider;
14152
+ }, ma = Ve(null), b1 = ma.Provider;
14144
14153
  function lr() {
14145
14154
  const e = Pe(ma);
14146
14155
  if (!e)
@@ -14149,22 +14158,22 @@ function lr() {
14149
14158
  );
14150
14159
  return e;
14151
14160
  }
14152
- const b1 = ({ className: e }) => {
14153
- const { ContinuousPlayCheckbox: t } = lr(), { continuousPlay: n } = Ct(), { setContinuousPlay: r } = Ve();
14154
- return /* @__PURE__ */ k(t, { checked: n, onChange: r, className: e });
14155
- }, w1 = ({ className: e }) => {
14156
- const { LinkEndpointsCheckbox: t } = lr(), { linkEndpoints: n } = Ct(), { setLinkEndpoints: r } = Ve();
14161
+ const w1 = ({ className: e }) => {
14162
+ const { ContinuousPlayCheckbox: t } = lr(), { continuousPlay: n } = xt(), { setContinuousPlay: r } = Fe();
14157
14163
  return /* @__PURE__ */ k(t, { checked: n, onChange: r, className: e });
14158
14164
  }, _1 = ({ className: e }) => {
14159
- const { EditableCheckbox: t } = lr(), { annotationsEditable: n } = Ct(), { setAnnotationsEditable: r } = Ve();
14165
+ const { LinkEndpointsCheckbox: t } = lr(), { linkEndpoints: n } = xt(), { setLinkEndpoints: r } = Fe();
14166
+ return /* @__PURE__ */ k(t, { checked: n, onChange: r, className: e });
14167
+ }, S1 = ({ className: e }) => {
14168
+ const { EditableCheckbox: t } = lr(), { annotationsEditable: n } = xt(), { setAnnotationsEditable: r } = Fe();
14160
14169
  return /* @__PURE__ */ k(t, { checked: n, onChange: r, className: e });
14161
- }, S1 = ({
14170
+ }, k1 = ({
14162
14171
  filename: e,
14163
14172
  className: t
14164
14173
  }) => {
14165
- const { DownloadAnnotationsButton: n } = lr(), { annotations: r } = Ct();
14174
+ const { DownloadAnnotationsButton: n } = lr(), { annotations: r } = xt();
14166
14175
  return /* @__PURE__ */ k(n, { annotations: r, filename: e, className: t });
14167
- }, k1 = ({
14176
+ }, C1 = ({
14168
14177
  label: e = "Export WAV",
14169
14178
  filename: t = "export",
14170
14179
  mode: n = "master",
@@ -14177,7 +14186,7 @@ const b1 = ({ className: e }) => {
14177
14186
  onExportComplete: c,
14178
14187
  onExportError: u
14179
14188
  }) => {
14180
- const { tracks: f, trackStates: p } = xt(), { exportWav: d, isExporting: h, progress: g } = Sy(), v = async () => {
14189
+ const { tracks: f, trackStates: p } = Et(), { exportWav: d, isExporting: h, progress: g } = Sy(), v = async () => {
14181
14190
  try {
14182
14191
  const y = await d(f, p, {
14183
14192
  filename: t,
@@ -14195,7 +14204,7 @@ const b1 = ({ className: e }) => {
14195
14204
  }
14196
14205
  }, m = h ? `Exporting ${Math.round(g * 100)}%` : e;
14197
14206
  return /* @__PURE__ */ k(
14198
- $t,
14207
+ kt,
14199
14208
  {
14200
14209
  onClick: v,
14201
14210
  disabled: h || f.length === 0,
@@ -14203,7 +14212,7 @@ const b1 = ({ className: e }) => {
14203
14212
  children: m
14204
14213
  }
14205
14214
  );
14206
- }, $f = We(!1), Py = $f.Provider;
14215
+ }, $f = Ve(!1), Py = $f.Provider;
14207
14216
  function Fy() {
14208
14217
  return Pe($f);
14209
14218
  }
@@ -14221,7 +14230,7 @@ const Oy = O.div.attrs((e) => ({
14221
14230
  pointer-events: none;
14222
14231
  will-change: transform;
14223
14232
  `, Ly = ({ color: e = "#ff0000" }) => {
14224
- const t = T(null), n = T(null), { isPlaying: r, currentTimeRef: o, getPlaybackTime: a } = kt(), { samplesPerPixel: s, sampleRate: i, progressBarWidth: l } = xt();
14233
+ const t = T(null), n = T(null), { isPlaying: r, currentTimeRef: o, getPlaybackTime: a } = Ct(), { samplesPerPixel: s, sampleRate: i, progressBarWidth: l } = Et();
14225
14234
  return K(() => {
14226
14235
  const c = () => {
14227
14236
  if (t.current) {
@@ -14282,7 +14291,7 @@ const Oy = O.div.attrs((e) => ({
14282
14291
  clipOffsetSeconds: o,
14283
14292
  ...a
14284
14293
  }) => {
14285
- const s = T(null), i = T(null), l = Qr(), { waveHeight: c } = fa(), { isPlaying: u, currentTimeRef: f, getPlaybackTime: p } = kt(), { samplesPerPixel: d, sampleRate: h } = xt(), g = l?.waveProgressColor || "rgba(0, 0, 0, 0.1)", v = $c(
14294
+ const s = T(null), i = T(null), l = Qr(), { waveHeight: c } = fa(), { isPlaying: u, currentTimeRef: f, getPlaybackTime: p } = Ct(), { samplesPerPixel: d, sampleRate: h } = Et(), g = l?.waveProgressColor || "rgba(0, 0, 0, 0.1)", v = $c(
14286
14295
  e,
14287
14296
  t,
14288
14297
  d
@@ -14368,8 +14377,8 @@ const Oy = O.div.attrs((e) => ({
14368
14377
  }
14369
14378
  ) })
14370
14379
  ] });
14371
- }, Hi = We(null), C1 = Hi.Provider;
14372
- function x1() {
14380
+ }, Hi = Ve(null), x1 = Hi.Provider;
14381
+ function E1() {
14373
14382
  const e = Pe(Hi);
14374
14383
  if (!e)
14375
14384
  throw new Error(
@@ -14405,7 +14414,7 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14405
14414
  playbackStartTimeRef: g,
14406
14415
  audioStartPositionRef: v,
14407
14416
  getPlaybackTime: m
14408
- } = kt(), {
14417
+ } = Ct(), {
14409
14418
  selectionStart: y,
14410
14419
  selectionEnd: w,
14411
14420
  annotations: b,
@@ -14417,7 +14426,7 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14417
14426
  loopStart: M,
14418
14427
  loopEnd: R,
14419
14428
  isLoopEnabled: A
14420
- } = Ct(), I = Pe(ma), {
14429
+ } = xt(), I = Pe(ma), {
14421
14430
  setAnnotations: D,
14422
14431
  setActiveAnnotationId: F,
14423
14432
  setTrackMute: L,
@@ -14430,7 +14439,7 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14430
14439
  setSelectedTrackId: ie,
14431
14440
  setCurrentTime: fe,
14432
14441
  setLoopRegion: he
14433
- } = Ve(), {
14442
+ } = Fe(), {
14434
14443
  peaksDataArray: De,
14435
14444
  trackStates: Z,
14436
14445
  tracks: Y,
@@ -14439,19 +14448,19 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14439
14448
  sampleRate: te,
14440
14449
  waveHeight: Me,
14441
14450
  timeScaleHeight: B,
14442
- controls: Fe,
14451
+ controls: Oe,
14443
14452
  barWidth: st,
14444
14453
  barGap: Ge,
14445
14454
  isReady: ve
14446
- } = xt(), re = Pe(Hi), Qe = Ce(() => {
14455
+ } = Et(), re = Pe(Hi), Qe = Ce(() => {
14447
14456
  if (!re)
14448
14457
  return /* @__PURE__ */ new Map();
14449
14458
  const V = /* @__PURE__ */ new Map();
14450
14459
  return Y.forEach((J) => {
14451
14460
  if ((re.trackSpectrogramOverrides.get(J.id)?.renderMode ?? J.renderMode ?? "waveform") === "waveform") return;
14452
- const ue = re.trackSpectrogramOverrides.get(J.id), Oe = ue?.colorMap ?? J.spectrogramColorMap ?? re.spectrogramColorMap ?? "viridis", qe = ue?.config ?? J.spectrogramConfig ?? re.spectrogramConfig;
14461
+ const ue = re.trackSpectrogramOverrides.get(J.id), Le = ue?.colorMap ?? J.spectrogramColorMap ?? re.spectrogramColorMap ?? "viridis", qe = ue?.config ?? J.spectrogramConfig ?? re.spectrogramConfig;
14453
14462
  V.set(J.id, {
14454
- colorLUT: re.getColorMap(Oe),
14463
+ colorLUT: re.getColorMap(Le),
14455
14464
  frequencyScaleFn: re.getFrequencyScale(qe?.frequencyScale ?? "mel"),
14456
14465
  config: qe
14457
14466
  });
@@ -14472,8 +14481,8 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14472
14481
  },
14473
14482
  [ee]
14474
14483
  ), ye = Y.reduce((V, J) => J.clips.reduce((ne, ue) => {
14475
- const Oe = (ue.startSample + ue.durationSamples) / ue.sampleRate;
14476
- return Math.max(ne, Oe);
14484
+ const Le = (ue.startSample + ue.durationSamples) / ue.sampleRate;
14485
+ return Math.max(ne, Le);
14477
14486
  }, V), 0);
14478
14487
  let je = ye > 0 ? ye : _e > 0 ? _e : Ny;
14479
14488
  if (f?.isRecording) {
@@ -14514,8 +14523,8 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14514
14523
  nt !== -1 && pe(nt), Dt.current = ue, tt(!0), fe(ue), oe(ue, ue);
14515
14524
  }, Rt = (V) => {
14516
14525
  if (!Ue || d) return;
14517
- const J = V.currentTarget.getBoundingClientRect(), ue = (V.clientX - J.left) * G / te, Oe = Math.min(y, ue), qe = Math.max(y, ue);
14518
- oe(Oe, qe);
14526
+ const J = V.currentTarget.getBoundingClientRect(), ue = (V.clientX - J.left) * G / te, Le = Math.min(y, ue), qe = Math.max(y, ue);
14527
+ oe(Le, qe);
14519
14528
  }, Pt = (V) => {
14520
14529
  if (!Ue) return;
14521
14530
  if (tt(!1), d) {
@@ -14523,12 +14532,12 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14523
14532
  fe(ae), oe(ae, ae), X(ae);
14524
14533
  return;
14525
14534
  }
14526
- const J = V.currentTarget.getBoundingClientRect(), ue = (V.clientX - J.left) * G / te, Oe = Math.min(y, ue), qe = Math.max(y, ue);
14527
- Math.abs(qe - Oe) < 0.1 ? fe(Oe) : oe(Oe, qe);
14535
+ const J = V.currentTarget.getBoundingClientRect(), ue = (V.clientX - J.left) * G / te, Le = Math.min(y, ue), qe = Math.max(y, ue);
14536
+ Math.abs(qe - Le) < 0.1 ? fe(Le) : oe(Le, qe);
14528
14537
  };
14529
14538
  if (Y.some((V) => V.clips.length > 0) && De.length === 0)
14530
14539
  return /* @__PURE__ */ k("div", { className: a, children: "Loading waveform..." });
14531
- const gt = Fe.show ? De.map((V, J) => {
14540
+ const gt = Oe.show ? De.map((V, J) => {
14532
14541
  const ne = Y[J];
14533
14542
  if (!ne) return null;
14534
14543
  const ue = Z[J] || {
@@ -14537,7 +14546,7 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14537
14546
  soloed: !1,
14538
14547
  volume: 1,
14539
14548
  pan: 0
14540
- }, Oe = ne.clips.some((Xe) => Xe.midiNotes && Xe.midiNotes.length > 0), qe = re?.trackSpectrogramOverrides.get(ne.id)?.renderMode ?? ne.renderMode ?? (Oe ? "piano-roll" : "waveform"), ae = V.length > 0 ? Math.max(1, ...V.map((Xe) => Xe.peaks.data.length)) : 1, nt = Me * ae + (s ? Bi : 0), it = e ? e(J) : /* @__PURE__ */ me($v, { onClick: () => pe(J), children: [
14549
+ }, Le = ne.clips.some((Xe) => Xe.midiNotes && Xe.midiNotes.length > 0), qe = re?.trackSpectrogramOverrides.get(ne.id)?.renderMode ?? ne.renderMode ?? (Le ? "piano-roll" : "waveform"), ae = V.length > 0 ? Math.max(1, ...V.map((Xe) => Xe.peaks.data.length)) : 1, nt = Me * ae + (s ? Bi : 0), it = e ? e(J) : /* @__PURE__ */ me($v, { onClick: () => pe(J), children: [
14541
14550
  /* @__PURE__ */ me(Dv, { style: { justifyContent: "center", position: "relative" }, children: [
14542
14551
  u && /* @__PURE__ */ k(
14543
14552
  Tv,
@@ -14640,7 +14649,7 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14640
14649
  waveHeight: Me,
14641
14650
  timeScaleHeight: B,
14642
14651
  duration: je * 1e3,
14643
- controls: Fe,
14652
+ controls: Oe,
14644
14653
  barWidth: st,
14645
14654
  barGap: Ge
14646
14655
  },
@@ -14652,7 +14661,7 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14652
14661
  timescaleBackgroundColor: p.timescaleBackgroundColor,
14653
14662
  timescaleWidth: ze,
14654
14663
  tracksWidth: ze,
14655
- controlsWidth: Fe.show ? Fe.width : 0,
14664
+ controlsWidth: Oe.show ? Oe.width : 0,
14656
14665
  onTracksMouseDown: Ke,
14657
14666
  onTracksMouseMove: Rt,
14658
14667
  onTracksMouseUp: Pt,
@@ -14683,19 +14692,19 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14683
14692
  De.map((V, J) => {
14684
14693
  const ne = Y[J];
14685
14694
  if (!ne) return null;
14686
- const ue = ne.clips.some((ae) => ae.midiNotes && ae.midiNotes.length > 0), Oe = re?.trackSpectrogramOverrides.get(ne.id)?.renderMode ?? ne.renderMode ?? (ue ? "piano-roll" : "waveform"), qe = V.length > 0 ? Math.max(1, ...V.map((ae) => ae.peaks.data.length)) : 1;
14695
+ const ue = ne.clips.some((ae) => ae.midiNotes && ae.midiNotes.length > 0), Le = re?.trackSpectrogramOverrides.get(ne.id)?.renderMode ?? ne.renderMode ?? (ue ? "piano-roll" : "waveform"), qe = V.length > 0 ? Math.max(1, ...V.map((ae) => ae.peaks.data.length)) : 1;
14687
14696
  return /* @__PURE__ */ me(
14688
14697
  gf,
14689
14698
  {
14690
14699
  numChannels: qe,
14691
- backgroundColor: Oe === "piano-roll" ? p.pianoRollBackgroundColor || "#1a1a2e" : cn(p.waveOutlineColor),
14700
+ backgroundColor: Le === "piano-roll" ? p.pianoRollBackgroundColor || "#1a1a2e" : cn(p.waveOutlineColor),
14692
14701
  offset: 0,
14693
14702
  width: ze,
14694
14703
  hasClipHeaders: s,
14695
14704
  trackId: ne.id,
14696
14705
  isSelected: ne.id === x,
14697
14706
  children: [
14698
- Oe !== "waveform" && (() => {
14707
+ Le !== "waveform" && (() => {
14699
14708
  const ae = Qe.get(ne.id), nt = ae?.config;
14700
14709
  return !nt?.labels || !ae ? null : /* @__PURE__ */ k(
14701
14710
  gv,
@@ -14707,7 +14716,7 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14707
14716
  maxFrequency: nt.maxFrequency ?? te / 2,
14708
14717
  labelsColor: nt.labelsColor,
14709
14718
  labelsBackground: nt.labelsBackground,
14710
- renderMode: Oe,
14719
+ renderMode: Le,
14711
14720
  hasClipHeaders: s
14712
14721
  }
14713
14722
  );
@@ -14750,7 +14759,7 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14750
14759
  isSelected: ne.id === x,
14751
14760
  clipStartSample: ae.startSample,
14752
14761
  clipDurationSamples: ae.durationSamples,
14753
- renderMode: ae.midiNotes ? "piano-roll" : Oe,
14762
+ renderMode: ae.midiNotes ? "piano-roll" : Le,
14754
14763
  midiNotes: ae.midiNotes,
14755
14764
  clipSampleRate: ae.sampleRate,
14756
14765
  clipOffsetSeconds: ae.offsetSamples != null ? ae.offsetSamples / (ae.sampleRate || te) : 0,
@@ -14814,7 +14823,7 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14814
14823
  );
14815
14824
  }),
14816
14825
  b.length > 0 && I && /* @__PURE__ */ k(I.AnnotationBoxesWrapper, { height: 30, width: ze, children: b.map((V, J) => {
14817
- const ne = V.start * te / G, ue = V.end * te / G, Oe = o ? o(V, J) : V.id;
14826
+ const ne = V.start * te / G, ue = V.end * te / G, Le = o ? o(V, J) : V.id;
14818
14827
  return /* @__PURE__ */ k(
14819
14828
  I.AnnotationBox,
14820
14829
  {
@@ -14822,7 +14831,7 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14822
14831
  annotationIndex: J,
14823
14832
  startPosition: ne,
14824
14833
  endPosition: ue,
14825
- label: Oe,
14834
+ label: Le,
14826
14835
  color: "#ff9800",
14827
14836
  isActive: V.id === _,
14828
14837
  onClick: () => le(V),
@@ -14882,7 +14891,7 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14882
14891
  scrollActivePosition: a = "center",
14883
14892
  scrollActiveContainer: s = "nearest"
14884
14893
  }) => {
14885
- const { annotations: i, activeAnnotationId: l, annotationsEditable: c, linkEndpoints: u, continuousPlay: f } = Ct(), p = lr(), { setAnnotations: d } = Ve(), h = o ?? { linkEndpoints: u, continuousPlay: f }, g = $(
14894
+ const { annotations: i, activeAnnotationId: l, annotationsEditable: c, linkEndpoints: u, continuousPlay: f } = xt(), p = lr(), { setAnnotations: d } = Fe(), h = o ?? { linkEndpoints: u, continuousPlay: f }, g = $(
14886
14895
  (m) => {
14887
14896
  d(m), n?.(m);
14888
14897
  },
@@ -14904,7 +14913,7 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14904
14913
  renderAnnotationItem: t
14905
14914
  }
14906
14915
  );
14907
- }, E1 = ({
14916
+ }, I1 = ({
14908
14917
  renderTrackControls: e,
14909
14918
  renderTick: t,
14910
14919
  renderTimestamp: n,
@@ -14924,7 +14933,7 @@ const Ny = 60, zy = O.div.attrs((e) => ({
14924
14933
  onRemoveTrack: v,
14925
14934
  recordingState: m
14926
14935
  }) => {
14927
- const { annotations: y } = Ct(), w = Fy();
14936
+ const { annotations: y } = xt(), w = Fy();
14928
14937
  return /* @__PURE__ */ me(zt, { children: [
14929
14938
  /* @__PURE__ */ k(
14930
14939
  Zy,
@@ -14978,7 +14987,7 @@ var gc = Object.getOwnPropertySymbols, Uy = Object.prototype.hasOwnProperty, Xy
14978
14987
  for (var r of gc(e))
14979
14988
  t.indexOf(r) < 0 && Xy.call(e, r) && (n[r] = e[r]);
14980
14989
  return n;
14981
- }, jy = new Mi(), Ky = We(
14990
+ }, jy = new Mi(), Ky = Ve(
14982
14991
  jy
14983
14992
  ), qy = Sc(
14984
14993
  kc(({ children: e }, t) => {
@@ -15499,11 +15508,11 @@ const Xf = (e) => {
15499
15508
  disableHeaderDrag: !0,
15500
15509
  isSelected: !0,
15501
15510
  trackId: `media-element-track-${Y}`,
15502
- children: Me.data.map((Fe, st) => /* @__PURE__ */ k(
15511
+ children: Me.data.map((Oe, st) => /* @__PURE__ */ k(
15503
15512
  wb,
15504
15513
  {
15505
15514
  index: st,
15506
- data: Fe,
15515
+ data: Oe,
15507
15516
  bits: Me.bits,
15508
15517
  length: B,
15509
15518
  clipStartSample: G.startSample,
@@ -15593,7 +15602,7 @@ const Xf = (e) => {
15593
15602
  renderAnnotationItem: t
15594
15603
  }
15595
15604
  );
15596
- }, M1 = ({
15605
+ }, T1 = ({
15597
15606
  annotationTextHeight: e,
15598
15607
  getAnnotationBoxLabel: t,
15599
15608
  renderAnnotationItem: n,
@@ -15675,12 +15684,12 @@ const Jo = class Jo extends jn {
15675
15684
  Jo.configure = An(Jo);
15676
15685
  let Ko = Jo;
15677
15686
  const kb = () => {
15678
- }, T1 = ({
15687
+ }, $1 = ({
15679
15688
  snap: e = !1,
15680
15689
  touchOptimized: t = !1,
15681
15690
  children: n
15682
15691
  }) => {
15683
- const { tracks: r, samplesPerPixel: o, sampleRate: a, playoutRef: s, isDraggingRef: i, onTracksChange: l } = xt(), { setSelectedTrackId: c } = Ve(), u = df(), f = e && u != null && u.scaleMode === "beats" && u.snapTo !== "off", p = e && !f;
15692
+ const { tracks: r, samplesPerPixel: o, sampleRate: a, playoutRef: s, isDraggingRef: i, onTracksChange: l } = Et(), { setSelectedTrackId: c } = Fe(), u = df(), f = e && u != null && u.scaleMode === "beats" && u.snapTo !== "off", p = e && !f;
15684
15693
  K(() => {
15685
15694
  l == null && console.warn(
15686
15695
  "[waveform-playlist] ClipInteractionProvider: onTracksChange is not set on WaveformPlaylistProvider. Drag and trim edits will not be persisted."
@@ -15749,41 +15758,42 @@ const kb = () => {
15749
15758
  ) });
15750
15759
  };
15751
15760
  export {
15752
- y1 as AnnotationIntegrationProvider,
15753
- m1 as AudioPosition,
15754
- v1 as AutomaticScrollCheckbox,
15761
+ b1 as AnnotationIntegrationProvider,
15762
+ g1 as AudioPosition,
15763
+ y1 as AutomaticScrollCheckbox,
15764
+ d1 as ClearAllButton,
15755
15765
  $s as ClipCollisionModifier,
15756
- T1 as ClipInteractionProvider,
15757
- b1 as ContinuousPlayCheckbox,
15758
- S1 as DownloadAnnotationsButton,
15759
- _1 as EditableCheckbox,
15760
- k1 as ExportWavButton,
15766
+ $1 as ClipInteractionProvider,
15767
+ w1 as ContinuousPlayCheckbox,
15768
+ k1 as DownloadAnnotationsButton,
15769
+ S1 as EditableCheckbox,
15770
+ C1 as ExportWavButton,
15761
15771
  s1 as FastForwardButton,
15762
- w1 as LinkEndpointsCheckbox,
15772
+ _1 as LinkEndpointsCheckbox,
15763
15773
  c1 as LoopButton,
15764
- h1 as MasterVolumeControl,
15774
+ p1 as MasterVolumeControl,
15765
15775
  Sb as MediaElementAnnotationList,
15766
15776
  _b as MediaElementPlaylist,
15767
15777
  t1 as MediaElementPlaylistProvider,
15768
- M1 as MediaElementWaveform,
15778
+ T1 as MediaElementWaveform,
15769
15779
  r1 as PauseButton,
15770
15780
  n1 as PlayButton,
15771
15781
  Hy as PlaylistAnnotationList,
15772
15782
  Zy as PlaylistVisualization,
15773
15783
  a1 as RewindButton,
15774
- g1 as SelectionTimeInputs,
15784
+ v1 as SelectionTimeInputs,
15775
15785
  u1 as SetLoopRegionButton,
15776
15786
  i1 as SkipBackwardButton,
15777
15787
  l1 as SkipForwardButton,
15778
15788
  Ko as SnapToGridModifier,
15779
- C1 as SpectrogramIntegrationProvider,
15789
+ x1 as SpectrogramIntegrationProvider,
15780
15790
  o1 as StopButton,
15781
- p1 as TimeFormatSelect,
15791
+ m1 as TimeFormatSelect,
15782
15792
  nh as Tone,
15783
- E1 as Waveform,
15793
+ I1 as Waveform,
15784
15794
  e1 as WaveformPlaylistProvider,
15785
- d1 as ZoomInButton,
15786
- f1 as ZoomOutButton,
15795
+ f1 as ZoomInButton,
15796
+ h1 as ZoomOutButton,
15787
15797
  Kb as createEffectChain,
15788
15798
  jo as createEffectInstance,
15789
15799
  jb as effectCategories,
@@ -15813,12 +15823,12 @@ export {
15813
15823
  Tf as useMediaElementControls,
15814
15824
  Zi as useMediaElementData,
15815
15825
  zi as useMediaElementState,
15816
- kt as usePlaybackAnimation,
15826
+ Ct as usePlaybackAnimation,
15817
15827
  Ub as usePlaybackShortcuts,
15818
- Ve as usePlaylistControls,
15819
- xt as usePlaylistData,
15820
- Ct as usePlaylistState,
15821
- x1 as useSpectrogramIntegration,
15828
+ Fe as usePlaylistControls,
15829
+ Et as usePlaylistData,
15830
+ xt as usePlaylistState,
15831
+ E1 as useSpectrogramIntegration,
15822
15832
  ay as useTimeFormat,
15823
15833
  Jb as useTrackDynamicEffects,
15824
15834
  sy as useZoomControls,