@templatical/editor 0.56.0 → 0.57.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 (308) hide show
  1. package/README.md +1 -1
  2. package/dist/{AiAltTextPopover-DdsvhE78.js → AiAltTextPopover-BjClNscQ.js} +6 -6
  3. package/dist/{AiAltTextReview-P6to1_0t.js → AiAltTextReview-DeMdVbtT.js} +7 -7
  4. package/dist/{AiChatPanel-BSlmzMRC.js → AiChatPanel-Cros4ZCM.js} +64 -67
  5. package/dist/AiPanels-D_CdHqFZ.js +26 -0
  6. package/dist/{AiRewriteMenu-DIISOR6U.js → AiRewriteMenu-BSzj1dKC.js} +53 -53
  7. package/dist/{BlockIssueBadge-Bmtc50BQ.js → BlockIssueBadge-i2cZy5PB.js} +6 -6
  8. package/dist/{BlockPreviewCanvas-BYIzNn-9.js → BlockPreviewCanvas-D-If_vd_.js} +58 -58
  9. package/dist/{CloudHeaderExtras-Cqhw-jMz.js → CloudHeaderExtras-CJsXi4Ku.js} +2 -2
  10. package/dist/{CloudPanels-w34W8_BP.js → CloudPanels-DPeK_siQ.js} +14 -14
  11. package/dist/{CollaborationNotices-HTbCebjV.js → CollaborationNotices-DkYX-ose.js} +9 -9
  12. package/dist/{CollaboratorBar-CLQjksX-.js → CollaboratorBar-xDweDvB6.js} +3 -3
  13. package/dist/CommentsPanel-t3w16YUl.js +23 -0
  14. package/dist/CommentsSidebar-B3M90RY_.js +516 -0
  15. package/dist/{CountdownBlock-BTXcCvjZ.js → CountdownBlock-BrR2uqM3.js} +7 -7
  16. package/dist/{CountdownToolbar-CP-pkntQ.js → CountdownToolbar-DBu2ZqC6.js} +32 -32
  17. package/dist/{IssuesPanel-CiiNBzH0.js → IssuesPanel-BnUut-p-.js} +89 -89
  18. package/dist/LanguageMenu-DfTxrbvp.js +403 -0
  19. package/dist/{LoadingTrack-BG8cg9xi.js → LoadingTrack-c4SeD16s.js} +1 -1
  20. package/dist/{LocaleNotices-CTCZ7BYv.js → LocaleNotices-D6zk-QCL.js} +11 -11
  21. package/dist/{LogicTagInsertButton-DEOPc4RC.js → LogicTagInsertButton-CJ1Jk6jv.js} +65 -65
  22. package/dist/{MediaEditModal-DJsPLTwP.js → MediaEditModal-BxbwZxnf.js} +10 -10
  23. package/dist/{MediaPanels-D2WD2aE2.js → MediaPanels-BiUxsTMM.js} +2 -2
  24. package/dist/{MergeTagInput-C9icdxw7.js → MergeTagInput-CV-z85s9.js} +13 -13
  25. package/dist/{MergeTagModeToggle-DXvb80OE.js → MergeTagModeToggle-CixgX5C_.js} +7 -7
  26. package/dist/{MergeTagTextarea-CrAcmT3A.js → MergeTagTextarea-B1zOC_Nr.js} +9 -9
  27. package/dist/{ParagraphEditor-BWBQ3jKz.js → ParagraphEditor-C9UhWvRB.js} +174 -174
  28. package/dist/{RestoreVersionDialog-CqAp16yQ.js → RestoreVersionDialog-Do7fZWpT.js} +13 -13
  29. package/dist/{RichTextEditorContent-xbBjVPVQ.js → RichTextEditorContent-wW_SMun2.js} +10 -10
  30. package/dist/{SaveBlockDialog-pebNJBTc.js → SaveBlockDialog-CCHIUfR-.js} +49 -49
  31. package/dist/{SavedBlocksBrowserModal-CvagMcv7.js → SavedBlocksBrowserModal-DtPHhfw9.js} +26 -26
  32. package/dist/{SavedBlocksPanels-B9AAVBDm.js → SavedBlocksPanels-CYIby5pR.js} +2 -2
  33. package/dist/{SavedBlocksPickBar-BIANWe3i.js → SavedBlocksPickBar-CCwBugqN.js} +10 -10
  34. package/dist/{TemplateSettings-ORq4PbCN.js → TemplateSettings-B8IVy5q9.js} +42 -42
  35. package/dist/{TestEmailModal-DRjCpcPl.js → TestEmailModal-CS5JoKRH.js} +22 -22
  36. package/dist/{TestEmailPanel-H0v8El__.js → TestEmailPanel-sOIZfKzc.js} +2 -2
  37. package/dist/{TitleEditor-CEGbJXeU.js → TitleEditor-ZlBcq9_P.js} +22 -22
  38. package/dist/{ToggleSwitch-R3wCCYE6.js → ToggleSwitch-BIPdFWUr.js} +1 -1
  39. package/dist/{Toolbar-XT-uGA9J.js → Toolbar-c4_rLLJT.js} +659 -659
  40. package/dist/{TplModal-7NQq5-VW.js → TplModal-DnFFEulp.js} +6 -6
  41. package/dist/{VersionHistoryMenu-C8BE3Pr-.js → VersionHistoryMenu-Cd2IaHgT.js} +19 -19
  42. package/dist/{VersionHistoryPanels-CuKuOSJG.js → VersionHistoryPanels-TdGaMaa_.js} +2 -2
  43. package/dist/{VersionPreviewBanner-BVFBkveR.js → VersionPreviewBanner-lkAf7tc8.js} +8 -8
  44. package/dist/{WrapperBlock-Bdw-072t.js → WrapperBlock-BiW4ye3w.js} +12 -12
  45. package/dist/{blockTypeIcons-CGplGmmr.js → blockTypeIcons-D1aYMC1M.js} +3 -3
  46. package/dist/bundle-stats.json +7 -7
  47. package/dist/cdn/chunks/{AiAltTextPopover-x999Gimz.js → AiAltTextPopover-CfGJNBOb.js} +6 -6
  48. package/dist/cdn/chunks/{AiAltTextPopover-x999Gimz.js.map → AiAltTextPopover-CfGJNBOb.js.map} +1 -1
  49. package/dist/cdn/chunks/{AiAltTextReview-DjnFz1wO.js → AiAltTextReview-PKe31R_g.js} +7 -7
  50. package/dist/cdn/chunks/{AiAltTextReview-DjnFz1wO.js.map → AiAltTextReview-PKe31R_g.js.map} +1 -1
  51. package/dist/cdn/chunks/{AiChatPanel-DKDu9cs7.js → AiChatPanel-DNCUpV8n.js} +112 -115
  52. package/dist/cdn/chunks/AiChatPanel-DNCUpV8n.js.map +1 -0
  53. package/dist/cdn/chunks/AiPanels-IV0VEkBL.js +27 -0
  54. package/dist/cdn/chunks/AiPanels-IV0VEkBL.js.map +1 -0
  55. package/dist/cdn/chunks/{AiRewriteMenu-s79rmHFy.js → AiRewriteMenu-ZDBwReuU.js} +61 -61
  56. package/dist/cdn/chunks/AiRewriteMenu-ZDBwReuU.js.map +1 -0
  57. package/dist/cdn/chunks/{BlockIssueBadge-Bnmq_M4G.js → BlockIssueBadge-DIlFDDwh.js} +6 -6
  58. package/dist/cdn/chunks/BlockIssueBadge-DIlFDDwh.js.map +1 -0
  59. package/dist/cdn/chunks/BlockPreviewCanvas-D7U6nQ7t.js +156 -0
  60. package/dist/cdn/chunks/BlockPreviewCanvas-D7U6nQ7t.js.map +1 -0
  61. package/dist/cdn/chunks/{CloudHeaderExtras-uUJYJFJ6.js → CloudHeaderExtras-CazfMn6A.js} +3 -3
  62. package/dist/cdn/chunks/{CloudHeaderExtras-uUJYJFJ6.js.map → CloudHeaderExtras-CazfMn6A.js.map} +1 -1
  63. package/dist/cdn/chunks/{CloudPanels-DQnlH_YJ.js → CloudPanels-EXXNMLbs.js} +5 -5
  64. package/dist/cdn/chunks/CloudPanels-EXXNMLbs.js.map +1 -0
  65. package/dist/cdn/chunks/{CollaborationNotices-CHqUGhOZ.js → CollaborationNotices-DGA8XRZJ.js} +10 -10
  66. package/dist/cdn/chunks/{CollaborationNotices-CHqUGhOZ.js.map → CollaborationNotices-DGA8XRZJ.js.map} +1 -1
  67. package/dist/cdn/chunks/{CollaboratorBar-C1ZI2xwa.js → CollaboratorBar-BWL1Shc1.js} +4 -4
  68. package/dist/cdn/chunks/{CollaboratorBar-C1ZI2xwa.js.map → CollaboratorBar-BWL1Shc1.js.map} +1 -1
  69. package/dist/cdn/chunks/CommentsPanel-4mrl4zMK.js +24 -0
  70. package/dist/cdn/chunks/CommentsPanel-4mrl4zMK.js.map +1 -0
  71. package/dist/cdn/chunks/CommentsSidebar-BJ87vc7i.js +486 -0
  72. package/dist/cdn/chunks/CommentsSidebar-BJ87vc7i.js.map +1 -0
  73. package/dist/cdn/chunks/{CountdownBlock-DyGsh92b.js → CountdownBlock-Do6oItNW.js} +8 -8
  74. package/dist/cdn/chunks/{CountdownBlock-DyGsh92b.js.map → CountdownBlock-Do6oItNW.js.map} +1 -1
  75. package/dist/cdn/chunks/{CountdownToolbar-Ddj2erNm.js → CountdownToolbar-BN2_zvRj.js} +52 -52
  76. package/dist/cdn/chunks/{CountdownToolbar-Ddj2erNm.js.map → CountdownToolbar-BN2_zvRj.js.map} +1 -1
  77. package/dist/cdn/chunks/{IssuesPanel-DnSnEh1X.js → IssuesPanel-BDwegn0s.js} +14 -14
  78. package/dist/cdn/chunks/IssuesPanel-BDwegn0s.js.map +1 -0
  79. package/dist/cdn/chunks/{LanguageMenu-C2I_yTL5.js → LanguageMenu-DXq9cXUd.js} +58 -58
  80. package/dist/cdn/chunks/LanguageMenu-DXq9cXUd.js.map +1 -0
  81. package/dist/cdn/chunks/{LoadingTrack-DUYcDHOV.js → LoadingTrack-o-89hApJ.js} +2 -2
  82. package/dist/cdn/chunks/{LoadingTrack-DUYcDHOV.js.map → LoadingTrack-o-89hApJ.js.map} +1 -1
  83. package/dist/cdn/chunks/{LocaleNotices-Dr9LRCAg.js → LocaleNotices-CUN5K5QJ.js} +11 -11
  84. package/dist/cdn/chunks/{LocaleNotices-Dr9LRCAg.js.map → LocaleNotices-CUN5K5QJ.js.map} +1 -1
  85. package/dist/cdn/chunks/{LogicTagInsertButton-BdzE9-l7.js → LogicTagInsertButton-BEArlbra.js} +12 -12
  86. package/dist/cdn/chunks/{LogicTagInsertButton-BdzE9-l7.js.map → LogicTagInsertButton-BEArlbra.js.map} +1 -1
  87. package/dist/cdn/chunks/{MediaEditModal-CMJFXu_o.js → MediaEditModal-BHTMNHx0.js} +10 -10
  88. package/dist/cdn/chunks/{MediaEditModal-CMJFXu_o.js.map → MediaEditModal-BHTMNHx0.js.map} +1 -1
  89. package/dist/cdn/chunks/{MediaPanels-C790ZXuY.js → MediaPanels-BlianNRh.js} +3 -3
  90. package/dist/cdn/chunks/{MediaPanels-C790ZXuY.js.map → MediaPanels-BlianNRh.js.map} +1 -1
  91. package/dist/cdn/chunks/{MergeTagInput-CmrX8Md6.js → MergeTagInput-B3SLXXzL.js} +14 -14
  92. package/dist/cdn/chunks/{MergeTagInput-CmrX8Md6.js.map → MergeTagInput-B3SLXXzL.js.map} +1 -1
  93. package/dist/cdn/chunks/{MergeTagModeToggle-D7maMGIM.js → MergeTagModeToggle-Dywp9ntA.js} +6 -6
  94. package/dist/cdn/chunks/{MergeTagModeToggle-D7maMGIM.js.map → MergeTagModeToggle-Dywp9ntA.js.map} +1 -1
  95. package/dist/cdn/chunks/{MergeTagTextarea-KOnd2teB.js → MergeTagTextarea-B9TM7FgM.js} +7 -7
  96. package/dist/cdn/chunks/{MergeTagTextarea-KOnd2teB.js.map → MergeTagTextarea-B9TM7FgM.js.map} +1 -1
  97. package/dist/cdn/chunks/{ParagraphEditor-I9lbKaPk.js → ParagraphEditor-CVGtTYta.js} +107 -107
  98. package/dist/cdn/chunks/{ParagraphEditor-I9lbKaPk.js.map → ParagraphEditor-CVGtTYta.js.map} +1 -1
  99. package/dist/cdn/chunks/{RestoreVersionDialog-DqbULAbc.js → RestoreVersionDialog-Dt_0qOOW.js} +13 -13
  100. package/dist/cdn/chunks/RestoreVersionDialog-Dt_0qOOW.js.map +1 -0
  101. package/dist/cdn/chunks/{RichTextEditorContent-_O22z0pn.js → RichTextEditorContent-BjN4mnzL.js} +9 -9
  102. package/dist/cdn/chunks/{RichTextEditorContent-_O22z0pn.js.map → RichTextEditorContent-BjN4mnzL.js.map} +1 -1
  103. package/dist/cdn/chunks/{SaveBlockDialog-CClRLXgF.js → SaveBlockDialog-D9eBjE99.js} +51 -51
  104. package/dist/cdn/chunks/{SaveBlockDialog-CClRLXgF.js.map → SaveBlockDialog-D9eBjE99.js.map} +1 -1
  105. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BIaxaxw9.js → SavedBlocksBrowserModal-ClsTpkdk.js} +24 -24
  106. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BIaxaxw9.js.map → SavedBlocksBrowserModal-ClsTpkdk.js.map} +1 -1
  107. package/dist/cdn/chunks/{SavedBlocksPanels-Dfu9N6YW.js → SavedBlocksPanels-CxlNHhUs.js} +3 -3
  108. package/dist/cdn/chunks/{SavedBlocksPanels-Dfu9N6YW.js.map → SavedBlocksPanels-CxlNHhUs.js.map} +1 -1
  109. package/dist/cdn/chunks/{SavedBlocksPickBar-DiMW_dbJ.js → SavedBlocksPickBar-C7_Z8phX.js} +12 -12
  110. package/dist/cdn/chunks/{SavedBlocksPickBar-DiMW_dbJ.js.map → SavedBlocksPickBar-C7_Z8phX.js.map} +1 -1
  111. package/dist/cdn/chunks/{TemplateSettings-JMUo0LIV.js → TemplateSettings-B6zDtjSs.js} +102 -102
  112. package/dist/cdn/chunks/{TemplateSettings-JMUo0LIV.js.map → TemplateSettings-B6zDtjSs.js.map} +1 -1
  113. package/dist/cdn/chunks/{TestEmailModal-D52VtwBZ.js → TestEmailModal-CJ_QYFua.js} +21 -21
  114. package/dist/cdn/chunks/{TestEmailModal-D52VtwBZ.js.map → TestEmailModal-CJ_QYFua.js.map} +1 -1
  115. package/dist/cdn/chunks/{TestEmailPanel-D9ezVDHd.js → TestEmailPanel-CsFrTq_a.js} +3 -3
  116. package/dist/cdn/chunks/{TestEmailPanel-D9ezVDHd.js.map → TestEmailPanel-CsFrTq_a.js.map} +1 -1
  117. package/dist/cdn/chunks/{TitleEditor-D04vvbUc.js → TitleEditor-CuKJptyw.js} +20 -20
  118. package/dist/cdn/chunks/{TitleEditor-D04vvbUc.js.map → TitleEditor-CuKJptyw.js.map} +1 -1
  119. package/dist/cdn/chunks/{ToggleSwitch-BSkySwA1.js → ToggleSwitch-C0w0srN_.js} +2 -2
  120. package/dist/cdn/chunks/{ToggleSwitch-BSkySwA1.js.map → ToggleSwitch-C0w0srN_.js.map} +1 -1
  121. package/dist/cdn/chunks/{Toolbar-C_Hfsher.js → Toolbar-TS2WwlPW.js} +542 -542
  122. package/dist/cdn/chunks/Toolbar-TS2WwlPW.js.map +1 -0
  123. package/dist/cdn/chunks/{TplModal-d6fEZGJ5.js → TplModal-CsadClrH.js} +7 -7
  124. package/dist/cdn/chunks/{TplModal-d6fEZGJ5.js.map → TplModal-CsadClrH.js.map} +1 -1
  125. package/dist/cdn/chunks/{VersionHistoryMenu-C8ucm43v.js → VersionHistoryMenu-BNPxnWiO.js} +16 -16
  126. package/dist/cdn/chunks/{VersionHistoryMenu-C8ucm43v.js.map → VersionHistoryMenu-BNPxnWiO.js.map} +1 -1
  127. package/dist/cdn/chunks/{VersionHistoryPanels-BAdzmhvH.js → VersionHistoryPanels-CieY91f0.js} +3 -3
  128. package/dist/cdn/chunks/{VersionHistoryPanels-BAdzmhvH.js.map → VersionHistoryPanels-CieY91f0.js.map} +1 -1
  129. package/dist/cdn/chunks/{VersionPreviewBanner-BWuovbFc.js → VersionPreviewBanner-BldFvgxJ.js} +9 -9
  130. package/dist/cdn/chunks/{VersionPreviewBanner-BWuovbFc.js.map → VersionPreviewBanner-BldFvgxJ.js.map} +1 -1
  131. package/dist/cdn/chunks/{WrapperBlock-TXDSDXUP.js → WrapperBlock-DtnRuKWE.js} +13 -13
  132. package/dist/cdn/chunks/{WrapperBlock-TXDSDXUP.js.map → WrapperBlock-DtnRuKWE.js.map} +1 -1
  133. package/dist/cdn/chunks/{blockTypeIcons-CzYA5DF9.js → blockTypeIcons-19xd5ZPi.js} +6 -6
  134. package/dist/cdn/chunks/{blockTypeIcons-CzYA5DF9.js.map → blockTypeIcons-19xd5ZPi.js.map} +1 -1
  135. package/dist/cdn/chunks/{composables-CsfQlmcf.js → composables-CUIiW9OD.js} +1190 -1170
  136. package/dist/cdn/chunks/composables-CUIiW9OD.js.map +1 -0
  137. package/dist/cdn/chunks/{createCloudRuntime-PpIFCDfj.js → createCloudRuntime-B7D04wKf.js} +161 -147
  138. package/dist/cdn/chunks/createCloudRuntime-B7D04wKf.js.map +1 -0
  139. package/dist/cdn/chunks/da-CYWJkrTg.js +97 -0
  140. package/dist/cdn/chunks/da-CYWJkrTg.js.map +1 -0
  141. package/dist/cdn/chunks/da-qQzj0QGy.js +950 -0
  142. package/dist/cdn/chunks/da-qQzj0QGy.js.map +1 -0
  143. package/dist/cdn/chunks/{dist-BzXULHvI.js → dist-BtWMy7UQ.js} +3 -3
  144. package/dist/cdn/chunks/{dist-BzXULHvI.js.map → dist-BtWMy7UQ.js.map} +1 -1
  145. package/dist/cdn/chunks/dist-zu1jwYIS.js +405 -0
  146. package/dist/cdn/chunks/{dist-DqGgijFI.js.map → dist-zu1jwYIS.js.map} +1 -1
  147. package/dist/cdn/chunks/{draggable-DepKdldn.js → draggable-IRVFEZ-b.js} +1535 -1500
  148. package/dist/cdn/chunks/draggable-IRVFEZ-b.js.map +1 -0
  149. package/dist/cdn/chunks/{editor-modal-B8UE9V8B.js → editor-modal-CarOiAYJ.js} +137 -136
  150. package/dist/cdn/chunks/{editor-modal-B8UE9V8B.js.map → editor-modal-CarOiAYJ.js.map} +1 -1
  151. package/dist/cdn/chunks/en-B4s_0ryk.js +1 -0
  152. package/dist/cdn/chunks/{extensions-BM6ZSnsQ.js → extensions-Cbvk9i08.js} +96 -96
  153. package/dist/cdn/chunks/{extensions-BM6ZSnsQ.js.map → extensions-Cbvk9i08.js.map} +1 -1
  154. package/dist/cdn/chunks/{icons-DHExFLlT.js → icons-Cl4oR2mf.js} +73 -73
  155. package/dist/cdn/chunks/icons-Cl4oR2mf.js.map +1 -0
  156. package/dist/cdn/chunks/keys-BQqbBUag.js +11 -0
  157. package/dist/cdn/chunks/keys-BQqbBUag.js.map +1 -0
  158. package/dist/cdn/chunks/{normalizeMergeTagMarkup-aWjkotui.js → normalizeMergeTagMarkup-BJ-MnCqF.js} +55 -55
  159. package/dist/cdn/chunks/{normalizeMergeTagMarkup-aWjkotui.js.map → normalizeMergeTagMarkup-BJ-MnCqF.js.map} +1 -1
  160. package/dist/cdn/chunks/{preRenderCustomBlocks-Dn6dFUwx.js → preRenderCustomBlocks-D2wISRHq.js} +2 -2
  161. package/dist/cdn/chunks/{preRenderCustomBlocks-Dn6dFUwx.js.map → preRenderCustomBlocks-D2wISRHq.js.map} +1 -1
  162. package/dist/cdn/chunks/sanitizeHtml-CB7fjHFs.js +72 -0
  163. package/dist/cdn/chunks/sanitizeHtml-CB7fjHFs.js.map +1 -0
  164. package/dist/cdn/chunks/{socialIcons-Qw9rHc8C.js → socialIcons-C_yggK1_.js} +575 -524
  165. package/dist/cdn/chunks/socialIcons-C_yggK1_.js.map +1 -0
  166. package/dist/cdn/chunks/{src-C9JWWxAk.js → src-Bp7bZcuD.js} +108 -95
  167. package/dist/cdn/chunks/src-Bp7bZcuD.js.map +1 -0
  168. package/dist/cdn/chunks/{src-mXG-Of9A.js → src-CdVAke9t.js} +721 -696
  169. package/dist/cdn/chunks/src-CdVAke9t.js.map +1 -0
  170. package/dist/cdn/chunks/{src-Bfj1jHnn.js → src-D-URHI0Z.js} +232 -228
  171. package/dist/cdn/chunks/src-D-URHI0Z.js.map +1 -0
  172. package/dist/cdn/chunks/{tiptap-Dipw_zOQ.js → tiptap-BPiZqxCt.js} +42 -33
  173. package/dist/cdn/chunks/tiptap-BPiZqxCt.js.map +1 -0
  174. package/dist/cdn/chunks/{useCloudI18n-Xsih9yRH.js → useCloudI18n-Dr4S2TRW.js} +3 -3
  175. package/dist/cdn/chunks/{useCloudI18n-Xsih9yRH.js.map → useCloudI18n-Dr4S2TRW.js.map} +1 -1
  176. package/dist/cdn/chunks/useEditorRoot-B_kf_k-g.js +9 -0
  177. package/dist/cdn/chunks/{useEditorRoot-Beau2Z_T.js.map → useEditorRoot-B_kf_k-g.js.map} +1 -1
  178. package/dist/cdn/chunks/{useI18n-D8s7HtTn.js → useI18n-CSf-ZpcM.js} +3 -3
  179. package/dist/cdn/chunks/{useI18n-D8s7HtTn.js.map → useI18n-CSf-ZpcM.js.map} +1 -1
  180. package/dist/cdn/chunks/useLocalizedDisplay-slFOCPrh.js +33 -0
  181. package/dist/cdn/chunks/{useLocalizedDisplay-Bgg4qpev.js.map → useLocalizedDisplay-slFOCPrh.js.map} +1 -1
  182. package/dist/cdn/chunks/{useLogicTag-DLvWzWsp.js → useLogicTag-lPjCGeGC.js} +5 -5
  183. package/dist/cdn/chunks/{useLogicTag-DLvWzWsp.js.map → useLogicTag-lPjCGeGC.js.map} +1 -1
  184. package/dist/cdn/chunks/{useMergeTag-B4FHCGGm.js → useMergeTag-BKNBwIry.js} +8 -8
  185. package/dist/cdn/chunks/{useMergeTag-B4FHCGGm.js.map → useMergeTag-BKNBwIry.js.map} +1 -1
  186. package/dist/cdn/chunks/{usePopoverPosition-esO6wjvU.js → usePopoverPosition-BJFFi8x6.js} +3 -3
  187. package/dist/cdn/chunks/{usePopoverPosition-esO6wjvU.js.map → usePopoverPosition-BJFFi8x6.js.map} +1 -1
  188. package/dist/cdn/chunks/{useScrollToBlock-CJuUu7Xj.js → useScrollToBlock-MI4PP5lk.js} +3 -3
  189. package/dist/cdn/chunks/{useScrollToBlock-CJuUu7Xj.js.map → useScrollToBlock-MI4PP5lk.js.map} +1 -1
  190. package/dist/cdn/chunks/{withCurrentFont-QqBilClC.js → withCurrentFont-CzTFFaJA.js} +2 -2
  191. package/dist/cdn/chunks/{withCurrentFont-QqBilClC.js.map → withCurrentFont-CzTFFaJA.js.map} +1 -1
  192. package/dist/cdn/editor.css +1 -1
  193. package/dist/cdn/editor.js +784 -762
  194. package/dist/cdn/editor.js.map +1 -1
  195. package/dist/{check-CcuCoJDh.js → check-C7ua4TAK.js} +1 -1
  196. package/dist/{chevron-down-BfYIbFbC.js → chevron-down-DftQrAkI.js} +1 -1
  197. package/dist/{chevron-right-DyjFqY35.js → chevron-right-B-DULGbg.js} +1 -1
  198. package/dist/{chevron-up-BHEIxuS-.js → chevron-up-CeYsyD8c.js} +1 -1
  199. package/dist/{circle-alert-Tq7kAh9S.js → circle-exclamation-point-DHjORV_I.js} +3 -3
  200. package/dist/{clock-Df0ZiXwQ.js → clock-CajOtLEZ.js} +1 -1
  201. package/dist/{composables-CRX6rncm.js → composables-DbjgUQlV.js} +1663 -1643
  202. package/dist/{createCloudRuntime-DplyIlsy.js → createCloudRuntime-Cnh2M6iT.js} +54 -40
  203. package/dist/{createLucideIcon-CfBdtoUw.js → createLucideIcon-D-mELTSY.js} +6 -6
  204. package/dist/da-CYWJkrTg.js +95 -0
  205. package/dist/da-qQzj0QGy.js +948 -0
  206. package/dist/{dist-CX7skkvG.js → dist-A328tG0Z.js} +2 -2
  207. package/dist/{dist-B8dY8drK.js → dist-B15BvV94.js} +2 -2
  208. package/dist/{dist-TAv500j6.js → dist-B3G4Yvpd.js} +3 -3
  209. package/dist/dist-B6ptxfPo.js +406 -0
  210. package/dist/{dist-ChOb5XHW.js → dist-BmV-2uBJ.js} +2 -2
  211. package/dist/{dist-fqSers8_.js → dist-BxKFi2h_.js} +199 -199
  212. package/dist/{dist-BMUUt3zJ.js → dist-CAvsz9cW.js} +680 -655
  213. package/dist/{dist-D_XrUEET.js → dist-CMBOqk9I.js} +7 -7
  214. package/dist/{dist-DZ3X-uB8.js → dist-CXTsTO5h.js} +2 -2
  215. package/dist/{dist-B9a7iVye.js → dist-D5BUcCjv.js} +2 -2
  216. package/dist/dist-D9cbSSSx.js +4 -0
  217. package/dist/{dist-54VCNoC0.js → dist-DAdrn64r.js} +2 -2
  218. package/dist/{dist-BWflWcpW.js → dist-DENg3ORe.js} +33 -24
  219. package/dist/{dist-C3hu_C3w.js → dist-DI_8rB1X.js} +2 -2
  220. package/dist/dist-ELLEk-lS.js +4 -0
  221. package/dist/{editor-modal-D9HT9bD6.js → editor-modal-CgsaLpwB.js} +110 -109
  222. package/dist/en-DBLcB-CW.js +1 -0
  223. package/dist/{extensions-Cm6K4SRX.js → extensions-7fb-XtNJ.js} +180 -180
  224. package/dist/{eye-B3psrAqd.js → eye-fe5sKF_K.js} +1 -1
  225. package/dist/{image-C3yuPDxx.js → image-CUC7SZiW.js} +1 -1
  226. package/dist/index.d.ts +6 -4
  227. package/dist/{info-DKja7A68.js → info-DDbLU4pT.js} +1 -1
  228. package/dist/keys-D9oKZN1h.js +9 -0
  229. package/dist/{link-DhzPI4Hn.js → link-C2icj0iH.js} +1 -1
  230. package/dist/{list-DVGn7Ik2.js → list-KYC_Jb5A.js} +1 -1
  231. package/dist/{loader-circle-DqKWsMHO.js → loader-circle-DmyagWpc.js} +1 -1
  232. package/dist/{message-circle-C4TonoBs.js → message-circle-ijyWn6UJ.js} +1 -1
  233. package/dist/{normalizeMergeTagMarkup-Da9JAgx7.js → normalizeMergeTagMarkup-GrXJfXsQ.js} +82 -82
  234. package/dist/{package-9OkiEO4S.js → package-CKYm_jQY.js} +1 -1
  235. package/dist/{pencil-M9vkOB7C.js → pencil-C2TRSR-Y.js} +1 -1
  236. package/dist/{plus-DxZiv9YC.js → plus-CotJVDxb.js} +1 -1
  237. package/dist/{preRenderCustomBlocks-CdqSp2P7.js → preRenderCustomBlocks-DuXtzD-F.js} +3 -3
  238. package/dist/{refresh-cw-UY8_sdFG.js → refresh-cw-CuCRV6D5.js} +1 -1
  239. package/dist/{rotate-ccw-BFTGCpHn.js → rotate-ccw-BlnQ3y6R.js} +1 -1
  240. package/dist/{runtime-dom.esm-bundler-DlHp8xgy.js → runtime-dom.esm-bundler-nN-jsqr1.js} +20 -20
  241. package/dist/{sanitizeHtml-wBibnBF4.js → sanitizeHtml-eV4_BpI6.js} +25 -14
  242. package/dist/{search-RuGJnMEn.js → search-Dxw6oFrZ.js} +1 -1
  243. package/dist/{send-DGB1ar02.js → send-C-blQBZ9.js} +1 -1
  244. package/dist/{smartphone-CVA29CU_.js → smartphone-rLz4X-Dd.js} +1 -1
  245. package/dist/{socialIcons-CJD6OsI7.js → socialIcons-brRkK9Om.js} +600 -549
  246. package/dist/{sparkles-IHfEwEcd.js → sparkles-JWQlUiSn.js} +1 -1
  247. package/dist/{square-_Cl44UU6.js → square-DshDy1Il.js} +1 -1
  248. package/dist/style.css +1 -1
  249. package/dist/templatical-editor.js +976 -954
  250. package/dist/{text-align-start-Dqk2Xt_Q.js → text-align-start-CyasaQtr.js} +13 -13
  251. package/dist/{trash-Cr7rD5Hh.js → trash-B1lZp2Tv.js} +1 -1
  252. package/dist/{triangle-alert-CKcpwtUj.js → triangle-exclamation-point-BhJvBEoT.js} +3 -3
  253. package/dist/{upload-DR9pqVON.js → upload-CNK8JX38.js} +1 -1
  254. package/dist/{useCloudI18n-BczJoFf4.js → useCloudI18n-HhCZYRV6.js} +2 -2
  255. package/dist/useEditorRoot-B0Njczhx.js +7 -0
  256. package/dist/{useI18n-zeWYtWSv.js → useI18n-CM9vKbYc.js} +2 -2
  257. package/dist/{cdn/chunks/useLocalizedDisplay-Bgg4qpev.js → useLocalizedDisplay-DoaT7nWk.js} +2 -4
  258. package/dist/{useLogicTag-DLkYos2Q.js → useLogicTag-cTC2KbWd.js} +4 -4
  259. package/dist/{useMergeTag-IoWOO679.js → useMergeTag-D2YDZ8vR.js} +8 -8
  260. package/dist/{usePopoverPosition-Br3zt_MQ.js → usePopoverPosition-CVRzzLkC.js} +2 -2
  261. package/dist/{useScrollToBlock-BfOzc1Z6.js → useScrollToBlock-vf_KD0FM.js} +3 -3
  262. package/dist/{vue.runtime.esm-bundler-BJXc_Mri.js → vue.runtime.esm-bundler-BE5V8ADU.js} +414 -362
  263. package/dist/{withCurrentFont-m_PHcOD0.js → withCurrentFont-DAmED4fN.js} +1 -1
  264. package/dist/{x-DZSFHafL.js → x-DbLX5Qdm.js} +1 -1
  265. package/package.json +23 -23
  266. package/dist/AiPanels-DAsnX-a3.js +0 -31
  267. package/dist/CommentsPanel-C5qG17Ki.js +0 -16
  268. package/dist/CommentsSidebar-C7CWcUYZ.js +0 -526
  269. package/dist/LanguageMenu-B981Av-6.js +0 -403
  270. package/dist/cdn/chunks/AiChatPanel-DKDu9cs7.js.map +0 -1
  271. package/dist/cdn/chunks/AiPanels-jMLVaiKx.js +0 -32
  272. package/dist/cdn/chunks/AiPanels-jMLVaiKx.js.map +0 -1
  273. package/dist/cdn/chunks/AiRewriteMenu-s79rmHFy.js.map +0 -1
  274. package/dist/cdn/chunks/BlockIssueBadge-Bnmq_M4G.js.map +0 -1
  275. package/dist/cdn/chunks/BlockPreviewCanvas-B3HkuENF.js +0 -156
  276. package/dist/cdn/chunks/BlockPreviewCanvas-B3HkuENF.js.map +0 -1
  277. package/dist/cdn/chunks/CloudPanels-DQnlH_YJ.js.map +0 -1
  278. package/dist/cdn/chunks/CommentsPanel-EtdTzTmq.js +0 -18
  279. package/dist/cdn/chunks/CommentsPanel-EtdTzTmq.js.map +0 -1
  280. package/dist/cdn/chunks/CommentsSidebar-Qmj049QX.js +0 -496
  281. package/dist/cdn/chunks/CommentsSidebar-Qmj049QX.js.map +0 -1
  282. package/dist/cdn/chunks/IssuesPanel-DnSnEh1X.js.map +0 -1
  283. package/dist/cdn/chunks/LanguageMenu-C2I_yTL5.js.map +0 -1
  284. package/dist/cdn/chunks/RestoreVersionDialog-DqbULAbc.js.map +0 -1
  285. package/dist/cdn/chunks/Toolbar-C_Hfsher.js.map +0 -1
  286. package/dist/cdn/chunks/composables-CsfQlmcf.js.map +0 -1
  287. package/dist/cdn/chunks/createCloudRuntime-PpIFCDfj.js.map +0 -1
  288. package/dist/cdn/chunks/dist-DqGgijFI.js +0 -405
  289. package/dist/cdn/chunks/draggable-DepKdldn.js.map +0 -1
  290. package/dist/cdn/chunks/en-CVxNoHww.js +0 -1
  291. package/dist/cdn/chunks/icons-DHExFLlT.js.map +0 -1
  292. package/dist/cdn/chunks/keys-BUmIvYy3.js +0 -11
  293. package/dist/cdn/chunks/keys-BUmIvYy3.js.map +0 -1
  294. package/dist/cdn/chunks/sanitizeHtml-DJI7vvET.js +0 -61
  295. package/dist/cdn/chunks/sanitizeHtml-DJI7vvET.js.map +0 -1
  296. package/dist/cdn/chunks/socialIcons-Qw9rHc8C.js.map +0 -1
  297. package/dist/cdn/chunks/src-Bfj1jHnn.js.map +0 -1
  298. package/dist/cdn/chunks/src-C9JWWxAk.js.map +0 -1
  299. package/dist/cdn/chunks/src-mXG-Of9A.js.map +0 -1
  300. package/dist/cdn/chunks/tiptap-Dipw_zOQ.js.map +0 -1
  301. package/dist/cdn/chunks/useEditorRoot-Beau2Z_T.js +0 -9
  302. package/dist/dist-0alKVRc_.js +0 -406
  303. package/dist/dist-6DU0me3E.js +0 -4
  304. package/dist/dist-CcOn7WCo.js +0 -4
  305. package/dist/en-De3uAutQ.js +0 -1
  306. package/dist/keys-w_VRjoMu.js +0 -9
  307. package/dist/useEditorRoot-BcXKhM_8.js +0 -7
  308. package/dist/useLocalizedDisplay-Cbhx208c.js +0 -31
