@templatical/editor 0.60.3 → 0.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. package/dist/{AiChatPanel-DPoq2Til.js → AiChatPanel-DF5TvO9H.js} +166 -166
  2. package/dist/{AiPanels-UdfhAzzu.js → AiPanels-zRqC5DIP.js} +1 -1
  3. package/dist/{AiRewriteMenu-DOreXB10.js → AiRewriteMenu-CmZKTO-O.js} +6 -6
  4. package/dist/{BlockIssueBadge-DQ_6NI4p.js → BlockIssueBadge-Bug5iqcK.js} +2 -2
  5. package/dist/{BlockPreviewCanvas-YaFum01Z.js → BlockPreviewCanvas-knSyWaCP.js} +3 -3
  6. package/dist/{CloudPanels-Bxv7vUYr.js → CloudPanels-BbHJHZri.js} +3 -3
  7. package/dist/{CollaborationNotices-PqWv0q8W.js → CollaborationNotices-BM35YG72.js} +1 -1
  8. package/dist/{CollaboratorBar-p-_PWqXW.js → CollaboratorBar-DMsEOndt.js} +1 -1
  9. package/dist/{CommentsPanel-BUo-YhSX.js → CommentsPanel-BMYvXRKK.js} +1 -1
  10. package/dist/{CommentsSidebar-D_Pz7FPz.js → CommentsSidebar-_8at1Rug.js} +139 -139
  11. package/dist/{CountdownToolbar-BQdhVNaK.js → CountdownToolbar-BprSuPJk.js} +3 -3
  12. package/dist/{IssuesPanel-C7mBrK6a.js → IssuesPanel-CeCvUfa7.js} +8 -8
  13. package/dist/{LanguageMenu-wS43Ck1x.js → LanguageMenu-CkGqLYjf.js} +124 -124
  14. package/dist/{LocaleNotices-CAvDAawJ.js → LocaleNotices-D0be8ovO.js} +10 -10
  15. package/dist/{LogicTagInsertButton-Clc3JTg_.js → LogicTagInsertButton-BzEZUTRZ.js} +3 -3
  16. package/dist/{MediaEditModal-YXOL0d_y.js → MediaEditModal-Bg-7RojG.js} +1 -1
  17. package/dist/{MediaPanels-VCv5epgs.js → MediaPanels-E9gLZ1Qb.js} +1 -1
  18. package/dist/{MergeTagInput-B5a9noTB.js → MergeTagInput-By2FSStk.js} +1 -1
  19. package/dist/{MergeTagModeToggle-D1r2aH5x.js → MergeTagModeToggle-DtjOZhoD.js} +3 -3
  20. package/dist/{MergeTagTextarea-CA9dPfMH.js → MergeTagTextarea-BjHlamJv.js} +14 -14
  21. package/dist/{ParagraphEditor-zMOqNnmx.js → ParagraphEditor-Ctu4fSsl.js} +23 -23
  22. package/dist/{RestoreVersionDialog-DdPpilBS.js → RestoreVersionDialog-DvZoTJVa.js} +3 -3
  23. package/dist/{RichTextEditorContent-gnRxu4-L.js → RichTextEditorContent-B1p7Ykq8.js} +4 -4
  24. package/dist/{SaveBlockDialog-CQzccFIM.js → SaveBlockDialog-DHfT-Tpx.js} +7 -7
  25. package/dist/{SavedBlocksBrowserModal-8cZ9z-pL.js → SavedBlocksBrowserModal-BjJuuXQv.js} +9 -9
  26. package/dist/{SavedBlocksPanels-C9Oztudc.js → SavedBlocksPanels-D6eiMQZ3.js} +1 -1
  27. package/dist/{SavedBlocksPickBar-udG0wuTf.js → SavedBlocksPickBar-BkgCDSXe.js} +2 -2
  28. package/dist/{TemplateSettings-DsaSsCC8.js → TemplateSettings-DQAbNsiS.js} +6 -6
  29. package/dist/{TestEmailModal-BP6954nj.js → TestEmailModal-m_AEa36T.js} +7 -7
  30. package/dist/{TestEmailPanel-5YlcWwPJ.js → TestEmailPanel-OApkuaVd.js} +1 -1
  31. package/dist/{TitleEditor-Cy-6WZuK.js → TitleEditor-Cwdtfk15.js} +9 -9
  32. package/dist/{Toolbar-Br0W6NE0.js → Toolbar-D_T55elL.js} +358 -358
  33. package/dist/{TplModal-DnytM7wO.js → TplModal-2MKm5y6r.js} +1 -1
  34. package/dist/{VersionHistoryMenu-D-RCk3oB.js → VersionHistoryMenu-B3-xJ7GO.js} +5 -5
  35. package/dist/{VersionHistoryPanels-DIqWP71K.js → VersionHistoryPanels-CCM0IQBg.js} +1 -1
  36. package/dist/{VersionPreviewBanner-DMg2sw3V.js → VersionPreviewBanner-DLAB4ZbS.js} +1 -1
  37. package/dist/{WrapperBlock-DoNQX0Ml.js → WrapperBlock-BZl10HLy.js} +2 -2
  38. package/dist/{blockTypeIcons-BePGuX0b.js → blockTypeIcons-C691ZY1l.js} +3 -3
  39. package/dist/bundle-stats.json +6 -6
  40. package/dist/cdn/chunks/{AiChatPanel-cIT2haLo.js → AiChatPanel-BYAsgmoC.js} +146 -146
  41. package/dist/cdn/chunks/AiChatPanel-BYAsgmoC.js.map +1 -0
  42. package/dist/cdn/chunks/{AiPanels-B4GG8w3J.js → AiPanels-MY_YPls8.js} +2 -2
  43. package/dist/cdn/chunks/{AiPanels-B4GG8w3J.js.map → AiPanels-MY_YPls8.js.map} +1 -1
  44. package/dist/cdn/chunks/{AiRewriteMenu-BqwwNUzj.js → AiRewriteMenu-BSePiXe_.js} +4 -4
  45. package/dist/cdn/chunks/{AiRewriteMenu-BqwwNUzj.js.map → AiRewriteMenu-BSePiXe_.js.map} +1 -1
  46. package/dist/cdn/chunks/{BlockIssueBadge-C50pmOMZ.js → BlockIssueBadge-fYeNnepj.js} +2 -2
  47. package/dist/cdn/chunks/{BlockIssueBadge-C50pmOMZ.js.map → BlockIssueBadge-fYeNnepj.js.map} +1 -1
  48. package/dist/cdn/chunks/{BlockPreviewCanvas-T13OIi1f.js → BlockPreviewCanvas-B153A3hu.js} +4 -4
  49. package/dist/cdn/chunks/{BlockPreviewCanvas-T13OIi1f.js.map → BlockPreviewCanvas-B153A3hu.js.map} +1 -1
  50. package/dist/cdn/chunks/{CloudPanels-DDNWZ7ET.js → CloudPanels-Bv26_Sd8.js} +3 -3
  51. package/dist/cdn/chunks/{CloudPanels-DDNWZ7ET.js.map → CloudPanels-Bv26_Sd8.js.map} +1 -1
  52. package/dist/cdn/chunks/{CollaborationNotices-CTmjjbHv.js → CollaborationNotices-COkmBmps.js} +2 -2
  53. package/dist/cdn/chunks/{CollaborationNotices-CTmjjbHv.js.map → CollaborationNotices-COkmBmps.js.map} +1 -1
  54. package/dist/cdn/chunks/{CollaboratorBar-CzHjawjF.js → CollaboratorBar-BSzI8YIU.js} +2 -2
  55. package/dist/cdn/chunks/{CollaboratorBar-CzHjawjF.js.map → CollaboratorBar-BSzI8YIU.js.map} +1 -1
  56. package/dist/cdn/chunks/{CommentsPanel-Dh0_eRBe.js → CommentsPanel-R27fqh9O.js} +2 -2
  57. package/dist/cdn/chunks/{CommentsPanel-Dh0_eRBe.js.map → CommentsPanel-R27fqh9O.js.map} +1 -1
  58. package/dist/cdn/chunks/{CommentsSidebar-JxZ-O2mY.js → CommentsSidebar-BEiOQ_zT.js} +133 -133
  59. package/dist/cdn/chunks/CommentsSidebar-BEiOQ_zT.js.map +1 -0
  60. package/dist/cdn/chunks/{CountdownToolbar-D16RWxkh.js → CountdownToolbar-DOhXnbsq.js} +4 -4
  61. package/dist/cdn/chunks/{CountdownToolbar-D16RWxkh.js.map → CountdownToolbar-DOhXnbsq.js.map} +1 -1
  62. package/dist/cdn/chunks/{IssuesPanel-BtAn12hl.js → IssuesPanel-DgxiS3hF.js} +2 -2
  63. package/dist/cdn/chunks/{IssuesPanel-BtAn12hl.js.map → IssuesPanel-DgxiS3hF.js.map} +1 -1
  64. package/dist/cdn/chunks/{LanguageMenu-D71nO6LO.js → LanguageMenu-B6kt8SgX.js} +105 -105
  65. package/dist/cdn/chunks/LanguageMenu-B6kt8SgX.js.map +1 -0
  66. package/dist/cdn/chunks/{LocaleNotices-CzrNKR-N.js → LocaleNotices-Bleg4gTu.js} +10 -10
  67. package/dist/cdn/chunks/LocaleNotices-Bleg4gTu.js.map +1 -0
  68. package/dist/cdn/chunks/{LogicTagInsertButton-B4wuPoMa.js → LogicTagInsertButton-DGg1Wvhp.js} +2 -2
  69. package/dist/cdn/chunks/{LogicTagInsertButton-B4wuPoMa.js.map → LogicTagInsertButton-DGg1Wvhp.js.map} +1 -1
  70. package/dist/cdn/chunks/{MediaEditModal-DJ2wxInt.js → MediaEditModal-BQO6ggJK.js} +2 -2
  71. package/dist/cdn/chunks/{MediaEditModal-DJ2wxInt.js.map → MediaEditModal-BQO6ggJK.js.map} +1 -1
  72. package/dist/cdn/chunks/{MediaPanels-BJawNjr9.js → MediaPanels-Ciahwsyt.js} +2 -2
  73. package/dist/cdn/chunks/{MediaPanels-BJawNjr9.js.map → MediaPanels-Ciahwsyt.js.map} +1 -1
  74. package/dist/cdn/chunks/{MergeTagInput-DZD-p4nR.js → MergeTagInput-BVfTwujW.js} +2 -2
  75. package/dist/cdn/chunks/{MergeTagInput-DZD-p4nR.js.map → MergeTagInput-BVfTwujW.js.map} +1 -1
  76. package/dist/cdn/chunks/{MergeTagModeToggle-DGuJCgqO.js → MergeTagModeToggle-BoI0C1Y6.js} +2 -2
  77. package/dist/cdn/chunks/{MergeTagModeToggle-DGuJCgqO.js.map → MergeTagModeToggle-BoI0C1Y6.js.map} +1 -1
  78. package/dist/cdn/chunks/{MergeTagTextarea-BRiaRBr_.js → MergeTagTextarea-DGDv-pdn.js} +15 -15
  79. package/dist/cdn/chunks/MergeTagTextarea-DGDv-pdn.js.map +1 -0
  80. package/dist/cdn/chunks/{ParagraphEditor-BClN3WxA.js → ParagraphEditor-D0q36Myd.js} +24 -24
  81. package/dist/cdn/chunks/{ParagraphEditor-BClN3WxA.js.map → ParagraphEditor-D0q36Myd.js.map} +1 -1
  82. package/dist/cdn/chunks/{RestoreVersionDialog-CVfKIT1K.js → RestoreVersionDialog-CJggFdbi.js} +3 -3
  83. package/dist/cdn/chunks/{RestoreVersionDialog-CVfKIT1K.js.map → RestoreVersionDialog-CJggFdbi.js.map} +1 -1
  84. package/dist/cdn/chunks/{RichTextEditorContent-CtV0Q0SO.js → RichTextEditorContent-D3ihUF8v.js} +4 -4
  85. package/dist/cdn/chunks/{RichTextEditorContent-CtV0Q0SO.js.map → RichTextEditorContent-D3ihUF8v.js.map} +1 -1
  86. package/dist/cdn/chunks/{SaveBlockDialog-Cy6mI_xB.js → SaveBlockDialog-BzES5tqd.js} +6 -6
  87. package/dist/cdn/chunks/{SaveBlockDialog-Cy6mI_xB.js.map → SaveBlockDialog-BzES5tqd.js.map} +1 -1
  88. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DW917QDB.js → SavedBlocksBrowserModal-CLNcZcLd.js} +6 -6
  89. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DW917QDB.js.map → SavedBlocksBrowserModal-CLNcZcLd.js.map} +1 -1
  90. package/dist/cdn/chunks/{SavedBlocksPanels-Cyzerpxs.js → SavedBlocksPanels-R0W9LElD.js} +2 -2
  91. package/dist/cdn/chunks/{SavedBlocksPanels-Cyzerpxs.js.map → SavedBlocksPanels-R0W9LElD.js.map} +1 -1
  92. package/dist/cdn/chunks/{SavedBlocksPickBar-D6n86773.js → SavedBlocksPickBar-JNi5Rx4V.js} +3 -3
  93. package/dist/cdn/chunks/{SavedBlocksPickBar-D6n86773.js.map → SavedBlocksPickBar-JNi5Rx4V.js.map} +1 -1
  94. package/dist/cdn/chunks/{TemplateSettings--_ZfbhnU.js → TemplateSettings-C5wsNcgX.js} +4 -4
  95. package/dist/cdn/chunks/{TemplateSettings--_ZfbhnU.js.map → TemplateSettings-C5wsNcgX.js.map} +1 -1
  96. package/dist/cdn/chunks/{TestEmailModal-V_UFUIaf.js → TestEmailModal-BxIAwjww.js} +6 -6
  97. package/dist/cdn/chunks/{TestEmailModal-V_UFUIaf.js.map → TestEmailModal-BxIAwjww.js.map} +1 -1
  98. package/dist/cdn/chunks/{TestEmailPanel-CBfqsO2u.js → TestEmailPanel-B8BsWXjE.js} +2 -2
  99. package/dist/cdn/chunks/{TestEmailPanel-CBfqsO2u.js.map → TestEmailPanel-B8BsWXjE.js.map} +1 -1
  100. package/dist/cdn/chunks/{TitleEditor-CimWOQVn.js → TitleEditor-DhcI1aRS.js} +8 -8
  101. package/dist/cdn/chunks/{TitleEditor-CimWOQVn.js.map → TitleEditor-DhcI1aRS.js.map} +1 -1
  102. package/dist/cdn/chunks/{Toolbar-czJfutfE.js → Toolbar-Ch3h2BUs.js} +202 -202
  103. package/dist/cdn/chunks/Toolbar-Ch3h2BUs.js.map +1 -0
  104. package/dist/cdn/chunks/{TplModal-BtJJ5-En.js → TplModal-CPOqOxVf.js} +2 -2
  105. package/dist/cdn/chunks/{TplModal-BtJJ5-En.js.map → TplModal-CPOqOxVf.js.map} +1 -1
  106. package/dist/cdn/chunks/{VersionHistoryMenu-CVGlUPwS.js → VersionHistoryMenu-DTDO48HI.js} +2 -2
  107. package/dist/cdn/chunks/{VersionHistoryMenu-CVGlUPwS.js.map → VersionHistoryMenu-DTDO48HI.js.map} +1 -1
  108. package/dist/cdn/chunks/{VersionHistoryPanels-BS0USHsp.js → VersionHistoryPanels-CVrXHYxT.js} +2 -2
  109. package/dist/cdn/chunks/{VersionHistoryPanels-BS0USHsp.js.map → VersionHistoryPanels-CVrXHYxT.js.map} +1 -1
  110. package/dist/cdn/chunks/{VersionPreviewBanner-5RFz4AQx.js → VersionPreviewBanner-C1H_fYAr.js} +2 -2
  111. package/dist/cdn/chunks/{VersionPreviewBanner-5RFz4AQx.js.map → VersionPreviewBanner-C1H_fYAr.js.map} +1 -1
  112. package/dist/cdn/chunks/{WrapperBlock-CSjYFYUT.js → WrapperBlock-B8SJ7Q4w.js} +3 -3
  113. package/dist/cdn/chunks/{WrapperBlock-CSjYFYUT.js.map → WrapperBlock-B8SJ7Q4w.js.map} +1 -1
  114. package/dist/cdn/chunks/{blockTypeIcons-BOonB9gK.js → blockTypeIcons-ZKw-Eiu0.js} +2 -2
  115. package/dist/cdn/chunks/{blockTypeIcons-BOonB9gK.js.map → blockTypeIcons-ZKw-Eiu0.js.map} +1 -1
  116. package/dist/cdn/chunks/{composables-BHsV8gkq.js → composables-CKXPwWo9.js} +152 -152
  117. package/dist/cdn/chunks/composables-CKXPwWo9.js.map +1 -0
  118. package/dist/cdn/chunks/dompurify-BflADeuH.js +850 -0
  119. package/dist/cdn/chunks/dompurify-BflADeuH.js.map +1 -0
  120. package/dist/cdn/chunks/{editor-modal-BVM_0uoL.js → editor-modal-BlSmX9Ch.js} +4 -4
  121. package/dist/cdn/chunks/{editor-modal-BVM_0uoL.js.map → editor-modal-BlSmX9Ch.js.map} +1 -1
  122. package/dist/cdn/chunks/en-jObtIVCp.js +1 -0
  123. package/dist/cdn/chunks/{extensions-BeGvJ6f0.js → extensions-Bq9nXmBP.js} +3 -3
  124. package/dist/cdn/chunks/{extensions-BeGvJ6f0.js.map → extensions-Bq9nXmBP.js.map} +1 -1
  125. package/dist/cdn/chunks/{icons-CWEBTtbR.js → icons-DdVB-5WO.js} +28 -28
  126. package/dist/cdn/chunks/{icons-CWEBTtbR.js.map → icons-DdVB-5WO.js.map} +1 -1
  127. package/dist/cdn/chunks/keys-ywH4jHJ2.js.map +1 -1
  128. package/dist/cdn/chunks/{sanitizeHtml-Db0S2JVP.js → sanitizeHtml-Plkmw1Qt.js} +2 -2
  129. package/dist/cdn/chunks/{sanitizeHtml-Db0S2JVP.js.map → sanitizeHtml-Plkmw1Qt.js.map} +1 -1
  130. package/dist/cdn/chunks/{socialIcons-DMelHF3p.js → socialIcons-CSe4YJ52.js} +2 -2
  131. package/dist/cdn/chunks/{socialIcons-DMelHF3p.js.map → socialIcons-CSe4YJ52.js.map} +1 -1
  132. package/dist/cdn/chunks/{src-B32tyank.js → src-Bk1LF1np.js} +16 -14
  133. package/dist/cdn/chunks/src-Bk1LF1np.js.map +1 -0
  134. package/dist/cdn/chunks/{tiptap-LIEsAVOF.js → tiptap-DDhueoan.js} +15 -7
  135. package/dist/cdn/chunks/{tiptap-LIEsAVOF.js.map → tiptap-DDhueoan.js.map} +1 -1
  136. package/dist/cdn/chunks/useLanguageName-DDhdVpqh.js +41 -0
  137. package/dist/cdn/chunks/useLanguageName-DDhdVpqh.js.map +1 -0
  138. package/dist/cdn/editor.css +1 -1
  139. package/dist/cdn/editor.js +64 -62
  140. package/dist/cdn/editor.js.map +1 -1
  141. package/dist/{check-C82yyyf1.js → check-8ZykoWzl.js} +1 -1
  142. package/dist/{chevron-down-BaBVjNbM.js → chevron-down-D_CUJHwi.js} +1 -1
  143. package/dist/{chevron-right-DkS-bw8X.js → chevron-right-B2WYkQtG.js} +1 -1
  144. package/dist/{chevron-up-C1KzUIK4.js → chevron-up-L-H27use.js} +1 -1
  145. package/dist/{circle-exclamation-point-DsmqtTUQ.js → circle-exclamation-point-BCx1tR91.js} +1 -1
  146. package/dist/{clock-dpIs7vo0.js → clock-DOOnNINY.js} +1 -1
  147. package/dist/{composables-DG_CMpuY.js → composables-26aR45W3.js} +1222 -1222
  148. package/dist/{createLucideIcon-BSam2AUu.js → createLucideIcon-BKeRiObH.js} +5 -5
  149. package/dist/{dist-CRcnmuxb.js → dist-B1bGGOA0.js} +2 -2
  150. package/dist/{dist-DRbuXmjl.js → dist-C3ZVR_pd.js} +2 -2
  151. package/dist/{dist-BvNveHdP.js → dist-C8aVVj28.js} +2 -2
  152. package/dist/dist-CTzstDyz.js +4 -0
  153. package/dist/{dist-xc8l1i2C.js → dist-CcxrHURm.js} +786 -778
  154. package/dist/{dist-LrtNpIZD.js → dist-D41-1sSL.js} +6 -6
  155. package/dist/{dist-BKFfCbrD.js → dist-DRJhbfT9.js} +2 -2
  156. package/dist/{dist-DCGVHlXC.js → dist-DkQutATU.js} +2 -2
  157. package/dist/{dist-BMULQVZF.js → dist-DyrUc7rM.js} +2 -2
  158. package/dist/{dist-CiOtB5na.js → dist-p_84-Inl.js} +2 -2
  159. package/dist/{dist-Bsg1RBUb.js → dist-tG9_FTOs.js} +2 -2
  160. package/dist/dist-zQ8L1LNg.js +4 -0
  161. package/dist/{editor-modal-odubnc9x.js → editor-modal-CRtEWHbQ.js} +15 -15
  162. package/dist/en-CMswCXqE.js +1 -0
  163. package/dist/{extensions-Cao-H_tB.js → extensions-zHf8YFRw.js} +4 -4
  164. package/dist/{eye-CxCHEszj.js → eye-BjZOVab7.js} +1 -1
  165. package/dist/{image-DvXPzqNd.js → image-g47lDP0J.js} +1 -1
  166. package/dist/index.d.ts +5 -1
  167. package/dist/{info-2KHWaZ2L.js → info-DXij4QjB.js} +1 -1
  168. package/dist/{link-_OmrcJMv.js → link-BFJF0mWz.js} +1 -1
  169. package/dist/{list-Dekd7JE8.js → list-Cso9vnLq.js} +1 -1
  170. package/dist/{loader-circle-D_hT5mFS.js → loader-circle-uLY01591.js} +1 -1
  171. package/dist/{message-circle-DDbiG-jz.js → message-circle-amY03UMa.js} +1 -1
  172. package/dist/{package-cORUe57D.js → package-DnjoSQa1.js} +1 -1
  173. package/dist/{pencil-D67H4fxq.js → pencil-D1HBG4pb.js} +1 -1
  174. package/dist/{plus-BpTZAx28.js → plus-PzFvtj-Z.js} +1 -1
  175. package/dist/{refresh-cw-B4T0IFwI.js → refresh-cw-BPDv-S-4.js} +1 -1
  176. package/dist/{rotate-ccw-BDQgjpuo.js → rotate-ccw-DQZVEj1V.js} +1 -1
  177. package/dist/sanitizeHtml-DxmFirMi.js +945 -0
  178. package/dist/{search-Dp9pkaVt.js → search-BUBeKVdD.js} +1 -1
  179. package/dist/{send-DO9GhgCH.js → send-BJEuoIc2.js} +1 -1
  180. package/dist/{smartphone-CPW3I3hV.js → smartphone-DZ5xyNU4.js} +1 -1
  181. package/dist/{socialIcons-DXOO2y7u.js → socialIcons-mWE33bOn.js} +3 -3
  182. package/dist/{sparkles-CIBjNfij.js → sparkles-zWGR8hrs.js} +1 -1
  183. package/dist/{square-3W65qrrH.js → square--3H462TJ.js} +1 -1
  184. package/dist/style.css +1 -1
  185. package/dist/templatical-editor.js +78 -76
  186. package/dist/{text-align-start-Bs70tpRU.js → text-align-start-B5Dx2Ylg.js} +13 -13
  187. package/dist/{trash-CTzhAm1o.js → trash-CJsobpw0.js} +1 -1
  188. package/dist/{triangle-exclamation-point-D_13CuJY.js → triangle-exclamation-point-Bi7ZKTZU.js} +1 -1
  189. package/dist/{upload-DFxkP9MI.js → upload-DZ_-FNJ4.js} +1 -1
  190. package/dist/useLanguageName-CEFzafHB.js +39 -0
  191. package/dist/{useScrollToBlock-194ePl4q.js → useScrollToBlock-eZXiGa8o.js} +1 -1
  192. package/dist/{x-D7L8mLHJ.js → x-CuyPLm0U.js} +1 -1
  193. package/package.json +24 -24
  194. package/dist/cdn/chunks/AiChatPanel-cIT2haLo.js.map +0 -1
  195. package/dist/cdn/chunks/CommentsSidebar-JxZ-O2mY.js.map +0 -1
  196. package/dist/cdn/chunks/LanguageMenu-D71nO6LO.js.map +0 -1
  197. package/dist/cdn/chunks/LocaleNotices-CzrNKR-N.js.map +0 -1
  198. package/dist/cdn/chunks/MergeTagTextarea-BRiaRBr_.js.map +0 -1
  199. package/dist/cdn/chunks/Toolbar-czJfutfE.js.map +0 -1
  200. package/dist/cdn/chunks/composables-BHsV8gkq.js.map +0 -1
  201. package/dist/cdn/chunks/dompurify-JVtr5-B1.js +0 -872
  202. package/dist/cdn/chunks/dompurify-JVtr5-B1.js.map +0 -1
  203. package/dist/cdn/chunks/en-DlDEofnd.js +0 -1
  204. package/dist/cdn/chunks/languageName-DEEOhDWI.js +0 -12
  205. package/dist/cdn/chunks/languageName-DEEOhDWI.js.map +0 -1
  206. package/dist/cdn/chunks/src-B32tyank.js.map +0 -1
  207. package/dist/dist-BnPPgVlu.js +0 -4
  208. package/dist/dist-zAzcxDCA.js +0 -4
  209. package/dist/en-CAImT1hl.js +0 -1
  210. package/dist/languageName-DEEOhDWI.js +0 -10
  211. package/dist/sanitizeHtml-Ru5_-IbM.js +0 -973
