@templatical/editor 0.53.0 → 0.54.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 (198) hide show
  1. package/dist/{AiChatPanel-DdhtfsmO.js → AiChatPanel-C8SeEJRP.js} +8 -8
  2. package/dist/{AiPanels-HBx7xoJR.js → AiPanels-CR6zphjP.js} +1 -1
  3. package/dist/{AiRewriteMenu-DPzSekZt.js → AiRewriteMenu-arKoTjsQ.js} +6 -6
  4. package/dist/{BlockIssueBadge-eIXZJ9M3.js → BlockIssueBadge-DaPTq1RE.js} +2 -2
  5. package/dist/{BlockPreviewCanvas-DO-2TP_6.js → BlockPreviewCanvas-BTieuBmH.js} +3 -3
  6. package/dist/{CloudPanels-i2kZdrdP.js → CloudPanels-Hxdp0doU.js} +3 -3
  7. package/dist/{CollaborationNotices-DANsjl7c.js → CollaborationNotices-Cnx0XHzZ.js} +1 -1
  8. package/dist/{CollaboratorBar-CbbAA0m1.js → CollaboratorBar-BaBoNhwB.js} +1 -1
  9. package/dist/{CommentsPanel-CYW3LWis.js → CommentsPanel-Ck3QmqiC.js} +1 -1
  10. package/dist/{CommentsSidebar-CcF4ISMi.js → CommentsSidebar-CHknhOar.js} +10 -10
  11. package/dist/{CountdownToolbar-D3Lv74kU.js → CountdownToolbar-CM4XNEuO.js} +3 -3
  12. package/dist/{IssuesPanel-BMAG9042.js → IssuesPanel-1wGV0wiy.js} +8 -8
  13. package/dist/{LanguageMenu-FlP_Jbup.js → LanguageMenu-BpxbIJEx.js} +8 -8
  14. package/dist/{LocaleNotices-DAnVszWu.js → LocaleNotices-WzsYtBRs.js} +2 -2
  15. package/dist/{LogicTagInsertButton-BjYs-UQX.js → LogicTagInsertButton-DgTJ6Lvx.js} +3 -3
  16. package/dist/{MediaEditModal-LnG-cF_S.js → MediaEditModal-C3U9Mi31.js} +1 -1
  17. package/dist/{MediaPanels-C2r5fiFo.js → MediaPanels-CGmk9ufe.js} +1 -1
  18. package/dist/{MergeTagInput-BsnogCeY.js → MergeTagInput-B_51YcQO.js} +1 -1
  19. package/dist/{MergeTagModeToggle-DiufIQ-_.js → MergeTagModeToggle-D3Q2z317.js} +3 -3
  20. package/dist/{MergeTagTextarea-BweI-Xsi.js → MergeTagTextarea-DZz1L9DE.js} +2 -2
  21. package/dist/{ParagraphEditor-qgBp5yIB.js → ParagraphEditor-B38t4E2p.js} +16 -15
  22. package/dist/{RestoreVersionDialog-DdYUrFiK.js → RestoreVersionDialog-n7FSmWXB.js} +3 -3
  23. package/dist/{RichTextEditorContent-C5MAzx3E.js → RichTextEditorContent-Dstovi0m.js} +4 -4
  24. package/dist/{SaveBlockDialog-eK6fjtTy.js → SaveBlockDialog-B94NpmDV.js} +7 -7
  25. package/dist/{SavedBlocksBrowserModal-D2QHd2Yp.js → SavedBlocksBrowserModal-C1vSc8iM.js} +9 -9
  26. package/dist/{SavedBlocksPanels-Cl61f4Mf.js → SavedBlocksPanels-DLDmIYeL.js} +1 -1
  27. package/dist/{SavedBlocksPickBar-CXP2dkeB.js → SavedBlocksPickBar-ngf2sFEs.js} +2 -2
  28. package/dist/{TemplateSettings-BKJrdZcH.js → TemplateSettings-Baar78_s.js} +6 -6
  29. package/dist/{TestEmailModal-DQotJg6g.js → TestEmailModal-CB_9I1bl.js} +6 -6
  30. package/dist/{TestEmailPanel-CwiTzJsh.js → TestEmailPanel-BUq-dbXQ.js} +1 -1
  31. package/dist/{TitleEditor-CzSvsPAn.js → TitleEditor-BLP41rwy.js} +10 -9
  32. package/dist/{Toolbar-Cd75ci5W.js → Toolbar-bOZ_eq7X.js} +27 -27
  33. package/dist/{TplModal-ZoXu40T9.js → TplModal-DFKqmJQz.js} +1 -1
  34. package/dist/{VersionHistoryMenu-BvhN-Ofk.js → VersionHistoryMenu-BnP0EyLl.js} +5 -5
  35. package/dist/{VersionHistoryPanels-DPWMnYbd.js → VersionHistoryPanels-DPxj3mec.js} +1 -1
  36. package/dist/{VersionPreviewBanner-CuJnasxH.js → VersionPreviewBanner-BPP939cD.js} +1 -1
  37. package/dist/{WrapperBlock-D4fPwO0t.js → WrapperBlock-BdVIuGMR.js} +2 -2
  38. package/dist/{blockTypeIcons-BXMxu86H.js → blockTypeIcons-BUyPZ7Su.js} +3 -3
  39. package/dist/bundle-stats.json +5 -5
  40. package/dist/cdn/chunks/{AiAltTextPopover-ByZ0FEqI.js → AiAltTextPopover-Cnc_kUmb.js} +2 -2
  41. package/dist/cdn/chunks/{AiAltTextPopover-ByZ0FEqI.js.map → AiAltTextPopover-Cnc_kUmb.js.map} +1 -1
  42. package/dist/cdn/chunks/{AiAltTextReview-Dtm3A2cD.js → AiAltTextReview-DPeSY-7r.js} +2 -2
  43. package/dist/cdn/chunks/{AiAltTextReview-Dtm3A2cD.js.map → AiAltTextReview-DPeSY-7r.js.map} +1 -1
  44. package/dist/cdn/chunks/{AiChatPanel-DciEt27y.js → AiChatPanel-By8Uo1nH.js} +2 -2
  45. package/dist/cdn/chunks/{AiChatPanel-DciEt27y.js.map → AiChatPanel-By8Uo1nH.js.map} +1 -1
  46. package/dist/cdn/chunks/{AiPanels-BV5D1itk.js → AiPanels-BblCSkQy.js} +2 -2
  47. package/dist/cdn/chunks/{AiPanels-BV5D1itk.js.map → AiPanels-BblCSkQy.js.map} +1 -1
  48. package/dist/cdn/chunks/{AiRewriteMenu-D3jkh6Xb.js → AiRewriteMenu-YcVFv6RS.js} +6 -6
  49. package/dist/cdn/chunks/{AiRewriteMenu-D3jkh6Xb.js.map → AiRewriteMenu-YcVFv6RS.js.map} +1 -1
  50. package/dist/cdn/chunks/{BlockIssueBadge-DyEgBZtR.js → BlockIssueBadge-D3Plo_wt.js} +2 -2
  51. package/dist/cdn/chunks/{BlockIssueBadge-DyEgBZtR.js.map → BlockIssueBadge-D3Plo_wt.js.map} +1 -1
  52. package/dist/cdn/chunks/{BlockPreviewCanvas-RQFilqXC.js → BlockPreviewCanvas-6ck15xz9.js} +7 -7
  53. package/dist/cdn/chunks/{BlockPreviewCanvas-RQFilqXC.js.map → BlockPreviewCanvas-6ck15xz9.js.map} +1 -1
  54. package/dist/cdn/chunks/{CloudPanels-BSJ-Z5Hw.js → CloudPanels-BHHpNckC.js} +3 -3
  55. package/dist/cdn/chunks/{CloudPanels-BSJ-Z5Hw.js.map → CloudPanels-BHHpNckC.js.map} +1 -1
  56. package/dist/cdn/chunks/{CollaborationNotices-BS7xrlPE.js → CollaborationNotices-DraFUhyo.js} +2 -2
  57. package/dist/cdn/chunks/{CollaborationNotices-BS7xrlPE.js.map → CollaborationNotices-DraFUhyo.js.map} +1 -1
  58. package/dist/cdn/chunks/{CollaboratorBar-Bc9914Az.js → CollaboratorBar-0OEH3hrj.js} +2 -2
  59. package/dist/cdn/chunks/{CollaboratorBar-Bc9914Az.js.map → CollaboratorBar-0OEH3hrj.js.map} +1 -1
  60. package/dist/cdn/chunks/{CommentsPanel-DbR9phAk.js → CommentsPanel-tZZswofV.js} +2 -2
  61. package/dist/cdn/chunks/{CommentsPanel-DbR9phAk.js.map → CommentsPanel-tZZswofV.js.map} +1 -1
  62. package/dist/cdn/chunks/{CommentsSidebar-BD4--XP2.js → CommentsSidebar-7Hfl3Hdj.js} +2 -2
  63. package/dist/cdn/chunks/{CommentsSidebar-BD4--XP2.js.map → CommentsSidebar-7Hfl3Hdj.js.map} +1 -1
  64. package/dist/cdn/chunks/{CountdownToolbar-DxwYBw-d.js → CountdownToolbar-CNgsNL5-.js} +5 -5
  65. package/dist/cdn/chunks/{CountdownToolbar-DxwYBw-d.js.map → CountdownToolbar-CNgsNL5-.js.map} +1 -1
  66. package/dist/cdn/chunks/{IssuesPanel-CUmI4HMm.js → IssuesPanel-Duic0mIs.js} +4 -4
  67. package/dist/cdn/chunks/{IssuesPanel-CUmI4HMm.js.map → IssuesPanel-Duic0mIs.js.map} +1 -1
  68. package/dist/cdn/chunks/{LanguageMenu-3ydCozQJ.js → LanguageMenu-C6utRx_4.js} +11 -11
  69. package/dist/cdn/chunks/{LanguageMenu-3ydCozQJ.js.map → LanguageMenu-C6utRx_4.js.map} +1 -1
  70. package/dist/cdn/chunks/{LocaleNotices-BfoH6gST.js → LocaleNotices-8J2DRWeg.js} +2 -2
  71. package/dist/cdn/chunks/{LocaleNotices-BfoH6gST.js.map → LocaleNotices-8J2DRWeg.js.map} +1 -1
  72. package/dist/cdn/chunks/{LogicTagInsertButton-5Z3fFzjc.js → LogicTagInsertButton-Bhvi0nWz.js} +5 -5
  73. package/dist/cdn/chunks/{LogicTagInsertButton-5Z3fFzjc.js.map → LogicTagInsertButton-Bhvi0nWz.js.map} +1 -1
  74. package/dist/cdn/chunks/{MediaEditModal-DDCIwr9U.js → MediaEditModal-Dz972UFx.js} +2 -2
  75. package/dist/cdn/chunks/{MediaEditModal-DDCIwr9U.js.map → MediaEditModal-Dz972UFx.js.map} +1 -1
  76. package/dist/cdn/chunks/{MediaPanels-Dz79oy8P.js → MediaPanels-C6Hqtp1H.js} +2 -2
  77. package/dist/cdn/chunks/{MediaPanels-Dz79oy8P.js.map → MediaPanels-C6Hqtp1H.js.map} +1 -1
  78. package/dist/cdn/chunks/{MergeTagInput-CIWy-cXf.js → MergeTagInput-CrhZm-AW.js} +2 -2
  79. package/dist/cdn/chunks/{MergeTagInput-CIWy-cXf.js.map → MergeTagInput-CrhZm-AW.js.map} +1 -1
  80. package/dist/cdn/chunks/{MergeTagModeToggle-BrP5GR-x.js → MergeTagModeToggle-CWVtXLYa.js} +3 -3
  81. package/dist/cdn/chunks/{MergeTagModeToggle-BrP5GR-x.js.map → MergeTagModeToggle-CWVtXLYa.js.map} +1 -1
  82. package/dist/cdn/chunks/{MergeTagTextarea-D3nNDlhV.js → MergeTagTextarea-hTIBwX0F.js} +7 -7
  83. package/dist/cdn/chunks/{MergeTagTextarea-D3nNDlhV.js.map → MergeTagTextarea-hTIBwX0F.js.map} +1 -1
  84. package/dist/cdn/chunks/{ParagraphEditor-DDolH_Pf.js → ParagraphEditor-B3EQ0Ai6.js} +113 -112
  85. package/dist/cdn/chunks/ParagraphEditor-B3EQ0Ai6.js.map +1 -0
  86. package/dist/cdn/chunks/{RestoreVersionDialog-Crj1DBqC.js → RestoreVersionDialog-DfNrVi0R.js} +3 -3
  87. package/dist/cdn/chunks/{RestoreVersionDialog-Crj1DBqC.js.map → RestoreVersionDialog-DfNrVi0R.js.map} +1 -1
  88. package/dist/cdn/chunks/{RichTextEditorContent-rCCqFlwJ.js → RichTextEditorContent-up4AqL7D.js} +4 -4
  89. package/dist/cdn/chunks/{RichTextEditorContent-rCCqFlwJ.js.map → RichTextEditorContent-up4AqL7D.js.map} +1 -1
  90. package/dist/cdn/chunks/{SaveBlockDialog-C34RW1aM.js → SaveBlockDialog-BqglcKcN.js} +6 -6
  91. package/dist/cdn/chunks/{SaveBlockDialog-C34RW1aM.js.map → SaveBlockDialog-BqglcKcN.js.map} +1 -1
  92. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CJnwWPT-.js → SavedBlocksBrowserModal-BewXGlrK.js} +6 -6
  93. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CJnwWPT-.js.map → SavedBlocksBrowserModal-BewXGlrK.js.map} +1 -1
  94. package/dist/cdn/chunks/{SavedBlocksPanels-CA2PqXIH.js → SavedBlocksPanels-0ZpX-jXI.js} +2 -2
  95. package/dist/cdn/chunks/{SavedBlocksPanels-CA2PqXIH.js.map → SavedBlocksPanels-0ZpX-jXI.js.map} +1 -1
  96. package/dist/cdn/chunks/{SavedBlocksPickBar-Dj3ortee.js → SavedBlocksPickBar-DHah-Uf7.js} +3 -3
  97. package/dist/cdn/chunks/{SavedBlocksPickBar-Dj3ortee.js.map → SavedBlocksPickBar-DHah-Uf7.js.map} +1 -1
  98. package/dist/cdn/chunks/{TemplateSettings-sW0ZlDl1.js → TemplateSettings-CWUpUKJb.js} +6 -6
  99. package/dist/cdn/chunks/{TemplateSettings-sW0ZlDl1.js.map → TemplateSettings-CWUpUKJb.js.map} +1 -1
  100. package/dist/cdn/chunks/{TestEmailModal-BXeCtTjU.js → TestEmailModal-7pUDYLrk.js} +7 -7
  101. package/dist/cdn/chunks/{TestEmailModal-BXeCtTjU.js.map → TestEmailModal-7pUDYLrk.js.map} +1 -1
  102. package/dist/cdn/chunks/{TestEmailPanel-CpZcpB9D.js → TestEmailPanel-DBWwMsH1.js} +2 -2
  103. package/dist/cdn/chunks/{TestEmailPanel-CpZcpB9D.js.map → TestEmailPanel-DBWwMsH1.js.map} +1 -1
  104. package/dist/cdn/chunks/{TitleEditor-Bv3SmSO6.js → TitleEditor-VAanUjPQ.js} +9 -8
  105. package/dist/cdn/chunks/TitleEditor-VAanUjPQ.js.map +1 -0
  106. package/dist/cdn/chunks/{Toolbar-BJKpJ2Mg.js → Toolbar-BlWVQRcA.js} +571 -571
  107. package/dist/cdn/chunks/{Toolbar-BJKpJ2Mg.js.map → Toolbar-BlWVQRcA.js.map} +1 -1
  108. package/dist/cdn/chunks/{TplModal-DDDUDMYC.js → TplModal-DDlR7mk3.js} +2 -2
  109. package/dist/cdn/chunks/{TplModal-DDDUDMYC.js.map → TplModal-DDlR7mk3.js.map} +1 -1
  110. package/dist/cdn/chunks/{VersionHistoryMenu-DSElv3Sv.js → VersionHistoryMenu-CZury5gU.js} +4 -4
  111. package/dist/cdn/chunks/{VersionHistoryMenu-DSElv3Sv.js.map → VersionHistoryMenu-CZury5gU.js.map} +1 -1
  112. package/dist/cdn/chunks/{VersionHistoryPanels-H2nuik1l.js → VersionHistoryPanels-DJDeaf1B.js} +2 -2
  113. package/dist/cdn/chunks/{VersionHistoryPanels-H2nuik1l.js.map → VersionHistoryPanels-DJDeaf1B.js.map} +1 -1
  114. package/dist/cdn/chunks/{VersionPreviewBanner-Whwxh55w.js → VersionPreviewBanner-C4Ji8nu4.js} +2 -2
  115. package/dist/cdn/chunks/{VersionPreviewBanner-Whwxh55w.js.map → VersionPreviewBanner-C4Ji8nu4.js.map} +1 -1
  116. package/dist/cdn/chunks/{WrapperBlock-jTqsuLnS.js → WrapperBlock-DRJnrgy-.js} +4 -4
  117. package/dist/cdn/chunks/{WrapperBlock-jTqsuLnS.js.map → WrapperBlock-DRJnrgy-.js.map} +1 -1
  118. package/dist/cdn/chunks/{blockTypeIcons-DMgLcuI8.js → blockTypeIcons-Cc6RJ27V.js} +2 -2
  119. package/dist/cdn/chunks/{blockTypeIcons-DMgLcuI8.js.map → blockTypeIcons-Cc6RJ27V.js.map} +1 -1
  120. package/dist/cdn/chunks/{composables-D0UYam2P.js → composables-Jc3uZuLs.js} +117 -117
  121. package/dist/cdn/chunks/{composables-D0UYam2P.js.map → composables-Jc3uZuLs.js.map} +1 -1
  122. package/dist/cdn/chunks/{createCloudRuntime-BdsclY8_.js → createCloudRuntime-C2Zs5F1O.js} +3 -3
  123. package/dist/cdn/chunks/{createCloudRuntime-BdsclY8_.js.map → createCloudRuntime-C2Zs5F1O.js.map} +1 -1
  124. package/dist/cdn/chunks/{editor-modal-CPbgthOv.js → editor-modal-erQEOHZN.js} +90 -90
  125. package/dist/cdn/chunks/{editor-modal-CPbgthOv.js.map → editor-modal-erQEOHZN.js.map} +1 -1
  126. package/dist/cdn/chunks/en-B6tLGRHq.js +1 -0
  127. package/dist/cdn/chunks/{extensions-Uh9vuFfK.js → extensions-DcMKZpzh.js} +4 -4
  128. package/dist/cdn/chunks/{extensions-Uh9vuFfK.js.map → extensions-DcMKZpzh.js.map} +1 -1
  129. package/dist/cdn/chunks/{icons-CSSMtbGK.js → icons-Da9GKjPx.js} +42 -42
  130. package/dist/cdn/chunks/{icons-CSSMtbGK.js.map → icons-Da9GKjPx.js.map} +1 -1
  131. package/dist/cdn/chunks/{normalizeMergeTagMarkup-oGhwVscw.js → normalizeMergeTagMarkup-cC32Ox6A.js} +23 -23
  132. package/dist/cdn/chunks/{normalizeMergeTagMarkup-oGhwVscw.js.map → normalizeMergeTagMarkup-cC32Ox6A.js.map} +1 -1
  133. package/dist/cdn/chunks/{preRenderCustomBlocks-C8k7tw98.js → preRenderCustomBlocks-f7GEKdvw.js} +4 -4
  134. package/dist/cdn/chunks/{preRenderCustomBlocks-C8k7tw98.js.map → preRenderCustomBlocks-f7GEKdvw.js.map} +1 -1
  135. package/dist/cdn/chunks/{sanitizeHtml-DYklmvgX.js → sanitizeHtml-WTfz9lZd.js} +2 -2
  136. package/dist/cdn/chunks/{sanitizeHtml-DYklmvgX.js.map → sanitizeHtml-WTfz9lZd.js.map} +1 -1
  137. package/dist/cdn/chunks/{socialIcons-BAiuHyJs.js → socialIcons-DeCYorUT.js} +493 -493
  138. package/dist/cdn/chunks/{socialIcons-BAiuHyJs.js.map → socialIcons-DeCYorUT.js.map} +1 -1
  139. package/dist/cdn/chunks/{src-Ddpm4HsS.js → src-8bYYJPCt.js} +237 -179
  140. package/dist/cdn/chunks/src-8bYYJPCt.js.map +1 -0
  141. package/dist/cdn/chunks/{src-DheBmnvF.js → src-A_cKeTM_.js} +263 -263
  142. package/dist/cdn/chunks/{src-DheBmnvF.js.map → src-A_cKeTM_.js.map} +1 -1
  143. package/dist/cdn/chunks/{src-CACM3o--.js → src-BQUv2CYU.js} +152 -152
  144. package/dist/cdn/chunks/{src-CACM3o--.js.map → src-BQUv2CYU.js.map} +1 -1
  145. package/dist/cdn/chunks/useLocalizedDisplay-aGfnO90D.js +33 -0
  146. package/dist/cdn/chunks/{useLocalizedDisplay-yXbRKNrs.js.map → useLocalizedDisplay-aGfnO90D.js.map} +1 -1
  147. package/dist/cdn/chunks/{useLogicTag-B7RpqVFQ.js → useLogicTag-DtYe8HIq.js} +2 -2
  148. package/dist/cdn/chunks/{useLogicTag-B7RpqVFQ.js.map → useLogicTag-DtYe8HIq.js.map} +1 -1
  149. package/dist/cdn/chunks/{useMergeTag-C-32ETjj.js → useMergeTag-B8ULmsnp.js} +2 -2
  150. package/dist/cdn/chunks/{useMergeTag-C-32ETjj.js.map → useMergeTag-B8ULmsnp.js.map} +1 -1
  151. package/dist/cdn/chunks/{withCurrentFont-D33ZXoWp.js → withCurrentFont-MK8ga9q9.js} +2 -2
  152. package/dist/cdn/chunks/{withCurrentFont-D33ZXoWp.js.map → withCurrentFont-MK8ga9q9.js.map} +1 -1
  153. package/dist/cdn/editor.js +262 -262
  154. package/dist/cdn/editor.js.map +1 -1
  155. package/dist/{check-ChQ0l8EQ.js → check-XMnOOIEC.js} +1 -1
  156. package/dist/{chevron-down-Bh6cp6PI.js → chevron-down-DmamTEWQ.js} +1 -1
  157. package/dist/{chevron-right-LUgdqdoW.js → chevron-right-BEFXOH27.js} +1 -1
  158. package/dist/{chevron-up-XsDeJxQN.js → chevron-up-Dw7woXj8.js} +1 -1
  159. package/dist/{circle-alert-lODfDsrj.js → circle-alert-BTKC9vkq.js} +1 -1
  160. package/dist/{clock-DrqFEZkT.js → clock-BVT5u2uG.js} +1 -1
  161. package/dist/{composables-BOP3ERRP.js → composables-XjYKaKhY.js} +13 -13
  162. package/dist/{createLucideIcon-Dw5e5gVE.js → createLucideIcon-CgDE3xAR.js} +5 -5
  163. package/dist/{editor-modal-B_2EAOjN.js → editor-modal-BeX6otLk.js} +15 -15
  164. package/dist/en-Do0SU6tR.js +1 -0
  165. package/dist/{extensions-DOLZkLzV.js → extensions-BJ184osp.js} +1 -1
  166. package/dist/{eye-DChfk0gi.js → eye-ByMgHeA_.js} +1 -1
  167. package/dist/{image--Hj2by1G.js → image-Ch8tR35K.js} +1 -1
  168. package/dist/{info-BbXgy82f.js → info-DzSD-Wpk.js} +1 -1
  169. package/dist/{link-C2_8yJno.js → link-oDn9AR2w.js} +1 -1
  170. package/dist/{list-DLGs2n0V.js → list-C5t07dp8.js} +1 -1
  171. package/dist/{loader-circle-BbDItE_O.js → loader-circle-k6xvKgUB.js} +1 -1
  172. package/dist/{message-circle-NAModq0p.js → message-circle-C23R6OJR.js} +1 -1
  173. package/dist/{package-BuzsfRyH.js → package-C90eQ7NU.js} +1 -1
  174. package/dist/{pencil-BTUUECH4.js → pencil-BK7GrQuA.js} +1 -1
  175. package/dist/{plus-Dm7DN65T.js → plus-Cr0Mis63.js} +1 -1
  176. package/dist/{refresh-cw-xMURqGWi.js → refresh-cw-_ZLOIEvA.js} +1 -1
  177. package/dist/{rotate-ccw-DqVcEIn5.js → rotate-ccw-CB5wsHwv.js} +1 -1
  178. package/dist/{sanitizeHtml-mKgNUdME.js → sanitizeHtml-2rjV0r-6.js} +1 -1
  179. package/dist/{search-Cfr3W44N.js → search-BmrQNox8.js} +1 -1
  180. package/dist/{send-CH1SrvyB.js → send-blAsIBBg.js} +1 -1
  181. package/dist/{smartphone-pAkvzjdI.js → smartphone-BPpWYrwV.js} +1 -1
  182. package/dist/{socialIcons-Dqr4DJOz.js → socialIcons-TFiOkpoU.js} +3 -3
  183. package/dist/{sparkles-CRO0cCnp.js → sparkles-OqIxrNp-.js} +1 -1
  184. package/dist/{square-CaQWMntx.js → square-BP-V7iT-.js} +1 -1
  185. package/dist/templatical-editor.js +29 -29
  186. package/dist/{text-align-start-BQ39AaRK.js → text-align-start-4mwX2o-F.js} +13 -13
  187. package/dist/{trash-BL5gEFHN.js → trash-B99WixTA.js} +1 -1
  188. package/dist/{triangle-alert-BYbKu7zZ.js → triangle-alert-CHMiDkHa.js} +1 -1
  189. package/dist/{upload-BhmL4Vqx.js → upload-Cp8o-hrN.js} +1 -1
  190. package/dist/{useScrollToBlock-C0Kapxdh.js → useScrollToBlock-B35ObCGK.js} +1 -1
  191. package/dist/{x-B7NZYzhx.js → x-BIBStNMS.js} +1 -1
  192. package/package.json +8 -8
  193. package/dist/cdn/chunks/ParagraphEditor-DDolH_Pf.js.map +0 -1
  194. package/dist/cdn/chunks/TitleEditor-Bv3SmSO6.js.map +0 -1
  195. package/dist/cdn/chunks/en-IYVryJRl.js +0 -1
  196. package/dist/cdn/chunks/src-Ddpm4HsS.js.map +0 -1
  197. package/dist/cdn/chunks/useLocalizedDisplay-yXbRKNrs.js +0 -33
  198. package/dist/en-DTtwco2Q.js +0 -1
