@templatical/editor 0.6.7 → 0.7.0

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 (106) hide show
  1. package/README.md +26 -1
  2. package/dist/{AccessibilityPanel-B2MT0M58.js → AccessibilityPanel-D-PqmHdH.js} +2 -2
  3. package/dist/{AiChatSidebar-w5ek3Z76.js → AiChatSidebar-BwLECwsO.js} +1 -1
  4. package/dist/{AiFeatureMenu-ChlAWywJ.js → AiFeatureMenu-CVHKharv.js} +3 -3
  5. package/dist/{BlockA11yBadge-C0S6kPC4.js → BlockA11yBadge-BFIw0h1m.js} +2 -2
  6. package/dist/{CloudEditor-DYYaScFe.js → CloudEditor-DdZatjUe.js} +30 -21
  7. package/dist/{CollaboratorBar-Bo8vtPId.js → CollaboratorBar-VZKOv_Zn.js} +2 -2
  8. package/dist/{CommentsSidebar-BQROg36f.js → CommentsSidebar-BiRtaXYD.js} +3 -3
  9. package/dist/{CountdownBlock-Bxqe7zwL.js → CountdownBlock-Cq8A8WrM.js} +1 -1
  10. package/dist/{CountdownToolbar-CpFAnjSo.js → CountdownToolbar-CojjlZet.js} +2 -2
  11. package/dist/{DesignReferenceSidebar-CfqpcWX6.js → DesignReferenceSidebar-Ci9HIGbf.js} +2 -2
  12. package/dist/ModuleBrowserModal-D7IYx1Nh.js +206 -0
  13. package/dist/{ModulePreviewCanvas-Cw9GeGus.js → ModulePreviewCanvas-I-uMcK5G.js} +2 -2
  14. package/dist/{NumberWithSuffix-Dw8dN1Pt.js → NumberWithSuffix-CLTBb2Rj.js} +1 -1
  15. package/dist/{ParagraphEditor-DjDiUzmv.js → ParagraphEditor-BRQTNDFO.js} +156 -151
  16. package/dist/{RichTextEditorContent-CK3Om7ES.js → RichTextEditorContent-C3QSg7gd.js} +32 -28
  17. package/dist/{SaveModuleDialog-CSUPmfRP.js → SaveModuleDialog-DGGGNZfm.js} +6 -6
  18. package/dist/{SnapshotHistory-DwX2fj6N.js → SnapshotHistory-C97Iw6xw.js} +3 -3
  19. package/dist/{TemplateScoringPanel-BIAeCAEP.js → TemplateScoringPanel-V79yrEPC.js} +3 -3
  20. package/dist/{TestEmailModal-CIlBvWWn.js → TestEmailModal-B7S8H-VG.js} +3 -3
  21. package/dist/{TitleEditor-BCV5k6wj.js → TitleEditor-DhFTYzrw.js} +65 -60
  22. package/dist/{TplModal-C3Hq9b58.js → TplModal-BgABm6ju.js} +21 -17
  23. package/dist/{blockTypeIcons-iUurP50H.js → blockTypeIcons-BSf-3RJ-.js} +1 -1
  24. package/dist/bundle-stats.json +7 -7
  25. package/dist/cdn/chunks/{AccessibilityPanel-DnNB30b0.js → AccessibilityPanel-kgNBRaZV.js} +28 -28
  26. package/dist/cdn/chunks/{AccessibilityPanel-DnNB30b0.js.map → AccessibilityPanel-kgNBRaZV.js.map} +1 -1
  27. package/dist/cdn/chunks/{AiFeatureMenu-BKBh_ueF.js → AiFeatureMenu-CRkzwdMg.js} +15 -15
  28. package/dist/cdn/chunks/{AiFeatureMenu-BKBh_ueF.js.map → AiFeatureMenu-CRkzwdMg.js.map} +1 -1
  29. package/dist/cdn/chunks/{BlockA11yBadge-CnBu14Fj.js → BlockA11yBadge-BfuH2Hrg.js} +9 -9
  30. package/dist/cdn/chunks/{BlockA11yBadge-CnBu14Fj.js.map → BlockA11yBadge-BfuH2Hrg.js.map} +1 -1
  31. package/dist/cdn/chunks/{CloudEditor-CmR17piA.js → CloudEditor-h5JXI8WQ.js} +252 -243
  32. package/dist/cdn/chunks/CloudEditor-h5JXI8WQ.js.map +1 -0
  33. package/dist/cdn/chunks/{CollaboratorBar-BejZaFtY.js → CollaboratorBar-CMl3lAZU.js} +15 -15
  34. package/dist/cdn/chunks/{CollaboratorBar-BejZaFtY.js.map → CollaboratorBar-CMl3lAZU.js.map} +1 -1
  35. package/dist/cdn/chunks/{CountdownBlock-CjvUEHhE.js → CountdownBlock-D1RoaOgF.js} +18 -18
  36. package/dist/cdn/chunks/{CountdownBlock-CjvUEHhE.js.map → CountdownBlock-D1RoaOgF.js.map} +1 -1
  37. package/dist/cdn/chunks/{CountdownToolbar-Caokkqsg.js → CountdownToolbar-DltwuOer.js} +42 -42
  38. package/dist/cdn/chunks/{CountdownToolbar-Caokkqsg.js.map → CountdownToolbar-DltwuOer.js.map} +1 -1
  39. package/dist/cdn/chunks/{ModuleBrowserModal-Tb9a7L-K.js → ModuleBrowserModal-3uu2mXR9.js} +36 -36
  40. package/dist/cdn/chunks/{ModuleBrowserModal-Tb9a7L-K.js.map → ModuleBrowserModal-3uu2mXR9.js.map} +1 -1
  41. package/dist/cdn/chunks/{ModulePreviewCanvas-JWIEv5oS.js → ModulePreviewCanvas-K9CQFr7p.js} +37 -37
  42. package/dist/cdn/chunks/{ModulePreviewCanvas-JWIEv5oS.js.map → ModulePreviewCanvas-K9CQFr7p.js.map} +1 -1
  43. package/dist/cdn/chunks/{NumberWithSuffix-DrV8eumz.js → NumberWithSuffix-BIFgtqGs.js} +74 -74
  44. package/dist/cdn/chunks/{NumberWithSuffix-DrV8eumz.js.map → NumberWithSuffix-BIFgtqGs.js.map} +1 -1
  45. package/dist/cdn/chunks/{ParagraphEditor-CSfShBAO.js → ParagraphEditor-DlpZX_x4.js} +180 -176
  46. package/dist/cdn/chunks/ParagraphEditor-DlpZX_x4.js.map +1 -0
  47. package/dist/cdn/chunks/{RichTextEditorContent-DgqZzl8n.js → RichTextEditorContent-CPGT8h-O.js} +40 -37
  48. package/dist/cdn/chunks/RichTextEditorContent-CPGT8h-O.js.map +1 -0
  49. package/dist/cdn/chunks/{SaveModuleDialog-CxTwrIgx.js → SaveModuleDialog-_uaJscj1.js} +24 -24
  50. package/dist/cdn/chunks/{SaveModuleDialog-CxTwrIgx.js.map → SaveModuleDialog-_uaJscj1.js.map} +1 -1
  51. package/dist/cdn/chunks/TitleEditor-Kerz6US8.js +175 -0
  52. package/dist/cdn/chunks/TitleEditor-Kerz6US8.js.map +1 -0
  53. package/dist/cdn/chunks/{blockTypeIcons-DMt-2qR6.js → blockTypeIcons-BeOhGtoo.js} +7 -7
  54. package/dist/cdn/chunks/{blockTypeIcons-DMt-2qR6.js.map → blockTypeIcons-BeOhGtoo.js.map} +1 -1
  55. package/dist/cdn/chunks/{draggable-CNhyCGIO.js → draggable-P6QWzy4g.js} +1182 -1171
  56. package/dist/cdn/chunks/{draggable-CNhyCGIO.js.map → draggable-P6QWzy4g.js.map} +1 -1
  57. package/dist/cdn/chunks/{extensions-CUvwrffu.js → extensions-BZYkPlKr.js} +107 -108
  58. package/dist/cdn/chunks/extensions-BZYkPlKr.js.map +1 -0
  59. package/dist/cdn/chunks/{features-U3nzKc-R.js → features-DzIN-Nua.js} +925 -896
  60. package/dist/cdn/chunks/features-DzIN-Nua.js.map +1 -0
  61. package/dist/cdn/chunks/{icons-QcjADKIW.js → icons-Nvr6w13E.js} +2 -2
  62. package/dist/cdn/chunks/{icons-QcjADKIW.js.map → icons-Nvr6w13E.js.map} +1 -1
  63. package/dist/cdn/chunks/{media-library-Zcd_GInj.js → media-library-BzT7BoGU.js} +1189 -1183
  64. package/dist/cdn/chunks/media-library-BzT7BoGU.js.map +1 -0
  65. package/dist/cdn/chunks/{quality-8eo6DM3p.js → quality-C328caFm.js} +45 -45
  66. package/dist/cdn/chunks/{quality-8eo6DM3p.js.map → quality-C328caFm.js.map} +1 -1
  67. package/dist/cdn/chunks/{renderer-eHJyPiJH.js → renderer-DYpHh_uV.js} +20 -20
  68. package/dist/cdn/chunks/{renderer-eHJyPiJH.js.map → renderer-DYpHh_uV.js.map} +1 -1
  69. package/dist/cdn/chunks/{src-CthVYW_o.js → src-DKNTQJVO.js} +144 -144
  70. package/dist/cdn/chunks/{src-CthVYW_o.js.map → src-DKNTQJVO.js.map} +1 -1
  71. package/dist/cdn/chunks/{styles-CV5w3kjq.js → styles-DaTht5d7.js} +924 -899
  72. package/dist/cdn/chunks/styles-DaTht5d7.js.map +1 -0
  73. package/dist/cdn/chunks/{tiptap-IyIsncxY.js → tiptap-BwTCLVWl.js} +7 -7
  74. package/dist/cdn/chunks/{tiptap-IyIsncxY.js.map → tiptap-BwTCLVWl.js.map} +1 -1
  75. package/dist/cdn/editor.css +1 -1
  76. package/dist/cdn/editor.js +197 -146
  77. package/dist/cdn/editor.js.map +1 -1
  78. package/dist/{extensions-BF39Siqk.js → extensions-D-J02CiP.js} +50 -51
  79. package/dist/index.d.ts +56 -11
  80. package/dist/{keys-Bqs_0du9.js → keys-B5SJtPWf.js} +3 -3
  81. package/dist/style.css +1 -1
  82. package/dist/{styles-BgmKdc2x.js → styles-D_fEz49o.js} +497 -472
  83. package/dist/templatical-editor.js +182 -131
  84. package/dist/{useCloudI18n-CL_AwWwi.js → useCloudI18n-ByEMykjO.js} +1 -1
  85. package/dist/{useEditorCore-CnXrv71D.js → useEditorCore-uCU9Ny0M.js} +637 -619
  86. package/dist/{useI18n-CgmQftNf.js → useI18n-PEB8ioi_.js} +1 -1
  87. package/dist/{useMergeTag-vpwrZ9eQ.js → useMergeTag-C47xwU7X.js} +2 -2
  88. package/dist/usePopoverRoot-BxJrqnMD.js +8 -0
  89. package/package.json +7 -7
  90. package/dist/ModuleBrowserModal-CKhsaPnA.js +0 -206
  91. package/dist/cdn/chunks/CloudEditor-CmR17piA.js.map +0 -1
  92. package/dist/cdn/chunks/ParagraphEditor-CSfShBAO.js.map +0 -1
  93. package/dist/cdn/chunks/RichTextEditorContent-DgqZzl8n.js.map +0 -1
  94. package/dist/cdn/chunks/TitleEditor-DlqV7ODD.js +0 -171
  95. package/dist/cdn/chunks/TitleEditor-DlqV7ODD.js.map +0 -1
  96. package/dist/cdn/chunks/extensions-CUvwrffu.js.map +0 -1
  97. package/dist/cdn/chunks/features-U3nzKc-R.js.map +0 -1
  98. package/dist/cdn/chunks/media-library-Zcd_GInj.js.map +0 -1
  99. package/dist/cdn/chunks/styles-CV5w3kjq.js.map +0 -1
  100. /package/dist/{de-DcVOh9Fp.js → de-BhIWu_bO.js} +0 -0
  101. /package/dist/{de-DCaaCE5s.js → de-Di4MEjjx.js} +0 -0
  102. /package/dist/{emojiData-PQyVa4bU.js → emojiData-DX3E0XT-.js} +0 -0
  103. /package/dist/{en-DXCyK4-X.js → en-BSuzi-Pd.js} +0 -0
  104. /package/dist/{en-TZVJ_f6v.js → en-D7HRbYah.js} +0 -0
  105. /package/dist/{pt-BR-Vq7D7c11.js → pt-BR-CCVBRais.js} +0 -0
  106. /package/dist/{pt-BR-BMGasLBa.js → pt-BR-K32lt6YP.js} +0 -0
@@ -1,13 +1,13 @@
1
- import { F as e, H as t, L as n, M as r, O as i, P as a, T as o, V as s, Y as c, Z as l, at as u, b as d, c as f, f as p, g as m, h, l as g, m as _, n as v, o as y, ot as b, p as x, rt as S, s as C, st as w, t as T, u as E, v as D, x as O, y as k, z as A } from "./draggable-CNhyCGIO.js";
2
- import { A as j, At as ee, B as M, Bt as te, Ct as N, Dt as ne, F as P, G as re, Gt as ie, H as ae, I as F, It as oe, Jt as se, K as ce, Kt as le, L as ue, M as de, Mt as fe, N as pe, Nt as I, P as L, Pt as me, Q as he, R as ge, Rt as _e, Sn as ve, St as ye, Tt as be, U as xe, Ut as Se, V as Ce, W as we, Wt as Te, Yt as Ee, Z as De, _t as Oe, bn as R, bt as ke, ct as Ae, en as je, fn as Me, ft as Ne, gn as Pe, j as Fe, ln as Ie, mn as Le, nt as Re, ot as ze, pn as Be, qt as Ve, rt as He, tt as z, un as Ue, vn as We, vt as Ge, xt as Ke, yn as qe, yt as Je, zt as Ye } from "./features-U3nzKc-R.js";
3
- import { E as B, F as V, G as Xe, I as Ze, L as Qe, N as $e, P as et, Q as tt, V as nt, Y as rt, c as H, d as it, g as at, h as ot, j as st, k as ct, l as lt, o as ut, s as dt, v as ft, x as pt, y as mt } from "./icons-QcjADKIW.js";
4
- import { t as ht } from "./readableTextColor-DhoK4XiZ.js";
5
- import { t as gt } from "./CountdownBlock-CjvUEHhE.js";
6
- import { t as _t } from "./blockTypeIcons-DMt-2qR6.js";
7
- import { _ as vt, c as yt, f as U, g as bt, h as W, l as xt, m as G, p as K, t as St } from "./styleConstants-DP1VOca8.js";
8
- import { i as q, n as J, r as Y, t as Ct } from "./NumberWithSuffix-DrV8eumz.js";
1
+ import { F as e, H as t, L as n, M as r, O as i, P as a, T as o, V as s, Y as c, Z as l, b as u, c as d, ct as f, f as p, g as m, h, it as g, l as _, m as v, n as y, o as b, ot as x, p as S, s as C, st as w, t as T, u as E, v as D, x as O, y as k, z as A } from "./draggable-P6QWzy4g.js";
2
+ import { $ as j, Bt as ee, Cn as M, Ct as te, Et as N, F as P, Ft as ne, G as re, Gt as F, H as ie, I, Jt as L, K as ae, Kt as oe, L as se, Lt as ce, M as le, N as ue, Nt as de, Ot as fe, P as pe, Pt as R, Q as me, R as he, St as ge, U as _e, V as ve, Vt as ye, W as be, Wt as xe, Xt as z, Yt as Se, _n as Ce, bn as we, bt as Te, dn as Ee, hn as De, it as Oe, j as ke, jt as Ae, lt as je, mn as Me, nt as B, pn as Ne, pt as Pe, q as Fe, qt as Ie, rt as Le, st as Re, tn as ze, un as Be, vt as Ve, wt as He, xn as V, xt as Ue, yn as We, yt as Ge, z as Ke, zt as qe } from "./features-DzIN-Nua.js";
3
+ import { E as H, F as U, G as Je, I as Ye, L as Xe, N as Ze, P as Qe, Q as $e, V as et, Y as tt, c as nt, d as rt, g as it, h as at, j as ot, k as st, l as ct, o as lt, s as ut, v as dt, x as ft, y as pt } from "./icons-Nvr6w13E.js";
4
+ import { t as mt } from "./readableTextColor-DhoK4XiZ.js";
5
+ import { t as ht } from "./CountdownBlock-D1RoaOgF.js";
6
+ import { t as gt } from "./blockTypeIcons-BeOhGtoo.js";
7
+ import { _ as _t, c as vt, f as W, g as yt, h as G, l as bt, m as K, p as q, t as xt } from "./styleConstants-DP1VOca8.js";
8
+ import { i as J, n as Y, r as X, t as St } from "./NumberWithSuffix-BIFgtqGs.js";
9
9
  //#region src/utils/resolveAccessibilityOptions.ts
