@video-editor/protocol 0.0.1-beta.15 → 0.0.1-beta.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +385 -382
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,26 +1,26 @@
1
- function pu(a) {
1
+ function _u(a) {
2
2
  return a.segmentType === "frames" && "type" in a && a.type === "video";
3
3
  }
4
- function _u(a) {
4
+ function mu(a) {
5
5
  return a.segmentType === "audio";
6
6
  }
7
7
  // @__NO_SIDE_EFFECTS__
8
- function mu(a) {
8
+ function yu(a) {
9
9
  const o = /* @__PURE__ */ Object.create(null);
10
10
  for (const u of a.split(",")) o[u] = 1;
11
11
  return (u) => u in o;
12
12
  }
13
13
  process.env.NODE_ENV !== "production" && Object.freeze({});
14
14
  process.env.NODE_ENV !== "production" && Object.freeze([]);
15
- const Fn = Object.assign, yu = Object.prototype.hasOwnProperty, Rn = (a, o) => yu.call(a, o), li = Array.isArray, ii = (a) => _l(a) === "[object Map]", gu = (a) => typeof a == "function", vu = (a) => typeof a == "string", wi = (a) => typeof a == "symbol", ui = (a) => a !== null && typeof a == "object", bu = Object.prototype.toString, _l = (a) => bu.call(a), ml = (a) => _l(a).slice(8, -1), Xn = (a) => vu(a) && a !== "NaN" && a[0] !== "-" && "" + parseInt(a, 10) === a, wu = (a) => {
15
+ const Fn = Object.assign, gu = Object.prototype.hasOwnProperty, Rn = (a, o) => gu.call(a, o), li = Array.isArray, ii = (a) => _l(a) === "[object Map]", vu = (a) => typeof a == "function", bu = (a) => typeof a == "string", wi = (a) => typeof a == "symbol", ui = (a) => a !== null && typeof a == "object", wu = Object.prototype.toString, _l = (a) => wu.call(a), ml = (a) => _l(a).slice(8, -1), Xn = (a) => bu(a) && a !== "NaN" && a[0] !== "-" && "" + parseInt(a, 10) === a, Su = (a) => {
16
16
  const o = /* @__PURE__ */ Object.create(null);
17
17
  return ((u) => o[u] || (o[u] = a(u)));
18
- }, Su = wu((a) => a.charAt(0).toUpperCase() + a.slice(1)), mt = (a, o) => !Object.is(a, o);
18
+ }, xu = Su((a) => a.charAt(0).toUpperCase() + a.slice(1)), mt = (a, o) => !Object.is(a, o);
19
19
  function st(a, ...o) {
20
20
  console.warn(`[Vue warn] ${a}`, ...o);
21
21
  }
22
22
  let oe, yl = 0, ri, ni;
23
- function xu(a, o = !1) {
23
+ function Uu(a, o = !1) {
24
24
  if (a.flags |= 8, o) {
25
25
  a.next = ni, ni = a;
26
26
  return;
@@ -56,38 +56,38 @@ function Qn() {
56
56
  }
57
57
  if (a) throw a;
58
58
  }
59
- function Uu(a) {
59
+ function Eu(a) {
60
60
  for (let o = a.deps; o; o = o.nextDep)
61
61
  o.version = -1, o.prevActiveLink = o.dep.activeLink, o.dep.activeLink = o;
62
62
  }
63
- function Eu(a) {
63
+ function Tu(a) {
64
64
  let o, u = a.depsTail, f = u;
65
65
  for (; f; ) {
66
66
  const h = f.prevDep;
67
- f.version === -1 ? (f === u && (u = h), vl(f), Iu(f)) : o = f, f.dep.activeLink = f.prevActiveLink, f.prevActiveLink = void 0, f = h;
67
+ f.version === -1 ? (f === u && (u = h), vl(f), Pu(f)) : o = f, f.dep.activeLink = f.prevActiveLink, f.prevActiveLink = void 0, f = h;
68
68
  }
69
69
  a.deps = o, a.depsTail = u;
70
70
  }
71
- function Tu(a) {
71
+ function Iu(a) {
72
72
  for (let o = a.deps; o; o = o.nextDep)
73
73
  if (o.dep.version !== o.version || o.dep.computed && (gl(o.dep.computed) || o.dep.version !== o.version))
74
74
  return !0;
75
75
  return !!a._dirty;
76
76
  }
77
77
  function gl(a) {
78
- if (a.flags & 4 && !(a.flags & 16) || (a.flags &= -17, a.globalVersion === fi) || (a.globalVersion = fi, !a.isSSR && a.flags & 128 && (!a.deps && !a._dirty || !Tu(a))))
78
+ if (a.flags & 4 && !(a.flags & 16) || (a.flags &= -17, a.globalVersion === fi) || (a.globalVersion = fi, !a.isSSR && a.flags & 128 && (!a.deps && !a._dirty || !Iu(a))))
79
79
  return;
80
80
  a.flags |= 2;
81
81
  const o = a.dep, u = oe, f = Ke;
82
82
  oe = a, Ke = !0;
83
83
  try {
84
- Uu(a);
84
+ Eu(a);
85
85
  const h = a.fn(a._value);
86
86
  (o.version === 0 || mt(h, a._value)) && (a.flags |= 128, a._value = h, o.version++);
87
87
  } catch (h) {
88
88
  throw o.version++, h;
89
89
  } finally {
90
- oe = u, Ke = f, Eu(a), a.flags &= -3;
90
+ oe = u, Ke = f, Tu(a), a.flags &= -3;
91
91
  }
92
92
  }
93
93
  function vl(a, o = !1) {
@@ -99,21 +99,21 @@ function vl(a, o = !1) {
99
99
  }
100
100
  !o && !--u.sc && u.map && u.map.delete(u.key);
101
101
  }
102
- function Iu(a) {
102
+ function Pu(a) {
103
103
  const { prevDep: o, nextDep: u } = a;
104
104
  o && (o.nextDep = u, a.prevDep = void 0), u && (u.prevDep = o, a.nextDep = void 0);
105
105
  }
106
106
  let Ke = !0;
107
107
  const bl = [];
108
- function Pu() {
108
+ function Au() {
109
109
  bl.push(Ke), Ke = !1;
110
110
  }
111
- function Au() {
111
+ function Cu() {
112
112
  const a = bl.pop();
113
113
  Ke = a === void 0 ? !0 : a;
114
114
  }
115
115
  let fi = 0;
116
- class Cu {
116
+ class zu {
117
117
  constructor(o, u) {
118
118
  this.sub = o, this.dep = u, this.version = u.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
119
119
  }
@@ -128,7 +128,7 @@ class es {
128
128
  return;
129
129
  let u = this.activeLink;
130
130
  if (u === void 0 || u.sub !== oe)
131
- u = this.activeLink = new Cu(oe, this), oe.deps ? (u.prevDep = oe.depsTail, oe.depsTail.nextDep = u, oe.depsTail = u) : oe.deps = oe.depsTail = u, wl(u);
131
+ u = this.activeLink = new zu(oe, this), oe.deps ? (u.prevDep = oe.depsTail, oe.depsTail.nextDep = u, oe.depsTail = u) : oe.deps = oe.depsTail = u, wl(u);
132
132
  else if (u.version === -1 && (u.version = this.version, u.nextDep)) {
133
133
  const f = u.nextDep;
134
134
  f.prevDep = u.prevDep, u.prevDep && (u.prevDep.nextDep = f), u.prevDep = oe.depsTail, u.nextDep = void 0, oe.depsTail.nextDep = u, oe.depsTail = u, oe.deps === u && (oe.deps = f);
@@ -246,7 +246,7 @@ function ts(a) {
246
246
  function je(a, o) {
247
247
  return We(a) ? Pl(a) ? ci($e(o)) : ci(o) : $e(o);
248
248
  }
249
- const zu = {
249
+ const Fu = {
250
250
  __proto__: null,
251
251
  [Symbol.iterator]() {
252
252
  return ln(this, Symbol.iterator, (a) => je(this, a));
@@ -363,10 +363,10 @@ function ln(a, o, u) {
363
363
  return p.done || (p.value = u(p.value)), p;
364
364
  }), h;
365
365
  }
366
- const Fu = Array.prototype;
366
+ const Ru = Array.prototype;
367
367
  function ze(a, o, u, f, h, p) {
368
368
  const y = ts(a), n = y !== a && !Ze(a), v = y[o];
369
- if (v !== Fu[o]) {
369
+ if (v !== Ru[o]) {
370
370
  const U = v.apply(a, p);
371
371
  return n ? $e(U) : U;
372
372
  }
@@ -392,17 +392,17 @@ function un(a, o, u) {
392
392
  const f = ne(a);
393
393
  ge(f, "iterate", di);
394
394
  const h = f[o](...u);
395
- return (h === -1 || h === !1) && Yu(u[0]) ? (u[0] = ne(u[0]), f[o](...u)) : h;
395
+ return (h === -1 || h === !1) && Ku(u[0]) ? (u[0] = ne(u[0]), f[o](...u)) : h;
396
396
  }
397
397
  function It(a, o, u = []) {
398
- Pu(), Jn();
398
+ Au(), Jn();
399
399
  const f = ne(a)[o].apply(a, u);
400
- return Qn(), Au(), f;
400
+ return Qn(), Cu(), f;
401
401
  }
402
- const Ru = /* @__PURE__ */ mu("__proto__,__v_isRef,__isVue"), Sl = new Set(
402
+ const ku = /* @__PURE__ */ yu("__proto__,__v_isRef,__isVue"), Sl = new Set(
403
403
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((a) => a !== "arguments" && a !== "caller").map((a) => Symbol[a]).filter(wi)
404
404
  );
405
- function ku(a) {
405
+ function Bu(a) {
406
406
  wi(a) || (a = String(a));
407
407
  const o = ne(this);
408
408
  return ge(o, "has", a), o.hasOwnProperty(a);
@@ -421,16 +421,16 @@ class xl {
421
421
  if (u === "__v_isShallow")
422
422
  return p;
423
423
  if (u === "__v_raw")
424
- return f === (h ? p ? qu : Tl : p ? Gu : El).get(o) || // receiver is not the reactive proxy, but has the same prototype
424
+ return f === (h ? p ? Vu : Tl : p ? qu : El).get(o) || // receiver is not the reactive proxy, but has the same prototype
425
425
  // this means the receiver is a user proxy of the reactive proxy
426
426
  Object.getPrototypeOf(o) === Object.getPrototypeOf(f) ? o : void 0;
427
427
  const y = li(o);
428
428
  if (!h) {
429
429
  let v;
430
- if (y && (v = zu[u]))
430
+ if (y && (v = Fu[u]))
431
431
  return v;
432
432
  if (u === "hasOwnProperty")
433
- return ku;
433
+ return Bu;
434
434
  }
435
435
  const n = Reflect.get(
436
436
  o,
@@ -440,7 +440,7 @@ class xl {
440
440
  // its class methods
441
441
  yt(o) ? o : f
442
442
  );
443
- if ((wi(u) ? Sl.has(u) : Ru(u)) || (h || ge(o, "get", u), p))
443
+ if ((wi(u) ? Sl.has(u) : ku(u)) || (h || ge(o, "get", u), p))
444
444
  return n;
445
445
  if (yt(n)) {
446
446
  const v = y && Xn(u) ? n : n.value;
@@ -449,7 +449,7 @@ class xl {
449
449
  return ui(n) ? h ? Gr(n) : is(n) : n;
450
450
  }
451
451
  }
452
- class Bu extends xl {
452
+ class Du extends xl {
453
453
  constructor(o = !1) {
454
454
  super(!1, o);
455
455
  }
@@ -488,7 +488,7 @@ class Bu extends xl {
488
488
  ), Reflect.ownKeys(o);
489
489
  }
490
490
  }
491
- class Du extends xl {
491
+ class Lu extends xl {
492
492
  constructor(o = !1) {
493
493
  super(!0, o);
494
494
  }
@@ -505,8 +505,8 @@ class Du extends xl {
505
505
  ), !0;
506
506
  }
507
507
  }
508
- const Lu = /* @__PURE__ */ new Bu(), $u = /* @__PURE__ */ new Du(), Dn = (a) => a, zi = (a) => Reflect.getPrototypeOf(a);
509
- function Nu(a, o, u) {
508
+ const $u = /* @__PURE__ */ new Du(), Nu = /* @__PURE__ */ new Lu(), Dn = (a) => a, zi = (a) => Reflect.getPrototypeOf(a);
509
+ function Ou(a, o, u) {
510
510
  return function(...f) {
511
511
  const h = this.__v_raw, p = ne(h), y = ii(p), n = a === "entries" || a === Symbol.iterator && y, v = a === "keys" && y, w = h[a](...f), g = u ? Dn : o ? ci : $e;
512
512
  return !o && ge(
@@ -534,14 +534,14 @@ function Fi(a) {
534
534
  if (process.env.NODE_ENV !== "production") {
535
535
  const u = o[0] ? `on key "${o[0]}" ` : "";
536
536
  st(
537
- `${Su(a)} operation ${u}failed: target is readonly.`,
537
+ `${xu(a)} operation ${u}failed: target is readonly.`,
538
538
  ne(this)
539
539
  );
540
540
  }
541
541
  return a === "delete" ? !1 : a === "clear" ? void 0 : this;
542
542
  };
543
543
  }
544
- function Ou(a, o) {
544
+ function Mu(a, o) {
545
545
  const u = {
546
546
  get(h) {
547
547
  const p = this.__v_raw, y = ne(p), n = ne(h);
@@ -611,20 +611,20 @@ function Ou(a, o) {
611
611
  "entries",
612
612
  Symbol.iterator
613
613
  ].forEach((h) => {
614
- u[h] = Nu(h, a, o);
614
+ u[h] = Ou(h, a, o);
615
615
  }), u;
616
616
  }
617
617
  function Ul(a, o) {
618
- const u = Ou(a, o);
618
+ const u = Mu(a, o);
619
619
  return (f, h, p) => h === "__v_isReactive" ? !a : h === "__v_isReadonly" ? a : h === "__v_raw" ? f : Reflect.get(
620
620
  Rn(u, h) && h in f ? u : f,
621
621
  h,
622
622
  p
623
623
  );
624
624
  }
625
- const Mu = {
625
+ const ju = {
626
626
  get: /* @__PURE__ */ Ul(!1, !1)
627
- }, ju = {
627
+ }, Gu = {
628
628
  get: /* @__PURE__ */ Ul(!0, !1)
629
629
  };
630
630
  function Ss(a, o, u) {
@@ -636,8 +636,8 @@ function Ss(a, o, u) {
636
636
  );
637
637
  }
638
638
  }
639
- const El = /* @__PURE__ */ new WeakMap(), Gu = /* @__PURE__ */ new WeakMap(), Tl = /* @__PURE__ */ new WeakMap(), qu = /* @__PURE__ */ new WeakMap();
640
- function Vu(a) {
639
+ const El = /* @__PURE__ */ new WeakMap(), qu = /* @__PURE__ */ new WeakMap(), Tl = /* @__PURE__ */ new WeakMap(), Vu = /* @__PURE__ */ new WeakMap();
640
+ function Hu(a) {
641
641
  switch (a) {
642
642
  case "Object":
643
643
  case "Array":
@@ -651,15 +651,15 @@ function Vu(a) {
651
651
  return 0;
652
652
  }
653
653
  }
654
- function Hu(a) {
655
- return a.__v_skip || !Object.isExtensible(a) ? 0 : Vu(ml(a));
654
+ function Yu(a) {
655
+ return a.__v_skip || !Object.isExtensible(a) ? 0 : Hu(ml(a));
656
656
  }
657
657
  function is(a) {
658
658
  return We(a) ? a : Il(
659
659
  a,
660
660
  !1,
661
- Lu,
662
- Mu,
661
+ $u,
662
+ ju,
663
663
  El
664
664
  );
665
665
  }
@@ -667,8 +667,8 @@ function Gr(a) {
667
667
  return Il(
668
668
  a,
669
669
  !0,
670
- $u,
671
- ju,
670
+ Nu,
671
+ Gu,
672
672
  Tl
673
673
  );
674
674
  }
@@ -681,7 +681,7 @@ function Il(a, o, u, f, h) {
681
681
  ), a;
682
682
  if (a.__v_raw && !(o && a.__v_isReactive))
683
683
  return a;
684
- const p = Hu(a);
684
+ const p = Yu(a);
685
685
  if (p === 0)
686
686
  return a;
687
687
  const y = h.get(a);
@@ -702,7 +702,7 @@ function We(a) {
702
702
  function Ze(a) {
703
703
  return !!(a && a.__v_isShallow);
704
704
  }
705
- function Yu(a) {
705
+ function Ku(a) {
706
706
  return a ? !!a.__v_raw : !1;
707
707
  }
708
708
  function ne(a) {
@@ -716,13 +716,13 @@ function yt(a) {
716
716
  function si(a) {
717
717
  return Al(a, !1);
718
718
  }
719
- function Ku(a) {
719
+ function Wu(a) {
720
720
  return Al(a, !0);
721
721
  }
722
722
  function Al(a, o) {
723
- return yt(a) ? a : new Wu(a, o);
723
+ return yt(a) ? a : new Zu(a, o);
724
724
  }
725
- class Wu {
725
+ class Zu {
726
726
  constructor(o, u) {
727
727
  this.dep = new es(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = u ? o : ne(o), this._value = u ? o : $e(o), this.__v_isShallow = u;
728
728
  }
@@ -744,7 +744,7 @@ class Wu {
744
744
  }) : this.dep.trigger());
745
745
  }
746
746
  }
747
- class Zu {
747
+ class Xu {
748
748
  constructor(o, u, f) {
749
749
  this.fn = o, this.setter = u, this._value = void 0, this.dep = new es(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = fi - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !u, this.isSSR = f;
750
750
  }
@@ -754,7 +754,7 @@ class Zu {
754
754
  notify() {
755
755
  if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
756
756
  oe !== this)
757
- return xu(this, !0), !0;
757
+ return Uu(this, !0), !0;
758
758
  process.env.NODE_ENV;
759
759
  }
760
760
  get value() {
@@ -771,8 +771,8 @@ class Zu {
771
771
  }
772
772
  function Ve(a, o, u = !1) {
773
773
  let f, h;
774
- gu(a) ? f = a : (f = a.get, h = a.set);
775
- const p = new Zu(f, h, u);
774
+ vu(a) ? f = a : (f = a.get, h = a.set);
775
+ const p = new Xu(f, h, u);
776
776
  return process.env.NODE_ENV, p;
777
777
  }
778
778
  function wt(a) {
@@ -1839,7 +1839,7 @@ function Si() {
1839
1839
  })(dn)), dn;
1840
1840
  }
1841
1841
  var Cs;
1842
- function Xu() {
1842
+ function Ju() {
1843
1843
  if (Cs) return Qe;
1844
1844
  Cs = 1, Object.defineProperty(Qe, "__esModule", { value: !0 }), Qe.boolOrEmptySchema = Qe.topBoolOrEmptySchema = void 0;
1845
1845
  const a = Si(), o = Q(), u = Oe(), f = {
@@ -2064,7 +2064,7 @@ function qr() {
2064
2064
  return he;
2065
2065
  }
2066
2066
  var Pt = {}, ks;
2067
- function Ju() {
2067
+ function Qu() {
2068
2068
  if (ks) return Pt;
2069
2069
  ks = 1, Object.defineProperty(Pt, "__esModule", { value: !0 }), Pt.assignDefaults = void 0;
2070
2070
  const a = Q(), o = se();
@@ -2200,7 +2200,7 @@ function Pe() {
2200
2200
  return ae.validateUnion = c, ae;
2201
2201
  }
2202
2202
  var Ds;
2203
- function Qu() {
2203
+ function ef() {
2204
2204
  if (Ds) return Te;
2205
2205
  Ds = 1, Object.defineProperty(Te, "__esModule", { value: !0 }), Te.validateKeywordUsage = Te.validSchemaType = Te.funcKeywordCode = Te.macroKeywordCode = void 0;
2206
2206
  const a = Q(), o = Oe(), u = Pe(), f = Si();
@@ -2289,7 +2289,7 @@ function Qu() {
2289
2289
  return Te.validateKeywordUsage = U, Te;
2290
2290
  }
2291
2291
  var ke = {}, Ls;
2292
- function ef() {
2292
+ function tf() {
2293
2293
  if (Ls) return ke;
2294
2294
  Ls = 1, Object.defineProperty(ke, "__esModule", { value: !0 }), ke.extendSubschemaMode = ke.extendSubschemaData = ke.getSubschema = void 0;
2295
2295
  const a = Q(), o = se();
@@ -2373,7 +2373,7 @@ function rs() {
2373
2373
  }), _n;
2374
2374
  }
2375
2375
  var mn = { exports: {} }, Ns;
2376
- function tf() {
2376
+ function rf() {
2377
2377
  if (Ns) return mn.exports;
2378
2378
  Ns = 1;
2379
2379
  var a = mn.exports = function(f, h, p) {
@@ -2451,7 +2451,7 @@ var Os;
2451
2451
  function Jr() {
2452
2452
  if (Os) return pe;
2453
2453
  Os = 1, Object.defineProperty(pe, "__esModule", { value: !0 }), pe.getSchemaRefs = pe.resolveUrl = pe.normalizeId = pe._getFullPath = pe.getFullPath = pe.inlineRef = void 0;
2454
- const a = se(), o = rs(), u = tf(), f = /* @__PURE__ */ new Set([
2454
+ const a = se(), o = rs(), u = rf(), f = /* @__PURE__ */ new Set([
2455
2455
  "type",
2456
2456
  "format",
2457
2457
  "pattern",
@@ -2560,7 +2560,7 @@ var Ms;
2560
2560
  function xi() {
2561
2561
  if (Ms) return Fe;
2562
2562
  Ms = 1, Object.defineProperty(Fe, "__esModule", { value: !0 }), Fe.getData = Fe.KeywordCxt = Fe.validateFunctionCode = void 0;
2563
- const a = Xu(), o = qr(), u = zl(), f = qr(), h = Ju(), p = Qu(), y = ef(), n = Q(), v = Oe(), w = Jr(), g = se(), U = Si();
2563
+ const a = Ju(), o = qr(), u = zl(), f = qr(), h = Qu(), p = ef(), y = tf(), n = Q(), v = Oe(), w = Jr(), g = se(), U = Si();
2564
2564
  function t(R) {
2565
2565
  if (b(R) && (E(R), m(R))) {
2566
2566
  s(R);
@@ -3050,16 +3050,16 @@ function ss() {
3050
3050
  }
3051
3051
  return ve;
3052
3052
  }
3053
- const rf = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", nf = "Meta-schema for $data reference (JSON AnySchema extension proposal)", sf = "object", af = ["$data"], of = { $data: { type: "string", anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }] } }, lf = !1, uf = {
3054
- $id: rf,
3055
- description: nf,
3056
- type: sf,
3057
- required: af,
3058
- properties: of,
3059
- additionalProperties: lf
3053
+ const nf = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", sf = "Meta-schema for $data reference (JSON AnySchema extension proposal)", af = "object", of = ["$data"], lf = { $data: { type: "string", anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }] } }, uf = !1, ff = {
3054
+ $id: nf,
3055
+ description: sf,
3056
+ type: af,
3057
+ required: of,
3058
+ properties: lf,
3059
+ additionalProperties: uf
3060
3060
  };
3061
3061
  var Li = {}, At = { exports: {} }, yn, Vs;
3062
- function ff() {
3062
+ function df() {
3063
3063
  return Vs || (Vs = 1, yn = {
3064
3064
  HEX: {
3065
3065
  0: 0,
@@ -3088,10 +3088,10 @@ function ff() {
3088
3088
  }), yn;
3089
3089
  }
3090
3090
  var gn, Hs;
3091
- function df() {
3091
+ function cf() {
3092
3092
  if (Hs) return gn;
3093
3093
  Hs = 1;
3094
- const { HEX: a } = ff(), o = /^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;
3094
+ const { HEX: a } = df(), o = /^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;
3095
3095
  function u(r) {
3096
3096
  if (n(r, ".") < 3)
3097
3097
  return { host: r, isIPV4: !1 };
@@ -3223,7 +3223,7 @@ function df() {
3223
3223
  }, gn;
3224
3224
  }
3225
3225
  var vn, Ys;
3226
- function cf() {
3226
+ function hf() {
3227
3227
  if (Ys) return vn;
3228
3228
  Ys = 1;
3229
3229
  const a = /^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu, o = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
@@ -3315,10 +3315,10 @@ function cf() {
3315
3315
  return vn = c, vn;
3316
3316
  }
3317
3317
  var Ks;
3318
- function hf() {
3318
+ function pf() {
3319
3319
  if (Ks) return At.exports;
3320
3320
  Ks = 1;
3321
- const { normalizeIPv6: a, normalizeIPv4: o, removeDotSegments: u, recomposeAuthority: f, normalizeComponentEncoding: h } = df(), p = cf();
3321
+ const { normalizeIPv6: a, normalizeIPv4: o, removeDotSegments: u, recomposeAuthority: f, normalizeComponentEncoding: h } = cf(), p = hf();
3322
3322
  function y(s, c) {
3323
3323
  return typeof s == "string" ? s = g(e(s, c), c) : typeof s == "object" && (s = e(g(s, c), c)), s;
3324
3324
  }
@@ -3414,14 +3414,14 @@ function hf() {
3414
3414
  return At.exports = r, At.exports.default = r, At.exports.fastUri = r, At.exports;
3415
3415
  }
3416
3416
  var Ws;
3417
- function pf() {
3417
+ function _f() {
3418
3418
  if (Ws) return Li;
3419
3419
  Ws = 1, Object.defineProperty(Li, "__esModule", { value: !0 });
3420
- const a = hf();
3420
+ const a = pf();
3421
3421
  return a.code = 'require("ajv/dist/runtime/uri").default', Li.default = a, Li;
3422
3422
  }
3423
3423
  var Zs;
3424
- function _f() {
3424
+ function mf() {
3425
3425
  return Zs || (Zs = 1, (function(a) {
3426
3426
  Object.defineProperty(a, "__esModule", { value: !0 }), a.CodeGen = a.Name = a.nil = a.stringify = a.str = a._ = a.KeywordCxt = void 0;
3427
3427
  var o = xi();
@@ -3442,7 +3442,7 @@ function _f() {
3442
3442
  } }), Object.defineProperty(a, "CodeGen", { enumerable: !0, get: function() {
3443
3443
  return u.CodeGen;
3444
3444
  } });
3445
- const f = ns(), h = Qr(), p = Cl(), y = ss(), n = Q(), v = Jr(), w = qr(), g = se(), U = uf, t = pf(), l = (D, C) => new RegExp(D, C);
3445
+ const f = ns(), h = Qr(), p = Cl(), y = ss(), n = Q(), v = Jr(), w = qr(), g = se(), U = ff, t = _f(), l = (D, C) => new RegExp(D, C);
3446
3446
  l.code = "new RegExp";
3447
3447
  const e = ["removeAdditional", "useDefaults", "coerceTypes"], r = /* @__PURE__ */ new Set([
3448
3448
  "validate",
@@ -3481,7 +3481,7 @@ function _f() {
3481
3481
  }, d = 200;
3482
3482
  function _(D) {
3483
3483
  var C, F, T, x, P, B, N, M, Z, X, R, k, O, Y, J, te, de, Ee, me, ye, ce, ut, we, sn, an;
3484
- const Tt = D.strict, on = (C = D.code) === null || C === void 0 ? void 0 : C.optimize, vs = on === !0 || on === void 0 ? 1 : on || 0, bs = (T = (F = D.code) === null || F === void 0 ? void 0 : F.regExp) !== null && T !== void 0 ? T : l, hu = (x = D.uriResolver) !== null && x !== void 0 ? x : t.default;
3484
+ const Tt = D.strict, on = (C = D.code) === null || C === void 0 ? void 0 : C.optimize, vs = on === !0 || on === void 0 ? 1 : on || 0, bs = (T = (F = D.code) === null || F === void 0 ? void 0 : F.regExp) !== null && T !== void 0 ? T : l, pu = (x = D.uriResolver) !== null && x !== void 0 ? x : t.default;
3485
3485
  return {
3486
3486
  strictSchema: (B = (P = D.strictSchema) !== null && P !== void 0 ? P : Tt) !== null && B !== void 0 ? B : !0,
3487
3487
  strictNumbers: (M = (N = D.strictNumbers) !== null && N !== void 0 ? N : Tt) !== null && M !== void 0 ? M : !0,
@@ -3500,7 +3500,7 @@ function _f() {
3500
3500
  validateFormats: (we = D.validateFormats) !== null && we !== void 0 ? we : !0,
3501
3501
  unicodeRegExp: (sn = D.unicodeRegExp) !== null && sn !== void 0 ? sn : !0,
3502
3502
  int32range: (an = D.int32range) !== null && an !== void 0 ? an : !0,
3503
- uriResolver: hu
3503
+ uriResolver: pu
3504
3504
  };
3505
3505
  }
3506
3506
  class m {
@@ -3864,7 +3864,7 @@ function _f() {
3864
3864
  })(fn)), fn;
3865
3865
  }
3866
3866
  var $i = {}, Ni = {}, Oi = {}, Xs;
3867
- function mf() {
3867
+ function yf() {
3868
3868
  if (Xs) return Oi;
3869
3869
  Xs = 1, Object.defineProperty(Oi, "__esModule", { value: !0 });
3870
3870
  const a = {
@@ -3876,7 +3876,7 @@ function mf() {
3876
3876
  return Oi.default = a, Oi;
3877
3877
  }
3878
3878
  var Me = {}, Js;
3879
- function yf() {
3879
+ function gf() {
3880
3880
  if (Js) return Me;
3881
3881
  Js = 1, Object.defineProperty(Me, "__esModule", { value: !0 }), Me.callRef = Me.getValidate = void 0;
3882
3882
  const a = Qr(), o = Pe(), u = Q(), f = Oe(), h = ss(), p = se(), y = {
@@ -3963,10 +3963,10 @@ function yf() {
3963
3963
  return Me.callRef = v, Me.default = y, Me;
3964
3964
  }
3965
3965
  var Qs;
3966
- function gf() {
3966
+ function vf() {
3967
3967
  if (Qs) return Ni;
3968
3968
  Qs = 1, Object.defineProperty(Ni, "__esModule", { value: !0 });
3969
- const a = mf(), o = yf(), u = [
3969
+ const a = yf(), o = gf(), u = [
3970
3970
  "$schema",
3971
3971
  "$id",
3972
3972
  "$defs",
@@ -3979,7 +3979,7 @@ function gf() {
3979
3979
  return Ni.default = u, Ni;
3980
3980
  }
3981
3981
  var Mi = {}, ji = {}, ea;
3982
- function vf() {
3982
+ function bf() {
3983
3983
  if (ea) return ji;
3984
3984
  ea = 1, Object.defineProperty(ji, "__esModule", { value: !0 });
3985
3985
  const a = Q(), o = a.operators, u = {
@@ -4004,7 +4004,7 @@ function vf() {
4004
4004
  return ji.default = h, ji;
4005
4005
  }
4006
4006
  var Gi = {}, ta;
4007
- function bf() {
4007
+ function wf() {
4008
4008
  if (ta) return Gi;
4009
4009
  ta = 1, Object.defineProperty(Gi, "__esModule", { value: !0 });
4010
4010
  const a = Q(), u = {
@@ -4024,7 +4024,7 @@ function bf() {
4024
4024
  return Gi.default = u, Gi;
4025
4025
  }
4026
4026
  var qi = {}, Vi = {}, ia;
4027
- function wf() {
4027
+ function Sf() {
4028
4028
  if (ia) return Vi;
4029
4029
  ia = 1, Object.defineProperty(Vi, "__esModule", { value: !0 });
4030
4030
  function a(o) {
@@ -4037,10 +4037,10 @@ function wf() {
4037
4037
  return Vi.default = a, a.code = 'require("ajv/dist/runtime/ucs2length").default', Vi;
4038
4038
  }
4039
4039
  var ra;
4040
- function Sf() {
4040
+ function xf() {
4041
4041
  if (ra) return qi;
4042
4042
  ra = 1, Object.defineProperty(qi, "__esModule", { value: !0 });
4043
- const a = Q(), o = se(), u = wf(), h = {
4043
+ const a = Q(), o = se(), u = Sf(), h = {
4044
4044
  keyword: ["maxLength", "minLength"],
4045
4045
  type: "string",
4046
4046
  schemaType: "number",
@@ -4060,7 +4060,7 @@ function Sf() {
4060
4060
  return qi.default = h, qi;
4061
4061
  }
4062
4062
  var Hi = {}, na;
4063
- function xf() {
4063
+ function Uf() {
4064
4064
  if (na) return Hi;
4065
4065
  na = 1, Object.defineProperty(Hi, "__esModule", { value: !0 });
4066
4066
  const a = Pe(), o = Q(), f = {
@@ -4080,7 +4080,7 @@ function xf() {
4080
4080
  return Hi.default = f, Hi;
4081
4081
  }
4082
4082
  var Yi = {}, sa;
4083
- function Uf() {
4083
+ function Ef() {
4084
4084
  if (sa) return Yi;
4085
4085
  sa = 1, Object.defineProperty(Yi, "__esModule", { value: !0 });
4086
4086
  const a = Q(), u = {
@@ -4103,7 +4103,7 @@ function Uf() {
4103
4103
  return Yi.default = u, Yi;
4104
4104
  }
4105
4105
  var Ki = {}, aa;
4106
- function Ef() {
4106
+ function Tf() {
4107
4107
  if (aa) return Ki;
4108
4108
  aa = 1, Object.defineProperty(Ki, "__esModule", { value: !0 });
4109
4109
  const a = Pe(), o = Q(), u = se(), h = {
@@ -4160,7 +4160,7 @@ function Ef() {
4160
4160
  return Ki.default = h, Ki;
4161
4161
  }
4162
4162
  var Wi = {}, oa;
4163
- function Tf() {
4163
+ function If() {
4164
4164
  if (oa) return Wi;
4165
4165
  oa = 1, Object.defineProperty(Wi, "__esModule", { value: !0 });
4166
4166
  const a = Q(), u = {
@@ -4190,7 +4190,7 @@ function as() {
4190
4190
  return a.code = 'require("ajv/dist/runtime/equal").default', Xi.default = a, Xi;
4191
4191
  }
4192
4192
  var ua;
4193
- function If() {
4193
+ function Pf() {
4194
4194
  if (ua) return Zi;
4195
4195
  ua = 1, Object.defineProperty(Zi, "__esModule", { value: !0 });
4196
4196
  const a = qr(), o = Q(), u = se(), f = as(), p = {
@@ -4234,7 +4234,7 @@ function If() {
4234
4234
  return Zi.default = p, Zi;
4235
4235
  }
4236
4236
  var Ji = {}, fa;
4237
- function Pf() {
4237
+ function Af() {
4238
4238
  if (fa) return Ji;
4239
4239
  fa = 1, Object.defineProperty(Ji, "__esModule", { value: !0 });
4240
4240
  const a = Q(), o = se(), u = as(), h = {
@@ -4252,7 +4252,7 @@ function Pf() {
4252
4252
  return Ji.default = h, Ji;
4253
4253
  }
4254
4254
  var Qi = {}, da;
4255
- function Af() {
4255
+ function Cf() {
4256
4256
  if (da) return Qi;
4257
4257
  da = 1, Object.defineProperty(Qi, "__esModule", { value: !0 });
4258
4258
  const a = Q(), o = se(), u = as(), h = {
@@ -4292,10 +4292,10 @@ function Af() {
4292
4292
  return Qi.default = h, Qi;
4293
4293
  }
4294
4294
  var ca;
4295
- function Cf() {
4295
+ function zf() {
4296
4296
  if (ca) return Mi;
4297
4297
  ca = 1, Object.defineProperty(Mi, "__esModule", { value: !0 });
4298
- const a = vf(), o = bf(), u = Sf(), f = xf(), h = Uf(), p = Ef(), y = Tf(), n = If(), v = Pf(), w = Af(), g = [
4298
+ const a = bf(), o = wf(), u = xf(), f = Uf(), h = Ef(), p = Tf(), y = If(), n = Pf(), v = Af(), w = Cf(), g = [
4299
4299
  // number
4300
4300
  a.default,
4301
4301
  o.default,
@@ -4394,7 +4394,7 @@ function Rl() {
4394
4394
  return ct.validateTuple = h, ct.default = f, ct;
4395
4395
  }
4396
4396
  var _a;
4397
- function zf() {
4397
+ function Ff() {
4398
4398
  if (_a) return tr;
4399
4399
  _a = 1, Object.defineProperty(tr, "__esModule", { value: !0 });
4400
4400
  const a = Rl(), o = {
@@ -4407,7 +4407,7 @@ function zf() {
4407
4407
  return tr.default = o, tr;
4408
4408
  }
4409
4409
  var ir = {}, ma;
4410
- function Ff() {
4410
+ function Rf() {
4411
4411
  if (ma) return ir;
4412
4412
  ma = 1, Object.defineProperty(ir, "__esModule", { value: !0 });
4413
4413
  const a = Q(), o = se(), u = Pe(), f = Fl(), p = {
@@ -4427,7 +4427,7 @@ function Ff() {
4427
4427
  return ir.default = p, ir;
4428
4428
  }
4429
4429
  var rr = {}, ya;
4430
- function Rf() {
4430
+ function kf() {
4431
4431
  if (ya) return rr;
4432
4432
  ya = 1, Object.defineProperty(rr, "__esModule", { value: !0 });
4433
4433
  const a = Q(), o = se(), f = {
@@ -4484,7 +4484,7 @@ function Rf() {
4484
4484
  return rr.default = f, rr;
4485
4485
  }
4486
4486
  var bn = {}, ga;
4487
- function kf() {
4487
+ function Bf() {
4488
4488
  return ga || (ga = 1, (function(a) {
4489
4489
  Object.defineProperty(a, "__esModule", { value: !0 }), a.validateSchemaDeps = a.validatePropertyDeps = a.error = void 0;
4490
4490
  const o = Q(), u = se(), f = Pe();
@@ -4557,7 +4557,7 @@ function kf() {
4557
4557
  })(bn)), bn;
4558
4558
  }
4559
4559
  var nr = {}, va;
4560
- function Bf() {
4560
+ function Df() {
4561
4561
  if (va) return nr;
4562
4562
  va = 1, Object.defineProperty(nr, "__esModule", { value: !0 });
4563
4563
  const a = Q(), o = se(), f = {
@@ -4660,7 +4660,7 @@ function kl() {
4660
4660
  return sr.default = p, sr;
4661
4661
  }
4662
4662
  var ar = {}, wa;
4663
- function Df() {
4663
+ function Lf() {
4664
4664
  if (wa) return ar;
4665
4665
  wa = 1, Object.defineProperty(ar, "__esModule", { value: !0 });
4666
4666
  const a = xi(), o = Pe(), u = se(), f = kl(), h = {
@@ -4695,7 +4695,7 @@ function Df() {
4695
4695
  return ar.default = h, ar;
4696
4696
  }
4697
4697
  var or = {}, Sa;
4698
- function Lf() {
4698
+ function $f() {
4699
4699
  if (Sa) return or;
4700
4700
  Sa = 1, Object.defineProperty(or, "__esModule", { value: !0 });
4701
4701
  const a = Pe(), o = Q(), u = se(), f = se(), h = {
@@ -4736,7 +4736,7 @@ function Lf() {
4736
4736
  return or.default = h, or;
4737
4737
  }
4738
4738
  var lr = {}, xa;
4739
- function $f() {
4739
+ function Nf() {
4740
4740
  if (xa) return lr;
4741
4741
  xa = 1, Object.defineProperty(lr, "__esModule", { value: !0 });
4742
4742
  const a = se(), o = {
@@ -4762,7 +4762,7 @@ function $f() {
4762
4762
  return lr.default = o, lr;
4763
4763
  }
4764
4764
  var ur = {}, Ua;
4765
- function Nf() {
4765
+ function Of() {
4766
4766
  if (Ua) return ur;
4767
4767
  Ua = 1, Object.defineProperty(ur, "__esModule", { value: !0 });
4768
4768
  const o = {
@@ -4775,7 +4775,7 @@ function Nf() {
4775
4775
  return ur.default = o, ur;
4776
4776
  }
4777
4777
  var fr = {}, Ea;
4778
- function Of() {
4778
+ function Mf() {
4779
4779
  if (Ea) return fr;
4780
4780
  Ea = 1, Object.defineProperty(fr, "__esModule", { value: !0 });
4781
4781
  const a = Q(), o = se(), f = {
@@ -4811,7 +4811,7 @@ function Of() {
4811
4811
  return fr.default = f, fr;
4812
4812
  }
4813
4813
  var dr = {}, Ta;
4814
- function Mf() {
4814
+ function jf() {
4815
4815
  if (Ta) return dr;
4816
4816
  Ta = 1, Object.defineProperty(dr, "__esModule", { value: !0 });
4817
4817
  const a = se(), o = {
@@ -4833,7 +4833,7 @@ function Mf() {
4833
4833
  return dr.default = o, dr;
4834
4834
  }
4835
4835
  var cr = {}, Ia;
4836
- function jf() {
4836
+ function Gf() {
4837
4837
  if (Ia) return cr;
4838
4838
  Ia = 1, Object.defineProperty(cr, "__esModule", { value: !0 });
4839
4839
  const a = Q(), o = se(), f = {
@@ -4880,7 +4880,7 @@ function jf() {
4880
4880
  return cr.default = f, cr;
4881
4881
  }
4882
4882
  var hr = {}, Pa;
4883
- function Gf() {
4883
+ function qf() {
4884
4884
  if (Pa) return hr;
4885
4885
  Pa = 1, Object.defineProperty(hr, "__esModule", { value: !0 });
4886
4886
  const a = se(), o = {
@@ -4893,10 +4893,10 @@ function Gf() {
4893
4893
  return hr.default = o, hr;
4894
4894
  }
4895
4895
  var Aa;
4896
- function qf() {
4896
+ function Vf() {
4897
4897
  if (Aa) return er;
4898
4898
  Aa = 1, Object.defineProperty(er, "__esModule", { value: !0 });
4899
- const a = Fl(), o = zf(), u = Rl(), f = Ff(), h = Rf(), p = kf(), y = Bf(), n = kl(), v = Df(), w = Lf(), g = $f(), U = Nf(), t = Of(), l = Mf(), e = jf(), r = Gf();
4899
+ const a = Fl(), o = Ff(), u = Rl(), f = Rf(), h = kf(), p = Bf(), y = Df(), n = kl(), v = Lf(), w = $f(), g = Nf(), U = Of(), t = Mf(), l = jf(), e = Gf(), r = qf();
4900
4900
  function s(c = !1) {
4901
4901
  const d = [
4902
4902
  // any
@@ -4918,7 +4918,7 @@ function qf() {
4918
4918
  return er.default = s, er;
4919
4919
  }
4920
4920
  var pr = {}, _r = {}, Ca;
4921
- function Vf() {
4921
+ function Hf() {
4922
4922
  if (Ca) return _r;
4923
4923
  Ca = 1, Object.defineProperty(_r, "__esModule", { value: !0 });
4924
4924
  const a = Q(), u = {
@@ -4987,14 +4987,14 @@ function Vf() {
4987
4987
  return _r.default = u, _r;
4988
4988
  }
4989
4989
  var za;
4990
- function Hf() {
4990
+ function Yf() {
4991
4991
  if (za) return pr;
4992
4992
  za = 1, Object.defineProperty(pr, "__esModule", { value: !0 });
4993
- const o = [Vf().default];
4993
+ const o = [Hf().default];
4994
4994
  return pr.default = o, pr;
4995
4995
  }
4996
4996
  var tt = {}, Fa;
4997
- function Yf() {
4997
+ function Kf() {
4998
4998
  return Fa || (Fa = 1, Object.defineProperty(tt, "__esModule", { value: !0 }), tt.contentVocabulary = tt.metadataVocabulary = void 0, tt.metadataVocabulary = [
4999
4999
  "title",
5000
5000
  "description",
@@ -5010,10 +5010,10 @@ function Yf() {
5010
5010
  ]), tt;
5011
5011
  }
5012
5012
  var Ra;
5013
- function Kf() {
5013
+ function Wf() {
5014
5014
  if (Ra) return $i;
5015
5015
  Ra = 1, Object.defineProperty($i, "__esModule", { value: !0 });
5016
- const a = gf(), o = Cf(), u = qf(), f = Hf(), h = Yf(), p = [
5016
+ const a = vf(), o = zf(), u = Vf(), f = Yf(), h = Kf(), p = [
5017
5017
  a.default,
5018
5018
  o.default,
5019
5019
  (0, u.default)(),
@@ -5024,7 +5024,7 @@ function Kf() {
5024
5024
  return $i.default = p, $i;
5025
5025
  }
5026
5026
  var mr = {}, Ct = {}, ka;
5027
- function Wf() {
5027
+ function Zf() {
5028
5028
  if (ka) return Ct;
5029
5029
  ka = 1, Object.defineProperty(Ct, "__esModule", { value: !0 }), Ct.DiscrError = void 0;
5030
5030
  var a;
@@ -5033,10 +5033,10 @@ function Wf() {
5033
5033
  })(a || (Ct.DiscrError = a = {})), Ct;
5034
5034
  }
5035
5035
  var Ba;
5036
- function Zf() {
5036
+ function Xf() {
5037
5037
  if (Ba) return mr;
5038
5038
  Ba = 1, Object.defineProperty(mr, "__esModule", { value: !0 });
5039
- const a = Q(), o = Wf(), u = ss(), f = Qr(), h = se(), y = {
5039
+ const a = Q(), o = Zf(), u = ss(), f = Qr(), h = se(), y = {
5040
5040
  keyword: "discriminator",
5041
5041
  type: "object",
5042
5042
  schemaType: "object",
@@ -5109,20 +5109,20 @@ function Zf() {
5109
5109
  };
5110
5110
  return mr.default = y, mr;
5111
5111
  }
5112
- const Xf = "http://json-schema.org/draft-07/schema#", Jf = "http://json-schema.org/draft-07/schema#", Qf = "Core schema meta-schema", ed = { schemaArray: { type: "array", minItems: 1, items: { $ref: "#" } }, nonNegativeInteger: { type: "integer", minimum: 0 }, nonNegativeIntegerDefault0: { allOf: [{ $ref: "#/definitions/nonNegativeInteger" }, { default: 0 }] }, simpleTypes: { enum: ["array", "boolean", "integer", "null", "number", "object", "string"] }, stringArray: { type: "array", items: { type: "string" }, uniqueItems: !0, default: [] } }, td = ["object", "boolean"], id = { $id: { type: "string", format: "uri-reference" }, $schema: { type: "string", format: "uri" }, $ref: { type: "string", format: "uri-reference" }, $comment: { type: "string" }, title: { type: "string" }, description: { type: "string" }, default: !0, readOnly: { type: "boolean", default: !1 }, examples: { type: "array", items: !0 }, multipleOf: { type: "number", exclusiveMinimum: 0 }, maximum: { type: "number" }, exclusiveMaximum: { type: "number" }, minimum: { type: "number" }, exclusiveMinimum: { type: "number" }, maxLength: { $ref: "#/definitions/nonNegativeInteger" }, minLength: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, pattern: { type: "string", format: "regex" }, additionalItems: { $ref: "#" }, items: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/schemaArray" }], default: !0 }, maxItems: { $ref: "#/definitions/nonNegativeInteger" }, minItems: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, uniqueItems: { type: "boolean", default: !1 }, contains: { $ref: "#" }, maxProperties: { $ref: "#/definitions/nonNegativeInteger" }, minProperties: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, required: { $ref: "#/definitions/stringArray" }, additionalProperties: { $ref: "#" }, definitions: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, properties: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, patternProperties: { type: "object", additionalProperties: { $ref: "#" }, propertyNames: { format: "regex" }, default: {} }, dependencies: { type: "object", additionalProperties: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/stringArray" }] } }, propertyNames: { $ref: "#" }, const: !0, enum: { type: "array", items: !0, minItems: 1, uniqueItems: !0 }, type: { anyOf: [{ $ref: "#/definitions/simpleTypes" }, { type: "array", items: { $ref: "#/definitions/simpleTypes" }, minItems: 1, uniqueItems: !0 }] }, format: { type: "string" }, contentMediaType: { type: "string" }, contentEncoding: { type: "string" }, if: { $ref: "#" }, then: { $ref: "#" }, else: { $ref: "#" }, allOf: { $ref: "#/definitions/schemaArray" }, anyOf: { $ref: "#/definitions/schemaArray" }, oneOf: { $ref: "#/definitions/schemaArray" }, not: { $ref: "#" } }, rd = {
5113
- $schema: Xf,
5114
- $id: Jf,
5115
- title: Qf,
5116
- definitions: ed,
5117
- type: td,
5118
- properties: id,
5112
+ const Jf = "http://json-schema.org/draft-07/schema#", Qf = "http://json-schema.org/draft-07/schema#", ed = "Core schema meta-schema", td = { schemaArray: { type: "array", minItems: 1, items: { $ref: "#" } }, nonNegativeInteger: { type: "integer", minimum: 0 }, nonNegativeIntegerDefault0: { allOf: [{ $ref: "#/definitions/nonNegativeInteger" }, { default: 0 }] }, simpleTypes: { enum: ["array", "boolean", "integer", "null", "number", "object", "string"] }, stringArray: { type: "array", items: { type: "string" }, uniqueItems: !0, default: [] } }, id = ["object", "boolean"], rd = { $id: { type: "string", format: "uri-reference" }, $schema: { type: "string", format: "uri" }, $ref: { type: "string", format: "uri-reference" }, $comment: { type: "string" }, title: { type: "string" }, description: { type: "string" }, default: !0, readOnly: { type: "boolean", default: !1 }, examples: { type: "array", items: !0 }, multipleOf: { type: "number", exclusiveMinimum: 0 }, maximum: { type: "number" }, exclusiveMaximum: { type: "number" }, minimum: { type: "number" }, exclusiveMinimum: { type: "number" }, maxLength: { $ref: "#/definitions/nonNegativeInteger" }, minLength: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, pattern: { type: "string", format: "regex" }, additionalItems: { $ref: "#" }, items: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/schemaArray" }], default: !0 }, maxItems: { $ref: "#/definitions/nonNegativeInteger" }, minItems: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, uniqueItems: { type: "boolean", default: !1 }, contains: { $ref: "#" }, maxProperties: { $ref: "#/definitions/nonNegativeInteger" }, minProperties: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, required: { $ref: "#/definitions/stringArray" }, additionalProperties: { $ref: "#" }, definitions: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, properties: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, patternProperties: { type: "object", additionalProperties: { $ref: "#" }, propertyNames: { format: "regex" }, default: {} }, dependencies: { type: "object", additionalProperties: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/stringArray" }] } }, propertyNames: { $ref: "#" }, const: !0, enum: { type: "array", items: !0, minItems: 1, uniqueItems: !0 }, type: { anyOf: [{ $ref: "#/definitions/simpleTypes" }, { type: "array", items: { $ref: "#/definitions/simpleTypes" }, minItems: 1, uniqueItems: !0 }] }, format: { type: "string" }, contentMediaType: { type: "string" }, contentEncoding: { type: "string" }, if: { $ref: "#" }, then: { $ref: "#" }, else: { $ref: "#" }, allOf: { $ref: "#/definitions/schemaArray" }, anyOf: { $ref: "#/definitions/schemaArray" }, oneOf: { $ref: "#/definitions/schemaArray" }, not: { $ref: "#" } }, nd = {
5113
+ $schema: Jf,
5114
+ $id: Qf,
5115
+ title: ed,
5116
+ definitions: td,
5117
+ type: id,
5118
+ properties: rd,
5119
5119
  default: !0
5120
5120
  };
5121
5121
  var Da;
5122
5122
  function os() {
5123
5123
  return Da || (Da = 1, (function(a, o) {
5124
5124
  Object.defineProperty(o, "__esModule", { value: !0 }), o.MissingRefError = o.ValidationError = o.CodeGen = o.Name = o.nil = o.stringify = o.str = o._ = o.KeywordCxt = o.Ajv = void 0;
5125
- const u = _f(), f = Kf(), h = Zf(), p = rd, y = ["/properties"], n = "http://json-schema.org/draft-07/schema";
5125
+ const u = mf(), f = Wf(), h = Xf(), p = nd, y = ["/properties"], n = "http://json-schema.org/draft-07/schema";
5126
5126
  class v extends u.default {
5127
5127
  _addVocabularies() {
5128
5128
  super._addVocabularies(), f.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(h.default);
@@ -5166,10 +5166,10 @@ function os() {
5166
5166
  } });
5167
5167
  })(Ri, Ri.exports)), Ri.exports;
5168
5168
  }
5169
- var nd = os();
5170
- const sd = /* @__PURE__ */ wt(nd);
5169
+ var sd = os();
5170
+ const ad = /* @__PURE__ */ wt(sd);
5171
5171
  var yr = { exports: {} }, La;
5172
- function ad() {
5172
+ function od() {
5173
5173
  return La || (La = 1, (function(a, o) {
5174
5174
  Object.defineProperty(o, "__esModule", { value: !0 });
5175
5175
  const u = os(), f = Q(), h = hi(), p = xi(), y = Si(), n = Oe(), v = "errorMessage", w = new u.Name("emUsed"), g = {
@@ -5376,10 +5376,10 @@ function ad() {
5376
5376
  o.default = r, a.exports = r, a.exports.default = r;
5377
5377
  })(yr, yr.exports)), yr.exports;
5378
5378
  }
5379
- var od = ad();
5380
- const ld = /* @__PURE__ */ wt(od);
5379
+ var ld = od();
5380
+ const ud = /* @__PURE__ */ wt(ld);
5381
5381
  var gr = { exports: {} }, wn = {}, $a;
5382
- function ud() {
5382
+ function fd() {
5383
5383
  return $a || ($a = 1, (function(a) {
5384
5384
  Object.defineProperty(a, "__esModule", { value: !0 }), a.formatNames = a.fastFormats = a.fullFormats = void 0;
5385
5385
  function o(z, j) {
@@ -5543,7 +5543,7 @@ function ud() {
5543
5543
  })(wn)), wn;
5544
5544
  }
5545
5545
  var Sn = {}, Na;
5546
- function fd() {
5546
+ function dd() {
5547
5547
  return Na || (Na = 1, (function(a) {
5548
5548
  Object.defineProperty(a, "__esModule", { value: !0 }), a.formatLimitDefinition = void 0;
5549
5549
  const o = os(), u = Q(), f = u.operators, h = {
@@ -5598,10 +5598,10 @@ function fd() {
5598
5598
  })(Sn)), Sn;
5599
5599
  }
5600
5600
  var Oa;
5601
- function dd() {
5601
+ function cd() {
5602
5602
  return Oa || (Oa = 1, (function(a, o) {
5603
5603
  Object.defineProperty(o, "__esModule", { value: !0 });
5604
- const u = ud(), f = fd(), h = Q(), p = new h.Name("fullFormats"), y = new h.Name("fastFormats"), n = (w, g = { keywords: !0 }) => {
5604
+ const u = fd(), f = dd(), h = Q(), p = new h.Name("fullFormats"), y = new h.Name("fastFormats"), n = (w, g = { keywords: !0 }) => {
5605
5605
  if (Array.isArray(g))
5606
5606
  return v(w, g, u.fullFormats, p), w;
5607
5607
  const [U, t] = g.mode === "fast" ? [u.fastFormats, y] : [u.fullFormats, p], l = g.formats || u.formatNames;
@@ -5622,10 +5622,10 @@ function dd() {
5622
5622
  a.exports = o = n, Object.defineProperty(o, "__esModule", { value: !0 }), o.default = n;
5623
5623
  })(gr, gr.exports)), gr.exports;
5624
5624
  }
5625
- var cd = dd();
5626
- const hd = /* @__PURE__ */ wt(cd);
5625
+ var hd = cd();
5626
+ const pd = /* @__PURE__ */ wt(hd);
5627
5627
  var zt = { exports: {} }, Ft = { exports: {} }, Rt = { exports: {} }, vr = { exports: {} }, Ma;
5628
- function pd() {
5628
+ function _d() {
5629
5629
  return Ma || (Ma = 1, (function(a, o) {
5630
5630
  Object.defineProperty(o, "__esModule", { value: !0 });
5631
5631
  const u = Q(), f = ["undefined", "string", "number", "object", "function", "boolean", "symbol"];
@@ -5649,18 +5649,18 @@ function pd() {
5649
5649
  })(vr, vr.exports)), vr.exports;
5650
5650
  }
5651
5651
  var ja = Rt.exports, Ga;
5652
- function _d() {
5652
+ function md() {
5653
5653
  return Ga || (Ga = 1, (function(a, o) {
5654
5654
  var u = ja && ja.__importDefault || function(p) {
5655
5655
  return p && p.__esModule ? p : { default: p };
5656
5656
  };
5657
5657
  Object.defineProperty(o, "__esModule", { value: !0 });
5658
- const f = u(pd()), h = (p) => p.addKeyword((0, f.default)());
5658
+ const f = u(_d()), h = (p) => p.addKeyword((0, f.default)());
5659
5659
  o.default = h, a.exports = h;
5660
5660
  })(Rt, Rt.exports)), Rt.exports;
5661
5661
  }
5662
5662
  var kt = { exports: {} }, br = { exports: {} }, qa;
5663
- function md() {
5663
+ function yd() {
5664
5664
  return qa || (qa = 1, (function(a, o) {
5665
5665
  Object.defineProperty(o, "__esModule", { value: !0 });
5666
5666
  const u = {
@@ -5709,13 +5709,13 @@ function md() {
5709
5709
  })(br, br.exports)), br.exports;
5710
5710
  }
5711
5711
  var Va = kt.exports, Ha;
5712
- function yd() {
5712
+ function gd() {
5713
5713
  return Ha || (Ha = 1, (function(a, o) {
5714
5714
  var u = Va && Va.__importDefault || function(p) {
5715
5715
  return p && p.__esModule ? p : { default: p };
5716
5716
  };
5717
5717
  Object.defineProperty(o, "__esModule", { value: !0 });
5718
- const f = u(md()), h = (p) => p.addKeyword((0, f.default)());
5718
+ const f = u(yd()), h = (p) => p.addKeyword((0, f.default)());
5719
5719
  o.default = h, a.exports = h;
5720
5720
  })(kt, kt.exports)), kt.exports;
5721
5721
  }
@@ -5746,7 +5746,7 @@ function Bl() {
5746
5746
  return wr.default = a, wr;
5747
5747
  }
5748
5748
  var Ka = Dt.exports, Wa;
5749
- function gd() {
5749
+ function vd() {
5750
5750
  return Wa || (Wa = 1, (function(a, o) {
5751
5751
  var u = Ka && Ka.__importDefault || function(p) {
5752
5752
  return p && p.__esModule ? p : { default: p };
@@ -5757,18 +5757,18 @@ function gd() {
5757
5757
  })(Dt, Dt.exports)), Dt.exports;
5758
5758
  }
5759
5759
  var Za = Bt.exports, Xa;
5760
- function vd() {
5760
+ function bd() {
5761
5761
  return Xa || (Xa = 1, (function(a, o) {
5762
5762
  var u = Za && Za.__importDefault || function(p) {
5763
5763
  return p && p.__esModule ? p : { default: p };
5764
5764
  };
5765
5765
  Object.defineProperty(o, "__esModule", { value: !0 });
5766
- const f = u(gd()), h = (p) => p.addKeyword((0, f.default)());
5766
+ const f = u(vd()), h = (p) => p.addKeyword((0, f.default)());
5767
5767
  o.default = h, a.exports = h;
5768
5768
  })(Bt, Bt.exports)), Bt.exports;
5769
5769
  }
5770
5770
  var Lt = { exports: {} }, $t = { exports: {} }, Ja = $t.exports, Qa;
5771
- function bd() {
5771
+ function wd() {
5772
5772
  return Qa || (Qa = 1, (function(a, o) {
5773
5773
  var u = Ja && Ja.__importDefault || function(p) {
5774
5774
  return p && p.__esModule ? p : { default: p };
@@ -5779,13 +5779,13 @@ function bd() {
5779
5779
  })($t, $t.exports)), $t.exports;
5780
5780
  }
5781
5781
  var eo = Lt.exports, to;
5782
- function wd() {
5782
+ function Sd() {
5783
5783
  return to || (to = 1, (function(a, o) {
5784
5784
  var u = eo && eo.__importDefault || function(p) {
5785
5785
  return p && p.__esModule ? p : { default: p };
5786
5786
  };
5787
5787
  Object.defineProperty(o, "__esModule", { value: !0 });
5788
- const f = u(bd()), h = (p) => p.addKeyword((0, f.default)());
5788
+ const f = u(wd()), h = (p) => p.addKeyword((0, f.default)());
5789
5789
  o.default = h, a.exports = h;
5790
5790
  })(Lt, Lt.exports)), Lt.exports;
5791
5791
  }
@@ -5809,7 +5809,7 @@ function en() {
5809
5809
  return it.usePattern = f, it;
5810
5810
  }
5811
5811
  var ro;
5812
- function Sd() {
5812
+ function xd() {
5813
5813
  return ro || (ro = 1, (function(a, o) {
5814
5814
  Object.defineProperty(o, "__esModule", { value: !0 });
5815
5815
  const u = Q(), f = en(), h = {
@@ -5847,18 +5847,18 @@ function Sd() {
5847
5847
  })(Sr, Sr.exports)), Sr.exports;
5848
5848
  }
5849
5849
  var no = Nt.exports, so;
5850
- function xd() {
5850
+ function Ud() {
5851
5851
  return so || (so = 1, (function(a, o) {
5852
5852
  var u = no && no.__importDefault || function(p) {
5853
5853
  return p && p.__esModule ? p : { default: p };
5854
5854
  };
5855
5855
  Object.defineProperty(o, "__esModule", { value: !0 });
5856
- const f = u(Sd()), h = (p) => p.addKeyword((0, f.default)());
5856
+ const f = u(xd()), h = (p) => p.addKeyword((0, f.default)());
5857
5857
  o.default = h, a.exports = h;
5858
5858
  })(Nt, Nt.exports)), Nt.exports;
5859
5859
  }
5860
5860
  var Ot = { exports: {} }, xr = { exports: {} }, ao;
5861
- function Ud() {
5861
+ function Ed() {
5862
5862
  return ao || (ao = 1, (function(a, o) {
5863
5863
  Object.defineProperty(o, "__esModule", { value: !0 });
5864
5864
  const u = Q(), f = {
@@ -5928,18 +5928,18 @@ function Ud() {
5928
5928
  })(xr, xr.exports)), xr.exports;
5929
5929
  }
5930
5930
  var oo = Ot.exports, lo;
5931
- function Ed() {
5931
+ function Td() {
5932
5932
  return lo || (lo = 1, (function(a, o) {
5933
5933
  var u = oo && oo.__importDefault || function(p) {
5934
5934
  return p && p.__esModule ? p : { default: p };
5935
5935
  };
5936
5936
  Object.defineProperty(o, "__esModule", { value: !0 });
5937
- const f = u(Ud()), h = (p) => p.addKeyword((0, f.default)());
5937
+ const f = u(Ed()), h = (p) => p.addKeyword((0, f.default)());
5938
5938
  o.default = h, a.exports = h;
5939
5939
  })(Ot, Ot.exports)), Ot.exports;
5940
5940
  }
5941
5941
  var Mt = { exports: {} }, Ur = { exports: {} }, uo;
5942
- function Td() {
5942
+ function Id() {
5943
5943
  return uo || (uo = 1, (function(a, o) {
5944
5944
  Object.defineProperty(o, "__esModule", { value: !0 });
5945
5945
  const u = rs(), f = ["number", "integer", "string", "boolean", "null"];
@@ -5999,18 +5999,18 @@ function Td() {
5999
5999
  })(Ur, Ur.exports)), Ur.exports;
6000
6000
  }
6001
6001
  var fo = Mt.exports, co;
6002
- function Id() {
6002
+ function Pd() {
6003
6003
  return co || (co = 1, (function(a, o) {
6004
6004
  var u = fo && fo.__importDefault || function(p) {
6005
6005
  return p && p.__esModule ? p : { default: p };
6006
6006
  };
6007
6007
  Object.defineProperty(o, "__esModule", { value: !0 });
6008
- const f = u(Td()), h = (p) => p.addKeyword((0, f.default)());
6008
+ const f = u(Id()), h = (p) => p.addKeyword((0, f.default)());
6009
6009
  o.default = h, a.exports = h;
6010
6010
  })(Mt, Mt.exports)), Mt.exports;
6011
6011
  }
6012
6012
  var jt = { exports: {} }, Er = { exports: {} }, ho;
6013
- function Pd() {
6013
+ function Ad() {
6014
6014
  return ho || (ho = 1, (function(a, o) {
6015
6015
  Object.defineProperty(o, "__esModule", { value: !0 });
6016
6016
  function u() {
@@ -6031,13 +6031,13 @@ function Pd() {
6031
6031
  })(Er, Er.exports)), Er.exports;
6032
6032
  }
6033
6033
  var po = jt.exports, _o;
6034
- function Ad() {
6034
+ function Cd() {
6035
6035
  return _o || (_o = 1, (function(a, o) {
6036
6036
  var u = po && po.__importDefault || function(p) {
6037
6037
  return p && p.__esModule ? p : { default: p };
6038
6038
  };
6039
6039
  Object.defineProperty(o, "__esModule", { value: !0 });
6040
- const f = u(Pd()), h = (p) => p.addKeyword((0, f.default)());
6040
+ const f = u(Ad()), h = (p) => p.addKeyword((0, f.default)());
6041
6041
  o.default = h, a.exports = h;
6042
6042
  })(jt, jt.exports)), jt.exports;
6043
6043
  }
@@ -6062,7 +6062,7 @@ function Dl() {
6062
6062
  return Tr.default = a, Tr;
6063
6063
  }
6064
6064
  var yo = qt.exports, go;
6065
- function Cd() {
6065
+ function zd() {
6066
6066
  return go || (go = 1, (function(a, o) {
6067
6067
  var u = yo && yo.__importDefault || function(p) {
6068
6068
  return p && p.__esModule ? p : { default: p };
@@ -6073,18 +6073,18 @@ function Cd() {
6073
6073
  })(qt, qt.exports)), qt.exports;
6074
6074
  }
6075
6075
  var vo = Gt.exports, bo;
6076
- function zd() {
6076
+ function Fd() {
6077
6077
  return bo || (bo = 1, (function(a, o) {
6078
6078
  var u = vo && vo.__importDefault || function(p) {
6079
6079
  return p && p.__esModule ? p : { default: p };
6080
6080
  };
6081
6081
  Object.defineProperty(o, "__esModule", { value: !0 });
6082
- const f = u(Cd()), h = (p) => p.addKeyword((0, f.default)());
6082
+ const f = u(zd()), h = (p) => p.addKeyword((0, f.default)());
6083
6083
  o.default = h, a.exports = h;
6084
6084
  })(Gt, Gt.exports)), Gt.exports;
6085
6085
  }
6086
6086
  var Vt = { exports: {} }, Ht = { exports: {} }, wo = Ht.exports, So;
6087
- function Fd() {
6087
+ function Rd() {
6088
6088
  return So || (So = 1, (function(a, o) {
6089
6089
  var u = wo && wo.__importDefault || function(p) {
6090
6090
  return p && p.__esModule ? p : { default: p };
@@ -6095,18 +6095,18 @@ function Fd() {
6095
6095
  })(Ht, Ht.exports)), Ht.exports;
6096
6096
  }
6097
6097
  var xo = Vt.exports, Uo;
6098
- function Rd() {
6098
+ function kd() {
6099
6099
  return Uo || (Uo = 1, (function(a, o) {
6100
6100
  var u = xo && xo.__importDefault || function(p) {
6101
6101
  return p && p.__esModule ? p : { default: p };
6102
6102
  };
6103
6103
  Object.defineProperty(o, "__esModule", { value: !0 });
6104
- const f = u(Fd()), h = (p) => p.addKeyword((0, f.default)());
6104
+ const f = u(Rd()), h = (p) => p.addKeyword((0, f.default)());
6105
6105
  o.default = h, a.exports = h;
6106
6106
  })(Vt, Vt.exports)), Vt.exports;
6107
6107
  }
6108
6108
  var Yt = { exports: {} }, Ir = { exports: {} }, Eo;
6109
- function kd() {
6109
+ function Bd() {
6110
6110
  return Eo || (Eo = 1, (function(a, o) {
6111
6111
  Object.defineProperty(o, "__esModule", { value: !0 });
6112
6112
  const u = Q(), f = en(), h = {
@@ -6144,18 +6144,18 @@ function kd() {
6144
6144
  })(Ir, Ir.exports)), Ir.exports;
6145
6145
  }
6146
6146
  var To = Yt.exports, Io;
6147
- function Bd() {
6147
+ function Dd() {
6148
6148
  return Io || (Io = 1, (function(a, o) {
6149
6149
  var u = To && To.__importDefault || function(p) {
6150
6150
  return p && p.__esModule ? p : { default: p };
6151
6151
  };
6152
6152
  Object.defineProperty(o, "__esModule", { value: !0 });
6153
- const f = u(kd()), h = (p) => p.addKeyword((0, f.default)());
6153
+ const f = u(Bd()), h = (p) => p.addKeyword((0, f.default)());
6154
6154
  o.default = h, a.exports = h;
6155
6155
  })(Yt, Yt.exports)), Yt.exports;
6156
6156
  }
6157
6157
  var Kt = { exports: {} }, Pr = { exports: {} }, Po;
6158
- function Dd() {
6158
+ function Ld() {
6159
6159
  return Po || (Po = 1, (function(a, o) {
6160
6160
  Object.defineProperty(o, "__esModule", { value: !0 });
6161
6161
  function u() {
@@ -6176,18 +6176,18 @@ function Dd() {
6176
6176
  })(Pr, Pr.exports)), Pr.exports;
6177
6177
  }
6178
6178
  var Ao = Kt.exports, Co;
6179
- function Ld() {
6179
+ function $d() {
6180
6180
  return Co || (Co = 1, (function(a, o) {
6181
6181
  var u = Ao && Ao.__importDefault || function(p) {
6182
6182
  return p && p.__esModule ? p : { default: p };
6183
6183
  };
6184
6184
  Object.defineProperty(o, "__esModule", { value: !0 });
6185
- const f = u(Dd()), h = (p) => p.addKeyword((0, f.default)());
6185
+ const f = u(Ld()), h = (p) => p.addKeyword((0, f.default)());
6186
6186
  o.default = h, a.exports = h;
6187
6187
  })(Kt, Kt.exports)), Kt.exports;
6188
6188
  }
6189
6189
  var Wt = { exports: {} }, Ar = { exports: {} }, zo;
6190
- function $d() {
6190
+ function Nd() {
6191
6191
  return zo || (zo = 1, (function(a, o) {
6192
6192
  Object.defineProperty(o, "__esModule", { value: !0 });
6193
6193
  const u = en();
@@ -6236,18 +6236,18 @@ function $d() {
6236
6236
  })(Ar, Ar.exports)), Ar.exports;
6237
6237
  }
6238
6238
  var Fo = Wt.exports, Ro;
6239
- function Nd() {
6239
+ function Od() {
6240
6240
  return Ro || (Ro = 1, (function(a, o) {
6241
6241
  var u = Fo && Fo.__importDefault || function(p) {
6242
6242
  return p && p.__esModule ? p : { default: p };
6243
6243
  };
6244
6244
  Object.defineProperty(o, "__esModule", { value: !0 });
6245
- const f = u($d()), h = (p, y) => p.addKeyword((0, f.default)(y));
6245
+ const f = u(Nd()), h = (p, y) => p.addKeyword((0, f.default)(y));
6246
6246
  o.default = h, a.exports = h;
6247
6247
  })(Wt, Wt.exports)), Wt.exports;
6248
6248
  }
6249
6249
  var Zt = { exports: {} }, Cr = { exports: {} }, ko;
6250
- function Od() {
6250
+ function Md() {
6251
6251
  return ko || (ko = 1, (function(a, o) {
6252
6252
  Object.defineProperty(o, "__esModule", { value: !0 });
6253
6253
  const u = Q();
@@ -6282,18 +6282,18 @@ function Od() {
6282
6282
  })(Cr, Cr.exports)), Cr.exports;
6283
6283
  }
6284
6284
  var Bo = Zt.exports, Do;
6285
- function Md() {
6285
+ function jd() {
6286
6286
  return Do || (Do = 1, (function(a, o) {
6287
6287
  var u = Bo && Bo.__importDefault || function(p) {
6288
6288
  return p && p.__esModule ? p : { default: p };
6289
6289
  };
6290
6290
  Object.defineProperty(o, "__esModule", { value: !0 });
6291
- const f = u(Od()), h = (p) => p.addKeyword((0, f.default)());
6291
+ const f = u(Md()), h = (p) => p.addKeyword((0, f.default)());
6292
6292
  o.default = h, a.exports = h;
6293
6293
  })(Zt, Zt.exports)), Zt.exports;
6294
6294
  }
6295
6295
  var Xt = { exports: {} }, zr = { exports: {} }, Lo;
6296
- function jd() {
6296
+ function Gd() {
6297
6297
  return Lo || (Lo = 1, (function(a, o) {
6298
6298
  Object.defineProperty(o, "__esModule", { value: !0 });
6299
6299
  const u = {}, f = {
@@ -6371,18 +6371,18 @@ function jd() {
6371
6371
  })(zr, zr.exports)), zr.exports;
6372
6372
  }
6373
6373
  var $o = Xt.exports, No;
6374
- function Gd() {
6374
+ function qd() {
6375
6375
  return No || (No = 1, (function(a, o) {
6376
6376
  var u = $o && $o.__importDefault || function(p) {
6377
6377
  return p && p.__esModule ? p : { default: p };
6378
6378
  };
6379
6379
  Object.defineProperty(o, "__esModule", { value: !0 });
6380
- const f = u(jd()), h = (p) => p.addKeyword((0, f.default)());
6380
+ const f = u(Gd()), h = (p) => p.addKeyword((0, f.default)());
6381
6381
  o.default = h, a.exports = h;
6382
6382
  })(Xt, Xt.exports)), Xt.exports;
6383
6383
  }
6384
6384
  var Jt = { exports: {} }, Fr = { exports: {} }, Oo;
6385
- function qd() {
6385
+ function Vd() {
6386
6386
  return Oo || (Oo = 1, (function(a, o) {
6387
6387
  Object.defineProperty(o, "__esModule", { value: !0 });
6388
6388
  const u = Q(), f = en(), h = {
@@ -6436,24 +6436,24 @@ function qd() {
6436
6436
  })(Fr, Fr.exports)), Fr.exports;
6437
6437
  }
6438
6438
  var Mo = Jt.exports, jo;
6439
- function Vd() {
6439
+ function Hd() {
6440
6440
  return jo || (jo = 1, (function(a, o) {
6441
6441
  var u = Mo && Mo.__importDefault || function(p) {
6442
6442
  return p && p.__esModule ? p : { default: p };
6443
6443
  };
6444
6444
  Object.defineProperty(o, "__esModule", { value: !0 });
6445
- const f = u(qd()), h = (p, y) => ((0, f.default)(y).forEach((n) => p.addKeyword(n)), p);
6445
+ const f = u(Vd()), h = (p, y) => ((0, f.default)(y).forEach((n) => p.addKeyword(n)), p);
6446
6446
  o.default = h, a.exports = h;
6447
6447
  })(Jt, Jt.exports)), Jt.exports;
6448
6448
  }
6449
6449
  var Go = Ft.exports, qo;
6450
- function Hd() {
6450
+ function Yd() {
6451
6451
  return qo || (qo = 1, (function(a, o) {
6452
6452
  var u = Go && Go.__importDefault || function(m) {
6453
6453
  return m && m.__esModule ? m : { default: m };
6454
6454
  };
6455
6455
  Object.defineProperty(o, "__esModule", { value: !0 });
6456
- const f = u(_d()), h = u(yd()), p = u(vd()), y = u(wd()), n = u(xd()), v = u(Ed()), w = u(Id()), g = u(Ad()), U = u(zd()), t = u(Rd()), l = u(Bd()), e = u(Ld()), r = u(Nd()), s = u(Md()), c = u(Gd()), d = u(Vd()), _ = {
6456
+ const f = u(md()), h = u(gd()), p = u(bd()), y = u(Sd()), n = u(Ud()), v = u(Td()), w = u(Pd()), g = u(Cd()), U = u(Fd()), t = u(kd()), l = u(Dd()), e = u($d()), r = u(Od()), s = u(jd()), c = u(qd()), d = u(Hd()), _ = {
6457
6457
  typeof: f.default,
6458
6458
  instanceof: h.default,
6459
6459
  range: p.default,
@@ -6475,13 +6475,13 @@ function Hd() {
6475
6475
  })(Ft, Ft.exports)), Ft.exports;
6476
6476
  }
6477
6477
  var Vo = zt.exports, Ho;
6478
- function Yd() {
6478
+ function Kd() {
6479
6479
  return Ho || (Ho = 1, (function(a, o) {
6480
6480
  var u = Vo && Vo.__importDefault || function(y) {
6481
6481
  return y && y.__esModule ? y : { default: y };
6482
6482
  };
6483
6483
  Object.defineProperty(o, "__esModule", { value: !0 });
6484
- const f = u(Hd()), h = (y, n) => {
6484
+ const f = u(Yd()), h = (y, n) => {
6485
6485
  if (Array.isArray(n)) {
6486
6486
  for (const v of n)
6487
6487
  p(v)(y);
@@ -6503,8 +6503,8 @@ function Yd() {
6503
6503
  o.default = h, a.exports = h, a.exports.default = h;
6504
6504
  })(zt, zt.exports)), zt.exports;
6505
6505
  }
6506
- var Kd = Yd();
6507
- const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt = `startTime ${St}`, Ut = `endTime ${St}`, Je = "id must be a string", Et = "url must be a string and a valid uri", Ui = "must be a string and a valid rgba color", Ll = 'image type format must be a string and one of ["img", "gif"]', $l = 'type fillMode must be a string and one of ["none", "contain", "cover", "stretch"]', Nl = `fromTime ${St}`, Zd = `${Xe} object`, Xd = 'type segmentType must be a string and equal to "audio"', Jd = {
6506
+ var Wd = Kd();
6507
+ const Zd = /* @__PURE__ */ wt(Wd), Xe = "data must be", St = "must be >= 0", xt = `startTime ${St}`, Ut = `endTime ${St}`, Je = "id must be a string", Et = "url must be a string and a valid uri", Ui = "must be a string and a valid rgba color", Ll = 'image type format must be a string and one of ["img", "gif"]', $l = 'type fillMode must be a string and one of ["none", "contain", "cover", "stretch"]', Nl = `fromTime ${St}`, Xd = `${Xe} object`, Jd = 'type segmentType must be a string and equal to "audio"', Qd = {
6508
6508
  type: "object",
6509
6509
  properties: {
6510
6510
  id: { type: "string" },
@@ -6525,17 +6525,17 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6525
6525
  },
6526
6526
  required: ["id", "startTime", "endTime", "url", "segmentType"],
6527
6527
  errorMessage: {
6528
- type: Zd,
6528
+ type: Xd,
6529
6529
  properties: {
6530
6530
  id: Je,
6531
6531
  startTime: xt,
6532
6532
  endTime: Ut,
6533
6533
  url: Et,
6534
6534
  fromTime: Nl,
6535
- segmentType: Xd
6535
+ segmentType: Jd
6536
6536
  }
6537
6537
  }
6538
- }, Qd = `${Xe} object`, ec = "version is not valid semver version", tc = `width ${St}`, ic = `height ${St}`, rc = `fps ${St}`, nc = "tracks must be an array", sc = {
6538
+ }, ec = `${Xe} object`, tc = "version is not valid semver version", ic = `width ${St}`, rc = `height ${St}`, nc = `fps ${St}`, sc = "tracks must be an array", ac = {
6539
6539
  type: "object",
6540
6540
  properties: {
6541
6541
  id: { type: "string" },
@@ -6548,17 +6548,17 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6548
6548
  },
6549
6549
  required: ["id", "version", "width", "height", "fps", "tracks"],
6550
6550
  errorMessage: {
6551
- type: Qd,
6551
+ type: ec,
6552
6552
  properties: {
6553
6553
  id: Je,
6554
- version: ec,
6555
- width: tc,
6556
- height: ic,
6557
- fps: rc,
6558
- tracks: nc
6554
+ version: tc,
6555
+ width: ic,
6556
+ height: rc,
6557
+ fps: nc,
6558
+ tracks: sc
6559
6559
  }
6560
6560
  }
6561
- }, ac = 'data/animation/type must be a string and one of ["in", "out", "combo"]', oc = 'data/align must be a string and one of ["left", "center", "right", "justify"]', ls = {
6561
+ }, oc = 'data/animation/type must be a string and one of ["in", "out", "combo"]', lc = 'data/align must be a string and one of ["left", "center", "right", "justify"]', ls = {
6562
6562
  type: "object",
6563
6563
  properties: {
6564
6564
  position: { type: "array", items: { type: "number" }, minItems: 3, maxItems: 3 },
@@ -6578,10 +6578,10 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6578
6578
  required: ["id", "name", "type", "duration"],
6579
6579
  errorMessage: {
6580
6580
  properties: {
6581
- type: ac
6581
+ type: oc
6582
6582
  }
6583
6583
  }
6584
- }, lc = {
6584
+ }, uc = {
6585
6585
  type: "object",
6586
6586
  properties: {
6587
6587
  id: { type: "string" },
@@ -6606,7 +6606,7 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6606
6606
  grain: { type: "number", minimum: 0, maximum: 1 }
6607
6607
  },
6608
6608
  required: ["temperature", "hue", "saturation", "brightness", "contrast", "shine", "highlight", "shadow", "sharpness", "vignette", "fade", "grain"]
6609
- }, uc = {
6609
+ }, fc = {
6610
6610
  type: "object",
6611
6611
  properties: {
6612
6612
  color: { type: "string", pattern: "^rgba\\([0-9]+,[0-9]+,[0-9]+,[0-9]+\\)$", nullable: !0 },
@@ -6621,7 +6621,7 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6621
6621
  color: Ui
6622
6622
  }
6623
6623
  }
6624
- }, fc = {
6624
+ }, dc = {
6625
6625
  type: "object",
6626
6626
  properties: {
6627
6627
  color: { type: "string", pattern: "^rgba\\([0-9]+,[0-9]+,[0-9]+,[0-9]+\\)$", nullable: !0 },
@@ -6634,7 +6634,7 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6634
6634
  color: Ui
6635
6635
  }
6636
6636
  }
6637
- }, dc = {
6637
+ }, cc = {
6638
6638
  type: "object",
6639
6639
  properties: {
6640
6640
  color: { type: "string", pattern: "^rgba\\([0-9]+,[0-9]+,[0-9]+,[0-9]+\\)$", nullable: !0 },
@@ -6646,7 +6646,7 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6646
6646
  color: Ui
6647
6647
  }
6648
6648
  }
6649
- }, cc = {
6649
+ }, hc = {
6650
6650
  type: "object",
6651
6651
  properties: {
6652
6652
  content: { type: "string" },
@@ -6671,11 +6671,11 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6671
6671
  required: ["content"],
6672
6672
  errorMessage: {
6673
6673
  properties: {
6674
- align: oc,
6674
+ align: lc,
6675
6675
  fill: Ui
6676
6676
  }
6677
6677
  }
6678
- }, hc = `${Xe} object`, pc = 'type segmentType must be a string and equal to "effect"', _c = {
6678
+ }, pc = `${Xe} object`, _c = 'type segmentType must be a string and equal to "effect"', mc = {
6679
6679
  type: "object",
6680
6680
  properties: {
6681
6681
  id: { type: "string" },
@@ -6693,16 +6693,16 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6693
6693
  },
6694
6694
  required: ["id", "startTime", "endTime", "effectId", "name", "segmentType"],
6695
6695
  errorMessage: {
6696
- type: hc,
6696
+ type: pc,
6697
6697
  properties: {
6698
6698
  id: Je,
6699
6699
  startTime: xt,
6700
6700
  endTime: Ut,
6701
6701
  url: Et,
6702
- segmentType: pc
6702
+ segmentType: _c
6703
6703
  }
6704
6704
  }
6705
- }, mc = `${Xe} object`, yc = 'type segmentType must be a string and equal to "filter"', gc = {
6705
+ }, yc = `${Xe} object`, gc = 'type segmentType must be a string and equal to "filter"', vc = {
6706
6706
  type: "object",
6707
6707
  properties: {
6708
6708
  id: { type: "string" },
@@ -6721,23 +6721,23 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6721
6721
  },
6722
6722
  required: ["id", "startTime", "endTime", "filterId", "name", "segmentType"],
6723
6723
  errorMessage: {
6724
- type: mc,
6724
+ type: yc,
6725
6725
  properties: {
6726
6726
  id: Je,
6727
6727
  startTime: xt,
6728
6728
  endTime: Ut,
6729
6729
  url: Et,
6730
- segmentType: yc
6730
+ segmentType: gc
6731
6731
  }
6732
6732
  }
6733
- }, vc = `${Xe} object`, bc = 'type must be a string and one of ["image", "video", "3D"]', wc = 'type segmentType must be a string and equal to "frames"', Sc = {
6733
+ }, bc = `${Xe} object`, wc = 'type must be a string and one of ["image", "video", "3D"]', Sc = 'type segmentType must be a string and equal to "frames"', xc = {
6734
6734
  ITransform: ls,
6735
6735
  IAnimation: us,
6736
- ITransition: lc,
6736
+ ITransition: uc,
6737
6737
  IPalette: Ol
6738
- }, xc = {
6738
+ }, Uc = {
6739
6739
  type: "object",
6740
- definitions: Sc,
6740
+ definitions: xc,
6741
6741
  properties: {
6742
6742
  id: { type: "string" },
6743
6743
  startTime: { type: "number", minimum: 0 },
@@ -6768,27 +6768,27 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6768
6768
  then: { required: ["format"], properties: { format: { type: "string", enum: ["img", "gif"] } } },
6769
6769
  else: { required: [] },
6770
6770
  errorMessage: {
6771
- type: vc,
6771
+ type: bc,
6772
6772
  properties: {
6773
6773
  id: Je,
6774
6774
  startTime: xt,
6775
6775
  endTime: Ut,
6776
6776
  format: Ll,
6777
6777
  url: Et,
6778
- type: bc,
6778
+ type: wc,
6779
6779
  fromTime: Nl,
6780
6780
  background: `background${Ui}`,
6781
6781
  fillMode: $l,
6782
- segmentType: wc
6782
+ segmentType: Sc
6783
6783
  }
6784
6784
  }
6785
- }, Uc = `${Xe} object`, Ec = 'type segmentType must be a string and equal to "sticker"', Tc = {
6785
+ }, Ec = `${Xe} object`, Tc = 'type segmentType must be a string and equal to "sticker"', Ic = {
6786
6786
  ITransform: ls,
6787
6787
  IAnimation: us,
6788
6788
  IPalette: Ol
6789
- }, Ic = {
6789
+ }, Pc = {
6790
6790
  type: "object",
6791
- definitions: Tc,
6791
+ definitions: Ic,
6792
6792
  properties: {
6793
6793
  id: { type: "string" },
6794
6794
  startTime: { type: "number", minimum: 0, nullable: !1 },
@@ -6808,7 +6808,7 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6808
6808
  },
6809
6809
  required: ["id", "startTime", "endTime", "format", "url", "segmentType"],
6810
6810
  errorMessage: {
6811
- type: Uc,
6811
+ type: Ec,
6812
6812
  properties: {
6813
6813
  id: Je,
6814
6814
  startTime: xt,
@@ -6816,19 +6816,19 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6816
6816
  url: Et,
6817
6817
  format: Ll,
6818
6818
  fillMode: $l,
6819
- segmentType: Ec
6819
+ segmentType: Tc
6820
6820
  }
6821
6821
  }
6822
- }, Pc = `${Xe} object`, Ac = "data/texts must be an array and at least one item", Cc = 'type segmentType must be a string and equal to "text"', zc = {
6822
+ }, Ac = `${Xe} object`, Cc = "data/texts must be an array and at least one item", zc = 'type segmentType must be a string and equal to "text"', Fc = {
6823
6823
  ITransform: ls,
6824
6824
  IAnimation: us,
6825
- ITextBasic: cc,
6826
- IStroke: fc,
6827
- IDropShadow: uc,
6828
- IBackground: dc
6829
- }, Fc = {
6825
+ ITextBasic: hc,
6826
+ IStroke: dc,
6827
+ IDropShadow: fc,
6828
+ IBackground: cc
6829
+ }, Rc = {
6830
6830
  type: "object",
6831
- definitions: zc,
6831
+ definitions: Fc,
6832
6832
  properties: {
6833
6833
  id: { type: "string" },
6834
6834
  startTime: { type: "number", minimum: 0, nullable: !1 },
@@ -6847,17 +6847,17 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6847
6847
  },
6848
6848
  required: ["id", "startTime", "endTime", "texts", "segmentType"],
6849
6849
  errorMessage: {
6850
- type: Pc,
6850
+ type: Ac,
6851
6851
  properties: {
6852
6852
  id: Je,
6853
6853
  startTime: xt,
6854
6854
  endTime: Ut,
6855
6855
  url: Et,
6856
- text: Ac,
6857
- segmentType: Cc
6856
+ text: Cc,
6857
+ segmentType: zc
6858
6858
  }
6859
6859
  }
6860
- }, Rc = `${Xe} object`, kc = 'type trackType must be a string and one of ["frames", "sticker", "text", "audio", "effect", "filter"]', Bc = {
6860
+ }, kc = `${Xe} object`, Bc = 'type trackType must be a string and one of ["frames", "sticker", "text", "audio", "effect", "filter"]', Dc = {
6861
6861
  type: "object",
6862
6862
  properties: {
6863
6863
  trackId: { type: "string" },
@@ -6868,17 +6868,17 @@ const Wd = /* @__PURE__ */ wt(Kd), Xe = "data must be", St = "must be >= 0", xt
6868
6868
  },
6869
6869
  required: ["trackId", "trackType", "children"],
6870
6870
  errorMessage: {
6871
- type: Rc,
6871
+ type: kc,
6872
6872
  properties: {
6873
6873
  trackId: Je,
6874
- trackType: kc
6874
+ trackType: Bc
6875
6875
  }
6876
6876
  }
6877
- }, Dc = "duplicate segment id", Lc = "duplicate track id";
6878
- function $c() {
6879
- const a = new sd({ allErrors: !0, strict: "log" });
6880
- ld(a), Wd(a), hd(a);
6881
- const o = a.compile(sc), u = a.compile(xc), f = a.compile(Fc), h = a.compile(Ic), p = a.compile(Jd), y = a.compile(_c), n = a.compile(gc), v = a.compile(Bc), w = (_) => {
6877
+ }, Lc = "duplicate segment id", $c = "duplicate track id";
6878
+ function Nc() {
6879
+ const a = new ad({ allErrors: !0, strict: "log" });
6880
+ ud(a), Zd(a), pd(a);
6881
+ const o = a.compile(ac), u = a.compile(Uc), f = a.compile(Rc), h = a.compile(Pc), p = a.compile(Qd), y = a.compile(mc), n = a.compile(vc), v = a.compile(Dc), w = (_) => {
6882
6882
  if (o(_) === !1)
6883
6883
  throw new Error(a.errorsText(o.errors));
6884
6884
  return _;
@@ -6922,7 +6922,7 @@ function $c() {
6922
6922
  const m = /* @__PURE__ */ new Set(), b = /* @__PURE__ */ new Set(), S = w(_), E = S.tracks.map((I) => {
6923
6923
  const A = s(I);
6924
6924
  if (b.has(A.trackId))
6925
- throw new Error(`${Lc} ${A.trackId}`);
6925
+ throw new Error(`${$c} ${A.trackId}`);
6926
6926
  return b.add(A.trackId), A;
6927
6927
  });
6928
6928
  S.tracks = E;
@@ -6930,7 +6930,7 @@ function $c() {
6930
6930
  const A = I.children.map((L) => {
6931
6931
  const z = c({ ...L, segmentType: I.trackType });
6932
6932
  if (m.has(z.id))
6933
- throw new Error(`${Dc} ${z.id}`);
6933
+ throw new Error(`${Lc} ${z.id}`);
6934
6934
  return m.add(z.id), z;
6935
6935
  });
6936
6936
  I.children = A;
@@ -6982,7 +6982,7 @@ var be = Object, at = be.getPrototypeOf, pi = "constructor", Ei = "prototype", L
6982
6982
  function Ie(a) {
6983
6983
  return a ? jl(a) || Ti(a) || !!a[ai] || !!a[pi]?.[ai] || Ii(a) || Pi(a) : !1;
6984
6984
  }
6985
- var Nc = be[Ei][pi].toString(), Yo = /* @__PURE__ */ new WeakMap();
6985
+ var Oc = be[Ei][pi].toString(), Yo = /* @__PURE__ */ new WeakMap();
6986
6986
  function jl(a) {
6987
6987
  if (!a || !gt(a))
6988
6988
  return !1;
@@ -6995,7 +6995,7 @@ function jl(a) {
6995
6995
  if (!qe(u))
6996
6996
  return !1;
6997
6997
  let f = Yo.get(u);
6998
- return f === void 0 && (f = Function.toString.call(u), Yo.set(u, f)), f === Nc;
6998
+ return f === void 0 && (f = Function.toString.call(u), Yo.set(u, f)), f === Oc;
6999
6999
  }
7000
7000
  function lt(a, o, u = !0) {
7001
7001
  ot(a) === 0 ? (u ? Reflect.ownKeys(a) : be.keys(a)).forEach((h) => {
@@ -7012,10 +7012,10 @@ var oi = (a, o, u = ot(a)) => u === 2 ? a.has(o) : be[Ei].hasOwnProperty.call(a,
7012
7012
  ), Hr = (a, o, u, f = ot(a)) => {
7013
7013
  f === 2 ? a.set(o, u) : f === 3 ? a.add(u) : a[o] = u;
7014
7014
  };
7015
- function Oc(a, o) {
7015
+ function Mc(a, o) {
7016
7016
  return a === o ? a !== 0 || 1 / a === 1 / o : a !== a && o !== o;
7017
7017
  }
7018
- var Ti = Array.isArray, Ii = (a) => a instanceof Map, Pi = (a) => a instanceof Set, gt = (a) => typeof a == "object", qe = (a) => typeof a == "function", xn = (a) => typeof a == "boolean", Gl = (a) => gt(a) ? a?.[ie] : null, ue = (a) => a.copy_ || a.base_, Mc = (a) => {
7018
+ var Ti = Array.isArray, Ii = (a) => a instanceof Map, Pi = (a) => a instanceof Set, gt = (a) => typeof a == "object", qe = (a) => typeof a == "function", xn = (a) => typeof a == "boolean", Gl = (a) => gt(a) ? a?.[ie] : null, ue = (a) => a.copy_ || a.base_, jc = (a) => {
7019
7019
  const o = Gl(a);
7020
7020
  return o ? o.copy_ ?? o.base_ : a;
7021
7021
  }, ds = (a) => a.modified_ ? a.copy_ : a.base_;
@@ -7064,11 +7064,11 @@ function cs(a, o = !1) {
7064
7064
  !1
7065
7065
  )), a;
7066
7066
  }
7067
- function jc() {
7067
+ function Gc() {
7068
7068
  fe(2);
7069
7069
  }
7070
7070
  var Rr = {
7071
- [_i]: jc
7071
+ [_i]: Gc
7072
7072
  };
7073
7073
  function tn(a) {
7074
7074
  return a === null || !gt(a) ? !0 : be.isFrozen(a);
@@ -7078,11 +7078,11 @@ function vt(a) {
7078
7078
  const o = Kr[a];
7079
7079
  return o || fe(0, a), o;
7080
7080
  }
7081
- var Gc = (a) => !!Kr[a];
7081
+ var qc = (a) => !!Kr[a];
7082
7082
  function ql(a, o) {
7083
7083
  Kr[a] || (Kr[a] = o);
7084
7084
  }
7085
- var yi, Wr = () => yi, qc = (a, o) => ({
7085
+ var yi, Wr = () => yi, Vc = (a, o) => ({
7086
7086
  drafts_: [],
7087
7087
  parent_: a,
7088
7088
  immer_: o,
@@ -7092,19 +7092,19 @@ var yi, Wr = () => yi, qc = (a, o) => ({
7092
7092
  unfinalizedDrafts_: 0,
7093
7093
  handledSet_: /* @__PURE__ */ new Set(),
7094
7094
  processedForPatches_: /* @__PURE__ */ new Set(),
7095
- mapSetPlugin_: Gc(mi) ? vt(mi) : void 0
7095
+ mapSetPlugin_: qc(mi) ? vt(mi) : void 0
7096
7096
  });
7097
7097
  function Ko(a, o) {
7098
7098
  o && (a.patchPlugin_ = vt(Yr), a.patches_ = [], a.inversePatches_ = [], a.patchListener_ = o);
7099
7099
  }
7100
7100
  function Nn(a) {
7101
- On(a), a.drafts_.forEach(Vc), a.drafts_ = null;
7101
+ On(a), a.drafts_.forEach(Hc), a.drafts_ = null;
7102
7102
  }
7103
7103
  function On(a) {
7104
7104
  a === yi && (yi = a.parent_);
7105
7105
  }
7106
- var Wo = (a) => yi = qc(yi, a);
7107
- function Vc(a) {
7106
+ var Wo = (a) => yi = Vc(yi, a);
7107
+ function Hc(a) {
7108
7108
  const o = a[ie];
7109
7109
  o.type_ === 0 || o.type_ === 1 ? o.revoke_() : o.revoked_ = !0;
7110
7110
  }
@@ -7121,7 +7121,7 @@ function Zo(a, o) {
7121
7121
  );
7122
7122
  } else
7123
7123
  a = Xo(o, u);
7124
- return Hc(o, a, !0), Nn(o), o.patches_ && o.patchListener_(o.patches_, o.inversePatches_), a !== fs ? a : void 0;
7124
+ return Yc(o, a, !0), Nn(o), o.patches_ && o.patchListener_(o.patches_, o.inversePatches_), a !== fs ? a : void 0;
7125
7125
  }
7126
7126
  function Xo(a, o) {
7127
7127
  if (tn(o))
@@ -7142,13 +7142,13 @@ function Xo(a, o) {
7142
7142
  }
7143
7143
  return u.copy_;
7144
7144
  }
7145
- function Hc(a, o, u = !1) {
7145
+ function Yc(a, o, u = !1) {
7146
7146
  !a.parent_ && a.immer_.autoFreeze_ && a.canAutoFreeze_ && cs(o, u);
7147
7147
  }
7148
7148
  function Vl(a) {
7149
7149
  a.finalized_ = !0, a.scope_.unfinalizedDrafts_--;
7150
7150
  }
7151
- var rn = (a, o) => a.scope_ === o, Yc = [];
7151
+ var rn = (a, o) => a.scope_ === o, Kc = [];
7152
7152
  function Hl(a, o, u, f) {
7153
7153
  const h = ue(a), p = a.type_;
7154
7154
  if (f !== void 0 && De(h, f, p) === o) {
@@ -7164,11 +7164,11 @@ function Hl(a, o, u, f) {
7164
7164
  }
7165
7165
  });
7166
7166
  }
7167
- const y = a.draftLocations_.get(o) ?? Yc;
7167
+ const y = a.draftLocations_.get(o) ?? Kc;
7168
7168
  for (const n of y)
7169
7169
  Hr(h, n, u, p);
7170
7170
  }
7171
- function Kc(a, o, u) {
7171
+ function Wc(a, o, u) {
7172
7172
  a.callbacks_.push(function(h) {
7173
7173
  const p = o;
7174
7174
  if (!p || !rn(p, h))
@@ -7188,7 +7188,7 @@ function Yl(a, o) {
7188
7188
  Vl(a);
7189
7189
  }
7190
7190
  }
7191
- function Wc(a, o, u) {
7191
+ function Zc(a, o, u) {
7192
7192
  const { scope_: f } = a;
7193
7193
  if (Ne(u)) {
7194
7194
  const h = u[ie];
@@ -7217,7 +7217,7 @@ function hs(a, o, u) {
7217
7217
  } else Ie(h) && hs(h, o, u);
7218
7218
  })), a;
7219
7219
  }
7220
- function Zc(a, o) {
7220
+ function Xc(a, o) {
7221
7221
  const u = Ti(a), f = {
7222
7222
  type_: u ? 1 : 0,
7223
7223
  // Track which produce call this is associated with.
@@ -7255,7 +7255,7 @@ var ps = {
7255
7255
  return a;
7256
7256
  const u = ue(a);
7257
7257
  if (!oi(u, o, a.type_))
7258
- return Xc(a, u, o);
7258
+ return Jc(a, u, o);
7259
7259
  const f = u[o];
7260
7260
  if (a.finalized_ || !Ie(f))
7261
7261
  return f;
@@ -7280,13 +7280,13 @@ var ps = {
7280
7280
  const h = Un(ue(a), o), p = h?.[ie];
7281
7281
  if (p && p.base_ === u)
7282
7282
  return a.copy_[o] = u, a.assigned_.set(o, !1), !0;
7283
- if (Oc(u, h) && (u !== void 0 || oi(a.base_, o, a.type_)))
7283
+ if (Mc(u, h) && (u !== void 0 || oi(a.base_, o, a.type_)))
7284
7284
  return !0;
7285
7285
  Lr(a), Le(a);
7286
7286
  }
7287
7287
  return a.copy_[o] === u && // special case: handle new props with value 'undefined'
7288
7288
  (u !== void 0 || o in a.copy_) || // special case: NaN
7289
- Number.isNaN(u) && Number.isNaN(a.copy_[o]) || (a.copy_[o] = u, a.assigned_.set(o, !0), Wc(a, o, u)), !0;
7289
+ Number.isNaN(u) && Number.isNaN(a.copy_[o]) || (a.copy_[o] = u, a.assigned_.set(o, !0), Zc(a, o, u)), !0;
7290
7290
  },
7291
7291
  deleteProperty(a, o) {
7292
7292
  return Lr(a), Un(a.base_, o) !== void 0 || o in a.base_ ? (a.assigned_.set(o, !1), Le(a)) : a.assigned_.delete(o), a.copy_ && delete a.copy_[o], !0;
@@ -7328,7 +7328,7 @@ function Un(a, o) {
7328
7328
  const u = a[ie];
7329
7329
  return (u ? ue(u) : a)[o];
7330
7330
  }
7331
- function Xc(a, o, u) {
7331
+ function Jc(a, o, u) {
7332
7332
  const f = Kl(o, u);
7333
7333
  return f ? _i in f ? f[_i] : (
7334
7334
  // This is a very special case, if the prop is a getter defined by the
@@ -7356,7 +7356,7 @@ function Lr(a) {
7356
7356
  a.scope_.immer_.useStrictShallowCopy_
7357
7357
  ));
7358
7358
  }
7359
- var Jc = class {
7359
+ var Qc = class {
7360
7360
  constructor(a) {
7361
7361
  this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (o, u, f) => {
7362
7362
  if (qe(o) && !qe(u)) {
@@ -7399,7 +7399,7 @@ var Jc = class {
7399
7399
  }, xn(a?.autoFreeze) && this.setAutoFreeze(a.autoFreeze), xn(a?.useStrictShallowCopy) && this.setUseStrictShallowCopy(a.useStrictShallowCopy), xn(a?.useStrictIteration) && this.setUseStrictIteration(a.useStrictIteration);
7400
7400
  }
7401
7401
  createDraft(a) {
7402
- Ie(a) || fe(8), Ne(a) && (a = Qc(a));
7402
+ Ie(a) || fe(8), Ne(a) && (a = eh(a));
7403
7403
  const o = Wo(this), u = vi(o, a, void 0);
7404
7404
  return u[ie].isManual_ = !0, On(o), u;
7405
7405
  }
@@ -7455,14 +7455,14 @@ var Jc = class {
7455
7455
  }
7456
7456
  };
7457
7457
  function vi(a, o, u, f) {
7458
- const [h, p] = Ii(o) ? vt(mi).proxyMap_(o, u) : Pi(o) ? vt(mi).proxySet_(o, u) : Zc(o, u);
7459
- return (u?.scope_ ?? Wr()).drafts_.push(h), p.callbacks_ = u?.callbacks_ ?? [], p.key_ = f, u && f !== void 0 ? Kc(u, p, f) : p.callbacks_.push(function(v) {
7458
+ const [h, p] = Ii(o) ? vt(mi).proxyMap_(o, u) : Pi(o) ? vt(mi).proxySet_(o, u) : Xc(o, u);
7459
+ return (u?.scope_ ?? Wr()).drafts_.push(h), p.callbacks_ = u?.callbacks_ ?? [], p.key_ = f, u && f !== void 0 ? Wc(u, p, f) : p.callbacks_.push(function(v) {
7460
7460
  v.mapSetPlugin_?.fixSetContents(p);
7461
7461
  const { patchPlugin_: w } = v;
7462
7462
  p.modified_ && w && w.generatePatches_(p, [], v);
7463
7463
  }), h;
7464
7464
  }
7465
- function Qc(a) {
7465
+ function eh(a) {
7466
7466
  return Ne(a) || fe(10, a), Wl(a);
7467
7467
  }
7468
7468
  function Wl(a) {
@@ -7484,7 +7484,7 @@ function Wl(a) {
7484
7484
  f
7485
7485
  ), o && (o.finalized_ = !1), u;
7486
7486
  }
7487
- function eh() {
7487
+ function th() {
7488
7488
  process.env.NODE_ENV !== "production" && Ml.push(
7489
7489
  'Sets cannot have "replace" patches.',
7490
7490
  function(e) {
@@ -7733,7 +7733,7 @@ function eh() {
7733
7733
  getPath: o
7734
7734
  });
7735
7735
  }
7736
- function th() {
7736
+ function ih() {
7737
7737
  class a extends Map {
7738
7738
  constructor(w, g) {
7739
7739
  super(), this[ie] = {
@@ -7914,21 +7914,21 @@ function th() {
7914
7914
  if (v.type_ === 3 && v.copy_) {
7915
7915
  const w = new Set(v.copy_);
7916
7916
  v.copy_.clear(), w.forEach((g) => {
7917
- v.copy_.add(Mc(g));
7917
+ v.copy_.add(jc(g));
7918
7918
  });
7919
7919
  }
7920
7920
  }
7921
7921
  ql(mi, { proxyMap_: o, proxySet_: h, fixSetContents: n });
7922
7922
  }
7923
- var bi = new Jc();
7923
+ var bi = new Qc();
7924
7924
  bi.produce;
7925
7925
  var Jo = /* @__PURE__ */ bi.produceWithPatches.bind(
7926
7926
  bi
7927
7927
  ), Qo = /* @__PURE__ */ bi.applyPatches.bind(bi);
7928
- eh();
7929
7928
  th();
7930
- function ih(a) {
7931
- const o = si([]), u = si(-1), f = si(!1), h = Ku(a), p = (l, e) => {
7929
+ ih();
7930
+ function rh(a) {
7931
+ const o = si([]), u = si(-1), f = si(!1), h = Wu(a), p = (l, e) => {
7932
7932
  let r;
7933
7933
  const [s, c, d] = Jo(h.value, (_) => {
7934
7934
  r = l(_);
@@ -7983,10 +7983,10 @@ function ih(a) {
7983
7983
  redoCount: t
7984
7984
  };
7985
7985
  }
7986
- function rh(a, o, u, f) {
7986
+ function nh(a, o, u, f) {
7987
7987
  for (let h = 0; h < a.length; h++)
7988
7988
  if (a[h].path.at(-1) === "endTime") {
7989
- nh(a[h], o[h], u);
7989
+ sh(a[h], o[h], u);
7990
7990
  break;
7991
7991
  } else {
7992
7992
  if (a[h].path.at(-1) === "startTime")
@@ -7998,7 +7998,7 @@ function el(a, o, u) {
7998
7998
  const [f, h, p, y, n] = a.path;
7999
7999
  u[f][h][p][y][n] = o.value;
8000
8000
  }
8001
- function nh(a, o, u) {
8001
+ function sh(a, o, u) {
8002
8002
  const [, f, , h] = a.path, p = u.tracks;
8003
8003
  if (typeof f != "number" || typeof h != "number" || !p)
8004
8004
  return;
@@ -8008,7 +8008,7 @@ function nh(a, o, u) {
8008
8008
  v.startTime += y, v.endTime += y;
8009
8009
  }
8010
8010
  }
8011
- function sh(a, o, u, f) {
8011
+ function ah(a, o, u, f) {
8012
8012
  return a.every((h, p) => {
8013
8013
  const [, y, , n, v] = h.path;
8014
8014
  if (typeof y != "number" || typeof n != "number")
@@ -8025,7 +8025,7 @@ function sh(a, o, u, f) {
8025
8025
  function En() {
8026
8026
  return (Date.now() + Math.floor(Math.random() * 1e7)).toString();
8027
8027
  }
8028
- function ah(a, o, u) {
8028
+ function oh(a, o, u) {
8029
8029
  if (o.length === 0)
8030
8030
  return 0;
8031
8031
  if (o.some((h) => h.startTime <= u && h.endTime > u))
@@ -8049,11 +8049,11 @@ function kr(a) {
8049
8049
  function ht(a) {
8050
8050
  return JSON.parse(JSON.stringify(ne(a)));
8051
8051
  }
8052
- function oh(a) {
8053
- return pu(a) || _u(a);
8052
+ function lh(a) {
8053
+ return _u(a) || mu(a);
8054
8054
  }
8055
8055
  function Pp(a, o) {
8056
- const u = $c(), { videoBasicInfo: f, segments: h, tracks: p, updateProtocol: y, undo: n, redo: v, exportProtocol: w, undoCount: g, redoCount: U } = lh(u.verify(a)), t = si(0), l = si(), e = Ve(() => {
8056
+ const u = Nc(), { videoBasicInfo: f, segments: h, tracks: p, updateProtocol: y, undo: n, redo: v, exportProtocol: w, undoCount: g, redoCount: U } = uh(u.verify(a)), t = si(0), l = si(), e = Ve(() => {
8057
8057
  if (l.value)
8058
8058
  return h.value[l.value];
8059
8059
  }), r = ($) => {
@@ -8124,7 +8124,7 @@ function Pp(a, o) {
8124
8124
  for (let N = x.length - 1; N >= 0; N--) {
8125
8125
  if (x[N].trackType !== q.segmentType)
8126
8126
  continue;
8127
- const M = x[N].children, Z = ah(q, M, t.value);
8127
+ const M = x[N].children, Z = oh(q, M, t.value);
8128
8128
  if (Z !== -1)
8129
8129
  return M.splice(Z, 0, q), H.add(x[N].trackId), q.id;
8130
8130
  }
@@ -8216,7 +8216,7 @@ function Pp(a, o) {
8216
8216
  let N = $.startTime, M = $.endTime, Z = M - N;
8217
8217
  if (!Number.isFinite(Z) || Z < 0)
8218
8218
  return !1;
8219
- const X = oh(P) ? P : null;
8219
+ const X = lh(P) ? P : null;
8220
8220
  let R = X ? X.fromTime ?? 0 : 0;
8221
8221
  if (X && N !== B) {
8222
8222
  const k = X.fromTime ?? 0, O = N - B, Y = Math.max(O, -k);
@@ -8237,11 +8237,11 @@ function Pp(a, o) {
8237
8237
  const W = q ?? e.value?.id;
8238
8238
  if (W === void 0)
8239
8239
  return;
8240
- const D = fh(W, V);
8240
+ const D = dh(W, V);
8241
8241
  D && (!H || D.segmentType === H) && $(D);
8242
8242
  }, (V, W, D) => {
8243
8243
  D((C) => {
8244
- sh(V, W, C, u) ? rh(V, W, C, n) : n();
8244
+ ah(V, W, C, u) ? nh(V, W, C, n) : n();
8245
8245
  });
8246
8246
  });
8247
8247
  }
@@ -8302,8 +8302,8 @@ function Pp(a, o) {
8302
8302
  undoCount: g
8303
8303
  };
8304
8304
  }
8305
- function lh(a) {
8306
- const o = uh(Mn(a)), { state: u, update: f, enable: h, redo: p, undo: y, undoCount: n, redoCount: v } = ih(o);
8305
+ function uh(a) {
8306
+ const o = fh(Mn(a)), { state: u, update: f, enable: h, redo: p, undo: y, undoCount: n, redoCount: v } = rh(o);
8307
8307
  h();
8308
8308
  const w = is({
8309
8309
  // version is readonly
@@ -8337,12 +8337,12 @@ function lh(a) {
8337
8337
  }), ne(u.value))
8338
8338
  };
8339
8339
  }
8340
- function uh(a) {
8340
+ function fh(a) {
8341
8341
  for (const o of a.tracks)
8342
8342
  o.children.sort((u, f) => u.startTime === f.startTime ? u.endTime === f.endTime ? u.id.localeCompare(f.id) : u.endTime - f.endTime : u.startTime - f.startTime);
8343
8343
  return a;
8344
8344
  }
8345
- function fh(a, o) {
8345
+ function dh(a, o) {
8346
8346
  for (const u of o.tracks) {
8347
8347
  const f = u.children.find((h) => h.id === a);
8348
8348
  if (f)
@@ -8354,7 +8354,7 @@ const Ap = (a) => {
8354
8354
  throw new TypeError("invalid protocol", { cause: a });
8355
8355
  let o;
8356
8356
  try {
8357
- o = dh(a);
8357
+ o = ch(a);
8358
8358
  } catch {
8359
8359
  throw new Error("invalid protocol", { cause: a });
8360
8360
  }
@@ -8362,14 +8362,14 @@ const Ap = (a) => {
8362
8362
  throw new Error("invalid protocol", { cause: a });
8363
8363
  return o;
8364
8364
  };
8365
- function dh(a) {
8365
+ function ch(a) {
8366
8366
  return JSON.parse(a);
8367
8367
  }
8368
8368
  var Zl = (a) => {
8369
8369
  throw TypeError(a);
8370
8370
  }, Xl = (a, o, u) => o.has(a) || Zl("Cannot " + u), re = (a, o, u) => (Xl(a, o, "read from private field"), u ? u.call(a) : o.get(a)), xe = (a, o, u) => o.has(a) ? Zl("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(a) : o.set(a, u), _e = (a, o, u, f) => (Xl(a, o, "write to private field"), o.set(a, u), u);
8371
- const Jl = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2Z1bmN0aW9uIHUobil7aWYobj09PSIvIilyZXR1cm57cGFyZW50Om51bGwsbmFtZToiIn07Y29uc3QgZT1uLnNwbGl0KCIvIikuZmlsdGVyKGk9PmkubGVuZ3RoPjApO2lmKGUubGVuZ3RoPT09MCl0aHJvdyBFcnJvcigiSW52YWxpZCBwYXRoIik7Y29uc3QgYT1lW2UubGVuZ3RoLTFdLHI9Ii8iK2Uuc2xpY2UoMCwtMSkuam9pbigiLyIpO3JldHVybntuYW1lOmEscGFyZW50OnJ9fWFzeW5jIGZ1bmN0aW9uIHcobixlKXtjb25zdHtwYXJlbnQ6YSxuYW1lOnJ9PXUobik7aWYoYT09bnVsbClyZXR1cm4gYXdhaXQgbmF2aWdhdG9yLnN0b3JhZ2UuZ2V0RGlyZWN0b3J5KCk7Y29uc3QgaT1hLnNwbGl0KCIvIikuZmlsdGVyKHQ9PnQubGVuZ3RoPjApO3RyeXtsZXQgdD1hd2FpdCBuYXZpZ2F0b3Iuc3RvcmFnZS5nZXREaXJlY3RvcnkoKTtmb3IoY29uc3QgcyBvZiBpKXQ9YXdhaXQgdC5nZXREaXJlY3RvcnlIYW5kbGUocyx7Y3JlYXRlOmUuY3JlYXRlfSk7aWYoZS5pc0ZpbGUpcmV0dXJuIGF3YWl0IHQuZ2V0RmlsZUhhbmRsZShyLHtjcmVhdGU6ZS5jcmVhdGV9KX1jYXRjaCh0KXtpZih0Lm5hbWU9PT0iTm90Rm91bmRFcnJvciIpcmV0dXJuIG51bGw7dGhyb3cgdH19Y29uc3QgZj17fTtzZWxmLm9ubWVzc2FnZT1hc3luYyBuPT57dmFyIGk7Y29uc3R7ZXZ0VHlwZTplLGFyZ3M6YX09bi5kYXRhO2xldCByPWZbYS5maWxlSWRdO3RyeXtsZXQgdDtjb25zdCBzPVtdO2lmKGU9PT0icmVnaXN0ZXIiKXtjb25zdCBsPWF3YWl0IHcoYS5maWxlUGF0aCx7Y3JlYXRlOiEwLGlzRmlsZTohMH0pO2lmKGw9PW51bGwpdGhyb3cgRXJyb3IoYG5vdCBmb3VuZCBmaWxlOiAke2EuZmlsZUlkfWApO3I9YXdhaXQgbC5jcmVhdGVTeW5jQWNjZXNzSGFuZGxlKHttb2RlOmEubW9kZX0pLGZbYS5maWxlSWRdPXJ9ZWxzZSBpZihlPT09ImNsb3NlIilhd2FpdCByLmNsb3NlKCksZGVsZXRlIGZbYS5maWxlSWRdO2Vsc2UgaWYoZT09PSJ0cnVuY2F0ZSIpYXdhaXQgci50cnVuY2F0ZShhLm5ld1NpemUpO2Vsc2UgaWYoZT09PSJ3cml0ZSIpe2NvbnN0e2RhdGE6bCxvcHRzOm99PW4uZGF0YS5hcmdzO3Q9YXdhaXQgci53cml0ZShsLG8pfWVsc2UgaWYoZT09PSJyZWFkIil7Y29uc3R7b2Zmc2V0Omwsc2l6ZTpvfT1uLmRhdGEuYXJncyxnPW5ldyBVaW50OEFycmF5KG8pLGQ9YXdhaXQgci5yZWFkKGcse2F0Omx9KSxjPWcuYnVmZmVyO3Q9ZD09PW8/YzooKGk9Yy50cmFuc2Zlcik9PW51bGw/dm9pZCAwOmkuY2FsbChjLGQpKT8/Yy5zbGljZSgwLGQpLHMucHVzaCh0KX1lbHNlIGU9PT0iZ2V0U2l6ZSI/dD1hd2FpdCByLmdldFNpemUoKTplPT09ImZsdXNoIiYmYXdhaXQgci5mbHVzaCgpO3NlbGYucG9zdE1lc3NhZ2Uoe2V2dFR5cGU6ImNhbGxiYWNrIixjYklkOm4uZGF0YS5jYklkLHJldHVyblZhbDp0fSxzKX1jYXRjaCh0KXtjb25zdCBzPXQ7c2VsZi5wb3N0TWVzc2FnZSh7ZXZ0VHlwZToidGhyb3dFcnJvciIsY2JJZDpuLmRhdGEuY2JJZCxlcnJNc2c6cy5uYW1lKyI6ICIrcy5tZXNzYWdlK2AKYCtKU09OLnN0cmluZ2lmeShuLmRhdGEpfSl9fX0pKCk7Ci8vIyBzb3VyY2VNYXBwaW5nVVJMPW9wZnMtd29ya2VyLUY0UldscWNfLmpzLm1hcAo=", ch = (a) => Uint8Array.from(atob(a), (o) => o.charCodeAt(0)), il = typeof self < "u" && self.Blob && new Blob([ch(Jl)], { type: "text/javascript;charset=utf-8" });
8372
- function hh(a) {
8371
+ const Jl = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2Z1bmN0aW9uIHUobil7aWYobj09PSIvIilyZXR1cm57cGFyZW50Om51bGwsbmFtZToiIn07Y29uc3QgZT1uLnNwbGl0KCIvIikuZmlsdGVyKGk9PmkubGVuZ3RoPjApO2lmKGUubGVuZ3RoPT09MCl0aHJvdyBFcnJvcigiSW52YWxpZCBwYXRoIik7Y29uc3QgYT1lW2UubGVuZ3RoLTFdLHI9Ii8iK2Uuc2xpY2UoMCwtMSkuam9pbigiLyIpO3JldHVybntuYW1lOmEscGFyZW50OnJ9fWFzeW5jIGZ1bmN0aW9uIHcobixlKXtjb25zdHtwYXJlbnQ6YSxuYW1lOnJ9PXUobik7aWYoYT09bnVsbClyZXR1cm4gYXdhaXQgbmF2aWdhdG9yLnN0b3JhZ2UuZ2V0RGlyZWN0b3J5KCk7Y29uc3QgaT1hLnNwbGl0KCIvIikuZmlsdGVyKHQ9PnQubGVuZ3RoPjApO3RyeXtsZXQgdD1hd2FpdCBuYXZpZ2F0b3Iuc3RvcmFnZS5nZXREaXJlY3RvcnkoKTtmb3IoY29uc3QgcyBvZiBpKXQ9YXdhaXQgdC5nZXREaXJlY3RvcnlIYW5kbGUocyx7Y3JlYXRlOmUuY3JlYXRlfSk7aWYoZS5pc0ZpbGUpcmV0dXJuIGF3YWl0IHQuZ2V0RmlsZUhhbmRsZShyLHtjcmVhdGU6ZS5jcmVhdGV9KX1jYXRjaCh0KXtpZih0Lm5hbWU9PT0iTm90Rm91bmRFcnJvciIpcmV0dXJuIG51bGw7dGhyb3cgdH19Y29uc3QgZj17fTtzZWxmLm9ubWVzc2FnZT1hc3luYyBuPT57dmFyIGk7Y29uc3R7ZXZ0VHlwZTplLGFyZ3M6YX09bi5kYXRhO2xldCByPWZbYS5maWxlSWRdO3RyeXtsZXQgdDtjb25zdCBzPVtdO2lmKGU9PT0icmVnaXN0ZXIiKXtjb25zdCBsPWF3YWl0IHcoYS5maWxlUGF0aCx7Y3JlYXRlOiEwLGlzRmlsZTohMH0pO2lmKGw9PW51bGwpdGhyb3cgRXJyb3IoYG5vdCBmb3VuZCBmaWxlOiAke2EuZmlsZUlkfWApO3I9YXdhaXQgbC5jcmVhdGVTeW5jQWNjZXNzSGFuZGxlKHttb2RlOmEubW9kZX0pLGZbYS5maWxlSWRdPXJ9ZWxzZSBpZihlPT09ImNsb3NlIilhd2FpdCByLmNsb3NlKCksZGVsZXRlIGZbYS5maWxlSWRdO2Vsc2UgaWYoZT09PSJ0cnVuY2F0ZSIpYXdhaXQgci50cnVuY2F0ZShhLm5ld1NpemUpO2Vsc2UgaWYoZT09PSJ3cml0ZSIpe2NvbnN0e2RhdGE6bCxvcHRzOm99PW4uZGF0YS5hcmdzO3Q9YXdhaXQgci53cml0ZShsLG8pfWVsc2UgaWYoZT09PSJyZWFkIil7Y29uc3R7b2Zmc2V0Omwsc2l6ZTpvfT1uLmRhdGEuYXJncyxnPW5ldyBVaW50OEFycmF5KG8pLGQ9YXdhaXQgci5yZWFkKGcse2F0Omx9KSxjPWcuYnVmZmVyO3Q9ZD09PW8/YzooKGk9Yy50cmFuc2Zlcik9PW51bGw/dm9pZCAwOmkuY2FsbChjLGQpKT8/Yy5zbGljZSgwLGQpLHMucHVzaCh0KX1lbHNlIGU9PT0iZ2V0U2l6ZSI/dD1hd2FpdCByLmdldFNpemUoKTplPT09ImZsdXNoIiYmYXdhaXQgci5mbHVzaCgpO3NlbGYucG9zdE1lc3NhZ2Uoe2V2dFR5cGU6ImNhbGxiYWNrIixjYklkOm4uZGF0YS5jYklkLHJldHVyblZhbDp0fSxzKX1jYXRjaCh0KXtjb25zdCBzPXQ7c2VsZi5wb3N0TWVzc2FnZSh7ZXZ0VHlwZToidGhyb3dFcnJvciIsY2JJZDpuLmRhdGEuY2JJZCxlcnJNc2c6cy5uYW1lKyI6ICIrcy5tZXNzYWdlK2AKYCtKU09OLnN0cmluZ2lmeShuLmRhdGEpfSl9fX0pKCk7Ci8vIyBzb3VyY2VNYXBwaW5nVVJMPW9wZnMtd29ya2VyLUY0UldscWNfLmpzLm1hcAo=", hh = (a) => Uint8Array.from(atob(a), (o) => o.charCodeAt(0)), il = typeof self < "u" && self.Blob && new Blob([hh(Jl)], { type: "text/javascript;charset=utf-8" });
8372
+ function ph(a) {
8373
8373
  let o;
8374
8374
  try {
8375
8375
  if (o = il && (self.URL || self.webkitURL).createObjectURL(il), !o) throw "";
@@ -8390,8 +8390,8 @@ function hh(a) {
8390
8390
  o && (self.URL || self.webkitURL).revokeObjectURL(o);
8391
8391
  }
8392
8392
  }
8393
- async function ph(a, o, u) {
8394
- const f = _h();
8393
+ async function _h(a, o, u) {
8394
+ const f = mh();
8395
8395
  return await f("register", { fileId: a, filePath: o, mode: u }), {
8396
8396
  read: async (h, p) => await f("read", {
8397
8397
  fileId: a,
@@ -8424,7 +8424,7 @@ async function ph(a, o, u) {
8424
8424
  }
8425
8425
  const Br = [];
8426
8426
  let Tn = 0;
8427
- function _h() {
8427
+ function mh() {
8428
8428
  if (Br.length < 3) {
8429
8429
  const o = a();
8430
8430
  return Br.push(o), o;
@@ -8433,7 +8433,7 @@ function _h() {
8433
8433
  return Tn = (Tn + 1) % Br.length, o;
8434
8434
  }
8435
8435
  function a() {
8436
- const o = new hh();
8436
+ const o = new ph();
8437
8437
  let u = 0, f = {};
8438
8438
  return o.onmessage = ({
8439
8439
  data: h
@@ -8511,7 +8511,7 @@ function Ye(a) {
8511
8511
  return new eu(a);
8512
8512
  }
8513
8513
  var Ae, $r, Qt;
8514
- const mh = class Ql {
8514
+ const yh = class Ql {
8515
8515
  constructor(o) {
8516
8516
  xe(this, Ae), xe(this, $r), xe(this, Qt), _e(this, Ae, o);
8517
8517
  const { parent: u, name: f } = nn(o);
@@ -8608,7 +8608,7 @@ const mh = class Ql {
8608
8608
  }
8609
8609
  };
8610
8610
  Ae = /* @__PURE__ */ new WeakMap(), $r = /* @__PURE__ */ new WeakMap(), Qt = /* @__PURE__ */ new WeakMap();
8611
- let eu = mh;
8611
+ let eu = yh;
8612
8612
  const qn = /* @__PURE__ */ new Map();
8613
8613
  function Ue(a, o = "rw") {
8614
8614
  if (o === "rw") {
@@ -8639,17 +8639,17 @@ async function Ai(a, o, u = { overwrite: !0 }) {
8639
8639
  await f.close();
8640
8640
  }
8641
8641
  }
8642
- let yh = 0;
8643
- const gh = () => ++yh;
8642
+ let gh = 0;
8643
+ const vh = () => ++gh;
8644
8644
  var Se, ei, Nr, ti, Or, Be, Mr, jr, pt;
8645
- const vh = class tu {
8645
+ const bh = class tu {
8646
8646
  constructor(o, u) {
8647
8647
  xe(this, Se), xe(this, ei), xe(this, Nr), xe(this, ti), xe(this, Or), xe(this, Be, 0), xe(this, Mr, async () => {
8648
8648
  }), xe(this, jr, /* @__PURE__ */ (() => {
8649
8649
  let p = null;
8650
8650
  return () => (_e(this, Be, re(this, Be) + 1), p != null || (p = new Promise(async (y, n) => {
8651
8651
  try {
8652
- const v = await ph(
8652
+ const v = await _h(
8653
8653
  re(this, Or),
8654
8654
  re(this, Se),
8655
8655
  re(this, ti)
@@ -8666,7 +8666,7 @@ const vh = class tu {
8666
8666
  n(v);
8667
8667
  }
8668
8668
  })), p);
8669
- })()), xe(this, pt, !1), _e(this, Or, gh()), _e(this, Se, o), _e(this, ti, {
8669
+ })()), xe(this, pt, !1), _e(this, Or, vh()), _e(this, Se, o), _e(this, ti, {
8670
8670
  r: "read-only",
8671
8671
  rw: "readwrite",
8672
8672
  "rw-unsafe": "readwrite-unsafe"
@@ -8798,7 +8798,7 @@ const vh = class tu {
8798
8798
  }
8799
8799
  };
8800
8800
  Se = /* @__PURE__ */ new WeakMap(), ei = /* @__PURE__ */ new WeakMap(), Nr = /* @__PURE__ */ new WeakMap(), ti = /* @__PURE__ */ new WeakMap(), Or = /* @__PURE__ */ new WeakMap(), Be = /* @__PURE__ */ new WeakMap(), Mr = /* @__PURE__ */ new WeakMap(), jr = /* @__PURE__ */ new WeakMap(), pt = /* @__PURE__ */ new WeakMap();
8801
- let Zr = vh;
8801
+ let Zr = bh;
8802
8802
  const _s = "/.opfs-tools-temp-dir";
8803
8803
  async function iu(a) {
8804
8804
  try {
@@ -8813,7 +8813,7 @@ async function iu(a) {
8813
8813
  return console.warn(o), !1;
8814
8814
  }
8815
8815
  }
8816
- function bh() {
8816
+ function wh() {
8817
8817
  setInterval(async () => {
8818
8818
  for (const a of await Ye(_s).children()) {
8819
8819
  const o = /^\d+-(\d+)$/.exec(a.name);
@@ -8823,7 +8823,7 @@ function bh() {
8823
8823
  }
8824
8824
  const Vn = [];
8825
8825
  let rl = !1;
8826
- async function wh() {
8826
+ async function Sh() {
8827
8827
  if (globalThis.localStorage == null) return;
8828
8828
  const a = "OPFS_TOOLS_EXPIRES_TMP_FILES";
8829
8829
  rl || (rl = !0, globalThis.addEventListener("unload", () => {
@@ -8839,15 +8839,15 @@ async function wh() {
8839
8839
  }
8840
8840
  (async function() {
8841
8841
  var a;
8842
- globalThis.__opfs_tools_tmpfile_init__ !== !0 && (globalThis.__opfs_tools_tmpfile_init__ = !0, !(globalThis.FileSystemDirectoryHandle == null || globalThis.FileSystemFileHandle == null || ((a = globalThis.navigator) == null ? void 0 : a.storage.getDirectory) == null) && (bh(), await wh()));
8842
+ globalThis.__opfs_tools_tmpfile_init__ !== !0 && (globalThis.__opfs_tools_tmpfile_init__ = !0, !(globalThis.FileSystemDirectoryHandle == null || globalThis.FileSystemFileHandle == null || ((a = globalThis.navigator) == null ? void 0 : a.storage.getDirectory) == null) && (wh(), await Sh()));
8843
8843
  })();
8844
- function Sh() {
8844
+ function xh() {
8845
8845
  const a = `${Math.random().toString().slice(2)}-${Date.now()}`;
8846
8846
  return Vn.push(a), Ue(`${_s}/${a}`);
8847
8847
  }
8848
8848
  const ms = "/video-editor-res";
8849
8849
  var In = {}, nl;
8850
- function xh() {
8850
+ function Uh() {
8851
8851
  return nl || (nl = 1, (function(a) {
8852
8852
  var o = /* @__PURE__ */ (function() {
8853
8853
  var t = /* @__PURE__ */ new Date(), l = 4, e = 3, r = 2, s = 1, c = l, d = {
@@ -11731,8 +11731,8 @@ function xh() {
11731
11731
  }, a.createFile = U.createFile;
11732
11732
  })(In)), In;
11733
11733
  }
11734
- var Uh = xh();
11735
- const Eh = /* @__PURE__ */ wt(Uh), Th = ["image", "video", "audio", "font", "model"];
11734
+ var Eh = Uh();
11735
+ const Th = /* @__PURE__ */ wt(Eh), Ih = ["image", "video", "audio", "font", "model"];
11736
11736
  function ru(a, o) {
11737
11737
  const u = new URL(a);
11738
11738
  return fetch(u, o);
@@ -11744,22 +11744,22 @@ async function nu(a) {
11744
11744
  const u = o.headers.get("content-type"), f = o.headers.get("content-length") ?? 0;
11745
11745
  if (!u)
11746
11746
  throw new Error("Resource type not found");
11747
- if (!Th.some((h) => u?.startsWith(h)))
11747
+ if (!Ih.some((h) => u?.startsWith(h)))
11748
11748
  throw new Error("Resource type not support");
11749
11749
  return {
11750
11750
  type: u?.split("/")[0],
11751
11751
  totalSize: +f
11752
11752
  };
11753
11753
  }
11754
- function Ih(a, o, u) {
11754
+ function Ph(a, o, u) {
11755
11755
  return ru(a, {
11756
11756
  headers: {
11757
11757
  Range: `bytes=${o}-${u}`
11758
11758
  }
11759
11759
  });
11760
11760
  }
11761
- async function Ph(a, o) {
11762
- const u = Eh.createFile();
11761
+ async function Ah(a, o) {
11762
+ const u = Th.createFile();
11763
11763
  let f = !1;
11764
11764
  const h = typeof a == "string" ? await (await nu(a)).totalSize : await a.getSize(), p = typeof a == "string" ? null : await a.createReader();
11765
11765
  u.onReady = (g) => {
@@ -11777,7 +11777,7 @@ async function Ph(a, o) {
11777
11777
  o.onDone?.(), p?.close();
11778
11778
  };
11779
11779
  async function n(g) {
11780
- return typeof g == "string" ? async (U, t) => U >= h ? new ArrayBuffer(0) : await (await Ih(g, U, Math.min(t, h))).arrayBuffer() : async (U, t) => await p.read(t - U, { at: U });
11780
+ return typeof g == "string" ? async (U, t) => U >= h ? new ArrayBuffer(0) : await (await Ph(g, U, Math.min(t, h))).arrayBuffer() : async (U, t) => await p.read(t - U, { at: U });
11781
11781
  }
11782
11782
  const v = 1024 * 1024 * 1;
11783
11783
  async function w(g, U) {
@@ -11798,24 +11798,24 @@ async function Ph(a, o) {
11798
11798
  }
11799
11799
  };
11800
11800
  }
11801
- function Ah(a) {
11801
+ function Ch(a) {
11802
11802
  return {
11803
- image: Ch,
11804
- video: zh,
11803
+ image: zh,
11804
+ video: Fh,
11805
11805
  audio: () => Promise.resolve(),
11806
11806
  font: () => Promise.resolve(),
11807
11807
  model: () => Promise.resolve()
11808
11808
  }[a];
11809
11809
  }
11810
- async function Ch(a) {
11810
+ async function zh(a) {
11811
11811
  const o = new Image(), u = await a.getOriginFile();
11812
11812
  if (u)
11813
11813
  return o.src = URL.createObjectURL(u), o;
11814
11814
  }
11815
- async function zh(a) {
11815
+ async function Fh(a) {
11816
11816
  return new Promise((o, u) => {
11817
11817
  const f = [];
11818
- Ph(a, {
11818
+ Ah(a, {
11819
11819
  onSamples: (h) => {
11820
11820
  f.push(h);
11821
11821
  },
@@ -11853,7 +11853,7 @@ function rt(a, o) {
11853
11853
  const u = ys(o);
11854
11854
  return u ? `${a}/${u}` : "";
11855
11855
  }
11856
- function Fh(a) {
11856
+ function au(a) {
11857
11857
  const o = su(a).toLowerCase();
11858
11858
  if (!o)
11859
11859
  return;
@@ -14859,11 +14859,11 @@ function Nh() {
14859
14859
  const a = /* @__PURE__ */ new Date();
14860
14860
  return `${a.getHours()}:${a.getMinutes()}:${a.getSeconds()}.${a.getMilliseconds()}`;
14861
14861
  }
14862
- let au = 1;
14863
- const ou = [], ol = ["debug", "info", "warn", "error"].reduce(
14862
+ let ou = 1;
14863
+ const lu = [], ol = ["debug", "info", "warn", "error"].reduce(
14864
14864
  (a, o, u) => Object.assign(a, {
14865
14865
  [o]: (...f) => {
14866
- au <= u && (console[o](...f), ou.push({
14866
+ ou <= u && (console[o](...f), lu.push({
14867
14867
  lvName: o,
14868
14868
  timeStr: Nh(),
14869
14869
  args: f
@@ -14879,7 +14879,7 @@ const ou = [], ol = ["debug", "info", "warn", "error"].reduce(
14879
14879
  * Log.setLogLevel(Log.warn) // 记录 warn,error 日志
14880
14880
  */
14881
14881
  setLogLevel: (a) => {
14882
- au = Ci.get(a) ?? 1;
14882
+ ou = Ci.get(a) ?? 1;
14883
14883
  },
14884
14884
  ...ol,
14885
14885
  /**
@@ -14903,7 +14903,7 @@ const ou = [], ol = ["debug", "info", "warn", "error"].reduce(
14903
14903
  *
14904
14904
  */
14905
14905
  async dump() {
14906
- return ou.reduce(
14906
+ return lu.reduce(
14907
14907
  (a, { lvName: o, timeStr: u, args: f }) => a + `[${o}][${u}] ${f.map((h) => $h(h)).join(" ")}
14908
14908
  `,
14909
14909
  ""
@@ -15169,10 +15169,10 @@ function Kh(a, o, u, f = {}) {
15169
15169
  );
15170
15170
  }
15171
15171
  } else
15172
- lu(a, p, y);
15172
+ uu(a, p, y);
15173
15173
  return p;
15174
15174
  }
15175
- function lu(a, o, u) {
15175
+ function uu(a, o, u) {
15176
15176
  for (let f = 0, h = o.length; f < h; f++)
15177
15177
  o[f] = u.interpolate(f, a);
15178
15178
  }
@@ -15189,7 +15189,7 @@ function Zh(a, o, u, f) {
15189
15189
  f.reset();
15190
15190
  for (let h = a.length - 1; h >= 0; h--)
15191
15191
  a[h] = f.filter(a[h]);
15192
- lu(a, o, u);
15192
+ uu(a, o, u);
15193
15193
  }
15194
15194
  function Xh(a) {
15195
15195
  if (a.format === "f32-planar") {
@@ -15254,7 +15254,7 @@ async function tp(a, o, u) {
15254
15254
  ), n = y.createBufferSource(), v = y.createBuffer(f, p, o);
15255
15255
  return a.forEach((w, g) => v.copyToChannel(w, g)), n.buffer = v, n.connect(y.destination), n.start(), ep(await y.startRendering());
15256
15256
  }
15257
- function uu(a) {
15257
+ function fu(a) {
15258
15258
  return new Promise((o) => {
15259
15259
  const u = Lh(() => {
15260
15260
  u(), o();
@@ -15466,7 +15466,7 @@ class Ce {
15466
15466
  throw Error("Illegal argument");
15467
15467
  this.#a = { audio: !0, ...u }, this.#f = typeof u.audio == "object" && "volume" in u.audio ? u.audio.volume : 1;
15468
15468
  const f = async (h) => (await Ai(this.#t, h), this.#t);
15469
- this.#t = An(o) ? o : "localFile" in o ? o.localFile : Sh(), this.ready = (o instanceof ReadableStream ? f(o).then(
15469
+ this.#t = An(o) ? o : "localFile" in o ? o.localFile : xh(), this.ready = (o instanceof ReadableStream ? f(o).then(
15470
15470
  (h) => ul(h, this.#a)
15471
15471
  ) : An(o) ? ul(o, this.#a) : Promise.resolve(o)).then(
15472
15472
  async ({
@@ -15585,7 +15585,7 @@ class Ce {
15585
15585
  const { start: e = 0, end: r = this.#s.duration, step: s } = u ?? {};
15586
15586
  if (s) {
15587
15587
  let c = e;
15588
- const d = new fu(
15588
+ const d = new du(
15589
15589
  await this.#t.createReader(),
15590
15590
  this.#o,
15591
15591
  {
@@ -15746,7 +15746,7 @@ function fp(a, o, u, f, h) {
15746
15746
  targetSampleRate: bt.sampleRate
15747
15747
  }
15748
15748
  ),
15749
- videoFrameFinder: a.video == null || u.length === 0 ? null : new fu(
15749
+ videoFrameFinder: a.video == null || u.length === 0 ? null : new du(
15750
15750
  o,
15751
15751
  u,
15752
15752
  a.video
@@ -15841,7 +15841,7 @@ function fl(a, o = 0, u) {
15841
15841
  data: u === "video" ? null : a.data
15842
15842
  };
15843
15843
  }
15844
- class fu {
15844
+ class du {
15845
15845
  constructor(o, u, f) {
15846
15846
  this.localFileReader = o, this.samples = u, this.conf = f;
15847
15847
  }
@@ -15875,7 +15875,7 @@ class fu {
15875
15875
  throw Error(
15876
15876
  `MP4Clip.tick video timeout, ${JSON.stringify(this.#_())}`
15877
15877
  );
15878
- this.#o += 1, await uu(15);
15878
+ this.#o += 1, await fu(15);
15879
15879
  } else {
15880
15880
  if (this.#i >= this.samples.length)
15881
15881
  return null;
@@ -15903,7 +15903,7 @@ class fu {
15903
15903
  if (h[0]?.is_idr !== !0)
15904
15904
  le.warn("First sample not idr frame");
15905
15905
  else {
15906
- const p = performance.now(), y = await du(h, this.localFileReader), n = performance.now() - p;
15906
+ const p = performance.now(), y = await cu(h, this.localFileReader), n = performance.now() - p;
15907
15907
  if (n > 1e3) {
15908
15908
  const v = h[0], w = h.at(-1), g = w.offset + w.size - v.offset;
15909
15909
  le.warn(
@@ -15973,7 +15973,7 @@ class fu {
15973
15973
  softDeocde: this.#t,
15974
15974
  clipIdCnt: gs,
15975
15975
  sleepCnt: this.#o,
15976
- memInfo: cu()
15976
+ memInfo: hu()
15977
15977
  });
15978
15978
  destroy = () => {
15979
15979
  this.#r?.state !== "closed" && this.#r?.close(), this.#r = null, this.#n.abort = !0, this.#e.forEach((o) => o.close()), this.#e = [], this.localFileReader.close();
@@ -16026,7 +16026,7 @@ class cp {
16026
16026
  throw f.abort = !0, Error(
16027
16027
  `MP4Clip.tick audio timeout, ${JSON.stringify(this.#p())}`
16028
16028
  );
16029
- this.#l += 1, await uu(15);
16029
+ this.#l += 1, await fu(15);
16030
16030
  } else {
16031
16031
  if (this.#i >= this.samples.length - 1)
16032
16032
  return dl(this.#e, this.#e.frameCnt);
@@ -16078,7 +16078,7 @@ class cp {
16078
16078
  pcmLen: this.#e.frameCnt,
16079
16079
  clipIdCnt: gs,
16080
16080
  sleepCnt: this.#l,
16081
- memInfo: cu()
16081
+ memInfo: hu()
16082
16082
  });
16083
16083
  destroy = () => {
16084
16084
  this.#n = null, this.#s.abort = !0, this.#e = {
@@ -16176,7 +16176,7 @@ function dl(a, o) {
16176
16176
  }
16177
16177
  return a.data = a.data.slice(h), a.frameCnt -= o, u;
16178
16178
  }
16179
- async function du(a, o) {
16179
+ async function cu(a, o) {
16180
16180
  const u = a[0], f = a.at(-1);
16181
16181
  if (f == null) return [];
16182
16182
  const h = f.offset + f.size - u.offset;
@@ -16280,7 +16280,7 @@ function gp(a, o) {
16280
16280
  return -1;
16281
16281
  }
16282
16282
  async function vp(a, o, u, f, h, p) {
16283
- const y = await o.createReader(), n = await du(
16283
+ const y = await o.createReader(), n = await cu(
16284
16284
  a.filter(
16285
16285
  (g) => !g.deleted && g.is_sync && g.cts >= h.start && g.cts <= h.end
16286
16286
  ),
@@ -16336,7 +16336,7 @@ function Wn(a) {
16336
16336
  }
16337
16337
  u != null && u.cts < 2e5 && (u.duration += u.cts, u.cts = 0);
16338
16338
  }
16339
- function cu() {
16339
+ function hu() {
16340
16340
  try {
16341
16341
  const a = performance.memory;
16342
16342
  return {
@@ -16354,24 +16354,27 @@ const Cn = /* @__PURE__ */ new Map(), cl = /* @__PURE__ */ new Set();
16354
16354
  async function Cp(a, o) {
16355
16355
  if (!a)
16356
16356
  throw new Error("url is required");
16357
+ const u = au(a);
16358
+ if (u && u !== "video")
16359
+ return [];
16357
16360
  const {
16358
- imgWidth: u = 100,
16359
- start: f,
16360
- end: h,
16361
- step: p,
16362
- resourceDir: y = ms
16363
- } = o || {}, n = await Zn(a, y) ?? await wp(a, y), v = `${y}::${ys(a)}`;
16364
- if (v && cl.has(v))
16365
- return await hl(a, n, { imgWidth: u, start: f, end: h, step: p });
16366
- const w = await bp(a, n);
16361
+ imgWidth: f = 100,
16362
+ start: h,
16363
+ end: p,
16364
+ step: y,
16365
+ resourceDir: n = ms
16366
+ } = o || {}, v = await Zn(a, n) ?? await wp(a, n), w = `${n}::${ys(a)}`;
16367
+ if (w && cl.has(w))
16368
+ return await hl(a, v, { imgWidth: f, start: h, end: p, step: y });
16369
+ const g = await bp(a, v);
16367
16370
  try {
16368
- await w.ready;
16369
- const g = Up({ start: f, end: h, step: p });
16370
- return await w.thumbnails(u, g);
16371
- } catch (g) {
16372
- return v && Sp(g) && cl.add(v), await hl(a, n, { imgWidth: u, start: f, end: h, step: p });
16371
+ await g.ready;
16372
+ const U = Up({ start: h, end: p, step: y });
16373
+ return await g.thumbnails(f, U);
16374
+ } catch (U) {
16375
+ return w && Sp(U) && cl.add(w), await hl(a, v, { imgWidth: f, start: h, end: p, step: y });
16373
16376
  } finally {
16374
- w.destroy();
16377
+ g.destroy();
16375
16378
  }
16376
16379
  }
16377
16380
  async function bp(a, o) {
@@ -16648,7 +16651,7 @@ function Fp(a) {
16648
16651
  async function p(v) {
16649
16652
  if (!await h(v))
16650
16653
  return;
16651
- const g = Fh(v) ?? await nu(v).then((l) => l.type).catch(() => {
16654
+ const g = au(v) ?? await nu(v).then((l) => l.type).catch(() => {
16652
16655
  });
16653
16656
  if (!g)
16654
16657
  return;
@@ -16656,7 +16659,7 @@ function Fp(a) {
16656
16659
  if (!U)
16657
16660
  return;
16658
16661
  const t = Ue(U);
16659
- return Ah(g)(t);
16662
+ return Ch(g)(t);
16660
16663
  }
16661
16664
  async function y(v) {
16662
16665
  if (!v)
@@ -16685,13 +16688,13 @@ function Fp(a) {
16685
16688
  }
16686
16689
  export {
16687
16690
  ms as DEFAULT_RESOURCE_DIR,
16688
- Dc as DUPLICATE_SEGMENT_ID,
16689
- Lc as DUPLICATE_TRACK_ID,
16691
+ Lc as DUPLICATE_SEGMENT_ID,
16692
+ $c as DUPLICATE_TRACK_ID,
16690
16693
  Fp as createResourceManager,
16691
- $c as createValidator,
16694
+ Nc as createValidator,
16692
16695
  Pp as createVideoProtocolManager,
16693
- Ah as fileTo,
16694
- Ph as fileToMP4Samples,
16696
+ Ch as fileTo,
16697
+ Ah as fileToMP4Samples,
16695
16698
  Cp as generateThumbnails,
16696
16699
  zp as getMp4Meta,
16697
16700
  ys as getResourceKey,