@templatical/editor 0.9.0 → 0.10.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 (105) hide show
  1. package/dist/{AiChatSidebar-BUKj9n02.js → AiChatSidebar-D30WPhbv.js} +2 -2
  2. package/dist/{AiFeatureMenu-Co14YVJt.js → AiFeatureMenu-B5CJX5zr.js} +3 -3
  3. package/dist/{BlockIssueBadge-DThKKeub.js → BlockIssueBadge-CkB4Yyz2.js} +2 -2
  4. package/dist/{CloudEditor-CAtw_sFC.js → CloudEditor-nT-R769W.js} +128 -127
  5. package/dist/{CollaboratorBar-Bc6q0gB9.js → CollaboratorBar-CwhlXODK.js} +2 -2
  6. package/dist/{CommentsSidebar-DiH4R4F0.js → CommentsSidebar-gpZMMI5w.js} +3 -3
  7. package/dist/{CountdownBlock-BTPefclD.js → CountdownBlock-BNvuXucv.js} +1 -1
  8. package/dist/{CountdownToolbar-Dvr2icg-.js → CountdownToolbar-Dl82DAmI.js} +2 -2
  9. package/dist/{DesignReferenceSidebar-BP32MgpS.js → DesignReferenceSidebar-Bs5AMxVd.js} +3 -3
  10. package/dist/{IssuesPanel-B1LT91IX.js → IssuesPanel-CqQa2BtU.js} +2 -2
  11. package/dist/{ModuleBrowserModal-CWegFoOA.js → ModuleBrowserModal-BWWgF0LC.js} +7 -7
  12. package/dist/{ModulePreviewCanvas-D9WUSSRT.js → ModulePreviewCanvas-D7Tk5HOt.js} +2 -2
  13. package/dist/{NumberWithSuffix-CxUBW_V2.js → NumberWithSuffix-DVy5HxMi.js} +1 -1
  14. package/dist/{ParagraphEditor-DrAz2yot.js → ParagraphEditor-DVSGdMOo.js} +7 -7
  15. package/dist/{RichTextEditorContent-gR169m1-.js → RichTextEditorContent-DN-fRjMa.js} +3 -3
  16. package/dist/{SaveModuleDialog-DWidA0c9.js → SaveModuleDialog-CkEYkyVD.js} +5 -5
  17. package/dist/{SnapshotHistory-CIo2Jaw-.js → SnapshotHistory-Nx9wrlbF.js} +3 -3
  18. package/dist/{TemplateScoringPanel-seBvvn8O.js → TemplateScoringPanel-BG9M-29t.js} +2 -2
  19. package/dist/{TestEmailModal-BuCuWp3N.js → TestEmailModal-CRjtEs6S.js} +3 -3
  20. package/dist/{TitleEditor-BmW0uMl7.js → TitleEditor-CvtV4pCA.js} +6 -6
  21. package/dist/{TplModal-YFpBaiLj.js → TplModal-BudEYVcJ.js} +3 -3
  22. package/dist/{blockTypeIcons-DCkHXPhx.js → blockTypeIcons-Dd-UvfnC.js} +1 -1
  23. package/dist/bundle-stats.json +6 -6
  24. package/dist/cdn/chunks/{AiFeatureMenu-Dayzk2H7.js → AiFeatureMenu-DKOv8VnB.js} +2 -2
  25. package/dist/cdn/chunks/{AiFeatureMenu-Dayzk2H7.js.map → AiFeatureMenu-DKOv8VnB.js.map} +1 -1
  26. package/dist/cdn/chunks/{BlockIssueBadge-D_US2wqo.js → BlockIssueBadge-DpiSTwM7.js} +4 -4
  27. package/dist/cdn/chunks/{BlockIssueBadge-D_US2wqo.js.map → BlockIssueBadge-DpiSTwM7.js.map} +1 -1
  28. package/dist/cdn/chunks/{CloudEditor-CyJItWsK.js → CloudEditor-xc_uOEgn.js} +169 -168
  29. package/dist/cdn/chunks/{CloudEditor-CyJItWsK.js.map → CloudEditor-xc_uOEgn.js.map} +1 -1
  30. package/dist/cdn/chunks/{CollaboratorBar-C4CFs5EJ.js → CollaboratorBar-VWfPri_h.js} +3 -3
  31. package/dist/cdn/chunks/{CollaboratorBar-C4CFs5EJ.js.map → CollaboratorBar-VWfPri_h.js.map} +1 -1
  32. package/dist/cdn/chunks/{CountdownBlock-D6lCXhZA.js → CountdownBlock-BKsCWboK.js} +2 -2
  33. package/dist/cdn/chunks/{CountdownBlock-D6lCXhZA.js.map → CountdownBlock-BKsCWboK.js.map} +1 -1
  34. package/dist/cdn/chunks/{CountdownToolbar-BsGUxoRv.js → CountdownToolbar-BLtECDNb.js} +3 -3
  35. package/dist/cdn/chunks/{CountdownToolbar-BsGUxoRv.js.map → CountdownToolbar-BLtECDNb.js.map} +1 -1
  36. package/dist/cdn/chunks/{IssuesPanel-DeHTmRDz.js → IssuesPanel-BW2piyvs.js} +8 -8
  37. package/dist/cdn/chunks/{IssuesPanel-DeHTmRDz.js.map → IssuesPanel-BW2piyvs.js.map} +1 -1
  38. package/dist/cdn/chunks/{ModuleBrowserModal-Cgjz4xAz.js → ModuleBrowserModal-TLlKpvjX.js} +8 -8
  39. package/dist/cdn/chunks/{ModuleBrowserModal-Cgjz4xAz.js.map → ModuleBrowserModal-TLlKpvjX.js.map} +1 -1
  40. package/dist/cdn/chunks/{ModulePreviewCanvas-CeS9PsAA.js → ModulePreviewCanvas-wu7y-vrh.js} +2 -2
  41. package/dist/cdn/chunks/{ModulePreviewCanvas-CeS9PsAA.js.map → ModulePreviewCanvas-wu7y-vrh.js.map} +1 -1
  42. package/dist/cdn/chunks/{NumberWithSuffix-Bp-idLCc.js → NumberWithSuffix-DxoUtTMr.js} +2 -2
  43. package/dist/cdn/chunks/{NumberWithSuffix-Bp-idLCc.js.map → NumberWithSuffix-DxoUtTMr.js.map} +1 -1
  44. package/dist/cdn/chunks/{ParagraphEditor-fM9aFu8T.js → ParagraphEditor-DvxIO2LN.js} +33 -33
  45. package/dist/cdn/chunks/{ParagraphEditor-fM9aFu8T.js.map → ParagraphEditor-DvxIO2LN.js.map} +1 -1
  46. package/dist/cdn/chunks/{RichTextEditorContent-DwNPE5H5.js → RichTextEditorContent-Dm9GXJmo.js} +3 -3
  47. package/dist/cdn/chunks/{RichTextEditorContent-DwNPE5H5.js.map → RichTextEditorContent-Dm9GXJmo.js.map} +1 -1
  48. package/dist/cdn/chunks/{SaveModuleDialog-BrtDXzIz.js → SaveModuleDialog-BRAdVcYM.js} +4 -4
  49. package/dist/cdn/chunks/{SaveModuleDialog-BrtDXzIz.js.map → SaveModuleDialog-BRAdVcYM.js.map} +1 -1
  50. package/dist/cdn/chunks/{TitleEditor-D0rSnye0.js → TitleEditor-D3gPRd0x.js} +8 -8
  51. package/dist/cdn/chunks/{TitleEditor-D0rSnye0.js.map → TitleEditor-D3gPRd0x.js.map} +1 -1
  52. package/dist/cdn/chunks/blockTypeIcons-C2cm4RjU.js +22 -0
  53. package/dist/cdn/chunks/{blockTypeIcons-YOEe5mDE.js.map → blockTypeIcons-C2cm4RjU.js.map} +1 -1
  54. package/dist/{de-CATfXDKV.js → cdn/chunks/de-DIAGP7yH.js} +2 -6
  55. package/dist/cdn/chunks/de-DIAGP7yH.js.map +1 -0
  56. package/dist/{en-CwCAgYL5.js → cdn/chunks/en-nqIW8Q9W.js} +2 -6
  57. package/dist/cdn/chunks/en-nqIW8Q9W.js.map +1 -0
  58. package/dist/cdn/chunks/{extensions-GYsbQFPr.js → extensions-SS1ywPUR.js} +21 -21
  59. package/dist/cdn/chunks/{extensions-GYsbQFPr.js.map → extensions-SS1ywPUR.js.map} +1 -1
  60. package/dist/cdn/chunks/{features-D-2kVhHY.js → features-CwZTdcbt.js} +988 -967
  61. package/dist/cdn/chunks/features-CwZTdcbt.js.map +1 -0
  62. package/dist/cdn/chunks/{icons-fZoyKV_s.js → icons-CbNEr1kc.js} +11 -25
  63. package/dist/cdn/chunks/icons-CbNEr1kc.js.map +1 -0
  64. package/dist/cdn/chunks/{media-library-CO2WOETY.js → media-library-BRpHZOl7.js} +76 -76
  65. package/dist/cdn/chunks/{media-library-CO2WOETY.js.map → media-library-BRpHZOl7.js.map} +1 -1
  66. package/dist/{pt-BR-D3Mg7AKe.js → cdn/chunks/pt-BR-DCNnLLx9.js} +2 -6
  67. package/dist/cdn/chunks/pt-BR-DCNnLLx9.js.map +1 -0
  68. package/dist/cdn/chunks/{quality-BxPiS-wv.js → quality-BqJqIPRU.js} +494 -484
  69. package/dist/cdn/chunks/quality-BqJqIPRU.js.map +1 -0
  70. package/dist/cdn/chunks/{renderer-7z2t_bYQ.js → renderer-CGVYkdUi.js} +99 -82
  71. package/dist/cdn/chunks/renderer-CGVYkdUi.js.map +1 -0
  72. package/dist/cdn/chunks/{src-ftxPuuQh.js → src-CvzfrFlT.js} +8 -8
  73. package/dist/cdn/chunks/{src-ftxPuuQh.js.map → src-CvzfrFlT.js.map} +1 -1
  74. package/dist/cdn/chunks/{styles-o0HIrw9F.js → styles-2P5yvfsS.js} +1186 -1213
  75. package/dist/cdn/chunks/styles-2P5yvfsS.js.map +1 -0
  76. package/dist/cdn/editor.css +1 -1
  77. package/dist/cdn/editor.js +109 -100
  78. package/dist/cdn/editor.js.map +1 -1
  79. package/dist/{cloud-VxYMtfXC.js → cloud-BBC7bv8q.js} +1 -1
  80. package/dist/{cdn/chunks/de-CATfXDKV.js → de-DIAGP7yH.js} +0 -8
  81. package/dist/{dist-CIV3Brg-.js → dist-GAmhYvUK.js} +3 -5
  82. package/dist/{cdn/chunks/en-CwCAgYL5.js → en-nqIW8Q9W.js} +0 -8
  83. package/dist/{extensions-Mj2-D8uK.js → extensions-C87ZSllQ.js} +3 -3
  84. package/dist/index.d.ts +8 -0
  85. package/dist/keys-Vt3XipJl.js +10 -0
  86. package/dist/{cdn/chunks/pt-BR-D3Mg7AKe.js → pt-BR-DCNnLLx9.js} +0 -8
  87. package/dist/style.css +1 -1
  88. package/dist/{styles-CJtcKmsx.js → styles-DOjWbqA9.js} +1149 -1190
  89. package/dist/templatical-editor.js +116 -107
  90. package/dist/{useCloudI18n-DKWJg6rJ.js → useCloudI18n-sRfoQCZY.js} +1 -1
  91. package/dist/{useEditorCore-CEkf_VWX.js → useEditorCore-DxApq2hZ.js} +713 -690
  92. package/dist/{useI18n-Besvmtxy.js → useI18n-lF6hYgZu.js} +1 -1
  93. package/dist/{useMergeTag-WNzaCpXR.js → useMergeTag-CZVI7Xe5.js} +3 -3
  94. package/dist/{usePopoverRoot-CKt956u-.js → usePopoverRoot-p2BanBI7.js} +1 -1
  95. package/package.json +8 -8
  96. package/dist/cdn/chunks/blockTypeIcons-YOEe5mDE.js +0 -22
  97. package/dist/cdn/chunks/de-CATfXDKV.js.map +0 -1
  98. package/dist/cdn/chunks/en-CwCAgYL5.js.map +0 -1
  99. package/dist/cdn/chunks/features-D-2kVhHY.js.map +0 -1
  100. package/dist/cdn/chunks/icons-fZoyKV_s.js.map +0 -1
  101. package/dist/cdn/chunks/pt-BR-D3Mg7AKe.js.map +0 -1
  102. package/dist/cdn/chunks/quality-BxPiS-wv.js.map +0 -1
  103. package/dist/cdn/chunks/renderer-7z2t_bYQ.js.map +0 -1
  104. package/dist/cdn/chunks/styles-o0HIrw9F.js.map +0 -1
  105. package/dist/keys-BiQlvx51.js +0 -10
