@templatical/editor 0.61.0 → 0.62.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 (231) hide show
  1. package/LICENSE +21 -109
  2. package/README.md +3 -3
  3. package/dist/{AiAltTextPopover-DSA1wiiW.js → AiAltTextPopover-C1Ike67q.js} +3 -4
  4. package/dist/{AiAltTextReview-B9-vfzCj.js → AiAltTextReview-BjT7_PoG.js} +2 -3
  5. package/dist/{AiChatPanel-DF5TvO9H.js → AiChatPanel-C82fJozf.js} +3 -4
  6. package/dist/{AiPanels-zRqC5DIP.js → AiPanels-sam_GMNs.js} +1 -1
  7. package/dist/{AiRewriteMenu-CmZKTO-O.js → AiRewriteMenu-BG3-appN.js} +3 -4
  8. package/dist/{BlockIssueBadge-Bug5iqcK.js → BlockIssueBadge-D3OmWkCh.js} +2 -3
  9. package/dist/{BlockPreviewCanvas-knSyWaCP.js → BlockPreviewCanvas-oxkPHm78.js} +6 -6
  10. package/dist/{CollaborationNotices-BM35YG72.js → CollaborationNotices-Cmc7Ziuf.js} +1 -1
  11. package/dist/{CollaboratorBar-DMsEOndt.js → CollaboratorBar-DVtWefk1.js} +1 -1
  12. package/dist/{CommentsPanel-BMYvXRKK.js → CommentsPanel-BSt22Zw9.js} +1 -1
  13. package/dist/{cdn/chunks/CommentsSidebar-BEiOQ_zT.js → CommentsSidebar-C8qbxjyN.js} +228 -205
  14. package/dist/{CountdownBlock-AYPypmcX.js → CountdownBlock-bFAELCB6.js} +3 -4
  15. package/dist/{CountdownToolbar-BprSuPJk.js → CountdownToolbar-CJbPEVV5.js} +4 -4
  16. package/dist/{IssuesPanel-CeCvUfa7.js → IssuesPanel-CKYf6K84.js} +4 -5
  17. package/dist/{LanguageMenu-CkGqLYjf.js → LanguageMenu-8yH1Ypum.js} +5 -6
  18. package/dist/{LocaleNotices-D0be8ovO.js → LocaleNotices-24UYFxo2.js} +7 -8
  19. package/dist/{LogicTagInsertButton-BzEZUTRZ.js → LogicTagInsertButton-DdaafrjI.js} +95 -96
  20. package/dist/{MergeTagInput-By2FSStk.js → MergeTagInput-BXM6-eF-.js} +1 -1
  21. package/dist/{MergeTagModeToggle-DtjOZhoD.js → MergeTagModeToggle-ooA_Ytfq.js} +2 -3
  22. package/dist/{MergeTagTextarea-BjHlamJv.js → MergeTagTextarea-B86MPY89.js} +3 -4
  23. package/dist/{ParagraphEditor-Ctu4fSsl.js → ParagraphEditor-B2BpfcoY.js} +78 -79
  24. package/dist/{RestoreVersionDialog-DvZoTJVa.js → RestoreVersionDialog-BF9Wyma8.js} +2 -2
  25. package/dist/{RichTextEditorContent-B1p7Ykq8.js → RichTextEditorContent-BNMBOkdy.js} +5 -6
  26. package/dist/{SaveBlockDialog-DHfT-Tpx.js → SaveBlockDialog-BZQkihki.js} +23 -24
  27. package/dist/{SavedBlocksBrowserModal-BjJuuXQv.js → SavedBlocksBrowserModal-CQNnmeGv.js} +8 -9
  28. package/dist/{SavedBlocksPanels-D6eiMQZ3.js → SavedBlocksPanels-n-IdFD6E.js} +1 -1
  29. package/dist/{SavedBlocksPickBar-BkgCDSXe.js → SavedBlocksPickBar-BtQgXlKF.js} +2 -2
  30. package/dist/{TemplateSettings-DQAbNsiS.js → TemplateSettings-Z-i-_xF5.js} +19 -20
  31. package/dist/{TestEmailModal-m_AEa36T.js → TestEmailModal-IeP1EsJ5.js} +17 -18
  32. package/dist/{TestEmailPanel-OApkuaVd.js → TestEmailPanel-DVxTZJ4H.js} +1 -1
  33. package/dist/{TitleEditor-Cwdtfk15.js → TitleEditor-D1UDQaHM.js} +8 -9
  34. package/dist/{Toolbar-D_T55elL.js → Toolbar-bwAdFK4A.js} +308 -310
  35. package/dist/{TplModal-2MKm5y6r.js → TplModal-BvUeHkqB.js} +4 -4
  36. package/dist/{VersionHistoryMenu-B3-xJ7GO.js → VersionHistoryMenu-qoOkZKal.js} +6 -7
  37. package/dist/{VersionHistoryPanels-CCM0IQBg.js → VersionHistoryPanels-rkOqdUem.js} +1 -1
  38. package/dist/{VersionPreviewBanner-DLAB4ZbS.js → VersionPreviewBanner-DEN9rl6y.js} +1 -1
  39. package/dist/{WrapperBlock-BZl10HLy.js → WrapperBlock-CvEmjNKs.js} +4 -4
  40. package/dist/{blockTypeIcons-C691ZY1l.js → blockTypeIcons-C1S2wVx8.js} +4 -4
  41. package/dist/bundle-stats.json +8 -8
  42. package/dist/{ca-C8N05sCU.js → ca-BIseSbs-.js} +1 -2
  43. package/dist/cdn/chunks/{AiAltTextPopover-BLNN_Pnd.js → AiAltTextPopover-mDx_knAl.js} +4 -5
  44. package/dist/cdn/chunks/{AiAltTextPopover-BLNN_Pnd.js.map → AiAltTextPopover-mDx_knAl.js.map} +1 -1
  45. package/dist/cdn/chunks/{AiAltTextReview-Db8vSNpe.js → AiAltTextReview-Dmg8iVWD.js} +3 -4
  46. package/dist/cdn/chunks/{AiAltTextReview-Db8vSNpe.js.map → AiAltTextReview-Dmg8iVWD.js.map} +1 -1
  47. package/dist/cdn/chunks/{AiChatPanel-BYAsgmoC.js → AiChatPanel-CEDr_x8G.js} +4 -5
  48. package/dist/cdn/chunks/{AiChatPanel-BYAsgmoC.js.map → AiChatPanel-CEDr_x8G.js.map} +1 -1
  49. package/dist/cdn/chunks/{AiPanels-MY_YPls8.js → AiPanels-qJgLTYPs.js} +2 -2
  50. package/dist/cdn/chunks/{AiPanels-MY_YPls8.js.map → AiPanels-qJgLTYPs.js.map} +1 -1
  51. package/dist/cdn/chunks/{AiRewriteMenu-BSePiXe_.js → AiRewriteMenu-DoZh5Q74.js} +4 -5
  52. package/dist/cdn/chunks/{AiRewriteMenu-BSePiXe_.js.map → AiRewriteMenu-DoZh5Q74.js.map} +1 -1
  53. package/dist/cdn/chunks/{BlockIssueBadge-fYeNnepj.js → BlockIssueBadge-D87CYoPw.js} +3 -4
  54. package/dist/cdn/chunks/{BlockIssueBadge-fYeNnepj.js.map → BlockIssueBadge-D87CYoPw.js.map} +1 -1
  55. package/dist/cdn/chunks/{BlockPreviewCanvas-B153A3hu.js → BlockPreviewCanvas-BrxWnLLK.js} +8 -8
  56. package/dist/cdn/chunks/{BlockPreviewCanvas-B153A3hu.js.map → BlockPreviewCanvas-BrxWnLLK.js.map} +1 -1
  57. package/dist/cdn/chunks/{CollaborationNotices-COkmBmps.js → CollaborationNotices-DyzhN_Ns.js} +2 -2
  58. package/dist/cdn/chunks/{CollaborationNotices-COkmBmps.js.map → CollaborationNotices-DyzhN_Ns.js.map} +1 -1
  59. package/dist/cdn/chunks/{CollaboratorBar-BSzI8YIU.js → CollaboratorBar-bNFuQxxP.js} +2 -2
  60. package/dist/cdn/chunks/{CollaboratorBar-BSzI8YIU.js.map → CollaboratorBar-bNFuQxxP.js.map} +1 -1
  61. package/dist/cdn/chunks/{CommentsPanel-R27fqh9O.js → CommentsPanel-D-D2qsS6.js} +2 -2
  62. package/dist/cdn/chunks/{CommentsPanel-R27fqh9O.js.map → CommentsPanel-D-D2qsS6.js.map} +1 -1
  63. package/dist/cdn/chunks/CommentsSidebar-CCVp8M2T.js +479 -0
  64. package/dist/cdn/chunks/CommentsSidebar-CCVp8M2T.js.map +1 -0
  65. package/dist/cdn/chunks/{CountdownBlock--hlKE2aj.js → CountdownBlock-5hUzymeP.js} +4 -5
  66. package/dist/cdn/chunks/{CountdownBlock--hlKE2aj.js.map → CountdownBlock-5hUzymeP.js.map} +1 -1
  67. package/dist/cdn/chunks/{CountdownToolbar-DOhXnbsq.js → CountdownToolbar-DaGxwKfG.js} +5 -5
  68. package/dist/cdn/chunks/{CountdownToolbar-DOhXnbsq.js.map → CountdownToolbar-DaGxwKfG.js.map} +1 -1
  69. package/dist/cdn/chunks/{IssuesPanel-DgxiS3hF.js → IssuesPanel-DQQo1B1z.js} +10 -11
  70. package/dist/cdn/chunks/IssuesPanel-DQQo1B1z.js.map +1 -0
  71. package/dist/cdn/chunks/{LanguageMenu-B6kt8SgX.js → LanguageMenu-CyWfHmkP.js} +6 -7
  72. package/dist/cdn/chunks/{LanguageMenu-B6kt8SgX.js.map → LanguageMenu-CyWfHmkP.js.map} +1 -1
  73. package/dist/cdn/chunks/{LocaleNotices-Bleg4gTu.js → LocaleNotices-DSfOyyyf.js} +8 -9
  74. package/dist/cdn/chunks/{LocaleNotices-Bleg4gTu.js.map → LocaleNotices-DSfOyyyf.js.map} +1 -1
  75. package/dist/cdn/chunks/{LogicTagInsertButton-DGg1Wvhp.js → LogicTagInsertButton-CumMM1rP.js} +7 -8
  76. package/dist/cdn/chunks/{LogicTagInsertButton-DGg1Wvhp.js.map → LogicTagInsertButton-CumMM1rP.js.map} +1 -1
  77. package/dist/cdn/chunks/{MergeTagInput-BVfTwujW.js → MergeTagInput-Dm_QiG96.js} +2 -2
  78. package/dist/cdn/chunks/{MergeTagInput-BVfTwujW.js.map → MergeTagInput-Dm_QiG96.js.map} +1 -1
  79. package/dist/cdn/chunks/{MergeTagModeToggle-BoI0C1Y6.js → MergeTagModeToggle-Bir7lkLe.js} +3 -4
  80. package/dist/cdn/chunks/{MergeTagModeToggle-BoI0C1Y6.js.map → MergeTagModeToggle-Bir7lkLe.js.map} +1 -1
  81. package/dist/cdn/chunks/{MergeTagTextarea-DGDv-pdn.js → MergeTagTextarea-B_IFeWfZ.js} +4 -5
  82. package/dist/cdn/chunks/{MergeTagTextarea-DGDv-pdn.js.map → MergeTagTextarea-B_IFeWfZ.js.map} +1 -1
  83. package/dist/cdn/chunks/{ParagraphEditor-D0q36Myd.js → ParagraphEditor-DUbU-eqS.js} +135 -136
  84. package/dist/cdn/chunks/{ParagraphEditor-D0q36Myd.js.map → ParagraphEditor-DUbU-eqS.js.map} +1 -1
  85. package/dist/cdn/chunks/{RestoreVersionDialog-CJggFdbi.js → RestoreVersionDialog-hDWvu1Fk.js} +3 -3
  86. package/dist/cdn/chunks/{RestoreVersionDialog-CJggFdbi.js.map → RestoreVersionDialog-hDWvu1Fk.js.map} +1 -1
  87. package/dist/cdn/chunks/{RichTextEditorContent-D3ihUF8v.js → RichTextEditorContent-CuvFVxEq.js} +6 -7
  88. package/dist/cdn/chunks/{RichTextEditorContent-D3ihUF8v.js.map → RichTextEditorContent-CuvFVxEq.js.map} +1 -1
  89. package/dist/cdn/chunks/{SaveBlockDialog-BzES5tqd.js → SaveBlockDialog-DVVG78vs.js} +25 -26
  90. package/dist/cdn/chunks/{SaveBlockDialog-BzES5tqd.js.map → SaveBlockDialog-DVVG78vs.js.map} +1 -1
  91. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CLNcZcLd.js → SavedBlocksBrowserModal-CJjVM9pN.js} +9 -10
  92. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CLNcZcLd.js.map → SavedBlocksBrowserModal-CJjVM9pN.js.map} +1 -1
  93. package/dist/cdn/chunks/{SavedBlocksPanels-R0W9LElD.js → SavedBlocksPanels-CUu9BLen.js} +2 -2
  94. package/dist/cdn/chunks/{SavedBlocksPanels-R0W9LElD.js.map → SavedBlocksPanels-CUu9BLen.js.map} +1 -1
  95. package/dist/cdn/chunks/{SavedBlocksPickBar-JNi5Rx4V.js → SavedBlocksPickBar-ClGm41Wt.js} +3 -3
  96. package/dist/cdn/chunks/{SavedBlocksPickBar-JNi5Rx4V.js.map → SavedBlocksPickBar-ClGm41Wt.js.map} +1 -1
  97. package/dist/cdn/chunks/{TemplateSettings-C5wsNcgX.js → TemplateSettings-B8Ch5ps8.js} +20 -21
  98. package/dist/cdn/chunks/{TemplateSettings-C5wsNcgX.js.map → TemplateSettings-B8Ch5ps8.js.map} +1 -1
  99. package/dist/cdn/chunks/{TestEmailModal-BxIAwjww.js → TestEmailModal-BtrjByCC.js} +16 -17
  100. package/dist/cdn/chunks/{TestEmailModal-BxIAwjww.js.map → TestEmailModal-BtrjByCC.js.map} +1 -1
  101. package/dist/cdn/chunks/{TestEmailPanel-B8BsWXjE.js → TestEmailPanel-EjyQvj_M.js} +2 -2
  102. package/dist/cdn/chunks/{TestEmailPanel-B8BsWXjE.js.map → TestEmailPanel-EjyQvj_M.js.map} +1 -1
  103. package/dist/cdn/chunks/{TitleEditor-DhcI1aRS.js → TitleEditor-B0SHe63R.js} +17 -18
  104. package/dist/cdn/chunks/{TitleEditor-DhcI1aRS.js.map → TitleEditor-B0SHe63R.js.map} +1 -1
  105. package/dist/cdn/chunks/{Toolbar-Ch3h2BUs.js → Toolbar-BnTSuZQb.js} +310 -312
  106. package/dist/cdn/chunks/Toolbar-BnTSuZQb.js.map +1 -0
  107. package/dist/cdn/chunks/{TplModal-CPOqOxVf.js → TplModal-uqelrGih.js} +5 -5
  108. package/dist/cdn/chunks/{TplModal-CPOqOxVf.js.map → TplModal-uqelrGih.js.map} +1 -1
  109. package/dist/cdn/chunks/{VersionHistoryMenu-DTDO48HI.js → VersionHistoryMenu-DlPr3twf.js} +7 -8
  110. package/dist/cdn/chunks/{VersionHistoryMenu-DTDO48HI.js.map → VersionHistoryMenu-DlPr3twf.js.map} +1 -1
  111. package/dist/cdn/chunks/{VersionHistoryPanels-CVrXHYxT.js → VersionHistoryPanels-B1DN6c4B.js} +2 -2
  112. package/dist/cdn/chunks/{VersionHistoryPanels-CVrXHYxT.js.map → VersionHistoryPanels-B1DN6c4B.js.map} +1 -1
  113. package/dist/cdn/chunks/{VersionPreviewBanner-C1H_fYAr.js → VersionPreviewBanner-anJgZOcw.js} +2 -2
  114. package/dist/cdn/chunks/VersionPreviewBanner-anJgZOcw.js.map +1 -0
  115. package/dist/cdn/chunks/{WrapperBlock-B8SJ7Q4w.js → WrapperBlock-CUuF8Ese.js} +5 -5
  116. package/dist/cdn/chunks/{WrapperBlock-B8SJ7Q4w.js.map → WrapperBlock-CUuF8Ese.js.map} +1 -1
  117. package/dist/cdn/chunks/{ca-C8N05sCU.js → ca-BIseSbs-.js} +2 -3
  118. package/dist/cdn/chunks/{ca-C8N05sCU.js.map → ca-BIseSbs-.js.map} +1 -1
  119. package/dist/cdn/chunks/{composables-CKXPwWo9.js → composables-CuAVj7Ex.js} +444 -464
  120. package/dist/cdn/chunks/composables-CuAVj7Ex.js.map +1 -0
  121. package/dist/{da-Dno_4nGy.js → cdn/chunks/da-DN46iRXS.js} +3 -2
  122. package/dist/cdn/chunks/{da-Dno_4nGy.js.map → da-DN46iRXS.js.map} +1 -1
  123. package/dist/{de-DRR5JSkh.js → cdn/chunks/de-Dyk8PPCm.js} +3 -2
  124. package/dist/cdn/chunks/{de-DRR5JSkh.js.map → de-Dyk8PPCm.js.map} +1 -1
  125. package/dist/{en-DAcLbbpg.js → cdn/chunks/en-BzMbMmgz.js} +3 -2
  126. package/dist/cdn/chunks/{en-DAcLbbpg.js.map → en-BzMbMmgz.js.map} +1 -1
  127. package/dist/{es-BcEQLQxe.js → cdn/chunks/es-KSHEXYyf.js} +3 -2
  128. package/dist/cdn/chunks/{es-BcEQLQxe.js.map → es-KSHEXYyf.js.map} +1 -1
  129. package/dist/cdn/chunks/{extensions-Bq9nXmBP.js → extensions-CqhrbdGN.js} +35 -18
  130. package/dist/cdn/chunks/extensions-CqhrbdGN.js.map +1 -0
  131. package/dist/{fr-CNQG7ESr.js → cdn/chunks/fr-DtKHfZyk.js} +3 -2
  132. package/dist/cdn/chunks/{fr-CNQG7ESr.js.map → fr-DtKHfZyk.js.map} +1 -1
  133. package/dist/{ja-CMxWxqSH.js → cdn/chunks/ja-DUSaDVPA.js} +3 -2
  134. package/dist/cdn/chunks/{ja-CMxWxqSH.js.map → ja-DUSaDVPA.js.map} +1 -1
  135. package/dist/{nl-BjyYZDkC.js → cdn/chunks/nl-DQbuxzD6.js} +3 -2
  136. package/dist/cdn/chunks/{nl-BjyYZDkC.js.map → nl-DQbuxzD6.js.map} +1 -1
  137. package/dist/{pt-BR-DC2A3C0v.js → cdn/chunks/pt-BR-CxpxBtvc.js} +3 -2
  138. package/dist/cdn/chunks/{pt-BR-DC2A3C0v.js.map → pt-BR-CxpxBtvc.js.map} +1 -1
  139. package/dist/cdn/chunks/rolldown-runtime-CGnMp29N.js +10 -0
  140. package/dist/cdn/chunks/{socialIcons-CSe4YJ52.js → socialIcons-CXQfKLUV.js} +156 -136
  141. package/dist/cdn/chunks/socialIcons-CXQfKLUV.js.map +1 -0
  142. package/dist/cdn/chunks/src-A0kzK-pR.js.map +1 -1
  143. package/dist/cdn/chunks/{src-edESkGqO.js → src-C9jjLNMg.js} +2 -2
  144. package/dist/cdn/chunks/{src-edESkGqO.js.map → src-C9jjLNMg.js.map} +1 -1
  145. package/dist/cdn/chunks/{src-Bk1LF1np.js → src-DxIDI6ZB.js} +4 -2
  146. package/dist/cdn/chunks/src-DxIDI6ZB.js.map +1 -0
  147. package/dist/cdn/chunks/{tiptap-DDhueoan.js → tiptap-DLW5XdqI.js} +2 -2
  148. package/dist/cdn/chunks/{tiptap-DDhueoan.js.map → tiptap-DLW5XdqI.js.map} +1 -1
  149. package/dist/cdn/chunks/{useEditorRoot-D0Lp2x4_.js → useEditorRoot-BPVxLYFD.js} +2 -2
  150. package/dist/cdn/chunks/{useEditorRoot-D0Lp2x4_.js.map → useEditorRoot-BPVxLYFD.js.map} +1 -1
  151. package/dist/cdn/chunks/useI18n-DwP1ksBW.js +24 -0
  152. package/dist/cdn/chunks/{keys-ywH4jHJ2.js.map → useI18n-DwP1ksBW.js.map} +1 -1
  153. package/dist/cdn/chunks/{useLanguageName-DDhdVpqh.js → useLanguageName-CeuoO9WZ.js} +2 -2
  154. package/dist/cdn/chunks/{useLanguageName-DDhdVpqh.js.map → useLanguageName-CeuoO9WZ.js.map} +1 -1
  155. package/dist/cdn/chunks/{useLogicTag-CKtQlJDa.js → useLogicTag-gphGbQfy.js} +3 -3
  156. package/dist/cdn/chunks/{useLogicTag-CKtQlJDa.js.map → useLogicTag-gphGbQfy.js.map} +1 -1
  157. package/dist/cdn/chunks/{useMergeTag-Dwy3U0PI.js → useMergeTag-QM-tkBc6.js} +3 -3
  158. package/dist/cdn/chunks/{useMergeTag-Dwy3U0PI.js.map → useMergeTag-QM-tkBc6.js.map} +1 -1
  159. package/dist/cdn/chunks/{usePopoverPosition-CBp9uwjV.js → usePopoverPosition-Cg8LR0W4.js} +2 -2
  160. package/dist/cdn/chunks/{usePopoverPosition-CBp9uwjV.js.map → usePopoverPosition-Cg8LR0W4.js.map} +1 -1
  161. package/dist/cdn/chunks/{useScrollToBlock-32EnuMwu.js → useScrollToBlock-CS7zo4oQ.js} +2 -2
  162. package/dist/cdn/chunks/{useScrollToBlock-32EnuMwu.js.map → useScrollToBlock-CS7zo4oQ.js.map} +1 -1
  163. package/dist/cdn/editor.css +1 -1
  164. package/dist/cdn/editor.js +877 -975
  165. package/dist/cdn/editor.js.map +1 -1
  166. package/dist/{composables-26aR45W3.js → composables-DZWtVCMq.js} +817 -837
  167. package/dist/{cdn/chunks/da-Dno_4nGy.js → da-DN46iRXS.js} +1 -4
  168. package/dist/{cdn/chunks/de-DRR5JSkh.js → de-Dyk8PPCm.js} +1 -4
  169. package/dist/{cdn/chunks/en-DAcLbbpg.js → en-BzMbMmgz.js} +1 -4
  170. package/dist/{cdn/chunks/es-BcEQLQxe.js → es-KSHEXYyf.js} +1 -4
  171. package/dist/{extensions-zHf8YFRw.js → extensions-DfhOxy6Z.js} +341 -324
  172. package/dist/{cdn/chunks/fr-CNQG7ESr.js → fr-DtKHfZyk.js} +1 -4
  173. package/dist/index.d.ts +33 -405
  174. package/dist/{cdn/chunks/ja-CMxWxqSH.js → ja-DUSaDVPA.js} +1 -4
  175. package/dist/{cdn/chunks/nl-BjyYZDkC.js → nl-DQbuxzD6.js} +1 -4
  176. package/dist/{cdn/chunks/pt-BR-DC2A3C0v.js → pt-BR-CxpxBtvc.js} +1 -4
  177. package/dist/{socialIcons-mWE33bOn.js → socialIcons-K89pe-h2.js} +84 -64
  178. package/dist/style.css +1 -1
  179. package/dist/templatical-editor.js +1060 -1158
  180. package/dist/{useEditorRoot-DWfC2CVC.js → useEditorRoot-CQeutW_s.js} +1 -1
  181. package/dist/useI18n-B05qsAsl.js +22 -0
  182. package/dist/{useLanguageName-CEFzafHB.js → useLanguageName-CnpG7FD5.js} +1 -1
  183. package/dist/{useLogicTag-K5CPoMTk.js → useLogicTag-DSa1si4o.js} +2 -2
  184. package/dist/{useMergeTag-tsU_Sw2x.js → useMergeTag-DwxbvRZI.js} +2 -2
  185. package/dist/{usePopoverPosition-DF0ZYH7g.js → usePopoverPosition-B8CXTr8v.js} +1 -1
  186. package/dist/{useScrollToBlock-eZXiGa8o.js → useScrollToBlock-ZZBBGFan.js} +1 -1
  187. package/package.json +11 -13
  188. package/dist/CloudHeaderExtras-DC_oNrxz.js +0 -22
  189. package/dist/CloudPanels-BbHJHZri.js +0 -167
  190. package/dist/CommentsSidebar-_8at1Rug.js +0 -516
  191. package/dist/cdn/chunks/CloudHeaderExtras-Cd-ePldd.js +0 -24
  192. package/dist/cdn/chunks/CloudHeaderExtras-Cd-ePldd.js.map +0 -1
  193. package/dist/cdn/chunks/CloudPanels-Bv26_Sd8.js +0 -167
  194. package/dist/cdn/chunks/CloudPanels-Bv26_Sd8.js.map +0 -1
  195. package/dist/cdn/chunks/CommentsSidebar-BEiOQ_zT.js.map +0 -1
  196. package/dist/cdn/chunks/IssuesPanel-DgxiS3hF.js.map +0 -1
  197. package/dist/cdn/chunks/Toolbar-Ch3h2BUs.js.map +0 -1
  198. package/dist/cdn/chunks/VersionPreviewBanner-C1H_fYAr.js.map +0 -1
  199. package/dist/cdn/chunks/composables-CKXPwWo9.js.map +0 -1
  200. package/dist/cdn/chunks/createCloudRuntime-CUlw09ix.js +0 -1405
  201. package/dist/cdn/chunks/createCloudRuntime-CUlw09ix.js.map +0 -1
  202. package/dist/cdn/chunks/de-6M4JoHoD.js +0 -21
  203. package/dist/cdn/chunks/de-6M4JoHoD.js.map +0 -1
  204. package/dist/cdn/chunks/en-FzUuJ8HW.js +0 -21
  205. package/dist/cdn/chunks/en-FzUuJ8HW.js.map +0 -1
  206. package/dist/cdn/chunks/extensions-Bq9nXmBP.js.map +0 -1
  207. package/dist/cdn/chunks/keys-ywH4jHJ2.js +0 -11
  208. package/dist/cdn/chunks/logger-CqQTfJGx.js +0 -26
  209. package/dist/cdn/chunks/logger-CqQTfJGx.js.map +0 -1
  210. package/dist/cdn/chunks/preRenderCustomBlocks-BLVFtvl8.js +0 -22
  211. package/dist/cdn/chunks/preRenderCustomBlocks-BLVFtvl8.js.map +0 -1
  212. package/dist/cdn/chunks/pt-BR-Bp92Fc6J.js +0 -21
  213. package/dist/cdn/chunks/pt-BR-Bp92Fc6J.js.map +0 -1
  214. package/dist/cdn/chunks/pusher-x9rNqzon.js +0 -2473
  215. package/dist/cdn/chunks/pusher-x9rNqzon.js.map +0 -1
  216. package/dist/cdn/chunks/rolldown-runtime-QGRDbDUS.js +0 -19
  217. package/dist/cdn/chunks/socialIcons-CSe4YJ52.js.map +0 -1
  218. package/dist/cdn/chunks/src-Bk1LF1np.js.map +0 -1
  219. package/dist/cdn/chunks/useCloudI18n-BTV9uu3c.js +0 -24
  220. package/dist/cdn/chunks/useCloudI18n-BTV9uu3c.js.map +0 -1
  221. package/dist/cdn/chunks/useI18n-DPg6rPbu.js +0 -18
  222. package/dist/cdn/chunks/useI18n-DPg6rPbu.js.map +0 -1
  223. package/dist/createCloudRuntime-CiEo0wkr.js +0 -1389
  224. package/dist/de-6M4JoHoD.js +0 -19
  225. package/dist/en-FzUuJ8HW.js +0 -19
  226. package/dist/keys-B4DimcgX.js +0 -9
  227. package/dist/logger-BOu7oEtk.js +0 -24
  228. package/dist/preRenderCustomBlocks-6CLw2rP6.js +0 -20
  229. package/dist/pt-BR-Bp92Fc6J.js +0 -19
  230. package/dist/useCloudI18n-BnuOL1YS.js +0 -22
  231. package/dist/useI18n-Cx9W7OWb.js +0 -16
