reactjs-tiptap-editor-pro 0.2.40 → 0.2.42

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.
@@ -1,9 +1,9 @@
1
- import { Y as aa, Z as oa, B as _n, av as Xo, _ as sa, aw as $o, ax as Ct, ay as tn, az as An, aA as Fe, A as Ce, aB as $e, U as Ze, R as Ve, a9 as Jt, aC as Bo, Q as xi, aD as fi, aE as Et, aF as Pt, X as kn, $ as Fn, a0 as Sn, a1 as Hh, d as nt, aG as Vo, x as jh, aH as gi, aI as yt, W as st, aJ as Xh, aK as Ko, aL as Ne, aM as Zn, a2 as Fd, aN as Lo, aO as $h, aP as Go, P as Fi, q as Si, v as Bi, aQ as Zo, V as Vh, aR as Kh, aa as Gh, aS as jn, aT as Zh, aU as Yh, aV as Qh, aW as Jh, aX as ef, ae as tf, aY as nf, aZ as rf, a_ as af, a$ as Yo, b0 as of, b1 as sf, b2 as cf, b3 as uc, b4 as Sd, b5 as uf, b6 as df, b7 as lf, b8 as hf, ag as ff, b9 as gf, ba as dc, a7 as Oi, bb as pf, bc as mf, bd as xn, an as Mt, E as bf, be as yf, af as Df, bf as Qo, am as lc, L as Na, I as hc, bg as vf, bh as xf, bi as _f, bj as Qt, bk as wf, ah as Tf, as as Uf, bl as Ot, bm as Ef, bn as Af, bo as Cf, bp as kf, bq as Ff, br as Bd } from "./ColorPicker-DXWTenTy.js";
2
- import { n as wy, w as Ty, G as Uy, K as Ey, M as Ay, bs as Cy, z as ky } from "./ColorPicker-DXWTenTy.js";
1
+ import { Y as aa, Z as oa, B as _n, av as Xo, _ as sa, aw as $o, ax as Ct, ay as nn, az as An, aA as Fe, A as Ce, aB as $e, U as Ze, R as Ve, a9 as en, aC as Bo, Q as xi, aD as fi, aE as Et, aF as Pt, X as kn, $ as Fn, a0 as Sn, a1 as Hh, d as nt, aG as Vo, x as jh, aH as gi, aI as yt, W as st, aJ as Xh, aK as Ko, aL as Ne, aM as Zn, a2 as Fd, aN as Lo, aO as $h, aP as Go, P as Fi, q as Si, v as Bi, aQ as Zo, V as Vh, aR as Kh, aa as Gh, aS as jn, aT as Zh, aU as Yh, aV as Qh, aW as Jh, aX as ef, ae as tf, aY as nf, aZ as rf, a_ as af, a$ as Yo, b0 as of, b1 as sf, b2 as cf, b3 as uc, b4 as Sd, b5 as uf, b6 as df, b7 as lf, b8 as hf, ag as ff, b9 as gf, ba as dc, a7 as Oi, bb as pf, bc as mf, bd as xn, an as Mt, E as bf, be as yf, af as Df, bf as Qo, am as lc, L as Na, I as hc, bg as vf, bh as xf, bi as _f, bj as Jt, bk as wf, ah as Tf, as as Uf, bl as Ot, bm as Ef, bn as Af, bo as Cf, bp as kf, bq as Ff, br as Bd } from "./ColorPicker-B3iXkFey.js";
2
+ import { n as wy, w as Ty, G as Uy, K as Ey, M as Ay, bs as Cy, z as ky } from "./ColorPicker-B3iXkFey.js";
3
3
  import { bundledThemes as Ld, bundledLanguages as Nd, createHighlighter as Sf } from "shiki";
4
- import { jsxs as be, jsx as G, Fragment as ca } from "react/jsx-runtime";
4
+ import { jsxs as be, jsx as V, Fragment as ca } from "react/jsx-runtime";
5
5
  import * as Bn from "react";
6
- import Bf, { useMemo as Dt, useState as je, useRef as nn, useCallback as en, Fragment as Jo, forwardRef as es, useImperativeHandle as ts, useEffect as ot } from "react";
6
+ import Bf, { useMemo as Dt, useState as je, useRef as qt, useCallback as tn, Fragment as Jo, forwardRef as es, useImperativeHandle as ts, useEffect as ot } from "react";
7
7
  import { M as Lf, D as Rd, u as kt, a as Nf, b as Rf, c as fc, l as Ke, d as Wd, e as Wf } from "./locale-bundle-CT7qZRHF.js";
8
8
  import { ChevronDown as ns, Check as If, ChevronUp as Of, Copy as Mf, CopyCheck as Pf, SearchIcon as qf, LoaderIcon as zf, LucideTableProperties as Hf, LucideSheet as jf, LucideImage as Xf, LucideFile as $f, LucideVideo as Vf, LucideAudioLines as Kf } from "lucide-react";
9
9
  import * as Pe from "@radix-ui/react-select";