@@ -1,25 +1,25 @@
1
1
  import { A as e, B as t, L as n, M as r, O as i, Q as a, X as o, _ as s, at as c, b as l, c as u, d, f, g as p, h as m, j as h, k as g, l as _, m as v, o as y, ot as b, p as x, q as S, rt as C, st as w, t as T, v as E, y as D, z as O } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
2
  import { t as k } from "./timeouts-Bmi_yePw.js";
3
- import { E as A, i as j } from "./dist-CIV3Brg-.js";
4
- import { P as M, S as N, t as P } from "./useEditorCore-CEkf_VWX.js";
3
+ import { E as A, i as j } from "./dist-GAmhYvUK.js";
4
+ import { P as M, S as N, t as P } from "./useEditorCore-DxApq2hZ.js";
5
5
  import { c as F, t as I } from "./dist-CNLAS2v2.js";
6
- import { E as L, S as R, T as z, c as B, l as V, r as ee, s as te, t as H } from "./keys-BiQlvx51.js";
7
- import { t as U } from "./useI18n-Besvmtxy.js";
6
+ import { C as L, D as R, E as z, c as B, l as V, r as ee, s as te, t as H } from "./keys-Vt3XipJl.js";
7
+ import { t as U } from "./useI18n-lF6hYgZu.js";
8
8
  import { t as W } from "./createLucideIcon-XgXOJ05E.js";
9
9
  import { t as G } from "./check-ChQyfxJ3.js";
10
10
  import { t as K } from "./circle-alert-CPH6l3Lc.js";
11
- import { a as q, c as ne, i as J, l as re, n as ie, o as ae, r as oe, s as se, t as ce, u as le } from "./styles-CJtcKmsx.js";
12
- import { t as ue } from "./clock-DHl_BIkU.js";
11
+ import { a as q, c as ne, d as re, i as J, l as ie, n as ae, o as oe, r as se, s as ce, t as le, u as ue } from "./styles-DOjWbqA9.js";
12
+ import { t as de } from "./clock-DHl_BIkU.js";
13
13
  import { t as Y } from "./loader-circle-Rz_4vJLH.js";
14
14
  import { t as X } from "./message-circle-D-umK_MU.js";
15
15
  import { t as Z } from "./send-BhbhbIFT.js";
