@templatical/editor 0.45.0 → 0.47.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 (309) hide show
  1. package/dist/{AiChatSidebar-BlFWWhBv.js → AiChatSidebar-BPOv5Ra8.js} +14 -14
  2. package/dist/{AiFeatureMenu-CvWygUmC.js → AiFeatureMenu-H_WT4YR8.js} +7 -7
  3. package/dist/{BlockIssueBadge-CZA1XvAh.js → BlockIssueBadge-AgO5abEB.js} +5 -5
  4. package/dist/BlockPreviewCanvas-CZDBSPoG.js +136 -0
  5. package/dist/{CloudHeaderExtras-BzM1QU1r.js → CloudHeaderExtras-gXsTYoGG.js} +5 -5
  6. package/dist/{CloudPanels-d36YXXyn.js → CloudPanels-H_GdbOfZ.js} +9 -9
  7. package/dist/{CollaboratorBar-rwXe_Qd2.js → CollaboratorBar-BazGNMqN.js} +4 -4
  8. package/dist/{CommentsPanel-Bn6P5crU.js → CommentsPanel-CMgsG_yh.js} +2 -2
  9. package/dist/{CommentsSidebar-B8wT932T.js → CommentsSidebar-DCh8DTP8.js} +14 -14
  10. package/dist/CountdownBlock-zx39Dyby.js +92 -0
  11. package/dist/{CountdownToolbar-lbjCc8ik.js → CountdownToolbar-DVuucA3v.js} +7 -7
  12. package/dist/{DesignReferenceSidebar-zlJQsP0X.js → DesignReferenceSidebar-DxNV4lQp.js} +12 -12
  13. package/dist/{IssuesPanel-CHx3m8SP.js → IssuesPanel-CUpW54P4.js} +8 -8
  14. package/dist/{LoadingTrack-DROqNuuD.js → LoadingTrack-6XsqodoY.js} +1 -1
  15. package/dist/{LogicTagInsertButton-BvftbkL4.js → LogicTagInsertButton-DDYKnqmj.js} +22 -22
  16. package/dist/{MediaEditModal-EY1YYcpw.js → MediaEditModal-D_we0Scr.js} +4 -4
  17. package/dist/{MediaPanels-CRVFGFZW.js → MediaPanels-L95BwWV1.js} +2 -2
  18. package/dist/{MergeTagInput-CR1kcj8X.js → MergeTagInput-DAL998tx.js} +3 -3
  19. package/dist/{MergeTagModeToggle-DssKrVYb.js → MergeTagModeToggle-CjHO26rb.js} +7 -7
  20. package/dist/{ParagraphEditor-DFizsZRc.js → ParagraphEditor-CcEN1N6n.js} +165 -150
  21. package/dist/{RestoreVersionDialog-Cp3q2mU4.js → RestoreVersionDialog-B2OH5rgs.js} +6 -6
  22. package/dist/{RichTextEditorContent-Cj3oaPMk.js → RichTextEditorContent-BGeTg-QL.js} +12 -12
  23. package/dist/{SaveBlockDialog-BR8vW_XF.js → SaveBlockDialog-CCVyU-7y.js} +13 -13
  24. package/dist/{SavedBlocksBrowserModal-DmwbmKxI.js → SavedBlocksBrowserModal-_WmSeqIh.js} +14 -14
  25. package/dist/{SavedBlocksPanels-D4XKrs-a.js → SavedBlocksPanels-DVX_ruQ7.js} +2 -2
  26. package/dist/{SavedBlocksPickBar-gfc-o5sR.js → SavedBlocksPickBar-DVJC28hP.js} +5 -5
  27. package/dist/{TemplateScoringPanel-3lHzuCl0.js → TemplateScoringPanel-U0QFiwdI.js} +16 -16
  28. package/dist/{TemplateSettings-D7aNrd0d.js → TemplateSettings-CdhTm9JQ.js} +12 -12
  29. package/dist/{TestEmailModal-DUmtcSm-.js → TestEmailModal-BqToA_ls.js} +14 -14
  30. package/dist/{TestEmailPanel-s9gISTI8.js → TestEmailPanel-Cn4Ptq0j.js} +2 -2
  31. package/dist/{TitleEditor-C-uHqtml.js → TitleEditor-CZdqeltH.js} +13 -13
  32. package/dist/{ToggleSwitch-CTwwCIVA.js → ToggleSwitch-BR8Sgzib.js} +2 -2
  33. package/dist/{Toolbar-CLpA36RO.js → Toolbar-OGakTBEg.js} +748 -629
  34. package/dist/{TplModal-D6XtxusQ.js → TplModal-CoczSDma.js} +6 -6
  35. package/dist/{VersionHistoryMenu-D7zaTMrb.js → VersionHistoryMenu-DY5z5FZr.js} +10 -10
  36. package/dist/{VersionHistoryPanels-Dvowtt7V.js → VersionHistoryPanels-DowHeDAQ.js} +2 -2
  37. package/dist/{VersionPreviewBanner-BUKb9gc6.js → VersionPreviewBanner-Bo8NxBbh.js} +4 -4
  38. package/dist/WrapperBlock-BOABSX9W.js +46 -0
  39. package/dist/{blockTypeIcons-D3aj5u_5.js → blockTypeIcons-4E1U8f99.js} +5 -5
  40. package/dist/bundle-stats.json +6 -6
  41. package/dist/{ca-C__Dzq--.js → ca-DMoGGP9L.js} +21 -0
  42. package/dist/cdn/chunks/{AiChatSidebar-SRGBP-SL.js → AiChatSidebar-B72rI0be.js} +12 -12
  43. package/dist/cdn/chunks/{AiChatSidebar-SRGBP-SL.js.map → AiChatSidebar-B72rI0be.js.map} +1 -1
  44. package/dist/cdn/chunks/{AiFeatureMenu-oZhlgsGh.js → AiFeatureMenu-BqSG9iEd.js} +6 -6
  45. package/dist/cdn/chunks/{AiFeatureMenu-oZhlgsGh.js.map → AiFeatureMenu-BqSG9iEd.js.map} +1 -1
  46. package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js → BlockIssueBadge-CS7ytN-z.js} +5 -5
  47. package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js.map → BlockIssueBadge-CS7ytN-z.js.map} +1 -1
  48. package/dist/cdn/chunks/BlockPreviewCanvas-cOTMFRcg.js +138 -0
  49. package/dist/cdn/chunks/BlockPreviewCanvas-cOTMFRcg.js.map +1 -0
  50. package/dist/cdn/chunks/{CloudHeaderExtras-t-_ZlHwn.js → CloudHeaderExtras-DJXLTUHc.js} +5 -5
  51. package/dist/cdn/chunks/{CloudHeaderExtras-t-_ZlHwn.js.map → CloudHeaderExtras-DJXLTUHc.js.map} +1 -1
  52. package/dist/cdn/chunks/{CloudPanels-DR2eEcpX.js → CloudPanels-D1fPLjG8.js} +8 -8
  53. package/dist/cdn/chunks/{CloudPanels-DR2eEcpX.js.map → CloudPanels-D1fPLjG8.js.map} +1 -1
  54. package/dist/cdn/chunks/{CollaboratorBar-w8_2WPE0.js → CollaboratorBar-MeRQB1eN.js} +5 -5
  55. package/dist/cdn/chunks/{CollaboratorBar-w8_2WPE0.js.map → CollaboratorBar-MeRQB1eN.js.map} +1 -1
  56. package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js → CommentsPanel-CmxPylNf.js} +3 -3
  57. package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js.map → CommentsPanel-CmxPylNf.js.map} +1 -1
  58. package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js → CommentsSidebar-CrleQTbo.js} +13 -13
  59. package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js.map → CommentsSidebar-CrleQTbo.js.map} +1 -1
  60. package/dist/cdn/chunks/CountdownBlock-Dasj191h.js +94 -0
  61. package/dist/cdn/chunks/CountdownBlock-Dasj191h.js.map +1 -0
  62. package/dist/cdn/chunks/{CountdownToolbar-CvNuDR5Z.js → CountdownToolbar-DPIOtlN0.js} +8 -8
  63. package/dist/cdn/chunks/{CountdownToolbar-CvNuDR5Z.js.map → CountdownToolbar-DPIOtlN0.js.map} +1 -1
  64. package/dist/cdn/chunks/{DesignReferenceSidebar-CJg_5GXU.js → DesignReferenceSidebar-BgTNqgCy.js} +8 -8
  65. package/dist/cdn/chunks/{DesignReferenceSidebar-CJg_5GXU.js.map → DesignReferenceSidebar-BgTNqgCy.js.map} +1 -1
  66. package/dist/cdn/chunks/{IssuesPanel-DXqlRk19.js → IssuesPanel-BGjLcNpQ.js} +6 -6
  67. package/dist/cdn/chunks/{IssuesPanel-DXqlRk19.js.map → IssuesPanel-BGjLcNpQ.js.map} +1 -1
  68. package/dist/cdn/chunks/{LoadingTrack-Cg1HRIND.js → LoadingTrack-DbH97JR9.js} +2 -2
  69. package/dist/cdn/chunks/{LoadingTrack-Cg1HRIND.js.map → LoadingTrack-DbH97JR9.js.map} +1 -1
  70. package/dist/cdn/chunks/{LogicTagInsertButton-DnHghQHb.js → LogicTagInsertButton-BEsqPhMr.js} +11 -11
  71. package/dist/cdn/chunks/{LogicTagInsertButton-DnHghQHb.js.map → LogicTagInsertButton-BEsqPhMr.js.map} +1 -1
  72. package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js → MediaEditModal-C1Ao0i2c.js} +4 -4
  73. package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js.map → MediaEditModal-C1Ao0i2c.js.map} +1 -1
  74. package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js → MediaPanels-1GPYiZZ0.js} +3 -3
  75. package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js.map → MediaPanels-1GPYiZZ0.js.map} +1 -1
  76. package/dist/cdn/chunks/{MergeTagInput-heTX9P_k.js → MergeTagInput-Dy13_OLc.js} +4 -4
  77. package/dist/cdn/chunks/{MergeTagInput-heTX9P_k.js.map → MergeTagInput-Dy13_OLc.js.map} +1 -1
  78. package/dist/cdn/chunks/{MergeTagModeToggle-C9EfuZIP.js → MergeTagModeToggle-B2CPZOeF.js} +6 -6
  79. package/dist/cdn/chunks/{MergeTagModeToggle-C9EfuZIP.js.map → MergeTagModeToggle-B2CPZOeF.js.map} +1 -1
  80. package/dist/cdn/chunks/{ParagraphEditor-B5DN4Sy4.js → ParagraphEditor-BGLIw7kg.js} +91 -76
  81. package/dist/cdn/chunks/ParagraphEditor-BGLIw7kg.js.map +1 -0
  82. package/dist/cdn/chunks/{RestoreVersionDialog-DBgJ-Nui.js → RestoreVersionDialog-BhykE8En.js} +8 -8
  83. package/dist/cdn/chunks/{RestoreVersionDialog-DBgJ-Nui.js.map → RestoreVersionDialog-BhykE8En.js.map} +1 -1
  84. package/dist/cdn/chunks/{RichTextEditorContent-LOas4rfU.js → RichTextEditorContent-B-txUvPL.js} +11 -11
  85. package/dist/cdn/chunks/{RichTextEditorContent-LOas4rfU.js.map → RichTextEditorContent-B-txUvPL.js.map} +1 -1
  86. package/dist/cdn/chunks/{SaveBlockDialog-Dx-QVQCX.js → SaveBlockDialog-BHqEp7jw.js} +40 -40
  87. package/dist/cdn/chunks/{SaveBlockDialog-Dx-QVQCX.js.map → SaveBlockDialog-BHqEp7jw.js.map} +1 -1
  88. package/dist/cdn/chunks/{SavedBlocksBrowserModal-C2RQ-JCc.js → SavedBlocksBrowserModal-BhR6AI0f.js} +10 -10
  89. package/dist/cdn/chunks/{SavedBlocksBrowserModal-C2RQ-JCc.js.map → SavedBlocksBrowserModal-BhR6AI0f.js.map} +1 -1
  90. package/dist/cdn/chunks/{SavedBlocksPanels-BmRbvqqL.js → SavedBlocksPanels-YwffJtfY.js} +3 -3
  91. package/dist/cdn/chunks/{SavedBlocksPanels-BmRbvqqL.js.map → SavedBlocksPanels-YwffJtfY.js.map} +1 -1
  92. package/dist/cdn/chunks/{SavedBlocksPickBar-BzwKojoJ.js → SavedBlocksPickBar-BtpFU7es.js} +6 -6
  93. package/dist/cdn/chunks/{SavedBlocksPickBar-BzwKojoJ.js.map → SavedBlocksPickBar-BtpFU7es.js.map} +1 -1
  94. package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js → TemplateScoringPanel-N4ySFh5w.js} +12 -12
  95. package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js.map → TemplateScoringPanel-N4ySFh5w.js.map} +1 -1
  96. package/dist/cdn/chunks/{TemplateSettings-G-yV7C1C.js → TemplateSettings-C7b5X34U.js} +13 -13
  97. package/dist/cdn/chunks/TemplateSettings-C7b5X34U.js.map +1 -0
  98. package/dist/cdn/chunks/{TestEmailModal-lOeztfTN.js → TestEmailModal-DHJKI5y5.js} +11 -11
  99. package/dist/cdn/chunks/{TestEmailModal-lOeztfTN.js.map → TestEmailModal-DHJKI5y5.js.map} +1 -1
  100. package/dist/cdn/chunks/{TestEmailPanel-CZswVkk_.js → TestEmailPanel-lYtzTXpR.js} +3 -3
  101. package/dist/cdn/chunks/{TestEmailPanel-CZswVkk_.js.map → TestEmailPanel-lYtzTXpR.js.map} +1 -1
  102. package/dist/cdn/chunks/{TitleEditor-CnTT2Y3H.js → TitleEditor-5eY01ypW.js} +15 -15
  103. package/dist/cdn/chunks/{TitleEditor-CnTT2Y3H.js.map → TitleEditor-5eY01ypW.js.map} +1 -1
  104. package/dist/cdn/chunks/{ToggleSwitch-CLHteVMO.js → ToggleSwitch-BN8rMC2m.js} +3 -3
  105. package/dist/cdn/chunks/{ToggleSwitch-CLHteVMO.js.map → ToggleSwitch-BN8rMC2m.js.map} +1 -1
  106. package/dist/cdn/chunks/{Toolbar-K4tIkpG1.js → Toolbar-Ik54UO_-.js} +696 -575
  107. package/dist/cdn/chunks/Toolbar-Ik54UO_-.js.map +1 -0
  108. package/dist/cdn/chunks/{TplModal-OOT36AjS.js → TplModal-WIBiBrGy.js} +6 -6
  109. package/dist/cdn/chunks/TplModal-WIBiBrGy.js.map +1 -0
  110. package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js → VersionHistoryMenu-CZnlS9K5.js} +6 -6
  111. package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js.map → VersionHistoryMenu-CZnlS9K5.js.map} +1 -1
  112. package/dist/cdn/chunks/{VersionHistoryPanels-BrpYRSfW.js → VersionHistoryPanels-xjLSpR1e.js} +3 -3
  113. package/dist/cdn/chunks/{VersionHistoryPanels-BrpYRSfW.js.map → VersionHistoryPanels-xjLSpR1e.js.map} +1 -1
  114. package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js → VersionPreviewBanner-sARpn4hh.js} +5 -5
  115. package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js.map → VersionPreviewBanner-sARpn4hh.js.map} +1 -1
  116. package/dist/cdn/chunks/WrapperBlock-fsLe7goL.js +48 -0
  117. package/dist/cdn/chunks/WrapperBlock-fsLe7goL.js.map +1 -0
  118. package/dist/cdn/chunks/{blockTypeIcons-DdZP-3FM.js → blockTypeIcons-D3g5QzdT.js} +2 -2
  119. package/dist/cdn/chunks/{blockTypeIcons-DdZP-3FM.js.map → blockTypeIcons-D3g5QzdT.js.map} +1 -1
  120. package/dist/cdn/chunks/{ca-C__Dzq--.js → ca-DMoGGP9L.js} +22 -1
  121. package/dist/cdn/chunks/ca-DMoGGP9L.js.map +1 -0
  122. package/dist/cdn/chunks/{cloud-bhW8qTnh.js → cloud-Cd7ptfhL.js} +3 -3
  123. package/dist/cdn/chunks/{cloud-bhW8qTnh.js.map → cloud-Cd7ptfhL.js.map} +1 -1
  124. package/dist/cdn/chunks/{createCloudRuntime-CeRJkLR2.js → createCloudRuntime-DtIZ2Lee.js} +17 -8
  125. package/dist/cdn/chunks/createCloudRuntime-DtIZ2Lee.js.map +1 -0
  126. package/dist/cdn/chunks/{de-CGjbQ2mt.js → de-DgAelLbM.js} +22 -1
  127. package/dist/cdn/chunks/de-DgAelLbM.js.map +1 -0
  128. package/dist/cdn/chunks/{dist-B7W-Lb65.js → dist-CjL6JHML.js} +3 -3
  129. package/dist/cdn/chunks/{dist-B7W-Lb65.js.map → dist-CjL6JHML.js.map} +1 -1
  130. package/dist/cdn/chunks/{dist-C5nRd_ua.js → dist-MNQYSEWU.js} +4 -4
  131. package/dist/cdn/chunks/{dist-C5nRd_ua.js.map → dist-MNQYSEWU.js.map} +1 -1
  132. package/dist/cdn/chunks/{draggable-BUTN5vZC.js → draggable-DrsNwZuB.js} +1673 -1595
  133. package/dist/cdn/chunks/draggable-DrsNwZuB.js.map +1 -0
  134. package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js → editor-modal-Bcwo0orC.js} +34 -34
  135. package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js.map → editor-modal-Bcwo0orC.js.map} +1 -1
  136. package/dist/cdn/chunks/en-BANFWZdr.js +1 -0
  137. package/dist/cdn/chunks/{en-BTiiAC-B.js → en-Dekrl7HA.js} +22 -1
  138. package/dist/cdn/chunks/en-Dekrl7HA.js.map +1 -0
  139. package/dist/cdn/chunks/{es-CdTOcSTf.js → es-BaZzyidV.js} +22 -1
  140. package/dist/cdn/chunks/es-BaZzyidV.js.map +1 -0
  141. package/dist/cdn/chunks/{extensions-xjRsIjMP.js → extensions-T-t8MKDb.js} +9 -9
  142. package/dist/cdn/chunks/extensions-T-t8MKDb.js.map +1 -0
  143. package/dist/cdn/chunks/{fr-B6lcLLzC.js → fr-C5ucb1HK.js} +22 -1
  144. package/dist/cdn/chunks/fr-C5ucb1HK.js.map +1 -0
  145. package/dist/cdn/chunks/{icons-Dr9erFGs.js → icons-C4fX9Bwy.js} +27 -27
  146. package/dist/cdn/chunks/{icons-Dr9erFGs.js.map → icons-C4fX9Bwy.js.map} +1 -1
  147. package/dist/cdn/chunks/{ja-BhdkqENz.js → ja-CUgR3mV0.js} +22 -1
  148. package/dist/cdn/chunks/ja-CUgR3mV0.js.map +1 -0
  149. package/dist/cdn/chunks/{keys-BKu-LOk5.js → keys-HI-INbkz.js} +2 -2
  150. package/dist/cdn/chunks/{keys-BKu-LOk5.js.map → keys-HI-INbkz.js.map} +1 -1
  151. package/dist/{nl-CE3YItYg.js → cdn/chunks/nl-qrLY7hMS.js} +23 -0
  152. package/dist/cdn/chunks/nl-qrLY7hMS.js.map +1 -0
  153. package/dist/{preRenderCustomBlocks-DAS48ZCp.js → cdn/chunks/preRenderCustomBlocks-Co0oi0Jf.js} +7 -3
  154. package/dist/cdn/chunks/preRenderCustomBlocks-Co0oi0Jf.js.map +1 -0
  155. package/dist/cdn/chunks/{pt-BR-CUIT4rq4.js → pt-BR-C6hMTQYi.js} +22 -1
  156. package/dist/cdn/chunks/pt-BR-C6hMTQYi.js.map +1 -0
  157. package/dist/cdn/chunks/socialIcons-DACw1wA8.js +1103 -0
  158. package/dist/cdn/chunks/socialIcons-DACw1wA8.js.map +1 -0
  159. package/dist/cdn/chunks/{src-BcqNlDMe.js → src-BnJlDuyB.js} +361 -206
  160. package/dist/cdn/chunks/src-BnJlDuyB.js.map +1 -0
  161. package/dist/cdn/chunks/{src-CkXmV2I2.js → src-Bu0qBpbf.js} +202 -202
  162. package/dist/cdn/chunks/src-Bu0qBpbf.js.map +1 -0
  163. package/dist/cdn/chunks/{src-HA9F2kvk.js → src-CHlVFp7r.js} +368 -311
  164. package/dist/cdn/chunks/src-CHlVFp7r.js.map +1 -0
  165. package/dist/{styleConstants-C_YAPdQS.js → cdn/chunks/styleConstants-D1Jz-TFU.js} +9 -28
  166. package/dist/cdn/chunks/{styleConstants-C_YAPdQS.js.map → styleConstants-D1Jz-TFU.js.map} +1 -1
  167. package/dist/cdn/chunks/{tiptap-CYDXLO17.js → tiptap-BPigZk5G.js} +3258 -3098
  168. package/dist/cdn/chunks/tiptap-BPigZk5G.js.map +1 -0
  169. package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js → useAliveFlag-DCB96vzR.js} +2 -2
  170. package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js.map → useAliveFlag-DCB96vzR.js.map} +1 -1
  171. package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js → useCloudI18n-BBF4waXO.js} +3 -3
  172. package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js.map → useCloudI18n-BBF4waXO.js.map} +1 -1
  173. package/dist/cdn/chunks/{useEditorCore-BF1ZhcGu.js → useEditorCore-Bf2d1DKI.js} +622 -607
  174. package/dist/cdn/chunks/useEditorCore-Bf2d1DKI.js.map +1 -0
  175. package/dist/cdn/chunks/useEditorRoot-CTc6O8al.js +10 -0
  176. package/dist/cdn/chunks/{useEditorRoot-DDPIcEOO.js.map → useEditorRoot-CTc6O8al.js.map} +1 -1
  177. package/dist/cdn/chunks/{useI18n-DO4NTunW.js → useI18n-DUlyyIJJ.js} +3 -3
  178. package/dist/cdn/chunks/{useI18n-DO4NTunW.js.map → useI18n-DUlyyIJJ.js.map} +1 -1
  179. package/dist/cdn/chunks/{useLogicTag-91bO_SOi.js → useLogicTag-3S63go4E.js} +4 -4
  180. package/dist/cdn/chunks/{useLogicTag-91bO_SOi.js.map → useLogicTag-3S63go4E.js.map} +1 -1
  181. package/dist/cdn/chunks/{useMergeTag-hwifK582.js → useMergeTag-BQtxUHq1.js} +4 -4
  182. package/dist/cdn/chunks/{useMergeTag-hwifK582.js.map → useMergeTag-BQtxUHq1.js.map} +1 -1
  183. package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js → usePopoverPosition-IbaW6-Ao.js} +3 -3
  184. package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js.map → usePopoverPosition-IbaW6-Ao.js.map} +1 -1
  185. package/dist/cdn/chunks/{useScrollToBlock-BDNJ25X1.js → useScrollToBlock-uUa601I4.js} +4 -5
  186. package/dist/cdn/chunks/useScrollToBlock-uUa601I4.js.map +1 -0
  187. package/dist/cdn/chunks/withCurrentFont-DwJd-lKc.js +21 -0
  188. package/dist/cdn/chunks/withCurrentFont-DwJd-lKc.js.map +1 -0
  189. package/dist/cdn/editor.css +1 -1
  190. package/dist/cdn/editor.js +602 -580
  191. package/dist/cdn/editor.js.map +1 -1
  192. package/dist/{check-ZKvtMdpe.js → check-B5R4zXr7.js} +1 -1
  193. package/dist/{chevron-down-RrwkYMlp.js → chevron-down-BKyl85NV.js} +1 -1
  194. package/dist/{chevron-right-CklHaa1U.js → chevron-right-BmToZ8qX.js} +1 -1
  195. package/dist/{chevron-up-DjN2NTbo.js → chevron-up-DNYdOxPC.js} +1 -1
  196. package/dist/{circle-alert-BR1_Yfb-.js → circle-alert-Dx9ju3YZ.js} +1 -1
  197. package/dist/{clock-BEagNj21.js → clock-Dv9bxsSH.js} +1 -1
  198. package/dist/{cloud-CVfwPu19.js → cloud-DwjaAdwK.js} +2 -2
  199. package/dist/{copy-D6DNoSq1.js → copy-BsKl4dcy.js} +1 -1
  200. package/dist/{createCloudRuntime-GRv_TDb2.js → createCloudRuntime-C8gpPsSi.js} +16 -7
  201. package/dist/{createLucideIcon-BAPyioGd.js → createLucideIcon-DziKp5iU.js} +6 -6
  202. package/dist/{de-CGjbQ2mt.js → de-DgAelLbM.js} +21 -0
  203. package/dist/{dist-Bd7khQsg.js → dist-3HpYixwF.js} +2 -2
  204. package/dist/{dist-lL3nVbxV.js → dist-BC-ZEYLd.js} +2 -2
  205. package/dist/dist-BPFcLKTw.js +5 -0
  206. package/dist/{dist-CSaWqmWM.js → dist-C8koXLhl.js} +390 -241
  207. package/dist/{dist-C-VFTX82.js → dist-CUWI-IvA.js} +2 -2
  208. package/dist/{dist-Bc30883t.js → dist-Cr7RPxI9.js} +5 -5
  209. package/dist/{dist-DapsJxn_.js → dist-CuLwJF7H.js} +2 -2
  210. package/dist/{dist-5KNKxglR.js → dist-CyBwSiAa.js} +2 -2
  211. package/dist/dist-D7Yj7E-F.js +5 -0
  212. package/dist/{dist-B_vYjCsk.js → dist-DAAJogrx.js} +3 -3
  213. package/dist/{dist-CMcFD7gP.js → dist-DBxgrOeo.js} +1906 -1746
  214. package/dist/{dist-DHensKDY.js → dist-DPcf6XZ8.js} +2 -2
  215. package/dist/{dist-5DAb7bYT.js → dist-DVNjPKsH.js} +2 -2
  216. package/dist/{dist-C3eH9-N2.js → dist-DXyGqIDE.js} +2 -2
  217. package/dist/{dist-1H4cnaoD.js → dist-DuufrR8O.js} +4 -4
  218. package/dist/{editor-modal-oRmkDlUs.js → editor-modal-BwyIUnV_.js} +27 -27
  219. package/dist/en-CC-57eC_.js +1 -0
  220. package/dist/{en-BTiiAC-B.js → en-Dekrl7HA.js} +21 -0
  221. package/dist/{es-CdTOcSTf.js → es-BaZzyidV.js} +21 -0
  222. package/dist/{extensions-B65sfZRk.js → extensions-DHyKjsNZ.js} +19 -19
  223. package/dist/{eye-DvsTBI57.js → eye-DQuinb9k.js} +1 -1
  224. package/dist/{fr-B6lcLLzC.js → fr-C5ucb1HK.js} +21 -0
  225. package/dist/{image-up-BoFGZm5Q.js → image-up-yTfLjOrj.js} +1 -1
  226. package/dist/index.d.ts +92 -20
  227. package/dist/{info-0bQQGjTV.js → info-C7OjlS11.js} +1 -1
  228. package/dist/{ja-BhdkqENz.js → ja-CUgR3mV0.js} +21 -0
  229. package/dist/{keys-injl74ob.js → keys-BKFq19a2.js} +1 -1
  230. package/dist/{link-Cstrr3Ep.js → link-CrUFaZ0t.js} +1 -1
  231. package/dist/{list-Dx9Rmy5s.js → list-CLgv6M-k.js} +1 -1
  232. package/dist/{loader-circle-D8Qqs0MG.js → loader-circle-BXM5VO0K.js} +1 -1
  233. package/dist/{message-circle-D78ELX6I.js → message-circle-BisdQ8H9.js} +1 -1
  234. package/dist/{cdn/chunks/nl-CE3YItYg.js → nl-qrLY7hMS.js} +21 -2
  235. package/dist/{package-DOvM9sHE.js → package-C1T4AxV1.js} +1 -1
  236. package/dist/{pencil-B6m0OG0n.js → pencil-oo2mwf4C.js} +1 -1
  237. package/dist/{plus-D-nEKxTc.js → plus-BIilXopD.js} +1 -1
  238. package/dist/{cdn/chunks/preRenderCustomBlocks-CFwa7nP9.js → preRenderCustomBlocks-lFX0HHiV.js} +3 -3
  239. package/dist/{pt-BR-CUIT4rq4.js → pt-BR-C6hMTQYi.js} +21 -0
  240. package/dist/{refresh-cw-CXZS-R1U.js → refresh-cw-DrLlkEVC.js} +1 -1
  241. package/dist/{runtime-dom.esm-bundler-CO67ema2.js → runtime-dom.esm-bundler-lFF-QG3j.js} +3 -3
  242. package/dist/{search-DSvil0jo.js → search-DNu9lImk.js} +1 -1
  243. package/dist/{send-BBR28V94.js → send-DDNh3LoJ.js} +1 -1
  244. package/dist/{shield-check-ByxUnaU9.js → shield-check-aXM3o14f.js} +1 -1
  245. package/dist/{smartphone-CNOwGf5T.js → smartphone-isccgDee.js} +1 -1
  246. package/dist/socialIcons-BctavKBN.js +1180 -0
  247. package/dist/{sparkles-DO1hzwzf.js → sparkles-CIMfFxKv.js} +1 -1
  248. package/dist/style.css +1 -1
  249. package/dist/{cdn/chunks/styleConstants-C_YAPdQS.js → styleConstants-D1Jz-TFU.js} +7 -30
  250. package/dist/templatical-editor.js +509 -487
  251. package/dist/{text-align-start-BKEKMheq.js → text-align-start-C4JFeqsq.js} +1 -1
  252. package/dist/{trash-CKEQH4vH.js → trash-8ZD9pK_c.js} +1 -1
  253. package/dist/{triangle-alert-BHnfd3fV.js → triangle-alert-pq45xEHl.js} +1 -1
  254. package/dist/{upload-C8uO7KsR.js → upload-DrNFmVes.js} +1 -1
  255. package/dist/{useAliveFlag-6PtarpNZ.js → useAliveFlag-Dd06mRxe.js} +1 -1
  256. package/dist/{useCloudI18n-GvIOLziA.js → useCloudI18n-Nwqo7pI_.js} +2 -2
  257. package/dist/{useEditorCore-DQSeKPE9.js → useEditorCore-BcT7UI4e.js} +1027 -1018
  258. package/dist/{useEditorRoot-OWzNpDdT.js → useEditorRoot-BD3piYtD.js} +2 -2
  259. package/dist/{useI18n-uF11q85g.js → useI18n-CxVEpurs.js} +2 -2
  260. package/dist/{useLogicTag-BH87j1vZ.js → useLogicTag-D-dI8H6p.js} +3 -3
  261. package/dist/{useMergeTag-DfPKX2Tk.js → useMergeTag-5wMeDBi-.js} +3 -3
  262. package/dist/{usePopoverPosition-DkBrHfCo.js → usePopoverPosition-CwnH1o5g.js} +2 -2
  263. package/dist/{useScrollToBlock-Dr7Sb6Tr.js → useScrollToBlock-Do3suaqp.js} +4 -5
  264. package/dist/{vue.runtime.esm-bundler-CctRY8kr.js → vue.runtime.esm-bundler-CAzmrXdD.js} +1215 -1155
  265. package/dist/withCurrentFont-B4YnsG_2.js +19 -0
  266. package/dist/{x-gEC0yMci.js → x-CBFKGLB1.js} +1 -1
  267. package/package.json +24 -24
  268. package/dist/BlockPreviewCanvas-DwxJOTzH.js +0 -133
  269. package/dist/CountdownBlock-RNx3hIu0.js +0 -91
  270. package/dist/WrapperBlock-CzJa2Mxw.js +0 -34
  271. package/dist/cdn/chunks/BlockPreviewCanvas-hKxE6f-k.js +0 -135
  272. package/dist/cdn/chunks/BlockPreviewCanvas-hKxE6f-k.js.map +0 -1
  273. package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js +0 -93
  274. package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js.map +0 -1
  275. package/dist/cdn/chunks/ParagraphEditor-B5DN4Sy4.js.map +0 -1
  276. package/dist/cdn/chunks/TemplateSettings-G-yV7C1C.js.map +0 -1
  277. package/dist/cdn/chunks/Toolbar-K4tIkpG1.js.map +0 -1
  278. package/dist/cdn/chunks/TplModal-OOT36AjS.js.map +0 -1
  279. package/dist/cdn/chunks/WrapperBlock-DdrnwH80.js +0 -36
  280. package/dist/cdn/chunks/WrapperBlock-DdrnwH80.js.map +0 -1
  281. package/dist/cdn/chunks/ca-C__Dzq--.js.map +0 -1
  282. package/dist/cdn/chunks/createCloudRuntime-CeRJkLR2.js.map +0 -1
  283. package/dist/cdn/chunks/de-CGjbQ2mt.js.map +0 -1
  284. package/dist/cdn/chunks/draggable-BUTN5vZC.js.map +0 -1
  285. package/dist/cdn/chunks/en-BTiiAC-B.js.map +0 -1
  286. package/dist/cdn/chunks/en-CAt6y87e.js +0 -1
  287. package/dist/cdn/chunks/es-CdTOcSTf.js.map +0 -1
  288. package/dist/cdn/chunks/extensions-xjRsIjMP.js.map +0 -1
  289. package/dist/cdn/chunks/fr-B6lcLLzC.js.map +0 -1
  290. package/dist/cdn/chunks/ja-BhdkqENz.js.map +0 -1
  291. package/dist/cdn/chunks/nl-CE3YItYg.js.map +0 -1
  292. package/dist/cdn/chunks/preRenderCustomBlocks-CFwa7nP9.js.map +0 -1
  293. package/dist/cdn/chunks/pt-BR-CUIT4rq4.js.map +0 -1
  294. package/dist/cdn/chunks/socialIcons-CsYnPPll.js +0 -1050
  295. package/dist/cdn/chunks/socialIcons-CsYnPPll.js.map +0 -1
  296. package/dist/cdn/chunks/src-BcqNlDMe.js.map +0 -1
  297. package/dist/cdn/chunks/src-CkXmV2I2.js.map +0 -1
  298. package/dist/cdn/chunks/src-HA9F2kvk.js.map +0 -1
  299. package/dist/cdn/chunks/tiptap-CYDXLO17.js.map +0 -1
  300. package/dist/cdn/chunks/useEditorCore-BF1ZhcGu.js.map +0 -1
  301. package/dist/cdn/chunks/useEditorRoot-DDPIcEOO.js +0 -10
  302. package/dist/cdn/chunks/useScrollToBlock-BDNJ25X1.js.map +0 -1
  303. package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js +0 -32
  304. package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js.map +0 -1
  305. package/dist/dist-CFC4pg2o.js +0 -5
  306. package/dist/dist-j2FavQmU.js +0 -5
  307. package/dist/en-Bk4iCfjp.js +0 -1
  308. package/dist/socialIcons-CvAixjj8.js +0 -1126
  309. package/dist/withCurrentFont-DeCbPVaE.js +0 -30