@@ -1,37 +1,37 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
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-BJXc_Mri.js";
3
- import { a as O, o as k } from "./runtime-dom.esm-bundler-DlHp8xgy.js";
4
- import { A, Ht as ee, _t as te, ct as j, f as M, g as ne, ht as re, i as N, in as ie, k as ae, kt as oe, n as se, on as ce, qt as le, r as ue, st as P, t as de } from "./dist-BMUUt3zJ.js";
5
- import { B as fe, T as pe, _ as me, b as he, d as ge, f as _e, g as ve, h as F, i as I, k as L, l as R, m as z, p as ye, r as B, s as be, u as xe, v as Se } from "./socialIcons-CJD6OsI7.js";
6
- import { t as Ce } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
7
- import { t as V } from "./createLucideIcon-CfBdtoUw.js";
8
- import { c as H } from "./LogicTagInsertButton-DEOPc4RC.js";
9
- import { t as we } from "./chevron-down-BfYIbFbC.js";
10
- import { t as Te } from "./circle-alert-Tq7kAh9S.js";
11
- import { n as Ee, t as De } from "./blockTypeIcons-CGplGmmr.js";
12
- import { n as Oe } from "./upload-DR9pqVON.js";
13
- import { t as ke } from "./image-C3yuPDxx.js";
14
- import { t as Ae } from "./info-DKja7A68.js";
15
- import { t as je } from "./link-DhzPI4Hn.js";
16
- import { n as Me, t as Ne } from "./smartphone-CVA29CU_.js";
17
- import { t as U } from "./plus-DxZiv9YC.js";
18
- import { t as Pe } from "./refresh-cw-UY8_sdFG.js";
19
- import { n as Fe, r as Ie, t as Le } from "./text-align-start-Dqk2Xt_Q.js";
20
- import { t as Re } from "./trash-Cr7rD5Hh.js";
21
- import { t as ze } from "./x-DZSFHafL.js";
22
- import { B as Be, C as Ve, H as He, O as Ue, T as We, W as Ge, Z as Ke, _ as qe, b as Je, h as Ye, p as Xe, r as Ze, st as Qe, v as $e } from "./keys-w_VRjoMu.js";
23
- import { t as W } from "./useI18n-zeWYtWSv.js";
24
- import { n as et } from "./useLocalizedDisplay-Cbhx208c.js";
25
- import { t as tt } from "./languageName-DEEOhDWI.js";
26
- import { C as nt, S as rt, _ as G, b as it, c as at, g as K, h as q, r as ot, v as J, y as st } from "./styleConstants-CgiNKdnc.js";
27
- import { _ as ct } from "./dist-CX7skkvG.js";
28
- import { t as lt } from "./logger-BOu7oEtk.js";
29
- import { c as ut, r as dt } from "./usePopoverPosition-Br3zt_MQ.js";
30
- import { n as Y, t as ft } from "./MergeTagTextarea-CrAcmT3A.js";
31
- import { t as X } from "./ToggleSwitch-R3wCCYE6.js";
32
- import { n as pt, t as mt } from "./withCurrentFont-m_PHcOD0.js";
33
- import { t as Z } from "./MergeTagInput-C9icdxw7.js";
34
- var ht = V({
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
+ 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-B1zOC_Nr.js";
5
+ import { c as M } from "./LogicTagInsertButton-CJ1Jk6jv.js";
6
+ import { t as N } from "./MergeTagInput-CV-z85s9.js";
7
+ import { t as P } from "./ToggleSwitch-BIPdFWUr.js";
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, v as V, y as ne } from "./styleConstants-CgiNKdnc.js";
9
+ import { t as re } from "./link-C2icj0iH.js";
10
+ import { t as ie } from "./createLucideIcon-D-mELTSY.js";
11
+ import { t as H } from "./useI18n-CM9vKbYc.js";
12
+ import { M as ae, Wt as oe, Yt as se, _ as ce, _t as le, cn as ue, i as de, j as U, jt as fe, lt as pe, n as me, on as he, p as W, r as G, t as K, ut as q, yt as J } from "./dist-CAvsz9cW.js";
13
+ import { n as ge, t as Y } from "./withCurrentFont-DAmED4fN.js";
14
+ import { t as _e } from "./languageName-DEEOhDWI.js";
15
+ import { n as X, t as ve } from "./blockTypeIcons-D1aYMC1M.js";
16
+ import { t as Z } from "./plus-CotJVDxb.js";
17
+ import { t as ye } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
18
+ import { B as be, T as xe, _ as Se, b as Ce, d as we, f as Te, g as Ee, h as Q, i as De, k as Oe, l as ke, m as Ae, p as je, r as Me, s as Ne, u as Pe, v as Fe } from "./socialIcons-brRkK9Om.js";
19
+ import { t as Ie } from "./image-CUC7SZiW.js";
20
+ import { B as Le, C as Re, H as ze, O as Be, Q as Ve, T as He, W as Ue, _ as We, b as Ge, ct as Ke, h as qe, p as Je, r as Ye, v as Xe } from "./keys-D9oKZN1h.js";
21
+ import { t as Ze } from "./chevron-down-DftQrAkI.js";
22
+ import { n as Qe, t as $e } from "./smartphone-rLz4X-Dd.js";
23
+ import { t as et } from "./logger-BOu7oEtk.js";
24
+ import { t as tt } from "./circle-exclamation-point-DHjORV_I.js";
25
+ import { t as nt } from "./refresh-cw-CuCRV6D5.js";
26
+ import { c as rt, r as it } from "./usePopoverPosition-CVRzzLkC.js";
27
+ import { t as at } from "./trash-B1lZp2Tv.js";
28
+ import { t as ot } from "./info-DDbLU4pT.js";
29
+ import { n as st } from "./useLocalizedDisplay-DoaT7nWk.js";
30
+ import { _ as ct } from "./dist-A328tG0Z.js";
31
+ import { n as lt, r as ut, t as dt } from "./text-align-start-CyasaQtr.js";
32
+ import { t as ft } from "./x-DbLX5Qdm.js";
33
+ import { n as pt } from "./upload-CNK8JX38.js";
34
+ var mt = ie({
35
35
  name: "lock-open",
36
36
  size: 24,
37
37
  node: [["rect", {
@@ -47,7 +47,7 @@ var ht = V({
47
47
  key: "1mm8w8"
48
48
  }]],
49
49
  aliases: ["unlock"]
50
- }), gt = V({
50
+ }), ht = ie({
51
51
  name: "lock",
52
52
  size: 24,
53
53
  node: [["rect", {
@@ -62,7 +62,7 @@ var ht = V({
62
62
  d: "M7 11V7a5 5 0 0 1 10 0v4",
63
63
  key: "fwvmzm"
64
64
  }]]
65
- }), _t = V({
65
+ }), gt = ie({
66
66
  name: "unlink",
67
67
  size: 24,
68
68
  node: [
@@ -103,14 +103,14 @@ var ht = V({
103
103
  key: "ox905f"
104
104
  }]
105
105
  ]
106
- }), vt = [
106
+ }), _t = [
107
107
  "aria-checked",
108
108
  "aria-label",
109
109
  "disabled",
110
110
  "aria-disabled",
111
111
  "title",
112
112
  "onClick"
113
- ], yt = { key: 1 }, Q = /* @__PURE__ */ D({
113
+ ], vt = { key: 1 }, $ = /* @__PURE__ */ D({
114
114
  __name: "SlidingPillSelect",
115
115
  props: {
116
116
  options: {},
@@ -155,14 +155,14 @@ var ht = V({
155
155
  key: 0,
156
156
  size: 14,
157
157
  "stroke-width": 2
158
- })) : (a(), v("span", yt, r(t.label), 1))], 12, vt))), 128))], 4));
158
+ })) : (a(), v("span", vt, r(t.label), 1))], 12, _t))), 128))], 4));
159
159
  }
160
- }), bt = { class: "tpl:flex tpl:items-stretch" }, xt = [
160
+ }), yt = { class: "tpl:flex tpl:items-stretch" }, bt = [
161
161
  "data-testid",
162
162
  "value",
163
163
  "min",
164
164
  "max"
165
- ], St = /* @__PURE__ */ D({
165
+ ], xt = /* @__PURE__ */ D({
166
166
  __name: "NumberWithSuffix",
167
167
  props: {
168
168
  modelValue: {},
@@ -178,22 +178,22 @@ var ht = V({
178
178
  let t = e.target;
179
179
  t.validity?.badInput || n("update:modelValue", Number(t.value));
180
180
  }
181
- return (t, n) => (a(), v("div", bt, [b("input", {
181
+ return (t, n) => (a(), v("div", yt, [b("input", {
182
182
  type: "number",
183
183
  "data-testid": e.testid,
184
- class: o(h(K)),
184
+ class: o(h(z)),
185
185
  value: e.modelValue,
186
186
  min: e.min,
187
187
  max: e.max,
188
188
  onInput: i
189
- }, null, 42, xt), b("span", { class: o(h(G)) }, r(e.suffix), 3)]));
189
+ }, null, 42, bt), b("span", { class: o(h(L)) }, r(e.suffix), 3)]));
190
190
  }
191
- }), Ct = [
191
+ }), St = [
192
192
  "aria-pressed",
193
193
  "aria-label",
194
194
  "title",
195
195
  "data-testid"
196
- ], wt = /* @__PURE__ */ D({
196
+ ], Ct = /* @__PURE__ */ D({
197
197
  __name: "LinkToggle",
198
198
  props: {
199
199
  linked: { type: Boolean },
@@ -212,20 +212,20 @@ var ht = V({
212
212
  title: e.linked ? e.unlinkLabel : e.linkLabel,
213
213
  "data-testid": e.testid,
214
214
  onClick: r[0] ||= (e) => n("toggle")
215
- }, [e.linked ? (a(), w(h(je), {
215
+ }, [e.linked ? (a(), w(h(re), {
216
216
  key: 0,
217
217
  size: 14,
218
218
  "stroke-width": 2
219
- })) : (a(), w(h(_t), {
219
+ })) : (a(), w(h(gt), {
220
220
  key: 1,
221
221
  size: 14,
222
222
  "stroke-width": 2
223
- }))], 10, Ct));
223
+ }))], 10, St));
224
224
  }