16
- import { t as de } from "./sparkles-CrUN0KWY.js";
17
- import { t as fe } from "./triangle-alert-MwJBKR2e.js";
18
- import { t as pe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
19
- import { n as Q } from "./useCloudI18n-DKWJg6rJ.js";
16
+ import { t as fe } from "./sparkles-CrUN0KWY.js";
17
+ import { t as pe } from "./triangle-alert-MwJBKR2e.js";
18
+ import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
19
+ import { n as Q } from "./useCloudI18n-sRfoQCZY.js";
20
20
  import { d as $ } from "./styleConstants-lGobwiLH.js";
21
- import { _ as me, a as he, c as ge, d as _e, f as ve, g as ye, h as be, l as xe, m as Se, n as Ce, o as we, p as Te, r as Ee, s as De, t as Oe, v as ke, y as Ae } from "./cloud-VxYMtfXC.js";
22
- var je = W("save", [
21
+ import { _ as he, a as ge, c as _e, d as ve, f as ye, g as be, h as xe, l as Se, m as Ce, n as we, o as Te, p as Ee, r as De, s as Oe, t as ke, v as Ae, y as je } from "./cloud-BBC7bv8q.js";
22
+ var Me = W("save", [
23
23
  ["path", {
24
24
  d: "M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",
25
25
  key: "1c8476"
@@ -35,14 +35,14 @@ var je = W("save", [
35
35
  ]);
36
36
  //#endregion
37
37
  //#region src/cloud/composables/useSnapshotPreview.ts
38
- function Me(e) {
38
+ function Ne(e) {
39
39
  let { authManager: t, editor: n, history: r, conditionPreview: i, autoSave: s, onError: c } = e, l = a(null), u = o(null), f = o(null), p = !1;
40
40
  S(() => {
41
41
  p = !0;
42
42
  });
43
43
  let m = d(() => u.value !== null), h = d(() => l.value?.snapshots.value ?? []), g = d(() => l.value?.isLoading.value ?? !1), _ = d(() => l.value?.isRestoring.value ?? !1);
44
44
  function v() {
45
- n.state.template?.id && !l.value && (l.value = ye({
45
+ n.state.template?.id && !l.value && (l.value = be({
46
46
  authManager: t,
47
47
  templateId: n.state.template.id,
48
48
  onRestore: y,
@@ -92,7 +92,7 @@ function Me(e) {
92
92
  }
93
93
  //#endregion
94
94
  //#region src/cloud/composables/useCloudPanelState.ts
95
- function Ne() {
95
+ function Pe() {
96
96
  let e = o(null), t = d({
97
97
  get: () => e.value === "ai-chat",
98
98
  set: (t) => e.value = t ? "ai-chat" : null
@@ -137,7 +137,7 @@ function Ne() {
137
137
  }
138
138
  //#endregion
139
139
  //#region src/cloud/composables/useCollabUndoWarning.ts
140
- function Pe(e) {
140
+ function Fe(e) {
141
141
  let { isCollaborationEnabled: t, getCollaboratorCount: n, canUndo: r } = e, i = o(!1), a = o(!1), { start: s } = F(() => {
142
142
  a.value = !1;
143
143
  }, k, { immediate: !1 });
@@ -151,7 +151,7 @@ function Pe(e) {
151
151
  }
152
152
  //#endregion
153
153
  //#region src/cloud/composables/useCloudFeatureFlags.ts
154
- function Fe(e) {
154
+ function Ie(e) {
155
155
  let { planConfigInstance: t, aiConfig: n, editor: r } = e, i = d(() => t.hasFeature("ai_generation") && n.hasAnyMenuFeature.value), a = d(() => t.hasFeature("test_email")), s = d(() => !!r.state.template?.id), c = d(() => t.hasFeature("white_label")), l = d(() => t.config.value?.limits.max_templates ?? null), u = d(() => t.config.value?.template_count ?? 0), f = o(!1), p = o("idle"), m = o(""), { start: h } = F(() => {
156
156
  p.value = "idle";
157
157
  }, 3e3, { immediate: !1 });
@@ -170,7 +170,7 @@ function Fe(e) {
170
170
  }
171
171
  //#endregion
172
172
  //#region src/cloud/composables/useCloudMediaLibrary.ts
173
- function Ie(e) {
173
+ function Le(e) {
174
174
  let { onRequestMedia: t, mediaLibraryOpen: n, mediaLibraryAccept: r } = e, i = null;
175
175
  async function a() {
176
176
  if (t) {
@@ -205,30 +205,30 @@ function Ie(e) {
205
205
  }
206
206
  //#endregion
207
207
  //#region src/cloud/composables/useCloudInitialization.ts
208
- function Le(e) {
209
- let { config: t, translations: r, fontsManager: i, emit: a, getCommentsSidebar: s } = e, c = o(!0), l = o(!1), u = o(null), f = !1, p = { value: null }, m = null, g = null, _ = new Oe({
208
+ function Re(e) {
209
+ let { config: t, translations: r, fontsManager: i, emit: a, getCommentsSidebar: s } = e, c = o(!0), l = o(!1), u = o(null), f = !1, p = { value: null }, m = null, g = null, _ = new ke({
210
210
  ...t.auth,
211
211
  onError: t.onError
212
- }), v = Se({
212
+ }), v = Ce({
213
213
  authManager: _,
214
214
  onError: t.onError
215
- }), y = o(/* @__PURE__ */ new Map()), b = _e({
215
+ }), y = o(/* @__PURE__ */ new Map()), b = ve({
216
216
  authManager: _,
217
217
  defaultFontFamily: t.fonts?.defaultFont,
218
218
  templateDefaults: t.templateDefaults,
219
219
  onError: t.onError,
220
220
  lockedBlocks: y
221
- }), x = Ae({
221
+ }), x = je({
222
222
  authManager: _,
223
223
  onError: t.onError
224
224
  });
225
- t.mcp?.enabled && Te({
225
+ t.mcp?.enabled && Ee({
226
226
  editor: b,
227
227
  channel: x.channel,
228
228
  onOperation: t.mcp.onOperation
229
229
  });
230
230
  let S = null;
231
- t.collaboration?.enabled && (S = we({
231
+ t.collaboration?.enabled && (S = Te({
232
232
  authManager: _,
233
233
  editor: b,
234
234
  channel: x.channel,
@@ -239,7 +239,7 @@ function Le(e) {
239
239
  onBlockUnlocked: t.collaboration.onBlockUnlocked
240
240
  }), n(() => S.lockedBlocks.value, (e) => {
241
241
  y.value = e;
242
- }, { immediate: !0 }), De(b, S));
242
+ }, { immediate: !0 }), Oe(b, S));
243
243
  let C = d(() => !!t.collaboration?.enabled && v.hasFeature("collaboration")), w = P({
244
244
  editor: b,
245
245
  config: {
@@ -250,7 +250,7 @@ function Le(e) {
250
250
  mergeTags: t.mergeTags,
251
251
  displayConditions: t.displayConditions,
252
252
  onRequestMedia: null,
253
- lint: re(t),
253
+ lint: ue(t),
254
254
  onSave: () => {
255
255
  p.value?.().catch((e) => {
256
256
  t.onError?.(e);
@@ -271,13 +271,13 @@ function Le(e) {
271
271
  keyboardOptions: { onBeforeUndo: () => g?.showCollabUndoWarning() },
272
272
  editorRoot: e.editorRoot,
273
273
  containerEl: e.containerEl
274
- }), T = Pe({
274
+ }), T = Fe({
275
275
  isCollaborationEnabled: C,
276
276
  getCollaboratorCount: () => S?.collaborators.value.length ?? 0,
277
277
  canUndo: w.history.canUndo
278
278
  });
279
279
  g = T;
280
- let E = Me({
280
+ let E = Ne({
281
281
  authManager: _,
282
282
  editor: b,
283
283
  history: w.history,
@@ -286,11 +286,11 @@ function Le(e) {
286
286
  onError: t.onError
287
287
  });
288
288
  m = E;
289
- let D = Ne(), O = he(t.ai), k = Fe({
289
+ let D = Pe(), O = ge(t.ai), k = Ie({
290
290
  planConfigInstance: v,
291
291
  aiConfig: O,
292
292
  editor: b
293
- }), A = Ie({
293
+ }), A = Le({
294
294
  onRequestMedia: t.onRequestMedia,
295
295
  mediaLibraryOpen: D.mediaLibraryOpen,
296
296
  mediaLibraryAccept: D.mediaLibraryAccept
@@ -299,11 +299,11 @@ function Le(e) {
299
299
  onBlockMove: b.moveBlock,
300
300
  onBlockAdd: b.addBlock
301
301
  });
302
- let j = ve({
302
+ let j = ye({
303
303
  authManager: _,
304
304
  getFontsConfig: () => t.fonts,
305
305
  canUseCustomFonts: () => v.hasFeature("custom_fonts")
306
- }), F = ke({
306
+ }), F = Ae({
307
307
  authManager: _,
308
308
  getTemplateId: () => b.state.template?.id ?? null,
309
309
  save: () => b.save(),
@@ -311,7 +311,7 @@ function Le(e) {
311
311
  onError: t.onError,
312
312
  isAuthReady: l,
313
313
  onBeforeTestEmail: t.onBeforeTestEmail
314
- }), I = xe({
314
+ }), I = Se({
315
315
  authManager: _,
316
316
  getTemplateId: () => b.state.template?.id ?? null,
317
317
  getSocketId: () => x.getSocketId(),
@@ -320,14 +320,14 @@ function Le(e) {
320
320
  isAuthReady: l,
321
321
  hasCommentingFeature: () => t.commenting !== !1 && v.hasFeature("commenting")
322
322
  });
323
- ge({
323
+ _e({
324
324
  comments: I,
325
325
  channel: x.channel
326
326
  });
327
- let B = be({
327
+ let B = xe({
328
328
  authManager: _,
329
329
  onError: t.onError
330
- }), U = o(!1), W = o(null), G = o(!1), K = me({
330
+ }), U = o(!1), W = o(null), G = o(!1), K = he({
331
331
  authManager: _,
332
332
  getTemplateId: () => b.state.template?.id ?? null
333
333
  });
@@ -336,7 +336,7 @@ function Le(e) {
336
336
  s()?.filterByBlock(e);
337
337
  });
338
338
  }
339
- h(R, A.handleRequestMedia), h(ee, _), h(H, O), h(V, I), h(z, B), h(L, K), h(te, {
339
+ h(L, A.handleRequestMedia), h(ee, _), h(H, O), h(V, I), h(z, B), h(R, K), h(te, {
340
340
  plan: v,
341
341
  ai: O,
342
342
  comments: {
@@ -356,15 +356,15 @@ function Le(e) {
356
356
  function ne(e) {
357
357
  v.hasFeature("theme_customization") && (w.themeOverrides.value = e);
358
358
  }
359
- function J(e) {
359
+ function re(e) {
360
360
  b.setUiTheme(e);
361
361
  }
362
- async function ie() {
362
+ async function J() {
363
363
  c.value = !0, u.value = null;
364
364
  try {
365
365
  if (await _.initialize(), f) return;
366
366
  l.value = !0;
367
- let e = await Ce({ authManager: _ });
367
+ let e = await we({ authManager: _ });
368
368
  if (f) return;
369
369
  if (!e.api.ok) throw Error("Health check failed: API is not reachable");
370
370
  if (!e.auth.ok) throw Error(`Health check failed: authentication error${e.auth.error ? ` - ${e.auth.error}` : ""}`);
@@ -378,7 +378,7 @@ function Le(e) {
378
378
  f || (c.value = !1);
379
379
  }
380
380
  }
381
- function ae() {
381
+ function ie() {
382
382
  f = !0, i.cleanupFontLinks(), x.disconnect(), w.destroy(), t.onUnmount?.();
383
383
  }
384
384
  return {
@@ -408,16 +408,16 @@ function Le(e) {
408
408
  showModuleBrowserModal: G,
409
409
  saveModulePreSelectedBlockId: W,
410
410
  onSaveHook: p,
411
- initialize: ie,
412
- destroy: ae,
411
+ initialize: J,
412
+ destroy: ie,
413
413
  setThemeOverrides: ne,
414
- setUiTheme: J,
414
+ setUiTheme: re,
415
415
  openCommentsForBlock: q
416
416
  };
417
417
  }
418
418
  //#endregion
419
419
  //#region src/utils/preRenderCustomBlocks.ts
420
- async function Re(e, t) {
420
+ async function ze(e, t) {
421
421
  let n = async (e) => {
422
422
  if (A(e)) {
423
423
  let n = e;
@@ -436,10 +436,10 @@ async function Re(e, t) {
436
436
  }
437
437
  //#endregion
438
438
  //#region src/cloud/composables/useCloudLifecycle.ts
439
- function ze(e) {
439
+ function Be(e) {
440
440
  let { config: t, editor: n, websocket: r, planConfigInstance: i, snapshotPreview: a, core: o, exporter: s, featureFlags: c, isDestroyed: l } = e;
441
441
  function u() {
442
- return Ee(i.config.value.websocket);
442
+ return De(i.config.value.websocket);
443
443
  }
444
444
  async function d(e) {
445
445
  let i = await n.create(e);
@@ -452,7 +452,7 @@ function ze(e) {
452
452
  async function p() {
453
453
  c.isSaveExporting.value = !0, c.saveStatus.value = "idle";
454
454
  try {
455
- if (await Re(n.content.value, o.registry), l()) throw Error("Component unmounted during save");
455
+ if (await ze(n.content.value, o.registry), l()) throw Error("Component unmounted during save");
456
456
  let e = await n.save();
457
457
  if (l()) throw Error("Component unmounted during save");
458
458
  a.initSnapshotHistory(), a.snapshotHistoryInstance.value?.loadSnapshots();
@@ -479,7 +479,7 @@ function ze(e) {
479
479
  }
480
480
  //#endregion
481
481
  //#region src/cloud/composables/useCloudSaveGate.ts
482
- function Be(e) {
482
+ function Ve(e) {
483
483
  let t = o(!1), n = null, r = d(() => e.planConfig.value?.accessibility?.blockOnError === !0), i = d(() => r.value ? e.issues.value.filter((e) => e.severity === "error") : []), a = d(() => i.value.length > 0);
484
484
  async function s(e) {
485
485
  return a.value ? (n = e, t.value = !0, !1) : (await e(), !0);
@@ -502,7 +502,7 @@ function Be(e) {
502
502
  }
503
503
  //#endregion
504
504
  //#region src/cloud/components/CloudSaveGateModal.vue?vue&type=script&setup=true&lang.ts
505
- var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl:max-w-md tpl:flex-col tpl:gap-4 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:p-5 tpl:shadow-[var(--tpl-shadow-md)]" }, Ue = { class: "tpl:flex tpl:items-center tpl:gap-2" }, We = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Ge = { class: "tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Ke = { class: "tpl:m-0 tpl:flex tpl:max-h-64 tpl:list-none tpl:flex-col tpl:gap-1.5 tpl:overflow-y-auto tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2" }, qe = { class: "tpl:text-xs tpl:text-[var(--tpl-text)]" }, Je = { class: "tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Ye = { class: "tpl:flex tpl:justify-end tpl:gap-2" }, Xe = /* @__PURE__ */ l({
505
+ var He = ["aria-label"], Ue = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl:max-w-md tpl:flex-col tpl:gap-4 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:p-5 tpl:shadow-[var(--tpl-shadow-md)]" }, We = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ge = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Ke = { class: "tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, qe = { class: "tpl:m-0 tpl:flex tpl:max-h-64 tpl:list-none tpl:flex-col tpl:gap-1.5 tpl:overflow-y-auto tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2" }, Je = { class: "tpl:text-xs tpl:text-[var(--tpl-text)]" }, Ye = { class: "tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Xe = { class: "tpl:flex tpl:justify-end tpl:gap-2" }, Ze = /* @__PURE__ */ l({
506
506
  __name: "CloudSaveGateModal",
507
507
  props: {
508
508
  open: { type: Boolean },
@@ -524,18 +524,18 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
524
524
  "aria-label": C(a).saveGate.title,
525
525
  class: "tpl:fixed tpl:inset-0 tpl:z-50 tpl:flex tpl:items-center tpl:justify-center tpl:bg-black/40 tpl:p-6",
526
526
  onClick: o[2] ||= u((e) => i("cancel"), ["self"])
527
- }, [f("div", He, [
528
- f("header", Ue, [E(C(fe), {
527
+ }, [f("div", Ue, [
528
+ f("header", We, [E(C(pe), {
529
529
  size: 18,
530
530
  "stroke-width": 2,
531
531
  class: "tpl:text-[var(--tpl-warning)]"
532
- }), f("h2", We, w(C(a).saveGate.title), 1)]),
533
- f("p", Ge, w(C(a).saveGate.body), 1),
534
- f("ul", Ke, [(e(!0), m(_, null, r(t.issues, (t) => (e(), m("li", {
532
+ }), f("h2", Ge, w(C(a).saveGate.title), 1)]),
533
+ f("p", Ke, w(C(a).saveGate.body), 1),
534
+ f("ul", qe, [(e(!0), m(_, null, r(t.issues, (t) => (e(), m("li", {
535
535
  key: `${t.ruleId}-${t.blockId ?? "template"}`,
536
536
  class: "tpl:flex tpl:flex-col tpl:gap-0.5 tpl:rounded tpl:px-2 tpl:py-1.5"
537
- }, [f("span", qe, w(t.message), 1), f("span", Je, w(t.ruleId), 1)]))), 128))]),
538
- f("footer", Ye, [f("button", {
537
+ }, [f("span", Je, w(t.message), 1), f("span", Ye, w(t.ruleId), 1)]))), 128))]),
538
+ f("footer", Xe, [f("button", {
539
539
  type: "button",
540
540
  class: "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)]",
541
541
  onClick: o[0] ||= (e) => i("cancel")
@@ -544,11 +544,11 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
544
544
  class: "tpl:rounded-md tpl:bg-[var(--tpl-danger)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-white",
545
545
  onClick: o[1] ||= (e) => i("confirm")
546
546
  }, w(C(a).saveGate.confirm), 1)])
547
- ])], 8, Ve)) : v("", !0)]),
547
+ ])], 8, He)) : v("", !0)]),
548
548
  _: 1
549
549
  }));
550
550
  }
551
- }), Ze = {
551
+ }), Qe = {
552
552
  class: "tpl-header tpl:absolute tpl:top-0 tpl:right-0 tpl:left-0 tpl:z-50 tpl:grid tpl:h-14 tpl:grid-cols-[1fr_auto_1fr] tpl:items-center tpl:px-4",
553
553
  style: {
554
554
  "background-color": "color-mix(in srgb, var(--tpl-bg) 80%, transparent)",
@@ -557,24 +557,24 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
557
557
  "box-shadow": "var(--tpl-shadow-md)",
558
558
  "border-bottom": "1px solid var(--tpl-border)"
559
559
  }
560
- }, Qe = { class: "tpl-header-left tpl:flex tpl:min-w-[200px] tpl:items-center tpl:gap-3" }, $e = {
560
+ }, $e = { class: "tpl-header-left tpl:flex tpl:min-w-[200px] tpl:items-center tpl:gap-3" }, et = {
561
561
  key: 0,
562
562
  class: "tpl:text-xs tpl:opacity-60 tpl:text-[var(--tpl-text-muted)]"
563
- }, et = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, tt = { class: "tpl-header-right tpl:flex tpl:min-w-[200px] tpl:items-center tpl:justify-end tpl:gap-3" }, nt = ["data-tooltip"], rt = {
563
+ }, tt = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, nt = { class: "tpl-header-right tpl:flex tpl:min-w-[200px] tpl:items-center tpl:justify-end tpl:gap-3" }, rt = ["data-tooltip"], it = {
564
564
  key: 1,
565
565
  "aria-live": "polite",
566
566
  class: "tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-success)]"
567
- }, it = {
567
+ }, at = {
568
568
  key: 2,
569
569
  "aria-live": "polite",
570
570
  class: "tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
571
- }, at = ["aria-label", "aria-expanded"], ot = {
571
+ }, ot = ["aria-label", "aria-expanded"], st = {
572
572
  key: 0,
573
573
  class: "tpl:inline-flex tpl:size-4.5 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[10px] tpl:font-semibold tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]"
574
- }, st = ["aria-expanded"], ct = {
574
+ }, ct = ["aria-expanded"], lt = {
575
575
  key: 0,
576
576
  class: "tpl:absolute tpl:right-0 tpl:top-full tpl:z-50 tpl:mt-1 tpl:origin-top-right"
577
- }, lt = ["disabled"], ut = ["disabled"], dt = /* @__PURE__ */ l({
577
+ }, ut = ["disabled"], dt = ["disabled"], ft = /* @__PURE__ */ l({
578
578
  __name: "CloudHeader",
579
579
  props: {
580
580
  editor: {},
@@ -592,18 +592,18 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
592
592
  },
593
593
  emits: ["save"],
594
594
  setup(t) {
595
- let n = D(() => import("./CollaboratorBar-Bc6q0gB9.js")), r = D(() => import("./SnapshotHistory-CIo2Jaw-.js")), i = D(() => import("./AiFeatureMenu-Co14YVJt.js")), { t: a, format: o } = Q();
596
- return (l, d) => (e(), m("header", Ze, [
597
- f("div", Qe, [t.featureFlags.templateLimit.value === null ? v("", !0) : (e(), m("span", $e, w(C(o)(C(a).header.templatesUsed, {
595
+ let n = D(() => import("./CollaboratorBar-CwhlXODK.js")), r = D(() => import("./SnapshotHistory-Nx9wrlbF.js")), i = D(() => import("./AiFeatureMenu-B5CJX5zr.js")), { t: a, format: o } = Q();
596
+ return (l, d) => (e(), m("header", Qe, [
597
+ f("div", $e, [t.featureFlags.templateLimit.value === null ? v("", !0) : (e(), m("span", et, w(C(o)(C(a).header.templatesUsed, {
598
598
  used: t.featureFlags.templateCount.value,
599
599
  max: t.featureFlags.templateLimit.value
600
600
  })), 1))]),
601
- f("div", et, [
601
+ f("div", tt, [
602
602
  E(q, {
603
603
  viewport: t.editor.state.viewport,
604
604
  onChange: t.editor.setViewport
605
605
  }, null, 8, ["viewport", "onChange"]),
606
- E(oe, {
606
+ E(se, {
607
607
  "dark-mode": t.editor.state.darkMode,
608
608
  onChange: t.editor.setDarkMode
609
609
  }, null, 8, ["dark-mode", "onChange"]),
@@ -631,7 +631,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
631
631
  "onNavigate"
632
632
  ])) : v("", !0)
633
633
  ]),
634
- f("div", tt, [
634
+ f("div", nt, [
635
635
  t.featureFlags.saveStatus.value === "error" ? (e(), m("div", {
636
636
  key: 0,
637
637
  "aria-live": "assertive",
@@ -640,10 +640,10 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
640
640
  }, [E(C(K), {
641
641
  size: 12,
642
642
  "stroke-width": 2.5
643
- }), s(" " + w(C(a).header.saveFailed), 1)], 8, nt)) : t.featureFlags.saveStatus.value === "saved" ? (e(), m("div", rt, [E(C(G), {
643
+ }), s(" " + w(C(a).header.saveFailed), 1)], 8, rt)) : t.featureFlags.saveStatus.value === "saved" ? (e(), m("div", it, [E(C(G), {
644
644
  size: 12,
645
645
  "stroke-width": 2.5
646
- }), s(" " + w(C(a).header.saved), 1)])) : t.editor.state.isDirty ? (e(), m("div", it, [d[4] ||= f("span", { class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]" }, null, -1), s(" " + w(C(a).header.unsaved), 1)])) : v("", !0),
646
+ }), s(" " + w(C(a).header.saved), 1)])) : t.editor.state.isDirty ? (e(), m("div", at, [d[4] ||= f("span", { class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]" }, null, -1), s(" " + w(C(a).header.unsaved), 1)])) : v("", !0),
647
647
  t.commentsInstance.isEnabled.value && t.featureFlags.hasTemplateSaved.value ? (e(), m("button", {
648
648
  key: 3,
649
649
  "aria-label": t.commentsInstance.unresolvedCount.value > 0 ? `${C(a).comments.button} (${t.commentsInstance.unresolvedCount.value})` : C(a).comments.button,
@@ -661,8 +661,8 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
661
661
  "stroke-width": 2
662
662
  }),
663
663
  s(" " + w(C(a).comments.button) + " ", 1),
664
- t.commentsInstance.unresolvedCount.value > 0 && !t.panelState.commentsOpen.value ? (e(), m("span", ot, w(t.commentsInstance.unresolvedCount.value), 1)) : v("", !0)
665
- ], 14, at)) : v("", !0),
664
+ t.commentsInstance.unresolvedCount.value > 0 && !t.panelState.commentsOpen.value ? (e(), m("span", st, w(t.commentsInstance.unresolvedCount.value), 1)) : v("", !0)
665
+ ], 14, ot)) : v("", !0),
666
666
  t.featureFlags.canUseAiGeneration.value && t.featureFlags.hasTemplateSaved.value ? (e(), m("div", {
667
667
  key: 4,
668
668
  ref: (e) => t.panelState.aiMenuRef.value = e,
@@ -671,11 +671,11 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
671
671
  "aria-expanded": t.panelState.aiMenuOpen.value,
672
672
  class: c(["tpl-ai-btn tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-4 tpl:py-2 tpl:text-sm tpl:font-semibold tpl:whitespace-nowrap tpl:transition-all tpl:duration-200", t.panelState.aiButtonActive.value ? "tpl-ai-btn--active" : "tpl-ai-btn--idle"]),
673
673
  onClick: d[1] ||= u((...e) => t.panelState.toggleAiMenu && t.panelState.toggleAiMenu(...e), ["stop"])
674
- }, [E(C(de), {
674
+ }, [E(C(fe), {
675
675
  size: 16,
676
676
  "stroke-width": 2,
677
677
  class: "tpl-ai-btn-icon"
678
- }), s(" " + w(C(a).aiChat.button), 1)], 10, st), E(T, {
678
+ }), s(" " + w(C(a).aiChat.button), 1)], 10, ct), E(T, {
679
679
  "enter-active-class": "tpl:transition-all tpl:duration-150 tpl:ease-out",
680
680
  "enter-from-class": "tpl:scale-95 tpl:opacity-0",
681
681
  "enter-to-class": "tpl:scale-100 tpl:opacity-100",
@@ -683,7 +683,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
683
683
  "leave-from-class": "tpl:scale-100 tpl:opacity-100",
684
684
  "leave-to-class": "tpl:scale-95 tpl:opacity-0"
685
685
  }, {
686
- default: O(() => [t.panelState.aiMenuOpen.value ? (e(), m("div", ct, [E(C(i), {
686
+ default: O(() => [t.panelState.aiMenuOpen.value ? (e(), m("div", lt, [E(C(i), {
687
687
  "active-feature": t.panelState.activeAiFeature.value,
688
688
  onSelect: t.panelState.handleAiFeatureSelect
689
689
  }, null, 8, ["active-feature", "onSelect"])])) : v("", !0)]),
@@ -708,7 +708,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
708
708
  key: 0,
709
709
  size: 16,
710
710
  "stroke-width": 2
711
- })), s(" " + w(C(a).testEmail.button), 1)], 10, lt)) : v("", !0),
711
+ })), s(" " + w(C(a).testEmail.button), 1)], 10, ut)) : v("", !0),
712
712
  f("button", {
713
713
  class: c(C($)),
714
714
  style: {
@@ -723,15 +723,15 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
723
723
  class: "tpl-spinner",
724
724
  size: 16,
725
725
  "stroke-width": 2
726
- })) : (e(), x(C(je), {
726
+ })) : (e(), x(C(Me), {
727
727
  key: 0,
728
728
  size: 16,
729
729
  "stroke-width": 2
730
- })), s(" " + w(t.isSaving ? C(a).header.saving : C(a).header.save), 1)], 10, ut)
730
+ })), s(" " + w(t.isSaving ? C(a).header.saving : C(a).header.save), 1)], 10, dt)
731
731
  ])
732
732
  ]));
733
733
  }
734
- }), ft = /* @__PURE__ */ l({
734
+ }), pt = /* @__PURE__ */ l({
735
735
  __name: "CloudPanels",
736
736
  props: {
737
737
  config: {},
@@ -754,7 +754,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
754
754
  "module-insert"
755
755
  ],
756
756
  setup(t, { expose: n, emit: r }) {
757
- let i = D(() => import("./AiChatSidebar-BUKj9n02.js")), a = D(() => import("./CommentsSidebar-DiH4R4F0.js")), s = D(() => import("./DesignReferenceSidebar-BP32MgpS.js")), c = D(() => import("./TemplateScoringPanel-seBvvn8O.js")), l = D(() => import("./TestEmailModal-BuCuWp3N.js")), u = D(() => import("./SaveModuleDialog-DWidA0c9.js")), d = D(() => import("./ModuleBrowserModal-CWegFoOA.js")), f = D(async () => {
757
+ let i = D(() => import("./AiChatSidebar-D30WPhbv.js")), a = D(() => import("./CommentsSidebar-gpZMMI5w.js")), s = D(() => import("./DesignReferenceSidebar-Bs5AMxVd.js")), c = D(() => import("./TemplateScoringPanel-BG9M-29t.js")), l = D(() => import("./TestEmailModal-CRjtEs6S.js")), u = D(() => import("./SaveModuleDialog-CkEYkyVD.js")), d = D(() => import("./ModuleBrowserModal-BWWgF0LC.js")), f = D(async () => {
758
758
  try {
759
759
  return (await import("@templatical/media-library")).MediaLibraryModal;
760
760
  } catch {
@@ -836,23 +836,23 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
836
836
  ])
837
837
  ], 64));
838
838
  }
839
- }), pt = {
839
+ }), mt = {
840
840
  key: 0,
841
841
  class: "tpl-loading tpl:absolute tpl:inset-0 tpl:z-overlay tpl:flex tpl:flex-col tpl:bg-[var(--tpl-bg)]"
842
- }, mt = { class: "tpl:flex tpl:flex-1 tpl:overflow-hidden" }, ht = { class: "tpl:flex tpl:w-12 tpl:shrink-0 tpl:flex-col tpl:items-center tpl:gap-4 tpl:py-5 tpl:border-r tpl:border-[var(--tpl-border)]" }, gt = /* @__PURE__ */ l({
842
+ }, ht = { class: "tpl:flex tpl:flex-1 tpl:overflow-hidden" }, gt = { class: "tpl:flex tpl:w-12 tpl:shrink-0 tpl:flex-col tpl:items-center tpl:gap-4 tpl:py-5 tpl:border-r tpl:border-[var(--tpl-border)]" }, _t = /* @__PURE__ */ l({
843
843
  __name: "CloudLoadingOverlay",
844
844
  props: { visible: { type: Boolean } },
845
845
  setup(t) {
846
- return (n, i) => t.visible ? (e(), m("div", pt, [i[1] ||= p("<div class=\"tpl:flex tpl:h-14 tpl:shrink-0 tpl:items-center tpl:justify-between tpl:px-4 tpl:border-b tpl:border-[var(--tpl-border)]\"><div class=\"tpl-shimmer tpl:h-5 tpl:w-28 tpl:rounded-[var(--tpl-radius-sm)]\"></div><div class=\"tpl:flex tpl:gap-3\"><div class=\"tpl-shimmer tpl:h-8 tpl:w-20 tpl:rounded-[var(--tpl-radius-sm)]\"></div><div class=\"tpl-shimmer tpl:h-8 tpl:w-20 tpl:rounded-[var(--tpl-radius-sm)]\"></div></div></div>", 1), f("div", mt, [f("div", ht, [(e(), m(_, null, r(5, (e) => f("div", {
846
+ return (n, i) => t.visible ? (e(), m("div", mt, [i[1] ||= p("<div class=\"tpl:flex tpl:h-14 tpl:shrink-0 tpl:items-center tpl:justify-between tpl:px-4 tpl:border-b tpl:border-[var(--tpl-border)]\"><div class=\"tpl-shimmer tpl:h-5 tpl:w-28 tpl:rounded-[var(--tpl-radius-sm)]\"></div><div class=\"tpl:flex tpl:gap-3\"><div class=\"tpl-shimmer tpl:h-8 tpl:w-20 tpl:rounded-[var(--tpl-radius-sm)]\"></div><div class=\"tpl-shimmer tpl:h-8 tpl:w-20 tpl:rounded-[var(--tpl-radius-sm)]\"></div></div></div>", 1), f("div", ht, [f("div", gt, [(e(), m(_, null, r(5, (e) => f("div", {
847
847
  key: e,
848
848
  class: "tpl-shimmer tpl:size-7 tpl:rounded-[var(--tpl-radius-sm)]"
849
849
  })), 64))]), i[0] ||= p("<div class=\"tpl:flex tpl:flex-1 tpl:items-start tpl:justify-center tpl:overflow-auto tpl:p-8 tpl:bg-[var(--tpl-canvas-bg)]\"><div class=\"tpl:w-full tpl:max-w-[600px] tpl:rounded-[var(--tpl-radius)] tpl:p-6 tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)]\"><div class=\"tpl:space-y-2 tpl:py-4\"><div class=\"tpl-shimmer tpl:h-3 tpl:w-3/4 tpl:rounded\"></div><div class=\"tpl-shimmer tpl:h-3 tpl:w-full tpl:rounded\"></div><div class=\"tpl-shimmer tpl:h-3 tpl:w-5/6 tpl:rounded\"></div></div><div class=\"tpl:py-4\"><div class=\"tpl-shimmer tpl:h-44 tpl:w-full tpl:rounded-[var(--tpl-radius-sm)]\"></div></div><div class=\"tpl:space-y-2 tpl:py-4\"><div class=\"tpl-shimmer tpl:h-3 tpl:w-full tpl:rounded\"></div><div class=\"tpl-shimmer tpl:h-3 tpl:w-2/3 tpl:rounded\"></div></div><div class=\"tpl:flex tpl:justify-center tpl:py-4\"><div class=\"tpl-shimmer tpl:h-10 tpl:w-36 tpl:rounded-[var(--tpl-radius-sm)]\"></div></div><div class=\"tpl:space-y-2 tpl:py-4\"><div class=\"tpl-shimmer tpl:mx-auto tpl:h-2.5 tpl:w-1/2 tpl:rounded\"></div><div class=\"tpl-shimmer tpl:mx-auto tpl:h-2.5 tpl:w-1/3 tpl:rounded\"></div></div></div></div><div class=\"tpl:flex tpl:w-[320px] tpl:shrink-0 tpl:flex-col tpl:gap-4 tpl:p-4 tpl:border-l tpl:border-[var(--tpl-border)]\"><div class=\"tpl-shimmer tpl:h-8 tpl:rounded-[var(--tpl-radius-sm)]\"></div><div class=\"tpl-shimmer tpl:h-32 tpl:rounded-[var(--tpl-radius)]\"></div><div class=\"tpl-shimmer tpl:h-32 tpl:rounded-[var(--tpl-radius)]\"></div></div>", 2)])])) : v("", !0);
850
850
  }
851
- }), _t = {
851
+ }), vt = {
852
852
  key: 0,
853
853
  role: "alert",
854
854
  class: "tpl-error tpl:absolute tpl:inset-0 tpl:z-overlay tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-6 tpl:px-8 tpl:bg-[var(--tpl-bg)]"
855
- }, vt = { class: "tpl:flex tpl:size-16 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-[var(--tpl-danger-light)]" }, yt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-2 tpl:text-center" }, bt = { class: "tpl:text-lg tpl:font-semibold tpl:text-[var(--tpl-text)]" }, xt = { class: "tpl:max-w-md tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, St = /* @__PURE__ */ l({
855
+ }, yt = { class: "tpl:flex tpl:size-16 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-[var(--tpl-danger-light)]" }, bt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-2 tpl:text-center" }, xt = { class: "tpl:text-lg tpl:font-semibold tpl:text-[var(--tpl-text)]" }, St = { class: "tpl:max-w-md tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Ct = /* @__PURE__ */ l({
856
856
  __name: "CloudErrorOverlay",
857
857
  props: {
858
858
  error: {},
@@ -867,13 +867,13 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
867
867
  function o(e) {
868
868
  return "isNotFound" in e && !!e.isNotFound;
869
869
  }
870
- return (n, s) => t.visible && t.error ? (e(), m("div", _t, [
871
- f("div", vt, [E(C(K), {
870
+ return (n, s) => t.visible && t.error ? (e(), m("div", vt, [
871
+ f("div", yt, [E(C(K), {
872
872
  size: 32,
873
873
  "stroke-width": 1.5,
874
874
  class: "tpl:text-[var(--tpl-danger)]"
875
875
  })]),
876
- f("div", yt, [f("h2", bt, w(C(i).error.title), 1), f("p", xt, w(a(t.error)), 1)]),
876
+ f("div", bt, [f("h2", xt, w(C(i).error.title), 1), f("p", St, w(a(t.error)), 1)]),
877
877
  o(t.error) ? v("", !0) : (e(), m("button", {
878
878
  key: 0,
879
879
  class: "tpl-btn tpl-btn-primary tpl:inline-flex tpl:items-center tpl:gap-2 tpl:rounded-md tpl:px-4 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:shadow-xs tpl:transition-all tpl:duration-150 tpl:hover:opacity-90 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]",
@@ -881,20 +881,20 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
881
881
  }, w(C(i).error.retry), 1))
882
882
  ])) : v("", !0);
883
883
  }
884
- }), Ct = {
884
+ }), wt = {
885
885
  key: 0,
886
886
  class: "tpl-preview-banner tpl:absolute tpl:top-14 tpl:right-0 tpl:left-0 tpl:z-40 tpl:flex tpl:items-center tpl:justify-center tpl:gap-4 tpl:px-4 tpl:py-3 tpl:bg-[var(--tpl-primary-light)] tpl:border-b tpl:border-[var(--tpl-primary)]"
887
- }, wt = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:text-[var(--tpl-text)]" }, Tt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Et = /* @__PURE__ */ l({
887
+ }, Tt = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:text-[var(--tpl-text)]" }, Et = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Dt = /* @__PURE__ */ l({
888
888
  __name: "SnapshotPreviewBanner",
889
889
  props: { visible: { type: Boolean } },
890
890
  emits: ["cancel", "confirm"],
891
891
  setup(t, { emit: n }) {
892
892
  let r = n, { t: i } = Q();
893
- return (n, a) => t.visible ? (e(), m("div", Ct, [f("div", wt, [E(C(ue), {
893
+ return (n, a) => t.visible ? (e(), m("div", wt, [f("div", Tt, [E(C(de), {
894
894
  size: 18,
895
895
  "stroke-width": 2,
896
896
  class: "tpl:text-[var(--tpl-primary)]"
897
- }), f("span", null, w(C(i).snapshotPreview.message), 1)]), f("div", Tt, [f("button", {
897
+ }), f("span", null, w(C(i).snapshotPreview.message), 1)]), f("div", Et, [f("button", {
898
898
  class: "tpl:rounded-md tpl:px-3 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:duration-150 tpl:text-[var(--tpl-text-muted)] tpl:border tpl:border-[var(--tpl-border)]",
899
899
  style: { "background-color": "transparent" },
900
900
  onClick: a[0] ||= (e) => r("cancel")
@@ -903,7 +903,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
903
903
  onClick: a[1] ||= (e) => r("confirm")
904
904
  }, w(C(i).snapshotPreview.restore), 1)])])) : v("", !0);
905
905
  }
906
- }), Dt = {
906
+ }), Ot = {
907
907
  key: 0,
908
908
  role: "status",
909
909
  "aria-live": "polite",
@@ -913,14 +913,14 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
913
913
  color: "var(--tpl-text)",
914
914
  border: "1px solid var(--tpl-warning)"
915
915
  }
916
- }, Ot = /* @__PURE__ */ l({
916
+ }, kt = /* @__PURE__ */ l({
917
917
  __name: "CollabUndoToast",
918
918
  props: { visible: { type: Boolean } },
919
919
  setup(t) {
920
920
  let { t: n } = U();
921
- return (r, i) => t.visible ? (e(), m("div", Dt, w(C(n).history.collabWarning), 1)) : v("", !0);
921
+ return (r, i) => t.visible ? (e(), m("div", Ot, w(C(n).history.collabWarning), 1)) : v("", !0);
922
922
  }
923
- }), kt = ["data-tpl-theme"], At = { class: "tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, jt = { class: "tpl-main tpl:flex tpl:justify-center tpl:p-8" }, Mt = ["aria-label"], Nt = /* @__PURE__ */ pe(/* @__PURE__ */ l({
923
+ }), At = ["data-tpl-theme"], jt = { class: "tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, Mt = { class: "tpl-main tpl:flex tpl:justify-center tpl:p-8" }, Nt = ["aria-label"], Pt = /* @__PURE__ */ me(/* @__PURE__ */ l({
924
924
  __name: "CloudEditor",
925
925
  props: {
926
926
  config: {},
@@ -933,7 +933,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
933
933
  setup(n, { expose: r, emit: a }) {
934
934
  let l = n;
935
935
  h(B, l.cloudTranslations);
936
- let u = a, d = o(null), p = o(null), _ = Le({
936
+ let u = a, d = o(null), p = o(null), _ = Re({
937
937
  config: l.config,
938
938
  translations: l.translations,
939
939
  fontsManager: l.fontsManager,
@@ -941,20 +941,20 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
941
941
  getCommentsSidebar: () => d.value ? { filterByBlock: d.value.filterCommentsByBlock } : null,
942
942
  editorRoot: l.shadowRoot,
943
943
  containerEl: p
944
- }), { isInitializing: S, isAuthReady: D, initError: k, planConfigInstance: A, websocket: M, collaboration: N, isCollaborationEnabled: P, editor: F, core: I, featureFlags: L, mediaLib: R, exporter: z, testEmail: V, commentsInstance: ee, savedModulesHeadless: te, panelState: H, snapshotPreview: U, collabWarning: W, showSaveModuleDialog: G, showModuleBrowserModal: K, saveModulePreSelectedBlockId: q, setThemeOverrides: J, setUiTheme: re } = _;
945
- async function oe(e) {
944
+ }), { isInitializing: S, isAuthReady: D, initError: k, planConfigInstance: A, websocket: M, collaboration: N, isCollaborationEnabled: P, editor: F, core: I, featureFlags: L, mediaLib: R, exporter: z, testEmail: V, commentsInstance: ee, savedModulesHeadless: te, panelState: H, snapshotPreview: U, collabWarning: W, showSaveModuleDialog: G, showModuleBrowserModal: K, saveModulePreSelectedBlockId: q, setThemeOverrides: J, setUiTheme: se } = _;
945
+ async function ue(e) {
946
946
  try {
947
947
  await V.sendTestEmail(e), H.testEmailModalOpen.value = !1;
948
948
  } catch {}
949
949
  }
950
- function ue(e, t) {
950
+ function de(e, t) {
951
951
  for (let n = 0; n < e.content.length; n++) {
952
952
  let r = j(e.content[n]), i = t === void 0 ? void 0 : t + n;
953
953
  F.addBlock(r, void 0, void 0, i);
954
954
  }
955
955
  K.value = !1;
956
956
  }
957
- let Y = ze({
957
+ let Y = Be({
958
958
  config: l.config,
959
959
  editor: F,
960
960
  websocket: M,
@@ -964,7 +964,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
964
964
  exporter: z,
965
965
  featureFlags: L,
966
966
  isDestroyed: _.isDestroyed
967
- }), X = Be({
967
+ }), X = Ve({
968
968
  issues: I.templateLint ? I.templateLint.issues : o([]),
969
969
  planConfig: A.config
970
970
  });
@@ -978,7 +978,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
978
978
  }), r({
979
979
  getContent: () => F.content.value,
980
980
  setContent: (e) => F.setContent(e),
981
- setTheme: re,
981
+ setTheme: se,
982
982
  setThemeOverrides: J,
983
983
  create: Y.createTemplate,
984
984
  load: Y.loadTemplate,
@@ -991,6 +991,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
991
991
  "data-tpl-theme": C(I).resolvedTheme.value,
992
992
  style: b(C(I).themeStyles.value)
993
993
  }, [
994
+ E(ne),
994
995
  E(T, {
995
996
  "enter-active-class": "tpl:transition-opacity tpl:duration-200",
996
997
  "enter-from-class": "tpl:opacity-100",
@@ -999,7 +1000,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
999
1000
  "leave-from-class": "tpl:opacity-100",
1000
1001
  "leave-to-class": "tpl:opacity-0"
1001
1002
  }, {
1002
- default: O(() => [E(gt, { visible: C(S) || C(F).state.isLoading }, null, 8, ["visible"])]),
1003
+ default: O(() => [E(_t, { visible: C(S) || C(F).state.isLoading }, null, 8, ["visible"])]),
1003
1004
  _: 1
1004
1005
  }),
1005
1006
  E(T, {
@@ -1010,7 +1011,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1010
1011
  "leave-from-class": "tpl:opacity-100",
1011
1012
  "leave-to-class": "tpl:opacity-0"
1012
1013
  }, {
1013
- default: O(() => [E(St, {
1014
+ default: O(() => [E(Ct, {
1014
1015
  error: C(k),
1015
1016
  visible: !!C(k) && !C(S),
1016
1017
  onRetry: C(_).initialize
@@ -1021,7 +1022,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1021
1022
  ])]),
1022
1023
  _: 1
1023
1024
  }),
1024
- E(dt, {
1025
+ E(ft, {
1025
1026
  editor: C(F),
1026
1027
  core: C(I),
1027
1028
  "feature-flags": C(L),
@@ -1049,7 +1050,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1049
1050
  "is-saving",
1050
1051
  "is-save-disabled"
1051
1052
  ]),
1052
- E(Xe, {
1053
+ E(Ze, {
1053
1054
  open: C(X).modalOpen.value,
1054
1055
  issues: C(X).blockingIssues.value,
1055
1056
  onCancel: C(X).cancel,
@@ -1060,7 +1061,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1060
1061
  "onCancel",
1061
1062
  "onConfirm"
1062
1063
  ]),
1063
- E(Et, {
1064
+ E(Dt, {
1064
1065
  visible: C(U).isPreviewingSnapshot.value,
1065
1066
  onCancel: C(U).cancelPreview,
1066
1067
  onConfirm: C(U).confirmRestoreSnapshot
@@ -1077,17 +1078,17 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1077
1078
  "leave-from-class": "tpl:translate-y-0 tpl:opacity-100",
1078
1079
  "leave-to-class": "tpl:translate-y-[-8px] tpl:opacity-0"
1079
1080
  }, {
1080
- default: O(() => [E(Ot, { visible: C(W).collabUndoWarningVisible.value }, null, 8, ["visible"])]),
1081
+ default: O(() => [E(kt, { visible: C(W).collabUndoWarningVisible.value }, null, 8, ["visible"])]),
1081
1082
  _: 1
1082
1083
  }),
1083
- t(E(se, null, null, 512), [[y, !C(F).state.previewMode]]),
1084
+ t(E(ce, null, null, 512), [[y, !C(F).state.previewMode]]),
1084
1085
  f("div", {
1085
1086
  class: c(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto", [C(F).state.previewMode ? "tpl:left-0 tpl:right-0" : C(H).rightPanelOpen.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]", C(U).isPreviewingSnapshot.value ? "tpl:top-[104px]" : "tpl:top-14"]]),
1086
1087
  style: {
1087
1088
  transition: "all 300ms cubic-bezier(0.34, 1.56, 0.64, 1)",
1088
1089
  "background-color": "var(--tpl-canvas-bg)"
1089
1090
  }
1090
- }, [f("div", At, [E(T, { name: "tpl-restore-btn" }, {
1091
+ }, [f("div", jt, [E(T, { name: "tpl-restore-btn" }, {
1091
1092
  default: O(() => [C(I).conditionPreview.hasHiddenBlocks.value ? (e(), m("button", {
1092
1093
  key: 0,
1093
1094
  class: "tpl:absolute tpl:left-1/2 tpl:top-2 tpl:-translate-x-1/2 tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:rounded-full tpl:border tpl:px-3.5 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:whitespace-nowrap tpl:shadow-md tpl:hover:opacity-80",
@@ -1098,12 +1099,12 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1098
1099
  "backdrop-filter": "blur(8px)"
1099
1100
  },
1100
1101
  onClick: i[0] ||= (e) => C(I).conditionPreview.reset()
1101
- }, [E(C(le), {
1102
+ }, [E(C(re), {
1102
1103
  size: 13,
1103
1104
  "stroke-width": 2
1104
1105
  }), s(" " + w(C(I).t.blockSettings.restoreHiddenBlocks), 1)])) : v("", !0)]),
1105
1106
  _: 1
1106
- })]), f("main", jt, [E(ne, {
1107
+ })]), f("main", Mt, [E(ie, {
1107
1108
  viewport: C(F).state.viewport,
1108
1109
  content: C(F).content.value,
1109
1110
  "selected-block-id": C(F).state.selectedBlockId,
@@ -1122,7 +1123,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1122
1123
  "locked-blocks",
1123
1124
  "onSelectBlock"
1124
1125
  ])])], 2),
1125
- n.config.branding !== !1 && !C(L).isWhiteLabeled.value ? (e(), x(ie, {
1126
+ n.config.branding !== !1 && !C(L).isWhiteLabeled.value ? (e(), x(ae, {
1126
1127
  key: 0,
1127
1128
  "position-class": [C(F).state.previewMode ? "tpl:left-0 tpl:right-0" : C(H).rightPanelOpen.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]"]
1128
1129
  }, null, 8, ["position-class"])) : v("", !0),
@@ -1132,8 +1133,8 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1132
1133
  "aria-live": "polite",
1133
1134
  "aria-atomic": "true",
1134
1135
  "aria-label": C(I).t.landmarks.reorderAnnouncements
1135
- }, w(C(I).keyboardReorder.announcement.value), 9, Mt),
1136
- t(E(ae, {
1136
+ }, w(C(I).keyboardReorder.announcement.value), 9, Nt),
1137
+ t(E(oe, {
1137
1138
  "selected-block": C(F).selectedBlock.value,
1138
1139
  settings: C(F).content.value.settings,
1139
1140
  "shifted-left": C(H).rightPanelOpen.value,
@@ -1147,7 +1148,7 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1147
1148
  "shifted-left",
1148
1149
  "onUpdateSettings"
1149
1150
  ]), [[y, !C(F).state.previewMode]]),
1150
- !C(S) && C(D) ? (e(), x(ft, {
1151
+ !C(S) && C(D) ? (e(), x(pt, {
1151
1152
  key: 1,
1152
1153
  ref_key: "cloudPanelsRef",
1153
1154
  ref: d,
@@ -1165,8 +1166,8 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1165
1166
  "onUpdate:showSaveModuleDialog": i[6] ||= (e) => G.value = e,
1166
1167
  "onUpdate:saveModulePreSelectedBlockId": i[7] ||= (e) => q.value = e,
1167
1168
  "onUpdate:showModuleBrowserModal": i[8] ||= (e) => K.value = e,
1168
- onSendTestEmail: oe,
1169
- onModuleInsert: ue
1169
+ onSendTestEmail: ue,
1170
+ onModuleInsert: de
1170
1171
  }, null, 8, [
1171
1172
  "config",
1172
1173
  "editor",
@@ -1184,9 +1185,9 @@ var Ve = ["aria-label"], He = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1184
1185
  ref: (e) => C(I).popoverRoot.value = e,
1185
1186
  class: "tpl-popover-root"
1186
1187
  }, null, 512),
1187
- E(ce)
1188
- ], 14, kt));
1188
+ E(le)
1189
+ ], 14, At));
1189
1190
  }
1190
- }), [["__scopeId", "data-v-3f0f5cfa"]]);
1191
+ }), [["__scopeId", "data-v-ae54dc42"]]);
1191
1192
  //#endregion
1192
- export { Nt as default };
1193
+ export { Pt as default };