@harbour-enterprises/superdoc 0.10.57 → 0.10.58

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.
@@ -26,7 +26,7 @@ function JS(t) {
26
26
  });
27
27
  }), n;
28
28
  }
29
- var Et = {}, cc = {};
29
+ var Ct = {}, cc = {};
30
30
  cc.byteLength = ZS;
31
31
  cc.toByteArray = eA;
32
32
  cc.fromByteArray = rA;
@@ -1044,8 +1044,8 @@ pp.write = function(t, e, n, r, o, i) {
1044
1044
  function Ve() {
1045
1045
  throw new Error("BigInt not supported");
1046
1046
  }
1047
- })(Et);
1048
- const $t = Et.Buffer, oA = Et.Blob, iA = Et.BlobOptions, sA = Et.Buffer, aA = Et.File, lA = Et.FileOptions, cA = Et.INSPECT_MAX_BYTES, uA = Et.SlowBuffer, dA = Et.TranscodeEncoding, fA = Et.atob, pA = Et.btoa, hA = Et.constants, mA = Et.isAscii, gA = Et.isUtf8, yA = Et.kMaxLength, wA = Et.kStringMaxLength, bA = Et.resolveObjectURL, vA = Et.transcode, xA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1047
+ })(Ct);
1048
+ const St = Ct.Buffer, oA = Ct.Blob, iA = Ct.BlobOptions, sA = Ct.Buffer, aA = Ct.File, lA = Ct.FileOptions, cA = Ct.INSPECT_MAX_BYTES, uA = Ct.SlowBuffer, dA = Ct.TranscodeEncoding, fA = Ct.atob, pA = Ct.btoa, hA = Ct.constants, mA = Ct.isAscii, gA = Ct.isUtf8, yA = Ct.kMaxLength, wA = Ct.kStringMaxLength, bA = Ct.resolveObjectURL, vA = Ct.transcode, xA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1049
1049
  __proto__: null,
1050
1050
  Blob: oA,
1051
1051
  BlobOptions: iA,
@@ -1058,7 +1058,7 @@ const $t = Et.Buffer, oA = Et.Blob, iA = Et.BlobOptions, sA = Et.Buffer, aA = Et
1058
1058
  atob: fA,
1059
1059
  btoa: pA,
1060
1060
  constants: hA,
1061
- default: $t,
1061
+ default: St,
1062
1062
  isAscii: mA,
1063
1063
  isUtf8: gA,
1064
1064
  kMaxLength: yA,
@@ -4580,7 +4580,7 @@ function pE() {
4580
4580
  value: u
4581
4581
  }