225
- }), Tt = {
225
+ }), wt = {
226
226
  key: 0,
227
227
  class: "tpl:mb-3.5"
228
- }, Et = { class: "tpl:mb-3.5" }, Dt = { class: "tpl:mb-3.5" }, Ot = /* @__PURE__ */ D({
228
+ }, Tt = { class: "tpl:mb-3.5" }, Et = { class: "tpl:mb-3.5" }, Dt = /* @__PURE__ */ D({
229
229
  __name: "BorderControl",
230
230
  props: {
231
231
  path: {},
@@ -234,7 +234,7 @@ var ht = V({
234
234
  },
235
235
  emits: ["update:modelValue"],
236
236
  setup(e, { emit: n }) {
237
- let i = e, s = n, { t: c } = W(), l = {
237
+ let i = e, s = n, { t: c } = H(), l = {
238
238
  width: 0,
239
239
  style: "solid",
240
240
  color: "#000000"
@@ -244,7 +244,7 @@ var ht = V({
244
244
  }
245
245
  let f = m(() => {
246
246
  let e = i.modelValue;
247
- return !e || N.every((t) => d(e[t], e.top));
247
+ return !e || de.every((t) => d(e[t], e.top));
248
248
  }), y = _(f.value);
249
249
  t(f, (e) => {
250
250
  !e && y.value && (y.value = !1);
@@ -255,13 +255,13 @@ var ht = V({
255
255
  }), T = (e) => !!e && e.width > 0;
256
256
  function E(e) {
257
257
  if (y.value) {
258
- s("update:modelValue", T(e) ? ce(e) : void 0);
258
+ s("update:modelValue", T(e) ? ue(e) : void 0);
259
259
  return;
260
260
  }
261
261
  let t = {
262
- ...i.modelValue ?? ce(l),
262
+ ...i.modelValue ?? ue(l),
263
263
  [x.value]: e
264
- }, n = N.some((e) => T(t[e]));
264
+ }, n = de.some((e) => T(t[e]));
265
265
  s("update:modelValue", n ? t : void 0);
266
266
  }
267
267
  function D(e) {
@@ -284,18 +284,18 @@ var ht = V({
284
284
  y.value = !0;
285
285
  let e = i.modelValue;
286
286
  if (!e) return;
287
- let t = T(e[x.value]) ? e[x.value] : N.map((t) => e[t]).find(T);
288
- s("update:modelValue", t ? ce(t) : void 0);
287
+ let t = T(e[x.value]) ? e[x.value] : de.map((t) => e[t]).find(T);
288
+ s("update:modelValue", t ? ue(t) : void 0);
289
289
  }
290
- let A = m(() => N.map((e) => ({
290
+ let j = m(() => de.map((e) => ({
291
291
  value: e,
292
292
  label: c.spacingControl[e]
293
293
  })));
294
- return (t, n) => (a(), w(Y, {
294
+ return (t, n) => (a(), w(A, {
295
295
  path: e.path,
296
296
  label: h(c).blockSettings.border
297
297
  }, {
298
- "label-actions": u(() => [p(wt, {
298
+ "label-actions": u(() => [p(Ct, {
299
299
  linked: y.value,
300
300
  "link-label": h(c).blockSettings.linkSides,
301
301
  "unlink-label": h(c).blockSettings.unlinkSides,
@@ -308,19 +308,19 @@ var ht = V({
308
308
  "testid"
309
309
  ])]),
310
310
  default: u(() => [
311
- y.value ? g("", !0) : (a(), v("div", Tt, [b("label", { class: o(h(J)) }, r(h(c).blockSettings.borderSide), 3), p(Q, {
312
- options: A.value,
311
+ y.value ? g("", !0) : (a(), v("div", wt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderSide), 3), p($, {
312
+ options: j.value,
313
313
  "model-value": x.value,
314
314
  "onUpdate:modelValue": n[0] ||= (e) => x.value = e
315
315
  }, null, 8, ["options", "model-value"])])),
316
- b("div", Et, [b("label", { class: o(h(J)) }, r(h(c).blockSettings.borderWidth), 3), p(St, {
316
+ b("div", Tt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderWidth), 3), p(xt, {
317
317
  "model-value": C.value.width,
318
318
  min: 0,
319
319
  suffix: "px",
320
320
  testid: `${e.testidPrefix}-border-width-input`,
321
321
  "onUpdate:modelValue": D
322
322
  }, null, 8, ["model-value", "testid"])]),
323
- C.value.width > 0 ? (a(), v(S, { key: 1 }, [b("div", Dt, [b("label", { class: o(h(J)) }, r(h(c).blockSettings.borderStyle), 3), p(Q, {
323
+ C.value.width > 0 ? (a(), v(S, { key: 1 }, [b("div", Et, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderStyle), 3), p($, {
324
324
  options: [
325
325
  {
326
326
  value: "solid",
@@ -337,7 +337,7 @@ var ht = V({
337
337
  ],
338
338
  "model-value": C.value.style,
339
339
  "onUpdate:modelValue": n[1] ||= (e) => O({ style: e })
340
- }, null, 8, ["options", "model-value"])]), b("div", null, [b("label", { class: o(h(J)) }, r(h(c).blockSettings.borderColor), 3), p(H, {
340
+ }, null, 8, ["options", "model-value"])]), b("div", null, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderColor), 3), p(M, {
341
341
  "model-value": C.value.color,
342
342
  "onUpdate:modelValue": n[2] ||= (e) => O({ color: e })
343
343
  }, null, 8, ["model-value"])])], 64)) : g("", !0)
@@ -345,10 +345,10 @@ var ht = V({
345
345
  _: 1
346
346
  }, 8, ["path", "label"]));
347
347
  }
348
- }), kt = {
348
+ }), Ot = {
349
349
  key: 1,
350
350
  class: "tpl:grid tpl:grid-cols-2 tpl:gap-2"
351
- }, At = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, jt = /* @__PURE__ */ D({
351
+ }, kt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, At = /* @__PURE__ */ D({
352
352
  __name: "RadiusControl",
353
353
  props: {
354
354
  path: {},
@@ -359,7 +359,7 @@ var ht = V({
359
359
  },
360
360
  emits: ["update:modelValue"],
361
361
  setup(e, { emit: n }) {
362
- let i = e, o = n, { t: c } = W(), l = {
362
+ let i = e, o = n, { t: c } = H(), l = {
363
363
  topLeft: "cornerTopLeft",
364
364
  topRight: "cornerTopRight",
365
365
  bottomRight: "cornerBottomRight",
@@ -377,7 +377,7 @@ var ht = V({
377
377
  bottomRight: e,
378
378
  bottomLeft: e
379
379
  } : e;
380
- }), g = m(() => ue.every((e) => f.value[e] === f.value.topLeft)), y = _(g.value);
380
+ }), g = m(() => G.every((e) => f.value[e] === f.value.topLeft)), y = _(g.value);
381
381
  t(g, (e) => {
382
382
  !e && y.value && (y.value = !1);
383
383
  });
@@ -396,11 +396,11 @@ var ht = V({
396
396
  function E() {
397
397
  y.value = !y.value, y.value && o("update:modelValue", f.value.topLeft);
398
398
  }
399
- return (t, n) => (a(), w(Y, {
399
+ return (t, n) => (a(), w(A, {
400
400
  path: e.path,
401
401
  label: e.label
402
402
  }, {
403
- "label-actions": u(() => [p(wt, {
403
+ "label-actions": u(() => [p(Ct, {
404
404
  linked: y.value,
405
405
  "link-label": h(c).blockSettings.linkCorners,
406
406
  "unlink-label": h(c).blockSettings.unlinkCorners,
@@ -412,7 +412,7 @@ var ht = V({
412
412
  "unlink-label",
413
413
  "testid"
414
414
  ])]),
415
- default: u(() => [y.value ? (a(), w(St, {
415
+ default: u(() => [y.value ? (a(), w(xt, {
416
416
  key: 0,
417
417
  "model-value": f.value.topLeft,
418
418
  min: 0,
@@ -424,7 +424,7 @@ var ht = V({
424
424
  "model-value",
425
425
  "max",
426
426
  "testid"
427
- ])) : (a(), v("div", kt, [(a(), v(S, null, s(d, (t) => b("div", { key: t }, [b("label", At, r(h(c).blockSettings[l[t]]), 1), p(St, {
427
+ ])) : (a(), v("div", Ot, [(a(), v(S, null, s(d, (t) => b("div", { key: t }, [b("label", kt, r(h(c).blockSettings[l[t]]), 1), p(xt, {
428
428
  "model-value": f.value[t],
429
429
  min: 0,
430
430
  max: e.max,
@@ -440,10 +440,10 @@ var ht = V({
440
440
  _: 1
441
441
  }, 8, ["path", "label"]));
442
442
  }
443
- }), Mt = ["value"], Nt = { value: "" }, Pt = ["value"], Ft = { class: "tpl:flex tpl:items-stretch" }, It = ["value"], Lt = ["value"], Rt = { value: "auto" }, zt = { value: "full" }, Bt = { value: "custom" }, Vt = {
443
+ }), jt = ["value"], Mt = { value: "" }, Nt = ["value"], Pt = { class: "tpl:flex tpl:items-stretch" }, Ft = ["value"], It = ["value"], Lt = { value: "auto" }, Rt = { value: "full" }, zt = { value: "custom" }, Bt = {
444
444
  key: 0,
445
445
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
446
- }, Ht = ["value"], Ut = 200, Wt = /* @__PURE__ */ D({
446
+ }, Vt = ["value"], Ht = 200, Ut = /* @__PURE__ */ D({
447
447
  __name: "ButtonToolbar",
448
448
  props: {
449
449
  block: {},
@@ -451,12 +451,12 @@ var ht = V({
451
451
  },
452
452
  emits: ["update"],
453
453
  setup(e, { emit: t }) {
454
- let n = e, i = t, { t: c } = W(), l = m(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" ? "custom" : "auto");
454
+ let n = e, i = t, { t: c } = H(), l = m(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" ? "custom" : "auto");
455
455
  function d(e, t) {
456
456
  i("update", { [e]: t });
457
457
  }
458
458
  function f(e) {
459
- e === "full" ? d("width", "full") : e === "custom" ? d("width", typeof n.block.width == "number" ? n.block.width : Ut) : d("width", void 0);
459
+ e === "full" ? d("width", "full") : e === "custom" ? d("width", typeof n.block.width == "number" ? n.block.width : Ht) : d("width", void 0);
460
460
  }
461
461
  function _(e) {
462
462
  d("fontWeight", e === "bold" ? void 0 : e);
@@ -466,49 +466,49 @@ var ht = V({
466
466
  !Number.isFinite(t) || t <= 0 || d("width", t);
467
467
  }
468
468
  return (t, n) => (a(), v(S, null, [
469
- p(Y, {
469
+ p(A, {
470
470
  label: h(c).button.fontFamily,
471
471
  class: "tpl:mb-3.5",
472
472
  path: "fontFamily"
473
473
  }, {
474
474
  default: u(() => [b("select", {
475
- class: o(h(q)),
476
- value: h(mt)(e.block.fontFamily),
475
+ class: o(h(B)),
476
+ value: h(Y)(e.block.fontFamily),
477
477
  onChange: n[0] ||= (e) => d("fontFamily", e.target.value || void 0)
478
- }, [b("option", Nt, r(h(c).button.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
478
+ }, [b("option", Mt, r(h(c).button.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
479
479
  key: e.value,
480
480
  value: e.value
481
- }, r(e.label), 9, Pt))), 128))], 42, Mt)]),
481
+ }, r(e.label), 9, Nt))), 128))], 42, jt)]),
482
482
  _: 1
483
483
  }, 8, ["label"]),
484
- p(Y, {
484
+ p(A, {
485
485
  label: h(c).button.text,
486
486
  class: "tpl:mb-3.5",
487
487
  path: "text"
488
488
  }, {
489
- default: u(() => [p(Z, {
489
+ default: u(() => [p(N, {
490
490
  "model-value": e.block.text,
491
491
  type: "text",
492
492
  "onUpdate:modelValue": n[1] ||= (e) => d("text", e)
493
493
  }, null, 8, ["model-value"])]),
494
494
  _: 1
495
495
  }, 8, ["label"]),
496
- p(Y, {
496
+ p(A, {
497
497
  label: h(c).button.url,
498
498
  class: "tpl:mb-3.5",
499
499
  path: "url"
500
500
  }, {
501
- default: u(() => [p(Z, {
501
+ default: u(() => [p(N, {
502
502
  "model-value": e.block.url,
503
503
  type: "url",
504
504
  placeholder: h(c).button.urlPlaceholder,
505
505
  "onUpdate:modelValue": n[2] ||= (e) => d("url", e)
506
- }, null, 8, ["model-value", "placeholder"]), e.block.url ? (a(), w(Y, {
506
+ }, null, 8, ["model-value", "placeholder"]), e.block.url ? (a(), w(A, {
507
507
  key: 0,
508
508
  path: "openInNewTab",
509
509
  label: h(c).button.openInNewTab
510
510
  }, {
511
- "label-actions": u(({ controlId: t }) => [p(X, {
511
+ "label-actions": u(({ controlId: t }) => [p(P, {
512
512
  "control-id": t,
513
513
  "hide-label": "",
514
514
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
@@ -524,36 +524,36 @@ var ht = V({
524
524
  }, 8, ["label"])) : g("", !0)]),
525
525
  _: 1
526
526
  }, 8, ["label"]),
527
- p(Y, {
527
+ p(A, {
528
528
  label: h(c).button.background,
529
529
  class: "tpl:mb-3.5",
530
530
  path: "backgroundColor"
531
531
  }, {
532
- default: u(() => [p(H, {
532
+ default: u(() => [p(M, {
533
533
  "model-value": e.block.backgroundColor,
534
534
  "allow-transparent": "",
535
535
  "onUpdate:modelValue": n[4] ||= (e) => d("backgroundColor", e)
536
536
  }, null, 8, ["model-value"])]),
537
537
  _: 1
538
538
  }, 8, ["label"]),
539
- p(Y, {
539
+ p(A, {
540
540
  label: h(c).button.textColor,
541
541
  class: "tpl:mb-3.5",
542
542
  path: "textColor"
543
543
  }, {
544
- default: u(() => [p(H, {
544
+ default: u(() => [p(M, {
545
545
  "model-value": e.block.textColor,
546
546
  "onUpdate:modelValue": n[5] ||= (e) => d("textColor", e)
547
547
  }, null, 8, ["model-value"])]),
548
548
  _: 1
549
549
  }, 8, ["label"]),
550
- p(Ot, {
550
+ p(Dt, {
551
551
  path: "border",
552
552
  "model-value": e.block.border,
553
553
  "testid-prefix": "button",
554
554
  "onUpdate:modelValue": n[6] ||= (e) => d("border", e)
555
555
  }, null, 8, ["model-value"]),
556
- p(jt, {
556
+ p(At, {
557
557
  path: "borderRadius",
558
558
  "model-value": e.block.borderRadius,
559
559
  label: h(c).button.borderRadius,
@@ -561,27 +561,27 @@ var ht = V({
561
561
  "testid-prefix": "button",
562
562
  "onUpdate:modelValue": n[7] ||= (e) => d("borderRadius", e)
563
563
  }, null, 8, ["model-value", "label"]),
564
- p(Y, {
564
+ p(A, {
565
565
  label: h(c).button.fontSize,
566
566
  class: "tpl:mb-3.5",
567
567
  path: "fontSize"
568
568
  }, {
569
- default: u(() => [b("div", Ft, [b("input", {
569
+ default: u(() => [b("div", Pt, [b("input", {
570
570
  type: "number",
571
- class: o(h(K)),
571
+ class: o(h(z)),
572
572
  value: e.block.fontSize,
573
573
  min: "10",
574
574
  max: "36",
575
575
  onInput: n[8] ||= (e) => d("fontSize", Number(e.target.value))
576
- }, null, 42, It), b("span", { class: o(h(G)) }, "px", 2)])]),
576
+ }, null, 42, Ft), b("span", { class: o(h(L)) }, "px", 2)])]),
577
577
  _: 1
578
578
  }, 8, ["label"]),
579
- p(Y, {
579
+ p(A, {
580
580
  label: h(c).button.fontWeight,
581
581
  class: "tpl:mb-3.5",
582
582
  path: "fontWeight"
583
583
  }, {
584
- default: u(() => [p(Q, {
584
+ default: u(() => [p($, {
585
585
  options: [
586
586
  {
587
587
  value: "regular",
@@ -601,34 +601,34 @@ var ht = V({
601
601
  }, null, 8, ["options", "model-value"])]),
602
602
  _: 1
603
603
  }, 8, ["label"]),
604
- p(Y, {
604
+ p(A, {
605
605
  label: h(c).button.width,
606
606
  class: "tpl:mb-3.5",
607
607
  path: "width"
608
608
  }, {
609
609
  default: u(() => [b("select", {
610
- class: o(h(q)),
610
+ class: o(h(B)),
611
611
  value: l.value,
612
612
  onChange: n[9] ||= (e) => f(e.target.value)
613
613
  }, [
614
- b("option", Rt, r(h(c).button.widthAuto), 1),
615
- b("option", zt, r(h(c).button.fullWidth), 1),
616
- b("option", Bt, r(h(c).button.widthCustom), 1)
617
- ], 42, Lt), l.value === "custom" ? (a(), v("div", Vt, [b("input", {
614
+ b("option", Lt, r(h(c).button.widthAuto), 1),
615
+ b("option", Rt, r(h(c).button.fullWidth), 1),
616
+ b("option", zt, r(h(c).button.widthCustom), 1)
617
+ ], 42, It), l.value === "custom" ? (a(), v("div", Bt, [b("input", {
618
618
  type: "number",
619
- class: o(h(K)),
620
- value: typeof e.block.width == "number" ? e.block.width : Ut,
619
+ class: o(h(z)),
620
+ value: typeof e.block.width == "number" ? e.block.width : Ht,
621
621
  min: "20",
622
622
  onInput: n[10] ||= (e) => y(e.target.value)
623
- }, null, 42, Ht), b("span", { class: o(h(G)) }, "px", 2)])) : g("", !0)]),
623
+ }, null, 42, Vt), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)]),
624
624
  _: 1
625
625
  }, 8, ["label"]),
626
- p(Y, {
626
+ p(A, {
627
627
  label: h(c).title.align,
628
628
  class: "tpl:mb-3.5",
629
629
  path: "align"
630
630
  }, {
631
- default: u(() => [p(Q, {
631
+ default: u(() => [p($, {
632
632
  options: [
633
633
  {
634
634
  value: "left",
@@ -650,7 +650,7 @@ var ht = V({
650
650
  }, 8, ["label"])
651
651
  ], 64));
652
652
  }
653
- }), Gt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Kt = { class: "tpl:flex tpl:items-center" }, qt = ["aria-label"], Jt = ["value", "aria-label"], Yt = ["aria-label"], Xt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Zt = { class: "tpl:flex tpl:items-center" }, Qt = ["aria-label"], $t = ["value", "aria-label"], en = ["aria-label"], tn = ["aria-label", "title"], nn = { class: "tpl:flex tpl:items-center" }, rn = ["aria-label"], an = ["value", "aria-label"], on = ["aria-label"], sn = { class: "tpl:flex tpl:items-center" }, cn = ["aria-label"], ln = ["value", "aria-label"], un = ["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)]", dn = "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)]", fn = /*#__PURE__*/ Ce(/* @__PURE__ */ D({
653
+ }), Wt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Gt = { class: "tpl:flex tpl:items-center" }, Kt = ["aria-label"], qt = ["value", "aria-label"], Jt = ["aria-label"], Yt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Xt = { class: "tpl:flex tpl:items-center" }, Zt = ["aria-label"], Qt = ["value", "aria-label"], $t = ["aria-label"], en = ["aria-label", "title"], tn = { class: "tpl:flex tpl:items-center" }, nn = ["aria-label"], rn = ["value", "aria-label"], an = ["aria-label"], on = { class: "tpl:flex tpl:items-center" }, sn = ["aria-label"], cn = ["value", "aria-label"], ln = ["aria-label"], un = "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)]", dn = "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)]", fn = /*#__PURE__*/ ye(/* @__PURE__ */ D({
654
654
  __name: "SpacingControl",
655
655
  props: {
656
656
  path: {},
@@ -659,7 +659,7 @@ var ht = V({
659
659
  },
660
660
  emits: ["update:modelValue"],
661
661
  setup(e, { emit: n }) {
662
- 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);
662
+ let r = e, i = n, { t: s } = H(), c = m(() => r.modelValue.top === r.modelValue.right && r.modelValue.right === r.modelValue.bottom && r.modelValue.bottom === r.modelValue.left), l = _(c.value);
663
663
  t(c, (e) => {
664
664
  !e && l.value && (l.value = !1);
665
665
  });
@@ -698,21 +698,21 @@ var ht = V({
698
698
  });
699
699
  }
700
700
  }
701
- return (t, n) => (a(), w(Y, {
701
+ return (t, n) => (a(), w(A, {
702
702
  class: "spacing-control",
703
703
  path: e.path,
704
704
  label: e.label
705
705
  }, {
706
- default: u(() => [b("div", Gt, [
707
- b("div", Kt, [
706
+ default: u(() => [b("div", Wt, [
707
+ b("div", Gt, [
708
708
  b("button", {
709
709
  "aria-label": h(s).spacingControl.decreaseTop,
710
- class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
710
+ class: o([un, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
711
711
  onClick: n[0] ||= (e) => d("top", -1)
712
- }, [p(h(Ee), {
712
+ }, [p(h(X), {
713
713
  size: 12,
714
714
  "stroke-width": 2
715
- })], 10, qt),
715
+ })], 10, Kt),
716
716
  b("input", {
717
717
  type: "number",
718
718
  class: o(dn),
@@ -720,26 +720,26 @@ var ht = V({
720
720
  "aria-label": h(s).spacingControl.top,
721
721
  min: "0",
722
722
  onInput: n[1] ||= (e) => f("top", Number(e.target.value))
723
- }, null, 40, Jt),
723
+ }, null, 40, qt),
724
724
  b("button", {
725
725
  "aria-label": h(s).spacingControl.increaseTop,
726
- class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
726
+ class: o([un, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
727
727
  onClick: n[2] ||= (e) => d("top", 1)
728
- }, [p(h(U), {
728
+ }, [p(h(Z), {
729
729
  size: 12,
730
730
  "stroke-width": 2
731
- })], 10, Yt)
731
+ })], 10, Jt)
732
732
  ]),
733
- b("div", Xt, [
734
- b("div", Zt, [
733
+ b("div", Yt, [
734
+ b("div", Xt, [
735
735
  b("button", {
736
736
  "aria-label": h(s).spacingControl.decreaseLeft,
737
- class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
737
+ class: o([un, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
738
738
  onClick: n[3] ||= (e) => d("left", -1)
739
- }, [p(h(Ee), {
739
+ }, [p(h(X), {
740
740
  size: 12,
741
741
  "stroke-width": 2
742
- })], 10, Qt),
742
+ })], 10, Zt),
743
743
  b("input", {
744
744
  type: "number",
745
745
  class: o(dn),
@@ -747,39 +747,39 @@ var ht = V({
747
747
  "aria-label": h(s).spacingControl.left,
748
748
  min: "0",
749
749
  onInput: n[4] ||= (e) => f("left", Number(e.target.value))
750
- }, null, 40, $t),
750
+ }, null, 40, Qt),
751
751
  b("button", {
752
752
  "aria-label": h(s).spacingControl.increaseLeft,
753
- class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
753
+ class: o([un, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
754
754
  onClick: n[5] ||= (e) => d("left", 1)
755
- }, [p(h(U), {
755
+ }, [p(h(Z), {
756
756
  size: 12,
757
757
  "stroke-width": 2
758
- })], 10, en)
758
+ })], 10, $t)
759
759
  ]),
760
760
  b("button", {
761
761
  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)]"]),
762
762
  "aria-label": l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
763
763
  title: l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
764
764
  onClick: g
765
- }, [l.value ? (a(), w(h(gt), {
765
+ }, [l.value ? (a(), w(h(ht), {
766
766
  key: 0,
767
767
  size: 14,
768
768
  "stroke-width": 2
769
- })) : (a(), w(h(ht), {
769
+ })) : (a(), w(h(mt), {
770
770
  key: 1,
771
771
  size: 14,
772
772
  "stroke-width": 2
773
- }))], 10, tn),
774
- b("div", nn, [
773
+ }))], 10, en),
774
+ b("div", tn, [
775
775
  b("button", {
776
776
  "aria-label": h(s).spacingControl.decreaseRight,
777
- class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
777
+ class: o([un, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
778
778
  onClick: n[6] ||= (e) => d("right", -1)
779
- }, [p(h(Ee), {
779
+ }, [p(h(X), {
780
780
  size: 12,
781
781
  "stroke-width": 2
782
- })], 10, rn),
782
+ })], 10, nn),
783
783
  b("input", {
784
784
  type: "number",
785
785
  class: o(dn),
@@ -787,26 +787,26 @@ var ht = V({
787
787
  "aria-label": h(s).spacingControl.right,
788
788
  min: "0",
789
789
  onInput: n[7] ||= (e) => f("right", Number(e.target.value))
790
- }, null, 40, an),
790
+ }, null, 40, rn),
791
791
  b("button", {
792
792
  "aria-label": h(s).spacingControl.increaseRight,
793
- class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
793
+ class: o([un, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
794
794
  onClick: n[8] ||= (e) => d("right", 1)
795
- }, [p(h(U), {
795
+ }, [p(h(Z), {
796
796
  size: 12,
797
797
  "stroke-width": 2
798
- })], 10, on)
798
+ })], 10, an)
799
799
  ])
800
800
  ]),
801
- b("div", sn, [
801
+ b("div", on, [
802
802
  b("button", {
803
803
  "aria-label": h(s).spacingControl.decreaseBottom,
804
- class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
804
+ class: o([un, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
805
805
  onClick: n[9] ||= (e) => d("bottom", -1)
806
- }, [p(h(Ee), {
806
+ }, [p(h(X), {
807
807
  size: 12,
808
808
  "stroke-width": 2
809
- })], 10, cn),
809
+ })], 10, sn),
810
810
  b("input", {
811
811
  type: "number",
812
812
  class: o(dn),
@@ -814,15 +814,15 @@ var ht = V({
814
814
  "aria-label": h(s).spacingControl.bottom,
815
815
  min: "0",
816
816
  onInput: n[10] ||= (e) => f("bottom", Number(e.target.value))
817
- }, null, 40, ln),
817
+ }, null, 40, cn),
818
818
  b("button", {
819
819
  "aria-label": h(s).spacingControl.increaseBottom,
820
- class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
820
+ class: o([un, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
821
821
  onClick: n[11] ||= (e) => d("bottom", 1)
822
- }, [p(h(U), {
822
+ }, [p(h(Z), {
823
823
  size: 12,
824
824
  "stroke-width": 2
825
- })], 10, un)
825
+ })], 10, ln)
826
826
  ])
827
827
  ])]),
828
828
  _: 1
@@ -833,14 +833,14 @@ var ht = V({
833
833
  function pn(e) {
834
834
  let n = _(null), r = () => {};
835
835
  return t(e, (e) => {
836
- r(), n.value = null, e && (r = ye(e, (e) => {
836
+ r(), n.value = null, e && (r = je(e, (e) => {
837
837
  n.value = e;
838
838
  }));
839
839
  }, { immediate: !0 }), n;
840
840
  }
841
841
  function mn() {
842
- let e = E(Ve, null);
843
- return async (t) => z(e ? await hn(e, t) : t);
842
+ let e = E(Re, null);
843
+ return async (t) => Ae(e ? await hn(e, t) : t);
844
844
  }
845
845
  function hn(e, n) {
846
846
  let r = (e) => typeof e == "string" && e.length > 0 ? e : n;
@@ -870,14 +870,14 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
870
870
  },
871
871
  emits: ["update:modelValue"],
872
872
  setup(e, { emit: t }) {
873
- let n = e, i = t, { t: c } = W(), l = E(Be, ne.liquid), u = m(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = m(() => u.value.trim() !== ""), x = mn(), C;
873
+ let n = e, i = t, { t: c } = H(), l = E(Le, ce.liquid), u = m(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = m(() => u.value.trim() !== ""), x = mn(), C;
874
874
  f(() => clearTimeout(C));
875
875
  function T(e) {
876
- n.measure && !ae(e, l) && (C = setTimeout(async () => {
876
+ n.measure && !U(e, l) && (C = setTimeout(async () => {
877
877
  let t = await x(e), r = n.modelValue;
878
878
  t && r?.url === e && i("update:modelValue", {
879
879
  ...r,
880
- ...F(t)
880
+ ...Q(t)
881
881
  });
882
882
  }, 300));
883
883
  }
@@ -886,11 +886,11 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
886
886
  i("update:modelValue", void 0);
887
887
  return;
888
888
  }
889
- let { naturalWidth: r, naturalHeight: a, ...o } = n.modelValue ?? A(e), s = n.measure ? t : null;
889
+ let { naturalWidth: r, naturalHeight: a, ...o } = n.modelValue ?? ae(e), s = n.measure ? t : null;
890
890
  i("update:modelValue", {
891
891
  ...o,
892
892
  url: e,
893
- ...s ? F(s) : {}
893
+ ...s ? Q(s) : {}
894
894
  }), s || T(e);
895
895
  }
896
896
  function O(e) {
@@ -912,7 +912,7 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
912
912
  value: "auto",
913
913
  label: c.blockSettings.backgroundSizeAuto
914
914
  }
915
- ]), ee = m(() => ({
915
+ ]), A = m(() => ({
916
916
  "top-left": c.blockSettings.backgroundPositionTopLeft,
917
917
  "top-center": c.blockSettings.backgroundPositionTopCenter,
918
918
  "top-right": c.blockSettings.backgroundPositionTopRight,
@@ -922,39 +922,39 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
922
922
  "bottom-left": c.blockSettings.backgroundPositionBottomLeft,
923
923
  "bottom-center": c.blockSettings.backgroundPositionBottomCenter,
924
924
  "bottom-right": c.blockSettings.backgroundPositionBottomRight
925
- })), te = m(() => se.flatMap((e) => de.map((t) => ({
925
+ })), j = m(() => me.flatMap((e) => K.map((t) => ({
926
926
  x: t,
927
927
  y: e,
928
- label: ee.value[`${e}-${t}`]
928
+ label: A.value[`${e}-${t}`]
929
929
  }))));
930
- function j(e) {
930
+ function M(e) {
931
931
  return n.modelValue?.position?.x === e.x && n.modelValue?.position?.y === e.y;
932
932
  }
933
- let M = _(), { canBrowse: re, isUploading: N, showOverlay: ie, openMediaBrowser: oe } = xe({
934
- target: M,
935
- blocked: () => ae(u.value, l),
936
- apply: (e) => D(e.url, me(e.width, e.height))
933
+ let F = _(), { canBrowse: I, isUploading: L, showOverlay: ee, openMediaBrowser: R } = Pe({
934
+ target: F,
935
+ blocked: () => U(u.value, l),
936
+ apply: (e) => D(e.url, Se(e.width, e.height))
937
937
  });
938
938
  return (t, n) => (a(), v("div", gn, [b("div", null, [e.hideLabel ? g("", !0) : (a(), v("label", {
939
939
  key: 0,
940
- class: o(h(J))
940
+ class: o(h(V))
941
941
  }, r(h(c).blockSettings.backgroundImage), 3)), b("div", {
942
942
  ref_key: "dropZoneRef",
943
- ref: M,
943
+ ref: F,
944
944
  class: "tpl:relative",
945
945
  "data-testid": `${e.testidPrefix}-bg-url`
946
946
  }, [
947
- h(ie) ? (a(), w(_e, {
947
+ h(ee) ? (a(), w(Te, {
948
948
  key: 0,
949
- uploading: h(N)
949
+ uploading: h(L)
950
950
  }, null, 8, ["uploading"])) : g("", !0),
951
- p(Z, {
951
+ p(N, {
952
952
  "model-value": u.value,
953
953
  type: "url",
954
954
  placeholder: h(c).blockSettings.backgroundImagePlaceholder,
955
955
  "onUpdate:modelValue": D
956
956
  }, null, 8, ["model-value", "placeholder"]),
957
- h(re) ? (a(), v("button", {
957
+ h(I) ? (a(), v("button", {
958
958
  key: 1,
959
959
  type: "button",
960
960
  "data-testid": `${e.testidPrefix}-bg-browse`,
@@ -964,8 +964,8 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
964
964
  color: "var(--tpl-primary)",
965
965
  "background-color": "var(--tpl-bg)"
966
966
  },
967
- onClick: n[0] ||= (...e) => h(oe) && h(oe)(...e)
968
- }, [p(h(ke), {
967
+ onClick: n[0] ||= (...e) => h(R) && h(R)(...e)
968
+ }, [p(h(Ie), {
969
969
  size: 14,
970
970
  "stroke-width": 1.5
971
971
  }), y(" " + r(h(c).image.browseMedia), 1)], 8, vn)) : g("", !0)
@@ -973,33 +973,33 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
973
973
  e.heroMode ? g("", !0) : (a(), v("div", {
974
974
  key: 0,
975
975
  "data-testid": `${e.testidPrefix}-bg-size`
976
- }, [b("label", { class: o(h(J)) }, r(h(c).blockSettings.backgroundSize), 3), p(Q, {
976
+ }, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.backgroundSize), 3), p($, {
977
977
  options: k.value,
978
978
  "model-value": e.modelValue.size,
979
979
  "onUpdate:modelValue": n[1] ||= (e) => O({ size: e })
980
980
  }, null, 8, ["options", "model-value"])], 8, yn)),
981
- b("div", null, [b("label", { class: o(h(J)) }, r(h(c).blockSettings.backgroundPosition), 3), b("div", {
981
+ b("div", null, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.backgroundPosition), 3), b("div", {
982
982
  role: "group",
983
983
  "aria-label": h(c).blockSettings.backgroundPosition,
984
984
  "data-testid": `${e.testidPrefix}-bg-position`,
985
985
  class: "tpl:grid tpl:w-24 tpl:grid-cols-3 tpl:gap-1"
986
- }, [(a(!0), v(S, null, s(te.value, (t) => (a(), v("button", {
986
+ }, [(a(!0), v(S, null, s(j.value, (t) => (a(), v("button", {
987
987
  key: `${t.y}-${t.x}`,
988
988
  type: "button",
989
989
  "aria-label": t.label,
990
990
  title: t.label,
991
- "aria-pressed": j(t),
991
+ "aria-pressed": M(t),
992
992
  "data-testid": `${e.testidPrefix}-bg-position-${t.y}-${t.x}`,
993
- class: o(["tpl:flex tpl:h-6 tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:transition-colors", j(t) ? "tpl:border-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:hover:border-[var(--tpl-text-dim)]"]),
993
+ class: o(["tpl:flex tpl:h-6 tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:transition-colors", M(t) ? "tpl:border-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:hover:border-[var(--tpl-text-dim)]"]),
994
994
  onClick: (e) => O({ position: {
995
995
  x: t.x,
996
996
  y: t.y
997
997
  } })
998
- }, [b("span", { class: o(["tpl:block tpl:h-1.5 tpl:w-1.5 tpl:rounded-full", j(t) ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-text-dim)]"]) }, null, 2)], 10, xn))), 128))], 8, bn)]),
998
+ }, [b("span", { class: o(["tpl:block tpl:h-1.5 tpl:w-1.5 tpl:rounded-full", M(t) ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-text-dim)]"]) }, null, 2)], 10, xn))), 128))], 8, bn)]),
999
999
  e.heroMode ? g("", !0) : (a(), v("div", {
1000
1000
  key: 1,
1001
1001
  "data-testid": `${e.testidPrefix}-bg-repeat`
1002
- }, [p(X, {
1002
+ }, [p(P, {
1003
1003
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1004
1004
  "model-value": e.modelValue.repeat,
1005
1005
  label: h(c).blockSettings.backgroundRepeat,
@@ -1022,7 +1022,7 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
1022
1022
  "data-testid": e.headerTestId,
1023
1023
  class: "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
1024
1024
  onClick: i[0] ||= (e) => t.$emit("toggle")
1025
- }, [p(h(we), {
1025
+ }, [p(h(Ze), {
1026
1026
  class: o(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
1027
1027
  size: 12,
1028
1028
  "stroke-width": 2
@@ -1056,7 +1056,7 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
1056
1056
  function n(e) {
1057
1057
  return typeof e == "number" && Number.isFinite(e) && e >= 1;
1058
1058
  }
1059
- let i = e, s = t, { t: c } = W(), l = E(Be, ne.liquid), u = E($e, null), d = E(We, void 0), f = mn(), _ = m(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = m(() => _.value.trim() !== ""), x = m(() => ae(_.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 : Nn), O = m(() => [
1059
+ let i = e, s = t, { t: c } = H(), l = E(Le, ce.liquid), u = E(Xe, null), d = E(He, void 0), f = mn(), _ = m(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = m(() => _.value.trim() !== ""), x = m(() => U(_.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 : Nn), O = m(() => [
1060
1060
  {
1061
1061
  value: "fit",
1062
1062
  label: c.blockSettings.heroHeightFit
@@ -1083,17 +1083,17 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
1083
1083
  value: "bottom",
1084
1084
  label: c.blockSettings.heroAlignBottom
1085
1085
  }
1086
- ]), A = m(() => T.value === "image" && y.value && !x.value && re(i.section.backgroundImage) === null);
1087
- function ee() {
1088
- return (u ? be(u.content.value, i.section.id, d, u.activeLocale?.value ?? void 0) : null) ?? R(u?.state.content.settings);
1086
+ ]), A = m(() => T.value === "image" && y.value && !x.value && le(i.section.backgroundImage) === null);
1087
+ function j() {
1088
+ return (u ? Ne(u.content.value, i.section.id, d, u.activeLocale?.value ?? void 0) : null) ?? ke(u?.state.content.settings);
1089
1089
  }
1090
- function te(e) {
1090
+ function M(e) {
1091
1091
  let t = S.value?.verticalAlign ?? "middle";
1092
1092
  if (e === "image") {
1093
1093
  T.value !== "image" && s("update", { hero: {
1094
1094
  height: "image",
1095
1095
  verticalAlign: t
1096
- } }), j();
1096
+ } }), N();
1097
1097
  return;
1098
1098
  }
1099
1099
  if (e === T.value) return;
@@ -1101,28 +1101,28 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
1101
1101
  s("update", { hero: void 0 });
1102
1102
  return;
1103
1103
  }
1104
- let n = re(i.section.backgroundImage), r = n === null ? Nn : Math.round(ee() * n);
1104
+ let n = le(i.section.backgroundImage), r = n === null ? Nn : Math.round(j() * n);
1105
1105
  s("update", { hero: {
1106
1106
  height: r,
1107
1107
  verticalAlign: t
1108
1108
  } });
1109
1109
  }
1110
- async function j() {
1110
+ async function N() {
1111
1111
  let e = i.section.backgroundImage;
1112
- if (!e || !y.value || x.value || re(e) !== null) return;
1112
+ if (!e || !y.value || x.value || le(e) !== null) return;
1113
1113
  let t = e.url, n = await f(t), r = i.section.backgroundImage;
1114
1114
  n && r && r.url === t && s("update", { backgroundImage: {
1115
1115
  ...r,
1116
- ...F(n)
1116
+ ...Q(n)
1117
1117
  } });
1118
1118
  }
1119
- function M(e) {
1119
+ function P(e) {
1120
1120
  !S.value || !Number.isFinite(e) || e < 1 || s("update", { hero: {
1121
1121
  ...S.value,
1122
1122
  height: Math.round(e)
1123
1123
  } });
1124
1124
  }
1125
- function N(e) {
1125
+ function F(e) {
1126
1126
  S.value && s("update", { hero: {
1127
1127
  ...S.value,
1128
1128
  verticalAlign: e
@@ -1130,26 +1130,26 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
1130
1130
  }
1131
1131
  return (e, t) => !C.value && S.value ? (a(), v("p", Dn, r(h(c).section.heroNeedsOneColumn), 1)) : C.value && (y.value || S.value) ? (a(), v("div", On, [
1132
1132
  b("div", kn, [
1133
- b("label", { class: o(h(J)) }, r(h(c).blockSettings.heroHeight), 3),
1134
- p(Q, {
1133
+ b("label", { class: o(h(V)) }, r(h(c).blockSettings.heroHeight), 3),
1134
+ p($, {
1135
1135
  options: O.value,
1136
1136
  "model-value": T.value,
1137
- "onUpdate:modelValue": te
1137
+ "onUpdate:modelValue": M
1138
1138
  }, null, 8, ["options", "model-value"]),
1139
1139
  x.value ? (a(), v("p", An, r(h(c).blockSettings.heroMatchImageMergeTag), 1)) : A.value ? (a(), v("p", jn, r(h(c).blockSettings.heroSizeUnknown), 1)) : g("", !0)
1140
1140
  ]),
1141
- T.value === "fixed" ? (a(), w(St, {
1141
+ T.value === "fixed" ? (a(), w(xt, {
1142
1142
  key: 0,
1143
1143
  "model-value": D.value,
1144
1144
  min: 1,
1145
1145
  suffix: "px",
1146
1146
  testid: "section-hero-height-px",
1147
- "onUpdate:modelValue": M
1147
+ "onUpdate:modelValue": P
1148
1148
  }, null, 8, ["model-value"])) : g("", !0),
1149
- S.value ? (a(), v("div", Mn, [b("label", { class: o(h(J)) }, r(h(c).blockSettings.heroAlign), 3), p(Q, {
1149
+ S.value ? (a(), v("div", Mn, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.heroAlign), 3), p($, {
1150
1150
  options: k.value,
1151
1151
  "model-value": S.value.verticalAlign,
1152
- "onUpdate:modelValue": N
1152
+ "onUpdate:modelValue": F
1153
1153
  }, null, 8, ["options", "model-value"])])) : g("", !0)
1154
1154
  ])) : g("", !0);
1155
1155
  }
@@ -1175,10 +1175,10 @@ function Rn(e) {
1175
1175
  return In(e.styles.backgroundColor) || !!e.backgroundImage;
1176
1176
  }
1177
1177
  function zn(e) {
1178
- return e.fullWidth !== !0 || Ln(e.padding) || ie(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Fn.has(e));
1178
+ return e.fullWidth !== !0 || Ln(e.padding) || he(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Fn.has(e));
1179
1179
  }
1180
1180
  function Bn(e, t = {}) {
1181
- return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && oe(t.layout);
1181
+ return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && fe(t.layout);
1182
1182
  }
1183
1183
  function Vn(e) {
1184
1184
  let t = {};
@@ -1249,86 +1249,86 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1249
1249
  },
1250
1250
  emits: ["update"],
1251
1251
  setup(e, { emit: n }) {
1252
- let c = e, f = n, { t: x, format: T } = W(), D = E($e, null), k = E(Ue, void 0), A = m(() => D?.activeLocale?.value), te = m(() => !!(A.value && D?.selectedBlock?.value?.l10n?.[A.value]?.hidden)), j = E(qe, []), M = E(Ze, !1), ne = E(We, void 0), re = E(Ke, void 0), N = m(() => c.block.type === "section" || c.block.type === "wrapper"), ie = m(() => c.block.type === "wrapper" ? c.block.fullWidth === !0 : c.block.type === "section" && c.block.wrapper?.fullWidth === !0), ae = m(() => c.block.type === "section" && Bn(c.block, {
1253
- sectionWrapper: re,
1254
- layout: ne
1255
- })), oe = m(() => c.block.type === "wrapper" ? "layout-wrapper-full-width" : "section-background-full-width");
1256
- function se(e) {
1252
+ let c = e, f = n, { t: x, format: T } = H(), D = E(Xe, null), k = E(Be, void 0), j = m(() => D?.activeLocale?.value), N = m(() => !!(j.value && D?.selectedBlock?.value?.l10n?.[j.value]?.hidden)), I = E(We, []), L = E(Ye, !1), R = E(He, void 0), z = E(Ve, void 0), B = m(() => c.block.type === "section" || c.block.type === "wrapper"), te = m(() => c.block.type === "wrapper" ? c.block.fullWidth === !0 : c.block.type === "section" && c.block.wrapper?.fullWidth === !0), V = m(() => c.block.type === "section" && Bn(c.block, {
1253
+ sectionWrapper: z,
1254
+ layout: R
1255
+ })), re = m(() => c.block.type === "wrapper" ? "layout-wrapper-full-width" : "section-background-full-width");
1256
+ function ie(e) {
1257
1257
  c.block.type === "wrapper" ? f("update", { fullWidth: e }) : c.block.type === "section" && f("update", Un(c.block, e));
1258
1258
  }
1259
- let ce = m(() => c.block.type === "section" && c.block.wrapper?.fullWidth === !0), ue = m(() => ce.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), P = m(() => ce.value ? "wrapper.backgroundImage" : "backgroundImage"), de = m(() => {
1259
+ let ae = m(() => c.block.type === "section" && c.block.wrapper?.fullWidth === !0), ce = m(() => ae.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), le = m(() => ae.value ? "wrapper.backgroundImage" : "backgroundImage"), ue = m(() => {
1260
1260
  let e = c.block;
1261
1261
  return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundColor ?? "" : e.styles.backgroundColor ?? "";
1262
- }), fe = m(() => {
1262
+ }), de = m(() => {
1263
1263
  let e = c.block;
1264
1264
  return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundImage : e.type === "section" ? e.backgroundImage : void 0;
1265
1265
  });
1266
- function pe(e, t) {
1266
+ function U(e, t) {
1267
1267
  f("update", { wrapper: {
1268
1268
  ...e,
1269
1269
  ...t
1270
1270
  } });
1271
1271
  }
1272
- function me(e) {
1272
+ function fe(e) {
1273
1273
  let t = c.block;
1274
- t.type === "section" && t.wrapper?.fullWidth === !0 ? pe(t.wrapper, { backgroundColor: e }) : Oe("backgroundColor", e);
1274
+ t.type === "section" && t.wrapper?.fullWidth === !0 ? U(t.wrapper, { backgroundColor: e }) : Ee("backgroundColor", e);
1275
1275
  }
1276
- function he(e) {
1276
+ function pe(e) {
1277
1277
  let t = c.block;
1278
- t.type === "section" && t.wrapper?.fullWidth === !0 ? pe(t.wrapper, { backgroundImage: e }) : f("update", { backgroundImage: e });
1278
+ t.type === "section" && t.wrapper?.fullWidth === !0 ? U(t.wrapper, { backgroundImage: e }) : f("update", { backgroundImage: e });
1279
1279
  }
1280
- let _e = E(He, null), ve = ge(), F = _(!1), I = l(/* @__PURE__ */ new Set()), L = _(!1), R = _(""), z = _(""), ye = [{
1280
+ let me = E(ze, null), he = we(), W = _(!1), G = l(/* @__PURE__ */ new Set()), K = _(!1), q = _(""), J = _(""), ge = [{
1281
1281
  key: "desktop",
1282
- icon: Me,
1282
+ icon: Qe,
1283
1283
  labelKey: "showOnDesktop"
1284
1284
  }, {
1285
1285
  key: "mobile",
1286
- icon: Ne,
1286
+ icon: $e,
1287
1287
  labelKey: "showOnMobile"
1288
1288
  }];
1289
- function B(e) {
1290
- I.has(e) ? I.delete(e) : I.add(e);
1289
+ function Y(e) {
1290
+ G.has(e) ? G.delete(e) : G.add(e);
1291
1291
  }
1292
- let be = m(() => !!_e || j.length > 0 || M);
1293
- function xe(e) {
1292
+ let X = m(() => !!me || I.length > 0 || L);
1293
+ function ve(e) {
1294
1294
  if (typeof e != "object" || !e || Array.isArray(e)) return !1;
1295
1295
  let t = e;
1296
1296
  return typeof t.label == "string" && typeof t.before == "string" && typeof t.after == "string";
1297
1297
  }
1298
- function Se(e, t) {
1298
+ function Z(e, t) {
1299
1299
  let n = D?.state?.selectedBlockId;
1300
1300
  c.block.id === e && (n === void 0 || n === e) ? f("update", { displayCondition: t }) : D && D.findBlockLocation(e) && D.updateBlock(e, { displayCondition: t });
1301
1301
  }
1302
- async function Ce() {
1303
- if (!_e || F.value) return;
1304
- let e = c.block.id, t = D?.activeLocale?.value ?? null, n = le(C(c.block)), r = c.block.displayCondition ? le(C(c.block.displayCondition)) : void 0;
1305
- F.value = !0;
1302
+ async function ye() {
1303
+ if (!me || W.value) return;
1304
+ let e = c.block.id, t = D?.activeLocale?.value ?? null, n = se(C(c.block)), r = c.block.displayCondition ? se(C(c.block.displayCondition)) : void 0;
1305
+ W.value = !0;
1306
1306
  try {
1307
- let i = await _e(r ? {
1307
+ let i = await me(r ? {
1308
1308
  current: r,
1309
1309
  block: n
1310
1310
  } : { block: n });
1311
- if (!ve.alive || (D?.activeLocale?.value ?? null) !== t || i === null) return;
1312
- if (!xe(i)) {
1313
- lt.warn("displayConditions.onRequest resolved a value without string label, before and after — ignoring it.");
1311
+ if (!he.alive || (D?.activeLocale?.value ?? null) !== t || i === null) return;
1312
+ if (!ve(i)) {
1313
+ et.warn("displayConditions.onRequest resolved a value without string label, before and after — ignoring it.");
1314
1314
  return;
1315
1315
  }
1316
- Se(e, le(i));
1316
+ Z(e, se(i));
1317
1317
  } finally {
1318
- ve.alive && (F.value = !1);
1318
+ he.alive && (W.value = !1);
1319
1319
  }
1320
1320
  }
1321
- let V = m(() => c.block.displayCondition ? !j.some((e) => e.label === c.block.displayCondition?.label) : !1);
1322
- function we() {
1323
- L.value = !0, V.value && c.block.displayCondition ? (R.value = c.block.displayCondition.before, z.value = c.block.displayCondition.after ?? "") : (R.value = "", z.value = "");
1321
+ let be = m(() => c.block.displayCondition ? !I.some((e) => e.label === c.block.displayCondition?.label) : !1);
1322
+ function xe() {
1323
+ K.value = !0, be.value && c.block.displayCondition ? (q.value = c.block.displayCondition.before, J.value = c.block.displayCondition.after ?? "") : (q.value = "", J.value = "");
1324
1324
  }
1325
- function Te() {
1326
- let e = R.value.trim(), t = z.value.trim();
1325
+ function Se() {
1326
+ let e = q.value.trim(), t = J.value.trim();
1327
1327
  e && (f("update", { displayCondition: {
1328
1328
  label: x.blockSettings.customCondition,
1329
1329
  before: e,
1330
1330
  after: t
1331
- } }), L.value = !1, R.value = e, z.value = t);
1331
+ } }), K.value = !1, q.value = e, J.value = t);
1332
1332
  }
1333
1333
  t([
1334
1334
  () => D?.state?.template?.id,
@@ -1338,44 +1338,44 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1338
1338
  () => c.block.displayCondition?.after
1339
1339
  ], () => {
1340
1340
  let e = c.block.displayCondition;
1341
- !e || !V.value ? (L.value = !1, R.value = "", z.value = "") : (R.value = e.before, z.value = e.after ?? "");
1341
+ !e || !be.value ? (K.value = !1, q.value = "", J.value = "") : (q.value = e.before, J.value = e.after ?? "");
1342
1342
  }, { immediate: !0 });
1343
- let Ee = m(() => {
1343
+ let Ce = m(() => {
1344
1344
  let e = {};
1345
- for (let t of j) {
1345
+ for (let t of I) {
1346
1346
  let n = t.group ?? "";
1347
1347
  e[n] || (e[n] = []), e[n].push(t);
1348
1348
  }
1349
1349
  return e;
1350
- }), De = m(() => c.block.type === "section" && ee(c.block)?.applied === !0);
1351
- function Oe(e, t) {
1350
+ }), Te = m(() => c.block.type === "section" && oe(c.block)?.applied === !0);
1351
+ function Ee(e, t) {
1352
1352
  f("update", { styles: {
1353
1353
  ...c.block.styles,
1354
1354
  [e]: t
1355
1355
  } });
1356
1356
  }
1357
- function ke(e) {
1357
+ function Q(e) {
1358
1358
  return c.block.visibility?.[e] !== !1;
1359
1359
  }
1360
- function Ae(e) {
1360
+ function De(e) {
1361
1361
  let t = {
1362
- desktop: ke("desktop"),
1363
- mobile: ke("mobile")
1362
+ desktop: Q("desktop"),
1363
+ mobile: Q("mobile")
1364
1364
  };
1365
1365
  t[e] = !t[e], f("update", { visibility: t });
1366
1366
  }
1367
1367
  return (t, n) => (a(), v("div", { class: o(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
1368
1368
  p(En, {
1369
1369
  title: h(x).blockSettings.spacing,
1370
- open: I.has("spacing"),
1370
+ open: G.has("spacing"),
1371
1371
  "no-border": e.isFirstSection,
1372
- onToggle: n[1] ||= (e) => B("spacing")
1372
+ onToggle: n[1] ||= (e) => Y("spacing")
1373
1373
  }, {
1374
1374
  default: u(() => [p(fn, {
1375
1375
  path: "styles.padding",
1376
1376
  label: h(x).blockSettings.padding,
1377
1377
  "model-value": e.block.styles.padding,
1378
- "onUpdate:modelValue": n[0] ||= (e) => Oe("padding", e)
1378
+ "onUpdate:modelValue": n[0] ||= (e) => Ee("padding", e)
1379
1379
  }, null, 8, ["label", "model-value"])]),
1380
1380
  _: 1
1381
1381
  }, 8, [
@@ -1385,36 +1385,36 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1385
1385
  ]),
1386
1386
  p(En, {
1387
1387
  title: h(x).blockSettings.background,
1388
- open: I.has("bg"),
1388
+ open: G.has("bg"),
1389
1389
  "header-test-id": "block-settings-background",
1390
- onToggle: n[4] ||= (e) => B("bg")
1390
+ onToggle: n[4] ||= (e) => Y("bg")
1391
1391
  }, {
1392
1392
  default: u(() => [
1393
- p(Y, {
1394
- path: ue.value,
1393
+ p(A, {
1394
+ path: ce.value,
1395
1395
  label: h(x).blockSettings.color
1396
1396
  }, {
1397
- default: u(() => [p(H, {
1398
- "model-value": de.value,
1397
+ default: u(() => [p(M, {
1398
+ "model-value": ue.value,
1399
1399
  "allow-transparent": "",
1400
- "onUpdate:modelValue": me
1400
+ "onUpdate:modelValue": fe
1401
1401
  }, null, 8, ["model-value"])]),
1402
1402
  _: 1
1403
1403
  }, 8, ["path", "label"]),
1404
- N.value ? (a(), w(Y, {
1404
+ B.value ? (a(), w(A, {
1405
1405
  key: 0,
1406
1406
  path: e.block.type === "section" ? "wrapper.fullWidth" : "fullWidth",
1407
1407
  label: h(x).blockSettings.fullWidthBackground
1408
1408
  }, {
1409
- "label-actions": u(({ controlId: e }) => [p(X, {
1410
- "data-testid": oe.value,
1409
+ "label-actions": u(({ controlId: e }) => [p(P, {
1410
+ "data-testid": re.value,
1411
1411
  "control-id": e,
1412
1412
  "hide-label": "",
1413
1413
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1414
- "model-value": ie.value,
1415
- disabled: ae.value,
1414
+ "model-value": te.value,
1415
+ disabled: V.value,
1416
1416
  label: h(x).blockSettings.fullWidthBackground,
1417
- "onUpdate:modelValue": se
1417
+ "onUpdate:modelValue": ie
1418
1418
  }, null, 8, [
1419
1419
  "data-testid",
1420
1420
  "control-id",
@@ -1424,36 +1424,36 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1424
1424
  ])]),
1425
1425
  _: 1
1426
1426
  }, 8, ["path", "label"])) : g("", !0),
1427
- e.block.type === "section" ? (a(), w(Y, {
1427
+ e.block.type === "section" ? (a(), w(A, {
1428
1428
  key: 1,
1429
- path: P.value,
1429
+ path: le.value,
1430
1430
  label: h(x).blockSettings.backgroundImage
1431
1431
  }, {
1432
1432
  default: u(() => [p(Cn, {
1433
1433
  "hide-label": "",
1434
1434
  class: "tpl:mt-3.5",
1435
- "model-value": fe.value,
1435
+ "model-value": de.value,
1436
1436
  "testid-prefix": "section",
1437
1437
  measure: "",
1438
- "hero-mode": De.value,
1439
- "onUpdate:modelValue": he
1438
+ "hero-mode": Te.value,
1439
+ "onUpdate:modelValue": pe
1440
1440
  }, null, 8, ["model-value", "hero-mode"])]),
1441
1441
  _: 1
1442
1442
  }, 8, ["path", "label"])) : g("", !0),
1443
- ce.value ? (a(), w(Y, {
1443
+ ae.value ? (a(), w(A, {
1444
1444
  key: 2,
1445
1445
  path: "styles.backgroundColor",
1446
1446
  label: h(x).blockSettings.contentBackground
1447
1447
  }, {
1448
- default: u(() => [p(H, {
1448
+ default: u(() => [p(M, {
1449
1449
  "data-testid": "section-content-background",
1450
1450
  "model-value": e.block.styles.backgroundColor ?? "",
1451
1451
  "allow-transparent": "",
1452
- "onUpdate:modelValue": n[2] ||= (e) => Oe("backgroundColor", e)
1452
+ "onUpdate:modelValue": n[2] ||= (e) => Ee("backgroundColor", e)
1453
1453
  }, null, 8, ["model-value"])]),
1454
1454
  _: 1
1455
1455
  }, 8, ["label"])) : g("", !0),
1456
- e.block.type === "section" ? (a(), w(Y, {
1456
+ e.block.type === "section" ? (a(), w(A, {
1457
1457
  key: 3,
1458
1458
  path: "hero",
1459
1459
  label: h(x).blocks.hero
@@ -1469,21 +1469,21 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1469
1469
  }, 8, ["title", "open"]),
1470
1470
  p(En, {
1471
1471
  title: h(x).blockSettings.display,
1472
- open: I.has("display"),
1473
- onToggle: n[6] ||= (e) => B("display")
1472
+ open: G.has("display"),
1473
+ onToggle: n[6] ||= (e) => Y("display")
1474
1474
  }, {
1475
- default: u(() => [b("div", Gn, [A.value && h(k) ? (a(), w(X, {
1475
+ default: u(() => [b("div", Gn, [j.value && h(k) ? (a(), w(P, {
1476
1476
  key: 0,
1477
1477
  "data-testid": "locale-hide",
1478
- disabled: !h(k).locales.includes(A.value),
1479
- "model-value": te.value,
1480
- label: h(T)(h(x).localization.hide, { language: h(tt)(A.value) }),
1478
+ disabled: !h(k).locales.includes(j.value),
1479
+ "model-value": N.value,
1480
+ label: h(T)(h(x).localization.hide, { language: h(_e)(j.value) }),
1481
1481
  "onUpdate:modelValue": n[5] ||= (t) => h(D)?.setBlockHidden?.(e.block.id, t)
1482
1482
  }, null, 8, [
1483
1483
  "disabled",
1484
1484
  "model-value",
1485
1485
  "label"
1486
- ])) : g("", !0), (a(), v(S, null, s(ye, (e) => p(Y, {
1486
+ ])) : g("", !0), (a(), v(S, null, s(ge, (e) => p(A, {
1487
1487
  key: e.key,
1488
1488
  path: `visibility.${e.key}`,
1489
1489
  label: h(x).blockSettings[e.labelKey]
@@ -1492,13 +1492,13 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1492
1492
  size: 14,
1493
1493
  "stroke-width": 1.5
1494
1494
  })), y(" " + r(h(x).blockSettings[e.labelKey]), 1)])]),
1495
- "label-actions": u(({ controlId: t }) => [p(X, {
1495
+ "label-actions": u(({ controlId: t }) => [p(P, {
1496
1496
  "control-id": t,
1497
1497
  "hide-label": "",
1498
1498
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1499
- "model-value": ke(e.key),
1499
+ "model-value": Q(e.key),
1500
1500
  label: h(x).blockSettings[e.labelKey],
1501
- "onUpdate:modelValue": (t) => Ae(e.key)
1501
+ "onUpdate:modelValue": (t) => De(e.key)
1502
1502
  }, null, 8, [
1503
1503
  "control-id",
1504
1504
  "model-value",
@@ -1509,60 +1509,60 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1509
1509
  }, 1032, ["path", "label"])), 64))])]),
1510
1510
  _: 1
1511
1511
  }, 8, ["title", "open"]),
1512
- be.value ? (a(), w(En, {
1512
+ X.value ? (a(), w(En, {
1513
1513
  key: 0,
1514
1514
  "header-test-id": "display-condition-section",
1515
1515
  title: h(x).blockSettings.displayCondition,
1516
- open: I.has("condition"),
1517
- onToggle: n[11] ||= (e) => B("condition")
1516
+ open: G.has("condition"),
1517
+ onToggle: n[11] ||= (e) => Y("condition")
1518
1518
  }, {
1519
- default: u(() => [h(_e) ? (a(), v("div", qn, [e.block.displayCondition ? (a(), v(S, { key: 0 }, [
1519
+ default: u(() => [h(me) ? (a(), v("div", qn, [e.block.displayCondition ? (a(), v(S, { key: 0 }, [
1520
1520
  b("p", Jn, r(e.block.displayCondition.label), 1),
1521
1521
  e.block.displayCondition.description ? (a(), v("p", Yn, r(e.block.displayCondition.description), 1)) : g("", !0),
1522
1522
  b("div", Xn, [b("button", {
1523
1523
  type: "button",
1524
1524
  "data-testid": "display-condition-edit",
1525
- class: o(h(nt)),
1526
- disabled: F.value,
1527
- onClick: Ce
1525
+ class: o(h(F)),
1526
+ disabled: W.value,
1527
+ onClick: ye
1528
1528
  }, r(h(x).blockSettings.editCondition), 11, Zn), b("button", {
1529
1529
  type: "button",
1530
1530
  "data-testid": "display-condition-remove",
1531
- class: o(h(nt)),
1532
- disabled: F.value,
1531
+ class: o(h(F)),
1532
+ disabled: W.value,
1533
1533
  onClick: n[7] ||= (e) => f("update", { displayCondition: void 0 })
1534
1534
  }, r(h(x).blockSettings.removeCondition), 11, Qn)])
1535
1535
  ], 64)) : (a(), v("button", {
1536
1536
  key: 1,
1537
1537
  type: "button",
1538
1538
  "data-testid": "display-condition-request",
1539
- class: o(h(nt)),
1540
- disabled: F.value,
1541
- onClick: Ce
1542
- }, r(h(x).blockSettings.addCondition), 11, $n))])) : (a(), v("div", er, [p(Y, {
1539
+ class: o(h(F)),
1540
+ disabled: W.value,
1541
+ onClick: ye
1542
+ }, r(h(x).blockSettings.addCondition), 11, $n))])) : (a(), v("div", er, [p(A, {
1543
1543
  path: "displayCondition",
1544
1544
  label: h(x).blockSettings.displayCondition
1545
1545
  }, {
1546
1546
  default: u(() => [b("select", {
1547
1547
  "data-testid": "display-condition-select",
1548
1548
  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)]"]),
1549
- value: L.value || V.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1549
+ value: K.value || be.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1550
1550
  onChange: n[8] ||= (e) => {
1551
1551
  let t = e.target.value;
1552
1552
  if (t === "__custom__") {
1553
- we();
1553
+ xe();
1554
1554
  return;
1555
1555
  }
1556
- if (L.value = !1, !t) {
1556
+ if (K.value = !1, !t) {
1557
1557
  f("update", { displayCondition: void 0 });
1558
1558
  return;
1559
1559
  }
1560
- let n = h(j).find((e) => e.label === t);
1560
+ let n = h(I).find((e) => e.label === t);
1561
1561
  n && f("update", { displayCondition: n });
1562
1562
  }
1563
1563
  }, [
1564
1564
  b("option", nr, r(h(x).blockSettings.noCondition), 1),
1565
- (a(!0), v(S, null, s(Ee.value, (e, t) => (a(), v(S, { key: t }, [t ? (a(), v("optgroup", {
1565
+ (a(!0), v(S, null, s(Ce.value, (e, t) => (a(), v(S, { key: t }, [t ? (a(), v("optgroup", {
1566
1566
  key: 0,
1567
1567
  label: String(t)
1568
1568
  }, [(a(!0), v(S, null, s(e, (e) => (a(), v("option", {
@@ -1572,27 +1572,27 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1572
1572
  key: e.label,
1573
1573
  value: e.label
1574
1574
  }, r(e.label), 9, ar))), 128))], 64))), 128)),
1575
- h(M) ? (a(), v("option", or, r(h(x).blockSettings.customCondition), 1)) : g("", !0)
1575
+ h(L) ? (a(), v("option", or, r(h(x).blockSettings.customCondition), 1)) : g("", !0)
1576
1576
  ], 42, tr)]),
1577
1577
  _: 1
1578
- }, 8, ["label"]), L.value || V.value ? (a(), v("div", sr, [
1578
+ }, 8, ["label"]), K.value || be.value ? (a(), v("div", sr, [
1579
1579
  b("div", null, [b("label", cr, r(h(x).blockSettings.customConditionBefore), 1), d(b("textarea", {
1580
- "onUpdate:modelValue": n[9] ||= (e) => R.value = e,
1580
+ "onUpdate:modelValue": n[9] ||= (e) => q.value = e,
1581
1581
  rows: "2",
1582
- class: o(h(st))
1583
- }, null, 2), [[O, R.value]])]),
1582
+ class: o(h(ne))
1583
+ }, null, 2), [[O, q.value]])]),
1584
1584
  b("div", null, [b("label", lr, r(h(x).blockSettings.customConditionAfter), 1), d(b("textarea", {
1585
- "onUpdate:modelValue": n[10] ||= (e) => z.value = e,
1585
+ "onUpdate:modelValue": n[10] ||= (e) => J.value = e,
1586
1586
  rows: "2",
1587
- class: o(h(st))
1588
- }, null, 2), [[O, z.value]])]),
1587
+ class: o(h(ne))
1588
+ }, null, 2), [[O, J.value]])]),
1589
1589
  b("div", ur, [b("button", {
1590
1590
  type: "button",
1591
- class: o(h(it)),
1592
- disabled: !R.value.trim(),
1593
- onClick: Te
1591
+ class: o(h(ee)),
1592
+ disabled: !q.value.trim(),
1593
+ onClick: Se
1594
1594
  }, r(h(x).blockSettings.applyCondition), 11, dr)])
1595
- ])) : e.block.displayCondition && !V.value ? (a(), v(S, { key: 1 }, [e.block.displayCondition.description ? (a(), v("p", fr, r(e.block.displayCondition.description), 1)) : g("", !0), b("div", pr, [b("pre", mr, r(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (a(), v("pre", hr, r(e.block.displayCondition.after), 1)) : g("", !0)])], 64)) : g("", !0)]))]),
1595
+ ])) : e.block.displayCondition && !be.value ? (a(), v(S, { key: 1 }, [e.block.displayCondition.description ? (a(), v("p", fr, r(e.block.displayCondition.description), 1)) : g("", !0), b("div", pr, [b("pre", mr, r(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (a(), v("pre", hr, r(e.block.displayCondition.after), 1)) : g("", !0)])], 64)) : g("", !0)]))]),
1596
1596
  _: 1
1597
1597
  }, 8, ["title", "open"])) : g("", !0)
1598
1598
  ], 2));
@@ -1605,13 +1605,13 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1605
1605
  readOnly: { type: Boolean }
1606
1606
  },
1607
1607
  setup(e) {
1608
- let { t } = W();
1608
+ let { t } = H();
1609
1609
  return (n, i) => (a(), v("span", null, [
1610
1610
  y(r(e.label) + " ", 1),
1611
1611
  e.readOnly ? (a(), v("span", {
1612
1612
  key: 0,
1613
1613
  title: h(t).customBlocks.dataSource.readOnlyTooltip
1614
- }, [p(h(gt), {
1614
+ }, [p(h(ht), {
1615
1615
  size: 12,
1616
1616
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
1617
1617
  "aria-hidden": "true"
@@ -1634,11 +1634,11 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1634
1634
  },
1635
1635
  emits: ["update:modelValue"],
1636
1636
  setup(e, { emit: t }) {
1637
- let n = t, { t: i } = W();
1637
+ let n = t, { t: i } = H();
1638
1638
  return (t, o) => (a(), v("div", {
1639
1639
  class: "tpl:mb-3.5",
1640
1640
  title: e.readOnly ? h(i).customBlocks.dataSource.readOnlyTooltip : void 0
1641
- }, [p(X, {
1641
+ }, [p(P, {
1642
1642
  "hide-label": e.hideLabel,
1643
1643
  "control-id": e.controlId,
1644
1644
  class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
@@ -1648,7 +1648,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1648
1648
  disabled: e.readOnly,
1649
1649
  "onUpdate:modelValue": o[0] ||= (e) => n("update:modelValue", e)
1650
1650
  }, {
1651
- default: u(() => [y(r(e.field.label) + " ", 1), e.readOnly ? (a(), w(h(gt), {
1651
+ default: u(() => [y(r(e.field.label) + " ", 1), e.readOnly ? (a(), w(h(ht), {
1652
1652
  key: 0,
1653
1653
  size: 12,
1654
1654
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1674,7 +1674,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1674
1674
  setup(e) {
1675
1675
  return (t, r) => (a(), v("div", wr, [e.hideLabel ? g("", !0) : (a(), v("label", {
1676
1676
  key: 0,
1677
- class: o(h(J))
1677
+ class: o(h(V))
1678
1678
  }, [p(xr, {
1679
1679
  label: e.label,
1680
1680
  required: e.required,
@@ -1695,14 +1695,14 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1695
1695
  },
1696
1696
  emits: ["update:modelValue"],
1697
1697
  setup(e, { emit: t }) {
1698
- let n = e, r = t, { t: i } = W(), o = E(Xe, dt), s = m(() => Se(n.field, o));
1698
+ let n = e, r = t, { t: i } = H(), o = E(Je, it), s = m(() => Fe(n.field, o));
1699
1699
  return (t, n) => (a(), w(Tr, {
1700
1700
  "hide-label": e.hideLabel,
1701
1701
  label: e.field.label,
1702
1702
  required: e.field.required,
1703
1703
  "read-only": e.readOnly
1704
1704
  }, {
1705
- default: u(() => [p(H, {
1705
+ default: u(() => [p(M, {
1706
1706
  "model-value": e.modelValue,
1707
1707
  placeholder: e.field.placeholder,
1708
1708
  disabled: e.readOnly,
@@ -1740,7 +1740,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1740
1740
  },
1741
1741
  emits: ["update:modelValue"],
1742
1742
  setup(e, { emit: t }) {
1743
- let n = e, i = t, { t: s } = W(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = xe({
1743
+ let n = e, i = t, { t: s } = H(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = Pe({
1744
1744
  target: c,
1745
1745
  blocked: () => !!n.readOnly,
1746
1746
  apply: (e) => i("update:modelValue", e.url)
@@ -1756,14 +1756,14 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1756
1756
  ref: c,
1757
1757
  class: "tpl:relative"
1758
1758
  }, [
1759
- h(f) ? (a(), w(_e, {
1759
+ h(f) ? (a(), w(Te, {
1760
1760
  key: 0,
1761
1761
  uploading: h(d)
1762
1762
  }, null, 8, ["uploading"])) : g("", !0),
1763
1763
  e.readOnly ? (a(), v("input", {
1764
1764
  key: 1,
1765
1765
  type: "url",
1766
- class: o([h(q), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1766
+ class: o([h(B), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1767
1767
  value: e.modelValue,
1768
1768
  placeholder: e.field.placeholder || "https://...",
1769
1769
  disabled: "",
@@ -1771,7 +1771,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1771
1771
  }, null, 10, Dr)) : (a(), v("input", {
1772
1772
  key: 2,
1773
1773
  type: "url",
1774
- class: o(h(q)),
1774
+ class: o(h(B)),
1775
1775
  value: e.modelValue,
1776
1776
  placeholder: e.field.placeholder || "https://...",
1777
1777
  onInput: n[0] ||= (e) => i("update:modelValue", e.target.value)
@@ -1780,7 +1780,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1780
1780
  key: 3,
1781
1781
  class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg)]",
1782
1782
  onClick: n[1] ||= (e) => h(m)()
1783
- }, [p(h(ke), {
1783
+ }, [p(h(Ie), {
1784
1784
  size: 14,
1785
1785
  "stroke-width": 1.5
1786
1786
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)
@@ -1811,7 +1811,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1811
1811
  },
1812
1812
  emits: ["update:modelValue"],
1813
1813
  setup(e, { emit: t }) {
1814
- let n = t, { t: r } = W();
1814
+ let n = t, { t: r } = H();
1815
1815
  return (t, i) => (a(), w(Tr, {
1816
1816
  "hide-label": e.hideLabel,
1817
1817
  label: e.field.label,
@@ -1820,7 +1820,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1820
1820
  }, {
1821
1821
  default: u(() => [b("input", {
1822
1822
  type: "number",
1823
- class: o([h(q), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1823
+ class: o([h(B), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1824
1824
  value: e.modelValue,
1825
1825
  placeholder: e.field.placeholder,
1826
1826
  min: e.field.min,
@@ -1854,7 +1854,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1854
1854
  },
1855
1855
  emits: ["update:modelValue"],
1856
1856
  setup(e, { emit: t }) {
1857
- 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);
1857
+ let n = e, c = t, { t: l, format: d } = H(), 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);
1858
1858
  function C() {
1859
1859
  if (!_.value || n.readOnly) return;
1860
1860
  let e = {};
@@ -1889,7 +1889,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1889
1889
  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)]",
1890
1890
  title: h(l).customBlocks.fields.removeItem,
1891
1891
  onClick: (e) => T(n)
1892
- }, [p(h(Re), {
1892
+ }, [p(h(at), {
1893
1893
  size: 12,
1894
1894
  "stroke-width": 2
1895
1895
  })], 8, Fr)) : g("", !0)]), (a(!0), v(S, null, s(e.field.fields, (r) => (a(), w(i(h(qr)(r.type)), {
@@ -1907,9 +1907,9 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1907
1907
  _.value && !e.readOnly ? (a(), v("button", {
1908
1908
  key: 0,
1909
1909
  type: "button",
1910
- class: o(h(at)),
1910
+ class: o(h(R)),
1911
1911
  onClick: C
1912
- }, [p(h(U), {
1912
+ }, [p(h(Z), {
1913
1913
  size: 14,
1914
1914
  "stroke-width": 2
1915
1915
  }), y(" " + r(h(l).customBlocks.fields.addItem), 1)], 2)) : g("", !0),
@@ -1938,7 +1938,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1938
1938
  },
1939
1939
  emits: ["update:modelValue"],
1940
1940
  setup(e, { emit: t }) {
1941
- let n = t, { t: i } = W();
1941
+ let n = t, { t: i } = H();
1942
1942
  return (t, c) => (a(), w(Tr, {
1943
1943
  "hide-label": e.hideLabel,
1944
1944
  label: e.field.label,
@@ -1946,7 +1946,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1946
1946
  "read-only": e.readOnly
1947
1947
  }, {
1948
1948
  default: u(() => [b("select", {
1949
- class: o([h(q), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1949
+ class: o([h(B), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1950
1950
  value: e.modelValue,
1951
1951
  disabled: e.readOnly,
1952
1952
  title: e.readOnly ? h(i).customBlocks.dataSource.readOnlyTooltip : void 0,
@@ -1977,7 +1977,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1977
1977
  },
1978
1978
  emits: ["update:modelValue"],
1979
1979
  setup(e, { emit: t }) {
1980
- let n = t, { t: r } = W();
1980
+ let n = t, { t: r } = H();
1981
1981
  return (t, i) => (a(), w(Tr, {
1982
1982
  "hide-label": e.hideLabel,
1983
1983
  label: e.field.label,
@@ -1987,12 +1987,12 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1987
1987
  default: u(() => [e.readOnly ? (a(), v("input", {
1988
1988
  key: 0,
1989
1989
  type: "text",
1990
- class: o([h(q), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1990
+ class: o([h(B), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1991
1991
  value: e.modelValue,
1992
1992
  placeholder: e.field.placeholder,
1993
1993
  disabled: "",
1994
1994
  title: h(r).customBlocks.dataSource.readOnlyTooltip
1995
- }, null, 10, Hr)) : (a(), w(Z, {
1995
+ }, null, 10, Hr)) : (a(), w(N, {
1996
1996
  key: 1,
1997
1997
  "model-value": e.modelValue,
1998
1998
  placeholder: e.field.placeholder,
@@ -2022,7 +2022,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
2022
2022
  },
2023
2023
  emits: ["update:modelValue"],
2024
2024
  setup(e, { emit: t }) {
2025
- let n = t, { t: r } = W();
2025
+ let n = t, { t: r } = H();
2026
2026
  return (t, i) => (a(), w(Tr, {
2027
2027
  "hide-label": e.hideLabel,
2028
2028
  label: e.field.label,
@@ -2037,7 +2037,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
2037
2037
  disabled: "",
2038
2038
  title: h(r).customBlocks.dataSource.readOnlyTooltip,
2039
2039
  class: o(Gr)
2040
- }, null, 8, Wr)) : (a(), w(ft, {
2040
+ }, null, 8, Wr)) : (a(), w(j, {
2041
2041
  key: 1,
2042
2042
  "model-value": e.modelValue,
2043
2043
  placeholder: e.field.placeholder,
@@ -2086,7 +2086,7 @@ var Jr = {
2086
2086
  props: { block: {} },
2087
2087
  emits: ["updateFieldValues", "updateDataSourceFetched"],
2088
2088
  setup(e, { emit: t }) {
2089
- let n = e, o = t, { t: c } = W(), l = E(Ye, []), d = m(() => l.find((e) => e.type === n.block.customType)), f = m(() => n.block), { isFetching: _, fetchError: x, fetch: C, hasDataSource: T, needsFetch: D } = fe({
2089
+ let n = e, o = t, { t: c } = H(), l = E(qe, []), d = m(() => l.find((e) => e.type === n.block.customType)), f = m(() => n.block), { isFetching: _, fetchError: x, fetch: C, hasDataSource: T, needsFetch: D } = be({
2090
2090
  definition: d,
2091
2091
  block: f,
2092
2092
  onUpdate: (e, t) => {
@@ -2114,11 +2114,11 @@ var Jr = {
2114
2114
  type: "button",
2115
2115
  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)]",
2116
2116
  onClick: n[1] ||= (...e) => h(C) && h(C)(...e)
2117
- }, [p(h(Pe), { size: 12 }), y(" " + r(h(c).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (a(), v("p", ti, [p(h(Te), {
2117
+ }, [p(h(nt), { size: 12 }), y(" " + r(h(c).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (a(), v("p", ti, [p(h(tt), {
2118
2118
  size: 14,
2119
2119
  class: "tpl:shrink-0"
2120
2120
  }), y(" " + r(h(c).customBlocks.dataSource.fetchError), 1)])) : g("", !0)])) : g("", !0),
2121
- (a(!0), v(S, null, s(d.value.fields, (t) => (a(), w(Y, {
2121
+ (a(!0), v(S, null, s(d.value.fields, (t) => (a(), w(A, {
2122
2122
  key: t.key,
2123
2123
  path: `fieldValues.${t.key}`,
2124
2124
  label: t.label
@@ -2155,17 +2155,17 @@ var Jr = {
2155
2155
  props: { block: {} },
2156
2156
  emits: ["update"],
2157
2157
  setup(e, { emit: t }) {
2158
- let n = t, { t: r } = W();
2158
+ let n = t, { t: r } = H();
2159
2159
  function i(e, t) {
2160
2160
  n("update", { [e]: t });
2161
2161
  }
2162
2162
  return (t, n) => (a(), v(S, null, [
2163
- p(Y, {
2163
+ p(A, {
2164
2164
  label: h(r).divider.style,
2165
2165
  class: "tpl:mb-3.5",
2166
2166
  path: "lineStyle"
2167
2167
  }, {
2168
- default: u(() => [p(Q, {
2168
+ default: u(() => [p($, {
2169
2169
  options: [
2170
2170
  {
2171
2171
  value: "solid",
@@ -2185,30 +2185,30 @@ var Jr = {
2185
2185
  }, null, 8, ["options", "model-value"])]),
2186
2186
  _: 1
2187
2187
  }, 8, ["label"]),
2188
- p(Y, {
2188
+ p(A, {
2189
2189
  label: h(r).divider.color,
2190
2190
  class: "tpl:mb-3.5",
2191
2191
  path: "color"
2192
2192
  }, {
2193
- default: u(() => [p(H, {
2193
+ default: u(() => [p(M, {
2194
2194
  "model-value": e.block.color,
2195
2195
  "onUpdate:modelValue": n[1] ||= (e) => i("color", e)
2196
2196
  }, null, 8, ["model-value"])]),
2197
2197
  _: 1
2198
2198
  }, 8, ["label"]),
2199
- p(Y, {
2199
+ p(A, {
2200
2200
  label: h(r).divider.thickness,
2201
2201
  class: "tpl:mb-3.5",
2202
2202
  path: "thickness"
2203
2203
  }, {
2204
2204
  default: u(() => [b("div", ri, [b("input", {
2205
2205
  type: "number",
2206
- class: o(h(K)),
2206
+ class: o(h(z)),
2207
2207
  value: e.block.thickness,
2208
2208
  min: "1",
2209
2209
  max: "10",
2210
2210
  onInput: n[2] ||= (e) => i("thickness", Number(e.target.value))
2211
- }, null, 42, ii), b("span", { class: o(h(G)) }, "px", 2)])]),
2211
+ }, null, 42, ii), b("span", { class: o(h(L)) }, "px", 2)])]),
2212
2212
  _: 1
2213
2213
  }, 8, ["label"])
2214
2214
  ], 64));
@@ -2218,8 +2218,8 @@ var Jr = {
2218
2218
  props: { block: {} },
2219
2219
  emits: ["update"],
2220
2220
  setup(e, { emit: t }) {
2221
- let n = t, { t: i } = W();
2222
- return (t, s) => (a(), w(Y, {
2221
+ let n = t, { t: i } = H();
2222
+ return (t, s) => (a(), w(A, {
2223
2223
  label: h(i).html.content,
2224
2224
  class: "tpl:mb-3.5",
2225
2225
  path: "content"
@@ -2228,9 +2228,9 @@ var Jr = {
2228
2228
  value: e.block.content,
2229
2229
  placeholder: "<div>...</div>",
2230
2230
  rows: "10",
2231
- class: o(h(st)),
2231
+ class: o(h(ne)),
2232
2232
  onInput: s[0] ||= (e) => n("update", { content: e.target.value })
2233
- }, null, 42, oi), b("p", si, [p(h(Ae), {
2233
+ }, null, 42, oi), b("p", si, [p(h(ot), {
2234
2234
  size: 12,
2235
2235
  class: "tpl:mt-0.5 tpl:shrink-0"
2236
2236
  }), y(" " + r(h(i).html.sanitizationHint), 1)])]),
@@ -2244,7 +2244,7 @@ function li(e) {
2244
2244
  t(() => e.block().id, () => {
2245
2245
  n.value = !1, r.value = null;
2246
2246
  });
2247
- let i = m(() => ve(e.block()) ?? e.measured()), a = m(() => {
2247
+ let i = m(() => Ee(e.block()) ?? e.measured()), a = m(() => {
2248
2248
  let t = e.block().width;
2249
2249
  return t === "full" ? e.room() : t;
2250
2250
  }), o = m(() => {
@@ -2255,9 +2255,9 @@ function li(e) {
2255
2255
  return t === void 0 || o.value !== null && Math.abs(o.value - t) <= 1;
2256
2256
  }), l = m(() => s.value && !n.value && c.value);
2257
2257
  function u() {
2258
- if (ve(e.block())) return {};
2258
+ if (Ee(e.block())) return {};
2259
2259
  let t = e.measured();
2260
- return t ? F(t) : {};
2260
+ return t ? Q(t) : {};
2261
2261
  }
2262
2262
  function d(t) {
2263
2263
  if (r.value = null, !t) return n.value = !0, null;
@@ -2319,100 +2319,100 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2319
2319
  props: { block: {} },
2320
2320
  emits: ["update"],
2321
2321
  setup(e, { emit: t }) {
2322
- let n = e, i = t, { t: s, format: c } = W(), l = E(Be, ne.liquid), d = E($e, null), f = d ? et(d) : null, C = E(We, void 0), T = _(!1), D = _(!1), { start: O } = ct(() => {
2322
+ let n = e, i = t, { t: s, format: c } = H(), l = E(Le, ce.liquid), d = E(Xe, null), f = d ? st(d) : null, C = E(He, void 0), T = _(!1), D = _(!1), { start: O } = ct(() => {
2323
2323
  T.value = !1, D.value = !1;
2324
2324
  }, 1e3, { immediate: !1 }), k = [
2325
2325
  300,
2326
2326
  400,
2327
2327
  500
2328
- ], A = m(() => {
2328
+ ], j = m(() => {
2329
2329
  let e = n.block.width;
2330
2330
  return e === "full" ? "full" : k.includes(e) ? String(e) : "custom";
2331
- }), ee = m(() => typeof n.block.height == "number" ? "custom" : "auto"), te = m(() => n.block.fluidOnMobile === !0 ? "always" : n.block.fluidOnMobile === !1 ? "never" : "auto");
2332
- function j(e, t) {
2331
+ }), M = m(() => typeof n.block.height == "number" ? "custom" : "auto"), F = m(() => n.block.fluidOnMobile === !0 ? "always" : n.block.fluidOnMobile === !1 ? "never" : "auto");
2332
+ function I(e, t) {
2333
2333
  i("update", { [e]: t });
2334
2334
  }
2335
- function M(e) {
2335
+ function ee(e) {
2336
2336
  if (e === "custom") {
2337
2337
  let e = n.block.width;
2338
- (typeof e != "number" || k.includes(e)) && i("update", B.widthUpdates(Ai));
2339
- } else i("update", B.widthUpdates(e === "full" ? "full" : Number(e)));
2338
+ (typeof e != "number" || k.includes(e)) && i("update", G.widthUpdates(Ai));
2339
+ } else i("update", G.widthUpdates(e === "full" ? "full" : Number(e)));
2340
2340
  }
2341
- function re(e) {
2342
- j("height", e === "custom" ? ji : void 0);
2341
+ function R(e) {
2342
+ I("height", e === "custom" ? ji : void 0);
2343
2343
  }
2344
- function N(e) {
2345
- j("fluidOnMobile", e === "always" || e !== "never" && void 0);
2344
+ function te(e) {
2345
+ I("fluidOnMobile", e === "always" || e !== "never" && void 0);
2346
2346
  }
2347
- function oe(e) {
2347
+ function V(e) {
2348
2348
  let t = Number(e);
2349
- !Number.isFinite(t) || t <= 0 || j("height", t);
2349
+ !Number.isFinite(t) || t <= 0 || I("height", t);
2350
2350
  }
2351
- function se(e) {
2352
- j("borderRadius", ie(e) === null ? void 0 : e);
2351
+ function ne(e) {
2352
+ I("borderRadius", he(e) === null ? void 0 : e);
2353
2353
  }
2354
- function ce(e) {
2354
+ function re(e) {
2355
2355
  let t = Number(e);
2356
- !Number.isFinite(t) || t <= 0 || i("update", B.widthUpdates(t));
2356
+ !Number.isFinite(t) || t <= 0 || i("update", G.widthUpdates(t));
2357
2357
  }
2358
- function le(e) {
2358
+ function ie(e) {
2359
2359
  e !== n.block.src && i("update", {
2360
2360
  src: e,
2361
- ...F(null)
2361
+ ...Q(null)
2362
2362
  });
2363
2363
  }
2364
- function ue(e) {
2364
+ function ae(e) {
2365
2365
  i("update", {
2366
2366
  src: e.url,
2367
- ...F(me(e.width, e.height))
2368
- }), e.alt && (j("alt", e.alt), D.value = !0), T.value = !0, O();
2369
- }
2370
- let P = _(), de = m(() => ae(n.block.src, l)), { canBrowse: fe, isUploading: he, showOverlay: ge, openMediaBrowser: L } = xe({
2371
- target: P,
2372
- blocked: de,
2373
- apply: ue
2374
- }), R = pe(() => de.value || !n.block.src || ve(n.block) ? void 0 : n.block.src), z = pn(() => R.value), ye = m(() => f ? I(f.content.value, n.block.id, C) : null), B = li({
2367
+ ...Q(Se(e.width, e.height))
2368
+ }), e.alt && (I("alt", e.alt), D.value = !0), T.value = !0, O();
2369
+ }
2370
+ let oe = _(), se = m(() => U(n.block.src, l)), { canBrowse: le, isUploading: ue, showOverlay: de, openMediaBrowser: fe } = Pe({
2371
+ target: oe,
2372
+ blocked: se,
2373
+ apply: ae
2374
+ }), pe = xe(() => se.value || !n.block.src || Ee(n.block) ? void 0 : n.block.src), me = pn(() => pe.value), W = m(() => f ? De(f.content.value, n.block.id, C) : null), G = li({
2375
2375
  block: () => n.block,
2376
- room: () => ye.value,
2377
- measured: () => z.value
2378
- }), { available: be, locked: Se, derivedHeight: Ce, cappedHeight: V } = B;
2379
- function H() {
2380
- let e = B.setLocked(!Se.value);
2376
+ room: () => W.value,
2377
+ measured: () => me.value
2378
+ }), { available: K, locked: q, derivedHeight: J, cappedHeight: ge } = G;
2379
+ function Y() {
2380
+ let e = G.setLocked(!q.value);
2381
2381
  e && i("update", e);
2382
2382
  }
2383
- let we = _(null);
2384
- function Te(e) {
2385
- we.value = e;
2386
- let t = B.heightUpdates(Number(e));
2383
+ let _e = _(null);
2384
+ function X(e) {
2385
+ _e.value = e;
2386
+ let t = G.heightUpdates(Number(e));
2387
2387
  t && i("update", t);
2388
2388
  }
2389
2389
  return (t, n) => (a(), v(S, null, [
2390
- p(Y, {
2390
+ p(A, {
2391
2391
  label: h(s).image.imageUrl,
2392
2392
  class: "tpl:mb-3.5",
2393
2393
  path: "src"
2394
2394
  }, {
2395
2395
  default: u(() => [b("div", {
2396
2396
  ref_key: "dropZoneRef",
2397
- ref: P,
2397
+ ref: oe,
2398
2398
  class: "tpl:relative"
2399
2399
  }, [
2400
- h(ge) ? (a(), w(_e, {
2400
+ h(de) ? (a(), w(Te, {
2401
2401
  key: 0,
2402
- uploading: h(he)
2402
+ uploading: h(ue)
2403
2403
  }, null, 8, ["uploading"])) : g("", !0),
2404
- p(Z, {
2404
+ p(N, {
2405
2405
  "model-value": e.block.src,
2406
2406
  type: "url",
2407
2407
  placeholder: h(s).image.imageUrlPlaceholder,
2408
2408
  pulse: T.value,
2409
- "onUpdate:modelValue": n[0] ||= (e) => le(e)
2409
+ "onUpdate:modelValue": n[0] ||= (e) => ie(e)
2410
2410
  }, null, 8, [
2411
2411
  "model-value",
2412
2412
  "placeholder",
2413
2413
  "pulse"
2414
2414
  ]),
2415
- h(fe) ? (a(), v("button", {
2415
+ h(le) ? (a(), v("button", {
2416
2416
  key: 1,
2417
2417
  class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all",
2418
2418
  style: {
@@ -2420,15 +2420,15 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2420
2420
  color: "var(--tpl-primary)",
2421
2421
  "background-color": "var(--tpl-bg)"
2422
2422
  },
2423
- onClick: n[1] ||= (...e) => h(L) && h(L)(...e)
2424
- }, [p(h(ke), {
2423
+ onClick: n[1] ||= (...e) => h(fe) && h(fe)(...e)
2424
+ }, [p(h(Ie), {
2425
2425
  size: 14,
2426
2426
  "stroke-width": 1.5
2427
2427
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)
2428
2428
  ], 512)]),
2429
2429
  _: 1
2430
2430
  }, 8, ["label"]),
2431
- h(ae)(e.block.src, h(l)) ? (a(), w(Y, {
2431
+ h(U)(e.block.src, h(l)) ? (a(), w(A, {
2432
2432
  key: 0,
2433
2433
  class: "tpl:mb-3.5",
2434
2434
  path: "placeholderUrl"
@@ -2436,43 +2436,43 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2436
2436
  label: u(() => [y(r(h(s).image.placeholderUrl) + " ", 1), b("span", ui, r(h(s).image.optional), 1)]),
2437
2437
  default: u(() => [b("input", {
2438
2438
  type: "url",
2439
- class: o(h(q)),
2439
+ class: o(h(B)),
2440
2440
  value: e.block.placeholderUrl || "",
2441
2441
  placeholder: h(s).image.placeholderUrlPlaceholder,
2442
2442
  title: h(s).image.placeholderUrlTooltip,
2443
- onInput: n[2] ||= (e) => j("placeholderUrl", e.target.value)
2443
+ onInput: n[2] ||= (e) => I("placeholderUrl", e.target.value)
2444
2444
  }, null, 42, di)]),
2445
2445
  _: 1
2446
2446
  })) : g("", !0),
2447
- p(Y, {
2447
+ p(A, {
2448
2448
  label: h(s).image.altText,
2449
2449
  class: "tpl:mb-3.5",
2450
2450
  path: "alt"
2451
2451
  }, {
2452
- default: u(() => [p(Z, {
2452
+ default: u(() => [p(N, {
2453
2453
  "model-value": e.block.alt,
2454
2454
  type: "text",
2455
2455
  placeholder: h(s).image.altTextPlaceholder,
2456
2456
  pulse: D.value,
2457
2457
  disabled: e.block.decorative === !0,
2458
- "onUpdate:modelValue": n[3] ||= (e) => j("alt", e)
2458
+ "onUpdate:modelValue": n[3] ||= (e) => I("alt", e)
2459
2459
  }, null, 8, [
2460
2460
  "model-value",
2461
2461
  "placeholder",
2462
2462
  "pulse",
2463
2463
  "disabled"
2464
- ]), p(Y, {
2464
+ ]), p(A, {
2465
2465
  path: "decorative",
2466
2466
  label: h(s).image.decorative
2467
2467
  }, {
2468
2468
  label: u(() => [b("span", null, [y(r(h(s).image.decorative) + " ", 1), b("span", fi, r(h(s).image.decorativeHint), 1)])]),
2469
- "label-actions": u(({ controlId: t }) => [p(X, {
2469
+ "label-actions": u(({ controlId: t }) => [p(P, {
2470
2470
  "control-id": t,
2471
2471
  "hide-label": "",
2472
2472
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
2473
2473
  "model-value": e.block.decorative === !0,
2474
2474
  label: h(s).image.decorative,
2475
- "onUpdate:modelValue": n[4] ||= (e) => j("decorative", e)
2475
+ "onUpdate:modelValue": n[4] ||= (e) => I("decorative", e)
2476
2476
  }, null, 8, [
2477
2477
  "control-id",
2478
2478
  "model-value",
@@ -2482,42 +2482,42 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2482
2482
  }, 8, ["label"])]),
2483
2483
  _: 1
2484
2484
  }, 8, ["label"]),
2485
- p(Y, {
2485
+ p(A, {
2486
2486
  label: h(s).image.width,
2487
2487
  class: "tpl:mb-3.5",
2488
2488
  path: "width"
2489
2489
  }, {
2490
2490
  default: u(() => [b("select", {
2491
- class: o(h(q)),
2491
+ class: o(h(B)),
2492
2492
  "data-testid": "image-width-mode",
2493
- value: A.value,
2494
- onChange: n[5] ||= (e) => M(e.target.value)
2493
+ value: j.value,
2494
+ onChange: n[5] ||= (e) => ee(e.target.value)
2495
2495
  }, [
2496
2496
  b("option", mi, r(h(s).image.fullWidth), 1),
2497
2497
  n[16] ||= b("option", { value: "300" }, "300px", -1),
2498
2498
  n[17] ||= b("option", { value: "400" }, "400px", -1),
2499
2499
  n[18] ||= b("option", { value: "500" }, "500px", -1),
2500
2500
  b("option", hi, r(h(s).image.widthCustom), 1)
2501
- ], 42, pi), A.value === "custom" ? (a(), v("div", gi, [b("input", {
2501
+ ], 42, pi), j.value === "custom" ? (a(), v("div", gi, [b("input", {
2502
2502
  type: "number",
2503
2503
  "data-testid": "image-width-input",
2504
- class: o(h(K)),
2504
+ class: o(h(z)),
2505
2505
  value: typeof e.block.width == "number" ? e.block.width : Ai,
2506
2506
  min: "20",
2507
- onInput: n[6] ||= (e) => ce(e.target.value)
2508
- }, null, 42, _i), b("span", { class: o(h(G)) }, "px", 2)])) : g("", !0)]),
2507
+ onInput: n[6] ||= (e) => re(e.target.value)
2508
+ }, null, 42, _i), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)]),
2509
2509
  _: 1
2510
2510
  }, 8, ["label"]),
2511
- p(Y, {
2511
+ p(A, {
2512
2512
  label: h(s).image.fluidOnMobile,
2513
2513
  class: "tpl:mb-3.5",
2514
2514
  path: "fluidOnMobile"
2515
2515
  }, {
2516
2516
  default: u(() => [b("select", {
2517
- class: o(h(q)),
2517
+ class: o(h(B)),
2518
2518
  "data-testid": "image-fluid-on-mobile",
2519
- value: te.value,
2520
- onChange: n[7] ||= (e) => N(e.target.value)
2519
+ value: F.value,
2520
+ onChange: n[7] ||= (e) => te(e.target.value)
2521
2521
  }, [
2522
2522
  b("option", yi, r(h(s).image.fluidOnMobileAuto), 1),
2523
2523
  b("option", bi, r(h(s).image.fluidOnMobileAlways), 1),
@@ -2525,46 +2525,46 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2525
2525
  ], 42, vi)]),
2526
2526
  _: 1
2527
2527
  }, 8, ["label"]),
2528
- p(Y, {
2528
+ p(A, {
2529
2529
  class: "tpl:mb-3.5",
2530
2530
  path: "height",
2531
2531
  label: h(s).image.height
2532
2532
  }, x({
2533
2533
  default: u(() => [
2534
- h(Se) ? (a(), v(S, { key: 0 }, [b("div", Si, [b("input", {
2534
+ h(q) ? (a(), v(S, { key: 0 }, [b("div", Si, [b("input", {
2535
2535
  type: "number",
2536
2536
  "data-testid": "image-locked-height-input",
2537
- class: o(h(K)),
2538
- value: we.value ?? h(Ce) ?? "",
2537
+ class: o(h(z)),
2538
+ value: _e.value ?? h(J) ?? "",
2539
2539
  min: "1",
2540
- onInput: n[8] ||= (e) => Te(e.target.value),
2541
- onBlur: n[9] ||= (e) => we.value = null
2542
- }, null, 42, Ci), b("span", { class: o(h(G)) }, "px", 2)]), h(V) === null ? g("", !0) : (a(), v("p", wi, r(h(c)(h(s).image.heightCapped, { height: h(V) })), 1))], 64)) : g("", !0),
2543
- h(Se) ? g("", !0) : (a(), v("select", {
2540
+ onInput: n[8] ||= (e) => X(e.target.value),
2541
+ onBlur: n[9] ||= (e) => _e.value = null
2542
+ }, null, 42, Ci), b("span", { class: o(h(L)) }, "px", 2)]), h(ge) === null ? g("", !0) : (a(), v("p", wi, r(h(c)(h(s).image.heightCapped, { height: h(ge) })), 1))], 64)) : g("", !0),
2543
+ h(q) ? g("", !0) : (a(), v("select", {
2544
2544
  key: 1,
2545
- class: o(h(q)),
2545
+ class: o(h(B)),
2546
2546
  "data-testid": "image-height-mode",
2547
- value: ee.value,
2548
- onChange: n[10] ||= (e) => re(e.target.value)
2547
+ value: M.value,
2548
+ onChange: n[10] ||= (e) => R(e.target.value)
2549
2549
  }, [b("option", Ei, r(h(s).image.heightAuto), 1), b("option", Di, r(h(s).image.heightCustom), 1)], 42, Ti)),
2550
- !h(Se) && ee.value === "custom" ? (a(), v("div", Oi, [b("input", {
2550
+ !h(q) && M.value === "custom" ? (a(), v("div", Oi, [b("input", {
2551
2551
  type: "number",
2552
2552
  "data-testid": "image-height-input",
2553
- class: o(h(K)),
2553
+ class: o(h(z)),
2554
2554
  value: e.block.height,
2555
2555
  min: "20",
2556
- onInput: n[11] ||= (e) => oe(e.target.value)
2557
- }, null, 42, ki), b("span", { class: o(h(G)) }, "px", 2)])) : g("", !0)
2556
+ onInput: n[11] ||= (e) => V(e.target.value)
2557
+ }, null, 42, ki), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)
2558
2558
  ]),
2559
2559
  _: 2
2560
- }, [h(be) ? {
2560
+ }, [h(K) ? {
2561
2561
  name: "label-actions",
2562
- fn: u(() => [p(wt, {
2563
- linked: h(Se),
2562
+ fn: u(() => [p(Ct, {
2563
+ linked: h(q),
2564
2564
  "link-label": h(s).image.lockAspectRatio,
2565
2565
  "unlink-label": h(s).image.unlockAspectRatio,
2566
2566
  testid: "image-aspect-lock",
2567
- onToggle: H
2567
+ onToggle: Y
2568
2568
  }, null, 8, [
2569
2569
  "linked",
2570
2570
  "link-label",
@@ -2572,25 +2572,25 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2572
2572
  ])]),
2573
2573
  key: "0"
2574
2574
  } : void 0]), 1032, ["label"]),
2575
- p(jt, {
2575
+ p(At, {
2576
2576
  path: "borderRadius",
2577
2577
  "model-value": e.block.borderRadius,
2578
2578
  label: h(s).image.borderRadius,
2579
2579
  "testid-prefix": "image",
2580
- "onUpdate:modelValue": se
2580
+ "onUpdate:modelValue": ne
2581
2581
  }, null, 8, ["model-value", "label"]),
2582
- p(Ot, {
2582
+ p(Dt, {
2583
2583
  path: "border",
2584
2584
  "model-value": e.block.border,
2585
2585
  "testid-prefix": "image",
2586
- "onUpdate:modelValue": n[12] ||= (e) => j("border", e)
2586
+ "onUpdate:modelValue": n[12] ||= (e) => I("border", e)
2587
2587
  }, null, 8, ["model-value"]),
2588
- p(Y, {
2588
+ p(A, {
2589
2589
  label: h(s).title.align,
2590
2590
  class: "tpl:mb-3.5",
2591
2591
  path: "align"
2592
2592
  }, {
2593
- default: u(() => [p(Q, {
2593
+ default: u(() => [p($, {
2594
2594
  options: [
2595
2595
  {
2596
2596
  value: "left",
@@ -2606,32 +2606,32 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2606
2606
  }
2607
2607
  ],
2608
2608
  "model-value": e.block.align,
2609
- "onUpdate:modelValue": n[13] ||= (e) => j("align", e)
2609
+ "onUpdate:modelValue": n[13] ||= (e) => I("align", e)
2610
2610
  }, null, 8, ["options", "model-value"])]),
2611
2611
  _: 1
2612
2612
  }, 8, ["label"]),
2613
- p(Y, {
2613
+ p(A, {
2614
2614
  label: h(s).image.linkUrl,
2615
2615
  class: "tpl:mb-3.5",
2616
2616
  path: "linkUrl"
2617
2617
  }, {
2618
- default: u(() => [p(Z, {
2618
+ default: u(() => [p(N, {
2619
2619
  "model-value": e.block.linkUrl || "",
2620
2620
  type: "url",
2621
2621
  placeholder: h(s).image.imageUrlPlaceholder,
2622
- "onUpdate:modelValue": n[14] ||= (e) => j("linkUrl", e)
2623
- }, null, 8, ["model-value", "placeholder"]), e.block.linkUrl ? (a(), w(Y, {
2622
+ "onUpdate:modelValue": n[14] ||= (e) => I("linkUrl", e)
2623
+ }, null, 8, ["model-value", "placeholder"]), e.block.linkUrl ? (a(), w(A, {
2624
2624
  key: 0,
2625
2625
  path: "linkOpenInNewTab",
2626
2626
  label: h(s).image.openInNewTab
2627
2627
  }, {
2628
- "label-actions": u(({ controlId: t }) => [p(X, {
2628
+ "label-actions": u(({ controlId: t }) => [p(P, {
2629
2629
  "control-id": t,
2630
2630
  "hide-label": "",
2631
2631
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
2632
2632
  "model-value": e.block.linkOpenInNewTab ?? !1,
2633
2633
  label: h(s).image.openInNewTab,
2634
- "onUpdate:modelValue": n[15] ||= (e) => j("linkOpenInNewTab", e)
2634
+ "onUpdate:modelValue": n[15] ||= (e) => I("linkOpenInNewTab", e)
2635
2635
  }, null, 8, [
2636
2636
  "control-id",
2637
2637
  "model-value",
@@ -2655,7 +2655,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2655
2655
  },
2656
2656
  emits: ["update"],
2657
2657
  setup(e, { emit: t }) {
2658
- let n = e, i = t, { t: c } = W(), l = m(() => [
2658
+ let n = e, i = t, { t: c } = H(), l = m(() => [
2659
2659
  {
2660
2660
  key: "openInNewTab",
2661
2661
  label: c.menu.openInNewTab
@@ -2672,17 +2672,17 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2672
2672
  {
2673
2673
  value: "left",
2674
2674
  label: c.title.alignLeft,
2675
- icon: Le
2675
+ icon: dt
2676
2676
  },
2677
2677
  {
2678
2678
  value: "center",
2679
2679
  label: c.title.alignCenter,
2680
- icon: Ie
2680
+ icon: lt
2681
2681
  },
2682
2682
  {
2683
2683
  value: "right",
2684
2684
  label: c.title.alignRight,
2685
- icon: Fe
2685
+ icon: ut
2686
2686
  }
2687
2687
  ]);
2688
2688
  function f(e, t) {
@@ -2690,7 +2690,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2690
2690
  }
2691
2691
  function g() {
2692
2692
  let e = {
2693
- id: P(),
2693
+ id: pe(),
2694
2694
  text: "",
2695
2695
  url: "",
2696
2696
  openInNewTab: !1,
@@ -2710,36 +2710,36 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2710
2710
  i("update", { items: n.block.items.filter((t) => t.id !== e) });
2711
2711
  }
2712
2712
  return (t, n) => (a(), v(S, null, [
2713
- p(Y, { label: h(c).menu.items }, {
2713
+ p(A, { label: h(c).menu.items }, {
2714
2714
  default: u(() => [b("div", Ni, [(a(!0), v(S, null, s(e.block.items, (t) => (a(), v("div", {
2715
2715
  key: t.id,
2716
2716
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
2717
2717
  }, [
2718
- b("div", Pi, [p(Y, {
2718
+ b("div", Pi, [p(A, {
2719
2719
  path: t.id.includes(".") ? void 0 : `items.${t.id}.text`,
2720
2720
  label: h(c).menu.text
2721
2721
  }, {
2722
2722
  default: u(() => [b("input", {
2723
2723
  type: "text",
2724
- class: o([h(q), "tpl:flex-1"]),
2724
+ class: o([h(B), "tpl:flex-1"]),
2725
2725
  value: t.text,
2726
2726
  placeholder: h(c).menu.text,
2727
2727
  onInput: (e) => _(t.id, "text", e.target.value)
2728
2728
  }, null, 42, Fi)]),
2729
2729
  _: 2
2730
2730
  }, 1032, ["path", "label"]), b("button", {
2731
- class: o(h(rt)),
2731
+ class: o(h(I)),
2732
2732
  title: h(c).menu.removeItem,
2733
2733
  onClick: (e) => x(t.id)
2734
- }, [p(h(ze), {
2734
+ }, [p(h(ft), {
2735
2735
  size: 14,
2736
2736
  "stroke-width": 2
2737
2737
  })], 10, Ii)]),
2738
- p(Y, {
2738
+ p(A, {
2739
2739
  path: t.id.includes(".") ? void 0 : `items.${t.id}.url`,
2740
2740
  label: h(c).button.url
2741
2741
  }, {
2742
- default: u(() => [p(Z, {
2742
+ default: u(() => [p(N, {
2743
2743
  "model-value": t.url,
2744
2744
  type: "url",
2745
2745
  placeholder: h(c).menu.urlPlaceholder,
@@ -2751,12 +2751,12 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2751
2751
  ])]),
2752
2752
  _: 2
2753
2753
  }, 1032, ["path", "label"]),
2754
- b("div", Li, [(a(!0), v(S, null, s(l.value, (e) => (a(), w(Y, {
2754
+ b("div", Li, [(a(!0), v(S, null, s(l.value, (e) => (a(), w(A, {
2755
2755
  key: e.key,
2756
2756
  path: t.id.includes(".") ? void 0 : `items.${t.id}.${e.key}`,
2757
2757
  label: e.label
2758
2758
  }, {
2759
- "label-actions": u(({ controlId: n }) => [p(X, {
2759
+ "label-actions": u(({ controlId: n }) => [p(P, {
2760
2760
  "control-id": n,
2761
2761
  "hide-label": "",
2762
2762
  "model-value": t[e.key],
@@ -2770,11 +2770,11 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2770
2770
  ])]),
2771
2771
  _: 2
2772
2772
  }, 1032, ["path", "label"]))), 128))]),
2773
- b("div", Ri, [p(Y, {
2773
+ b("div", Ri, [p(A, {
2774
2774
  path: t.id.includes(".") ? void 0 : `items.${t.id}.color`,
2775
2775
  label: h(c).menu.color
2776
2776
  }, {
2777
- default: u(() => [p(H, {
2777
+ default: u(() => [p(M, {
2778
2778
  "swatch-only": "",
2779
2779
  "model-value": t.color || e.block.linkColor || e.block.color || "",
2780
2780
  "onUpdate:modelValue": (e) => _(t.id, "color", e)
@@ -2782,21 +2782,21 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2782
2782
  _: 2
2783
2783
  }, 1032, ["path", "label"])])
2784
2784
  ]))), 128)), b("button", {
2785
- class: o(h(at)),
2785
+ class: o(h(R)),
2786
2786
  onClick: g
2787
- }, [p(h(U), {
2787
+ }, [p(h(Z), {
2788
2788
  size: 14,
2789
2789
  "stroke-width": 2
2790
2790
  }), y(" " + r(h(c).menu.addItem), 1)], 2)])]),
2791
2791
  _: 1
2792
2792
  }, 8, ["label"]),
2793
- p(Y, {
2793
+ p(A, {
2794
2794
  path: "fontFamily",
2795
2795
  label: h(c).menu.fontFamily
2796
2796
  }, {
2797
2797
  default: u(() => [b("select", {
2798
- class: o(h(q)),
2799
- value: h(mt)(e.block.fontFamily),
2798
+ class: o(h(B)),
2799
+ value: h(Y)(e.block.fontFamily),
2800
2800
  onChange: n[0] ||= (e) => f("fontFamily", e.target.value || void 0)
2801
2801
  }, [b("option", Bi, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
2802
2802
  key: e.value,
@@ -2804,11 +2804,11 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2804
2804
  }, r(e.label), 9, Vi))), 128))], 42, zi)]),
2805
2805
  _: 1
2806
2806
  }, 8, ["label"]),
2807
- p(Y, {
2807
+ p(A, {
2808
2808
  path: "fontSize",
2809
2809
  label: h(c).menu.fontSize
2810
2810
  }, {
2811
- default: u(() => [p(St, {
2811
+ default: u(() => [p(xt, {
2812
2812
  "model-value": e.block.fontSize,
2813
2813
  min: 8,
2814
2814
  max: 48,
@@ -2817,64 +2817,64 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2817
2817
  }, null, 8, ["model-value"])]),
2818
2818
  _: 1
2819
2819
  }, 8, ["label"]),
2820
- p(Y, {
2820
+ p(A, {
2821
2821
  path: "color",
2822
2822
  label: h(c).menu.color
2823
2823
  }, {
2824
- default: u(() => [p(H, {
2824
+ default: u(() => [p(M, {
2825
2825
  "model-value": e.block.color ?? "",
2826
2826
  "onUpdate:modelValue": n[2] ||= (e) => f("color", e || void 0)
2827
2827
  }, null, 8, ["model-value"])]),
2828
2828
  _: 1
2829
2829
  }, 8, ["label"]),
2830
- p(Y, {
2830
+ p(A, {
2831
2831
  path: "linkColor",
2832
2832
  label: h(c).menu.linkColor
2833
2833
  }, {
2834
- default: u(() => [p(H, {
2834
+ default: u(() => [p(M, {
2835
2835
  "model-value": e.block.linkColor || e.block.color || "",
2836
2836
  "onUpdate:modelValue": n[3] ||= (e) => f("linkColor", e || void 0)
2837
2837
  }, null, 8, ["model-value"])]),
2838
2838
  _: 1
2839
2839
  }, 8, ["label"]),
2840
- p(Y, {
2840
+ p(A, {
2841
2841
  path: "textAlign",
2842
2842
  label: h(c).menu.textAlign
2843
2843
  }, {
2844
- default: u(() => [p(Q, {
2844
+ default: u(() => [p($, {
2845
2845
  options: d.value,
2846
2846
  "model-value": e.block.textAlign,
2847
2847
  "onUpdate:modelValue": n[4] ||= (e) => f("textAlign", e)
2848
2848
  }, null, 8, ["options", "model-value"])]),
2849
2849
  _: 1
2850
2850
  }, 8, ["label"]),
2851
- p(Y, {
2851
+ p(A, {
2852
2852
  path: "separator",
2853
2853
  label: h(c).menu.separator
2854
2854
  }, {
2855
2855
  default: u(() => [b("input", {
2856
2856
  type: "text",
2857
- class: o(h(q)),
2857
+ class: o(h(B)),
2858
2858
  value: e.block.separator,
2859
2859
  onInput: n[5] ||= (e) => f("separator", e.target.value)
2860
2860
  }, null, 42, Hi)]),
2861
2861
  _: 1
2862
2862
  }, 8, ["label"]),
2863
- p(Y, {
2863
+ p(A, {
2864
2864
  path: "separatorColor",
2865
2865
  label: h(c).menu.separatorColor
2866
2866
  }, {
2867
- default: u(() => [p(H, {
2867
+ default: u(() => [p(M, {
2868
2868
  "model-value": e.block.separatorColor,
2869
2869
  "onUpdate:modelValue": n[6] ||= (e) => f("separatorColor", e)
2870
2870
  }, null, 8, ["model-value"])]),
2871
2871
  _: 1
2872
2872
  }, 8, ["label"]),
2873
- p(Y, {
2873
+ p(A, {
2874
2874
  path: "spacing",
2875
2875
  label: h(c).menu.spacing
2876
2876
  }, {
2877
- default: u(() => [p(St, {
2877
+ default: u(() => [p(xt, {
2878
2878
  "model-value": e.block.spacing,
2879
2879
  min: 0,
2880
2880
  max: 50,
@@ -2890,8 +2890,8 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2890
2890
  props: { block: {} },
2891
2891
  emits: ["update"],
2892
2892
  setup(e, { emit: t }) {
2893
- let n = t, { t: r } = W();
2894
- return (t, i) => (a(), w(Y, {
2893
+ let n = t, { t: r } = H();
2894
+ return (t, i) => (a(), w(A, {
2895
2895
  label: h(r).paragraph.paragraphSpacing,
2896
2896
  class: "tpl:mb-3.5",
2897
2897
  "data-testid": "paragraph-spacing",
@@ -2899,19 +2899,19 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2899
2899
  }, {
2900
2900
  default: u(() => [b("div", Wi, [b("input", {
2901
2901
  type: "number",
2902
- class: o(h(K)),
2903
- value: e.block.paragraphSpacing ?? h(M).paragraphGap,
2902
+ class: o(h(z)),
2903
+ value: e.block.paragraphSpacing ?? h(W).paragraphGap,
2904
2904
  min: "0",
2905
2905
  max: "64",
2906
2906
  onInput: i[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
2907
- }, null, 42, Gi), b("span", { class: o(h(G)) }, "px", 2)])]),
2907
+ }, null, 42, Gi), b("span", { class: o(h(L)) }, "px", 2)])]),
2908
2908
  _: 1
2909
2909
  }, 8, ["label"]));
2910
2910
  }
2911
2911
  });
2912
2912
  // src/utils/rebalanceColumnChildren.ts
2913
2913
  function qi(e, t) {
2914
- let n = j(t);
2914
+ let n = q(t);
2915
2915
  if (e.length === n) return e;
2916
2916
  if (e.length < n) {
2917
2917
  let t = Array.from({ length: n - e.length }, () => []);
@@ -2935,7 +2935,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
2935
2935
  props: { block: {} },
2936
2936
  emits: ["update"],
2937
2937
  setup(e, { emit: t }) {
2938
- let n = e, i = t, { t: c } = W(), l = E(We, void 0), d = E(Ke, void 0), f = l !== void 0 && oe(l), _ = m(() => d !== !1 || !!n.block.wrapper), y = m(() => f && !n.block.wrapper), x = m(() => f && _.value), C = m(() => ee(n.block)?.applied === !0), T = m(() => [
2938
+ let n = e, i = t, { t: c } = H(), l = E(He, void 0), d = E(Ve, void 0), f = l !== void 0 && fe(l), _ = m(() => d !== !1 || !!n.block.wrapper), y = m(() => f && !n.block.wrapper), x = m(() => f && _.value), C = m(() => oe(n.block)?.applied === !0), T = m(() => [
2939
2939
  {
2940
2940
  value: "1",
2941
2941
  label: c.section.column1
@@ -2986,7 +2986,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
2986
2986
  function k(e) {
2987
2987
  i("update", { borderRadius: e });
2988
2988
  }
2989
- function A(e) {
2989
+ function j(e) {
2990
2990
  e ? i("update", { wrapper: { padding: {
2991
2991
  top: 20,
2992
2992
  right: 20,
@@ -2994,37 +2994,37 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
2994
2994
  left: 20
2995
2995
  } } }) : i("update", Wn(n.block));
2996
2996
  }
2997
- function te(e) {
2997
+ function N(e) {
2998
2998
  i("update", Un(n.block, e));
2999
2999
  }
3000
- function j(e) {
3000
+ function F(e) {
3001
3001
  i("update", { wrapper: {
3002
3002
  ...n.block.wrapper,
3003
3003
  ...e
3004
3004
  } });
3005
3005
  }
3006
- function M(e) {
3007
- j({ padding: e });
3006
+ function I(e) {
3007
+ F({ padding: e });
3008
3008
  }
3009
- function ne(e) {
3010
- j({ borderRadius: e });
3009
+ function L(e) {
3010
+ F({ borderRadius: e });
3011
3011
  }
3012
3012
  return (t, n) => (a(), v(S, null, [
3013
- b("div", Ji, [b("label", { class: o(h(J)) }, r(h(c).section.columns), 3), b("select", {
3014
- class: o(h(q)),
3013
+ b("div", Ji, [b("label", { class: o(h(V)) }, r(h(c).section.columns), 3), b("select", {
3014
+ class: o(h(B)),
3015
3015
  value: e.block.columns,
3016
3016
  onChange: D
3017
3017
  }, [(a(!0), v(S, null, s(T.value, (e) => (a(), v("option", {
3018
3018
  key: e.value,
3019
3019
  value: e.value
3020
3020
  }, r(e.label), 9, Xi))), 128))], 42, Yi)]),
3021
- e.block.columns === "1" ? g("", !0) : (a(), w(Y, {
3021
+ e.block.columns === "1" ? g("", !0) : (a(), w(A, {
3022
3022
  key: 0,
3023
3023
  class: "tpl:mb-3.5",
3024
3024
  path: "stackOnMobile",
3025
3025
  label: h(c).section.stackOnMobile
3026
3026
  }, {
3027
- "label-actions": u(({ controlId: t }) => [p(X, {
3027
+ "label-actions": u(({ controlId: t }) => [p(P, {
3028
3028
  "control-id": t,
3029
3029
  "hide-label": "",
3030
3030
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
@@ -3038,7 +3038,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3038
3038
  ])]),
3039
3039
  _: 1
3040
3040
  }, 8, ["label"])),
3041
- p(jt, {
3041
+ p(At, {
3042
3042
  path: "borderRadius",
3043
3043
  "model-value": e.block.borderRadius,
3044
3044
  label: h(c).section.borderRadius,
@@ -3046,7 +3046,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3046
3046
  "testid-prefix": "section",
3047
3047
  "onUpdate:modelValue": k
3048
3048
  }, null, 8, ["model-value", "label"]),
3049
- C.value ? g("", !0) : (a(), w(Ot, {
3049
+ C.value ? g("", !0) : (a(), w(Dt, {
3050
3050
  key: 1,
3051
3051
  path: "border",
3052
3052
  "model-value": e.block.border,
@@ -3054,18 +3054,18 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3054
3054
  "onUpdate:modelValue": n[1] ||= (e) => i("update", { border: e })
3055
3055
  }, null, 8, ["model-value"])),
3056
3056
  _.value ? (a(), v("div", Zi, [
3057
- p(Y, {
3057
+ p(A, {
3058
3058
  path: "wrapper",
3059
3059
  label: h(c).section.wrapperEnable
3060
3060
  }, {
3061
- "label-actions": u(({ controlId: t }) => [p(X, {
3061
+ "label-actions": u(({ controlId: t }) => [p(P, {
3062
3062
  "control-id": t,
3063
3063
  "hide-label": "",
3064
3064
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
3065
3065
  "model-value": !!e.block.wrapper,
3066
3066
  label: h(c).section.wrapperEnable,
3067
3067
  disabled: y.value,
3068
- "onUpdate:modelValue": n[2] ||= (e) => A(e)
3068
+ "onUpdate:modelValue": n[2] ||= (e) => j(e)
3069
3069
  }, null, 8, [
3070
3070
  "control-id",
3071
3071
  "model-value",
@@ -3076,18 +3076,18 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3076
3076
  }, 8, ["label"]),
3077
3077
  x.value ? (a(), v("p", Qi, r(h(c).section.wrapperLayoutConflict), 1)) : g("", !0),
3078
3078
  e.block.wrapper ? (a(), v("div", $i, [
3079
- p(Y, {
3079
+ p(A, {
3080
3080
  path: "wrapper.fullWidth",
3081
3081
  label: h(c).blockSettings.fullWidthBackground
3082
3082
  }, {
3083
- "label-actions": u(({ controlId: t }) => [p(X, {
3083
+ "label-actions": u(({ controlId: t }) => [p(P, {
3084
3084
  "data-testid": "section-wrapper-full-width",
3085
3085
  "control-id": t,
3086
3086
  "hide-label": "",
3087
3087
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
3088
3088
  "model-value": e.block.wrapper.fullWidth === !0,
3089
3089
  label: h(c).blockSettings.fullWidthBackground,
3090
- "onUpdate:modelValue": te
3090
+ "onUpdate:modelValue": N
3091
3091
  }, null, 8, [
3092
3092
  "control-id",
3093
3093
  "model-value",
@@ -3095,18 +3095,18 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3095
3095
  ])]),
3096
3096
  _: 1
3097
3097
  }, 8, ["label"]),
3098
- b("div", null, [p(Y, {
3098
+ b("div", null, [p(A, {
3099
3099
  path: "wrapper.backgroundColor",
3100
3100
  label: h(c).blockSettings.color
3101
3101
  }, {
3102
- default: u(() => [p(H, {
3102
+ default: u(() => [p(M, {
3103
3103
  "model-value": e.block.wrapper.backgroundColor ?? "",
3104
3104
  "allow-transparent": "",
3105
- "onUpdate:modelValue": n[3] ||= (e) => j({ backgroundColor: e })
3105
+ "onUpdate:modelValue": n[3] ||= (e) => F({ backgroundColor: e })
3106
3106
  }, null, 8, ["model-value"])]),
3107
3107
  _: 1
3108
3108
  }, 8, ["label"])]),
3109
- p(Y, {
3109
+ p(A, {
3110
3110
  path: "wrapper.backgroundImage",
3111
3111
  label: h(c).blockSettings.backgroundImage
3112
3112
  }, {
@@ -3114,7 +3114,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3114
3114
  "hide-label": "",
3115
3115
  "model-value": e.block.wrapper.backgroundImage,
3116
3116
  "testid-prefix": "section-wrapper",
3117
- "onUpdate:modelValue": n[4] ||= (e) => j({ backgroundImage: e })
3117
+ "onUpdate:modelValue": n[4] ||= (e) => F({ backgroundImage: e })
3118
3118
  }, null, 8, ["model-value"])]),
3119
3119
  _: 1
3120
3120
  }, 8, ["label"]),
@@ -3127,15 +3127,15 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3127
3127
  bottom: 0,
3128
3128
  left: 0
3129
3129
  },
3130
- "onUpdate:modelValue": M
3130
+ "onUpdate:modelValue": I
3131
3131
  }, null, 8, ["label", "model-value"]),
3132
- p(jt, {
3132
+ p(At, {
3133
3133
  path: "wrapper.borderRadius",
3134
3134
  "model-value": e.block.wrapper.borderRadius,
3135
3135
  label: h(c).section.borderRadius,
3136
3136
  max: 50,
3137
3137
  "testid-prefix": "section-wrapper",
3138
- "onUpdate:modelValue": ne
3138
+ "onUpdate:modelValue": L
3139
3139
  }, null, 8, ["model-value", "label"])
3140
3140
  ])) : g("", !0)
3141
3141
  ])) : g("", !0)
@@ -3146,13 +3146,13 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3146
3146
  props: { block: {} },
3147
3147
  emits: ["update"],
3148
3148
  setup(e, { emit: t }) {
3149
- let n = e, i = t, { t: c } = W();
3149
+ let n = e, i = t, { t: c } = H();
3150
3150
  function l(e, t) {
3151
3151
  i("update", { [e]: t });
3152
3152
  }
3153
3153
  function d() {
3154
3154
  let e = {
3155
- id: P(),
3155
+ id: pe(),
3156
3156
  platform: "facebook",
3157
3157
  url: ""
3158
3158
  };
@@ -3169,35 +3169,35 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3169
3169
  i("update", { icons: n.block.icons.filter((t) => t.id !== e) });
3170
3170
  }
3171
3171
  return (t, n) => (a(), v(S, null, [
3172
- b("div", ta, [b("label", { class: o(h(J)) }, r(h(c).social.icons), 3), b("div", na, [(a(!0), v(S, null, s(e.block.icons, (e) => (a(), v("div", {
3172
+ b("div", ta, [b("label", { class: o(h(V)) }, r(h(c).social.icons), 3), b("div", na, [(a(!0), v(S, null, s(e.block.icons, (e) => (a(), v("div", {
3173
3173
  key: e.id,
3174
3174
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
3175
- }, [b("div", ra, [p(Y, {
3175
+ }, [b("div", ra, [p(A, {
3176
3176
  path: e.id.includes(".") ? void 0 : `icons.${e.id}.platform`,
3177
3177
  label: h(c).social.icons
3178
3178
  }, {
3179
3179
  default: u(() => [b("select", {
3180
3180
  "data-testid": "social-platform-select",
3181
- class: o([h(q), "tpl:flex-1"]),
3181
+ class: o([h(B), "tpl:flex-1"]),
3182
3182
  value: e.platform,
3183
3183
  onChange: (t) => f(e.id, "platform", t.target.value)
3184
- }, [(a(!0), v(S, null, s(h(B), (e) => (a(), v("option", {
3184
+ }, [(a(!0), v(S, null, s(h(Me), (e) => (a(), v("option", {
3185
3185
  key: e,
3186
3186
  value: e
3187
3187
  }, r(h(c).social.platforms[e]), 9, aa))), 128))], 42, ia)]),
3188
3188
  _: 2
3189
3189
  }, 1032, ["path", "label"]), b("button", {
3190
- class: o(h(rt)),
3190
+ class: o(h(I)),
3191
3191
  title: h(c).social.removeIcon,
3192
3192
  onClick: (t) => m(e.id)
3193
- }, [p(h(ze), {
3193
+ }, [p(h(ft), {
3194
3194
  size: 14,
3195
3195
  "stroke-width": 2
3196
- })], 10, oa)]), p(Y, {
3196
+ })], 10, oa)]), p(A, {
3197
3197
  path: e.id.includes(".") ? void 0 : `icons.${e.id}.url`,
3198
3198
  label: h(c).button.url
3199
3199
  }, {
3200
- default: u(() => [p(Z, {
3200
+ default: u(() => [p(N, {
3201
3201
  "model-value": e.url,
3202
3202
  type: "url",
3203
3203
  placeholder: h(c).social.urlPlaceholder,
@@ -3209,19 +3209,19 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3209
3209
  ])]),
3210
3210
  _: 2
3211
3211
  }, 1032, ["path", "label"])]))), 128)), b("button", {
3212
- class: o(h(at)),
3212
+ class: o(h(R)),
3213
3213
  onClick: d
3214
- }, [p(h(U), {
3214
+ }, [p(h(Z), {
3215
3215
  size: 14,
3216
3216
  "stroke-width": 2
3217
3217
  }), y(" " + r(h(c).social.addIcon), 1)], 2)])]),
3218
- p(Y, {
3218
+ p(A, {
3219
3219
  label: h(c).social.style,
3220
3220
  class: "tpl:mb-3.5",
3221
3221
  path: "iconStyle"
3222
3222
  }, {
3223
3223
  default: u(() => [b("select", {
3224
- class: o(h(q)),
3224
+ class: o(h(B)),
3225
3225
  value: e.block.iconStyle,
3226
3226
  onChange: n[0] ||= (e) => l("iconStyle", e.target.value)
3227
3227
  }, [
@@ -3234,14 +3234,14 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3234
3234
  ], 42, sa)]),
3235
3235
  _: 1
3236
3236
  }, 8, ["label"]),
3237
- p(Y, {
3237
+ p(A, {
3238
3238
  label: h(c).social.color,
3239
3239
  class: "tpl:mb-3.5",
3240
3240
  path: "iconTone"
3241
3241
  }, {
3242
3242
  default: u(() => [b("select", {
3243
3243
  "data-testid": "social-tone-select",
3244
- class: o(h(q)),
3244
+ class: o(h(B)),
3245
3245
  value: e.block.iconTone ?? "brand",
3246
3246
  onChange: n[1] ||= (e) => l("iconTone", e.target.value)
3247
3247
  }, [
@@ -3251,12 +3251,12 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3251
3251
  ], 42, ma)]),
3252
3252
  _: 1
3253
3253
  }, 8, ["label"]),
3254
- p(Y, {
3254
+ p(A, {
3255
3255
  label: h(c).social.size,
3256
3256
  class: "tpl:mb-3.5",
3257
3257
  path: "iconSize"
3258
3258
  }, {
3259
- default: u(() => [p(Q, {
3259
+ default: u(() => [p($, {
3260
3260
  options: [
3261
3261
  {
3262
3262
  value: "small",
@@ -3276,42 +3276,42 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3276
3276
  }, null, 8, ["options", "model-value"])]),
3277
3277
  _: 1
3278
3278
  }, 8, ["label"]),
3279
- p(Y, {
3279
+ p(A, {
3280
3280
  label: h(c).social.spacing,
3281
3281
  class: "tpl:mb-3.5",
3282
3282
  path: "spacing"
3283
3283
  }, {
3284
3284
  default: u(() => [b("div", va, [b("input", {
3285
3285
  type: "number",
3286
- class: o(h(K)),
3286
+ class: o(h(z)),
3287
3287
  value: e.block.spacing,
3288
3288
  min: "0",
3289
3289
  max: "50",
3290
3290
  onInput: n[3] ||= (e) => l("spacing", Number(e.target.value))
3291
- }, null, 42, ya), b("span", { class: o(h(G)) }, "px", 2)])]),
3291
+ }, null, 42, ya), b("span", { class: o(h(L)) }, "px", 2)])]),
3292
3292
  _: 1
3293
3293
  }, 8, ["label"]),
3294
- p(Y, {
3294
+ p(A, {
3295
3295
  label: h(c).social.align,
3296
3296
  class: "tpl:mb-3.5",
3297
3297
  path: "align"
3298
3298
  }, {
3299
- default: u(() => [p(Q, {
3299
+ default: u(() => [p($, {
3300
3300
  options: [
3301
3301
  {
3302
3302
  value: "left",
3303
3303
  label: h(c).title.alignLeft,
3304
- icon: h(Le)
3304
+ icon: h(dt)
3305
3305
  },
3306
3306
  {
3307
3307
  value: "center",
3308
3308
  label: h(c).title.alignCenter,
3309
- icon: h(Ie)
3309
+ icon: h(lt)
3310
3310
  },
3311
3311
  {
3312
3312
  value: "right",
3313
3313
  label: h(c).title.alignRight,
3314
- icon: h(Fe)
3314
+ icon: h(ut)
3315
3315
  }
3316
3316
  ],
3317
3317
  "model-value": e.block.align,
@@ -3326,20 +3326,20 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3326
3326
  props: { block: {} },
3327
3327
  emits: ["update"],
3328
3328
  setup(e, { emit: t }) {
3329
- let n = t, { t: r } = W();
3330
- return (t, i) => (a(), w(Y, {
3329
+ let n = t, { t: r } = H();
3330
+ return (t, i) => (a(), w(A, {
3331
3331
  label: h(r).spacer.height,
3332
3332
  class: "tpl:mb-3.5",
3333
3333
  path: "height"
3334
3334
  }, {
3335
3335
  default: u(() => [b("div", xa, [b("input", {
3336
3336
  type: "number",
3337
- class: o(h(K)),
3337
+ class: o(h(z)),
3338
3338
  value: e.block.height,
3339
3339
  min: "10",
3340
3340
  max: "100",
3341
3341
  onInput: i[0] ||= (e) => n("update", { height: Number(e.target.value) })
3342
- }, null, 42, Sa), b("span", { class: o(h(G)) }, "px", 2)]), b("input", {
3342
+ }, null, 42, Sa), b("span", { class: o(h(L)) }, "px", 2)]), b("input", {
3343
3343
  type: "range",
3344
3344
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
3345
3345
  value: e.block.height,
@@ -3358,15 +3358,15 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3358
3358
  },
3359
3359
  emits: ["update"],
3360
3360
  setup(e, { emit: t }) {
3361
- let n = e, i = t, { t: c } = W(), l = m(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3361
+ let n = e, i = t, { t: c } = H(), l = m(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3362
3362
  function d(e, t) {
3363
3363
  i("update", { [e]: t });
3364
3364
  }
3365
3365
  function f() {
3366
3366
  let e = n.block.rows.length > 0 ? n.block.rows[0].cells.length : 3, t = {
3367
- id: P(),
3367
+ id: pe(),
3368
3368
  cells: Array.from({ length: e }, () => ({
3369
- id: P(),
3369
+ id: pe(),
3370
3370
  content: ""
3371
3371
  }))
3372
3372
  };
@@ -3379,7 +3379,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3379
3379
  let e = n.block.rows.map((e) => ({
3380
3380
  ...e,
3381
3381
  cells: [...e.cells, {
3382
- id: P(),
3382
+ id: pe(),
3383
3383
  content: ""
3384
3384
  }]
3385
3385
  }));
@@ -3393,12 +3393,12 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3393
3393
  i("update", { rows: t });
3394
3394
  }
3395
3395
  return (t, n) => (a(), v(S, null, [
3396
- b("div", Ta, [b("label", { class: o(h(J)) }, r(h(c).table.dimensions), 3), b("div", Ea, [b("div", Da, [b("span", Oa, r(h(c).table.rows), 1), b("div", ka, [
3396
+ b("div", Ta, [b("label", { class: o(h(V)) }, r(h(c).table.dimensions), 3), b("div", Ea, [b("div", Da, [b("span", Oa, r(h(c).table.rows), 1), b("div", ka, [
3397
3397
  b("button", {
3398
3398
  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",
3399
3399
  disabled: e.block.rows.length <= 1,
3400
3400
  onClick: n[0] ||= (t) => _(e.block.rows[e.block.rows.length - 1].id)
3401
- }, [p(h(Ee), {
3401
+ }, [p(h(X), {
3402
3402
  size: 12,
3403
3403
  "stroke-width": 2
3404
3404
  })], 8, Aa),
@@ -3406,7 +3406,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3406
3406
  b("button", {
3407
3407
  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)]",
3408
3408
  onClick: f
3409
- }, [p(h(U), {
3409
+ }, [p(h(Z), {
3410
3410
  size: 12,
3411
3411
  "stroke-width": 2
3412
3412
  })])
@@ -3415,7 +3415,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3415
3415
  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",
3416
3416
  disabled: l.value <= 1,
3417
3417
  onClick: n[1] ||= (e) => x(l.value - 1)
3418
- }, [p(h(Ee), {
3418
+ }, [p(h(X), {
3419
3419
  size: 12,
3420
3420
  "stroke-width": 2
3421
3421
  })], 8, Fa),
@@ -3423,17 +3423,17 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3423
3423
  b("button", {
3424
3424
  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)]",
3425
3425
  onClick: y
3426
- }, [p(h(U), {
3426
+ }, [p(h(Z), {
3427
3427
  size: 12,
3428
3428
  "stroke-width": 2
3429
3429
  })])
3430
3430
  ])])])]),
3431
- p(Y, {
3431
+ p(A, {
3432
3432
  class: "tpl:mb-3.5",
3433
3433
  path: "hasHeaderRow",
3434
3434
  label: h(c).table.hasHeaderRow
3435
3435
  }, {
3436
- "label-actions": u(({ controlId: t }) => [p(X, {
3436
+ "label-actions": u(({ controlId: t }) => [p(P, {
3437
3437
  "control-id": t,
3438
3438
  "hide-label": "",
3439
3439
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
@@ -3447,15 +3447,15 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3447
3447
  ])]),
3448
3448
  _: 1
3449
3449
  }, 8, ["label"]),
3450
- e.block.hasHeaderRow ? (a(), w(Y, {
3450
+ e.block.hasHeaderRow ? (a(), w(A, {
3451
3451
  key: 0,
3452
3452
  label: h(c).table.headerBackgroundColor,
3453
3453
  class: "tpl:mb-3.5",
3454
3454
  path: "headerBackgroundColor"
3455
3455
  }, {
3456
- default: u(() => [p(H, {
3456
+ default: u(() => [p(M, {
3457
3457
  "model-value": e.block.headerBackgroundColor ?? "",
3458
- "seed-color": h(ot),
3458
+ "seed-color": h(te),
3459
3459
  placeholder: h(c).table.noHeaderBg,
3460
3460
  "onUpdate:modelValue": n[3] ||= (e) => d("headerBackgroundColor", e || null)
3461
3461
  }, null, 8, [
@@ -3465,55 +3465,55 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3465
3465
  ])]),
3466
3466
  _: 1
3467
3467
  }, 8, ["label"])) : g("", !0),
3468
- p(Y, {
3468
+ p(A, {
3469
3469
  label: h(c).table.borderColor,
3470
3470
  class: "tpl:mb-3.5",
3471
3471
  path: "borderColor"
3472
3472
  }, {
3473
- default: u(() => [p(H, {
3473
+ default: u(() => [p(M, {
3474
3474
  "model-value": e.block.borderColor,
3475
3475
  "onUpdate:modelValue": n[4] ||= (e) => d("borderColor", e)
3476
3476
  }, null, 8, ["model-value"])]),
3477
3477
  _: 1
3478
3478
  }, 8, ["label"]),
3479
- p(Y, {
3479
+ p(A, {
3480
3480
  label: h(c).table.borderWidth,
3481
3481
  class: "tpl:mb-3.5",
3482
3482
  path: "borderWidth"
3483
3483
  }, {
3484
3484
  default: u(() => [b("div", La, [b("input", {
3485
3485
  type: "number",
3486
- class: o(h(K)),
3486
+ class: o(h(z)),
3487
3487
  value: e.block.borderWidth,
3488
3488
  min: "0",
3489
3489
  max: "10",
3490
3490
  onInput: n[5] ||= (e) => d("borderWidth", Number(e.target.value))
3491
- }, null, 42, Ra), b("span", { class: o(h(G)) }, "px", 2)])]),
3491
+ }, null, 42, Ra), b("span", { class: o(h(L)) }, "px", 2)])]),
3492
3492
  _: 1
3493
3493
  }, 8, ["label"]),
3494
- p(Y, {
3494
+ p(A, {
3495
3495
  label: h(c).table.cellPadding,
3496
3496
  class: "tpl:mb-3.5",
3497
3497
  path: "cellPadding"
3498
3498
  }, {
3499
3499
  default: u(() => [b("div", za, [b("input", {
3500
3500
  type: "number",
3501
- class: o(h(K)),
3501
+ class: o(h(z)),
3502
3502
  value: e.block.cellPadding,
3503
3503
  min: "0",
3504
3504
  max: "30",
3505
3505
  onInput: n[6] ||= (e) => d("cellPadding", Number(e.target.value))
3506
- }, null, 42, Ba), b("span", { class: o(h(G)) }, "px", 2)])]),
3506
+ }, null, 42, Ba), b("span", { class: o(h(L)) }, "px", 2)])]),
3507
3507
  _: 1
3508
3508
  }, 8, ["label"]),
3509
- p(Y, {
3509
+ p(A, {
3510
3510
  label: h(c).table.fontFamily,
3511
3511
  class: "tpl:mb-3.5",
3512
3512
  path: "fontFamily"
3513
3513
  }, {
3514
3514
  default: u(() => [b("select", {
3515
- class: o(h(q)),
3516
- value: h(mt)(e.block.fontFamily),
3515
+ class: o(h(B)),
3516
+ value: h(Y)(e.block.fontFamily),
3517
3517
  onChange: n[7] ||= (e) => d("fontFamily", e.target.value || void 0)
3518
3518
  }, [b("option", Ha, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3519
3519
  key: e.value,
@@ -3521,53 +3521,53 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3521
3521
  }, r(e.label), 9, Ua))), 128))], 42, Va)]),
3522
3522
  _: 1
3523
3523
  }, 8, ["label"]),
3524
- p(Y, {
3524
+ p(A, {
3525
3525
  label: h(c).table.fontSize,
3526
3526
  class: "tpl:mb-3.5",
3527
3527
  path: "fontSize"
3528
3528
  }, {
3529
3529
  default: u(() => [b("div", Wa, [b("input", {
3530
3530
  type: "number",
3531
- class: o(h(K)),
3531
+ class: o(h(z)),
3532
3532
  value: e.block.fontSize,
3533
3533
  min: "10",
3534
3534
  max: "32",
3535
3535
  onInput: n[8] ||= (e) => d("fontSize", Number(e.target.value))
3536
- }, null, 42, Ga), b("span", { class: o(h(G)) }, "px", 2)])]),
3536
+ }, null, 42, Ga), b("span", { class: o(h(L)) }, "px", 2)])]),
3537
3537
  _: 1
3538
3538
  }, 8, ["label"]),
3539
- p(Y, {
3539
+ p(A, {
3540
3540
  label: h(c).table.color,
3541
3541
  class: "tpl:mb-3.5",
3542
3542
  path: "color"
3543
3543
  }, {
3544
- default: u(() => [p(H, {
3544
+ default: u(() => [p(M, {
3545
3545
  "model-value": e.block.color ?? "",
3546
3546
  "onUpdate:modelValue": n[9] ||= (e) => d("color", e || void 0)
3547
3547
  }, null, 8, ["model-value"])]),
3548
3548
  _: 1
3549
3549
  }, 8, ["label"]),
3550
- p(Y, {
3550
+ p(A, {
3551
3551
  label: h(c).table.textAlign,
3552
3552
  class: "tpl:mb-3.5",
3553
3553
  path: "textAlign"
3554
3554
  }, {
3555
- default: u(() => [p(Q, {
3555
+ default: u(() => [p($, {
3556
3556
  options: [
3557
3557
  {
3558
3558
  value: "left",
3559
3559
  label: h(c).title.alignLeft,
3560
- icon: h(Le)
3560
+ icon: h(dt)
3561
3561
  },
3562
3562
  {
3563
3563
  value: "center",
3564
3564
  label: h(c).title.alignCenter,
3565
- icon: h(Ie)
3565
+ icon: h(lt)
3566
3566
  },
3567
3567
  {
3568
3568
  value: "right",
3569
3569
  label: h(c).title.alignRight,
3570
- icon: h(Fe)
3570
+ icon: h(ut)
3571
3571
  }
3572
3572
  ],
3573
3573
  "model-value": e.block.textAlign,
@@ -3585,18 +3585,18 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3585
3585
  },
3586
3586
  emits: ["update"],
3587
3587
  setup(e, { emit: t }) {
3588
- let n = t, { t: i } = W();
3588
+ let n = t, { t: i } = H();
3589
3589
  function c(e, t) {
3590
3590
  n("update", { [e]: t });
3591
3591
  }
3592
3592
  return (t, n) => (a(), v(S, null, [
3593
- p(Y, {
3593
+ p(A, {
3594
3594
  label: h(i).title.level,
3595
3595
  class: "tpl:mb-3.5",
3596
3596
  path: "level"
3597
3597
  }, {
3598
3598
  default: u(() => [b("select", {
3599
- class: o(h(q)),
3599
+ class: o(h(B)),
3600
3600
  value: e.block.level,
3601
3601
  onChange: n[0] ||= (e) => c("level", Number(e.target.value))
3602
3602
  }, [
@@ -3607,14 +3607,14 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3607
3607
  ], 42, qa)]),
3608
3608
  _: 1
3609
3609
  }, 8, ["label"]),
3610
- p(Y, {
3610
+ p(A, {
3611
3611
  label: h(i).title.fontFamily,
3612
3612
  class: "tpl:mb-3.5",
3613
3613
  path: "fontFamily"
3614
3614
  }, {
3615
3615
  default: u(() => [b("select", {
3616
- class: o(h(q)),
3617
- value: h(mt)(e.block.fontFamily),
3616
+ class: o(h(B)),
3617
+ value: h(Y)(e.block.fontFamily),
3618
3618
  onChange: n[1] ||= (e) => c("fontFamily", e.target.value || void 0)
3619
3619
  }, [b("option", $a, r(h(i).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3620
3620
  key: e.value,
@@ -3622,38 +3622,38 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3622
3622
  }, r(e.label), 9, eo))), 128))], 42, Qa)]),
3623
3623
  _: 1
3624
3624
  }, 8, ["label"]),
3625
- p(Y, {
3625
+ p(A, {
3626
3626
  label: h(i).title.color,
3627
3627
  class: "tpl:mb-3.5",
3628
3628
  path: "color"
3629
3629
  }, {
3630
- default: u(() => [p(H, {
3630
+ default: u(() => [p(M, {
3631
3631
  "model-value": e.block.color ?? "",
3632
3632
  "onUpdate:modelValue": n[2] ||= (e) => c("color", e || void 0)
3633
3633
  }, null, 8, ["model-value"])]),
3634
3634
  _: 1
3635
3635
  }, 8, ["label"]),
3636
- p(Y, {
3636
+ p(A, {
3637
3637
  label: h(i).title.align,
3638
3638
  class: "tpl:mb-3.5",
3639
3639
  path: "textAlign"
3640
3640
  }, {
3641
- default: u(() => [p(Q, {
3641
+ default: u(() => [p($, {
3642
3642
  options: [
3643
3643
  {
3644
3644
  value: "left",
3645
3645
  label: h(i).title.alignLeft,
3646
- icon: h(Le)
3646
+ icon: h(dt)
3647
3647
  },
3648
3648
  {
3649
3649
  value: "center",
3650
3650
  label: h(i).title.alignCenter,
3651
- icon: h(Ie)
3651
+ icon: h(lt)
3652
3652
  },
3653
3653
  {
3654
3654
  value: "right",
3655
3655
  label: h(i).title.alignRight,
3656
- icon: h(Fe)
3656
+ icon: h(ut)
3657
3657
  }
3658
3658
  ],
3659
3659
  "model-value": e.block.textAlign,
@@ -3678,63 +3678,63 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3678
3678
  props: { block: {} },
3679
3679
  emits: ["update"],
3680
3680
  setup(e, { emit: t }) {
3681
- let n = e, i = t, { t: s } = W(), c = E(Ge, null), l = E(Be, ne.liquid), d = ge(), f = [
3681
+ let n = e, i = t, { t: s } = H(), c = E(Ue, null), l = E(Le, ce.liquid), d = we(), f = [
3682
3682
  300,
3683
3683
  400,
3684
3684
  500
3685
- ], x = m(() => !!c), C = m(() => ae(n.block.url, l)), T = m(() => {
3685
+ ], x = m(() => !!c), C = m(() => U(n.block.url, l)), T = m(() => {
3686
3686
  let e = n.block.width;
3687
3687
  return e === "full" ? "full" : f.includes(e) ? String(e) : "custom";
3688
3688
  }), D = m(() => typeof n.block.height == "number" ? "custom" : "auto"), O = _(!1), { start: k } = ct(() => {
3689
3689
  O.value = !1;
3690
3690
  }, 1e3, { immediate: !1 });
3691
- function A(e, t) {
3691
+ function j(e, t) {
3692
3692
  i("update", { [e]: t });
3693
3693
  }
3694
- function ee(e) {
3694
+ function M(e) {
3695
3695
  if (e === "custom") {
3696
3696
  let e = n.block.width;
3697
- (typeof e != "number" || f.includes(e)) && A("width", go);
3698
- } else A("width", e === "full" ? "full" : Number(e));
3697
+ (typeof e != "number" || f.includes(e)) && j("width", go);
3698
+ } else j("width", e === "full" ? "full" : Number(e));
3699
3699
  }
3700
- function te(e) {
3700
+ function F(e) {
3701
3701
  let t = Number(e);
3702
- !Number.isFinite(t) || t <= 0 || A("width", t);
3702
+ !Number.isFinite(t) || t <= 0 || j("width", t);
3703
3703
  }
3704
- function j(e) {
3705
- A("height", e === "custom" ? _o : void 0);
3704
+ function I(e) {
3705
+ j("height", e === "custom" ? _o : void 0);
3706
3706
  }
3707
- function M(e) {
3707
+ function ee(e) {
3708
3708
  let t = Number(e);
3709
- !Number.isFinite(t) || t <= 0 || A("height", t);
3709
+ !Number.isFinite(t) || t <= 0 || j("height", t);
3710
3710
  }
3711
- async function re() {
3711
+ async function R() {
3712
3712
  let e = await c?.({ accept: ["images"] });
3713
- d.alive && e && (A("thumbnailUrl", e.url), O.value = !0, k());
3713
+ d.alive && e && (j("thumbnailUrl", e.url), O.value = !0, k());
3714
3714
  }
3715
3715
  return (t, n) => (a(), v(S, null, [
3716
- p(Y, {
3716
+ p(A, {
3717
3717
  label: h(s).video.videoUrl,
3718
3718
  class: "tpl:mb-3.5",
3719
3719
  path: "url"
3720
3720
  }, {
3721
- default: u(() => [p(Z, {
3721
+ default: u(() => [p(N, {
3722
3722
  "model-value": e.block.url,
3723
3723
  type: "url",
3724
3724
  placeholder: h(s).video.videoUrlPlaceholder,
3725
- "onUpdate:modelValue": n[0] ||= (e) => A("url", e)
3726
- }, null, 8, ["model-value", "placeholder"]), e.block.url ? (a(), w(Y, {
3725
+ "onUpdate:modelValue": n[0] ||= (e) => j("url", e)
3726
+ }, null, 8, ["model-value", "placeholder"]), e.block.url ? (a(), w(A, {
3727
3727
  key: 0,
3728
3728
  path: "openInNewTab",
3729
3729
  label: h(s).video.openInNewTab
3730
3730
  }, {
3731
- "label-actions": u(({ controlId: t }) => [p(X, {
3731
+ "label-actions": u(({ controlId: t }) => [p(P, {
3732
3732
  "control-id": t,
3733
3733
  "hide-label": "",
3734
3734
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
3735
3735
  "model-value": e.block.openInNewTab ?? !1,
3736
3736
  label: h(s).video.openInNewTab,
3737
- "onUpdate:modelValue": n[1] ||= (e) => A("openInNewTab", e)
3737
+ "onUpdate:modelValue": n[1] ||= (e) => j("openInNewTab", e)
3738
3738
  }, null, 8, [
3739
3739
  "control-id",
3740
3740
  "model-value",
@@ -3744,7 +3744,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3744
3744
  }, 8, ["label"])) : g("", !0)]),
3745
3745
  _: 1
3746
3746
  }, 8, ["label"]),
3747
- C.value ? (a(), w(Y, {
3747
+ C.value ? (a(), w(A, {
3748
3748
  key: 0,
3749
3749
  class: "tpl:mb-3.5",
3750
3750
  path: "placeholderUrl"
@@ -3752,25 +3752,25 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3752
3752
  label: u(() => [y(r(h(s).video.placeholderUrl) + " ", 1), b("span", no, r(h(s).video.optional), 1)]),
3753
3753
  default: u(() => [b("input", {
3754
3754
  type: "url",
3755
- class: o(h(q)),
3755
+ class: o(h(B)),
3756
3756
  value: e.block.placeholderUrl || "",
3757
3757
  placeholder: h(s).video.placeholderUrlPlaceholder,
3758
3758
  title: h(s).video.placeholderUrlTooltip,
3759
- onInput: n[2] ||= (e) => A("placeholderUrl", e.target.value)
3759
+ onInput: n[2] ||= (e) => j("placeholderUrl", e.target.value)
3760
3760
  }, null, 42, ro)]),
3761
3761
  _: 1
3762
3762
  })) : g("", !0),
3763
- p(Y, {
3763
+ p(A, {
3764
3764
  class: "tpl:mb-3.5",
3765
3765
  path: "thumbnailUrl"
3766
3766
  }, {
3767
3767
  label: u(() => [y(r(h(s).video.customThumbnail) + " ", 1), b("span", io, r(h(s).video.optional), 1)]),
3768
- default: u(() => [p(Z, {
3768
+ default: u(() => [p(N, {
3769
3769
  "model-value": e.block.thumbnailUrl,
3770
3770
  type: "url",
3771
3771
  placeholder: h(s).video.thumbnailPlaceholder,
3772
3772
  pulse: O.value,
3773
- "onUpdate:modelValue": n[3] ||= (e) => A("thumbnailUrl", e)
3773
+ "onUpdate:modelValue": n[3] ||= (e) => j("thumbnailUrl", e)
3774
3774
  }, null, 8, [
3775
3775
  "model-value",
3776
3776
  "placeholder",
@@ -3783,36 +3783,36 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3783
3783
  color: "var(--tpl-primary)",
3784
3784
  "background-color": "var(--tpl-bg)"
3785
3785
  },
3786
- onClick: re
3787
- }, [p(h(ke), {
3786
+ onClick: R
3787
+ }, [p(h(Ie), {
3788
3788
  size: 14,
3789
3789
  "stroke-width": 1.5
3790
3790
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)]),
3791
3791
  _: 1
3792
3792
  }),
3793
- p(Y, {
3793
+ p(A, {
3794
3794
  label: h(s).video.altText,
3795
3795
  class: "tpl:mb-3.5",
3796
3796
  path: "alt"
3797
3797
  }, {
3798
- default: u(() => [p(Z, {
3798
+ default: u(() => [p(N, {
3799
3799
  "model-value": e.block.alt,
3800
3800
  type: "text",
3801
3801
  placeholder: h(s).video.altTextPlaceholder,
3802
- "onUpdate:modelValue": n[4] ||= (e) => A("alt", e)
3802
+ "onUpdate:modelValue": n[4] ||= (e) => j("alt", e)
3803
3803
  }, null, 8, ["model-value", "placeholder"])]),
3804
3804
  _: 1
3805
3805
  }, 8, ["label"]),
3806
- p(Y, {
3806
+ p(A, {
3807
3807
  label: h(s).video.width,
3808
3808
  class: "tpl:mb-3.5",
3809
3809
  path: "width"
3810
3810
  }, {
3811
3811
  default: u(() => [b("select", {
3812
- class: o(h(q)),
3812
+ class: o(h(B)),
3813
3813
  "data-testid": "video-width-mode",
3814
3814
  value: T.value,
3815
- onChange: n[5] ||= (e) => ee(e.target.value)
3815
+ onChange: n[5] ||= (e) => M(e.target.value)
3816
3816
  }, [
3817
3817
  b("option", oo, r(h(s).video.fullWidth), 1),
3818
3818
  n[10] ||= b("option", { value: "300" }, "300px", -1),
@@ -3822,39 +3822,39 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3822
3822
  ], 42, ao), T.value === "custom" ? (a(), v("div", co, [b("input", {
3823
3823
  type: "number",
3824
3824
  "data-testid": "video-width-input",
3825
- class: o(h(K)),
3825
+ class: o(h(z)),
3826
3826
  value: e.block.width,
3827
3827
  min: "20",
3828
- onInput: n[6] ||= (e) => te(e.target.value)
3829
- }, null, 42, lo), b("span", { class: o(h(G)) }, "px", 2)])) : g("", !0)]),
3828
+ onInput: n[6] ||= (e) => F(e.target.value)
3829
+ }, null, 42, lo), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)]),
3830
3830
  _: 1
3831
3831
  }, 8, ["label"]),
3832
- p(Y, {
3832
+ p(A, {
3833
3833
  label: h(s).video.height,
3834
3834
  class: "tpl:mb-3.5",
3835
3835
  path: "height"
3836
3836
  }, {
3837
3837
  default: u(() => [b("select", {
3838
- class: o(h(q)),
3838
+ class: o(h(B)),
3839
3839
  "data-testid": "video-height-mode",
3840
3840
  value: D.value,
3841
- onChange: n[7] ||= (e) => j(e.target.value)
3841
+ onChange: n[7] ||= (e) => I(e.target.value)
3842
3842
  }, [b("option", fo, r(h(s).video.heightAuto), 1), b("option", po, r(h(s).video.heightCustom), 1)], 42, uo), D.value === "custom" ? (a(), v("div", mo, [b("input", {
3843
3843
  type: "number",
3844
3844
  "data-testid": "video-height-input",
3845
- class: o(h(K)),
3845
+ class: o(h(z)),
3846
3846
  value: e.block.height,
3847
3847
  min: "20",
3848
- onInput: n[8] ||= (e) => M(e.target.value)
3849
- }, null, 42, ho), b("span", { class: o(h(G)) }, "px", 2)])) : g("", !0)]),
3848
+ onInput: n[8] ||= (e) => ee(e.target.value)
3849
+ }, null, 42, ho), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)]),
3850
3850
  _: 1
3851
3851
  }, 8, ["label"]),
3852
- p(Y, {
3852
+ p(A, {
3853
3853
  label: h(s).title.align,
3854
3854
  class: "tpl:mb-3.5",
3855
3855
  path: "align"
3856
3856
  }, {
3857
- default: u(() => [p(Q, {
3857
+ default: u(() => [p($, {
3858
3858
  options: [
3859
3859
  {
3860
3860
  value: "left",
@@ -3870,7 +3870,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3870
3870
  }
3871
3871
  ],
3872
3872
  "model-value": e.block.align,
3873
- "onUpdate:modelValue": n[9] ||= (e) => A("align", e)
3873
+ "onUpdate:modelValue": n[9] ||= (e) => j("align", e)
3874
3874
  }, null, 8, ["options", "model-value"])]),
3875
3875
  _: 1
3876
3876
  }, 8, ["label"])
@@ -3885,9 +3885,9 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3885
3885
  "duplicate"
3886
3886
  ],
3887
3887
  setup(e, { emit: t }) {
3888
- let n = T(() => import("./CountdownToolbar-CP-pkntQ.js")), o = e, s = t, { t: c } = W(), l = ut(), u = Qe(Je, "Toolbar"), d = E(Ye, []), f = m(() => o.block.type), _ = m(() => te(o.block)), y = m(() => {
3888
+ let n = T(() => import("./CountdownToolbar-DBu2ZqC6.js")), o = e, s = t, { t: c } = H(), l = rt(), u = Ke(Ge, "Toolbar"), d = E(qe, []), f = m(() => o.block.type), _ = m(() => J(o.block)), y = m(() => {
3889
3889
  if (_.value) return d.find((e) => e.type === o.block.customType);
3890
- }), x = m(() => _.value ? y.value?.name ?? o.block.customType : he(f.value, c)), S = m(() => pt(u.fonts.value, "fontFamily" in o.block ? o.block.fontFamily : void 0));
3890
+ }), x = m(() => _.value ? y.value?.name ?? o.block.customType : Ce(f.value, c)), S = m(() => ge(u.fonts.value, "fontFamily" in o.block ? o.block.fontFamily : void 0));
3891
3891
  function C(e) {
3892
3892
  l.value && s("update", e);
3893
3893
  }
@@ -3899,11 +3899,11 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3899
3899
  disabled: !h(l),
3900
3900
  inert: !h(l),
3901
3901
  class: "tpl:contents"
3902
- }, [b("div", xo, [b("div", So, [h(De)[f.value] ? (a(), w(i(h(De)[f.value]), {
3902
+ }, [b("div", xo, [b("div", So, [h(ve)[f.value] ? (a(), w(i(h(ve)[f.value]), {
3903
3903
  key: 0,
3904
3904
  size: 16,
3905
3905
  "stroke-width": 1.5
3906
- })) : _.value ? (a(), w(h(L), {
3906
+ })) : _.value ? (a(), w(h(Oe), {
3907
3907
  key: 1,
3908
3908
  size: 16,
3909
3909
  "stroke-width": 1.5
@@ -3911,14 +3911,14 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3911
3911
  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)]",
3912
3912
  title: h(c).toolbar.duplicate,
3913
3913
  onClick: o[0] ||= (e) => s("duplicate")
3914
- }, [p(h(Oe), {
3914
+ }, [p(h(pt), {
3915
3915
  size: 14,
3916
3916
  "stroke-width": 2
3917
3917
  })], 8, To), b("button", {
3918
3918
  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)]",
3919
3919
  title: h(c).toolbar.delete,
3920
3920
  onClick: o[1] ||= (e) => s("delete")
3921
- }, [p(h(Re), {
3921
+ }, [p(h(at), {
3922
3922
  size: 14,
3923
3923
  "stroke-width": 2
3924
3924
  })], 8, Eo)])]), b("div", Do, [_.value ? (a(), w(ni, {
@@ -3947,7 +3947,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3947
3947
  key: 5,
3948
3948
  block: e.block,
3949
3949
  onUpdate: C
3950
- }, null, 8, ["block"])) : f.value === "button" ? (a(), w(Wt, {
3950
+ }, null, 8, ["block"])) : f.value === "button" ? (a(), w(Ut, {
3951
3951
  key: 6,
3952
3952
  block: e.block,
3953
3953
  "font-families": S.value,
@@ -3989,5 +3989,5 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3989
3989
  onUpdate: C
3990
3990
  }, null, 8, ["block", "is-first-section"])])], 8, bo)], 8, yo));
3991
3991
  }
3992
- }), ko = /* @__PURE__ */ e({ default: () => Ao }), Ao = /*#__PURE__*/ Ce(Oo, [["__scopeId", "data-v-206f038f"]]);
3993
- export { Ao as default, St as n, Q as r, ko as t };
3992
+ }), ko = /* @__PURE__ */ e({ default: () => Ao }), Ao = /*#__PURE__*/ ye(Oo, [["__scopeId", "data-v-206f038f"]]);
3993
+ export { Ao as default, xt as n, $ as r, ko as t };