@harbour-enterprises/superdoc 0.11.24 → 0.11.25

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.
@@ -7340,19 +7340,19 @@
7340
7340
  }
7341
7341
  return container;
7342
7342
  }
7343
- var Iu$2 = Object.defineProperty;
7343
+ var Nu$2 = Object.defineProperty;
7344
7344
  var _i$1 = (r22) => {
7345
7345
  throw TypeError(r22);
7346
7346
  };
7347
- var Ru$2 = (r22, e, t) => e in r22 ? Iu$2(r22, e, { enumerable: true, configurable: true, writable: true, value: t }) : r22[e] = t;
7348
- var Mt$1 = (r22, e, t) => Ru$2(r22, typeof e != "symbol" ? e + "" : e, t), Pu$2 = (r22, e, t) => e.has(r22) || _i$1("Cannot " + t);
7347
+ var Iu$2 = (r22, e, t) => e in r22 ? Nu$2(r22, e, { enumerable: true, configurable: true, writable: true, value: t }) : r22[e] = t;
7348
+ var Mt$1 = (r22, e, t) => Iu$2(r22, typeof e != "symbol" ? e + "" : e, t), Ru$2 = (r22, e, t) => e.has(r22) || _i$1("Cannot " + t);
7349
7349
  var Ir$1 = (r22, e, t) => e.has(r22) ? _i$1("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r22) : e.set(r22, t);
7350
- var Ke = (r22, e, t) => (Pu$2(r22, e, "access private method"), t);
7350
+ var Ke = (r22, e, t) => (Ru$2(r22, e, "access private method"), t);
7351
7351
  var Je$1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7352
- function Mo$3(r22) {
7352
+ function qo$2(r22) {
7353
7353
  return r22 && r22.__esModule && Object.prototype.hasOwnProperty.call(r22, "default") ? r22.default : r22;
7354
7354
  }
7355
- function Ou$2(r22) {
7355
+ function Pu$2(r22) {
7356
7356
  if (r22.__esModule) return r22;
7357
7357
  var e = r22.default;
7358
7358
  if (typeof e == "function") {
@@ -7372,15 +7372,15 @@
7372
7372
  }), t;
7373
7373
  }
7374
7374
  var Fe$2 = {}, Dr$1 = {};
7375
- Dr$1.byteLength = qu$2;
7376
- Dr$1.toByteArray = Uu$2;
7377
- Dr$1.fromByteArray = Vu$2;
7378
- var Qe$2 = [], ze$1 = [], Lu$2 = typeof Uint8Array < "u" ? Uint8Array : Array, Rr$1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
7379
- for (var At$1 = 0, _u$2 = Rr$1.length; At$1 < _u$2; ++At$1)
7375
+ Dr$1.byteLength = _u$2;
7376
+ Dr$1.toByteArray = Mu$2;
7377
+ Dr$1.fromByteArray = Hu$2;
7378
+ var Qe$2 = [], ze$1 = [], Ou$2 = typeof Uint8Array < "u" ? Uint8Array : Array, Rr$1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
7379
+ for (var At$1 = 0, Lu$2 = Rr$1.length; At$1 < Lu$2; ++At$1)
7380
7380
  Qe$2[At$1] = Rr$1[At$1], ze$1[Rr$1.charCodeAt(At$1)] = At$1;
7381
7381
  ze$1[45] = 62;
7382
7382
  ze$1[95] = 63;
7383
- function Uo$2(r22) {
7383
+ function Mo$3(r22) {
7384
7384
  var e = r22.length;
7385
7385
  if (e % 4 > 0)
7386
7386
  throw new Error("Invalid string. Length must be a multiple of 4");
@@ -7389,30 +7389,30 @@
7389
7389
  var n = t === e ? 0 : 4 - t % 4;
7390
7390
  return [t, n];
7391
7391
  }
7392
- function qu$2(r22) {
7393
- var e = Uo$2(r22), t = e[0], n = e[1];
7392
+ function _u$2(r22) {
7393
+ var e = Mo$3(r22), t = e[0], n = e[1];
7394
7394
  return (t + n) * 3 / 4 - n;
7395
7395
  }
7396
- function Mu$2(r22, e, t) {
7396
+ function qu$2(r22, e, t) {
7397
7397
  return (e + t) * 3 / 4 - t;
7398
7398
  }
7399
- function Uu$2(r22) {
7400
- var e, t = Uo$2(r22), n = t[0], i3 = t[1], s = new Lu$2(Mu$2(r22, n, i3)), o = 0, a = i3 > 0 ? n - 4 : n, u;
7399
+ function Mu$2(r22) {
7400
+ var e, t = Mo$3(r22), n = t[0], i3 = t[1], s = new Ou$2(qu$2(r22, n, i3)), o = 0, a = i3 > 0 ? n - 4 : n, u;
7401
7401
  for (u = 0; u < a; u += 4)
7402
7402
  e = ze$1[r22.charCodeAt(u)] << 18 | ze$1[r22.charCodeAt(u + 1)] << 12 | ze$1[r22.charCodeAt(u + 2)] << 6 | ze$1[r22.charCodeAt(u + 3)], s[o++] = e >> 16 & 255, s[o++] = e >> 8 & 255, s[o++] = e & 255;
7403
7403
  return i3 === 2 && (e = ze$1[r22.charCodeAt(u)] << 2 | ze$1[r22.charCodeAt(u + 1)] >> 4, s[o++] = e & 255), i3 === 1 && (e = ze$1[r22.charCodeAt(u)] << 10 | ze$1[r22.charCodeAt(u + 1)] << 4 | ze$1[r22.charCodeAt(u + 2)] >> 2, s[o++] = e >> 8 & 255, s[o++] = e & 255), s;
7404
7404
  }
7405
- function ju$2(r22) {
7405
+ function Uu$2(r22) {
7406
7406
  return Qe$2[r22 >> 18 & 63] + Qe$2[r22 >> 12 & 63] + Qe$2[r22 >> 6 & 63] + Qe$2[r22 & 63];
7407
7407
  }
7408
- function Hu$2(r22, e, t) {
7408
+ function ju$2(r22, e, t) {
7409
7409
  for (var n, i3 = [], s = e; s < t; s += 3)
7410
- n = (r22[s] << 16 & 16711680) + (r22[s + 1] << 8 & 65280) + (r22[s + 2] & 255), i3.push(ju$2(n));
7410
+ n = (r22[s] << 16 & 16711680) + (r22[s + 1] << 8 & 65280) + (r22[s + 2] & 255), i3.push(Uu$2(n));
7411
7411
  return i3.join("");
7412
7412
  }
7413
- function Vu$2(r22) {
7413
+ function Hu$2(r22) {
7414
7414
  for (var e, t = r22.length, n = t % 3, i3 = [], s = 16383, o = 0, a = t - n; o < a; o += s)
7415
- i3.push(Hu$2(r22, o, o + s > a ? a : o + s));
7415
+ i3.push(ju$2(r22, o, o + s > a ? a : o + s));
7416
7416
  return n === 1 ? (e = r22[t - 1], i3.push(
7417
7417
  Qe$2[e >> 2] + Qe$2[e << 4 & 63] + "=="
7418
7418
  )) : n === 2 && (e = (r22[t - 2] << 8) + r22[t - 1], i3.push(
@@ -8384,34 +8384,34 @@
8384
8384
  return f;
8385
8385
  }();
8386
8386
  function Le2(y) {
8387
- return typeof BigInt > "u" ? Nu2 : y;
8387
+ return typeof BigInt > "u" ? ku2 : y;
8388
8388
  }
8389
- function Nu2() {
8389
+ function ku2() {
8390
8390
  throw new Error("BigInt not supported");
8391
8391
  }
8392
8392
  })(Fe$2);
8393
- const Ct$2 = Fe$2.Buffer, zu$2 = Fe$2.Blob, Gu$2 = Fe$2.BlobOptions, Wu$2 = Fe$2.Buffer, Ju$2 = Fe$2.File, $u$2 = Fe$2.FileOptions, Ku$2 = Fe$2.INSPECT_MAX_BYTES, Xu$2 = Fe$2.SlowBuffer, Yu$2 = Fe$2.TranscodeEncoding, Zu$2 = Fe$2.atob, Qu$2 = Fe$2.btoa, el$1 = Fe$2.constants, tl$1 = Fe$2.isAscii, rl$2 = Fe$2.isUtf8, nl$2 = Fe$2.kMaxLength, il$2 = Fe$2.kStringMaxLength, sl$2 = Fe$2.resolveObjectURL, ol$2 = Fe$2.transcode, al$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8393
+ const Ct$2 = Fe$2.Buffer, Vu$2 = Fe$2.Blob, zu$2 = Fe$2.BlobOptions, Gu$2 = Fe$2.Buffer, Wu$2 = Fe$2.File, Ju$2 = Fe$2.FileOptions, $u$2 = Fe$2.INSPECT_MAX_BYTES, Ku$2 = Fe$2.SlowBuffer, Xu$2 = Fe$2.TranscodeEncoding, Yu$2 = Fe$2.atob, Zu$2 = Fe$2.btoa, Qu$2 = Fe$2.constants, el$1 = Fe$2.isAscii, tl$1 = Fe$2.isUtf8, rl$2 = Fe$2.kMaxLength, nl$2 = Fe$2.kStringMaxLength, il$2 = Fe$2.resolveObjectURL, sl$2 = Fe$2.transcode, ol$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8394
8394
  __proto__: null,
8395
- Blob: zu$2,
8396
- BlobOptions: Gu$2,
8397
- Buffer: Wu$2,
8398
- File: Ju$2,
8399
- FileOptions: $u$2,
8400
- INSPECT_MAX_BYTES: Ku$2,
8401
- SlowBuffer: Xu$2,
8402
- TranscodeEncoding: Yu$2,
8403
- atob: Zu$2,
8404
- btoa: Qu$2,
8405
- constants: el$1,
8395
+ Blob: Vu$2,
8396
+ BlobOptions: zu$2,
8397
+ Buffer: Gu$2,
8398
+ File: Wu$2,
8399
+ FileOptions: Ju$2,
8400
+ INSPECT_MAX_BYTES: $u$2,
8401
+ SlowBuffer: Ku$2,
8402
+ TranscodeEncoding: Xu$2,
8403
+ atob: Yu$2,
8404
+ btoa: Zu$2,
8405
+ constants: Qu$2,
8406
8406
  default: Ct$2,
8407
- isAscii: tl$1,
8408
- isUtf8: rl$2,
8409
- kMaxLength: nl$2,
8410
- kStringMaxLength: il$2,
8411
- resolveObjectURL: sl$2,
8412
- transcode: ol$2
8407
+ isAscii: el$1,
8408
+ isUtf8: tl$1,
8409
+ kMaxLength: rl$2,
8410
+ kStringMaxLength: nl$2,
8411
+ resolveObjectURL: il$2,
8412
+ transcode: sl$2
8413
8413
  }, Symbol.toStringTag, { value: "Module" }));
8414
- var jo$2 = {}, Qt$3 = { exports: {} }, qi$2;
8414
+ var Uo$2 = {}, Qt$3 = { exports: {} }, qi$2;
8415
8415
  function xi$1() {
8416
8416
  if (qi$2) return Qt$3.exports;
8417
8417
  qi$2 = 1;
@@ -8643,10 +8643,10 @@
8643
8643
  }
8644
8644
  }), er$2.exports;
8645
8645
  }
8646
- function ul$2(r22) {
8646
+ function al$2(r22) {
8647
8647
  return r22 && r22.__esModule && Object.prototype.hasOwnProperty.call(r22, "default") ? r22.default : r22;
8648
8648
  }
8649
- var Ho$3 = { exports: {} }, ve$3 = Ho$3.exports = {}, Xe$2, Ye$2;
8649
+ var jo$2 = { exports: {} }, ve$3 = jo$2.exports = {}, Xe$2, Ye$2;
8650
8650
  function ai$2() {
8651
8651
  throw new Error("setTimeout has not been defined");
8652
8652
  }
@@ -8665,7 +8665,7 @@
8665
8665
  Ye$2 = ui$1;
8666
8666
  }
8667
8667
  })();
8668
- function Vo$2(r22) {
8668
+ function Ho$3(r22) {
8669
8669
  if (Xe$2 === setTimeout)
8670
8670
  return setTimeout(r22, 0);
8671
8671
  if ((Xe$2 === ai$2 || !Xe$2) && setTimeout)
@@ -8680,7 +8680,7 @@
8680
8680
  }
8681
8681
  }
8682
8682
  }
8683
- function ll$2(r22) {
8683
+ function ul$2(r22) {
8684
8684
  if (Ye$2 === clearTimeout)
8685
8685
  return clearTimeout(r22);
8686
8686
  if ((Ye$2 === ui$1 || !Ye$2) && clearTimeout)
@@ -8696,19 +8696,19 @@
8696
8696
  }
8697
8697
  }
8698
8698
  var ot$1 = [], St$2 = false, ht, ar$2 = -1;
8699
- function cl$2() {
8700
- !St$2 || !ht || (St$2 = false, ht.length ? ot$1 = ht.concat(ot$1) : ar$2 = -1, ot$1.length && zo$2());
8699
+ function ll$2() {
8700
+ !St$2 || !ht || (St$2 = false, ht.length ? ot$1 = ht.concat(ot$1) : ar$2 = -1, ot$1.length && Vo$2());
8701
8701
  }
8702
- function zo$2() {
8702
+ function Vo$2() {
8703
8703
  if (!St$2) {
8704
- var r22 = Vo$2(cl$2);
8704
+ var r22 = Ho$3(ll$2);
8705
8705
  St$2 = true;
8706
8706
  for (var e = ot$1.length; e; ) {
8707
8707
  for (ht = ot$1, ot$1 = []; ++ar$2 < e; )
8708
8708
  ht && ht[ar$2].run();
8709
8709
  ar$2 = -1, e = ot$1.length;
8710
8710
  }
8711
- ht = null, St$2 = false, ll$2(r22);
8711
+ ht = null, St$2 = false, ul$2(r22);
8712
8712
  }
8713
8713
  }
8714
8714
  ve$3.nextTick = function(r22) {
@@ -8716,12 +8716,12 @@
8716
8716
  if (arguments.length > 1)
8717
8717
  for (var t = 1; t < arguments.length; t++)
8718
8718
  e[t - 1] = arguments[t];
8719
- ot$1.push(new Go$2(r22, e)), ot$1.length === 1 && !St$2 && Vo$2(zo$2);
8719
+ ot$1.push(new zo$2(r22, e)), ot$1.length === 1 && !St$2 && Ho$3(Vo$2);
8720
8720
  };
8721
- function Go$2(r22, e) {
8721
+ function zo$2(r22, e) {
8722
8722
  this.fun = r22, this.array = e;
8723
8723
  }
8724
- Go$2.prototype.run = function() {
8724
+ zo$2.prototype.run = function() {
8725
8725
  this.fun.apply(null, this.array);
8726
8726
  };
8727
8727
  ve$3.title = "browser";
@@ -8756,15 +8756,15 @@
8756
8756
  ve$3.umask = function() {
8757
8757
  return 0;
8758
8758
  };
8759
- var fl$2 = Ho$3.exports;
8760
- const ge$1 = /* @__PURE__ */ ul$2(fl$2);
8759
+ var cl$2 = jo$2.exports;
8760
+ const ge$1 = /* @__PURE__ */ al$2(cl$2);
8761
8761
  var Pr, Ui$2;
8762
- function Wo$2() {
8762
+ function Go$2() {
8763
8763
  return Ui$2 || (Ui$2 = 1, Pr = xi$1().EventEmitter), Pr;
8764
8764
  }
8765
- const vr$2 = /* @__PURE__ */ Ou$2(al$2);
8765
+ const vr$2 = /* @__PURE__ */ Pu$2(ol$2);
8766
8766
  var Or$1 = {}, Lr$1 = {}, _r$2, ji$2;
8767
- function Jo$2() {
8767
+ function Wo$2() {
8768
8768
  return ji$2 || (ji$2 = 1, _r$2 = function() {
8769
8769
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
8770
8770
  return false;
@@ -8797,33 +8797,33 @@
8797
8797
  function Er$1() {
8798
8798
  if (Hi$2) return qr$1;
8799
8799
  Hi$2 = 1;
8800
- var r22 = Jo$2();
8800
+ var r22 = Wo$2();
8801
8801
  return qr$1 = function() {
8802
8802
  return r22() && !!Symbol.toStringTag;
8803
8803
  }, qr$1;
8804
8804
  }
8805
8805
  var Mr$2, Vi$2;
8806
- function $o$2() {
8806
+ function Jo$2() {
8807
8807
  return Vi$2 || (Vi$2 = 1, Mr$2 = Object), Mr$2;
8808
8808
  }
8809
8809
  var Ur$1, zi$2;
8810
- function dl$2() {
8810
+ function fl$2() {
8811
8811
  return zi$2 || (zi$2 = 1, Ur$1 = Error), Ur$1;
8812
8812
  }
8813
8813
  var jr, Gi$1;
8814
- function ml$2() {
8814
+ function dl$2() {
8815
8815
  return Gi$1 || (Gi$1 = 1, jr = EvalError), jr;
8816
8816
  }
8817
8817
  var Hr, Wi$2;
8818
- function pl$2() {
8818
+ function ml$2() {
8819
8819
  return Wi$2 || (Wi$2 = 1, Hr = RangeError), Hr;
8820
8820
  }
8821
8821
  var Vr$1, Ji$2;
8822
- function hl$2() {
8822
+ function pl$2() {
8823
8823
  return Ji$2 || (Ji$2 = 1, Vr$1 = ReferenceError), Vr$1;
8824
8824
  }
8825
8825
  var zr$2, $i$2;
8826
- function Ko$2() {
8826
+ function $o$2() {
8827
8827
  return $i$2 || ($i$2 = 1, zr$2 = SyntaxError), zr$2;
8828
8828
  }
8829
8829
  var Gr$2, Ki$2;
@@ -8831,57 +8831,57 @@
8831
8831
  return Ki$2 || (Ki$2 = 1, Gr$2 = TypeError), Gr$2;
8832
8832
  }
8833
8833
  var Wr, Xi$2;
8834
- function gl$2() {
8834
+ function hl$2() {
8835
8835
  return Xi$2 || (Xi$2 = 1, Wr = URIError), Wr;
8836
8836
  }
8837
8837
  var Jr$1, Yi$1;
8838
- function wl$2() {
8838
+ function gl$2() {
8839
8839
  return Yi$1 || (Yi$1 = 1, Jr$1 = Math.abs), Jr$1;
8840
8840
  }
8841
8841
  var $r$1, Zi$2;
8842
- function yl$2() {
8842
+ function wl$2() {
8843
8843
  return Zi$2 || (Zi$2 = 1, $r$1 = Math.floor), $r$1;
8844
8844
  }
8845
8845
  var Kr$1, Qi$2;
8846
- function bl$2() {
8846
+ function yl$2() {
8847
8847
  return Qi$2 || (Qi$2 = 1, Kr$1 = Math.max), Kr$1;
8848
8848
  }
8849
8849
  var Xr$1, es$2;
8850
- function xl$2() {
8850
+ function bl$2() {
8851
8851
  return es$2 || (es$2 = 1, Xr$1 = Math.min), Xr$1;
8852
8852
  }
8853
8853
  var Yr$1, ts$2;
8854
- function Al$2() {
8854
+ function xl$2() {
8855
8855
  return ts$2 || (ts$2 = 1, Yr$1 = Math.pow), Yr$1;
8856
8856
  }
8857
8857
  var Zr$2, rs$2;
8858
- function Dl$2() {
8858
+ function Al$2() {
8859
8859
  return rs$2 || (rs$2 = 1, Zr$2 = Math.round), Zr$2;
8860
8860
  }
8861
8861
  var Qr$2, ns$2;
8862
- function vl$2() {
8862
+ function Dl$2() {
8863
8863
  return ns$2 || (ns$2 = 1, Qr$2 = Number.isNaN || function(e) {
8864
8864
  return e !== e;
8865
8865
  }), Qr$2;
8866
8866
  }
8867
8867
  var en$2, is$2;
8868
- function El$2() {
8868
+ function vl$2() {
8869
8869
  if (is$2) return en$2;
8870
8870
  is$2 = 1;
8871
- var r22 = vl$2();
8871
+ var r22 = Dl$2();
8872
8872
  return en$2 = function(t) {
8873
8873
  return r22(t) || t === 0 ? t : t < 0 ? -1 : 1;
8874
8874
  }, en$2;
8875
8875
  }
8876
8876
  var tn$2, ss$2;
8877
- function Cl$2() {
8877
+ function El$2() {
8878
8878
  return ss$2 || (ss$2 = 1, tn$2 = Object.getOwnPropertyDescriptor), tn$2;
8879
8879
  }
8880
8880
  var rn$1, os$2;
8881
8881
  function Lt$1() {
8882
8882
  if (os$2) return rn$1;
8883
8883
  os$2 = 1;
8884
- var r22 = Cl$2();
8884
+ var r22 = El$2();
8885
8885
  if (r22)
8886
8886
  try {
8887
8887
  r22([], "length");
@@ -8904,27 +8904,27 @@
8904
8904
  return nn$2 = r22, nn$2;
8905
8905
  }
8906
8906
  var sn$3, us$2;
8907
- function Sl$2() {
8907
+ function Cl$2() {
8908
8908
  if (us$2) return sn$3;
8909
8909
  us$2 = 1;
8910
- var r22 = typeof Symbol < "u" && Symbol, e = Jo$2();
8910
+ var r22 = typeof Symbol < "u" && Symbol, e = Wo$2();
8911
8911
  return sn$3 = function() {
8912
8912
  return typeof r22 != "function" || typeof Symbol != "function" || typeof r22("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? false : e();
8913
8913
  }, sn$3;
8914
8914
  }
8915
8915
  var on$4, ls$2;
8916
- function Xo$2() {
8916
+ function Ko$2() {
8917
8917
  return ls$2 || (ls$2 = 1, on$4 = typeof Reflect < "u" && Reflect.getPrototypeOf || null), on$4;
8918
8918
  }
8919
8919
  var an$3, cs$2;
8920
- function Yo$2() {
8920
+ function Xo$2() {
8921
8921
  if (cs$2) return an$3;
8922
8922
  cs$2 = 1;
8923
- var r22 = $o$2();
8923
+ var r22 = Jo$2();
8924
8924
  return an$3 = r22.getPrototypeOf || null, an$3;
8925
8925
  }
8926
8926
  var un$3, fs$2;
8927
- function Tl$2() {
8927
+ function Sl$2() {
8928
8928
  if (fs$2) return un$3;
8929
8929
  fs$2 = 1;
8930
8930
  var r22 = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, n = "[object Function]", i3 = function(u, c3) {
@@ -8972,7 +8972,7 @@
8972
8972
  function Kt$2() {
8973
8973
  if (ds$2) return ln$2;
8974
8974
  ds$2 = 1;
8975
- var r22 = Tl$2();
8975
+ var r22 = Sl$2();
8976
8976
  return ln$2 = Function.prototype.bind || r22, ln$2;
8977
8977
  }
8978
8978
  var cn$3, ms$1;
@@ -8984,21 +8984,21 @@
8984
8984
  return ps$2 || (ps$2 = 1, fn$3 = Function.prototype.apply), fn$3;
8985
8985
  }
8986
8986
  var dn$3, hs$2;
8987
- function Fl$2() {
8987
+ function Tl$2() {
8988
8988
  return hs$2 || (hs$2 = 1, dn$3 = typeof Reflect < "u" && Reflect && Reflect.apply), dn$3;
8989
8989
  }
8990
8990
  var mn$2, gs$1;
8991
- function Zo$2() {
8991
+ function Yo$2() {
8992
8992
  if (gs$1) return mn$2;
8993
8993
  gs$1 = 1;
8994
- var r22 = Kt$2(), e = Di$2(), t = Ai$2(), n = Fl$2();
8994
+ var r22 = Kt$2(), e = Di$2(), t = Ai$2(), n = Tl$2();
8995
8995
  return mn$2 = n || r22.call(t, e), mn$2;
8996
8996
  }
8997
8997
  var pn$2, ws$1;
8998
8998
  function vi$2() {
8999
8999
  if (ws$1) return pn$2;
9000
9000
  ws$1 = 1;
9001
- var r22 = Kt$2(), e = $t$2(), t = Ai$2(), n = Zo$2();
9001
+ var r22 = Kt$2(), e = $t$2(), t = Ai$2(), n = Yo$2();
9002
9002
  return pn$2 = function(s) {
9003
9003
  if (s.length < 1 || typeof s[0] != "function")
9004
9004
  throw new e("a function is required");
@@ -9006,7 +9006,7 @@
9006
9006
  }, pn$2;
9007
9007
  }
9008
9008
  var hn$2, ys$1;
9009
- function Bl$2() {
9009
+ function Fl$2() {
9010
9010
  if (ys$1) return hn$2;
9011
9011
  ys$1 = 1;
9012
9012
  var r22 = vi$2(), e = Lt$1(), t;
@@ -9033,7 +9033,7 @@
9033
9033
  function Ei$2() {
9034
9034
  if (bs$1) return gn$2;
9035
9035
  bs$1 = 1;
9036
- var r22 = Xo$2(), e = Yo$2(), t = Bl$2();
9036
+ var r22 = Ko$2(), e = Xo$2(), t = Fl$2();
9037
9037
  return gn$2 = r22 ? function(i3) {
9038
9038
  return r22(i3);
9039
9039
  } : e ? function(i3) {
@@ -9045,17 +9045,17 @@
9045
9045
  } : null, gn$2;
9046
9046
  }
9047
9047
  var wn$3, xs$1;
9048
- function Qo$2() {
9048
+ function Zo$2() {
9049
9049
  if (xs$1) return wn$3;
9050
9050
  xs$1 = 1;
9051
9051
  var r22 = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = Kt$2();
9052
9052
  return wn$3 = t.call(r22, e), wn$3;
9053
9053
  }
9054
9054
  var yn$3, As$1;
9055
- function ea$2() {
9055
+ function Qo$2() {
9056
9056
  if (As$1) return yn$3;
9057
9057
  As$1 = 1;
9058
- var r22, e = $o$2(), t = dl$2(), n = ml$2(), i3 = pl$2(), s = hl$2(), o = Ko$2(), a = $t$2(), u = gl$2(), c3 = wl$2(), l = yl$2(), h3 = bl$2(), g = xl$2(), E3 = Al$2(), D3 = Dl$2(), v = El$2(), F3 = Function, w = function(I3) {
9058
+ var r22, e = Jo$2(), t = fl$2(), n = dl$2(), i3 = ml$2(), s = pl$2(), o = $o$2(), a = $t$2(), u = hl$2(), c3 = gl$2(), l = wl$2(), h3 = yl$2(), g = bl$2(), E3 = xl$2(), D3 = Al$2(), v = vl$2(), F3 = Function, w = function(I3) {
9059
9059
  try {
9060
9060
  return F3('"use strict"; return (' + I3 + ").constructor;")();
9061
9061
  } catch {
@@ -9072,7 +9072,7 @@
9072
9072
  return A3;
9073
9073
  }
9074
9074
  }
9075
- }() : A3, k = Sl$2()(), q3 = Ei$2(), U = Yo$2(), C3 = Xo$2(), J3 = Di$2(), oe2 = Ai$2(), Z3 = {}, fe2 = typeof Uint8Array > "u" || !q3 ? r22 : q3(Uint8Array), de = {
9075
+ }() : A3, k = Cl$2()(), q3 = Ei$2(), U = Xo$2(), C3 = Ko$2(), J3 = Di$2(), oe2 = Ai$2(), Z3 = {}, fe2 = typeof Uint8Array > "u" || !q3 ? r22 : q3(Uint8Array), de = {
9076
9076
  __proto__: null,
9077
9077
  "%AggregateError%": typeof AggregateError > "u" ? r22 : AggregateError,
9078
9078
  "%Array%": Array,
@@ -9232,7 +9232,7 @@
9232
9232
  "%URIErrorPrototype%": ["URIError", "prototype"],
9233
9233
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
9234
9234
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
9235
- }, ce2 = Kt$2(), $ = Qo$2(), re2 = ce2.call(oe2, Array.prototype.concat), ie2 = ce2.call(J3, Array.prototype.splice), L3 = ce2.call(oe2, String.prototype.replace), V = ce2.call(oe2, String.prototype.slice), _ = ce2.call(oe2, RegExp.prototype.exec), K3 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, P3 = /\\(\\)?/g, p3 = function(S) {
9235
+ }, ce2 = Kt$2(), $ = Zo$2(), re2 = ce2.call(oe2, Array.prototype.concat), ie2 = ce2.call(J3, Array.prototype.splice), L3 = ce2.call(oe2, String.prototype.replace), V = ce2.call(oe2, String.prototype.slice), _ = ce2.call(oe2, RegExp.prototype.exec), K3 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, P3 = /\\(\\)?/g, p3 = function(S) {
9236
9236
  var b = V(S, 0, 1), x3 = V(S, -1);
9237
9237
  if (b === "%" && x3 !== "%")
9238
9238
  throw new o("invalid intrinsic syntax, expected closing `%`");
@@ -9292,7 +9292,7 @@
9292
9292
  function Xt$2() {
9293
9293
  if (Ds$1) return bn$3;
9294
9294
  Ds$1 = 1;
9295
- var r22 = ea$2(), e = vi$2(), t = e([r22("%String.prototype.indexOf%")]);
9295
+ var r22 = Qo$2(), e = vi$2(), t = e([r22("%String.prototype.indexOf%")]);
9296
9296
  return bn$3 = function(i3, s) {
9297
9297
  var o = (
9298
9298
  /** @type {(this: unknown, ...args: unknown[]) => unknown} */
@@ -9305,7 +9305,7 @@
9305
9305
  }, bn$3;
9306
9306
  }
9307
9307
  var xn$2, vs$2;
9308
- function kl$2() {
9308
+ function Bl$2() {
9309
9309
  if (vs$2) return xn$2;
9310
9310
  vs$2 = 1;
9311
9311
  var r22 = Er$1()(), e = Xt$2(), t = e("Object.prototype.toString"), n = function(a) {
@@ -9318,10 +9318,10 @@
9318
9318
  return n.isLegacyArguments = i3, xn$2 = s ? n : i3, xn$2;
9319
9319
  }
9320
9320
  var An$2, Es$1;
9321
- function Nl$2() {
9321
+ function kl$2() {
9322
9322
  if (Es$1) return An$2;
9323
9323
  Es$1 = 1;
9324
- var r22 = Xt$2(), e = Er$1()(), t = Qo$2(), n = Lt$1(), i3;
9324
+ var r22 = Xt$2(), e = Er$1()(), t = Zo$2(), n = Lt$1(), i3;
9325
9325
  if (e) {
9326
9326
  var s = r22("RegExp.prototype.exec"), o = {}, a = function() {
9327
9327
  throw o;
@@ -9362,10 +9362,10 @@
9362
9362
  return An$2 = i3, An$2;
9363
9363
  }
9364
9364
  var Dn$3, Cs$1;
9365
- function Il$2() {
9365
+ function Nl$2() {
9366
9366
  if (Cs$1) return Dn$3;
9367
9367
  Cs$1 = 1;
9368
- var r22 = Xt$2(), e = Nl$2(), t = r22("RegExp.prototype.exec"), n = $t$2();
9368
+ var r22 = Xt$2(), e = kl$2(), t = r22("RegExp.prototype.exec"), n = $t$2();
9369
9369
  return Dn$3 = function(s) {
9370
9370
  if (!e(s))
9371
9371
  throw new n("`regex` must be a RegExp");
@@ -9375,10 +9375,10 @@
9375
9375
  }, Dn$3;
9376
9376
  }
9377
9377
  var vn$3, Ss$1;
9378
- function Rl$2() {
9378
+ function Il$2() {
9379
9379
  if (Ss$1) return vn$3;
9380
9380
  Ss$1 = 1;
9381
- var r22 = Xt$2(), e = Il$2(), t = e(/^\s*(?:function)?\*/), n = Er$1()(), i3 = Ei$2(), s = r22("Object.prototype.toString"), o = r22("Function.prototype.toString"), a = function() {
9381
+ var r22 = Xt$2(), e = Nl$2(), t = e(/^\s*(?:function)?\*/), n = Er$1()(), i3 = Ei$2(), s = r22("Object.prototype.toString"), o = r22("Function.prototype.toString"), a = function() {
9382
9382
  if (!n)
9383
9383
  return false;
9384
9384
  try {
@@ -9408,7 +9408,7 @@
9408
9408
  }, vn$3;
9409
9409
  }
9410
9410
  var En$2, Ts$1;
9411
- function Pl$2() {
9411
+ function Rl$2() {
9412
9412
  if (Ts$1) return En$2;
9413
9413
  Ts$1 = 1;
9414
9414
  var r22 = Function.prototype.toString, e = typeof Reflect == "object" && Reflect !== null && Reflect.apply, t, n;
@@ -9480,10 +9480,10 @@
9480
9480
  }, En$2;
9481
9481
  }
9482
9482
  var Cn$3, Fs$1;
9483
- function Ol$2() {
9483
+ function Pl$2() {
9484
9484
  if (Fs$1) return Cn$3;
9485
9485
  Fs$1 = 1;
9486
- var r22 = Pl$2(), e = Object.prototype.toString, t = Object.prototype.hasOwnProperty, n = function(u, c3, l) {
9486
+ var r22 = Rl$2(), e = Object.prototype.toString, t = Object.prototype.hasOwnProperty, n = function(u, c3, l) {
9487
9487
  for (var h3 = 0, g = u.length; h3 < g; h3++)
9488
9488
  t.call(u, h3) && (l == null ? c3(u[h3], h3, u) : c3.call(l, u[h3], h3, u));
9489
9489
  }, i3 = function(u, c3, l) {
@@ -9504,7 +9504,7 @@
9504
9504
  }, Cn$3;
9505
9505
  }
9506
9506
  var Sn$2, Bs$1;
9507
- function Ll$2() {
9507
+ function Ol$2() {
9508
9508
  return Bs$1 || (Bs$1 = 1, Sn$2 = [
9509
9509
  "Float16Array",
9510
9510
  "Float32Array",
@@ -9521,10 +9521,10 @@
9521
9521
  ]), Sn$2;
9522
9522
  }
9523
9523
  var Tn$2, ks$1;
9524
- function _l$2() {
9524
+ function Ll$2() {
9525
9525
  if (ks$1) return Tn$2;
9526
9526
  ks$1 = 1;
9527
- var r22 = Ll$2(), e = typeof globalThis > "u" ? Je$1 : globalThis;
9527
+ var r22 = Ol$2(), e = typeof globalThis > "u" ? Je$1 : globalThis;
9528
9528
  return Tn$2 = function() {
9529
9529
  for (var n = [], i3 = 0; i3 < r22.length; i3++)
9530
9530
  typeof e[r22[i3]] == "function" && (n[n.length] = r22[i3]);
@@ -9532,10 +9532,10 @@
9532
9532
  }, Tn$2;
9533
9533
  }
9534
9534
  var Fn$3 = { exports: {} }, Bn$2, Ns$1;
9535
- function ql$2() {
9535
+ function _l$2() {
9536
9536
  if (Ns$1) return Bn$2;
9537
9537
  Ns$1 = 1;
9538
- var r22 = Cr$2(), e = Ko$2(), t = $t$2(), n = Lt$1();
9538
+ var r22 = Cr$2(), e = $o$2(), t = $t$2(), n = Lt$1();
9539
9539
  return Bn$2 = function(s, o, a) {
9540
9540
  if (!s || typeof s != "object" && typeof s != "function")
9541
9541
  throw new t("`obj` must be an object or a function`");
@@ -9564,7 +9564,7 @@
9564
9564
  }, Bn$2;
9565
9565
  }
9566
9566
  var kn$3, Is$1;
9567
- function Ml$2() {
9567
+ function ql$2() {
9568
9568
  if (Is$1) return kn$3;
9569
9569
  Is$1 = 1;
9570
9570
  var r22 = Cr$2(), e = function() {
@@ -9581,10 +9581,10 @@
9581
9581
  }, kn$3 = e, kn$3;
9582
9582
  }
9583
9583
  var Nn$3, Rs$1;
9584
- function Ul$2() {
9584
+ function Ml$2() {
9585
9585
  if (Rs$1) return Nn$3;
9586
9586
  Rs$1 = 1;
9587
- var r22 = ea$2(), e = ql$2(), t = Ml$2()(), n = Lt$1(), i3 = $t$2(), s = r22("%Math.floor%");
9587
+ var r22 = Qo$2(), e = _l$2(), t = ql$2()(), n = Lt$1(), i3 = $t$2(), s = r22("%Math.floor%");
9588
9588
  return Nn$3 = function(a, u) {
9589
9589
  if (typeof a != "function")
9590
9590
  throw new i3("`fn` is not a function");
@@ -9611,18 +9611,18 @@
9611
9611
  }, Nn$3;
9612
9612
  }
9613
9613
  var In$3, Ps$1;
9614
- function jl$2() {
9614
+ function Ul$2() {
9615
9615
  if (Ps$1) return In$3;
9616
9616
  Ps$1 = 1;
9617
- var r22 = Kt$2(), e = Di$2(), t = Zo$2();
9617
+ var r22 = Kt$2(), e = Di$2(), t = Yo$2();
9618
9618
  return In$3 = function() {
9619
9619
  return t(r22, e, arguments);
9620
9620
  }, In$3;
9621
9621
  }
9622
9622
  var Os$1;
9623
- function Hl$2() {
9623
+ function jl$2() {
9624
9624
  return Os$1 || (Os$1 = 1, function(r22) {
9625
- var e = Ul$2(), t = Cr$2(), n = vi$2(), i3 = jl$2();
9625
+ var e = Ml$2(), t = Cr$2(), n = vi$2(), i3 = Ul$2();
9626
9626
  r22.exports = function(o) {
9627
9627
  var a = n(arguments), u = o.length - (arguments.length - 1);
9628
9628
  return e(
@@ -9634,10 +9634,10 @@
9634
9634
  }(Fn$3)), Fn$3.exports;
9635
9635
  }
9636
9636
  var Rn$3, Ls$1;
9637
- function ta$2() {
9637
+ function ea$2() {
9638
9638
  if (Ls$1) return Rn$3;
9639
9639
  Ls$1 = 1;
9640
- var r22 = Ol$2(), e = _l$2(), t = Hl$2(), n = Xt$2(), i3 = Lt$1(), s = Ei$2(), o = n("Object.prototype.toString"), a = Er$1()(), u = typeof globalThis > "u" ? Je$1 : globalThis, c3 = e(), l = n("String.prototype.slice"), h3 = n("Array.prototype.indexOf", true) || function(F3, w) {
9640
+ var r22 = Pl$2(), e = Ll$2(), t = jl$2(), n = Xt$2(), i3 = Lt$1(), s = Ei$2(), o = n("Object.prototype.toString"), a = Er$1()(), u = typeof globalThis > "u" ? Je$1 : globalThis, c3 = e(), l = n("String.prototype.slice"), h3 = n("Array.prototype.indexOf", true) || function(F3, w) {
9641
9641
  for (var B3 = 0; B3 < F3.length; B3 += 1)
9642
9642
  if (F3[B3] === w)
9643
9643
  return B3;
@@ -9704,18 +9704,18 @@
9704
9704
  }, Rn$3;
9705
9705
  }
9706
9706
  var Pn$3, _s$1;
9707
- function Vl$2() {
9707
+ function Hl$2() {
9708
9708
  if (_s$1) return Pn$3;
9709
9709
  _s$1 = 1;
9710
- var r22 = ta$2();
9710
+ var r22 = ea$2();
9711
9711
  return Pn$3 = function(t) {
9712
9712
  return !!r22(t);
9713
9713
  }, Pn$3;
9714
9714
  }
9715
9715
  var qs$1;
9716
- function zl$2() {
9716
+ function Vl$2() {
9717
9717
  return qs$1 || (qs$1 = 1, function(r22) {
9718
- var e = kl$2(), t = Rl$2(), n = ta$2(), i3 = Vl$2();
9718
+ var e = Bl$2(), t = Il$2(), n = ea$2(), i3 = Hl$2();
9719
9719
  function s(z3) {
9720
9720
  return z3.call.bind(z3);
9721
9721
  }
@@ -9900,13 +9900,13 @@
9900
9900
  }(Lr$1)), Lr$1;
9901
9901
  }
9902
9902
  var On$3, Ms$1;
9903
- function Gl$2() {
9903
+ function zl$2() {
9904
9904
  return Ms$1 || (Ms$1 = 1, On$3 = function(e) {
9905
9905
  return e && typeof e == "object" && typeof e.copy == "function" && typeof e.fill == "function" && typeof e.readUInt8 == "function";
9906
9906
  }), On$3;
9907
9907
  }
9908
9908
  var Us$1;
9909
- function ra$2() {
9909
+ function ta$2() {
9910
9910
  return Us$1 || (Us$1 = 1, function(r22) {
9911
9911
  var e = Object.getOwnPropertyDescriptors || function(V) {
9912
9912
  for (var _ = Object.keys(V), K3 = {}, P3 = 0; P3 < _.length; P3++)
@@ -10126,7 +10126,7 @@
10126
10126
  `) + " " + L3.join(`,
10127
10127
  `) + " " + _[1] : _[0] + V + " " + L3.join(", ") + " " + _[1];
10128
10128
  }
10129
- r22.types = zl$2();
10129
+ r22.types = Vl$2();
10130
10130
  function F3(L3) {
10131
10131
  return Array.isArray(L3);
10132
10132
  }
@@ -10183,7 +10183,7 @@
10183
10183
  return L3 === null || typeof L3 == "boolean" || typeof L3 == "number" || typeof L3 == "string" || typeof L3 == "symbol" || // ES6 symbol
10184
10184
  typeof L3 > "u";
10185
10185
  }
10186
- r22.isPrimitive = fe2, r22.isBuffer = Gl$2();
10186
+ r22.isPrimitive = fe2, r22.isBuffer = zl$2();
10187
10187
  function de(L3) {
10188
10188
  return Object.prototype.toString.call(L3);
10189
10189
  }
@@ -10300,7 +10300,7 @@
10300
10300
  }(Or$1)), Or$1;
10301
10301
  }
10302
10302
  var Ln$3, js$1;
10303
- function Wl$2() {
10303
+ function Gl$2() {
10304
10304
  if (js$1) return Ln$3;
10305
10305
  js$1 = 1;
10306
10306
  function r22(D3, v) {
@@ -10354,7 +10354,7 @@
10354
10354
  }
10355
10355
  return String(D3);
10356
10356
  }
10357
- var u = vr$2, c3 = u.Buffer, l = ra$2(), h3 = l.inspect, g = h3 && h3.custom || "inspect";
10357
+ var u = vr$2, c3 = u.Buffer, l = ta$2(), h3 = l.inspect, g = h3 && h3.custom || "inspect";
10358
10358
  function E3(D3, v, F3) {
10359
10359
  c3.prototype.copy.call(D3, v, F3);
10360
10360
  }
@@ -10465,7 +10465,7 @@
10465
10465
  }(), Ln$3;
10466
10466
  }
10467
10467
  var _n$3, Hs$1;
10468
- function na$2() {
10468
+ function ra$2() {
10469
10469
  if (Hs$1) return _n$3;
10470
10470
  Hs$1 = 1;
10471
10471
  function r22(o, a) {
@@ -10558,7 +10558,7 @@
10558
10558
  }, TypeError), t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event"), qn$2.codes = e, qn$2;
10559
10559
  }
10560
10560
  var Mn$2, zs$1;
10561
- function ia$2() {
10561
+ function na$2() {
10562
10562
  if (zs$1) return Mn$2;
10563
10563
  zs$1 = 1;
10564
10564
  var r22 = _t$2().codes.ERR_INVALID_OPT_VALUE;
@@ -10581,7 +10581,7 @@
10581
10581
  }, Mn$2;
10582
10582
  }
10583
10583
  var Un$2, Gs$1;
10584
- function Jl$2() {
10584
+ function Wl$2() {
10585
10585
  if (Gs$1) return Un$2;
10586
10586
  Gs$1 = 1, Un$2 = r22;
10587
10587
  function r22(t, n) {
@@ -10610,7 +10610,7 @@
10610
10610
  return Un$2;
10611
10611
  }
10612
10612
  var jn$3, Ws$1;
10613
- function sa$2() {
10613
+ function ia$2() {
10614
10614
  if (Ws$1) return jn$3;
10615
10615
  Ws$1 = 1, jn$3 = U;
10616
10616
  function r22(P3) {
@@ -10622,8 +10622,8 @@
10622
10622
  var e;
10623
10623
  U.WritableState = k;
10624
10624
  var t = {
10625
- deprecate: Jl$2()
10626
- }, n = Wo$2(), i3 = vr$2.Buffer, s = (typeof Je$1 < "u" ? Je$1 : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
10625
+ deprecate: Wl$2()
10626
+ }, n = Go$2(), i3 = vr$2.Buffer, s = (typeof Je$1 < "u" ? Je$1 : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
10627
10627
  };
10628
10628
  function o(P3) {
10629
10629
  return i3.from(P3);
@@ -10631,7 +10631,7 @@
10631
10631
  function a(P3) {
10632
10632
  return i3.isBuffer(P3) || P3 instanceof s;
10633
10633
  }
10634
- var u = na$2(), c3 = ia$2(), l = c3.getHighWaterMark, h3 = _t$2().codes, g = h3.ERR_INVALID_ARG_TYPE, E3 = h3.ERR_METHOD_NOT_IMPLEMENTED, D3 = h3.ERR_MULTIPLE_CALLBACK, v = h3.ERR_STREAM_CANNOT_PIPE, F3 = h3.ERR_STREAM_DESTROYED, w = h3.ERR_STREAM_NULL_VALUES, B3 = h3.ERR_STREAM_WRITE_AFTER_END, R = h3.ERR_UNKNOWN_ENCODING, A3 = u.errorOrDestroy;
10634
+ var u = ra$2(), c3 = na$2(), l = c3.getHighWaterMark, h3 = _t$2().codes, g = h3.ERR_INVALID_ARG_TYPE, E3 = h3.ERR_METHOD_NOT_IMPLEMENTED, D3 = h3.ERR_MULTIPLE_CALLBACK, v = h3.ERR_STREAM_CANNOT_PIPE, F3 = h3.ERR_STREAM_DESTROYED, w = h3.ERR_STREAM_NULL_VALUES, B3 = h3.ERR_STREAM_WRITE_AFTER_END, R = h3.ERR_UNKNOWN_ENCODING, A3 = u.errorOrDestroy;
10635
10635
  xt$1()(U, n);
10636
10636
  function N3() {
10637
10637
  }
@@ -10846,7 +10846,7 @@
10846
10846
  return l;
10847
10847
  };
10848
10848
  Hn$2 = o;
10849
- var e = oa$2(), t = sa$2();
10849
+ var e = sa$2(), t = ia$2();
10850
10850
  xt$1()(o, e);
10851
10851
  for (var n = r22(t.prototype), i3 = 0; i3 < n.length; i3++) {
10852
10852
  var s = n[i3];
@@ -10901,7 +10901,7 @@
10901
10901
  }), Hn$2;
10902
10902
  }
10903
10903
  var Vn$3 = {}, tr$2 = { exports: {} }, $s$1;
10904
- function $l$2() {
10904
+ function Jl$2() {
10905
10905
  return $s$1 || ($s$1 = 1, function(r22, e) {
10906
10906
  var t = vr$2, n = t.Buffer;
10907
10907
  function i3(o, a) {
@@ -10936,7 +10936,7 @@
10936
10936
  function li$2() {
10937
10937
  if (Ks$1) return Vn$3;
10938
10938
  Ks$1 = 1;
10939
- var r22 = $l$2().Buffer, e = r22.isEncoding || function(w) {
10939
+ var r22 = Jl$2().Buffer, e = r22.isEncoding || function(w) {
10940
10940
  switch (w = "" + w, w && w.toLowerCase()) {
10941
10941
  case "hex":
10942
10942
  case "utf8":
@@ -11138,7 +11138,7 @@
11138
11138
  return zn$3 = i3, zn$3;
11139
11139
  }
11140
11140
  var Gn$3, Ys$1;
11141
- function Kl$2() {
11141
+ function $l$2() {
11142
11142
  if (Ys$1) return Gn$3;
11143
11143
  Ys$1 = 1;
11144
11144
  var r22;
@@ -11264,20 +11264,20 @@
11264
11264
  return Gn$3 = B3, Gn$3;
11265
11265
  }
11266
11266
  var Wn$2, Zs$1;
11267
- function Xl$2() {
11267
+ function Kl$2() {
11268
11268
  return Zs$1 || (Zs$1 = 1, Wn$2 = function() {
11269
11269
  throw new Error("Readable.from is not available in the browser");
11270
11270
  }), Wn$2;
11271
11271
  }
11272
11272
  var Jn$3, Qs$1;
11273
- function oa$2() {
11273
+ function sa$2() {
11274
11274
  if (Qs$1) return Jn$3;
11275
11275
  Qs$1 = 1, Jn$3 = C3;
11276
11276
  var r22;
11277
11277
  C3.ReadableState = U, xi$1().EventEmitter;
11278
11278
  var e = function(x3, M) {
11279
11279
  return x3.listeners(M).length;
11280
- }, t = Wo$2(), n = vr$2.Buffer, i3 = (typeof Je$1 < "u" ? Je$1 : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
11280
+ }, t = Go$2(), n = vr$2.Buffer, i3 = (typeof Je$1 < "u" ? Je$1 : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
11281
11281
  };
11282
11282
  function s(b) {
11283
11283
  return n.from(b);
@@ -11285,10 +11285,10 @@
11285
11285
  function o(b) {
11286
11286
  return n.isBuffer(b) || b instanceof i3;
11287
11287
  }
11288
- var a = ra$2(), u;
11288
+ var a = ta$2(), u;
11289
11289
  a && a.debuglog ? u = a.debuglog("stream") : u = function() {
11290
11290
  };
11291
- var c3 = Wl$2(), l = na$2(), h3 = ia$2(), g = h3.getHighWaterMark, E3 = _t$2().codes, D3 = E3.ERR_INVALID_ARG_TYPE, v = E3.ERR_STREAM_PUSH_AFTER_EOF, F3 = E3.ERR_METHOD_NOT_IMPLEMENTED, w = E3.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, B3, R, A3;
11291
+ var c3 = Gl$2(), l = ra$2(), h3 = na$2(), g = h3.getHighWaterMark, E3 = _t$2().codes, D3 = E3.ERR_INVALID_ARG_TYPE, v = E3.ERR_STREAM_PUSH_AFTER_EOF, F3 = E3.ERR_METHOD_NOT_IMPLEMENTED, w = E3.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, B3, R, A3;
11292
11292
  xt$1()(C3, t);
11293
11293
  var N3 = l.errorOrDestroy, k = ["error", "close", "destroy", "pause", "resume"];
11294
11294
  function q3(b, x3, M) {
@@ -11545,7 +11545,7 @@
11545
11545
  u("wrapped _read", te2), W && (W = false, b.resume());
11546
11546
  }, this;
11547
11547
  }, typeof Symbol == "function" && (C3.prototype[Symbol.asyncIterator] = function() {
11548
- return R === void 0 && (R = Kl$2()), R(this);
11548
+ return R === void 0 && (R = $l$2()), R(this);
11549
11549
  }), Object.defineProperty(C3.prototype, "readableHighWaterMark", {
11550
11550
  // making it explicit this property is not enumerable
11551
11551
  // because otherwise some prototype manipulation in
@@ -11598,7 +11598,7 @@
11598
11598
  }
11599
11599
  }
11600
11600
  typeof Symbol == "function" && (C3.from = function(b, x3) {
11601
- return A3 === void 0 && (A3 = Xl$2()), A3(C3, b, x3);
11601
+ return A3 === void 0 && (A3 = Kl$2()), A3(C3, b, x3);
11602
11602
  });
11603
11603
  function S(b, x3) {
11604
11604
  for (var M = 0, W = b.length; M < W; M++)
@@ -11608,7 +11608,7 @@
11608
11608
  return Jn$3;
11609
11609
  }
11610
11610
  var $n$3, eo$2;
11611
- function aa$2() {
11611
+ function oa$2() {
11612
11612
  if (eo$2) return $n$3;
11613
11613
  eo$2 = 1, $n$3 = a;
11614
11614
  var r22 = _t$2().codes, e = r22.ERR_METHOD_NOT_IMPLEMENTED, t = r22.ERR_MULTIPLE_CALLBACK, n = r22.ERR_TRANSFORM_ALREADY_TRANSFORMING, i3 = r22.ERR_TRANSFORM_WITH_LENGTH_0, s = Bt$2();
@@ -11667,10 +11667,10 @@
11667
11667
  return $n$3;
11668
11668
  }
11669
11669
  var Kn$2, to$2;
11670
- function Yl$2() {
11670
+ function Xl$2() {
11671
11671
  if (to$2) return Kn$2;
11672
11672
  to$2 = 1, Kn$2 = e;
11673
- var r22 = aa$2();
11673
+ var r22 = oa$2();
11674
11674
  xt$1()(e, r22);
11675
11675
  function e(t) {
11676
11676
  if (!(this instanceof e)) return new e(t);
@@ -11681,7 +11681,7 @@
11681
11681
  }, Kn$2;
11682
11682
  }
11683
11683
  var Xn$1, ro$2;
11684
- function Zl$2() {
11684
+ function Yl$2() {
11685
11685
  if (ro$2) return Xn$1;
11686
11686
  ro$2 = 1;
11687
11687
  var r22;
@@ -11745,11 +11745,11 @@
11745
11745
  return Xn$1 = h3, Xn$1;
11746
11746
  }
11747
11747
  var Yn$3, no$2;
11748
- function Ql$2() {
11748
+ function Zl$2() {
11749
11749
  if (no$2) return Yn$3;
11750
11750
  no$2 = 1, Yn$3 = t;
11751
11751
  var r22 = xi$1().EventEmitter, e = xt$1();
11752
- e(t, r22), t.Readable = oa$2(), t.Writable = sa$2(), t.Duplex = Bt$2(), t.Transform = aa$2(), t.PassThrough = Yl$2(), t.finished = Ci$2(), t.pipeline = Zl$2(), t.Stream = t;
11752
+ e(t, r22), t.Readable = sa$2(), t.Writable = ia$2(), t.Duplex = Bt$2(), t.Transform = oa$2(), t.PassThrough = Xl$2(), t.finished = Ci$2(), t.pipeline = Yl$2(), t.Stream = t;
11753
11753
  function t() {
11754
11754
  r22.call(this);
11755
11755
  }
@@ -11883,7 +11883,7 @@
11883
11883
  };
11884
11884
  var a;
11885
11885
  try {
11886
- a = Ql$2().Stream;
11886
+ a = Zl$2().Stream;
11887
11887
  } catch {
11888
11888
  a = function() {
11889
11889
  };
@@ -12666,12 +12666,12 @@ Actual: ` + p3.attribValue
12666
12666
  }) : String.fromCodePoint = I3;
12667
12667
  }();
12668
12668
  })(r22);
12669
- })(jo$2);
12669
+ })(Uo$2);
12670
12670
  var Si$2 = {
12671
12671
  isArray: function(r22) {
12672
12672
  return Array.isArray ? Array.isArray(r22) : Object.prototype.toString.call(r22) === "[object Array]";
12673
12673
  }
12674
- }, ec$2 = Si$2.isArray, Ti$2 = {
12674
+ }, Ql$2 = Si$2.isArray, Ti$2 = {
12675
12675
  copyOptions: function(r22) {
12676
12676
  var e, t = {};
12677
12677
  for (e in r22)
@@ -12685,7 +12685,7 @@ Actual: ` + p3.attribValue
12685
12685
  (!("spaces" in r22) || typeof r22.spaces != "number" && typeof r22.spaces != "string") && (r22.spaces = 0);
12686
12686
  },
12687
12687
  ensureAlwaysArrayExists: function(r22) {
12688
- (!("alwaysArray" in r22) || typeof r22.alwaysArray != "boolean" && !ec$2(r22.alwaysArray)) && (r22.alwaysArray = false);
12688
+ (!("alwaysArray" in r22) || typeof r22.alwaysArray != "boolean" && !Ql$2(r22.alwaysArray)) && (r22.alwaysArray = false);
12689
12689
  },
12690
12690
  ensureKeyExists: function(r22, e) {
12691
12691
  (!(r22 + "Key" in e) || typeof e[r22 + "Key"] != "string") && (e[r22 + "Key"] = e.compact ? "_" + r22 : r22);
@@ -12693,11 +12693,11 @@ Actual: ` + p3.attribValue
12693
12693
  checkFnExists: function(r22, e) {
12694
12694
  return r22 + "Fn" in e;
12695
12695
  }
12696
- }, tc$2 = jo$2, me$2 = Ti$2, Tt$1 = Si$2.isArray, j, le$2;
12697
- function rc$2(r22) {
12696
+ }, ec$2 = Uo$2, me$2 = Ti$2, Tt$1 = Si$2.isArray, j, le$2;
12697
+ function tc$2(r22) {
12698
12698
  return j = me$2.copyOptions(r22), me$2.ensureFlagExists("ignoreDeclaration", j), me$2.ensureFlagExists("ignoreInstruction", j), me$2.ensureFlagExists("ignoreAttributes", j), me$2.ensureFlagExists("ignoreText", j), me$2.ensureFlagExists("ignoreComment", j), me$2.ensureFlagExists("ignoreCdata", j), me$2.ensureFlagExists("ignoreDoctype", j), me$2.ensureFlagExists("compact", j), me$2.ensureFlagExists("alwaysChildren", j), me$2.ensureFlagExists("addParent", j), me$2.ensureFlagExists("trim", j), me$2.ensureFlagExists("nativeType", j), me$2.ensureFlagExists("nativeTypeAttributes", j), me$2.ensureFlagExists("sanitize", j), me$2.ensureFlagExists("instructionHasAttributes", j), me$2.ensureFlagExists("captureSpacesBetweenElements", j), me$2.ensureAlwaysArrayExists(j), me$2.ensureKeyExists("declaration", j), me$2.ensureKeyExists("instruction", j), me$2.ensureKeyExists("attributes", j), me$2.ensureKeyExists("text", j), me$2.ensureKeyExists("comment", j), me$2.ensureKeyExists("cdata", j), me$2.ensureKeyExists("doctype", j), me$2.ensureKeyExists("type", j), me$2.ensureKeyExists("name", j), me$2.ensureKeyExists("elements", j), me$2.ensureKeyExists("parent", j), j;
12699
12699
  }
12700
- function ua$1(r22) {
12700
+ function aa$2(r22) {
12701
12701
  var e = Number(r22);
12702
12702
  if (!isNaN(e))
12703
12703
  return e;
@@ -12731,23 +12731,23 @@ Actual: ` + p3.attribValue
12731
12731
  j.addParent && (i3[j.parentKey] = le$2), le$2[j.elementsKey].push(i3);
12732
12732
  }
12733
12733
  }
12734
- function la$1(r22) {
12734
+ function ua$1(r22) {
12735
12735
  if ("attributesFn" in j && r22 && (r22 = j.attributesFn(r22, le$2)), (j.trim || "attributeValueFn" in j || "attributeNameFn" in j || j.nativeTypeAttributes) && r22) {
12736
12736
  var e;
12737
12737
  for (e in r22)
12738
- if (r22.hasOwnProperty(e) && (j.trim && (r22[e] = r22[e].trim()), j.nativeTypeAttributes && (r22[e] = ua$1(r22[e])), "attributeValueFn" in j && (r22[e] = j.attributeValueFn(r22[e], e, le$2)), "attributeNameFn" in j)) {
12738
+ if (r22.hasOwnProperty(e) && (j.trim && (r22[e] = r22[e].trim()), j.nativeTypeAttributes && (r22[e] = aa$2(r22[e])), "attributeValueFn" in j && (r22[e] = j.attributeValueFn(r22[e], e, le$2)), "attributeNameFn" in j)) {
12739
12739
  var t = r22[e];
12740
12740
  delete r22[e], r22[j.attributeNameFn(e, r22[e], le$2)] = t;
12741
12741
  }
12742
12742
  }
12743
12743
  return r22;
12744
12744
  }
12745
- function nc$2(r22) {
12745
+ function rc$2(r22) {
12746
12746
  var e = {};
12747
12747
  if (r22.body && (r22.name.toLowerCase() === "xml" || j.instructionHasAttributes)) {
12748
12748
  for (var t = /([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g, n; (n = t.exec(r22.body)) !== null; )
12749
12749
  e[n[1]] = n[2] || n[3] || n[4];
12750
- e = la$1(e);
12750
+ e = ua$1(e);
12751
12751
  }
12752
12752
  if (r22.name.toLowerCase() === "xml") {
12753
12753
  if (j.ignoreDeclaration)
@@ -12761,9 +12761,9 @@ Actual: ` + p3.attribValue
12761
12761
  j.instructionHasAttributes && Object.keys(e).length ? (i3[r22.name] = {}, i3[r22.name][j.attributesKey] = e) : i3[r22.name] = r22.body, Yt$3("instruction", i3);
12762
12762
  }
12763
12763
  }
12764
- function ic$2(r22, e) {
12764
+ function nc$2(r22, e) {
12765
12765
  var t;
12766
- if (typeof r22 == "object" && (e = r22.attributes, r22 = r22.name), e = la$1(e), "elementNameFn" in j && (r22 = j.elementNameFn(r22, le$2)), j.compact) {
12766
+ if (typeof r22 == "object" && (e = r22.attributes, r22 = r22.name), e = ua$1(e), "elementNameFn" in j && (r22 = j.elementNameFn(r22, le$2)), j.compact) {
12767
12767
  if (t = {}, !j.ignoreAttributes && e && Object.keys(e).length) {
12768
12768
  t[j.attributesKey] = {};
12769
12769
  var n;
@@ -12775,44 +12775,44 @@ Actual: ` + p3.attribValue
12775
12775
  le$2[j.elementsKey] || (le$2[j.elementsKey] = []), t = {}, t[j.typeKey] = "element", t[j.nameKey] = r22, !j.ignoreAttributes && e && Object.keys(e).length && (t[j.attributesKey] = e), j.alwaysChildren && (t[j.elementsKey] = []), le$2[j.elementsKey].push(t);
12776
12776
  t[j.parentKey] = le$2, le$2 = t;
12777
12777
  }
12778
- function sc$2(r22) {
12779
- j.ignoreText || !r22.trim() && !j.captureSpacesBetweenElements || (j.trim && (r22 = r22.trim()), j.nativeType && (r22 = ua$1(r22)), j.sanitize && (r22 = r22.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;")), Yt$3("text", r22));
12778
+ function ic$2(r22) {
12779
+ j.ignoreText || !r22.trim() && !j.captureSpacesBetweenElements || (j.trim && (r22 = r22.trim()), j.nativeType && (r22 = aa$2(r22)), j.sanitize && (r22 = r22.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;")), Yt$3("text", r22));
12780
12780
  }
12781
- function oc$2(r22) {
12781
+ function sc$2(r22) {
12782
12782
  j.ignoreComment || (j.trim && (r22 = r22.trim()), Yt$3("comment", r22));
12783
12783
  }
12784
- function ac$2(r22) {
12784
+ function oc$2(r22) {
12785
12785
  var e = le$2[j.parentKey];
12786
12786
  j.addParent || delete le$2[j.parentKey], le$2 = e;
12787
12787
  }
12788
- function uc$2(r22) {
12788
+ function ac$2(r22) {
12789
12789
  j.ignoreCdata || (j.trim && (r22 = r22.trim()), Yt$3("cdata", r22));
12790
12790
  }
12791
- function lc$2(r22) {
12791
+ function uc$2(r22) {
12792
12792
  j.ignoreDoctype || (r22 = r22.replace(/^ /, ""), j.trim && (r22 = r22.trim()), Yt$3("doctype", r22));
12793
12793
  }
12794
- function cc$2(r22) {
12794
+ function lc$2(r22) {
12795
12795
  r22.note = r22;
12796
12796
  }
12797
- var ca$2 = function(r22, e) {
12798
- var t = tc$2.parser(true, {}), n = {};
12799
- if (le$2 = n, j = rc$2(e), t.opt = { strictEntities: true }, t.onopentag = ic$2, t.ontext = sc$2, t.oncomment = oc$2, t.onclosetag = ac$2, t.onerror = cc$2, t.oncdata = uc$2, t.ondoctype = lc$2, t.onprocessinginstruction = nc$2, t.write(r22).close(), n[j.elementsKey]) {
12797
+ var la$1 = function(r22, e) {
12798
+ var t = ec$2.parser(true, {}), n = {};
12799
+ if (le$2 = n, j = tc$2(e), t.opt = { strictEntities: true }, t.onopentag = nc$2, t.ontext = ic$2, t.oncomment = sc$2, t.onclosetag = oc$2, t.onerror = lc$2, t.oncdata = ac$2, t.ondoctype = uc$2, t.onprocessinginstruction = rc$2, t.write(r22).close(), n[j.elementsKey]) {
12800
12800
  var i3 = n[j.elementsKey];
12801
12801
  delete n[j.elementsKey], n[j.elementsKey] = i3, delete n.text;
12802
12802
  }
12803
12803
  return n;
12804
- }, io$2 = Ti$2, fc$2 = ca$2;
12805
- function dc$2(r22) {
12804
+ }, io$2 = Ti$2, cc$2 = la$1;
12805
+ function fc$2(r22) {
12806
12806
  var e = io$2.copyOptions(r22);
12807
12807
  return io$2.ensureSpacesExists(e), e;
12808
12808
  }
12809
- var mc$1 = function(r22, e) {
12809
+ var dc$2 = function(r22, e) {
12810
12810
  var t, n, i3, s;
12811
- return t = dc$2(e), n = fc$2(r22, t), s = "compact" in t && t.compact ? "_parent" : "parent", "addParent" in t && t.addParent ? i3 = JSON.stringify(n, function(o, a) {
12811
+ return t = fc$2(e), n = cc$2(r22, t), s = "compact" in t && t.compact ? "_parent" : "parent", "addParent" in t && t.addParent ? i3 = JSON.stringify(n, function(o, a) {
12812
12812
  return o === s ? "_" : a;
12813
12813
  }, t.spaces) : i3 = JSON.stringify(n, null, t.spaces), i3.replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
12814
- }, he = Ti$2, pc$2 = Si$2.isArray, Re$3, Pe$2;
12815
- function hc$1(r22) {
12814
+ }, he = Ti$2, mc$1 = Si$2.isArray, Re$3, Pe$2;
12815
+ function pc$2(r22) {
12816
12816
  var e = he.copyOptions(r22);
12817
12817
  return he.ensureFlagExists("ignoreDeclaration", e), he.ensureFlagExists("ignoreInstruction", e), he.ensureFlagExists("ignoreAttributes", e), he.ensureFlagExists("ignoreText", e), he.ensureFlagExists("ignoreComment", e), he.ensureFlagExists("ignoreCdata", e), he.ensureFlagExists("ignoreDoctype", e), he.ensureFlagExists("compact", e), he.ensureFlagExists("indentText", e), he.ensureFlagExists("indentCdata", e), he.ensureFlagExists("indentAttributes", e), he.ensureFlagExists("indentInstruction", e), he.ensureFlagExists("fullTagEmptyElement", e), he.ensureFlagExists("noQuotesForNativeAttributes", e), he.ensureSpacesExists(e), typeof e.spaces == "number" && (e.spaces = Array(e.spaces + 1).join(" ")), he.ensureKeyExists("declaration", e), he.ensureKeyExists("instruction", e), he.ensureKeyExists("attributes", e), he.ensureKeyExists("text", e), he.ensureKeyExists("comment", e), he.ensureKeyExists("cdata", e), he.ensureKeyExists("doctype", e), he.ensureKeyExists("type", e), he.ensureKeyExists("name", e), he.ensureKeyExists("elements", e), e;
12818
12818
  }
@@ -12829,10 +12829,10 @@ Actual: ` + p3.attribValue
12829
12829
  r22.hasOwnProperty(n) && r22[n] !== null && r22[n] !== void 0 && (o = e.noQuotesForNativeAttributes && typeof r22[n] != "string" ? "" : '"', i3 = "" + r22[n], i3 = i3.replace(/"/g, "&quot;"), s = "attributeNameFn" in e ? e.attributeNameFn(n, i3, Pe$2, Re$3) : n, a.push(e.spaces && e.indentAttributes ? Ze$2(e, t + 1, false) : " "), a.push(s + "=" + o + ("attributeValueFn" in e ? e.attributeValueFn(i3, n, Pe$2, Re$3) : i3) + o));
12830
12830
  return r22 && Object.keys(r22).length && e.spaces && e.indentAttributes && a.push(Ze$2(e, t, false)), a.join("");
12831
12831
  }
12832
- function fa$1(r22, e, t) {
12832
+ function ca$2(r22, e, t) {
12833
12833
  return Re$3 = r22, Pe$2 = "xml", e.ignoreDeclaration ? "" : "<?xml" + Sr$2(r22[e.attributesKey], e, t) + "?>";
12834
12834
  }
12835
- function da$1(r22, e, t) {
12835
+ function fa$1(r22, e, t) {
12836
12836
  if (e.ignoreInstruction)
12837
12837
  return "";
12838
12838
  var n;
@@ -12845,19 +12845,19 @@ Actual: ` + p3.attribValue
12845
12845
  var s = r22[n] ? r22[n] : "";
12846
12846
  return "instructionFn" in e && (s = e.instructionFn(s, n, Pe$2, Re$3)), "<?" + i3 + (s ? " " + s : "") + "?>";
12847
12847
  }
12848
- function ma$1(r22, e) {
12848
+ function da$1(r22, e) {
12849
12849
  return e.ignoreComment ? "" : "<!--" + ("commentFn" in e ? e.commentFn(r22, Pe$2, Re$3) : r22) + "-->";
12850
12850
  }
12851
- function pa$1(r22, e) {
12851
+ function ma$1(r22, e) {
12852
12852
  return e.ignoreCdata ? "" : "<![CDATA[" + ("cdataFn" in e ? e.cdataFn(r22, Pe$2, Re$3) : r22.replace("]]>", "]]]]><![CDATA[>")) + "]]>";
12853
12853
  }
12854
- function ha$1(r22, e) {
12854
+ function pa$1(r22, e) {
12855
12855
  return e.ignoreDoctype ? "" : "<!DOCTYPE " + ("doctypeFn" in e ? e.doctypeFn(r22, Pe$2, Re$3) : r22) + ">";
12856
12856
  }
12857
12857
  function Fi$2(r22, e) {
12858
12858
  return e.ignoreText ? "" : (r22 = "" + r22, r22 = r22.replace(/&amp;/g, "&"), r22 = r22.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), "textFn" in e ? e.textFn(r22, Pe$2, Re$3) : r22);
12859
12859
  }
12860
- function gc$1(r22, e) {
12860
+ function hc$1(r22, e) {
12861
12861
  var t;
12862
12862
  if (r22.elements && r22.elements.length)
12863
12863
  for (t = 0; t < r22.elements.length; ++t)
@@ -12883,35 +12883,35 @@ Actual: ` + p3.attribValue
12883
12883
  }
12884
12884
  return false;
12885
12885
  }
12886
- function wc$1(r22, e, t) {
12886
+ function gc$1(r22, e, t) {
12887
12887
  Re$3 = r22, Pe$2 = r22.name;
12888
12888
  var n = [], i3 = "elementNameFn" in e ? e.elementNameFn(r22.name, r22) : r22.name;
12889
12889
  n.push("<" + i3), r22[e.attributesKey] && n.push(Sr$2(r22[e.attributesKey], e, t));
12890
12890
  var s = r22[e.elementsKey] && r22[e.elementsKey].length || r22[e.attributesKey] && r22[e.attributesKey]["xml:space"] === "preserve";
12891
- return s || ("fullTagEmptyElementFn" in e ? s = e.fullTagEmptyElementFn(r22.name, r22) : s = e.fullTagEmptyElement), s ? (n.push(">"), r22[e.elementsKey] && r22[e.elementsKey].length && (n.push(ga$2(r22[e.elementsKey], e, t + 1)), Re$3 = r22, Pe$2 = r22.name), n.push(e.spaces && gc$1(r22, e) ? `
12891
+ return s || ("fullTagEmptyElementFn" in e ? s = e.fullTagEmptyElementFn(r22.name, r22) : s = e.fullTagEmptyElement), s ? (n.push(">"), r22[e.elementsKey] && r22[e.elementsKey].length && (n.push(ha$1(r22[e.elementsKey], e, t + 1)), Re$3 = r22, Pe$2 = r22.name), n.push(e.spaces && hc$1(r22, e) ? `
12892
12892
  ` + Array(t + 1).join(e.spaces) : ""), n.push("</" + i3 + ">")) : n.push("/>"), n.join("");
12893
12893
  }
12894
- function ga$2(r22, e, t, n) {
12894
+ function ha$1(r22, e, t, n) {
12895
12895
  return r22.reduce(function(i3, s) {
12896
12896
  var o = Ze$2(e, t, n && !i3);
12897
12897
  switch (s.type) {
12898
12898
  case "element":
12899
- return i3 + o + wc$1(s, e, t);
12899
+ return i3 + o + gc$1(s, e, t);
12900
12900
  case "comment":
12901
- return i3 + o + ma$1(s[e.commentKey], e);
12901
+ return i3 + o + da$1(s[e.commentKey], e);
12902
12902
  case "doctype":
12903
- return i3 + o + ha$1(s[e.doctypeKey], e);
12903
+ return i3 + o + pa$1(s[e.doctypeKey], e);
12904
12904
  case "cdata":
12905
- return i3 + (e.indentCdata ? o : "") + pa$1(s[e.cdataKey], e);
12905
+ return i3 + (e.indentCdata ? o : "") + ma$1(s[e.cdataKey], e);
12906
12906
  case "text":
12907
12907
  return i3 + (e.indentText ? o : "") + Fi$2(s[e.textKey], e);
12908
12908
  case "instruction":
12909
12909
  var a = {};
12910
- return a[s[e.nameKey]] = s[e.attributesKey] ? s : s[e.instructionKey], i3 + (e.indentInstruction ? o : "") + da$1(a, e, t);
12910
+ return a[s[e.nameKey]] = s[e.attributesKey] ? s : s[e.instructionKey], i3 + (e.indentInstruction ? o : "") + fa$1(a, e, t);
12911
12911
  }
12912
12912
  }, "");
12913
12913
  }
12914
- function wa$2(r22, e, t) {
12914
+ function ga$2(r22, e, t) {
12915
12915
  var n;
12916
12916
  for (n in r22)
12917
12917
  if (r22.hasOwnProperty(n))
@@ -12939,7 +12939,7 @@ Actual: ` + p3.attribValue
12939
12939
  }
12940
12940
  return false;
12941
12941
  }
12942
- function yc$1(r22, e, t, n, i3) {
12942
+ function wc$1(r22, e, t, n, i3) {
12943
12943
  Re$3 = r22, Pe$2 = e;
12944
12944
  var s = "elementNameFn" in t ? t.elementNameFn(e, r22) : e;
12945
12945
  if (typeof r22 > "u" || r22 === null || r22 === "")
@@ -12949,25 +12949,25 @@ Actual: ` + p3.attribValue
12949
12949
  if (o.push("<" + s), typeof r22 != "object")
12950
12950
  return o.push(">" + Fi$2(r22, t) + "</" + s + ">"), o.join("");
12951
12951
  r22[t.attributesKey] && o.push(Sr$2(r22[t.attributesKey], t, n));
12952
- var a = wa$2(r22, t, true) || r22[t.attributesKey] && r22[t.attributesKey]["xml:space"] === "preserve";
12952
+ var a = ga$2(r22, t, true) || r22[t.attributesKey] && r22[t.attributesKey]["xml:space"] === "preserve";
12953
12953
  if (a || ("fullTagEmptyElementFn" in t ? a = t.fullTagEmptyElementFn(e, r22) : a = t.fullTagEmptyElement), a)
12954
12954
  o.push(">");
12955
12955
  else
12956
12956
  return o.push("/>"), o.join("");
12957
12957
  }
12958
- return o.push(ya$2(r22, t, n + 1, false)), Re$3 = r22, Pe$2 = e, e && o.push((i3 ? Ze$2(t, n, false) : "") + "</" + s + ">"), o.join("");
12958
+ return o.push(wa$2(r22, t, n + 1, false)), Re$3 = r22, Pe$2 = e, e && o.push((i3 ? Ze$2(t, n, false) : "") + "</" + s + ">"), o.join("");
12959
12959
  }
12960
- function ya$2(r22, e, t, n) {
12960
+ function wa$2(r22, e, t, n) {
12961
12961
  var i3, s, o, a = [];
12962
12962
  for (s in r22)
12963
12963
  if (r22.hasOwnProperty(s))
12964
- for (o = pc$2(r22[s]) ? r22[s] : [r22[s]], i3 = 0; i3 < o.length; ++i3) {
12964
+ for (o = mc$1(r22[s]) ? r22[s] : [r22[s]], i3 = 0; i3 < o.length; ++i3) {
12965
12965
  switch (s) {
12966
12966
  case e.declarationKey:
12967
- a.push(fa$1(o[i3], e, t));
12967
+ a.push(ca$2(o[i3], e, t));
12968
12968
  break;
12969
12969
  case e.instructionKey:
12970
- a.push((e.indentInstruction ? Ze$2(e, t, n) : "") + da$1(o[i3], e, t));
12970
+ a.push((e.indentInstruction ? Ze$2(e, t, n) : "") + fa$1(o[i3], e, t));
12971
12971
  break;
12972
12972
  case e.attributesKey:
12973
12973
  case e.parentKey:
@@ -12976,26 +12976,26 @@ Actual: ` + p3.attribValue
12976
12976
  a.push((e.indentText ? Ze$2(e, t, n) : "") + Fi$2(o[i3], e));
12977
12977
  break;
12978
12978
  case e.cdataKey:
12979
- a.push((e.indentCdata ? Ze$2(e, t, n) : "") + pa$1(o[i3], e));
12979
+ a.push((e.indentCdata ? Ze$2(e, t, n) : "") + ma$1(o[i3], e));
12980
12980
  break;
12981
12981
  case e.doctypeKey:
12982
- a.push(Ze$2(e, t, n) + ha$1(o[i3], e));
12982
+ a.push(Ze$2(e, t, n) + pa$1(o[i3], e));
12983
12983
  break;
12984
12984
  case e.commentKey:
12985
- a.push(Ze$2(e, t, n) + ma$1(o[i3], e));
12985
+ a.push(Ze$2(e, t, n) + da$1(o[i3], e));
12986
12986
  break;
12987
12987
  default:
12988
- a.push(Ze$2(e, t, n) + yc$1(o[i3], s, e, t, wa$2(o[i3], e)));
12988
+ a.push(Ze$2(e, t, n) + wc$1(o[i3], s, e, t, ga$2(o[i3], e)));
12989
12989
  }
12990
12990
  n = n && !a.length;
12991
12991
  }
12992
12992
  return a.join("");
12993
12993
  }
12994
- var ba$2 = function(r22, e) {
12995
- e = hc$1(e);
12994
+ var ya$2 = function(r22, e) {
12995
+ e = pc$2(e);
12996
12996
  var t = [];
12997
- return Re$3 = r22, Pe$2 = "_root_", e.compact ? t.push(ya$2(r22, e, 0, true)) : (r22[e.declarationKey] && t.push(fa$1(r22[e.declarationKey], e, 0)), r22[e.elementsKey] && r22[e.elementsKey].length && t.push(ga$2(r22[e.elementsKey], e, 0, !t.length))), t.join("");
12998
- }, bc$1 = ba$2, xc$2 = function(r22, e) {
12997
+ return Re$3 = r22, Pe$2 = "_root_", e.compact ? t.push(wa$2(r22, e, 0, true)) : (r22[e.declarationKey] && t.push(ca$2(r22[e.declarationKey], e, 0)), r22[e.elementsKey] && r22[e.elementsKey].length && t.push(ha$1(r22[e.elementsKey], e, 0, !t.length))), t.join("");
12998
+ }, yc$1 = ya$2, bc$1 = function(r22, e) {
12999
12999
  r22 instanceof Ct$2 && (r22 = r22.toString());
13000
13000
  var t = null;
13001
13001
  if (typeof r22 == "string")
@@ -13006,37 +13006,37 @@ Actual: ` + p3.attribValue
13006
13006
  }
13007
13007
  else
13008
13008
  t = r22;
13009
- return bc$1(t, e);
13010
- }, Ac$2 = ca$2, Dc$2 = mc$1, vc$2 = ba$2, Ec$2 = xc$2, Cc$2 = {
13011
- xml2js: Ac$2,
13012
- xml2json: Dc$2,
13013
- js2xml: vc$2,
13014
- json2xml: Ec$2
13009
+ return yc$1(t, e);
13010
+ }, xc$2 = la$1, Ac$2 = dc$2, Dc$2 = ya$2, vc$2 = bc$1, Ec$2 = {
13011
+ xml2js: xc$2,
13012
+ xml2json: Ac$2,
13013
+ js2xml: Dc$2,
13014
+ json2xml: vc$2
13015
13015
  };
13016
- const xa$2 = /* @__PURE__ */ Mo$3(Cc$2);
13017
- var rr$2, Sc$2 = new Uint8Array(16);
13018
- function Tc$2() {
13016
+ const ba$2 = /* @__PURE__ */ qo$2(Ec$2);
13017
+ var rr$2, Cc$2 = new Uint8Array(16);
13018
+ function Sc$2() {
13019
13019
  if (!rr$2 && (rr$2 = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), !rr$2))
13020
13020
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
13021
- return rr$2(Sc$2);
13021
+ return rr$2(Cc$2);
13022
13022
  }
13023
- const Fc$2 = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
13024
- function Bc$2(r22) {
13025
- return typeof r22 == "string" && Fc$2.test(r22);
13023
+ const Tc$2 = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
13024
+ function Fc$2(r22) {
13025
+ return typeof r22 == "string" && Tc$2.test(r22);
13026
13026
  }
13027
13027
  var ke$2 = [];
13028
13028
  for (var Zn$3 = 0; Zn$3 < 256; ++Zn$3)
13029
13029
  ke$2.push((Zn$3 + 256).toString(16).substr(1));
13030
- function kc$2(r22) {
13030
+ function Bc$2(r22) {
13031
13031
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, t = (ke$2[r22[e + 0]] + ke$2[r22[e + 1]] + ke$2[r22[e + 2]] + ke$2[r22[e + 3]] + "-" + ke$2[r22[e + 4]] + ke$2[r22[e + 5]] + "-" + ke$2[r22[e + 6]] + ke$2[r22[e + 7]] + "-" + ke$2[r22[e + 8]] + ke$2[r22[e + 9]] + "-" + ke$2[r22[e + 10]] + ke$2[r22[e + 11]] + ke$2[r22[e + 12]] + ke$2[r22[e + 13]] + ke$2[r22[e + 14]] + ke$2[r22[e + 15]]).toLowerCase();
13032
- if (!Bc$2(t))
13032
+ if (!Fc$2(t))
13033
13033
  throw TypeError("Stringified UUID is invalid");
13034
13034
  return t;
13035
13035
  }
13036
- function Aa$2(r22, e, t) {
13036
+ function xa$2(r22, e, t) {
13037
13037
  r22 = r22 || {};
13038
- var n = r22.random || (r22.rng || Tc$2)();
13039
- return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, kc$2(n);
13038
+ var n = r22.random || (r22.rng || Sc$2)();
13039
+ return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Bc$2(n);
13040
13040
  }
13041
13041
  var dr$2 = { exports: {} };
13042
13042
  /*! https://mths.be/he v1.2.0 by @mathias | MIT license */
@@ -13148,8 +13148,8 @@ Actual: ` + p3.attribValue
13148
13148
  t.he = Y;
13149
13149
  })(Je$1);
13150
13150
  })(dr$2, dr$2.exports);
13151
- var Nc$2 = dr$2.exports;
13152
- const Ic$2 = /* @__PURE__ */ Mo$3(Nc$2);
13151
+ var kc$2 = dr$2.exports;
13152
+ const Nc$2 = /* @__PURE__ */ qo$2(kc$2);
13153
13153
  function Ne$2(r22) {
13154
13154
  this.content = r22;
13155
13155
  }
@@ -13250,7 +13250,7 @@ Actual: ` + p3.attribValue
13250
13250
  if (r22) for (var t in r22) e.push(t, r22[t]);
13251
13251
  return new Ne$2(e);
13252
13252
  };
13253
- function Da$2(r22, e, t) {
13253
+ function Aa$2(r22, e, t) {
13254
13254
  for (let n = 0; ; n++) {
13255
13255
  if (n == r22.childCount || n == e.childCount)
13256
13256
  return r22.childCount == e.childCount ? null : t;
@@ -13267,14 +13267,14 @@ Actual: ` + p3.attribValue
13267
13267
  return t;
13268
13268
  }
13269
13269
  if (i3.content.size || s.content.size) {
13270
- let o = Da$2(i3.content, s.content, t + 1);
13270
+ let o = Aa$2(i3.content, s.content, t + 1);
13271
13271
  if (o != null)
13272
13272
  return o;
13273
13273
  }
13274
13274
  t += i3.nodeSize;
13275
13275
  }
13276
13276
  }
13277
- function va$2(r22, e, t, n) {
13277
+ function Da$2(r22, e, t, n) {
13278
13278
  for (let i3 = r22.childCount, s = e.childCount; ; ) {
13279
13279
  if (i3 == 0 || s == 0)
13280
13280
  return i3 == s ? null : { a: t, b: n };
@@ -13292,7 +13292,7 @@ Actual: ` + p3.attribValue
13292
13292
  return { a: t, b: n };
13293
13293
  }
13294
13294
  if (o.content.size || a.content.size) {
13295
- let c3 = va$2(o.content, a.content, t - 1, n - 1);
13295
+ let c3 = Da$2(o.content, a.content, t - 1, n - 1);
13296
13296
  if (c3)
13297
13297
  return c3;
13298
13298
  }
@@ -13461,7 +13461,7 @@ Actual: ` + p3.attribValue
13461
13461
  fragment differ, or `null` if they are the same.
13462
13462
  */
13463
13463
  findDiffStart(e, t = 0) {
13464
- return Da$2(this, e, t);
13464
+ return Aa$2(this, e, t);
13465
13465
  }
13466
13466
  /**
13467
13467
  Find the first position, searching from the end, at which this
@@ -13470,7 +13470,7 @@ Actual: ` + p3.attribValue
13470
13470
  nodes, an object with two separate positions is returned.
13471
13471
  */
13472
13472
  findDiffEnd(e, t = this.size, n = e.size) {
13473
- return va$2(this, e, t, n);
13473
+ return Da$2(this, e, t, n);
13474
13474
  }
13475
13475
  /**
13476
13476
  Find the index and inner offset corresponding to a given relative
@@ -13714,14 +13714,14 @@ Actual: ` + p3.attribValue
13714
13714
  @internal
13715
13715
  */
13716
13716
  insertAt(e, t) {
13717
- let n = Ca$2(this.content, e + this.openStart, t);
13717
+ let n = Ea$2(this.content, e + this.openStart, t);
13718
13718
  return n && new ae2(n, this.openStart, this.openEnd);
13719
13719
  }
13720
13720
  /**
13721
13721
  @internal
13722
13722
  */
13723
13723
  removeBetween(e, t) {
13724
- return new ae2(Ea$2(this.content, e + this.openStart, t + this.openStart), this.openStart, this.openEnd);
13724
+ return new ae2(va$2(this.content, e + this.openStart, t + this.openStart), this.openStart, this.openEnd);
13725
13725
  }
13726
13726
  /**
13727
13727
  Tests whether this slice is equal to another slice.
@@ -13769,7 +13769,7 @@ Actual: ` + p3.attribValue
13769
13769
  }
13770
13770
  };
13771
13771
  ae$4.empty = new ae$4(Q$2.empty, 0, 0);
13772
- function Ea$2(r22, e, t) {
13772
+ function va$2(r22, e, t) {
13773
13773
  let { index: n, offset: i3 } = r22.findIndex(e), s = r22.maybeChild(n), { index: o, offset: a } = r22.findIndex(t);
13774
13774
  if (i3 == e || s.isText) {
13775
13775
  if (a != t && !r22.child(o).isText)
@@ -13778,44 +13778,44 @@ Actual: ` + p3.attribValue
13778
13778
  }
13779
13779
  if (n != o)
13780
13780
  throw new RangeError("Removing non-flat range");
13781
- return r22.replaceChild(n, s.copy(Ea$2(s.content, e - i3 - 1, t - i3 - 1)));
13781
+ return r22.replaceChild(n, s.copy(va$2(s.content, e - i3 - 1, t - i3 - 1)));
13782
13782
  }
13783
- function Ca$2(r22, e, t, n) {
13783
+ function Ea$2(r22, e, t, n) {
13784
13784
  let { index: i3, offset: s } = r22.findIndex(e), o = r22.maybeChild(i3);
13785
13785
  if (s == e || o.isText)
13786
13786
  return r22.cut(0, e).append(t).append(r22.cut(e));
13787
- let a = Ca$2(o.content, e - s - 1, t);
13787
+ let a = Ea$2(o.content, e - s - 1, t);
13788
13788
  return a && r22.replaceChild(i3, o.copy(a));
13789
13789
  }
13790
- function Rc$2(r22, e, t) {
13790
+ function Ic$2(r22, e, t) {
13791
13791
  if (t.openStart > r22.depth)
13792
13792
  throw new pr$1("Inserted content deeper than insertion position");
13793
13793
  if (r22.depth - t.openStart != e.depth - t.openEnd)
13794
13794
  throw new pr$1("Inconsistent open depths");
13795
- return Sa$2(r22, e, t, 0);
13795
+ return Ca$2(r22, e, t, 0);
13796
13796
  }
13797
- function Sa$2(r22, e, t, n) {
13797
+ function Ca$2(r22, e, t, n) {
13798
13798
  let i3 = r22.index(n), s = r22.node(n);
13799
13799
  if (i3 == e.index(n) && n < r22.depth - t.openStart) {
13800
- let o = Sa$2(r22, e, t, n + 1);
13800
+ let o = Ca$2(r22, e, t, n + 1);
13801
13801
  return s.copy(s.content.replaceChild(i3, o));
13802
13802
  } else if (t.content.size)
13803
13803
  if (!t.openStart && !t.openEnd && r22.depth == n && e.depth == n) {
13804
13804
  let o = r22.parent, a = o.content;
13805
13805
  return wt$1(o, a.cut(0, r22.parentOffset).append(t.content).append(a.cut(e.parentOffset)));
13806
13806
  } else {
13807
- let { start: o, end: a } = Pc$2(t, r22);
13808
- return wt$1(s, Fa$2(r22, o, a, e, n));
13807
+ let { start: o, end: a } = Rc$2(t, r22);
13808
+ return wt$1(s, Ta$2(r22, o, a, e, n));
13809
13809
  }
13810
13810
  else return wt$1(s, hr$1(r22, e, n));
13811
13811
  }
13812
- function Ta$2(r22, e) {
13812
+ function Sa$2(r22, e) {
13813
13813
  if (!e.type.compatibleContent(r22.type))
13814
13814
  throw new pr$1("Cannot join " + e.type.name + " onto " + r22.type.name);
13815
13815
  }
13816
13816
  function ci$2(r22, e, t) {
13817
13817
  let n = r22.node(t);
13818
- return Ta$2(n, e.node(t)), n;
13818
+ return Sa$2(n, e.node(t)), n;
13819
13819
  }
13820
13820
  function gt$1(r22, e) {
13821
13821
  let t = e.length - 1;
@@ -13831,9 +13831,9 @@ Actual: ` + p3.attribValue
13831
13831
  function wt$1(r22, e) {
13832
13832
  return r22.type.checkContent(e), r22.copy(e);
13833
13833
  }
13834
- function Fa$2(r22, e, t, n, i3) {
13834
+ function Ta$2(r22, e, t, n, i3) {
13835
13835
  let s = r22.depth > i3 && ci$2(r22, e, i3 + 1), o = n.depth > i3 && ci$2(t, n, i3 + 1), a = [];
13836
- return Vt$1(null, r22, i3, a), s && o && e.index(i3) == t.index(i3) ? (Ta$2(s, o), gt$1(wt$1(s, Fa$2(r22, e, t, n, i3 + 1)), a)) : (s && gt$1(wt$1(s, hr$1(r22, e, i3 + 1)), a), Vt$1(e, t, i3, a), o && gt$1(wt$1(o, hr$1(t, n, i3 + 1)), a)), Vt$1(n, null, i3, a), new Q$2(a);
13836
+ return Vt$1(null, r22, i3, a), s && o && e.index(i3) == t.index(i3) ? (Sa$2(s, o), gt$1(wt$1(s, Ta$2(r22, e, t, n, i3 + 1)), a)) : (s && gt$1(wt$1(s, hr$1(r22, e, i3 + 1)), a), Vt$1(e, t, i3, a), o && gt$1(wt$1(o, hr$1(t, n, i3 + 1)), a)), Vt$1(n, null, i3, a), new Q$2(a);
13837
13837
  }
13838
13838
  function hr$1(r22, e, t) {
13839
13839
  let n = [];
@@ -13843,7 +13843,7 @@ Actual: ` + p3.attribValue
13843
13843
  }
13844
13844
  return Vt$1(e, null, t, n), new Q$2(n);
13845
13845
  }
13846
- function Pc$2(r22, e) {
13846
+ function Rc$2(r22, e) {
13847
13847
  let t = e.depth - r22.openStart, i3 = e.node(t).copy(r22.content);
13848
13848
  for (let s = t - 1; s >= 0; s--)
13849
13849
  i3 = e.node(s).copy(Q$2.from(i3));
@@ -14037,7 +14037,7 @@ Actual: ` + p3.attribValue
14037
14037
  return e.blockRange(this);
14038
14038
  for (let n = this.depth - (this.parent.inlineContent || this.pos == e.pos ? 1 : 0); n >= 0; n--)
14039
14039
  if (e.pos <= this.end(n) && (!t || t(this.node(n))))
14040
- return new _c$2(this, e, n);
14040
+ return new Lc$2(this, e, n);
14041
14041
  return null;
14042
14042
  }
14043
14043
  /**
@@ -14094,18 +14094,18 @@ Actual: ` + p3.attribValue
14094
14094
  return o;
14095
14095
  }
14096
14096
  else
14097
- so$3.set(e, n = new Oc$2());
14097
+ so$3.set(e, n = new Pc$2());
14098
14098
  let i3 = n.elts[n.i] = zt2.resolve(e, t);
14099
- return n.i = (n.i + 1) % Lc$2, i3;
14099
+ return n.i = (n.i + 1) % Oc$2, i3;
14100
14100
  }
14101
14101
  };
14102
- let Oc$2 = class Oc {
14102
+ let Pc$2 = class Pc {
14103
14103
  constructor() {
14104
14104
  this.elts = [], this.i = 0;
14105
14105
  }
14106
14106
  };
14107
- const Lc$2 = 12, so$3 = /* @__PURE__ */ new WeakMap();
14108
- let _c$2 = class _c {
14107
+ const Oc$2 = 12, so$3 = /* @__PURE__ */ new WeakMap();
14108
+ let Lc$2 = class Lc {
14109
14109
  /**
14110
14110
  Construct a node range. `$from` and `$to` should point into the
14111
14111
  same node until at least the given `depth`, since a node range
@@ -14145,7 +14145,7 @@ Actual: ` + p3.attribValue
14145
14145
  return this.$to.indexAfter(this.depth);
14146
14146
  }
14147
14147
  };
14148
- const qc$2 = /* @__PURE__ */ Object.create(null);
14148
+ const _c$2 = /* @__PURE__ */ Object.create(null);
14149
14149
  let rt$3 = class rt2 {
14150
14150
  /**
14151
14151
  @internal
@@ -14264,7 +14264,7 @@ Actual: ` + p3.attribValue
14264
14264
  attributes, and marks.
14265
14265
  */
14266
14266
  hasMarkup(e, t, n) {
14267
- return this.type == e && mr$2(this.attrs, t || e.defaultAttrs || qc$2) && we$1.sameSet(this.marks, n || we$1.none);
14267
+ return this.type == e && mr$2(this.attrs, t || e.defaultAttrs || _c$2) && we$1.sameSet(this.marks, n || we$1.none);
14268
14268
  }
14269
14269
  /**
14270
14270
  Create a new node with the same markup as this node, containing
@@ -14307,7 +14307,7 @@ Actual: ` + p3.attribValue
14307
14307
  [`ReplaceError`](https://prosemirror.net/docs/ref/#model.ReplaceError) is thrown.
14308
14308
  */
14309
14309
  replace(e, t, n) {
14310
- return Rc$2(this.resolve(e), this.resolve(t), n);
14310
+ return Ic$2(this.resolve(e), this.resolve(t), n);
14311
14311
  }
14312
14312
  /**
14313
14313
  Find the node directly after the given position.
@@ -14422,7 +14422,7 @@ Actual: ` + p3.attribValue
14422
14422
  if (this.type.spec.toDebugString)
14423
14423
  return this.type.spec.toDebugString(this);
14424
14424
  let e = this.type.name;
14425
- return this.content.size && (e += "(" + this.content.toStringInner() + ")"), Ba$2(this.marks, e);
14425
+ return this.content.size && (e += "(" + this.content.toStringInner() + ")"), Fa$2(this.marks, e);
14426
14426
  }
14427
14427
  /**
14428
14428
  Get the content match in this node at the given index.
@@ -14526,7 +14526,7 @@ Actual: ` + p3.attribValue
14526
14526
  this.text = n;
14527
14527
  }
14528
14528
  toString() {
14529
- return this.type.spec.toDebugString ? this.type.spec.toDebugString(this) : Ba$2(this.marks, JSON.stringify(this.text));
14529
+ return this.type.spec.toDebugString ? this.type.spec.toDebugString(this) : Fa$2(this.marks, JSON.stringify(this.text));
14530
14530
  }
14531
14531
  get textContent() {
14532
14532
  return this.text;
@@ -14554,7 +14554,7 @@ Actual: ` + p3.attribValue
14554
14554
  return e.text = this.text, e;
14555
14555
  }
14556
14556
  };
14557
- function Ba$2(r22, e) {
14557
+ function Fa$2(r22, e) {
14558
14558
  for (let t = r22.length - 1; t >= 0; t--)
14559
14559
  e = r22[t].type.name + "(" + e + ")";
14560
14560
  return e;
@@ -14570,13 +14570,13 @@ Actual: ` + p3.attribValue
14570
14570
  @internal
14571
14571
  */
14572
14572
  static parse(e, t) {
14573
- let n = new Mc$2(e, t);
14573
+ let n = new qc$2(e, t);
14574
14574
  if (n.next == null)
14575
14575
  return yt2.empty;
14576
- let i3 = ka$2(n);
14576
+ let i3 = Ba$2(n);
14577
14577
  n.next && n.err("Unexpected trailing text");
14578
- let s = Wc$2(Gc$2(i3));
14579
- return Jc$2(s, n), s;
14578
+ let s = Gc$2(zc$2(i3));
14579
+ return Wc$2(s, n), s;
14580
14580
  }
14581
14581
  /**
14582
14582
  Match a node type, returning a match after that node if
@@ -14722,7 +14722,7 @@ Actual: ` + p3.attribValue
14722
14722
  }
14723
14723
  };
14724
14724
  yt$3.empty = new yt$3(true);
14725
- let Mc$2 = class Mc {
14725
+ let qc$2 = class qc {
14726
14726
  constructor(e, t) {
14727
14727
  this.string = e, this.nodeTypes = t, this.inline = null, this.pos = 0, this.tokens = e.split(/\s*(?=\b|\W|$)/), this.tokens[this.tokens.length - 1] == "" && this.tokens.pop(), this.tokens[0] == "" && this.tokens.shift();
14728
14728
  }
@@ -14736,22 +14736,22 @@ Actual: ` + p3.attribValue
14736
14736
  throw new SyntaxError(e + " (in content expression '" + this.string + "')");
14737
14737
  }
14738
14738
  };
14739
- function ka$2(r22) {
14739
+ function Ba$2(r22) {
14740
14740
  let e = [];
14741
14741
  do
14742
- e.push(Uc$2(r22));
14742
+ e.push(Mc$2(r22));
14743
14743
  while (r22.eat("|"));
14744
14744
  return e.length == 1 ? e[0] : { type: "choice", exprs: e };
14745
14745
  }
14746
- function Uc$2(r22) {
14746
+ function Mc$2(r22) {
14747
14747
  let e = [];
14748
14748
  do
14749
- e.push(jc$2(r22));
14749
+ e.push(Uc$2(r22));
14750
14750
  while (r22.next && r22.next != ")" && r22.next != "|");
14751
14751
  return e.length == 1 ? e[0] : { type: "seq", exprs: e };
14752
14752
  }
14753
- function jc$2(r22) {
14754
- let e = zc$2(r22);
14753
+ function Uc$2(r22) {
14754
+ let e = Vc$2(r22);
14755
14755
  for (; ; )
14756
14756
  if (r22.eat("+"))
14757
14757
  e = { type: "plus", expr: e };
@@ -14760,7 +14760,7 @@ Actual: ` + p3.attribValue
14760
14760
  else if (r22.eat("?"))
14761
14761
  e = { type: "opt", expr: e };
14762
14762
  else if (r22.eat("{"))
14763
- e = Hc$2(r22, e);
14763
+ e = jc$2(r22, e);
14764
14764
  else
14765
14765
  break;
14766
14766
  return e;
@@ -14770,11 +14770,11 @@ Actual: ` + p3.attribValue
14770
14770
  let e = Number(r22.next);
14771
14771
  return r22.pos++, e;
14772
14772
  }
14773
- function Hc$2(r22, e) {
14773
+ function jc$2(r22, e) {
14774
14774
  let t = oo$3(r22), n = t;
14775
14775
  return r22.eat(",") && (r22.next != "}" ? n = oo$3(r22) : n = -1), r22.eat("}") || r22.err("Unclosed braced range"), { type: "range", min: t, max: n, expr: e };
14776
14776
  }
14777
- function Vc$2(r22, e) {
14777
+ function Hc$2(r22, e) {
14778
14778
  let t = r22.nodeTypes, n = t[e];
14779
14779
  if (n)
14780
14780
  return [n];
@@ -14785,18 +14785,18 @@ Actual: ` + p3.attribValue
14785
14785
  }
14786
14786
  return i3.length == 0 && r22.err("No node type or group '" + e + "' found"), i3;
14787
14787
  }
14788
- function zc$2(r22) {
14788
+ function Vc$2(r22) {
14789
14789
  if (r22.eat("(")) {
14790
- let e = ka$2(r22);
14790
+ let e = Ba$2(r22);
14791
14791
  return r22.eat(")") || r22.err("Missing closing paren"), e;
14792
14792
  } else if (/\W/.test(r22.next))
14793
14793
  r22.err("Unexpected token '" + r22.next + "'");
14794
14794
  else {
14795
- let e = Vc$2(r22, r22.next).map((t) => (r22.inline == null ? r22.inline = t.isInline : r22.inline != t.isInline && r22.err("Mixing inline and block content"), { type: "name", value: t }));
14795
+ let e = Hc$2(r22, r22.next).map((t) => (r22.inline == null ? r22.inline = t.isInline : r22.inline != t.isInline && r22.err("Mixing inline and block content"), { type: "name", value: t }));
14796
14796
  return r22.pos++, e.length == 1 ? e[0] : { type: "choice", exprs: e };
14797
14797
  }
14798
14798
  }
14799
- function Gc$2(r22) {
14799
+ function zc$2(r22) {
14800
14800
  let e = [[]];
14801
14801
  return i3(s(r22, 0), t()), e;
14802
14802
  function t() {
@@ -14850,12 +14850,12 @@ Actual: ` + p3.attribValue
14850
14850
  }
14851
14851
  }
14852
14852
  }
14853
- function Na$2(r22, e) {
14853
+ function ka$2(r22, e) {
14854
14854
  return e - r22;
14855
14855
  }
14856
14856
  function ao$3(r22, e) {
14857
14857
  let t = [];
14858
- return n(e), t.sort(Na$2);
14858
+ return n(e), t.sort(ka$2);
14859
14859
  function n(i3) {
14860
14860
  let s = r22[i3];
14861
14861
  if (s.length == 1 && !s[0].term)
@@ -14867,7 +14867,7 @@ Actual: ` + p3.attribValue
14867
14867
  }
14868
14868
  }
14869
14869
  }
14870
- function Wc$2(r22) {
14870
+ function Gc$2(r22) {
14871
14871
  let e = /* @__PURE__ */ Object.create(null);
14872
14872
  return t(ao$3(r22, 0));
14873
14873
  function t(n) {
@@ -14886,13 +14886,13 @@ Actual: ` + p3.attribValue
14886
14886
  });
14887
14887
  let s = e[n.join(",")] = new yt$3(n.indexOf(r22.length - 1) > -1);
14888
14888
  for (let o = 0; o < i3.length; o++) {
14889
- let a = i3[o][1].sort(Na$2);
14889
+ let a = i3[o][1].sort(ka$2);
14890
14890
  s.next.push({ type: i3[o][0], next: e[a.join(",")] || t(a) });
14891
14891
  }
14892
14892
  return s;
14893
14893
  }
14894
14894
  }
14895
- function Jc$2(r22, e) {
14895
+ function Wc$2(r22, e) {
14896
14896
  for (let t = 0, n = [r22]; t < n.length; t++) {
14897
14897
  let i3 = n[t], s = !i3.validEnd, o = [];
14898
14898
  for (let a = 0; a < i3.next.length; a++) {
@@ -14902,7 +14902,7 @@ Actual: ` + p3.attribValue
14902
14902
  s && e.err("Only non-generatable nodes (" + o.join(", ") + ") in a required position (see https://prosemirror.net/docs/guide/#generatable)");
14903
14903
  }
14904
14904
  }
14905
- function Ia$2(r22) {
14905
+ function Na$2(r22) {
14906
14906
  let e = /* @__PURE__ */ Object.create(null);
14907
14907
  for (let t in r22) {
14908
14908
  let n = r22[t];
@@ -14912,7 +14912,7 @@ Actual: ` + p3.attribValue
14912
14912
  }
14913
14913
  return e;
14914
14914
  }
14915
- function Ra$2(r22, e) {
14915
+ function Ia$2(r22, e) {
14916
14916
  let t = /* @__PURE__ */ Object.create(null);
14917
14917
  for (let n in r22) {
14918
14918
  let i3 = e && e[n];
@@ -14927,7 +14927,7 @@ Actual: ` + p3.attribValue
14927
14927
  }
14928
14928
  return t;
14929
14929
  }
14930
- function Pa$2(r22, e, t, n) {
14930
+ function Ra$2(r22, e, t, n) {
14931
14931
  for (let i3 in e)
14932
14932
  if (!(i3 in r22))
14933
14933
  throw new RangeError(`Unsupported attribute ${i3} for ${t} of type ${i3}`);
@@ -14936,11 +14936,11 @@ Actual: ` + p3.attribValue
14936
14936
  s.validate && s.validate(e[i3]);
14937
14937
  }
14938
14938
  }
14939
- function Oa$2(r22, e) {
14939
+ function Pa$2(r22, e) {
14940
14940
  let t = /* @__PURE__ */ Object.create(null);
14941
14941
  if (e)
14942
14942
  for (let n in e)
14943
- t[n] = new Kc$2(r22, n, e[n]);
14943
+ t[n] = new $c$2(r22, n, e[n]);
14944
14944
  return t;
14945
14945
  }
14946
14946
  let wr$2 = class wr2 {
@@ -14948,7 +14948,7 @@ Actual: ` + p3.attribValue
14948
14948
  @internal
14949
14949
  */
14950
14950
  constructor(e, t, n) {
14951
- this.name = e, this.schema = t, this.spec = n, this.markSet = null, this.groups = n.group ? n.group.split(" ") : [], this.attrs = Oa$2(e, n.attrs), this.defaultAttrs = Ia$2(this.attrs), this.contentMatch = null, this.inlineContent = null, this.isBlock = !(n.inline || e == "text"), this.isText = e == "text";
14951
+ this.name = e, this.schema = t, this.spec = n, this.markSet = null, this.groups = n.group ? n.group.split(" ") : [], this.attrs = Pa$2(e, n.attrs), this.defaultAttrs = Na$2(this.attrs), this.contentMatch = null, this.inlineContent = null, this.isBlock = !(n.inline || e == "text"), this.isText = e == "text";
14952
14952
  }
14953
14953
  /**
14954
14954
  True if this is an inline type.
@@ -15009,7 +15009,7 @@ Actual: ` + p3.attribValue
15009
15009
  @internal
15010
15010
  */
15011
15011
  computeAttrs(e) {
15012
- return !e && this.defaultAttrs ? this.defaultAttrs : Ra$2(this.attrs, e);
15012
+ return !e && this.defaultAttrs ? this.defaultAttrs : Ia$2(this.attrs, e);
15013
15013
  }
15014
15014
  /**
15015
15015
  Create a `Node` of this type. The given attributes are
@@ -15076,7 +15076,7 @@ Actual: ` + p3.attribValue
15076
15076
  @internal
15077
15077
  */
15078
15078
  checkAttrs(e) {
15079
- Pa$2(this.attrs, e, "node", this.name);
15079
+ Ra$2(this.attrs, e, "node", this.name);
15080
15080
  }
15081
15081
  /**
15082
15082
  Check whether the given mark type is allowed in this node.
@@ -15122,7 +15122,7 @@ Actual: ` + p3.attribValue
15122
15122
  return n;
15123
15123
  }
15124
15124
  };
15125
- function $c$2(r22, e, t) {
15125
+ function Jc$2(r22, e, t) {
15126
15126
  let n = t.split("|");
15127
15127
  return (i3) => {
15128
15128
  let s = i3 === null ? "null" : typeof i3;
@@ -15130,9 +15130,9 @@ Actual: ` + p3.attribValue
15130
15130
  throw new RangeError(`Expected value of type ${n} for attribute ${e} on type ${r22}, got ${s}`);
15131
15131
  };
15132
15132
  }
15133
- let Kc$2 = class Kc {
15133
+ let $c$2 = class $c {
15134
15134
  constructor(e, t, n) {
15135
- this.hasDefault = Object.prototype.hasOwnProperty.call(n, "default"), this.default = n.default, this.validate = typeof n.validate == "string" ? $c$2(e, t, n.validate) : n.validate;
15135
+ this.hasDefault = Object.prototype.hasOwnProperty.call(n, "default"), this.default = n.default, this.validate = typeof n.validate == "string" ? Jc$2(e, t, n.validate) : n.validate;
15136
15136
  }
15137
15137
  get isRequired() {
15138
15138
  return !this.hasDefault;
@@ -15143,8 +15143,8 @@ Actual: ` + p3.attribValue
15143
15143
  @internal
15144
15144
  */
15145
15145
  constructor(e, t, n, i3) {
15146
- this.name = e, this.rank = t, this.schema = n, this.spec = i3, this.attrs = Oa$2(e, i3.attrs), this.excluded = null;
15147
- let s = Ia$2(this.attrs);
15146
+ this.name = e, this.rank = t, this.schema = n, this.spec = i3, this.attrs = Pa$2(e, i3.attrs), this.excluded = null;
15147
+ let s = Na$2(this.attrs);
15148
15148
  this.instance = s ? new we$1(this, s) : null;
15149
15149
  }
15150
15150
  /**
@@ -15153,7 +15153,7 @@ Actual: ` + p3.attribValue
15153
15153
  they have defaults, will be added.
15154
15154
  */
15155
15155
  create(e = null) {
15156
- return !e && this.instance ? this.instance : new we$1(this, Ra$2(this.attrs, e));
15156
+ return !e && this.instance ? this.instance : new we$1(this, Ia$2(this.attrs, e));
15157
15157
  }
15158
15158
  /**
15159
15159
  @internal
@@ -15183,7 +15183,7 @@ Actual: ` + p3.attribValue
15183
15183
  @internal
15184
15184
  */
15185
15185
  checkAttrs(e) {
15186
- Pa$2(this.attrs, e, "mark", this.name);
15186
+ Ra$2(this.attrs, e, "mark", this.name);
15187
15187
  }
15188
15188
  /**
15189
15189
  Queries whether a given mark type is
@@ -15292,10 +15292,10 @@ Actual: ` + p3.attribValue
15292
15292
  }
15293
15293
  return t;
15294
15294
  }
15295
- function Xc$2(r22) {
15295
+ function Kc$2(r22) {
15296
15296
  return r22.tag != null;
15297
15297
  }
15298
- function Yc$2(r22) {
15298
+ function Xc$2(r22) {
15299
15299
  return r22.style != null;
15300
15300
  }
15301
15301
  let yr$2 = class yr2 {
@@ -15307,9 +15307,9 @@ Actual: ` + p3.attribValue
15307
15307
  this.schema = e, this.rules = t, this.tags = [], this.styles = [];
15308
15308
  let n = this.matchedStyles = [];
15309
15309
  t.forEach((i3) => {
15310
- if (Xc$2(i3))
15310
+ if (Kc$2(i3))
15311
15311
  this.tags.push(i3);
15312
- else if (Yc$2(i3)) {
15312
+ else if (Xc$2(i3)) {
15313
15313
  let s = /[^=]*/.exec(i3.style)[0];
15314
15314
  n.indexOf(s) < 0 && n.push(s), this.styles.push(i3);
15315
15315
  }
@@ -15345,7 +15345,7 @@ Actual: ` + p3.attribValue
15345
15345
  matchTag(e, t, n) {
15346
15346
  for (let i3 = n ? this.tags.indexOf(n) + 1 : 0; i3 < this.tags.length; i3++) {
15347
15347
  let s = this.tags[i3];
15348
- if (ef$2(e, s.tag) && (s.namespace === void 0 || e.namespaceURI == s.namespace) && (!s.context || t.matchesContext(s.context))) {
15348
+ if (Qc$2(e, s.tag) && (s.namespace === void 0 || e.namespaceURI == s.namespace) && (!s.context || t.matchesContext(s.context))) {
15349
15349
  if (s.getAttrs) {
15350
15350
  let o = s.getAttrs(e);
15351
15351
  if (o === false)
@@ -15413,7 +15413,7 @@ Actual: ` + p3.attribValue
15413
15413
  return e.cached.domParser || (e.cached.domParser = new yr2(e, yr2.schemaRules(e)));
15414
15414
  }
15415
15415
  };
15416
- const La$2 = {
15416
+ const Oa$2 = {
15417
15417
  address: true,
15418
15418
  article: true,
15419
15419
  aside: true,
@@ -15446,14 +15446,14 @@ Actual: ` + p3.attribValue
15446
15446
  table: true,
15447
15447
  tfoot: true,
15448
15448
  ul: true
15449
- }, Zc$2 = {
15449
+ }, Yc$2 = {
15450
15450
  head: true,
15451
15451
  noscript: true,
15452
15452
  object: true,
15453
15453
  script: true,
15454
15454
  style: true,
15455
15455
  title: true
15456
- }, _a$2 = { ol: true, ul: true }, Gt$3 = 1, fi$2 = 2, ur$2 = 4;
15456
+ }, La$2 = { ol: true, ul: true }, Gt$3 = 1, fi$2 = 2, ur$2 = 4;
15457
15457
  function lo$3(r22, e, t) {
15458
15458
  return e != null ? (e ? Gt$3 : 0) | (e === "full" ? fi$2 : 0) : r22 && r22.whitespace == "pre" ? Gt$3 | fi$2 : t & -5;
15459
15459
  }
@@ -15487,7 +15487,7 @@ Actual: ` + p3.attribValue
15487
15487
  return !e && this.match && (t = t.append(this.match.fillBefore(Q$2.empty, true))), this.type ? this.type.create(this.attrs, t, this.marks) : t;
15488
15488
  }
15489
15489
  inlineContext(e) {
15490
- return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : e.parentNode && !La$2.hasOwnProperty(e.parentNode.nodeName.toLowerCase());
15490
+ return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : e.parentNode && !Oa$2.hasOwnProperty(e.parentNode.nodeName.toLowerCase());
15491
15491
  }
15492
15492
  };
15493
15493
  let co$3 = class co {
@@ -15525,14 +15525,14 @@ Actual: ` + p3.attribValue
15525
15525
  let i3 = this.localPreserveWS, s = this.top;
15526
15526
  (e.tagName == "PRE" || /pre/.test(e.style && e.style.whiteSpace)) && (this.localPreserveWS = true);
15527
15527
  let o = e.nodeName.toLowerCase(), a;
15528
- _a$2.hasOwnProperty(o) && this.parser.normalizeLists && Qc$2(e);
15528
+ La$2.hasOwnProperty(o) && this.parser.normalizeLists && Zc$2(e);
15529
15529
  let u = this.options.ruleFromNode && this.options.ruleFromNode(e) || (a = this.parser.matchTag(e, this, n));
15530
- e: if (u ? u.ignore : Zc$2.hasOwnProperty(o))
15530
+ e: if (u ? u.ignore : Yc$2.hasOwnProperty(o))
15531
15531
  this.findInside(e), this.ignoreFallback(e, t);
15532
15532
  else if (!u || u.skip || u.closeParent) {
15533
15533
  u && u.closeParent ? this.open = Math.max(0, this.open - 1) : u && u.skip.nodeType && (e = u.skip);
15534
15534
  let c3, l = this.needsBlock;
15535
- if (La$2.hasOwnProperty(o))
15535
+ if (Oa$2.hasOwnProperty(o))
15536
15536
  s.content.length && s.content[0].isInline && this.open && (this.open--, s = this.top), c3 = true, s.type || (this.needsBlock = true);
15537
15537
  else if (!e.firstChild) {
15538
15538
  this.leafFallback(e, t);
@@ -15759,13 +15759,13 @@ Actual: ` + p3.attribValue
15759
15759
  }
15760
15760
  }
15761
15761
  };
15762
- function Qc$2(r22) {
15762
+ function Zc$2(r22) {
15763
15763
  for (let e = r22.firstChild, t = null; e; e = e.nextSibling) {
15764
15764
  let n = e.nodeType == 1 ? e.nodeName.toLowerCase() : null;
15765
- n && _a$2.hasOwnProperty(n) && t ? (t.appendChild(e), e = t) : n == "li" ? t = e : n && (t = null);
15765
+ n && La$2.hasOwnProperty(n) && t ? (t.appendChild(e), e = t) : n == "li" ? t = e : n && (t = null);
15766
15766
  }
15767
15767
  }
15768
- function ef$2(r22, e) {
15768
+ function Qc$2(r22, e) {
15769
15769
  return (r22.matches || r22.msMatchesSelector || r22.webkitMatchesSelector || r22.mozMatchesSelector).call(r22, e);
15770
15770
  }
15771
15771
  function fo$3(r22) {
@@ -15792,7 +15792,7 @@ Actual: ` + p3.attribValue
15792
15792
  return true;
15793
15793
  }
15794
15794
  }
15795
- let qa$2 = class qa2 {
15795
+ let _a$2 = class _a2 {
15796
15796
  /**
15797
15797
  Create a serializer. `nodes` should map node names to functions
15798
15798
  that take a node and return a description of the corresponding
@@ -15879,7 +15879,7 @@ Actual: ` + p3.attribValue
15879
15879
  properties in a schema's node and mark specs.
15880
15880
  */
15881
15881
  static fromSchema(e) {
15882
- return e.cached.domSerializer || (e.cached.domSerializer = new qa2(this.nodesFromSchema(e), this.marksFromSchema(e)));
15882
+ return e.cached.domSerializer || (e.cached.domSerializer = new _a2(this.nodesFromSchema(e), this.marksFromSchema(e)));
15883
15883
  }
15884
15884
  /**
15885
15885
  Gather the serializers in a schema's node specs into an object.
@@ -15908,11 +15908,11 @@ Actual: ` + p3.attribValue
15908
15908
  return r22.document || window.document;
15909
15909
  }
15910
15910
  const ho$3 = /* @__PURE__ */ new WeakMap();
15911
- function tf$2(r22) {
15911
+ function ef$2(r22) {
15912
15912
  let e = ho$3.get(r22);
15913
- return e === void 0 && ho$3.set(r22, e = rf$2(r22)), e;
15913
+ return e === void 0 && ho$3.set(r22, e = tf$2(r22)), e;
15914
15914
  }
15915
- function rf$2(r22) {
15915
+ function tf$2(r22) {
15916
15916
  let e = null;
15917
15917
  function t(n) {
15918
15918
  if (n && typeof n == "object")
@@ -15938,7 +15938,7 @@ Actual: ` + p3.attribValue
15938
15938
  let i3 = e[0], s;
15939
15939
  if (typeof i3 != "string")
15940
15940
  throw new RangeError("Invalid array passed to renderSpec");
15941
- if (n && (s = tf$2(n)) && s.indexOf(e) > -1)
15941
+ if (n && (s = ef$2(n)) && s.indexOf(e) > -1)
15942
15942
  throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");
15943
15943
  let o = i3.indexOf(" ");
15944
15944
  o > 0 && (t = i3.slice(0, o), i3 = i3.slice(o + 1));
@@ -15968,17 +15968,17 @@ Actual: ` + p3.attribValue
15968
15968
  }
15969
15969
  return { dom: u, contentDOM: a };
15970
15970
  }
15971
- const Ma$2 = 65535, Ua$2 = Math.pow(2, 16);
15972
- function nf$2(r22, e) {
15973
- return r22 + e * Ua$2;
15971
+ const qa$2 = 65535, Ma$2 = Math.pow(2, 16);
15972
+ function rf$2(r22, e) {
15973
+ return r22 + e * Ma$2;
15974
15974
  }
15975
15975
  function go$3(r22) {
15976
- return r22 & Ma$2;
15976
+ return r22 & qa$2;
15977
15977
  }
15978
- function sf$2(r22) {
15979
- return (r22 - (r22 & Ma$2)) / Ua$2;
15978
+ function nf$2(r22) {
15979
+ return (r22 - (r22 & qa$2)) / Ma$2;
15980
15980
  }
15981
- const ja$2 = 1, Ha$2 = 2, cr$2 = 4, Va$2 = 8;
15981
+ const Ua$2 = 1, ja$2 = 2, cr$2 = 4, Ha$2 = 8;
15982
15982
  let di$1 = class di {
15983
15983
  /**
15984
15984
  @internal
@@ -15992,19 +15992,19 @@ Actual: ` + p3.attribValue
15992
15992
  argument from the document.
15993
15993
  */
15994
15994
  get deleted() {
15995
- return (this.delInfo & Va$2) > 0;
15995
+ return (this.delInfo & Ha$2) > 0;
15996
15996
  }
15997
15997
  /**
15998
15998
  Tells you whether the token before the mapped position was deleted.
15999
15999
  */
16000
16000
  get deletedBefore() {
16001
- return (this.delInfo & (ja$2 | cr$2)) > 0;
16001
+ return (this.delInfo & (Ua$2 | cr$2)) > 0;
16002
16002
  }
16003
16003
  /**
16004
16004
  True when the token after the mapped position was deleted.
16005
16005
  */
16006
16006
  get deletedAfter() {
16007
- return (this.delInfo & (Ha$2 | cr$2)) > 0;
16007
+ return (this.delInfo & (ja$2 | cr$2)) > 0;
16008
16008
  }
16009
16009
  /**
16010
16010
  Tells whether any of the steps mapped through deletes across the
@@ -16033,7 +16033,7 @@ Actual: ` + p3.attribValue
16033
16033
  if (!this.inverted)
16034
16034
  for (let i3 = 0; i3 < n; i3++)
16035
16035
  t += this.ranges[i3 * 3 + 2] - this.ranges[i3 * 3 + 1];
16036
- return this.ranges[n * 3] + t + sf$2(e);
16036
+ return this.ranges[n * 3] + t + nf$2(e);
16037
16037
  }
16038
16038
  mapResult(e, t = 1) {
16039
16039
  return this._map(e, t, false);
@@ -16055,8 +16055,8 @@ Actual: ` + p3.attribValue
16055
16055
  let g = c3 ? e == u ? -1 : e == h3 ? 1 : t : t, E3 = u + i3 + (g < 0 ? 0 : l);
16056
16056
  if (n)
16057
16057
  return E3;
16058
- let D3 = e == (t < 0 ? u : h3) ? null : nf$2(a / 3, e - u), v = e == u ? Ha$2 : e == h3 ? ja$2 : cr$2;
16059
- return (t < 0 ? e != u : e != h3) && (v |= Va$2), new di$1(E3, v, D3);
16058
+ let D3 = e == (t < 0 ? u : h3) ? null : rf$2(a / 3, e - u), v = e == u ? ja$2 : e == h3 ? Ua$2 : cr$2;
16059
+ return (t < 0 ? e != u : e != h3) && (v |= Ha$2), new di$1(E3, v, D3);
16060
16060
  }
16061
16061
  i3 += l - c3;
16062
16062
  }
@@ -16584,7 +16584,7 @@ Actual: ` + p3.attribValue
16584
16584
  }
16585
16585
  return false;
16586
16586
  }
16587
- function of$2(r22, e, t, n) {
16587
+ function sf$2(r22, e, t, n) {
16588
16588
  let i3 = [], s = [], o, a;
16589
16589
  r22.doc.nodesBetween(e, t, (u, c3, l) => {
16590
16590
  if (!u.isInline)
@@ -16598,7 +16598,7 @@ Actual: ` + p3.attribValue
16598
16598
  }
16599
16599
  }), i3.forEach((u) => r22.step(u)), s.forEach((u) => r22.step(u));
16600
16600
  }
16601
- function af$2(r22, e, t, n) {
16601
+ function of$2(r22, e, t, n) {
16602
16602
  let i3 = [], s = 0;
16603
16603
  r22.doc.nodesBetween(e, t, (o, a) => {
16604
16604
  if (!o.isInline)
@@ -16648,7 +16648,7 @@ Actual: ` + p3.attribValue
16648
16648
  for (let u = o.length - 1; u >= 0; u--)
16649
16649
  r22.step(o[u]);
16650
16650
  }
16651
- function uf$2(r22, e, t) {
16651
+ function af$2(r22, e, t) {
16652
16652
  return (e == 0 || r22.canReplace(e, r22.childCount)) && (t == r22.childCount || r22.canReplace(0, t));
16653
16653
  }
16654
16654
  function Np$1(r22) {
@@ -16657,12 +16657,12 @@ Actual: ` + p3.attribValue
16657
16657
  let i3 = r22.$from.node(n), s = r22.$from.index(n), o = r22.$to.indexAfter(n);
16658
16658
  if (n < r22.depth && i3.canReplace(s, o, t))
16659
16659
  return n;
16660
- if (n == 0 || i3.type.spec.isolating || !uf$2(i3, s, o))
16660
+ if (n == 0 || i3.type.spec.isolating || !af$2(i3, s, o))
16661
16661
  break;
16662
16662
  }
16663
16663
  return null;
16664
16664
  }
16665
- function lf$2(r22, e, t) {
16665
+ function uf$2(r22, e, t) {
16666
16666
  let { $from: n, $to: i3, depth: s } = e, o = n.before(s + 1), a = i3.after(s + 1), u = o, c3 = a, l = Q$2.empty, h3 = 0;
16667
16667
  for (let D3 = s, v = false; D3 > t; D3--)
16668
16668
  v || n.index(D3) > 0 ? (v = true, l = Q$2.from(n.node(D3).copy(l)), h3++) : u--;
@@ -16672,20 +16672,20 @@ Actual: ` + p3.attribValue
16672
16672
  r22.step(new $e$2(u, c3, o, a, new ae$4(l.append(g), h3, E3), l.size - h3, true));
16673
16673
  }
16674
16674
  function Ip$1(r22, e, t = null, n = r22) {
16675
- let i3 = cf$2(r22, e), s = i3 && ff$2(n, e);
16675
+ let i3 = lf$2(r22, e), s = i3 && cf$2(n, e);
16676
16676
  return s ? i3.map(wo$3).concat({ type: e, attrs: t }).concat(s.map(wo$3)) : null;
16677
16677
  }
16678
16678
  function wo$3(r22) {
16679
16679
  return { type: r22, attrs: null };
16680
16680
  }
16681
- function cf$2(r22, e) {
16681
+ function lf$2(r22, e) {
16682
16682
  let { parent: t, startIndex: n, endIndex: i3 } = r22, s = t.contentMatchAt(n).findWrapping(e);
16683
16683
  if (!s)
16684
16684
  return null;
16685
16685
  let o = s.length ? s[0] : e;
16686
16686
  return t.canReplaceWith(n, i3, o) ? s : null;
16687
16687
  }
16688
- function ff$2(r22, e) {
16688
+ function cf$2(r22, e) {
16689
16689
  let { parent: t, startIndex: n, endIndex: i3 } = r22, s = t.child(n), o = e.contentMatch.findWrapping(s.type);
16690
16690
  if (!o)
16691
16691
  return null;
@@ -16694,7 +16694,7 @@ Actual: ` + p3.attribValue
16694
16694
  u = u.matchType(t.child(c3).type);
16695
16695
  return !u || !u.validEnd ? null : o;
16696
16696
  }
16697
- function df$2(r22, e, t) {
16697
+ function ff$2(r22, e, t) {
16698
16698
  let n = Q$2.empty;
16699
16699
  for (let o = t.length - 1; o >= 0; o--) {
16700
16700
  if (n.size) {
@@ -16707,25 +16707,25 @@ Actual: ` + p3.attribValue
16707
16707
  let i3 = e.start, s = e.end;
16708
16708
  r22.step(new $e$2(i3, s, i3, s, new ae$4(n, 0, 0), t.length, true));
16709
16709
  }
16710
- function mf$2(r22, e, t, n, i3) {
16710
+ function df$2(r22, e, t, n, i3) {
16711
16711
  if (!n.isTextblock)
16712
16712
  throw new RangeError("Type given to setBlockType should be a textblock");
16713
16713
  let s = r22.steps.length;
16714
16714
  r22.doc.nodesBetween(e, t, (o, a) => {
16715
16715
  let u = typeof i3 == "function" ? i3(o) : i3;
16716
- if (o.isTextblock && !o.hasMarkup(n, u) && pf$2(r22.doc, r22.mapping.slice(s).map(a), n)) {
16716
+ if (o.isTextblock && !o.hasMarkup(n, u) && mf$2(r22.doc, r22.mapping.slice(s).map(a), n)) {
16717
16717
  let c3 = null;
16718
16718
  if (n.schema.linebreakReplacement) {
16719
16719
  let E3 = n.whitespace == "pre", D3 = !!n.contentMatch.matchType(n.schema.linebreakReplacement);
16720
16720
  E3 && !D3 ? c3 = false : !E3 && D3 && (c3 = true);
16721
16721
  }
16722
- c3 === false && Ga$2(r22, o, a, s), ki$2(r22, r22.mapping.slice(s).map(a, 1), n, void 0, c3 === null);
16722
+ c3 === false && za$2(r22, o, a, s), ki$2(r22, r22.mapping.slice(s).map(a, 1), n, void 0, c3 === null);
16723
16723
  let l = r22.mapping.slice(s), h3 = l.map(a, 1), g = l.map(a + o.nodeSize, 1);
16724
- return r22.step(new $e$2(h3, g, h3 + 1, g - 1, new ae$4(Q$2.from(n.create(u, null, o.marks)), 0, 0), 1, true)), c3 === true && za$2(r22, o, a, s), false;
16724
+ return r22.step(new $e$2(h3, g, h3 + 1, g - 1, new ae$4(Q$2.from(n.create(u, null, o.marks)), 0, 0), 1, true)), c3 === true && Va$2(r22, o, a, s), false;
16725
16725
  }
16726
16726
  });
16727
16727
  }
16728
- function za$2(r22, e, t, n) {
16728
+ function Va$2(r22, e, t, n) {
16729
16729
  e.forEach((i3, s) => {
16730
16730
  if (i3.isText) {
16731
16731
  let o, a = /\r?\n|\r/g;
@@ -16736,7 +16736,7 @@ Actual: ` + p3.attribValue
16736
16736
  }
16737
16737
  });
16738
16738
  }
16739
- function Ga$2(r22, e, t, n) {
16739
+ function za$2(r22, e, t, n) {
16740
16740
  e.forEach((i3, s) => {
16741
16741
  if (i3.type == i3.type.schema.linebreakReplacement) {
16742
16742
  let o = r22.mapping.slice(n).map(t + 1 + s);
@@ -16745,11 +16745,11 @@ Actual: ` + p3.attribValue
16745
16745
  }
16746
16746
  });
16747
16747
  }
16748
- function pf$2(r22, e, t) {
16748
+ function mf$2(r22, e, t) {
16749
16749
  let n = r22.resolve(e), i3 = n.index();
16750
16750
  return n.parent.canReplaceWith(i3, i3 + 1, t);
16751
16751
  }
16752
- function hf$2(r22, e, t, n, i3) {
16752
+ function pf$2(r22, e, t, n, i3) {
16753
16753
  let s = r22.doc.nodeAt(e);
16754
16754
  if (!s)
16755
16755
  throw new RangeError("No node at given position");
@@ -16778,7 +16778,7 @@ Actual: ` + p3.attribValue
16778
16778
  let a = i3.indexAfter(s), u = n && n[0];
16779
16779
  return i3.node(s).canReplaceWith(a, a, u ? u.type : i3.node(s + 1).type);
16780
16780
  }
16781
- function gf$2(r22, e, t = 1, n) {
16781
+ function hf$2(r22, e, t = 1, n) {
16782
16782
  let i3 = r22.doc.resolve(e), s = Q$2.empty, o = Q$2.empty;
16783
16783
  for (let a = i3.depth, u = i3.depth - t, c3 = t - 1; a > u; a--, c3--) {
16784
16784
  s = Q$2.from(i3.node(a).copy(s));
@@ -16789,9 +16789,9 @@ Actual: ` + p3.attribValue
16789
16789
  }
16790
16790
  function Pp$1(r22, e) {
16791
16791
  let t = r22.resolve(e), n = t.index();
16792
- return Wa$2(t.nodeBefore, t.nodeAfter) && t.parent.canReplace(n, n + 1);
16792
+ return Ga$2(t.nodeBefore, t.nodeAfter) && t.parent.canReplace(n, n + 1);
16793
16793
  }
16794
- function wf$2(r22, e) {
16794
+ function gf$2(r22, e) {
16795
16795
  e.content.size || r22.type.compatibleContent(e.type);
16796
16796
  let t = r22.contentMatchAt(r22.childCount), { linebreakReplacement: n } = r22.type.schema;
16797
16797
  for (let i3 = 0; i3 < e.childCount; i3++) {
@@ -16801,21 +16801,21 @@ Actual: ` + p3.attribValue
16801
16801
  }
16802
16802
  return t.validEnd;
16803
16803
  }
16804
- function Wa$2(r22, e) {
16805
- return !!(r22 && e && !r22.isLeaf && wf$2(r22, e));
16804
+ function Ga$2(r22, e) {
16805
+ return !!(r22 && e && !r22.isLeaf && gf$2(r22, e));
16806
16806
  }
16807
16807
  function Op$1(r22, e, t = -1) {
16808
16808
  let n = r22.resolve(e);
16809
16809
  for (let i3 = n.depth; ; i3--) {
16810
16810
  let s, o, a = n.index(i3);
16811
- if (i3 == n.depth ? (s = n.nodeBefore, o = n.nodeAfter) : t > 0 ? (s = n.node(i3 + 1), a++, o = n.node(i3).maybeChild(a)) : (s = n.node(i3).maybeChild(a - 1), o = n.node(i3 + 1)), s && !s.isTextblock && Wa$2(s, o) && n.node(i3).canReplace(a, a + 1))
16811
+ if (i3 == n.depth ? (s = n.nodeBefore, o = n.nodeAfter) : t > 0 ? (s = n.node(i3 + 1), a++, o = n.node(i3).maybeChild(a)) : (s = n.node(i3).maybeChild(a - 1), o = n.node(i3 + 1)), s && !s.isTextblock && Ga$2(s, o) && n.node(i3).canReplace(a, a + 1))
16812
16812
  return e;
16813
16813
  if (i3 == 0)
16814
16814
  break;
16815
16815
  e = t < 0 ? n.before(i3) : n.after(i3);
16816
16816
  }
16817
16817
  }
16818
- function yf$2(r22, e, t) {
16818
+ function wf$2(r22, e, t) {
16819
16819
  let n = null, { linebreakReplacement: i3 } = r22.doc.type.schema, s = r22.doc.resolve(e - t), o = s.node().type;
16820
16820
  if (i3 && o.inlineContent) {
16821
16821
  let l = o.whitespace == "pre", h3 = !!o.contentMatch.matchType(i3);
@@ -16824,17 +16824,17 @@ Actual: ` + p3.attribValue
16824
16824
  let a = r22.steps.length;
16825
16825
  if (n === false) {
16826
16826
  let l = r22.doc.resolve(e + t);
16827
- Ga$2(r22, l.node(), l.before(), a);
16827
+ za$2(r22, l.node(), l.before(), a);
16828
16828
  }
16829
16829
  o.inlineContent && ki$2(r22, e + t - 1, o, s.node().contentMatchAt(s.index()), n == null);
16830
16830
  let u = r22.mapping.slice(a), c3 = u.map(e - t);
16831
16831
  if (r22.step(new Ie$2(c3, u.map(e + t, -1), ae$4.empty, true)), n === true) {
16832
16832
  let l = r22.doc.resolve(c3);
16833
- za$2(r22, l.node(), l.before(), r22.steps.length);
16833
+ Va$2(r22, l.node(), l.before(), r22.steps.length);
16834
16834
  }
16835
16835
  return r22;
16836
16836
  }
16837
- function bf$2(r22, e, t) {
16837
+ function yf$2(r22, e, t) {
16838
16838
  let n = r22.resolve(e);
16839
16839
  if (n.parent.canReplaceWith(n.index(), n.index(), t))
16840
16840
  return e;
@@ -16877,16 +16877,16 @@ Actual: ` + p3.attribValue
16877
16877
  }
16878
16878
  return null;
16879
16879
  }
16880
- function xf$2(r22, e, t = e, n = ae$4.empty) {
16880
+ function bf$2(r22, e, t = e, n = ae$4.empty) {
16881
16881
  if (e == t && !n.size)
16882
16882
  return null;
16883
16883
  let i3 = r22.resolve(e), s = r22.resolve(t);
16884
- return Ja$2(i3, s, n) ? new Ie$2(e, t, n) : new Af$2(i3, s, n).fit();
16884
+ return Wa$2(i3, s, n) ? new Ie$2(e, t, n) : new xf$2(i3, s, n).fit();
16885
16885
  }
16886
- function Ja$2(r22, e, t) {
16886
+ function Wa$2(r22, e, t) {
16887
16887
  return !t.openStart && !t.openEnd && r22.start() == e.start() && r22.parent.canReplace(r22.index(), e.index(), t.content);
16888
16888
  }
16889
- let Af$2 = class Af {
16889
+ let xf$2 = class xf {
16890
16890
  constructor(e, t, n) {
16891
16891
  this.$from = e, this.$to = t, this.unplaced = n, this.frontier = [], this.placed = Q$2.empty;
16892
16892
  for (let i3 = 0; i3 <= e.depth; i3++) {
@@ -16977,7 +16977,7 @@ Actual: ` + p3.attribValue
16977
16977
  let v = a.child(c3), F3 = h3.matchType(v.type);
16978
16978
  if (!F3)
16979
16979
  break;
16980
- c3++, (c3 > 1 || u == 0 || v.content.size) && (h3 = F3, l.push($a$2(v.mark(g.allowedMarks(v.marks)), c3 == 1 ? u : 0, c3 == a.childCount ? E3 : -1)));
16980
+ c3++, (c3 > 1 || u == 0 || v.content.size) && (h3 = F3, l.push(Ja$2(v.mark(g.allowedMarks(v.marks)), c3 == 1 ? u : 0, c3 == a.childCount ? E3 : -1)));
16981
16981
  }
16982
16982
  let D3 = c3 == a.childCount;
16983
16983
  D3 || (E3 = -1), this.placed = jt$1(this.placed, t, Q$2.from(l)), this.frontier[t].match = h3, D3 && E3 < 0 && n && n.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
@@ -17044,35 +17044,35 @@ Actual: ` + p3.attribValue
17044
17044
  r22 = r22.firstChild.content;
17045
17045
  return r22;
17046
17046
  }
17047
- function $a$2(r22, e, t) {
17047
+ function Ja$2(r22, e, t) {
17048
17048
  if (e <= 0)
17049
17049
  return r22;
17050
17050
  let n = r22.content;
17051
- return e > 1 && (n = n.replaceChild(0, $a$2(n.firstChild, e - 1, n.childCount == 1 ? t - 1 : 0))), e > 0 && (n = r22.type.contentMatch.fillBefore(n).append(n), t <= 0 && (n = n.append(r22.type.contentMatch.matchFragment(n).fillBefore(Q$2.empty, true)))), r22.copy(n);
17051
+ return e > 1 && (n = n.replaceChild(0, Ja$2(n.firstChild, e - 1, n.childCount == 1 ? t - 1 : 0))), e > 0 && (n = r22.type.contentMatch.fillBefore(n).append(n), t <= 0 && (n = n.append(r22.type.contentMatch.matchFragment(n).fillBefore(Q$2.empty, true)))), r22.copy(n);
17052
17052
  }
17053
17053
  function ni$2(r22, e, t, n, i3) {
17054
17054
  let s = r22.node(e), o = i3 ? r22.indexAfter(e) : r22.index(e);
17055
17055
  if (o == s.childCount && !t.compatibleContent(s.type))
17056
17056
  return null;
17057
17057
  let a = n.fillBefore(s.content, true, o);
17058
- return a && !Df$1(t, s.content, o) ? a : null;
17058
+ return a && !Af$2(t, s.content, o) ? a : null;
17059
17059
  }
17060
- function Df$1(r22, e, t) {
17060
+ function Af$2(r22, e, t) {
17061
17061
  for (let n = t; n < e.childCount; n++)
17062
17062
  if (!r22.allowsMarks(e.child(n).marks))
17063
17063
  return true;
17064
17064
  return false;
17065
17065
  }
17066
- function vf$2(r22) {
17066
+ function Df$1(r22) {
17067
17067
  return r22.spec.defining || r22.spec.definingForContent;
17068
17068
  }
17069
- function Ef$1(r22, e, t, n) {
17069
+ function vf$2(r22, e, t, n) {
17070
17070
  if (!n.size)
17071
17071
  return r22.deleteRange(e, t);
17072
17072
  let i3 = r22.doc.resolve(e), s = r22.doc.resolve(t);
17073
- if (Ja$2(i3, s, n))
17073
+ if (Wa$2(i3, s, n))
17074
17074
  return r22.step(new Ie$2(e, t, n));
17075
- let o = Xa$2(i3, r22.doc.resolve(t));
17075
+ let o = Ka$2(i3, r22.doc.resolve(t));
17076
17076
  o[o.length - 1] == 0 && o.pop();
17077
17077
  let a = -(i3.depth + 1);
17078
17078
  o.unshift(a);
@@ -17090,7 +17090,7 @@ Actual: ` + p3.attribValue
17090
17090
  g = D3.content;
17091
17091
  }
17092
17092
  for (let g = l - 1; g >= 0; g--) {
17093
- let E3 = c3[g], D3 = vf$2(E3.type);
17093
+ let E3 = c3[g], D3 = Df$1(E3.type);
17094
17094
  if (D3 && !E3.sameMarkup(i3.node(Math.abs(a) - 1)))
17095
17095
  l = g;
17096
17096
  else if (D3 || !E3.type.isTextblock)
@@ -17104,7 +17104,7 @@ Actual: ` + p3.attribValue
17104
17104
  F3 < 0 && (w = false, F3 = -F3);
17105
17105
  let B3 = i3.node(F3 - 1), R = i3.index(F3 - 1);
17106
17106
  if (B3.canReplaceWith(R, R, D3.type, D3.marks))
17107
- return r22.replace(i3.before(F3), w ? s.after(F3) : t, new ae$4(Ka$2(n.content, 0, n.openStart, E3), E3, n.openEnd));
17107
+ return r22.replace(i3.before(F3), w ? s.after(F3) : t, new ae$4($a$2(n.content, 0, n.openStart, E3), E3, n.openEnd));
17108
17108
  }
17109
17109
  }
17110
17110
  let h3 = r22.steps.length;
@@ -17113,10 +17113,10 @@ Actual: ` + p3.attribValue
17113
17113
  E3 < 0 || (e = i3.before(E3), t = s.after(E3));
17114
17114
  }
17115
17115
  }
17116
- function Ka$2(r22, e, t, n, i3) {
17116
+ function $a$2(r22, e, t, n, i3) {
17117
17117
  if (e < t) {
17118
17118
  let s = r22.firstChild;
17119
- r22 = r22.replaceChild(0, s.copy(Ka$2(s.content, e + 1, t, n, s)));
17119
+ r22 = r22.replaceChild(0, s.copy($a$2(s.content, e + 1, t, n, s)));
17120
17120
  }
17121
17121
  if (e > n) {
17122
17122
  let s = i3.contentMatchAt(0), o = s.fillBefore(r22).append(r22);
@@ -17124,15 +17124,15 @@ Actual: ` + p3.attribValue
17124
17124
  }
17125
17125
  return r22;
17126
17126
  }
17127
- function Cf$2(r22, e, t, n) {
17127
+ function Ef$1(r22, e, t, n) {
17128
17128
  if (!n.isInline && e == t && r22.doc.resolve(e).parent.content.size) {
17129
- let i3 = bf$2(r22.doc, e, n.type);
17129
+ let i3 = yf$2(r22.doc, e, n.type);
17130
17130
  i3 != null && (e = t = i3);
17131
17131
  }
17132
17132
  r22.replaceRange(e, t, new ae$4(Q$2.from(n), 0, 0));
17133
17133
  }
17134
- function Sf$2(r22, e, t) {
17135
- let n = r22.doc.resolve(e), i3 = r22.doc.resolve(t), s = Xa$2(n, i3);
17134
+ function Cf$2(r22, e, t) {
17135
+ let n = r22.doc.resolve(e), i3 = r22.doc.resolve(t), s = Ka$2(n, i3);
17136
17136
  for (let o = 0; o < s.length; o++) {
17137
17137
  let a = s[o], u = o == s.length - 1;
17138
17138
  if (u && a == 0 || n.node(a).type.contentMatch.validEnd)
@@ -17145,7 +17145,7 @@ Actual: ` + p3.attribValue
17145
17145
  return r22.delete(n.before(o), t);
17146
17146
  r22.delete(e, t);
17147
17147
  }
17148
- function Xa$2(r22, e) {
17148
+ function Ka$2(r22, e) {
17149
17149
  let t = [], n = Math.min(r22.depth, e.depth);
17150
17150
  for (let i3 = n; i3 >= 0; i3--) {
17151
17151
  let s = r22.start(i3);
@@ -17236,7 +17236,7 @@ Actual: ` + p3.attribValue
17236
17236
  Nt$3.prototype = Object.create(Error.prototype);
17237
17237
  Nt$3.prototype.constructor = Nt$3;
17238
17238
  Nt$3.prototype.name = "TransformError";
17239
- let Tf$2 = class Tf {
17239
+ let Sf$2 = class Sf {
17240
17240
  /**
17241
17241
  Create a transform that starts with the given document.
17242
17242
  */
@@ -17285,7 +17285,7 @@ Actual: ` + p3.attribValue
17285
17285
  given `slice`.
17286
17286
  */
17287
17287
  replace(e, t = e, n = ae$4.empty) {
17288
- let i3 = xf$2(this.doc, e, t, n);
17288
+ let i3 = bf$2(this.doc, e, t, n);
17289
17289
  return i3 && this.step(i3), this;
17290
17290
  }
17291
17291
  /**
@@ -17327,7 +17327,7 @@ Actual: ` + p3.attribValue
17327
17327
  control over what happens.
17328
17328
  */
17329
17329
  replaceRange(e, t, n) {
17330
- return Ef$1(this, e, t, n), this;
17330
+ return vf$2(this, e, t, n), this;
17331
17331
  }
17332
17332
  /**
17333
17333
  Replace the given range with a node, but use `from` and `to` as
@@ -17339,14 +17339,14 @@ Actual: ` + p3.attribValue
17339
17339
  that parent node.
17340
17340
  */
17341
17341
  replaceRangeWith(e, t, n) {
17342
- return Cf$2(this, e, t, n), this;
17342
+ return Ef$1(this, e, t, n), this;
17343
17343
  }
17344
17344
  /**
17345
17345
  Delete the given range, expanding it to cover fully covered
17346
17346
  parent nodes until a valid replace is found.
17347
17347
  */
17348
17348
  deleteRange(e, t) {
17349
- return Sf$2(this, e, t), this;
17349
+ return Cf$2(this, e, t), this;
17350
17350
  }
17351
17351
  /**
17352
17352
  Split the content in the given range off from its parent, if there
@@ -17356,14 +17356,14 @@ Actual: ` + p3.attribValue
17356
17356
  sure the lift is valid.
17357
17357
  */
17358
17358
  lift(e, t) {
17359
- return lf$2(this, e, t), this;
17359
+ return uf$2(this, e, t), this;
17360
17360
  }
17361
17361
  /**
17362
17362
  Join the blocks around the given position. If depth is 2, their
17363
17363
  last and first siblings are also joined, and so on.
17364
17364
  */
17365
17365
  join(e, t = 1) {
17366
- return yf$2(this, e, t), this;
17366
+ return wf$2(this, e, t), this;
17367
17367
  }
17368
17368
  /**
17369
17369
  Wrap the given [range](https://prosemirror.net/docs/ref/#model.NodeRange) in the given set of wrappers.
@@ -17371,21 +17371,21 @@ Actual: ` + p3.attribValue
17371
17371
  probably be computed with [`findWrapping`](https://prosemirror.net/docs/ref/#transform.findWrapping).
17372
17372
  */
17373
17373
  wrap(e, t) {
17374
- return df$2(this, e, t), this;
17374
+ return ff$2(this, e, t), this;
17375
17375
  }
17376
17376
  /**
17377
17377
  Set the type of all textblocks (partly) between `from` and `to` to
17378
17378
  the given node type with the given attributes.
17379
17379
  */
17380
17380
  setBlockType(e, t = e, n, i3 = null) {
17381
- return mf$2(this, e, t, n, i3), this;
17381
+ return df$2(this, e, t, n, i3), this;
17382
17382
  }
17383
17383
  /**
17384
17384
  Change the type, attributes, and/or marks of the node at `pos`.
17385
17385
  When `type` isn't given, the existing node type is preserved,
17386
17386
  */
17387
17387
  setNodeMarkup(e, t, n = null, i3) {
17388
- return hf$2(this, e, t, n, i3), this;
17388
+ return pf$2(this, e, t, n, i3), this;
17389
17389
  }
17390
17390
  /**
17391
17391
  Set a single attribute on a given node to a new value.
@@ -17429,13 +17429,13 @@ Actual: ` + p3.attribValue
17429
17429
  use after the split (with the outermost nodes coming first).
17430
17430
  */
17431
17431
  split(e, t = 1, n) {
17432
- return gf$2(this, e, t, n), this;
17432
+ return hf$2(this, e, t, n), this;
17433
17433
  }
17434
17434
  /**
17435
17435
  Add the given mark to the inline content between `from` and `to`.
17436
17436
  */
17437
17437
  addMark(e, t, n) {
17438
- return of$2(this, e, t, n), this;
17438
+ return sf$2(this, e, t, n), this;
17439
17439
  }
17440
17440
  /**
17441
17441
  Remove marks from inline nodes between `from` and `to`. When
@@ -17444,7 +17444,7 @@ Actual: ` + p3.attribValue
17444
17444
  remove all marks of any type.
17445
17445
  */
17446
17446
  removeMark(e, t, n) {
17447
- return af$2(this, e, t, n), this;
17447
+ return of$2(this, e, t, n), this;
17448
17448
  }
17449
17449
  /**
17450
17450
  Removes all marks and nodes from the content of the node at
@@ -17464,7 +17464,7 @@ Actual: ` + p3.attribValue
17464
17464
  `$head`.
17465
17465
  */
17466
17466
  constructor(e, t, n) {
17467
- this.$anchor = e, this.$head = t, this.ranges = n || [new Ff$2(e.min(t), e.max(t))];
17467
+ this.$anchor = e, this.$head = t, this.ranges = n || [new Tf$2(e.min(t), e.max(t))];
17468
17468
  }
17469
17469
  /**
17470
17470
  The selection's anchor, as an unresolved position.
@@ -17622,7 +17622,7 @@ Actual: ` + p3.attribValue
17622
17622
  }
17623
17623
  };
17624
17624
  Ee$2.prototype.visible = true;
17625
- let Ff$2 = class Ff {
17625
+ let Tf$2 = class Tf {
17626
17626
  /**
17627
17627
  Create a range.
17628
17628
  */
@@ -17810,11 +17810,11 @@ Actual: ` + p3.attribValue
17810
17810
  return e instanceof at2;
17811
17811
  }
17812
17812
  getBookmark() {
17813
- return Bf$1;
17813
+ return Ff$2;
17814
17814
  }
17815
17815
  };
17816
17816
  Ee$2.jsonID("all", at$3);
17817
- const Bf$1 = {
17817
+ const Ff$2 = {
17818
17818
  map() {
17819
17819
  return this;
17820
17820
  },
@@ -17852,7 +17852,7 @@ Actual: ` + p3.attribValue
17852
17852
  }), r22.setSelection(Ee$2.near(r22.doc.resolve(o), t));
17853
17853
  }
17854
17854
  const Ao$2 = 1, Do$3 = 2, vo$3 = 4;
17855
- let kf$2 = class kf extends Tf$2 {
17855
+ let Bf$1 = class Bf extends Sf$2 {
17856
17856
  /**
17857
17857
  @internal
17858
17858
  */
@@ -18011,7 +18011,7 @@ Actual: ` + p3.attribValue
18011
18011
  this.name = e, this.init = Eo$2(t.init, n), this.apply = Eo$2(t.apply, n);
18012
18012
  }
18013
18013
  };
18014
- const Nf$1 = [
18014
+ const kf$2 = [
18015
18015
  new Ht$2("doc", {
18016
18016
  init(r22) {
18017
18017
  return r22.doc || r22.schema.topNodeType.createAndFill();
@@ -18047,7 +18047,7 @@ Actual: ` + p3.attribValue
18047
18047
  ];
18048
18048
  let si$2 = class si {
18049
18049
  constructor(e, t) {
18050
- this.schema = e, this.plugins = [], this.pluginsByKey = /* @__PURE__ */ Object.create(null), this.fields = Nf$1.slice(), t && t.forEach((n) => {
18050
+ this.schema = e, this.plugins = [], this.pluginsByKey = /* @__PURE__ */ Object.create(null), this.fields = kf$2.slice(), t && t.forEach((n) => {
18051
18051
  if (this.pluginsByKey[n.key])
18052
18052
  throw new RangeError("Adding different instances of a keyed plugin (" + n.key + ")");
18053
18053
  this.plugins.push(n), this.pluginsByKey[n.key] = n, n.spec.state && this.fields.push(new Ht$2(n.key, n.spec.state, n));
@@ -18140,7 +18140,7 @@ Actual: ` + p3.attribValue
18140
18140
  Start a [transaction](https://prosemirror.net/docs/ref/#state.Transaction) from this state.
18141
18141
  */
18142
18142
  get tr() {
18143
- return new kf$2(this);
18143
+ return new Bf$1(this);
18144
18144
  }
18145
18145
  /**
18146
18146
  Create a new state.
@@ -18219,10 +18219,10 @@ Actual: ` + p3.attribValue
18219
18219
  }), s;
18220
18220
  }
18221
18221
  };
18222
- function Ya$2(r22, e, t) {
18222
+ function Xa$2(r22, e, t) {
18223
18223
  for (let n in r22) {
18224
18224
  let i3 = r22[n];
18225
- i3 instanceof Function ? i3 = i3.bind(e) : n == "handleDOMEvents" && (i3 = Ya$2(i3, e, {})), t[n] = i3;
18225
+ i3 instanceof Function ? i3 = i3.bind(e) : n == "handleDOMEvents" && (i3 = Xa$2(i3, e, {})), t[n] = i3;
18226
18226
  }
18227
18227
  return t;
18228
18228
  }
@@ -18231,7 +18231,7 @@ Actual: ` + p3.attribValue
18231
18231
  Create a plugin.
18232
18232
  */
18233
18233
  constructor(e) {
18234
- this.spec = e, this.props = {}, e.props && Ya$2(e.props, this, this.props), this.key = e.key ? e.key.key : Za$2("plugin");
18234
+ this.spec = e, this.props = {}, e.props && Xa$2(e.props, this, this.props), this.key = e.key ? e.key.key : Ya$2("plugin");
18235
18235
  }
18236
18236
  /**
18237
18237
  Extract the plugin's state field from an editor state.
@@ -18241,7 +18241,7 @@ Actual: ` + p3.attribValue
18241
18241
  }
18242
18242
  };
18243
18243
  const oi$1 = /* @__PURE__ */ Object.create(null);
18244
- function Za$2(r22) {
18244
+ function Ya$2(r22) {
18245
18245
  return r22 in oi$1 ? r22 + "$" + ++oi$1[r22] : (oi$1[r22] = 0, r22 + "$");
18246
18246
  }
18247
18247
  let qp$1 = class qp {
@@ -18249,7 +18249,7 @@ Actual: ` + p3.attribValue
18249
18249
  Create a plugin key.
18250
18250
  */
18251
18251
  constructor(e = "key") {
18252
- this.key = Za$2(e);
18252
+ this.key = Ya$2(e);
18253
18253
  }
18254
18254
  /**
18255
18255
  Get the active plugin with this key, if any, from an editor
@@ -18265,7 +18265,7 @@ Actual: ` + p3.attribValue
18265
18265
  return e[this.key];
18266
18266
  }
18267
18267
  };
18268
- const Qa$2 = (r22) => r22.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`), Mp$1 = (r22) => Qa$2(r22), Up$1 = Object.freeze({
18268
+ const Za$2 = (r22) => r22.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`), Mp$1 = (r22) => Za$2(r22), Up$1 = Object.freeze({
18269
18269
  RESOLVED: "resolved",
18270
18270
  NEW: "new",
18271
18271
  ADD: "add",
@@ -18297,19 +18297,19 @@ Actual: ` + p3.attribValue
18297
18297
  }
18298
18298
  const zp$1 = () => typeof navigator < "u" ? /Mac/.test(navigator.platform) : false, Gp$1 = () => ["iPad Simulator", "iPhone Simulator", "iPod Simulator", "iPad", "iPhone", "iPod"].includes(
18299
18299
  navigator.platform
18300
- ), If$1 = (r22) => Object.prototype.toString.call(r22) === "[object RegExp]";
18301
- function Rf$1(r22, e, t = { strict: true }) {
18300
+ ), Nf$1 = (r22) => Object.prototype.toString.call(r22) === "[object RegExp]";
18301
+ function If$1(r22, e, t = { strict: true }) {
18302
18302
  const n = Object.keys(e);
18303
- return n.length ? n.every((i3) => t.strict ? e[i3] === r22[i3] : If$1(e[i3]) ? e[i3].test(r22[i3]) : e[i3] === r22[i3]) : true;
18303
+ return n.length ? n.every((i3) => t.strict ? e[i3] === r22[i3] : Nf$1(e[i3]) ? e[i3].test(r22[i3]) : e[i3] === r22[i3]) : true;
18304
18304
  }
18305
18305
  function Wp$1(r22, e) {
18306
18306
  const n = typeof e == "string" ? [e] : e;
18307
18307
  return Object.keys(r22).reduce((i3, s) => (n.includes(s) || (i3[s] = r22[s]), i3), {});
18308
18308
  }
18309
- const Pf$1 = /[\d-.]+(\w+)$/, Of$2 = ["px", "rem", "em", "in", "q", "mm", "cm", "pt", "pc", "vh", "vw", "vmin", "vmax"];
18310
- function Lf$2(r22 = "0") {
18311
- const e = r22.toString() || "0", t = Number.parseFloat(e), i3 = (e.match(Pf$1)?.[1] ?? "").toLowerCase();
18312
- return [t, Of$2.includes(i3) ? i3 : null];
18309
+ const Rf$1 = /[\d-.]+(\w+)$/, Pf$1 = ["px", "rem", "em", "in", "q", "mm", "cm", "pt", "pc", "vh", "vw", "vmin", "vmax"];
18310
+ function Of$2(r22 = "0") {
18311
+ const e = r22.toString() || "0", t = Number.parseFloat(e), i3 = (e.match(Rf$1)?.[1] ?? "").toLowerCase();
18312
+ return [t, Pf$1.includes(i3) ? i3 : null];
18313
18313
  }
18314
18314
  function Jp$1(r22 = 0, e = 0, t = 0) {
18315
18315
  return Math.min(Math.max(r22, e), t);
@@ -18338,7 +18338,7 @@ Actual: ` + p3.attribValue
18338
18338
  if (r22 != null)
18339
18339
  return r22 * 240;
18340
18340
  }
18341
- function _f$1(r22) {
18341
+ function Lf$2(r22) {
18342
18342
  if (r22 != null)
18343
18343
  return Math.round(r22 / 2);
18344
18344
  }
@@ -18352,22 +18352,22 @@ Actual: ` + p3.attribValue
18352
18352
  if (r22 != null)
18353
18353
  return typeof r22 == "string" && (r22 = parseFloat(r22)), Math.round(r22 * 9525);
18354
18354
  }
18355
- function eu$2(r22) {
18355
+ function Qa$2(r22) {
18356
18356
  return r22 == null ? void 0 : parseFloat(r22) / 8 * 1.3333;
18357
18357
  }
18358
- function tu$2(r22) {
18358
+ function eu$2(r22) {
18359
18359
  if (r22 != null)
18360
18360
  return Math.round(r22 * 6);
18361
18361
  }
18362
- function ru$2(r22) {
18362
+ function tu$2(r22) {
18363
18363
  if (r22 != null)
18364
18364
  return r22 / 20;
18365
18365
  }
18366
- function qf$1(r22) {
18366
+ function _f$1(r22) {
18367
18367
  if (r22 != null)
18368
18368
  return r22 * 20;
18369
18369
  }
18370
- const Mf$2 = async (r22) => {
18370
+ const qf$1 = async (r22) => {
18371
18371
  const e = r22.includes(",") ? r22.split(",", 2)[1] : r22;
18372
18372
  if (typeof globalThis.atob == "function") {
18373
18373
  const n = globalThis.atob(e), i3 = n.length, s = new Uint8Array(i3);
@@ -18383,7 +18383,7 @@ Actual: ` + p3.attribValue
18383
18383
  }, $p$1 = (r22) => {
18384
18384
  const n = new window.DOMParser().parseFromString(r22, "text/xml").querySelectorAll("Default");
18385
18385
  return Array.from(n).map((i3) => i3.getAttribute("Extension"));
18386
- }, Uf$1 = (r22) => (/* @__PURE__ */ new Map([
18386
+ }, Mf$2 = (r22) => (/* @__PURE__ */ new Map([
18387
18387
  ["yellow", "#ffff00"],
18388
18388
  ["green", "#00ff00"],
18389
18389
  ["blue", "#0000FFFF"],
@@ -18400,7 +18400,7 @@ Actual: ` + p3.attribValue
18400
18400
  ["lightGray", "#C0C0C0FF"],
18401
18401
  ["black", "#000"]
18402
18402
  ])).get(r22) || null;
18403
- function jf$1(r22) {
18403
+ function Uf$1(r22) {
18404
18404
  if (!r22 || typeof r22 != "string") return false;
18405
18405
  switch (r22.length) {
18406
18406
  case 3:
@@ -18413,13 +18413,13 @@ Actual: ` + p3.attribValue
18413
18413
  return false;
18414
18414
  }
18415
18415
  }
18416
- const Hf$1 = (r22) => {
18416
+ const jf$1 = (r22) => {
18417
18417
  const e = Number(r22).toString(16);
18418
18418
  return e.length === 1 ? "0" + e : e;
18419
- }, Vf$1 = (r22) => "#" + r22.match(/\d+/g).map(Hf$1).join(""), Kp$1 = (r22, e, t = "", n = false) => {
18420
- let [i3, s] = Lf$2(r22);
18419
+ }, Hf$1 = (r22) => "#" + r22.match(/\d+/g).map(jf$1).join(""), Kp$1 = (r22, e, t = "", n = false) => {
18420
+ let [i3, s] = Of$2(r22);
18421
18421
  return Number.isNaN(i3) || i3 === 0 ? {} : t === "atLeast" && i3 < 1 ? {} : (s = s || e, i3 += s ? 4 : 0.2, n ? { "line-height": `${i3}${s}` } : `line-height: ${i3}${s}`);
18422
- }, zf$1 = (r22, e) => {
18422
+ }, Vf$1 = (r22, e) => {
18423
18423
  const t = new Uint8Array(r22), n = e.replace(/[-{}]/g, "");
18424
18424
  if (n.length !== 32) {
18425
18425
  console.error("Invalid GUID");
@@ -18445,10 +18445,10 @@ Actual: ` + p3.attribValue
18445
18445
  }
18446
18446
  return t.join("");
18447
18447
  }
18448
- function nu$2() {
18448
+ function ru$2() {
18449
18449
  return Math.floor(Math.random() * 2147483647).toString(16).toUpperCase().padStart(8, "0");
18450
18450
  }
18451
- const Gf$1 = {
18451
+ const zf$1 = {
18452
18452
  "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",
18453
18453
  "xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex",
18454
18454
  "xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",
@@ -18485,7 +18485,7 @@ Actual: ` + p3.attribValue
18485
18485
  "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml",
18486
18486
  "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape",
18487
18487
  "mc:Ignorable": "w14 w15 w16se w16cid w16 w16cex w16sdtdh w16sdtfl w16du wp14"
18488
- }, Wf$1 = {
18488
+ }, Gf$1 = {
18489
18489
  elements: [
18490
18490
  {
18491
18491
  type: "element",
@@ -18497,7 +18497,7 @@ Actual: ` + p3.attribValue
18497
18497
  elements: []
18498
18498
  }
18499
18499
  ]
18500
- }, Jf$1 = {
18500
+ }, Wf$1 = {
18501
18501
  elements: [{
18502
18502
  type: "element",
18503
18503
  name: "w:settings",
@@ -18506,7 +18506,7 @@ Actual: ` + p3.attribValue
18506
18506
  },
18507
18507
  elements: []
18508
18508
  }]
18509
- }, $f$1 = {
18509
+ }, Jf$1 = {
18510
18510
  type: "element",
18511
18511
  name: "w:r",
18512
18512
  elements: [
@@ -19182,7 +19182,7 @@ Actual: ` + p3.attribValue
19182
19182
  }
19183
19183
  ]
19184
19184
  }
19185
- }, Kf$1 = {
19185
+ }, $f$1 = {
19186
19186
  declaration: {
19187
19187
  attributes: {
19188
19188
  version: "1.0",
@@ -19235,7 +19235,7 @@ Actual: ` + p3.attribValue
19235
19235
  elements: []
19236
19236
  }
19237
19237
  ]
19238
- }, Xf$1 = {
19238
+ }, Kf$1 = {
19239
19239
  declaration: {
19240
19240
  attributes: {
19241
19241
  version: "1.0",
@@ -19288,7 +19288,7 @@ Actual: ` + p3.attribValue
19288
19288
  elements: []
19289
19289
  }
19290
19290
  ]
19291
- }, Yf$1 = {
19291
+ }, Xf$1 = {
19292
19292
  declaration: {
19293
19293
  attributes: {
19294
19294
  version: "1.0",
@@ -19342,7 +19342,7 @@ Actual: ` + p3.attribValue
19342
19342
  elements: []
19343
19343
  }
19344
19344
  ]
19345
- }, Zf$1 = {
19345
+ }, Yf$1 = {
19346
19346
  declaration: {
19347
19347
  attributes: {
19348
19348
  version: "1.0",
@@ -19395,7 +19395,7 @@ Actual: ` + p3.attribValue
19395
19395
  elements: []
19396
19396
  }
19397
19397
  ]
19398
- }, Qf$1 = {
19398
+ }, Zf$1 = {
19399
19399
  elements: [
19400
19400
  {
19401
19401
  type: "element",
@@ -19497,7 +19497,7 @@ Actual: ` + p3.attribValue
19497
19497
  ]
19498
19498
  }
19499
19499
  ]
19500
- }, ed$2 = {
19500
+ }, Qf$1 = {
19501
19501
  declaration: {
19502
19502
  attributes: {
19503
19503
  version: "1.0",
@@ -19645,12 +19645,12 @@ Actual: ` + p3.attribValue
19645
19645
  }
19646
19646
  ]
19647
19647
  }, vt$2 = {
19648
- COMMENTS_XML_DEF: Kf$1,
19649
- COMMENTS_EXTENDED_XML_DEF: Xf$1,
19650
- COMMENTS_EXTENSIBLE_XML_DEF: Yf$1,
19651
- COMMENTS_IDS_XML_DEF: Zf$1,
19652
- DOCUMENT_RELS_XML_DEF: Qf$1,
19653
- CONTENT_TYPES: ed$2
19648
+ COMMENTS_XML_DEF: $f$1,
19649
+ COMMENTS_EXTENDED_XML_DEF: Kf$1,
19650
+ COMMENTS_EXTENSIBLE_XML_DEF: Xf$1,
19651
+ COMMENTS_IDS_XML_DEF: Yf$1,
19652
+ DOCUMENT_RELS_XML_DEF: Zf$1,
19653
+ CONTENT_TYPES: Qf$1
19654
19654
  }, xr$2 = "trackInsert", Pi$2 = "trackDelete", Oi$2 = "trackFormat", He$2 = (r22) => {
19655
19655
  if (r22)
19656
19656
  try {
@@ -19659,15 +19659,15 @@ Actual: ` + p3.attribValue
19659
19659
  console.error("Error in carbonCopy", r22, e);
19660
19660
  return;
19661
19661
  }
19662
- }, td$2 = {
19662
+ }, ed$2 = {
19663
19663
  attributes: {
19664
19664
  "w:abstractNumId": "1"
19665
19665
  }
19666
- }, rd$2 = {
19666
+ }, td$2 = {
19667
19667
  attributes: {
19668
19668
  "w:abstractNumId": "0"
19669
19669
  }
19670
- }, iu$2 = {
19670
+ }, nu$2 = {
19671
19671
  declaration: {
19672
19672
  attributes: {
19673
19673
  version: "1.0",
@@ -20917,7 +20917,7 @@ Actual: ` + p3.attribValue
20917
20917
  u && (c3 = r22.comments.find((E3) => E3.commentId === u || E3.importedId === u));
20918
20918
  const l = c3?.isInternal || o.isInternal;
20919
20919
  if (n === "external" && l || !!o.resolvedTime) return;
20920
- let g = nd$2(e, a);
20920
+ let g = rd$2(e, a);
20921
20921
  if (e === "End") {
20922
20922
  const E3 = {
20923
20923
  name: "w:r",
@@ -20927,21 +20927,21 @@ Actual: ` + p3.attribValue
20927
20927
  }
20928
20928
  return g;
20929
20929
  }
20930
- const nd$2 = (r22, e) => ({
20930
+ const rd$2 = (r22, e) => ({
20931
20931
  name: `w:commentRange${r22}`,
20932
20932
  attributes: {
20933
20933
  "w:id": String(e)
20934
20934
  }
20935
- }), id$2 = (r22) => ({
20935
+ }), nd$2 = (r22) => ({
20936
20936
  ...r22,
20937
- commentParaId: nu$2()
20938
- }), sd$2 = (r22, e, t, n) => {
20939
- const i3 = ou$2({ editor: n, node: r22.commentJSON }), s = {
20937
+ commentParaId: ru$2()
20938
+ }), id$2 = (r22, e, t, n) => {
20939
+ const i3 = su$2({ editor: n, node: r22.commentJSON }), s = {
20940
20940
  "w:id": String(e),
20941
20941
  "w:author": r22.creatorName || r22.importedAuthor?.name,
20942
20942
  "w:email": r22.creatorEmail || r22.importedAuthor?.email,
20943
- "w:date": su$2(r22.createdTime),
20944
- "w:initials": od$2(r22.creatorName),
20943
+ "w:date": iu$2(r22.createdTime),
20944
+ "w:initials": sd$2(r22.creatorName),
20945
20945
  "w:done": r22.resolvedTime ? "1" : "0",
20946
20946
  "w15:paraId": r22.commentParaId,
20947
20947
  "custom:internalId": r22.commentId || r22.internalId,
@@ -20960,10 +20960,10 @@ Actual: ` + p3.attribValue
20960
20960
  attributes: s,
20961
20961
  elements: [i3]
20962
20962
  };
20963
- }, od$2 = (r22) => r22 ? r22.replace("(imported)", "").trim().split(" ").map((n) => n[0]).join("") : null, su$2 = (r22) => new Date(r22 || Date.now()).toISOString().replace(/\.\d{3}Z$/, "Z"), ad$2 = (r22 = [], e) => {
20963
+ }, sd$2 = (r22) => r22 ? r22.replace("(imported)", "").trim().split(" ").map((n) => n[0]).join("") : null, iu$2 = (r22) => new Date(r22 || Date.now()).toISOString().replace(/\.\d{3}Z$/, "Z"), od$2 = (r22 = [], e) => {
20964
20964
  const t = He$2(e);
20965
20965
  return r22.forEach((n) => {
20966
- n.elements[0].elements.unshift($f$1);
20966
+ n.elements[0].elements.unshift(Jf$1);
20967
20967
  const s = n.attributes["w15:paraId"];
20968
20968
  n.elements[0].attributes["w14:paraId"] = s, n.attributes = {
20969
20969
  "w:id": n.attributes["w:id"],
@@ -20979,7 +20979,7 @@ Actual: ` + p3.attribValue
20979
20979
  "xmlns:custom": "http://schemas.openxmlformats.org/wordprocessingml/2006/main"
20980
20980
  };
20981
20981
  }), t.elements[0].elements = r22, t;
20982
- }, ud$2 = (r22 = [], e) => {
20982
+ }, ad$2 = (r22 = [], e) => {
20983
20983
  const t = He$2(e), n = r22.map((i3) => {
20984
20984
  const s = {
20985
20985
  "w15:paraId": i3.commentParaId,
@@ -20996,10 +20996,10 @@ Actual: ` + p3.attribValue
20996
20996
  };
20997
20997
  });
20998
20998
  return t.elements[0].elements = n, t;
20999
- }, ld$2 = (r22 = [], e, t) => {
20999
+ }, ud$2 = (r22 = [], e, t) => {
21000
21000
  const n = He$2(e), i3 = He$2(t);
21001
21001
  return n.elements[0].elements = [], i3.elements[0].elements = [], r22.forEach((s) => {
21002
- const o = nu$2(), a = {
21002
+ const o = ru$2(), a = {
21003
21003
  type: "element",
21004
21004
  name: "w16cid:commentId",
21005
21005
  attributes: {
@@ -21013,7 +21013,7 @@ Actual: ` + p3.attribValue
21013
21013
  name: "w16cex:commentExtensible",
21014
21014
  attributes: {
21015
21015
  "w16cex:durableId": o,
21016
- "w16cex:dateUtc": su$2()
21016
+ "w16cex:dateUtc": iu$2()
21017
21017
  }
21018
21018
  };
21019
21019
  i3.elements[0].elements.push(u);
@@ -21021,13 +21021,13 @@ Actual: ` + p3.attribValue
21021
21021
  documentIdsUpdated: n,
21022
21022
  extensibleUpdated: i3
21023
21023
  };
21024
- }, cd$2 = (r22) => {
21024
+ }, ld$2 = (r22) => {
21025
21025
  const e = He$2(r22);
21026
21026
  return e["word/comments.xml"] = vt$2.COMMENTS_XML_DEF, e["word/commentsExtended.xml"] = vt$2.COMMENTS_EXTENDED_XML_DEF, e["word/commentsExtensible.xml"] = vt$2.COMMENTS_EXTENSIBLE_XML_DEF, e["word/commentsIds.xml"] = vt$2.COMMENTS_IDS_XML_DEF, e["[Content_Types].xml"] = vt$2.CONTENT_TYPES, e;
21027
- }, fd$2 = (r22) => {
21027
+ }, cd$2 = (r22) => {
21028
21028
  const e = He$2(r22);
21029
21029
  return delete e["word/comments.xml"], delete e["word/commentsExtended.xml"], delete e["word/commentsExtensible.xml"], delete e["word/commentsIds.xml"], e;
21030
- }, sr$2 = (r22) => ({ ...vt$2.DOCUMENT_RELS_XML_DEF.elements[0].elements.find((n) => n.attributes.Target === r22) }), dd$2 = ({
21030
+ }, sr$2 = (r22) => ({ ...vt$2.DOCUMENT_RELS_XML_DEF.elements[0].elements.find((n) => n.attributes.Target === r22) }), fd$2 = ({
21031
21031
  convertedXml: r22,
21032
21032
  defs: e,
21033
21033
  commentsWithParaIds: t,
@@ -21036,16 +21036,16 @@ Actual: ` + p3.attribValue
21036
21036
  }) => {
21037
21037
  const s = [];
21038
21038
  if (n === "clean")
21039
- return { documentXml: fd$2(r22), relationships: s };
21040
- const o = cd$2(r22);
21041
- o["word/comments.xml"] = ad$2(
21039
+ return { documentXml: cd$2(r22), relationships: s };
21040
+ const o = ld$2(r22);
21041
+ o["word/comments.xml"] = od$2(
21042
21042
  e,
21043
21043
  o["word/comments.xml"]
21044
- ), s.push(sr$2("comments.xml")), o["word/commentsExtended.xml"] = ud$2(
21044
+ ), s.push(sr$2("comments.xml")), o["word/commentsExtended.xml"] = ad$2(
21045
21045
  t,
21046
21046
  o["word/commentsExtended.xml"]
21047
21047
  ), s.push(sr$2("commentsExtended.xml"));
21048
- const { documentIdsUpdated: a, extensibleUpdated: u } = ld$2(
21048
+ const { documentIdsUpdated: a, extensibleUpdated: u } = ud$2(
21049
21049
  t,
21050
21050
  o["word/commentsIds.xml"],
21051
21051
  o["word/commentsExtensible.xml"]
@@ -21054,7 +21054,7 @@ Actual: ` + p3.attribValue
21054
21054
  relationships: s,
21055
21055
  documentXml: o
21056
21056
  };
21057
- }, md$2 = (r22, e) => e ? ["width", `${Math.max(e, r22)}px`] : ["min-width", `${r22}px`], pd$2 = (r22, e, t, n) => {
21057
+ }, dd$2 = (r22, e) => e ? ["width", `${Math.max(e, r22)}px`] : ["min-width", `${r22}px`], md$2 = (r22, e, t, n) => {
21058
21058
  let i3 = 0, s = true;
21059
21059
  const o = [], a = [], u = r22.firstChild;
21060
21060
  if (!u) return {};
@@ -21063,7 +21063,7 @@ Actual: ` + p3.attribValue
21063
21063
  for (let w = 0; w < v; w++, D3++) {
21064
21064
  const B3 = t === D3 ? n : F3 && F3[w];
21065
21065
  i3 += B3 || e, B3 || (s = false);
21066
- const [R, A3] = md$2(e, B3);
21066
+ const [R, A3] = dd$2(e, B3);
21067
21067
  o.push(["col", { style: `${R}: ${A3}` }]), a.push(parseInt(A3, 10));
21068
21068
  }
21069
21069
  }
@@ -21077,31 +21077,31 @@ Actual: ` + p3.attribValue
21077
21077
  };
21078
21078
  function qt$2(r22) {
21079
21079
  const { type: e } = r22.node || {}, t = {
21080
- doc: wd$2,
21081
- body: hd$2,
21082
- paragraph: ou$2,
21083
- text: yd$2,
21080
+ doc: gd$2,
21081
+ body: pd$2,
21082
+ paragraph: su$2,
21083
+ text: wd$2,
21084
21084
  bulletList: Fo$2,
21085
21085
  orderedList: Fo$2,
21086
- lineBreak: Sd$2,
21087
- table: Td$2,
21088
- tableRow: Rd$2,
21089
- tableCell: Od$2,
21090
- bookmarkStart: qd$2,
21091
- fieldAnnotation: Gd$2,
21092
- tab: Bd$2,
21093
- image: lu$2,
21094
- hardBreak: Wd$2,
21086
+ lineBreak: Cd$2,
21087
+ table: Sd$2,
21088
+ tableRow: Id$2,
21089
+ tableCell: Pd$2,
21090
+ bookmarkStart: _d$2,
21091
+ fieldAnnotation: zd$2,
21092
+ tab: Fd$2,
21093
+ image: uu$2,
21094
+ hardBreak: Gd$2,
21095
21095
  commentRangeStart: () => So$3(r22, "Start"),
21096
21096
  commentRangeEnd: () => So$3(r22, "End"),
21097
21097
  commentReference: () => null,
21098
- shapeContainer: Jd$2,
21099
- shapeTextbox: $d$2,
21100
- contentBlock: Kd$2
21098
+ shapeContainer: Wd$2,
21099
+ shapeTextbox: Jd$2,
21100
+ contentBlock: $d$2
21101
21101
  };
21102
21102
  return t[e] ? t[e](r22) : (console.error("No translation function found for node type:", e), null);
21103
21103
  }
21104
- function hd$2(r22) {
21104
+ function pd$2(r22) {
21105
21105
  const e = r22.bodyNode?.elements.find((n) => n.name === "w:sectPr") || {};
21106
21106
  if (r22.converter) {
21107
21107
  const n = r22.converter.pageStyles.pageMargins, i3 = e.elements.find((o) => o.name === "w:pgMar"), { attributes: s } = i3;
@@ -21115,11 +21115,11 @@ Actual: ` + p3.attribValue
21115
21115
  elements: [...dt$1(r22), e]
21116
21116
  };
21117
21117
  }
21118
- function ou$2(r22) {
21118
+ function su$2(r22) {
21119
21119
  const e = dt$1(r22), t = e.find((s) => s.name === "htmlAnnotation");
21120
21120
  if (e.length === 1 && t)
21121
21121
  return t.elements;
21122
- const n = gd$2(r22.node);
21122
+ const n = hd$2(r22.node);
21123
21123
  n && e.unshift(n);
21124
21124
  let i3 = {};
21125
21125
  return r22.node.attrs?.rsidRDefault && (i3["w:rsidRDefault"] = r22.node.attrs.rsidRDefault), {
@@ -21128,13 +21128,13 @@ Actual: ` + p3.attribValue
21128
21128
  attributes: i3
21129
21129
  };
21130
21130
  }
21131
- function gd$2(r22) {
21131
+ function hd$2(r22) {
21132
21132
  const { attrs: e = {} } = r22, t = [], { styleId: n } = e;
21133
21133
  n && t.push({ name: "w:pStyle", attributes: { "w:val": n } });
21134
21134
  const { spacing: i3, indent: s, textAlign: o, textIndent: a, lineHeight: u, marksAttrs: c3, keepLines: l, keepNext: h3, dropcap: g } = e;
21135
21135
  if (i3) {
21136
21136
  const { lineSpaceBefore: D3, lineSpaceAfter: v, line: F3, lineRule: w } = i3, B3 = {};
21137
- D3 >= 0 && (B3["w:before"] = Te$2(D3)), v >= 0 && (B3["w:after"] = Te$2(v)), w === "exact" ? u && (B3["w:line"] = qf$1(parseFloat(u))) : u && (B3["w:line"] = pi$2(u)), B3["w:lineRule"] = w || "auto";
21137
+ D3 >= 0 && (B3["w:before"] = Te$2(D3)), v >= 0 && (B3["w:after"] = Te$2(v)), w === "exact" ? u && (B3["w:line"] = _f$1(parseFloat(u))) : u && (B3["w:line"] = pi$2(u)), B3["w:lineRule"] = w || "auto";
21138
21138
  const R = {
21139
21139
  name: "w:spacing",
21140
21140
  attributes: B3
@@ -21175,7 +21175,7 @@ Actual: ` + p3.attribValue
21175
21175
  t.push(D3);
21176
21176
  }
21177
21177
  if (c3) {
21178
- const D3 = kr$1(c3), v = au$2(D3);
21178
+ const D3 = kr$1(c3), v = ou$2(D3);
21179
21179
  t.push(v);
21180
21180
  }
21181
21181
  l && t.push({
@@ -21200,7 +21200,7 @@ Actual: ` + p3.attribValue
21200
21200
  elements: t
21201
21201
  } : null;
21202
21202
  }
21203
- function wd$2(r22) {
21203
+ function gd$2(r22) {
21204
21204
  const e = {
21205
21205
  type: "body",
21206
21206
  content: r22.node.content
@@ -21208,7 +21208,7 @@ Actual: ` + p3.attribValue
21208
21208
  return [{
21209
21209
  name: "w:document",
21210
21210
  elements: [qt$2({ ...r22, node: e })],
21211
- attributes: Gf$1
21211
+ attributes: zf$1
21212
21212
  }, r22];
21213
21213
  }
21214
21214
  function dt$1(r22) {
@@ -21255,14 +21255,14 @@ Actual: ` + p3.attribValue
21255
21255
  }
21256
21256
  return Zt$3(o, a);
21257
21257
  }
21258
- function yd$2(r22) {
21258
+ function wd$2(r22) {
21259
21259
  const { node: e } = r22, t = [xr$2, Pi$2];
21260
- if (e.marks?.some((a) => t.includes(a.type))) return xd$2(r22);
21261
- if (e.marks?.some((a) => a.type === "link")) return Ad$2(r22);
21260
+ if (e.marks?.some((a) => t.includes(a.type))) return bd$2(r22);
21261
+ if (e.marks?.some((a) => a.type === "link")) return xd$2(r22);
21262
21262
  const { text: s, marks: o = [] } = e;
21263
21263
  return Br$2(s, o, r22);
21264
21264
  }
21265
- function bd$2(r22) {
21265
+ function yd$2(r22) {
21266
21266
  const e = r22.find((t) => t.type === Oi$2);
21267
21267
  if (e)
21268
21268
  return {
@@ -21277,8 +21277,8 @@ Actual: ` + p3.attribValue
21277
21277
  elements: e.attrs.before.map((n) => kr$1([n])).filter((n) => n !== void 0)
21278
21278
  };
21279
21279
  }
21280
- function xd$2(r22) {
21281
- const { node: e } = r22, t = e.marks, n = [xr$2, Pi$2, Oi$2], i3 = t.find((c3) => n.includes(c3.type)), s = i3.type === xr$2, o = bd$2(t);
21280
+ function bd$2(r22) {
21281
+ const { node: e } = r22, t = e.marks, n = [xr$2, Pi$2, Oi$2], i3 = t.find((c3) => n.includes(c3.type)), s = i3.type === xr$2, o = yd$2(t);
21282
21282
  e.marks = t.filter((c3) => !n.includes(c3.type)), o && e.marks.push(o);
21283
21283
  const a = qt$2({ ...r22, node: e });
21284
21284
  if (!s) {
@@ -21299,12 +21299,12 @@ Actual: ` + p3.attribValue
21299
21299
  }
21300
21300
  function Zt$3(r22, e) {
21301
21301
  let t = [];
21302
- return Array.isArray(r22) ? t = r22 : t = [r22], e && e.length && t.unshift(au$2(e)), {
21302
+ return Array.isArray(r22) ? t = r22 : t = [r22], e && e.length && t.unshift(ou$2(e)), {
21303
21303
  name: "w:r",
21304
21304
  elements: t
21305
21305
  };
21306
21306
  }
21307
- function au$2(r22 = []) {
21307
+ function ou$2(r22 = []) {
21308
21308
  return {
21309
21309
  name: "w:rPr",
21310
21310
  elements: r22.filter((e) => !!Object.keys(e).length)
@@ -21316,10 +21316,10 @@ Actual: ` + p3.attribValue
21316
21316
  return Bo$2(i3);
21317
21317
  }) : Bo$2(e));
21318
21318
  }
21319
- function Ad$2(r22) {
21319
+ function xd$2(r22) {
21320
21320
  const { node: e } = r22, t = e.marks.find((a) => a.type === "link"), n = t.attrs.href;
21321
21321
  let i3 = t.attrs.rId;
21322
- i3 || (i3 = uu$2(r22, n)), e.marks = e.marks.filter((a) => a.type !== "link");
21322
+ i3 || (i3 = au$2(r22, n)), e.marks = e.marks.filter((a) => a.type !== "link");
21323
21323
  const s = qt$2({ ...r22, node: e });
21324
21324
  return {
21325
21325
  name: "w:hyperlink",
@@ -21330,7 +21330,7 @@ Actual: ` + p3.attribValue
21330
21330
  elements: [s]
21331
21331
  };
21332
21332
  }
21333
- function uu$2(r22, e) {
21333
+ function au$2(r22, e) {
21334
21334
  const t = "rId" + Ri$2();
21335
21335
  return (!r22.relationships || !Array.isArray(r22.relationships)) && (r22.relationships = []), r22.relationships.push({
21336
21336
  type: "element",
@@ -21356,9 +21356,9 @@ Actual: ` + p3.attribValue
21356
21356
  return r22.relationships.push(n), t;
21357
21357
  }
21358
21358
  function Fo$2(r22) {
21359
- const { type: e } = r22.node, t = Cd$2(r22), n = [];
21359
+ const { type: e } = r22.node, t = Ed$2(r22), n = [];
21360
21360
  return t.forEach((i3) => {
21361
- const { level: s, listType: o, pPrs: a, content: u, attrs: c3 = {} } = i3, g = (i3.attrs.numId || i3.listId) ?? Dd$2(r22, o), E3 = Ed$2(s, g, a);
21361
+ const { level: s, listType: o, pPrs: a, content: u, attrs: c3 = {} } = i3, g = (i3.attrs.numId || i3.listId) ?? Ad$2(r22, o), E3 = vd$2(s, g, a);
21362
21362
  u.forEach((D3, v) => {
21363
21363
  const F3 = Object.assign({}, D3);
21364
21364
  F3.attrs = {
@@ -21394,8 +21394,8 @@ Actual: ` + p3.attribValue
21394
21394
  });
21395
21395
  }), n;
21396
21396
  }
21397
- function Dd$2(r22, e) {
21398
- const t = vd$2(r22.converter?.numbering?.definitions), n = e === "bullet" ? rd$2 : td$2, i3 = t, s = n.attributes["w:abstractNumId"], o = {
21397
+ function Ad$2(r22, e) {
21398
+ const t = Dd$2(r22.converter?.numbering?.definitions), n = e === "bullet" ? td$2 : ed$2, i3 = t, s = n.attributes["w:abstractNumId"], o = {
21399
21399
  type: "element",
21400
21400
  name: "w:num",
21401
21401
  attributes: {
@@ -21408,8 +21408,8 @@ Actual: ` + p3.attribValue
21408
21408
  };
21409
21409
  return r22.converter.numbering.definitions[i3] = o, i3;
21410
21410
  }
21411
- const vd$2 = (r22) => !r22 || !Object.keys(r22).length ? 0 : Math.max(...Object.keys(r22).map((t) => parseInt(t, 10))) + 1;
21412
- function Ed$2(r22, e, t = []) {
21411
+ const Dd$2 = (r22) => !r22 || !Object.keys(r22).length ? 0 : Math.max(...Object.keys(r22).map((t) => parseInt(t, 10))) + 1;
21412
+ function vd$2(r22, e, t = []) {
21413
21413
  return {
21414
21414
  name: "w:pPr",
21415
21415
  type: "element",
@@ -21434,7 +21434,7 @@ Actual: ` + p3.attribValue
21434
21434
  ]
21435
21435
  };
21436
21436
  }
21437
- function Cd$2({ node: r22 }) {
21437
+ function Ed$2({ node: r22 }) {
21438
21438
  const { content: e, attrs: t = {} } = r22, { listId: n, syncId: i3 } = r22.attrs || {}, s = r22.attrs["list-style-type"], { attributes: o = {} } = t, a = o?.parentAttributes?.paragraphProperties?.elements?.filter((l) => l.name !== "w:numPr") || [], u = [];
21439
21439
  function c3(l, h3 = 0) {
21440
21440
  !l || !l.length || l.forEach((g) => {
@@ -21455,22 +21455,22 @@ Actual: ` + p3.attribValue
21455
21455
  }
21456
21456
  return c3(e), u;
21457
21457
  }
21458
- function Sd$2(r22) {
21458
+ function Cd$2(r22) {
21459
21459
  const e = {}, { lineBreakType: t } = r22.node?.attrs || {};
21460
21460
  return t && (e["w:type"] = t), {
21461
21461
  name: "w:br",
21462
21462
  attributes: e
21463
21463
  };
21464
21464
  }
21465
- function Td$2(r22) {
21466
- r22.node = Fd$2(r22.node, r22);
21467
- const e = dt$1(r22), t = kd$2(r22.node), n = Id$2(r22.node, r22);
21465
+ function Sd$2(r22) {
21466
+ r22.node = Td$2(r22.node, r22);
21467
+ const e = dt$1(r22), t = Bd$2(r22.node), n = Nd$2(r22.node, r22);
21468
21468
  return e.unshift(t), e.unshift(n), {
21469
21469
  name: "w:tbl",
21470
21470
  elements: e
21471
21471
  };
21472
21472
  }
21473
- function Fd$2(r22, { editorSchema: e }) {
21473
+ function Td$2(r22, { editorSchema: e }) {
21474
21474
  const { content: t } = r22;
21475
21475
  for (let n = 0; n < t.length; n++) {
21476
21476
  const i3 = t[n];
@@ -21506,13 +21506,13 @@ Actual: ` + p3.attribValue
21506
21506
  }
21507
21507
  return r22;
21508
21508
  }
21509
- function Bd$2(r22) {
21509
+ function Fd$2(r22) {
21510
21510
  const { marks: e = [] } = r22.node, t = kr$1(e);
21511
21511
  return Zt$3({
21512
21512
  name: "w:tab"
21513
21513
  }, t);
21514
21514
  }
21515
- function kd$2(r22) {
21515
+ function Bd$2(r22) {
21516
21516
  const e = [], { attrs: t } = r22, { tableWidth: n, tableWidthType: i3, tableStyleId: s, borders: o, tableIndent: a, tableLayout: u, tableCellSpacing: c3 } = t;
21517
21517
  if (s) {
21518
21518
  const l = {
@@ -21522,7 +21522,7 @@ Actual: ` + p3.attribValue
21522
21522
  e.push(l);
21523
21523
  }
21524
21524
  if (o) {
21525
- const l = Nd$2(r22);
21525
+ const l = kd$2(r22);
21526
21526
  e.push(l);
21527
21527
  }
21528
21528
  if (a) {
@@ -21557,7 +21557,7 @@ Actual: ` + p3.attribValue
21557
21557
  elements: e
21558
21558
  };
21559
21559
  }
21560
- function Nd$2(r22) {
21560
+ function kd$2(r22) {
21561
21561
  const { borders: e } = r22.attrs, t = [];
21562
21562
  return e ? (["top", "bottom", "left", "right", "insideH", "insideV"].forEach((i3) => {
21563
21563
  const s = e[i3];
@@ -21567,7 +21567,7 @@ Actual: ` + p3.attribValue
21567
21567
  "w:val": "nil"
21568
21568
  } : o = {
21569
21569
  "w:val": "single",
21570
- "w:sz": tu$2(s.size),
21570
+ "w:sz": eu$2(s.size),
21571
21571
  "w:space": s.space || 0,
21572
21572
  "w:color": s?.color?.substring(1) || "000000"
21573
21573
  };
@@ -21581,11 +21581,11 @@ Actual: ` + p3.attribValue
21581
21581
  elements: t
21582
21582
  }) : void 0;
21583
21583
  }
21584
- function Id$2(r22, e) {
21584
+ function Nd$2(r22, e) {
21585
21585
  const { editorSchema: t } = e;
21586
21586
  let n = [];
21587
21587
  try {
21588
- const s = t.nodeFromJSON(r22), o = 25, { colgroupValues: a } = pd$2(
21588
+ const s = t.nodeFromJSON(r22), o = 25, { colgroupValues: a } = md$2(
21589
21589
  s,
21590
21590
  o
21591
21591
  );
@@ -21604,14 +21604,14 @@ Actual: ` + p3.attribValue
21604
21604
  elements: i3
21605
21605
  };
21606
21606
  }
21607
- function Rd$2(r22) {
21608
- const e = dt$1(r22), t = Pd$2(r22.node);
21607
+ function Id$2(r22) {
21608
+ const e = dt$1(r22), t = Rd$2(r22.node);
21609
21609
  return t.elements.length && e.unshift(t), {
21610
21610
  name: "w:tr",
21611
21611
  elements: e
21612
21612
  };
21613
21613
  }
21614
- function Pd$2(r22) {
21614
+ function Rd$2(r22) {
21615
21615
  const { attrs: e } = r22, t = [], { rowHeight: n, rowHeightType: i3 } = e;
21616
21616
  if (n) {
21617
21617
  const s = { "w:val": Te$2(n) };
@@ -21627,17 +21627,17 @@ Actual: ` + p3.attribValue
21627
21627
  elements: t
21628
21628
  };
21629
21629
  }
21630
- function Od$2(r22) {
21630
+ function Pd$2(r22) {
21631
21631
  const e = dt$1({
21632
21632
  ...r22,
21633
21633
  tableCell: r22.node
21634
- }), t = Ld$2(r22.node);
21634
+ }), t = Od$2(r22.node);
21635
21635
  return e.unshift(t), {
21636
21636
  name: "w:tc",
21637
21637
  elements: e
21638
21638
  };
21639
21639
  }
21640
- function Ld$2(r22) {
21640
+ function Od$2(r22) {
21641
21641
  const e = [], { attrs: t } = r22, { colwidth: n = [], cellWidthType: i3 = "dxa", background: s = {}, colspan: o, rowspan: a, widthUnit: u } = t, c3 = n.reduce((v, F3) => v + F3, 0), l = {
21642
21642
  name: "w:tcW",
21643
21643
  attributes: { "w:w": u === "px" ? Te$2(c3) : It$2(c3), "w:type": i3 }
@@ -21661,7 +21661,7 @@ Actual: ` + p3.attribValue
21661
21661
  if (g) {
21662
21662
  const v = {
21663
21663
  name: "w:tcMar",
21664
- elements: _d$2(g)
21664
+ elements: Ld$2(g)
21665
21665
  };
21666
21666
  e.push(v);
21667
21667
  }
@@ -21696,7 +21696,7 @@ Actual: ` + p3.attribValue
21696
21696
  attributes: {
21697
21697
  "w:val": "single",
21698
21698
  "w:color": w.color ? w.color.substring(1) : "auto",
21699
- "w:sz": tu$2(w.size),
21699
+ "w:sz": eu$2(w.size),
21700
21700
  "w:space": w.space || 0
21701
21701
  }
21702
21702
  } : {
@@ -21713,11 +21713,11 @@ Actual: ` + p3.attribValue
21713
21713
  elements: e
21714
21714
  };
21715
21715
  }
21716
- function _d$2(r22) {
21716
+ function Ld$2(r22) {
21717
21717
  const e = [], { top: t, right: n, bottom: i3, left: s } = r22;
21718
21718
  return t != null && e.push({ name: "w:top", attributes: { "w:w": Te$2(t) } }), n != null && e.push({ name: "w:right", attributes: { "w:w": Te$2(n) } }), i3 != null && e.push({ name: "w:bottom", attributes: { "w:w": Te$2(i3) } }), s != null && e.push({ name: "w:left", attributes: { "w:w": Te$2(s) } }), e;
21719
21719
  }
21720
- function qd$2(r22) {
21720
+ function _d$2(r22) {
21721
21721
  const e = {
21722
21722
  name: "w:bookmarkStart",
21723
21723
  attributes: {
@@ -21756,7 +21756,7 @@ Actual: ` + p3.attribValue
21756
21756
  break;
21757
21757
  case "color":
21758
21758
  let s = n.color.replace(/^#/, "").replace(/;$/, "");
21759
- s.startsWith("rgb") && (s = Vf$1(s)), t.attributes["w:val"] = s;
21759
+ s.startsWith("rgb") && (s = Hf$1(s)), t.attributes["w:val"] = s;
21760
21760
  break;
21761
21761
  case "textAlign":
21762
21762
  t.attributes["w:val"] = n.textAlign;
@@ -21773,7 +21773,7 @@ Actual: ` + p3.attribValue
21773
21773
  }
21774
21774
  return t;
21775
21775
  }
21776
- function Md$2(r22) {
21776
+ function qd$2(r22) {
21777
21777
  if (!r22) return {};
21778
21778
  const e = r22.split(";")[0].split("/")[1];
21779
21779
  if (!r22 || e !== "png")
@@ -21787,30 +21787,30 @@ Actual: ` + p3.attribValue
21787
21787
  originalHeight: i3.getInt32(20)
21788
21788
  };
21789
21789
  }
21790
- function Ud$2(r22, e, t, n) {
21790
+ function Md$2(r22, e, t, n) {
21791
21791
  let i3 = r22, s = e, o = Math.min(t / r22, n / e);
21792
21792
  return i3 = Math.round(i3 * o), s = Math.round(s * o), { scaledWidth: i3, scaledHeight: s };
21793
21793
  }
21794
- function lu$2(r22, e) {
21794
+ function uu$2(r22, e) {
21795
21795
  const {
21796
21796
  node: { attrs: t = {}, marks: n = [] },
21797
21797
  tableCell: i3
21798
21798
  } = r22;
21799
21799
  let s = t.rId;
21800
- const o = t.src || t.imageSrc, { originalWidth: a, originalHeight: u } = Md$2(o);
21800
+ const o = t.src || t.imageSrc, { originalWidth: a, originalHeight: u } = qd$2(o);
21801
21801
  let c3 = t.size ? {
21802
21802
  w: mt$1(t.size.width),
21803
21803
  h: mt$1(t.size.height)
21804
21804
  } : e;
21805
21805
  if (a && u) {
21806
- const F3 = Me$2(c3.w), w = Me$2(c3.h), { scaledWidth: B3, scaledHeight: R } = Ud$2(a, u, F3, w);
21806
+ const F3 = Me$2(c3.w), w = Me$2(c3.h), { scaledWidth: B3, scaledHeight: R } = Md$2(a, u, F3, w);
21807
21807
  c3 = {
21808
21808
  w: mt$1(B3),
21809
21809
  h: mt$1(R)
21810
21810
  };
21811
21811
  }
21812
21812
  if (i3) {
21813
- const F3 = i3.attrs.colwidth.reduce((k, q3) => k + q3, 0), w = i3.attrs.cellMargins?.left || 8, B3 = i3.attrs.cellMargins?.right || 8, R = mt$1(F3 - (w + B3)), { width: A3, height: N3 } = Xd$2(c3.w, c3.h, R);
21813
+ const F3 = i3.attrs.colwidth.reduce((k, q3) => k + q3, 0), w = i3.attrs.cellMargins?.left || 8, B3 = i3.attrs.cellMargins?.right || 8, R = mt$1(F3 - (w + B3)), { width: A3, height: N3 } = Kd$2(c3.w, c3.h, R);
21814
21814
  A3 && N3 && (c3 = { w: A3, h: N3 });
21815
21815
  }
21816
21816
  if (r22.node.type === "image" && !s) {
@@ -21819,7 +21819,7 @@ Actual: ` + p3.attribValue
21819
21819
  } else if (r22.node.type === "fieldAnnotation" && !s) {
21820
21820
  const F3 = o?.split(";")[0].split("/")[1];
21821
21821
  if (!F3)
21822
- return cu$2(r22);
21822
+ return lu$2(r22);
21823
21823
  const w = Ri$2(4), B3 = t.fieldId.replace("-", "_"), R = `media/${B3}_${w}.${F3}`;
21824
21824
  s = To$2(r22, R), r22.media[`${B3}_${w}.${F3}`] = o;
21825
21825
  }
@@ -22045,27 +22045,27 @@ Actual: ` + p3.attribValue
22045
22045
  []
22046
22046
  );
22047
22047
  }
22048
- function cu$2(r22) {
22048
+ function lu$2(r22) {
22049
22049
  const {
22050
22050
  node: { attrs: e = {}, marks: t = [] }
22051
- } = r22, n = fu$2(e);
22051
+ } = r22, n = cu$2(e);
22052
22052
  return Br$2(e.displayLabel, [...t, ...n], r22);
22053
22053
  }
22054
- function jd$2(r22) {
22054
+ function Ud$2(r22) {
22055
22055
  const {
22056
22056
  node: { attrs: e = {}, marks: t = [] }
22057
- } = r22, n = Ic$2.decode(e.displayLabel);
22057
+ } = r22, n = Nc$2.decode(e.displayLabel);
22058
22058
  return Br$2(n, t, r22);
22059
22059
  }
22060
- function Hd$2(r22) {
22060
+ function jd$2(r22) {
22061
22061
  const {
22062
22062
  node: { attrs: e = {}, marks: t = [] },
22063
22063
  editorSchema: n
22064
- } = r22, s = new window.DOMParser().parseFromString(e.rawHtml || e.displayLabel, "text/html"), o = fu$2(e), a = [...t, ...o];
22064
+ } = r22, s = new window.DOMParser().parseFromString(e.rawHtml || e.displayLabel, "text/html"), o = cu$2(e), a = [...t, ...o];
22065
22065
  let u = Et$3.create({
22066
22066
  doc: yr$2.fromSchema(n).parse(s)
22067
22067
  });
22068
- a.length && (u = Yd$2(u, a));
22068
+ a.length && (u = Xd$2(u, a));
22069
22069
  const c3 = u.doc.toJSON();
22070
22070
  return {
22071
22071
  name: "htmlAnnotation",
@@ -22076,12 +22076,12 @@ Actual: ` + p3.attribValue
22076
22076
  };
22077
22077
  }
22078
22078
  function ko$3(r22, e) {
22079
- return lu$2(r22, e);
22079
+ return uu$2(r22, e);
22080
22080
  }
22081
- function Vd$2(r22) {
22081
+ function Hd$2(r22) {
22082
22082
  const {
22083
22083
  node: { attrs: e = {}, marks: t = [] }
22084
- } = r22, n = uu$2(r22, e.linkUrl), i3 = Br$2(e.linkUrl, t, r22);
22084
+ } = r22, n = au$2(r22, e.linkUrl), i3 = Br$2(e.linkUrl, t, r22);
22085
22085
  return {
22086
22086
  name: "w:hyperlink",
22087
22087
  type: "element",
@@ -22092,7 +22092,7 @@ Actual: ` + p3.attribValue
22092
22092
  elements: [i3]
22093
22093
  };
22094
22094
  }
22095
- function zd$2(r22) {
22095
+ function Vd$2(r22) {
22096
22096
  const e = {
22097
22097
  w: 4286250,
22098
22098
  h: 4286250
@@ -22101,15 +22101,15 @@ Actual: ` + p3.attribValue
22101
22101
  h: 495e3
22102
22102
  };
22103
22103
  return {
22104
- text: cu$2,
22104
+ text: lu$2,
22105
22105
  image: (i3) => ko$3(i3, e),
22106
22106
  signature: (i3) => ko$3(i3, t),
22107
- checkbox: jd$2,
22108
- html: Hd$2,
22109
- link: Vd$2
22107
+ checkbox: Ud$2,
22108
+ html: jd$2,
22109
+ link: Hd$2
22110
22110
  }[r22];
22111
22111
  }
22112
- const fu$2 = (r22 = {}) => {
22112
+ const cu$2 = (r22 = {}) => {
22113
22113
  const {
22114
22114
  fontFamily: e,
22115
22115
  fontSize: t,
@@ -22119,8 +22119,8 @@ Actual: ` + p3.attribValue
22119
22119
  } = r22, o = [];
22120
22120
  return e && o.push({ type: "fontFamily", attrs: { fontFamily: e } }), t && o.push({ type: "fontSize", attrs: { fontSize: t } }), n && o.push({ type: "bold", attrs: {} }), i3 && o.push({ type: "underline", attrs: {} }), s && o.push({ type: "italic", attrs: {} }), o;
22121
22121
  };
22122
- function Gd$2(r22) {
22123
- const { node: e, isFinalDoc: t } = r22, { attrs: n = {} } = e, i3 = zd$2(n.type);
22122
+ function zd$2(r22) {
22123
+ const { node: e, isFinalDoc: t } = r22, { attrs: n = {} } = e, i3 = Vd$2(n.type);
22124
22124
  if (!i3) return {};
22125
22125
  let s, o;
22126
22126
  if (t)
@@ -22186,7 +22186,7 @@ Actual: ` + p3.attribValue
22186
22186
  ]
22187
22187
  };
22188
22188
  }
22189
- function Wd$2(r22) {
22189
+ function Gd$2(r22) {
22190
22190
  const { node: e = {} } = r22, { attrs: t = {} } = e, { pageBreakSource: n } = t;
22191
22191
  return n === "sectPr" ? null : {
22192
22192
  name: "w:r",
@@ -22197,7 +22197,7 @@ Actual: ` + p3.attribValue
22197
22197
  }]
22198
22198
  };
22199
22199
  }
22200
- function Jd$2(r22) {
22200
+ function Wd$2(r22) {
22201
22201
  const { node: e } = r22, t = dt$1(r22), n = {
22202
22202
  name: "v:shape",
22203
22203
  attributes: {
@@ -22223,7 +22223,7 @@ Actual: ` + p3.attribValue
22223
22223
  elements: [Zt$3(i3)]
22224
22224
  };
22225
22225
  }
22226
- function $d$2(r22) {
22226
+ function Jd$2(r22) {
22227
22227
  const { node: e } = r22, n = {
22228
22228
  name: "w:txbxContent",
22229
22229
  elements: dt$1(r22)
@@ -22236,7 +22236,7 @@ Actual: ` + p3.attribValue
22236
22236
  elements: [n]
22237
22237
  };
22238
22238
  }
22239
- function Kd$2(r22) {
22239
+ function $d$2(r22) {
22240
22240
  const { node: e } = r22, { drawingContent: t } = e.attrs, n = {
22241
22241
  name: "w:drawing",
22242
22242
  elements: [
@@ -22255,17 +22255,17 @@ Actual: ` + p3.attribValue
22255
22255
  })]
22256
22256
  };
22257
22257
  }
22258
- var nt$2, du$2, hi$2, gi$2;
22258
+ var nt$2, fu$2, hi$2, gi$2;
22259
22259
  let No$1 = class No {
22260
22260
  constructor(e) {
22261
22261
  Ir$1(this, nt$2);
22262
22262
  this.converter = e;
22263
22263
  }
22264
22264
  schemaToXml(e, t = false) {
22265
- return Ke(this, nt$2, du$2).call(this, e, t).join("");
22265
+ return Ke(this, nt$2, fu$2).call(this, e, t).join("");
22266
22266
  }
22267
22267
  };
22268
- nt$2 = /* @__PURE__ */ new WeakSet(), du$2 = function(e, t = falase) {
22268
+ nt$2 = /* @__PURE__ */ new WeakSet(), fu$2 = function(e, t = falase) {
22269
22269
  const n = JSON.parse(JSON.stringify(e)), i3 = this.converter.declaration.attributes, s = `<?xml${Object.entries(i3).map(([u, c3]) => ` ${u}="${c3}"`).join("")}?>`, o = Ke(this, nt$2, gi$2).call(this, n, t);
22270
22270
  return [s, ...o];
22271
22271
  }, hi$2 = function(e) {
@@ -22303,14 +22303,14 @@ Actual: ` + p3.attribValue
22303
22303
  }
22304
22304
  return a || u.push(`</${n}>`), u;
22305
22305
  };
22306
- function Xd$2(r22, e, t) {
22306
+ function Kd$2(r22, e, t) {
22307
22307
  if (r22 > t) {
22308
22308
  let n = t / r22, i3 = Math.round(e * n);
22309
22309
  return { width: t, height: i3 };
22310
22310
  }
22311
22311
  return { width: r22, height: e };
22312
22312
  }
22313
- function Yd$2(r22, e) {
22313
+ function Xd$2(r22, e) {
22314
22314
  const { tr: t, doc: n, schema: i3 } = r22, s = ["fontFamily", "fontSize"];
22315
22315
  if (!e.some((u) => s.includes(u.type)))
22316
22316
  return r22;
@@ -22334,22 +22334,22 @@ Actual: ` + p3.attribValue
22334
22334
  }));
22335
22335
  }), r22.apply(t);
22336
22336
  }
22337
- const Zd$2 = '<w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:cx="http://schemas.microsoft.com/office/drawing/2014/chartex" xmlns:cx1="http://schemas.microsoft.com/office/drawing/2015/9/8/chartex" xmlns:cx2="http://schemas.microsoft.com/office/drawing/2015/10/21/chartex" xmlns:cx3="http://schemas.microsoft.com/office/drawing/2016/5/9/chartex" xmlns:cx4="http://schemas.microsoft.com/office/drawing/2016/5/10/chartex" xmlns:cx5="http://schemas.microsoft.com/office/drawing/2016/5/11/chartex" xmlns:cx6="http://schemas.microsoft.com/office/drawing/2016/5/12/chartex" xmlns:cx7="http://schemas.microsoft.com/office/drawing/2016/5/13/chartex" xmlns:cx8="http://schemas.microsoft.com/office/drawing/2016/5/14/chartex" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:aink="http://schemas.microsoft.com/office/drawing/2016/ink" xmlns:am3d="http://schemas.microsoft.com/office/drawing/2017/model3d" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:oel="http://schemas.microsoft.com/office/2019/extlst" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex" xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid" xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" xmlns:w16sdtdh="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 w16se w16cid w16 w16cex w16sdtdh wp14"><w:body></w:body></w:document>', Qd$2 = (r22) => JSON.parse(xa$2.xml2json(r22, null, 2)), em$1 = (r22, e = Zd$2) => r22["word/document.xml"] || Qd$2(e), tm$1 = (r22) => {
22337
+ const Yd$2 = '<w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:cx="http://schemas.microsoft.com/office/drawing/2014/chartex" xmlns:cx1="http://schemas.microsoft.com/office/drawing/2015/9/8/chartex" xmlns:cx2="http://schemas.microsoft.com/office/drawing/2015/10/21/chartex" xmlns:cx3="http://schemas.microsoft.com/office/drawing/2016/5/9/chartex" xmlns:cx4="http://schemas.microsoft.com/office/drawing/2016/5/10/chartex" xmlns:cx5="http://schemas.microsoft.com/office/drawing/2016/5/11/chartex" xmlns:cx6="http://schemas.microsoft.com/office/drawing/2016/5/12/chartex" xmlns:cx7="http://schemas.microsoft.com/office/drawing/2016/5/13/chartex" xmlns:cx8="http://schemas.microsoft.com/office/drawing/2016/5/14/chartex" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:aink="http://schemas.microsoft.com/office/drawing/2016/ink" xmlns:am3d="http://schemas.microsoft.com/office/drawing/2017/model3d" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:oel="http://schemas.microsoft.com/office/2019/extlst" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex" xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid" xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" xmlns:w16sdtdh="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 w16se w16cid w16 w16cex w16sdtdh wp14"><w:body></w:body></w:document>', Zd$2 = (r22) => JSON.parse(ba$2.xml2json(r22, null, 2)), Qd$2 = (r22, e = Yd$2) => r22["word/document.xml"] || Zd$2(e), em$1 = (r22) => {
22338
22338
  const { nodes: e } = r22;
22339
22339
  if (e.length === 0)
22340
22340
  return { nodes: [], consumed: 0 };
22341
22341
  const t = e[0];
22342
22342
  switch (t.name) {
22343
22343
  case "w:tbl":
22344
- return { nodes: [nm$1(t, r22)], consumed: 1 };
22344
+ return { nodes: [rm$1(t, r22)], consumed: 1 };
22345
22345
  }
22346
22346
  return { nodes: [], consumed: 0 };
22347
- }, rm$1 = {
22347
+ }, tm$1 = {
22348
22348
  handlerName: "tableNodeHandler",
22349
- handler: tm$1
22349
+ handler: em$1
22350
22350
  };
22351
- function nm$1(r22, e) {
22352
- const { docx: t, nodeListHandler: n } = e, i3 = r22.elements.find((N3) => N3.name === "w:tblPr"), o = i3.elements.find((N3) => N3.name === "w:tblBorders")?.elements || [], { borders: a, rowBorders: u } = pu$2(o), c3 = i3.elements.find((N3) => N3.name === "w:tblStyle"), h3 = { tableStyleId: c3?.attributes["w:val"] }, g = i3?.elements.find((N3) => N3.name === "w:tblInd");
22351
+ function rm$1(r22, e) {
22352
+ const { docx: t, nodeListHandler: n } = e, i3 = r22.elements.find((N3) => N3.name === "w:tblPr"), o = i3.elements.find((N3) => N3.name === "w:tblBorders")?.elements || [], { borders: a, rowBorders: u } = mu$2(o), c3 = i3.elements.find((N3) => N3.name === "w:tblStyle"), h3 = { tableStyleId: c3?.attributes["w:val"] }, g = i3?.elements.find((N3) => N3.name === "w:tblInd");
22353
22353
  if (g) {
22354
22354
  const { "w:w": N3, "w:type": k } = g.attributes;
22355
22355
  h3.tableIndent = { width: be$2(N3), type: k };
@@ -22359,7 +22359,7 @@ Actual: ` + p3.attribValue
22359
22359
  const { "w:type": N3 } = E3.attributes;
22360
22360
  h3.tableLayout = N3;
22361
22361
  }
22362
- const D3 = mu$2(c3, t), v = i3.elements.find((N3) => N3.name === "w:tblW");
22362
+ const D3 = du$2(c3, t), v = i3.elements.find((N3) => N3.name === "w:tblW");
22363
22363
  v && (h3.tableWidth = {
22364
22364
  width: be$2(v.attributes["w:w"]),
22365
22365
  type: v.attributes["w:type"]
@@ -22373,7 +22373,7 @@ Actual: ` + p3.attribValue
22373
22373
  h3.borders = B3;
22374
22374
  const A3 = [];
22375
22375
  return w.forEach((N3) => {
22376
- const k = om$1(N3, r22, R, c3, e);
22376
+ const k = sm$1(N3, r22, R, c3, e);
22377
22377
  k.content?.length && A3.push(k);
22378
22378
  }), {
22379
22379
  type: "table",
@@ -22381,15 +22381,15 @@ Actual: ` + p3.attribValue
22381
22381
  attrs: h3
22382
22382
  };
22383
22383
  }
22384
- function im$1(r22, e, t, n, i3 = null, s, o, a) {
22385
- const { docx: u, nodeListHandler: c3 } = o, l = r22.elements.find((se2) => se2.name === "w:tcPr"), h3 = l?.elements?.find((se2) => se2.name === "w:tcBorders"), g = sm$1(h3, n), E3 = hu$2(t), D3 = l?.elements?.find((se2) => se2.name === "w:tcW");
22384
+ function nm$1(r22, e, t, n, i3 = null, s, o, a) {
22385
+ const { docx: u, nodeListHandler: c3 } = o, l = r22.elements.find((se2) => se2.name === "w:tcPr"), h3 = l?.elements?.find((se2) => se2.name === "w:tcBorders"), g = im$1(h3, n), E3 = pu$2(t), D3 = l?.elements?.find((se2) => se2.name === "w:tcW");
22386
22386
  let v = D3 ? be$2(D3.attributes["w:w"]) : null;
22387
22387
  const F3 = D3?.attributes["w:type"];
22388
22388
  !v && i3 && (v = i3);
22389
22389
  const w = Io$2(r22), { attributes: B3 } = w || {}, A3 = {
22390
22390
  color: l?.elements?.find((se2) => se2.name === "w:shd")?.attributes["w:fill"]
22391
- }, k = l?.elements?.find((se2) => se2.name === "w:gridSpan")?.attributes["w:val"], q3 = l?.elements?.find((se2) => se2.name === "w:tcMar"), C3 = l?.elements?.find((se2) => se2.name === "w:vAlign")?.attributes["w:val"] || "top", J3 = {}, oe2 = mu$2(s, u) || {};
22392
- J3.cellMargins = am$1(q3, oe2);
22391
+ }, k = l?.elements?.find((se2) => se2.name === "w:gridSpan")?.attributes["w:val"], q3 = l?.elements?.find((se2) => se2.name === "w:tcMar"), C3 = l?.elements?.find((se2) => se2.name === "w:vAlign")?.attributes["w:val"] || "top", J3 = {}, oe2 = du$2(s, u) || {};
22392
+ J3.cellMargins = om$1(q3, oe2);
22393
22393
  const { fontSize: Z3, fonts: fe2 = {} } = oe2, de = fe2.ascii;
22394
22394
  if (v) {
22395
22395
  J3.colwidth = [v], J3.widthUnit = "px";
@@ -22428,14 +22428,14 @@ Actual: ` + p3.attribValue
22428
22428
  const i3 = {}, s = n["w:color"];
22429
22429
  s && (i3.color = s === "auto" ? "#000000" : `#${s}`);
22430
22430
  const o = n["w:sz"];
22431
- return o && (i3.size = eu$2(o)), i3;
22431
+ return o && (i3.size = Qa$2(o)), i3;
22432
22432
  }
22433
22433
  if (n && n["w:val"] === "nil") {
22434
22434
  const i3 = Object.assign({}, t[e] || {});
22435
22435
  return Object.keys(i3) ? (i3.val = "none", i3) : null;
22436
22436
  }
22437
22437
  return null;
22438
- }, sm$1 = (r22, e) => {
22438
+ }, im$1 = (r22, e) => {
22439
22439
  if (!r22) return null;
22440
22440
  const t = {}, n = or$2(r22, "bottom", e);
22441
22441
  n && (t.bottom = n);
@@ -22446,7 +22446,7 @@ Actual: ` + p3.attribValue
22446
22446
  const o = or$2(r22, "right", e);
22447
22447
  return o && (t.right = o), t;
22448
22448
  };
22449
- function mu$2(r22, e, t) {
22449
+ function du$2(r22, e, t) {
22450
22450
  if (!r22) return null;
22451
22451
  const n = {}, { attributes: i3 = {} } = r22, s = i3["w:val"];
22452
22452
  if (!s) return null;
@@ -22473,12 +22473,12 @@ Actual: ` + p3.attribValue
22473
22473
  n.fonts = { ascii: w, hAnsi: B3, cs: R };
22474
22474
  }
22475
22475
  const F3 = E3.elements.find((w) => w.name === "w:sz");
22476
- F3?.attributes && (n.fontSize = _f$1(F3.attributes["w:val"]) + "pt");
22476
+ F3?.attributes && (n.fontSize = Lf$2(F3.attributes["w:val"]) + "pt");
22477
22477
  }
22478
22478
  const D3 = c3.elements.find((v) => v.name === "w:tblPr");
22479
22479
  if (D3 && D3.elements) {
22480
22480
  h3 && h3.elements && D3.elements.push(...h3.elements);
22481
- const v = D3?.elements?.find((A3) => A3.name === "w:tblBorders"), { elements: F3 = [] } = v || {}, { borders: w, rowBorders: B3 } = pu$2(F3);
22481
+ const v = D3?.elements?.find((A3) => A3.name === "w:tblBorders"), { elements: F3 = [] } = v || {}, { borders: w, rowBorders: B3 } = mu$2(F3);
22482
22482
  w && (n.borders = w), B3 && (n.rowBorders = B3);
22483
22483
  const R = D3?.elements.find((A3) => A3.name === "w:tblCellMar");
22484
22484
  if (R) {
@@ -22493,32 +22493,32 @@ Actual: ` + p3.attribValue
22493
22493
  }
22494
22494
  return n;
22495
22495
  }
22496
- function pu$2(r22) {
22496
+ function mu$2(r22) {
22497
22497
  const e = {}, t = {};
22498
22498
  return r22.forEach((n) => {
22499
22499
  const { name: i3 } = n, s = i3.split("w:")[1], { attributes: o } = n, a = {}, u = o["w:color"], c3 = o["w:sz"];
22500
- u && u !== "auto" && (a.color = u.startsWith("#") ? u : `#${u}`), c3 && c3 !== "auto" && (a.size = eu$2(c3)), ["insideH", "insideV"].includes(s) && (t[s] = a), e[s] = a;
22500
+ u && u !== "auto" && (a.color = u.startsWith("#") ? u : `#${u}`), c3 && c3 !== "auto" && (a.size = Qa$2(c3)), ["insideH", "insideV"].includes(s) && (t[s] = a), e[s] = a;
22501
22501
  }), {
22502
22502
  borders: e,
22503
22503
  rowBorders: t
22504
22504
  };
22505
22505
  }
22506
- function om$1(r22, e, t, n, i3) {
22506
+ function sm$1(r22, e, t, n, i3) {
22507
22507
  const s = {}, a = r22.elements.find((D3) => D3.name === "w:trPr")?.elements?.find((D3) => D3.name === "w:trHeight"), u = a?.attributes["w:val"];
22508
22508
  a?.attributes["w:hRule"];
22509
22509
  const c3 = {};
22510
22510
  t?.insideH && (c3.bottom = t.insideH), t?.insideV && (c3.right = t.insideV), s.borders = c3, u && (s.rowHeight = be$2(u));
22511
- const l = hu$2(e), h3 = r22.elements.filter((D3) => D3.name === "w:tc");
22511
+ const l = pu$2(e), h3 = r22.elements.filter((D3) => D3.name === "w:tc");
22512
22512
  return {
22513
22513
  type: "tableRow",
22514
22514
  content: h3?.map((D3, v) => {
22515
22515
  const F3 = h3.length > 1 ? l[v] : null;
22516
- return im$1(D3, r22, e, c3, F3, n, i3, v);
22516
+ return nm$1(D3, r22, e, c3, F3, n, i3, v);
22517
22517
  }) || [],
22518
22518
  attrs: s
22519
22519
  };
22520
22520
  }
22521
- const am$1 = (r22, e) => {
22521
+ const om$1 = (r22, e) => {
22522
22522
  const t = r22?.elements?.find((F3) => F3.name === "w:left"), n = r22?.elements?.find((F3) => F3.name === "w:right"), i3 = r22?.elements?.find((F3) => F3.name === "w:top"), s = r22?.elements?.find((F3) => F3.name === "w:bottom"), o = t?.attributes["w:w"], a = n?.attributes["w:w"], u = i3?.attributes["w:w"], c3 = s?.attributes["w:w"], { cellMargins: l = {} } = e, {
22523
22523
  marginLeft: h3,
22524
22524
  marginRight: g,
@@ -22531,7 +22531,7 @@ Actual: ` + p3.attribValue
22531
22531
  top: be$2(u ?? E3),
22532
22532
  bottom: be$2(c3 ?? D3)
22533
22533
  };
22534
- }, hu$2 = (r22) => r22.elements.find((t) => t.name === "w:tblGrid")?.elements?.flatMap((t) => t.name !== "w:gridCol" ? [] : be$2(t.attributes["w:w"])) || [], um$1 = (r22) => {
22534
+ }, pu$2 = (r22) => r22.elements.find((t) => t.name === "w:tblGrid")?.elements?.flatMap((t) => t.name !== "w:gridCol" ? [] : be$2(t.attributes["w:w"])) || [], am$1 = (r22) => {
22535
22535
  const { nodes: e, filename: t } = r22, n = ["w:drawing", "w:p"];
22536
22536
  if (e.length === 0 || !n.includes(e[0].name))
22537
22537
  return { nodes: [], consumed: 0 };
@@ -22555,7 +22555,7 @@ Actual: ` + p3.attribValue
22555
22555
  height: Me$2(o.attributes?.cy)
22556
22556
  }, c3 = r22.elements.find((_) => _.name === "a:graphic").elements.find((_) => _.name === "a:graphicData"), { uri: l } = c3?.attributes;
22557
22557
  if (l && l === "http://schemas.microsoft.com/office/word/2010/wordprocessingShape")
22558
- return lm$1(t, r22, c3);
22558
+ return um$1(t, r22, c3);
22559
22559
  const g = c3.elements.find((_) => _.name === "pic:pic");
22560
22560
  if (!g || !g.elements) return null;
22561
22561
  const D3 = g.elements.find((_) => _.name === "pic:blipFill").elements.find((_) => _.name === "a:blip"), v = r22.elements.find((_) => _.name === "wp:positionH"), F3 = v?.elements.find((_) => _.name === "wp:posOffset"), w = Me$2(F3?.elements[0]?.text), B3 = v?.attributes.relativeFrom, R = v?.elements.find((_) => _.name === "wp:align")?.elements[0]?.text, A3 = r22.elements.find((_) => _.name === "wp:positionV"), N3 = A3?.elements.find((_) => _.name === "wp:posOffset"), k = Me$2(N3?.elements[0]?.text), q3 = A3?.attributes.relativeFrom, U = A3?.elements.find((_) => _.name === "wp:align")?.elements[0]?.text, C3 = r22.elements.find((_) => _.name === "wp:simplePos"), J3 = r22.elements.find((_) => _.name === "wp:wrapSquare"), oe2 = r22.elements.find((_) => _.name === "wp:wrapTopAndBottom"), Z3 = r22.elements.find((_) => _.name === "wp:docPr");
@@ -22606,12 +22606,12 @@ Actual: ` + p3.attribValue
22606
22606
  }
22607
22607
  };
22608
22608
  }
22609
- const lm$1 = (r22, e, t) => {
22609
+ const um$1 = (r22, e, t) => {
22610
22610
  const n = t.elements.find((l) => l.name === "wps:wsp"), s = n.elements.find((l) => l.name === "wps:txbx")?.elements?.find((l) => l.name === "w:txbxContent");
22611
22611
  e.elements.find((l) => l.name === "wp:docPr");
22612
22612
  const o = n.elements.find((l) => l.name === "wps:spPr"), a = o?.elements.find((l) => l.name === "a:prstGeom");
22613
22613
  if (a && a.attributes.prst === "rect")
22614
- return cm$1(r22, o);
22614
+ return lm$1(r22, o);
22615
22615
  if (!s)
22616
22616
  return null;
22617
22617
  const { nodeListHandler: u } = r22;
@@ -22620,7 +22620,7 @@ Actual: ` + p3.attribValue
22620
22620
  node: s.elements[0],
22621
22621
  nodes: s.elements
22622
22622
  })[0];
22623
- }, cm$1 = (r22, e) => {
22623
+ }, lm$1 = (r22, e) => {
22624
22624
  const t = {}, [n] = r22.nodes;
22625
22625
  n?.name === "w:drawing" && (t.drawingContent = n);
22626
22626
  const i3 = e.elements.find((l) => l.name === "a:xfrm"), s = i3.elements.find((l) => l.name === "a:off"), o = i3.elements.find((l) => l.name === "a:ext");
@@ -22637,9 +22637,9 @@ Actual: ` + p3.attribValue
22637
22637
  type: "contentBlock",
22638
22638
  attrs: t
22639
22639
  };
22640
- }, fm$1 = {
22640
+ }, cm$1 = {
22641
22641
  handlerName: "drawingNodeHandler",
22642
- handler: um$1
22642
+ handler: am$1
22643
22643
  };
22644
22644
  function Rt(r22, e = [], t = null) {
22645
22645
  const n = [], i3 = /* @__PURE__ */ new Set();
@@ -22664,7 +22664,7 @@ Actual: ` + p3.attribValue
22664
22664
  const { attributes: u = {} } = s, c3 = { type: a.type };
22665
22665
  if (!(u["w:val"] == "0" || u["w:val"] === "none")) {
22666
22666
  if (a.mark && (c3.type = a.mark), Object.keys(u).length) {
22667
- const l = mm$1(a.type, u, t);
22667
+ const l = dm$1(a.type, u, t);
22668
22668
  if (l == null) return;
22669
22669
  c3.attrs = {}, c3.attrs[a.property] = l;
22670
22670
  }
@@ -22673,7 +22673,7 @@ Actual: ` + p3.attribValue
22673
22673
  });
22674
22674
  }), wi$2(n);
22675
22675
  }
22676
- function dm$1(r22, e) {
22676
+ function fm$1(r22, e) {
22677
22677
  const t = r22.elements?.find((o) => o.name === "w:rPrChange");
22678
22678
  if (!t)
22679
22679
  return [];
@@ -22694,25 +22694,25 @@ Actual: ` + p3.attribValue
22694
22694
  });
22695
22695
  }), [...t, { type: "textStyle", attrs: n }];
22696
22696
  }
22697
- function mm$1(r22, e, t) {
22697
+ function dm$1(r22, e, t) {
22698
22698
  r22 === "tabs" && (r22 = "textIndent");
22699
22699
  const n = {
22700
22700
  color: () => `#${e["w:val"]}`,
22701
22701
  fontSize: () => `${e["w:val"] / 2}pt`,
22702
- textIndent: () => hm$1(e),
22703
- fontFamily: () => pm$1(e, t),
22704
- lineHeight: () => gm$1(e),
22702
+ textIndent: () => pm$1(e),
22703
+ fontFamily: () => mm$1(e, t),
22704
+ lineHeight: () => hm$1(e),
22705
22705
  textAlign: () => e["w:val"],
22706
22706
  link: () => e.href,
22707
22707
  underline: () => e["w:val"],
22708
22708
  bold: () => e?.["w:val"] || null,
22709
22709
  italic: () => e?.["w:val"] || null,
22710
- highlight: () => wm$1(e)
22710
+ highlight: () => gm$1(e)
22711
22711
  };
22712
22712
  if (r22 in n || console.debug("❗️❗️ No value mapper for:", r22, "Attributes:", e), r22 in n)
22713
22713
  return n[r22], n[r22]();
22714
22714
  }
22715
- function pm$1(r22, e) {
22715
+ function mm$1(r22, e) {
22716
22716
  const t = r22["w:ascii"], n = r22["w:asciiTheme"];
22717
22717
  if (!e || !n) return t;
22718
22718
  const i3 = e["word/theme/theme1.xml"];
@@ -22720,21 +22720,21 @@ Actual: ` + p3.attribValue
22720
22720
  const { elements: s } = i3, { elements: o } = s[0];
22721
22721
  return o.find((g) => g.name === "a:themeElements").elements.find((g) => g.name === "a:fontScheme").elements.find((g) => g.name === "a:majorFont").elements.find((g) => g.name === "a:latin").attributes.typeface;
22722
22722
  }
22723
- function hm$1(r22) {
22723
+ function pm$1(r22) {
22724
22724
  let e = r22["w:left"];
22725
22725
  return e ? `${qe$3(e)}in` : null;
22726
22726
  }
22727
- function gm$1(r22) {
22727
+ function hm$1(r22) {
22728
22728
  const e = r22["w:line"], t = r22["w:lineRule"];
22729
- return !e || e === "0" ? null : t === "exact" ? `${ru$2(e)}pt` : `${Ii$2(e)}`;
22729
+ return !e || e === "0" ? null : t === "exact" ? `${tu$2(e)}pt` : `${Ii$2(e)}`;
22730
22730
  }
22731
- function wm$1(r22) {
22731
+ function gm$1(r22) {
22732
22732
  const e = r22["w:fill"];
22733
- return e && e !== "auto" ? `#${e}` : jf$1(r22?.["w:val"]) ? `#${r22["w:val"]}` : Uf$1(r22?.["w:val"]) || null;
22733
+ return e && e !== "auto" ? `#${e}` : Uf$1(r22?.["w:val"]) ? `#${r22["w:val"]}` : Mf$2(r22?.["w:val"]) || null;
22734
22734
  }
22735
22735
  function bt$3(r22, e) {
22736
- const t = [], n = [], { attributes: i3 = {}, elements: s = [] } = r22, { nodes: o, paragraphProperties: a = {}, runProperties: u = {} } = ym$1(s);
22737
- return s.find((l) => l.name === "w:r") && (a.elements = a?.elements?.filter((l) => l.name !== "w:rPr")), u && u?.elements?.length && t.push(...Rt(u, n)), a && a.elements?.length && t.push(...Rt(a, n)), t.push(...dm$1(u, t)), a && a.elements?.length && (i3.paragraphProperties = a), t && r22.name === "w:p" && t.forEach((l) => {
22736
+ const t = [], n = [], { attributes: i3 = {}, elements: s = [] } = r22, { nodes: o, paragraphProperties: a = {}, runProperties: u = {} } = wm$1(s);
22737
+ return s.find((l) => l.name === "w:r") && (a.elements = a?.elements?.filter((l) => l.name !== "w:rPr")), u && u?.elements?.length && t.push(...Rt(u, n)), a && a.elements?.length && t.push(...Rt(a, n)), t.push(...fm$1(u, t)), a && a.elements?.length && (i3.paragraphProperties = a), t && r22.name === "w:p" && t.forEach((l) => {
22738
22738
  const h3 = Object.keys(l.attrs ?? {})[0];
22739
22739
  if (h3) {
22740
22740
  const g = l.attrs[h3];
@@ -22742,7 +22742,7 @@ Actual: ` + p3.attribValue
22742
22742
  }
22743
22743
  }), { elements: o, attributes: i3, marks: t, unknownMarks: n };
22744
22744
  }
22745
- function ym$1(r22) {
22745
+ function wm$1(r22) {
22746
22746
  const e = r22.find((s) => s.name === "w:pPr"), t = r22.find((s) => s.name === "w:rPr"), n = r22.find((s) => s.name === "w:sectPr");
22747
22747
  return {
22748
22748
  nodes: r22.filter((s) => s.name !== "w:pPr" && s.name !== "w:rPr" && s.name !== "w:sectPr"),
@@ -22754,11 +22754,11 @@ Actual: ` + p3.attribValue
22754
22754
  function fr(r22) {
22755
22755
  return Ot$1.allowedElements[r22.name || r22.type];
22756
22756
  }
22757
- const bm$1 = (r22) => !!Ot$1.propertyTypes[r22.name || r22.type];
22758
- function gu$2(r22) {
22757
+ const ym$1 = (r22) => !!Ot$1.propertyTypes[r22.name || r22.type];
22758
+ function hu$2(r22) {
22759
22759
  return r22.filter((n) => n.name === "w:r").some((n) => n.elements.some((i3) => i3.name === "w:t"));
22760
22760
  }
22761
- const xm$1 = (r22) => {
22761
+ const bm$1 = (r22) => {
22762
22762
  const { nodes: e, nodeListHandler: t } = r22;
22763
22763
  if (e.length === 0 || !(e[0].name === "w:del" || e[0].name === "w:ins" || e[0].name === "w:sdt"))
22764
22764
  return { nodes: [], consumed: 0 };
@@ -22781,10 +22781,10 @@ Actual: ` + p3.attribValue
22781
22781
  return u.forEach((h3) => {
22782
22782
  h3.marks === void 0 && (h3.marks = []), h3.marks.push({ type: c3, attrs: l });
22783
22783
  }), { nodes: u, consumed: 1 };
22784
- }, Am$1 = {
22784
+ }, xm$1 = {
22785
22785
  handlerName: "trackChangeNodeHandler",
22786
- handler: xm$1
22787
- }, Dm$1 = (r22) => {
22786
+ handler: bm$1
22787
+ }, Am$1 = (r22) => {
22788
22788
  const { nodes: e, docx: t, nodeListHandler: n } = r22;
22789
22789
  if (e.length === 0 || e[0].name !== "w:hyperlink")
22790
22790
  return { nodes: [], consumed: 0 };
@@ -22803,16 +22803,16 @@ Actual: ` + p3.attribValue
22803
22803
  }
22804
22804
  }
22805
22805
  return { nodes: n.handler({ ...r22, nodes: D3 }), consumed: 1 };
22806
- }, vm$1 = {
22806
+ }, Dm$1 = {
22807
22807
  handlerName: "hyperlinkNodeHandler",
22808
- handler: Dm$1
22809
- }, Em$1 = (r22) => {
22808
+ handler: Am$1
22809
+ }, vm$1 = (r22) => {
22810
22810
  const { nodes: e, nodeListHandler: t, parentStyleId: n, docx: i3 } = r22;
22811
22811
  if (e.length === 0 || e[0].name !== "w:r")
22812
22812
  return { nodes: [], consumed: 0 };
22813
22813
  const s = e[0], o = { ...r22, nodes: s.elements };
22814
22814
  let a = t.handler(o)?.filter((l) => l) || [];
22815
- const u = s.elements?.some((l) => l.name === "w:rPr"), c3 = Cm$1(i3, n);
22815
+ const u = s.elements?.some((l) => l.name === "w:rPr"), c3 = Em$1(i3, n);
22816
22816
  if (u) {
22817
22817
  const { marks: l = [], attributes: h3 = {} } = bt$3(s), g = l.find((v) => v.type === "textStyle"), E3 = g && Object.keys(g.attrs).length > 0;
22818
22818
  c3.marks && !E3 && l.push(...c3.marks), s.marks && l.push(...s.marks);
@@ -22823,16 +22823,16 @@ Actual: ` + p3.attribValue
22823
22823
  });
22824
22824
  } else c3.marks && (a = a.map((l) => ({ ...l, marks: wi$2(c3.marks) })));
22825
22825
  return { nodes: a, consumed: 1 };
22826
- }, Cm$1 = (r22, e) => {
22826
+ }, Em$1 = (r22, e) => {
22827
22827
  const t = r22?.["word/styles.xml"];
22828
22828
  if (!t)
22829
22829
  return {};
22830
22830
  const i3 = t.elements[0].elements.filter((s) => s.name === "w:style").find((s) => s.attributes["w:styleId"] === e) || {};
22831
22831
  return i3 ? bt$3(i3) : {};
22832
- }, Sm$1 = {
22832
+ }, Cm$1 = {
22833
22833
  handlerName: "runNodeHandler",
22834
- handler: Em$1
22835
- }, Tm$1 = (r22) => {
22834
+ handler: vm$1
22835
+ }, Sm$1 = (r22) => {
22836
22836
  const { nodes: e, insideTrackChange: t } = r22;
22837
22837
  if (e.length === 0 || !(e[0].name === "w:t" || t && e[0].name === "w:delText"))
22838
22838
  return { nodes: [], consumed: 0 };
@@ -22853,52 +22853,52 @@ Actual: ` + p3.attribValue
22853
22853
  ],
22854
22854
  consumed: 1
22855
22855
  };
22856
- }, Fm$1 = {
22856
+ }, Tm$1 = {
22857
22857
  handlerName: "textNodeHandler",
22858
- handler: Tm$1
22859
- }, wu$2 = (r22) => {
22858
+ handler: Sm$1
22859
+ }, gu$2 = (r22) => {
22860
22860
  if (!r22 || !Array.isArray(r22))
22861
22861
  return r22;
22862
22862
  let e = [], t = null;
22863
22863
  for (let n of r22)
22864
- n.type === "text" ? t && Bm$1(t, n) ? t = {
22864
+ n.type === "text" ? t && Fm$1(t, n) ? t = {
22865
22865
  ...t,
22866
22866
  text: t.text += n.text
22867
22867
  } : (t && e.push(t), t = { ...n }) : (t && (e.push(t), t = null), e.push(n));
22868
22868
  return t && e.push(t), e;
22869
- }, Bm$1 = (r22, e) => {
22869
+ }, Fm$1 = (r22, e) => {
22870
22870
  if (!r22 || !e) return false;
22871
22871
  let t = r22.marks ?? [], n = e.marks ?? [];
22872
22872
  if (t.length !== n.length)
22873
22873
  return false;
22874
22874
  for (let i3 = 0; i3 < t.length; i3++)
22875
- if (t[i3].attrs || (t[i3].attrs = {}), n[i3].attrs || (n[i3].attrs = {}), t[i3].type !== n[i3].type || Object.keys(t[i3].attrs).length !== Object.keys(n[i3].attrs).length || !km$1(t[i3].attrs, n[i3].attrs))
22875
+ if (t[i3].attrs || (t[i3].attrs = {}), n[i3].attrs || (n[i3].attrs = {}), t[i3].type !== n[i3].type || Object.keys(t[i3].attrs).length !== Object.keys(n[i3].attrs).length || !Bm$1(t[i3].attrs, n[i3].attrs))
22876
22876
  return false;
22877
22877
  return true;
22878
- }, km$1 = (r22 = {}, e = {}) => Rf$1(r22, e), Nm$1 = (r22) => {
22878
+ }, Bm$1 = (r22 = {}, e = {}) => If$1(r22, e), km$1 = (r22) => {
22879
22879
  const { nodes: e, lists: t, docx: n } = r22;
22880
22880
  if (e.length === 0 || e[0].name !== "w:p")
22881
22881
  return { nodes: [], consumed: 0 };
22882
- const i3 = He$2(e[0]), s = vu$2(i3.elements);
22882
+ const i3 = He$2(e[0]), s = Du$2(i3.elements);
22883
22883
  i3.elements = s;
22884
22884
  const o = i3.elements.find((a) => a.name === "w:pPr");
22885
22885
  if (yi$2(i3, n)) {
22886
22886
  const a = He$2(e), u = [];
22887
22887
  let c3 = a.shift();
22888
22888
  for (; c3 && yi$2(c3, n); )
22889
- u.push(c3), c3 = a.shift(), c3?.elements && !gu$2(c3.elements) && (u.push(c3), c3 = a.shift());
22889
+ u.push(c3), c3 = a.shift(), c3?.elements && !hu$2(c3.elements) && (u.push(c3), c3 = a.shift());
22890
22890
  return {
22891
- nodes: [yu$2({ listItems: u, params: r22, originalPpr: o })],
22891
+ nodes: [wu$2({ listItems: u, params: r22, originalPpr: o })],
22892
22892
  consumed: u.filter((h3) => h3.seen).length,
22893
22893
  lists: t
22894
22894
  };
22895
22895
  } else
22896
22896
  return { nodes: [], consumed: 0, lists: t };
22897
- }, Im$1 = {
22897
+ }, Nm$1 = {
22898
22898
  handlerName: "listHandler",
22899
- handler: Nm$1
22899
+ handler: km$1
22900
22900
  };
22901
- function yu$2({
22901
+ function wu$2({
22902
22902
  listItems: r22,
22903
22903
  originalPpr: e,
22904
22904
  params: t,
@@ -22916,11 +22916,11 @@ Actual: ` + p3.attribValue
22916
22916
  if (!D3)
22917
22917
  return console.error("Standard node handler not found"), { nodes: [], consumed: 0 };
22918
22918
  const w = r22[0].elements.find((N3) => N3.name === "w:pPr")?.elements?.find((N3) => N3.name === "w:pStyle")?.attributes["w:val"], B3 = Nr({ node: r22[0], styleId: w, docx: u });
22919
- s = Pt$2(B3), i3 = parseInt(B3?.elements?.find((N3) => N3.name === "w:ilvl")?.attributes["w:val"]) || 0, i3 === void 0 && (i3 = bu$2(w, u));
22919
+ s = Pt$2(B3), i3 = parseInt(B3?.elements?.find((N3) => N3.name === "w:ilvl")?.attributes["w:val"]) || 0, i3 === void 0 && (i3 = yu$2(w, u));
22920
22920
  let R = 0;
22921
22921
  for (let [N3, k] of r22.entries()) {
22922
22922
  if (k.seen) continue;
22923
- if (k.elements && !gu$2(k.elements)) {
22923
+ if (k.elements && !hu$2(k.elements)) {
22924
22924
  const I3 = D3({ ...t, nodes: [k] }).nodes[0];
22925
22925
  I3 && h3[h3.length - 1]?.content.push(I3), k.seen = true;
22926
22926
  continue;
@@ -22935,9 +22935,9 @@ Actual: ` + p3.attribValue
22935
22935
  lvlText: re2,
22936
22936
  lvlJc: ie2,
22937
22937
  numId: L3
22938
- } = Lm$1(k, n, u);
22938
+ } = Om$1(k, n, u);
22939
22939
  E3 = se2;
22940
- const V = parseInt(ne2), _ = i3 === V && L3 === s, K3 = Om$1({
22940
+ const V = parseInt(ne2), _ = i3 === V && L3 === s, K3 = Pm$1({
22941
22941
  firstListId: L3,
22942
22942
  secondListId: s,
22943
22943
  level: V,
@@ -22960,7 +22960,7 @@ Actual: ` + p3.attribValue
22960
22960
  rsidRDefault: q3?.["w:rsidRDefault"] || null,
22961
22961
  styleId: w
22962
22962
  },
22963
- content: wu$2(S.content)
22963
+ content: gu$2(S.content)
22964
22964
  }), I3.push(S), R = n;
22965
22965
  let b = [];
22966
22966
  if (E3 !== "bullet" && (b = [...o, l[s][n]], l[s][i3]++), !o.length && i3 > 0) {
@@ -22982,11 +22982,11 @@ Actual: ` + p3.attribValue
22982
22982
  parentAttributes: k?.attributes || null
22983
22983
  };
22984
22984
  const X3 = e?.elements?.find((ue2) => ue2.name === "w:rPr");
22985
- X3 && (m.attributes.originalInlineRunProps = X3), m.numId = L3, u && (m.spacing = Au$2(k, u, w));
22985
+ X3 && (m.attributes.originalInlineRunProps = X3), m.numId = L3, u && (m.spacing = xu$2(k, u, w));
22986
22986
  const te2 = Po$2(I3, m, []);
22987
22987
  h3.push(te2);
22988
22988
  } else if (p3) {
22989
- const I3 = [...o, l[s][n]], S = yu$2({
22989
+ const I3 = [...o, l[s][n]], S = wu$2({
22990
22990
  listItems: r22.slice(N3),
22991
22991
  originalPpr: e,
22992
22992
  params: t,
@@ -23021,7 +23021,7 @@ Actual: ` + p3.attribValue
23021
23021
  };
23022
23022
  return a && (A3.lastNestedListLevel = R), A3;
23023
23023
  }
23024
- const bu$2 = (r22, e) => {
23024
+ const yu$2 = (r22, e) => {
23025
23025
  const i3 = Li$2(r22, e)?.elements?.find((s) => s.name === "w:pPr")?.elements?.find((s) => s.name === "w:outlineLvl");
23026
23026
  try {
23027
23027
  return parseInt(i3?.attributes["w:val"]);
@@ -23061,7 +23061,7 @@ Actual: ` + p3.attribValue
23061
23061
  marks: t
23062
23062
  };
23063
23063
  }
23064
- const Rm$1 = [
23064
+ const Im$1 = [
23065
23065
  "decimal",
23066
23066
  // eg: 1, 2, 3, 4, 5, ...
23067
23067
  "decimalZero",
@@ -23086,7 +23086,7 @@ Actual: ` + p3.attribValue
23086
23086
  // eg: (0, 1, 2, ..., 9, 10, 11, 12, ..., 19, 1A, 1B, 1C, ..., 1Z, 20, 21, ..., 2Z)
23087
23087
  "none"
23088
23088
  // No bullet
23089
- ], Pm$1 = [
23089
+ ], Rm$1 = [
23090
23090
  "bullet",
23091
23091
  // A standard bullet point (•)
23092
23092
  "square",
@@ -23095,7 +23095,7 @@ Actual: ` + p3.attribValue
23095
23095
  // Circle bullets (◦)
23096
23096
  "disc"
23097
23097
  // Disc bullets (●)
23098
- ], Om$1 = ({ firstListId: r22, secondListId: e, level: t, pStyleId: n, docx: i3 }) => {
23098
+ ], Pm$1 = ({ firstListId: r22, secondListId: e, level: t, pStyleId: n, docx: i3 }) => {
23099
23099
  const { numFmt: s, lvlText: o, lvlJc: a } = Ar$2(r22, t, n, i3), {
23100
23100
  numFmt: u,
23101
23101
  lvlText: c3,
@@ -23125,7 +23125,7 @@ Actual: ` + p3.attribValue
23125
23125
  }
23126
23126
  const a = o.elements, u = a.filter((k) => k.name === "w:abstractNum"), h3 = a.filter((k) => k.name === "w:num").find((k) => k.attributes["w:numId"] === r22)?.elements[0].attributes["w:val"], g = u?.find(
23127
23127
  (k) => k.attributes["w:abstractNumId"] === h3
23128
- ), E3 = _m$1(g, e), v = g?.elements?.find((k) => k.name === "w:numStyleLink")?.attributes["w:val"];
23128
+ ), E3 = Lm$1(g, e), v = g?.elements?.find((k) => k.name === "w:numStyleLink")?.attributes["w:val"];
23129
23129
  if (v) {
23130
23130
  const k = Oo$2(v, n);
23131
23131
  return Ar$2(k.numId, e, null, n);
@@ -23133,11 +23133,11 @@ Actual: ` + p3.attribValue
23133
23133
  const F3 = E3?.elements?.find((k) => k.name === "w:start")?.attributes["w:val"], w = E3?.elements?.find((k) => k.name === "w:numFmt")?.attributes["w:val"], B3 = E3?.elements?.find((k) => k.name === "w:lvlText").attributes["w:val"], R = E3?.elements?.find((k) => k.name === "w:lvlJc").attributes["w:val"], A3 = E3?.elements?.find((k) => k.name === "w:pPr"), N3 = E3?.elements?.find((k) => k.name === "w:rPr");
23134
23134
  return { start: F3, numFmt: w, lvlText: B3, lvlJc: R, pPr: A3, rPr: N3 };
23135
23135
  };
23136
- function Lm$1(r22, e, t) {
23136
+ function Om$1(r22, e, t) {
23137
23137
  if (!r22) return;
23138
23138
  const { attributes: n = {} } = r22, { paragraphProperties: i3 = {} } = n, { elements: s = [] } = i3, u = r22.elements.find((C3) => C3.name === "w:pPr")?.elements?.find((C3) => C3.name === "w:pStyle")?.attributes["w:val"], c3 = Nr({ node: r22, styleId: u, docx: t });
23139
23139
  if (!c3) return {};
23140
- const h3 = c3?.elements.find((C3) => C3.name === "w:numId")?.attributes["w:val"], E3 = c3?.elements.find((C3) => C3.name === "w:ilvl")?.attributes["w:val"] || bu$2(u, t), v = s.find((C3) => C3.name === "w:pStyle")?.attributes["w:val"], {
23140
+ const h3 = c3?.elements.find((C3) => C3.name === "w:numId")?.attributes["w:val"], E3 = c3?.elements.find((C3) => C3.name === "w:ilvl")?.attributes["w:val"] || yu$2(u, t), v = s.find((C3) => C3.name === "w:pStyle")?.attributes["w:val"], {
23141
23141
  start: F3,
23142
23142
  numFmt: w,
23143
23143
  lvlText: B3,
@@ -23146,17 +23146,17 @@ Actual: ` + p3.attribValue
23146
23146
  rPr: N3
23147
23147
  } = Ar$2(h3, e, v, t);
23148
23148
  let k, q3;
23149
- A3 && (k = qm$1(A3)), N3 && (q3 = Mm$1(N3));
23149
+ A3 && (k = _m$1(A3)), N3 && (q3 = qm$1(N3));
23150
23150
  let U;
23151
- if (Pm$1.includes(w?.toLowerCase())) U = "bulletList";
23152
- else if (Rm$1.includes(w)) U = "orderedList";
23151
+ if (Rm$1.includes(w?.toLowerCase())) U = "bulletList";
23152
+ else if (Im$1.includes(w)) U = "orderedList";
23153
23153
  else return {};
23154
23154
  return { listType: U, listOrderingType: w, ilvl: E3, numId: h3, listrPrs: q3, listpPrs: k, start: F3, lvlText: B3, lvlJc: R };
23155
23155
  }
23156
- function _m$1(r22, e) {
23156
+ function Lm$1(r22, e) {
23157
23157
  return r22?.elements?.find((t) => Number(t.attributes["w:ilvl"]) === e);
23158
23158
  }
23159
- function qm$1(r22) {
23159
+ function _m$1(r22) {
23160
23160
  const { elements: e } = r22, t = ["w:ind", "w:jc", "w:tabs"], n = {};
23161
23161
  return e && e.forEach((i3) => {
23162
23162
  t.includes(i3.name);
@@ -23166,7 +23166,7 @@ Actual: ` + p3.attribValue
23166
23166
  });
23167
23167
  }), n;
23168
23168
  }
23169
- function Mm$1(r22) {
23169
+ function qm$1(r22) {
23170
23170
  const { elements: e } = r22, t = [
23171
23171
  "w:rFonts",
23172
23172
  "w:b",
@@ -23197,12 +23197,12 @@ Actual: ` + p3.attribValue
23197
23197
  });
23198
23198
  }), n;
23199
23199
  }
23200
- const xu$2 = (r22) => {
23200
+ const bu$2 = (r22) => {
23201
23201
  const { nodes: e, docx: t, nodeListHandler: n, filename: i3 } = r22;
23202
23202
  if (e.length === 0 || e[0].name !== "w:p")
23203
23203
  return { nodes: [], consumed: 0 };
23204
23204
  const s = He$2(e[0]);
23205
- let o, a = vu$2(s.elements);
23205
+ let o, a = Du$2(s.elements);
23206
23206
  if (s.elements = a, yi$2(s, t))
23207
23207
  return { nodes: [], consumed: 0 };
23208
23208
  const u = n.handlerEntities.find(
@@ -23223,7 +23223,7 @@ Actual: ` + p3.attribValue
23223
23223
  }
23224
23224
  let v;
23225
23225
  if (g && (v = g.attributes["w:val"], o.attrs.styleId = v), t) {
23226
- const A3 = Um$1(s, t, v);
23226
+ const A3 = Mm$1(s, t, v);
23227
23227
  o.attrs.indent || (o.attrs.indent = {}), (A3.left || A3.left === 0) && (o.attrs.indent.left = A3.left), (A3.right || A3.right === 0) && (o.attrs.indent.right = A3.right), (A3.firstLine || A3.firstLine === 0) && (o.attrs.indent.firstLine = A3.firstLine), (A3.hanging || A3.hanging === 0) && (o.attrs.indent.hanging = A3.hanging), (A3.textIndent || A3.textIndent === 0) && (o.attrs.textIndent = `${A3.textIndent}in`);
23228
23228
  }
23229
23229
  const F3 = h3?.elements?.find((A3) => A3.name === "w:jc");
@@ -23233,7 +23233,7 @@ Actual: ` + p3.attribValue
23233
23233
  const B3 = h3?.elements?.find((A3) => A3.name === "w:keepNext");
23234
23234
  if (B3 && B3.attributes && (o.attrs.keepNext = B3.attributes["w:val"]), t) {
23235
23235
  const A3 = s.attributes?.["w:rsidRDefault"];
23236
- o.attrs.spacing = Au$2(s, t, v, o.attrs.marksAttrs), o.attrs.rsidRDefault = A3;
23236
+ o.attrs.spacing = xu$2(s, t, v, o.attrs.marksAttrs), o.attrs.rsidRDefault = A3;
23237
23237
  }
23238
23238
  D3 && D3.attributes["w:dropCap"] && (o.attrs.dropcap = {
23239
23239
  type: D3.attributes["w:dropCap"],
@@ -23243,38 +23243,38 @@ Actual: ` + p3.attribValue
23243
23243
  vAnchor: D3.attributes["w:vAnchor"]
23244
23244
  }), o.attrs.filename = i3, o && o.content && (o = {
23245
23245
  ...o,
23246
- content: wu$2(o.content)
23246
+ content: gu$2(o.content)
23247
23247
  });
23248
23248
  const R = h3?.elements?.find((A3) => A3.name === "w:sectPr");
23249
23249
  return R && (o.attrs.paragraphProperties || (o.attrs.paragraphProperties = {}), o.attrs.paragraphProperties.sectPr = R, o.attrs.pageBreakSource = "sectPr"), { nodes: o ? [o] : [], consumed: 1 };
23250
- }, Um$1 = (r22, e, t = "") => {
23250
+ }, Mm$1 = (r22, e, t = "") => {
23251
23251
  const n = {
23252
23252
  left: 0,
23253
23253
  right: 0,
23254
23254
  firstLine: 0,
23255
23255
  hanging: 0,
23256
23256
  textIndent: 0
23257
- }, { indent: i3 = {} } = Du$2(e, t), a = r22.elements?.find((E3) => E3.name === "w:pPr")?.elements?.find((E3) => E3.name === "w:ind")?.attributes || {}, u = a?.["w:left"] || i3?.["w:left"], c3 = a?.["w:right"] || i3?.["w:right"], l = a?.["w:firstLine"] || i3?.["w:firstLine"], h3 = a?.["w:hanging"] || i3?.["w:hanging"];
23257
+ }, { indent: i3 = {} } = Au$2(e, t), a = r22.elements?.find((E3) => E3.name === "w:pPr")?.elements?.find((E3) => E3.name === "w:ind")?.attributes || {}, u = a?.["w:left"] || i3?.["w:left"], c3 = a?.["w:right"] || i3?.["w:right"], l = a?.["w:firstLine"] || i3?.["w:firstLine"], h3 = a?.["w:hanging"] || i3?.["w:hanging"];
23258
23258
  u && (n.left = be$2(u)), c3 && (n.right = be$2(c3)), l && (n.firstLine = be$2(l)), h3 && (n.hanging = be$2(h3));
23259
23259
  const g = u - parseInt(h3 || 0) || 0;
23260
23260
  return g && (n.textIndent = qe$3(g)), n;
23261
- }, Au$2 = (r22, e, t = "", n = []) => {
23261
+ }, xu$2 = (r22, e, t = "", n = []) => {
23262
23262
  const i3 = {
23263
23263
  lineSpaceAfter: 0,
23264
23264
  lineSpaceBefore: 0,
23265
23265
  line: 0,
23266
23266
  lineRule: null
23267
- }, { spacing: s = {} } = Du$2(e, t);
23267
+ }, { spacing: s = {} } = Au$2(e, t);
23268
23268
  let o, a, u, c3;
23269
23269
  const g = r22.elements?.find((N3) => N3.name === "w:pPr")?.elements?.find((N3) => N3.name === "w:spacing")?.attributes || {}, D3 = n.find((N3) => N3.type === "textStyle")?.attrs?.fontSize, v = g?.["w:line"] || u || s?.["w:line"];
23270
23270
  v && (i3.line = Ii$2(v));
23271
23271
  const F3 = g?.["w:lineRule"] || c3 || s?.["w:lineRule"];
23272
- F3 && (i3.lineRule = F3), F3 === "exact" && v && (i3.line = `${ru$2(v)}pt`);
23272
+ F3 && (i3.lineRule = F3), F3 === "exact" && v && (i3.line = `${tu$2(v)}pt`);
23273
23273
  const w = g?.["w:before"] || a || s?.["w:before"];
23274
23274
  w && (i3.lineSpaceBefore = be$2(w)), g?.["w:beforeAutospacing"] === "1" && D3 && (i3.lineSpaceBefore += Math.round(parseInt(D3) * 0.5 * 96 / 72));
23275
23275
  const R = g?.["w:after"] || o || s?.["w:after"];
23276
23276
  return R && (i3.lineSpaceAfter = be$2(R)), g?.["w:afterAutospacing"] === "1" && D3 && (i3.lineSpaceAfter += Math.round(parseInt(D3) * 0.5 * 96 / 72)), i3;
23277
- }, Du$2 = (r22, e = "") => {
23277
+ }, Au$2 = (r22, e = "") => {
23278
23278
  const t = r22["word/styles.xml"];
23279
23279
  if (!t)
23280
23280
  return {};
@@ -23290,11 +23290,11 @@ Actual: ` + p3.attribValue
23290
23290
  indent: N3 || R || A3,
23291
23291
  justify: B3
23292
23292
  };
23293
- }, jm$1 = {
23293
+ }, Um$1 = {
23294
23294
  handlerName: "paragraphNodeHandler",
23295
- handler: xu$2
23295
+ handler: bu$2
23296
23296
  };
23297
- function Hm$1(r22, e) {
23297
+ function jm$1(r22, e) {
23298
23298
  const t = { lineSpaceBefore: null, lineSpaceAfter: null };
23299
23299
  if (!r22) return t;
23300
23300
  const n = e["word/styles.xml"];
@@ -23334,7 +23334,7 @@ Actual: ` + p3.attribValue
23334
23334
  const { type: Y, attrs: ce2 } = ne2;
23335
23335
  if (Y === "textStyle") {
23336
23336
  Object.entries(ce2).forEach(([$, re2]) => {
23337
- se2[Qa$2($)] = re2;
23337
+ se2[Za$2($)] = re2;
23338
23338
  });
23339
23339
  return;
23340
23340
  }
@@ -23344,30 +23344,28 @@ Actual: ` + p3.attribValue
23344
23344
  styles: se2
23345
23345
  };
23346
23346
  }
23347
- function vu$2(r22) {
23348
- let e = [], t = [], n = false;
23349
- return r22?.forEach((i3) => {
23350
- if (i3.seen) return;
23351
- i3.seen = true;
23352
- const s = i3.elements?.filter((o) => o.name === "w:fldChar") || [];
23353
- if (s.length)
23354
- if (s.length > 1) {
23355
- const o = Lo$2([i3]);
23356
- e.push(...o);
23357
- } else {
23358
- const o = s[0].attributes["w:fldCharType"];
23359
- if (o === "begin")
23360
- n = true, t.push(i3);
23361
- else if (o === "end") {
23362
- n = false, t.push(i3);
23363
- const a = Lo$2(t);
23364
- e.push(...a), t = [];
23365
- }
23366
- }
23347
+ function Du$2(r22 = []) {
23348
+ const e = [];
23349
+ let t = [], n = false;
23350
+ for (const i3 of r22) {
23351
+ const o = i3.elements?.find((a) => a.name === "w:fldChar")?.attributes?.["w:fldCharType"];
23352
+ if (o === "begin") {
23353
+ t = [i3], n = true;
23354
+ continue;
23355
+ }
23356
+ if (o === "separate" && n) {
23357
+ t.push(i3);
23358
+ continue;
23359
+ }
23360
+ if (o === "end" && n) {
23361
+ t.push(i3), e.push(...Hm$1(t)), t = [], n = false;
23362
+ continue;
23363
+ }
23367
23364
  n ? t.push(i3) : e.push(i3);
23368
- }), e;
23365
+ }
23366
+ return t.length && e.push(...t), e;
23369
23367
  }
23370
- const Lo$2 = (r22 = []) => {
23368
+ const Hm$1 = (r22 = []) => {
23371
23369
  let e = [], t = false, n = false;
23372
23370
  const i3 = r22.findIndex(
23373
23371
  (h3) => h3.elements?.some((g) => g.name === "w:fldChar" && g.attributes["w:fldCharType"] === "separate")
@@ -23411,14 +23409,14 @@ Actual: ` + p3.attribValue
23411
23409
  const t = e[0], o = t.elements.find((l) => l.name === "w:sdtPr")?.elements.find((l) => l.name === "w:docPartObj")?.elements.find((l) => l.name === "w:docPartGallery")?.attributes["w:val"];
23412
23410
  if (!o)
23413
23411
  return { nodes: [], consumed: 0 };
23414
- if (!_o$3[o])
23412
+ if (!Lo$2[o])
23415
23413
  return { nodes: [], consumed: 0 };
23416
- const a = t?.elements.find((l) => l.name === "w:sdtContent"), u = _o$3[o];
23414
+ const a = t?.elements.find((l) => l.name === "w:sdtContent"), u = Lo$2[o];
23417
23415
  return {
23418
23416
  nodes: u({ ...r22, nodes: [a] }),
23419
23417
  consumed: 1
23420
23418
  };
23421
- }, _o$3 = {
23419
+ }, Lo$2 = {
23422
23420
  "Table of Contents": Vm$1
23423
23421
  }, Gm$1 = (r22) => {
23424
23422
  const { nodes: e, docx: t, nodeListHandler: n, insideTrackChange: i3 } = r22;
@@ -23484,7 +23482,7 @@ Actual: ` + p3.attribValue
23484
23482
  const i3 = e[0], { name: s } = i3, { attributes: o, elements: a, marks: u = [] } = bt$3(i3);
23485
23483
  if (s === "w:sdt")
23486
23484
  return { nodes: [], consumed: 0 };
23487
- if (bm$1(i3))
23485
+ if (ym$1(i3))
23488
23486
  return {
23489
23487
  nodes: [{
23490
23488
  type: fr(i3),
@@ -23654,7 +23652,7 @@ Actual: ` + p3.attribValue
23654
23652
  u && (i3.style = u);
23655
23653
  const c3 = t.elements?.find((w) => w.name === "v:textbox"), l = t.elements?.find((w) => w.name === "w10:wrap");
23656
23654
  l?.attributes && (i3.wrapAttributes = l.attributes), c3?.attributes && (s.attributes = c3.attributes);
23657
- const D3 = (c3?.elements?.find((w) => w.name === "w:txbxContent")?.elements || []).map((w) => xu$2({
23655
+ const D3 = (c3?.elements?.find((w) => w.name === "w:txbxContent")?.elements || []).map((w) => bu$2({
23658
23656
  nodes: [w],
23659
23657
  docx: n.docx,
23660
23658
  nodeListHandler: Jt$2()
@@ -23709,7 +23707,7 @@ Actual: ` + p3.attribValue
23709
23707
  docx: r22
23710
23708
  }), { attrs: C3 } = U[0], J3 = C3["w14:paraId"];
23711
23709
  return {
23712
- commentId: D3 || Aa$2(),
23710
+ commentId: D3 || xa$2(),
23713
23711
  importedId: c3,
23714
23712
  creatorName: l,
23715
23713
  creatorEmail: h3,
@@ -23744,7 +23742,7 @@ Actual: ` + p3.attribValue
23744
23742
  const { attributes: e } = r22, t = e["w15:paraId"], n = e["w15:done"] === "1", i3 = e["w15:paraIdParent"];
23745
23743
  return { paraId: t, isDone: n, paraIdParent: i3 };
23746
23744
  }, wp$1 = (r22, e, t) => {
23747
- const n = He$2(em$1(r22));
23745
+ const n = He$2(Qd$2(r22));
23748
23746
  if (!n) return null;
23749
23747
  if (e?.telemetry) {
23750
23748
  const o = Object.keys(r22).map((a) => {
@@ -23802,18 +23800,18 @@ Actual: ` + p3.attribValue
23802
23800
  }, Jt$2 = () => {
23803
23801
  const r22 = [
23804
23802
  rp,
23805
- Sm$1,
23803
+ Cm$1,
23806
23804
  mp$1,
23807
- jm$1,
23808
- Im$1,
23809
- Fm$1,
23805
+ Um$1,
23806
+ Nm$1,
23807
+ Tm$1,
23810
23808
  Zm$1,
23811
23809
  Jm$1,
23812
23810
  ep,
23813
- vm$1,
23814
- fm$1,
23815
- Am$1,
23816
- rm$1,
23811
+ Dm$1,
23812
+ cm$1,
23813
+ xm$1,
23814
+ tm$1,
23817
23815
  up$1,
23818
23816
  ip,
23819
23817
  op$1,
@@ -23959,7 +23957,7 @@ Actual: ` + p3.attribValue
23959
23957
  });
23960
23958
  const s = [];
23961
23959
  return n.forEach((o) => {
23962
- const a = o.attributes["w:styleId"], u = Hm$1(a, r22), c3 = {
23960
+ const a = o.attributes["w:styleId"], u = jm$1(a, r22), c3 = {
23963
23961
  id: o.attributes["w:styleId"],
23964
23962
  type: o.attributes["w:type"],
23965
23963
  definition: u,
@@ -23979,9 +23977,9 @@ Actual: ` + p3.attribValue
23979
23977
  }), e;
23980
23978
  }
23981
23979
  const Dp$1 = (r22, e, t) => {
23982
- const i3 = r22["word/_rels/document.xml.rels"].elements.find((g) => g.name === "Relationships"), { elements: s } = i3, o = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", a = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", u = s.filter((g) => g.attributes.Type === o), c3 = s.filter((g) => g.attributes.Type === a), h3 = (Eu$1(r22["word/document.xml"]) || []).flatMap((g) => g.elements);
23980
+ const i3 = r22["word/_rels/document.xml.rels"].elements.find((g) => g.name === "Relationships"), { elements: s } = i3, o = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", a = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", u = s.filter((g) => g.attributes.Type === o), c3 = s.filter((g) => g.attributes.Type === a), h3 = (vu$2(r22["word/document.xml"]) || []).flatMap((g) => g.elements);
23983
23981
  u.forEach((g) => {
23984
- const { rId: E3, referenceFile: D3, currentFileName: v } = qo$2(g, r22);
23982
+ const { rId: E3, referenceFile: D3, currentFileName: v } = _o$3(g, r22);
23985
23983
  let w = h3.find((A3) => A3.name === "w:headerReference" && A3.attributes["r:id"] === E3)?.attributes["w:type"];
23986
23984
  e.headerIds[w] && (w = null);
23987
23985
  const B3 = Jt$2(), R = B3.handler({
@@ -23994,7 +23992,7 @@ Actual: ` + p3.attribValue
23994
23992
  });
23995
23993
  e.headerIds.ids || (e.headerIds.ids = []), e.headerIds.ids.push(E3), e.headers[E3] = { type: "doc", content: [...R] }, w && (e.headerIds[w] = E3);
23996
23994
  }), c3.forEach((g) => {
23997
- const { rId: E3, referenceFile: D3, currentFileName: v } = qo$2(g, r22), w = h3.find((A3) => A3.name === "w:footerReference" && A3.attributes["r:id"] === E3)?.attributes["w:type"], B3 = Jt$2(), R = B3.handler({
23995
+ const { rId: E3, referenceFile: D3, currentFileName: v } = _o$3(g, r22), w = h3.find((A3) => A3.name === "w:footerReference" && A3.attributes["r:id"] === E3)?.attributes["w:type"], B3 = Jt$2(), R = B3.handler({
23998
23996
  nodes: D3.elements[0].elements,
23999
23997
  nodeListHandler: B3,
24000
23998
  docx: r22,
@@ -24004,11 +24002,11 @@ Actual: ` + p3.attribValue
24004
24002
  });
24005
24003
  e.footerIds.ids || (e.footerIds.ids = []), e.footerIds.ids.push(E3), e.footers[E3] = { type: "doc", content: [...R] }, e.footerIds[w] = E3;
24006
24004
  });
24007
- }, Eu$1 = (r22, e = []) => {
24005
+ }, vu$2 = (r22, e = []) => {
24008
24006
  for (const t in r22)
24009
- r22[t] === "w:sectPr" ? e.push(r22) : typeof r22[t] == "object" && Eu$1(r22[t], e);
24007
+ r22[t] === "w:sectPr" ? e.push(r22) : typeof r22[t] == "object" && vu$2(r22[t], e);
24010
24008
  return e;
24011
- }, qo$2 = (r22, e) => {
24009
+ }, _o$3 = (r22, e) => {
24012
24010
  const t = r22.attributes.Id, n = r22.attributes.Target, i3 = e[`word/${n}`];
24013
24011
  return {
24014
24012
  rId: t,
@@ -24018,7 +24016,7 @@ Actual: ` + p3.attribValue
24018
24016
  };
24019
24017
  function vp$1(r22) {
24020
24018
  let e = r22["word/numbering.xml"];
24021
- (!e || !e.elements?.length || !e.elements[0].elements?.length) && (e = iu$2);
24019
+ (!e || !e.elements?.length || !e.elements[0].elements?.length) && (e = nu$2);
24022
24020
  const t = e.elements[0].elements, n = t.filter((a) => a.name === "w:abstractNum"), i3 = t.filter((a) => a.name === "w:num"), s = {};
24023
24021
  n.forEach((a) => {
24024
24022
  const u = Number(a.attributes["w:abstractNumId"]);
@@ -24039,7 +24037,7 @@ Actual: ` + p3.attribValue
24039
24037
  const { elements: t = [] } = e.elements[0];
24040
24038
  return !!t.find((i3) => i3.name === "w:evenAndOddHeaders");
24041
24039
  };
24042
- var it$2, Cu$2, Su$2, Tu$2, Fu$2;
24040
+ var it$2, Eu$1, Cu$2, Su$2, Tu$2;
24043
24041
  const pt$1 = class pt2 {
24044
24042
  constructor(e = null) {
24045
24043
  Ir$1(this, it$2);
@@ -24051,7 +24049,7 @@ Actual: ` + p3.attribValue
24051
24049
  }), this.initialJSON = this.convertedXml["word/document.xml"], this.initialJSON || (this.initialJSON = this.parseXmlToJson(this.xml)), this.declaration = this.initialJSON?.declaration;
24052
24050
  }
24053
24051
  parseXmlToJson(e) {
24054
- return JSON.parse(xa$2.xml2json(e, null, 2));
24052
+ return JSON.parse(ba$2.xml2json(e, null, 2));
24055
24053
  }
24056
24054
  static getStoredSuperdocVersion(e) {
24057
24055
  try {
@@ -24066,9 +24064,9 @@ Actual: ` + p3.attribValue
24066
24064
  return;
24067
24065
  }
24068
24066
  }
24069
- static updateDocumentVersion(e = this.convertedXml, t = "0.11.24") {
24067
+ static updateDocumentVersion(e = this.convertedXml, t = "0.11.25") {
24070
24068
  const n = "docProps/custom.xml";
24071
- e[n] || (e[n] = Bu$2());
24069
+ e[n] || (e[n] = Fu$2());
24072
24070
  const i3 = e["docProps/custom.xml"];
24073
24071
  if (!i3) return;
24074
24072
  const s = i3.elements.find((a) => a.name === "Properties");
@@ -24077,7 +24075,7 @@ Actual: ` + p3.attribValue
24077
24075
  if (o)
24078
24076
  o.elements[0].elements[0].elements[0].text = t;
24079
24077
  else {
24080
- const a = ku$2();
24078
+ const a = Bu$2();
24081
24079
  s.elements.push(a);
24082
24080
  }
24083
24081
  return e;
@@ -24119,7 +24117,7 @@ Actual: ` + p3.attribValue
24119
24117
  if (!l) return;
24120
24118
  const g = this.fonts[`word/${l}`]?.buffer;
24121
24119
  if (!g) return;
24122
- const E3 = zf$1(g, c3.attributes["w:fontKey"]);
24120
+ const E3 = Vf$1(g, c3.attributes["w:fontKey"]);
24123
24121
  if (!E3) return;
24124
24122
  const D3 = new Blob([E3], { type: "font/ttf" }), v = URL.createObjectURL(D3), F3 = c3.name.includes("Regular"), w = c3.name.includes("Bold"), B3 = c3.name.includes("Italic"), R = c3.name.includes("Light");
24125
24123
  u += `
@@ -24136,7 +24134,7 @@ Actual: ` + p3.attribValue
24136
24134
  }
24137
24135
  getDocumentInternalId() {
24138
24136
  const e = "word/settings.xml";
24139
- this.convertedXml[e] || (this.convertedXml[e] = Jf$1);
24137
+ this.convertedXml[e] || (this.convertedXml[e] = Wf$1);
24140
24138
  const t = Object.assign({}, this.convertedXml[e]);
24141
24139
  if (!t.elements[0]?.elements?.length) {
24142
24140
  const i3 = this.createDocumentIdElement(t);
@@ -24149,7 +24147,7 @@ Actual: ` + p3.attribValue
24149
24147
  this.documentInternalId = n?.attributes["w15:val"];
24150
24148
  }
24151
24149
  createDocumentIdElement() {
24152
- const e = Aa$2().toUpperCase();
24150
+ const e = xa$2().toUpperCase();
24153
24151
  return this.documentInternalId = e, {
24154
24152
  type: "element",
24155
24153
  name: "w15:docId",
@@ -24175,7 +24173,7 @@ Actual: ` + p3.attribValue
24175
24173
  return new No$1(this).schemaToXml(e, t);
24176
24174
  }
24177
24175
  async exportToDocx(e, t, n, i3 = false, s, o = [], a) {
24178
- const u = o.map((F3) => id$2(F3)), c3 = u.map((F3, w) => sd$2(F3, w, u, a)), { result: l, params: h3 } = this.exportToXmlJson({
24176
+ const u = o.map((F3) => nd$2(F3)), c3 = u.map((F3, w) => id$2(F3, w, u, a)), { result: l, params: h3 } = this.exportToXmlJson({
24179
24177
  data: e,
24180
24178
  editorSchema: t,
24181
24179
  comments: o,
@@ -24184,21 +24182,21 @@ Actual: ` + p3.attribValue
24184
24182
  isFinalDoc: i3,
24185
24183
  editor: a
24186
24184
  }), E3 = new No$1(this).schemaToXml(l);
24187
- await Ke(this, it$2, Fu$2).call(this, {
24185
+ await Ke(this, it$2, Tu$2).call(this, {
24188
24186
  ...n,
24189
24187
  ...h3.media,
24190
24188
  ...this.media
24191
24189
  });
24192
24190
  let D3 = { ...this.convertedXml }, v = [];
24193
24191
  if (o.length) {
24194
- const { documentXml: F3, relationships: w } = Ke(this, it$2, Su$2).call(this, {
24192
+ const { documentXml: F3, relationships: w } = Ke(this, it$2, Cu$2).call(this, {
24195
24193
  defs: h3.exportedCommentDefs,
24196
24194
  exportType: s,
24197
24195
  commentsWithParaIds: u
24198
24196
  });
24199
24197
  D3 = { ...F3 }, v = w;
24200
24198
  }
24201
- return this.convertedXml = { ...this.convertedXml, ...D3 }, Ke(this, it$2, Tu$2).call(this, [...h3.relationships, ...v]), Cp$1(this.convertedXml), Ke(this, it$2, Cu$2).call(this, h3), E3;
24199
+ return this.convertedXml = { ...this.convertedXml, ...D3 }, Ke(this, it$2, Su$2).call(this, [...h3.relationships, ...v]), Cp$1(this.convertedXml), Ke(this, it$2, Eu$1).call(this, h3), E3;
24202
24200
  }
24203
24201
  exportToXmlJson({
24204
24202
  data: e,
@@ -24227,18 +24225,18 @@ Actual: ` + p3.attribValue
24227
24225
  return { result: c3, params: l };
24228
24226
  }
24229
24227
  };
24230
- it$2 = /* @__PURE__ */ new WeakSet(), Cu$2 = function(e) {
24228
+ it$2 = /* @__PURE__ */ new WeakSet(), Eu$1 = function(e) {
24231
24229
  const t = "word/numbering.xml";
24232
24230
  let n = this.convertedXml[t];
24233
24231
  const i3 = this.numbering;
24234
- n || (n = iu$2);
24232
+ n || (n = nu$2);
24235
24233
  const s = n.elements[0], o = Object.values(i3.abstracts).map((u) => u), a = Object.values(i3.definitions).map((u) => u);
24236
24234
  s.elements = [...o, ...a], this.convertedXml[t] = n;
24237
24235
  }, /**
24238
24236
  * Update comments files and relationships depending on export type
24239
24237
  */
24240
- Su$2 = function({ defs: e, exportType: t, commentsWithParaIds: n }) {
24241
- const { documentXml: i3, relationships: s } = dd$2({
24238
+ Cu$2 = function({ defs: e, exportType: t, commentsWithParaIds: n }) {
24239
+ const { documentXml: i3, relationships: s } = fd$2({
24242
24240
  exportType: t,
24243
24241
  convertedXml: this.convertedXml,
24244
24242
  defs: e,
@@ -24246,19 +24244,19 @@ Actual: ` + p3.attribValue
24246
24244
  converter: this
24247
24245
  });
24248
24246
  return { documentXml: i3, relationships: s };
24249
- }, Tu$2 = function(e = []) {
24247
+ }, Su$2 = function(e = []) {
24250
24248
  const t = this.convertedXml["word/_rels/document.xml.rels"], n = t.elements.find((a) => a.name === "Relationships"), i3 = [], s = /rId|mi/g;
24251
24249
  let o = Math.max(...n.elements.map((a) => Number(a.attributes.Id.replace(s, ""))));
24252
24250
  e.forEach((a) => {
24253
24251
  const u = a.attributes.Id, c3 = n.elements.find((h3) => h3.attributes.Target === a.attributes.Target), l = a.attributes.Target?.startsWith("media/") && u.length > 6;
24254
24252
  c3 && !l || (a.attributes.Target = a.attributes?.Target?.replace(/&/g, "&amp;"), a.attributes.Id = u.length > 6 ? u : `rId${++o}`, i3.push(a));
24255
24253
  }), n.elements = [...n.elements, ...i3], this.convertedXml["word/_rels/document.xml.rels"] = t;
24256
- }, Fu$2 = async function(e) {
24254
+ }, Tu$2 = async function(e) {
24257
24255
  const t = {};
24258
24256
  for (const n in e) {
24259
24257
  if (typeof e[n] != "string") return;
24260
24258
  const i3 = n.split("/").pop();
24261
- t[i3] = await Mf$2(e[n]);
24259
+ t[i3] = await qf$1(e[n]);
24262
24260
  }
24263
24261
  this.convertedXml.media = {
24264
24262
  ...this.convertedXml.media,
@@ -24312,7 +24310,7 @@ Actual: ` + p3.attribValue
24312
24310
  let Ot$1 = pt$1;
24313
24311
  function Cp$1(r22) {
24314
24312
  const e = "docProps/custom.xml";
24315
- r22[e] || (r22[e] = Bu$2());
24313
+ r22[e] || (r22[e] = Fu$2());
24316
24314
  const n = r22[e].elements.find((a) => a.name === "Properties");
24317
24315
  n.elements || (n.elements = []);
24318
24316
  const i3 = n.elements, s = i3.filter((a) => typeof a == "object" && a !== null).filter((a) => {
@@ -24324,12 +24322,12 @@ Actual: ` + p3.attribValue
24324
24322
  o = s.length ? Math.max(...i3.map((a) => a.attributes.pid)) + 1 : 2;
24325
24323
  } catch {
24326
24324
  }
24327
- return s.push(ku$2(o)), n.elements = s, r22;
24325
+ return s.push(Bu$2(o)), n.elements = s, r22;
24328
24326
  }
24329
- function Bu$2() {
24330
- return Wf$1;
24327
+ function Fu$2() {
24328
+ return Gf$1;
24331
24329
  }
24332
- function ku$2(r22 = 2, e = "0.11.24") {
24330
+ function Bu$2(r22 = 2, e = "0.11.25") {
24333
24331
  return {
24334
24332
  type: "element",
24335
24333
  name: "property",
@@ -26657,7 +26655,7 @@ Actual: ` + p3.attribValue
26657
26655
  });
26658
26656
  })(Ct$1);
26659
26657
  var Dt$2 = Ct$1.exports;
26660
- const Et$2 = /* @__PURE__ */ Mo$3(Dt$2);
26658
+ const Et$2 = /* @__PURE__ */ qo$2(Dt$2);
26661
26659
  let Nt$2 = class Nt {
26662
26660
  constructor(nt2 = {}) {
26663
26661
  this.debug = nt2.debug || false, this.zip = new Et$2(), this.files = [], this.media = {}, this.mediaFiles = {}, this.fonts = {};
@@ -28114,7 +28112,7 @@ Actual: ` + p3.attribValue
28114
28112
  }
28115
28113
  static create(e, n, r, i3) {
28116
28114
  let o = i3.nodeViews[n.type.name], s = o && o(n, i3, r);
28117
- return (!s || !s.dom) && (s = qa$2.renderSpec(document, n.type.spec.toDOM(n, r), null, n.attrs)), new dn2(e, n, s.dom, s.contentDOM || s.dom, s);
28115
+ return (!s || !s.dom) && (s = _a$2.renderSpec(document, n.type.spec.toDOM(n, r), null, n.attrs)), new dn2(e, n, s.dom, s.contentDOM || s.dom, s);
28118
28116
  }
28119
28117
  parseRule() {
28120
28118
  return this.dirty & at$2 || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
@@ -28169,7 +28167,7 @@ Actual: ` + p3.attribValue
28169
28167
  d = document.createTextNode(n.text);
28170
28168
  else if (d.nodeType != 3)
28171
28169
  throw new RangeError("Text must be rendered as a DOM text node");
28172
- } else d || ({ dom: d, contentDOM: u } = qa$2.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs));
28170
+ } else d || ({ dom: d, contentDOM: u } = _a$2.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs));
28173
28171
  !u && !n.isText && d.nodeName != "BR" && (d.hasAttribute("contenteditable") || (d.contentEditable = "false"), n.type.spec.draggable && (d.draggable = true));
28174
28172
  let f = d;
28175
28173
  return d = Bc$1(d, r, n), c3 ? l = new Vp(e, n, r, i3, d, u || null, f, c3, o, s + 1) : n.isText ? new ji$1(e, n, r, i3, d, f, o) : new Ft2(e, n, r, i3, d, u || null, f, o, s + 1);
@@ -29110,7 +29108,7 @@ Actual: ` + p3.attribValue
29110
29108
  let p3 = r.firstChild;
29111
29109
  n.push(p3.type.name, p3.attrs != p3.type.defaultAttrs ? p3.attrs : null), r = p3.content;
29112
29110
  }
29113
- let s = t.someProp("clipboardSerializer") || qa$2.fromSchema(t.state.schema), a = Kc$1(), l = a.createElement("div");
29111
+ let s = t.someProp("clipboardSerializer") || _a$2.fromSchema(t.state.schema), a = Kc$1(), l = a.createElement("div");
29114
29112
  l.appendChild(s.serializeFragment(r, { document: a }));
29115
29113
  let c3 = l.firstChild, d, u = 0;
29116
29114
  for (; c3 && c3.nodeType == 1 && (d = qc$1[c3.nodeName.toLowerCase()]); ) {
@@ -29143,7 +29141,7 @@ Actual: ` + p3.attribValue
29143
29141
  if (u)
29144
29142
  a = u;
29145
29143
  else {
29146
- let f = i3.marks(), { schema: p3 } = t.state, h3 = qa$2.fromSchema(p3);
29144
+ let f = i3.marks(), { schema: p3 } = t.state, h3 = _a$2.fromSchema(p3);
29147
29145
  s = document.createElement("div"), e.split(/(?:\r\n?|\n)+/).forEach((m) => {
29148
29146
  let g = s.appendChild(document.createElement("p"));
29149
29147
  m && g.appendChild(h3.serializeNode(p3.text(m, f)));
@@ -32880,7 +32878,7 @@ Actual: ` + p3.attribValue
32880
32878
  }
32881
32879
  };
32882
32880
  function jg(t, e) {
32883
- const n = qa$2.fromSchema(e).serializeFragment(t), i3 = document.implementation.createHTMLDocument().createElement("div");
32881
+ const n = _a$2.fromSchema(e).serializeFragment(t), i3 = document.implementation.createHTMLDocument().createElement("div");
32884
32882
  return i3.appendChild(n), i3.innerHTML;
32885
32883
  }
32886
32884
  const Wg = (t, e = 500) => {
@@ -32908,7 +32906,7 @@ Actual: ` + p3.attribValue
32908
32906
  }
32909
32907
  }
32910
32908
  const qg = (t, e) => {
32911
- if (If$1(e))
32909
+ if (Nf$1(e))
32912
32910
  return e.exec(t);
32913
32911
  const n = e(t);
32914
32912
  if (!n)
@@ -33244,7 +33242,7 @@ Actual: ` + p3.attribValue
33244
33242
  return true;
33245
33243
  if (r.parent.content.size == 0 && (In$2(o, "end") || We$3.isSelectable(o)))
33246
33244
  for (let s = r.depth; ; s--) {
33247
- let a = xf$2(t.doc, r.before(s), r.after(s), ae$4.empty);
33245
+ let a = bf$2(t.doc, r.before(s), r.after(s), ae$4.empty);
33248
33246
  if (a && a.slice.size < a.to - a.from) {
33249
33247
  if (e) {
33250
33248
  let l = t.tr.step(a);
@@ -33303,7 +33301,7 @@ Actual: ` + p3.attribValue
33303
33301
  if (Ed$1(t, i3, e, 1))
33304
33302
  return true;
33305
33303
  if (r.parent.content.size == 0 && (In$2(o, "start") || We$3.isSelectable(o))) {
33306
- let s = xf$2(t.doc, r.before(), r.after(), ae$4.empty);
33304
+ let s = bf$2(t.doc, r.before(), r.after(), ae$4.empty);
33307
33305
  if (s && s.slice.size < s.to - s.from) {
33308
33306
  if (e) {
33309
33307
  let a = t.tr.step(s);
@@ -33614,7 +33612,7 @@ Actual: ` + p3.attribValue
33614
33612
  return yy(r, n, l);
33615
33613
  };
33616
33614
  function Zo$1(t, e, n = {}) {
33617
- return t.find((r) => r.type === e && Rf$1(r.attrs, n));
33615
+ return t.find((r) => r.type === e && If$1(r.attrs, n));
33618
33616
  }
33619
33617
  function wy(t, e, n = {}) {
33620
33618
  return !!Zo$1(t, e, n);
@@ -33653,7 +33651,7 @@ Actual: ` + p3.attribValue
33653
33651
  function Ii$1(t, e, n = {}) {
33654
33652
  const { empty: r, ranges: i3 } = t.selection, o = e ? St$1(e, t.schema) : null;
33655
33653
  if (r)
33656
- return !!(t.storedMarks || t.selection.$from.marks()).filter((u) => o ? o.name === u.type.name : true).find((u) => Rf$1(u.attrs, n, { strict: false }));
33654
+ return !!(t.storedMarks || t.selection.$from.marks()).filter((u) => o ? o.name === u.type.name : true).find((u) => If$1(u.attrs, n, { strict: false }));
33657
33655
  let s = 0;
33658
33656
  const a = [];
33659
33657
  if (i3.forEach(({ $from: u, $to: f }) => {
@@ -33670,7 +33668,7 @@ Actual: ` + p3.attribValue
33670
33668
  );
33671
33669
  });
33672
33670
  }), s === 0) return false;
33673
- const l = a.filter((u) => o ? o.name === u.mark.type.name : true).filter((u) => Rf$1(u.mark.attrs, n, { strict: false })).reduce((u, f) => u + f.to - f.from, 0), c3 = a.filter((u) => o ? u.mark.type !== o && u.mark.type.excludes(o) : true).reduce((u, f) => u + f.to - f.from, 0);
33671
+ const l = a.filter((u) => o ? o.name === u.mark.type.name : true).filter((u) => If$1(u.mark.attrs, n, { strict: false })).reduce((u, f) => u + f.to - f.from, 0), c3 = a.filter((u) => o ? u.mark.type !== o && u.mark.type.excludes(o) : true).reduce((u, f) => u + f.to - f.from, 0);
33674
33672
  return (l > 0 ? l + c3 : l) >= s;
33675
33673
  }
33676
33674
  const xy = (t, e = {}, n = {}) => ({ state: r, commands: i3 }) => {
@@ -33706,7 +33704,7 @@ Actual: ` + p3.attribValue
33706
33704
  to: h3
33707
33705
  });
33708
33706
  });
33709
- const l = i3 - r, c3 = a.filter((u) => s ? s.name === u.node.type.name : true).filter((u) => Rf$1(u.node.attrs, n, { strict: false }));
33707
+ const l = i3 - r, c3 = a.filter((u) => s ? s.name === u.node.type.name : true).filter((u) => If$1(u.node.attrs, n, { strict: false }));
33710
33708
  return o ? !!c3.length : c3.reduce((u, f) => u + f.to - f.from, 0) >= l;
33711
33709
  }
33712
33710
  const Cy = (t, e, n = {}) => ({ state: r, commands: i3 }) => {
@@ -33890,7 +33888,7 @@ Actual: ` + p3.attribValue
33890
33888
  if (e.$from.index(e.depth - 1) == 0)
33891
33889
  return false;
33892
33890
  let l = s.resolve(e.start - 2);
33893
- o = new _c$2(l, l, e.depth), e.endIndex < e.parent.childCount && (e = new _c$2(e.$from, s.resolve(e.$to.end(e.depth)), e.depth)), i3 = true;
33891
+ o = new Lc$2(l, l, e.depth), e.endIndex < e.parent.childCount && (e = new Lc$2(e.$from, s.resolve(e.$to.end(e.depth)), e.depth)), i3 = true;
33894
33892
  }
33895
33893
  let a = Ip$1(o, n, r, e);
33896
33894
  return a ? (t && Uy(t, e, a, i3, n), true) : false;
@@ -33916,7 +33914,7 @@ Actual: ` + p3.attribValue
33916
33914
  }
33917
33915
  function Ky(t, e, n, r) {
33918
33916
  let i3 = t.tr, o = r.end, s = r.$to.end(r.depth);
33919
- o < s && (i3.step(new $e$2(o - 1, s, o, s, new ae$4(Q$2.from(n.create(null, r.parent.copy())), 1, 0), 1, true)), r = new _c$2(i3.doc.resolve(r.$from.pos), i3.doc.resolve(s), r.depth));
33917
+ o < s && (i3.step(new $e$2(o - 1, s, o, s, new ae$4(Q$2.from(n.create(null, r.parent.copy())), 1, 0), 1, true)), r = new Lc$2(i3.doc.resolve(r.$from.pos), i3.doc.resolve(s), r.depth));
33920
33918
  const a = Np$1(r);
33921
33919
  if (a == null)
33922
33920
  return false;
@@ -35405,7 +35403,7 @@ Actual: ` + p3.attribValue
35405
35403
  markName: xr$2,
35406
35404
  attrs: { authorEmail: r.email }
35407
35405
  }), s;
35408
- o ? s = o.mark.attrs.id : s = Aa$2();
35406
+ o ? s = o.mark.attrs.id : s = xa$2();
35409
35407
  const a = t.doc.type.schema.marks[xr$2].create({
35410
35408
  id: s,
35411
35409
  author: r.name,
@@ -35426,7 +35424,7 @@ Actual: ` + p3.attribValue
35426
35424
  markName: Pi$2,
35427
35425
  attrs: { authorEmail: r.email }
35428
35426
  }), s;
35429
- o ? s = o.mark.attrs.id : s = Aa$2();
35427
+ o ? s = o.mark.attrs.id : s = xa$2();
35430
35428
  const a = t.doc.type.schema.marks[Pi$2].create({
35431
35429
  id: s,
35432
35430
  author: r.name,
@@ -35561,7 +35559,7 @@ Actual: ` + p3.attribValue
35561
35559
  findParentNodeClosestToPos: Ki$1,
35562
35560
  generateDocxListAttributes: ub,
35563
35561
  generateDocxRandomId: Ri$2,
35564
- generateRandom32BitHex: nu$2,
35562
+ generateRandom32BitHex: ru$2,
35565
35563
  getActiveFormatting: op,
35566
35564
  getExtensionConfigField: I$1,
35567
35565
  getMarkRange: Ws,
@@ -36303,11 +36301,11 @@ Actual: ` + p3.attribValue
36303
36301
  return;
36304
36302
  if (c3.marks.find((h3) => h3.type.name === Pi$2))
36305
36303
  return false;
36306
- const u = c3.marks.find((h3) => [Pi$2, Oi$2].includes(h3.type.name)), f = u ? u.attrs.id : Aa$2();
36304
+ const u = c3.marks.find((h3) => [Pi$2, Oi$2].includes(h3.type.name)), f = u ? u.attrs.id : xa$2();
36307
36305
  if (r.addMark(Math.max(n.from, d), Math.min(n.to, d + c3.nodeSize), n.mark), ["bold", "italic", "strike", "underline", "textStyle"].includes(n.mark.type.name) && !c3.marks.find((h3) => h3.type === n.mark.type)) {
36308
36306
  const h3 = c3.marks.find((b) => b.type.name === Oi$2);
36309
36307
  let m = [], g = [];
36310
- if (h3 ? h3.attrs.before.find((w) => w.type === "textStyle" ? w.type === n.mark.type.name && Rf$1(w.attrs, n.mark.attrs) : w.type === n.mark.type.name) ? (g = [...h3.attrs.before.filter((w) => w.type !== n.mark.type.name)], m = [...h3.attrs.after]) : (g = [...h3.attrs.before], m = [
36308
+ if (h3 ? h3.attrs.before.find((w) => w.type === "textStyle" ? w.type === n.mark.type.name && If$1(w.attrs, n.mark.attrs) : w.type === n.mark.type.name) ? (g = [...h3.attrs.before.filter((w) => w.type !== n.mark.type.name)], m = [...h3.attrs.after]) : (g = [...h3.attrs.before], m = [
36311
36309
  ...h3.attrs.after,
36312
36310
  {
36313
36311
  type: n.mark.type.name,
@@ -36363,7 +36361,7 @@ Actual: ` + p3.attribValue
36363
36361
  }
36364
36362
  ]), p3.length || h3.length) {
36365
36363
  const m = t.schema.marks[Oi$2].create({
36366
- id: Aa$2(),
36364
+ id: xa$2(),
36367
36365
  author: s.name,
36368
36366
  authorEmail: s.email,
36369
36367
  date: a,
@@ -36819,7 +36817,7 @@ Actual: ` + p3.attribValue
36819
36817
  * Get HTML string of the document
36820
36818
  */
36821
36819
  getHTML() {
36822
- const n = document.createElement("div"), r = qa$2.fromSchema(this.schema).serializeFragment(this.state.doc.content);
36820
+ const n = document.createElement("div"), r = _a$2.fromSchema(this.schema).serializeFragment(this.state.doc.content);
36823
36821
  return n.appendChild(r), n.innerHTML;
36824
36822
  }
36825
36823
  /**
@@ -36898,7 +36896,7 @@ Actual: ` + p3.attribValue
36898
36896
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
36899
36897
  */
36900
36898
  processCollaborationMigrations() {
36901
- if (console.debug("[checkVersionMigrations] Current editor version", "0.11.24"), !this.options.ydoc) return;
36899
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.11.25"), !this.options.ydoc) return;
36902
36900
  let r = this.options.ydoc.getMap("meta").get("version");
36903
36901
  r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
36904
36902
  const i3 = fl$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
@@ -37305,7 +37303,7 @@ Actual: ` + p3.attribValue
37305
37303
  parseDOM: (t) => t.style.fontSize,
37306
37304
  renderDOM: (t) => {
37307
37305
  if (!t.fontSize) return {};
37308
- let [e, n] = Lf$2(t.fontSize);
37306
+ let [e, n] = Of$2(t.fontSize);
37309
37307
  return Number.isNaN(e) ? {} : (n = n || this.options.defaults.unit, { style: `font-size: ${e}${n}` });
37310
37308
  }
37311
37309
  }
@@ -37316,7 +37314,7 @@ Actual: ` + p3.attribValue
37316
37314
  addCommands() {
37317
37315
  return {
37318
37316
  setFontSize: (t) => ({ chain: e }) => {
37319
- let [n, r] = Lf$2(t);
37317
+ let [n, r] = Of$2(t);
37320
37318
  if (Number.isNaN(n))
37321
37319
  return false;
37322
37320
  let { min: i3, max: o, unit: s } = this.options.defaults;
@@ -37389,7 +37387,7 @@ Actual: ` + p3.attribValue
37389
37387
  parseDOM: (t) => t.style.textIndent,
37390
37388
  renderDOM: (t) => {
37391
37389
  if (!t.textIndent) return {};
37392
- let [e, n] = Lf$2(t.textIndent);
37390
+ let [e, n] = Of$2(t.textIndent);
37393
37391
  return Number.isNaN(e) || !e ? {} : (n = n || this.options.defaults.unit, { style: `margin-left: ${e}${n}` });
37394
37392
  }
37395
37393
  }
@@ -37409,7 +37407,7 @@ Actual: ` + p3.attribValue
37409
37407
  textIndent: `${o}${s}`
37410
37408
  });
37411
37409
  }
37412
- let [r, i3] = Lf$2(n);
37410
+ let [r, i3] = Of$2(n);
37413
37411
  return r = r + this.options.defaults.increment, i3 = i3 || this.options.defaults.unit, Number.isNaN(r) ? false : t.updateAttributes(e, {
37414
37412
  textIndent: `${r}${i3}`
37415
37413
  });
@@ -37417,7 +37415,7 @@ Actual: ` + p3.attribValue
37417
37415
  decreaseTextIndent: () => ({ commands: t }) => this.options.types.map((e) => {
37418
37416
  let { textIndent: n } = this.editor.getAttributes(e);
37419
37417
  if (!n) return false;
37420
- let [r, i3] = Lf$2(n);
37418
+ let [r, i3] = Of$2(n);
37421
37419
  return r = r - this.options.defaults.increment, i3 = i3 || this.options.defaults.unit, Number.isNaN(r) ? false : r <= 0 ? t.unsetTextIndent() : t.updateAttributes(e, {
37422
37420
  textIndent: `${r}${i3}`
37423
37421
  });
@@ -38631,7 +38629,7 @@ Actual: ` + p3.attribValue
38631
38629
  c3.forEach((b) => {
38632
38630
  let { attrs: w } = b;
38633
38631
  if (w.fontSize && !u) {
38634
- let [x3, y] = Lf$2(w.fontSize);
38632
+ let [x3, y] = Of$2(w.fontSize);
38635
38633
  Number.isNaN(x3) || (y = y ?? "pt", u = `${x3}${y}`);
38636
38634
  }
38637
38635
  w.fontFamily && !f && (f = w.fontFamily);
@@ -38866,11 +38864,11 @@ Actual: ` + p3.attribValue
38866
38864
  if (!t?.definition?.styles) return "";
38867
38865
  const i3 = {};
38868
38866
  return Object.entries(t.definition.styles).forEach(([o, s]) => {
38869
- const a = Qa$2(o), l = [];
38867
+ const a = Za$2(o), l = [];
38870
38868
  e?.marks?.forEach((f) => {
38871
38869
  if (f.type.name === "textStyle") {
38872
38870
  Object.entries(f.attrs).forEach(([p3, h3]) => {
38873
- const m = Qa$2(p3);
38871
+ const m = Za$2(p3);
38874
38872
  h3 && l.push({ key: m, value: h3 });
38875
38873
  });
38876
38874
  return;
@@ -39371,12 +39369,12 @@ Actual: ` + p3.attribValue
39371
39369
  const m = i3 === u ? o : p3 && p3[h3], g = m ? `${m}px` : "";
39372
39370
  if (s += m || r, m || (a = false), l) {
39373
39371
  if (l.style.width !== g) {
39374
- const [b, w] = md$2(r, m);
39372
+ const [b, w] = dd$2(r, m);
39375
39373
  l.style.setProperty(b, w);
39376
39374
  }
39377
39375
  l = l.nextSibling;
39378
39376
  } else {
39379
- const b = document.createElement("col"), [w, x3] = md$2(r, m);
39377
+ const b = document.createElement("col"), [w, x3] = dd$2(r, m);
39380
39378
  b.style.setProperty(w, x3), e.appendChild(b);
39381
39379
  }
39382
39380
  }
@@ -39737,7 +39735,7 @@ Actual: ` + p3.attribValue
39737
39735
  if (!u)
39738
39736
  throw RangeError(`No cell with offset ${d} found`);
39739
39737
  const f = o + d + 1;
39740
- return new Ff$2(
39738
+ return new Tf$2(
39741
39739
  a.resolve(f),
39742
39740
  a.resolve(f + u.content.size)
39743
39741
  );
@@ -40514,7 +40512,7 @@ Actual: ` + p3.attribValue
40514
40512
  }
40515
40513
  function gs(t, e) {
40516
40514
  const n = t.createAndFill();
40517
- return new Tf$2(n).replace(0, n.content.size, e).doc;
40515
+ return new Sf$2(n).replace(0, n.content.size, e).doc;
40518
40516
  }
40519
40517
  function Mw({ width: t, height: e, rows: n }, r, i3) {
40520
40518
  if (t != r) {
@@ -41215,7 +41213,7 @@ Actual: ` + p3.attribValue
41215
41213
  return [{ tag: "table" }];
41216
41214
  },
41217
41215
  renderDOM({ node: t, htmlAttributes: e }) {
41218
- const { colgroup: n, tableWidth: r, tableMinWidth: i3 } = pd$2(
41216
+ const { colgroup: n, tableWidth: r, tableMinWidth: i3 } = md$2(
41219
41217
  t,
41220
41218
  this.options.cellMinWidth
41221
41219
  );
@@ -42013,7 +42011,7 @@ Actual: ` + p3.attribValue
42013
42011
  parseDOM: (t) => t.getAttribute("data-font-size") || t.style.fontSize || null,
42014
42012
  renderDOM: (t) => {
42015
42013
  if (!t.fontSize) return {};
42016
- let [e, n] = Lf$2(t.fontSize);
42014
+ let [e, n] = Of$2(t.fontSize);
42017
42015
  if (Number.isNaN(e)) return {};
42018
42016
  n = n || "pt";
42019
42017
  let r = `${e}${n}`;
@@ -42309,7 +42307,7 @@ Actual: ` + p3.attribValue
42309
42307
  let { from: s, to: a, node: l } = i3.selection, c3 = vi$1(s, a, i3.doc);
42310
42308
  if (!c3.length)
42311
42309
  return true;
42312
- let [d, u] = Lf$2(t), f = 8, p3 = 96, h3 = "pt";
42310
+ let [d, u] = Of$2(t), f = 8, p3 = 96, h3 = "pt";
42313
42311
  return Number.isNaN(d) ? false : (d = Jp$1(d, f, p3), u = u || h3, n && (c3.forEach((m) => {
42314
42312
  o.updateFieldAnnotationsAttributes([m], {
42315
42313
  fontSize: `${d}${u}`
@@ -45869,7 +45867,7 @@ Actual: ` + p3.attribValue
45869
45867
  from: h3.from,
45870
45868
  to: h3.to,
45871
45869
  text: d.doc.textBetween(h3.from, h3.to),
45872
- id: Aa$2()
45870
+ id: xa$2()
45873
45871
  }));
45874
45872
  return this.storage.searchResults = p3, p3;
45875
45873
  },
@@ -53732,7 +53730,7 @@ ${t}
53732
53730
  }, a.prototype.off = a.prototype.removeListener, a.prototype.addListener = a.prototype.on, a.prefixed = o, a.EventEmitter = a, t.exports = a;
53733
53731
  })(it);
53734
53732
  var Ut = it.exports;
53735
- const qt = /* @__PURE__ */ Mo$3(Ut);
53733
+ const qt = /* @__PURE__ */ qo$2(Ut);
53736
53734
  function Gt(t) {
53737
53735
  let l = t;
53738
53736
  for (; l; ) {
@@ -53758,7 +53756,7 @@ ${t}
53758
53756
  throw new Error("Toolbar button item needs either icon or label - " + t.name);
53759
53757
  if (!t.name)
53760
53758
  throw new Error("Invalid toolbar item name - " + t.name);
53761
- const o = ref(Aa$2()), n = t.type, e = ref(t.name), i3 = t.command, r = t.noArgumentCommand, a = ref(t.icon), s = ref(t.group || "center"), c3 = ref(t.allowWithoutEditor), d = ref(t.attributes || {}), u = t.disabled || false, b = ref(t.disabled), v = ref(false), y = ref(false), S = ref(t.style), g = ref(t.isNarrow), F3 = ref(t.isWide), $ = ref(t.minWidth), p3 = ref(t.suppressActiveHighlight || false), _ = ref(t.argument), T = ref(null), N3 = ref(null), V = ref(t.iconColor), te2 = ref(t.hasCaret), ye2 = ref(t.dropdownStyles), Z3 = ref(t.tooltip), re2 = ref(t.tooltipVisible), be2 = ref(t.tooltipTimeout), I3 = ref(t.defaultLabel), M = ref(t.label), H3 = ref(t.hideLabel), R = ref(t.inlineTextInputVisible), G3 = ref(t.hasInlineTextInput), K3 = ref(t.markName), ce2 = ref(t.labelAttr), ue2 = ref(t.selectedValue), _e2 = ref(t.dropdownValueKey), xe = ref(t.inputRef || null), Se = ref([]);
53759
+ const o = ref(xa$2()), n = t.type, e = ref(t.name), i3 = t.command, r = t.noArgumentCommand, a = ref(t.icon), s = ref(t.group || "center"), c3 = ref(t.allowWithoutEditor), d = ref(t.attributes || {}), u = t.disabled || false, b = ref(t.disabled), v = ref(false), y = ref(false), S = ref(t.style), g = ref(t.isNarrow), F3 = ref(t.isWide), $ = ref(t.minWidth), p3 = ref(t.suppressActiveHighlight || false), _ = ref(t.argument), T = ref(null), N3 = ref(null), V = ref(t.iconColor), te2 = ref(t.hasCaret), ye2 = ref(t.dropdownStyles), Z3 = ref(t.tooltip), re2 = ref(t.tooltipVisible), be2 = ref(t.tooltipTimeout), I3 = ref(t.defaultLabel), M = ref(t.label), H3 = ref(t.hideLabel), R = ref(t.inlineTextInputVisible), G3 = ref(t.hasInlineTextInput), K3 = ref(t.markName), ce2 = ref(t.labelAttr), ue2 = ref(t.selectedValue), _e2 = ref(t.dropdownValueKey), xe = ref(t.inputRef || null), Se = ref([]);
53762
53760
  if (t.options) {
53763
53761
  if (!Array.isArray(t.options)) throw new Error("Invalid toolbar item options - " + t.options);
53764
53762
  Se.value.push(...t.options);
@@ -70798,7 +70796,7 @@ ${style2}
70798
70796
  this.config.colors = shuffleArray(this.config.colors);
70799
70797
  this.userColorMap = /* @__PURE__ */ new Map();
70800
70798
  this.colorIndex = 0;
70801
- this.version = "0.11.24";
70799
+ this.version = "0.11.25";
70802
70800
  console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
70803
70801
  this.superdocId = config.superdocId || v4();
70804
70802
  this.colors = this.config.colors;