4582
4582
  }), u.prototype.write = function(E) {
4583
- if (typeof $t == "function" && typeof $t.isBuffer == "function" && $t.isBuffer(E)) {
4583
+ if (typeof St == "function" && typeof St.isBuffer == "function" && St.isBuffer(E)) {
4584
4584
  if (!this._decoder) {
4585
4585
  var A = Rd().StringDecoder;
4586
4586
  this._decoder = new A("utf8");
@@ -5651,7 +5651,7 @@ var s1 = function(t, e) {
5651
5651
  var n = [];
5652
5652
  return Vt = t, Ht = "_root_", e.compact ? n.push(i1(t, e, 0, !0)) : (t[e.declarationKey] && n.push(Zb(t[e.declarationKey], e, 0)), t[e.elementsKey] && t[e.elementsKey].length && n.push(r1(t[e.elementsKey], e, 0, !n.length))), n.join("");
5653
5653
  }, IE = s1, NE = function(t, e) {
5654
- t instanceof $t && (t = t.toString());
5654
+ t instanceof St && (t = t.toString());
5655
5655
  var n = null;
5656
5656
  if (typeof t == "string")
5657
5657
  try {
@@ -11011,7 +11011,20 @@ function YC(t) {
11011
11011
  if (t != null)
11012
11012
  return t * 20;
11013
11013
  }
11014
- const ZC = async (t) => await (await fetch(t)).arrayBuffer(), QC = (t) => {
11014
+ const ZC = async (t) => {
11015
+ const e = t.includes(",") ? t.split(",", 2)[1] : t;
11016
+ if (typeof globalThis.atob == "function") {
11017
+ const r = globalThis.atob(e), o = r.length, i = new Uint8Array(o);
11018
+ for (let s = 0; s < o; s++)
11019
+ i[s] = r.charCodeAt(s);
11020
+ return i.buffer;
11021
+ }
11022
+ const n = St.from(e, "base64");
11023
+ return n.buffer.slice(
11024
+ n.byteOffset,
11025
+ n.byteOffset + n.byteLength
11026
+ );
11027
+ }, QC = (t) => {
11015
11028
  const e = new window.DOMParser().parseFromString(t, "text/xml").querySelectorAll("Default");
11016
11029
  return Array.from(e).map((n) => n.getAttribute("Extension"));
11017
11030
  }, e4 = (t) => (/* @__PURE__ */ new Map([
@@ -16542,7 +16555,7 @@ const hs = class Ov {
16542
16555
  return;
16543
16556
  }
16544
16557
  }
16545
- static updateDocumentVersion(e = this.convertedXml, n = "0.10.57") {
16558
+ static updateDocumentVersion(e = this.convertedXml, n = "0.10.58") {
16546
16559
  const r = "docProps/custom.xml";
16547
16560
  e[r] || (e[r] = Mv());
16548
16561
  const o = e["docProps/custom.xml"];
@@ -16803,7 +16816,7 @@ function L$(t) {
16803
16816
  function Mv() {
16804
16817
  return s4;
16805
16818
  }
16806
- function Dv(t = 2, e = "0.10.57") {
16819
+ function Dv(t = 2, e = "0.10.58") {
16807
16820
  return {
16808
16821
  type: "element",
16809
16822
  name: "property",
@@ -17112,16 +17125,16 @@ var _v = { exports: {} };
17112
17125
  this._helper.resume();
17113
17126
  }, r.exports = s;
17114
17127
  }, { "../utils": 32, "readable-stream": 16 }], 14: [function(n, r, o) {
17115
- r.exports = { isNode: typeof $t < "u", newBufferFrom: function(i, s) {
17116
- if ($t.from && $t.from !== Uint8Array.from) return $t.from(i, s);
17128
+ r.exports = { isNode: typeof St < "u", newBufferFrom: function(i, s) {
17129
+ if (St.from && St.from !== Uint8Array.from) return St.from(i, s);
17117
17130
  if (typeof i == "number") throw new Error('The "data" argument must not be a number');
17118
- return new $t(i, s);
17131
+ return new St(i, s);
17119
17132
  }, allocBuffer: function(i) {
17120
- if ($t.alloc) return $t.alloc(i);
17121
- var s = new $t(i);
17133
+ if (St.alloc) return St.alloc(i);
17134
+ var s = new St(i);
17122
17135
  return s.fill(0), s;
17123
17136
  }, isBuffer: function(i) {
17124
- return $t.isBuffer(i);
17137
+ return St.isBuffer(i);
17125
17138
  }, isStream: function(i) {
17126
17139
  return i && typeof i.on == "function" && typeof i.pause == "function" && typeof i.resume == "function";
17127
17140
  } };
@@ -17448,7 +17461,7 @@ var _v = { exports: {} };
17448
17461
  for (re = new Uint8Array(_), S = 0; S < I.length; S++) re.set(I[S], V), V += I[S].length;
17449
17462
  return re;
17450
17463
  case "nodebuffer":
17451
- return $t.concat(I);
17464
+ return St.concat(I);
17452
17465
  default:
17453
17466
  throw new Error("concat : unsupported type '" + O + "'");
17454
17467
  }
@@ -17495,7 +17508,7 @@ var _v = { exports: {} };
17495
17508
  return new d(this, { objectMode: this._outputType !== "nodebuffer" }, h);
17496
17509
  } }, r.exports = p;
17497
17510
  }, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(n, r, o) {
17498
- if (o.base64 = !0, o.array = !0, o.string = !0, o.arraybuffer = typeof ArrayBuffer < "u" && typeof Uint8Array < "u", o.nodebuffer = typeof $t < "u", o.uint8array = typeof Uint8Array < "u", typeof ArrayBuffer > "u") o.blob = !1;
17511
+ if (o.base64 = !0, o.array = !0, o.string = !0, o.arraybuffer = typeof ArrayBuffer < "u" && typeof Uint8Array < "u", o.nodebuffer = typeof St < "u", o.uint8array = typeof Uint8Array < "u", typeof ArrayBuffer > "u") o.blob = !1;
17499
17512
  else {
17500
17513
  var i = new ArrayBuffer(0);
17501
17514
  try {
@@ -19240,7 +19253,7 @@ let ly = class {
19240
19253
  const a = n[s];
19241
19254
  i.file(s, a);
19242
19255
  }), Object.keys(r).forEach((s) => {
19243
- const a = $t.from(r[s], "base64");
19256
+ const a = St.from(r[s], "base64");
19244
19257
  i.file(`word/media/${s}`, a);
19245
19258
  });
19246
19259
  for (const [s, a] of Object.entries(o))
@@ -23793,7 +23806,7 @@ const LO = (t) => new RO().digest(t), BO = (t) => {
23793
23806
  for (let n = 0; n < t.byteLength; n++)
23794
23807
  e += j5(t[n]);
23795
23808
  return btoa(e);
23796
- }, PO = (t) => $t.from(t.buffer, t.byteOffset, t.byteLength).toString("base64"), zO = I2 ? BO : PO, jO = (t) => Y5((e) => hf(e, t)), qO = (t) => {
23809
+ }, PO = (t) => St.from(t.buffer, t.byteOffset, t.byteLength).toString("base64"), zO = I2 ? BO : PO, jO = (t) => Y5((e) => hf(e, t)), qO = (t) => {
23797
23810
  for (let e = 6; e < t.length; e++)
23798
23811
  t[e % 6] = t[e % 6] ^ t[e];
23799
23812
  return t.slice(0, 6);
@@ -24928,7 +24941,7 @@ function Up(t) {
24928
24941
  return !1;
24929
24942
  };
24930
24943
  }
24931
- function St(t, e) {
24944
+ function At(t, e) {
24932
24945
  if (typeof t == "string") {
24933
24946
  if (!e.nodes[t])
24934
24947
  throw Error(`There is no node type named '${t}' in schema.`);
@@ -25055,7 +25068,7 @@ class Me {
25055
25068
  * @returns The node attrs.
25056
25069
  */
25057
25070
  static getNodeAttributes(e, n) {
25058
- const r = St(n, e.schema), { from: o, to: i } = e.selection, s = [];
25071
+ const r = At(n, e.schema), { from: o, to: i } = e.selection, s = [];
25059
25072
  e.doc.nodesBetween(o, i, (l) => {
25060
25073
  s.push(l);
25061
25074
  });
@@ -25611,7 +25624,7 @@ const FM = class gs {
25611
25624
  options: r.options,
25612
25625
  storage: r.storage,
25613
25626
  editor: e,
25614
- type: St(r.name, this.schema)
25627
+ type: At(r.name, this.schema)
25615
25628
  }, s = Le(r, "addNodeView", i);
25616
25629
  if (!s) return [];
25617
25630
  const a = (l, c, u, d) => {
@@ -26138,11 +26151,11 @@ const cD = (t, e = {}, n = {}) => ({ state: r, commands: o }) => {
26138
26151
  });
26139
26152
  }), !0;
26140
26153
  }, dD = (t, e = {}) => ({ state: n, dispatch: r, chain: o }) => {
26141
- const i = St(t, n.schema);
26154
+ const i = At(t, n.schema);
26142
26155
  return i.isTextblock ? o().command(({ commands: s }) => ew(i, e)(n) ? !0 : s.clearNodes()).command(({ state: s }) => ew(i, e)(s, r)).run() : !1;
26143
26156
  };
26144
26157
  function Wl(t, e, n = {}) {
26145
- const { from: r, to: o, empty: i } = t.selection, s = e ? St(e, t.schema) : null, a = [];
26158
+ const { from: r, to: o, empty: i } = t.selection, s = e ? At(e, t.schema) : null, a = [];
26146
26159
  t.doc.nodesBetween(r, o, (u, d) => {
26147
26160
  if (u.isText) return;
26148
26161
  const f = Math.max(r, d), p = Math.min(o, d + u.nodeSize);
@@ -26156,7 +26169,7 @@ function Wl(t, e, n = {}) {
26156
26169
  return i ? !!c.length : c.reduce((u, d) => u + d.to - d.from, 0) >= l;
26157
26170
  }
26158
26171
  const fD = (t, e, n = {}) => ({ state: r, commands: o }) => {
26159
- const i = St(t, r.schema), s = St(e, r.schema);
26172
+ const i = At(t, r.schema), s = At(e, r.schema);
26160
26173
  return Wl(r, i, n) ? o.setNode(s) : o.setNode(i, n);
26161
26174
  }, pD = () => ({ state: t, dispatch: e }) => JM(t, e), hD = () => ({ state: t, dispatch: e }) => Hp(t, e), mD = (t, e = {}) => ({ tr: n, state: r, dispatch: o }) => {
26162
26175
  let i = null, s = null;
@@ -26164,7 +26177,7 @@ const fD = (t, e, n = {}) => ({ state: r, commands: o }) => {
26164
26177
  typeof t == "string" ? t : t.name,
26165
26178
  r.schema
26166
26179
  );
26167
- return a ? (a === "node" && (i = St(t, r.schema)), a === "mark" && (s = Tr(t, r.schema)), o && n.selection.ranges.forEach((l) => {
26180
+ return a ? (a === "node" && (i = At(t, r.schema)), a === "mark" && (s = Tr(t, r.schema)), o && n.selection.ranges.forEach((l) => {
26168
26181
  const c = l.$from.pos, u = l.$to.pos;
26169
26182
  r.doc.nodesBetween(c, u, (d, f) => {
26170
26183
  i && i === d.type && n.setNodeMarkup(f, void 0, { ...d.attrs, ...e }), s && d.marks.length && d.marks.forEach((p) => {
@@ -26181,7 +26194,7 @@ const fD = (t, e, n = {}) => ({ state: r, commands: o }) => {
26181
26194
  typeof t == "string" ? t : t.name,
26182
26195
  r.schema
26183
26196
  );
26184
- return a ? (a === "node" && (i = St(t, r.schema)), a === "mark" && (s = Tr(t, r.schema)), o && n.selection.ranges.forEach((l) => {
26197
+ return a ? (a === "node" && (i = At(t, r.schema)), a === "mark" && (s = Tr(t, r.schema)), o && n.selection.ranges.forEach((l) => {
26185
26198
  r.doc.nodesBetween(l.$from.pos, l.$to.pos, (c, u) => {
26186
26199
  i && i === c.type && n.setNodeMarkup(u, void 0, Gg(c.attrs, e)), s && c.marks.length && c.marks.forEach((d) => {
26187
26200
  s === d.type && n.addMark(u, u + c.nodeSize, s.create(Gg(d.attrs, e)));
@@ -26402,7 +26415,7 @@ function RD(t) {
26402
26415
  };
26403
26416
  }
26404
26417
  const LD = (t, e = {}) => ({ state: n, dispatch: r }) => {
26405
- const o = St(t, n.schema);
26418
+ const o = At(t, n.schema);
26406
26419
  return MD(o, e)(n, r);
26407
26420
  }, Sc = (t, e) => {
26408
26421
  for (let n = t.depth; n > 0; n--) {
@@ -27582,7 +27595,7 @@ const LD = (t, e = {}) => ({ state: n, dispatch: r }) => {
27582
27595
  const o = t.doc.nodeAt(r);
27583
27596
  return n.node.type === o?.type && oo(t.doc, r) && t.join(r), !0;
27584
27597
  }, zD = (t, e, n, r = {}) => (o) => {
27585
- const { editor: i, tr: s, state: a, dispatch: l, chain: c, can: u, commands: d } = o, { extensions: f, splittableMarks: p } = i.extensionService, h = St(t, a.schema), m = St(e, a.schema), { selection: y, storedMarks: g } = a, { $from: v, $to: x } = y, w = v.blockRange(x), $ = g || y.$to.parentOffset && y.$from.marks();
27598
+ const { editor: i, tr: s, state: a, dispatch: l, chain: c, can: u, commands: d } = o, { extensions: f, splittableMarks: p } = i.extensionService, h = At(t, a.schema), m = At(e, a.schema), { selection: y, storedMarks: g } = a, { $from: v, $to: x } = y, w = v.blockRange(x), $ = g || y.$to.parentOffset && y.$from.marks();
27586
27599
  if (!w) return !1;
27587
27600
  const M = dn((V) => Ef(V.type.name, f))(y), { numbering: O } = i.converter;
27588
27601
  if (w.depth >= 1 && M && w.depth - M.depth <= 1) {
@@ -27627,7 +27640,7 @@ const LD = (t, e = {}) => ({ state: n, dispatch: r }) => {
27627
27640
  const { definitions: n, abstracts: r } = e, o = n[t].elements[0].attributes["w:val"];
27628
27641
  return delete n[t], delete r[o], e;
27629
27642
  }, UD = (t) => (e) => {
27630
- const { tr: n, state: r, dispatch: o, editor: i } = e, s = St(t, r.schema), { $from: a, $to: l, node: c } = r.selection;
27643
+ const { tr: n, state: r, dispatch: o, editor: i } = e, s = At(t, r.schema), { $from: a, $to: l, node: c } = r.selection;
27631
27644
  if (c && c.isBlock || a.depth < 2 || !a.sameParent(l))
27632
27645
  return !1;
27633
27646
  const u = a.node(-1);
@@ -27679,10 +27692,10 @@ const LD = (t, e = {}) => ({ state: n, dispatch: r }) => {
27679
27692
  }
27680
27693
  return !0;
27681
27694
  }, VD = (t) => ({ state: e, dispatch: n }) => {
27682
- const r = St(t, e.schema);
27695
+ const r = At(t, e.schema);
27683
27696
  return RD(r)(e, n);
27684
27697
  }, HD = (t) => ({ state: e, dispatch: n }) => {
27685
- const r = St(t, e.schema);
27698
+ const r = At(t, e.schema);
27686
27699
  return ID(r)(e, n);
27687
27700
  }, WD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27688
27701
  __proto__: null,
@@ -28020,7 +28033,7 @@ const Yp = (t) => {
28020
28033
  getMarkType: Tr,
28021
28034
  getMarksBetween: QD,
28022
28035
  getMarksFromSelection: wc,
28023
- getNodeType: St,
28036
+ getNodeType: At,
28024
28037
  getSchemaTypeByName: Xs,
28025
28038
  getSchemaTypeNameByName: ga,
28026
28039
  isActive: cx,
@@ -29275,7 +29288,7 @@ const b8 = class Tx extends wM {
29275
29288
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
29276
29289
  */
29277
29290
  processCollaborationMigrations() {
29278
- if (console.debug("[checkVersionMigrations] Current editor version", "0.10.57"), !this.options.ydoc) return;
29291
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.10.58"), !this.options.ydoc) return;
29279
29292
  let e = this.options.ydoc.getMap("meta").get("version");
29280
29293
  e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
29281
29294
  const n = sw(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
@@ -31689,10 +31702,10 @@ const kw = (t, e = null) => e ? t.createChecked(null, e) : t.createAndFill(), Qx
31689
31702
  insideV: { size: t, color: e }
31690
31703
  }), S_ = (t, e, n, r, o = null) => {
31691
31704
  const i = {
31692
- table: St("table", t),
31693
- tableRow: St("tableRow", t),
31694
- tableCell: St("tableCell", t),
31695
- tableHeader: St("tableHeader", t)
31705
+ table: At("table", t),
31706
+ tableRow: At("tableRow", t),
31707
+ tableCell: At("tableCell", t),
31708
+ tableHeader: At("tableHeader", t)
31696
31709
  }, s = [], a = [];
31697
31710
  for (let u = 0; u < n; u++) {
31698
31711
  const d = kw(i.tableCell, o);
@@ -37298,7 +37311,7 @@ Object.assign({}, I3, {
37298
37311
  ba.setDefaultProps({
37299
37312
  render: Y3
37300
37313
  });
37301
- const Ct = (t, e) => {
37314
+ const $t = (t, e) => {
37302
37315
  const n = t.__vccOpts || t;
37303
37316
  for (const [r, o] of e)
37304
37317
  n[r] = o;
@@ -37364,7 +37377,7 @@ const Ct = (t, e) => {
37364
37377
  ], 42, RF))), 128))
37365
37378
  ], 544));
37366
37379
  }
37367
- }, qF = /* @__PURE__ */ Ct(jF, [["__scopeId", "data-v-0a2a8b4e"]]), o0 = new st("popoverPlugin"), UF = ut.create({
37380
+ }, qF = /* @__PURE__ */ $t(jF, [["__scopeId", "data-v-0a2a8b4e"]]), o0 = new st("popoverPlugin"), UF = ut.create({
37368
37381
  name: "popoverPlugin",
37369
37382
  addPmPlugins() {
37370
37383
  return [new nt({
@@ -37914,7 +37927,7 @@ const s0 = (t) => {
37914
37927
  }, null, 4)) : lt("", !0)
37915
37928
  ]));
37916
37929
  }
37917
- }, UR = /* @__PURE__ */ Ct(qR, [["__scopeId", "data-v-6d7523ab"]]), VR = {
37930
+ }, UR = /* @__PURE__ */ $t(qR, [["__scopeId", "data-v-6d7523ab"]]), VR = {
37918
37931
  key: 1,
37919
37932
  class: "button-label"
37920
37933
  }, HR = { key: 2 }, WR = ["placeholder", "onKeydown", "id"], GR = ["placeholder", "onKeydown", "id"], KR = ["innerHTML"], JR = {
@@ -38026,7 +38039,7 @@ const s0 = (t) => {
38026
38039
  ], 2)
38027
38040
  ], 6));
38028
38041
  }
38029
- }, Vf = /* @__PURE__ */ Ct(JR, [["__scopeId", "data-v-33900b15"]]), XR = { class: "toolbar-separator" }, YR = {
38042
+ }, Vf = /* @__PURE__ */ $t(JR, [["__scopeId", "data-v-33900b15"]]), XR = { class: "toolbar-separator" }, YR = {
38030
38043
  __name: "ToolbarSeparator",
38031
38044
  props: {
38032
38045
  active: {
@@ -38040,7 +38053,7 @@ const s0 = (t) => {
38040
38053
  He("div", { class: "separator-inner" }, null, -1)
38041
38054
  ])));
38042
38055
  }
38043
- }, ZR = /* @__PURE__ */ Ct(YR, [["__scopeId", "data-v-ac2ee4f9"]]), QR = { class: "overflow-menu" }, eL = { class: "overflow-menu-trigger" }, tL = {
38056
+ }, ZR = /* @__PURE__ */ $t(YR, [["__scopeId", "data-v-ac2ee4f9"]]), QR = { class: "overflow-menu" }, eL = { class: "overflow-menu-trigger" }, tL = {
38044
38057
  key: 0,
38045
38058
  class: "overflow-menu_items"
38046
38059
  }, nL = {
@@ -38080,7 +38093,7 @@ const s0 = (t) => {
38080
38093
  ])) : lt("", !0)
38081
38094
  ]));
38082
38095
  }
38083
- }, rL = /* @__PURE__ */ Ct(nL, [["__scopeId", "data-v-ca29bf1d"]]);
38096
+ }, rL = /* @__PURE__ */ $t(nL, [["__scopeId", "data-v-ca29bf1d"]]);
38084
38097
  function oL(t) {
38085
38098
  let e = ".", n = "__", r = "--", o;
38086
38099
  if (t) {
@@ -38831,7 +38844,7 @@ function WL(t, e, n, r) {
38831
38844
  if (t === "mousemoveoutside" || t === "clickoutside") {
38832
38845
  const o = fk(t, e, n);
38833
38846
  return Object.keys(o).forEach((i) => {
38834
- At(i, document, o[i], r);
38847
+ Et(i, document, o[i], r);
38835
38848
  }), !0;
38836
38849
  }
38837
38850
  return !1;
@@ -39000,7 +39013,7 @@ function KL() {
39000
39013
  off: M
39001
39014
  };
39002
39015
  }
39003
- const { on: At, off: ft } = KL();
39016
+ const { on: Et, off: ft } = KL();
39004
39017
  function JL(t) {
39005
39018
  const e = ge(!!t.value);
39006
39019
  if (e.value)
@@ -39132,8 +39145,8 @@ function rB(t = {}, e) {
39132
39145
  }
39133
39146
  });
39134
39147
  }, a = () => {
39135
- (e === void 0 || e.value) && (At("keydown", document, i), At("keyup", document, s)), e !== void 0 && kn(e, (l) => {
39136
- l ? (At("keydown", document, i), At("keyup", document, s)) : (ft("keydown", document, i), ft("keyup", document, s));
39148
+ (e === void 0 || e.value) && (Et("keydown", document, i), Et("keyup", document, s)), e !== void 0 && kn(e, (l) => {
39149
+ l ? (Et("keydown", document, i), Et("keyup", document, s)) : (ft("keydown", document, i), ft("keyup", document, s));
39137
39150
  });
39138
39151
  };
39139
39152
  return XL() ? (up(a), qn(() => {
@@ -39149,7 +39162,7 @@ function Bi(t) {
39149
39162
  i.value = document.fullscreenElement;
39150
39163
  };
39151
39164
  gn(() => {
39152
- At("fullscreenchange", document, s);
39165
+ Et("fullscreenchange", document, s);
39153
39166
  }), qn(() => {
39154
39167
  ft("fullscreenchange", document, s);
39155
39168
  });
@@ -39314,7 +39327,7 @@ const wk = bt({
39314
39327
  for (; g = yk(g), g !== null; )
39315
39328
  i.push(g);
39316
39329
  for (const v of i)
39317
- At("scroll", v, d, !0);
39330
+ Et("scroll", v, d, !0);
39318
39331
  }, a = () => {
39319
39332
  for (const g of i)
39320
39333
  ft("scroll", g, d, !0);
@@ -39328,7 +39341,7 @@ const wk = bt({
39328
39341
  }, f = () => {
39329
39342
  l.forEach((g) => g());
39330
39343
  }, p = /* @__PURE__ */ new Set(), h = (g) => {
39331
- p.size === 0 && At("resize", window, y), p.has(g) || p.add(g);
39344
+ p.size === 0 && Et("resize", window, y), p.has(g) || p.add(g);
39332
39345
  }, m = (g) => {
39333
39346
  p.has(g) && p.delete(g), p.size === 0 && ft("resize", window, y);
39334
39347
  }, y = () => {
@@ -39370,11 +39383,11 @@ const wk = bt({
39370
39383
  mounted(t, { value: e }) {
39371
39384
  t[Qo] = {
39372
39385
  handler: void 0
39373
- }, typeof e == "function" && (t[Qo].handler = e, At("mousemoveoutside", t, e));
39386
+ }, typeof e == "function" && (t[Qo].handler = e, Et("mousemoveoutside", t, e));
39374
39387
  },
39375
39388
  updated(t, { value: e }) {
39376
39389
  const n = t[Qo];
39377
- typeof e == "function" ? n.handler ? n.handler !== e && (ft("mousemoveoutside", t, n.handler), n.handler = e, At("mousemoveoutside", t, e)) : (t[Qo].handler = e, At("mousemoveoutside", t, e)) : n.handler && (ft("mousemoveoutside", t, n.handler), n.handler = void 0);
39390
+ typeof e == "function" ? n.handler ? n.handler !== e && (ft("mousemoveoutside", t, n.handler), n.handler = e, Et("mousemoveoutside", t, e)) : (t[Qo].handler = e, Et("mousemoveoutside", t, e)) : n.handler && (ft("mousemoveoutside", t, n.handler), n.handler = void 0);
39378
39391
  },
39379
39392
  unmounted(t) {
39380
39393
  const { handler: e } = t[Qo];
@@ -39384,7 +39397,7 @@ const wk = bt({
39384
39397
  mounted(t, { value: e, modifiers: n }) {
39385
39398
  t[ei] = {
39386
39399
  handler: void 0
39387
- }, typeof e == "function" && (t[ei].handler = e, At("clickoutside", t, e, {
39400
+ }, typeof e == "function" && (t[ei].handler = e, Et("clickoutside", t, e, {
39388
39401
  capture: n.capture
39389
39402
  }));
39390
39403
  },
@@ -39392,9 +39405,9 @@ const wk = bt({
39392
39405
  const r = t[ei];
39393
39406
  typeof e == "function" ? r.handler ? r.handler !== e && (ft("clickoutside", t, r.handler, {
39394
39407
  capture: n.capture
39395
- }), r.handler = e, At("clickoutside", t, e, {
39408
+ }), r.handler = e, Et("clickoutside", t, e, {
39396
39409
  capture: n.capture
39397
- })) : (t[ei].handler = e, At("clickoutside", t, e, {
39410
+ })) : (t[ei].handler = e, Et("clickoutside", t, e, {
39398
39411
  capture: n.capture
39399
39412
  })) : r.handler && (ft("clickoutside", t, r.handler, {
39400
39413
  capture: n.capture
@@ -40345,7 +40358,7 @@ const XB = bt({
40345
40358
  }
40346
40359
  gn(() => {
40347
40360
  kn(() => t.active, (y) => {
40348
- y ? (d(), At("keydown", document, l)) : (ft("keydown", document, l), o && f());
40361
+ y ? (d(), Et("keydown", document, l)) : (ft("keydown", document, l), o && f());
40349
40362
  }, {
40350
40363
  immediate: !0
40351
40364
  });
@@ -40841,36 +40854,36 @@ var Z9 = "[object Arguments]";
40841
40854
  function G0(t) {
40842
40855
  return ro(t) && Uo(t) == Z9;
40843
40856
  }
40844
- var Lk = Object.prototype, Q9 = Lk.hasOwnProperty, e7 = Lk.propertyIsEnumerable, rc = G0(/* @__PURE__ */ function() {
40857
+ var Lk = Object.prototype, Q9 = Lk.hasOwnProperty, eP = Lk.propertyIsEnumerable, rc = G0(/* @__PURE__ */ function() {
40845
40858
  return arguments;
40846
40859
  }()) ? G0 : function(t) {
40847
- return ro(t) && Q9.call(t, "callee") && !e7.call(t, "callee");
40860
+ return ro(t) && Q9.call(t, "callee") && !eP.call(t, "callee");
40848
40861
  };
40849
- function t7() {
40862
+ function tP() {
40850
40863
  return !1;
40851
40864
  }
40852
- var Bk = typeof exports == "object" && exports && !exports.nodeType && exports, K0 = Bk && typeof module == "object" && module && !module.nodeType && module, n7 = K0 && K0.exports === Bk, J0 = n7 ? cr.Buffer : void 0, r7 = J0 ? J0.isBuffer : void 0, oc = r7 || t7, o7 = "[object Arguments]", i7 = "[object Array]", s7 = "[object Boolean]", a7 = "[object Date]", l7 = "[object Error]", c7 = "[object Function]", u7 = "[object Map]", d7 = "[object Number]", f7 = "[object Object]", p7 = "[object RegExp]", h7 = "[object Set]", m7 = "[object String]", g7 = "[object WeakMap]", y7 = "[object ArrayBuffer]", w7 = "[object DataView]", b7 = "[object Float32Array]", v7 = "[object Float64Array]", x7 = "[object Int8Array]", k7 = "[object Int16Array]", S7 = "[object Int32Array]", A7 = "[object Uint8Array]", E7 = "[object Uint8ClampedArray]", C7 = "[object Uint16Array]", $7 = "[object Uint32Array]", at = {};
40853
- at[b7] = at[v7] = at[x7] = at[k7] = at[S7] = at[A7] = at[E7] = at[C7] = at[$7] = !0;
40854
- at[o7] = at[i7] = at[y7] = at[s7] = at[w7] = at[a7] = at[l7] = at[c7] = at[u7] = at[d7] = at[f7] = at[p7] = at[h7] = at[m7] = at[g7] = !1;
40855
- function T7(t) {
40865
+ var Bk = typeof exports == "object" && exports && !exports.nodeType && exports, K0 = Bk && typeof module == "object" && module && !module.nodeType && module, nP = K0 && K0.exports === Bk, J0 = nP ? cr.Buffer : void 0, rP = J0 ? J0.isBuffer : void 0, oc = rP || tP, oP = "[object Arguments]", iP = "[object Array]", sP = "[object Boolean]", aP = "[object Date]", lP = "[object Error]", cP = "[object Function]", uP = "[object Map]", dP = "[object Number]", fP = "[object Object]", pP = "[object RegExp]", hP = "[object Set]", mP = "[object String]", gP = "[object WeakMap]", yP = "[object ArrayBuffer]", wP = "[object DataView]", bP = "[object Float32Array]", vP = "[object Float64Array]", xP = "[object Int8Array]", kP = "[object Int16Array]", SP = "[object Int32Array]", AP = "[object Uint8Array]", EP = "[object Uint8ClampedArray]", CP = "[object Uint16Array]", $P = "[object Uint32Array]", at = {};
40866
+ at[bP] = at[vP] = at[xP] = at[kP] = at[SP] = at[AP] = at[EP] = at[CP] = at[$P] = !0;
40867
+ at[oP] = at[iP] = at[yP] = at[sP] = at[wP] = at[aP] = at[lP] = at[cP] = at[uP] = at[dP] = at[fP] = at[pP] = at[hP] = at[mP] = at[gP] = !1;
40868
+ function TP(t) {
40856
40869
  return ro(t) && vh(t.length) && !!at[Uo(t)];
40857
40870
  }
40858
- function O7(t) {
40871
+ function OP(t) {
40859
40872
  return function(e) {
40860
40873
  return t(e);
40861
40874
  };
40862
40875
  }
40863
- var Pk = typeof exports == "object" && exports && !exports.nodeType && exports, Rs = Pk && typeof module == "object" && module && !module.nodeType && module, M7 = Rs && Rs.exports === Pk, Ed = M7 && Ik.process, X0 = function() {
40876
+ var Pk = typeof exports == "object" && exports && !exports.nodeType && exports, Rs = Pk && typeof module == "object" && module && !module.nodeType && module, MP = Rs && Rs.exports === Pk, Ed = MP && Ik.process, X0 = function() {
40864
40877
  try {
40865
40878
  var t = Rs && Rs.require && Rs.require("util").types;
40866
40879
  return t || Ed && Ed.binding && Ed.binding("util");
40867
40880
  } catch {
40868
40881
  }
40869
- }(), Y0 = X0 && X0.isTypedArray, kh = Y0 ? O7(Y0) : T7, D7 = Object.prototype, _7 = D7.hasOwnProperty;
40882
+ }(), Y0 = X0 && X0.isTypedArray, kh = Y0 ? OP(Y0) : TP, DP = Object.prototype, _P = DP.hasOwnProperty;
40870
40883
  function zk(t, e) {
40871
40884
  var n = Bn(t), r = !n && rc(t), o = !n && !r && oc(t), i = !n && !r && !o && kh(t), s = n || r || o || i, a = s ? Y9(t.length, String) : [], l = a.length;
40872
40885
  for (var c in t)
40873
- (e || _7.call(t, c)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
40886
+ (e || _P.call(t, c)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
40874
40887
  (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
40875
40888
  o && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
40876
40889
  i && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
@@ -40882,70 +40895,70 @@ function jk(t, e) {
40882
40895
  return t(e(n));
40883
40896
  };
40884
40897
  }
40885
- var I7 = jk(Object.keys, Object), N7 = Object.prototype, F7 = N7.hasOwnProperty;
40886
- function R7(t) {
40898
+ var IP = jk(Object.keys, Object), NP = Object.prototype, FP = NP.hasOwnProperty;
40899
+ function RP(t) {
40887
40900
  if (!xh(t))
40888
- return I7(t);
40901
+ return IP(t);
40889
40902
  var e = [];
40890
40903
  for (var n in Object(t))
40891
- F7.call(t, n) && n != "constructor" && e.push(n);
40904
+ FP.call(t, n) && n != "constructor" && e.push(n);
40892
40905
  return e;
40893
40906
  }
40894
40907
  function Sh(t) {
40895
- return Gi(t) ? zk(t) : R7(t);
40908
+ return Gi(t) ? zk(t) : RP(t);
40896
40909
  }
40897
- function L7(t) {
40910
+ function LP(t) {
40898
40911
  var e = [];
40899
40912
  if (t != null)
40900
40913
  for (var n in Object(t))
40901
40914
  e.push(n);
40902
40915
  return e;
40903
40916
  }
40904
- var B7 = Object.prototype, P7 = B7.hasOwnProperty;
40905
- function z7(t) {
40917
+ var BP = Object.prototype, PP = BP.hasOwnProperty;
40918
+ function zP(t) {
40906
40919
  if (!lo(t))
40907
- return L7(t);
40920
+ return LP(t);
40908
40921
  var e = xh(t), n = [];
40909
40922
  for (var r in t)
40910
- r == "constructor" && (e || !P7.call(t, r)) || n.push(r);
40923
+ r == "constructor" && (e || !PP.call(t, r)) || n.push(r);
40911
40924
  return n;
40912
40925
  }
40913
40926
  function qk(t) {
40914
- return Gi(t) ? zk(t, !0) : z7(t);
40927
+ return Gi(t) ? zk(t, !0) : zP(t);
40915
40928
  }
40916
- var j7 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, q7 = /^\w*$/;
40929
+ var jP = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, qP = /^\w*$/;
40917
40930
  function Ah(t, e) {
40918
40931
  if (Bn(t))
40919
40932
  return !1;
40920
40933
  var n = typeof t;
40921
- return n == "number" || n == "symbol" || n == "boolean" || t == null || mh(t) ? !0 : q7.test(t) || !j7.test(t) || e != null && t in Object(e);
40934
+ return n == "number" || n == "symbol" || n == "boolean" || t == null || mh(t) ? !0 : qP.test(t) || !jP.test(t) || e != null && t in Object(e);
40922
40935
  }
40923
40936
  var oa = Ho(Object, "create");
40924
- function U7() {
40937
+ function UP() {
40925
40938
  this.__data__ = oa ? oa(null) : {}, this.size = 0;
40926
40939
  }
40927
- function V7(t) {
40940
+ function VP(t) {
40928
40941
  var e = this.has(t) && delete this.__data__[t];
40929
40942
  return this.size -= e ? 1 : 0, e;
40930
40943
  }
40931
- var H7 = "__lodash_hash_undefined__", W7 = Object.prototype, G7 = W7.hasOwnProperty;
40932
- function K7(t) {
40944
+ var HP = "__lodash_hash_undefined__", WP = Object.prototype, GP = WP.hasOwnProperty;
40945
+ function KP(t) {
40933
40946
  var e = this.__data__;
40934
40947
  if (oa) {
40935
40948
  var n = e[t];
40936
- return n === H7 ? void 0 : n;
40949
+ return n === HP ? void 0 : n;
40937
40950
  }
40938
- return G7.call(e, t) ? e[t] : void 0;
40951
+ return GP.call(e, t) ? e[t] : void 0;
40939
40952
  }
40940
- var J7 = Object.prototype, X7 = J7.hasOwnProperty;
40941
- function Y7(t) {
40953
+ var JP = Object.prototype, XP = JP.hasOwnProperty;
40954
+ function YP(t) {
40942
40955
  var e = this.__data__;
40943
- return oa ? e[t] !== void 0 : X7.call(e, t);
40956
+ return oa ? e[t] !== void 0 : XP.call(e, t);
40944
40957
  }
40945
- var Z7 = "__lodash_hash_undefined__";
40946
- function Q7(t, e) {
40958
+ var ZP = "__lodash_hash_undefined__";
40959
+ function QP(t, e) {
40947
40960
  var n = this.__data__;
40948
- return this.size += this.has(t) ? 0 : 1, n[t] = oa && e === void 0 ? Z7 : e, this;
40961
+ return this.size += this.has(t) ? 0 : 1, n[t] = oa && e === void 0 ? ZP : e, this;
40949
40962
  }
40950
40963
  function zo(t) {
40951
40964
  var e = -1, n = t == null ? 0 : t.length;
@@ -40954,12 +40967,12 @@ function zo(t) {
40954
40967
  this.set(r[0], r[1]);
40955
40968
  }
40956
40969
  }
40957
- zo.prototype.clear = U7;
40958
- zo.prototype.delete = V7;
40959
- zo.prototype.get = K7;
40960
- zo.prototype.has = Y7;
40961
- zo.prototype.set = Q7;
40962
- function eP() {
40970
+ zo.prototype.clear = UP;
40971
+ zo.prototype.delete = VP;
40972
+ zo.prototype.get = KP;
40973
+ zo.prototype.has = YP;
40974
+ zo.prototype.set = QP;
40975
+ function e7() {
40963
40976
  this.__data__ = [], this.size = 0;
40964
40977
  }
40965
40978
  function Dc(t, e) {
@@ -40968,22 +40981,22 @@ function Dc(t, e) {
40968
40981
  return n;
40969
40982
  return -1;
40970
40983
  }
40971
- var tP = Array.prototype, nP = tP.splice;
40972
- function rP(t) {
40984
+ var t7 = Array.prototype, n7 = t7.splice;
40985
+ function r7(t) {
40973
40986
  var e = this.__data__, n = Dc(e, t);
40974
40987
  if (n < 0)
40975
40988
  return !1;
40976
40989
  var r = e.length - 1;
40977
- return n == r ? e.pop() : nP.call(e, n, 1), --this.size, !0;
40990
+ return n == r ? e.pop() : n7.call(e, n, 1), --this.size, !0;
40978
40991
  }
40979
- function oP(t) {
40992
+ function o7(t) {
40980
40993
  var e = this.__data__, n = Dc(e, t);
40981
40994
  return n < 0 ? void 0 : e[n][1];
40982
40995
  }
40983
- function iP(t) {
40996
+ function i7(t) {
40984
40997
  return Dc(this.__data__, t) > -1;
40985
40998
  }
40986
- function sP(t, e) {
40999
+ function s7(t, e) {
40987
41000
  var n = this.__data__, r = Dc(n, t);
40988
41001
  return r < 0 ? (++this.size, n.push([t, e])) : n[r][1] = e, this;
40989
41002
  }
@@ -40994,38 +41007,38 @@ function Or(t) {
40994
41007
  this.set(r[0], r[1]);
40995
41008
  }
40996
41009
  }
40997
- Or.prototype.clear = eP;
40998
- Or.prototype.delete = rP;
40999
- Or.prototype.get = oP;
41000
- Or.prototype.has = iP;
41001
- Or.prototype.set = sP;
41010
+ Or.prototype.clear = e7;
41011
+ Or.prototype.delete = r7;
41012
+ Or.prototype.get = o7;
41013
+ Or.prototype.has = i7;
41014
+ Or.prototype.set = s7;
41002
41015
  var ia = Ho(cr, "Map");
41003
- function aP() {
41016
+ function a7() {
41004
41017
  this.size = 0, this.__data__ = {
41005
41018
  hash: new zo(),
41006
41019
  map: new (ia || Or)(),
41007
41020
  string: new zo()
41008
41021
  };
41009
41022
  }
41010
- function lP(t) {
41023
+ function l7(t) {
41011
41024
  var e = typeof t;
41012
41025
  return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
41013
41026
  }
41014
41027
  function _c(t, e) {
41015
41028
  var n = t.__data__;
41016
- return lP(e) ? n[typeof e == "string" ? "string" : "hash"] : n.map;
41029
+ return l7(e) ? n[typeof e == "string" ? "string" : "hash"] : n.map;
41017
41030
  }
41018
- function cP(t) {
41031
+ function c7(t) {
41019
41032
  var e = _c(this, t).delete(t);
41020
41033
  return this.size -= e ? 1 : 0, e;
41021
41034
  }
41022
- function uP(t) {
41035
+ function u7(t) {
41023
41036
  return _c(this, t).get(t);
41024
41037
  }
41025
- function dP(t) {
41038
+ function d7(t) {
41026
41039
  return _c(this, t).has(t);
41027
41040
  }
41028
- function fP(t, e) {
41041
+ function f7(t, e) {
41029
41042
  var n = _c(this, t), r = n.size;
41030
41043
  return n.set(t, e), this.size += n.size == r ? 0 : 1, this;
41031
41044
  }
@@ -41036,15 +41049,15 @@ function Mr(t) {
41036
41049
  this.set(r[0], r[1]);
41037
41050
  }
41038
41051
  }
41039
- Mr.prototype.clear = aP;
41040
- Mr.prototype.delete = cP;
41041
- Mr.prototype.get = uP;
41042
- Mr.prototype.has = dP;
41043
- Mr.prototype.set = fP;
41044
- var pP = "Expected a function";
41052
+ Mr.prototype.clear = a7;
41053
+ Mr.prototype.delete = c7;
41054
+ Mr.prototype.get = u7;
41055
+ Mr.prototype.has = d7;
41056
+ Mr.prototype.set = f7;
41057
+ var p7 = "Expected a function";
41045
41058
  function Eh(t, e) {
41046
41059
  if (typeof t != "function" || e != null && typeof e != "function")
41047
- throw new TypeError(pP);
41060
+ throw new TypeError(p7);
41048
41061
  var n = function() {
41049
41062
  var r = arguments, o = e ? e.apply(this, r) : r[0], i = n.cache;
41050
41063
  if (i.has(o))
@@ -41055,24 +41068,24 @@ function Eh(t, e) {
41055
41068
  return n.cache = new (Eh.Cache || Mr)(), n;
41056
41069
  }
41057
41070
  Eh.Cache = Mr;
41058
- var hP = 500;
41059
- function mP(t) {
41071
+ var h7 = 500;
41072
+ function m7(t) {
41060
41073
  var e = Eh(t, function(r) {
41061
- return n.size === hP && n.clear(), r;
41074
+ return n.size === h7 && n.clear(), r;
41062
41075
  }), n = e.cache;
41063
41076
  return e;
41064
41077
  }
41065
- var gP = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, yP = /\\(\\)?/g, wP = mP(function(t) {
41078
+ var g7 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, y7 = /\\(\\)?/g, w7 = m7(function(t) {
41066
41079
  var e = [];
41067
- return t.charCodeAt(0) === 46 && e.push(""), t.replace(gP, function(n, r, o, i) {
41068
- e.push(o ? i.replace(yP, "$1") : r || n);
41080
+ return t.charCodeAt(0) === 46 && e.push(""), t.replace(g7, function(n, r, o, i) {
41081
+ e.push(o ? i.replace(y7, "$1") : r || n);
41069
41082
  }), e;
41070
41083
  });
41071
- function bP(t) {
41084
+ function b7(t) {
41072
41085
  return t == null ? "" : Rk(t);
41073
41086
  }
41074
41087
  function Uk(t, e) {
41075
- return Bn(t) ? t : Ah(t, e) ? [t] : wP(bP(t));
41088
+ return Bn(t) ? t : Ah(t, e) ? [t] : w7(b7(t));
41076
41089
  }
41077
41090
  function Ic(t) {
41078
41091
  if (typeof t == "string" || mh(t))
@@ -41086,44 +41099,44 @@ function Vk(t, e) {
41086
41099
  t = t[Ic(e[n++])];
41087
41100
  return n && n == r ? t : void 0;
41088
41101
  }
41089
- function vP(t, e, n) {
41102
+ function v7(t, e, n) {
41090
41103
  var r = t == null ? void 0 : Vk(t, e);
41091
41104
  return r === void 0 ? n : r;
41092
41105
  }
41093
- function xP(t, e) {
41106
+ function x7(t, e) {
41094
41107
  for (var n = -1, r = e.length, o = t.length; ++n < r; )
41095
41108
  t[o + n] = e[n];
41096
41109
  return t;
41097
41110
  }
41098
- var Hk = jk(Object.getPrototypeOf, Object), kP = "[object Object]", SP = Function.prototype, AP = Object.prototype, Wk = SP.toString, EP = AP.hasOwnProperty, CP = Wk.call(Object);
41099
- function $P(t) {
41100
- if (!ro(t) || Uo(t) != kP)
41111
+ var Hk = jk(Object.getPrototypeOf, Object), k7 = "[object Object]", S7 = Function.prototype, A7 = Object.prototype, Wk = S7.toString, E7 = A7.hasOwnProperty, C7 = Wk.call(Object);
41112
+ function $7(t) {
41113
+ if (!ro(t) || Uo(t) != k7)
41101
41114
  return !1;
41102
41115
  var e = Hk(t);
41103
41116
  if (e === null)
41104
41117
  return !0;
41105
- var n = EP.call(e, "constructor") && e.constructor;
41106
- return typeof n == "function" && n instanceof n && Wk.call(n) == CP;
41118
+ var n = E7.call(e, "constructor") && e.constructor;
41119
+ return typeof n == "function" && n instanceof n && Wk.call(n) == C7;
41107
41120
  }
41108
- function TP() {
41121
+ function T7() {
41109
41122
  this.__data__ = new Or(), this.size = 0;
41110
41123
  }
41111
- function OP(t) {
41124
+ function O7(t) {
41112
41125
  var e = this.__data__, n = e.delete(t);
41113
41126
  return this.size = e.size, n;
41114
41127
  }
41115
- function MP(t) {
41128
+ function M7(t) {
41116
41129
  return this.__data__.get(t);
41117
41130
  }
41118
- function DP(t) {
41131
+ function D7(t) {
41119
41132
  return this.__data__.has(t);
41120
41133
  }
41121
- var _P = 200;
41122
- function IP(t, e) {
41134
+ var _7 = 200;
41135
+ function I7(t, e) {
41123
41136
  var n = this.__data__;
41124
41137
  if (n instanceof Or) {
41125
41138
  var r = n.__data__;
41126
- if (!ia || r.length < _P - 1)
41139
+ if (!ia || r.length < _7 - 1)
41127
41140
  return r.push([t, e]), this.size = ++n.size, this;
41128
41141
  n = this.__data__ = new Mr(r);
41129
41142
  }
@@ -41133,73 +41146,73 @@ function nr(t) {
41133
41146
  var e = this.__data__ = new Or(t);
41134
41147
  this.size = e.size;
41135
41148
  }
41136
- nr.prototype.clear = TP;
41137
- nr.prototype.delete = OP;
41138
- nr.prototype.get = MP;
41139
- nr.prototype.has = DP;
41140
- nr.prototype.set = IP;
41141
- var Gk = typeof exports == "object" && exports && !exports.nodeType && exports, Z0 = Gk && typeof module == "object" && module && !module.nodeType && module, NP = Z0 && Z0.exports === Gk, Q0 = NP ? cr.Buffer : void 0;
41149
+ nr.prototype.clear = T7;
41150
+ nr.prototype.delete = O7;
41151
+ nr.prototype.get = M7;
41152
+ nr.prototype.has = D7;
41153
+ nr.prototype.set = I7;
41154
+ var Gk = typeof exports == "object" && exports && !exports.nodeType && exports, Z0 = Gk && typeof module == "object" && module && !module.nodeType && module, N7 = Z0 && Z0.exports === Gk, Q0 = N7 ? cr.Buffer : void 0;
41142
41155
  Q0 && Q0.allocUnsafe;
41143
- function FP(t, e) {
41156
+ function F7(t, e) {
41144
41157
  return t.slice();
41145
41158
  }
41146
- function RP(t, e) {
41159
+ function R7(t, e) {
41147
41160
  for (var n = -1, r = t == null ? 0 : t.length, o = 0, i = []; ++n < r; ) {
41148
41161
  var s = t[n];
41149
41162
  e(s, n, t) && (i[o++] = s);
41150
41163
  }
41151
41164
  return i;
41152
41165
  }
41153
- function LP() {
41166
+ function L7() {
41154
41167
  return [];
41155
41168
  }
41156
- var BP = Object.prototype, PP = BP.propertyIsEnumerable, eb = Object.getOwnPropertySymbols, zP = eb ? function(t) {
41157
- return t == null ? [] : (t = Object(t), RP(eb(t), function(e) {
41158
- return PP.call(t, e);
41169
+ var B7 = Object.prototype, P7 = B7.propertyIsEnumerable, eb = Object.getOwnPropertySymbols, z7 = eb ? function(t) {
41170
+ return t == null ? [] : (t = Object(t), R7(eb(t), function(e) {
41171
+ return P7.call(t, e);
41159
41172
  }));
41160
- } : LP;
41161
- function jP(t, e, n) {
41173
+ } : L7;
41174
+ function j7(t, e, n) {
41162
41175
  var r = e(t);
41163
- return Bn(t) ? r : xP(r, n(t));
41176
+ return Bn(t) ? r : x7(r, n(t));
41164
41177
  }
41165
41178
  function tb(t) {
41166
- return jP(t, Sh, zP);
41179
+ return j7(t, Sh, z7);
41167
41180
  }
41168
- var Qf = Ho(cr, "DataView"), ep = Ho(cr, "Promise"), tp = Ho(cr, "Set"), nb = "[object Map]", qP = "[object Object]", rb = "[object Promise]", ob = "[object Set]", ib = "[object WeakMap]", sb = "[object DataView]", UP = Vo(Qf), VP = Vo(ia), HP = Vo(ep), WP = Vo(tp), GP = Vo(Zf), jr = Uo;
41181
+ var Qf = Ho(cr, "DataView"), ep = Ho(cr, "Promise"), tp = Ho(cr, "Set"), nb = "[object Map]", q7 = "[object Object]", rb = "[object Promise]", ob = "[object Set]", ib = "[object WeakMap]", sb = "[object DataView]", U7 = Vo(Qf), V7 = Vo(ia), H7 = Vo(ep), W7 = Vo(tp), G7 = Vo(Zf), jr = Uo;
41169
41182
  (Qf && jr(new Qf(new ArrayBuffer(1))) != sb || ia && jr(new ia()) != nb || ep && jr(ep.resolve()) != rb || tp && jr(new tp()) != ob || Zf && jr(new Zf()) != ib) && (jr = function(t) {
41170
- var e = Uo(t), n = e == qP ? t.constructor : void 0, r = n ? Vo(n) : "";
41183
+ var e = Uo(t), n = e == q7 ? t.constructor : void 0, r = n ? Vo(n) : "";
41171
41184
  if (r)
41172
41185
  switch (r) {
41173
- case UP:
41186
+ case U7:
41174
41187
  return sb;
41175
- case VP:
41188
+ case V7:
41176
41189
  return nb;
41177
- case HP:
41190
+ case H7:
41178
41191
  return rb;
41179
- case WP:
41192
+ case W7:
41180
41193
  return ob;
41181
- case GP:
41194
+ case G7:
41182
41195
  return ib;
41183
41196
  }
41184
41197
  return e;
41185
41198
  });
41186
41199
  var ic = cr.Uint8Array;
41187
- function KP(t) {
41200
+ function K7(t) {
41188
41201
  var e = new t.constructor(t.byteLength);
41189
41202
  return new ic(e).set(new ic(t)), e;
41190
41203
  }
41191
- function JP(t, e) {
41192
- var n = KP(t.buffer);
41204
+ function J7(t, e) {
41205
+ var n = K7(t.buffer);
41193
41206
  return new t.constructor(n, t.byteOffset, t.length);
41194
41207
  }
41195
- function XP(t) {
41208
+ function X7(t) {
41196
41209
  return typeof t.constructor == "function" && !xh(t) ? O9(Hk(t)) : {};
41197
41210
  }
41198
- var YP = "__lodash_hash_undefined__";
41199
- function ZP(t) {
41200
- return this.__data__.set(t, YP), this;
41211
+ var Y7 = "__lodash_hash_undefined__";
41212
+ function Z7(t) {
41213
+ return this.__data__.set(t, Y7), this;
41201
41214
  }
41202
- function QP(t) {
41215
+ function Q7(t) {
41203
41216
  return this.__data__.has(t);
41204
41217
  }
41205
41218
  function sc(t) {
@@ -41207,8 +41220,8 @@ function sc(t) {
41207
41220
  for (this.__data__ = new Mr(); ++e < n; )
41208
41221
  this.add(t[e]);
41209
41222
  }
41210
- sc.prototype.add = sc.prototype.push = ZP;
41211
- sc.prototype.has = QP;
41223
+ sc.prototype.add = sc.prototype.push = Z7;
41224
+ sc.prototype.has = Q7;
41212
41225
  function ez(t, e) {
41213
41226
  for (var n = -1, r = t == null ? 0 : t.length; ++n < r; )
41214
41227
  if (e(t[n], n, t))
@@ -41420,7 +41433,7 @@ function Nz(t, e) {
41420
41433
  var Fz = 1, Rz = 2;
41421
41434
  function Lz(t, e) {
41422
41435
  return Ah(t) && Jk(e) ? Xk(Ic(t), e) : function(n) {
41423
- var r = vP(n, t);
41436
+ var r = v7(n, t);
41424
41437
  return r === void 0 && r === e ? Nz(n, t) : Ch(e, r, Fz | Rz);
41425
41438
  };
41426
41439
  }
@@ -41488,7 +41501,7 @@ function Kz(t, e, n, r, o, i, s) {
41488
41501
  var u = i ? i(a, l, n + "", t, e, s) : void 0, d = u === void 0;
41489
41502
  if (d) {
41490
41503
  var f = Bn(l), p = !f && oc(l), h = !f && !p && kh(l);
41491
- u = l, f || p || h ? Bn(a) ? u = a : Wz(a) ? u = D9(a) : p ? (d = !1, u = FP(l)) : h ? (d = !1, u = JP(l)) : u = [] : $P(l) || rc(l) ? (u = a, rc(a) ? u = Gz(a) : (!lo(a) || yh(a)) && (u = XP(l))) : d = !1;
41504
+ u = l, f || p || h ? Bn(a) ? u = a : Wz(a) ? u = D9(a) : p ? (d = !1, u = F7(l)) : h ? (d = !1, u = J7(l)) : u = [] : $7(l) || rc(l) ? (u = a, rc(a) ? u = Gz(a) : (!lo(a) || yh(a)) && (u = X7(l))) : d = !1;
41492
41505
  }
41493
41506
  d && (s.set(l, u), o(u, l, r, i, s), s.delete(l)), np(t, n, u);
41494
41507
  }
@@ -42213,7 +42226,7 @@ const lj = {
42213
42226
  return !(!((te = i.value) === null || te === void 0) && te.contains(Zl(U)));
42214
42227
  }
42215
42228
  function pe(U) {
42216
- U.preventDefault(), U.stopPropagation(), $ = !0, At("mousemove", window, we, !0), At("mouseup", window, Ve, !0), S = g.value, V = o?.value ? window.innerWidth - U.clientX : U.clientX;
42229
+ U.preventDefault(), U.stopPropagation(), $ = !0, Et("mousemove", window, we, !0), Et("mouseup", window, Ve, !0), S = g.value, V = o?.value ? window.innerWidth - U.clientX : U.clientX;
42217
42230
  }
42218
42231
  function we(U) {
42219
42232
  if (!$) return;
@@ -42244,7 +42257,7 @@ const lj = {
42244
42257
  U.preventDefault(), U.stopPropagation(), ft("mousemove", window, we, !0), ft("mouseup", window, Ve, !0), $ = !1, he(), Ee(U) && Z();
42245
42258
  }
42246
42259
  function b(U) {
42247
- U.preventDefault(), U.stopPropagation(), w = !0, At("mousemove", window, T, !0), At("mouseup", window, D, !0), I = y.value, re = U.clientY;
42260
+ U.preventDefault(), U.stopPropagation(), w = !0, Et("mousemove", window, T, !0), Et("mouseup", window, D, !0), I = y.value, re = U.clientY;
42248
42261
  }
42249
42262
  function T(U) {
42250
42263
  if (!w) return;
@@ -45095,7 +45108,7 @@ const gq = {
45095
45108
  ], 2))), 128))
45096
45109
  ], 4));
45097
45110
  }
45098
- }, vl = /* @__PURE__ */ Ct(xq, [["__scopeId", "data-v-09306407"]]), kq = {
45111
+ }, vl = /* @__PURE__ */ $t(xq, [["__scopeId", "data-v-09306407"]]), kq = {
45099
45112
  __name: "Toolbar",
45100
45113
  emits: ["command", "toggle", "select"],
45101
45114
  setup(t, { emit: e }) {
@@ -45138,7 +45151,7 @@ const gq = {
45138
45151
  }, null, 8, ["toolbar-items"])) : lt("", !0)
45139
45152
  ]));
45140
45153
  }
45141
- }, Sq = /* @__PURE__ */ Ct(kq, [["__scopeId", "data-v-4b88e275"]]), Aq = "https://sd-dev-express-gateway-i6xtm.ondigitalocean.app/insights", uS = "You are an expert copywriter and you are immersed in a document editor. You are to provide document related text responses based on the user prompts. Only write what is asked for. Do not provide explanations. Try to keep placeholders as short as possible. Do not output your prompt. Your instructions are: ";
45154
+ }, Sq = /* @__PURE__ */ $t(kq, [["__scopeId", "data-v-4b88e275"]]), Aq = "https://sd-dev-express-gateway-i6xtm.ondigitalocean.app/insights", uS = "You are an expert copywriter and you are immersed in a document editor. You are to provide document related text responses based on the user prompts. Only write what is asked for. Do not provide explanations. Try to keep placeholders as short as possible. Do not output your prompt. Your instructions are: ";
45142
45155
  async function dS(t, e = {}) {
45143
45156
  const n = e.apiKey, r = e.endpoint || Aq;
45144
45157
  try {
@@ -45414,7 +45427,7 @@ const Tq = `<!-- @note: includes color gradient for inline svg AI Writer -->
45414
45427
  ])
45415
45428
  ], 544));
45416
45429
  }
45417
- }, jq = /* @__PURE__ */ Ct(zq, [["__scopeId", "data-v-2ee48def"]]);
45430
+ }, jq = /* @__PURE__ */ $t(zq, [["__scopeId", "data-v-2ee48def"]]);
45418
45431
  async function QV(t, e) {
45419
45432
  const n = new Qd();
45420
45433
  return t.forEach((r, o) => {
@@ -45649,7 +45662,7 @@ const Xe = (t) => {
45649
45662
  }, null, 8, Zq)
45650
45663
  ]));
45651
45664
  }
45652
- }, eU = /* @__PURE__ */ Ct(Qq, [["__scopeId", "data-v-d6fae878"]]), tU = { class: "link-input-ctn" }, nU = {
45665
+ }, eU = /* @__PURE__ */ $t(Qq, [["__scopeId", "data-v-d6fae878"]]), tU = { class: "link-input-ctn" }, nU = {
45653
45666
  key: 0,
45654
45667
  class: "link-title"
45655
45668
  }, rU = {
@@ -45768,7 +45781,7 @@ const Xe = (t) => {
45768
45781
  ])) : lt("", !0)
45769
45782
  ]));
45770
45783
  }
45771
- }, hU = /* @__PURE__ */ Ct(pU, [["__scopeId", "data-v-6990d5b2"]]), mU = { class: "document-mode" }, gU = ["onClick"], yU = { class: "document-mode-column icon-column" }, wU = ["innerHTML"], bU = { class: "document-mode-column text-column" }, vU = { class: "document-mode-type" }, xU = { class: "document-mode-description" }, kU = {
45784
+ }, hU = /* @__PURE__ */ $t(pU, [["__scopeId", "data-v-6990d5b2"]]), mU = { class: "document-mode" }, gU = ["onClick"], yU = { class: "document-mode-column icon-column" }, wU = ["innerHTML"], bU = { class: "document-mode-column text-column" }, vU = { class: "document-mode-type" }, xU = { class: "document-mode-description" }, kU = {
45772
45785
  __name: "DocumentMode",
45773
45786
  props: {
45774
45787
  options: {
@@ -45798,7 +45811,7 @@ const Xe = (t) => {
45798
45811
  ], 10, gU))), 256))
45799
45812
  ]));
45800
45813
  }
45801
- }, SU = /* @__PURE__ */ Ct(kU, [["__scopeId", "data-v-f86e1477"]]), AU = {
45814
+ }, SU = /* @__PURE__ */ $t(kU, [["__scopeId", "data-v-f86e1477"]]), AU = {
45802
45815
  key: 0,
45803
45816
  class: "linked-style-buttons"
45804
45817
  }, EU = ["onClick"], CU = {
@@ -45826,7 +45839,7 @@ const Xe = (t) => {
45826
45839
  ], 8, EU))), 256))
45827
45840
  ])) : lt("", !0);
45828
45841
  }
45829
- }, $U = /* @__PURE__ */ Ct(CU, [["__scopeId", "data-v-97e3296a"]]), TU = ["onClick"], OU = ["innerHTML"], MU = ["innerHTML"], DU = {
45842
+ }, $U = /* @__PURE__ */ $t(CU, [["__scopeId", "data-v-97e3296a"]]), TU = ["onClick"], OU = ["innerHTML"], MU = ["innerHTML"], DU = {
45830
45843
  __name: "IconGridRow",
45831
45844
  props: {
45832
45845
  icons: {
@@ -45868,7 +45881,7 @@ const Xe = (t) => {
45868
45881
  ], 8, TU))), 128))
45869
45882
  ]))), 128));
45870
45883
  }
45871
- }, vb = /* @__PURE__ */ Ct(DU, [["__scopeId", "data-v-6a2a9a40"]]), _U = { class: "option-grid-ctn" }, IU = {
45884
+ }, vb = /* @__PURE__ */ $t(DU, [["__scopeId", "data-v-6a2a9a40"]]), _U = { class: "option-grid-ctn" }, IU = {
45872
45885
  __name: "IconGrid",
45873
45886
  props: {
45874
45887
  icons: {
@@ -45905,7 +45918,7 @@ const Xe = (t) => {
45905
45918
  ], 64)) : lt("", !0)
45906
45919
  ]));
45907
45920
  }
45908
- }, NU = /* @__PURE__ */ Ct(IU, [["__scopeId", "data-v-fa2949d8"]]), FU = (t) => {
45921
+ }, NU = /* @__PURE__ */ $t(IU, [["__scopeId", "data-v-fa2949d8"]]), FU = (t) => {
45909
45922
  t.expand.value = !1;
45910
45923
  }, De = (t, e = null) => ({
45911
45924
  label: e,
@@ -46038,7 +46051,7 @@ const Xe = (t) => {
46038
46051
  He("div", PU, cn(r.value) + " x " + cn(o.value), 1)
46039
46052
  ]));
46040
46053
  }
46041
- }, jU = /* @__PURE__ */ Ct(zU, [["__scopeId", "data-v-06352ab9"]]), qU = { class: "toolbar-table-actions" }, UU = ["onClick"], VU = { class: "toolbar-table-actions__icon" }, HU = ["innerHTML"], WU = { class: "toolbar-table-actions__label" }, GU = {
46054
+ }, jU = /* @__PURE__ */ $t(zU, [["__scopeId", "data-v-06352ab9"]]), qU = { class: "toolbar-table-actions" }, UU = ["onClick"], VU = { class: "toolbar-table-actions__icon" }, HU = ["innerHTML"], WU = { class: "toolbar-table-actions__label" }, GU = {
46042
46055
  __name: "TableActions",
46043
46056
  props: {
46044
46057
  options: {
@@ -46065,7 +46078,7 @@ const Xe = (t) => {
46065
46078
  ], 10, UU))), 256))
46066
46079
  ]));
46067
46080
  }
46068
- }, KU = /* @__PURE__ */ Ct(GU, [["__scopeId", "data-v-9a702d7f"]]), JU = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"/></svg>
46081
+ }, KU = /* @__PURE__ */ $t(GU, [["__scopeId", "data-v-9a702d7f"]]), JU = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"/></svg>
46069
46082
  `, Nr = (t) => {
46070
46083
  t.expand.value = !1;
46071
46084
  }, XU = (t, e = !1, n, r, o) => {
@@ -47283,7 +47296,7 @@ const oV = (t, e) => {
47283
47296
  ], 6))), 256))
47284
47297
  ], 4));
47285
47298
  }
47286
- }, lV = /* @__PURE__ */ Ct(aV, [["__scopeId", "data-v-ad77036c"]]), cV = { class: "super-editor-container" }, uV = {
47299
+ }, lV = /* @__PURE__ */ $t(aV, [["__scopeId", "data-v-ad77036c"]]), cV = { class: "super-editor-container" }, uV = {
47287
47300
  key: 1,
47288
47301
  class: "placeholder-editor"
47289
47302
  }, dV = { class: "placeholder-title" }, fV = {
@@ -47454,7 +47467,7 @@ const oV = (t, e) => {
47454
47467
  ]))
47455
47468
  ]));
47456
47469
  }
47457
- }, tH = /* @__PURE__ */ Ct(fV, [["__scopeId", "data-v-ff8f86f4"]]), nH = {
47470
+ }, tH = /* @__PURE__ */ $t(fV, [["__scopeId", "data-v-ff8f86f4"]]), nH = {
47458
47471
  __name: "BasicUpload",
47459
47472
  emits: ["file-change"],
47460
47473
  setup(t, { emit: e }) {
@@ -47535,7 +47548,7 @@ const oV = (t, e) => {
47535
47548
  }, null, 512)
47536
47549
  ], 2));
47537
47550
  }
47538
- }, rH = /* @__PURE__ */ Ct(hV, [["__scopeId", "data-v-4d5cff52"]]), oH = {
47551
+ }, rH = /* @__PURE__ */ $t(hV, [["__scopeId", "data-v-4d5cff52"]]), oH = {
47539
47552
  Node: Qe,
47540
47553
  Attribute: Me,
47541
47554
  Extension: ut,
@@ -47549,7 +47562,7 @@ export {
47549
47562
  wc as L,
47550
47563
  ly as N,
47551
47564
  Sq as O,
47552
- Fo as R,
47565
+ Fo as P,
47553
47566
  Q3 as Y,
47554
47567
  nH as _,
47555
47568
  QV as a,