@beterdichtbij/component-library 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +5 -5
  2. package/dist/bd-component-lib.cjs.js +13 -13
  3. package/dist/bd-component-lib.es.js +271 -266
  4. package/dist/bd-component-lib.umd.js +14 -14
  5. package/dist/components/atoms/BDAlert/BDAlert.vue.d.ts.map +1 -1
  6. package/dist/components/atoms/BDArticle/BDArticle.vue.d.ts.map +1 -1
  7. package/dist/components/atoms/BDBadge/BDBadge.vue.d.ts.map +1 -1
  8. package/dist/components/atoms/BDButton/BDButton.vue.d.ts.map +1 -1
  9. package/dist/components/atoms/BDCard/BDCard.vue.d.ts.map +1 -1
  10. package/dist/components/atoms/BDCollapsableCard/BDCollapsableCard.vue.d.ts.map +1 -1
  11. package/dist/components/atoms/BDForm/BDForm.vue.d.ts.map +1 -1
  12. package/dist/components/atoms/BDFormCheckbox/BDFormCheckbox.vue.d.ts.map +1 -1
  13. package/dist/components/atoms/BDFormInput/BDFormInput.vue.d.ts.map +1 -1
  14. package/dist/components/atoms/BDFormInvalidFeedback/BDFormInvalidFeedback.vue.d.ts.map +1 -1
  15. package/dist/components/atoms/BDFormSelect/BDFormSelect.vue.d.ts.map +1 -1
  16. package/dist/components/atoms/BDInputGroup/BDInputGroup.vue.d.ts.map +1 -1
  17. package/dist/components/atoms/BDLink/BDLink.vue.d.ts.map +1 -1
  18. package/dist/components/atoms/BDPagination/BDPagination.vue.d.ts.map +1 -1
  19. package/dist/components/atoms/BDProfileImage/BDProfileImage.vue.d.ts.map +1 -1
  20. package/dist/components/atoms/BDToast/BDToast.vue.d.ts.map +1 -1
  21. package/dist/components/atoms/BDZoomslider/BDZoomslider.vue.d.ts.map +1 -1
  22. package/dist/components/molecules/BDDropdownItem/BDDropdownItem.vue.d.ts.map +1 -1
  23. package/dist/components/molecules/BDDropzone/BDDropzone.vue.d.ts.map +1 -1
  24. package/dist/components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue.d.ts.map +1 -1
  25. package/dist/components/molecules/BDUser/BDUser.vue.d.ts.map +1 -1
  26. package/dist/components/organisms/BDDropdown/BDDropdown.vue.d.ts.map +1 -1
  27. package/dist/components/organisms/BDModal/BDModal.vue.d.ts.map +1 -1
  28. package/dist/scss/_alert.scss +11 -11
  29. package/dist/scss/_article.scss +23 -23
  30. package/dist/scss/_base.scss +1 -1
  31. package/dist/scss/_button.scss +54 -54
  32. package/dist/scss/_card.scss +82 -82
  33. package/dist/scss/_collapsable-card.scss +118 -118
  34. package/dist/scss/_dropdown.scss +101 -101
  35. package/dist/scss/_dropzone.scss +71 -71
  36. package/dist/scss/_forms.scss +2 -2
  37. package/dist/scss/_icons.scss +52 -52
  38. package/dist/scss/_markdown-editor.scss +47 -47
  39. package/dist/scss/_modal.scss +15 -15
  40. package/dist/scss/_pagination.scss +29 -29
  41. package/dist/scss/_profile-image.scss +47 -47
  42. package/dist/scss/_toast.scss +83 -83
  43. package/dist/scss/_user.scss +5 -5
  44. package/dist/scss/_zoomslider.scss +76 -71
  45. package/dist/scss/base/typography.scss +15 -15
  46. package/dist/scss/base/variables.scss +162 -162
  47. package/dist/scss/component-library-styling.scss +19 -17
  48. package/dist/scss/forms/_form-check.scss +11 -11
  49. package/dist/scss/forms/_form-input.scss +3 -3
  50. package/dist/scss/mixins.scss +46 -46
  51. package/package.json +122 -122