@@ -1,13 +1,13 @@
1
1
  import { n as e } from "./rolldown-runtime-B0aSnxlc.js";
2
- import { $ as t, X as n, at as r, ct as i, et as a, lt as o, nt as s, rt as c, st as ee, tt as l, ut as te, vt as ne } from "./src-BcqNlDMe.js";
3
- import { t as u } from "./htmlparser-CDRsn-gn.js";
2
+ import { Ot as t, Tt as n, at as r, ct as i, ft as a, ht as o, it as s, mt as ee, ot as c, pt as l, st as u, tt as d, ut as te } from "./src-BnJlDuyB.js";
3
+ import { t as f } from "./htmlparser-CDRsn-gn.js";
4
4
  //#region ../quality/src/types.ts
5
- var d = {
5
+ var ne = {
6
6
  altMaxLength: 125,
7
7
  minFontSize: 14,
8
8
  allCapsMinLength: 20,
9
9
  minTouchTargetPx: 44
10
- }, f = [
10
+ }, re = [
11
11
  "localhost",
12
12
  "127.0.0.1",
13
13
  "0.0.0.0",
@@ -18,13 +18,13 @@ var d = {
18
18
  //#endregion
19
19
  //#region ../quality/src/contrast.ts
20
20
  function p(e, t) {
21
- let n = m(e), r = m(t);
21
+ let n = h(e), r = h(t);
22
22
  if (!n || !r) return NaN;
23
- let i = g(n), a = g(r), o = Math.max(i, a), s = Math.min(i, a);
23
+ let i = _(n), a = _(r), o = Math.max(i, a), s = Math.min(i, a);
24
24
  return (o + .05) / (s + .05);
25
25
  }
26
- var re = /^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i, ie = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i, ae = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i;
27
- function m(e) {
26
+ var m = /^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i, ie = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i, ae = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i;
27
+ function h(e) {
28
28
  if (typeof e != "string") return null;
29
29
  let t = e.trim(), n = ae.exec(t);
30
30
  if (n) return n[4].toLowerCase() === "ff" ? {
@@ -38,52 +38,52 @@ function m(e) {
38
38
  g: parseInt(r[2], 16),
39
39
  b: parseInt(r[3], 16)
40
40
  };
41
- let i = re.exec(t);
41
+ let i = m.exec(t);
42
42
  return i ? {
43
43
  r: parseInt(i[1] + i[1], 16),
44
44
  g: parseInt(i[2] + i[2], 16),
45
45
  b: parseInt(i[3] + i[3], 16)
46
46
  } : null;
47
47
  }
48
- function h(e) {
49
- return m(e ?? "") !== null;
48
+ function g(e) {
49
+ return h(e ?? "") !== null;
50
50
  }
51
- function g({ r: e, g: t, b: n }) {
52
- let r = _(e / 255), i = _(t / 255), a = _(n / 255);
51
+ function _({ r: e, g: t, b: n }) {
52
+ let r = v(e / 255), i = v(t / 255), a = v(n / 255);
53
53
  return .2126 * r + .7152 * i + .0722 * a;
54
54
  }
55
- function _(e) {
55
+ function v(e) {
56
56
  return e <= .03928 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4;
57
57
  }
58
58
  //#endregion
59
59
  //#region ../quality/src/walk.ts
60
- var v = "#ffffff", y = "#1a1a1a";
61
- function b(e, t) {
62
- let n = h(e.settings.backgroundColor) ? e.settings.backgroundColor.toLowerCase() : v, r = h(e.settings.textColor) ? e.settings.textColor.toLowerCase() : y, i = (e, n) => {
63
- let r = e.styles?.backgroundColor, a = h(r) ? r.toLowerCase() : n.resolvedBackgroundColor;
64
- if (t(e, a === n.resolvedBackgroundColor ? n : {
60
+ var y = "#ffffff", b = "#1a1a1a";
61
+ function x(e, t) {
62
+ let n = g(e.settings.backgroundColor) ? e.settings.backgroundColor.toLowerCase() : y, r = g(e.settings.textColor) ? e.settings.textColor.toLowerCase() : b, a = (e, n) => {
63
+ let r = e.styles?.backgroundColor, s = g(r) ? r.toLowerCase() : n.resolvedBackgroundColor;
64
+ if (t(e, s === n.resolvedBackgroundColor ? n : {
65
65
  ...n,
66
- resolvedBackgroundColor: a
67
- }), te(e)) for (let t of e.children) i(t, {
66
+ resolvedBackgroundColor: s
67
+ }), o(e)) for (let t of e.children) a(t, {
68
68
  parent: e,
69
69
  section: n.section,
70
70
  columnIndex: null,
71
71
  depth: n.depth + 1,
72
- resolvedBackgroundColor: a,
72
+ resolvedBackgroundColor: s,
73
73
  resolvedTextColor: n.resolvedTextColor
74
74
  });
75
- else c(e) && e.children.forEach((t, r) => {
76
- t.forEach((t) => i(t, {
75
+ else i(e) && e.children.forEach((t, r) => {
76
+ t.forEach((t) => a(t, {
77
77
  parent: e,
78
78
  section: e,
79
79
  columnIndex: r,
80
80
  depth: n.depth + 1,
81
- resolvedBackgroundColor: a,
81
+ resolvedBackgroundColor: s,
82
82
  resolvedTextColor: n.resolvedTextColor
83
83
  }));
84
84
  });
85
85
  };
86
- for (let t of e.blocks) i(t, {
86
+ for (let t of e.blocks) a(t, {
87
87
  parent: null,
88
88
  section: null,
89
89
  columnIndex: null,
@@ -94,7 +94,7 @@ function b(e, t) {
94
94
  }
95
95
  //#endregion
96
96
  //#region ../quality/src/run-rules.ts
97
- function x(e, t, n, r) {
97
+ function S(e, t, n, r) {
98
98
  let i = [];
99
99
  function a(e, t, i) {
100
100
  return {
@@ -105,7 +105,7 @@ function x(e, t, n, r) {
105
105
  fix: i.fix
106
106
  };
107
107
  }
108
- b(e, (e, r) => {
108
+ x(e, (e, r) => {
109
109
  for (let o of t) {
110
110
  let t = n.severity(o.meta.id);
111
111
  if (t === "off" || !o.block) continue;
@@ -121,11 +121,11 @@ function x(e, t, n, r) {
121
121
  }
122
122
  return i;
123
123
  }
124
- function S(e) {
124
+ function C(e) {
125
125
  let t = e.overrides ?? {}, n = {
126
- ...d,
126
+ ...ne,
127
127
  ...e.thresholds ?? {}
128
- }, r = { nonProductionHosts: e.nonProductionHosts ?? f }, i = e.locale ?? "en", a = e.rules;
128
+ }, r = { nonProductionHosts: e.nonProductionHosts ?? re }, i = e.locale ?? "en", a = e.rules;
129
129
  return {
130
130
  locale: i,
131
131
  rules: t,
@@ -138,7 +138,7 @@ function S(e) {
138
138
  };
139
139
  }
140
140
  function oe(e, t, n) {
141
- return S({
141
+ return C({
142
142
  locale: e,
143
143
  rules: n,
144
144
  overrides: t.rules,
@@ -147,7 +147,7 @@ function oe(e, t, n) {
147
147
  });
148
148
  }
149
149
  function se(e, t, n) {
150
- return S({
150
+ return C({
151
151
  locale: e,
152
152
  rules: n,
153
153
  overrides: t.rules,
@@ -156,7 +156,7 @@ function se(e, t, n) {
156
156
  });
157
157
  }
158
158
  function ce(e, t, n) {
159
- return S({
159
+ return C({
160
160
  locale: e,
161
161
  rules: n,
162
162
  overrides: t.rules,
@@ -188,7 +188,7 @@ var le = /* @__PURE__ */ e({ default: () => ue }), ue = {
188
188
  "a11y.button-touch-target": "Button ist etwa {height}px hoch; mindestens {min}px verwenden, um Fehltipper auf Mobilgeräten zu vermeiden.",
189
189
  "a11y.button-low-contrast": "Buttontextkontrast beträgt {ratio}:1; WCAG AA verlangt mindestens {required}:1.",
190
190
  "a11y.missing-preheader": "Kein Preheader-Text gesetzt. Postfächer zeigen sonst Bruchstücke des ersten Blocks an."
191
- }, de = /* @__PURE__ */ e({ default: () => C }), C = {
191
+ }, de = /* @__PURE__ */ e({ default: () => w }), w = {
192
192
  "a11y.img-missing-alt": "Image is missing alt text. Add a short description, or mark the image as decorative.",
193
193
  "a11y.img-alt-is-filename": "Alt text looks like a filename (\"{alt}\"). Replace with a short description of what the image conveys.",
194
194
  "a11y.img-alt-too-long": "Alt text is {length} characters; aim for under {max}.",
@@ -210,21 +210,21 @@ var le = /* @__PURE__ */ e({ default: () => ue }), ue = {
210
210
  "a11y.button-touch-target": "Button is roughly {height}px tall; aim for at least {min}px to avoid mis-taps on mobile.",
211
211
  "a11y.button-low-contrast": "Button text contrast is {ratio}:1; WCAG AA requires at least {required}:1.",
212
212
  "a11y.missing-preheader": "No preheader text set. Inboxes will fall back to fragments of the first block."
213
- }, w = /* #__PURE__ */ Object.assign({
213
+ }, T = /* #__PURE__ */ Object.assign({
214
214
  "./de.ts": le,
215
215
  "./en.ts": de
216
- }), T = {};
217
- for (let e in w) {
216
+ }), E = {};
217
+ for (let e in T) {
218
218
  let t = /\.\/([^/]+)\.ts$/.exec(e);
219
219
  if (!t) continue;
220
220
  let n = t[1];
221
- n !== "index" && (T[n] = w[e].default);
221
+ n !== "index" && (E[n] = T[e].default);
222
222
  }
223
223
  function fe(e) {
224
- return T[e.split("-")[0]?.toLowerCase() ?? "en"] ?? T.en ?? C;
224
+ return E[e.split("-")[0]?.toLowerCase() ?? "en"] ?? E.en ?? w;
225
225
  }
226
226
  function pe(e, t, n) {
227
- let r = fe(e)[t] ?? C[t];
227
+ let r = fe(e)[t] ?? w[t];
228
228
  return n ? r.replace(/\{(\w+)\}/g, (e, t) => {
229
229
  let r = n[t];
230
230
  return r === void 0 ? `{${t}}` : String(r);
@@ -236,7 +236,7 @@ var me = {
236
236
  severity: "error"
237
237
  },
238
238
  block(e) {
239
- return !a(e) || e.decorative === !0 || (e.alt?.trim() ?? "") !== "" || (e.src ?? "").trim() === "" ? null : { blockId: e.id };
239
+ return !r(e) || e.decorative === !0 || (e.alt?.trim() ?? "") !== "" || (e.src ?? "").trim() === "" ? null : { blockId: e.id };
240
240
  }
241
241
  }, he = {
242
242
  id: "a11y.img-alt-is-filename",
@@ -250,7 +250,7 @@ var me = {
250
250
  ], _e = {
251
251
  meta: he,
252
252
  block(e) {
253
- if (!a(e) || e.decorative === !0) return null;
253
+ if (!r(e) || e.decorative === !0) return null;
254
254
  let t = e.alt?.trim() ?? "";
255
255
  return t === "" || !ge.some((e) => e.test(t)) ? null : {
256
256
  blockId: e.id,
@@ -263,12 +263,12 @@ var me = {
263
263
  severity: "warning"
264
264
  },
265
265
  block(e, t, n) {
266
- if (!a(e) || e.decorative === !0) return null;
267
- let r = e.alt ?? "";
268
- return r.length <= n.thresholds.altMaxLength ? null : {
266
+ if (!r(e) || e.decorative === !0) return null;
267
+ let i = e.alt ?? "";
268
+ return i.length <= n.thresholds.altMaxLength ? null : {
269
269
  blockId: e.id,
270
270
  params: {
271
- length: r.length,
271
+ length: i.length,
272
272
  max: n.thresholds.altMaxLength
273
273
  }
274
274
  };
@@ -279,7 +279,7 @@ var me = {
279
279
  severity: "info"
280
280
  },
281
281
  block(e) {
282
- return !a(e) || e.decorative !== !0 || (e.alt ?? "").trim() === "" ? null : {
282
+ return !r(e) || e.decorative !== !0 || (e.alt ?? "").trim() === "" ? null : {
283
283
  blockId: e.id,
284
284
  fix: {
285
285
  description: "Clear alt text",
@@ -330,7 +330,7 @@ var me = {
330
330
  "anschauen",
331
331
  "jetzt"
332
332
  ]
333
- }, Se = /* @__PURE__ */ e({ default: () => E }), E = {
333
+ }, Se = /* @__PURE__ */ e({ default: () => Ce }), Ce = {
334
334
  vagueLinkText: [
335
335
  "click here",
336
336
  "here",
@@ -382,40 +382,40 @@ for (let e in D) {
382
382
  n !== "index" && (O[n] = D[e].default);
383
383
  }
384
384
  function k(e) {
385
- return j;
385
+ return we;
386
386
  }
387
387
  function A(e) {
388
388
  let t = /* @__PURE__ */ new Set();
389
389
  for (let n of Object.values(O)) for (let r of e(n)) t.add(r);
390
390
  return Array.from(t);
391
391
  }
392
- var j = {
392
+ var we = {
393
393
  vagueLinkText: A((e) => e.vagueLinkText),
394
394
  vagueButtonLabels: A((e) => e.vagueButtonLabels),
395
395
  linkedImageActionHints: A((e) => e.linkedImageActionHints)
396
396
  };
397
- function M(e) {
397
+ function j(e) {
398
398
  return e.toLowerCase().replace(/\s+/g, " ").replace(/^[^\p{L}\p{N}]+|[^\p{L}\p{N}]+$/gu, "").trim();
399
399
  }
400
- var Ce = {
400
+ var Te = {
401
401
  meta: {
402
402
  id: "a11y.img-linked-no-context",
403
403
  severity: "warning"
404
404
  },
405
405
  block(e, t, n) {
406
- if (!a(e) || e.decorative === !0 || !e.linkUrl || e.linkUrl.trim() === "") return null;
407
- let r = (e.alt ?? "").trim();
408
- if (r === "") return null;
409
- let i = r.toLocaleLowerCase().split(/[^\p{L}\p{N}]+/u).filter(Boolean), o = k(n.locale).linkedImageActionHints;
410
- return i.some((e) => o.includes(e)) ? null : { blockId: e.id };
406
+ if (!r(e) || e.decorative === !0 || !e.linkUrl || e.linkUrl.trim() === "") return null;
407
+ let i = (e.alt ?? "").trim();
408
+ if (i === "") return null;
409
+ let a = i.toLocaleLowerCase().split(/[^\p{L}\p{N}]+/u).filter(Boolean), o = k(n.locale).linkedImageActionHints;
410
+ return a.some((e) => o.includes(e)) ? null : { blockId: e.id };
411
411
  }
412
412
  };
413
413
  //#endregion
414
414
  //#region ../quality/src/html-utils.ts
415
- function N(e) {
415
+ function M(e) {
416
416
  let t = [], n = null, r = "", i = () => {
417
417
  n !== null && (n.text = r.trim(), t.push(n), n = null, r = "");
418
- }, a = new u({
418
+ }, a = new f({
419
419
  onopentag(e, t) {
420
420
  e === "a" ? (i(), n = {
421
421
  href: t.href ?? "",
@@ -434,8 +434,8 @@ function N(e) {
434
434
  });
435
435
  return a.write(e), a.end(), i(), t;
436
436
  }
437
- function we(e) {
438
- let t = Te(e).matchAll(/<\/?a\b[^<>]*>/gi), n = 0;
437
+ function Ee(e) {
438
+ let t = De(e).matchAll(/<\/?a\b[^<>]*>/gi), n = 0;
439
439
  for (let e of t) if (e[0].startsWith("</")) n > 0 && n--;
440
440
  else {
441
441
  if (n > 0) return !0;
@@ -443,7 +443,7 @@ function we(e) {
443
443
  }
444
444
  return !1;
445
445
  }
446
- function Te(e) {
446
+ function De(e) {
447
447
  let t = "", n = 0;
448
448
  for (; n < e.length;) {
449
449
  let r = e.indexOf("<!--", n);
@@ -458,33 +458,33 @@ function Te(e) {
458
458
  }
459
459
  return t;
460
460
  }
461
- function P(e) {
462
- let t = "", n = new u({ ontext(e) {
461
+ function N(e) {
462
+ let t = "", n = new f({ ontext(e) {
463
463
  t += e;
464
464
  } });
465
465
  return n.write(e), n.end(), t.trim();
466
466
  }
467
- var Ee = {
467
+ var Oe = {
468
468
  meta: {
469
469
  id: "a11y.heading-empty",
470
470
  severity: "error"
471
471
  },
472
472
  block(e) {
473
- return !i(e) || P(e.content ?? "") !== "" ? null : { blockId: e.id };
473
+ return !l(e) || N(e.content ?? "") !== "" ? null : { blockId: e.id };
474
474
  }
475
- }, De = {
475
+ }, ke = {
476
476
  id: "a11y.heading-skip-level",
477
477
  severity: "error"
478
478
  };
479
- function F(e, t) {
480
- for (let n of e) if (i(n)) t.push(n);
481
- else if (c(n)) for (let e of n.children) F(e, t);
479
+ function P(e, t) {
480
+ for (let n of e) if (l(n)) t.push(n);
481
+ else if (i(n)) for (let e of n.children) P(e, t);
482
482
  }
483
- var Oe = {
484
- meta: De,
483
+ var Ae = {
484
+ meta: ke,
485
485
  template(e) {
486
486
  let t = [];
487
- F(e.blocks, t);
487
+ P(e.blocks, t);
488
488
  let n = [], r = 0;
489
489
  for (let e of t) r !== 0 && e.level > r + 1 && n.push({
490
490
  blockId: e.id,
@@ -495,49 +495,49 @@ var Oe = {
495
495
  }), r = e.level;
496
496
  return n;
497
497
  }
498
- }, ke = {
498
+ }, je = {
499
499
  id: "a11y.heading-multiple-h1",
500
500
  severity: "warning"
501
501
  };
502
- function I(e, t) {
503
- for (let n of e) if (i(n)) t.push(n);
504
- else if (c(n)) for (let e of n.children) I(e, t);
502
+ function F(e, t) {
503
+ for (let n of e) if (l(n)) t.push(n);
504
+ else if (i(n)) for (let e of n.children) F(e, t);
505
505
  }
506
- var Ae = {
507
- meta: ke,
506
+ var Me = {
507
+ meta: je,
508
508
  template(e) {
509
509
  let t = [];
510
- I(e.blocks, t);
510
+ F(e.blocks, t);
511
511
  let n = t.filter((e) => e.level === 1);
512
512
  return n.length <= 1 ? [] : n.slice(1).map((e) => ({ blockId: e.id }));
513
513
  }
514
- }, je = {
514
+ }, Ne = {
515
515
  id: "a11y.link-empty",
516
516
  severity: "error"
517
517
  };
518
- function Me(e) {
519
- return s(e) || i(e) ? e.content : null;
518
+ function Pe(e) {
519
+ return u(e) || l(e) ? e.content : null;
520
520
  }
521
- var Ne = {
522
- meta: je,
521
+ var Fe = {
522
+ meta: Ne,
523
523
  block(e) {
524
- let t = Me(e);
525
- return t === null || !N(t).find((e) => e.text === "" && !e.hasImageWithAlt) ? null : { blockId: e.id };
524
+ let t = Pe(e);
525
+ return t === null || !M(t).find((e) => e.text === "" && !e.hasImageWithAlt) ? null : { blockId: e.id };
526
526
  }
527
- }, Pe = {
527
+ }, Ie = {
528
528
  id: "a11y.link-vague-text",
529
529
  severity: "warning"
530
530
  };
531
- function Fe(e) {
532
- return s(e) || i(e) ? e.content : null;
531
+ function Le(e) {
532
+ return u(e) || l(e) ? e.content : null;
533
533
  }
534
- var Ie = {
535
- meta: Pe,
534
+ var Re = {
535
+ meta: Ie,
536
536
  block(e, t, n) {
537
- let r = Fe(e);
537
+ let r = Le(e);
538
538
  if (r === null) return null;
539
- let i = k(n.locale).vagueLinkText, a = N(r).find((e) => {
540
- let t = M(e.text);
539
+ let i = k(n.locale).vagueLinkText, a = M(r).find((e) => {
540
+ let t = j(e.text);
541
541
  return t !== "" && i.includes(t);
542
542
  });
543
543
  return a ? {
@@ -545,53 +545,53 @@ var Ie = {
545
545
  params: { text: a.text }
546
546
  } : null;
547
547
  }
548
- }, Le = {
548
+ }, ze = {
549
549
  id: "a11y.link-href-empty",
550
550
  severity: "error"
551
551
  };
552
- function Re(e) {
553
- return s(e) || i(e) ? e.content : null;
552
+ function Be(e) {
553
+ return u(e) || l(e) ? e.content : null;
554
554
  }
555
- var ze = {
556
- meta: Le,
555
+ var Ve = {
556
+ meta: ze,
557
557
  block(e) {
558
- let t = Re(e);
559
- return t === null || !N(t).find((e) => {
558
+ let t = Be(e);
559
+ return t === null || !M(t).find((e) => {
560
560
  let t = e.href.trim();
561
561
  return t === "" || t === "#";
562
562
  }) ? null : { blockId: e.id };
563
563
  }
564
- }, Be = {
564
+ }, He = {
565
565
  id: "a11y.link-target-blank-no-rel",
566
566
  severity: "warning"
567
567
  };
568
- function Ve(e) {
569
- return s(e) || i(e) ? e.content : null;
568
+ function Ue(e) {
569
+ return u(e) || l(e) ? e.content : null;
570
570
  }
571
- function He(e) {
571
+ function We(e) {
572
572
  if (e === null) return !1;
573
573
  let t = e.toLowerCase().split(/\s+/);
574
574
  return t.includes("noopener") || t.includes("noreferrer");
575
575
  }
576
- var Ue = {
577
- meta: Be,
576
+ var Ge = {
577
+ meta: He,
578
578
  block(e) {
579
- let t = Ve(e);
580
- return t === null || !N(t).find((e) => e.target === "_blank" && !He(e.rel)) ? null : {
579
+ let t = Ue(e);
580
+ return t === null || !M(t).find((e) => e.target === "_blank" && !We(e.rel)) ? null : {
581
581
  blockId: e.id,
582
582
  fix: {
583
583
  description: "Add rel=\"noopener\"",
584
584
  apply: (t) => {
585
- if (!s(e) && !i(e)) return;
586
- let n = Ke(e.content ?? "");
585
+ if (!u(e) && !l(e)) return;
586
+ let n = Je(e.content ?? "");
587
587
  t.updateBlock(e.id, { content: n });
588
588
  }
589
589
  }
590
590
  };
591
591
  }
592
- }, L = /([^\s"'>/=]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'=<>`]+)))?/g;
593
- function We(e) {
594
- let t = [], n = new RegExp(L.source, L.flags), r;
592
+ }, I = /([^\s"'>/=]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'=<>`]+)))?/g;
593
+ function Ke(e) {
594
+ let t = [], n = new RegExp(I.source, I.flags), r;
595
595
  for (; (r = n.exec(e)) !== null;) t.push({
596
596
  raw: r[0],
597
597
  name: r[1],
@@ -600,13 +600,13 @@ function We(e) {
600
600
  });
601
601
  return t;
602
602
  }
603
- function Ge(e) {
603
+ function qe(e) {
604
604
  return e.some((e) => e.name.toLowerCase() === "target" && e.value !== null && e.value.toLowerCase() === "_blank");
605
605
  }
606
- function Ke(e) {
606
+ function Je(e) {
607
607
  return e.replace(/<a\b([^>]*)>/gi, (e, t) => {
608
- let n = We(t);
609
- if (!Ge(n)) return e;
608
+ let n = Ke(t);
609
+ if (!qe(n)) return e;
610
610
  let r = n.find((e) => e.name.toLowerCase() === "rel");
611
611
  if (r) {
612
612
  let n = (r.value ?? "").toLowerCase().split(/\s+/);
@@ -619,114 +619,114 @@ function Ke(e) {
619
619
  }
620
620
  //#endregion
621
621
  //#region ../quality/src/accessibility/rules/link-nested-anchor.ts
622
- var qe = {
622
+ var Ye = {
623
623
  id: "a11y.link-nested-anchor",
624
624
  severity: "error"
625
625
  };
626
- function Je(e) {
627
- return s(e) || i(e) ? e.content : null;
626
+ function Xe(e) {
627
+ return u(e) || l(e) ? e.content : null;
628
628
  }
629
- var Ye = {
630
- meta: qe,
629
+ var Ze = {
630
+ meta: Ye,
631
631
  block(e) {
632
- let t = Je(e);
633
- return t === null || !we(t) ? null : { blockId: e.id };
632
+ let t = Xe(e);
633
+ return t === null || !Ee(t) ? null : { blockId: e.id };
634
634
  }
635
- }, Xe = {
635
+ }, Qe = {
636
636
  meta: {
637
637
  id: "a11y.text-all-caps",
638
638
  severity: "warning"
639
639
  },
640
640
  block(e, t, n) {
641
- if (!s(e) && !i(e)) return null;
642
- let r = P(e.content ?? "").replace(/[^\p{L}]/gu, "");
641
+ if (!u(e) && !l(e)) return null;
642
+ let r = N(e.content ?? "").replace(/[^\p{L}]/gu, "");
643
643
  return r.length < n.thresholds.allCapsMinLength || ![...r].some((e) => e.toLocaleLowerCase() !== e.toLocaleUpperCase()) || r !== r.toLocaleUpperCase() ? null : { blockId: e.id };
644
644
  }
645
- }, Ze = {
645
+ }, $e = {
646
646
  id: "a11y.text-justified",
647
647
  severity: "warning"
648
- }, Qe = /(^|;)\s*text-align\s*:\s*([^;]*)/i, R = /\sstyle\s*=\s*(?:"([^"]*)"|'([^']*)')/gi;
649
- function $e(e) {
650
- let t = [], n = new RegExp(R.source, R.flags), r;
648
+ }, et = /(^|;)\s*text-align\s*:\s*([^;]*)/i, L = /\sstyle\s*=\s*(?:"([^"]*)"|'([^']*)')/gi;
649
+ function tt(e) {
650
+ let t = [], n = new RegExp(L.source, L.flags), r;
651
651
  for (; (r = n.exec(e)) !== null;) t.push(r[1] ?? r[2] ?? "");
652
652
  return t;
653
653
  }
654
- function z(e) {
655
- let t = Qe.exec(e);
654
+ function R(e) {
655
+ let t = et.exec(e);
656
656
  return t !== null && t[2].trim().toLowerCase() === "justify";
657
657
  }
658
- function et(e) {
658
+ function nt(e) {
659
659
  return e.split(";").filter((e) => !/^\s*text-align\s*:/i.test(e)).map((e) => e.trim()).filter((e) => e !== "").join("; ");
660
660
  }
661
- function tt(e) {
661
+ function rt(e) {
662
662
  return e.replace(/\sstyle\s*=\s*(?:"([^"]*)"|'([^']*)')/gi, (e, t, n) => {
663
663
  let r = t ?? n ?? "";
664
- if (!z(r)) return e;
665
- let i = et(r);
664
+ if (!R(r)) return e;
665
+ let i = nt(r);
666
666
  return i === "" ? "" : ` style="${i}"`;
667
667
  });
668
668
  }
669
- var nt = {
670
- meta: Ze,
669
+ var it = {
670
+ meta: $e,
671
671
  block(e) {
672
- return !s(e) || !$e(e.content ?? "").some(z) ? null : {
672
+ return !u(e) || !tt(e.content ?? "").some(R) ? null : {
673
673
  blockId: e.id,
674
674
  fix: {
675
675
  description: "Remove justified alignment",
676
676
  apply: (t) => {
677
- s(e) && t.updateBlock(e.id, { content: tt(e.content ?? "") });
677
+ u(e) && t.updateBlock(e.id, { content: rt(e.content ?? "") });
678
678
  }
679
679
  }
680
680
  };
681
681
  }
682
- }, rt = {
682
+ }, at = {
683
683
  meta: {
684
684
  id: "a11y.text-low-contrast",
685
685
  severity: "error"
686
686
  },
687
- block(e, t) {
688
- if (!i(e)) return null;
689
- let n = e.color ?? t.resolvedTextColor;
690
- if (!h(n) || !h(t.resolvedBackgroundColor)) return null;
691
- let r = ne[e.level] >= 24 ? 3 : 4.5, a = p(n, t.resolvedBackgroundColor);
692
- return Number.isNaN(a) || a >= r ? null : {
687
+ block(e, n) {
688
+ if (!l(e)) return null;
689
+ let r = e.color ?? n.resolvedTextColor;
690
+ if (!g(r) || !g(n.resolvedBackgroundColor)) return null;
691
+ let i = t[e.level] >= 24 ? 3 : 4.5, a = p(r, n.resolvedBackgroundColor);
692
+ return Number.isNaN(a) || a >= i ? null : {
693
693
  blockId: e.id,
694
694
  params: {
695
695
  ratio: a.toFixed(2),
696
- required: r
696
+ required: i
697
697
  }
698
698
  };
699
699
  }
700
- }, it = {
700
+ }, ot = {
701
701
  id: "a11y.text-too-small",
702
702
  severity: "warning"
703
703
  };
704
- function at(e) {
705
- return l(e) || ee(e) ? e.fontSize : null;
704
+ function st(e) {
705
+ return c(e) || a(e) ? e.fontSize : null;
706
706
  }
707
707
  //#endregion
708
708
  //#region ../quality/src/accessibility/index.ts
709
- var B = [
709
+ var z = [
710
710
  me,
711
711
  _e,
712
712
  ve,
713
713
  ye,
714
- Ce,
715
- Ee,
714
+ Te,
716
715
  Oe,
717
716
  Ae,
718
- Ne,
719
- Ie,
720
- ze,
721
- Ue,
722
- Ye,
723
- Xe,
724
- nt,
725
- rt,
717
+ Me,
718
+ Fe,
719
+ Re,
720
+ Ve,
721
+ Ge,
722
+ Ze,
723
+ Qe,
724
+ it,
725
+ at,
726
726
  {
727
- meta: it,
727
+ meta: ot,
728
728
  block(e, t, n) {
729
- let r = at(e);
729
+ let r = st(e);
730
730
  return r === null || r >= n.thresholds.minFontSize ? null : {
731
731
  blockId: e.id,
732
732
  params: {
@@ -741,10 +741,10 @@ var B = [
741
741
  id: "a11y.button-vague-label",
742
742
  severity: "warning"
743
743
  },
744
- block(e, t, r) {
745
- if (!n(e)) return null;
746
- let i = M(e.text ?? "");
747
- return i === "" || !k(r.locale).vagueButtonLabels.includes(i) ? null : {
744
+ block(e, t, n) {
745
+ if (!d(e)) return null;
746
+ let r = j(e.text ?? "");
747
+ return r === "" || !k(n.locale).vagueButtonLabels.includes(r) ? null : {
748
748
  blockId: e.id,
749
749
  params: { text: e.text }
750
750
  };
@@ -755,16 +755,16 @@ var B = [
755
755
  id: "a11y.button-touch-target",
756
756
  severity: "warning"
757
757
  },
758
- block(e, t, r) {
759
- if (!n(e)) return null;
760
- let i = e.buttonPadding;
761
- if (!i) return null;
762
- let a = e.fontSize * 1.4 + i.top + i.bottom;
763
- return a >= r.thresholds.minTouchTargetPx ? null : {
758
+ block(e, t, n) {
759
+ if (!d(e)) return null;
760
+ let r = e.buttonPadding;
761
+ if (!r) return null;
762
+ let i = e.fontSize * 1.4 + r.top + r.bottom;
763
+ return i >= n.thresholds.minTouchTargetPx ? null : {
764
764
  blockId: e.id,
765
765
  params: {
766
- height: Math.round(a),
767
- min: r.thresholds.minTouchTargetPx
766
+ height: Math.round(i),
767
+ min: n.thresholds.minTouchTargetPx
768
768
  }
769
769
  };
770
770
  }
@@ -775,15 +775,15 @@ var B = [
775
775
  severity: "error"
776
776
  },
777
777
  block(e) {
778
- if (!n(e)) return null;
778
+ if (!d(e)) return null;
779
779
  let t = p(e.textColor, e.backgroundColor);
780
780
  if (Number.isNaN(t)) return null;
781
- let r = e.fontSize >= 24 ? 3 : 4.5;
782
- return t >= r ? null : {
781
+ let n = e.fontSize >= 24 ? 3 : 4.5;
782
+ return t >= n ? null : {
783
783
  blockId: e.id,
784
784
  params: {
785
785
  ratio: t.toFixed(2),
786
- required: r
786
+ required: n
787
787
  }
788
788
  };
789
789
  }
@@ -798,38 +798,42 @@ var B = [
798
798
  }
799
799
  }
800
800
  ];
801
- function ot(e, t = {}) {
802
- return t.disabled === !0 || t.accessibility === !1 ? [] : x(e, B, oe(t.locale, t.accessibility ?? {}, B), (e, t, n) => pe(e, t, n));
801
+ function ct(e, t = {}) {
802
+ return t.disabled === !0 || t.accessibility === !1 ? [] : S(e, z, oe(t.locale, t.accessibility ?? {}, z), (e, t, n) => pe(e, t, n));
803
803
  }
804
804
  //#endregion
805
805
  //#region ../quality/src/structure/messages/de.ts
806
- var st = /* @__PURE__ */ e({ default: () => ct }), ct = {
806
+ var lt = /* @__PURE__ */ e({ default: () => ut }), ut = {
807
807
  "structure.duplicate-block-id": "Block-ID erscheint {count}-mal im Baum. Jeder Block muss eine eindeutige ID haben.",
808
808
  "structure.section-column-mismatch": "Sektion verwendet Layout „{layout}\" (erwartet {expected} Spalten), hat aber {actual}. Deutet auf beschädigten Zustand hin.",
809
809
  "structure.nested-section": "Sektion ist in einer anderen Sektion verschachtelt. Sektionen können nicht verschachtelt werden – der Renderer wird sich falsch verhalten.",
810
810
  "structure.empty-section": "Sektion enthält keine Blöcke. Entferne sie oder füge Inhalt hinzu.",
811
- "structure.empty-column": "Spalte {columnIndex} dieser Sektion ist leer. Füge Inhalt hinzu oder reduziere die Spaltenanzahl."
812
- }, lt = /* @__PURE__ */ e({ default: () => V }), V = {
811
+ "structure.empty-column": "Spalte {columnIndex} dieser Sektion ist leer. Füge Inhalt hinzu oder reduziere die Spaltenanzahl.",
812
+ "structure.wrapper-color-over-background-image": "Outlook unter Windows malt die Hintergrundfarbe des Wrappers über das Hintergrundbild dieser Sektion. Entferne die Wrapper-Farbe oder lege das Bild auf den Wrapper.",
813
+ "structure.nested-background-image": "Diese Sektion und ihr Wrapper haben beide ein Hintergrundbild. Outlook unter Windows kann sie nicht übereinanderlegen und zerstört das Layout. Behalte das Bild nur auf einem von beiden."
814
+ }, dt = /* @__PURE__ */ e({ default: () => B }), B = {
813
815
  "structure.duplicate-block-id": "Block id appears {count} times in the tree. Each block must have a unique id.",
814
816
  "structure.section-column-mismatch": "Section uses layout \"{layout}\" (expects {expected} columns) but has {actual}. Indicates corrupted state.",
815
817
  "structure.nested-section": "Section is nested inside another section. Sections cannot nest — the renderer will misbehave.",
816
818
  "structure.empty-section": "Section has no blocks. Remove it or add content.",
817
- "structure.empty-column": "Column {columnIndex} of this section is empty. Add content or reduce the column count."
818
- }, H = /* #__PURE__ */ Object.assign({
819
- "./de.ts": st,
820
- "./en.ts": lt
821
- }), U = {};
822
- for (let e in H) {
819
+ "structure.empty-column": "Column {columnIndex} of this section is empty. Add content or reduce the column count.",
820
+ "structure.wrapper-color-over-background-image": "Outlook on Windows paints the wrapper's background color over this section's background image. Remove the wrapper color or put the image on the wrapper.",
821
+ "structure.nested-background-image": "This section and its wrapper both have a background image. Outlook on Windows can't layer them and breaks the layout. Keep the image on one of them."
822
+ }, V = /* #__PURE__ */ Object.assign({
823
+ "./de.ts": lt,
824
+ "./en.ts": dt
825
+ }), H = {};
826
+ for (let e in V) {
823
827
  let t = /\.\/([^/]+)\.ts$/.exec(e);
824
828
  if (!t) continue;
825
829
  let n = t[1];
826
- n !== "index" && (U[n] = H[e].default);
830
+ n !== "index" && (H[n] = V[e].default);
827
831
  }
828
- function ut(e) {
829
- return U[e.split("-")[0]?.toLowerCase() ?? "en"] ?? U.en ?? V;
832
+ function ft(e) {
833
+ return H[e.split("-")[0]?.toLowerCase() ?? "en"] ?? H.en ?? B;
830
834
  }
831
- function dt(e, t, n) {
832
- let r = ut(e)[t] ?? V[t];
835
+ function pt(e, t, n) {
836
+ let r = ft(e)[t] ?? B[t];
833
837
  return n ? r.replace(/\{(\w+)\}/g, (e, t) => {
834
838
  let r = n[t];
835
839
  return r === void 0 ? `{${t}}` : String(r);
@@ -837,18 +841,18 @@ function dt(e, t, n) {
837
841
  }
838
842
  //#endregion
839
843
  //#region ../quality/src/structure/rules/duplicate-block-id.ts
840
- var ft = {
844
+ var mt = {
841
845
  id: "structure.duplicate-block-id",
842
846
  severity: "error"
843
847
  };
844
- function W(e, t) {
845
- for (let n of e) if (t.set(n.id, (t.get(n.id) ?? 0) + 1), c(n)) for (let e of n.children) W(e, t);
848
+ function U(e, t) {
849
+ for (let n of e) if (t.set(n.id, (t.get(n.id) ?? 0) + 1), i(n)) for (let e of n.children) U(e, t);
846
850
  }
847
- var pt = {
848
- meta: ft,
851
+ var ht = {
852
+ meta: mt,
849
853
  template(e) {
850
854
  let t = /* @__PURE__ */ new Map();
851
- W(e.blocks, t);
855
+ U(e.blocks, t);
852
856
  let n = [];
853
857
  for (let [e, r] of t) r > 1 && n.push({
854
858
  blockId: e,
@@ -856,13 +860,13 @@ var pt = {
856
860
  });
857
861
  return n;
858
862
  }
859
- }, mt = {
863
+ }, gt = {
860
864
  id: "structure.empty-column",
861
865
  severity: "warning"
862
866
  };
863
- function G(e, t) {
867
+ function W(e, t) {
864
868
  for (let n of e) {
865
- if (!c(n)) continue;
869
+ if (!i(n)) continue;
866
870
  let e = n;
867
871
  e.children.length > 1 && e.children.forEach((n, r) => {
868
872
  n.length === 0 && t.push({
@@ -870,28 +874,28 @@ function G(e, t) {
870
874
  params: { columnIndex: r + 1 }
871
875
  });
872
876
  });
873
- for (let n of e.children) G(n, t);
877
+ for (let n of e.children) W(n, t);
874
878
  }
875
879
  }
876
- var ht = {
877
- meta: mt,
880
+ var _t = {
881
+ meta: gt,
878
882
  template(e) {
879
883
  let t = [];
880
- return G(e.blocks, t), t;
884
+ return W(e.blocks, t), t;
881
885
  }
882
- }, gt = {
886
+ }, vt = {
883
887
  id: "structure.empty-section",
884
888
  severity: "warning"
885
889
  };
886
- function _t(e) {
890
+ function yt(e) {
887
891
  return e.children.length === 0 || e.children.every((e) => e.length === 0);
888
892
  }
889
- var vt = {
890
- meta: gt,
893
+ var bt = {
894
+ meta: vt,
891
895
  block(e) {
892
- if (!c(e)) return null;
896
+ if (!i(e)) return null;
893
897
  let t = e;
894
- return _t(t) ? {
898
+ return yt(t) ? {
895
899
  blockId: t.id,
896
900
  fix: {
897
901
  description: "Remove the empty section",
@@ -901,36 +905,60 @@ var vt = {
901
905
  }
902
906
  } : null;
903
907
  }
904
- }, yt = {
908
+ };
909
+ //#endregion
910
+ //#region ../quality/src/structure/band.ts
911
+ function G(e, t) {
912
+ return e.wrapper ? e.wrapper : t.parent && o(t.parent) ? {
913
+ backgroundColor: t.parent.styles?.backgroundColor,
914
+ backgroundImage: t.parent.backgroundImage
915
+ } : null;
916
+ }
917
+ function xt(e) {
918
+ if (typeof e != "string") return !1;
919
+ let t = e.trim().toLowerCase();
920
+ return t !== "" && t !== "transparent";
921
+ }
922
+ var St = {
923
+ meta: {
924
+ id: "structure.nested-background-image",
925
+ severity: "warning"
926
+ },
927
+ block(e, t) {
928
+ if (!i(e) || n(e.backgroundImage) === null) return null;
929
+ let r = G(e, t);
930
+ return r === null || n(r.backgroundImage) === null ? null : { blockId: e.id };
931
+ }
932
+ }, Ct = {
905
933
  meta: {
906
934
  id: "structure.nested-section",
907
935
  severity: "error"
908
936
  },
909
937
  block(e, t) {
910
- return !c(e) || t.section === null ? null : {
938
+ return !i(e) || t.section === null ? null : {
911
939
  blockId: e.id,
912
940
  params: { parentId: t.section.id }
913
941
  };
914
942
  }
915
- }, bt = {
943
+ }, wt = {
916
944
  id: "structure.section-column-mismatch",
917
945
  severity: "error"
918
946
  };
919
- function xt(e) {
947
+ function Tt(e) {
920
948
  return e === "1" ? 1 : e === "3" ? 3 : 2;
921
949
  }
922
950
  //#endregion
923
951
  //#region ../quality/src/structure/index.ts
924
952
  var K = [
925
- pt,
926
- vt,
927
953
  ht,
928
- yt,
954
+ bt,
955
+ _t,
956
+ Ct,
929
957
  {
930
- meta: bt,
958
+ meta: wt,
931
959
  block(e) {
932
- if (!c(e)) return null;
933
- let t = e, n = xt(t.columns), r = t.children.length;
960
+ if (!i(e)) return null;
961
+ let t = e, n = Tt(t.columns), r = t.children.length;
934
962
  return r === n ? null : {
935
963
  blockId: t.id,
936
964
  params: {
@@ -940,28 +968,42 @@ var K = [
940
968
  }
941
969
  };
942
970
  }
943
- }
971
+ },
972
+ {
973
+ meta: {
974
+ id: "structure.wrapper-color-over-background-image",
975
+ severity: "warning"
976
+ },
977
+ block(e, t) {
978
+ if (!i(e) || n(e.backgroundImage) === null) return null;
979
+ let r = G(e, t);
980
+ return r === null || !xt(r.backgroundColor) ? null : { blockId: e.id };
981
+ }
982
+ },
983
+ St
944
984
  ];
945
- function St(e, t = {}) {
946
- return t.disabled === !0 || t.structure === !1 ? [] : x(e, K, se(t.locale, t.structure ?? {}, K), (e, t, n) => dt(e, t, n));
985
+ function Et(e, t = {}) {
986
+ return t.disabled === !0 || t.structure === !1 ? [] : S(e, K, se(t.locale, t.structure ?? {}, K), (e, t, n) => pt(e, t, n));
947
987
  }
948
988
  //#endregion
949
989
  //#region ../quality/src/links/messages/de.ts
950
- var Ct = /* @__PURE__ */ e({ default: () => wt }), wt = {
990
+ var Dt = /* @__PURE__ */ e({ default: () => Ot }), Ot = {
951
991
  "link.javascript-protocol": "Die URL verwendet das Protokoll „{protocol}:\", das beliebigen Skriptcode ausführen kann und aus Sicherheitsgründen beim Rendern entfernt wird. Ersetze sie durch eine echte URL oder entferne sie.",
952
992
  "link.unsupported-protocol": "Die URL verwendet das Protokoll „{protocol}\", das von den meisten E-Mail-Clients nicht unterstützt wird. Verwende http, https, mailto, tel oder sms.",
953
993
  "link.malformed-mailto": "Der mailto:-Link ist fehlerhaft. Erwartet wird eine einzelne Empfängeradresse vor einer eventuellen Querystring (z. B. mailto:hallo@example.com).",
954
994
  "link.malformed-tel": "Der tel:-Link enthält Zeichen, die keine Ziffern, +, Leerzeichen, Bindestriche, Klammern oder Punkte sind.",
955
- "link.localhost-or-staging": "Der URL-Host „{host}\" entspricht einem Nicht-Produktionsmuster. Ersetze ihn vor dem Versand durch die Produktions-URL."
956
- }, Tt = /* @__PURE__ */ e({ default: () => q }), q = {
995
+ "link.localhost-or-staging": "Der URL-Host „{host}\" entspricht einem Nicht-Produktionsmuster. Ersetze ihn vor dem Versand durch die Produktions-URL.",
996
+ "link.relative-url": "Die URL „{url}\" ist relativ. Eine versendete E-Mail hat keine Seitenadresse, gegen die sie aufgelöst werden kann, daher funktioniert der Link nicht. Verwende eine absolute URL (https://…)."
997
+ }, kt = /* @__PURE__ */ e({ default: () => q }), q = {
957
998
  "link.javascript-protocol": "URL uses the \"{protocol}:\" protocol, which can execute arbitrary script and is stripped at render time for safety. Replace it with a real link or remove the URL.",
958
999
  "link.unsupported-protocol": "URL uses the \"{protocol}\" protocol, which most email clients do not support. Use http, https, mailto, tel, or sms.",
959
1000
  "link.malformed-mailto": "mailto: link is malformed. Expected a single recipient address before any query string (e.g. mailto:hello@example.com).",
960
1001
  "link.malformed-tel": "tel: link contains characters that are not digits, +, spaces, dashes, parentheses, or dots.",
961
- "link.localhost-or-staging": "URL host \"{host}\" matches a non-production pattern. Replace with the production URL before sending."
1002
+ "link.localhost-or-staging": "URL host \"{host}\" matches a non-production pattern. Replace with the production URL before sending.",
1003
+ "link.relative-url": "URL \"{url}\" is relative. A sent email has no page address to resolve it against, so the link breaks. Use an absolute URL (https://…)."
962
1004
  }, J = /* #__PURE__ */ Object.assign({
963
- "./de.ts": Ct,
964
- "./en.ts": Tt
1005
+ "./de.ts": Dt,
1006
+ "./en.ts": kt
965
1007
  }), Y = {};
966
1008
  for (let e in J) {
967
1009
  let t = /\.\/([^/]+)\.ts$/.exec(e);
@@ -969,11 +1011,11 @@ for (let e in J) {
969
1011
  let n = t[1];
970
1012
  n !== "index" && (Y[n] = J[e].default);
971
1013
  }
972
- function Et(e) {
1014
+ function At(e) {
973
1015
  return Y[e.split("-")[0]?.toLowerCase() ?? "en"] ?? Y.en ?? q;
974
1016
  }
975
- function Dt(e, t, n) {
976
- let r = Et(e)[t] ?? q[t];
1017
+ function jt(e, t, n) {
1018
+ let r = At(e)[t] ?? q[t];
977
1019
  return n ? r.replace(/\{(\w+)\}/g, (e, t) => {
978
1020
  let r = n[t];
979
1021
  return r === void 0 ? `{${t}}` : String(r);
@@ -982,49 +1024,49 @@ function Dt(e, t, n) {
982
1024
  //#endregion
983
1025
  //#region ../quality/src/url-walker.ts
984
1026
  function X(e) {
985
- let c = [];
986
- return b(e, (e) => {
987
- if (i(e) || s(e) || t(e)) for (let t of N(e.content)) c.push({
988
- url: t.href,
1027
+ let t = [];
1028
+ return x(e, (e) => {
1029
+ if (l(e) || u(e) || s(e)) for (let n of M(e.content)) t.push({
1030
+ url: n.href,
989
1031
  blockId: e.id,
990
1032
  source: "anchor",
991
- label: t.text
1033
+ label: n.text
992
1034
  });
993
- else if (n(e)) c.push({
1035
+ else if (d(e)) t.push({
994
1036
  url: e.url,
995
1037
  blockId: e.id,
996
1038
  source: "button",
997
1039
  label: e.text
998
1040
  });
999
- else if (a(e)) e.linkUrl && e.linkUrl !== "" && c.push({
1041
+ else if (r(e)) e.linkUrl && e.linkUrl !== "" && t.push({
1000
1042
  url: e.linkUrl,
1001
1043
  blockId: e.id,
1002
1044
  source: "image-link",
1003
1045
  label: e.alt || void 0
1004
1046
  });
1005
- else if (o(e)) c.push({
1047
+ else if (ee(e)) t.push({
1006
1048
  url: e.url,
1007
1049
  blockId: e.id,
1008
1050
  source: "video",
1009
1051
  label: e.alt || void 0
1010
1052
  });
1011
- else if (l(e)) for (let t of e.items) c.push({
1012
- url: t.url,
1053
+ else if (c(e)) for (let n of e.items) t.push({
1054
+ url: n.url,
1013
1055
  blockId: e.id,
1014
1056
  source: "menu-item",
1015
- label: t.text
1057
+ label: n.text
1016
1058
  });
1017
- else if (r(e)) for (let t of e.icons) c.push({
1018
- url: t.url,
1059
+ else if (te(e)) for (let n of e.icons) t.push({
1060
+ url: n.url,
1019
1061
  blockId: e.id,
1020
1062
  source: "social-icon",
1021
- label: t.platform
1063
+ label: n.platform
1022
1064
  });
1023
- }), c;
1065
+ }), t;
1024
1066
  }
1025
1067
  //#endregion
1026
1068
  //#region ../quality/src/links/rules/javascript-protocol.ts
1027
- var Ot = {
1069
+ var Mt = {
1028
1070
  id: "link.javascript-protocol",
1029
1071
  severity: "error"
1030
1072
  }, Z = [
@@ -1032,18 +1074,18 @@ var Ot = {
1032
1074
  "data",
1033
1075
  "vbscript"
1034
1076
  ];
1035
- function kt(e) {
1077
+ function Nt(e) {
1036
1078
  if (!e) return null;
1037
1079
  let t = e.replace(/\s+/g, "");
1038
1080
  for (let e of Z) if (RegExp(`^${e}:`, "i").test(t)) return e;
1039
1081
  return null;
1040
1082
  }
1041
- var At = {
1042
- meta: Ot,
1083
+ var Pt = {
1084
+ meta: Mt,
1043
1085
  template(e) {
1044
1086
  let t = [];
1045
1087
  for (let n of X(e)) {
1046
- let e = kt(n.url);
1088
+ let e = Nt(n.url);
1047
1089
  e !== null && t.push({
1048
1090
  blockId: n.blockId,
1049
1091
  params: { protocol: e }
@@ -1051,39 +1093,39 @@ var At = {
1051
1093
  }
1052
1094
  return t;
1053
1095
  }
1054
- }, jt = {
1096
+ }, Ft = {
1055
1097
  id: "link.unsupported-protocol",
1056
1098
  severity: "warning"
1057
- }, Mt = /* @__PURE__ */ new Set([
1099
+ }, It = /* @__PURE__ */ new Set([
1058
1100
  "http",
1059
1101
  "https",
1060
1102
  "mailto",
1061
1103
  "tel",
1062
1104
  "sms"
1063
- ]), Nt = new Set(Z);
1064
- function Pt(e) {
1105
+ ]), Lt = new Set(Z);
1106
+ function Rt(e) {
1065
1107
  if (!e) return null;
1066
1108
  let t = e.trim(), n = /^([a-z][a-z0-9+\-.]*):/i.exec(t);
1067
1109
  return n ? n[1].toLowerCase() : null;
1068
1110
  }
1069
- var Q = {
1070
- meta: jt,
1111
+ var zt = {
1112
+ meta: Ft,
1071
1113
  template(e) {
1072
1114
  let t = [];
1073
1115
  for (let n of X(e)) {
1074
- let e = Pt(n.url);
1075
- e !== null && (Nt.has(e) || Mt.has(e) || t.push({
1116
+ let e = Rt(n.url);
1117
+ e !== null && (Lt.has(e) || It.has(e) || t.push({
1076
1118
  blockId: n.blockId,
1077
1119
  params: { protocol: e }
1078
1120
  }));
1079
1121
  }
1080
1122
  return t;
1081
1123
  }
1082
- }, Ft = {
1124
+ }, Bt = {
1083
1125
  id: "link.malformed-mailto",
1084
1126
  severity: "warning"
1085
1127
  };
1086
- function It(e) {
1128
+ function Vt(e) {
1087
1129
  let t = e.trim();
1088
1130
  if (!/^mailto:/i.test(t)) return !1;
1089
1131
  let [n] = t.slice(7).split("?", 2);
@@ -1098,41 +1140,41 @@ function It(e) {
1098
1140
  }
1099
1141
  return !1;
1100
1142
  }
1101
- var Lt = {
1102
- meta: Ft,
1143
+ var Q = {
1144
+ meta: Bt,
1103
1145
  template(e) {
1104
1146
  let t = [];
1105
- for (let n of X(e)) It(n.url) && t.push({ blockId: n.blockId });
1147
+ for (let n of X(e)) Vt(n.url) && t.push({ blockId: n.blockId });
1106
1148
  return t;
1107
1149
  }
1108
- }, Rt = {
1150
+ }, Ht = {
1109
1151
  id: "link.malformed-tel",
1110
1152
  severity: "warning"
1111
- }, zt = /^[+0-9\s().\-]+$/, Bt = /^[A-Za-z0-9-]+(=[^;]+)?$/;
1112
- function Vt(e) {
1153
+ }, Ut = /^[+0-9\s().\-]+$/, Wt = /^[A-Za-z0-9-]+(=[^;]+)?$/;
1154
+ function Gt(e) {
1113
1155
  let t = e.trim();
1114
1156
  if (!/^tel:/i.test(t)) return !1;
1115
1157
  let n = t.slice(4).trim();
1116
1158
  if (n === "") return !0;
1117
1159
  let [r, ...i] = n.split(";");
1118
- return !zt.test(r) || i.some((e) => !Bt.test(e));
1160
+ return !Ut.test(r) || i.some((e) => !Wt.test(e));
1119
1161
  }
1120
- var Ht = {
1121
- meta: Rt,
1162
+ var Kt = {
1163
+ meta: Ht,
1122
1164
  template(e) {
1123
1165
  let t = [];
1124
- for (let n of X(e)) Vt(n.url) && t.push({ blockId: n.blockId });
1166
+ for (let n of X(e)) Gt(n.url) && t.push({ blockId: n.blockId });
1125
1167
  return t;
1126
1168
  }
1127
- }, Ut = {
1169
+ }, qt = {
1128
1170
  id: "link.localhost-or-staging",
1129
1171
  severity: "warning"
1130
1172
  };
1131
- function Wt(e) {
1173
+ function Jt(e) {
1132
1174
  let t = e.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*");
1133
1175
  return RegExp(`^${t}$`, "i");
1134
1176
  }
1135
- function Gt(e) {
1177
+ function Yt(e) {
1136
1178
  if (!e) return null;
1137
1179
  let t = e.trim();
1138
1180
  if (!/^(https?|ftps?):\/\//i.test(t)) return null;
@@ -1142,48 +1184,63 @@ function Gt(e) {
1142
1184
  return null;
1143
1185
  }
1144
1186
  }
1145
- //#endregion
1146
- //#region ../quality/src/links/index.ts
1147
- var $ = [
1148
- At,
1187
+ var Xt = {
1188
+ meta: qt,
1189
+ template(e, t) {
1190
+ let n = t.links.nonProductionHosts;
1191
+ if (n.length === 0) return [];
1192
+ let r = n.map(Jt), i = [];
1193
+ for (let t of X(e)) {
1194
+ let e = Yt(t.url);
1195
+ e !== null && r.some((t) => t.test(e)) && i.push({
1196
+ blockId: t.blockId,
1197
+ params: { host: e }
1198
+ });
1199
+ }
1200
+ return i;
1201
+ }
1202
+ }, Zt = {
1203
+ id: "link.relative-url",
1204
+ severity: "warning"
1205
+ }, Qt = /^(?:\/|\.{1,2}\/|\?)/, $ = [
1206
+ Pt,
1207
+ zt,
1149
1208
  Q,
1150
- Lt,
1151
- Ht,
1209
+ Kt,
1210
+ Xt,
1152
1211
  {
1153
- meta: Ut,
1154
- template(e, t) {
1155
- let n = t.links.nonProductionHosts;
1156
- if (n.length === 0) return [];
1157
- let r = n.map(Wt), i = [];
1158
- for (let t of X(e)) {
1159
- let e = Gt(t.url);
1160
- e !== null && r.some((t) => t.test(e)) && i.push({
1161
- blockId: t.blockId,
1162
- params: { host: e }
1212
+ meta: Zt,
1213
+ template(e) {
1214
+ let t = [];
1215
+ for (let n of X(e)) {
1216
+ let e = n.url?.trim();
1217
+ e && Qt.test(e) && t.push({
1218
+ blockId: n.blockId,
1219
+ params: { url: e }
1163
1220
  });
1164
1221
  }
1165
- return i;
1222
+ return t;
1166
1223
  }
1167
1224
  }
1168
1225
  ];
1169
- function Kt(e, t = {}) {
1170
- return t.disabled === !0 || t.links === !1 ? [] : x(e, $, ce(t.locale, t.links ?? {}, $), (e, t, n) => Dt(e, t, n));
1226
+ function $t(e, t = {}) {
1227
+ return t.disabled === !0 || t.links === !1 ? [] : S(e, $, ce(t.locale, t.links ?? {}, $), (e, t, n) => jt(e, t, n));
1171
1228
  }
1172
1229
  //#endregion
1173
1230
  //#region ../quality/src/util.ts
1174
- function qt(e) {
1231
+ function en(e) {
1175
1232
  return e ? e.disabled === !0 || e.accessibility === !1 && e.structure === !1 && e.links === !1 : !1;
1176
1233
  }
1177
1234
  //#endregion
1178
1235
  //#region ../quality/src/lint-template.ts
1179
- function Jt(e, t = {}) {
1180
- return qt(t) ? [] : [
1181
- ...ot(e, t),
1182
- ...St(e, t),
1183
- ...Kt(e, t)
1236
+ function tn(e, t = {}) {
1237
+ return en(t) ? [] : [
1238
+ ...ct(e, t),
1239
+ ...Et(e, t),
1240
+ ...$t(e, t)
1184
1241
  ];
1185
1242
  }
1186
1243
  //#endregion
1187
- export { Jt as lintTemplate };
1244
+ export { tn as lintTemplate };
1188
1245
 
1189
- //# sourceMappingURL=src-HA9F2kvk.js.map
1246
+ //# sourceMappingURL=src-CHlVFp7r.js.map