@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,4 +1,4 @@
1
- //#region ../types/src/blocks.ts
1
+ // ../types/src/blocks.ts
2
2
  var e = [
3
3
  "top",
4
4
  "right",
@@ -93,8 +93,7 @@ function re(e) {
93
93
  repeat: e.repeat ? "repeat" : "no-repeat"
94
94
  };
95
95
  }
96
- //#endregion
97
- //#region ../types/src/hero.ts
96
+ // ../types/src/hero.ts
98
97
  var ie = [
99
98
  "top",
100
99
  "middle",
@@ -131,8 +130,7 @@ function se(e) {
131
130
  let t = e?.naturalWidth, n = e?.naturalHeight;
132
131
  return typeof t != "number" || typeof n != "number" || !Number.isFinite(t) || !Number.isFinite(n) || t <= 0 || n <= 0 ? null : n / t;
133
132
  }
134
- //#endregion
135
- //#region ../types/src/social.ts
133
+ // ../types/src/social.ts
136
134
  var ce = {
137
135
  facebook: {
138
136
  color: "#1877F2",
@@ -230,8 +228,7 @@ function de(e, t) {
230
228
  function fe(e) {
231
229
  return e === "plain" ? .84 : .6;
232
230
  }
233
- //#endregion
234
- //#region ../types/src/clone.ts
231
+ // ../types/src/clone.ts
235
232
  function m(e) {
236
233
  let t = [];
237
234
  return JSON.parse(JSON.stringify(e, function(e, n) {
@@ -240,8 +237,7 @@ function m(e) {
240
237
  if (!t.includes(n)) return t.push(n), n;
241
238
  }));
242
239
  }
243
- //#endregion
244
- //#region ../types/src/deep-equal.ts
240
+ // ../types/src/deep-equal.ts
245
241
  function pe(e) {
246
242
  return typeof e == "object" && !!e && !Array.isArray(e);
247
243
  }
@@ -256,8 +252,7 @@ function h(e, t) {
256
252
  }
257
253
  return !1;
258
254
  }
259
- //#endregion
260
- //#region ../types/src/operations.ts
255
+ // ../types/src/operations.ts
261
256
  var g = class extends Error {
262
257
  code;
263
258
  opIndex;
@@ -360,7 +355,7 @@ function T(e, t) {
360
355
  }
361
356
  function E(e, t, n) {
362
357
  let r = e.set ?? null, i = e.unset ?? [];
363
- (r !== null && !y(r) || !Array.isArray(i) || !i.every((e) => typeof e == "string")) && v("invalid_operation", t, "set must be an object and unset a list of keys.");
358
+ (r === null || y(r)) && Array.isArray(i) && i.every((e) => typeof e == "string") || v("invalid_operation", t, "set must be an object and unset a list of keys.");
364
359
  let a = r === null ? {} : r, o = Object.keys(a).filter((e) => a[e] !== void 0);
365
360
  o.length === 0 && i.length === 0 && v("invalid_operation", t, "Set or unset at least one key.");
366
361
  for (let e of [...o, ...i]) n.has(e) && v("invalid_operation", t, `"${e}" can't be set or unset.`);
@@ -371,10 +366,10 @@ function E(e, t, n) {
371
366
  };
372
367
  }
373
368
  function D(e, t, n) {
374
- if ((!y(e) || typeof e.id != "string" || e.id === "" || typeof e.type != "string") && v("invalid_operation", t, "A block needs a non-empty string id and a string type."), !b(e)) return;
369
+ if (y(e) && typeof e.id == "string" && e.id !== "" && typeof e.type == "string" || v("invalid_operation", t, "A block needs a non-empty string id and a string type."), !b(e)) return;
375
370
  n && v("invalid_operation", t, "Sections can only be placed at the top level.");
376
371
  let r = e.children;
377
- (!Array.isArray(r) || !r.every((e) => Array.isArray(e))) && v("invalid_operation", t, "A section needs children: a list of columns, each a list of blocks.");
372
+ Array.isArray(r) && r.every((e) => Array.isArray(e)) || v("invalid_operation", t, "A section needs children: a list of columns, each a list of blocks.");
378
373
  for (let e of r) for (let n of e) D(n, t, !0);
379
374
  }
380
375
  function O(e, t) {
@@ -421,7 +416,7 @@ function N(e, t, n) {
421
416
  }
422
417
  function Ce(e, t, n, r) {
423
418
  let i = t;
424
- switch ((!y(i) || typeof i.op != "string") && v("invalid_operation", n, "Each operation must be an object with an \"op\"."), i.op) {
419
+ switch (y(i) && typeof i.op == "string" || v("invalid_operation", n, "Each operation must be an object with an \"op\"."), i.op) {
425
420
  case "addBlock": return we(e, i, n);
426
421
  case "moveBlock": return Te(e, i, n, r);
427
422
  case "deleteBlock": return Ee(e, i, n, r);
@@ -444,7 +439,7 @@ function Te(e, t, n, r) {
444
439
  if (!c) return v("block_missing", n, `No block with id "${i}".`, i);
445
440
  if (k(r, S(c.block), n), s) {
446
441
  let e = c.index > 0 ? c.list[c.index - 1] : null, t = y(e) ? e.id ?? null : null;
447
- (!h(c.parent, s.parent ?? null) || !h(t, s.after ?? null)) && v("precondition_failed", n, `Block "${i}" has moved since.`, i);
442
+ h(c.parent, s.parent ?? null) && h(t, s.after ?? null) || v("precondition_failed", n, `Block "${i}" has moved since.`, i);
448
443
  }
449
444
  b(c.block) && a !== null && v("invalid_operation", n, "Sections can only be placed at the top level."), o === i && v("invalid_operation", n, "A block can't be placed after itself.");
450
445
  let l = j(e, a, n);
@@ -473,8 +468,7 @@ function ke(e, t, n, r) {
473
468
  let a = r.locks.find((e) => O(r, e));
474
469
  a && v("locked_by_others", n, "Other sessions hold locks on this template.", a.blockId), e.blocks = m(i.blocks), e.settings = m(i.settings);
475
470
  }
476
- //#endregion
477
- //#region ../types/src/invert-operations.ts
471
+ // ../types/src/invert-operations.ts
478
472
  function Ae(e) {
479
473
  let t = e.children;
480
474
  return e.type === "section" && Array.isArray(t) ? t : [];
@@ -586,8 +580,7 @@ function Ne(e, t) {
586
580
  }
587
581
  }), r.reverse();
588
582
  }
589
- //#endregion
590
- //#region ../types/src/config.ts
583
+ // ../types/src/config.ts
591
584
  var Pe = class extends Error {
592
585
  statusCode;
593
586
  code;
@@ -604,8 +597,7 @@ var Pe = class extends Error {
604
597
  return this.statusCode !== void 0 && this.statusCode >= 500;
605
598
  }
606
599
  };
607
- //#endregion
608
- //#region ../types/src/collaboration.ts
600
+ // ../types/src/collaboration.ts
609
601
  function Fe(e) {
610
602
  return e === "invalid_operation" ? 422 : e === "content_too_large" ? 413 : 409;
611
603
  }
@@ -617,8 +609,7 @@ var Ie = class extends Pe {
617
609
  super(e, t.status ?? Fe(t.code), t.code), this.name = "CollaborationConflict", t.opIndex !== void 0 && (this.opIndex = t.opIndex), t.holder !== void 0 && (this.holder = t.holder), t.holders !== void 0 && (this.holders = t.holders);
618
610
  }
619
611
  };
620
- //#endregion
621
- //#region ../types/src/guards.ts
612
+ // ../types/src/guards.ts
622
613
  function I(e) {
623
614
  return e.type === "section";
624
615
  }
@@ -667,8 +658,7 @@ function L(e) {
667
658
  function R(e) {
668
659
  return e.type === "wrapper";
669
660
  }
670
- //#endregion
671
- //#region ../types/src/defaults.ts
661
+ // ../types/src/defaults.ts
672
662
  var Xe = {
673
663
  content: "<p>Enter your title</p>",
674
664
  level: 2,
@@ -678,7 +668,7 @@ var Xe = {
678
668
  alt: "",
679
669
  width: "full",
680
670
  align: "center"
681
- }, z = {
671
+ }, $e = {
682
672
  text: "Click Here",
683
673
  url: "",
684
674
  backgroundColor: "#333333",
@@ -692,18 +682,18 @@ var Xe = {
692
682
  left: 24
693
683
  },
694
684
  align: "center"
695
- }, $e = {
685
+ }, et = {
696
686
  lineStyle: "solid",
697
687
  color: "#e0e0e0",
698
688
  thickness: 1,
699
689
  width: "full"
700
- }, et = { columns: "1" }, tt = {
690
+ }, tt = { columns: "1" }, nt = {
701
691
  url: "",
702
692
  thumbnailUrl: "",
703
693
  alt: "Video",
704
694
  width: "full",
705
695
  align: "center"
706
- }, nt = {
696
+ }, z = {
707
697
  iconStyle: "solid",
708
698
  iconSize: "medium",
709
699
  spacing: 10,
@@ -745,11 +735,11 @@ var Xe = {
745
735
  title: Xe,
746
736
  paragraph: Ze,
747
737
  image: Qe,
748
- button: z,
749
- divider: $e,
750
- section: et,
751
- video: tt,
752
- social: nt,
738
+ button: $e,
739
+ divider: et,
740
+ section: tt,
741
+ video: nt,
742
+ social: z,
753
743
  spacer: rt,
754
744
  html: it,
755
745
  menu: at,
@@ -774,8 +764,7 @@ function B(e, t) {
774
764
  }
775
765
  return n;
776
766
  }
777
- //#endregion
778
- //#region ../types/src/template.ts
767
+ // ../types/src/template.ts
779
768
  function dt(e = "Arial", t) {
780
769
  return {
781
770
  blocks: [],
@@ -786,8 +775,7 @@ function dt(e = "Arial", t) {
786
775
  }
787
776
  };
788
777
  }
789
- //#endregion
790
- //#region ../types/src/direction.ts
778
+ // ../types/src/direction.ts
791
779
  var ft = [
792
780
  "ar",
793
781
  "he",
@@ -809,8 +797,16 @@ function pt(e) {
809
797
  function mt(e) {
810
798
  return e.direction === "ltr" || e.direction === "rtl" ? e.direction : pt(e.locale) ? "rtl" : "ltr";
811
799
  }
812
- //#endregion
813
- //#region ../types/src/factory.ts
800
+ // ../types/src/custom-block-liquid.ts
801
+ function ht(e) {
802
+ return new e.Liquid({
803
+ strictVariables: !1,
804
+ strictFilters: !1,
805
+ outputEscape: "escape",
806
+ templates: {}
807
+ });
808
+ }
809
+ // ../types/src/factory.ts
814
810
  function V(e, t) {
815
811
  let n = m(e);
816
812
  return !t || Object.keys(t).length === 0 ? n : B(n, t);
@@ -821,7 +817,7 @@ function H(e) {
821
817
  function U() {
822
818
  return crypto.randomUUID();
823
819
  }
824
- function ht(e = 0) {
820
+ function gt(e = 0) {
825
821
  return {
826
822
  top: e,
827
823
  right: e,
@@ -830,9 +826,9 @@ function ht(e = 0) {
830
826
  };
831
827
  }
832
828
  function W(e = 10) {
833
- return { padding: ht(e) };
829
+ return { padding: gt(e) };
834
830
  }
835
- function gt(e = {}) {
831
+ function _t(e = {}) {
836
832
  return V({
837
833
  id: U(),
838
834
  type: "title",
@@ -840,7 +836,7 @@ function gt(e = {}) {
840
836
  styles: W()
841
837
  }, e);
842
838
  }
843
- function _t(e = {}) {
839
+ function vt(e = {}) {
844
840
  return V({
845
841
  id: U(),
846
842
  type: "paragraph",
@@ -848,7 +844,7 @@ function _t(e = {}) {
848
844
  styles: W()
849
845
  }, e);
850
846
  }
851
- function vt(e = {}) {
847
+ function yt(e = {}) {
852
848
  return V({
853
849
  id: U(),
854
850
  type: "image",
@@ -856,49 +852,49 @@ function vt(e = {}) {
856
852
  styles: W()
857
853
  }, e);
858
854
  }
859
- function yt(e = {}) {
855
+ function bt(e = {}) {
860
856
  return V({
861
857
  id: U(),
862
858
  type: "button",
863
- ...z,
859
+ ...$e,
864
860
  styles: W()
865
861
  }, e);
866
862
  }
867
- function bt(e = {}) {
863
+ function xt(e = {}) {
868
864
  return V({
869
865
  id: U(),
870
866
  type: "divider",
871
- ...$e,
867
+ ...et,
872
868
  styles: W(20)
873
869
  }, e);
874
870
  }
875
- function xt(e = {}) {
871
+ function St(e = {}) {
876
872
  return V({
877
873
  id: U(),
878
874
  type: "section",
879
- ...et,
875
+ ...tt,
880
876
  children: [[]],
881
877
  styles: W(20)
882
878
  }, e);
883
879
  }
884
- function St(e = {}) {
880
+ function Ct(e = {}) {
885
881
  return V({
886
882
  id: U(),
887
883
  type: "video",
888
- ...tt,
884
+ ...nt,
889
885
  styles: W()
890
886
  }, e);
891
887
  }
892
- function Ct(e = {}) {
888
+ function wt(e = {}) {
893
889
  return V({
894
890
  id: U(),
895
891
  type: "social",
896
892
  icons: [],
897
- ...nt,
893
+ ...z,
898
894
  styles: W()
899
895
  }, e);
900
896
  }
901
- function wt(e = {}) {
897
+ function Tt(e = {}) {
902
898
  return V({
903
899
  id: U(),
904
900
  type: "spacer",
@@ -906,7 +902,7 @@ function wt(e = {}) {
906
902
  styles: W(0)
907
903
  }, e);
908
904
  }
909
- function Tt(e = {}) {
905
+ function Et(e = {}) {
910
906
  return V({
911
907
  id: U(),
912
908
  type: "html",
@@ -914,7 +910,7 @@ function Tt(e = {}) {
914
910
  styles: W()
915
911
  }, e);
916
912
  }
917
- function Et(e = {}) {
913
+ function Dt(e = {}) {
918
914
  return V({
919
915
  id: U(),
920
916
  type: "menu",
@@ -923,7 +919,7 @@ function Et(e = {}) {
923
919
  styles: W()
924
920
  }, e);
925
921
  }
926
- function Dt(e, t) {
922
+ function Ot(e, t) {
927
923
  return Array.from({ length: t }, () => ({
928
924
  id: U(),
929
925
  cells: Array.from({ length: e }, () => ({
@@ -932,16 +928,16 @@ function Dt(e, t) {
932
928
  }))
933
929
  }));
934
930
  }
935
- function Ot(e = {}) {
931
+ function kt(e = {}) {
936
932
  return V({
937
933
  id: U(),
938
934
  type: "table",
939
- rows: Dt(3, 3),
935
+ rows: Ot(3, 3),
940
936
  ...ot,
941
937
  styles: W()
942
938
  }, e);
943
939
  }
944
- function kt(e = {}) {
940
+ function At(e = {}) {
945
941
  return V({
946
942
  id: U(),
947
943
  type: "countdown",
@@ -949,12 +945,12 @@ function kt(e = {}) {
949
945
  styles: W()
950
946
  }, e);
951
947
  }
952
- function At(e) {
948
+ function jt(e) {
953
949
  return e.type === "repeatable" ? e.default ?? [] : e.type === "boolean" ? e.default ?? !1 : e.type === "number" ? e.default ?? 0 : e.default ?? "";
954
950
  }
955
- function jt(e) {
951
+ function Mt(e) {
956
952
  let t = {};
957
- for (let n of e.fields) t[n.key] = H(At(n));
953
+ for (let n of e.fields) t[n.key] = H(jt(n));
958
954
  let n = V(W(), H(e.defaultStyles));
959
955
  return {
960
956
  id: U(),
@@ -965,14 +961,14 @@ function jt(e) {
965
961
  ...e.dataSource ? { dataSourceFetched: !1 } : {}
966
962
  };
967
963
  }
968
- function Mt() {
964
+ function Nt() {
969
965
  return {
970
966
  id: U(),
971
967
  type: "slot",
972
968
  styles: W(0)
973
969
  };
974
970
  }
975
- function Nt(e = {}) {
971
+ function Pt(e = {}) {
976
972
  return V({
977
973
  id: U(),
978
974
  type: "wrapper",
@@ -980,21 +976,21 @@ function Nt(e = {}) {
980
976
  styles: W(0)
981
977
  }, e);
982
978
  }
983
- function Pt(e, t) {
979
+ function Ft(e, t) {
984
980
  switch (e) {
985
- case "section": return xt(H(t?.section));
986
- case "title": return gt(H(t?.title));
987
- case "paragraph": return _t(H(t?.paragraph));
988
- case "image": return vt(H(t?.image));
989
- case "button": return yt(H(t?.button));
990
- case "divider": return bt(H(t?.divider));
991
- case "video": return St(H(t?.video));
992
- case "social": return Ct(H(t?.social));
993
- case "spacer": return wt(H(t?.spacer));
994
- case "html": return Tt(H(t?.html));
995
- case "menu": return Et(H(t?.menu));
996
- case "table": return Ot(H(t?.table));
997
- case "countdown": return kt(H(t?.countdown));
981
+ case "section": return St(H(t?.section));
982
+ case "title": return _t(H(t?.title));
983
+ case "paragraph": return vt(H(t?.paragraph));
984
+ case "image": return yt(H(t?.image));
985
+ case "button": return bt(H(t?.button));
986
+ case "divider": return xt(H(t?.divider));
987
+ case "video": return Ct(H(t?.video));
988
+ case "social": return wt(H(t?.social));
989
+ case "spacer": return Tt(H(t?.spacer));
990
+ case "html": return Et(H(t?.html));
991
+ case "menu": return Dt(H(t?.menu));
992
+ case "table": return kt(H(t?.table));
993
+ case "countdown": return At(H(t?.countdown));
998
994
  case "slot": throw Error("[Templatical] slot cannot be inserted into content. Use createSlotBlock() to build a layout.");
999
995
  case "wrapper": throw Error("[Templatical] wrapper cannot be inserted into content. Use createWrapperBlock() to build a layout.");
1000
996
  default: throw Error(`Unknown block type: ${e}`);
@@ -1010,51 +1006,50 @@ function G(e) {
1010
1006
  if (t.type === "social") for (let e of t.icons) e.id = U();
1011
1007
  return t.type === "section" && (t.children = t.children.map((e) => e.map((e) => G(e)))), t.type === "wrapper" && (t.children = t.children.map((e) => G(e))), t;
1012
1008
  }
1013
- //#endregion
1014
- //#region ../types/src/layout.ts
1015
- var Ft = "[Templatical] layout: must contain exactly one slot block", It = "[Templatical] layout: slot must be a top-level or wrapper child, not nested in a section", Lt = "[Templatical] layout: a wrapper cannot contain a wrapper", Rt = "[Templatical] layout: a wrapper around the slot cannot contain blocks that emit mj-wrapper (section.wrapper)", zt = "[Templatical] slot is not a valid content block", Bt = "[Templatical] wrapper is not a valid content block";
1009
+ // ../types/src/layout.ts
1010
+ var It = "[Templatical] layout: must contain exactly one slot block", Lt = "[Templatical] layout: slot must be a top-level or wrapper child, not nested in a section", Rt = "[Templatical] layout: a wrapper cannot contain a wrapper", zt = "[Templatical] layout: a wrapper around the slot cannot contain blocks that emit mj-wrapper (section.wrapper)", Bt = "[Templatical] slot is not a valid content block", Vt = "[Templatical] wrapper is not a valid content block";
1016
1011
  function K(e, t, n = null, r = !1) {
1017
1012
  for (let i of e) if (t(i, n, r), I(i)) for (let e of i.children) K(e, t, i, !0);
1018
1013
  else R(i) && K(i.children, t, i, r);
1019
1014
  }
1020
- function Vt(e) {
1015
+ function Ht(e) {
1021
1016
  let t = 0;
1022
1017
  if (K(e.blocks, (e, n, r) => {
1023
- if (L(e) && (t += 1, r)) throw Error(It);
1018
+ if (L(e) && (t += 1, r)) throw Error(Lt);
1024
1019
  if (R(e)) {
1025
- if (r) throw Error(It);
1026
- if (e.children.some(R)) throw Error(Lt);
1020
+ if (r) throw Error(Lt);
1021
+ if (e.children.some(R)) throw Error(Rt);
1027
1022
  }
1028
- }), t !== 1) throw Error(Ft);
1023
+ }), t !== 1) throw Error(It);
1029
1024
  }
1030
- function Ht(e) {
1025
+ function Ut(e) {
1031
1026
  K(e.blocks, (e) => {
1032
- if (L(e)) throw Error(zt);
1027
+ if (L(e)) throw Error(Bt);
1033
1028
  });
1034
1029
  }
1035
- function Ut(e) {
1030
+ function Wt(e) {
1036
1031
  K(e.blocks, (e) => {
1037
- if (R(e)) throw Error(Bt);
1032
+ if (R(e)) throw Error(Vt);
1038
1033
  });
1039
1034
  }
1040
- function Wt(e) {
1035
+ function Gt(e) {
1041
1036
  let t = !1;
1042
1037
  return K(e.blocks, (e, n) => {
1043
1038
  L(e) && n !== null && R(n) && (t = !0);
1044
1039
  }), t;
1045
1040
  }
1046
- function Gt(e) {
1041
+ function Kt(e) {
1047
1042
  if (L(e)) return e;
1048
1043
  if (R(e)) {
1049
1044
  let t = G({
1050
1045
  ...e,
1051
1046
  children: []
1052
1047
  });
1053
- return t.children = e.children.map(Gt), t;
1048
+ return t.children = e.children.map(Kt), t;
1054
1049
  }
1055
1050
  return G(e);
1056
1051
  }
1057
- function Kt(e) {
1052
+ function qt(e) {
1058
1053
  for (let t = 0; t < e.length; t++) {
1059
1054
  let n = e[t];
1060
1055
  if (L(n)) return {
@@ -1062,23 +1057,23 @@ function Kt(e) {
1062
1057
  index: t
1063
1058
  };
1064
1059
  if (R(n)) {
1065
- let e = Kt(n.children);
1060
+ let e = qt(n.children);
1066
1061
  if (e) return e;
1067
1062
  }
1068
1063
  }
1069
1064
  return null;
1070
1065
  }
1071
- function qt(e) {
1066
+ function Jt(e) {
1072
1067
  for (let t of e) if (I(t)) {
1073
1068
  if (t.wrapper) return !0;
1074
- for (let e of t.children) if (qt(e)) return !0;
1069
+ for (let e of t.children) if (Jt(e)) return !0;
1075
1070
  }
1076
1071
  return !1;
1077
1072
  }
1078
- function Jt(e, t) {
1079
- if (Vt(e), Ht(t), Ut(t), Wt(e) && qt(t.blocks)) throw Error(Rt);
1080
- let n = e.blocks.map(Gt), r = Kt(n);
1081
- if (!r) throw Error(Ft);
1073
+ function Yt(e, t) {
1074
+ if (Ht(e), Ut(t), Wt(t), Gt(e) && Jt(t.blocks)) throw Error(zt);
1075
+ let n = e.blocks.map(Kt), r = qt(n);
1076
+ if (!r) throw Error(It);
1082
1077
  return r.parent.splice(r.index, 1, ...m(t.blocks)), {
1083
1078
  blocks: n,
1084
1079
  settings: {
@@ -1087,26 +1082,53 @@ function Jt(e, t) {
1087
1082
  }
1088
1083
  };
1089
1084
  }
1090
- //#endregion
1091
- //#region ../types/src/html-scan.ts
1092
- var Yt = /* @__PURE__ */ new Set(["\"", "'"]);
1093
- function Xt(e, t) {
1085
+ // ../types/src/url-policy.ts
1086
+ var Xt = Object.freeze([
1087
+ "http",
1088
+ "https",
1089
+ "mailto",
1090
+ "tel",
1091
+ "ftp",
1092
+ "ftps",
1093
+ "sms",
1094
+ "xmpp",
1095
+ "cid"
1096
+ ]), Zt = Object.freeze([
1097
+ "javascript",
1098
+ "data",
1099
+ "vbscript"
1100
+ ]);
1101
+ function Qt(e) {
1102
+ return e.replace(/[\t\n\r]/g, "").replace(/^[\u0000-\u0020]+/, "").trimEnd();
1103
+ }
1104
+ function $t(e) {
1105
+ let t = /^([a-z][a-z0-9+.-]*):/i.exec(Qt(e));
1106
+ return t ? t[1].toLowerCase() : null;
1107
+ }
1108
+ var en = /^data:image\/(png|jpe?g|gif|webp|svg\+xml);/i;
1109
+ function tn(e, t) {
1110
+ let n = Qt(e), r = $t(n);
1111
+ return r === null || Xt.some((e) => e === r) ? !0 : t.toLowerCase() === "src" && en.test(n);
1112
+ }
1113
+ // ../types/src/html-scan.ts
1114
+ var nn = /* @__PURE__ */ new Set(["\"", "'"]);
1115
+ function rn(e, t) {
1094
1116
  let n = null;
1095
1117
  for (let r = t; r < e.length; r++) {
1096
1118
  let t = e[r];
1097
1119
  if (n !== null) t === n && (n = null);
1098
- else if (Yt.has(t)) n = t;
1120
+ else if (nn.has(t)) n = t;
1099
1121
  else if (t === ">") return r;
1100
1122
  }
1101
1123
  return -1;
1102
1124
  }
1103
- function Zt(e) {
1125
+ function an(e) {
1104
1126
  return e !== " " && e !== " " && e !== "\n" && e !== "\r" && e !== "\f" && e !== "=" && e !== ">" && e !== "/";
1105
1127
  }
1106
1128
  function q(e) {
1107
1129
  return e === " " || e === " " || e === "\n" || e === "\r" || e === "\f";
1108
1130
  }
1109
- var Qt = {
1131
+ var on = {
1110
1132
  amp: "&",
1111
1133
  lt: "<",
1112
1134
  gt: ">",
@@ -1114,22 +1136,22 @@ var Qt = {
1114
1136
  apos: "'",
1115
1137
  nbsp: "\xA0"
1116
1138
  };
1117
- function $t(e) {
1139
+ function sn(e) {
1118
1140
  return e.includes("&") ? e.replace(/&(#[0-9]+|#[xX][0-9a-fA-F]+|[a-zA-Z][a-zA-Z0-9]*);/g, (e, t) => {
1119
1141
  if (t[0] === "#") {
1120
1142
  let n = t[1] === "x" || t[1] === "X" ? Number.parseInt(t.slice(2), 16) : Number.parseInt(t.slice(1), 10);
1121
1143
  return !Number.isFinite(n) || n < 1 || n > 1114111 || n >= 55296 && n <= 57343 ? e : String.fromCodePoint(n);
1122
1144
  }
1123
- return Qt[t.toLowerCase()] ?? e;
1145
+ return on[t.toLowerCase()] ?? e;
1124
1146
  }) : e;
1125
1147
  }
1126
- function en(e, t) {
1148
+ function cn(e, t) {
1127
1149
  let n = t.toLowerCase(), r = 0;
1128
1150
  for (; r < e.length;) {
1129
1151
  for (; r < e.length && (q(e[r]) || e[r] === "/");) r++;
1130
1152
  if (r >= e.length) break;
1131
1153
  let t = r;
1132
- for (; r < e.length && Zt(e[r]);) r++;
1154
+ for (; r < e.length && an(e[r]);) r++;
1133
1155
  let i = e.substring(t, r).toLowerCase();
1134
1156
  if (i === "") {
1135
1157
  r++;
@@ -1139,31 +1161,29 @@ function en(e, t) {
1139
1161
  if (e[r] !== "=") continue;
1140
1162
  for (r++; r < e.length && q(e[r]);) r++;
1141
1163
  let a = e[r];
1142
- if (Yt.has(a)) {
1164
+ if (nn.has(a)) {
1143
1165
  let t = r + 1, o = e.indexOf(a, t);
1144
1166
  if (o === -1) return null;
1145
- if (i === n) return $t(e.substring(t, o));
1167
+ if (i === n) return sn(e.substring(t, o));
1146
1168
  r = o + 1;
1147
1169
  continue;
1148
1170
  }
1149
1171
  let o = r;
1150
1172
  for (; r < e.length && !q(e[r]) && e[r] !== ">";) r++;
1151
- if (i === n) return $t(e.substring(o, r));
1173
+ if (i === n) return sn(e.substring(o, r));
1152
1174
  }
1153
1175
  return null;
1154
1176
  }
1155
- //#endregion
1156
- //#region ../types/src/rich-text.ts
1157
- var tn = /<\/?p\b[^<>]*>/gi, nn = /<p\b([^<>]*)>\s*<\/p>/gi;
1158
- function rn(e) {
1159
- return e.replace(tn, "").trim() === "";
1177
+ // ../types/src/rich-text.ts
1178
+ var ln = /<\/?p\b[^<>]*>/gi, un = /<p\b([^<>]*)>\s*<\/p>/gi;
1179
+ function dn(e) {
1180
+ return e.replace(ln, "").trim() === "";
1160
1181
  }
1161
- function an(e) {
1162
- return rn(e) ? e : e.replace(nn, "<p$1>&nbsp;</p>");
1182
+ function fn(e) {
1183
+ return dn(e) ? e : e.replace(un, "<p$1>&nbsp;</p>");
1163
1184
  }
1164
- //#endregion
1165
- //#region ../types/src/fonts.ts
1166
- var on = {
1185
+ // ../types/src/fonts.ts
1186
+ var pn = {
1167
1187
  arial: "Arial, sans-serif",
1168
1188
  helvetica: "Helvetica, sans-serif",
1169
1189
  georgia: "Georgia, serif",
@@ -1172,13 +1192,13 @@ var on = {
1172
1192
  "trebuchet ms": "'Trebuchet MS', sans-serif",
1173
1193
  "courier new": "'Courier New', monospace",
1174
1194
  tahoma: "Tahoma, sans-serif"
1175
- }, sn = /* @__PURE__ */ new Set([
1195
+ }, mn = /* @__PURE__ */ new Set([
1176
1196
  "inherit",
1177
1197
  "initial",
1178
1198
  "unset",
1179
1199
  "revert",
1180
1200
  "revert-layer"
1181
- ]), cn = /* @__PURE__ */ new Set([
1201
+ ]), hn = /* @__PURE__ */ new Set([
1182
1202
  "serif",
1183
1203
  "sans-serif",
1184
1204
  "monospace",
@@ -1193,14 +1213,14 @@ var on = {
1193
1213
  "math",
1194
1214
  "fangsong"
1195
1215
  ]);
1196
- function ln(e) {
1216
+ function gn(e) {
1197
1217
  return e === " " || e === " " || e === "\n" || e === "\r" || e === "\f";
1198
1218
  }
1199
1219
  function J(e) {
1200
1220
  if (typeof e != "string") return [];
1201
1221
  let t = e.replace(/!\s*important\s*$/i, ""), n = [], r = 0;
1202
1222
  for (;;) {
1203
- for (; r < t.length && ln(t[r]);) r++;
1223
+ for (; r < t.length && gn(t[r]);) r++;
1204
1224
  if (r >= t.length) return [];
1205
1225
  let e = t[r];
1206
1226
  if (e === "\"" || e === "'") {
@@ -1217,7 +1237,7 @@ function J(e) {
1217
1237
  }
1218
1238
  }
1219
1239
  if (!o) return [];
1220
- for (; a < t.length && ln(t[a]);) a++;
1240
+ for (; a < t.length && gn(t[a]);) a++;
1221
1241
  if (a < t.length && t[a] !== ",") return [];
1222
1242
  n.push({
1223
1243
  name: i,
@@ -1225,7 +1245,7 @@ function J(e) {
1225
1245
  }), r = a;
1226
1246
  } else {
1227
1247
  let e = t.indexOf(",", r), i = e === -1 ? t.length : e, a = t.slice(r, i).trim().split(/\s+/).join(" ");
1228
- if (a === "" || a.includes("\"") || a.includes("'") || sn.has(a.toLowerCase())) return [];
1248
+ if (a === "" || a.includes("\"") || a.includes("'") || mn.has(a.toLowerCase())) return [];
1229
1249
  n.push({
1230
1250
  name: a,
1231
1251
  quoted: !1
@@ -1235,25 +1255,24 @@ function J(e) {
1235
1255
  r++;
1236
1256
  }
1237
1257
  }
1238
- function un(e) {
1258
+ function _n(e) {
1239
1259
  return `'${e.replace(/\\/g, "\\\\").replace(/'/g, "\\'")}'`;
1240
1260
  }
1241
- function dn(e) {
1242
- return !e.quoted && cn.has(e.name.toLowerCase());
1261
+ function vn(e) {
1262
+ return !e.quoted && hn.has(e.name.toLowerCase());
1243
1263
  }
1244
- function fn(e) {
1264
+ function yn(e) {
1245
1265
  return J(e)[0]?.name ?? "";
1246
1266
  }
1247
- function pn(e, t) {
1248
- let n = (e) => `${un(e.name)}, ${e.fallback ?? t.defaultFallback}`, r = typeof e == "string" ? e.trim().toLowerCase() : "", i = t.customFonts.find((e) => e.name.toLowerCase() === r);
1267
+ function bn(e, t) {
1268
+ let n = (e) => `${_n(e.name)}, ${e.fallback ?? t.defaultFallback}`, r = typeof e == "string" ? e.trim().toLowerCase() : "", i = t.customFonts.find((e) => e.name.toLowerCase() === r);
1249
1269
  if (i) return n(i);
1250
1270
  let a = J(e);
1251
1271
  if (a.length !== 1) return e;
1252
1272
  let [o] = a, s = o.name.toLowerCase(), c = t.customFonts.find((e) => e.name.toLowerCase() === s);
1253
- return c ? n(c) : on[s] || (dn(o) ? e : `${un(o.name)}, ${t.defaultFallback}`);
1273
+ return c ? n(c) : pn[s] || (vn(o) ? e : `${_n(o.name)}, ${t.defaultFallback}`);
1254
1274
  }
1255
- //#endregion
1256
- //#region ../types/src/merge-tags.ts
1275
+ // ../types/src/merge-tags.ts
1257
1276
  var Y = {
1258
1277
  liquid: {
1259
1278
  value: /\{\{.+?\}\}/g,
@@ -1280,26 +1299,26 @@ var Y = {
1280
1299
  closer: "=%%"
1281
1300
  }
1282
1301
  };
1283
- function mn(e) {
1302
+ function xn(e) {
1284
1303
  return typeof e == "string" && e.trim() !== "" ? e : null;
1285
1304
  }
1286
- function hn(e) {
1305
+ function Sn(e) {
1287
1306
  return Object.values(Y).find((t) => t.value.source === e.value.source) ?? null;
1288
1307
  }
1289
- function gn(e) {
1290
- return mn(e.opener) ?? hn(e)?.opener ?? null;
1308
+ function Cn(e) {
1309
+ return xn(e.opener) ?? Sn(e)?.opener ?? null;
1291
1310
  }
1292
- function _n(e) {
1293
- return mn(e.closer) ?? hn(e)?.closer ?? null;
1311
+ function wn(e) {
1312
+ return xn(e.closer) ?? Sn(e)?.closer ?? null;
1294
1313
  }
1295
- function vn(e) {
1314
+ function Tn(e) {
1296
1315
  return e ? typeof e == "string" ? Y[e] ?? Y.liquid : e : Y.liquid;
1297
1316
  }
1298
1317
  function X(e) {
1299
1318
  let t = e.source, n = e.flags.replace("g", "");
1300
1319
  return RegExp(`^${t}$`, n);
1301
1320
  }
1302
- function yn(e, t) {
1321
+ function En(e, t) {
1303
1322
  let n = e?.trim() || "";
1304
1323
  return !X(t.logic).test(n) && X(t.value).test(n);
1305
1324
  }
@@ -1307,41 +1326,41 @@ function Z(e, t) {
1307
1326
  let n = t.find((t) => t.value === e);
1308
1327
  return n ? n.label : e;
1309
1328
  }
1310
- function bn(e, t) {
1329
+ function Dn(e, t) {
1311
1330
  return $(e, "data-merge-tag", (e) => Z(e, t));
1312
1331
  }
1313
1332
  function Q(e, t) {
1314
1333
  return t.find((t) => t.value === e)?.sample;
1315
1334
  }
1316
- function xn(e, t) {
1317
- return $(e, "data-merge-tag", (e) => wn(Q(e, t) ?? Z(e, t)), { unwrap: (e) => Q(e, t) !== void 0 });
1335
+ function On(e, t) {
1336
+ return $(e, "data-merge-tag", (e) => jn(Q(e, t) ?? Z(e, t)), { unwrap: (e) => Q(e, t) !== void 0 });
1318
1337
  }
1319
- function Sn(e) {
1338
+ function kn(e) {
1320
1339
  return e.some((e) => e.sample !== void 0);
1321
1340
  }
1322
- function Cn(e, t) {
1341
+ function An(e, t) {
1323
1342
  if (!e) return e;
1324
1343
  let n = e;
1325
1344
  for (let e of t) e.sample !== void 0 && (n = n.split(e.value).join(e.sample));
1326
1345
  return n;
1327
1346
  }
1328
- function wn(e) {
1347
+ function jn(e) {
1329
1348
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
1330
1349
  }
1331
- function Tn(e, t) {
1350
+ function Mn(e, t) {
1332
1351
  if (!e) return !1;
1333
1352
  let n = new RegExp(t.value.source, t.value.flags), r = new RegExp(t.logic.source, t.logic.flags);
1334
1353
  return n.test(e) || r.test(e);
1335
1354
  }
1336
- function En(e, t) {
1355
+ function Nn(e, t) {
1337
1356
  return X(t.logic).test(e?.trim() || "");
1338
1357
  }
1339
- function Dn(e, t) {
1358
+ function Pn(e, t) {
1340
1359
  let n = new RegExp(t.logic.source, t.logic.flags.replace("g", "")), r = e.match(n);
1341
1360
  return r && r[1] ? r[1].toUpperCase() : e;
1342
1361
  }
1343
- function On(e, t) {
1344
- return $(e, "data-logic-merge-tag", (e) => Dn(e, t));
1362
+ function Fn(e, t) {
1363
+ return $(e, "data-logic-merge-tag", (e) => Pn(e, t));
1345
1364
  }
1346
1365
  function $(e, t, n, r) {
1347
1366
  let i = "", a = 0;
@@ -1356,7 +1375,7 @@ function $(e, t, n, r) {
1356
1375
  i += e.substring(a, o + 5), a = o + 5;
1357
1376
  continue;
1358
1377
  }
1359
- let c = Xt(e, o + 5);
1378
+ let c = rn(e, o + 5);
1360
1379
  if (c === -1) {
1361
1380
  i += e.substring(a);
1362
1381
  break;
@@ -1366,7 +1385,7 @@ function $(e, t, n, r) {
1366
1385
  i += e.substring(a);
1367
1386
  break;
1368
1387
  }
1369
- let u = en(e.substring(o + 5, c), t);
1388
+ let u = cn(e.substring(o + 5, c), t);
1370
1389
  if (u === null) {
1371
1390
  i += e.substring(a, o + 5), a = o + 5;
1372
1391
  continue;
@@ -1376,12 +1395,10 @@ function $(e, t, n, r) {
1376
1395
  }
1377
1396
  return i;
1378
1397
  }
1379
- //#endregion
1380
- //#region ../types/src/preview-resolution.ts
1381
- function kn(e) {
1398
+ // ../types/src/preview-resolution.ts
1399
+ function In(e) {
1382
1400
  return typeof e != "object" || !e ? !1 : Array.isArray(e.blocks);
1383
1401
  }
1384
- //#endregion
1385
- export { Be as $, Pt as A, ae as At, Mt as B, c as Bt, en as C, m as Ct, Wt as D, fe as Dt, Ut as E, le as Et, Tt as F, re as Ft, St as G, wt as H, r as Ht, vt as I, i as It, mt as J, Nt as K, Et as L, e as Lt, kt as M, ee as Mt, jt as N, te as Nt, Vt as O, de as Ot, bt as P, ne as Pt, B as Q, _t as R, s as Rt, Xt as S, h as St, Ht as T, ue as Tt, Ot as U, o as Ut, Ct as V, n as Vt, gt as W, t as Wt, ct as X, dt as Y, lt as Z, fn as _, Ne as _t, Z as a, Ke as at, an as b, _ as bt, gn as c, L as ct, yn as d, qe as dt, Je as et, On as f, Le as ft, Cn as g, Pe as gt, xn as h, Ie as ht, Dn as i, ze as it, yt as j, d as jt, G as k, se as kt, Sn as l, Ue as lt, vn as m, R as mt, Y as n, Ve as nt, Q as o, Re as ot, bn as p, He as pt, U as q, Tn as r, Ge as rt, _n as s, I as st, kn as t, Ye as tt, En as u, We as ut, J as v, g as vt, Jt as w, ce as wt, rn as x, me as xt, pn as y, he as yt, xt as z, l as zt };
1402
+ export { mt as $, Wt as A, ue as At, yt as B, re as Bt, cn as C, g as Ct, tn as D, h as Dt, $t as E, me as Et, bt as F, ae as Ft, wt as G, c as Gt, vt as H, e as Ht, At as I, d as It, _t as J, o as Jt, Tt as K, n as Kt, Mt as L, ee as Lt, Ht as M, fe as Mt, G as N, de as Nt, Yt as O, m as Ot, Ft as P, se as Pt, ht as Q, xt as R, te as Rt, rn as S, Ne as St, Xt as T, _ as Tt, St as U, s as Ut, Dt as V, i as Vt, Nt as W, l as Wt, Pt as X, Ct as Y, t as Yt, U as Z, yn as _, Le as _t, Z as a, Je as at, fn as b, Ie as bt, Cn as c, Ge as ct, En as d, Re as dt, dt as et, Fn as f, I as ft, An as g, qe as gt, On as h, We as ht, Pn as i, Be as it, Gt as j, le as jt, Ut as k, ce as kt, kn as l, ze as lt, Tn as m, Ue as mt, Y as n, lt as nt, Q as o, Ye as ot, Dn as p, L as pt, kt as q, r as qt, Mn as r, B as rt, wn as s, Ve as st, In as t, ct as tt, Nn as u, Ke as ut, J as v, He as vt, Zt as w, he as wt, dn as x, Pe as xt, bn as y, R as yt, Et as z, ne as zt };
1386
1403
 
1387
- //# sourceMappingURL=src-BNFnxfrA.js.map
1404
+ //# sourceMappingURL=src-DwWrYnUj.js.map