@@ -1,20 +1,20 @@
1
1
  import { n as e } from "./rolldown-runtime-QGRDbDUS.js";
2
- import { $ as t, Dt as n, E as r, Et as i, Ft as a, Ht as o, Jt as s, Lt as c, S as l, St as u, Tt as d, Xt as f, _t as p, at as m, bt as h, dn as g, ft as _, gt as ee, it as te, m as ne, mn as re, on as ie, pt as ae, qt as oe, vt as v, wt as se, yt as y } from "./src-CACM3o--.js";
3
- import { t as b } from "./htmlparser-hu3YnNQU.js";
2
+ import { $ as t, Ct as n, Dt as r, E as i, Et as a, It as o, Jt as s, Ot as c, Rt as l, S as u, Tt as d, Ut as f, Yt as p, Zt as m, _t as h, at as ee, bt as g, fn as _, hn as te, it as ne, m as re, mt as ie, pt as v, sn as ae, vt as y, xt as b, yt as x } from "./src-BQUv2CYU.js";
3
+ import { t as oe } from "./htmlparser-hu3YnNQU.js";
4
4
  // ../quality/src/types.ts
5
- var ce = { minTextLength: 200 }, le = { maxHtmlBytes: 92160 }, ue = {
5
+ var se = { minTextLength: 200 }, ce = { maxHtmlBytes: 92160 }, le = {
6
6
  altMaxLength: 125,
7
7
  minFontSize: 14,
8
8
  allCapsMinLength: 20,
9
9
  minTouchTargetPx: 44
10
- }, de = [
10
+ }, ue = [
11
11
  "localhost",
12
12
  "127.0.0.1",
13
13
  "0.0.0.0",
14
14
  "*.local",
15
15
  "*.staging.*",
16
16
  "*.dev.*"
17
- ], fe = [
17
+ ], de = [
18
18
  "bit.ly",
19
19
  "buff.ly",
20
20
  "cutt.ly",
@@ -34,82 +34,82 @@ var ce = { minTextLength: 200 }, le = { maxHtmlBytes: 92160 }, ue = {
34
34
  "v.gd"
35
35
  ];
36
36
  // ../quality/src/contrast.ts
37
- function pe(e, t) {
38
- let n = x(e), r = x(t);
37
+ function fe(e, t) {
38
+ let n = S(e), r = S(t);
39
39
  if (!n || !r) return NaN;
40
- let i = _e(n), a = _e(r), o = Math.max(i, a), s = Math.min(i, a);
40
+ let i = ge(n), a = ge(r), o = Math.max(i, a), s = Math.min(i, a);
41
41
  return (o + .05) / (s + .05);
42
42
  }
43
- var me = /^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i, he = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i, ge = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i;
44
- function x(e) {
43
+ var pe = /^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i, me = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i, he = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i;
44
+ function S(e) {
45
45
  if (typeof e != "string") return null;
46
- let t = e.trim(), n = ge.exec(t);
46
+ let t = e.trim(), n = he.exec(t);
47
47
  if (n) return n[4].toLowerCase() === "ff" ? {
48
48
  r: parseInt(n[1], 16),
49
49
  g: parseInt(n[2], 16),
50
50
  b: parseInt(n[3], 16)
51
51
  } : null;
52
- let r = he.exec(t);
52
+ let r = me.exec(t);
53
53
  if (r) return {
54
54
  r: parseInt(r[1], 16),
55
55
  g: parseInt(r[2], 16),
56
56
  b: parseInt(r[3], 16)
57
57
  };
58
- let i = me.exec(t);
58
+ let i = pe.exec(t);
59
59
  return i ? {
60
60
  r: parseInt(i[1] + i[1], 16),
61
61
  g: parseInt(i[2] + i[2], 16),
62
62
  b: parseInt(i[3] + i[3], 16)
63
63
  } : null;
64
64
  }
65
- function S(e) {
66
- return x(e ?? "") !== null;
65
+ function C(e) {
66
+ return S(e ?? "") !== null;
67
67
  }
68
- function _e({ r: e, g: t, b: n }) {
69
- let r = C(e / 255), i = C(t / 255), a = C(n / 255);
68
+ function ge({ r: e, g: t, b: n }) {
69
+ let r = w(e / 255), i = w(t / 255), a = w(n / 255);
70
70
  return .2126 * r + .7152 * i + .0722 * a;
71
71
  }
72
- function C(e) {
72
+ function w(e) {
73
73
  return e <= .03928 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4;
74
74
  }
75
75
  // ../quality/src/walk.ts
76
- var ve = "#ffffff", ye = "#1a1a1a";
77
- function w(e, t) {
78
- let r = S(e.settings.backgroundColor) ? e.settings.backgroundColor.toLowerCase() : ve, i = S(e.settings.textColor) ? e.settings.textColor.toLowerCase() : ye, a = (e, r) => {
79
- let i = e.styles?.backgroundColor, o = S(i) ? i.toLowerCase() : r.resolvedBackgroundColor;
80
- if (t(e, o === r.resolvedBackgroundColor ? r : {
81
- ...r,
82
- resolvedBackgroundColor: o
83
- }), n(e)) for (let t of e.children) a(t, {
76
+ var _e = "#ffffff", ve = "#1a1a1a";
77
+ function T(e, t) {
78
+ let n = C(e.settings.backgroundColor) ? e.settings.backgroundColor.toLowerCase() : _e, r = C(e.settings.textColor) ? e.settings.textColor.toLowerCase() : ve, i = (e, n) => {
79
+ let r = e.styles?.backgroundColor, a = C(r) ? r.toLowerCase() : n.resolvedBackgroundColor;
80
+ if (t(e, a === n.resolvedBackgroundColor ? n : {
81
+ ...n,
82
+ resolvedBackgroundColor: a
83
+ }), c(e)) for (let t of e.children) i(t, {
84
84
  parent: e,
85
- section: r.section,
85
+ section: n.section,
86
86
  columnIndex: null,
87
- depth: r.depth + 1,
88
- resolvedBackgroundColor: o,
89
- resolvedTextColor: r.resolvedTextColor
87
+ depth: n.depth + 1,
88
+ resolvedBackgroundColor: a,
89
+ resolvedTextColor: n.resolvedTextColor
90
90
  });
91
- else h(e) && e.children.forEach((t, n) => {
92
- t.forEach((t) => a(t, {
91
+ else b(e) && e.children.forEach((t, r) => {
92
+ t.forEach((t) => i(t, {
93
93
  parent: e,
94
94
  section: e,
95
- columnIndex: n,
96
- depth: r.depth + 1,
97
- resolvedBackgroundColor: o,
98
- resolvedTextColor: r.resolvedTextColor
95
+ columnIndex: r,
96
+ depth: n.depth + 1,
97
+ resolvedBackgroundColor: a,
98
+ resolvedTextColor: n.resolvedTextColor
99
99
  }));
100
100
  });
101
101
  };
102
- for (let t of e.blocks) a(t, {
102
+ for (let t of e.blocks) i(t, {
103
103
  parent: null,
104
104
  section: null,
105
105
  columnIndex: null,
106
106
  depth: 0,
107
- resolvedBackgroundColor: r,
108
- resolvedTextColor: i
107
+ resolvedBackgroundColor: n,
108
+ resolvedTextColor: r
109
109
  });
110
110
  }
111
111
  // ../quality/src/run-rules.ts
112
- function T(e, t, n, r) {
112
+ function E(e, t, n, r) {
113
113
  let i = [];
114
114
  function a(e, i, a) {
115
115
  let o = a.messageVariant ? `${e}.${a.messageVariant}` : e, s = r(n.locale, o, a.params);
@@ -124,7 +124,7 @@ function T(e, t, n, r) {
124
124
  fix: a.fix
125
125
  };
126
126
  }
127
- w(e, (e, r) => {
127
+ T(e, (e, r) => {
128
128
  for (let o of t) {
129
129
  let t = n.severity(o.meta.id);
130
130
  if (t === "off" || !o.block) continue;
@@ -140,14 +140,14 @@ function T(e, t, n, r) {
140
140
  }
141
141
  return i;
142
142
  }
143
- function E(e) {
143
+ function D(e) {
144
144
  let t = e.overrides ?? {}, n = {
145
- ...ue,
145
+ ...le,
146
146
  ...e.thresholds ?? {}
147
- }, r = { nonProductionHosts: e.nonProductionHosts ?? de }, i = {
148
- minTextLength: e.deliverabilityThresholds?.minTextLength ?? ce.minTextLength,
149
- shortenerHosts: e.shortenerHosts ?? fe
150
- }, a = { maxHtmlBytes: e.compatibilityThresholds?.maxHtmlBytes ?? le.maxHtmlBytes }, o = e.locale ?? "en", s = e.rules;
147
+ }, r = { nonProductionHosts: e.nonProductionHosts ?? ue }, i = {
148
+ minTextLength: e.deliverabilityThresholds?.minTextLength ?? se.minTextLength,
149
+ shortenerHosts: e.shortenerHosts ?? de
150
+ }, a = { maxHtmlBytes: e.compatibilityThresholds?.maxHtmlBytes ?? ce.maxHtmlBytes }, o = e.locale ?? "en", s = e.rules;
151
151
  return {
152
152
  locale: o,
153
153
  rules: t,
@@ -161,8 +161,8 @@ function E(e) {
161
161
  }
162
162
  };
163
163
  }
164
- function be(e, t, n) {
165
- return E({
164
+ function ye(e, t, n) {
165
+ return D({
166
166
  locale: e,
167
167
  rules: n,
168
168
  overrides: t.rules,
@@ -172,8 +172,8 @@ function be(e, t, n) {
172
172
  shortenerHosts: t.shortenerHosts
173
173
  });
174
174
  }
175
- function xe(e, t, n) {
176
- return E({
175
+ function be(e, t, n) {
176
+ return D({
177
177
  locale: e,
178
178
  rules: n,
179
179
  overrides: t.rules,
@@ -182,8 +182,8 @@ function xe(e, t, n) {
182
182
  compatibilityThresholds: t.thresholds
183
183
  });
184
184
  }
185
- function Se(e, t, n) {
186
- return E({
185
+ function xe(e, t, n) {
186
+ return D({
187
187
  locale: e,
188
188
  rules: n,
189
189
  overrides: t.rules,
@@ -191,8 +191,8 @@ function Se(e, t, n) {
191
191
  nonProductionHosts: void 0
192
192
  });
193
193
  }
194
- function Ce(e, t, n) {
195
- return E({
194
+ function Se(e, t, n) {
195
+ return D({
196
196
  locale: e,
197
197
  rules: n,
198
198
  overrides: t.rules,
@@ -200,8 +200,8 @@ function Ce(e, t, n) {
200
200
  nonProductionHosts: void 0
201
201
  });
202
202
  }
203
- function we(e, t, n) {
204
- return E({
203
+ function Ce(e, t, n) {
204
+ return D({
205
205
  locale: e,
206
206
  rules: n,
207
207
  overrides: t.rules,
@@ -210,7 +210,7 @@ function we(e, t, n) {
210
210
  });
211
211
  }
212
212
  // ../quality/src/accessibility/messages/de.ts
213
- var Te = /* @__PURE__ */ e({ default: () => Ee }), Ee = {
213
+ var we = /* @__PURE__ */ e({ default: () => Te }), Te = {
214
214
  "a11y.img-missing-alt": {
215
215
  message: "Bild ohne Alt-Text.",
216
216
  suggestion: "Füge eine kurze Beschreibung hinzu oder markiere das Bild als dekorativ."
@@ -295,7 +295,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ee }), Ee = {
295
295
  message: "Kein Preheader-Text gesetzt, daher zeigen Postfächer Bruchstücke des ersten Blocks.",
296
296
  suggestion: "Ergänze einen Preheader-Text als Vorschau auf die E-Mail."
297
297
  }
298
- }, De = /* @__PURE__ */ e({ default: () => D }), D = {
298
+ }, Ee = /* @__PURE__ */ e({ default: () => O }), O = {
299
299
  "a11y.img-missing-alt": {
300
300
  message: "Image is missing alt text.",
301
301
  suggestion: "Add a short description, or mark the image as decorative."
@@ -382,7 +382,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ee }), Ee = {
382
382
  }
383
383
  };
384
384
  // ../quality/src/format-message.ts
385
- function O(e, t) {
385
+ function k(e, t) {
386
386
  if (!t) return e;
387
387
  let n = (e) => e.replace(/\{(\w+)\}/g, (e, n) => {
388
388
  let r = t[n];
@@ -394,59 +394,59 @@ function O(e, t) {
394
394
  };
395
395
  }
396
396
  // ../quality/src/accessibility/messages/index.ts
397
- var Oe = /* #__PURE__ */ Object.assign({
398
- "./de.ts": Te,
399
- "./en.ts": De
400
- }), k = {};
401
- for (let e in Oe) {
397
+ var De = /* #__PURE__ */ Object.assign({
398
+ "./de.ts": we,
399
+ "./en.ts": Ee
400
+ }), A = {};
401
+ for (let e in De) {
402
402
  let t = /\.\/([^/]+)\.ts$/.exec(e);
403
403
  if (!t) continue;
404
404
  let n = t[1];
405
- n !== "index" && (k[n] = Oe[e].default);
405
+ n !== "index" && (A[n] = De[e].default);
406
406
  }
407
- function ke(e) {
408
- return k[e.split("-")[0]?.toLowerCase() ?? "en"] ?? k.en ?? D;
407
+ function Oe(e) {
408
+ return A[e.split("-")[0]?.toLowerCase() ?? "en"] ?? A.en ?? O;
409
409
  }
410
- function Ae(e, t, n) {
411
- return O(ke(e)[t] ?? D[t], n);
410
+ function ke(e, t, n) {
411
+ return k(Oe(e)[t] ?? O[t], n);
412
412
  }
413
- var je = {
413
+ var Ae = {
414
414
  meta: {
415
415
  id: "a11y.img-missing-alt",
416
416
  reference: "https://www.w3.org/WAI/tutorials/images/",
417
417
  severity: "error"
418
418
  },
419
419
  block(e) {
420
- return !p(e) || e.decorative === !0 || (e.alt?.trim() ?? "") !== "" || (e.src ?? "").trim() === "" ? null : { blockId: e.id };
420
+ return !y(e) || e.decorative === !0 || (e.alt?.trim() ?? "") !== "" || (e.src ?? "").trim() === "" ? null : { blockId: e.id };
421
421
  }
422
- }, Me = {
422
+ }, je = {
423
423
  id: "a11y.img-alt-is-filename",
424
424
  reference: "https://docs.templatical.com/quality/accessibility/rule-catalog#images",
425
425
  severity: "warning"
426
- }, Ne = [
426
+ }, Me = [
427
427
  /\.(jpe?g|png|gif|webp|svg)$/i,
428
428
  /^IMG[_-]?\d+/i,
429
429
  /^Untitled/i,
430
430
  /^Screen[\s_-]?Shot/i,
431
431
  /^DSC[_-]?\d+/i
432
- ], Pe = {
433
- meta: Me,
432
+ ], Ne = {
433
+ meta: je,
434
434
  block(e) {
435
- if (!p(e) || e.decorative === !0) return null;
435
+ if (!y(e) || e.decorative === !0) return null;
436
436
  let t = e.alt?.trim() ?? "";
437
- return t === "" || !Ne.some((e) => e.test(t)) ? null : {
437
+ return t === "" || !Me.some((e) => e.test(t)) ? null : {
438
438
  blockId: e.id,
439
439
  params: { alt: t }
440
440
  };
441
441
  }
442
- }, Fe = {
442
+ }, Pe = {
443
443
  meta: {
444
444
  id: "a11y.img-alt-too-long",
445
445
  reference: "https://docs.templatical.com/quality/accessibility/rule-catalog#images",
446
446
  severity: "warning"
447
447
  },
448
448
  block(e, t, n) {
449
- if (!p(e) || e.decorative === !0) return null;
449
+ if (!y(e) || e.decorative === !0) return null;
450
450
  let r = e.alt ?? "";
451
451
  return r.length <= n.thresholds.altMaxLength ? null : {
452
452
  blockId: e.id,
@@ -456,14 +456,14 @@ var je = {
456
456
  }
457
457
  };
458
458
  }
459
- }, Ie = {
459
+ }, Fe = {
460
460
  meta: {
461
461
  id: "a11y.img-decorative-needs-empty-alt",
462
462
  reference: "https://docs.templatical.com/quality/accessibility/rule-catalog#images",
463
463
  severity: "info"
464
464
  },
465
465
  block(e) {
466
- return !p(e) || e.decorative !== !0 || (e.alt ?? "").trim() === "" ? null : {
466
+ return !y(e) || e.decorative !== !0 || (e.alt ?? "").trim() === "" ? null : {
467
467
  blockId: e.id,
468
468
  fix: {
469
469
  description: "Clear alt text",
@@ -471,7 +471,7 @@ var je = {
471
471
  }
472
472
  };
473
473
  }
474
- }, Le = /* @__PURE__ */ e({ default: () => Re }), Re = {
474
+ }, Ie = /* @__PURE__ */ e({ default: () => Le }), Le = {
475
475
  vagueLinkText: [
476
476
  "hier klicken",
477
477
  "hier",
@@ -514,7 +514,7 @@ var je = {
514
514
  "anschauen",
515
515
  "jetzt"
516
516
  ]
517
- }, ze = /* @__PURE__ */ e({ default: () => Be }), Be = {
517
+ }, Re = /* @__PURE__ */ e({ default: () => ze }), ze = {
518
518
  vagueLinkText: [
519
519
  "click here",
520
520
  "here",
@@ -555,51 +555,51 @@ var je = {
555
555
  "redeem",
556
556
  "watch"
557
557
  ]
558
- }, Ve = /* #__PURE__ */ Object.assign({
559
- "./de.ts": Le,
560
- "./en.ts": ze
561
- }), He = {};
562
- for (let e in Ve) {
558
+ }, Be = /* #__PURE__ */ Object.assign({
559
+ "./de.ts": Ie,
560
+ "./en.ts": Re
561
+ }), Ve = {};
562
+ for (let e in Be) {
563
563
  let t = /\.\/([^/]+)\.ts$/.exec(e);
564
564
  if (!t) continue;
565
565
  let n = t[1];
566
- n !== "index" && (He[n] = Ve[e].default);
567
- }
568
- function A(e) {
569
- return Ue;
566
+ n !== "index" && (Ve[n] = Be[e].default);
570
567
  }
571
568
  function j(e) {
569
+ return He;
570
+ }
571
+ function M(e) {
572
572
  let t = /* @__PURE__ */ new Set();
573
- for (let n of Object.values(He)) for (let r of e(n)) t.add(r);
573
+ for (let n of Object.values(Ve)) for (let r of e(n)) t.add(r);
574
574
  return Array.from(t);
575
575
  }
576
- var Ue = {
577
- vagueLinkText: j((e) => e.vagueLinkText),
578
- vagueButtonLabels: j((e) => e.vagueButtonLabels),
579
- linkedImageActionHints: j((e) => e.linkedImageActionHints)
576
+ var He = {
577
+ vagueLinkText: M((e) => e.vagueLinkText),
578
+ vagueButtonLabels: M((e) => e.vagueButtonLabels),
579
+ linkedImageActionHints: M((e) => e.linkedImageActionHints)
580
580
  };
581
- function We(e) {
581
+ function Ue(e) {
582
582
  return e.toLowerCase().replace(/\s+/g, " ").replace(/^[^\p{L}\p{N}]+|[^\p{L}\p{N}]+$/gu, "").trim();
583
583
  }
584
- var Ge = {
584
+ var We = {
585
585
  meta: {
586
586
  id: "a11y.img-linked-no-context",
587
587
  reference: "https://docs.templatical.com/quality/accessibility/rule-catalog#images",
588
588
  severity: "warning"
589
589
  },
590
590
  block(e, t, n) {
591
- if (!p(e) || e.decorative === !0 || !e.linkUrl || e.linkUrl.trim() === "") return null;
591
+ if (!y(e) || e.decorative === !0 || !e.linkUrl || e.linkUrl.trim() === "") return null;
592
592
  let r = (e.alt ?? "").trim();
593
593
  if (r === "") return null;
594
- let i = r.toLocaleLowerCase().split(/[^\p{L}\p{N}]+/u).filter(Boolean), a = A(n.locale).linkedImageActionHints;
594
+ let i = r.toLocaleLowerCase().split(/[^\p{L}\p{N}]+/u).filter(Boolean), a = j(n.locale).linkedImageActionHints;
595
595
  return i.some((e) => a.includes(e)) ? null : { blockId: e.id };
596
596
  }
597
597
  };
598
598
  // ../quality/src/html-utils.ts
599
- function M(e) {
599
+ function N(e) {
600
600
  let t = [], n = null, r = "", i = () => {
601
601
  n !== null && (n.text = r.trim(), t.push(n), n = null, r = "");
602
- }, a = new b({
602
+ }, a = new oe({
603
603
  onopentag(e, t) {
604
604
  e === "a" ? (i(), n = {
605
605
  href: t.href ?? "",
@@ -618,8 +618,8 @@ function M(e) {
618
618
  });
619
619
  return a.write(e), a.end(), i(), t;
620
620
  }
621
- function Ke(e) {
622
- let t = qe(e).matchAll(/<\/?a\b[^<>]*>/gi), n = 0;
621
+ function Ge(e) {
622
+ let t = Ke(e).matchAll(/<\/?a\b[^<>]*>/gi), n = 0;
623
623
  for (let e of t) if (e[0].startsWith("</")) n > 0 && n--;
624
624
  else {
625
625
  if (n > 0) return !0;
@@ -627,7 +627,7 @@ function Ke(e) {
627
627
  }
628
628
  return !1;
629
629
  }
630
- function qe(e) {
630
+ function Ke(e) {
631
631
  let t = "", n = 0;
632
632
  for (; n < e.length;) {
633
633
  let r = e.indexOf("<!--", n);
@@ -642,35 +642,35 @@ function qe(e) {
642
642
  }
643
643
  return t;
644
644
  }
645
- function N(e) {
646
- let t = "", n = new b({ ontext(e) {
645
+ function P(e) {
646
+ let t = "", n = new oe({ ontext(e) {
647
647
  t += e;
648
648
  } });
649
649
  return n.write(e), n.end(), t.trim();
650
650
  }
651
- var Je = {
651
+ var qe = {
652
652
  meta: {
653
653
  id: "a11y.heading-empty",
654
654
  reference: "https://docs.templatical.com/quality/accessibility/rule-catalog#headings",
655
655
  severity: "error"
656
656
  },
657
657
  block(e) {
658
- return !d(e) || N(e.content ?? "") !== "" ? null : { blockId: e.id };
658
+ return !a(e) || P(e.content ?? "") !== "" ? null : { blockId: e.id };
659
659
  }
660
- }, Ye = {
660
+ }, Je = {
661
661
  id: "a11y.heading-skip-level",
662
662
  reference: "https://docs.templatical.com/quality/accessibility/rule-catalog#headings",
663
663
  severity: "error"
664
664
  };
665
- function Xe(e, t) {
666
- for (let n of e) if (d(n)) t.push(n);
667
- else if (h(n)) for (let e of n.children) Xe(e, t);
665
+ function Ye(e, t) {
666
+ for (let n of e) if (a(n)) t.push(n);
667
+ else if (b(n)) for (let e of n.children) Ye(e, t);
668
668
  }
669
- var Ze = {
670
- meta: Ye,
669
+ var Xe = {
670
+ meta: Je,
671
671
  template(e) {
672
672
  let t = [];
673
- Xe(e.blocks, t);
673
+ Ye(e.blocks, t);
674
674
  let n = [], r = 0;
675
675
  for (let e of t) r !== 0 && e.level > r + 1 && n.push({
676
676
  blockId: e.id,
@@ -681,52 +681,52 @@ var Ze = {
681
681
  }), r = e.level;
682
682
  return n;
683
683
  }
684
- }, Qe = {
684
+ }, Ze = {
685
685
  id: "a11y.heading-multiple-h1",
686
686
  reference: "https://docs.templatical.com/quality/accessibility/rule-catalog#headings",
687
687
  severity: "warning"
688
688
  };
689
- function $e(e, t) {
690
- for (let n of e) if (d(n)) t.push(n);
691
- else if (h(n)) for (let e of n.children) $e(e, t);
689
+ function Qe(e, t) {
690
+ for (let n of e) if (a(n)) t.push(n);
691
+ else if (b(n)) for (let e of n.children) Qe(e, t);
692
692
  }
693
- var et = {
694
- meta: Qe,
693
+ var $e = {
694
+ meta: Ze,
695
695
  template(e) {
696
696
  let t = [];
697
- $e(e.blocks, t);
697
+ Qe(e.blocks, t);
698
698
  let n = t.filter((e) => e.level === 1);
699
699
  return n.length <= 1 ? [] : n.slice(1).map((e) => ({ blockId: e.id }));
700
700
  }
701
- }, tt = {
701
+ }, et = {
702
702
  id: "a11y.link-empty",
703
703
  reference: "https://docs.templatical.com/quality/accessibility/rule-catalog#links",
704
704
  severity: "error"
705
705
  };
706
- function nt(e) {
707
- return y(e) || d(e) ? e.content : null;
706
+ function tt(e) {
707
+ return g(e) || a(e) ? e.content : null;
708
708
  }
709
- var rt = {
710
- meta: tt,
709
+ var nt = {
710
+ meta: et,
711
711
  block(e) {
712
- let t = nt(e);
713
- return t === null || !M(t).find((e) => e.text === "" && !e.hasImageWithAlt) ? null : { blockId: e.id };
712
+ let t = tt(e);
713
+ return t === null || !N(t).find((e) => e.text === "" && !e.hasImageWithAlt) ? null : { blockId: e.id };
714
714
  }
715
- }, it = {
715
+ }, rt = {
716
716
  id: "a11y.link-vague-text",
717
717
  reference: "https://docs.templatical.com/quality/accessibility/rule-catalog#links",
718
718
  severity: "warning"
719
719
  };
720
- function at(e) {
721
- return y(e) || d(e) ? e.content : null;
720
+ function it(e) {
721
+ return g(e) || a(e) ? e.content : null;
722
722
  }
723
- var ot = {
724
- meta: it,
723
+ var at = {
724
+ meta: rt,
725
725
  block(e, t, n) {
726
- let r = at(e);
726
+ let r = it(e);
727
727
  if (r === null) return null;
728
- let i = A(n.locale).vagueLinkText, a = M(r).find((e) => {
729
- let t = We(e.text);
728
+ let i = j(n.locale).vagueLinkText, a = N(r).find((e) => {
729
+ let t = Ue(e.text);
730
730
  return t !== "" && i.includes(t);
731
731
  });
732
732
  return a ? {
@@ -734,55 +734,55 @@ var ot = {
734
734
  params: { text: a.text }
735
735
  } : null;
736
736
  }
737
- }, st = {
737
+ }, ot = {
738
738
  id: "a11y.link-href-empty",
739
739
  reference: "https://docs.templatical.com/quality/accessibility/rule-catalog#links",
740
740
  severity: "error"
741
741
  };
742
- function ct(e) {
743
- return y(e) || d(e) ? e.content : null;
742
+ function st(e) {
743
+ return g(e) || a(e) ? e.content : null;
744
744
  }
745
- var lt = {
746
- meta: st,
745
+ var ct = {
746
+ meta: ot,
747
747
  block(e) {
748
- let t = ct(e);
749
- return t === null || !M(t).find((e) => {
748
+ let t = st(e);
749
+ return t === null || !N(t).find((e) => {
750
750
  let t = e.href.trim();
751
751
  return t === "" || t === "#";
752
752
  }) ? null : { blockId: e.id };
753
753
  }
754
- }, ut = {
754
+ }, lt = {
755
755
  id: "a11y.link-target-blank-no-rel",
756
756
  reference: "https://docs.templatical.com/quality/accessibility/rule-catalog#links",
757
757
  severity: "warning"
758
758
  };
759
- function dt(e) {
760
- return y(e) || d(e) ? e.content : null;
759
+ function ut(e) {
760
+ return g(e) || a(e) ? e.content : null;
761
761
  }
762
- function ft(e) {
762
+ function dt(e) {
763
763
  if (e === null) return !1;
764
764
  let t = e.toLowerCase().split(/\s+/);
765
765
  return t.includes("noopener") || t.includes("noreferrer");
766
766
  }
767
- var pt = {
768
- meta: ut,
767
+ var ft = {
768
+ meta: lt,
769
769
  block(e) {
770
- let t = dt(e);
771
- return t === null || !M(t).find((e) => e.target === "_blank" && !ft(e.rel)) ? null : {
770
+ let t = ut(e);
771
+ return t === null || !N(t).find((e) => e.target === "_blank" && !dt(e.rel)) ? null : {
772
772
  blockId: e.id,
773
773
  fix: {
774
774
  description: "Add rel=\"noopener\"",
775
775
  apply: (t) => {
776
- if (!y(e) && !d(e)) return;
777
- let n = _t(e.content ?? "");
776
+ if (!g(e) && !a(e)) return;
777
+ let n = gt(e.content ?? "");
778
778
  t.updateBlock(e.id, { content: n });
779
779
  }
780
780
  }
781
781
  };
782
782
  }
783
- }, mt = /([^\s"'>/=]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'=<>`]+)))?/g;
784
- function ht(e) {
785
- let t = [], n = new RegExp(mt.source, mt.flags), r;
783
+ }, pt = /([^\s"'>/=]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'=<>`]+)))?/g;
784
+ function mt(e) {
785
+ let t = [], n = new RegExp(pt.source, pt.flags), r;
786
786
  for (; (r = n.exec(e)) !== null;) t.push({
787
787
  raw: r[0],
788
788
  name: r[1],
@@ -791,13 +791,13 @@ function ht(e) {
791
791
  });
792
792
  return t;
793
793
  }
794
- function gt(e) {
794
+ function ht(e) {
795
795
  return e.some((e) => e.name.toLowerCase() === "target" && e.value !== null && e.value.toLowerCase() === "_blank");
796
796
  }
797
- function _t(e) {
797
+ function gt(e) {
798
798
  return e.replace(/<a\b([^>]*)>/gi, (e, t) => {
799
- let n = ht(t);
800
- if (!gt(n)) return e;
799
+ let n = mt(t);
800
+ if (!ht(n)) return e;
801
801
  let r = n.find((e) => e.name.toLowerCase() === "rel");
802
802
  if (r) {
803
803
  let n = (r.value ?? "").toLowerCase().split(/\s+/);
@@ -809,43 +809,43 @@ function _t(e) {
809
809
  });
810
810
  }
811
811
  // ../quality/src/accessibility/rules/link-nested-anchor.ts
812
- var vt = {
812
+ var _t = {
813
813
  id: "a11y.link-nested-anchor",
814
814
  reference: "https://docs.templatical.com/quality/accessibility/rule-catalog#links",
815
815
  severity: "error"
816
816
  };
817
- function yt(e) {
818
- return y(e) || d(e) ? e.content : null;
817
+ function vt(e) {
818
+ return g(e) || a(e) ? e.content : null;
819
819
  }
820
- var bt = {
821
- meta: vt,
820
+ var yt = {
821
+ meta: _t,
822
822
  block(e) {
823
- let t = yt(e);
824
- return t === null || !Ke(t) ? null : { blockId: e.id };
823
+ let t = vt(e);
824
+ return t === null || !Ge(t) ? null : { blockId: e.id };
825
825
  }
826
- }, xt = {
826
+ }, bt = {
827
827
  meta: {
828
828
  id: "a11y.text-all-caps",
829
829
  reference: "https://docs.templatical.com/quality/accessibility/rule-catalog#text",
830
830
  severity: "warning"
831
831
  },
832
832
  block(e, t, n) {
833
- if (!y(e) && !d(e)) return null;
834
- let r = N(e.content ?? "").replace(/[^\p{L}]/gu, "");
833
+ if (!g(e) && !a(e)) return null;
834
+ let r = P(e.content ?? "").replace(/[^\p{L}]/gu, "");
835
835
  return r.length < n.thresholds.allCapsMinLength || ![...r].some((e) => e.toLocaleLowerCase() !== e.toLocaleUpperCase()) || r !== r.toLocaleUpperCase() ? null : { blockId: e.id };
836
836
  }
837
- }, St = {
837
+ }, xt = {
838
838
  id: "a11y.text-justified",
839
839
  reference: "https://www.w3.org/WAI/WCAG21/Understanding/visual-presentation",
840
840
  severity: "warning"
841
- }, Ct = /(^|;)\s*text-align\s*:\s*([^;]*)/i, wt = /\sstyle\s*=\s*(?:"([^"]*)"|'([^']*)')/gi;
842
- function Tt(e) {
843
- let t = [], n = new RegExp(wt.source, wt.flags), r;
841
+ }, St = /(^|;)\s*text-align\s*:\s*([^;]*)/i, Ct = /\sstyle\s*=\s*(?:"([^"]*)"|'([^']*)')/gi;
842
+ function wt(e) {
843
+ let t = [], n = new RegExp(Ct.source, Ct.flags), r;
844
844
  for (; (r = n.exec(e)) !== null;) t.push(r[1] ?? r[2] ?? "");
845
845
  return t;
846
846
  }
847
- function P(e) {
848
- let t = Ct.exec(e);
847
+ function Tt(e) {
848
+ let t = St.exec(e);
849
849
  return t !== null && t[2].trim().toLowerCase() === "justify";
850
850
  }
851
851
  function Et(e) {
@@ -854,20 +854,20 @@ function Et(e) {
854
854
  function Dt(e) {
855
855
  return e.replace(/\sstyle\s*=\s*(?:"([^"]*)"|'([^']*)')/gi, (e, t, n) => {
856
856
  let r = t ?? n ?? "";
857
- if (!P(r)) return e;
857
+ if (!Tt(r)) return e;
858
858
  let i = Et(r);
859
859
  return i === "" ? "" : ` style="${i}"`;
860
860
  });
861
861
  }
862
862
  var Ot = {
863
- meta: St,
863
+ meta: xt,
864
864
  block(e) {
865
- return !y(e) || !Tt(e.content ?? "").some(P) ? null : {
865
+ return !g(e) || !wt(e.content ?? "").some(Tt) ? null : {
866
866
  blockId: e.id,
867
867
  fix: {
868
868
  description: "Remove justified alignment",
869
869
  apply: (t) => {
870
- y(e) && t.updateBlock(e.id, { content: Dt(e.content ?? "") });
870
+ g(e) && t.updateBlock(e.id, { content: Dt(e.content ?? "") });
871
871
  }
872
872
  }
873
873
  };
@@ -879,10 +879,10 @@ var Ot = {
879
879
  severity: "error"
880
880
  },
881
881
  block(e, t) {
882
- if (!d(e)) return null;
882
+ if (!a(e)) return null;
883
883
  let n = e.color ?? t.resolvedTextColor;
884
- if (!S(n) || !S(t.resolvedBackgroundColor)) return null;
885
- let r = re[e.level] >= 24 ? 3 : 4.5, i = pe(n, t.resolvedBackgroundColor);
884
+ if (!C(n) || !C(t.resolvedBackgroundColor)) return null;
885
+ let r = te[e.level] >= 24 ? 3 : 4.5, i = fe(n, t.resolvedBackgroundColor);
886
886
  return Number.isNaN(i) || i >= r ? null : {
887
887
  blockId: e.id,
888
888
  params: {
@@ -897,24 +897,24 @@ var Ot = {
897
897
  severity: "warning"
898
898
  };
899
899
  function jt(e) {
900
- return v(e) || se(e) ? e.fontSize : null;
900
+ return x(e) || d(e) ? e.fontSize : null;
901
901
  }
902
902
  // ../quality/src/accessibility/index.ts
903
903
  var Mt = [
904
- je,
904
+ Ae,
905
+ Ne,
905
906
  Pe,
906
907
  Fe,
907
- Ie,
908
- Ge,
909
- Je,
910
- Ze,
911
- et,
912
- rt,
913
- ot,
914
- lt,
915
- pt,
908
+ We,
909
+ qe,
910
+ Xe,
911
+ $e,
912
+ nt,
913
+ at,
914
+ ct,
915
+ ft,
916
+ yt,
916
917
  bt,
917
- xt,
918
918
  Ot,
919
919
  kt,
920
920
  {
@@ -937,9 +937,9 @@ var Mt = [
937
937
  severity: "warning"
938
938
  },
939
939
  block(e, t, n) {
940
- if (!_(e)) return null;
941
- let r = We(e.text ?? "");
942
- return r === "" || !A(n.locale).vagueButtonLabels.includes(r) ? null : {
940
+ if (!v(e)) return null;
941
+ let r = Ue(e.text ?? "");
942
+ return r === "" || !j(n.locale).vagueButtonLabels.includes(r) ? null : {
943
943
  blockId: e.id,
944
944
  params: { text: e.text }
945
945
  };
@@ -952,7 +952,7 @@ var Mt = [
952
952
  severity: "warning"
953
953
  },
954
954
  block(e, t, n) {
955
- if (!_(e)) return null;
955
+ if (!v(e)) return null;
956
956
  let r = e.buttonPadding;
957
957
  if (!r) return null;
958
958
  let i = e.fontSize * 1.4 + r.top + r.bottom;
@@ -972,8 +972,8 @@ var Mt = [
972
972
  severity: "error"
973
973
  },
974
974
  block(e) {
975
- if (!_(e)) return null;
976
- let t = pe(e.textColor, e.backgroundColor);
975
+ if (!v(e)) return null;
976
+ let t = fe(e.textColor, e.backgroundColor);
977
977
  if (Number.isNaN(t)) return null;
978
978
  let n = e.fontSize >= 24 ? 3 : 4.5;
979
979
  return t >= n ? null : {
@@ -997,7 +997,7 @@ var Mt = [
997
997
  }
998
998
  ];
999
999
  function Nt(e, t = {}) {
1000
- return t.disabled === !0 || t.accessibility === !1 ? [] : T(e, Mt, Se(t.locale, t.accessibility ?? {}, Mt), (e, t, n) => Ae(e, t, n));
1000
+ return t.disabled === !0 || t.accessibility === !1 ? [] : E(e, Mt, xe(t.locale, t.accessibility ?? {}, Mt), (e, t, n) => ke(e, t, n));
1001
1001
  }
1002
1002
  // ../quality/src/structure/messages/de.ts
1003
1003
  var Pt = /* @__PURE__ */ e({ default: () => Ft }), Ft = {
@@ -1096,7 +1096,7 @@ function Rt(e) {
1096
1096
  return I[e.split("-")[0]?.toLowerCase() ?? "en"] ?? I.en ?? F;
1097
1097
  }
1098
1098
  function zt(e, t, n) {
1099
- return O(Rt(e)[t] ?? F[t], n);
1099
+ return k(Rt(e)[t] ?? F[t], n);
1100
1100
  }
1101
1101
  // ../quality/src/structure/rules/duplicate-block-id.ts
1102
1102
  var Bt = {
@@ -1105,7 +1105,7 @@ var Bt = {
1105
1105
  severity: "error"
1106
1106
  };
1107
1107
  function Vt(e, t) {
1108
- for (let n of e) if (t.set(n.id, (t.get(n.id) ?? 0) + 1), h(n)) for (let e of n.children) Vt(e, t);
1108
+ for (let n of e) if (t.set(n.id, (t.get(n.id) ?? 0) + 1), b(n)) for (let e of n.children) Vt(e, t);
1109
1109
  }
1110
1110
  var Ht = {
1111
1111
  meta: Bt,
@@ -1126,7 +1126,7 @@ var Ht = {
1126
1126
  };
1127
1127
  function Wt(e, t) {
1128
1128
  for (let n of e) {
1129
- if (!h(n)) continue;
1129
+ if (!b(n)) continue;
1130
1130
  let e = n;
1131
1131
  e.children.length > 1 && e.children.forEach((n, r) => {
1132
1132
  n.length === 0 && t.push({
@@ -1154,7 +1154,7 @@ function qt(e) {
1154
1154
  var Jt = {
1155
1155
  meta: Kt,
1156
1156
  block(e) {
1157
- if (!h(e)) return null;
1157
+ if (!b(e)) return null;
1158
1158
  let t = e;
1159
1159
  return qt(t) ? {
1160
1160
  blockId: t.id,
@@ -1179,8 +1179,8 @@ var Jt = {
1179
1179
  ]
1180
1180
  },
1181
1181
  block(e) {
1182
- if (!h(e)) return null;
1183
- let t = ie(e);
1182
+ if (!b(e)) return null;
1183
+ let t = ae(e);
1184
1184
  return t === null || t.applied ? null : {
1185
1185
  blockId: e.id,
1186
1186
  messageVariant: t.reason
@@ -1189,7 +1189,7 @@ var Jt = {
1189
1189
  };
1190
1190
  // ../quality/src/structure/band.ts
1191
1191
  function Xt(e, t) {
1192
- return e.wrapper ? e.wrapper : t.parent && n(t.parent) ? {
1192
+ return e.wrapper ? e.wrapper : t.parent && c(t.parent) ? {
1193
1193
  backgroundColor: t.parent.styles?.backgroundColor,
1194
1194
  backgroundImage: t.parent.backgroundImage
1195
1195
  } : null;
@@ -1206,9 +1206,9 @@ var Qt = {
1206
1206
  severity: "warning"
1207
1207
  },
1208
1208
  block(e, t) {
1209
- if (!h(e) || g(e.backgroundImage) === null) return null;
1209
+ if (!b(e) || _(e.backgroundImage) === null) return null;
1210
1210
  let n = Xt(e, t);
1211
- return n === null || g(n.backgroundImage) === null ? null : { blockId: e.id };
1211
+ return n === null || _(n.backgroundImage) === null ? null : { blockId: e.id };
1212
1212
  }
1213
1213
  }, $t = {
1214
1214
  meta: {
@@ -1217,7 +1217,7 @@ var Qt = {
1217
1217
  severity: "error"
1218
1218
  },
1219
1219
  block(e, t) {
1220
- return !h(e) || t.section === null ? null : {
1220
+ return !b(e) || t.section === null ? null : {
1221
1221
  blockId: e.id,
1222
1222
  params: { parentId: t.section.id }
1223
1223
  };
@@ -1239,7 +1239,7 @@ var nn = [
1239
1239
  {
1240
1240
  meta: en,
1241
1241
  block(e) {
1242
- if (!h(e)) return null;
1242
+ if (!b(e)) return null;
1243
1243
  let t = e, n = tn(t.columns), r = t.children.length;
1244
1244
  return r === n ? null : {
1245
1245
  blockId: t.id,
@@ -1258,7 +1258,7 @@ var nn = [
1258
1258
  severity: "warning"
1259
1259
  },
1260
1260
  block(e, t) {
1261
- if (!h(e) || g(e.backgroundImage) === null) return null;
1261
+ if (!b(e) || _(e.backgroundImage) === null) return null;
1262
1262
  let n = Xt(e, t);
1263
1263
  return n === null || !Zt(n.backgroundColor) ? null : { blockId: e.id };
1264
1264
  }
@@ -1267,7 +1267,7 @@ var nn = [
1267
1267
  Yt
1268
1268
  ];
1269
1269
  function rn(e, t = {}) {
1270
- return t.disabled === !0 || t.structure === !1 ? [] : T(e, nn, Ce(t.locale, t.structure ?? {}, nn), (e, t, n) => zt(e, t, n));
1270
+ return t.disabled === !0 || t.structure === !1 ? [] : E(e, nn, Se(t.locale, t.structure ?? {}, nn), (e, t, n) => zt(e, t, n));
1271
1271
  }
1272
1272
  // ../quality/src/links/messages/de.ts
1273
1273
  var an = /* @__PURE__ */ e({ default: () => on }), on = {
@@ -1334,43 +1334,43 @@ function ln(e) {
1334
1334
  return R[e.split("-")[0]?.toLowerCase() ?? "en"] ?? R.en ?? L;
1335
1335
  }
1336
1336
  function un(e, t, n) {
1337
- return O(ln(e)[t] ?? L[t], n);
1337
+ return k(ln(e)[t] ?? L[t], n);
1338
1338
  }
1339
1339
  // ../quality/src/url-walker.ts
1340
1340
  function z(e) {
1341
1341
  let t = [];
1342
- return w(e, (e) => {
1343
- if (d(e) || y(e) || ee(e)) for (let n of M(e.content)) t.push({
1342
+ return T(e, (e) => {
1343
+ if (a(e) || g(e) || h(e)) for (let n of N(e.content)) t.push({
1344
1344
  url: n.href,
1345
1345
  blockId: e.id,
1346
1346
  source: "anchor",
1347
1347
  label: n.text
1348
1348
  });
1349
- else if (_(e)) t.push({
1349
+ else if (v(e)) t.push({
1350
1350
  url: e.url,
1351
1351
  blockId: e.id,
1352
1352
  source: "button",
1353
1353
  label: e.text
1354
1354
  });
1355
- else if (p(e)) e.linkUrl && e.linkUrl !== "" && t.push({
1355
+ else if (y(e)) e.linkUrl && e.linkUrl !== "" && t.push({
1356
1356
  url: e.linkUrl,
1357
1357
  blockId: e.id,
1358
1358
  source: "image-link",
1359
1359
  label: e.alt || void 0
1360
1360
  });
1361
- else if (i(e)) t.push({
1361
+ else if (r(e)) t.push({
1362
1362
  url: e.url,
1363
1363
  blockId: e.id,
1364
1364
  source: "video",
1365
1365
  label: e.alt || void 0
1366
1366
  });
1367
- else if (v(e)) for (let n of e.items) t.push({
1367
+ else if (x(e)) for (let n of e.items) t.push({
1368
1368
  url: n.url,
1369
1369
  blockId: e.id,
1370
1370
  source: "menu-item",
1371
1371
  label: n.text
1372
1372
  });
1373
- else if (u(e)) for (let n of e.icons) t.push({
1373
+ else if (n(e)) for (let n of e.icons) t.push({
1374
1374
  url: n.url,
1375
1375
  blockId: e.id,
1376
1376
  source: "social-icon",
@@ -1383,9 +1383,9 @@ var dn = {
1383
1383
  id: "link.javascript-protocol",
1384
1384
  reference: "https://docs.templatical.com/quality/links/rule-catalog#dangerous-protocols",
1385
1385
  severity: "error"
1386
- }, fn = l;
1386
+ }, fn = u;
1387
1387
  function pn(e) {
1388
- let t = r(e), n = r(e.replace(/\s+/g, ""));
1388
+ let t = i(e), n = i(e.replace(/\s+/g, ""));
1389
1389
  return fn.find((e) => e === t || e === n) ?? null;
1390
1390
  }
1391
1391
  var mn = {
@@ -1537,7 +1537,7 @@ var jn = {
1537
1537
  }
1538
1538
  ];
1539
1539
  function Fn(e, t = {}) {
1540
- return t.disabled === !0 || t.links === !1 ? [] : T(e, Pn, we(t.locale, t.links ?? {}, Pn), (e, t, n) => un(e, t, n));
1540
+ return t.disabled === !0 || t.links === !1 ? [] : E(e, Pn, Ce(t.locale, t.links ?? {}, Pn), (e, t, n) => un(e, t, n));
1541
1541
  }
1542
1542
  // ../quality/src/deliverability/messages/de.ts
1543
1543
  var In = /* @__PURE__ */ e({ default: () => Ln }), Ln = {
@@ -1588,7 +1588,7 @@ function Bn(e) {
1588
1588
  return V[e.split("-")[0]?.toLowerCase() ?? "en"] ?? V.en ?? B;
1589
1589
  }
1590
1590
  function Vn(e, t, n) {
1591
- return O(Bn(e)[t] ?? B[t], n);
1591
+ return k(Bn(e)[t] ?? B[t], n);
1592
1592
  }
1593
1593
  // ../quality/src/deliverability/same-site.ts
1594
1594
  var Hn = "ac.jp ac.uk co.at co.id co.il co.in co.jp co.kr co.nz co.uk co.za com.ar com.au com.br com.cn com.co com.hk com.mx com.my com.ph com.pl com.sg com.tr com.tw com.ua edu.au go.jp gov.au gov.uk ltd.uk me.uk ne.jp net.au net.br net.cn net.in net.nz or.at or.jp or.kr org.au org.br org.cn org.in org.nz org.uk plc.uk".split(" "), Un = new Set(Hn);
@@ -1692,24 +1692,24 @@ var Yn = [
1692
1692
  severity: "info"
1693
1693
  },
1694
1694
  template(e, t) {
1695
- let n = !1, r = !1, a = [];
1696
- if (w(e, (e) => {
1697
- if (e.type === "custom" && (n = !0), (p(e) && e.src.trim() !== "" || i(e) || ae(e)) && (r = !0), (d(e) || y(e) || ee(e)) && a.push(N(e.content)), se(e)) for (let t of e.rows) for (let e of t.cells) a.push(N(e.content));
1698
- if (_(e) && a.push(e.text), v(e)) for (let t of e.items) a.push(t.text);
1699
- }), n || !r) return [];
1700
- let o = a.join(" ").replace(/\s+/g, " ").trim().length, s = t.deliverability.minTextLength;
1701
- return o < s ? [{
1695
+ let n = !1, i = !1, o = [];
1696
+ if (T(e, (e) => {
1697
+ if (e.type === "custom" && (n = !0), (y(e) && e.src.trim() !== "" || r(e) || ie(e)) && (i = !0), (a(e) || g(e) || h(e)) && o.push(P(e.content)), d(e)) for (let t of e.rows) for (let e of t.cells) o.push(P(e.content));
1698
+ if (v(e) && o.push(e.text), x(e)) for (let t of e.items) o.push(t.text);
1699
+ }), n || !i) return [];
1700
+ let s = o.join(" ").replace(/\s+/g, " ").trim().length, c = t.deliverability.minTextLength;
1701
+ return s < c ? [{
1702
1702
  blockId: null,
1703
1703
  params: {
1704
- count: o,
1705
- min: s
1704
+ count: s,
1705
+ min: c
1706
1706
  }
1707
1707
  }] : [];
1708
1708
  }
1709
1709
  }
1710
1710
  ];
1711
1711
  function Xn(e, t = {}) {
1712
- return t.disabled === !0 || t.deliverability === !1 ? [] : T(e, Yn, be(t.locale, t.deliverability ?? {}, Yn), (e, t, n) => Vn(e, t, n));
1712
+ return t.disabled === !0 || t.deliverability === !1 ? [] : E(e, Yn, ye(t.locale, t.deliverability ?? {}, Yn), (e, t, n) => Vn(e, t, n));
1713
1713
  }
1714
1714
  // ../quality/src/compatibility/data/caniemail.generated.ts
1715
1715
  var Zn = {
@@ -3869,7 +3869,7 @@ function nr(e, t = "", n = []) {
3869
3869
  if (i) r.css.push(...tr(e, t, n, !0, `${a}`));
3870
3870
  else for (let [i, o] of e.split("}").entries()) r.css.push(...tr(o, t, n, !1, `${a}:${i}`));
3871
3871
  };
3872
- return new b({
3872
+ return new oe({
3873
3873
  onopentag(e, t) {
3874
3874
  r.tags.push({
3875
3875
  tag: e,
@@ -4241,14 +4241,14 @@ function xr(e) {
4241
4241
  }
4242
4242
  function Sr(e, t, n = {}) {
4243
4243
  let r = xr(e), i = r.hand[t];
4244
- if (i) return O(i, n);
4244
+ if (i) return k(i, n);
4245
4245
  let a = t.slice(7), o = r.features[a];
4246
4246
  if (!o) throw Error(`Missing compatibility message: ${t}`);
4247
- let s = n.unsupported && n.partial ? "mixed" : n.unsupported ? "unsupported" : "partial", c = O({
4247
+ let s = n.unsupported && n.partial ? "mixed" : n.unsupported ? "unsupported" : "partial", c = k({
4248
4248
  message: o.feature,
4249
4249
  suggestion: o.suggestion
4250
4250
  }, n);
4251
- return O({
4251
+ return k({
4252
4252
  message: r.templates[s],
4253
4253
  suggestion: c.suggestion
4254
4254
  }, {
@@ -4293,7 +4293,7 @@ var Cr = "https://docs.templatical.com/quality/compatibility/rule-catalog", wr =
4293
4293
  }
4294
4294
  ];
4295
4295
  function Tr(e, t, n) {
4296
- let r = n.compatibility || {}, i = xe(n.locale, r, J), a = [];
4296
+ let r = n.compatibility || {}, i = be(n.locale, r, J), a = [];
4297
4297
  for (let n of J) {
4298
4298
  let o = n.meta.id;
4299
4299
  if (o === "compat.gmail-clipping" || i.severity(o) === "off") continue;
@@ -4323,14 +4323,14 @@ function Tr(e, t, n) {
4323
4323
  function Er(e, t = {}) {
4324
4324
  if (t.disabled === !0 || t.compatibility === !1) return [];
4325
4325
  let n = [], r = /* @__PURE__ */ new WeakMap();
4326
- return w(e, (e) => {
4326
+ return T(e, (e) => {
4327
4327
  let i = r.get(e);
4328
4328
  i || (i = rr(e), r.set(e, i)), n.push(...Tr(i, e.id, t));
4329
4329
  }), n;
4330
4330
  }
4331
4331
  function Dr(e, t = {}) {
4332
4332
  if (t.disabled === !0 || t.compatibility === !1) return [];
4333
- let n = xe(t.locale, t.compatibility || {}, J), r = J.find((e) => e.meta.id === "compat.gmail-clipping"), i = n.severity(r.meta.id);
4333
+ let n = be(t.locale, t.compatibility || {}, J), r = J.find((e) => e.meta.id === "compat.gmail-clipping"), i = n.severity(r.meta.id);
4334
4334
  return i === "off" ? [] : r.compiledHtml(e, n).map((e) => ({
4335
4335
  blockId: null,
4336
4336
  ruleId: r.meta.id,
@@ -4380,20 +4380,20 @@ function Mr(e) {
4380
4380
  return X[e.split("-")[0]?.toLowerCase() ?? "en"] ?? X.en ?? Y;
4381
4381
  }
4382
4382
  function Nr(e, t, n) {
4383
- return O(Mr(e)[t] ?? Y[t], n);
4383
+ return k(Mr(e)[t] ?? Y[t], n);
4384
4384
  }
4385
4385
  // ../quality/src/localization/rules.ts
4386
4386
  function Z(e, n) {
4387
4387
  let r = /* @__PURE__ */ new Map();
4388
- w(e, (e) => {
4389
- for (let i of f(e, n.customBlocks)) r.set(`${e.id}/${i}`, {
4388
+ T(e, (e) => {
4389
+ for (let i of m(e, n.customBlocks)) r.set(`${e.id}/${i}`, {
4390
4390
  blockId: e.id,
4391
4391
  field: i,
4392
4392
  target: e,
4393
4393
  format: e.type === "html" || t[e.type]?.includes(i) ? "html" : "text"
4394
4394
  });
4395
4395
  });
4396
- for (let t of a) r.set(`settings/${t}`, {
4396
+ for (let t of o) r.set(`settings/${t}`, {
4397
4397
  blockId: null,
4398
4398
  field: t,
4399
4399
  target: e.settings,
@@ -4408,12 +4408,12 @@ function Q({ blockId: e, field: t }) {
4408
4408
  };
4409
4409
  }
4410
4410
  function $(e, t) {
4411
- return o(e, t.contentLocale, t.customBlocks);
4411
+ return f(e, t.contentLocale, t.customBlocks);
4412
4412
  }
4413
4413
  function Pr(e, t, n) {
4414
4414
  let r = [], i = "\0MT";
4415
4415
  for (; e.includes(i);) i += "_";
4416
- let a = n === "html" ? te(e, (e) => {
4416
+ let a = n === "html" ? ne(e, (e) => {
4417
4417
  let t = r.push(e) - 1;
4418
4418
  return `${i}${t}\u0000`;
4419
4419
  }) : e, o = Array.from(a.matchAll(RegExp(`${i}\\d+\u0000`, "g")), (e) => ({
@@ -4427,7 +4427,7 @@ function Pr(e, t, n) {
4427
4427
  o.some((e) => t < e.end && r > e.start) || s.some((e) => t < e.end && r > e.start) || s.push({
4428
4428
  start: t,
4429
4429
  end: r,
4430
- value: n === "html" ? m(e[0]) : e[0]
4430
+ value: n === "html" ? ee(e[0]) : e[0]
4431
4431
  });
4432
4432
  }
4433
4433
  }
@@ -4463,10 +4463,10 @@ var Fr = [
4463
4463
  reference: "https://docs.templatical.com/guide/localized-templates#merge-tags"
4464
4464
  },
4465
4465
  template: (e, t) => {
4466
- let n = Z(e, t), r = $(e, t), i = ne(t.mergeTagSyntax);
4466
+ let n = Z(e, t), r = $(e, t), i = re(t.mergeTagSyntax);
4467
4467
  return [...r.translated, ...r.stale].flatMap((e) => {
4468
- let r = n.get(e), { target: a, field: o, format: s } = r, c = oe(a, o), l = a?.l10n?.[t.contentLocale]?.text?.[o]?.value;
4469
- return typeof c != "string" || l === void 0 || JSON.stringify(Pr(c, i, s)) === JSON.stringify(Pr(l, i, s)) ? [] : [Q(r)];
4468
+ let r = n.get(e), { target: a, field: o, format: c } = r, l = s(a, o), u = a?.l10n?.[t.contentLocale]?.text?.[o]?.value;
4469
+ return typeof l != "string" || u === void 0 || JSON.stringify(Pr(l, i, c)) === JSON.stringify(Pr(u, i, c)) ? [] : [Q(r)];
4470
4470
  });
4471
4471
  }
4472
4472
  }
@@ -4474,9 +4474,9 @@ var Fr = [
4474
4474
  // ../quality/src/localization/index.ts
4475
4475
  function Ir(e, t = {}) {
4476
4476
  if (t.disabled === !0 || t.localization === !1) return [];
4477
- let n = t.contentLocale ?? c(e);
4478
- return n === c(e) ? [] : (e.settings.locales?.includes(n) || s(e, n), T(e, Fr, {
4479
- ...E({
4477
+ let n = t.contentLocale ?? l(e);
4478
+ return n === l(e) ? [] : (e.settings.locales?.includes(n) || p(e, n), E(e, Fr, {
4479
+ ...D({
4480
4480
  locale: t.locale,
4481
4481
  rules: Fr,
4482
4482
  overrides: t.localization?.rules,
@@ -4495,7 +4495,7 @@ function Lr(e) {
4495
4495
  // ../quality/src/lint-template.ts
4496
4496
  function Rr(e, t = {}) {
4497
4497
  if (Lr(t)) return [];
4498
- let n = c(e), r = t.contentLocale ?? n, i = s(e, r), a = [
4498
+ let n = l(e), r = t.contentLocale ?? n, i = p(e, r), a = [
4499
4499
  ...Nt(i, t),
4500
4500
  ...rn(i, t),
4501
4501
  ...Fn(i, t),
@@ -4511,4 +4511,4 @@ function Rr(e, t = {}) {
4511
4511
  }
4512
4512
  export { Dr as lintCompiledHtml, Rr as lintTemplate };
4513
4513
 
4514
- //# sourceMappingURL=src-DheBmnvF.js.map
4514
+ //# sourceMappingURL=src-A_cKeTM_.js.map