tiptapify 0.2.0 → 0.2.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.
@@ -1,4 +1,4 @@
1
- import { Comment as Sm, Fragment as H1, Teleport as km, Text as Om, Transition as o3, TransitionGroup as Hr, camelize as Kl, capitalize as A4, cloneVNode as wm, computed as Z, createBlock as d1, createCommentVNode as b2, createElementBlock as u1, createElementVNode as w, createTextVNode as e1, createVNode as M, customRef as Zm, defineComponent as n1, effectScope as Vr, getCurrentInstance as ql, guardReactiveProps as Fm, h as N5, inject as N, isRef as P8, isVNode as Em, markRaw as D1, mergeProps as V1, nextTick as a2, normalizeClass as a1, normalizeProps as xm, normalizeStyle as O1, onBeforeMount as v4, onBeforeUnmount as n5, onDeactivated as Tm, onMounted as M5, onScopeDispose as q2, onUnmounted as j9, onUpdated as Bm, openBlock as D, provide as P2, reactive as Z0, readonly as dr, ref as z, render as gn, renderList as p2, renderSlot as An, resolveDynamicComponent as _8, shallowRef as p1, toDisplayString as $, toRaw as T2, toRef as _, toRefs as Pm, toValue as y2, unref as S, useId as Z5, useTemplateRef as ke, vModelSelect as _m, vModelText as cr, vShow as r0, warn as G9, watch as L1, watchEffect as S5, withCtx as b, withDirectives as f2, withModifiers as Rm } from "vue";
1
+ import { Comment as Sm, Fragment as H1, Teleport as km, Text as Om, Transition as o3, TransitionGroup as Hr, camelize as Kl, capitalize as A4, cloneVNode as wm, computed as Z, createBlock as d1, createCommentVNode as b2, createElementBlock as u1, createElementVNode as w, createTextVNode as e1, createVNode as M, customRef as Zm, defineComponent as n1, effectScope as Vr, getCurrentInstance as ql, guardReactiveProps as Fm, h as N5, inject as N, isRef as P8, isVNode as Em, markRaw as D1, mergeProps as V1, nextTick as a2, normalizeClass as a1, normalizeProps as xm, normalizeStyle as O1, onBeforeMount as v4, onBeforeUnmount as n5, onDeactivated as Tm, onMounted as M5, onScopeDispose as q2, onUnmounted as j9, onUpdated as Bm, openBlock as D, provide as P2, reactive as Z0, readonly as dr, ref as z, render as gn, renderList as p2, renderSlot as An, resolveDynamicComponent as _8, shallowRef as p1, toDisplayString as $, toRaw as T2, toRef as _, toRefs as Pm, toValue as y2, unref as S, useId as Z5, useTemplateRef as ke, vModelSelect as _m, vModelText as cr, vShow as r0, warn as G9, watch as L1, watchEffect as S5, withCtx as y, withDirectives as f2, withModifiers as Rm } from "vue";
2
2
  import { useI18n as Ql } from "vue-i18n";
3
3
  var Dm = Object.create, Rt = Object.defineProperty, Nm = Object.getOwnPropertyDescriptor, Im = Object.getOwnPropertyNames, zm = Object.getPrototypeOf, $m = Object.prototype.hasOwnProperty, Wm = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), L2 = (e, t) => {
4
4
  let i = {};
@@ -1708,14 +1708,14 @@ var I3 = {
1708
1708
  }), L = Z(() => c.value.aspect || V.value / d.value || 0);
1709
1709
  L1(() => e.src, () => {
1710
1710
  u(H.value !== "idle");
1711
- }), L1(L, (F, B) => {
1712
- !F && B && C.value && h(C.value);
1711
+ }), L1(L, (F, P) => {
1712
+ !F && P && C.value && h(C.value);
1713
1713
  }), v4(() => u());