@@ -1,38 +1,36 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
2
  import { B as t, F as n, Ft as r, L as i, M as a, Mt as o, P as s, Pt as c, Q as l, U as u, W as d, Z as f, _ as p, c as m, ct as h, d as g, et as _, f as v, g as y, l as b, m as x, r as S, rt as C, u as w, v as T, w as E, y as D } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
3
3
  import { a as O, o as k } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
4
- import { n as A, t as j } from "./MergeTagTextarea-BjHlamJv.js";
5
- import { c as M } from "./LogicTagInsertButton-BzEZUTRZ.js";
6
- import { t as N } from "./MergeTagInput-By2FSStk.js";
4
+ import { n as A, t as j } from "./MergeTagTextarea-B86MPY89.js";
5
+ import { c as M } from "./LogicTagInsertButton-DdaafrjI.js";
6
+ import { t as N } from "./MergeTagInput-BXM6-eF-.js";
7
7
  import { t as P } from "./ToggleSwitch-BIPdFWUr.js";
8
8
  import { C as F, S as I, _ as L, b as ee, c as R, g as z, h as B, r as te, s as ne, v as V, y as H } from "./styleConstants-Br6CIRoS.js";
9
9
  import { t as re } from "./link-BFJF0mWz.js";
10
10
  import { t as ie } from "./createLucideIcon-BKeRiObH.js";
11
- import { t as U } from "./useI18n-Cx9W7OWb.js";
12
- import { $t as ae, Bt as oe, F as se, Jt as ce, N as le, P as W, Pt as ue, St as de, bt as fe, en as pe, fn as me, ft as G, i as K, j as q, m as J, mn as Y, n as X, o as he, pt as ge, r as _e, rn as ve, t as ye, v as be } from "./dist-DX_IQgcU.js";
13
- import { n as xe } from "./useLocalizedDisplay-DfiE-KjV.js";
14
- import { $ as Se, B as Ce, C as we, H as Te, O as Ee, T as De, W as Oe, _ as ke, b as Ae, h as je, p as Me, r as Ne, ut as Pe, v as Fe } from "./keys-B4DimcgX.js";
15
- import { B as Ie, T as Le, _ as Re, b as ze, d as Be, f as Ve, g as He, h as Ue, i as We, k as Ge, l as Ke, m as qe, p as Je, r as Ye, s as Xe, u as Ze, v as Qe } from "./socialIcons-mWE33bOn.js";
11
+ import { D as ae, Q as oe, S as se, U as ce, V as le, _ as ue, f as de, g as fe, i as pe, lt as me, m as U, t as W, w as he, y as ge, z as _e } from "./useI18n-B05qsAsl.js";
12
+ import { $t as G, Bt as ve, F as ye, Jt as be, N as K, P as q, Pt as J, St as Y, bt as X, en as xe, fn as Se, ft as Z, i as Ce, j as we, m as Te, mn as Ee, n as De, o as Oe, pt as ke, r as Ae, rn as je, t as Me, v as Ne } from "./dist-DX_IQgcU.js";
13
+ import { n as Pe } from "./useLocalizedDisplay-DfiE-KjV.js";
14
+ import { A as Fe, B as Ie, E as Le, T as Re, _ as ze, b as Be, d as Ve, f as He, g as Ue, h as We, i as Ge, l as Ke, m as qe, p as Je, r as Ye, s as Xe, u as Ze, v as Qe } from "./socialIcons-K89pe-h2.js";
16
15
  import { n as $e, t as et } from "./withCurrentFont-C-_IYTqP.js";
17
- import { t as tt } from "./useLanguageName-CEFzafHB.js";
18
- import { n as nt, t as rt } from "./blockTypeIcons-C691ZY1l.js";
19
- import { t as Z } from "./plus-PzFvtj-Z.js";
16
+ import { t as tt } from "./useLanguageName-CnpG7FD5.js";
17
+ import { n as nt, t as rt } from "./blockTypeIcons-C1S2wVx8.js";
18
+ import { t as Q } from "./plus-PzFvtj-Z.js";
20
19
  import { t as it } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
21
20
  import { t as at } from "./image-g47lDP0J.js";
22
21
  import { t as ot } from "./chevron-down-D_CUJHwi.js";
23
22
  import { n as st, t as ct } from "./smartphone-DZ5xyNU4.js";