@@ -1,24 +1,24 @@
1
1
  import { n as e } from "./rolldown-runtime-QGRDbDUS.js";
2
2
  import { $ as t, B as n, C as r, F as i, G as a, H as o, K as s, L as c, O as l, Q as u, R as d, S as f, _ as p, b as m, ct as h, dt as g, g as _, h as v, it as y, m as b, mt as x, o as S, p as C, pt as w, s as T, tt as E, u as D, v as O, x as k } from "./draggable-IRVFEZ-b.js";
3
- import { n as A, t as j } from "./MergeTagTextarea-BRiaRBr_.js";
4
- import { c as M } from "./LogicTagInsertButton-B4wuPoMa.js";
5
- import { t as N } from "./MergeTagInput-DZD-p4nR.js";
3
+ import { n as A, t as j } from "./MergeTagTextarea-DGDv-pdn.js";
4
+ import { c as M } from "./LogicTagInsertButton-DGg1Wvhp.js";
5
+ import { t as N } from "./MergeTagInput-BVfTwujW.js";
6
6
  import { t as P } from "./ToggleSwitch-C0w0srN_.js";
7
7
  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";
8
- import { $ as re, At as ie, Bt as ae, Ft as oe, H as U, Mt as se, O as ce, R as le, _ as ue, _t as de, c as fe, et as W, f as G, gt as K, h as q, it as J, lt as Y, rt as X, t as pe, v as Z } from "./icons-CWEBTtbR.js";
9
- import { t as Q } from "./useI18n-DPg6rPbu.js";
10
- import { Bt as me, Cn as he, Dn as ge, H as _e, Ht as ve, I as ye, Jt as be, Mn as xe, Nn as Se, Sn as Ce, Ut as we, Vt as Te, W as Ee, Wt as De, Yt as Oe, bn as ke, g as Ae, kn as je, qt as Me, tn as Ne, wn as Pe, xn as Fe, yt as Ie } from "./src-A0kzK-pR.js";
8
+ import { $ as re, At as ie, Bt as ae, Ft as oe, H as U, Mt as se, O as ce, R as le, _ as ue, _t as de, c as fe, et as pe, f as W, gt as me, h as G, it as K, lt as q, rt as J, t as Y, v as he } from "./icons-DdVB-5WO.js";
9
+ import { t as X } from "./useI18n-DPg6rPbu.js";
10
+ import { Bt as ge, Cn as _e, Dn as ve, H as ye, Ht as be, I as Z, Jt as xe, Mn as Se, Nn as Ce, Sn as we, Ut as Te, Vt as Ee, W as Q, Wt as De, Yt as Oe, bn as ke, g as Ae, kn as je, qt as Me, tn as Ne, wn as Pe, xn as Fe, yt as Ie } from "./src-A0kzK-pR.js";
11
11
  import { n as Le } from "./useLocalizedDisplay-Brdkp3KH.js";