1714
1714
  function u(F) {
1715
1715
  if (!(e.eager && F) && !(ur && !F && !e.eager)) {
1716
1716
  if (H.value = "loading", c.value.lazySrc) {
1717
- const B = new Image();
1718
- B.src = c.value.lazySrc, h(B, null);
1717
+ const P = new Image();
1718
+ P.src = c.value.lazySrc, h(P, null);
1719
1719
  }
1720
1720
  c.value.src && a2(() => {
1721
1721
  i("loadstart", C.value?.currentSrc || c.value.src), setTimeout(() => {
@@ -1744,11 +1744,11 @@ var I3 = {
1744
1744
  clearTimeout(g);
1745
1745
  });
1746
1746
  function h(F) {
1747
- let B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
1747
+ let P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
1748
1748
  const x = () => {
1749
1749
  if (clearTimeout(g), s.isUnmounted) return;
1750
1750
  const { naturalHeight: R, naturalWidth: X } = F;
1751
- R || X ? (V.value = X, d.value = R) : !F.complete && H.value === "loading" && B != null ? g = window.setTimeout(x, B) : (F.currentSrc.endsWith(".svg") || F.currentSrc.startsWith("data:image/svg+xml")) && (V.value = 1, d.value = 1);
1751
+ R || X ? (V.value = X, d.value = R) : !F.complete && H.value === "loading" && P != null ? g = window.setTimeout(x, P) : (F.currentSrc.endsWith(".svg") || F.currentSrc.startsWith("data:image/svg+xml")) && (V.value = 1, d.value = 1);
1752
1752
  };
1753
1753
  x();
1754
1754
  }
@@ -1774,12 +1774,12 @@ var I3 = {
1774
1774
  ref: C,
1775
1775
  onLoad: m,
1776
1776
  onError: p
1777
- }, null), B = r.sources?.();
1777
+ }, null), P = r.sources?.();
1778
1778
  return M(S0, {
1779
1779
  transition: e.transition,
1780
1780
  appear: !0
1781
- }, { default: () => [f2(B ? w("picture", { class: "v-img__picture" }, [B, F]) : F, [[r0, H.value === "loaded"]])] });
1782
- }, y = () => M(S0, { transition: e.transition }, { default: () => [c.value.lazySrc && H.value !== "loaded" && w("img", {
1781
+ }, { default: () => [f2(P ? w("picture", { class: "v-img__picture" }, [P, F]) : F, [[r0, H.value === "loaded"]])] });
1782
+ }, b = () => M(S0, { transition: e.transition }, { default: () => [c.value.lazySrc && H.value !== "loaded" && w("img", {
1783
1783
  class: a1([
1784
1784
  "v-img__img",
1785
1785
  "v-img__img--preload",
@@ -1797,13 +1797,13 @@ var I3 = {
1797
1797
  }, { default: () => [(H.value === "loading" || H.value === "error" && !r.error) && w("div", { class: "v-img__placeholder" }, [r.placeholder()])] }) : null, E = () => r.error ? M(S0, {
1798
1798
  transition: e.transition,
1799
1799
  appear: !0
1800
- }, { default: () => [H.value === "error" && w("div", { class: "v-img__error" }, [r.error()])] }) : null, P = () => e.gradient ? w("div", {
1800
+ }, { default: () => [H.value === "error" && w("div", { class: "v-img__error" }, [r.error()])] }) : null, B = () => e.gradient ? w("div", {
1801
1801
  class: "v-img__gradient",
1802
1802
  style: { backgroundImage: `linear-gradient(${e.gradient})` }
1803
1803
  }, null) : null, T = p1(!1);
1804
1804
  {
1805
- const F = L1(L, (B) => {
1806
- B && (requestAnimationFrame(() => {
1805
+ const F = L1(L, (P) => {
1806
+ P && (requestAnimationFrame(() => {
1807
1807
  requestAnimationFrame(() => {
1808
1808
  T.value = !0;
1809
1809
  });
@@ -1836,8 +1836,8 @@ var I3 = {
1836
1836
  }), {
1837
1837
  additional: () => w(H1, null, [
1838
1838
  M(k, null, null),
1839
- M(y, null, null),
1840
- M(P, null, null),
1839
+ M(b, null, null),
1840
+ M(B, null, null),
1841
1841
  M(A, null, null),
1842
1842
  M(E, null, null)
1843
1843
  ]),
@@ -2088,11 +2088,11 @@ var QM = [
2088
2088
  },
2089
2089
  setup(e) {
2090
2090
  return (t, i) => (D(), d1(Or, { class: "px-2 py-3" }, {
2091
- default: b(() => [(D(!0), u1(H1, null, p2(e.items, (r) => (D(), u1(H1, { key: r.section }, [r.section === "__separator__" ? (D(), u1("div", XM)) : (D(), u1(H1, { key: 1 }, [r.group ? (D(), d1(i4, {
2091
+ default: y(() => [(D(!0), u1(H1, null, p2(e.items, (r) => (D(), u1(H1, { key: r.section }, [r.section === "__separator__" ? (D(), u1("div", XM)) : (D(), u1(H1, { key: 1 }, [r.group ? (D(), d1(i4, {
2092
2092
  key: 0,
2093
2093
  elevation: "4"
2094
2094
  }, {
2095
- default: b(() => [(D(!0), u1(H1, null, p2(r.components, (a) => (D(), d1(_8(a.component), V1({
2095
+ default: y(() => [(D(!0), u1(H1, null, p2(r.components, (a) => (D(), d1(_8(a.component), V1({
2096
2096
  key: a.name,
2097
2097
  ref_for: !0
2098
2098
  }, { ...a.props ?? {} }), null, 16))), 128))]),
@@ -9970,12 +9970,12 @@ var nk2 = j({
9970
9970
  props: nk2(),
9971
9971
  setup(e, t) {
9972
9972
  let { slots: i } = t;
9973
- const r = 20, a = 2 * Math.PI * r, n = z(), { themeClasses: o } = Q2(e), { sizeClasses: s, sizeStyles: l } = w4(e), { textColorClasses: C, textColorStyles: H } = re(() => e.color), { textColorClasses: V, textColorStyles: d } = re(() => e.bgColor), { intersectionRef: c, isIntersecting: L } = pH(), { resizeRef: u, contentRect: m } = l3(), { state: p, duration: f } = ak2(e), g = _(() => p.value === "initial" ? 0 : B2(parseFloat(e.modelValue), 0, 100)), h = _(() => Number(e.width)), v = _(() => l.value ? Number(e.size) : m.value ? m.value.width : Math.max(h.value, 32)), k = _(() => r / (1 - h.value / v.value) * 2), y = _(() => h.value / v.value * k.value), A = _(() => {
9974
- const P = (100 - g.value) / 100 * a;
9975
- return e.rounded && g.value > 0 && g.value < 100 ? c1(Math.min(a - 0.01, P + y.value)) : c1(P);
9973
+ const r = 20, a = 2 * Math.PI * r, n = z(), { themeClasses: o } = Q2(e), { sizeClasses: s, sizeStyles: l } = w4(e), { textColorClasses: C, textColorStyles: H } = re(() => e.color), { textColorClasses: V, textColorStyles: d } = re(() => e.bgColor), { intersectionRef: c, isIntersecting: L } = pH(), { resizeRef: u, contentRect: m } = l3(), { state: p, duration: f } = ak2(e), g = _(() => p.value === "initial" ? 0 : B2(parseFloat(e.modelValue), 0, 100)), h = _(() => Number(e.width)), v = _(() => l.value ? Number(e.size) : m.value ? m.value.width : Math.max(h.value, 32)), k = _(() => r / (1 - h.value / v.value) * 2), b = _(() => h.value / v.value * k.value), A = _(() => {
9974
+ const B = (100 - g.value) / 100 * a;
9975
+ return e.rounded && g.value > 0 && g.value < 100 ? c1(Math.min(a - 0.01, B + b.value)) : c1(B);
9976
9976
  }), E = Z(() => {
9977
- const P = Number(e.rotate);
9978
- return e.rounded ? P + y.value / 2 / a * 360 : P;
9977
+ const B = Number(e.rotate);
9978
+ return e.rounded ? B + b.value / 2 / a * 360 : B;
9979
9979
  });
9980
9980
  return S5(() => {
9981
9981
  c.value = n.value, u.value = n.value;
@@ -10015,7 +10015,7 @@ var nk2 = j({
10015
10015
  cx: "50%",
10016
10016
  cy: "50%",
10017
10017
  r,
10018
- "stroke-width": y.value,
10018
+ "stroke-width": b.value,
10019
10019
  "stroke-dasharray": a,
10020
10020
  "stroke-dashoffset": 0
10021
10021
  }, null), w("circle", {
@@ -10024,7 +10024,7 @@ var nk2 = j({
10024
10024
  cx: "50%",
10025
10025
  cy: "50%",
10026
10026
  r,
10027
- "stroke-width": y.value,
10027
+ "stroke-width": b.value,
10028
10028
  "stroke-dasharray": a,
10029
10029
  "stroke-dashoffset": A.value,
10030
10030
  "stroke-linecap": e.rounded ? "round" : void 0
@@ -10118,12 +10118,12 @@ var lk2 = j({
10118
10118
  emits: { "update:modelValue": (e) => !0 },
10119
10119
  setup(e, t) {
10120
10120
  let { slots: i } = t;
10121
- const r = z(), a = Y1(e, "modelValue"), { isRtl: n, rtlClasses: o } = x5(), { themeClasses: s } = Q2(e), { locationStyles: l } = o7(e), { textColorClasses: C, textColorStyles: H } = re(() => e.color), { backgroundColorClasses: V, backgroundColorStyles: d } = b5(() => e.bgColor || e.color), { backgroundColorClasses: c, backgroundColorStyles: L } = b5(() => e.bufferColor || e.bgColor || e.color), { backgroundColorClasses: u, backgroundColorStyles: m } = b5(() => e.color), { roundedClasses: p } = E5(e), { intersectionRef: f, isIntersecting: g } = pH(), h = Z(() => parseFloat(e.max)), v = Z(() => parseFloat(e.height)), k = Z(() => B2(parseFloat(e.bufferValue) / h.value * 100, 0, 100)), y = Z(() => B2(parseFloat(a.value) / h.value * 100, 0, 100)), A = Z(() => n.value !== e.reverse), E = Z(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), P = p1(0), { hasChunks: T, chunksMaskStyles: F, snapValueToChunk: B } = sk2(e, P);
10121
+ const r = z(), a = Y1(e, "modelValue"), { isRtl: n, rtlClasses: o } = x5(), { themeClasses: s } = Q2(e), { locationStyles: l } = o7(e), { textColorClasses: C, textColorStyles: H } = re(() => e.color), { backgroundColorClasses: V, backgroundColorStyles: d } = b5(() => e.bgColor || e.color), { backgroundColorClasses: c, backgroundColorStyles: L } = b5(() => e.bufferColor || e.bgColor || e.color), { backgroundColorClasses: u, backgroundColorStyles: m } = b5(() => e.color), { roundedClasses: p } = E5(e), { intersectionRef: f, isIntersecting: g } = pH(), h = Z(() => parseFloat(e.max)), v = Z(() => parseFloat(e.height)), k = Z(() => B2(parseFloat(e.bufferValue) / h.value * 100, 0, 100)), b = Z(() => B2(parseFloat(a.value) / h.value * 100, 0, 100)), A = Z(() => n.value !== e.reverse), E = Z(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), B = p1(0), { hasChunks: T, chunksMaskStyles: F, snapValueToChunk: P } = sk2(e, B);
10122
10122
  F0(T, () => {
10123
- const { resizeRef: W } = l3((J) => P.value = J[0].contentRect.width);
10123
+ const { resizeRef: W } = l3((J) => B.value = J[0].contentRect.width);
10124
10124
  S5(() => W.value = r.value);
10125
10125
  });
10126
- const x = Z(() => T.value ? B(k.value) : k.value), R = Z(() => T.value ? B(y.value) : y.value);
10126
+ const x = Z(() => T.value ? P(k.value) : k.value), R = Z(() => T.value ? P(b.value) : b.value);
10127
10127
  function X(W) {
10128
10128
  if (!f.value) return;
10129
10129
  const { left: J, right: r1, width: Q } = f.value.getBoundingClientRect(), U = A.value ? Q - W.clientX + (r1 - Q) : W.clientX - J;
@@ -10207,7 +10207,7 @@ var lk2 = j({
10207
10207
  style: O1([m.value, { width: c1(R.value, "%") }])
10208
10208
  }, null)] }),
10209
10209
  i.default && w("div", { class: "v-progress-linear__content" }, [i.default({
10210
- value: y.value,
10210
+ value: b.value,
10211
10211
  buffer: k.value
10212
10212
  })])
10213
10213
  ] })), {};
@@ -10513,17 +10513,17 @@ var ae = {
10513
10513
  const { themeClasses: a } = Q2(e), { borderClasses: n } = o0(e), { densityClasses: o } = Ze(e), { dimensionStyles: s } = He(e), { elevationClasses: l } = Ee(e), { loaderClasses: C } = Q9(e), { locationStyles: H } = o7(e), { positionClasses: V } = Y9(e), { roundedClasses: d } = E5(e), { sizeClasses: c, sizeStyles: L } = w4(e), u = j8(e, e.symbol, !1), m = X9(e, i), p = Z(() => e.active !== void 0 ? e.active : m.isRouterLink.value ? m.isActive?.value : u?.isSelected.value), f = _(() => p.value ? e.activeColor ?? e.color : e.color), { colorClasses: g, colorStyles: h, variantClasses: v } = r7(Z(() => ({
10514
10514
  color: u?.isSelected.value && (!m.isLink.value || m.isActive?.value) || !u || m.isActive?.value ? f.value ?? e.baseColor : e.baseColor,
10515
10515
  variant: e.variant
10516
- }))), k = Z(() => u?.disabled.value || e.disabled), y = _(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), A = Z(() => {
10516
+ }))), k = Z(() => u?.disabled.value || e.disabled), b = _(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), A = Z(() => {
10517
10517
  if (!(e.value === void 0 || typeof e.value == "symbol"))
10518
10518
  return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value;
10519
10519
  });
10520
- function E(P) {
10521
- k.value || m.isLink.value && (P.metaKey || P.ctrlKey || P.shiftKey || P.button !== 0 || i.target === "_blank") || (m.isRouterLink.value ? m.navigate.value?.(P) : u?.toggle());
10520
+ function E(B) {
10521
+ k.value || m.isLink.value && (B.metaKey || B.ctrlKey || B.shiftKey || B.button !== 0 || i.target === "_blank") || (m.isRouterLink.value ? m.navigate.value?.(B) : u?.toggle());
10522
10522
  }
10523
10523
  return ck2(m, u?.select), S1(() => {
10524
- const P = m.isLink.value ? "a" : e.tag, T = !!(e.prependIcon || r.prepend), F = !!(e.appendIcon || r.append), B = !!(e.icon && e.icon !== !0);
10525
- return f2(M(P, V1(m.linkProps, {
10526
- type: P === "a" ? void 0 : "button",
10524
+ const B = m.isLink.value ? "a" : e.tag, T = !!(e.prependIcon || r.prepend), F = !!(e.appendIcon || r.append), P = !!(e.icon && e.icon !== !0);
10525
+ return f2(M(B, V1(m.linkProps, {
10526
+ type: B === "a" ? void 0 : "button",
10527
10527
  class: [
10528
10528
  "v-btn",
10529
10529
  u?.selectedClass.value,
@@ -10531,7 +10531,7 @@ var ae = {
10531
10531
  "v-btn--active": p.value,
10532
10532
  "v-btn--block": e.block,
10533
10533
  "v-btn--disabled": k.value,
10534
- "v-btn--elevated": y.value,
10534
+ "v-btn--elevated": b.value,
10535
10535
  "v-btn--flat": e.flat,
10536
10536
  "v-btn--icon": !!e.icon,
10537
10537
  "v-btn--loading": e.loading,
@@ -10560,7 +10560,7 @@ var ae = {
10560
10560
  e.style
10561
10561
  ],
10562
10562
  "aria-busy": e.loading ? !0 : void 0,
10563
- disabled: k.value && P !== "a" || void 0,
10563
+ disabled: k.value && B !== "a" || void 0,
10564
10564
  tabindex: e.loading || e.readonly ? -1 : void 0,
10565
10565
  onClick: E,
10566
10566
  value: A.value
@@ -10580,12 +10580,12 @@ var ae = {
10580
10580
  w("span", {
10581
10581
  class: "v-btn__content",
10582
10582
  "data-no-activator": ""
10583
- }, [!r.default && B ? M(q1, {
10583
+ }, [!r.default && P ? M(q1, {
10584
10584
  key: "content-icon",
10585
10585
  icon: e.icon
10586
10586
  }, null) : M(c2, {
10587
10587
  key: "content-defaults",
10588
- disabled: !B,
10588
+ disabled: !P,
10589
10589
  defaults: { VIcon: { icon: e.icon } }
10590
10590
  }, { default: () => [r.default?.() ?? $(e.text)] })]),
10591
10591
  !e.icon && F && w("span", {
@@ -10765,8 +10765,8 @@ function Sk2(e, t, i) {
10765
10765
  (Array.isArray(e.target.value) || e.target.value.offsetParent || e.target.value.getClientRects().length) && (L = t4(e.target.value));
10766
10766
  const m = yk2(e.contentEl.value, e.isRtl.value), p = zt(e.contentEl.value), f = Number(t.viewportMargin);
10767
10767
  p.length || (p.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (m.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), m.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
10768
- const g = p.reduce((F, B) => {
10769
- const x = lM(B);
10768
+ const g = p.reduce((F, P) => {
10769
+ const x = lM(P);
10770
10770
  return F ? new g5({
10771
10771
  x: Math.max(F.left, x.left),
10772
10772
  y: Math.max(F.top, x.top),
@@ -10780,8 +10780,8 @@ function Sk2(e, t, i) {
10780
10780
  origin: a.value
10781
10781
  };
10782
10782
  function v(F) {
10783
- const B = new g5(m);
10784
- let { x, y: R } = gk2(io(F.anchor, L), io(F.origin, B));
10783
+ const P = new g5(m);
10784
+ let { x, y: R } = gk2(io(F.anchor, L), io(F.origin, P));
10785
10785
  switch (F.anchor.side) {
10786
10786
  case "top":
10787
10787
  R -= C.value[0];
@@ -10810,13 +10810,13 @@ function Sk2(e, t, i) {
10810
10810
  x += C.value[1];
10811
10811
  break;
10812
10812
  }
10813
- return B.x += x, B.y += R, B.width = Math.min(B.width, s.value), B.height = Math.min(B.height, l.value), {
10814
- overflows: Bn(B, g),
10813
+ return P.x += x, P.y += R, P.width = Math.min(P.width, s.value), P.height = Math.min(P.height, l.value), {
10814
+ overflows: Bn(P, g),
10815
10815
  x,
10816
10816
  y: R
10817
10817
  };
10818
10818
  }
10819
- let k = 0, y = 0;
10819
+ let k = 0, b = 0;
10820
10820
  const A = {
10821
10821
  x: 0,
10822
10822
  y: 0
@@ -10824,14 +10824,14 @@ function Sk2(e, t, i) {
10824
10824
  x: !1,
10825
10825
  y: !1
10826
10826
  };
10827
- let P = -1;
10827
+ let B = -1;
10828
10828
  for (; ; ) {
10829
- if (P++ > 10) {
10829
+ if (B++ > 10) {
10830
10830
  Lr("Infinite loop detected in connectedLocationStrategy");
10831
10831
  break;
10832
10832
  }
10833
- const { x: F, y: B, overflows: x } = v(h);
10834
- k += F, y += B, m.x += F, m.y += B;
10833
+ const { x: F, y: P, overflows: x } = v(h);
10834
+ k += F, b += P, m.x += F, m.y += P;
10835
10835
  {
10836
10836
  const R = Tn(h.anchor), X = x.x.before || x.x.after, W = x.y.before || x.y.after;
10837
10837
  let J = !1;
@@ -10847,10 +10847,10 @@ function Sk2(e, t, i) {
10847
10847
  }
10848
10848
  }), J) continue;
10849
10849
  }
10850
- x.x.before && (k += x.x.before, m.x += x.x.before), x.x.after && (k -= x.x.after, m.x -= x.x.after), x.y.before && (y += x.y.before, m.y += x.y.before), x.y.after && (y -= x.y.after, m.y -= x.y.after);
10850
+ x.x.before && (k += x.x.before, m.x += x.x.before), x.x.after && (k -= x.x.after, m.x -= x.x.after), x.y.before && (b += x.y.before, m.y += x.y.before), x.y.after && (b -= x.y.after, m.y -= x.y.after);
10851
10851
  {
10852
10852
  const R = Bn(m, g);
10853
- A.x = g.width - R.x.before - R.x.after, A.y = g.height - R.y.before - R.y.after, k += R.x.before, m.x += R.x.before, y += R.y.before, m.y += R.y.before;
10853
+ A.x = g.width - R.x.before - R.x.after, A.y = g.height - R.y.before - R.y.after, k += R.x.before, m.x += R.x.before, b += R.y.before, m.y += R.y.before;
10854
10854
  }
10855
10855
  break;
10856
10856
  }
@@ -10858,7 +10858,7 @@ function Sk2(e, t, i) {
10858
10858
  return Object.assign(i.value, {
10859
10859
  "--v-overlay-anchor-origin": `${h.anchor.side} ${h.anchor.align}`,
10860
10860
  transformOrigin: `${h.origin.side} ${h.origin.align}`,
10861
- top: c1(I6(y)),
10861
+ top: c1(I6(b)),
10862
10862
  left: e.isRtl.value ? void 0 : c1(I6(k)),
10863
10863
  right: e.isRtl.value ? c1(I6(-k)) : void 0,
10864
10864
  minWidth: c1(T === "y" ? Math.min(n.value, L.width) : n.value),
@@ -11090,19 +11090,19 @@ function Pk2(e, t) {
11090
11090
  });
11091
11091
  });
11092
11092
  const h = D8(), v = Z(() => e.target === "cursor" && L.value ? L.value : h.value ? h.el : FH(e.target, n) || o.value), k = Z(() => Array.isArray(v.value) ? void 0 : v.value);
11093
- let y;
11093
+ let b;
11094
11094
  return L1(() => !!e.activator, (A) => {
11095
- A && k2 ? (y = Vr(), y.run(() => {
11095
+ A && k2 ? (b = Vr(), b.run(() => {
11096
11096
  _k2(e, n, {
11097
11097
  activatorEl: o,
11098
11098
  activatorEvents: m
11099
11099
  });
11100
- })) : y && y.stop();
11100
+ })) : b && b.stop();
11101
11101
  }, {
11102
11102
  flush: "post",
11103
11103
  immediate: !0
11104
11104
  }), q2(() => {
11105
- y?.stop();
11105
+ b?.stop();
11106
11106
  }), {
11107
11107
  activatorEl: o,
11108
11108
  activatorRef: g,
@@ -11417,7 +11417,7 @@ var a6 = j({
11417
11417
  set: (K) => {
11418
11418
  K && e.disabled || (C.value = K);
11419
11419
  }
11420
- }), { themeClasses: V } = Q2(e), { rtlClasses: d, isRtl: c } = x5(), { hasContent: L, onAfterLeave: u } = Wk2(e, H), m = b5(() => typeof e.scrim == "string" ? e.scrim : null), { globalTop: p, localTop: f, stackStyles: g } = Uk2(H, () => e.zIndex, e._disableGlobalStack), { activatorEl: h, activatorRef: v, target: k, targetEl: y, targetRef: A, activatorEvents: E, contentEvents: P, scrimEvents: T } = Pk2(e, {
11420
+ }), { themeClasses: V } = Q2(e), { rtlClasses: d, isRtl: c } = x5(), { hasContent: L, onAfterLeave: u } = Wk2(e, H), m = b5(() => typeof e.scrim == "string" ? e.scrim : null), { globalTop: p, localTop: f, stackStyles: g } = Uk2(H, () => e.zIndex, e._disableGlobalStack), { activatorEl: h, activatorRef: v, target: k, targetEl: b, targetRef: A, activatorEvents: E, contentEvents: B, scrimEvents: T } = Pk2(e, {
11421
11421
  isActive: H,
11422
11422
  isTop: f,
11423
11423
  contentEl: l
@@ -11426,7 +11426,7 @@ var a6 = j({
11426
11426
  if (K) return K;
11427
11427
  const P1 = h?.value?.getRootNode() || n.proxy?.$el?.getRootNode();
11428
11428
  return P1 instanceof ShadowRoot ? P1 : !1;
11429
- }), { dimensionStyles: B } = He(e), x = zk2(), { scopeId: R } = r6();
11429
+ }), { dimensionStyles: P } = He(e), x = zk2(), { scopeId: R } = r6();
11430
11430
  L1(() => e.disabled, (K) => {
11431
11431
  K && (H.value = !1);
11432
11432
  });
@@ -11439,7 +11439,7 @@ var a6 = j({
11439
11439
  wk2(e, {
11440
11440
  root: o,
11441
11441
  contentEl: l,
11442
- targetEl: y,
11442
+ targetEl: b,
11443
11443
  target: k,
11444
11444
  isActive: H,
11445
11445
  updateLocation: W
@@ -11539,8 +11539,8 @@ var a6 = j({
11539
11539
  }, { default: () => [f2(w("div", V1({
11540
11540
  ref: l,
11541
11541
  class: ["v-overlay__content", e.contentClass],
11542
- style: [B.value, X.value]
11543
- }, P.value, e.contentProps), [i.default?.({ isActive: H })]), [[r0, H.value], [Co, {
11542
+ style: [P.value, X.value]
11543
+ }, B.value, e.contentProps), [i.default?.({ isActive: H })]), [[r0, H.value], [Co, {
11544
11544
  handler: J,
11545
11545
  closeConditional: r1,
11546
11546
  include: () => [h.value]
@@ -11690,8 +11690,8 @@ var Qk2 = j({
11690
11690
  variant: e.variantBtn,
11691
11691
  onClick: a[0] || (a[0] = (n) => S(t).chain().focus().undo().run())
11692
11692
  }, {
11693
- default: b(() => [M(v1, { activator: "parent" }, {
11694
- default: b(() => [e1($(S(i)("action.undo")), 1)]),
11693
+ default: y(() => [M(v1, { activator: "parent" }, {
11694
+ default: y(() => [e1($(S(i)("action.undo")), 1)]),
11695
11695
  _: 1
11696
11696
  }), M(y1, { icon: `mdiSvg:${LH}` }, null, 8, ["icon"])]),
11697
11697
  _: 1
@@ -11714,8 +11714,8 @@ var Qk2 = j({
11714
11714
  variant: e.variantBtn,
11715
11715
  onClick: a[0] || (a[0] = (n) => S(t).chain().focus().redo().run())
11716
11716
  }, {
11717
- default: b(() => [M(v1, { activator: "parent" }, {
11718
- default: b(() => [e1($(S(i)("action.redo")), 1)]),
11717
+ default: y(() => [M(v1, { activator: "parent" }, {
11718
+ default: y(() => [e1($(S(i)("action.redo")), 1)]),
11719
11719
  _: 1
11720
11720
  }), M(y1, { icon: `mdiSvg:${eH}` }, null, 8, ["icon"])]),
11721
11721
  _: 1
@@ -11992,7 +11992,7 @@ var Qk2 = j({
11992
11992
  return L1(() => e.loading, (f, g) => {
11993
11993
  p.value = !f && typeof g == "string" ? g : typeof f == "boolean" ? void 0 : f;
11994
11994
  }, { immediate: !0 }), S1(() => {
11995
- const f = e.link !== !1 && m.isLink.value, g = !e.disabled && e.link !== !1 && (e.link || m.isClickable.value), h = f ? "a" : e.tag, v = !!(r.title || e.title != null), k = !!(r.subtitle || e.subtitle != null), y = v || k, A = !!(r.append || e.appendAvatar || e.appendIcon), E = !!(r.prepend || e.prependAvatar || e.prependIcon), P = !!(r.image || e.image), T = y || E || A, F = !!(r.text || e.text != null);
11995
+ const f = e.link !== !1 && m.isLink.value, g = !e.disabled && e.link !== !1 && (e.link || m.isClickable.value), h = f ? "a" : e.tag, v = !!(r.title || e.title != null), k = !!(r.subtitle || e.subtitle != null), b = v || k, A = !!(r.append || e.appendAvatar || e.appendIcon), E = !!(r.prepend || e.prependAvatar || e.prependIcon), B = !!(r.image || e.image), T = b || E || A, F = !!(r.text || e.text != null);
11996
11996
  return f2(M(h, V1(m.linkProps, {
11997
11997
  class: [
11998
11998
  "v-card",
@@ -12023,7 +12023,7 @@ var Qk2 = j({
12023
12023
  onClick: g && m.navigate.value,
12024
12024
  tabindex: e.disabled ? -1 : void 0
12025
12025
  }), { default: () => [
12026
- P && w("div", {
12026
+ B && w("div", {
12027
12027
  key: "image",
12028
12028
  class: "v-card__image"
12029
12029
  }, [r.image ? M(c2, {
@@ -12503,8 +12503,8 @@ var AO2 = j({
12503
12503
  const h = L.parentNode.offsetLeft, v = L.parentNode.offsetTop;
12504
12504
  let k = L.offsetLeft - u.moveX;
12505
12505
  k < h * -1 && (k = h * -1), k >= h && (k = h);
12506
- let y = L.offsetTop - u.moveY;
12507
- y < v * -1 && (y = v * -1), y >= v && (y = v), L.style.left = `${k}px`, L.style.top = `${y}px`;
12506
+ let b = L.offsetTop - u.moveY;
12507
+ b < v * -1 && (b = v * -1), b >= v && (b = v), L.style.left = `${k}px`, L.style.top = `${b}px`;
12508
12508
  }
12509
12509
  function f() {
12510
12510
  document.onmouseup = null, document.onmousemove = null;
@@ -12547,17 +12547,17 @@ var AO2 = j({
12547
12547
  fullscreen: e.fullscreen,
12548
12548
  "onClick:outside": H
12549
12549
  }, {
12550
- default: b(() => [M(Z4, null, {
12551
- default: b(() => [
12550
+ default: y(() => [M(Z4, null, {
12551
+ default: y(() => [
12552
12552
  M(TH, {
12553
12553
  ref_key: "movableHandler",
12554
12554
  ref: s,
12555
12555
  class: a1(`d-flex ${e.fullscreen ? "" : "tiptapify-movable-handler"}`),
12556
12556
  style: { "user-select": "none" }
12557
12557
  }, {
12558
- default: b(() => [
12558
+ default: y(() => [
12559
12559
  M(F4, null, {
12560
- default: b(() => [e1($(e.title ?? S(a)(`dialog.${e.module}.title`)), 1)]),
12560
+ default: y(() => [e1($(e.title ?? S(a)(`dialog.${e.module}.title`)), 1)]),
12561
12561
  _: 1
12562
12562
  }),
12563
12563
  M(Gr),
@@ -12569,7 +12569,7 @@ var AO2 = j({
12569
12569
  icon: "",
12570
12570
  onClick: H
12571
12571
  }, {
12572
- default: b(() => [M(q1, {
12572
+ default: y(() => [M(q1, {
12573
12573
  size: "x-small",
12574
12574
  icon: `mdiSvg:${AC}`
12575
12575
  }, null, 8, ["icon"])]),
@@ -12688,7 +12688,7 @@ var OO2 = [
12688
12688
  }
12689
12689
  }));
12690
12690
  return () => {
12691
- const v = !!(r.prepend || n.value), k = !!(r.title || e.title), y = !!(r.close || e.closable), A = {
12691
+ const v = !!(r.prepend || n.value), k = !!(r.title || e.title), b = !!(r.close || e.closable), A = {
12692
12692
  density: e.density,
12693
12693
  icon: n.value,
12694
12694
  size: e.iconSize || e.prominent ? o.value : void 0
@@ -12741,7 +12741,7 @@ var OO2 = [
12741
12741
  key: "append",
12742
12742
  class: "v-alert__append"
12743
12743
  }, [r.append()]),
12744
- y && w("div", {
12744
+ b && w("div", {
12745
12745
  key: "close",
12746
12746
  class: "v-alert__close"
12747
12747
  }, [r.close ? M(c2, {
@@ -12942,7 +12942,7 @@ var KH = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), qH = j({
12942
12942
  V.value ? m.horizontal(I, p.value) : m(I, p.value);
12943
12943
  }
12944
12944
  }
12945
- function y(I) {
12945
+ function b(I) {
12946
12946
  const { scrollTop: G, scrollLeft: k1 } = I.target;
12947
12947
  l.value = V.value ? k1 : G;
12948
12948
  }
@@ -12957,14 +12957,14 @@ var KH = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), qH = j({
12957
12957
  function E(I) {
12958
12958
  h.value = !1;
12959
12959
  }
12960
- let P = !1;
12960
+ let B = !1;
12961
12961
  function T(I) {
12962
- !P && !h.value && !(I.relatedTarget && L.el?.contains(I.relatedTarget)) && R(), P = !1;
12962
+ !B && !h.value && !(I.relatedTarget && L.el?.contains(I.relatedTarget)) && R(), B = !1;
12963
12963
  }
12964
12964
  function F() {
12965
- P = !0;
12965
+ B = !0;
12966
12966
  }
12967
- function B(I) {
12967
+ function P(I) {
12968
12968
  if (!L.el) return;
12969
12969
  function G(k1) {
12970
12970
  I.preventDefault(), R(k1);
@@ -13045,13 +13045,13 @@ var KH = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), qH = j({
13045
13045
  key: "container",
13046
13046
  ref: d,
13047
13047
  class: a1(["v-slide-group__container", e.contentClass]),
13048
- onScroll: y
13048
+ onScroll: b
13049
13049
  }, [w("div", {
13050
13050
  ref: L,
13051
13051
  class: "v-slide-group__content",
13052
13052
  onFocusin: A,
13053
13053
  onFocusout: E,
13054
- onKeydown: B
13054
+ onKeydown: P
13055
13055
  }, [i.default?.(W.value)])]),
13056
13056
  r1.value && w("div", {
13057
13057
  key: "next",
@@ -13197,11 +13197,11 @@ var KH = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), qH = j({
13197
13197
  function k(A) {
13198
13198
  r("click", A), p.value && (u.navigate.value?.(A), c?.toggle());
13199
13199
  }
13200
- function y(A) {
13200
+ function b(A) {
13201
13201
  (A.key === "Enter" || A.key === " ") && (A.preventDefault(), k(A));
13202
13202
  }
13203
13203
  return () => {
13204
- const A = u.isLink.value ? "a" : e.tag, E = !!(e.appendIcon || e.appendAvatar), P = !!(E || a.append), T = !!(a.close || e.closable), F = !!(a.filter || e.filter) && c, B = !!(e.prependIcon || e.prependAvatar), x = !!(B || a.prepend);
13204
+ const A = u.isLink.value ? "a" : e.tag, E = !!(e.appendIcon || e.appendAvatar), B = !!(E || a.append), T = !!(a.close || e.closable), F = !!(a.filter || e.filter) && c, P = !!(e.prependIcon || e.prependAvatar), x = !!(P || a.prepend);
13205
13205
  return d.value && f2(M(A, V1(u.linkProps, {
13206
13206
  class: [
13207
13207
  "v-chip",
@@ -13229,7 +13229,7 @@ var KH = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), qH = j({
13229
13229
  draggable: e.draggable,
13230
13230
  tabindex: p.value ? 0 : void 0,
13231
13231
  onClick: k,
13232
- onKeydown: p.value && !m.value && y
13232
+ onKeydown: p.value && !m.value && b
13233
13233
  }), { default: () => [
13234
13234
  i7(p.value, "v-chip"),
13235
13235
  F && M(pC, { key: "filter" }, { default: () => [f2(w("div", { class: "v-chip__filter" }, [a.filter ? M(c2, {
@@ -13245,7 +13245,7 @@ var KH = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), qH = j({
13245
13245
  class: "v-chip__prepend"
13246
13246
  }, [a.prepend ? M(c2, {
13247
13247
  key: "prepend-defaults",
13248
- disabled: !B,
13248
+ disabled: !P,
13249
13249
  defaults: {
13250
13250
  VAvatar: {
13251
13251
  image: e.prependAvatar,
@@ -13276,7 +13276,7 @@ var KH = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), qH = j({
13276
13276
  value: c?.value.value,
13277
13277
  disabled: e.disabled
13278
13278
  }) ?? $(e.text)]),
13279
- P && w("div", {
13279
+ B && w("div", {
13280
13280
  key: "append",
13281
13281
  class: "v-chip__append"
13282
13282
  }, [a.append ? M(c2, {
@@ -13482,10 +13482,10 @@ var zO2 = [
13482
13482
  },
13483
13483
  setup(e, t) {
13484
13484
  let { attrs: i, emit: r, slots: a } = t;
13485
- const { themeClasses: n } = Q2(e), { loaderClasses: o } = Q9(e), { focusClasses: s, isFocused: l, focus: C, blur: H } = s7(e), { InputIcon: V } = qr(e), { roundedClasses: d } = E5(e), { rtlClasses: c } = x5(), L = _(() => e.dirty || e.active), u = _(() => !!(e.label || a.label)), m = _(() => !e.singleLine && u.value), p = Z5(), f = Z(() => e.id || `input-${p}`), g = _(() => e.details ? `${f.value}-messages` : void 0), h = z(), v = z(), k = z(), y = Z(() => ["plain", "underlined"].includes(e.variant)), A = Z(() => e.error || e.disabled ? void 0 : L.value && l.value ? e.color : e.baseColor), E = Z(() => {
13485
+ const { themeClasses: n } = Q2(e), { loaderClasses: o } = Q9(e), { focusClasses: s, isFocused: l, focus: C, blur: H } = s7(e), { InputIcon: V } = qr(e), { roundedClasses: d } = E5(e), { rtlClasses: c } = x5(), L = _(() => e.dirty || e.active), u = _(() => !!(e.label || a.label)), m = _(() => !e.singleLine && u.value), p = Z5(), f = Z(() => e.id || `input-${p}`), g = _(() => e.details ? `${f.value}-messages` : void 0), h = z(), v = z(), k = z(), b = Z(() => ["plain", "underlined"].includes(e.variant)), A = Z(() => e.error || e.disabled ? void 0 : L.value && l.value ? e.color : e.baseColor), E = Z(() => {
13486
13486
  if (!(!e.iconColor || e.glow && !l.value))
13487
13487
  return e.iconColor === !0 ? A.value : e.iconColor;
13488
- }), { backgroundColorClasses: P, backgroundColorStyles: T } = b5(() => e.bgColor), { textColorClasses: F, textColorStyles: B } = re(A);
13488
+ }), { backgroundColorClasses: B, backgroundColorStyles: T } = b5(() => e.bgColor), { textColorClasses: F, textColorStyles: P } = re(A);
13489
13489
  L1(L, (J) => {
13490
13490
  if (m.value && !N3()) {
13491
13491
  const r1 = h.value.$el, Q = v.value.$el;
@@ -13540,7 +13540,7 @@ var zO2 = [
13540
13540
  {
13541
13541
  "v-field--active": L.value,
13542
13542
  "v-field--appended": U,
13543
- "v-field--center-affix": e.centerAffix ?? !y.value,
13543
+ "v-field--center-affix": e.centerAffix ?? !b.value,
13544
13544
  "v-field--disabled": e.disabled,
13545
13545
  "v-field--dirty": e.dirty,
13546
13546
  "v-field--error": e.error,
@@ -13555,7 +13555,7 @@ var zO2 = [
13555
13555
  [`v-field--variant-${e.variant}`]: !0
13556
13556
  },
13557
13557
  n.value,
13558
- P.value,
13558
+ B.value,
13559
13559
  s.value,
13560
13560
  o.value,
13561
13561
  d.value,
@@ -13593,7 +13593,7 @@ var zO2 = [
13593
13593
  ref: v,
13594
13594
  class: [F.value],
13595
13595
  floating: !0
13596
- }, R.value, { style: B.value }), { default: () => [I()] }),
13596
+ }, R.value, { style: P.value }), { default: () => [I()] }),
13597
13597
  u.value && M(q4, V1({
13598
13598
  key: "label",
13599
13599
  ref: h,
@@ -13643,7 +13643,7 @@ var zO2 = [
13643
13643
  }, null)]),
13644
13644
  w("div", {
13645
13645
  class: a1(["v-field__outline", F.value]),
13646
- style: O1(B.value)
13646
+ style: O1(P.value)
13647
13647
  }, [J && w(H1, null, [
13648
13648
  w("div", { class: "v-field__outline__start" }, null),
13649
13649
  m.value && w("div", { class: "v-field__outline__notch" }, [M(q4, V1({
@@ -13651,7 +13651,7 @@ var zO2 = [
13651
13651
  floating: !0
13652
13652
  }, R.value), { default: () => [I()] })]),
13653
13653
  w("div", { class: "v-field__outline__end" }, null)
13654
- ]), y.value && m.value && M(q4, V1({
13654
+ ]), b.value && m.value && M(q4, V1({
13655
13655
  ref: v,
13656
13656
  floating: !0
13657
13657
  }, R.value), { default: () => [I()] })])
@@ -13812,13 +13812,13 @@ function qO2(e) {
13812
13812
  c.value = !0;
13813
13813
  for (const k of o.value) {
13814
13814
  if (v.length >= Number(e.maxErrors ?? 1)) break;
13815
- const y = await (typeof k == "function" ? k : () => k)(a.value);
13816
- if (y !== !0) {
13817
- if (y !== !1 && typeof y != "string") {
13818
- console.warn(`${y} is not a valid value. Rule functions must return boolean true or a string.`);
13815
+ const b = await (typeof k == "function" ? k : () => k)(a.value);
13816
+ if (b !== !0) {
13817
+ if (b !== !1 && typeof b != "string") {
13818
+ console.warn(`${b} is not a valid value. Rule functions must return boolean true or a string.`);
13819
13819
  continue;
13820
13820
  }
13821
- v.push(y || "");
13821
+ v.push(b || "");
13822
13822
  }
13823
13823
  }
13824
13824
  return s.value = v, c.value = !1, l.value = h, s.value;
@@ -13879,9 +13879,9 @@ var l7 = j({
13879
13879
  emits: { "update:modelValue": (e) => !0 },
13880
13880
  setup(e, t) {
13881
13881
  let { attrs: i, slots: r, emit: a } = t;
13882
- const { densityClasses: n } = Ze(e), { dimensionStyles: o } = He(e), { themeClasses: s } = Q2(e), { rtlClasses: l } = x5(), { InputIcon: C } = qr(e), H = Z5(), V = Z(() => e.id || `input-${H}`), { errorMessages: d, isDirty: c, isDisabled: L, isReadonly: u, isPristine: m, isValid: p, isValidating: f, reset: g, resetValidation: h, validate: v, validationClasses: k } = qO2(e, "v-input", V), y = Z(() => e.errorMessages?.length || !m.value && d.value.length ? d.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages), A = _(() => y.value.length > 0), E = _(() => !e.hideDetails || e.hideDetails === "auto" && (A.value || !!r.details)), P = Z(() => E.value ? `${V.value}-messages` : void 0), T = Z(() => ({
13882
+ const { densityClasses: n } = Ze(e), { dimensionStyles: o } = He(e), { themeClasses: s } = Q2(e), { rtlClasses: l } = x5(), { InputIcon: C } = qr(e), H = Z5(), V = Z(() => e.id || `input-${H}`), { errorMessages: d, isDirty: c, isDisabled: L, isReadonly: u, isPristine: m, isValid: p, isValidating: f, reset: g, resetValidation: h, validate: v, validationClasses: k } = qO2(e, "v-input", V), b = Z(() => e.errorMessages?.length || !m.value && d.value.length ? d.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages), A = _(() => b.value.length > 0), E = _(() => !e.hideDetails || e.hideDetails === "auto" && (A.value || !!r.details)), B = Z(() => E.value ? `${V.value}-messages` : void 0), T = Z(() => ({
13883
13883
  id: V,
13884
- messagesId: P,
13884
+ messagesId: B,
13885
13885
  isDirty: c,
13886
13886
  isDisabled: L,
13887
13887
  isReadonly: u,
@@ -13892,7 +13892,7 @@ var l7 = j({
13892
13892
  reset: g,
13893
13893
  resetValidation: h,
13894
13894
  validate: v
13895
- })), F = _(() => e.error || e.disabled ? void 0 : e.focused ? e.color : e.baseColor), B = _(() => {
13895
+ })), F = _(() => e.error || e.disabled ? void 0 : e.focused ? e.color : e.baseColor), P = _(() => {
13896
13896
  if (e.iconColor)
13897
13897
  return e.iconColor === !0 ? F.value : e.iconColor;
13898
13898
  });
@@ -13922,7 +13922,7 @@ var l7 = j({
13922
13922
  }, [r.prepend ? r.prepend(T.value) : e.prependIcon && M(C, {
13923
13923
  key: "prepend-icon",
13924
13924
  name: "prepend",
13925
- color: B.value
13925
+ color: P.value
13926
13926
  }, null)]),
13927
13927
  r.default && w("div", { class: "v-input__control" }, [r.default?.(T.value)]),
13928
13928
  R && w("div", {
@@ -13931,16 +13931,16 @@ var l7 = j({
13931
13931
  }, [r.append ? r.append(T.value) : e.appendIcon && M(C, {
13932
13932
  key: "append-icon",
13933
13933
  name: "append",
13934
- color: B.value
13934
+ color: P.value
13935
13935
  }, null)]),
13936
13936
  E.value && w("div", {
13937
- id: P.value,
13937
+ id: B.value,
13938
13938
  class: "v-input__details",
13939
13939
  role: "alert",
13940
13940
  "aria-live": "polite"
13941
13941
  }, [M(WO2, {
13942
13942
  active: A.value,
13943
- messages: y.value
13943
+ messages: b.value
13944
13944
  }, { message: r.message }), r.details?.(T.value)])
13945
13945
  ]);
13946
13946
  }), {
@@ -14032,7 +14032,7 @@ var QO2 = j({
14032
14032
  function k(x) {
14033
14033
  r("mousedown:control", x);
14034
14034
  }
14035
- function y(x) {
14035
+ function b(x) {
14036
14036
  x.stopPropagation(), h(), a2(() => {
14037
14037
  n.value = "", Mr(e["onClick:clear"], x);
14038
14038
  });
@@ -14049,9 +14049,9 @@ var QO2 = j({
14049
14049
  X.trimStart().length === R.value.length && (r1 = X.length - R.value.length), W != null && (R.selectionStart = W - r1), J != null && (R.selectionEnd = J - r1);
14050
14050
  });
14051
14051
  }
14052
- const E = z(), P = z(Number(e.rows)), T = Z(() => ["plain", "underlined"].includes(e.variant));
14052
+ const E = z(), B = z(Number(e.rows)), T = Z(() => ["plain", "underlined"].includes(e.variant));
14053
14053
  S5(() => {
14054
- e.autoGrow || (P.value = Number(e.rows));
14054
+ e.autoGrow || (B.value = Number(e.rows));
14055
14055
  });
14056
14056
  function F() {
14057
14057
  a2(() => {
@@ -14065,21 +14065,21 @@ var QO2 = j({
14065
14065
  }), e.autoGrow && a2(() => {
14066
14066
  if (!E.value || !c.value) return;
14067
14067
  const x = getComputedStyle(E.value), R = getComputedStyle(c.value.$el), X = parseFloat(x.getPropertyValue("--v-field-padding-top")) + parseFloat(x.getPropertyValue("--v-input-padding-top")) + parseFloat(x.getPropertyValue("--v-field-padding-bottom")), W = E.value.scrollHeight, J = parseFloat(x.lineHeight), r1 = Math.max(parseFloat(e.rows) * J + X, parseFloat(R.getPropertyValue("--v-input-control-height"))), Q = e.maxHeight ? parseFloat(e.maxHeight) : parseFloat(e.maxRows) * J + X || 1 / 0, U = B2(W ?? 0, r1, Q);
14068
- P.value = Math.floor((U - X) / J), L.value = c1(U);
14068
+ B.value = Math.floor((U - X) / J), L.value = c1(U);
14069
14069
  });
14070
14070
  }
14071
- M5(F), L1(n, F), L1(() => e.rows, F), L1(() => e.maxHeight, F), L1(() => e.maxRows, F), L1(() => e.density, F), L1(P, (x) => {
14071
+ M5(F), L1(n, F), L1(() => e.rows, F), L1(() => e.maxHeight, F), L1(() => e.maxRows, F), L1(() => e.density, F), L1(B, (x) => {
14072
14072
  r("update:rows", x);
14073
14073
  });
14074
- let B;
14074
+ let P;
14075
14075
  return L1(E, (x) => {
14076
- x ? (B = new ResizeObserver(F), B.observe(E.value)) : B?.disconnect();
14076
+ x ? (P = new ResizeObserver(F), P.observe(E.value)) : P?.disconnect();
14077
14077
  }), n5(() => {
14078
- B?.disconnect();
14078
+ P?.disconnect();
14079
14079
  }), S1(() => {
14080
14080
  const x = !!(a.counter || e.counter || e.counterValue), R = !!(x || a.details), [X, W] = t7(i), { modelValue: J, ...r1 } = be.filterProps(e), Q = {
14081
14081
  ...Gt.filterProps(e),
14082
- "onClick:clear": y
14082
+ "onClick:clear": b
14083
14083
  };
14084
14084
  return M(be, V1({
14085
14085
  ref: d,
@@ -14103,7 +14103,7 @@ var QO2 = j({
14103
14103
  "--v-textarea-scroll-bar-width": c1(m.value)
14104
14104
  }, e.style]
14105
14105
  }, X, r1, {
14106
- centerAffix: P.value === 1 && !T.value,
14106
+ centerAffix: B.value === 1 && !T.value,
14107
14107
  focused: o.value
14108
14108
  }), {
14109
14109
  ...a,
@@ -14120,7 +14120,7 @@ var QO2 = j({
14120
14120
  id: I.value,
14121
14121
  active: g.value || k1.value,
14122
14122
  labelId: `${I.value}-label`,
14123
- centerAffix: P.value === 1 && !T.value,
14123
+ centerAffix: B.value === 1 && !T.value,
14124
14124
  dirty: k1.value || e.dirty,
14125
14125
  disabled: G.value,
14126
14126
  focused: o.value,
@@ -14211,49 +14211,49 @@ var QO2 = j({
14211
14211
  `);
14212
14212
  }
14213
14213
  function h(T) {
14214
- const F = r.value && r.value.systemPrompt ? r.value.systemPrompt : "You are an assistant inside a rich text editor. Return only the final text to insert.", B = T.selectedText || T.text, x = T.selectedText ? "Selected text" : "Editor text";
14214
+ const F = r.value && r.value.systemPrompt ? r.value.systemPrompt : "You are an assistant inside a rich text editor. Return only the final text to insert.", P = T.selectedText || T.text, x = T.selectedText ? "Selected text" : "Editor text";
14215
14215
  return [{
14216
14216
  role: "system",
14217
14217
  content: F
14218
14218
  }, {
14219
14219
  role: "user",
14220
- content: B ? `${x}:
14221
- ${B}
14220
+ content: P ? `${x}:
14221
+ ${P}
14222
14222
 
14223
14223
  User request:
14224
14224
  ${T.prompt}` : T.prompt
14225
14225
  }];
14226
14226
  }
14227
14227
  function v(T) {
14228
- const F = r.value || {}, B = {
14228
+ const F = r.value || {}, P = {
14229
14229
  ...F.chatCompletionOptions,
14230
14230
  messages: F.createMessages ? F.createMessages(T) : h(T),
14231
14231
  stream: !1
14232
14232
  };
14233
- return F.model && (B.model = F.model), typeof F.temperature == "number" && (B.temperature = F.temperature), B;
14233
+ return F.model && (P.model = F.model), typeof F.temperature == "number" && (P.temperature = F.temperature), P;
14234
14234
  }
14235
14235
  function k(T) {
14236
14236
  return typeof T == "object" && T !== null && typeof T.content == "string";
14237
14237
  }
14238
- function y(T) {
14238
+ function b(T) {
14239
14239
  return typeof T == "object" && T !== null && Array.isArray(T.choices);
14240
14240
  }
14241
14241
  function A(T) {
14242
14242
  let F = "";
14243
- return typeof T == "string" ? F = T : k(T) ? F = T.content : y(T) && (F = T.choices?.[0]?.message?.content ?? T.choices?.[0]?.text ?? ""), F.trimStart();
14243
+ return typeof T == "string" ? F = T : k(T) ? F = T.content : b(T) && (F = T.choices?.[0]?.message?.content ?? T.choices?.[0]?.text ?? ""), F.trimStart();
14244
14244
  }
14245
14245
  async function E() {
14246
14246
  if (L.value || !d.value) return;
14247
14247
  l.value = "", s.value = "", C.value = !0;
14248
- const { from: T, to: F } = i.value.state.selection, B = g(T, F);
14249
- H.value = B ? {
14248
+ const { from: T, to: F } = i.value.state.selection, P = g(T, F);
14249
+ H.value = P ? {
14250
14250
  from: T,
14251
14251
  to: F
14252
- } : null, V.value = r.value ? r.value.mode ?? (B ? "replace" : "insert") : "insert";
14252
+ } : null, V.value = r.value ? r.value.mode ?? (P ? "replace" : "insert") : "insert";
14253
14253
  const x = {
14254
14254
  prompt: o.value.trim(),
14255
- selectedText: B,
14256
- text: B || i.value.getText(),
14255
+ selectedText: P,
14256
+ text: P || i.value.getText(),
14257
14257
  html: i.value.getHTML(),
14258
14258
  json: i.value.getJSON(),
14259
14259
  mode: V.value
@@ -14266,7 +14266,7 @@ ${T.prompt}` : T.prompt
14266
14266
  C.value = !1;
14267
14267
  }
14268
14268
  }
14269
- function P() {
14269
+ function B() {
14270
14270
  if (u.value) return;
14271
14271
  const T = i.value.chain().focus();
14272
14272
  H.value && T.deleteRange(H.value), !H.value && V.value === "append" ? T.insertContentAt(i.value.state.doc.content.size, s.value).run() : T.insertContent(s.value).run(), p();
@@ -14279,8 +14279,8 @@ ${T.prompt}` : T.prompt
14279
14279
  "max-width": 720,
14280
14280
  onCloseDialog: p
14281
14281
  }, {
14282
- content: b(() => [M(l0, null, {
14283
- default: b(() => [
14282
+ content: y(() => [M(l0, null, {
14283
+ default: y(() => [
14284
14284
  d.value ? b2("", !0) : (D(), d1(W6, {
14285
14285
  key: 0,
14286
14286
  type: "warning",
@@ -14288,12 +14288,12 @@ ${T.prompt}` : T.prompt
14288
14288
  density: "compact",
14289
14289
  class: "mb-4"
14290
14290
  }, {
14291
- default: b(() => [e1($(S(a)("ai.unavailable")), 1)]),
14291
+ default: y(() => [e1($(S(a)("ai.unavailable")), 1)]),
14292
14292
  _: 1
14293
14293
  })),
14294
14294
  M(ei, {
14295
14295
  modelValue: o.value,
14296
- "onUpdate:modelValue": F[0] || (F[0] = (B) => o.value = B),
14296
+ "onUpdate:modelValue": F[0] || (F[0] = (P) => o.value = P),
14297
14297
  label: S(a)("ai.prompt"),
14298
14298
  variant: e.variantField,
14299
14299
  disabled: C.value || !d.value,
@@ -14307,20 +14307,20 @@ ${T.prompt}` : T.prompt
14307
14307
  "disabled"
14308
14308
  ]),
14309
14309
  c.value.length ? (D(), u1("div", JO2, [M(F4, { class: "mb-2 d-block" }, {
14310
- default: b(() => [e1($(S(a)("ai.examples")), 1)]),
14310
+ default: y(() => [e1($(S(a)("ai.examples")), 1)]),
14311
14311
  _: 1
14312
- }), w("div", YO2, [(D(!0), u1(H1, null, p2(c.value, (B) => (D(), d1(X8, {
14313
- key: `${B.title}:${B.prompt}`,
14312
+ }), w("div", YO2, [(D(!0), u1(H1, null, p2(c.value, (P) => (D(), d1(X8, {
14313
+ key: `${P.title}:${P.prompt}`,
14314
14314
  variant: "tonal",
14315
14315
  disabled: C.value || !d.value,
14316
- onClick: (x) => f(B.prompt)
14316
+ onClick: (x) => f(P.prompt)
14317
14317
  }, {
14318
- default: b(() => [e1($(B.title), 1)]),
14318
+ default: y(() => [e1($(P.title), 1)]),
14319
14319
  _: 2
14320
14320
  }, 1032, ["disabled", "onClick"]))), 128))])])) : b2("", !0),
14321
14321
  M(ei, {
14322
14322
  modelValue: s.value,
14323
- "onUpdate:modelValue": F[1] || (F[1] = (B) => s.value = B),
14323
+ "onUpdate:modelValue": F[1] || (F[1] = (P) => s.value = P),
14324
14324
  label: S(a)("ai.result"),
14325
14325
  variant: e.variantField,
14326
14326
  loading: C.value,
@@ -14341,7 +14341,7 @@ ${T.prompt}` : T.prompt
14341
14341
  density: "compact",
14342
14342
  class: "mt-4"
14343
14343
  }, {
14344
- default: b(() => [e1($(S(a)("ai.loading")), 1)]),
14344
+ default: y(() => [e1($(S(a)("ai.loading")), 1)]),
14345
14345
  _: 1
14346
14346
  })) : b2("", !0),
14347
14347
  l.value ? (D(), d1(W6, {
@@ -14351,20 +14351,20 @@ ${T.prompt}` : T.prompt
14351
14351
  density: "compact",
14352
14352
  class: "mt-4"
14353
14353
  }, {
14354
- default: b(() => [e1($(l.value), 1)]),
14354
+ default: y(() => [e1($(l.value), 1)]),
14355
14355
  _: 1
14356
14356
  })) : b2("", !0)
14357
14357
  ]),
14358
14358
  _: 1
14359
14359
  })]),
14360
- actions: b(() => [M(P0, null, {
14361
- default: b(() => [
14360
+ actions: y(() => [M(P0, null, {
14361
+ default: y(() => [
14362
14362
  M(Gr),
14363
14363
  M(s1, {
14364
14364
  variant: e.variantBtn,
14365
14365
  onClick: p
14366
14366
  }, {
14367
- default: b(() => [e1($(S(a)("dialog.close")), 1)]),
14367
+ default: y(() => [e1($(S(a)("dialog.close")), 1)]),
14368
14368
  _: 1
14369
14369
  }, 8, ["variant"]),
14370
14370
  M(s1, {
@@ -14374,7 +14374,7 @@ ${T.prompt}` : T.prompt
14374
14374
  loading: C.value,
14375
14375
  onClick: E
14376
14376
  }, {
14377
- default: b(() => [e1($(S(a)("ai.generate")), 1)]),
14377
+ default: y(() => [e1($(S(a)("ai.generate")), 1)]),
14378
14378
  _: 1
14379
14379
  }, 8, [
14380
14380
  "variant",
@@ -14385,9 +14385,9 @@ ${T.prompt}` : T.prompt
14385
14385
  color: "primary",
14386
14386
  variant: e.variantBtn,
14387
14387
  disabled: u.value,
14388
- onClick: P
14388
+ onClick: B
14389
14389
  }, {
14390
- default: b(() => [e1($(S(a)("ai.apply")), 1)]),
14390
+ default: y(() => [e1($(S(a)("ai.apply")), 1)]),
14391
14391
  _: 1
14392
14392
  }, 8, ["variant", "disabled"])
14393
14393
  ]),
@@ -14416,8 +14416,8 @@ ${T.prompt}` : T.prompt
14416
14416
  disabled: !a.value,
14417
14417
  onClick: s
14418
14418
  }, {
14419
- default: b(() => [M(v1, { activator: "parent" }, {
14420
- default: b(() => [e1($(a.value ? S(t)("ai.title") : S(t)("ai.unavailable")), 1)]),
14419
+ default: y(() => [M(v1, { activator: "parent" }, {
14420
+ default: y(() => [e1($(a.value ? S(t)("ai.title") : S(t)("ai.unavailable")), 1)]),
14421
14421
  _: 1
14422
14422
  }), M(y1, { icon: o.value }, null, 8, ["icon"])]),
14423
14423
  _: 1
@@ -14449,8 +14449,8 @@ ${T.prompt}` : T.prompt
14449
14449
  size: "32",
14450
14450
  onClick: a[0] || (a[0] = (n) => S(t).chain().focus().toggleTextAlign("left").run())
14451
14451
  }, {
14452
- default: b(() => [M(v1, { activator: "parent" }, {
14453
- default: b(() => [e1($(S(i)("alignments.left")), 1)]),
14452
+ default: y(() => [M(v1, { activator: "parent" }, {
14453
+ default: y(() => [e1($(S(i)("alignments.left")), 1)]),
14454
14454
  _: 1
14455
14455
  }), M(y1, { icon: `mdiSvg:${ZC}` }, null, 8, ["icon"])]),
14456
14456
  _: 1
@@ -14472,8 +14472,8 @@ ${T.prompt}` : T.prompt
14472
14472
  size: "32",
14473
14473
  onClick: a[0] || (a[0] = (n) => S(t).chain().focus().toggleTextAlign("center").run())
14474
14474
  }, {
14475
- default: b(() => [M(v1, { activator: "parent" }, {
14476
- default: b(() => [e1($(S(i)("alignments.center")), 1)]),
14475
+ default: y(() => [M(v1, { activator: "parent" }, {
14476
+ default: y(() => [e1($(S(i)("alignments.center")), 1)]),
14477
14477
  _: 1
14478
14478
  }), M(y1, { icon: `mdiSvg:${OC}` }, null, 8, ["icon"])]),
14479
14479
  _: 1
@@ -14495,8 +14495,8 @@ ${T.prompt}` : T.prompt
14495
14495
  size: "32",
14496
14496
  onClick: a[0] || (a[0] = (n) => S(t).chain().focus().toggleTextAlign("right").run())
14497
14497
  }, {
14498
- default: b(() => [M(v1, { activator: "parent" }, {
14499
- default: b(() => [e1($(S(i)("alignments.right")), 1)]),
14498
+ default: y(() => [M(v1, { activator: "parent" }, {
14499
+ default: y(() => [e1($(S(i)("alignments.right")), 1)]),
14500
14500
  _: 1
14501
14501
  }), M(y1, { icon: `mdiSvg:${FC}` }, null, 8, ["icon"])]),
14502
14502
  _: 1
@@ -14518,8 +14518,8 @@ ${T.prompt}` : T.prompt
14518
14518
  size: "32",
14519
14519
  onClick: a[0] || (a[0] = (n) => S(t).chain().focus().toggleTextAlign("justify").run())
14520
14520
  }, {
14521
- default: b(() => [M(v1, { activator: "parent" }, {
14522
- default: b(() => [e1($(S(i)("alignments.justify")), 1)]),
14521
+ default: y(() => [M(v1, { activator: "parent" }, {
14522
+ default: y(() => [e1($(S(i)("alignments.justify")), 1)]),
14523
14523
  _: 1
14524
14524
  }), M(y1, { icon: `mdiSvg:${wC}` }, null, 8, ["icon"])]),
14525
14525
  _: 1
@@ -14563,8 +14563,8 @@ ${T.prompt}` : T.prompt
14563
14563
  size: "32",
14564
14564
  onClick: a[0] || (a[0] = (n) => S(t).commands.toggleBold())
14565
14565
  }, {
14566
- default: b(() => [M(v1, { activator: "parent" }, {
14567
- default: b(() => [e1($(S(i)("format.bold")), 1)]),
14566
+ default: y(() => [M(v1, { activator: "parent" }, {
14567
+ default: y(() => [e1($(S(i)("format.bold")), 1)]),
14568
14568
  _: 1
14569
14569
  }), M(y1, { icon: `mdiSvg:${Fr}` }, null, 8, ["icon"])]),
14570
14570
  _: 1
@@ -14591,8 +14591,8 @@ ${T.prompt}` : T.prompt
14591
14591
  size: "32",
14592
14592
  onClick: a[0] || (a[0] = (n) => S(t).commands.toggleItalic())
14593
14593
  }, {
14594
- default: b(() => [M(v1, { activator: "parent" }, {
14595
- default: b(() => [e1($(S(i)("format.italic")), 1)]),
14594
+ default: y(() => [M(v1, { activator: "parent" }, {
14595
+ default: y(() => [e1($(S(i)("format.italic")), 1)]),
14596
14596
  _: 1
14597
14597
  }), M(y1, { icon: `mdiSvg:${xr}` }, null, 8, ["icon"])]),
14598
14598
  _: 1
@@ -14619,8 +14619,8 @@ ${T.prompt}` : T.prompt
14619
14619
  size: "32",
14620
14620
  onClick: a[0] || (a[0] = (n) => S(t).commands.toggleUnderline())
14621
14621
  }, {
14622
- default: b(() => [M(v1, { activator: "parent" }, {
14623
- default: b(() => [e1($(S(i)("format.underline")), 1)]),
14622
+ default: y(() => [M(v1, { activator: "parent" }, {
14623
+ default: y(() => [e1($(S(i)("format.underline")), 1)]),
14624
14624
  _: 1
14625
14625
  }), M(y1, { icon: `mdiSvg:${Br}` }, null, 8, ["icon"])]),
14626
14626
  _: 1
@@ -14647,8 +14647,8 @@ ${T.prompt}` : T.prompt
14647
14647
  size: "32",
14648
14648
  onClick: a[0] || (a[0] = (n) => S(t).commands.toggleStrike())
14649
14649
  }, {
14650
- default: b(() => [M(v1, { activator: "parent" }, {
14651
- default: b(() => [e1($(S(i)("format.strike")), 1)]),
14650
+ default: y(() => [M(v1, { activator: "parent" }, {
14651
+ default: y(() => [e1($(S(i)("format.strike")), 1)]),
14652
14652
  _: 1
14653
14653
  }), M(y1, { icon: `mdiSvg:${Tr}` }, null, 8, ["icon"])]),
14654
14654
  _: 1
@@ -14696,8 +14696,8 @@ ${T.prompt}` : T.prompt
14696
14696
  size: "32",
14697
14697
  onClick: a[0] || (a[0] = (n) => S(t).commands.toggleSuperscript())
14698
14698
  }, {
14699
- default: b(() => [M(v1, { activator: "parent" }, {
14700
- default: b(() => [e1($(S(i)("format.sup")), 1)]),
14699
+ default: y(() => [M(v1, { activator: "parent" }, {
14700
+ default: y(() => [e1($(S(i)("format.sup")), 1)]),
14701
14701
  _: 1
14702
14702
  }), M(y1, { icon: `mdiSvg:${GC}` }, null, 8, ["icon"])]),
14703
14703
  _: 1
@@ -14724,8 +14724,8 @@ ${T.prompt}` : T.prompt
14724
14724
  size: "32",
14725
14725
  onClick: a[0] || (a[0] = (n) => S(t).commands.toggleSubscript())
14726
14726
  }, {
14727
- default: b(() => [M(v1, { activator: "parent" }, {
14728
- default: b(() => [e1($(S(i)("format.sub")), 1)]),
14727
+ default: y(() => [M(v1, { activator: "parent" }, {
14728
+ default: y(() => [e1($(S(i)("format.sub")), 1)]),
14729
14729
  _: 1
14730
14730
  }), M(y1, { icon: `mdiSvg:${jC}` }, null, 8, ["icon"])]),
14731
14731
  _: 1
@@ -14752,8 +14752,8 @@ ${T.prompt}` : T.prompt
14752
14752
  size: "32",
14753
14753
  onClick: a[0] || (a[0] = (n) => S(t).commands.toggleCode())
14754
14754
  }, {
14755
- default: b(() => [M(v1, { activator: "parent" }, {
14756
- default: b(() => [e1($(S(i)("format.code")), 1)]),
14755
+ default: y(() => [M(v1, { activator: "parent" }, {
14756
+ default: y(() => [e1($(S(i)("format.code")), 1)]),
14757
14757
  _: 1
14758
14758
  }), M(y1, { icon: `mdiSvg:${Rr}` }, null, 8, ["icon"])]),
14759
14759
  _: 1
@@ -14780,8 +14780,8 @@ ${T.prompt}` : T.prompt
14780
14780
  size: "32",
14781
14781
  onClick: a[0] || (a[0] = (n) => S(t).commands.toggleCodeBlock())
14782
14782
  }, {
14783
- default: b(() => [M(v1, { activator: "parent" }, {
14784
- default: b(() => [e1($(S(i)("format.codeblock")), 1)]),
14783
+ default: y(() => [M(v1, { activator: "parent" }, {
14784
+ default: y(() => [e1($(S(i)("format.codeblock")), 1)]),
14785
14785
  _: 1
14786
14786
  }), M(y1, { icon: `mdiSvg:${vC}` }, null, 8, ["icon"])]),
14787
14787
  _: 1
@@ -14808,8 +14808,8 @@ ${T.prompt}` : T.prompt
14808
14808
  size: "32",
14809
14809
  onClick: a[0] || (a[0] = (n) => S(t).commands.toggleBlockquote())
14810
14810
  }, {
14811
- default: b(() => [M(v1, { activator: "parent" }, {
14812
- default: b(() => [e1($(S(i)("format.blockquote")), 1)]),
14811
+ default: y(() => [M(v1, { activator: "parent" }, {
14812
+ default: y(() => [e1($(S(i)("format.blockquote")), 1)]),
14813
14813
  _: 1
14814
14814
  }), M(y1, { icon: `mdiSvg:${yC}` }, null, 8, ["icon"])]),
14815
14815
  _: 1
@@ -15387,9 +15387,9 @@ var ea = (e) => {
15387
15387
  });
15388
15388
  function u(v) {
15389
15389
  const k = [];
15390
- let y = T2(v);
15391
- for (; y !== void 0; )
15392
- k.unshift(y), y = s.value.get(y);
15390
+ let b = T2(v);
15391
+ for (; b !== void 0; )
15392
+ k.unshift(b), b = s.value.get(b);
15393
15393
  return k;
15394
15394
  }
15395
15395
  const m = _2("nested"), p = /* @__PURE__ */ new Set(), f = RM(() => {
@@ -15401,21 +15401,21 @@ var ea = (e) => {
15401
15401
  e.itemsRegistration === "props" && g();
15402
15402
  }, { immediate: !0 });
15403
15403
  function g() {
15404
- const v = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Set(), A = y2(r) ? (T) => T2(T.raw) : (T) => T.value, E = [...i.value];
15405
- let P = 0;
15406
- for (; P < E.length; ) {
15407
- const T = E[P++], F = A(T);
15404
+ const v = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), b = /* @__PURE__ */ new Set(), A = y2(r) ? (T) => T2(T.raw) : (T) => T.value, E = [...i.value];
15405
+ let B = 0;
15406
+ for (; B < E.length; ) {
15407
+ const T = E[B++], F = A(T);
15408
15408
  if (T.children) {
15409
- const B = [];
15409
+ const P = [];
15410
15410
  for (const x of T.children) {
15411
15411
  const R = A(x);
15412
- v.set(R, F), B.push(R), E.push(x);
15412
+ v.set(R, F), P.push(R), E.push(x);
15413
15413
  }
15414
- k.set(F, B);
15414
+ k.set(F, P);
15415
15415
  }
15416
- T.props.disabled && y.add(F);
15416
+ T.props.disabled && b.add(F);
15417
15417
  }
15418
- o.value = k, s.value = v, l.value = y;
15418
+ o.value = k, s.value = v, l.value = b;
15419
15419
  }
15420
15420
  const h = {
15421
15421
  id: p1(),
@@ -15428,38 +15428,38 @@ var ea = (e) => {
15428
15428
  selected: L,
15429
15429
  selectedValues: Z(() => {
15430
15430
  const v = [];
15431
- for (const [k, y] of L.value.entries()) y === "on" && v.push(k);
15431
+ for (const [k, b] of L.value.entries()) b === "on" && v.push(k);
15432
15432
  return v;
15433
15433
  }),
15434
15434
  itemsRegistration: _(() => e.itemsRegistration),
15435
- register: (v, k, y, A) => {
15435
+ register: (v, k, b, A) => {
15436
15436
  if (p.has(v)) {
15437
15437
  Lr(`Multiple nodes with the same ID
15438
15438
  ${u(v).map(String).join(" -> ")}
15439
15439
  ${u(k).concat(v).map(String).join(" -> ")}`);
15440
15440
  return;
15441
15441
  } else p.add(v);
15442
- k && v !== k && s.value.set(v, k), y && l.value.add(v), A && o.value.set(v, []), k != null && o.value.set(k, [...o.value.get(k) || [], v]), f();
15442
+ k && v !== k && s.value.set(v, k), b && l.value.add(v), A && o.value.set(v, []), k != null && o.value.set(k, [...o.value.get(k) || [], v]), f();
15443
15443
  },
15444
15444
  unregister: (v) => {
15445
15445
  if (n) return;
15446
15446
  p.delete(v), o.value.delete(v), l.value.delete(v);
15447
15447
  const k = s.value.get(v);
15448
15448
  if (k) {
15449
- const y = o.value.get(k) ?? [];
15450
- o.value.set(k, y.filter((A) => A !== v));
15449
+ const b = o.value.get(k) ?? [];
15450
+ o.value.set(k, b.filter((A) => A !== v));
15451
15451
  }
15452
15452
  s.value.delete(v), f();
15453
15453
  },
15454
15454
  updateDisabled: (v, k) => {
15455
15455
  k ? l.value.add(v) : l.value.delete(v);
15456
15456
  },
15457
- open: (v, k, y) => {
15457
+ open: (v, k, b) => {
15458
15458
  m.emit("click:open", {
15459
15459
  id: v,
15460
15460
  value: k,
15461
15461
  path: u(v),
15462
- event: y
15462
+ event: b
15463
15463
  });
15464
15464
  const A = d.value.open({
15465
15465
  id: v,
@@ -15467,11 +15467,11 @@ var ea = (e) => {
15467
15467
  opened: new Set(C.value),
15468
15468
  children: o.value,
15469
15469
  parents: s.value,
15470
- event: y
15470
+ event: b
15471
15471
  });
15472
15472
  A && (C.value = A);
15473
15473
  },
15474
- openOnSelect: (v, k, y) => {
15474
+ openOnSelect: (v, k, b) => {
15475
15475
  const A = d.value.select({
15476
15476
  id: v,
15477
15477
  value: k,
@@ -15479,16 +15479,16 @@ var ea = (e) => {
15479
15479
  opened: new Set(C.value),
15480
15480
  children: o.value,
15481
15481
  parents: s.value,
15482
- event: y
15482
+ event: b
15483
15483
  });
15484
15484
  A && (C.value = A);
15485
15485
  },
15486
- select: (v, k, y) => {
15486
+ select: (v, k, b) => {
15487
15487
  m.emit("click:select", {
15488
15488
  id: v,
15489
15489
  value: k,
15490
15490
  path: u(v),
15491
- event: y
15491
+ event: b
15492
15492
  });
15493
15493
  const A = V.value.select({
15494
15494
  id: v,
@@ -15497,17 +15497,17 @@ var ea = (e) => {
15497
15497
  children: o.value,
15498
15498
  parents: s.value,
15499
15499
  disabled: l.value,
15500
- event: y
15500
+ event: b
15501
15501
  });
15502
- A && (L.value = A), h.root.openOnSelect(v, k, y);
15502
+ A && (L.value = A), h.root.openOnSelect(v, k, b);
15503
15503
  },
15504
- activate: (v, k, y) => {
15505
- if (!e.activatable) return h.root.select(v, !0, y);
15504
+ activate: (v, k, b) => {
15505
+ if (!e.activatable) return h.root.select(v, !0, b);
15506
15506
  m.emit("click:activate", {
15507
15507
  id: v,
15508
15508
  value: k,
15509
15509
  path: u(v),
15510
- event: y
15510
+ event: b
15511
15511
  });
15512
15512
  const A = H.value.activate({
15513
15513
  id: v,
@@ -15515,7 +15515,7 @@ var ea = (e) => {
15515
15515
  activated: new Set(c.value),
15516
15516
  children: o.value,
15517
15517
  parents: s.value,
15518
- event: y
15518
+ event: b
15519
15519
  });
15520
15520
  if (A.size !== c.value.size) c.value = A;
15521
15521
  else {
@@ -15741,10 +15741,10 @@ var jw2 = we({
15741
15741
  emits: { click: (e) => !0 },
15742
15742
  setup(e, t) {
15743
15743
  let { attrs: i, slots: r, emit: a } = t;
15744
- const n = X9(e, i), o = z(), { activate: s, isActivated: l, select: C, isOpen: H, isSelected: V, isIndeterminate: d, isGroupActivator: c, root: L, parent: u, openOnSelect: m, scrollToActive: p, id: f } = sV(Z(() => e.value === void 0 ? n.href.value : e.value), () => e.disabled, !1), g = iV(), h = Z(() => e.active !== !1 && (e.active || n.isActive?.value || (L.activatable.value ? l.value : V.value))), v = _(() => e.link !== !1 && n.isLink.value), k = Z(() => !!g && (L.selectable.value || L.activatable.value || e.value != null)), y = Z(() => !e.disabled && e.link !== !1 && (e.link || n.isClickable.value || k.value)), A = Z(() => g && g.navigationStrategy.value === "track" && e.index !== void 0 && g.trackingIndex.value === e.index), E = Z(() => g ? v.value ? "link" : k.value ? "option" : "listitem" : void 0), P = Z(() => {
15744
+ const n = X9(e, i), o = z(), { activate: s, isActivated: l, select: C, isOpen: H, isSelected: V, isIndeterminate: d, isGroupActivator: c, root: L, parent: u, openOnSelect: m, scrollToActive: p, id: f } = sV(Z(() => e.value === void 0 ? n.href.value : e.value), () => e.disabled, !1), g = iV(), h = Z(() => e.active !== !1 && (e.active || n.isActive?.value || (L.activatable.value ? l.value : V.value))), v = _(() => e.link !== !1 && n.isLink.value), k = Z(() => !!g && (L.selectable.value || L.activatable.value || e.value != null)), b = Z(() => !e.disabled && e.link !== !1 && (e.link || n.isClickable.value || k.value)), A = Z(() => g && g.navigationStrategy.value === "track" && e.index !== void 0 && g.trackingIndex.value === e.index), E = Z(() => g ? v.value ? "link" : k.value ? "option" : "listitem" : void 0), B = Z(() => {
15745
15745
  if (k.value)
15746
15746
  return L.activatable.value ? l.value : L.selectable.value ? V.value : h.value;
15747
- }), T = _(() => e.rounded || e.nav), F = _(() => e.color ?? e.activeColor), B = _(() => ({
15747
+ }), T = _(() => e.rounded || e.nav), F = _(() => e.color ?? e.activeColor), P = _(() => ({
15748
15748
  color: h.value ? F.value ?? e.baseColor : e.baseColor,
15749
15749
  variant: e.variant
15750
15750
  }));
@@ -15766,7 +15766,7 @@ var jw2 = we({
15766
15766
  function x() {
15767
15767
  u.value != null && L.open(u.value, !0), m(!0);
15768
15768
  }
15769
- const { themeClasses: R } = Q2(e), { borderClasses: X } = o0(e), { colorClasses: W, colorStyles: J, variantClasses: r1 } = r7(B), { densityClasses: Q } = Ze(e), { dimensionStyles: U } = He(e), { elevationClasses: I } = Ee(e), { roundedClasses: G } = E5(T), k1 = _(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), b1 = _(() => e.ripple !== void 0 && e.ripple && g?.filterable ? { keys: ["Enter"] } : e.ripple), x1 = Z(() => ({
15769
+ const { themeClasses: R } = Q2(e), { borderClasses: X } = o0(e), { colorClasses: W, colorStyles: J, variantClasses: r1 } = r7(P), { densityClasses: Q } = Ze(e), { dimensionStyles: U } = He(e), { elevationClasses: I } = Ee(e), { roundedClasses: G } = E5(T), k1 = _(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), b1 = _(() => e.ripple !== void 0 && e.ripple && g?.filterable ? { keys: ["Enter"] } : e.ripple), x1 = Z(() => ({
15770
15770
  isActive: h.value,
15771
15771
  select: C,
15772
15772
  isOpen: H.value,
@@ -15775,7 +15775,7 @@ var jw2 = we({
15775
15775
  isDisabled: e.disabled
15776
15776
  }));
15777
15777
  function K(N1) {
15778
- a("click", N1), !["INPUT", "TEXTAREA"].includes(N1.target?.tagName) && y.value && (n.navigate.value?.(N1), !c && (L.activatable.value ? s(!l.value, N1) : (L.selectable.value || e.value != null && !v.value) && C(!V.value, N1)));
15778
+ a("click", N1), !["INPUT", "TEXTAREA"].includes(N1.target?.tagName) && b.value && (n.navigate.value?.(N1), !c && (L.activatable.value ? s(!l.value, N1) : (L.selectable.value || e.value != null && !v.value) && C(!V.value, N1)));
15779
15779
  }
15780
15780
  function P1(N1) {
15781
15781
  const F2 = N1.target;
@@ -15791,7 +15791,7 @@ var jw2 = we({
15791
15791
  {
15792
15792
  "v-list-item--active": h.value,
15793
15793
  "v-list-item--disabled": e.disabled,
15794
- "v-list-item--link": y.value,
15794
+ "v-list-item--link": b.value,
15795
15795
  "v-list-item--nav": e.nav,
15796
15796
  "v-list-item--prepend": !Pe && g?.hasPrepend.value,
15797
15797
  "v-list-item--slim": e.slim,
@@ -15814,13 +15814,13 @@ var jw2 = we({
15814
15814
  U.value,
15815
15815
  e.style
15816
15816
  ],
15817
- tabindex: e.tabindex ?? (y.value ? g ? -2 : 0 : void 0),
15818
- "aria-selected": P.value,
15817
+ tabindex: e.tabindex ?? (b.value ? g ? -2 : 0 : void 0),
15818
+ "aria-selected": B.value,
15819
15819
  role: E.value,
15820
15820
  onClick: K,
15821
- onKeydown: y.value && !v.value && P1
15821
+ onKeydown: b.value && !v.value && P1
15822
15822
  }), { default: () => [
15823
- i7(y.value || h.value, "v-list-item"),
15823
+ i7(b.value || h.value, "v-list-item"),
15824
15824
  Pe && w("div", {
15825
15825
  key: "prepend",
15826
15826
  class: "v-list-item__prepend"
@@ -15881,7 +15881,7 @@ var jw2 = we({
15881
15881
  density: e.density,
15882
15882
  image: e.appendAvatar
15883
15883
  }, null)]), w("div", { class: "v-list-item__spacer" }, null)])
15884
- ] }), [[ae, y.value && b1.value]]);
15884
+ ] }), [[ae, b.value && b1.value]]);
15885
15885
  }), {
15886
15886
  activate: s,
15887
15887
  isActivated: l,
@@ -16197,7 +16197,7 @@ var aZ2 = j({
16197
16197
  items: n,
16198
16198
  returnObject: _(() => e.returnObject),
16199
16199
  scrollToActive: _(() => e.navigationStrategy === "track")
16200
- }), g = _(() => e.lines ? `v-list--${e.lines}-line` : void 0), h = _(() => e.activeColor), v = _(() => e.baseColor), k = _(() => e.color), y = _(() => e.selectable || e.activatable), A = Y1(e, "navigationIndex", -1, (U) => U ?? -1), E = Z5();
16200
+ }), g = _(() => e.lines ? `v-list--${e.lines}-line` : void 0), h = _(() => e.activeColor), v = _(() => e.baseColor), k = _(() => e.color), b = _(() => e.selectable || e.activatable), A = Y1(e, "navigationIndex", -1, (U) => U ?? -1), E = Z5();
16201
16201
  tV({
16202
16202
  filterable: e.filterable,
16203
16203
  trackingIndex: A,
@@ -16227,15 +16227,15 @@ var aZ2 = j({
16227
16227
  tabindex: _(() => e.navigationStrategy === "track" ? -1 : void 0)
16228
16228
  }
16229
16229
  });
16230
- const P = p1(!1), T = z();
16230
+ const B = p1(!1), T = z();
16231
16231
  function F(U) {
16232
- P.value = !0;
16232
+ B.value = !0;
16233
16233
  }
16234
- function B(U) {
16235
- P.value = !1;
16234
+ function P(U) {
16235
+ B.value = !1;
16236
16236
  }
16237
16237
  function x(U) {
16238
- e.navigationStrategy === "track" ? ~A.value || (A.value = W("first")) : !P.value && !(U.relatedTarget && T.value?.contains(U.relatedTarget)) && Q();
16238
+ e.navigationStrategy === "track" ? ~A.value || (A.value = W("first")) : !B.value && !(U.relatedTarget && T.value?.contains(U.relatedTarget)) && Q();
16239
16239
  }
16240
16240
  function R() {
16241
16241
  e.navigationStrategy === "track" && (A.value = -1);
@@ -16280,13 +16280,13 @@ var aZ2 = j({
16280
16280
  } else Q(G);
16281
16281
  }
16282
16282
  function r1(U) {
16283
- P.value = !0;
16283
+ B.value = !0;
16284
16284
  }
16285
16285
  function Q(U, I) {
16286
16286
  if (T.value) return N7(T.value, U, I);
16287
16287
  }
16288
16288
  return S1(() => {
16289
- const U = e.indent ?? (e.prependGap ? Number(e.prependGap) + 24 : void 0), I = y.value ? i.ariaMultiselectable ?? !String(e.selectStrategy).startsWith("single-") : void 0;
16289
+ const U = e.indent ?? (e.prependGap ? Number(e.prependGap) + 24 : void 0), I = b.value ? i.ariaMultiselectable ?? !String(e.selectStrategy).startsWith("single-") : void 0;
16290
16290
  return M(e.tag, {
16291
16291
  ref: T,
16292
16292
  class: a1([
@@ -16316,11 +16316,11 @@ var aZ2 = j({
16316
16316
  e.style
16317
16317
  ]),
16318
16318
  tabindex: e.disabled ? -1 : 0,
16319
- role: y.value ? "listbox" : "list",
16319
+ role: b.value ? "listbox" : "list",
16320
16320
  "aria-activedescendant": e.navigationStrategy === "track" && A.value >= 0 ? `v-list-item-${E}-${A.value}` : void 0,
16321
16321
  "aria-multiselectable": I,
16322
16322
  onFocusin: F,
16323
- onFocusout: B,
16323
+ onFocusout: P,
16324
16324
  onFocus: x,
16325
16325
  onBlur: R,
16326
16326
  onKeydown: J,
@@ -16451,8 +16451,8 @@ var aZ2 = j({
16451
16451
  size: "32",
16452
16452
  onClick: o[0] || (o[0] = (s) => S(r).chain().focus().redo().run())
16453
16453
  }, {
16454
- default: b(() => [M(v1, { activator: "parent" }, {
16455
- default: b(() => [e1($(S(a)("style.heading")), 1)]),
16454
+ default: y(() => [M(v1, { activator: "parent" }, {
16455
+ default: y(() => [e1($(S(a)("style.heading")), 1)]),
16456
16456
  _: 1
16457
16457
  }), M(y1, { icon: `mdiSvg:${RC}` }, null, 8, ["icon"])]),
16458
16458
  _: 1
@@ -16461,15 +16461,15 @@ var aZ2 = j({
16461
16461
  "color",
16462
16462
  "variant"
16463
16463
  ]), M(L5, { activator: `#tiptapify-heading-button-${S(r).instanceId}` }, {
16464
- default: b(() => [M(C0, { density: "compact" }, {
16465
- default: b(() => [e.withParagraph ? (D(), d1(d2, {
16464
+ default: y(() => [M(C0, { density: "compact" }, {
16465
+ default: y(() => [e.withParagraph ? (D(), d1(d2, {
16466
16466
  key: 0,
16467
16467
  link: "",
16468
16468
  color: S(r).isActive("paragraph") ? "primary" : "",
16469
16469
  onClick: o[1] || (o[1] = (s) => S(r).chain().focus().setParagraph().run())
16470
16470
  }, {
16471
- default: b(() => [M(X2, { class: "d-flex justify-center align-center" }, {
16472
- default: b(() => [M(y1, { icon: `mdiSvg:${S(i).mdiFormatParagraph}` }, null, 8, ["icon"])]),
16471
+ default: y(() => [M(X2, { class: "d-flex justify-center align-center" }, {
16472
+ default: y(() => [M(y1, { icon: `mdiSvg:${S(i).mdiFormatParagraph}` }, null, 8, ["icon"])]),
16473
16473
  _: 1
16474
16474
  })]),
16475
16475
  _: 1
@@ -16478,8 +16478,8 @@ var aZ2 = j({
16478
16478
  color: S(r).isActive("heading", { level: s }) ? "primary" : "",
16479
16479
  onClick: (l) => S(r).chain().focus().toggleHeading({ level: s }).run()
16480
16480
  }, {
16481
- default: b(() => [M(X2, { class: "d-flex justify-center align-center" }, {
16482
- default: b(() => [M(y1, { icon: `mdiSvg:${S(i)[`mdiFormatHeader${s}`]}` }, null, 8, ["icon"])]),
16481
+ default: y(() => [M(X2, { class: "d-flex justify-center align-center" }, {
16482
+ default: y(() => [M(y1, { icon: `mdiSvg:${S(i)[`mdiFormatHeader${s}`]}` }, null, 8, ["icon"])]),
16483
16483
  _: 2
16484
16484
  }, 1024)]),
16485
16485
  _: 2
@@ -16519,13 +16519,13 @@ var aZ2 = j({
16519
16519
  return r.value.isActive("textStyle", { fontFamily: V }) || V === a.value;
16520
16520
  }
16521
16521
  return (V, d) => (D(), d1(C0, { class: "tiptapify-font-family-list" }, {
16522
- default: b(() => [M(d2, {
16522
+ default: y(() => [M(d2, {
16523
16523
  disabled: e.fontFamily === "",
16524
16524
  density: "compact",
16525
16525
  onClick: l
16526
16526
  }, {
16527
- default: b(() => [M(X2, { class: "font-italic text-grey-darken-1" }, {
16528
- default: b(() => [e1($(S(i)("defaultValue")), 1)]),
16527
+ default: y(() => [M(X2, { class: "font-italic text-grey-darken-1" }, {
16528
+ default: y(() => [e1($(S(i)("defaultValue")), 1)]),
16529
16529
  _: 1
16530
16530
  })]),
16531
16531
  _: 1
@@ -16537,8 +16537,8 @@ var aZ2 = j({
16537
16537
  onMouseover: (L) => o(c.fontFamily),
16538
16538
  onMouseleave: s
16539
16539
  }, {
16540
- default: b(() => [M(X2, null, {
16541
- default: b(() => [e1($(c.name), 1)]),
16540
+ default: y(() => [M(X2, null, {
16541
+ default: y(() => [e1($(c.name), 1)]),
16542
16542
  _: 2
16543
16543
  }, 1024)]),
16544
16544
  _: 2
@@ -16582,8 +16582,8 @@ var aZ2 = j({
16582
16582
  variant: e.variantBtn,
16583
16583
  size: "32"
16584
16584
  }, {
16585
- default: b(() => [M(v1, { activator: "parent" }, {
16586
- default: b(() => [e1($(S(i)("style.fontFamily")), 1)]),
16585
+ default: y(() => [M(v1, { activator: "parent" }, {
16586
+ default: y(() => [e1($(S(i)("style.fontFamily")), 1)]),
16587
16587
  _: 1
16588
16588
  }), M(y1, { icon: `mdiSvg:${BC}` }, null, 8, ["icon"])]),
16589
16589
  _: 1
@@ -16593,7 +16593,7 @@ var aZ2 = j({
16593
16593
  "color",
16594
16594
  "variant"
16595
16595
  ]), M(L5, { activator: `#tiptapify-font-family-button-${S(t).instanceId}` }, {
16596
- default: b(() => [M(CZ2, {
16596
+ default: y(() => [M(CZ2, {
16597
16597
  fonts: S(g3),
16598
16598
  "font-family": r.value
16599
16599
  }, null, 8, ["fonts", "font-family"])]),
@@ -16636,13 +16636,13 @@ var aZ2 = j({
16636
16636
  return r.value.isActive("textStyle", { fontSize: `${V}${t.measure}` }) || V === a.value;
16637
16637
  }
16638
16638
  return (V, d) => (D(), d1(C0, { class: "tiptapify-font-size-list" }, {
16639
- default: b(() => [M(d2, {
16639
+ default: y(() => [M(d2, {
16640
16640
  disabled: e.fontSize === null,
16641
16641
  density: "compact",
16642
16642
  onClick: l
16643
16643
  }, {
16644
- default: b(() => [M(X2, { class: "font-italic text-grey-darken-1" }, {
16645
- default: b(() => [e1($(S(i)("defaultValue")), 1)]),
16644
+ default: y(() => [M(X2, { class: "font-italic text-grey-darken-1" }, {
16645
+ default: y(() => [e1($(S(i)("defaultValue")), 1)]),
16646
16646
  _: 1
16647
16647
  })]),
16648
16648
  _: 1
@@ -16654,8 +16654,8 @@ var aZ2 = j({
16654
16654
  onMouseover: (L) => o(c),
16655
16655
  onMouseleave: s
16656
16656
  }, {
16657
- default: b(() => [M(X2, null, {
16658
- default: b(() => [e1($(c) + $(e.measure), 1)]),
16657
+ default: y(() => [M(X2, null, {
16658
+ default: y(() => [e1($(c) + $(e.measure), 1)]),
16659
16659
  _: 2
16660
16660
  }, 1024)]),
16661
16661
  _: 2
@@ -16707,8 +16707,8 @@ var aZ2 = j({
16707
16707
  variant: e.variantBtn,
16708
16708
  size: "32"
16709
16709
  }, {
16710
- default: b(() => [M(v1, { activator: "parent" }, {
16711
- default: b(() => [e1($(S(r)("style.fontSize")), 1)]),
16710
+ default: y(() => [M(v1, { activator: "parent" }, {
16711
+ default: y(() => [e1($(S(r)("style.fontSize")), 1)]),
16712
16712
  _: 1
16713
16713
  }), M(y1, { icon: `mdiSvg:${UC}` }, null, 8, ["icon"])]),
16714
16714
  _: 1
@@ -16718,7 +16718,7 @@ var aZ2 = j({
16718
16718
  "color",
16719
16719
  "variant"
16720
16720
  ]), M(L5, { activator: `#tiptapify-font-size-button-${S(i).instanceId}` }, {
16721
- default: b(() => [M(cZ2, {
16721
+ default: y(() => [M(cZ2, {
16722
16722
  sizes: S(j6),
16723
16723
  measure: e.fontMeasure,
16724
16724
  "font-size": a.value
@@ -16764,13 +16764,13 @@ var aZ2 = j({
16764
16764
  return r.value.isActive("textStyle", { lineHeight: V }) || V === a.value;
16765
16765
  }
16766
16766
  return (V, d) => (D(), d1(C0, { class: "tiptapify-line-height-list" }, {
16767
- default: b(() => [M(d2, {
16767
+ default: y(() => [M(d2, {
16768
16768
  disabled: e.lineHeight === null,
16769
16769
  density: "compact",
16770
16770
  onClick: l
16771
16771
  }, {
16772
- default: b(() => [M(X2, { class: "font-italic text-grey-darken-1" }, {
16773
- default: b(() => [e1($(S(i)("defaultValue")), 1)]),
16772
+ default: y(() => [M(X2, { class: "font-italic text-grey-darken-1" }, {
16773
+ default: y(() => [e1($(S(i)("defaultValue")), 1)]),
16774
16774
  _: 1
16775
16775
  })]),
16776
16776
  _: 1
@@ -16782,8 +16782,8 @@ var aZ2 = j({
16782
16782
  onMouseover: (L) => o(c),
16783
16783
  onMouseleave: s
16784
16784
  }, {
16785
- default: b(() => [M(X2, null, {
16786
- default: b(() => [e1($(c), 1)]),
16785
+ default: y(() => [M(X2, null, {
16786
+ default: y(() => [e1($(c), 1)]),
16787
16787
  _: 2
16788
16788
  }, 1024)]),
16789
16789
  _: 2
@@ -16827,8 +16827,8 @@ var aZ2 = j({
16827
16827
  variant: e.variantBtn,
16828
16828
  size: "32"
16829
16829
  }, {
16830
- default: b(() => [M(v1, { activator: "parent" }, {
16831
- default: b(() => [e1($(S(i)("style.lineHeight")), 1)]),
16830
+ default: y(() => [M(v1, { activator: "parent" }, {
16831
+ default: y(() => [e1($(S(i)("style.lineHeight")), 1)]),
16832
16832
  _: 1
16833
16833
  }), M(y1, { icon: `mdiSvg:${IC}` }, null, 8, ["icon"])]),
16834
16834
  _: 1
@@ -16838,7 +16838,7 @@ var aZ2 = j({
16838
16838
  "color",
16839
16839
  "variant"
16840
16840
  ]), M(L5, { activator: `#tiptapify-line-height-button-${S(t).instanceId}` }, {
16841
- default: b(() => [M(MZ2, {
16841
+ default: y(() => [M(MZ2, {
16842
16842
  "line-heights": S(G6),
16843
16843
  "line-height": r.value
16844
16844
  }, null, 8, ["line-heights", "line-height"])]),
@@ -16899,10 +16899,10 @@ var aZ2 = j({
16899
16899
  n.value = Math.round(f), o.value = Math.round(g);
16900
16900
  });
16901
16901
  function d(p, f, g) {
16902
- const { left: h, top: v, width: k, height: y } = g;
16902
+ const { left: h, top: v, width: k, height: b } = g;
16903
16903
  C.value = {
16904
16904
  x: B2(p - h, 0, k),
16905
- y: B2(f - v, 0, y)
16905
+ y: B2(f - v, 0, b)
16906
16906
  };
16907
16907
  }
16908
16908
  function c(p) {
@@ -17299,26 +17299,26 @@ var EZ2 = j({
17299
17299
  };
17300
17300
  }, TZ2 = (e) => {
17301
17301
  let { props: t, steps: i, onSliderStart: r, onSliderMove: a, onSliderEnd: n, getActiveThumb: o } = e;
17302
- const s = Yr(t), { isRtl: l } = x5(), C = _(() => t.reverse), H = Z(() => t.direction === "vertical"), V = Z(() => H.value !== C.value), { min: d, max: c, step: L, decimals: u, roundValue: m } = i, p = Z(() => parseInt(t.thumbSize, 10)), f = Z(() => parseInt(t.tickSize, 10)), g = Z(() => parseInt(t.trackSize, 10)), h = Z(() => (c.value - d.value) / L.value), v = Z(() => t.error || s.isDisabled.value ? void 0 : t.thumbColor ?? t.color), k = Z(() => t.error || s.isDisabled.value ? void 0 : t.thumbColor), y = Z(() => t.error || s.isDisabled.value ? void 0 : t.trackColor ?? t.color), A = Z(() => t.error || s.isDisabled.value ? void 0 : t.trackFillColor ?? t.color), E = p1(!1), P = p1(0), T = z(), F = z();
17303
- function B(K) {
17302
+ const s = Yr(t), { isRtl: l } = x5(), C = _(() => t.reverse), H = Z(() => t.direction === "vertical"), V = Z(() => H.value !== C.value), { min: d, max: c, step: L, decimals: u, roundValue: m } = i, p = Z(() => parseInt(t.thumbSize, 10)), f = Z(() => parseInt(t.tickSize, 10)), g = Z(() => parseInt(t.trackSize, 10)), h = Z(() => (c.value - d.value) / L.value), v = Z(() => t.error || s.isDisabled.value ? void 0 : t.thumbColor ?? t.color), k = Z(() => t.error || s.isDisabled.value ? void 0 : t.thumbColor), b = Z(() => t.error || s.isDisabled.value ? void 0 : t.trackColor ?? t.color), A = Z(() => t.error || s.isDisabled.value ? void 0 : t.trackFillColor ?? t.color), E = p1(!1), B = p1(0), T = z(), F = z();
17303
+ function P(K) {
17304
17304
  const P1 = T.value?.$el;
17305
17305
  if (!P1) return;
17306
17306
  const N1 = t.direction === "vertical", F2 = N1 ? "top" : "left", p5 = N1 ? "height" : "width", h5 = N1 ? "clientY" : "clientX", { [F2]: Pe, [p5]: c7 } = P1.getBoundingClientRect();
17307
- let C1 = B2((FZ2(K, h5) - Pe - P.value) / c7) || 0;
17307
+ let C1 = B2((FZ2(K, h5) - Pe - B.value) / c7) || 0;
17308
17308
  return (N1 ? V.value : V.value !== l.value) && (C1 = 1 - C1), m(d.value + C1 * (c.value - d.value));
17309
17309
  }
17310
17310
  const x = (K) => {
17311
- const P1 = B(K);
17312
- P1 != null && n({ value: P1 }), E.value = !1, P.value = 0;
17311
+ const P1 = P(K);
17312
+ P1 != null && n({ value: P1 }), E.value = !1, B.value = 0;
17313
17313
  }, R = (K) => {
17314
- const P1 = B(K);
17315
- F.value = o(K), F.value && (E.value = !0, F.value.contains(K.target) ? P.value = ZZ2(K, F.value, t.direction) : (P.value = 0, P1 != null && a({ value: P1 })), P1 != null && r({ value: P1 }), a2(() => F.value?.focus()));
17314
+ const P1 = P(K);
17315
+ F.value = o(K), F.value && (E.value = !0, F.value.contains(K.target) ? B.value = ZZ2(K, F.value, t.direction) : (B.value = 0, P1 != null && a({ value: P1 })), P1 != null && r({ value: P1 }), a2(() => F.value?.focus()));
17316
17316
  }, X = {
17317
17317
  passive: !0,
17318
17318
  capture: !0
17319
17319
  };
17320
17320
  function W(K) {
17321
- const P1 = B(K);
17321
+ const P1 = P(K);
17322
17322
  P1 != null && a({ value: P1 });
17323
17323
  }
17324
17324
  function J(K) {
@@ -17374,13 +17374,13 @@ var EZ2 = j({
17374
17374
  onSliderMousedown: U,
17375
17375
  onSliderTouchstart: Q,
17376
17376
  parsedTicks: k1,
17377
- parseMouseMove: B,
17377
+ parseMouseMove: P,
17378
17378
  position: I,
17379
17379
  readonly: s.isReadonly,
17380
17380
  rounded: _(() => t.rounded),
17381
17381
  roundValue: m,
17382
17382
  showTicks: G,
17383
- startOffset: P,
17383
+ startOffset: B,
17384
17384
  step: L,
17385
17385
  thumbSize: p,
17386
17386
  thumbColor: v,
@@ -17388,7 +17388,7 @@ var EZ2 = j({
17388
17388
  thumbLabel: _(() => t.thumbLabel),
17389
17389
  ticks: _(() => t.ticks),
17390
17390
  tickSize: f,
17391
- trackColor: y,
17391
+ trackColor: b,
17392
17392
  trackContainerRef: T,
17393
17393
  trackFillColor: A,
17394
17394
  trackSize: g,
@@ -17429,7 +17429,7 @@ var EZ2 = j({
17429
17429
  let { slots: i, emit: r } = t;
17430
17430
  const a = N(ra), { isRtl: n, rtlClasses: o } = x5();
17431
17431
  if (!a) throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");
17432
- const { min: s, max: l, thumbColor: C, thumbLabelColor: H, step: V, disabled: d, thumbSize: c, thumbLabel: L, direction: u, isReversed: m, vertical: p, readonly: f, elevation: g, mousePressed: h, decimals: v, indexFromEnd: k } = a, y = p1(!1), A = p1(!1), { elevationClasses: E } = Ee(Z(() => d.value ? void 0 : g.value)), { textColorClasses: P, textColorStyles: T } = re(C), { backgroundColorClasses: F, backgroundColorStyles: B } = b5(H), { pageup: x, pagedown: R, end: X, home: W, left: J, right: r1, down: Q, up: U } = Jm, I = [
17432
+ const { min: s, max: l, thumbColor: C, thumbLabelColor: H, step: V, disabled: d, thumbSize: c, thumbLabel: L, direction: u, isReversed: m, vertical: p, readonly: f, elevation: g, mousePressed: h, decimals: v, indexFromEnd: k } = a, b = p1(!1), A = p1(!1), { elevationClasses: E } = Ee(Z(() => d.value ? void 0 : g.value)), { textColorClasses: B, textColorStyles: T } = re(C), { backgroundColorClasses: F, backgroundColorStyles: P } = b5(H), { pageup: x, pagedown: R, end: X, home: W, left: J, right: r1, down: Q, up: U } = Jm, I = [
17433
17433
  x,
17434
17434
  R,
17435
17435
  X,
@@ -17474,7 +17474,7 @@ var EZ2 = j({
17474
17474
  return L1(() => e.focused, (x1) => {
17475
17475
  x1 && (A.value = !1);
17476
17476
  }), S1(() => {
17477
- const x1 = c1(k.value ? 100 - e.position : e.position, "%"), K = L.value === "always" || L.value === !0 && e.focused || L.value === "hover" && (y.value || e.focused && !A.value);
17477
+ const x1 = c1(k.value ? 100 - e.position : e.position, "%"), K = L.value === "always" || L.value === !0 && e.focused || L.value === "hover" && (b.value || e.focused && !A.value);
17478
17478
  return w("div", {
17479
17479
  class: a1([
17480
17480
  "v-slider-thumb",
@@ -17499,22 +17499,22 @@ var EZ2 = j({
17499
17499
  "aria-orientation": u.value,
17500
17500
  onKeydown: f.value ? void 0 : b1,
17501
17501
  onMouseenter: () => {
17502
- y.value = !0;
17502
+ b.value = !0;
17503
17503
  },
17504
17504
  onMouseleave: () => {
17505
- y.value = !1, A.value = !0;
17505
+ b.value = !1, A.value = !0;
17506
17506
  }
17507
17507
  }, [
17508
17508
  w("div", {
17509
17509
  class: a1([
17510
17510
  "v-slider-thumb__surface",
17511
- P.value,
17511
+ B.value,
17512
17512
  E.value
17513
17513
  ]),
17514
17514
  style: O1(T.value)
17515
17515
  }, null),
17516
17516
  f2(w("div", {
17517
- class: a1(["v-slider-thumb__ripple", P.value]),
17517
+ class: a1(["v-slider-thumb__ripple", B.value]),
17518
17518
  style: O1(T.value)
17519
17519
  }, null), [[
17520
17520
  ae,
@@ -17527,7 +17527,7 @@ var EZ2 = j({
17527
17527
  ]]),
17528
17528
  M(uC, { origin: "bottom center" }, { default: () => [f2(w("div", { class: "v-slider-thumb__label-container" }, [w("div", {
17529
17529
  class: a1(["v-slider-thumb__label", F.value]),
17530
- style: O1(B.value)
17530
+ style: O1(P.value)
17531
17531
  }, [w("div", null, [i["thumb-label"]?.({ modelValue: e.modelValue }) ?? e.modelValue.toFixed(V.value ? v.value : 1)]), w("div", { class: "v-slider-thumb__label-wedge" }, null)])]), [[r0, K]])] })
17532
17532
  ]);
17533
17533
  }), {};
@@ -17550,14 +17550,14 @@ var EZ2 = j({
17550
17550
  let { slots: i } = t;
17551
17551
  const r = N(ra);
17552
17552
  if (!r) throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");
17553
- const { color: a, parsedTicks: n, rounded: o, showTicks: s, tickSize: l, trackColor: C, trackFillColor: H, trackSize: V, vertical: d, min: c, max: L, indexFromEnd: u } = r, { roundedClasses: m } = E5(o), { backgroundColorClasses: p, backgroundColorStyles: f } = b5(H), { backgroundColorClasses: g, backgroundColorStyles: h } = b5(C), v = Z(() => `inset-${d.value ? "block" : "inline"}-${u.value ? "end" : "start"}`), k = Z(() => d.value ? "height" : "width"), y = Z(() => ({
17553
+ const { color: a, parsedTicks: n, rounded: o, showTicks: s, tickSize: l, trackColor: C, trackFillColor: H, trackSize: V, vertical: d, min: c, max: L, indexFromEnd: u } = r, { roundedClasses: m } = E5(o), { backgroundColorClasses: p, backgroundColorStyles: f } = b5(H), { backgroundColorClasses: g, backgroundColorStyles: h } = b5(C), v = Z(() => `inset-${d.value ? "block" : "inline"}-${u.value ? "end" : "start"}`), k = Z(() => d.value ? "height" : "width"), b = Z(() => ({
17554
17554
  [v.value]: "0%",
17555
17555
  [k.value]: "100%"
17556
17556
  })), A = Z(() => e.stop - e.start), E = Z(() => ({
17557
17557
  [v.value]: c1(e.start, "%"),
17558
17558
  [k.value]: c1(A.value, "%")
17559
- })), P = Z(() => s.value ? (d.value ? n.value.slice().reverse() : n.value).map((T, F) => {
17560
- const B = T.value !== c.value && T.value !== L.value ? c1(T.position, "%") : void 0;
17559
+ })), B = Z(() => s.value ? (d.value ? n.value.slice().reverse() : n.value).map((T, F) => {
17560
+ const P = T.value !== c.value && T.value !== L.value ? c1(T.position, "%") : void 0;
17561
17561
  return w("div", {
17562
17562
  key: T.value,
17563
17563
  class: a1(["v-slider-track__tick", {
@@ -17565,7 +17565,7 @@ var EZ2 = j({
17565
17565
  "v-slider-track__tick--first": T.value === c.value,
17566
17566
  "v-slider-track__tick--last": T.value === L.value
17567
17567
  }]),
17568
- style: { [v.value]: B }
17568
+ style: { [v.value]: P }
17569
17569
  }, [(T.label || i["tick-label"]) && w("div", { class: "v-slider-track__tick-label" }, [i["tick-label"]?.({
17570
17570
  tick: T,
17571
17571
  index: F
@@ -17589,7 +17589,7 @@ var EZ2 = j({
17589
17589
  { "v-slider-track__background--opacity": !!a.value || !H.value }
17590
17590
  ]),
17591
17591
  style: {
17592
- ...y.value,
17592
+ ...b.value,
17593
17593
  ...h.value
17594
17594
  }
17595
17595
  }, null),
@@ -17600,7 +17600,7 @@ var EZ2 = j({
17600
17600
  ...f.value
17601
17601
  }
17602
17602
  }, null),
17603
- s.value && w("div", { class: a1(["v-slider-track__ticks", { "v-slider-track__ticks--always-show": s.value === "always" }]) }, [P.value])
17603
+ s.value && w("div", { class: a1(["v-slider-track__ticks", { "v-slider-track__ticks--always-show": s.value === "always" }]) }, [B.value])
17604
17604
  ])), {};
17605
17605
  }
17606
17606
  }), DZ2 = j({
@@ -17623,25 +17623,25 @@ var EZ2 = j({
17623
17623
  },
17624
17624
  setup(e, t) {
17625
17625
  let { slots: i, emit: r, attrs: a } = t;
17626
- const n = z(), o = z(), { rtlClasses: s } = x5(), l = xZ2(e), C = Y1(e, "modelValue", void 0, (P) => l.roundValue(P ?? l.min.value)), { min: H, max: V, mousePressed: d, roundValue: c, onSliderMousedown: L, onSliderTouchstart: u, trackContainerRef: m, position: p, hasLabels: f, disabled: g, readonly: h, noKeyboard: v } = TZ2({
17626
+ const n = z(), o = z(), { rtlClasses: s } = x5(), l = xZ2(e), C = Y1(e, "modelValue", void 0, (B) => l.roundValue(B ?? l.min.value)), { min: H, max: V, mousePressed: d, roundValue: c, onSliderMousedown: L, onSliderTouchstart: u, trackContainerRef: m, position: p, hasLabels: f, disabled: g, readonly: h, noKeyboard: v } = TZ2({
17627
17627
  props: e,
17628
17628
  steps: l,
17629
17629
  onSliderStart: () => {
17630
17630
  !g.value && !h.value && r("start", C.value);
17631
17631
  },
17632
- onSliderEnd: (P) => {
17633
- let { value: T } = P;
17632
+ onSliderEnd: (B) => {
17633
+ let { value: T } = B;
17634
17634
  const F = c(T);
17635
17635
  !g.value && !h.value && (C.value = F), r("end", F);
17636
17636
  },
17637
- onSliderMove: (P) => {
17638
- let { value: T } = P;
17637
+ onSliderMove: (B) => {
17638
+ let { value: T } = B;
17639
17639
  !g.value && !h.value && (C.value = c(T));
17640
17640
  },
17641
17641
  getActiveThumb: () => n.value?.$el
17642
- }), { isFocused: k, focus: y, blur: A } = s7(e), E = Z(() => p(C.value));
17642
+ }), { isFocused: k, focus: b, blur: A } = s7(e), E = Z(() => p(C.value));
17643
17643
  return S1(() => {
17644
- const P = be.filterProps(e), [T, F] = t7(a), B = !!(e.label || i.label || i.prepend);
17644
+ const B = be.filterProps(e), [T, F] = t7(a), P = !!(e.label || i.label || i.prepend);
17645
17645
  return M(be, V1({
17646
17646
  ref: o,
17647
17647
  class: [
@@ -17656,9 +17656,9 @@ var EZ2 = j({
17656
17656
  e.class
17657
17657
  ],
17658
17658
  style: e.style
17659
- }, P, T, { focused: k.value }), {
17659
+ }, B, T, { focused: k.value }), {
17660
17660
  ...i,
17661
- prepend: B ? (x) => w(H1, null, [i.label?.(x) ?? (e.label ? M(F4, {
17661
+ prepend: P ? (x) => w(H1, null, [i.label?.(x) ?? (e.label ? M(F4, {
17662
17662
  id: x.id.value,
17663
17663
  class: "v-slider__label",
17664
17664
  text: e.label
@@ -17694,7 +17694,7 @@ var EZ2 = j({
17694
17694
  "onUpdate:modelValue": (W) => C.value = W,
17695
17695
  position: E.value,
17696
17696
  elevation: e.elevation,
17697
- onFocus: y,
17697
+ onFocus: b,
17698
17698
  onBlur: A,
17699
17699
  ripple: e.ripple,
17700
17700
  name: e.name
@@ -18355,7 +18355,7 @@ var HF2 = we({
18355
18355
  ])
18356
18356
  })), {};
18357
18357
  }
18358
- }), LF2 = { class: "tiptapify-style-color-container" }, uF2 = ["onMouseenter"], mF2 = /* @__PURE__ */ n1({
18358
+ }), LF2 = { class: "tiptapify-style-color-container" }, uF2 = ["onMouseenter", "onClick"], mF2 = /* @__PURE__ */ n1({
18359
18359
  __name: "StyleColor",
18360
18360
  props: {
18361
18361
  fontColor: {
@@ -18419,49 +18419,47 @@ var HF2 = we({
18419
18419
  indigo: "#4b0082"
18420
18420
  }
18421
18421
  };
18422
- function u(y) {
18423
- const A = m(y);
18422
+ function u(b) {
18423
+ const A = m(b);
18424
18424
  for (const E of Object.keys(A)) A[E] = Math.round(A[E] * 0.35);
18425
18425
  return Object.values(A).join(", ");
18426
18426
  }
18427
- function m(y) {
18428
- y = y.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i, function(E, P, T, F) {
18429
- return P + P + T + T + F + F;
18427
+ function m(b) {
18428
+ b = b.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i, function(E, B, T, F) {
18429
+ return B + B + T + T + F + F;
18430
18430
  });
18431
- const A = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(y);
18431
+ const A = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(b);
18432
18432
  return {
18433
18433
  r: A ? parseInt(A[1], 16) : 0,
18434
18434
  g: A ? parseInt(A[2], 16) : 0,
18435
18435
  b: A ? parseInt(A[3], 16) : 0
18436
18436
  };
18437
18437
  }
18438
- function p(y) {
18439
- l.value = !1;
18440
- const A = a.value.interactiveStyles;
18441
- r.fontColor && A && a.value.chain().focus().setColor(y).run(), r.backgroundColor && A && a.value.chain().focus().setHighlight({ color: y }).run();
18438
+ function p(b) {
18439
+ l.value = !1, r.fontColor && a.value.chain().focus().setColor(b).command(({ tr: A }) => (A.setMeta("addToHistory", !1), !0)).run(), r.backgroundColor && a.value.chain().focus().setHighlight({ color: b }).command(({ tr: A }) => (A.setMeta("addToHistory", !1), !0)).run();
18442
18440
  }
18443
18441
  function f() {
18444
18442
  g();
18445
18443
  }
18446
18444
  function g() {
18447
- l.value || (r.fontColor && a.value.chain().focus().setColor(o.value).run(), r.backgroundColor && (o.value ? a.value.chain().focus().setHighlight({ color: o.value }).run() : a.value.chain().focus().unsetHighlight().run()));
18445
+ l.value || (r.fontColor && a.value.chain().focus().setColor(o.value).command(({ tr: b }) => (b.setMeta("addToHistory", !1), !0)).run(), r.backgroundColor && (o.value ? a.value.chain().focus().setHighlight({ color: o.value }).command(({ tr: b }) => (b.setMeta("addToHistory", !1), !0)).run() : a.value.chain().focus().unsetHighlight().command(({ tr: b }) => (b.setMeta("addToHistory", !1), !0)).run()));
18448
18446
  }
18449
- function h() {
18450
- l.value = !0;
18447
+ function h(b) {
18448
+ l.value = !0, r.fontColor && a.value.chain().focus().setColor(b).run(), r.backgroundColor && a.value.chain().focus().setHighlight({ color: b }).run();
18451
18449
  }
18452
18450
  function v() {
18453
18451
  r.fontColor && a.value.chain().focus().unsetColor().run(), r.backgroundColor && a.value.chain().focus().unsetHighlight().run();
18454
18452
  }
18455
- function k(y) {
18456
- return r.color === y;
18453
+ function k(b) {
18454
+ return r.color === b;
18457
18455
  }
18458
- return (y, A) => (D(), d1(H3, { class: "pa-2" }, {
18459
- default: b(() => [
18456
+ return (b, A) => (D(), d1(H3, { class: "pa-2" }, {
18457
+ default: y(() => [
18460
18458
  w("div", LF2, [(D(), u1(H1, null, p2(L, (E) => w("div", {
18461
18459
  class: a1(["tiptapify-style-color-item", k(E) ? "tiptapify-style-color-item-active" : ""]),
18462
- onMouseenter: (P) => p(E),
18463
- onMouseleave: A[0] || (A[0] = (P) => g()),
18464
- onClick: h
18460
+ onMouseenter: (B) => p(E),
18461
+ onMouseleave: A[0] || (A[0] = (B) => g()),
18462
+ onClick: (B) => h(E)
18465
18463
  }, [w("div", {
18466
18464
  class: "tiptapify-style-color-picker",
18467
18465
  style: O1(`background-color: ${E}; box-shadow: 1px 1px 4px rgb(${u(E)});`)
@@ -18469,24 +18467,24 @@ var HF2 = we({
18469
18467
  M($3, { class: "mt-2 mb-2" }),
18470
18468
  M(L5, {
18471
18469
  modelValue: n.value,
18472
- "onUpdate:modelValue": A[4] || (A[4] = (E) => n.value = E),
18470
+ "onUpdate:modelValue": A[5] || (A[5] = (E) => n.value = E),
18473
18471
  "close-on-content-click": !1
18474
18472
  }, {
18475
- activator: b(({ props: E }) => [M(s1, V1(E, {
18473
+ activator: y(({ props: E }) => [M(s1, V1(E, {
18476
18474
  color: "default",
18477
18475
  variant: "flat",
18478
18476
  block: ""
18479
18477
  }), {
18480
- prepend: b(() => [w("div", {
18478
+ prepend: y(() => [w("div", {
18481
18479
  class: "tiptapify-style-color-picker",
18482
18480
  style: O1(`background-color: ${s.value}; box-shadow: 1px 1px 4px rgb(0, 0, 0, .35);`)
18483
18481
  }, null, 4)]),
18484
- default: b(() => [e1($(S(i)("style.color.custom")), 1)]),
18482
+ default: y(() => [e1($(S(i)("style.color.custom")), 1)]),
18485
18483
  _: 1
18486
18484
  }, 16)]),
18487
- default: b(() => [M(Z4, null, {
18488
- default: b(() => [M(Wr, null, {
18489
- default: b(() => [M(cF2, {
18485
+ default: y(() => [M(Z4, null, {
18486
+ default: y(() => [M(Wr, null, {
18487
+ default: y(() => [M(cF2, {
18490
18488
  modelValue: s.value,
18491
18489
  "onUpdate:modelValue": [A[1] || (A[1] = (E) => s.value = E), A[2] || (A[2] = (E) => p(E))],
18492
18490
  elevated: "",
@@ -18495,21 +18493,21 @@ var HF2 = we({
18495
18493
  }, null, 8, ["modelValue"])]),
18496
18494
  _: 1
18497
18495
  }), M(P0, null, {
18498
- default: b(() => [M(s1, {
18496
+ default: y(() => [M(s1, {
18499
18497
  variant: "flat",
18500
18498
  color: "primary",
18501
- onClick: h
18499
+ onClick: A[3] || (A[3] = (E) => h(s.value))
18502
18500
  }, {
18503
- default: b(() => [...A[5] || (A[5] = [e1(" OK ", -1)])]),
18501
+ default: y(() => [...A[6] || (A[6] = [e1(" OK ", -1)])]),
18504
18502
  _: 1
18505
18503
  }), M(s1, {
18506
18504
  variant: "flat",
18507
18505
  color: "grey-400",
18508
- onClick: A[3] || (A[3] = (E) => {
18506
+ onClick: A[4] || (A[4] = (E) => {
18509
18507
  n.value = !n.value, s.value = o.value, g();
18510
18508
  })
18511
18509
  }, {
18512
- default: b(() => [...A[6] || (A[6] = [e1(" Cancel ", -1)])]),
18510
+ default: y(() => [...A[7] || (A[7] = [e1(" Cancel ", -1)])]),
18513
18511
  _: 1
18514
18512
  })]),
18515
18513
  _: 1
@@ -18525,14 +18523,14 @@ var HF2 = we({
18525
18523
  variant: "flat",
18526
18524
  onClick: v
18527
18525
  }, {
18528
- default: b(() => [e1($(S(i)("style.color.unset")), 1)]),
18526
+ default: y(() => [e1($(S(i)("style.color.unset")), 1)]),
18529
18527
  _: 1
18530
18528
  })
18531
18529
  ]),
18532
18530
  _: 1
18533
18531
  }));
18534
18532
  }
18535
- }), MV = /* @__PURE__ */ $2(mF2, [["__scopeId", "data-v-886d4506"]]), MF2 = /* @__PURE__ */ n1({
18533
+ }), MV = /* @__PURE__ */ $2(mF2, [["__scopeId", "data-v-a7c524f8"]]), MF2 = /* @__PURE__ */ n1({
18536
18534
  __name: "Button",
18537
18535
  props: { variantBtn: {
18538
18536
  type: String,
@@ -18547,39 +18545,28 @@ var HF2 = we({
18547
18545
  }), n = Z(() => t.value.getAttributes("textStyle").color || "");
18548
18546
  return (o, s) => (D(), u1(H1, null, [M(s1, {
18549
18547
  id: `tiptapify-color-button-${S(t).instanceId}`,
18550
- disabled: !S(t).can().chain().focus().toggleHighlight().run(),
18551
18548
  variant: e.variantBtn,
18552
- size: "32",
18553
- onClick: s[0] || (s[0] = (l) => S(t).chain().focus().redo().run())
18549
+ size: "32"
18554
18550
  }, {
18555
- default: b(() => [
18551
+ default: y(() => [
18556
18552
  M(v1, { activator: "parent" }, {
18557
- default: b(() => [e1($(S(i)("style.color.text")), 1)]),
18553
+ default: y(() => [e1($(S(i)("style.color.text")), 1)]),
18558
18554
  _: 1
18559
18555
  }),
18560
18556
  M(y1, { icon: `mdiSvg:${TC}` }, null, 8, ["icon"]),
18561
18557
  M(q1, {
18562
18558
  icon: `mdiSvg:${Zr}`,
18563
- disabled: !S(t).can().chain().focus().toggleHighlight().run(),
18564
18559
  color: a.value,
18565
18560
  size: "small",
18566
18561
  style: {
18567
18562
  position: "absolute",
18568
18563
  filter: "drop-shadow(rgba(0, 0, 0, .75) 1px 1px 2px)"
18569
18564
  }
18570
- }, null, 8, [
18571
- "icon",
18572
- "disabled",
18573
- "color"
18574
- ])
18565
+ }, null, 8, ["icon", "color"])
18575
18566
  ]),
18576
18567
  _: 1
18577
- }, 8, [
18578
- "id",
18579
- "disabled",
18580
- "variant"
18581
- ]), M(L5, { activator: `#tiptapify-color-button-${S(t).instanceId}` }, {
18582
- default: b(() => [M(MV, {
18568
+ }, 8, ["id", "variant"]), M(L5, { activator: `#tiptapify-color-button-${S(t).instanceId}` }, {
18569
+ default: y(() => [M(MV, {
18583
18570
  "font-color": !0,
18584
18571
  "background-color": !1,
18585
18572
  color: n.value
@@ -18604,12 +18591,11 @@ var HF2 = we({
18604
18591
  id: `tiptapify-highlight-button-${S(t).instanceId}`,
18605
18592
  disabled: !S(t).can().chain().focus().toggleHighlight().run(),
18606
18593
  variant: e.variantBtn,
18607
- size: "32",
18608
- onClick: s[0] || (s[0] = (l) => S(t).chain().focus().redo().run())
18594
+ size: "32"
18609
18595
  }, {
18610
- default: b(() => [
18596
+ default: y(() => [
18611
18597
  M(v1, { activator: "parent" }, {
18612
- default: b(() => [e1($(S(i)("style.color.highlight")), 1)]),
18598
+ default: y(() => [e1($(S(i)("style.color.highlight")), 1)]),
18613
18599
  _: 1
18614
18600
  }),
18615
18601
  M(y1, { icon: `mdiSvg:${EC}` }, null, 8, ["icon"]),
@@ -18634,7 +18620,7 @@ var HF2 = we({
18634
18620
  "disabled",
18635
18621
  "variant"
18636
18622
  ]), M(L5, { activator: `#tiptapify-highlight-button-${S(t).instanceId}` }, {
18637
- default: b(() => [M(MV, {
18623
+ default: y(() => [M(MV, {
18638
18624
  "font-color": !1,
18639
18625
  "background-color": !0,
18640
18626
  color: n.value
@@ -18735,13 +18721,13 @@ var HF2 = we({
18735
18721
  deep: !0,
18736
18722
  immediate: !0
18737
18723
  }), (L, u) => C.value ? (D(), d1(L5, { key: 0 }, {
18738
- activator: b(({ props: m }) => [M(s1, V1({
18724
+ activator: y(({ props: m }) => [M(s1, V1({
18739
18725
  color: d.value ? "primary" : "",
18740
18726
  disabled: c.value,
18741
18727
  variant: e.variantBtn
18742
18728
  }, m, { size: "32" }), {
18743
- default: b(() => [M(v1, { activator: "parent" }, {
18744
- default: b(() => [e1($(S(r)("lists.bullet")), 1)]),
18729
+ default: y(() => [M(v1, { activator: "parent" }, {
18730
+ default: y(() => [e1($(S(r)("lists.bullet")), 1)]),
18745
18731
  _: 1
18746
18732
  }), M(y1, { icon: `mdiSvg:${$t}` }, null, 8, ["icon"])]),
18747
18733
  _: 1
@@ -18750,18 +18736,18 @@ var HF2 = we({
18750
18736
  "disabled",
18751
18737
  "variant"
18752
18738
  ])]),
18753
- default: b(() => [M(C0, null, {
18754
- default: b(() => [(D(!0), u1(H1, null, p2(l.value, (m, p) => (D(), d1(d2, {
18739
+ default: y(() => [M(C0, null, {
18740
+ default: y(() => [(D(!0), u1(H1, null, p2(l.value, (m, p) => (D(), d1(d2, {
18755
18741
  key: p,
18756
18742
  link: "",
18757
18743
  active: S(i).isActive(m.name),
18758
18744
  onClick: (f) => V(m.name)
18759
18745
  }, {
18760
- default: b(() => [M(v1, { activator: "parent" }, {
18761
- default: b(() => [e1($(S(r)("lists.bullet")), 1)]),
18746
+ default: y(() => [M(v1, { activator: "parent" }, {
18747
+ default: y(() => [e1($(S(r)("lists.bullet")), 1)]),
18762
18748
  _: 1
18763
18749
  }), M(X2, { class: "d-flex justify-center align-center" }, {
18764
- default: b(() => [M(y1, { icon: m.icon }, null, 8, ["icon"])]),
18750
+ default: y(() => [M(y1, { icon: m.icon }, null, 8, ["icon"])]),
18765
18751
  _: 2
18766
18752
  }, 1024)]),
18767
18753
  _: 2
@@ -18777,8 +18763,8 @@ var HF2 = we({
18777
18763
  size: "32",
18778
18764
  onClick: u[0] || (u[0] = (m) => S(i).commands.toggleBulletList())
18779
18765
  }, {
18780
- default: b(() => [M(v1, { activator: "parent" }, {
18781
- default: b(() => [e1($(S(r)("lists.bullet")), 1)]),
18766
+ default: y(() => [M(v1, { activator: "parent" }, {
18767
+ default: y(() => [e1($(S(r)("lists.bullet")), 1)]),
18782
18768
  _: 1
18783
18769
  }), M(y1, { icon: `mdiSvg:${$t}` }, null, 8, ["icon"])]),
18784
18770
  _: 1
@@ -18805,8 +18791,8 @@ var HF2 = we({
18805
18791
  size: "32",
18806
18792
  onClick: n[0] || (n[0] = (o) => S(t).commands.toggleOrderedList())
18807
18793
  }, {
18808
- default: b(() => [M(v1, { activator: "parent" }, {
18809
- default: b(() => [e1($(S(i)("lists.numbered")), 1)]),
18794
+ default: y(() => [M(v1, { activator: "parent" }, {
18795
+ default: y(() => [e1($(S(i)("lists.numbered")), 1)]),
18810
18796
  _: 1
18811
18797
  }), M(y1, { icon: `mdiSvg:${$C}` }, null, 8, ["icon"])]),
18812
18798
  _: 1
@@ -18833,8 +18819,8 @@ var HF2 = we({
18833
18819
  size: "32",
18834
18820
  onClick: n[0] || (n[0] = (o) => S(t).commands.toggleTaskList())
18835
18821
  }, {
18836
- default: b(() => [M(v1, { activator: "parent" }, {
18837
- default: b(() => [e1($(S(i)("lists.task")), 1)]),
18822
+ default: y(() => [M(v1, { activator: "parent" }, {
18823
+ default: y(() => [e1($(S(i)("lists.task")), 1)]),
18838
18824
  _: 1
18839
18825
  }), M(y1, { icon: `mdiSvg:${zC}` }, null, 8, ["icon"])]),
18840
18826
  _: 1
@@ -18862,8 +18848,8 @@ var HF2 = we({
18862
18848
  variant: e.variantBtn,
18863
18849
  onClick: a[0] || (a[0] = (n) => S(t).chain().focus().sinkListItem("listItem").run())
18864
18850
  }, {
18865
- default: b(() => [M(v1, { activator: "parent" }, {
18866
- default: b(() => [e1($(S(i)("lists.indent")), 1)]),
18851
+ default: y(() => [M(v1, { activator: "parent" }, {
18852
+ default: y(() => [e1($(S(i)("lists.indent")), 1)]),
18867
18853
  _: 1
18868
18854
  }), M(y1, { icon: `mdiSvg:${NC}` }, null, 8, ["icon"])]),
18869
18855
  _: 1
@@ -18887,8 +18873,8 @@ var HF2 = we({
18887
18873
  variant: e.variantBtn,
18888
18874
  onClick: a[0] || (a[0] = (n) => S(t).chain().focus().liftListItem("listItem").run())
18889
18875
  }, {
18890
- default: b(() => [M(v1, { activator: "parent" }, {
18891
- default: b(() => [e1($(S(i)("lists.outdent")), 1)]),
18876
+ default: y(() => [M(v1, { activator: "parent" }, {
18877
+ default: y(() => [e1($(S(i)("lists.outdent")), 1)]),
18892
18878
  _: 1
18893
18879
  }), M(y1, { icon: `mdiSvg:${DC}` }, null, 8, ["icon"])]),
18894
18880
  _: 1
@@ -33816,7 +33802,7 @@ var HF2 = we({
33816
33802
  class: a1(["tiptapify-slash-picker__tab", { "tiptapify-slash-picker__tab--active": r.value === d.group }]),
33817
33803
  onClick: (c) => r.value = d.group
33818
33804
  }, [M(v1, { activator: "parent" }, {
33819
- default: b(() => [e1($(e.t(`media.emoji.categories.${d.group}`)), 1)]),
33805
+ default: y(() => [e1($(e.t(`media.emoji.categories.${d.group}`)), 1)]),
33820
33806
  _: 2
33821
33807
  }, 1024), e1(" " + $(d.emojis[0]?.char), 1)], 10, QF2))), 128))]), w("div", JF2, [w("div", YF2, [f2(w("input", {
33822
33808
  "onUpdate:modelValue": V[0] || (V[0] = (d) => i.value = d),
@@ -33853,8 +33839,8 @@ var HF2 = we({
33853
33839
  variant: e.variantBtn,
33854
33840
  size: "32"
33855
33841
  }, {
33856
- default: b(() => [M(v1, { activator: "parent" }, {
33857
- default: b(() => [e1($(S(i)("media.emoji.title")), 1)]),
33842
+ default: y(() => [M(v1, { activator: "parent" }, {
33843
+ default: y(() => [e1($(S(i)("media.emoji.title")), 1)]),
33858
33844
  _: 1
33859
33845
  }), M(y1, { icon: `mdiSvg:${SC}` }, null, 8, ["icon"])]),
33860
33846
  _: 1
@@ -33862,11 +33848,11 @@ var HF2 = we({
33862
33848
  activator: `#tiptapify-emoji-button-${S(t).instanceId}`,
33863
33849
  "close-on-content-click": !1
33864
33850
  }, {
33865
- default: b(() => [M(H3, {
33851
+ default: y(() => [M(H3, {
33866
33852
  class: "pa-2",
33867
33853
  "max-width": "570"
33868
33854
  }, {
33869
- default: b(() => [M(pV, {
33855
+ default: y(() => [M(pV, {
33870
33856
  editor: S(t),
33871
33857
  t: S(i)
33872
33858
  }, null, 8, ["editor", "t"])]),
@@ -40108,7 +40094,7 @@ var HF2 = we({
40108
40094
  class: a1(["tiptapify-slash-picker__tab", { "tiptapify-slash-picker__tab--active": r.value === d.group }]),
40109
40095
  onClick: (c) => r.value = d.group
40110
40096
  }, [M(v1, { activator: "parent" }, {
40111
- default: b(() => [e1($(e.t(`media.charmap.categories.${d.group}`)), 1)]),
40097
+ default: y(() => [e1($(e.t(`media.charmap.categories.${d.group}`)), 1)]),
40112
40098
  _: 2
40113
40099
  }, 1024), e1(" " + $(d.items[0]?.char), 1)], 10, fE2))), 128))]), w("div", gE2, [w("div", AE2, [f2(w("input", {
40114
40100
  "onUpdate:modelValue": V[0] || (V[0] = (d) => i.value = d),
@@ -40144,8 +40130,8 @@ var HF2 = we({
40144
40130
  variant: e.variantBtn,
40145
40131
  size: "32"
40146
40132
  }, {
40147
- default: b(() => [M(v1, { activator: "parent" }, {
40148
- default: b(() => [e1($(S(i)("media.charmap.title")), 1)]),
40133
+ default: y(() => [M(v1, { activator: "parent" }, {
40134
+ default: y(() => [e1($(S(i)("media.charmap.title")), 1)]),
40149
40135
  _: 1
40150
40136
  }), M(q1, {
40151
40137
  icon: `mdiSvg:${gC}`,
@@ -40157,11 +40143,11 @@ var HF2 = we({
40157
40143
  activator: `#tiptapify-charmap-button-${S(t).instanceId}`,
40158
40144
  "close-on-content-click": !1
40159
40145
  }, {
40160
- default: b(() => [M(H3, {
40146
+ default: y(() => [M(H3, {
40161
40147
  class: "pa-2",
40162
40148
  "max-width": "580"
40163
40149
  }, {
40164
- default: b(() => [M(hV, {
40150
+ default: y(() => [M(hV, {
40165
40151
  editor: S(t),
40166
40152
  t: S(i)
40167
40153
  }, null, 8, ["editor", "t"])]),
@@ -40296,27 +40282,27 @@ var Kt = h1()({
40296
40282
  a?.onForceUpdate(() => {
40297
40283
  m.value && (m.value.checked = s.value);
40298
40284
  });
40299
- function g(y) {
40300
- f.value && (L.value = !0, Nt(y.target, ":focus-visible") !== !1 && (u.value = !0));
40285
+ function g(b) {
40286
+ f.value && (L.value = !0, Nt(b.target, ":focus-visible") !== !1 && (u.value = !0));
40301
40287
  }
40302
40288
  function h() {
40303
40289
  L.value = !1, u.value = !1;
40304
40290
  }
40305
- function v(y) {
40306
- y.stopPropagation();
40291
+ function v(b) {
40292
+ b.stopPropagation();
40307
40293
  }
40308
- function k(y) {
40294
+ function k(b) {
40309
40295
  if (!f.value) {
40310
40296
  m.value && (m.value.checked = s.value);
40311
40297
  return;
40312
40298
  }
40313
- e.readonly && a && a2(() => a.forceUpdate()), s.value = y.target.checked;
40299
+ e.readonly && a && a2(() => a.forceUpdate()), s.value = b.target.checked;
40314
40300
  }
40315
40301
  return S1(() => {
40316
- const y = r.label ? r.label({
40302
+ const b = r.label ? r.label({
40317
40303
  label: e.label,
40318
40304
  props: { for: p.value }
40319
- }) : e.label, [A, E] = t7(i), P = w("input", V1({
40305
+ }) : e.label, [A, E] = t7(i), B = w("input", V1({
40320
40306
  ref: m,
40321
40307
  checked: s.value,
40322
40308
  disabled: !!e.disabled,
@@ -40355,7 +40341,7 @@ var Kt = h1()({
40355
40341
  textColorStyles: C,
40356
40342
  backgroundColorClasses: H,
40357
40343
  backgroundColorStyles: V,
40358
- inputNode: P,
40344
+ inputNode: B,
40359
40345
  icon: o.value,
40360
40346
  props: {
40361
40347
  onFocus: g,
@@ -40365,7 +40351,7 @@ var Kt = h1()({
40365
40351
  }) ?? w(H1, null, [o.value && M(q1, {
40366
40352
  key: "icon",
40367
40353
  icon: o.value
40368
- }, null), P])]), [[
40354
+ }, null), B])]), [[
40369
40355
  ae,
40370
40356
  !e.disabled && !e.readonly && e.ripple,
40371
40357
  null,
@@ -40373,10 +40359,10 @@ var Kt = h1()({
40373
40359
  center: !0,
40374
40360
  circle: !0
40375
40361
  }
40376
- ]])]), y && M(F4, {
40362
+ ]])]), b && M(F4, {
40377
40363
  for: p.value,
40378
40364
  onClick: v
40379
- }, { default: () => [y] })]);
40365
+ }, { default: () => [b] })]);
40380
40366
  }), {
40381
40367
  isFocused: L,
40382
40368
  input: m
@@ -40505,7 +40491,7 @@ var Kt = h1()({
40505
40491
  },
40506
40492
  setup(e, t) {
40507
40493
  let { attrs: i, emit: r, slots: a } = t;
40508
- const n = Y1(e, "modelValue", void 0, (y) => Object.is(y, -0) ? "-0" : y), { isFocused: o, focus: s, blur: l } = s7(e), { onIntersect: C } = XH(e), H = Z(() => typeof e.counterValue == "function" ? e.counterValue(n.value) : typeof e.counterValue == "number" ? e.counterValue : (n.value ?? "").toString().length), V = Z(() => {
40494
+ const n = Y1(e, "modelValue", void 0, (b) => Object.is(b, -0) ? "-0" : b), { isFocused: o, focus: s, blur: l } = s7(e), { onIntersect: C } = XH(e), H = Z(() => typeof e.counterValue == "function" ? e.counterValue(n.value) : typeof e.counterValue == "number" ? e.counterValue : (n.value ?? "").toString().length), V = Z(() => {
40509
40495
  if (i.maxlength) return i.maxlength;
40510
40496
  if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
40511
40497
  return e.counter;
@@ -40515,19 +40501,19 @@ var Kt = h1()({
40515
40501
  u.value !== document.activeElement && u.value?.focus();
40516
40502
  });
40517
40503
  }
40518
- function g(y) {
40519
- r("mousedown:control", y), y.target !== u.value && (f(), y.preventDefault());
40504
+ function g(b) {
40505
+ r("mousedown:control", b), b.target !== u.value && (f(), b.preventDefault());
40520
40506
  }
40521
- function h(y) {
40522
- r("click:control", y);
40507
+ function h(b) {
40508
+ r("click:control", b);
40523
40509
  }
40524
- function v(y, A) {
40525
- y.stopPropagation(), f(), a2(() => {
40526
- A(), Mr(e["onClick:clear"], y);
40510
+ function v(b, A) {
40511
+ b.stopPropagation(), f(), a2(() => {
40512
+ A(), Mr(e["onClick:clear"], b);
40527
40513
  });
40528
40514
  }
40529
- function k(y) {
40530
- const A = y.target;
40515
+ function k(b) {
40516
+ const A = b.target;
40531
40517
  if (!(e.modelModifiers?.trim && [
40532
40518
  "text",
40533
40519
  "search",
@@ -40538,14 +40524,14 @@ var Kt = h1()({
40538
40524
  n.value = A.value;
40539
40525
  return;
40540
40526
  }
40541
- const E = A.value, P = A.selectionStart, T = A.selectionEnd;
40527
+ const E = A.value, B = A.selectionStart, T = A.selectionEnd;
40542
40528
  n.value = E, a2(() => {
40543
40529
  let F = 0;
40544
- E.trimStart().length === A.value.length && (F = E.length - A.value.length), P != null && (A.selectionStart = P - F), T != null && (A.selectionEnd = T - F);
40530
+ E.trimStart().length === A.value.length && (F = E.length - A.value.length), B != null && (A.selectionStart = B - F), T != null && (A.selectionEnd = T - F);
40545
40531
  });
40546
40532
  }
40547
40533
  return S1(() => {
40548
- const y = !!(a.counter || e.counter !== !1 && e.counter != null), A = !!(y || a.details), [E, P] = t7(i), { modelValue: T, ...F } = be.filterProps(e), B = Gt.filterProps(e);
40534
+ const b = !!(a.counter || e.counter !== !1 && e.counter != null), A = !!(b || a.details), [E, B] = t7(i), { modelValue: T, ...F } = be.filterProps(e), P = Gt.filterProps(e);
40549
40535
  return M(be, V1({
40550
40536
  ref: c,
40551
40537
  modelValue: n.value,
@@ -40573,7 +40559,7 @@ var Kt = h1()({
40573
40559
  onClick: h,
40574
40560
  "onClick:clear": (I) => v(I, U),
40575
40561
  role: e.role
40576
- }, k5(B, ["onClick:clear"]), {
40562
+ }, k5(P, ["onClick:clear"]), {
40577
40563
  id: R.value,
40578
40564
  labelId: `${R.value}-label`,
40579
40565
  active: p.value || W.value,
@@ -40602,7 +40588,7 @@ var Kt = h1()({
40602
40588
  onFocus: s,
40603
40589
  onBlur: l,
40604
40590
  "aria-labelledby": `${R.value}-label`
40605
- }, k1, P), null);
40591
+ }, k1, B), null);
40606
40592
  return w(H1, null, [
40607
40593
  e.prefix && w("span", { class: "v-text-field__prefix" }, [w("span", { class: "v-text-field__prefix__text" }, [e.prefix])]),
40608
40594
  f2(a.default ? w("div", {
@@ -40619,7 +40605,7 @@ var Kt = h1()({
40619
40605
  }
40620
40606
  });
40621
40607
  },
40622
- details: A ? (x) => w(H1, null, [a.details?.(x), y && w(H1, null, [w("span", null, null), M(JH, {
40608
+ details: A ? (x) => w(H1, null, [a.details?.(x), b && w(H1, null, [w("span", null, null), M(JH, {
40623
40609
  active: e.persistentCounter || o.value,
40624
40610
  value: H.value,
40625
40611
  max: V.value,
@@ -40700,7 +40686,7 @@ function DE2(e, t) {
40700
40686
  const I = u[Q], G = r.value;
40701
40687
  r.value = G ? Math.min(r.value, U) : U, (I !== U || G !== r.value) && (u[Q] = U, h());
40702
40688
  }
40703
- function y(Q) {
40689
+ function b(Q) {
40704
40690
  Q = B2(Q, 0, t.value.length);
40705
40691
  const U = Math.floor(Q), I = Q % 1, G = U + 1, k1 = m[U] || 0;
40706
40692
  return k1 + ((m[G] || k1) - k1) * I;
@@ -40708,20 +40694,20 @@ function DE2(e, t) {
40708
40694
  function A(Q) {
40709
40695
  return NE2(m, Q);
40710
40696
  }
40711
- let E = 0, P = 0, T = 0;
40697
+ let E = 0, B = 0, T = 0;
40712
40698
  L1(c, (Q, U) => {
40713
40699
  X(), Q < U && requestAnimationFrame(() => {
40714
- P = 0, X();
40700
+ B = 0, X();
40715
40701
  });
40716
40702
  });
40717
40703
  let F = -1;
40718
- function B() {
40704
+ function P() {
40719
40705
  if (!l.value || !C.value) return;
40720
40706
  const Q = l.value.scrollTop, U = performance.now();
40721
- U - T > 500 ? (P = Math.sign(Q - E), H = C.value.offsetTop) : P = Q - E, E = Q, T = U, window.clearTimeout(F), F = window.setTimeout(x, 500), X();
40707
+ U - T > 500 ? (B = Math.sign(Q - E), H = C.value.offsetTop) : B = Q - E, E = Q, T = U, window.clearTimeout(F), F = window.setTimeout(x, 500), X();
40722
40708
  }
40723
40709
  function x() {
40724
- !l.value || !C.value || (P = 0, T = 0, window.clearTimeout(F), X());
40710
+ !l.value || !C.value || (B = 0, T = 0, window.clearTimeout(F), X());
40725
40711
  }
40726
40712
  let R = -1;
40727
40713
  function X() {
@@ -40729,15 +40715,15 @@ function DE2(e, t) {
40729
40715
  }
40730
40716
  function W() {
40731
40717
  if (!l.value || !c.value || !r.value) return;
40732
- const Q = E - H, U = Math.sign(P), I = B2(A(Math.max(0, Q - K6)), 0, t.value.length), G = B2(A(Q + c.value + K6) + 1, I + 1, t.value.length);
40718
+ const Q = E - H, U = Math.sign(B), I = B2(A(Math.max(0, Q - K6)), 0, t.value.length), G = B2(A(Q + c.value + K6) + 1, I + 1, t.value.length);
40733
40719
  if ((U !== PE2 || I < a.value) && (U !== _E2 || G > n.value)) {
40734
- const k1 = y(a.value) - y(I), b1 = y(G) - y(n.value);
40720
+ const k1 = b(a.value) - b(I), b1 = b(G) - b(n.value);
40735
40721
  Math.max(k1, b1) > K6 ? (a.value = I, n.value = G) : (I <= 0 && (a.value = I), G >= t.value.length && (n.value = G));
40736
40722
  }
40737
- o.value = y(a.value), s.value = y(t.value.length) - y(n.value);
40723
+ o.value = b(a.value), s.value = b(t.value.length) - b(n.value);
40738
40724
  }
40739
40725
  function J(Q) {
40740
- const U = y(Q);
40726
+ const U = b(Q);
40741
40727
  !l.value || Q && !U ? f = Q : l.value.scrollTop = U;
40742
40728
  }
40743
40729
  const r1 = Z(() => t.value.slice(a.value, n.value).map((Q, U) => {
@@ -40758,7 +40744,7 @@ function DE2(e, t) {
40758
40744
  paddingTop: o,
40759
40745
  paddingBottom: s,
40760
40746
  scrollToIndex: J,
40761
- handleScroll: B,
40747
+ handleScroll: P,
40762
40748
  handleScrollend: x,
40763
40749
  handleItemResize: k
40764
40750
  };
@@ -41098,22 +41084,22 @@ var XE2 = j({
41098
41084
  const o2 = V(C1);
41099
41085
  return e.multiple ? o2 : o2[0] ?? null;
41100
41086
  }), m = Z(() => typeof e.counterValue == "function" ? e.counterValue(u.value) : typeof e.counterValue == "number" ? e.counterValue : u.value.length), p = Yr(e), f = Xr(e), g = Z(() => u.value.map((C1) => C1.value)), h = p1(!1), v = _(() => e.closableChips && !p.isReadonly.value && !p.isDisabled.value), { InputIcon: k } = qr(e);
41101
- let y = "", A = 0, E;
41102
- const P = Z(() => {
41087
+ let b = "", A = 0, E;
41088
+ const B = Z(() => {
41103
41089
  const C1 = d.value ? c.value : C.value;
41104
41090
  return e.hideSelected ? C1.filter((o2) => !u.value.some((E2) => (e.valueComparator || A5)(E2, o2))) : C1;
41105
- }), T = Z(() => e.hideNoData && !P.value.length || p.isReadonly.value || p.isDisabled.value), F = Y1(e, "menu"), B = Z({
41091
+ }), T = Z(() => e.hideNoData && !B.value.length || p.isReadonly.value || p.isDisabled.value), F = Y1(e, "menu"), P = Z({
41106
41092
  get: () => F.value,
41107
41093
  set: (C1) => {
41108
41094
  F.value && !C1 && n.value?.ΨopenChildren.size || C1 && T.value || (F.value = C1);
41109
41095
  }
41110
- }), { menuId: x, ariaExpanded: R, ariaControls: X } = YE2(e, B), W = Z(() => ({
41096
+ }), { menuId: x, ariaExpanded: R, ariaControls: X } = YE2(e, P), W = Z(() => ({
41111
41097
  ...e.menuProps,
41112
41098
  activatorProps: {
41113
41099
  ...e.menuProps?.activatorProps || {},
41114
41100
  "aria-haspopup": "listbox"
41115
41101
  }
41116
- })), J = z(), r1 = WE2(J, a), Q = $E2(B, () => n.value?.contentEl, () => a.value?.controlRef), { onTabKeydown: U } = UE2({
41102
+ })), J = z(), r1 = WE2(J, a), Q = $E2(P, () => n.value?.contentEl, () => a.value?.controlRef), { onTabKeydown: U } = UE2({
41117
41103
  groups: [
41118
41104
  {
41119
41105
  type: "element",
@@ -41122,7 +41108,7 @@ var XE2 = j({
41122
41108
  {
41123
41109
  type: "list",
41124
41110
  contentRef: J,
41125
- displayItemsCount: () => P.value.length
41111
+ displayItemsCount: () => B.value.length
41126
41112
  },
41127
41113
  {
41128
41114
  type: "element",
@@ -41130,14 +41116,14 @@ var XE2 = j({
41130
41116
  }
41131
41117
  ],
41132
41118
  onLeave: () => {
41133
- B.value = !1, a.value?.focus();
41119
+ P.value = !1, a.value?.focus();
41134
41120
  }
41135
41121
  });
41136
41122
  function I(C1) {
41137
- e.openOnClear && (B.value = !0);
41123
+ e.openOnClear && (P.value = !0);
41138
41124
  }
41139
41125
  function G() {
41140
- T.value || (B.value = !B.value);
41126
+ T.value || (P.value = !P.value);
41141
41127
  }
41142
41128
  function k1(C1) {
41143
41129
  C1.key === "Tab" && U(C1), J.value?.$el.contains(C1.target) && Fn(C1) && b1(C1);
@@ -41155,7 +41141,7 @@ var XE2 = j({
41155
41141
  "Enter",
41156
41142
  "ArrowDown",
41157
41143
  " "
41158
- ].includes(C1.key) && (B.value = !0), ["Escape", "Tab"].includes(C1.key) && (B.value = !1), e.clearable && C1.key === "Backspace") {
41144
+ ].includes(C1.key) && (P.value = !0), ["Escape", "Tab"].includes(C1.key) && (P.value = !1), e.clearable && C1.key === "Backspace") {
41159
41145
  C1.preventDefault(), u.value = [], I(C1);
41160
41146
  return;
41161
41147
  }
@@ -41163,16 +41149,16 @@ var XE2 = j({
41163
41149
  const o2 = 1e3;
41164
41150
  if (!Fn(C1)) return;
41165
41151
  const E2 = performance.now();
41166
- E2 - E > o2 && (y = "", A = 0), y += C1.key.toLowerCase(), E = E2;
41167
- const Y5 = P.value;
41152
+ E2 - E > o2 && (b = "", A = 0), b += C1.key.toLowerCase(), E = E2;
41153
+ const Y5 = B.value;
41168
41154
  function ce() {
41169
41155
  let W1 = _e();
41170
- return W1 || y.at(-1) === y.at(-2) && (y = y.slice(0, -1), A++, W1 = _e(), W1) || (A = 0, W1 = _e(), W1) ? W1 : (y = C1.key.toLowerCase(), _e());
41156
+ return W1 || b.at(-1) === b.at(-2) && (b = b.slice(0, -1), A++, W1 = _e(), W1) || (A = 0, W1 = _e(), W1) ? W1 : (b = C1.key.toLowerCase(), _e());
41171
41157
  }
41172
41158
  function _e() {
41173
41159
  for (let W1 = A; W1 < Y5.length; W1++) {
41174
41160
  const l5 = Y5[W1];
41175
- if (l5.title.toLowerCase().startsWith(y)) return [l5, W1];
41161
+ if (l5.title.toLowerCase().startsWith(b)) return [l5, W1];
41176
41162
  }
41177
41163
  }
41178
41164
  const T5 = ce();
@@ -41191,21 +41177,21 @@ var XE2 = j({
41191
41177
  } else Y5 && (u.value = [...u.value, C1]);
41192
41178
  } else
41193
41179
  u.value = o2 !== !1 ? [C1] : [], a2(() => {
41194
- B.value = !1;
41180
+ P.value = !1;
41195
41181
  });
41196
41182
  }
41197
41183
  function K(C1) {
41198
41184
  const o2 = C1.target;
41199
- a.value?.$el.contains(o2) || (B.value = !1);
41185
+ a.value?.$el.contains(o2) || (P.value = !1);
41200
41186
  }
41201
41187
  function P1() {
41202
- return P.value.findIndex((C1) => u.value.some((o2) => (e.valueComparator || A5)(o2.value, C1.value)));
41188
+ return B.value.findIndex((C1) => u.value.some((o2) => (e.valueComparator || A5)(o2.value, C1.value)));
41203
41189
  }
41204
41190
  function N1() {
41205
41191
  if (!u.value.length) return -1;
41206
41192
  const C1 = e.valueComparator || A5;
41207
41193
  let o2 = 0;
41208
- for (const E2 of P.value) {
41194
+ for (const E2 of B.value) {
41209
41195
  if (u.value.some((Y5) => C1(Y5.value, E2.value))) return E2.props.disabled ? -1 : o2;
41210
41196
  E2.props.disabled || o2++;
41211
41197
  }
@@ -41236,17 +41222,17 @@ var XE2 = j({
41236
41222
  o2 && x1(o2);
41237
41223
  } else a.value && (a.value.value = "");
41238
41224
  }
41239
- return L1(B, () => {
41240
- if (!e.hideSelected && B.value && u.value.length) {
41225
+ return L1(P, () => {
41226
+ if (!e.hideSelected && P.value && u.value.length) {
41241
41227
  const C1 = P1();
41242
41228
  k2 && !e.noAutoScroll && window.requestAnimationFrame(() => {
41243
41229
  C1 >= 0 && l.value?.scrollToIndex(C1);
41244
41230
  });
41245
41231
  }
41246
41232
  }), L1(C, (C1, o2) => {
41247
- B.value || h.value && e.hideNoData && !o2.length && C1.length && (B.value = !0);
41233
+ P.value || h.value && e.hideNoData && !o2.length && C1.length && (P.value = !0);
41248
41234
  }), S1(() => {
41249
- const C1 = !!(e.chips || i.chip), o2 = !!(!e.hideNoData || P.value.length || i["prepend-item"] || i["append-item"] || i["no-data"]), E2 = u.value.length > 0, Y5 = K2.filterProps(e), ce = E2 || !h.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder, _e = {
41235
+ const C1 = !!(e.chips || i.chip), o2 = !!(!e.hideNoData || B.value.length || i["prepend-item"] || i["append-item"] || i["no-data"]), E2 = u.value.length > 0, Y5 = K2.filterProps(e), ce = E2 || !h.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder, _e = {
41250
41236
  search: d,
41251
41237
  filteredItems: c.value
41252
41238
  };
@@ -41262,7 +41248,7 @@ var XE2 = j({
41262
41248
  class: [
41263
41249
  "v-select",
41264
41250
  {
41265
- "v-select--active-menu": B.value,
41251
+ "v-select--active-menu": P.value,
41266
41252
  "v-select--chips": !!e.chips,
41267
41253
  [`v-select--${e.multiple ? "multiple" : "single"}`]: !0,
41268
41254
  "v-select--selected": u.value.length,
@@ -41296,8 +41282,8 @@ var XE2 = j({
41296
41282
  M(L5, V1({
41297
41283
  id: x.value,
41298
41284
  ref: n,
41299
- modelValue: B.value,
41300
- "onUpdate:modelValue": (i2) => B.value = i2,
41285
+ modelValue: P.value,
41286
+ "onUpdate:modelValue": (i2) => P.value = i2,
41301
41287
  activator: "parent",
41302
41288
  disabled: T.value,
41303
41289
  eager: e.eager,
@@ -41319,21 +41305,21 @@ var XE2 = j({
41319
41305
  selected: g.value,
41320
41306
  selectStrategy: e.multiple ? "independent" : "single-independent",
41321
41307
  tabindex: "-1",
41322
- selectable: !!P.value.length,
41308
+ selectable: !!B.value.length,
41323
41309
  "aria-live": "polite",
41324
41310
  "aria-labelledby": `${Le.value}-label`,
41325
41311
  "aria-multiselectable": e.multiple,
41326
41312
  color: e.itemColor ?? e.color
41327
41313
  }, r1, e.listProps), { default: () => [
41328
41314
  i["prepend-item"]?.(),
41329
- !P.value.length && !e.hideNoData && (i["no-data"]?.() ?? M(d2, {
41315
+ !B.value.length && !e.hideNoData && (i["no-data"]?.() ?? M(d2, {
41330
41316
  key: "no-data",
41331
41317
  title: r(e.noDataText)
41332
41318
  }, null)),
41333
41319
  M(zE2, {
41334
41320
  ref: l,
41335
41321
  renderless: !0,
41336
- items: P.value,
41322
+ items: B.value,
41337
41323
  itemKey: "value"
41338
41324
  }, { default: (i2) => {
41339
41325
  let { item: W1, index: l5, itemRef: z5 } = i2;
@@ -41342,7 +41328,7 @@ var XE2 = j({
41342
41328
  key: W1.value,
41343
41329
  onClick: () => x1(W1, null),
41344
41330
  "aria-posinset": l5 + 1,
41345
- "aria-setsize": P.value.length
41331
+ "aria-setsize": B.value.length
41346
41332
  });
41347
41333
  return W1.type === "divider" ? i.divider?.({
41348
41334
  props: W1.raw,
@@ -41440,7 +41426,7 @@ var XE2 = j({
41440
41426
  });
41441
41427
  }), s0({
41442
41428
  isFocused: h,
41443
- menu: B,
41429
+ menu: P,
41444
41430
  search: d,
41445
41431
  filteredItems: c,
41446
41432
  select: x1
@@ -41531,11 +41517,11 @@ var XE2 = j({
41531
41517
  ref: l,
41532
41518
  module: "link"
41533
41519
  }, {
41534
- content: b(() => [M(l0, null, {
41535
- default: b(() => [M(ee, null, {
41536
- default: b(() => [
41520
+ content: y(() => [M(l0, null, {
41521
+ default: y(() => [M(ee, null, {
41522
+ default: y(() => [
41537
41523
  M(V2, { cols: "12" }, {
41538
- default: b(() => [M(K2, {
41524
+ default: y(() => [M(K2, {
41539
41525
  modelValue: o.value.href,
41540
41526
  "onUpdate:modelValue": u[0] || (u[0] = (m) => o.value.href = m),
41541
41527
  density: "compact",
@@ -41554,7 +41540,7 @@ var XE2 = j({
41554
41540
  cols: "12",
41555
41541
  md: "4"
41556
41542
  }, {
41557
- default: b(() => [M(po, {
41543
+ default: y(() => [M(po, {
41558
41544
  modelValue: o.value.target,
41559
41545
  "onUpdate:modelValue": u[1] || (u[1] = (m) => o.value.target = m),
41560
41546
  items: n.value,
@@ -41573,7 +41559,7 @@ var XE2 = j({
41573
41559
  cols: "12",
41574
41560
  md: "8"
41575
41561
  }, {
41576
- default: b(() => [M(K2, {
41562
+ default: y(() => [M(K2, {
41577
41563
  modelValue: o.value.cssClass,
41578
41564
  "onUpdate:modelValue": u[2] || (u[2] = (m) => o.value.cssClass = m),
41579
41565
  density: "compact",
@@ -41583,7 +41569,7 @@ var XE2 = j({
41583
41569
  _: 1
41584
41570
  }),
41585
41571
  M(V2, { cols: "12" }, {
41586
- default: b(() => [M(po, {
41572
+ default: y(() => [M(po, {
41587
41573
  modelValue: o.value.rel,
41588
41574
  "onUpdate:modelValue": u[3] || (u[3] = (m) => o.value.rel = m),
41589
41575
  items: a,
@@ -41602,27 +41588,27 @@ var XE2 = j({
41602
41588
  })]),
41603
41589
  _: 1
41604
41590
  })]),
41605
- actions: b(() => [M(P0, null, {
41606
- default: b(() => [M(ee, null, {
41607
- default: b(() => [M(V2, { class: "d-flex justify-start" }, {
41608
- default: b(() => [S(t).isActive("link") ? (D(), d1(s1, {
41591
+ actions: y(() => [M(P0, null, {
41592
+ default: y(() => [M(ee, null, {
41593
+ default: y(() => [M(V2, { class: "d-flex justify-start" }, {
41594
+ default: y(() => [S(t).isActive("link") ? (D(), d1(s1, {
41609
41595
  key: 0,
41610
41596
  color: "warning",
41611
41597
  variant: e.variantBtn,
41612
41598
  disabled: C.value,
41613
41599
  onClick: V
41614
41600
  }, {
41615
- default: b(() => [e1($(S(i)("dialog.clear")), 1)]),
41601
+ default: y(() => [e1($(S(i)("dialog.clear")), 1)]),
41616
41602
  _: 1
41617
41603
  }, 8, ["variant", "disabled"])) : b2("", !0)]),
41618
41604
  _: 1
41619
41605
  }), M(V2, { class: "d-flex justify-end" }, {
41620
- default: b(() => [M(s1, {
41606
+ default: y(() => [M(s1, {
41621
41607
  variant: e.variantBtn,
41622
41608
  class: "mr-2",
41623
41609
  onClick: d
41624
41610
  }, {
41625
- default: b(() => [e1($(S(i)("dialog.close")), 1)]),
41611
+ default: y(() => [e1($(S(i)("dialog.close")), 1)]),
41626
41612
  _: 1
41627
41613
  }, 8, ["variant"]), M(s1, {
41628
41614
  color: "primary",
@@ -41630,7 +41616,7 @@ var XE2 = j({
41630
41616
  disabled: C.value || s.value,
41631
41617
  onClick: H
41632
41618
  }, {
41633
- default: b(() => [e1($(S(i)("dialog.apply")), 1)]),
41619
+ default: y(() => [e1($(S(i)("dialog.apply")), 1)]),
41634
41620
  _: 1
41635
41621
  }, 8, ["variant", "disabled"])]),
41636
41622
  _: 1
@@ -41658,8 +41644,8 @@ var XE2 = j({
41658
41644
  size: "32",
41659
41645
  onClick: n[0] || (n[0] = (o) => S(t).commands.showLink())
41660
41646
  }, {
41661
- default: b(() => [M(v1, { activator: "parent" }, {
41662
- default: b(() => [e1($(S(i)("media.link")), 1)]),
41647
+ default: y(() => [M(v1, { activator: "parent" }, {
41648
+ default: y(() => [e1($(S(i)("media.link")), 1)]),
41663
41649
  _: 1
41664
41650
  }), M(y1, { icon: r.value }, null, 8, ["icon"])]),
41665
41651
  _: 1
@@ -41731,8 +41717,8 @@ var XE2 = j({
41731
41717
  module: "image",
41732
41718
  "max-width": 800
41733
41719
  }, {
41734
- content: b(() => [M(l0, null, {
41735
- default: b(() => [
41720
+ content: y(() => [M(l0, null, {
41721
+ default: y(() => [
41736
41722
  w("div", nx2, [w("div", null, [M(K2, {
41737
41723
  modelValue: a.value.src,
41738
41724
  "onUpdate:modelValue": m[0] || (m[0] = (p) => a.value.src = p),
@@ -41777,8 +41763,8 @@ var XE2 = j({
41777
41763
  variant: e.variantBtn,
41778
41764
  onClick: m[8] || (m[8] = (p) => s.value = !s.value)
41779
41765
  }, {
41780
- default: b(() => [M(q1, { icon: s.value ? `mdiSvg:${JC}` : `mdiSvg:${YC}` }, null, 8, ["icon"]), M(v1, { activator: "parent" }, {
41781
- default: b(() => [e1($(S(i)("dialog.image.keep_ratio")), 1)]),
41766
+ default: y(() => [M(q1, { icon: s.value ? `mdiSvg:${JC}` : `mdiSvg:${YC}` }, null, 8, ["icon"]), M(v1, { activator: "parent" }, {
41767
+ default: y(() => [e1($(S(i)("dialog.image.keep_ratio")), 1)]),
41782
41768
  _: 1
41783
41769
  })]),
41784
41770
  _: 1
@@ -41790,27 +41776,27 @@ var XE2 = j({
41790
41776
  ]),
41791
41777
  _: 1
41792
41778
  })]),
41793
- actions: b(() => [M(P0, null, {
41794
- default: b(() => [M(ee, null, {
41795
- default: b(() => [M(V2, { class: "d-flex justify-start" }, {
41796
- default: b(() => [S(t).isActive("image") ? (D(), d1(s1, {
41779
+ actions: y(() => [M(P0, null, {
41780
+ default: y(() => [M(ee, null, {
41781
+ default: y(() => [M(V2, { class: "d-flex justify-start" }, {
41782
+ default: y(() => [S(t).isActive("image") ? (D(), d1(s1, {
41797
41783
  key: 0,
41798
41784
  color: "warning",
41799
41785
  variant: e.variantBtn,
41800
41786
  disabled: o.value,
41801
41787
  onClick: d
41802
41788
  }, {
41803
- default: b(() => [e1($(S(i)("dialog.clear")), 1)]),
41789
+ default: y(() => [e1($(S(i)("dialog.clear")), 1)]),
41804
41790
  _: 1
41805
41791
  }, 8, ["variant", "disabled"])) : b2("", !0)]),
41806
41792
  _: 1
41807
41793
  }), M(V2, { class: "d-flex justify-end" }, {
41808
- default: b(() => [M(s1, {
41794
+ default: y(() => [M(s1, {
41809
41795
  variant: e.variantBtn,
41810
41796
  class: "mr-2",
41811
41797
  onClick: c
41812
41798
  }, {
41813
- default: b(() => [e1($(S(i)("dialog.close")), 1)]),
41799
+ default: y(() => [e1($(S(i)("dialog.close")), 1)]),
41814
41800
  _: 1
41815
41801
  }, 8, ["variant"]), M(s1, {
41816
41802
  color: "primary",
@@ -41818,7 +41804,7 @@ var XE2 = j({
41818
41804
  disabled: o.value,
41819
41805
  onClick: V
41820
41806
  }, {
41821
- default: b(() => [e1($(S(i)("dialog.apply")), 1)]),
41807
+ default: y(() => [e1($(S(i)("dialog.apply")), 1)]),
41822
41808
  _: 1
41823
41809
  }, 8, ["variant", "disabled"])]),
41824
41810
  _: 1
@@ -41846,8 +41832,8 @@ var XE2 = j({
41846
41832
  size: "32",
41847
41833
  onClick: a[0] || (a[0] = (n) => S(t).commands.showTiptapifyImage())
41848
41834
  }, {
41849
- default: b(() => [M(v1, { activator: "parent" }, {
41850
- default: b(() => [e1($(S(i)("media.image")), 1)]),
41835
+ default: y(() => [M(v1, { activator: "parent" }, {
41836
+ default: y(() => [e1($(S(i)("media.image")), 1)]),
41851
41837
  _: 1
41852
41838
  }), M(y1, { icon: `mdiSvg:${QC}` }, null, 8, ["icon"])]),
41853
41839
  _: 1
@@ -41902,26 +41888,26 @@ var XE2 = j({
41902
41888
  }), {
41903
41889
  ...r,
41904
41890
  default: (k) => {
41905
- let { id: y, messagesId: A, isDisabled: E, isReadonly: P, isValid: T } = k;
41891
+ let { id: b, messagesId: A, isDisabled: E, isReadonly: B, isValid: T } = k;
41906
41892
  const F = {
41907
41893
  model: n,
41908
41894
  isValid: T
41909
41895
  };
41910
41896
  return M(Kt, V1({ ref: H }, v, {
41911
41897
  modelValue: n.value,
41912
- "onUpdate:modelValue": [(B) => n.value = B, m],
41913
- id: y.value,
41898
+ "onUpdate:modelValue": [(P) => n.value = P, m],
41899
+ id: b.value,
41914
41900
  "aria-describedby": A.value,
41915
41901
  type: "checkbox",
41916
41902
  "aria-checked": a.value ? "mixed" : void 0,
41917
41903
  disabled: E.value,
41918
- readonly: P.value,
41904
+ readonly: B.value,
41919
41905
  onFocus: l,
41920
41906
  onBlur: C
41921
41907
  }, g), {
41922
41908
  ...r,
41923
- default: (B) => {
41924
- let { backgroundColorClasses: x, backgroundColorStyles: R } = B;
41909
+ default: (P) => {
41910
+ let { backgroundColorClasses: x, backgroundColorStyles: R } = P;
41925
41911
  return w("div", {
41926
41912
  class: a1(["v-switch__track", d ? void 0 : x.value]),
41927
41913
  style: O1(R.value),
@@ -41934,8 +41920,8 @@ var XE2 = j({
41934
41920
  class: "v-switch__track-false"
41935
41921
  }, [r["track-false"](F)])]);
41936
41922
  },
41937
- input: (B) => {
41938
- let { inputNode: x, icon: R, backgroundColorClasses: X, backgroundColorStyles: W } = B;
41923
+ input: (P) => {
41924
+ let { inputNode: x, icon: R, backgroundColorClasses: X, backgroundColorStyles: W } = P;
41939
41925
  return w(H1, null, [x, w("div", {
41940
41926
  class: a1([
41941
41927
  "v-switch__thumb",
@@ -42027,11 +42013,11 @@ var XE2 = j({
42027
42013
  title: S(r)("dialog.iframe.dialog_title"),
42028
42014
  "max-width": 800
42029
42015
  }, {
42030
- content: b(() => [M(l0, null, {
42031
- default: b(() => [M(ee, null, {
42032
- default: b(() => [
42016
+ content: y(() => [M(l0, null, {
42017
+ default: y(() => [M(ee, null, {
42018
+ default: y(() => [
42033
42019
  M(V2, { cols: "12" }, {
42034
- default: b(() => [M(K2, {
42020
+ default: y(() => [M(K2, {
42035
42021
  modelValue: n.value.src,
42036
42022
  "onUpdate:modelValue": L[0] || (L[0] = (u) => n.value.src = u),
42037
42023
  density: "compact",
@@ -42049,9 +42035,9 @@ var XE2 = j({
42049
42035
  cols: "12",
42050
42036
  md: "6"
42051
42037
  }, {
42052
- default: b(() => [M(ee, null, {
42053
- default: b(() => [M(V2, { cols: "12" }, {
42054
- default: b(() => [M(K2, {
42038
+ default: y(() => [M(ee, null, {
42039
+ default: y(() => [M(V2, { cols: "12" }, {
42040
+ default: y(() => [M(K2, {
42055
42041
  modelValue: n.value.name,
42056
42042
  "onUpdate:modelValue": L[1] || (L[1] = (u) => n.value.name = u),
42057
42043
  density: "compact",
@@ -42060,7 +42046,7 @@ var XE2 = j({
42060
42046
  }, null, 8, ["modelValue", "label"])]),
42061
42047
  _: 1
42062
42048
  }), M(V2, { cols: "12" }, {
42063
- default: b(() => [M(K2, {
42049
+ default: y(() => [M(K2, {
42064
42050
  modelValue: n.value.title,
42065
42051
  "onUpdate:modelValue": L[2] || (L[2] = (u) => n.value.title = u),
42066
42052
  density: "compact",
@@ -42077,13 +42063,13 @@ var XE2 = j({
42077
42063
  cols: "12",
42078
42064
  md: "6"
42079
42065
  }, {
42080
- default: b(() => [M(ee, null, {
42081
- default: b(() => [
42066
+ default: y(() => [M(ee, null, {
42067
+ default: y(() => [
42082
42068
  M(V2, {
42083
42069
  cols: "12",
42084
42070
  md: "6"
42085
42071
  }, {
42086
- default: b(() => [M(K2, {
42072
+ default: y(() => [M(K2, {
42087
42073
  modelValue: n.value.width,
42088
42074
  "onUpdate:modelValue": L[3] || (L[3] = (u) => n.value.width = u),
42089
42075
  type: "number",
@@ -42099,7 +42085,7 @@ var XE2 = j({
42099
42085
  cols: "12",
42100
42086
  md: "6"
42101
42087
  }, {
42102
- default: b(() => [M(K2, {
42088
+ default: y(() => [M(K2, {
42103
42089
  modelValue: n.value.height,
42104
42090
  "onUpdate:modelValue": L[4] || (L[4] = (u) => n.value.height = u),
42105
42091
  type: "number",
@@ -42115,7 +42101,7 @@ var XE2 = j({
42115
42101
  cols: "12",
42116
42102
  class: "ml-2"
42117
42103
  }, {
42118
- default: b(() => [M(ux2, {
42104
+ default: y(() => [M(ux2, {
42119
42105
  modelValue: n.value.frameborder,
42120
42106
  "onUpdate:modelValue": L[5] || (L[5] = (u) => n.value.frameborder = u),
42121
42107
  density: "compact",
@@ -42134,27 +42120,27 @@ var XE2 = j({
42134
42120
  })]),
42135
42121
  _: 1
42136
42122
  })]),
42137
- actions: b(() => [M(P0, null, {
42138
- default: b(() => [M(ee, null, {
42139
- default: b(() => [M(V2, { class: "d-flex justify-start" }, {
42140
- default: b(() => [S(i).isActive("image") ? (D(), d1(s1, {
42123
+ actions: y(() => [M(P0, null, {
42124
+ default: y(() => [M(ee, null, {
42125
+ default: y(() => [M(V2, { class: "d-flex justify-start" }, {
42126
+ default: y(() => [S(i).isActive("image") ? (D(), d1(s1, {
42141
42127
  key: 0,
42142
42128
  color: "warning",
42143
42129
  variant: e.variantBtn,
42144
42130
  disabled: l.value,
42145
42131
  onClick: H
42146
42132
  }, {
42147
- default: b(() => [e1($(S(r)("dialog.clear")), 1)]),
42133
+ default: y(() => [e1($(S(r)("dialog.clear")), 1)]),
42148
42134
  _: 1
42149
42135
  }, 8, ["variant", "disabled"])) : b2("", !0)]),
42150
42136
  _: 1
42151
42137
  }), M(V2, { class: "d-flex justify-end" }, {
42152
- default: b(() => [M(s1, {
42138
+ default: y(() => [M(s1, {
42153
42139
  variant: e.variantBtn,
42154
42140
  class: "mr-2",
42155
42141
  onClick: V
42156
42142
  }, {
42157
- default: b(() => [e1($(S(r)("dialog.close")), 1)]),
42143
+ default: y(() => [e1($(S(r)("dialog.close")), 1)]),
42158
42144
  _: 1
42159
42145
  }, 8, ["variant"]), M(s1, {
42160
42146
  color: "primary",
@@ -42162,7 +42148,7 @@ var XE2 = j({
42162
42148
  disabled: l.value,
42163
42149
  onClick: C
42164
42150
  }, {
42165
- default: b(() => [e1($(S(r)("dialog.apply")), 1)]),
42151
+ default: y(() => [e1($(S(r)("dialog.apply")), 1)]),
42166
42152
  _: 1
42167
42153
  }, 8, ["variant", "disabled"])]),
42168
42154
  _: 1
@@ -42190,8 +42176,8 @@ var XE2 = j({
42190
42176
  size: "32",
42191
42177
  onClick: n[0] || (n[0] = (o) => r.value?.open())
42192
42178
  }, {
42193
- default: b(() => [M(v1, { activator: "parent" }, {
42194
- default: b(() => [e1($(S(i)("media.iframe")), 1)]),
42179
+ default: y(() => [M(v1, { activator: "parent" }, {
42180
+ default: y(() => [e1($(S(i)("media.iframe")), 1)]),
42195
42181
  _: 1
42196
42182
  }), M(y1, { icon: px2 })]),
42197
42183
  _: 1
@@ -42210,15 +42196,15 @@ var XE2 = j({
42210
42196
  "open-on-hover": "",
42211
42197
  "open-on-click": ""
42212
42198
  }, {
42213
- default: b(() => [M(C0, null, {
42214
- default: b(() => [
42199
+ default: y(() => [M(C0, null, {
42200
+ default: y(() => [
42215
42201
  M(d2, {
42216
42202
  link: "",
42217
42203
  disabled: !r(),
42218
42204
  onClick: s[0] || (s[0] = (l) => S(t).chain().focus().addColumnBefore().run())
42219
42205
  }, {
42220
- default: b(() => [M(v1, { activator: "parent" }, {
42221
- default: b(() => [e1($(S(i)("media.tables.insertColBefore")), 1)]),
42206
+ default: y(() => [M(v1, { activator: "parent" }, {
42207
+ default: y(() => [e1($(S(i)("media.tables.insertColBefore")), 1)]),
42222
42208
  _: 1
42223
42209
  }), M(y1, { icon: `mdiSvg:${aH}` }, null, 8, ["icon"])]),
42224
42210
  _: 1
@@ -42228,8 +42214,8 @@ var XE2 = j({
42228
42214
  disabled: !a(),
42229
42215
  onClick: s[1] || (s[1] = (l) => S(t).chain().focus().addColumnAfter().run())
42230
42216
  }, {
42231
- default: b(() => [M(v1, { activator: "parent" }, {
42232
- default: b(() => [e1($(S(i)("media.tables.insertColAfter")), 1)]),
42217
+ default: y(() => [M(v1, { activator: "parent" }, {
42218
+ default: y(() => [e1($(S(i)("media.tables.insertColAfter")), 1)]),
42233
42219
  _: 1
42234
42220
  }), M(y1, { icon: `mdiSvg:${rH}` }, null, 8, ["icon"])]),
42235
42221
  _: 1
@@ -42239,8 +42225,8 @@ var XE2 = j({
42239
42225
  disabled: !n(),
42240
42226
  onClick: s[2] || (s[2] = (l) => S(t).chain().focus().deleteColumn().run())
42241
42227
  }, {
42242
- default: b(() => [M(v1, { activator: "parent" }, {
42243
- default: b(() => [e1($(S(i)("media.tables.deleteCol")), 1)]),
42228
+ default: y(() => [M(v1, { activator: "parent" }, {
42229
+ default: y(() => [e1($(S(i)("media.tables.deleteCol")), 1)]),
42244
42230
  _: 1
42245
42231
  }), M(y1, { icon: `mdiSvg:${nH}` }, null, 8, ["icon"])]),
42246
42232
  _: 1
@@ -42261,15 +42247,15 @@ var XE2 = j({
42261
42247
  "open-on-hover": "",
42262
42248
  "open-on-click": ""
42263
42249
  }, {
42264
- default: b(() => [M(C0, null, {
42265
- default: b(() => [
42250
+ default: y(() => [M(C0, null, {
42251
+ default: y(() => [
42266
42252
  M(d2, {
42267
42253
  link: "",
42268
42254
  disabled: !r(),
42269
42255
  onClick: s[0] || (s[0] = (l) => S(t).chain().focus().addRowBefore().run())
42270
42256
  }, {
42271
- default: b(() => [M(v1, { activator: "parent" }, {
42272
- default: b(() => [e1($(S(i)("media.tables.insertRowBefore")), 1)]),
42257
+ default: y(() => [M(v1, { activator: "parent" }, {
42258
+ default: y(() => [e1($(S(i)("media.tables.insertRowBefore")), 1)]),
42273
42259
  _: 1
42274
42260
  }), M(y1, { icon: `mdiSvg:${VH}` }, null, 8, ["icon"])]),
42275
42261
  _: 1
@@ -42279,8 +42265,8 @@ var XE2 = j({
42279
42265
  disabled: !a(),
42280
42266
  onClick: s[1] || (s[1] = (l) => S(t).chain().focus().addRowAfter().run())
42281
42267
  }, {
42282
- default: b(() => [M(v1, { activator: "parent" }, {
42283
- default: b(() => [e1($(S(i)("media.tables.insertRowAfter")), 1)]),
42268
+ default: y(() => [M(v1, { activator: "parent" }, {
42269
+ default: y(() => [e1($(S(i)("media.tables.insertRowAfter")), 1)]),
42284
42270
  _: 1
42285
42271
  }), M(y1, { icon: `mdiSvg:${HH}` }, null, 8, ["icon"])]),
42286
42272
  _: 1
@@ -42290,8 +42276,8 @@ var XE2 = j({
42290
42276
  disabled: !n(),
42291
42277
  onClick: s[2] || (s[2] = (l) => S(t).chain().focus().deleteRow().run())
42292
42278
  }, {
42293
- default: b(() => [M(v1, { activator: "parent" }, {
42294
- default: b(() => [e1($(S(i)("media.tables.deleteRow")), 1)]),
42279
+ default: y(() => [M(v1, { activator: "parent" }, {
42280
+ default: y(() => [e1($(S(i)("media.tables.deleteRow")), 1)]),
42295
42281
  _: 1
42296
42282
  }), M(y1, { icon: `mdiSvg:${dH}` }, null, 8, ["icon"])]),
42297
42283
  _: 1
@@ -42336,7 +42322,7 @@ var XE2 = j({
42336
42322
  return l.value && s.value ? `${l.value} x ${s.value}` : "";
42337
42323
  }
42338
42324
  return (c, L) => (D(), d1(H3, { class: "pa-2" }, {
42339
- default: b(() => [
42325
+ default: y(() => [
42340
42326
  M(EE2, {
42341
42327
  modelValue: o.value,
42342
42328
  "onUpdate:modelValue": L[0] || (L[0] = (u) => o.value = u),
@@ -42376,7 +42362,7 @@ var XE2 = j({
42376
42362
  variant: e.variantBtn,
42377
42363
  size: "32"
42378
42364
  }, {
42379
- default: b(() => [M(y1, { icon: `mdiSvg:${tH}` }, null, 8, ["icon"])]),
42365
+ default: y(() => [M(y1, { icon: `mdiSvg:${tH}` }, null, 8, ["icon"])]),
42380
42366
  _: 1
42381
42367
  }, 8, [
42382
42368
  "id",
@@ -42387,16 +42373,16 @@ var XE2 = j({
42387
42373
  activator: `#tiptapify-table-button-${S(t).instanceId}`,
42388
42374
  "close-on-content-click": !1
42389
42375
  }, {
42390
- default: b(() => [M(C0, { density: "compact" }, {
42391
- default: b(() => [
42376
+ default: y(() => [M(C0, { density: "compact" }, {
42377
+ default: y(() => [
42392
42378
  M(d2, { link: "" }, {
42393
- default: b(() => [
42379
+ default: y(() => [
42394
42380
  M(v1, { activator: "parent" }, {
42395
- default: b(() => [e1($(S(i)("media.tables.insertTable")), 1)]),
42381
+ default: y(() => [e1($(S(i)("media.tables.insertTable")), 1)]),
42396
42382
  _: 1
42397
42383
  }),
42398
42384
  M(X2, { class: "d-flex justify-center align-center" }, {
42399
- default: b(() => [M(y1, { icon: `mdiSvg:${lH}` }, null, 8, ["icon"])]),
42385
+ default: y(() => [M(y1, { icon: `mdiSvg:${lH}` }, null, 8, ["icon"])]),
42400
42386
  _: 1
42401
42387
  }),
42402
42388
  M(L5, {
@@ -42407,7 +42393,7 @@ var XE2 = j({
42407
42393
  "close-on-content-click": !1,
42408
42394
  disabled: !S(t).can().chain().focus().insertTable().run()
42409
42395
  }, {
42410
- default: b(() => [M(Ox2)]),
42396
+ default: y(() => [M(Ox2)]),
42411
42397
  _: 1
42412
42398
  }, 8, ["disabled"])
42413
42399
  ]),
@@ -42418,11 +42404,11 @@ var XE2 = j({
42418
42404
  disabled: !S(t).can().chain().focus().deleteTable().run(),
42419
42405
  onClick: o[0] || (o[0] = (s) => S(t).chain().focus().deleteTable().run())
42420
42406
  }, {
42421
- default: b(() => [M(v1, { activator: "parent" }, {
42422
- default: b(() => [e1($(S(i)("media.tables.deleteTable")), 1)]),
42407
+ default: y(() => [M(v1, { activator: "parent" }, {
42408
+ default: y(() => [e1($(S(i)("media.tables.deleteTable")), 1)]),
42423
42409
  _: 1
42424
42410
  }), M(X2, { class: "d-flex justify-center align-center" }, {
42425
- default: b(() => [M(y1, { icon: `mdiSvg:${sH}` }, null, 8, ["icon"])]),
42411
+ default: y(() => [M(y1, { icon: `mdiSvg:${sH}` }, null, 8, ["icon"])]),
42426
42412
  _: 1
42427
42413
  })]),
42428
42414
  _: 1
@@ -42431,13 +42417,13 @@ var XE2 = j({
42431
42417
  link: "",
42432
42418
  disabled: r()
42433
42419
  }, {
42434
- default: b(() => [
42420
+ default: y(() => [
42435
42421
  M(v1, { activator: "parent" }, {
42436
- default: b(() => [e1($(S(i)("media.tables.row")), 1)]),
42422
+ default: y(() => [e1($(S(i)("media.tables.row")), 1)]),
42437
42423
  _: 1
42438
42424
  }),
42439
42425
  M(X2, { class: "d-flex justify-center align-center" }, {
42440
- default: b(() => [M(y1, { icon: `mdiSvg:${CH}` }, null, 8, ["icon"])]),
42426
+ default: y(() => [M(y1, { icon: `mdiSvg:${CH}` }, null, 8, ["icon"])]),
42441
42427
  _: 1
42442
42428
  }),
42443
42429
  M(bx2)
@@ -42448,13 +42434,13 @@ var XE2 = j({
42448
42434
  link: "",
42449
42435
  disabled: a()
42450
42436
  }, {
42451
- default: b(() => [
42437
+ default: y(() => [
42452
42438
  M(v1, { activator: "parent" }, {
42453
- default: b(() => [e1($(S(i)("media.tables.col")), 1)]),
42439
+ default: y(() => [e1($(S(i)("media.tables.col")), 1)]),
42454
42440
  _: 1
42455
42441
  }),
42456
42442
  M(X2, { class: "d-flex justify-center align-center" }, {
42457
- default: b(() => [M(y1, { icon: `mdiSvg:${iH}` }, null, 8, ["icon"])]),
42443
+ default: y(() => [M(y1, { icon: `mdiSvg:${iH}` }, null, 8, ["icon"])]),
42458
42444
  _: 1
42459
42445
  }),
42460
42446
  M(Ax2)
@@ -42466,11 +42452,11 @@ var XE2 = j({
42466
42452
  disabled: !S(t).can().chain().focus().mergeCells().run(),
42467
42453
  onClick: o[1] || (o[1] = (s) => S(t).chain().focus().mergeCells().run())
42468
42454
  }, {
42469
- default: b(() => [M(v1, { activator: "parent" }, {
42470
- default: b(() => [e1($(S(i)("media.tables.mergeCells")), 1)]),
42455
+ default: y(() => [M(v1, { activator: "parent" }, {
42456
+ default: y(() => [e1($(S(i)("media.tables.mergeCells")), 1)]),
42471
42457
  _: 1
42472
42458
  }), M(X2, { class: "d-flex justify-center align-center" }, {
42473
- default: b(() => [M(y1, { icon: `mdiSvg:${oH}` }, null, 8, ["icon"])]),
42459
+ default: y(() => [M(y1, { icon: `mdiSvg:${oH}` }, null, 8, ["icon"])]),
42474
42460
  _: 1
42475
42461
  })]),
42476
42462
  _: 1
@@ -42480,11 +42466,11 @@ var XE2 = j({
42480
42466
  disabled: !S(t).can().chain().focus().splitCell().run(),
42481
42467
  onClick: o[2] || (o[2] = (s) => S(t).chain().focus().splitCell().run())
42482
42468
  }, {
42483
- default: b(() => [M(v1, { activator: "parent" }, {
42484
- default: b(() => [e1($(S(i)("media.tables.splitCell")), 1)]),
42469
+ default: y(() => [M(v1, { activator: "parent" }, {
42470
+ default: y(() => [e1($(S(i)("media.tables.splitCell")), 1)]),
42485
42471
  _: 1
42486
42472
  }), M(X2, { class: "d-flex justify-center align-center" }, {
42487
- default: b(() => [M(y1, { icon: `mdiSvg:${cH}` }, null, 8, ["icon"])]),
42473
+ default: y(() => [M(y1, { icon: `mdiSvg:${cH}` }, null, 8, ["icon"])]),
42488
42474
  _: 1
42489
42475
  })]),
42490
42476
  _: 1
@@ -42544,11 +42530,11 @@ var XE2 = j({
42544
42530
  module: "video",
42545
42531
  "max-width": 800
42546
42532
  }, {
42547
- content: b(() => [M(l0, null, {
42548
- default: b(() => [M(ee, null, {
42549
- default: b(() => [
42533
+ content: y(() => [M(l0, null, {
42534
+ default: y(() => [M(ee, null, {
42535
+ default: y(() => [
42550
42536
  M(V2, { cols: "12" }, {
42551
- default: b(() => [M(K2, {
42537
+ default: y(() => [M(K2, {
42552
42538
  modelValue: a.value.src,
42553
42539
  "onUpdate:modelValue": d[0] || (d[0] = (c) => a.value.src = c),
42554
42540
  density: "compact",
@@ -42561,7 +42547,7 @@ var XE2 = j({
42561
42547
  cols: "12",
42562
42548
  md: "3"
42563
42549
  }, {
42564
- default: b(() => [M(K2, {
42550
+ default: y(() => [M(K2, {
42565
42551
  modelValue: a.value.width,
42566
42552
  "onUpdate:modelValue": d[1] || (d[1] = (c) => a.value.width = c),
42567
42553
  type: "number",
@@ -42577,7 +42563,7 @@ var XE2 = j({
42577
42563
  cols: "12",
42578
42564
  md: "3"
42579
42565
  }, {
42580
- default: b(() => [M(K2, {
42566
+ default: y(() => [M(K2, {
42581
42567
  modelValue: a.value.height,
42582
42568
  "onUpdate:modelValue": d[2] || (d[2] = (c) => a.value.height = c),
42583
42569
  type: "number",
@@ -42594,27 +42580,27 @@ var XE2 = j({
42594
42580
  })]),
42595
42581
  _: 1
42596
42582
  })]),
42597
- actions: b(() => [M(P0, null, {
42598
- default: b(() => [M(ee, null, {
42599
- default: b(() => [M(V2, { class: "d-flex justify-start" }, {
42600
- default: b(() => [S(t).isActive("image") ? (D(), d1(s1, {
42583
+ actions: y(() => [M(P0, null, {
42584
+ default: y(() => [M(ee, null, {
42585
+ default: y(() => [M(V2, { class: "d-flex justify-start" }, {
42586
+ default: y(() => [S(t).isActive("image") ? (D(), d1(s1, {
42601
42587
  key: 0,
42602
42588
  color: "warning",
42603
42589
  variant: e.variantBtn,
42604
42590
  disabled: o.value,
42605
42591
  onClick: l
42606
42592
  }, {
42607
- default: b(() => [e1($(S(i)("dialog.clear")), 1)]),
42593
+ default: y(() => [e1($(S(i)("dialog.clear")), 1)]),
42608
42594
  _: 1
42609
42595
  }, 8, ["variant", "disabled"])) : b2("", !0)]),
42610
42596
  _: 1
42611
42597
  }), M(V2, { class: "d-flex justify-end" }, {
42612
- default: b(() => [M(s1, {
42598
+ default: y(() => [M(s1, {
42613
42599
  variant: e.variantBtn,
42614
42600
  class: "mr-2",
42615
42601
  onClick: C
42616
42602
  }, {
42617
- default: b(() => [e1($(S(i)("dialog.close")), 1)]),
42603
+ default: y(() => [e1($(S(i)("dialog.close")), 1)]),
42618
42604
  _: 1
42619
42605
  }, 8, ["variant"]), M(s1, {
42620
42606
  color: "primary",
@@ -42622,7 +42608,7 @@ var XE2 = j({
42622
42608
  disabled: o.value,
42623
42609
  onClick: s
42624
42610
  }, {
42625
- default: b(() => [e1($(S(i)("dialog.apply")), 1)]),
42611
+ default: y(() => [e1($(S(i)("dialog.apply")), 1)]),
42626
42612
  _: 1
42627
42613
  }, 8, ["variant", "disabled"])]),
42628
42614
  _: 1
@@ -42650,8 +42636,8 @@ var XE2 = j({
42650
42636
  size: "32",
42651
42637
  onClick: a[0] || (a[0] = (n) => S(t).commands.showTiptapifyVideo())
42652
42638
  }, {
42653
- default: b(() => [M(v1, { activator: "parent" }, {
42654
- default: b(() => [e1($(S(i)("media.video")), 1)]),
42639
+ default: y(() => [M(v1, { activator: "parent" }, {
42640
+ default: y(() => [e1($(S(i)("media.video")), 1)]),
42655
42641
  _: 1
42656
42642
  }), M(y1, { icon: xx2 })]),
42657
42643
  _: 1
@@ -42706,8 +42692,8 @@ var XE2 = j({
42706
42692
  variant: e.variantBtn,
42707
42693
  onClick: a[0] || (a[0] = (n) => S(t).chain().focus().setHorizontalRule().run())
42708
42694
  }, {
42709
- default: b(() => [M(v1, { activator: "parent" }, {
42710
- default: b(() => [e1($(S(i)("format.line")), 1)]),
42695
+ default: y(() => [M(v1, { activator: "parent" }, {
42696
+ default: y(() => [e1($(S(i)("format.line")), 1)]),
42711
42697
  _: 1
42712
42698
  }), M(y1, { icon: `mdiSvg:${XC}` }, null, 8, ["icon"])]),
42713
42699
  _: 1
@@ -42728,8 +42714,8 @@ var XE2 = j({
42728
42714
  variant: e.variantBtn,
42729
42715
  onClick: a[0] || (a[0] = (n) => S(t).chain().focus().setHardBreak().run())
42730
42716
  }, {
42731
- default: b(() => [M(v1, { activator: "parent" }, {
42732
- default: b(() => [e1($(S(i)("format.break")), 1)]),
42717
+ default: y(() => [M(v1, { activator: "parent" }, {
42718
+ default: y(() => [e1($(S(i)("format.break")), 1)]),
42733
42719
  _: 1
42734
42720
  }), M(y1, { icon: `mdiSvg:${WC}` }, null, 8, ["icon"])]),
42735
42721
  _: 1
@@ -42751,8 +42737,8 @@ var XE2 = j({
42751
42737
  variant: e.variantBtn,
42752
42738
  onClick: n[0] || (n[0] = (o) => r.value.open())
42753
42739
  }, {
42754
- default: b(() => [M(v1, { activator: "parent" }, {
42755
- default: b(() => [e1($(S(i)("misc.preview")), 1)]),
42740
+ default: y(() => [M(v1, { activator: "parent" }, {
42741
+ default: y(() => [e1($(S(i)("misc.preview")), 1)]),
42756
42742
  _: 1
42757
42743
  }), M(y1, { icon: `mdiSvg:${kC}` }, null, 8, ["icon"])]),
42758
42744
  _: 1
@@ -42762,8 +42748,8 @@ var XE2 = j({
42762
42748
  module: "preview",
42763
42749
  fullscreen: ""
42764
42750
  }, {
42765
- content: b(() => [M(Wr, null, {
42766
- default: b(() => [w("div", {
42751
+ content: y(() => [M(Wr, null, {
42752
+ default: y(() => [w("div", {
42767
42753
  class: "tiptap",
42768
42754
  innerHTML: S(t).getHTML()
42769
42755
  }, null, 8, Ix2)]),
@@ -42799,8 +42785,8 @@ var XE2 = j({
42799
42785
  variant: e.variantBtn,
42800
42786
  onClick: l[0] || (l[0] = (C) => r.value ? n() : a())
42801
42787
  }, {
42802
- default: b(() => [M(v1, { activator: "parent" }, {
42803
- default: b(() => [e1($(S(i)("misc.fullscreen")), 1)]),
42788
+ default: y(() => [M(v1, { activator: "parent" }, {
42789
+ default: y(() => [e1($(S(i)("misc.fullscreen")), 1)]),
42804
42790
  _: 1
42805
42791
  }), M(y1, { icon: r.value ? `mdiSvg:${qC}` : `mdiSvg:${KC}` }, null, 8, ["icon"])]),
42806
42792
  _: 1
@@ -42810,8 +42796,8 @@ var XE2 = j({
42810
42796
  fullscreen: "",
42811
42797
  onClose: l[2] || (l[2] = (C) => n())
42812
42798
  }, {
42813
- default: b(() => [M(Z4, null, {
42814
- default: b(() => [w("div", { id: `tiptapify-editor-fullscreen-${S(t)?.instanceId}` }, null, 8, Wx2)]),
42799
+ default: y(() => [M(Z4, null, {
42800
+ default: y(() => [w("div", { id: `tiptapify-editor-fullscreen-${S(t)?.instanceId}` }, null, 8, Wx2)]),
42815
42801
  _: 1
42816
42802
  })]),
42817
42803
  _: 1
@@ -42875,20 +42861,20 @@ var XE2 = j({
42875
42861
  module: "source",
42876
42862
  "max-width": 1500
42877
42863
  }, {
42878
- content: b(() => [M(l0, null, {
42879
- default: b(() => [M(cO2, {
42864
+ content: y(() => [M(l0, null, {
42865
+ default: y(() => [M(cO2, {
42880
42866
  fluid: "",
42881
42867
  class: "pt-0 pl-0 pr-0"
42882
42868
  }, {
42883
- default: b(() => [M(ee, null, {
42884
- default: b(() => [M(V2, null, {
42885
- default: b(() => [M(s1, {
42869
+ default: y(() => [M(ee, null, {
42870
+ default: y(() => [M(V2, null, {
42871
+ default: y(() => [M(s1, {
42886
42872
  modelValue: o.value,
42887
42873
  "onUpdate:modelValue": c[0] || (c[0] = (L) => o.value = L),
42888
42874
  color: `${o.value ? "primary" : ""}`,
42889
42875
  onClick: c[1] || (c[1] = (L) => o.value = !o.value)
42890
42876
  }, {
42891
- default: b(() => [e1($(S(r)("dialog.source.prettify")), 1)]),
42877
+ default: y(() => [e1($(S(r)("dialog.source.prettify")), 1)]),
42892
42878
  _: 1
42893
42879
  }, 8, ["modelValue", "color"])]),
42894
42880
  _: 1
@@ -42906,14 +42892,14 @@ var XE2 = j({
42906
42892
  }, null, 8, ["modelValue", "variant"])]),
42907
42893
  _: 1
42908
42894
  })]),
42909
- actions: b(() => [M(P0, null, {
42910
- default: b(() => [
42895
+ actions: y(() => [M(P0, null, {
42896
+ default: y(() => [
42911
42897
  M(Gr),
42912
42898
  M(s1, {
42913
42899
  variant: e.variantBtn,
42914
42900
  onClick: c[3] || (c[3] = (L) => n.value.close())
42915
42901
  }, {
42916
- default: b(() => [e1($(S(r)("dialog.close")), 1)]),
42902
+ default: y(() => [e1($(S(r)("dialog.close")), 1)]),
42917
42903
  _: 1
42918
42904
  }, 8, ["variant"]),
42919
42905
  M(s1, {
@@ -42921,7 +42907,7 @@ var XE2 = j({
42921
42907
  color: "primary",
42922
42908
  onClick: V
42923
42909
  }, {
42924
- default: b(() => [e1($(S(r)("dialog.apply")), 1)]),
42910
+ default: y(() => [e1($(S(r)("dialog.apply")), 1)]),
42925
42911
  _: 1
42926
42912
  }, 8, ["variant"])
42927
42913
  ]),
@@ -42949,8 +42935,8 @@ var XE2 = j({
42949
42935
  variant: e.variantBtn,
42950
42936
  onClick: n[0] || (n[0] = (o) => r())
42951
42937
  }, {
42952
- default: b(() => [M(v1, { activator: "parent" }, {
42953
- default: b(() => [e1($(S(t)("misc.source")), 1)]),
42938
+ default: y(() => [M(v1, { activator: "parent" }, {
42939
+ default: y(() => [e1($(S(t)("misc.source")), 1)]),
42954
42940
  _: 1
42955
42941
  }), M(y1, { icon: `mdiSvg:${bC}` }, null, 8, ["icon"])]),
42956
42942
  _: 1
@@ -42975,8 +42961,8 @@ var XE2 = j({
42975
42961
  size: "32",
42976
42962
  onClick: a[0] || (a[0] = (n) => S(t).commands.toggleInvisibleCharacters())
42977
42963
  }, {
42978
- default: b(() => [M(v1, { activator: "parent" }, {
42979
- default: b(() => [e1($(S(i)("misc.toggleInvisibleCharacters")), 1)]),
42964
+ default: y(() => [M(v1, { activator: "parent" }, {
42965
+ default: y(() => [e1($(S(i)("misc.toggleInvisibleCharacters")), 1)]),
42980
42966
  _: 1
42981
42967
  }), M(y1, { icon: Jx2 })]),
42982
42968
  _: 1
@@ -42999,8 +42985,8 @@ var XE2 = j({
42999
42985
  color: "",
43000
42986
  onClick: a[0] || (a[0] = (n) => S(t).chain().focus().unsetAllMarks().clearNodes().run())
43001
42987
  }, {
43002
- default: b(() => [M(v1, { activator: "parent" }, {
43003
- default: b(() => [e1($(S(i)("format.formatClear")), 1)]),
42988
+ default: y(() => [M(v1, { activator: "parent" }, {
42989
+ default: y(() => [e1($(S(i)("format.formatClear")), 1)]),
43004
42990
  _: 1
43005
42991
  }), M(y1, { icon: `mdiSvg:${Er}` }, null, 8, ["icon"])]),
43006
42992
  _: 1
@@ -43172,10 +43158,10 @@ var rT2 = {
43172
43158
  group: c,
43173
43159
  components: []
43174
43160
  }), u === "heading" && m.length > 0) {
43175
- const v = m.findIndex((y) => y === "p"), k = v > -1;
43161
+ const v = m.findIndex((b) => b === "p"), k = v > -1;
43176
43162
  k && m.splice(v, 1), g.props = {
43177
43163
  withParagraph: k,
43178
- customHeadingLevels: m.map((y) => parseInt(y))
43164
+ customHeadingLevels: m.map((b) => parseInt(b))
43179
43165
  };
43180
43166
  }
43181
43167
  if (u === "bulletList" && m.length > 0) {
@@ -43201,8 +43187,8 @@ var rT2 = {
43201
43187
  height: "auto",
43202
43188
  class: a1(`ps-1 pr-1 rounded-t-${e.rounded}`)
43203
43189
  }, {
43204
- default: b(() => [e.toolbarScrollable ? (D(), d1(Y8, { key: 0 }, {
43205
- default: b(() => [M(Xn, { items: S(n) }, null, 8, ["items"])]),
43190
+ default: y(() => [e.toolbarScrollable ? (D(), d1(Y8, { key: 0 }, {
43191
+ default: y(() => [M(Xn, { items: S(n) }, null, 8, ["items"])]),
43206
43192
  _: 1
43207
43193
  })) : (D(), d1(Xn, {
43208
43194
  key: 1,
@@ -50115,11 +50101,11 @@ var XP2 = /^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn
50115
50101
  function e_2(e, t, i, r, a) {
50116
50102
  let n = e.input.compositionPendingChanges || (e.composing ? e.input.compositionID : 0);
50117
50103
  if (e.input.compositionPendingChanges = 0, t < 0) {
50118
- let y = e.input.lastSelectionTime > Date.now() - 50 ? e.input.lastSelectionOrigin : null, A = ma(e, y);
50104
+ let b = e.input.lastSelectionTime > Date.now() - 50 ? e.input.lastSelectionOrigin : null, A = ma(e, b);
50119
50105
  if (A && !e.state.selection.eq(A)) {
50120
- if (I2 && Je && e.input.lastKeyCode === 13 && Date.now() - 100 < e.input.lastKeyCodeTime && e.someProp("handleKeyDown", (P) => P(e, W0(13, "Enter")))) return;
50106
+ if (I2 && Je && e.input.lastKeyCode === 13 && Date.now() - 100 < e.input.lastKeyCodeTime && e.someProp("handleKeyDown", (B) => B(e, W0(13, "Enter")))) return;
50121
50107
  let E = e.state.tr.setSelection(A);
50122
- y == "pointer" ? E.setMeta("pointer", !0) : y == "key" && E.scrollIntoView(), n && E.setMeta("composition", n), e.dispatch(E);
50108
+ b == "pointer" ? E.setMeta("pointer", !0) : b == "key" && E.scrollIntoView(), n && E.setMeta("composition", n), e.dispatch(E);
50123
50109
  }
50124
50110
  return;
50125
50111
  }
@@ -50128,7 +50114,7 @@ function e_2(e, t, i, r, a) {
50128
50114
  let l = e.state.selection, C = JP2(e, t, i), H = e.state.doc, V = H.slice(C.from, C.to), d, c;
50129
50115
  e.input.lastKeyCode === 8 && Date.now() - 100 < e.input.lastKeyCodeTime ? (d = e.state.selection.to, c = "end") : (d = e.state.selection.from, c = "start"), e.input.lastKeyCode = null;
50130
50116
  let L = r_2(V.content, C.doc.content, C.from, d, c);
50131
- if (L && e.input.domChangeCount++, (K3 && e.input.lastIOSEnter > Date.now() - 225 || Je) && a.some((y) => y.nodeType == 1 && !XP2.test(y.nodeName)) && (!L || L.endA >= L.endB) && e.someProp("handleKeyDown", (y) => y(e, W0(13, "Enter")))) {
50117
+ if (L && e.input.domChangeCount++, (K3 && e.input.lastIOSEnter > Date.now() - 225 || Je) && a.some((b) => b.nodeType == 1 && !XP2.test(b.nodeName)) && (!L || L.endA >= L.endB) && e.someProp("handleKeyDown", (b) => b(e, W0(13, "Enter")))) {
50132
50118
  e.input.lastIOSEnter = 0;
50133
50119
  return;
50134
50120
  }
@@ -50139,9 +50125,9 @@ function e_2(e, t, i, r, a) {
50139
50125
  };
50140
50126
  else {
50141
50127
  if (C.sel) {
50142
- let y = ms(e, e.state.doc, C.sel);
50143
- if (y && !y.eq(e.state.selection)) {
50144
- let A = e.state.tr.setSelection(y);
50128
+ let b = ms(e, e.state.doc, C.sel);
50129
+ if (b && !b.eq(e.state.selection)) {
50130
+ let A = e.state.tr.setSelection(b);
50145
50131
  n && A.setMeta("composition", n), e.dispatch(A);
50146
50132
  }
50147
50133
  }
@@ -50149,21 +50135,21 @@ function e_2(e, t, i, r, a) {
50149
50135
  }
50150
50136
  e.state.selection.from < e.state.selection.to && L.start == L.endB && e.state.selection instanceof E1 && (L.start > e.state.selection.from && L.start <= e.state.selection.from + 2 && e.state.selection.from >= C.from ? L.start = e.state.selection.from : L.endA < e.state.selection.to && L.endA >= e.state.selection.to - 2 && e.state.selection.to <= C.to && (L.endB += e.state.selection.to - L.endA, L.endA = e.state.selection.to)), y5 && w0 <= 11 && L.endB == L.start + 1 && L.endA == L.start && L.start > C.from && C.doc.textBetween(L.start - C.from - 1, L.start - C.from + 1) == "  " && (L.start--, L.endA--, L.endB--);
50151
50137
  let u = C.doc.resolveNoCache(L.start - C.from), m = C.doc.resolveNoCache(L.endB - C.from), p = H.resolve(L.start), f = u.sameParent(m) && u.parent.inlineContent && p.end() >= L.endA;
50152
- if ((K3 && e.input.lastIOSEnter > Date.now() - 225 && (!f || a.some((y) => y.nodeName == "DIV" || y.nodeName == "P")) || !f && u.pos < C.doc.content.size && (!u.sameParent(m) || !u.parent.inlineContent) && u.pos < m.pos && !/\S/.test(C.doc.textBetween(u.pos, m.pos, "", ""))) && e.someProp("handleKeyDown", (y) => y(e, W0(13, "Enter")))) {
50138
+ if ((K3 && e.input.lastIOSEnter > Date.now() - 225 && (!f || a.some((b) => b.nodeName == "DIV" || b.nodeName == "P")) || !f && u.pos < C.doc.content.size && (!u.sameParent(m) || !u.parent.inlineContent) && u.pos < m.pos && !/\S/.test(C.doc.textBetween(u.pos, m.pos, "", ""))) && e.someProp("handleKeyDown", (b) => b(e, W0(13, "Enter")))) {
50153
50139
  e.input.lastIOSEnter = 0;
50154
50140
  return;
50155
50141
  }
50156
- if (e.state.selection.anchor > L.start && i_2(H, L.start, L.endA, u, m) && e.someProp("handleKeyDown", (y) => y(e, W0(8, "Backspace")))) {
50142
+ if (e.state.selection.anchor > L.start && i_2(H, L.start, L.endA, u, m) && e.someProp("handleKeyDown", (b) => b(e, W0(8, "Backspace")))) {
50157
50143
  Je && I2 && e.domObserver.suppressSelectionUpdates();
50158
50144
  return;
50159
50145
  }
50160
50146
  I2 && L.endB == L.start && (e.input.lastChromeDelete = Date.now()), Je && !f && u.start() != m.start() && m.parentOffset == 0 && u.depth == m.depth && C.sel && C.sel.anchor == C.sel.head && C.sel.head == L.endA && (L.endB -= 2, m = C.doc.resolveNoCache(L.endB - C.from), setTimeout(() => {
50161
- e.someProp("handleKeyDown", function(y) {
50162
- return y(e, W0(13, "Enter"));
50147
+ e.someProp("handleKeyDown", function(b) {
50148
+ return b(e, W0(13, "Enter"));
50163
50149
  });
50164
50150
  }, 20));
50165
- let g = L.start, h = L.endA, v = (y) => {
50166
- let A = y || e.state.tr.replace(g, h, C.doc.slice(L.start - C.from, L.endB - C.from));
50151
+ let g = L.start, h = L.endA, v = (b) => {
50152
+ let A = b || e.state.tr.replace(g, h, C.doc.slice(L.start - C.from, L.endB - C.from));
50167
50153
  if (C.sel) {
50168
50154
  let E = ms(e, A.doc, C.sel);
50169
50155
  E && !(I2 && e.composing && E.empty && (L.start != L.endB || e.input.lastChromeDelete < Date.now() - 100) && (E.head == g || E.head == A.mapping.map(h) - 1) || y5 && E.empty && E.head == g) && A.setSelection(E);
@@ -50172,14 +50158,14 @@ function e_2(e, t, i, r, a) {
50172
50158
  }, k;
50173
50159
  if (f) if (u.pos == m.pos) {
50174
50160
  y5 && w0 <= 11 && u.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() => i0(e), 20));
50175
- let y = v(e.state.tr.delete(g, h)), A = H.resolve(L.start).marksAcross(H.resolve(L.endA));
50176
- A && y.ensureMarks(A), e.dispatch(y);
50161
+ let b = v(e.state.tr.delete(g, h)), A = H.resolve(L.start).marksAcross(H.resolve(L.endA));
50162
+ A && b.ensureMarks(A), e.dispatch(b);
50177
50163
  } else if (L.endA == L.endB && (k = t_2(u.parent.content.cut(u.parentOffset, m.parentOffset), p.parent.content.cut(p.parentOffset, L.endA - p.start())))) {
50178
- let y = v(e.state.tr);
50179
- k.type == "add" ? y.addMark(g, h, k.mark) : y.removeMark(g, h, k.mark), e.dispatch(y);
50164
+ let b = v(e.state.tr);
50165
+ k.type == "add" ? b.addMark(g, h, k.mark) : b.removeMark(g, h, k.mark), e.dispatch(b);
50180
50166
  } else if (u.parent.child(u.index()).isText && u.index() == m.index() - (m.textOffset ? 0 : 1)) {
50181
- let y = u.parent.textBetween(u.parentOffset, m.parentOffset), A = () => v(e.state.tr.insertText(y, g, h));
50182
- e.someProp("handleTextInput", (E) => E(e, g, h, y, A)) || e.dispatch(A());
50167
+ let b = u.parent.textBetween(u.parentOffset, m.parentOffset), A = () => v(e.state.tr.insertText(b, g, h));
50168
+ e.someProp("handleTextInput", (E) => E(e, g, h, b, A)) || e.dispatch(A());
50183
50169
  } else e.dispatch(v());
50184
50170
  else e.dispatch(v());
50185
50171
  }
@@ -51903,11 +51889,11 @@ var xR2 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: i, dispatch: r, edito
51903
51889
  p = p.append(Y.from(s.createAndFill(null, v) || void 0));
51904
51890
  const k = l.before(l.depth - (f - 1));
51905
51891
  i.replace(k, l.after(-g), new l1(p, 4 - f, 0));
51906
- let y = -1;
51892
+ let b = -1;
51907
51893
  i.doc.nodesBetween(k, i.doc.content.size, (A, E) => {
51908
- if (y > -1) return !1;
51909
- A.isTextblock && A.content.size === 0 && (y = E + 1);
51910
- }), y > -1 && i.setSelection(E1.near(i.doc.resolve(y))), i.scrollIntoView();
51894
+ if (b > -1) return !1;
51895
+ A.isTextblock && A.content.size === 0 && (b = E + 1);
51896
+ }), b > -1 && i.setSelection(E1.near(i.doc.resolve(b))), i.scrollIntoView();
51911
51897
  }
51912
51898
  return !0;
51913
51899
  }
@@ -51968,22 +51954,22 @@ function BR2(e) {
51968
51954
  var PR2 = (e, t, i, r = {}) => ({ editor: a, tr: n, state: o, dispatch: s, chain: l, commands: C, can: H }) => {
51969
51955
  const { extensions: V, splittableMarks: d } = a.extensionManager, c = O2(e, o.schema), L = O2(t, o.schema), { selection: u, storedMarks: m } = o, { $from: p, $to: f } = u, g = p.blockRange(f), h = m || u.$to.parentOffset && u.$from.marks();
51970
51956
  if (!g) return !1;
51971
- const v = c6((B) => V8(B.type.name, V))(u), k = u.from === 0 && u.to === o.doc.content.size, y = o.doc.content.content, A = y.length === 1 ? y[0] : null, E = k && A && V8(A.type.name, V) ? {
51957
+ const v = c6((P) => V8(P.type.name, V))(u), k = u.from === 0 && u.to === o.doc.content.size, b = o.doc.content.content, A = b.length === 1 ? b[0] : null, E = k && A && V8(A.type.name, V) ? {
51972
51958
  node: A,
51973
51959
  pos: 0,
51974
51960
  depth: 0
51975
- } : null, P = v ?? E, T = !!v && g.depth >= 1 && g.depth - v.depth <= 1, F = !!E;
51976
- if ((T || F) && P) {
51977
- if (P.node.type === c)
51978
- return k && F ? l().command(({ tr: B, dispatch: x }) => {
51979
- const R = BR2(B);
51980
- return R ? (B.setSelection(R), x && x(B), !0) : !1;
51961
+ } : null, B = v ?? E, T = !!v && g.depth >= 1 && g.depth - v.depth <= 1, F = !!E;
51962
+ if ((T || F) && B) {
51963
+ if (B.node.type === c)
51964
+ return k && F ? l().command(({ tr: P, dispatch: x }) => {
51965
+ const R = BR2(P);
51966
+ return R ? (P.setSelection(R), x && x(P), !0) : !1;
51981
51967
  }).liftListItem(L).run() : C.liftListItem(L);
51982
- if (V8(P.node.type.name, V) && c.validContent(P.node.content)) return l().command(() => (n.setNodeMarkup(P.pos, c), !0)).command(() => d8(n, c)).command(() => c8(n, c)).run();
51968
+ if (V8(B.node.type.name, V) && c.validContent(B.node.content)) return l().command(() => (n.setNodeMarkup(B.pos, c), !0)).command(() => d8(n, c)).command(() => c8(n, c)).run();
51983
51969
  }
51984
51970
  return !i || !h || !s ? l().command(() => H().wrapInList(c, r) ? !0 : C.clearNodes()).wrapInList(c, r).command(() => d8(n, c)).command(() => c8(n, c)).run() : l().command(() => {
51985
- const B = H().wrapInList(c, r), x = h.filter((R) => d.includes(R.type.name));
51986
- return n.ensureMarks(x), B ? !0 : C.clearNodes();
51971
+ const P = H().wrapInList(c, r), x = h.filter((R) => d.includes(R.type.name));
51972
+ return n.ensureMarks(x), P ? !0 : C.clearNodes();
51987
51973
  }).wrapInList(c, r).command(() => d8(n, c)).command(() => c8(n, c)).run();
51988
51974
  }, _R2 = (e, t = {}, i = {}) => ({ state: r, commands: a }) => {
51989
51975
  const { extendEmptyMarkRange: n = !1 } = i, o = H0(e, r.schema);
@@ -52263,17 +52249,17 @@ function XR2(e) {
52263
52249
  let h = 1;
52264
52250
  const v = p.length;
52265
52251
  let k = "";
52266
- const y = /^:::([\w-]*)(\s.*)?/gm, A = V.slice(v);
52267
- for (y.lastIndex = 0; ; ) {
52268
- const E = y.exec(A);
52252
+ const b = /^:::([\w-]*)(\s.*)?/gm, A = V.slice(v);
52253
+ for (b.lastIndex = 0; ; ) {
52254
+ const E = b.exec(A);
52269
52255
  if (E === null) break;
52270
- const P = E.index, T = E[1];
52256
+ const B = E.index, T = E[1];
52271
52257
  if (!((L = E[2]) != null && L.endsWith(":::"))) {
52272
52258
  if (T) h += 1;
52273
52259
  else if (h -= 1, h === 0) {
52274
- const F = A.slice(0, P);
52260
+ const F = A.slice(0, B);
52275
52261
  k = F.trim();
52276
- const B = V.slice(0, v + P + E[0].length);
52262
+ const P = V.slice(0, v + B + E[0].length);
52277
52263
  let x = [];
52278
52264
  if (k) if (s === "block")
52279
52265
  for (x = c.blockTokens(F), x.forEach((R) => {
@@ -52286,7 +52272,7 @@ function XR2(e) {
52286
52272
  else x = c.inlineTokens(k);
52287
52273
  return {
52288
52274
  type: t,
52289
- raw: B,
52275
+ raw: P,
52290
52276
  attributes: g,
52291
52277
  content: k,
52292
52278
  tokens: x
@@ -52402,7 +52388,7 @@ function xi(e, t, i) {
52402
52388
  for (H += 1; H < s.length; ) {
52403
52389
  const v = s[H];
52404
52390
  if (v.trim() === "") {
52405
- const k = s.slice(H + 1).findIndex((y) => y.trim() !== "");
52391
+ const k = s.slice(H + 1).findIndex((b) => b.trim() !== "");
52406
52392
  if (k === -1) break;
52407
52393
  if ((((a = (r = s[H + 1 + k].match(/^(\s*)/)) == null ? void 0 : r[1]) == null ? void 0 : a.length) || 0) > u) {
52408
52394
  p.push(v), C = `${C}${v}
@@ -52667,10 +52653,10 @@ function sD2(e) {
52667
52653
  const g = (f = (p = (m = d.content) == null ? void 0 : m.size) != null ? p : d.nodeSize) != null ? f : 0, h = Math.max(r, c), v = Math.min(a, c + g);
52668
52654
  h >= v || oD2(d.isText ? d.text || "" : d.textBetween(h - c, v - c, void 0, ""), n.find, o).forEach((k) => {
52669
52655
  if (k.index === void 0) return;
52670
- const y = h + k.index + 1, A = y + k[0].length, E = {
52671
- from: i.tr.mapping.map(y),
52656
+ const b = h + k.index + 1, A = b + k[0].length, E = {
52657
+ from: i.tr.mapping.map(b),
52672
52658
  to: i.tr.mapping.map(A)
52673
- }, P = n.handler({
52659
+ }, B = n.handler({
52674
52660
  state: i,
52675
52661
  range: E,
52676
52662
  match: k,
@@ -52680,7 +52666,7 @@ function sD2(e) {
52680
52666
  pasteEvent: o,
52681
52667
  dropEvent: s
52682
52668
  });
52683
- V.push(P);
52669
+ V.push(B);
52684
52670
  });
52685
52671
  }), V.every((d) => d !== null);
52686
52672
  }
@@ -52757,13 +52743,13 @@ function CD2(e) {
52757
52743
  if (p) {
52758
52744
  let { text: h } = m;
52759
52745
  typeof h == "string" ? h = h : h = Oa(Y.from(h), d.schema);
52760
- const { from: v } = m, k = v + h.length, y = lD2(h);
52746
+ const { from: v } = m, k = v + h.length, b = lD2(h);
52761
52747
  return l({
52762
52748
  rule: C,
52763
52749
  state: d,
52764
52750
  from: v,
52765
52751
  to: { b: k },
52766
- pasteEvt: y
52752
+ pasteEvt: b
52767
52753
  });
52768
52754
  }
52769
52755
  const f = V.doc.content.findDiffStart(d.doc.content), g = V.doc.content.findDiffEnd(d.doc.content);
@@ -54663,9 +54649,9 @@ var TD2 = 50, BD2 = async (e, t, i) => {
54663
54649
  x: i,
54664
54650
  y: r
54665
54651
  }, c = _a(a), L = Pa(c), u = await o.getDimensions(C), m = c === "y", p = m ? "top" : "left", f = m ? "bottom" : "right", g = m ? "clientHeight" : "clientWidth", h = n.reference[L] + n.reference[c] - d[c] - n.floating[L], v = d[c] - n.reference[c], k = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(C));
54666
- let y = k ? k[g] : 0;
54667
- (!y || !await (o.isElement == null ? void 0 : o.isElement(k))) && (y = s.floating[g] || n.floating[L]);
54668
- const A = h / 2 - v / 2, E = y / 2 - u[L] / 2 - 1, P = ne(V[p], E), T = ne(V[f], E), F = P, B = y - u[L] - T, x = y / 2 - u[L] / 2 + A, R = Pi(F, x, B), X = !l.arrow && ie(a) != null && x !== R && n.reference[L] / 2 - (x < F ? P : T) - u[L] / 2 < 0, W = X ? x < F ? x - F : x - B : 0;
54652
+ let b = k ? k[g] : 0;
54653
+ (!b || !await (o.isElement == null ? void 0 : o.isElement(k))) && (b = s.floating[g] || n.floating[L]);
54654
+ const A = h / 2 - v / 2, E = b / 2 - u[L] / 2 - 1, B = ne(V[p], E), T = ne(V[f], E), F = B, P = b - u[L] - T, x = b / 2 - u[L] / 2 + A, R = Pi(F, x, P), X = !l.arrow && ie(a) != null && x !== R && n.reference[L] / 2 - (x < F ? B : T) - u[L] / 2 < 0, W = X ? x < F ? x - F : x - P : 0;
54669
54655
  return {
54670
54656
  [c]: d[c] + W,
54671
54657
  data: {
@@ -54705,14 +54691,14 @@ var RD2 = function(e) {
54705
54691
  },
54706
54692
  reset: { placement: k }
54707
54693
  };
54708
- const y = v.map((E) => {
54709
- const P = ie(E.placement);
54694
+ const b = v.map((E) => {
54695
+ const B = ie(E.placement);
54710
54696
  return [
54711
54697
  E.placement,
54712
- P && H ? E.overflows.slice(0, 2).reduce((T, F) => T + F, 0) : E.overflows[0],
54698
+ B && H ? E.overflows.slice(0, 2).reduce((T, F) => T + F, 0) : E.overflows[0],
54713
54699
  E.overflows
54714
54700
  ];
54715
- }).sort((E, P) => E[1] - P[1]), A = ((a = y.filter((E) => E[2].slice(0, ie(E[0]) ? 2 : 3).every((P) => P <= 0))[0]) == null ? void 0 : a[0]) || y[0][0];
54701
+ }).sort((E, B) => E[1] - B[1]), A = ((a = b.filter((E) => E[2].slice(0, ie(E[0]) ? 2 : 3).every((B) => B <= 0))[0]) == null ? void 0 : a[0]) || b[0][0];
54716
54702
  return A !== s ? {
54717
54703
  data: {
54718
54704
  index: p + 1,
@@ -54732,37 +54718,37 @@ var RD2 = function(e) {
54732
54718
  if ((i = n.arrow) != null && i.alignmentOffset) return {};
54733
54719
  const p = J5(a), f = ge(s), g = J5(s) === s, h = await (l.isRTL == null ? void 0 : l.isRTL(C.floating)), v = d || (g || !u ? [C9(s)] : kD2(s)), k = L !== "none";
54734
54720
  !d && k && v.push(...FD2(s, u, L, h));
54735
- const y = [s, ...v], A = await l.detectOverflow(t, m), E = [];
54736
- let P = ((r = n.flip) == null ? void 0 : r.overflows) || [];
54721
+ const b = [s, ...v], A = await l.detectOverflow(t, m), E = [];
54722
+ let B = ((r = n.flip) == null ? void 0 : r.overflows) || [];
54737
54723
  if (H && E.push(A[p]), V) {
54738
54724
  const x = lL(a, o, h);
54739
54725
  E.push(A[x[0]], A[x[1]]);
54740
54726
  }
54741
- if (P = [...P, {
54727
+ if (B = [...B, {
54742
54728
  placement: a,
54743
54729
  overflows: E
54744
54730
  }], !E.every((x) => x <= 0)) {
54745
54731
  var T, F;
54746
- const x = (((T = n.flip) == null ? void 0 : T.index) || 0) + 1, R = y[x];
54747
- if (R && (!(V === "alignment" && f !== ge(R)) || P.every((W) => ge(W.placement) === f ? W.overflows[0] > 0 : !0)))
54732
+ const x = (((T = n.flip) == null ? void 0 : T.index) || 0) + 1, R = b[x];
54733
+ if (R && (!(V === "alignment" && f !== ge(R)) || B.every((W) => ge(W.placement) === f ? W.overflows[0] > 0 : !0)))
54748
54734
  return {
54749
54735
  data: {
54750
54736
  index: x,
54751
- overflows: P
54737
+ overflows: B
54752
54738
  },
54753
54739
  reset: { placement: R }
54754
54740
  };
54755
- let X = (F = P.filter((W) => W.overflows[0] <= 0).sort((W, J) => W.overflows[1] - J.overflows[1])[0]) == null ? void 0 : F.placement;
54741
+ let X = (F = B.filter((W) => W.overflows[0] <= 0).sort((W, J) => W.overflows[1] - J.overflows[1])[0]) == null ? void 0 : F.placement;
54756
54742
  if (!X) switch (c) {
54757
54743
  case "bestFit": {
54758
- var B;
54759
- const W = (B = P.filter((J) => {
54744
+ var P;
54745
+ const W = (P = B.filter((J) => {
54760
54746
  if (k) {
54761
54747
  const r1 = ge(J.placement);
54762
54748
  return r1 === f || r1 === "y";
54763
54749
  }
54764
54750
  return !0;
54765
- }).map((J) => [J.placement, J.overflows.filter((r1) => r1 > 0).reduce((r1, Q) => r1 + Q, 0)]).sort((J, r1) => J[1] - r1[1])[0]) == null ? void 0 : B[0];
54751
+ }).map((J) => [J.placement, J.overflows.filter((r1) => r1 > 0).reduce((r1, Q) => r1 + Q, 0)]).sort((J, r1) => J[1] - r1[1])[0]) == null ? void 0 : P[0];
54766
54752
  W && (X = W);
54767
54753
  break;
54768
54754
  }
@@ -54848,25 +54834,25 @@ var zD2 = function(e) {
54848
54834
  if (V.length === 2 && V[0].left > V[1].right && l != null && C != null) return V.find((m) => l > m.left - c.left && l < m.right + c.right && C > m.top - c.top && C < m.bottom + c.bottom) || d;
54849
54835
  if (V.length >= 2) {
54850
54836
  if (ge(i) === "y") {
54851
- const A = V[0], E = V[V.length - 1], P = J5(i) === "top", T = A.top, F = E.bottom, B = P ? A.left : E.left, x = P ? A.right : E.right;
54837
+ const A = V[0], E = V[V.length - 1], B = J5(i) === "top", T = A.top, F = E.bottom, P = B ? A.left : E.left, x = B ? A.right : E.right;
54852
54838
  return {
54853
54839
  top: T,
54854
54840
  bottom: F,
54855
- left: B,
54841
+ left: P,
54856
54842
  right: x,
54857
- width: x - B,
54843
+ width: x - P,
54858
54844
  height: F - T,
54859
- x: B,
54845
+ x: P,
54860
54846
  y: T
54861
54847
  };
54862
54848
  }
54863
- const m = J5(i) === "left", p = e5(...V.map((A) => A.right)), f = ne(...V.map((A) => A.left)), g = V.filter((A) => m ? A.left === f : A.right === p), h = g[0].top, v = g[g.length - 1].bottom, k = f, y = p;
54849
+ const m = J5(i) === "left", p = e5(...V.map((A) => A.right)), f = ne(...V.map((A) => A.left)), g = V.filter((A) => m ? A.left === f : A.right === p), h = g[0].top, v = g[g.length - 1].bottom, k = f, b = p;
54864
54850
  return {
54865
54851
  top: h,
54866
54852
  bottom: v,
54867
54853
  left: k,
54868
- right: y,
54869
- width: y - k,
54854
+ right: b,
54855
+ width: b - k,
54870
54856
  height: v - h,
54871
54857
  x: k,
54872
54858
  y: h
@@ -54972,15 +54958,15 @@ var UD2 = function(e) {
54972
54958
  let m, p;
54973
54959
  V === "top" || V === "bottom" ? (m = V, p = d === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (p = V, m = d === "end" ? "top" : "bottom");
54974
54960
  const f = u - H.top - H.bottom, g = L - H.left - H.right, h = ne(u - H[m], f), v = ne(L - H[p], g), k = !t.middlewareData.shift;
54975
- let y = h, A = v;
54976
- if ((i = t.middlewareData.shift) != null && i.enabled.x && (A = g), (r = t.middlewareData.shift) != null && r.enabled.y && (y = f), k && !d) {
54977
- const P = e5(H.left, 0), T = e5(H.right, 0), F = e5(H.top, 0), B = e5(H.bottom, 0);
54978
- c ? A = L - 2 * (P !== 0 || T !== 0 ? P + T : e5(H.left, H.right)) : y = u - 2 * (F !== 0 || B !== 0 ? F + B : e5(H.top, H.bottom));
54961
+ let b = h, A = v;
54962
+ if ((i = t.middlewareData.shift) != null && i.enabled.x && (A = g), (r = t.middlewareData.shift) != null && r.enabled.y && (b = f), k && !d) {
54963
+ const B = e5(H.left, 0), T = e5(H.right, 0), F = e5(H.top, 0), P = e5(H.bottom, 0);
54964
+ c ? A = L - 2 * (B !== 0 || T !== 0 ? B + T : e5(H.left, H.right)) : b = u - 2 * (F !== 0 || P !== 0 ? F + P : e5(H.top, H.bottom));
54979
54965
  }
54980
54966
  await l({
54981
54967
  ...t,
54982
54968
  availableWidth: A,
54983
- availableHeight: y
54969
+ availableHeight: b
54984
54970
  });
54985
54971
  const E = await o.getDimensions(s.floating);
54986
54972
  return L !== E.width || u !== E.height ? { reset: { rects: !0 } } : {};
@@ -55531,8 +55517,8 @@ function LN2(e) {
55531
55517
  });
55532
55518
  const k = f && f[v];
55533
55519
  if (k) {
55534
- const y = (h + v) % t * 2, A = o[y];
55535
- A == null || A != k && o[y + 1] == 1 ? (o[y] = k, o[y + 1] = 1) : A == k && o[y + 1]++;
55520
+ const b = (h + v) % t * 2, A = o[b];
55521
+ A == null || A != k && o[b + 1] == 1 ? (o[b] = k, o[b + 1] = 1) : A == k && o[b + 1]++;
55536
55522
  }
55537
55523
  }
55538
55524
  }
@@ -57329,24 +57315,24 @@ var dI2 = class {
57329
57315
  return l !== C && !(l === 0 && C === H);
57330
57316
  }
57331
57317
  }, {
57332
- default: b(() => [w("div", pI2, [M(Z4, null, {
57333
- default: b(() => [M(l0, { class: "pa-0" }, {
57334
- default: b(() => [M(kr, {
57318
+ default: y(() => [w("div", pI2, [M(Z4, null, {
57319
+ default: y(() => [M(l0, { class: "pa-0" }, {
57320
+ default: y(() => [M(kr, {
57335
57321
  theme: e.theme,
57336
57322
  density: "compact",
57337
57323
  height: "auto",
57338
57324
  class: "p-0"
57339
57325
  }, {
57340
- default: b(() => [M(Or, null, {
57341
- default: b(() => [M(i4, {
57326
+ default: y(() => [M(Or, null, {
57327
+ default: y(() => [M(i4, {
57342
57328
  divided: "",
57343
57329
  density: "compact"
57344
57330
  }, {
57345
- default: b(() => [(D(!0), u1(H1, null, p2(i.value, (n, o) => (D(), d1(s1, V1({ key: o }, { ref_for: !0 }, n.props, {
57331
+ default: y(() => [(D(!0), u1(H1, null, p2(i.value, (n, o) => (D(), d1(s1, V1({ key: o }, { ref_for: !0 }, n.props, {
57346
57332
  size: "x-small",
57347
57333
  onClick: n.click
57348
57334
  }), {
57349
- default: b(() => [M(q1, {
57335
+ default: y(() => [M(q1, {
57350
57336
  icon: n.icon,
57351
57337
  size: "20"
57352
57338
  }, null, 8, ["icon"])]),
@@ -57387,26 +57373,26 @@ var dI2 = class {
57387
57373
  key: 0,
57388
57374
  editor: S(t)
57389
57375
  }, {
57390
- default: b(() => [w("div", gI2, [M(Z4, null, {
57391
- default: b(() => [M(l0, { class: "pa-0" }, {
57392
- default: b(() => [M(kr, {
57376
+ default: y(() => [w("div", gI2, [M(Z4, null, {
57377
+ default: y(() => [M(l0, { class: "pa-0" }, {
57378
+ default: y(() => [M(kr, {
57393
57379
  theme: e.theme,
57394
57380
  density: "compact",
57395
57381
  height: "auto",
57396
57382
  class: "p-0"
57397
57383
  }, {
57398
- default: b(() => [M(Or, null, {
57399
- default: b(() => [M(i4, {
57384
+ default: y(() => [M(Or, null, {
57385
+ default: y(() => [M(i4, {
57400
57386
  divided: "",
57401
57387
  density: "compact"
57402
57388
  }, {
57403
- default: b(() => [
57389
+ default: y(() => [
57404
57390
  M(s1, {
57405
57391
  color: `${S(t).isActive("heading", { level: 1 }) ? "primary" : ""}`,
57406
57392
  size: "small",
57407
57393
  onClick: r[0] || (r[0] = (a) => S(t).chain().focus().toggleHeading({ level: 1 }).run())
57408
57394
  }, {
57409
- default: b(() => [M(q1, {
57395
+ default: y(() => [M(q1, {
57410
57396
  icon: PC,
57411
57397
  size: "16"
57412
57398
  }, null, 8, ["icon"])]),
@@ -57417,7 +57403,7 @@ var dI2 = class {
57417
57403
  size: "small",
57418
57404
  onClick: r[1] || (r[1] = (a) => S(t).chain().focus().toggleHeading({ level: 2 }).run())
57419
57405
  }, {
57420
- default: b(() => [M(q1, {
57406
+ default: y(() => [M(q1, {
57421
57407
  icon: _C,
57422
57408
  size: "16"
57423
57409
  }, null, 8, ["icon"])]),
@@ -57428,7 +57414,7 @@ var dI2 = class {
57428
57414
  size: "small",
57429
57415
  onClick: r[2] || (r[2] = (a) => S(t).chain().focus().toggleBulletList().run())
57430
57416
  }, {
57431
- default: b(() => [M(q1, {
57417
+ default: y(() => [M(q1, {
57432
57418
  icon: $t,
57433
57419
  size: "16"
57434
57420
  }, null, 8, ["icon"])]),
@@ -60312,8 +60298,8 @@ function h$2({ groups: e }) {
60312
60298
  z1(f, e.numeric, g);
60313
60299
  const h = $5(dt), v = $5();
60314
60300
  z1(h, t, h), z1(h, i, v), z1(v, t, h), z1(v, i, v), t1(p, fe, h), t1(g, fe, h);
60315
- const k = t1(s, Q0), y = t1(t1(t1(l, Q0), fe), fe);
60316
- z1(s, e.domain, o), t1(s, he, m), t1(s, W5, u), z1(l, e.domain, o), t1(l, he, m), t1(l, W5, u), z1(k, e.domain, h), t1(k, fe, h), t1(k, J7, h), z1(y, e.domain, h), z1(y, t, h), t1(y, fe, h);
60301
+ const k = t1(s, Q0), b = t1(t1(t1(l, Q0), fe), fe);
60302
+ z1(s, e.domain, o), t1(s, he, m), t1(s, W5, u), z1(l, e.domain, o), t1(l, he, m), t1(l, W5, u), z1(k, e.domain, h), t1(k, fe, h), t1(k, J7, h), z1(b, e.domain, h), z1(b, t, h), t1(b, fe, h);
60317
60303
  const A = [
60318
60304
  [K7, q7],
60319
60305
  [c9, L9],
@@ -60325,12 +60311,12 @@ function h$2({ groups: e }) {
60325
60311
  [y9, S9]
60326
60312
  ];
60327
60313
  for (let E = 0; E < A.length; E++) {
60328
- const [P, T] = A[E], F = t1(h, P);
60329
- t1(v, P, F);
60330
- const B = $5(dt);
60331
- z1(F, t, B);
60314
+ const [B, T] = A[E], F = t1(h, B);
60315
+ t1(v, B, F);
60316
+ const P = $5(dt);
60317
+ z1(F, t, P);
60332
60318
  const x = $5();
60333
- z1(F, i, x), t1(F, T, h), z1(B, t, B), z1(B, i, x), z1(x, t, B), z1(x, i, x), t1(B, T, h), t1(x, T, h);
60319
+ z1(F, i, x), t1(F, T, h), z1(P, t, P), z1(P, i, x), z1(x, t, P), z1(x, i, x), t1(P, T, h), t1(x, T, h);
60334
60320
  }
60335
60321
  return t1(a, h4, p), t1(a, Qa, p$2), {
60336
60322
  start: a,
@@ -62937,8 +62923,8 @@ ${i}
62937
62923
  if (!sn(t)) return null;
62938
62924
  if (t.includes("/embed/")) return t;
62939
62925
  if (t.includes("youtu.be")) {
62940
- const y = t.split("/").pop();
62941
- return y ? `${Zl(L)}${y}` : null;
62926
+ const b = t.split("/").pop();
62927
+ return b ? `${Zl(L)}${b}` : null;
62942
62928
  }
62943
62929
  const h = /(?:(v|list)=|shorts\/)([-\w]+)/gm.exec(t);
62944
62930
  if (!h || !h[2]) return null;
@@ -63993,7 +63979,7 @@ var iU2 = tU2, rU2 = Z2.create({
63993
63979
  return m1 && m1.index === 0;
63994
63980
  }
63995
63981
  var k = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
63996
- function y(O, { joinWith: q }) {
63982
+ function b(O, { joinWith: q }) {
63997
63983
  let m1 = 0;
63998
63984
  return O.map((I1) => {
63999
63985
  m1 += 1;
@@ -64010,7 +63996,7 @@ var iU2 = tU2, rU2 = Z2.create({
64010
63996
  return f1;
64011
63997
  }).map((I1) => `(${I1})`).join(q);
64012
63998
  }
64013
- var A = /\b\B/, E = "[a-zA-Z]\\w*", P = "[a-zA-Z_]\\w*", T = "\\b\\d+(\\.\\d+)?", F = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", B = "\\b(0b[01]+)", x = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", R = (O = {}) => {
63999
+ var A = /\b\B/, E = "[a-zA-Z]\\w*", B = "[a-zA-Z_]\\w*", T = "\\b\\d+(\\.\\d+)?", F = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", P = "\\b(0b[01]+)", x = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", R = (O = {}) => {
64014
64000
  const q = /^#![ ]*\//;
64015
64001
  return O.binary && (O.begin = p(q, /.*\b/, O.binary, /\b.*/)), n({
64016
64002
  scope: "meta",
@@ -64062,7 +64048,7 @@ var iU2 = tU2, rU2 = Z2.create({
64062
64048
  relevance: 0
64063
64049
  }, x1 = {
64064
64050
  scope: "number",
64065
- begin: B,
64051
+ begin: P,
64066
64052
  relevance: 0
64067
64053
  }, K = {
64068
64054
  scope: "regexp",
@@ -64080,7 +64066,7 @@ var iU2 = tU2, rU2 = Z2.create({
64080
64066
  relevance: 0
64081
64067
  }, N1 = {
64082
64068
  scope: "title",
64083
- begin: P,
64069
+ begin: B,
64084
64070
  relevance: 0
64085
64071
  }, F2 = {
64086
64072
  begin: "\\.\\s*[a-zA-Z_]\\w*",
@@ -64099,7 +64085,7 @@ var iU2 = tU2, rU2 = Z2.create({
64099
64085
  APOS_STRING_MODE: W,
64100
64086
  BACKSLASH_ESCAPE: X,
64101
64087
  BINARY_NUMBER_MODE: x1,
64102
- BINARY_NUMBER_RE: B,
64088
+ BINARY_NUMBER_RE: P,
64103
64089
  COMMENT: Q,
64104
64090
  C_BLOCK_COMMENT_MODE: I,
64105
64091
  C_LINE_COMMENT_MODE: U,
@@ -64118,7 +64104,7 @@ var iU2 = tU2, rU2 = Z2.create({
64118
64104
  RE_STARTERS_RE: x,
64119
64105
  SHEBANG: R,
64120
64106
  TITLE_MODE: P1,
64121
- UNDERSCORE_IDENT_RE: P,
64107
+ UNDERSCORE_IDENT_RE: B,
64122
64108
  UNDERSCORE_TITLE_MODE: N1
64123
64109
  });
64124
64110
  function Pe(O, q) {
@@ -64203,7 +64189,7 @@ var iU2 = tU2, rU2 = Z2.create({
64203
64189
  throw z5("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), R2;
64204
64190
  if (typeof O.beginScope != "object" || O.beginScope === null)
64205
64191
  throw z5("beginScope must be object"), R2;
64206
- N4(O, O.begin, { key: "beginScope" }), O.begin = y(O.begin, { joinWith: "" });
64192
+ N4(O, O.begin, { key: "beginScope" }), O.begin = b(O.begin, { joinWith: "" });
64207
64193
  }
64208
64194
  }
64209
64195
  function em(O) {
@@ -64212,7 +64198,7 @@ var iU2 = tU2, rU2 = Z2.create({
64212
64198
  throw z5("skip, excludeEnd, returnEnd not compatible with endScope: {}"), R2;
64213
64199
  if (typeof O.endScope != "object" || O.endScope === null)
64214
64200
  throw z5("endScope must be object"), R2;
64215
- N4(O, O.end, { key: "endScope" }), O.end = y(O.end, { joinWith: "" });
64201
+ N4(O, O.end, { key: "endScope" }), O.end = b(O.end, { joinWith: "" });
64216
64202
  }
64217
64203
  }
64218
64204
  function tm(O) {
@@ -64235,7 +64221,7 @@ var iU2 = tU2, rU2 = Z2.create({
64235
64221
  compile() {
64236
64222
  this.regexes.length === 0 && (this.exec = () => null);
64237
64223
  const M1 = this.regexes.map((_1) => _1[1]);
64238
- this.matcherRe = q(y(M1, { joinWith: "|" }), !0), this.lastIndex = 0;
64224
+ this.matcherRe = q(b(M1, { joinWith: "|" }), !0), this.lastIndex = 0;
64239
64225
  }
64240
64226
  exec(M1) {
64241
64227
  this.matcherRe.lastIndex = this.lastIndex;
@@ -65122,7 +65108,7 @@ var cU2 = sU2.extend({
65122
65108
  }
65123
65109
  });
65124
65110
  return (a, n) => (D(), d1(S(gD2), { class: "code-block" }, {
65125
- default: b(() => [f2(w("select", {
65111
+ default: y(() => [f2(w("select", {
65126
65112
  "onUpdate:modelValue": n[0] || (n[0] = (o) => r.value = o),
65127
65113
  contenteditable: "false"
65128
65114
  }, [
@@ -65257,7 +65243,7 @@ function zU2({ editor: e, char: t, effectiveAllowSpaces: i, allowToIncludeChar:
65257
65243
  allowedPrefixes: a,
65258
65244
  startOfLine: n,
65259
65245
  $position: p.$from
65260
- }), y = `id_${Math.floor(Math.random() * 4294967295)}`;
65246
+ }), b = `id_${Math.floor(Math.random() * 4294967295)}`;
65261
65247
  k && s({
65262
65248
  editor: e,
65263
65249
  state: L,
@@ -65274,7 +65260,7 @@ function zU2({ editor: e, char: t, effectiveAllowSpaces: i, allowToIncludeChar:
65274
65260
  dismissedRange: h.dismissedRange,
65275
65261
  state: L,
65276
65262
  transaction: V
65277
- }) && (h.dismissedRange = null), h.dismissedRange === null ? (h.active = !0, h.decorationId = d.decorationId || y, h.range = k.range, h.query = k.query, h.text = k.text) : h.active = !1) : (k || (h.dismissedRange = null), h.active = !1);
65263
+ }) && (h.dismissedRange = null), h.dismissedRange === null ? (h.active = !0, h.decorationId = d.decorationId || b, h.range = k.range, h.query = k.query, h.text = k.text) : h.active = !1) : (k || (h.dismissedRange = null), h.active = !1);
65278
65264
  } else h.active = !1;
65279
65265
  return h.active || (h.decorationId = null, h.range = {
65280
65266
  from: 0,
@@ -65395,13 +65381,13 @@ function GU2({ editor: e, pluginKey: t, items: i, renderer: r, minQueryLength: a
65395
65381
  floatingUi: V
65396
65382
  });
65397
65383
  function g(h, v) {
65398
- var k, y, A;
65384
+ var k, b, A;
65399
65385
  switch (h) {
65400
65386
  case "started":
65401
65387
  (k = r?.onStart) == null || k.call(r, v);
65402
65388
  break;
65403
65389
  case "updated":
65404
- (y = r?.onUpdate) == null || y.call(r, v);
65390
+ (b = r?.onUpdate) == null || b.call(r, v);
65405
65391
  break;
65406
65392
  case "stopped":
65407
65393
  (A = r?.onExit) == null || A.call(r, v);
@@ -65412,16 +65398,16 @@ function GU2({ editor: e, pluginKey: t, items: i, renderer: r, minQueryLength: a
65412
65398
  }
65413
65399
  return {
65414
65400
  update: async (h, v) => {
65415
- var k, y, A, E;
65416
- const P = t.getState(v), T = t.getState(h.state);
65417
- if (!P || !T) return;
65401
+ var k, b, A, E;
65402
+ const B = t.getState(v), T = t.getState(h.state);
65403
+ if (!B || !T) return;
65418
65404
  let F = null;
65419
- const B = P.query !== T.query, x = P.text !== T.text, R = P.range.from !== T.range.from || P.range.to !== T.range.to, X = B || x || R;
65420
- if (!P.active && T.active) F = "started";
65421
- else if (P.active && !T.active) F = "stopped";
65405
+ const P = B.query !== T.query, x = B.text !== T.text, R = B.range.from !== T.range.from || B.range.to !== T.range.to, X = P || x || R;
65406
+ if (!B.active && T.active) F = "started";
65407
+ else if (B.active && !T.active) F = "stopped";
65422
65408
  else if (T.active && X) F = "updated";
65423
65409
  else return;
65424
- const W = F === "stopped" ? P : T, J = h.dom.querySelector(`[data-decoration-id="${W.decorationId}"]`), r1 = L(h, J), Q = a === 0 || (W.query ? W.query.length >= a : !1), U = (F === "started" || F === "updated") && Q;
65410
+ const W = F === "stopped" ? B : T, J = h.dom.querySelector(`[data-decoration-id="${W.decorationId}"]`), r1 = L(h, J), Q = a === 0 || (W.query ? W.query.length >= a : !1), U = (F === "started" || F === "updated") && Q;
65425
65411
  if (m = {
65426
65412
  editor: e,
65427
65413
  range: W.range,
@@ -65439,7 +65425,7 @@ function GU2({ editor: e, pluginKey: t, items: i, renderer: r, minQueryLength: a
65439
65425
  placement: s,
65440
65426
  offset: {
65441
65427
  mainAxis: (k = l.mainAxis) != null ? k : 4,
65442
- crossAxis: (y = l.crossAxis) != null ? y : 0
65428
+ crossAxis: (b = l.crossAxis) != null ? b : 0
65443
65429
  },
65444
65430
  container: C,
65445
65431
  flip: H,
@@ -65493,13 +65479,13 @@ function GU2({ editor: e, pluginKey: t, items: i, renderer: r, minQueryLength: a
65493
65479
  };
65494
65480
  }
65495
65481
  var KU2 = new X1("suggestion");
65496
- function qU2({ pluginKey: e = KU2, editor: t, char: i = "@", allowSpaces: r = !1, allowToIncludeChar: a = !1, allowedPrefixes: n = [" "], startOfLine: o = !1, decorationTag: s = "span", decorationClass: l = "suggestion", decorationContent: C = "", decorationEmptyClass: H = "is-empty", command: V = () => null, items: d = () => [], minQueryLength: c = 0, debounce: L = 0, initialItems: u, placement: m = "bottom-start", offset: p = {}, container: f, flip: g = !0, floatingUi: h, dismissOnOutsideClick: v = !0, render: k = () => ({}), allow: y = () => !0, findSuggestionMatch: A = BU2, shouldShow: E, shouldResetDismissed: P }) {
65497
- const T = k?.(), F = r && !a, B = (X, W) => RU2(t, X, W, e);
65482
+ function qU2({ pluginKey: e = KU2, editor: t, char: i = "@", allowSpaces: r = !1, allowToIncludeChar: a = !1, allowedPrefixes: n = [" "], startOfLine: o = !1, decorationTag: s = "span", decorationClass: l = "suggestion", decorationContent: C = "", decorationEmptyClass: H = "is-empty", command: V = () => null, items: d = () => [], minQueryLength: c = 0, debounce: L = 0, initialItems: u, placement: m = "bottom-start", offset: p = {}, container: f, flip: g = !0, floatingUi: h, dismissOnOutsideClick: v = !0, render: k = () => ({}), allow: b = () => !0, findSuggestionMatch: A = BU2, shouldShow: E, shouldResetDismissed: B }) {
65483
+ const T = k?.(), F = r && !a, P = (X, W) => RU2(t, X, W, e);
65498
65484
  function x(X) {
65499
65485
  return DU2({
65500
65486
  ...X,
65501
65487
  editor: t,
65502
- shouldResetDismissed: P,
65488
+ shouldResetDismissed: B,
65503
65489
  effectiveAllowSpaces: F
65504
65490
  });
65505
65491
  }
@@ -65524,7 +65510,7 @@ function qU2({ pluginKey: e = KU2, editor: t, char: i = "@", allowSpaces: r = !1
65524
65510
  floatingUi: h,
65525
65511
  dismissOnOutsideClick: v,
65526
65512
  command: V,
65527
- clientRectFor: B,
65513
+ clientRectFor: P,
65528
65514
  dispatchExit: R
65529
65515
  }),
65530
65516
  state: zU2({
@@ -65535,7 +65521,7 @@ function qU2({ pluginKey: e = KU2, editor: t, char: i = "@", allowSpaces: r = !1
65535
65521
  allowedPrefixes: n,
65536
65522
  startOfLine: o,
65537
65523
  findSuggestionMatch: A,
65538
- allow: y,
65524
+ allow: b,
65539
65525
  shouldShow: E,
65540
65526
  shouldKeepDismissed: x,
65541
65527
  pluginKey: e
@@ -69829,7 +69815,7 @@ function xj2(e) {
69829
69815
  1: "keyword",
69830
69816
  3: "title.class"
69831
69817
  }
69832
- }] }, y = {
69818
+ }] }, b = {
69833
69819
  relevance: 0,
69834
69820
  match: t.either(/\bJSON/, /\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/, /\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/, /\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),
69835
69821
  className: "title.class",
@@ -69853,7 +69839,7 @@ function xj2(e) {
69853
69839
  label: "func.def",
69854
69840
  contains: [v],
69855
69841
  illegal: /%/
69856
- }, P = {
69842
+ }, B = {
69857
69843
  relevance: 0,
69858
69844
  match: /\b[A-Z][A-Z_0-9]+\b/,
69859
69845
  className: "variable.constant"
@@ -69869,7 +69855,7 @@ function xj2(e) {
69869
69855
  ].map((W) => `${W}\\s*\\(`)), r, t.lookahead(/\s*\(/)),
69870
69856
  className: "title.function",
69871
69857
  relevance: 0
69872
- }, B = {
69858
+ }, P = {
69873
69859
  begin: t.concat(/\./, t.lookahead(t.concat(r, /(?![0-9A-Za-z$_(])/))),
69874
69860
  end: r,
69875
69861
  excludeBegin: !0,
@@ -69916,7 +69902,7 @@ function xj2(e) {
69916
69902
  keywords: s,
69917
69903
  exports: {
69918
69904
  PARAMS_CONTAINS: h,
69919
- CLASS_REFERENCE: y
69905
+ CLASS_REFERENCE: b
69920
69906
  },
69921
69907
  illegal: /#(?![$_A-z])/,
69922
69908
  contains: [
@@ -69935,7 +69921,7 @@ function xj2(e) {
69935
69921
  p,
69936
69922
  { match: /\$\d+/ },
69937
69923
  V,
69938
- y,
69924
+ b,
69939
69925
  {
69940
69926
  scope: "attr",
69941
69927
  match: r + t.lookahead(":"),
@@ -70023,7 +70009,7 @@ function xj2(e) {
70023
70009
  match: /\.\.\./,
70024
70010
  relevance: 0
70025
70011
  },
70026
- B,
70012
+ P,
70027
70013
  {
70028
70014
  match: "\\$[A-Za-z$_][0-9A-Za-z$_]*",
70029
70015
  relevance: 0
@@ -70034,7 +70020,7 @@ function xj2(e) {
70034
70020
  contains: [v]
70035
70021
  },
70036
70022
  F,
70037
- P,
70023
+ B,
70038
70024
  k,
70039
70025
  x,
70040
70026
  { match: /\$[(.]/ }
@@ -72380,9 +72366,9 @@ function Qj2(e) {
72380
72366
  1: "keyword",
72381
72367
  4: "title.class"
72382
72368
  }
72383
- }] }, y = t.concat(r, "\\b(?!\\()"), A = { variants: [
72369
+ }] }, b = t.concat(r, "\\b(?!\\()"), A = { variants: [
72384
72370
  {
72385
- match: [t.concat(/::/, t.lookahead(/(?!class\b)/)), y],
72371
+ match: [t.concat(/::/, t.lookahead(/(?!class\b)/)), b],
72386
72372
  scope: { 2: "variable.constant" }
72387
72373
  },
72388
72374
  {
@@ -72393,7 +72379,7 @@ function Qj2(e) {
72393
72379
  match: [
72394
72380
  a,
72395
72381
  t.concat(/::/, t.lookahead(/(?!class\b)/)),
72396
- y
72382
+ b
72397
72383
  ],
72398
72384
  scope: {
72399
72385
  1: "title.class",
@@ -72418,7 +72404,7 @@ function Qj2(e) {
72418
72404
  ] }, E = {
72419
72405
  scope: "attr",
72420
72406
  match: t.concat(r, t.lookahead(":"), t.lookahead(/(?!::)/))
72421
- }, P = {
72407
+ }, B = {
72422
72408
  relevance: 0,
72423
72409
  begin: /\(/,
72424
72410
  end: /\)/,
@@ -72442,9 +72428,9 @@ function Qj2(e) {
72442
72428
  t.lookahead(/(?=\()/)
72443
72429
  ],
72444
72430
  scope: { 3: "title.function.invoke" },
72445
- contains: [P]
72431
+ contains: [B]
72446
72432
  };
72447
- P.contains.push(T);
72433
+ B.contains.push(T);
72448
72434
  const F = [
72449
72435
  E,
72450
72436
  A,
@@ -72452,7 +72438,7 @@ function Qj2(e) {
72452
72438
  L,
72453
72439
  u,
72454
72440
  k
72455
- ], B = {
72441
+ ], P = {
72456
72442
  begin: t.concat(/#\[\s*\\?/, t.either(a, n)),
72457
72443
  beginScope: "meta",
72458
72444
  end: /]/,
@@ -72482,7 +72468,7 @@ function Qj2(e) {
72482
72468
  case_insensitive: !1,
72483
72469
  keywords: h,
72484
72470
  contains: [
72485
- B,
72471
+ P,
72486
72472
  e.HASH_COMMENT_MODE,
72487
72473
  e.COMMENT("//", "$"),
72488
72474
  e.COMMENT("/\\*", "\\*/", { contains: [{
@@ -72545,7 +72531,7 @@ function Qj2(e) {
72545
72531
  keywords: h,
72546
72532
  contains: [
72547
72533
  "self",
72548
- B,
72534
+ P,
72549
72535
  o,
72550
72536
  A,
72551
72537
  e.C_BLOCK_COMMENT_MODE,
@@ -75168,8 +75154,8 @@ function LG2(e) {
75168
75154
  match: f(d),
75169
75155
  relevance: 0
75170
75156
  };
75171
- function h(v, { exceptions: k, when: y } = {}) {
75172
- const A = y;
75157
+ function h(v, { exceptions: k, when: b } = {}) {
75158
+ const A = b;
75173
75159
  return k = k || [], v.map((E) => E.match(/\|\d+$/) || k.includes(E) ? E : A(E) ? `${E}|0` : E);
75174
75160
  }
75175
75161
  return {
@@ -75509,7 +75495,7 @@ function AG2(e) {
75509
75495
  end: /\]/,
75510
75496
  relevance: 0,
75511
75497
  contains: [e.BACKSLASH_ESCAPE]
75512
- }], y = {
75498
+ }], b = {
75513
75499
  begin: /\/[^\s](?=[^/\n]*\/)/,
75514
75500
  end: /\//,
75515
75501
  contains: k
@@ -75530,10 +75516,10 @@ function AG2(e) {
75530
75516
  A("###"),
75531
75517
  A("##"),
75532
75518
  A("#"),
75533
- y
75519
+ b
75534
75520
  ]
75535
- }, P = { match: t2(/`/, pe, /`/) }, T = [
75536
- P,
75521
+ }, B = { match: t2(/`/, pe, /`/) }, T = [
75522
+ B,
75537
75523
  {
75538
75524
  className: "variable",
75539
75525
  match: /\$\d+/
@@ -75565,7 +75551,7 @@ function AG2(e) {
75565
75551
  scope: "meta",
75566
75552
  match: t2(/@/, pe)
75567
75553
  }
75568
- ], B = {
75554
+ ], P = {
75569
75555
  match: h7(/\b[A-Z]/),
75570
75556
  relevance: 0,
75571
75557
  contains: [
@@ -75600,10 +75586,10 @@ function AG2(e) {
75600
75586
  ...C,
75601
75587
  ...F,
75602
75588
  V,
75603
- B
75589
+ P
75604
75590
  ]
75605
75591
  };
75606
- B.contains.push(x);
75592
+ P.contains.push(x);
75607
75593
  const R = {
75608
75594
  begin: /\(/,
75609
75595
  end: /\)/,
@@ -75625,13 +75611,13 @@ function AG2(e) {
75625
75611
  v,
75626
75612
  ...T,
75627
75613
  ...F,
75628
- B
75614
+ P
75629
75615
  ]
75630
75616
  }, X = {
75631
75617
  begin: /</,
75632
75618
  end: />/,
75633
75619
  keywords: "repeat each",
75634
- contains: [...r, B]
75620
+ contains: [...r, P]
75635
75621
  }, W = {
75636
75622
  begin: /\(/,
75637
75623
  end: /\)/,
@@ -75655,7 +75641,7 @@ function AG2(e) {
75655
75641
  u,
75656
75642
  v,
75657
75643
  ...F,
75658
- B,
75644
+ P,
75659
75645
  R
75660
75646
  ],
75661
75647
  endsParent: !0,
@@ -75664,7 +75650,7 @@ function AG2(e) {
75664
75650
  match: [
75665
75651
  /(func|macro)/,
75666
75652
  /\s+/,
75667
- V5(P.match, pe, B8)
75653
+ V5(B.match, pe, B8)
75668
75654
  ],
75669
75655
  className: {
75670
75656
  1: "keyword",
@@ -75705,7 +75691,7 @@ function AG2(e) {
75705
75691
  1: "keyword",
75706
75692
  3: "title"
75707
75693
  },
75708
- contains: [B],
75694
+ contains: [P],
75709
75695
  keywords: [...pG2, ...Wl],
75710
75696
  end: /}/
75711
75697
  }, I = {
@@ -75801,7 +75787,7 @@ function AG2(e) {
75801
75787
  v,
75802
75788
  ...T,
75803
75789
  ...F,
75804
- B,
75790
+ P,
75805
75791
  R
75806
75792
  ]
75807
75793
  };
@@ -76108,7 +76094,7 @@ function vG2(e) {
76108
76094
  1: "keyword",
76109
76095
  3: "title.class"
76110
76096
  }
76111
- }] }, y = {
76097
+ }] }, b = {
76112
76098
  relevance: 0,
76113
76099
  match: t.either(/\bJSON/, /\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/, /\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/, /\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),
76114
76100
  className: "title.class",
@@ -76132,7 +76118,7 @@ function vG2(e) {
76132
76118
  label: "func.def",
76133
76119
  contains: [v],
76134
76120
  illegal: /%/
76135
- }, P = {
76121
+ }, B = {
76136
76122
  relevance: 0,
76137
76123
  match: /\b[A-Z][A-Z_0-9]+\b/,
76138
76124
  className: "variable.constant"
@@ -76148,7 +76134,7 @@ function vG2(e) {
76148
76134
  ].map((W) => `${W}\\s*\\(`)), r, t.lookahead(/\s*\(/)),
76149
76135
  className: "title.function",
76150
76136
  relevance: 0
76151
- }, B = {
76137
+ }, P = {
76152
76138
  begin: t.concat(/\./, t.lookahead(t.concat(r, /(?![0-9A-Za-z$_(])/))),
76153
76139
  end: r,
76154
76140
  excludeBegin: !0,
@@ -76195,7 +76181,7 @@ function vG2(e) {
76195
76181
  keywords: s,
76196
76182
  exports: {
76197
76183
  PARAMS_CONTAINS: h,
76198
- CLASS_REFERENCE: y
76184
+ CLASS_REFERENCE: b
76199
76185
  },
76200
76186
  illegal: /#(?![$_A-z])/,
76201
76187
  contains: [
@@ -76214,7 +76200,7 @@ function vG2(e) {
76214
76200
  p,
76215
76201
  { match: /\$\d+/ },
76216
76202
  V,
76217
- y,
76203
+ b,
76218
76204
  {
76219
76205
  scope: "attr",
76220
76206
  match: r + t.lookahead(":"),
@@ -76302,7 +76288,7 @@ function vG2(e) {
76302
76288
  match: /\.\.\./,
76303
76289
  relevance: 0
76304
76290
  },
76305
- B,
76291
+ P,
76306
76292
  {
76307
76293
  match: "\\$[A-Za-z$_][0-9A-Za-z$_]*",
76308
76294
  relevance: 0
@@ -76313,7 +76299,7 @@ function vG2(e) {
76313
76299
  contains: [v]
76314
76300
  },
76315
76301
  F,
76316
- P,
76302
+ B,
76317
76303
  k,
76318
76304
  x,
76319
76305
  { match: /\$[(.]/ }
@@ -77156,8 +77142,8 @@ var PG2 = {
77156
77142
  return r.value && (t.showWordsCount || t.showCharactersCount);
77157
77143
  }
77158
77144
  return (s, l) => o() ? (D(), u1("div", PG2, [M(ee, null, {
77159
- default: b(() => [M(V2, { class: "d-flex justify-end" }, {
77160
- default: b(() => [(D(!0), u1(H1, null, p2(a.value, (C) => (D(), u1(H1, { key: C.text }, [C.enabled ? (D(), u1("span", _G2, $(n(C.text)) + ": " + $(C.value), 1)) : b2("", !0), M($3, {
77145
+ default: y(() => [M(V2, { class: "d-flex justify-end" }, {
77146
+ default: y(() => [(D(!0), u1(H1, null, p2(a.value, (C) => (D(), u1(H1, { key: C.text }, [C.enabled ? (D(), u1("span", _G2, $(n(C.text)) + ": " + $(C.value), 1)) : b2("", !0), M($3, {
77161
77147
  class: "tiptapify-footer--divider",
77162
77148
  vertical: ""
77163
77149
  })], 64))), 128))]),