24
- import { t as lt } from "./logger-BOu7oEtk.js";
25
- import { t as ut } from "./circle-exclamation-point-BCx1tR91.js";
26
- import { t as dt } from "./refresh-cw-BPDv-S-4.js";
27
- import { c as ft, r as pt } from "./usePopoverPosition-DF0ZYH7g.js";
28
- import { t as mt } from "./trash-CJsobpw0.js";
29
- import { t as ht } from "./info-DXij4QjB.js";
30
- import { _ as gt } from "./dist-A328tG0Z.js";
31
- import { n as _t, r as vt, t as yt } from "./text-align-start-B5Dx2Ylg.js";
32
- import { t as bt } from "./x-CuyPLm0U.js";
33
- import { t as xt } from "./useMergeTag-tsU_Sw2x.js";
34
- import { n as St } from "./upload-DZ_-FNJ4.js";
35
- var Ct = ie({
23
+ import { t as lt } from "./circle-exclamation-point-BCx1tR91.js";
24
+ import { t as ut } from "./refresh-cw-BPDv-S-4.js";
25
+ import { c as dt, r as ft } from "./usePopoverPosition-B8CXTr8v.js";
26
+ import { t as pt } from "./trash-CJsobpw0.js";
27
+ import { t as mt } from "./info-DXij4QjB.js";
28
+ import { _ as ht } from "./dist-A328tG0Z.js";
29
+ import { n as gt, r as _t, t as vt } from "./text-align-start-B5Dx2Ylg.js";
30
+ import { t as yt } from "./x-CuyPLm0U.js";
31
+ import { t as bt } from "./useMergeTag-DwxbvRZI.js";
32
+ import { n as xt } from "./upload-DZ_-FNJ4.js";
33
+ var St = ie({
36
34
  name: "lock-open",
37
35
  size: 24,
38
36
  node: [["rect", {
@@ -48,7 +46,7 @@ var Ct = ie({
48
46
  key: "1mm8w8"
49
47
  }]],
50
48
  aliases: ["unlock"]
51
- }), wt = ie({
49
+ }), Ct = ie({
52
50
  name: "lock",
53
51
  size: 24,
54
52
  node: [["rect", {
@@ -63,7 +61,7 @@ var Ct = ie({
63
61
  d: "M7 11V7a5 5 0 0 1 10 0v4",
64
62
  key: "fwvmzm"
65
63
  }]]
66
- }), Tt = ie({
64
+ }), wt = ie({
67
65
  name: "unlink",
68
66
  size: 24,
69
67
  node: [
@@ -104,14 +102,14 @@ var Ct = ie({
104
102
  key: "ox905f"
105
103
  }]
106
104
  ]
107
- }), Et = [
105
+ }), Tt = [
108
106
  "aria-checked",
109
107
  "aria-label",
110
108
  "disabled",
111
109
  "aria-disabled",
112
110
  "title",
113
111
  "onClick"
114
- ], Dt = { key: 1 }, Q = /* @__PURE__ */ D({
112
+ ], Et = { key: 1 }, $ = /* @__PURE__ */ D({
115
113
  __name: "SlidingPillSelect",
116
114
  props: {
117
115
  options: {},
@@ -156,14 +154,14 @@ var Ct = ie({
156
154
  key: 0,
157
155
  size: 14,
158
156
  "stroke-width": 2
159
- })) : (a(), v("span", Dt, r(t.label), 1))], 12, Et))), 128))], 4));
157
+ })) : (a(), v("span", Et, r(t.label), 1))], 12, Tt))), 128))], 4));
160
158
  }
161
- }), Ot = { class: "tpl:flex tpl:items-stretch" }, kt = [
159
+ }), Dt = { class: "tpl:flex tpl:items-stretch" }, Ot = [
162
160
  "data-testid",
163
161
  "value",
164
162
  "min",
165
163
  "max"
166
- ], At = /* @__PURE__ */ D({
164
+ ], kt = /* @__PURE__ */ D({
167
165
  __name: "NumberWithSuffix",
168
166
  props: {
169
167
  modelValue: {},
@@ -179,7 +177,7 @@ var Ct = ie({
179
177
  let t = e.target;
180
178
  t.validity?.badInput || n("update:modelValue", Number(t.value));
181
179
  }
182
- return (t, n) => (a(), v("div", Ot, [b("input", {
180
+ return (t, n) => (a(), v("div", Dt, [b("input", {
183
181
  type: "number",
184
182
  "data-testid": e.testid,
185
183
  class: o(h(z)),
@@ -187,14 +185,14 @@ var Ct = ie({
187
185
  min: e.min,
188
186
  max: e.max,
189
187
  onInput: i
190
- }, null, 42, kt), b("span", { class: o(h(L)) }, r(e.suffix), 3)]));
188
+ }, null, 42, Ot), b("span", { class: o(h(L)) }, r(e.suffix), 3)]));
191
189
  }
192
- }), jt = [
190
+ }), At = [
193
191
  "aria-pressed",
194
192
  "aria-label",
195
193
  "title",
196
194
  "data-testid"
197
- ], Mt = /* @__PURE__ */ D({
195
+ ], jt = /* @__PURE__ */ D({
198
196
  __name: "LinkToggle",
199
197
  props: {
200
198
  linked: { type: Boolean },
@@ -217,16 +215,16 @@ var Ct = ie({
217
215
  key: 0,
218
216
  size: 14,
219
217
  "stroke-width": 2
220
- })) : (a(), w(h(Tt), {
218
+ })) : (a(), w(h(wt), {
221
219
  key: 1,
222
220
  size: 14,
223
221
  "stroke-width": 2
224
- }))], 10, jt));
222
+ }))], 10, At));
225
223
  }