@@ -1,4 +1,4 @@
1
- import { defineComponent as Be, computed as Ie, openBlock as de, createElementBlock as ve, normalizeClass as je, renderSlot as We, createElementVNode as ue, mergeProps as Cn, createStaticVNode as wf, resolveComponent as Cf, createBlock as vt, resolveDynamicComponent as No, withCtx as ft, createTextVNode as un, toDisplayString as Je, createVNode as Ue, unref as Ee, createCommentVNode as Xe, getCurrentScope as Tf, onScopeDispose as kf, ref as dn, watch as sr, getCurrentInstance as nu, nextTick as ru, withDirectives as ei, isRef as ua, vModelText as Af, withKeys as Of, useAttrs as Mf, Fragment as gi, withModifiers as dl, onMounted as vi, vShow as fl, renderList as iu, vModelSelect as If, vModelCheckbox as Rf, Teleport as ou, normalizeProps as su, guardReactiveProps as au, onBeforeUnmount as Lo, h as _n, watchEffect as Df, shallowRef as Nf, reactive as Lf, markRaw as Pf, customRef as Ff } from "vue";
1
+ import { defineComponent as Be, computed as Ie, openBlock as de, createElementBlock as ve, normalizeClass as je, renderSlot as Ge, createElementVNode as ue, mergeProps as wn, createStaticVNode as wf, resolveComponent as Cf, createBlock as vt, resolveDynamicComponent as No, withCtx as dt, createTextVNode as un, toDisplayString as Je, createVNode as Ue, unref as Ee, createCommentVNode as Xe, getCurrentScope as Tf, onScopeDispose as kf, ref as Cn, watch as sr, getCurrentInstance as nu, nextTick as ru, withDirectives as ei, isRef as ua, vModelText as Af, withKeys as Of, useAttrs as Mf, Fragment as gi, withModifiers as dl, onMounted as vi, vShow as fl, renderList as iu, vModelSelect as If, vModelCheckbox as Rf, Teleport as ou, normalizeProps as su, guardReactiveProps as au, onBeforeUnmount as Lo, h as _n, watchEffect as Df, shallowRef as Nf, reactive as Lf, markRaw as Pf, customRef as Ff } from "vue";
2
2
  const Bf = /* @__PURE__ */ Be({
3
3
  __name: "BDCol",
4
4
  props: {
@@ -28,7 +28,7 @@ const Bf = /* @__PURE__ */ Be({
28
28
  return (r, i) => (de(), ve("div", {
29
29
  class: je(t.value)
30
30
  }, [
31
- We(r.$slots, "default")
31
+ Ge(r.$slots, "default")
32
32
  ], 2));
33
33
  }
34
34
  }), zf = /* @__PURE__ */ Be({
@@ -47,7 +47,7 @@ const Bf = /* @__PURE__ */ Be({
47
47
  return (r, i) => (de(), ve("div", {
48
48
  class: je(t.value)
49
49
  }, [
50
- We(r.$slots, "default")
50
+ Ge(r.$slots, "default")
51
51
  ], 2));
52
52
  }
53
53
  }), $f = /* @__PURE__ */ Be({
@@ -59,10 +59,10 @@ const Bf = /* @__PURE__ */ Be({
59
59
  return (e, t) => (de(), ve("div", {
60
60
  class: je(["row", e.class])
61
61
  }, [
62
- We(e.$slots, "default")
62
+ Ge(e.$slots, "default")
63
63
  ], 2));
64
64
  }
65
- }), dt = {
65
+ }), gt = {
66
66
  XS: "xs",
67
67
  SM: "sm",
68
68
  MD: "md",
@@ -144,9 +144,9 @@ const lu = /* @__PURE__ */ lt(sp, [["render", up]]), dp = {}, fp = {
144
144
  "xml:space": "preserve",
145
145
  class: "icon icon-file"
146
146
  }, pp = /* @__PURE__ */ ue("title", null, "common-file-empty", -1), hp = /* @__PURE__ */ ue("g", null, [
147
- /* @__PURE__ */ ue("path", { d: `M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883
148
- c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5
149
- c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883
147
+ /* @__PURE__ */ ue("path", { d: `M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883\r
148
+ c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5\r
149
+ c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883\r
150
150
  C18.406,1.576,18.22,1.5,18.023,1.5H3.023z` })
151
151
  ], -1), mp = [
152
152
  pp,
@@ -298,7 +298,7 @@ const bu = /* @__PURE__ */ lt(lh, [["render", fh]]), ph = {}, hh = /* @__PURE__
298
298
  hh
299
299
  ];
300
300
  function gh(n, e) {
301
- return de(), ve("svg", Cn({ class: "bd-logo" }, n.$attrs, {
301
+ return de(), ve("svg", wn({ class: "bd-logo" }, n.$attrs, {
302
302
  version: "1.1",
303
303
  xmlns: "http://www.w3.org/2000/svg",
304
304
  "xmlns:xlink": "http://www.w3.org/1999/xlink"
@@ -322,9 +322,9 @@ const vh = /* @__PURE__ */ lt(ph, [["render", gh]]), pl = /^https:/i, ha = /* @_
322
322
  return { to: i };
323
323
  }
324
324
  });
325
- return (i, o) => (de(), vt(No(t.value), Cn({ class: "bd-link" }, r.value), {
326
- default: ft(() => [
327
- We(i.$slots, "default", {}, () => [
325
+ return (i, o) => (de(), vt(No(t.value), wn({ class: "bd-link" }, r.value), {
326
+ default: dt(() => [
327
+ Ge(i.$slots, "default", {}, () => [
328
328
  un(Je(e.text), 1)
329
329
  ])
330
330
  ]),
@@ -359,14 +359,14 @@ const vh = /* @__PURE__ */ lt(ph, [["render", gh]]), pl = /^https:/i, ha = /* @_
359
359
  ue("strong", null, Je(e.title), 1)
360
360
  ])
361
361
  ])) : Xe("", !0),
362
- We(r.$slots, "default")
362
+ Ge(r.$slots, "default")
363
363
  ], 2));
364
364
  }
365
365
  }), xh = ["src", "alt"], Sh = ["textContent"], xu = /* @__PURE__ */ Be({
366
366
  __name: "BDProfileImage",
367
367
  props: {
368
368
  showFooter: { type: Boolean, default: !1 },
369
- size: { default: dt.LG },
369
+ size: { default: gt.LG },
370
370
  linkText: { default: "" },
371
371
  src: { default: "" },
372
372
  alt: { default: "" }
@@ -477,7 +477,7 @@ function Dh(n) {
477
477
  return JSON.parse(JSON.stringify(n));
478
478
  }
479
479
  function Nh(n, e = {}) {
480
- const { initialValue: t = !1, focusVisible: r = !1 } = e, i = dn(!1), o = Ie(() => Su(n));
480
+ const { initialValue: t = !1, focusVisible: r = !1 } = e, i = Cn(!1), o = Ie(() => Su(n));
481
481
  hl(o, "focus", (l) => {
482
482
  var a, c;
483
483
  (!r || (c = (a = l.target).matches) != null && c.call(a, ":focus-visible")) && (i.value = !0);
@@ -513,7 +513,7 @@ function dr(n, e, t, r = {}) {
513
513
  f ? f(w) && h(m, w) : h(m, w);
514
514
  };
515
515
  if (a) {
516
- const w = x(), y = dn(w);
516
+ const w = x(), y = Cn(w);
517
517
  let R = !1;
518
518
  return sr(
519
519
  () => n[e],
@@ -614,7 +614,7 @@ function Uh(n) {
614
614
  return wi.substring(Xn, Xn++ + t);
615
615
  }
616
616
  function Fo() {
617
- return { uniqueIdentifier: dn(Uh()) };
617
+ return { uniqueIdentifier: Cn(Uh()) };
618
618
  }
619
619
  const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
620
620
  __name: "BDCard",
@@ -650,7 +650,7 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
650
650
  key: 0,
651
651
  class: je(o.value)
652
652
  }, [
653
- We(l.$slots, "header", {}, () => [
653
+ Ge(l.$slots, "header", {}, () => [
654
654
  l.title ? (de(), ve("h2", jh, Je(l.title), 1)) : Xe("", !0)
655
655
  ])
656
656
  ], 2)) : Xe("", !0),
@@ -658,7 +658,7 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
658
658
  key: 1,
659
659
  class: je(s.value)
660
660
  }, [
661
- We(l.$slots, "body")
661
+ Ge(l.$slots, "body")
662
662
  ], 2))
663
663
  ], 10, Vh));
664
664
  }
@@ -672,15 +672,15 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
672
672
  },
673
673
  setup(n) {
674
674
  const e = n, { uniqueIdentifier: t } = Fo(), r = t.value, i = Ie(() => `bd-collapsable-card__collapse-${r}`), o = Ie(() => ({
675
- "d-block": [dt.SM, dt.MD].includes(e.showOn.toLowerCase()),
676
- "d-md-none": e.showOn.toLowerCase() == dt.SM,
675
+ "d-block": [gt.SM, gt.MD].includes(e.showOn.toLowerCase()),
676
+ "d-md-none": e.showOn.toLowerCase() == gt.SM,
677
677
  // Hides tablet sizes and up.
678
- "d-lg-none": e.showOn.toLowerCase() == dt.MD
678
+ "d-lg-none": e.showOn.toLowerCase() == gt.MD
679
679
  // Hides laptop sizes and up.
680
680
  })), s = Ie(() => {
681
681
  let a = {
682
- "round-corners-sm": e.showOn.toLowerCase() == dt.SM,
683
- "round-corners-md": e.showOn.toLowerCase() == dt.MD,
682
+ "round-corners-sm": e.showOn.toLowerCase() == gt.SM,
683
+ "round-corners-md": e.showOn.toLowerCase() == gt.MD,
684
684
  "is-disabled": e.disabled,
685
685
  "round-corners": !e.visible
686
686
  };
@@ -692,8 +692,8 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
692
692
  "collapsable-body": !0,
693
693
  [`${i.value}`]: !0,
694
694
  "display-none": !e.visible || e.disabled,
695
- "open-collapse-lg": e.visible && [dt.SM, dt.MD].includes(e.showOn.toLowerCase()),
696
- "open-collapse-md": e.showOn.toLowerCase() == dt.SM && e.visible
695
+ "open-collapse-lg": e.visible && [gt.SM, gt.MD].includes(e.showOn.toLowerCase()),
696
+ "open-collapse-md": e.showOn.toLowerCase() == gt.SM && e.visible
697
697
  };
698
698
  return Object.keys(a).filter((c) => a[c]).join(" ");
699
699
  });
@@ -703,10 +703,10 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
703
703
  "header-class": s.value,
704
704
  "body-class": l.value
705
705
  }, {
706
- header: ft(() => [
706
+ header: dt(() => [
707
707
  a.title ? (de(), ve("h2", Wh, Je(a.title), 1)) : Xe("", !0),
708
708
  ue("div", Kh, [
709
- We(a.$slots, "action"),
709
+ Ge(a.$slots, "action"),
710
710
  !a.disabled && a.visible ? (de(), ve("button", {
711
711
  key: 0,
712
712
  class: je(["btn btn-white btn-caret", o.value]),
@@ -719,8 +719,8 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
719
719
  ], 10, Gh)) : Xe("", !0)
720
720
  ])
721
721
  ]),
722
- body: ft(() => [
723
- We(a.$slots, "body")
722
+ body: dt(() => [
723
+ Ge(a.$slots, "body")
724
724
  ]),
725
725
  _: 3
726
726
  }, 8, ["title", "header-class", "body-class"]));
@@ -740,7 +740,7 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
740
740
  readonly: { type: [Boolean, null], default: null },
741
741
  disabled: { type: [Boolean, null], default: null },
742
742
  autofocus: { type: [Boolean, null], default: null },
743
- size: { default: dt.MD },
743
+ size: { default: gt.MD },
744
744
  tabindex: { default: null },
745
745
  invalidFeedbackClass: { default: void 0 },
746
746
  invalidFeedbackText: { default: void 0 },
@@ -776,7 +776,7 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
776
776
  ue("div", {
777
777
  class: je(f.formFieldClass)
778
778
  }, [
779
- ue("input", Cn({
779
+ ue("input", wn({
780
780
  value: Ee(i),
781
781
  type: f.type,
782
782
  id: l,
@@ -788,7 +788,7 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
788
788
  onBlur: p[2] || (p[2] = (h) => f.$emit("blur")),
789
789
  onKeydown: p[3] || (p[3] = Of((h) => f.$emit("enter"), ["enter"]))
790
790
  }), null, 16, Yh),
791
- We(f.$slots, "default"),
791
+ Ge(f.$slots, "default"),
792
792
  Ue(Ee(ma), {
793
793
  text: f.invalidFeedbackText,
794
794
  class: je(f.invalidFeedbackClass),
@@ -815,7 +815,7 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
815
815
  ue("div", {
816
816
  class: je(["input-group bd-input-group", Ee(t).class])
817
817
  }, [
818
- We(r.$slots, "default")
818
+ Ge(r.$slots, "default")
819
819
  ], 2)
820
820
  ], 64));
821
821
  }
@@ -842,7 +842,7 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
842
842
  role: "status",
843
843
  class: je(t.value)
844
844
  }, [
845
- We(r.$slots, "default")
845
+ Ge(r.$slots, "default")
846
846
  ], 2));
847
847
  }
848
848
  }), em = ["onSubmit", "onReset"], tm = /* @__PURE__ */ Be({
@@ -859,7 +859,7 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
859
859
  onSubmit: dl(t, ["prevent"]),
860
860
  onReset: dl(r, ["prevent"])
861
861
  }, [
862
- We(i.$slots, "default")
862
+ Ge(i.$slots, "default")
863
863
  ], 40, em));
864
864
  }
865
865
  }), nm = {
@@ -875,7 +875,7 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
875
875
  },
876
876
  emits: ["click", "update:modelValue"],
877
877
  setup(n, { emit: e }) {
878
- const t = n, r = dr(t, "modelValue", e), i = Ih(r, { nanToZero: !0, method: "parseInt" }), o = dn(Math.ceil(t.totalRows / t.rowsPerPage)), s = dn([]);
878
+ const t = n, r = dr(t, "modelValue", e), i = Ih(r, { nanToZero: !0, method: "parseInt" }), o = Cn(Math.ceil(t.totalRows / t.rowsPerPage)), s = Cn([]);
879
879
  sr([() => t.totalRows, () => t.rowsPerPage], () => {
880
880
  o.value = Math.ceil(t.totalRows / t.rowsPerPage), s.value = c();
881
881
  }), vi(() => {
@@ -955,7 +955,7 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
955
955
  }), cm = ["disabled"], um = ["value"], dm = /* @__PURE__ */ Be({
956
956
  __name: "BDFormSelect",
957
957
  props: {
958
- size: { default: dt.MD },
958
+ size: { default: gt.MD },
959
959
  disabled: { type: Boolean },
960
960
  autofocus: { type: Boolean, default: !1 },
961
961
  options: { default: void 0 },
@@ -964,11 +964,11 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
964
964
  },
965
965
  emits: ["update:modelValue", "change", "input"],
966
966
  setup(n, { emit: e }) {
967
- const t = n, r = dr(t, "modelValue", e), i = dn(null), { focused: o } = Nh(i, { initialValue: t.autofocus }), s = Ie(() => ({
967
+ const t = n, r = dr(t, "modelValue", e), i = Cn(null), { focused: o } = Nh(i, { initialValue: t.autofocus }), s = Ie(() => ({
968
968
  "form-select": !0,
969
969
  "bd-form-select": !0,
970
970
  "is-invalid": t.state === !1,
971
- [`form-select-${t.size}`]: t.size !== dt.MD
971
+ [`form-select-${t.size}`]: ["xs", "sm", "lg"].includes(t.size)
972
972
  }));
973
973
  sr(() => t.autofocus, (c) => {
974
974
  c && (o.value = !0);
@@ -987,12 +987,12 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
987
987
  onInput: l,
988
988
  onChange: a
989
989
  }, [
990
- We(c.$slots, "first"),
991
- (de(!0), ve(gi, null, iu(t.options, (d) => (de(), ve("option", {
992
- value: d.value,
993
- key: d.value
994
- }, Je(d.text), 9, um))), 128)),
995
- We(c.$slots, "default")
990
+ Ge(c.$slots, "first", {}, () => [
991
+ (de(!0), ve(gi, null, iu(t.options, (d) => (de(), ve("option", {
992
+ value: d.value,
993
+ key: d.value
994
+ }, Je(d.text), 9, um))), 128))
995
+ ])
996
996
  ], 42, cm)), [
997
997
  [If, Ee(r)]
998
998
  ]);
@@ -1036,9 +1036,9 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
1036
1036
  [Rf, Ee(r)]
1037
1037
  ]),
1038
1038
  ue("label", pm, [
1039
- We(a.$slots, "default")
1039
+ Ge(a.$slots, "default")
1040
1040
  ]),
1041
- We(a.$slots, "last")
1041
+ Ge(a.$slots, "last")
1042
1042
  ], 2));
1043
1043
  }
1044
1044
  }), mm = {
@@ -1061,17 +1061,17 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
1061
1061
  onClick: r
1062
1062
  }, [
1063
1063
  ue("header", null, [
1064
- We(i.$slots, "header", {}, () => [
1064
+ Ge(i.$slots, "header", {}, () => [
1065
1065
  ue("h5", null, Je(t.title), 1)
1066
1066
  ])
1067
1067
  ]),
1068
1068
  t.hideBody ? Xe("", !0) : (de(), ve("div", mm, [
1069
- We(i.$slots, "default", {}, () => [
1069
+ Ge(i.$slots, "default", {}, () => [
1070
1070
  un(Je(t.text), 1)
1071
1071
  ])
1072
1072
  ])),
1073
1073
  t.hideFooter ? Xe("", !0) : (de(), ve("footer", gm, [
1074
- We(i.$slots, "footer")
1074
+ Ge(i.$slots, "footer")
1075
1075
  ]))
1076
1076
  ]));
1077
1077
  }
@@ -1133,13 +1133,13 @@ const Vh = ["id"], jh = { key: 0 }, wu = /* @__PURE__ */ Be({
1133
1133
  const t = n, r = () => {
1134
1134
  e("click");
1135
1135
  };
1136
- return (i, o) => (de(), ve("li", Cn({ class: "bd-dropdown-item" }, i.$attrs), [
1137
- Ue(ha, Cn({
1136
+ return (i, o) => (de(), ve("li", wn({ class: "bd-dropdown-item" }, i.$attrs), [
1137
+ Ue(ha, wn({
1138
1138
  class: "dropdown-item",
1139
1139
  onClick: r
1140
1140
  }, t), {
1141
- default: ft(() => [
1142
- We(i.$slots, "default", {}, () => [
1141
+ default: dt(() => [
1142
+ Ge(i.$slots, "default", {}, () => [
1143
1143
  un(Je(t.text), 1)
1144
1144
  ])
1145
1145
  ]),
@@ -3172,28 +3172,28 @@ var Cu = { exports: {} };
3172
3172
  oe in Ne || x(Ne, oe, He[oe]);
3173
3173
  }), Ne.prototype = _e) : (Ne = G(function(oe, se, Se, Te) {
3174
3174
  m(oe, Ne, ge);
3175
- var Ke = 0, Ze = 0, mt, gt, it;
3175
+ var We = 0, Ze = 0, ht, mt, it;
3176
3176
  if (!z(se))
3177
- it = w(se), gt = it * le, mt = new ke(gt);
3177
+ it = w(se), mt = it * le, ht = new ke(mt);
3178
3178
  else if (N(se)) {
3179
- mt = se, Ze = y(Se, le);
3179
+ ht = se, Ze = y(Se, le);
3180
3180
  var _t = se.byteLength;
3181
3181
  if (Te === void 0) {
3182
- if (_t % le || (gt = _t - Ze, gt < 0))
3182
+ if (_t % le || (mt = _t - Ze, mt < 0))
3183
3183
  throw Oe(M);
3184
- } else if (gt = E(Te) * le, gt + Ze > _t)
3184
+ } else if (mt = E(Te) * le, mt + Ze > _t)
3185
3185
  throw Oe(M);
3186
- it = gt / le;
3186
+ it = mt / le;
3187
3187
  } else
3188
3188
  return v(se) ? I(Ne, se) : L.call(Ne, se);
3189
3189
  for (fe(oe, {
3190
- buffer: mt,
3190
+ buffer: ht,
3191
3191
  byteOffset: Ze,
3192
- byteLength: gt,
3192
+ byteLength: mt,
3193
3193
  length: it,
3194
- view: new Me(mt)
3195
- }); Ke < it; )
3196
- Y(oe, Ke++);
3194
+ view: new Me(ht)
3195
+ }); We < it; )
3196
+ Y(oe, We++);
3197
3197
  }), B && B(Ne, O), _e = Ne.prototype = $(S)), _e.constructor !== Ne && x(_e, "constructor", Ne), k && x(_e, k, ge), wt[ge] = Ne, c({
3198
3198
  global: !0,
3199
3199
  forced: Ne != He,
@@ -4347,8 +4347,8 @@ var Cu = { exports: {} };
4347
4347
  return T === "." || T.toLowerCase() === "%2e";
4348
4348
  }, Ne = function(T) {
4349
4349
  return T = T.toLowerCase(), T === ".." || T === "%2e." || T === ".%2e" || T === "%2e%2e";
4350
- }, _e = {}, wt = {}, ct = {}, Tn = {}, Y = {}, oe = {}, se = {}, Se = {}, Te = {}, Ke = {}, Ze = {}, mt = {}, gt = {}, it = {}, _t = {}, kn = {}, Mt = {}, Lt = {}, fr = {}, Pt = {}, gn = {}, en = function(T, _, Q, ee) {
4351
- var re = Q || _e, Ae = 0, he = "", ze = !1, Ye = !1, Qe = !1, Bt, te, tt, vn;
4350
+ }, _e = {}, wt = {}, ct = {}, Tn = {}, Y = {}, oe = {}, se = {}, Se = {}, Te = {}, We = {}, Ze = {}, ht = {}, mt = {}, it = {}, _t = {}, kn = {}, Mt = {}, Lt = {}, fr = {}, Pt = {}, mn = {}, en = function(T, _, Q, ee) {
4351
+ var re = Q || _e, Ae = 0, he = "", ze = !1, Ye = !1, Qe = !1, Bt, te, tt, gn;
4352
4352
  for (Q || (T.scheme = "", T.username = "", T.password = "", T.host = null, T.port = null, T.path = [], T.query = null, T.fragment = null, T.cannotBeABaseURL = !1, _ = _.replace(k, "")), _ = _.replace(O, ""), Bt = E(_); Ae <= Bt.length; ) {
4353
4353
  switch (te = Bt[Ae], re) {
4354
4354
  case _e:
@@ -4383,7 +4383,7 @@ var Cu = { exports: {} };
4383
4383
  if (!ee || ee.cannotBeABaseURL && te != "#")
4384
4384
  return Z;
4385
4385
  if (ee.cannotBeABaseURL && te == "#") {
4386
- T.scheme = ee.scheme, T.path = ee.path.slice(), T.query = ee.query, T.fragment = "", T.cannotBeABaseURL = !0, re = gn;
4386
+ T.scheme = ee.scheme, T.path = ee.path.slice(), T.query = ee.query, T.fragment = "", T.cannotBeABaseURL = !0, re = mn;
4387
4387
  break;
4388
4388
  }
4389
4389
  re = ee.scheme == "file" ? it : oe;
@@ -4398,7 +4398,7 @@ var Cu = { exports: {} };
4398
4398
  break;
4399
4399
  case Y:
4400
4400
  if (te == "/") {
4401
- re = Ke;
4401
+ re = We;
4402
4402
  break;
4403
4403
  } else {
4404
4404
  re = Lt;
@@ -4412,7 +4412,7 @@ var Cu = { exports: {} };
4412
4412
  else if (te == "?")
4413
4413
  T.username = ee.username, T.password = ee.password, T.host = ee.host, T.port = ee.port, T.path = ee.path.slice(), T.query = "", re = Pt;
4414
4414
  else if (te == "#")
4415
- T.username = ee.username, T.password = ee.password, T.host = ee.host, T.port = ee.port, T.path = ee.path.slice(), T.query = ee.query, T.fragment = "", re = gn;
4415
+ T.username = ee.username, T.password = ee.password, T.host = ee.host, T.port = ee.port, T.path = ee.path.slice(), T.query = ee.query, T.fragment = "", re = mn;
4416
4416
  else {
4417
4417
  T.username = ee.username, T.password = ee.password, T.host = ee.host, T.port = ee.port, T.path = ee.path.slice(), T.path.pop(), re = Lt;
4418
4418
  continue;
@@ -4422,7 +4422,7 @@ var Cu = { exports: {} };
4422
4422
  if (G(T) && (te == "/" || te == "\\"))
4423
4423
  re = Te;
4424
4424
  else if (te == "/")
4425
- re = Ke;
4425
+ re = We;
4426
4426
  else {
4427
4427
  T.username = ee.username, T.password = ee.password, T.host = ee.host, T.port = ee.port, re = Lt;
4428
4428
  continue;
@@ -4435,11 +4435,11 @@ var Cu = { exports: {} };
4435
4435
  break;
4436
4436
  case Te:
4437
4437
  if (te != "/" && te != "\\") {
4438
- re = Ke;
4438
+ re = We;
4439
4439
  continue;
4440
4440
  }
4441
4441
  break;
4442
- case Ke:
4442
+ case We:
4443
4443
  if (te == "@") {
4444
4444
  ze && (he = "%40" + he), ze = !0, tt = E(he);
4445
4445
  for (var _o = 0; _o < tt.length; _o++) {
@@ -4460,31 +4460,31 @@ var Cu = { exports: {} };
4460
4460
  he += te;
4461
4461
  break;
4462
4462
  case Ze:
4463
- case mt:
4463
+ case ht:
4464
4464
  if (Q && T.scheme == "file") {
4465
4465
  re = kn;
4466
4466
  continue;
4467
4467
  } else if (te == ":" && !Ye) {
4468
4468
  if (he == "")
4469
4469
  return ne;
4470
- if (vn = A(T, he), vn)
4471
- return vn;
4472
- if (he = "", re = gt, Q == mt)
4470
+ if (gn = A(T, he), gn)
4471
+ return gn;
4472
+ if (he = "", re = mt, Q == ht)
4473
4473
  return;
4474
4474
  } else if (te == S || te == "/" || te == "?" || te == "#" || te == "\\" && G(T)) {
4475
4475
  if (G(T) && he == "")
4476
4476
  return ne;
4477
4477
  if (Q && he == "" && (q(T) || T.port !== null))
4478
4478
  return;
4479
- if (vn = A(T, he), vn)
4480
- return vn;
4479
+ if (gn = A(T, he), gn)
4480
+ return gn;
4481
4481
  if (he = "", re = Mt, Q)
4482
4482
  return;
4483
4483
  continue;
4484
4484
  } else
4485
4485
  te == "[" ? Ye = !0 : te == "]" && (Ye = !1), he += te;
4486
4486
  break;
4487
- case gt:
4487
+ case mt:
4488
4488
  if (be.test(te))
4489
4489
  he += te;
4490
4490
  else if (te == S || te == "/" || te == "?" || te == "#" || te == "\\" && G(T) || Q) {
@@ -4510,7 +4510,7 @@ var Cu = { exports: {} };
4510
4510
  else if (te == "?")
4511
4511
  T.host = ee.host, T.path = ee.path.slice(), T.query = "", re = Pt;
4512
4512
  else if (te == "#")
4513
- T.host = ee.host, T.path = ee.path.slice(), T.query = ee.query, T.fragment = "", re = gn;
4513
+ T.host = ee.host, T.path = ee.path.slice(), T.query = ee.query, T.fragment = "", re = mn;
4514
4514
  else {
4515
4515
  De(Bt.slice(Ae).join("")) || (T.host = ee.host, T.path = ee.path.slice(), Ve(T)), re = Lt;
4516
4516
  continue;
@@ -4536,8 +4536,8 @@ var Cu = { exports: {} };
4536
4536
  return;
4537
4537
  re = Mt;
4538
4538
  } else {
4539
- if (vn = A(T, he), vn)
4540
- return vn;
4539
+ if (gn = A(T, he), gn)
4540
+ return gn;
4541
4541
  if (T.host == "localhost" && (T.host = ""), Q)
4542
4542
  return;
4543
4543
  he = "", re = Mt;
@@ -4553,7 +4553,7 @@ var Cu = { exports: {} };
4553
4553
  } else if (!Q && te == "?")
4554
4554
  T.query = "", re = Pt;
4555
4555
  else if (!Q && te == "#")
4556
- T.fragment = "", re = gn;
4556
+ T.fragment = "", re = mn;
4557
4557
  else if (te != S && (re = Lt, te != "/"))
4558
4558
  continue;
4559
4559
  break;
@@ -4562,17 +4562,17 @@ var Cu = { exports: {} };
4562
4562
  if (Ne(he) ? (Ve(T), te != "/" && !(te == "\\" && G(T)) && T.path.push("")) : He(he) ? te != "/" && !(te == "\\" && G(T)) && T.path.push("") : (T.scheme == "file" && !T.path.length && ge(he) && (T.host && (T.host = ""), he = he.charAt(0) + ":"), T.path.push(he)), he = "", T.scheme == "file" && (te == S || te == "?" || te == "#"))
4563
4563
  for (; T.path.length > 1 && T.path[0] === ""; )
4564
4564
  T.path.shift();
4565
- te == "?" ? (T.query = "", re = Pt) : te == "#" && (T.fragment = "", re = gn);
4565
+ te == "?" ? (T.query = "", re = Pt) : te == "#" && (T.fragment = "", re = mn);
4566
4566
  } else
4567
4567
  he += V(te, H);
4568
4568
  break;
4569
4569
  case fr:
4570
- te == "?" ? (T.query = "", re = Pt) : te == "#" ? (T.fragment = "", re = gn) : te != S && (T.path[0] += V(te, D));
4570
+ te == "?" ? (T.query = "", re = Pt) : te == "#" ? (T.fragment = "", re = mn) : te != S && (T.path[0] += V(te, D));
4571
4571
  break;
4572
4572
  case Pt:
4573
- !Q && te == "#" ? (T.fragment = "", re = gn) : te != S && (te == "'" && G(T) ? T.query += "%27" : te == "#" ? T.query += "%23" : T.query += V(te, D));
4573
+ !Q && te == "#" ? (T.fragment = "", re = mn) : te != S && (te == "'" && G(T) ? T.query += "%27" : te == "#" ? T.query += "%23" : T.query += V(te, D));
4574
4574
  break;
4575
- case gn:
4575
+ case mn:
4576
4576
  te != S && (T.fragment += V(te, N));
4577
4577
  break;
4578
4578
  }
@@ -4681,13 +4681,13 @@ var Cu = { exports: {} };
4681
4681
  // https://url.spec.whatwg.org/#dom-url-hostname
4682
4682
  hostname: Ft(tl, function(T) {
4683
4683
  var _ = L(this);
4684
- _.cannotBeABaseURL || en(_, String(T), mt);
4684
+ _.cannotBeABaseURL || en(_, String(T), ht);
4685
4685
  }),
4686
4686
  // `URL.prototype.port` accessors pair
4687
4687
  // https://url.spec.whatwg.org/#dom-url-port
4688
4688
  port: Ft(nl, function(T) {
4689
4689
  var _ = L(this);
4690
- le(_) || (T = String(T), T == "" ? _.port = null : en(_, T, gt));
4690
+ le(_) || (T = String(T), T == "" ? _.port = null : en(_, T, mt));
4691
4691
  }),
4692
4692
  // `URL.prototype.pathname` accessors pair
4693
4693
  // https://url.spec.whatwg.org/#dom-url-pathname
@@ -4712,7 +4712,7 @@ var Cu = { exports: {} };
4712
4712
  _.fragment = null;
4713
4713
  return;
4714
4714
  }
4715
- T.charAt(0) == "#" && (T = T.slice(1)), _.fragment = "", en(_, T, gn);
4715
+ T.charAt(0) == "#" && (T = T.slice(1)), _.fragment = "", en(_, T, mn);
4716
4716
  })
4717
4717
  }), h(qo, "toJSON", function() {
4718
4718
  return Ei.call(this);
@@ -7110,7 +7110,7 @@ const vl = /* @__PURE__ */ Tm(km), Am = { class: "fallback" }, Om = /* @__PURE__
7110
7110
  },
7111
7111
  emits: ["update:modelValue"],
7112
7112
  setup(n, { emit: e }) {
7113
- const t = n, r = Ie(() => ({ variant: Po.PRIMARY, size: dt.SM })), i = dr(t, "modelValue", e);
7113
+ const t = n, r = Ie(() => ({ variant: Po.PRIMARY, size: gt.SM })), i = dr(t, "modelValue", e);
7114
7114
  let o = null;
7115
7115
  vl.autoDiscover = !1, vi(() => {
7116
7116
  var d;
@@ -7149,7 +7149,7 @@ const vl = /* @__PURE__ */ Tm(km), Am = { class: "fallback" }, Om = /* @__PURE__
7149
7149
  class: "dropzone bd-dropzone",
7150
7150
  enctype: "multipart/form-data"
7151
7151
  }, {
7152
- default: ft(() => [
7152
+ default: dt(() => [
7153
7153
  ue("div", Am, [
7154
7154
  Om,
7155
7155
  un(" test "),
@@ -7160,7 +7160,7 @@ const vl = /* @__PURE__ */ Tm(km), Am = { class: "fallback" }, Om = /* @__PURE__
7160
7160
  ]),
7161
7161
  ue("div", Im, [
7162
7162
  Ue(Ee(on), su(au(r.value)), {
7163
- default: ft(() => [
7163
+ default: dt(() => [
7164
7164
  Ue(Ee(zi)),
7165
7165
  un(" " + Je(t.buttonText), 1)
7166
7166
  ]),
@@ -7184,7 +7184,7 @@ const vl = /* @__PURE__ */ Tm(km), Am = { class: "fallback" }, Om = /* @__PURE__
7184
7184
  alt: "Click me to remove the file.",
7185
7185
  "data-dz-remove": ""
7186
7186
  }, {
7187
- default: ft(() => [
7187
+ default: dt(() => [
7188
7188
  Ue(Ee(lu))
7189
7189
  ]),
7190
7190
  _: 1
@@ -10218,7 +10218,7 @@ class Kr {
10218
10218
  }
10219
10219
  }
10220
10220
  const ss = /* @__PURE__ */ Object.create(null);
10221
- class ht {
10221
+ class pt {
10222
10222
  /**
10223
10223
  Get the step map that represents the changes made by this step,
10224
10224
  and which can be used to transform between positions in the old
@@ -10301,7 +10301,7 @@ function ga(n, e, t) {
10301
10301
  }
10302
10302
  return ie.fromArray(r);
10303
10303
  }
10304
- class Ln extends ht {
10304
+ class Ln extends pt {
10305
10305
  /**
10306
10306
  Create a mark step.
10307
10307
  */
@@ -10339,8 +10339,8 @@ class Ln extends ht {
10339
10339
  return new Ln(t.from, t.to, e.markFromJSON(t.mark));
10340
10340
  }
10341
10341
  }
10342
- ht.jsonID("addMark", Ln);
10343
- class cn extends ht {
10342
+ pt.jsonID("addMark", Ln);
10343
+ class cn extends pt {
10344
10344
  /**
10345
10345
  Create a mark-removing step.
10346
10346
  */
@@ -10378,8 +10378,8 @@ class cn extends ht {
10378
10378
  return new cn(t.from, t.to, e.markFromJSON(t.mark));
10379
10379
  }
10380
10380
  }
10381
- ht.jsonID("removeMark", cn);
10382
- class Pn extends ht {
10381
+ pt.jsonID("removeMark", cn);
10382
+ class Pn extends pt {
10383
10383
  /**
10384
10384
  Create a node mark step.
10385
10385
  */
@@ -10422,8 +10422,8 @@ class Pn extends ht {
10422
10422
  return new Pn(t.pos, e.markFromJSON(t.mark));
10423
10423
  }
10424
10424
  }
10425
- ht.jsonID("addNodeMark", Pn);
10426
- class Ar extends ht {
10425
+ pt.jsonID("addNodeMark", Pn);
10426
+ class Ar extends pt {
10427
10427
  /**
10428
10428
  Create a mark-removing step.
10429
10429
  */
@@ -10457,8 +10457,8 @@ class Ar extends ht {
10457
10457
  return new Ar(t.pos, e.markFromJSON(t.mark));
10458
10458
  }
10459
10459
  }
10460
- ht.jsonID("removeNodeMark", Ar);
10461
- class st extends ht {
10460
+ pt.jsonID("removeNodeMark", Ar);
10461
+ class st extends pt {
10462
10462
  /**
10463
10463
  The given `slice` should fit the 'gap' between `from` and
10464
10464
  `to`—the depths must line up, and the surrounding nodes must be
@@ -10509,8 +10509,8 @@ class st extends ht {
10509
10509
  return new st(t.from, t.to, pe.fromJSON(e, t.slice), !!t.structure);
10510
10510
  }
10511
10511
  }
10512
- ht.jsonID("replace", st);
10513
- class nt extends ht {
10512
+ pt.jsonID("replace", st);
10513
+ class nt extends pt {
10514
10514
  /**
10515
10515
  Create a replace-around step with the given range and gap.
10516
10516
  `insert` should be the point in the slice into which the content
@@ -10567,7 +10567,7 @@ class nt extends ht {
10567
10567
  return new nt(t.from, t.to, t.gapFrom, t.gapTo, pe.fromJSON(e, t.slice), t.insert, !!t.structure);
10568
10568
  }
10569
10569
  }
10570
- ht.jsonID("replaceAround", nt);
10570
+ pt.jsonID("replaceAround", nt);
10571
10571
  function Bs(n, e, t) {
10572
10572
  let r = n.resolve(e), i = t - e, o = r.depth;
10573
10573
  for (; i > 0 && o > 0 && r.indexAfter(o) == r.node(o).childCount; )
@@ -11104,7 +11104,7 @@ function Zu(n, e) {
11104
11104
  }
11105
11105
  return t;
11106
11106
  }
11107
- class Cr extends ht {
11107
+ class Cr extends pt {
11108
11108
  /**
11109
11109
  Construct an attribute step.
11110
11110
  */
@@ -11141,8 +11141,8 @@ class Cr extends ht {
11141
11141
  return new Cr(t.pos, t.attr, t.value);
11142
11142
  }
11143
11143
  }
11144
- ht.jsonID("attr", Cr);
11145
- class ri extends ht {
11144
+ pt.jsonID("attr", Cr);
11145
+ class ri extends pt {
11146
11146
  /**
11147
11147
  Construct an attribute step.
11148
11148
  */
@@ -11175,7 +11175,7 @@ class ri extends ht {
11175
11175
  return new ri(t.attr, t.value);
11176
11176
  }
11177
11177
  }
11178
- ht.jsonID("docAttr", ri);
11178
+ pt.jsonID("docAttr", ri);
11179
11179
  let Or = class extends Error {
11180
11180
  };
11181
11181
  Or = function n(e) {
@@ -12223,7 +12223,7 @@ const yt = function(n) {
12223
12223
  return e && e.nodeType == 11 ? e.host : e;
12224
12224
  };
12225
12225
  let Ll = null;
12226
- const xn = function(n, e, t) {
12226
+ const bn = function(n, e, t) {
12227
12227
  let r = Ll || (Ll = document.createRange());
12228
12228
  return r.setEnd(n, t ?? n.nodeValue.length), r.setStart(n, e || 0), r;
12229
12229
  }, lr = function(n, e, t, r) {
@@ -12292,9 +12292,9 @@ function zg(n, e, t) {
12292
12292
  return { node: r.startContainer, offset: r.startOffset };
12293
12293
  }
12294
12294
  }
12295
- const fn = typeof navigator < "u" ? navigator : null, Fl = typeof document < "u" ? document : null, Vn = fn && fn.userAgent || "", zs = /Edge\/(\d+)/.exec(Vn), ed = /MSIE \d/.exec(Vn), $s = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Vn), Tt = !!(ed || $s || zs), Bn = ed ? document.documentMode : $s ? +$s[1] : zs ? +zs[1] : 0, Zt = !Tt && /gecko\/(\d+)/i.test(Vn);
12295
+ const dn = typeof navigator < "u" ? navigator : null, Fl = typeof document < "u" ? document : null, Vn = dn && dn.userAgent || "", zs = /Edge\/(\d+)/.exec(Vn), ed = /MSIE \d/.exec(Vn), $s = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Vn), Tt = !!(ed || $s || zs), Bn = ed ? document.documentMode : $s ? +$s[1] : zs ? +zs[1] : 0, Zt = !Tt && /gecko\/(\d+)/i.test(Vn);
12296
12296
  Zt && +(/Firefox\/(\d+)/.exec(Vn) || [0, 0])[1];
12297
- const Hs = !Tt && /Chrome\/(\d+)/.exec(Vn), pt = !!Hs, $g = Hs ? +Hs[1] : 0, bt = !Tt && !!fn && /Apple Computer/.test(fn.vendor), Mr = bt && (/Mobile\/\w+/.test(Vn) || !!fn && fn.maxTouchPoints > 2), Ht = Mr || (fn ? /Mac/.test(fn.platform) : !1), Hg = fn ? /Win/.test(fn.platform) : !1, Jt = /Android \d/.test(Vn), yi = !!Fl && "webkitFontSmoothing" in Fl.documentElement.style, Ug = yi ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
12297
+ const Hs = !Tt && /Chrome\/(\d+)/.exec(Vn), ft = !!Hs, $g = Hs ? +Hs[1] : 0, bt = !Tt && !!dn && /Apple Computer/.test(dn.vendor), Mr = bt && (/Mobile\/\w+/.test(Vn) || !!dn && dn.maxTouchPoints > 2), Ht = Mr || (dn ? /Mac/.test(dn.platform) : !1), Hg = dn ? /Win/.test(dn.platform) : !1, Jt = /Android \d/.test(Vn), yi = !!Fl && "webkitFontSmoothing" in Fl.documentElement.style, Ug = yi ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
12298
12298
  function Vg(n) {
12299
12299
  return {
12300
12300
  left: 0,
@@ -12303,7 +12303,7 @@ function Vg(n) {
12303
12303
  bottom: n.documentElement.clientHeight
12304
12304
  };
12305
12305
  }
12306
- function yn(n, e) {
12306
+ function vn(n, e) {
12307
12307
  return typeof n == "number" ? n : n[e];
12308
12308
  }
12309
12309
  function jg(n) {
@@ -12321,7 +12321,7 @@ function Bl(n, e, t) {
12321
12321
  if (s.nodeType != 1)
12322
12322
  continue;
12323
12323
  let l = s, a = l == o.body, c = a ? Vg(o) : jg(l), u = 0, d = 0;
12324
- if (e.top < c.top + yn(r, "top") ? d = -(c.top - e.top + yn(i, "top")) : e.bottom > c.bottom - yn(r, "bottom") && (d = e.bottom - e.top > c.bottom - c.top ? e.top + yn(i, "top") - c.top : e.bottom - c.bottom + yn(i, "bottom")), e.left < c.left + yn(r, "left") ? u = -(c.left - e.left + yn(i, "left")) : e.right > c.right - yn(r, "right") && (u = e.right - c.right + yn(i, "right")), u || d)
12324
+ if (e.top < c.top + vn(r, "top") ? d = -(c.top - e.top + vn(i, "top")) : e.bottom > c.bottom - vn(r, "bottom") && (d = e.bottom - e.top > c.bottom - c.top ? e.top + vn(i, "top") - c.top : e.bottom - c.bottom + vn(i, "bottom")), e.left < c.left + vn(r, "left") ? u = -(c.left - e.left + vn(i, "left")) : e.right > c.right - vn(r, "right") && (u = e.right - c.right + vn(i, "right")), u || d)
12325
12325
  if (a)
12326
12326
  o.defaultView.scrollBy(u, d);
12327
12327
  else {
@@ -12384,7 +12384,7 @@ function rd(n, e) {
12384
12384
  if (u.nodeType == 1)
12385
12385
  f = u.getClientRects();
12386
12386
  else if (u.nodeType == 3)
12387
- f = xn(u).getClientRects();
12387
+ f = bn(u).getClientRects();
12388
12388
  else
12389
12389
  continue;
12390
12390
  for (let p = 0; p < f.length; p++) {
@@ -12505,11 +12505,11 @@ function od(n, e, t) {
12505
12505
  let { node: r, offset: i, atom: o } = n.docView.domFromPos(e, t < 0 ? -1 : 1), s = yi || Zt;
12506
12506
  if (r.nodeType == 3)
12507
12507
  if (s && (qg.test(r.nodeValue) || (t < 0 ? !i : i == r.nodeValue.length))) {
12508
- let a = Mn(xn(r, i, i), t);
12508
+ let a = Mn(bn(r, i, i), t);
12509
12509
  if (Zt && i && /\s/.test(r.nodeValue[i - 1]) && i < r.nodeValue.length) {
12510
- let c = Mn(xn(r, i - 1, i - 1), -1);
12510
+ let c = Mn(bn(r, i - 1, i - 1), -1);
12511
12511
  if (c.top == a.top) {
12512
- let u = Mn(xn(r, i, i + 1), -1);
12512
+ let u = Mn(bn(r, i, i + 1), -1);
12513
12513
  if (u.top != a.top)
12514
12514
  return zr(u, u.left < c.left);
12515
12515
  }
@@ -12517,7 +12517,7 @@ function od(n, e, t) {
12517
12517
  return a;
12518
12518
  } else {
12519
12519
  let a = i, c = i, u = t < 0 ? 1 : -1;
12520
- return t < 0 && !i ? (c++, u = -1) : t >= 0 && i == r.nodeValue.length ? (a--, u = 1) : t < 0 ? a-- : c++, zr(Mn(xn(r, a, c), u), u < 0);
12520
+ return t < 0 && !i ? (c++, u = -1) : t >= 0 && i == r.nodeValue.length ? (a--, u = 1) : t < 0 ? a-- : c++, zr(Mn(bn(r, a, c), u), u < 0);
12521
12521
  }
12522
12522
  if (!n.state.doc.resolve(e - (o || 0)).parent.inlineContent) {
12523
12523
  if (o == null && i && (t < 0 || i == an(r))) {
@@ -12533,7 +12533,7 @@ function od(n, e, t) {
12533
12533
  return fs(r.getBoundingClientRect(), t >= 0);
12534
12534
  }
12535
12535
  if (o == null && i && (t < 0 || i == an(r))) {
12536
- let a = r.childNodes[i - 1], c = a.nodeType == 3 ? xn(a, an(a) - (s ? 0 : 1)) : a.nodeType == 1 && (a.nodeName != "BR" || !a.nextSibling) ? a : null;
12536
+ let a = r.childNodes[i - 1], c = a.nodeType == 3 ? bn(a, an(a) - (s ? 0 : 1)) : a.nodeType == 1 && (a.nodeName != "BR" || !a.nextSibling) ? a : null;
12537
12537
  if (c)
12538
12538
  return zr(Mn(c, 1), !1);
12539
12539
  }
@@ -12541,11 +12541,11 @@ function od(n, e, t) {
12541
12541
  let a = r.childNodes[i];
12542
12542
  for (; a.pmViewDesc && a.pmViewDesc.ignoreForCoords; )
12543
12543
  a = a.nextSibling;
12544
- let c = a ? a.nodeType == 3 ? xn(a, 0, s ? 0 : 1) : a.nodeType == 1 ? a : null : null;
12544
+ let c = a ? a.nodeType == 3 ? bn(a, 0, s ? 0 : 1) : a.nodeType == 1 ? a : null : null;
12545
12545
  if (c)
12546
12546
  return zr(Mn(c, -1), !0);
12547
12547
  }
12548
- return zr(Mn(r.nodeType == 3 ? xn(r) : r, -t), t >= 0);
12548
+ return zr(Mn(r.nodeType == 3 ? bn(r) : r, -t), t >= 0);
12549
12549
  }
12550
12550
  function zr(n, e) {
12551
12551
  if (n.width == 0)
@@ -12588,7 +12588,7 @@ function _g(n, e, t) {
12588
12588
  if (l.nodeType == 1)
12589
12589
  a = l.getClientRects();
12590
12590
  else if (l.nodeType == 3)
12591
- a = xn(l, 0, l.nodeValue.length).getClientRects();
12591
+ a = bn(l, 0, l.nodeValue.length).getClientRects();
12592
12592
  else
12593
12593
  continue;
12594
12594
  for (let c = 0; c < a.length; c++) {
@@ -12621,7 +12621,7 @@ let $l = null, Hl = null, Ul = !1;
12621
12621
  function n1(n, e, t) {
12622
12622
  return $l == e && Hl == t ? Ul : ($l = e, Hl = t, Ul = t == "up" || t == "down" ? _g(n, e, t) : t1(n, e, t));
12623
12623
  }
12624
- const Vt = 0, Vl = 1, Zn = 2, pn = 3;
12624
+ const Vt = 0, Vl = 1, Zn = 2, fn = 3;
12625
12625
  class bi {
12626
12626
  constructor(e, t, r, i) {
12627
12627
  this.parent = e, this.children = t, this.dom = r, this.contentDOM = i, this.dirty = Vt, r.pmViewDesc = this;
@@ -12931,10 +12931,10 @@ class bi {
12931
12931
  if (r == s ? e <= s && t >= r : e < s && t > r) {
12932
12932
  let l = r + o.border, a = s - o.border;
12933
12933
  if (e >= l && t <= a) {
12934
- this.dirty = e == r || t == s ? Zn : Vl, e == l && t == a && (o.contentLost || o.dom.parentNode != this.contentDOM) ? o.dirty = pn : o.markDirty(e - l, t - l);
12934
+ this.dirty = e == r || t == s ? Zn : Vl, e == l && t == a && (o.contentLost || o.dom.parentNode != this.contentDOM) ? o.dirty = fn : o.markDirty(e - l, t - l);
12935
12935
  return;
12936
12936
  } else
12937
- o.dirty = o.dom == o.contentDOM && o.dom.parentNode == this.contentDOM && !o.children.length ? Zn : pn;
12937
+ o.dirty = o.dom == o.contentDOM && o.dom.parentNode == this.contentDOM && !o.children.length ? Zn : fn;
12938
12938
  }
12939
12939
  r = s;
12940
12940
  }
@@ -13020,10 +13020,10 @@ class cr extends bi {
13020
13020
  return (!s || !s.dom) && (s = ln.renderSpec(document, t.type.spec.toDOM(t, r))), new cr(e, t, s.dom, s.contentDOM || s.dom);
13021
13021
  }
13022
13022
  parseRule() {
13023
- return this.dirty & pn || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
13023
+ return this.dirty & fn || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
13024
13024
  }
13025
13025
  matchesMark(e) {
13026
- return this.dirty != pn && this.mark.eq(e);
13026
+ return this.dirty != fn && this.mark.eq(e);
13027
13027
  }
13028
13028
  markDirty(e, t) {
13029
13029
  if (super.markDirty(e, t), this.dirty != Vt) {
@@ -13145,7 +13145,7 @@ class zn extends bi {
13145
13145
  // If this desc must be updated to match the given node decoration,
13146
13146
  // do so and return true.
13147
13147
  update(e, t, r, i) {
13148
- return this.dirty == pn || !e.sameMarkup(this.node) ? !1 : (this.updateInner(e, t, r, i), !0);
13148
+ return this.dirty == fn || !e.sameMarkup(this.node) ? !1 : (this.updateInner(e, t, r, i), !0);
13149
13149
  }
13150
13150
  updateInner(e, t, r, i) {
13151
13151
  this.updateOuterDeco(t), this.node = e, this.innerDeco = r, this.contentDOM && this.updateChildren(i, this.posAtStart), this.dirty = Vt;
@@ -13184,7 +13184,7 @@ class Uo extends zn {
13184
13184
  return { skip: e || !0 };
13185
13185
  }
13186
13186
  update(e, t, r, i) {
13187
- return this.dirty == pn || this.dirty != Vt && !this.inParent() || !e.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(t), (this.dirty != Vt || e.text != this.node.text) && e.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = e.text, i.trackWrites == this.nodeDOM && (i.trackWrites = null)), this.node = e, this.dirty = Vt, !0);
13187
+ return this.dirty == fn || this.dirty != Vt && !this.inParent() || !e.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(t), (this.dirty != Vt || e.text != this.node.text) && e.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = e.text, i.trackWrites == this.nodeDOM && (i.trackWrites = null)), this.node = e, this.dirty = Vt, !0);
13188
13188
  }
13189
13189
  inParent() {
13190
13190
  let e = this.parent.contentDOM;
@@ -13207,7 +13207,7 @@ class Uo extends zn {
13207
13207
  return new Uo(this.parent, i, this.outerDeco, this.innerDeco, o, o, r);
13208
13208
  }
13209
13209
  markDirty(e, t) {
13210
- super.markDirty(e, t), this.dom != this.nodeDOM && (e == 0 || t == this.nodeDOM.nodeValue.length) && (this.dirty = pn);
13210
+ super.markDirty(e, t), this.dom != this.nodeDOM && (e == 0 || t == this.nodeDOM.nodeValue.length) && (this.dirty = fn);
13211
13211
  }
13212
13212
  get domAtom() {
13213
13213
  return !1;
@@ -13235,7 +13235,7 @@ class i1 extends zn {
13235
13235
  // through. If it does, and there's a `contentDOM` node, our logic
13236
13236
  // updates the children.
13237
13237
  update(e, t, r, i) {
13238
- if (this.dirty == pn)
13238
+ if (this.dirty == fn)
13239
13239
  return !1;
13240
13240
  if (this.spec.update) {
13241
13241
  let o = this.spec.update(e, t, r);
@@ -13415,7 +13415,7 @@ class s1 {
13415
13415
  }
13416
13416
  updateNodeAt(e, t, r, i, o) {
13417
13417
  let s = this.top.children[i];
13418
- return s.dirty == pn && s.dom == s.contentDOM && (s.dirty = Zn), s.update(e, t, r, o) ? (this.destroyBetween(this.index, i), this.index++, !0) : !1;
13418
+ return s.dirty == fn && s.dom == s.contentDOM && (s.dirty = Zn), s.update(e, t, r, o) ? (this.destroyBetween(this.index, i), this.index++, !0) : !1;
13419
13419
  }
13420
13420
  findIndexWithChild(e) {
13421
13421
  for (; ; ) {
@@ -13443,7 +13443,7 @@ class s1 {
13443
13443
  let c = this.preMatch.matched.get(a);
13444
13444
  if (c != null && c != o)
13445
13445
  return !1;
13446
- let u = a.dom, d, f = this.isLocked(u) && !(e.isText && a.node && a.node.isText && a.nodeDOM.nodeValue == e.text && a.dirty != pn && Vs(t, a.outerDeco));
13446
+ let u = a.dom, d, f = this.isLocked(u) && !(e.isText && a.node && a.node.isText && a.nodeDOM.nodeValue == e.text && a.dirty != fn && Vs(t, a.outerDeco));
13447
13447
  if (!f && a.update(e, t, r, i))
13448
13448
  return this.destroyBetween(this.index, l), a.dom != u && (this.changed = !0), this.index++, !0;
13449
13449
  if (!f && (d = this.recreateWrapper(a, e, t, r, i, s)))
@@ -13487,7 +13487,7 @@ class s1 {
13487
13487
  for (; e instanceof cr; )
13488
13488
  t = e, e = t.children[t.children.length - 1];
13489
13489
  (!e || // Empty textblock
13490
- !(e instanceof Uo) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((bt || pt) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", t), this.addHackNode("BR", this.top));
13490
+ !(e instanceof Uo) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((bt || ft) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", t), this.addHackNode("BR", this.top));
13491
13491
  }
13492
13492
  addHackNode(e, t) {
13493
13493
  if (t == this.top && this.index < t.children.length && t.children[this.index].matchesHack(e))
@@ -13663,10 +13663,10 @@ function Ea(n, e = null) {
13663
13663
  function fd(n) {
13664
13664
  return n.editable ? n.hasFocus() : hd(n) && document.activeElement && document.activeElement.contains(n.dom);
13665
13665
  }
13666
- function wn(n, e = !1) {
13666
+ function En(n, e = !1) {
13667
13667
  let t = n.state.selection;
13668
13668
  if (pd(n, t), !!fd(n)) {
13669
- if (!e && n.input.mouseDown && n.input.mouseDown.allowDefault && pt) {
13669
+ if (!e && n.input.mouseDown && n.input.mouseDown.allowDefault && ft) {
13670
13670
  let r = n.domSelectionRange(), i = n.domObserver.currentSelection;
13671
13671
  if (r.anchorNode && i.anchorNode && lr(r.anchorNode, r.anchorOffset, i.anchorNode, i.anchorOffset)) {
13672
13672
  n.input.mouseDown.delayedSelectionSync = !0, n.domObserver.setCurSelection();
@@ -13682,7 +13682,7 @@ function wn(n, e = !1) {
13682
13682
  n.domObserver.setCurSelection(), n.domObserver.connectSelection();
13683
13683
  }
13684
13684
  }
13685
- const Kl = bt || pt && $g < 63;
13685
+ const Kl = bt || ft && $g < 63;
13686
13686
  function Gl(n, e) {
13687
13687
  let { node: t, offset: r } = n.docView.domFromPos(e, 0), i = r < t.childNodes.length ? t.childNodes[r] : null, o = r ? t.childNodes[r - 1] : null;
13688
13688
  if (bt && i && i.contentEditable == "false")
@@ -13902,12 +13902,12 @@ function Ks(n, e, t) {
13902
13902
  n.domObserver.setCurSelection();
13903
13903
  let { state: i } = n;
13904
13904
  setTimeout(() => {
13905
- n.state == i && wn(n);
13905
+ n.state == i && En(n);
13906
13906
  }, 50);
13907
13907
  }
13908
13908
  function Ql(n, e) {
13909
13909
  let t = n.state.doc.resolve(e);
13910
- if (!(pt || Hg) && t.parent.inlineContent) {
13910
+ if (!(ft || Hg) && t.parent.inlineContent) {
13911
13911
  let i = n.coordsAtPos(e);
13912
13912
  if (e > t.start()) {
13913
13913
  let o = n.coordsAtPos(e - 1), s = (o.top + o.bottom) / 2;
@@ -14155,7 +14155,7 @@ function T1(n) {
14155
14155
  return t;
14156
14156
  }
14157
14157
  function k1(n) {
14158
- let e = n.querySelectorAll(pt ? "span:not([class]):not([style])" : "span.Apple-converted-space");
14158
+ let e = n.querySelectorAll(ft ? "span:not([class]):not([style])" : "span.Apple-converted-space");
14159
14159
  for (let t = 0; t < e.length; t++) {
14160
14160
  let r = e[t];
14161
14161
  r.childNodes.length == 1 && r.textContent == " " && r.parentNode && r.parentNode.replaceChild(n.ownerDocument.createTextNode(" "), r);
@@ -14230,7 +14230,7 @@ function N1(n, e) {
14230
14230
  }
14231
14231
  St.keydown = (n, e) => {
14232
14232
  let t = e;
14233
- if (n.input.shiftKey = t.keyCode == 16 || t.shiftKey, !Cd(n, t) && (n.input.lastKeyCode = t.keyCode, n.input.lastKeyCodeTime = Date.now(), !(Jt && pt && t.keyCode == 13)))
14233
+ if (n.input.shiftKey = t.keyCode == 16 || t.shiftKey, !Cd(n, t) && (n.input.lastKeyCode = t.keyCode, n.input.lastKeyCodeTime = Date.now(), !(Jt && ft && t.keyCode == 13)))
14234
14234
  if (t.keyCode != 229 && n.domObserver.forceFlush(), Mr && t.keyCode == 13 && !t.ctrlKey && !t.altKey && !t.metaKey) {
14235
14235
  let r = Date.now();
14236
14236
  n.input.lastIOSEnter = r, n.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
@@ -14360,7 +14360,7 @@ class U1 {
14360
14360
  }, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), Fn(e, "pointer");
14361
14361
  }
14362
14362
  done() {
14363
- this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => wn(this.view)), this.view.input.mouseDown = null;
14363
+ this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => En(this.view)), this.view.input.mouseDown = null;
14364
14364
  }
14365
14365
  up(e) {
14366
14366
  if (this.done(), !this.view.dom.contains(e.target))
@@ -14374,7 +14374,7 @@ class U1 {
14374
14374
  // (hidden) cursor is doesn't change the selection, and
14375
14375
  // thus doesn't get a reaction from ProseMirror. This
14376
14376
  // works around that.
14377
- pt && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (Tr(this.view, Pe.near(this.view.state.doc.resolve(t.pos)), "pointer"), e.preventDefault()) : Fn(this.view, "pointer");
14377
+ ft && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (Tr(this.view, Pe.near(this.view.state.doc.resolve(t.pos)), "pointer"), e.preventDefault()) : Fn(this.view, "pointer");
14378
14378
  }
14379
14379
  move(e) {
14380
14380
  this.updateAllowDefault(e), Fn(this.view, "pointer"), e.buttons == 0 && this.done();
@@ -14563,7 +14563,7 @@ St.drop = (n, e) => {
14563
14563
  };
14564
14564
  xt.focus = (n) => {
14565
14565
  n.input.lastFocus = Date.now(), n.focused || (n.domObserver.stop(), n.dom.classList.add("ProseMirror-focused"), n.domObserver.start(), n.focused = !0, setTimeout(() => {
14566
- n.docView && n.hasFocus() && !n.domObserver.currentSelection.eq(n.domSelectionRange()) && wn(n);
14566
+ n.docView && n.hasFocus() && !n.domObserver.currentSelection.eq(n.domSelectionRange()) && En(n);
14567
14567
  }, 20));
14568
14568
  };
14569
14569
  xt.blur = (n, e) => {
@@ -14571,7 +14571,7 @@ xt.blur = (n, e) => {
14571
14571
  n.focused && (n.domObserver.stop(), n.dom.classList.remove("ProseMirror-focused"), n.domObserver.start(), t.relatedTarget && n.dom.contains(t.relatedTarget) && n.domObserver.currentSelection.clear(), n.focused = !1);
14572
14572
  };
14573
14573
  xt.beforeinput = (n, e) => {
14574
- if (pt && Jt && e.inputType == "deleteContentBackward") {
14574
+ if (ft && Jt && e.inputType == "deleteContentBackward") {
14575
14575
  n.domObserver.flushSoon();
14576
14576
  let { domChangeCount: r } = n.input;
14577
14577
  setTimeout(() => {
@@ -15155,7 +15155,7 @@ class q1 {
15155
15155
  onSelectionChange() {
15156
15156
  if (Xl(this.view)) {
15157
15157
  if (this.suppressingSelectionUpdates)
15158
- return wn(this.view);
15158
+ return En(this.view);
15159
15159
  if (Tt && Bn <= 11 && !this.view.state.selection.empty) {
15160
15160
  let e = this.view.domSelectionRange();
15161
15161
  if (e.focusNode && lr(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
@@ -15211,7 +15211,7 @@ class q1 {
15211
15211
  }
15212
15212
  }
15213
15213
  let c = null;
15214
- o < 0 && i && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && Ho(r) && (c = Ea(e)) && c.eq(Pe.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, wn(e), this.currentSelection.set(r), e.scrollToSelection()) : (o > -1 || i) && (o > -1 && (e.docView.markDirty(o, s), _1(e)), this.handleDOMChange(o, s, l, a), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || wn(e), this.currentSelection.set(r));
15214
+ o < 0 && i && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && Ho(r) && (c = Ea(e)) && c.eq(Pe.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, En(e), this.currentSelection.set(r), e.scrollToSelection()) : (o > -1 || i) && (o > -1 && (e.docView.markDirty(o, s), _1(e)), this.handleDOMChange(o, s, l, a), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || En(e), this.currentSelection.set(r));
15215
15215
  }
15216
15216
  registerMutation(e, t) {
15217
15217
  if (t.indexOf(e.target) > -1)
@@ -15264,7 +15264,7 @@ function e0(n) {
15264
15264
  }
15265
15265
  function t0(n, e, t) {
15266
15266
  let { node: r, fromOffset: i, toOffset: o, from: s, to: l } = n.docView.parseRange(e, t), a = n.domSelectionRange(), c, u = a.anchorNode;
15267
- if (u && n.dom.contains(u.nodeType == 1 ? u : u.parentNode) && (c = [{ node: u, offset: a.anchorOffset }], Ho(a) || c.push({ node: a.focusNode, offset: a.focusOffset })), pt && n.input.lastKeyCode === 8)
15267
+ if (u && n.dom.contains(u.nodeType == 1 ? u : u.parentNode) && (c = [{ node: u, offset: a.anchorOffset }], Ho(a) || c.push({ node: a.focusNode, offset: a.focusOffset })), ft && n.input.lastKeyCode === 8)
15268
15268
  for (let g = o; g > i; g--) {
15269
15269
  let x = r.childNodes[g - 1], E = x.pmViewDesc;
15270
15270
  if (x.nodeName == "BR" && !E) {
@@ -15311,7 +15311,7 @@ function i0(n, e, t, r, i) {
15311
15311
  if (n.input.compositionPendingChanges = 0, e < 0) {
15312
15312
  let $ = n.input.lastSelectionTime > Date.now() - 50 ? n.input.lastSelectionOrigin : null, B = Ea(n, $);
15313
15313
  if (B && !n.state.selection.eq(B)) {
15314
- if (pt && Jt && n.input.lastKeyCode === 13 && Date.now() - 100 < n.input.lastKeyCodeTime && n.someProp("handleKeyDown", (L) => L(n, Yn(13, "Enter"))))
15314
+ if (ft && Jt && n.input.lastKeyCode === 13 && Date.now() - 100 < n.input.lastKeyCodeTime && n.someProp("handleKeyDown", (L) => L(n, Yn(13, "Enter"))))
15315
15315
  return;
15316
15316
  let P = n.state.tr.setSelection(B);
15317
15317
  $ == "pointer" ? P.setMeta("pointer", !0) : $ == "key" && P.scrollIntoView(), o && P.setMeta("composition", o), n.dispatch(P);
@@ -15340,7 +15340,7 @@ function i0(n, e, t, r, i) {
15340
15340
  }
15341
15341
  return;
15342
15342
  }
15343
- if (pt && n.cursorWrapper && c.sel && c.sel.anchor == n.cursorWrapper.deco.from && c.sel.head == c.sel.anchor) {
15343
+ if (ft && n.cursorWrapper && c.sel && c.sel.anchor == n.cursorWrapper.deco.from && c.sel.head == c.sel.anchor) {
15344
15344
  let $ = h.endB - h.start;
15345
15345
  c.sel = { anchor: c.sel.anchor + $, head: c.sel.anchor + $ };
15346
15346
  }
@@ -15351,10 +15351,10 @@ function i0(n, e, t, r, i) {
15351
15351
  return;
15352
15352
  }
15353
15353
  if (n.state.selection.anchor > h.start && s0(u, h.start, h.endA, m, g) && n.someProp("handleKeyDown", ($) => $(n, Yn(8, "Backspace")))) {
15354
- Jt && pt && n.domObserver.suppressSelectionUpdates();
15354
+ Jt && ft && n.domObserver.suppressSelectionUpdates();
15355
15355
  return;
15356
15356
  }
15357
- pt && Jt && h.endB == h.start && (n.input.lastAndroidDelete = Date.now()), Jt && !E && m.start() != g.start() && g.parentOffset == 0 && m.depth == g.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == h.endA && (h.endB -= 2, g = c.doc.resolveNoCache(h.endB - c.from), setTimeout(() => {
15357
+ ft && Jt && h.endB == h.start && (n.input.lastAndroidDelete = Date.now()), Jt && !E && m.start() != g.start() && g.parentOffset == 0 && m.depth == g.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == h.endA && (h.endB -= 2, g = c.doc.resolveNoCache(h.endB - c.from), setTimeout(() => {
15358
15358
  n.someProp("handleKeyDown", function($) {
15359
15359
  return $(n, Yn(13, "Enter"));
15360
15360
  });
@@ -15362,7 +15362,7 @@ function i0(n, e, t, r, i) {
15362
15362
  let y = h.start, R = h.endA, C, F, z;
15363
15363
  if (E) {
15364
15364
  if (m.pos == g.pos)
15365
- Tt && Bn <= 11 && m.parentOffset == 0 && (n.domObserver.suppressSelectionUpdates(), setTimeout(() => wn(n), 20)), C = n.state.tr.delete(y, R), F = u.resolve(h.start).marksAcross(u.resolve(h.endA));
15365
+ Tt && Bn <= 11 && m.parentOffset == 0 && (n.domObserver.suppressSelectionUpdates(), setTimeout(() => En(n), 20)), C = n.state.tr.delete(y, R), F = u.resolve(h.start).marksAcross(u.resolve(h.endA));
15366
15366
  else if (
15367
15367
  // Adding or removing a mark
15368
15368
  h.endA == h.endB && (z = o0(m.parent.content.cut(m.parentOffset, g.parentOffset), x.parent.content.cut(x.parentOffset, h.endA - x.start())))
@@ -15377,7 +15377,7 @@ function i0(n, e, t, r, i) {
15377
15377
  }
15378
15378
  if (C || (C = n.state.tr.replace(y, R, c.doc.slice(h.start - c.from, h.endB - c.from))), c.sel) {
15379
15379
  let $ = sc(n, C.doc, c.sel);
15380
- $ && !(pt && Jt && n.composing && $.empty && (h.start != h.endB || n.input.lastAndroidDelete < Date.now() - 100) && ($.head == y || $.head == C.mapping.map(R) - 1) || Tt && $.empty && $.head == y) && C.setSelection($);
15380
+ $ && !(ft && Jt && n.composing && $.empty && (h.start != h.endB || n.input.lastAndroidDelete < Date.now() - 100) && ($.head == y || $.head == C.mapping.map(R) - 1) || Tt && $.empty && $.head == y) && C.setSelection($);
15381
15381
  }
15382
15382
  F && C.ensureMarks(F), o && C.setMeta("composition", o), n.dispatch(C.scrollIntoView());
15383
15383
  }
@@ -15525,12 +15525,12 @@ class l0 {
15525
15525
  let f = u == "preserve" && s && this.dom.style.overflowAnchor == null && Wg(this);
15526
15526
  if (s) {
15527
15527
  this.domObserver.stop();
15528
- let p = d && (Tt || pt) && !this.composing && !i.selection.empty && !e.selection.empty && c0(i.selection, e.selection);
15528
+ let p = d && (Tt || ft) && !this.composing && !i.selection.empty && !e.selection.empty && c0(i.selection, e.selection);
15529
15529
  if (d) {
15530
- let h = pt ? this.trackWrites = this.domSelectionRange().focusNode : null;
15530
+ let h = ft ? this.trackWrites = this.domSelectionRange().focusNode : null;
15531
15531
  (o || !this.docView.update(e.doc, c, a, this)) && (this.docView.updateOuterDeco([]), this.docView.destroy(), this.docView = jl(e.doc, c, a, this.dom, this)), h && !this.trackWrites && (p = !0);
15532
15532
  }
15533
- p || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && m1(this)) ? wn(this, p) : (pd(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
15533
+ p || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && m1(this)) ? En(this, p) : (pd(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
15534
15534
  }
15535
15535
  this.updatePluginViews(i), !((r = this.dragging) === null || r === void 0) && r.node && !i.doc.eq(e.doc) && this.updateDraggedNode(this.dragging, i), u == "reset" ? this.dom.scrollTop = 0 : u == "to selection" ? this.scrollToSelection() : f && Kg(f);
15536
15536
  }
@@ -15618,7 +15618,7 @@ class l0 {
15618
15618
  Focus the editor.
15619
15619
  */
15620
15620
  focus() {
15621
- this.domObserver.stop(), this.editable && Gg(this.dom), wn(this), this.domObserver.start();
15621
+ this.domObserver.stop(), this.editable && Gg(this.dom), En(this), this.domObserver.start();
15622
15622
  }
15623
15623
  /**
15624
15624
  Get the document root in which the editor exists. This will
@@ -16952,7 +16952,7 @@ class Er {
16952
16952
  type: ys(s.name, this.schema)
16953
16953
  }, a = [], c = me(s, "addKeyboardShortcuts", l);
16954
16954
  let u = {};
16955
- if (s.type === "mark" && s.config.exitable && (u.ArrowRight = () => hn.handleExit({ editor: e, mark: s })), c) {
16955
+ if (s.type === "mark" && s.config.exitable && (u.ArrowRight = () => pn.handleExit({ editor: e, mark: s })), c) {
16956
16956
  const m = Object.fromEntries(Object.entries(c()).map(([g, x]) => [g, () => x({ editor: e })]));
16957
16957
  u = { ...u, ...m };
16958
16958
  }
@@ -17206,7 +17206,7 @@ const yv = (n, e = {}) => ({ tr: t, state: r, dispatch: i }) => {
17206
17206
  function Ra(n) {
17207
17207
  return n instanceof Fe;
17208
17208
  }
17209
- function En(n = 0, e = 0, t = 0) {
17209
+ function Sn(n = 0, e = 0, t = 0) {
17210
17210
  return Math.min(Math.max(n, e), t);
17211
17211
  }
17212
17212
  function jd(n, e = null) {
@@ -17218,7 +17218,7 @@ function jd(n, e = null) {
17218
17218
  if (e === "end")
17219
17219
  return r;
17220
17220
  const i = t.from, o = r.to;
17221
- return e === "all" ? Fe.create(n, En(0, i, o), En(n.content.size, i, o)) : Fe.create(n, En(e, i, o), En(e, i, o));
17221
+ return e === "all" ? Fe.create(n, Sn(0, i, o), Sn(n.content.size, i, o)) : Fe.create(n, Sn(e, i, o), Sn(e, i, o));
17222
17222
  }
17223
17223
  function Da() {
17224
17224
  return [
@@ -17595,7 +17595,7 @@ function oy(n) {
17595
17595
  return n instanceof we;
17596
17596
  }
17597
17597
  function Jd(n, e, t) {
17598
- const i = n.state.doc.content.size, o = En(e, 0, i), s = En(t, 0, i), l = n.coordsAtPos(o), a = n.coordsAtPos(s, -1), c = Math.min(l.top, a.top), u = Math.max(l.bottom, a.bottom), d = Math.min(l.left, a.left), f = Math.max(l.right, a.right), p = f - d, h = u - c, x = {
17598
+ const i = n.state.doc.content.size, o = Sn(e, 0, i), s = Sn(t, 0, i), l = n.coordsAtPos(o), a = n.coordsAtPos(s, -1), c = Math.min(l.top, a.top), u = Math.max(l.bottom, a.bottom), d = Math.min(l.left, a.left), f = Math.max(l.right, a.right), p = f - d, h = u - c, x = {
17599
17599
  top: c,
17600
17600
  bottom: u,
17601
17601
  left: d,
@@ -17660,13 +17660,13 @@ const ay = (n, e = {}) => ({ tr: t, state: r, dispatch: i }) => {
17660
17660
  return o.isTextblock ? i().command(({ commands: s }) => pc(o, e)(t) ? !0 : s.clearNodes()).command(({ state: s }) => pc(o, e)(s, r)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
17661
17661
  }, uy = (n) => ({ tr: e, dispatch: t }) => {
17662
17662
  if (t) {
17663
- const { doc: r } = e, i = En(n, 0, r.content.size), o = we.create(r, i);
17663
+ const { doc: r } = e, i = Sn(n, 0, r.content.size), o = we.create(r, i);
17664
17664
  e.setSelection(o);
17665
17665
  }
17666
17666
  return !0;
17667
17667
  }, dy = (n) => ({ tr: e, dispatch: t }) => {
17668
17668
  if (t) {
17669
- const { doc: r } = e, { from: i, to: o } = typeof n == "number" ? { from: n, to: n } : n, s = Fe.atStart(r).from, l = Fe.atEnd(r).to, a = En(i, s, l), c = En(o, s, l), u = Fe.create(r, a, c);
17669
+ const { doc: r } = e, { from: i, to: o } = typeof n == "number" ? { from: n, to: n } : n, s = Fe.atStart(r).from, l = Fe.atEnd(r).to, a = Sn(i, s, l), c = Sn(o, s, l), u = Fe.create(r, a, c);
17670
17670
  e.setSelection(u);
17671
17671
  }
17672
17672
  return !0;
@@ -18462,7 +18462,7 @@ function eo(n) {
18462
18462
  }
18463
18463
  });
18464
18464
  }
18465
- class hn {
18465
+ class pn {
18466
18466
  constructor(e = {}) {
18467
18467
  this.type = "mark", this.name = "mark", this.parent = null, this.child = null, this.config = {
18468
18468
  name: this.name,
@@ -18478,7 +18478,7 @@ class hn {
18478
18478
  })) || {};
18479
18479
  }
18480
18480
  static create(e = {}) {
18481
- return new hn(e);
18481
+ return new pn(e);
18482
18482
  }
18483
18483
  configure(e = {}) {
18484
18484
  const t = this.extend();
@@ -18488,7 +18488,7 @@ class hn {
18488
18488
  })), t;
18489
18489
  }
18490
18490
  extend(e = {}) {
18491
- const t = new hn(e);
18491
+ const t = new pn(e);
18492
18492
  return t.parent = this, this.child = t, t.name = e.name ? e.name : t.parent.name, e.defaultOptions && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`), t.options = Le(me(t, "addOptions", {
18493
18493
  name: t.name
18494
18494
  })), t.storage = Le(me(t, "addStorage", {
@@ -18566,7 +18566,7 @@ var kt = "top", Kt = "bottom", Gt = "right", At = "left", Xo = "auto", xi = [kt,
18566
18566
  }, []), Xd = /* @__PURE__ */ [].concat(xi, [Xo]).reduce(function(n, e) {
18567
18567
  return n.concat([e, e + "-" + Rr, e + "-" + ui]);
18568
18568
  }, []), By = "beforeRead", zy = "read", $y = "afterRead", Hy = "beforeMain", Uy = "main", Vy = "afterMain", jy = "beforeWrite", Wy = "write", Ky = "afterWrite", Qs = [By, zy, $y, Hy, Uy, Vy, jy, Wy, Ky];
18569
- function mn(n) {
18569
+ function hn(n) {
18570
18570
  return n ? (n.nodeName || "").toLowerCase() : null;
18571
18571
  }
18572
18572
  function Nt(n) {
@@ -18596,7 +18596,7 @@ function Gy(n) {
18596
18596
  var e = n.state;
18597
18597
  Object.keys(e.elements).forEach(function(t) {
18598
18598
  var r = e.styles[t] || {}, i = e.attributes[t] || {}, o = e.elements[t];
18599
- !Dt(o) || !mn(o) || (Object.assign(o.style, r), Object.keys(i).forEach(function(s) {
18599
+ !Dt(o) || !hn(o) || (Object.assign(o.style, r), Object.keys(i).forEach(function(s) {
18600
18600
  var l = i[s];
18601
18601
  l === !1 ? o.removeAttribute(s) : o.setAttribute(s, l === !0 ? "" : l);
18602
18602
  }));
@@ -18620,7 +18620,7 @@ function Jy(n) {
18620
18620
  var i = e.elements[r], o = e.attributes[r] || {}, s = Object.keys(e.styles.hasOwnProperty(r) ? e.styles[r] : t[r]), l = s.reduce(function(a, c) {
18621
18621
  return a[c] = "", a;
18622
18622
  }, {});
18623
- !Dt(i) || !mn(i) || (Object.assign(i.style, l), Object.keys(o).forEach(function(a) {
18623
+ !Dt(i) || !hn(i) || (Object.assign(i.style, l), Object.keys(o).forEach(function(a) {
18624
18624
  i.removeAttribute(a);
18625
18625
  }));
18626
18626
  });
@@ -18690,7 +18690,7 @@ function Qt(n) {
18690
18690
  return Nt(n).getComputedStyle(n);
18691
18691
  }
18692
18692
  function Yy(n) {
18693
- return ["table", "td", "th"].indexOf(mn(n)) >= 0;
18693
+ return ["table", "td", "th"].indexOf(hn(n)) >= 0;
18694
18694
  }
18695
18695
  function Wn(n) {
18696
18696
  return ((ur(n) ? n.ownerDocument : (
@@ -18699,7 +18699,7 @@ function Wn(n) {
18699
18699
  )) || window.document).documentElement;
18700
18700
  }
18701
18701
  function Zo(n) {
18702
- return mn(n) === "html" ? n : (
18702
+ return hn(n) === "html" ? n : (
18703
18703
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
18704
18704
  // $FlowFixMe[incompatible-return]
18705
18705
  // $FlowFixMe[prop-missing]
@@ -18722,7 +18722,7 @@ function Xy(n) {
18722
18722
  return null;
18723
18723
  }
18724
18724
  var i = Zo(n);
18725
- for (Pa(i) && (i = i.host); Dt(i) && ["html", "body"].indexOf(mn(i)) < 0; ) {
18725
+ for (Pa(i) && (i = i.host); Dt(i) && ["html", "body"].indexOf(hn(i)) < 0; ) {
18726
18726
  var o = Qt(i);
18727
18727
  if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
18728
18728
  return i;
@@ -18733,7 +18733,7 @@ function Xy(n) {
18733
18733
  function Si(n) {
18734
18734
  for (var e = Nt(n), t = Ec(n); t && Yy(t) && Qt(t).position === "static"; )
18735
18735
  t = Ec(t);
18736
- return t && (mn(t) === "html" || mn(t) === "body" && Qt(t).position === "static") ? e : t || Xy(n) || e;
18736
+ return t && (hn(t) === "html" || hn(t) === "body" && Qt(t).position === "static") ? e : t || Xy(n) || e;
18737
18737
  }
18738
18738
  function Ba(n) {
18739
18739
  return ["top", "bottom"].indexOf(n) >= 0 ? "x" : "y";
@@ -18973,7 +18973,7 @@ function Ha(n) {
18973
18973
  return /auto|scroll|overlay|hidden/.test(t + i + r);
18974
18974
  }
18975
18975
  function nf(n) {
18976
- return ["html", "body", "#document"].indexOf(mn(n)) >= 0 ? n.ownerDocument.body : Dt(n) && Ha(n) ? n : nf(Zo(n));
18976
+ return ["html", "body", "#document"].indexOf(hn(n)) >= 0 ? n.ownerDocument.body : Dt(n) && Ha(n) ? n : nf(Zo(n));
18977
18977
  }
18978
18978
  function Xr(n, e) {
18979
18979
  var t;
@@ -19002,7 +19002,7 @@ function Tc(n, e, t) {
19002
19002
  function f2(n) {
19003
19003
  var e = Xr(Zo(n)), t = ["absolute", "fixed"].indexOf(Qt(n).position) >= 0, r = t && Dt(n) ? Si(n) : n;
19004
19004
  return ur(r) ? e.filter(function(i) {
19005
- return ur(i) && qd(i, r) && mn(i) !== "body";
19005
+ return ur(i) && qd(i, r) && hn(i) !== "body";
19006
19006
  }) : [];
19007
19007
  }
19008
19008
  function p2(n, e, t, r) {
@@ -19311,7 +19311,7 @@ function R2(n, e, t) {
19311
19311
  x: 0,
19312
19312
  y: 0
19313
19313
  };
19314
- return (r || !r && !t) && ((mn(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
19314
+ return (r || !r && !t) && ((hn(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
19315
19315
  Ha(o)) && (l = M2(e)), Dt(e) ? (a = Nr(e, !0), a.x += e.clientLeft, a.y += e.clientTop) : o && (a.x = $a(o))), {
19316
19316
  x: s.left + l.scrollLeft - a.x,
19317
19317
  y: s.top + l.scrollTop - a.y,
@@ -19743,7 +19743,7 @@ process.env.NODE_ENV !== "production" && lb();
19743
19743
  function lb() {
19744
19744
  pi = /* @__PURE__ */ new Set();
19745
19745
  }
19746
- function Sn(n, e) {
19746
+ function xn(n, e) {
19747
19747
  if (n && !pi.has(e)) {
19748
19748
  var t;
19749
19749
  pi.add(e), (t = console).warn.apply(t, df(e));
@@ -19875,7 +19875,7 @@ function hf(n, e) {
19875
19875
  var i = G2(Rt, Object.keys(ff)), o = !K2(i, r);
19876
19876
  o && (o = e.filter(function(s) {
19877
19877
  return s.name === r;
19878
- }).length === 0), Sn(o, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
19878
+ }).length === 0), xn(o, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
19879
19879
 
19880
19880
  `, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
19881
19881
  `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
@@ -20010,11 +20010,11 @@ function gb(n, e) {
20010
20010
  if (Y.content) {
20011
20011
  var oe = "aria-" + Y.content, se = C.id, Se = br(y.props.triggerTarget || n);
20012
20012
  Se.forEach(function(Te) {
20013
- var Ke = Te.getAttribute(oe);
20013
+ var We = Te.getAttribute(oe);
20014
20014
  if (y.state.isVisible)
20015
- Te.setAttribute(oe, Ke ? Ke + " " + se : se);
20015
+ Te.setAttribute(oe, We ? We + " " + se : se);
20016
20016
  else {
20017
- var Ze = Ke && Ke.replace(se, "").trim();
20017
+ var Ze = We && We.replace(se, "").trim();
20018
20018
  Ze ? Te.setAttribute(oe, Ze) : Te.removeAttribute(oe);
20019
20019
  }
20020
20020
  });
@@ -20132,10 +20132,10 @@ function gb(n, e) {
20132
20132
  var oe = Y.target, se = U().contains(oe) || C.contains(oe);
20133
20133
  if (!(Y.type === "mousemove" && se)) {
20134
20134
  var Se = K().concat(C).map(function(Te) {
20135
- var Ke, Ze = Te._tippy, mt = (Ke = Ze.popperInstance) == null ? void 0 : Ke.state;
20136
- return mt ? {
20135
+ var We, Ze = Te._tippy, ht = (We = Ze.popperInstance) == null ? void 0 : We.state;
20136
+ return ht ? {
20137
20137
  popperRect: Te.getBoundingClientRect(),
20138
- popperState: mt,
20138
+ popperState: ht,
20139
20139
  props: t
20140
20140
  } : null;
20141
20141
  }).filter(Boolean);
@@ -20160,10 +20160,10 @@ function gb(n, e) {
20160
20160
  }
20161
20161
  function H() {
20162
20162
  W();
20163
- var Y = y.props, oe = Y.popperOptions, se = Y.placement, Se = Y.offset, Te = Y.getReferenceClientRect, Ke = Y.moveTransition, Ze = L() ? na(C).arrow : null, mt = Te ? {
20163
+ var Y = y.props, oe = Y.popperOptions, se = Y.placement, Se = Y.offset, Te = Y.getReferenceClientRect, We = Y.moveTransition, Ze = L() ? na(C).arrow : null, ht = Te ? {
20164
20164
  getBoundingClientRect: Te,
20165
20165
  contextElement: Te.contextElement || U()
20166
- } : n, gt = {
20166
+ } : n, mt = {
20167
20167
  name: "$$tippy",
20168
20168
  enabled: !0,
20169
20169
  phase: "beforeWrite",
@@ -20200,16 +20200,16 @@ function gb(n, e) {
20200
20200
  }, {
20201
20201
  name: "computeStyles",
20202
20202
  options: {
20203
- adaptive: !Ke
20203
+ adaptive: !We
20204
20204
  }
20205
- }, gt];
20205
+ }, mt];
20206
20206
  L() && Ze && it.push({
20207
20207
  name: "arrow",
20208
20208
  options: {
20209
20209
  element: Ze,
20210
20210
  padding: 3
20211
20211
  }
20212
- }), it.push.apply(it, (oe == null ? void 0 : oe.modifiers) || []), y.popperInstance = V2(mt, C, Object.assign({}, oe, {
20212
+ }), it.push.apply(it, (oe == null ? void 0 : oe.modifiers) || []), y.popperInstance = V2(ht, C, Object.assign({}, oe, {
20213
20213
  placement: se,
20214
20214
  onFirstUpdate: f,
20215
20215
  modifiers: it
@@ -20220,7 +20220,7 @@ function gb(n, e) {
20220
20220
  }
20221
20221
  function V() {
20222
20222
  var Y = y.props.appendTo, oe, se = U();
20223
- y.props.interactive && Y === lf || Y === "parent" ? oe = se.parentNode : oe = cf(Y, [se]), oe.contains(C) || oe.appendChild(C), y.state.isMounted = !0, H(), process.env.NODE_ENV !== "production" && Sn(y.props.interactive && Y === Rt.appendTo && se.nextElementSibling !== C, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
20223
+ y.props.interactive && Y === lf || Y === "parent" ? oe = se.parentNode : oe = cf(Y, [se]), oe.contains(C) || oe.appendChild(C), y.state.isMounted = !0, H(), process.env.NODE_ENV !== "production" && xn(y.props.interactive && Y === Rt.appendTo && se.nextElementSibling !== C, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
20224
20224
 
20225
20225
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
20226
20226
 
@@ -20262,7 +20262,7 @@ function gb(n, e) {
20262
20262
  clearTimeout(r), clearTimeout(i), cancelAnimationFrame(o);
20263
20263
  }
20264
20264
  function Ve(Y) {
20265
- if (process.env.NODE_ENV !== "production" && Sn(y.state.isDestroyed, mr("setProps")), !y.state.isDestroyed) {
20265
+ if (process.env.NODE_ENV !== "production" && xn(y.state.isDestroyed, mr("setProps")), !y.state.isDestroyed) {
20266
20266
  j("onBeforeUpdate", [y, Y]), v();
20267
20267
  var oe = y.props, se = $c(n, Object.assign({}, oe, Lc(Y), {
20268
20268
  ignoreAttributes: !0
@@ -20280,12 +20280,12 @@ function gb(n, e) {
20280
20280
  });
20281
20281
  }
20282
20282
  function Ne() {
20283
- process.env.NODE_ENV !== "production" && Sn(y.state.isDestroyed, mr("show"));
20283
+ process.env.NODE_ENV !== "production" && xn(y.state.isDestroyed, mr("show"));
20284
20284
  var Y = y.state.isVisible, oe = y.state.isDestroyed, se = !y.state.isEnabled, Se = sn.isTouch && !y.props.touch, Te = ws(y.props.duration, 0, Rt.duration);
20285
20285
  if (!(Y || oe || se || Se) && !U().hasAttribute("disabled") && (j("onShow", [y], !1), y.props.onShow(y) !== !1)) {
20286
20286
  if (y.state.isVisible = !0, L() && (C.style.visibility = "visible"), ne(), ke(), y.state.isMounted || (C.style.transition = "none"), L()) {
20287
- var Ke = X(), Ze = Ke.box, mt = Ke.content;
20288
- Cs([Ze, mt], 0);
20287
+ var We = X(), Ze = We.box, ht = We.content;
20288
+ Cs([Ze, ht], 0);
20289
20289
  }
20290
20290
  f = function() {
20291
20291
  var it;
@@ -20302,28 +20302,28 @@ function gb(n, e) {
20302
20302
  }
20303
20303
  }
20304
20304
  function _e() {
20305
- process.env.NODE_ENV !== "production" && Sn(y.state.isDestroyed, mr("hide"));
20305
+ process.env.NODE_ENV !== "production" && xn(y.state.isDestroyed, mr("hide"));
20306
20306
  var Y = !y.state.isVisible, oe = y.state.isDestroyed, se = !y.state.isEnabled, Se = ws(y.props.duration, 1, Rt.duration);
20307
20307
  if (!(Y || oe || se) && (j("onHide", [y], !1), y.props.onHide(y) !== !1)) {
20308
20308
  if (y.state.isVisible = !1, y.state.isShown = !1, c = !1, s = !1, L() && (C.style.visibility = "hidden"), be(), Me(), ne(!0), L()) {
20309
- var Te = X(), Ke = Te.box, Ze = Te.content;
20310
- y.props.animation && (Cs([Ke, Ze], Se), Pc([Ke, Ze], "hidden"));
20309
+ var Te = X(), We = Te.box, Ze = Te.content;
20310
+ y.props.animation && (Cs([We, Ze], Se), Pc([We, Ze], "hidden"));
20311
20311
  }
20312
20312
  ae(), fe(), y.props.animation ? L() && ye(Se, y.unmount) : y.unmount();
20313
20313
  }
20314
20314
  }
20315
20315
  function wt(Y) {
20316
- process.env.NODE_ENV !== "production" && Sn(y.state.isDestroyed, mr("hideWithInteractivity")), J().addEventListener("mousemove", h), Nc(Oi, h), h(Y);
20316
+ process.env.NODE_ENV !== "production" && xn(y.state.isDestroyed, mr("hideWithInteractivity")), J().addEventListener("mousemove", h), Nc(Oi, h), h(Y);
20317
20317
  }
20318
20318
  function ct() {
20319
- process.env.NODE_ENV !== "production" && Sn(y.state.isDestroyed, mr("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (W(), K().forEach(function(Y) {
20319
+ process.env.NODE_ENV !== "production" && xn(y.state.isDestroyed, mr("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (W(), K().forEach(function(Y) {
20320
20320
  Y._tippy.unmount();
20321
20321
  }), C.parentNode && C.parentNode.removeChild(C), ks = ks.filter(function(Y) {
20322
20322
  return Y !== y;
20323
20323
  }), y.state.isMounted = !1, j("onHidden", [y]));
20324
20324
  }
20325
20325
  function Tn() {
20326
- process.env.NODE_ENV !== "production" && Sn(y.state.isDestroyed, mr("destroy")), !y.state.isDestroyed && (y.clearDelayTimeouts(), y.unmount(), v(), delete n._tippy, y.state.isDestroyed = !0, j("onDestroy", [y]));
20326
+ process.env.NODE_ENV !== "production" && xn(y.state.isDestroyed, mr("destroy")), !y.state.isDestroyed && (y.clearDelayTimeouts(), y.unmount(), v(), delete n._tippy, y.state.isDestroyed = !0, j("onDestroy", [y]));
20327
20327
  }
20328
20328
  }
20329
20329
  function Br(n, e) {
@@ -20335,7 +20335,7 @@ function Br(n, e) {
20335
20335
  }), i = _2(n);
20336
20336
  if (process.env.NODE_ENV !== "production") {
20337
20337
  var o = fi(r.content), s = i.length > 1;
20338
- Sn(o && s, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
20338
+ xn(o && s, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
20339
20339
 
20340
20340
  `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
20341
20341
 
@@ -20605,7 +20605,7 @@ Be({
20605
20605
  }
20606
20606
  },
20607
20607
  setup(n, { slots: e }) {
20608
- const t = dn(null);
20608
+ const t = Cn(null);
20609
20609
  return vi(() => {
20610
20610
  const { updateDelay: r, editor: i, pluginKey: o, shouldShow: s, tippyOptions: l } = n;
20611
20611
  i.registerPlugin(gf({
@@ -20673,7 +20673,7 @@ const xb = Be({
20673
20673
  }
20674
20674
  },
20675
20675
  setup(n) {
20676
- const e = dn(), t = nu();
20676
+ const e = Cn(), t = nu();
20677
20677
  return Df(() => {
20678
20678
  const r = n.editor;
20679
20679
  r && r.options.element && e.value && ru(() => {
@@ -20737,7 +20737,7 @@ Be({
20737
20737
  }
20738
20738
  },
20739
20739
  setup(n, { slots: e }) {
20740
- const t = dn(null);
20740
+ const t = Cn(null);
20741
20741
  return vi(() => {
20742
20742
  const { pluginKey: r, editor: i, tippyOptions: o, shouldShow: s } = n;
20743
20743
  i.registerPlugin(vf({
@@ -20985,10 +20985,10 @@ Ct.prototype = {
20985
20985
  return i.j[n] = s, s;
20986
20986
  }
20987
20987
  };
20988
- const Re = (n, e, t, r, i) => n.ta(e, t, r, i), zt = (n, e, t, r, i) => n.tr(e, t, r, i), Wc = (n, e, t, r, i) => n.ts(e, t, r, i), ce = (n, e, t, r, i) => n.tt(e, t, r, i), bn = "WORD", aa = "UWORD", hi = "LOCALHOST", la = "TLD", ca = "UTLD", Bi = "SCHEME", xr = "SLASH_SCHEME", Va = "NUM", bf = "WS", ja = "NL", Qr = "OPENBRACE", qr = "CLOSEBRACE", ro = "OPENBRACKET", io = "CLOSEBRACKET", oo = "OPENPAREN", so = "CLOSEPAREN", ao = "OPENANGLEBRACKET", lo = "CLOSEANGLEBRACKET", co = "FULLWIDTHLEFTPAREN", uo = "FULLWIDTHRIGHTPAREN", fo = "LEFTCORNERBRACKET", po = "RIGHTCORNERBRACKET", ho = "LEFTWHITECORNERBRACKET", mo = "RIGHTWHITECORNERBRACKET", go = "FULLWIDTHLESSTHAN", vo = "FULLWIDTHGREATERTHAN", yo = "AMPERSAND", bo = "APOSTROPHE", xo = "ASTERISK", Rn = "AT", So = "BACKSLASH", Eo = "BACKTICK", wo = "CARET", Nn = "COLON", Wa = "COMMA", Co = "DOLLAR", tn = "DOT", To = "EQUALS", Ka = "EXCLAMATION", nn = "HYPHEN", ko = "PERCENT", Ao = "PIPE", Oo = "PLUS", Mo = "POUND", Io = "QUERY", Ga = "QUOTE", Ja = "SEMI", rn = "SLASH", _r = "TILDE", Ro = "UNDERSCORE", xf = "EMOJI", Do = "SYM";
20988
+ const Re = (n, e, t, r, i) => n.ta(e, t, r, i), zt = (n, e, t, r, i) => n.tr(e, t, r, i), Wc = (n, e, t, r, i) => n.ts(e, t, r, i), ce = (n, e, t, r, i) => n.tt(e, t, r, i), yn = "WORD", aa = "UWORD", hi = "LOCALHOST", la = "TLD", ca = "UTLD", Bi = "SCHEME", xr = "SLASH_SCHEME", Va = "NUM", bf = "WS", ja = "NL", Qr = "OPENBRACE", qr = "CLOSEBRACE", ro = "OPENBRACKET", io = "CLOSEBRACKET", oo = "OPENPAREN", so = "CLOSEPAREN", ao = "OPENANGLEBRACKET", lo = "CLOSEANGLEBRACKET", co = "FULLWIDTHLEFTPAREN", uo = "FULLWIDTHRIGHTPAREN", fo = "LEFTCORNERBRACKET", po = "RIGHTCORNERBRACKET", ho = "LEFTWHITECORNERBRACKET", mo = "RIGHTWHITECORNERBRACKET", go = "FULLWIDTHLESSTHAN", vo = "FULLWIDTHGREATERTHAN", yo = "AMPERSAND", bo = "APOSTROPHE", xo = "ASTERISK", Rn = "AT", So = "BACKSLASH", Eo = "BACKTICK", wo = "CARET", Nn = "COLON", Wa = "COMMA", Co = "DOLLAR", tn = "DOT", To = "EQUALS", Ka = "EXCLAMATION", nn = "HYPHEN", ko = "PERCENT", Ao = "PIPE", Oo = "PLUS", Mo = "POUND", Io = "QUERY", Ga = "QUOTE", Ja = "SEMI", rn = "SLASH", _r = "TILDE", Ro = "UNDERSCORE", xf = "EMOJI", Do = "SYM";
20989
20989
  var Sf = /* @__PURE__ */ Object.freeze({
20990
20990
  __proto__: null,
20991
- WORD: bn,
20991
+ WORD: yn,
20992
20992
  UWORD: aa,
20993
20993
  LOCALHOST: hi,
20994
20994
  TLD: la,
@@ -21054,7 +21054,7 @@ function Nb(n) {
21054
21054
  [ra]: !0
21055
21055
  });
21056
21056
  zt(r, Ms, r);
21057
- const i = zt(t, gr, bn, {
21057
+ const i = zt(t, gr, yn, {
21058
21058
  [ia]: !0
21059
21059
  });
21060
21060
  zt(i, gr, i);
@@ -21076,7 +21076,7 @@ function Nb(n) {
21076
21076
  zt(a, Os, l);
21077
21077
  const c = [[gr, i]], u = [[gr, null], [As, o]];
21078
21078
  for (let d = 0; d < Ii.length; d++)
21079
- On(t, Ii[d], la, bn, c);
21079
+ On(t, Ii[d], la, yn, c);
21080
21080
  for (let d = 0; d < Ri.length; d++)
21081
21081
  On(t, Ri[d], ca, aa, u);
21082
21082
  qn(la, {
@@ -21085,7 +21085,7 @@ function Nb(n) {
21085
21085
  }, e), qn(ca, {
21086
21086
  utld: !0,
21087
21087
  alpha: !0
21088
- }, e), On(t, "file", Bi, bn, c), On(t, "mailto", Bi, bn, c), On(t, "http", xr, bn, c), On(t, "https", xr, bn, c), On(t, "ftp", xr, bn, c), On(t, "ftps", xr, bn, c), qn(Bi, {
21088
+ }, e), On(t, "file", Bi, yn, c), On(t, "mailto", Bi, yn, c), On(t, "http", xr, yn, c), On(t, "https", xr, yn, c), On(t, "ftp", xr, yn, c), On(t, "ftps", xr, yn, c), qn(Bi, {
21089
21089
  scheme: !0,
21090
21090
  ascii: !0
21091
21091
  }, e), qn(xr, {
@@ -21483,7 +21483,7 @@ function Is(n, e, t) {
21483
21483
  return new n(o, t);
21484
21484
  }
21485
21485
  const $b = typeof console < "u" && console && console.warn || (() => {
21486
- }), Hb = "until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.", Ge = {
21486
+ }), Hb = "until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.", Ke = {
21487
21487
  scanner: null,
21488
21488
  parser: null,
21489
21489
  tokenQueue: [],
@@ -21492,32 +21492,32 @@ const $b = typeof console < "u" && console && console.warn || (() => {
21492
21492
  initialized: !1
21493
21493
  };
21494
21494
  function Ub() {
21495
- Ct.groups = {}, Ge.scanner = null, Ge.parser = null, Ge.tokenQueue = [], Ge.pluginQueue = [], Ge.customSchemes = [], Ge.initialized = !1;
21495
+ Ct.groups = {}, Ke.scanner = null, Ke.parser = null, Ke.tokenQueue = [], Ke.pluginQueue = [], Ke.customSchemes = [], Ke.initialized = !1;
21496
21496
  }
21497
21497
  function Qc(n, e) {
21498
- if (e === void 0 && (e = !1), Ge.initialized && $b(`linkifyjs: already initialized - will not register custom scheme "${n}" ${Hb}`), !/^[0-9a-z]+(-[0-9a-z]+)*$/.test(n))
21498
+ if (e === void 0 && (e = !1), Ke.initialized && $b(`linkifyjs: already initialized - will not register custom scheme "${n}" ${Hb}`), !/^[0-9a-z]+(-[0-9a-z]+)*$/.test(n))
21499
21499
  throw new Error(`linkifyjs: incorrect scheme format.
21500
21500
  1. Must only contain digits, lowercase ASCII letters or "-"
21501
21501
  2. Cannot start or end with "-"
21502
21502
  3. "-" cannot repeat`);
21503
- Ge.customSchemes.push([n, e]);
21503
+ Ke.customSchemes.push([n, e]);
21504
21504
  }
21505
21505
  function Vb() {
21506
- Ge.scanner = Nb(Ge.customSchemes);
21507
- for (let n = 0; n < Ge.tokenQueue.length; n++)
21508
- Ge.tokenQueue[n][1]({
21509
- scanner: Ge.scanner
21506
+ Ke.scanner = Nb(Ke.customSchemes);
21507
+ for (let n = 0; n < Ke.tokenQueue.length; n++)
21508
+ Ke.tokenQueue[n][1]({
21509
+ scanner: Ke.scanner
21510
21510
  });
21511
- Ge.parser = Bb(Ge.scanner.tokens);
21512
- for (let n = 0; n < Ge.pluginQueue.length; n++)
21513
- Ge.pluginQueue[n][1]({
21514
- scanner: Ge.scanner,
21515
- parser: Ge.parser
21511
+ Ke.parser = Bb(Ke.scanner.tokens);
21512
+ for (let n = 0; n < Ke.pluginQueue.length; n++)
21513
+ Ke.pluginQueue[n][1]({
21514
+ scanner: Ke.scanner,
21515
+ parser: Ke.parser
21516
21516
  });
21517
- Ge.initialized = !0;
21517
+ Ke.initialized = !0;
21518
21518
  }
21519
21519
  function jb(n) {
21520
- return Ge.initialized || Vb(), zb(Ge.parser.start, n, Lb(Ge.scanner.start, n));
21520
+ return Ke.initialized || Vb(), zb(Ke.parser.start, n, Lb(Ke.scanner.start, n));
21521
21521
  }
21522
21522
  function Xa(n, e, t) {
21523
21523
  if (e === void 0 && (e = null), t === void 0 && (t = null), e && typeof e == "object") {
@@ -21603,7 +21603,7 @@ function Gb(n) {
21603
21603
  }
21604
21604
  });
21605
21605
  }
21606
- const Jb = hn.create({
21606
+ const Jb = pn.create({
21607
21607
  name: "link",
21608
21608
  priority: 1e3,
21609
21609
  keepOnSplit: !1,
@@ -21758,7 +21758,7 @@ const Jb = hn.create({
21758
21758
  })
21759
21759
  ];
21760
21760
  }
21761
- }), Zb = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/, Qb = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g, qb = /(?:^|\s)((?:__)((?:[^__]+))(?:__))$/, _b = /(?:^|\s)((?:__)((?:[^__]+))(?:__))/g, e5 = hn.create({
21761
+ }), Zb = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/, Qb = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g, qb = /(?:^|\s)((?:__)((?:[^__]+))(?:__))$/, _b = /(?:^|\s)((?:__)((?:[^__]+))(?:__))/g, e5 = pn.create({
21762
21762
  name: "bold",
21763
21763
  addOptions() {
21764
21764
  return {
@@ -21820,7 +21820,7 @@ const Jb = hn.create({
21820
21820
  })
21821
21821
  ];
21822
21822
  }
21823
- }), t5 = /(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/, n5 = /(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g, r5 = /(?:^|\s)((?:_)((?:[^_]+))(?:_))$/, i5 = /(?:^|\s)((?:_)((?:[^_]+))(?:_))/g, o5 = hn.create({
21823
+ }), t5 = /(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/, n5 = /(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g, r5 = /(?:^|\s)((?:_)((?:[^_]+))(?:_))$/, i5 = /(?:^|\s)((?:_)((?:[^_]+))(?:_))/g, o5 = pn.create({
21824
21824
  name: "italic",
21825
21825
  addOptions() {
21826
21826
  return {
@@ -21881,7 +21881,7 @@ const Jb = hn.create({
21881
21881
  })
21882
21882
  ];
21883
21883
  }
21884
- }), s5 = hn.create({
21884
+ }), s5 = pn.create({
21885
21885
  name: "underline",
21886
21886
  addOptions() {
21887
21887
  return {
@@ -21972,7 +21972,7 @@ const Jb = hn.create({
21972
21972
  "Shift-Tab": () => this.editor.commands.liftListItem(this.name)
21973
21973
  };
21974
21974
  }
21975
- }), qc = hn.create({
21975
+ }), qc = pn.create({
21976
21976
  name: "textStyle",
21977
21977
  addOptions() {
21978
21978
  return {
@@ -22074,7 +22074,7 @@ const Jb = hn.create({
22074
22074
  "Shift-Tab": () => this.editor.commands.liftListItem(this.name)
22075
22075
  };
22076
22076
  }
22077
- }), eu = hn.create({
22077
+ }), eu = pn.create({
22078
22078
  name: "textStyle",
22079
22079
  addOptions() {
22080
22080
  return {
@@ -22269,7 +22269,7 @@ const Jb = hn.create({
22269
22269
  variant: "light",
22270
22270
  type: "button"
22271
22271
  }, {
22272
- default: ft(() => [
22272
+ default: dt(() => [
22273
22273
  Ue(Ee(zi))
22274
22274
  ]),
22275
22275
  _: 1
@@ -22282,7 +22282,7 @@ const Jb = hn.create({
22282
22282
  class: je(l.value),
22283
22283
  onClick: p[0] || (p[0] = (h) => Ee(o).chain().focus().toggleBold().run())
22284
22284
  }, {
22285
- default: ft(() => [
22285
+ default: dt(() => [
22286
22286
  Ue(Ee(mu))
22287
22287
  ]),
22288
22288
  _: 1
@@ -22294,7 +22294,7 @@ const Jb = hn.create({
22294
22294
  class: je(a.value),
22295
22295
  onClick: p[1] || (p[1] = (h) => Ee(o).chain().focus().toggleItalic().run())
22296
22296
  }, {
22297
- default: ft(() => [
22297
+ default: dt(() => [
22298
22298
  Ue(Ee(hu))
22299
22299
  ]),
22300
22300
  _: 1
@@ -22306,7 +22306,7 @@ const Jb = hn.create({
22306
22306
  class: je(c.value),
22307
22307
  onClick: p[2] || (p[2] = (h) => Ee(o).chain().focus().toggleUnderline().run())
22308
22308
  }, {
22309
- default: ft(() => [
22309
+ default: dt(() => [
22310
22310
  Ue(Ee(gu))
22311
22311
  ]),
22312
22312
  _: 1
@@ -22319,7 +22319,7 @@ const Jb = hn.create({
22319
22319
  class: "IsUnderlineActive",
22320
22320
  onClick: p[3] || (p[3] = (h) => Ee(o).chain().focus().toggleUnderline().run())
22321
22321
  }, {
22322
- default: ft(() => [
22322
+ default: dt(() => [
22323
22323
  Ue(Ee(vu))
22324
22324
  ]),
22325
22325
  _: 1
@@ -22331,7 +22331,7 @@ const Jb = hn.create({
22331
22331
  class: "IsBulletListActive",
22332
22332
  onClick: p[4] || (p[4] = (h) => Ee(o).chain().focus().toggleBulletList().run())
22333
22333
  }, {
22334
- default: ft(() => [
22334
+ default: dt(() => [
22335
22335
  Ue(Ee(yu))
22336
22336
  ]),
22337
22337
  _: 1
@@ -22344,7 +22344,7 @@ const Jb = hn.create({
22344
22344
  class: "IsOrderedListActive",
22345
22345
  onClick: p[5] || (p[5] = (h) => Ee(o).chain().focus().toggleOrderedList().run())
22346
22346
  }, {
22347
- default: ft(() => [
22347
+ default: dt(() => [
22348
22348
  Ue(Ee(bu))
22349
22349
  ]),
22350
22350
  _: 1
@@ -22374,7 +22374,7 @@ const Jb = hn.create({
22374
22374
  return typeof e.details == "string" ? e.details : (r = e.details) == null ? void 0 : r.join(" • ");
22375
22375
  });
22376
22376
  return (r, i) => (de(), ve("div", y5, [
22377
- e.hideImage ? Xe("", !0) : (de(), vt(xu, Cn({ key: 0 }, e.img, { size: "sm" }), null, 16)),
22377
+ e.hideImage ? Xe("", !0) : (de(), vt(xu, wn({ key: 0 }, e.img, { size: "sm" }), null, 16)),
22378
22378
  ue("div", b5, [
22379
22379
  ue("h5", x5, Je(e.name), 1),
22380
22380
  ue("span", S5, Je(t.value), 1)
@@ -22384,7 +22384,7 @@ const Jb = hn.create({
22384
22384
  }), w5 = { class: "bd-dropdown dropdown" }, C5 = /* @__PURE__ */ Be({
22385
22385
  __name: "BDDropdown",
22386
22386
  props: {
22387
- size: { default: dt.MD },
22387
+ size: { default: gt.MD },
22388
22388
  variant: { default: Po.PRIMARY },
22389
22389
  right: { type: Boolean, default: void 0 },
22390
22390
  noFlip: { type: Boolean, default: void 0 },
@@ -22395,37 +22395,42 @@ const Jb = hn.create({
22395
22395
  offset: { default: void 0 }
22396
22396
  },
22397
22397
  setup(n) {
22398
- const e = n, { uniqueIdentifier: t } = Fo(), r = `__BD__DROPDOWN__${t.value}`, i = dn(!1), o = Ie(() => ({
22399
- class: { btn: e.toggleTag === "button", [`btn-${e.variant}`]: e.toggleTag === "button" && e.variant, [`btn-${e.size}`]: e.toggleTag === "button" && e.size, [`${e.toggleClass}`]: e.toggleClass !== void 0, "dropdown-toggle-action": e.actionToggle },
22398
+ const e = n, { uniqueIdentifier: t } = Fo(), r = `__BD__DROPDOWN__${t.value}`, i = Ie(() => ({
22399
+ class: {
22400
+ btn: e.toggleTag === "button",
22401
+ [`btn-${e.variant}`]: e.toggleTag === "button" && e.variant,
22402
+ [`btn-${e.size}`]: e.toggleTag === "button" && e.size,
22403
+ [`${e.toggleClass}`]: e.toggleClass !== void 0,
22404
+ "dropdown-toggle-action": e.actionToggle
22405
+ },
22400
22406
  "data-bs-display": e.noFlip ? "static" : null,
22401
22407
  "data-bs-offset": e.offset ? e.offset : null,
22402
- "aria-expanded": i.value,
22408
+ //"aria-expanded": showDropdown.value,
22403
22409
  id: r
22404
- })), s = Ie(() => ({
22405
- show: i.value,
22410
+ })), o = Ie(() => ({
22411
+ //show: showDropdown.value,
22406
22412
  "dropdown-menu-end": e.right,
22407
22413
  "dropdown-menu-action": e.actionToggle
22408
- })), l = Ie(() => ({
22414
+ })), s = Ie(() => ({
22409
22415
  "aria-labelledby": r
22410
- })), a = () => {
22411
- i.value = !i.value;
22416
+ })), l = () => {
22412
22417
  };
22413
- return (c, u) => (de(), ve("div", w5, [
22414
- (de(), vt(No(e.toggleTag), Cn({
22418
+ return (a, c) => (de(), ve("div", w5, [
22419
+ (de(), vt(No(e.toggleTag), wn({
22415
22420
  class: "dropdown-toggle",
22416
22421
  target: "_self",
22417
22422
  role: "button",
22418
22423
  "data-bs-toggle": "dropdown"
22419
- }, o.value, { onClick: a }), {
22420
- default: ft(() => [
22424
+ }, i.value, { onClick: l }), {
22425
+ default: dt(() => [
22421
22426
  un(Je(e.text), 1)
22422
22427
  ]),
22423
22428
  _: 1
22424
22429
  }, 16)),
22425
- ue("ul", Cn({
22426
- class: ["dropdown-menu", s.value]
22427
- }, l.value), [
22428
- We(c.$slots, "default")
22430
+ ue("ul", wn({
22431
+ class: ["dropdown-menu", o.value]
22432
+ }, s.value), [
22433
+ Ge(a.$slots, "default")
22429
22434
  ], 16)
22430
22435
  ]));
22431
22436
  }
@@ -22463,7 +22468,7 @@ const Jb = hn.create({
22463
22468
  ])
22464
22469
  ]),
22465
22470
  ue("div", I5, [
22466
- We(o.$slots, "default")
22471
+ Ge(o.$slots, "default")
22467
22472
  ]),
22468
22473
  ue("div", R5, [
22469
22474
  ue("button", {
@@ -22498,7 +22503,7 @@ const Jb = hn.create({
22498
22503
  }, on = /* @__PURE__ */ Be({
22499
22504
  __name: "BDButton",
22500
22505
  props: {
22501
- size: { default: dt.MD },
22506
+ size: { default: gt.MD },
22502
22507
  variant: { default: N5.PRIMARY },
22503
22508
  blockElement: { type: Boolean, default: !1 },
22504
22509
  disabled: { type: Boolean, default: !1 },
@@ -22522,11 +22527,11 @@ const Jb = hn.create({
22522
22527
  }), s = () => {
22523
22528
  e("click");
22524
22529
  };
22525
- return (l, a) => (de(), vt(No(i.value), Cn({
22530
+ return (l, a) => (de(), vt(No(i.value), wn({
22526
22531
  class: ["bd-btn", r.value]
22527
22532
  }, o.value, { onClick: s }), {
22528
- default: ft(() => [
22529
- We(l.$slots, "default", {}, () => [
22533
+ default: dt(() => [
22534
+ Ge(l.$slots, "default", {}, () => [
22530
22535
  un(Je(t.text), 1)
22531
22536
  ])
22532
22537
  ]),