@templatical/editor 0.5.1 → 0.6.1

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 (154) hide show
  1. package/dist/AccessibilityPanel-CvQGLdu6.js +108 -0
  2. package/dist/{AiChatSidebar-Cg206ewI.js → AiChatSidebar-Br9dhkIB.js} +17 -16
  3. package/dist/{AiFeatureMenu-D7Od4cI2.js → AiFeatureMenu-Ceewb3uB.js} +13 -13
  4. package/dist/BlockA11yBadge-CXDLqkcJ.js +34 -0
  5. package/dist/{CloudEditor-DG8fWnXI.js → CloudEditor-D_flODpm.js} +306 -217
  6. package/dist/{CollaboratorBar-BdXfCYAr.js → CollaboratorBar-BcSxXVY-.js} +4 -4
  7. package/dist/{CommentsSidebar-BAma2apG.js → CommentsSidebar-DceMRyIS.js} +26 -25
  8. package/dist/{CountdownBlock-Ce3RFNpM.js → CountdownBlock-BNSj1jvJ.js} +2 -2
  9. package/dist/{CountdownToolbar-Bo3Jaiky.js → CountdownToolbar-ClJr2GzL.js} +3 -3
  10. package/dist/{DesignReferenceSidebar-B8DDnLHQ.js → DesignReferenceSidebar-50qFipmW.js} +30 -29
  11. package/dist/{LoadingTrack-DhxulLPM.js → LoadingTrack-B0CWFHXQ.js} +1 -1
  12. package/dist/{ModuleBrowserModal-DpMInJoP.js → ModuleBrowserModal-BnSdG4DE.js} +10 -10
  13. package/dist/{ModulePreviewCanvas-MjIGlxVI.js → ModulePreviewCanvas-B78PuZdk.js} +2 -2
  14. package/dist/{NumberWithSuffix-BysfchFp.js → NumberWithSuffix-DkXUez9t.js} +3 -3
  15. package/dist/{ParagraphEditor-B5qZL5c2.js → ParagraphEditor-CPBYk2m3.js} +39 -38
  16. package/dist/{RichTextEditorContent-jxPxfbfZ.js → RichTextEditorContent-DYkIauIk.js} +4 -4
  17. package/dist/{SaveModuleDialog-BGFYMJby.js → SaveModuleDialog-Df__VToK.js} +7 -7
  18. package/dist/{SnapshotHistory-4aWE_-GM.js → SnapshotHistory-QBTbVrEK.js} +9 -9
  19. package/dist/{TemplateScoringPanel-BmAHdgLF.js → TemplateScoringPanel-4GTNHej5.js} +29 -27
  20. package/dist/{TestEmailModal-p-iH28wl.js → TestEmailModal-DaDMACHY.js} +4 -4
  21. package/dist/{TitleEditor-BHxJ6Oxd.js → TitleEditor-PHShl4tS.js} +10 -10
  22. package/dist/{TplModal-BiUCSfou.js → TplModal-DzlNkBYQ.js} +2 -2
  23. package/dist/_plugin-vue_export-helper-B0hnzhyu.js +8 -0
  24. package/dist/accessibility-e8JYu_zd.js +27 -0
  25. package/dist/{blockTypeIcons-8GJD96Tw.js → blockTypeIcons-D0wkSpP9.js} +2 -2
  26. package/dist/bundle-stats.json +8 -8
  27. package/dist/cdn/chunks/AccessibilityPanel-fjNLcnxu.js +97 -0
  28. package/dist/cdn/chunks/AccessibilityPanel-fjNLcnxu.js.map +1 -0
  29. package/dist/cdn/chunks/{AiFeatureMenu-DSXAYiMk.js → AiFeatureMenu-DSamZ3ve.js} +5 -5
  30. package/dist/cdn/chunks/{AiFeatureMenu-DSXAYiMk.js.map → AiFeatureMenu-DSamZ3ve.js.map} +1 -1
  31. package/dist/cdn/chunks/BlockA11yBadge-D73PKVS8.js +33 -0
  32. package/dist/cdn/chunks/BlockA11yBadge-D73PKVS8.js.map +1 -0
  33. package/dist/cdn/chunks/{CloudEditor-CRYF-bR3.js → CloudEditor-BGfliRFn.js} +253 -166
  34. package/dist/cdn/chunks/CloudEditor-BGfliRFn.js.map +1 -0
  35. package/dist/cdn/chunks/{CollaboratorBar-CTFgLtUt.js → CollaboratorBar-BRvF0m5t.js} +6 -6
  36. package/dist/cdn/chunks/{CollaboratorBar-CTFgLtUt.js.map → CollaboratorBar-BRvF0m5t.js.map} +1 -1
  37. package/dist/cdn/chunks/{CountdownBlock-BKg-e3Uo.js → CountdownBlock-IIZk8uja.js} +2 -2
  38. package/dist/cdn/chunks/{CountdownBlock-BKg-e3Uo.js.map → CountdownBlock-IIZk8uja.js.map} +1 -1
  39. package/dist/cdn/chunks/{CountdownToolbar-CPAOXOwI.js → CountdownToolbar-mXM3YITU.js} +3 -3
  40. package/dist/cdn/chunks/{CountdownToolbar-CPAOXOwI.js.map → CountdownToolbar-mXM3YITU.js.map} +1 -1
  41. package/dist/cdn/chunks/{ModuleBrowserModal-B70ZM4KG.js → ModuleBrowserModal-BgIdqEyV.js} +7 -7
  42. package/dist/cdn/chunks/{ModuleBrowserModal-B70ZM4KG.js.map → ModuleBrowserModal-BgIdqEyV.js.map} +1 -1
  43. package/dist/cdn/chunks/{ModulePreviewCanvas-VHhQwuFP.js → ModulePreviewCanvas-BOFLwREg.js} +18 -18
  44. package/dist/cdn/chunks/{ModulePreviewCanvas-VHhQwuFP.js.map → ModulePreviewCanvas-BOFLwREg.js.map} +1 -1
  45. package/dist/cdn/chunks/{NumberWithSuffix-DnqYqSKs.js → NumberWithSuffix-Cxe5sPC2.js} +4 -4
  46. package/dist/cdn/chunks/{NumberWithSuffix-DnqYqSKs.js.map → NumberWithSuffix-Cxe5sPC2.js.map} +1 -1
  47. package/dist/cdn/chunks/{ParagraphEditor-oVEaeerJ.js → ParagraphEditor-7Wycs4gM.js} +53 -53
  48. package/dist/cdn/chunks/{ParagraphEditor-oVEaeerJ.js.map → ParagraphEditor-7Wycs4gM.js.map} +1 -1
  49. package/dist/cdn/chunks/{RichTextEditorContent-CmOwLOeY.js → RichTextEditorContent-DVw5mwEA.js} +4 -4
  50. package/dist/cdn/chunks/{RichTextEditorContent-CmOwLOeY.js.map → RichTextEditorContent-DVw5mwEA.js.map} +1 -1
  51. package/dist/cdn/chunks/{SaveModuleDialog-B6kNizps.js → SaveModuleDialog-Cz1xEjJG.js} +3 -3
  52. package/dist/cdn/chunks/{SaveModuleDialog-B6kNizps.js.map → SaveModuleDialog-Cz1xEjJG.js.map} +1 -1
  53. package/dist/cdn/chunks/{TitleEditor-CvZe3neh.js → TitleEditor-DTF4hRB6.js} +12 -12
  54. package/dist/cdn/chunks/{TitleEditor-CvZe3neh.js.map → TitleEditor-DTF4hRB6.js.map} +1 -1
  55. package/dist/cdn/chunks/blockTypeIcons-C5tZU4ot.js +22 -0
  56. package/dist/cdn/chunks/{blockTypeIcons-Bs9B-yft.js.map → blockTypeIcons-C5tZU4ot.js.map} +1 -1
  57. package/dist/cdn/chunks/{de-CGu9U1iv.js → de-Ce-LbJ2J.js} +1 -1
  58. package/dist/cdn/chunks/{de-CGu9U1iv.js.map → de-Ce-LbJ2J.js.map} +1 -1
  59. package/dist/{de-DwLWZn6p.js → cdn/chunks/de-D8CnZxV9.js} +21 -1
  60. package/dist/cdn/chunks/de-D8CnZxV9.js.map +1 -0
  61. package/dist/{de-CbSb23fl.js → cdn/chunks/de-RQrZR56a.js} +8 -0
  62. package/dist/cdn/chunks/{de-Db6I9YdS.js.map → de-RQrZR56a.js.map} +1 -1
  63. package/dist/cdn/chunks/{emojiData-Vv_m5TSB.js → emojiData-EMFlj6FJ.js} +1 -1
  64. package/dist/cdn/chunks/{emojiData-Vv_m5TSB.js.map → emojiData-EMFlj6FJ.js.map} +1 -1
  65. package/dist/{en-BrlGVpmd.js → cdn/chunks/en-8FHaQv4V.js} +21 -1
  66. package/dist/cdn/chunks/en-8FHaQv4V.js.map +1 -0
  67. package/dist/{en-2fvenFu0.js → cdn/chunks/en-Bl1ecfRF.js} +8 -0
  68. package/dist/cdn/chunks/{en-BbqBJ2Q3.js.map → en-Bl1ecfRF.js.map} +1 -1
  69. package/dist/cdn/chunks/{en-C3WMCISl.js → en-DiCWK5fG.js} +1 -1
  70. package/dist/cdn/chunks/{en-C3WMCISl.js.map → en-DiCWK5fG.js.map} +1 -1
  71. package/dist/cdn/chunks/{extensions-D13MqxlW.js → extensions-BrVEX2vQ.js} +37 -34
  72. package/dist/cdn/chunks/{extensions-D13MqxlW.js.map → extensions-BrVEX2vQ.js.map} +1 -1
  73. package/dist/cdn/chunks/{features-BnG-dhzy.js → features-BdkV7kQP.js} +816 -756
  74. package/dist/cdn/chunks/features-BdkV7kQP.js.map +1 -0
  75. package/dist/cdn/chunks/{icons-B_185qj_.js → icons-oRXtYgc3.js} +99 -52
  76. package/dist/cdn/chunks/icons-oRXtYgc3.js.map +1 -0
  77. package/dist/cdn/chunks/{media-library-DxpFw4Tt.js → media-library-C7uyFrMO.js} +217 -217
  78. package/dist/cdn/chunks/{media-library-DxpFw4Tt.js.map → media-library-C7uyFrMO.js.map} +1 -1
  79. package/dist/cdn/chunks/quality-C5gsx_Tw.js +1456 -0
  80. package/dist/cdn/chunks/quality-C5gsx_Tw.js.map +1 -0
  81. package/dist/cdn/chunks/{readableTextColor-Cd_cgWO_.js → readableTextColor-DhoK4XiZ.js} +1 -1
  82. package/dist/cdn/chunks/{readableTextColor-Cd_cgWO_.js.map → readableTextColor-DhoK4XiZ.js.map} +1 -1
  83. package/dist/cdn/chunks/{dist-MGrg9tLo.js → renderer-DM2gdPmx.js} +178 -126
  84. package/dist/cdn/chunks/renderer-DM2gdPmx.js.map +1 -0
  85. package/dist/cdn/chunks/{src-Cw7KAyui.js → src-BAAwLL7q.js} +11 -11
  86. package/dist/cdn/chunks/{src-Cw7KAyui.js.map → src-BAAwLL7q.js.map} +1 -1
  87. package/dist/cdn/chunks/{styles-DYDpAUsJ.js → styles-iDn0uW8_.js} +576 -484
  88. package/dist/cdn/chunks/styles-iDn0uW8_.js.map +1 -0
  89. package/dist/cdn/chunks/{tiptap-CPAwPMop.js → tiptap-ClLEM7Xz.js} +2 -2
  90. package/dist/cdn/chunks/{tiptap-CPAwPMop.js.map → tiptap-ClLEM7Xz.js.map} +1 -1
  91. package/dist/cdn/editor.css +1 -1
  92. package/dist/cdn/editor.js +87 -86
  93. package/dist/cdn/editor.js.map +1 -1
  94. package/dist/{check-Om8IxvJb.js → check-Da05j8yl.js} +1 -1
  95. package/dist/{chevron-down-SG7QNtDl.js → chevron-down-R2uY34iD.js} +1 -1
  96. package/dist/{circle-alert-De74azaX.js → circle-alert-DZuGWPX-.js} +1 -1
  97. package/dist/{clock-Dr7rX_PG.js → clock-CRp2sIub.js} +1 -1
  98. package/dist/{cloud-B1NAFg44.js → cloud-WfWdqZVK.js} +1 -1
  99. package/dist/{_plugin-vue_export-helper-GRmvIR5A.js → createLucideIcon-C3pa2siy.js} +2 -6
  100. package/dist/{cdn/chunks/de-BSWt7lYu.js → de-Brqvgr43.js} +19 -3
  101. package/dist/{cdn/chunks/de-Db6I9YdS.js → de-DCaaCE5s.js} +6 -2
  102. package/dist/{dist-CuyhAnuE.js → dist-B1IR0bpH.js} +65 -53
  103. package/dist/{dist-QoJxR1uP.js → dist-BFawx6IS.js} +1 -1
  104. package/dist/{dist-H7npgW0s.js → dist-BaQIYPsn.js} +1 -1
  105. package/dist/{dist-C4m7p7Wb.js → dist-Cp0zXPAD.js} +1 -1
  106. package/dist/{dist--8ZUsIQD.js → dist-D6uC2xhi.js} +1 -1
  107. package/dist/{dist-BMMiVjHs.js → dist-D90y8dvT.js} +3 -3
  108. package/dist/{dist--e2w6FN-.js → dist-DDJIWTRY.js} +1 -1
  109. package/dist/{dist-e0ylhlSV.js → dist-DJmnUmW9.js} +2 -1
  110. package/dist/{dist-BOSn1353.js → dist-DjviJBCi.js} +1 -1
  111. package/dist/{dist-BsiDC2rP.js → dist-KoBJjK1G.js} +1 -1
  112. package/dist/{dist-BNZS_qhu.js → dist-aRzjfSRN.js} +1 -1
  113. package/dist/{dist-3AzSJz2x.js → dist-us-RpCWN.js} +1 -1
  114. package/dist/{dist-DPsMHsAW.js → dist-wzMIGj-D.js} +1 -1
  115. package/dist/{cdn/chunks/en-BbqBJ2Q3.js → en-DXCyK4-X.js} +6 -2
  116. package/dist/{cdn/chunks/en-9-vIGlc7.js → en-WDVp87TE.js} +19 -3
  117. package/dist/{extensions-Cmf6XVn9.js → extensions-CUcl9Ok4.js} +26 -23
  118. package/dist/{image-up-10kxuulB.js → image-up-MBZKKg9p.js} +1 -1
  119. package/dist/index.d.ts +25 -8
  120. package/dist/info-CJEC7piy.js +19 -0
  121. package/dist/{keys-BeW4IrXP.js → keys-ciNfSSGj.js} +3 -3
  122. package/dist/{loader-circle-IS16T05j.js → loader-circle-DsY5Yg33.js} +1 -1
  123. package/dist/{message-circle-3R472hDc.js → message-circle-yElBbR2C.js} +1 -1
  124. package/dist/{refresh-cw-CpmOfpPK.js → refresh-cw-CE_AGtn8.js} +3 -18
  125. package/dist/{scan-line-J_fzG2Wo.js → scan-line-D0vcUekt.js} +1 -1
  126. package/dist/{send-DRkFf4hP.js → send-DH4oDQqC.js} +1 -1
  127. package/dist/{shield-check-DtXk7JKN.js → shield-check-CfJgs2Hd.js} +1 -1
  128. package/dist/{sparkles-CD7TiNiC.js → sparkles-CvRXGqFs.js} +1 -1
  129. package/dist/style.css +1 -1
  130. package/dist/{styles-C-FrkTA9.js → styles-B58wYIn4.js} +589 -476
  131. package/dist/templatical-editor.js +90 -89
  132. package/dist/{text-align-start-B8M9hruh.js → text-align-start-BT9VUDxK.js} +1 -1
  133. package/dist/{trash-2-cEVwp-r_.js → trash-2-DbP2Y6t2.js} +1 -1
  134. package/dist/{triangle-alert-8CkexIzx.js → triangle-alert-aOXceTSe.js} +1 -1
  135. package/dist/{useCloudI18n-D0Fi0hBU.js → useCloudI18n-BuIwR6OE.js} +1 -1
  136. package/dist/{useEditorCore-D0uZbPKG.js → useEditorCore-Dz-qbVXX.js} +1709 -1661
  137. package/dist/{useI18n-Jp3X6Q0t.js → useI18n-lb2DHDiu.js} +1 -1
  138. package/dist/{useMergeTag-CEE4CG-D.js → useMergeTag-CBwKnnNB.js} +3 -3
  139. package/dist/{x-BNc1bVzp.js → x-u2oVmjN_.js} +1 -1
  140. package/package.json +10 -5
  141. package/dist/cdn/chunks/CloudEditor-CRYF-bR3.js.map +0 -1
  142. package/dist/cdn/chunks/blockTypeIcons-Bs9B-yft.js +0 -22
  143. package/dist/cdn/chunks/de-BSWt7lYu.js.map +0 -1
  144. package/dist/cdn/chunks/dist-MGrg9tLo.js.map +0 -1
  145. package/dist/cdn/chunks/en-9-vIGlc7.js.map +0 -1
  146. package/dist/cdn/chunks/features-BnG-dhzy.js.map +0 -1
  147. package/dist/cdn/chunks/icons-B_185qj_.js.map +0 -1
  148. package/dist/cdn/chunks/styles-DYDpAUsJ.js.map +0 -1
  149. /package/dist/{dist-CmrXHeJS.js → dist-iLBdeBDR.js} +0 -0
  150. /package/dist/{emojiData-DcYt1YZ3.js → emojiData-PQyVa4bU.js} +0 -0
  151. /package/dist/{formatRelativeTime-MungD2xr.js → formatRelativeTime-WvH3Au71.js} +0 -0
  152. /package/dist/{liquid.browser-BohVA1YU.js → liquid.browser-CdMv1BTn.js} +0 -0
  153. /package/dist/{readableTextColor-Uc7ntzXo.js → readableTextColor-CY3SiRnt.js} +0 -0
  154. /package/dist/{styleConstants-Beu6EmBc.js → styleConstants-fWzlIIwN.js} +0 -0