@@ -18,7 +18,7 @@ const as = Bf.forwardRef(
18
18
  var a;
19
19
  const i = Xo[t.icon];
20
20
  return /* @__PURE__ */ be(aa, { children: [
21
- /* @__PURE__ */ G(oa, { asChild: !0, children: /* @__PURE__ */ G(
21
+ /* @__PURE__ */ V(oa, { asChild: !0, children: /* @__PURE__ */ V(
22
22
  e ? Gf : _n,
23
23
  {
24
24
  className: "h-[32px] min-w-24 overflow-hidden px-[5px] py-0",
@@ -27,14 +27,14 @@ const as = Bf.forwardRef(
27
27
  variant: "ghost",
28
28
  ...t,
29
29
  children: /* @__PURE__ */ be("div", { className: "flex h-full items-center font-normal", children: [
30
- (t == null ? void 0 : t.title) && /* @__PURE__ */ G("div", { className: "grow truncate text-left text-sm", children: t == null ? void 0 : t.title }),
31
- i && /* @__PURE__ */ G(i, { className: "ml-1 size-3 shrink-0 text-zinc-500" })
30
+ (t == null ? void 0 : t.title) && /* @__PURE__ */ V("div", { className: "grow truncate text-left text-sm", children: t == null ? void 0 : t.title }),
31
+ i && /* @__PURE__ */ V(i, { className: "ml-1 size-3 shrink-0 text-zinc-500" })
32
32
  ] })
33
33
  }
34
34
  ) }),
35
- /* @__PURE__ */ G(sa, { children: /* @__PURE__ */ be("div", { className: "flex max-w-24 flex-col items-center text-center", children: [
36
- (t == null ? void 0 : t.tooltip) && /* @__PURE__ */ G("div", { children: t == null ? void 0 : t.tooltip }),
37
- /* @__PURE__ */ G("div", { className: "flex", children: !!((a = t == null ? void 0 : t.shortcutKeys) != null && a.length) && /* @__PURE__ */ G("span", { children: $o(t == null ? void 0 : t.shortcutKeys) }) })
35
+ /* @__PURE__ */ V(sa, { children: /* @__PURE__ */ be("div", { className: "flex max-w-24 flex-col items-center text-center", children: [
36
+ (t == null ? void 0 : t.tooltip) && /* @__PURE__ */ V("div", { children: t == null ? void 0 : t.tooltip }),
37
+ /* @__PURE__ */ V("div", { className: "flex", children: !!((a = t == null ? void 0 : t.shortcutKeys) != null && a.length) && /* @__PURE__ */ V("span", { children: $o(t == null ? void 0 : t.shortcutKeys) }) })
38
38
  ] }) })
39
39
  ] });
40
40
  }
@@ -94,11 +94,11 @@ const as = Bf.forwardRef(
94
94
  },
95
95
  addPasteRules() {
96
96
  return [
97
- tn({
97
+ nn({
98
98
  find: tg,
99
99
  type: this.type
100
100
  }),
101
- tn({
101
+ nn({
102
102
  find: ig,
103
103
  type: this.type
104
104
  })
@@ -177,11 +177,11 @@ const as = Bf.forwardRef(
177
177
  },
178
178
  addPasteRules() {
179
179
  return [
180
- tn({
180
+ nn({
181
181
  find: og,
182
182
  type: this.type
183
183
  }),
184
- tn({
184
+ nn({
185
185
  find: cg,
186
186
  type: this.type
187
187
  })
@@ -312,7 +312,7 @@ const as = Bf.forwardRef(
312
312
  },
313
313
  addPasteRules() {
314
314
  return [
315
- tn({
315
+ nn({
316
316
  find: hg,
317
317
  type: this.type
318
318
  })
@@ -376,7 +376,7 @@ const as = Bf.forwardRef(
376
376
  },
377
377
  addPasteRules() {
378
378
  return [
379
- tn({
379
+ nn({
380
380
  find: pg,
381
381
  type: this.type
382
382
  })
@@ -521,7 +521,7 @@ const as = Bf.forwardRef(
521
521
  return !1;
522
522
  const { tr: o, schema: s } = e.state, c = s.text(n.replace(/\r\n?/g, `
523
523
  `));
524
- return o.replaceSelectionWith(this.type.create({ language: a }, c)), o.selection.$from.parent.type !== this.type && o.setSelection(Jt.near(o.doc.resolve(Math.max(0, o.selection.from - 2)))), o.setMeta("paste", !0), e.dispatch(o), !0;
524
+ return o.replaceSelectionWith(this.type.create({ language: a }, c)), o.selection.$from.parent.type !== this.type && o.setSelection(en.near(o.doc.resolve(Math.max(0, o.selection.from - 2)))), o.setMeta("paste", !0), e.dispatch(o), !0;
525
525
  }
526
526
  }
527
527
  })
@@ -684,7 +684,7 @@ function Tg({ action: e, languages: t, ...n }) {
684
684
  language: a
685
685
  })), [t]);
686
686
  return /* @__PURE__ */ be(kn, { children: [
687
- /* @__PURE__ */ G(Fn, { disabled: n == null ? void 0 : n.disabled, asChild: !0, children: /* @__PURE__ */ G(
687
+ /* @__PURE__ */ V(Fn, { disabled: n == null ? void 0 : n.disabled, asChild: !0, children: /* @__PURE__ */ V(
688
688
  Ce,
689
689
  {
690
690
  tooltip: n == null ? void 0 : n.tooltip,
@@ -692,7 +692,7 @@ function Tg({ action: e, languages: t, ...n }) {
692
692
  icon: n == null ? void 0 : n.icon
693
693
  }
694
694
  ) }),
695
- /* @__PURE__ */ G(Sn, { className: "w-full !max-h-[180px] !overflow-y-scroll", children: r == null ? void 0 : r.map((a) => /* @__PURE__ */ G(Hh, { onClick: () => i(a.language), children: /* @__PURE__ */ G("div", { className: "h-full ml-1", children: a.title }) }, `codeblock-${a.title}`)) })
695
+ /* @__PURE__ */ V(Sn, { className: "w-full !max-h-[180px] !overflow-y-scroll", children: r == null ? void 0 : r.map((a) => /* @__PURE__ */ V(Hh, { onClick: () => i(a.language), children: /* @__PURE__ */ V("div", { className: "h-full ml-1", children: a.title }) }, `codeblock-${a.title}`)) })
696
696
  ] });
697
697
  }
698
698
  const Ug = Pe.Root, Eg = Pe.Value, Md = Bn.forwardRef(({ className: e, children: t, ...n }, i) => /* @__PURE__ */ be(
@@ -706,12 +706,12 @@ const Ug = Pe.Root, Eg = Pe.Value, Md = Bn.forwardRef(({ className: e, children:
706
706
  ...n,
707
707
  children: [
708
708
  t,
709
- /* @__PURE__ */ G(Pe.Icon, { asChild: !0, children: /* @__PURE__ */ G(ns, { className: "h-4 w-4 opacity-50" }) })
709
+ /* @__PURE__ */ V(Pe.Icon, { asChild: !0, children: /* @__PURE__ */ V(ns, { className: "h-4 w-4 opacity-50" }) })
710
710
  ]
711
711
  }
712
712
  ));
713
713
  Md.displayName = Pe.Trigger.displayName;
714
- const Pd = Bn.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ G(
714
+ const Pd = Bn.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ V(
715
715
  Pe.ScrollUpButton,
716
716
  {
717
717
  ref: n,
@@ -720,11 +720,11 @@ const Pd = Bn.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ G(
720
720
  e
721
721
  ),
722
722
  ...t,
723
- children: /* @__PURE__ */ G(Of, { className: "h-4 w-4" })
723
+ children: /* @__PURE__ */ V(Of, { className: "h-4 w-4" })
724
724
  }
725
725
  ));
726
726
  Pd.displayName = Pe.ScrollUpButton.displayName;
727
- const qd = Bn.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ G(
727
+ const qd = Bn.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ V(
728
728
  Pe.ScrollDownButton,
729
729
  {
730
730
  ref: n,
@@ -733,11 +733,11 @@ const qd = Bn.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ G(
733
733
  e
734
734
  ),
735
735
  ...t,
736
- children: /* @__PURE__ */ G(ns, { className: "h-4 w-4" })
736
+ children: /* @__PURE__ */ V(ns, { className: "h-4 w-4" })
737
737
  }
738
738
  ));
739
739
  qd.displayName = Pe.ScrollDownButton.displayName;
740
- const zd = Bn.forwardRef(({ className: e, children: t, position: n = "popper", ...i }, r) => /* @__PURE__ */ G(Pe.Portal, { children: /* @__PURE__ */ be(
740
+ const zd = Bn.forwardRef(({ className: e, children: t, position: n = "popper", ...i }, r) => /* @__PURE__ */ V(Pe.Portal, { children: /* @__PURE__ */ be(
741
741
  Pe.Content,
742
742
  {
743
743
  ref: r,
@@ -749,8 +749,8 @@ const zd = Bn.forwardRef(({ className: e, children: t, position: n = "popper", .
749
749
  position: n,
750
750
  ...i,
751
751
  children: [
752
- /* @__PURE__ */ G(Pd, {}),
753
- /* @__PURE__ */ G(
752
+ /* @__PURE__ */ V(Pd, {}),
753
+ /* @__PURE__ */ V(
754
754
  Pe.Viewport,
755
755
  {
756
756
  className: nt(
@@ -760,12 +760,12 @@ const zd = Bn.forwardRef(({ className: e, children: t, position: n = "popper", .
760
760
  children: t
761
761
  }
762
762
  ),
763
- /* @__PURE__ */ G(qd, {})
763
+ /* @__PURE__ */ V(qd, {})
764
764
  ]
765
765
  }
766
766
  ) }));
767
767
  zd.displayName = Pe.Content.displayName;
768
- const Ag = Bn.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ G(
768
+ const Ag = Bn.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ V(
769
769
  Pe.Label,
770
770
  {
771
771
  ref: n,
@@ -784,13 +784,13 @@ const No = Bn.forwardRef(({ className: e, children: t, ...n }, i) => /* @__PURE_
784
784
  ),
785
785
  ...n,
786
786
  children: [
787
- /* @__PURE__ */ G("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ G(Pe.ItemIndicator, { children: /* @__PURE__ */ G(If, { className: "h-4 w-4" }) }) }),
788
- /* @__PURE__ */ G(Pe.ItemText, { children: t })
787
+ /* @__PURE__ */ V("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ V(Pe.ItemIndicator, { children: /* @__PURE__ */ V(If, { className: "h-4 w-4" }) }) }),
788
+ /* @__PURE__ */ V(Pe.ItemText, { children: t })
789
789
  ]
790
790
  }
791
791
  ));
792
792
  No.displayName = Pe.Item.displayName;
793
- const Cg = Bn.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ G(
793
+ const Cg = Bn.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ V(
794
794
  Pe.Separator,
795
795
  {
796
796
  ref: n,
@@ -809,7 +809,7 @@ function kg() {
809
809
  }
810
810
  } };
811
811
  }
812
- const Fg = "_wrap_fsdar_1", Sg = "_maxHeight_fsdar_10", Bg = "_btnCopy_fsdar_13", Lg = "_btnDelete_fsdar_14", Ng = "_blockInfo_fsdar_18", Rg = "_blockInfoEditable_fsdar_28", Wg = "_selectLang_fsdar_32", Ig = "_copied_fsdar_58", Xt = {
812
+ const Fg = "_wrap_fsdar_1", Sg = "_maxHeight_fsdar_10", Bg = "_btnCopy_fsdar_13", Lg = "_btnDelete_fsdar_14", Ng = "_blockInfo_fsdar_18", Rg = "_blockInfoEditable_fsdar_28", Wg = "_selectLang_fsdar_32", Ig = "_copied_fsdar_58", $t = {
813
813
  wrap: Fg,
814
814
  maxHeight: Sg,
815
815
  btnCopy: Bg,
@@ -824,29 +824,29 @@ function Og({ editor: e, node: { attrs: t }, updateAttributes: n, extension: i }
824
824
  const { isCopied: r, copyToClipboard: a } = kg(), o = Dt(() => {
825
825
  var D;
826
826
  return (D = i.options.languages) != null && D.length ? i.options.languages : Rd;
827
- }, [i.options.languages]), s = Vo(), c = (l = (g = e == null ? void 0 : e.options) == null ? void 0 : g.editorProps) == null ? void 0 : l.print, { language: u } = t, d = nn(null), f = en(() => jh(Mg.name, e), [e]);
828
- return /* @__PURE__ */ be(gi, { className: yt(Xt.wrap, !c && Xt.maxHeight, "render-wrapper"), children: [
827
+ }, [i.options.languages]), s = Vo(), c = (l = (g = e == null ? void 0 : e.options) == null ? void 0 : g.editorProps) == null ? void 0 : l.print, { language: u } = t, d = qt(null), f = tn(() => jh(Mg.name, e), [e]);
828
+ return /* @__PURE__ */ be(gi, { className: yt($t.wrap, !c && $t.maxHeight, "render-wrapper"), children: [
829
829
  /* @__PURE__ */ be(
830
830
  "div",
831
831
  {
832
- className: yt(Xt.blockInfo, {
833
- [Xt.blockInfoEditable]: !s
832
+ className: yt($t.blockInfo, {
833
+ [$t.blockInfoEditable]: !s
834
834
  }),
835
835
  children: [
836
- /* @__PURE__ */ G(
836
+ /* @__PURE__ */ V(
837
837
  "span",
838
838
  {
839
- className: yt(Xt.btnCopy, r && Xt.copied),
839
+ className: yt($t.btnCopy, r && $t.copied),
840
840
  onClick: () => a(d.current.innerText),
841
- children: r ? /* @__PURE__ */ G(Pf, { size: 16 }) : /* @__PURE__ */ G(Mf, { size: 16 })
841
+ children: r ? /* @__PURE__ */ V(Pf, { size: 16 }) : /* @__PURE__ */ V(Mf, { size: 16 })
842
842
  }
843
843
  ),
844
- /* @__PURE__ */ G(
844
+ /* @__PURE__ */ V(
845
845
  "span",
846
846
  {
847
- className: Xt.btnDelete,
847
+ className: $t.btnDelete,
848
848
  onClick: f,
849
- children: /* @__PURE__ */ G(
849
+ children: /* @__PURE__ */ V(
850
850
  st,
851
851
  {
852
852
  name: "Trash2"
@@ -854,17 +854,17 @@ function Og({ editor: e, node: { attrs: t }, updateAttributes: n, extension: i }
854
854
  )
855
855
  }
856
856
  ),
857
- /* @__PURE__ */ G("div", { className: Xt.selectLang, children: /* @__PURE__ */ be(
857
+ /* @__PURE__ */ V("div", { className: $t.selectLang, children: /* @__PURE__ */ be(
858
858
  Ug,
859
859
  {
860
860
  defaultValue: u || "auto",
861
861
  disabled: !s,
862
862
  onValueChange: (D) => n({ language: D }),
863
863
  children: [
864
- /* @__PURE__ */ G(Md, { children: /* @__PURE__ */ G(Eg, { placeholder: "Language" }) }),
864
+ /* @__PURE__ */ V(Md, { children: /* @__PURE__ */ V(Eg, { placeholder: "Language" }) }),
865
865
  /* @__PURE__ */ be(zd, { className: "max-h-60 overflow-y-auto", children: [
866
- /* @__PURE__ */ G(No, { value: "auto", children: "Auto" }),
867
- o.map((D, m) => /* @__PURE__ */ G(
866
+ /* @__PURE__ */ V(No, { value: "auto", children: "Auto" }),
867
+ o.map((D, m) => /* @__PURE__ */ V(
868
868
  No,
869
869
  {
870
870
  value: D,
@@ -879,7 +879,7 @@ function Og({ editor: e, node: { attrs: t }, updateAttributes: n, extension: i }
879
879
  ]
880
880
  }
881
881
  ),
882
- /* @__PURE__ */ G("pre", { ref: d, children: /* @__PURE__ */ G(Xh, { as: "code" }) })
882
+ /* @__PURE__ */ V("pre", { ref: d, children: /* @__PURE__ */ V(Xh, { as: "code" }) })
883
883
  ] });
884
884
  }
885
885
  const Mg = Dg.extend({
@@ -993,12 +993,12 @@ const Mg = Dg.extend({
993
993
  }
994
994
  });
995
995
  function Hg(e) {
996
- var r, a, o;
997
- const { t, lang: n } = kt(), i = Dt(() => {
998
- var u;
999
- const s = (u = e == null ? void 0 : e.items) == null ? void 0 : u.find((d) => d.isActive());
1000
- return s && !s.default ? {
1001
- ...s
996
+ var a, o, s;
997
+ const { t, lang: n } = kt(), i = qt(null), r = Dt(() => {
998
+ var d;
999
+ const c = (d = e == null ? void 0 : e.items) == null ? void 0 : d.find((f) => f.isActive());
1000
+ return c && !c.default ? {
1001
+ ...c
1002
1002
  } : {
1003
1003
  title: e.tooltip,
1004
1004
  font: t("editor.fontFamily.default.tooltip"),
@@ -1008,42 +1008,28 @@ function Hg(e) {
1008
1008
  };
1009
1009
  }, [t, n, e]);
1010
1010
  return /* @__PURE__ */ be(kn, { children: [
1011
- /* @__PURE__ */ G(
1012
- Fn,
1011
+ /* @__PURE__ */ V(Fn, { asChild: !0, disabled: e == null ? void 0 : e.disabled, children: /* @__PURE__ */ V("div", { ref: i, children: /* @__PURE__ */ V(
1012
+ as,
1013
1013
  {
1014
- asChild: !0,
1015
1014
  disabled: e == null ? void 0 : e.disabled,
1016
- children: /* @__PURE__ */ G(
1017
- as,
1018
- {
1019
- disabled: e == null ? void 0 : e.disabled,
1020
- icon: "MenuDown",
1021
- title: ((r = i == null ? void 0 : i.font) == null ? void 0 : r.length) > 7 ? `${(a = i == null ? void 0 : i.font) == null ? void 0 : a.slice(0, 6)}...` : i == null ? void 0 : i.font,
1022
- tooltip: e == null ? void 0 : e.tooltip
1023
- }
1024
- )
1015
+ icon: "MenuDown",
1016
+ title: ((a = r == null ? void 0 : r.font) == null ? void 0 : a.length) > 7 ? `${(o = r == null ? void 0 : r.font) == null ? void 0 : o.slice(0, 6)}...` : r == null ? void 0 : r.font,
1017
+ tooltip: e == null ? void 0 : e.tooltip
1025
1018
  }
1026
- ),
1027
- /* @__PURE__ */ G(Sn, { className: "w-full", children: (o = e == null ? void 0 : e.items) == null ? void 0 : o.map((s, c) => {
1028
- const u = s.font === t("editor.fontFamily.default.tooltip") ? {} : { fontFamily: s.font };
1019
+ ) }) }),
1020
+ /* @__PURE__ */ V(Sn, { className: "max-h-[40vh] w-32 overflow-y-auto", container: i.current, children: (s = e == null ? void 0 : e.items) == null ? void 0 : s.map((c, u) => {
1021
+ const d = c.font === t("editor.fontFamily.default.tooltip") ? {} : { fontFamily: c.font };
1029
1022
  return /* @__PURE__ */ be(Jo, { children: [
1030
- /* @__PURE__ */ G(
1023
+ /* @__PURE__ */ V(
1031
1024
  Zn,
1032
1025
  {
1033
- checked: (i == null ? void 0 : i.font) === s.font,
1034
- onClick: s.action,
1035
- children: /* @__PURE__ */ G(
1036
- "div",
1037
- {
1038
- className: "ml-1 h-full",
1039
- style: u,
1040
- children: s.font
1041
- }
1042
- )
1026
+ checked: (r == null ? void 0 : r.font) === c.font,
1027
+ onClick: c.action,
1028
+ children: /* @__PURE__ */ V("div", { className: "ml-1 h-full", style: d, children: c.font })
1043
1029
  }
1044
1030
  ),
1045
- s.font === t("editor.fontFamily.default.tooltip") && /* @__PURE__ */ G(Fd, {})
1046
- ] }, `font-family-${c}`);
1031
+ c.font === t("editor.fontFamily.default.tooltip") && /* @__PURE__ */ V(Fd, {})
1032
+ ] }, `font-family-${u}`);
1047
1033
  }) })
1048
1034
  ] });
1049
1035
  }
@@ -1150,12 +1136,12 @@ function Xg(e) {
1150
1136
  };
1151
1137
  }, [e]);
1152
1138
  return /* @__PURE__ */ be(kn, { children: [
1153
- /* @__PURE__ */ G(
1139
+ /* @__PURE__ */ V(
1154
1140
  Fn,
1155
1141
  {
1156
1142
  asChild: !0,
1157
1143
  disabled: e == null ? void 0 : e.disabled,
1158
- children: /* @__PURE__ */ G(
1144
+ children: /* @__PURE__ */ V(
1159
1145
  as,
1160
1146
  {
1161
1147
  disabled: e == null ? void 0 : e.disabled,
@@ -1166,7 +1152,7 @@ function Xg(e) {
1166
1152
  )
1167
1153
  }
1168
1154
  ),
1169
- /* @__PURE__ */ G(Sn, { className: "w-full", children: (n = e == null ? void 0 : e.items) == null ? void 0 : n.map((i, r) => {
1155
+ /* @__PURE__ */ V(Sn, { className: "w-full", children: (n = e == null ? void 0 : e.items) == null ? void 0 : n.map((i, r) => {
1170
1156
  var a, o;
1171
1157
  return /* @__PURE__ */ be(Jo, { children: [
1172
1158
  /* @__PURE__ */ be(
@@ -1175,12 +1161,12 @@ function Xg(e) {
1175
1161
  checked: (t == null ? void 0 : t.title) === i.title,
1176
1162
  onClick: i.action,
1177
1163
  children: [
1178
- /* @__PURE__ */ G("div", { className: `heading- ml-1 h-full${i.level}`, children: i.title }),
1179
- !!((a = i == null ? void 0 : i.shortcutKeys) != null && a.length) && /* @__PURE__ */ G($h, { className: "pl-4", children: (o = i == null ? void 0 : i.shortcutKeys) == null ? void 0 : o.map((s) => Go(s)).join(" ") })
1164
+ /* @__PURE__ */ V("div", { className: `heading- ml-1 h-full${i.level}`, children: i.title }),
1165
+ !!((a = i == null ? void 0 : i.shortcutKeys) != null && a.length) && /* @__PURE__ */ V($h, { className: "pl-4", children: (o = i == null ? void 0 : i.shortcutKeys) == null ? void 0 : o.map((s) => Go(s)).join(" ") })
1180
1166
  ]
1181
1167
  }
1182
1168
  ),
1183
- i.level === 0 && /* @__PURE__ */ G(Fd, {})
1169
+ i.level === 0 && /* @__PURE__ */ V(Fd, {})
1184
1170
  ] }, `heading-k-${r}`);
1185
1171
  }) })
1186
1172
  ] });
@@ -1280,19 +1266,19 @@ function Vg(e) {
1280
1266
  };
1281
1267
  }, [e]);
1282
1268
  return /* @__PURE__ */ be(Fi, { modal: !0, children: [
1283
- /* @__PURE__ */ G(
1269
+ /* @__PURE__ */ V(
1284
1270
  Si,
1285
1271
  {
1286
1272
  asChild: !0,
1287
1273
  disabled: e == null ? void 0 : e.disabled,
1288
- children: /* @__PURE__ */ G(
1274
+ children: /* @__PURE__ */ V(
1289
1275
  Ce,
1290
1276
  {
1291
1277
  customClass: "!w-12 h-12",
1292
1278
  disabled: e == null ? void 0 : e.disabled,
1293
1279
  icon: e == null ? void 0 : e.icon,
1294
1280
  tooltip: e == null ? void 0 : e.tooltip,
1295
- children: /* @__PURE__ */ G(
1281
+ children: /* @__PURE__ */ V(
1296
1282
  st,
1297
1283
  {
1298
1284
  className: "ml-1 size-3 text-zinc-500",
@@ -1303,7 +1289,7 @@ function Vg(e) {
1303
1289
  )
1304
1290
  }
1305
1291
  ),
1306
- /* @__PURE__ */ G(
1292
+ /* @__PURE__ */ V(
1307
1293
  Bi,
1308
1294
  {
1309
1295
  align: "start",
@@ -1312,7 +1298,7 @@ function Vg(e) {
1312
1298
  children: (n = e == null ? void 0 : e.items) == null ? void 0 : n.map((i, r) => {
1313
1299
  var a, o;
1314
1300
  return /* @__PURE__ */ be(aa, { children: [
1315
- /* @__PURE__ */ G(oa, { asChild: !0, children: /* @__PURE__ */ G(
1301
+ /* @__PURE__ */ V(oa, { asChild: !0, children: /* @__PURE__ */ V(
1316
1302
  Zo,
1317
1303
  {
1318
1304
  className: "size-7 p-1",
@@ -1320,12 +1306,12 @@ function Vg(e) {
1320
1306
  onClick: i == null ? void 0 : i.action,
1321
1307
  pressed: t.title === i.title,
1322
1308
  size: "sm",
1323
- children: (i == null ? void 0 : i.icon) && /* @__PURE__ */ G(st, { name: i.icon })
1309
+ children: (i == null ? void 0 : i.icon) && /* @__PURE__ */ V(st, { name: i.icon })
1324
1310
  }
1325
1311
  ) }),
1326
1312
  /* @__PURE__ */ be(sa, { className: "flex flex-col items-center", children: [
1327
- /* @__PURE__ */ G("span", { children: i.title }),
1328
- !!((a = i.shortcutKeys) != null && a.length) && /* @__PURE__ */ G("span", { children: (o = i.shortcutKeys) == null ? void 0 : o.map((s) => Go(s)).join(" ") })
1313
+ /* @__PURE__ */ V("span", { children: i.title }),
1314
+ !!((a = i.shortcutKeys) != null && a.length) && /* @__PURE__ */ V("span", { children: (o = i.shortcutKeys) == null ? void 0 : o.map((s) => Go(s)).join(" ") })
1329
1315
  ] })
1330
1316
  ] }, `text-align-${r}`);
1331
1317
  })
@@ -1384,7 +1370,7 @@ const Kb = $g.extend({
1384
1370
  });
1385
1371
  function Kg(e) {
1386
1372
  var r;
1387
- const { t } = kt(), n = nn(null), i = Dt(() => {
1373
+ const { t } = kt(), n = qt(null), i = Dt(() => {
1388
1374
  const a = (e.items || []).find((s) => s.isActive());
1389
1375
  return a || {
1390
1376
  title: t("editor.fontSize.default.tooltip"),
@@ -1392,7 +1378,7 @@ function Kg(e) {
1392
1378
  };
1393
1379
  }, [e]);
1394
1380
  return /* @__PURE__ */ be(kn, { children: [
1395
- /* @__PURE__ */ G(Fn, { asChild: !0, disabled: e == null ? void 0 : e.disabled, children: /* @__PURE__ */ G("div", { ref: n, children: /* @__PURE__ */ G(
1381
+ /* @__PURE__ */ V(Fn, { asChild: !0, disabled: e == null ? void 0 : e.disabled, children: /* @__PURE__ */ V("div", { ref: n, children: /* @__PURE__ */ V(
1396
1382
  as,
1397
1383
  {
1398
1384
  disabled: e == null ? void 0 : e.disabled,
@@ -1401,17 +1387,17 @@ function Kg(e) {
1401
1387
  tooltip: `${e == null ? void 0 : e.tooltip}`
1402
1388
  }
1403
1389
  ) }) }),
1404
- /* @__PURE__ */ G(
1390
+ /* @__PURE__ */ V(
1405
1391
  Sn,
1406
1392
  {
1407
1393
  container: n.current,
1408
1394
  className: "max-h-[40vh] w-32 overflow-y-auto",
1409
- children: (r = e == null ? void 0 : e.items) == null ? void 0 : r.map((a, o) => /* @__PURE__ */ G(
1395
+ children: (r = e == null ? void 0 : e.items) == null ? void 0 : r.map((a, o) => /* @__PURE__ */ V(
1410
1396
  Zn,
1411
1397
  {
1412
1398
  checked: i.title === a.title,
1413
1399
  onClick: a.action,
1414
- children: /* @__PURE__ */ G("div", { className: "ml-1 h-full", children: a.title })
1400
+ children: /* @__PURE__ */ V("div", { className: "ml-1 h-full", children: a.title })
1415
1401
  },
1416
1402
  `font-size-${o}`
1417
1403
  ))
@@ -1515,7 +1501,7 @@ const Gb = Ne.create({
1515
1501
  }
1516
1502
  });
1517
1503
  function Zg({ fill: e }) {
1518
- return /* @__PURE__ */ G(
1504
+ return /* @__PURE__ */ V(
1519
1505
  "svg",
1520
1506
  {
1521
1507
  width: "18px",
@@ -1523,8 +1509,8 @@ function Zg({ fill: e }) {
1523
1509
  viewBox: "0 0 240 240",
1524
1510
  version: "1.1",
1525
1511
  xmlns: "http://www.w3.org/2000/svg",
1526
- children: /* @__PURE__ */ G("g", { stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ G("g", { transform: "translate(0.000000, 0.500000)", children: /* @__PURE__ */ be("g", { transform: "translate(39.000000, 17.353553)", children: [
1527
- /* @__PURE__ */ G(
1512
+ children: /* @__PURE__ */ V("g", { stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ V("g", { transform: "translate(0.000000, 0.500000)", children: /* @__PURE__ */ be("g", { transform: "translate(39.000000, 17.353553)", children: [
1513
+ /* @__PURE__ */ V(
1528
1514
  "path",
1529
1515
  {
1530
1516
  d: "M11,201.146447 L167,201.146447 C173.075132,201.146447 178,206.071314 178,212.146447 C178,218.221579 173.075132,223.146447 167,223.146447 L11,223.146447 C4.92486775,223.146447 7.43989126e-16,218.221579 0,212.146447 C-7.43989126e-16,206.071314 4.92486775,201.146447 11,201.146447 Z",
@@ -1533,7 +1519,7 @@ function Zg({ fill: e }) {
1533
1519
  fillRule: "evenodd"
1534
1520
  }
1535
1521
  ),
1536
- /* @__PURE__ */ G(
1522
+ /* @__PURE__ */ V(
1537
1523
  "path",
1538
1524
  {
1539
1525
  d: "M72.3425855,16.8295583 C75.799482,7.50883712 86.1577877,2.75526801 95.4785089,6.21216449 C100.284516,7.99463061 104.096358,11.7387855 105.968745,16.4968188 L106.112518,16.8745422 L159.385152,161.694068 C161.291848,166.877345 158.635655,172.624903 153.452378,174.531599 C148.358469,176.405421 142.719567,173.872338 140.716873,168.864661 L140.614848,168.598825 L89.211,28.86 L37.3759214,168.623816 C35.4885354,173.712715 29.8981043,176.351047 24.7909589,174.617647 L24.5226307,174.522368 C19.4337312,172.634982 16.7953993,167.044551 18.5287999,161.937406 L18.6240786,161.669077 L72.3425855,16.8295583 Z",
@@ -1542,7 +1528,7 @@ function Zg({ fill: e }) {
1542
1528
  fillRule: "nonzero"
1543
1529
  }
1544
1530
  ),
1545
- /* @__PURE__ */ G(
1531
+ /* @__PURE__ */ V(
1546
1532
  "path",
1547
1533
  {
1548
1534
  d: "M121,103.146447 C126.522847,103.146447 131,107.623599 131,113.146447 C131,118.575687 126.673329,122.994378 121.279905,123.142605 L121,123.146447 L55,123.146447 C49.4771525,123.146447 45,118.669294 45,113.146447 C45,107.717207 49.3266708,103.298515 54.7200952,103.150288 L55,103.146447 L121,103.146447 Z",
@@ -1565,15 +1551,15 @@ function Yg(e) {
1565
1551
  var o;
1566
1552
  (o = e.action) == null || o.call(e, t);
1567
1553
  }
1568
- const a = en(
1554
+ const a = tn(
1569
1555
  Vh((o) => {
1570
1556
  n(o);
1571
1557
  }, 350),
1572
1558
  []
1573
1559
  );
1574
1560
  return /* @__PURE__ */ be("div", { className: "flex items-center h-[32px]", children: [
1575
- /* @__PURE__ */ G(Ce, { tooltip: e == null ? void 0 : e.tooltip, disabled: e == null ? void 0 : e.disabled, action: r, children: /* @__PURE__ */ G("span", { className: "flex items-center justify-center text-sm", children: /* @__PURE__ */ G(Zg, { fill: t }) }) }),
1576
- /* @__PURE__ */ G(
1561
+ /* @__PURE__ */ V(Ce, { tooltip: e == null ? void 0 : e.tooltip, disabled: e == null ? void 0 : e.disabled, action: r, children: /* @__PURE__ */ V("span", { className: "flex items-center justify-center text-sm", children: /* @__PURE__ */ V(Zg, { fill: t }) }) }),
1562
+ /* @__PURE__ */ V(
1577
1563
  Kh,
1578
1564
  {
1579
1565
  selectedColor: t,
@@ -1582,7 +1568,7 @@ function Yg(e) {
1582
1568
  disabled: e == null ? void 0 : e.disabled,
1583
1569
  colors: e == null ? void 0 : e.colors,
1584
1570
  defaultColor: e == null ? void 0 : e.defaultColor,
1585
- children: /* @__PURE__ */ G(_n, { variant: "ghost", size: "icon", className: "r!ichtext-h-[32px] !w-3", disabled: e == null ? void 0 : e.disabled, children: /* @__PURE__ */ G(st, { className: "!w-3 !h-3 text-zinc-500", name: "MenuDown" }) })
1571
+ children: /* @__PURE__ */ V(_n, { variant: "ghost", size: "icon", className: "r!ichtext-h-[32px] !w-3", disabled: e == null ? void 0 : e.disabled, children: /* @__PURE__ */ V(st, { className: "!w-3 !h-3 text-zinc-500", name: "MenuDown" }) })
1586
1572
  }
1587
1573
  )
1588
1574
  ] });
@@ -1665,7 +1651,7 @@ const Zb = Gg.extend({
1665
1651
  },
1666
1652
  addPasteRules() {
1667
1653
  return [
1668
- tn({
1654
+ nn({
1669
1655
  find: Jg,
1670
1656
  type: this.type
1671
1657
  })
@@ -2232,7 +2218,7 @@ tt.prototype = {
2232
2218
  return r.j[e] = o, o;
2233
2219
  }
2234
2220
  };
2235
- const Ue = (e, t, n, i, r) => e.ta(t, n, i, r), Oe = (e, t, n, i, r) => e.tr(t, n, i, r), Dc = (e, t, n, i, r) => e.ts(t, n, i, r), ue = (e, t, n, i, r) => e.tt(t, n, i, r), It = "WORD", Mo = "UWORD", jd = "ASCIINUMERICAL", Xd = "ALPHANUMERICAL", _i = "LOCALHOST", Po = "TLD", qo = "UTLD", rr = "SCHEME", qn = "SLASH_SCHEME", os = "NUM", zo = "WS", ss = "NL", mi = "OPENBRACE", bi = "CLOSEBRACE", Ar = "OPENBRACKET", Cr = "CLOSEBRACKET", kr = "OPENPAREN", Fr = "CLOSEPAREN", Sr = "OPENANGLEBRACKET", Br = "CLOSEANGLEBRACKET", Lr = "FULLWIDTHLEFTPAREN", Nr = "FULLWIDTHRIGHTPAREN", Rr = "LEFTCORNERBRACKET", Wr = "RIGHTCORNERBRACKET", Ir = "LEFTWHITECORNERBRACKET", Or = "RIGHTWHITECORNERBRACKET", Mr = "FULLWIDTHLESSTHAN", Pr = "FULLWIDTHGREATERTHAN", qr = "AMPERSAND", cs = "APOSTROPHE", zr = "ASTERISK", Gt = "AT", Hr = "BACKSLASH", jr = "BACKTICK", Xr = "CARET", Yt = "COLON", us = "COMMA", $r = "DOLLAR", wt = "DOT", Vr = "EQUALS", ds = "EXCLAMATION", ht = "HYPHEN", yi = "PERCENT", Kr = "PIPE", Gr = "PLUS", Zr = "POUND", Di = "QUERY", ls = "QUOTE", $d = "FULLWIDTHMIDDLEDOT", hs = "SEMI", Tt = "SLASH", vi = "TILDE", Yr = "UNDERSCORE", Vd = "EMOJI", Qr = "SYM";
2221
+ const Ue = (e, t, n, i, r) => e.ta(t, n, i, r), Oe = (e, t, n, i, r) => e.tr(t, n, i, r), Dc = (e, t, n, i, r) => e.ts(t, n, i, r), ue = (e, t, n, i, r) => e.tt(t, n, i, r), It = "WORD", Mo = "UWORD", jd = "ASCIINUMERICAL", Xd = "ALPHANUMERICAL", _i = "LOCALHOST", Po = "TLD", qo = "UTLD", rr = "SCHEME", qn = "SLASH_SCHEME", os = "NUM", zo = "WS", ss = "NL", mi = "OPENBRACE", bi = "CLOSEBRACE", Ar = "OPENBRACKET", Cr = "CLOSEBRACKET", kr = "OPENPAREN", Fr = "CLOSEPAREN", Sr = "OPENANGLEBRACKET", Br = "CLOSEANGLEBRACKET", Lr = "FULLWIDTHLEFTPAREN", Nr = "FULLWIDTHRIGHTPAREN", Rr = "LEFTCORNERBRACKET", Wr = "RIGHTCORNERBRACKET", Ir = "LEFTWHITECORNERBRACKET", Or = "RIGHTWHITECORNERBRACKET", Mr = "FULLWIDTHLESSTHAN", Pr = "FULLWIDTHGREATERTHAN", qr = "AMPERSAND", cs = "APOSTROPHE", zr = "ASTERISK", Zt = "AT", Hr = "BACKSLASH", jr = "BACKTICK", Xr = "CARET", Qt = "COLON", us = "COMMA", $r = "DOLLAR", wt = "DOT", Vr = "EQUALS", ds = "EXCLAMATION", ht = "HYPHEN", yi = "PERCENT", Kr = "PIPE", Gr = "PLUS", Zr = "POUND", Di = "QUERY", ls = "QUOTE", $d = "FULLWIDTHMIDDLEDOT", hs = "SEMI", Tt = "SLASH", vi = "TILDE", Yr = "UNDERSCORE", Vd = "EMOJI", Qr = "SYM";
2236
2222
  var Kd = /* @__PURE__ */ Object.freeze({
2237
2223
  __proto__: null,
2238
2224
  WORD: It,
@@ -2266,11 +2252,11 @@ var Kd = /* @__PURE__ */ Object.freeze({
2266
2252
  AMPERSAND: qr,
2267
2253
  APOSTROPHE: cs,
2268
2254
  ASTERISK: zr,
2269
- AT: Gt,
2255
+ AT: Zt,
2270
2256
  BACKSLASH: Hr,
2271
2257
  BACKTICK: jr,
2272
2258
  CARET: Xr,
2273
- COLON: Yt,
2259
+ COLON: Qt,
2274
2260
  COMMA: us,
2275
2261
  DOLLAR: $r,
2276
2262
  DOT: wt,
@@ -2298,7 +2284,7 @@ function yp(e = []) {
2298
2284
  const t = {};
2299
2285
  tt.groups = t;
2300
2286
  const n = new tt();
2301
- Mi == null && (Mi = xc(dp)), Pi == null && (Pi = xc(lp)), ue(n, "'", cs), ue(n, "{", mi), ue(n, "}", bi), ue(n, "[", Ar), ue(n, "]", Cr), ue(n, "(", kr), ue(n, ")", Fr), ue(n, "<", Sr), ue(n, ">", Br), ue(n, "(", Lr), ue(n, ")", Nr), ue(n, "「", Rr), ue(n, "」", Wr), ue(n, "『", Ir), ue(n, "』", Or), ue(n, "<", Mr), ue(n, ">", Pr), ue(n, "&", qr), ue(n, "*", zr), ue(n, "@", Gt), ue(n, "`", jr), ue(n, "^", Xr), ue(n, ":", Yt), ue(n, ",", us), ue(n, "$", $r), ue(n, ".", wt), ue(n, "=", Vr), ue(n, "!", ds), ue(n, "-", ht), ue(n, "%", yi), ue(n, "|", Kr), ue(n, "+", Gr), ue(n, "#", Zr), ue(n, "?", Di), ue(n, '"', ls), ue(n, "/", Tt), ue(n, ";", hs), ue(n, "~", vi), ue(n, "_", Yr), ue(n, "\\", Hr), ue(n, "・", $d);
2287
+ Mi == null && (Mi = xc(dp)), Pi == null && (Pi = xc(lp)), ue(n, "'", cs), ue(n, "{", mi), ue(n, "}", bi), ue(n, "[", Ar), ue(n, "]", Cr), ue(n, "(", kr), ue(n, ")", Fr), ue(n, "<", Sr), ue(n, ">", Br), ue(n, "(", Lr), ue(n, ")", Nr), ue(n, "「", Rr), ue(n, "」", Wr), ue(n, "『", Ir), ue(n, "』", Or), ue(n, "<", Mr), ue(n, ">", Pr), ue(n, "&", qr), ue(n, "*", zr), ue(n, "@", Zt), ue(n, "`", jr), ue(n, "^", Xr), ue(n, ":", Qt), ue(n, ",", us), ue(n, "$", $r), ue(n, ".", wt), ue(n, "=", Vr), ue(n, "!", ds), ue(n, "-", ht), ue(n, "%", yi), ue(n, "|", Kr), ue(n, "+", Gr), ue(n, "#", Zr), ue(n, "?", Di), ue(n, '"', ls), ue(n, "/", Tt), ue(n, ";", hs), ue(n, "~", vi), ue(n, "_", Yr), ue(n, "\\", Hr), ue(n, "・", $d);
2302
2288
  const i = Oe(n, Nt, os, {
2303
2289
  [Ro]: !0
2304
2290
  });
@@ -2331,16 +2317,16 @@ function yp(e = []) {
2331
2317
  ue(g, "#"), Oe(g, Oa, f);
2332
2318
  const l = [[Lt, o], [Nt, r]], D = [[Lt, null], [ei, s], [Nt, a]];
2333
2319
  for (let m = 0; m < Mi.length; m++)
2334
- $t(n, Mi[m], Po, It, l);
2320
+ Vt(n, Mi[m], Po, It, l);
2335
2321
  for (let m = 0; m < Pi.length; m++)
2336
- $t(n, Pi[m], qo, Mo, D);
2322
+ Vt(n, Pi[m], qo, Mo, D);
2337
2323
  Tn(Po, {
2338
2324
  tld: !0,
2339
2325
  ascii: !0
2340
2326
  }, t), Tn(qo, {
2341
2327
  utld: !0,
2342
2328
  alpha: !0
2343
- }, t), $t(n, "file", rr, It, l), $t(n, "mailto", rr, It, l), $t(n, "http", qn, It, l), $t(n, "https", qn, It, l), $t(n, "ftp", qn, It, l), $t(n, "ftps", qn, It, l), Tn(rr, {
2329
+ }, t), Vt(n, "file", rr, It, l), Vt(n, "mailto", rr, It, l), Vt(n, "http", qn, It, l), Vt(n, "https", qn, It, l), Vt(n, "ftp", qn, It, l), Vt(n, "ftps", qn, It, l), Tn(rr, {
2344
2330
  scheme: !0,
2345
2331
  ascii: !0
2346
2332
  }, t), Tn(qn, {
@@ -2393,7 +2379,7 @@ function Dp(e) {
2393
2379
  }
2394
2380
  return t;
2395
2381
  }
2396
- function $t(e, t, n, i, r) {
2382
+ function Vt(e, t, n, i, r) {
2397
2383
  let a;
2398
2384
  const o = t.length;
2399
2385
  for (let s = 0; s < o - 1; s++) {
@@ -2648,18 +2634,18 @@ const wc = ua("email", {
2648
2634
  */
2649
2635
  hasProtocol() {
2650
2636
  const e = this.tk;
2651
- return e.length >= 2 && e[0].t !== _i && e[1].t === Yt;
2637
+ return e.length >= 2 && e[0].t !== _i && e[1].t === Qt;
2652
2638
  }
2653
2639
  }), ut = (e) => new tt(e);
2654
2640
  function xp({
2655
2641
  groups: e
2656
2642
  }) {
2657
- const t = e.domain.concat([qr, zr, Gt, Hr, jr, Xr, $r, Vr, ht, os, yi, Kr, Gr, Zr, Tt, Qr, vi, Yr]), n = [Yt, us, wt, ds, yi, Di, ls, hs, Sr, Br, mi, bi, Cr, Ar, kr, Fr, Lr, Nr, Rr, Wr, Ir, Or, Mr, Pr], i = [qr, cs, zr, Hr, jr, Xr, $r, Vr, ht, mi, bi, yi, Kr, Gr, Zr, Di, Tt, Qr, vi, Yr], r = ut(), a = ue(r, vi);
2643
+ const t = e.domain.concat([qr, zr, Zt, Hr, jr, Xr, $r, Vr, ht, os, yi, Kr, Gr, Zr, Tt, Qr, vi, Yr]), n = [Qt, us, wt, ds, yi, Di, ls, hs, Sr, Br, mi, bi, Cr, Ar, kr, Fr, Lr, Nr, Rr, Wr, Ir, Or, Mr, Pr], i = [qr, cs, zr, Hr, jr, Xr, $r, Vr, ht, mi, bi, yi, Kr, Gr, Zr, Di, Tt, Qr, vi, Yr], r = ut(), a = ue(r, vi);
2658
2644
  Ue(a, i, a), Ue(a, e.domain, a);
2659
2645
  const o = ut(), s = ut(), c = ut();
2660
2646
  Ue(r, e.domain, o), Ue(r, e.scheme, s), Ue(r, e.slashscheme, c), Ue(o, i, a), Ue(o, e.domain, o);
2661
- const u = ue(o, Gt);
2662
- ue(a, Gt, u), ue(s, Gt, u), ue(c, Gt, u);
2647
+ const u = ue(o, Zt);
2648
+ ue(a, Zt, u), ue(s, Zt, u), ue(c, Zt, u);
2663
2649
  const d = ue(a, wt);
2664
2650
  Ue(d, i, a), Ue(d, e.domain, a);
2665
2651
  const f = ut();
@@ -2670,17 +2656,17 @@ function xp({
2670
2656
  Ue(g, e.tld, l), Ue(g, e.utld, l), ue(u, _i, l);
2671
2657
  const D = ue(f, ht);
2672
2658
  ue(D, ht, D), Ue(D, e.domain, f), Ue(l, e.domain, f), ue(l, wt, g), ue(l, ht, D);
2673
- const m = ue(l, Yt);
2659
+ const m = ue(l, Qt);
2674
2660
  Ue(m, e.numeric, wc);
2675
2661
  const h = ue(o, ht), b = ue(o, wt);
2676
2662
  ue(h, ht, h), Ue(h, e.domain, o), Ue(b, i, a), Ue(b, e.domain, o);
2677
2663
  const p = ut(qi);
2678
- Ue(b, e.tld, p), Ue(b, e.utld, p), Ue(p, e.domain, o), Ue(p, i, a), ue(p, wt, b), ue(p, ht, h), ue(p, Gt, u);
2679
- const v = ue(p, Yt), w = ut(qi);
2664
+ Ue(b, e.tld, p), Ue(b, e.utld, p), Ue(p, e.domain, o), Ue(p, i, a), ue(p, wt, b), ue(p, ht, h), ue(p, Zt, u);
2665
+ const v = ue(p, Qt), w = ut(qi);
2680
2666
  Ue(v, e.numeric, w);
2681
2667
  const _ = ut(qi), T = ut();
2682
2668
  Ue(_, t, _), Ue(_, n, T), Ue(T, t, _), Ue(T, n, T), ue(p, Tt, _), ue(w, Tt, _);
2683
- const U = ue(s, Yt), L = ue(c, Yt), E = ue(L, Tt), W = ue(E, Tt);
2669
+ const U = ue(s, Qt), L = ue(c, Qt), E = ue(L, Tt), W = ue(E, Tt);
2684
2670
  Ue(s, e.domain, o), ue(s, wt, b), ue(s, ht, h), Ue(c, e.domain, o), ue(c, wt, b), ue(c, ht, h), Ue(U, e.domain, _), ue(U, Tt, _), ue(U, Di, _), Ue(W, e.domain, _), Ue(W, t, _), ue(W, Tt, _);
2685
2671
  const B = [
2686
2672
  [mi, bi],
@@ -2993,7 +2979,7 @@ const Bp = Ct.create({
2993
2979
  },
2994
2980
  addPasteRules() {
2995
2981
  return [
2996
- tn({
2982
+ nn({
2997
2983
  find: (e) => {
2998
2984
  const t = [];
2999
2985
  if (e) {
@@ -3048,16 +3034,16 @@ function Lp(e) {
3048
3034
  e.action && (e.action({ link: r, text: a, openInNewTab: o }), n(!1));
3049
3035
  }
3050
3036
  return /* @__PURE__ */ be(Fi, { modal: !0, open: t, onOpenChange: n, children: [
3051
- /* @__PURE__ */ G(Si, { disabled: e == null ? void 0 : e.disabled, asChild: !0, children: /* @__PURE__ */ G(
3037
+ /* @__PURE__ */ V(Si, { disabled: e == null ? void 0 : e.disabled, asChild: !0, children: /* @__PURE__ */ V(
3052
3038
  Ce,
3053
3039
  {
3054
3040
  tooltip: e == null ? void 0 : e.tooltip,
3055
3041
  isActive: e == null ? void 0 : e.isActive,
3056
3042
  disabled: e == null ? void 0 : e.disabled,
3057
- children: /* @__PURE__ */ G(st, { name: e == null ? void 0 : e.icon })
3043
+ children: /* @__PURE__ */ V(st, { name: e == null ? void 0 : e.icon })
3058
3044
  }
3059
3045
  ) }),
3060
- /* @__PURE__ */ G(Bi, { hideWhenDetached: !0, className: "w-full", align: "start", side: "bottom", children: /* @__PURE__ */ G(tf, { editor: e.editor, onSetLink: i }) })
3046
+ /* @__PURE__ */ V(Bi, { hideWhenDetached: !0, className: "w-full", align: "start", side: "bottom", children: /* @__PURE__ */ V(tf, { editor: e.editor, onSetLink: i }) })
3061
3047
  ] });
3062
3048
  }
3063
3049
  const iy = Bp.extend({
@@ -3120,7 +3106,7 @@ const iy = Bp.extend({
3120
3106
  const { schema: n, doc: i, tr: r } = e.state, a = nf(i.resolve(t), n.marks.link);
3121
3107
  if (!a)
3122
3108
  return !1;
3123
- const o = i.resolve(a.from), s = i.resolve(a.to), c = r.setSelection(new Jt(o, s));
3109
+ const o = i.resolve(a.from), s = i.resolve(a.to), c = r.setSelection(new en(o, s));
3124
3110
  e.dispatch(c);
3125
3111
  }
3126
3112
  }
@@ -3157,10 +3143,10 @@ const iy = Bp.extend({
3157
3143
  if (s) {
3158
3144
  const { $to: u } = o.selection, d = u.end();
3159
3145
  if (u.nodeAfter)
3160
- u.nodeAfter.isTextblock ? o.setSelection(Jt.create(o.doc, u.pos + 1)) : u.nodeAfter.isBlock ? o.setSelection(Yo.create(o.doc, u.pos)) : o.setSelection(Jt.create(o.doc, u.pos));
3146
+ u.nodeAfter.isTextblock ? o.setSelection(en.create(o.doc, u.pos + 1)) : u.nodeAfter.isBlock ? o.setSelection(Yo.create(o.doc, u.pos)) : o.setSelection(en.create(o.doc, u.pos));
3161
3147
  else {
3162
3148
  const f = (c = u.parent.type.contentMatch.defaultType) === null || c === void 0 ? void 0 : c.create();
3163
- f && (o.insert(d, f), o.setSelection(Jt.create(o.doc, d + 1)));
3149
+ f && (o.insert(d, f), o.setSelection(en.create(o.doc, d + 1)));
3164
3150
  }
3165
3151
  o.scrollIntoView();
3166
3152
  }
@@ -3439,7 +3425,7 @@ class Ut {
3439
3425
  }
3440
3426
  }
3441
3427
  }
3442
- class Zt {
3428
+ class Yt {
3443
3429
  constructor(t, n, i, r, a) {
3444
3430
  this.done = t, this.undone = n, this.prevRanges = i, this.prevTime = r, this.prevComposition = a;
3445
3431
  }
@@ -3449,16 +3435,16 @@ function Mp(e, t, n, i) {
3449
3435
  let r = n.getMeta(Un), a;
3450
3436
  if (r)
3451
3437
  return r.historyState;
3452
- n.getMeta(zp) && (e = new Zt(e.done, e.undone, null, 0, -1));
3438
+ n.getMeta(zp) && (e = new Yt(e.done, e.undone, null, 0, -1));
3453
3439
  let o = n.getMeta("appendedTransaction");
3454
3440
  if (n.steps.length == 0)
3455
3441
  return e;
3456
3442
  if (o && o.getMeta(Un))
3457
- return o.getMeta(Un).redo ? new Zt(e.done.addTransform(n, void 0, i, ar(t)), e.undone, Ec(n.mapping.maps), e.prevTime, e.prevComposition) : new Zt(e.done, e.undone.addTransform(n, void 0, i, ar(t)), null, e.prevTime, e.prevComposition);
3443
+ return o.getMeta(Un).redo ? new Yt(e.done.addTransform(n, void 0, i, ar(t)), e.undone, Ec(n.mapping.maps), e.prevTime, e.prevComposition) : new Yt(e.done, e.undone.addTransform(n, void 0, i, ar(t)), null, e.prevTime, e.prevComposition);
3458
3444
  if (n.getMeta("addToHistory") !== !1 && !(o && o.getMeta("addToHistory") === !1)) {
3459
3445
  let s = n.getMeta("composition"), c = e.prevTime == 0 || !o && e.prevComposition != s && (e.prevTime < (n.time || 0) - i.newGroupDelay || !Pp(n, e.prevRanges)), u = o ? Ha(e.prevRanges, n.mapping) : Ec(n.mapping.maps);
3460
- return new Zt(e.done.addTransform(n, c ? t.selection.getBookmark() : void 0, i, ar(t)), bt.empty, u, n.time, s ?? e.prevComposition);
3461
- } else return (a = n.getMeta("rebased")) ? new Zt(e.done.rebased(n, a), e.undone.rebased(n, a), Ha(e.prevRanges, n.mapping), e.prevTime, e.prevComposition) : new Zt(e.done.addMaps(n.mapping.maps), e.undone.addMaps(n.mapping.maps), Ha(e.prevRanges, n.mapping), e.prevTime, e.prevComposition);
3446
+ return new Yt(e.done.addTransform(n, c ? t.selection.getBookmark() : void 0, i, ar(t)), bt.empty, u, n.time, s ?? e.prevComposition);
3447
+ } else return (a = n.getMeta("rebased")) ? new Yt(e.done.rebased(n, a), e.undone.rebased(n, a), Ha(e.prevRanges, n.mapping), e.prevTime, e.prevComposition) : new Yt(e.done.addMaps(n.mapping.maps), e.undone.addMaps(n.mapping.maps), Ha(e.prevRanges, n.mapping), e.prevTime, e.prevComposition);
3462
3448
  }
3463
3449
  function Pp(e, t) {
3464
3450
  if (!t)
@@ -3491,7 +3477,7 @@ function qp(e, t, n) {
3491
3477
  let i = ar(t), r = Un.get(t).spec.config, a = (n ? e.undone : e.done).popEvent(t, i);
3492
3478
  if (!a)
3493
3479
  return null;
3494
- let o = a.selection.resolve(a.transform.doc), s = (n ? e.done : e.undone).addTransform(a.transform, t.selection.getBookmark(), r, i), c = new Zt(n ? s : a.remaining, n ? a.remaining : s, null, 0, -1);
3480
+ let o = a.selection.resolve(a.transform.doc), s = (n ? e.done : e.undone).addTransform(a.transform, t.selection.getBookmark(), r, i), c = new Yt(n ? s : a.remaining, n ? a.remaining : s, null, 0, -1);
3495
3481
  return a.transform.setSelection(o).setMeta(Un, { redo: n, historyState: c });
3496
3482
  }
3497
3483
  let ja = !1, Ac = null;
@@ -3516,7 +3502,7 @@ function Hp(e = {}) {
3516
3502
  key: Un,
3517
3503
  state: {
3518
3504
  init() {
3519
- return new Zt(bt.empty, bt.empty, null, 0, -1);
3505
+ return new Yt(bt.empty, bt.empty, null, 0, -1);
3520
3506
  },
3521
3507
  apply(t, n, i) {
3522
3508
  return Mp(n, i, t, e);
@@ -3592,7 +3578,7 @@ function Xp(e) {
3592
3578
  children: s
3593
3579
  } = e, c = Xo[t];
3594
3580
  return /* @__PURE__ */ be(aa, { children: [
3595
- /* @__PURE__ */ G(oa, { asChild: !0, children: /* @__PURE__ */ be(
3581
+ /* @__PURE__ */ V(oa, { asChild: !0, children: /* @__PURE__ */ be(
3596
3582
  Zo,
3597
3583
  {
3598
3584
  size: "sm",
@@ -3600,14 +3586,14 @@ function Xp(e) {
3600
3586
  disabled: o == null ? void 0 : o(),
3601
3587
  onClick: a,
3602
3588
  children: [
3603
- c && /* @__PURE__ */ G(c, { className: "w-4 h-4" }),
3604
- s && /* @__PURE__ */ G(ca, { children: s })
3589
+ c && /* @__PURE__ */ V(c, { className: "w-4 h-4" }),
3590
+ s && /* @__PURE__ */ V(ca, { children: s })
3605
3591
  ]
3606
3592
  }
3607
3593
  ) }),
3608
- n && /* @__PURE__ */ G(sa, { ...r, children: /* @__PURE__ */ be("div", { className: "flex flex-col items-center text-center max-w-24", children: [
3609
- /* @__PURE__ */ G("div", { children: n }),
3610
- !!((u = e == null ? void 0 : e.shortcutKeys) != null && u.length) && /* @__PURE__ */ G("span", { children: $o(e == null ? void 0 : e.shortcutKeys) })
3594
+ n && /* @__PURE__ */ V(sa, { ...r, children: /* @__PURE__ */ be("div", { className: "flex flex-col items-center text-center max-w-24", children: [
3595
+ /* @__PURE__ */ V("div", { children: n }),
3596
+ !!((u = e == null ? void 0 : e.shortcutKeys) != null && u.length) && /* @__PURE__ */ V("span", { children: $o(e == null ? void 0 : e.shortcutKeys) })
3611
3597
  ] }) })
3612
3598
  ] });
3613
3599
  }
@@ -3991,7 +3977,7 @@ function zi(e, t) {
3991
3977
  const n = e == "vert" ? t > 0 ? "down" : "up" : t > 0 ? "right" : "left";
3992
3978
  return function(i, r, a) {
3993
3979
  let o = i.selection, s = t > 0 ? o.$to : o.$from, c = o.empty;
3994
- if (o instanceof Jt) {
3980
+ if (o instanceof en) {
3995
3981
  if (!a.endOfTextblock(n) || s.depth == 0)
3996
3982
  return !1;
3997
3983
  c = !1, s = i.doc.resolve(t > 0 ? s.after() : s.before());
@@ -4019,7 +4005,7 @@ function im(e, t) {
4019
4005
  for (let o = i.length - 1; o >= 0; o--)
4020
4006
  r = uc.from(i[o].createAndFill(null, r));
4021
4007
  let a = e.state.tr.replace(n.pos, n.pos, new Sd(r, 0, 0));
4022
- return a.setSelection(Jt.near(a.doc.resolve(n.pos + 1))), e.dispatch(a), !1;
4008
+ return a.setSelection(en.near(a.doc.resolve(n.pos + 1))), e.dispatch(a), !1;
4023
4009
  }
4024
4010
  function rm(e) {
4025
4011
  if (!(e.selection instanceof Me))
@@ -4313,7 +4299,7 @@ function gm(e) {
4313
4299
  label: "Empty"
4314
4300
  }, [n]);
4315
4301
  return /* @__PURE__ */ be(kn, { children: [
4316
- /* @__PURE__ */ G(Fn, { asChild: !0, children: /* @__PURE__ */ be(
4302
+ /* @__PURE__ */ V(Fn, { asChild: !0, children: /* @__PURE__ */ be(
4317
4303
  _n,
4318
4304
  {
4319
4305
  className: "flex h-[32px] gap-1 px-1.5",
@@ -4323,11 +4309,11 @@ function gm(e) {
4323
4309
  " ",
4324
4310
  i == null ? void 0 : i.label
4325
4311
  ] }),
4326
- /* @__PURE__ */ G(ns, { className: "size-4" })
4312
+ /* @__PURE__ */ V(ns, { className: "size-4" })
4327
4313
  ]
4328
4314
  }
4329
4315
  ) }),
4330
- /* @__PURE__ */ G(
4316
+ /* @__PURE__ */ V(
4331
4317
  Sn,
4332
4318
  {
4333
4319
  align: "start",
@@ -4337,14 +4323,14 @@ function gm(e) {
4337
4323
  children: n.map((r, a) => {
4338
4324
  var s;
4339
4325
  const o = Xo[r.iconName];
4340
- return /* @__PURE__ */ G(
4326
+ return /* @__PURE__ */ V(
4341
4327
  Zn,
4342
4328
  {
4343
4329
  checked: ((s = r.isActive) == null ? void 0 : s.call(r)) || !1,
4344
4330
  className: "cursor-pointer",
4345
4331
  onClick: () => r.action(),
4346
4332
  children: /* @__PURE__ */ be("div", { className: "flex items-center gap-2 px-2", children: [
4347
- /* @__PURE__ */ G(o, { className: "h3 w-3" }),
4333
+ /* @__PURE__ */ V(o, { className: "h3 w-3" }),
4348
4334
  /* @__PURE__ */ be("span", { children: [
4349
4335
  " ",
4350
4336
  r.label
@@ -4553,33 +4539,33 @@ function bm(e) {
4553
4539
  };
4554
4540
  }, [e]);
4555
4541
  return /* @__PURE__ */ be(kn, { children: [
4556
- /* @__PURE__ */ G(
4542
+ /* @__PURE__ */ V(
4557
4543
  Fn,
4558
4544
  {
4559
4545
  asChild: !0,
4560
4546
  disabled: e == null ? void 0 : e.disabled,
4561
- children: /* @__PURE__ */ G(
4547
+ children: /* @__PURE__ */ V(
4562
4548
  Ce,
4563
4549
  {
4564
4550
  customClass: "!w-12 h-12",
4565
4551
  disabled: e == null ? void 0 : e.disabled,
4566
4552
  icon: e == null ? void 0 : e.icon,
4567
4553
  tooltip: e == null ? void 0 : e.tooltip,
4568
- children: /* @__PURE__ */ G(gf, { className: "size-3 text-gray-500" })
4554
+ children: /* @__PURE__ */ V(gf, { className: "size-3 text-gray-500" })
4569
4555
  }
4570
4556
  )
4571
4557
  }
4572
4558
  ),
4573
- /* @__PURE__ */ G(Sn, { className: "w-full", children: (n = e == null ? void 0 : e.items) == null ? void 0 : n.map((i, r) => /* @__PURE__ */ be(
4559
+ /* @__PURE__ */ V(Sn, { className: "w-full", children: (n = e == null ? void 0 : e.items) == null ? void 0 : n.map((i, r) => /* @__PURE__ */ be(
4574
4560
  Zn,
4575
4561
  {
4576
4562
  checked: t.title === i.title,
4577
4563
  className: "flex items-center gap-3",
4578
4564
  onClick: i.action,
4579
4565
  children: [
4580
- /* @__PURE__ */ G(st, { name: i == null ? void 0 : i.icon }),
4581
- /* @__PURE__ */ G("span", { className: "ml-1", children: i.title }),
4582
- !!(i != null && i.shortcutKeys) && /* @__PURE__ */ G("span", { className: "ml-auto text-xs tracking-widest opacity-60", children: $o(i.shortcutKeys) })
4566
+ /* @__PURE__ */ V(st, { name: i == null ? void 0 : i.icon }),
4567
+ /* @__PURE__ */ V("span", { className: "ml-1", children: i.title }),
4568
+ !!(i != null && i.shortcutKeys) && /* @__PURE__ */ V("span", { className: "ml-auto text-xs tracking-widest opacity-60", children: $o(i.shortcutKeys) })
4583
4569
  ]
4584
4570
  },
4585
4571
  `more-mark-${r}`
@@ -4718,19 +4704,19 @@ function Dm(e) {
4718
4704
  }), c;
4719
4705
  }, [e]);
4720
4706
  return /* @__PURE__ */ be(kn, { children: [
4721
- /* @__PURE__ */ G(
4707
+ /* @__PURE__ */ V(
4722
4708
  Fn,
4723
4709
  {
4724
4710
  asChild: !0,
4725
4711
  disabled: e == null ? void 0 : e.disabled,
4726
- children: /* @__PURE__ */ G(
4712
+ children: /* @__PURE__ */ V(
4727
4713
  Ce,
4728
4714
  {
4729
4715
  customClass: "!w-12 h-12",
4730
4716
  disabled: e == null ? void 0 : e.disabled,
4731
4717
  icon: "LineHeight",
4732
4718
  tooltip: e == null ? void 0 : e.tooltip,
4733
- children: /* @__PURE__ */ G(
4719
+ children: /* @__PURE__ */ V(
4734
4720
  st,
4735
4721
  {
4736
4722
  className: "ml-1 size-3 text-zinc-500",
@@ -4741,7 +4727,7 @@ function Dm(e) {
4741
4727
  )
4742
4728
  }
4743
4729
  ),
4744
- /* @__PURE__ */ G(Sn, { className: "min-w-24", children: a == null ? void 0 : a.map((o, s) => /* @__PURE__ */ G(
4730
+ /* @__PURE__ */ V(Sn, { className: "min-w-24", children: a == null ? void 0 : a.map((o, s) => /* @__PURE__ */ V(
4745
4731
  Zn,
4746
4732
  {
4747
4733
  checked: o.value === n,
@@ -4755,7 +4741,7 @@ function Dm(e) {
4755
4741
  const vm = ["paragraph", "heading", "list_item", "todo_item"];
4756
4742
  function xm(e, t) {
4757
4743
  const { selection: n, doc: i } = e;
4758
- if (!n || !i || !(n instanceof Jt || n instanceof pf))
4744
+ if (!n || !i || !(n instanceof en || n instanceof pf))
4759
4745
  return e;
4760
4746
  const { from: r, to: a } = n, o = [], s = t && t !== Wd ? t : null;
4761
4747
  if (i.nodesBetween(r, a, (c, u) => {
@@ -4952,7 +4938,7 @@ function ms({ pluginKey: e = Tm, editor: t, char: n = "@", allowSpaces: i = !1,
4952
4938
  }
4953
4939
  function Um(e, t) {
4954
4940
  var h, b;
4955
- const [n, i] = je(0), [r, a] = je(0), o = nn(null), { t: s } = kt(), c = nn([]);
4941
+ const [n, i] = je(0), [r, a] = je(0), o = qt(null), { t: s } = kt(), c = qt([]);
4956
4942
  ts(t, () => ({
4957
4943
  onKeyDown: u
4958
4944
  })), ot(() => {
@@ -4996,13 +4982,13 @@ function Um(e, t) {
4996
4982
  function m(p, v, w) {
4997
4983
  c.current[p * 1e3 + v] = w;
4998
4984
  }
4999
- return /* @__PURE__ */ G(
4985
+ return /* @__PURE__ */ V(
5000
4986
  "div",
5001
4987
  {
5002
4988
  className: "mb-8 max-h-[min(80vh,24rem)] flex-wrap overflow-auto rounded-lg !border !border-neutral-200 !bg-white p-1 !text-black shadow-sm dark:!border-neutral-800 dark:!bg-black",
5003
4989
  ref: o,
5004
- children: (h = e == null ? void 0 : e.items) != null && h.length ? /* @__PURE__ */ G("div", { className: "grid min-w-48 grid-cols-1 gap-0.5", children: (b = e == null ? void 0 : e.items) == null ? void 0 : b.map((p, v) => /* @__PURE__ */ be(Jo, { children: [
5005
- /* @__PURE__ */ G("div", { className: "col-[1/-1] mx-2 mt-2 select-none text-[0.65rem] font-semibold uppercase tracking-wider !text-neutral-500 first:mt-0.5", children: p.title }),
4990
+ children: (h = e == null ? void 0 : e.items) != null && h.length ? /* @__PURE__ */ V("div", { className: "grid min-w-48 grid-cols-1 gap-0.5", children: (b = e == null ? void 0 : e.items) == null ? void 0 : b.map((p, v) => /* @__PURE__ */ be(Jo, { children: [
4991
+ /* @__PURE__ */ V("div", { className: "col-[1/-1] mx-2 mt-2 select-none text-[0.65rem] font-semibold uppercase tracking-wider !text-neutral-500 first:mt-0.5", children: p.title }),
5006
4992
  p.commands.map((w, _) => /* @__PURE__ */ be(
5007
4993
  "button",
5008
4994
  {
@@ -5012,7 +4998,7 @@ function Um(e, t) {
5012
4998
  "slash-command-active": r === v && n === _
5013
4999
  }),
5014
5000
  children: [
5015
- w.iconUrl && /* @__PURE__ */ G(
5001
+ w.iconUrl && /* @__PURE__ */ V(
5016
5002
  "img",
5017
5003
  {
5018
5004
  alt: "",
@@ -5020,7 +5006,7 @@ function Um(e, t) {
5020
5006
  src: w.iconUrl
5021
5007
  }
5022
5008
  ),
5023
- w.iconName && /* @__PURE__ */ G(
5009
+ w.iconName && /* @__PURE__ */ V(
5024
5010
  st,
5025
5011
  {
5026
5012
  className: "!mr-1 !text-lg",
@@ -5032,7 +5018,7 @@ function Um(e, t) {
5032
5018
  },
5033
5019
  `command-${_}`
5034
5020
  ))
5035
- ] }, `slash-${p.title}`)) }) : /* @__PURE__ */ G("div", { className: "p-3", children: /* @__PURE__ */ G("span", { className: "text-xs text-gray-800 dark:text-gray-100", children: s("editor.slash.empty") }) })
5021
+ ] }, `slash-${p.title}`)) }) : /* @__PURE__ */ V("div", { className: "p-3", children: /* @__PURE__ */ V("span", { className: "text-xs text-gray-800 dark:text-gray-100", children: s("editor.slash.empty") }) })
5036
5022
  }
5037
5023
  );
5038
5024
  }
@@ -5404,18 +5390,18 @@ function km({ editor: e, ...t }) {
5404
5390
  onOpenChange: g,
5405
5391
  open: f,
5406
5392
  children: [
5407
- /* @__PURE__ */ G(
5393
+ /* @__PURE__ */ V(
5408
5394
  Si,
5409
5395
  {
5410
5396
  asChild: !0,
5411
5397
  disabled: t == null ? void 0 : t.disabled,
5412
- children: /* @__PURE__ */ G(
5398
+ children: /* @__PURE__ */ V(
5413
5399
  Ce,
5414
5400
  {
5415
5401
  disabled: t == null ? void 0 : t.disabled,
5416
5402
  isActive: t == null ? void 0 : t.isActive,
5417
5403
  tooltip: t == null ? void 0 : t.tooltip,
5418
- children: /* @__PURE__ */ G(st, { name: t == null ? void 0 : t.icon })
5404
+ children: /* @__PURE__ */ V(st, { name: t == null ? void 0 : t.icon })
5419
5405
  }
5420
5406
  )
5421
5407
  }
@@ -5429,11 +5415,11 @@ function km({ editor: e, ...t }) {
5429
5415
  side: "bottom",
5430
5416
  children: [
5431
5417
  /* @__PURE__ */ be("div", { className: "mb-[6px] flex items-center justify-between", children: [
5432
- /* @__PURE__ */ G(Na, { children: n("editor.search.dialog.text") }),
5433
- /* @__PURE__ */ G("span", { className: "font-semibold", children: a.length > 0 ? `${i + 1}/${a.length}` : "0/0" })
5418
+ /* @__PURE__ */ V(Na, { children: n("editor.search.dialog.text") }),
5419
+ /* @__PURE__ */ V("span", { className: "font-semibold", children: a.length > 0 ? `${i + 1}/${a.length}` : "0/0" })
5434
5420
  ] }),
5435
5421
  /* @__PURE__ */ be("div", { className: "mb-[10px] flex w-full max-w-sm items-center gap-1.5", children: [
5436
- /* @__PURE__ */ G(
5422
+ /* @__PURE__ */ V(
5437
5423
  hc,
5438
5424
  {
5439
5425
  autoFocus: !0,
@@ -5445,27 +5431,27 @@ function km({ editor: e, ...t }) {
5445
5431
  value: s
5446
5432
  }
5447
5433
  ),
5448
- /* @__PURE__ */ G(
5434
+ /* @__PURE__ */ V(
5449
5435
  _n,
5450
5436
  {
5451
5437
  className: "flex-1",
5452
5438
  disabled: a.length === 0,
5453
5439
  onClick: e.commands.goToPrevSearchResult,
5454
- children: /* @__PURE__ */ G(st, { name: "ChevronUp" })
5440
+ children: /* @__PURE__ */ V(st, { name: "ChevronUp" })
5455
5441
  }
5456
5442
  ),
5457
- /* @__PURE__ */ G(
5443
+ /* @__PURE__ */ V(
5458
5444
  _n,
5459
5445
  {
5460
5446
  className: "flex-1",
5461
5447
  disabled: a.length === 0,
5462
5448
  onClick: e.commands.goToNextSearchResult,
5463
- children: /* @__PURE__ */ G(st, { name: "ChevronDown" })
5449
+ children: /* @__PURE__ */ V(st, { name: "ChevronDown" })
5464
5450
  }
5465
5451
  )
5466
5452
  ] }),
5467
- /* @__PURE__ */ G(Na, { className: "mb-[6px]", children: n("editor.replace.dialog.text") }),
5468
- /* @__PURE__ */ G("div", { className: "mb-[5px] flex w-full max-w-sm items-center gap-1.5", children: /* @__PURE__ */ G("div", { className: "relative w-full max-w-sm items-center", children: /* @__PURE__ */ G(
5453
+ /* @__PURE__ */ V(Na, { className: "mb-[6px]", children: n("editor.replace.dialog.text") }),
5454
+ /* @__PURE__ */ V("div", { className: "mb-[5px] flex w-full max-w-sm items-center gap-1.5", children: /* @__PURE__ */ V("div", { className: "relative w-full max-w-sm items-center", children: /* @__PURE__ */ V(
5469
5455
  hc,
5470
5456
  {
5471
5457
  className: "w-80",
@@ -5477,7 +5463,7 @@ function km({ editor: e, ...t }) {
5477
5463
  }
5478
5464
  ) }) }),
5479
5465
  /* @__PURE__ */ be("div", { className: "mb-[10px] flex items-center space-x-2", children: [
5480
- /* @__PURE__ */ G(
5466
+ /* @__PURE__ */ V(
5481
5467
  vf,
5482
5468
  {
5483
5469
  checked: l,
@@ -5486,10 +5472,10 @@ function km({ editor: e, ...t }) {
5486
5472
  }
5487
5473
  }
5488
5474
  ),
5489
- /* @__PURE__ */ G(Na, { children: n("editor.replace.caseSensitive") })
5475
+ /* @__PURE__ */ V(Na, { children: n("editor.replace.caseSensitive") })
5490
5476
  ] }),
5491
5477
  /* @__PURE__ */ be("div", { className: "flex items-center gap-[10px]", children: [
5492
- /* @__PURE__ */ G(
5478
+ /* @__PURE__ */ V(
5493
5479
  _n,
5494
5480
  {
5495
5481
  className: "flex-1",
@@ -5498,7 +5484,7 @@ function km({ editor: e, ...t }) {
5498
5484
  children: n("editor.replace.dialog.text")
5499
5485
  }
5500
5486
  ),
5501
- /* @__PURE__ */ G(
5487
+ /* @__PURE__ */ V(
5502
5488
  _n,
5503
5489
  {
5504
5490
  className: "flex-1",
@@ -5709,7 +5695,7 @@ function Rm({
5709
5695
  className: e,
5710
5696
  ...t
5711
5697
  }) {
5712
- return /* @__PURE__ */ G(
5698
+ return /* @__PURE__ */ V(
5713
5699
  wn.Root,
5714
5700
  {
5715
5701
  className: nt(
@@ -5731,8 +5717,8 @@ function Wm({
5731
5717
  className: nt("flex h-9 items-center gap-2 border-b px-3", e),
5732
5718
  "data-slot": "emoji-picker-search-wrapper",
5733
5719
  children: [
5734
- /* @__PURE__ */ G(qf, { className: "size-4 shrink-0 opacity-50" }),
5735
- /* @__PURE__ */ G(
5720
+ /* @__PURE__ */ V(qf, { className: "size-4 shrink-0 opacity-50" }),
5721
+ /* @__PURE__ */ V(
5736
5722
  wn.Search,
5737
5723
  {
5738
5724
  className: "outline-hidden placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm disabled:cursor-not-allowed disabled:opacity-50",
@@ -5745,14 +5731,14 @@ function Wm({
5745
5731
  );
5746
5732
  }
5747
5733
  function Im({ children: e, ...t }) {
5748
- return /* @__PURE__ */ G("div", { ...t, className: "scroll-my-1 px-1", "data-slot": "emoji-picker-row", children: e });
5734
+ return /* @__PURE__ */ V("div", { ...t, className: "scroll-my-1 px-1", "data-slot": "emoji-picker-row", children: e });
5749
5735
  }
5750
5736
  function Om({
5751
5737
  emoji: e,
5752
5738
  className: t,
5753
5739
  ...n
5754
5740
  }) {
5755
- return /* @__PURE__ */ G(
5741
+ return /* @__PURE__ */ V(
5756
5742
  "button",
5757
5743
  {
5758
5744
  ...n,
@@ -5769,7 +5755,7 @@ function Mm({
5769
5755
  category: e,
5770
5756
  ...t
5771
5757
  }) {
5772
- return /* @__PURE__ */ G(
5758
+ return /* @__PURE__ */ V(
5773
5759
  "div",
5774
5760
  {
5775
5761
  ...t,
@@ -5790,15 +5776,15 @@ function Pm({
5790
5776
  "data-slot": "emoji-picker-viewport",
5791
5777
  ...t,
5792
5778
  children: [
5793
- /* @__PURE__ */ G(
5779
+ /* @__PURE__ */ V(
5794
5780
  wn.Loading,
5795
5781
  {
5796
5782
  className: "absolute inset-0 flex items-center justify-center text-muted-foreground",
5797
5783
  "data-slot": "emoji-picker-loading",
5798
- children: /* @__PURE__ */ G(zf, { className: "size-4 animate-spin" })
5784
+ children: /* @__PURE__ */ V(zf, { className: "size-4 animate-spin" })
5799
5785
  }
5800
5786
  ),
5801
- /* @__PURE__ */ G(
5787
+ /* @__PURE__ */ V(
5802
5788
  wn.Empty,
5803
5789
  {
5804
5790
  className: "absolute inset-0 flex items-center justify-center text-muted-foreground text-sm",
@@ -5806,7 +5792,7 @@ function Pm({
5806
5792
  children: "No emoji found."
5807
5793
  }
5808
5794
  ),
5809
- /* @__PURE__ */ G(
5795
+ /* @__PURE__ */ V(
5810
5796
  wn.List,
5811
5797
  {
5812
5798
  className: "select-none pb-1",
@@ -5826,7 +5812,7 @@ function qm({
5826
5812
  className: e,
5827
5813
  ...t
5828
5814
  }) {
5829
- return /* @__PURE__ */ G(
5815
+ return /* @__PURE__ */ V(
5830
5816
  "div",
5831
5817
  {
5832
5818
  className: nt(
@@ -5835,17 +5821,17 @@ function qm({
5835
5821
  ),
5836
5822
  "data-slot": "emoji-picker-footer",
5837
5823
  ...t,
5838
- children: /* @__PURE__ */ G(wn.ActiveEmoji, { children: ({ emoji: n }) => n ? /* @__PURE__ */ be(ca, { children: [
5839
- /* @__PURE__ */ G("div", { className: "flex size-7 flex-none items-center justify-center text-lg", children: n.emoji }),
5840
- /* @__PURE__ */ G("span", { className: "text-secondary-foreground truncate text-xs", children: n.label })
5841
- ] }) : /* @__PURE__ */ G("span", { className: "text-muted-foreground ml-1.5 flex h-7 items-center truncate text-xs", children: "Select an emoji…" }) })
5824
+ children: /* @__PURE__ */ V(wn.ActiveEmoji, { children: ({ emoji: n }) => n ? /* @__PURE__ */ be(ca, { children: [
5825
+ /* @__PURE__ */ V("div", { className: "flex size-7 flex-none items-center justify-center text-lg", children: n.emoji }),
5826
+ /* @__PURE__ */ V("span", { className: "text-secondary-foreground truncate text-xs", children: n.label })
5827
+ ] }) : /* @__PURE__ */ V("span", { className: "text-muted-foreground ml-1.5 flex h-7 items-center truncate text-xs", children: "Select an emoji…" }) })
5842
5828
  }
5843
5829
  );
5844
5830
  }
5845
5831
  function zm({ onSelectEmoji: e, children: t }) {
5846
5832
  return /* @__PURE__ */ be(Fi, { modal: !0, children: [
5847
- /* @__PURE__ */ G(Si, { asChild: !0, children: t }),
5848
- /* @__PURE__ */ G(
5833
+ /* @__PURE__ */ V(Si, { asChild: !0, children: t }),
5834
+ /* @__PURE__ */ V(
5849
5835
  Bi,
5850
5836
  {
5851
5837
  align: "start",
@@ -5860,9 +5846,9 @@ function zm({ onSelectEmoji: e, children: t }) {
5860
5846
  e(n);
5861
5847
  },
5862
5848
  children: [
5863
- /* @__PURE__ */ G(Wm, {}),
5864
- /* @__PURE__ */ G(Pm, {}),
5865
- /* @__PURE__ */ G(qm, {})
5849
+ /* @__PURE__ */ V(Wm, {}),
5850
+ /* @__PURE__ */ V(Pm, {}),
5851
+ /* @__PURE__ */ V(qm, {})
5866
5852
  ]
5867
5853
  }
5868
5854
  )
@@ -5871,14 +5857,14 @@ function zm({ onSelectEmoji: e, children: t }) {
5871
5857
  ] });
5872
5858
  }
5873
5859
  function Hm({ editor: e, icon: t, ...n }) {
5874
- const i = en(
5860
+ const i = tn(
5875
5861
  (r) => {
5876
5862
  const { selection: a } = e.state, { $anchor: o } = a;
5877
5863
  return e.chain().insertContentAt(o.pos, r).run();
5878
5864
  },
5879
5865
  [e]
5880
5866
  );
5881
- return /* @__PURE__ */ G(zm, { onSelectEmoji: i, children: /* @__PURE__ */ G(
5867
+ return /* @__PURE__ */ V(zm, { onSelectEmoji: i, children: /* @__PURE__ */ V(
5882
5868
  Ce,
5883
5869
  {
5884
5870
  icon: t,
@@ -5887,7 +5873,7 @@ function Hm({ editor: e, icon: t, ...n }) {
5887
5873
  ) });
5888
5874
  }
5889
5875
  const rl = es((e, t) => {
5890
- const n = nn(null), [i, r] = je(0), { t: a } = kt(), o = (d) => {
5876
+ const n = qt(null), [i, r] = je(0), { t: a } = kt(), o = (d) => {
5891
5877
  const f = e.items[d];
5892
5878
  f && e.command(f);
5893
5879
  }, s = () => {
@@ -5904,13 +5890,13 @@ const rl = es((e, t) => {
5904
5890
  d && rs(d, { behavior: "smooth", scrollMode: "if-needed" });
5905
5891
  }, [i]), ts(t, () => ({
5906
5892
  onKeyDown: ({ event: d }) => d.key === "ArrowUp" ? (s(), !0) : d.key === "ArrowDown" ? (c(), !0) : d.key === "Enter" ? (u(), !0) : !1
5907
- })), /* @__PURE__ */ G("div", { className: "max-h-[320px] w-[200px] overflow-y-auto overflow-x-hidden rounded-sm !border bg-popover p-1 text-popover-foreground shadow-md outline-none", children: /* @__PURE__ */ G("div", { ref: n, children: e.items.length > 0 ? e.items.map((d, f) => /* @__PURE__ */ be(
5893
+ })), /* @__PURE__ */ V("div", { className: "max-h-[320px] w-[200px] overflow-y-auto overflow-x-hidden rounded-sm !border bg-popover p-1 text-popover-foreground shadow-md outline-none", children: /* @__PURE__ */ V("div", { ref: n, children: e.items.length > 0 ? e.items.map((d, f) => /* @__PURE__ */ be(
5908
5894
  "span",
5909
5895
  {
5910
5896
  className: yt(" relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent focus:bg-accent focus:text-accent-foreground", f === i ? "bg-accent" : ""),
5911
5897
  onClick: () => o(f),
5912
5898
  children: [
5913
- d.fallbackImage ? /* @__PURE__ */ G(
5899
+ d.fallbackImage ? /* @__PURE__ */ V(
5914
5900
  "img",
5915
5901
  {
5916
5902
  className: "size-[1em]",
@@ -5923,7 +5909,7 @@ const rl = es((e, t) => {
5923
5909
  ]
5924
5910
  },
5925
5911
  `emoji-list-code-${f}`
5926
- )) : /* @__PURE__ */ G("div", { className: "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors", children: /* @__PURE__ */ G("span", { children: a("no_result_found") }) }) }) });
5912
+ )) : /* @__PURE__ */ V("div", { className: "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors", children: /* @__PURE__ */ V("span", { children: a("no_result_found") }) }) }) });
5927
5913
  });
5928
5914
  rl.displayName = "EmojiList";
5929
5915
  const $n = {
@@ -8575,7 +8561,7 @@ function vt(e, t, n) {
8575
8561
  }
8576
8562
  return e;
8577
8563
  }
8578
- function qt(e, t, n) {
8564
+ function zt(e, t, n) {
8579
8565
  t = rt(t, n);
8580
8566
  for (var i = !ct(e) && ze(e), r = (i || e).length, a = Array(r), o = 0; o < r; o++) {
8581
8567
  var s = i ? i[o] : o;
@@ -8628,7 +8614,7 @@ function ft(e, t, n, i) {
8628
8614
  }
8629
8615
  const uh = Je(function(e, t, n) {
8630
8616
  var i, r;
8631
- return Ge(t) ? r = t : (t = Ni(t), i = t.slice(0, -1), t = t[t.length - 1]), qt(e, function(a) {
8617
+ return Ge(t) ? r = t : (t = Ni(t), i = t.slice(0, -1), t = t[t.length - 1]), zt(e, function(a) {
8632
8618
  var o = r;
8633
8619
  if (!o) {
8634
8620
  if (i && i.length && (a = Is(a, i)), a == null) return;
@@ -8638,7 +8624,7 @@ const uh = Je(function(e, t, n) {
8638
8624
  });
8639
8625
  });
8640
8626
  function ba(e, t) {
8641
- return qt(e, fa(t));
8627
+ return zt(e, fa(t));
8642
8628
  }
8643
8629
  function dh(e, t) {
8644
8630
  return rn(e, Cn(t));
@@ -8669,7 +8655,7 @@ function lh(e, t, n) {
8669
8655
  }
8670
8656
  var D2 = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;
8671
8657
  function Ks(e) {
8672
- return e ? on(e) ? Li.call(e) : la(e) ? e.match(D2) : ct(e) ? qt(e, ha) : Ln(e) : [];
8658
+ return e ? on(e) ? Li.call(e) : la(e) ? e.match(D2) : ct(e) ? zt(e, ha) : Ln(e) : [];
8673
8659
  }
8674
8660
  function Gs(e, t, n) {
8675
8661
  if (t == null || n)
@@ -8687,7 +8673,7 @@ function hh(e) {
8687
8673
  }
8688
8674
  function fh(e, t, n) {
8689
8675
  var i = 0;
8690
- return t = rt(t, n), ba(qt(e, function(r, a, o) {
8676
+ return t = rt(t, n), ba(zt(e, function(r, a, o) {
8691
8677
  return {
8692
8678
  value: r,
8693
8679
  index: i++,
@@ -8737,7 +8723,7 @@ const Zs = Je(function(e, t) {
8737
8723
  return n;
8738
8724
  }), Dh = Je(function(e, t) {
8739
8725
  var n = t[0], i;
8740
- return Ge(n) ? (n = pa(n), t.length > 1 && (i = t[1])) : (t = qt(Rn(t, !1, !1), String), n = function(r, a) {
8726
+ return Ge(n) ? (n = pa(n), t.length > 1 && (i = t[1])) : (t = zt(Rn(t, !1, !1), String), n = function(r, a) {
8741
8727
  return !ft(t, a);
8742
8728
  }), Zs(e, n, i);
8743
8729
  });
@@ -8852,7 +8838,7 @@ const x2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8852
8838
  chain: $l,
8853
8839
  chunk: kh,
8854
8840
  clone: Sl,
8855
- collect: qt,
8841
+ collect: zt,
8856
8842
  compact: xh,
8857
8843
  compose: eh,
8858
8844
  constant: Es,
@@ -8928,7 +8914,7 @@ const x2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8928
8914
  keys: ze,
8929
8915
  last: vh,
8930
8916
  lastIndexOf: ah,
8931
- map: qt,
8917
+ map: zt,
8932
8918
  mapObject: Rl,
8933
8919
  matcher: Cn,
8934
8920
  matches: Cn,
@@ -9003,7 +8989,7 @@ const _2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9003
8989
  chain: $l,
9004
8990
  chunk: kh,
9005
8991
  clone: Sl,
9006
- collect: qt,
8992
+ collect: zt,
9007
8993
  compact: xh,
9008
8994
  compose: eh,
9009
8995
  constant: Es,
@@ -9079,7 +9065,7 @@ const _2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9079
9065
  keys: ze,
9080
9066
  last: vh,
9081
9067
  lastIndexOf: ah,
9082
- map: qt,
9068
+ map: zt,
9083
9069
  mapObject: Rl,
9084
9070
  matcher: Cn,
9085
9071
  matches: Cn,
@@ -9205,7 +9191,7 @@ var ni, Pc;
9205
9191
  function Ft() {
9206
9192
  if (Pc) return ni;
9207
9193
  Pc = 1;
9208
- var e = /* @__PURE__ */ Wi(), t = typeof navigator > "u", n = { e: {} }, i, r = typeof self < "u" ? self : typeof window < "u" ? window : typeof Qt < "u" ? Qt : ni !== void 0 ? ni : null;
9194
+ var e = /* @__PURE__ */ Wi(), t = typeof navigator > "u", n = { e: {} }, i, r = typeof self < "u" ? self : typeof window < "u" ? window : typeof Jt < "u" ? Jt : ni !== void 0 ? ni : null;
9209
9195
  function a() {
9210
9196
  try {
9211
9197
  var R = i;
@@ -9473,9 +9459,9 @@ function w2() {
9473
9459
  `);
9474
9460
  }, i = e.getNativePromise();
9475
9461
  if (e.isNode && typeof MutationObserver > "u") {
9476
- var r = Qt.setImmediate, a = process.nextTick;
9462
+ var r = Jt.setImmediate, a = process.nextTick;
9477
9463
  t = e.isRecentNode ? function(s) {
9478
- r.call(Qt, s);
9464
+ r.call(Jt, s);
9479
9465
  } : function(s) {
9480
9466
  a.call(process, s);
9481
9467
  };
@@ -9960,24 +9946,24 @@ function k2() {
9960
9946
  var w = function() {
9961
9947
  };
9962
9948
  e.longStackTraces = function() {
9963
- if (i.haveItemsQueued() && !K.longStackTraces)
9949
+ if (i.haveItemsQueued() && !G.longStackTraces)
9964
9950
  throw new Error(`cannot enable long stack traces after promises have been created
9965
9951
 
9966
9952
  See http://goo.gl/MqrFmX
9967
9953
  `);
9968
- if (!K.longStackTraces && V()) {
9954
+ if (!G.longStackTraces && K()) {
9969
9955
  var I = e.prototype._captureStackTrace, H = e.prototype._attachExtraTrace;
9970
- K.longStackTraces = !0, w = function() {
9971
- if (i.haveItemsQueued() && !K.longStackTraces)
9956
+ G.longStackTraces = !0, w = function() {
9957
+ if (i.haveItemsQueued() && !G.longStackTraces)
9972
9958
  throw new Error(`cannot enable long stack traces after promises have been created
9973
9959
 
9974
9960
  See http://goo.gl/MqrFmX
9975
9961
  `);
9976
- e.prototype._captureStackTrace = I, e.prototype._attachExtraTrace = H, t.deactivateLongStackTraces(), i.enableTrampoline(), K.longStackTraces = !1;
9962
+ e.prototype._captureStackTrace = I, e.prototype._attachExtraTrace = H, t.deactivateLongStackTraces(), i.enableTrampoline(), G.longStackTraces = !1;
9977
9963
  }, e.prototype._captureStackTrace = ie, e.prototype._attachExtraTrace = M, t.activateLongStackTraces(), i.disableTrampolineIfNecessary();
9978
9964
  }
9979
9965
  }, e.hasLongStackTraces = function() {
9980
- return K.longStackTraces && V();
9966
+ return G.longStackTraces && K();
9981
9967
  };
9982
9968
  var _ = function() {
9983
9969
  try {
@@ -10065,16 +10051,16 @@ function k2() {
10065
10051
  e.config = function(I) {
10066
10052
  if (I = Object(I), "longStackTraces" in I && (I.longStackTraces ? e.longStackTraces() : !I.longStackTraces && e.hasLongStackTraces() && w()), "warnings" in I) {
10067
10053
  var H = I.warnings;
10068
- K.warnings = !!H, v = K.warnings, a.isObject(H) && "wForgottenReturn" in H && (v = !!H.wForgottenReturn);
10054
+ G.warnings = !!H, v = G.warnings, a.isObject(H) && "wForgottenReturn" in H && (v = !!H.wForgottenReturn);
10069
10055
  }
10070
- if ("cancellation" in I && I.cancellation && !K.cancellation) {
10056
+ if ("cancellation" in I && I.cancellation && !G.cancellation) {
10071
10057
  if (i.haveItemsQueued())
10072
10058
  throw new Error(
10073
10059
  "cannot enable cancellation after promises are in use"
10074
10060
  );
10075
- e.prototype._clearCancellationData = C, e.prototype._propagateFrom = j, e.prototype._onCancel = P, e.prototype._setOnCancel = x, e.prototype._attachCancellationCallback = k, e.prototype._execute = B, Q = j, K.cancellation = !0;
10061
+ e.prototype._clearCancellationData = C, e.prototype._propagateFrom = j, e.prototype._onCancel = P, e.prototype._setOnCancel = x, e.prototype._attachCancellationCallback = k, e.prototype._execute = B, Q = j, G.cancellation = !0;
10076
10062
  }
10077
- return "monitoring" in I && (I.monitoring && !K.monitoring ? (K.monitoring = !0, e.prototype._fireEvent = E) : !I.monitoring && K.monitoring && (K.monitoring = !1, e.prototype._fireEvent = W)), e;
10063
+ return "monitoring" in I && (I.monitoring && !G.monitoring ? (G.monitoring = !0, e.prototype._fireEvent = E) : !I.monitoring && G.monitoring && (G.monitoring = !1, e.prototype._fireEvent = W)), e;
10078
10064
  };
10079
10065
  function W() {
10080
10066
  return !1;
@@ -10188,11 +10174,11 @@ function k2() {
10188
10174
  return H && (Y += " Use " + H + " instead."), oe(Y);
10189
10175
  }
10190
10176
  function oe(I, H, Y) {
10191
- if (K.warnings) {
10177
+ if (G.warnings) {
10192
10178
  var te = new r(I), de;
10193
10179
  if (H)
10194
10180
  Y._attachExtraTrace(te);
10195
- else if (K.longStackTraces && (de = e._peekContext()))
10181
+ else if (G.longStackTraces && (de = e._peekContext()))
10196
10182
  de.attachExtraTrace(te);
10197
10183
  else {
10198
10184
  var ge = ye(te);
@@ -10297,7 +10283,7 @@ function k2() {
10297
10283
  var H = 41;
10298
10284
  return I.length < H ? I : I.substr(0, H - 3) + "...";
10299
10285
  }
10300
- function V() {
10286
+ function K() {
10301
10287
  return typeof ee == "function";
10302
10288
  }
10303
10289
  var X = function() {
@@ -10312,7 +10298,7 @@ function k2() {
10312
10298
  };
10313
10299
  }
10314
10300
  function z(I, H) {
10315
- if (V()) {
10301
+ if (K()) {
10316
10302
  for (var Y = I.stack.split(`
10317
10303
  `), te = H.stack.split(`
10318
10304
  `), de = -1, ge = -1, we, De, Z = 0; Z < Y.length; ++Z) {
@@ -10421,7 +10407,7 @@ function k2() {
10421
10407
  H ? "color: darkorange" : "color: red"
10422
10408
  );
10423
10409
  }));
10424
- var K = {
10410
+ var G = {
10425
10411
  warnings: b,
10426
10412
  longStackTraces: !1,
10427
10413
  cancellation: !1,
@@ -10429,16 +10415,16 @@ function k2() {
10429
10415
  };
10430
10416
  return p && e.longStackTraces(), {
10431
10417
  longStackTraces: function() {
10432
- return K.longStackTraces;
10418
+ return G.longStackTraces;
10433
10419
  },
10434
10420
  warnings: function() {
10435
- return K.warnings;
10421
+ return G.warnings;
10436
10422
  },
10437
10423
  cancellation: function() {
10438
- return K.cancellation;
10424
+ return G.cancellation;
10439
10425
  },
10440
10426
  monitoring: function() {
10441
- return K.monitoring;
10427
+ return G.monitoring;
10442
10428
  },
10443
10429
  propagateFromFunction: function() {
10444
10430
  return Q;
@@ -11165,7 +11151,7 @@ function Wn() {
11165
11151
  return ke.document = ke.Document = n, ke.paragraph = ke.Paragraph = i, ke.run = ke.Run = r, ke.text = ke.Text = o, ke.tab = ke.Tab = s, ke.checkbox = ke.Checkbox = c, ke.Hyperlink = u, ke.noteReference = ke.NoteReference = d, ke.Notes = f, ke.Note = g, ke.commentReference = l, ke.comment = D, ke.Image = h, ke.Table = b, ke.TableRow = p, ke.TableCell = v, ke.lineBreak = w("line"), ke.pageBreak = w("page"), ke.columnBreak = w("column"), ke.BookmarkStart = _, ke.verticalAlignment = a, ke;
11166
11152
  }
11167
11153
  var On = {}, tu;
11168
- function zt() {
11154
+ function Ht() {
11169
11155
  if (tu) return On;
11170
11156
  tu = 1;
11171
11157
  var e = qe;
@@ -12339,7 +12325,7 @@ function R2() {
12339
12325
  i.exports = function(m) {
12340
12326
  l.push(m) !== 1 || s || o();
12341
12327
  };
12342
- }).call(this, typeof Qt < "u" ? Qt : typeof self < "u" ? self : typeof window < "u" ? window : {});
12328
+ }).call(this, typeof Jt < "u" ? Jt : typeof self < "u" ? self : typeof window < "u" ? window : {});
12343
12329
  }, {}], 37: [function(n, i, r) {
12344
12330
  var a = n("immediate");
12345
12331
  function o() {
@@ -12635,61 +12621,61 @@ function R2() {
12635
12621
  };
12636
12622
  }, {}], 46: [function(n, i, r) {
12637
12623
  var a, o = n("../utils/common"), s = n("./trees"), c = n("./adler32"), u = n("./crc32"), d = n("./messages"), f = 0, g = 4, l = 0, D = -2, m = -1, h = 4, b = 2, p = 8, v = 9, w = 286, _ = 30, T = 19, U = 2 * w + 1, L = 15, E = 3, W = 258, B = W + E + 1, k = 42, P = 113, x = 1, C = 2, j = 3, O = 4;
12638
- function Q(y, V) {
12639
- return y.msg = d[V], V;
12624
+ function Q(y, K) {
12625
+ return y.msg = d[K], K;
12640
12626
  }
12641
12627
  function $(y) {
12642
12628
  return (y << 1) - (4 < y ? 9 : 0);
12643
12629
  }
12644
12630
  function ie(y) {
12645
- for (var V = y.length; 0 <= --V; ) y[V] = 0;
12631
+ for (var K = y.length; 0 <= --K; ) y[K] = 0;
12646
12632
  }
12647
12633
  function M(y) {
12648
- var V = y.state, X = V.pending;
12649
- X > y.avail_out && (X = y.avail_out), X !== 0 && (o.arraySet(y.output, V.pending_buf, V.pending_out, X, y.next_out), y.next_out += X, V.pending_out += X, y.total_out += X, y.avail_out -= X, V.pending -= X, V.pending === 0 && (V.pending_out = 0));
12634
+ var K = y.state, X = K.pending;
12635
+ X > y.avail_out && (X = y.avail_out), X !== 0 && (o.arraySet(y.output, K.pending_buf, K.pending_out, X, y.next_out), y.next_out += X, K.pending_out += X, y.total_out += X, y.avail_out -= X, K.pending -= X, K.pending === 0 && (K.pending_out = 0));
12650
12636
  }
12651
- function R(y, V) {
12652
- s._tr_flush_block(y, 0 <= y.block_start ? y.block_start : -1, y.strstart - y.block_start, V), y.block_start = y.strstart, M(y.strm);
12637
+ function R(y, K) {
12638
+ s._tr_flush_block(y, 0 <= y.block_start ? y.block_start : -1, y.strstart - y.block_start, K), y.block_start = y.strstart, M(y.strm);
12653
12639
  }
12654
- function ae(y, V) {
12655
- y.pending_buf[y.pending++] = V;
12640
+ function ae(y, K) {
12641
+ y.pending_buf[y.pending++] = K;
12656
12642
  }
12657
- function oe(y, V) {
12658
- y.pending_buf[y.pending++] = V >>> 8 & 255, y.pending_buf[y.pending++] = 255 & V;
12643
+ function oe(y, K) {
12644
+ y.pending_buf[y.pending++] = K >>> 8 & 255, y.pending_buf[y.pending++] = 255 & K;
12659
12645
  }
12660
- function ne(y, V) {
12661
- var X, N, S = y.max_chain_length, z = y.strstart, re = y.prev_length, ee = y.nice_match, K = y.strstart > y.w_size - B ? y.strstart - (y.w_size - B) : 0, I = y.window, H = y.w_mask, Y = y.prev, te = y.strstart + W, de = I[z + re - 1], ge = I[z + re];
12646
+ function ne(y, K) {
12647
+ var X, N, S = y.max_chain_length, z = y.strstart, re = y.prev_length, ee = y.nice_match, G = y.strstart > y.w_size - B ? y.strstart - (y.w_size - B) : 0, I = y.window, H = y.w_mask, Y = y.prev, te = y.strstart + W, de = I[z + re - 1], ge = I[z + re];
12662
12648
  y.prev_length >= y.good_match && (S >>= 2), ee > y.lookahead && (ee = y.lookahead);
12663
12649
  do
12664
- if (I[(X = V) + re] === ge && I[X + re - 1] === de && I[X] === I[z] && I[++X] === I[z + 1]) {
12650
+ if (I[(X = K) + re] === ge && I[X + re - 1] === de && I[X] === I[z] && I[++X] === I[z + 1]) {
12665
12651
  z += 2, X++;
12666
12652
  do
12667
12653
  ;
12668
12654
  while (I[++z] === I[++X] && I[++z] === I[++X] && I[++z] === I[++X] && I[++z] === I[++X] && I[++z] === I[++X] && I[++z] === I[++X] && I[++z] === I[++X] && I[++z] === I[++X] && z < te);
12669
12655
  if (N = W - (te - z), z = te - W, re < N) {
12670
- if (y.match_start = V, ee <= (re = N)) break;
12656
+ if (y.match_start = K, ee <= (re = N)) break;
12671
12657
  de = I[z + re - 1], ge = I[z + re];
12672
12658
  }
12673
12659
  }
12674
- while ((V = Y[V & H]) > K && --S != 0);
12660
+ while ((K = Y[K & H]) > G && --S != 0);
12675
12661
  return re <= y.lookahead ? re : y.lookahead;
12676
12662
  }
12677
12663
  function le(y) {
12678
- var V, X, N, S, z, re, ee, K, I, H, Y = y.w_size;
12664
+ var K, X, N, S, z, re, ee, G, I, H, Y = y.w_size;
12679
12665
  do {
12680
12666
  if (S = y.window_size - y.lookahead - y.strstart, y.strstart >= Y + (Y - B)) {
12681
- for (o.arraySet(y.window, y.window, Y, Y, 0), y.match_start -= Y, y.strstart -= Y, y.block_start -= Y, V = X = y.hash_size; N = y.head[--V], y.head[V] = Y <= N ? N - Y : 0, --X; ) ;
12682
- for (V = X = Y; N = y.prev[--V], y.prev[V] = Y <= N ? N - Y : 0, --X; ) ;
12667
+ for (o.arraySet(y.window, y.window, Y, Y, 0), y.match_start -= Y, y.strstart -= Y, y.block_start -= Y, K = X = y.hash_size; N = y.head[--K], y.head[K] = Y <= N ? N - Y : 0, --X; ) ;
12668
+ for (K = X = Y; N = y.prev[--K], y.prev[K] = Y <= N ? N - Y : 0, --X; ) ;
12683
12669
  S += Y;
12684
12670
  }
12685
12671
  if (y.strm.avail_in === 0) break;
12686
- if (re = y.strm, ee = y.window, K = y.strstart + y.lookahead, I = S, H = void 0, H = re.avail_in, I < H && (H = I), X = H === 0 ? 0 : (re.avail_in -= H, o.arraySet(ee, re.input, re.next_in, H, K), re.state.wrap === 1 ? re.adler = c(re.adler, ee, H, K) : re.state.wrap === 2 && (re.adler = u(re.adler, ee, H, K)), re.next_in += H, re.total_in += H, H), y.lookahead += X, y.lookahead + y.insert >= E) for (z = y.strstart - y.insert, y.ins_h = y.window[z], y.ins_h = (y.ins_h << y.hash_shift ^ y.window[z + 1]) & y.hash_mask; y.insert && (y.ins_h = (y.ins_h << y.hash_shift ^ y.window[z + E - 1]) & y.hash_mask, y.prev[z & y.w_mask] = y.head[y.ins_h], y.head[y.ins_h] = z, z++, y.insert--, !(y.lookahead + y.insert < E)); ) ;
12672
+ if (re = y.strm, ee = y.window, G = y.strstart + y.lookahead, I = S, H = void 0, H = re.avail_in, I < H && (H = I), X = H === 0 ? 0 : (re.avail_in -= H, o.arraySet(ee, re.input, re.next_in, H, G), re.state.wrap === 1 ? re.adler = c(re.adler, ee, H, G) : re.state.wrap === 2 && (re.adler = u(re.adler, ee, H, G)), re.next_in += H, re.total_in += H, H), y.lookahead += X, y.lookahead + y.insert >= E) for (z = y.strstart - y.insert, y.ins_h = y.window[z], y.ins_h = (y.ins_h << y.hash_shift ^ y.window[z + 1]) & y.hash_mask; y.insert && (y.ins_h = (y.ins_h << y.hash_shift ^ y.window[z + E - 1]) & y.hash_mask, y.prev[z & y.w_mask] = y.head[y.ins_h], y.head[y.ins_h] = z, z++, y.insert--, !(y.lookahead + y.insert < E)); ) ;
12687
12673
  } while (y.lookahead < B && y.strm.avail_in !== 0);
12688
12674
  }
12689
- function xe(y, V) {
12675
+ function xe(y, K) {
12690
12676
  for (var X, N; ; ) {
12691
12677
  if (y.lookahead < B) {
12692
- if (le(y), y.lookahead < B && V === f) return x;
12678
+ if (le(y), y.lookahead < B && K === f) return x;
12693
12679
  if (y.lookahead === 0) break;
12694
12680
  }
12695
12681
  if (X = 0, y.lookahead >= E && (y.ins_h = (y.ins_h << y.hash_shift ^ y.window[y.strstart + E - 1]) & y.hash_mask, X = y.prev[y.strstart & y.w_mask] = y.head[y.ins_h], y.head[y.ins_h] = y.strstart), X !== 0 && y.strstart - X <= y.w_size - B && (y.match_length = ne(y, X)), y.match_length >= E) if (N = s._tr_tally(y, y.strstart - y.match_start, y.match_length - E), y.lookahead -= y.match_length, y.match_length <= y.max_lazy_match && y.lookahead >= E) {
@@ -12699,12 +12685,12 @@ function R2() {
12699
12685
  else N = s._tr_tally(y, 0, y.window[y.strstart]), y.lookahead--, y.strstart++;
12700
12686
  if (N && (R(y, !1), y.strm.avail_out === 0)) return x;
12701
12687
  }
12702
- return y.insert = y.strstart < E - 1 ? y.strstart : E - 1, V === g ? (R(y, !0), y.strm.avail_out === 0 ? j : O) : y.last_lit && (R(y, !1), y.strm.avail_out === 0) ? x : C;
12688
+ return y.insert = y.strstart < E - 1 ? y.strstart : E - 1, K === g ? (R(y, !0), y.strm.avail_out === 0 ? j : O) : y.last_lit && (R(y, !1), y.strm.avail_out === 0) ? x : C;
12703
12689
  }
12704
- function fe(y, V) {
12690
+ function fe(y, K) {
12705
12691
  for (var X, N, S; ; ) {
12706
12692
  if (y.lookahead < B) {
12707
- if (le(y), y.lookahead < B && V === f) return x;
12693
+ if (le(y), y.lookahead < B && K === f) return x;
12708
12694
  if (y.lookahead === 0) break;
12709
12695
  }
12710
12696
  if (X = 0, y.lookahead >= E && (y.ins_h = (y.ins_h << y.hash_shift ^ y.window[y.strstart + E - 1]) & y.hash_mask, X = y.prev[y.strstart & y.w_mask] = y.head[y.ins_h], y.head[y.ins_h] = y.strstart), y.prev_length = y.match_length, y.prev_match = y.match_start, y.match_length = E - 1, X !== 0 && y.prev_length < y.max_lazy_match && y.strstart - X <= y.w_size - B && (y.match_length = ne(y, X), y.match_length <= 5 && (y.strategy === 1 || y.match_length === E && 4096 < y.strstart - y.match_start) && (y.match_length = E - 1)), y.prev_length >= E && y.match_length <= y.prev_length) {
@@ -12714,53 +12700,53 @@ function R2() {
12714
12700
  if ((N = s._tr_tally(y, 0, y.window[y.strstart - 1])) && R(y, !1), y.strstart++, y.lookahead--, y.strm.avail_out === 0) return x;
12715
12701
  } else y.match_available = 1, y.strstart++, y.lookahead--;
12716
12702
  }
12717
- return y.match_available && (N = s._tr_tally(y, 0, y.window[y.strstart - 1]), y.match_available = 0), y.insert = y.strstart < E - 1 ? y.strstart : E - 1, V === g ? (R(y, !0), y.strm.avail_out === 0 ? j : O) : y.last_lit && (R(y, !1), y.strm.avail_out === 0) ? x : C;
12703
+ return y.match_available && (N = s._tr_tally(y, 0, y.window[y.strstart - 1]), y.match_available = 0), y.insert = y.strstart < E - 1 ? y.strstart : E - 1, K === g ? (R(y, !0), y.strm.avail_out === 0 ? j : O) : y.last_lit && (R(y, !1), y.strm.avail_out === 0) ? x : C;
12718
12704
  }
12719
- function me(y, V, X, N, S) {
12720
- this.good_length = y, this.max_lazy = V, this.nice_length = X, this.max_chain = N, this.func = S;
12705
+ function me(y, K, X, N, S) {
12706
+ this.good_length = y, this.max_lazy = K, this.nice_length = X, this.max_chain = N, this.func = S;
12721
12707
  }
12722
12708
  function ye() {
12723
12709
  this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = p, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new o.Buf16(2 * U), this.dyn_dtree = new o.Buf16(2 * (2 * _ + 1)), this.bl_tree = new o.Buf16(2 * (2 * T + 1)), ie(this.dyn_ltree), ie(this.dyn_dtree), ie(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new o.Buf16(L + 1), this.heap = new o.Buf16(2 * w + 1), ie(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new o.Buf16(2 * w + 1), ie(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
12724
12710
  }
12725
12711
  function ve(y) {
12726
- var V;
12727
- return y && y.state ? (y.total_in = y.total_out = 0, y.data_type = b, (V = y.state).pending = 0, V.pending_out = 0, V.wrap < 0 && (V.wrap = -V.wrap), V.status = V.wrap ? k : P, y.adler = V.wrap === 2 ? 0 : 1, V.last_flush = f, s._tr_init(V), l) : Q(y, D);
12712
+ var K;
12713
+ return y && y.state ? (y.total_in = y.total_out = 0, y.data_type = b, (K = y.state).pending = 0, K.pending_out = 0, K.wrap < 0 && (K.wrap = -K.wrap), K.status = K.wrap ? k : P, y.adler = K.wrap === 2 ? 0 : 1, K.last_flush = f, s._tr_init(K), l) : Q(y, D);
12728
12714
  }
12729
12715
  function Ae(y) {
12730
- var V = ve(y);
12731
- return V === l && function(X) {
12716
+ var K = ve(y);
12717
+ return K === l && function(X) {
12732
12718
  X.window_size = 2 * X.w_size, ie(X.head), X.max_lazy_match = a[X.level].max_lazy, X.good_match = a[X.level].good_length, X.nice_match = a[X.level].nice_length, X.max_chain_length = a[X.level].max_chain, X.strstart = 0, X.block_start = 0, X.lookahead = 0, X.insert = 0, X.match_length = X.prev_length = E - 1, X.match_available = 0, X.ins_h = 0;
12733
- }(y.state), V;
12719
+ }(y.state), K;
12734
12720
  }
12735
- function Be(y, V, X, N, S, z) {
12721
+ function Be(y, K, X, N, S, z) {
12736
12722
  if (!y) return D;
12737
12723
  var re = 1;
12738
- if (V === m && (V = 6), N < 0 ? (re = 0, N = -N) : 15 < N && (re = 2, N -= 16), S < 1 || v < S || X !== p || N < 8 || 15 < N || V < 0 || 9 < V || z < 0 || h < z) return Q(y, D);
12724
+ if (K === m && (K = 6), N < 0 ? (re = 0, N = -N) : 15 < N && (re = 2, N -= 16), S < 1 || v < S || X !== p || N < 8 || 15 < N || K < 0 || 9 < K || z < 0 || h < z) return Q(y, D);
12739
12725
  N === 8 && (N = 9);
12740
12726
  var ee = new ye();
12741
- return (y.state = ee).strm = y, ee.wrap = re, ee.gzhead = null, ee.w_bits = N, ee.w_size = 1 << ee.w_bits, ee.w_mask = ee.w_size - 1, ee.hash_bits = S + 7, ee.hash_size = 1 << ee.hash_bits, ee.hash_mask = ee.hash_size - 1, ee.hash_shift = ~~((ee.hash_bits + E - 1) / E), ee.window = new o.Buf8(2 * ee.w_size), ee.head = new o.Buf16(ee.hash_size), ee.prev = new o.Buf16(ee.w_size), ee.lit_bufsize = 1 << S + 6, ee.pending_buf_size = 4 * ee.lit_bufsize, ee.pending_buf = new o.Buf8(ee.pending_buf_size), ee.d_buf = 1 * ee.lit_bufsize, ee.l_buf = 3 * ee.lit_bufsize, ee.level = V, ee.strategy = z, ee.method = X, Ae(y);
12727
+ return (y.state = ee).strm = y, ee.wrap = re, ee.gzhead = null, ee.w_bits = N, ee.w_size = 1 << ee.w_bits, ee.w_mask = ee.w_size - 1, ee.hash_bits = S + 7, ee.hash_size = 1 << ee.hash_bits, ee.hash_mask = ee.hash_size - 1, ee.hash_shift = ~~((ee.hash_bits + E - 1) / E), ee.window = new o.Buf8(2 * ee.w_size), ee.head = new o.Buf16(ee.hash_size), ee.prev = new o.Buf16(ee.w_size), ee.lit_bufsize = 1 << S + 6, ee.pending_buf_size = 4 * ee.lit_bufsize, ee.pending_buf = new o.Buf8(ee.pending_buf_size), ee.d_buf = 1 * ee.lit_bufsize, ee.l_buf = 3 * ee.lit_bufsize, ee.level = K, ee.strategy = z, ee.method = X, Ae(y);
12742
12728
  }
12743
- a = [new me(0, 0, 0, 0, function(y, V) {
12729
+ a = [new me(0, 0, 0, 0, function(y, K) {
12744
12730
  var X = 65535;
12745
12731
  for (X > y.pending_buf_size - 5 && (X = y.pending_buf_size - 5); ; ) {
12746
12732
  if (y.lookahead <= 1) {
12747
- if (le(y), y.lookahead === 0 && V === f) return x;
12733
+ if (le(y), y.lookahead === 0 && K === f) return x;
12748
12734
  if (y.lookahead === 0) break;
12749
12735
  }
12750
12736
  y.strstart += y.lookahead, y.lookahead = 0;
12751
12737
  var N = y.block_start + X;
12752
12738
  if ((y.strstart === 0 || y.strstart >= N) && (y.lookahead = y.strstart - N, y.strstart = N, R(y, !1), y.strm.avail_out === 0) || y.strstart - y.block_start >= y.w_size - B && (R(y, !1), y.strm.avail_out === 0)) return x;
12753
12739
  }
12754
- return y.insert = 0, V === g ? (R(y, !0), y.strm.avail_out === 0 ? j : O) : (y.strstart > y.block_start && (R(y, !1), y.strm.avail_out), x);
12755
- }), new me(4, 4, 8, 4, xe), new me(4, 5, 16, 8, xe), new me(4, 6, 32, 32, xe), new me(4, 4, 16, 16, fe), new me(8, 16, 32, 32, fe), new me(8, 16, 128, 128, fe), new me(8, 32, 128, 256, fe), new me(32, 128, 258, 1024, fe), new me(32, 258, 258, 4096, fe)], r.deflateInit = function(y, V) {
12756
- return Be(y, V, p, 15, 8, 0);
12757
- }, r.deflateInit2 = Be, r.deflateReset = Ae, r.deflateResetKeep = ve, r.deflateSetHeader = function(y, V) {
12758
- return y && y.state ? y.state.wrap !== 2 ? D : (y.state.gzhead = V, l) : D;
12759
- }, r.deflate = function(y, V) {
12740
+ return y.insert = 0, K === g ? (R(y, !0), y.strm.avail_out === 0 ? j : O) : (y.strstart > y.block_start && (R(y, !1), y.strm.avail_out), x);
12741
+ }), new me(4, 4, 8, 4, xe), new me(4, 5, 16, 8, xe), new me(4, 6, 32, 32, xe), new me(4, 4, 16, 16, fe), new me(8, 16, 32, 32, fe), new me(8, 16, 128, 128, fe), new me(8, 32, 128, 256, fe), new me(32, 128, 258, 1024, fe), new me(32, 258, 258, 4096, fe)], r.deflateInit = function(y, K) {
12742
+ return Be(y, K, p, 15, 8, 0);
12743
+ }, r.deflateInit2 = Be, r.deflateReset = Ae, r.deflateResetKeep = ve, r.deflateSetHeader = function(y, K) {
12744
+ return y && y.state ? y.state.wrap !== 2 ? D : (y.state.gzhead = K, l) : D;
12745
+ }, r.deflate = function(y, K) {
12760
12746
  var X, N, S, z;
12761
- if (!y || !y.state || 5 < V || V < 0) return y ? Q(y, D) : D;
12762
- if (N = y.state, !y.output || !y.input && y.avail_in !== 0 || N.status === 666 && V !== g) return Q(y, y.avail_out === 0 ? -5 : D);
12763
- if (N.strm = y, X = N.last_flush, N.last_flush = V, N.status === k) if (N.wrap === 2) y.adler = 0, ae(N, 31), ae(N, 139), ae(N, 8), N.gzhead ? (ae(N, (N.gzhead.text ? 1 : 0) + (N.gzhead.hcrc ? 2 : 0) + (N.gzhead.extra ? 4 : 0) + (N.gzhead.name ? 8 : 0) + (N.gzhead.comment ? 16 : 0)), ae(N, 255 & N.gzhead.time), ae(N, N.gzhead.time >> 8 & 255), ae(N, N.gzhead.time >> 16 & 255), ae(N, N.gzhead.time >> 24 & 255), ae(N, N.level === 9 ? 2 : 2 <= N.strategy || N.level < 2 ? 4 : 0), ae(N, 255 & N.gzhead.os), N.gzhead.extra && N.gzhead.extra.length && (ae(N, 255 & N.gzhead.extra.length), ae(N, N.gzhead.extra.length >> 8 & 255)), N.gzhead.hcrc && (y.adler = u(y.adler, N.pending_buf, N.pending, 0)), N.gzindex = 0, N.status = 69) : (ae(N, 0), ae(N, 0), ae(N, 0), ae(N, 0), ae(N, 0), ae(N, N.level === 9 ? 2 : 2 <= N.strategy || N.level < 2 ? 4 : 0), ae(N, 3), N.status = P);
12747
+ if (!y || !y.state || 5 < K || K < 0) return y ? Q(y, D) : D;
12748
+ if (N = y.state, !y.output || !y.input && y.avail_in !== 0 || N.status === 666 && K !== g) return Q(y, y.avail_out === 0 ? -5 : D);
12749
+ if (N.strm = y, X = N.last_flush, N.last_flush = K, N.status === k) if (N.wrap === 2) y.adler = 0, ae(N, 31), ae(N, 139), ae(N, 8), N.gzhead ? (ae(N, (N.gzhead.text ? 1 : 0) + (N.gzhead.hcrc ? 2 : 0) + (N.gzhead.extra ? 4 : 0) + (N.gzhead.name ? 8 : 0) + (N.gzhead.comment ? 16 : 0)), ae(N, 255 & N.gzhead.time), ae(N, N.gzhead.time >> 8 & 255), ae(N, N.gzhead.time >> 16 & 255), ae(N, N.gzhead.time >> 24 & 255), ae(N, N.level === 9 ? 2 : 2 <= N.strategy || N.level < 2 ? 4 : 0), ae(N, 255 & N.gzhead.os), N.gzhead.extra && N.gzhead.extra.length && (ae(N, 255 & N.gzhead.extra.length), ae(N, N.gzhead.extra.length >> 8 & 255)), N.gzhead.hcrc && (y.adler = u(y.adler, N.pending_buf, N.pending, 0)), N.gzindex = 0, N.status = 69) : (ae(N, 0), ae(N, 0), ae(N, 0), ae(N, 0), ae(N, 0), ae(N, N.level === 9 ? 2 : 2 <= N.strategy || N.level < 2 ? 4 : 0), ae(N, 3), N.status = P);
12764
12750
  else {
12765
12751
  var re = p + (N.w_bits - 8 << 4) << 8;
12766
12752
  re |= (2 <= N.strategy || N.level < 2 ? 0 : N.level < 6 ? 1 : N.level === 6 ? 2 : 3) << 6, N.strstart !== 0 && (re |= 32), re += 31 - re % 31, N.status = P, oe(N, re), N.strstart !== 0 && (oe(N, y.adler >>> 16), oe(N, 65535 & y.adler)), y.adler = 1;
@@ -12793,50 +12779,50 @@ function R2() {
12793
12779
  } else N.status = 103;
12794
12780
  if (N.status === 103 && (N.gzhead.hcrc ? (N.pending + 2 > N.pending_buf_size && M(y), N.pending + 2 <= N.pending_buf_size && (ae(N, 255 & y.adler), ae(N, y.adler >> 8 & 255), y.adler = 0, N.status = P)) : N.status = P), N.pending !== 0) {
12795
12781
  if (M(y), y.avail_out === 0) return N.last_flush = -1, l;
12796
- } else if (y.avail_in === 0 && $(V) <= $(X) && V !== g) return Q(y, -5);
12782
+ } else if (y.avail_in === 0 && $(K) <= $(X) && K !== g) return Q(y, -5);
12797
12783
  if (N.status === 666 && y.avail_in !== 0) return Q(y, -5);
12798
- if (y.avail_in !== 0 || N.lookahead !== 0 || V !== f && N.status !== 666) {
12799
- var ee = N.strategy === 2 ? function(K, I) {
12784
+ if (y.avail_in !== 0 || N.lookahead !== 0 || K !== f && N.status !== 666) {
12785
+ var ee = N.strategy === 2 ? function(G, I) {
12800
12786
  for (var H; ; ) {
12801
- if (K.lookahead === 0 && (le(K), K.lookahead === 0)) {
12787
+ if (G.lookahead === 0 && (le(G), G.lookahead === 0)) {
12802
12788
  if (I === f) return x;
12803
12789
  break;
12804
12790
  }
12805
- if (K.match_length = 0, H = s._tr_tally(K, 0, K.window[K.strstart]), K.lookahead--, K.strstart++, H && (R(K, !1), K.strm.avail_out === 0)) return x;
12791
+ if (G.match_length = 0, H = s._tr_tally(G, 0, G.window[G.strstart]), G.lookahead--, G.strstart++, H && (R(G, !1), G.strm.avail_out === 0)) return x;
12806
12792
  }
12807
- return K.insert = 0, I === g ? (R(K, !0), K.strm.avail_out === 0 ? j : O) : K.last_lit && (R(K, !1), K.strm.avail_out === 0) ? x : C;
12808
- }(N, V) : N.strategy === 3 ? function(K, I) {
12809
- for (var H, Y, te, de, ge = K.window; ; ) {
12810
- if (K.lookahead <= W) {
12811
- if (le(K), K.lookahead <= W && I === f) return x;
12812
- if (K.lookahead === 0) break;
12793
+ return G.insert = 0, I === g ? (R(G, !0), G.strm.avail_out === 0 ? j : O) : G.last_lit && (R(G, !1), G.strm.avail_out === 0) ? x : C;
12794
+ }(N, K) : N.strategy === 3 ? function(G, I) {
12795
+ for (var H, Y, te, de, ge = G.window; ; ) {
12796
+ if (G.lookahead <= W) {
12797
+ if (le(G), G.lookahead <= W && I === f) return x;
12798
+ if (G.lookahead === 0) break;
12813
12799
  }
12814
- if (K.match_length = 0, K.lookahead >= E && 0 < K.strstart && (Y = ge[te = K.strstart - 1]) === ge[++te] && Y === ge[++te] && Y === ge[++te]) {
12815
- de = K.strstart + W;
12800
+ if (G.match_length = 0, G.lookahead >= E && 0 < G.strstart && (Y = ge[te = G.strstart - 1]) === ge[++te] && Y === ge[++te] && Y === ge[++te]) {
12801
+ de = G.strstart + W;
12816
12802
  do
12817
12803
  ;
12818
12804
  while (Y === ge[++te] && Y === ge[++te] && Y === ge[++te] && Y === ge[++te] && Y === ge[++te] && Y === ge[++te] && Y === ge[++te] && Y === ge[++te] && te < de);
12819
- K.match_length = W - (de - te), K.match_length > K.lookahead && (K.match_length = K.lookahead);
12805
+ G.match_length = W - (de - te), G.match_length > G.lookahead && (G.match_length = G.lookahead);
12820
12806
  }
12821
- if (K.match_length >= E ? (H = s._tr_tally(K, 1, K.match_length - E), K.lookahead -= K.match_length, K.strstart += K.match_length, K.match_length = 0) : (H = s._tr_tally(K, 0, K.window[K.strstart]), K.lookahead--, K.strstart++), H && (R(K, !1), K.strm.avail_out === 0)) return x;
12807
+ if (G.match_length >= E ? (H = s._tr_tally(G, 1, G.match_length - E), G.lookahead -= G.match_length, G.strstart += G.match_length, G.match_length = 0) : (H = s._tr_tally(G, 0, G.window[G.strstart]), G.lookahead--, G.strstart++), H && (R(G, !1), G.strm.avail_out === 0)) return x;
12822
12808
  }
12823
- return K.insert = 0, I === g ? (R(K, !0), K.strm.avail_out === 0 ? j : O) : K.last_lit && (R(K, !1), K.strm.avail_out === 0) ? x : C;
12824
- }(N, V) : a[N.level].func(N, V);
12809
+ return G.insert = 0, I === g ? (R(G, !0), G.strm.avail_out === 0 ? j : O) : G.last_lit && (R(G, !1), G.strm.avail_out === 0) ? x : C;
12810
+ }(N, K) : a[N.level].func(N, K);
12825
12811
  if (ee !== j && ee !== O || (N.status = 666), ee === x || ee === j) return y.avail_out === 0 && (N.last_flush = -1), l;
12826
- if (ee === C && (V === 1 ? s._tr_align(N) : V !== 5 && (s._tr_stored_block(N, 0, 0, !1), V === 3 && (ie(N.head), N.lookahead === 0 && (N.strstart = 0, N.block_start = 0, N.insert = 0))), M(y), y.avail_out === 0)) return N.last_flush = -1, l;
12812
+ if (ee === C && (K === 1 ? s._tr_align(N) : K !== 5 && (s._tr_stored_block(N, 0, 0, !1), K === 3 && (ie(N.head), N.lookahead === 0 && (N.strstart = 0, N.block_start = 0, N.insert = 0))), M(y), y.avail_out === 0)) return N.last_flush = -1, l;
12827
12813
  }
12828
- return V !== g ? l : N.wrap <= 0 ? 1 : (N.wrap === 2 ? (ae(N, 255 & y.adler), ae(N, y.adler >> 8 & 255), ae(N, y.adler >> 16 & 255), ae(N, y.adler >> 24 & 255), ae(N, 255 & y.total_in), ae(N, y.total_in >> 8 & 255), ae(N, y.total_in >> 16 & 255), ae(N, y.total_in >> 24 & 255)) : (oe(N, y.adler >>> 16), oe(N, 65535 & y.adler)), M(y), 0 < N.wrap && (N.wrap = -N.wrap), N.pending !== 0 ? l : 1);
12814
+ return K !== g ? l : N.wrap <= 0 ? 1 : (N.wrap === 2 ? (ae(N, 255 & y.adler), ae(N, y.adler >> 8 & 255), ae(N, y.adler >> 16 & 255), ae(N, y.adler >> 24 & 255), ae(N, 255 & y.total_in), ae(N, y.total_in >> 8 & 255), ae(N, y.total_in >> 16 & 255), ae(N, y.total_in >> 24 & 255)) : (oe(N, y.adler >>> 16), oe(N, 65535 & y.adler)), M(y), 0 < N.wrap && (N.wrap = -N.wrap), N.pending !== 0 ? l : 1);
12829
12815
  }, r.deflateEnd = function(y) {
12830
- var V;
12831
- return y && y.state ? (V = y.state.status) !== k && V !== 69 && V !== 73 && V !== 91 && V !== 103 && V !== P && V !== 666 ? Q(y, D) : (y.state = null, V === P ? Q(y, -3) : l) : D;
12832
- }, r.deflateSetDictionary = function(y, V) {
12833
- var X, N, S, z, re, ee, K, I, H = V.length;
12816
+ var K;
12817
+ return y && y.state ? (K = y.state.status) !== k && K !== 69 && K !== 73 && K !== 91 && K !== 103 && K !== P && K !== 666 ? Q(y, D) : (y.state = null, K === P ? Q(y, -3) : l) : D;
12818
+ }, r.deflateSetDictionary = function(y, K) {
12819
+ var X, N, S, z, re, ee, G, I, H = K.length;
12834
12820
  if (!y || !y.state || (z = (X = y.state).wrap) === 2 || z === 1 && X.status !== k || X.lookahead) return D;
12835
- for (z === 1 && (y.adler = c(y.adler, V, H, 0)), X.wrap = 0, H >= X.w_size && (z === 0 && (ie(X.head), X.strstart = 0, X.block_start = 0, X.insert = 0), I = new o.Buf8(X.w_size), o.arraySet(I, V, H - X.w_size, X.w_size, 0), V = I, H = X.w_size), re = y.avail_in, ee = y.next_in, K = y.input, y.avail_in = H, y.next_in = 0, y.input = V, le(X); X.lookahead >= E; ) {
12821
+ for (z === 1 && (y.adler = c(y.adler, K, H, 0)), X.wrap = 0, H >= X.w_size && (z === 0 && (ie(X.head), X.strstart = 0, X.block_start = 0, X.insert = 0), I = new o.Buf8(X.w_size), o.arraySet(I, K, H - X.w_size, X.w_size, 0), K = I, H = X.w_size), re = y.avail_in, ee = y.next_in, G = y.input, y.avail_in = H, y.next_in = 0, y.input = K, le(X); X.lookahead >= E; ) {
12836
12822
  for (N = X.strstart, S = X.lookahead - (E - 1); X.ins_h = (X.ins_h << X.hash_shift ^ X.window[N + E - 1]) & X.hash_mask, X.prev[N & X.w_mask] = X.head[X.ins_h], X.head[X.ins_h] = N, N++, --S; ) ;
12837
12823
  X.strstart = N, X.lookahead = E - 1, le(X);
12838
12824
  }
12839
- return X.strstart += X.lookahead, X.block_start = X.strstart, X.insert = X.lookahead, X.lookahead = 0, X.match_length = X.prev_length = E - 1, X.match_available = 0, y.next_in = ee, y.input = K, y.avail_in = re, X.wrap = z, l;
12825
+ return X.strstart += X.lookahead, X.block_start = X.strstart, X.insert = X.lookahead, X.lookahead = 0, X.match_length = X.prev_length = E - 1, X.match_available = 0, y.next_in = ee, y.input = G, y.avail_in = re, X.wrap = z, l;
12840
12826
  }, r.deflateInfo = "pako deflate (from Nodeca project)";
12841
12827
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(n, i, r) {
12842
12828
  i.exports = function() {
@@ -12957,9 +12943,9 @@ function R2() {
12957
12943
  r.inflateReset = w, r.inflateReset2 = _, r.inflateResetKeep = v, r.inflateInit = function(k) {
12958
12944
  return T(k, 15);
12959
12945
  }, r.inflateInit2 = T, r.inflate = function(k, P) {
12960
- var x, C, j, O, Q, $, ie, M, R, ae, oe, ne, le, xe, fe, me, ye, ve, Ae, Be, y, V, X, N, S = 0, z = new a.Buf8(4), re = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
12946
+ var x, C, j, O, Q, $, ie, M, R, ae, oe, ne, le, xe, fe, me, ye, ve, Ae, Be, y, K, X, N, S = 0, z = new a.Buf8(4), re = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
12961
12947
  if (!k || !k.state || !k.output || !k.input && k.avail_in !== 0) return l;
12962
- (x = k.state).mode === 12 && (x.mode = 13), Q = k.next_out, j = k.output, ie = k.avail_out, O = k.next_in, C = k.input, $ = k.avail_in, M = x.hold, R = x.bits, ae = $, oe = ie, V = g;
12948
+ (x = k.state).mode === 12 && (x.mode = 13), Q = k.next_out, j = k.output, ie = k.avail_out, O = k.next_in, C = k.input, $ = k.avail_in, M = x.hold, R = x.bits, ae = $, oe = ie, K = g;
12963
12949
  e: for (; ; ) switch (x.mode) {
12964
12950
  case D:
12965
12951
  if (x.wrap === 0) {
@@ -13130,7 +13116,7 @@ function R2() {
13130
13116
  x.lens[re[x.have++]] = 7 & M, M >>>= 3, R -= 3;
13131
13117
  }
13132
13118
  for (; x.have < 19; ) x.lens[re[x.have++]] = 0;
13133
- if (x.lencode = x.lendyn, x.lenbits = 7, X = { bits: x.lenbits }, V = u(0, x.lens, 0, 19, x.lencode, 0, x.work, X), x.lenbits = X.bits, V) {
13119
+ if (x.lencode = x.lendyn, x.lenbits = 7, X = { bits: x.lenbits }, K = u(0, x.lens, 0, 19, x.lencode, 0, x.work, X), x.lenbits = X.bits, K) {
13134
13120
  k.msg = "invalid code lengths set", x.mode = 30;
13135
13121
  break;
13136
13122
  }
@@ -13178,11 +13164,11 @@ function R2() {
13178
13164
  k.msg = "invalid code -- missing end-of-block", x.mode = 30;
13179
13165
  break;
13180
13166
  }
13181
- if (x.lenbits = 9, X = { bits: x.lenbits }, V = u(d, x.lens, 0, x.nlen, x.lencode, 0, x.work, X), x.lenbits = X.bits, V) {
13167
+ if (x.lenbits = 9, X = { bits: x.lenbits }, K = u(d, x.lens, 0, x.nlen, x.lencode, 0, x.work, X), x.lenbits = X.bits, K) {
13182
13168
  k.msg = "invalid literal/lengths set", x.mode = 30;
13183
13169
  break;
13184
13170
  }
13185
- if (x.distbits = 6, x.distcode = x.distdyn, X = { bits: x.distbits }, V = u(f, x.lens, x.nlen, x.ndist, x.distcode, 0, x.work, X), x.distbits = X.bits, V) {
13171
+ if (x.distbits = 6, x.distcode = x.distdyn, X = { bits: x.distbits }, K = u(f, x.lens, x.nlen, x.ndist, x.distcode, 0, x.work, X), x.distbits = X.bits, K) {
13186
13172
  k.msg = "invalid distances set", x.mode = 30;
13187
13173
  break;
13188
13174
  }
@@ -13300,10 +13286,10 @@ function R2() {
13300
13286
  }
13301
13287
  x.mode = 29;
13302
13288
  case 29:
13303
- V = 1;
13289
+ K = 1;
13304
13290
  break e;
13305
13291
  case 30:
13306
- V = -3;
13292
+ K = -3;
13307
13293
  break e;
13308
13294
  case 31:
13309
13295
  return -4;
@@ -13311,7 +13297,7 @@ function R2() {
13311
13297
  default:
13312
13298
  return l;
13313
13299
  }
13314
- return k.next_out = Q, k.avail_out = ie, k.next_in = O, k.avail_in = $, x.hold = M, x.bits = R, (x.wsize || oe !== k.avail_out && x.mode < 30 && (x.mode < 27 || P !== 4)) && B(k, k.output, k.next_out, oe - k.avail_out) ? (x.mode = 31, -4) : (ae -= k.avail_in, oe -= k.avail_out, k.total_in += ae, k.total_out += oe, x.total += oe, x.wrap && oe && (k.adler = x.check = x.flags ? s(x.check, j, oe, k.next_out - oe) : o(x.check, j, oe, k.next_out - oe)), k.data_type = x.bits + (x.last ? 64 : 0) + (x.mode === 12 ? 128 : 0) + (x.mode === 20 || x.mode === 15 ? 256 : 0), (ae == 0 && oe === 0 || P === 4) && V === g && (V = -5), V);
13300
+ return k.next_out = Q, k.avail_out = ie, k.next_in = O, k.avail_in = $, x.hold = M, x.bits = R, (x.wsize || oe !== k.avail_out && x.mode < 30 && (x.mode < 27 || P !== 4)) && B(k, k.output, k.next_out, oe - k.avail_out) ? (x.mode = 31, -4) : (ae -= k.avail_in, oe -= k.avail_out, k.total_in += ae, k.total_out += oe, x.total += oe, x.wrap && oe && (k.adler = x.check = x.flags ? s(x.check, j, oe, k.next_out - oe) : o(x.check, j, oe, k.next_out - oe)), k.data_type = x.bits + (x.last ? 64 : 0) + (x.mode === 12 ? 128 : 0) + (x.mode === 20 || x.mode === 15 ? 256 : 0), (ae == 0 && oe === 0 || P === 4) && K === g && (K = -5), K);
13315
13301
  }, r.inflateEnd = function(k) {
13316
13302
  if (!k || !k.state) return l;
13317
13303
  var P = k.state;
@@ -13370,8 +13356,8 @@ function R2() {
13370
13356
  var C = new Array(d);
13371
13357
  c(C);
13372
13358
  var j, O, Q, $ = new Array(l);
13373
- function ie(S, z, re, ee, K) {
13374
- this.static_tree = S, this.extra_bits = z, this.extra_base = re, this.elems = ee, this.max_length = K, this.has_stree = S && S.length;
13359
+ function ie(S, z, re, ee, G) {
13360
+ this.static_tree = S, this.extra_bits = z, this.extra_base = re, this.elems = ee, this.max_length = G, this.has_stree = S && S.length;
13375
13361
  }
13376
13362
  function M(S, z) {
13377
13363
  this.dyn_tree = S, this.max_code = 0, this.stat_desc = z;
@@ -13393,11 +13379,11 @@ function R2() {
13393
13379
  return re >>> 1;
13394
13380
  }
13395
13381
  function xe(S, z, re) {
13396
- var ee, K, I = new Array(h + 1), H = 0;
13382
+ var ee, G, I = new Array(h + 1), H = 0;
13397
13383
  for (ee = 1; ee <= h; ee++) I[ee] = H = H + re[ee - 1] << 1;
13398
- for (K = 0; K <= z; K++) {
13399
- var Y = S[2 * K + 1];
13400
- Y !== 0 && (S[2 * K] = le(I[Y]++, Y));
13384
+ for (G = 0; G <= z; G++) {
13385
+ var Y = S[2 * G + 1];
13386
+ Y !== 0 && (S[2 * G] = le(I[Y]++, Y));
13401
13387
  }
13402
13388
  }
13403
13389
  function fe(S) {
@@ -13411,28 +13397,28 @@ function R2() {
13411
13397
  8 < S.bi_valid ? ae(S, S.bi_buf) : 0 < S.bi_valid && (S.pending_buf[S.pending++] = S.bi_buf), S.bi_buf = 0, S.bi_valid = 0;
13412
13398
  }
13413
13399
  function ye(S, z, re, ee) {
13414
- var K = 2 * z, I = 2 * re;
13415
- return S[K] < S[I] || S[K] === S[I] && ee[z] <= ee[re];
13400
+ var G = 2 * z, I = 2 * re;
13401
+ return S[G] < S[I] || S[G] === S[I] && ee[z] <= ee[re];
13416
13402
  }
13417
13403
  function ve(S, z, re) {
13418
- for (var ee = S.heap[re], K = re << 1; K <= S.heap_len && (K < S.heap_len && ye(z, S.heap[K + 1], S.heap[K], S.depth) && K++, !ye(z, ee, S.heap[K], S.depth)); ) S.heap[re] = S.heap[K], re = K, K <<= 1;
13404
+ for (var ee = S.heap[re], G = re << 1; G <= S.heap_len && (G < S.heap_len && ye(z, S.heap[G + 1], S.heap[G], S.depth) && G++, !ye(z, ee, S.heap[G], S.depth)); ) S.heap[re] = S.heap[G], re = G, G <<= 1;
13419
13405
  S.heap[re] = ee;
13420
13406
  }
13421
13407
  function Ae(S, z, re) {
13422
- var ee, K, I, H, Y = 0;
13423
- if (S.last_lit !== 0) for (; ee = S.pending_buf[S.d_buf + 2 * Y] << 8 | S.pending_buf[S.d_buf + 2 * Y + 1], K = S.pending_buf[S.l_buf + Y], Y++, ee === 0 ? ne(S, K, z) : (ne(S, (I = x[K]) + f + 1, z), (H = U[I]) !== 0 && oe(S, K -= C[I], H), ne(S, I = R(--ee), re), (H = L[I]) !== 0 && oe(S, ee -= $[I], H)), Y < S.last_lit; ) ;
13408
+ var ee, G, I, H, Y = 0;
13409
+ if (S.last_lit !== 0) for (; ee = S.pending_buf[S.d_buf + 2 * Y] << 8 | S.pending_buf[S.d_buf + 2 * Y + 1], G = S.pending_buf[S.l_buf + Y], Y++, ee === 0 ? ne(S, G, z) : (ne(S, (I = x[G]) + f + 1, z), (H = U[I]) !== 0 && oe(S, G -= C[I], H), ne(S, I = R(--ee), re), (H = L[I]) !== 0 && oe(S, ee -= $[I], H)), Y < S.last_lit; ) ;
13424
13410
  ne(S, v, z);
13425
13411
  }
13426
13412
  function Be(S, z) {
13427
- var re, ee, K, I = z.dyn_tree, H = z.stat_desc.static_tree, Y = z.stat_desc.has_stree, te = z.stat_desc.elems, de = -1;
13413
+ var re, ee, G, I = z.dyn_tree, H = z.stat_desc.static_tree, Y = z.stat_desc.has_stree, te = z.stat_desc.elems, de = -1;
13428
13414
  for (S.heap_len = 0, S.heap_max = m, re = 0; re < te; re++) I[2 * re] !== 0 ? (S.heap[++S.heap_len] = de = re, S.depth[re] = 0) : I[2 * re + 1] = 0;
13429
- for (; S.heap_len < 2; ) I[2 * (K = S.heap[++S.heap_len] = de < 2 ? ++de : 0)] = 1, S.depth[K] = 0, S.opt_len--, Y && (S.static_len -= H[2 * K + 1]);
13415
+ for (; S.heap_len < 2; ) I[2 * (G = S.heap[++S.heap_len] = de < 2 ? ++de : 0)] = 1, S.depth[G] = 0, S.opt_len--, Y && (S.static_len -= H[2 * G + 1]);
13430
13416
  for (z.max_code = de, re = S.heap_len >> 1; 1 <= re; re--) ve(S, I, re);
13431
- for (K = te; re = S.heap[1], S.heap[1] = S.heap[S.heap_len--], ve(S, I, 1), ee = S.heap[1], S.heap[--S.heap_max] = re, S.heap[--S.heap_max] = ee, I[2 * K] = I[2 * re] + I[2 * ee], S.depth[K] = (S.depth[re] >= S.depth[ee] ? S.depth[re] : S.depth[ee]) + 1, I[2 * re + 1] = I[2 * ee + 1] = K, S.heap[1] = K++, ve(S, I, 1), 2 <= S.heap_len; ) ;
13417
+ for (G = te; re = S.heap[1], S.heap[1] = S.heap[S.heap_len--], ve(S, I, 1), ee = S.heap[1], S.heap[--S.heap_max] = re, S.heap[--S.heap_max] = ee, I[2 * G] = I[2 * re] + I[2 * ee], S.depth[G] = (S.depth[re] >= S.depth[ee] ? S.depth[re] : S.depth[ee]) + 1, I[2 * re + 1] = I[2 * ee + 1] = G, S.heap[1] = G++, ve(S, I, 1), 2 <= S.heap_len; ) ;
13432
13418
  S.heap[--S.heap_max] = S.heap[1], function(ge, we) {
13433
- var De, Z, se, ce, pe, Ee, Te = we.dyn_tree, Re = we.max_code, gt = we.stat_desc.static_tree, Ht = we.stat_desc.has_stree, Ii = we.stat_desc.extra_bits, A = we.stat_desc.extra_base, F = we.stat_desc.max_length, q = 0;
13419
+ var De, Z, se, ce, pe, Ee, Te = we.dyn_tree, Re = we.max_code, gt = we.stat_desc.static_tree, jt = we.stat_desc.has_stree, Ii = we.stat_desc.extra_bits, A = we.stat_desc.extra_base, F = we.stat_desc.max_length, q = 0;
13434
13420
  for (ce = 0; ce <= h; ce++) ge.bl_count[ce] = 0;
13435
- for (Te[2 * ge.heap[ge.heap_max] + 1] = 0, De = ge.heap_max + 1; De < m; De++) F < (ce = Te[2 * Te[2 * (Z = ge.heap[De]) + 1] + 1] + 1) && (ce = F, q++), Te[2 * Z + 1] = ce, Re < Z || (ge.bl_count[ce]++, pe = 0, A <= Z && (pe = Ii[Z - A]), Ee = Te[2 * Z], ge.opt_len += Ee * (ce + pe), Ht && (ge.static_len += Ee * (gt[2 * Z + 1] + pe)));
13421
+ for (Te[2 * ge.heap[ge.heap_max] + 1] = 0, De = ge.heap_max + 1; De < m; De++) F < (ce = Te[2 * Te[2 * (Z = ge.heap[De]) + 1] + 1] + 1) && (ce = F, q++), Te[2 * Z + 1] = ce, Re < Z || (ge.bl_count[ce]++, pe = 0, A <= Z && (pe = Ii[Z - A]), Ee = Te[2 * Z], ge.opt_len += Ee * (ce + pe), jt && (ge.static_len += Ee * (gt[2 * Z + 1] + pe)));
13436
13422
  if (q !== 0) {
13437
13423
  do {
13438
13424
  for (ce = F - 1; ge.bl_count[ce] === 0; ) ce--;
@@ -13443,30 +13429,30 @@ function R2() {
13443
13429
  }(S, z), xe(I, de, S.bl_count);
13444
13430
  }
13445
13431
  function y(S, z, re) {
13446
- var ee, K, I = -1, H = z[1], Y = 0, te = 7, de = 4;
13447
- for (H === 0 && (te = 138, de = 3), z[2 * (re + 1) + 1] = 65535, ee = 0; ee <= re; ee++) K = H, H = z[2 * (ee + 1) + 1], ++Y < te && K === H || (Y < de ? S.bl_tree[2 * K] += Y : K !== 0 ? (K !== I && S.bl_tree[2 * K]++, S.bl_tree[2 * w]++) : Y <= 10 ? S.bl_tree[2 * _]++ : S.bl_tree[2 * T]++, I = K, de = (Y = 0) === H ? (te = 138, 3) : K === H ? (te = 6, 3) : (te = 7, 4));
13432
+ var ee, G, I = -1, H = z[1], Y = 0, te = 7, de = 4;
13433
+ for (H === 0 && (te = 138, de = 3), z[2 * (re + 1) + 1] = 65535, ee = 0; ee <= re; ee++) G = H, H = z[2 * (ee + 1) + 1], ++Y < te && G === H || (Y < de ? S.bl_tree[2 * G] += Y : G !== 0 ? (G !== I && S.bl_tree[2 * G]++, S.bl_tree[2 * w]++) : Y <= 10 ? S.bl_tree[2 * _]++ : S.bl_tree[2 * T]++, I = G, de = (Y = 0) === H ? (te = 138, 3) : G === H ? (te = 6, 3) : (te = 7, 4));
13448
13434
  }
13449
- function V(S, z, re) {
13450
- var ee, K, I = -1, H = z[1], Y = 0, te = 7, de = 4;
13451
- for (H === 0 && (te = 138, de = 3), ee = 0; ee <= re; ee++) if (K = H, H = z[2 * (ee + 1) + 1], !(++Y < te && K === H)) {
13452
- if (Y < de) for (; ne(S, K, S.bl_tree), --Y != 0; ) ;
13453
- else K !== 0 ? (K !== I && (ne(S, K, S.bl_tree), Y--), ne(S, w, S.bl_tree), oe(S, Y - 3, 2)) : Y <= 10 ? (ne(S, _, S.bl_tree), oe(S, Y - 3, 3)) : (ne(S, T, S.bl_tree), oe(S, Y - 11, 7));
13454
- I = K, de = (Y = 0) === H ? (te = 138, 3) : K === H ? (te = 6, 3) : (te = 7, 4);
13435
+ function K(S, z, re) {
13436
+ var ee, G, I = -1, H = z[1], Y = 0, te = 7, de = 4;
13437
+ for (H === 0 && (te = 138, de = 3), ee = 0; ee <= re; ee++) if (G = H, H = z[2 * (ee + 1) + 1], !(++Y < te && G === H)) {
13438
+ if (Y < de) for (; ne(S, G, S.bl_tree), --Y != 0; ) ;
13439
+ else G !== 0 ? (G !== I && (ne(S, G, S.bl_tree), Y--), ne(S, w, S.bl_tree), oe(S, Y - 3, 2)) : Y <= 10 ? (ne(S, _, S.bl_tree), oe(S, Y - 3, 3)) : (ne(S, T, S.bl_tree), oe(S, Y - 11, 7));
13440
+ I = G, de = (Y = 0) === H ? (te = 138, 3) : G === H ? (te = 6, 3) : (te = 7, 4);
13455
13441
  }
13456
13442
  }
13457
13443
  c($);
13458
13444
  var X = !1;
13459
13445
  function N(S, z, re, ee) {
13460
- oe(S, (u << 1) + (ee ? 1 : 0), 3), function(K, I, H, Y) {
13461
- me(K), ae(K, H), ae(K, ~H), a.arraySet(K.pending_buf, K.window, I, H, K.pending), K.pending += H;
13446
+ oe(S, (u << 1) + (ee ? 1 : 0), 3), function(G, I, H, Y) {
13447
+ me(G), ae(G, H), ae(G, ~H), a.arraySet(G.pending_buf, G.window, I, H, G.pending), G.pending += H;
13462
13448
  }(S, z, re);
13463
13449
  }
13464
13450
  r._tr_init = function(S) {
13465
13451
  X || (function() {
13466
- var z, re, ee, K, I, H = new Array(h + 1);
13467
- for (K = ee = 0; K < d - 1; K++) for (C[K] = ee, z = 0; z < 1 << U[K]; z++) x[ee++] = K;
13468
- for (x[ee - 1] = K, K = I = 0; K < 16; K++) for ($[K] = I, z = 0; z < 1 << L[K]; z++) P[I++] = K;
13469
- for (I >>= 7; K < l; K++) for ($[K] = I << 7, z = 0; z < 1 << L[K] - 7; z++) P[256 + I++] = K;
13452
+ var z, re, ee, G, I, H = new Array(h + 1);
13453
+ for (G = ee = 0; G < d - 1; G++) for (C[G] = ee, z = 0; z < 1 << U[G]; z++) x[ee++] = G;
13454
+ for (x[ee - 1] = G, G = I = 0; G < 16; G++) for ($[G] = I, z = 0; z < 1 << L[G]; z++) P[I++] = G;
13455
+ for (I >>= 7; G < l; G++) for ($[G] = I << 7, z = 0; z < 1 << L[G] - 7; z++) P[256 + I++] = G;
13470
13456
  for (re = 0; re <= h; re++) H[re] = 0;
13471
13457
  for (z = 0; z <= 143; ) B[2 * z + 1] = 8, z++, H[8]++;
13472
13458
  for (; z <= 255; ) B[2 * z + 1] = 9, z++, H[9]++;
@@ -13476,7 +13462,7 @@ function R2() {
13476
13462
  j = new ie(B, U, f + 1, g, h), O = new ie(k, L, 0, l, h), Q = new ie(new Array(0), E, 0, D, p);
13477
13463
  }(), X = !0), S.l_desc = new M(S.dyn_ltree, j), S.d_desc = new M(S.dyn_dtree, O), S.bl_desc = new M(S.bl_tree, Q), S.bi_buf = 0, S.bi_valid = 0, fe(S);
13478
13464
  }, r._tr_stored_block = N, r._tr_flush_block = function(S, z, re, ee) {
13479
- var K, I, H = 0;
13465
+ var G, I, H = 0;
13480
13466
  0 < S.level ? (S.strm.data_type === 2 && (S.strm.data_type = function(Y) {
13481
13467
  var te, de = 4093624447;
13482
13468
  for (te = 0; te <= 31; te++, de >>>= 1) if (1 & de && Y.dyn_ltree[2 * te] !== 0) return o;
@@ -13487,10 +13473,10 @@ function R2() {
13487
13473
  var te;
13488
13474
  for (y(Y, Y.dyn_ltree, Y.l_desc.max_code), y(Y, Y.dyn_dtree, Y.d_desc.max_code), Be(Y, Y.bl_desc), te = D - 1; 3 <= te && Y.bl_tree[2 * W[te] + 1] === 0; te--) ;
13489
13475
  return Y.opt_len += 3 * (te + 1) + 5 + 5 + 4, te;
13490
- }(S), K = S.opt_len + 3 + 7 >>> 3, (I = S.static_len + 3 + 7 >>> 3) <= K && (K = I)) : K = I = re + 5, re + 4 <= K && z !== -1 ? N(S, z, re, ee) : S.strategy === 4 || I === K ? (oe(S, 2 + (ee ? 1 : 0), 3), Ae(S, B, k)) : (oe(S, 4 + (ee ? 1 : 0), 3), function(Y, te, de, ge) {
13476
+ }(S), G = S.opt_len + 3 + 7 >>> 3, (I = S.static_len + 3 + 7 >>> 3) <= G && (G = I)) : G = I = re + 5, re + 4 <= G && z !== -1 ? N(S, z, re, ee) : S.strategy === 4 || I === G ? (oe(S, 2 + (ee ? 1 : 0), 3), Ae(S, B, k)) : (oe(S, 4 + (ee ? 1 : 0), 3), function(Y, te, de, ge) {
13491
13477
  var we;
13492
13478
  for (oe(Y, te - 257, 5), oe(Y, de - 1, 5), oe(Y, ge - 4, 4), we = 0; we < ge; we++) oe(Y, Y.bl_tree[2 * W[we] + 1], 3);
13493
- V(Y, Y.dyn_ltree, te - 1), V(Y, Y.dyn_dtree, de - 1);
13479
+ K(Y, Y.dyn_ltree, te - 1), K(Y, Y.dyn_dtree, de - 1);
13494
13480
  }(S, S.l_desc.max_code + 1, S.d_desc.max_code + 1, H + 1), Ae(S, S.dyn_ltree, S.dyn_dtree)), fe(S), ee && me(S);
13495
13481
  }, r._tr_tally = function(S, z, re) {
13496
13482
  return S.pending_buf[S.d_buf + 2 * S.last_lit] = z >>> 8 & 255, S.pending_buf[S.d_buf + 2 * S.last_lit + 1] = 255 & z, S.pending_buf[S.l_buf + S.last_lit] = 255 & re, S.last_lit++, z === 0 ? S.dyn_ltree[2 * re]++ : (S.matches++, z--, S.dyn_ltree[2 * (x[re] + f + 1)]++, S.dyn_dtree[2 * R(z)]++), S.last_lit === S.lit_bufsize - 1;
@@ -13578,7 +13564,7 @@ function R2() {
13578
13564
  w.source === o && typeof w.data == "string" && w.data.indexOf(f) === 0 && p(+w.data.slice(f.length));
13579
13565
  }
13580
13566
  })(typeof self > "u" ? a === void 0 ? this : a : self);
13581
- }).call(this, typeof Qt < "u" ? Qt : typeof self < "u" ? self : typeof window < "u" ? window : {});
13567
+ }).call(this, typeof Jt < "u" ? Jt : typeof self < "u" ? self : typeof window < "u" ? window : {});
13582
13568
  }, {}] }, {}, [10])(10);
13583
13569
  });
13584
13570
  }(io)), io.exports;
@@ -13636,7 +13622,7 @@ function Fh() {
13636
13622
  }
13637
13623
  return ii;
13638
13624
  }
13639
- var Vi = {}, Vt = {}, Mn = {}, au;
13625
+ var Vi = {}, Kt = {}, Mn = {}, au;
13640
13626
  function Sh() {
13641
13627
  if (au) return Mn;
13642
13628
  au = 1;
@@ -14100,7 +14086,7 @@ function nc() {
14100
14086
  return this.firstChild != null;
14101
14087
  },
14102
14088
  cloneNode: function(A) {
14103
- return Ht(this.ownerDocument || this, this, A);
14089
+ return jt(this.ownerDocument || this, this, A);
14104
14090
  },
14105
14091
  // Modified in DOM Level 2:
14106
14092
  normalize: function() {
@@ -14224,7 +14210,7 @@ function nc() {
14224
14210
  var J = t(q, ve);
14225
14211
  return !(F && J && q.indexOf(J) > q.indexOf(F));
14226
14212
  }
14227
- function V(A, F) {
14213
+ function K(A, F) {
14228
14214
  var q = A.childNodes || [];
14229
14215
  function J(_e) {
14230
14216
  return Ae(_e) && _e !== F;
@@ -14279,10 +14265,10 @@ function nc() {
14279
14265
  var _e = he.filter(Ae);
14280
14266
  if (_e.length > 1 || t(he, Be))
14281
14267
  throw new k(E, "More than one element or text in fragment");
14282
- if (_e.length === 1 && !V(A, q))
14268
+ if (_e.length === 1 && !K(A, q))
14283
14269
  throw new k(E, "Element in fragment can not be inserted before doctype");
14284
14270
  }
14285
- if (Ae(F) && !V(A, q))
14271
+ if (Ae(F) && !K(A, q))
14286
14272
  throw new k(E, "Only one element can be added and only after doctype");
14287
14273
  if (ve(F)) {
14288
14274
  if (t(J, function(St) {
@@ -14419,7 +14405,7 @@ function nc() {
14419
14405
  return q.ownerDocument = this, q.tagName = q.nodeName = q.target = A, q.nodeValue = q.data = F, q;
14420
14406
  },
14421
14407
  createAttribute: function(A) {
14422
- var F = new K();
14408
+ var F = new G();
14423
14409
  return F.ownerDocument = this, F.name = A, F.nodeName = A, F.localName = A, F.specified = !0, F;
14424
14410
  },
14425
14411
  createEntityReference: function(A) {
@@ -14433,7 +14419,7 @@ function nc() {
14433
14419
  },
14434
14420
  // Introduced in DOM Level 2:
14435
14421
  createAttributeNS: function(A, F) {
14436
- var q = new K(), J = F.split(":");
14422
+ var q = new G(), J = F.split(":");
14437
14423
  return q.ownerDocument = this, q.nodeName = F, q.name = F, q.namespaceURI = A, q.specified = !0, J.length == 2 ? (q.prefix = J[0], q.localName = J[1]) : q.localName = F, q;
14438
14424
  }
14439
14425
  }, u(oe, M);
@@ -14509,9 +14495,9 @@ function nc() {
14509
14495
  });
14510
14496
  }
14511
14497
  }, oe.prototype.getElementsByTagName = ee.prototype.getElementsByTagName, oe.prototype.getElementsByTagNameNS = ee.prototype.getElementsByTagNameNS, u(ee, M);
14512
- function K() {
14498
+ function G() {
14513
14499
  }
14514
- K.prototype.nodeType = g, u(K, M);
14500
+ G.prototype.nodeType = g, u(G, M);
14515
14501
  function I() {
14516
14502
  }
14517
14503
  I.prototype = {
@@ -14624,20 +14610,20 @@ function nc() {
14624
14610
  q = n.isHTML(A.namespaceURI) || q;
14625
14611
  var St = et;
14626
14612
  if (!q && !A.prefix && A.namespaceURI) {
14627
- for (var jt, Bt = 0; Bt < _e.length; Bt++)
14613
+ for (var Xt, Bt = 0; Bt < _e.length; Bt++)
14628
14614
  if (_e.item(Bt).name === "xmlns") {
14629
- jt = _e.item(Bt).value;
14615
+ Xt = _e.item(Bt).value;
14630
14616
  break;
14631
14617
  }
14632
- if (!jt)
14618
+ if (!Xt)
14633
14619
  for (var dn = he.length - 1; dn >= 0; dn--) {
14634
14620
  var ln = he[dn];
14635
14621
  if (ln.prefix === "" && ln.namespace === A.namespaceURI) {
14636
- jt = ln.namespace;
14622
+ Xt = ln.namespace;
14637
14623
  break;
14638
14624
  }
14639
14625
  }
14640
- if (jt !== A.namespaceURI)
14626
+ if (Xt !== A.namespaceURI)
14641
14627
  for (var dn = he.length - 1; dn >= 0; dn--) {
14642
14628
  var ln = he[dn];
14643
14629
  if (ln.namespace === A.namespaceURI) {
@@ -14731,7 +14717,7 @@ function nc() {
14731
14717
  J.appendChild(gt(A, he, q)), he = he.nextSibling;
14732
14718
  return J;
14733
14719
  }
14734
- function Ht(A, F, q) {
14720
+ function jt(A, F, q) {
14735
14721
  var J = new F.constructor();
14736
14722
  for (var he in F)
14737
14723
  if (Object.prototype.hasOwnProperty.call(F, he)) {
@@ -14742,15 +14728,15 @@ function nc() {
14742
14728
  case f:
14743
14729
  var We = F.attributes, et = J.attributes = new j(), St = We.length;
14744
14730
  et._ownerElement = J;
14745
- for (var jt = 0; jt < St; jt++)
14746
- J.setAttributeNode(Ht(A, We.item(jt), !0));
14731
+ for (var Xt = 0; Xt < St; Xt++)
14732
+ J.setAttributeNode(jt(A, We.item(Xt), !0));
14747
14733
  break;
14748
14734
  case g:
14749
14735
  q = !0;
14750
14736
  }
14751
14737
  if (q)
14752
14738
  for (var Bt = F.firstChild; Bt; )
14753
- J.appendChild(Ht(A, Bt, q)), Bt = Bt.nextSibling;
14739
+ J.appendChild(jt(A, Bt, q)), Bt = Bt.nextSibling;
14754
14740
  return J;
14755
14741
  }
14756
14742
  function Ii(A, F, q) {
@@ -16965,24 +16951,24 @@ function I2() {
16965
16951
  function x(ee) {
16966
16952
  if (ee > 65535) {
16967
16953
  ee -= 65536;
16968
- var K = 55296 + (ee >> 10), I = 56320 + (ee & 1023);
16969
- return String.fromCharCode(K, I);
16954
+ var G = 55296 + (ee >> 10), I = 56320 + (ee & 1023);
16955
+ return String.fromCharCode(G, I);
16970
16956
  } else
16971
16957
  return String.fromCharCode(ee);
16972
16958
  }
16973
16959
  function C(ee) {
16974
- var K = ee.slice(1, -1);
16975
- return Object.hasOwnProperty.call(B, K) ? B[K] : K.charAt(0) === "#" ? x(parseInt(K.substr(1).replace("x", "0x"))) : (P.error("entity not found:" + ee), ee);
16960
+ var G = ee.slice(1, -1);
16961
+ return Object.hasOwnProperty.call(B, G) ? B[G] : G.charAt(0) === "#" ? x(parseInt(G.substr(1).replace("x", "0x"))) : (P.error("entity not found:" + ee), ee);
16976
16962
  }
16977
16963
  function j(ee) {
16978
16964
  if (ee > oe) {
16979
- var K = E.substring(oe, ee).replace(/&#?\w+;/g, C);
16980
- M && O(oe), k.characters(K, 0, ee - oe), oe = ee;
16965
+ var G = E.substring(oe, ee).replace(/&#?\w+;/g, C);
16966
+ M && O(oe), k.characters(G, 0, ee - oe), oe = ee;
16981
16967
  }
16982
16968
  }
16983
- function O(ee, K) {
16984
- for (; ee >= $ && (K = ie.exec(E)); )
16985
- Q = K.index, $ = Q + K[0].length, M.lineNumber++;
16969
+ function O(ee, G) {
16970
+ for (; ee >= $ && (G = ie.exec(E)); )
16971
+ Q = G.index, $ = Q + G[0].length, M.lineNumber++;
16986
16972
  M.columnNumber = ee - Q + 1;
16987
16973
  }
16988
16974
  for (var Q = 0, $ = 0, ie = /.*(?:\r\n?|\n)|.*$/g, M = k.locator, R = [{ currentNSMap: W }], ae = {}, oe = 0; ; ) {
@@ -17018,15 +17004,15 @@ function I2() {
17018
17004
  break;
17019
17005
  default:
17020
17006
  M && O(ne);
17021
- var y = new U(), V = R[R.length - 1].currentNSMap, X = h(E, ne, y, V, C, P), N = y.length;
17007
+ var y = new U(), K = R[R.length - 1].currentNSMap, X = h(E, ne, y, K, C, P), N = y.length;
17022
17008
  if (!y.closed && v(E, X, y.tagName, ae) && (y.closed = !0, B.nbsp || P.warning("unclosed xml attribute")), M && N) {
17023
17009
  for (var S = m(M, {}), z = 0; z < N; z++) {
17024
17010
  var re = y[z];
17025
17011
  O(re.offset), re.locator = m(M, {});
17026
17012
  }
17027
- k.locator = S, b(y, k, V) && R.push(y), k.locator = M;
17013
+ k.locator = S, b(y, k, K) && R.push(y), k.locator = M;
17028
17014
  } else
17029
- b(y, k, V) && R.push(y);
17015
+ b(y, k, K) && R.push(y);
17030
17016
  e.isHTML(y.uri) && !y.closed ? X = p(E, X, y.tagName, C, k) : X++;
17031
17017
  }
17032
17018
  } catch (ee) {
@@ -18760,10 +18746,10 @@ function f1() {
18760
18746
  }
18761
18747
  var Ou;
18762
18748
  function ac() {
18763
- if (Ou) return Vt;
18749
+ if (Ou) return Kt;
18764
18750
  Ou = 1;
18765
18751
  var e = /* @__PURE__ */ Sh();
18766
- return Vt.Element = e.Element, Vt.element = e.element, Vt.emptyElement = e.emptyElement, Vt.text = e.text, Vt.readString = q2().readString, Vt.writeString = f1().writeString, Vt;
18752
+ return Kt.Element = e.Element, Kt.element = e.element, Kt.emptyElement = e.emptyElement, Kt.text = e.text, Kt.readString = q2().readString, Kt.writeString = f1().writeString, Kt;
18767
18753
  }
18768
18754
  var Mu;
18769
18755
  function g1() {
@@ -19931,7 +19917,7 @@ var Hu;
19931
19917
  function y1() {
19932
19918
  if (Hu) return Zi;
19933
19919
  Hu = 1, Zi.createBodyReader = s, Zi._readNumberingProperties = u;
19934
- var e = /* @__PURE__ */ m1(), t = qe, n = /* @__PURE__ */ Wn(), i = zt().Result, r = zt().warning, a = /* @__PURE__ */ ac(), o = /* @__PURE__ */ b1();
19920
+ var e = /* @__PURE__ */ m1(), t = qe, n = /* @__PURE__ */ Wn(), i = Ht().Result, r = Ht().warning, a = /* @__PURE__ */ ac(), o = /* @__PURE__ */ b1();
19935
19921
  function s(w) {
19936
19922
  return {
19937
19923
  readXmlElement: function(_) {
@@ -20032,8 +20018,8 @@ function y1() {
20032
20018
  function le(Z, se, ce, pe) {
20033
20019
  var Ee = [], Te = Z.first(se), Re = null, gt = null;
20034
20020
  if (Te && (Re = Te.attributes["w:val"], Re)) {
20035
- var Ht = pe(Re);
20036
- Ht ? gt = Ht.name : Ee.push(De(ce, Re));
20021
+ var jt = pe(Re);
20022
+ jt ? gt = jt.name : Ee.push(De(ce, Re));
20037
20023
  }
20038
20024
  return m({ styleId: Re, name: gt }, Ee);
20039
20025
  }
@@ -20102,7 +20088,7 @@ function y1() {
20102
20088
  commentId: Z.attributes["w:id"]
20103
20089
  }));
20104
20090
  }
20105
- function V(Z) {
20091
+ function K(Z) {
20106
20092
  return x(Z.children);
20107
20093
  }
20108
20094
  var X = {
@@ -20177,7 +20163,7 @@ function y1() {
20177
20163
  return se === "_GoBack" ? l() : D(new n.BookmarkStart({ name: se }));
20178
20164
  },
20179
20165
  "mc:AlternateContent": function(Z) {
20180
- return V(Z.first("mc:Fallback"));
20166
+ return K(Z.first("mc:Fallback"));
20181
20167
  },
20182
20168
  "w:sdt": function(Z) {
20183
20169
  var se = Z.firstOrEmpty("w:sdtPr").first("wordml:checkbox");
@@ -20191,22 +20177,22 @@ function y1() {
20191
20177
  } else
20192
20178
  return x(Z.firstOrEmpty("w:sdtContent").children);
20193
20179
  },
20194
- "w:ins": V,
20195
- "w:object": V,
20196
- "w:smartTag": V,
20197
- "w:drawing": V,
20180
+ "w:ins": K,
20181
+ "w:object": K,
20182
+ "w:smartTag": K,
20183
+ "w:drawing": K,
20198
20184
  "w:pict": function(Z) {
20199
- return V(Z).toExtra();
20185
+ return K(Z).toExtra();
20200
20186
  },
20201
- "v:roundrect": V,
20202
- "v:shape": V,
20203
- "v:textbox": V,
20204
- "w:txbxContent": V,
20187
+ "v:roundrect": K,
20188
+ "v:shape": K,
20189
+ "v:textbox": K,
20190
+ "w:txbxContent": K,
20205
20191
  "wp:inline": I,
20206
20192
  "wp:anchor": I,
20207
20193
  "v:imagedata": de,
20208
- "v:group": V,
20209
- "v:rect": V
20194
+ "v:group": K,
20195
+ "v:rect": K
20210
20196
  };
20211
20197
  return {
20212
20198
  readXmlElement: C,
@@ -20214,7 +20200,7 @@ function y1() {
20214
20200
  };
20215
20201
  function N(Z) {
20216
20202
  var se = S(Z.firstOrEmpty("w:tblPr"));
20217
- return x(Z.children).flatMap(K).flatMap(function(ce) {
20203
+ return x(Z.children).flatMap(G).flatMap(function(ce) {
20218
20204
  return se.map(function(pe) {
20219
20205
  return n.Table(ce, pe);
20220
20206
  });
@@ -20248,7 +20234,7 @@ function y1() {
20248
20234
  } else
20249
20235
  return null;
20250
20236
  }
20251
- function K(Z) {
20237
+ function G(Z) {
20252
20238
  var se = t.any(Z, function(Ee) {
20253
20239
  return Ee.type !== n.types.tableRow;
20254
20240
  });
@@ -20429,7 +20415,7 @@ var so = {}, ju;
20429
20415
  function D1() {
20430
20416
  if (ju) return so;
20431
20417
  ju = 1, so.DocumentXmlReader = n;
20432
- var e = /* @__PURE__ */ Wn(), t = zt().Result;
20418
+ var e = /* @__PURE__ */ Wn(), t = Ht().Result;
20433
20419
  function n(i) {
20434
20420
  var r = i.bodyReader;
20435
20421
  function a(o) {
@@ -20651,7 +20637,7 @@ var Pn = {}, Gu;
20651
20637
  function T1() {
20652
20638
  if (Gu) return Pn;
20653
20639
  Gu = 1;
20654
- var e = /* @__PURE__ */ Wn(), t = zt().Result;
20640
+ var e = /* @__PURE__ */ Wn(), t = Ht().Result;
20655
20641
  Pn.createFootnotesReader = n.bind(Pn, "footnote"), Pn.createEndnotesReader = n.bind(Pn, "endnote");
20656
20642
  function n(i, r) {
20657
20643
  function a(c) {
@@ -20675,7 +20661,7 @@ var co = {}, Zu;
20675
20661
  function U1() {
20676
20662
  if (Zu) return co;
20677
20663
  Zu = 1;
20678
- var e = /* @__PURE__ */ Wn(), t = zt().Result;
20664
+ var e = /* @__PURE__ */ Wn(), t = Ht().Result;
20679
20665
  function n(i) {
20680
20666
  function r(o) {
20681
20667
  return t.combine(o.getElementsByTagName("w:comment").map(a));
@@ -20719,7 +20705,7 @@ var Qu;
20719
20705
  function A1() {
20720
20706
  if (Qu) return Hi;
20721
20707
  Qu = 1, Hi.read = D, Hi._findPartPaths = m;
20722
- var e = /* @__PURE__ */ cn(), t = /* @__PURE__ */ Wn(), n = zt().Result, i = /* @__PURE__ */ Fh(), r = g1().readXmlFromZipFile, a = y1().createBodyReader, o = D1().DocumentXmlReader, s = /* @__PURE__ */ v1(), c = /* @__PURE__ */ x1(), u = /* @__PURE__ */ _1(), d = /* @__PURE__ */ w1(), f = /* @__PURE__ */ T1(), g = /* @__PURE__ */ U1(), l = E1().Files;
20708
+ var e = /* @__PURE__ */ cn(), t = /* @__PURE__ */ Wn(), n = Ht().Result, i = /* @__PURE__ */ Fh(), r = g1().readXmlFromZipFile, a = y1().createBodyReader, o = D1().DocumentXmlReader, s = /* @__PURE__ */ v1(), c = /* @__PURE__ */ x1(), u = /* @__PURE__ */ _1(), d = /* @__PURE__ */ w1(), f = /* @__PURE__ */ T1(), g = /* @__PURE__ */ U1(), l = E1().Files;
20723
20709
  function D(E, W) {
20724
20710
  return W = W || {}, e.props({
20725
20711
  contentTypes: _(E),
@@ -20923,9 +20909,9 @@ function C1() {
20923
20909
  }
20924
20910
  return er;
20925
20911
  }
20926
- var tr = {}, Dn = {}, Wt = {}, Kt = {}, ed;
20912
+ var tr = {}, Dn = {}, Wt = {}, Gt = {}, ed;
20927
20913
  function Rh() {
20928
- if (ed) return Kt;
20914
+ if (ed) return Gt;
20929
20915
  ed = 1;
20930
20916
  var e = /* @__PURE__ */ La();
20931
20917
  function t(c, u, d) {
@@ -20954,7 +20940,7 @@ function Rh() {
20954
20940
  var a = {
20955
20941
  type: "forceWrite"
20956
20942
  };
20957
- Kt.freshElement = n, Kt.nonFreshElement = t, Kt.elementWithTag = i, Kt.text = r, Kt.forceWrite = a;
20943
+ Gt.freshElement = n, Gt.nonFreshElement = t, Gt.elementWithTag = i, Gt.text = r, Gt.forceWrite = a;
20958
20944
  var o = {
20959
20945
  br: !0,
20960
20946
  hr: !0,
@@ -20964,7 +20950,7 @@ function Rh() {
20964
20950
  function s(c) {
20965
20951
  return c.children.length === 0 && o[c.tag.tagName];
20966
20952
  }
20967
- return Kt.isVoidElement = s, Kt;
20953
+ return Gt.isVoidElement = s, Gt;
20968
20954
  }
20969
20955
  var lo, td;
20970
20956
  function k1() {
@@ -21355,7 +21341,7 @@ var cd;
21355
21341
  function L1() {
21356
21342
  if (cd) return tr;
21357
21343
  cd = 1;
21358
- var e = qe, t = /* @__PURE__ */ cn(), n = /* @__PURE__ */ Wn(), i = /* @__PURE__ */ La(), r = /* @__PURE__ */ zt(), a = /* @__PURE__ */ Wh(), o = /* @__PURE__ */ Ba(), s = /* @__PURE__ */ B1();
21344
+ var e = qe, t = /* @__PURE__ */ cn(), n = /* @__PURE__ */ Wn(), i = /* @__PURE__ */ La(), r = /* @__PURE__ */ Ht(), a = /* @__PURE__ */ Wh(), o = /* @__PURE__ */ Ba(), s = /* @__PURE__ */ B1();
21359
21345
  tr.DocumentConverter = c;
21360
21346
  function c(h) {
21361
21347
  return {
@@ -21373,7 +21359,7 @@ function L1() {
21373
21359
  h = e.extend({ ignoreEmptyParagraphs: !0 }, h);
21374
21360
  var _ = h.idPrefix === void 0 ? "" : h.idPrefix, T = h.ignoreEmptyParagraphs, U = i.topLevelElement("p"), L = h.styleMap || [];
21375
21361
  function E(y) {
21376
- var V = [], X = B(y, V, {}), N = [];
21362
+ var K = [], X = B(y, K, {}), N = [];
21377
21363
  D(X, function(z) {
21378
21364
  z.type === "deferred" && N.push(z);
21379
21365
  });
@@ -21384,45 +21370,45 @@ function L1() {
21384
21370
  });
21385
21371
  }).then(function() {
21386
21372
  function z(ee) {
21387
- return l(ee, function(K) {
21388
- return K.type === "deferred" ? S[K.id] : K.children ? [
21389
- e.extend({}, K, {
21390
- children: z(K.children)
21373
+ return l(ee, function(G) {
21374
+ return G.type === "deferred" ? S[G.id] : G.children ? [
21375
+ e.extend({}, G, {
21376
+ children: z(G.children)
21391
21377
  })
21392
- ] : [K];
21378
+ ] : [G];
21393
21379
  });
21394
21380
  }
21395
21381
  var re = s.writer({
21396
21382
  prettyPrint: h.prettyPrint,
21397
21383
  outputFormat: h.outputFormat
21398
21384
  });
21399
- return o.write(re, o.simplify(z(X))), new r.Result(re.asString(), V);
21385
+ return o.write(re, o.simplify(z(X))), new r.Result(re.asString(), K);
21400
21386
  });
21401
21387
  }
21402
- function W(y, V, X) {
21388
+ function W(y, K, X) {
21403
21389
  return l(y, function(N) {
21404
- return B(N, V, X);
21390
+ return B(N, K, X);
21405
21391
  });
21406
21392
  }
21407
- function B(y, V, X) {
21393
+ function B(y, K, X) {
21408
21394
  if (!X)
21409
21395
  throw new Error("options not set");
21410
21396
  var N = Be[y.type];
21411
- return N ? N(y, V, X) : [];
21397
+ return N ? N(y, K, X) : [];
21412
21398
  }
21413
- function k(y, V, X) {
21414
- return P(y, V).wrap(function() {
21415
- var N = W(y.children, V, X);
21399
+ function k(y, K, X) {
21400
+ return P(y, K).wrap(function() {
21401
+ var N = W(y.children, K, X);
21416
21402
  return T ? N : [o.forceWrite].concat(N);
21417
21403
  });
21418
21404
  }
21419
- function P(y, V) {
21405
+ function P(y, K) {
21420
21406
  var X = O(y);
21421
- return X ? X.to : (y.styleId && V.push(g("paragraph", y)), U);
21407
+ return X ? X.to : (y.styleId && K.push(g("paragraph", y)), U);
21422
21408
  }
21423
- function x(y, V, X) {
21409
+ function x(y, K, X) {
21424
21410
  var N = function() {
21425
- return W(y.children, V, X);
21411
+ return W(y.children, K, X);
21426
21412
  }, S = [];
21427
21413
  if (y.highlight !== null) {
21428
21414
  var z = j({ type: "highlight", color: y.highlight });
@@ -21430,27 +21416,27 @@ function L1() {
21430
21416
  }
21431
21417
  y.isSmallCaps && S.push(C("smallCaps")), y.isAllCaps && S.push(C("allCaps")), y.isStrikethrough && S.push(C("strikethrough", "s")), y.isUnderline && S.push(C("underline")), y.verticalAlignment === n.verticalAlignment.subscript && S.push(i.element("sub", {}, { fresh: !1 })), y.verticalAlignment === n.verticalAlignment.superscript && S.push(i.element("sup", {}, { fresh: !1 })), y.isItalic && S.push(C("italic", "em")), y.isBold && S.push(C("bold", "strong"));
21432
21418
  var re = i.empty, ee = O(y);
21433
- return ee ? re = ee.to : y.styleId && V.push(g("run", y)), S.push(re), S.forEach(function(K) {
21434
- N = K.wrap.bind(K, N);
21419
+ return ee ? re = ee.to : y.styleId && K.push(g("run", y)), S.push(re), S.forEach(function(G) {
21420
+ N = G.wrap.bind(G, N);
21435
21421
  }), N();
21436
21422
  }
21437
- function C(y, V) {
21423
+ function C(y, K) {
21438
21424
  var X = j({ type: y });
21439
- return X || (V ? i.element(V, {}, { fresh: !1 }) : i.empty);
21425
+ return X || (K ? i.element(K, {}, { fresh: !1 }) : i.empty);
21440
21426
  }
21441
- function j(y, V) {
21427
+ function j(y, K) {
21442
21428
  var X = O(y);
21443
- return X ? X.to : V;
21429
+ return X ? X.to : K;
21444
21430
  }
21445
21431
  function O(y) {
21446
- for (var V = 0; V < L.length; V++)
21447
- if (L[V].from.matches(y))
21448
- return L[V];
21432
+ for (var K = 0; K < L.length; K++)
21433
+ if (L[K].from.matches(y))
21434
+ return L[K];
21449
21435
  }
21450
21436
  function Q(y) {
21451
- return function(V, X) {
21437
+ return function(K, X) {
21452
21438
  return t.attempt(function() {
21453
- return y(V, X);
21439
+ return y(K, X);
21454
21440
  }).caught(function(N) {
21455
21441
  return X.push(r.error(N)), [];
21456
21442
  });
@@ -21462,11 +21448,11 @@ function L1() {
21462
21448
  function ie(y) {
21463
21449
  return R(y.noteType, y.noteId);
21464
21450
  }
21465
- function M(y, V) {
21466
- return ae(y + "-" + V);
21451
+ function M(y, K) {
21452
+ return ae(y + "-" + K);
21467
21453
  }
21468
- function R(y, V) {
21469
- return ae(y + "-ref-" + V);
21454
+ function R(y, K) {
21455
+ return ae(y + "-ref-" + K);
21470
21456
  }
21471
21457
  function ae(y) {
21472
21458
  return _ + y;
@@ -21474,12 +21460,12 @@ function L1() {
21474
21460
  var oe = i.elements([
21475
21461
  i.element("table", {}, { fresh: !0 })
21476
21462
  ]);
21477
- function ne(y, V, X) {
21463
+ function ne(y, K, X) {
21478
21464
  return j(y, oe).wrap(function() {
21479
- return le(y, V, X);
21465
+ return le(y, K, X);
21480
21466
  });
21481
21467
  }
21482
- function le(y, V, X) {
21468
+ function le(y, K, X) {
21483
21469
  var N = e.findIndex(y.children, function(ee) {
21484
21470
  return !ee.type === n.types.tableRow || !ee.isHeader;
21485
21471
  });
@@ -21488,17 +21474,17 @@ function L1() {
21488
21474
  if (N === 0)
21489
21475
  S = W(
21490
21476
  y.children,
21491
- V,
21477
+ K,
21492
21478
  e.extend({}, X, { isTableHeader: !1 })
21493
21479
  );
21494
21480
  else {
21495
21481
  var z = W(
21496
21482
  y.children.slice(0, N),
21497
- V,
21483
+ K,
21498
21484
  e.extend({}, X, { isTableHeader: !0 })
21499
21485
  ), re = W(
21500
21486
  y.children.slice(N),
21501
- V,
21487
+ K,
21502
21488
  e.extend({}, X, { isTableHeader: !1 })
21503
21489
  );
21504
21490
  S = [
@@ -21508,19 +21494,19 @@ function L1() {
21508
21494
  }
21509
21495
  return [o.forceWrite].concat(S);
21510
21496
  }
21511
- function xe(y, V, X) {
21512
- var N = W(y.children, V, X);
21497
+ function xe(y, K, X) {
21498
+ var N = W(y.children, K, X);
21513
21499
  return [
21514
21500
  o.freshElement("tr", {}, [o.forceWrite].concat(N))
21515
21501
  ];
21516
21502
  }
21517
- function fe(y, V, X) {
21518
- var N = X.isTableHeader ? "th" : "td", S = W(y.children, V, X), z = {};
21503
+ function fe(y, K, X) {
21504
+ var N = X.isTableHeader ? "th" : "td", S = W(y.children, K, X), z = {};
21519
21505
  return y.colSpan !== 1 && (z.colspan = y.colSpan.toString()), y.rowSpan !== 1 && (z.rowspan = y.rowSpan.toString()), [
21520
21506
  o.freshElement(N, z, [o.forceWrite].concat(S))
21521
21507
  ];
21522
21508
  }
21523
- function me(y, V, X) {
21509
+ function me(y, K, X) {
21524
21510
  return j(y, i.ignore).wrap(function() {
21525
21511
  var N = b[y.commentId], S = w.length + 1, z = "[" + m(N) + S + "]";
21526
21512
  return w.push({ label: z, comment: N }), [
@@ -21531,8 +21517,8 @@ function L1() {
21531
21517
  ];
21532
21518
  });
21533
21519
  }
21534
- function ye(y, V, X) {
21535
- var N = y.label, S = y.comment, z = W(S.body, V, X).concat([
21520
+ function ye(y, K, X) {
21521
+ var N = y.label, S = y.comment, z = W(S.body, K, X).concat([
21536
21522
  o.nonFreshElement("p", {}, [
21537
21523
  o.text(" "),
21538
21524
  o.freshElement("a", { href: "#" + R("comment", S.commentId) }, [
@@ -21549,52 +21535,52 @@ function L1() {
21549
21535
  o.freshElement("dd", {}, z)
21550
21536
  ];
21551
21537
  }
21552
- function ve(y, V, X) {
21538
+ function ve(y, K, X) {
21553
21539
  return Ae(y).wrap(function() {
21554
21540
  return [];
21555
21541
  });
21556
21542
  }
21557
21543
  function Ae(y) {
21558
- var V = O(y);
21559
- return V ? V.to : y.breakType === "line" ? i.topLevelElement("br") : i.empty;
21544
+ var K = O(y);
21545
+ return K ? K.to : y.breakType === "line" ? i.topLevelElement("br") : i.empty;
21560
21546
  }
21561
21547
  var Be = {
21562
- document: function(y, V, X) {
21563
- var N = W(y.children, V, X), S = v.map(function(re) {
21548
+ document: function(y, K, X) {
21549
+ var N = W(y.children, K, X), S = v.map(function(re) {
21564
21550
  return y.notes.resolve(re);
21565
- }), z = W(S, V, X);
21551
+ }), z = W(S, K, X);
21566
21552
  return N.concat([
21567
21553
  o.freshElement("ol", {}, z),
21568
21554
  o.freshElement("dl", {}, l(w, function(re) {
21569
- return ye(re, V, X);
21555
+ return ye(re, K, X);
21570
21556
  }))
21571
21557
  ]);
21572
21558
  },
21573
21559
  paragraph: k,
21574
21560
  run: x,
21575
- text: function(y, V, X) {
21561
+ text: function(y, K, X) {
21576
21562
  return [o.text(y.value)];
21577
21563
  },
21578
- tab: function(y, V, X) {
21564
+ tab: function(y, K, X) {
21579
21565
  return [o.text(" ")];
21580
21566
  },
21581
- hyperlink: function(y, V, X) {
21567
+ hyperlink: function(y, K, X) {
21582
21568
  var N = y.anchor ? "#" + ae(y.anchor) : y.href, S = { href: N };
21583
21569
  y.targetFrame != null && (S.target = y.targetFrame);
21584
- var z = W(y.children, V, X);
21570
+ var z = W(y.children, K, X);
21585
21571
  return [o.nonFreshElement("a", S, z)];
21586
21572
  },
21587
21573
  checkbox: function(y) {
21588
- var V = { type: "checkbox" };
21589
- return y.checked && (V.checked = "checked"), [o.freshElement("input", V)];
21574
+ var K = { type: "checkbox" };
21575
+ return y.checked && (K.checked = "checked"), [o.freshElement("input", K)];
21590
21576
  },
21591
- bookmarkStart: function(y, V, X) {
21577
+ bookmarkStart: function(y, K, X) {
21592
21578
  var N = o.freshElement("a", {
21593
21579
  id: ae(y.name)
21594
21580
  }, [o.forceWrite]);
21595
21581
  return [N];
21596
21582
  },
21597
- noteReference: function(y, V, X) {
21583
+ noteReference: function(y, K, X) {
21598
21584
  v.push(y);
21599
21585
  var N = o.freshElement("a", {
21600
21586
  href: "#" + $(y),
@@ -21602,8 +21588,8 @@ function L1() {
21602
21588
  }, [o.text("[" + p++ + "]")]);
21603
21589
  return [o.freshElement("sup", {}, [N])];
21604
21590
  },
21605
- note: function(y, V, X) {
21606
- var N = W(y.body, V, X), S = o.elementWithTag(i.element("p", {}, { fresh: !1 }), [
21591
+ note: function(y, K, X) {
21592
+ var N = W(y.body, K, X), S = o.elementWithTag(i.element("p", {}, { fresh: !1 }), [
21607
21593
  o.text(" "),
21608
21594
  o.freshElement("a", { href: "#" + ie(y) }, [o.text("↑")])
21609
21595
  ]), z = N.concat([S]);
@@ -22404,7 +22390,7 @@ var Td;
22404
22390
  function H1() {
22405
22391
  if (Td) return di;
22406
22392
  Td = 1;
22407
- var e = qe, t = /* @__PURE__ */ qh(), n = /* @__PURE__ */ q1(), i = /* @__PURE__ */ La(), r = z1().tokenise, a = /* @__PURE__ */ zt();
22393
+ var e = qe, t = /* @__PURE__ */ qh(), n = /* @__PURE__ */ q1(), i = /* @__PURE__ */ La(), r = z1().tokenise, a = /* @__PURE__ */ Ht();
22408
22394
  di.readHtmlPath = d, di.readDocumentMatcher = c, di.readStyle = o;
22409
22395
  function o(L) {
22410
22396
  return w(U, L);
@@ -22501,8 +22487,8 @@ function H1() {
22501
22487
  ), Ae = t.rules.zeroOrMore(ve);
22502
22488
  return t.rules.then(Ae, function(Be) {
22503
22489
  var y = {};
22504
- return Be.forEach(function(V) {
22505
- e.extend(y, V);
22490
+ return Be.forEach(function(K) {
22491
+ e.extend(y, K);
22506
22492
  }), y;
22507
22493
  });
22508
22494
  }
@@ -22825,7 +22811,7 @@ var kd;
22825
22811
  function K1() {
22826
22812
  if (kd) return dt;
22827
22813
  kd = 1;
22828
- var e = qe, t = /* @__PURE__ */ A1(), n = /* @__PURE__ */ C1(), i = L1().DocumentConverter, r = N1().convertElementToRawText, a = H1().readStyle, o = j1().readOptions, s = /* @__PURE__ */ X1(), c = zt().Result;
22814
+ var e = qe, t = /* @__PURE__ */ A1(), n = /* @__PURE__ */ C1(), i = L1().DocumentConverter, r = N1().convertElementToRawText, a = H1().readStyle, o = j1().readOptions, s = /* @__PURE__ */ X1(), c = Ht().Result;
22829
22815
  dt.convertToHtml = u, dt.convertToMarkdown = d, dt.convert = f, dt.extractRawText = m, dt.images = /* @__PURE__ */ Wh(), dt.transforms = /* @__PURE__ */ $1(), dt.underline = /* @__PURE__ */ V1(), dt.embedStyleMap = h, dt.readEmbeddedStyleMap = g;
22830
22816
  function u(b, p) {
22831
22817
  return f(b, p);
@@ -22905,7 +22891,7 @@ function Q1(e, t) {
22905
22891
  return new File([e], t, { type: e.type });
22906
22892
  }
22907
22893
  function J1(e) {
22908
- const { toast: t } = Tf(), { t: n } = kt(), [i, r] = je(!1), a = nn(null);
22894
+ const { toast: t } = Tf(), { t: n } = kt(), [i, r] = je(!1), a = qt(null);
22909
22895
  function o() {
22910
22896
  var f;
22911
22897
  (f = a.current) == null || f.click();
@@ -22972,7 +22958,7 @@ function J1(e) {
22972
22958
  e.editor.chain().setContent(g, !0).run();
22973
22959
  }
22974
22960
  return /* @__PURE__ */ be("div", { children: [
22975
- /* @__PURE__ */ G(
22961
+ /* @__PURE__ */ V(
22976
22962
  Ce,
22977
22963
  {
22978
22964
  action: o,
@@ -22982,7 +22968,7 @@ function J1(e) {
22982
22968
  tooltip: e == null ? void 0 : e.tooltip
22983
22969
  }
22984
22970
  ),
22985
- /* @__PURE__ */ G(
22971
+ /* @__PURE__ */ V(
22986
22972
  "input",
22987
22973
  {
22988
22974
  accept: ".docx",
@@ -23105,7 +23091,7 @@ function cb(e) {
23105
23091
  }), t;
23106
23092
  }
23107
23093
  function ub({ editor: e }) {
23108
- const t = Vo(), [n, i] = je([]), { t: r } = kt(), a = en(() => {
23094
+ const t = Vo(), [n, i] = je([]), { t: r } = kt(), a = tn(() => {
23109
23095
  const o = [], s = e.state.tr;
23110
23096
  e.state.doc.descendants((c, u) => {
23111
23097
  if (c.type.name === "heading") {
@@ -23133,14 +23119,14 @@ function ub({ editor: e }) {
23133
23119
  }
23134
23120
  }, [e, a]), ot(() => {
23135
23121
  a();
23136
- }, []), /* @__PURE__ */ G(gi, { className: yt("tableOfContent", nr.toc, t && nr.visible), children: t ? /* @__PURE__ */ be("div", { style: { position: "relative" }, children: [
23137
- /* @__PURE__ */ G("p", { className: "text-[20px] mb-[8px] font-semibold", children: r("editor.table_of_content") }),
23138
- /* @__PURE__ */ G("ul", { className: nr.list, children: n.map((o, s) => /* @__PURE__ */ G(
23122
+ }, []), /* @__PURE__ */ V(gi, { className: yt("tableOfContent", nr.toc, t && nr.visible), children: t ? /* @__PURE__ */ be("div", { style: { position: "relative" }, children: [
23123
+ /* @__PURE__ */ V("p", { className: "text-[20px] mb-[8px] font-semibold", children: r("editor.table_of_content") }),
23124
+ /* @__PURE__ */ V("ul", { className: nr.list, children: n.map((o, s) => /* @__PURE__ */ V(
23139
23125
  "li",
23140
23126
  {
23141
23127
  className: nr.item,
23142
23128
  style: { paddingLeft: `${o.level - 1}rem` },
23143
- children: /* @__PURE__ */ G("a", { href: `#${o.id}`, children: o.text })
23129
+ children: /* @__PURE__ */ V("a", { href: `#${o.id}`, children: o.text })
23144
23130
  },
23145
23131
  `table-of-content-${s}`
23146
23132
  )) })
@@ -23158,14 +23144,14 @@ function db(e, ...t) {
23158
23144
  }, [e, t, i]), n;
23159
23145
  }
23160
23146
  function lb({ editor: e, icon: t, tooltip: n }) {
23161
- const i = db(e, gb.name), r = en(() => {
23147
+ const i = db(e, gb.name), r = tn(() => {
23162
23148
  if (i) {
23163
23149
  e.chain().focus().removeTableOfContents().run();
23164
23150
  return;
23165
23151
  }
23166
23152
  e.chain().focus().setTableOfContents().run();
23167
23153
  }, [e, i]);
23168
- return /* @__PURE__ */ G(
23154
+ return /* @__PURE__ */ V(
23169
23155
  Ce,
23170
23156
  {
23171
23157
  action: r,
@@ -23279,19 +23265,19 @@ function pb(e) {
23279
23265
  };
23280
23266
  }, [e]);
23281
23267
  return /* @__PURE__ */ be(Fi, { modal: !0, children: [
23282
- /* @__PURE__ */ G(
23268
+ /* @__PURE__ */ V(
23283
23269
  Si,
23284
23270
  {
23285
23271
  asChild: !0,
23286
23272
  disabled: e == null ? void 0 : e.disabled,
23287
- children: /* @__PURE__ */ G(
23273
+ children: /* @__PURE__ */ V(
23288
23274
  Ce,
23289
23275
  {
23290
23276
  customClass: "!w-12 h-12",
23291
23277
  disabled: e == null ? void 0 : e.disabled,
23292
23278
  icon: e == null ? void 0 : e.icon,
23293
23279
  tooltip: e == null ? void 0 : e.tooltip,
23294
- children: /* @__PURE__ */ G(
23280
+ children: /* @__PURE__ */ V(
23295
23281
  st,
23296
23282
  {
23297
23283
  className: "ml-1 size-3 text-zinc-500",
@@ -23302,7 +23288,7 @@ function pb(e) {
23302
23288
  )
23303
23289
  }
23304
23290
  ),
23305
- /* @__PURE__ */ G(
23291
+ /* @__PURE__ */ V(
23306
23292
  Bi,
23307
23293
  {
23308
23294
  align: "start",
@@ -23311,7 +23297,7 @@ function pb(e) {
23311
23297
  children: (n = e == null ? void 0 : e.items) == null ? void 0 : n.map((i, r) => {
23312
23298
  var a, o;
23313
23299
  return /* @__PURE__ */ be(aa, { children: [
23314
- /* @__PURE__ */ G(oa, { asChild: !0, children: /* @__PURE__ */ G(
23300
+ /* @__PURE__ */ V(oa, { asChild: !0, children: /* @__PURE__ */ V(
23315
23301
  Zo,
23316
23302
  {
23317
23303
  className: "size-7 p-1",
@@ -23319,12 +23305,12 @@ function pb(e) {
23319
23305
  onClick: i == null ? void 0 : i.action,
23320
23306
  pressed: t.title === i.title,
23321
23307
  size: "sm",
23322
- children: (i == null ? void 0 : i.icon) && /* @__PURE__ */ G(st, { name: i.icon })
23308
+ children: (i == null ? void 0 : i.icon) && /* @__PURE__ */ V(st, { name: i.icon })
23323
23309
  }
23324
23310
  ) }),
23325
23311
  /* @__PURE__ */ be(sa, { className: "flex flex-col items-center", children: [
23326
- /* @__PURE__ */ G("span", { children: i.title }),
23327
- !!((a = i.shortcutKeys) != null && a.length) && /* @__PURE__ */ G("span", { children: (o = i.shortcutKeys) == null ? void 0 : o.map((s) => Go(s)).join(" ") })
23312
+ /* @__PURE__ */ V("span", { children: i.title }),
23313
+ !!((a = i.shortcutKeys) != null && a.length) && /* @__PURE__ */ V("span", { children: (o = i.shortcutKeys) == null ? void 0 : o.map((s) => Go(s)).join(" ") })
23328
23314
  ] })
23329
23315
  ] }, `text-align-${r}`);
23330
23316
  })
@@ -23526,7 +23512,7 @@ const yy = Ne.create({
23526
23512
  itemUser: Db,
23527
23513
  selectedUser: vb
23528
23514
  }, xb = es((e, t) => {
23529
- const n = nn(null), [i, r] = je(0), a = (u) => {
23515
+ const n = qt(null), [i, r] = je(0), a = (u) => {
23530
23516
  const d = e.items[u];
23531
23517
  d && e.command({ id: d, label: d });
23532
23518
  }, o = () => {
@@ -23543,7 +23529,7 @@ const yy = Ne.create({
23543
23529
  u && rs(u, { behavior: "smooth", scrollMode: "if-needed" });
23544
23530
  }, [i]), ts(t, () => ({
23545
23531
  onKeyDown: ({ event: u }) => u.key === "ArrowUp" ? (o(), !0) : u.key === "ArrowDown" ? (s(), !0) : u.key === "Enter" ? (c(), !0) : !1
23546
- })), /* @__PURE__ */ G("div", { className: yt("listUsers", ir.listUsers), children: /* @__PURE__ */ G("div", { ref: n, children: e.items.length > 0 ? e.items.map((u, d) => /* @__PURE__ */ G(
23532
+ })), /* @__PURE__ */ V("div", { className: yt("listUsers", ir.listUsers), children: /* @__PURE__ */ V("div", { ref: n, children: e.items.length > 0 ? e.items.map((u, d) => /* @__PURE__ */ V(
23547
23533
  "span",
23548
23534
  {
23549
23535
  className: yt("itemUser", ir.itemUser, d === i ? ir.selectedUser : ""),
@@ -23551,7 +23537,7 @@ const yy = Ne.create({
23551
23537
  children: u
23552
23538
  },
23553
23539
  d
23554
- )) : /* @__PURE__ */ G("div", { className: yt("itemUserEmpty", ir.itemUser), children: "Empty" }) }) });
23540
+ )) : /* @__PURE__ */ V("div", { className: yt("itemUserEmpty", ir.itemUser), children: "Empty" }) }) });
23555
23541
  }), _b = [
23556
23542
  {
23557
23543
  id: "1",
@@ -23666,17 +23652,17 @@ function Ub(e) {
23666
23652
  }), a;
23667
23653
  }
23668
23654
  const Eb = {
23669
- audio: /* @__PURE__ */ G(Kf, {}),
23670
- video: /* @__PURE__ */ G(Vf, {}),
23671
- file: /* @__PURE__ */ G($f, {}),
23672
- image: /* @__PURE__ */ G(Xf, {}),
23673
- pdf: /* @__PURE__ */ G(Cf, {}),
23674
- word: /* @__PURE__ */ G(Af, {}),
23675
- excel: /* @__PURE__ */ G(jf, {}),
23676
- ppt: /* @__PURE__ */ G(Hf, {})
23655
+ audio: /* @__PURE__ */ V(Kf, {}),
23656
+ video: /* @__PURE__ */ V(Vf, {}),
23657
+ file: /* @__PURE__ */ V($f, {}),
23658
+ image: /* @__PURE__ */ V(Xf, {}),
23659
+ pdf: /* @__PURE__ */ V(Cf, {}),
23660
+ word: /* @__PURE__ */ V(Af, {}),
23661
+ excel: /* @__PURE__ */ V(jf, {}),
23662
+ ppt: /* @__PURE__ */ V(Hf, {})
23677
23663
  };
23678
23664
  function zh(e, t = !1) {
23679
- const n = Ef(e), i = Eb[n] || /* @__PURE__ */ G(ca, {});
23665
+ const n = Ef(e), i = Eb[n] || /* @__PURE__ */ V(ca, {});
23680
23666
  return t ? Ub(n) : i;
23681
23667
  }
23682
23668
  const Ab = "_wrap_1x1ms_2", So = {
@@ -23684,9 +23670,9 @@ const Ab = "_wrap_1x1ms_2", So = {
23684
23670
  };
23685
23671
  function Cb({ editor: e, node: t, updateAttributes: n, deleteNode: i, extension: r }) {
23686
23672
  var _;
23687
- const a = nn(null), o = Vo(), { hasTrigger: s, fileName: c, fileSize: u, fileExt: d, fileType: f, url: g, error: l } = t.attrs, [D, m] = je(!1), { t: h } = kt(), b = (_ = r == null ? void 0 : r.options) == null ? void 0 : _.upload, p = en(() => {
23673
+ const a = qt(null), o = Vo(), { hasTrigger: s, fileName: c, fileSize: u, fileExt: d, fileType: f, url: g, error: l } = t.attrs, [D, m] = je(!1), { t: h } = kt(), b = (_ = r == null ? void 0 : r.options) == null ? void 0 : _.upload, p = tn(() => {
23688
23674
  !o || g || o && a.current.click();
23689
- }, [o, g]), v = en(
23675
+ }, [o, g]), v = tn(
23690
23676
  async (T) => {
23691
23677
  const U = T.target.files && T.target.files[0];
23692
23678
  if (!U)
@@ -23710,17 +23696,17 @@ function Cb({ editor: e, node: t, updateAttributes: n, deleteNode: i, extension:
23710
23696
  ot(() => {
23711
23697
  !g && !s && (p(), n({ hasTrigger: !0 }));
23712
23698
  }, [g, s, p, n]);
23713
- const w = en(() => i(), [e]);
23714
- return o && !g ? /* @__PURE__ */ G(gi, { children: /* @__PURE__ */ be("div", { className: yt(So.wrap, "render-wrapper"), children: [
23715
- /* @__PURE__ */ G(
23699
+ const w = tn(() => i(), [e]);
23700
+ return o && !g ? /* @__PURE__ */ V(gi, { children: /* @__PURE__ */ be("div", { className: yt(So.wrap, "render-wrapper"), children: [
23701
+ /* @__PURE__ */ V(
23716
23702
  "p",
23717
23703
  {
23718
23704
  onClick: p,
23719
23705
  style: { cursor: "pointer" },
23720
- children: D ? /* @__PURE__ */ G("span", { children: h("editor.attachment.uploading") }) : /* @__PURE__ */ G("span", { children: h("editor.attachment.please_upload") })
23706
+ children: D ? /* @__PURE__ */ V("span", { children: h("editor.attachment.uploading") }) : /* @__PURE__ */ V("span", { children: h("editor.attachment.please_upload") })
23721
23707
  }
23722
23708
  ),
23723
- /* @__PURE__ */ G(
23709
+ /* @__PURE__ */ V(
23724
23710
  "input",
23725
23711
  {
23726
23712
  hidden: !0,
@@ -23729,14 +23715,14 @@ function Cb({ editor: e, node: t, updateAttributes: n, deleteNode: i, extension:
23729
23715
  type: "file"
23730
23716
  }
23731
23717
  )
23732
- ] }) }) : g ? /* @__PURE__ */ G(gi, { children: /* @__PURE__ */ be(
23718
+ ] }) }) : g ? /* @__PURE__ */ V(gi, { children: /* @__PURE__ */ be(
23733
23719
  "div",
23734
23720
  {
23735
23721
  className: yt(So.wrap, "render-wrapper"),
23736
23722
  onClick: p,
23737
23723
  children: [
23738
23724
  /* @__PURE__ */ be("div", { className: "flex items-center gap-[4px]", children: [
23739
- /* @__PURE__ */ G("span", { children: zh(f) }),
23725
+ /* @__PURE__ */ V("span", { children: zh(f) }),
23740
23726
  /* @__PURE__ */ be("span", { children: [
23741
23727
  c,
23742
23728
  ".",
@@ -23748,7 +23734,7 @@ function Cb({ editor: e, node: t, updateAttributes: n, deleteNode: i, extension:
23748
23734
  ")"
23749
23735
  ] })
23750
23736
  ] }),
23751
- /* @__PURE__ */ G(
23737
+ /* @__PURE__ */ V(
23752
23738
  Ce,
23753
23739
  {
23754
23740
  action: w,
@@ -23758,14 +23744,14 @@ function Cb({ editor: e, node: t, updateAttributes: n, deleteNode: i, extension:
23758
23744
  )
23759
23745
  ]
23760
23746
  }
23761
- ) }) : l !== "null" ? /* @__PURE__ */ G(gi, { children: /* @__PURE__ */ G(
23747
+ ) }) : l !== "null" ? /* @__PURE__ */ V(gi, { children: /* @__PURE__ */ V(
23762
23748
  "div",
23763
23749
  {
23764
23750
  className: yt(So.wrap, "render-wrapper"),
23765
23751
  onClick: p,
23766
- children: /* @__PURE__ */ G("p", { children: l })
23752
+ children: /* @__PURE__ */ V("p", { children: l })
23767
23753
  }
23768
- ) }) : /* @__PURE__ */ G(ca, {});
23754
+ ) }) : /* @__PURE__ */ V(ca, {});
23769
23755
  }
23770
23756
  const vy = $e.create({
23771
23757
  name: "attachment",