@templatical/editor 0.26.0 → 0.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/{AiChatSidebar-c-3yyjN1.js → AiChatSidebar-CMBz6Wix.js} +1 -1
  2. package/dist/{AiFeatureMenu-B-COyG7k.js → AiFeatureMenu-BY6mubnR.js} +1 -1
  3. package/dist/{BlockPreviewCanvas-CJPHGI93.js → BlockPreviewCanvas-DbNOqSI1.js} +1 -1
  4. package/dist/{CloudEditor-BdSQ8hfv.js → CloudEditor-DEnMNMbm.js} +8 -8
  5. package/dist/{CollaboratorBar-mGoi6yye.js → CollaboratorBar-zvfvE7f-.js} +1 -1
  6. package/dist/{DesignReferenceSidebar-CgYkySre.js → DesignReferenceSidebar-Bx96XFmK.js} +1 -1
  7. package/dist/{MergeTagModeToggle-hAJgIKhw.js → MergeTagModeToggle-P-UguQHc.js} +1 -1
  8. package/dist/{ParagraphEditor-DBG63S70.js → ParagraphEditor-CLvv5Ija.js} +2 -2
  9. package/dist/{SaveBlockDialog-Dq9UVihi.js → SaveBlockDialog-fVp_PwZi.js} +3 -3
  10. package/dist/{SavedBlocksBrowserModal-CtFG4zeV.js → SavedBlocksBrowserModal-KWlaiLlr.js} +4 -4
  11. package/dist/{SavedBlocksPanels-DNVdso_W.js → SavedBlocksPanels-CQsZvWO_.js} +1 -1
  12. package/dist/{SavedBlocksPickBar-Cv4dIpP-.js → SavedBlocksPickBar-C3h8oL3r.js} +1 -1
  13. package/dist/{SnapshotHistory-DsOtMHOV.js → SnapshotHistory-DjA3Ej_i.js} +1 -1
  14. package/dist/{TestEmailModal-CIwqtGfr.js → TestEmailModal-EM0RP_9L.js} +5 -5
  15. package/dist/{TestEmailPanel-l6LDmBGM.js → TestEmailPanel-B6goIAxT.js} +1 -1
  16. package/dist/{TitleEditor-imoBUynh.js → TitleEditor-JEaP9jVF.js} +2 -2
  17. package/dist/{TplModal-DDDHcoir.js → TplModal-DoneXIj_.js} +1 -1
  18. package/dist/{blockTypeIcons-CfLN4A6t.js → blockTypeIcons-2_85L_CL.js} +1 -1
  19. package/dist/bundle-stats.json +6 -6
  20. package/dist/cdn/chunks/{AiChatSidebar-BHqNxNcX.js → AiChatSidebar-CQ8KUmNB.js} +2 -2
  21. package/dist/cdn/chunks/{AiChatSidebar-BHqNxNcX.js.map → AiChatSidebar-CQ8KUmNB.js.map} +1 -1
  22. package/dist/cdn/chunks/{AiFeatureMenu-D2AIDwEG.js → AiFeatureMenu-Cwj8afsi.js} +2 -2
  23. package/dist/cdn/chunks/{AiFeatureMenu-D2AIDwEG.js.map → AiFeatureMenu-Cwj8afsi.js.map} +1 -1
  24. package/dist/cdn/chunks/{BlockPreviewCanvas-DH5ULGkw.js → BlockPreviewCanvas-DPtiMsVz.js} +2 -2
  25. package/dist/cdn/chunks/{BlockPreviewCanvas-DH5ULGkw.js.map → BlockPreviewCanvas-DPtiMsVz.js.map} +1 -1
  26. package/dist/cdn/chunks/{CloudEditor-C0nB1JfD.js → CloudEditor-CQ830jJt.js} +11 -11
  27. package/dist/cdn/chunks/{CloudEditor-C0nB1JfD.js.map → CloudEditor-CQ830jJt.js.map} +1 -1
  28. package/dist/cdn/chunks/{CollaboratorBar-f6Ni7KNH.js → CollaboratorBar-BF469_AN.js} +2 -2
  29. package/dist/cdn/chunks/{CollaboratorBar-f6Ni7KNH.js.map → CollaboratorBar-BF469_AN.js.map} +1 -1
  30. package/dist/cdn/chunks/{DesignReferenceSidebar-DBoEBKxQ.js → DesignReferenceSidebar-B-HFXV0W.js} +2 -2
  31. package/dist/cdn/chunks/{DesignReferenceSidebar-DBoEBKxQ.js.map → DesignReferenceSidebar-B-HFXV0W.js.map} +1 -1
  32. package/dist/cdn/chunks/{MergeTagModeToggle-D8iKvz7v.js → MergeTagModeToggle-DQ79SqQc.js} +2 -2
  33. package/dist/cdn/chunks/{MergeTagModeToggle-D8iKvz7v.js.map → MergeTagModeToggle-DQ79SqQc.js.map} +1 -1
  34. package/dist/cdn/chunks/{ParagraphEditor-Cuc83Blj.js → ParagraphEditor-Bzcma_Lm.js} +3 -3
  35. package/dist/cdn/chunks/{ParagraphEditor-Cuc83Blj.js.map → ParagraphEditor-Bzcma_Lm.js.map} +1 -1
  36. package/dist/cdn/chunks/{SaveBlockDialog-B8KHhVkI.js → SaveBlockDialog-BfNVeXXV.js} +4 -4
  37. package/dist/cdn/chunks/{SaveBlockDialog-B8KHhVkI.js.map → SaveBlockDialog-BfNVeXXV.js.map} +1 -1
  38. package/dist/cdn/chunks/{SavedBlocksBrowserModal-B-sjsIJv.js → SavedBlocksBrowserModal-C59D4G5C.js} +4 -4
  39. package/dist/cdn/chunks/{SavedBlocksBrowserModal-B-sjsIJv.js.map → SavedBlocksBrowserModal-C59D4G5C.js.map} +1 -1
  40. package/dist/cdn/chunks/{SavedBlocksPanels-Bb-eDMAh.js → SavedBlocksPanels-e4HyTZ8v.js} +2 -2
  41. package/dist/cdn/chunks/{SavedBlocksPanels-Bb-eDMAh.js.map → SavedBlocksPanels-e4HyTZ8v.js.map} +1 -1
  42. package/dist/cdn/chunks/{SavedBlocksPickBar-GudFfXa4.js → SavedBlocksPickBar-DMHxPCM4.js} +2 -2
  43. package/dist/cdn/chunks/{SavedBlocksPickBar-GudFfXa4.js.map → SavedBlocksPickBar-DMHxPCM4.js.map} +1 -1
  44. package/dist/cdn/chunks/{SnapshotHistory-Srpzt2na.js → SnapshotHistory-80tAU_VX.js} +2 -2
  45. package/dist/cdn/chunks/{SnapshotHistory-Srpzt2na.js.map → SnapshotHistory-80tAU_VX.js.map} +1 -1
  46. package/dist/cdn/chunks/{TestEmailModal-DLeoJqaJ.js → TestEmailModal-DdWfAGNe.js} +6 -6
  47. package/dist/cdn/chunks/{TestEmailModal-DLeoJqaJ.js.map → TestEmailModal-DdWfAGNe.js.map} +1 -1
  48. package/dist/cdn/chunks/{TestEmailPanel-Dr7Dkq2P.js → TestEmailPanel-CZAG1gQE.js} +2 -2
  49. package/dist/cdn/chunks/{TestEmailPanel-Dr7Dkq2P.js.map → TestEmailPanel-CZAG1gQE.js.map} +1 -1
  50. package/dist/cdn/chunks/{TitleEditor-DzYRr18C.js → TitleEditor-D0_LY2Ex.js} +3 -3
  51. package/dist/cdn/chunks/{TitleEditor-DzYRr18C.js.map → TitleEditor-D0_LY2Ex.js.map} +1 -1
  52. package/dist/cdn/chunks/{TplModal-byw7-3wg.js → TplModal-iCmoKB2k.js} +2 -2
  53. package/dist/cdn/chunks/{TplModal-byw7-3wg.js.map → TplModal-iCmoKB2k.js.map} +1 -1
  54. package/dist/cdn/chunks/{cloud-CuItCnN_.js → cloud-DcC8bPwn.js} +2 -2
  55. package/dist/cdn/chunks/{cloud-CuItCnN_.js.map → cloud-DcC8bPwn.js.map} +1 -1
  56. package/dist/cdn/chunks/{extensions-B7laxHjs.js → extensions-C7h52yuk.js} +7 -3
  57. package/dist/cdn/chunks/extensions-C7h52yuk.js.map +1 -0
  58. package/dist/cdn/chunks/{src-EKTTBQ0y.js → src-B_QJduQD.js} +237 -166
  59. package/dist/cdn/chunks/src-B_QJduQD.js.map +1 -0
  60. package/dist/cdn/chunks/{src-BYKYmEOD.js → src-CUKUsRzX.js} +120 -121
  61. package/dist/cdn/chunks/src-CUKUsRzX.js.map +1 -0
  62. package/dist/cdn/chunks/{src-Bi-Qhtfs.js → src-Cx70q30o.js} +79 -79
  63. package/dist/cdn/chunks/{src-Bi-Qhtfs.js.map → src-Cx70q30o.js.map} +1 -1
  64. package/dist/cdn/chunks/{src-C0N74uvF.js → src-xkGep9eN.js} +2 -2
  65. package/dist/cdn/chunks/{src-C0N74uvF.js.map → src-xkGep9eN.js.map} +1 -1
  66. package/dist/cdn/chunks/{styles-C7s-VtJi.js → styles-CND3ey2g.js} +452 -452
  67. package/dist/cdn/chunks/{styles-C7s-VtJi.js.map → styles-CND3ey2g.js.map} +1 -1
  68. package/dist/cdn/chunks/{useEditorCore-C_nUXiph.js → useEditorCore-CKQ9gmoo.js} +36 -36
  69. package/dist/cdn/chunks/{useEditorCore-C_nUXiph.js.map → useEditorCore-CKQ9gmoo.js.map} +1 -1
  70. package/dist/cdn/chunks/{useMergeTag-CPa_9VOq.js → useMergeTag-JmXOtpln.js} +2 -2
  71. package/dist/cdn/chunks/{useMergeTag-CPa_9VOq.js.map → useMergeTag-JmXOtpln.js.map} +1 -1
  72. package/dist/cdn/editor.js +7 -7
  73. package/dist/{cloud-C7-FhzMc.js → cloud-qINCmQbn.js} +1 -1
  74. package/dist/{dist-D5zCZFdU.js → dist-B1kLn1rs.js} +120 -51
  75. package/dist/{extensions-CxwhoG8v.js → extensions-DzKNPITR.js} +6 -2
  76. package/dist/{styles-C_slTGwp.js → styles-BK36D1sy.js} +6 -6
  77. package/dist/templatical-editor.js +7 -7
  78. package/dist/{useEditorCore-r4gWzCBA.js → useEditorCore-idmPLUeb.js} +4 -4
  79. package/dist/{useMergeTag-C-_WxrgL.js → useMergeTag-CYZk7dZD.js} +1 -1
  80. package/package.json +8 -8
  81. package/dist/cdn/chunks/extensions-B7laxHjs.js.map +0 -1
  82. package/dist/cdn/chunks/src-BYKYmEOD.js.map +0 -1
  83. package/dist/cdn/chunks/src-EKTTBQ0y.js.map +0 -1
@@ -1,25 +1,25 @@
1
1
  import { C as e, F as t, G as n, H as r, J as i, K as a, L as o, M as s, N as c, O as l, P as u, T as d, V as f, Y as p, Z as m, b as h, c as g, ct as _, f as v, g as y, h as b, it as x, l as S, lt as C, m as w, n as T, o as ee, p as E, s as D, st as O, t as k, u as A, v as j, x as M, y as N, z as P } from "./draggable-DCs9qL-b.js";
2
- import { B as F, C as te, F as I, a as L, b as R, c as z, d as B, i as V, l as ne, r as re, y as ie } from "./src-EKTTBQ0y.js";
3
- import { A as ae, C as oe, I as se, L as H, N as ce, O as le, _ as ue, a as de, c as fe, d as pe, f as me, g as he, h as ge, i as _e, j as ve, k as ye, l as be, m as xe, n as Se, o as Ce, p as we, r as Te, s as Ee, v as De, y as Oe } from "./useEditorCore-C_nUXiph.js";
4
- import { _ as ke, d as Ae } from "./dist-C6z8AjBC.js";
5
- import { A as je, B as Me, G as Ne, H as Pe, I as Fe, M as Ie, O as Le, P as Re, R as ze, T as Be, U as Ve, V as He, W as Ue, c as We, f as Ge, g as Ke, h as qe, k as Je, m as Ye, n as Xe, o as Ze, p as Qe, r as $e, s as et, u as tt, v as nt } from "./keys-Cmc2Yl3D.js";
6
- import { t as U } from "./useI18n-UMs0F71x.js";
7
- import { a as rt, n as it } from "./usePopoverPosition-cf8Y-ynK.js";
8
- import { $ as at, At as ot, D as st, E as ct, Et as lt, It as ut, Mt as dt, N as ft, Ot as pt, P as mt, Q as ht, Rt as gt, T as _t, Tt as vt, U as W, Y as yt, _ as bt, _t as xt, b as St, d as Ct, dt as wt, et as Tt, ft as Et, g as Dt, it as Ot, j as kt, lt as At, m as jt, n as Mt, nt as Nt, pt as Pt, q as Ft, rt as It, s as Lt, st as Rt, w as zt, wt as Bt, z as Vt } from "./icons-CvYN6zrM.js";
9
- import { t as Ht } from "./_plugin-vue_export-helper-B3ysoDQm.js";
10
- import { t as Ut } from "./useCloudI18n-8wkJtuJD.js";
11
- import { t as Wt } from "./useMergeTag-CPa_9VOq.js";
12
- import { t as Gt } from "./useAliveFlag-Dxwgo6P4.js";
13
- import { n as Kt, t as qt } from "./emailFrameWidth-BmFCN2dp.js";
14
- import { t as Jt } from "./readableTextColor-f8Kykfnh.js";
15
- import { t as Yt } from "./blockTypeIcons-FXlMM3PL.js";
16
- import { _ as Xt, f as G, g as Zt, h as K, i as Qt, l as $t, m as q, n as en, p as J, t as Y, u as tn } from "./ColorPicker-W_UyiVGc.js";
17
- import { n as nn, r as rn } from "./MergeTagSuggestion-Dn8dExNa.js";
18
- import { i as X, n as Z, r as Q, t as an } from "./NumberWithSuffix-BXrRdfq1.js";
19
- import { t as on } from "./TplModal-byw7-3wg.js";
2
+ import { H as F, L as I, S as L, T as R, a as z, c as B, d as V, i as H, l as te, r as ne, x as re } from "./src-B_QJduQD.js";
3
+ import { A as ie, C as ae, I as oe, L as U, N as se, O as ce, _ as le, a as ue, c as de, d as fe, f as pe, g as me, h as he, i as ge, j as _e, k as ve, l as ye, m as be, n as xe, o as Se, p as Ce, r as we, s as Te, v as Ee, y as De } from "./useEditorCore-CKQ9gmoo.js";
4
+ import { _ as Oe, d as ke } from "./dist-C6z8AjBC.js";
5
+ import { A as Ae, B as je, G as Me, H as Ne, I as Pe, M as Fe, O as Ie, P as Le, R as Re, T as ze, U as Be, V as Ve, W as He, c as Ue, f as We, g as Ge, h as Ke, k as qe, m as Je, n as Ye, o as Xe, p as Ze, r as Qe, s as $e, u as et, v as tt } from "./keys-Cmc2Yl3D.js";
6
+ import { t as W } from "./useI18n-UMs0F71x.js";
7
+ import { a as nt, n as rt } from "./usePopoverPosition-cf8Y-ynK.js";
8
+ import { $ as it, At as at, D as ot, E as st, Et as ct, It as lt, Mt as ut, N as dt, Ot as ft, P as pt, Q as mt, Rt as ht, T as gt, Tt as _t, U as G, Y as vt, _ as yt, _t as bt, b as xt, d as St, dt as Ct, et as wt, ft as Tt, g as Et, it as Dt, j as Ot, lt as kt, m as At, n as jt, nt as Mt, pt as Nt, q as Pt, rt as Ft, s as It, st as Lt, w as Rt, wt as zt, z as Bt } from "./icons-CvYN6zrM.js";
9
+ import { t as Vt } from "./_plugin-vue_export-helper-B3ysoDQm.js";
10
+ import { t as Ht } from "./useCloudI18n-8wkJtuJD.js";
11
+ import { t as Ut } from "./useMergeTag-JmXOtpln.js";
12
+ import { t as Wt } from "./useAliveFlag-Dxwgo6P4.js";
13
+ import { n as Gt, t as Kt } from "./emailFrameWidth-BmFCN2dp.js";
14
+ import { t as qt } from "./readableTextColor-f8Kykfnh.js";
15
+ import { t as Jt } from "./blockTypeIcons-FXlMM3PL.js";
16
+ import { _ as Yt, f as K, g as Xt, h as q, i as Zt, l as Qt, m as J, n as $t, p as Y, t as X, u as en } from "./ColorPicker-W_UyiVGc.js";
17
+ import { n as tn, r as nn } from "./MergeTagSuggestion-Dn8dExNa.js";
18
+ import { i as Z, n as Q, r as rn, t as an } from "./NumberWithSuffix-BXrRdfq1.js";
19
+ import { t as on } from "./TplModal-iCmoKB2k.js";
20
20
  //#region src/composables/useSavedBlocksFeature.ts
