@myissue/vue-website-page-builder 3.2.20 → 3.2.22

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) => Vg(r, typeof e != "symbol" ? e + "" : e, t), sc = (r, e, t
7
7
  var Ti = (r, e, t) => (sc(r, e, "read from private field"), t ? t.call(r) : e.get(r)), ln = (r, e, t) => e.has(r) ? ic("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) => (sc(r, e, "access private method"), t);
9
9
  import * as ac from "vue";
10
- import { nextTick as Me, computed as N, ref as x, watchEffect as nt, onMounted as ke, cloneVNode as Wg, h as Ce, Fragment as ve, defineComponent as me, inject as _e, provide as Ve, onUnmounted as kt, watch as ce, shallowRef as pu, unref as T, getCurrentInstance as Zl, Teleport as Qo, reactive as uu, toRaw as tt, normalizeClass as Y, effectScope as mu, markRaw as Er, hasInjectionContext as qg, isRef as In, isReactive as ed, toRef as ka, getCurrentScope as Ug, onScopeDispose as Kg, toRefs as lc, createBlock as Se, openBlock as v, createVNode as _, withCtx as F, withKeys as hu, withModifiers as wr, createElementVNode as m, renderSlot as Kt, createElementBlock as S, createCommentVNode as I, toDisplayString as z, Transition as Rt, onBeforeUnmount as ea, customRef as Gg, onBeforeMount as Jg, withDirectives as lt, vModelText as td, createTextVNode as We, resolveDynamicComponent as gu, renderList as Le, vModelSelect as $t, vShow as Yg, createStaticVNode as Sa } from "vue";
10
+ import { nextTick as Me, computed as N, ref as x, watchEffect as nt, onMounted as ke, cloneVNode as Wg, h as Ce, Fragment as ve, defineComponent as me, inject as _e, provide as Ve, onUnmounted as kt, watch as ce, shallowRef as pu, unref as T, getCurrentInstance as Zl, Teleport as Qo, reactive as uu, toRaw as tt, normalizeClass as Y, effectScope as mu, markRaw as Er, hasInjectionContext as qg, isRef as In, isReactive as ed, toRef as ka, getCurrentScope as Ug, onScopeDispose as Kg, toRefs as lc, createBlock as Se, openBlock as v, createVNode as _, withCtx as F, withKeys as hu, withModifiers as wr, createElementVNode as m, renderSlot as Kt, createElementBlock as C, createCommentVNode as I, toDisplayString as z, Transition as Rt, onBeforeUnmount as ea, customRef as Gg, onBeforeMount as Jg, withDirectives as lt, vModelText as td, createTextVNode as We, resolveDynamicComponent as gu, renderList as Le, vModelSelect as $t, vShow as Yg, createStaticVNode as Sa } from "vue";
11
11
  const is = {
12
12
  backgroundColorVariables: [
13
13
  "none",
@@ -1559,15 +1559,12 @@ class Fe {
1559
1559
  t.startsWith("[") || t.startsWith("{") ? be(this, ie, al).call(this, t) : t.startsWith("<") ? be(this, ie, xu).call(this, t) : be(this, ie, al).call(this, t);
1560
1560
  }
1561
1561
  // Load existing content from HTML when in update mode
1562
- loadExistingContent(e) {
1563
- var t, o, n, i;
1564
- if (this.showRunningMethodLogs && console.log("loadExistingContent"), !!this.pageBuilderStateStore.getConfigPageBuilder) {
1565
- if (((o = (t = this.pageBuilderStateStore.getConfigPageBuilder) == null ? void 0 : t.updateOrCreate) == null ? void 0 : o.formType) === "create") {
1566
- const s = this.areComponentsStoredInLocalStorage();
1567
- s && this.setComponentsFromData(s);
1568
- }
1569
- ((i = (n = this.pageBuilderStateStore.getConfigPageBuilder) == null ? void 0 : n.updateOrCreate) == null ? void 0 : i.formType) === "update" && e && this.setComponentsFromData(e);
1570
- }
1562
+ loadExistingContent(e, t) {
1563
+ var n, i, s, a;
1564
+ if (this.showRunningMethodLogs && console.log("loadExistingContent"), !this.pageBuilderStateStore.getConfigPageBuilder) return;
1565
+ t && e !== void 0 && this.setComponentsFromData(e);
1566
+ const o = this.areComponentsStoredInLocalStorage();
1567
+ ((i = (n = this.pageBuilderStateStore.getConfigPageBuilder) == null ? void 0 : n.updateOrCreate) == null ? void 0 : i.formType) === "create" && o && this.setComponentsFromData(o), ((a = (s = this.pageBuilderStateStore.getConfigPageBuilder) == null ? void 0 : s.updateOrCreate) == null ? void 0 : a.formType) === "update" && e && this.setComponentsFromData(e);
1571
1568
  }
1572
1569
  async handlePageBuilderMethods() {
1573
1570
  await new Promise((e) => requestAnimationFrame(e)), this.pageBuilderStateStore.setParentElement(null), this.pageBuilderStateStore.setRestoredElement(null), this.handleHyperlink(void 0, null, !1), this.handleOpacity(void 0), this.handleBackgroundOpacity(void 0), this.showBasePrimaryImage(), this.handleBorderStyle(void 0), this.handleBorderWidth(void 0), this.handleBorderColor(void 0), this.handleBorderRadiusGlobal(void 0), this.handleBorderRadiusTopLeft(void 0), this.handleBorderRadiusTopRight(void 0), this.handleBorderRadiusBottomleft(void 0), this.handleBorderRadiusBottomRight(void 0), this.handleFontSize(void 0), this.handleFontWeight(void 0), this.handleFontFamily(void 0), this.handleFontStyle(void 0), this.handleVerticalPadding(void 0), this.handleHorizontalPadding(void 0), this.handleVerticalMargin(void 0), this.handleHorizontalMargin(void 0), this.handleBackgroundColor(void 0), this.handleTextColor(void 0), await this.currentClasses();
@@ -1639,7 +1636,7 @@ xu = function(e) {
1639
1636
  i.push({
1640
1637
  html_code: a.outerHTML,
1641
1638
  id: a.dataset.componentid || null,
1642
- title: a.dataset.title || a.dataset.componentid || "Untitled Component"
1639
+ title: a.title || a.dataset.componentid || "Untitled Component"
1643
1640
  });
1644
1641
  }), this.pageBuilderStateStore.setComponents(i);
1645
1642
  } catch (t) {
@@ -2468,17 +2465,17 @@ let Ai = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", ii = me({ name: "Dialog", inher
2468
2465
  let d = !1, c = N(() => 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 = oi(), g = N(() => r.open === Ai && u !== null ? (u.value & Ae.Open) === Ae.Open : r.open), h = x(null), f = N(() => jr(h));
2469
2466
  if (n({ el: h, $el: h }), !(r.open !== Ai || u !== null)) throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
2470
2467
  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 === Ai ? void 0 : r.open}`);
2471
- let b = N(() => l.value && g.value ? 0 : 1), w = N(() => b.value === 0), k = N(() => p.value > 1), E = _e(ml, null) !== null, [y, P] = jf(), { resolveContainers: C, mainTreeNodeRef: L, MainTreeNode: A } = Df({ portals: y, defaultContainers: [N(() => {
2468
+ let b = N(() => l.value && g.value ? 0 : 1), w = N(() => b.value === 0), k = N(() => p.value > 1), E = _e(ml, null) !== null, [y, P] = jf(), { resolveContainers: S, mainTreeNodeRef: D, MainTreeNode: A } = Df({ portals: y, defaultContainers: [N(() => {
2472
2469
  var oe;
2473
2470
  return (oe = ne.panelRef.value) != null ? oe : h.value;
2474
2471
  })] }), B = N(() => k.value ? "parent" : "leaf"), M = N(() => u !== null ? (u.value & Ae.Closing) === Ae.Closing : !1), O = N(() => E || M.value ? !1 : w.value), H = N(() => {
2475
2472
  var oe, ue, De;
2476
- return (De = Array.from((ue = (oe = f.value) == null ? void 0 : oe.querySelectorAll("body > *")) != null ? ue : []).find((Ee) => Ee.id === "headlessui-portal-root" ? !1 : Ee.contains(U(L)) && Ee instanceof HTMLElement)) != null ? De : null;
2473
+ return (De = Array.from((ue = (oe = f.value) == null ? void 0 : oe.querySelectorAll("body > *")) != null ? ue : []).find((Ee) => Ee.id === "headlessui-portal-root" ? !1 : Ee.contains(U(D)) && Ee instanceof HTMLElement)) != null ? De : null;
2477
2474
  });
2478
2475
  gc(H, O);
2479
2476
  let q = N(() => k.value ? !0 : w.value), re = N(() => {
2480
2477
  var oe, ue, De;
2481
- return (De = Array.from((ue = (oe = f.value) == null ? void 0 : oe.querySelectorAll("[data-headlessui-portal]")) != null ? ue : []).find((Ee) => Ee.contains(U(L)) && Ee instanceof HTMLElement)) != null ? De : null;
2478
+ return (De = Array.from((ue = (oe = f.value) == null ? void 0 : oe.querySelectorAll("[data-headlessui-portal]")) != null ? ue : []).find((Ee) => Ee.contains(U(D)) && Ee instanceof HTMLElement)) != null ? De : null;
2482
2479
  });
2483
2480
  gc(re, q), Rf({ type: "Dialog", enabled: N(() => b.value === 0), element: h, onUpdate: (oe, ue) => {
2484
2481
  if (ue === "Dialog") return $e(oe, { [cl.Add]: () => p.value += 1, [cl.Remove]: () => p.value -= 1 });
@@ -2490,7 +2487,7 @@ let Ai = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", ii = me({ name: "Dialog", inher
2490
2487
  } };
2491
2488
  Ve(ml, ne);
2492
2489
  let pe = N(() => !(!w.value || k.value));
2493
- nd(C, (oe, ue) => {
2490
+ nd(S, (oe, ue) => {
2494
2491
  oe.preventDefault(), ne.close(), Me(() => ue == null ? void 0 : ue.focus());
2495
2492
  }, pe);
2496
2493
  let ae = N(() => !(k.value || b.value !== 0));
@@ -2500,7 +2497,7 @@ let Ai = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", ii = me({ name: "Dialog", inher
2500
2497
  let le = N(() => !(M.value || b.value !== 0 || E));
2501
2498
  return Lf(f, le, (oe) => {
2502
2499
  var ue;
2503
- return { containers: [...(ue = oe.containers) != null ? ue : [], C] };
2500
+ return { containers: [...(ue = oe.containers) != null ? ue : [], S] };
2504
2501
  }), nt((oe) => {
2505
2502
  if (b.value !== 0) return;
2506
2503
  let ue = U(h);
@@ -2514,7 +2511,7 @@ let Ai = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", ii = me({ name: "Dialog", inher
2514
2511
  De.observe(ue), oe(() => De.disconnect());
2515
2512
  }), () => {
2516
2513
  let { open: oe, initialFocus: ue, ...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 };
2517
- return Ce(dl, { force: !0 }, () => [Ce(Vu, () => Ce(Hf, { target: h.value }, () => Ce(dl, { force: !1 }, () => Ce(dn, { initialFocus: ue, containers: C, features: w.value ? $e(B.value, { parent: dn.features.RestoreFocus, leaf: dn.features.All & ~dn.features.FocusLock }) : dn.features.None }, () => Ce(P, {}, () => Pe({ ourProps: Ee, theirProps: { ...De, ...t }, slot: st, attrs: t, slots: o, visible: b.value === 0, features: Fr.RenderStrategy | Fr.Static, name: "Dialog" })))))), Ce(A)]);
2514
+ return Ce(dl, { force: !0 }, () => [Ce(Vu, () => Ce(Hf, { target: h.value }, () => Ce(dl, { force: !1 }, () => Ce(dn, { initialFocus: ue, containers: S, features: w.value ? $e(B.value, { parent: dn.features.RestoreFocus, leaf: dn.features.All & ~dn.features.FocusLock }) : dn.features.None }, () => Ce(P, {}, () => Pe({ ourProps: Ee, theirProps: { ...De, ...t }, slot: st, attrs: t, slots: o, visible: b.value === 0, features: Fr.RenderStrategy | Fr.Static, name: "Dialog" })))))), Ce(A)]);
2518
2515
  };
2519
2516
  } }), ad = me({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t }) {
2520
2517
  var o;
@@ -2614,8 +2611,8 @@ function si(r) {
2614
2611
  let ai = me({ name: "Listbox", emits: { "update:modelValue": (r) => !0 }, props: { as: { type: [Object, String], default: "template" }, disabled: { type: [Boolean], default: !1 }, by: { type: [String, Function], default: () => qf }, horizontal: { type: [Boolean], default: !1 }, modelValue: { type: [Object, String, Number, Boolean], default: void 0 }, defaultValue: { type: [Object, String, Number, Boolean], default: void 0 }, form: { type: String, optional: !0 }, name: { type: String, optional: !0 }, multiple: { type: [Boolean], default: !1 } }, inheritAttrs: !1, setup(r, { slots: e, attrs: t, emit: o }) {
2615
2612
  let n = x(1), i = x(null), s = x(null), a = x(null), l = x([]), d = x(""), c = x(null), p = x(1);
2616
2613
  function u(E = (y) => y) {
2617
- let y = c.value !== null ? l.value[c.value] : null, P = od(E(l.value.slice()), (L) => U(L.dataRef.domRef)), C = y ? P.indexOf(y) : null;
2618
- return C === -1 && (C = null), { options: P, activeOptionIndex: C };
2614
+ let y = c.value !== null ? l.value[c.value] : null, P = od(E(l.value.slice()), (D) => U(D.dataRef.domRef)), S = y ? P.indexOf(y) : null;
2615
+ return S === -1 && (S = null), { options: P, activeOptionIndex: S };
2619
2616
  }
2620
2617
  let g = N(() => r.multiple ? 1 : 0), [h, f] = tf(N(() => r.modelValue), (E) => o("update:modelValue", E), N(() => r.defaultValue)), b = N(() => h.value === void 0 ? $e(g.value, { 1: [], 0: void 0 }) : h.value), w = { listboxState: n, value: b, mode: g, compare(E, y) {
2621
2618
  if (typeof r.by == "string") {
@@ -2629,31 +2626,31 @@ let ai = me({ name: "Listbox", emits: { "update:modelValue": (r) => !0 }, props:
2629
2626
  r.disabled || n.value !== 0 && (n.value = 0);
2630
2627
  }, goToOption(E, y, P) {
2631
2628
  if (r.disabled || n.value === 1) return;
2632
- let C = u(), L = Lu(E === ye.Specific ? { focus: ye.Specific, id: y } : { focus: E }, { resolveItems: () => C.options, resolveActiveIndex: () => C.activeOptionIndex, resolveId: (A) => A.id, resolveDisabled: (A) => A.dataRef.disabled });
2633
- d.value = "", c.value = L, p.value = P ?? 1, l.value = C.options;
2629
+ let S = u(), D = Lu(E === ye.Specific ? { focus: ye.Specific, id: y } : { focus: E }, { resolveItems: () => S.options, resolveActiveIndex: () => S.activeOptionIndex, resolveId: (A) => A.id, resolveDisabled: (A) => A.dataRef.disabled });
2630
+ d.value = "", c.value = D, p.value = P ?? 1, l.value = S.options;
2634
2631
  }, search(E) {
2635
2632
  if (r.disabled || n.value === 1) return;
2636
2633
  let y = d.value !== "" ? 0 : 1;
2637
2634
  d.value += E.toLowerCase();
2638
- let P = (c.value !== null ? l.value.slice(c.value + y).concat(l.value.slice(0, c.value + y)) : l.value).find((L) => L.dataRef.textValue.startsWith(d.value) && !L.dataRef.disabled), C = P ? l.value.indexOf(P) : -1;
2639
- C === -1 || C === c.value || (c.value = C, p.value = 1);
2635
+ let P = (c.value !== null ? l.value.slice(c.value + y).concat(l.value.slice(0, c.value + y)) : l.value).find((D) => D.dataRef.textValue.startsWith(d.value) && !D.dataRef.disabled), S = P ? l.value.indexOf(P) : -1;
2636
+ S === -1 || S === c.value || (c.value = S, p.value = 1);
2640
2637
  }, clearSearch() {
2641
2638
  r.disabled || n.value !== 1 && d.value !== "" && (d.value = "");
2642
2639
  }, registerOption(E, y) {
2643
- let P = u((C) => [...C, { id: E, dataRef: y }]);
2640
+ let P = u((S) => [...S, { id: E, dataRef: y }]);
2644
2641
  l.value = P.options, c.value = P.activeOptionIndex;
2645
2642
  }, unregisterOption(E) {
2646
2643
  let y = u((P) => {
2647
- let C = P.findIndex((L) => L.id === E);
2648
- return C !== -1 && P.splice(C, 1), P;
2644
+ let S = P.findIndex((D) => D.id === E);
2645
+ return S !== -1 && P.splice(S, 1), P;
2649
2646
  });
2650
2647
  l.value = y.options, c.value = y.activeOptionIndex, p.value = 1;
2651
2648
  }, theirOnChange(E) {
2652
2649
  r.disabled || f(E);
2653
2650
  }, select(E) {
2654
2651
  r.disabled || f($e(g.value, { 0: () => E, 1: () => {
2655
- let y = tt(w.value.value).slice(), P = tt(E), C = y.findIndex((L) => w.compare(P, tt(L)));
2656
- return C === -1 ? y.push(P) : y.splice(C, 1), y;
2652
+ let y = tt(w.value.value).slice(), P = tt(E), S = y.findIndex((D) => w.compare(P, tt(D)));
2653
+ return S === -1 ? y.push(P) : y.splice(S, 1), y;
2657
2654
  } }));
2658
2655
  } };
2659
2656
  nd([s, a], (E, y) => {
@@ -2676,8 +2673,8 @@ let ai = me({ name: "Listbox", emits: { "update:modelValue": (r) => !0 }, props:
2676
2673
  };
2677
2674
  }, { immediate: !0 });
2678
2675
  }), () => {
2679
- let { name: E, modelValue: y, disabled: P, form: C, ...L } = r, A = { open: n.value === 0, disabled: P, value: b.value };
2680
- return Ce(ve, [...E != null && b.value != null ? Du({ [E]: b.value }).map(([B, M]) => Ce(as, ff({ features: Rn.Hidden, key: B, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: C, disabled: P, name: B, value: M }))) : [], Pe({ ourProps: {}, theirProps: { ...t, ...id(L, ["defaultValue", "onUpdate:modelValue", "horizontal", "multiple", "by"]) }, slot: A, slots: e, attrs: t, name: "Listbox" })]);
2676
+ let { name: E, modelValue: y, disabled: P, form: S, ...D } = r, A = { open: n.value === 0, disabled: P, value: b.value };
2677
+ return Ce(ve, [...E != null && b.value != null ? Du({ [E]: b.value }).map(([B, M]) => Ce(as, ff({ features: Rn.Hidden, key: B, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: S, disabled: P, name: B, value: M }))) : [], Pe({ ourProps: {}, theirProps: { ...t, ...id(D, ["defaultValue", "onUpdate:modelValue", "horizontal", "multiple", "by"]) }, slot: A, slots: e, attrs: t, name: "Listbox" })]);
2681
2678
  };
2682
2679
  } });
2683
2680
  me({ name: "ListboxLabel", props: { as: { type: [Object, String], default: "label" }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t }) {
@@ -2791,7 +2788,7 @@ let li = me({ name: "ListboxButton", props: { as: { type: [Object, String], defa
2791
2788
  let l = N(() => s.activeOptionIndex.value !== null ? s.options.value[s.activeOptionIndex.value].id === i : !1), d = N(() => $e(s.mode.value, { 0: () => s.compare(tt(s.value.value), tt(r.value)), 1: () => tt(s.value.value).some((E) => s.compare(tt(E), tt(r.value))) })), c = N(() => $e(s.mode.value, { 1: () => {
2792
2789
  var E;
2793
2790
  let y = tt(s.value.value);
2794
- return ((E = s.options.value.find((P) => y.some((C) => s.compare(tt(C), tt(P.dataRef.value))))) == null ? void 0 : E.id) === i;
2791
+ return ((E = s.options.value.find((P) => y.some((S) => s.compare(tt(S), tt(P.dataRef.value))))) == null ? void 0 : E.id) === i;
2795
2792
  }, 0: () => d.value })), p = Uu(a), u = N(() => ({ disabled: r.disabled, value: r.value, get textValue() {
2796
2793
  return p();
2797
2794
  }, domRef: a }));
@@ -2831,8 +2828,8 @@ let li = me({ name: "ListboxButton", props: { as: { type: [Object, String], defa
2831
2828
  f.wasMoved(E) && (r.disabled || l.value && s.goToOption(ye.Nothing));
2832
2829
  }
2833
2830
  return () => {
2834
- let { disabled: E } = r, y = { active: l.value, selected: d.value, disabled: E }, { value: P, disabled: C, ...L } = r, A = { id: i, ref: a, role: "option", tabIndex: E === !0 ? void 0 : -1, "aria-disabled": E === !0 ? !0 : void 0, "aria-selected": d.value, disabled: void 0, onClick: g, onFocus: h, onPointerenter: b, onMouseenter: b, onPointermove: w, onMousemove: w, onPointerleave: k, onMouseleave: k };
2835
- return Pe({ ourProps: A, theirProps: L, slot: y, attrs: t, slots: e, name: "ListboxOption" });
2831
+ let { disabled: E } = r, y = { active: l.value, selected: d.value, disabled: E }, { value: P, disabled: S, ...D } = r, A = { id: i, ref: a, role: "option", tabIndex: E === !0 ? void 0 : -1, "aria-disabled": E === !0 ? !0 : void 0, "aria-selected": d.value, disabled: void 0, onClick: g, onFocus: h, onPointerenter: b, onMouseenter: b, onPointermove: w, onMousemove: w, onPointerleave: k, onMouseleave: k };
2832
+ return Pe({ ourProps: A, theirProps: D, slot: y, attrs: t, slots: e, name: "ListboxOption" });
2836
2833
  };
2837
2834
  } });
2838
2835
  var Yf = ((r) => (r[r.Open = 0] = "Open", r[r.Closed = 1] = "Closed", r))(Yf || {}), Qf = ((r) => (r[r.Pointer = 0] = "Pointer", r[r.Other = 1] = "Other", r))(Qf || {});
@@ -3120,7 +3117,7 @@ let Yu = Fr.RenderStrategy, mr = me({ props: { as: { type: [Object, String], def
3120
3117
  $e(b.value, { hidden: () => f(k), visible: () => h(k) });
3121
3118
  }
3122
3119
  });
3123
- let P = Gr(r.enter), C = Gr(r.enterFrom), L = Gr(r.enterTo), A = Gr(r.entered), B = Gr(r.leave), M = Gr(r.leaveFrom), O = Gr(r.leaveTo);
3120
+ let P = Gr(r.enter), S = Gr(r.enterFrom), D = Gr(r.enterTo), A = Gr(r.entered), B = Gr(r.leave), M = Gr(r.leaveFrom), O = Gr(r.leaveTo);
3124
3121
  ke(() => {
3125
3122
  nt(() => {
3126
3123
  if (b.value === "visible") {
@@ -3131,7 +3128,7 @@ let Yu = Fr.RenderStrategy, mr = me({ props: { as: { type: [Object, String], def
3131
3128
  });
3132
3129
  function H(q) {
3133
3130
  let re = w.value && !g.value, J = U(c);
3134
- !J || !(J instanceof HTMLElement) || re || (E.value = !0, u.value && s(), u.value || l(), q(u.value ? wc(J, P, C, L, A, (X) => {
3131
+ !J || !(J instanceof HTMLElement) || re || (E.value = !0, u.value && s(), u.value || l(), q(u.value ? wc(J, P, S, D, A, (X) => {
3135
3132
  E.value = !1, X === hl.Finished && a();
3136
3133
  }) : wc(J, B, M, O, A, (X) => {
3137
3134
  E.value = !1, X === hl.Finished && (na(y) || (b.value = "hidden", f(k), d()));
@@ -3142,7 +3139,7 @@ let Yu = Fr.RenderStrategy, mr = me({ props: { as: { type: [Object, String], def
3142
3139
  H(J), w.value = !1;
3143
3140
  }, { immediate: !0 });
3144
3141
  }), Ve(cd, y), sd(N(() => $e(b.value, { visible: Ae.Open, hidden: Ae.Closed }) | i.value)), () => {
3145
- let { appear: q, show: re, enter: J, enterFrom: X, enterTo: ne, entered: pe, leave: ae, leaveFrom: le, leaveTo: oe, ...ue } = r, De = { ref: c }, Ee = { ...ue, ...g.value && u.value && ri.isServer ? { class: Y([t.class, ue.class, ...P, ...C]) } : {} };
3142
+ let { appear: q, show: re, enter: J, enterFrom: X, enterTo: ne, entered: pe, leave: ae, leaveFrom: le, leaveTo: oe, ...ue } = r, De = { ref: c }, Ee = { ...ue, ...g.value && u.value && ri.isServer ? { class: Y([t.class, ue.class, ...P, ...S]) } : {} };
3146
3143
  return Pe({ theirProps: Ee, ourProps: De, slot: {}, slots: o, attrs: t, features: Yu, visible: b.value === "visible", name: "TransitionChild" });
3147
3144
  };
3148
3145
  } }), l0 = mr, Xo = me({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(r, { emit: e, attrs: t, slots: o }) {
@@ -3903,7 +3900,7 @@ function bl(r, e, t = {}, o, n, i) {
3903
3900
  throw new Error("Pinia destroyed");
3904
3901
  const l = { deep: !0 };
3905
3902
  process.env.NODE_ENV !== "production" && (l.onTrigger = (M) => {
3906
- d ? g = M : d == !1 && !L._hotUpdating && (Array.isArray(g) ? g.push(M) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
3903
+ d ? g = M : d == !1 && !D._hotUpdating && (Array.isArray(g) ? g.push(M) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
3907
3904
  });
3908
3905
  let d, c, p = [], u = [], g;
3909
3906
  const h = o.state.value[r];
@@ -3956,13 +3953,13 @@ function bl(r, e, t = {}, o, n, i) {
3956
3953
  To(u, {
3957
3954
  args: q,
3958
3955
  name: H[Pa],
3959
- store: L,
3956
+ store: D,
3960
3957
  after: X,
3961
3958
  onError: ne
3962
3959
  });
3963
3960
  let pe;
3964
3961
  try {
3965
- pe = M.apply(this && this.$id === r ? this : L, q);
3962
+ pe = M.apply(this && this.$id === r ? this : D, q);
3966
3963
  } catch (ae) {
3967
3964
  throw To(J, ae), ae;
3968
3965
  }
@@ -3974,7 +3971,7 @@ function bl(r, e, t = {}, o, n, i) {
3974
3971
  getters: {},
3975
3972
  state: [],
3976
3973
  hotState: f
3977
- }), C = {
3974
+ }), S = {
3978
3975
  _p: o,
3979
3976
  // _s: scope,
3980
3977
  $id: r,
@@ -3992,17 +3989,17 @@ function bl(r, e, t = {}, o, n, i) {
3992
3989
  return H;
3993
3990
  },
3994
3991
  $dispose: E
3995
- }, L = uu(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Pr ? Et(
3992
+ }, D = uu(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Pr ? Et(
3996
3993
  {
3997
3994
  _hmrPayload: P,
3998
3995
  _customProperties: Er(/* @__PURE__ */ new Set())
3999
3996
  // devtools custom properties
4000
3997
  },
4001
- C
3998
+ S
4002
3999
  // must be added later
4003
4000
  // setupStore
4004
- ) : C);
4005
- o._s.set(r, L);
4001
+ ) : S);
4002
+ o._s.set(r, D);
4006
4003
  const B = (o._a && o._a.runWithContext || N0)(() => o._e.run(() => (s = mu()).run(() => e({ action: y }))));
4007
4004
  for (const M in B) {
4008
4005
  const O = B[M];
@@ -4017,7 +4014,7 @@ function bl(r, e, t = {}, o, n, i) {
4017
4014
  ) : O, Pr && (B._getters || // @ts-expect-error: same
4018
4015
  (B._getters = Er([]))).push(M));
4019
4016
  }
4020
- if (Et(L, B), Et(tt(L), B), Object.defineProperty(L, "$state", {
4017
+ if (Et(D, B), Et(tt(D), B), Object.defineProperty(D, "$state", {
4021
4018
  get: () => process.env.NODE_ENV !== "production" && n ? f.value : o.state.value[r],
4022
4019
  set: (M) => {
4023
4020
  if (process.env.NODE_ENV !== "production" && n)
@@ -4026,34 +4023,34 @@ function bl(r, e, t = {}, o, n, i) {
4026
4023
  Et(O, M);
4027
4024
  });
4028
4025
  }
4029
- }), process.env.NODE_ENV !== "production" && (L._hotUpdate = Er((M) => {
4030
- L._hotUpdating = !0, M._hmrPayload.state.forEach((O) => {
4031
- if (O in L.$state) {
4032
- const H = M.$state[O], q = L.$state[O];
4026
+ }), process.env.NODE_ENV !== "production" && (D._hotUpdate = Er((M) => {
4027
+ D._hotUpdating = !0, M._hmrPayload.state.forEach((O) => {
4028
+ if (O in D.$state) {
4029
+ const H = M.$state[O], q = D.$state[O];
4033
4030
  typeof H == "object" && mo(H) && mo(q) ? lm(H, q) : M.$state[O] = q;
4034
4031
  }
4035
- Ni(L, O, ka(M.$state, O));
4036
- }), Object.keys(L.$state).forEach((O) => {
4037
- O in M.$state || Oa(L, O);
4032
+ Ni(D, O, ka(M.$state, O));
4033
+ }), Object.keys(D.$state).forEach((O) => {
4034
+ O in M.$state || Oa(D, O);
4038
4035
  }), d = !1, c = !1, o.state.value[r] = ka(M._hmrPayload, "hotState"), c = !0, Me().then(() => {
4039
4036
  d = !0;
4040
4037
  });
4041
4038
  for (const O in M._hmrPayload.actions) {
4042
4039
  const H = M[O];
4043
- Ni(L, O, y(H, O));
4040
+ Ni(D, O, y(H, O));
4044
4041
  }
4045
4042
  for (const O in M._hmrPayload.getters) {
4046
4043
  const H = M._hmrPayload.getters[O], q = i ? (
4047
4044
  // special handling of options api
4048
- N(() => ($n(o), H.call(L, L)))
4045
+ N(() => ($n(o), H.call(D, D)))
4049
4046
  ) : H;
4050
- Ni(L, O, q);
4047
+ Ni(D, O, q);
4051
4048
  }
4052
- Object.keys(L._hmrPayload.getters).forEach((O) => {
4053
- O in M._hmrPayload.getters || Oa(L, O);
4054
- }), Object.keys(L._hmrPayload.actions).forEach((O) => {
4055
- O in M._hmrPayload.actions || Oa(L, O);
4056
- }), L._hmrPayload = M._hmrPayload, L._getters = M._getters, L._hotUpdating = !1;
4049
+ Object.keys(D._hmrPayload.getters).forEach((O) => {
4050
+ O in M._hmrPayload.getters || Oa(D, O);
4051
+ }), Object.keys(D._hmrPayload.actions).forEach((O) => {
4052
+ O in M._hmrPayload.actions || Oa(D, O);
4053
+ }), D._hmrPayload = M._hmrPayload, D._getters = M._getters, D._hotUpdating = !1;
4057
4054
  })), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Pr) {
4058
4055
  const M = {
4059
4056
  writable: !0,
@@ -4062,28 +4059,28 @@ function bl(r, e, t = {}, o, n, i) {
4062
4059
  enumerable: !1
4063
4060
  };
4064
4061
  ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((O) => {
4065
- Object.defineProperty(L, O, Et({ value: L[O] }, M));
4062
+ Object.defineProperty(D, O, Et({ value: D[O] }, M));
4066
4063
  });
4067
4064
  }
4068
4065
  return o._p.forEach((M) => {
4069
4066
  if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Pr) {
4070
4067
  const O = s.run(() => M({
4071
- store: L,
4068
+ store: D,
4072
4069
  app: o._a,
4073
4070
  pinia: o,
4074
4071
  options: a
4075
4072
  }));
4076
- Object.keys(O || {}).forEach((H) => L._customProperties.add(H)), Et(L, O);
4073
+ Object.keys(O || {}).forEach((H) => D._customProperties.add(H)), Et(D, O);
4077
4074
  } else
4078
- Et(L, s.run(() => M({
4079
- store: L,
4075
+ Et(D, s.run(() => M({
4076
+ store: D,
4080
4077
  app: o._a,
4081
4078
  pinia: o,
4082
4079
  options: a
4083
4080
  })));
4084
- }), process.env.NODE_ENV !== "production" && L.$state && typeof L.$state == "object" && typeof L.$state.constructor == "function" && !L.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
4081
+ }), process.env.NODE_ENV !== "production" && D.$state && typeof D.$state == "object" && typeof D.$state.constructor == "function" && !D.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
4085
4082
  state: () => new MyClass()
4086
- Found in store "${L.$id}".`), h && i && t.hydrate && t.hydrate(L.$state, h), d = !0, c = !0, L;
4083
+ Found in store "${D.$id}".`), h && i && t.hydrate && t.hydrate(D.$state, h), d = !0, c = !0, D;
4087
4084
  }
4088
4085
  /*! #__NO_SIDE_EFFECTS__ */
4089
4086
  // @__NO_SIDE_EFFECTS__
@@ -4546,7 +4543,7 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
4546
4543
  default: F(() => [
4547
4544
  m("div", z0, [
4548
4545
  m("div", j0, [
4549
- s.value && s.value.pageBuilderLogo && s.value.pageBuilderLogo.src ? (v(), S("div", H0, [
4546
+ s.value && s.value.pageBuilderLogo && s.value.pageBuilderLogo.src ? (v(), C("div", H0, [
4550
4547
  m("div", V0, [
4551
4548
  m("img", {
4552
4549
  class: "h-6",
@@ -4555,7 +4552,7 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
4555
4552
  }, null, 8, W0)
4556
4553
  ]),
4557
4554
  l[0] || (l[0] = m("span", { class: "myPrimaryParagraph font-medium pl-4" }, "Preview mode ", -1))
4558
- ])) : (v(), S("div", q0, l[1] || (l[1] = [
4555
+ ])) : (v(), C("div", q0, l[1] || (l[1] = [
4559
4556
  m("div", { class: "pr-6" }, [
4560
4557
  m("span", { class: "myPrimaryParagraph font-medium" }, "Preview mode ")
4561
4558
  ], -1)
@@ -4597,7 +4594,7 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
4597
4594
  }
4598
4595
  else
4599
4596
  e.value = "";
4600
- return (o, n) => (v(), S("div", U0, [
4597
+ return (o, n) => (v(), C("div", U0, [
4601
4598
  m("div", K0, [
4602
4599
  m("div", {
4603
4600
  class: "",
@@ -4795,20 +4792,20 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
4795
4792
  default: F(() => [
4796
4793
  Kt(s.$slots, "content"),
4797
4794
  m("div", Y0, [
4798
- r.simpleModal !== !0 ? (v(), S("div", Q0, [
4795
+ r.simpleModal !== !0 ? (v(), C("div", Q0, [
4799
4796
  m("div", X0, [
4800
- r.type === "default" ? (v(), S("div", Z0)) : I("", !0),
4797
+ r.type === "default" ? (v(), C("div", Z0)) : I("", !0),
4801
4798
  m("div", e1, [
4802
- r.type === "success" ? (v(), S("div", t1, a[0] || (a[0] = [
4799
+ r.type === "success" ? (v(), C("div", t1, a[0] || (a[0] = [
4803
4800
  m("span", { class: "material-symbols-outlined" }, " check ", -1)
4804
4801
  ]))) : I("", !0),
4805
- r.type === "warning" ? (v(), S("div", r1, a[1] || (a[1] = [
4802
+ r.type === "warning" ? (v(), C("div", r1, a[1] || (a[1] = [
4806
4803
  m("span", { class: "material-symbols-outlined" }, " notification_important ", -1)
4807
4804
  ]))) : I("", !0),
4808
- r.type === "delete" ? (v(), S("div", o1, a[2] || (a[2] = [
4805
+ r.type === "delete" ? (v(), C("div", o1, a[2] || (a[2] = [
4809
4806
  m("span", { class: "material-symbols-outlined" }, " delete ", -1)
4810
4807
  ]))) : I("", !0),
4811
- r.type === "danger" ? (v(), S("div", n1, a[3] || (a[3] = [
4808
+ r.type === "danger" ? (v(), C("div", n1, a[3] || (a[3] = [
4812
4809
  m("span", { class: "material-symbols-outlined" }, " warning ", -1)
4813
4810
  ]))) : I("", !0),
4814
4811
  m("h3", i1, z(r.title), 1)
@@ -4824,7 +4821,7 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
4824
4821
  m("div", {
4825
4822
  class: Y({ "p-4": r.simpleModal !== !0 })
4826
4823
  }, [
4827
- r.simpleModal !== !0 ? (v(), S("div", {
4824
+ r.simpleModal !== !0 ? (v(), C("div", {
4828
4825
  key: 0,
4829
4826
  innerHTML: r.description,
4830
4827
  class: "myPrimaryParagraph mb-6"
@@ -4833,7 +4830,7 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
4833
4830
  Kt(s.$slots, "default")
4834
4831
  ], 2)
4835
4832
  ]),
4836
- r.simpleModal !== !0 ? (v(), S("div", a1, [
4833
+ r.simpleModal !== !0 ? (v(), C("div", a1, [
4837
4834
  Kt(s.$slots, "footer"),
4838
4835
  m("div", {
4839
4836
  class: Y([{
@@ -4842,15 +4839,15 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
4842
4839
  "sm:grid-cols-3": r.gridColumnAmount === 3
4843
4840
  }, "sm:items-end sm:justify-end flex sm:flex-row flex-col myPrimaryGap sm:w-5/6 w-full"])
4844
4841
  }, [
4845
- r.firstButtonText ? (v(), S("button", {
4842
+ r.firstButtonText ? (v(), C("button", {
4846
4843
  key: 0,
4847
4844
  ref: "firstButtonRef",
4848
4845
  class: "mySecondaryButton",
4849
4846
  type: "button",
4850
4847
  onClick: o
4851
4848
  }, z(r.firstButtonText), 513)) : I("", !0),
4852
- r.secondButtonText ? (v(), S("div", l1, [
4853
- r.disabled && r.disabledWhichButton === "secondButtonBuilder" ? (v(), S("div", d1, [
4849
+ r.secondButtonText ? (v(), C("div", l1, [
4850
+ r.disabled && r.disabledWhichButton === "secondButtonBuilder" ? (v(), C("div", d1, [
4854
4851
  m("button", {
4855
4852
  class: Y(["flex items-center gap-2 myPrimaryButton bg-yellow-300 hover:bg-yellow-400 text-myPrimaryDarkGrayColor hover:text-myPrimaryDarkGrayColor focus:ring-yellow-400 w-full", {
4856
4853
  "opacity-25 cursor-default": r.disabled
@@ -4892,7 +4889,7 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
4892
4889
  a[6] || (a[6] = m("div", null, "Loading..", -1))
4893
4890
  ], 10, c1)
4894
4891
  ])) : I("", !0),
4895
- !r.disabled || r.disabledWhichButton !== "secondButtonBuilder" ? (v(), S("div", p1, [
4892
+ !r.disabled || r.disabledWhichButton !== "secondButtonBuilder" ? (v(), C("div", p1, [
4896
4893
  m("button", {
4897
4894
  class: "myPrimaryButton bg-yellow-300 hover:bg-yellow-400 text-myPrimaryDarkGrayColor hover:text-myPrimaryDarkGrayColor focus:ring-yellow-400 w-full",
4898
4895
  type: "button",
@@ -4900,9 +4897,9 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
4900
4897
  }, z(r.secondButtonText), 1)
4901
4898
  ])) : I("", !0)
4902
4899
  ])) : I("", !0),
4903
- r.thirdButtonText ? (v(), S("div", u1, [
4904
- r.type === "default" ? (v(), S("div", m1, [
4905
- r.disabled && r.disabledWhichButton === "thirdButtonBuilder" ? (v(), S("div", h1, [
4900
+ r.thirdButtonText ? (v(), C("div", u1, [
4901
+ r.type === "default" ? (v(), C("div", m1, [
4902
+ r.disabled && r.disabledWhichButton === "thirdButtonBuilder" ? (v(), C("div", h1, [
4906
4903
  m("button", {
4907
4904
  class: Y(["flex items-center gap-2 myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full", {
4908
4905
  "opacity-25 cursor-default": r.disabled
@@ -4943,7 +4940,7 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
4943
4940
  a[8] || (a[8] = m("div", null, "Loading..", -1))
4944
4941
  ], 10, g1)
4945
4942
  ])) : I("", !0),
4946
- !r.disabled || r.disabledWhichButton !== "thirdButtonBuilder" ? (v(), S("div", f1, [
4943
+ !r.disabled || r.disabledWhichButton !== "thirdButtonBuilder" ? (v(), C("div", f1, [
4947
4944
  m("button", {
4948
4945
  class: "myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",
4949
4946
  type: "button",
@@ -4951,8 +4948,8 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
4951
4948
  }, z(r.thirdButtonText), 1)
4952
4949
  ])) : I("", !0)
4953
4950
  ])) : I("", !0),
4954
- r.type === "success" ? (v(), S("div", b1, [
4955
- r.disabled && r.disabledWhichButton === "thirdButtonBuilder" ? (v(), S("div", y1, [
4951
+ r.type === "success" ? (v(), C("div", b1, [
4952
+ r.disabled && r.disabledWhichButton === "thirdButtonBuilder" ? (v(), C("div", y1, [
4956
4953
  m("button", {
4957
4954
  class: Y(["flex items-center gap-2 myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full", {
4958
4955
  "opacity-25 cursor-default": r.disabled
@@ -4993,7 +4990,7 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
4993
4990
  a[10] || (a[10] = m("div", null, "Loading..", -1))
4994
4991
  ], 10, w1)
4995
4992
  ])) : I("", !0),
4996
- !r.disabled || r.disabledWhichButton !== "thirdButtonBuilder" ? (v(), S("div", v1, [
4993
+ !r.disabled || r.disabledWhichButton !== "thirdButtonBuilder" ? (v(), C("div", v1, [
4997
4994
  m("button", {
4998
4995
  class: "myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",
4999
4996
  type: "button",
@@ -5001,8 +4998,8 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
5001
4998
  }, z(r.thirdButtonText), 1)
5002
4999
  ])) : I("", !0)
5003
5000
  ])) : I("", !0),
5004
- r.type === "warning" ? (v(), S("div", x1, [
5005
- r.disabled && r.disabledWhichButton === "thirdButtonBuilder" ? (v(), S("div", k1, [
5001
+ r.type === "warning" ? (v(), C("div", x1, [
5002
+ r.disabled && r.disabledWhichButton === "thirdButtonBuilder" ? (v(), C("div", k1, [
5006
5003
  m("button", {
5007
5004
  class: Y(["flex items-center gap-2 myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full", {
5008
5005
  "opacity-25 cursor-default": r.disabled
@@ -5043,7 +5040,7 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
5043
5040
  a[12] || (a[12] = m("div", null, "Loading..", -1))
5044
5041
  ], 10, S1)
5045
5042
  ])) : I("", !0),
5046
- !r.disabled || r.disabledWhichButton !== "thirdButtonBuilder" ? (v(), S("div", C1, [
5043
+ !r.disabled || r.disabledWhichButton !== "thirdButtonBuilder" ? (v(), C("div", C1, [
5047
5044
  m("button", {
5048
5045
  class: "flex items-center gap-2 myPrimaryButton bg-myPrimaryErrorColor hover:bg-red-600 text-white focus:ring-myPrimaryErrorColor w-full",
5049
5046
  type: "button",
@@ -5051,8 +5048,8 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
5051
5048
  }, z(r.thirdButtonText), 1)
5052
5049
  ])) : I("", !0)
5053
5050
  ])) : I("", !0),
5054
- r.type === "danger" || r.type === "delete" ? (v(), S("div", M1, [
5055
- r.disabled && r.disabledWhichButton === "thirdButtonBuilder" ? (v(), S("div", E1, [
5051
+ r.type === "danger" || r.type === "delete" ? (v(), C("div", M1, [
5052
+ r.disabled && r.disabledWhichButton === "thirdButtonBuilder" ? (v(), C("div", E1, [
5056
5053
  m("button", {
5057
5054
  class: Y(["flex items-center gap-2 myPrimaryButton bg-myPrimaryErrorColor hover:bg-red-600 text-white focus:ring-myPrimaryErrorColor w-full", {
5058
5055
  "opacity-25 cursor-default": r.disabled
@@ -5093,7 +5090,7 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
5093
5090
  a[14] || (a[14] = m("div", null, "Loading..", -1))
5094
5091
  ], 10, T1)
5095
5092
  ])) : I("", !0),
5096
- !r.disabled || r.disabledWhichButton !== "thirdButtonBuilder" ? (v(), S("div", O1, [
5093
+ !r.disabled || r.disabledWhichButton !== "thirdButtonBuilder" ? (v(), C("div", O1, [
5097
5094
  m("button", {
5098
5095
  class: "flex items-center gap-2 myPrimaryButton bg-myPrimaryErrorColor hover:bg-red-600 text-white focus:ring-myPrimaryErrorColor w-full",
5099
5096
  type: "button",
@@ -5118,7 +5115,7 @@ const _0 = /* @__PURE__ */ $0("pageBuilderState", {
5118
5115
  g.deleteComponent(), t.value = !1;
5119
5116
  };
5120
5117
  };
5121
- return (f, b) => (v(), S(ve, null, [
5118
+ return (f, b) => (v(), C(ve, null, [
5122
5119
  _(_n, {
5123
5120
  showDynamicModalBuilder: t.value,
5124
5121
  type: o.value,
@@ -13551,31 +13548,31 @@ function tw(r, e, t, o, n) {
13551
13548
  return A(r, eo(13, "Enter"));
13552
13549
  });
13553
13550
  }, 20));
13554
- let y = h.start, P = h.endA, C = (A) => {
13551
+ let y = h.start, P = h.endA, S = (A) => {
13555
13552
  let B = A || r.state.tr.replace(y, P, d.doc.slice(h.start - d.from, h.endB - d.from));
13556
13553
  if (d.sel) {
13557
13554
  let M = bp(r, B.doc, d.sel);
13558
13555
  M && !(ot && r.composing && M.empty && (h.start != h.endB || r.input.lastChromeDelete < Date.now() - 100) && (M.head == y || M.head == B.mapping.map(P) - 1) || gt && M.empty && M.head == y) && B.setSelection(M);
13559
13556
  }
13560
13557
  return i && B.setMeta("composition", i), B.scrollIntoView();
13561
- }, L;
13558
+ }, D;
13562
13559
  if (k) {
13563
13560
  if (f.pos == b.pos) {
13564
13561
  gt && Rr <= 11 && f.parentOffset == 0 && (r.domObserver.suppressSelectionUpdates(), setTimeout(() => ur(r), 20));
13565
- let A = C(r.state.tr.delete(y, P)), B = c.resolve(h.start).marksAcross(c.resolve(h.endA));
13562
+ let A = S(r.state.tr.delete(y, P)), B = c.resolve(h.start).marksAcross(c.resolve(h.endA));
13566
13563
  B && A.ensureMarks(B), r.dispatch(A);
13567
13564
  } else if (
13568
13565
  // Adding or removing a mark
13569
- h.endA == h.endB && (L = rw(f.parent.content.cut(f.parentOffset, b.parentOffset), w.parent.content.cut(w.parentOffset, h.endA - w.start())))
13566
+ h.endA == h.endB && (D = rw(f.parent.content.cut(f.parentOffset, b.parentOffset), w.parent.content.cut(w.parentOffset, h.endA - w.start())))
13570
13567
  ) {
13571
- let A = C(r.state.tr);
13572
- L.type == "add" ? A.addMark(y, P, L.mark) : A.removeMark(y, P, L.mark), r.dispatch(A);
13568
+ let A = S(r.state.tr);
13569
+ D.type == "add" ? A.addMark(y, P, D.mark) : A.removeMark(y, P, D.mark), r.dispatch(A);
13573
13570
  } else if (f.parent.child(f.index()).isText && f.index() == b.index() - (b.textOffset ? 0 : 1)) {
13574
- let A = f.parent.textBetween(f.parentOffset, b.parentOffset), B = () => C(r.state.tr.insertText(A, y, P));
13571
+ let A = f.parent.textBetween(f.parentOffset, b.parentOffset), B = () => S(r.state.tr.insertText(A, y, P));
13575
13572
  r.someProp("handleTextInput", (M) => M(r, y, P, A, B)) || r.dispatch(B());
13576
13573
  }
13577
13574
  } else
13578
- r.dispatch(C());
13575
+ r.dispatch(S());
13579
13576
  }
13580
13577
  function bp(r, e, t) {
13581
13578
  return Math.max(t.anchor, t.head) > e.content.size ? null : wd(r, e.resolve(t.anchor), e.resolve(t.head));
@@ -15190,12 +15187,12 @@ function Uw(r) {
15190
15187
  qw(w, i.find, s).forEach((E) => {
15191
15188
  if (E.index === void 0)
15192
15189
  return;
15193
- const y = f + E.index + 1, P = y + E[0].length, C = {
15190
+ const y = f + E.index + 1, P = y + E[0].length, S = {
15194
15191
  from: t.tr.mapping.map(y),
15195
15192
  to: t.tr.mapping.map(P)
15196
- }, L = i.handler({
15193
+ }, D = i.handler({
15197
15194
  state: t,
15198
- range: C,
15195
+ range: S,
15199
15196
  match: E,
15200
15197
  commands: l,
15201
15198
  chain: d,
@@ -15203,7 +15200,7 @@ function Uw(r) {
15203
15200
  pasteEvent: s,
15204
15201
  dropEvent: a
15205
15202
  });
15206
- p.push(L);
15203
+ p.push(D);
15207
15204
  });
15208
15205
  }), p.every((g) => g !== null);
15209
15206
  }
@@ -15286,12 +15283,12 @@ function Gw(r) {
15286
15283
  if (k) {
15287
15284
  let { text: P } = w;
15288
15285
  typeof P == "string" ? P = P : P = Ad(R.from(P), g.schema);
15289
- const { from: C } = w, L = C + P.length, A = Kw(P);
15286
+ const { from: S } = w, D = S + P.length, A = Kw(P);
15290
15287
  return l({
15291
15288
  rule: c,
15292
15289
  state: g,
15293
- from: C,
15294
- to: { b: L },
15290
+ from: S,
15291
+ to: { b: D },
15295
15292
  pasteEvt: A
15296
15293
  });
15297
15294
  }
@@ -16303,14 +16300,14 @@ const o2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16303
16300
  ...e
16304
16301
  }, P = ((s = a.contentMatch.defaultType) === null || s === void 0 ? void 0 : s.createAndFill(y)) || void 0;
16305
16302
  w = w.append(R.from(a.createAndFill(null, P) || void 0));
16306
- const C = l.before(l.depth - (k - 1));
16307
- t.replace(C, l.after(-E), new j(w, 4 - k, 0));
16308
- let L = -1;
16309
- t.doc.nodesBetween(C, t.doc.content.size, (A, B) => {
16310
- if (L > -1)
16303
+ const S = l.before(l.depth - (k - 1));
16304
+ t.replace(S, l.after(-E), new j(w, 4 - k, 0));
16305
+ let D = -1;
16306
+ t.doc.nodesBetween(S, t.doc.content.size, (A, B) => {
16307
+ if (D > -1)
16311
16308
  return !1;
16312
- A.isTextblock && A.content.size === 0 && (L = B + 1);
16313
- }), L > -1 && t.setSelection(Q.near(t.doc.resolve(L))), t.scrollIntoView();
16309
+ A.isTextblock && A.content.size === 0 && (D = B + 1);
16310
+ }), D > -1 && t.setSelection(Q.near(t.doc.resolve(D))), t.scrollIntoView();
16314
16311
  }
16315
16312
  return !0;
16316
16313
  }
@@ -16332,7 +16329,7 @@ const o2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16332
16329
  const { selection: w, storedMarks: k } = o, { splittableMarks: E } = i.extensionManager, y = k || w.$to.parentOffset && w.$from.marks();
16333
16330
  if (t.split(l.pos, 2, b).scrollIntoView(), !y || !n)
16334
16331
  return !0;
16335
- const P = y.filter((C) => E.includes(C.type.name));
16332
+ const P = y.filter((S) => E.includes(S.type.name));
16336
16333
  t.ensureMarks(P);
16337
16334
  }
16338
16335
  return !0;
@@ -16358,7 +16355,7 @@ const o2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16358
16355
  const { extensions: p, splittableMarks: u } = n.extensionManager, g = Ke(r, s.schema), h = Ke(e, s.schema), { selection: f, storedMarks: b } = s, { $from: w, $to: k } = f, E = w.blockRange(k), y = b || f.$to.parentOffset && f.$from.marks();
16359
16356
  if (!E)
16360
16357
  return !1;
16361
- const P = $d((C) => Bp(C.type.name, p))(f);
16358
+ const P = $d((S) => Bp(S.type.name, p))(f);
16362
16359
  if (E.depth >= 1 && P && E.depth - P.depth <= 1) {
16363
16360
  if (P.node.type === g)
16364
16361
  return d.liftListItem(h);
@@ -16366,8 +16363,8 @@ const o2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16366
16363
  return l().command(() => (i.setNodeMarkup(P.pos, g), !0)).command(() => Ua(i, g)).command(() => Ka(i, g)).run();
16367
16364
  }
16368
16365
  return !t || !y || !a ? l().command(() => c().wrapInList(g, o) ? !0 : d.clearNodes()).wrapInList(g, o).command(() => Ua(i, g)).command(() => Ka(i, g)).run() : l().command(() => {
16369
- const C = c().wrapInList(g, o), L = y.filter((A) => u.includes(A.type.name));
16370
- return i.ensureMarks(L), C ? !0 : d.clearNodes();
16366
+ const S = c().wrapInList(g, o), D = y.filter((A) => u.includes(A.type.name));
16367
+ return i.ensureMarks(D), S ? !0 : d.clearNodes();
16371
16368
  }).wrapInList(g, o).command(() => Ua(i, g)).command(() => Ka(i, g)).run();
16372
16369
  }, s2 = (r, e = {}, t = {}) => ({ state: o, commands: n }) => {
16373
16370
  const { extendEmptyMarkRange: i = !1 } = t, s = Wr(r, o.schema);
@@ -17575,8 +17572,8 @@ var q2 = function(e, t) {
17575
17572
  function U2(r) {
17576
17573
  var e, t = r.state, o = r.name, n = r.options, i = t.elements.arrow, s = t.modifiersData.popperOffsets, a = Yt(t.placement), l = Vd(a), d = [bt, Nt].indexOf(a) >= 0, c = d ? "height" : "width";
17577
17574
  if (!(!i || !s)) {
17578
- var p = q2(n.padding, t), u = Hd(i), g = l === "y" ? ft : bt, h = l === "y" ? Dt : Nt, f = t.rects.reference[c] + t.rects.reference[l] - s[l] - t.rects.popper[c], b = s[l] - t.rects.reference[l], w = gi(i), k = w ? l === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, E = f / 2 - b / 2, y = p[g], P = k - u[c] - p[h], C = k / 2 - u[c] / 2 + E, L = En(y, C, P), A = l;
17579
- t.modifiersData[o] = (e = {}, e[A] = L, e.centerOffset = L - C, e);
17575
+ var p = q2(n.padding, t), u = Hd(i), g = l === "y" ? ft : bt, h = l === "y" ? Dt : Nt, f = t.rects.reference[c] + t.rects.reference[l] - s[l] - t.rects.popper[c], b = s[l] - t.rects.reference[l], w = gi(i), k = w ? l === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, E = f / 2 - b / 2, y = p[g], P = k - u[c] - p[h], S = k / 2 - u[c] / 2 + E, D = En(y, S, P), A = l;
17576
+ t.modifiersData[o] = (e = {}, e[A] = D, e.centerOffset = D - S, e);
17580
17577
  }
17581
17578
  }
17582
17579
  function K2(r) {
@@ -17619,20 +17616,20 @@ function Np(r) {
17619
17616
  g = b.x, f = b.y;
17620
17617
  var w = s.hasOwnProperty("x"), k = s.hasOwnProperty("y"), E = bt, y = ft, P = window;
17621
17618
  if (d) {
17622
- var C = gi(t), L = "clientHeight", A = "clientWidth";
17623
- if (C === St(t) && (C = qr(t), gr(C).position !== "static" && a === "absolute" && (L = "scrollHeight", A = "scrollWidth")), C = C, n === ft || (n === bt || n === Nt) && i === Jn) {
17619
+ var S = gi(t), D = "clientHeight", A = "clientWidth";
17620
+ if (S === St(t) && (S = qr(t), gr(S).position !== "static" && a === "absolute" && (D = "scrollHeight", A = "scrollWidth")), S = S, n === ft || (n === bt || n === Nt) && i === Jn) {
17624
17621
  y = Dt;
17625
- var B = p && C === P && P.visualViewport ? P.visualViewport.height : (
17622
+ var B = p && S === P && P.visualViewport ? P.visualViewport.height : (
17626
17623
  // $FlowFixMe[prop-missing]
17627
- C[L]
17624
+ S[D]
17628
17625
  );
17629
17626
  f -= B - o.height, f *= l ? 1 : -1;
17630
17627
  }
17631
17628
  if (n === bt || (n === ft || n === Dt) && i === Jn) {
17632
17629
  E = Nt;
17633
- var M = p && C === P && P.visualViewport ? P.visualViewport.width : (
17630
+ var M = p && S === P && P.visualViewport ? P.visualViewport.width : (
17634
17631
  // $FlowFixMe[prop-missing]
17635
- C[A]
17632
+ S[A]
17636
17633
  );
17637
17634
  g -= M - o.width, g *= l ? 1 : -1;
17638
17635
  }
@@ -17850,11 +17847,11 @@ function lg(r) {
17850
17847
  }
17851
17848
  function Yn(r, e) {
17852
17849
  e === void 0 && (e = {});
17853
- var t = e, o = t.placement, n = o === void 0 ? r.placement : o, i = t.strategy, s = i === void 0 ? r.strategy : i, a = t.boundary, l = a === void 0 ? O2 : a, d = t.rootBoundary, c = d === void 0 ? Zh : d, p = t.elementContext, u = p === void 0 ? un : p, g = t.altBoundary, h = g === void 0 ? !1 : g, f = t.padding, b = f === void 0 ? 0 : f, w = ig(typeof b != "number" ? b : sg(b, hi)), k = u === un ? P2 : un, E = r.rects.popper, y = r.elements[h ? k : u], P = ax(wo(y) ? y : y.contextElement || qr(r.elements.popper), l, c, s), C = Go(r.elements.reference), L = lg({
17854
- reference: C,
17850
+ var t = e, o = t.placement, n = o === void 0 ? r.placement : o, i = t.strategy, s = i === void 0 ? r.strategy : i, a = t.boundary, l = a === void 0 ? O2 : a, d = t.rootBoundary, c = d === void 0 ? Zh : d, p = t.elementContext, u = p === void 0 ? un : p, g = t.altBoundary, h = g === void 0 ? !1 : g, f = t.padding, b = f === void 0 ? 0 : f, w = ig(typeof b != "number" ? b : sg(b, hi)), k = u === un ? P2 : un, E = r.rects.popper, y = r.elements[h ? k : u], P = ax(wo(y) ? y : y.contextElement || qr(r.elements.popper), l, c, s), S = Go(r.elements.reference), D = lg({
17851
+ reference: S,
17855
17852
  element: E,
17856
17853
  placement: n
17857
- }), A = jl(Object.assign({}, E, L)), B = u === un ? A : C, M = {
17854
+ }), A = jl(Object.assign({}, E, D)), B = u === un ? A : S, M = {
17858
17855
  top: P.top - B.top + w.top,
17859
17856
  bottom: B.bottom - P.bottom + w.bottom,
17860
17857
  left: P.left - B.left + w.left,
@@ -17907,7 +17904,7 @@ function cx(r) {
17907
17904
  flipVariations: h,
17908
17905
  allowedAutoPlacements: f
17909
17906
  }) : st);
17910
- }, []), P = e.rects.reference, C = e.rects.popper, L = /* @__PURE__ */ new Map(), A = !0, B = y[0], M = 0; M < y.length; M++) {
17907
+ }, []), P = e.rects.reference, S = e.rects.popper, D = /* @__PURE__ */ new Map(), A = !0, B = y[0], M = 0; M < y.length; M++) {
17911
17908
  var O = y[M], H = Yt(O), q = Jo(O) === Uo, re = [ft, Dt].indexOf(H) >= 0, J = re ? "width" : "height", X = Yn(e, {
17912
17909
  placement: O,
17913
17910
  boundary: c,
@@ -17915,7 +17912,7 @@ function cx(r) {
17915
17912
  altBoundary: u,
17916
17913
  padding: d
17917
17914
  }), ne = re ? q ? Nt : bt : q ? Dt : ft;
17918
- P[J] > C[J] && (ne = ts(ne));
17915
+ P[J] > S[J] && (ne = ts(ne));
17919
17916
  var pe = ts(ne), ae = [];
17920
17917
  if (i && ae.push(X[H] <= 0), a && ae.push(X[ne] <= 0, X[pe] <= 0), ae.every(function(Ee) {
17921
17918
  return Ee;
@@ -17923,12 +17920,12 @@ function cx(r) {
17923
17920
  B = O, A = !1;
17924
17921
  break;
17925
17922
  }
17926
- L.set(O, ae);
17923
+ D.set(O, ae);
17927
17924
  }
17928
17925
  if (A)
17929
17926
  for (var le = h ? 3 : 1, oe = function(st) {
17930
17927
  var mt = y.find(function(xo) {
17931
- var er = L.get(xo);
17928
+ var er = D.get(xo);
17932
17929
  if (er)
17933
17930
  return er.slice(0, st).every(function(ko) {
17934
17931
  return ko;
@@ -18041,7 +18038,7 @@ function vx(r) {
18041
18038
  rootBoundary: d,
18042
18039
  padding: p,
18043
18040
  altBoundary: c
18044
- }), w = Yt(e.placement), k = Jo(e.placement), E = !k, y = Vd(w), P = wx(y), C = e.modifiersData.popperOffsets, L = e.rects.reference, A = e.rects.popper, B = typeof f == "function" ? f(Object.assign({}, e.rects, {
18041
+ }), w = Yt(e.placement), k = Jo(e.placement), E = !k, y = Vd(w), P = wx(y), S = e.modifiersData.popperOffsets, D = e.rects.reference, A = e.rects.popper, B = typeof f == "function" ? f(Object.assign({}, e.rects, {
18045
18042
  placement: e.placement
18046
18043
  })) : f, M = typeof B == "number" ? {
18047
18044
  mainAxis: B,
@@ -18053,17 +18050,17 @@ function vx(r) {
18053
18050
  x: 0,
18054
18051
  y: 0
18055
18052
  };
18056
- if (C) {
18053
+ if (S) {
18057
18054
  if (i) {
18058
- var q, re = y === "y" ? ft : bt, J = y === "y" ? Dt : Nt, X = y === "y" ? "height" : "width", ne = C[y], pe = ne + b[re], ae = ne - b[J], le = g ? -A[X] / 2 : 0, oe = k === Uo ? L[X] : A[X], ue = k === Uo ? -A[X] : -L[X], De = e.elements.arrow, Ee = g && De ? Hd(De) : {
18055
+ var q, re = y === "y" ? ft : bt, J = y === "y" ? Dt : Nt, X = y === "y" ? "height" : "width", ne = S[y], pe = ne + b[re], ae = ne - b[J], le = g ? -A[X] / 2 : 0, oe = k === Uo ? D[X] : A[X], ue = k === Uo ? -A[X] : -D[X], De = e.elements.arrow, Ee = g && De ? Hd(De) : {
18059
18056
  width: 0,
18060
18057
  height: 0
18061
- }, st = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ng(), mt = st[re], xo = st[J], er = En(0, L[X], Ee[X]), ko = E ? L[X] / 2 - le - er - mt - M.mainAxis : oe - er - mt - M.mainAxis, fr = E ? -L[X] / 2 + le + er + xo + M.mainAxis : ue + er + xo + M.mainAxis, So = e.elements.arrow && gi(e.elements.arrow), fi = So ? y === "y" ? So.clientTop || 0 : So.clientLeft || 0 : 0, rn = (q = O == null ? void 0 : O[y]) != null ? q : 0, bi = ne + ko - rn - fi, yi = ne + fr - rn, on = En(g ? xs(pe, bi) : pe, ne, g ? po(ae, yi) : ae);
18062
- C[y] = on, H[y] = on - ne;
18058
+ }, st = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ng(), mt = st[re], xo = st[J], er = En(0, D[X], Ee[X]), ko = E ? D[X] / 2 - le - er - mt - M.mainAxis : oe - er - mt - M.mainAxis, fr = E ? -D[X] / 2 + le + er + xo + M.mainAxis : ue + er + xo + M.mainAxis, So = e.elements.arrow && gi(e.elements.arrow), fi = So ? y === "y" ? So.clientTop || 0 : So.clientLeft || 0 : 0, rn = (q = O == null ? void 0 : O[y]) != null ? q : 0, bi = ne + ko - rn - fi, yi = ne + fr - rn, on = En(g ? xs(pe, bi) : pe, ne, g ? po(ae, yi) : ae);
18059
+ S[y] = on, H[y] = on - ne;
18063
18060
  }
18064
18061
  if (a) {
18065
- var nn, wi = y === "x" ? ft : bt, vi = y === "x" ? Dt : Nt, tr = C[P], br = P === "y" ? "height" : "width", sn = tr + b[wi], Ur = tr - b[vi], an = [ft, bt].indexOf(w) !== -1, xi = (nn = O == null ? void 0 : O[P]) != null ? nn : 0, ki = an ? sn : tr - L[br] - A[br] - xi + M.altAxis, Si = an ? tr + L[br] + A[br] - xi - M.altAxis : Ur, Ci = g && an ? W2(ki, tr, Si) : En(g ? ki : sn, tr, g ? Si : Ur);
18066
- C[P] = Ci, H[P] = Ci - tr;
18062
+ var nn, wi = y === "x" ? ft : bt, vi = y === "x" ? Dt : Nt, tr = S[P], br = P === "y" ? "height" : "width", sn = tr + b[wi], Ur = tr - b[vi], an = [ft, bt].indexOf(w) !== -1, xi = (nn = O == null ? void 0 : O[P]) != null ? nn : 0, ki = an ? sn : tr - D[br] - A[br] - xi + M.altAxis, Si = an ? tr + D[br] + A[br] - xi - M.altAxis : Ur, Ci = g && an ? W2(ki, tr, Si) : En(g ? ki : sn, tr, g ? Si : Ur);
18063
+ S[P] = Ci, H[P] = Ci - tr;
18067
18064
  }
18068
18065
  e.modifiersData[o] = H;
18069
18066
  }
@@ -18215,8 +18212,8 @@ function Bx(r) {
18215
18212
  c.reset = !1, y = -1;
18216
18213
  continue;
18217
18214
  }
18218
- var P = c.orderedModifiers[y], C = P.fn, L = P.options, A = L === void 0 ? {} : L, B = P.name;
18219
- typeof C == "function" && (c = C({
18215
+ var P = c.orderedModifiers[y], S = P.fn, D = P.options, A = D === void 0 ? {} : D, B = P.name;
18216
+ typeof S == "function" && (c = S({
18220
18217
  state: c,
18221
18218
  options: A,
18222
18219
  name: B,
@@ -18251,9 +18248,9 @@ function Bx(r) {
18251
18248
  name: w,
18252
18249
  instance: g,
18253
18250
  options: E
18254
- }), C = function() {
18251
+ }), S = function() {
18255
18252
  };
18256
- p.push(P || C);
18253
+ p.push(P || S);
18257
18254
  }
18258
18255
  });
18259
18256
  }
@@ -18664,55 +18661,55 @@ function s5(r, e) {
18664
18661
  };
18665
18662
  if (!t.render)
18666
18663
  return process.env.NODE_ENV !== "production" && Hl(!0, "render() function has not been supplied."), y;
18667
- var P = t.render(y), C = P.popper, L = P.onUpdate;
18668
- C.setAttribute("data-tippy-root", ""), C.id = "tippy-" + y.id, y.popper = C, r._tippy = y, C._tippy = y;
18669
- var A = k.map(function(D) {
18670
- return D.fn(y);
18664
+ var P = t.render(y), S = P.popper, D = P.onUpdate;
18665
+ S.setAttribute("data-tippy-root", ""), S.id = "tippy-" + y.id, y.popper = S, r._tippy = y, S._tippy = y;
18666
+ var A = k.map(function(L) {
18667
+ return L.fn(y);
18671
18668
  }), B = r.hasAttribute("aria-expanded");
18672
- return So(), le(), ne(), pe("onCreate", [y]), t.showOnCreate && sn(), C.addEventListener("mouseenter", function() {
18669
+ return So(), le(), ne(), pe("onCreate", [y]), t.showOnCreate && sn(), S.addEventListener("mouseenter", function() {
18673
18670
  y.props.interactive && y.state.isVisible && y.clearDelayTimeouts();
18674
- }), C.addEventListener("mouseleave", function() {
18671
+ }), S.addEventListener("mouseleave", function() {
18675
18672
  y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 && re().addEventListener("mousemove", h);
18676
18673
  }), y;
18677
18674
  function M() {
18678
- var D = y.props.touch;
18679
- return Array.isArray(D) ? D : [D, 0];
18675
+ var L = y.props.touch;
18676
+ return Array.isArray(L) ? L : [L, 0];
18680
18677
  }
18681
18678
  function O() {
18682
18679
  return M()[0] === "hold";
18683
18680
  }
18684
18681
  function H() {
18685
- var D;
18686
- return !!((D = y.props.render) != null && D.$$tippy);
18682
+ var L;
18683
+ return !!((L = y.props.render) != null && L.$$tippy);
18687
18684
  }
18688
18685
  function q() {
18689
18686
  return f || r;
18690
18687
  }
18691
18688
  function re() {
18692
- var D = q().parentNode;
18693
- return D ? Wx(D) : document;
18689
+ var L = q().parentNode;
18690
+ return L ? Wx(L) : document;
18694
18691
  }
18695
18692
  function J() {
18696
- return Wl(C);
18693
+ return Wl(S);
18697
18694
  }
18698
- function X(D) {
18699
- return y.state.isMounted && !y.state.isVisible || Wt.isTouch || c && c.type === "focus" ? 0 : Ga(y.props.delay, D ? 0 : 1, vt.delay);
18695
+ function X(L) {
18696
+ return y.state.isMounted && !y.state.isVisible || Wt.isTouch || c && c.type === "focus" ? 0 : Ga(y.props.delay, L ? 0 : 1, vt.delay);
18700
18697
  }
18701
- function ne(D) {
18702
- D === void 0 && (D = !1), C.style.pointerEvents = y.props.interactive && !D ? "" : "none", C.style.zIndex = "" + y.props.zIndex;
18698
+ function ne(L) {
18699
+ L === void 0 && (L = !1), S.style.pointerEvents = y.props.interactive && !L ? "" : "none", S.style.zIndex = "" + y.props.zIndex;
18703
18700
  }
18704
- function pe(D, W, G) {
18701
+ function pe(L, W, G) {
18705
18702
  if (G === void 0 && (G = !0), A.forEach(function(de) {
18706
- de[D] && de[D].apply(de, W);
18703
+ de[L] && de[L].apply(de, W);
18707
18704
  }), G) {
18708
18705
  var he;
18709
- (he = y.props)[D].apply(he, W);
18706
+ (he = y.props)[L].apply(he, W);
18710
18707
  }
18711
18708
  }
18712
18709
  function ae() {
18713
- var D = y.props.aria;
18714
- if (D.content) {
18715
- var W = "aria-" + D.content, G = C.id, he = Do(y.props.triggerTarget || r);
18710
+ var L = y.props.aria;
18711
+ if (L.content) {
18712
+ var W = "aria-" + L.content, G = S.id, he = Do(y.props.triggerTarget || r);
18716
18713
  he.forEach(function(de) {
18717
18714
  var at = de.getAttribute(W);
18718
18715
  if (y.state.isVisible)
@@ -18726,28 +18723,28 @@ function s5(r, e) {
18726
18723
  }
18727
18724
  function le() {
18728
18725
  if (!(B || !y.props.aria.expanded)) {
18729
- var D = Do(y.props.triggerTarget || r);
18730
- D.forEach(function(W) {
18726
+ var L = Do(y.props.triggerTarget || r);
18727
+ L.forEach(function(W) {
18731
18728
  y.props.interactive ? W.setAttribute("aria-expanded", y.state.isVisible && W === q() ? "true" : "false") : W.removeAttribute("aria-expanded");
18732
18729
  });
18733
18730
  }
18734
18731
  }
18735
18732
  function oe() {
18736
- re().removeEventListener("mousemove", h), Vi = Vi.filter(function(D) {
18737
- return D !== h;
18733
+ re().removeEventListener("mousemove", h), Vi = Vi.filter(function(L) {
18734
+ return L !== h;
18738
18735
  });
18739
18736
  }
18740
- function ue(D) {
18741
- if (!(Wt.isTouch && (l || D.type === "mousedown"))) {
18742
- var W = D.composedPath && D.composedPath()[0] || D.target;
18743
- if (!(y.props.interactive && qp(C, W))) {
18737
+ function ue(L) {
18738
+ if (!(Wt.isTouch && (l || L.type === "mousedown"))) {
18739
+ var W = L.composedPath && L.composedPath()[0] || L.target;
18740
+ if (!(y.props.interactive && qp(S, W))) {
18744
18741
  if (Do(y.props.triggerTarget || r).some(function(G) {
18745
18742
  return qp(G, W);
18746
18743
  })) {
18747
18744
  if (Wt.isTouch || y.state.isVisible && y.props.trigger.indexOf("click") >= 0)
18748
18745
  return;
18749
18746
  } else
18750
- pe("onClickOutside", [y, D]);
18747
+ pe("onClickOutside", [y, L]);
18751
18748
  y.props.hideOnClick === !0 && (y.clearDelayTimeouts(), y.hide(), a = !0, setTimeout(function() {
18752
18749
  a = !1;
18753
18750
  }), y.state.isMounted || mt());
@@ -18761,37 +18758,37 @@ function s5(r, e) {
18761
18758
  l = !1;
18762
18759
  }
18763
18760
  function st() {
18764
- var D = re();
18765
- D.addEventListener("mousedown", ue, !0), D.addEventListener("touchend", ue, Qr), D.addEventListener("touchstart", Ee, Qr), D.addEventListener("touchmove", De, Qr);
18761
+ var L = re();
18762
+ L.addEventListener("mousedown", ue, !0), L.addEventListener("touchend", ue, Qr), L.addEventListener("touchstart", Ee, Qr), L.addEventListener("touchmove", De, Qr);
18766
18763
  }
18767
18764
  function mt() {
18768
- var D = re();
18769
- D.removeEventListener("mousedown", ue, !0), D.removeEventListener("touchend", ue, Qr), D.removeEventListener("touchstart", Ee, Qr), D.removeEventListener("touchmove", De, Qr);
18765
+ var L = re();
18766
+ L.removeEventListener("mousedown", ue, !0), L.removeEventListener("touchend", ue, Qr), L.removeEventListener("touchstart", Ee, Qr), L.removeEventListener("touchmove", De, Qr);
18770
18767
  }
18771
- function xo(D, W) {
18772
- ko(D, function() {
18773
- !y.state.isVisible && C.parentNode && C.parentNode.contains(C) && W();
18768
+ function xo(L, W) {
18769
+ ko(L, function() {
18770
+ !y.state.isVisible && S.parentNode && S.parentNode.contains(S) && W();
18774
18771
  });
18775
18772
  }
18776
- function er(D, W) {
18777
- ko(D, W);
18773
+ function er(L, W) {
18774
+ ko(L, W);
18778
18775
  }
18779
- function ko(D, W) {
18776
+ function ko(L, W) {
18780
18777
  var G = J().box;
18781
18778
  function he(de) {
18782
18779
  de.target === G && (Ya(G, "remove", he), W());
18783
18780
  }
18784
- if (D === 0)
18781
+ if (L === 0)
18785
18782
  return W();
18786
18783
  Ya(G, "remove", p), Ya(G, "add", he), p = he;
18787
18784
  }
18788
- function fr(D, W, G) {
18785
+ function fr(L, W, G) {
18789
18786
  G === void 0 && (G = !1);
18790
18787
  var he = Do(y.props.triggerTarget || r);
18791
18788
  he.forEach(function(de) {
18792
- de.addEventListener(D, W, G), g.push({
18789
+ de.addEventListener(L, W, G), g.push({
18793
18790
  node: de,
18794
- eventType: D,
18791
+ eventType: L,
18795
18792
  handler: W,
18796
18793
  options: G
18797
18794
  });
@@ -18802,9 +18799,9 @@ function s5(r, e) {
18802
18799
  passive: !0
18803
18800
  }), fr("touchend", yi, {
18804
18801
  passive: !0
18805
- })), $x(y.props.trigger).forEach(function(D) {
18806
- if (D !== "manual")
18807
- switch (fr(D, rn), D) {
18802
+ })), $x(y.props.trigger).forEach(function(L) {
18803
+ if (L !== "manual")
18804
+ switch (fr(L, rn), L) {
18808
18805
  case "mouseenter":
18809
18806
  fr("mouseleave", yi);
18810
18807
  break;
@@ -18818,24 +18815,24 @@ function s5(r, e) {
18818
18815
  });
18819
18816
  }
18820
18817
  function fi() {
18821
- g.forEach(function(D) {
18822
- var W = D.node, G = D.eventType, he = D.handler, de = D.options;
18818
+ g.forEach(function(L) {
18819
+ var W = L.node, G = L.eventType, he = L.handler, de = L.options;
18823
18820
  W.removeEventListener(G, he, de);
18824
18821
  }), g = [];
18825
18822
  }
18826
- function rn(D) {
18823
+ function rn(L) {
18827
18824
  var W, G = !1;
18828
- if (!(!y.state.isEnabled || nn(D) || a)) {
18825
+ if (!(!y.state.isEnabled || nn(L) || a)) {
18829
18826
  var he = ((W = c) == null ? void 0 : W.type) === "focus";
18830
- c = D, f = D.currentTarget, le(), !y.state.isVisible && jx(D) && Vi.forEach(function(de) {
18831
- return de(D);
18832
- }), D.type === "click" && (y.props.trigger.indexOf("mouseenter") < 0 || s) && y.props.hideOnClick !== !1 && y.state.isVisible ? G = !0 : sn(D), D.type === "click" && (s = !G), G && !he && Ur(D);
18827
+ c = L, f = L.currentTarget, le(), !y.state.isVisible && jx(L) && Vi.forEach(function(de) {
18828
+ return de(L);
18829
+ }), L.type === "click" && (y.props.trigger.indexOf("mouseenter") < 0 || s) && y.props.hideOnClick !== !1 && y.state.isVisible ? G = !0 : sn(L), L.type === "click" && (s = !G), G && !he && Ur(L);
18833
18830
  }
18834
18831
  }
18835
- function bi(D) {
18836
- var W = D.target, G = q().contains(W) || C.contains(W);
18837
- if (!(D.type === "mousemove" && G)) {
18838
- var he = br().concat(C).map(function(de) {
18832
+ function bi(L) {
18833
+ var W = L.target, G = q().contains(W) || S.contains(W);
18834
+ if (!(L.type === "mousemove" && G)) {
18835
+ var he = br().concat(S).map(function(de) {
18839
18836
  var at, Ct = de._tippy, Co = (at = Ct.popperInstance) == null ? void 0 : at.state;
18840
18837
  return Co ? {
18841
18838
  popperRect: de.getBoundingClientRect(),
@@ -18843,28 +18840,28 @@ function s5(r, e) {
18843
18840
  props: t
18844
18841
  } : null;
18845
18842
  }).filter(Boolean);
18846
- qx(he, D) && (oe(), Ur(D));
18843
+ qx(he, L) && (oe(), Ur(L));
18847
18844
  }
18848
18845
  }
18849
- function yi(D) {
18850
- var W = nn(D) || y.props.trigger.indexOf("click") >= 0 && s;
18846
+ function yi(L) {
18847
+ var W = nn(L) || y.props.trigger.indexOf("click") >= 0 && s;
18851
18848
  if (!W) {
18852
18849
  if (y.props.interactive) {
18853
- y.hideWithInteractivity(D);
18850
+ y.hideWithInteractivity(L);
18854
18851
  return;
18855
18852
  }
18856
- Ur(D);
18853
+ Ur(L);
18857
18854
  }
18858
18855
  }
18859
- function on(D) {
18860
- y.props.trigger.indexOf("focusin") < 0 && D.target !== q() || y.props.interactive && D.relatedTarget && C.contains(D.relatedTarget) || Ur(D);
18856
+ function on(L) {
18857
+ y.props.trigger.indexOf("focusin") < 0 && L.target !== q() || y.props.interactive && L.relatedTarget && S.contains(L.relatedTarget) || Ur(L);
18861
18858
  }
18862
- function nn(D) {
18863
- return Wt.isTouch ? O() !== D.type.indexOf("touch") >= 0 : !1;
18859
+ function nn(L) {
18860
+ return Wt.isTouch ? O() !== L.type.indexOf("touch") >= 0 : !1;
18864
18861
  }
18865
18862
  function wi() {
18866
18863
  vi();
18867
- var D = y.props, W = D.popperOptions, G = D.placement, he = D.offset, de = D.getReferenceClientRect, at = D.moveTransition, Ct = H() ? Wl(C).arrow : null, Co = de ? {
18864
+ var L = y.props, W = L.popperOptions, G = L.placement, he = L.offset, de = L.getReferenceClientRect, at = L.moveTransition, Ct = H() ? Wl(S).arrow : null, Co = de ? {
18868
18865
  getBoundingClientRect: de,
18869
18866
  contextElement: de.contextElement || q()
18870
18867
  } : r, nc = {
@@ -18913,7 +18910,7 @@ function s5(r, e) {
18913
18910
  element: Ct,
18914
18911
  padding: 3
18915
18912
  }
18916
- }), Kr.push.apply(Kr, (W == null ? void 0 : W.modifiers) || []), y.popperInstance = Lx(Co, C, Object.assign({}, W, {
18913
+ }), Kr.push.apply(Kr, (W == null ? void 0 : W.modifiers) || []), y.popperInstance = Lx(Co, S, Object.assign({}, W, {
18917
18914
  placement: G,
18918
18915
  onFirstUpdate: u,
18919
18916
  modifiers: Kr
@@ -18923,8 +18920,8 @@ function s5(r, e) {
18923
18920
  y.popperInstance && (y.popperInstance.destroy(), y.popperInstance = null);
18924
18921
  }
18925
18922
  function tr() {
18926
- var D = y.props.appendTo, W, G = q();
18927
- y.props.interactive && D === ug || D === "parent" ? W = G.parentNode : W = mg(D, [G]), W.contains(C) || W.appendChild(C), y.state.isMounted = !0, wi(), process.env.NODE_ENV !== "production" && lr(y.props.interactive && D === vt.appendTo && G.nextElementSibling !== C, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
18923
+ var L = y.props.appendTo, W, G = q();
18924
+ y.props.interactive && L === ug || L === "parent" ? W = G.parentNode : W = mg(L, [G]), W.contains(S) || W.appendChild(S), y.state.isMounted = !0, wi(), process.env.NODE_ENV !== "production" && lr(y.props.interactive && L === vt.appendTo && G.nextElementSibling !== S, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
18928
18925
 
18929
18926
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
18930
18927
 
@@ -18933,21 +18930,21 @@ function s5(r, e) {
18933
18930
  `, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
18934
18931
  }
18935
18932
  function br() {
18936
- return ks(C.querySelectorAll("[data-tippy-root]"));
18933
+ return ks(S.querySelectorAll("[data-tippy-root]"));
18937
18934
  }
18938
- function sn(D) {
18939
- y.clearDelayTimeouts(), D && pe("onTrigger", [y, D]), st();
18935
+ function sn(L) {
18936
+ y.clearDelayTimeouts(), L && pe("onTrigger", [y, L]), st();
18940
18937
  var W = X(!0), G = M(), he = G[0], de = G[1];
18941
18938
  Wt.isTouch && he === "hold" && de && (W = de), W ? o = setTimeout(function() {
18942
18939
  y.show();
18943
18940
  }, W) : y.show();
18944
18941
  }
18945
- function Ur(D) {
18946
- if (y.clearDelayTimeouts(), pe("onUntrigger", [y, D]), !y.state.isVisible) {
18942
+ function Ur(L) {
18943
+ if (y.clearDelayTimeouts(), pe("onUntrigger", [y, L]), !y.state.isVisible) {
18947
18944
  mt();
18948
18945
  return;
18949
18946
  }
18950
- if (!(y.props.trigger.indexOf("mouseenter") >= 0 && y.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(D.type) >= 0 && s)) {
18947
+ if (!(y.props.trigger.indexOf("mouseenter") >= 0 && y.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(L.type) >= 0 && s)) {
18951
18948
  var W = X(!1);
18952
18949
  W ? n = setTimeout(function() {
18953
18950
  y.state.isVisible && y.hide();
@@ -18965,36 +18962,36 @@ function s5(r, e) {
18965
18962
  function ki() {
18966
18963
  clearTimeout(o), clearTimeout(n), cancelAnimationFrame(i);
18967
18964
  }
18968
- function Si(D) {
18965
+ function Si(L) {
18969
18966
  if (process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Bo("setProps")), !y.state.isDestroyed) {
18970
- pe("onBeforeUpdate", [y, D]), fi();
18971
- var W = y.props, G = Gp(r, Object.assign({}, W, Vp(D), {
18967
+ pe("onBeforeUpdate", [y, L]), fi();
18968
+ var W = y.props, G = Gp(r, Object.assign({}, W, Vp(L), {
18972
18969
  ignoreAttributes: !0
18973
18970
  }));
18974
18971
  y.props = G, So(), W.interactiveDebounce !== G.interactiveDebounce && (oe(), h = jp(bi, G.interactiveDebounce)), W.triggerTarget && !G.triggerTarget ? Do(W.triggerTarget).forEach(function(he) {
18975
18972
  he.removeAttribute("aria-expanded");
18976
- }) : G.triggerTarget && r.removeAttribute("aria-expanded"), le(), ne(), L && L(W, G), y.popperInstance && (wi(), br().forEach(function(he) {
18973
+ }) : G.triggerTarget && r.removeAttribute("aria-expanded"), le(), ne(), D && D(W, G), y.popperInstance && (wi(), br().forEach(function(he) {
18977
18974
  requestAnimationFrame(he._tippy.popperInstance.forceUpdate);
18978
- })), pe("onAfterUpdate", [y, D]);
18975
+ })), pe("onAfterUpdate", [y, L]);
18979
18976
  }
18980
18977
  }
18981
- function Ci(D) {
18978
+ function Ci(L) {
18982
18979
  y.setProps({
18983
- content: D
18980
+ content: L
18984
18981
  });
18985
18982
  }
18986
18983
  function Rg() {
18987
18984
  process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Bo("show"));
18988
- var D = y.state.isVisible, W = y.state.isDestroyed, G = !y.state.isEnabled, he = Wt.isTouch && !y.props.touch, de = Ga(y.props.duration, 0, vt.duration);
18989
- if (!(D || W || G || he) && !q().hasAttribute("disabled") && (pe("onShow", [y], !1), y.props.onShow(y) !== !1)) {
18990
- if (y.state.isVisible = !0, H() && (C.style.visibility = "visible"), ne(), st(), y.state.isMounted || (C.style.transition = "none"), H()) {
18985
+ var L = y.state.isVisible, W = y.state.isDestroyed, G = !y.state.isEnabled, he = Wt.isTouch && !y.props.touch, de = Ga(y.props.duration, 0, vt.duration);
18986
+ if (!(L || W || G || he) && !q().hasAttribute("disabled") && (pe("onShow", [y], !1), y.props.onShow(y) !== !1)) {
18987
+ if (y.state.isVisible = !0, H() && (S.style.visibility = "visible"), ne(), st(), y.state.isMounted || (S.style.transition = "none"), H()) {
18991
18988
  var at = J(), Ct = at.box, Co = at.content;
18992
18989
  Ja([Ct, Co], 0);
18993
18990
  }
18994
18991
  u = function() {
18995
18992
  var Kr;
18996
18993
  if (!(!y.state.isVisible || d)) {
18997
- if (d = !0, C.offsetHeight, C.style.transition = y.props.moveTransition, H() && y.props.animation) {
18994
+ if (d = !0, S.offsetHeight, S.style.transition = y.props.moveTransition, H() && y.props.animation) {
18998
18995
  var va = J(), Mi = va.box, Mo = va.content;
18999
18996
  Ja([Mi, Mo], de), Wp([Mi, Mo], "visible");
19000
18997
  }
@@ -19007,23 +19004,23 @@ function s5(r, e) {
19007
19004
  }
19008
19005
  function $g() {
19009
19006
  process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Bo("hide"));
19010
- var D = !y.state.isVisible, W = y.state.isDestroyed, G = !y.state.isEnabled, he = Ga(y.props.duration, 1, vt.duration);
19011
- if (!(D || W || G) && (pe("onHide", [y], !1), y.props.onHide(y) !== !1)) {
19012
- if (y.state.isVisible = !1, y.state.isShown = !1, d = !1, s = !1, H() && (C.style.visibility = "hidden"), oe(), mt(), ne(!0), H()) {
19007
+ var L = !y.state.isVisible, W = y.state.isDestroyed, G = !y.state.isEnabled, he = Ga(y.props.duration, 1, vt.duration);
19008
+ if (!(L || W || G) && (pe("onHide", [y], !1), y.props.onHide(y) !== !1)) {
19009
+ if (y.state.isVisible = !1, y.state.isShown = !1, d = !1, s = !1, H() && (S.style.visibility = "hidden"), oe(), mt(), ne(!0), H()) {
19013
19010
  var de = J(), at = de.box, Ct = de.content;
19014
19011
  y.props.animation && (Ja([at, Ct], he), Wp([at, Ct], "hidden"));
19015
19012
  }
19016
19013
  ae(), le(), y.props.animation ? H() && xo(he, y.unmount) : y.unmount();
19017
19014
  }
19018
19015
  }
19019
- function _g(D) {
19020
- process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Bo("hideWithInteractivity")), re().addEventListener("mousemove", h), Hp(Vi, h), h(D);
19016
+ function _g(L) {
19017
+ process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Bo("hideWithInteractivity")), re().addEventListener("mousemove", h), Hp(Vi, h), h(L);
19021
19018
  }
19022
19019
  function Fg() {
19023
- process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Bo("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (vi(), br().forEach(function(D) {
19024
- D._tippy.unmount();
19025
- }), C.parentNode && C.parentNode.removeChild(C), Qa = Qa.filter(function(D) {
19026
- return D !== y;
19020
+ process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Bo("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (vi(), br().forEach(function(L) {
19021
+ L._tippy.unmount();
19022
+ }), S.parentNode && S.parentNode.removeChild(S), Qa = Qa.filter(function(L) {
19023
+ return L !== y;
19027
19024
  }), y.state.isMounted = !1, pe("onHidden", [y]));
19028
19025
  }
19029
19026
  function zg() {
@@ -19106,7 +19103,7 @@ class a5 {
19106
19103
  if (f || !l && !d)
19107
19104
  return;
19108
19105
  this.createTooltip();
19109
- const { ranges: k } = b, E = Math.min(...k.map((C) => C.$from.pos)), y = Math.max(...k.map((C) => C.$to.pos));
19106
+ const { ranges: k } = b, E = Math.min(...k.map((S) => S.$from.pos)), y = Math.max(...k.map((S) => S.$to.pos));
19110
19107
  if (!((p = this.shouldShow) === null || p === void 0 ? void 0 : p.call(this, {
19111
19108
  editor: this.editor,
19112
19109
  element: this.element,
@@ -19122,11 +19119,11 @@ class a5 {
19122
19119
  (u = this.tippy) === null || u === void 0 || u.setProps({
19123
19120
  getReferenceClientRect: ((g = this.tippyOptions) === null || g === void 0 ? void 0 : g.getReferenceClientRect) || (() => {
19124
19121
  if (Qh(h.selection)) {
19125
- let C = a.nodeDOM(E);
19126
- if (C) {
19127
- const L = C.dataset.nodeViewWrapper ? C : C.querySelector("[data-node-view-wrapper]");
19128
- if (L && (C = L.firstChild), C)
19129
- return C.getBoundingClientRect();
19122
+ let S = a.nodeDOM(E);
19123
+ if (S) {
19124
+ const D = S.dataset.nodeViewWrapper ? S : S.querySelector("[data-node-view-wrapper]");
19125
+ if (D && (S = D.firstChild), S)
19126
+ return S.getBoundingClientRect();
19130
19127
  }
19131
19128
  }
19132
19129
  return Xh(a, E, y);
@@ -21501,10 +21498,10 @@ function S3({
21501
21498
  ee(w, r.tld, k), ee(w, r.utld, k), ee(k, r.domain, s), ee(k, o, i), $(k, Ht, w), $(k, Tt, b), $(k, Sr, d);
21502
21499
  const E = $(k, Mr), y = Mt(Ki);
21503
21500
  ee(E, r.numeric, y);
21504
- const P = Mt(Ki), C = Mt();
21505
- ee(P, e, P), ee(P, t, C), ee(C, e, P), ee(C, t, C), $(k, Vt, P), $(y, Vt, P);
21506
- const L = $(a, Mr), A = $(l, Mr), B = $(A, Vt), M = $(B, Vt);
21507
- ee(a, r.domain, s), $(a, Ht, w), $(a, Tt, b), ee(l, r.domain, s), $(l, Ht, w), $(l, Tt, b), ee(L, r.domain, P), $(L, Vt, P), $(L, Dn, P), ee(M, r.domain, P), ee(M, e, P), $(M, Vt, P);
21501
+ const P = Mt(Ki), S = Mt();
21502
+ ee(P, e, P), ee(P, t, S), ee(S, e, P), ee(S, t, S), $(k, Vt, P), $(y, Vt, P);
21503
+ const D = $(a, Mr), A = $(l, Mr), B = $(A, Vt), M = $(B, Vt);
21504
+ ee(a, r.domain, s), $(a, Ht, w), $(a, Tt, b), ee(l, r.domain, s), $(l, Ht, w), $(l, Tt, b), ee(D, r.domain, P), $(D, Vt, P), $(D, Dn, P), ee(M, r.domain, P), ee(M, e, P), $(M, Vt, P);
21508
21505
  const O = [
21509
21506
  [Bn, An],
21510
21507
  // {}
@@ -21525,7 +21522,7 @@ function S3({
21525
21522
  ];
21526
21523
  for (let H = 0; H < O.length; H++) {
21527
21524
  const [q, re] = O[H], J = $(P, q);
21528
- $(C, q, J), $(J, re, P);
21525
+ $(S, q, J), $(J, re, P);
21529
21526
  const X = Mt(Ki);
21530
21527
  ee(J, e, X);
21531
21528
  const ne = Mt();
@@ -21905,13 +21902,13 @@ const N3 = hr.create({
21905
21902
  ce(h, () => {
21906
21903
  E();
21907
21904
  });
21908
- const y = x(""), P = x(""), C = x(null);
21905
+ const y = x(""), P = x(""), S = x(null);
21909
21906
  ce(y, (M) => {
21910
21907
  P.value = M;
21911
21908
  });
21912
- const L = function() {
21909
+ const D = function() {
21913
21910
  y.value = k.value.getAttributes("link").href, t.value = !0, o.value = "success", n.value = 2, i.value = "Enter URL", s.value = null, a.value = "Close", l.value = y.value ? "Remove url" : null, d.value = "Save", c.value = function() {
21914
- t.value = !1, C.value = null;
21911
+ t.value = !1, S.value = null;
21915
21912
  }, p.value = function() {
21916
21913
  k.value.chain().focus().extendMarkRange("link").unsetLink().run(), t.value = !1;
21917
21914
  }, u.value = function() {
@@ -21919,9 +21916,9 @@ const N3 = hr.create({
21919
21916
  M || (M || B(), t.value = !1);
21920
21917
  };
21921
21918
  }, A = function() {
21922
- C.value = null;
21919
+ S.value = null;
21923
21920
  const M = /^https?:\/\//, O = x(!0);
21924
- return O.value = M.test(P.value), O.value === !1 ? (C.value = "The provided URL is invalid. Please ensure that it begins with 'https://' for proper formatting and security.", !0) : !1;
21921
+ return O.value = M.test(P.value), O.value === !1 ? (S.value = "The provided URL is invalid. Please ensure that it begins with 'https://' for proper formatting and security.", !0) : !1;
21925
21922
  }, B = function() {
21926
21923
  k.value.chain().focus().extendMarkRange("link").setLink({ href: P.value }).run();
21927
21924
  };
@@ -21930,7 +21927,7 @@ const N3 = hr.create({
21930
21927
  (M = k.value) == null || M.destroy();
21931
21928
  }), ke(() => {
21932
21929
  E();
21933
- }), (M, O) => (v(), S("div", null, [
21930
+ }), (M, O) => (v(), C("div", null, [
21934
21931
  _(_n, {
21935
21932
  showDynamicModalBuilder: t.value,
21936
21933
  type: o.value,
@@ -21962,8 +21959,8 @@ const N3 = hr.create({
21962
21959
  }, null, 512), [
21963
21960
  [td, y.value]
21964
21961
  ]),
21965
- C.value ? (v(), S("div", R3, [
21966
- m("p", $3, z(C.value), 1)
21962
+ S.value ? (v(), C("div", R3, [
21963
+ m("p", $3, z(S.value), 1)
21967
21964
  ])) : I("", !0)
21968
21965
  ])
21969
21966
  ])
@@ -21972,7 +21969,7 @@ const N3 = hr.create({
21972
21969
  __: [8]
21973
21970
  }, 8, ["showDynamicModalBuilder", "type", "gridColumnAmount", "title", "description", "firstButtonText", "secondButtonText", "thirdButtonText", "onFirstModalButtonFunctionDynamicModalBuilder", "onSecondModalButtonFunctionDynamicModalBuilder", "onThirdModalButtonFunctionDynamicModalBuilder"]),
21974
21971
  m("div", _3, [
21975
- T(g).selectedElementIsValidText() && T(k) ? (v(), S("div", F3, [
21972
+ T(g).selectedElementIsValidText() && T(k) ? (v(), C("div", F3, [
21976
21973
  m("div", z3, [
21977
21974
  m("div", j3, [
21978
21975
  m("div", null, [
@@ -22014,7 +22011,7 @@ const N3 = hr.create({
22014
22011
  ]),
22015
22012
  m("div", U3, [
22016
22013
  m("button", {
22017
- onClick: L,
22014
+ onClick: D,
22018
22015
  type: "button",
22019
22016
  class: Y(["text-[12.5px] gap-2 text-nowrap pl-2 pr-3 w-full h-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0", {
22020
22017
  "bg-myPrimaryLinkColor text-white": T(k).isActive("link")
@@ -22083,7 +22080,7 @@ const N3 = hr.create({
22083
22080
  return t;
22084
22081
  }, Q3 = {};
22085
22082
  function X3(r, e) {
22086
- return v(), S("div", null, e[0] || (e[0] = [
22083
+ return v(), C("div", null, e[0] || (e[0] = [
22087
22084
  m("p", { class: "myPrimaryParagraph" }, [
22088
22085
  We(" Provide your own Media Library Component to integrate a custom media picker into the Page Builder. "),
22089
22086
  m("br"),
@@ -22196,9 +22193,9 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22196
22193
  ])
22197
22194
  ]),
22198
22195
  m("div", o4, [
22199
- r.customMediaComponent ? (v(), S("div", n4, [
22196
+ r.customMediaComponent ? (v(), C("div", n4, [
22200
22197
  (v(), Se(gu(r.customMediaComponent)))
22201
- ])) : (v(), S("div", i4, [
22198
+ ])) : (v(), C("div", i4, [
22202
22199
  _(Z3)
22203
22200
  ]))
22204
22201
  ])
@@ -22248,11 +22245,11 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22248
22245
  default: F(() => {
22249
22246
  var a;
22250
22247
  return [
22251
- n.value === "none" ? (v(), S("div", a4, s[2] || (s[2] = [
22248
+ n.value === "none" ? (v(), C("div", a4, s[2] || (s[2] = [
22252
22249
  m("span", { class: "material-symbols-outlined" }, " format_color_text ", -1),
22253
22250
  m("span", { class: "block truncate text-[12.5px]" }, "Text color", -1)
22254
22251
  ]))) : I("", !0),
22255
- o.value !== "none" ? (v(), S("div", l4, [
22252
+ o.value !== "none" ? (v(), C("div", l4, [
22256
22253
  m("div", {
22257
22254
  class: Y(["aspect-square w-6 h-6 border border-gray-800 rounded-sm", `bg-${(a = o.value) == null ? void 0 : a.replace("text-", "")}`])
22258
22255
  }, null, 2),
@@ -22270,7 +22267,7 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22270
22267
  default: F(() => [
22271
22268
  _(T(di), { class: "absolute min-w-[12rem] z-40 mt-1 max-h-56 w-full overflow-auto rounded-md bg-gray-50 py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm" }, {
22272
22269
  default: F(() => [
22273
- (v(!0), S(ve, null, Le(T(is).textColorVariables, (a) => (v(), Se(T(ci), {
22270
+ (v(!0), C(ve, null, Le(T(is).textColorVariables, (a) => (v(), Se(T(ci), {
22274
22271
  as: "template",
22275
22272
  onClick: s[0] || (s[0] = (l) => T(t).handleTextColor(o.value)),
22276
22273
  key: a,
@@ -22283,11 +22280,11 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22283
22280
  "relative cursor-default select-none py-2 pl-3 pr-9"
22284
22281
  ])
22285
22282
  }, [
22286
- a === "none" ? (v(), S("div", c4, s[3] || (s[3] = [
22283
+ a === "none" ? (v(), C("div", c4, s[3] || (s[3] = [
22287
22284
  m("span", { class: "material-symbols-outlined" }, " invert_colors ", -1),
22288
22285
  m("span", { class: "ml-3" }, "Default black", -1)
22289
22286
  ]))) : I("", !0),
22290
- a !== "none" ? (v(), S("div", p4, [
22287
+ a !== "none" ? (v(), C("div", p4, [
22291
22288
  m("div", {
22292
22289
  class: Y(["aspect-square w-6 h-6 border border-gray-100 rounded-sm", `bg-${a.replace("text-", "")}`])
22293
22290
  }, null, 2),
@@ -22341,11 +22338,11 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22341
22338
  default: F(() => {
22342
22339
  var a;
22343
22340
  return [
22344
- n.value === "none" ? (v(), S("div", g4, s[2] || (s[2] = [
22341
+ n.value === "none" ? (v(), C("div", g4, s[2] || (s[2] = [
22345
22342
  m("span", { class: "material-symbols-outlined" }, " colors ", -1),
22346
22343
  m("span", { class: "block truncate text-[12.5px]" }, "Background color ", -1)
22347
22344
  ]))) : I("", !0),
22348
- o.value !== "none" ? (v(), S("div", f4, [
22345
+ o.value !== "none" ? (v(), C("div", f4, [
22349
22346
  m("div", {
22350
22347
  class: Y(["aspect-square w-6 h-6 border border-gray-800 rounded-sm", `bg-${(a = o.value) == null ? void 0 : a.replace("bg-", "")}`])
22351
22348
  }, null, 2),
@@ -22363,7 +22360,7 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22363
22360
  default: F(() => [
22364
22361
  _(T(di), { class: "absolute min-w-[12rem] z-40 mt-1 max-h-56 w-full overflow-auto rounded-md bg-gray-50 py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm" }, {
22365
22362
  default: F(() => [
22366
- (v(!0), S(ve, null, Le(T(is).backgroundColorVariables, (a) => (v(), Se(T(ci), {
22363
+ (v(!0), C(ve, null, Le(T(is).backgroundColorVariables, (a) => (v(), Se(T(ci), {
22367
22364
  as: "template",
22368
22365
  onClick: s[0] || (s[0] = (l) => T(t).handleBackgroundColor(o.value)),
22369
22366
  key: a,
@@ -22376,11 +22373,11 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22376
22373
  "relative cursor-default select-none py-2 pl-3 pr-9"
22377
22374
  ])
22378
22375
  }, [
22379
- a === "none" ? (v(), S("div", y4, s[3] || (s[3] = [
22376
+ a === "none" ? (v(), C("div", y4, s[3] || (s[3] = [
22380
22377
  m("span", { class: "material-symbols-outlined" }, " ev_shadow ", -1),
22381
22378
  m("span", { class: "ml-3" }, "Transparent", -1)
22382
22379
  ]))) : I("", !0),
22383
- a !== "none" ? (v(), S("div", w4, [
22380
+ a !== "none" ? (v(), C("div", w4, [
22384
22381
  m("div", {
22385
22382
  class: Y(["aspect-square w-6 h-6 border border-gray-100 rounded-sm", `bg-${a.replace("bg-", "")}`])
22386
22383
  }, null, 2),
@@ -22427,8 +22424,8 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22427
22424
  }, b.value = function() {
22428
22425
  e.setShowModalTipTap(!1);
22429
22426
  };
22430
- }, k = N(() => e.getBasePrimaryImage), E = x(!1), y = x(!1), P = x(""), C = x(""), L = x(""), A = x(null), B = x(null), M = x(null), O = x(null), H = x(null), q = function() {
22431
- y.value = !0, P.value = "Media Library", C.value = null, L.value = "Close", A.value = "Select image", M.value = function() {
22427
+ }, k = N(() => e.getBasePrimaryImage), E = x(!1), y = x(!1), P = x(""), S = x(""), D = x(""), A = x(null), B = x(null), M = x(null), O = x(null), H = x(null), q = function() {
22428
+ y.value = !0, P.value = "Media Library", S.value = null, D.value = "Close", A.value = "Select image", M.value = function() {
22432
22429
  y.value = !1;
22433
22430
  }, O.value = function() {
22434
22431
  E.value = !0, o.updateBasePrimaryImage({ type: "unsplash" }), y.value = !1, E.value = !1;
@@ -22447,7 +22444,7 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22447
22444
  ne() || (n.value && n.value.firstElementChild && n.value.firstElementChild.tagName === "IFRAME" && (J.value = J.value.replace("watch?v=", "embed/"), J.value = J.value.replace(/&ab_channel=[^&]*/, "").replace(/&list=[^&]*/, "").replace(/&start_radio=[^&]*/, "").replace(/&t=[^&]*/, ""), n.value.firstElementChild.src = J.value), X.value = !1);
22448
22445
  };
22449
22446
  };
22450
- return (ae, le) => (v(), S("div", null, [
22447
+ return (ae, le) => (v(), C("div", null, [
22451
22448
  _(_n, {
22452
22449
  showDynamicModalBuilder: X.value,
22453
22450
  maxWidth: "2xl",
@@ -22480,7 +22477,7 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22480
22477
  }, null, 512), [
22481
22478
  [td, J.value]
22482
22479
  ]),
22483
- re.value ? (v(), S("div", M4, [
22480
+ re.value ? (v(), C("div", M4, [
22484
22481
  m("p", E4, z(re.value), 1)
22485
22482
  ])) : I("", !0)
22486
22483
  ])
@@ -22518,8 +22515,8 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22518
22515
  _(Ig, {
22519
22516
  open: y.value,
22520
22517
  title: P.value,
22521
- description: C.value,
22522
- firstButtonText: L.value,
22518
+ description: S.value,
22519
+ firstButtonText: D.value,
22523
22520
  secondButtonText: A.value,
22524
22521
  thirdButtonText: B.value,
22525
22522
  customMediaComponent: T(t),
@@ -22529,7 +22526,7 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22529
22526
  }, null, 8, ["open", "title", "description", "firstButtonText", "secondButtonText", "thirdButtonText", "customMediaComponent", "onFirstMediaButtonFunction", "onSecondMediaButtonFunction", "onThirdMediaButtonFunction"]),
22530
22527
  m("div", O4, [
22531
22528
  m("div", P4, [
22532
- T(o).ElOrFirstChildIsIframe() ? (v(), S("div", B4, [
22529
+ T(o).ElOrFirstChildIsIframe() ? (v(), C("div", B4, [
22533
22530
  m("button", {
22534
22531
  onClick: pe,
22535
22532
  type: "button",
@@ -22539,7 +22536,7 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22539
22536
  m("span", null, "Add YouTube", -1)
22540
22537
  ]))
22541
22538
  ])) : I("", !0),
22542
- T(o).selectedElementIsValidText() && !T(o).ElOrFirstChildIsIframe() ? (v(), S(ve, { key: 1 }, [
22539
+ T(o).selectedElementIsValidText() && !T(o).ElOrFirstChildIsIframe() ? (v(), C(ve, { key: 1 }, [
22543
22540
  m("div", { class: "px-2 flex items-center justify-start gap-2" }, [
22544
22541
  m("button", {
22545
22542
  onClick: w,
@@ -22554,7 +22551,7 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22554
22551
  _(m4)
22555
22552
  ])
22556
22553
  ], 64)) : I("", !0),
22557
- n.value && s.value && k.value !== null && !T(o).ElOrFirstChildIsIframe() ? (v(), S("div", L4, [
22554
+ n.value && s.value && k.value !== null && !T(o).ElOrFirstChildIsIframe() ? (v(), C("div", L4, [
22558
22555
  m("button", {
22559
22556
  onClick: q,
22560
22557
  type: "button",
@@ -22564,7 +22561,7 @@ const Z3 = /* @__PURE__ */ oc(Q3, [["render", X3]]), e4 = { class: "flex items-e
22564
22561
  m("span", null, "Update image", -1)
22565
22562
  ]))
22566
22563
  ])) : I("", !0),
22567
- n.value && n.value.nodeType === 1 && !k.value && !T(o).ElOrFirstChildIsIframe() ? (v(), S("div", D4, [
22564
+ n.value && n.value.nodeType === 1 && !k.value && !T(o).ElOrFirstChildIsIframe() ? (v(), C("div", D4, [
22568
22565
  _(x4)
22569
22566
  ])) : I("", !0)
22570
22567
  ])
@@ -23153,11 +23150,11 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23153
23150
  title: a.title
23154
23151
  };
23155
23152
  }, s = (a) => $4(a);
23156
- return (a, l) => (v(), S("div", z4, [
23153
+ return (a, l) => (v(), C("div", z4, [
23157
23154
  m("div", j4, [
23158
23155
  l[0] || (l[0] = m("h3", { class: "myQuaternaryHeader mb-4" }, "Helper Components", -1)),
23159
23156
  m("div", H4, [
23160
- (v(!0), S(ve, null, Le(T(I4), (d) => (v(), S("div", {
23157
+ (v(!0), C(ve, null, Le(T(I4), (d) => (v(), C("div", {
23161
23158
  key: d.title,
23162
23159
  class: "border border-gray-200 overflow-hidden hover:border-myPrimaryLinkColor duration-100 cursor-pointer p-4",
23163
23160
  onClick: (c) => n(d)
@@ -23173,7 +23170,7 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23173
23170
  m("div", null, [
23174
23171
  l[2] || (l[2] = m("h3", { class: "myQuaternaryHeader mb-4" }, "Layout Components", -1)),
23175
23172
  m("div", K4, [
23176
- (v(!0), S(ve, null, Le(T(_4)[0].components.data, (d) => (v(), S("div", {
23173
+ (v(!0), C(ve, null, Le(T(_4)[0].components.data, (d) => (v(), C("div", {
23177
23174
  key: d.title,
23178
23175
  class: "border border-gray-200 overflow-hidden hover:border-myPrimaryLinkColor duration-100 cursor-pointer",
23179
23176
  onClick: (c) => n(i(d))
@@ -23238,16 +23235,16 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23238
23235
  ]))
23239
23236
  ]),
23240
23237
  m("div", ik, [
23241
- r.CustomBuilderComponents ? (v(), S("div", sk, [
23238
+ r.CustomBuilderComponents ? (v(), C("div", sk, [
23242
23239
  (v(), Se(gu(r.CustomBuilderComponents)))
23243
- ])) : (v(), S("div", ak, [
23240
+ ])) : (v(), C("div", ak, [
23244
23241
  _(ek)
23245
23242
  ]))
23246
23243
  ])
23247
23244
  ]),
23248
23245
  m("div", lk, [
23249
23246
  m("div", dk, [
23250
- r.firstButtonText ? (v(), S("button", {
23247
+ r.firstButtonText ? (v(), C("button", {
23251
23248
  key: 0,
23252
23249
  ref: "firstButtonRef",
23253
23250
  class: "mySecondaryButton",
@@ -23442,7 +23439,7 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23442
23439
  };
23443
23440
  return (a, l) => {
23444
23441
  var d, c, p, u, g, h, f, b, w, k, E, y, P;
23445
- return v(), S("div", Pk, [
23442
+ return v(), C("div", Pk, [
23446
23443
  m("div", Bk, [
23447
23444
  l[18] || (l[18] = m("h4", { class: "myQuaternaryHeader" }, "Selected HTML", -1)),
23448
23445
  l[19] || (l[19] = m("p", { class: "myPrimaryParagraph text-xs" }, " Overview of Selected Element, Component, and Components. This section provides real-time updates based on your HTML selection. ", -1)),
@@ -23455,16 +23452,16 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23455
23452
  ])
23456
23453
  ], -1)),
23457
23454
  m("div", Lk, [
23458
- t.value === null || t.value === void 0 ? (v(), S("p", Dk)) : I("", !0),
23459
- t.value !== null && t.value !== void 0 ? (v(), S("p", Nk, [
23455
+ t.value === null || t.value === void 0 ? (v(), C("p", Dk)) : I("", !0),
23456
+ t.value !== null && t.value !== void 0 ? (v(), C("p", Nk, [
23460
23457
  l[3] || (l[3] = m("span", null, "Element type: ", -1)),
23461
23458
  m("span", null, z(typeof t.value), 1)
23462
23459
  ])) : I("", !0),
23463
- o.value === null || o.value === void 0 ? (v(), S("p", Ik, [
23460
+ o.value === null || o.value === void 0 ? (v(), C("p", Ik, [
23464
23461
  l[4] || (l[4] = m("span", null, "Component type: ", -1)),
23465
23462
  We(" " + z(JSON.stringify(o.value)), 1)
23466
23463
  ])) : I("", !0),
23467
- o.value !== null && o.value !== void 0 ? (v(), S("p", Rk, [
23464
+ o.value !== null && o.value !== void 0 ? (v(), C("p", Rk, [
23468
23465
  l[5] || (l[5] = m("span", null, "Component type: ", -1)),
23469
23466
  m("span", null, z(Array.isArray(o.value) === !0 ? "array" : typeof o.value), 1)
23470
23467
  ])) : I("", !0),
@@ -23481,25 +23478,25 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23481
23478
  m("div", Fk, [
23482
23479
  m("div", zk, [
23483
23480
  m("div", {
23484
- onClick: l[0] || (l[0] = (C) => s("element")),
23481
+ onClick: l[0] || (l[0] = (S) => s("element")),
23485
23482
  class: Y(["px-4 py-4 cursor-pointer", [i.value === "element" ? "text-white" : ""]])
23486
23483
  }, " Element ", 2),
23487
23484
  m("div", {
23488
- onClick: l[1] || (l[1] = (C) => s("component")),
23485
+ onClick: l[1] || (l[1] = (S) => s("component")),
23489
23486
  class: Y(["px-4 py-4 cursor-pointer", [i.value === "component" ? "text-white" : ""]])
23490
23487
  }, " Component ", 2),
23491
23488
  m("div", {
23492
- onClick: l[2] || (l[2] = (C) => s("components")),
23489
+ onClick: l[2] || (l[2] = (S) => s("components")),
23493
23490
  class: Y(["px-4 py-4 cursor-pointer", [i.value === "components" ? "text-white" : ""]])
23494
23491
  }, " Components " + z(Array.isArray(n.value) && n.value.length), 3)
23495
23492
  ])
23496
23493
  ]),
23497
23494
  m("div", jk, [
23498
- i.value === "element" ? (v(), S("div", Hk, [
23499
- o.value ? I("", !0) : (v(), S("div", Vk, [
23495
+ i.value === "element" ? (v(), C("div", Hk, [
23496
+ o.value ? I("", !0) : (v(), C("div", Vk, [
23500
23497
  m("p", Wk, z(o.value === null ? "NULL" : typeof o.value), 1)
23501
23498
  ])),
23502
- t.value ? (v(), S("div", qk, [
23499
+ t.value ? (v(), C("div", qk, [
23503
23500
  m("div", Uk, [
23504
23501
  l[9] || (l[9] = m("p", null, "Selected HTML:", -1)),
23505
23502
  m("p", Kk, z((d = t.value) == null ? void 0 : d.outerHTML), 1)
@@ -23518,11 +23515,11 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23518
23515
  ])
23519
23516
  ])) : I("", !0)
23520
23517
  ])) : I("", !0),
23521
- i.value === "component" ? (v(), S("div", e6, [
23522
- o.value ? I("", !0) : (v(), S("div", t6, [
23518
+ i.value === "component" ? (v(), C("div", e6, [
23519
+ o.value ? I("", !0) : (v(), C("div", t6, [
23523
23520
  m("p", r6, z(o.value === null ? "NULL" : typeof o.value), 1)
23524
23521
  ])),
23525
- o.value ? (v(), S("div", o6, [
23522
+ o.value ? (v(), C("div", o6, [
23526
23523
  m("p", n6, " Component ID: " + z((E = o.value) == null ? void 0 : E.id), 1),
23527
23524
  m("p", i6, [
23528
23525
  l[13] || (l[13] = We(" Component Title:")),
@@ -23532,26 +23529,23 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23532
23529
  m("p", s6, " Component HTML: " + z((P = o.value) == null ? void 0 : P.html_code), 1)
23533
23530
  ])) : I("", !0)
23534
23531
  ])) : I("", !0),
23535
- i.value === "components" ? (v(), S("div", a6, [
23536
- n.value ? I("", !0) : (v(), S("div", l6, [
23532
+ i.value === "components" ? (v(), C("div", a6, [
23533
+ n.value ? I("", !0) : (v(), C("div", l6, [
23537
23534
  m("p", d6, z(n.value === null ? "NULL" : typeof n.value), 1)
23538
23535
  ])),
23539
- n.value ? (v(), S("div", c6, [
23540
- (v(!0), S(ve, null, Le(n.value, (C) => {
23541
- var L;
23542
- return v(), S("div", {
23543
- class: "border-b border-white mb-4 pb-4 last:border-none",
23544
- key: C.id
23545
- }, [
23546
- m("p", p6, " Component ID: " + z(C.id), 1),
23547
- m("p", u6, " Component Title: " + z((L = o.value) == null ? void 0 : L.title), 1),
23548
- m("p", m6, [
23549
- l[15] || (l[15] = We(" Component HTML:")),
23550
- l[16] || (l[16] = m("br", null, null, -1)),
23551
- We(" " + z(C.html_code), 1)
23552
- ])
23553
- ]);
23554
- }), 128))
23536
+ n.value ? (v(), C("div", c6, [
23537
+ (v(!0), C(ve, null, Le(n.value, (S) => (v(), C("div", {
23538
+ class: "border-b border-white mb-4 pb-4 last:border-none",
23539
+ key: S.id
23540
+ }, [
23541
+ m("p", p6, " Component ID: " + z(S.id), 1),
23542
+ m("p", u6, " Component Title: " + z(S == null ? void 0 : S.title), 1),
23543
+ m("p", m6, [
23544
+ l[15] || (l[15] = We(" Component HTML:")),
23545
+ l[16] || (l[16] = m("br", null, null, -1)),
23546
+ We(" " + z(S.html_code), 1)
23547
+ ])
23548
+ ]))), 128))
23555
23549
  ])) : I("", !0)
23556
23550
  ])) : I("", !0)
23557
23551
  ])
@@ -23592,7 +23586,7 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23592
23586
  }, IS = { class: "mt-4 mb-4 py-8 border-b border-myPrimbryLightGrayColor" }, RS = { class: "mt-4 whitespace-pre-wrap text-white overflow-hidden bg-gray-900 max-w-2xl" }, $S = { class: "px-4 pb-8 pt-4 text-white text-xs break-all" }, _S = { class: "myPrimaryParagraph text-xs text-white" }, FS = {
23593
23587
  __name: "PageBuilderSettings",
23594
23588
  setup(r) {
23595
- const e = "v3.2.20", t = Be, o = new Fe(t), n = x(!1), i = x(""), s = x(null), a = N(() => t.getConfigPageBuilder), l = function() {
23589
+ const e = "v3.2.22", t = Be, o = new Fe(t), n = x(!1), i = x(""), s = x(null), a = N(() => t.getConfigPageBuilder), l = function() {
23596
23590
  i.value = "Advanced Settings", n.value = !0;
23597
23591
  }, d = function() {
23598
23592
  n.value = !1;
@@ -23606,8 +23600,8 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23606
23600
  s.value = c.value.map((g) => g.html_code), p("downloaded_html.html", s.value.join(""));
23607
23601
  };
23608
23602
  return (g, h) => {
23609
- var f, b, w, k, E, y, P, C, L, A, B, M, O, H, q, re, J, X, ne;
23610
- return v(), S("div", null, [
23603
+ var f, b, w, k, E, y, P, S, D, A, B, M, O, H, q, re, J, X, ne;
23604
+ return v(), C("div", null, [
23611
23605
  _(Ok, {
23612
23606
  open: n.value,
23613
23607
  title: i.value,
@@ -23664,7 +23658,7 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23664
23658
  ])
23665
23659
  ])
23666
23660
  ]),
23667
- (f = a.value) != null && f.resourceData && !T(Xr)(a.value.resourceData) ? (v(), S("div", E6, [
23661
+ (f = a.value) != null && f.resourceData && !T(Xr)(a.value.resourceData) ? (v(), C("div", E6, [
23668
23662
  h[10] || (h[10] = m("h4", { class: "myQuaternaryHeader text-sm mb-2" }, "Resource Data", -1)),
23669
23663
  m("div", T6, [
23670
23664
  m("div", O6, [
@@ -23682,11 +23676,11 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23682
23676
  ])
23683
23677
  ], -1)),
23684
23678
  m("tbody", B6, [
23685
- (w = (b = a.value) == null ? void 0 : b.resourceData) != null && w.title ? (v(), S("tr", A6, [
23679
+ (w = (b = a.value) == null ? void 0 : b.resourceData) != null && w.title ? (v(), C("tr", A6, [
23686
23680
  h[7] || (h[7] = m("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Title ", -1)),
23687
23681
  m("td", L6, z(a.value.resourceData.title), 1)
23688
23682
  ])) : I("", !0),
23689
- (E = (k = a.value) == null ? void 0 : k.resourceData) != null && E.id ? (v(), S("tr", D6, [
23683
+ (E = (k = a.value) == null ? void 0 : k.resourceData) != null && E.id ? (v(), C("tr", D6, [
23690
23684
  h[8] || (h[8] = m("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " ID ", -1)),
23691
23685
  m("td", N6, z(a.value.resourceData.id), 1)
23692
23686
  ])) : I("", !0)
@@ -23695,7 +23689,7 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23695
23689
  ])
23696
23690
  ])
23697
23691
  ])) : I("", !0),
23698
- (y = a.value) != null && y.userForPageBuilder && !T(Xr)(a.value.userForPageBuilder) ? (v(), S("div", I6, [
23692
+ (y = a.value) != null && y.userForPageBuilder && !T(Xr)(a.value.userForPageBuilder) ? (v(), C("div", I6, [
23699
23693
  h[13] || (h[13] = m("h4", { class: "myQuaternaryHeader text-sm mb-2" }, "User Information", -1)),
23700
23694
  m("div", R6, [
23701
23695
  m("div", $6, [
@@ -23722,7 +23716,7 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23722
23716
  ])
23723
23717
  ])
23724
23718
  ])) : I("", !0),
23725
- (P = a.value) != null && P.userSettings && !T(Xr)(a.value.userSettings) ? (v(), S("div", j6, [
23719
+ (P = a.value) != null && P.userSettings && !T(Xr)(a.value.userSettings) ? (v(), C("div", j6, [
23726
23720
  h[19] || (h[19] = m("h4", { class: "myQuaternaryHeader text-sm mb-2" }, "User Settings", -1)),
23727
23721
  m("div", H6, [
23728
23722
  m("div", V6, [
@@ -23740,15 +23734,15 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23740
23734
  ])
23741
23735
  ], -1)),
23742
23736
  m("tbody", q6, [
23743
- (L = (C = a.value) == null ? void 0 : C.userSettings) != null && L.theme ? (v(), S("tr", U6, [
23737
+ (D = (S = a.value) == null ? void 0 : S.userSettings) != null && D.theme ? (v(), C("tr", U6, [
23744
23738
  h[14] || (h[14] = m("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Theme ", -1)),
23745
23739
  m("td", K6, z(a.value.userSettings.theme), 1)
23746
23740
  ])) : I("", !0),
23747
- (B = (A = a.value) == null ? void 0 : A.userSettings) != null && B.language ? (v(), S("tr", G6, [
23741
+ (B = (A = a.value) == null ? void 0 : A.userSettings) != null && B.language ? (v(), C("tr", G6, [
23748
23742
  h[15] || (h[15] = m("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Language ", -1)),
23749
23743
  m("td", J6, z(a.value.userSettings.language), 1)
23750
23744
  ])) : I("", !0),
23751
- ((O = (M = a.value) == null ? void 0 : M.userSettings) == null ? void 0 : O.autoSave) !== void 0 ? (v(), S("tr", Y6, [
23745
+ ((O = (M = a.value) == null ? void 0 : M.userSettings) == null ? void 0 : O.autoSave) !== void 0 ? (v(), C("tr", Y6, [
23752
23746
  h[16] || (h[16] = m("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Auto Save ", -1)),
23753
23747
  m("td", Q6, [
23754
23748
  m("span", {
@@ -23759,7 +23753,7 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23759
23753
  }, z(a.value.userSettings.autoSave ? "Enabled" : "Disabled"), 3)
23760
23754
  ])
23761
23755
  ])) : I("", !0),
23762
- ((q = (H = a.value) == null ? void 0 : H.userSettings) == null ? void 0 : q.notifications) !== void 0 ? (v(), S("tr", X6, [
23756
+ ((q = (H = a.value) == null ? void 0 : H.userSettings) == null ? void 0 : q.notifications) !== void 0 ? (v(), C("tr", X6, [
23763
23757
  h[17] || (h[17] = m("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Notifications ", -1)),
23764
23758
  m("td", Z6, [
23765
23759
  m("span", {
@@ -23775,7 +23769,7 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23775
23769
  ])
23776
23770
  ])
23777
23771
  ])) : I("", !0),
23778
- a.value.pageBuilderLogo && !T(Xr)(a.value.pageBuilderLogo) ? (v(), S("div", eS, [
23772
+ a.value.pageBuilderLogo && !T(Xr)(a.value.pageBuilderLogo) ? (v(), C("div", eS, [
23779
23773
  h[23] || (h[23] = m("h4", { class: "myQuaternaryHeader text-sm mb-2" }, "Logo Configuration", -1)),
23780
23774
  m("div", tS, [
23781
23775
  m("div", rS, [
@@ -23824,7 +23818,7 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23824
23818
  ])
23825
23819
  ])
23826
23820
  ])) : I("", !0),
23827
- (re = a.value) != null && re.updateOrCreate && !T(Xr)(a.value.updateOrCreate) ? (v(), S("div", hS, [
23821
+ (re = a.value) != null && re.updateOrCreate && !T(Xr)(a.value.updateOrCreate) ? (v(), C("div", hS, [
23828
23822
  h[27] || (h[27] = m("h4", { class: "myQuaternaryHeader text-sm mb-2" }, "Form Type", -1)),
23829
23823
  m("div", gS, [
23830
23824
  m("div", fS, [
@@ -23851,12 +23845,12 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23851
23845
  a.value.updateOrCreate === "create" ? "bg-green-100 text-green-800" : "bg-blue-100 text-blue-800"
23852
23846
  ])
23853
23847
  }, [
23854
- a.value && a.value.updateOrCreate.formType === "create" ? (v(), S("span", vS, z(a.value.updateOrCreate.formType), 1)) : I("", !0),
23855
- a.value && a.value.updateOrCreate.formType === "update" ? (v(), S("span", xS, z(a.value.updateOrCreate.formType), 1)) : I("", !0)
23848
+ a.value && a.value.updateOrCreate.formType === "create" ? (v(), C("span", vS, z(a.value.updateOrCreate.formType), 1)) : I("", !0),
23849
+ a.value && a.value.updateOrCreate.formType === "update" ? (v(), C("span", xS, z(a.value.updateOrCreate.formType), 1)) : I("", !0)
23856
23850
  ], 2)
23857
23851
  ])
23858
23852
  ]),
23859
- a.value.updateOrCreate.formName && a.value.updateOrCreate.formName.length > 0 ? (v(), S("tr", kS, [
23853
+ a.value.updateOrCreate.formName && a.value.updateOrCreate.formName.length > 0 ? (v(), C("tr", kS, [
23860
23854
  h[25] || (h[25] = m("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Form Name ", -1)),
23861
23855
  m("td", SS, [
23862
23856
  m("span", CS, z(a.value.updateOrCreate.formName), 1)
@@ -23867,7 +23861,7 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23867
23861
  ])
23868
23862
  ])
23869
23863
  ])) : I("", !0),
23870
- (J = a.value) != null && J.updateOrCreate && !T(Xr)(a.value.updateOrCreate) ? (v(), S("div", MS, [
23864
+ (J = a.value) != null && J.updateOrCreate && !T(Xr)(a.value.updateOrCreate) ? (v(), C("div", MS, [
23871
23865
  h[31] || (h[31] = m("h4", { class: "myQuaternaryHeader text-sm mb-2" }, "Delete Saved Layout", -1)),
23872
23866
  m("div", ES, [
23873
23867
  m("div", TS, [
@@ -23894,21 +23888,21 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23894
23888
  a.value.updateOrCreate === "create" ? "bg-green-100 text-green-800" : "bg-blue-100 text-blue-800"
23895
23889
  ])
23896
23890
  }, [
23897
- a.value && a.value.updateOrCreate.formType === "create" ? (v(), S("span", AS, z(a.value.updateOrCreate.formType), 1)) : I("", !0),
23898
- a.value && a.value.updateOrCreate.formType === "update" ? (v(), S("span", LS, z(a.value.updateOrCreate.formType), 1)) : I("", !0)
23891
+ a.value && a.value.updateOrCreate.formType === "create" ? (v(), C("span", AS, z(a.value.updateOrCreate.formType), 1)) : I("", !0),
23892
+ a.value && a.value.updateOrCreate.formType === "update" ? (v(), C("span", LS, z(a.value.updateOrCreate.formType), 1)) : I("", !0)
23899
23893
  ], 2)
23900
23894
  ])
23901
23895
  ]),
23902
23896
  m("tr", null, [
23903
23897
  h[29] || (h[29] = m("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Delete ", -1)),
23904
- ((X = a.value) == null ? void 0 : X.updateOrCreate.formType) === "create" ? (v(), S("td", DS, [
23898
+ ((X = a.value) == null ? void 0 : X.updateOrCreate.formType) === "create" ? (v(), C("td", DS, [
23905
23899
  m("button", {
23906
23900
  class: "myPrimaryDeleteButton w-full",
23907
23901
  onClick: h[0] || (h[0] = (...pe) => T(o).removeItemComponentsLocalStorageCreate && T(o).removeItemComponentsLocalStorageCreate(...pe)),
23908
23902
  type: "button"
23909
23903
  }, " Delete ")
23910
23904
  ])) : I("", !0),
23911
- ((ne = a.value) == null ? void 0 : ne.updateOrCreate.formType) === "update" ? (v(), S("td", NS, [
23905
+ ((ne = a.value) == null ? void 0 : ne.updateOrCreate.formType) === "update" ? (v(), C("td", NS, [
23912
23906
  m("button", {
23913
23907
  class: "myPrimaryDeleteButton w-full",
23914
23908
  onClick: h[1] || (h[1] = (...pe) => T(o).removeItemComponentsLocalStorageUpdate && T(o).removeItemComponentsLocalStorageUpdate(...pe)),
@@ -23963,18 +23957,18 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
23963
23957
  i("previewCurrentDesign"), E.value = !0, y.value = function() {
23964
23958
  E.value = !1;
23965
23959
  };
23966
- }, C = function() {
23960
+ }, S = function() {
23967
23961
  s.value = !0, a.value = "delete", l.value = 2, d.value = "Remove all Components", c.value = "Are you sure you want to remove all Components?", p.value = "Close", u.value = null, g.value = "Delete", h.value = function() {
23968
23962
  s.value = !1;
23969
23963
  }, b.value = function() {
23970
23964
  n.deleteAllComponents(), n.clearHtmlSelection(), o.value.updateOrCreate && typeof o.value.updateOrCreate.formType == "string" && (o.value.updateOrCreate.formType === "create" && n.removeItemComponentsLocalStorageCreate(), o.value.updateOrCreate.formType === "update" && n.removeItemComponentsLocalStorageUpdate()), s.value = !1;
23971
23965
  };
23972
- }, L = function() {
23966
+ }, D = function() {
23973
23967
  k.value = "Settings", w.value = !0;
23974
23968
  }, A = function() {
23975
23969
  w.value = !1;
23976
23970
  };
23977
- return (B, M) => (v(), S("div", null, [
23971
+ return (B, M) => (v(), C("div", null, [
23978
23972
  _(wk, {
23979
23973
  open: w.value,
23980
23974
  title: k.value,
@@ -24065,7 +24059,7 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
24065
24059
  _(T(Li), null, {
24066
24060
  default: F(({ active: O }) => [
24067
24061
  m("div", {
24068
- onClick: L,
24062
+ onClick: D,
24069
24063
  class: Y(["cursor-pointer", [
24070
24064
  O ? "bg-myPrimaryLightGrayColor text-gray-900" : "text-gray-700",
24071
24065
  "block px-4 py-2"
@@ -24079,7 +24073,7 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
24079
24073
  _(T(Li), null, {
24080
24074
  default: F(({ active: O }) => [
24081
24075
  m("div", {
24082
- onClick: C,
24076
+ onClick: S,
24083
24077
  class: Y(["cursor-pointer", [
24084
24078
  O ? "bg-myPrimaryLightGrayColor text-gray-900" : "text-gray-700",
24085
24079
  "block px-4 py-2"
@@ -24128,7 +24122,7 @@ const z4 = { class: "p-4" }, j4 = { class: "mb-8" }, H4 = { class: "grid grid-co
24128
24122
  class: "material-symbols-outlined"
24129
24123
  };
24130
24124
  function KS(r, e, t, o, n, i) {
24131
- return v(), S("div", {
24125
+ return v(), C("div", {
24132
24126
  class: Y(["flex flex-col", { "pb-8": o.expanded }])
24133
24127
  }, [
24134
24128
  m("div", {
@@ -24138,8 +24132,8 @@ function KS(r, e, t, o, n, i) {
24138
24132
  m("p", WS, [
24139
24133
  Kt(r.$slots, "title")
24140
24134
  ]),
24141
- o.expanded ? (v(), S("span", qS, " keyboard_arrow_down ")) : I("", !0),
24142
- o.expanded ? I("", !0) : (v(), S("span", US, " chevron_right "))
24135
+ o.expanded ? (v(), C("span", qS, " keyboard_arrow_down ")) : I("", !0),
24136
+ o.expanded ? I("", !0) : (v(), C("span", US, " chevron_right "))
24143
24137
  ]),
24144
24138
  m("div", {
24145
24139
  class: Y([[o.expanded ? "block" : "hidden"], "px-4 ease-linear duration-75 bg-white mt-4"])
@@ -24168,7 +24162,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24168
24162
  ])),
24169
24163
  content: F(() => [
24170
24164
  m("div", GS, [
24171
- (v(!0), S(ve, null, Le(o.value, (d) => (v(), S("div", {
24165
+ (v(!0), C(ve, null, Le(o.value, (d) => (v(), C("div", {
24172
24166
  key: d,
24173
24167
  class: "myPrimaryTag cursor-pointer hover:bg-myPrimaryErrorColor hover:text-white text-xs py-2 font-medium",
24174
24168
  onClick: async () => {
@@ -24214,8 +24208,8 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24214
24208
  n.value = !0, o.updateBasePrimaryImage({ type: "unsplash" }), i.value = !1, n.value = !1;
24215
24209
  };
24216
24210
  };
24217
- return (b, w) => (v(), S("div", null, [
24218
- h.value !== null ? (v(), S("div", rC, [
24211
+ return (b, w) => (v(), C("div", null, [
24212
+ h.value !== null ? (v(), C("div", rC, [
24219
24213
  m("img", {
24220
24214
  class: "object-cover object-center w-full cursor-pointer",
24221
24215
  src: h.value,
@@ -24256,7 +24250,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24256
24250
  o.value = i, await t.handlePageBuilderMethods();
24257
24251
  },
24258
24252
  { immediate: !0 }
24259
- ), (i, s) => (v(), S("div", iC, [
24253
+ ), (i, s) => (v(), C("div", iC, [
24260
24254
  s[4] || (s[4] = m("label", { class: "myPrimaryInputLabel" }, " Background opacity", -1)),
24261
24255
  _(T(ai), {
24262
24256
  as: "div",
@@ -24268,12 +24262,12 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24268
24262
  _(T(li), { class: "myPrimarySelect" }, {
24269
24263
  default: F(() => [
24270
24264
  m("span", aC, [
24271
- o.value === "none" ? (v(), S("div", lC, s[1] || (s[1] = [
24265
+ o.value === "none" ? (v(), C("div", lC, s[1] || (s[1] = [
24272
24266
  m("div", { class: "myPrimaryColorPreview border-none" }, [
24273
24267
  m("span", { class: "material-symbols-outlined" }, " ev_shadow ")
24274
24268
  ], -1)
24275
24269
  ]))) : I("", !0),
24276
- o.value !== "none" ? (v(), S("div", {
24270
+ o.value !== "none" ? (v(), C("div", {
24277
24271
  key: 1,
24278
24272
  class: Y(["aspect-square w-6 h-6 bg-gray-950", `${o.value}`])
24279
24273
  }, null, 2)) : I("", !0),
@@ -24296,7 +24290,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24296
24290
  default: F(() => [
24297
24291
  _(T(di), { class: "absolute z-10 mt-1 max-h-56 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm" }, {
24298
24292
  default: F(() => [
24299
- (v(!0), S(ve, null, Le(T(ss).backgroundOpacities, (a) => (v(), Se(T(ci), {
24293
+ (v(!0), C(ve, null, Le(T(ss).backgroundOpacities, (a) => (v(), Se(T(ci), {
24300
24294
  as: "template",
24301
24295
  onClick: (l) => T(t).handleBackgroundOpacity(a),
24302
24296
  key: a,
@@ -24310,17 +24304,17 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24310
24304
  ])
24311
24305
  }, [
24312
24306
  m("div", dC, [
24313
- a === "none" ? (v(), S("div", cC, s[3] || (s[3] = [
24307
+ a === "none" ? (v(), C("div", cC, s[3] || (s[3] = [
24314
24308
  m("div", { class: "myPrimaryColorPreview border-none" }, [
24315
24309
  m("span", { class: "material-symbols-outlined" }, " ev_shadow ")
24316
24310
  ], -1)
24317
24311
  ]))) : I("", !0),
24318
- a !== "none" ? (v(), S("div", {
24312
+ a !== "none" ? (v(), C("div", {
24319
24313
  key: 1,
24320
24314
  class: Y(["aspect-square w-6 h-6 bg-gray-950", `${a}`])
24321
24315
  }, null, 2)) : I("", !0),
24322
- a !== "none" ? (v(), S("span", pC, z(a), 1)) : I("", !0),
24323
- a === "none" ? (v(), S("span", uC, "Transparent")) : I("", !0)
24316
+ a !== "none" ? (v(), C("span", pC, z(a), 1)) : I("", !0),
24317
+ a === "none" ? (v(), C("span", uC, "Transparent")) : I("", !0)
24324
24318
  ])
24325
24319
  ], 2)
24326
24320
  ]),
@@ -24354,7 +24348,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24354
24348
  o.value = i, await t.handlePageBuilderMethods();
24355
24349
  },
24356
24350
  { immediate: !0 }
24357
- ), (i, s) => (v(), S("div", hC, [
24351
+ ), (i, s) => (v(), C("div", hC, [
24358
24352
  s[4] || (s[4] = m("label", { class: "myPrimaryInputLabel" }, " Opacity", -1)),
24359
24353
  _(T(ai), {
24360
24354
  as: "div",
@@ -24366,12 +24360,12 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24366
24360
  _(T(li), { class: "myPrimarySelect" }, {
24367
24361
  default: F(() => [
24368
24362
  m("span", fC, [
24369
- o.value === "none" ? (v(), S("div", bC, s[1] || (s[1] = [
24363
+ o.value === "none" ? (v(), C("div", bC, s[1] || (s[1] = [
24370
24364
  m("div", { class: "myPrimaryColorPreview border-none" }, [
24371
24365
  m("span", { class: "material-symbols-outlined" }, " ev_shadow ")
24372
24366
  ], -1)
24373
24367
  ]))) : I("", !0),
24374
- o.value !== "none" ? (v(), S("div", {
24368
+ o.value !== "none" ? (v(), C("div", {
24375
24369
  key: 1,
24376
24370
  class: Y(["aspect-square w-6 h-6 bg-gray-950", `${o.value}`])
24377
24371
  }, null, 2)) : I("", !0),
@@ -24394,7 +24388,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24394
24388
  default: F(() => [
24395
24389
  _(T(di), { class: "absolute z-10 mt-1 max-h-56 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm" }, {
24396
24390
  default: F(() => [
24397
- (v(!0), S(ve, null, Le(T(ss).opacities, (a) => (v(), Se(T(ci), {
24391
+ (v(!0), C(ve, null, Le(T(ss).opacities, (a) => (v(), Se(T(ci), {
24398
24392
  as: "template",
24399
24393
  onClick: (l) => T(t).handleOpacity(a),
24400
24394
  key: a,
@@ -24408,17 +24402,17 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24408
24402
  ])
24409
24403
  }, [
24410
24404
  m("div", yC, [
24411
- a === "none" ? (v(), S("div", wC, s[3] || (s[3] = [
24405
+ a === "none" ? (v(), C("div", wC, s[3] || (s[3] = [
24412
24406
  m("div", { class: "myPrimaryColorPreview border-none" }, [
24413
24407
  m("span", { class: "material-symbols-outlined" }, " ev_shadow ")
24414
24408
  ], -1)
24415
24409
  ]))) : I("", !0),
24416
- a !== "none" ? (v(), S("div", {
24410
+ a !== "none" ? (v(), C("div", {
24417
24411
  key: 1,
24418
24412
  class: Y(["aspect-square w-6 h-6 bg-gray-950", `${a}`])
24419
24413
  }, null, 2)) : I("", !0),
24420
- a === "none" ? (v(), S("span", vC, "Transparent")) : I("", !0),
24421
- a !== "none" ? (v(), S("span", xC, z(a), 1)) : I("", !0)
24414
+ a === "none" ? (v(), C("span", vC, "Transparent")) : I("", !0),
24415
+ a !== "none" ? (v(), C("span", xC, z(a), 1)) : I("", !0)
24422
24416
  ])
24423
24417
  ], 2)
24424
24418
  ]),
@@ -24495,7 +24489,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24495
24489
  disabled: "",
24496
24490
  value: ""
24497
24491
  }, "Select", -1)),
24498
- (v(!0), S(ve, null, Le(T(Tr).verticalPadding, (g) => (v(), S("option", { key: g }, z(g), 1))), 128))
24492
+ (v(!0), C(ve, null, Le(T(Tr).verticalPadding, (g) => (v(), C("option", { key: g }, z(g), 1))), 128))
24499
24493
  ], 544), [
24500
24494
  [$t, o.value]
24501
24495
  ])
@@ -24511,7 +24505,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24511
24505
  disabled: "",
24512
24506
  value: ""
24513
24507
  }, "Select", -1)),
24514
- (v(!0), S(ve, null, Le(T(Tr).horizontalPadding, (g) => (v(), S("option", { key: g }, z(g), 1))), 128))
24508
+ (v(!0), C(ve, null, Le(T(Tr).horizontalPadding, (g) => (v(), C("option", { key: g }, z(g), 1))), 128))
24515
24509
  ], 544), [
24516
24510
  [$t, n.value]
24517
24511
  ])
@@ -24528,7 +24522,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24528
24522
  disabled: "",
24529
24523
  value: ""
24530
24524
  }, "Select", -1)),
24531
- (v(!0), S(ve, null, Le(T(Tr).verticalMargin, (g) => (v(), S("option", { key: g }, z(g), 1))), 128))
24525
+ (v(!0), C(ve, null, Le(T(Tr).verticalMargin, (g) => (v(), C("option", { key: g }, z(g), 1))), 128))
24532
24526
  ], 544), [
24533
24527
  [$t, i.value]
24534
24528
  ])
@@ -24544,7 +24538,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24544
24538
  disabled: "",
24545
24539
  value: ""
24546
24540
  }, "Select", -1)),
24547
- (v(!0), S(ve, null, Le(T(Tr).horizontalMargin, (g) => (v(), S("option", { key: g }, z(g), 1))), 128))
24541
+ (v(!0), C(ve, null, Le(T(Tr).horizontalMargin, (g) => (v(), C("option", { key: g }, z(g), 1))), 128))
24548
24542
  ], 544), [
24549
24543
  [$t, s.value]
24550
24544
  ])
@@ -24604,7 +24598,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24604
24598
  disabled: "",
24605
24599
  value: ""
24606
24600
  }, "Select", -1)),
24607
- (v(!0), S(ve, null, Le(T(qt).roundedGlobal, (f) => (v(), S("option", { key: f }, z(f), 1))), 128))
24601
+ (v(!0), C(ve, null, Le(T(qt).roundedGlobal, (f) => (v(), C("option", { key: f }, z(f), 1))), 128))
24608
24602
  ], 544), [
24609
24603
  [$t, o.value]
24610
24604
  ])
@@ -24621,7 +24615,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24621
24615
  disabled: "",
24622
24616
  value: ""
24623
24617
  }, "Select", -1)),
24624
- (v(!0), S(ve, null, Le(T(qt).roundedTopLeft, (f) => (v(), S("option", { key: f }, z(f), 1))), 128))
24618
+ (v(!0), C(ve, null, Le(T(qt).roundedTopLeft, (f) => (v(), C("option", { key: f }, z(f), 1))), 128))
24625
24619
  ], 544), [
24626
24620
  [$t, n.value]
24627
24621
  ])
@@ -24637,7 +24631,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24637
24631
  disabled: "",
24638
24632
  value: ""
24639
24633
  }, "Select", -1)),
24640
- (v(!0), S(ve, null, Le(T(qt).roundedTopRight, (f) => (v(), S("option", { key: f }, z(f), 1))), 128))
24634
+ (v(!0), C(ve, null, Le(T(qt).roundedTopRight, (f) => (v(), C("option", { key: f }, z(f), 1))), 128))
24641
24635
  ], 544), [
24642
24636
  [$t, i.value]
24643
24637
  ])
@@ -24653,7 +24647,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24653
24647
  disabled: "",
24654
24648
  value: ""
24655
24649
  }, "Select", -1)),
24656
- (v(!0), S(ve, null, Le(T(qt).roundedBottomLeft, (f) => (v(), S("option", { key: f }, z(f), 1))), 128))
24650
+ (v(!0), C(ve, null, Le(T(qt).roundedBottomLeft, (f) => (v(), C("option", { key: f }, z(f), 1))), 128))
24657
24651
  ], 544), [
24658
24652
  [$t, s.value]
24659
24653
  ])
@@ -24669,7 +24663,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24669
24663
  disabled: "",
24670
24664
  value: ""
24671
24665
  }, "Select", -1)),
24672
- (v(!0), S(ve, null, Le(T(qt).roundedBottomRight, (f) => (v(), S("option", { key: f }, z(f), 1))), 128))
24666
+ (v(!0), C(ve, null, Le(T(qt).roundedBottomRight, (f) => (v(), C("option", { key: f }, z(f), 1))), 128))
24673
24667
  ], 544), [
24674
24668
  [$t, a.value]
24675
24669
  ])
@@ -24722,7 +24716,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24722
24716
  disabled: "",
24723
24717
  value: ""
24724
24718
  }, "Select", -1)),
24725
- (v(!0), S(ve, null, Le(T(_o).borderStyle, (p) => (v(), S("option", { key: p }, z(p), 1))), 128))
24719
+ (v(!0), C(ve, null, Le(T(_o).borderStyle, (p) => (v(), C("option", { key: p }, z(p), 1))), 128))
24726
24720
  ], 544), [
24727
24721
  [$t, o.value]
24728
24722
  ])
@@ -24738,7 +24732,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24738
24732
  disabled: "",
24739
24733
  value: ""
24740
24734
  }, "Select", -1)),
24741
- (v(!0), S(ve, null, Le(T(_o).borderWidth, (p) => (v(), S("option", { key: p }, z(p), 1))), 128))
24735
+ (v(!0), C(ve, null, Le(T(_o).borderWidth, (p) => (v(), C("option", { key: p }, z(p), 1))), 128))
24742
24736
  ], 544), [
24743
24737
  [$t, n.value]
24744
24738
  ])
@@ -24756,12 +24750,12 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24756
24750
  var p;
24757
24751
  return [
24758
24752
  m("span", _C, [
24759
- l.value === "none" ? (v(), S("div", FC, c[11] || (c[11] = [
24753
+ l.value === "none" ? (v(), C("div", FC, c[11] || (c[11] = [
24760
24754
  m("div", { class: "myPrimaryColorPreview border-none" }, [
24761
24755
  m("span", { class: "material-symbols-outlined" }, " ev_shadow ")
24762
24756
  ], -1)
24763
24757
  ]))) : I("", !0),
24764
- i.value !== "none" ? (v(), S("div", {
24758
+ i.value !== "none" ? (v(), C("div", {
24765
24759
  key: 1,
24766
24760
  class: Y(["aspect-square w-6 h-6 border border-gray-100 rounded-sm", `bg-${(p = i.value) == null ? void 0 : p.replace("border-", "")}`])
24767
24761
  }, null, 2)) : I("", !0),
@@ -24783,7 +24777,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24783
24777
  default: F(() => [
24784
24778
  _(T(di), { class: "absolute z-10 mt-1 max-h-56 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm" }, {
24785
24779
  default: F(() => [
24786
- (v(!0), S(ve, null, Le(T(_o).borderColor, (p) => (v(), Se(T(ci), {
24780
+ (v(!0), C(ve, null, Le(T(_o).borderColor, (p) => (v(), Se(T(ci), {
24787
24781
  as: "template",
24788
24782
  onClick: c[4] || (c[4] = (u) => T(t).handleBorderColor(i.value)),
24789
24783
  key: p,
@@ -24797,17 +24791,17 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24797
24791
  ])
24798
24792
  }, [
24799
24793
  m("div", jC, [
24800
- p === "none" ? (v(), S("div", HC, c[13] || (c[13] = [
24794
+ p === "none" ? (v(), C("div", HC, c[13] || (c[13] = [
24801
24795
  m("div", { class: "myPrimaryColorPreview border-none" }, [
24802
24796
  m("span", { class: "material-symbols-outlined" }, " ev_shadow ")
24803
24797
  ], -1)
24804
24798
  ]))) : I("", !0),
24805
- p !== "none" ? (v(), S("div", {
24799
+ p !== "none" ? (v(), C("div", {
24806
24800
  key: 1,
24807
24801
  class: Y(["aspect-square w-6 h-6 bg-gray-950", `bg-${p.replace("border-", "")}`])
24808
24802
  }, null, 2)) : I("", !0),
24809
- p === "none" ? (v(), S("span", VC, "Transparent")) : I("", !0),
24810
- p !== "none" ? (v(), S("span", WC, z(p), 1)) : I("", !0)
24803
+ p === "none" ? (v(), C("span", VC, "Transparent")) : I("", !0),
24804
+ p !== "none" ? (v(), C("span", WC, z(p), 1)) : I("", !0)
24811
24805
  ])
24812
24806
  ], 2)
24813
24807
  ]),
@@ -24834,9 +24828,9 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24834
24828
  __name: "TipTap",
24835
24829
  setup(r) {
24836
24830
  const e = Be, t = new Fe(e);
24837
- return (o, n) => (v(), S("div", null, [
24831
+ return (o, n) => (v(), C("div", null, [
24838
24832
  m("div", UC, [
24839
- T(t).selectedElementIsValidText() ? (v(), S("div", KC, [
24833
+ T(t).selectedElementIsValidText() ? (v(), C("div", KC, [
24840
24834
  m("div", GC, [
24841
24835
  m("button", {
24842
24836
  onClick: n[0] || (n[0] = (i) => T(e).setShowModalTipTap(!0)),
@@ -24868,7 +24862,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24868
24862
  content: F(() => [
24869
24863
  s[5] || (s[5] = m("div", { class: "flex flex-row flex-wrap gap-2 mt-2" }, null, -1)),
24870
24864
  m("div", null, [
24871
- n.value ? (v(), S("div", YC, [
24865
+ n.value ? (v(), C("div", YC, [
24872
24866
  m("button", {
24873
24867
  onClick: s[0] || (s[0] = (...a) => T(t).handleRestoreElement && T(t).handleRestoreElement(...a)),
24874
24868
  type: "button",
@@ -24878,7 +24872,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24878
24872
  m("span", null, "Undo", -1)
24879
24873
  ]))
24880
24874
  ])) : I("", !0),
24881
- o.value && !n.value ? (v(), S("div", QC, [
24875
+ o.value && !n.value ? (v(), C("div", QC, [
24882
24876
  m("button", {
24883
24877
  onClick: s[1] || (s[1] = (...a) => T(t).handleDeleteElement && T(t).handleDeleteElement(...a)),
24884
24878
  type: "button",
@@ -24901,7 +24895,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
24901
24895
  var s;
24902
24896
  return (s = o.value) == null ? void 0 : s.tagName;
24903
24897
  }), i = N(() => o.value instanceof HTMLElement && o.value.innerText.trim() !== " " || o.value instanceof HTMLImageElement);
24904
- return (s, a) => (v(), S("div", ZC, [
24898
+ return (s, a) => (v(), C("div", ZC, [
24905
24899
  m("div", e7, [
24906
24900
  m("div", t7, [
24907
24901
  m("button", {
@@ -25039,7 +25033,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
25039
25033
  });
25040
25034
  const y = function(A) {
25041
25035
  o.setComponent(A);
25042
- }, P = x(null), C = {
25036
+ }, P = x(null), S = {
25043
25037
  updateOrCreate: {
25044
25038
  formType: "create",
25045
25039
  formName: "post"
@@ -25049,9 +25043,9 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
25049
25043
  language: "en",
25050
25044
  autoSave: !0
25051
25045
  }
25052
- }, L = function(A) {
25046
+ }, D = function(A) {
25053
25047
  if (A == null || A && Object.keys(A).length === 0 && A.constructor === Object) {
25054
- console.log("0000"), n.setConfigPageBuilder(C);
25048
+ console.log("0000"), n.setConfigPageBuilder(S);
25055
25049
  return;
25056
25050
  }
25057
25051
  if (A && Object.keys(A).length !== 0 && A.constructor === Object && a7(A)) {
@@ -25067,15 +25061,15 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
25067
25061
  { immediate: !0 }
25068
25062
  ), ke(async () => {
25069
25063
  const A = s.value;
25070
- L(A), n.updateLocalStorageItemName(), n.removeHoveredAndSelected(), await n.setEventListenersForElements();
25071
- }), (A, B) => (v(), S("div", l7, [
25064
+ D(A), n.updateLocalStorageItemName(), n.removeHoveredAndSelected(), await n.setEventListenersForElements();
25065
+ }), (A, B) => (v(), C("div", l7, [
25072
25066
  m("div", {
25073
25067
  onClick: B[0] || (B[0] = (M) => T(n).clearHtmlSelection()),
25074
25068
  id: "pagebuilder-top-area",
25075
25069
  class: "px-4 pb-4 mx-4 my-4 rounded-xl"
25076
25070
  }, [
25077
25071
  B[18] || (B[18] = Sa('<div class="flex justify-start items-center py-2 pl-2 mr-2 mb-6 h-full"><div class="flex gap-2"><span class="w-2 h-2 rounded-full bg-red-400"></span><span class="w-2 h-2 rounded-full bg-yellow-400"></span><span class="w-2 h-2 rounded-full bg-green-400"></span></div></div>', 1)),
25078
- s.value && s.value.pageBuilderLogo && s.value.pageBuilderLogo.src ? (v(), S("div", d7, [
25072
+ s.value && s.value.pageBuilderLogo && s.value.pageBuilderLogo.src ? (v(), C("div", d7, [
25079
25073
  m("div", c7, [
25080
25074
  m("img", {
25081
25075
  class: "h-6",
@@ -25084,7 +25078,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
25084
25078
  }, null, 8, p7)
25085
25079
  ]),
25086
25080
  B[16] || (B[16] = m("span", { class: "myPrimaryParagraph font-medium pl-4" }, "Editing Page ", -1))
25087
- ])) : (v(), S("div", u7, B[17] || (B[17] = [
25081
+ ])) : (v(), C("div", u7, B[17] || (B[17] = [
25088
25082
  m("div", { class: "pr-6" }, [
25089
25083
  m("span", { class: "myPrimaryParagraph font-medium" }, "Editing Page ")
25090
25084
  ], -1)
@@ -25195,7 +25189,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
25195
25189
  onClick: B[12] || (B[12] = wr((M) => T(n).clearHtmlSelection(), ["self"])),
25196
25190
  class: "flex items-center justify-center gap-4"
25197
25191
  }, [
25198
- a.value === !1 ? (v(), S("button", {
25192
+ a.value === !1 ? (v(), C("button", {
25199
25193
  key: 0,
25200
25194
  type: "button",
25201
25195
  onClick: B[11] || (B[11] = (M) => T(o).setMenuRight(!0))
@@ -25217,7 +25211,7 @@ const tn = /* @__PURE__ */ oc(VS, [["render", KS]]), GS = { class: "flex flex-ro
25217
25211
  ref_key: "draggableZone",
25218
25212
  ref: P
25219
25213
  }, [
25220
- (v(!0), S(ve, null, Le(w.value, (M) => (v(), S("div", {
25214
+ (v(!0), C(ve, null, Le(w.value, (M) => (v(), C("div", {
25221
25215
  key: M.id,
25222
25216
  id: "page-builder-editor-editable-area",
25223
25217
  class: "bg-white grow"