@myissue/vue-website-page-builder 3.1.52 → 3.1.53

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.
@@ -7,7 +7,7 @@ var fe = (r, e, t) => jg(r, typeof e != "symbol" ? e + "" : e, t), oc = (r, e, t
7
7
  var Ei = (r, e, t) => (oc(r, e, "read from private field"), t ? t.call(r) : e.get(r)), an = (r, e, t) => e.has(r) ? rc("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t);
8
8
  var be = (r, e, t) => (oc(r, e, "access private method"), t);
9
9
  import * as nc from "vue";
10
- import { nextTick as Me, computed as D, ref as x, watchEffect as nt, onMounted as ke, cloneVNode as Hg, h as Ce, Fragment as we, defineComponent as me, inject as Fe, provide as Ve, onUnmounted as kt, watch as pe, shallowRef as du, unref as P, getCurrentInstance as Yl, Teleport as Yo, reactive as cu, toRaw as tt, normalizeClass as Y, effectScope as pu, markRaw as Mr, hasInjectionContext as Vg, isRef as Nn, isReactive as Ql, toRef as xa, getCurrentScope as Wg, onScopeDispose as qg, toRefs as ic, createBlock as Se, openBlock as v, createVNode as $, withCtx as _, withKeys as uu, withModifiers as Po, createElementVNode as m, renderSlot as Kt, createElementBlock as S, createCommentVNode as N, toDisplayString as z, Transition as Rt, onBeforeUnmount as Zs, customRef as Ug, onBeforeMount as Kg, withDirectives as lt, vModelText as Xl, createTextVNode as Ie, resolveDynamicComponent as mu, renderList as Ae, vModelSelect as $t, vShow as Gg, createStaticVNode as sc } from "vue";
10
+ import { nextTick as Me, computed as D, ref as x, watchEffect as nt, onMounted as ke, cloneVNode as Hg, h as Ce, Fragment as we, defineComponent as me, inject as _e, provide as He, onUnmounted as kt, watch as pe, shallowRef as du, unref as P, getCurrentInstance as Yl, Teleport as Yo, reactive as cu, toRaw as tt, normalizeClass as Y, effectScope as pu, markRaw as Mr, hasInjectionContext as Vg, isRef as Nn, isReactive as Ql, toRef as xa, getCurrentScope as Wg, onScopeDispose as qg, toRefs as ic, createBlock as Se, openBlock as v, createVNode as $, withCtx as _, withKeys as uu, withModifiers as Po, createElementVNode as m, renderSlot as Kt, createElementBlock as S, createCommentVNode as N, toDisplayString as z, Transition as Rt, onBeforeUnmount as Zs, customRef as Ug, onBeforeMount as Kg, withDirectives as lt, vModelText as Xl, createTextVNode as Ve, resolveDynamicComponent as mu, renderList as Ae, vModelSelect as $t, vShow as Gg, createStaticVNode as sc } from "vue";
11
11
  const ns = {
12
12
  backgroundColorVariables: [
13
13
  "none",
@@ -1693,13 +1693,13 @@ function U(r) {
1693
1693
  let t = (e = r.value.$el) != null ? e : r.value;
1694
1694
  return t instanceof Node ? t : null;
1695
1695
  }
1696
- function _e(r, e, ...t) {
1696
+ function $e(r, e, ...t) {
1697
1697
  if (r in e) {
1698
1698
  let n = e[r];
1699
1699
  return typeof n == "function" ? n(...t) : n;
1700
1700
  }
1701
1701
  let o = new Error(`Tried to handle "${r}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map((n) => `"${n}"`).join(", ")}.`);
1702
- throw Error.captureStackTrace && Error.captureStackTrace(o, _e), o;
1702
+ throw Error.captureStackTrace && Error.captureStackTrace(o, $e), o;
1703
1703
  }
1704
1704
  var rf = Object.defineProperty, of = (r, e, t) => e in r ? rf(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, cc = (r, e, t) => (of(r, typeof e != "symbol" ? e + "" : e, t), t);
1705
1705
  let nf = class {
@@ -1742,7 +1742,7 @@ function xu(r = document.body) {
1742
1742
  var ea = ((r) => (r[r.Strict = 0] = "Strict", r[r.Loose = 1] = "Loose", r))(ea || {});
1743
1743
  function ta(r, e = 0) {
1744
1744
  var t;
1745
- return r === ((t = zr(r)) == null ? void 0 : t.body) ? !1 : _e(e, { 0() {
1745
+ return r === ((t = zr(r)) == null ? void 0 : t.body) ? !1 : $e(e, { 0() {
1746
1746
  return r.matches(il);
1747
1747
  }, 1() {
1748
1748
  let o = r;
@@ -1899,7 +1899,7 @@ function Pe({ visible: r = !0, features: e = 0, ourProps: t, theirProps: o, ...n
1899
1899
  if (r || e & 2 && s.static) return Sa(a);
1900
1900
  if (e & 1) {
1901
1901
  let l = (i = s.unmount) == null || i ? 0 : 1;
1902
- return _e(l, { 0() {
1902
+ return $e(l, { 0() {
1903
1903
  return null;
1904
1904
  }, 1() {
1905
1905
  return Sa({ ...n, props: { ...s, hidden: !0, style: { display: "none" } } });
@@ -1974,10 +1974,10 @@ function ff() {
1974
1974
  return ri() !== null;
1975
1975
  }
1976
1976
  function ri() {
1977
- return Fe(Pu, null);
1977
+ return _e(Pu, null);
1978
1978
  }
1979
1979
  function od(r) {
1980
- Ve(Pu, r);
1980
+ He(Pu, r);
1981
1981
  }
1982
1982
  var ae = ((r) => (r.Space = " ", r.Enter = "Enter", r.Escape = "Escape", r.Backspace = "Backspace", r.Delete = "Delete", r.ArrowLeft = "ArrowLeft", r.ArrowUp = "ArrowUp", r.ArrowRight = "ArrowRight", r.ArrowDown = "ArrowDown", r.Home = "Home", r.End = "End", r.PageUp = "PageUp", r.PageDown = "PageDown", r.Tab = "Tab", r))(ae || {});
1983
1983
  function bf(r) {
@@ -2074,7 +2074,7 @@ let ln = Object.assign(me({ name: "FocusTrap", props: { as: { type: [Object, Str
2074
2074
  function d(g) {
2075
2075
  let h = U(n);
2076
2076
  h && ((f) => f())(() => {
2077
- _e(l.value, { [mn.Forwards]: () => {
2077
+ $e(l.value, { [mn.Forwards]: () => {
2078
2078
  wn(h, Ut.First, { skipElements: [g.relatedTarget] });
2079
2079
  }, [mn.Backwards]: () => {
2080
2080
  wn(h, Ut.Last, { skipElements: [g.relatedTarget] });
@@ -2092,7 +2092,7 @@ let ln = Object.assign(me({ name: "FocusTrap", props: { as: { type: [Object, Str
2092
2092
  let h = Iu(r.containers);
2093
2093
  U(n) instanceof HTMLElement && h.add(U(n));
2094
2094
  let f = g.relatedTarget;
2095
- f instanceof HTMLElement && f.dataset.headlessuiFocusGuard !== "true" && ($u(h, f) || (c.value ? wn(U(n), _e(l.value, { [mn.Forwards]: () => Ut.Next, [mn.Backwards]: () => Ut.Previous }) | Ut.WrapAround, { relativeTo: g.target }) : g.target instanceof HTMLElement && Dr(g.target)));
2095
+ f instanceof HTMLElement && f.dataset.headlessuiFocusGuard !== "true" && ($u(h, f) || (c.value ? wn(U(n), $e(l.value, { [mn.Forwards]: () => Ut.Next, [mn.Backwards]: () => Ut.Previous }) | Ut.WrapAround, { relativeTo: g.target }) : g.target instanceof HTMLElement && Dr(g.target)));
2096
2096
  }
2097
2097
  return () => {
2098
2098
  let g = {}, h = { ref: n, onKeydown: p, onFocusout: u }, { features: f, initialFocus: b, containers: w, ...k } = r;
@@ -2316,17 +2316,17 @@ function Af({ defaultContainers: r = [], portals: e, mainTreeNodeRef: t } = {})
2316
2316
  }
2317
2317
  let _u = Symbol("ForcePortalRootContext");
2318
2318
  function Lf() {
2319
- return Fe(_u, !1);
2319
+ return _e(_u, !1);
2320
2320
  }
2321
2321
  let sl = me({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(r, { slots: e, attrs: t }) {
2322
- return Ve(_u, r.force), () => {
2322
+ return He(_u, r.force), () => {
2323
2323
  let { force: o, ...n } = r;
2324
2324
  return Pe({ theirProps: n, ourProps: {}, slot: {}, slots: e, attrs: t, name: "ForcePortalRoot" });
2325
2325
  };
2326
2326
  } }), Fu = Symbol("StackContext");
2327
2327
  var al = ((r) => (r[r.Add = 0] = "Add", r[r.Remove = 1] = "Remove", r))(al || {});
2328
2328
  function Df() {
2329
- return Fe(Fu, () => {
2329
+ return _e(Fu, () => {
2330
2330
  });
2331
2331
  }
2332
2332
  function Nf({ type: r, enabled: e, element: t, onUpdate: o }) {
@@ -2340,11 +2340,11 @@ function Nf({ type: r, enabled: e, element: t, onUpdate: o }) {
2340
2340
  }, { immediate: !0, flush: "sync" });
2341
2341
  }), kt(() => {
2342
2342
  e.value && i(1, r, t);
2343
- }), Ve(Fu, i);
2343
+ }), He(Fu, i);
2344
2344
  }
2345
2345
  let zu = Symbol("DescriptionContext");
2346
2346
  function If() {
2347
- let r = Fe(zu, null);
2347
+ let r = _e(zu, null);
2348
2348
  if (r === null) throw new Error("Missing parent");
2349
2349
  return r;
2350
2350
  }
@@ -2356,7 +2356,7 @@ function Rf({ slot: r = x({}), name: e = "Description", props: t = {} } = {}) {
2356
2356
  s !== -1 && o.value.splice(s, 1);
2357
2357
  };
2358
2358
  }
2359
- return Ve(zu, { register: n, slot: r, name: e, props: t }), D(() => o.value.length > 0 ? o.value.join(" ") : void 0);
2359
+ return He(zu, { register: n, slot: r, name: e, props: t }), D(() => o.value.length > 0 ? o.value.join(" ") : void 0);
2360
2360
  }
2361
2361
  me({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t }) {
2362
2362
  var o;
@@ -2387,7 +2387,7 @@ function hc(r, e) {
2387
2387
  return t <= 0 ? ll.delete(r) : ll.set(r, t), t;
2388
2388
  }
2389
2389
  let ju = me({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(r, { slots: e, attrs: t }) {
2390
- let o = x(null), n = D(() => zr(o)), i = Lf(), s = Fe(Hu, null), a = x(i === !0 || s == null ? $f(o.value) : s.resolveTarget());
2390
+ let o = x(null), n = D(() => zr(o)), i = Lf(), s = _e(Hu, null), a = x(i === !0 || s == null ? $f(o.value) : s.resolveTarget());
2391
2391
  a.value && hc(a.value, (u) => u + 1);
2392
2392
  let l = x(!1);
2393
2393
  ke(() => {
@@ -2395,7 +2395,7 @@ let ju = me({ name: "Portal", props: { as: { type: [Object, String], default: "d
2395
2395
  }), nt(() => {
2396
2396
  i || s != null && (a.value = s.resolveTarget());
2397
2397
  });
2398
- let d = Fe(dl, null), c = !1, p = Yl();
2398
+ let d = _e(dl, null), c = !1, p = Yl();
2399
2399
  return pe(o, () => {
2400
2400
  if (c || !d) return;
2401
2401
  let u = U(o);
@@ -2411,7 +2411,7 @@ let ju = me({ name: "Portal", props: { as: { type: [Object, String], default: "d
2411
2411
  };
2412
2412
  } }), dl = Symbol("PortalParentContext");
2413
2413
  function Ff() {
2414
- let r = Fe(dl, null), e = x([]);
2414
+ let r = _e(dl, null), e = x([]);
2415
2415
  function t(i) {
2416
2416
  return e.value.push(i), r && r.register(i), () => o(i);
2417
2417
  }
@@ -2421,7 +2421,7 @@ function Ff() {
2421
2421
  }
2422
2422
  let n = { register: t, unregister: o, portals: e };
2423
2423
  return [e, me({ name: "PortalWrapper", setup(i, { slots: s }) {
2424
- return Ve(dl, n), () => {
2424
+ return He(dl, n), () => {
2425
2425
  var a;
2426
2426
  return (a = s.default) == null ? void 0 : a.call(s);
2427
2427
  };
@@ -2431,7 +2431,7 @@ let Hu = Symbol("PortalGroupContext"), zf = me({ name: "PortalGroup", props: { a
2431
2431
  let o = cu({ resolveTarget() {
2432
2432
  return r.target;
2433
2433
  } });
2434
- return Ve(Hu, o), () => {
2434
+ return He(Hu, o), () => {
2435
2435
  let { target: n, ...i } = r;
2436
2436
  return Pe({ theirProps: i, ourProps: {}, slot: {}, attrs: e, slots: t, name: "PortalGroup" });
2437
2437
  };
@@ -2439,7 +2439,7 @@ let Hu = Symbol("PortalGroupContext"), zf = me({ name: "PortalGroup", props: { a
2439
2439
  var jf = ((r) => (r[r.Open = 0] = "Open", r[r.Closed = 1] = "Closed", r))(jf || {});
2440
2440
  let cl = Symbol("DialogContext");
2441
2441
  function oi(r) {
2442
- let e = Fe(cl, null);
2442
+ let e = _e(cl, null);
2443
2443
  if (e === null) {
2444
2444
  let t = new Error(`<${r} /> is missing a parent <Dialog /> component.`);
2445
2445
  throw Error.captureStackTrace && Error.captureStackTrace(t, oi), t;
@@ -2455,7 +2455,7 @@ let Bi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", ni = me({ name: "Dialog", inher
2455
2455
  let d = !1, c = D(() => r.role === "dialog" || r.role === "alertdialog" ? r.role : (d || (d = !0, console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), p = x(0), u = ri(), g = D(() => r.open === Bi && u !== null ? (u.value & Be.Open) === Be.Open : r.open), h = x(null), f = D(() => zr(h));
2456
2456
  if (n({ el: h, $el: h }), !(r.open !== Bi || u !== null)) throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
2457
2457
  if (typeof g.value != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${g.value === Bi ? void 0 : r.open}`);
2458
- let b = D(() => l.value && g.value ? 0 : 1), w = D(() => b.value === 0), k = D(() => p.value > 1), M = Fe(cl, null) !== null, [y, A] = Ff(), { resolveContainers: C, mainTreeNodeRef: T, MainTreeNode: E } = Af({ portals: y, defaultContainers: [D(() => {
2458
+ let b = D(() => l.value && g.value ? 0 : 1), w = D(() => b.value === 0), k = D(() => p.value > 1), M = _e(cl, null) !== null, [y, A] = Ff(), { resolveContainers: C, mainTreeNodeRef: T, MainTreeNode: E } = Af({ portals: y, defaultContainers: [D(() => {
2459
2459
  var ne;
2460
2460
  return (ne = ie.panelRef.value) != null ? ne : h.value;
2461
2461
  })] }), F = D(() => k.value ? "parent" : "leaf"), B = D(() => u !== null ? (u.value & Be.Closing) === Be.Closing : !1), O = D(() => M || B.value ? !1 : w.value), H = D(() => {
@@ -2468,14 +2468,14 @@ let Bi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", ni = me({ name: "Dialog", inher
2468
2468
  return (De = Array.from((ce = (ne = f.value) == null ? void 0 : ne.querySelectorAll("[data-headlessui-portal]")) != null ? ce : []).find((Ee) => Ee.contains(U(T)) && Ee instanceof HTMLElement)) != null ? De : null;
2469
2469
  });
2470
2470
  mc(re, q), Nf({ type: "Dialog", enabled: D(() => b.value === 0), element: h, onUpdate: (ne, ce) => {
2471
- if (ce === "Dialog") return _e(ne, { [al.Add]: () => p.value += 1, [al.Remove]: () => p.value -= 1 });
2471
+ if (ce === "Dialog") return $e(ne, { [al.Add]: () => p.value += 1, [al.Remove]: () => p.value -= 1 });
2472
2472
  } });
2473
2473
  let J = Rf({ name: "DialogDescription", slot: D(() => ({ open: g.value })) }), X = x(null), ie = { titleId: X, panelRef: x(null), dialogState: b, setTitleId(ne) {
2474
2474
  X.value !== ne && (X.value = ne);
2475
2475
  }, close() {
2476
2476
  e("close", !1);
2477
2477
  } };
2478
- Ve(cl, ie);
2478
+ He(cl, ie);
2479
2479
  let ue = D(() => !(!w.value || k.value));
2480
2480
  td(C, (ne, ce) => {
2481
2481
  ne.preventDefault(), ie.close(), Me(() => ce == null ? void 0 : ce.focus());
@@ -2501,7 +2501,7 @@ let Bi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", ni = me({ name: "Dialog", inher
2501
2501
  De.observe(ce), ne(() => De.disconnect());
2502
2502
  }), () => {
2503
2503
  let { open: ne, initialFocus: ce, ...De } = r, Ee = { ...t, ref: h, id: a, role: c.value, "aria-modal": b.value === 0 ? !0 : void 0, "aria-labelledby": X.value, "aria-describedby": J.value }, st = { open: b.value === 0 };
2504
- return Ce(sl, { force: !0 }, () => [Ce(ju, () => Ce(zf, { target: h.value }, () => Ce(sl, { force: !1 }, () => Ce(ln, { initialFocus: ce, containers: C, features: w.value ? _e(F.value, { parent: ln.features.RestoreFocus, leaf: ln.features.All & ~ln.features.FocusLock }) : ln.features.None }, () => Ce(A, {}, () => Pe({ ourProps: Ee, theirProps: { ...De, ...t }, slot: st, attrs: t, slots: o, visible: b.value === 0, features: _r.RenderStrategy | _r.Static, name: "Dialog" })))))), Ce(E)]);
2504
+ return Ce(sl, { force: !0 }, () => [Ce(ju, () => Ce(zf, { target: h.value }, () => Ce(sl, { force: !1 }, () => Ce(ln, { initialFocus: ce, containers: C, features: w.value ? $e(F.value, { parent: ln.features.RestoreFocus, leaf: ln.features.All & ~ln.features.FocusLock }) : ln.features.None }, () => Ce(A, {}, () => Pe({ ourProps: Ee, theirProps: { ...De, ...t }, slot: st, attrs: t, slots: o, visible: b.value === 0, features: _r.RenderStrategy | _r.Static, name: "Dialog" })))))), Ce(E)]);
2505
2505
  };
2506
2506
  } }), nd = me({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t }) {
2507
2507
  var o;
@@ -2591,7 +2591,7 @@ function Kf(r) {
2591
2591
  }
2592
2592
  let qu = Symbol("ListboxContext");
2593
2593
  function ii(r) {
2594
- let e = Fe(qu, null);
2594
+ let e = _e(qu, null);
2595
2595
  if (e === null) {
2596
2596
  let t = new Error(`<${r} /> is missing a parent <Listbox /> component.`);
2597
2597
  throw Error.captureStackTrace && Error.captureStackTrace(t, ii), t;
@@ -2604,7 +2604,7 @@ let si = me({ name: "Listbox", emits: { "update:modelValue": (r) => !0 }, props:
2604
2604
  let y = c.value !== null ? l.value[c.value] : null, A = ed(M(l.value.slice()), (T) => U(T.dataRef.domRef)), C = y ? A.indexOf(y) : null;
2605
2605
  return C === -1 && (C = null), { options: A, activeOptionIndex: C };
2606
2606
  }
2607
- let g = D(() => r.multiple ? 1 : 0), [h, f] = Zg(D(() => r.modelValue), (M) => o("update:modelValue", M), D(() => r.defaultValue)), b = D(() => h.value === void 0 ? _e(g.value, { 1: [], 0: void 0 }) : h.value), w = { listboxState: n, value: b, mode: g, compare(M, y) {
2607
+ let g = D(() => r.multiple ? 1 : 0), [h, f] = Zg(D(() => r.modelValue), (M) => o("update:modelValue", M), D(() => r.defaultValue)), b = D(() => h.value === void 0 ? $e(g.value, { 1: [], 0: void 0 }) : h.value), w = { listboxState: n, value: b, mode: g, compare(M, y) {
2608
2608
  if (typeof r.by == "string") {
2609
2609
  let A = r.by;
2610
2610
  return (M == null ? void 0 : M[A]) === (y == null ? void 0 : y[A]);
@@ -2638,7 +2638,7 @@ let si = me({ name: "Listbox", emits: { "update:modelValue": (r) => !0 }, props:
2638
2638
  }, theirOnChange(M) {
2639
2639
  r.disabled || f(M);
2640
2640
  }, select(M) {
2641
- r.disabled || f(_e(g.value, { 0: () => M, 1: () => {
2641
+ r.disabled || f($e(g.value, { 0: () => M, 1: () => {
2642
2642
  let y = tt(w.value.value).slice(), A = tt(M), C = y.findIndex((T) => w.compare(A, tt(T)));
2643
2643
  return C === -1 ? y.push(A) : y.splice(C, 1), y;
2644
2644
  } }));
@@ -2646,7 +2646,7 @@ let si = me({ name: "Listbox", emits: { "update:modelValue": (r) => !0 }, props:
2646
2646
  td([s, a], (M, y) => {
2647
2647
  var A;
2648
2648
  w.closeListbox(), ta(y, ea.Loose) || (M.preventDefault(), (A = U(s)) == null || A.focus());
2649
- }, D(() => n.value === 0)), Ve(qu, w), od(D(() => _e(n.value, { 0: Be.Open, 1: Be.Closed })));
2649
+ }, D(() => n.value === 0)), He(qu, w), od(D(() => $e(n.value, { 0: Be.Open, 1: Be.Closed })));
2650
2650
  let k = D(() => {
2651
2651
  var M;
2652
2652
  return (M = U(s)) == null ? void 0 : M.closest("form");
@@ -2741,9 +2741,9 @@ let ai = me({ name: "ListboxButton", props: { as: { type: [Object, String], defa
2741
2741
  return (u = U(s.buttonRef)) == null ? void 0 : u.focus({ preventScroll: !0 });
2742
2742
  }));
2743
2743
  break;
2744
- case _e(s.orientation.value, { vertical: ae.ArrowDown, horizontal: ae.ArrowRight }):
2744
+ case $e(s.orientation.value, { vertical: ae.ArrowDown, horizontal: ae.ArrowRight }):
2745
2745
  return p.preventDefault(), p.stopPropagation(), s.goToOption(ye.Next);
2746
- case _e(s.orientation.value, { vertical: ae.ArrowUp, horizontal: ae.ArrowLeft }):
2746
+ case $e(s.orientation.value, { vertical: ae.ArrowUp, horizontal: ae.ArrowLeft }):
2747
2747
  return p.preventDefault(), p.stopPropagation(), s.goToOption(ye.Previous);
2748
2748
  case ae.Home:
2749
2749
  case ae.PageUp:
@@ -2775,7 +2775,7 @@ let ai = me({ name: "ListboxButton", props: { as: { type: [Object, String], defa
2775
2775
  var n;
2776
2776
  let i = (n = r.id) != null ? n : `headlessui-listbox-option-${yt()}`, s = ii("ListboxOption"), a = x(null);
2777
2777
  o({ el: a, $el: a });
2778
- let l = D(() => s.activeOptionIndex.value !== null ? s.options.value[s.activeOptionIndex.value].id === i : !1), d = D(() => _e(s.mode.value, { 0: () => s.compare(tt(s.value.value), tt(r.value)), 1: () => tt(s.value.value).some((M) => s.compare(tt(M), tt(r.value))) })), c = D(() => _e(s.mode.value, { 1: () => {
2778
+ let l = D(() => s.activeOptionIndex.value !== null ? s.options.value[s.activeOptionIndex.value].id === i : !1), d = D(() => $e(s.mode.value, { 0: () => s.compare(tt(s.value.value), tt(r.value)), 1: () => tt(s.value.value).some((M) => s.compare(tt(M), tt(r.value))) })), c = D(() => $e(s.mode.value, { 1: () => {
2779
2779
  var M;
2780
2780
  let y = tt(s.value.value);
2781
2781
  return ((M = s.options.value.find((A) => y.some((C) => s.compare(tt(C), tt(A.dataRef.value))))) == null ? void 0 : M.id) === i;
@@ -2784,7 +2784,7 @@ let ai = me({ name: "ListboxButton", props: { as: { type: [Object, String], defa
2784
2784
  }, domRef: a }));
2785
2785
  ke(() => s.registerOption(i, u)), kt(() => s.unregisterOption(i)), ke(() => {
2786
2786
  pe([s.listboxState, d], () => {
2787
- s.listboxState.value === 0 && d.value && _e(s.mode.value, { 1: () => {
2787
+ s.listboxState.value === 0 && d.value && $e(s.mode.value, { 1: () => {
2788
2788
  c.value && s.goToOption(ye.Specific, i);
2789
2789
  }, 0: () => {
2790
2790
  s.goToOption(ye.Specific, i);
@@ -2828,7 +2828,7 @@ function Yf(r) {
2828
2828
  }
2829
2829
  let Uu = Symbol("MenuContext");
2830
2830
  function ra(r) {
2831
- let e = Fe(Uu, null);
2831
+ let e = _e(Uu, null);
2832
2832
  if (e === null) {
2833
2833
  let t = new Error(`<${r} /> is missing a parent <Menu /> component.`);
2834
2834
  throw Error.captureStackTrace && Error.captureStackTrace(t, ra), t;
@@ -2866,7 +2866,7 @@ let Qf = me({ name: "Menu", props: { as: { type: [Object, String], default: "tem
2866
2866
  return td([n, i], (u, g) => {
2867
2867
  var h;
2868
2868
  p.closeMenu(), ta(g, ea.Loose) || (u.preventDefault(), (h = U(n)) == null || h.focus());
2869
- }, D(() => o.value === 0)), Ve(Uu, p), od(D(() => _e(o.value, { 0: Be.Open, 1: Be.Closed }))), () => {
2869
+ }, D(() => o.value === 0)), He(Uu, p), od(D(() => $e(o.value, { 0: Be.Open, 1: Be.Closed }))), () => {
2870
2870
  let u = { open: o.value === 0, close: p.closeMenu };
2871
2871
  return Pe({ ourProps: {}, theirProps: r, slot: u, slots: e, attrs: t, name: "Menu" });
2872
2872
  };
@@ -3042,15 +3042,15 @@ function Kr(r = "") {
3042
3042
  let sd = Symbol("TransitionContext");
3043
3043
  var r1 = ((r) => (r.Visible = "visible", r.Hidden = "hidden", r))(r1 || {});
3044
3044
  function o1() {
3045
- return Fe(sd, null) !== null;
3045
+ return _e(sd, null) !== null;
3046
3046
  }
3047
3047
  function n1() {
3048
- let r = Fe(sd, null);
3048
+ let r = _e(sd, null);
3049
3049
  if (r === null) throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
3050
3050
  return r;
3051
3051
  }
3052
3052
  function i1() {
3053
- let r = Fe(ad, null);
3053
+ let r = _e(ad, null);
3054
3054
  if (r === null) throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
3055
3055
  return r;
3056
3056
  }
@@ -3063,7 +3063,7 @@ function Ku(r) {
3063
3063
  ke(() => t.value = !0), kt(() => t.value = !1);
3064
3064
  function o(i, s = Tr.Hidden) {
3065
3065
  let a = e.value.findIndex(({ id: l }) => l === i);
3066
- a !== -1 && (_e(s, { [Tr.Unmount]() {
3066
+ a !== -1 && ($e(s, { [Tr.Unmount]() {
3067
3067
  e.value.splice(a, 1);
3068
3068
  }, [Tr.Hidden]() {
3069
3069
  e.value[a].state = "hidden";
@@ -3104,7 +3104,7 @@ let Gu = _r.RenderStrategy, mr = me({ props: { as: { type: [Object, String], def
3104
3104
  b.value = "visible";
3105
3105
  return;
3106
3106
  }
3107
- _e(b.value, { hidden: () => f(k), visible: () => h(k) });
3107
+ $e(b.value, { hidden: () => f(k), visible: () => h(k) });
3108
3108
  }
3109
3109
  });
3110
3110
  let A = Kr(r.enter), C = Kr(r.enterFrom), T = Kr(r.enterTo), E = Kr(r.entered), F = Kr(r.leave), B = Kr(r.leaveFrom), O = Kr(r.leaveTo);
@@ -3128,7 +3128,7 @@ let Gu = _r.RenderStrategy, mr = me({ props: { as: { type: [Object, String], def
3128
3128
  pe([u], (q, re, J) => {
3129
3129
  H(J), w.value = !1;
3130
3130
  }, { immediate: !0 });
3131
- }), Ve(ad, y), od(D(() => _e(b.value, { visible: Be.Open, hidden: Be.Closed }) | i.value)), () => {
3131
+ }), He(ad, y), od(D(() => $e(b.value, { visible: Be.Open, hidden: Be.Closed }) | i.value)), () => {
3132
3132
  let { appear: q, show: re, enter: J, enterFrom: X, enterTo: ie, entered: ue, leave: oe, leaveFrom: le, leaveTo: ne, ...ce } = r, De = { ref: c }, Ee = { ...ce, ...g.value && u.value && ti.isServer ? { class: Y([t.class, ce.class, ...A, ...C]) } : {} };
3133
3133
  return Pe({ theirProps: Ee, ourProps: De, slot: {}, slots: o, attrs: t, features: Gu, visible: b.value === "visible", name: "TransitionChild" });
3134
3134
  };
@@ -3144,7 +3144,7 @@ let Gu = _r.RenderStrategy, mr = me({ props: { as: { type: [Object, String], def
3144
3144
  nt(() => {
3145
3145
  l.value = !1, i.value ? s.value = "visible" : oa(a) || (s.value = "hidden");
3146
3146
  });
3147
- }), Ve(ad, a), Ve(sd, d), () => {
3147
+ }), He(ad, a), He(sd, d), () => {
3148
3148
  let c = rd(r, ["show", "appear", "unmount", "onBeforeEnter", "onBeforeLeave", "onAfterEnter", "onAfterLeave"]), p = { unmount: r.unmount };
3149
3149
  return Pe({ ourProps: { ...p, as: "template" }, theirProps: {}, slot: {}, slots: { ...o, default: () => [Ce(s1, { onBeforeEnter: () => e("beforeEnter"), onAfterEnter: () => e("afterEnter"), onBeforeLeave: () => e("beforeLeave"), onAfterLeave: () => e("afterLeave"), ...t, ...p, ...c }, o.default)] }, attrs: {}, features: Gu, visible: s.value === "visible", name: "Transition" });
3150
3150
  };
@@ -3346,7 +3346,7 @@ function b1(r, e, t, o) {
3346
3346
  }, 4e4);
3347
3347
  }
3348
3348
  }
3349
- function je(r, e) {
3349
+ function ze(r, e) {
3350
3350
  const t = "🍍 " + r;
3351
3351
  typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(t, e) : e === "error" ? console.error(t) : e === "warn" ? console.warn(t) : console.log(t);
3352
3352
  }
@@ -3355,29 +3355,29 @@ function dd(r) {
3355
3355
  }
3356
3356
  function tm() {
3357
3357
  if (!("clipboard" in navigator))
3358
- return je("Your browser doesn't support the Clipboard API", "error"), !0;
3358
+ return ze("Your browser doesn't support the Clipboard API", "error"), !0;
3359
3359
  }
3360
3360
  function rm(r) {
3361
- return r instanceof Error && r.message.toLowerCase().includes("document is not focused") ? (je('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
3361
+ return r instanceof Error && r.message.toLowerCase().includes("document is not focused") ? (ze('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
3362
3362
  }
3363
3363
  async function y1(r) {
3364
3364
  if (!tm())
3365
3365
  try {
3366
- await navigator.clipboard.writeText(JSON.stringify(r.state.value)), je("Global state copied to clipboard.");
3366
+ await navigator.clipboard.writeText(JSON.stringify(r.state.value)), ze("Global state copied to clipboard.");
3367
3367
  } catch (e) {
3368
3368
  if (rm(e))
3369
3369
  return;
3370
- je("Failed to serialize the state. Check the console for more details.", "error"), console.error(e);
3370
+ ze("Failed to serialize the state. Check the console for more details.", "error"), console.error(e);
3371
3371
  }
3372
3372
  }
3373
3373
  async function w1(r) {
3374
3374
  if (!tm())
3375
3375
  try {
3376
- om(r, JSON.parse(await navigator.clipboard.readText())), je("Global state pasted from clipboard.");
3376
+ om(r, JSON.parse(await navigator.clipboard.readText())), ze("Global state pasted from clipboard.");
3377
3377
  } catch (e) {
3378
3378
  if (rm(e))
3379
3379
  return;
3380
- je("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(e);
3380
+ ze("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(e);
3381
3381
  }
3382
3382
  }
3383
3383
  async function v1(r) {
@@ -3386,7 +3386,7 @@ async function v1(r) {
3386
3386
  type: "text/plain;charset=utf-8"
3387
3387
  }), "pinia-state.json");
3388
3388
  } catch (e) {
3389
- je("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(e);
3389
+ ze("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(e);
3390
3390
  }
3391
3391
  }
3392
3392
  let rr;
@@ -3411,9 +3411,9 @@ async function k1(r) {
3411
3411
  if (!t)
3412
3412
  return;
3413
3413
  const { text: o, file: n } = t;
3414
- om(r, JSON.parse(o)), je(`Global state imported from "${n.name}".`);
3414
+ om(r, JSON.parse(o)), ze(`Global state imported from "${n.name}".`);
3415
3415
  } catch (e) {
3416
- je("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(e);
3416
+ ze("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(e);
3417
3417
  }
3418
3418
  }
3419
3419
  function om(r, e) {
@@ -3512,7 +3512,7 @@ function O1(r, e) {
3512
3512
  componentStateTypes: Yi,
3513
3513
  app: r
3514
3514
  }, (t) => {
3515
- typeof t.now != "function" && je("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), t.addTimelineLayer({
3515
+ typeof t.now != "function" && ze("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), t.addTimelineLayer({
3516
3516
  id: Jr,
3517
3517
  label: "Pinia 🍍",
3518
3518
  color: 15064968
@@ -3557,7 +3557,7 @@ function O1(r, e) {
3557
3557
  tooltip: 'Reset the state (with "$reset")',
3558
3558
  action: (o) => {
3559
3559
  const n = e._s.get(o);
3560
- n ? typeof n.$reset != "function" ? je(`Cannot reset "${o}" store because it doesn't have a "$reset" method implemented.`, "warn") : (n.$reset(), je(`Store "${o}" reset.`)) : je(`Cannot reset "${o}" store because it wasn't found.`, "warn");
3560
+ n ? typeof n.$reset != "function" ? ze(`Cannot reset "${o}" store because it doesn't have a "$reset" method implemented.`, "warn") : (n.$reset(), ze(`Store "${o}" reset.`)) : ze(`Cannot reset "${o}" store because it wasn't found.`, "warn");
3561
3561
  }
3562
3562
  }
3563
3563
  ]
@@ -3616,7 +3616,7 @@ function O1(r, e) {
3616
3616
  if (o.app === r && o.inspectorId === rt) {
3617
3617
  const i = o.nodeId === Ji ? e : e._s.get(o.nodeId);
3618
3618
  if (!i)
3619
- return je(`store "${o.nodeId}" not found`, "error");
3619
+ return ze(`store "${o.nodeId}" not found`, "error");
3620
3620
  const { path: s } = o;
3621
3621
  dd(i) ? s.unshift("state") : (s.length !== 1 || !i._customProperties.has(s[0]) || s[0] in i.$state) && s.unshift("$state"), No = !1, o.set(i, s, o.state.value), No = !0;
3622
3622
  }
@@ -3624,10 +3624,10 @@ function O1(r, e) {
3624
3624
  if (o.type.startsWith("🍍")) {
3625
3625
  const n = o.type.replace(/^🍍\s*/, ""), i = e._s.get(n);
3626
3626
  if (!i)
3627
- return je(`store "${n}" not found`, "error");
3627
+ return ze(`store "${n}" not found`, "error");
3628
3628
  const { path: s } = o;
3629
3629
  if (s[0] !== "state")
3630
- return je(`Invalid path for store "${n}":
3630
+ return ze(`Invalid path for store "${n}":
3631
3631
  ${s}
3632
3632
  Only state can be modified.`);
3633
3633
  s[0] = "$state", No = !1, o.set(i, s, o.state.value), No = !0;
@@ -3761,8 +3761,8 @@ function P1(r, e) {
3761
3761
  });
3762
3762
  const { $dispose: i } = e;
3763
3763
  e.$dispose = () => {
3764
- i(), t.notifyComponentUpdate(), t.sendInspectorTree(rt), t.sendInspectorState(rt), t.getSettings().logStoreChanges && je(`Disposed "${e.$id}" store 🗑`);
3765
- }, t.notifyComponentUpdate(), t.sendInspectorTree(rt), t.sendInspectorState(rt), t.getSettings().logStoreChanges && je(`"${e.$id}" store installed 🆕`);
3764
+ i(), t.notifyComponentUpdate(), t.sendInspectorTree(rt), t.sendInspectorState(rt), t.getSettings().logStoreChanges && ze(`Disposed "${e.$id}" store 🗑`);
3765
+ }, t.notifyComponentUpdate(), t.sendInspectorTree(rt), t.sendInspectorState(rt), t.getSettings().logStoreChanges && ze(`"${e.$id}" store installed 🆕`);
3766
3766
  });
3767
3767
  }
3768
3768
  let im = 0, Pr;
@@ -4082,7 +4082,7 @@ function I1(r, e, t) {
4082
4082
  const d = Vg();
4083
4083
  if (a = // in test mode, ignore the argument provided as we can always retrieve a
4084
4084
  // pinia instance with getActivePinia()
4085
- (process.env.NODE_ENV === "test" && hn && hn._testing ? null : a) || (d ? Fe(Qu, null) : null), a && Rn(a), process.env.NODE_ENV !== "production" && !hn)
4085
+ (process.env.NODE_ENV === "test" && hn && hn._testing ? null : a) || (d ? _e(Qu, null) : null), a && Rn(a), process.env.NODE_ENV !== "production" && !hn)
4086
4086
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
4087
4087
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
4088
4088
  This will fail in production.`);
@@ -4768,11 +4768,11 @@ const R1 = /* @__PURE__ */ I1("pageBuilderState", {
4768
4768
  ],
4769
4769
  setup(r, { emit: e }) {
4770
4770
  const t = e, o = function() {
4771
- console.log("firstButtonBuilder VUE.js raaan"), t("firstModalButtonFunctionDynamicModalBuilder");
4771
+ console.log("VUE.js DynamicModalBuilder — firstButtonBuilder raaan"), t("firstModalButtonFunctionDynamicModalBuilder");
4772
4772
  }, n = function() {
4773
- console.log("secondButtonBuilder VUE.js raaan"), t("secondModalButtonFunctionDynamicModalBuilder");
4773
+ console.log(" VUE.js DynamicModalBuilder — secondButtonBuilder raaan"), t("secondModalButtonFunctionDynamicModalBuilder");
4774
4774
  }, i = function() {
4775
- console.log("thirdButtonBuilder VUE.js raaan"), t("thirdModalButtonFunctionDynamicModalBuilder");
4775
+ console.log(" VUE.js DynamicModalBuilder — thirdButtonBuilder raaan"), t("thirdModalButtonFunctionDynamicModalBuilder");
4776
4776
  };
4777
4777
  return (s, a) => (v(), Se(pm, {
4778
4778
  showModalBuilder: r.showDynamicModalBuilder,
@@ -8269,7 +8269,7 @@ class it {
8269
8269
  return Ba[e] = t, t.prototype.jsonID = e, t;
8270
8270
  }
8271
8271
  }
8272
- class Re {
8272
+ class Ie {
8273
8273
  /**
8274
8274
  @internal
8275
8275
  */
@@ -8280,13 +8280,13 @@ class Re {
8280
8280
  Create a successful step result.
8281
8281
  */
8282
8282
  static ok(e) {
8283
- return new Re(e, null);
8283
+ return new Ie(e, null);
8284
8284
  }
8285
8285
  /**
8286
8286
  Create a failed step result.
8287
8287
  */
8288
8288
  static fail(e) {
8289
- return new Re(null, e);
8289
+ return new Ie(null, e);
8290
8290
  }
8291
8291
  /**
8292
8292
  Call [`Node.replace`](https://prosemirror.net/docs/ref/#model.Node.replace) with the given
@@ -8295,10 +8295,10 @@ class Re {
8295
8295
  */
8296
8296
  static fromReplace(e, t, o, n) {
8297
8297
  try {
8298
- return Re.ok(e.replace(t, o, n));
8298
+ return Ie.ok(e.replace(t, o, n));
8299
8299
  } catch (i) {
8300
8300
  if (i instanceof ds)
8301
- return Re.fail(i.message);
8301
+ return Ie.fail(i.message);
8302
8302
  throw i;
8303
8303
  }
8304
8304
  }
@@ -8320,7 +8320,7 @@ class Br extends it {
8320
8320
  }
8321
8321
  apply(e) {
8322
8322
  let t = e.slice(this.from, this.to), o = e.resolve(this.from), n = o.node(o.sharedDepth(this.to)), i = new j(cd(t.content, (s, a) => !s.isAtom || !a.type.allowsMarkType(this.mark.type) ? s : s.mark(this.mark.addToSet(s.marks)), n), t.openStart, t.openEnd);
8323
- return Re.fromReplace(e, this.from, this.to, i);
8323
+ return Ie.fromReplace(e, this.from, this.to, i);
8324
8324
  }
8325
8325
  invert() {
8326
8326
  return new Gt(this.from, this.to, this.mark);
@@ -8359,7 +8359,7 @@ class Gt extends it {
8359
8359
  }
8360
8360
  apply(e) {
8361
8361
  let t = e.slice(this.from, this.to), o = new j(cd(t.content, (n) => n.mark(this.mark.removeFromSet(n.marks)), e), t.openStart, t.openEnd);
8362
- return Re.fromReplace(e, this.from, this.to, o);
8362
+ return Ie.fromReplace(e, this.from, this.to, o);
8363
8363
  }
8364
8364
  invert() {
8365
8365
  return new Br(this.from, this.to, this.mark);
@@ -8399,9 +8399,9 @@ class Ar extends it {
8399
8399
  apply(e) {
8400
8400
  let t = e.nodeAt(this.pos);
8401
8401
  if (!t)
8402
- return Re.fail("No node at mark step's position");
8402
+ return Ie.fail("No node at mark step's position");
8403
8403
  let o = t.type.create(t.attrs, null, this.mark.addToSet(t.marks));
8404
- return Re.fromReplace(e, this.pos, this.pos + 1, new j(I.from(o), 0, t.isLeaf ? 0 : 1));
8404
+ return Ie.fromReplace(e, this.pos, this.pos + 1, new j(I.from(o), 0, t.isLeaf ? 0 : 1));
8405
8405
  }
8406
8406
  invert(e) {
8407
8407
  let t = e.nodeAt(this.pos);
@@ -8443,9 +8443,9 @@ class mo extends it {
8443
8443
  apply(e) {
8444
8444
  let t = e.nodeAt(this.pos);
8445
8445
  if (!t)
8446
- return Re.fail("No node at mark step's position");
8446
+ return Ie.fail("No node at mark step's position");
8447
8447
  let o = t.type.create(t.attrs, null, this.mark.removeFromSet(t.marks));
8448
- return Re.fromReplace(e, this.pos, this.pos + 1, new j(I.from(o), 0, t.isLeaf ? 0 : 1));
8448
+ return Ie.fromReplace(e, this.pos, this.pos + 1, new j(I.from(o), 0, t.isLeaf ? 0 : 1));
8449
8449
  }
8450
8450
  invert(e) {
8451
8451
  let t = e.nodeAt(this.pos);
@@ -8468,7 +8468,7 @@ class mo extends it {
8468
8468
  }
8469
8469
  }
8470
8470
  it.jsonID("removeNodeMark", mo);
8471
- class He extends it {
8471
+ class je extends it {
8472
8472
  /**
8473
8473
  The given `slice` should fit the 'gap' between `from` and
8474
8474
  `to`—the depths must line up, and the surrounding nodes must be
@@ -8482,27 +8482,27 @@ class He extends it {
8482
8482
  super(), this.from = e, this.to = t, this.slice = o, this.structure = n;
8483
8483
  }
8484
8484
  apply(e) {
8485
- return this.structure && xl(e, this.from, this.to) ? Re.fail("Structure replace would overwrite content") : Re.fromReplace(e, this.from, this.to, this.slice);
8485
+ return this.structure && xl(e, this.from, this.to) ? Ie.fail("Structure replace would overwrite content") : Ie.fromReplace(e, this.from, this.to, this.slice);
8486
8486
  }
8487
8487
  getMap() {
8488
8488
  return new wt([this.from, this.to - this.from, this.slice.size]);
8489
8489
  }
8490
8490
  invert(e) {
8491
- return new He(this.from, this.from + this.slice.size, e.slice(this.from, this.to));
8491
+ return new je(this.from, this.from + this.slice.size, e.slice(this.from, this.to));
8492
8492
  }
8493
8493
  map(e) {
8494
8494
  let t = e.mapResult(this.from, 1), o = e.mapResult(this.to, -1);
8495
- return t.deletedAcross && o.deletedAcross ? null : new He(t.pos, Math.max(t.pos, o.pos), this.slice, this.structure);
8495
+ return t.deletedAcross && o.deletedAcross ? null : new je(t.pos, Math.max(t.pos, o.pos), this.slice, this.structure);
8496
8496
  }
8497
8497
  merge(e) {
8498
- if (!(e instanceof He) || e.structure || this.structure)
8498
+ if (!(e instanceof je) || e.structure || this.structure)
8499
8499
  return null;
8500
8500
  if (this.from + this.slice.size == e.from && !this.slice.openEnd && !e.slice.openStart) {
8501
8501
  let t = this.slice.size + e.slice.size == 0 ? j.empty : new j(this.slice.content.append(e.slice.content), this.slice.openStart, e.slice.openEnd);
8502
- return new He(this.from, this.to + (e.to - e.from), t, this.structure);
8502
+ return new je(this.from, this.to + (e.to - e.from), t, this.structure);
8503
8503
  } else if (e.to == this.from && !this.slice.openStart && !e.slice.openEnd) {
8504
8504
  let t = this.slice.size + e.slice.size == 0 ? j.empty : new j(e.slice.content.append(this.slice.content), e.slice.openStart, this.slice.openEnd);
8505
- return new He(e.from, this.to, t, this.structure);
8505
+ return new je(e.from, this.to, t, this.structure);
8506
8506
  } else
8507
8507
  return null;
8508
8508
  }
@@ -8516,10 +8516,10 @@ class He extends it {
8516
8516
  static fromJSON(e, t) {
8517
8517
  if (typeof t.from != "number" || typeof t.to != "number")
8518
8518
  throw new RangeError("Invalid input for ReplaceStep.fromJSON");
8519
- return new He(t.from, t.to, j.fromJSON(e, t.slice), !!t.structure);
8519
+ return new je(t.from, t.to, j.fromJSON(e, t.slice), !!t.structure);
8520
8520
  }
8521
8521
  }
8522
- it.jsonID("replace", He);
8522
+ it.jsonID("replace", je);
8523
8523
  class We extends it {
8524
8524
  /**
8525
8525
  Create a replace-around step with the given range and gap.
@@ -8532,12 +8532,12 @@ class We extends it {
8532
8532
  }
8533
8533
  apply(e) {
8534
8534
  if (this.structure && (xl(e, this.from, this.gapFrom) || xl(e, this.gapTo, this.to)))
8535
- return Re.fail("Structure gap-replace would overwrite content");
8535
+ return Ie.fail("Structure gap-replace would overwrite content");
8536
8536
  let t = e.slice(this.gapFrom, this.gapTo);
8537
8537
  if (t.openStart || t.openEnd)
8538
- return Re.fail("Gap is not a flat range");
8538
+ return Ie.fail("Gap is not a flat range");
8539
8539
  let o = this.slice.insertAt(this.insert, t.content);
8540
- return o ? Re.fromReplace(e, this.from, this.to, o) : Re.fail("Content does not fit in gap");
8540
+ return o ? Ie.fromReplace(e, this.from, this.to, o) : Ie.fail("Content does not fit in gap");
8541
8541
  }
8542
8542
  getMap() {
8543
8543
  return new wt([
@@ -8636,7 +8636,7 @@ function pd(r, e, t, o = t.contentMatch, n = !0) {
8636
8636
  for (let l = 0; l < i.childCount; l++) {
8637
8637
  let d = i.child(l), c = a + d.nodeSize, p = o.matchType(d.type);
8638
8638
  if (!p)
8639
- s.push(new He(a, c, j.empty));
8639
+ s.push(new je(a, c, j.empty));
8640
8640
  else {
8641
8641
  o = p;
8642
8642
  for (let u = 0; u < d.marks.length; u++)
@@ -8644,7 +8644,7 @@ function pd(r, e, t, o = t.contentMatch, n = !0) {
8644
8644
  if (n && d.isText && t.whitespace != "pre") {
8645
8645
  let u, g = /\r?\n|\r/g, h;
8646
8646
  for (; u = g.exec(d.text); )
8647
- h || (h = new j(I.from(t.schema.text(" ", t.allowedMarks(d.marks))), 0, 0)), s.push(new He(a + u.index, a + u.index + u[0].length, h));
8647
+ h || (h = new j(I.from(t.schema.text(" ", t.allowedMarks(d.marks))), 0, 0)), s.push(new je(a + u.index, a + u.index + u[0].length, h));
8648
8648
  }
8649
8649
  }
8650
8650
  a = c;
@@ -8793,7 +8793,7 @@ function pb(r, e, t = 1, o) {
8793
8793
  let c = o && o[d];
8794
8794
  s = I.from(c ? c.type.create(c.attrs, s) : n.node(a).copy(s));
8795
8795
  }
8796
- r.step(new He(e, e, new j(i.append(s), t, t), !0));
8796
+ r.step(new je(e, e, new j(i.append(s), t, t), !0));
8797
8797
  }
8798
8798
  function jr(r, e) {
8799
8799
  let t = r.resolve(e), o = t.index();
@@ -8836,7 +8836,7 @@ function mb(r, e, t) {
8836
8836
  }
8837
8837
  s.inlineContent && pd(r, e + t - 1, s, i.node().contentMatchAt(i.index()), o == null);
8838
8838
  let l = r.mapping.slice(a), d = l.map(e - t);
8839
- if (r.step(new He(d, l.map(e + t, -1), j.empty, !0)), o === !0) {
8839
+ if (r.step(new je(d, l.map(e + t, -1), j.empty, !0)), o === !0) {
8840
8840
  let c = r.doc.resolve(d);
8841
8841
  Im(r, c.node(), c.before(), r.steps.length);
8842
8842
  }
@@ -8889,7 +8889,7 @@ function sa(r, e, t = e, o = j.empty) {
8889
8889
  if (e == t && !o.size)
8890
8890
  return null;
8891
8891
  let n = r.resolve(e), i = r.resolve(t);
8892
- return Fm(n, i, o) ? new He(e, t, o) : new gb(n, i, o).fit();
8892
+ return Fm(n, i, o) ? new je(e, t, o) : new gb(n, i, o).fit();
8893
8893
  }
8894
8894
  function Fm(r, e, t) {
8895
8895
  return !t.openStart && !t.openEnd && r.start() == e.start() && r.parent.canReplace(r.index(), e.index(), t.content);
@@ -8922,7 +8922,7 @@ class gb {
8922
8922
  for (; s && a && i.childCount == 1; )
8923
8923
  i = i.firstChild.content, s--, a--;
8924
8924
  let l = new j(i, s, a);
8925
- return e > -1 ? new We(o.pos, e, this.$to.pos, this.$to.end(), l, t) : l.size || o.pos != this.$to.pos ? new He(o.pos, n.pos, l) : null;
8925
+ return e > -1 ? new We(o.pos, e, this.$to.pos, this.$to.end(), l, t) : l.size || o.pos != this.$to.pos ? new je(o.pos, n.pos, l) : null;
8926
8926
  }
8927
8927
  // Find a position on the start spine of `this.unplaced` that has
8928
8928
  // content that can be moved somewhere on the frontier. Returns two
@@ -9079,7 +9079,7 @@ function yb(r, e, t, o) {
9079
9079
  return r.deleteRange(e, t);
9080
9080
  let n = r.doc.resolve(e), i = r.doc.resolve(t);
9081
9081
  if (Fm(n, i, o))
9082
- return r.step(new He(e, t, o));
9082
+ return r.step(new je(e, t, o));
9083
9083
  let s = Hm(n, r.doc.resolve(t));
9084
9084
  s[s.length - 1] == 0 && s.pop();
9085
9085
  let a = -(n.depth + 1);
@@ -9173,13 +9173,13 @@ class _o extends it {
9173
9173
  apply(e) {
9174
9174
  let t = e.nodeAt(this.pos);
9175
9175
  if (!t)
9176
- return Re.fail("No node at attribute step's position");
9176
+ return Ie.fail("No node at attribute step's position");
9177
9177
  let o = /* @__PURE__ */ Object.create(null);
9178
9178
  for (let i in t.attrs)
9179
9179
  o[i] = t.attrs[i];
9180
9180
  o[this.attr] = this.value;
9181
9181
  let n = t.type.create(o, null, t.marks);
9182
- return Re.fromReplace(e, this.pos, this.pos + 1, new j(I.from(n), 0, t.isLeaf ? 0 : 1));
9182
+ return Ie.fromReplace(e, this.pos, this.pos + 1, new j(I.from(n), 0, t.isLeaf ? 0 : 1));
9183
9183
  }
9184
9184
  getMap() {
9185
9185
  return wt.empty;
@@ -9214,7 +9214,7 @@ class jn extends it {
9214
9214
  t[n] = e.attrs[n];
9215
9215
  t[this.attr] = this.value;
9216
9216
  let o = e.type.create(t, e.content, e.marks);
9217
- return Re.ok(o);
9217
+ return Ie.ok(o);
9218
9218
  }
9219
9219
  getMap() {
9220
9220
  return wt.empty;
@@ -9857,7 +9857,7 @@ function Fc(r, e, t) {
9857
9857
  if (o < e)
9858
9858
  return;
9859
9859
  let n = r.steps[o];
9860
- if (!(n instanceof He || n instanceof We))
9860
+ if (!(n instanceof je || n instanceof We))
9861
9861
  return;
9862
9862
  let i = r.mapping.maps[o], s;
9863
9863
  i.forEach((a, l, d, c) => {
@@ -10239,7 +10239,7 @@ function Wm(r, e, t) {
10239
10239
  }
10240
10240
  return t;
10241
10241
  }
10242
- class ze {
10242
+ class Fe {
10243
10243
  /**
10244
10244
  Create a plugin.
10245
10245
  */
@@ -12883,7 +12883,7 @@ class Bt {
12883
12883
  }
12884
12884
  }
12885
12885
  const Ao = [], so = {};
12886
- class $e {
12886
+ class Re {
12887
12887
  /**
12888
12888
  @internal
12889
12889
  */
@@ -12937,7 +12937,7 @@ class $e {
12937
12937
  let l = this.local[a].map(e, o, n);
12938
12938
  l && l.type.valid(t, l) ? (s || (s = [])).push(l) : i.onRemove && i.onRemove(this.local[a].spec);
12939
12939
  }
12940
- return this.children.length ? jy(this.children, s || [], e, t, o, n, i) : s ? new $e(s.sort(ao), Ao) : et;
12940
+ return this.children.length ? jy(this.children, s || [], e, t, o, n, i) : s ? new Re(s.sort(ao), Ao) : et;
12941
12941
  }
12942
12942
  /**
12943
12943
  Add the given array of decorations to the ones in the set,
@@ -12946,7 +12946,7 @@ class $e {
12946
12946
  structure.
12947
12947
  */
12948
12948
  add(e, t) {
12949
- return t.length ? this == et ? $e.create(e, t) : this.addInner(e, t, 0) : this;
12949
+ return t.length ? this == et ? Re.create(e, t) : this.addInner(e, t, 0) : this;
12950
12950
  }
12951
12951
  addInner(e, t, o) {
12952
12952
  let n, i = 0;
@@ -12961,7 +12961,7 @@ class $e {
12961
12961
  let s = kh(i ? Ch(t) : t, -o);
12962
12962
  for (let a = 0; a < s.length; a++)
12963
12963
  s[a].type.valid(e, s[a]) || s.splice(a--, 1);
12964
- return new $e(s.length ? this.local.concat(s).sort(ao) : this.local, n || this.children);
12964
+ return new Re(s.length ? this.local.concat(s).sort(ao) : this.local, n || this.children);
12965
12965
  }
12966
12966
  /**
12967
12967
  Create a new set that contains the decorations in this set, minus
@@ -12988,13 +12988,13 @@ class $e {
12988
12988
  for (let a = 0; a < n.length; a++)
12989
12989
  n[a].eq(s, t) && (n == this.local && (n = this.local.slice()), n.splice(a--, 1));
12990
12990
  }
12991
- return o == this.children && n == this.local ? this : n.length || o.length ? new $e(n, o) : et;
12991
+ return o == this.children && n == this.local ? this : n.length || o.length ? new Re(n, o) : et;
12992
12992
  }
12993
12993
  forChild(e, t) {
12994
12994
  if (this == et)
12995
12995
  return this;
12996
12996
  if (t.isLeaf)
12997
- return $e.empty;
12997
+ return Re.empty;
12998
12998
  let o, n;
12999
12999
  for (let a = 0; a < this.children.length; a += 3)
13000
13000
  if (this.children[a] >= e) {
@@ -13010,7 +13010,7 @@ class $e {
13010
13010
  }
13011
13011
  }
13012
13012
  if (n) {
13013
- let a = new $e(n.sort(ao), Ao);
13013
+ let a = new Re(n.sort(ao), Ao);
13014
13014
  return o ? new Sr([a, o]) : a;
13015
13015
  }
13016
13016
  return o || et;
@@ -13021,7 +13021,7 @@ class $e {
13021
13021
  eq(e) {
13022
13022
  if (this == e)
13023
13023
  return !0;
13024
- if (!(e instanceof $e) || this.local.length != e.local.length || this.children.length != e.children.length)
13024
+ if (!(e instanceof Re) || this.local.length != e.local.length || this.children.length != e.children.length)
13025
13025
  return !1;
13026
13026
  for (let t = 0; t < this.local.length; t++)
13027
13027
  if (!this.local[t].eq(e.local[t]))
@@ -13054,9 +13054,9 @@ class $e {
13054
13054
  e(this);
13055
13055
  }
13056
13056
  }
13057
- $e.empty = new $e([], []);
13058
- $e.removeOverlap = kd;
13059
- const et = $e.empty;
13057
+ Re.empty = new Re([], []);
13058
+ Re.removeOverlap = kd;
13059
+ const et = Re.empty;
13060
13060
  class Sr {
13061
13061
  constructor(e) {
13062
13062
  this.members = e;
@@ -13067,7 +13067,7 @@ class Sr {
13067
13067
  }
13068
13068
  forChild(e, t) {
13069
13069
  if (t.isLeaf)
13070
- return $e.empty;
13070
+ return Re.empty;
13071
13071
  let o = [];
13072
13072
  for (let n = 0; n < this.members.length; n++) {
13073
13073
  let i = this.members[n].forChild(e, t);
@@ -13107,7 +13107,7 @@ class Sr {
13107
13107
  case 1:
13108
13108
  return e[0];
13109
13109
  default:
13110
- return new Sr(e.every((t) => t instanceof $e) ? e : e.reduce((t, o) => t.concat(o instanceof $e ? o : o.members), []));
13110
+ return new Sr(e.every((t) => t instanceof Re) ? e : e.reduce((t, o) => t.concat(o instanceof Re ? o : o.members), []));
13111
13111
  }
13112
13112
  }
13113
13113
  forEachSet(e) {
@@ -13162,7 +13162,7 @@ function jy(r, e, t, o, n, i, s) {
13162
13162
  a.splice(u, 0, c.children[p], c.children[p + 1], c.children[p + 2]);
13163
13163
  }
13164
13164
  }
13165
- return new $e(e.sort(ao), a);
13165
+ return new Re(e.sort(ao), a);
13166
13166
  }
13167
13167
  function kh(r, e) {
13168
13168
  if (!e || !r.length)
@@ -13214,7 +13214,7 @@ function bs(r, e, t, o) {
13214
13214
  let s = kh(i ? Ch(r) : r, -t).sort(ao);
13215
13215
  for (let a = 0; a < s.length; a++)
13216
13216
  s[a].type.valid(e, s[a]) || (o.onRemove && o.onRemove(s[a].spec), s.splice(a--, 1));
13217
- return s.length || n.length ? new $e(s, n) : et;
13217
+ return s.length || n.length ? new Re(s, n) : et;
13218
13218
  }
13219
13219
  function ao(r, e) {
13220
13220
  return r.from - e.from || r.to - e.to;
@@ -13247,7 +13247,7 @@ function Fa(r) {
13247
13247
  return r.someProp("decorations", (t) => {
13248
13248
  let o = t(r.state);
13249
13249
  o && o != et && e.push(o);
13250
- }), r.cursorWrapper && e.push($e.create(r.state.doc, [r.cursorWrapper.deco])), Sr.from(e);
13250
+ }), r.cursorWrapper && e.push(Re.create(r.state.doc, [r.cursorWrapper.deco])), Sr.from(e);
13251
13251
  }
13252
13252
  const Vy = {
13253
13253
  childList: !0,
@@ -14138,7 +14138,7 @@ function Ha(r, e, t = !0) {
14138
14138
  return e.altKey && (r = "Alt-" + r), e.ctrlKey && (r = "Ctrl-" + r), e.metaKey && (r = "Meta-" + r), t && e.shiftKey && (r = "Shift-" + r), r;
14139
14139
  }
14140
14140
  function uw(r) {
14141
- return new ze({ props: { handleKeyDown: Eh(r) } });
14141
+ return new Fe({ props: { handleKeyDown: Eh(r) } });
14142
14142
  }
14143
14143
  function Eh(r) {
14144
14144
  let e = pw(r);
@@ -14226,7 +14226,7 @@ function Ph(r, e, t) {
14226
14226
  a = c;
14227
14227
  }
14228
14228
  let d = sa(r.doc, i, l, j.empty);
14229
- if (!d || d.from != i || d instanceof He && d.slice.size >= l - i)
14229
+ if (!d || d.from != i || d instanceof je && d.slice.size >= l - i)
14230
14230
  return !1;
14231
14231
  if (t) {
14232
14232
  let c = r.tr.step(d);
@@ -15019,7 +15019,7 @@ function $i(r) {
15019
15019
  }), c;
15020
15020
  }
15021
15021
  function Fw(r) {
15022
- const { editor: e, rules: t } = r, o = new ze({
15022
+ const { editor: e, rules: t } = r, o = new Fe({
15023
15023
  state: {
15024
15024
  init() {
15025
15025
  return null;
@@ -15232,7 +15232,7 @@ function Uw(r) {
15232
15232
  return s = typeof ClipboardEvent < "u" ? new ClipboardEvent("paste") : null, f;
15233
15233
  }
15234
15234
  };
15235
- return t.map((c) => new ze({
15235
+ return t.map((c) => new Fe({
15236
15236
  // we register a global drag handler to track the current drag source element
15237
15237
  view(p) {
15238
15238
  const u = (h) => {
@@ -15529,7 +15529,7 @@ const Gw = Ze.create({
15529
15529
  },
15530
15530
  addProseMirrorPlugins() {
15531
15531
  return [
15532
- new ze({
15532
+ new Fe({
15533
15533
  key: new ut("clipboardTextSerializer"),
15534
15534
  props: {
15535
15535
  clipboardTextSerializer: () => {
@@ -15765,7 +15765,7 @@ function mv(r, e, t) {
15765
15765
  if (o < e)
15766
15766
  return;
15767
15767
  const n = r.steps[o];
15768
- if (!(n instanceof He || n instanceof We))
15768
+ if (!(n instanceof je || n instanceof We))
15769
15769
  return;
15770
15770
  const i = r.mapping.maps[o];
15771
15771
  let s = 0;
@@ -16515,7 +16515,7 @@ const h2 = Ze.create({
16515
16515
  name: "drop",
16516
16516
  addProseMirrorPlugins() {
16517
16517
  return [
16518
- new ze({
16518
+ new Fe({
16519
16519
  key: new ut("tiptapDrop"),
16520
16520
  props: {
16521
16521
  handleDrop: (r, e, t, o) => {
@@ -16534,7 +16534,7 @@ const h2 = Ze.create({
16534
16534
  name: "editable",
16535
16535
  addProseMirrorPlugins() {
16536
16536
  return [
16537
- new ze({
16537
+ new Fe({
16538
16538
  key: new ut("editable"),
16539
16539
  props: {
16540
16540
  editable: () => this.editor.options.editable
@@ -16547,7 +16547,7 @@ const h2 = Ze.create({
16547
16547
  addProseMirrorPlugins() {
16548
16548
  const { editor: r } = this;
16549
16549
  return [
16550
- new ze({
16550
+ new Fe({
16551
16551
  key: b2,
16552
16552
  props: {
16553
16553
  handleDOMEvents: {
@@ -16620,7 +16620,7 @@ const h2 = Ze.create({
16620
16620
  // to a paragraph if necessary.
16621
16621
  // This is an alternative to ProseMirror's `AllSelection`, which doesn’t work well
16622
16622
  // with many other commands.
16623
- new ze({
16623
+ new Fe({
16624
16624
  key: new ut("clearDocument"),
16625
16625
  appendTransaction: (r, e, t) => {
16626
16626
  if (r.some((f) => f.getMeta("composition")))
@@ -16648,7 +16648,7 @@ const h2 = Ze.create({
16648
16648
  name: "paste",
16649
16649
  addProseMirrorPlugins() {
16650
16650
  return [
16651
- new ze({
16651
+ new Fe({
16652
16652
  key: new ut("tiptapPaste"),
16653
16653
  props: {
16654
16654
  handlePaste: (r, e, t) => {
@@ -16666,7 +16666,7 @@ const h2 = Ze.create({
16666
16666
  name: "tabindex",
16667
16667
  addProseMirrorPlugins() {
16668
16668
  return [
16669
- new ze({
16669
+ new Fe({
16670
16670
  key: new ut("tabindex"),
16671
16671
  props: {
16672
16672
  attributes: () => this.editor.isEditable ? { tabindex: "0" } : {}
@@ -19156,7 +19156,7 @@ class i5 {
19156
19156
  !((e = this.tippy) === null || e === void 0) && e.popper.firstChild && this.tippy.popper.firstChild.removeEventListener("blur", this.tippyBlurHandler), (t = this.tippy) === null || t === void 0 || t.destroy(), this.element.removeEventListener("mousedown", this.mousedownHandler, { capture: !0 }), this.view.dom.removeEventListener("dragstart", this.dragstartHandler), this.editor.off("focus", this.focusHandler), this.editor.off("blur", this.blurHandler);
19157
19157
  }
19158
19158
  }
19159
- const yg = (r) => new ze({
19159
+ const yg = (r) => new Fe({
19160
19160
  key: typeof r.pluginKey == "string" ? new ut(r.pluginKey) : r.pluginKey,
19161
19161
  view: (e) => new i5({ view: e, ...r })
19162
19162
  });
@@ -19251,7 +19251,7 @@ class s5 {
19251
19251
  !((e = this.tippy) === null || e === void 0) && e.popper.firstChild && this.tippy.popper.firstChild.removeEventListener("blur", this.tippyBlurHandler), (t = this.tippy) === null || t === void 0 || t.destroy(), this.element.removeEventListener("mousedown", this.mousedownHandler, { capture: !0 }), this.editor.off("focus", this.focusHandler), this.editor.off("blur", this.blurHandler);
19252
19252
  }
19253
19253
  }
19254
- const wg = (r) => new ze({
19254
+ const wg = (r) => new Fe({
19255
19255
  key: typeof r.pluginKey == "string" ? new ut(r.pluginKey) : r.pluginKey,
19256
19256
  view: (e) => new s5({ view: e, ...r })
19257
19257
  });
@@ -19801,7 +19801,7 @@ const d5 = (r = {}) => {
19801
19801
  return [
19802
19802
  // this plugin creates a code block for pasted content from VS Code
19803
19803
  // we can also detect the copied code language
19804
- new ze({
19804
+ new Fe({
19805
19805
  key: new ut("codeBlockVSCodeHandler"),
19806
19806
  props: {
19807
19807
  handlePaste: (r, e) => {
@@ -19824,7 +19824,7 @@ const d5 = (r = {}) => {
19824
19824
  content: "block+"
19825
19825
  });
19826
19826
  function E5(r = {}) {
19827
- return new ze({
19827
+ return new Fe({
19828
19828
  view(e) {
19829
19829
  return new T5(e, r);
19830
19830
  }
@@ -20054,7 +20054,7 @@ function B5(r) {
20054
20054
  return !0;
20055
20055
  }
20056
20056
  function A5() {
20057
- return new ze({
20057
+ return new Fe({
20058
20058
  props: {
20059
20059
  decorations: I5,
20060
20060
  createSelectionBetween(r, e, t) {
@@ -20110,7 +20110,7 @@ function I5(r) {
20110
20110
  if (!(r.selection instanceof Oe))
20111
20111
  return null;
20112
20112
  let e = document.createElement("div");
20113
- return e.className = "ProseMirror-gapcursor", $e.create(r.doc, [Bt.widget(r.selection.head, e, { key: "gapcursor" })]);
20113
+ return e.className = "ProseMirror-gapcursor", Re.create(r.doc, [Bt.widget(r.selection.head, e, { key: "gapcursor" })]);
20114
20114
  }
20115
20115
  const R5 = Ze.create({
20116
20116
  name: "gapCursor",
@@ -20533,7 +20533,7 @@ function K5(r = {}) {
20533
20533
  return r = {
20534
20534
  depth: r.depth || 100,
20535
20535
  newGroupDelay: r.newGroupDelay || 500
20536
- }, new ze({
20536
+ }, new Fe({
20537
20537
  key: co,
20538
20538
  state: {
20539
20539
  init() {
@@ -21600,7 +21600,7 @@ function T3(r) {
21600
21600
  return r.length === 1 ? r[0].isLink : r.length === 3 && r[1].isLink ? ["()", "[]"].includes(r[0].value + r[2].value) : !1;
21601
21601
  }
21602
21602
  function O3(r) {
21603
- return new ze({
21603
+ return new Fe({
21604
21604
  key: new ut("autolink"),
21605
21605
  appendTransaction: (e, t, o) => {
21606
21606
  const n = e.some((d) => d.docChanged) && !t.doc.eq(o.doc), i = e.some((d) => d.getMeta("preventAutolink"));
@@ -21636,7 +21636,7 @@ function O3(r) {
21636
21636
  });
21637
21637
  }
21638
21638
  function P3(r) {
21639
- return new ze({
21639
+ return new Fe({
21640
21640
  key: new ut("handleClickLink"),
21641
21641
  props: {
21642
21642
  handleClick: (e, t, o) => {
@@ -21656,7 +21656,7 @@ function P3(r) {
21656
21656
  });
21657
21657
  }
21658
21658
  function B3(r) {
21659
- return new ze({
21659
+ return new Fe({
21660
21660
  key: new ut("handlePasteLink"),
21661
21661
  props: {
21662
21662
  handlePaste: (e, t, o) => {
@@ -22116,7 +22116,7 @@ const Q3 = /* @__PURE__ */ ec(J3, [["render", Y3]]), X3 = { class: "flex items-e
22116
22116
  }, n = function() {
22117
22117
  t("secondMediaButtonFunction");
22118
22118
  };
22119
- return Ve("closeMediaLibraryModal", () => {
22119
+ return He("closeMediaLibraryModal", () => {
22120
22120
  o();
22121
22121
  }), (s, a) => (v(), Se(Yo, { to: "body" }, [
22122
22122
  $(P(Qo), {
@@ -22166,7 +22166,7 @@ const Q3 = /* @__PURE__ */ ec(J3, [["render", Y3]]), X3 = { class: "flex items-e
22166
22166
  class: "tertiaryHeader my-0 py-0"
22167
22167
  }, {
22168
22168
  default: _(() => [
22169
- Ie(z(r.title), 1)
22169
+ Ve(z(r.title), 1)
22170
22170
  ]),
22171
22171
  _: 1
22172
22172
  }),
@@ -22416,7 +22416,7 @@ const Q3 = /* @__PURE__ */ ec(J3, [["render", Y3]]), X3 = { class: "flex items-e
22416
22416
  }, D4 = {
22417
22417
  __name: "EditGetElement",
22418
22418
  setup(r) {
22419
- const e = Le, t = Fe("CustomMediaComponent"), o = new Ke(e), n = D(() => e.getElement), i = D(() => {
22419
+ const e = Le, t = _e("CustomMediaComponent"), o = new Ke(e), n = D(() => e.getElement), i = D(() => {
22420
22420
  const oe = e.getShowModalTipTap;
22421
22421
  return oe && w(), oe;
22422
22422
  });
@@ -23126,7 +23126,7 @@ class="border-2 border-gray-600 flex items-centre justify-start rounded-md font-
23126
23126
  }
23127
23127
  ];
23128
23128
  function _4() {
23129
- const r = Fe("closeAddComponentModal", null), e = Fe("closeMediaLibraryModal", null);
23129
+ const r = _e("closeAddComponentModal", null), e = _e("closeMediaLibraryModal", null);
23130
23130
  return {
23131
23131
  closeAddComponentModal: r || (() => {
23132
23132
  console.warn(
@@ -23308,7 +23308,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23308
23308
  m("div", gk, [
23309
23309
  $(P(id), { class: "myTertiaryHeader my-0" }, {
23310
23310
  default: _(() => [
23311
- Ie(z(r.title), 1)
23311
+ Ve(z(r.title), 1)
23312
23312
  ]),
23313
23313
  _: 1
23314
23314
  }),
@@ -23389,7 +23389,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23389
23389
  m("div", Ck, [
23390
23390
  $(P(id), { class: "myTertiaryHeader my-0" }, {
23391
23391
  default: _(() => [
23392
- Ie(z(r.title), 1)
23392
+ Ve(z(r.title), 1)
23393
23393
  ]),
23394
23394
  _: 1
23395
23395
  }),
@@ -23465,7 +23465,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23465
23465
  ])) : N("", !0),
23466
23466
  o.value === null || o.value === void 0 ? (v(), S("p", Nk, [
23467
23467
  l[4] || (l[4] = m("span", null, "Component type: ", -1)),
23468
- Ie(" " + z(JSON.stringify(o.value)), 1)
23468
+ Ve(" " + z(JSON.stringify(o.value)), 1)
23469
23469
  ])) : N("", !0),
23470
23470
  o.value !== null && o.value !== void 0 ? (v(), S("p", Ik, [
23471
23471
  l[5] || (l[5] = m("span", null, "Component type: ", -1)),
@@ -23528,9 +23528,9 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23528
23528
  o.value ? (v(), S("div", r6, [
23529
23529
  m("p", o6, " Component ID: " + z((M = o.value) == null ? void 0 : M.id), 1),
23530
23530
  m("p", n6, [
23531
- l[13] || (l[13] = Ie(" Component Title:")),
23531
+ l[13] || (l[13] = Ve(" Component Title:")),
23532
23532
  l[14] || (l[14] = m("br", null, null, -1)),
23533
- Ie(" " + z((y = o.value) == null ? void 0 : y.title), 1)
23533
+ Ve(" " + z((y = o.value) == null ? void 0 : y.title), 1)
23534
23534
  ]),
23535
23535
  m("p", i6, " Component HTML: " + z((A = o.value) == null ? void 0 : A.html_code), 1)
23536
23536
  ])) : N("", !0)
@@ -23549,9 +23549,9 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23549
23549
  m("p", c6, " Component ID: " + z(C.id), 1),
23550
23550
  m("p", p6, " Component Title: " + z((T = o.value) == null ? void 0 : T.title), 1),
23551
23551
  m("p", u6, [
23552
- l[15] || (l[15] = Ie(" Component HTML:")),
23552
+ l[15] || (l[15] = Ve(" Component HTML:")),
23553
23553
  l[16] || (l[16] = m("br", null, null, -1)),
23554
- Ie(" " + z(C.html_code), 1)
23554
+ Ve(" " + z(C.html_code), 1)
23555
23555
  ])
23556
23556
  ]);
23557
23557
  }), 128))
@@ -23593,7 +23593,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23593
23593
  }, NS = {
23594
23594
  __name: "PageBuilderSettings",
23595
23595
  setup(r) {
23596
- const e = "v3.1.52", t = Le, o = new Ke(t), n = x(!1), i = x(""), s = x(null), a = D(() => t.getConfigPageBuilder), l = function() {
23596
+ const e = "v3.1.53", t = Le, o = new Ke(t), n = x(!1), i = x(""), s = x(null), a = D(() => t.getConfigPageBuilder), l = function() {
23597
23597
  i.value = "Advanced Settings", n.value = !0;
23598
23598
  }, d = function() {
23599
23599
  n.value = !1;
@@ -23909,7 +23909,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23909
23909
  type: "button"
23910
23910
  }, h[29] || (h[29] = [
23911
23911
  m("span", { class: "material-symbols-outlined text-[18px]" }, " delete ", -1),
23912
- Ie(" Delete ")
23912
+ Ve(" Delete ")
23913
23913
  ]))
23914
23914
  ])) : N("", !0),
23915
23915
  ((ue = a.value) == null ? void 0 : ue.updateOrCreate.formType) === "update" ? (v(), S("td", DS, [
@@ -23919,7 +23919,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23919
23919
  type: "button"
23920
23920
  }, h[30] || (h[30] = [
23921
23921
  m("span", { class: "material-symbols-outlined text-[18px]" }, " delete ", -1),
23922
- Ie(" Delete ")
23922
+ Ve(" Delete ")
23923
23923
  ]))
23924
23924
  ])) : N("", !0)
23925
23925
  ])
@@ -24028,13 +24028,10 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
24028
24028
  m("div", {
24029
24029
  class: Y(["cursor-defualt", [
24030
24030
  O ? "bg-myPrimaryLightGrayColor text-gray-900" : "text-gray-700",
24031
- "block px-4 py-2"
24031
+ "block px-4 py-2 break-all"
24032
24032
  ]])
24033
24033
  }, [
24034
24034
  m("div", RS, [
24035
- B[2] || (B[2] = m("div", { class: "h-8 w-8 cursor-defualt rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0" }, [
24036
- m("span", { class: "material-symbols-outlined text-[16px]" }, " person ")
24037
- ], -1)),
24038
24035
  m("div", null, z(o.value.userForPageBuilder.name), 1)
24039
24036
  ])
24040
24037
  ], 2)
@@ -24051,13 +24048,8 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
24051
24048
  O ? "bg-myPrimaryLightGrayColor text-gray-900" : "text-gray-700",
24052
24049
  "block px-4 py-2"
24053
24050
  ]])
24054
- }, B[3] || (B[3] = [
24055
- m("div", { class: "flex items-center justify-left gap-2 text-sm" }, [
24056
- m("div", { class: "h-8 w-8 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0" }, [
24057
- m("span", { class: "material-symbols-outlined text-[16px]" }, " visibility ")
24058
- ]),
24059
- Ie(" Preview ")
24060
- ], -1)
24051
+ }, B[2] || (B[2] = [
24052
+ m("div", { class: "flex items-center justify-left gap-2 text-sm" }, "Preview", -1)
24061
24053
  ]), 2)
24062
24054
  ]),
24063
24055
  _: 1
@@ -24070,13 +24062,8 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
24070
24062
  O ? "bg-myPrimaryLightGrayColor text-gray-900" : "text-gray-700",
24071
24063
  "block px-4 py-2"
24072
24064
  ]])
24073
- }, B[4] || (B[4] = [
24074
- m("div", { class: "flex items-center justify-left gap-2 text-sm" }, [
24075
- m("div", { class: "h-8 w-8 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0" }, [
24076
- m("span", { class: "material-symbols-outlined text-[16px]" }, " settings ")
24077
- ]),
24078
- Ie(" Settings ")
24079
- ], -1)
24065
+ }, B[3] || (B[3] = [
24066
+ m("div", { class: "flex items-center justify-left gap-2 text-sm" }, "Settings", -1)
24080
24067
  ]), 2)
24081
24068
  ]),
24082
24069
  _: 1
@@ -24089,12 +24076,9 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
24089
24076
  O ? "bg-myPrimaryLightGrayColor text-gray-900" : "text-gray-700",
24090
24077
  "block px-4 py-2"
24091
24078
  ]])
24092
- }, B[5] || (B[5] = [
24079
+ }, B[4] || (B[4] = [
24093
24080
  m("div", { class: "flex items-center justify-left gap-2 text-sm" }, [
24094
- m("div", { class: "h-8 w-8 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryErrorColor hover:text-white text-myPrimaryErrorColor" }, [
24095
- m("span", { class: "myMediumIcon material-symbols-outlined text-[16px]" }, " delete ")
24096
- ]),
24097
- m("span", { class: "group-hover:text-white" }, " Clear page ")
24081
+ m("span", { class: "group-hover:text-white" }, " Delete Layout ")
24098
24082
  ], -1)
24099
24083
  ]), 2)
24100
24084
  ]),
@@ -24172,7 +24156,7 @@ const en = /* @__PURE__ */ ec(_S, [["render", HS]]), VS = { class: "flex flex-ro
24172
24156
  };
24173
24157
  return (a, l) => (v(), Se(en, null, {
24174
24158
  title: _(() => l[2] || (l[2] = [
24175
- Ie("Generated CSS")
24159
+ Ve("Generated CSS")
24176
24160
  ])),
24177
24161
  content: _(() => [
24178
24162
  m("div", VS, [
@@ -24215,7 +24199,7 @@ const en = /* @__PURE__ */ ec(_S, [["render", HS]]), VS = { class: "flex flex-ro
24215
24199
  }, QS = { key: 0 }, XS = ["src"], ZS = {
24216
24200
  __name: "ImageEditor",
24217
24201
  setup(r) {
24218
- const e = Le, t = Fe("CustomMediaComponent"), o = new Ke(e), n = x(!1), i = x(!1), s = x(""), a = x(""), l = x(""), d = x(null), c = x(null), p = x(null), u = x(null), g = x(null), h = D(() => e.getBasePrimaryImage), f = function() {
24202
+ const e = Le, t = _e("CustomMediaComponent"), o = new Ke(e), n = x(!1), i = x(!1), s = x(""), a = x(""), l = x(""), d = x(null), c = x(null), p = x(null), u = x(null), g = x(null), h = D(() => e.getBasePrimaryImage), f = function() {
24219
24203
  i.value = !0, s.value = "Media Library", a.value = null, l.value = "Close", d.value = "Select image", p.value = function() {
24220
24204
  i.value = !1;
24221
24205
  }, u.value = function() {
@@ -24449,7 +24433,7 @@ const en = /* @__PURE__ */ ec(_S, [["render", HS]]), VS = { class: "flex flex-ro
24449
24433
  setup(r) {
24450
24434
  return (e, t) => (v(), Se(en, null, {
24451
24435
  title: _(() => t[0] || (t[0] = [
24452
- Ie("Opacity settings")
24436
+ Ve("Opacity settings")
24453
24437
  ])),
24454
24438
  content: _(() => [
24455
24439
  $(bC),
@@ -24488,7 +24472,7 @@ const en = /* @__PURE__ */ ec(_S, [["render", HS]]), VS = { class: "flex flex-ro
24488
24472
  { immediate: !0 }
24489
24473
  ), (p, u) => (v(), Se(en, null, {
24490
24474
  title: _(() => u[8] || (u[8] = [
24491
- Ie("Padding & Margin")
24475
+ Ve("Padding & Margin")
24492
24476
  ])),
24493
24477
  content: _(() => [
24494
24478
  u[17] || (u[17] = m("p", { class: "myPrimaryParagraph font-medium py-0 my-4" }, "Padding", -1)),
@@ -24597,7 +24581,7 @@ const en = /* @__PURE__ */ ec(_S, [["render", HS]]), VS = { class: "flex flex-ro
24597
24581
  { immediate: !0 }
24598
24582
  ), (g, h) => (v(), Se(en, null, {
24599
24583
  title: _(() => h[10] || (h[10] = [
24600
- Ie("Border Radius")
24584
+ Ve("Border Radius")
24601
24585
  ])),
24602
24586
  content: _(() => [
24603
24587
  h[21] || (h[21] = m("p", { class: "myPrimaryParagraph font-medium py-0 my-4" }, "Global", -1)),
@@ -24716,7 +24700,7 @@ const en = /* @__PURE__ */ ec(_S, [["render", HS]]), VS = { class: "flex flex-ro
24716
24700
  { immediate: !0 }
24717
24701
  ), (d, c) => (v(), Se(en, null, {
24718
24702
  title: _(() => c[6] || (c[6] = [
24719
- Ie("Border Style, Width & Color")
24703
+ Ve("Border Style, Width & Color")
24720
24704
  ])),
24721
24705
  content: _(() => [
24722
24706
  m("div", BC, [
@@ -24871,7 +24855,7 @@ const en = /* @__PURE__ */ ec(_S, [["render", HS]]), VS = { class: "flex flex-ro
24871
24855
  const e = Le, t = new Ke(e), o = D(() => e.getElement), n = D(() => e.getRestoredElement);
24872
24856
  return (i, s) => (v(), Se(en, null, {
24873
24857
  title: _(() => s[2] || (s[2] = [
24874
- Ie("Selected HTML Element")
24858
+ Ve("Selected HTML Element")
24875
24859
  ])),
24876
24860
  content: _(() => [
24877
24861
  s[5] || (s[5] = m("div", { class: "flex flex-row flex-wrap gap-2 mt-2" }, null, -1)),
@@ -24920,7 +24904,7 @@ const en = /* @__PURE__ */ ec(_S, [["render", HS]]), VS = { class: "flex flex-ro
24920
24904
  m("span", { class: "material-symbols-outlined" }, " close ", -1)
24921
24905
  ])),
24922
24906
  m("p", QC, [
24923
- a[2] || (a[2] = Ie(" Editing ")),
24907
+ a[2] || (a[2] = Ve(" Editing ")),
24924
24908
  m("span", XC, "<" + z(n.value) + ">", 1)
24925
24909
  ])
24926
24910
  ]),
@@ -24982,7 +24966,7 @@ const en = /* @__PURE__ */ ec(_S, [["render", HS]]), VS = { class: "flex flex-ro
24982
24966
  },
24983
24967
  setup(r) {
24984
24968
  const e = r, t = lm, o = Le, n = new Ke(o);
24985
- Ve("pageBuilderStateStore", o), Ve("internalPinia", t), Ve("CustomMediaComponent", e.CustomMediaLibraryComponent), Ve("CustomSearchComponent", e.CustomSearchComponent), Ve("closeAddComponentModal", () => {
24969
+ He("pageBuilderStateStore", o), He("internalPinia", t), He("CustomMediaComponent", e.CustomMediaLibraryComponent), He("CustomSearchComponent", e.CustomSearchComponent), He("closeAddComponentModal", () => {
24986
24970
  u.value = !1;
24987
24971
  });
24988
24972
  const s = D(() => o.getConfigPageBuilder), a = D(() => o.getMenuRight), l = function() {
@@ -25082,7 +25066,7 @@ const en = /* @__PURE__ */ ec(_S, [["render", HS]]), VS = { class: "flex flex-ro
25082
25066
  type: "button"
25083
25067
  }, E[14] || (E[14] = [
25084
25068
  m("span", { class: "material-symbols-outlined text-[18px]" }, " save ", -1),
25085
- Ie(" Save layout ")
25069
+ Ve(" Save layout ")
25086
25070
  ]))
25087
25071
  ]),
25088
25072
  m("div", {
@@ -25126,7 +25110,7 @@ const en = /* @__PURE__ */ ec(_S, [["render", HS]]), VS = { class: "flex flex-ro
25126
25110
  m("div", { class: "flex items-center justify-center gap-2" }, [
25127
25111
  m("span", { class: "lg:block hidden" }, " Styling "),
25128
25112
  m("span", { class: "h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0" }, [
25129
- m("span", { class: "myMediumIcon material-symbols-outlined" }, " tune ")
25113
+ m("span", { class: "myMediumIcon material-symbols-outlined" }, " apps ")
25130
25114
  ])
25131
25115
  ], -1)
25132
25116
  ]))) : N("", !0)