21
21
  function sn(e) {
22
- let { provider: t, editor: n } = e, r = se({
22
+ let { provider: t, editor: n } = e, r = oe({
23
23
  provider: t,
24
24
  onError: e.onError
25
25
  }), i = m(!1), a = m(!1), o = m(!1), s = m(/* @__PURE__ */ new Set()), l = v(() => o.value), u = v(() => s.value.size);
@@ -54,7 +54,7 @@ function sn(e) {
54
54
  }
55
55
  function x(e, t) {
56
56
  for (let r = 0; r < e.content.length; r++) {
57
- let i = ie(e.content[r]), a = t === void 0 ? void 0 : t + r;
57
+ let i = re(e.content[r]), a = t === void 0 ? void 0 : t + r;
58
58
  n.addBlock(i, void 0, void 0, a);
59
59
  }
60
60
  a.value = !1;
@@ -63,7 +63,7 @@ function sn(e) {
63
63
  r.load().catch(() => {});
64
64
  }
65
65
  let C = v(() => r.savedBlocks.value.length), w = v(() => e.isAvailable?.() ?? !0);
66
- return c(ze, r), {
66
+ return c(Re, r), {
67
67
  headless: r,
68
68
  isPicking: l,
69
69
  pickedIds: s,
@@ -102,7 +102,7 @@ function sn(e) {
102
102
  //#region src/utils/toMjml.ts
103
103
  async function cn() {
104
104
  try {
105
- return await import("./src-BYKYmEOD.js");
105
+ return await import("./src-CUKUsRzX.js");
106
106
  } catch {
107
107
  return null;
108
108
  }
@@ -142,7 +142,7 @@ function dn(e) {
142
142
  return await e.renderMjml();
143
143
  } catch (e) {
144
144
  if (await cn() === null) {
145
- c || (c = !0, ve.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
145
+ c || (c = !0, _e.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
146
146
  return;
147
147
  }
148
148
  throw e;
@@ -224,7 +224,7 @@ var pn = ["aria-label"], mn = {
224
224
  }, Cn = { class: "tpl:relative" }, wn = {
225
225
  class: "tpl:inline-flex tpl:size-3 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[8px] tpl:font-bold",
226
226
  style: { "background-color": "color-mix(\n in srgb,\n var(--tpl-bg) 30%,\n transparent\n )" }
227
- }, Tn = /*#__PURE__*/ Ht(/* @__PURE__ */ M({
227
+ }, Tn = /*#__PURE__*/ Vt(/* @__PURE__ */ M({
228
228
  __name: "Canvas",
229
229
  props: {
230
230
  viewport: {},
@@ -241,22 +241,22 @@ var pn = ["aria-label"], mn = {
241
241
  ],
242
242
  setup(e, { emit: t }) {
243
243
  let n = {
244
- section: Ee,
245
- title: fe,
246
- paragraph: we,
247
- image: ge,
248
- button: ye,
249
- divider: De,
250
- spacer: _e,
251
- html: ue,
252
- social: de,
253
- menu: xe,
254
- table: Te,
255
- video: Se,
256
- custom: Oe
257
- }, i = e, a = t, { t: l } = U(), { t: p } = Ut(), h = Ne(Ke, "Canvas"), g = d(Ge, null), S = d(et, null), T = d(We, {}), ee = d(Je, null), M = d(Fe, null);
258
- c(Ue, v(() => i.previewMode && (ee?.value ?? !1) && !M?.isConfigured));
259
- let P = v(() => (T.plan?.hasFeature("ai_generation") ?? !1) && (T.ai?.isFeatureEnabled("chat") ?? !1)), F = v(() => (T.plan?.hasFeature("ai_generation") ?? !1) && (T.ai?.isFeatureEnabled("designToTemplate") ?? !1)), te = d($e, null), I = v({
244
+ section: Te,
245
+ title: de,
246
+ paragraph: Ce,
247
+ image: he,
248
+ button: ve,
249
+ divider: Ee,
250
+ spacer: ge,
251
+ html: le,
252
+ social: ue,
253
+ menu: be,
254
+ table: we,
255
+ video: xe,
256
+ custom: De
257
+ }, i = e, a = t, { t: l } = W(), { t: p } = Ht(), h = Me(Ge, "Canvas"), g = d(We, null), S = d($e, null), T = d(Ue, {}), ee = d(qe, null), M = d(Pe, null);
258
+ c(He, v(() => i.previewMode && (ee?.value ?? !1) && !M?.isConfigured));
259
+ let P = v(() => (T.plan?.hasFeature("ai_generation") ?? !1) && (T.ai?.isFeatureEnabled("chat") ?? !1)), F = v(() => (T.plan?.hasFeature("ai_generation") ?? !1) && (T.ai?.isFeatureEnabled("designToTemplate") ?? !1)), I = d(Qe, null), L = v({
260
260
  get: () => i.content.blocks,
261
261
  set: (e) => {
262
262
  h.setContent({
@@ -264,27 +264,27 @@ var pn = ["aria-label"], mn = {
264
264
  blocks: e
265
265
  });
266
266
  }
267
- }), L = v(() => Kt(i.content.settings, i.viewport)), R = v(() => L.value + 192), z = v(() => pe(i.content.settings)), B = v(() => I.value.length === 0 && !i.previewMode), V = m(0), ne = v(() => B.value && V.value > 0);
267
+ }), R = v(() => Gt(i.content.settings, i.viewport)), z = v(() => R.value + 192), B = v(() => fe(i.content.settings)), V = v(() => L.value.length === 0 && !i.previewMode), H = m(0), te = v(() => V.value && H.value > 0);
268
+ function ne() {
269
+ V.value && (H.value += 1);
270
+ }
268
271
  function re() {
269
- B.value && (V.value += 1);
272
+ V.value && (H.value = Math.max(0, H.value - 1));
270
273
  }
271
274
  function ie() {
272
- B.value && (V.value = Math.max(0, V.value - 1));
273
- }
274
- function ae() {
275
- V.value = 0;
275
+ H.value = 0;
276
276
  }
277
- function oe(e) {
277
+ function ae(e) {
278
278
  i.previewMode || T.savedBlocks?.isPicking.value || e.target === e.currentTarget && a("select-block", null);
279
279
  }
280
- function se(e) {
281
- return me(e, S, n);
280
+ function oe(e) {
281
+ return pe(e, S, n);
282
282
  }
283
- function H(e) {
283
+ function U(e) {
284
284
  return i.lockedBlocks?.get(e) ?? null;
285
285
  }
286
- function ce(e) {
287
- if (i.previewMode || H(e)) return;
286
+ function se(e) {
287
+ if (i.previewMode || U(e)) return;
288
288
  let t = T.savedBlocks;
289
289
  if (t?.isPicking.value) {
290
290
  t.togglePick(e);
@@ -292,11 +292,11 @@ var pn = ["aria-label"], mn = {
292
292
  }
293
293
  a("select-block", e);
294
294
  }
295
- function le(e) {
295
+ function ce(e) {
296
296
  return T.savedBlocks?.isPicked(e) ?? !1;
297
297
  }
298
- let he = v(() => T.savedBlocks?.isPicking.value === !0);
299
- function ve(e, t) {
298
+ let me = v(() => T.savedBlocks?.isPicking.value === !0);
299
+ function _e(e, t) {
300
300
  e.type === "custom" && h.updateBlock(e.id, {
301
301
  fieldValues: t.fieldValues,
302
302
  dataSourceFetched: t.dataSourceFetched
@@ -305,9 +305,9 @@ var pn = ["aria-label"], mn = {
305
305
  return (t, n) => (s(), y("div", {
306
306
  class: "tpl-canvas-stage tpl:relative tpl:flex tpl:justify-center tpl:rounded-lg",
307
307
  style: _({
308
- width: `${R.value}px`,
308
+ width: `${z.value}px`,
309
309
  boxShadow: e.darkMode ? "none" : "var(--tpl-shadow-xl)",
310
- transition: x(qt)
310
+ transition: x(Kt)
311
311
  })
312
312
  }, [E("div", {
313
313
  class: "tpl-canvas-bg tpl:absolute tpl:inset-0 tpl:rounded-lg tpl:pointer-events-none",
@@ -322,23 +322,23 @@ var pn = ["aria-label"], mn = {
322
322
  "aria-label": x(l).landmarks.canvas,
323
323
  class: "tpl-canvas-wrapper tpl:relative",
324
324
  style: _({
325
- width: `${L.value}px`,
326
- transition: x(qt)
325
+ width: `${R.value}px`,
326
+ transition: x(Kt)
327
327
  })
328
328
  }, [E("div", {
329
329
  class: O(["tpl-canvas tpl:relative tpl:rounded-lg", {
330
330
  "tpl-canvas--dark-mode": e.darkMode,
331
331
  "tpl-preview-mode": e.previewMode
332
332
  }]),
333
- style: _(z.value),
334
- onClick: oe
333
+ style: _(B.value),
334
+ onClick: ae
335
335
  }, [x(M)?.isInitialResolve.value ? (s(), y("div", mn, [E("span", hn, C(x(l).previewResolution.resolving), 1), (s(), y(A, null, u(3, (e) => E("div", {
336
336
  key: e,
337
337
  "aria-hidden": "true",
338
338
  class: "tpl-pulse tpl:h-16 tpl:rounded-md tpl:bg-[var(--tpl-bg-hover)]"
339
339
  })), 64))])) : x(M)?.hasFailed.value ? (s(), y("p", gn, C(x(l).previewResolution.failed), 1)) : b("", !0), r(N(x(k), {
340
- modelValue: I.value,
341
- "onUpdate:modelValue": n[2] ||= (e) => I.value = e,
340
+ modelValue: L.value,
341
+ "onUpdate:modelValue": n[2] ||= (e) => L.value = e,
342
342
  group: "blocks",
343
343
  animation: 150,
344
344
  "ghost-class": "tpl-ghost",
@@ -351,16 +351,16 @@ var pn = ["aria-label"], mn = {
351
351
  "force-fallback": !0,
352
352
  class: O([
353
353
  "tpl-canvas-blocks",
354
- B.value ? "tpl-canvas-empty tpl:m-6 tpl:flex tpl:min-h-[400px] tpl:flex-col tpl:items-center tpl:justify-center tpl:rounded-xl tpl:border-2 tpl:border-dashed tpl:px-10 tpl:py-12 tpl:text-center tpl:bg-[var(--tpl-bg-elevated)] tpl:font-[var(--tpl-font-family)] tpl:transition-colors tpl:duration-150" : "",
355
- B.value && ne.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
356
- B.value && !ne.value ? "tpl:border-[var(--tpl-primary)]" : ""
354
+ V.value ? "tpl-canvas-empty tpl:m-6 tpl:flex tpl:min-h-[400px] tpl:flex-col tpl:items-center tpl:justify-center tpl:rounded-xl tpl:border-2 tpl:border-dashed tpl:px-10 tpl:py-12 tpl:text-center tpl:bg-[var(--tpl-bg-elevated)] tpl:font-[var(--tpl-font-family)] tpl:transition-colors tpl:duration-150" : "",
355
+ V.value && te.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
356
+ V.value && !te.value ? "tpl:border-[var(--tpl-primary)]" : ""
357
357
  ]),
358
- onDragenter: re,
359
- onDragleave: ie,
360
- onDrop: ae
358
+ onDragenter: ne,
359
+ onDragleave: re,
360
+ onDrop: ie
361
361
  }, {
362
- default: f(() => [B.value ? (s(), y("div", _n, [
363
- E("div", vn, [N(x(_t), {
362
+ default: f(() => [V.value ? (s(), y("div", _n, [
363
+ E("div", vn, [N(x(gt), {
364
364
  size: 48,
365
365
  "stroke-width": 1
366
366
  })]),
@@ -371,7 +371,7 @@ var pn = ["aria-label"], mn = {
371
371
  E("button", {
372
372
  class: "tpl:inline-flex tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:whitespace-nowrap tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-0.5 tpl:text-sm tpl:font-semibold tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary-hover)]",
373
373
  onClick: n[0] ||= (e) => a("open-ai-chat")
374
- }, [N(x(ct), {
374
+ }, [N(x(st), {
375
375
  size: 14,
376
376
  "stroke-width": 2
377
377
  }), j(" " + C(x(p).aiMenu.aiAssistant), 1)]),
@@ -382,40 +382,40 @@ var pn = ["aria-label"], mn = {
382
382
  E("button", {
383
383
  class: "tpl:inline-flex tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:whitespace-nowrap tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-0.5 tpl:text-sm tpl:font-semibold tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary-hover)]",
384
384
  onClick: n[1] ||= (e) => a("open-design-reference")
385
- }, [N(x(Pt), {
385
+ }, [N(x(Nt), {
386
386
  size: 14,
387
387
  "stroke-width": 2
388
388
  }), j(" " + C(x(p).aiMenu.designToTemplate), 1)]),
389
389
  j(" " + C(x(l).canvas.aiHintDesignSuffix), 1)
390
390
  ])) : b("", !0)
391
- ])) : b("", !0), (s(!0), y(A, null, u(I.value, (t) => r((s(), y("div", {
391
+ ])) : b("", !0), (s(!0), y(A, null, u(L.value, (t) => r((s(), y("div", {
392
392
  key: t.id,
393
393
  class: "tpl-block-item"
394
- }, [E("div", Cn, [H(t.id) ? (s(), y("div", {
394
+ }, [E("div", Cn, [U(t.id) ? (s(), y("div", {
395
395
  key: 0,
396
396
  class: "tpl-collab-lock tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-[4] tpl:rounded-sm",
397
397
  style: _({
398
- outline: `2px solid ${H(t.id).color}`,
398
+ outline: `2px solid ${U(t.id).color}`,
399
399
  outlineOffset: "-1px"
400
400
  })
401
401
  }, [E("span", {
402
402
  class: "tpl:absolute tpl:-top-0.5 tpl:left-1/2 tpl:z-[5] tpl:flex tpl:-translate-x-1/2 tpl:-translate-y-full tpl:items-center tpl:gap-1 tpl:rounded-full tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:whitespace-nowrap",
403
403
  style: _({
404
- backgroundColor: H(t.id).color,
405
- color: x(Jt)(H(t.id).color)
404
+ backgroundColor: U(t.id).color,
405
+ color: x(qt)(U(t.id).color)
406
406
  })
407
- }, [E("span", wn, C(H(t.id).name.charAt(0)), 1), j(" " + C(H(t.id).name), 1)], 4)], 4)) : b("", !0), N(be, {
407
+ }, [E("span", wn, C(U(t.id).name.charAt(0)), 1), j(" " + C(U(t.id).name), 1)], 4)], 4)) : b("", !0), N(ye, {
408
408
  block: t,
409
- "is-selected": !e.previewMode && !he.value && e.selectedBlockId === t.id && !H(t.id),
410
- picked: le(t.id),
409
+ "is-selected": !e.previewMode && !me.value && e.selectedBlockId === t.id && !U(t.id),
410
+ picked: ce(t.id),
411
411
  viewport: e.viewport,
412
412
  "preview-mode": e.previewMode,
413
- onSelect: (e) => ce(t.id)
413
+ onSelect: (e) => se(t.id)
414
414
  }, {
415
- default: f(() => [(s(), w(o(se(t)), {
415
+ default: f(() => [(s(), w(o(oe(t)), {
416
416
  block: t,
417
417
  viewport: e.viewport,
418
- onFetchData: (e) => ve(t, e),
418
+ onFetchData: (e) => _e(t, e),
419
419
  onUpdate: (e) => x(h).updateBlock(t.id, e)
420
420
  }, null, 40, [
421
421
  "block",
@@ -431,7 +431,7 @@ var pn = ["aria-label"], mn = {
431
431
  "viewport",
432
432
  "preview-mode",
433
433
  "onSelect"
434
- ])])])), [[D, x(te) === !1 || !x(g)?.isHidden(t.id)]])), 128))]),
434
+ ])])])), [[D, x(I) === !1 || !x(g)?.isHidden(t.id)]])), 128))]),
435
435
  _: 1
436
436
  }, 8, [
437
437
  "modelValue",
@@ -442,7 +442,7 @@ var pn = ["aria-label"], mn = {
442
442
  }), [["__scopeId", "data-v-0af1c100"]]), En = M({
443
443
  name: "CustomBlockStylesheets",
444
444
  setup() {
445
- let t = d(Ye, null);
445
+ let t = d(Je, null);
446
446
  return () => t ? t.value.map((t, n) => e("style", {
447
447
  key: n,
448
448
  "data-tpl-custom-block-stylesheet": "",
@@ -488,7 +488,7 @@ var On = ["aria-label"], kn = {
488
488
  }, Fn = /* @__PURE__ */ M({
489
489
  __name: "Sidebar",
490
490
  setup(e) {
491
- let { t, format: n } = U(), r = d(Qe, []), i = d(Re, void 0), a = d(Ze, void 0), c = d(Ke, null), l = d(We, {}), p = v(() => l.savedBlocks?.isAvailable.value === !0), h = m(!1), g = m(!1);
491
+ let { t, format: n } = W(), r = d(Ze, []), i = d(Le, void 0), a = d(Xe, void 0), c = d(Ge, null), l = d(Ue, {}), p = v(() => l.savedBlocks?.isAvailable.value === !0), h = m(!1), g = m(!1);
492
492
  function S() {
493
493
  g.value || (h.value = !1);
494
494
  }
@@ -514,35 +514,35 @@ var On = ["aria-label"], kn = {
514
514
  ], O = v(() => {
515
515
  let e = D.map((e) => ({
516
516
  type: e,
517
- label: ce(e, t)
517
+ label: se(e, t)
518
518
  }));
519
519
  return l.plan && e.splice(-1, 0, {
520
520
  type: "countdown",
521
- label: ce("countdown", t)
521
+ label: se("countdown", t)
522
522
  }), e;
523
523
  }), j = v(() => r.map((e) => ({
524
524
  type: `custom:${e.type}`,
525
525
  label: e.name,
526
526
  isCustom: !0,
527
527
  icon: e.icon
528
- }))), M = v(() => [...O.value, ...j.value]), F = v(() => Dn(M.value, i)), I = v(() => F.value.items), L = /* @__PURE__ */ new Set();
528
+ }))), M = v(() => [...O.value, ...j.value]), F = v(() => Dn(M.value, i)), I = v(() => F.value.items), z = /* @__PURE__ */ new Set();
529
529
  P(() => F.value.unknown, (e) => {
530
- for (let t of e) L.has(t) || (L.add(t), ve.warn(`config.paletteBlocks: "${t}" is not a built-in or registered custom block (use the "custom:" prefix for custom blocks) — skipping it in the palette.`));
530
+ for (let t of e) z.has(t) || (z.add(t), _e.warn(`config.paletteBlocks: "${t}" is not a built-in or registered custom block (use the "custom:" prefix for custom blocks) — skipping it in the palette.`));
531
531
  }, { immediate: !0 });
532
- function z(e) {
532
+ function B(e) {
533
533
  if (e.isCustom) {
534
534
  let t = e.type.replace("custom:", ""), n = r.find((e) => e.type === t);
535
- if (n) return te(n);
535
+ if (n) return R(n);
536
536
  }
537
- return R(e.type, a);
537
+ return L(e.type, a);
538
538
  }
539
- function B(e) {
539
+ function V(e) {
540
540
  if (!c) return;
541
- let t = z(e);
541
+ let t = B(e);
542
542
  c.addBlock(t), c.selectBlock(t.id);
543
543
  }
544
- function V(e, t) {
545
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), B(t));
544
+ function H(e, t) {
545
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), V(t));
546
546
  }
547
547
  return (e, r) => (s(), y("aside", {
548
548
  "aria-label": x(t).sidebarNav.palette,
@@ -564,7 +564,7 @@ var On = ["aria-label"], kn = {
564
564
  class: "tpl:flex tpl:h-10 tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-3 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-3 tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] hover:tpl:bg-[var(--tpl-primary-light)] hover:tpl:text-[var(--tpl-primary)]",
565
565
  style: _({ justifyContent: h.value ? "flex-start" : "center" }),
566
566
  onClick: r[0] ||= (e) => x(l).savedBlocks?.openBrowser()
567
- }, [N(x(yt), {
567
+ }, [N(x(vt), {
568
568
  size: 20,
569
569
  "stroke-width": 1.5,
570
570
  class: "tpl:shrink-0"
@@ -575,7 +575,7 @@ var On = ["aria-label"], kn = {
575
575
  pull: "clone",
576
576
  put: !1
577
577
  },
578
- clone: z,
578
+ clone: B,
579
579
  sort: !1,
580
580
  animation: 150,
581
581
  "force-fallback": !0,
@@ -590,13 +590,13 @@ var On = ["aria-label"], kn = {
590
590
  "aria-label": x(n)(x(t).sidebarNav.insertBlock, { block: e.label }),
591
591
  class: "tpl:flex tpl:h-10 tpl:w-full tpl:shrink-0 tpl:cursor-grab tpl:items-center tpl:gap-3 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-3 tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:bg-[var(--tpl-primary-light)] hover:tpl:text-[var(--tpl-primary)] active:tpl:cursor-grabbing",
592
592
  style: _({ justifyContent: h.value ? "flex-start" : "center" }),
593
- onClick: (t) => B(e),
594
- onKeydown: (t) => V(t, e)
595
- }, [E("div", Nn, [x(Yt)[e.type] ? (s(), w(o(x(Yt)[e.type]), {
593
+ onClick: (t) => V(e),
594
+ onKeydown: (t) => H(t, e)
595
+ }, [E("div", Nn, [x(Jt)[e.type] ? (s(), w(o(x(Jt)[e.type]), {
596
596
  key: 0,
597
597
  size: 20,
598
598
  "stroke-width": 1.5
599
- })) : e.isCustom ? (s(), w(le, {
599
+ })) : e.isCustom ? (s(), w(ce, {
600
600
  key: 1,
601
601
  icon: e.icon,
602
602
  size: 20
@@ -664,7 +664,7 @@ var Bn = /* @__PURE__ */ new Set([
664
664
  "End"
665
665
  ]);
666
666
  function Vn(e) {
667
- let { elementRef: t, modelValue: r, emit: o, mergeTags: s, syntax: c, enabled: u, onInsert: f } = e, p = ne(c), m = z(c), h = u && p !== null && s.length > 0, g = d(Pe, null), _ = (a(g) ? g.value : g)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", v = it(), y = nn(_, v), b = !1;
667
+ let { elementRef: t, modelValue: r, emit: o, mergeTags: s, syntax: c, enabled: u, onInsert: f } = e, p = te(c), m = B(c), h = u && p !== null && s.length > 0, g = d(Ne, null), _ = (a(g) ? g.value : g)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", v = rt(), y = tn(_, v), b = !1;
668
668
  n() && i(() => {
669
669
  b = !0, y.close();
670
670
  });
@@ -692,7 +692,7 @@ function Vn(e) {
692
692
  y.close();
693
693
  return;
694
694
  }
695
- let r = rn(s, n.query), i = () => zn(e, n.triggerStart), a = (t) => S(e, n, t);
695
+ let r = nn(s, n.query), i = () => zn(e, n.triggerStart), a = (t) => S(e, n, t);
696
696
  y.isOpen() ? y.update({
697
697
  items: r,
698
698
  getRect: i,
@@ -718,7 +718,7 @@ function Vn(e) {
718
718
  //#endregion
719
719
  //#region src/composables/useMergeTagField.ts
720
720
  function Hn(e) {
721
- let { modelValue: t, emit: r, elementRef: a } = e, { mergeTags: o, canRequestMergeTag: s, isRequesting: c, isMergeTagValue: u, getMergeTagLabel: d, requestMergeTag: f, syntax: p, autocomplete: h } = Wt(), { canInsertLogicTag: g, isRequesting: _, requestLogicTag: y } = oe(), b = m(!1), x = !1, S = !1;
721
+ let { modelValue: t, emit: r, elementRef: a } = e, { mergeTags: o, canRequestMergeTag: s, isRequesting: c, isMergeTagValue: u, getMergeTagLabel: d, requestMergeTag: f, syntax: p, autocomplete: h } = Ut(), { canInsertLogicTag: g, isRequesting: _, requestLogicTag: y } = ae(), b = m(!1), x = !1, S = !1;
722
722
  n() && i(() => {
723
723
  S = !0;
724
724
  });
@@ -746,10 +746,10 @@ function Hn(e) {
746
746
  type: "mergeTag",
747
747
  value: t,
748
748
  label: d(t)
749
- }) : B(t, p) ? n.push({
749
+ }) : V(t, p) ? n.push({
750
750
  type: "logicMergeTag",
751
751
  value: t,
752
- keyword: L(t, p)
752
+ keyword: z(t, p)
753
753
  }) : n.push({
754
754
  type: "text",
755
755
  value: t
@@ -856,7 +856,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
856
856
  },
857
857
  emits: ["edit", "clear"],
858
858
  setup(e, { emit: t }) {
859
- let n = t, { t: r } = U();
859
+ let n = t, { t: r } = W();
860
860
  function i() {
861
861
  n("edit");
862
862
  }
@@ -890,7 +890,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
890
890
  "aria-label": x(r).mergeTag.remove,
891
891
  title: x(r).mergeTag.remove,
892
892
  onClick: a[0] ||= S((e) => n("clear"), ["stop"])
893
- }, [N(x(Mt), {
893
+ }, [N(x(jt), {
894
894
  size: 12,
895
895
  "stroke-width": 2.5
896
896
  })], 8, qn)], 42, Un));
@@ -904,7 +904,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
904
904
  props: { disabled: { type: Boolean } },
905
905
  emits: ["insert"],
906
906
  setup(e) {
907
- let { t } = U();
907
+ let { t } = W();
908
908
  return (n, r) => (s(), y("button", {
909
909
  type: "button",
910
910
  class: O([Xn, "tpl:mt-1.5"]),
@@ -913,7 +913,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
913
913
  disabled: e.disabled,
914
914
  onMousedown: r[0] ||= S(() => {}, ["prevent"]),
915
915
  onClick: r[1] ||= (e) => n.$emit("insert")
916
- }, [N(x(mt), {
916
+ }, [N(x(pt), {
917
917
  size: 12,
918
918
  "stroke-width": 2
919
919
  }), j(" " + C(x(t).mergeTag.insertShort), 1)], 42, Yn));
@@ -927,7 +927,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
927
927
  props: { disabled: { type: Boolean } },
928
928
  emits: ["insert"],
929
929
  setup(e) {
930
- let { t } = U();
930
+ let { t } = W();
931
931
  return (n, r) => (s(), y("button", {
932
932
  type: "button",
933
933
  class: O([$n, "tpl:mt-1.5"]),
@@ -937,7 +937,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
937
937
  "data-testid": "field-insert-logic-button",
938
938
  onMousedown: r[0] ||= S(() => {}, ["prevent"]),
939
939
  onClick: r[1] ||= (e) => n.$emit("insert")
940
- }, [N(x(gt), {
940
+ }, [N(x(ht), {
941
941
  size: 12,
942
942
  "stroke-width": 2
943
943
  }), j(" " + C(x(t).logicTag.insertShort), 1)], 42, Qn));
@@ -1009,7 +1009,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1009
1009
  props: { settings: {} },
1010
1010
  emits: ["update"],
1011
1011
  setup(e, { emit: t }) {
1012
- let n = e, r = t, { t: i } = U(), a = Ne(nt, "TemplateSettings"), o = v(() => a.fonts.value), c = v(() => o.value.some((e) => e.value === n.settings.fontFamily) ? n.settings.fontFamily : a.defaultFont.value), l = [
1012
+ let n = e, r = t, { t: i } = W(), a = Me(tt, "TemplateSettings"), o = v(() => a.fonts.value), c = v(() => o.value.some((e) => e.value === n.settings.fontFamily) ? n.settings.fontFamily : a.defaultFont.value), l = [
1013
1013
  {
1014
1014
  value: 480,
1015
1015
  label: "480px"
@@ -1028,13 +1028,13 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1028
1028
  }
1029
1029
  ];
1030
1030
  return (t, n) => (s(), y("aside", lr, [E("div", ur, [
1031
- E("div", { class: O(x(tn)) }, [
1032
- E("div", dr, [N(x(zt), {
1031
+ E("div", { class: O(x(en)) }, [
1032
+ E("div", dr, [N(x(Rt), {
1033
1033
  class: "tpl:text-[var(--tpl-text-muted)]",
1034
1034
  size: 14,
1035
1035
  "stroke-width": 2
1036
1036
  }), E("span", null, C(x(i).templateSettings.layout), 1)]),
1037
- E("div", fr, [E("label", { class: O(x(K)) }, C(x(i).templateSettings.widthPreset), 3), E("div", pr, [(s(), y(A, null, u(l, (t) => E("button", {
1037
+ E("div", fr, [E("label", { class: O(x(q)) }, C(x(i).templateSettings.widthPreset), 3), E("div", pr, [(s(), y(A, null, u(l, (t) => E("button", {
1038
1038
  key: t.value,
1039
1039
  class: "tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]",
1040
1040
  style: _({
@@ -1044,44 +1044,44 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1044
1044
  }),
1045
1045
  onClick: (e) => r("update", { width: t.value })
1046
1046
  }, C(t.label), 13, mr)), 64))])]),
1047
- E("div", null, [E("label", { class: O(x(K)) }, C(x(i).templateSettings.customWidth), 3), E("div", hr, [E("input", {
1047
+ E("div", null, [E("label", { class: O(x(q)) }, C(x(i).templateSettings.customWidth), 3), E("div", hr, [E("input", {
1048
1048
  type: "number",
1049
- class: O(x(J)),
1049
+ class: O(x(Y)),
1050
1050
  value: e.settings.width,
1051
1051
  min: "300",
1052
1052
  max: "900",
1053
1053
  onInput: n[0] ||= (e) => r("update", { width: Number(e.target.value) })
1054
- }, null, 42, gr), E("span", { class: O(x(q)) }, "px", 2)])])
1054
+ }, null, 42, gr), E("span", { class: O(x(J)) }, "px", 2)])])
1055
1055
  ], 2),
1056
- E("div", { class: O(x(tn)) }, [
1057
- E("div", _r, [N(x(ot), {
1056
+ E("div", { class: O(x(en)) }, [
1057
+ E("div", _r, [N(x(at), {
1058
1058
  class: "tpl:text-[var(--tpl-text-muted)]",
1059
1059
  size: 14,
1060
1060
  "stroke-width": 2
1061
1061
  }), E("span", null, C(x(i).templateSettings.appearance), 1)]),
1062
- E("div", vr, [E("label", { class: O(x(K)) }, C(x(i).templateSettings.backgroundColor), 3), N(Y, {
1062
+ E("div", vr, [E("label", { class: O(x(q)) }, C(x(i).templateSettings.backgroundColor), 3), N(X, {
1063
1063
  "model-value": e.settings.backgroundColor,
1064
- placeholder: x(en),
1064
+ placeholder: x($t),
1065
1065
  "onUpdate:modelValue": n[1] ||= (e) => r("update", { backgroundColor: e })
1066
1066
  }, null, 8, ["model-value", "placeholder"])]),
1067
- E("div", yr, [E("label", { class: O(x(K)) }, C(x(i).templateSettings.textColor), 3), N(Y, {
1067
+ E("div", yr, [E("label", { class: O(x(q)) }, C(x(i).templateSettings.textColor), 3), N(X, {
1068
1068
  "model-value": e.settings.textColor ?? "",
1069
1069
  "seed-color": "#1a1a1a",
1070
1070
  "onUpdate:modelValue": n[2] ||= (e) => r("update", { textColor: e })
1071
1071
  }, null, 8, ["model-value"])]),
1072
- E("div", br, [E("label", { class: O(x(K)) }, C(x(i).templateSettings.linkColor), 3), N(Y, {
1072
+ E("div", br, [E("label", { class: O(x(q)) }, C(x(i).templateSettings.linkColor), 3), N(X, {
1073
1073
  "model-value": e.settings.linkColor ?? "",
1074
1074
  "seed-color": "#0066cc",
1075
1075
  "onUpdate:modelValue": n[3] ||= (e) => r("update", { linkColor: e || void 0 })
1076
1076
  }, null, 8, ["model-value"])]),
1077
- E("div", xr, [N(X, {
1077
+ E("div", xr, [N(Z, {
1078
1078
  class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
1079
1079
  "model-value": e.settings.linkUnderline,
1080
1080
  label: x(i).templateSettings.linkUnderline,
1081
1081
  "onUpdate:modelValue": n[4] ||= (e) => r("update", { linkUnderline: e })
1082
1082
  }, null, 8, ["model-value", "label"])]),
1083
- E("div", null, [E("label", { class: O(x(K)) }, C(x(i).templateSettings.fontFamily), 3), E("select", {
1084
- class: O(x(G)),
1083
+ E("div", null, [E("label", { class: O(x(q)) }, C(x(i).templateSettings.fontFamily), 3), E("select", {
1084
+ class: O(x(K)),
1085
1085
  value: c.value,
1086
1086
  onChange: n[5] ||= (e) => r("update", { fontFamily: e.target.value })
1087
1087
  }, [(s(!0), y(A, null, u(o.value, (e) => (s(), y("option", {
@@ -1089,15 +1089,15 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1089
1089
  value: e.value
1090
1090
  }, C(e.label), 9, Cr))), 128))], 42, Sr)])
1091
1091
  ], 2),
1092
- E("div", { class: O(x(tn)) }, [E("div", wr, [N(x(xt), {
1092
+ E("div", { class: O(x(en)) }, [E("div", wr, [N(x(bt), {
1093
1093
  class: "tpl:text-[var(--tpl-text-muted)]",
1094
1094
  size: 14,
1095
1095
  "stroke-width": 2
1096
1096
  }), E("span", null, C(x(i).templateSettings.language), 1)]), E("div", null, [
1097
- E("label", { class: O(x(K)) }, C(x(i).templateSettings.contentLocale), 3),
1097
+ E("label", { class: O(x(q)) }, C(x(i).templateSettings.contentLocale), 3),
1098
1098
  E("input", {
1099
1099
  type: "text",
1100
- class: O(x(G)),
1100
+ class: O(x(K)),
1101
1101
  value: e.settings.locale ?? "",
1102
1102
  placeholder: "en",
1103
1103
  spellcheck: "false",
@@ -1107,7 +1107,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1107
1107
  }, null, 42, Tr),
1108
1108
  E("p", Er, C(x(i).templateSettings.contentLocaleHint), 1)
1109
1109
  ])], 2),
1110
- E("div", { class: O(x(tn)) }, [E("div", Dr, [N(x(Bt), {
1110
+ E("div", { class: O(x(en)) }, [E("div", Dr, [N(x(zt), {
1111
1111
  class: "tpl:text-[var(--tpl-text-muted)]",
1112
1112
  size: 14,
1113
1113
  "stroke-width": 2
@@ -1117,7 +1117,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1117
1117
  rows: 2,
1118
1118
  "onUpdate:modelValue": n[7] ||= (e) => r("update", { preheaderText: e.replace(/[\r\n]/g, " ") || void 0 })
1119
1119
  }, null, 8, ["model-value", "placeholder"]), E("div", Or, [E("span", kr, C(x(i).templateSettings.preheaderTextHint), 1), E("span", Ar, C((e.settings.preheaderText ?? "").length) + "/" + C(Lr), 1)])])], 2),
1120
- E("div", jr, [E("div", Mr, [N(x(wt), {
1120
+ E("div", jr, [E("div", Mr, [N(x(Ct), {
1121
1121
  size: 14,
1122
1122
  "stroke-width": 2
1123
1123
  }), E("span", null, C(x(i).templateSettings.tips), 1)]), E("ul", Nr, [
@@ -1137,7 +1137,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1137
1137
  ], Ur = {
1138
1138
  key: 0,
1139
1139
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
1140
- }, Wr = "tpl:flex tpl:w-full tpl:min-h-10 tpl:cursor-pointer tpl:items-center tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3.5 tpl:py-1.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", $ = /*#__PURE__*/ Ht(/* @__PURE__ */ M({
1140
+ }, Wr = "tpl:flex tpl:w-full tpl:min-h-10 tpl:cursor-pointer tpl:items-center tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3.5 tpl:py-1.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", $ = /*#__PURE__*/ Vt(/* @__PURE__ */ M({
1141
1141
  __name: "MergeTagInput",
1142
1142
  props: {
1143
1143
  modelValue: {},
@@ -1178,7 +1178,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1178
1178
  ref_key: "inputRef",
1179
1179
  ref: i,
1180
1180
  type: e.type,
1181
- class: O([x(G), { "tpl-pulse-fill": e.pulse }]),
1181
+ class: O([x(K), { "tpl-pulse-fill": e.pulse }]),
1182
1182
  value: e.modelValue,
1183
1183
  placeholder: e.placeholder,
1184
1184
  onInput: n[0] ||= (...e) => x(h) && x(h)(...e),
@@ -1206,7 +1206,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1206
1206
  },
1207
1207
  emits: ["update"],
1208
1208
  setup(e, { emit: t }) {
1209
- let n = e, r = t, { t: i } = U(), a = v(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" ? "custom" : "auto");
1209
+ let n = e, r = t, { t: i } = W(), a = v(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" ? "custom" : "auto");
1210
1210
  function o(e, t) {
1211
1211
  r("update", { [e]: t });
1212
1212
  }
@@ -1226,28 +1226,28 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1226
1226
  !Number.isFinite(t) || t <= 0 || o("width", t);
1227
1227
  }
1228
1228
  return (t, n) => (s(), y(A, null, [
1229
- E("div", Gr, [E("label", { class: O(x(K)) }, C(x(i).button.fontFamily), 3), E("select", {
1230
- class: O(x(G)),
1229
+ E("div", Gr, [E("label", { class: O(x(q)) }, C(x(i).button.fontFamily), 3), E("select", {
1230
+ class: O(x(K)),
1231
1231
  value: e.block.fontFamily || "",
1232
1232
  onChange: n[0] ||= (e) => o("fontFamily", e.target.value || void 0)
1233
1233
  }, [E("option", qr, C(x(i).button.inheritFont), 1), (s(!0), y(A, null, u(e.fontFamilies, (e) => (s(), y("option", {
1234
1234
  key: e.value,
1235
1235
  value: e.value
1236
1236
  }, C(e.label), 9, Jr))), 128))], 42, Kr)]),
1237
- E("div", Yr, [E("label", { class: O(x(K)) }, C(x(i).button.text), 3), N($, {
1237
+ E("div", Yr, [E("label", { class: O(x(q)) }, C(x(i).button.text), 3), N($, {
1238
1238
  "model-value": e.block.text,
1239
1239
  type: "text",
1240
1240
  "onUpdate:modelValue": n[1] ||= (e) => o("text", e)
1241
1241
  }, null, 8, ["model-value"])]),
1242
1242
  E("div", Xr, [
1243
- E("label", { class: O(x(K)) }, C(x(i).button.url), 3),
1243
+ E("label", { class: O(x(q)) }, C(x(i).button.url), 3),
1244
1244
  N($, {
1245
1245
  "model-value": e.block.url,
1246
1246
  type: "url",
1247
1247
  placeholder: x(i).button.urlPlaceholder,
1248
1248
  "onUpdate:modelValue": n[2] ||= (e) => o("url", e)
1249
1249
  }, null, 8, ["model-value", "placeholder"]),
1250
- e.block.url ? (s(), w(X, {
1250
+ e.block.url ? (s(), w(Z, {
1251
1251
  key: 0,
1252
1252
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
1253
1253
  "model-value": e.block.openInNewTab ?? !1,
@@ -1255,33 +1255,33 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1255
1255
  "onUpdate:modelValue": n[3] ||= (e) => o("openInNewTab", e)
1256
1256
  }, null, 8, ["model-value", "label"])) : b("", !0)
1257
1257
  ]),
1258
- E("div", Zr, [E("label", { class: O(x(K)) }, C(x(i).button.background), 3), N(Y, {
1258
+ E("div", Zr, [E("label", { class: O(x(q)) }, C(x(i).button.background), 3), N(X, {
1259
1259
  "model-value": e.block.backgroundColor,
1260
1260
  "onUpdate:modelValue": n[4] ||= (e) => o("backgroundColor", e)
1261
1261
  }, null, 8, ["model-value"])]),
1262
- E("div", Qr, [E("label", { class: O(x(K)) }, C(x(i).button.textColor), 3), N(Y, {
1262
+ E("div", Qr, [E("label", { class: O(x(q)) }, C(x(i).button.textColor), 3), N(X, {
1263
1263
  "model-value": e.block.textColor,
1264
1264
  "onUpdate:modelValue": n[5] ||= (e) => o("textColor", e)
1265
1265
  }, null, 8, ["model-value"])]),
1266
- E("div", $r, [E("div", ei, [E("label", { class: O(x(K)) }, C(x(i).button.borderRadius), 3), E("div", ti, [E("input", {
1266
+ E("div", $r, [E("div", ei, [E("label", { class: O(x(q)) }, C(x(i).button.borderRadius), 3), E("div", ti, [E("input", {
1267
1267
  type: "number",
1268
- class: O(x(J)),
1268
+ class: O(x(Y)),
1269
1269
  value: e.block.borderRadius,
1270
1270
  min: "0",
1271
1271
  max: "50",
1272
1272
  onInput: n[6] ||= (e) => o("borderRadius", Number(e.target.value))
1273
- }, null, 42, ni), E("span", { class: O(x(q)) }, "px", 2)])]), E("div", ri, [E("label", { class: O(x(K)) }, C(x(i).button.fontSize), 3), E("div", ii, [E("input", {
1273
+ }, null, 42, ni), E("span", { class: O(x(J)) }, "px", 2)])]), E("div", ri, [E("label", { class: O(x(q)) }, C(x(i).button.fontSize), 3), E("div", ii, [E("input", {
1274
1274
  type: "number",
1275
- class: O(x(J)),
1275
+ class: O(x(Y)),
1276
1276
  value: e.block.fontSize,
1277
1277
  min: "10",
1278
1278
  max: "36",
1279
1279
  onInput: n[7] ||= (e) => o("fontSize", Number(e.target.value))
1280
- }, null, 42, ai), E("span", { class: O(x(q)) }, "px", 2)])])]),
1280
+ }, null, 42, ai), E("span", { class: O(x(J)) }, "px", 2)])])]),
1281
1281
  E("div", oi, [
1282
- E("label", { class: O(x(K)) }, C(x(i).button.width), 3),
1282
+ E("label", { class: O(x(q)) }, C(x(i).button.width), 3),
1283
1283
  E("select", {
1284
- class: O(x(G)),
1284
+ class: O(x(K)),
1285
1285
  value: a.value,
1286
1286
  onChange: n[8] ||= (e) => c(e.target.value)
1287
1287
  }, [
@@ -1291,13 +1291,13 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1291
1291
  ], 42, si),
1292
1292
  a.value === "custom" ? (s(), y("div", di, [E("input", {
1293
1293
  type: "number",
1294
- class: O(x(J)),
1294
+ class: O(x(Y)),
1295
1295
  value: typeof e.block.width == "number" ? e.block.width : mi,
1296
1296
  min: "20",
1297
1297
  onInput: n[9] ||= (e) => l(e.target.value)
1298
- }, null, 42, fi), E("span", { class: O(x(q)) }, "px", 2)])) : b("", !0)
1298
+ }, null, 42, fi), E("span", { class: O(x(J)) }, "px", 2)])) : b("", !0)
1299
1299
  ]),
1300
- E("div", pi, [E("label", { class: O(x(K)) }, C(x(i).title.align), 3), N(Q, {
1300
+ E("div", pi, [E("label", { class: O(x(q)) }, C(x(i).title.align), 3), N(rn, {
1301
1301
  options: [
1302
1302
  {
1303
1303
  value: "left",
@@ -1317,7 +1317,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1317
1317
  }, null, 8, ["options", "model-value"])])
1318
1318
  ], 64));
1319
1319
  }
1320
- }), gi = { class: "spacing-control" }, _i = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, vi = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, yi = { class: "tpl:flex tpl:items-center" }, bi = ["aria-label"], xi = ["value", "aria-label"], Si = ["aria-label"], Ci = { class: "tpl:flex tpl:items-center tpl:gap-2" }, wi = { class: "tpl:flex tpl:items-center" }, Ti = ["aria-label"], Ei = ["value", "aria-label"], Di = ["aria-label"], Oi = ["aria-label", "title"], ki = { class: "tpl:flex tpl:items-center" }, Ai = ["aria-label"], ji = ["value", "aria-label"], Mi = ["aria-label"], Ni = { class: "tpl:flex tpl:items-center" }, Pi = ["aria-label"], Fi = ["value", "aria-label"], Ii = ["aria-label"], Li = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:bg-[var(--tpl-bg-hover)] hover:tpl:text-[var(--tpl-text)] active:tpl:bg-[var(--tpl-bg-active)]", Ri = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)]", zi = /*#__PURE__*/ Ht(/* @__PURE__ */ M({
1320
+ }), gi = { class: "spacing-control" }, _i = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, vi = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, yi = { class: "tpl:flex tpl:items-center" }, bi = ["aria-label"], xi = ["value", "aria-label"], Si = ["aria-label"], Ci = { class: "tpl:flex tpl:items-center tpl:gap-2" }, wi = { class: "tpl:flex tpl:items-center" }, Ti = ["aria-label"], Ei = ["value", "aria-label"], Di = ["aria-label"], Oi = ["aria-label", "title"], ki = { class: "tpl:flex tpl:items-center" }, Ai = ["aria-label"], ji = ["value", "aria-label"], Mi = ["aria-label"], Ni = { class: "tpl:flex tpl:items-center" }, Pi = ["aria-label"], Fi = ["value", "aria-label"], Ii = ["aria-label"], Li = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:bg-[var(--tpl-bg-hover)] hover:tpl:text-[var(--tpl-text)] active:tpl:bg-[var(--tpl-bg-active)]", Ri = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)]", zi = /*#__PURE__*/ Vt(/* @__PURE__ */ M({
1321
1321
  __name: "SpacingControl",
1322
1322
  props: {
1323
1323
  modelValue: {},
@@ -1325,7 +1325,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1325
1325
  },
1326
1326
  emits: ["update:modelValue"],
1327
1327
  setup(e, { emit: t }) {
1328
- let n = e, r = t, { t: i } = U(), a = v(() => n.modelValue.top === n.modelValue.right && n.modelValue.right === n.modelValue.bottom && n.modelValue.bottom === n.modelValue.left), o = m(a.value);
1328
+ let n = e, r = t, { t: i } = W(), a = v(() => n.modelValue.top === n.modelValue.right && n.modelValue.right === n.modelValue.bottom && n.modelValue.bottom === n.modelValue.left), o = m(a.value);
1329
1329
  P(a, (e) => {
1330
1330
  !e && o.value && (o.value = !1);
1331
1331
  });
@@ -1370,7 +1370,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1370
1370
  "aria-label": x(i).spacingControl.decreaseTop,
1371
1371
  class: O([Li, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1372
1372
  onClick: n[0] ||= (e) => c("top", -1)
1373
- }, [N(x(Tt), {
1373
+ }, [N(x(wt), {
1374
1374
  size: 12,
1375
1375
  "stroke-width": 2
1376
1376
  })], 10, bi),
@@ -1386,7 +1386,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1386
1386
  "aria-label": x(i).spacingControl.increaseTop,
1387
1387
  class: O([Li, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1388
1388
  onClick: n[2] ||= (e) => c("top", 1)
1389
- }, [N(x(W), {
1389
+ }, [N(x(G), {
1390
1390
  size: 12,
1391
1391
  "stroke-width": 2
1392
1392
  })], 10, Si)
@@ -1397,7 +1397,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1397
1397
  "aria-label": x(i).spacingControl.decreaseLeft,
1398
1398
  class: O([Li, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1399
1399
  onClick: n[3] ||= (e) => c("left", -1)
1400
- }, [N(x(Tt), {
1400
+ }, [N(x(wt), {
1401
1401
  size: 12,
1402
1402
  "stroke-width": 2
1403
1403
  })], 10, Ti),
@@ -1413,7 +1413,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1413
1413
  "aria-label": x(i).spacingControl.increaseLeft,
1414
1414
  class: O([Li, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1415
1415
  onClick: n[5] ||= (e) => c("left", 1)
1416
- }, [N(x(W), {
1416
+ }, [N(x(G), {
1417
1417
  size: 12,
1418
1418
  "stroke-width": 2
1419
1419
  })], 10, Di)
@@ -1423,11 +1423,11 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1423
1423
  "aria-label": o.value ? x(i).spacingControl.unlock : x(i).spacingControl.lockAll,
1424
1424
  title: o.value ? x(i).spacingControl.unlock : x(i).spacingControl.lockAll,
1425
1425
  onClick: u
1426
- }, [o.value ? (s(), w(x(Nt), {
1426
+ }, [o.value ? (s(), w(x(Mt), {
1427
1427
  key: 0,
1428
1428
  size: 14,
1429
1429
  "stroke-width": 2
1430
- })) : (s(), w(x(It), {
1430
+ })) : (s(), w(x(Ft), {
1431
1431
  key: 1,
1432
1432
  size: 14,
1433
1433
  "stroke-width": 2
@@ -1437,7 +1437,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1437
1437
  "aria-label": x(i).spacingControl.decreaseRight,
1438
1438
  class: O([Li, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1439
1439
  onClick: n[6] ||= (e) => c("right", -1)
1440
- }, [N(x(Tt), {
1440
+ }, [N(x(wt), {
1441
1441
  size: 12,
1442
1442
  "stroke-width": 2
1443
1443
  })], 10, Ai),
@@ -1453,7 +1453,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1453
1453
  "aria-label": x(i).spacingControl.increaseRight,
1454
1454
  class: O([Li, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1455
1455
  onClick: n[8] ||= (e) => c("right", 1)
1456
- }, [N(x(W), {
1456
+ }, [N(x(G), {
1457
1457
  size: 12,
1458
1458
  "stroke-width": 2
1459
1459
  })], 10, Mi)
@@ -1464,7 +1464,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1464
1464
  "aria-label": x(i).spacingControl.decreaseBottom,
1465
1465
  class: O([Li, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1466
1466
  onClick: n[9] ||= (e) => c("bottom", -1)
1467
- }, [N(x(Tt), {
1467
+ }, [N(x(wt), {
1468
1468
  size: 12,
1469
1469
  "stroke-width": 2
1470
1470
  })], 10, Pi),
@@ -1480,7 +1480,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1480
1480
  "aria-label": x(i).spacingControl.increaseBottom,
1481
1481
  class: O([Li, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1482
1482
  onClick: n[11] ||= (e) => c("bottom", 1)
1483
- }, [N(x(W), {
1483
+ }, [N(x(G), {
1484
1484
  size: 12,
1485
1485
  "stroke-width": 2
1486
1486
  })], 10, Ii)
@@ -1502,7 +1502,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1502
1502
  "data-testid": e.headerTestId,
1503
1503
  class: "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
1504
1504
  onClick: i[0] ||= (e) => n.$emit("toggle")
1505
- }, [N(x(ut), {
1505
+ }, [N(x(lt), {
1506
1506
  class: O(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
1507
1507
  size: 12,
1508
1508
  "stroke-width": 2
@@ -1528,13 +1528,13 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1528
1528
  },
1529
1529
  emits: ["update"],
1530
1530
  setup(e, { emit: t }) {
1531
- let n = e, i = t, { t: a } = U(), c = d(qe, []), l = d(Xe, !1), h = p(/* @__PURE__ */ new Set()), g = m(!1), _ = m(""), S = m(""), T = [{
1531
+ let n = e, i = t, { t: a } = W(), c = d(Ke, []), l = d(Ye, !1), h = p(/* @__PURE__ */ new Set()), g = m(!1), _ = m(""), S = m(""), T = [{
1532
1532
  key: "desktop",
1533
- icon: at,
1533
+ icon: it,
1534
1534
  labelKey: "showOnDesktop"
1535
1535
  }, {
1536
1536
  key: "mobile",
1537
- icon: st,
1537
+ icon: ot,
1538
1538
  labelKey: "showOnMobile"
1539
1539
  }];
1540
1540
  function D(e) {
@@ -1544,7 +1544,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1544
1544
  function F() {
1545
1545
  g.value = !0, M.value && n.block.displayCondition ? (_.value = n.block.displayCondition.before, S.value = n.block.displayCondition.after ?? "") : (_.value = "", S.value = "");
1546
1546
  }
1547
- function te() {
1547
+ function I() {
1548
1548
  _.value.trim() && (i("update", { displayCondition: {
1549
1549
  label: a.blockSettings.customCondition,
1550
1550
  before: _.value.trim(),
@@ -1558,7 +1558,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1558
1558
  }
1559
1559
  M.value && (_.value = e.before, S.value = e.after ?? "");
1560
1560
  }, { immediate: !0 });
1561
- let I = v(() => {
1561
+ let L = v(() => {
1562
1562
  let e = {};
1563
1563
  for (let t of c) {
1564
1564
  let n = t.group ?? "";
@@ -1566,19 +1566,19 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1566
1566
  }
1567
1567
  return e;
1568
1568
  });
1569
- function L(e, t) {
1569
+ function R(e, t) {
1570
1570
  i("update", { styles: {
1571
1571
  ...n.block.styles,
1572
1572
  [e]: t
1573
1573
  } });
1574
1574
  }
1575
- function R(e) {
1575
+ function z(e) {
1576
1576
  return n.block.visibility?.[e] !== !1;
1577
1577
  }
1578
- function z(e) {
1578
+ function B(e) {
1579
1579
  let t = {
1580
- desktop: R("desktop"),
1581
- mobile: R("mobile")
1580
+ desktop: z("desktop"),
1581
+ mobile: z("mobile")
1582
1582
  };
1583
1583
  t[e] = !t[e], i("update", { visibility: t });
1584
1584
  }
@@ -1592,7 +1592,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1592
1592
  default: f(() => [N(zi, {
1593
1593
  label: x(a).blockSettings.padding,
1594
1594
  "model-value": e.block.styles.padding,
1595
- "onUpdate:modelValue": n[0] ||= (e) => L("padding", e)
1595
+ "onUpdate:modelValue": n[0] ||= (e) => R("padding", e)
1596
1596
  }, null, 8, ["label", "model-value"])]),
1597
1597
  _: 1
1598
1598
  }, 8, [
@@ -1605,9 +1605,9 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1605
1605
  open: h.has("bg"),
1606
1606
  onToggle: n[3] ||= (e) => D("bg")
1607
1607
  }, {
1608
- default: f(() => [E("label", { class: O(x(K)) }, C(x(a).blockSettings.color), 3), N(Y, {
1608
+ default: f(() => [E("label", { class: O(x(q)) }, C(x(a).blockSettings.color), 3), N(X, {
1609
1609
  "model-value": e.block.styles.backgroundColor ?? "",
1610
- "onUpdate:modelValue": n[2] ||= (e) => L("backgroundColor", e)
1610
+ "onUpdate:modelValue": n[2] ||= (e) => R("backgroundColor", e)
1611
1611
  }, null, 8, ["model-value"])]),
1612
1612
  _: 1
1613
1613
  }, 8, ["title", "open"]),
@@ -1616,12 +1616,12 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1616
1616
  open: h.has("display"),
1617
1617
  onToggle: n[4] ||= (e) => D("display")
1618
1618
  }, {
1619
- default: f(() => [E("div", Ui, [(s(), y(A, null, u(T, (e) => N(X, {
1619
+ default: f(() => [E("div", Ui, [(s(), y(A, null, u(T, (e) => N(Z, {
1620
1620
  key: e.key,
1621
1621
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1622
- "model-value": R(e.key),
1622
+ "model-value": z(e.key),
1623
1623
  label: x(a).blockSettings[e.labelKey],
1624
- "onUpdate:modelValue": (t) => z(e.key)
1624
+ "onUpdate:modelValue": (t) => B(e.key)
1625
1625
  }, {
1626
1626
  default: f(() => [E("span", Wi, [(s(), w(o(e.icon), {
1627
1627
  size: 14,
@@ -1661,7 +1661,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1661
1661
  }
1662
1662
  }, [
1663
1663
  E("option", qi, C(x(a).blockSettings.noCondition), 1),
1664
- (s(!0), y(A, null, u(I.value, (e, t) => (s(), y(A, { key: t }, [t ? (s(), y("optgroup", {
1664
+ (s(!0), y(A, null, u(L.value, (e, t) => (s(), y(A, { key: t }, [t ? (s(), y("optgroup", {
1665
1665
  key: 0,
1666
1666
  label: String(t)
1667
1667
  }, [(s(!0), y(A, null, u(e, (e) => (s(), y("option", {
@@ -1676,18 +1676,18 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1676
1676
  E("div", null, [E("label", $i, C(x(a).blockSettings.customConditionBefore), 1), r(E("textarea", {
1677
1677
  "onUpdate:modelValue": n[6] ||= (e) => _.value = e,
1678
1678
  rows: "2",
1679
- class: O(x(Zt))
1679
+ class: O(x(Xt))
1680
1680
  }, null, 2), [[ee, _.value]])]),
1681
1681
  E("div", null, [E("label", ea, C(x(a).blockSettings.customConditionAfter), 1), r(E("textarea", {
1682
1682
  "onUpdate:modelValue": n[7] ||= (e) => S.value = e,
1683
1683
  rows: "2",
1684
- class: O(x(Zt))
1684
+ class: O(x(Xt))
1685
1685
  }, null, 2), [[ee, S.value]])]),
1686
1686
  E("div", ta, [E("button", {
1687
1687
  type: "button",
1688
1688
  class: "tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-[var(--tpl-primary)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-bg)] tpl:transition-all tpl:duration-150 tpl:hover:opacity-90 tpl:disabled:opacity-50",
1689
1689
  disabled: !_.value.trim(),
1690
- onClick: te
1690
+ onClick: I
1691
1691
  }, C(x(a).blockSettings.applyCondition), 9, na)])
1692
1692
  ])) : e.block.displayCondition && !M.value ? (s(), y(A, { key: 1 }, [e.block.displayCondition.description ? (s(), y("p", ra, C(e.block.displayCondition.description), 1)) : b("", !0), E("div", ia, [E("pre", aa, C(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (s(), y("pre", oa, C(e.block.displayCondition.after), 1)) : b("", !0)])], 64)) : b("", !0)])]),
1693
1693
  _: 1
@@ -1703,11 +1703,11 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1703
1703
  },
1704
1704
  emits: ["update:modelValue"],
1705
1705
  setup(e, { emit: t }) {
1706
- let n = t, { t: r } = U();
1706
+ let n = t, { t: r } = W();
1707
1707
  return (t, i) => (s(), y("div", {
1708
1708
  class: "tpl:mb-3.5",
1709
1709
  title: e.readOnly ? x(r).customBlocks.dataSource.readOnlyTooltip : void 0
1710
- }, [N(X, {
1710
+ }, [N(Z, {
1711
1711
  class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
1712
1712
  "model-value": e.modelValue,
1713
1713
  label: e.field.label,
@@ -1715,7 +1715,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1715
1715
  disabled: e.readOnly,
1716
1716
  "onUpdate:modelValue": i[0] ||= (e) => n("update:modelValue", e)
1717
1717
  }, {
1718
- default: f(() => [j(C(e.field.label) + " ", 1), e.readOnly ? (s(), w(x(Nt), {
1718
+ default: f(() => [j(C(e.field.label) + " ", 1), e.readOnly ? (s(), w(x(Mt), {
1719
1719
  key: 0,
1720
1720
  size: 12,
1721
1721
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1739,9 +1739,9 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1739
1739
  readOnly: { type: Boolean }
1740
1740
  },
1741
1741
  setup(e) {
1742
- return (n, r) => (s(), y("div", ua, [E("label", { class: O(x(K)) }, [
1742
+ return (n, r) => (s(), y("div", ua, [E("label", { class: O(x(q)) }, [
1743
1743
  j(C(e.label) + " ", 1),
1744
- e.readOnly ? (s(), w(x(Nt), {
1744
+ e.readOnly ? (s(), w(x(Mt), {
1745
1745
  key: 0,
1746
1746
  size: 12,
1747
1747
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1758,13 +1758,13 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1758
1758
  },
1759
1759
  emits: ["update:modelValue"],
1760
1760
  setup(e, { emit: t }) {
1761
- let n = e, r = t, { t: i } = U(), a = d(tt, rt), o = v(() => ae(n.field, a));
1761
+ let n = e, r = t, { t: i } = W(), a = d(et, nt), o = v(() => ie(n.field, a));
1762
1762
  return (t, n) => (s(), w(fa, {
1763
1763
  label: e.field.label,
1764
1764
  required: e.field.required,
1765
1765
  "read-only": e.readOnly
1766
1766
  }, {
1767
- default: f(() => [N(Y, {
1767
+ default: f(() => [N(X, {
1768
1768
  "model-value": e.modelValue,
1769
1769
  placeholder: e.field.placeholder,
1770
1770
  disabled: e.readOnly,
@@ -1804,7 +1804,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1804
1804
  },
1805
1805
  emits: ["update:modelValue"],
1806
1806
  setup(e, { emit: t }) {
1807
- let n = e, r = t, { t: i } = U(), a = d(Ie, null), o = Gt(), c = v(() => !!a);
1807
+ let n = e, r = t, { t: i } = W(), a = d(Fe, null), o = Wt(), c = v(() => !!a);
1808
1808
  async function l() {
1809
1809
  let e = await a?.({ accept: ["images"] });
1810
1810
  o.alive && e && r("update:modelValue", e.url);
@@ -1825,7 +1825,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1825
1825
  }
1826
1826
  }
1827
1827
  }
1828
- let { isOver: _ } = he({
1828
+ let { isOver: _ } = me({
1829
1829
  target: u,
1830
1830
  enabled: h,
1831
1831
  onFiles: g
@@ -1840,18 +1840,18 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1840
1840
  ref: u,
1841
1841
  class: "tpl:relative"
1842
1842
  }, [
1843
- h.value && (x(_) || p.value) ? (s(), y("div", ma, [p.value ? (s(), y(A, { key: 0 }, [N(x(Ot), {
1843
+ h.value && (x(_) || p.value) ? (s(), y("div", ma, [p.value ? (s(), y(A, { key: 0 }, [N(x(Dt), {
1844
1844
  class: "tpl-spinner",
1845
1845
  size: 18,
1846
1846
  "stroke-width": 2
1847
- }), j(" " + C(x(i).image.uploading), 1)], 64)) : (s(), y(A, { key: 1 }, [N(x(Lt), {
1847
+ }), j(" " + C(x(i).image.uploading), 1)], 64)) : (s(), y(A, { key: 1 }, [N(x(It), {
1848
1848
  size: 18,
1849
1849
  "stroke-width": 1.5
1850
1850
  }), j(" " + C(x(i).image.dropToUpload), 1)], 64))])) : b("", !0),
1851
1851
  e.readOnly ? (s(), y("input", {
1852
1852
  key: 1,
1853
1853
  type: "url",
1854
- class: O([x(G), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1854
+ class: O([x(K), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1855
1855
  value: e.modelValue,
1856
1856
  placeholder: e.field.placeholder || "https://...",
1857
1857
  disabled: "",
@@ -1859,7 +1859,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1859
1859
  }, null, 10, ha)) : (s(), y("input", {
1860
1860
  key: 2,
1861
1861
  type: "url",
1862
- class: O(x(G)),
1862
+ class: O(x(K)),
1863
1863
  value: e.modelValue,
1864
1864
  placeholder: e.field.placeholder || "https://...",
1865
1865
  onInput: n[0] ||= (e) => r("update:modelValue", e.target.value)
@@ -1868,7 +1868,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1868
1868
  key: 3,
1869
1869
  class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg)]",
1870
1870
  onClick: n[1] ||= (e) => l()
1871
- }, [N(x(Et), {
1871
+ }, [N(x(Tt), {
1872
1872
  size: 14,
1873
1873
  "stroke-width": 1.5
1874
1874
  }), j(" " + C(x(i).image.browseMedia), 1)])) : b("", !0)
@@ -1897,7 +1897,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1897
1897
  },
1898
1898
  emits: ["update:modelValue"],
1899
1899
  setup(e, { emit: t }) {
1900
- let n = t, { t: r } = U();
1900
+ let n = t, { t: r } = W();
1901
1901
  return (t, i) => (s(), w(fa, {
1902
1902
  label: e.field.label,
1903
1903
  required: e.field.required,
@@ -1905,7 +1905,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1905
1905
  }, {
1906
1906
  default: f(() => [E("input", {
1907
1907
  type: "number",
1908
- class: O([x(G), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1908
+ class: O([x(K), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1909
1909
  value: e.modelValue,
1910
1910
  placeholder: e.field.placeholder,
1911
1911
  min: e.field.min,
@@ -1934,7 +1934,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1934
1934
  },
1935
1935
  emits: ["update:modelValue"],
1936
1936
  setup(e, { emit: t }) {
1937
- let n = e, r = t, { t: i } = U(), a = v(() => n.modelValue || []), c = v(() => !n.field.maxItems || a.value.length < n.field.maxItems), l = v(() => !n.field.minItems || a.value.length > n.field.minItems);
1937
+ let n = e, r = t, { t: i } = W(), a = v(() => n.modelValue || []), c = v(() => !n.field.maxItems || a.value.length < n.field.maxItems), l = v(() => !n.field.minItems || a.value.length > n.field.minItems);
1938
1938
  function d() {
1939
1939
  if (!c.value || n.readOnly) return;
1940
1940
  let e = {};
@@ -1968,7 +1968,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1968
1968
  class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
1969
1969
  title: x(i).customBlocks.fields.removeItem,
1970
1970
  onClick: (e) => p(n)
1971
- }, [N(x(Ct), {
1971
+ }, [N(x(St), {
1972
1972
  size: 12,
1973
1973
  "stroke-width": 2
1974
1974
  })], 8, Ca)) : b("", !0)]), (s(!0), y(A, null, u(e.field.fields, (r) => (s(), w(o(x(Pa)(r.type)), {
@@ -1986,9 +1986,9 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
1986
1986
  c.value && !e.readOnly ? (s(), y("button", {
1987
1987
  key: 0,
1988
1988
  type: "button",
1989
- class: O(x($t)),
1989
+ class: O(x(Qt)),
1990
1990
  onClick: d
1991
- }, [N(x(W), {
1991
+ }, [N(x(G), {
1992
1992
  size: 14,
1993
1993
  "stroke-width": 2
1994
1994
  }), j(" " + C(x(i).customBlocks.fields.addItem), 1)], 2)) : b("", !0),
@@ -2014,14 +2014,14 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
2014
2014
  },
2015
2015
  emits: ["update:modelValue"],
2016
2016
  setup(e, { emit: t }) {
2017
- let n = t, { t: r } = U();
2017
+ let n = t, { t: r } = W();
2018
2018
  return (t, i) => (s(), w(fa, {
2019
2019
  label: e.field.label,
2020
2020
  required: e.field.required,
2021
2021
  "read-only": e.readOnly
2022
2022
  }, {
2023
2023
  default: f(() => [E("select", {
2024
- class: O([x(G), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
2024
+ class: O([x(K), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
2025
2025
  value: e.modelValue,
2026
2026
  disabled: e.readOnly,
2027
2027
  title: e.readOnly ? x(r).customBlocks.dataSource.readOnlyTooltip : void 0,
@@ -2050,7 +2050,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
2050
2050
  },
2051
2051
  emits: ["update:modelValue"],
2052
2052
  setup(e, { emit: t }) {
2053
- let n = t, { t: r } = U();
2053
+ let n = t, { t: r } = W();
2054
2054
  return (t, i) => (s(), w(fa, {
2055
2055
  label: e.field.label,
2056
2056
  required: e.field.required,
@@ -2059,7 +2059,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
2059
2059
  default: f(() => [e.readOnly ? (s(), y("input", {
2060
2060
  key: 0,
2061
2061
  type: "text",
2062
- class: O([x(G), "tpl:opacity-60 tpl:cursor-not-allowed"]),
2062
+ class: O([x(K), "tpl:opacity-60 tpl:cursor-not-allowed"]),
2063
2063
  value: e.modelValue,
2064
2064
  placeholder: e.field.placeholder,
2065
2065
  disabled: "",
@@ -2092,7 +2092,7 @@ var Un = ["aria-label", "onKeydown"], Wn = ["data-tooltip"], Gn = ["data-tooltip
2092
2092
  },
2093
2093
  emits: ["update:modelValue"],
2094
2094
  setup(e, { emit: t }) {
2095
- let n = t, { t: r } = U();
2095
+ let n = t, { t: r } = W();
2096
2096
  return (t, i) => (s(), w(fa, {
2097
2097
  label: e.field.label,
2098
2098
  required: e.field.required,
@@ -2155,7 +2155,7 @@ var Fa = {
2155
2155
  props: { block: {} },
2156
2156
  emits: ["updateFieldValues", "updateDataSourceFetched"],
2157
2157
  setup(e, { emit: t }) {
2158
- let n = e, r = t, { t: i } = U(), a = d(Qe, []), c = v(() => a.find((e) => e.type === n.block.customType)), l = v(() => n.block), { isFetching: f, fetchError: p, fetch: m, hasDataSource: h, needsFetch: g } = H({
2158
+ let n = e, r = t, { t: i } = W(), a = d(Ze, []), c = v(() => a.find((e) => e.type === n.block.customType)), l = v(() => n.block), { isFetching: f, fetchError: p, fetch: m, hasDataSource: h, needsFetch: g } = U({
2159
2159
  definition: c,
2160
2160
  block: l,
2161
2161
  onUpdate: (e, t) => {
@@ -2183,7 +2183,7 @@ var Fa = {
2183
2183
  type: "button",
2184
2184
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]",
2185
2185
  onClick: n[1] ||= (...e) => x(m) && x(m)(...e)
2186
- }, [N(x(Vt), { size: 12 }), j(" " + C(x(i).customBlocks.dataSource.changeButton), 1)]))])), x(p) ? (s(), y("p", Ha, [N(x(dt), {
2186
+ }, [N(x(Bt), { size: 12 }), j(" " + C(x(i).customBlocks.dataSource.changeButton), 1)]))])), x(p) ? (s(), y("p", Ha, [N(x(ut), {
2187
2187
  size: 14,
2188
2188
  class: "tpl:shrink-0"
2189
2189
  }), j(" " + C(x(i).customBlocks.dataSource.fetchError), 1)])) : b("", !0)])) : b("", !0),
@@ -2206,12 +2206,12 @@ var Fa = {
2206
2206
  props: { block: {} },
2207
2207
  emits: ["update"],
2208
2208
  setup(e, { emit: t }) {
2209
- let n = t, { t: r } = U();
2209
+ let n = t, { t: r } = W();
2210
2210
  function i(e, t) {
2211
2211
  n("update", { [e]: t });
2212
2212
  }
2213
2213
  return (t, n) => (s(), y(A, null, [
2214
- E("div", Wa, [E("label", { class: O(x(K)) }, C(x(r).divider.style), 3), N(Q, {
2214
+ E("div", Wa, [E("label", { class: O(x(q)) }, C(x(r).divider.style), 3), N(rn, {
2215
2215
  options: [
2216
2216
  {
2217
2217
  value: "solid",
@@ -2229,18 +2229,18 @@ var Fa = {
2229
2229
  "model-value": e.block.lineStyle,
2230
2230
  "onUpdate:modelValue": n[0] ||= (e) => i("lineStyle", e)
2231
2231
  }, null, 8, ["options", "model-value"])]),
2232
- E("div", Ga, [E("label", { class: O(x(K)) }, C(x(r).divider.color), 3), N(Y, {
2232
+ E("div", Ga, [E("label", { class: O(x(q)) }, C(x(r).divider.color), 3), N(X, {
2233
2233
  "model-value": e.block.color,
2234
2234
  "onUpdate:modelValue": n[1] ||= (e) => i("color", e)
2235
2235
  }, null, 8, ["model-value"])]),
2236
- E("div", Ka, [E("label", { class: O(x(K)) }, C(x(r).divider.thickness), 3), E("div", qa, [E("input", {
2236
+ E("div", Ka, [E("label", { class: O(x(q)) }, C(x(r).divider.thickness), 3), E("div", qa, [E("input", {
2237
2237
  type: "number",
2238
- class: O(x(J)),
2238
+ class: O(x(Y)),
2239
2239
  value: e.block.thickness,
2240
2240
  min: "1",
2241
2241
  max: "10",
2242
2242
  onInput: n[2] ||= (e) => i("thickness", Number(e.target.value))
2243
- }, null, 42, Ja), E("span", { class: O(x(q)) }, "px", 2)])])
2243
+ }, null, 42, Ja), E("span", { class: O(x(J)) }, "px", 2)])])
2244
2244
  ], 64));
2245
2245
  }
2246
2246
  }), Xa = { class: "tpl:mb-3.5" }, Za = ["value"], Qa = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, $a = /* @__PURE__ */ M({
@@ -2248,17 +2248,17 @@ var Fa = {
2248
2248
  props: { block: {} },
2249
2249
  emits: ["update"],
2250
2250
  setup(e, { emit: t }) {
2251
- let n = t, { t: r } = U();
2251
+ let n = t, { t: r } = W();
2252
2252
  return (t, i) => (s(), y("div", Xa, [
2253
- E("label", { class: O(x(K)) }, C(x(r).html.content), 3),
2253
+ E("label", { class: O(x(q)) }, C(x(r).html.content), 3),
2254
2254
  E("textarea", {
2255
2255
  value: e.block.content,
2256
2256
  placeholder: "<div>...</div>",
2257
2257
  rows: "10",
2258
- class: O(x(Zt)),
2258
+ class: O(x(Xt)),
2259
2259
  onInput: i[0] ||= (e) => n("update", { content: e.target.value })
2260
2260
  }, null, 42, Za),
2261
- E("p", Qa, [N(x(wt), {
2261
+ E("p", Qa, [N(x(Ct), {
2262
2262
  size: 12,
2263
2263
  class: "tpl:mt-0.5 tpl:shrink-0"
2264
2264
  }), j(" " + C(x(r).html.sanitizationHint), 1)])
@@ -2279,7 +2279,7 @@ var Fa = {
2279
2279
  props: { block: {} },
2280
2280
  emits: ["update"],
2281
2281
  setup(e, { emit: t }) {
2282
- let n = e, r = t, { t: i } = U(), a = d(Ie, null), o = d(je, re.liquid), c = Gt(), l = v(() => !!a), u = m(!1), p = m(!1), { start: h } = ke(() => {
2282
+ let n = e, r = t, { t: i } = W(), a = d(Fe, null), o = d(Ae, ne.liquid), c = Wt(), l = v(() => !!a), u = m(!1), p = m(!1), { start: h } = Oe(() => {
2283
2283
  u.value = !1;
2284
2284
  }, 1e3, { immediate: !1 }), g = [
2285
2285
  300,
@@ -2308,8 +2308,8 @@ var Fa = {
2308
2308
  let e = await a?.({ accept: ["images"] });
2309
2309
  c.alive && e && (S("src", e.url), e.alt && (S("alt", e.alt), p.value = !0), u.value = !0, h());
2310
2310
  }
2311
- let k = m(), M = m(!1), P = v(() => V(n.block.src, o)), F = v(() => l.value && !M.value && !P.value);
2312
- async function te(e) {
2311
+ let k = m(), M = m(!1), P = v(() => H(n.block.src, o)), F = v(() => l.value && !M.value && !P.value);
2312
+ async function I(e) {
2313
2313
  if (a) {
2314
2314
  M.value = !0;
2315
2315
  try {
@@ -2324,22 +2324,22 @@ var Fa = {
2324
2324
  }
2325
2325
  }
2326
2326
  }
2327
- let { isOver: I } = he({
2327
+ let { isOver: L } = me({
2328
2328
  target: k,
2329
2329
  enabled: F,
2330
- onFiles: te
2330
+ onFiles: I
2331
2331
  });
2332
2332
  return (t, n) => (s(), y(A, null, [
2333
- E("div", eo, [E("label", { class: O(x(K)) }, C(x(i).image.imageUrl), 3), E("div", {
2333
+ E("div", eo, [E("label", { class: O(x(q)) }, C(x(i).image.imageUrl), 3), E("div", {
2334
2334
  ref_key: "dropZoneRef",
2335
2335
  ref: k,
2336
2336
  class: "tpl:relative"
2337
2337
  }, [
2338
- F.value && (x(I) || M.value) ? (s(), y("div", to, [M.value ? (s(), y(A, { key: 0 }, [N(x(Ot), {
2338
+ F.value && (x(L) || M.value) ? (s(), y("div", to, [M.value ? (s(), y(A, { key: 0 }, [N(x(Dt), {
2339
2339
  class: "tpl-spinner",
2340
2340
  size: 18,
2341
2341
  "stroke-width": 2
2342
- }), j(" " + C(x(i).image.uploading), 1)], 64)) : (s(), y(A, { key: 1 }, [N(x(Lt), {
2342
+ }), j(" " + C(x(i).image.uploading), 1)], 64)) : (s(), y(A, { key: 1 }, [N(x(It), {
2343
2343
  size: 18,
2344
2344
  "stroke-width": 1.5
2345
2345
  }), j(" " + C(x(i).image.dropToUpload), 1)], 64))])) : b("", !0),
@@ -2363,20 +2363,20 @@ var Fa = {
2363
2363
  "background-color": "var(--tpl-bg)"
2364
2364
  },
2365
2365
  onClick: D
2366
- }, [N(x(Et), {
2366
+ }, [N(x(Tt), {
2367
2367
  size: 14,
2368
2368
  "stroke-width": 1.5
2369
2369
  }), j(" " + C(x(i).image.browseMedia), 1)])) : b("", !0)
2370
2370
  ], 512)]),
2371
- x(V)(e.block.src, x(o)) ? (s(), y("div", no, [E("label", { class: O(x(K)) }, [j(C(x(i).image.placeholderUrl) + " ", 1), n[9] ||= E("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, C("(optional)"), -1)], 2), E("input", {
2371
+ x(H)(e.block.src, x(o)) ? (s(), y("div", no, [E("label", { class: O(x(q)) }, [j(C(x(i).image.placeholderUrl) + " ", 1), n[9] ||= E("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, C("(optional)"), -1)], 2), E("input", {
2372
2372
  type: "url",
2373
- class: O(x(G)),
2373
+ class: O(x(K)),
2374
2374
  value: e.block.placeholderUrl || "",
2375
2375
  placeholder: x(i).image.placeholderUrlPlaceholder,
2376
2376
  onInput: n[1] ||= (e) => S("placeholderUrl", e.target.value)
2377
2377
  }, null, 42, ro)])) : b("", !0),
2378
2378
  E("div", io, [
2379
- E("label", { class: O(x(K)) }, C(x(i).image.altText), 3),
2379
+ E("label", { class: O(x(q)) }, C(x(i).image.altText), 3),
2380
2380
  N($, {
2381
2381
  "model-value": e.block.alt,
2382
2382
  type: "text",
@@ -2390,7 +2390,7 @@ var Fa = {
2390
2390
  "pulse",
2391
2391
  "disabled"
2392
2392
  ]),
2393
- N(X, {
2393
+ N(Z, {
2394
2394
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
2395
2395
  "model-value": e.block.decorative === !0,
2396
2396
  label: x(i).image.decorative,
@@ -2401,9 +2401,9 @@ var Fa = {
2401
2401
  }, 8, ["model-value", "label"])
2402
2402
  ]),
2403
2403
  E("div", oo, [
2404
- E("label", { class: O(x(K)) }, C(x(i).image.width), 3),
2404
+ E("label", { class: O(x(q)) }, C(x(i).image.width), 3),
2405
2405
  E("select", {
2406
- class: O(x(G)),
2406
+ class: O(x(K)),
2407
2407
  value: _.value,
2408
2408
  onChange: n[4] ||= (e) => T(e.target.value)
2409
2409
  }, [
@@ -2415,13 +2415,13 @@ var Fa = {
2415
2415
  ], 42, so),
2416
2416
  _.value === "custom" ? (s(), y("div", uo, [E("input", {
2417
2417
  type: "number",
2418
- class: O(x(J)),
2418
+ class: O(x(Y)),
2419
2419
  value: typeof e.block.width == "number" ? e.block.width : ho,
2420
2420
  min: "20",
2421
2421
  onInput: n[5] ||= (e) => ee(e.target.value)
2422
- }, null, 42, fo), E("span", { class: O(x(q)) }, "px", 2)])) : b("", !0)
2422
+ }, null, 42, fo), E("span", { class: O(x(J)) }, "px", 2)])) : b("", !0)
2423
2423
  ]),
2424
- E("div", po, [E("label", { class: O(x(K)) }, C(x(i).title.align), 3), N(Q, {
2424
+ E("div", po, [E("label", { class: O(x(q)) }, C(x(i).title.align), 3), N(rn, {
2425
2425
  options: [
2426
2426
  {
2427
2427
  value: "left",
@@ -2440,14 +2440,14 @@ var Fa = {
2440
2440
  "onUpdate:modelValue": n[6] ||= (e) => S("align", e)
2441
2441
  }, null, 8, ["options", "model-value"])]),
2442
2442
  E("div", mo, [
2443
- E("label", { class: O(x(K)) }, C(x(i).image.linkUrl), 3),
2443
+ E("label", { class: O(x(q)) }, C(x(i).image.linkUrl), 3),
2444
2444
  N($, {
2445
2445
  "model-value": e.block.linkUrl || "",
2446
2446
  type: "url",
2447
2447
  placeholder: x(i).image.imageUrlPlaceholder,
2448
2448
  "onUpdate:modelValue": n[7] ||= (e) => S("linkUrl", e)
2449
2449
  }, null, 8, ["model-value", "placeholder"]),
2450
- e.block.linkUrl ? (s(), w(X, {
2450
+ e.block.linkUrl ? (s(), w(Z, {
2451
2451
  key: 0,
2452
2452
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
2453
2453
  "model-value": e.block.linkOpenInNewTab ?? !1,
@@ -2469,7 +2469,7 @@ var Fa = {
2469
2469
  },
2470
2470
  emits: ["update"],
2471
2471
  setup(e, { emit: t }) {
2472
- let n = e, r = t, { t: i } = U(), a = v(() => [
2472
+ let n = e, r = t, { t: i } = W(), a = v(() => [
2473
2473
  {
2474
2474
  key: "openInNewTab",
2475
2475
  label: i.menu.openInNewTab
@@ -2486,17 +2486,17 @@ var Fa = {
2486
2486
  {
2487
2487
  value: "left",
2488
2488
  label: i.title.alignLeft,
2489
- icon: jt
2489
+ icon: At
2490
2490
  },
2491
2491
  {
2492
2492
  value: "center",
2493
2493
  label: i.title.alignCenter,
2494
- icon: bt
2494
+ icon: yt
2495
2495
  },
2496
2496
  {
2497
2497
  value: "right",
2498
2498
  label: i.title.alignRight,
2499
- icon: Dt
2499
+ icon: Et
2500
2500
  }
2501
2501
  ]);
2502
2502
  function c(e, t) {
@@ -2524,22 +2524,22 @@ var Fa = {
2524
2524
  r("update", { items: n.block.items.filter((t) => t.id !== e) });
2525
2525
  }
2526
2526
  return (t, n) => (s(), y(A, null, [
2527
- N(Z, { label: x(i).menu.items }, {
2527
+ N(Q, { label: x(i).menu.items }, {
2528
2528
  default: f(() => [E("div", _o, [(s(!0), y(A, null, u(e.block.items, (t) => (s(), y("div", {
2529
2529
  key: t.id,
2530
2530
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
2531
2531
  }, [
2532
2532
  E("div", vo, [E("input", {
2533
2533
  type: "text",
2534
- class: O([x(G), "tpl:flex-1"]),
2534
+ class: O([x(K), "tpl:flex-1"]),
2535
2535
  value: t.text,
2536
2536
  placeholder: x(i).menu.text,
2537
2537
  onInput: (e) => d(t.id, "text", e.target.value)
2538
2538
  }, null, 42, yo), E("button", {
2539
- class: O(x(Xt)),
2539
+ class: O(x(Yt)),
2540
2540
  title: x(i).menu.removeItem,
2541
2541
  onClick: (e) => p(t.id)
2542
- }, [N(x(Mt), {
2542
+ }, [N(x(jt), {
2543
2543
  size: 14,
2544
2544
  "stroke-width": 2
2545
2545
  })], 10, bo)]),
@@ -2553,7 +2553,7 @@ var Fa = {
2553
2553
  "placeholder",
2554
2554
  "onUpdate:modelValue"
2555
2555
  ]),
2556
- E("div", xo, [(s(!0), y(A, null, u(a.value, (e) => (s(), w(X, {
2556
+ E("div", xo, [(s(!0), y(A, null, u(a.value, (e) => (s(), w(Z, {
2557
2557
  key: e.key,
2558
2558
  "model-value": t[e.key],
2559
2559
  label: e.label,
@@ -2563,23 +2563,23 @@ var Fa = {
2563
2563
  "label",
2564
2564
  "onUpdate:modelValue"
2565
2565
  ]))), 128))]),
2566
- E("div", So, [E("label", { class: O([x(K), "tpl:!mb-0"]) }, C(x(i).menu.color), 3), N(Y, {
2566
+ E("div", So, [E("label", { class: O([x(q), "tpl:!mb-0"]) }, C(x(i).menu.color), 3), N(X, {
2567
2567
  "swatch-only": "",
2568
2568
  "model-value": t.color || e.block.linkColor || e.block.color || "",
2569
2569
  "onUpdate:modelValue": (e) => d(t.id, "color", e)
2570
2570
  }, null, 8, ["model-value", "onUpdate:modelValue"])])
2571
2571
  ]))), 128)), E("button", {
2572
- class: O(x($t)),
2572
+ class: O(x(Qt)),
2573
2573
  onClick: l
2574
- }, [N(x(W), {
2574
+ }, [N(x(G), {
2575
2575
  size: 14,
2576
2576
  "stroke-width": 2
2577
2577
  }), j(" " + C(x(i).menu.addItem), 1)], 2)])]),
2578
2578
  _: 1
2579
2579
  }, 8, ["label"]),
2580
- N(Z, { label: x(i).menu.fontFamily }, {
2580
+ N(Q, { label: x(i).menu.fontFamily }, {
2581
2581
  default: f(() => [E("select", {
2582
- class: O(x(G)),
2582
+ class: O(x(K)),
2583
2583
  value: e.block.fontFamily || "",
2584
2584
  onChange: n[0] ||= (e) => c("fontFamily", e.target.value || void 0)
2585
2585
  }, [E("option", wo, C(x(i).title.inheritFont), 1), (s(!0), y(A, null, u(e.fontFamilies, (e) => (s(), y("option", {
@@ -2588,7 +2588,7 @@ var Fa = {
2588
2588
  }, C(e.label), 9, To))), 128))], 42, Co)]),
2589
2589
  _: 1
2590
2590
  }, 8, ["label"]),
2591
- N(Z, { label: x(i).menu.fontSize }, {
2591
+ N(Q, { label: x(i).menu.fontSize }, {
2592
2592
  default: f(() => [N(an, {
2593
2593
  "model-value": e.block.fontSize,
2594
2594
  min: 8,
@@ -2598,45 +2598,45 @@ var Fa = {
2598
2598
  }, null, 8, ["model-value"])]),
2599
2599
  _: 1
2600
2600
  }, 8, ["label"]),
2601
- N(Z, { label: x(i).menu.color }, {
2602
- default: f(() => [N(Y, {
2601
+ N(Q, { label: x(i).menu.color }, {
2602
+ default: f(() => [N(X, {
2603
2603
  "model-value": e.block.color ?? "",
2604
2604
  "onUpdate:modelValue": n[2] ||= (e) => c("color", e || void 0)
2605
2605
  }, null, 8, ["model-value"])]),
2606
2606
  _: 1
2607
2607
  }, 8, ["label"]),
2608
- N(Z, { label: x(i).menu.linkColor }, {
2609
- default: f(() => [N(Y, {
2608
+ N(Q, { label: x(i).menu.linkColor }, {
2609
+ default: f(() => [N(X, {
2610
2610
  "model-value": e.block.linkColor || e.block.color || "",
2611
2611
  "onUpdate:modelValue": n[3] ||= (e) => c("linkColor", e || void 0)
2612
2612
  }, null, 8, ["model-value"])]),
2613
2613
  _: 1
2614
2614
  }, 8, ["label"]),
2615
- N(Z, { label: x(i).menu.textAlign }, {
2616
- default: f(() => [N(Q, {
2615
+ N(Q, { label: x(i).menu.textAlign }, {
2616
+ default: f(() => [N(rn, {
2617
2617
  options: o.value,
2618
2618
  "model-value": e.block.textAlign,
2619
2619
  "onUpdate:modelValue": n[4] ||= (e) => c("textAlign", e)
2620
2620
  }, null, 8, ["options", "model-value"])]),
2621
2621
  _: 1
2622
2622
  }, 8, ["label"]),
2623
- N(Z, { label: x(i).menu.separator }, {
2623
+ N(Q, { label: x(i).menu.separator }, {
2624
2624
  default: f(() => [E("input", {
2625
2625
  type: "text",
2626
- class: O(x(G)),
2626
+ class: O(x(K)),
2627
2627
  value: e.block.separator,
2628
2628
  onInput: n[5] ||= (e) => c("separator", e.target.value)
2629
2629
  }, null, 42, Eo)]),
2630
2630
  _: 1
2631
2631
  }, 8, ["label"]),
2632
- N(Z, { label: x(i).menu.separatorColor }, {
2633
- default: f(() => [N(Y, {
2632
+ N(Q, { label: x(i).menu.separatorColor }, {
2633
+ default: f(() => [N(X, {
2634
2634
  "model-value": e.block.separatorColor,
2635
2635
  "onUpdate:modelValue": n[6] ||= (e) => c("separatorColor", e)
2636
2636
  }, null, 8, ["model-value"])]),
2637
2637
  _: 1
2638
2638
  }, 8, ["label"]),
2639
- N(Z, { label: x(i).menu.spacing }, {
2639
+ N(Q, { label: x(i).menu.spacing }, {
2640
2640
  default: f(() => [N(an, {
2641
2641
  "model-value": e.block.spacing,
2642
2642
  min: 0,
@@ -2677,7 +2677,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
2677
2677
  props: { block: {} },
2678
2678
  emits: ["update"],
2679
2679
  setup(e, { emit: t }) {
2680
- let n = e, r = t, { t: i } = U(), a = v(() => [
2680
+ let n = e, r = t, { t: i } = W(), a = v(() => [
2681
2681
  {
2682
2682
  value: "1",
2683
2683
  label: i.section.column1
@@ -2734,35 +2734,35 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
2734
2734
  f({ borderRadius: Number(e.target.value) });
2735
2735
  }
2736
2736
  return (t, n) => (s(), y(A, null, [
2737
- E("div", Ao, [E("label", { class: O(x(K)) }, C(x(i).section.columns), 3), E("select", {
2738
- class: O(x(G)),
2737
+ E("div", Ao, [E("label", { class: O(x(q)) }, C(x(i).section.columns), 3), E("select", {
2738
+ class: O(x(K)),
2739
2739
  value: e.block.columns,
2740
2740
  onChange: o
2741
2741
  }, [(s(!0), y(A, null, u(a.value, (e) => (s(), y("option", {
2742
2742
  key: e.value,
2743
2743
  value: e.value
2744
2744
  }, C(e.label), 9, Mo))), 128))], 42, jo)]),
2745
- e.block.columns === "1" ? b("", !0) : (s(), y("div", No, [N(X, {
2745
+ e.block.columns === "1" ? b("", !0) : (s(), y("div", No, [N(Z, {
2746
2746
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
2747
2747
  "model-value": e.block.stackOnMobile !== !1,
2748
2748
  label: x(i).section.stackOnMobile,
2749
2749
  "onUpdate:modelValue": n[0] ||= (e) => c(e)
2750
2750
  }, null, 8, ["model-value", "label"])])),
2751
- E("div", Po, [E("label", { class: O(x(K)) }, C(x(i).section.borderRadius), 3), E("div", Fo, [E("input", {
2751
+ E("div", Po, [E("label", { class: O(x(q)) }, C(x(i).section.borderRadius), 3), E("div", Fo, [E("input", {
2752
2752
  type: "number",
2753
- class: O(x(J)),
2753
+ class: O(x(Y)),
2754
2754
  value: e.block.borderRadius ?? 0,
2755
2755
  min: "0",
2756
2756
  max: "50",
2757
2757
  onInput: l
2758
- }, null, 42, Io), E("span", { class: O(x(q)) }, "px", 2)])]),
2759
- E("div", Lo, [N(X, {
2758
+ }, null, 42, Io), E("span", { class: O(x(J)) }, "px", 2)])]),
2759
+ E("div", Lo, [N(Z, {
2760
2760
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
2761
2761
  "model-value": !!e.block.wrapper,
2762
2762
  label: x(i).section.wrapperEnable,
2763
2763
  "onUpdate:modelValue": n[1] ||= (e) => d(e)
2764
2764
  }, null, 8, ["model-value", "label"]), e.block.wrapper ? (s(), y("div", Ro, [
2765
- E("div", null, [E("label", { class: O(x(K)) }, C(x(i).blockSettings.color), 3), N(Y, {
2765
+ E("div", null, [E("label", { class: O(x(q)) }, C(x(i).blockSettings.color), 3), N(X, {
2766
2766
  "model-value": e.block.wrapper.backgroundColor ?? "",
2767
2767
  "onUpdate:modelValue": n[2] ||= (e) => f({ backgroundColor: e })
2768
2768
  }, null, 8, ["model-value"])]),
@@ -2776,14 +2776,14 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
2776
2776
  },
2777
2777
  "onUpdate:modelValue": p
2778
2778
  }, null, 8, ["label", "model-value"]),
2779
- E("div", null, [E("label", { class: O(x(K)) }, C(x(i).section.borderRadius), 3), E("div", zo, [E("input", {
2779
+ E("div", null, [E("label", { class: O(x(q)) }, C(x(i).section.borderRadius), 3), E("div", zo, [E("input", {
2780
2780
  type: "number",
2781
- class: O(x(J)),
2781
+ class: O(x(Y)),
2782
2782
  value: e.block.wrapper.borderRadius ?? 0,
2783
2783
  min: "0",
2784
2784
  max: "50",
2785
2785
  onInput: m
2786
- }, null, 42, Bo), E("span", { class: O(x(q)) }, "px", 2)])])
2786
+ }, null, 42, Bo), E("span", { class: O(x(J)) }, "px", 2)])])
2787
2787
  ])) : b("", !0)])
2788
2788
  ], 64));
2789
2789
  }
@@ -2792,7 +2792,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
2792
2792
  props: { block: {} },
2793
2793
  emits: ["update"],
2794
2794
  setup(e, { emit: t }) {
2795
- let n = e, r = t, { t: i } = U();
2795
+ let n = e, r = t, { t: i } = W();
2796
2796
  function a(e, t) {
2797
2797
  r("update", { [e]: t });
2798
2798
  }
@@ -2815,22 +2815,22 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
2815
2815
  r("update", { icons: n.block.icons.filter((t) => t.id !== e) });
2816
2816
  }
2817
2817
  return (t, n) => (s(), y(A, null, [
2818
- E("div", Ho, [E("label", { class: O(x(K)) }, C(x(i).social.icons), 3), E("div", Uo, [(s(!0), y(A, null, u(e.block.icons, (e) => (s(), y("div", {
2818
+ E("div", Ho, [E("label", { class: O(x(q)) }, C(x(i).social.icons), 3), E("div", Uo, [(s(!0), y(A, null, u(e.block.icons, (e) => (s(), y("div", {
2819
2819
  key: e.id,
2820
2820
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
2821
2821
  }, [E("div", Wo, [E("select", {
2822
2822
  "data-testid": "social-platform-select",
2823
- class: O([x(G), "tpl:flex-1"]),
2823
+ class: O([x(K), "tpl:flex-1"]),
2824
2824
  value: e.platform,
2825
2825
  onChange: (t) => c(e.id, "platform", t.target.value)
2826
- }, [(s(!0), y(A, null, u(x(Ce), (e) => (s(), y("option", {
2826
+ }, [(s(!0), y(A, null, u(x(Se), (e) => (s(), y("option", {
2827
2827
  key: e,
2828
2828
  value: e
2829
2829
  }, C(x(i).social.platforms[e]), 9, Ko))), 128))], 42, Go), E("button", {
2830
- class: O(x(Xt)),
2830
+ class: O(x(Yt)),
2831
2831
  title: x(i).social.removeIcon,
2832
2832
  onClick: (t) => l(e.id)
2833
- }, [N(x(Mt), {
2833
+ }, [N(x(jt), {
2834
2834
  size: 14,
2835
2835
  "stroke-width": 2
2836
2836
  })], 10, qo)]), N($, {
@@ -2843,14 +2843,14 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
2843
2843
  "placeholder",
2844
2844
  "onUpdate:modelValue"
2845
2845
  ])]))), 128)), E("button", {
2846
- class: O(x($t)),
2846
+ class: O(x(Qt)),
2847
2847
  onClick: o
2848
- }, [N(x(W), {
2848
+ }, [N(x(G), {
2849
2849
  size: 14,
2850
2850
  "stroke-width": 2
2851
2851
  }), j(" " + C(x(i).social.addIcon), 1)], 2)])]),
2852
- E("div", Jo, [E("label", { class: O(x(K)) }, C(x(i).social.style), 3), E("select", {
2853
- class: O(x(G)),
2852
+ E("div", Jo, [E("label", { class: O(x(q)) }, C(x(i).social.style), 3), E("select", {
2853
+ class: O(x(K)),
2854
2854
  value: e.block.iconStyle,
2855
2855
  onChange: n[0] ||= (e) => a("iconStyle", e.target.value)
2856
2856
  }, [
@@ -2860,7 +2860,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
2860
2860
  E("option", $o, C(x(i).social.styleSquare), 1),
2861
2861
  E("option", es, C(x(i).social.styleCircle), 1)
2862
2862
  ], 42, Yo)]),
2863
- E("div", ts, [E("label", { class: O(x(K)) }, C(x(i).social.size), 3), N(Q, {
2863
+ E("div", ts, [E("label", { class: O(x(q)) }, C(x(i).social.size), 3), N(rn, {
2864
2864
  options: [
2865
2865
  {
2866
2866
  value: "small",
@@ -2878,30 +2878,30 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
2878
2878
  "model-value": e.block.iconSize,
2879
2879
  "onUpdate:modelValue": n[1] ||= (e) => a("iconSize", e)
2880
2880
  }, null, 8, ["options", "model-value"])]),
2881
- E("div", ns, [E("label", { class: O(x(K)) }, C(x(i).social.spacing), 3), E("div", rs, [E("input", {
2881
+ E("div", ns, [E("label", { class: O(x(q)) }, C(x(i).social.spacing), 3), E("div", rs, [E("input", {
2882
2882
  type: "number",
2883
- class: O(x(J)),
2883
+ class: O(x(Y)),
2884
2884
  value: e.block.spacing,
2885
2885
  min: "0",
2886
2886
  max: "50",
2887
2887
  onInput: n[2] ||= (e) => a("spacing", Number(e.target.value))
2888
- }, null, 42, is), E("span", { class: O(x(q)) }, "px", 2)])]),
2889
- E("div", as, [E("label", { class: O(x(K)) }, C(x(i).social.align), 3), N(Q, {
2888
+ }, null, 42, is), E("span", { class: O(x(J)) }, "px", 2)])]),
2889
+ E("div", as, [E("label", { class: O(x(q)) }, C(x(i).social.align), 3), N(rn, {
2890
2890
  options: [
2891
2891
  {
2892
2892
  value: "left",
2893
2893
  label: x(i).title.alignLeft,
2894
- icon: x(jt)
2894
+ icon: x(At)
2895
2895
  },
2896
2896
  {
2897
2897
  value: "center",
2898
2898
  label: x(i).title.alignCenter,
2899
- icon: x(bt)
2899
+ icon: x(yt)
2900
2900
  },
2901
2901
  {
2902
2902
  value: "right",
2903
2903
  label: x(i).title.alignRight,
2904
- icon: x(Dt)
2904
+ icon: x(Et)
2905
2905
  }
2906
2906
  ],
2907
2907
  "model-value": e.block.align,
@@ -2914,17 +2914,17 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
2914
2914
  props: { block: {} },
2915
2915
  emits: ["update"],
2916
2916
  setup(e, { emit: t }) {
2917
- let n = t, { t: r } = U();
2917
+ let n = t, { t: r } = W();
2918
2918
  return (t, i) => (s(), y("div", ss, [
2919
- E("label", { class: O(x(K)) }, C(x(r).spacer.height), 3),
2919
+ E("label", { class: O(x(q)) }, C(x(r).spacer.height), 3),
2920
2920
  E("div", cs, [E("input", {
2921
2921
  type: "number",
2922
- class: O(x(J)),
2922
+ class: O(x(Y)),
2923
2923
  value: e.block.height,
2924
2924
  min: "10",
2925
2925
  max: "100",
2926
2926
  onInput: i[0] ||= (e) => n("update", { height: Number(e.target.value) })
2927
- }, null, 42, ls), E("span", { class: O(x(q)) }, "px", 2)]),
2927
+ }, null, 42, ls), E("span", { class: O(x(J)) }, "px", 2)]),
2928
2928
  E("input", {
2929
2929
  type: "range",
2930
2930
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
@@ -2946,7 +2946,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
2946
2946
  },
2947
2947
  emits: ["update"],
2948
2948
  setup(e, { emit: t }) {
2949
- let n = e, r = t, { t: i } = U(), a = v(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
2949
+ let n = e, r = t, { t: i } = W(), a = v(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
2950
2950
  function o(e, t) {
2951
2951
  r("update", { [e]: t });
2952
2952
  }
@@ -2981,12 +2981,12 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
2981
2981
  r("update", { rows: t });
2982
2982
  }
2983
2983
  return (t, n) => (s(), y(A, null, [
2984
- E("div", fs, [E("label", { class: O(x(K)) }, C(x(i).table.dimensions), 3), E("div", ps, [E("div", ms, [E("span", hs, C(x(i).table.rows), 1), E("div", gs, [
2984
+ E("div", fs, [E("label", { class: O(x(q)) }, C(x(i).table.dimensions), 3), E("div", ps, [E("div", ms, [E("span", hs, C(x(i).table.rows), 1), E("div", gs, [
2985
2985
  E("button", {
2986
2986
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
2987
2987
  disabled: e.block.rows.length <= 1,
2988
2988
  onClick: n[0] ||= (t) => l(e.block.rows[e.block.rows.length - 1].id)
2989
- }, [N(x(Tt), {
2989
+ }, [N(x(wt), {
2990
2990
  size: 12,
2991
2991
  "stroke-width": 2
2992
2992
  })], 8, _s),
@@ -2994,7 +2994,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
2994
2994
  E("button", {
2995
2995
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)]",
2996
2996
  onClick: c
2997
- }, [N(x(W), {
2997
+ }, [N(x(G), {
2998
2998
  size: 12,
2999
2999
  "stroke-width": 2
3000
3000
  })])
@@ -3003,7 +3003,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3003
3003
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
3004
3004
  disabled: a.value <= 1,
3005
3005
  onClick: n[1] ||= (e) => f(a.value - 1)
3006
- }, [N(x(Tt), {
3006
+ }, [N(x(wt), {
3007
3007
  size: 12,
3008
3008
  "stroke-width": 2
3009
3009
  })], 8, Ss),
@@ -3011,20 +3011,20 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3011
3011
  E("button", {
3012
3012
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:duration-150 tpl:hover:text-[var(--tpl-primary)]",
3013
3013
  onClick: d
3014
- }, [N(x(W), {
3014
+ }, [N(x(G), {
3015
3015
  size: 12,
3016
3016
  "stroke-width": 2
3017
3017
  })])
3018
3018
  ])])])]),
3019
- E("div", ws, [N(X, {
3019
+ E("div", ws, [N(Z, {
3020
3020
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
3021
3021
  "model-value": e.block.hasHeaderRow,
3022
3022
  label: x(i).table.hasHeaderRow,
3023
3023
  "onUpdate:modelValue": n[2] ||= (e) => o("hasHeaderRow", e)
3024
3024
  }, null, 8, ["model-value", "label"])]),
3025
- e.block.hasHeaderRow ? (s(), y("div", Ts, [E("label", { class: O(x(K)) }, C(x(i).table.headerBackgroundColor), 3), N(Y, {
3025
+ e.block.hasHeaderRow ? (s(), y("div", Ts, [E("label", { class: O(x(q)) }, C(x(i).table.headerBackgroundColor), 3), N(X, {
3026
3026
  "model-value": e.block.headerBackgroundColor ?? "",
3027
- "seed-color": x(Qt),
3027
+ "seed-color": x(Zt),
3028
3028
  placeholder: x(i).table.noHeaderBg,
3029
3029
  "onUpdate:modelValue": n[3] ||= (e) => o("headerBackgroundColor", e || null)
3030
3030
  }, null, 8, [
@@ -3032,62 +3032,62 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3032
3032
  "seed-color",
3033
3033
  "placeholder"
3034
3034
  ])])) : b("", !0),
3035
- E("div", Es, [E("label", { class: O(x(K)) }, C(x(i).table.borderColor), 3), N(Y, {
3035
+ E("div", Es, [E("label", { class: O(x(q)) }, C(x(i).table.borderColor), 3), N(X, {
3036
3036
  "model-value": e.block.borderColor,
3037
3037
  "onUpdate:modelValue": n[4] ||= (e) => o("borderColor", e)
3038
3038
  }, null, 8, ["model-value"])]),
3039
- E("div", Ds, [E("label", { class: O(x(K)) }, C(x(i).table.borderWidth), 3), E("div", Os, [E("input", {
3039
+ E("div", Ds, [E("label", { class: O(x(q)) }, C(x(i).table.borderWidth), 3), E("div", Os, [E("input", {
3040
3040
  type: "number",
3041
- class: O(x(J)),
3041
+ class: O(x(Y)),
3042
3042
  value: e.block.borderWidth,
3043
3043
  min: "0",
3044
3044
  max: "10",
3045
3045
  onInput: n[5] ||= (e) => o("borderWidth", Number(e.target.value))
3046
- }, null, 42, ks), E("span", { class: O(x(q)) }, "px", 2)])]),
3047
- E("div", As, [E("label", { class: O(x(K)) }, C(x(i).table.cellPadding), 3), E("div", js, [E("input", {
3046
+ }, null, 42, ks), E("span", { class: O(x(J)) }, "px", 2)])]),
3047
+ E("div", As, [E("label", { class: O(x(q)) }, C(x(i).table.cellPadding), 3), E("div", js, [E("input", {
3048
3048
  type: "number",
3049
- class: O(x(J)),
3049
+ class: O(x(Y)),
3050
3050
  value: e.block.cellPadding,
3051
3051
  min: "0",
3052
3052
  max: "30",
3053
3053
  onInput: n[6] ||= (e) => o("cellPadding", Number(e.target.value))
3054
- }, null, 42, Ms), E("span", { class: O(x(q)) }, "px", 2)])]),
3055
- E("div", Ns, [E("label", { class: O(x(K)) }, C(x(i).table.fontFamily), 3), E("select", {
3056
- class: O(x(G)),
3054
+ }, null, 42, Ms), E("span", { class: O(x(J)) }, "px", 2)])]),
3055
+ E("div", Ns, [E("label", { class: O(x(q)) }, C(x(i).table.fontFamily), 3), E("select", {
3056
+ class: O(x(K)),
3057
3057
  value: e.block.fontFamily || "",
3058
3058
  onChange: n[7] ||= (e) => o("fontFamily", e.target.value || void 0)
3059
3059
  }, [E("option", Fs, C(x(i).title.inheritFont), 1), (s(!0), y(A, null, u(e.fontFamilies, (e) => (s(), y("option", {
3060
3060
  key: e.value,
3061
3061
  value: e.value
3062
3062
  }, C(e.label), 9, Is))), 128))], 42, Ps)]),
3063
- E("div", Ls, [E("label", { class: O(x(K)) }, C(x(i).table.fontSize), 3), E("div", Rs, [E("input", {
3063
+ E("div", Ls, [E("label", { class: O(x(q)) }, C(x(i).table.fontSize), 3), E("div", Rs, [E("input", {
3064
3064
  type: "number",
3065
- class: O(x(J)),
3065
+ class: O(x(Y)),
3066
3066
  value: e.block.fontSize,
3067
3067
  min: "10",
3068
3068
  max: "32",
3069
3069
  onInput: n[8] ||= (e) => o("fontSize", Number(e.target.value))
3070
- }, null, 42, zs), E("span", { class: O(x(q)) }, "px", 2)])]),
3071
- E("div", Bs, [E("label", { class: O(x(K)) }, C(x(i).table.color), 3), N(Y, {
3070
+ }, null, 42, zs), E("span", { class: O(x(J)) }, "px", 2)])]),
3071
+ E("div", Bs, [E("label", { class: O(x(q)) }, C(x(i).table.color), 3), N(X, {
3072
3072
  "model-value": e.block.color ?? "",
3073
3073
  "onUpdate:modelValue": n[9] ||= (e) => o("color", e || void 0)
3074
3074
  }, null, 8, ["model-value"])]),
3075
- E("div", Vs, [E("label", { class: O(x(K)) }, C(x(i).table.textAlign), 3), N(Q, {
3075
+ E("div", Vs, [E("label", { class: O(x(q)) }, C(x(i).table.textAlign), 3), N(rn, {
3076
3076
  options: [
3077
3077
  {
3078
3078
  value: "left",
3079
3079
  label: x(i).title.alignLeft,
3080
- icon: x(jt)
3080
+ icon: x(At)
3081
3081
  },
3082
3082
  {
3083
3083
  value: "center",
3084
3084
  label: x(i).title.alignCenter,
3085
- icon: x(bt)
3085
+ icon: x(yt)
3086
3086
  },
3087
3087
  {
3088
3088
  value: "right",
3089
3089
  label: x(i).title.alignRight,
3090
- icon: x(Dt)
3090
+ icon: x(Et)
3091
3091
  }
3092
3092
  ],
3093
3093
  "model-value": e.block.textAlign,
@@ -3103,13 +3103,13 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3103
3103
  },
3104
3104
  emits: ["update"],
3105
3105
  setup(e, { emit: t }) {
3106
- let n = t, { t: r } = U();
3106
+ let n = t, { t: r } = W();
3107
3107
  function i(e, t) {
3108
3108
  n("update", { [e]: t });
3109
3109
  }
3110
3110
  return (t, n) => (s(), y(A, null, [
3111
- E("div", Us, [E("label", { class: O(x(K)) }, C(x(r).title.level), 3), E("select", {
3112
- class: O(x(G)),
3111
+ E("div", Us, [E("label", { class: O(x(q)) }, C(x(r).title.level), 3), E("select", {
3112
+ class: O(x(K)),
3113
3113
  value: e.block.level,
3114
3114
  onChange: n[0] ||= (e) => i("level", Number(e.target.value))
3115
3115
  }, [
@@ -3118,34 +3118,34 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3118
3118
  E("option", qs, C(x(r).title.heading3), 1),
3119
3119
  E("option", Js, C(x(r).title.heading4), 1)
3120
3120
  ], 42, Ws)]),
3121
- E("div", Ys, [E("label", { class: O(x(K)) }, C(x(r).title.fontFamily), 3), E("select", {
3122
- class: O(x(G)),
3121
+ E("div", Ys, [E("label", { class: O(x(q)) }, C(x(r).title.fontFamily), 3), E("select", {
3122
+ class: O(x(K)),
3123
3123
  value: e.block.fontFamily || "",
3124
3124
  onChange: n[1] ||= (e) => i("fontFamily", e.target.value || void 0)
3125
3125
  }, [E("option", Zs, C(x(r).title.inheritFont), 1), (s(!0), y(A, null, u(e.fontFamilies, (e) => (s(), y("option", {
3126
3126
  key: e.value,
3127
3127
  value: e.value
3128
3128
  }, C(e.label), 9, Qs))), 128))], 42, Xs)]),
3129
- E("div", $s, [E("label", { class: O(x(K)) }, C(x(r).title.color), 3), N(Y, {
3129
+ E("div", $s, [E("label", { class: O(x(q)) }, C(x(r).title.color), 3), N(X, {
3130
3130
  "model-value": e.block.color ?? "",
3131
3131
  "onUpdate:modelValue": n[2] ||= (e) => i("color", e || void 0)
3132
3132
  }, null, 8, ["model-value"])]),
3133
- E("div", ec, [E("label", { class: O(x(K)) }, C(x(r).title.align), 3), N(Q, {
3133
+ E("div", ec, [E("label", { class: O(x(q)) }, C(x(r).title.align), 3), N(rn, {
3134
3134
  options: [
3135
3135
  {
3136
3136
  value: "left",
3137
3137
  label: x(r).title.alignLeft,
3138
- icon: x(jt)
3138
+ icon: x(At)
3139
3139
  },
3140
3140
  {
3141
3141
  value: "center",
3142
3142
  label: x(r).title.alignCenter,
3143
- icon: x(bt)
3143
+ icon: x(yt)
3144
3144
  },
3145
3145
  {
3146
3146
  value: "right",
3147
3147
  label: x(r).title.alignRight,
3148
- icon: x(Dt)
3148
+ icon: x(Et)
3149
3149
  }
3150
3150
  ],
3151
3151
  "model-value": e.block.textAlign,
@@ -3165,7 +3165,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3165
3165
  props: { block: {} },
3166
3166
  emits: ["update"],
3167
3167
  setup(e, { emit: t }) {
3168
- let n = e, r = t, { t: i } = U(), a = d(Ie, null), o = d(je, re.liquid), c = Gt(), l = v(() => !!a), u = v(() => V(n.block.url, o)), f = m(!1), { start: p } = ke(() => {
3168
+ let n = e, r = t, { t: i } = W(), a = d(Fe, null), o = d(Ae, ne.liquid), c = Wt(), l = v(() => !!a), u = v(() => H(n.block.url, o)), f = m(!1), { start: p } = Oe(() => {
3169
3169
  f.value = !1;
3170
3170
  }, 1e3, { immediate: !1 });
3171
3171
  function h(e, t) {
@@ -3177,14 +3177,14 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3177
3177
  }
3178
3178
  return (t, n) => (s(), y(A, null, [
3179
3179
  E("div", nc, [
3180
- E("label", { class: O(x(K)) }, C(x(i).video.videoUrl), 3),
3180
+ E("label", { class: O(x(q)) }, C(x(i).video.videoUrl), 3),
3181
3181
  N($, {
3182
3182
  "model-value": e.block.url,
3183
3183
  type: "url",
3184
3184
  placeholder: x(i).video.videoUrlPlaceholder,
3185
3185
  "onUpdate:modelValue": n[0] ||= (e) => h("url", e)
3186
3186
  }, null, 8, ["model-value", "placeholder"]),
3187
- e.block.url ? (s(), w(X, {
3187
+ e.block.url ? (s(), w(Z, {
3188
3188
  key: 0,
3189
3189
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
3190
3190
  "model-value": e.block.openInNewTab ?? !1,
@@ -3192,16 +3192,16 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3192
3192
  "onUpdate:modelValue": n[1] ||= (e) => h("openInNewTab", e)
3193
3193
  }, null, 8, ["model-value", "label"])) : b("", !0)
3194
3194
  ]),
3195
- u.value ? (s(), y("div", rc, [E("label", { class: O(x(K)) }, [j(C(x(i).video.placeholderUrl) + " ", 1), E("span", ic, C(x(i).video.optional), 1)], 2), E("input", {
3195
+ u.value ? (s(), y("div", rc, [E("label", { class: O(x(q)) }, [j(C(x(i).video.placeholderUrl) + " ", 1), E("span", ic, C(x(i).video.optional), 1)], 2), E("input", {
3196
3196
  type: "url",
3197
- class: O(x(G)),
3197
+ class: O(x(K)),
3198
3198
  value: e.block.placeholderUrl || "",
3199
3199
  placeholder: x(i).video.placeholderUrlPlaceholder,
3200
3200
  title: x(i).video.placeholderUrlTooltip,
3201
3201
  onInput: n[2] ||= (e) => h("placeholderUrl", e.target.value)
3202
3202
  }, null, 42, ac)])) : b("", !0),
3203
3203
  E("div", oc, [
3204
- E("label", { class: O(x(K)) }, [j(C(x(i).video.customThumbnail) + " ", 1), E("span", sc, C(x(i).video.optional), 1)], 2),
3204
+ E("label", { class: O(x(q)) }, [j(C(x(i).video.customThumbnail) + " ", 1), E("span", sc, C(x(i).video.optional), 1)], 2),
3205
3205
  N($, {
3206
3206
  "model-value": e.block.thumbnailUrl,
3207
3207
  type: "url",
@@ -3222,19 +3222,19 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3222
3222
  "background-color": "var(--tpl-bg)"
3223
3223
  },
3224
3224
  onClick: g
3225
- }, [N(x(Et), {
3225
+ }, [N(x(Tt), {
3226
3226
  size: 14,
3227
3227
  "stroke-width": 1.5
3228
3228
  }), j(" " + C(x(i).image.browseMedia), 1)])) : b("", !0)
3229
3229
  ]),
3230
- E("div", cc, [E("label", { class: O(x(K)) }, C(x(i).video.altText), 3), N($, {
3230
+ E("div", cc, [E("label", { class: O(x(q)) }, C(x(i).video.altText), 3), N($, {
3231
3231
  "model-value": e.block.alt,
3232
3232
  type: "text",
3233
3233
  placeholder: x(i).video.altTextPlaceholder,
3234
3234
  "onUpdate:modelValue": n[4] ||= (e) => h("alt", e)
3235
3235
  }, null, 8, ["model-value", "placeholder"])]),
3236
- E("div", lc, [E("label", { class: O(x(K)) }, C(x(i).video.width), 3), E("select", {
3237
- class: O(x(G)),
3236
+ E("div", lc, [E("label", { class: O(x(q)) }, C(x(i).video.width), 3), E("select", {
3237
+ class: O(x(K)),
3238
3238
  value: e.block.width,
3239
3239
  onChange: n[5] ||= (e) => h("width", e.target.value === "full" ? "full" : Number(e.target.value))
3240
3240
  }, [
@@ -3243,7 +3243,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3243
3243
  n[8] ||= E("option", { value: "400" }, "400px", -1),
3244
3244
  n[9] ||= E("option", { value: "500" }, "500px", -1)
3245
3245
  ], 42, uc)]),
3246
- E("div", fc, [E("label", { class: O(x(K)) }, C(x(i).title.align), 3), N(Q, {
3246
+ E("div", fc, [E("label", { class: O(x(q)) }, C(x(i).title.align), 3), N(rn, {
3247
3247
  options: [
3248
3248
  {
3249
3249
  value: "left",
@@ -3263,7 +3263,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3263
3263
  }, null, 8, ["options", "model-value"])])
3264
3264
  ], 64));
3265
3265
  }
3266
- }), mc = ["aria-label"], hc = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, gc = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, _c = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, vc = { class: "tpl:flex tpl:gap-1" }, yc = ["title"], bc = ["title"], xc = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Sc = /*#__PURE__*/ Ht(/* @__PURE__ */ M({
3266
+ }), mc = ["aria-label"], hc = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, gc = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, _c = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, vc = { class: "tpl:flex tpl:gap-1" }, yc = ["title"], bc = ["title"], xc = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Sc = /*#__PURE__*/ Vt(/* @__PURE__ */ M({
3267
3267
  __name: "Toolbar",
3268
3268
  props: { block: {} },
3269
3269
  emits: [
@@ -3272,20 +3272,20 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3272
3272
  "duplicate"
3273
3273
  ],
3274
3274
  setup(e, { emit: t }) {
3275
- let n = h(() => import("./CountdownToolbar-DPjcgcVR.js")), r = e, i = t, { t: a } = U(), c = Ne(nt, "Toolbar"), l = d(Qe, []), u = v(() => r.block.type), f = v(() => F(r.block)), p = v(() => {
3275
+ let n = h(() => import("./CountdownToolbar-DPjcgcVR.js")), r = e, i = t, { t: a } = W(), c = Me(tt, "Toolbar"), l = d(Ze, []), u = v(() => r.block.type), f = v(() => F(r.block)), p = v(() => {
3276
3276
  if (f.value) return l.find((e) => e.type === r.block.customType);
3277
- }), m = v(() => f.value ? p.value?.name ?? r.block.customType : ce(u.value, a)), g = c.fonts;
3277
+ }), m = v(() => f.value ? p.value?.name ?? r.block.customType : se(u.value, a)), g = c.fonts;
3278
3278
  function _(e) {
3279
3279
  i("update", e);
3280
3280
  }
3281
3281
  return (t, r) => (s(), y("aside", {
3282
3282
  "aria-label": x(a).landmarks.blockToolbar,
3283
3283
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
3284
- }, [E("div", hc, [E("div", gc, [x(Yt)[u.value] ? (s(), w(o(x(Yt)[u.value]), {
3284
+ }, [E("div", hc, [E("div", gc, [x(Jt)[u.value] ? (s(), w(o(x(Jt)[u.value]), {
3285
3285
  key: 0,
3286
3286
  size: 16,
3287
3287
  "stroke-width": 1.5
3288
- })) : f.value ? (s(), w(x(pt), {
3288
+ })) : f.value ? (s(), w(x(ft), {
3289
3289
  key: 1,
3290
3290
  size: 16,
3291
3291
  "stroke-width": 1.5
@@ -3293,14 +3293,14 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3293
3293
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)] tpl:hover:text-[var(--tpl-text)]",
3294
3294
  title: x(a).toolbar.duplicate,
3295
3295
  onClick: r[0] ||= (e) => i("duplicate")
3296
- }, [N(x(lt), {
3296
+ }, [N(x(ct), {
3297
3297
  size: 14,
3298
3298
  "stroke-width": 2
3299
3299
  })], 8, yc), E("button", {
3300
3300
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
3301
3301
  title: x(a).toolbar.delete,
3302
3302
  onClick: r[1] ||= (e) => i("delete")
3303
- }, [N(x(Ct), {
3303
+ }, [N(x(St), {
3304
3304
  size: 14,
3305
3305
  "stroke-width": 2
3306
3306
  })], 8, bc)])]), E("div", xc, [f.value ? (s(), w(Ua, {
@@ -3420,7 +3420,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3420
3420
  "update-settings"
3421
3421
  ],
3422
3422
  setup(e, { emit: t }) {
3423
- let n = h(() => import("./IssuesPanel-DKTS4QVb.js")), r = e, i = t, { t: a } = U(), o = m("content"), c = d(Me, null), l = v(() => c !== null), u = v(() => c?.issues.value.length ?? 0);
3423
+ let n = h(() => import("./IssuesPanel-DKTS4QVb.js")), r = e, i = t, { t: a } = W(), o = m("content"), c = d(je, null), l = v(() => c !== null), u = v(() => c?.issues.value.length ?? 0);
3424
3424
  function f(e) {
3425
3425
  return o.value === e ? "tpl:flex-1 tpl:text-[var(--tpl-primary)]" : "tpl:shrink-0 tpl:text-[var(--tpl-text-muted)] hover:tpl:text-[var(--tpl-text)]";
3426
3426
  }
@@ -3447,7 +3447,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3447
3447
  class: O(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", f("content")]),
3448
3448
  style: _(p("content")),
3449
3449
  onClick: r[0] ||= (e) => o.value = "content"
3450
- }, [N(x(Ft), {
3450
+ }, [N(x(Pt), {
3451
3451
  size: 14,
3452
3452
  "stroke-width": 2
3453
3453
  }), o.value === "content" ? (s(), y("span", Ec, C(x(a).sidebar.content), 1)) : b("", !0)], 14, Tc),
@@ -3461,7 +3461,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3461
3461
  class: O(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", f("settings")]),
3462
3462
  style: _(p("settings")),
3463
3463
  onClick: r[1] ||= (e) => o.value = "settings"
3464
- }, [N(x(kt), {
3464
+ }, [N(x(Ot), {
3465
3465
  size: 14,
3466
3466
  "stroke-width": 1.5
3467
3467
  }), o.value === "settings" ? (s(), y("span", Oc, C(x(a).sidebar.settings), 1)) : b("", !0)], 14, Dc),
@@ -3477,7 +3477,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3477
3477
  style: _(p("issues")),
3478
3478
  onClick: r[2] ||= (e) => o.value = "issues"
3479
3479
  }, [
3480
- N(x(Rt), {
3480
+ N(x(Lt), {
3481
3481
  size: 14,
3482
3482
  "stroke-width": 1.5
3483
3483
  }),
@@ -3492,7 +3492,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3492
3492
  onDelete: r[4] ||= (e) => i("delete-block"),
3493
3493
  onDuplicate: r[5] ||= (e) => i("duplicate-block")
3494
3494
  }, null, 8, ["block"])) : (s(), y("div", Nc, [
3495
- E("div", Pc, [N(x(At), {
3495
+ E("div", Pc, [N(x(kt), {
3496
3496
  size: 40,
3497
3497
  "stroke-width": 1.5
3498
3498
  })]),
@@ -3514,9 +3514,9 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3514
3514
  }, Vc = { class: "tpl:text-[var(--tpl-text-dim)]" }, Hc = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Uc = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Wc = /* @__PURE__ */ M({
3515
3515
  __name: "SmallScreenNotice",
3516
3516
  setup(e) {
3517
- let { t } = U();
3517
+ let { t } = W();
3518
3518
  return (e, n) => (s(), y("div", Bc, [
3519
- E("div", Vc, [N(x(at), {
3519
+ E("div", Vc, [N(x(it), {
3520
3520
  size: 48,
3521
3521
  "stroke-width": 1.5
3522
3522
  })]),
@@ -3528,12 +3528,12 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3528
3528
  "aria-label",
3529
3529
  "title",
3530
3530
  "aria-pressed"
3531
- ], Kc = /*#__PURE__*/ Ht(/* @__PURE__ */ M({
3531
+ ], Kc = /*#__PURE__*/ Vt(/* @__PURE__ */ M({
3532
3532
  __name: "PreviewToggle",
3533
3533
  props: { previewMode: { type: Boolean } },
3534
3534
  emits: ["change"],
3535
3535
  setup(e, { emit: t }) {
3536
- let n = t, { t: r } = U();
3536
+ let n = t, { t: r } = W();
3537
3537
  return (t, i) => (s(), y("button", {
3538
3538
  class: "tpl-preview-toggle tpl:relative tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:p-2 tpl:transition-all tpl:duration-150",
3539
3539
  style: _({
@@ -3551,11 +3551,11 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3551
3551
  "leave-to-class": "tpl-icon-leave-to",
3552
3552
  mode: "out-in"
3553
3553
  }, {
3554
- default: f(() => [e.previewMode ? (s(), w(x(Bt), {
3554
+ default: f(() => [e.previewMode ? (s(), w(x(zt), {
3555
3555
  key: "eye",
3556
3556
  size: 18,
3557
3557
  "stroke-width": 1.5
3558
- })) : (s(), w(x(vt), {
3558
+ })) : (s(), w(x(_t), {
3559
3559
  key: "eye-off",
3560
3560
  size: 18,
3561
3561
  "stroke-width": 1.5
@@ -3567,12 +3567,12 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3567
3567
  "aria-label",
3568
3568
  "title",
3569
3569
  "aria-pressed"
3570
- ], Jc = /*#__PURE__*/ Ht(/* @__PURE__ */ M({
3570
+ ], Jc = /*#__PURE__*/ Vt(/* @__PURE__ */ M({
3571
3571
  __name: "DarkModeToggle",
3572
3572
  props: { darkMode: { type: Boolean } },
3573
3573
  emits: ["change"],
3574
3574
  setup(e, { emit: t }) {
3575
- let n = t, { t: r } = U();
3575
+ let n = t, { t: r } = W();
3576
3576
  return (t, i) => (s(), y("button", {
3577
3577
  class: "tpl-dark-mode-toggle tpl:relative tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:p-2 tpl:transition-all tpl:duration-150",
3578
3578
  style: _({
@@ -3590,11 +3590,11 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3590
3590
  "leave-to-class": "tpl-icon-leave-to",
3591
3591
  mode: "out-in"
3592
3592
  }, {
3593
- default: f(() => [e.darkMode ? (s(), w(x(ht), {
3593
+ default: f(() => [e.darkMode ? (s(), w(x(mt), {
3594
3594
  key: "moon",
3595
3595
  size: 18,
3596
3596
  "stroke-width": 1.5
3597
- })) : (s(), w(x(St), {
3597
+ })) : (s(), w(x(xt), {
3598
3598
  key: "sun",
3599
3599
  size: 18,
3600
3600
  "stroke-width": 1.5
@@ -3619,7 +3619,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3619
3619
  __name: "EditorFooter",
3620
3620
  props: { positionClass: {} },
3621
3621
  setup(e) {
3622
- let { t } = U();
3622
+ let { t } = W();
3623
3623
  return (n, r) => (s(), y("footer", { class: O(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [E("div", Yc, [
3624
3624
  E("span", null, C(x(t).footer.poweredBy), 1),
3625
3625
  r[0] ||= E("a", {
@@ -3679,7 +3679,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3679
3679
  }, gl = "tpl-merge-tag-picker-list", _l = /* @__PURE__ */ M({
3680
3680
  __name: "MergeTagPickerModal",
3681
3681
  setup(e) {
3682
- let t = Ne(Le, "MergeTagPickerModal"), { t: n, format: i } = U(), a = d(He, null), o = d(Ve, null), c = m(""), p = Ae(c, 200), h = m(null), T = v(() => p.value.trim().length > 0), D = m(0), k = v(() => t.tags.value.some((e) => !!e.group)), j = m(/* @__PURE__ */ new Set());
3682
+ let t = Me(Ie, "MergeTagPickerModal"), { t: n, format: i } = W(), a = d(Ve, null), o = d(Be, null), c = m(""), p = ke(c, 200), h = m(null), T = v(() => p.value.trim().length > 0), D = m(0), k = v(() => t.tags.value.some((e) => !!e.group)), j = m(/* @__PURE__ */ new Set());
3683
3683
  function M(e) {
3684
3684
  return j.value.has(e);
3685
3685
  }
@@ -3687,14 +3687,14 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3687
3687
  let t = new Set(j.value);
3688
3688
  t.has(e) ? t.delete(e) : t.add(e), j.value = t, D.value = 0;
3689
3689
  }
3690
- let te = v(() => {
3690
+ let I = v(() => {
3691
3691
  let e = p.value.trim().toLowerCase();
3692
3692
  return e ? t.tags.value.filter((t) => [
3693
3693
  t.label,
3694
3694
  t.value,
3695
3695
  t.description ?? ""
3696
3696
  ].join(" ").toLowerCase().includes(e)) : t.tags.value;
3697
- }), I = v(() => {
3697
+ }), L = v(() => {
3698
3698
  if (!k.value) return [];
3699
3699
  let e = n.mergeTag.picker.otherGroup, r = /* @__PURE__ */ new Set(), i = [];
3700
3700
  for (let n of t.tags.value) {
@@ -3702,8 +3702,8 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3702
3702
  r.has(t) || (r.add(t), i.push(t));
3703
3703
  }
3704
3704
  return i;
3705
- }), L = v(() => {
3706
- let e = te.value;
3705
+ }), R = v(() => {
3706
+ let e = I.value;
3707
3707
  if (!k.value || T.value) return e.map((e, t) => ({
3708
3708
  kind: "tag",
3709
3709
  tag: e,
@@ -3728,42 +3728,42 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3728
3728
  }), o++;
3729
3729
  }
3730
3730
  return a;
3731
- }), R = v(() => L.value.flatMap((e) => e.kind === "tag" ? [e.tag] : []));
3731
+ }), z = v(() => R.value.flatMap((e) => e.kind === "tag" ? [e.tag] : []));
3732
3732
  P(() => t.isOpen.value, (e) => {
3733
3733
  e && (c.value = "", D.value = 0, j.value = /* @__PURE__ */ new Set(), l(() => {
3734
3734
  h.value?.focus();
3735
3735
  }));
3736
- }), P(R, (e) => {
3736
+ }), P(z, (e) => {
3737
3737
  D.value >= e.length && (D.value = Math.max(0, e.length - 1));
3738
3738
  });
3739
- function z(e) {
3739
+ function B(e) {
3740
3740
  t.resolve(e);
3741
3741
  }
3742
- function B() {
3742
+ function V() {
3743
3743
  t.resolve(null);
3744
3744
  }
3745
- function V(e) {
3746
- if (R.value.length === 0) return;
3745
+ function H(e) {
3746
+ if (z.value.length === 0) return;
3747
3747
  let t = D.value + e;
3748
- D.value = Math.max(0, Math.min(R.value.length - 1, t)), ae();
3748
+ D.value = Math.max(0, Math.min(z.value.length - 1, t)), ie();
3749
3749
  }
3750
- let ne = m(null), re = m({});
3751
- function ie(e, t) {
3752
- re.value[e] = t ?? null;
3750
+ let te = m(null), ne = m({});
3751
+ function re(e, t) {
3752
+ ne.value[e] = t ?? null;
3753
3753
  }
3754
- function ae() {
3754
+ function ie() {
3755
3755
  l(() => {
3756
- let e = ne.value;
3756
+ let e = te.value;
3757
3757
  e && e.querySelector(`[data-merge-tag-index="${D.value}"]`)?.scrollIntoView({ block: "nearest" });
3758
3758
  });
3759
3759
  }
3760
- function oe(e) {
3760
+ function ae(e) {
3761
3761
  if (j.value.has(e)) {
3762
3762
  let t = new Set(j.value);
3763
3763
  t.delete(e), j.value = t;
3764
3764
  }
3765
3765
  l(() => {
3766
- let t = ne.value;
3766
+ let t = te.value;
3767
3767
  if (!t) return;
3768
3768
  let n = 0, r = !1;
3769
3769
  for (let i of Array.from(t.children)) {
@@ -3779,26 +3779,26 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3779
3779
  });
3780
3780
  });
3781
3781
  }
3782
- function se(e) {
3783
- if (e.key === "ArrowDown") e.preventDefault(), V(1);
3784
- else if (e.key === "ArrowUp") e.preventDefault(), V(-1);
3782
+ function oe(e) {
3783
+ if (e.key === "ArrowDown") e.preventDefault(), H(1);
3784
+ else if (e.key === "ArrowUp") e.preventDefault(), H(-1);
3785
3785
  else if (e.key === "Enter") {
3786
3786
  e.preventDefault();
3787
- let t = R.value[D.value];
3788
- t && z(t);
3787
+ let t = z.value[D.value];
3788
+ t && B(t);
3789
3789
  }
3790
3790
  }
3791
- function H() {
3792
- if (R.value.length !== 0) return `${gl}-opt-${D.value}`;
3791
+ function U() {
3792
+ if (z.value.length !== 0) return `${gl}-opt-${D.value}`;
3793
3793
  }
3794
- function ce(e) {
3794
+ function se(e) {
3795
3795
  return `${gl}-opt-${e}`;
3796
3796
  }
3797
- let le = v(() => t.tags.value.length === 0), ue = v(() => !le.value && te.value.length === 0), de = v(() => k.value && I.value.length > 1 && !T.value);
3797
+ let ce = v(() => t.tags.value.length === 0), le = v(() => !ce.value && I.value.length === 0), ue = v(() => k.value && L.value.length > 1 && !T.value);
3798
3798
  return (e, l) => (s(), w(on, {
3799
3799
  visible: x(t).isOpen.value,
3800
- onClose: B,
3801
- onKeydown: se
3800
+ onClose: V,
3801
+ onKeydown: oe
3802
3802
  }, {
3803
3803
  default: f(() => [E("div", {
3804
3804
  role: "dialog",
@@ -3817,12 +3817,12 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3817
3817
  class: "tpl:flex tpl:h-7 tpl:w-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
3818
3818
  "aria-label": x(n).mergeTag.picker.close,
3819
3819
  "data-testid": "merge-tag-picker-close",
3820
- onClick: B
3821
- }, [N(x(Mt), {
3820
+ onClick: V
3821
+ }, [N(x(jt), {
3822
3822
  size: 16,
3823
3823
  "stroke-width": 2
3824
3824
  })], 8, tl)]),
3825
- E("div", nl, [N(x(ft), {
3825
+ E("div", nl, [N(x(dt), {
3826
3826
  class: "tpl:pointer-events-none tpl:absolute tpl:top-1/2 tpl:left-5 tpl:-translate-y-1/2 tpl:text-[var(--tpl-text-dim)]",
3827
3827
  size: 14,
3828
3828
  "stroke-width": 2
@@ -3836,30 +3836,30 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3836
3836
  placeholder: x(n).mergeTag.picker.searchPlaceholder,
3837
3837
  "aria-label": x(n).mergeTag.picker.searchAriaLabel,
3838
3838
  "aria-controls": gl,
3839
- "aria-activedescendant": H(),
3839
+ "aria-activedescendant": U(),
3840
3840
  "data-testid": "merge-tag-picker-search",
3841
3841
  onKeydown: l[1] ||= g(S(() => {}, ["prevent"]), ["enter"])
3842
3842
  }, null, 40, rl), [[ee, c.value]])]),
3843
- de.value ? (s(), y("div", il, [(s(!0), y(A, null, u(I.value, (e) => (s(), y("button", {
3843
+ ue.value ? (s(), y("div", il, [(s(!0), y(A, null, u(L.value, (e) => (s(), y("button", {
3844
3844
  key: e,
3845
3845
  type: "button",
3846
3846
  class: "tpl:flex tpl:flex-shrink-0 tpl:cursor-pointer tpl:items-center tpl:rounded-full tpl:border tpl:border-[var(--tpl-border)] tpl:bg-transparent tpl:px-2.5 tpl:py-0.5 tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
3847
3847
  "data-testid": "merge-tag-picker-group-pill",
3848
3848
  "data-group-name": e,
3849
- onClick: (t) => oe(e)
3849
+ onClick: (t) => ae(e)
3850
3850
  }, C(e), 9, al))), 128))])) : b("", !0),
3851
3851
  E("div", {
3852
3852
  id: gl,
3853
3853
  ref_key: "listRef",
3854
- ref: ne,
3854
+ ref: te,
3855
3855
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3856
3856
  role: "listbox",
3857
3857
  "aria-label": x(n).mergeTag.picker.title,
3858
3858
  "data-testid": "merge-tag-picker-list"
3859
- }, [le.value ? (s(), y("div", sl, C(x(n).mergeTag.picker.empty), 1)) : ue.value ? (s(), y("div", cl, C(x(n).mergeTag.picker.noResults), 1)) : (s(!0), y(A, { key: 2 }, u(L.value, (e, t) => (s(), y(A, { key: t }, [e.kind === "header" ? (s(), y("button", {
3859
+ }, [ce.value ? (s(), y("div", sl, C(x(n).mergeTag.picker.empty), 1)) : le.value ? (s(), y("div", cl, C(x(n).mergeTag.picker.noResults), 1)) : (s(!0), y(A, { key: 2 }, u(R.value, (e, t) => (s(), y(A, { key: t }, [e.kind === "header" ? (s(), y("button", {
3860
3860
  key: 0,
3861
3861
  ref_for: !0,
3862
- ref: (t) => ie(e.group, t),
3862
+ ref: (t) => re(e.group, t),
3863
3863
  type: "button",
3864
3864
  "aria-expanded": !M(e.group),
3865
3865
  "aria-controls": gl,
@@ -3869,7 +3869,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3869
3869
  "data-group-collapsed": M(e.group) ? "true" : "false",
3870
3870
  onClick: (t) => F(e.group)
3871
3871
  }, [
3872
- N(x(ut), {
3872
+ N(x(lt), {
3873
3873
  size: 12,
3874
3874
  "stroke-width": 2,
3875
3875
  class: O(["tpl:transition-transform", M(e.group) ? "tpl:-rotate-90" : ""])
@@ -3878,7 +3878,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3878
3878
  E("span", ul, " (" + C(x(i)(x(n).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3879
3879
  ], 8, ll)) : (s(), y("button", {
3880
3880
  key: 1,
3881
- id: ce(e.index),
3881
+ id: se(e.index),
3882
3882
  type: "button",
3883
3883
  role: "option",
3884
3884
  "aria-selected": e.index === D.value,
@@ -3889,7 +3889,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3889
3889
  class: O(["tpl:flex tpl:w-full tpl:cursor-pointer tpl:flex-col tpl:items-start tpl:gap-0.5 tpl:border-none tpl:px-3 tpl:py-1.5 tpl:text-left tpl:transition-colors", e.index === D.value ? "tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:bg-transparent tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
3890
3890
  "data-testid": "merge-tag-picker-item",
3891
3891
  onMousemove: (t) => D.value = e.index,
3892
- onClick: (t) => z(e.tag)
3892
+ onClick: (t) => B(e.tag)
3893
3893
  }, [
3894
3894
  E("span", fl, C(e.tag.label), 1),
3895
3895
  E("span", pl, C(e.tag.value), 1),
@@ -3907,7 +3907,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3907
3907
  syntax: {}
3908
3908
  },
3909
3909
  setup(e) {
3910
- let t = e, n = v(() => B(t.value, t.syntax)), r = v(() => L(t.value, t.syntax));
3910
+ let t = e, n = v(() => V(t.value, t.syntax)), r = v(() => z(t.value, t.syntax));
3911
3911
  return (e, t) => n.value ? (s(), y("span", {
3912
3912
  key: 0,
3913
3913
  class: "tpl:inline-flex tpl:flex-shrink-0 tpl:items-center tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:leading-none tpl:font-bold tpl:tracking-wide tpl:uppercase",
@@ -3952,7 +3952,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3952
3952
  }, Ll = "tpl-logic-picker-list", Rl = /* @__PURE__ */ M({
3953
3953
  __name: "LogicTagPickerModal",
3954
3954
  setup(e) {
3955
- let t = Ne(Be, "LogicTagPickerModal"), { t: n } = U(), i = d(je, re.liquid), a = d(He, null), o = d(Ve, null), c = m(""), p = Ae(c, 200), h = m(null), T = v(() => p.value.trim().length > 0), D = m(0);
3955
+ let t = Me(ze, "LogicTagPickerModal"), { t: n } = W(), i = d(Ae, ne.liquid), a = d(Ve, null), o = d(Be, null), c = m(""), p = ke(c, 200), h = m(null), T = v(() => p.value.trim().length > 0), D = m(0);
3956
3956
  function k(e) {
3957
3957
  let t = p.value.trim().toLowerCase();
3958
3958
  return !t || e.filter(Boolean).join(" ").toLowerCase().includes(t);
@@ -3974,8 +3974,8 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3974
3974
  kind: "tag",
3975
3975
  tag: e,
3976
3976
  group: e.group
3977
- }))]), te = v(() => t.tags.value.some((e) => !!e.group) || t.pairs.value.some((e) => !!e.group));
3978
- function I(e) {
3977
+ }))]), I = v(() => t.tags.value.some((e) => !!e.group) || t.pairs.value.some((e) => !!e.group));
3978
+ function L(e) {
3979
3979
  let t = n.logicTag.picker.otherGroup, r = /* @__PURE__ */ new Map(), i = [];
3980
3980
  for (let n of e) {
3981
3981
  let e = n.group ?? t;
@@ -3983,7 +3983,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3983
3983
  }
3984
3984
  return i.map((e) => [e, r.get(e)]);
3985
3985
  }
3986
- let L = v(() => {
3986
+ let R = v(() => {
3987
3987
  let e = [], t = [], n = 0, r = (r) => {
3988
3988
  r.kind === "tag" ? (e.push({
3989
3989
  kind: "tag",
@@ -3995,8 +3995,8 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
3995
3995
  index: n
3996
3996
  }), t.push(r.pair)), n++;
3997
3997
  }, i = F.value;
3998
- if (T.value || !te.value) for (let e of i) r(e);
3999
- else for (let [t, n] of I(i)) {
3998
+ if (T.value || !I.value) for (let e of i) r(e);
3999
+ else for (let [t, n] of L(i)) {
4000
4000
  e.push({
4001
4001
  kind: "header",
4002
4002
  label: t
@@ -4007,43 +4007,43 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
4007
4007
  rows: e,
4008
4008
  items: t
4009
4009
  };
4010
- }), R = v(() => L.value.items), z = v(() => t.tags.value.length === 0 && t.pairs.value.length === 0), B = v(() => !z.value && R.value.length === 0);
4010
+ }), z = v(() => R.value.items), B = v(() => t.tags.value.length === 0 && t.pairs.value.length === 0), V = v(() => !B.value && z.value.length === 0);
4011
4011
  P(() => t.isOpen.value, (e) => {
4012
4012
  e && (c.value = "", D.value = 0, l(() => h.value?.focus()));
4013
- }), P(R, (e) => {
4013
+ }), P(z, (e) => {
4014
4014
  D.value >= e.length && (D.value = Math.max(0, e.length - 1));
4015
4015
  });
4016
- let V = m(null);
4017
- function ne(e) {
4016
+ let H = m(null);
4017
+ function te(e) {
4018
4018
  t.resolve(e);
4019
4019
  }
4020
- function ie() {
4020
+ function re() {
4021
4021
  t.resolve(null);
4022
4022
  }
4023
- function ae(e) {
4024
- R.value.length !== 0 && (D.value = Math.max(0, Math.min(R.value.length - 1, D.value + e)), l(() => {
4025
- V.value?.querySelector(`[data-logic-index="${D.value}"]`)?.scrollIntoView({ block: "nearest" });
4023
+ function ie(e) {
4024
+ z.value.length !== 0 && (D.value = Math.max(0, Math.min(z.value.length - 1, D.value + e)), l(() => {
4025
+ H.value?.querySelector(`[data-logic-index="${D.value}"]`)?.scrollIntoView({ block: "nearest" });
4026
4026
  }));
4027
4027
  }
4028
- function oe(e) {
4029
- if (e.key === "ArrowDown") e.preventDefault(), ae(1);
4030
- else if (e.key === "ArrowUp") e.preventDefault(), ae(-1);
4028
+ function ae(e) {
4029
+ if (e.key === "ArrowDown") e.preventDefault(), ie(1);
4030
+ else if (e.key === "ArrowUp") e.preventDefault(), ie(-1);
4031
4031
  else if (e.key === "Enter") {
4032
4032
  e.preventDefault();
4033
- let t = R.value[D.value];
4034
- t && ne(t);
4033
+ let t = z.value[D.value];
4034
+ t && te(t);
4035
4035
  }
4036
4036
  }
4037
- function se(e) {
4037
+ function oe(e) {
4038
4038
  return `${Ll}-opt-${e}`;
4039
4039
  }
4040
- function H() {
4041
- return R.value.length === 0 ? void 0 : `${Ll}-opt-${D.value}`;
4040
+ function U() {
4041
+ return z.value.length === 0 ? void 0 : `${Ll}-opt-${D.value}`;
4042
4042
  }
4043
4043
  return (e, l) => (s(), w(on, {
4044
4044
  visible: x(t).isOpen.value,
4045
- onClose: ie,
4046
- onKeydown: oe
4045
+ onClose: re,
4046
+ onKeydown: ae
4047
4047
  }, {
4048
4048
  default: f(() => [E("div", {
4049
4049
  role: "dialog",
@@ -4062,12 +4062,12 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
4062
4062
  class: "tpl:flex tpl:h-7 tpl:w-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
4063
4063
  "aria-label": x(n).logicTag.picker.close,
4064
4064
  "data-testid": "logic-picker-close",
4065
- onClick: ie
4066
- }, [N(x(Mt), {
4065
+ onClick: re
4066
+ }, [N(x(jt), {
4067
4067
  size: 16,
4068
4068
  "stroke-width": 2
4069
4069
  })], 8, Cl)]),
4070
- E("div", wl, [N(x(ft), {
4070
+ E("div", wl, [N(x(dt), {
4071
4071
  class: "tpl:pointer-events-none tpl:absolute tpl:top-1/2 tpl:left-5 tpl:-translate-y-1/2 tpl:text-[var(--tpl-text-dim)]",
4072
4072
  size: 14,
4073
4073
  "stroke-width": 2
@@ -4081,26 +4081,26 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
4081
4081
  placeholder: x(n).logicTag.picker.searchPlaceholder,
4082
4082
  "aria-label": x(n).logicTag.picker.searchAriaLabel,
4083
4083
  "aria-controls": Ll,
4084
- "aria-activedescendant": H(),
4084
+ "aria-activedescendant": U(),
4085
4085
  "data-testid": "logic-picker-search",
4086
4086
  onKeydown: l[1] ||= g(S(() => {}, ["prevent"]), ["enter"])
4087
4087
  }, null, 40, Tl), [[ee, c.value]])]),
4088
4088
  E("div", {
4089
4089
  id: Ll,
4090
4090
  ref_key: "listRef",
4091
- ref: V,
4091
+ ref: H,
4092
4092
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
4093
4093
  role: "listbox",
4094
4094
  "aria-label": x(n).logicTag.picker.title,
4095
4095
  "data-testid": "logic-picker-list"
4096
- }, [z.value ? (s(), y("div", Dl, C(x(n).logicTag.picker.empty), 1)) : B.value ? (s(), y("div", Ol, C(x(n).logicTag.picker.noResults), 1)) : (s(!0), y(A, { key: 2 }, u(L.value.rows, (e, t) => (s(), y(A, { key: t }, [e.kind === "header" ? (s(), y("div", {
4096
+ }, [B.value ? (s(), y("div", Dl, C(x(n).logicTag.picker.empty), 1)) : V.value ? (s(), y("div", Ol, C(x(n).logicTag.picker.noResults), 1)) : (s(!0), y(A, { key: 2 }, u(R.value.rows, (e, t) => (s(), y(A, { key: t }, [e.kind === "header" ? (s(), y("div", {
4097
4097
  key: 0,
4098
4098
  class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
4099
4099
  "data-testid": "logic-picker-header",
4100
4100
  "data-group-name": e.label
4101
4101
  }, C(e.label), 9, kl)) : (s(), y("button", {
4102
4102
  key: 1,
4103
- id: se(e.index),
4103
+ id: oe(e.index),
4104
4104
  type: "button",
4105
4105
  role: "option",
4106
4106
  "aria-selected": e.index === D.value,
@@ -4110,7 +4110,7 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
4110
4110
  class: O(["tpl:flex tpl:w-full tpl:cursor-pointer tpl:flex-col tpl:items-start tpl:gap-0.5 tpl:border-none tpl:px-3 tpl:py-1.5 tpl:text-left tpl:transition-colors", e.index === D.value ? "tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:bg-transparent tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
4111
4111
  "data-testid": "logic-picker-item",
4112
4112
  onMousemove: (t) => D.value = e.index,
4113
- onClick: (t) => ne(e.kind === "tag" ? e.tag : e.pair)
4113
+ onClick: (t) => te(e.kind === "tag" ? e.tag : e.pair)
4114
4114
  }, [
4115
4115
  E("span", jl, [E("span", Ml, C(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), y("span", Nl, [N(yl, {
4116
4116
  value: e.tag.value,
@@ -4137,4 +4137,4 @@ var Ao = { class: "tpl:mb-3.5" }, jo = ["value"], Mo = ["value"], No = {
4137
4137
  //#endregion
4138
4138
  export { Kc as a, Fn as c, fn as d, dn as f, Jc as i, En as l, sn as m, _l as n, Wc as o, ln as p, Zc as r, zc as s, Rl as t, Tn as u };
4139
4139
 
4140
- //# sourceMappingURL=styles-C7s-VtJi.js.map
4140
+ //# sourceMappingURL=styles-CND3ey2g.js.map