10
- function wt(e) {
10
+ function Ct(e) {
11
11
  return {
12
12
  ...e.accessibility,
13
13
  locale: e.locale
@@ -15,19 +15,19 @@ function wt(e) {
15
15
  }
16
16
  //#endregion
17
17
  //#region src/components/Canvas.vue?vue&type=script&setup=true&lang.ts
18
- var Tt = ["aria-label"], Et = { class: "tpl:relative" }, Dt = {
19
- class: "tpl:inline-flex tpl:size-3 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[8px] tpl:font-bold",
20
- style: { "background-color": "color-mix(\n in srgb,\n var(--tpl-bg) 30%,\n transparent\n )" }
21
- }, Ot = {
18
+ var wt = ["aria-label"], Tt = {
22
19
  key: 0,
23
- class: "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:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg-elevated)] tpl:font-[var(--tpl-font-family)]"
24
- }, kt = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, At = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, jt = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, Mt = {
20
+ class: "tpl-canvas-empty-content tpl:flex tpl:flex-col tpl:items-center"
21
+ }, Et = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, Dt = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, Ot = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, kt = {
25
22
  key: 0,
26
23
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-center tpl:gap-x-1 tpl:gap-y-0.5 tpl:text-sm tpl:text-[var(--tpl-text-dim)]"
27
- }, Nt = {
24
+ }, At = {
28
25
  key: 1,
29
26
  class: "tpl:m-0 tpl:mt-4 tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-center tpl:gap-x-1 tpl:gap-y-0.5 tpl:text-sm tpl:text-[var(--tpl-text-dim)]"
30
- }, Pt = /* @__PURE__ */ z(/* @__PURE__ */ O({
27
+ }, jt = { class: "tpl:relative" }, Mt = {
28
+ class: "tpl:inline-flex tpl:size-3 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[8px] tpl:font-bold",
29
+ style: { "background-color": "color-mix(\n in srgb,\n var(--tpl-bg) 30%,\n transparent\n )" }
30
+ }, Nt = /* @__PURE__ */ B(/* @__PURE__ */ O({
31
31
  __name: "Canvas",
32
32
  props: {
33
33
  viewport: {},
@@ -44,49 +44,58 @@ var Tt = ["aria-label"], Et = { class: "tpl:relative" }, Dt = {
44
44
  ],
45
45
  setup(e, { emit: i }) {
46
46
  let c = {
47
- section: F,
48
- title: ue,
49
- paragraph: Ce,
50
- image: xe,
51
- button: ee,
52
- divider: re,
53
- spacer: de,
54
- html: we,
47
+ section: se,
48
+ title: he,
49
+ paragraph: ie,
50
+ image: be,
51
+ button: Ae,
52
+ divider: ae,
53
+ spacer: ue,
54
+ html: re,
55
55
  social: pe,
56
- menu: ae,
57
- table: Fe,
58
- video: j,
59
- countdown: gt,
60
- custom: ce
61
- }, l = e, d = i, { t: f } = I(), { t: g } = he(), v = je(le, "Canvas"), y = o(Se, null), O = o(Ye, null), A = o(te, {}), N = p(() => (A.plan?.hasFeature("ai_generation") ?? !1) && (A.ai?.isFeatureEnabled("chat") ?? !1)), ne = p(() => (A.plan?.hasFeature("ai_generation") ?? !1) && (A.ai?.isFeatureEnabled("designToTemplate") ?? !1)), P = p({
62
- get: () => l.content.blocks,
56
+ menu: _e,
57
+ table: le,
58
+ video: ke,
59
+ countdown: ht,
60
+ custom: Fe
61
+ }, u = e, d = i, { t: _ } = R(), { t: y } = j(), b = ze(Ie, "Canvas"), O = o(xe, null), A = o(ee, null), M = o(ye, {}), te = p(() => (M.plan?.hasFeature("ai_generation") ?? !1) && (M.ai?.isFeatureEnabled("chat") ?? !1)), N = p(() => (M.plan?.hasFeature("ai_generation") ?? !1) && (M.ai?.isFeatureEnabled("designToTemplate") ?? !1)), P = p({
62
+ get: () => u.content.blocks,
63
63
  set: (e) => {
64
- v.setContent({
65
- ...l.content,
64
+ b.setContent({
65
+ ...u.content,
66
66
  blocks: e
67
67
  });
68
68
  }
69
- }), ie = p(() => {
70
- switch (l.viewport) {
69
+ }), ne = p(() => {
70
+ switch (u.viewport) {
71
71
  case "mobile": return 375;
72
72
  case "tablet": return 768;
73
- default: return l.content.settings.width;
73
+ default: return u.content.settings.width;
74
74
  }
75
- }), oe = p(() => ({
76
- backgroundColor: l.content.settings.backgroundColor,
77
- fontFamily: l.content.settings.fontFamily
78
- }));
79
- function se(e) {
80
- l.previewMode || e.target === e.currentTarget && d("select-block", null);
75
+ }), F = p(() => ({
76
+ backgroundColor: u.content.settings.backgroundColor,
77
+ fontFamily: u.content.settings.fontFamily
78
+ })), I = p(() => P.value.length === 0 && !u.previewMode), L = l(0), oe = p(() => I.value && L.value > 0);
79
+ function ce() {
80
+ I.value && (L.value += 1);
81
+ }
82
+ function de() {
83
+ I.value && (L.value = Math.max(0, L.value - 1));
84
+ }
85
+ function fe() {
86
+ L.value = 0;
81
87
  }
82
- function fe(e) {
83
- return M(e, O, c);
88
+ function me(e) {
89
+ u.previewMode || e.target === e.currentTarget && d("select-block", null);
84
90
  }
85
- function L(e) {
86
- return l.lockedBlocks?.get(e) ?? null;
91
+ function ge(e) {
92
+ return ve(e, A, c);
87
93
  }
88
- function me(e, t) {
89
- e.type === "custom" && v.updateBlock(e.id, {
94
+ function z(e) {
95
+ return u.lockedBlocks?.get(e) ?? null;
96
+ }
97
+ function Se(e, t) {
98
+ e.type === "custom" && b.updateBlock(e.id, {
90
99
  fieldValues: t.fieldValues,
91
100
  dataSourceFetched: t.dataSourceFetched
92
101
  });
@@ -94,25 +103,25 @@ var Tt = ["aria-label"], Et = { class: "tpl:relative" }, Dt = {
94
103
  return (i, o) => (r(), m("div", {
95
104
  "data-testid": "canvas-wrapper",
96
105
  role: "region",
97
- "aria-label": S(f).landmarks.canvas,
106
+ "aria-label": g(_).landmarks.canvas,
98
107
  class: "tpl-canvas-wrapper tpl:rounded-lg",
99
- style: b({
100
- width: `${ie.value}px`,
108
+ style: w({
109
+ width: `${ne.value}px`,
101
110
  backgroundColor: e.content.settings.backgroundColor,
102
111
  boxShadow: e.darkMode ? "none" : "var(--tpl-shadow-xl)",
103
112
  filter: e.darkMode ? "invert(1) hue-rotate(180deg)" : "none",
104
113
  transition: "width 300ms cubic-bezier(0.34, 1.56, 0.64, 1), filter 300ms ease"
105
114
  })
106
- }, [x("div", {
107
- class: u(["tpl-canvas tpl:rounded-lg", {
115
+ }, [S("div", {
116
+ class: x(["tpl-canvas tpl:rounded-lg", {
108
117
  "tpl-canvas--dark-mode": e.darkMode,
109
118
  "tpl-preview-mode": e.previewMode
110
119
  }]),
111
- style: b(oe.value),
112
- onClick: se
113
- }, [k(S(T), {
120
+ style: w(F.value),
121
+ onClick: me
122
+ }, [k(g(T), {
114
123
  modelValue: P.value,
115
- "onUpdate:modelValue": o[0] ||= (e) => P.value = e,
124
+ "onUpdate:modelValue": o[2] ||= (e) => P.value = e,
116
125
  group: "blocks",
117
126
  animation: 150,
118
127
  "ghost-class": "tpl-ghost",
@@ -121,33 +130,74 @@ var Tt = ["aria-label"], Et = { class: "tpl:relative" }, Dt = {
121
130
  "invert-swap": !0,
122
131
  "inverted-swap-threshold": .65,
123
132
  disabled: e.previewMode,
124
- class: "tpl-canvas-blocks tpl:min-h-[400px]"
133
+ draggable: ".tpl-block-item",
134
+ class: x([
135
+ "tpl-canvas-blocks",
136
+ I.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" : "",
137
+ I.value && oe.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
138
+ I.value && !oe.value ? "tpl:border-[var(--tpl-primary)]" : ""
139
+ ]),
140
+ onDragenter: ce,
141
+ onDragleave: de,
142
+ onDrop: fe
125
143
  }, {
126
- default: s(() => [(r(!0), m(E, null, a(P.value, (i) => t((r(), m("div", { key: i.id }, [x("div", Et, [L(i.id) ? (r(), m("div", {
144
+ default: s(() => [I.value ? (r(), m("div", Tt, [
145
+ S("div", Et, [k(g(it), {
146
+ size: 48,
147
+ "stroke-width": 1
148
+ })]),
149
+ S("p", Dt, f(g(_).canvas.noBlocks), 1),
150
+ S("p", Ot, f(g(_).canvas.dragHint), 1),
151
+ te.value && g(y) ? (r(), m("p", kt, [
152
+ D(f(g(_).canvas.aiHintChat) + " ", 1),
153
+ S("button", {
154
+ 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)]",
155
+ onClick: o[0] ||= (e) => d("open-ai-chat")
156
+ }, [k(g(je), {
157
+ size: 14,
158
+ "stroke-width": 2
159
+ }), D(" " + f(g(y).aiMenu.aiAssistant), 1)]),
160
+ D(" " + f(g(_).canvas.aiHintChatSuffix), 1)
161
+ ])) : h("", !0),
162
+ N.value && g(y) ? (r(), m("p", At, [
163
+ D(f(g(_).canvas.aiHintDesign) + " ", 1),
164
+ S("button", {
165
+ 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)]",
166
+ onClick: o[1] ||= (e) => d("open-design-reference")
167
+ }, [k(g(Te), {
168
+ size: 14,
169
+ "stroke-width": 2
170
+ }), D(" " + f(g(y).aiMenu.designToTemplate), 1)]),
171
+ D(" " + f(g(_).canvas.aiHintDesignSuffix), 1)
172
+ ])) : h("", !0)
173
+ ])) : h("", !0), (r(!0), m(E, null, a(P.value, (i) => t((r(), m("div", {
174
+ key: i.id,
175
+ class: "tpl-block-item"
176
+ }, [S("div", jt, [z(i.id) ? (r(), m("div", {
127
177
  key: 0,
128
178
  class: "tpl-collab-lock tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-[4] tpl:rounded-sm",
129
- style: b({
130
- outline: `2px solid ${L(i.id).color}`,
179
+ style: w({
180
+ outline: `2px solid ${z(i.id).color}`,
131
181
  outlineOffset: "-1px"
132
182
  })
133
- }, [x("span", {
183
+ }, [S("span", {
134
184
  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",
135
- style: b({
136
- backgroundColor: L(i.id).color,
137
- color: S(ht)(L(i.id).color)
185
+ style: w({
186
+ backgroundColor: z(i.id).color,
187
+ color: g(mt)(z(i.id).color)
138
188
  })
139
- }, [x("span", Dt, w(L(i.id).name.charAt(0)), 1), D(" " + w(L(i.id).name), 1)], 4)], 4)) : h("", !0), k(ge, {
189
+ }, [S("span", Mt, f(z(i.id).name.charAt(0)), 1), D(" " + f(z(i.id).name), 1)], 4)], 4)) : h("", !0), k(Ke, {
140
190
  block: i,
141
- "is-selected": !e.previewMode && e.selectedBlockId === i.id && !L(i.id),
191
+ "is-selected": !e.previewMode && e.selectedBlockId === i.id && !z(i.id),
142
192
  viewport: e.viewport,
143
193
  "preview-mode": e.previewMode,
144
- onSelect: (t) => e.previewMode || L(i.id) ? void 0 : d("select-block", i.id)
194
+ onSelect: (t) => e.previewMode || z(i.id) ? void 0 : d("select-block", i.id)
145
195
  }, {
146
- default: s(() => [(r(), _(n(fe(i)), {
196
+ default: s(() => [(r(), v(n(ge(i)), {
147
197
  block: i,
148
198
  viewport: e.viewport,
149
- onFetchData: (e) => me(i, e),
150
- onUpdate: (e) => S(v).updateBlock(i.id, e)
199
+ onFetchData: (e) => Se(i, e),
200
+ onUpdate: (e) => g(b).updateBlock(i.id, e)
151
201
  }, null, 40, [
152
202
  "block",
153
203
  "viewport",
@@ -161,60 +211,35 @@ var Tt = ["aria-label"], Et = { class: "tpl:relative" }, Dt = {
161
211
  "viewport",
162
212
  "preview-mode",
163
213
  "onSelect"
164
- ])])])), [[C, !S(y)?.isHidden(i.id)]])), 128))]),
214
+ ])])])), [[C, !g(O)?.isHidden(i.id)]])), 128))]),
165
215
  _: 1
166
- }, 8, ["modelValue", "disabled"]), P.value.length === 0 && !e.previewMode ? (r(), m("div", Ot, [
167
- x("div", kt, [k(S(at), {
168
- size: 48,
169
- "stroke-width": 1
170
- })]),
171
- x("p", At, w(S(f).canvas.noBlocks), 1),
172
- x("p", jt, w(S(f).canvas.dragHint), 1),
173
- N.value && S(g) ? (r(), m("p", Mt, [
174
- D(w(S(f).canvas.aiHintChat) + " ", 1),
175
- x("button", {
176
- 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)]",
177
- onClick: o[1] ||= (e) => d("open-ai-chat")
178
- }, [k(S(Ae), {
179
- size: 14,
180
- "stroke-width": 2
181
- }), D(" " + w(S(g).aiMenu.aiAssistant), 1)]),
182
- D(" " + w(S(f).canvas.aiHintChatSuffix), 1)
183
- ])) : h("", !0),
184
- ne.value && S(g) ? (r(), m("p", Nt, [
185
- D(w(S(f).canvas.aiHintDesign) + " ", 1),
186
- x("button", {
187
- 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)]",
188
- onClick: o[2] ||= (e) => d("open-design-reference")
189
- }, [k(S(Je), {
190
- size: 14,
191
- "stroke-width": 2
192
- }), D(" " + w(S(g).aiMenu.designToTemplate), 1)]),
193
- D(" " + w(S(f).canvas.aiHintDesignSuffix), 1)
194
- ])) : h("", !0)
195
- ])) : h("", !0)], 6)], 12, Tt));
216
+ }, 8, [
217
+ "modelValue",
218
+ "disabled",
219
+ "class"
220
+ ])], 6)], 12, wt));
196
221
  }
197
- }), [["__scopeId", "data-v-78ebd4cf"]]), Ft = ["aria-label"], It = {
222
+ }), [["__scopeId", "data-v-14168e8c"]]), Pt = ["aria-label"], Ft = {
198
223
  key: 0,
199
224
  class: "tpl:border-b tpl:px-1 tpl:pb-1 tpl:border-[var(--tpl-border)]"
200
- }, Lt = ["aria-label"], Rt = {
225
+ }, It = ["aria-label"], Lt = {
201
226
  key: 0,
202
227
  class: "tpl:flex-1 tpl:truncate tpl:text-sm tpl:font-medium"
203
- }, zt = {
228
+ }, Rt = {
204
229
  key: 1,
205
230
  class: "tpl:shrink-0 tpl:rounded-full tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)]"
206
- }, Bt = [
231
+ }, zt = [
207
232
  "data-palette-type",
208
233
  "aria-label",
209
234
  "onClick",
210
235
  "onKeydown"
211
- ], Vt = { class: "tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:transition-transform tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:scale-105" }, Ht = {
236
+ ], Bt = { class: "tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:transition-transform tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:scale-105" }, Vt = {
212
237
  key: 0,
213
238
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
214
- }, Ut = /* @__PURE__ */ O({
239
+ }, Ht = /* @__PURE__ */ O({
215
240
  __name: "Sidebar",
216
241
  setup(e) {
217
- let { t, format: i } = I(), { t: c } = he(), u = o(Te, []), d = o(_e, void 0), f = o(le, null), g = o(te, {}), v = p(() => (g.savedModules?.moduleCount.value ?? 0) > 0), y = l(!1), C = [
242
+ let { t, format: i } = R(), { t: c } = j(), u = o(F, []), d = o(qe, void 0), _ = o(Ie, null), y = o(ye, {}), b = p(() => (y.savedModules?.moduleCount.value ?? 0) > 0), x = l(!1), C = [
218
243
  "section",
219
244
  "image",
220
245
  "title",
@@ -230,11 +255,11 @@ var Tt = ["aria-label"], Et = { class: "tpl:relative" }, Dt = {
230
255
  ], D = p(() => {
231
256
  let e = C.map((e) => ({
232
257
  type: e,
233
- label: fe(e, t)
258
+ label: de(e, t)
234
259
  }));
235
- return g.plan && e.splice(-1, 0, {
260
+ return y.plan && e.splice(-1, 0, {
236
261
  type: "countdown",
237
- label: fe("countdown", t)
262
+ label: de("countdown", t)
238
263
  }), e;
239
264
  }), O = p(() => u.map((e) => ({
240
265
  type: `custom:${e.type}`,
@@ -242,57 +267,57 @@ var Tt = ["aria-label"], Et = { class: "tpl:relative" }, Dt = {
242
267
  isCustom: !0,
243
268
  icon: e.icon
244
269
  }))), A = p(() => [...D.value, ...O.value]);
245
- function j(e) {
270
+ function ee(e) {
246
271
  if (e.isCustom) {
247
272
  let t = e.type.replace("custom:", ""), n = u.find((e) => e.type === t);
248
- if (n) return qe(n);
273
+ if (n) return we(n);
249
274
  }
250
275
  return We(e.type, d);
251
276
  }
252
- function ee(e) {
253
- if (!f) return;
254
- let t = j(e);
255
- f.addBlock(t), f.selectBlock(t.id);
277
+ function M(e) {
278
+ if (!_) return;
279
+ let t = ee(e);
280
+ _.addBlock(t), _.selectBlock(t.id);
256
281
  }
257
- function M(e, t) {
258
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), ee(t));
282
+ function te(e, t) {
283
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), M(t));
259
284
  }
260
285
  return (e, o) => (r(), m("aside", {
261
- "aria-label": S(t).sidebarNav.palette,
286
+ "aria-label": g(t).sidebarNav.palette,
262
287
  class: "tpl-sidebar-rail tpl:absolute tpl:top-14 tpl:bottom-0 tpl:left-0 tpl:z-40 tpl:overflow-hidden",
263
- style: b({
264
- width: y.value ? "200px" : "48px",
288
+ style: w({
289
+ width: x.value ? "200px" : "48px",
265
290
  backgroundColor: "var(--tpl-bg-elevated)",
266
291
  borderRight: "1px solid var(--tpl-border)",
267
- boxShadow: y.value ? "var(--tpl-shadow-lg)" : "none",
292
+ boxShadow: x.value ? "var(--tpl-shadow-lg)" : "none",
268
293
  transition: "width 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1)"
269
294
  }),
270
- onMouseenter: o[1] ||= (e) => y.value = !0,
271
- onMouseleave: o[2] ||= (e) => y.value = !1,
272
- onFocusin: o[3] ||= (e) => y.value = !0,
273
- onFocusout: o[4] ||= (e) => y.value = !1
274
- }, [v.value && S(c) ? (r(), m("div", It, [x("button", {
295
+ onMouseenter: o[1] ||= (e) => x.value = !0,
296
+ onMouseleave: o[2] ||= (e) => x.value = !1,
297
+ onFocusin: o[3] ||= (e) => x.value = !0,
298
+ onFocusout: o[4] ||= (e) => x.value = !1
299
+ }, [b.value && g(c) ? (r(), m("div", Ft, [S("button", {
275
300
  type: "button",
276
- "aria-label": S(t).sidebarNav.browseModules,
301
+ "aria-label": g(t).sidebarNav.browseModules,
277
302
  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)]",
278
- style: b({ justifyContent: y.value ? "flex-start" : "center" }),
279
- onClick: o[0] ||= (e) => S(g).savedModules?.openBrowser()
303
+ style: w({ justifyContent: x.value ? "flex-start" : "center" }),
304
+ onClick: o[0] ||= (e) => g(y).savedModules?.openBrowser()
280
305
  }, [
281
- k(S(st), {
306
+ k(g(ot), {
282
307
  size: 20,
283
308
  "stroke-width": 1.5,
284
309
  class: "tpl:shrink-0"
285
310
  }),
286
- y.value ? (r(), m("span", Rt, w(S(c).modules.title), 1)) : h("", !0),
287
- y.value ? (r(), m("span", zt, w(S(g).savedModules?.moduleCount.value ?? 0), 1)) : h("", !0)
288
- ], 12, Lt)])) : h("", !0), k(S(T), {
311
+ x.value ? (r(), m("span", Lt, f(g(c).modules.title), 1)) : h("", !0),
312
+ x.value ? (r(), m("span", Rt, f(g(y).savedModules?.moduleCount.value ?? 0), 1)) : h("", !0)
313
+ ], 12, It)])) : h("", !0), k(g(T), {
289
314
  "model-value": A.value,
290
315
  group: {
291
316
  name: "blocks",
292
317
  pull: "clone",
293
318
  put: !1
294
319
  },
295
- clone: j,
320
+ clone: ee,
296
321
  sort: !1,
297
322
  animation: 150,
298
323
  "ghost-class": "tpl-ghost",
@@ -302,28 +327,28 @@ var Tt = ["aria-label"], Et = { class: "tpl:relative" }, Dt = {
302
327
  key: e.type,
303
328
  type: "button",
304
329
  "data-palette-type": e.type,
305
- "aria-label": S(i)(S(t).sidebarNav.insertBlock, { block: e.label }),
330
+ "aria-label": g(i)(g(t).sidebarNav.insertBlock, { block: e.label }),
306
331
  class: "tpl:flex tpl:h-10 tpl:w-full 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",
307
- style: b({ justifyContent: y.value ? "flex-start" : "center" }),
308
- onClick: (t) => ee(e),
309
- onKeydown: (t) => M(t, e)
310
- }, [x("div", Vt, [S(_t)[e.type] ? (r(), _(n(S(_t)[e.type]), {
332
+ style: w({ justifyContent: x.value ? "flex-start" : "center" }),
333
+ onClick: (t) => M(e),
334
+ onKeydown: (t) => te(t, e)
335
+ }, [S("div", Bt, [g(gt)[e.type] ? (r(), v(n(g(gt)[e.type]), {
311
336
  key: 0,
312
337
  size: 20,
313
338
  "stroke-width": 1.5
314
- })) : e.isCustom ? (r(), _(Re, {
339
+ })) : e.isCustom ? (r(), v(Le, {
315
340
  key: 1,
316
341
  icon: e.icon,
317
342
  size: 20
318
- }, null, 8, ["icon"])) : h("", !0)]), y.value ? (r(), m("span", Ht, w(e.label), 1)) : h("", !0)], 44, Bt))), 128))]),
343
+ }, null, 8, ["icon"])) : h("", !0)]), x.value ? (r(), m("span", Vt, f(e.label), 1)) : h("", !0)], 44, zt))), 128))]),
319
344
  _: 1
320
- }, 8, ["model-value"])], 44, Ft));
345
+ }, 8, ["model-value"])], 44, Pt));
321
346
  }
322
347
  });
323
348
  //#endregion
324
349
  //#region src/composables/useMergeTagField.ts
325
- function Wt(e) {
326
- let { modelValue: t, emit: n, elementRef: r } = e, { canRequestMergeTag: a, isRequesting: o, isMergeTagValue: s, getMergeTagLabel: c, requestMergeTag: u, syntax: d } = De(), f = l(!1), m = !1, h = p(() => {
350
+ function Ut(e) {
351
+ let { modelValue: t, emit: n, elementRef: r } = e, { canRequestMergeTag: a, isRequesting: o, isMergeTagValue: s, getMergeTagLabel: c, requestMergeTag: u, syntax: d } = me(), f = l(!1), m = !1, h = p(() => {
327
352
  let e = t();
328
353
  if (!e) return [];
329
354
  let n = [], r = `(${d.value.source}|${d.logic.source})`, i = new RegExp(r, "g"), a = 0, o;
@@ -337,10 +362,10 @@ function Wt(e) {
337
362
  type: "mergeTag",
338
363
  value: t,
339
364
  label: c(t)
340
- }) : Pe(t, d) ? n.push({
365
+ }) : Ce(t, d) ? n.push({
341
366
  type: "logicMergeTag",
342
367
  value: t,
343
- keyword: Le(t, d)
368
+ keyword: De(t, d)
344
369
  }) : n.push({
345
370
  type: "text",
346
371
  value: t
@@ -399,10 +424,10 @@ function Wt(e) {
399
424
  }
400
425
  //#endregion
401
426
  //#region src/components/MergeTagSegments.vue?vue&type=script&setup=true&lang.ts
402
- var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip"], Jt = {
427
+ var Wt = ["aria-label", "onKeydown"], Gt = ["data-tooltip"], Kt = ["data-tooltip"], qt = {
403
428
  key: 2,
404
429
  class: "tpl:text-sm tpl:text-[var(--tpl-text)]"
405
- }, Yt = ["aria-label", "title"], Xt = /* @__PURE__ */ O({
430
+ }, Jt = ["aria-label", "title"], Yt = /* @__PURE__ */ O({
406
431
  __name: "MergeTagSegments",
407
432
  props: {
408
433
  segments: {},
@@ -411,17 +436,17 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
411
436
  },
412
437
  emits: ["edit", "clear"],
413
438
  setup(e, { emit: t }) {
414
- let n = t, { t: i } = I();
439
+ let n = t, { t: i } = R();
415
440
  function o() {
416
441
  n("edit");
417
442
  }
418
443
  return (t, s) => (r(), m("div", {
419
444
  role: "button",
420
445
  tabindex: "0",
421
- "aria-label": S(i).mergeTag.clickToEdit,
422
- class: u([e.displayClass, { "tpl-pulse-fill": e.pulse }]),
446
+ "aria-label": g(i).mergeTag.clickToEdit,
447
+ class: x([e.displayClass, { "tpl-pulse-fill": e.pulse }]),
423
448
  onClick: o,
424
- onKeydown: [f(o, ["enter"]), f(g(o, ["prevent"]), ["space"])]
449
+ onKeydown: [d(o, ["enter"]), d(_(o, ["prevent"]), ["space"])]
425
450
  }, [(r(!0), m(E, null, a(e.segments, (e, t) => (r(), m(E, { key: `${e.type}-${t}-${e.value}` }, [e.type === "mergeTag" ? (r(), m("span", {
426
451
  key: 0,
427
452
  class: "tpl-tooltip tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.9em] tpl:font-medium",
@@ -430,7 +455,7 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
430
455
  "background-color": "color-mix(\n in srgb,\n var(--tpl-primary) 20%,\n transparent\n )",
431
456
  color: "var(--tpl-primary)"
432
457
  }
433
- }, w(e.label), 9, Kt)) : e.type === "logicMergeTag" ? (r(), m("span", {
458
+ }, f(e.label), 9, Gt)) : e.type === "logicMergeTag" ? (r(), m("span", {
434
459
  key: 1,
435
460
  class: "tpl-tooltip tpl:inline-flex tpl:items-center tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.8em] tpl:font-bold tpl:tracking-wide tpl:uppercase",
436
461
  "data-tooltip": e.value,
@@ -439,44 +464,44 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
439
464
  border: "1.5px solid\n color-mix(in srgb, var(--tpl-primary) 50%, transparent)",
440
465
  color: "var(--tpl-primary)"
441
466
  }
442
- }, w(e.keyword), 9, qt)) : (r(), m("span", Jt, w(e.value), 1))], 64))), 128)), x("button", {
467
+ }, f(e.keyword), 9, Kt)) : (r(), m("span", qt, f(e.value), 1))], 64))), 128)), S("button", {
443
468
  type: "button",
444
469
  class: "tpl:ml-auto tpl:flex tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-full tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-[var(--tpl-text-dim)] tpl:opacity-60 tpl:transition-all hover:tpl:text-[var(--tpl-danger)] hover:tpl:opacity-100",
445
- "aria-label": S(i).mergeTag.remove,
446
- title: S(i).mergeTag.remove,
447
- onClick: s[0] ||= g((e) => n("clear"), ["stop"])
448
- }, [k(S(He), {
470
+ "aria-label": g(i).mergeTag.remove,
471
+ title: g(i).mergeTag.remove,
472
+ onClick: s[0] ||= _((e) => n("clear"), ["stop"])
473
+ }, [k(g(Oe), {
449
474
  size: 12,
450
475
  "stroke-width": 2.5
451
- })], 8, Yt)], 42, Gt));
476
+ })], 8, Jt)], 42, Wt));
452
477
  }
453
- }), Zt = [
478
+ }), Xt = [
454
479
  "aria-label",
455
480
  "title",
456
481
  "disabled"
457
- ], Qt = "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs 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)] hover:tpl:border-[var(--tpl-primary)]", $t = /* @__PURE__ */ O({
482
+ ], Zt = "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs 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)] hover:tpl:border-[var(--tpl-primary)]", Qt = /* @__PURE__ */ O({
458
483
  __name: "MergeTagInsertButton",
459
484
  props: { disabled: { type: Boolean } },
460
485
  emits: ["insert"],
461
486
  setup(e) {
462
- let { t } = I();
487
+ let { t } = R();
463
488
  return (n, i) => (r(), m("button", {
464
489
  type: "button",
465
- class: u([Qt, "tpl:mt-1.5"]),
466
- "aria-label": S(t).mergeTag.insert,
467
- title: S(t).mergeTag.insert,
490
+ class: x([Zt, "tpl:mt-1.5"]),
491
+ "aria-label": g(t).mergeTag.insert,
492
+ title: g(t).mergeTag.insert,
468
493
  disabled: e.disabled,
469
494
  onClick: i[0] ||= (e) => n.$emit("insert")
470
- }, [k(S(pt), {
495
+ }, [k(g(ft), {
471
496
  size: 12,
472
497
  "stroke-width": 2
473
- }), D(" " + w(S(t).mergeTag.insert), 1)], 10, Zt));
498
+ }), D(" " + f(g(t).mergeTag.insert), 1)], 10, Xt));
474
499
  }
475
- }), en = { key: 0 }, tn = { key: 1 }, nn = [
500
+ }), $t = { key: 0 }, en = { key: 1 }, tn = [
476
501
  "value",
477
502
  "placeholder",
478
503
  "rows"
479
- ], rn = "tpl:w-full tpl:resize-y tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:placeholder:text-[var(--tpl-text-dim)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", an = "tpl:flex tpl:w-full tpl:min-h-[5rem] tpl:cursor-pointer tpl:items-start 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 tpl:py-2 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", on = /* @__PURE__ */ O({
504
+ ], nn = "tpl:w-full tpl:resize-y tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:placeholder:text-[var(--tpl-text-dim)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", rn = "tpl:flex tpl:w-full tpl:min-h-[5rem] tpl:cursor-pointer tpl:items-start 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 tpl:py-2 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", an = /* @__PURE__ */ O({
480
505
  __name: "MergeTagTextarea",
481
506
  props: {
482
507
  modelValue: {},
@@ -485,46 +510,46 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
485
510
  },
486
511
  emits: ["update:modelValue"],
487
512
  setup(e, { emit: t }) {
488
- let n = e, i = t, a = l(null), { segments: o, hasMergeTags: s, canRequestMergeTag: c, isRequestingMergeTag: d, isEditing: p, startEditing: g, stopEditing: v, handleInput: y, clearValue: b, insertMergeTag: C } = Wt({
513
+ let n = e, i = t, a = l(null), { segments: o, hasMergeTags: s, canRequestMergeTag: c, isRequestingMergeTag: u, isEditing: f, startEditing: p, stopEditing: _, handleInput: y, clearValue: b, insertMergeTag: C } = Ut({
489
514
  modelValue: () => n.modelValue,
490
515
  emit: (e) => i("update:modelValue", e),
491
516
  elementRef: a
492
517
  });
493
- return (t, n) => S(s) && !S(p) ? (r(), m("div", en, [k(Xt, {
494
- segments: S(o),
495
- "display-class": an,
496
- onEdit: S(g),
497
- onClear: S(b)
518
+ return (t, n) => g(s) && !g(f) ? (r(), m("div", $t, [k(Yt, {
519
+ segments: g(o),
520
+ "display-class": rn,
521
+ onEdit: g(p),
522
+ onClear: g(b)
498
523
  }, null, 8, [
499
524
  "segments",
500
525
  "onEdit",
501
526
  "onClear"
502
- ]), S(c) ? (r(), _($t, {
527
+ ]), g(c) ? (r(), v(Qt, {
503
528
  key: 0,
504
- disabled: S(d),
505
- onInsert: S(C)
506
- }, null, 8, ["disabled", "onInsert"])) : h("", !0)])) : (r(), m("div", tn, [x("textarea", {
529
+ disabled: g(u),
530
+ onInsert: g(C)
531
+ }, null, 8, ["disabled", "onInsert"])) : h("", !0)])) : (r(), m("div", en, [S("textarea", {
507
532
  ref_key: "textareaRef",
508
533
  ref: a,
509
- class: u(rn),
534
+ class: x(nn),
510
535
  value: e.modelValue,
511
536
  placeholder: e.placeholder,
512
537
  rows: e.rows,
513
- onInput: n[0] ||= (...e) => S(y) && S(y)(...e),
514
- onBlur: n[1] ||= (...e) => S(v) && S(v)(...e),
515
- onKeydown: n[2] ||= f((...e) => S(v) && S(v)(...e), ["escape"])
516
- }, null, 40, nn), S(c) ? (r(), _($t, {
538
+ onInput: n[0] ||= (...e) => g(y) && g(y)(...e),
539
+ onBlur: n[1] ||= (...e) => g(_) && g(_)(...e),
540
+ onKeydown: n[2] ||= d((...e) => g(_) && g(_)(...e), ["escape"])
541
+ }, null, 40, tn), g(c) ? (r(), v(Qt, {
517
542
  key: 0,
518
- disabled: S(d),
519
- onInsert: S(C)
543
+ disabled: g(u),
544
+ onInsert: g(C)
520
545
  }, null, 8, ["disabled", "onInsert"])) : h("", !0)]));
521
546
  }
522
- }), sn = { class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]" }, cn = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:gap-3 tpl:overflow-y-auto tpl:p-4" }, ln = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, un = { class: "tpl:mb-3.5" }, dn = { class: "tpl:grid tpl:grid-cols-4 tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, fn = ["onClick"], pn = { class: "tpl:flex tpl:items-stretch" }, mn = ["value"], hn = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, gn = { class: "tpl:mb-3.5" }, _n = ["value"], vn = ["value"], yn = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, bn = ["value"], xn = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Sn = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Cn = { class: "tpl:mt-1 tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, wn = { class: "tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Tn = { class: "tpl:shrink-0 tpl:text-xs tpl:tabular-nums tpl:text-[var(--tpl-text-dim)]" }, En = { class: "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3" }, Dn = { class: "tpl:mb-2.5 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text-muted)]" }, On = { class: "tpl:m-0 tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, kn = { class: "tpl:mb-1 tpl:last:mb-0" }, An = { class: "tpl:mb-1 tpl:last:mb-0" }, jn = { class: "tpl:mb-1 tpl:last:mb-0" }, Mn = 150, Nn = /* @__PURE__ */ O({
547
+ }), on = { class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]" }, sn = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:gap-3 tpl:overflow-y-auto tpl:p-4" }, cn = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ln = { class: "tpl:mb-3.5" }, un = { class: "tpl:grid tpl:grid-cols-4 tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, dn = ["onClick"], fn = { class: "tpl:flex tpl:items-stretch" }, pn = ["value"], mn = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, hn = { class: "tpl:mb-3.5" }, gn = ["value"], _n = ["value"], vn = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, yn = ["value"], bn = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, xn = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Sn = { class: "tpl:mt-1 tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, Cn = { class: "tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, wn = { class: "tpl:shrink-0 tpl:text-xs tpl:tabular-nums tpl:text-[var(--tpl-text-dim)]" }, Tn = { class: "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3" }, En = { class: "tpl:mb-2.5 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text-muted)]" }, Dn = { class: "tpl:m-0 tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, On = { class: "tpl:mb-1 tpl:last:mb-0" }, kn = { class: "tpl:mb-1 tpl:last:mb-0" }, An = { class: "tpl:mb-1 tpl:last:mb-0" }, jn = 150, Mn = /* @__PURE__ */ O({
523
548
  __name: "TemplateSettings",
524
549
  props: { settings: {} },
525
550
  emits: ["update"],
526
551
  setup(e, { emit: t }) {
527
- let n = e, i = t, { t: o } = I(), s = je(Ve, "TemplateSettings"), c = p(() => s.fonts.value), l = p(() => c.value.some((e) => e.value === n.settings.fontFamily) ? n.settings.fontFamily : s.defaultFont.value), d = [
552
+ let n = e, i = t, { t: o } = R(), s = ze(L, "TemplateSettings"), c = p(() => s.fonts.value), l = p(() => c.value.some((e) => e.value === n.settings.fontFamily) ? n.settings.fontFamily : s.defaultFont.value), u = [
528
553
  {
529
554
  value: 480,
530
555
  label: "480px"
@@ -542,95 +567,95 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
542
567
  label: "800px"
543
568
  }
544
569
  ];
545
- return (t, n) => (r(), m("aside", sn, [x("div", cn, [
546
- x("div", { class: u(S(xt)) }, [
547
- x("div", ln, [k(S(ot), {
570
+ return (t, n) => (r(), m("aside", on, [S("div", sn, [
571
+ S("div", { class: x(g(bt)) }, [
572
+ S("div", cn, [k(g(at), {
548
573
  class: "tpl:text-[var(--tpl-text-muted)]",
549
574
  size: 14,
550
575
  "stroke-width": 2
551
- }), x("span", null, w(S(o).templateSettings.layout), 1)]),
552
- x("div", un, [x("label", { class: u(S(W)) }, w(S(o).templateSettings.widthPreset), 3), x("div", dn, [(r(), m(E, null, a(d, (t) => x("button", {
576
+ }), S("span", null, f(g(o).templateSettings.layout), 1)]),
577
+ S("div", ln, [S("label", { class: x(g(G)) }, f(g(o).templateSettings.widthPreset), 3), S("div", un, [(r(), m(E, null, a(u, (t) => S("button", {
553
578
  key: t.value,
554
579
  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)]",
555
- style: b({
580
+ style: w({
556
581
  backgroundColor: e.settings.width === t.value ? "var(--tpl-bg)" : "transparent",
557
582
  color: e.settings.width === t.value ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
558
583
  boxShadow: e.settings.width === t.value ? "var(--tpl-shadow)" : "none"
559
584
  }),
560
585
  onClick: (e) => i("update", { width: t.value })
561
- }, w(t.label), 13, fn)), 64))])]),
562
- x("div", null, [x("label", { class: u(S(W)) }, w(S(o).templateSettings.customWidth), 3), x("div", pn, [x("input", {
586
+ }, f(t.label), 13, dn)), 64))])]),
587
+ S("div", null, [S("label", { class: x(g(G)) }, f(g(o).templateSettings.customWidth), 3), S("div", fn, [S("input", {
563
588
  type: "number",
564
- class: u(S(K)),
589
+ class: x(g(q)),
565
590
  value: e.settings.width,
566
591
  min: "300",
567
592
  max: "900",
568
593
  onInput: n[0] ||= (e) => i("update", { width: Number(e.target.value) })
569
- }, null, 42, mn), x("span", { class: u(S(G)) }, "px", 2)])])
594
+ }, null, 42, pn), S("span", { class: x(g(K)) }, "px", 2)])])
570
595
  ], 2),
571
- x("div", { class: u(S(xt)) }, [
572
- x("div", hn, [k(S(rt), {
596
+ S("div", { class: x(g(bt)) }, [
597
+ S("div", mn, [k(g(tt), {
573
598
  class: "tpl:text-[var(--tpl-text-muted)]",
574
599
  size: 14,
575
600
  "stroke-width": 2
576
- }), x("span", null, w(S(o).templateSettings.appearance), 1)]),
577
- x("div", gn, [x("label", { class: u(S(W)) }, w(S(o).templateSettings.backgroundColor), 3), k(q, {
601
+ }), S("span", null, f(g(o).templateSettings.appearance), 1)]),
602
+ S("div", hn, [S("label", { class: x(g(G)) }, f(g(o).templateSettings.backgroundColor), 3), k(J, {
578
603
  "model-value": e.settings.backgroundColor,
579
- placeholder: S(St),
604
+ placeholder: g(xt),
580
605
  "onUpdate:modelValue": n[1] ||= (e) => i("update", { backgroundColor: e })
581
606
  }, null, 8, ["model-value", "placeholder"])]),
582
- x("div", null, [x("label", { class: u(S(W)) }, w(S(o).templateSettings.fontFamily), 3), x("select", {
583
- class: u(S(U)),
607
+ S("div", null, [S("label", { class: x(g(G)) }, f(g(o).templateSettings.fontFamily), 3), S("select", {
608
+ class: x(g(W)),
584
609
  value: l.value,
585
610
  onChange: n[2] ||= (e) => i("update", { fontFamily: e.target.value })
586
611
  }, [(r(!0), m(E, null, a(c.value, (e) => (r(), m("option", {
587
612
  key: e.value,
588
613
  value: e.value
589
- }, w(e.label), 9, vn))), 128))], 42, _n)])
614
+ }, f(e.label), 9, _n))), 128))], 42, gn)])
590
615
  ], 2),
591
- x("div", { class: u(S(xt)) }, [x("div", yn, [k(S(Xe), {
616
+ S("div", { class: x(g(bt)) }, [S("div", vn, [k(g(Je), {
592
617
  class: "tpl:text-[var(--tpl-text-muted)]",
593
618
  size: 14,
594
619
  "stroke-width": 2
595
- }), x("span", null, w(S(o).templateSettings.language), 1)]), x("div", null, [
596
- x("label", { class: u(S(W)) }, w(S(o).templateSettings.contentLocale), 3),
597
- x("input", {
620
+ }), S("span", null, f(g(o).templateSettings.language), 1)]), S("div", null, [
621
+ S("label", { class: x(g(G)) }, f(g(o).templateSettings.contentLocale), 3),
622
+ S("input", {
598
623
  type: "text",
599
- class: u(S(U)),
624
+ class: x(g(W)),
600
625
  value: e.settings.locale ?? "",
601
626
  placeholder: "en",
602
627
  spellcheck: "false",
603
628
  autocapitalize: "off",
604
629
  autocomplete: "off",
605
630
  onInput: n[3] ||= (e) => i("update", { locale: e.target.value.trim() || void 0 })
606
- }, null, 42, bn),
607
- x("p", xn, w(S(o).templateSettings.contentLocaleHint), 1)
631
+ }, null, 42, yn),
632
+ S("p", bn, f(g(o).templateSettings.contentLocaleHint), 1)
608
633
  ])], 2),
609
- x("div", { class: u(S(xt)) }, [x("div", Sn, [k(S(ke), {
634
+ S("div", { class: x(g(bt)) }, [S("div", xn, [k(g(Ue), {
610
635
  class: "tpl:text-[var(--tpl-text-muted)]",
611
636
  size: 14,
612
637
  "stroke-width": 2
613
- }), x("span", null, w(S(o).templateSettings.preheaderText), 1)]), x("div", null, [k(on, {
638
+ }), S("span", null, f(g(o).templateSettings.preheaderText), 1)]), S("div", null, [k(an, {
614
639
  "model-value": e.settings.preheaderText ?? "",
615
- placeholder: S(o).templateSettings.preheaderTextPlaceholder,
640
+ placeholder: g(o).templateSettings.preheaderTextPlaceholder,
616
641
  rows: 2,
617
642
  "onUpdate:modelValue": n[4] ||= (e) => i("update", { preheaderText: e.replace(/[\r\n]/g, " ") || void 0 })
618
- }, null, 8, ["model-value", "placeholder"]), x("div", Cn, [x("span", wn, w(S(o).templateSettings.preheaderTextHint), 1), x("span", Tn, w((e.settings.preheaderText ?? "").length) + "/" + w(Mn), 1)])])], 2),
619
- x("div", En, [x("div", Dn, [k(S(Oe), {
643
+ }, null, 8, ["model-value", "placeholder"]), S("div", Sn, [S("span", Cn, f(g(o).templateSettings.preheaderTextHint), 1), S("span", wn, f((e.settings.preheaderText ?? "").length) + "/" + f(jn), 1)])])], 2),
644
+ S("div", Tn, [S("div", En, [k(g(Ve), {
620
645
  size: 14,
621
646
  "stroke-width": 2
622
- }), x("span", null, w(S(o).templateSettings.tips), 1)]), x("ul", On, [
623
- x("li", kn, w(S(o).templateSettings.tip1), 1),
624
- x("li", An, w(S(o).templateSettings.tip2), 1),
625
- x("li", jn, w(S(o).templateSettings.tip3), 1)
647
+ }), S("span", null, f(g(o).templateSettings.tips), 1)]), S("ul", Dn, [
648
+ S("li", On, f(g(o).templateSettings.tip1), 1),
649
+ S("li", kn, f(g(o).templateSettings.tip2), 1),
650
+ S("li", An, f(g(o).templateSettings.tip3), 1)
626
651
  ])])
627
652
  ])]));
628
653
  }
629
- }), Pn = { key: 0 }, Fn = { key: 1 }, In = [
654
+ }), Nn = { key: 0 }, Pn = { key: 1 }, Fn = [
630
655
  "type",
631
656
  "value",
632
657
  "placeholder"
633
- ], Ln = "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)]", X = /* @__PURE__ */ z(/* @__PURE__ */ O({
658
+ ], In = "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)]", Z = /* @__PURE__ */ B(/* @__PURE__ */ O({
634
659
  __name: "MergeTagInput",
635
660
  props: {
636
661
  modelValue: {},
@@ -643,46 +668,46 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
643
668
  },
644
669
  emits: ["update:modelValue"],
645
670
  setup(e, { emit: t }) {
646
- let n = e, i = t, a = l(null), { segments: o, hasMergeTags: s, canRequestMergeTag: c, isRequestingMergeTag: d, isEditing: p, startEditing: g, stopEditing: v, handleInput: y, clearValue: b, insertMergeTag: C } = Wt({
671
+ let n = e, i = t, a = l(null), { segments: o, hasMergeTags: s, canRequestMergeTag: c, isRequestingMergeTag: u, isEditing: f, startEditing: p, stopEditing: _, handleInput: y, clearValue: b, insertMergeTag: C } = Ut({
647
672
  modelValue: () => n.modelValue,
648
673
  emit: (e) => i("update:modelValue", e),
649
674
  elementRef: a
650
675
  });
651
- return (t, n) => S(s) && !S(p) ? (r(), m("div", Pn, [k(Xt, {
652
- segments: S(o),
653
- "display-class": Ln,
676
+ return (t, n) => g(s) && !g(f) ? (r(), m("div", Nn, [k(Yt, {
677
+ segments: g(o),
678
+ "display-class": In,
654
679
  pulse: e.pulse,
655
- onEdit: S(g),
656
- onClear: S(b)
680
+ onEdit: g(p),
681
+ onClear: g(b)
657
682
  }, null, 8, [
658
683
  "segments",
659
684
  "pulse",
660
685
  "onEdit",
661
686
  "onClear"
662
- ]), S(c) ? (r(), _($t, {
687
+ ]), g(c) ? (r(), v(Qt, {
663
688
  key: 0,
664
- disabled: S(d),
665
- onInsert: S(C)
666
- }, null, 8, ["disabled", "onInsert"])) : h("", !0)])) : (r(), m("div", Fn, [x("input", {
689
+ disabled: g(u),
690
+ onInsert: g(C)
691
+ }, null, 8, ["disabled", "onInsert"])) : h("", !0)])) : (r(), m("div", Pn, [S("input", {
667
692
  ref_key: "inputRef",
668
693
  ref: a,
669
694
  type: e.type,
670
- class: u([S(U), { "tpl-pulse-fill": e.pulse }]),
695
+ class: x([g(W), { "tpl-pulse-fill": e.pulse }]),
671
696
  value: e.modelValue,
672
697
  placeholder: e.placeholder,
673
- onInput: n[0] ||= (...e) => S(y) && S(y)(...e),
674
- onBlur: n[1] ||= (...e) => S(v) && S(v)(...e),
675
- onKeydown: n[2] ||= f((...e) => S(v) && S(v)(...e), ["escape"])
676
- }, null, 42, In), S(c) ? (r(), _($t, {
698
+ onInput: n[0] ||= (...e) => g(y) && g(y)(...e),
699
+ onBlur: n[1] ||= (...e) => g(_) && g(_)(...e),
700
+ onKeydown: n[2] ||= d((...e) => g(_) && g(_)(...e), ["escape"])
701
+ }, null, 42, Fn), g(c) ? (r(), v(Qt, {
677
702
  key: 0,
678
- disabled: S(d),
679
- onInsert: S(C)
703
+ disabled: g(u),
704
+ onInsert: g(C)
680
705
  }, null, 8, ["disabled", "onInsert"])) : h("", !0)]));
681
706
  }
682
- }), [["__scopeId", "data-v-358207dd"]]), Rn = { class: "tpl:mb-3.5" }, zn = ["value"], Bn = { value: "" }, Vn = ["value"], Hn = { class: "tpl:mb-3.5" }, Un = { class: "tpl:mb-3.5" }, Wn = {
707
+ }), [["__scopeId", "data-v-358207dd"]]), Ln = { class: "tpl:mb-3.5" }, Rn = ["value"], zn = { value: "" }, Bn = ["value"], Vn = { class: "tpl:mb-3.5" }, Hn = { class: "tpl:mb-3.5" }, Un = {
683
708
  key: 0,
684
709
  class: "tpl:mt-2 tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]"
685
- }, Gn = ["checked"], Kn = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, qn = { class: "tpl:mb-3.5" }, Jn = { class: "tpl:mb-3.5" }, Yn = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Xn = { class: "tpl:mb-3.5" }, Zn = { class: "tpl:flex tpl:items-stretch" }, Qn = ["value"], $n = { class: "tpl:mb-3.5" }, er = { class: "tpl:flex tpl:items-stretch" }, tr = ["value"], nr = /* @__PURE__ */ O({
710
+ }, Wn = ["checked"], Gn = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Kn = { class: "tpl:mb-3.5" }, qn = { class: "tpl:mb-3.5" }, Jn = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Yn = { class: "tpl:mb-3.5" }, Xn = { class: "tpl:flex tpl:items-stretch" }, Zn = ["value"], Qn = { class: "tpl:mb-3.5" }, $n = { class: "tpl:flex tpl:items-stretch" }, er = ["value"], tr = /* @__PURE__ */ O({
686
711
  __name: "ButtonToolbar",
687
712
  props: {
688
713
  block: {},
@@ -690,64 +715,64 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
690
715
  },
691
716
  emits: ["update"],
692
717
  setup(e, { emit: t }) {
693
- let n = t, { t: i } = I();
718
+ let n = t, { t: i } = R();
694
719
  function o(e, t) {
695
720
  n("update", { [e]: t });
696
721
  }
697
722
  return (t, n) => (r(), m(E, null, [
698
- x("div", Rn, [x("label", { class: u(S(W)) }, w(S(i).button.fontFamily), 3), x("select", {
699
- class: u(S(U)),
723
+ S("div", Ln, [S("label", { class: x(g(G)) }, f(g(i).button.fontFamily), 3), S("select", {
724
+ class: x(g(W)),
700
725
  value: e.block.fontFamily || "",
701
726
  onChange: n[0] ||= (e) => o("fontFamily", e.target.value || void 0)
702
- }, [x("option", Bn, w(S(i).button.inheritFont), 1), (r(!0), m(E, null, a(e.fontFamilies, (e) => (r(), m("option", {
727
+ }, [S("option", zn, f(g(i).button.inheritFont), 1), (r(!0), m(E, null, a(e.fontFamilies, (e) => (r(), m("option", {
703
728
  key: e.value,
704
729
  value: e.value
705
- }, w(e.label), 9, Vn))), 128))], 42, zn)]),
706
- x("div", Hn, [x("label", { class: u(S(W)) }, w(S(i).button.text), 3), k(X, {
730
+ }, f(e.label), 9, Bn))), 128))], 42, Rn)]),
731
+ S("div", Vn, [S("label", { class: x(g(G)) }, f(g(i).button.text), 3), k(Z, {
707
732
  "model-value": e.block.text,
708
733
  type: "text",
709
734
  "onUpdate:modelValue": n[1] ||= (e) => o("text", e)
710
735
  }, null, 8, ["model-value"])]),
711
- x("div", Un, [
712
- x("label", { class: u(S(W)) }, w(S(i).button.url), 3),
713
- k(X, {
736
+ S("div", Hn, [
737
+ S("label", { class: x(g(G)) }, f(g(i).button.url), 3),
738
+ k(Z, {
714
739
  "model-value": e.block.url,
715
740
  type: "url",
716
- placeholder: S(i).button.urlPlaceholder,
741
+ placeholder: g(i).button.urlPlaceholder,
717
742
  "onUpdate:modelValue": n[2] ||= (e) => o("url", e)
718
743
  }, null, 8, ["model-value", "placeholder"]),
719
- e.block.url ? (r(), m("label", Wn, [x("input", {
744
+ e.block.url ? (r(), m("label", Un, [S("input", {
720
745
  type: "checkbox",
721
746
  class: "tpl:size-3.5 tpl:cursor-pointer tpl:accent-[var(--tpl-primary)]",
722
747
  checked: e.block.openInNewTab ?? !1,
723
748
  onChange: n[3] ||= (e) => o("openInNewTab", e.target.checked)
724
- }, null, 40, Gn), D(" " + w(S(i).button.openInNewTab), 1)])) : h("", !0)
749
+ }, null, 40, Wn), D(" " + f(g(i).button.openInNewTab), 1)])) : h("", !0)
725
750
  ]),
726
- x("div", Kn, [x("div", qn, [x("label", { class: u(S(W)) }, w(S(i).button.background), 3), k(q, {
751
+ S("div", Gn, [S("div", Kn, [S("label", { class: x(g(G)) }, f(g(i).button.background), 3), k(J, {
727
752
  "model-value": e.block.backgroundColor,
728
753
  "onUpdate:modelValue": n[4] ||= (e) => o("backgroundColor", e)
729
- }, null, 8, ["model-value"])]), x("div", Jn, [x("label", { class: u(S(W)) }, w(S(i).button.textColor), 3), k(q, {
754
+ }, null, 8, ["model-value"])]), S("div", qn, [S("label", { class: x(g(G)) }, f(g(i).button.textColor), 3), k(J, {
730
755
  "model-value": e.block.textColor,
731
756
  "onUpdate:modelValue": n[5] ||= (e) => o("textColor", e)
732
757
  }, null, 8, ["model-value"])])]),
733
- x("div", Yn, [x("div", Xn, [x("label", { class: u(S(W)) }, w(S(i).button.borderRadius), 3), x("div", Zn, [x("input", {
758
+ S("div", Jn, [S("div", Yn, [S("label", { class: x(g(G)) }, f(g(i).button.borderRadius), 3), S("div", Xn, [S("input", {
734
759
  type: "number",
735
- class: u(S(K)),
760
+ class: x(g(q)),
736
761
  value: e.block.borderRadius,
737
762
  min: "0",
738
763
  max: "50",
739
764
  onInput: n[6] ||= (e) => o("borderRadius", Number(e.target.value))
740
- }, null, 42, Qn), x("span", { class: u(S(G)) }, "px", 2)])]), x("div", $n, [x("label", { class: u(S(W)) }, w(S(i).button.fontSize), 3), x("div", er, [x("input", {
765
+ }, null, 42, Zn), S("span", { class: x(g(K)) }, "px", 2)])]), S("div", Qn, [S("label", { class: x(g(G)) }, f(g(i).button.fontSize), 3), S("div", $n, [S("input", {
741
766
  type: "number",
742
- class: u(S(K)),
767
+ class: x(g(q)),
743
768
  value: e.block.fontSize,
744
769
  min: "10",
745
770
  max: "36",
746
771
  onInput: n[7] ||= (e) => o("fontSize", Number(e.target.value))
747
- }, null, 42, tr), x("span", { class: u(S(G)) }, "px", 2)])])])
772
+ }, null, 42, er), S("span", { class: x(g(K)) }, "px", 2)])])])
748
773
  ], 64));
749
774
  }
750
- }), rr = { class: "spacing-control" }, ir = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ar = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, or = { class: "tpl:flex tpl:items-center" }, sr = ["aria-label"], cr = ["value", "aria-label"], lr = ["aria-label"], ur = { class: "tpl:flex tpl:items-center tpl:gap-2" }, dr = { class: "tpl:flex tpl:items-center" }, fr = ["aria-label"], pr = ["value", "aria-label"], mr = ["aria-label"], hr = ["aria-label", "title"], gr = { class: "tpl:flex tpl:items-center" }, _r = ["aria-label"], vr = ["value", "aria-label"], yr = ["aria-label"], br = { class: "tpl:flex tpl:items-center" }, xr = ["aria-label"], Sr = ["value", "aria-label"], Cr = ["aria-label"], Z = "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)]", wr = "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)]", Tr = /* @__PURE__ */ z(/* @__PURE__ */ O({
775
+ }), nr = { class: "spacing-control" }, rr = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ir = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, ar = { class: "tpl:flex tpl:items-center" }, or = ["aria-label"], sr = ["value", "aria-label"], cr = ["aria-label"], lr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ur = { class: "tpl:flex tpl:items-center" }, dr = ["aria-label"], fr = ["value", "aria-label"], pr = ["aria-label"], mr = ["aria-label", "title"], hr = { class: "tpl:flex tpl:items-center" }, gr = ["aria-label"], _r = ["value", "aria-label"], vr = ["aria-label"], yr = { class: "tpl:flex tpl:items-center" }, br = ["aria-label"], xr = ["value", "aria-label"], Sr = ["aria-label"], Q = "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)]", Cr = "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)]", wr = /* @__PURE__ */ B(/* @__PURE__ */ O({
751
776
  __name: "SpacingControl",
752
777
  props: {
753
778
  modelValue: {},
@@ -755,7 +780,7 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
755
780
  },
756
781
  emits: ["update:modelValue"],
757
782
  setup(e, { emit: t }) {
758
- let n = e, i = t, { t: a } = I(), o = p(() => n.modelValue.top === n.modelValue.right && n.modelValue.right === n.modelValue.bottom && n.modelValue.bottom === n.modelValue.left), s = l(o.value);
783
+ let n = e, i = t, { t: a } = R(), o = p(() => n.modelValue.top === n.modelValue.right && n.modelValue.right === n.modelValue.bottom && n.modelValue.bottom === n.modelValue.left), s = l(o.value);
759
784
  A(o, (e) => {
760
785
  !e && s.value && (s.value = !1);
761
786
  });
@@ -771,7 +796,7 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
771
796
  [e]: r
772
797
  });
773
798
  }
774
- function d(e, t) {
799
+ function u(e, t) {
775
800
  let r = Math.max(0, t);
776
801
  s.value ? i("update:modelValue", {
777
802
  top: r,
@@ -783,7 +808,7 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
783
808
  [e]: r
784
809
  });
785
810
  }
786
- function f() {
811
+ function d() {
787
812
  if (s.value = !s.value, s.value) {
788
813
  let e = n.modelValue.top;
789
814
  i("update:modelValue", {
@@ -794,130 +819,130 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
794
819
  });
795
820
  }
796
821
  }
797
- return (t, n) => (r(), m("div", rr, [x("label", ir, w(e.label), 1), x("div", ar, [
798
- x("div", or, [
799
- x("button", {
800
- "aria-label": S(a).spacingControl.decreaseTop,
801
- class: u([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
822
+ return (t, n) => (r(), m("div", nr, [S("label", rr, f(e.label), 1), S("div", ir, [
823
+ S("div", ar, [
824
+ S("button", {
825
+ "aria-label": g(a).spacingControl.decreaseTop,
826
+ class: x([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
802
827
  onClick: n[0] ||= (e) => c("top", -1)
803
- }, [k(S(V), {
828
+ }, [k(g(U), {
804
829
  size: 12,
805
830
  "stroke-width": 2
806
- })], 10, sr),
807
- x("input", {
831
+ })], 10, or),
832
+ S("input", {
808
833
  type: "number",
809
- class: u(wr),
834
+ class: x(Cr),
810
835
  value: e.modelValue.top,
811
- "aria-label": S(a).spacingControl.top,
836
+ "aria-label": g(a).spacingControl.top,
812
837
  min: "0",
813
- onInput: n[1] ||= (e) => d("top", Number(e.target.value))
814
- }, null, 40, cr),
815
- x("button", {
816
- "aria-label": S(a).spacingControl.increaseTop,
817
- class: u([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
838
+ onInput: n[1] ||= (e) => u("top", Number(e.target.value))
839
+ }, null, 40, sr),
840
+ S("button", {
841
+ "aria-label": g(a).spacingControl.increaseTop,
842
+ class: x([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
818
843
  onClick: n[2] ||= (e) => c("top", 1)
819
- }, [k(S(B), {
844
+ }, [k(g(H), {
820
845
  size: 12,
821
846
  "stroke-width": 2
822
- })], 10, lr)
847
+ })], 10, cr)
823
848
  ]),
824
- x("div", ur, [
825
- x("div", dr, [
826
- x("button", {
827
- "aria-label": S(a).spacingControl.decreaseLeft,
828
- class: u([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
849
+ S("div", lr, [
850
+ S("div", ur, [
851
+ S("button", {
852
+ "aria-label": g(a).spacingControl.decreaseLeft,
853
+ class: x([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
829
854
  onClick: n[3] ||= (e) => c("left", -1)
830
- }, [k(S(V), {
855
+ }, [k(g(U), {
831
856
  size: 12,
832
857
  "stroke-width": 2
833
- })], 10, fr),
834
- x("input", {
858
+ })], 10, dr),
859
+ S("input", {
835
860
  type: "number",
836
- class: u(wr),
861
+ class: x(Cr),
837
862
  value: e.modelValue.left,
838
- "aria-label": S(a).spacingControl.left,
863
+ "aria-label": g(a).spacingControl.left,
839
864
  min: "0",
840
- onInput: n[4] ||= (e) => d("left", Number(e.target.value))
841
- }, null, 40, pr),
842
- x("button", {
843
- "aria-label": S(a).spacingControl.increaseLeft,
844
- class: u([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
865
+ onInput: n[4] ||= (e) => u("left", Number(e.target.value))
866
+ }, null, 40, fr),
867
+ S("button", {
868
+ "aria-label": g(a).spacingControl.increaseLeft,
869
+ class: x([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
845
870
  onClick: n[5] ||= (e) => c("left", 1)
846
- }, [k(S(B), {
871
+ }, [k(g(H), {
847
872
  size: 12,
848
873
  "stroke-width": 2
849
- })], 10, mr)
874
+ })], 10, pr)
850
875
  ]),
851
- x("button", {
852
- class: u(["tpl:flex tpl:h-8 tpl:w-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", s.value ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] hover:tpl:bg-[var(--tpl-bg-hover)]"]),
853
- "aria-label": s.value ? S(a).spacingControl.unlock : S(a).spacingControl.lockAll,
854
- title: s.value ? S(a).spacingControl.unlock : S(a).spacingControl.lockAll,
855
- onClick: f
856
- }, [s.value ? (r(), _(S(Ze), {
876
+ S("button", {
877
+ class: x(["tpl:flex tpl:h-8 tpl:w-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", s.value ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] hover:tpl:bg-[var(--tpl-bg-hover)]"]),
878
+ "aria-label": s.value ? g(a).spacingControl.unlock : g(a).spacingControl.lockAll,
879
+ title: s.value ? g(a).spacingControl.unlock : g(a).spacingControl.lockAll,
880
+ onClick: d
881
+ }, [s.value ? (r(), v(g(Ye), {
857
882
  key: 0,
858
883
  size: 14,
859
884
  "stroke-width": 2
860
- })) : (r(), _(S(Qe), {
885
+ })) : (r(), v(g(Xe), {
861
886
  key: 1,
862
887
  size: 14,
863
888
  "stroke-width": 2
864
- }))], 10, hr),
865
- x("div", gr, [
866
- x("button", {
867
- "aria-label": S(a).spacingControl.decreaseRight,
868
- class: u([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
889
+ }))], 10, mr),
890
+ S("div", hr, [
891
+ S("button", {
892
+ "aria-label": g(a).spacingControl.decreaseRight,
893
+ class: x([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
869
894
  onClick: n[6] ||= (e) => c("right", -1)
870
- }, [k(S(V), {
895
+ }, [k(g(U), {
871
896
  size: 12,
872
897
  "stroke-width": 2
873
- })], 10, _r),
874
- x("input", {
898
+ })], 10, gr),
899
+ S("input", {
875
900
  type: "number",
876
- class: u(wr),
901
+ class: x(Cr),
877
902
  value: e.modelValue.right,
878
- "aria-label": S(a).spacingControl.right,
903
+ "aria-label": g(a).spacingControl.right,
879
904
  min: "0",
880
- onInput: n[7] ||= (e) => d("right", Number(e.target.value))
881
- }, null, 40, vr),
882
- x("button", {
883
- "aria-label": S(a).spacingControl.increaseRight,
884
- class: u([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
905
+ onInput: n[7] ||= (e) => u("right", Number(e.target.value))
906
+ }, null, 40, _r),
907
+ S("button", {
908
+ "aria-label": g(a).spacingControl.increaseRight,
909
+ class: x([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
885
910
  onClick: n[8] ||= (e) => c("right", 1)
886
- }, [k(S(B), {
911
+ }, [k(g(H), {
887
912
  size: 12,
888
913
  "stroke-width": 2
889
- })], 10, yr)
914
+ })], 10, vr)
890
915
  ])
891
916
  ]),
892
- x("div", br, [
893
- x("button", {
894
- "aria-label": S(a).spacingControl.decreaseBottom,
895
- class: u([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
917
+ S("div", yr, [
918
+ S("button", {
919
+ "aria-label": g(a).spacingControl.decreaseBottom,
920
+ class: x([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
896
921
  onClick: n[9] ||= (e) => c("bottom", -1)
897
- }, [k(S(V), {
922
+ }, [k(g(U), {
898
923
  size: 12,
899
924
  "stroke-width": 2
900
- })], 10, xr),
901
- x("input", {
925
+ })], 10, br),
926
+ S("input", {
902
927
  type: "number",
903
- class: u(wr),
928
+ class: x(Cr),
904
929
  value: e.modelValue.bottom,
905
- "aria-label": S(a).spacingControl.bottom,
930
+ "aria-label": g(a).spacingControl.bottom,
906
931
  min: "0",
907
- onInput: n[10] ||= (e) => d("bottom", Number(e.target.value))
908
- }, null, 40, Sr),
909
- x("button", {
910
- "aria-label": S(a).spacingControl.increaseBottom,
911
- class: u([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
932
+ onInput: n[10] ||= (e) => u("bottom", Number(e.target.value))
933
+ }, null, 40, xr),
934
+ S("button", {
935
+ "aria-label": g(a).spacingControl.increaseBottom,
936
+ class: x([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
912
937
  onClick: n[11] ||= (e) => c("bottom", 1)
913
- }, [k(S(B), {
938
+ }, [k(g(H), {
914
939
  size: 12,
915
940
  "stroke-width": 2
916
- })], 10, Cr)
941
+ })], 10, Sr)
917
942
  ])
918
943
  ])]));
919
944
  }
920
- }), [["__scopeId", "data-v-9a9c8a07"]]), Er = { class: "tpl:mt-3" }, Q = /* @__PURE__ */ O({
945
+ }), [["__scopeId", "data-v-9a9c8a07"]]), Tr = { class: "tpl:mt-3" }, Er = /* @__PURE__ */ O({
921
946
  __name: "CollapsibleSection",
922
947
  props: {
923
948
  title: {},
@@ -926,15 +951,15 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
926
951
  },
927
952
  emits: ["toggle"],
928
953
  setup(n) {
929
- return (i, a) => (r(), m("div", { class: u(["tpl:py-3", n.noBorder ? "" : "tpl:border-t tpl:border-[var(--tpl-border)]"]) }, [x("button", {
954
+ return (i, a) => (r(), m("div", { class: x(["tpl:py-3", n.noBorder ? "" : "tpl:border-t tpl:border-[var(--tpl-border)]"]) }, [S("button", {
930
955
  type: "button",
931
956
  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)]",
932
957
  onClick: a[0] ||= (e) => i.$emit("toggle")
933
- }, [k(S(ne), {
934
- class: u(["tpl:transition-transform tpl:duration-200", n.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
958
+ }, [k(g(fe), {
959
+ class: x(["tpl:transition-transform tpl:duration-200", n.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
935
960
  size: 12,
936
961
  "stroke-width": 2
937
- }, null, 8, ["class"]), x("span", null, w(n.title), 1)]), t(x("div", Er, [e(i.$slots, "default")], 512), [[C, n.open]])], 2));
962
+ }, null, 8, ["class"]), S("span", null, f(n.title), 1)]), t(S("div", Tr, [e(i.$slots, "default")], 512), [[C, n.open]])], 2));
938
963
  }
939
964
  }), Dr = { class: "tpl:mt-4" }, Or = { class: "tpl:space-y-2" }, kr = ["checked", "onChange"], Ar = ["value", "placeholder"], jr = { class: "tpl:space-y-2" }, Mr = ["value"], Nr = { value: "" }, Pr = ["label"], Fr = ["value"], Ir = ["value"], Lr = {
940
965
  key: 0,
@@ -956,38 +981,38 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
956
981
  },
957
982
  emits: ["update"],
958
983
  setup(e, { emit: i }) {
959
- let d = e, f = i, { t: g } = I(), v = o(ie, []), b = o(oe, !1), C = c(/* @__PURE__ */ new Set()), T = l(!1), O = l(""), j = l(""), ee = [
984
+ let u = e, d = i, { t: _ } = R(), y = o(oe, []), C = o(ce, !1), w = c(/* @__PURE__ */ new Set()), T = l(!1), O = l(""), j = l(""), ee = [
960
985
  {
961
986
  key: "desktop",
962
- icon: et,
987
+ icon: Qe,
963
988
  labelKey: "showOnDesktop"
964
989
  },
965
990
  {
966
991
  key: "tablet",
967
- icon: lt,
992
+ icon: ct,
968
993
  labelKey: "showOnTablet"
969
994
  },
970
995
  {
971
996
  key: "mobile",
972
- icon: ft,
997
+ icon: dt,
973
998
  labelKey: "showOnMobile"
974
999
  }
975
1000
  ];
976
1001
  function M(e) {
977
- C.has(e) ? C.delete(e) : C.add(e);
978
- }
979
- let te = p(() => v.length > 0 || b), N = p(() => d.block.displayCondition ? !v.some((e) => e.label === d.block.displayCondition?.label) : !1);
980
- function ne() {
981
- T.value = !0, N.value && d.block.displayCondition ? (O.value = d.block.displayCondition.before, j.value = d.block.displayCondition.after ?? "") : (O.value = "", j.value = "");
1002
+ w.has(e) ? w.delete(e) : w.add(e);
982
1003
  }
1004
+ let te = p(() => y.length > 0 || C), N = p(() => u.block.displayCondition ? !y.some((e) => e.label === u.block.displayCondition?.label) : !1);
983
1005
  function P() {
984
- O.value.trim() && (f("update", { displayCondition: {
985
- label: g.blockSettings.customCondition,
1006
+ T.value = !0, N.value && u.block.displayCondition ? (O.value = u.block.displayCondition.before, j.value = u.block.displayCondition.after ?? "") : (O.value = "", j.value = "");
1007
+ }
1008
+ function ne() {
1009
+ O.value.trim() && (d("update", { displayCondition: {
1010
+ label: _.blockSettings.customCondition,
986
1011
  before: O.value.trim(),
987
1012
  after: j.value.trim()
988
1013
  } }), T.value = !1, O.value = "", j.value = "");
989
1014
  }
990
- A(() => d.block.displayCondition, (e) => {
1015
+ A(() => u.block.displayCondition, (e) => {
991
1016
  if (!e) {
992
1017
  T.value = !1, O.value = "", j.value = "";
993
1018
  return;
@@ -996,44 +1021,44 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
996
1021
  }, { immediate: !0 });
997
1022
  let re = p(() => {
998
1023
  let e = {};
999
- for (let t of v) {
1024
+ for (let t of y) {
1000
1025
  let n = t.group ?? "";
1001
1026
  e[n] || (e[n] = []), e[n].push(t);
1002
1027
  }
1003
1028
  return e;
1004
1029
  });
1005
- function ae(e, t) {
1006
- f("update", { styles: {
1007
- ...d.block.styles,
1030
+ function F(e, t) {
1031
+ d("update", { styles: {
1032
+ ...u.block.styles,
1008
1033
  [e]: t
1009
1034
  } });
1010
1035
  }
1011
- function F(e) {
1012
- return d.block.visibility?.[e] !== !1;
1036
+ function ie(e) {
1037
+ return u.block.visibility?.[e] !== !1;
1013
1038
  }
1014
- function se(e) {
1039
+ function I(e) {
1015
1040
  let t = {
1016
- desktop: F("desktop"),
1017
- tablet: F("tablet"),
1018
- mobile: F("mobile")
1041
+ desktop: ie("desktop"),
1042
+ tablet: ie("tablet"),
1043
+ mobile: ie("mobile")
1019
1044
  };
1020
- t[e] = !t[e], f("update", { visibility: t });
1045
+ t[e] = !t[e], d("update", { visibility: t });
1021
1046
  }
1022
- return (i, o) => (r(), m("div", { class: u(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
1023
- k(Q, {
1024
- title: S(g).blockSettings.spacing,
1025
- open: C.has("spacing"),
1047
+ return (i, o) => (r(), m("div", { class: x(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
1048
+ k(Er, {
1049
+ title: g(_).blockSettings.spacing,
1050
+ open: w.has("spacing"),
1026
1051
  "no-border": e.isFirstSection,
1027
1052
  onToggle: o[2] ||= (e) => M("spacing")
1028
1053
  }, {
1029
- default: s(() => [k(Tr, {
1030
- label: S(g).blockSettings.padding,
1054
+ default: s(() => [k(wr, {
1055
+ label: g(_).blockSettings.padding,
1031
1056
  "model-value": e.block.styles.padding,
1032
- "onUpdate:modelValue": o[0] ||= (e) => ae("padding", e)
1033
- }, null, 8, ["label", "model-value"]), x("div", Dr, [k(Tr, {
1034
- label: S(g).blockSettings.margin,
1057
+ "onUpdate:modelValue": o[0] ||= (e) => F("padding", e)
1058
+ }, null, 8, ["label", "model-value"]), S("div", Dr, [k(wr, {
1059
+ label: g(_).blockSettings.margin,
1035
1060
  "model-value": e.block.styles.margin,
1036
- "onUpdate:modelValue": o[1] ||= (e) => ae("margin", e)
1061
+ "onUpdate:modelValue": o[1] ||= (e) => F("margin", e)
1037
1062
  }, null, 8, ["label", "model-value"])])]),
1038
1063
  _: 1
1039
1064
  }, 8, [
@@ -1041,108 +1066,108 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
1041
1066
  "open",
1042
1067
  "no-border"
1043
1068
  ]),
1044
- k(Q, {
1045
- title: S(g).blockSettings.background,
1046
- open: C.has("bg"),
1069
+ k(Er, {
1070
+ title: g(_).blockSettings.background,
1071
+ open: w.has("bg"),
1047
1072
  onToggle: o[4] ||= (e) => M("bg")
1048
1073
  }, {
1049
- default: s(() => [x("label", { class: u(S(W)) }, w(S(g).blockSettings.color), 3), k(q, {
1074
+ default: s(() => [S("label", { class: x(g(G)) }, f(g(_).blockSettings.color), 3), k(J, {
1050
1075
  size: "large",
1051
- "model-value": e.block.styles.backgroundColor || S("#ffffff"),
1052
- "onUpdate:modelValue": o[3] ||= (e) => ae("backgroundColor", e)
1076
+ "model-value": e.block.styles.backgroundColor || g("#ffffff"),
1077
+ "onUpdate:modelValue": o[3] ||= (e) => F("backgroundColor", e)
1053
1078
  }, null, 8, ["model-value"])]),
1054
1079
  _: 1
1055
1080
  }, 8, ["title", "open"]),
1056
- k(Q, {
1057
- title: S(g).blockSettings.display,
1058
- open: C.has("display"),
1081
+ k(Er, {
1082
+ title: g(_).blockSettings.display,
1083
+ open: w.has("display"),
1059
1084
  onToggle: o[5] ||= (e) => M("display")
1060
1085
  }, {
1061
- default: s(() => [x("div", Or, [(r(), m(E, null, a(ee, (e) => x("label", {
1086
+ default: s(() => [S("div", Or, [(r(), m(E, null, a(ee, (e) => S("label", {
1062
1087
  key: e.key,
1063
1088
  class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-xs tpl:text-[var(--tpl-text)]"
1064
1089
  }, [
1065
- x("input", {
1090
+ S("input", {
1066
1091
  type: "checkbox",
1067
1092
  class: "tpl:accent-[var(--tpl-primary)]",
1068
- checked: F(e.key),
1069
- onChange: (t) => se(e.key)
1093
+ checked: ie(e.key),
1094
+ onChange: (t) => I(e.key)
1070
1095
  }, null, 40, kr),
1071
- (r(), _(n(e.icon), {
1096
+ (r(), v(n(e.icon), {
1072
1097
  size: 14,
1073
1098
  "stroke-width": 1.5
1074
1099
  })),
1075
- D(" " + w(S(g).blockSettings[e.labelKey]), 1)
1100
+ D(" " + f(g(_).blockSettings[e.labelKey]), 1)
1076
1101
  ])), 64))])]),
1077
1102
  _: 1
1078
1103
  }, 8, ["title", "open"]),
1079
- k(Q, {
1080
- title: S(g).blockSettings.customCss,
1081
- open: C.has("css"),
1104
+ k(Er, {
1105
+ title: g(_).blockSettings.customCss,
1106
+ open: w.has("css"),
1082
1107
  onToggle: o[7] ||= (e) => M("css")
1083
1108
  }, {
1084
- default: s(() => [x("label", { class: u(S(W)) }, w(S(g).blockSettings.css), 3), x("textarea", {
1109
+ default: s(() => [S("label", { class: x(g(G)) }, f(g(_).blockSettings.css), 3), S("textarea", {
1085
1110
  value: e.block.customCss || "",
1086
- placeholder: S(g).blockSettings.cssPlaceholder,
1111
+ placeholder: g(_).blockSettings.cssPlaceholder,
1087
1112
  rows: "3",
1088
- class: u(S(bt)),
1089
- onInput: o[6] ||= (e) => f("update", { customCss: e.target.value })
1113
+ class: x(g(yt)),
1114
+ onInput: o[6] ||= (e) => d("update", { customCss: e.target.value })
1090
1115
  }, null, 42, Ar)]),
1091
1116
  _: 1
1092
1117
  }, 8, ["title", "open"]),
1093
- te.value ? (r(), _(Q, {
1118
+ te.value ? (r(), v(Er, {
1094
1119
  key: 0,
1095
- title: S(g).blockSettings.displayCondition,
1096
- open: C.has("condition"),
1120
+ title: g(_).blockSettings.displayCondition,
1121
+ open: w.has("condition"),
1097
1122
  onToggle: o[11] ||= (e) => M("condition")
1098
1123
  }, {
1099
- default: s(() => [x("div", jr, [x("select", {
1100
- class: u(["tpl:w-full tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:outline-none tpl:transition-all tpl:duration-150 tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", e.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
1124
+ default: s(() => [S("div", jr, [S("select", {
1125
+ class: x(["tpl:w-full tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:outline-none tpl:transition-all tpl:duration-150 tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", e.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
1101
1126
  value: T.value || N.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1102
1127
  onChange: o[8] ||= (e) => {
1103
1128
  let t = e.target.value;
1104
1129
  if (t === "__custom__") {
1105
- ne();
1130
+ P();
1106
1131
  return;
1107
1132
  }
1108
1133
  if (T.value = !1, !t) {
1109
- f("update", { displayCondition: void 0 });
1134
+ d("update", { displayCondition: void 0 });
1110
1135
  return;
1111
1136
  }
1112
- let n = S(v).find((e) => e.label === t);
1113
- n && f("update", { displayCondition: n });
1137
+ let n = g(y).find((e) => e.label === t);
1138
+ n && d("update", { displayCondition: n });
1114
1139
  }
1115
1140
  }, [
1116
- x("option", Nr, w(S(g).blockSettings.noCondition), 1),
1141
+ S("option", Nr, f(g(_).blockSettings.noCondition), 1),
1117
1142
  (r(!0), m(E, null, a(re.value, (e, t) => (r(), m(E, { key: t }, [t ? (r(), m("optgroup", {
1118
1143
  key: 0,
1119
1144
  label: String(t)
1120
1145
  }, [(r(!0), m(E, null, a(e, (e) => (r(), m("option", {
1121
1146
  key: e.label,
1122
1147
  value: e.label
1123
- }, w(e.label), 9, Fr))), 128))], 8, Pr)) : (r(!0), m(E, { key: 1 }, a(e, (e) => (r(), m("option", {
1148
+ }, f(e.label), 9, Fr))), 128))], 8, Pr)) : (r(!0), m(E, { key: 1 }, a(e, (e) => (r(), m("option", {
1124
1149
  key: e.label,
1125
1150
  value: e.label
1126
- }, w(e.label), 9, Ir))), 128))], 64))), 128)),
1127
- S(b) ? (r(), m("option", Lr, w(S(g).blockSettings.customCondition), 1)) : h("", !0)
1151
+ }, f(e.label), 9, Ir))), 128))], 64))), 128)),
1152
+ g(C) ? (r(), m("option", Lr, f(g(_).blockSettings.customCondition), 1)) : h("", !0)
1128
1153
  ], 42, Mr), T.value || N.value ? (r(), m("div", Rr, [
1129
- x("div", null, [x("label", zr, w(S(g).blockSettings.customConditionBefore), 1), t(x("textarea", {
1154
+ S("div", null, [S("label", zr, f(g(_).blockSettings.customConditionBefore), 1), t(S("textarea", {
1130
1155
  "onUpdate:modelValue": o[9] ||= (e) => O.value = e,
1131
1156
  rows: "2",
1132
- class: u(S(bt))
1133
- }, null, 2), [[y, O.value]])]),
1134
- x("div", null, [x("label", Br, w(S(g).blockSettings.customConditionAfter), 1), t(x("textarea", {
1157
+ class: x(g(yt))
1158
+ }, null, 2), [[b, O.value]])]),
1159
+ S("div", null, [S("label", Br, f(g(_).blockSettings.customConditionAfter), 1), t(S("textarea", {
1135
1160
  "onUpdate:modelValue": o[10] ||= (e) => j.value = e,
1136
1161
  rows: "2",
1137
- class: u(S(bt))
1138
- }, null, 2), [[y, j.value]])]),
1139
- x("div", Vr, [x("button", {
1162
+ class: x(g(yt))
1163
+ }, null, 2), [[b, j.value]])]),
1164
+ S("div", Vr, [S("button", {
1140
1165
  type: "button",
1141
1166
  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",
1142
1167
  disabled: !O.value.trim(),
1143
- onClick: P
1144
- }, w(S(g).blockSettings.applyCondition), 9, Hr)])
1145
- ])) : e.block.displayCondition && !N.value ? (r(), m(E, { key: 1 }, [e.block.displayCondition.description ? (r(), m("p", Ur, w(e.block.displayCondition.description), 1)) : h("", !0), x("div", Wr, [x("pre", Gr, w(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (r(), m("pre", Kr, w(e.block.displayCondition.after), 1)) : h("", !0)])], 64)) : h("", !0)])]),
1168
+ onClick: ne
1169
+ }, f(g(_).blockSettings.applyCondition), 9, Hr)])
1170
+ ])) : e.block.displayCondition && !N.value ? (r(), m(E, { key: 1 }, [e.block.displayCondition.description ? (r(), m("p", Ur, f(e.block.displayCondition.description), 1)) : h("", !0), S("div", Wr, [S("pre", Gr, f(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (r(), m("pre", Kr, f(e.block.displayCondition.after), 1)) : h("", !0)])], 64)) : h("", !0)])]),
1146
1171
  _: 1
1147
1172
  }, 8, ["title", "open"])) : h("", !0)
1148
1173
  ], 2));
@@ -1163,31 +1188,31 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
1163
1188
  },
1164
1189
  emits: ["update:modelValue"],
1165
1190
  setup(e, { emit: t }) {
1166
- let n = t, { t: i } = I();
1191
+ let n = t, { t: i } = R();
1167
1192
  return (t, a) => (r(), m("div", {
1168
1193
  class: "tpl:mb-3.5",
1169
- title: e.readOnly ? S(i).customBlocks.dataSource.readOnlyTooltip : void 0
1170
- }, [x("label", { class: u(["tpl:flex tpl:items-center tpl:justify-between tpl:gap-2", e.readOnly ? "tpl:cursor-not-allowed" : "tpl:cursor-pointer"]) }, [x("span", Yr, [
1171
- D(w(e.field.label) + " ", 1),
1172
- e.readOnly ? (r(), _(S(Ze), {
1194
+ title: e.readOnly ? g(i).customBlocks.dataSource.readOnlyTooltip : void 0
1195
+ }, [S("label", { class: x(["tpl:flex tpl:items-center tpl:justify-between tpl:gap-2", e.readOnly ? "tpl:cursor-not-allowed" : "tpl:cursor-pointer"]) }, [S("span", Yr, [
1196
+ D(f(e.field.label) + " ", 1),
1197
+ e.readOnly ? (r(), v(g(Ye), {
1173
1198
  key: 0,
1174
1199
  size: 12,
1175
1200
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
1176
1201
  })) : h("", !0),
1177
1202
  e.field.required ? (r(), m("span", Xr, " * ")) : h("", !0)
1178
- ]), x("button", {
1203
+ ]), S("button", {
1179
1204
  type: "button",
1180
1205
  role: "switch",
1181
1206
  "aria-checked": e.modelValue,
1182
1207
  "aria-label": e.field.label,
1183
- class: u([
1208
+ class: x([
1184
1209
  "tpl:relative tpl:inline-flex tpl:h-5 tpl:w-9 tpl:shrink-0 tpl:rounded-full tpl:border-2 tpl:border-transparent tpl:transition-colors tpl:duration-200",
1185
1210
  e.modelValue ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-border)]",
1186
1211
  e.readOnly ? "tpl:opacity-60 tpl:cursor-not-allowed" : "tpl:cursor-pointer"
1187
1212
  ]),
1188
1213
  disabled: e.readOnly,
1189
1214
  onClick: a[0] ||= (t) => !e.readOnly && n("update:modelValue", !e.modelValue)
1190
- }, [x("span", { class: u(["tpl:pointer-events-none tpl:inline-block tpl:size-4 tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow tpl:transition-transform tpl:duration-200", e.modelValue ? "tpl:translate-x-4" : "tpl:translate-x-0"]) }, null, 2)], 10, Zr)], 2)], 8, Jr));
1215
+ }, [S("span", { class: x(["tpl:pointer-events-none tpl:inline-block tpl:size-4 tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow tpl:transition-transform tpl:duration-200", e.modelValue ? "tpl:translate-x-4" : "tpl:translate-x-0"]) }, null, 2)], 10, Zr)], 2)], 8, Jr));
1191
1216
  }
1192
1217
  }), $r = { class: "tpl:mb-3.5" }, ei = {
1193
1218
  key: 1,
@@ -1200,9 +1225,9 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
1200
1225
  readOnly: { type: Boolean }
1201
1226
  },
1202
1227
  setup(t) {
1203
- return (n, i) => (r(), m("div", $r, [x("label", { class: u(S(W)) }, [
1204
- D(w(t.label) + " ", 1),
1205
- t.readOnly ? (r(), _(S(Ze), {
1228
+ return (n, i) => (r(), m("div", $r, [S("label", { class: x(g(G)) }, [
1229
+ D(f(t.label) + " ", 1),
1230
+ t.readOnly ? (r(), v(g(Ye), {
1206
1231
  key: 0,
1207
1232
  size: 12,
1208
1233
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1219,17 +1244,17 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
1219
1244
  },
1220
1245
  emits: ["update:modelValue"],
1221
1246
  setup(e, { emit: t }) {
1222
- let n = t, { t: i } = I();
1223
- return (t, a) => (r(), _($, {
1247
+ let n = t, { t: i } = R();
1248
+ return (t, a) => (r(), v($, {
1224
1249
  label: e.field.label,
1225
1250
  required: e.field.required,
1226
1251
  "read-only": e.readOnly
1227
1252
  }, {
1228
- default: s(() => [k(q, {
1229
- "model-value": e.modelValue || S("#000000"),
1230
- placeholder: e.field.placeholder || S("#000000"),
1253
+ default: s(() => [k(J, {
1254
+ "model-value": e.modelValue || g("#000000"),
1255
+ placeholder: e.field.placeholder || g("#000000"),
1231
1256
  disabled: e.readOnly,
1232
- title: e.readOnly ? S(i).customBlocks.dataSource.readOnlyTooltip : void 0,
1257
+ title: e.readOnly ? g(i).customBlocks.dataSource.readOnlyTooltip : void 0,
1233
1258
  "onUpdate:modelValue": a[0] ||= (e) => n("update:modelValue", e)
1234
1259
  }, null, 8, [
1235
1260
  "model-value",
@@ -1257,12 +1282,12 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
1257
1282
  },
1258
1283
  emits: ["update:modelValue"],
1259
1284
  setup(e, { emit: t }) {
1260
- let n = t, { t: i } = I(), a = o(Ee, null), c = p(() => !!a);
1285
+ let n = t, { t: i } = R(), a = o(z, null), c = p(() => !!a);
1261
1286
  async function l() {
1262
1287
  let e = await a?.({ accept: ["images"] });
1263
1288
  e && n("update:modelValue", e.url);
1264
1289
  }
1265
- return (t, a) => (r(), _($, {
1290
+ return (t, a) => (r(), v($, {
1266
1291
  label: e.field.label,
1267
1292
  required: e.field.required,
1268
1293
  "read-only": e.readOnly
@@ -1270,15 +1295,15 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
1270
1295
  default: s(() => [e.readOnly ? (r(), m("input", {
1271
1296
  key: 0,
1272
1297
  type: "url",
1273
- class: u([S(U), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1298
+ class: x([g(W), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1274
1299
  value: e.modelValue,
1275
1300
  placeholder: e.field.placeholder || "https://...",
1276
1301
  disabled: "",
1277
- title: S(i).customBlocks.dataSource.readOnlyTooltip
1302
+ title: g(i).customBlocks.dataSource.readOnlyTooltip
1278
1303
  }, null, 10, ni)) : (r(), m("input", {
1279
1304
  key: 1,
1280
1305
  type: "url",
1281
- class: u(S(U)),
1306
+ class: x(g(W)),
1282
1307
  value: e.modelValue,
1283
1308
  placeholder: e.field.placeholder || "https://...",
1284
1309
  onInput: a[0] ||= (e) => n("update:modelValue", e.target.value)
@@ -1286,10 +1311,10 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
1286
1311
  key: 2,
1287
1312
  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)]",
1288
1313
  onClick: a[1] ||= (e) => l()
1289
- }, [k(S(Ge), {
1314
+ }, [k(g(Ge), {
1290
1315
  size: 14,
1291
1316
  "stroke-width": 1.5
1292
- }), D(" " + w(S(i).image.browseMedia), 1)])) : h("", !0)]),
1317
+ }), D(" " + f(g(i).image.browseMedia), 1)])) : h("", !0)]),
1293
1318
  _: 1
1294
1319
  }, 8, [
1295
1320
  "label",
@@ -1314,22 +1339,22 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
1314
1339
  },
1315
1340
  emits: ["update:modelValue"],
1316
1341
  setup(e, { emit: t }) {
1317
- let n = t, { t: i } = I();
1318
- return (t, a) => (r(), _($, {
1342
+ let n = t, { t: i } = R();
1343
+ return (t, a) => (r(), v($, {
1319
1344
  label: e.field.label,
1320
1345
  required: e.field.required,
1321
1346
  "read-only": e.readOnly
1322
1347
  }, {
1323
- default: s(() => [x("input", {
1348
+ default: s(() => [S("input", {
1324
1349
  type: "number",
1325
- class: u([S(U), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1350
+ class: x([g(W), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1326
1351
  value: e.modelValue,
1327
1352
  placeholder: e.field.placeholder,
1328
1353
  min: e.field.min,
1329
1354
  max: e.field.max,
1330
1355
  step: e.field.step,
1331
1356
  disabled: e.readOnly,
1332
- title: e.readOnly ? S(i).customBlocks.dataSource.readOnlyTooltip : void 0,
1357
+ title: e.readOnly ? g(i).customBlocks.dataSource.readOnlyTooltip : void 0,
1333
1358
  onInput: a[0] ||= (t) => !e.readOnly && n("update:modelValue", Number(t.target.value))
1334
1359
  }, null, 42, ai)]),
1335
1360
  _: 1
@@ -1351,64 +1376,64 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
1351
1376
  },
1352
1377
  emits: ["update:modelValue"],
1353
1378
  setup(e, { emit: t }) {
1354
- let i = e, o = t, { t: c } = I(), l = p(() => i.modelValue || []), d = p(() => !i.field.maxItems || l.value.length < i.field.maxItems), f = p(() => !i.field.minItems || l.value.length > i.field.minItems);
1355
- function g() {
1356
- if (!d.value || i.readOnly) return;
1379
+ let i = e, o = t, { t: c } = R(), l = p(() => i.modelValue || []), u = p(() => !i.field.maxItems || l.value.length < i.field.maxItems), d = p(() => !i.field.minItems || l.value.length > i.field.minItems);
1380
+ function _() {
1381
+ if (!u.value || i.readOnly) return;
1357
1382
  let e = {};
1358
1383
  for (let t of i.field.fields) e[t.key] = t.default ?? "";
1359
1384
  o("update:modelValue", [...l.value, e]);
1360
1385
  }
1361
- function v(e) {
1362
- if (!f.value || i.readOnly) return;
1386
+ function y(e) {
1387
+ if (!d.value || i.readOnly) return;
1363
1388
  let t = [...l.value];
1364
1389
  t.splice(e, 1), o("update:modelValue", t);
1365
1390
  }
1366
- function y(e, t, n) {
1391
+ function b(e, t, n) {
1367
1392
  o("update:modelValue", l.value.map((r, i) => i === e ? {
1368
1393
  ...r,
1369
1394
  [t]: n
1370
1395
  } : r));
1371
1396
  }
1372
- return (t, i) => (r(), _($, {
1397
+ return (t, i) => (r(), v($, {
1373
1398
  label: e.field.label,
1374
1399
  required: e.field.required,
1375
1400
  "read-only": e.readOnly
1376
1401
  }, {
1377
- default: s(() => [x("div", si, [
1402
+ default: s(() => [S("div", si, [
1378
1403
  (r(!0), m(E, null, a(l.value, (t, i) => (r(), m("div", {
1379
1404
  key: `${e.field.key}-${i}`,
1380
1405
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
1381
- }, [x("div", ci, [x("span", li, " #" + w(i + 1), 1), f.value && !e.readOnly ? (r(), m("button", {
1406
+ }, [S("div", ci, [S("span", li, " #" + f(i + 1), 1), d.value && !e.readOnly ? (r(), m("button", {
1382
1407
  key: 0,
1383
1408
  type: "button",
1384
1409
  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)]",
1385
- title: S(c).customBlocks.fields.removeItem,
1386
- onClick: (e) => v(i)
1387
- }, [k(S(ze), {
1410
+ title: g(c).customBlocks.fields.removeItem,
1411
+ onClick: (e) => y(i)
1412
+ }, [k(g(Re), {
1388
1413
  size: 12,
1389
1414
  "stroke-width": 2
1390
- })], 8, ui)) : h("", !0)]), (r(!0), m(E, null, a(e.field.fields, (a) => (r(), _(n(S(xi)(a.type)), {
1415
+ })], 8, ui)) : h("", !0)]), (r(!0), m(E, null, a(e.field.fields, (a) => (r(), v(n(g(xi)(a.type)), {
1391
1416
  key: a.key,
1392
1417
  field: a,
1393
1418
  "model-value": t[a.key],
1394
1419
  "read-only": e.readOnly,
1395
- "onUpdate:modelValue": (e) => y(i, a.key, e)
1420
+ "onUpdate:modelValue": (e) => b(i, a.key, e)
1396
1421
  }, null, 8, [
1397
1422
  "field",
1398
1423
  "model-value",
1399
1424
  "read-only",
1400
1425
  "onUpdate:modelValue"
1401
1426
  ]))), 128))]))), 128)),
1402
- d.value && !e.readOnly ? (r(), m("button", {
1427
+ u.value && !e.readOnly ? (r(), m("button", {
1403
1428
  key: 0,
1404
1429
  type: "button",
1405
- class: u(S(yt)),
1406
- onClick: g
1407
- }, [k(S(B), {
1430
+ class: x(g(vt)),
1431
+ onClick: _
1432
+ }, [k(g(H), {
1408
1433
  size: 14,
1409
1434
  "stroke-width": 2
1410
- }), D(" " + w(S(c).customBlocks.fields.addItem), 1)], 2)) : h("", !0),
1411
- !d.value && !e.readOnly ? (r(), m("p", di, w(S(c).customBlocks.fields.maxItemsReached), 1)) : h("", !0)
1435
+ }), D(" " + f(g(c).customBlocks.fields.addItem), 1)], 2)) : h("", !0),
1436
+ !u.value && !e.readOnly ? (r(), m("p", di, f(g(c).customBlocks.fields.maxItemsReached), 1)) : h("", !0)
1412
1437
  ])]),
1413
1438
  _: 1
1414
1439
  }, 8, [
@@ -1430,22 +1455,22 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
1430
1455
  },
1431
1456
  emits: ["update:modelValue"],
1432
1457
  setup(e, { emit: t }) {
1433
- let n = t, { t: i } = I();
1434
- return (t, o) => (r(), _($, {
1458
+ let n = t, { t: i } = R();
1459
+ return (t, o) => (r(), v($, {
1435
1460
  label: e.field.label,
1436
1461
  required: e.field.required,
1437
1462
  "read-only": e.readOnly
1438
1463
  }, {
1439
- default: s(() => [x("select", {
1440
- class: u([S(U), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1464
+ default: s(() => [S("select", {
1465
+ class: x([g(W), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1441
1466
  value: e.modelValue,
1442
1467
  disabled: e.readOnly,
1443
- title: e.readOnly ? S(i).customBlocks.dataSource.readOnlyTooltip : void 0,
1468
+ title: e.readOnly ? g(i).customBlocks.dataSource.readOnlyTooltip : void 0,
1444
1469
  onChange: o[0] ||= (t) => !e.readOnly && n("update:modelValue", t.target.value)
1445
1470
  }, [(r(!0), m(E, null, a(e.field.options, (e) => (r(), m("option", {
1446
1471
  key: e.value,
1447
1472
  value: e.value
1448
- }, w(e.label), 9, mi))), 128))], 42, pi)]),
1473
+ }, f(e.label), 9, mi))), 128))], 42, pi)]),
1449
1474
  _: 1
1450
1475
  }, 8, [
1451
1476
  "label",
@@ -1466,8 +1491,8 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
1466
1491
  },
1467
1492
  emits: ["update:modelValue"],
1468
1493
  setup(e, { emit: t }) {
1469
- let n = t, { t: i } = I();
1470
- return (t, a) => (r(), _($, {
1494
+ let n = t, { t: i } = R();
1495
+ return (t, a) => (r(), v($, {
1471
1496
  label: e.field.label,
1472
1497
  required: e.field.required,
1473
1498
  "read-only": e.readOnly
@@ -1475,12 +1500,12 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
1475
1500
  default: s(() => [e.readOnly ? (r(), m("input", {
1476
1501
  key: 0,
1477
1502
  type: "text",
1478
- class: u([S(U), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1503
+ class: x([g(W), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1479
1504
  value: e.modelValue,
1480
1505
  placeholder: e.field.placeholder,
1481
1506
  disabled: "",
1482
- title: S(i).customBlocks.dataSource.readOnlyTooltip
1483
- }, null, 10, gi)) : (r(), _(X, {
1507
+ title: g(i).customBlocks.dataSource.readOnlyTooltip
1508
+ }, null, 10, gi)) : (r(), v(Z, {
1484
1509
  key: 1,
1485
1510
  "model-value": e.modelValue,
1486
1511
  placeholder: e.field.placeholder,
@@ -1508,8 +1533,8 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
1508
1533
  },
1509
1534
  emits: ["update:modelValue"],
1510
1535
  setup(e, { emit: t }) {
1511
- let n = t, { t: i } = I();
1512
- return (t, a) => (r(), _($, {
1536
+ let n = t, { t: i } = R();
1537
+ return (t, a) => (r(), v($, {
1513
1538
  label: e.field.label,
1514
1539
  required: e.field.required,
1515
1540
  "read-only": e.readOnly
@@ -1520,9 +1545,9 @@ var Gt = ["aria-label", "onKeydown"], Kt = ["data-tooltip"], qt = ["data-tooltip
1520
1545
  placeholder: e.field.placeholder,
1521
1546
  rows: "3",
1522
1547
  disabled: "",
1523
- title: S(i).customBlocks.dataSource.readOnlyTooltip,
1524
- class: u(yi)
1525
- }, null, 8, vi)) : (r(), _(on, {
1548
+ title: g(i).customBlocks.dataSource.readOnlyTooltip,
1549
+ class: x(yi)
1550
+ }, null, 8, vi)) : (r(), v(an, {
1526
1551
  key: 1,
1527
1552
  "model-value": e.modelValue,
1528
1553
  placeholder: e.field.placeholder,
@@ -1571,92 +1596,92 @@ var Si = {
1571
1596
  props: { block: {} },
1572
1597
  emits: ["updateFieldValues", "updateDataSourceFetched"],
1573
1598
  setup(e, { emit: t }) {
1574
- let i = e, s = t, { t: c } = I(), l = o(Te, []), u = p(() => l.find((e) => e.type === i.block.customType)), { isFetching: d, fetchError: f, fetch: g, hasDataSource: v, needsFetch: y } = Ue({
1599
+ let i = e, s = t, { t: c } = R(), l = o(F, []), u = p(() => l.find((e) => e.type === i.block.customType)), { isFetching: d, fetchError: _, fetch: y, hasDataSource: b, needsFetch: x } = Ee({
1575
1600
  definition: u,
1576
1601
  block: p(() => i.block),
1577
1602
  onUpdate: (e, t) => {
1578
1603
  s("updateFieldValues", e), s("updateDataSourceFetched", t);
1579
1604
  }
1580
1605
  });
1581
- function b(e) {
1582
- return e.readOnly === !0 && v.value && !!i.block.dataSourceFetched;
1606
+ function C(e) {
1607
+ return e.readOnly === !0 && b.value && !!i.block.dataSourceFetched;
1583
1608
  }
1584
- function C(e, t) {
1609
+ function w(e, t) {
1585
1610
  s("updateFieldValues", {
1586
1611
  ...i.block.fieldValues,
1587
1612
  [e]: t
1588
1613
  });
1589
1614
  }
1590
1615
  return (t, i) => u.value ? (r(), m("div", wi, [
1591
- u.value.description ? (r(), m("p", Ti, w(u.value.description), 1)) : h("", !0),
1592
- S(v) ? (r(), m("div", Ei, [S(y) && !S(d) ? (r(), m("button", {
1616
+ u.value.description ? (r(), m("p", Ti, f(u.value.description), 1)) : h("", !0),
1617
+ g(b) ? (r(), m("div", Ei, [g(x) && !g(d) ? (r(), m("button", {
1593
1618
  key: 0,
1594
1619
  type: "button",
1595
1620
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-md tpl:px-3 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-bg)] tpl:transition-all tpl:duration-150 tpl:bg-[var(--tpl-primary)]",
1596
- onClick: i[0] ||= (...e) => S(g) && S(g)(...e)
1597
- }, w(u.value?.dataSource?.label || S(c).customBlocks.dataSource.fetchButton), 1)) : (r(), m("div", Di, [S(d) ? (r(), m("div", Oi, w(S(c).customBlocks.dataSource.fetching), 1)) : (r(), m("button", {
1621
+ onClick: i[0] ||= (...e) => g(y) && g(y)(...e)
1622
+ }, f(u.value?.dataSource?.label || g(c).customBlocks.dataSource.fetchButton), 1)) : (r(), m("div", Di, [g(d) ? (r(), m("div", Oi, f(g(c).customBlocks.dataSource.fetching), 1)) : (r(), m("button", {
1598
1623
  key: 1,
1599
1624
  type: "button",
1600
1625
  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)]",
1601
- onClick: i[1] ||= (...e) => S(g) && S(g)(...e)
1602
- }, [k(S(Ne), { size: 12 }), D(" " + w(S(c).customBlocks.dataSource.changeButton), 1)]))])), S(f) ? (r(), m("p", ki, [k(S(be), {
1626
+ onClick: i[1] ||= (...e) => g(y) && g(y)(...e)
1627
+ }, [k(g(Pe), { size: 12 }), D(" " + f(g(c).customBlocks.dataSource.changeButton), 1)]))])), g(_) ? (r(), m("p", ki, [k(g(N), {
1603
1628
  size: 14,
1604
1629
  class: "tpl:shrink-0"
1605
- }), D(" " + w(S(c).customBlocks.dataSource.fetchError), 1)])) : h("", !0)])) : h("", !0),
1606
- (r(!0), m(E, null, a(u.value.fields, (t) => (r(), _(n(S(xi)(t.type)), {
1630
+ }), D(" " + f(g(c).customBlocks.dataSource.fetchError), 1)])) : h("", !0)])) : h("", !0),
1631
+ (r(!0), m(E, null, a(u.value.fields, (t) => (r(), v(n(g(xi)(t.type)), {
1607
1632
  key: t.key,
1608
1633
  field: t,
1609
1634
  "model-value": e.block.fieldValues[t.key],
1610
- "read-only": b(t),
1611
- "onUpdate:modelValue": (e) => C(t.key, e)
1635
+ "read-only": C(t),
1636
+ "onUpdate:modelValue": (e) => w(t.key, e)
1612
1637
  }, null, 8, [
1613
1638
  "field",
1614
1639
  "model-value",
1615
1640
  "read-only",
1616
1641
  "onUpdate:modelValue"
1617
1642
  ]))), 128))
1618
- ])) : (r(), m("div", Si, [x("p", Ci, w(S(c).customBlocks.toolbar.noDefinition), 1)]));
1643
+ ])) : (r(), m("div", Si, [S("p", Ci, f(g(c).customBlocks.toolbar.noDefinition), 1)]));
1619
1644
  }
1620
1645
  }), ji = { class: "tpl:mb-3.5" }, Mi = { class: "tpl:mb-3.5" }, Ni = { class: "tpl:mb-3.5" }, Pi = { class: "tpl:flex tpl:items-stretch" }, Fi = ["value"], Ii = /* @__PURE__ */ O({
1621
1646
  __name: "DividerToolbar",
1622
1647
  props: { block: {} },
1623
1648
  emits: ["update"],
1624
1649
  setup(e, { emit: t }) {
1625
- let n = t, { t: i } = I();
1650
+ let n = t, { t: i } = R();
1626
1651
  function a(e, t) {
1627
1652
  n("update", { [e]: t });
1628
1653
  }
1629
1654
  return (t, n) => (r(), m(E, null, [
1630
- x("div", ji, [x("label", { class: u(S(W)) }, w(S(i).divider.style), 3), k(Y, {
1655
+ S("div", ji, [S("label", { class: x(g(G)) }, f(g(i).divider.style), 3), k(X, {
1631
1656
  options: [
1632
1657
  {
1633
1658
  value: "solid",
1634
- label: S(i).divider.solid
1659
+ label: g(i).divider.solid
1635
1660
  },
1636
1661
  {
1637
1662
  value: "dashed",
1638
- label: S(i).divider.dashed
1663
+ label: g(i).divider.dashed
1639
1664
  },
1640
1665
  {
1641
1666
  value: "dotted",
1642
- label: S(i).divider.dotted
1667
+ label: g(i).divider.dotted
1643
1668
  }
1644
1669
  ],
1645
1670
  "model-value": e.block.lineStyle,
1646
1671
  "onUpdate:modelValue": n[0] ||= (e) => a("lineStyle", e)
1647
1672
  }, null, 8, ["options", "model-value"])]),
1648
- x("div", Mi, [x("label", { class: u(S(W)) }, w(S(i).divider.color), 3), k(q, {
1673
+ S("div", Mi, [S("label", { class: x(g(G)) }, f(g(i).divider.color), 3), k(J, {
1649
1674
  "model-value": e.block.color,
1650
1675
  "onUpdate:modelValue": n[1] ||= (e) => a("color", e)
1651
1676
  }, null, 8, ["model-value"])]),
1652
- x("div", Ni, [x("label", { class: u(S(W)) }, w(S(i).divider.thickness), 3), x("div", Pi, [x("input", {
1677
+ S("div", Ni, [S("label", { class: x(g(G)) }, f(g(i).divider.thickness), 3), S("div", Pi, [S("input", {
1653
1678
  type: "number",
1654
- class: u(S(K)),
1679
+ class: x(g(q)),
1655
1680
  value: e.block.thickness,
1656
1681
  min: "1",
1657
1682
  max: "10",
1658
1683
  onInput: n[2] ||= (e) => a("thickness", Number(e.target.value))
1659
- }, null, 42, Fi), x("span", { class: u(S(G)) }, "px", 2)])])
1684
+ }, null, 42, Fi), S("span", { class: x(g(K)) }, "px", 2)])])
1660
1685
  ], 64));
1661
1686
  }
1662
1687
  }), Li = { class: "tpl:mb-3.5" }, Ri = ["value"], zi = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, Bi = /* @__PURE__ */ O({
@@ -1664,20 +1689,20 @@ var Si = {
1664
1689
  props: { block: {} },
1665
1690
  emits: ["update"],
1666
1691
  setup(e, { emit: t }) {
1667
- let n = t, { t: i } = I();
1692
+ let n = t, { t: i } = R();
1668
1693
  return (t, a) => (r(), m("div", Li, [
1669
- x("label", { class: u(S(W)) }, w(S(i).html.content), 3),
1670
- x("textarea", {
1694
+ S("label", { class: x(g(G)) }, f(g(i).html.content), 3),
1695
+ S("textarea", {
1671
1696
  value: e.block.content,
1672
1697
  placeholder: "<div>...</div>",
1673
1698
  rows: "10",
1674
- class: u(S(bt)),
1699
+ class: x(g(yt)),
1675
1700
  onInput: a[0] ||= (e) => n("update", { content: e.target.value })
1676
1701
  }, null, 42, Ri),
1677
- x("p", zi, [k(S(Oe), {
1702
+ S("p", zi, [k(g(Ve), {
1678
1703
  size: 12,
1679
1704
  class: "tpl:mt-0.5 tpl:shrink-0"
1680
- }), D(" " + w(S(i).html.sanitizationHint), 1)])
1705
+ }), D(" " + f(g(i).html.sanitizationHint), 1)])
1681
1706
  ]));
1682
1707
  }
1683
1708
  }), Vi = { class: "tpl:mb-3.5" }, Hi = {
@@ -1691,25 +1716,25 @@ var Si = {
1691
1716
  props: { block: {} },
1692
1717
  emits: ["update"],
1693
1718
  setup(e, { emit: t }) {
1694
- let n = t, { t: i } = I(), a = o(Ee, null), s = o(se, Me.liquid), c = p(() => !!a), d = l(!1), f = l(!1), { start: g } = Ie(() => {
1695
- d.value = !1;
1719
+ let n = t, { t: i } = R(), a = o(z, null), s = o(Se, Ne.liquid), c = p(() => !!a), u = l(!1), d = l(!1), { start: _ } = Be(() => {
1720
+ u.value = !1;
1696
1721
  }, 1e3, { immediate: !1 });
1697
- function _(e, t) {
1722
+ function v(e, t) {
1698
1723
  n("update", { [e]: t });
1699
1724
  }
1700
- async function v() {
1725
+ async function y() {
1701
1726
  let e = await a?.({ accept: ["images"] });
1702
- e && (_("src", e.url), e.alt && (_("alt", e.alt), f.value = !0), d.value = !0, g());
1727
+ e && (v("src", e.url), e.alt && (v("alt", e.alt), d.value = !0), u.value = !0, _());
1703
1728
  }
1704
1729
  return (t, n) => (r(), m(E, null, [
1705
- x("div", Vi, [
1706
- x("label", { class: u(S(W)) }, w(S(i).image.imageUrl), 3),
1707
- k(X, {
1730
+ S("div", Vi, [
1731
+ S("label", { class: x(g(G)) }, f(g(i).image.imageUrl), 3),
1732
+ k(Z, {
1708
1733
  "model-value": e.block.src,
1709
1734
  type: "url",
1710
- placeholder: S(i).image.imageUrlPlaceholder,
1711
- pulse: d.value,
1712
- "onUpdate:modelValue": n[0] ||= (e) => _("src", e)
1735
+ placeholder: g(i).image.imageUrlPlaceholder,
1736
+ pulse: u.value,
1737
+ "onUpdate:modelValue": n[0] ||= (e) => v("src", e)
1713
1738
  }, null, 8, [
1714
1739
  "model-value",
1715
1740
  "placeholder",
@@ -1723,83 +1748,83 @@ var Si = {
1723
1748
  color: "var(--tpl-primary)",
1724
1749
  "background-color": "var(--tpl-bg)"
1725
1750
  },
1726
- onClick: v
1727
- }, [k(S(Ge), {
1751
+ onClick: y
1752
+ }, [k(g(Ge), {
1728
1753
  size: 14,
1729
1754
  "stroke-width": 1.5
1730
- }), D(" " + w(S(i).image.browseMedia), 1)])) : h("", !0)
1755
+ }), D(" " + f(g(i).image.browseMedia), 1)])) : h("", !0)
1731
1756
  ]),
1732
- S(Be)(e.block.src, S(s)) ? (r(), m("div", Hi, [x("label", { class: u(S(W)) }, [D(w(S(i).image.placeholderUrl) + " ", 1), n[8] ||= x("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, w("(optional)"), -1)], 2), x("input", {
1757
+ g(Me)(e.block.src, g(s)) ? (r(), m("div", Hi, [S("label", { class: x(g(G)) }, [D(f(g(i).image.placeholderUrl) + " ", 1), n[8] ||= S("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, f("(optional)"), -1)], 2), S("input", {
1733
1758
  type: "url",
1734
- class: u(S(U)),
1759
+ class: x(g(W)),
1735
1760
  value: e.block.placeholderUrl || "",
1736
- placeholder: S(i).image.placeholderUrlPlaceholder,
1737
- onInput: n[1] ||= (e) => _("placeholderUrl", e.target.value)
1761
+ placeholder: g(i).image.placeholderUrlPlaceholder,
1762
+ onInput: n[1] ||= (e) => v("placeholderUrl", e.target.value)
1738
1763
  }, null, 42, Ui)])) : h("", !0),
1739
- x("div", Wi, [
1740
- x("label", { class: u(S(W)) }, w(S(i).image.altText), 3),
1741
- k(X, {
1764
+ S("div", Wi, [
1765
+ S("label", { class: x(g(G)) }, f(g(i).image.altText), 3),
1766
+ k(Z, {
1742
1767
  "model-value": e.block.alt,
1743
1768
  type: "text",
1744
- placeholder: S(i).image.altTextPlaceholder,
1745
- pulse: f.value,
1769
+ placeholder: g(i).image.altTextPlaceholder,
1770
+ pulse: d.value,
1746
1771
  disabled: e.block.decorative === !0,
1747
- "onUpdate:modelValue": n[2] ||= (e) => _("alt", e)
1772
+ "onUpdate:modelValue": n[2] ||= (e) => v("alt", e)
1748
1773
  }, null, 8, [
1749
1774
  "model-value",
1750
1775
  "placeholder",
1751
1776
  "pulse",
1752
1777
  "disabled"
1753
1778
  ]),
1754
- x("label", Gi, [x("input", {
1779
+ S("label", Gi, [S("input", {
1755
1780
  type: "checkbox",
1756
1781
  class: "tpl:size-3.5 tpl:cursor-pointer tpl:accent-[var(--tpl-primary)]",
1757
1782
  checked: e.block.decorative === !0,
1758
- onChange: n[3] ||= (e) => _("decorative", e.target.checked)
1759
- }, null, 40, Ki), x("span", null, [D(w(S(i).image.decorative) + " ", 1), x("span", qi, w(S(i).image.decorativeHint), 1)])])
1783
+ onChange: n[3] ||= (e) => v("decorative", e.target.checked)
1784
+ }, null, 40, Ki), S("span", null, [D(f(g(i).image.decorative) + " ", 1), S("span", qi, f(g(i).image.decorativeHint), 1)])])
1760
1785
  ]),
1761
- x("div", Ji, [x("label", { class: u(S(W)) }, w(S(i).image.width), 3), x("select", {
1762
- class: u(S(U)),
1786
+ S("div", Ji, [S("label", { class: x(g(G)) }, f(g(i).image.width), 3), S("select", {
1787
+ class: x(g(W)),
1763
1788
  value: e.block.width,
1764
- onChange: n[4] ||= (e) => _("width", e.target.value === "full" ? "full" : Number(e.target.value))
1789
+ onChange: n[4] ||= (e) => v("width", e.target.value === "full" ? "full" : Number(e.target.value))
1765
1790
  }, [
1766
- x("option", Xi, w(S(i).image.fullWidth), 1),
1767
- n[9] ||= x("option", { value: "300" }, "300px", -1),
1768
- n[10] ||= x("option", { value: "400" }, "400px", -1),
1769
- n[11] ||= x("option", { value: "500" }, "500px", -1)
1791
+ S("option", Xi, f(g(i).image.fullWidth), 1),
1792
+ n[9] ||= S("option", { value: "300" }, "300px", -1),
1793
+ n[10] ||= S("option", { value: "400" }, "400px", -1),
1794
+ n[11] ||= S("option", { value: "500" }, "500px", -1)
1770
1795
  ], 42, Yi)]),
1771
- x("div", Zi, [x("label", { class: u(S(W)) }, w(S(i).title.align), 3), k(Y, {
1796
+ S("div", Zi, [S("label", { class: x(g(G)) }, f(g(i).title.align), 3), k(X, {
1772
1797
  options: [
1773
1798
  {
1774
1799
  value: "left",
1775
- label: S(i).title.alignLeft
1800
+ label: g(i).title.alignLeft
1776
1801
  },
1777
1802
  {
1778
1803
  value: "center",
1779
- label: S(i).title.alignCenter
1804
+ label: g(i).title.alignCenter
1780
1805
  },
1781
1806
  {
1782
1807
  value: "right",
1783
- label: S(i).title.alignRight
1808
+ label: g(i).title.alignRight
1784
1809
  }
1785
1810
  ],
1786
1811
  "model-value": e.block.align,
1787
- "onUpdate:modelValue": n[5] ||= (e) => _("align", e)
1812
+ "onUpdate:modelValue": n[5] ||= (e) => v("align", e)
1788
1813
  }, null, 8, ["options", "model-value"])]),
1789
- x("div", Qi, [
1790
- x("label", { class: u(S(W)) }, w(S(i).image.linkUrl), 3),
1791
- k(X, {
1814
+ S("div", Qi, [
1815
+ S("label", { class: x(g(G)) }, f(g(i).image.linkUrl), 3),
1816
+ k(Z, {
1792
1817
  "model-value": e.block.linkUrl || "",
1793
1818
  type: "url",
1794
- placeholder: S(i).image.imageUrlPlaceholder,
1795
- "onUpdate:modelValue": n[6] ||= (e) => _("linkUrl", e)
1819
+ placeholder: g(i).image.imageUrlPlaceholder,
1820
+ "onUpdate:modelValue": n[6] ||= (e) => v("linkUrl", e)
1796
1821
  }, null, 8, ["model-value", "placeholder"]),
1797
- e.block.linkUrl ? (r(), m("label", $i, [x("input", {
1822
+ e.block.linkUrl ? (r(), m("label", $i, [S("input", {
1798
1823
  type: "checkbox",
1799
1824
  class: "tpl:size-3.5 tpl:cursor-pointer tpl:accent-[var(--tpl-primary)]",
1800
1825
  checked: e.block.linkOpenInNewTab ?? !1,
1801
- onChange: n[7] ||= (e) => _("linkOpenInNewTab", e.target.checked)
1802
- }, null, 40, ea), D(" " + w(S(i).image.openInNewTab), 1)])) : h("", !0)
1826
+ onChange: n[7] ||= (e) => v("linkOpenInNewTab", e.target.checked)
1827
+ }, null, 40, ea), D(" " + f(g(i).image.openInNewTab), 1)])) : h("", !0)
1803
1828
  ])
1804
1829
  ], 64));
1805
1830
  }
@@ -1815,7 +1840,7 @@ var Si = {
1815
1840
  },
1816
1841
  emits: ["update"],
1817
1842
  setup(e, { emit: t }) {
1818
- let n = e, i = t, { t: o } = I(), c = p(() => [
1843
+ let n = e, i = t, { t: o } = R(), c = p(() => [
1819
1844
  {
1820
1845
  key: "openInNewTab",
1821
1846
  label: o.menu.openInNewTab
@@ -1832,25 +1857,25 @@ var Si = {
1832
1857
  {
1833
1858
  value: "left",
1834
1859
  label: o.title.alignLeft,
1835
- icon: ut
1860
+ icon: lt
1836
1861
  },
1837
1862
  {
1838
1863
  value: "center",
1839
1864
  label: o.title.alignCenter,
1840
- icon: H
1865
+ icon: nt
1841
1866
  },
1842
1867
  {
1843
1868
  value: "right",
1844
1869
  label: o.title.alignRight,
1845
- icon: dt
1870
+ icon: ut
1846
1871
  }
1847
1872
  ]);
1848
- function d(e, t) {
1873
+ function u(e, t) {
1849
1874
  i("update", { [e]: t });
1850
1875
  }
1851
- function f() {
1876
+ function d() {
1852
1877
  let e = {
1853
- id: R(),
1878
+ id: V(),
1854
1879
  text: "",
1855
1880
  url: "",
1856
1881
  openInNewTab: !1,
@@ -1865,128 +1890,128 @@ var Si = {
1865
1890
  [t]: r
1866
1891
  } : n) });
1867
1892
  }
1868
- function g(e) {
1893
+ function _(e) {
1869
1894
  i("update", { items: n.block.items.filter((t) => t.id !== e) });
1870
1895
  }
1871
1896
  return (t, n) => (r(), m(E, null, [
1872
- k(J, { label: S(o).menu.items }, {
1873
- default: s(() => [x("div", na, [(r(!0), m(E, null, a(e.block.items, (t) => (r(), m("div", {
1897
+ k(Y, { label: g(o).menu.items }, {
1898
+ default: s(() => [S("div", na, [(r(!0), m(E, null, a(e.block.items, (t) => (r(), m("div", {
1874
1899
  key: t.id,
1875
1900
  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"
1876
1901
  }, [
1877
- x("div", ra, [x("input", {
1902
+ S("div", ra, [S("input", {
1878
1903
  type: "text",
1879
- class: u([S(U), "tpl:flex-1"]),
1904
+ class: x([g(W), "tpl:flex-1"]),
1880
1905
  value: t.text,
1881
- placeholder: S(o).menu.text,
1906
+ placeholder: g(o).menu.text,
1882
1907
  onInput: (e) => h(t.id, "text", e.target.value)
1883
- }, null, 42, ia), x("button", {
1884
- class: u(S(vt)),
1885
- title: S(o).menu.removeItem,
1886
- onClick: (e) => g(t.id)
1887
- }, [k(S(He), {
1908
+ }, null, 42, ia), S("button", {
1909
+ class: x(g(_t)),
1910
+ title: g(o).menu.removeItem,
1911
+ onClick: (e) => _(t.id)
1912
+ }, [k(g(Oe), {
1888
1913
  size: 14,
1889
1914
  "stroke-width": 2
1890
1915
  })], 10, aa)]),
1891
- k(X, {
1916
+ k(Z, {
1892
1917
  "model-value": t.url,
1893
1918
  type: "url",
1894
- placeholder: S(o).menu.urlPlaceholder,
1919
+ placeholder: g(o).menu.urlPlaceholder,
1895
1920
  "onUpdate:modelValue": (e) => h(t.id, "url", e)
1896
1921
  }, null, 8, [
1897
1922
  "model-value",
1898
1923
  "placeholder",
1899
1924
  "onUpdate:modelValue"
1900
1925
  ]),
1901
- x("div", oa, [(r(!0), m(E, null, a(c.value, (e) => (r(), m("label", {
1926
+ S("div", oa, [(r(!0), m(E, null, a(c.value, (e) => (r(), m("label", {
1902
1927
  key: e.key,
1903
1928
  class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-1"
1904
- }, [x("input", {
1929
+ }, [S("input", {
1905
1930
  type: "checkbox",
1906
1931
  checked: t[e.key],
1907
1932
  class: "tpl:accent-[var(--tpl-primary)]",
1908
1933
  onChange: (n) => h(t.id, e.key, n.target.checked)
1909
- }, null, 40, sa), D(" " + w(e.label), 1)]))), 128))]),
1910
- x("div", ca, [x("label", { class: u([S(W), "tpl:!mb-0"]) }, w(S(o).menu.color), 3), k(q, {
1934
+ }, null, 40, sa), D(" " + f(e.label), 1)]))), 128))]),
1935
+ S("div", ca, [S("label", { class: x([g(G), "tpl:!mb-0"]) }, f(g(o).menu.color), 3), k(J, {
1911
1936
  "swatch-only": "",
1912
1937
  "model-value": t.color || e.block.linkColor || e.block.color,
1913
1938
  "onUpdate:modelValue": (e) => h(t.id, "color", e)
1914
1939
  }, null, 8, ["model-value", "onUpdate:modelValue"])])
1915
- ]))), 128)), x("button", {
1916
- class: u(S(yt)),
1917
- onClick: f
1918
- }, [k(S(B), {
1940
+ ]))), 128)), S("button", {
1941
+ class: x(g(vt)),
1942
+ onClick: d
1943
+ }, [k(g(H), {
1919
1944
  size: 14,
1920
1945
  "stroke-width": 2
1921
- }), D(" " + w(S(o).menu.addItem), 1)], 2)])]),
1946
+ }), D(" " + f(g(o).menu.addItem), 1)], 2)])]),
1922
1947
  _: 1
1923
1948
  }, 8, ["label"]),
1924
- k(J, { label: S(o).menu.fontFamily }, {
1925
- default: s(() => [x("select", {
1926
- class: u(S(U)),
1949
+ k(Y, { label: g(o).menu.fontFamily }, {
1950
+ default: s(() => [S("select", {
1951
+ class: x(g(W)),
1927
1952
  value: e.block.fontFamily || "",
1928
- onChange: n[0] ||= (e) => d("fontFamily", e.target.value || void 0)
1929
- }, [x("option", ua, w(S(o).title.inheritFont), 1), (r(!0), m(E, null, a(e.fontFamilies, (e) => (r(), m("option", {
1953
+ onChange: n[0] ||= (e) => u("fontFamily", e.target.value || void 0)
1954
+ }, [S("option", ua, f(g(o).title.inheritFont), 1), (r(!0), m(E, null, a(e.fontFamilies, (e) => (r(), m("option", {
1930
1955
  key: e.value,
1931
1956
  value: e.value
1932
- }, w(e.label), 9, da))), 128))], 42, la)]),
1957
+ }, f(e.label), 9, da))), 128))], 42, la)]),
1933
1958
  _: 1
1934
1959
  }, 8, ["label"]),
1935
- k(J, { label: S(o).menu.fontSize }, {
1936
- default: s(() => [k(Ct, {
1960
+ k(Y, { label: g(o).menu.fontSize }, {
1961
+ default: s(() => [k(St, {
1937
1962
  "model-value": e.block.fontSize,
1938
1963
  min: 8,
1939
1964
  max: 48,
1940
1965
  suffix: "px",
1941
- "onUpdate:modelValue": n[1] ||= (e) => d("fontSize", e)
1966
+ "onUpdate:modelValue": n[1] ||= (e) => u("fontSize", e)
1942
1967
  }, null, 8, ["model-value"])]),
1943
1968
  _: 1
1944
1969
  }, 8, ["label"]),
1945
- k(J, { label: S(o).menu.color }, {
1946
- default: s(() => [k(q, {
1970
+ k(Y, { label: g(o).menu.color }, {
1971
+ default: s(() => [k(J, {
1947
1972
  "model-value": e.block.color,
1948
- "onUpdate:modelValue": n[2] ||= (e) => d("color", e)
1973
+ "onUpdate:modelValue": n[2] ||= (e) => u("color", e)
1949
1974
  }, null, 8, ["model-value"])]),
1950
1975
  _: 1
1951
1976
  }, 8, ["label"]),
1952
- k(J, { label: S(o).menu.linkColor }, {
1953
- default: s(() => [k(q, {
1977
+ k(Y, { label: g(o).menu.linkColor }, {
1978
+ default: s(() => [k(J, {
1954
1979
  "model-value": e.block.linkColor || e.block.color,
1955
- "onUpdate:modelValue": n[3] ||= (e) => d("linkColor", e || void 0)
1980
+ "onUpdate:modelValue": n[3] ||= (e) => u("linkColor", e || void 0)
1956
1981
  }, null, 8, ["model-value"])]),
1957
1982
  _: 1
1958
1983
  }, 8, ["label"]),
1959
- k(J, { label: S(o).menu.textAlign }, {
1960
- default: s(() => [k(Y, {
1984
+ k(Y, { label: g(o).menu.textAlign }, {
1985
+ default: s(() => [k(X, {
1961
1986
  options: l.value,
1962
1987
  "model-value": e.block.textAlign,
1963
- "onUpdate:modelValue": n[4] ||= (e) => d("textAlign", e)
1988
+ "onUpdate:modelValue": n[4] ||= (e) => u("textAlign", e)
1964
1989
  }, null, 8, ["options", "model-value"])]),
1965
1990
  _: 1
1966
1991
  }, 8, ["label"]),
1967
- k(J, { label: S(o).menu.separator }, {
1968
- default: s(() => [x("input", {
1992
+ k(Y, { label: g(o).menu.separator }, {
1993
+ default: s(() => [S("input", {
1969
1994
  type: "text",
1970
- class: u(S(U)),
1995
+ class: x(g(W)),
1971
1996
  value: e.block.separator,
1972
- onInput: n[5] ||= (e) => d("separator", e.target.value)
1997
+ onInput: n[5] ||= (e) => u("separator", e.target.value)
1973
1998
  }, null, 42, fa)]),
1974
1999
  _: 1
1975
2000
  }, 8, ["label"]),
1976
- k(J, { label: S(o).menu.separatorColor }, {
1977
- default: s(() => [k(q, {
2001
+ k(Y, { label: g(o).menu.separatorColor }, {
2002
+ default: s(() => [k(J, {
1978
2003
  "model-value": e.block.separatorColor,
1979
- "onUpdate:modelValue": n[6] ||= (e) => d("separatorColor", e)
2004
+ "onUpdate:modelValue": n[6] ||= (e) => u("separatorColor", e)
1980
2005
  }, null, 8, ["model-value"])]),
1981
2006
  _: 1
1982
2007
  }, 8, ["label"]),
1983
- k(J, { label: S(o).menu.spacing }, {
1984
- default: s(() => [k(Ct, {
2008
+ k(Y, { label: g(o).menu.spacing }, {
2009
+ default: s(() => [k(St, {
1985
2010
  "model-value": e.block.spacing,
1986
2011
  min: 0,
1987
2012
  max: 50,
1988
2013
  suffix: "px",
1989
- "onUpdate:modelValue": n[7] ||= (e) => d("spacing", e)
2014
+ "onUpdate:modelValue": n[7] ||= (e) => u("spacing", e)
1990
2015
  }, null, 8, ["model-value"])]),
1991
2016
  _: 1
1992
2017
  }, 8, ["label"])
@@ -1997,7 +2022,7 @@ var Si = {
1997
2022
  props: { block: {} },
1998
2023
  emits: ["update"],
1999
2024
  setup(e, { emit: t }) {
2000
- let n = t, { t: i } = I(), o = p(() => [
2025
+ let n = t, { t: i } = R(), o = p(() => [
2001
2026
  {
2002
2027
  value: "1",
2003
2028
  label: i.section.column1
@@ -2019,27 +2044,27 @@ var Si = {
2019
2044
  label: i.section.ratio21
2020
2045
  }
2021
2046
  ]);
2022
- return (t, s) => (r(), m("div", ma, [x("label", { class: u(S(W)) }, w(S(i).section.columns), 3), x("select", {
2023
- class: u(S(U)),
2047
+ return (t, s) => (r(), m("div", ma, [S("label", { class: x(g(G)) }, f(g(i).section.columns), 3), S("select", {
2048
+ class: x(g(W)),
2024
2049
  value: e.block.columns,
2025
2050
  onChange: s[0] ||= (e) => n("update", { columns: e.target.value })
2026
2051
  }, [(r(!0), m(E, null, a(o.value, (e) => (r(), m("option", {
2027
2052
  key: e.value,
2028
2053
  value: e.value
2029
- }, w(e.label), 9, ga))), 128))], 42, ha)]));
2054
+ }, f(e.label), 9, ga))), 128))], 42, ha)]));
2030
2055
  }
2031
2056
  }), va = { class: "tpl:mb-3.5" }, ya = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ba = { class: "tpl:flex tpl:items-center tpl:gap-2" }, xa = ["value", "onChange"], Sa = ["value"], Ca = ["title", "onClick"], wa = { class: "tpl:mb-3.5" }, Ta = { class: "tpl:mb-3.5" }, Ea = { class: "tpl:mb-3.5" }, Da = { class: "tpl:flex tpl:items-stretch" }, Oa = ["value"], ka = { class: "tpl:mb-3.5" }, Aa = /* @__PURE__ */ O({
2032
2057
  __name: "SocialToolbar",
2033
2058
  props: { block: {} },
2034
2059
  emits: ["update"],
2035
2060
  setup(e, { emit: t }) {
2036
- let n = e, i = t, { t: o } = I();
2061
+ let n = e, i = t, { t: o } = R();
2037
2062
  function s(e, t) {
2038
2063
  i("update", { [e]: t });
2039
2064
  }
2040
2065
  function c() {
2041
2066
  let e = {
2042
- id: R(),
2067
+ id: V(),
2043
2068
  platform: "facebook",
2044
2069
  url: ""
2045
2070
  };
@@ -2051,111 +2076,111 @@ var Si = {
2051
2076
  [t]: r
2052
2077
  } : n) });
2053
2078
  }
2054
- function d(e) {
2079
+ function u(e) {
2055
2080
  i("update", { icons: n.block.icons.filter((t) => t.id !== e) });
2056
2081
  }
2057
2082
  return (t, n) => (r(), m(E, null, [
2058
- x("div", va, [x("label", { class: u(S(W)) }, w(S(o).social.icons), 3), x("div", ya, [(r(!0), m(E, null, a(e.block.icons, (e) => (r(), m("div", {
2083
+ S("div", va, [S("label", { class: x(g(G)) }, f(g(o).social.icons), 3), S("div", ya, [(r(!0), m(E, null, a(e.block.icons, (e) => (r(), m("div", {
2059
2084
  key: e.id,
2060
2085
  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"
2061
- }, [x("div", ba, [x("select", {
2062
- class: u([S(U), "tpl:flex-1"]),
2086
+ }, [S("div", ba, [S("select", {
2087
+ class: x([g(W), "tpl:flex-1"]),
2063
2088
  value: e.platform,
2064
2089
  onChange: (t) => l(e.id, "platform", t.target.value)
2065
- }, [(r(!0), m(E, null, a(S(P), (e) => (r(), m("option", {
2090
+ }, [(r(!0), m(E, null, a(g(I), (e) => (r(), m("option", {
2066
2091
  key: e,
2067
2092
  value: e
2068
- }, w(S(L)[e].name), 9, Sa))), 128))], 42, xa), x("button", {
2069
- class: u(S(vt)),
2070
- title: S(o).social.removeIcon,
2071
- onClick: (t) => d(e.id)
2072
- }, [k(S(He), {
2093
+ }, f(g(P)[e].name), 9, Sa))), 128))], 42, xa), S("button", {
2094
+ class: x(g(_t)),
2095
+ title: g(o).social.removeIcon,
2096
+ onClick: (t) => u(e.id)
2097
+ }, [k(g(Oe), {
2073
2098
  size: 14,
2074
2099
  "stroke-width": 2
2075
- })], 10, Ca)]), k(X, {
2100
+ })], 10, Ca)]), k(Z, {
2076
2101
  "model-value": e.url,
2077
2102
  type: "url",
2078
- placeholder: S(o).social.urlPlaceholder,
2103
+ placeholder: g(o).social.urlPlaceholder,
2079
2104
  "onUpdate:modelValue": (t) => l(e.id, "url", t)
2080
2105
  }, null, 8, [
2081
2106
  "model-value",
2082
2107
  "placeholder",
2083
2108
  "onUpdate:modelValue"
2084
- ])]))), 128)), x("button", {
2085
- class: u(S(yt)),
2109
+ ])]))), 128)), S("button", {
2110
+ class: x(g(vt)),
2086
2111
  onClick: c
2087
- }, [k(S(B), {
2112
+ }, [k(g(H), {
2088
2113
  size: 14,
2089
2114
  "stroke-width": 2
2090
- }), D(" " + w(S(o).social.addIcon), 1)], 2)])]),
2091
- x("div", wa, [x("label", { class: u(S(W)) }, w(S(o).social.style), 3), k(Y, {
2115
+ }), D(" " + f(g(o).social.addIcon), 1)], 2)])]),
2116
+ S("div", wa, [S("label", { class: x(g(G)) }, f(g(o).social.style), 3), k(X, {
2092
2117
  options: [
2093
2118
  {
2094
2119
  value: "solid",
2095
- label: S(o).social.styleSolid
2120
+ label: g(o).social.styleSolid
2096
2121
  },
2097
2122
  {
2098
2123
  value: "outlined",
2099
- label: S(o).social.styleOutlined
2124
+ label: g(o).social.styleOutlined
2100
2125
  },
2101
2126
  {
2102
2127
  value: "rounded",
2103
- label: S(o).social.styleRounded
2128
+ label: g(o).social.styleRounded
2104
2129
  },
2105
2130
  {
2106
2131
  value: "square",
2107
- label: S(o).social.styleSquare
2132
+ label: g(o).social.styleSquare
2108
2133
  },
2109
2134
  {
2110
2135
  value: "circle",
2111
- label: S(o).social.styleCircle
2136
+ label: g(o).social.styleCircle
2112
2137
  }
2113
2138
  ],
2114
2139
  "model-value": e.block.iconStyle,
2115
2140
  "onUpdate:modelValue": n[0] ||= (e) => s("iconStyle", e)
2116
2141
  }, null, 8, ["options", "model-value"])]),
2117
- x("div", Ta, [x("label", { class: u(S(W)) }, w(S(o).social.size), 3), k(Y, {
2142
+ S("div", Ta, [S("label", { class: x(g(G)) }, f(g(o).social.size), 3), k(X, {
2118
2143
  options: [
2119
2144
  {
2120
2145
  value: "small",
2121
- label: S(o).social.sizeSmall
2146
+ label: g(o).social.sizeSmall
2122
2147
  },
2123
2148
  {
2124
2149
  value: "medium",
2125
- label: S(o).social.sizeMedium
2150
+ label: g(o).social.sizeMedium
2126
2151
  },
2127
2152
  {
2128
2153
  value: "large",
2129
- label: S(o).social.sizeLarge
2154
+ label: g(o).social.sizeLarge
2130
2155
  }
2131
2156
  ],
2132
2157
  "model-value": e.block.iconSize,
2133
2158
  "onUpdate:modelValue": n[1] ||= (e) => s("iconSize", e)
2134
2159
  }, null, 8, ["options", "model-value"])]),
2135
- x("div", Ea, [x("label", { class: u(S(W)) }, w(S(o).social.spacing), 3), x("div", Da, [x("input", {
2160
+ S("div", Ea, [S("label", { class: x(g(G)) }, f(g(o).social.spacing), 3), S("div", Da, [S("input", {
2136
2161
  type: "number",
2137
- class: u(S(K)),
2162
+ class: x(g(q)),
2138
2163
  value: e.block.spacing,
2139
2164
  min: "0",
2140
2165
  max: "50",
2141
2166
  onInput: n[2] ||= (e) => s("spacing", Number(e.target.value))
2142
- }, null, 42, Oa), x("span", { class: u(S(G)) }, "px", 2)])]),
2143
- x("div", ka, [x("label", { class: u(S(W)) }, w(S(o).social.align), 3), k(Y, {
2167
+ }, null, 42, Oa), S("span", { class: x(g(K)) }, "px", 2)])]),
2168
+ S("div", ka, [S("label", { class: x(g(G)) }, f(g(o).social.align), 3), k(X, {
2144
2169
  options: [
2145
2170
  {
2146
2171
  value: "left",
2147
- label: S(o).title.alignLeft,
2148
- icon: S(ut)
2172
+ label: g(o).title.alignLeft,
2173
+ icon: g(lt)
2149
2174
  },
2150
2175
  {
2151
2176
  value: "center",
2152
- label: S(o).title.alignCenter,
2153
- icon: S(H)
2177
+ label: g(o).title.alignCenter,
2178
+ icon: g(nt)
2154
2179
  },
2155
2180
  {
2156
2181
  value: "right",
2157
- label: S(o).title.alignRight,
2158
- icon: S(dt)
2182
+ label: g(o).title.alignRight,
2183
+ icon: g(ut)
2159
2184
  }
2160
2185
  ],
2161
2186
  "model-value": e.block.align,
@@ -2168,18 +2193,18 @@ var Si = {
2168
2193
  props: { block: {} },
2169
2194
  emits: ["update"],
2170
2195
  setup(e, { emit: t }) {
2171
- let n = t, { t: i } = I();
2196
+ let n = t, { t: i } = R();
2172
2197
  return (t, a) => (r(), m("div", ja, [
2173
- x("label", { class: u(S(W)) }, w(S(i).spacer.height), 3),
2174
- x("div", Ma, [x("input", {
2198
+ S("label", { class: x(g(G)) }, f(g(i).spacer.height), 3),
2199
+ S("div", Ma, [S("input", {
2175
2200
  type: "number",
2176
- class: u(S(K)),
2201
+ class: x(g(q)),
2177
2202
  value: e.block.height,
2178
2203
  min: "10",
2179
2204
  max: "100",
2180
2205
  onInput: a[0] ||= (e) => n("update", { height: Number(e.target.value) })
2181
- }, null, 42, Na), x("span", { class: u(S(G)) }, "px", 2)]),
2182
- x("input", {
2206
+ }, null, 42, Na), S("span", { class: x(g(K)) }, "px", 2)]),
2207
+ S("input", {
2183
2208
  type: "range",
2184
2209
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
2185
2210
  value: e.block.height,
@@ -2200,141 +2225,141 @@ var Si = {
2200
2225
  },
2201
2226
  emits: ["update"],
2202
2227
  setup(e, { emit: t }) {
2203
- let n = e, i = t, { t: o } = I(), s = p(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
2228
+ let n = e, i = t, { t: o } = R(), s = p(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
2204
2229
  function c(e, t) {
2205
2230
  i("update", { [e]: t });
2206
2231
  }
2207
2232
  function l() {
2208
2233
  let e = n.block.rows.length > 0 ? n.block.rows[0].cells.length : 3, t = {
2209
- id: R(),
2234
+ id: V(),
2210
2235
  cells: Array.from({ length: e }, () => ({
2211
- id: R(),
2236
+ id: V(),
2212
2237
  content: ""
2213
2238
  }))
2214
2239
  };
2215
2240
  i("update", { rows: [...n.block.rows, t] });
2216
2241
  }
2217
- function d(e) {
2242
+ function u(e) {
2218
2243
  i("update", { rows: n.block.rows.filter((t) => t.id !== e) });
2219
2244
  }
2220
- function f() {
2245
+ function d() {
2221
2246
  i("update", { rows: n.block.rows.map((e) => ({
2222
2247
  ...e,
2223
2248
  cells: [...e.cells, {
2224
- id: R(),
2249
+ id: V(),
2225
2250
  content: ""
2226
2251
  }]
2227
2252
  })) });
2228
2253
  }
2229
- function g(e) {
2254
+ function _(e) {
2230
2255
  i("update", { rows: n.block.rows.map((t) => ({
2231
2256
  ...t,
2232
2257
  cells: t.cells.filter((t, n) => n !== e)
2233
2258
  })) });
2234
2259
  }
2235
2260
  return (t, n) => (r(), m(E, null, [
2236
- x("div", Ia, [x("label", { class: u(S(W)) }, w(S(o).table.dimensions), 3), x("div", La, [x("div", Ra, [x("span", za, w(S(o).table.rows), 1), x("div", Ba, [
2237
- x("button", {
2261
+ S("div", Ia, [S("label", { class: x(g(G)) }, f(g(o).table.dimensions), 3), S("div", La, [S("div", Ra, [S("span", za, f(g(o).table.rows), 1), S("div", Ba, [
2262
+ S("button", {
2238
2263
  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",
2239
2264
  disabled: e.block.rows.length <= 1,
2240
- onClick: n[0] ||= (t) => d(e.block.rows[e.block.rows.length - 1].id)
2241
- }, [k(S(V), {
2265
+ onClick: n[0] ||= (t) => u(e.block.rows[e.block.rows.length - 1].id)
2266
+ }, [k(g(U), {
2242
2267
  size: 12,
2243
2268
  "stroke-width": 2
2244
2269
  })], 8, Va),
2245
- x("span", Ha, w(e.block.rows.length), 1),
2246
- x("button", {
2270
+ S("span", Ha, f(e.block.rows.length), 1),
2271
+ S("button", {
2247
2272
  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)]",
2248
2273
  onClick: l
2249
- }, [k(S(B), {
2274
+ }, [k(g(H), {
2250
2275
  size: 12,
2251
2276
  "stroke-width": 2
2252
2277
  })])
2253
- ])]), x("div", Ua, [x("span", Wa, w(S(o).table.columns), 1), x("div", Ga, [
2254
- x("button", {
2278
+ ])]), S("div", Ua, [S("span", Wa, f(g(o).table.columns), 1), S("div", Ga, [
2279
+ S("button", {
2255
2280
  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",
2256
2281
  disabled: s.value <= 1,
2257
- onClick: n[1] ||= (e) => g(s.value - 1)
2258
- }, [k(S(V), {
2282
+ onClick: n[1] ||= (e) => _(s.value - 1)
2283
+ }, [k(g(U), {
2259
2284
  size: 12,
2260
2285
  "stroke-width": 2
2261
2286
  })], 8, Ka),
2262
- x("span", qa, w(s.value), 1),
2263
- x("button", {
2287
+ S("span", qa, f(s.value), 1),
2288
+ S("button", {
2264
2289
  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)]",
2265
- onClick: f
2266
- }, [k(S(B), {
2290
+ onClick: d
2291
+ }, [k(g(H), {
2267
2292
  size: 12,
2268
2293
  "stroke-width": 2
2269
2294
  })])
2270
2295
  ])])])]),
2271
- x("div", Ja, [x("label", Ya, [x("input", {
2296
+ S("div", Ja, [S("label", Ya, [S("input", {
2272
2297
  type: "checkbox",
2273
2298
  checked: e.block.hasHeaderRow,
2274
2299
  class: "tpl:accent-[var(--tpl-primary)]",
2275
2300
  onChange: n[2] ||= (e) => c("hasHeaderRow", e.target.checked)
2276
- }, null, 40, Xa), D(" " + w(S(o).table.hasHeaderRow), 1)])]),
2277
- e.block.hasHeaderRow ? (r(), m("div", Za, [x("label", { class: u(S(W)) }, w(S(o).table.headerBackgroundColor), 3), k(q, {
2278
- "model-value": e.block.headerBackgroundColor || S("#f2f2f2"),
2279
- placeholder: S(o).table.noHeaderBg,
2301
+ }, null, 40, Xa), D(" " + f(g(o).table.hasHeaderRow), 1)])]),
2302
+ e.block.hasHeaderRow ? (r(), m("div", Za, [S("label", { class: x(g(G)) }, f(g(o).table.headerBackgroundColor), 3), k(J, {
2303
+ "model-value": e.block.headerBackgroundColor || g("#f2f2f2"),
2304
+ placeholder: g(o).table.noHeaderBg,
2280
2305
  "onUpdate:modelValue": n[3] ||= (e) => c("headerBackgroundColor", e || null)
2281
2306
  }, null, 8, ["model-value", "placeholder"])])) : h("", !0),
2282
- x("div", Qa, [x("label", { class: u(S(W)) }, w(S(o).table.borderColor), 3), k(q, {
2307
+ S("div", Qa, [S("label", { class: x(g(G)) }, f(g(o).table.borderColor), 3), k(J, {
2283
2308
  "model-value": e.block.borderColor,
2284
2309
  "onUpdate:modelValue": n[4] ||= (e) => c("borderColor", e)
2285
2310
  }, null, 8, ["model-value"])]),
2286
- x("div", $a, [x("label", { class: u(S(W)) }, w(S(o).table.borderWidth), 3), x("div", eo, [x("input", {
2311
+ S("div", $a, [S("label", { class: x(g(G)) }, f(g(o).table.borderWidth), 3), S("div", eo, [S("input", {
2287
2312
  type: "number",
2288
- class: u(S(K)),
2313
+ class: x(g(q)),
2289
2314
  value: e.block.borderWidth,
2290
2315
  min: "0",
2291
2316
  max: "10",
2292
2317
  onInput: n[5] ||= (e) => c("borderWidth", Number(e.target.value))
2293
- }, null, 42, to), x("span", { class: u(S(G)) }, "px", 2)])]),
2294
- x("div", no, [x("label", { class: u(S(W)) }, w(S(o).table.cellPadding), 3), x("div", ro, [x("input", {
2318
+ }, null, 42, to), S("span", { class: x(g(K)) }, "px", 2)])]),
2319
+ S("div", no, [S("label", { class: x(g(G)) }, f(g(o).table.cellPadding), 3), S("div", ro, [S("input", {
2295
2320
  type: "number",
2296
- class: u(S(K)),
2321
+ class: x(g(q)),
2297
2322
  value: e.block.cellPadding,
2298
2323
  min: "0",
2299
2324
  max: "30",
2300
2325
  onInput: n[6] ||= (e) => c("cellPadding", Number(e.target.value))
2301
- }, null, 42, io), x("span", { class: u(S(G)) }, "px", 2)])]),
2302
- x("div", ao, [x("label", { class: u(S(W)) }, w(S(o).table.fontFamily), 3), x("select", {
2303
- class: u(S(U)),
2326
+ }, null, 42, io), S("span", { class: x(g(K)) }, "px", 2)])]),
2327
+ S("div", ao, [S("label", { class: x(g(G)) }, f(g(o).table.fontFamily), 3), S("select", {
2328
+ class: x(g(W)),
2304
2329
  value: e.block.fontFamily || "",
2305
2330
  onChange: n[7] ||= (e) => c("fontFamily", e.target.value || void 0)
2306
- }, [x("option", so, w(S(o).title.inheritFont), 1), (r(!0), m(E, null, a(e.fontFamilies, (e) => (r(), m("option", {
2331
+ }, [S("option", so, f(g(o).title.inheritFont), 1), (r(!0), m(E, null, a(e.fontFamilies, (e) => (r(), m("option", {
2307
2332
  key: e.value,
2308
2333
  value: e.value
2309
- }, w(e.label), 9, co))), 128))], 42, oo)]),
2310
- x("div", lo, [x("label", { class: u(S(W)) }, w(S(o).table.fontSize), 3), x("div", uo, [x("input", {
2334
+ }, f(e.label), 9, co))), 128))], 42, oo)]),
2335
+ S("div", lo, [S("label", { class: x(g(G)) }, f(g(o).table.fontSize), 3), S("div", uo, [S("input", {
2311
2336
  type: "number",
2312
- class: u(S(K)),
2337
+ class: x(g(q)),
2313
2338
  value: e.block.fontSize,
2314
2339
  min: "10",
2315
2340
  max: "32",
2316
2341
  onInput: n[8] ||= (e) => c("fontSize", Number(e.target.value))
2317
- }, null, 42, fo), x("span", { class: u(S(G)) }, "px", 2)])]),
2318
- x("div", po, [x("label", { class: u(S(W)) }, w(S(o).table.color), 3), k(q, {
2342
+ }, null, 42, fo), S("span", { class: x(g(K)) }, "px", 2)])]),
2343
+ S("div", po, [S("label", { class: x(g(G)) }, f(g(o).table.color), 3), k(J, {
2319
2344
  "model-value": e.block.color,
2320
2345
  "onUpdate:modelValue": n[9] ||= (e) => c("color", e)
2321
2346
  }, null, 8, ["model-value"])]),
2322
- x("div", mo, [x("label", { class: u(S(W)) }, w(S(o).table.textAlign), 3), k(Y, {
2347
+ S("div", mo, [S("label", { class: x(g(G)) }, f(g(o).table.textAlign), 3), k(X, {
2323
2348
  options: [
2324
2349
  {
2325
2350
  value: "left",
2326
- label: S(o).title.alignLeft,
2327
- icon: S(ut)
2351
+ label: g(o).title.alignLeft,
2352
+ icon: g(lt)
2328
2353
  },
2329
2354
  {
2330
2355
  value: "center",
2331
- label: S(o).title.alignCenter,
2332
- icon: S(H)
2356
+ label: g(o).title.alignCenter,
2357
+ icon: g(nt)
2333
2358
  },
2334
2359
  {
2335
2360
  value: "right",
2336
- label: S(o).title.alignRight,
2337
- icon: S(dt)
2361
+ label: g(o).title.alignRight,
2362
+ icon: g(ut)
2338
2363
  }
2339
2364
  ],
2340
2365
  "model-value": e.block.textAlign,
@@ -2350,49 +2375,49 @@ var Si = {
2350
2375
  },
2351
2376
  emits: ["update"],
2352
2377
  setup(e, { emit: t }) {
2353
- let n = t, { t: i } = I();
2378
+ let n = t, { t: i } = R();
2354
2379
  function o(e, t) {
2355
2380
  n("update", { [e]: t });
2356
2381
  }
2357
2382
  return (t, n) => (r(), m(E, null, [
2358
- x("div", go, [x("label", { class: u(S(W)) }, w(S(i).title.level), 3), x("select", {
2359
- class: u(S(U)),
2383
+ S("div", go, [S("label", { class: x(g(G)) }, f(g(i).title.level), 3), S("select", {
2384
+ class: x(g(W)),
2360
2385
  value: e.block.level,
2361
2386
  onChange: n[0] ||= (e) => o("level", Number(e.target.value))
2362
2387
  }, [
2363
- x("option", vo, w(S(i).title.heading1), 1),
2364
- x("option", yo, w(S(i).title.heading2), 1),
2365
- x("option", bo, w(S(i).title.heading3), 1),
2366
- x("option", xo, w(S(i).title.heading4), 1)
2388
+ S("option", vo, f(g(i).title.heading1), 1),
2389
+ S("option", yo, f(g(i).title.heading2), 1),
2390
+ S("option", bo, f(g(i).title.heading3), 1),
2391
+ S("option", xo, f(g(i).title.heading4), 1)
2367
2392
  ], 42, _o)]),
2368
- x("div", So, [x("label", { class: u(S(W)) }, w(S(i).title.fontFamily), 3), x("select", {
2369
- class: u(S(U)),
2393
+ S("div", So, [S("label", { class: x(g(G)) }, f(g(i).title.fontFamily), 3), S("select", {
2394
+ class: x(g(W)),
2370
2395
  value: e.block.fontFamily || "",
2371
2396
  onChange: n[1] ||= (e) => o("fontFamily", e.target.value || void 0)
2372
- }, [x("option", wo, w(S(i).title.inheritFont), 1), (r(!0), m(E, null, a(e.fontFamilies, (e) => (r(), m("option", {
2397
+ }, [S("option", wo, f(g(i).title.inheritFont), 1), (r(!0), m(E, null, a(e.fontFamilies, (e) => (r(), m("option", {
2373
2398
  key: e.value,
2374
2399
  value: e.value
2375
- }, w(e.label), 9, To))), 128))], 42, Co)]),
2376
- x("div", Eo, [x("label", { class: u(S(W)) }, w(S(i).title.color), 3), k(q, {
2400
+ }, f(e.label), 9, To))), 128))], 42, Co)]),
2401
+ S("div", Eo, [S("label", { class: x(g(G)) }, f(g(i).title.color), 3), k(J, {
2377
2402
  "model-value": e.block.color,
2378
2403
  "onUpdate:modelValue": n[2] ||= (e) => o("color", e)
2379
2404
  }, null, 8, ["model-value"])]),
2380
- x("div", Do, [x("label", { class: u(S(W)) }, w(S(i).title.align), 3), k(Y, {
2405
+ S("div", Do, [S("label", { class: x(g(G)) }, f(g(i).title.align), 3), k(X, {
2381
2406
  options: [
2382
2407
  {
2383
2408
  value: "left",
2384
- label: S(i).title.alignLeft,
2385
- icon: S(ut)
2409
+ label: g(i).title.alignLeft,
2410
+ icon: g(lt)
2386
2411
  },
2387
2412
  {
2388
2413
  value: "center",
2389
- label: S(i).title.alignCenter,
2390
- icon: S(H)
2414
+ label: g(i).title.alignCenter,
2415
+ icon: g(nt)
2391
2416
  },
2392
2417
  {
2393
2418
  value: "right",
2394
- label: S(i).title.alignRight,
2395
- icon: S(dt)
2419
+ label: g(i).title.alignRight,
2420
+ icon: g(ut)
2396
2421
  }
2397
2422
  ],
2398
2423
  "model-value": e.block.textAlign,
@@ -2415,54 +2440,54 @@ var Si = {
2415
2440
  props: { block: {} },
2416
2441
  emits: ["update"],
2417
2442
  setup(e, { emit: t }) {
2418
- let n = e, i = t, { t: a } = I(), s = o(Ee, null), c = o(se, Me.liquid), d = p(() => !!s), f = p(() => Be(n.block.url, c)), g = l(!1), { start: _ } = Ie(() => {
2419
- g.value = !1;
2443
+ let n = e, i = t, { t: a } = R(), s = o(z, null), c = o(Se, Ne.liquid), u = p(() => !!s), d = p(() => Me(n.block.url, c)), _ = l(!1), { start: v } = Be(() => {
2444
+ _.value = !1;
2420
2445
  }, 1e3, { immediate: !1 });
2421
- function v(e, t) {
2446
+ function y(e, t) {
2422
2447
  i("update", { [e]: t });
2423
2448
  }
2424
- async function y() {
2449
+ async function b() {
2425
2450
  let e = await s?.({ accept: ["images"] });
2426
- e && (v("thumbnailUrl", e.url), g.value = !0, _());
2451
+ e && (y("thumbnailUrl", e.url), _.value = !0, v());
2427
2452
  }
2428
2453
  return (t, n) => (r(), m(E, null, [
2429
- x("div", ko, [
2430
- x("label", { class: u(S(W)) }, w(S(a).video.videoUrl), 3),
2431
- k(X, {
2454
+ S("div", ko, [
2455
+ S("label", { class: x(g(G)) }, f(g(a).video.videoUrl), 3),
2456
+ k(Z, {
2432
2457
  "model-value": e.block.url,
2433
2458
  type: "url",
2434
- placeholder: S(a).video.videoUrlPlaceholder,
2435
- "onUpdate:modelValue": n[0] ||= (e) => v("url", e)
2459
+ placeholder: g(a).video.videoUrlPlaceholder,
2460
+ "onUpdate:modelValue": n[0] ||= (e) => y("url", e)
2436
2461
  }, null, 8, ["model-value", "placeholder"]),
2437
- e.block.url ? (r(), m("label", Ao, [x("input", {
2462
+ e.block.url ? (r(), m("label", Ao, [S("input", {
2438
2463
  type: "checkbox",
2439
2464
  class: "tpl:size-3.5 tpl:cursor-pointer tpl:accent-[var(--tpl-primary)]",
2440
2465
  checked: e.block.openInNewTab ?? !1,
2441
- onChange: n[1] ||= (e) => v("openInNewTab", e.target.checked)
2442
- }, null, 40, jo), D(" " + w(S(a).video.openInNewTab), 1)])) : h("", !0)
2466
+ onChange: n[1] ||= (e) => y("openInNewTab", e.target.checked)
2467
+ }, null, 40, jo), D(" " + f(g(a).video.openInNewTab), 1)])) : h("", !0)
2443
2468
  ]),
2444
- f.value ? (r(), m("div", Mo, [x("label", { class: u(S(W)) }, [D(w(S(a).video.placeholderUrl) + " ", 1), x("span", No, w(S(a).video.optional), 1)], 2), x("input", {
2469
+ d.value ? (r(), m("div", Mo, [S("label", { class: x(g(G)) }, [D(f(g(a).video.placeholderUrl) + " ", 1), S("span", No, f(g(a).video.optional), 1)], 2), S("input", {
2445
2470
  type: "url",
2446
- class: u(S(U)),
2471
+ class: x(g(W)),
2447
2472
  value: e.block.placeholderUrl || "",
2448
- placeholder: S(a).video.placeholderUrlPlaceholder,
2449
- title: S(a).video.placeholderUrlTooltip,
2450
- onInput: n[2] ||= (e) => v("placeholderUrl", e.target.value)
2473
+ placeholder: g(a).video.placeholderUrlPlaceholder,
2474
+ title: g(a).video.placeholderUrlTooltip,
2475
+ onInput: n[2] ||= (e) => y("placeholderUrl", e.target.value)
2451
2476
  }, null, 42, Po)])) : h("", !0),
2452
- x("div", Fo, [
2453
- x("label", { class: u(S(W)) }, [D(w(S(a).video.customThumbnail) + " ", 1), x("span", Io, w(S(a).video.optional), 1)], 2),
2454
- k(X, {
2477
+ S("div", Fo, [
2478
+ S("label", { class: x(g(G)) }, [D(f(g(a).video.customThumbnail) + " ", 1), S("span", Io, f(g(a).video.optional), 1)], 2),
2479
+ k(Z, {
2455
2480
  "model-value": e.block.thumbnailUrl,
2456
2481
  type: "url",
2457
- placeholder: S(a).video.thumbnailPlaceholder,
2458
- pulse: g.value,
2459
- "onUpdate:modelValue": n[3] ||= (e) => v("thumbnailUrl", e)
2482
+ placeholder: g(a).video.thumbnailPlaceholder,
2483
+ pulse: _.value,
2484
+ "onUpdate:modelValue": n[3] ||= (e) => y("thumbnailUrl", e)
2460
2485
  }, null, 8, [
2461
2486
  "model-value",
2462
2487
  "placeholder",
2463
2488
  "pulse"
2464
2489
  ]),
2465
- d.value ? (r(), m("button", {
2490
+ u.value ? (r(), m("button", {
2466
2491
  key: 0,
2467
2492
  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",
2468
2493
  style: {
@@ -2470,49 +2495,49 @@ var Si = {
2470
2495
  color: "var(--tpl-primary)",
2471
2496
  "background-color": "var(--tpl-bg)"
2472
2497
  },
2473
- onClick: y
2474
- }, [k(S(Ge), {
2498
+ onClick: b
2499
+ }, [k(g(Ge), {
2475
2500
  size: 14,
2476
2501
  "stroke-width": 1.5
2477
- }), D(" " + w(S(a).image.browseMedia), 1)])) : h("", !0)
2502
+ }), D(" " + f(g(a).image.browseMedia), 1)])) : h("", !0)
2478
2503
  ]),
2479
- x("div", Lo, [x("label", { class: u(S(W)) }, w(S(a).video.altText), 3), k(X, {
2504
+ S("div", Lo, [S("label", { class: x(g(G)) }, f(g(a).video.altText), 3), k(Z, {
2480
2505
  "model-value": e.block.alt,
2481
2506
  type: "text",
2482
- placeholder: S(a).video.altTextPlaceholder,
2483
- "onUpdate:modelValue": n[4] ||= (e) => v("alt", e)
2507
+ placeholder: g(a).video.altTextPlaceholder,
2508
+ "onUpdate:modelValue": n[4] ||= (e) => y("alt", e)
2484
2509
  }, null, 8, ["model-value", "placeholder"])]),
2485
- x("div", Ro, [x("label", { class: u(S(W)) }, w(S(a).video.width), 3), x("select", {
2486
- class: u(S(U)),
2510
+ S("div", Ro, [S("label", { class: x(g(G)) }, f(g(a).video.width), 3), S("select", {
2511
+ class: x(g(W)),
2487
2512
  value: e.block.width,
2488
- onChange: n[5] ||= (e) => v("width", e.target.value === "full" ? "full" : Number(e.target.value))
2513
+ onChange: n[5] ||= (e) => y("width", e.target.value === "full" ? "full" : Number(e.target.value))
2489
2514
  }, [
2490
- x("option", Bo, w(S(a).video.fullWidth), 1),
2491
- n[7] ||= x("option", { value: "300" }, "300px", -1),
2492
- n[8] ||= x("option", { value: "400" }, "400px", -1),
2493
- n[9] ||= x("option", { value: "500" }, "500px", -1)
2515
+ S("option", Bo, f(g(a).video.fullWidth), 1),
2516
+ n[7] ||= S("option", { value: "300" }, "300px", -1),
2517
+ n[8] ||= S("option", { value: "400" }, "400px", -1),
2518
+ n[9] ||= S("option", { value: "500" }, "500px", -1)
2494
2519
  ], 42, zo)]),
2495
- x("div", Vo, [x("label", { class: u(S(W)) }, w(S(a).title.align), 3), k(Y, {
2520
+ S("div", Vo, [S("label", { class: x(g(G)) }, f(g(a).title.align), 3), k(X, {
2496
2521
  options: [
2497
2522
  {
2498
2523
  value: "left",
2499
- label: S(a).title.alignLeft
2524
+ label: g(a).title.alignLeft
2500
2525
  },
2501
2526
  {
2502
2527
  value: "center",
2503
- label: S(a).title.alignCenter
2528
+ label: g(a).title.alignCenter
2504
2529
  },
2505
2530
  {
2506
2531
  value: "right",
2507
- label: S(a).title.alignRight
2532
+ label: g(a).title.alignRight
2508
2533
  }
2509
2534
  ],
2510
2535
  "model-value": e.block.align,
2511
- "onUpdate:modelValue": n[6] ||= (e) => v("align", e)
2536
+ "onUpdate:modelValue": n[6] ||= (e) => y("align", e)
2512
2537
  }, null, 8, ["options", "model-value"])])
2513
2538
  ], 64));
2514
2539
  }
2515
- }), Uo = ["aria-label"], Wo = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Go = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Ko = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, qo = { class: "tpl:flex tpl:gap-1" }, Jo = ["title"], Yo = ["title"], Xo = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Zo = /* @__PURE__ */ z(/* @__PURE__ */ O({
2540
+ }), Uo = ["aria-label"], Wo = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Go = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Ko = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, qo = { class: "tpl:flex tpl:gap-1" }, Jo = ["title"], Yo = ["title"], Xo = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Zo = /* @__PURE__ */ B(/* @__PURE__ */ O({
2516
2541
  __name: "Toolbar",
2517
2542
  props: { block: {} },
2518
2543
  emits: [
@@ -2521,99 +2546,99 @@ var Si = {
2521
2546
  "duplicate"
2522
2547
  ],
2523
2548
  setup(e, { emit: t }) {
2524
- let i = d(() => import("./CountdownToolbar-Caokkqsg.js")), a = e, s = t, { t: c } = I(), l = je(Ve, "Toolbar"), u = o(Te, []), f = p(() => a.block.type), g = p(() => ve(a.block)), v = p(() => {
2525
- if (g.value) return u.find((e) => e.type === a.block.customType);
2526
- }), y = p(() => g.value ? v.value?.name ?? a.block.customType : fe(f.value, c)), b = l.fonts;
2527
- function C(e) {
2549
+ let i = u(() => import("./CountdownToolbar-DltwuOer.js")), a = e, s = t, { t: c } = R(), l = ze(L, "Toolbar"), d = o(F, []), _ = p(() => a.block.type), y = p(() => M(a.block)), b = p(() => {
2550
+ if (y.value) return d.find((e) => e.type === a.block.customType);
2551
+ }), x = p(() => y.value ? b.value?.name ?? a.block.customType : de(_.value, c)), C = l.fonts;
2552
+ function w(e) {
2528
2553
  s("update", e);
2529
2554
  }
2530
2555
  return (t, a) => (r(), m("aside", {
2531
- "aria-label": S(c).landmarks.blockToolbar,
2556
+ "aria-label": g(c).landmarks.blockToolbar,
2532
2557
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
2533
- }, [x("div", Wo, [x("div", Go, [S(_t)[f.value] ? (r(), _(n(S(_t)[f.value]), {
2558
+ }, [S("div", Wo, [S("div", Go, [g(gt)[_.value] ? (r(), v(n(g(gt)[_.value]), {
2534
2559
  key: 0,
2535
2560
  size: 16,
2536
2561
  "stroke-width": 1.5
2537
- })) : g.value ? (r(), _(S(N), {
2562
+ })) : y.value ? (r(), v(g(He), {
2538
2563
  key: 1,
2539
2564
  size: 16,
2540
2565
  "stroke-width": 1.5
2541
- })) : h("", !0), x("h3", Ko, w(y.value), 1)]), x("div", qo, [x("button", {
2566
+ })) : h("", !0), S("h3", Ko, f(x.value), 1)]), S("div", qo, [S("button", {
2542
2567
  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)]",
2543
- title: S(c).toolbar.duplicate,
2568
+ title: g(c).toolbar.duplicate,
2544
2569
  onClick: a[0] ||= (e) => s("duplicate")
2545
- }, [k(S(ye), {
2570
+ }, [k(g(te), {
2546
2571
  size: 14,
2547
2572
  "stroke-width": 2
2548
- })], 8, Jo), x("button", {
2573
+ })], 8, Jo), S("button", {
2549
2574
  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)]",
2550
- title: S(c).toolbar.delete,
2575
+ title: g(c).toolbar.delete,
2551
2576
  onClick: a[1] ||= (e) => s("delete")
2552
- }, [k(S(ze), {
2577
+ }, [k(g(Re), {
2553
2578
  size: 14,
2554
2579
  "stroke-width": 2
2555
- })], 8, Yo)])]), x("div", Xo, [g.value ? (r(), _(Ai, {
2580
+ })], 8, Yo)])]), S("div", Xo, [y.value ? (r(), v(Ai, {
2556
2581
  key: 0,
2557
2582
  block: e.block,
2558
2583
  onUpdateFieldValues: a[2] ||= (e) => s("update", { fieldValues: e }),
2559
2584
  onUpdateDataSourceFetched: a[3] ||= (e) => s("update", { dataSourceFetched: e })
2560
- }, null, 8, ["block"])) : f.value === "section" ? (r(), _(_a, {
2585
+ }, null, 8, ["block"])) : _.value === "section" ? (r(), v(_a, {
2561
2586
  key: 1,
2562
2587
  block: e.block,
2563
- onUpdate: C
2564
- }, null, 8, ["block"])) : f.value === "title" ? (r(), _(Oo, {
2588
+ onUpdate: w
2589
+ }, null, 8, ["block"])) : _.value === "title" ? (r(), v(Oo, {
2565
2590
  key: 2,
2566
2591
  block: e.block,
2567
- "font-families": S(b),
2568
- onUpdate: C
2569
- }, null, 8, ["block", "font-families"])) : f.value === "paragraph" ? (r(), m(E, { key: 3 }, [], 64)) : f.value === "image" ? (r(), _(ta, {
2592
+ "font-families": g(C),
2593
+ onUpdate: w
2594
+ }, null, 8, ["block", "font-families"])) : _.value === "paragraph" ? (r(), m(E, { key: 3 }, [], 64)) : _.value === "image" ? (r(), v(ta, {
2570
2595
  key: 4,
2571
2596
  block: e.block,
2572
- onUpdate: C
2573
- }, null, 8, ["block"])) : f.value === "video" ? (r(), _(Ho, {
2597
+ onUpdate: w
2598
+ }, null, 8, ["block"])) : _.value === "video" ? (r(), v(Ho, {
2574
2599
  key: 5,
2575
2600
  block: e.block,
2576
- onUpdate: C
2577
- }, null, 8, ["block"])) : f.value === "button" ? (r(), _(nr, {
2601
+ onUpdate: w
2602
+ }, null, 8, ["block"])) : _.value === "button" ? (r(), v(tr, {
2578
2603
  key: 6,
2579
2604
  block: e.block,
2580
- "font-families": S(b),
2581
- onUpdate: C
2582
- }, null, 8, ["block", "font-families"])) : f.value === "divider" ? (r(), _(Ii, {
2605
+ "font-families": g(C),
2606
+ onUpdate: w
2607
+ }, null, 8, ["block", "font-families"])) : _.value === "divider" ? (r(), v(Ii, {
2583
2608
  key: 7,
2584
2609
  block: e.block,
2585
- onUpdate: C
2586
- }, null, 8, ["block"])) : f.value === "social" ? (r(), _(Aa, {
2610
+ onUpdate: w
2611
+ }, null, 8, ["block"])) : _.value === "social" ? (r(), v(Aa, {
2587
2612
  key: 8,
2588
2613
  block: e.block,
2589
- onUpdate: C
2590
- }, null, 8, ["block"])) : f.value === "menu" ? (r(), _(pa, {
2614
+ onUpdate: w
2615
+ }, null, 8, ["block"])) : _.value === "menu" ? (r(), v(pa, {
2591
2616
  key: 9,
2592
2617
  block: e.block,
2593
- "font-families": S(b),
2594
- onUpdate: C
2595
- }, null, 8, ["block", "font-families"])) : f.value === "table" ? (r(), _(ho, {
2618
+ "font-families": g(C),
2619
+ onUpdate: w
2620
+ }, null, 8, ["block", "font-families"])) : _.value === "table" ? (r(), v(ho, {
2596
2621
  key: 10,
2597
2622
  block: e.block,
2598
- "font-families": S(b),
2599
- onUpdate: C
2600
- }, null, 8, ["block", "font-families"])) : f.value === "spacer" ? (r(), _(Fa, {
2623
+ "font-families": g(C),
2624
+ onUpdate: w
2625
+ }, null, 8, ["block", "font-families"])) : _.value === "spacer" ? (r(), v(Fa, {
2601
2626
  key: 11,
2602
2627
  block: e.block,
2603
- onUpdate: C
2604
- }, null, 8, ["block"])) : f.value === "html" ? (r(), _(Bi, {
2628
+ onUpdate: w
2629
+ }, null, 8, ["block"])) : _.value === "html" ? (r(), v(Bi, {
2605
2630
  key: 12,
2606
2631
  block: e.block,
2607
- onUpdate: C
2608
- }, null, 8, ["block"])) : f.value === "countdown" ? (r(), _(S(i), {
2632
+ onUpdate: w
2633
+ }, null, 8, ["block"])) : _.value === "countdown" ? (r(), v(g(i), {
2609
2634
  key: 13,
2610
2635
  block: e.block,
2611
- "font-families": S(b),
2612
- onUpdate: C
2636
+ "font-families": g(C),
2637
+ onUpdate: w
2613
2638
  }, null, 8, ["block", "font-families"])) : h("", !0), k(qr, {
2614
2639
  block: e.block,
2615
- "is-first-section": f.value === "paragraph",
2616
- onUpdate: C
2640
+ "is-first-section": _.value === "paragraph",
2641
+ onUpdate: w
2617
2642
  }, null, 8, ["block", "is-first-section"])])], 8, Uo));
2618
2643
  }
2619
2644
  }), [["__scopeId", "data-v-2ac88283"]]), Qo = ["aria-label"], $o = {
@@ -2669,8 +2694,8 @@ var Si = {
2669
2694
  "update-settings"
2670
2695
  ],
2671
2696
  setup(e, { emit: t }) {
2672
- let n = d(() => import("./AccessibilityPanel-DnNB30b0.js")), i = e, a = t, { t: s } = I(), c = l("content"), f = o(me, null), g = p(() => f !== null), v = p(() => f?.issues.value.length ?? 0);
2673
- function y(e) {
2697
+ let n = u(() => import("./AccessibilityPanel-kgNBRaZV.js")), i = e, a = t, { t: s } = R(), c = l("content"), d = o(ne, null), _ = p(() => d !== null), y = p(() => d?.issues.value.length ?? 0);
2698
+ function b(e) {
2674
2699
  return c.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)]";
2675
2700
  }
2676
2701
  function C(e) {
@@ -2682,77 +2707,77 @@ var Si = {
2682
2707
  return A(() => i.selectedBlock, (e) => {
2683
2708
  e && (c.value = "content");
2684
2709
  }), (t, i) => (r(), m("aside", {
2685
- "aria-label": S(s).landmarks.rightSidebar,
2686
- class: u(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
2710
+ "aria-label": g(s).landmarks.rightSidebar,
2711
+ class: x(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
2687
2712
  }, [
2688
- x("div", $o, [
2689
- x("button", {
2713
+ S("div", $o, [
2714
+ S("button", {
2690
2715
  id: "tpl-tab-content",
2691
2716
  role: "tab",
2692
2717
  "aria-selected": c.value === "content",
2693
2718
  "aria-controls": "tpl-tabpanel-content",
2694
- "aria-label": S(s).sidebar.content,
2695
- title: S(s).sidebar.content,
2696
- class: u(["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)]", y("content")]),
2697
- style: b(C("content")),
2719
+ "aria-label": g(s).sidebar.content,
2720
+ title: g(s).sidebar.content,
2721
+ class: x(["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)]", b("content")]),
2722
+ style: w(C("content")),
2698
2723
  onClick: i[0] ||= (e) => c.value = "content"
2699
- }, [k(S(ct), {
2724
+ }, [k(g(st), {
2700
2725
  size: 14,
2701
2726
  "stroke-width": 2
2702
- }), c.value === "content" ? (r(), m("span", ts, w(S(s).sidebar.content), 1)) : h("", !0)], 14, es),
2703
- x("button", {
2727
+ }), c.value === "content" ? (r(), m("span", ts, f(g(s).sidebar.content), 1)) : h("", !0)], 14, es),
2728
+ S("button", {
2704
2729
  id: "tpl-tab-settings",
2705
2730
  role: "tab",
2706
2731
  "aria-selected": c.value === "settings",
2707
2732
  "aria-controls": "tpl-tabpanel-settings",
2708
- "aria-label": S(s).sidebar.settings,
2709
- title: S(s).sidebar.settings,
2710
- class: u(["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)]", y("settings")]),
2711
- style: b(C("settings")),
2733
+ "aria-label": g(s).sidebar.settings,
2734
+ title: g(s).sidebar.settings,
2735
+ class: x(["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)]", b("settings")]),
2736
+ style: w(C("settings")),
2712
2737
  onClick: i[1] ||= (e) => c.value = "settings"
2713
- }, [k(S(mt), {
2738
+ }, [k(g(pt), {
2714
2739
  size: 14,
2715
2740
  "stroke-width": 1.5
2716
- }), c.value === "settings" ? (r(), m("span", rs, w(S(s).sidebar.settings), 1)) : h("", !0)], 14, ns),
2717
- g.value ? (r(), m("button", {
2741
+ }), c.value === "settings" ? (r(), m("span", rs, f(g(s).sidebar.settings), 1)) : h("", !0)], 14, ns),
2742
+ _.value ? (r(), m("button", {
2718
2743
  key: 0,
2719
2744
  id: "tpl-tab-accessibility",
2720
2745
  role: "tab",
2721
2746
  "aria-selected": c.value === "accessibility",
2722
2747
  "aria-controls": "tpl-tabpanel-accessibility",
2723
- "aria-label": S(s).accessibility.panelTabLabel,
2724
- title: S(s).accessibility.panelTabLabel,
2725
- class: u(["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)]", y("accessibility")]),
2726
- style: b(C("accessibility")),
2748
+ "aria-label": g(s).accessibility.panelTabLabel,
2749
+ title: g(s).accessibility.panelTabLabel,
2750
+ class: x(["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)]", b("accessibility")]),
2751
+ style: w(C("accessibility")),
2727
2752
  onClick: i[2] ||= (e) => c.value = "accessibility"
2728
2753
  }, [
2729
- k(S(tt), {
2754
+ k(g($e), {
2730
2755
  size: 14,
2731
2756
  "stroke-width": 1.5
2732
2757
  }),
2733
- c.value === "accessibility" ? (r(), m("span", as, w(S(s).accessibility.panelTabLabel), 1)) : h("", !0),
2734
- v.value > 0 ? (r(), m("span", os, w(v.value), 1)) : h("", !0)
2758
+ c.value === "accessibility" ? (r(), m("span", as, f(g(s).accessibility.panelTabLabel), 1)) : h("", !0),
2759
+ y.value > 0 ? (r(), m("span", os, f(y.value), 1)) : h("", !0)
2735
2760
  ], 14, is)) : h("", !0)
2736
2761
  ]),
2737
- c.value === "content" ? (r(), m("div", ss, [e.selectedBlock ? (r(), _(Zo, {
2762
+ c.value === "content" ? (r(), m("div", ss, [e.selectedBlock ? (r(), v(Zo, {
2738
2763
  key: 0,
2739
2764
  block: e.selectedBlock,
2740
2765
  onUpdate: i[3] ||= (e) => a("update-block", e),
2741
2766
  onDelete: i[4] ||= (e) => a("delete-block"),
2742
2767
  onDuplicate: i[5] ||= (e) => a("duplicate-block")
2743
2768
  }, null, 8, ["block"])) : (r(), m("div", cs, [
2744
- x("div", ls, [k(S(nt), {
2769
+ S("div", ls, [k(g(et), {
2745
2770
  size: 40,
2746
2771
  "stroke-width": 1.5
2747
2772
  })]),
2748
- x("h3", us, w(S(s).sidebar.noSelection), 1),
2749
- x("p", ds, w(S(s).sidebar.noSelectionHint), 1)
2773
+ S("h3", us, f(g(s).sidebar.noSelection), 1),
2774
+ S("p", ds, f(g(s).sidebar.noSelectionHint), 1)
2750
2775
  ]))])) : h("", !0),
2751
- c.value === "settings" ? (r(), m("div", fs, [k(Nn, {
2776
+ c.value === "settings" ? (r(), m("div", fs, [k(Mn, {
2752
2777
  settings: e.settings,
2753
2778
  onUpdate: i[6] ||= (e) => a("update-settings", e)
2754
2779
  }, null, 8, ["settings"])])) : h("", !0),
2755
- c.value === "accessibility" && g.value ? (r(), m("div", ps, [k(S(n))])) : h("", !0)
2780
+ c.value === "accessibility" && _.value ? (r(), m("div", ps, [k(g(n))])) : h("", !0)
2756
2781
  ], 10, Qo));
2757
2782
  }
2758
2783
  }), hs = ["aria-label"], gs = [
@@ -2765,7 +2790,7 @@ var Si = {
2765
2790
  props: { viewport: {} },
2766
2791
  emits: ["change"],
2767
2792
  setup(e, { emit: t }) {
2768
- let n = e, i = t, { t: o } = I(), s = p(() => [
2793
+ let n = e, i = t, { t: o } = R(), s = p(() => [
2769
2794
  {
2770
2795
  value: "desktop",
2771
2796
  label: o.viewport.desktop
@@ -2781,15 +2806,15 @@ var Si = {
2781
2806
  ]), c = p(() => `translateX(${s.value.findIndex((e) => e.value === n.viewport) * 100}%)`);
2782
2807
  return (t, n) => (r(), m("div", {
2783
2808
  role: "radiogroup",
2784
- "aria-label": S(o).viewport.label,
2809
+ "aria-label": g(o).viewport.label,
2785
2810
  class: "tpl:relative tpl:grid tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1",
2786
- style: b({
2811
+ style: w({
2787
2812
  gridTemplateColumns: `repeat(${s.value.length}, 1fr)`,
2788
2813
  backgroundColor: "var(--tpl-bg-hover)"
2789
2814
  })
2790
- }, [x("div", {
2815
+ }, [S("div", {
2791
2816
  class: "tpl:absolute tpl:inset-y-1 tpl:rounded-[var(--tpl-radius-sm)]",
2792
- style: b({
2817
+ style: w({
2793
2818
  left: "4px",
2794
2819
  width: `calc((100% - 8px) / ${s.value.length})`,
2795
2820
  transform: c.value,
@@ -2803,58 +2828,58 @@ var Si = {
2803
2828
  "aria-checked": e.viewport === t.value,
2804
2829
  "aria-label": t.label,
2805
2830
  class: "tpl:relative tpl:z-10 tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border-none tpl:bg-transparent tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium",
2806
- style: b({
2831
+ style: w({
2807
2832
  color: e.viewport === t.value ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
2808
2833
  transition: "color 120ms cubic-bezier(0.16, 1, 0.3, 1)"
2809
2834
  }),
2810
2835
  title: t.label,
2811
2836
  onClick: (e) => i("change", t.value)
2812
- }, [t.value === "desktop" ? (r(), _(S(et), {
2837
+ }, [t.value === "desktop" ? (r(), v(g(Qe), {
2813
2838
  key: 0,
2814
2839
  size: 18,
2815
2840
  "stroke-width": 1.5
2816
- })) : t.value === "tablet" ? (r(), _(S(lt), {
2841
+ })) : t.value === "tablet" ? (r(), v(g(ct), {
2817
2842
  key: 1,
2818
2843
  size: 18,
2819
2844
  "stroke-width": 1.5
2820
- })) : (r(), _(S(ft), {
2845
+ })) : (r(), v(g(dt), {
2821
2846
  key: 2,
2822
2847
  size: 18,
2823
2848
  "stroke-width": 1.5
2824
- })), x("span", null, w(t.label), 1)], 12, gs))), 128))], 12, hs));
2849
+ })), S("span", null, f(t.label), 1)], 12, gs))), 128))], 12, hs));
2825
2850
  }
2826
2851
  }), vs = [
2827
2852
  "aria-label",
2828
2853
  "title",
2829
2854
  "aria-pressed"
2830
- ], ys = /* @__PURE__ */ z(/* @__PURE__ */ O({
2855
+ ], ys = /* @__PURE__ */ B(/* @__PURE__ */ O({
2831
2856
  __name: "PreviewToggle",
2832
2857
  props: { previewMode: { type: Boolean } },
2833
2858
  emits: ["change"],
2834
2859
  setup(e, { emit: t }) {
2835
- let n = t, { t: i } = I();
2860
+ let n = t, { t: i } = R();
2836
2861
  return (t, a) => (r(), m("button", {
2837
2862
  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",
2838
- style: b({
2863
+ style: w({
2839
2864
  color: e.previewMode ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
2840
2865
  backgroundColor: e.previewMode ? "var(--tpl-primary-light)" : "transparent"
2841
2866
  }),
2842
- "aria-label": e.previewMode ? S(i).previewMode.disable : S(i).previewMode.enable,
2843
- title: e.previewMode ? S(i).previewMode.disable : S(i).previewMode.enable,
2867
+ "aria-label": e.previewMode ? g(i).previewMode.disable : g(i).previewMode.enable,
2868
+ title: e.previewMode ? g(i).previewMode.disable : g(i).previewMode.enable,
2844
2869
  "aria-pressed": e.previewMode,
2845
2870
  onClick: a[0] ||= (t) => n("change", !e.previewMode)
2846
- }, [k(v, {
2871
+ }, [k(y, {
2847
2872
  "enter-active-class": "tpl-icon-enter-active",
2848
2873
  "leave-active-class": "tpl-icon-leave-active",
2849
2874
  "enter-from-class": "tpl-icon-enter-from",
2850
2875
  "leave-to-class": "tpl-icon-leave-to",
2851
2876
  mode: "out-in"
2852
2877
  }, {
2853
- default: s(() => [e.previewMode ? (r(), _(S(ke), {
2878
+ default: s(() => [e.previewMode ? (r(), v(g(Ue), {
2854
2879
  key: "eye",
2855
2880
  size: 18,
2856
2881
  "stroke-width": 1.5
2857
- })) : (r(), _(S(Ke), {
2882
+ })) : (r(), v(g(ge), {
2858
2883
  key: "eye-off",
2859
2884
  size: 18,
2860
2885
  "stroke-width": 1.5
@@ -2866,34 +2891,34 @@ var Si = {
2866
2891
  "aria-label",
2867
2892
  "title",
2868
2893
  "aria-pressed"
2869
- ], xs = /* @__PURE__ */ z(/* @__PURE__ */ O({
2894
+ ], xs = /* @__PURE__ */ B(/* @__PURE__ */ O({
2870
2895
  __name: "DarkModeToggle",
2871
2896
  props: { darkMode: { type: Boolean } },
2872
2897
  emits: ["change"],
2873
2898
  setup(e, { emit: t }) {
2874
- let n = t, { t: i } = I();
2899
+ let n = t, { t: i } = R();
2875
2900
  return (t, a) => (r(), m("button", {
2876
2901
  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",
2877
- style: b({
2902
+ style: w({
2878
2903
  color: e.darkMode ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
2879
2904
  backgroundColor: e.darkMode ? "var(--tpl-primary-light)" : "transparent"
2880
2905
  }),
2881
- "aria-label": e.darkMode ? S(i).darkMode.disable : S(i).darkMode.enable,
2882
- title: e.darkMode ? S(i).darkMode.disable : S(i).darkMode.enable,
2906
+ "aria-label": e.darkMode ? g(i).darkMode.disable : g(i).darkMode.enable,
2907
+ title: e.darkMode ? g(i).darkMode.disable : g(i).darkMode.enable,
2883
2908
  "aria-pressed": e.darkMode,
2884
2909
  onClick: a[0] ||= (t) => n("change", !e.darkMode)
2885
- }, [k(v, {
2910
+ }, [k(y, {
2886
2911
  "enter-active-class": "tpl-icon-enter-active",
2887
2912
  "leave-active-class": "tpl-icon-leave-active",
2888
2913
  "enter-from-class": "tpl-icon-enter-from",
2889
2914
  "leave-to-class": "tpl-icon-leave-to",
2890
2915
  mode: "out-in"
2891
2916
  }, {
2892
- default: s(() => [e.darkMode ? (r(), _(S($e), {
2917
+ default: s(() => [e.darkMode ? (r(), v(g(Ze), {
2893
2918
  key: "moon",
2894
2919
  size: 18,
2895
2920
  "stroke-width": 1.5
2896
- })) : (r(), _(S(it), {
2921
+ })) : (r(), v(g(rt), {
2897
2922
  key: "sun",
2898
2923
  size: 18,
2899
2924
  "stroke-width": 1.5
@@ -2918,27 +2943,27 @@ var Si = {
2918
2943
  __name: "EditorFooter",
2919
2944
  props: { positionClass: {} },
2920
2945
  setup(e) {
2921
- let { t } = I();
2922
- return (n, i) => (r(), m("footer", { class: u(["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]) }, [x("div", Ss, [
2923
- x("span", null, w(S(t).footer.poweredBy), 1),
2924
- i[0] ||= x("a", {
2946
+ let { t } = R();
2947
+ return (n, i) => (r(), m("footer", { class: x(["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]) }, [S("div", Ss, [
2948
+ S("span", null, f(g(t).footer.poweredBy), 1),
2949
+ i[0] ||= S("a", {
2925
2950
  href: "https://templatical.com",
2926
2951
  target: "_blank",
2927
2952
  rel: "noopener noreferrer",
2928
2953
  class: "tpl:inline-flex tpl:items-center tpl:gap-1 tpl:font-medium tpl:transition-colors tpl:duration-150 hover:tpl:opacity-80 tpl:text-[var(--tpl-text-muted)]",
2929
2954
  style: { "text-decoration": "none" }
2930
- }, [x("img", {
2955
+ }, [S("img", {
2931
2956
  width: "14",
2932
2957
  height: "14",
2933
2958
  src: "https://templatical.com/logo.svg",
2934
2959
  alt: ""
2935
2960
  }), D(" Templatical ")], -1),
2936
- i[1] ||= x("span", { class: "tpl:text-[var(--tpl-border)]" }, "·", -1),
2937
- x("a", Cs, w(S(t).footer.openSource), 1)
2961
+ i[1] ||= S("span", { class: "tpl:text-[var(--tpl-border)]" }, "·", -1),
2962
+ S("a", Cs, f(g(t).footer.openSource), 1)
2938
2963
  ])], 2));
2939
2964
  }
2940
2965
  });
2941
2966
  //#endregion
2942
- export { ms as a, wt as c, _s as i, xs as n, Ut as o, ys as r, Pt as s, ws as t };
2967
+ export { ms as a, Ct as c, _s as i, xs as n, Ht as o, ys as r, Nt as s, ws as t };
2943
2968
 
2944
- //# sourceMappingURL=styles-CV5w3kjq.js.map
2969
+ //# sourceMappingURL=styles-DaTht5d7.js.map