@@ -1,6 +1,7 @@
1
- import { An as e, Cn as t, Dn as n, En as r, Mn as i, On as a, Sn as o, Tn as s, bn as c, jn as l, kn as u, wn as d, xn as f, yn as p } from "./features-BnG-dhzy.js";
2
- //#region ../renderer/dist/index.js
3
- var m = {
1
+ import { r as e } from "./rolldown-runtime-BNuo_Jkg.js";
2
+ import { An as t, Cn as n, Dn as r, En as i, Mn as a, Nn as o, On as s, Pn as c, Sn as l, Tn as u, jn as d, kn as f, wn as p, xn as m } from "./features-BdkV7kQP.js";
3
+ //#region ../renderer/src/render-context.ts
4
+ var h = {
4
5
  arial: "Arial, sans-serif",
5
6
  helvetica: "Helvetica, sans-serif",
6
7
  georgia: "Georgia, serif",
@@ -9,15 +10,10 @@ var m = {
9
10
  "trebuchet ms": "'Trebuchet MS', sans-serif",
10
11
  "courier new": "'Courier New', monospace",
11
12
  tahoma: "Tahoma, sans-serif"
12
- }, h = class e {
13
+ }, g = class e {
13
14
  constructor(e, t, n, r, i = /* @__PURE__ */ new Map()) {
14
15
  this.containerWidth = e, this.customFonts = t, this.defaultFallbackFont = n, this.allowHtmlBlocks = r, this.customBlockHtml = i;
15
16
  }
16
- containerWidth;
17
- customFonts;
18
- defaultFallbackFont;
19
- allowHtmlBlocks;
20
- customBlockHtml;
21
17
  withContainerWidth(t) {
22
18
  return new e(t, this.customFonts, this.defaultFallbackFont, this.allowHtmlBlocks, this.customBlockHtml);
23
19
  }
@@ -26,89 +22,105 @@ var m = {
26
22
  let e = t.fallback ?? this.defaultFallbackFont;
27
23
  return `'${t.name}', ${e}`;
28
24
  }
29
- return m[e.toLowerCase()] || e;
25
+ return h[e.toLowerCase()] || e;
30
26
  }
31
- }, g = {
27
+ }, _ = {
32
28
  "&": "&",
33
29
  "<": "&lt;",
34
30
  ">": "&gt;",
35
31
  "\"": "&quot;",
36
32
  "'": "&#039;"
37
- }, _ = /[&<>"']/g;
38
- function v(e) {
39
- return e === "" ? "" : e.replace(_, (e) => g[e] ?? e);
40
- }
33
+ }, v = /[&<>"']/g;
41
34
  function y(e) {
42
- return e === "" ? "" : e.replace(_, (e) => g[e] ?? e);
35
+ return e === "" ? "" : e.replace(v, (e) => _[e] ?? e);
43
36
  }
44
37
  function b(e) {
45
- return e === "" ? "" : y(e).replace(/[;{}\r\n]/g, "");
38
+ return e === "" ? "" : e.replace(v, (e) => _[e] ?? e);
46
39
  }
47
40
  function x(e) {
41
+ return e === "" ? "" : b(e).replace(/[;{}\r\n]/g, "");
42
+ }
43
+ function S(e) {
48
44
  if (e === "") return "";
49
45
  let t = e.replace(/<span[^>]*\bdata-merge-tag="([^"]*)"[^>]*>.*?<\/span>/gs, "$1");
50
46
  return t = t.replace(/<span[^>]*\bdata-logic-merge-tag="([^"]*)"[^>]*>.*?<\/span>/gs, "$1"), t;
51
47
  }