12
12
  import { $ as Re, B as ze, C as Be, H as Ve, O as He, T as Ue, W as We, _ as Ge, b as Ke, h as qe, p as Je, r as Ye, ut as Xe, v as Ze } from "./keys-ywH4jHJ2.js";
13
- import { F as Qe, T as $e, _ as et, b as tt, d as nt, f as rt, g as it, h as at, i as ot, l as st, m as ct, p as lt, r as ut, s as dt, u as ft, v as pt } from "./socialIcons-DMelHF3p.js";
13
+ import { F as Qe, T as $e, _ as et, b as tt, d as nt, f as rt, g as it, h as at, i as ot, l as st, m as ct, p as lt, r as ut, s as dt, u as ft, v as pt } from "./socialIcons-CSe4YJ52.js";
14
14
  import { n as mt, t as ht } from "./withCurrentFont-C4pIesdB.js";
15
- import { t as gt } from "./languageName-DEEOhDWI.js";
15
+ import { t as gt } from "./useLanguageName-DDhdVpqh.js";
16
16
  import { t as _t } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
17
17
  import { t as vt } from "./logger-CqQTfJGx.js";
18
18
  import { c as yt, r as bt } from "./usePopoverPosition-CBp9uwjV.js";
19
19
  import { _ as xt } from "./dist-BtWMy7UQ.js";
20
20
  import { t as St } from "./useMergeTag-Dwy3U0PI.js";
21
- import { t as Ct } from "./blockTypeIcons-BOonB9gK.js";
21
+ import { t as Ct } from "./blockTypeIcons-ZKw-Eiu0.js";
22
22
  // src/components/SlidingPillSelect.vue?vue&type=script&setup=true&lang.ts