226
- }), Nt = {
224
+ }), Mt = {
227
225
  key: 0,
228
226
  class: "tpl:mb-3.5"
229
- }, Pt = { class: "tpl:mb-3.5" }, Ft = { class: "tpl:mb-3.5" }, It = /* @__PURE__ */ D({
227
+ }, Nt = { class: "tpl:mb-3.5" }, Pt = { class: "tpl:mb-3.5" }, Ft = /* @__PURE__ */ D({
230
228
  __name: "BorderControl",
231
229
  props: {
232
230
  path: {},
@@ -235,7 +233,7 @@ var Ct = ie({
235
233
  },
236
234
  emits: ["update:modelValue"],
237
235
  setup(e, { emit: n }) {
238
- let i = e, s = n, { t: c } = U(), l = {
236
+ let i = e, s = n, { t: c } = W(), l = {
239
237
  width: 0,
240
238
  style: "solid",
241
239
  color: "#000000"
@@ -245,7 +243,7 @@ var Ct = ie({
245
243
  }
246
244
  let f = m(() => {
247
245
  let e = i.modelValue;
248
- return !e || K.every((t) => d(e[t], e.top));
246
+ return !e || Ce.every((t) => d(e[t], e.top));
249
247
  }), y = _(f.value);
250
248
  t(f, (e) => {
251
249
  !e && y.value && (y.value = !1);
@@ -256,13 +254,13 @@ var Ct = ie({
256
254
  }), T = (e) => !!e && e.width > 0;
257
255
  function E(e) {
258
256
  if (y.value) {
259
- s("update:modelValue", T(e) ? Y(e) : void 0);
257
+ s("update:modelValue", T(e) ? Ee(e) : void 0);
260
258
  return;
261
259
  }
262
260
  let t = {
263
- ...i.modelValue ?? Y(l),
261
+ ...i.modelValue ?? Ee(l),
264
262
  [x.value]: e
265
- }, n = K.some((e) => T(t[e]));
263
+ }, n = Ce.some((e) => T(t[e]));
266
264
  s("update:modelValue", n ? t : void 0);
267
265
  }
268
266
  function D(e) {
@@ -285,10 +283,10 @@ var Ct = ie({
285
283
  y.value = !0;
286
284
  let e = i.modelValue;
287
285
  if (!e) return;
288
- let t = T(e[x.value]) ? e[x.value] : K.map((t) => e[t]).find(T);
289
- s("update:modelValue", t ? Y(t) : void 0);
286
+ let t = T(e[x.value]) ? e[x.value] : Ce.map((t) => e[t]).find(T);
287
+ s("update:modelValue", t ? Ee(t) : void 0);
290
288
  }
291
- let j = m(() => K.map((e) => ({
289
+ let j = m(() => Ce.map((e) => ({
292
290
  value: e,
293
291
  label: c.spacingControl[e]
294
292
  })));
@@ -296,7 +294,7 @@ var Ct = ie({
296
294
  path: e.path,
297
295
  label: h(c).blockSettings.border
298
296
  }, {
299
- "label-actions": u(() => [p(Mt, {
297
+ "label-actions": u(() => [p(jt, {
300
298
  linked: y.value,
301
299
  "link-label": h(c).blockSettings.linkSides,
302
300
  "unlink-label": h(c).blockSettings.unlinkSides,
@@ -309,19 +307,19 @@ var Ct = ie({
309
307
  "testid"
310
308
  ])]),
311
309
  default: u(() => [
312
- y.value ? g("", !0) : (a(), v("div", Nt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderSide), 3), p(Q, {
310
+ y.value ? g("", !0) : (a(), v("div", Mt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderSide), 3), p($, {
313
311
  options: j.value,
314
312
  "model-value": x.value,
315
313
  "onUpdate:modelValue": n[0] ||= (e) => x.value = e
316
314
  }, null, 8, ["options", "model-value"])])),
317
- b("div", Pt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderWidth), 3), p(At, {
315
+ b("div", Nt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderWidth), 3), p(kt, {
318
316
  "model-value": C.value.width,
319
317
  min: 0,
320
318
  suffix: "px",
321
319
  testid: `${e.testidPrefix}-border-width-input`,
322
320
  "onUpdate:modelValue": D
323
321
  }, null, 8, ["model-value", "testid"])]),
324
- C.value.width > 0 ? (a(), v(S, { key: 1 }, [b("div", Ft, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderStyle), 3), p(Q, {
322
+ C.value.width > 0 ? (a(), v(S, { key: 1 }, [b("div", Pt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderStyle), 3), p($, {
325
323
  options: [
326
324
  {
327
325
  value: "solid",
@@ -346,10 +344,10 @@ var Ct = ie({
346
344
  _: 1
347
345
  }, 8, ["path", "label"]));
348
346
  }
349
- }), Lt = {
347
+ }), It = {
350
348
  key: 1,
351
349
  class: "tpl:grid tpl:grid-cols-2 tpl:gap-2"
352
- }, Rt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, zt = /* @__PURE__ */ D({
350
+ }, Lt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Rt = /* @__PURE__ */ D({
353
351
  __name: "RadiusControl",
354
352
  props: {
355
353
  path: {},
@@ -360,7 +358,7 @@ var Ct = ie({
360
358
  },
361
359
  emits: ["update:modelValue"],
362
360
  setup(e, { emit: n }) {
363
- let i = e, o = n, { t: c } = U(), l = {
361
+ let i = e, o = n, { t: c } = W(), l = {
364
362
  topLeft: "cornerTopLeft",
365
363
  topRight: "cornerTopRight",
366
364
  bottomRight: "cornerBottomRight",
@@ -378,7 +376,7 @@ var Ct = ie({
378
376
  bottomRight: e,
379
377
  bottomLeft: e
380
378
  } : e;
381
- }), g = m(() => _e.every((e) => f.value[e] === f.value.topLeft)), y = _(g.value);
379
+ }), g = m(() => Ae.every((e) => f.value[e] === f.value.topLeft)), y = _(g.value);
382
380
  t(g, (e) => {
383
381
  !e && y.value && (y.value = !1);
384
382
  });
@@ -401,7 +399,7 @@ var Ct = ie({
401
399
  path: e.path,
402
400
  label: e.label
403
401
  }, {
404
- "label-actions": u(() => [p(Mt, {
402
+ "label-actions": u(() => [p(jt, {
405
403
  linked: y.value,
406
404
  "link-label": h(c).blockSettings.linkCorners,
407
405
  "unlink-label": h(c).blockSettings.unlinkCorners,
@@ -413,7 +411,7 @@ var Ct = ie({
413
411
  "unlink-label",
414
412
  "testid"
415
413
  ])]),
416
- default: u(() => [y.value ? (a(), w(At, {
414
+ default: u(() => [y.value ? (a(), w(kt, {
417
415
  key: 0,
418
416
  "model-value": f.value.topLeft,
419
417
  min: 0,
@@ -425,7 +423,7 @@ var Ct = ie({
425
423
  "model-value",
426
424
  "max",
427
425
  "testid"
428
- ])) : (a(), v("div", Lt, [(a(), v(S, null, s(d, (t) => b("div", { key: t }, [b("label", Rt, r(h(c).blockSettings[l[t]]), 1), p(At, {
426
+ ])) : (a(), v("div", It, [(a(), v(S, null, s(d, (t) => b("div", { key: t }, [b("label", Lt, r(h(c).blockSettings[l[t]]), 1), p(kt, {
429
427
  "model-value": f.value[t],
430
428
  min: 0,
431
429
  max: e.max,
@@ -441,14 +439,14 @@ var Ct = ie({
441
439
  _: 1
442
440
  }, 8, ["path", "label"]));
443
441
  }
444
- }), Bt = ["value"], Vt = { value: "" }, Ht = ["value"], Ut = { class: "tpl:flex tpl:items-stretch" }, Wt = ["value"], Gt = ["value"], Kt = ["value"], qt = ["value"], Jt = { value: "auto" }, Yt = { value: "full" }, Xt = { value: "custom" }, Zt = {
442
+ }), zt = ["value"], Bt = { value: "" }, Vt = ["value"], Ht = { class: "tpl:flex tpl:items-stretch" }, Ut = ["value"], Wt = ["value"], Gt = ["value"], Kt = ["value"], qt = { value: "auto" }, Jt = { value: "full" }, Yt = { value: "custom" }, Xt = {
445
443
  key: 0,
446
444
  class: "tpl:mt-2 tpl:flex tpl:items-stretch tpl:gap-2"
447
- }, Qt = [
445
+ }, Zt = [
448
446
  "value",
449
447
  "min",
450
448
  "max"
451
- ], $t = 200, en = /* @__PURE__ */ D({
449
+ ], Qt = 200, $t = /* @__PURE__ */ D({
452
450
  __name: "ButtonToolbar",
453
451
  props: {
454
452
  block: {},
@@ -456,14 +454,14 @@ var Ct = ie({
456
454
  },
457
455
  emits: ["update"],
458
456
  setup(e, { emit: t }) {
459
- let n = e, i = t, { t: c } = U(), l = E(Fe, null), d = l ? xe(l) : null, f = E(De, null), _ = m(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" || oe(n.block.width) !== null ? "custom" : "auto"), y = m(() => oe(n.block.width) === null ? "px" : "%"), x = m(() => typeof n.block.width == "number" ? n.block.width : String(n.block.width).slice(0, -1)), C = m(() => d ? We(d.content.value, n.block.id, f ?? void 0) : null);
457
+ let n = e, i = t, { t: c } = W(), l = E(ue, null), d = l ? Pe(l) : null, f = E(he, null), _ = m(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" || ve(n.block.width) !== null ? "custom" : "auto"), y = m(() => ve(n.block.width) === null ? "px" : "%"), x = m(() => typeof n.block.width == "number" ? n.block.width : String(n.block.width).slice(0, -1)), C = m(() => d ? Ge(d.content.value, n.block.id, f ?? void 0) : null);
460
458
  function T(e, t) {
461
459
  i("update", { [e]: t });
462
460
  }
463
461
  function D(e) {
464
- e === "full" ? T("width", "full") : e === "custom" ? T("width", typeof n.block.width == "number" ? n.block.width : $t) : T("width", void 0);
462
+ e === "full" ? T("width", "full") : e === "custom" ? T("width", typeof n.block.width == "number" ? n.block.width : Qt) : T("width", void 0);
465
463
  }
466
- let O = m(() => String(q(n.block))), k = m(() => {
464
+ let O = m(() => String(we(n.block))), k = m(() => {
467
465
  let e = O.value;
468
466
  return ne.includes(e) ? ne : [...ne, e];
469
467
  });
@@ -493,8 +491,8 @@ var Ct = ie({
493
491
  T("width", `${Math.min(100, Math.max(1, Math.round(e / r * 100)))}%`);
494
492
  return;
495
493
  }
496
- let i = oe(t);
497
- r === null ? T("width", $t) : T("width", Math.max(1, Math.round(r * i / 100)));
494
+ let i = ve(t);
495
+ r === null ? T("width", Qt) : T("width", Math.max(1, Math.round(r * i / 100)));
498
496
  }
499
497
  return (t, n) => (a(), v(S, null, [
500
498
  p(A, {
@@ -506,10 +504,10 @@ var Ct = ie({
506
504
  class: o(h(B)),
507
505
  value: h(et)(e.block.fontFamily),
508
506
  onChange: n[0] ||= (e) => T("fontFamily", e.target.value || void 0)
509
- }, [b("option", Vt, r(h(c).button.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
507
+ }, [b("option", Bt, r(h(c).button.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
510
508
  key: e.value,
511
509
  value: e.value
512
- }, r(e.label), 9, Ht))), 128))], 42, Bt)]),
510
+ }, r(e.label), 9, Vt))), 128))], 42, zt)]),
513
511
  _: 1
514
512
  }, 8, ["label"]),
515
513
  p(A, {
@@ -578,13 +576,13 @@ var Ct = ie({
578
576
  }, null, 8, ["model-value"])]),
579
577
  _: 1
580
578
  }, 8, ["label"]),
581
- p(It, {
579
+ p(Ft, {
582
580
  path: "border",
583
581
  "model-value": e.block.border,
584
582
  "testid-prefix": "button",
585
583
  "onUpdate:modelValue": n[6] ||= (e) => T("border", e)
586
584
  }, null, 8, ["model-value"]),
587
- p(zt, {
585
+ p(Rt, {
588
586
  path: "borderRadius",
589
587
  "model-value": e.block.borderRadius,
590
588
  label: h(c).button.borderRadius,
@@ -597,14 +595,14 @@ var Ct = ie({
597
595
  class: "tpl:mb-3.5",
598
596
  path: "fontSize"
599
597
  }, {
600
- default: u(() => [b("div", Ut, [b("input", {
598
+ default: u(() => [b("div", Ht, [b("input", {
601
599
  type: "number",
602
600
  class: o(h(z)),
603
601
  value: e.block.fontSize,
604
602
  min: "10",
605
603
  max: "36",
606
604
  onInput: n[8] ||= (e) => T("fontSize", Number(e.target.value))
607
- }, null, 42, Wt), b("span", { class: o(h(L)) }, "px", 2)])]),
605
+ }, null, 42, Ut), b("span", { class: o(h(L)) }, "px", 2)])]),
608
606
  _: 1
609
607
  }, 8, ["label"]),
610
608
  p(A, {
@@ -619,7 +617,7 @@ var Ct = ie({
619
617
  }, [(a(!0), v(S, null, s(k.value, (e) => (a(), v("option", {
620
618
  key: e,
621
619
  value: e
622
- }, r(e), 9, Kt))), 128))], 42, Gt)]),
620
+ }, r(e), 9, Gt))), 128))], 42, Wt)]),
623
621
  _: 1
624
622
  }, 8, ["label"]),
625
623
  p(A, {
@@ -627,7 +625,7 @@ var Ct = ie({
627
625
  class: "tpl:mb-3.5",
628
626
  path: "fontWeight"
629
627
  }, {
630
- default: u(() => [p(Q, {
628
+ default: u(() => [p($, {
631
629
  options: [
632
630
  {
633
631
  value: "regular",
@@ -657,17 +655,17 @@ var Ct = ie({
657
655
  value: _.value,
658
656
  onChange: n[10] ||= (e) => D(e.target.value)
659
657
  }, [
660
- b("option", Jt, r(h(c).button.widthAuto), 1),
661
- b("option", Yt, r(h(c).button.fullWidth), 1),
662
- b("option", Xt, r(h(c).button.widthCustom), 1)
663
- ], 42, qt), _.value === "custom" ? (a(), v("div", Zt, [b("input", {
658
+ b("option", qt, r(h(c).button.widthAuto), 1),
659
+ b("option", Jt, r(h(c).button.fullWidth), 1),
660
+ b("option", Yt, r(h(c).button.widthCustom), 1)
661
+ ], 42, Kt), _.value === "custom" ? (a(), v("div", Xt, [b("input", {
664
662
  type: "number",
665
663
  class: o([h(B), "tpl:min-w-0 tpl:flex-1"]),
666
664
  value: x.value,
667
665
  min: y.value === "%" ? 1 : 20,
668
666
  max: y.value === "%" ? 100 : void 0,
669
667
  onInput: n[11] ||= (e) => I(e.target.value)
670
- }, null, 42, Qt), p(Q, {
668
+ }, null, 42, Zt), p($, {
671
669
  class: "tpl:w-24 tpl:shrink-0",
672
670
  "aria-label": h(c).button.widthUnit,
673
671
  options: [{
@@ -687,7 +685,7 @@ var Ct = ie({
687
685
  class: "tpl:mb-3.5",
688
686
  path: "align"
689
687
  }, {
690
- default: u(() => [p(Q, {
688
+ default: u(() => [p($, {
691
689
  options: [
692
690
  {
693
691
  value: "left",
@@ -709,7 +707,7 @@ var Ct = ie({
709
707
  }, 8, ["label"])
710
708
  ], 64));
711
709
  }
712
- }), tn = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, nn = { class: "tpl:flex tpl:items-center" }, rn = ["aria-label"], an = ["value", "aria-label"], on = ["aria-label"], sn = { class: "tpl:flex tpl:items-center tpl:gap-2" }, cn = { class: "tpl:flex tpl:items-center" }, ln = ["aria-label"], un = ["value", "aria-label"], dn = ["aria-label"], fn = ["aria-label", "title"], pn = { class: "tpl:flex tpl:items-center" }, mn = ["aria-label"], hn = ["value", "aria-label"], gn = ["aria-label"], _n = { class: "tpl:flex tpl:items-center" }, vn = ["aria-label"], yn = ["value", "aria-label"], bn = ["aria-label"], $ = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)] tpl:active:bg-[var(--tpl-bg-active)]", xn = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", Sn = /*#__PURE__*/ it(/* @__PURE__ */ D({
710
+ }), en = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, tn = { class: "tpl:flex tpl:items-center" }, nn = ["aria-label"], rn = ["value", "aria-label"], an = ["aria-label"], on = { class: "tpl:flex tpl:items-center tpl:gap-2" }, sn = { class: "tpl:flex tpl:items-center" }, cn = ["aria-label"], ln = ["value", "aria-label"], un = ["aria-label"], dn = ["aria-label", "title"], fn = { class: "tpl:flex tpl:items-center" }, pn = ["aria-label"], mn = ["value", "aria-label"], hn = ["aria-label"], gn = { class: "tpl:flex tpl:items-center" }, _n = ["aria-label"], vn = ["value", "aria-label"], yn = ["aria-label"], bn = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)] tpl:active:bg-[var(--tpl-bg-active)]", xn = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", Sn = /*#__PURE__*/ it(/* @__PURE__ */ D({
713
711
  __name: "SpacingControl",
714
712
  props: {
715
713
  path: {},
@@ -718,7 +716,7 @@ var Ct = ie({
718
716
  },
719
717
  emits: ["update:modelValue"],
720
718
  setup(e, { emit: n }) {
721
- let r = e, i = n, { t: s } = U(), c = m(() => r.modelValue.top === r.modelValue.right && r.modelValue.right === r.modelValue.bottom && r.modelValue.bottom === r.modelValue.left), l = _(c.value);
719
+ let r = e, i = n, { t: s } = W(), c = m(() => r.modelValue.top === r.modelValue.right && r.modelValue.right === r.modelValue.bottom && r.modelValue.bottom === r.modelValue.left), l = _(c.value);
722
720
  t(c, (e) => {
723
721
  !e && l.value && (l.value = !1);
724
722
  });
@@ -762,16 +760,16 @@ var Ct = ie({
762
760
  path: e.path,
763
761
  label: e.label
764
762
  }, {
765
- default: u(() => [b("div", tn, [
766
- b("div", nn, [
763
+ default: u(() => [b("div", en, [
764
+ b("div", tn, [
767
765
  b("button", {
768
766
  "aria-label": h(s).spacingControl.decreaseTop,
769
- class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
767
+ class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
770
768
  onClick: n[0] ||= (e) => d("top", -1)
771
769
  }, [p(h(nt), {
772
770
  size: 12,
773
771
  "stroke-width": 2
774
- })], 10, rn),
772
+ })], 10, nn),
775
773
  b("input", {
776
774
  type: "number",
777
775
  class: o(xn),
@@ -779,26 +777,26 @@ var Ct = ie({
779
777
  "aria-label": h(s).spacingControl.top,
780
778
  min: "0",
781
779
  onInput: n[1] ||= (e) => f("top", Number(e.target.value))
782
- }, null, 40, an),
780
+ }, null, 40, rn),
783
781
  b("button", {
784
782
  "aria-label": h(s).spacingControl.increaseTop,
785
- class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
783
+ class: o([bn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
786
784
  onClick: n[2] ||= (e) => d("top", 1)
787
- }, [p(h(Z), {
785
+ }, [p(h(Q), {
788
786
  size: 12,
789
787
  "stroke-width": 2
790
- })], 10, on)
788
+ })], 10, an)
791
789
  ]),
792
- b("div", sn, [
793
- b("div", cn, [
790
+ b("div", on, [
791
+ b("div", sn, [
794
792
  b("button", {
795
793
  "aria-label": h(s).spacingControl.decreaseLeft,
796
- class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
794
+ class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
797
795
  onClick: n[3] ||= (e) => d("left", -1)
798
796
  }, [p(h(nt), {
799
797
  size: 12,
800
798
  "stroke-width": 2
801
- })], 10, ln),
799
+ })], 10, cn),
802
800
  b("input", {
803
801
  type: "number",
804
802
  class: o(xn),
@@ -806,39 +804,39 @@ var Ct = ie({
806
804
  "aria-label": h(s).spacingControl.left,
807
805
  min: "0",
808
806
  onInput: n[4] ||= (e) => f("left", Number(e.target.value))
809
- }, null, 40, un),
807
+ }, null, 40, ln),
810
808
  b("button", {
811
809
  "aria-label": h(s).spacingControl.increaseLeft,
812
- class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
810
+ class: o([bn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
813
811
  onClick: n[5] ||= (e) => d("left", 1)
814
- }, [p(h(Z), {
812
+ }, [p(h(Q), {
815
813
  size: 12,
816
814
  "stroke-width": 2
817
- })], 10, dn)
815
+ })], 10, un)
818
816
  ]),
819
817
  b("button", {
820
818
  class: o(["tpl:flex tpl:h-8 tpl:w-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", l.value ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
821
819
  "aria-label": l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
822
820
  title: l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
823
821
  onClick: g
824
- }, [l.value ? (a(), w(h(wt), {
822
+ }, [l.value ? (a(), w(h(Ct), {
825
823
  key: 0,
826
824
  size: 14,
827
825
  "stroke-width": 2
828
- })) : (a(), w(h(Ct), {
826
+ })) : (a(), w(h(St), {
829
827
  key: 1,
830
828
  size: 14,
831
829
  "stroke-width": 2
832
- }))], 10, fn),
833
- b("div", pn, [
830
+ }))], 10, dn),
831
+ b("div", fn, [
834
832
  b("button", {
835
833
  "aria-label": h(s).spacingControl.decreaseRight,
836
- class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
834
+ class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
837
835
  onClick: n[6] ||= (e) => d("right", -1)
838
836
  }, [p(h(nt), {
839
837
  size: 12,
840
838
  "stroke-width": 2
841
- })], 10, mn),
839
+ })], 10, pn),
842
840
  b("input", {
843
841
  type: "number",
844
842
  class: o(xn),
@@ -846,26 +844,26 @@ var Ct = ie({
846
844
  "aria-label": h(s).spacingControl.right,
847
845
  min: "0",
848
846
  onInput: n[7] ||= (e) => f("right", Number(e.target.value))
849
- }, null, 40, hn),
847
+ }, null, 40, mn),
850
848
  b("button", {
851
849
  "aria-label": h(s).spacingControl.increaseRight,
852
- class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
850
+ class: o([bn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
853
851
  onClick: n[8] ||= (e) => d("right", 1)
854
- }, [p(h(Z), {
852
+ }, [p(h(Q), {
855
853
  size: 12,
856
854
  "stroke-width": 2
857
- })], 10, gn)
855
+ })], 10, hn)
858
856
  ])
859
857
  ]),
860
- b("div", _n, [
858
+ b("div", gn, [
861
859
  b("button", {
862
860
  "aria-label": h(s).spacingControl.decreaseBottom,
863
- class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
861
+ class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
864
862
  onClick: n[9] ||= (e) => d("bottom", -1)
865
863
  }, [p(h(nt), {
866
864
  size: 12,
867
865
  "stroke-width": 2
868
- })], 10, vn),
866
+ })], 10, _n),
869
867
  b("input", {
870
868
  type: "number",
871
869
  class: o(xn),
@@ -873,15 +871,15 @@ var Ct = ie({
873
871
  "aria-label": h(s).spacingControl.bottom,
874
872
  min: "0",
875
873
  onInput: n[10] ||= (e) => f("bottom", Number(e.target.value))
876
- }, null, 40, yn),
874
+ }, null, 40, vn),
877
875
  b("button", {
878
876
  "aria-label": h(s).spacingControl.increaseBottom,
879
- class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
877
+ class: o([bn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
880
878
  onClick: n[11] ||= (e) => d("bottom", 1)
881
- }, [p(h(Z), {
879
+ }, [p(h(Q), {
882
880
  size: 12,
883
881
  "stroke-width": 2
884
- })], 10, bn)
882
+ })], 10, yn)
885
883
  ])
886
884
  ])]),
887
885
  _: 1
@@ -898,7 +896,7 @@ function Cn(e) {
898
896
  }, { immediate: !0 }), n;
899
897
  }
900
898
  function wn() {
901
- let e = E(we, null);
899
+ let e = E(se, null);
902
900
  return async (t) => qe(e ? await Tn(e, t) : t);
903
901
  }
904
902
  function Tn(e, n) {
@@ -929,14 +927,14 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
929
927
  },
930
928
  emits: ["update:modelValue"],
931
929
  setup(e, { emit: t }) {
932
- let n = e, i = t, { t: c } = U(), l = E(Ce, be.liquid), u = m(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = m(() => u.value.trim() !== ""), x = wn(), C;
930
+ let n = e, i = t, { t: c } = W(), l = E(_e, Ne.liquid), u = m(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = m(() => u.value.trim() !== ""), x = wn(), C;
933
931
  f(() => clearTimeout(C));
934
932
  function T(e) {
935
- n.measure && !W(e, l) && (C = setTimeout(async () => {
933
+ n.measure && !q(e, l) && (C = setTimeout(async () => {
936
934
  let t = await x(e), r = n.modelValue;
937
935
  t && r?.url === e && i("update:modelValue", {
938
936
  ...r,
939
- ...Ue(t)
937
+ ...We(t)
940
938
  });
941
939
  }, 300));
942
940
  }
@@ -945,11 +943,11 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
945
943
  i("update:modelValue", void 0);
946
944
  return;
947
945
  }
948
- let { naturalWidth: r, naturalHeight: a, ...o } = n.modelValue ?? se(e), s = n.measure ? t : null;
946
+ let { naturalWidth: r, naturalHeight: a, ...o } = n.modelValue ?? ye(e), s = n.measure ? t : null;
949
947
  i("update:modelValue", {
950
948
  ...o,
951
949
  url: e,
952
- ...s ? Ue(s) : {}
950
+ ...s ? We(s) : {}
953
951
  }), s || T(e);
954
952
  }
955
953
  function O(e) {
@@ -981,7 +979,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
981
979
  "bottom-left": c.blockSettings.backgroundPositionBottomLeft,
982
980
  "bottom-center": c.blockSettings.backgroundPositionBottomCenter,
983
981
  "bottom-right": c.blockSettings.backgroundPositionBottomRight
984
- })), j = m(() => X.flatMap((e) => ye.map((t) => ({
982
+ })), j = m(() => De.flatMap((e) => Me.map((t) => ({
985
983
  x: t,
986
984
  y: e,
987
985
  label: A.value[`${e}-${t}`]
@@ -992,8 +990,8 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
992
990
  let F = _(), { canBrowse: I, isUploading: L, showOverlay: ee, openMediaBrowser: R } = Ze({
993
991
  target: F,
994
992
  value: u,
995
- blocked: () => W(u.value, l),
996
- apply: (e) => D(e.url, Re(e.width, e.height))
993
+ blocked: () => q(u.value, l),
994
+ apply: (e) => D(e.url, ze(e.width, e.height))
997
995
  });
998
996
  return (t, n) => (a(), v("div", En, [b("div", null, [e.hideLabel ? g("", !0) : (a(), v("label", {
999
997
  key: 0,
@@ -1004,7 +1002,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1004
1002
  class: "tpl:relative",
1005
1003
  "data-testid": `${e.testidPrefix}-bg-url`
1006
1004
  }, [
1007
- h(ee) ? (a(), w(Ve, {
1005
+ h(ee) ? (a(), w(He, {
1008
1006
  key: 0,
1009
1007
  uploading: h(L)
1010
1008
  }, null, 8, ["uploading"])) : g("", !0),
@@ -1033,7 +1031,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1033
1031
  e.heroMode ? g("", !0) : (a(), v("div", {
1034
1032
  key: 0,
1035
1033
  "data-testid": `${e.testidPrefix}-bg-size`
1036
- }, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.backgroundSize), 3), p(Q, {
1034
+ }, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.backgroundSize), 3), p($, {
1037
1035
  options: k.value,
1038
1036
  "model-value": e.modelValue.size,
1039
1037
  "onUpdate:modelValue": n[1] ||= (e) => O({ size: e })
@@ -1116,7 +1114,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1116
1114
  function n(e) {
1117
1115
  return typeof e == "number" && Number.isFinite(e) && e >= 1;
1118
1116
  }
1119
- let i = e, s = t, { t: c } = U(), l = E(Ce, be.liquid), u = E(Fe, null), d = E(De, void 0), f = wn(), _ = m(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = m(() => _.value.trim() !== ""), x = m(() => W(_.value, l)), S = m(() => i.section.hero), C = m(() => i.section.columns === "1"), T = m(() => S.value ? n(S.value.height) ? "fixed" : "image" : "fit"), D = m(() => n(S.value?.height) ? S.value.height : Un), O = m(() => [
1117
+ let i = e, s = t, { t: c } = W(), l = E(_e, Ne.liquid), u = E(ue, null), d = E(he, void 0), f = wn(), _ = m(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = m(() => _.value.trim() !== ""), x = m(() => q(_.value, l)), S = m(() => i.section.hero), C = m(() => i.section.columns === "1"), T = m(() => S.value ? n(S.value.height) ? "fixed" : "image" : "fit"), D = m(() => n(S.value?.height) ? S.value.height : Un), O = m(() => [
1120
1118
  {
1121
1119
  value: "fit",
1122
1120
  label: c.blockSettings.heroHeightFit
@@ -1143,7 +1141,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1143
1141
  value: "bottom",
1144
1142
  label: c.blockSettings.heroAlignBottom
1145
1143
  }
1146
- ]), A = m(() => T.value === "image" && y.value && !x.value && fe(i.section.backgroundImage) === null);
1144
+ ]), A = m(() => T.value === "image" && y.value && !x.value && X(i.section.backgroundImage) === null);
1147
1145
  function j() {
1148
1146
  return (u ? Xe(u.content.value, i.section.id, d, u.activeLocale?.value ?? void 0) : null) ?? Ke(u?.state.content.settings);
1149
1147
  }
@@ -1161,7 +1159,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1161
1159
  s("update", { hero: void 0 });
1162
1160
  return;
1163
1161
  }
1164
- let n = fe(i.section.backgroundImage), r = n === null ? Un : Math.round(j() * n);
1162
+ let n = X(i.section.backgroundImage), r = n === null ? Un : Math.round(j() * n);
1165
1163
  s("update", { hero: {
1166
1164
  height: r,
1167
1165
  verticalAlign: t
@@ -1169,11 +1167,11 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1169
1167
  }
1170
1168
  async function N() {
1171
1169
  let e = i.section.backgroundImage;
1172
- if (!e || !y.value || x.value || fe(e) !== null) return;
1170
+ if (!e || !y.value || x.value || X(e) !== null) return;
1173
1171
  let t = e.url, n = await f(t), r = i.section.backgroundImage;
1174
1172
  n && r && r.url === t && s("update", { backgroundImage: {
1175
1173
  ...r,
1176
- ...Ue(n)
1174
+ ...We(n)
1177
1175
  } });
1178
1176
  }
1179
1177
  function P(e) {
@@ -1191,14 +1189,14 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1191
1189
  return (e, t) => !C.value && S.value ? (a(), v("p", Ln, r(h(c).section.heroNeedsOneColumn), 1)) : C.value && (y.value || S.value) ? (a(), v("div", Rn, [
1192
1190
  b("div", zn, [
1193
1191
  b("label", { class: o(h(V)) }, r(h(c).blockSettings.heroHeight), 3),
1194
- p(Q, {
1192
+ p($, {
1195
1193
  options: O.value,
1196
1194
  "model-value": T.value,
1197
1195
  "onUpdate:modelValue": M
1198
1196
  }, null, 8, ["options", "model-value"]),
1199
1197
  x.value ? (a(), v("p", Bn, r(h(c).blockSettings.heroMatchImageMergeTag), 1)) : A.value ? (a(), v("p", Vn, r(h(c).blockSettings.heroSizeUnknown), 1)) : g("", !0)
1200
1198
  ]),
1201
- T.value === "fixed" ? (a(), w(At, {
1199
+ T.value === "fixed" ? (a(), w(kt, {
1202
1200
  key: 0,
1203
1201
  "model-value": D.value,
1204
1202
  min: 1,
@@ -1206,7 +1204,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1206
1204
  testid: "section-hero-height-px",
1207
1205
  "onUpdate:modelValue": P
1208
1206
  }, null, 8, ["model-value"])) : g("", !0),
1209
- S.value ? (a(), v("div", Hn, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.heroAlign), 3), p(Q, {
1207
+ S.value ? (a(), v("div", Hn, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.heroAlign), 3), p($, {
1210
1208
  options: k.value,
1211
1209
  "model-value": S.value.verticalAlign,
1212
1210
  "onUpdate:modelValue": F
@@ -1235,10 +1233,10 @@ function Jn(e) {
1235
1233
  return Kn(e.styles.backgroundColor) || !!e.backgroundImage;
1236
1234
  }
1237
1235
  function Yn(e) {
1238
- return e.fullWidth !== !0 || qn(e.padding) || me(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Gn.has(e));
1236
+ return e.fullWidth !== !0 || qn(e.padding) || Se(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Gn.has(e));
1239
1237
  }
1240
1238
  function Xn(e, t = {}) {
1241
- return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && ue(t.layout);
1239
+ return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && J(t.layout);
1242
1240
  }
1243
1241
  function Zn(e) {
1244
1242
  let t = {};
@@ -1309,35 +1307,35 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1309
1307
  },
1310
1308
  emits: ["update"],
1311
1309
  setup(e, { emit: n }) {
1312
- let c = e, f = n, { t: x, format: T } = U(), D = E(Fe, null), k = tt(D), j = E(Ee, void 0), N = m(() => D?.activeLocale?.value), I = m(() => !!(N.value && D?.selectedBlock?.value?.l10n?.[N.value]?.hidden)), L = E(ke, []), R = E(Ne, !1), z = E(De, void 0), B = E(Se, void 0), te = m(() => c.block.type === "section" || c.block.type === "wrapper"), ne = m(() => c.block.type === "wrapper" ? c.block.fullWidth === !0 : c.block.type === "section" && c.block.wrapper?.fullWidth === !0), V = m(() => c.block.type === "section" && Xn(c.block, {
1310
+ let c = e, f = n, { t: x, format: T } = W(), D = E(ue, null), k = tt(D), j = E(ae, void 0), N = m(() => D?.activeLocale?.value), I = m(() => !!(N.value && D?.selectedBlock?.value?.l10n?.[N.value]?.hidden)), L = E(fe, []), R = E(pe, !1), z = E(he, void 0), B = E(oe, void 0), te = m(() => c.block.type === "section" || c.block.type === "wrapper"), ne = m(() => c.block.type === "wrapper" ? c.block.fullWidth === !0 : c.block.type === "section" && c.block.wrapper?.fullWidth === !0), V = m(() => c.block.type === "section" && Xn(c.block, {
1313
1311
  sectionWrapper: B,
1314
1312
  layout: z
1315
1313
  })), re = m(() => c.block.type === "wrapper" ? "layout-wrapper-full-width" : "section-background-full-width");
1316
1314
  function ie(e) {
1317
1315
  c.block.type === "wrapper" ? f("update", { fullWidth: e }) : c.block.type === "section" && f("update", $n(c.block, e));
1318
1316
  }
1319
- let ae = m(() => c.block.type === "section" && c.block.wrapper?.fullWidth === !0), oe = m(() => ae.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), se = m(() => ae.value ? "wrapper.backgroundImage" : "backgroundImage"), le = m(() => {
1317
+ let se = m(() => c.block.type === "section" && c.block.wrapper?.fullWidth === !0), ce = m(() => se.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), de = m(() => se.value ? "wrapper.backgroundImage" : "backgroundImage"), me = m(() => {
1320
1318
  let e = c.block;
1321
1319
  return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundColor ?? "" : e.styles.backgroundColor ?? "";
1322
- }), W = m(() => {
1320
+ }), U = m(() => {
1323
1321
  let e = c.block;
1324
1322
  return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundImage : e.type === "section" ? e.backgroundImage : void 0;
1325
1323
  });
1326
- function ue(e, t) {
1324
+ function ge(e, t) {
1327
1325
  f("update", { wrapper: {
1328
1326
  ...e,
1329
1327
  ...t
1330
1328
  } });
1331
1329
  }
1332
- function de(e) {
1330
+ function _e(e) {
1333
1331
  let t = c.block;
1334
- t.type === "section" && t.wrapper?.fullWidth === !0 ? ue(t.wrapper, { backgroundColor: e }) : je("backgroundColor", e);
1332
+ t.type === "section" && t.wrapper?.fullWidth === !0 ? ge(t.wrapper, { backgroundColor: e }) : Me("backgroundColor", e);
1335
1333
  }
1336
- function fe(e) {
1334
+ function G(e) {
1337
1335
  let t = c.block;
1338
- t.type === "section" && t.wrapper?.fullWidth === !0 ? ue(t.wrapper, { backgroundImage: e }) : f("update", { backgroundImage: e });
1336
+ t.type === "section" && t.wrapper?.fullWidth === !0 ? ge(t.wrapper, { backgroundImage: e }) : f("update", { backgroundImage: e });
1339
1337
  }
1340
- let me = E(Te, null), G = Be(), K = _(!1), q = l(/* @__PURE__ */ new Set()), J = _(!1), Y = _(""), X = _(""), he = [{
1338
+ let ve = E(le, null), ye = Ve(), K = _(!1), q = l(/* @__PURE__ */ new Set()), J = _(!1), Y = _(""), X = _(""), Se = [{
1341
1339
  key: "desktop",
1342
1340
  icon: st,
1343
1341
  labelKey: "showOnDesktop"
@@ -1346,43 +1344,43 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1346
1344
  icon: ct,
1347
1345
  labelKey: "showOnMobile"
1348
1346
  }];
1349
- function ge(e) {
1347
+ function Z(e) {
1350
1348
  q.has(e) ? q.delete(e) : q.add(e);
1351
1349
  }
1352
- let _e = m(() => !!me || L.length > 0 || R);
1353
- function ve(e) {
1350
+ let Ce = m(() => !!ve || L.length > 0 || R);
1351
+ function we(e) {
1354
1352
  if (typeof e != "object" || !e || Array.isArray(e)) return !1;
1355
1353
  let t = e;
1356
1354
  return typeof t.label == "string" && typeof t.before == "string" && typeof t.after == "string";
1357
1355
  }
1358
- function ye(e, t) {
1356
+ function Te(e, t) {
1359
1357
  let n = D?.state?.selectedBlockId;
1360
1358
  c.block.id === e && (n === void 0 || n === e) ? f("update", { displayCondition: t }) : D && D.findBlockLocation(e) && D.updateBlock(e, { displayCondition: t });
1361
1359
  }
1362
- async function be() {
1363
- if (!me || K.value) return;
1364
- let e = c.block.id, t = D?.activeLocale?.value ?? null, n = pe(C(c.block)), r = c.block.displayCondition ? pe(C(c.block.displayCondition)) : void 0;
1360
+ async function Ee() {
1361
+ if (!ve || K.value) return;
1362
+ let e = c.block.id, t = D?.activeLocale?.value ?? null, n = xe(C(c.block)), r = c.block.displayCondition ? xe(C(c.block.displayCondition)) : void 0;
1365
1363
  K.value = !0;
1366
1364
  try {
1367
- let i = await me(r ? {
1365
+ let i = await ve(r ? {
1368
1366
  current: r,
1369
1367
  block: n
1370
1368
  } : { block: n });
1371
- if (!G.alive || (D?.activeLocale?.value ?? null) !== t || i === null) return;
1372
- if (!ve(i)) {
1373
- lt.warn("displayConditions.onRequest resolved a value without string label, before and after — ignoring it.");
1369
+ if (!ye.alive || (D?.activeLocale?.value ?? null) !== t || i === null) return;
1370
+ if (!we(i)) {
1371
+ Le.warn("displayConditions.onRequest resolved a value without string label, before and after — ignoring it.");
1374
1372
  return;
1375
1373
  }
1376
- ye(e, pe(i));
1374
+ Te(e, xe(i));
1377
1375
  } finally {
1378
- G.alive && (K.value = !1);
1376
+ ye.alive && (K.value = !1);
1379
1377
  }
1380
1378
  }
1381
- let xe = m(() => c.block.displayCondition ? !L.some((e) => e.label === c.block.displayCondition?.label) : !1);
1382
- function Ce() {
1383
- J.value = !0, xe.value && c.block.displayCondition ? (Y.value = c.block.displayCondition.before, X.value = c.block.displayCondition.after ?? "") : (Y.value = "", X.value = "");
1379
+ let De = m(() => c.block.displayCondition ? !L.some((e) => e.label === c.block.displayCondition?.label) : !1);
1380
+ function Oe() {
1381
+ J.value = !0, De.value && c.block.displayCondition ? (Y.value = c.block.displayCondition.before, X.value = c.block.displayCondition.after ?? "") : (Y.value = "", X.value = "");
1384
1382
  }
1385
- function we() {
1383
+ function ke() {
1386
1384
  let e = Y.value.trim(), t = X.value.trim();
1387
1385
  e && (f("update", { displayCondition: {
1388
1386
  label: x.blockSettings.customCondition,
@@ -1398,29 +1396,29 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1398
1396
  () => c.block.displayCondition?.after
1399
1397
  ], () => {
1400
1398
  let e = c.block.displayCondition;
1401
- !e || !xe.value ? (J.value = !1, Y.value = "", X.value = "") : (Y.value = e.before, X.value = e.after ?? "");
1399
+ !e || !De.value ? (J.value = !1, Y.value = "", X.value = "") : (Y.value = e.before, X.value = e.after ?? "");
1402
1400
  }, { immediate: !0 });
1403
- let Oe = m(() => {
1401
+ let Ae = m(() => {
1404
1402
  let e = {};
1405
1403
  for (let t of L) {
1406
1404
  let n = t.group ?? "";
1407
1405
  e[n] || (e[n] = []), e[n].push(t);
1408
1406
  }
1409
1407
  return e;
1410
- }), Ae = m(() => c.block.type === "section" && ce(c.block)?.applied === !0);
1411
- function je(e, t) {
1408
+ }), je = m(() => c.block.type === "section" && be(c.block)?.applied === !0);
1409
+ function Me(e, t) {
1412
1410
  f("update", { styles: {
1413
1411
  ...c.block.styles,
1414
1412
  [e]: t
1415
1413
  } });
1416
1414
  }
1417
- function Me(e) {
1415
+ function Ne(e) {
1418
1416
  return c.block.visibility?.[e] !== !1;
1419
1417
  }
1420
1418
  function Pe(e) {
1421
1419
  let t = {
1422
- desktop: Me("desktop"),
1423
- mobile: Me("mobile")
1420
+ desktop: Ne("desktop"),
1421
+ mobile: Ne("mobile")
1424
1422
  };
1425
1423
  t[e] = !t[e], f("update", { visibility: t });
1426
1424
  }
@@ -1429,13 +1427,13 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1429
1427
  title: h(x).blockSettings.spacing,
1430
1428
  open: q.has("spacing"),
1431
1429
  "no-border": e.isFirstSection,
1432
- onToggle: n[1] ||= (e) => ge("spacing")
1430
+ onToggle: n[1] ||= (e) => Z("spacing")
1433
1431
  }, {
1434
1432
  default: u(() => [p(Sn, {
1435
1433
  path: "styles.padding",
1436
1434
  label: h(x).blockSettings.padding,
1437
1435
  "model-value": e.block.styles.padding,
1438
- "onUpdate:modelValue": n[0] ||= (e) => je("padding", e)
1436
+ "onUpdate:modelValue": n[0] ||= (e) => Me("padding", e)
1439
1437
  }, null, 8, ["label", "model-value"])]),
1440
1438
  _: 1
1441
1439
  }, 8, [
@@ -1447,17 +1445,17 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1447
1445
  title: h(x).blockSettings.background,
1448
1446
  open: q.has("bg"),
1449
1447
  "header-test-id": "block-settings-background",
1450
- onToggle: n[4] ||= (e) => ge("bg")
1448
+ onToggle: n[4] ||= (e) => Z("bg")
1451
1449
  }, {
1452
1450
  default: u(() => [
1453
1451
  p(A, {
1454
- path: oe.value,
1452
+ path: ce.value,
1455
1453
  label: h(x).blockSettings.color
1456
1454
  }, {
1457
1455
  default: u(() => [p(M, {
1458
- "model-value": le.value,
1456
+ "model-value": me.value,
1459
1457
  "allow-transparent": "",
1460
- "onUpdate:modelValue": de
1458
+ "onUpdate:modelValue": _e
1461
1459
  }, null, 8, ["model-value"])]),
1462
1460
  _: 1
1463
1461
  }, 8, ["path", "label"]),
@@ -1486,21 +1484,21 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1486
1484
  }, 8, ["path", "label"])) : g("", !0),
1487
1485
  e.block.type === "section" ? (a(), w(A, {
1488
1486
  key: 1,
1489
- path: se.value,
1487
+ path: de.value,
1490
1488
  label: h(x).blockSettings.backgroundImage
1491
1489
  }, {
1492
1490
  default: u(() => [p(Nn, {
1493
1491
  "hide-label": "",
1494
1492
  class: "tpl:mt-3.5",
1495
- "model-value": W.value,
1493
+ "model-value": U.value,
1496
1494
  "testid-prefix": "section",
1497
1495
  measure: "",
1498
- "hero-mode": Ae.value,
1499
- "onUpdate:modelValue": fe
1496
+ "hero-mode": je.value,
1497
+ "onUpdate:modelValue": G
1500
1498
  }, null, 8, ["model-value", "hero-mode"])]),
1501
1499
  _: 1
1502
1500
  }, 8, ["path", "label"])) : g("", !0),
1503
- ae.value ? (a(), w(A, {
1501
+ se.value ? (a(), w(A, {
1504
1502
  key: 2,
1505
1503
  path: "styles.backgroundColor",
1506
1504
  label: h(x).blockSettings.contentBackground
@@ -1509,7 +1507,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1509
1507
  "data-testid": "section-content-background",
1510
1508
  "model-value": e.block.styles.backgroundColor ?? "",
1511
1509
  "allow-transparent": "",
1512
- "onUpdate:modelValue": n[2] ||= (e) => je("backgroundColor", e)
1510
+ "onUpdate:modelValue": n[2] ||= (e) => Me("backgroundColor", e)
1513
1511
  }, null, 8, ["model-value"])]),
1514
1512
  _: 1
1515
1513
  }, 8, ["label"])) : g("", !0),
@@ -1530,7 +1528,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1530
1528
  p(In, {
1531
1529
  title: h(x).blockSettings.display,
1532
1530
  open: q.has("display"),
1533
- onToggle: n[6] ||= (e) => ge("display")
1531
+ onToggle: n[6] ||= (e) => Z("display")
1534
1532
  }, {
1535
1533
  default: u(() => [b("div", tr, [N.value && h(j) ? (a(), w(P, {
1536
1534
  key: 0,
@@ -1543,7 +1541,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1543
1541
  "disabled",
1544
1542
  "model-value",
1545
1543
  "label"
1546
- ])) : g("", !0), (a(), v(S, null, s(he, (e) => p(A, {
1544
+ ])) : g("", !0), (a(), v(S, null, s(Se, (e) => p(A, {
1547
1545
  key: e.key,
1548
1546
  path: `visibility.${e.key}`,
1549
1547
  label: h(x).blockSettings[e.labelKey]
@@ -1556,7 +1554,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1556
1554
  "control-id": t,
1557
1555
  "hide-label": "",
1558
1556
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1559
- "model-value": Me(e.key),
1557
+ "model-value": Ne(e.key),
1560
1558
  label: h(x).blockSettings[e.labelKey],
1561
1559
  "onUpdate:modelValue": (t) => Pe(e.key)
1562
1560
  }, null, 8, [
@@ -1569,14 +1567,14 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1569
1567
  }, 1032, ["path", "label"])), 64))])]),
1570
1568
  _: 1
1571
1569
  }, 8, ["title", "open"]),
1572
- _e.value ? (a(), w(In, {
1570
+ Ce.value ? (a(), w(In, {
1573
1571
  key: 0,
1574
1572
  "header-test-id": "display-condition-section",
1575
1573
  title: h(x).blockSettings.displayCondition,
1576
1574
  open: q.has("condition"),
1577
- onToggle: n[11] ||= (e) => ge("condition")
1575
+ onToggle: n[11] ||= (e) => Z("condition")
1578
1576
  }, {
1579
- default: u(() => [h(me) ? (a(), v("div", rr, [e.block.displayCondition ? (a(), v(S, { key: 0 }, [
1577
+ default: u(() => [h(ve) ? (a(), v("div", rr, [e.block.displayCondition ? (a(), v(S, { key: 0 }, [
1580
1578
  b("p", ir, r(e.block.displayCondition.label), 1),
1581
1579
  e.block.displayCondition.description ? (a(), v("p", ar, r(e.block.displayCondition.description), 1)) : g("", !0),
1582
1580
  b("div", or, [b("button", {
@@ -1584,7 +1582,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1584
1582
  "data-testid": "display-condition-edit",
1585
1583
  class: o(h(F)),
1586
1584
  disabled: K.value,
1587
- onClick: be
1585
+ onClick: Ee
1588
1586
  }, r(h(x).blockSettings.editCondition), 11, sr), b("button", {
1589
1587
  type: "button",
1590
1588
  "data-testid": "display-condition-remove",
@@ -1598,7 +1596,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1598
1596
  "data-testid": "display-condition-request",
1599
1597
  class: o(h(F)),
1600
1598
  disabled: K.value,
1601
- onClick: be
1599
+ onClick: Ee
1602
1600
  }, r(h(x).blockSettings.addCondition), 11, lr))])) : (a(), v("div", ur, [p(A, {
1603
1601
  path: "displayCondition",
1604
1602
  label: h(x).blockSettings.displayCondition
@@ -1606,11 +1604,11 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1606
1604
  default: u(() => [b("select", {
1607
1605
  "data-testid": "display-condition-select",
1608
1606
  class: o(["tpl:w-full tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:outline-none tpl:transition-all tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", e.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
1609
- value: J.value || xe.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1607
+ value: J.value || De.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1610
1608
  onChange: n[8] ||= (e) => {
1611
1609
  let t = e.target.value;
1612
1610
  if (t === "__custom__") {
1613
- Ce();
1611
+ Oe();
1614
1612
  return;
1615
1613
  }
1616
1614
  if (J.value = !1, !t) {
@@ -1622,7 +1620,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1622
1620
  }
1623
1621
  }, [
1624
1622
  b("option", fr, r(h(x).blockSettings.noCondition), 1),
1625
- (a(!0), v(S, null, s(Oe.value, (e, t) => (a(), v(S, { key: t }, [t ? (a(), v("optgroup", {
1623
+ (a(!0), v(S, null, s(Ae.value, (e, t) => (a(), v(S, { key: t }, [t ? (a(), v("optgroup", {
1626
1624
  key: 0,
1627
1625
  label: String(t)
1628
1626
  }, [(a(!0), v(S, null, s(e, (e) => (a(), v("option", {
@@ -1635,7 +1633,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1635
1633
  h(R) ? (a(), v("option", gr, r(h(x).blockSettings.customCondition), 1)) : g("", !0)
1636
1634
  ], 42, dr)]),
1637
1635
  _: 1
1638
- }, 8, ["label"]), J.value || xe.value ? (a(), v("div", _r, [
1636
+ }, 8, ["label"]), J.value || De.value ? (a(), v("div", _r, [
1639
1637
  b("div", null, [b("label", vr, r(h(x).blockSettings.customConditionBefore), 1), d(b("textarea", {
1640
1638
  "onUpdate:modelValue": n[9] ||= (e) => Y.value = e,
1641
1639
  rows: "2",
@@ -1650,9 +1648,9 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1650
1648
  type: "button",
1651
1649
  class: o(h(ee)),
1652
1650
  disabled: !Y.value.trim(),
1653
- onClick: we
1651
+ onClick: ke
1654
1652
  }, r(h(x).blockSettings.applyCondition), 11, xr)])
1655
- ])) : e.block.displayCondition && !xe.value ? (a(), v(S, { key: 1 }, [e.block.displayCondition.description ? (a(), v("p", Sr, r(e.block.displayCondition.description), 1)) : g("", !0), b("div", Cr, [b("pre", wr, r(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (a(), v("pre", Tr, r(e.block.displayCondition.after), 1)) : g("", !0)])], 64)) : g("", !0)]))]),
1653
+ ])) : e.block.displayCondition && !De.value ? (a(), v(S, { key: 1 }, [e.block.displayCondition.description ? (a(), v("p", Sr, r(e.block.displayCondition.description), 1)) : g("", !0), b("div", Cr, [b("pre", wr, r(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (a(), v("pre", Tr, r(e.block.displayCondition.after), 1)) : g("", !0)])], 64)) : g("", !0)]))]),
1656
1654
  _: 1
1657
1655
  }, 8, ["title", "open"])) : g("", !0)
1658
1656
  ], 2));
@@ -1665,13 +1663,13 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1665
1663
  readOnly: { type: Boolean }
1666
1664
  },
1667
1665
  setup(e) {
1668
- let { t } = U();
1666
+ let { t } = W();
1669
1667
  return (n, i) => (a(), v("span", null, [
1670
1668
  y(r(e.label) + " ", 1),
1671
1669
  e.readOnly ? (a(), v("span", {
1672
1670
  key: 0,
1673
1671
  title: h(t).customBlocks.dataSource.readOnlyTooltip
1674
- }, [p(h(wt), {
1672
+ }, [p(h(Ct), {
1675
1673
  size: 12,
1676
1674
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
1677
1675
  "aria-hidden": "true"
@@ -1694,7 +1692,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1694
1692
  },
1695
1693
  emits: ["update:modelValue"],
1696
1694
  setup(e, { emit: t }) {
1697
- let n = t, { t: i } = U();
1695
+ let n = t, { t: i } = W();
1698
1696
  return (t, o) => (a(), v("div", {
1699
1697
  class: "tpl:mb-3.5",
1700
1698
  title: e.readOnly ? h(i).customBlocks.dataSource.readOnlyTooltip : void 0
@@ -1708,7 +1706,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1708
1706
  disabled: e.readOnly,
1709
1707
  "onUpdate:modelValue": o[0] ||= (e) => n("update:modelValue", e)
1710
1708
  }, {
1711
- default: u(() => [y(r(e.field.label) + " ", 1), e.readOnly ? (a(), w(h(wt), {
1709
+ default: u(() => [y(r(e.field.label) + " ", 1), e.readOnly ? (a(), w(h(Ct), {
1712
1710
  key: 0,
1713
1711
  size: 12,
1714
1712
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1755,7 +1753,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1755
1753
  },
1756
1754
  emits: ["update:modelValue"],
1757
1755
  setup(e, { emit: t }) {
1758
- let n = e, r = t, { t: i } = U(), o = E(Me, pt), s = m(() => Qe(n.field, o));
1756
+ let n = e, r = t, { t: i } = W(), o = E(de, ft), s = m(() => Qe(n.field, o));
1759
1757
  return (t, n) => (a(), w(Fr, {
1760
1758
  "hide-label": e.hideLabel,
1761
1759
  label: e.field.label,
@@ -1800,7 +1798,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1800
1798
  },
1801
1799
  emits: ["update:modelValue"],
1802
1800
  setup(e, { emit: t }) {
1803
- let n = e, i = t, { t: s } = U(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = Ze({
1801
+ let n = e, i = t, { t: s } = W(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = Ze({
1804
1802
  target: c,
1805
1803
  value: () => n.modelValue,
1806
1804
  blocked: () => !!n.readOnly,
@@ -1817,7 +1815,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1817
1815
  ref: c,
1818
1816
  class: "tpl:relative"
1819
1817
  }, [
1820
- h(f) ? (a(), w(Ve, {
1818
+ h(f) ? (a(), w(He, {
1821
1819
  key: 0,
1822
1820
  uploading: h(d)
1823
1821
  }, null, 8, ["uploading"])) : g("", !0),
@@ -1872,7 +1870,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1872
1870
  },
1873
1871
  emits: ["update:modelValue"],
1874
1872
  setup(e, { emit: t }) {
1875
- let n = t, { t: r } = U();
1873
+ let n = t, { t: r } = W();
1876
1874
  return (t, i) => (a(), w(Fr, {
1877
1875
  "hide-label": e.hideLabel,
1878
1876
  label: e.field.label,
@@ -1915,7 +1913,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1915
1913
  },
1916
1914
  emits: ["update:modelValue"],
1917
1915
  setup(e, { emit: t }) {
1918
- let n = e, c = t, { t: l, format: d } = U(), f = m(() => n.modelValue || []), _ = m(() => !n.field.maxItems || f.value.length < n.field.maxItems), x = m(() => !n.field.minItems || f.value.length > n.field.minItems);
1916
+ let n = e, c = t, { t: l, format: d } = W(), f = m(() => n.modelValue || []), _ = m(() => !n.field.maxItems || f.value.length < n.field.maxItems), x = m(() => !n.field.minItems || f.value.length > n.field.minItems);
1919
1917
  function C() {
1920
1918
  if (!_.value || n.readOnly) return;
1921
1919
  let e = {};
@@ -1950,7 +1948,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1950
1948
  class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
1951
1949
  title: h(l).customBlocks.fields.removeItem,
1952
1950
  onClick: (e) => T(n)
1953
- }, [p(h(mt), {
1951
+ }, [p(h(pt), {
1954
1952
  size: 12,
1955
1953
  "stroke-width": 2
1956
1954
  })], 8, Gr)) : g("", !0)]), (a(!0), v(S, null, s(e.field.fields, (r) => (a(), w(i(h(ri)(r.type)), {
@@ -1970,7 +1968,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1970
1968
  type: "button",
1971
1969
  class: o(h(R)),
1972
1970
  onClick: C
1973
- }, [p(h(Z), {
1971
+ }, [p(h(Q), {
1974
1972
  size: 14,
1975
1973
  "stroke-width": 2
1976
1974
  }), y(" " + r(h(l).customBlocks.fields.addItem), 1)], 2)) : g("", !0),
@@ -1999,7 +1997,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1999
1997
  },
2000
1998
  emits: ["update:modelValue"],
2001
1999
  setup(e, { emit: t }) {
2002
- let n = t, { t: i } = U();
2000
+ let n = t, { t: i } = W();
2003
2001
  return (t, c) => (a(), w(Fr, {
2004
2002
  "hide-label": e.hideLabel,
2005
2003
  label: e.field.label,
@@ -2038,7 +2036,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
2038
2036
  },
2039
2037
  emits: ["update:modelValue"],
2040
2038
  setup(e, { emit: t }) {
2041
- let n = t, { t: r } = U();
2039
+ let n = t, { t: r } = W();
2042
2040
  return (t, i) => (a(), w(Fr, {
2043
2041
  "hide-label": e.hideLabel,
2044
2042
  label: e.field.label,
@@ -2083,7 +2081,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
2083
2081
  },
2084
2082
  emits: ["update:modelValue"],
2085
2083
  setup(e, { emit: t }) {
2086
- let n = t, { t: r } = U();
2084
+ let n = t, { t: r } = W();
2087
2085
  return (t, i) => (a(), w(Fr, {
2088
2086
  "hide-label": e.hideLabel,
2089
2087
  label: e.field.label,
@@ -2147,7 +2145,7 @@ var ii = {
2147
2145
  props: { block: {} },
2148
2146
  emits: ["updateFieldValues", "updateDataSourceFetched"],
2149
2147
  setup(e, { emit: t }) {
2150
- let n = e, o = t, { t: c } = U(), l = E(je, []), d = m(() => l.find((e) => e.type === n.block.customType)), f = m(() => n.block), { isFetching: _, fetchError: x, fetch: C, hasDataSource: T, needsFetch: D } = Ie({
2148
+ let n = e, o = t, { t: c } = W(), l = E(U, []), d = m(() => l.find((e) => e.type === n.block.customType)), f = m(() => n.block), { isFetching: _, fetchError: x, fetch: C, hasDataSource: T, needsFetch: D } = Ie({
2151
2149
  definition: d,
2152
2150
  block: f,
2153
2151
  onUpdate: (e, t) => {
@@ -2175,7 +2173,7 @@ var ii = {
2175
2173
  type: "button",
2176
2174
  class: "tpl:flex tpl:w-full 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)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]",
2177
2175
  onClick: n[1] ||= (...e) => h(C) && h(C)(...e)
2178
- }, [p(h(dt), { size: 12 }), y(" " + r(h(c).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (a(), v("p", di, [p(h(ut), {
2176
+ }, [p(h(ut), { size: 12 }), y(" " + r(h(c).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (a(), v("p", di, [p(h(lt), {
2179
2177
  size: 14,
2180
2178
  class: "tpl:shrink-0"
2181
2179
  }), y(" " + r(h(c).customBlocks.dataSource.fetchError), 1)])) : g("", !0)])) : g("", !0),
@@ -2216,7 +2214,7 @@ var ii = {
2216
2214
  props: { block: {} },
2217
2215
  emits: ["update"],
2218
2216
  setup(e, { emit: t }) {
2219
- let n = t, { t: r } = U();
2217
+ let n = t, { t: r } = W();
2220
2218
  function i(e, t) {
2221
2219
  n("update", { [e]: t });
2222
2220
  }
@@ -2226,7 +2224,7 @@ var ii = {
2226
2224
  class: "tpl:mb-3.5",
2227
2225
  path: "lineStyle"
2228
2226
  }, {
2229
- default: u(() => [p(Q, {
2227
+ default: u(() => [p($, {
2230
2228
  options: [
2231
2229
  {
2232
2230
  value: "solid",
@@ -2279,7 +2277,7 @@ var ii = {
2279
2277
  props: { block: {} },
2280
2278
  emits: ["update"],
2281
2279
  setup(e, { emit: t }) {
2282
- let n = t, { t: i } = U();
2280
+ let n = t, { t: i } = W();
2283
2281
  return (t, s) => (a(), w(A, {
2284
2282
  label: h(i).html.content,
2285
2283
  class: "tpl:mb-3.5",
@@ -2291,7 +2289,7 @@ var ii = {
2291
2289
  rows: "10",
2292
2290
  class: o(h(H)),
2293
2291
  onInput: s[0] ||= (e) => n("update", { content: e.target.value })
2294
- }, null, 42, gi), b("p", _i, [p(h(ht), {
2292
+ }, null, 42, gi), b("p", _i, [p(h(mt), {
2295
2293
  size: 12,
2296
2294
  class: "tpl:mt-0.5 tpl:shrink-0"
2297
2295
  }), y(" " + r(h(i).html.sanitizationHint), 1)])]),
@@ -2305,7 +2303,7 @@ function yi(e) {
2305
2303
  t(() => e.block().id, () => {
2306
2304
  n.value = !1, r.value = null;
2307
2305
  });
2308
- let i = m(() => He(e.block()) ?? e.measured()), a = m(() => {
2306
+ let i = m(() => Ue(e.block()) ?? e.measured()), a = m(() => {
2309
2307
  let t = e.block().width;
2310
2308
  return t === "full" ? e.room() : t;
2311
2309
  }), o = m(() => {
@@ -2316,9 +2314,9 @@ function yi(e) {
2316
2314
  return t === void 0 || o.value !== null && Math.abs(o.value - t) <= 1;
2317
2315
  }), l = m(() => s.value && !n.value && c.value);
2318
2316
  function u() {
2319
- if (He(e.block())) return {};
2317
+ if (Ue(e.block())) return {};
2320
2318
  let t = e.measured();
2321
- return t ? Ue(t) : {};
2319
+ return t ? We(t) : {};
2322
2320
  }
2323
2321
  function d(t) {
2324
2322
  if (r.value = null, !t) return n.value = !0, null;
@@ -2380,7 +2378,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2380
2378
  props: { block: {} },
2381
2379
  emits: ["update"],
2382
2380
  setup(e, { emit: t }) {
2383
- let n = e, i = t, { t: s, format: c } = U(), l = E(Ce, be.liquid), d = E(Fe, null), f = d ? xe(d) : null, C = E(De, void 0), T = _(!1), D = _(!1), { start: O } = gt(() => {
2381
+ let n = e, i = t, { t: s, format: c } = W(), l = E(_e, Ne.liquid), d = E(ue, null), f = d ? Pe(d) : null, C = E(he, void 0), T = _(!1), D = _(!1), { start: O } = ht(() => {
2384
2382
  T.value = !1, D.value = !1;
2385
2383
  }, 1e3, { immediate: !1 }), k = [
2386
2384
  300,
@@ -2396,8 +2394,8 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2396
2394
  function ee(e) {
2397
2395
  if (e === "custom") {
2398
2396
  let e = n.block.width;
2399
- (typeof e != "number" || k.includes(e)) && i("update", G.widthUpdates(Bi));
2400
- } else i("update", G.widthUpdates(e === "full" ? "full" : Number(e)));
2397
+ (typeof e != "number" || k.includes(e)) && i("update", U.widthUpdates(Bi));
2398
+ } else i("update", U.widthUpdates(e === "full" ? "full" : Number(e)));
2401
2399
  }
2402
2400
  function R(e) {
2403
2401
  I("height", e === "custom" ? Vi : void 0);
@@ -2410,42 +2408,42 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2410
2408
  !Number.isFinite(t) || t <= 0 || I("height", t);
2411
2409
  }
2412
2410
  function V(e) {
2413
- I("borderRadius", me(e) === null ? void 0 : e);
2411
+ I("borderRadius", Se(e) === null ? void 0 : e);
2414
2412
  }
2415
2413
  function H(e) {
2416
2414
  let t = Number(e);
2417
- !Number.isFinite(t) || t <= 0 || i("update", G.widthUpdates(t));
2415
+ !Number.isFinite(t) || t <= 0 || i("update", U.widthUpdates(t));
2418
2416
  }
2419
2417
  function re(e) {
2420
2418
  e !== n.block.src && i("update", {
2421
2419
  src: e,
2422
- ...Ue(null)
2420
+ ...We(null)
2423
2421
  });
2424
2422
  }
2425
2423
  function ie(e) {
2426
2424
  i("update", {
2427
2425
  src: e.url,
2428
- ...Ue(Re(e.width, e.height))
2426
+ ...We(ze(e.width, e.height))
2429
2427
  }), e.alt && (I("alt", e.alt), D.value = !0), T.value = !0, O();
2430
2428
  }
2431
- let ae = _(), oe = m(() => W(n.block.src, l)), { canBrowse: se, isUploading: ce, showOverlay: le, openMediaBrowser: ue } = Ze({
2429
+ let ae = _(), oe = m(() => q(n.block.src, l)), { canBrowse: se, isUploading: ce, showOverlay: le, openMediaBrowser: de } = Ze({
2432
2430
  target: ae,
2433
2431
  value: () => n.block.src,
2434
2432
  blocked: oe,
2435
2433
  apply: ie
2436
- }), de = Le(() => oe.value || !n.block.src || He(n.block) ? void 0 : n.block.src), fe = Cn(() => de.value), pe = m(() => f ? We(f.content.value, n.block.id, C) : null), G = yi({
2434
+ }), fe = Re(() => oe.value || !n.block.src || Ue(n.block) ? void 0 : n.block.src), pe = Cn(() => fe.value), me = m(() => f ? Ge(f.content.value, n.block.id, C) : null), U = yi({
2437
2435
  block: () => n.block,
2438
- room: () => pe.value,
2439
- measured: () => fe.value
2440
- }), { available: K, locked: q, derivedHeight: J, cappedHeight: Y } = G;
2441
- function X() {
2442
- let e = G.setLocked(!q.value);
2436
+ room: () => me.value,
2437
+ measured: () => pe.value
2438
+ }), { available: ge, locked: G, derivedHeight: ve, cappedHeight: ye } = U;
2439
+ function be() {
2440
+ let e = U.setLocked(!G.value);
2443
2441
  e && i("update", e);
2444
2442
  }
2445
- let he = _(null);
2446
- function ge(e) {
2447
- he.value = e;
2448
- let t = G.heightUpdates(Number(e));
2443
+ let K = _(null);
2444
+ function J(e) {
2445
+ K.value = e;
2446
+ let t = U.heightUpdates(Number(e));
2449
2447
  t && i("update", t);
2450
2448
  }
2451
2449
  return (t, n) => (a(), v(S, null, [
@@ -2459,7 +2457,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2459
2457
  ref: ae,
2460
2458
  class: "tpl:relative"
2461
2459
  }, [
2462
- h(le) ? (a(), w(Ve, {
2460
+ h(le) ? (a(), w(He, {
2463
2461
  key: 0,
2464
2462
  uploading: h(ce)
2465
2463
  }, null, 8, ["uploading"])) : g("", !0),
@@ -2482,7 +2480,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2482
2480
  color: "var(--tpl-primary)",
2483
2481
  "background-color": "var(--tpl-bg)"
2484
2482
  },
2485
- onClick: n[1] ||= (...e) => h(ue) && h(ue)(...e)
2483
+ onClick: n[1] ||= (...e) => h(de) && h(de)(...e)
2486
2484
  }, [p(h(at), {
2487
2485
  size: 14,
2488
2486
  "stroke-width": 1.5
@@ -2490,7 +2488,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2490
2488
  ], 512)]),
2491
2489
  _: 1
2492
2490
  }, 8, ["label"]),
2493
- h(W)(e.block.src, h(l)) ? (a(), w(A, {
2491
+ h(q)(e.block.src, h(l)) ? (a(), w(A, {
2494
2492
  key: 0,
2495
2493
  class: "tpl:mb-3.5",
2496
2494
  path: "placeholderUrl"
@@ -2593,23 +2591,23 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2593
2591
  label: h(s).image.height
2594
2592
  }, x({
2595
2593
  default: u(() => [
2596
- h(q) ? (a(), v(S, { key: 0 }, [b("div", Mi, [b("input", {
2594
+ h(G) ? (a(), v(S, { key: 0 }, [b("div", Mi, [b("input", {
2597
2595
  type: "number",
2598
2596
  "data-testid": "image-locked-height-input",
2599
2597
  class: o(h(z)),
2600
- value: he.value ?? h(J) ?? "",
2598
+ value: K.value ?? h(ve) ?? "",
2601
2599
  min: "1",
2602
- onInput: n[8] ||= (e) => ge(e.target.value),
2603
- onBlur: n[9] ||= (e) => he.value = null
2604
- }, null, 42, Ni), b("span", { class: o(h(L)) }, "px", 2)]), h(Y) === null ? g("", !0) : (a(), v("p", Pi, r(h(c)(h(s).image.heightCapped, { height: h(Y) })), 1))], 64)) : g("", !0),
2605
- h(q) ? g("", !0) : (a(), v("select", {
2600
+ onInput: n[8] ||= (e) => J(e.target.value),
2601
+ onBlur: n[9] ||= (e) => K.value = null
2602
+ }, null, 42, Ni), b("span", { class: o(h(L)) }, "px", 2)]), h(ye) === null ? g("", !0) : (a(), v("p", Pi, r(h(c)(h(s).image.heightCapped, { height: h(ye) })), 1))], 64)) : g("", !0),
2603
+ h(G) ? g("", !0) : (a(), v("select", {
2606
2604
  key: 1,
2607
2605
  class: o(h(B)),
2608
2606
  "data-testid": "image-height-mode",
2609
2607
  value: M.value,
2610
2608
  onChange: n[10] ||= (e) => R(e.target.value)
2611
2609
  }, [b("option", Ii, r(h(s).image.heightAuto), 1), b("option", Li, r(h(s).image.heightCustom), 1)], 42, Fi)),
2612
- !h(q) && M.value === "custom" ? (a(), v("div", Ri, [b("input", {
2610
+ !h(G) && M.value === "custom" ? (a(), v("div", Ri, [b("input", {
2613
2611
  type: "number",
2614
2612
  "data-testid": "image-height-input",
2615
2613
  class: o(h(z)),
@@ -2619,14 +2617,14 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2619
2617
  }, null, 42, zi), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)
2620
2618
  ]),
2621
2619
  _: 2
2622
- }, [h(K) ? {
2620
+ }, [h(ge) ? {
2623
2621
  name: "label-actions",
2624
- fn: u(() => [p(Mt, {
2625
- linked: h(q),
2622
+ fn: u(() => [p(jt, {
2623
+ linked: h(G),
2626
2624
  "link-label": h(s).image.lockAspectRatio,
2627
2625
  "unlink-label": h(s).image.unlockAspectRatio,
2628
2626
  testid: "image-aspect-lock",
2629
- onToggle: X
2627
+ onToggle: be
2630
2628
  }, null, 8, [
2631
2629
  "linked",
2632
2630
  "link-label",
@@ -2634,14 +2632,14 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2634
2632
  ])]),
2635
2633
  key: "0"
2636
2634
  } : void 0]), 1032, ["label"]),
2637
- p(zt, {
2635
+ p(Rt, {
2638
2636
  path: "borderRadius",
2639
2637
  "model-value": e.block.borderRadius,
2640
2638
  label: h(s).image.borderRadius,
2641
2639
  "testid-prefix": "image",
2642
2640
  "onUpdate:modelValue": V
2643
2641
  }, null, 8, ["model-value", "label"]),
2644
- p(It, {
2642
+ p(Ft, {
2645
2643
  path: "border",
2646
2644
  "model-value": e.block.border,
2647
2645
  "testid-prefix": "image",
@@ -2652,7 +2650,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2652
2650
  class: "tpl:mb-3.5",
2653
2651
  path: "align"
2654
2652
  }, {
2655
- default: u(() => [p(Q, {
2653
+ default: u(() => [p($, {
2656
2654
  options: [
2657
2655
  {
2658
2656
  value: "left",
@@ -2717,7 +2715,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2717
2715
  },
2718
2716
  emits: ["update"],
2719
2717
  setup(e, { emit: t }) {
2720
- let n = e, i = t, { t: c } = U(), l = m(() => [
2718
+ let n = e, i = t, { t: c } = W(), l = m(() => [
2721
2719
  {
2722
2720
  key: "openInNewTab",
2723
2721
  label: c.menu.openInNewTab
@@ -2734,17 +2732,17 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2734
2732
  {
2735
2733
  value: "left",
2736
2734
  label: c.title.alignLeft,
2737
- icon: yt
2735
+ icon: vt
2738
2736
  },
2739
2737
  {
2740
2738
  value: "center",
2741
2739
  label: c.title.alignCenter,
2742
- icon: _t
2740
+ icon: gt
2743
2741
  },
2744
2742
  {
2745
2743
  value: "right",
2746
2744
  label: c.title.alignRight,
2747
- icon: vt
2745
+ icon: _t
2748
2746
  }
2749
2747
  ]);
2750
2748
  function f(e, t) {
@@ -2752,7 +2750,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2752
2750
  }
2753
2751
  function g() {
2754
2752
  let e = {
2755
- id: G(),
2753
+ id: Z(),
2756
2754
  text: "",
2757
2755
  url: "",
2758
2756
  openInNewTab: !1,
@@ -2793,7 +2791,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2793
2791
  class: o(h(I)),
2794
2792
  title: h(c).menu.removeItem,
2795
2793
  onClick: (e) => x(t.id)
2796
- }, [p(h(bt), {
2794
+ }, [p(h(yt), {
2797
2795
  size: 14,
2798
2796
  "stroke-width": 2
2799
2797
  })], 10, Ki)]),
@@ -2846,7 +2844,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2846
2844
  ]))), 128)), b("button", {
2847
2845
  class: o(h(R)),
2848
2846
  onClick: g
2849
- }, [p(h(Z), {
2847
+ }, [p(h(Q), {
2850
2848
  size: 14,
2851
2849
  "stroke-width": 2
2852
2850
  }), y(" " + r(h(c).menu.addItem), 1)], 2)])]),
@@ -2870,7 +2868,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2870
2868
  path: "fontSize",
2871
2869
  label: h(c).menu.fontSize
2872
2870
  }, {
2873
- default: u(() => [p(At, {
2871
+ default: u(() => [p(kt, {
2874
2872
  "model-value": e.block.fontSize,
2875
2873
  min: 8,
2876
2874
  max: 48,
@@ -2903,7 +2901,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2903
2901
  path: "textAlign",
2904
2902
  label: h(c).menu.textAlign
2905
2903
  }, {
2906
- default: u(() => [p(Q, {
2904
+ default: u(() => [p($, {
2907
2905
  options: d.value,
2908
2906
  "model-value": e.block.textAlign,
2909
2907
  "onUpdate:modelValue": n[4] ||= (e) => f("textAlign", e)
@@ -2936,7 +2934,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2936
2934
  path: "spacing",
2937
2935
  label: h(c).menu.spacing
2938
2936
  }, {
2939
- default: u(() => [p(At, {
2937
+ default: u(() => [p(kt, {
2940
2938
  "model-value": e.block.spacing,
2941
2939
  min: 0,
2942
2940
  max: 50,
@@ -2952,7 +2950,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2952
2950
  props: { block: {} },
2953
2951
  emits: ["update"],
2954
2952
  setup(e, { emit: t }) {
2955
- let n = t, { t: r } = U();
2953
+ let n = t, { t: r } = W();
2956
2954
  return (t, i) => (a(), w(A, {
2957
2955
  label: h(r).paragraph.paragraphSpacing,
2958
2956
  class: "tpl:mb-3.5",
@@ -2962,7 +2960,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2962
2960
  default: u(() => [b("div", ea, [b("input", {
2963
2961
  type: "number",
2964
2962
  class: o(h(z)),
2965
- value: e.block.paragraphSpacing ?? h(J).paragraphGap,
2963
+ value: e.block.paragraphSpacing ?? h(Te).paragraphGap,
2966
2964
  min: "0",
2967
2965
  max: "64",
2968
2966
  onInput: i[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
@@ -2973,7 +2971,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2973
2971
  });
2974
2972
  // src/utils/rebalanceColumnChildren.ts
2975
2973
  function ra(e, t) {
2976
- let n = ge(t);
2974
+ let n = ke(t);
2977
2975
  if (e.length === n) return e;
2978
2976
  if (e.length < n) {
2979
2977
  let t = Array.from({ length: n - e.length }, () => []);
@@ -3004,7 +3002,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3004
3002
  props: { block: {} },
3005
3003
  emits: ["update"],
3006
3004
  setup(e, { emit: t }) {
3007
- let n = e, i = t, { t: c, format: l } = U(), d = E(De, void 0), f = E(Se, void 0), _ = d !== void 0 && ue(d), y = m(() => f !== !1 || !!n.block.wrapper), x = m(() => _ && !n.block.wrapper), C = m(() => _ && y.value), T = m(() => ce(n.block)?.applied === !0), D = m(() => [
3005
+ let n = e, i = t, { t: c, format: l } = W(), d = E(he, void 0), f = E(oe, void 0), _ = d !== void 0 && J(d), y = m(() => f !== !1 || !!n.block.wrapper), x = m(() => _ && !n.block.wrapper), C = m(() => _ && y.value), T = m(() => be(n.block)?.applied === !0), D = m(() => [
3008
3006
  {
3009
3007
  value: "1",
3010
3008
  label: c.section.column1
@@ -3041,7 +3039,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3041
3039
  value: "1-2-1",
3042
3040
  label: c.section.ratio121
3043
3041
  }
3044
- ]), O = m(() => ve(n.block)), k = m(() => n.block.columnWidths !== void 0 && le(n.block) === null), j = m(() => k.value ? "custom" : n.block.columns);
3042
+ ]), O = m(() => je(n.block)), k = m(() => n.block.columnWidths !== void 0 && K(n.block) === null), j = m(() => k.value ? "custom" : n.block.columns);
3045
3043
  function N(e) {
3046
3044
  let t = e.target.value;
3047
3045
  if (t === "custom") return;
@@ -3063,8 +3061,8 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3063
3061
  return;
3064
3062
  }
3065
3063
  let c = s.slice(), l = e === c.length - 1 ? e - 1 : e + 1, u = c[e] + c[l], d = Math.max(.01, F(Math.min(5, u / 2))), f = Math.min(Math.max(o, d), u - d);
3066
- c[e] = ae(f), c[l] = ae(u - c[e]);
3067
- let p = he[n.block.columns], m = p !== void 0 && p.every((e, t) => e === c[t]);
3064
+ c[e] = G(f), c[l] = G(u - c[e]);
3065
+ let p = Oe[n.block.columns], m = p !== void 0 && p.every((e, t) => e === c[t]);
3068
3066
  i("update", { columnWidths: m ? void 0 : c });
3069
3067
  }
3070
3068
  function ee(e) {
@@ -3143,7 +3141,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3143
3141
  ])]),
3144
3142
  _: 1
3145
3143
  }, 8, ["label"])),
3146
- p(zt, {
3144
+ p(Rt, {
3147
3145
  path: "borderRadius",
3148
3146
  "model-value": e.block.borderRadius,
3149
3147
  label: h(c).section.borderRadius,
@@ -3151,7 +3149,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3151
3149
  "testid-prefix": "section",
3152
3150
  "onUpdate:modelValue": R
3153
3151
  }, null, 8, ["model-value", "label"]),
3154
- T.value ? g("", !0) : (a(), w(It, {
3152
+ T.value ? g("", !0) : (a(), w(Ft, {
3155
3153
  key: 2,
3156
3154
  path: "border",
3157
3155
  "model-value": e.block.border,
@@ -3234,7 +3232,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3234
3232
  },
3235
3233
  "onUpdate:modelValue": re
3236
3234
  }, null, 8, ["label", "model-value"]),
3237
- p(zt, {
3235
+ p(Rt, {
3238
3236
  path: "wrapper.borderRadius",
3239
3237
  "model-value": e.block.wrapper.borderRadius,
3240
3238
  label: h(c).section.borderRadius,
@@ -3251,7 +3249,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3251
3249
  props: { icon: {} },
3252
3250
  emits: ["update"],
3253
3251
  setup(e, { emit: t }) {
3254
- let n = e, i = t, { t: o } = U(), { syntax: s } = xt(), c = _(), l = m(() => typeof n.icon.imageUrl == "string" ? n.icon.imageUrl : ""), d = m(() => W(l.value, s));
3252
+ let n = e, i = t, { t: o } = W(), { syntax: s } = bt(), c = _(), l = m(() => typeof n.icon.imageUrl == "string" ? n.icon.imageUrl : ""), d = m(() => q(l.value, s));
3255
3253
  function f(e) {
3256
3254
  return n.icon.id.includes(".") ? void 0 : `icons.${n.icon.id}.${e}`;
3257
3255
  }
@@ -3289,7 +3287,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3289
3287
  ref: c,
3290
3288
  class: "tpl:relative"
3291
3289
  }, [
3292
- h(O) ? (a(), w(Ve, {
3290
+ h(O) ? (a(), w(He, {
3293
3291
  key: 0,
3294
3292
  uploading: h(D)
3295
3293
  }, null, 8, ["uploading"])) : g("", !0),
@@ -3335,13 +3333,13 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3335
3333
  props: { block: {} },
3336
3334
  emits: ["update"],
3337
3335
  setup(e, { emit: t }) {
3338
- let n = e, i = t, { t: c } = U();
3336
+ let n = e, i = t, { t: c } = W();
3339
3337
  function l(e, t) {
3340
3338
  i("update", { [e]: t });
3341
3339
  }
3342
3340
  function d() {
3343
3341
  let e = {
3344
- id: G(),
3342
+ id: Z(),
3345
3343
  platform: "facebook",
3346
3344
  url: ""
3347
3345
  };
@@ -3397,7 +3395,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3397
3395
  class: o(h(I)),
3398
3396
  title: h(c).social.removeIcon,
3399
3397
  onClick: (t) => C(e.id)
3400
- }, [p(h(bt), {
3398
+ }, [p(h(yt), {
3401
3399
  size: 14,
3402
3400
  "stroke-width": 2
3403
3401
  })], 10, xa)]),
@@ -3426,7 +3424,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3426
3424
  ]))), 128)), b("button", {
3427
3425
  class: o(h(R)),
3428
3426
  onClick: d
3429
- }, [p(h(Z), {
3427
+ }, [p(h(Q), {
3430
3428
  size: 14,
3431
3429
  "stroke-width": 2
3432
3430
  }), y(" " + r(h(c).social.addIcon), 1)], 2)])]),
@@ -3471,7 +3469,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3471
3469
  class: "tpl:mb-3.5",
3472
3470
  path: "iconSize"
3473
3471
  }, {
3474
- default: u(() => [p(Q, {
3472
+ default: u(() => [p($, {
3475
3473
  options: [
3476
3474
  {
3477
3475
  value: "small",
@@ -3511,22 +3509,22 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3511
3509
  class: "tpl:mb-3.5",
3512
3510
  path: "align"
3513
3511
  }, {
3514
- default: u(() => [p(Q, {
3512
+ default: u(() => [p($, {
3515
3513
  options: [
3516
3514
  {
3517
3515
  value: "left",
3518
3516
  label: h(c).title.alignLeft,
3519
- icon: h(yt)
3517
+ icon: h(vt)
3520
3518
  },
3521
3519
  {
3522
3520
  value: "center",
3523
3521
  label: h(c).title.alignCenter,
3524
- icon: h(_t)
3522
+ icon: h(gt)
3525
3523
  },
3526
3524
  {
3527
3525
  value: "right",
3528
3526
  label: h(c).title.alignRight,
3529
- icon: h(vt)
3527
+ icon: h(_t)
3530
3528
  }
3531
3529
  ],
3532
3530
  "model-value": e.block.align,
@@ -3541,7 +3539,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3541
3539
  props: { block: {} },
3542
3540
  emits: ["update"],
3543
3541
  setup(e, { emit: t }) {
3544
- let n = t, { t: r } = U();
3542
+ let n = t, { t: r } = W();
3545
3543
  return (t, i) => (a(), w(A, {
3546
3544
  label: h(r).spacer.height,
3547
3545
  class: "tpl:mb-3.5",
@@ -3573,15 +3571,15 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3573
3571
  },
3574
3572
  emits: ["update"],
3575
3573
  setup(e, { emit: t }) {
3576
- let n = e, i = t, { t: c } = U(), l = m(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3574
+ let n = e, i = t, { t: c } = W(), l = m(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3577
3575
  function d(e, t) {
3578
3576
  i("update", { [e]: t });
3579
3577
  }
3580
3578
  function f() {
3581
3579
  let e = n.block.rows.length > 0 ? n.block.rows[0].cells.length : 3, t = {
3582
- id: G(),
3580
+ id: Z(),
3583
3581
  cells: Array.from({ length: e }, () => ({
3584
- id: G(),
3582
+ id: Z(),
3585
3583
  content: ""
3586
3584
  }))
3587
3585
  };
@@ -3594,7 +3592,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3594
3592
  let e = n.block.rows.map((e) => ({
3595
3593
  ...e,
3596
3594
  cells: [...e.cells, {
3597
- id: G(),
3595
+ id: Z(),
3598
3596
  content: ""
3599
3597
  }]
3600
3598
  }));
@@ -3621,7 +3619,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3621
3619
  b("button", {
3622
3620
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)]",
3623
3621
  onClick: f
3624
- }, [p(h(Z), {
3622
+ }, [p(h(Q), {
3625
3623
  size: 12,
3626
3624
  "stroke-width": 2
3627
3625
  })])
@@ -3638,7 +3636,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3638
3636
  b("button", {
3639
3637
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)]",
3640
3638
  onClick: y
3641
- }, [p(h(Z), {
3639
+ }, [p(h(Q), {
3642
3640
  size: 12,
3643
3641
  "stroke-width": 2
3644
3642
  })])
@@ -3767,22 +3765,22 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3767
3765
  class: "tpl:mb-3.5",
3768
3766
  path: "textAlign"
3769
3767
  }, {
3770
- default: u(() => [p(Q, {
3768
+ default: u(() => [p($, {
3771
3769
  options: [
3772
3770
  {
3773
3771
  value: "left",
3774
3772
  label: h(c).title.alignLeft,
3775
- icon: h(yt)
3773
+ icon: h(vt)
3776
3774
  },
3777
3775
  {
3778
3776
  value: "center",
3779
3777
  label: h(c).title.alignCenter,
3780
- icon: h(_t)
3778
+ icon: h(gt)
3781
3779
  },
3782
3780
  {
3783
3781
  value: "right",
3784
3782
  label: h(c).title.alignRight,
3785
- icon: h(vt)
3783
+ icon: h(_t)
3786
3784
  }
3787
3785
  ],
3788
3786
  "model-value": e.block.textAlign,
@@ -3800,7 +3798,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3800
3798
  },
3801
3799
  emits: ["update"],
3802
3800
  setup(e, { emit: t }) {
3803
- let n = t, { t: i } = U();
3801
+ let n = t, { t: i } = W();
3804
3802
  function c(e, t) {
3805
3803
  n("update", { [e]: t });
3806
3804
  }
@@ -3853,22 +3851,22 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3853
3851
  class: "tpl:mb-3.5",
3854
3852
  path: "textAlign"
3855
3853
  }, {
3856
- default: u(() => [p(Q, {
3854
+ default: u(() => [p($, {
3857
3855
  options: [
3858
3856
  {
3859
3857
  value: "left",
3860
3858
  label: h(i).title.alignLeft,
3861
- icon: h(yt)
3859
+ icon: h(vt)
3862
3860
  },
3863
3861
  {
3864
3862
  value: "center",
3865
3863
  label: h(i).title.alignCenter,
3866
- icon: h(_t)
3864
+ icon: h(gt)
3867
3865
  },
3868
3866
  {
3869
3867
  value: "right",
3870
3868
  label: h(i).title.alignRight,
3871
- icon: h(vt)
3869
+ icon: h(_t)
3872
3870
  }
3873
3871
  ],
3874
3872
  "model-value": e.block.textAlign,
@@ -3893,14 +3891,14 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3893
3891
  props: { block: {} },
3894
3892
  emits: ["update"],
3895
3893
  setup(e, { emit: t }) {
3896
- let n = e, i = t, { t: s } = U(), c = E(Oe, null), l = E(Ce, be.liquid), d = Be(), f = [
3894
+ let n = e, i = t, { t: s } = W(), c = E(ce, null), l = E(_e, Ne.liquid), d = Ve(), f = [
3897
3895
  300,
3898
3896
  400,
3899
3897
  500
3900
- ], x = m(() => !!c), C = m(() => W(n.block.url, l)), T = m(() => {
3898
+ ], x = m(() => !!c), C = m(() => q(n.block.url, l)), T = m(() => {
3901
3899
  let e = n.block.width;
3902
3900
  return e === "full" ? "full" : f.includes(e) ? String(e) : "custom";
3903
- }), D = m(() => typeof n.block.height == "number" ? "custom" : "auto"), O = _(!1), { start: k } = gt(() => {
3901
+ }), D = m(() => typeof n.block.height == "number" ? "custom" : "auto"), O = _(!1), { start: k } = ht(() => {
3904
3902
  O.value = !1;
3905
3903
  }, 1e3, { immediate: !1 });
3906
3904
  function j(e, t) {
@@ -4069,7 +4067,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4069
4067
  class: "tpl:mb-3.5",
4070
4068
  path: "align"
4071
4069
  }, {
4072
- default: u(() => [p(Q, {
4070
+ default: u(() => [p($, {
4073
4071
  options: [
4074
4072
  {
4075
4073
  value: "left",
@@ -4100,9 +4098,9 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4100
4098
  "duplicate"
4101
4099
  ],
4102
4100
  setup(e, { emit: t }) {
4103
- let n = T(() => import("./CountdownToolbar-BprSuPJk.js")), o = e, s = t, { t: c } = U(), l = ft(), u = Pe(Ae, "Toolbar"), d = E(je, []), f = m(() => o.block.type), _ = m(() => de(o.block)), y = m(() => {
4101
+ let n = T(() => import("./CountdownToolbar-CJbPEVV5.js")), o = e, s = t, { t: c } = W(), l = dt(), u = me(ge, "Toolbar"), d = E(U, []), f = m(() => o.block.type), _ = m(() => Y(o.block)), y = m(() => {
4104
4102
  if (_.value) return d.find((e) => e.type === o.block.customType);
4105
- }), x = m(() => _.value ? y.value?.name ?? o.block.customType : ze(f.value, c)), S = m(() => $e(u.fonts.value, "fontFamily" in o.block ? o.block.fontFamily : void 0));
4103
+ }), x = m(() => _.value ? y.value?.name ?? o.block.customType : Be(f.value, c)), S = m(() => $e(u.fonts.value, "fontFamily" in o.block ? o.block.fontFamily : void 0));
4106
4104
  function C(e) {
4107
4105
  l.value && s("update", e);
4108
4106
  }
@@ -4118,7 +4116,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4118
4116
  key: 0,
4119
4117
  size: 16,
4120
4118
  "stroke-width": 1.5
4121
- })) : _.value ? (a(), w(h(Ge), {
4119
+ })) : _.value ? (a(), w(h(Fe), {
4122
4120
  key: 1,
4123
4121
  size: 16,
4124
4122
  "stroke-width": 1.5
@@ -4126,14 +4124,14 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4126
4124
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)] tpl:hover:text-[var(--tpl-text)]",
4127
4125
  title: h(c).toolbar.duplicate,
4128
4126
  onClick: o[0] ||= (e) => s("duplicate")
4129
- }, [p(h(St), {
4127
+ }, [p(h(xt), {
4130
4128
  size: 14,
4131
4129
  "stroke-width": 2
4132
4130
  })], 8, Vo), b("button", {
4133
4131
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
4134
4132
  title: h(c).toolbar.delete,
4135
4133
  onClick: o[1] ||= (e) => s("delete")
4136
- }, [p(h(mt), {
4134
+ }, [p(h(pt), {
4137
4135
  size: 14,
4138
4136
  "stroke-width": 2
4139
4137
  })], 8, Ho)])]), b("div", Uo, [_.value ? (a(), w(fi, {
@@ -4162,7 +4160,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4162
4160
  key: 5,
4163
4161
  block: e.block,
4164
4162
  onUpdate: C
4165
- }, null, 8, ["block"])) : f.value === "button" ? (a(), w(en, {
4163
+ }, null, 8, ["block"])) : f.value === "button" ? (a(), w($t, {
4166
4164
  key: 6,
4167
4165
  block: e.block,
4168
4166
  "font-families": S.value,
@@ -4205,4 +4203,4 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4205
4203
  }, null, 8, ["block", "is-first-section"])])], 8, Io)], 8, Fo));
4206
4204
  }
4207
4205
  }), Go = /* @__PURE__ */ e({ default: () => Ko }), Ko = /*#__PURE__*/ it(Wo, [["__scopeId", "data-v-206f038f"]]);
4208
- export { Ko as default, At as n, Q as r, Go as t };
4206
+ export { Ko as default, kt as n, $ as r, Go as t };