@templatical/editor 0.51.1 → 0.52.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 (380) hide show
  1. package/THIRD_PARTY_NOTICES.md +208 -0
  2. package/dist/{AiAltTextPopover-BZQ95GXL.js → AiAltTextPopover-DawbUywc.js} +16 -17
  3. package/dist/{AiAltTextReview-DoBEudnE.js → AiAltTextReview-9ySsXOTU.js} +25 -26
  4. package/dist/{AiChatPanel-Bs6sES3b.js → AiChatPanel-CupPhmsN.js} +141 -143
  5. package/dist/{AiPanels-CfN7A-ZA.js → AiPanels-DqT4PgQ0.js} +6 -8
  6. package/dist/{AiRewriteMenu-C3ZfDDYy.js → AiRewriteMenu-28agTycW.js} +66 -67
  7. package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
  8. package/dist/{BlockPreviewCanvas-BXNLLLYi.js → BlockPreviewCanvas-B-4bmJ3t.js} +26 -27
  9. package/dist/{CloudHeaderExtras-CsJMEiyN.js → CloudHeaderExtras-QI82yF54.js} +4 -5
  10. package/dist/{CloudPanels-B4F5m7vy.js → CloudPanels-BKJaLkUN.js} +52 -53
  11. package/dist/{CollaborationNotices-CNuDp7Y2.js → CollaborationNotices-CTw4JThq.js} +12 -13
  12. package/dist/{CollaboratorBar-BtHPiuHq.js → CollaboratorBar-CXQqN3VP.js} +16 -17
  13. package/dist/{CommentsPanel-CyCM-BvT.js → CommentsPanel-DwwFuh1h.js} +3 -5
  14. package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
  15. package/dist/{CountdownBlock-DR4Xm2-T.js → CountdownBlock-CU2yTWtF.js} +21 -22
  16. package/dist/{CountdownToolbar-CEIMPojJ.js → CountdownToolbar-BqoYzf_6.js} +55 -56
  17. package/dist/IssuesPanel-4ykrf1ax.js +359 -0
  18. package/dist/{LoadingTrack-B0RKQWq3.js → LoadingTrack-DM4g6j7b.js} +3 -4
  19. package/dist/{LogicTagInsertButton-CqfU52CO.js → LogicTagInsertButton-CfscnwCn.js} +243 -250
  20. package/dist/{MediaEditModal-DHtkZ4OU.js → MediaEditModal-Dy08GEwE.js} +449 -452
  21. package/dist/{MediaPanels-CGcOB2pR.js → MediaPanels-BgEp7iCp.js} +3 -5
  22. package/dist/{MergeTagInput-YnEkorTZ.js → MergeTagInput-B9dtUthD.js} +14 -15
  23. package/dist/{MergeTagModeToggle-Dhb1DAcQ.js → MergeTagModeToggle-DxujhYJ4.js} +30 -31
  24. package/dist/{MergeTagTextarea-e4lnwtqZ.js → MergeTagTextarea-CPFEjJZd.js} +12 -13
  25. package/dist/{ParagraphEditor-B6NK0ytw.js → ParagraphEditor-CWXfurGh.js} +233 -236
  26. package/dist/{RestoreVersionDialog-Bq_IGOLJ.js → RestoreVersionDialog-C4s_JYCx.js} +16 -17
  27. package/dist/{RichTextEditorContent-AOM6fylS.js → RichTextEditorContent-o6HmE8GR.js} +40 -40
  28. package/dist/{SaveBlockDialog-C8GngfQx.js → SaveBlockDialog-CWLrly6l.js} +58 -59
  29. package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
  30. package/dist/{SavedBlocksPanels-C2s3q0pJ.js → SavedBlocksPanels-BE1N9rNZ.js} +7 -9
  31. package/dist/{SavedBlocksPickBar-BjcTiV87.js → SavedBlocksPickBar-Dwl94xhP.js} +14 -15
  32. package/dist/{TemplateSettings-BVBWpiDU.js → TemplateSettings-CS0f1Ues.js} +75 -76
  33. package/dist/{TestEmailModal-SyhO9bn3.js → TestEmailModal-DBD0X5nV.js} +54 -56
  34. package/dist/{TestEmailPanel-BDd2Rtav.js → TestEmailPanel-DaFjP9QK.js} +3 -5
  35. package/dist/{TitleEditor-pxD53y_l.js → TitleEditor-DSqtle77.js} +78 -79
  36. package/dist/{ToggleSwitch-D51U9cmR.js → ToggleSwitch-JykPyD_8.js} +5 -6
  37. package/dist/{Toolbar-CZSPZYbj.js → Toolbar-BZPFfKrf.js} +977 -985
  38. package/dist/{TplModal-DCzBzicE.js → TplModal-DLMssVlt.js} +16 -17
  39. package/dist/{VersionHistoryMenu-BQeWPT85.js → VersionHistoryMenu-BkbYUs0Q.js} +37 -38
  40. package/dist/{VersionHistoryPanels-BBm7YbRQ.js → VersionHistoryPanels-DP7HaYWv.js} +5 -7
  41. package/dist/{VersionPreviewBanner-DUGF0tUJ.js → VersionPreviewBanner-DECaBwLq.js} +11 -12
  42. package/dist/WrapperBlock-BsJv_Fiw.js +44 -0
  43. package/dist/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
  44. package/dist/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +3 -5
  45. package/dist/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +2 -3
  46. package/dist/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +1 -2
  47. package/dist/{blockTypeIcons-NzaYvAI4.js → blockTypeIcons-BHjlPnPf.js} +23 -23
  48. package/dist/bundle-stats.json +6 -6
  49. package/dist/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +1 -2
  50. package/dist/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +1 -2
  51. package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js → AiAltTextPopover-SEEjkd-I.js} +24 -25
  52. package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
  53. package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js → AiAltTextReview-BGLLSKLm.js} +43 -44
  54. package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
  55. package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js → AiChatPanel-DKDAaBNi.js} +129 -131
  56. package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
  57. package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js → AiPanels-0wBarZSH.js} +5 -7
  58. package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js.map → AiPanels-0wBarZSH.js.map} +1 -1
  59. package/dist/cdn/chunks/{AiRewriteMenu-Bhh71zcc.js → AiRewriteMenu-qf-cfEpy.js} +52 -53
  60. package/dist/cdn/chunks/AiRewriteMenu-qf-cfEpy.js.map +1 -0
  61. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
  62. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
  63. package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js → BlockPreviewCanvas-DGBh6mqe.js} +22 -23
  64. package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
  65. package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js → CloudHeaderExtras-BMNK_F9p.js} +4 -5
  66. package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
  67. package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js → CloudPanels-JMWIoVWh.js} +34 -35
  68. package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
  69. package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js → CollaborationNotices-Bsf1rGW9.js} +13 -14
  70. package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
  71. package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js → CollaboratorBar-CXByAoUz.js} +16 -17
  72. package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
  73. package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js → CommentsPanel-DoJnKLXI.js} +4 -6
  74. package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
  75. package/dist/cdn/chunks/{CommentsSidebar-CCvplq1Z.js → CommentsSidebar-CUtgvdBC.js} +110 -110
  76. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
  77. package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js → CountdownBlock-BqRw147R.js} +19 -20
  78. package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
  79. package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js → CountdownToolbar-xobieKoU.js} +28 -29
  80. package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
  81. package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js → IssuesPanel-C7LfxaAY.js} +76 -77
  82. package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
  83. package/dist/cdn/chunks/LoadingTrack-CZuLTazv.js +11 -0
  84. package/dist/cdn/chunks/{LoadingTrack-BIcL4NiY.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
  85. package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js → LogicTagInsertButton-BIi05UQu.js} +258 -265
  86. package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
  87. package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js → MediaEditModal-Cpcod6_U.js} +152 -155
  88. package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
  89. package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js → MediaPanels-BIdcW_1f.js} +4 -6
  90. package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
  91. package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js → MergeTagInput-BvWg8o5E.js} +35 -36
  92. package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
  93. package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js → MergeTagModeToggle-BgKEVUtV.js} +28 -29
  94. package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
  95. package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js → MergeTagTextarea-tBz8McZf.js} +33 -34
  96. package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
  97. package/dist/cdn/chunks/{ParagraphEditor-CqSj6Ayz.js → ParagraphEditor-B3Rj_cWF.js} +197 -200
  98. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
  99. package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js → RestoreVersionDialog-CjOdD2xj.js} +21 -22
  100. package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
  101. package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js → RichTextEditorContent-DNjR_sNN.js} +30 -31
  102. package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
  103. package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js → SaveBlockDialog-CUhpawq0.js} +77 -78
  104. package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
  105. package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
  106. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DtOz_X5S.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
  107. package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js → SavedBlocksPanels-C6--Bc81.js} +4 -6
  108. package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
  109. package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js → SavedBlocksPickBar-DUavxpbU.js} +16 -17
  110. package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
  111. package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js → TemplateSettings-CKtI-dof.js} +72 -73
  112. package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
  113. package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js → TestEmailModal-CDQTgESD.js} +68 -70
  114. package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
  115. package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js → TestEmailPanel-CcUpEpAn.js} +4 -6
  116. package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
  117. package/dist/cdn/chunks/{TitleEditor-Ccv6uoTz.js → TitleEditor-Cob7RLyK.js} +71 -72
  118. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
  119. package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js → ToggleSwitch-J7Vwhvha.js} +6 -7
  120. package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
  121. package/dist/cdn/chunks/{Toolbar-DoprRgTn.js → Toolbar-CdpsvNOR.js} +977 -985
  122. package/dist/cdn/chunks/{Toolbar-DoprRgTn.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
  123. package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
  124. package/dist/cdn/chunks/{TplModal-BXQzmsJX.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
  125. package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js → VersionHistoryMenu-BYlLRvRJ.js} +34 -35
  126. package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
  127. package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js → VersionHistoryPanels-C6SOVoiT.js} +4 -6
  128. package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
  129. package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js → VersionPreviewBanner-Dvg0ZfAW.js} +12 -13
  130. package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
  131. package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js → WrapperBlock-C7Md56IT.js} +14 -15
  132. package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
  133. package/dist/cdn/chunks/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
  134. package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +4 -6
  135. package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js.map → aiErrors-C3QEMB0x.js.map} +1 -1
  136. package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +3 -4
  137. package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js.map → aiImageContext-BQ5mQ6B5.js.map} +1 -1
  138. package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +2 -3
  139. package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js.map → aiRewritePreview-DlMyx6Si.js.map} +1 -1
  140. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
  141. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
  142. package/dist/cdn/chunks/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +2 -3
  143. package/dist/cdn/chunks/{ca-C7mTzW1r.js.map → ca-CD-Kt1qz.js.map} +1 -1
  144. package/dist/cdn/chunks/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +2 -3
  145. package/dist/cdn/chunks/{ca-CYQH3J0b.js.map → ca-Cc6eL0ZS.js.map} +1 -1
  146. package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js → createCloudRuntime-Cth2JCEh.js} +58 -77
  147. package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
  148. package/dist/cdn/chunks/{de-DBOTcDj2.js → de-6M4JoHoD.js} +2 -3
  149. package/dist/cdn/chunks/{de-DBOTcDj2.js.map → de-6M4JoHoD.js.map} +1 -1
  150. package/dist/cdn/chunks/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +2 -3
  151. package/dist/cdn/chunks/{de-DNuYQTmS.js.map → de-CeFJ6wbM.js.map} +1 -1
  152. package/dist/cdn/chunks/{de-JvCTMJPy.js → de-DtrXVcuY.js} +2 -3
  153. package/dist/cdn/chunks/{de-JvCTMJPy.js.map → de-DtrXVcuY.js.map} +1 -1
  154. package/dist/cdn/chunks/{dist-Bo8Thh8v.js → dist-8ym3y-pH.js} +44 -45
  155. package/dist/cdn/chunks/{dist-Bo8Thh8v.js.map → dist-8ym3y-pH.js.map} +1 -1
  156. package/dist/{dist-DI4_YSnG.js → cdn/chunks/dist-BMzNabtD.js} +107 -109
  157. package/dist/cdn/chunks/{dist-S-rLGqax.js.map → dist-BMzNabtD.js.map} +1 -1
  158. package/dist/cdn/chunks/dompurify-JVtr5-B1.js +872 -0
  159. package/dist/cdn/chunks/dompurify-JVtr5-B1.js.map +1 -0
  160. package/dist/cdn/chunks/{draggable-DZ0gwUJ6.js → draggable-Du8AUMFT.js} +654 -654
  161. package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
  162. package/dist/{editor-modal-Bzhl-PgI.js → cdn/chunks/editor-modal-CyCe560f.js} +893 -979
  163. package/dist/cdn/chunks/{editor-modal-CI6EfeMd.js.map → editor-modal-CyCe560f.js.map} +1 -1
  164. package/dist/cdn/chunks/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +2 -3
  165. package/dist/cdn/chunks/{emojiData-6m0DBh7O.js.map → emojiData-CBNuCfum.js.map} +1 -1
  166. package/dist/cdn/chunks/{en-CW71OK66.js → en-D14i5nFh.js} +2 -3
  167. package/dist/cdn/chunks/{en-CW71OK66.js.map → en-D14i5nFh.js.map} +1 -1
  168. package/dist/cdn/chunks/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +2 -3
  169. package/dist/cdn/chunks/{en-CDhWRrF_.js.map → en-FzUuJ8HW.js.map} +1 -1
  170. package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
  171. package/dist/cdn/chunks/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +2 -3
  172. package/dist/cdn/chunks/{es-CAv-Vldw.js.map → es-Dw_h7Oll.js.map} +1 -1
  173. package/dist/cdn/chunks/{es-DdK7zQfi.js → es-zDacbMhs.js} +2 -3
  174. package/dist/cdn/chunks/{es-DdK7zQfi.js.map → es-zDacbMhs.js.map} +1 -1
  175. package/dist/cdn/chunks/{extensions-taJTZlLK.js → extensions-CFF2KWy-.js} +60 -65
  176. package/dist/cdn/chunks/{extensions-taJTZlLK.js.map → extensions-CFF2KWy-.js.map} +1 -1
  177. package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +2 -3
  178. package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js.map → formatAbsoluteDateTime-Ck2_zXra.js.map} +1 -1
  179. package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +1 -2
  180. package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js.map → formatRelativeTime-BTD8Ktt-.js.map} +1 -1
  181. package/dist/cdn/chunks/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +2 -3
  182. package/dist/cdn/chunks/{fr-DVPtxpR6.js.map → fr-BJaeKu_8.js.map} +1 -1
  183. package/dist/cdn/chunks/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +2 -3
  184. package/dist/cdn/chunks/{fr-Dz5Bgb7-.js.map → fr-CSgYtjOd.js.map} +1 -1
  185. package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js → htmlparser-hu3YnNQU.js} +6 -11
  186. package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js.map → htmlparser-hu3YnNQU.js.map} +1 -1
  187. package/dist/cdn/chunks/{icons-DNX6StSs.js → icons-okSPsLOa.js} +111 -114
  188. package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
  189. package/dist/cdn/chunks/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +2 -3
  190. package/dist/cdn/chunks/{ja-Di-zJiT8.js.map → ja-B7H3ID8O.js.map} +1 -1
  191. package/dist/cdn/chunks/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +2 -3
  192. package/dist/cdn/chunks/{ja-dcWzjStz.js.map → ja-Cu2HdYaK.js.map} +1 -1
  193. package/dist/cdn/chunks/{keys-BTpmg2Tt.js → keys-CUj6UA38.js} +3 -4
  194. package/dist/cdn/chunks/{keys-BTpmg2Tt.js.map → keys-CUj6UA38.js.map} +1 -1
  195. package/dist/{liquid.browser-Ct2-EezB.js → cdn/chunks/liquid.browser-rubac0VA.js} +993 -937
  196. package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
  197. package/dist/cdn/chunks/{logger-Tj0RPskW.js → logger-CqQTfJGx.js} +2 -3
  198. package/dist/cdn/chunks/{logger-Tj0RPskW.js.map → logger-CqQTfJGx.js.map} +1 -1
  199. package/dist/cdn/chunks/{nl-CvVuHYFL.js → nl-176ySmc5.js} +2 -3
  200. package/dist/cdn/chunks/{nl-CvVuHYFL.js.map → nl-176ySmc5.js.map} +1 -1
  201. package/dist/cdn/chunks/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +2 -3
  202. package/dist/cdn/chunks/{nl-LZNqQgE4.js.map → nl-1Ai2NykB.js.map} +1 -1
  203. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js → normalizeMergeTagMarkup-C_KlfSW4.js} +3 -4
  204. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
  205. package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js → preRenderCustomBlocks-BcXIz7oJ.js} +6 -7
  206. package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
  207. package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +2 -3
  208. package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js.map → pt-BR-Bp92Fc6J.js.map} +1 -1
  209. package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +2 -3
  210. package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js.map → pt-BR-CIbp__Z7.js.map} +1 -1
  211. package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +2 -3
  212. package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js.map → pt-BR-dDlTwX18.js.map} +1 -1
  213. package/dist/cdn/chunks/{pusher-Cs4GGEtd.js → pusher-x9rNqzon.js} +3 -4
  214. package/dist/cdn/chunks/{pusher-Cs4GGEtd.js.map → pusher-x9rNqzon.js.map} +1 -1
  215. package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +2 -3
  216. package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js.map → readableTextColor-BfZUGnVj.js.map} +1 -1
  217. package/dist/cdn/chunks/{rolldown-runtime-Y_bBpyJl.js → rolldown-runtime-QGRDbDUS.js} +1 -2
  218. package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js +72 -0
  219. package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js.map +1 -0
  220. package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js → socialIcons-jsTDmkbb.js} +608 -632
  221. package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
  222. package/dist/cdn/chunks/src-C7bkofBL.js +647 -0
  223. package/dist/cdn/chunks/src-C7bkofBL.js.map +1 -0
  224. package/dist/cdn/chunks/{src-Bs_yxk3h.js → src-DEd87i_U.js} +502 -537
  225. package/dist/cdn/chunks/src-DEd87i_U.js.map +1 -0
  226. package/dist/cdn/chunks/{src-BNFnxfrA.js → src-DwWrYnUj.js} +188 -171
  227. package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
  228. package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +2 -3
  229. package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js.map → styleConstants-B8xVRiwX.js.map} +1 -1
  230. package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +2 -3
  231. package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js.map → templateSettingsFields-cjlP-jdw.js.map} +1 -1
  232. package/dist/cdn/chunks/{tiptap-CtVrAViq.js → tiptap-CbiTlECY.js} +3402 -3278
  233. package/dist/cdn/chunks/tiptap-CbiTlECY.js.map +1 -0
  234. package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js → useCloudI18n-DY8_-ETE.js} +4 -5
  235. package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
  236. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
  237. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
  238. package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
  239. package/dist/cdn/chunks/{useEditorRoot-CR5GjJD6.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
  240. package/dist/cdn/chunks/{useI18n-CbVubQhM.js → useI18n-D8pY4LTq.js} +4 -5
  241. package/dist/cdn/chunks/{useI18n-CbVubQhM.js.map → useI18n-D8pY4LTq.js.map} +1 -1
  242. package/dist/{useLogicTag-DKLZ1T9H.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +6 -5
  243. package/dist/cdn/chunks/{useLogicTag-B49Nc53Y.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
  244. package/dist/{useMergeTag-Bhdx7AKk.js → cdn/chunks/useMergeTag-B-aG--s1.js} +8 -7
  245. package/dist/cdn/chunks/{useMergeTag-B0KryMj8.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
  246. package/dist/{usePopoverPosition-BZea45XK.js → cdn/chunks/usePopoverPosition-DSMtmu2W.js} +8 -10
  247. package/dist/cdn/chunks/{usePopoverPosition-C829ps5i.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
  248. package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js → useScrollToBlock-vjQ0fe-L.js} +5 -7
  249. package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
  250. package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js → withCurrentFont-hZTvYBHO.js} +3 -4
  251. package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
  252. package/dist/cdn/editor.css +1 -1
  253. package/dist/cdn/editor.js +1433 -1454
  254. package/dist/cdn/editor.js.map +1 -1
  255. package/dist/{check-yYsp5Xpk.js → check-BZ8o0eet.js} +1 -2
  256. package/dist/{chevron-down-DTmD06_j.js → chevron-down-DfAAfILv.js} +1 -2
  257. package/dist/{chevron-right-BSeYZOxc.js → chevron-right-Bk4mGdr7.js} +1 -2
  258. package/dist/{chevron-up-BOApwrxi.js → chevron-up-MhUf_azW.js} +1 -2
  259. package/dist/{circle-alert-BMszY8im.js → circle-alert-CShJwVFv.js} +1 -2
  260. package/dist/{clock-HADxnl6-.js → clock-CTfD6OCt.js} +1 -2
  261. package/dist/{createCloudRuntime-DVQI_ReU.js → createCloudRuntime-DCgO4A1r.js} +31 -37
  262. package/dist/{createLucideIcon-0lYYH3EW.js → createLucideIcon-CvhTA2KG.js} +6 -11
  263. package/dist/{de-DBOTcDj2.js → de-6M4JoHoD.js} +1 -2
  264. package/dist/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +1 -2
  265. package/dist/{de-JvCTMJPy.js → de-DtrXVcuY.js} +1 -2
  266. package/dist/{dist-BC-ZEYLd.js → dist-BF5zEHop.js} +2 -3
  267. package/dist/{dist-CyBwSiAa.js → dist-BS5uKktL.js} +2 -3
  268. package/dist/{cdn/chunks/dist-S-rLGqax.js → dist-ByCWA2Tv.js} +101 -101
  269. package/dist/{dist-DtOF3bDW.js → dist-CKi_npZM.js} +378 -343
  270. package/dist/{dist-C7EtxNCb.js → dist-CVy-7PHQ.js} +55 -56
  271. package/dist/{dist-Cr7RPxI9.js → dist-CWSG7Kj0.js} +478 -461
  272. package/dist/{dist-DXyGqIDE.js → dist-Cy8I5scI.js} +2 -3
  273. package/dist/{dist-C_dV9QAx.js → dist-D6cMdrfG.js} +133 -133
  274. package/dist/{dist-DVNjPKsH.js → dist-D6fZec6r.js} +3 -4
  275. package/dist/{dist-CuLwJF7H.js → dist-Dd5MU2Ev.js} +23 -14
  276. package/dist/dist-DyFArF_G.js +4 -0
  277. package/dist/{dist-DBxgrOeo.js → dist-V7W1UhVr.js} +1882 -1792
  278. package/dist/{dist-DPcf6XZ8.js → dist-p3wymUDt.js} +2 -3
  279. package/dist/dist-pA3ooG6N.js +4 -0
  280. package/dist/{dist-3HpYixwF.js → dist-txQLT2sF.js} +173 -161
  281. package/dist/{cdn/chunks/editor-modal-CI6EfeMd.js → editor-modal-zaZHcmlO.js} +915 -859
  282. package/dist/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +1 -2
  283. package/dist/{en-CW71OK66.js → en-D14i5nFh.js} +1 -2
  284. package/dist/en-Db76vJbY.js +1 -0
  285. package/dist/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +1 -2
  286. package/dist/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +1 -2
  287. package/dist/{es-DdK7zQfi.js → es-zDacbMhs.js} +1 -2
  288. package/dist/{extensions-CdyweA50.js → extensions-fo_c-vqf.js} +82 -91
  289. package/dist/{eye-DWkSvYpj.js → eye-7W4t5e0Q.js} +1 -2
  290. package/dist/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +1 -2
  291. package/dist/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +0 -1
  292. package/dist/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +1 -2
  293. package/dist/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +1 -2
  294. package/dist/{image-DesWjcZ4.js → image-BDiRFzSd.js} +1 -2
  295. package/dist/index.d.ts +6 -6
  296. package/dist/{info-ClWJGoZy.js → info-Cxi3-Kh9.js} +1 -2
  297. package/dist/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +1 -2
  298. package/dist/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +1 -2
  299. package/dist/{keys-Zd9KWRD1.js → keys-BgRERHzu.js} +2 -3
  300. package/dist/{link-BqRicFTA.js → link-ju_2Cmir.js} +1 -2
  301. package/dist/{cdn/chunks/liquid.browser-Bbt17cVz.js → liquid.browser-DUXEekoN.js} +991 -939
  302. package/dist/{list-bojQr9bn.js → list-DYZJf0aZ.js} +1 -2
  303. package/dist/{loader-circle-B2B8LbUu.js → loader-circle-BZRD0a4I.js} +1 -2
  304. package/dist/{logger-k9Nbj3Cp.js → logger-BOu7oEtk.js} +1 -2
  305. package/dist/{message-circle-BEuiNsyZ.js → message-circle-DuEw4Zfx.js} +1 -2
  306. package/dist/{nl-CvVuHYFL.js → nl-176ySmc5.js} +1 -2
  307. package/dist/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +1 -2
  308. package/dist/{normalizeMergeTagMarkup-P6SUBuPv.js → normalizeMergeTagMarkup-CELnOlgK.js} +30 -31
  309. package/dist/{package-DCROB4aM.js → package-CePMr2kK.js} +1 -2
  310. package/dist/{pencil-CEotCKbf.js → pencil-D3aFCL7c.js} +1 -2
  311. package/dist/{preRenderCustomBlocks-D8rr61_z.js → preRenderCustomBlocks--_xc0XK3.js} +4 -5
  312. package/dist/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +1 -2
  313. package/dist/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +1 -2
  314. package/dist/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +1 -2
  315. package/dist/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +1 -2
  316. package/dist/{refresh-cw-C6M2mHNC.js → refresh-cw-xnro7_Sk.js} +1 -2
  317. package/dist/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
  318. package/dist/{runtime-dom.esm-bundler-B8WCZWUm.js → runtime-dom.esm-bundler-BURR-bj5.js} +121 -122
  319. package/dist/sanitizeHtml-BzfzpYJY.js +942 -0
  320. package/dist/{search-Cy99zPYf.js → search-CDrstRBv.js} +1 -2
  321. package/dist/{send-BDLJFsf3.js → send-DROkPOaX.js} +1 -2
  322. package/dist/{smartphone-CVvQaNA4.js → smartphone-Bx6u_tjn.js} +1 -2
  323. package/dist/{socialIcons-Dd-jRiVe.js → socialIcons-D7MGsg0d.js} +553 -564
  324. package/dist/{sparkles-Ce0Qz0ox.js → sparkles-CdaTtvoz.js} +1 -2
  325. package/dist/{square-BWlolnXe.js → square-BbCROH_f.js} +1 -2
  326. package/dist/style.css +1 -1
  327. package/dist/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +1 -2
  328. package/dist/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +1 -2
  329. package/dist/templatical-editor.js +1231 -1251
  330. package/dist/{text-align-start-D1V5gPTy.js → text-align-start-CGacJ9Vw.js} +1 -2
  331. package/dist/{trash-CZfiUFmw.js → trash-DxCd7zIy.js} +1 -2
  332. package/dist/{triangle-alert-CFDzyFC7.js → triangle-alert-7_oaitpf.js} +1 -2
  333. package/dist/{upload-BJfvdIrD.js → upload-DuFEOi_0.js} +1 -2
  334. package/dist/{useCloudI18n-Dcjua65H.js → useCloudI18n-DEMmUKuO.js} +3 -4
  335. package/dist/{useEditorCore-BTLeAVlM.js → useEditorCore-BSo2sSID.js} +1568 -1573
  336. package/dist/useEditorRoot-BMcoCLBx.js +7 -0
  337. package/dist/{useI18n-BdoY7xDE.js → useI18n-BBrHTdu8.js} +3 -4
  338. package/dist/{cdn/chunks/useLogicTag-B49Nc53Y.js → useLogicTag-ZPC39rfH.js} +4 -7
  339. package/dist/{cdn/chunks/useMergeTag-B0KryMj8.js → useMergeTag-BQ4qqWpQ.js} +6 -9
  340. package/dist/{cdn/chunks/usePopoverPosition-C829ps5i.js → usePopoverPosition-DV1PxL66.js} +6 -12
  341. package/dist/{useScrollToBlock-FmNMALM_.js → useScrollToBlock-BSyAV4pk.js} +4 -6
  342. package/dist/{vue.runtime.esm-bundler-DgFJ6GPG.js → vue.runtime.esm-bundler-CnEeTfhs.js} +1001 -1002
  343. package/dist/{withCurrentFont-BATJHNve.js → withCurrentFont-B22FXAF5.js} +2 -3
  344. package/dist/{x-CZ0Js0hA.js → x-BpfG7v9g.js} +1 -2
  345. package/package.json +26 -24
  346. package/dist/BlockIssueBadge-CKwZ1Vgn.js +0 -34
  347. package/dist/CommentsSidebar-Ca3DyFOX.js +0 -500
  348. package/dist/IssuesPanel-C8nMUccy.js +0 -360
  349. package/dist/SavedBlocksBrowserModal-wnkvxpm_.js +0 -360
  350. package/dist/WrapperBlock-BO619LAb.js +0 -45
  351. package/dist/cdn/chunks/AiRewriteMenu-Bhh71zcc.js.map +0 -1
  352. package/dist/cdn/chunks/BlockIssueBadge-DAn2vsMJ.js +0 -35
  353. package/dist/cdn/chunks/BlockIssueBadge-DAn2vsMJ.js.map +0 -1
  354. package/dist/cdn/chunks/CommentsSidebar-CCvplq1Z.js.map +0 -1
  355. package/dist/cdn/chunks/LoadingTrack-BIcL4NiY.js +0 -12
  356. package/dist/cdn/chunks/ParagraphEditor-CqSj6Ayz.js.map +0 -1
  357. package/dist/cdn/chunks/SavedBlocksBrowserModal-DtOz_X5S.js +0 -357
  358. package/dist/cdn/chunks/TitleEditor-Ccv6uoTz.js.map +0 -1
  359. package/dist/cdn/chunks/TplModal-BXQzmsJX.js +0 -52
  360. package/dist/cdn/chunks/blockTypeIcons-ikZAmd6U.js +0 -22
  361. package/dist/cdn/chunks/blockTypeIcons-ikZAmd6U.js.map +0 -1
  362. package/dist/cdn/chunks/draggable-DZ0gwUJ6.js.map +0 -1
  363. package/dist/cdn/chunks/en-ifvu6oPv.js +0 -1
  364. package/dist/cdn/chunks/icons-DNX6StSs.js.map +0 -1
  365. package/dist/cdn/chunks/liquid.browser-Bbt17cVz.js.map +0 -1
  366. package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js +0 -62
  367. package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js.map +0 -1
  368. package/dist/cdn/chunks/src-BNFnxfrA.js.map +0 -1
  369. package/dist/cdn/chunks/src-Bs_yxk3h.js.map +0 -1
  370. package/dist/cdn/chunks/src-YGkzYyu0.js +0 -649
  371. package/dist/cdn/chunks/src-YGkzYyu0.js.map +0 -1
  372. package/dist/cdn/chunks/tiptap-CtVrAViq.js.map +0 -1
  373. package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js +0 -2586
  374. package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js.map +0 -1
  375. package/dist/cdn/chunks/useEditorRoot-CR5GjJD6.js +0 -10
  376. package/dist/dist-BPFcLKTw.js +0 -5
  377. package/dist/dist-D7Yj7E-F.js +0 -5
  378. package/dist/en-DwV15ltA.js +0 -1
  379. package/dist/sanitizeRichTextHtml-DeISfLFr.js +0 -60
  380. package/dist/useEditorRoot-DUy67lJu.js +0 -8
@@ -1,8 +1,8 @@
1
- import { Mt as e, N as t, Q as n, c as r, d as i, f as a, j as o, jt as s, l as c, ot as l, r as u, y as d } from "./vue.runtime.esm-bundler-DgFJ6GPG.js";
2
- import { g as f } from "./dist-C7EtxNCb.js";
3
- import { $ as p, v as m } from "./keys-Zd9KWRD1.js";
4
- import { t as h } from "./useI18n-BdoY7xDE.js";
5
- //#region src/components/blocks/CountdownBlock.vue?vue&type=script&setup=true&lang.ts
1
+ import { $ as e, Mt as t, N as n, Nt as r, c as i, d as a, f as o, j as s, l as c, r as l, st as u, y as d } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
+ import { g as f } from "./dist-CVy-7PHQ.js";
3
+ import { $ as p, v as m } from "./keys-BgRERHzu.js";
4
+ import { t as h } from "./useI18n-BBrHTdu8.js";
5
+ // src/components/blocks/CountdownBlock.vue?vue&type=script&setup=true&lang.ts
6
6
  var g = {
7
7
  key: 0,
8
8
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:py-8 tpl:text-sm tpl:text-[var(--tpl-text-dim)]"
@@ -16,15 +16,15 @@ var g = {
16
16
  viewport: {}
17
17
  },
18
18
  setup(d) {
19
- let y = d, { t: b } = h(), x = n(Date.now());
19
+ let y = d, { t: b } = h(), x = e(Date.now());
20
20
  f(() => {
21
21
  x.value = Date.now();
22
22
  }, 1e3);
23
- let S = r(() => {
23
+ let S = i(() => {
24
24
  if (!y.block.targetDate) return null;
25
25
  let e = new Date(y.block.targetDate);
26
26
  return isNaN(e.getTime()) ? null : e.getTime();
27
- }), C = r(() => S.value ? x.value >= S.value : !1), w = r(() => {
27
+ }), C = i(() => S.value ? x.value >= S.value : !1), w = i(() => {
28
28
  if (!S.value || C.value) return {
29
29
  days: 0,
30
30
  hours: 0,
@@ -38,7 +38,7 @@ var g = {
38
38
  minutes: Math.floor(t % 3600 / 60),
39
39
  seconds: t % 60
40
40
  };
41
- }), T = r(() => {
41
+ }), T = i(() => {
42
42
  let e = [];
43
43
  return y.block.showDays && e.push({
44
44
  value: String(w.value.days).padStart(2, "0"),
@@ -53,40 +53,39 @@ var g = {
53
53
  value: String(w.value.seconds).padStart(2, "0"),
54
54
  label: y.block.labelSeconds
55
55
  }), e;
56
- }), E = p(m, "CountdownBlock"), D = r(() => y.block.fontFamily ? E.resolveFontFamily(y.block.fontFamily) : "inherit"), O = r(() => ({
56
+ }), E = p(m, "CountdownBlock"), D = i(() => y.block.fontFamily ? E.resolveFontFamily(y.block.fontFamily) : "inherit"), O = i(() => ({
57
57
  backgroundColor: y.block.backgroundColor,
58
58
  fontFamily: D.value
59
- })), k = r(() => ({
59
+ })), k = i(() => ({
60
60
  fontSize: `${y.block.digitFontSize}px`,
61
61
  fontWeight: "bold",
62
62
  color: y.block.digitColor,
63
63
  lineHeight: "1.2"
64
- })), A = r(() => ({
64
+ })), A = i(() => ({
65
65
  fontSize: `${y.block.labelFontSize}px`,
66
66
  color: y.block.labelColor,
67
67
  marginTop: "4px"
68
- })), j = r(() => ({
68
+ })), j = i(() => ({
69
69
  fontSize: `${y.block.digitFontSize}px`,
70
70
  color: y.block.digitColor,
71
71
  fontFamily: D.value
72
72
  }));
73
- return (n, r) => d.block.targetDate ? C.value && d.block.hideOnExpiry ? (o(), a("div", _, e(l(b).countdown.hidden), 1)) : C.value ? (o(), a("div", {
73
+ return (e, i) => d.block.targetDate ? C.value && d.block.hideOnExpiry ? (s(), o("div", _, r(u(b).countdown.hidden), 1)) : C.value ? (s(), o("div", {
74
74
  key: 2,
75
- style: s(O.value),
75
+ style: t(O.value),
76
76
  class: "tpl:py-4 tpl:text-center"
77
- }, [c("span", { style: s({
77
+ }, [c("span", { style: t({
78
78
  fontSize: `${d.block.digitFontSize}px`,
79
79
  color: d.block.digitColor
80
- }) }, e(d.block.expiredMessage), 5)], 4)) : (o(), a("div", {
80
+ }) }, r(d.block.expiredMessage), 5)], 4)) : (s(), o("div", {
81
81
  key: 3,
82
- style: s(O.value),
82
+ style: t(O.value),
83
83
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:gap-2 tpl:py-4"
84
- }, [(o(!0), a(u, null, t(T.value, (t, n) => (o(), a(u, { key: t.label }, [n > 0 ? (o(), a("span", {
84
+ }, [(s(!0), o(l, null, n(T.value, (e, n) => (s(), o(l, { key: e.label }, [n > 0 ? (s(), o("span", {
85
85
  key: 0,
86
- style: s(j.value),
86
+ style: t(j.value),
87
87
  class: "tpl:self-start"
88
- }, e(d.block.separator), 5)) : i("", !0), c("div", v, [c("div", { style: s(k.value) }, e(t.value), 5), c("div", { style: s(A.value) }, e(t.label), 5)])], 64))), 128))], 4)) : (o(), a("div", g, e(l(b).countdown.setDate), 1));
88
+ }, r(d.block.separator), 5)) : a("", !0), c("div", v, [c("div", { style: t(k.value) }, r(e.value), 5), c("div", { style: t(A.value) }, r(e.label), 5)])], 64))), 128))], 4)) : (s(), o("div", g, r(u(b).countdown.setDate), 1));
89
89
  }
90
90
  });
91
- //#endregion
92
91
  export { y as default };
@@ -1,11 +1,11 @@
1
- import { At as e, Mt as t, N as n, V as r, _ as i, c as a, f as o, j as s, l as c, ot as l, r as u, u as d, y as f } from "./vue.runtime.esm-bundler-DgFJ6GPG.js";
2
- import { t as p } from "./useI18n-BdoY7xDE.js";
3
- import { c as m } from "./LogicTagInsertButton-CqfU52CO.js";
4
- import { p as h } from "./styleConstants-v1dNKgJf.js";
5
- import { t as g } from "./ToggleSwitch-D51U9cmR.js";
6
- import { t as _ } from "./withCurrentFont-BATJHNve.js";
7
- import { i as v, n as y, r as b } from "./Toolbar-CZSPZYbj.js";
8
- //#region src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
1
+ import { H as e, N as t, Nt as n, _ as r, c as i, f as a, j as o, jt as s, l as c, r as l, st as u, u as d, y as f } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
+ import { t as p } from "./useI18n-BBrHTdu8.js";
3
+ import { c as m } from "./LogicTagInsertButton-CfscnwCn.js";
4
+ import { p as h } from "./styleConstants-B8xVRiwX.js";
5
+ import { t as g } from "./ToggleSwitch-JykPyD_8.js";
6
+ import { t as _ } from "./withCurrentFont-B22FXAF5.js";
7
+ import { i as v, n as y, r as b } from "./Toolbar-BZPFfKrf.js";
8
+ // src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
9
9
  var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, T = ["value"], E = { value: "" }, D = ["value"], O = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, k = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, A = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, j = [
10
10
  "value",
11
11
  "placeholder",
@@ -52,7 +52,7 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
52
52
  "Hours",
53
53
  "Minutes",
54
54
  "Seconds"
55
- ], B = a(() => z.map((e) => ({
55
+ ], B = i(() => z.map((e) => ({
56
56
  unit: e,
57
57
  showKey: `show${e}`,
58
58
  labelKey: `label${e}`,
@@ -61,33 +61,33 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
61
61
  function V(e, t) {
62
62
  F("update", { [e]: t });
63
63
  }
64
- return (a, p) => (s(), o(u, null, [
65
- i(y, { label: l(I).countdown.targetDate }, {
66
- default: r(() => [c("input", {
64
+ return (i, p) => (o(), a(l, null, [
65
+ r(y, { label: u(I).countdown.targetDate }, {
66
+ default: e(() => [c("input", {
67
67
  type: "datetime-local",
68
- class: e(l(h)),
68
+ class: s(u(h)),
69
69
  value: f.block.targetDate,
70
70
  onInput: p[0] ||= (e) => V("targetDate", e.target.value)
71
71
  }, null, 42, x)]),
72
72
  _: 1
73
73
  }, 8, ["label"]),
74
- i(y, { label: l(I).countdown.timezone }, {
75
- default: r(() => [c("select", {
76
- class: e(l(h)),
74
+ r(y, { label: u(I).countdown.timezone }, {
75
+ default: e(() => [c("select", {
76
+ class: s(u(h)),
77
77
  value: f.block.timezone,
78
78
  onChange: p[1] ||= (e) => V("timezone", e.target.value)
79
- }, [(s(), o(u, null, n(L, (e) => c("option", {
79
+ }, [(o(), a(l, null, t(L, (e) => c("option", {
80
80
  key: e,
81
81
  value: e
82
- }, t(e), 9, C)), 64))], 42, S)]),
82
+ }, n(e), 9, C)), 64))], 42, S)]),
83
83
  _: 1
84
84
  }, 8, ["label"]),
85
- i(y, { label: l(I).countdown.display }, {
86
- default: r(() => [c("div", w, [(s(!0), o(u, null, n(B.value, (e) => (s(), d(g, {
85
+ r(y, { label: u(I).countdown.display }, {
86
+ default: e(() => [c("div", w, [(o(!0), a(l, null, t(B.value, (e) => (o(), d(g, {
87
87
  key: e.unit,
88
88
  class: "tpl:text-[12px] tpl:text-[var(--tpl-text)]",
89
89
  "model-value": f.block[e.showKey],
90
- label: l(I).countdown[e.translationKey],
90
+ label: u(I).countdown[e.translationKey],
91
91
  "onUpdate:modelValue": (t) => V(e.showKey, t)
92
92
  }, null, 8, [
93
93
  "model-value",
@@ -96,27 +96,27 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
96
96
  ]))), 128))])]),
97
97
  _: 1
98
98
  }, 8, ["label"]),
99
- i(y, { label: l(I).countdown.separator }, {
100
- default: r(() => [i(v, {
99
+ r(y, { label: u(I).countdown.separator }, {
100
+ default: e(() => [r(v, {
101
101
  options: R,
102
102
  "model-value": f.block.separator,
103
103
  "onUpdate:modelValue": p[2] ||= (e) => V("separator", e)
104
104
  }, null, 8, ["model-value"])]),
105
105
  _: 1
106
106
  }, 8, ["label"]),
107
- i(y, { label: l(I).countdown.fontFamily }, {
108
- default: r(() => [c("select", {
109
- class: e(l(h)),
110
- value: l(_)(f.block.fontFamily),
107
+ r(y, { label: u(I).countdown.fontFamily }, {
108
+ default: e(() => [c("select", {
109
+ class: s(u(h)),
110
+ value: u(_)(f.block.fontFamily),
111
111
  onChange: p[3] ||= (e) => V("fontFamily", e.target.value || void 0)
112
- }, [c("option", E, t(l(I).countdown.inheritFont), 1), (s(!0), o(u, null, n(f.fontFamilies, (e) => (s(), o("option", {
112
+ }, [c("option", E, n(u(I).countdown.inheritFont), 1), (o(!0), a(l, null, t(f.fontFamilies, (e) => (o(), a("option", {
113
113
  key: e.value,
114
114
  value: e.value
115
- }, t(e.label), 9, D))), 128))], 42, T)]),
115
+ }, n(e.label), 9, D))), 128))], 42, T)]),
116
116
  _: 1
117
117
  }, 8, ["label"]),
118
- c("div", O, [i(y, { label: l(I).countdown.digitFontSize }, {
119
- default: r(() => [i(b, {
118
+ c("div", O, [r(y, { label: u(I).countdown.digitFontSize }, {
119
+ default: e(() => [r(b, {
120
120
  "model-value": f.block.digitFontSize,
121
121
  min: 12,
122
122
  max: 72,
@@ -124,8 +124,8 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
124
124
  "onUpdate:modelValue": p[4] ||= (e) => V("digitFontSize", e)
125
125
  }, null, 8, ["model-value"])]),
126
126
  _: 1
127
- }, 8, ["label"]), i(y, { label: l(I).countdown.labelFontSize }, {
128
- default: r(() => [i(b, {
127
+ }, 8, ["label"]), r(y, { label: u(I).countdown.labelFontSize }, {
128
+ default: e(() => [r(b, {
129
129
  "model-value": f.block.labelFontSize,
130
130
  min: 8,
131
131
  max: 24,
@@ -134,65 +134,64 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
134
134
  }, null, 8, ["model-value"])]),
135
135
  _: 1
136
136
  }, 8, ["label"])]),
137
- c("div", k, [i(y, { label: l(I).countdown.digitColor }, {
138
- default: r(() => [i(m, {
137
+ c("div", k, [r(y, { label: u(I).countdown.digitColor }, {
138
+ default: e(() => [r(m, {
139
139
  "model-value": f.block.digitColor,
140
140
  "onUpdate:modelValue": p[6] ||= (e) => V("digitColor", e)
141
141
  }, null, 8, ["model-value"])]),
142
142
  _: 1
143
- }, 8, ["label"]), i(y, { label: l(I).countdown.labelColor }, {
144
- default: r(() => [i(m, {
143
+ }, 8, ["label"]), r(y, { label: u(I).countdown.labelColor }, {
144
+ default: e(() => [r(m, {
145
145
  "model-value": f.block.labelColor,
146
146
  "onUpdate:modelValue": p[7] ||= (e) => V("labelColor", e)
147
147
  }, null, 8, ["model-value"])]),
148
148
  _: 1
149
149
  }, 8, ["label"])]),
150
- i(y, { label: l(I).countdown.background }, {
151
- default: r(() => [i(m, {
150
+ r(y, { label: u(I).countdown.background }, {
151
+ default: e(() => [r(m, {
152
152
  "model-value": f.block.backgroundColor,
153
153
  "onUpdate:modelValue": p[8] ||= (e) => V("backgroundColor", e)
154
154
  }, null, 8, ["model-value"])]),
155
155
  _: 1
156
156
  }, 8, ["label"]),
157
- i(y, { label: l(I).countdown.labels }, {
158
- default: r(() => [c("div", A, [(s(!0), o(u, null, n(B.value, (t) => (s(), o("input", {
159
- key: t.unit,
157
+ r(y, { label: u(I).countdown.labels }, {
158
+ default: e(() => [c("div", A, [(o(!0), a(l, null, t(B.value, (e) => (o(), a("input", {
159
+ key: e.unit,
160
160
  type: "text",
161
- class: e(l(h)),
162
- value: f.block[t.labelKey],
163
- placeholder: l(I).countdown[t.translationKey],
164
- onInput: (e) => V(t.labelKey, e.target.value)
161
+ class: s(u(h)),
162
+ value: f.block[e.labelKey],
163
+ placeholder: u(I).countdown[e.translationKey],
164
+ onInput: (t) => V(e.labelKey, t.target.value)
165
165
  }, null, 42, j))), 128))])]),
166
166
  _: 1
167
167
  }, 8, ["label"]),
168
- i(y, { label: l(I).countdown.expiry }, {
169
- default: r(() => [c("input", {
168
+ r(y, { label: u(I).countdown.expiry }, {
169
+ default: e(() => [c("input", {
170
170
  type: "text",
171
- class: e(l(h)),
171
+ class: s(u(h)),
172
172
  value: f.block.expiredMessage,
173
- placeholder: l(I).countdown.expiredMessagePlaceholder,
173
+ placeholder: u(I).countdown.expiredMessagePlaceholder,
174
174
  onInput: p[9] ||= (e) => V("expiredMessage", e.target.value)
175
175
  }, null, 42, M)]),
176
176
  _: 1
177
177
  }, 8, ["label"]),
178
- i(y, { label: l(I).countdown.expiredImageUrl }, {
179
- default: r(() => [c("input", {
178
+ r(y, { label: u(I).countdown.expiredImageUrl }, {
179
+ default: e(() => [c("input", {
180
180
  type: "url",
181
- class: e(l(h)),
181
+ class: s(u(h)),
182
182
  value: f.block.expiredImageUrl,
183
183
  placeholder: "https://...",
184
184
  onInput: p[10] ||= (e) => V("expiredImageUrl", e.target.value)
185
185
  }, null, 42, N)]),
186
186
  _: 1
187
187
  }, 8, ["label"]),
188
- i(g, {
188
+ r(g, {
189
189
  class: "tpl:mb-3.5 tpl:text-[12px] tpl:text-[var(--tpl-text)]",
190
190
  "model-value": f.block.hideOnExpiry,
191
- label: l(I).countdown.hideOnExpiry,
191
+ label: u(I).countdown.hideOnExpiry,
192
192
  "onUpdate:modelValue": p[11] ||= (e) => V("hideOnExpiry", e)
193
193
  }, null, 8, ["model-value", "label"])
194
194
  ], 64));
195
195
  }
196
196
  });
197
- //#endregion
198
197
  export { P as default };
@@ -0,0 +1,359 @@
1
+ import { $ as e, A as t, C as n, D as r, I as ee, N as te, Nt as i, _ as a, c as o, d as s, f as c, g as l, j as u, jt as ne, l as d, r as f, st as p, u as m, v as re, y as ie, z as h } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
+ import { G as ae, K as oe, X as se, g as ce, t as le } from "./keys-BgRERHzu.js";
3
+ import { t as ue } from "./useI18n-BBrHTdu8.js";
4
+ import { t as g } from "./createLucideIcon-CvhTA2KG.js";
5
+ import { t as de } from "./check-BZ8o0eet.js";
6
+ import { t as fe } from "./circle-alert-CShJwVFv.js";
7
+ import { t as pe } from "./info-Cxi3-Kh9.js";
8
+ import { a as me, n as he, o as ge, r as _e, t as ve } from "./useScrollToBlock-BSyAV4pk.js";
9
+ import { t as _ } from "./sparkles-CdaTtvoz.js";
10
+ import { t as ye } from "./square-BbCROH_f.js";
11
+ import { t as be } from "./triangle-alert-7_oaitpf.js";
12
+ var xe = g({
13
+ name: "arrow-right",
14
+ size: 24,
15
+ node: [["path", {
16
+ d: "M5 12h14",
17
+ key: "1ays0h"
18
+ }], ["path", {
19
+ d: "m12 5 7 7-7 7",
20
+ key: "xquz4c"
21
+ }]]
22
+ }), Se = g({
23
+ name: "wrench",
24
+ size: 24,
25
+ node: [["path", {
26
+ d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",
27
+ key: "1ngwbx"
28
+ }]]
29
+ }), Ce = { class: "tpl:flex tpl:flex-col tpl:gap-4 tpl:p-4" }, we = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Te = ["title"], Ee = {
30
+ key: 0,
31
+ class: "tpl:flex tpl:flex-col tpl:gap-2 tpl:text-xs"
32
+ }, De = { class: "tpl:m-0 tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Oe = { class: "tpl:m-0 tpl:text-[var(--tpl-text-muted)]" }, ke = ["disabled"], Ae = {
33
+ key: 0,
34
+ "data-testid": "issue-size-result",
35
+ class: "tpl:m-0 tpl:flex tpl:items-center tpl:gap-1 tpl:text-[var(--tpl-text-muted)]"
36
+ }, je = {
37
+ key: 1,
38
+ role: "status",
39
+ class: "tpl:m-0 tpl:text-[var(--tpl-text-muted)]"
40
+ }, Me = {
41
+ key: 2,
42
+ role: "alert",
43
+ class: "tpl:m-0 tpl:text-[var(--tpl-danger)]"
44
+ }, Ne = {
45
+ key: 1,
46
+ role: "status",
47
+ "data-testid": "issue-ai-status",
48
+ class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
49
+ }, Pe = ["disabled"], Fe = {
50
+ key: 4,
51
+ class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
52
+ }, Ie = {
53
+ key: 5,
54
+ class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
55
+ }, Le = { class: "tpl:ml-auto tpl:font-normal tpl:opacity-70" }, Re = {
56
+ key: 1,
57
+ class: "tpl:m-0 tpl:mb-3 tpl:flex tpl:list-none tpl:flex-col tpl:gap-2 tpl:p-0"
58
+ }, ze = { class: "tpl:m-0 tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text)]" }, Be = { class: "tpl:m-0 tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ve = { class: "tpl:m-0 tpl:mb-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, He = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-1.5" }, Ue = ["href"], We = ["onClick"], Ge = ["title", "onClick"], Ke = ["disabled", "onClick"], qe = ["disabled", "onClick"], Je = {
59
+ key: 1,
60
+ role: "status",
61
+ class: "tpl:m-0 tpl:mt-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
62
+ }, v = /* @__PURE__ */ ie({
63
+ __name: "IssuesPanel",
64
+ setup(ie) {
65
+ let g = re(() => import("./AiAltTextPopover-DawbUywc.js")), v = re(() => import("./AiAltTextReview-9ySsXOTU.js")), y = e(null), b = e(null);
66
+ function Ye() {
67
+ A && !A.busy.value && (D(), y.value = [...Q.value]);
68
+ }
69
+ async function x() {
70
+ y.value = null, await r(), !B && S.value === null && (b.value ?? w.value)?.focus();
71
+ }
72
+ let S = e(null), Xe = o(() => S.value?.blockId ?? null), C = e(null), w = e(null), T = null;
73
+ function E(e) {
74
+ let t = S.value;
75
+ return t !== null && t.blockId === e.blockId && t.ruleId === e.ruleId && t.severity === e.severity;
76
+ }
77
+ function Ze(e, t) {
78
+ e.blockId && !E(e) && (y.value = null, C.value?.abort(), C.value = null, T = t.currentTarget, S.value = {
79
+ blockId: e.blockId,
80
+ ruleId: e.ruleId,
81
+ severity: e.severity
82
+ });
83
+ }
84
+ async function D(e = "button") {
85
+ if (S.value === null) return;
86
+ S.value = null, C.value?.abort(), C.value = null;
87
+ let t = T;
88
+ T = null, await r(), !(B || S.value !== null || y.value !== null) && (e === "button" && t?.isConnected ? t : w.value)?.focus();
89
+ }
90
+ function Qe(e, t) {
91
+ E(e) && (C.value = t);
92
+ }
93
+ let { t: O, format: k } = ue(), A = n(le, null), j = n(oe, null), M = n(ce, null), N = n(ae, null), $e = n(se, "en"), et = ve(), tt = o(() => !!N && !N.cloud && N.canRenderHtml() && N.options.disabled !== !0 && N.options.compatibility !== !1 && N.options.compatibility?.rules?.["compat.gmail-clipping"] !== "off"), P = e(!1), F = e(null), I = e(null), L = e(""), R = e(!1), z = 0, B = !1;
94
+ M && h(M.content, () => {
95
+ z++, F.value !== null && (R.value = !0);
96
+ }, { deep: !0 }), t(() => {
97
+ B = !0;
98
+ });
99
+ async function nt() {
100
+ if (!N || !tt.value || P.value) return;
101
+ let e = z;
102
+ P.value = !0, L.value = "";
103
+ try {
104
+ let t = await N.renderHtml(), n = await import("@templatical/quality");
105
+ if (B) return;
106
+ F.value = new TextEncoder().encode(t).byteLength, I.value = n.lintCompiledHtml(t, {
107
+ ...N.options,
108
+ locale: N.options.locale ?? $e
109
+ })[0] ?? null, R.value = e !== z;
110
+ } catch (e) {
111
+ B || (L.value = e instanceof Error ? e.message : String(e));
112
+ } finally {
113
+ B || (P.value = !1);
114
+ }
115
+ }
116
+ let V = o(() => [...j?.issues.value ?? [], ...I.value && !R.value ? [I.value] : []]), H = o(() => V.value.filter((e) => e.severity === "error")), U = o(() => V.value.filter((e) => e.severity === "warning")), W = o(() => V.value.filter((e) => e.severity === "info")), G = o(() => H.value.length + U.value.length + W.value.length), K = /* @__PURE__ */ new Set(), q = e(/* @__PURE__ */ new Set()), J = e(null), Y = (e) => JSON.stringify([e.ruleId, e.blockId]);
117
+ function X(e) {
118
+ let t = new Set(e.map(Y));
119
+ for (let e of q.value) t.has(e) || q.value.delete(e);
120
+ for (let e of K) t.has(e) && q.value.add(e);
121
+ K.clear();
122
+ }
123
+ j && h(j.issues, X, { flush: "sync" }), A && (h([
124
+ A.templateId,
125
+ A.isAvailable,
126
+ () => M?.loadVersion?.value
127
+ ], () => {
128
+ y.value !== null && x();
129
+ }, { flush: "sync" }), h(A.templateSession, () => {
130
+ D();
131
+ }, { flush: "sync" }), h(A.sessionIdentity, () => {
132
+ K.clear(), q.value.clear();
133
+ }, { flush: "sync" }));
134
+ let Z = o(() => {
135
+ let e = /* @__PURE__ */ new Set();
136
+ return new Set([
137
+ ...H.value,
138
+ ...U.value,
139
+ ...W.value
140
+ ].filter((t) => {
141
+ let n = Y(t);
142
+ return !e.has(n) && (e.add(n), !0);
143
+ }));
144
+ }), rt = o(() => {
145
+ let e = /* @__PURE__ */ new Set();
146
+ return new Set([
147
+ ...H.value,
148
+ ...U.value,
149
+ ...W.value
150
+ ].filter((t) => !t.blockId || !he.includes(t.ruleId) || e.has(t.blockId) ? !1 : (e.add(t.blockId), !0)));
151
+ }), Q = o(() => {
152
+ if (!M) return [];
153
+ let e = new Set(V.value.filter((e) => he.includes(e.ruleId)).map((e) => e.blockId).filter((e) => e !== null)), t = M.content.value.blocks;
154
+ return [...e].flatMap((e) => {
155
+ let n = M.findBlockLocation(e);
156
+ return n ? [{
157
+ id: e,
158
+ root: n.targetSectionId ? t.findIndex((e) => e.id === n.targetSectionId) : n.index,
159
+ column: n.columnIndex ?? -1,
160
+ index: n.index
161
+ }] : [];
162
+ }).sort((e, t) => e.root - t.root || e.column - t.column || e.index - t.index).map(({ id: e }) => e);
163
+ });
164
+ h(() => S.value === null || V.value.some(E) && (!M || M.findBlockLocation(S.value.blockId) !== null), (e) => {
165
+ e || D("panel");
166
+ }, { flush: "sync" });
167
+ function it(e) {
168
+ return !!A && A.isAvailable.value && A.has("altText") && rt.value.has(e);
169
+ }
170
+ function $(e) {
171
+ return !!A && A.isAvailable.value && A.has("fixFinding") && !e.fix && _e.includes(e.ruleId) && Z.value.has(e);
172
+ }
173
+ async function at(e) {
174
+ if (!$(e) || !A || A.busy.value || J.value !== null) return;
175
+ let t = Y(e), n = A.sessionIdentity.value;
176
+ J.value = t, q.value.delete(t);
177
+ try {
178
+ let r = await A.fix(me(e));
179
+ !B && A.sessionIdentity.value === n && !r.failed && (K.add(t), j?.contentVersion && j.lintVersion.value === j.contentVersion.value && X(j.issues.value));
180
+ } finally {
181
+ J.value = null;
182
+ }
183
+ }
184
+ function ot(e) {
185
+ M && e.blockId && (M.selectBlock(e.blockId), et(e.blockId));
186
+ }
187
+ function st(e) {
188
+ j?.applyFix(e);
189
+ }
190
+ return (e, t) => (u(), c("div", Ce, [
191
+ d("header", we, [
192
+ a(p(ge), {
193
+ size: 16,
194
+ "stroke-width": 1.5
195
+ }),
196
+ d("h3", {
197
+ ref_key: "panelHeading",
198
+ ref: w,
199
+ tabindex: "-1",
200
+ class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
201
+ }, i(p(O).issues.panelTitle), 513),
202
+ G.value > 0 ? (u(), c("span", {
203
+ key: 0,
204
+ class: "tpl:ml-auto tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]",
205
+ title: p(k)(p(O).issues.issueCountTooltip, { count: G.value })
206
+ }, i(G.value), 9, Te)) : s("", !0)
207
+ ]),
208
+ tt.value ? (u(), c("section", Ee, [
209
+ d("h4", De, i(p(O).issues.emailSize), 1),
210
+ d("p", Oe, i(p(O).issues.sizeExplainer), 1),
211
+ d("button", {
212
+ type: "button",
213
+ "data-testid": "issue-check-size",
214
+ disabled: P.value,
215
+ class: "tpl:w-full tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2.5 tpl:py-1.5 tpl:font-medium tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-active)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
216
+ onClick: nt
217
+ }, i(P.value ? p(O).issues.checkingSize : R.value ? p(O).issues.checkSizeAgain : p(O).issues.checkSize), 9, ke),
218
+ F.value === null ? s("", !0) : (u(), c("p", Ae, [!I.value && !R.value ? (u(), m(p(de), {
219
+ key: 0,
220
+ size: 14,
221
+ "stroke-width": 2,
222
+ "aria-hidden": "true"
223
+ })) : s("", !0), l(" " + i(p(k)(!I.value && !R.value ? p(O).issues.sizePass : p(O).issues.sizeResult, { size: new Intl.NumberFormat(p($e), {
224
+ minimumFractionDigits: 1,
225
+ maximumFractionDigits: 1
226
+ }).format(F.value / 1024) })), 1)])),
227
+ R.value ? (u(), c("p", je, i(p(O).issues.sizeOutdated), 1)) : s("", !0),
228
+ L.value ? (u(), c("p", Me, i(p(k)(p(O).issues.sizeError, { error: L.value })), 1)) : s("", !0)
229
+ ])) : s("", !0),
230
+ J.value !== null || C.value !== null ? (u(), c("div", Ne, [d("span", null, i(C.value ? p(O).ai.altText.drafting : p(O).ai.fix.fixing), 1), d("button", {
231
+ type: "button",
232
+ "data-testid": "issue-ai-stop",
233
+ class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]",
234
+ onClick: t[0] ||= (e) => C.value ? C.value.abort() : p(A)?.stop()
235
+ }, [a(p(ye), {
236
+ size: 10,
237
+ "stroke-width": 2
238
+ }), l(" " + i(p(O).ai.chat.stop), 1)])])) : s("", !0),
239
+ p(A)?.isAvailable.value && p(A).has("altText") && Q.value.length >= 2 ? (u(), c("button", {
240
+ key: 2,
241
+ ref_key: "bulkButton",
242
+ ref: b,
243
+ type: "button",
244
+ "data-testid": "issue-ai-alt-text-bulk",
245
+ disabled: p(A).busy.value,
246
+ class: "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2.5 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
247
+ onClick: Ye
248
+ }, [a(p(_), {
249
+ size: 12,
250
+ "stroke-width": 2,
251
+ "aria-hidden": "true"
252
+ }), l(" " + i(p(k)(p(O).ai.altText.bulk, { count: Q.value.length })), 1)], 8, Pe)) : s("", !0),
253
+ y.value !== null && p(A) ? (u(), m(p(v), {
254
+ key: 3,
255
+ "block-ids": y.value,
256
+ feature: p(A),
257
+ onClose: x
258
+ }, null, 8, ["block-ids", "feature"])) : s("", !0),
259
+ !p(j) || p(j).unavailable.value ? (u(), c("div", Fe)) : G.value === 0 ? (u(), c("div", Ie, i(p(O).issues.emptyState), 1)) : (u(!0), c(f, { key: 6 }, te([
260
+ {
261
+ key: "errors",
262
+ title: p(O).issues.groupErrors,
263
+ icon: p(fe),
264
+ items: H.value,
265
+ tone: "tpl:text-[var(--tpl-danger)]"
266
+ },
267
+ {
268
+ key: "warnings",
269
+ title: p(O).issues.groupWarnings,
270
+ icon: p(be),
271
+ items: U.value,
272
+ tone: "tpl:text-[var(--tpl-warning)]"
273
+ },
274
+ {
275
+ key: "info",
276
+ title: p(O).issues.groupInfo,
277
+ icon: p(pe),
278
+ items: W.value,
279
+ tone: "tpl:text-[var(--tpl-text-muted)]"
280
+ }
281
+ ], (e) => (u(), c("section", { key: e.key }, [e.items.length > 0 ? (u(), c("header", {
282
+ key: 0,
283
+ class: ne(["tpl:mb-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:font-semibold tpl:uppercase tpl:tracking-wide", e.tone])
284
+ }, [
285
+ (u(), m(ee(e.icon), {
286
+ size: 12,
287
+ "stroke-width": 2
288
+ })),
289
+ l(" " + i(e.title) + " ", 1),
290
+ d("span", Le, i(e.items.length), 1)
291
+ ], 2)) : s("", !0), e.items.length > 0 ? (u(), c("ul", Re, [(u(!0), c(f, null, te(e.items, (e) => (u(), c("li", {
292
+ key: `${e.ruleId}-${e.blockId ?? "template"}`,
293
+ class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3"
294
+ }, [
295
+ d("p", ze, i(e.message), 1),
296
+ d("p", Be, i(e.suggestion), 1),
297
+ d("p", Ve, i(e.ruleId), 1),
298
+ d("div", He, [
299
+ d("a", {
300
+ href: e.reference,
301
+ target: "_blank",
302
+ rel: "noopener",
303
+ class: "tpl:inline-block tpl:text-xs tpl:text-[var(--tpl-primary)] tpl:underline tpl:underline-offset-2 tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]"
304
+ }, i(p(O).issues.learnMore), 9, Ue),
305
+ e.blockId ? (u(), c("button", {
306
+ key: 0,
307
+ type: "button",
308
+ "data-testid": "issue-jump",
309
+ class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]",
310
+ onClick: (t) => ot(e)
311
+ }, [a(p(xe), {
312
+ size: 10,
313
+ "stroke-width": 2
314
+ }), l(" " + i(p(O).issues.jump), 1)], 8, We)) : s("", !0),
315
+ e.fix ? (u(), c("button", {
316
+ key: 1,
317
+ type: "button",
318
+ class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:bg-[var(--tpl-primary)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-on-primary)]",
319
+ title: e.fix.description,
320
+ onClick: (t) => st(e)
321
+ }, [a(p(Se), {
322
+ size: 10,
323
+ "stroke-width": 2
324
+ }), l(" " + i(p(O).issues.fix), 1)], 8, Ge)) : s("", !0),
325
+ it(e) ? (u(), c("button", {
326
+ key: 2,
327
+ type: "button",
328
+ "data-testid": "issue-ai-alt-text",
329
+ disabled: p(A).busy.value,
330
+ class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
331
+ onClick: (t) => Ze(e, t)
332
+ }, [a(p(_), {
333
+ size: 10,
334
+ "stroke-width": 2
335
+ }), l(" " + i(p(O).ai.altText.button), 1)], 8, Ke)) : s("", !0),
336
+ $(e) ? (u(), c("button", {
337
+ key: 3,
338
+ type: "button",
339
+ "data-testid": "issue-ai-fix",
340
+ disabled: p(A).busy.value,
341
+ class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
342
+ onClick: (t) => at(e)
343
+ }, [a(p(_), {
344
+ size: 10,
345
+ "stroke-width": 2
346
+ }), l(" " + i(p(O).ai.fix.button), 1)], 8, qe)) : s("", !0)
347
+ ]),
348
+ E(e) && Z.value.has(e) ? (u(), m(p(g), {
349
+ key: JSON.stringify(S.value),
350
+ "block-id": Xe.value,
351
+ onClose: D,
352
+ onDrafting: (t) => Qe(e, t)
353
+ }, null, 8, ["block-id", "onDrafting"])) : s("", !0),
354
+ q.value.has(Y(e)) && Z.value.has(e) ? (u(), c("p", Je, i(p(O).ai.fix.stillFlagged), 1)) : s("", !0)
355
+ ]))), 128))])) : s("", !0)]))), 128))
356
+ ]));
357
+ }
358
+ });
359
+ export { v as default };