23
23
  var wt = [
24
24
  "aria-checked",
@@ -129,7 +129,7 @@ var wt = [
129
129
  title: e.linked ? e.unlinkLabel : e.linkLabel,
130
130
  "data-testid": e.testid,
131
131
  onClick: r[0] ||= (e) => n("toggle")
132
- }, [e.linked ? (i(), v(h(Y), {
132
+ }, [e.linked ? (i(), v(h(q), {
133
133
  key: 0,
134
134
  size: 14,
135
135
  "stroke-width": 2
@@ -151,7 +151,7 @@ var wt = [
151
151
  },
152
152
  emits: ["update:modelValue"],
153
153
  setup(e, { emit: t }) {
154
- let n = e, r = t, { t: s } = Q(), c = {
154
+ let n = e, r = t, { t: s } = X(), c = {
155
155
  width: 0,
156
156
  style: "solid",
157
157
  color: "#000000"
@@ -169,11 +169,11 @@ var wt = [
169
169
  let f = E("top"), m = C(() => n.modelValue?.[d.value ? "top" : f.value] ?? c), y = (e) => !!e && e.width > 0;
170
170
  function S(e) {
171
171
  if (d.value) {
172
- r("update:modelValue", y(e) ? Se(e) : void 0);
172
+ r("update:modelValue", y(e) ? Ce(e) : void 0);
173
173
  return;
174
174
  }
175
175
  let t = {
176
- ...n.modelValue ?? Se(c),
176
+ ...n.modelValue ?? Ce(c),
177
177
  [f.value]: e
178
178
  }, i = Pe.some((e) => y(t[e]));
179
179
  r("update:modelValue", i ? t : void 0);
@@ -199,7 +199,7 @@ var wt = [
199
199
  let e = n.modelValue;
200
200
  if (!e) return;
201
201
  let t = y(e[f.value]) ? e[f.value] : Pe.map((t) => e[t]).find(y);
202
- r("update:modelValue", t ? Se(t) : void 0);
202
+ r("update:modelValue", t ? Ce(t) : void 0);
203
203
  }
204
204
  let j = C(() => Pe.map((e) => ({
205
205
  value: e,
@@ -273,7 +273,7 @@ var wt = [
273
273
  },
274
274
  emits: ["update:modelValue"],
275
275
  setup(e, { emit: t }) {
276
- let n = e, r = t, { t: s } = Q(), l = {
276
+ let n = e, r = t, { t: s } = X(), l = {
277
277
  topLeft: "cornerTopLeft",
278
278
  topRight: "cornerTopRight",
279
279
  bottomRight: "cornerBottomRight",
@@ -291,7 +291,7 @@ var wt = [
291
291
  bottomRight: e,
292
292
  bottomLeft: e
293
293
  } : e;
294
- }), f = C(() => he.every((e) => d.value[e] === d.value.topLeft)), m = E(f.value);
294
+ }), f = C(() => _e.every((e) => d.value[e] === d.value.topLeft)), m = E(f.value);
295
295
  o(f, (e) => {
296
296
  !e && m.value && (m.value = !1);
297
297
  });
@@ -369,7 +369,7 @@ var wt = [
369
369
  },
370
370
  emits: ["update"],
371
371
  setup(e, { emit: t }) {
372
- let n = e, r = t, { t: o } = Q(), s = l(Ze, null), u = s ? Le(s) : null, d = l(Ue, null), f = C(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" || Fe(n.block.width) !== null ? "custom" : "auto"), m = C(() => Fe(n.block.width) === null ? "px" : "%"), y = C(() => typeof n.block.width == "number" ? n.block.width : String(n.block.width).slice(0, -1)), S = C(() => u ? ot(u.content.value, n.block.id, d ?? void 0) : null);
372
+ let n = e, r = t, { t: o } = X(), s = l(Ze, null), u = s ? Le(s) : null, d = l(Ue, null), f = C(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" || Fe(n.block.width) !== null ? "custom" : "auto"), m = C(() => Fe(n.block.width) === null ? "px" : "%"), y = C(() => typeof n.block.width == "number" ? n.block.width : String(n.block.width).slice(0, -1)), S = C(() => u ? ot(u.content.value, n.block.id, d ?? void 0) : null);
373
373
  function w(e, t) {
374
374
  r("update", { [e]: t });
375
375
  }
@@ -631,7 +631,7 @@ var wt = [
631
631
  },
632
632
  emits: ["update:modelValue"],
633
633
  setup(e, { emit: t }) {
634
- let n = e, r = t, { t: s } = Q(), c = C(() => n.modelValue.top === n.modelValue.right && n.modelValue.right === n.modelValue.bottom && n.modelValue.bottom === n.modelValue.left), l = E(c.value);
634
+ let n = e, r = t, { t: s } = X(), c = C(() => n.modelValue.top === n.modelValue.right && n.modelValue.right === n.modelValue.bottom && n.modelValue.bottom === n.modelValue.left), l = E(c.value);
635
635
  o(c, (e) => {
636
636
  !e && l.value && (l.value = !1);
637
637
  });
@@ -681,7 +681,7 @@ var wt = [
681
681
  "aria-label": h(s).spacingControl.decreaseTop,
682
682
  class: g([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
683
683
  onClick: n[0] ||= (e) => u("top", -1)
684
- }, [k(h(W), {
684
+ }, [k(h(pe), {
685
685
  size: 12,
686
686
  "stroke-width": 2
687
687
  })], 10, tn),
@@ -708,7 +708,7 @@ var wt = [
708
708
  "aria-label": h(s).spacingControl.decreaseLeft,
709
709
  class: g([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
710
710
  onClick: n[3] ||= (e) => u("left", -1)
711
- }, [k(h(W), {
711
+ }, [k(h(pe), {
712
712
  size: 12,
713
713
  "stroke-width": 2
714
714
  })], 10, sn),
@@ -734,11 +734,11 @@ var wt = [
734
734
  "aria-label": l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
735
735
  title: l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
736
736
  onClick: f
737
- }, [l.value ? (i(), v(h(X), {
737
+ }, [l.value ? (i(), v(h(J), {
738
738
  key: 0,
739
739
  size: 14,
740
740
  "stroke-width": 2
741
- })) : (i(), v(h(J), {
741
+ })) : (i(), v(h(K), {
742
742
  key: 1,
743
743
  size: 14,
744
744
  "stroke-width": 2
@@ -748,7 +748,7 @@ var wt = [
748
748
  "aria-label": h(s).spacingControl.decreaseRight,
749
749
  class: g([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
750
750
  onClick: n[6] ||= (e) => u("right", -1)
751
- }, [k(h(W), {
751
+ }, [k(h(pe), {
752
752
  size: 12,
753
753
  "stroke-width": 2
754
754
  })], 10, fn),
@@ -775,7 +775,7 @@ var wt = [
775
775
  "aria-label": h(s).spacingControl.decreaseBottom,
776
776
  class: g([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
777
777
  onClick: n[9] ||= (e) => u("bottom", -1)
778
- }, [k(h(W), {
778
+ }, [k(h(pe), {
779
779
  size: 12,
780
780
  "stroke-width": 2
781
781
  })], 10, gn),
@@ -842,10 +842,10 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
842
842
  },
843
843
  emits: ["update:modelValue"],
844
844
  setup(e, { emit: t }) {
845
- let n = e, r = t, { t: a } = Q(), o = l(ze, _e.liquid), s = C(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = C(() => s.value.trim() !== ""), f = Cn(), y;
845
+ let n = e, r = t, { t: a } = X(), o = l(ze, ye.liquid), s = C(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = C(() => s.value.trim() !== ""), f = Cn(), y;
846
846
  u(() => clearTimeout(y));
847
847
  function S(e) {
848
- n.measure && !Ee(e, o) && (y = setTimeout(async () => {
848
+ n.measure && !Q(e, o) && (y = setTimeout(async () => {
849
849
  let t = await f(e), i = n.modelValue;
850
850
  t && i?.url === e && r("update:modelValue", {
851
851
  ...i,
@@ -894,7 +894,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
894
894
  "bottom-left": a.blockSettings.backgroundPositionBottomLeft,
895
895
  "bottom-center": a.blockSettings.backgroundPositionBottomCenter,
896
896
  "bottom-right": a.blockSettings.backgroundPositionBottomRight
897
- })), j = C(() => we.flatMap((e) => ve.map((t) => ({
897
+ })), j = C(() => Te.flatMap((e) => be.map((t) => ({
898
898
  x: t,
899
899
  y: e,
900
900
  label: A.value[`${e}-${t}`]
@@ -905,7 +905,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
905
905
  let F = E(), { canBrowse: I, isUploading: L, showOverlay: ee, openMediaBrowser: R } = ft({
906
906
  target: F,
907
907
  value: s,
908
- blocked: () => Ee(s.value, o),
908
+ blocked: () => Q(s.value, o),
909
909
  apply: (e) => w(e.url, et(e.width, e.height))
910
910
  });
911
911
  return (t, n) => (i(), p("div", Tn, [b("div", null, [e.hideLabel ? _("", !0) : (i(), p("label", {
@@ -1029,7 +1029,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
1029
1029
  function n(e) {
1030
1030
  return typeof e == "number" && Number.isFinite(e) && e >= 1;
1031
1031
  }
1032
- let r = e, a = t, { t: o } = Q(), s = l(ze, _e.liquid), c = l(Ze, null), u = l(Ue, void 0), d = Cn(), f = C(() => typeof r.section.backgroundImage?.url == "string" ? r.section.backgroundImage.url : ""), m = C(() => f.value.trim() !== ""), y = C(() => Ee(f.value, s)), S = C(() => r.section.hero), w = C(() => r.section.columns === "1"), T = C(() => S.value ? n(S.value.height) ? "fixed" : "image" : "fit"), E = C(() => n(S.value?.height) ? S.value.height : Hn), D = C(() => [
1032
+ let r = e, a = t, { t: o } = X(), s = l(ze, ye.liquid), c = l(Ze, null), u = l(Ue, void 0), d = Cn(), f = C(() => typeof r.section.backgroundImage?.url == "string" ? r.section.backgroundImage.url : ""), m = C(() => f.value.trim() !== ""), y = C(() => Q(f.value, s)), S = C(() => r.section.hero), w = C(() => r.section.columns === "1"), T = C(() => S.value ? n(S.value.height) ? "fixed" : "image" : "fit"), E = C(() => n(S.value?.height) ? S.value.height : Hn), D = C(() => [
1033
1033
  {
1034
1034
  value: "fit",
1035
1035
  label: o.blockSettings.heroHeightFit
@@ -1056,7 +1056,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
1056
1056
  value: "bottom",
1057
1057
  label: o.blockSettings.heroAlignBottom
1058
1058
  }
1059
- ]), A = C(() => T.value === "image" && m.value && !y.value && me(r.section.backgroundImage) === null);
1059
+ ]), A = C(() => T.value === "image" && m.value && !y.value && ge(r.section.backgroundImage) === null);
1060
1060
  function j() {
1061
1061
  return (c ? dt(c.content.value, r.section.id, u, c.activeLocale?.value ?? void 0) : null) ?? st(c?.state.content.settings);
1062
1062
  }
@@ -1074,7 +1074,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
1074
1074
  a("update", { hero: void 0 });
1075
1075
  return;
1076
1076
  }
1077
- let n = me(r.section.backgroundImage), i = n === null ? Hn : Math.round(j() * n);
1077
+ let n = ge(r.section.backgroundImage), i = n === null ? Hn : Math.round(j() * n);
1078
1078
  a("update", { hero: {
1079
1079
  height: i,
1080
1080
  verticalAlign: t
@@ -1082,7 +1082,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
1082
1082
  }
1083
1083
  async function N() {
1084
1084
  let e = r.section.backgroundImage;
1085
- if (!e || !m.value || y.value || me(e) !== null) return;
1085
+ if (!e || !m.value || y.value || ge(e) !== null) return;
1086
1086
  let t = e.url, n = await d(t), i = r.section.backgroundImage;
1087
1087
  n && i && i.url === t && a("update", { backgroundImage: {
1088
1088
  ...i,
@@ -1148,7 +1148,7 @@ function qn(e) {
1148
1148
  return Gn(e.styles.backgroundColor) || !!e.backgroundImage;
1149
1149
  }
1150
1150
  function Jn(e) {
1151
- return e.fullWidth !== !0 || Kn(e.padding) || xe(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Wn.has(e));
1151
+ return e.fullWidth !== !0 || Kn(e.padding) || Se(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Wn.has(e));
1152
1152
  }
1153
1153
  function Yn(e, t = {}) {
1154
1154
  return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && Ae(t.layout);
@@ -1222,35 +1222,35 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1222
1222
  },
1223
1223
  emits: ["update"],
1224
1224
  setup(e, { emit: r }) {
1225
- let u = e, d = r, { t: f, format: w } = Q(), T = l(Ze, null), O = l(He, void 0), j = C(() => T?.activeLocale?.value), N = C(() => !!(j.value && T?.selectedBlock?.value?.l10n?.[j.value]?.hidden)), I = l(Ge, []), L = l(Ye, !1), R = l(Ue, void 0), z = l(Re, void 0), B = C(() => u.block.type === "section" || u.block.type === "wrapper"), te = C(() => u.block.type === "wrapper" ? u.block.fullWidth === !0 : u.block.type === "section" && u.block.wrapper?.fullWidth === !0), ne = C(() => u.block.type === "section" && Yn(u.block, {
1226
- sectionWrapper: z,
1227
- layout: R
1228
- })), V = C(() => u.block.type === "wrapper" ? "layout-wrapper-full-width" : "section-background-full-width");
1229
- function ie(e) {
1225
+ let u = e, d = r, { t: f, format: w } = X(), T = l(Ze, null), O = gt(T), j = l(He, void 0), N = C(() => T?.activeLocale?.value), I = C(() => !!(N.value && T?.selectedBlock?.value?.l10n?.[N.value]?.hidden)), L = l(Ge, []), R = l(Ye, !1), z = l(Ue, void 0), B = l(Re, void 0), te = C(() => u.block.type === "section" || u.block.type === "wrapper"), ne = C(() => u.block.type === "wrapper" ? u.block.fullWidth === !0 : u.block.type === "section" && u.block.wrapper?.fullWidth === !0), V = C(() => u.block.type === "section" && Yn(u.block, {
1226
+ sectionWrapper: B,
1227
+ layout: z
1228
+ })), ie = C(() => u.block.type === "wrapper" ? "layout-wrapper-full-width" : "section-background-full-width");
1229
+ function ae(e) {
1230
1230
  u.block.type === "wrapper" ? d("update", { fullWidth: e }) : u.block.type === "section" && d("update", Qn(u.block, e));
1231
1231
  }
1232
- let ae = C(() => u.block.type === "section" && u.block.wrapper?.fullWidth === !0), oe = C(() => ae.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), U = C(() => ae.value ? "wrapper.backgroundImage" : "backgroundImage"), se = C(() => {
1232
+ let oe = C(() => u.block.type === "section" && u.block.wrapper?.fullWidth === !0), U = C(() => oe.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), se = C(() => oe.value ? "wrapper.backgroundImage" : "backgroundImage"), le = C(() => {
1233
1233
  let e = u.block;
1234
1234
  return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundColor ?? "" : e.styles.backgroundColor ?? "";
1235
- }), le = C(() => {
1235
+ }), ue = C(() => {
1236
1236
  let e = u.block;
1237
1237
  return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundImage : e.type === "section" ? e.backgroundImage : void 0;
1238
1238
  });
1239
- function ue(e, t) {
1239
+ function de(e, t) {
1240
1240
  d("update", { wrapper: {
1241
1241
  ...e,
1242
1242
  ...t
1243
1243
  } });
1244
1244
  }
1245
- function de(e) {
1245
+ function fe(e) {
1246
1246
  let t = u.block;
1247
- t.type === "section" && t.wrapper?.fullWidth === !0 ? ue(t.wrapper, { backgroundColor: e }) : Ce("backgroundColor", e);
1247
+ t.type === "section" && t.wrapper?.fullWidth === !0 ? de(t.wrapper, { backgroundColor: e }) : Te("backgroundColor", e);
1248
1248
  }
1249
- function fe(e) {
1249
+ function pe(e) {
1250
1250
  let t = u.block;
1251
- t.type === "section" && t.wrapper?.fullWidth === !0 ? ue(t.wrapper, { backgroundImage: e }) : d("update", { backgroundImage: e });
1251
+ t.type === "section" && t.wrapper?.fullWidth === !0 ? de(t.wrapper, { backgroundImage: e }) : d("update", { backgroundImage: e });
1252
1252
  }
1253
- let W = l(Ve, null), G = nt(), K = E(!1), q = t(/* @__PURE__ */ new Set()), J = E(!1), Y = E(""), X = E(""), pe = [{
1253
+ let W = l(Ve, null), me = nt(), G = E(!1), K = t(/* @__PURE__ */ new Set()), q = E(!1), J = E(""), Y = E(""), he = [{
1254
1254
  key: "desktop",
1255
1255
  icon: re,
1256
1256
  labelKey: "showOnDesktop"
@@ -1259,49 +1259,49 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1259
1259
  icon: ce,
1260
1260
  labelKey: "showOnMobile"
1261
1261
  }];
1262
- function Z(e) {
1263
- q.has(e) ? q.delete(e) : q.add(e);
1262
+ function ge(e) {
1263
+ K.has(e) ? K.delete(e) : K.add(e);
1264
1264
  }
1265
- let me = C(() => !!W || I.length > 0 || L);
1266
- function he(e) {
1265
+ let _e = C(() => !!W || L.length > 0 || R);
1266
+ function ve(e) {
1267
1267
  if (typeof e != "object" || !e || Array.isArray(e)) return !1;
1268
1268
  let t = e;
1269
1269
  return typeof t.label == "string" && typeof t.before == "string" && typeof t.after == "string";
1270
1270
  }
1271
- function ge(e, t) {
1271
+ function ye(e, t) {
1272
1272
  let n = T?.state?.selectedBlockId;
1273
1273
  u.block.id === e && (n === void 0 || n === e) ? d("update", { displayCondition: t }) : T && T.findBlockLocation(e) && T.updateBlock(e, { displayCondition: t });
1274
1274
  }
1275
- async function _e() {
1276
- if (!W || K.value) return;
1275
+ async function be() {
1276
+ if (!W || G.value) return;
1277
1277
  let e = u.block.id, t = T?.activeLocale?.value ?? null, n = ke(y(u.block)), r = u.block.displayCondition ? ke(y(u.block.displayCondition)) : void 0;
1278
- K.value = !0;
1278
+ G.value = !0;
1279
1279
  try {
1280
1280
  let i = await W(r ? {
1281
1281
  current: r,
1282
1282
  block: n
1283
1283
  } : { block: n });
1284
- if (!G.alive || (T?.activeLocale?.value ?? null) !== t || i === null) return;
1285
- if (!he(i)) {
1284
+ if (!me.alive || (T?.activeLocale?.value ?? null) !== t || i === null) return;
1285
+ if (!ve(i)) {
1286
1286
  vt.warn("displayConditions.onRequest resolved a value without string label, before and after — ignoring it.");
1287
1287
  return;
1288
1288
  }
1289
- ge(e, ke(i));
1289
+ ye(e, ke(i));
1290
1290
  } finally {
1291
- G.alive && (K.value = !1);
1291
+ me.alive && (G.value = !1);
1292
1292
  }
1293
1293
  }
1294
- let ve = C(() => u.block.displayCondition ? !I.some((e) => e.label === u.block.displayCondition?.label) : !1);
1295
- function ye() {
1296
- J.value = !0, ve.value && u.block.displayCondition ? (Y.value = u.block.displayCondition.before, X.value = u.block.displayCondition.after ?? "") : (Y.value = "", X.value = "");
1294
+ let Z = C(() => u.block.displayCondition ? !L.some((e) => e.label === u.block.displayCondition?.label) : !1);
1295
+ function xe() {
1296
+ q.value = !0, Z.value && u.block.displayCondition ? (J.value = u.block.displayCondition.before, Y.value = u.block.displayCondition.after ?? "") : (J.value = "", Y.value = "");
1297
1297
  }
1298
- function be() {
1299
- let e = Y.value.trim(), t = X.value.trim();
1298
+ function Se() {
1299
+ let e = J.value.trim(), t = Y.value.trim();
1300
1300
  e && (d("update", { displayCondition: {
1301
1301
  label: f.blockSettings.customCondition,
1302
1302
  before: e,
1303
1303
  after: t
1304
- } }), J.value = !1, Y.value = e, X.value = t);
1304
+ } }), q.value = !1, J.value = e, Y.value = t);
1305
1305
  }
1306
1306
  o([
1307
1307
  () => T?.state?.template?.id,
@@ -1311,44 +1311,44 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1311
1311
  () => u.block.displayCondition?.after
1312
1312
  ], () => {
1313
1313
  let e = u.block.displayCondition;
1314
- !e || !ve.value ? (J.value = !1, Y.value = "", X.value = "") : (Y.value = e.before, X.value = e.after ?? "");
1314
+ !e || !Z.value ? (q.value = !1, J.value = "", Y.value = "") : (J.value = e.before, Y.value = e.after ?? "");
1315
1315
  }, { immediate: !0 });
1316
- let xe = C(() => {
1316
+ let Ce = C(() => {
1317
1317
  let e = {};
1318
- for (let t of I) {
1318
+ for (let t of L) {
1319
1319
  let n = t.group ?? "";
1320
1320
  e[n] || (e[n] = []), e[n].push(t);
1321
1321
  }
1322
1322
  return e;
1323
- }), Se = C(() => u.block.type === "section" && Te(u.block)?.applied === !0);
1324
- function Ce(e, t) {
1323
+ }), we = C(() => u.block.type === "section" && Ee(u.block)?.applied === !0);
1324
+ function Te(e, t) {
1325
1325
  d("update", { styles: {
1326
1326
  ...u.block.styles,
1327
1327
  [e]: t
1328
1328
  } });
1329
1329
  }
1330
- function we(e) {
1330
+ function Q(e) {
1331
1331
  return u.block.visibility?.[e] !== !1;
1332
1332
  }
1333
- function Ee(e) {
1333
+ function De(e) {
1334
1334
  let t = {
1335
- desktop: we("desktop"),
1336
- mobile: we("mobile")
1335
+ desktop: Q("desktop"),
1336
+ mobile: Q("mobile")
1337
1337
  };
1338
1338
  t[e] = !t[e], d("update", { visibility: t });
1339
1339
  }
1340
1340
  return (t, r) => (i(), p("div", { class: g(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
1341
1341
  k(Fn, {
1342
1342
  title: h(f).blockSettings.spacing,
1343
- open: q.has("spacing"),
1343
+ open: K.has("spacing"),
1344
1344
  "no-border": e.isFirstSection,
1345
- onToggle: r[1] ||= (e) => Z("spacing")
1345
+ onToggle: r[1] ||= (e) => ge("spacing")
1346
1346
  }, {
1347
1347
  default: a(() => [k(xn, {
1348
1348
  path: "styles.padding",
1349
1349
  label: h(f).blockSettings.padding,
1350
1350
  "model-value": e.block.styles.padding,
1351
- "onUpdate:modelValue": r[0] ||= (e) => Ce("padding", e)
1351
+ "onUpdate:modelValue": r[0] ||= (e) => Te("padding", e)
1352
1352
  }, null, 8, ["label", "model-value"])]),
1353
1353
  _: 1
1354
1354
  }, 8, [
@@ -1358,36 +1358,36 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1358
1358
  ]),
1359
1359
  k(Fn, {
1360
1360
  title: h(f).blockSettings.background,
1361
- open: q.has("bg"),
1361
+ open: K.has("bg"),
1362
1362
  "header-test-id": "block-settings-background",
1363
- onToggle: r[4] ||= (e) => Z("bg")
1363
+ onToggle: r[4] ||= (e) => ge("bg")
1364
1364
  }, {
1365
1365
  default: a(() => [
1366
1366
  k(A, {
1367
- path: oe.value,
1367
+ path: U.value,
1368
1368
  label: h(f).blockSettings.color
1369
1369
  }, {
1370
1370
  default: a(() => [k(M, {
1371
- "model-value": se.value,
1371
+ "model-value": le.value,
1372
1372
  "allow-transparent": "",
1373
- "onUpdate:modelValue": de
1373
+ "onUpdate:modelValue": fe
1374
1374
  }, null, 8, ["model-value"])]),
1375
1375
  _: 1
1376
1376
  }, 8, ["path", "label"]),
1377
- B.value ? (i(), v(A, {
1377
+ te.value ? (i(), v(A, {
1378
1378
  key: 0,
1379
1379
  path: e.block.type === "section" ? "wrapper.fullWidth" : "fullWidth",
1380
1380
  label: h(f).blockSettings.fullWidthBackground
1381
1381
  }, {
1382
1382
  "label-actions": a(({ controlId: e }) => [k(P, {
1383
- "data-testid": V.value,
1383
+ "data-testid": ie.value,
1384
1384
  "control-id": e,
1385
1385
  "hide-label": "",
1386
1386
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1387
- "model-value": te.value,
1388
- disabled: ne.value,
1387
+ "model-value": ne.value,
1388
+ disabled: V.value,
1389
1389
  label: h(f).blockSettings.fullWidthBackground,
1390
- "onUpdate:modelValue": ie
1390
+ "onUpdate:modelValue": ae
1391
1391
  }, null, 8, [
1392
1392
  "data-testid",
1393
1393
  "control-id",
@@ -1399,21 +1399,21 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1399
1399
  }, 8, ["path", "label"])) : _("", !0),
1400
1400
  e.block.type === "section" ? (i(), v(A, {
1401
1401
  key: 1,
1402
- path: U.value,
1402
+ path: se.value,
1403
1403
  label: h(f).blockSettings.backgroundImage
1404
1404
  }, {
1405
1405
  default: a(() => [k(Mn, {
1406
1406
  "hide-label": "",
1407
1407
  class: "tpl:mt-3.5",
1408
- "model-value": le.value,
1408
+ "model-value": ue.value,
1409
1409
  "testid-prefix": "section",
1410
1410
  measure: "",
1411
- "hero-mode": Se.value,
1412
- "onUpdate:modelValue": fe
1411
+ "hero-mode": we.value,
1412
+ "onUpdate:modelValue": pe
1413
1413
  }, null, 8, ["model-value", "hero-mode"])]),
1414
1414
  _: 1
1415
1415
  }, 8, ["path", "label"])) : _("", !0),
1416
- ae.value ? (i(), v(A, {
1416
+ oe.value ? (i(), v(A, {
1417
1417
  key: 2,
1418
1418
  path: "styles.backgroundColor",
1419
1419
  label: h(f).blockSettings.contentBackground
@@ -1422,7 +1422,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1422
1422
  "data-testid": "section-content-background",
1423
1423
  "model-value": e.block.styles.backgroundColor ?? "",
1424
1424
  "allow-transparent": "",
1425
- "onUpdate:modelValue": r[2] ||= (e) => Ce("backgroundColor", e)
1425
+ "onUpdate:modelValue": r[2] ||= (e) => Te("backgroundColor", e)
1426
1426
  }, null, 8, ["model-value"])]),
1427
1427
  _: 1
1428
1428
  }, 8, ["label"])) : _("", !0),
@@ -1442,21 +1442,21 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1442
1442
  }, 8, ["title", "open"]),
1443
1443
  k(Fn, {
1444
1444
  title: h(f).blockSettings.display,
1445
- open: q.has("display"),
1446
- onToggle: r[6] ||= (e) => Z("display")
1445
+ open: K.has("display"),
1446
+ onToggle: r[6] ||= (e) => ge("display")
1447
1447
  }, {
1448
- default: a(() => [b("div", er, [j.value && h(O) ? (i(), v(P, {
1448
+ default: a(() => [b("div", er, [N.value && h(j) ? (i(), v(P, {
1449
1449
  key: 0,
1450
1450
  "data-testid": "locale-hide",
1451
- disabled: !h(O).locales.includes(j.value),
1452
- "model-value": N.value,
1453
- label: h(w)(h(f).localization.hide, { language: h(gt)(j.value) }),
1451
+ disabled: !h(j).locales.includes(N.value),
1452
+ "model-value": I.value,
1453
+ label: h(w)(h(f).localization.hide, { language: h(O)(N.value) }),
1454
1454
  "onUpdate:modelValue": r[5] ||= (t) => h(T)?.setBlockHidden?.(e.block.id, t)
1455
1455
  }, null, 8, [
1456
1456
  "disabled",
1457
1457
  "model-value",
1458
1458
  "label"
1459
- ])) : _("", !0), (i(), p(D, null, c(pe, (e) => k(A, {
1459
+ ])) : _("", !0), (i(), p(D, null, c(he, (e) => k(A, {
1460
1460
  key: e.key,
1461
1461
  path: `visibility.${e.key}`,
1462
1462
  label: h(f).blockSettings[e.labelKey]
@@ -1469,9 +1469,9 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1469
1469
  "control-id": t,
1470
1470
  "hide-label": "",
1471
1471
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1472
- "model-value": we(e.key),
1472
+ "model-value": Q(e.key),
1473
1473
  label: h(f).blockSettings[e.labelKey],
1474
- "onUpdate:modelValue": (t) => Ee(e.key)
1474
+ "onUpdate:modelValue": (t) => De(e.key)
1475
1475
  }, null, 8, [
1476
1476
  "control-id",
1477
1477
  "model-value",
@@ -1482,12 +1482,12 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1482
1482
  }, 1032, ["path", "label"])), 64))])]),
1483
1483
  _: 1
1484
1484
  }, 8, ["title", "open"]),
1485
- me.value ? (i(), v(Fn, {
1485
+ _e.value ? (i(), v(Fn, {
1486
1486
  key: 0,
1487
1487
  "header-test-id": "display-condition-section",
1488
1488
  title: h(f).blockSettings.displayCondition,
1489
- open: q.has("condition"),
1490
- onToggle: r[11] ||= (e) => Z("condition")
1489
+ open: K.has("condition"),
1490
+ onToggle: r[11] ||= (e) => ge("condition")
1491
1491
  }, {
1492
1492
  default: a(() => [h(W) ? (i(), p("div", nr, [e.block.displayCondition ? (i(), p(D, { key: 0 }, [
1493
1493
  b("p", rr, x(e.block.displayCondition.label), 1),
@@ -1496,13 +1496,13 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1496
1496
  type: "button",
1497
1497
  "data-testid": "display-condition-edit",
1498
1498
  class: g(h(F)),
1499
- disabled: K.value,
1500
- onClick: _e
1499
+ disabled: G.value,
1500
+ onClick: be
1501
1501
  }, x(h(f).blockSettings.editCondition), 11, or), b("button", {
1502
1502
  type: "button",
1503
1503
  "data-testid": "display-condition-remove",
1504
1504
  class: g(h(F)),
1505
- disabled: K.value,
1505
+ disabled: G.value,
1506
1506
  onClick: r[7] ||= (e) => d("update", { displayCondition: void 0 })
1507
1507
  }, x(h(f).blockSettings.removeCondition), 11, sr)])
1508
1508
  ], 64)) : (i(), p("button", {
@@ -1510,8 +1510,8 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1510
1510
  type: "button",
1511
1511
  "data-testid": "display-condition-request",
1512
1512
  class: g(h(F)),
1513
- disabled: K.value,
1514
- onClick: _e
1513
+ disabled: G.value,
1514
+ onClick: be
1515
1515
  }, x(h(f).blockSettings.addCondition), 11, cr))])) : (i(), p("div", lr, [k(A, {
1516
1516
  path: "displayCondition",
1517
1517
  label: h(f).blockSettings.displayCondition
@@ -1519,23 +1519,23 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1519
1519
  default: a(() => [b("select", {
1520
1520
  "data-testid": "display-condition-select",
1521
1521
  class: g(["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)]"]),
1522
- value: J.value || ve.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1522
+ value: q.value || Z.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1523
1523
  onChange: r[8] ||= (e) => {
1524
1524
  let t = e.target.value;
1525
1525
  if (t === "__custom__") {
1526
- ye();
1526
+ xe();
1527
1527
  return;
1528
1528
  }
1529
- if (J.value = !1, !t) {
1529
+ if (q.value = !1, !t) {
1530
1530
  d("update", { displayCondition: void 0 });
1531
1531
  return;
1532
1532
  }
1533
- let n = h(I).find((e) => e.label === t);
1533
+ let n = h(L).find((e) => e.label === t);
1534
1534
  n && d("update", { displayCondition: n });
1535
1535
  }
1536
1536
  }, [
1537
1537
  b("option", dr, x(h(f).blockSettings.noCondition), 1),
1538
- (i(!0), p(D, null, c(xe.value, (e, t) => (i(), p(D, { key: t }, [t ? (i(), p("optgroup", {
1538
+ (i(!0), p(D, null, c(Ce.value, (e, t) => (i(), p(D, { key: t }, [t ? (i(), p("optgroup", {
1539
1539
  key: 0,
1540
1540
  label: String(t)
1541
1541
  }, [(i(!0), p(D, null, c(e, (e) => (i(), p("option", {
@@ -1545,27 +1545,27 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1545
1545
  key: e.label,
1546
1546
  value: e.label
1547
1547
  }, x(e.label), 9, mr))), 128))], 64))), 128)),
1548
- h(L) ? (i(), p("option", hr, x(h(f).blockSettings.customCondition), 1)) : _("", !0)
1548
+ h(R) ? (i(), p("option", hr, x(h(f).blockSettings.customCondition), 1)) : _("", !0)
1549
1549
  ], 42, ur)]),
1550
1550
  _: 1
1551
- }, 8, ["label"]), J.value || ve.value ? (i(), p("div", gr, [
1551
+ }, 8, ["label"]), q.value || Z.value ? (i(), p("div", gr, [
1552
1552
  b("div", null, [b("label", _r, x(h(f).blockSettings.customConditionBefore), 1), s(b("textarea", {
1553
- "onUpdate:modelValue": r[9] ||= (e) => Y.value = e,
1553
+ "onUpdate:modelValue": r[9] ||= (e) => J.value = e,
1554
1554
  rows: "2",
1555
1555
  class: g(h(H))
1556
- }, null, 2), [[S, Y.value]])]),
1556
+ }, null, 2), [[S, J.value]])]),
1557
1557
  b("div", null, [b("label", vr, x(h(f).blockSettings.customConditionAfter), 1), s(b("textarea", {
1558
- "onUpdate:modelValue": r[10] ||= (e) => X.value = e,
1558
+ "onUpdate:modelValue": r[10] ||= (e) => Y.value = e,
1559
1559
  rows: "2",
1560
1560
  class: g(h(H))
1561
- }, null, 2), [[S, X.value]])]),
1561
+ }, null, 2), [[S, Y.value]])]),
1562
1562
  b("div", yr, [b("button", {
1563
1563
  type: "button",
1564
1564
  class: g(h(ee)),
1565
- disabled: !Y.value.trim(),
1566
- onClick: be
1565
+ disabled: !J.value.trim(),
1566
+ onClick: Se
1567
1567
  }, x(h(f).blockSettings.applyCondition), 11, br)])
1568
- ])) : e.block.displayCondition && !ve.value ? (i(), p(D, { key: 1 }, [e.block.displayCondition.description ? (i(), p("p", xr, x(e.block.displayCondition.description), 1)) : _("", !0), b("div", Sr, [b("pre", Cr, x(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (i(), p("pre", wr, x(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)]))]),
1568
+ ])) : e.block.displayCondition && !Z.value ? (i(), p(D, { key: 1 }, [e.block.displayCondition.description ? (i(), p("p", xr, x(e.block.displayCondition.description), 1)) : _("", !0), b("div", Sr, [b("pre", Cr, x(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (i(), p("pre", wr, x(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)]))]),
1569
1569
  _: 1
1570
1570
  }, 8, ["title", "open"])) : _("", !0)
1571
1571
  ], 2));
@@ -1578,13 +1578,13 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1578
1578
  readOnly: { type: Boolean }
1579
1579
  },
1580
1580
  setup(e) {
1581
- let { t } = Q();
1581
+ let { t } = X();
1582
1582
  return (n, r) => (i(), p("span", null, [
1583
1583
  m(x(e.label) + " ", 1),
1584
1584
  e.readOnly ? (i(), p("span", {
1585
1585
  key: 0,
1586
1586
  title: h(t).customBlocks.dataSource.readOnlyTooltip
1587
- }, [k(h(X), {
1587
+ }, [k(h(J), {
1588
1588
  size: 12,
1589
1589
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
1590
1590
  "aria-hidden": "true"
@@ -1607,7 +1607,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1607
1607
  },
1608
1608
  emits: ["update:modelValue"],
1609
1609
  setup(e, { emit: t }) {
1610
- let n = t, { t: r } = Q();
1610
+ let n = t, { t: r } = X();
1611
1611
  return (t, o) => (i(), p("div", {
1612
1612
  class: "tpl:mb-3.5",
1613
1613
  title: e.readOnly ? h(r).customBlocks.dataSource.readOnlyTooltip : void 0
@@ -1621,7 +1621,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1621
1621
  disabled: e.readOnly,
1622
1622
  "onUpdate:modelValue": o[0] ||= (e) => n("update:modelValue", e)
1623
1623
  }, {
1624
- default: a(() => [m(x(e.field.label) + " ", 1), e.readOnly ? (i(), v(h(X), {
1624
+ default: a(() => [m(x(e.field.label) + " ", 1), e.readOnly ? (i(), v(h(J), {
1625
1625
  key: 0,
1626
1626
  size: 12,
1627
1627
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1668,7 +1668,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1668
1668
  },
1669
1669
  emits: ["update:modelValue"],
1670
1670
  setup(e, { emit: t }) {
1671
- let n = e, r = t, { t: o } = Q(), s = l(Je, bt), c = C(() => pt(n.field, s));
1671
+ let n = e, r = t, { t: o } = X(), s = l(Je, bt), c = C(() => pt(n.field, s));
1672
1672
  return (t, n) => (i(), v(Pr, {
1673
1673
  "hide-label": e.hideLabel,
1674
1674
  label: e.field.label,
@@ -1713,7 +1713,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1713
1713
  },
1714
1714
  emits: ["update:modelValue"],
1715
1715
  setup(e, { emit: t }) {
1716
- let n = e, r = t, { t: o } = Q(), s = E(), { canBrowse: c, isUploading: l, showOverlay: u, openMediaBrowser: d } = ft({
1716
+ let n = e, r = t, { t: o } = X(), s = E(), { canBrowse: c, isUploading: l, showOverlay: u, openMediaBrowser: d } = ft({
1717
1717
  target: s,
1718
1718
  value: () => n.modelValue,
1719
1719
  blocked: () => !!n.readOnly,
@@ -1785,7 +1785,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1785
1785
  },
1786
1786
  emits: ["update:modelValue"],
1787
1787
  setup(e, { emit: t }) {
1788
- let n = t, { t: r } = Q();
1788
+ let n = t, { t: r } = X();
1789
1789
  return (t, o) => (i(), v(Pr, {
1790
1790
  "hide-label": e.hideLabel,
1791
1791
  label: e.field.label,
@@ -1828,7 +1828,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1828
1828
  },
1829
1829
  emits: ["update:modelValue"],
1830
1830
  setup(e, { emit: t }) {
1831
- let r = e, o = t, { t: s, format: l } = Q(), u = C(() => r.modelValue || []), d = C(() => !r.field.maxItems || u.value.length < r.field.maxItems), f = C(() => !r.field.minItems || u.value.length > r.field.minItems);
1831
+ let r = e, o = t, { t: s, format: l } = X(), u = C(() => r.modelValue || []), d = C(() => !r.field.maxItems || u.value.length < r.field.maxItems), f = C(() => !r.field.minItems || u.value.length > r.field.minItems);
1832
1832
  function y() {
1833
1833
  if (!d.value || r.readOnly) return;
1834
1834
  let e = {};
@@ -1863,7 +1863,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1863
1863
  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)]",
1864
1864
  title: h(s).customBlocks.fields.removeItem,
1865
1865
  onClick: (e) => S(r)
1866
- }, [k(h(G), {
1866
+ }, [k(h(W), {
1867
1867
  size: 12,
1868
1868
  "stroke-width": 2
1869
1869
  })], 8, Wr)) : _("", !0)]), (i(!0), p(D, null, c(e.field.fields, (a) => (i(), v(n(h(ni)(a.type)), {
@@ -1912,7 +1912,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1912
1912
  },
1913
1913
  emits: ["update:modelValue"],
1914
1914
  setup(e, { emit: t }) {
1915
- let n = t, { t: r } = Q();
1915
+ let n = t, { t: r } = X();
1916
1916
  return (t, o) => (i(), v(Pr, {
1917
1917
  "hide-label": e.hideLabel,
1918
1918
  label: e.field.label,
@@ -1951,7 +1951,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1951
1951
  },
1952
1952
  emits: ["update:modelValue"],
1953
1953
  setup(e, { emit: t }) {
1954
- let n = t, { t: r } = Q();
1954
+ let n = t, { t: r } = X();
1955
1955
  return (t, o) => (i(), v(Pr, {
1956
1956
  "hide-label": e.hideLabel,
1957
1957
  label: e.field.label,
@@ -1996,7 +1996,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1996
1996
  },
1997
1997
  emits: ["update:modelValue"],
1998
1998
  setup(e, { emit: t }) {
1999
- let n = t, { t: r } = Q();
1999
+ let n = t, { t: r } = X();
2000
2000
  return (t, o) => (i(), v(Pr, {
2001
2001
  "hide-label": e.hideLabel,
2002
2002
  label: e.field.label,
@@ -2060,7 +2060,7 @@ var ri = {
2060
2060
  props: { block: {} },
2061
2061
  emits: ["updateFieldValues", "updateDataSourceFetched"],
2062
2062
  setup(e, { emit: t }) {
2063
- let r = e, o = t, { t: s } = Q(), u = l(qe, []), d = C(() => u.find((e) => e.type === r.block.customType)), f = C(() => r.block), { isFetching: g, fetchError: y, fetch: S, hasDataSource: w, needsFetch: T } = Qe({
2063
+ let r = e, o = t, { t: s } = X(), u = l(qe, []), d = C(() => u.find((e) => e.type === r.block.customType)), f = C(() => r.block), { isFetching: g, fetchError: y, fetch: S, hasDataSource: w, needsFetch: T } = Qe({
2064
2064
  definition: d,
2065
2065
  block: f,
2066
2066
  onUpdate: (e, t) => {
@@ -2129,7 +2129,7 @@ var ri = {
2129
2129
  props: { block: {} },
2130
2130
  emits: ["update"],
2131
2131
  setup(e, { emit: t }) {
2132
- let n = t, { t: r } = Q();
2132
+ let n = t, { t: r } = X();
2133
2133
  function o(e, t) {
2134
2134
  n("update", { [e]: t });
2135
2135
  }
@@ -2192,7 +2192,7 @@ var ri = {
2192
2192
  props: { block: {} },
2193
2193
  emits: ["update"],
2194
2194
  setup(e, { emit: t }) {
2195
- let n = t, { t: r } = Q();
2195
+ let n = t, { t: r } = X();
2196
2196
  return (t, o) => (i(), v(A, {
2197
2197
  label: h(r).html.content,
2198
2198
  class: "tpl:mb-3.5",
@@ -2204,7 +2204,7 @@ var ri = {
2204
2204
  rows: "10",
2205
2205
  class: g(h(H)),
2206
2206
  onInput: o[0] ||= (e) => n("update", { content: e.target.value })
2207
- }, null, 42, hi), b("p", gi, [k(h(K), {
2207
+ }, null, 42, hi), b("p", gi, [k(h(me), {
2208
2208
  size: 12,
2209
2209
  class: "tpl:mt-0.5 tpl:shrink-0"
2210
2210
  }), m(" " + x(h(r).html.sanitizationHint), 1)])]),
@@ -2293,7 +2293,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2293
2293
  props: { block: {} },
2294
2294
  emits: ["update"],
2295
2295
  setup(e, { emit: t }) {
2296
- let n = e, r = t, { t: o, format: s } = Q(), c = l(ze, _e.liquid), u = l(Ze, null), d = u ? Le(u) : null, f = l(Ue, void 0), y = E(!1), S = E(!1), { start: w } = xt(() => {
2296
+ let n = e, r = t, { t: o, format: s } = X(), c = l(ze, ye.liquid), u = l(Ze, null), d = u ? Le(u) : null, f = l(Ue, void 0), y = E(!1), S = E(!1), { start: w } = xt(() => {
2297
2297
  y.value = !1, S.value = !1;
2298
2298
  }, 1e3, { immediate: !1 }), T = [
2299
2299
  300,
@@ -2309,8 +2309,8 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2309
2309
  function ee(e) {
2310
2310
  if (e === "custom") {
2311
2311
  let e = n.block.width;
2312
- (typeof e != "number" || T.includes(e)) && r("update", G.widthUpdates(zi));
2313
- } else r("update", G.widthUpdates(e === "full" ? "full" : Number(e)));
2312
+ (typeof e != "number" || T.includes(e)) && r("update", W.widthUpdates(zi));
2313
+ } else r("update", W.widthUpdates(e === "full" ? "full" : Number(e)));
2314
2314
  }
2315
2315
  function R(e) {
2316
2316
  I("height", e === "custom" ? Bi : void 0);
@@ -2323,11 +2323,11 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2323
2323
  !Number.isFinite(t) || t <= 0 || I("height", t);
2324
2324
  }
2325
2325
  function V(e) {
2326
- I("borderRadius", xe(e) === null ? void 0 : e);
2326
+ I("borderRadius", Se(e) === null ? void 0 : e);
2327
2327
  }
2328
2328
  function H(e) {
2329
2329
  let t = Number(e);
2330
- !Number.isFinite(t) || t <= 0 || r("update", G.widthUpdates(t));
2330
+ !Number.isFinite(t) || t <= 0 || r("update", W.widthUpdates(t));
2331
2331
  }
2332
2332
  function re(e) {
2333
2333
  e !== n.block.src && r("update", {
@@ -2341,24 +2341,24 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2341
2341
  ...at(et(e.width, e.height))
2342
2342
  }), e.alt && (I("alt", e.alt), S.value = !0), y.value = !0, w();
2343
2343
  }
2344
- let ae = E(), oe = C(() => Ee(n.block.src, c)), { canBrowse: U, isUploading: se, showOverlay: ce, openMediaBrowser: le } = ft({
2344
+ let ae = E(), oe = C(() => Q(n.block.src, c)), { canBrowse: U, isUploading: se, showOverlay: ce, openMediaBrowser: le } = ft({
2345
2345
  target: ae,
2346
2346
  value: () => n.block.src,
2347
2347
  blocked: oe,
2348
2348
  apply: ie
2349
- }), ue = $e(() => oe.value || !n.block.src || it(n.block) ? void 0 : n.block.src), fe = Sn(() => ue.value), W = C(() => d ? ot(d.content.value, n.block.id, f) : null), G = vi({
2349
+ }), ue = $e(() => oe.value || !n.block.src || it(n.block) ? void 0 : n.block.src), fe = Sn(() => ue.value), pe = C(() => d ? ot(d.content.value, n.block.id, f) : null), W = vi({
2350
2350
  block: () => n.block,
2351
- room: () => W.value,
2351
+ room: () => pe.value,
2352
2352
  measured: () => fe.value
2353
- }), { available: K, locked: q, derivedHeight: J, cappedHeight: Y } = G;
2354
- function X() {
2355
- let e = G.setLocked(!q.value);
2353
+ }), { available: me, locked: G, derivedHeight: K, cappedHeight: q } = W;
2354
+ function J() {
2355
+ let e = W.setLocked(!G.value);
2356
2356
  e && r("update", e);
2357
2357
  }
2358
- let pe = E(null);
2359
- function Z(e) {
2360
- pe.value = e;
2361
- let t = G.heightUpdates(Number(e));
2358
+ let Y = E(null);
2359
+ function he(e) {
2360
+ Y.value = e;
2361
+ let t = W.heightUpdates(Number(e));
2362
2362
  t && r("update", t);
2363
2363
  }
2364
2364
  return (t, n) => (i(), p(D, null, [
@@ -2403,7 +2403,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2403
2403
  ], 512)]),
2404
2404
  _: 1
2405
2405
  }, 8, ["label"]),
2406
- h(Ee)(e.block.src, h(c)) ? (i(), v(A, {
2406
+ h(Q)(e.block.src, h(c)) ? (i(), v(A, {
2407
2407
  key: 0,
2408
2408
  class: "tpl:mb-3.5",
2409
2409
  path: "placeholderUrl"
@@ -2506,23 +2506,23 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2506
2506
  label: h(o).image.height
2507
2507
  }, O({
2508
2508
  default: a(() => [
2509
- h(q) ? (i(), p(D, { key: 0 }, [b("div", ji, [b("input", {
2509
+ h(G) ? (i(), p(D, { key: 0 }, [b("div", ji, [b("input", {
2510
2510
  type: "number",
2511
2511
  "data-testid": "image-locked-height-input",
2512
2512
  class: g(h(z)),
2513
- value: pe.value ?? h(J) ?? "",
2513
+ value: Y.value ?? h(K) ?? "",
2514
2514
  min: "1",
2515
- onInput: n[8] ||= (e) => Z(e.target.value),
2516
- onBlur: n[9] ||= (e) => pe.value = null
2517
- }, null, 42, Mi), b("span", { class: g(h(L)) }, "px", 2)]), h(Y) === null ? _("", !0) : (i(), p("p", Ni, x(h(s)(h(o).image.heightCapped, { height: h(Y) })), 1))], 64)) : _("", !0),
2518
- h(q) ? _("", !0) : (i(), p("select", {
2515
+ onInput: n[8] ||= (e) => he(e.target.value),
2516
+ onBlur: n[9] ||= (e) => Y.value = null
2517
+ }, null, 42, Mi), b("span", { class: g(h(L)) }, "px", 2)]), h(q) === null ? _("", !0) : (i(), p("p", Ni, x(h(s)(h(o).image.heightCapped, { height: h(q) })), 1))], 64)) : _("", !0),
2518
+ h(G) ? _("", !0) : (i(), p("select", {
2519
2519
  key: 1,
2520
2520
  class: g(h(B)),
2521
2521
  "data-testid": "image-height-mode",
2522
2522
  value: M.value,
2523
2523
  onChange: n[10] ||= (e) => R(e.target.value)
2524
2524
  }, [b("option", Fi, x(h(o).image.heightAuto), 1), b("option", Ii, x(h(o).image.heightCustom), 1)], 42, Pi)),
2525
- !h(q) && M.value === "custom" ? (i(), p("div", Li, [b("input", {
2525
+ !h(G) && M.value === "custom" ? (i(), p("div", Li, [b("input", {
2526
2526
  type: "number",
2527
2527
  "data-testid": "image-height-input",
2528
2528
  class: g(h(z)),
@@ -2532,14 +2532,14 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2532
2532
  }, null, 42, Ri), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)
2533
2533
  ]),
2534
2534
  _: 2
2535
- }, [h(K) ? {
2535
+ }, [h(me) ? {
2536
2536
  name: "label-actions",
2537
2537
  fn: a(() => [k(At, {
2538
- linked: h(q),
2538
+ linked: h(G),
2539
2539
  "link-label": h(o).image.lockAspectRatio,
2540
2540
  "unlink-label": h(o).image.unlockAspectRatio,
2541
2541
  testid: "image-aspect-lock",
2542
- onToggle: X
2542
+ onToggle: J
2543
2543
  }, null, 8, [
2544
2544
  "linked",
2545
2545
  "link-label",
@@ -2630,7 +2630,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2630
2630
  },
2631
2631
  emits: ["update"],
2632
2632
  setup(e, { emit: t }) {
2633
- let n = e, r = t, { t: o } = Q(), s = C(() => [
2633
+ let n = e, r = t, { t: o } = X(), s = C(() => [
2634
2634
  {
2635
2635
  key: "openInNewTab",
2636
2636
  label: o.menu.openInNewTab
@@ -2647,17 +2647,17 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2647
2647
  {
2648
2648
  value: "left",
2649
2649
  label: o.title.alignLeft,
2650
- icon: q
2650
+ icon: G
2651
2651
  },
2652
2652
  {
2653
2653
  value: "center",
2654
2654
  label: o.title.alignCenter,
2655
- icon: Z
2655
+ icon: ue
2656
2656
  },
2657
2657
  {
2658
2658
  value: "right",
2659
2659
  label: o.title.alignRight,
2660
- icon: ue
2660
+ icon: he
2661
2661
  }
2662
2662
  ]);
2663
2663
  function u(e, t) {
@@ -2665,7 +2665,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2665
2665
  }
2666
2666
  function d() {
2667
2667
  let e = {
2668
- id: ye(),
2668
+ id: Z(),
2669
2669
  text: "",
2670
2670
  url: "",
2671
2671
  openInNewTab: !1,
@@ -2706,7 +2706,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2706
2706
  class: g(h(I)),
2707
2707
  title: h(o).menu.removeItem,
2708
2708
  onClick: (e) => _(t.id)
2709
- }, [k(h(pe), {
2709
+ }, [k(h(Y), {
2710
2710
  size: 14,
2711
2711
  "stroke-width": 2
2712
2712
  })], 10, Gi)]),
@@ -2865,7 +2865,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2865
2865
  props: { block: {} },
2866
2866
  emits: ["update"],
2867
2867
  setup(e, { emit: t }) {
2868
- let n = t, { t: r } = Q();
2868
+ let n = t, { t: r } = X();
2869
2869
  return (t, o) => (i(), v(A, {
2870
2870
  label: h(r).paragraph.paragraphSpacing,
2871
2871
  class: "tpl:mb-3.5",
@@ -2875,7 +2875,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2875
2875
  default: a(() => [b("div", $i, [b("input", {
2876
2876
  type: "number",
2877
2877
  class: g(h(z)),
2878
- value: e.block.paragraphSpacing ?? h(ge).paragraphGap,
2878
+ value: e.block.paragraphSpacing ?? h(ve).paragraphGap,
2879
2879
  min: "0",
2880
2880
  max: "64",
2881
2881
  onInput: o[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
@@ -2917,7 +2917,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
2917
2917
  props: { block: {} },
2918
2918
  emits: ["update"],
2919
2919
  setup(e, { emit: t }) {
2920
- let n = e, r = t, { t: o, format: s } = Q(), u = l(Ue, void 0), d = l(Re, void 0), f = u !== void 0 && Ae(u), m = C(() => d !== !1 || !!n.block.wrapper), y = C(() => f && !n.block.wrapper), S = C(() => f && m.value), w = C(() => Te(n.block)?.applied === !0), T = C(() => [
2920
+ let n = e, r = t, { t: o, format: s } = X(), u = l(Ue, void 0), d = l(Re, void 0), f = u !== void 0 && Ae(u), m = C(() => d !== !1 || !!n.block.wrapper), y = C(() => f && !n.block.wrapper), S = C(() => f && m.value), w = C(() => Ee(n.block)?.applied === !0), T = C(() => [
2921
2921
  {
2922
2922
  value: "1",
2923
2923
  label: o.section.column1
@@ -2954,7 +2954,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
2954
2954
  value: "1-2-1",
2955
2955
  label: o.section.ratio121
2956
2956
  }
2957
- ]), E = C(() => Oe(n.block)), O = C(() => n.block.columnWidths !== void 0 && be(n.block) === null), j = C(() => O.value ? "custom" : n.block.columns);
2957
+ ]), E = C(() => Oe(n.block)), O = C(() => n.block.columnWidths !== void 0 && xe(n.block) === null), j = C(() => O.value ? "custom" : n.block.columns);
2958
2958
  function N(e) {
2959
2959
  let t = e.target.value;
2960
2960
  if (t === "custom") return;
@@ -2976,7 +2976,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
2976
2976
  return;
2977
2977
  }
2978
2978
  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);
2979
- c[e] = Ce(f), c[l] = Ce(u - c[e]);
2979
+ c[e] = we(f), c[l] = we(u - c[e]);
2980
2980
  let p = Me[n.block.columns], m = p !== void 0 && p.every((e, t) => e === c[t]);
2981
2981
  r("update", { columnWidths: m ? void 0 : c });
2982
2982
  }
@@ -3164,7 +3164,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3164
3164
  props: { icon: {} },
3165
3165
  emits: ["update"],
3166
3166
  setup(e, { emit: t }) {
3167
- let n = e, r = t, { t: o } = Q(), { syntax: s } = St(), c = E(), l = C(() => typeof n.icon.imageUrl == "string" ? n.icon.imageUrl : ""), u = C(() => Ee(l.value, s));
3167
+ let n = e, r = t, { t: o } = X(), { syntax: s } = St(), c = E(), l = C(() => typeof n.icon.imageUrl == "string" ? n.icon.imageUrl : ""), u = C(() => Q(l.value, s));
3168
3168
  function d(e) {
3169
3169
  return n.icon.id.includes(".") ? void 0 : `icons.${n.icon.id}.${e}`;
3170
3170
  }
@@ -3248,13 +3248,13 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3248
3248
  props: { block: {} },
3249
3249
  emits: ["update"],
3250
3250
  setup(e, { emit: t }) {
3251
- let n = e, r = t, { t: o } = Q();
3251
+ let n = e, r = t, { t: o } = X();
3252
3252
  function s(e, t) {
3253
3253
  r("update", { [e]: t });
3254
3254
  }
3255
3255
  function l() {
3256
3256
  let e = {
3257
- id: ye(),
3257
+ id: Z(),
3258
3258
  platform: "facebook",
3259
3259
  url: ""
3260
3260
  };
@@ -3310,7 +3310,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3310
3310
  class: g(h(I)),
3311
3311
  title: h(o).social.removeIcon,
3312
3312
  onClick: (t) => S(e.id)
3313
- }, [k(h(pe), {
3313
+ }, [k(h(Y), {
3314
3314
  size: 14,
3315
3315
  "stroke-width": 2
3316
3316
  })], 10, ba)]),
@@ -3429,17 +3429,17 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3429
3429
  {
3430
3430
  value: "left",
3431
3431
  label: h(o).title.alignLeft,
3432
- icon: h(q)
3432
+ icon: h(G)
3433
3433
  },
3434
3434
  {
3435
3435
  value: "center",
3436
3436
  label: h(o).title.alignCenter,
3437
- icon: h(Z)
3437
+ icon: h(ue)
3438
3438
  },
3439
3439
  {
3440
3440
  value: "right",
3441
3441
  label: h(o).title.alignRight,
3442
- icon: h(ue)
3442
+ icon: h(he)
3443
3443
  }
3444
3444
  ],
3445
3445
  "model-value": e.block.align,
@@ -3454,7 +3454,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3454
3454
  props: { block: {} },
3455
3455
  emits: ["update"],
3456
3456
  setup(e, { emit: t }) {
3457
- let n = t, { t: r } = Q();
3457
+ let n = t, { t: r } = X();
3458
3458
  return (t, o) => (i(), v(A, {
3459
3459
  label: h(r).spacer.height,
3460
3460
  class: "tpl:mb-3.5",
@@ -3486,15 +3486,15 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3486
3486
  },
3487
3487
  emits: ["update"],
3488
3488
  setup(e, { emit: t }) {
3489
- let n = e, r = t, { t: o } = Q(), s = C(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3489
+ let n = e, r = t, { t: o } = X(), s = C(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3490
3490
  function l(e, t) {
3491
3491
  r("update", { [e]: t });
3492
3492
  }
3493
3493
  function u() {
3494
3494
  let e = n.block.rows.length > 0 ? n.block.rows[0].cells.length : 3, t = {
3495
- id: ye(),
3495
+ id: Z(),
3496
3496
  cells: Array.from({ length: e }, () => ({
3497
- id: ye(),
3497
+ id: Z(),
3498
3498
  content: ""
3499
3499
  }))
3500
3500
  };
@@ -3507,7 +3507,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3507
3507
  let e = n.block.rows.map((e) => ({
3508
3508
  ...e,
3509
3509
  cells: [...e.cells, {
3510
- id: ye(),
3510
+ id: Z(),
3511
3511
  content: ""
3512
3512
  }]
3513
3513
  }));
@@ -3526,7 +3526,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3526
3526
  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)] tpl:disabled:opacity-30",
3527
3527
  disabled: e.block.rows.length <= 1,
3528
3528
  onClick: n[0] ||= (t) => d(e.block.rows[e.block.rows.length - 1].id)
3529
- }, [k(h(W), {
3529
+ }, [k(h(pe), {
3530
3530
  size: 12,
3531
3531
  "stroke-width": 2
3532
3532
  })], 8, Ga),
@@ -3543,7 +3543,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3543
3543
  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)] tpl:disabled:opacity-30",
3544
3544
  disabled: s.value <= 1,
3545
3545
  onClick: n[1] ||= (e) => m(s.value - 1)
3546
- }, [k(h(W), {
3546
+ }, [k(h(pe), {
3547
3547
  size: 12,
3548
3548
  "stroke-width": 2
3549
3549
  })], 8, Xa),
@@ -3685,17 +3685,17 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3685
3685
  {
3686
3686
  value: "left",
3687
3687
  label: h(o).title.alignLeft,
3688
- icon: h(q)
3688
+ icon: h(G)
3689
3689
  },
3690
3690
  {
3691
3691
  value: "center",
3692
3692
  label: h(o).title.alignCenter,
3693
- icon: h(Z)
3693
+ icon: h(ue)
3694
3694
  },
3695
3695
  {
3696
3696
  value: "right",
3697
3697
  label: h(o).title.alignRight,
3698
- icon: h(ue)
3698
+ icon: h(he)
3699
3699
  }
3700
3700
  ],
3701
3701
  "model-value": e.block.textAlign,
@@ -3713,7 +3713,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3713
3713
  },
3714
3714
  emits: ["update"],
3715
3715
  setup(e, { emit: t }) {
3716
- let n = t, { t: r } = Q();
3716
+ let n = t, { t: r } = X();
3717
3717
  function o(e, t) {
3718
3718
  n("update", { [e]: t });
3719
3719
  }
@@ -3771,17 +3771,17 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3771
3771
  {
3772
3772
  value: "left",
3773
3773
  label: h(r).title.alignLeft,
3774
- icon: h(q)
3774
+ icon: h(G)
3775
3775
  },
3776
3776
  {
3777
3777
  value: "center",
3778
3778
  label: h(r).title.alignCenter,
3779
- icon: h(Z)
3779
+ icon: h(ue)
3780
3780
  },
3781
3781
  {
3782
3782
  value: "right",
3783
3783
  label: h(r).title.alignRight,
3784
- icon: h(ue)
3784
+ icon: h(he)
3785
3785
  }
3786
3786
  ],
3787
3787
  "model-value": e.block.textAlign,
@@ -3806,11 +3806,11 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3806
3806
  props: { block: {} },
3807
3807
  emits: ["update"],
3808
3808
  setup(e, { emit: t }) {
3809
- let n = e, r = t, { t: o } = Q(), s = l(We, null), c = l(ze, _e.liquid), u = nt(), d = [
3809
+ let n = e, r = t, { t: o } = X(), s = l(We, null), c = l(ze, ye.liquid), u = nt(), d = [
3810
3810
  300,
3811
3811
  400,
3812
3812
  500
3813
- ], f = C(() => !!s), y = C(() => Ee(n.block.url, c)), S = C(() => {
3813
+ ], f = C(() => !!s), y = C(() => Q(n.block.url, c)), S = C(() => {
3814
3814
  let e = n.block.width;
3815
3815
  return e === "full" ? "full" : d.includes(e) ? String(e) : "custom";
3816
3816
  }), w = C(() => typeof n.block.height == "number" ? "custom" : "auto"), T = E(!1), { start: O } = xt(() => {
@@ -4013,7 +4013,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
4013
4013
  "duplicate"
4014
4014
  ],
4015
4015
  setup(e, { emit: t }) {
4016
- let r = f(() => import("./CountdownToolbar-D16RWxkh.js")), a = e, o = t, { t: s } = Q(), c = yt(), u = Xe(Ke, "Toolbar"), d = l(qe, []), m = C(() => a.block.type), g = C(() => Ie(a.block)), y = C(() => {
4016
+ let r = f(() => import("./CountdownToolbar-DOhXnbsq.js")), a = e, o = t, { t: s } = X(), c = yt(), u = Xe(Ke, "Toolbar"), d = l(qe, []), m = C(() => a.block.type), g = C(() => Ie(a.block)), y = C(() => {
4017
4017
  if (g.value) return d.find((e) => e.type === a.block.customType);
4018
4018
  }), S = C(() => g.value ? y.value?.name ?? a.block.customType : tt(m.value, s)), w = C(() => mt(u.fonts.value, "fontFamily" in a.block ? a.block.fontFamily : void 0));
4019
4019
  function T(e) {
@@ -4046,7 +4046,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
4046
4046
  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)]",
4047
4047
  title: h(s).toolbar.delete,
4048
4048
  onClick: a[1] ||= (e) => o("delete")
4049
- }, [k(h(G), {
4049
+ }, [k(h(W), {
4050
4050
  size: 14,
4051
4051
  "stroke-width": 2
4052
4052
  })], 8, Vo)])]), b("div", Ho, [g.value ? (i(), v(di, {
@@ -4120,4 +4120,4 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
4120
4120
  }), Wo = /* @__PURE__ */ e({ default: () => Go }), Go = /*#__PURE__*/ _t(Uo, [["__scopeId", "data-v-206f038f"]]);
4121
4121
  export { Go as default, Ot as n, $ as r, Wo as t };
4122
4122
 
4123
- //# sourceMappingURL=Toolbar-czJfutfE.js.map
4123
+ //# sourceMappingURL=Toolbar-Ch3h2BUs.js.map