52
- function S(e) {
48
+ //#endregion
49
+ //#region ../renderer/src/padding.ts
50
+ function C(e) {
53
51
  return `${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`;
54
52
  }
55
- function C(e, t) {
53
+ //#endregion
54
+ //#region ../renderer/src/utils.ts
55
+ function w(e, t) {
56
56
  return e ? ` ${t === "native" ? "background-color" : "container-background-color"}="${e}"` : "";
57
57
  }
58
- function w(e) {
58
+ //#endregion
59
+ //#region ../renderer/src/visibility.ts
60
+ function T(e) {
59
61
  let t = e.visibility;
60
62
  return t ? !t.desktop && !t.tablet && !t.mobile : !1;
61
63
  }
62
- function T(e) {
63
- let t = E(e);
64
+ function E(e) {
65
+ let t = D(e);
64
66
  return t === "" ? "" : ` css-class="${t}"`;
65
67
  }
66
- function E(e) {
68
+ function D(e) {
67
69
  let t = e.visibility;
68
70
  if (!t) return "";
69
71
  let n = [];
70
72
  return t.desktop || n.push("tpl-hide-desktop"), t.tablet || n.push("tpl-hide-tablet"), t.mobile || n.push("tpl-hide-mobile"), n.join(" ");
71
73
  }
72
- function D(e, t) {
73
- if (w(e)) return "";
74
- let n = S(e.styles.padding), r = C(e.styles.backgroundColor, "container"), a = O(x(e.content)), o = i[e.level] ?? i[2], s = e.color, c = e.textAlign, l = k(e.fontFamily, t), u = T(e), d = `h${i[e.level] ? e.level : 2}`;
74
+ //#endregion
75
+ //#region ../renderer/src/renderers/title.ts
76
+ function O(e, t) {
77
+ if (T(e)) return "";
78
+ let n = C(e.styles.padding), r = w(e.styles.backgroundColor, "container"), i = k(S(e.content)), a = c[e.level] ?? c[2], o = e.color, s = e.textAlign, l = ee(e.fontFamily, t), u = E(e), d = `h${c[e.level] ? e.level : 2}`;
75
79
  return `<mj-text
76
- font-size="${o}px"
77
- color="${s}"
78
- align="${c}"
80
+ font-size="${a}px"
81
+ color="${o}"
82
+ align="${s}"
79
83
  line-height="1.3"
80
84
  padding="${n}"${r}${l}${u}
81
- ><${d} style="margin:0;font-size:inherit;color:inherit;line-height:inherit">${a}</${d}></mj-text>`;
85
+ ><${d} style="margin:0;font-size:inherit;color:inherit;line-height:inherit">${i}</${d}></mj-text>`;
82
86
  }
83
- function O(e) {
87
+ function k(e) {
84
88
  let t = e.match(/^\s*<p\b[^>]*>([\s\S]*)<\/p>\s*$/);
85
89
  return !t || /<\/p>\s*<p\b/i.test(t[1]) ? e : t[1];
86
90
  }
87
- function k(e, t) {
91
+ function ee(e, t) {
88
92
  return e ? ` font-family="${t.resolveFontFamily(e)}"` : "";
89
93
  }
90
- function A(e, t) {
91
- if (w(e) || e.content.replace(/<\/?p[^>]*>/gi, "").trim() === "") return "";
92
- let n = S(e.styles.padding), r = C(e.styles.backgroundColor, "container"), i = x(e.content);
94
+ //#endregion
95
+ //#region ../renderer/src/renderers/paragraph.ts
96
+ function te(e, t) {
97
+ if (T(e) || e.content.replace(/<\/?p[^>]*>/gi, "").trim() === "") return "";
98
+ let n = C(e.styles.padding), r = w(e.styles.backgroundColor, "container"), i = S(e.content);
93
99
  return `<mj-text
94
100
  line-height="1.5"
95
- padding="${n}"${r}${T(e)}
101
+ padding="${n}"${r}${E(e)}
96
102
  >${i}</mj-text>`;
97
103
  }
98
- function ee(e, t) {
99
- if (w(e) || e.src === "") return "";
100
- let n = S(e.styles.padding), r = C(e.styles.backgroundColor, "container"), i = e.width === "full" ? t.containerWidth + "px" : e.width + "px", a = T(e), o = "";
101
- return e.linkUrl && (o = ` href="${y(e.linkUrl)}"`, e.linkOpenInNewTab && (o += " target=\"_blank\" rel=\"noopener\"")), `<mj-image
102
- src="${y(e.src)}"
103
- alt="${y(e.alt)}"
104
+ //#endregion
105
+ //#region ../renderer/src/renderers/image.ts
106
+ function ne(e, t) {
107
+ if (T(e) || e.src === "") return "";
108
+ let n = C(e.styles.padding), r = w(e.styles.backgroundColor, "container"), i = e.width === "full" ? t.containerWidth + "px" : e.width + "px", a = E(e), o = "";
109
+ e.linkUrl && (o = ` href="${b(e.linkUrl)}"`, e.linkOpenInNewTab && (o += " target=\"_blank\" rel=\"noopener\""));
110
+ let s = b(e.src), c = e.decorative === !0;
111
+ return `<mj-image
112
+ src="${s}"
113
+ alt="${c ? "" : b(e.alt)}"
104
114
  width="${i}"
105
115
  align="${e.align}"
106
- padding="${n}"${r}${o}${a}
116
+ padding="${n}"${r}${o}${a}${c ? " role=\"presentation\"" : ""}
107
117
  />`;
108
118
  }
109
- function te(e, t) {
110
- if (w(e)) return "";
111
- let n = S(e.styles.padding), r = C(e.styles.backgroundColor, "container"), i = S(e.buttonPadding), a = e.url === "" ? "" : y(e.url), o = a === "" ? "" : ` href="${a}"`, s = y(e.backgroundColor), c = y(e.textColor), l = e.fontSize, u = e.borderRadius, d = v(e.text);
119
+ //#endregion
120
+ //#region ../renderer/src/renderers/button.ts
121
+ function re(e, t) {
122
+ if (T(e)) return "";
123
+ let n = C(e.styles.padding), r = w(e.styles.backgroundColor, "container"), i = C(e.buttonPadding), a = e.url === "" ? "" : b(e.url), o = a === "" ? "" : ` href="${a}"`, s = b(e.backgroundColor), c = b(e.textColor), l = e.fontSize, u = e.borderRadius, d = y(e.text);
112
124
  return `<mj-button${o}${e.openInNewTab ? " target=\"_blank\" rel=\"noopener\"" : ""}
113
125
  background-color="${s}"
114
126
  color="${c}"
@@ -116,34 +128,42 @@ function te(e, t) {
116
128
  font-weight="bold"
117
129
  border-radius="${u}px"
118
130
  inner-padding="${i}"
119
- padding="${n}"${r}${ne(e.fontFamily, t)}${T(e)}
131
+ padding="${n}"${r}${A(e.fontFamily, t)}${E(e)}
120
132
  >${d}</mj-button>`;
121
133
  }
122
- function ne(e, t) {
134
+ function A(e, t) {
123
135
  return e ? ` font-family="${t.resolveFontFamily(e)}"` : "";
124
136
  }
125
- function re(e, t) {
126
- if (w(e)) return "";
127
- let n = S(e.styles.padding), r = e.styles.backgroundColor ? ` container-background-color="${e.styles.backgroundColor}"` : "", i = e.width === "full" ? "100%" : e.width + "px";
137
+ //#endregion
138
+ //#region ../renderer/src/renderers/divider.ts
139
+ function j(e, t) {
140
+ if (T(e)) return "";
141
+ let n = C(e.styles.padding), r = e.styles.backgroundColor ? ` container-background-color="${e.styles.backgroundColor}"` : "", i = e.width === "full" ? "100%" : e.width + "px";
128
142
  return `<mj-divider
129
143
  border-width="${e.thickness}px"
130
144
  border-style="${e.lineStyle}"
131
145
  border-color="${e.color}"
132
146
  width="${i}"
133
- padding="${n}"${r}${T(e)}
147
+ padding="${n}"${r}${E(e)}
134
148
  />`;
135
149
  }
136
- function j(e, t) {
137
- return w(e) ? "" : `<mj-spacer height="${e.height}px" padding="0"${e.styles.backgroundColor ? ` container-background-color="${e.styles.backgroundColor}"` : ""}${T(e)} />`;
138
- }
150
+ //#endregion
151
+ //#region ../renderer/src/renderers/spacer.ts
139
152
  function M(e, t) {
140
- if (w(e) || !t.allowHtmlBlocks) return "";
153
+ return T(e) ? "" : `<mj-spacer height="${e.height}px" padding="0"${e.styles.backgroundColor ? ` container-background-color="${e.styles.backgroundColor}"` : ""}${E(e)} />`;
154
+ }
155
+ //#endregion
156
+ //#region ../renderer/src/renderers/html.ts
157
+ function N(e, t) {
158
+ if (T(e) || !t.allowHtmlBlocks) return "";
141
159
  let n = e.content;
142
- return n === "" ? "" : `<mj-text${T(e)}>
160
+ return n === "" ? "" : `<mj-text${E(e)}>
143
161
  ${n}
144
162
  </mj-text>`;
145
163
  }
146
- var N = {
164
+ //#endregion
165
+ //#region ../renderer/src/social-icons.ts
166
+ var P = {
147
167
  facebook: {
148
168
  path: "M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z",
149
169
  color: "#1877F2"
@@ -209,8 +229,8 @@ var N = {
209
229
  color: "#1769FF"
210
230
  }
211
231
  };
212
- function P(e, t, n) {
213
- let r = N[e], i = r?.path ?? "", a = r?.color ?? "#6B7280";
232
+ function F(e, t, n) {
233
+ let r = P[e], i = r?.path ?? "", a = r?.color ?? "#6B7280";
214
234
  if (i === "") return "";
215
235
  let o = t === "outlined" ? a : "#ffffff", s;
216
236
  switch (t) {
@@ -233,11 +253,13 @@ function P(e, t, n) {
233
253
  let c = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="${n}" height="${n}">` + s + `<g transform="translate(4.8, 4.8) scale(0.6)"><path d="${i}" fill="${o}"/></g></svg>`;
234
254
  return "data:image/svg+xml;base64," + btoa(c);
235
255
  }
236
- function F(e, t) {
237
- if (w(e)) return "";
256
+ //#endregion
257
+ //#region ../renderer/src/renderers/social.ts
258
+ function I(e, t) {
259
+ if (T(e)) return "";
238
260
  let n = e.icons;
239
261
  if (n.length === 0) return "";
240
- let r = S(e.styles.padding), i = e.styles.backgroundColor ? ` container-background-color="${e.styles.backgroundColor}"` : "", a = T(e), o = e.align, s = e.iconSize, c = e.iconStyle, l = e.spacing, u;
262
+ let r = C(e.styles.padding), i = e.styles.backgroundColor ? ` container-background-color="${e.styles.backgroundColor}"` : "", a = E(e), o = e.align, s = e.iconSize, c = e.iconStyle, l = e.spacing, u;
241
263
  switch (s) {
242
264
  case "small":
243
265
  u = 24;
@@ -272,76 +294,84 @@ function F(e, t) {
272
294
  padding="${r}"${i}${a}
273
295
  >
274
296
  ${n.map((e, t) => {
275
- let n = e.platform, r = y(e.url), i = P(n, c, u), a = t === f - 1 ? 0 : l;
297
+ let n = e.platform, r = b(e.url), i = F(n, c, u), a = t === f - 1 ? 0 : l;
276
298
  return `<mj-social-element src="${i}" href="${r}" icon-size="${u}px" padding="0 ${a}px 0 0" border-radius="${d}" background-color="transparent"></mj-social-element>`;
277
299
  }).join("\n")}
278
300
  </mj-social>`;
279
301
  }
280
- function I(e, t) {
281
- if (w(e) || e.items.length === 0) return "";
282
- let n = S(e.styles.padding), r = C(e.styles.backgroundColor, "container"), i = T(e), a = z(e.fontFamily, t);
302
+ //#endregion
303
+ //#region ../renderer/src/renderers/menu.ts
304
+ function L(e, t) {
305
+ if (T(e) || e.items.length === 0) return "";
306
+ let n = C(e.styles.padding), r = w(e.styles.backgroundColor, "container"), i = E(e), a = B(e.fontFamily, t);
283
307
  return `<mj-text
284
308
  font-size="${e.fontSize}px"
285
309
  color="${e.color}"
286
310
  align="${e.textAlign}"
287
311
  line-height="1.5"
288
312
  padding="${n}"${r}${a}${i}
289
- >${L(e)}</mj-text>`;
313
+ >${R(e)}</mj-text>`;
290
314
  }
291
- function L(e) {
292
- let t = e.items, n = v(e.separator), r = b(e.separatorColor), i = e.spacing, a = e.linkColor ?? e.color, o = [], s = t.length;
293
- for (let e = 0; e < s; e++) o.push(R(t[e], a)), e < s - 1 && o.push(`<span style="color: ${r}; padding: 0 ${i}px;">${n}</span>`);
315
+ function R(e) {
316
+ let t = e.items, n = y(e.separator), r = x(e.separatorColor), i = e.spacing, a = e.linkColor ?? e.color, o = [], s = t.length;
317
+ for (let e = 0; e < s; e++) o.push(z(t[e], a)), e < s - 1 && o.push(`<span style="color: ${r}; padding: 0 ${i}px;">${n}</span>`);
294
318
  return o.join("");
295
319
  }
296
- function R(e, t) {
297
- let n = v(e.text), r = y(e.url), i = b(e.color ?? t), a = e.openInNewTab ? " target=\"_blank\" rel=\"noopener\"" : "", o = [`color: ${i}`, "text-decoration: none"];
320
+ function z(e, t) {
321
+ let n = y(e.text), r = b(e.url), i = x(e.color ?? t), a = e.openInNewTab ? " target=\"_blank\" rel=\"noopener\"" : "", o = [`color: ${i}`, "text-decoration: none"];
298
322
  return e.bold && o.push("font-weight: bold"), e.underline && o.push("text-decoration: underline"), `<a href="${r}" style="${o.join("; ")}"${a}>${n}</a>`;
299
323
  }
300
- function z(e, t) {
324
+ function B(e, t) {
301
325
  return e ? ` font-family="${t.resolveFontFamily(e)}"` : "";
302
326
  }
303
- function B(e, t) {
304
- if (w(e) || e.rows.length === 0) return "";
305
- let n = S(e.styles.padding), r = C(e.styles.backgroundColor, "container"), i = T(e), a = W(e.fontFamily, t);
327
+ //#endregion
328
+ //#region ../renderer/src/renderers/table.ts
329
+ function V(e, t) {
330
+ if (T(e) || e.rows.length === 0) return "";
331
+ let n = C(e.styles.padding), r = w(e.styles.backgroundColor, "container"), i = E(e), a = G(e.fontFamily, t);
306
332
  return `<mj-text
307
333
  font-size="${e.fontSize}px"
308
334
  color="${e.color}"
309
335
  align="${e.textAlign}"
310
336
  line-height="1.5"
311
337
  padding="${n}"${r}${a}${i}
312
- >${V(e)}</mj-text>`;
338
+ >${H(e)}</mj-text>`;
313
339
  }
314
- function V(e) {
315
- let t = b(e.borderColor), n = e.borderWidth, r = "";
340
+ function H(e) {
341
+ let t = x(e.borderColor), n = e.borderWidth, r = "";
316
342
  for (let i = 0; i < e.rows.length; i++) {
317
343
  let a = e.rows[i];
318
- r += H(a, e, e.hasHeaderRow && i === 0, t, n);
344
+ r += U(a, e, e.hasHeaderRow && i === 0, t, n);
319
345
  }
320
346
  return `<table style="width: 100%; border-collapse: collapse;">${r}</table>`;
321
347
  }
322
- function H(e, t, n, r, i) {
348
+ function U(e, t, n, r, i) {
323
349
  let a = "";
324
- for (let o of e.cells) a += U(o, t, n, r, i);
350
+ for (let o of e.cells) a += W(o, t, n, r, i);
325
351
  return `<tr>${a}</tr>`;
326
352
  }
327
- function U(e, t, n, r, i) {
353
+ function W(e, t, n, r, i) {
328
354
  let a = t.cellPadding, o = [`border: ${i}px solid ${r}`, `padding: ${a}px`];
329
- n && (o.push("font-weight: bold"), t.headerBackgroundColor && o.push(`background-color: ${b(t.headerBackgroundColor)}`));
330
- let s = o.join("; "), c = x(e.content), l = n ? "th" : "td";
355
+ n && (o.push("font-weight: bold"), t.headerBackgroundColor && o.push(`background-color: ${x(t.headerBackgroundColor)}`));
356
+ let s = o.join("; "), c = S(e.content), l = n ? "th" : "td";
331
357
  return `<${l} style="${s}">${c}</${l}>`;
332
358
  }
333
- function W(e, t) {
359
+ function G(e, t) {
334
360
  return e ? ` font-family="${t.resolveFontFamily(e)}"` : "";
335
361
  }
336
- function G(e, t) {
337
- if (w(e)) return "";
362
+ //#endregion
363
+ //#region ../renderer/src/renderers/custom.ts
364
+ function ie(e, t) {
365
+ if (T(e)) return "";
338
366
  let n = t.customBlockHtml.get(e.id) ?? e.renderedHtml;
339
367
  if (!n || n === "") return "";
340
- let r = T(e);
341
- return `<mj-text${C(e.styles?.backgroundColor, "container")}${r}>
368
+ let r = E(e);
369
+ return `<mj-text${w(e.styles?.backgroundColor, "container")}${r}>
342
370
  ${n}
343
371
  </mj-text>`;
344
372
  }
373
+ //#endregion
374
+ //#region ../renderer/src/columns.ts
345
375
  function K(e) {
346
376
  switch (e) {
347
377
  case "2": return ["50%", "50%"];
@@ -368,23 +398,27 @@ function q(e, t) {
368
398
  default: return [t];
369
399
  }
370
400
  }
401
+ //#endregion
402
+ //#region ../renderer/src/renderers/section.ts
371
403
  function J(e, t, n) {
372
- if (w(e)) return "";
373
- let i = e.columns, a = K(i), o = q(i, t.containerWidth), s = S(e.styles.padding), c = C(e.styles.backgroundColor, "native"), l = T(e), u = e.children, d = [];
404
+ if (T(e)) return "";
405
+ let r = e.columns, i = K(r), a = q(r, t.containerWidth), o = C(e.styles.padding), c = w(e.styles.backgroundColor, "native"), l = E(e), u = e.children, d = [];
374
406
  for (let e = 0; e < u.length; e++) {
375
- let i = u[e], s = a[e] ?? "100%", c = Math.floor(o[e] ?? t.containerWidth), l = Y(i, t.allowHtmlBlocks).filter((e) => !r(e)), f = t.withContainerWidth(c), p = l.map((e) => n(e, f)).filter((e) => e !== "").join("\n");
376
- d.push(`<mj-column width="${s}">
407
+ let r = u[e], o = i[e] ?? "100%", c = Math.floor(a[e] ?? t.containerWidth), l = Y(r, t.allowHtmlBlocks).filter((e) => !s(e)), f = t.withContainerWidth(c), p = l.map((e) => n(e, f)).filter((e) => e !== "").join("\n");
408
+ d.push(`<mj-column width="${o}">
377
409
  ${p === "" ? "<mj-text>&nbsp;</mj-text>" : p}
378
410
  </mj-column>`);
379
411
  }
380
- return `<mj-section${c} padding="${s}"${l}>
412
+ return `<mj-section${c} padding="${o}"${l}>
381
413
  ${d.join("\n")}
382
414
  </mj-section>`;
383
415
  }
384
416
  function Y(e, t) {
385
417
  return t ? e : e.filter((e) => e.type !== "html");
386
418
  }
387
- function ie(e, t) {
419
+ //#endregion
420
+ //#region ../renderer/src/renderers/video.ts
421
+ function ae(e, t) {
388
422
  if (t) return t;
389
423
  if (!e) return null;
390
424
  for (let t of [/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/)([a-zA-Z0-9_-]{11})/, /youtube\.com\/shorts\/([a-zA-Z0-9_-]{11})/]) {
@@ -394,29 +428,49 @@ function ie(e, t) {
394
428
  let n = e.match(/vimeo\.com\/(?:video\/)?(\d+)/);
395
429
  return n ? `https://vumbnail.com/${n[1]}.jpg` : null;
396
430
  }
397
- function ae(e, t) {
398
- if (w(e)) return "";
399
- let n = ie(e.url, e.thumbnailUrl);
431
+ function oe(e, t) {
432
+ if (T(e)) return "";
433
+ let n = ae(e.url, e.thumbnailUrl);
400
434
  if (!n) return "";
401
- let r = S(e.styles.padding), i = C(e.styles.backgroundColor, "container"), a = e.width === "full" ? t.containerWidth + "px" : e.width + "px", o = T(e);
435
+ let r = C(e.styles.padding), i = w(e.styles.backgroundColor, "container"), a = e.width === "full" ? t.containerWidth + "px" : e.width + "px", o = E(e);
402
436
  return `<mj-image
403
- src="${y(n)}"
404
- alt="${y(e.alt)}"
437
+ src="${b(n)}"
438
+ alt="${b(e.alt)}"
405
439
  width="${a}"
406
440
  align="${e.align}"
407
441
  padding="${r}"
408
- href="${y(e.url)}"
442
+ href="${b(e.url)}"
409
443
  target="_blank"
410
444
  rel="noopener"${i}${o}
411
445
  />`;
412
446
  }
413
- function X(i, m) {
414
- return r(i) ? J(i, m, X) : e(i) ? D(i, m) : s(i) ? A(i, m) : t(i) ? ee(i, m) : p(i) ? te(i, m) : f(i) ? re(i, m) : a(i) ? j(i, m) : o(i) ? M(i, m) : n(i) ? F(i, m) : d(i) ? I(i, m) : u(i) ? B(i, m) : l(i) ? ae(i, m) : c(i) ? G(i, m) : "";
447
+ //#endregion
448
+ //#region ../renderer/src/renderers/index.ts
449
+ function X(e, c) {
450
+ return s(e) ? J(e, c, X) : a(e) ? O(e, c) : r(e) ? te(e, c) : u(e) ? ne(e, c) : m(e) ? re(e, c) : n(e) ? j(e, c) : t(e) ? M(e, c) : p(e) ? N(e, c) : f(e) ? I(e, c) : i(e) ? L(e, c) : d(e) ? V(e, c) : o(e) ? oe(e, c) : l(e) ? ie(e, c) : "";
415
451
  }
416
- async function oe(e, t) {
417
- let n = t?.customFonts ?? [], r = t?.defaultFallbackFont ?? "Arial, sans-serif", i = t?.allowHtmlBlocks ?? !0, a = await de(e, t?.renderCustomBlock), o = new h(e.settings.width, n, r, i, a), s = Q(e.blocks, i), c = o.resolveFontFamily(e.settings.fontFamily), l = e.settings.backgroundColor, u = s.map((e) => se(e, o)).filter((e) => e !== "").join("\n"), d = ue(n);
418
- return `<mjml>
419
- <mj-head>${le(e.settings.preheaderText)}
452
+ //#endregion
453
+ //#region ../renderer/src/index.ts
454
+ var se = /* @__PURE__ */ e({
455
+ RenderContext: () => g,
456
+ SOCIAL_ICONS: () => P,
457
+ convertMergeTagsToValues: () => S,
458
+ escapeAttr: () => b,
459
+ escapeHtml: () => y,
460
+ generateSocialIconDataUri: () => F,
461
+ getCssClassAttr: () => E,
462
+ getCssClasses: () => D,
463
+ getWidthPercentages: () => K,
464
+ getWidthPixels: () => q,
465
+ isHiddenOnAll: () => T,
466
+ renderBlock: () => X,
467
+ renderToMjml: () => ce,
468
+ toPaddingString: () => C
469
+ });
470
+ async function ce(e, t) {
471
+ let n = t?.customFonts ?? [], r = t?.defaultFallbackFont ?? "Arial, sans-serif", i = t?.allowHtmlBlocks ?? !0, a = await pe(e, t?.renderCustomBlock), o = new g(e.settings.width, n, r, i, a), s = fe(e.blocks, i), c = o.resolveFontFamily(e.settings.fontFamily), l = e.settings.backgroundColor, u = s.map((e) => Z(e, o)).filter((e) => e !== "").join("\n"), d = de(n), f = ue(e.settings.preheaderText);
472
+ return `<mjml lang="${b(e.settings.locale)}">
473
+ <mj-head>${f}
420
474
  <mj-attributes>
421
475
  <mj-all font-family="${c}" />
422
476
  <mj-text font-size="14px" />
@@ -442,37 +496,35 @@ ${u}
442
496
  </mj-body>
443
497
  </mjml>`;
444
498
  }
445
- function se(e, t) {
446
- return r(e) ? Z(e, X(e, t)) : Z(e, ce(X(e, t)));
447
- }
448
499
  function Z(e, t) {
500
+ return s(e) ? Q(e, X(e, t)) : Q(e, le(X(e, t)));
501
+ }
502
+ function Q(e, t) {
449
503
  if (t === "") return "";
450
504
  let n = e.displayCondition;
451
505
  return n ? `<mj-raw>${n.before}</mj-raw>
452
506
  ` + t + `
453
507
  <mj-raw>${n.after}</mj-raw>` : t;
454
508
  }
455
- function ce(e) {
509
+ function le(e) {
456
510
  return e === "" ? "" : `<mj-section>
457
511
  <mj-column>
458
512
  ${e}
459
513
  </mj-column>
460
514
  </mj-section>`;
461
515
  }
462
- function le(e) {
516
+ function ue(e) {
463
517
  if (!e) return "";
464
518
  let t = e.trim();
465
- return t === "" ? "" : `
466
- <mj-preview>${v(t)}</mj-preview>`;
519
+ return t === "" ? "" : `\n <mj-preview>${y(t)}</mj-preview>`;
467
520
  }
468
- function ue(e) {
469
- return e.length === 0 ? "" : e.map((e) => `
470
- <mj-font name="${y(e.name)}" href="${y(e.url)}" />`).join("");
521
+ function de(e) {
522
+ return e.length === 0 ? "" : e.map((e) => `\n <mj-font name="${b(e.name)}" href="${b(e.url)}" />`).join("");
471
523
  }
472
- function Q(e, t) {
524
+ function fe(e, t) {
473
525
  return t ? e : e.filter((e) => e.type !== "html");
474
526
  }
475
- async function de(e, t) {
527
+ async function pe(e, t) {
476
528
  let n = /* @__PURE__ */ new Map();
477
529
  if (!t) return n;
478
530
  let r = [];
@@ -483,14 +535,14 @@ async function de(e, t) {
483
535
  }
484
536
  function $(e, t) {
485
537
  for (let n of e) {
486
- if (c(n)) {
538
+ if (l(n)) {
487
539
  t.push(n);
488
540
  continue;
489
541
  }
490
- if (r(n)) for (let e of n.children) $(e, t);
542
+ if (s(n)) for (let e of n.children) $(e, t);
491
543
  }
492
544
  }
493
545
  //#endregion
494
- export { h as RenderContext, N as SOCIAL_ICONS, x as convertMergeTagsToValues, y as escapeAttr, v as escapeHtml, P as generateSocialIconDataUri, T as getCssClassAttr, E as getCssClasses, K as getWidthPercentages, q as getWidthPixels, w as isHiddenOnAll, X as renderBlock, oe as renderToMjml, S as toPaddingString };
546
+ export { se as t };
495
547
 
496
- //# sourceMappingURL=dist-MGrg9tLo.js.map
548
+ //# sourceMappingURL=renderer-DM2gdPmx.js.map