@templatical/editor 0.52.0 → 0.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/dist/{AiAltTextPopover-Cm11CsKH.js → AiAltTextPopover-DawbUywc.js} +13 -13
  2. package/dist/{AiAltTextReview-DE8t8Rud.js → AiAltTextReview-9ySsXOTU.js} +22 -22
  3. package/dist/{AiChatPanel-7ftS7d40.js → AiChatPanel-CupPhmsN.js} +137 -137
  4. package/dist/{AiPanels-CxGp6klr.js → AiPanels-DqT4PgQ0.js} +4 -4
  5. package/dist/{AiRewriteMenu-DNI-5CUj.js → AiRewriteMenu-28agTycW.js} +62 -62
  6. package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
  7. package/dist/{BlockPreviewCanvas-Df9iz7sK.js → BlockPreviewCanvas-B-4bmJ3t.js} +23 -23
  8. package/dist/{CloudHeaderExtras-CsgyNNV1.js → CloudHeaderExtras-QI82yF54.js} +3 -3
  9. package/dist/{CloudPanels-BDV4XQ_l.js → CloudPanels-BKJaLkUN.js} +50 -50
  10. package/dist/{CollaborationNotices-JQ3vQoqO.js → CollaborationNotices-CTw4JThq.js} +11 -11
  11. package/dist/{CollaboratorBar-EeqqWcX6.js → CollaboratorBar-CXQqN3VP.js} +15 -15
  12. package/dist/{CommentsPanel-BuftXc0U.js → CommentsPanel-DwwFuh1h.js} +2 -2
  13. package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
  14. package/dist/{CountdownBlock-BT3ZTH1F.js → CountdownBlock-CU2yTWtF.js} +20 -20
  15. package/dist/{CountdownToolbar-CrL4WKy9.js → CountdownToolbar-BqoYzf_6.js} +53 -53
  16. package/dist/IssuesPanel-4ykrf1ax.js +359 -0
  17. package/dist/{LoadingTrack-DZA5AoP9.js → LoadingTrack-DM4g6j7b.js} +1 -1
  18. package/dist/{LogicTagInsertButton-CSD9cfJB.js → LogicTagInsertButton-CfscnwCn.js} +234 -234
  19. package/dist/{MediaEditModal-DQl5w44r.js → MediaEditModal-Dy08GEwE.js} +446 -446
  20. package/dist/{MediaPanels-BFWYuJot.js → MediaPanels-BgEp7iCp.js} +2 -2
  21. package/dist/{MergeTagInput-DE7kWwXx.js → MergeTagInput-B9dtUthD.js} +11 -11
  22. package/dist/{MergeTagModeToggle-DvD0ne7N.js → MergeTagModeToggle-DxujhYJ4.js} +30 -30
  23. package/dist/{MergeTagTextarea-DVPQkiYY.js → MergeTagTextarea-CPFEjJZd.js} +11 -11
  24. package/dist/{ParagraphEditor-D-nqs82g.js → ParagraphEditor-CWXfurGh.js} +201 -201
  25. package/dist/{RestoreVersionDialog-DqUPsLB9.js → RestoreVersionDialog-C4s_JYCx.js} +14 -14
  26. package/dist/{RichTextEditorContent-Xq9D0Zs3.js → RichTextEditorContent-o6HmE8GR.js} +40 -39
  27. package/dist/{SaveBlockDialog-DAPv70p4.js → SaveBlockDialog-CWLrly6l.js} +56 -56
  28. package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
  29. package/dist/{SavedBlocksPanels-ChbL9v9x.js → SavedBlocksPanels-BE1N9rNZ.js} +6 -6
  30. package/dist/{SavedBlocksPickBar-hRaiLNdu.js → SavedBlocksPickBar-Dwl94xhP.js} +12 -12
  31. package/dist/{TemplateSettings-D0XcH32O.js → TemplateSettings-CS0f1Ues.js} +74 -74
  32. package/dist/{TestEmailModal-Cb5t0yB2.js → TestEmailModal-DBD0X5nV.js} +52 -52
  33. package/dist/{TestEmailPanel-COJQa2A9.js → TestEmailPanel-DaFjP9QK.js} +2 -2
  34. package/dist/{TitleEditor-BYk_9SpQ.js → TitleEditor-DSqtle77.js} +75 -75
  35. package/dist/{ToggleSwitch-poGWbduy.js → ToggleSwitch-JykPyD_8.js} +4 -4
  36. package/dist/{Toolbar-Dku_pZni.js → Toolbar-BZPFfKrf.js} +913 -913
  37. package/dist/{TplModal-9IndEYk5.js → TplModal-DLMssVlt.js} +15 -15
  38. package/dist/{VersionHistoryMenu-BG5qayvg.js → VersionHistoryMenu-BkbYUs0Q.js} +35 -35
  39. package/dist/{VersionHistoryPanels-hPg7Q5-f.js → VersionHistoryPanels-DP7HaYWv.js} +4 -4
  40. package/dist/{VersionPreviewBanner-CSs7zum_.js → VersionPreviewBanner-DECaBwLq.js} +9 -9
  41. package/dist/{WrapperBlock-DwjK_IdJ.js → WrapperBlock-BsJv_Fiw.js} +16 -16
  42. package/dist/{blockTypeIcons-yt7SLzub.js → blockTypeIcons-BHjlPnPf.js} +23 -22
  43. package/dist/bundle-stats.json +6 -6
  44. package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js → AiAltTextPopover-SEEjkd-I.js} +21 -21
  45. package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
  46. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js → AiAltTextReview-BGLLSKLm.js} +41 -41
  47. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
  48. package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js → AiChatPanel-DKDAaBNi.js} +127 -127
  49. package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
  50. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js → AiPanels-0wBarZSH.js} +3 -3
  51. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js.map → AiPanels-0wBarZSH.js.map} +1 -1
  52. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js → AiRewriteMenu-qf-cfEpy.js} +43 -43
  53. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js.map → AiRewriteMenu-qf-cfEpy.js.map} +1 -1
  54. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
  55. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
  56. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js → BlockPreviewCanvas-DGBh6mqe.js} +20 -20
  57. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
  58. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js → CloudHeaderExtras-BMNK_F9p.js} +3 -3
  59. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
  60. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js → CloudPanels-JMWIoVWh.js} +32 -32
  61. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
  62. package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js → CollaborationNotices-Bsf1rGW9.js} +12 -12
  63. package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
  64. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js → CollaboratorBar-CXByAoUz.js} +14 -14
  65. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
  66. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js → CommentsPanel-DoJnKLXI.js} +3 -3
  67. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
  68. package/dist/cdn/chunks/{CommentsSidebar-Dj8sDiLN.js → CommentsSidebar-CUtgvdBC.js} +100 -99
  69. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
  70. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js → CountdownBlock-BqRw147R.js} +18 -18
  71. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
  72. package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js → CountdownToolbar-xobieKoU.js} +26 -26
  73. package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
  74. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js → IssuesPanel-C7LfxaAY.js} +75 -75
  75. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
  76. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js → LoadingTrack-CZuLTazv.js} +2 -2
  77. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
  78. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js → LogicTagInsertButton-BIi05UQu.js} +250 -250
  79. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
  80. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js → MediaEditModal-Cpcod6_U.js} +148 -148
  81. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
  82. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js → MediaPanels-BIdcW_1f.js} +3 -3
  83. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
  84. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js → MergeTagInput-BvWg8o5E.js} +32 -32
  85. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
  86. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js → MergeTagModeToggle-BgKEVUtV.js} +27 -27
  87. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
  88. package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js → MergeTagTextarea-tBz8McZf.js} +32 -32
  89. package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
  90. package/dist/cdn/chunks/{ParagraphEditor-DsPLVAgm.js → ParagraphEditor-B3Rj_cWF.js} +191 -191
  91. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
  92. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js → RestoreVersionDialog-CjOdD2xj.js} +19 -19
  93. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
  94. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js → RichTextEditorContent-DNjR_sNN.js} +29 -29
  95. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
  96. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js → SaveBlockDialog-CUhpawq0.js} +75 -75
  97. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
  98. package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
  99. package/dist/cdn/chunks/{SavedBlocksBrowserModal-B9XCjDfm.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
  100. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js → SavedBlocksPanels-C6--Bc81.js} +3 -3
  101. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
  102. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js → SavedBlocksPickBar-DUavxpbU.js} +14 -14
  103. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
  104. package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js → TemplateSettings-CKtI-dof.js} +69 -69
  105. package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
  106. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js → TestEmailModal-CDQTgESD.js} +65 -65
  107. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
  108. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js → TestEmailPanel-CcUpEpAn.js} +3 -3
  109. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
  110. package/dist/cdn/chunks/{TitleEditor-R2lQw6WA.js → TitleEditor-Cob7RLyK.js} +70 -70
  111. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
  112. package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js → ToggleSwitch-J7Vwhvha.js} +5 -5
  113. package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
  114. package/dist/cdn/chunks/{Toolbar-CnvfW72e.js → Toolbar-CdpsvNOR.js} +893 -893
  115. package/dist/cdn/chunks/{Toolbar-CnvfW72e.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
  116. package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
  117. package/dist/cdn/chunks/{TplModal-BDyeS69p.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
  118. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js → VersionHistoryMenu-BYlLRvRJ.js} +32 -32
  119. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
  120. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js → VersionHistoryPanels-C6SOVoiT.js} +3 -3
  121. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
  122. package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js → VersionPreviewBanner-Dvg0ZfAW.js} +10 -10
  123. package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
  124. package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js → WrapperBlock-C7Md56IT.js} +13 -13
  125. package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
  126. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
  127. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
  128. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js → createCloudRuntime-Cth2JCEh.js} +36 -36
  129. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
  130. package/dist/cdn/chunks/{dist-C2epoAwW.js → dist-8ym3y-pH.js} +43 -43
  131. package/dist/cdn/chunks/{dist-C2epoAwW.js.map → dist-8ym3y-pH.js.map} +1 -1
  132. package/dist/{dist-BA-jTQgw.js → cdn/chunks/dist-BMzNabtD.js} +106 -107
  133. package/dist/cdn/chunks/{dist-CONcGNwy.js.map → dist-BMzNabtD.js.map} +1 -1
  134. package/dist/cdn/chunks/{draggable-B8hTTYFO.js → draggable-Du8AUMFT.js} +639 -636
  135. package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
  136. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js → editor-modal-CyCe560f.js} +891 -891
  137. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js.map → editor-modal-CyCe560f.js.map} +1 -1
  138. package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
  139. package/dist/cdn/chunks/{extensions-ClDhn88e.js → extensions-CFF2KWy-.js} +55 -55
  140. package/dist/cdn/chunks/{extensions-ClDhn88e.js.map → extensions-CFF2KWy-.js.map} +1 -1
  141. package/dist/cdn/chunks/{icons-HCBP93Ch.js → icons-okSPsLOa.js} +99 -97
  142. package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
  143. package/dist/cdn/chunks/{keys-BF9gazbd.js → keys-CUj6UA38.js} +2 -2
  144. package/dist/cdn/chunks/{keys-BF9gazbd.js.map → keys-CUj6UA38.js.map} +1 -1
  145. package/dist/cdn/chunks/{liquid.browser-DkLBNrft.js → liquid.browser-rubac0VA.js} +782 -746
  146. package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
  147. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js → normalizeMergeTagMarkup-C_KlfSW4.js} +2 -2
  148. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
  149. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js → preRenderCustomBlocks-BcXIz7oJ.js} +2 -2
  150. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
  151. package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js → sanitizeHtml-CN85EDrO.js} +2 -2
  152. package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js.map → sanitizeHtml-CN85EDrO.js.map} +1 -1
  153. package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js → socialIcons-jsTDmkbb.js} +480 -480
  154. package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
  155. package/dist/cdn/chunks/{src-CUH_EI7k.js → src-C7bkofBL.js} +6 -6
  156. package/dist/cdn/chunks/{src-CUH_EI7k.js.map → src-C7bkofBL.js.map} +1 -1
  157. package/dist/cdn/chunks/{src-BKpAis_q.js → src-DEd87i_U.js} +2 -2
  158. package/dist/cdn/chunks/{src-BKpAis_q.js.map → src-DEd87i_U.js.map} +1 -1
  159. package/dist/cdn/chunks/{src-C9DTvn1H.js → src-DwWrYnUj.js} +3 -22
  160. package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
  161. package/dist/cdn/chunks/{tiptap-ChSZybTi.js → tiptap-CbiTlECY.js} +45 -45
  162. package/dist/cdn/chunks/{tiptap-ChSZybTi.js.map → tiptap-CbiTlECY.js.map} +1 -1
  163. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js → useCloudI18n-DY8_-ETE.js} +3 -3
  164. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
  165. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
  166. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
  167. package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
  168. package/dist/cdn/chunks/{useEditorRoot-BT3c9CXj.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
  169. package/dist/cdn/chunks/{useI18n-11iqzC6m.js → useI18n-D8pY4LTq.js} +3 -3
  170. package/dist/cdn/chunks/{useI18n-11iqzC6m.js.map → useI18n-D8pY4LTq.js.map} +1 -1
  171. package/dist/{useLogicTag-DFDYJeMN.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +5 -3
  172. package/dist/cdn/chunks/{useLogicTag-vy5KGg5D.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
  173. package/dist/{useMergeTag-B46vACAG.js → cdn/chunks/useMergeTag-B-aG--s1.js} +7 -5
  174. package/dist/cdn/chunks/{useMergeTag-BFBBjnwh.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
  175. package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js → usePopoverPosition-DSMtmu2W.js} +4 -4
  176. package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
  177. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js → useScrollToBlock-vjQ0fe-L.js} +3 -3
  178. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
  179. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js → withCurrentFont-hZTvYBHO.js} +2 -2
  180. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
  181. package/dist/cdn/editor.css +1 -1
  182. package/dist/cdn/editor.js +1422 -1422
  183. package/dist/cdn/editor.js.map +1 -1
  184. package/dist/{check-N3x4z_rH.js → check-BZ8o0eet.js} +1 -1
  185. package/dist/{chevron-down-gXu9qNwO.js → chevron-down-DfAAfILv.js} +1 -1
  186. package/dist/{chevron-right-rL0ayGk5.js → chevron-right-Bk4mGdr7.js} +1 -1
  187. package/dist/{chevron-up-0ugh8HnW.js → chevron-up-MhUf_azW.js} +1 -1
  188. package/dist/{circle-alert-B9Ls75B5.js → circle-alert-CShJwVFv.js} +1 -1
  189. package/dist/{clock-BqHBaCLm.js → clock-CTfD6OCt.js} +1 -1
  190. package/dist/{createCloudRuntime-B5VIdnwz.js → createCloudRuntime-DCgO4A1r.js} +24 -24
  191. package/dist/{createLucideIcon-BV7Gwz_Z.js → createLucideIcon-CvhTA2KG.js} +6 -6
  192. package/dist/{cdn/chunks/dist-CONcGNwy.js → dist-ByCWA2Tv.js} +100 -99
  193. package/dist/{dist-CzrLYq2s.js → dist-CKi_npZM.js} +2 -21
  194. package/dist/{dist-CEdyyDn7.js → dist-CVy-7PHQ.js} +54 -54
  195. package/dist/{dist-DDN7yR-w.js → dist-D6cMdrfG.js} +129 -129
  196. package/dist/{editor-modal-Du9VI9q4.js → editor-modal-zaZHcmlO.js} +812 -812
  197. package/dist/en-Db76vJbY.js +1 -0
  198. package/dist/{extensions-FRYhx7qa.js → extensions-fo_c-vqf.js} +32 -32
  199. package/dist/{eye-BKj9Tfnc.js → eye-7W4t5e0Q.js} +1 -1
  200. package/dist/{image-DNdvdTla.js → image-BDiRFzSd.js} +1 -1
  201. package/dist/{info-Bx-kBkbH.js → info-Cxi3-Kh9.js} +1 -1
  202. package/dist/{keys-DBjrQkYH.js → keys-BgRERHzu.js} +1 -1
  203. package/dist/{link-D8-rYdIQ.js → link-ju_2Cmir.js} +1 -1
  204. package/dist/{liquid.browser-D1RxawkY.js → liquid.browser-DUXEekoN.js} +781 -745
  205. package/dist/{list-BneisA27.js → list-DYZJf0aZ.js} +1 -1
  206. package/dist/{loader-circle-DBEXphyx.js → loader-circle-BZRD0a4I.js} +1 -1
  207. package/dist/{message-circle-Bg4xInCM.js → message-circle-DuEw4Zfx.js} +1 -1
  208. package/dist/{normalizeMergeTagMarkup-IH8COHzd.js → normalizeMergeTagMarkup-CELnOlgK.js} +1 -1
  209. package/dist/{package-B40Vkfsp.js → package-CePMr2kK.js} +1 -1
  210. package/dist/{pencil-CYdAHTds.js → pencil-D3aFCL7c.js} +1 -1
  211. package/dist/{preRenderCustomBlocks-AbZArwkR.js → preRenderCustomBlocks--_xc0XK3.js} +1 -1
  212. package/dist/{refresh-cw-Bb1FWrU0.js → refresh-cw-xnro7_Sk.js} +1 -1
  213. package/dist/{runtime-dom.esm-bundler-CLGymEyk.js → runtime-dom.esm-bundler-BURR-bj5.js} +118 -118
  214. package/dist/{sanitizeHtml-CnOA1efV.js → sanitizeHtml-BzfzpYJY.js} +1 -1
  215. package/dist/{search-BZEo08gi.js → search-CDrstRBv.js} +1 -1
  216. package/dist/{send-DHtrnXQs.js → send-DROkPOaX.js} +1 -1
  217. package/dist/{smartphone-dlN3vpA3.js → smartphone-Bx6u_tjn.js} +1 -1
  218. package/dist/{socialIcons-B_d52_eS.js → socialIcons-D7MGsg0d.js} +366 -366
  219. package/dist/{sparkles-NOttoDnJ.js → sparkles-CdaTtvoz.js} +1 -1
  220. package/dist/{square-B1CJgdt2.js → square-BbCROH_f.js} +1 -1
  221. package/dist/style.css +1 -1
  222. package/dist/templatical-editor.js +1096 -1096
  223. package/dist/{text-align-start-zpoXmb-Z.js → text-align-start-CGacJ9Vw.js} +1 -1
  224. package/dist/{trash-CGbk4Sgt.js → trash-DxCd7zIy.js} +1 -1
  225. package/dist/{triangle-alert-CKLMyGVp.js → triangle-alert-7_oaitpf.js} +1 -1
  226. package/dist/{upload-DQoackAn.js → upload-DuFEOi_0.js} +1 -1
  227. package/dist/{useCloudI18n-DcLtxOQZ.js → useCloudI18n-DEMmUKuO.js} +2 -2
  228. package/dist/{useEditorCore-DG9UvWUm.js → useEditorCore-BSo2sSID.js} +1518 -1470
  229. package/dist/useEditorRoot-BMcoCLBx.js +7 -0
  230. package/dist/{useI18n-CeTm777E.js → useI18n-BBrHTdu8.js} +2 -2
  231. package/dist/{cdn/chunks/useLogicTag-vy5KGg5D.js → useLogicTag-ZPC39rfH.js} +3 -5
  232. package/dist/{cdn/chunks/useMergeTag-BFBBjnwh.js → useMergeTag-BQ4qqWpQ.js} +5 -7
  233. package/dist/{usePopoverPosition-C42kD7zt.js → usePopoverPosition-DV1PxL66.js} +3 -3
  234. package/dist/{useScrollToBlock-C-NzvjeO.js → useScrollToBlock-BSyAV4pk.js} +3 -3
  235. package/dist/{vue.runtime.esm-bundler-CrlI8j5R.js → vue.runtime.esm-bundler-CnEeTfhs.js} +993 -990
  236. package/dist/{withCurrentFont-v_a4Oso8.js → withCurrentFont-B22FXAF5.js} +1 -1
  237. package/dist/{x-zcrnmcmU.js → x-BpfG7v9g.js} +1 -1
  238. package/package.json +10 -10
  239. package/dist/BlockIssueBadge-6Ri2FfX-.js +0 -33
  240. package/dist/CommentsSidebar-Co3x4uH0.js +0 -499
  241. package/dist/IssuesPanel-BHFQ3wrP.js +0 -359
  242. package/dist/SavedBlocksBrowserModal-SRtN5h9q.js +0 -359
  243. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js +0 -34
  244. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js.map +0 -1
  245. package/dist/cdn/chunks/CommentsSidebar-Dj8sDiLN.js.map +0 -1
  246. package/dist/cdn/chunks/ParagraphEditor-DsPLVAgm.js.map +0 -1
  247. package/dist/cdn/chunks/SavedBlocksBrowserModal-B9XCjDfm.js +0 -356
  248. package/dist/cdn/chunks/TitleEditor-R2lQw6WA.js.map +0 -1
  249. package/dist/cdn/chunks/TplModal-BDyeS69p.js +0 -51
  250. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js +0 -21
  251. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js.map +0 -1
  252. package/dist/cdn/chunks/draggable-B8hTTYFO.js.map +0 -1
  253. package/dist/cdn/chunks/en-CKAXAo3Z.js +0 -1
  254. package/dist/cdn/chunks/icons-HCBP93Ch.js.map +0 -1
  255. package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +0 -1
  256. package/dist/cdn/chunks/src-C9DTvn1H.js.map +0 -1
  257. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js +0 -2534
  258. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +0 -1
  259. package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +0 -9
  260. package/dist/en-CyEE7FPY.js +0 -1
  261. package/dist/useEditorRoot-BKr6nNkC.js +0 -7
@@ -1,27 +1,27 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, F as a, I as o, L as s, M as c, N as l, O as u, P as d, S as f, T as p, U as m, V as h, W as g, X as _, _ as v, b as y, c as b, dt as x, g as S, h as C, l as w, lt as T, m as E, n as D, nt as O, o as k, ot as A, p as j, q as M, r as N, s as P, t as F, tt as I, u as L, ut as R, v as z, x as B, y as V, z as H } from "./chunks/draggable-B8hTTYFO.js";
2
- import { $ as ee, A as U, Ct as W, H as G, L as K, M as q, N as J, O as Y, Ot as X, P as te, St as ne, Tt as re, W as ie, X as Z, bt as ae, et as oe, i as Q, j as se, k as ce, n as le, pt as ue, u as de, xt as fe, yt as pe } from "./chunks/src-C9DTvn1H.js";
3
- import { A as me, D as he, E as ge, O as _e, T as ve, c as ye, g as be, j as xe, k as Se, s as Ce, y as we, z as Te } from "./chunks/socialIcons-rJoqO1TJ.js";
4
- import { _ as Ee, d as De, g as Oe } from "./chunks/dist-C2epoAwW.js";
5
- import { a as ke } from "./chunks/dist-CONcGNwy.js";
6
- import { A as Ae, C as je, F as Me, I as Ne, L as Pe, M as Fe, N as Ie, O as Le, P as Re, _ as ze, a as Be, b as Ve, c as He, d as Ue, f as We, g as Ge, h as Ke, i as qe, j as Je, l as Ye, m as Xe, n as Ze, o as Qe, p as $e, r as et, s as tt, t as nt, u as rt, w as it } from "./chunks/useEditorCore-CjaEV_01.js";
7
- import { $ as at, A as ot, E as st, G as ct, J as lt, K as ut, M as dt, N as ft, P as pt, Q as mt, U as ht, V as gt, X as _t, Z as vt, f as yt, g as bt, l as xt, m as St, o as Ct, p as wt, q as Tt, r as Et, s as Dt, t as Ot, v as kt, z as At } from "./chunks/keys-BF9gazbd.js";
1
+ import { A as e, B as t, C as n, D as r, F as i, G as a, I as o, J as s, L as c, M as l, N as u, O as d, P as f, S as p, T as m, V as h, W as g, Z as _, _ as v, b as y, c as b, dt as x, et as S, ft as C, g as w, h as T, l as E, m as D, n as O, nt as k, o as ee, p as A, r as j, rt as M, s as N, st as P, t as F, u as I, ut as L, v as R, x as z, y as B, z as V } from "./chunks/draggable-Du8AUMFT.js";
2
+ import { $ as te, A as H, Ct as U, H as W, L as G, M as K, N as q, O as J, Ot as Y, P as ne, St as re, Tt as ie, W as X, X as Z, bt as ae, et as oe, i as Q, j as se, k as ce, n as le, pt as ue, u as de, xt as fe, yt as pe } from "./chunks/src-DwWrYnUj.js";
3
+ import { A as me, D as he, E as ge, O as _e, T as ve, c as ye, g as be, j as xe, k as Se, s as Ce, y as we, z as Te } from "./chunks/socialIcons-jsTDmkbb.js";
4
+ import { _ as Ee, d as De, g as Oe } from "./chunks/dist-8ym3y-pH.js";
5
+ import { a as ke } from "./chunks/dist-BMzNabtD.js";
6
+ import { A as Ae, C as je, F as Me, I as Ne, L as Pe, M as Fe, N as Ie, O as Le, P as Re, _ as ze, a as Be, b as Ve, c as He, d as Ue, f as We, g as Ge, h as Ke, i as qe, j as Je, l as Ye, m as Xe, n as Ze, o as Qe, p as $e, r as et, s as tt, t as nt, u as rt, w as it } from "./chunks/useEditorCore-BrY66C2y.js";
7
+ import { $ as at, A as ot, E as st, G as ct, J as lt, K as ut, M as dt, N as ft, P as pt, Q as mt, U as ht, V as gt, X as _t, Z as vt, f as yt, g as bt, l as xt, m as St, o as Ct, p as wt, q as Tt, r as Et, s as Dt, t as Ot, v as kt, z as At } from "./chunks/keys-CUj6UA38.js";
8
8
  import { t as jt } from "./chunks/logger-CqQTfJGx.js";
9
- import { t as $ } from "./chunks/useI18n-11iqzC6m.js";
9
+ import { t as $ } from "./chunks/useI18n-D8pY4LTq.js";
10
10
  import { t as Mt } from "./chunks/templateSettingsFields-cjlP-jdw.js";
11
- import { $ as Nt, A as Pt, D as Ft, Dt as It, E as Lt, Et as Rt, F as zt, Lt as Bt, M as Vt, P as Ht, Pt as Ut, Q as Wt, Y as Gt, at as Kt, ct as qt, gt as Jt, j as Yt, nt as Xt, q as Zt, t as Qt, ut as $t, x as en, zt as tn } from "./chunks/icons-HCBP93Ch.js";
11
+ import { $ as Nt, A as Pt, Bt as Ft, D as It, Dt as Lt, E as Rt, F as zt, Ft as Bt, M as Vt, Ot as Ht, P as Ut, Q as Wt, Y as Gt, at as Kt, ct as qt, ft as Jt, j as Yt, nt as Xt, q as Zt, t as Qt, vt as $t, x as en, zt as tn } from "./chunks/icons-okSPsLOa.js";
12
12
  import { t as nn } from "./chunks/_plugin-vue_export-helper-Djzt4Yr7.js";
13
- import { a as rn, i as an, n as on, o as sn, t as cn } from "./chunks/normalizeMergeTagMarkup-DpHCSESZ.js";
13
+ import { a as rn, i as an, n as on, o as sn, t as cn } from "./chunks/normalizeMergeTagMarkup-C_KlfSW4.js";
14
14
  import { t as ln } from "./chunks/aiErrors-C3QEMB0x.js";
15
15
  import { t as un } from "./chunks/formatAbsoluteDateTime-Ck2_zXra.js";
16
16
  import { n as dn, t as fn } from "./chunks/aiImageContext-BQ5mQ6B5.js";
17
- import { i as pn, n as mn, r as hn, t as gn } from "./chunks/useScrollToBlock-C0dawxGr.js";
17
+ import { i as pn, n as mn, r as hn, t as gn } from "./chunks/useScrollToBlock-vjQ0fe-L.js";
18
18
  import { C as _n, S as vn, p as yn, y as bn } from "./chunks/styleConstants-B8xVRiwX.js";
19
- import { t as xn } from "./chunks/WrapperBlock-D3obNGab.js";
20
- import { t as Sn } from "./chunks/blockTypeIcons-DFf7AyqI.js";
21
- import { n as Cn, t as wn } from "./chunks/MergeTagModeToggle-BFpK5dxg.js";
19
+ import { t as xn } from "./chunks/WrapperBlock-C7Md56IT.js";
20
+ import { t as Sn } from "./chunks/blockTypeIcons-D7FW7Ypo.js";
21
+ import { n as Cn, t as wn } from "./chunks/MergeTagModeToggle-BgKEVUtV.js";
22
22
  import { t as Tn } from "./chunks/formatRelativeTime-BTD8Ktt-.js";
23
- import { t as En } from "./chunks/TplModal-BDyeS69p.js";
24
- import { t as Dn } from "./chunks/preRenderCustomBlocks-D-dsBq5t.js";
23
+ import { t as En } from "./chunks/TplModal-CFPDgbwQ.js";
24
+ import { t as Dn } from "./chunks/preRenderCustomBlocks-BcXIz7oJ.js";
25
25
  // src/utils/resolveTemplateDefaults.ts
26
26
  var On = /^[a-z]{2,3}(-[a-z0-9]{2,8})*$/i;
27
27
  function kn(e) {
@@ -46,25 +46,25 @@ function Nn(e) {
46
46
  templateUpdated: r
47
47
  };
48
48
  }
49
- function Pn(t) {
50
- let n = e([]), r = 1, i = /* @__PURE__ */ new Map();
51
- function a(e) {
52
- let t = i.get(e);
53
- t && clearTimeout(t), i.set(e, setTimeout(() => s(e), An));
49
+ function Pn(e) {
50
+ let t = S([]), n = 1, r = /* @__PURE__ */ new Map();
51
+ function i(e) {
52
+ let t = r.get(e);
53
+ t && clearTimeout(t), r.set(e, setTimeout(() => o(e), An));
54
54
  }
55
- function o(e) {
56
- let t = r++;
57
- return n.value = [{
55
+ function a(e) {
56
+ let r = n++;
57
+ return t.value = [{
58
58
  ...e,
59
- id: t
60
- }], a(t), t;
59
+ id: r
60
+ }], i(r), r;
61
61
  }
62
- function s(e) {
63
- let t = i.get(e);
64
- t && (clearTimeout(t), i.delete(e)), n.value = n.value.filter((t) => t.id !== e);
62
+ function o(e) {
63
+ let n = r.get(e);
64
+ n && (clearTimeout(n), r.delete(e)), t.value = t.value.filter((t) => t.id !== e);
65
65
  }
66
66
  function c(e) {
67
- o(e.type === "selectionRefused" ? {
67
+ a(e.type === "selectionRefused" ? {
68
68
  kind: "selectionRefused",
69
69
  name: e.holder.name,
70
70
  isGuest: e.holder.type === "guest"
@@ -77,7 +77,7 @@ function Pn(t) {
77
77
  } : {}
78
78
  } : { kind: "undoSkipped" });
79
79
  }
80
- let l = null, u = I(/* @__PURE__ */ new Map()), d = /* @__PURE__ */ new Map(), f = 0;
80
+ let l = null, u = k(/* @__PURE__ */ new Map()), d = /* @__PURE__ */ new Map(), f = 0;
81
81
  function p(e) {
82
82
  if (e.length === 0) return;
83
83
  let t = ++f, n = new Map(u.value);
@@ -92,15 +92,15 @@ function Pn(t) {
92
92
  }
93
93
  u.value = n;
94
94
  }
95
- function m(e, t) {
95
+ function m(e, n) {
96
96
  if (e.type !== "mcp" && e.type !== "ai") return;
97
97
  let r = e.type === "ai";
98
98
  if (r && e.sessionId === h.sessionId) {
99
- t.templateUpdated || p(t.blockIds);
99
+ n.templateUpdated || p(n.blockIds);
100
100
  return;
101
101
  }
102
- let i = !r && typeof e.client == "string" && e.client.trim() !== "" ? e.client : null, s = `${e.type}\n${e.id ?? ""}\n${i ?? ""}`, c = Date.now(), u = l;
103
- (!u || u.key !== s || c - u.lastAt > 2e3 || n.value.at(-1)?.id !== u.noticeId) && (u = {
102
+ let o = !r && typeof e.client == "string" && e.client.trim() !== "" ? e.client : null, s = `${e.type}\n${e.id ?? ""}\n${o ?? ""}`, c = Date.now(), u = l;
103
+ (!u || u.key !== s || c - u.lastAt > 2e3 || t.value.at(-1)?.id !== u.noticeId) && (u = {
104
104
  key: s,
105
105
  noticeId: 0,
106
106
  lastAt: c,
@@ -108,8 +108,8 @@ function Pn(t) {
108
108
  settings: !1,
109
109
  templateUpdated: !1
110
110
  });
111
- for (let e of t.blockIds) u.blockIds.add(e);
112
- u.settings ||= t.settings, u.templateUpdated ||= t.templateUpdated, u.lastAt = c;
111
+ for (let e of n.blockIds) u.blockIds.add(e);
112
+ u.settings ||= n.settings, u.templateUpdated ||= n.templateUpdated, u.lastAt = c;
113
113
  let d = {
114
114
  blocks: u.blockIds.size,
115
115
  settings: u.settings,
@@ -120,53 +120,53 @@ function Pn(t) {
120
120
  ...d
121
121
  } : {
122
122
  kind: "agentEdited",
123
- client: i,
123
+ client: o,
124
124
  name: e.name,
125
125
  ...d
126
126
  };
127
- u === l ? (n.value = [{
127
+ u === l ? (t.value = [{
128
128
  ...f,
129
129
  id: u.noticeId
130
- }], a(u.noticeId)) : (u.noticeId = o(f), l = u), t.templateUpdated || p(t.blockIds);
130
+ }], i(u.noticeId)) : (u.noticeId = a(f), l = u), n.templateUpdated || p(n.blockIds);
131
131
  }
132
132
  let h = xe({
133
- provider: t.provider,
134
- loadTemplate: t.loadTemplate,
135
- normalizeRemoteOperations: (e, n) => an(e, n, t.mergeTags),
136
- onRemoteChange: (e) => {
133
+ provider: e.provider,
134
+ loadTemplate: e.loadTemplate,
135
+ normalizeRemoteOperations: (t, n) => an(t, n, e.mergeTags),
136
+ onRemoteChange: (t) => {
137
137
  try {
138
- m(e.actor, Nn(e.ops));
138
+ m(t.actor, Nn(t.ops));
139
139
  } finally {
140
- t.onRemoteChange?.(e);
140
+ e.onRemoteChange?.(t);
141
141
  }
142
142
  },
143
143
  onRemoteResync: ({ actor: e }) => m(e, Mn),
144
144
  onNotice: c,
145
- onError: t.onError
145
+ onError: e.onError
146
146
  });
147
- M() && _(() => {
148
- for (let e of i.values()) clearTimeout(e);
147
+ s() && _(() => {
148
+ for (let e of r.values()) clearTimeout(e);
149
149
  for (let e of d.values()) clearTimeout(e);
150
- i.clear(), d.clear();
150
+ r.clear(), d.clear();
151
151
  });
152
- let g = j(() => {
153
- let e = h.members.value, n = e.find((e) => e.sessionId === h.sessionId)?.userId ?? t.user?.id ?? null, r = /* @__PURE__ */ new Map();
154
- for (let t of e) {
155
- if (t.sessionId === h.sessionId || t.userId !== null && t.userId === n) continue;
156
- let e = t.userId === null ? `guest:${t.sessionId}` : `user:${t.userId}`;
157
- r.has(e) || r.set(e, {
158
- key: e,
159
- type: t.type,
160
- name: t.name,
161
- ...t.avatarUrl ? { avatarUrl: t.avatarUrl } : {},
162
- color: t.color
152
+ let g = A(() => {
153
+ let t = h.members.value, n = t.find((e) => e.sessionId === h.sessionId)?.userId ?? e.user?.id ?? null, r = /* @__PURE__ */ new Map();
154
+ for (let e of t) {
155
+ if (e.sessionId === h.sessionId || e.userId !== null && e.userId === n) continue;
156
+ let t = e.userId === null ? `guest:${e.sessionId}` : `user:${e.userId}`;
157
+ r.has(t) || r.set(t, {
158
+ key: t,
159
+ type: e.type,
160
+ name: e.name,
161
+ ...e.avatarUrl ? { avatarUrl: e.avatarUrl } : {},
162
+ color: e.color
163
163
  });
164
164
  }
165
165
  return [...r.values()];
166
166
  }), v = {
167
167
  canUndo: h.canUndo,
168
168
  canRedo: h.canRedo,
169
- isNavigating: e(!1),
169
+ isNavigating: S(!1),
170
170
  undo: h.undo,
171
171
  redo: h.redo,
172
172
  record: () => {},
@@ -180,11 +180,11 @@ function Pn(t) {
180
180
  attach: h.attach,
181
181
  history: v,
182
182
  people: g,
183
- isLive: j(() => h.members.value.length > 0),
183
+ isLive: A(() => h.members.value.length > 0),
184
184
  connection: h.connection,
185
- notices: n,
186
- dismissNotice: s,
187
- reportReplaceRefused: (e) => o({
185
+ notices: t,
186
+ dismissNotice: o,
187
+ reportReplaceRefused: (e) => a({
188
188
  kind: "replaceRefused",
189
189
  holders: [...new Map(e.map((e) => [e.type === "guest" ? `guest:${e.sessionId}` : e.id, {
190
190
  name: e.name,
@@ -199,55 +199,55 @@ function Pn(t) {
199
199
  };
200
200
  }
201
201
  // src/composables/useCommentsFeature.ts
202
- function Fn(t) {
203
- let { provider: n, editor: r } = t, i = ge({
204
- provider: n,
205
- getTemplateId: () => r.state.template?.id ?? null,
206
- getUser: () => t.user ?? null,
207
- onError: t.onError
202
+ function Fn(e) {
203
+ let { provider: t, editor: n } = e, r = ge({
204
+ provider: t,
205
+ getTemplateId: () => n.state.template?.id ?? null,
206
+ getUser: () => e.user ?? null,
207
+ onError: e.onError
208
208
  });
209
209
  ve({
210
- comments: i,
211
- provider: n,
212
- getTemplateId: () => r.state.template?.id ?? null
210
+ comments: r,
211
+ provider: t,
212
+ getTemplateId: () => n.state.template?.id ?? null
213
213
  });
214
- let a = t.isOpen ?? e(!1), o = e(null), s = j(() => !!r.state.template?.id), c = i.unresolvedCount, l = j(() => t.user ? t.isAvailable?.() ?? !0 : !1);
215
- h(l, (e) => {
216
- e || (a.value = !1);
217
- }), h([l, s], ([e, t]) => {
218
- e && t && i.load().catch(() => {});
219
- }, { immediate: !0 }), h(a, (e) => {
220
- e && s.value && i.load().catch(() => {});
214
+ let i = e.isOpen ?? S(!1), a = S(null), o = A(() => !!n.state.template?.id), s = r.unresolvedCount, c = A(() => e.user ? e.isAvailable?.() ?? !0 : !1);
215
+ h(c, (e) => {
216
+ e || (i.value = !1);
217
+ }), h([c, o], ([e, t]) => {
218
+ e && t && r.load().catch(() => {});
219
+ }, { immediate: !0 }), h(i, (e) => {
220
+ e && o.value && r.load().catch(() => {});
221
221
  });
222
- function u() {
223
- l.value && (a.value = !a.value);
222
+ function l() {
223
+ c.value && (i.value = !i.value);
224
224
  }
225
- function d() {
226
- a.value = !1;
225
+ function u() {
226
+ i.value = !1;
227
227
  }
228
- function f(e) {
229
- l.value && (o.value = e, a.value ? s.value && i.load().catch(() => {}) : a.value = !0);
228
+ function d(e) {
229
+ c.value && (a.value = e, i.value ? o.value && r.load().catch(() => {}) : i.value = !0);
230
230
  }
231
231
  return {
232
- headless: i,
233
- isOpen: a,
234
- isAvailable: l,
235
- hasTemplate: s,
236
- unresolvedCount: c,
237
- filterBlockId: o,
238
- toggle: u,
239
- close: d,
240
- openForBlock: f,
232
+ headless: r,
233
+ isOpen: i,
234
+ isAvailable: c,
235
+ hasTemplate: o,
236
+ unresolvedCount: s,
237
+ filterBlockId: a,
238
+ toggle: l,
239
+ close: u,
240
+ openForBlock: d,
241
241
  capability: {
242
- getBlockCount: (e) => i.commentCountByBlock.value.get(e) ?? 0,
243
- openForBlock: f,
244
- isBlockSaved: (e) => t.isBlockSaved?.(e) ?? !0,
245
- isAvailable: l,
246
- unresolvedCount: c,
247
- canCreate: i.canCreate,
248
- canUpdate: i.canUpdate,
249
- canDelete: i.canDelete,
250
- canResolve: i.canResolve
242
+ getBlockCount: (e) => r.commentCountByBlock.value.get(e) ?? 0,
243
+ openForBlock: d,
244
+ isBlockSaved: (t) => e.isBlockSaved?.(t) ?? !0,
245
+ isAvailable: c,
246
+ unresolvedCount: s,
247
+ canCreate: r.canCreate,
248
+ canUpdate: r.canUpdate,
249
+ canDelete: r.canDelete,
250
+ canResolve: r.canResolve
251
251
  }
252
252
  };
253
253
  }
@@ -264,22 +264,22 @@ function Hn(e) {
264
264
  message: e.message
265
265
  };
266
266
  }
267
- function Un(t) {
268
- let { provider: n, editor: r, collaboration: i } = t, a = n.conversation ?? null, o = crypto.randomUUID(), s = e(null), c = /* @__PURE__ */ new Map(), l = !1, u = 0, d = !1;
269
- function f(t) {
270
- let n = z(t);
267
+ function Un(e) {
268
+ let { provider: t, editor: n, collaboration: r } = e, i = t.conversation ?? null, a = crypto.randomUUID(), o = S(null), s = /* @__PURE__ */ new Map(), c = !1, l = 0, u = !1;
269
+ function d(e) {
270
+ let t = R(e);
271
271
  return {
272
- id: t,
273
- memory: n,
274
- generation: ++n.generation,
275
- messages: e(n.items),
276
- isLoadingHistory: e(!1),
277
- busy: e(!1),
278
- keptYourVersion: e(!1),
279
- failure: e(null),
280
- failedPrompt: e(null),
281
- failedAttachments: I([]),
282
- importQueue: I([]),
272
+ id: e,
273
+ memory: t,
274
+ generation: ++t.generation,
275
+ messages: S(t.items),
276
+ isLoadingHistory: S(!1),
277
+ busy: S(!1),
278
+ keptYourVersion: S(!1),
279
+ failure: S(null),
280
+ failedPrompt: S(null),
281
+ failedAttachments: k([]),
282
+ importQueue: k([]),
283
283
  loaded: !1,
284
284
  historyGeneration: 0,
285
285
  pendingHistory: null,
@@ -289,36 +289,36 @@ function Un(t) {
289
289
  committingReload: !1,
290
290
  lastRecordedTurn: null,
291
291
  timers: /* @__PURE__ */ new Set(),
292
- highlights: I(/* @__PURE__ */ new Map()),
292
+ highlights: k(/* @__PURE__ */ new Map()),
293
293
  highlightSequence: 0
294
294
  };
295
295
  }
296
- let p = j(() => r.state.template?.id ?? null), m = I(p.value === null ? null : f(p.value)), g = j(() => m.value !== null && !l && p.value !== null), _ = (e) => e === "chatAttachments" ? g.value && n.chatAttachments === !0 && typeof n.chat == "function" : typeof n[e] == "function", v = () => l ? null : m.value, y = (e) => !l && m.value === e && !e.lifetime.signal.aborted && p.value === e.id;
297
- function b(e, t) {
298
- return j({
299
- get: () => m.value ? e(m.value).value : t,
296
+ let f = A(() => n.state.template?.id ?? null), p = k(f.value === null ? null : d(f.value)), m = A(() => p.value !== null && !c && f.value !== null), g = (e) => e === "chatAttachments" ? m.value && t.chatAttachments === !0 && typeof t.chat == "function" : typeof t[e] == "function", _ = () => c ? null : p.value, v = (e) => !c && p.value === e && !e.lifetime.signal.aborted && f.value === e.id;
297
+ function y(e, t) {
298
+ return A({
299
+ get: () => p.value ? e(p.value).value : t,
300
300
  set: (t) => {
301
- let n = v();
301
+ let n = _();
302
302
  n && (e(n).value = t);
303
303
  }
304
304
  });
305
305
  }
306
- let x = b((e) => e.messages, []), S = j(() => r.content.value.blocks.length === 0), C = b((e) => e.isLoadingHistory, !1), w = b((e) => e.busy, !1), T = b((e) => e.failure, null), E = b((e) => e.keptYourVersion, !1), D = b((e) => e.failedPrompt, null), k = b((e) => e.failedAttachments, []), A = b((e) => e.importQueue, []);
307
- function M(e) {
306
+ let b = y((e) => e.messages, []), x = A(() => n.content.value.blocks.length === 0), C = y((e) => e.isLoadingHistory, !1), w = y((e) => e.busy, !1), T = y((e) => e.failure, null), E = y((e) => e.keptYourVersion, !1), D = y((e) => e.failedPrompt, null), O = y((e) => e.failedAttachments, []), ee = y((e) => e.importQueue, []);
307
+ function j(e) {
308
308
  e.historyGeneration++, e.pendingHistory = null, e.loaded = !1, e.isLoadingHistory.value = !1;
309
309
  }
310
310
  function N(e, t, n, r) {
311
- return y(t) ? new Promise((i, a) => {
311
+ return v(t) ? new Promise((i, a) => {
312
312
  let o = {
313
313
  kind: e,
314
314
  scope: t,
315
315
  controller: new AbortController(),
316
316
  authorVersion: 0,
317
317
  execute: async () => {
318
- o.authorVersion = u;
318
+ o.authorVersion = l;
319
319
  let e;
320
320
  try {
321
- e = await (o.controller.signal.aborted || !y(t) ? r() : n(o));
321
+ e = await (o.controller.signal.aborted || !v(t) ? r() : n(o));
322
322
  } catch (e) {
323
323
  a(e);
324
324
  return;
@@ -334,12 +334,12 @@ function Un(t) {
334
334
  function P(e) {
335
335
  if (e.active) return;
336
336
  let t = e.queue.shift();
337
- t && (e.active = t, y(e) && (e.busy.value = !0), t.execute());
337
+ t && (e.active = t, v(e) && (e.busy.value = !0), t.execute());
338
338
  }
339
339
  function F(e) {
340
- if (e.controller.signal.throwIfAborted(), !y(e.scope)) throw new DOMException("The template changed.", "AbortError");
340
+ if (e.controller.signal.throwIfAborted(), !v(e.scope)) throw new DOMException("The template changed.", "AbortError");
341
341
  }
342
- async function L(e, t) {
342
+ async function I(e, t) {
343
343
  t.throwIfAborted();
344
344
  let n, r = new Promise((e, r) => {
345
345
  n = () => r(t.reason), t.addEventListener("abort", n, { once: !0 });
@@ -350,104 +350,104 @@ function Un(t) {
350
350
  t.removeEventListener("abort", n);
351
351
  }
352
352
  }
353
- async function R(e, n = !1, r = e.authorVersion) {
354
- let { scope: i } = e, a = () => i.active === e && y(i) && (n || !e.controller.signal.aborted), o = () => a() ? r === u || (i.keptYourVersion.value = !0, !1) : !1;
355
- if (t.reload && o()) try {
356
- await L(t.reload(i.id, () => o() ? (i.keptYourVersion.value = !1, i.committingReload = !0, !0) : !1), i.lifetime.signal);
353
+ async function L(t, n = !1, r = t.authorVersion) {
354
+ let { scope: i } = t, a = () => i.active === t && v(i) && (n || !t.controller.signal.aborted), o = () => a() ? r === l || (i.keptYourVersion.value = !0, !1) : !1;
355
+ if (e.reload && o()) try {
356
+ await I(e.reload(i.id, () => o() ? (i.keptYourVersion.value = !1, i.committingReload = !0, !0) : !1), i.lifetime.signal);
357
357
  } finally {
358
358
  i.committingReload = !1;
359
359
  }
360
360
  }
361
- function z(e) {
362
- let t = c.get(e);
361
+ function R(e) {
362
+ let t = s.get(e);
363
363
  return t || (t = {
364
364
  generation: 0,
365
365
  items: [],
366
366
  records: /* @__PURE__ */ new Map(),
367
367
  storedIds: /* @__PURE__ */ new Set(),
368
368
  recoveries: /* @__PURE__ */ new Map()
369
- }, c.set(e, t)), t;
369
+ }, s.set(e, t)), t;
370
370
  }
371
- function B(e, t, n) {
371
+ function z(e, t, n) {
372
372
  let r = setTimeout(() => {
373
373
  e.timers.delete(r), t();
374
374
  }, n);
375
375
  e.timers.add(r);
376
376
  }
377
- function V(e) {
378
- Rn(e) || t.onError?.(zn(e));
377
+ function B(t) {
378
+ Rn(t) || e.onError?.(zn(t));
379
379
  }
380
- function H(e, t) {
380
+ function V(e, t) {
381
381
  if (t.length === 0) return;
382
- if (i) {
383
- i.outline(t);
382
+ if (r) {
383
+ r.outline(t);
384
384
  return;
385
385
  }
386
- let n = ++e.highlightSequence, r = new Map(e.highlights.value);
387
- for (let e of t) r.set(e, n);
388
- e.highlights.value = r, B(e, () => {
386
+ let n = ++e.highlightSequence, i = new Map(e.highlights.value);
387
+ for (let e of t) i.set(e, n);
388
+ e.highlights.value = i, z(e, () => {
389
389
  let r = new Map(e.highlights.value);
390
390
  for (let e of t) r.get(e) === n && r.delete(e);
391
391
  e.highlights.value = r;
392
392
  }, jn);
393
393
  }
394
- async function ee(e) {
395
- i && await Promise.race([i.core.settle().catch(() => {}), new Promise((t) => B(e, t, In))]);
394
+ async function te(e) {
395
+ r && await Promise.race([r.core.settle().catch(() => {}), new Promise((t) => z(e, t, In))]);
396
396
  }
397
- function U(e) {
398
- let n = X(O(r.content.value));
399
- if (new TextEncoder().encode(JSON.stringify(n)).length > 2e5) throw new fe("This template is too large for AI.", 413, "content_too_large");
397
+ function H(t) {
398
+ let i = Y(M(n.content.value));
399
+ if (new TextEncoder().encode(JSON.stringify(i)).length > 2e5) throw new fe("This template is too large for AI.", 413, "content_too_large");
400
400
  return {
401
- templateId: e,
402
- content: n,
403
- revision: i ? i.core.revision.value : null,
404
- sessionId: i ? i.core.sessionId : o,
405
- mergeTags: t.mergeTags()
401
+ templateId: t,
402
+ content: i,
403
+ revision: r ? r.core.revision.value : null,
404
+ sessionId: r ? r.core.sessionId : a,
405
+ mergeTags: e.mergeTags()
406
406
  };
407
407
  }
408
- function G() {
409
- let e = r.state.selectedBlockId;
410
- return e ? i ? i.core.hasConfirmedBlock(e) ? e : null : Vn(r.content.value.blocks, e) ? e : null : null;
408
+ function W() {
409
+ let e = n.state.selectedBlockId;
410
+ return e ? r ? r.core.hasConfirmedBlock(e) ? e : null : Vn(n.content.value.blocks, e) ? e : null : null;
411
411
  }
412
- function K(e, n, a) {
413
- let o = t.normalize(e, O(r.content.value)), s = Nn(o);
414
- if (i) {
415
- let e = i.core.applyOperations(o, {
412
+ function G(t, i, a) {
413
+ let o = e.normalize(t, M(n.content.value)), s = Nn(o);
414
+ if (r) {
415
+ let e = r.core.applyOperations(o, {
416
416
  origin: "ai",
417
- turn: n
417
+ turn: i
418
418
  });
419
- return e.applied ? (s.templateUpdated || H(a, s.blockIds), {
419
+ return e.applied ? (s.templateUpdated || V(a, s.blockIds), {
420
420
  applied: !0,
421
421
  inverse: e.inverse
422
422
  }) : Hn(e.error);
423
423
  }
424
424
  let c;
425
425
  try {
426
- c = ne(O(r.content.value), o);
426
+ c = re(M(n.content.value), o);
427
427
  } catch (e) {
428
- if (e instanceof W) return Hn(e);
428
+ if (e instanceof U) return Hn(e);
429
429
  throw e;
430
430
  }
431
- a.lastRecordedTurn !== n && (t.history().record(), a.lastRecordedTurn = n), d = !0;
431
+ a.lastRecordedTurn !== i && (e.history().record(), a.lastRecordedTurn = i), u = !0;
432
432
  try {
433
- re(r.content.value, X(o)), r.markDirty();
433
+ ie(n.content.value, Y(o)), n.markDirty();
434
434
  } finally {
435
- d = !1;
435
+ u = !1;
436
436
  }
437
- let l = r.state.selectedBlockId;
438
- return l && !Vn(r.content.value.blocks, l) && r.selectBlock(null), s.templateUpdated || H(a, s.blockIds), {
437
+ let l = n.state.selectedBlockId;
438
+ return l && !Vn(n.content.value.blocks, l) && n.selectBlock(null), s.templateUpdated || V(a, s.blockIds), {
439
439
  applied: !0,
440
440
  inverse: c
441
441
  };
442
442
  }
443
- function q(e, t) {
444
- if (!i || !y(t)) return;
445
- let n = i.core;
446
- n.revision.value >= e || (n.connection.value === "connected" ? B(t, () => {
447
- y(t) && n.revision.value < e && n.catchUp();
443
+ function K(e, t) {
444
+ if (!r || !v(t)) return;
445
+ let n = r.core;
446
+ n.revision.value >= e || (n.connection.value === "connected" ? z(t, () => {
447
+ v(t) && n.revision.value < e && n.catchUp();
448
448
  }, Ln) : n.catchUp());
449
449
  }
450
- function J(e, t, n) {
450
+ function q(e, t, n) {
451
451
  let r = e.memory;
452
452
  r.items = r.items.map((e) => {
453
453
  if (e.id !== t) return e;
@@ -457,17 +457,17 @@ function Un(t) {
457
457
  };
458
458
  return {
459
459
  ...i,
460
- ...Y(i, r)
460
+ ...J(i, r)
461
461
  };
462
462
  });
463
463
  for (let e of r.recoveries.values()) e.item.id === t && (e.item = r.items.find((e) => e.id === (n.id ?? t)) ?? e.item);
464
464
  e.messages.value = r.items;
465
465
  }
466
- function Y(e, t) {
466
+ function J(e, t) {
467
467
  let n = e.role === "assistant" && e.operationCount > 0;
468
468
  if (t.storedIds.has(e.id)) return {
469
- canUndo: n && !e.undone && typeof a?.undo == "function",
470
- canRedo: n && e.undone && typeof a?.redo == "function"
469
+ canUndo: n && !e.undone && typeof i?.undo == "function",
470
+ canRedo: n && e.undone && typeof i?.redo == "function"
471
471
  };
472
472
  let r = t.records.get(e.id);
473
473
  return {
@@ -475,36 +475,36 @@ function Un(t) {
475
475
  canRedo: n && e.undone && !r?.serverApplied && (r?.redo?.length ?? 0) > 0
476
476
  };
477
477
  }
478
- let te = () => ({
478
+ let ne = () => ({
479
479
  messageId: null,
480
480
  operationCount: 0,
481
481
  text: "",
482
482
  failed: !0
483
483
  });
484
- function ie(e, n, r, o = []) {
485
- let s = v();
486
- return !s || s.active?.kind === "turn" || s.queue.some((e) => e.kind === "turn") ? Promise.resolve(te()) : N("turn", s, async (c) => {
487
- let { controller: l } = c, u = s.memory, d = crypto.randomUUID(), f = crypto.randomUUID(), p = crypto.randomUUID(), m = 0, h = "", g = !1, _ = null, v = {
484
+ function X(t, n, a, o = []) {
485
+ let s = _();
486
+ return !s || s.active?.kind === "turn" || s.queue.some((e) => e.kind === "turn") ? Promise.resolve(ne()) : N("turn", s, async (c) => {
487
+ let { controller: l } = c, u = s.memory, d = crypto.randomUUID(), f = crypto.randomUUID(), p = crypto.randomUUID(), m = 0, h = "", g = !1, _ = null, y = {
488
488
  inverse: [],
489
489
  redo: null,
490
490
  serverApplied: !1,
491
491
  batchIds: /* @__PURE__ */ new Set()
492
- }, b, x = !1, S = !1, C = (e) => J(s, p, e), w = () => {
492
+ }, b, x = !1, S = !1, C = (e) => q(s, p, e), w = () => {
493
493
  let e = u.items.find((e) => e.id === p);
494
- a && e && u.recoveries.set(d, {
494
+ i && e && u.recoveries.set(d, {
495
495
  item: e,
496
496
  user: u.items.find((e) => e.id === f),
497
- record: v
497
+ record: y
498
498
  });
499
499
  }, T = () => {
500
- !S && (a || !i && t.reload) && (S = !0, N("reconcile", s, async (e) => {
500
+ !S && (i || !r && e.reload) && (S = !0, N("reconcile", s, async (t) => {
501
501
  try {
502
502
  let n;
503
503
  do
504
- n = m, !i && t.reload && await R(e, !0, c.authorVersion), a && await se(e, !0, !0);
505
- while (y(s) && n !== m);
504
+ n = m, !r && e.reload && await L(t, !0, c.authorVersion), i && await se(t, !0, !0);
505
+ while (v(s) && n !== m);
506
506
  } catch (e) {
507
- y(s) && V(e);
507
+ v(s) && B(e);
508
508
  } finally {
509
509
  S = !1;
510
510
  }
@@ -517,25 +517,25 @@ function Un(t) {
517
517
  },
518
518
  onOperations: async (e) => {
519
519
  F(c);
520
- let t = K(e, d, s);
521
- return t.applied && (v.inverse = [...t.inverse, ...v.inverse], m += e.length, C({ operationCount: m })), t;
520
+ let t = G(e, d, s);
521
+ return t.applied && (y.inverse = [...t.inverse, ...y.inverse], m += e.length, C({ operationCount: m })), t;
522
522
  },
523
- onApplied: (e) => {
524
- if (!y(s)) throw new DOMException("The template changed.", "AbortError");
525
- if (!i && !t.reload) throw _ ??= new fe(ln, 502, "ai_provider_error"), _;
526
- v.serverApplied = !0, v.batchIds.add(e.batchId), m += e.operationCount, C({ operationCount: m }), q(e.revision, s), x && (w(), T());
523
+ onApplied: (t) => {
524
+ if (!v(s)) throw new DOMException("The template changed.", "AbortError");
525
+ if (!r && !e.reload) throw _ ??= new fe(ln, 502, "ai_provider_error"), _;
526
+ y.serverApplied = !0, y.batchIds.add(t.batchId), m += t.operationCount, C({ operationCount: m }), K(t.revision, s), x && (w(), T());
527
527
  }
528
528
  };
529
529
  try {
530
530
  try {
531
531
  await se(c), F(c), s.failure.value = null, s.failedPrompt.value = null, s.failedAttachments.value = [];
532
- let t = (/* @__PURE__ */ new Date()).toISOString();
533
- u.records.set(p, v), u.items = [
532
+ let e = (/* @__PURE__ */ new Date()).toISOString();
533
+ u.records.set(p, y), u.items = [
534
534
  ...u.items,
535
535
  {
536
536
  id: f,
537
537
  role: "user",
538
- kind: e,
538
+ kind: t,
539
539
  text: n,
540
540
  attachments: o.map((e) => ({
541
541
  name: e.name,
@@ -545,28 +545,28 @@ function Un(t) {
545
545
  undone: !1,
546
546
  canUndo: !1,
547
547
  canRedo: !1,
548
- createdAt: t,
548
+ createdAt: e,
549
549
  status: "done"
550
550
  },
551
551
  {
552
552
  id: p,
553
553
  role: "assistant",
554
- kind: e,
554
+ kind: t,
555
555
  text: "",
556
556
  attachments: [],
557
557
  operationCount: 0,
558
558
  undone: !1,
559
559
  canUndo: !1,
560
560
  canRedo: !1,
561
- createdAt: t,
561
+ createdAt: e,
562
562
  status: "streaming"
563
563
  }
564
- ], s.messages.value = u.items, await L(ee(s), c.controller.signal), F(c);
565
- let i = await L(r(U(s.id), E, l.signal), l.signal);
564
+ ], s.messages.value = u.items, await I(te(s), c.controller.signal), F(c);
565
+ let r = await I(a(H(s.id), E, l.signal), l.signal);
566
566
  if (F(c), _) throw _;
567
- if (i.text !== "" && (h = i.text), i.messageId !== null && a) {
567
+ if (r.text !== "" && (h = r.text), r.messageId !== null && i) {
568
568
  let e = p;
569
- p = i.messageId, u.storedIds.add(p), u.records.delete(e), u.records.set(p, v), J(s, e, { id: p });
569
+ p = r.messageId, u.storedIds.add(p), u.records.delete(e), u.records.set(p, y), q(s, e, { id: p });
570
570
  }
571
571
  C({
572
572
  text: h,
@@ -577,9 +577,9 @@ function Un(t) {
577
577
  text: h,
578
578
  failed: !1
579
579
  };
580
- } catch (t) {
581
- let r = _ ?? t;
582
- g = l.signal.aborted || Rn(r), g || V(r), m === 0 && (!g || h === "") ? (u.items = u.items.filter((e) => e.id !== p && e.id !== f), y(s) && (s.messages.value = u.items, g || (e === "chat" && (s.failedPrompt.value = n, s.failedAttachments.value = o), s.failure.value = {
580
+ } catch (e) {
581
+ let r = _ ?? e;
582
+ g = l.signal.aborted || Rn(r), g || B(r), m === 0 && (!g || h === "") ? (u.items = u.items.filter((e) => e.id !== p && e.id !== f), v(s) && (s.messages.value = u.items, g || (t === "chat" && (s.failedPrompt.value = n, s.failedAttachments.value = o), s.failure.value = {
583
583
  error: zn(r),
584
584
  context: "turn"
585
585
  })), b = {
@@ -600,90 +600,90 @@ function Un(t) {
600
600
  failed: !g
601
601
  });
602
602
  }
603
- a && b.messageId !== null && m > 0 && (b.failed || g) && w();
603
+ i && b.messageId !== null && m > 0 && (b.failed || g) && w();
604
604
  let x;
605
605
  do
606
- if (x = m, v.serverApplied && !i && t.reload && y(s) && await R(c, !0).catch((e) => {
607
- y(s) && V(e);
608
- }), a && u.recoveries.has(d) && y(s)) {
606
+ if (x = m, y.serverApplied && !r && e.reload && v(s) && await L(c, !0).catch((e) => {
607
+ v(s) && B(e);
608
+ }), i && u.recoveries.has(d) && v(s)) {
609
609
  await se(c, !0, !0);
610
610
  let e = u.recoveries.get(d);
611
611
  e && (b.messageId = e.item.id, b.text = e.item.text);
612
612
  }
613
- while (y(s) && v.serverApplied && x !== m);
613
+ while (v(s) && y.serverApplied && x !== m);
614
614
  return b.operationCount = m, (g || l.signal.aborted) && (b.failed = !0), b;
615
615
  } finally {
616
616
  x = !0, s.messages.value = u.items;
617
617
  }
618
- }, te);
618
+ }, ne);
619
619
  }
620
- function Z(e, n) {
621
- let r = v();
622
- return !r || r.busy.value ? Promise.resolve() : N("replay", r, async (s) => {
623
- let c = r.memory, l = c.items.find((t) => t.id === e);
620
+ function Z(t, n) {
621
+ let o = _();
622
+ return !o || o.busy.value ? Promise.resolve() : N("replay", o, async (s) => {
623
+ let c = o.memory, l = c.items.find((e) => e.id === t);
624
624
  if (!l) return;
625
- let u = a?.[n], d = c.records.get(e);
625
+ let u = i?.[n], d = c.records.get(t);
626
626
  try {
627
- if (F(s), c.storedIds.has(e)) {
627
+ if (F(s), c.storedIds.has(t)) {
628
628
  if (typeof u != "function") throw new fe(`This AI backend does not support ${n}.`, 403, "feature_unavailable");
629
629
  if (l.undone !== (n === "redo")) return;
630
- let c = await L(u(r.id, e, { sessionId: i ? i.core.sessionId : o }), r.lifetime.signal);
631
- if (!y(r)) return;
630
+ let c = await I(u(o.id, t, { sessionId: r ? r.core.sessionId : a }), o.lifetime.signal);
631
+ if (!v(o)) return;
632
632
  if ("operations" in c) {
633
633
  if (s.controller.signal.aborted) return;
634
- let t = K(c.operations, `${n}:${e}:${crypto.randomUUID()}`, r);
635
- t.applied && J(r, e, {
634
+ let e = G(c.operations, `${n}:${t}:${crypto.randomUUID()}`, o);
635
+ e.applied && q(o, t, {
636
636
  undone: n === "undo",
637
637
  failure: void 0
638
638
  });
639
639
  try {
640
- await L(a.settleReplay(r.id, e, {
640
+ await I(i.settleReplay(o.id, t, {
641
641
  replayId: c.replayId,
642
642
  direction: n,
643
- applied: t.applied,
644
- sessionId: i ? i.core.sessionId : o
645
- }), r.lifetime.signal);
646
- } catch (t) {
647
- if (!y(r)) return;
648
- V(t), J(r, e, { failure: {
649
- error: zn(t),
643
+ applied: e.applied,
644
+ sessionId: r ? r.core.sessionId : a
645
+ }), o.lifetime.signal);
646
+ } catch (e) {
647
+ if (!v(o)) return;
648
+ B(e), q(o, t, { failure: {
649
+ error: zn(e),
650
650
  context: n
651
651
  } });
652
652
  }
653
- if (!y(r)) return;
654
- if (!t.applied) throw new ae(t.message, {
655
- code: t.code,
656
- opIndex: t.opIndex
653
+ if (!v(o)) return;
654
+ if (!e.applied) throw new ae(e.message, {
655
+ code: e.code,
656
+ opIndex: e.opIndex
657
657
  });
658
658
  return;
659
659
  }
660
- if (J(r, e, {
660
+ if (q(o, t, {
661
661
  undone: n === "undo",
662
662
  failure: void 0
663
- }), i) q(c.applied.revision, r);
664
- else if (t.reload) await R(s, !0);
663
+ }), r) K(c.applied.revision, o);
664
+ else if (e.reload) await L(s, !0);
665
665
  else throw new fe(ln, 502, "ai_provider_error");
666
666
  return;
667
667
  }
668
668
  {
669
669
  if (l.undone !== (n === "redo")) return;
670
- let t = n === "undo" ? d?.inverse : d?.redo;
671
- if (!d || d.serverApplied || !t || t.length === 0) return;
672
- let i = K(t, `${n}:${e}:${crypto.randomUUID()}`, r);
673
- if (!i.applied) throw new ae(i.message, {
674
- code: i.code,
675
- opIndex: i.opIndex
670
+ let e = n === "undo" ? d?.inverse : d?.redo;
671
+ if (!d || d.serverApplied || !e || e.length === 0) return;
672
+ let r = G(e, `${n}:${t}:${crypto.randomUUID()}`, o);
673
+ if (!r.applied) throw new ae(r.message, {
674
+ code: r.code,
675
+ opIndex: r.opIndex
676
676
  });
677
- n === "undo" ? d.redo = i.inverse : d.inverse = i.inverse;
677
+ n === "undo" ? d.redo = r.inverse : d.inverse = r.inverse;
678
678
  }
679
- J(r, e, {
679
+ q(o, t, {
680
680
  undone: n === "undo",
681
681
  failure: void 0
682
682
  });
683
- } catch (t) {
684
- if (!y(r) || Rn(t)) return;
685
- V(t), J(r, e, { failure: {
686
- error: zn(t),
683
+ } catch (e) {
684
+ if (!v(o) || Rn(e)) return;
685
+ B(e), q(o, t, { failure: {
686
+ error: zn(e),
687
687
  context: n
688
688
  } });
689
689
  }
@@ -705,7 +705,7 @@ function Un(t) {
705
705
  };
706
706
  return {
707
707
  ...n,
708
- ...Y(n, t)
708
+ ...J(n, t)
709
709
  };
710
710
  }
711
711
  function Q(e, t) {
@@ -730,35 +730,35 @@ function Un(t) {
730
730
  n.item = e, r = r.map((t) => t.id === s.id ? e : t);
731
731
  } else n.user && !r.some((e) => e.id === n.user.id) && r.push(n.user), r.push({
732
732
  ...i,
733
- ...Y(i, t)
733
+ ...J(i, t)
734
734
  });
735
735
  }
736
736
  return r;
737
737
  }
738
738
  async function se(e, t = !1, n = !1, r = e.scope.historyGeneration) {
739
- let { scope: i } = e;
740
- if (!y(i) || r !== i.historyGeneration || !n && e.controller.signal.aborted || !t && i.loaded) return;
741
- let o = i.memory;
742
- if (!a) i.messages.value = o.items, i.loaded = !0;
739
+ let { scope: a } = e;
740
+ if (!v(a) || r !== a.historyGeneration || !n && e.controller.signal.aborted || !t && a.loaded) return;
741
+ let o = a.memory;
742
+ if (!i) a.messages.value = o.items, a.loaded = !0;
743
743
  else {
744
- i.isLoadingHistory.value = !0, i.loaded = !1;
744
+ a.isLoadingHistory.value = !0, a.loaded = !1;
745
745
  try {
746
- await L(a.list(i.id).then((t) => {
747
- !l && o.generation === i.generation && r === i.historyGeneration && (n || y(i) && !e.controller.signal.aborted) && (o.items = Q(t, o), i.messages.value = o.items, i.loaded = !0, i.failure.value?.context === "history" && (i.failure.value = null));
748
- }), n ? i.lifetime.signal : e.controller.signal);
746
+ await I(i.list(a.id).then((t) => {
747
+ !c && o.generation === a.generation && r === a.historyGeneration && (n || v(a) && !e.controller.signal.aborted) && (o.items = Q(t, o), a.messages.value = o.items, a.loaded = !0, a.failure.value?.context === "history" && (a.failure.value = null));
748
+ }), n ? a.lifetime.signal : e.controller.signal);
749
749
  } catch (e) {
750
- if (!y(i) || r !== i.historyGeneration || Rn(e)) return;
751
- V(e), i.failure.value = {
750
+ if (!v(a) || r !== a.historyGeneration || Rn(e)) return;
751
+ B(e), a.failure.value = {
752
752
  error: zn(e),
753
753
  context: "history"
754
754
  };
755
755
  } finally {
756
- r === i.historyGeneration && (i.isLoadingHistory.value = !1);
756
+ r === a.historyGeneration && (a.isLoadingHistory.value = !1);
757
757
  }
758
758
  }
759
759
  }
760
- function ce(e = v()) {
761
- if (!e || !y(e)) return Promise.resolve();
760
+ function ce(e = _()) {
761
+ if (!e || !v(e)) return Promise.resolve();
762
762
  if (e.pendingHistory?.generation === e.historyGeneration) return e.pendingHistory.promise;
763
763
  if (e.loaded) return Promise.resolve();
764
764
  let t = e.historyGeneration, n = {
@@ -770,14 +770,14 @@ function Un(t) {
770
770
  }), e.pendingHistory = n, n.promise;
771
771
  }
772
772
  function le() {
773
- let e = v();
774
- return !e || a && typeof a.clear != "function" || e.active && e.active.kind !== "history" && e.active.kind !== "read" || e.queue.some((e) => e.kind !== "history" && e.kind !== "read") ? Promise.resolve() : (M(e), e.active?.controller.abort(), N("clear", e, async () => {
773
+ let e = _();
774
+ return !e || i && typeof i.clear != "function" || e.active && e.active.kind !== "history" && e.active.kind !== "read" || e.queue.some((e) => e.kind !== "history" && e.kind !== "read") ? Promise.resolve() : (j(e), e.active?.controller.abort(), N("clear", e, async () => {
775
775
  try {
776
- if (a && typeof a.clear == "function" && await a.clear(e.id), e.memory.generation !== e.generation) return;
777
- c.delete(e.id), e.memory.items = [], e.memory.records.clear(), e.memory.storedIds.clear(), e.memory.recoveries.clear(), M(e), e.messages.value = [], e.loaded = !0, e.failure.value = null, e.failedPrompt.value = null, e.failedAttachments.value = [], y(e) && c.set(e.id, e.memory);
776
+ if (i && typeof i.clear == "function" && await i.clear(e.id), e.memory.generation !== e.generation) return;
777
+ s.delete(e.id), e.memory.items = [], e.memory.records.clear(), e.memory.storedIds.clear(), e.memory.recoveries.clear(), j(e), e.messages.value = [], e.loaded = !0, e.failure.value = null, e.failedPrompt.value = null, e.failedAttachments.value = [], v(e) && s.set(e.id, e.memory);
778
778
  } catch (t) {
779
- if (!y(e)) return;
780
- V(t), e.failure.value = {
779
+ if (!v(e)) return;
780
+ B(t), e.failure.value = {
781
781
  error: zn(t),
782
782
  context: "history"
783
783
  };
@@ -785,14 +785,14 @@ function Un(t) {
785
785
  }, () => {}));
786
786
  }
787
787
  function ue(e) {
788
- y(e) && ce(e);
788
+ v(e) && ce(e);
789
789
  }
790
- function de(e) {
791
- let n = v();
792
- n && y(n) && (s.value !== e && n.busy.value && ge(), s.value = e, t.commentsOpen && (t.commentsOpen.value = !1), e === "chat" && ue(n));
790
+ function de(t) {
791
+ let n = _();
792
+ n && v(n) && (o.value !== t && n.busy.value && ge(), o.value = t, e.commentsOpen && (e.commentsOpen.value = !1), t === "chat" && ue(n));
793
793
  }
794
794
  function pe(e) {
795
- e.length !== 0 && _("chatAttachments") && (A.value = [...e], de("chat"));
795
+ e.length !== 0 && g("chatAttachments") && (ee.value = [...e], de("chat"));
796
796
  }
797
797
  function me(e) {
798
798
  e.active?.controller.abort();
@@ -804,134 +804,134 @@ function Un(t) {
804
804
  e.timers.clear();
805
805
  }
806
806
  function ge() {
807
- let e = v();
807
+ let e = _();
808
808
  e && me(e);
809
809
  }
810
810
  function _e() {
811
- ge(), s.value = null;
811
+ ge(), o.value = null;
812
812
  }
813
- let ve = [h(() => r.state.isDirty, (e, t) => {
814
- t === !0 && e === !1 && r.state.isSaving && (E.value = !1);
815
- }, { flush: "sync" }), h(r.content, () => {
816
- !d && !m.value?.committingReload && u++;
813
+ let ve = [h(() => n.state.isDirty, (e, t) => {
814
+ t === !0 && e === !1 && n.state.isSaving && (E.value = !1);
815
+ }, { flush: "sync" }), h(n.content, () => {
816
+ !u && !p.value?.committingReload && l++;
817
817
  }, {
818
818
  deep: !0,
819
819
  flush: "sync"
820
820
  })];
821
- t.commentsOpen && ve.push(h(t.commentsOpen, (e) => {
821
+ e.commentsOpen && ve.push(h(e.commentsOpen, (e) => {
822
822
  e && _e();
823
- })), ve.push(h(() => r.loadVersion?.value ?? p.value, () => {
824
- if (l) return;
825
- let e = m.value;
826
- if (e?.committingReload && y(e)) {
823
+ })), ve.push(h(() => n.loadVersion?.value ?? f.value, () => {
824
+ if (c) return;
825
+ let e = p.value;
826
+ if (e?.committingReload && v(e)) {
827
827
  e.committingReload = !1;
828
828
  return;
829
829
  }
830
830
  e && he(e);
831
- let t = p.value, n = t === null ? null : f(t);
832
- m.value = n, n && s.value === "chat" && ue(n);
831
+ let t = f.value, n = t === null ? null : d(t);
832
+ p.value = n, n && o.value === "chat" && ue(n);
833
833
  }, { flush: "sync" }));
834
- async function ye(e, a) {
835
- let s = v(), c = n.altText, l = new AbortController(), u = () => l.abort(a?.reason), d = () => l.abort();
834
+ async function ye(i, o) {
835
+ let s = _(), c = t.altText, l = new AbortController(), u = () => l.abort(o?.reason), d = () => l.abort();
836
836
  try {
837
- if (a?.throwIfAborted(), !s || typeof c != "function") throw new fe("This AI feature isn't available.", 403, "feature_unavailable");
838
- let n = fn(r.content.value, e);
839
- if (!n) throw new fe("The image is no longer available.", 409, "block_missing");
840
- a?.addEventListener("abort", u, { once: !0 }), s.lifetime.signal.addEventListener("abort", d, { once: !0 });
841
- let { url: f, ...p } = n, m = await L(c({
837
+ if (o?.throwIfAborted(), !s || typeof c != "function") throw new fe("This AI feature isn't available.", 403, "feature_unavailable");
838
+ let t = fn(n.content.value, i);
839
+ if (!t) throw new fe("The image is no longer available.", 409, "block_missing");
840
+ o?.addEventListener("abort", u, { once: !0 }), s.lifetime.signal.addEventListener("abort", d, { once: !0 });
841
+ let { url: f, ...p } = t, m = await I(c({
842
842
  templateId: s.id,
843
- sessionId: i ? i.core.sessionId : o,
844
- blockId: e,
843
+ sessionId: r ? r.core.sessionId : a,
844
+ blockId: i,
845
845
  image: { url: f },
846
846
  ...p,
847
- locale: r.content.value.settings.locale,
848
- maxLength: t.altMaxLength?.() ?? 125
847
+ locale: n.content.value.settings.locale,
848
+ maxLength: e.altMaxLength?.() ?? 125
849
849
  }, l.signal), l.signal);
850
- if (l.signal.throwIfAborted(), !y(s)) throw new DOMException("The template changed.", "AbortError");
850
+ if (l.signal.throwIfAborted(), !v(s)) throw new DOMException("The template changed.", "AbortError");
851
851
  return m.alt;
852
852
  } catch (e) {
853
- throw V(e), e;
853
+ throw B(e), e;
854
854
  } finally {
855
- a?.removeEventListener("abort", u), s?.lifetime.signal.removeEventListener("abort", d);
855
+ o?.removeEventListener("abort", u), s?.lifetime.signal.removeEventListener("abort", d);
856
856
  }
857
857
  }
858
858
  function be(e) {
859
- let t = v();
859
+ let t = _();
860
860
  if (!t || e.length === 0) return Promise.resolve();
861
- let n = e.map(({ blockId: e, alt: t, decorative: n, expect: i }) => ({
861
+ let r = e.map(({ blockId: e, alt: t, decorative: r, expect: i }) => ({
862
862
  op: "updateBlock",
863
863
  blockId: e,
864
- expect: { ...i ?? dn(r.content.value, e) ?? {
864
+ expect: { ...i ?? dn(n.content.value, e) ?? {
865
865
  src: null,
866
866
  alt: null,
867
867
  decorative: null
868
868
  } },
869
869
  set: {
870
870
  alt: t,
871
- decorative: n
871
+ decorative: r
872
872
  }
873
873
  }));
874
874
  return N("replay", t, async (e) => {
875
875
  try {
876
876
  F(e);
877
- let r = crypto.randomUUID();
878
- for (let i = 0; i < n.length; i += 100) {
877
+ let n = crypto.randomUUID();
878
+ for (let i = 0; i < r.length; i += 100) {
879
879
  F(e);
880
- let a = K(n.slice(i, i + 100), r, t);
880
+ let a = G(r.slice(i, i + 100), n, t);
881
881
  if (!a.applied) throw new ae(a.message, {
882
882
  code: a.code,
883
883
  opIndex: a.opIndex
884
884
  });
885
885
  }
886
886
  } catch (e) {
887
- throw V(e), e;
887
+ throw B(e), e;
888
888
  }
889
889
  }, () => {});
890
890
  }
891
891
  return {
892
892
  capability: {
893
- isFeatureEnabled: (e) => g.value && _(e),
893
+ isFeatureEnabled: (e) => m.value && g(e),
894
894
  open: de,
895
895
  startImport: pe,
896
- highlightOf: (e) => m.value?.highlights.value.get(e) ?? null
896
+ highlightOf: (e) => p.value?.highlights.value.get(e) ?? null
897
897
  },
898
- panel: s,
898
+ panel: o,
899
899
  open: de,
900
900
  close: _e,
901
- has: _,
902
- templateId: p,
903
- sessionIdentity: j(() => m.value),
904
- templateSession: j(() => r.loadVersion?.value ?? p.value),
905
- isAvailable: g,
906
- hasConversation: a !== null,
907
- canClear: a === null || typeof a.clear == "function",
908
- messages: x,
901
+ has: g,
902
+ templateId: f,
903
+ sessionIdentity: A(() => p.value),
904
+ templateSession: A(() => n.loadVersion?.value ?? f.value),
905
+ isAvailable: m,
906
+ hasConversation: i !== null,
907
+ canClear: i === null || typeof i.clear == "function",
908
+ messages: b,
909
909
  isLoadingHistory: C,
910
910
  isRunning: w,
911
911
  busy: w,
912
912
  failure: T,
913
913
  keptYourVersion: E,
914
914
  reloadTemplate: () => {
915
- let e = v();
916
- return e ? N("reconcile", e, (e) => R(e), () => {}) : Promise.resolve();
915
+ let e = _();
916
+ return e ? N("reconcile", e, (e) => L(e), () => {}) : Promise.resolve();
917
917
  },
918
918
  failedPrompt: D,
919
- failedAttachments: k,
920
- importQueue: A,
919
+ failedAttachments: O,
920
+ importQueue: ee,
921
921
  startImport: pe,
922
- isTemplateEmpty: S,
923
- send: (e, t = []) => {
924
- let r = n.chat;
925
- return typeof r == "function" ? ie("chat", e, (n, i, a) => r({
926
- ...n,
922
+ isTemplateEmpty: x,
923
+ send: (e, n = []) => {
924
+ let r = t.chat;
925
+ return typeof r == "function" ? X("chat", e, (t, i, a) => r({
926
+ ...t,
927
927
  message: e,
928
- selectedBlockId: G(),
929
- attachments: t.map((e) => ({
928
+ selectedBlockId: W(),
929
+ attachments: n.map((e) => ({
930
930
  file: e,
931
931
  name: e.name,
932
932
  kind: e.type === "application/pdf" ? "pdf" : "image"
933
933
  }))
934
- }, i, a), t) : Promise.resolve({
934
+ }, i, a), n) : Promise.resolve({
935
935
  messageId: null,
936
936
  operationCount: 0,
937
937
  text: "",
@@ -939,9 +939,9 @@ function Un(t) {
939
939
  });
940
940
  },
941
941
  fix: (e) => {
942
- let t = n.fixFinding;
943
- return typeof t == "function" ? ie("fix", `Fix: ${e.message}`, (n, r, i) => t({
944
- ...n,
942
+ let n = t.fixFinding;
943
+ return typeof n == "function" ? X("fix", `Fix: ${e.message}`, (t, r, i) => n({
944
+ ...t,
945
945
  finding: e
946
946
  }, r, i)) : Promise.resolve({
947
947
  messageId: null,
@@ -954,20 +954,20 @@ function Un(t) {
954
954
  newChat: le,
955
955
  undoMessage: (e) => Z(e, "undo"),
956
956
  redoMessage: (e) => Z(e, "redo"),
957
- rewrite: (e, t, r) => {
958
- let i = v(), a = n.rewrite;
959
- return !i || typeof a != "function" ? Promise.reject(/* @__PURE__ */ Error("Rewrite isn't available.")) : N("read", i, async (n) => {
960
- let o = () => n.controller.abort(r.reason);
957
+ rewrite: (e, n, r) => {
958
+ let i = _(), a = t.rewrite;
959
+ return !i || typeof a != "function" ? Promise.reject(/* @__PURE__ */ Error("Rewrite isn't available.")) : N("read", i, async (t) => {
960
+ let o = () => t.controller.abort(r.reason);
961
961
  r.addEventListener("abort", o, { once: !0 });
962
962
  try {
963
- return r.throwIfAborted(), F(n), await L(a({
964
- ...U(i.id),
963
+ return r.throwIfAborted(), F(t), await I(a({
964
+ ...H(i.id),
965
965
  ...e
966
966
  }, { onText: (e) => {
967
- F(n), t(e);
968
- } }, n.controller.signal), n.controller.signal);
967
+ F(t), n(e);
968
+ } }, t.controller.signal), t.controller.signal);
969
969
  } catch (e) {
970
- throw V(e), e;
970
+ throw B(e), e;
971
971
  } finally {
972
972
  r.removeEventListener("abort", o);
973
973
  }
@@ -978,10 +978,10 @@ function Un(t) {
978
978
  draftAltText: ye,
979
979
  applyAltTexts: be,
980
980
  destroy: () => {
981
- if (l) return;
982
- l = !0;
983
- let e = m.value;
984
- e && he(e), m.value = null;
981
+ if (c) return;
982
+ c = !0;
983
+ let e = p.value;
984
+ e && he(e), p.value = null;
985
985
  for (let e of ve) e();
986
986
  ve.length = 0;
987
987
  }
@@ -1033,54 +1033,54 @@ function Yn(e, t, n) {
1033
1033
  let i = e.mimeTypes;
1034
1034
  return !i || (n && n.length > 0 ? n : Object.keys(i)).some((e) => i[e]?.includes(t.type) ?? !1) ? null : /* @__PURE__ */ Error(`Unsupported image type: ${t.type || "unknown"}.`);
1035
1035
  }
1036
- function Xn(t) {
1037
- let { provider: n, onRequestMedia: r, getTemplateId: i, onError: a } = t, o = e(!1), s = e(void 0), c = j(() => i?.()), l = j(() => !!r || typeof n?.create == "function"), u = null;
1038
- function d(e) {
1039
- o.value = !1, u?.(e), u = null;
1036
+ function Xn(e) {
1037
+ let { provider: t, onRequestMedia: n, getTemplateId: r, onError: i } = e, a = S(!1), o = S(void 0), s = A(() => r?.()), c = A(() => !!n || typeof t?.create == "function"), l = null;
1038
+ function u(e) {
1039
+ a.value = !1, l?.(e), l = null;
1040
1040
  }
1041
- function f(e) {
1042
- d(Zn(e));
1041
+ function d(e) {
1042
+ u(Zn(e));
1043
1043
  }
1044
- function p() {
1045
- d(null);
1044
+ function f() {
1045
+ u(null);
1046
1046
  }
1047
1047
  return _(() => {
1048
- u && d(null);
1048
+ l && u(null);
1049
1049
  }), {
1050
- requestMedia: r || n ? async (e) => {
1051
- if (r) return r(e);
1052
- if (!n) return null;
1050
+ requestMedia: n || t ? async (e) => {
1051
+ if (n) return n(e);
1052
+ if (!t) return null;
1053
1053
  if (e?.files?.length) {
1054
- if (typeof n.create != "function") return null;
1055
- let t = e.files[0], r = Yn(n, t, e.accept);
1056
- if (r) return a?.(r), null;
1057
- let o = i?.();
1054
+ if (typeof t.create != "function") return null;
1055
+ let n = e.files[0], a = Yn(t, n, e.accept);
1056
+ if (a) return i?.(a), null;
1057
+ let o = r?.();
1058
1058
  try {
1059
- let e = await n.create({
1060
- file: t,
1059
+ let e = await t.create({
1060
+ file: n,
1061
1061
  ...o ? { templateId: o } : {}
1062
1062
  });
1063
1063
  try {
1064
- n.onCreated?.(e);
1064
+ t.onCreated?.(e);
1065
1065
  } catch (e) {
1066
- a?.(Jn(e));
1066
+ i?.(Jn(e));
1067
1067
  }
1068
1068
  return Zn(e);
1069
1069
  } catch (e) {
1070
- return a?.(Jn(e)), null;
1070
+ return i?.(Jn(e)), null;
1071
1071
  }
1072
1072
  }
1073
- return u &&= (u(null), null), s.value = e?.accept, o.value = !0, new Promise((e) => {
1074
- u = e;
1073
+ return l &&= (l(null), null), o.value = e?.accept, a.value = !0, new Promise((e) => {
1074
+ l = e;
1075
1075
  });
1076
1076
  } : null,
1077
- canDrop: l,
1078
- isModalOpen: o,
1079
- accept: s,
1080
- close: p,
1081
- select: f,
1082
- templateId: c,
1083
- onError: a
1077
+ canDrop: c,
1078
+ isModalOpen: a,
1079
+ accept: o,
1080
+ close: f,
1081
+ select: d,
1082
+ templateId: s,
1083
+ onError: i
1084
1084
  };
1085
1085
  }
1086
1086
  function Zn(e) {
@@ -1095,81 +1095,81 @@ function Zn(e) {
1095
1095
  };
1096
1096
  }
1097
1097
  // src/composables/useSavedBlocksFeature.ts
1098
- function Qn(t) {
1099
- let { provider: n, editor: r } = t, i = me({
1100
- provider: n,
1101
- onError: t.onError
1102
- }), o = e(!1), s = e(!1), c = e(!1), l = e(/* @__PURE__ */ new Set()), u = j(() => c.value), d = j(() => l.value.size);
1098
+ function Qn(e) {
1099
+ let { provider: t, editor: n } = e, r = me({
1100
+ provider: t,
1101
+ onError: e.onError
1102
+ }), a = S(!1), o = S(!1), s = S(!1), c = S(/* @__PURE__ */ new Set()), l = A(() => s.value), u = A(() => c.value.size);
1103
+ function d(e) {
1104
+ r.canCreate.value && (n.state.previewMode || (c.value = /* @__PURE__ */ new Set([e]), s.value = !0));
1105
+ }
1103
1106
  function f(e) {
1104
- i.canCreate.value && (r.state.previewMode || (l.value = /* @__PURE__ */ new Set([e]), c.value = !0));
1107
+ if (!s.value) return;
1108
+ let t = new Set(c.value);
1109
+ t.has(e) ? t.delete(e) : t.add(e), c.value = t;
1105
1110
  }
1106
1111
  function p(e) {
1107
- if (!c.value) return;
1108
- let t = new Set(l.value);
1109
- t.has(e) ? t.delete(e) : t.add(e), l.value = t;
1112
+ return c.value.has(e);
1110
1113
  }
1111
- function m(e) {
1112
- return l.value.has(e);
1114
+ function m() {
1115
+ s.value = !1, c.value = /* @__PURE__ */ new Set();
1113
1116
  }
1114
1117
  function g() {
1115
- c.value = !1, l.value = /* @__PURE__ */ new Set();
1118
+ u.value !== 0 && (s.value = !1, a.value = !0, x());
1116
1119
  }
1117
1120
  function _() {
1118
- d.value !== 0 && (c.value = !1, o.value = !0, S());
1121
+ a.value = !1, c.value = /* @__PURE__ */ new Set();
1119
1122
  }
1123
+ h(() => n.state.previewMode, (e) => {
1124
+ e && s.value && m();
1125
+ });
1120
1126
  function v() {
1121
- o.value = !1, l.value = /* @__PURE__ */ new Set();
1127
+ o.value = !0, x();
1122
1128
  }
1123
- h(() => r.state.previewMode, (e) => {
1124
- e && c.value && g();
1125
- });
1126
1129
  function y() {
1127
- s.value = !0, S();
1128
- }
1129
- function b() {
1130
- s.value = !1;
1131
- }
1132
- function x(e, t) {
1133
- for (let n = 0; n < e.content.length; n++) {
1134
- let i = J(e.content[n]), a = t === void 0 ? void 0 : t + n;
1135
- r.addBlock(i, void 0, void 0, a);
1136
- }
1137
- s.value = !1;
1138
- }
1139
- function S() {
1140
- i.load().catch(() => {});
1141
- }
1142
- let C = j(() => i.savedBlocks.value.length), w = j(() => t.isAvailable?.() ?? !0);
1143
- return a(ht, i), {
1144
- headless: i,
1145
- isPicking: u,
1146
- pickedIds: l,
1147
- pickedCount: d,
1148
- startPicking: f,
1149
- togglePick: p,
1150
- isPicked: m,
1151
- confirmPicking: _,
1152
- cancelPicking: g,
1153
- isSaveDialogOpen: o,
1154
- closeSaveDialog: v,
1155
- isBrowserOpen: s,
1156
- openBrowser: y,
1157
- closeBrowser: b,
1158
- insert: x,
1159
- refresh: S,
1130
+ o.value = !1;
1131
+ }
1132
+ function b(e, t) {
1133
+ for (let r = 0; r < e.content.length; r++) {
1134
+ let i = q(e.content[r]), a = t === void 0 ? void 0 : t + r;
1135
+ n.addBlock(i, void 0, void 0, a);
1136
+ }
1137
+ o.value = !1;
1138
+ }
1139
+ function x() {
1140
+ r.load().catch(() => {});
1141
+ }
1142
+ let C = A(() => r.savedBlocks.value.length), w = A(() => e.isAvailable?.() ?? !0);
1143
+ return i(ht, r), {
1144
+ headless: r,
1145
+ isPicking: l,
1146
+ pickedIds: c,
1147
+ pickedCount: u,
1148
+ startPicking: d,
1149
+ togglePick: f,
1150
+ isPicked: p,
1151
+ confirmPicking: g,
1152
+ cancelPicking: m,
1153
+ isSaveDialogOpen: a,
1154
+ closeSaveDialog: _,
1155
+ isBrowserOpen: o,
1156
+ openBrowser: v,
1157
+ closeBrowser: y,
1158
+ insert: b,
1159
+ refresh: x,
1160
1160
  capability: {
1161
- startPicking: f,
1162
- togglePick: p,
1163
- isPicked: m,
1164
- isPicking: u,
1165
- confirmPicking: _,
1166
- cancelPicking: g,
1167
- openBrowser: y,
1161
+ startPicking: d,
1162
+ togglePick: f,
1163
+ isPicked: p,
1164
+ isPicking: l,
1165
+ confirmPicking: g,
1166
+ cancelPicking: m,
1167
+ openBrowser: v,
1168
1168
  count: C,
1169
1169
  isAvailable: w,
1170
- canCreate: i.canCreate,
1171
- canUpdate: i.canUpdate,
1172
- canDelete: i.canDelete
1170
+ canCreate: r.canCreate,
1171
+ canUpdate: r.canUpdate,
1172
+ canDelete: r.canDelete
1173
1173
  },
1174
1174
  count: C,
1175
1175
  isAvailable: w
@@ -1177,11 +1177,11 @@ function Qn(t) {
1177
1177
  }
1178
1178
  // src/composables/useTemplatesFeature.ts
1179
1179
  var $n = 3e3;
1180
- function er(t) {
1181
- let { provider: n, editor: r } = t, i = e("idle"), a = e(""), { start: o, stop: s } = Ee(() => {
1182
- i.value = "idle";
1183
- }, $n, { immediate: !1 }), c = j(() => typeof n.create == "function"), l = j(() => typeof n.save == "function"), u = j(() => t.isAvailable?.() ?? !0), d = j(() => r.state.template?.name), f = j(() => {
1184
- let e = r.state.template;
1180
+ function er(e) {
1181
+ let { provider: t, editor: n } = e, r = S("idle"), i = S(""), { start: a, stop: o } = Ee(() => {
1182
+ r.value = "idle";
1183
+ }, $n, { immediate: !1 }), s = A(() => typeof t.create == "function"), c = A(() => typeof t.save == "function"), l = A(() => e.isAvailable?.() ?? !0), u = A(() => n.state.template?.name), d = A(() => {
1184
+ let e = n.state.template;
1185
1185
  return e?.updatedAt ? {
1186
1186
  iso: e.updatedAt,
1187
1187
  kind: "updatedAt"
@@ -1189,98 +1189,98 @@ function er(t) {
1189
1189
  iso: e.createdAt,
1190
1190
  kind: "createdAt"
1191
1191
  } : null;
1192
- }), p = j(() => r.state.template !== null), m = j(() => r.state.isSaving);
1193
- function h() {
1194
- a.value = "", i.value = "saved", s(), o();
1192
+ }), f = A(() => n.state.template !== null), p = A(() => n.state.isSaving);
1193
+ function m() {
1194
+ i.value = "", r.value = "saved", o(), a();
1195
1195
  }
1196
- function g(e) {
1197
- s(), i.value = "error", a.value = e instanceof Error && e.message ? e.message : "Save failed";
1196
+ function h(e) {
1197
+ o(), r.value = "error", i.value = e instanceof Error && e.message ? e.message : "Save failed";
1198
1198
  }
1199
- async function _(e) {
1199
+ async function g(e) {
1200
1200
  try {
1201
- let t = await r.save(e);
1202
- return h(), t;
1201
+ let t = await n.save(e);
1202
+ return m(), t;
1203
1203
  } catch (e) {
1204
- throw g(e), e;
1204
+ throw h(e), e;
1205
1205
  }
1206
1206
  }
1207
- async function v(e) {
1207
+ async function _(e) {
1208
1208
  try {
1209
- let t = await r.create(e);
1210
- return s(), i.value = "idle", a.value = "", t;
1209
+ let t = await n.create(e);
1210
+ return o(), r.value = "idle", i.value = "", t;
1211
1211
  } catch (e) {
1212
- throw g(e), e;
1212
+ throw h(e), e;
1213
1213
  }
1214
1214
  }
1215
- function y(e, t) {
1216
- return s(), i.value = "idle", a.value = "", t ? r.load(e, t) : r.load(e);
1215
+ function v(e, t) {
1216
+ return o(), r.value = "idle", i.value = "", t ? n.load(e, t) : n.load(e);
1217
1217
  }
1218
- let b = !1;
1219
- function x(e) {
1220
- return _(e).then(() => {
1221
- b && (b = !1, r.state.isDirty && w());
1218
+ let y = !1;
1219
+ function b(e) {
1220
+ return g(e).then(() => {
1221
+ y && (y = !1, n.state.isDirty && w());
1222
1222
  }, () => {
1223
- b = !1;
1223
+ y = !1;
1224
1224
  });
1225
1225
  }
1226
- function S() {
1227
- return !l.value || !p.value || m.value;
1226
+ function x() {
1227
+ return !c.value || !f.value || p.value;
1228
1228
  }
1229
- function C(e = "manual") {
1230
- if (S()) return;
1231
- let n = t.getSaveGate?.();
1232
- n ? n.tryRunSave(() => x(e)) : x(e);
1229
+ function C(t = "manual") {
1230
+ if (x()) return;
1231
+ let n = e.getSaveGate?.();
1232
+ n ? n.tryRunSave(() => b(t)) : b(t);
1233
1233
  }
1234
1234
  function w() {
1235
- if (!l.value || !p.value) return;
1236
- if (m.value) {
1237
- b = !0;
1235
+ if (!c.value || !f.value) return;
1236
+ if (p.value) {
1237
+ y = !0;
1238
1238
  return;
1239
1239
  }
1240
- let e = t.getSaveGate?.();
1241
- e ? e.runUnlessBlocked(() => x("autosave")) : x("autosave");
1240
+ let t = e.getSaveGate?.();
1241
+ t ? t.runUnlessBlocked(() => b("autosave")) : b("autosave");
1242
1242
  }
1243
1243
  function T(e) {
1244
1244
  let t = e.trim();
1245
- t && t !== r.state.template?.name && (r.setName(t), C("rename"));
1245
+ t && t !== n.state.template?.name && (n.setName(t), C("rename"));
1246
1246
  }
1247
- return t.guardUnsavedChanges !== !1 && ke(window, "beforeunload", (e) => {
1248
- r.state.isDirty && (e.preventDefault(), e.returnValue = "");
1247
+ return e.guardUnsavedChanges !== !1 && ke(window, "beforeunload", (e) => {
1248
+ n.state.isDirty && (e.preventDefault(), e.returnValue = "");
1249
1249
  }), {
1250
- save: _,
1251
- create: v,
1252
- load: y,
1250
+ save: g,
1251
+ create: _,
1252
+ load: v,
1253
1253
  requestSave: C,
1254
1254
  requestAutoSave: w,
1255
1255
  rename: T,
1256
- name: d,
1257
- timestamp: f,
1258
- hasTemplate: p,
1259
- isSaving: m,
1260
- status: i,
1261
- errorMessage: a,
1262
- canCreate: c,
1263
- canSave: l,
1264
- isAvailable: u,
1256
+ name: u,
1257
+ timestamp: d,
1258
+ hasTemplate: f,
1259
+ isSaving: p,
1260
+ status: r,
1261
+ errorMessage: i,
1262
+ canCreate: s,
1263
+ canSave: c,
1264
+ isAvailable: l,
1265
1265
  capability: {
1266
1266
  save: C,
1267
1267
  rename: T,
1268
- name: d,
1269
- timestamp: f,
1270
- hasTemplate: p,
1271
- isSaving: m,
1272
- status: i,
1273
- errorMessage: a,
1274
- canCreate: c,
1275
- canSave: l,
1276
- isAvailable: u
1268
+ name: u,
1269
+ timestamp: d,
1270
+ hasTemplate: f,
1271
+ isSaving: p,
1272
+ status: r,
1273
+ errorMessage: i,
1274
+ canCreate: s,
1275
+ canSave: c,
1276
+ isAvailable: l
1277
1277
  }
1278
1278
  };
1279
1279
  }
1280
1280
  // src/utils/toMjml.ts
1281
1281
  async function tr() {
1282
1282
  try {
1283
- return await import("./chunks/src-CUH_EI7k.js");
1283
+ return await import("./chunks/src-C7bkofBL.js");
1284
1284
  } catch {
1285
1285
  return null;
1286
1286
  }
@@ -1305,175 +1305,175 @@ var rr = 1200;
1305
1305
  function ir(e) {
1306
1306
  return e instanceof Error ? e : Error(String(e));
1307
1307
  }
1308
- function ar(t) {
1309
- let { provider: n } = t, r = e(!1), i = e(!1), a = e(!1), o = e(null), s = null, c = !1;
1310
- function l() {
1311
- s !== null && (clearTimeout(s), s = null);
1312
- }
1313
- _(l);
1314
- let u = j(() => n.allowedRecipients), d = j(() => {
1315
- let e = n.defaultRecipient;
1308
+ function ar(e) {
1309
+ let { provider: t } = e, n = S(!1), r = S(!1), i = S(!1), a = S(null), o = null, s = !1;
1310
+ function c() {
1311
+ o !== null && (clearTimeout(o), o = null);
1312
+ }
1313
+ _(c);
1314
+ let l = A(() => t.allowedRecipients), u = A(() => {
1315
+ let e = t.defaultRecipient;
1316
1316
  if (e === void 0) return;
1317
- let t = u.value;
1318
- if (!t || t.includes(e)) return e;
1319
- }), f = j(() => u.value?.length === 0 ? !1 : t.isAvailable?.() ?? !0);
1320
- function p() {
1321
- f.value && (o.value = null, a.value = !1, l(), r.value = !0);
1322
- }
1323
- function m() {
1324
- l(), r.value = !1, a.value = !1;
1317
+ let n = l.value;
1318
+ if (!n || n.includes(e)) return e;
1319
+ }), d = A(() => l.value?.length === 0 ? !1 : e.isAvailable?.() ?? !0);
1320
+ function f() {
1321
+ d.value && (a.value = null, i.value = !1, c(), n.value = !0);
1325
1322
  }
1326
- async function h() {
1327
- if (n.includeMjml && t.renderMjml) try {
1328
- return await t.renderMjml();
1329
- } catch (e) {
1330
- if ((t.usesLocalRenderer?.() ?? !0) && await tr() === null) {
1331
- c || (c = !0, jt.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
1323
+ function p() {
1324
+ c(), n.value = !1, i.value = !1;
1325
+ }
1326
+ async function m() {
1327
+ if (t.includeMjml && e.renderMjml) try {
1328
+ return await e.renderMjml();
1329
+ } catch (t) {
1330
+ if ((e.usesLocalRenderer?.() ?? !0) && await tr() === null) {
1331
+ s || (s = !0, jt.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
1332
1332
  return;
1333
1333
  }
1334
- throw e;
1334
+ throw t;
1335
1335
  }
1336
1336
  }
1337
- function g(e) {
1337
+ function h(n) {
1338
1338
  try {
1339
- n.onSent?.(e);
1340
- } catch (e) {
1341
- t.onError?.(ir(e));
1339
+ t.onSent?.(n);
1340
+ } catch (t) {
1341
+ e.onError?.(ir(t));
1342
1342
  }
1343
1343
  }
1344
- async function v(e) {
1345
- if (i.value) return;
1346
- let r = u.value;
1347
- if (r && !r.includes(e)) o.value = { kind: "recipientNotAllowed" };
1344
+ async function g(n) {
1345
+ if (r.value) return;
1346
+ let s = l.value;
1347
+ if (s && !s.includes(n)) a.value = { kind: "recipientNotAllowed" };
1348
1348
  else {
1349
- i.value = !0, o.value = null;
1349
+ r.value = !0, a.value = null;
1350
1350
  try {
1351
- let i = await h(), o = {
1352
- recipient: e,
1353
- content: t.getContent(),
1354
- ...i === void 0 ? {} : { mjml: i },
1355
- ...r === void 0 ? {} : { allowedRecipients: r }
1351
+ let r = await m(), a = {
1352
+ recipient: n,
1353
+ content: e.getContent(),
1354
+ ...r === void 0 ? {} : { mjml: r },
1355
+ ...s === void 0 ? {} : { allowedRecipients: s }
1356
1356
  };
1357
- await n.send(o), a.value = !0, s = setTimeout(m, rr), g(o);
1358
- } catch (e) {
1359
- let n = ir(e);
1360
- o.value = {
1357
+ await t.send(a), i.value = !0, o = setTimeout(p, rr), h(a);
1358
+ } catch (t) {
1359
+ let n = ir(t);
1360
+ a.value = {
1361
1361
  kind: "provider",
1362
1362
  message: n.message
1363
- }, t.onError?.(n);
1363
+ }, e.onError?.(n);
1364
1364
  } finally {
1365
- i.value = !1;
1365
+ r.value = !1;
1366
1366
  }
1367
1367
  }
1368
1368
  }
1369
1369
  return {
1370
- isModalOpen: r,
1371
- open: p,
1372
- close: m,
1373
- isSending: i,
1374
- justSent: a,
1375
- error: o,
1376
- send: v,
1377
- allowedRecipients: u,
1378
- defaultRecipient: d,
1379
- isAvailable: f,
1370
+ isModalOpen: n,
1371
+ open: f,
1372
+ close: p,
1373
+ isSending: r,
1374
+ justSent: i,
1375
+ error: a,
1376
+ send: g,
1377
+ allowedRecipients: l,
1378
+ defaultRecipient: u,
1379
+ isAvailable: d,
1380
1380
  capability: {
1381
- open: p,
1382
- isAvailable: f
1381
+ open: f,
1382
+ isAvailable: d
1383
1383
  }
1384
1384
  };
1385
1385
  }
1386
1386
  // src/composables/useVersionHistoryFeature.ts
1387
- function or(t) {
1388
- let { provider: n, editor: r, history: i, conditionPreview: a, autoSave: o } = t, s = t.collaboration ?? null, c = he({
1389
- provider: n,
1390
- getTemplateId: () => r.state.template?.id ?? null,
1391
- onError: t.onError
1392
- }), l = e(null), u = e(null), d = e(!1), f = e(!1), p = !1;
1387
+ function or(e) {
1388
+ let { provider: t, editor: n, history: r, conditionPreview: i, autoSave: a } = e, o = e.collaboration ?? null, s = he({
1389
+ provider: t,
1390
+ getTemplateId: () => n.state.template?.id ?? null,
1391
+ onError: e.onError
1392
+ }), c = S(null), l = S(null), u = S(!1), d = S(!1), f = !1;
1393
1393
  _(() => {
1394
- p = !0;
1394
+ f = !0;
1395
1395
  });
1396
- let m = j(() => c.versions.value), h = j(() => c.isLoading.value), g = j(() => c.isRestoring.value), v = c.canCreate, y = c.canRestore, b = j(() => !!r.state.template?.id), x = j(() => t.isAvailable?.() ?? !0), S = j(() => l.value !== null), C = j(() => t.saveBeforeRestore?.canSave() === !0), w = j(() => f.value || g.value);
1396
+ let p = A(() => s.versions.value), m = A(() => s.isLoading.value), h = A(() => s.isRestoring.value), g = s.canCreate, v = s.canRestore, y = A(() => !!n.state.template?.id), b = A(() => e.isAvailable?.() ?? !0), x = A(() => c.value !== null), C = A(() => e.saveBeforeRestore?.canSave() === !0), w = A(() => d.value || h.value);
1397
1397
  function T() {
1398
- b.value && c.load().catch(() => {});
1398
+ y.value && s.load().catch(() => {});
1399
1399
  }
1400
1400
  async function E(e) {
1401
- if (p) return;
1402
- if (d.value = !1, l.value) {
1403
- let t = c.peekContent(e);
1401
+ if (f) return;
1402
+ if (u.value = !1, c.value) {
1403
+ let t = s.peekContent(e);
1404
1404
  if (t) {
1405
- l.value = e, r.setContent(t, !1);
1405
+ c.value = e, n.setContent(t, !1);
1406
1406
  return;
1407
1407
  }
1408
- let n = await c.resolveContent(e);
1409
- if (p) return;
1410
- l.value = e, r.setContent(n, !1);
1408
+ let r = await s.resolveContent(e);
1409
+ if (f) return;
1410
+ c.value = e, n.setContent(r, !1);
1411
1411
  return;
1412
1412
  }
1413
- let t = await c.resolveContent(e);
1414
- p || (u.value = X(r.content.value), o?.pause(), s?.suspend(), l.value = e, r.setContent(t, !1));
1413
+ let t = await s.resolveContent(e);
1414
+ f || (l.value = Y(n.content.value), a?.pause(), o?.suspend(), c.value = e, n.setContent(t, !1));
1415
1415
  }
1416
1416
  async function D() {
1417
- l.value && (r.state.isDirty ? d.value = !0 : await M());
1417
+ c.value && (n.state.isDirty ? u.value = !0 : await j());
1418
1418
  }
1419
1419
  async function O() {
1420
- let e = l.value, n = u.value, i = t.saveBeforeRestore;
1421
- if (e && n && i?.canSave() && !w.value) {
1422
- r.setContent(n, !1), f.value = !0;
1420
+ let t = c.value, r = l.value, i = e.saveBeforeRestore;
1421
+ if (t && r && i?.canSave() && !w.value) {
1422
+ n.setContent(r, !1), d.value = !0;
1423
1423
  try {
1424
1424
  await i.save();
1425
1425
  } catch {
1426
- if (p) return;
1427
- let t = c.peekContent(e);
1428
- t && r.setContent(t, !1);
1426
+ if (f) return;
1427
+ let e = s.peekContent(t);
1428
+ e && n.setContent(e, !1);
1429
1429
  return;
1430
1430
  } finally {
1431
- p || (f.value = !1);
1431
+ f || (d.value = !1);
1432
1432
  }
1433
- p || await M();
1433
+ f || await j();
1434
1434
  }
1435
1435
  }
1436
1436
  async function k() {
1437
- w.value || await M();
1438
- }
1439
- function A() {
1440
- d.value = !1;
1441
- }
1442
- async function M() {
1443
- if (l.value) try {
1444
- let e = await c.restore(l.value.id);
1445
- if (p) return;
1446
- if (s) {
1447
- if (await s.catchUp(), p) return;
1448
- i.clear(), a.reset();
1449
- } else N(e.content);
1450
- if (await c.load(), p) return;
1437
+ w.value || await j();
1438
+ }
1439
+ function ee() {
1440
+ u.value = !1;
1441
+ }
1442
+ async function j() {
1443
+ if (c.value) try {
1444
+ let e = await s.restore(c.value.id);
1445
+ if (f) return;
1446
+ if (o) {
1447
+ if (await o.catchUp(), f) return;
1448
+ r.clear(), i.reset();
1449
+ } else M(e.content);
1450
+ if (await s.load(), f) return;
1451
1451
  } catch (e) {
1452
- !p && u.value && r.setContent(u.value, !1);
1452
+ !f && l.value && n.setContent(l.value, !1);
1453
1453
  let t = e;
1454
- throw s && t?.code === "locked_by_others" && s.reportReplaceRefused(Array.isArray(t.holders) ? t.holders : []), e;
1454
+ throw o && t?.code === "locked_by_others" && o.reportReplaceRefused(Array.isArray(t.holders) ? t.holders : []), e;
1455
1455
  } finally {
1456
- p || (l.value = null, u.value = null, d.value = !1, o?.resume(), s?.resume());
1456
+ f || (c.value = null, l.value = null, u.value = !1, a?.resume(), o?.resume());
1457
1457
  }
1458
1458
  }
1459
- function N(e) {
1460
- r.setContent(e, !1), i.clear(), a.reset();
1459
+ function M(e) {
1460
+ n.setContent(e, !1), r.clear(), i.reset();
1461
1461
  }
1462
- function P() {
1463
- l.value && u.value && (r.setContent(u.value, !1), l.value = null, u.value = null, d.value = !1, o?.resume(), s?.resume());
1462
+ function N() {
1463
+ c.value && l.value && (n.setContent(l.value, !1), c.value = null, l.value = null, u.value = !1, a?.resume(), o?.resume());
1464
1464
  }
1465
1465
  return {
1466
- headless: c,
1467
- versions: m,
1468
- isLoading: h,
1469
- isRestoring: g,
1470
- canCreate: v,
1471
- canRestore: y,
1472
- hasTemplate: b,
1473
- isAvailable: x,
1474
- previewingVersion: l,
1475
- isPreviewing: S,
1476
- isConfirmingRestore: d,
1466
+ headless: s,
1467
+ versions: p,
1468
+ isLoading: m,
1469
+ isRestoring: h,
1470
+ canCreate: g,
1471
+ canRestore: v,
1472
+ hasTemplate: y,
1473
+ isAvailable: b,
1474
+ previewingVersion: c,
1475
+ isPreviewing: x,
1476
+ isConfirmingRestore: u,
1477
1477
  canSaveBeforeRestore: C,
1478
1478
  isConfirmBusy: w,
1479
1479
  refresh: T,
@@ -1481,16 +1481,16 @@ function or(t) {
1481
1481
  requestRestore: D,
1482
1482
  saveAndRestore: O,
1483
1483
  discardAndRestore: k,
1484
- cancelRestoreConfirm: A,
1485
- confirmRestore: M,
1486
- cancelPreview: P,
1484
+ cancelRestoreConfirm: ee,
1485
+ confirmRestore: j,
1486
+ cancelPreview: N,
1487
1487
  capability: {
1488
1488
  refresh: T,
1489
- isPreviewing: S,
1490
- hasTemplate: b,
1491
- isAvailable: x,
1492
- canCreate: v,
1493
- canRestore: y
1489
+ isPreviewing: x,
1490
+ hasTemplate: y,
1491
+ isAvailable: b,
1492
+ canCreate: g,
1493
+ canRestore: v
1494
1494
  }
1495
1495
  };
1496
1496
  }
@@ -1569,7 +1569,7 @@ var fr = ["aria-label"], pr = ["lang", "dir"], mr = {
1569
1569
  }, Sr = {
1570
1570
  key: 1,
1571
1571
  class: "tpl:m-0 tpl:mt-4 tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-center tpl:gap-x-1 tpl:gap-y-0.5 tpl:text-sm tpl:text-[var(--tpl-text-dim)]"
1572
- }, Cr = { class: "tpl:relative" }, wr = /*#__PURE__*/ nn(/* @__PURE__ */ r({
1572
+ }, Cr = { class: "tpl:relative" }, wr = /*#__PURE__*/ nn(/* @__PURE__ */ n({
1573
1573
  __name: "Canvas",
1574
1574
  props: {
1575
1575
  viewport: {},
@@ -1579,8 +1579,8 @@ var fr = ["aria-label"], pr = ["lang", "dir"], mr = {
1579
1579
  previewMode: { type: Boolean }
1580
1580
  },
1581
1581
  emits: ["select-block"],
1582
- setup(t, { emit: n }) {
1583
- let r = {
1582
+ setup(e, { emit: t }) {
1583
+ let n = {
1584
1584
  section: Qe,
1585
1585
  title: Ye,
1586
1586
  paragraph: Ue,
@@ -1595,17 +1595,17 @@ var fr = ["aria-label"], pr = ["lang", "dir"], mr = {
1595
1595
  video: Ze,
1596
1596
  custom: Ge,
1597
1597
  wrapper: xn
1598
- }, s = t, c = n, { t: l } = $(), u = at(bt, "Canvas"), f = at(kt, "Canvas"), p = i(yt, null), h = i(Dt, null), _ = i(xt, {}), b = i(dt, null), w = i(gt, null);
1599
- a(mt, j(() => s.previewMode && (b?.value ?? !1) && !w?.isConfigured));
1600
- let D = j(() => _.ai?.isFeatureEnabled("chat") ?? !1), O = j(() => D.value && (_.ai?.isFeatureEnabled("chatAttachments") ?? !1)), k = e(null);
1601
- function M() {
1598
+ }, s = e, c = t, { t: l } = $(), u = at(bt, "Canvas"), d = at(kt, "Canvas"), p = r(yt, null), m = r(Dt, null), h = r(xt, {}), _ = r(dt, null), b = r(gt, null);
1599
+ i(mt, A(() => s.previewMode && (_?.value ?? !1) && !b?.isConfigured));
1600
+ let E = A(() => h.ai?.isFeatureEnabled("chat") ?? !1), O = A(() => E.value && (h.ai?.isFeatureEnabled("chatAttachments") ?? !1)), k = S(null);
1601
+ function ee() {
1602
1602
  k.value?.click();
1603
1603
  }
1604
- function N(e) {
1604
+ function j(e) {
1605
1605
  let t = e.target, n = Array.from(t.files ?? []);
1606
- t.value = "", n.length && _.ai?.startImport(n);
1606
+ t.value = "", n.length && h.ai?.startImport(n);
1607
1607
  }
1608
- let I = i(Et, null), z = j({
1608
+ let M = r(Et, null), R = A({
1609
1609
  get: () => s.content.blocks,
1610
1610
  set: (e) => {
1611
1611
  u.setContent({
@@ -1613,81 +1613,81 @@ var fr = ["aria-label"], pr = ["lang", "dir"], mr = {
1613
1613
  blocks: e
1614
1614
  });
1615
1615
  }
1616
- }), V = j(() => ye(s.content.settings, s.viewport)), U = j(() => V.value + 192), W = j(() => Le(s.content.settings, f.resolveFontFamily)), G = j(() => s.content.settings?.locale?.trim() || void 0), K = j(() => ee(s.content.settings)), q = j(() => z.value.length === 0 && !s.previewMode), J = e(0), Y = j(() => q.value && J.value > 0);
1617
- function X() {
1618
- q.value && (J.value += 1);
1619
- }
1620
- function te() {
1621
- q.value && (J.value = Math.max(0, J.value - 1));
1616
+ }), B = A(() => ye(s.content.settings, s.viewport)), H = A(() => B.value + 192), U = A(() => Le(s.content.settings, d.resolveFontFamily)), W = A(() => s.content.settings?.locale?.trim() || void 0), G = A(() => te(s.content.settings)), K = A(() => R.value.length === 0 && !s.previewMode), q = S(0), J = A(() => K.value && q.value > 0);
1617
+ function Y() {
1618
+ K.value && (q.value += 1);
1622
1619
  }
1623
1620
  function ne() {
1624
- J.value = 0;
1621
+ K.value && (q.value = Math.max(0, q.value - 1));
1625
1622
  }
1626
- function re(e) {
1627
- s.previewMode || _.savedBlocks?.isPicking.value || e.target === e.currentTarget && c("select-block", null);
1623
+ function re() {
1624
+ q.value = 0;
1628
1625
  }
1629
1626
  function ie(e) {
1630
- return Ae(e, h, r);
1627
+ s.previewMode || h.savedBlocks?.isPicking.value || e.target === e.currentTarget && c("select-block", null);
1628
+ }
1629
+ function X(e) {
1630
+ return Ae(e, m, n);
1631
1631
  }
1632
1632
  function Z(e) {
1633
- return _.collaboration?.lockOf(e) != null;
1633
+ return h.collaboration?.lockOf(e) != null;
1634
1634
  }
1635
1635
  function ae(e) {
1636
1636
  if (s.previewMode || Z(e)) return;
1637
- let t = _.savedBlocks;
1637
+ let t = h.savedBlocks;
1638
1638
  t?.isPicking.value ? t.togglePick(e) : c("select-block", e);
1639
1639
  }
1640
1640
  function oe(e) {
1641
- return _.savedBlocks?.isPicked(e) ?? !1;
1641
+ return h.savedBlocks?.isPicked(e) ?? !1;
1642
1642
  }
1643
- let Q = j(() => _.savedBlocks?.isPicking.value === !0);
1643
+ let Q = A(() => h.savedBlocks?.isPicking.value === !0);
1644
1644
  function se(e, t) {
1645
1645
  e.type === "custom" && u.updateBlock(e.id, {
1646
1646
  fieldValues: t.fieldValues,
1647
1647
  dataSourceFetched: t.dataSourceFetched
1648
1648
  });
1649
1649
  }
1650
- return (e, n) => (d(), v("div", {
1650
+ return (t, n) => (f(), v("div", {
1651
1651
  class: "tpl-canvas-stage tpl:relative tpl:mx-auto tpl:flex tpl:justify-center tpl:rounded-lg",
1652
- style: R({
1653
- width: `${U.value}px`,
1652
+ style: x({
1653
+ width: `${H.value}px`,
1654
1654
  maxWidth: "calc(100% - 4 * var(--tpl-base-size))",
1655
1655
  minWidth: "min-content",
1656
- boxShadow: t.darkMode ? "none" : "var(--tpl-shadow-xl)",
1657
- transition: A(Ce)
1656
+ boxShadow: e.darkMode ? "none" : "var(--tpl-shadow-xl)",
1657
+ transition: P(Ce)
1658
1658
  })
1659
- }, [E("div", {
1659
+ }, [D("div", {
1660
1660
  class: "tpl-canvas-bg tpl:absolute tpl:inset-0 tpl:rounded-lg tpl:pointer-events-none",
1661
- style: R({
1662
- backgroundColor: t.content.settings.backgroundColor,
1663
- ...t.darkMode ? { filter: "invert(1) hue-rotate(180deg)" } : {},
1661
+ style: x({
1662
+ backgroundColor: e.content.settings.backgroundColor,
1663
+ ...e.darkMode ? { filter: "invert(1) hue-rotate(180deg)" } : {},
1664
1664
  transition: "filter 300ms ease"
1665
1665
  })
1666
- }, null, 4), E("div", {
1666
+ }, null, 4), D("div", {
1667
1667
  "data-testid": "canvas-wrapper",
1668
1668
  role: "region",
1669
- "aria-label": A(l).landmarks.canvas,
1669
+ "aria-label": P(l).landmarks.canvas,
1670
1670
  class: "tpl-canvas-wrapper tpl:relative",
1671
- style: R({
1672
- width: `${V.value}px`,
1673
- transition: A(Ce)
1671
+ style: x({
1672
+ width: `${B.value}px`,
1673
+ transition: P(Ce)
1674
1674
  })
1675
- }, [E("div", {
1676
- class: T(["tpl-canvas tpl:relative tpl:rounded-lg", {
1677
- "tpl-canvas--dark-mode": t.darkMode,
1678
- "tpl-preview-mode": t.previewMode
1675
+ }, [D("div", {
1676
+ class: L(["tpl-canvas tpl:relative tpl:rounded-lg", {
1677
+ "tpl-canvas--dark-mode": e.darkMode,
1678
+ "tpl-preview-mode": e.previewMode
1679
1679
  }]),
1680
- lang: G.value,
1681
- dir: K.value,
1682
- style: R(W.value),
1683
- onClick: re
1684
- }, [A(w)?.isInitialResolve.value ? (d(), v("div", mr, [E("span", hr, x(A(l).previewResolution.resolving), 1), (d(), v(L, null, o(3, (e) => E("div", {
1680
+ lang: W.value,
1681
+ dir: G.value,
1682
+ style: x(U.value),
1683
+ onClick: ie
1684
+ }, [P(b)?.isInitialResolve.value ? (f(), v("div", mr, [D("span", hr, C(P(l).previewResolution.resolving), 1), (f(), v(I, null, o(3, (e) => D("div", {
1685
1685
  key: e,
1686
1686
  "aria-hidden": "true",
1687
1687
  class: "tpl-pulse tpl:h-16 tpl:rounded-md tpl:bg-[var(--tpl-bg-hover)]"
1688
- })), 64))])) : A(w)?.hasFailed.value ? (d(), v("p", gr, x(A(l).previewResolution.failed), 1)) : S("", !0), g(B(A(F), {
1689
- modelValue: z.value,
1690
- "onUpdate:modelValue": n[1] ||= (e) => z.value = e,
1688
+ })), 64))])) : P(b)?.hasFailed.value ? (f(), v("p", gr, C(P(l).previewResolution.failed), 1)) : w("", !0), a(z(P(F), {
1689
+ modelValue: R.value,
1690
+ "onUpdate:modelValue": n[1] ||= (e) => R.value = e,
1691
1691
  group: "blocks",
1692
1692
  animation: 150,
1693
1693
  "ghost-class": "tpl-ghost",
@@ -1695,83 +1695,83 @@ var fr = ["aria-label"], pr = ["lang", "dir"], mr = {
1695
1695
  handle: ".tpl-block-btn",
1696
1696
  "invert-swap": !0,
1697
1697
  "inverted-swap-threshold": .65,
1698
- disabled: t.previewMode,
1698
+ disabled: e.previewMode,
1699
1699
  draggable: ">:not(.tpl-canvas-empty-content)",
1700
1700
  "force-fallback": !0,
1701
- class: T([
1701
+ class: L([
1702
1702
  "tpl-canvas-blocks",
1703
- q.value ? "tpl-canvas-empty tpl:m-6 tpl:flex tpl:min-h-[400px] tpl:flex-col tpl:items-center tpl:justify-center tpl:rounded-xl tpl:border-2 tpl:border-dashed tpl:px-10 tpl:py-12 tpl:text-center tpl:bg-[var(--tpl-bg-elevated)] tpl:font-[var(--tpl-font-family)] tpl:transition-colors" : "",
1704
- q.value && Y.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
1705
- q.value && !Y.value ? "tpl:border-[var(--tpl-primary)]" : ""
1703
+ K.value ? "tpl-canvas-empty tpl:m-6 tpl:flex tpl:min-h-[400px] tpl:flex-col tpl:items-center tpl:justify-center tpl:rounded-xl tpl:border-2 tpl:border-dashed tpl:px-10 tpl:py-12 tpl:text-center tpl:bg-[var(--tpl-bg-elevated)] tpl:font-[var(--tpl-font-family)] tpl:transition-colors" : "",
1704
+ K.value && J.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
1705
+ K.value && !J.value ? "tpl:border-[var(--tpl-primary)]" : ""
1706
1706
  ]),
1707
- onDragenter: X,
1708
- onDragleave: te,
1709
- onDrop: ne
1707
+ onDragenter: Y,
1708
+ onDragleave: ne,
1709
+ onDrop: re
1710
1710
  }, {
1711
- default: m(() => [q.value ? (d(), v("div", _r, [
1712
- E("div", vr, [B(A(Lt), {
1711
+ default: g(() => [K.value ? (f(), v("div", _r, [
1712
+ D("div", vr, [z(P(Rt), {
1713
1713
  size: 48,
1714
1714
  "stroke-width": 1
1715
1715
  })]),
1716
- E("p", yr, x(A(l).canvas.noBlocks), 1),
1717
- E("p", br, x(A(l).canvas.dragHint), 1),
1718
- D.value ? (d(), v("p", xr, [
1719
- y(x(A(l).ai.canvas.chatHint) + " ", 1),
1720
- E("button", {
1716
+ D("p", yr, C(P(l).canvas.noBlocks), 1),
1717
+ D("p", br, C(P(l).canvas.dragHint), 1),
1718
+ E.value ? (f(), v("p", xr, [
1719
+ y(C(P(l).ai.canvas.chatHint) + " ", 1),
1720
+ D("button", {
1721
1721
  type: "button",
1722
1722
  "data-testid": "canvas-ai-chat",
1723
1723
  class: "tpl:inline-flex tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:whitespace-nowrap tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-0.5 tpl:text-sm tpl:font-semibold tpl:transition-colors tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary-hover)]",
1724
- onClick: n[0] ||= (e) => A(_).ai?.open("chat")
1725
- }, [B(A(Ft), {
1724
+ onClick: n[0] ||= (e) => P(h).ai?.open("chat")
1725
+ }, [z(P(It), {
1726
1726
  size: 14,
1727
1727
  "stroke-width": 2,
1728
1728
  "aria-hidden": "true"
1729
- }), y(" " + x(A(l).ai.menu.chat), 1)]),
1730
- y(" " + x(A(l).ai.canvas.chatHintSuffix), 1)
1731
- ])) : S("", !0),
1732
- O.value ? (d(), v("p", Sr, [
1733
- y(x(A(l).ai.canvas.importHint) + " ", 1),
1734
- E("button", {
1729
+ }), y(" " + C(P(l).ai.menu.chat), 1)]),
1730
+ y(" " + C(P(l).ai.canvas.chatHintSuffix), 1)
1731
+ ])) : w("", !0),
1732
+ O.value ? (f(), v("p", Sr, [
1733
+ y(C(P(l).ai.canvas.importHint) + " ", 1),
1734
+ D("button", {
1735
1735
  type: "button",
1736
1736
  "data-testid": "canvas-ai-import",
1737
1737
  class: "tpl:inline-flex tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:whitespace-nowrap tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-0.5 tpl:text-sm tpl:font-semibold tpl:transition-colors tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary-hover)]",
1738
- onClick: M
1739
- }, [B(A(Jt), {
1738
+ onClick: ee
1739
+ }, [z(P($t), {
1740
1740
  size: 14,
1741
1741
  "stroke-width": 2,
1742
1742
  "aria-hidden": "true"
1743
- }), y(" " + x(A(l).ai.import.menu), 1)]),
1744
- E("input", {
1743
+ }), y(" " + C(P(l).ai.import.menu), 1)]),
1744
+ D("input", {
1745
1745
  ref_key: "importInput",
1746
1746
  ref: k,
1747
1747
  type: "file",
1748
1748
  multiple: "",
1749
1749
  accept: "image/png,image/jpeg,image/webp,image/gif,application/pdf",
1750
1750
  hidden: "",
1751
- onChange: N
1751
+ onChange: j
1752
1752
  }, null, 544)
1753
- ])) : S("", !0)
1754
- ])) : S("", !0), (d(!0), v(L, null, o(z.value, (e) => g((d(), v("div", {
1755
- key: e.id,
1753
+ ])) : w("", !0)
1754
+ ])) : w("", !0), (f(!0), v(I, null, o(R.value, (t) => a((f(), v("div", {
1755
+ key: t.id,
1756
1756
  class: "tpl-block-item"
1757
- }, [E("div", Cr, [e.type === "wrapper" ? (d(), C(H(ie(e)), {
1757
+ }, [D("div", Cr, [t.type === "wrapper" ? (f(), T(V(X(t)), {
1758
1758
  key: 0,
1759
- block: e,
1760
- viewport: t.viewport
1761
- }, null, 8, ["block", "viewport"])) : (d(), C(rt, {
1759
+ block: t,
1760
+ viewport: e.viewport
1761
+ }, null, 8, ["block", "viewport"])) : (f(), T(rt, {
1762
1762
  key: 1,
1763
- block: e,
1764
- "is-selected": !t.previewMode && !Q.value && t.selectedBlockId === e.id && !Z(e.id),
1765
- picked: oe(e.id),
1766
- viewport: t.viewport,
1767
- "preview-mode": t.previewMode,
1768
- onSelect: (t) => ae(e.id)
1763
+ block: t,
1764
+ "is-selected": !e.previewMode && !Q.value && e.selectedBlockId === t.id && !Z(t.id),
1765
+ picked: oe(t.id),
1766
+ viewport: e.viewport,
1767
+ "preview-mode": e.previewMode,
1768
+ onSelect: (e) => ae(t.id)
1769
1769
  }, {
1770
- default: m(() => [(d(), C(H(ie(e)), {
1771
- block: e,
1772
- viewport: t.viewport,
1773
- onFetchData: (t) => se(e, t),
1774
- onUpdate: (t) => A(u).updateBlock(e.id, t)
1770
+ default: g(() => [(f(), T(V(X(t)), {
1771
+ block: t,
1772
+ viewport: e.viewport,
1773
+ onFetchData: (e) => se(t, e),
1774
+ onUpdate: (e) => P(u).updateBlock(t.id, e)
1775
1775
  }, null, 40, [
1776
1776
  "block",
1777
1777
  "viewport",
@@ -1786,19 +1786,19 @@ var fr = ["aria-label"], pr = ["lang", "dir"], mr = {
1786
1786
  "viewport",
1787
1787
  "preview-mode",
1788
1788
  "onSelect"
1789
- ]))])])), [[P, A(I) === !1 || !A(p)?.isHidden(e.id)]])), 128))]),
1789
+ ]))])])), [[N, P(M) === !1 || !P(p)?.isHidden(t.id)]])), 128))]),
1790
1790
  _: 1
1791
1791
  }, 8, [
1792
1792
  "modelValue",
1793
1793
  "disabled",
1794
1794
  "class"
1795
- ]), [[P, !A(w)?.isInitialResolve.value]])], 14, pr)], 12, fr)], 4));
1795
+ ]), [[N, !P(b)?.isInitialResolve.value]])], 14, pr)], 12, fr)], 4));
1796
1796
  }
1797
- }), [["__scopeId", "data-v-b9798ef2"]]), Tr = r({
1797
+ }), [["__scopeId", "data-v-b9798ef2"]]), Tr = n({
1798
1798
  name: "CustomBlockStylesheets",
1799
1799
  setup() {
1800
- let e = i(St, null);
1801
- return () => e ? e.value.map((e, t) => p("style", {
1800
+ let e = r(St, null);
1801
+ return () => e ? e.value.map((e, t) => m("style", {
1802
1802
  key: t,
1803
1803
  "data-tpl-custom-block-stylesheet": "",
1804
1804
  innerHTML: e
@@ -1838,49 +1838,49 @@ var Dr = ["aria-label"], Or = {
1838
1838
  ], Mr = { class: "tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:transition-transform tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:scale-105" }, Nr = {
1839
1839
  key: 0,
1840
1840
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
1841
- }, Pr = 4, Fr = /* @__PURE__ */ r({
1841
+ }, Pr = 4, Fr = /* @__PURE__ */ n({
1842
1842
  __name: "Sidebar",
1843
- setup(t) {
1844
- let { t: n, format: r } = $(), a = i(wt, []), s = i(At, void 0), c = i(Ct, void 0), l = i(bt, null), u = gn(), f = i(xt, {}), p = j(() => f.savedBlocks?.isAvailable.value === !0), g = e(!1), y = e(!1), b = e(null), w = !1, T = 0;
1843
+ setup(e) {
1844
+ let { t, format: n } = $(), i = r(wt, []), a = r(At, void 0), s = r(Ct, void 0), c = r(bt, null), l = gn(), u = r(xt, {}), d = A(() => u.savedBlocks?.isAvailable.value === !0), p = S(!1), m = S(!1), y = S(null), b = !1, E = 0;
1845
1845
  _(() => {
1846
- window.clearTimeout(T);
1846
+ window.clearTimeout(E);
1847
1847
  });
1848
- function D() {
1848
+ function O() {
1849
1849
  try {
1850
- return b.value?.querySelector(":focus-visible") != null;
1850
+ return y.value?.querySelector(":focus-visible") != null;
1851
1851
  } catch {
1852
1852
  return !1;
1853
1853
  }
1854
1854
  }
1855
- function O() {
1856
- y.value || D() || (g.value = !1);
1857
- }
1858
1855
  function k() {
1859
- y.value = !0;
1856
+ m.value || O() || (p.value = !1);
1860
1857
  }
1861
- function M() {
1862
- y.value = !1;
1858
+ function ee() {
1859
+ m.value = !0;
1863
1860
  }
1864
- function N() {
1865
- w = !0, window.clearTimeout(T);
1861
+ function j() {
1862
+ m.value = !1;
1866
1863
  }
1867
- function P(e) {
1864
+ function M() {
1865
+ b = !0, window.clearTimeout(E);
1866
+ }
1867
+ function N(e) {
1868
1868
  let t = e.relatedTarget;
1869
- t instanceof Node && b.value?.contains(t) || b.value?.matches(":hover") || (g.value = !1);
1869
+ t instanceof Node && y.value?.contains(t) || y.value?.matches(":hover") || (p.value = !1);
1870
1870
  }
1871
- function I() {
1872
- b.value?.ownerDocument.dispatchEvent(new MouseEvent("click", {
1871
+ function L() {
1872
+ y.value?.ownerDocument.dispatchEvent(new MouseEvent("click", {
1873
1873
  bubbles: !0,
1874
1874
  cancelable: !0,
1875
1875
  composed: !0
1876
1876
  }));
1877
1877
  }
1878
- function z() {
1879
- y.value = !1, b.value?.matches(":hover") ? (g.value = !0, I()) : g.value = !1, window.clearTimeout(T), T = window.setTimeout(() => {
1880
- w = !1;
1878
+ function R() {
1879
+ m.value = !1, y.value?.matches(":hover") ? (p.value = !0, L()) : p.value = !1, window.clearTimeout(E), E = window.setTimeout(() => {
1880
+ b = !1;
1881
1881
  }, 0);
1882
1882
  }
1883
- let V = [
1883
+ let B = [
1884
1884
  "section",
1885
1885
  tt,
1886
1886
  "image",
@@ -1894,104 +1894,104 @@ var Dr = ["aria-label"], Or = {
1894
1894
  "table",
1895
1895
  "spacer",
1896
1896
  "html"
1897
- ], ee = j(() => {
1898
- let e = V.map((e) => ({
1897
+ ], te = A(() => {
1898
+ let e = B.map((e) => ({
1899
1899
  type: e,
1900
- label: we(e, n)
1900
+ label: we(e, t)
1901
1901
  }));
1902
- return f.plan && e.splice(-1, 0, {
1902
+ return u.plan && e.splice(-1, 0, {
1903
1903
  type: "countdown",
1904
- label: we("countdown", n)
1904
+ label: we("countdown", t)
1905
1905
  }), e;
1906
- }), U = j(() => a.map((e) => ({
1906
+ }), H = A(() => i.map((e) => ({
1907
1907
  type: `custom:${e.type}`,
1908
1908
  label: e.name,
1909
1909
  isCustom: !0,
1910
1910
  icon: e.icon
1911
- }))), W = j(() => [...ee.value, ...U.value]), G = j(() => Er(W.value, s)), q = j(() => G.value.items), J = /* @__PURE__ */ new Set();
1912
- h(() => G.value.unknown, (e) => {
1913
- for (let t of e) J.has(t) || (J.add(t), jt.warn(`config.paletteBlocks: "${t}" is not a built-in or registered custom block (use the "custom:" prefix for custom blocks) — skipping it in the palette.`));
1911
+ }))), U = A(() => [...te.value, ...H.value]), W = A(() => Er(U.value, a)), K = A(() => W.value.items), q = /* @__PURE__ */ new Set();
1912
+ h(() => W.value.unknown, (e) => {
1913
+ for (let t of e) q.has(t) || (q.add(t), jt.warn(`config.paletteBlocks: "${t}" is not a built-in or registered custom block (use the "custom:" prefix for custom blocks) — skipping it in the palette.`));
1914
1914
  }, { immediate: !0 });
1915
- function Y(e) {
1915
+ function J(e) {
1916
1916
  if (e.isCustom) {
1917
- let t = e.type.replace("custom:", ""), n = a.find((e) => e.type === t);
1918
- if (n) return K(n);
1917
+ let t = e.type.replace("custom:", ""), n = i.find((e) => e.type === t);
1918
+ if (n) return G(n);
1919
1919
  }
1920
- return e.type === "hero" ? He(c?.value, n.blockDefaults.paragraph) : te(e.type, c?.value);
1920
+ return e.type === "hero" ? He(s?.value, t.blockDefaults.paragraph) : ne(e.type, s?.value);
1921
1921
  }
1922
- function X(e) {
1923
- if (!l) return;
1924
- let t = Y(e);
1925
- ur(l, t) && u(t.id);
1922
+ function Y(e) {
1923
+ if (!c) return;
1924
+ let t = J(e);
1925
+ ur(c, t) && l(t.id);
1926
1926
  }
1927
- function ne(e) {
1928
- w || X(e);
1927
+ function re(e) {
1928
+ b || Y(e);
1929
1929
  }
1930
- function re(e, t) {
1931
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), X(t));
1930
+ function ie(e, t) {
1931
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), Y(t));
1932
1932
  }
1933
- return (e, t) => (d(), v("aside", {
1933
+ return (e, r) => (f(), v("aside", {
1934
1934
  ref_key: "railEl",
1935
- ref: b,
1936
- "aria-label": A(n).sidebarNav.palette,
1935
+ ref: y,
1936
+ "aria-label": P(t).sidebarNav.palette,
1937
1937
  class: "tpl-sidebar-rail tpl:absolute tpl:top-14 tpl:bottom-0 tpl:left-0 tpl:z-40 tpl:box-border tpl:flex tpl:flex-col tpl:overflow-hidden",
1938
- style: R({
1939
- width: g.value ? "200px" : "48px",
1938
+ style: x({
1939
+ width: p.value ? "200px" : "48px",
1940
1940
  backgroundColor: "var(--tpl-bg-elevated)",
1941
1941
  borderRight: "1px solid var(--tpl-border)",
1942
- boxShadow: g.value ? "var(--tpl-shadow-lg)" : "none",
1942
+ boxShadow: p.value ? "var(--tpl-shadow-lg)" : "none",
1943
1943
  transition: "width 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1)"
1944
1944
  }),
1945
- onMouseenter: t[1] ||= (e) => g.value = !0,
1946
- onMouseleave: O,
1947
- onFocusin: t[2] ||= (e) => g.value = !0,
1948
- onFocusout: P
1949
- }, [p.value ? (d(), v("div", Or, [E("button", {
1945
+ onMouseenter: r[1] ||= (e) => p.value = !0,
1946
+ onMouseleave: k,
1947
+ onFocusin: r[2] ||= (e) => p.value = !0,
1948
+ onFocusout: N
1949
+ }, [d.value ? (f(), v("div", Or, [D("button", {
1950
1950
  type: "button",
1951
- "aria-label": A(n).sidebarNav.browseSavedBlocks,
1951
+ "aria-label": P(t).sidebarNav.browseSavedBlocks,
1952
1952
  class: "tpl:flex tpl:h-10 tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-3 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-3 tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] tpl:hover:bg-[var(--tpl-primary-light)] tpl:hover:text-[var(--tpl-primary)]",
1953
- style: R({ justifyContent: g.value ? "flex-start" : "center" }),
1954
- onClick: t[0] ||= (e) => A(f).savedBlocks?.openBrowser()
1955
- }, [B(A(Gt), {
1953
+ style: x({ justifyContent: p.value ? "flex-start" : "center" }),
1954
+ onClick: r[0] ||= (e) => P(u).savedBlocks?.openBrowser()
1955
+ }, [z(P(Gt), {
1956
1956
  size: 20,
1957
1957
  "stroke-width": 1.5,
1958
1958
  class: "tpl:shrink-0"
1959
- }), g.value ? (d(), v("span", Ar, x(A(n).savedBlocks.title), 1)) : S("", !0)], 12, kr)])) : S("", !0), B(A(F), {
1960
- "model-value": q.value,
1959
+ }), p.value ? (f(), v("span", Ar, C(P(t).savedBlocks.title), 1)) : w("", !0)], 12, kr)])) : w("", !0), z(P(F), {
1960
+ "model-value": K.value,
1961
1961
  group: {
1962
1962
  name: "blocks",
1963
1963
  pull: "clone",
1964
1964
  put: !1
1965
1965
  },
1966
- clone: Y,
1966
+ clone: J,
1967
1967
  sort: !1,
1968
1968
  animation: 150,
1969
1969
  "force-fallback": !0,
1970
1970
  "fallback-tolerance": Pr,
1971
1971
  class: "tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl:gap-0.5 tpl:overflow-y-auto tpl:p-1",
1972
- onChoose: k,
1973
- onStart: N,
1974
- onUnchoose: M,
1975
- onEnd: z
1972
+ onChoose: ee,
1973
+ onStart: M,
1974
+ onUnchoose: j,
1975
+ onEnd: R
1976
1976
  }, {
1977
- default: m(() => [(d(!0), v(L, null, o(q.value, (e) => (d(), v("button", {
1977
+ default: g(() => [(f(!0), v(I, null, o(K.value, (e) => (f(), v("button", {
1978
1978
  key: e.type,
1979
1979
  type: "button",
1980
1980
  "data-palette-type": e.type,
1981
- "aria-label": A(r)(A(n).sidebarNav.insertBlock, { block: e.label }),
1981
+ "aria-label": P(n)(P(t).sidebarNav.insertBlock, { block: e.label }),
1982
1982
  class: "tpl:flex tpl:h-10 tpl:w-full tpl:shrink-0 tpl:cursor-grab tpl:items-center tpl:gap-3 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-3 tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-primary-light)] tpl:hover:text-[var(--tpl-primary)] tpl:active:cursor-grabbing",
1983
- style: R({ justifyContent: g.value ? "flex-start" : "center" }),
1984
- onClick: (t) => ne(e),
1985
- onKeydown: (t) => re(t, e)
1986
- }, [E("div", Mr, [A(Sn)[e.type] ? (d(), C(H(A(Sn)[e.type]), {
1983
+ style: x({ justifyContent: p.value ? "flex-start" : "center" }),
1984
+ onClick: (t) => re(e),
1985
+ onKeydown: (t) => ie(t, e)
1986
+ }, [D("div", Mr, [P(Sn)[e.type] ? (f(), T(V(P(Sn)[e.type]), {
1987
1987
  key: 0,
1988
1988
  size: 20,
1989
1989
  "stroke-width": 1.5
1990
- })) : e.isCustom ? (d(), C(je, {
1990
+ })) : e.isCustom ? (f(), T(je, {
1991
1991
  key: 1,
1992
1992
  icon: e.icon,
1993
1993
  size: 20
1994
- }, null, 8, ["icon"])) : S("", !0)]), g.value ? (d(), v("span", Nr, x(e.label), 1)) : S("", !0)], 44, jr))), 128))]),
1994
+ }, null, 8, ["icon"])) : w("", !0)]), p.value ? (f(), v("span", Nr, C(e.label), 1)) : w("", !0)], 44, jr))), 128))]),
1995
1995
  _: 1
1996
1996
  }, 8, ["model-value"])], 44, Dr));
1997
1997
  }
@@ -2034,9 +2034,9 @@ var Dr = ["aria-label"], Or = {
2034
2034
  role: "tabpanel",
2035
2035
  "aria-labelledby": "tpl-tab-issues",
2036
2036
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2037
- }, Qr = /* @__PURE__ */ r({
2037
+ }, Qr = /* @__PURE__ */ n({
2038
2038
  __name: "RightSidebar",
2039
- props: /*@__PURE__*/ u({
2039
+ props: /*@__PURE__*/ d({
2040
2040
  selectedBlock: {},
2041
2041
  settings: {},
2042
2042
  shiftedLeft: { type: Boolean }
@@ -2044,18 +2044,18 @@ var Dr = ["aria-label"], Or = {
2044
2044
  tab: { default: "content" },
2045
2045
  tabModifiers: {}
2046
2046
  }),
2047
- emits: /*@__PURE__*/ u([
2047
+ emits: /*@__PURE__*/ d([
2048
2048
  "update-block",
2049
2049
  "delete-block",
2050
2050
  "duplicate-block",
2051
2051
  "update-settings"
2052
2052
  ], ["update:tab"]),
2053
- setup(e, { emit: t }) {
2054
- let r = f(() => import("./chunks/Toolbar-CnvfW72e.js").then((e) => e.t)), a = f(() => import("./chunks/TemplateSettings-jWpmuWDR.js")), o = f(() => import("./chunks/IssuesPanel-pr7_nuLI.js")), s = e, c = t, { t: l } = $(), u = n(e, "tab"), p = i(ut, null), m = j(() => p !== null && !p.unavailable.value), g = j(() => p?.issues.value.length ?? 0), _ = i(Tt, new Set(Mt)), y = j(() => _.size > 0);
2053
+ setup(e, { emit: n }) {
2054
+ let i = p(() => import("./chunks/Toolbar-CdpsvNOR.js").then((e) => e.t)), a = p(() => import("./chunks/TemplateSettings-CKtI-dof.js")), o = p(() => import("./chunks/IssuesPanel-C7LfxaAY.js")), s = e, c = n, { t: l } = $(), u = t(e, "tab"), d = r(ut, null), m = A(() => d !== null && !d.unavailable.value), g = A(() => d?.issues.value.length ?? 0), _ = r(Tt, new Set(Mt)), y = A(() => _.size > 0);
2055
2055
  function b(e) {
2056
2056
  return u.value === e ? "tpl:flex-1 tpl:text-[var(--tpl-primary)]" : "tpl:shrink-0 tpl:text-[var(--tpl-text-muted)] tpl:hover:text-[var(--tpl-text)]";
2057
2057
  }
2058
- function w(e) {
2058
+ function S(e) {
2059
2059
  return u.value === e ? {
2060
2060
  backgroundColor: "var(--tpl-bg)",
2061
2061
  boxShadow: "var(--tpl-shadow-sm)"
@@ -2065,79 +2065,79 @@ var Dr = ["aria-label"], Or = {
2065
2065
  e && (u.value = "content");
2066
2066
  }), h(m, (e) => {
2067
2067
  !e && u.value === "issues" && (u.value = "content");
2068
- }), (t, n) => (d(), v("aside", {
2069
- "aria-label": A(l).landmarks.rightSidebar,
2070
- class: T(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:box-border tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
2068
+ }), (t, n) => (f(), v("aside", {
2069
+ "aria-label": P(l).landmarks.rightSidebar,
2070
+ class: L(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:box-border tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
2071
2071
  }, [
2072
- E("div", Lr, [
2073
- E("button", {
2072
+ D("div", Lr, [
2073
+ D("button", {
2074
2074
  id: "tpl-tab-content",
2075
2075
  role: "tab",
2076
2076
  "aria-selected": u.value === "content",
2077
2077
  "aria-controls": "tpl-tabpanel-content",
2078
- "aria-label": A(l).sidebar.content,
2079
- title: A(l).sidebar.content,
2080
- class: T(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", b("content")]),
2081
- style: R(w("content")),
2078
+ "aria-label": P(l).sidebar.content,
2079
+ title: P(l).sidebar.content,
2080
+ class: L(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", b("content")]),
2081
+ style: x(S("content")),
2082
2082
  onClick: n[0] ||= (e) => u.value = "content"
2083
- }, [B(A(Zt), {
2083
+ }, [z(P(Zt), {
2084
2084
  size: 14,
2085
2085
  "stroke-width": 2
2086
- }), u.value === "content" ? (d(), v("span", zr, x(A(l).sidebar.content), 1)) : S("", !0)], 14, Rr),
2087
- y.value ? (d(), v("button", {
2086
+ }), u.value === "content" ? (f(), v("span", zr, C(P(l).sidebar.content), 1)) : w("", !0)], 14, Rr),
2087
+ y.value ? (f(), v("button", {
2088
2088
  key: 0,
2089
2089
  id: "tpl-tab-settings",
2090
2090
  role: "tab",
2091
2091
  "aria-selected": u.value === "settings",
2092
2092
  "aria-controls": "tpl-tabpanel-settings",
2093
- "aria-label": A(l).sidebar.settings,
2094
- title: A(l).sidebar.settings,
2095
- class: T(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", b("settings")]),
2096
- style: R(w("settings")),
2093
+ "aria-label": P(l).sidebar.settings,
2094
+ title: P(l).sidebar.settings,
2095
+ class: L(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", b("settings")]),
2096
+ style: x(S("settings")),
2097
2097
  onClick: n[1] ||= (e) => u.value = "settings"
2098
- }, [B(A(Pt), {
2098
+ }, [z(P(Pt), {
2099
2099
  size: 14,
2100
2100
  "stroke-width": 1.5
2101
- }), u.value === "settings" ? (d(), v("span", Vr, x(A(l).sidebar.settings), 1)) : S("", !0)], 14, Br)) : S("", !0),
2102
- m.value ? (d(), v("button", {
2101
+ }), u.value === "settings" ? (f(), v("span", Vr, C(P(l).sidebar.settings), 1)) : w("", !0)], 14, Br)) : w("", !0),
2102
+ m.value ? (f(), v("button", {
2103
2103
  key: 1,
2104
2104
  id: "tpl-tab-issues",
2105
2105
  role: "tab",
2106
2106
  "aria-selected": u.value === "issues",
2107
2107
  "aria-controls": "tpl-tabpanel-issues",
2108
- "aria-label": A(l).issues.panelTabLabel,
2109
- title: A(l).issues.panelTabLabel,
2110
- class: T(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", b("issues")]),
2111
- style: R(w("issues")),
2108
+ "aria-label": P(l).issues.panelTabLabel,
2109
+ title: P(l).issues.panelTabLabel,
2110
+ class: L(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", b("issues")]),
2111
+ style: x(S("issues")),
2112
2112
  onClick: n[2] ||= (e) => u.value = "issues"
2113
2113
  }, [
2114
- B(A(qt), {
2114
+ z(P(qt), {
2115
2115
  size: 14,
2116
2116
  "stroke-width": 1.5
2117
2117
  }),
2118
- u.value === "issues" ? (d(), v("span", Ur, x(A(l).issues.panelTabLabel), 1)) : S("", !0),
2119
- g.value > 0 ? (d(), v("span", Wr, x(g.value), 1)) : S("", !0)
2120
- ], 14, Hr)) : S("", !0)
2118
+ u.value === "issues" ? (f(), v("span", Ur, C(P(l).issues.panelTabLabel), 1)) : w("", !0),
2119
+ g.value > 0 ? (f(), v("span", Wr, C(g.value), 1)) : w("", !0)
2120
+ ], 14, Hr)) : w("", !0)
2121
2121
  ]),
2122
- u.value === "content" ? (d(), v("div", Gr, [e.selectedBlock ? (d(), C(A(r), {
2122
+ u.value === "content" ? (f(), v("div", Gr, [e.selectedBlock ? (f(), T(P(i), {
2123
2123
  key: 0,
2124
2124
  block: e.selectedBlock,
2125
2125
  onUpdate: n[3] ||= (e) => c("update-block", e),
2126
2126
  onDelete: n[4] ||= (e) => c("delete-block"),
2127
2127
  onDuplicate: n[5] ||= (e) => c("duplicate-block")
2128
- }, null, 8, ["block"])) : (d(), v("div", Kr, [
2129
- E("div", qr, [B(A($t), {
2128
+ }, null, 8, ["block"])) : (f(), v("div", Kr, [
2129
+ D("div", qr, [z(P(Jt), {
2130
2130
  size: 40,
2131
2131
  "stroke-width": 1.5
2132
2132
  })]),
2133
- E("h3", Jr, x(A(l).sidebar.noSelection), 1),
2134
- E("p", Yr, x(A(l).sidebar.noSelectionHint), 1)
2135
- ]))])) : S("", !0),
2136
- u.value === "settings" && y.value ? (d(), v("div", Xr, [B(A(a), {
2133
+ D("h3", Jr, C(P(l).sidebar.noSelection), 1),
2134
+ D("p", Yr, C(P(l).sidebar.noSelectionHint), 1)
2135
+ ]))])) : w("", !0),
2136
+ u.value === "settings" && y.value ? (f(), v("div", Xr, [z(P(a), {
2137
2137
  settings: e.settings,
2138
2138
  onUpdate: n[6] ||= (e) => c("update-settings", e)
2139
- }, null, 8, ["settings"])])) : S("", !0),
2140
- u.value === "issues" && m.value ? (d(), v("div", Zr, [B(A(o))])) : S("", !0)
2139
+ }, null, 8, ["settings"])])) : w("", !0),
2140
+ u.value === "issues" && m.value ? (f(), v("div", Zr, [z(P(o))])) : w("", !0)
2141
2141
  ], 10, Ir));
2142
2142
  }
2143
2143
  }), $r = {
@@ -2145,17 +2145,17 @@ var Dr = ["aria-label"], Or = {
2145
2145
  style: { "z-index": "10001" },
2146
2146
  role: "status",
2147
2147
  "data-testid": "small-screen-notice"
2148
- }, ei = { class: "tpl:text-[var(--tpl-text-dim)]" }, ti = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ni = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, ri = /* @__PURE__ */ r({
2148
+ }, ei = { class: "tpl:text-[var(--tpl-text-dim)]" }, ti = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ni = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, ri = /* @__PURE__ */ n({
2149
2149
  __name: "SmallScreenNotice",
2150
2150
  setup(e) {
2151
2151
  let { t } = $();
2152
- return (e, n) => (d(), v("div", $r, [
2153
- E("div", ei, [B(A(Nt), {
2152
+ return (e, n) => (f(), v("div", $r, [
2153
+ D("div", ei, [z(P(Nt), {
2154
2154
  size: 48,
2155
2155
  "stroke-width": 1.5
2156
2156
  })]),
2157
- E("h2", ti, x(A(t).smallScreen.title), 1),
2158
- E("p", ni, x(A(t).smallScreen.message), 1)
2157
+ D("h2", ti, C(P(t).smallScreen.title), 1),
2158
+ D("p", ni, C(P(t).smallScreen.message), 1)
2159
2159
  ]));
2160
2160
  }
2161
2161
  }), ii = {
@@ -2165,45 +2165,45 @@ var Dr = ["aria-label"], Or = {
2165
2165
  "backdrop-filter": "blur(8px)",
2166
2166
  "-webkit-backdrop-filter": "blur(8px)"
2167
2167
  }
2168
- }, ai = /* @__PURE__ */ r({
2168
+ }, ai = /* @__PURE__ */ n({
2169
2169
  __name: "EditorFooter",
2170
2170
  props: { positionClass: {} },
2171
2171
  setup(e) {
2172
2172
  let { t } = $();
2173
- return (n, r) => (d(), v("footer", { class: T(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[10px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [E("div", ii, [E("span", null, x(A(t).footer.poweredBy), 1), r[0] ||= V("<a href=\"https://templatical.com\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"tpl:inline-flex tpl:items-center tpl:gap-1 tpl:font-medium tpl:transition-colors tpl:hover:opacity-80 tpl:text-[var(--tpl-text-muted)]\" style=\"text-decoration:none;\"><svg width=\"14\" height=\"14\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><rect x=\"10\" y=\"1\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(85% 0.08 55)\" transform=\"rotate(8 19 12)\"></rect><rect x=\"6\" y=\"2\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(77% 0.12 55)\" transform=\"rotate(-4 15 13)\"></rect><rect x=\"2\" y=\"4\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(70% 0.16 55)\"></rect><rect x=\"6\" y=\"9\" width=\"10\" height=\"1.8\" rx=\"0.9\" fill=\"white\" opacity=\"0.9\"></rect><rect x=\"6\" y=\"13.5\" width=\"7\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.6\"></rect><rect x=\"6\" y=\"17\" width=\"9\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.6\"></rect><rect x=\"6\" y=\"20.5\" width=\"5\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.4\"></rect></svg> Templatical </a>", 1)])], 2));
2173
+ return (n, r) => (f(), v("footer", { class: L(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[10px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [D("div", ii, [D("span", null, C(P(t).footer.poweredBy), 1), r[0] ||= B("<a href=\"https://templatical.com\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"tpl:inline-flex tpl:items-center tpl:gap-1 tpl:font-medium tpl:transition-colors tpl:hover:opacity-80 tpl:text-[var(--tpl-text-muted)]\" style=\"text-decoration:none;\"><svg width=\"14\" height=\"14\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><rect x=\"10\" y=\"1\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(85% 0.08 55)\" transform=\"rotate(8 19 12)\"></rect><rect x=\"6\" y=\"2\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(77% 0.12 55)\" transform=\"rotate(-4 15 13)\"></rect><rect x=\"2\" y=\"4\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(70% 0.16 55)\"></rect><rect x=\"6\" y=\"9\" width=\"10\" height=\"1.8\" rx=\"0.9\" fill=\"white\" opacity=\"0.9\"></rect><rect x=\"6\" y=\"13.5\" width=\"7\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.6\"></rect><rect x=\"6\" y=\"17\" width=\"9\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.6\"></rect><rect x=\"6\" y=\"20.5\" width=\"5\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.4\"></rect></svg> Templatical </a>", 1)])], 2));
2174
2174
  }
2175
2175
  }), oi = [
2176
2176
  "aria-label",
2177
2177
  "title",
2178
2178
  "aria-pressed"
2179
- ], si = /*#__PURE__*/ nn(/* @__PURE__ */ r({
2179
+ ], si = /*#__PURE__*/ nn(/* @__PURE__ */ n({
2180
2180
  __name: "DarkModeToggle",
2181
2181
  props: { darkMode: { type: Boolean } },
2182
2182
  emits: ["change"],
2183
2183
  setup(e, { emit: t }) {
2184
2184
  let n = t, { t: r } = $();
2185
- return (t, i) => (d(), v("button", {
2185
+ return (t, i) => (f(), v("button", {
2186
2186
  class: "tpl-dark-mode-toggle tpl:relative tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:p-2 tpl:transition-all",
2187
- style: R({
2187
+ style: x({
2188
2188
  color: e.darkMode ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
2189
2189
  backgroundColor: e.darkMode ? "var(--tpl-primary-light)" : "transparent"
2190
2190
  }),
2191
- "aria-label": e.darkMode ? A(r).darkMode.disable : A(r).darkMode.enable,
2192
- title: e.darkMode ? A(r).darkMode.disable : A(r).darkMode.enable,
2191
+ "aria-label": e.darkMode ? P(r).darkMode.disable : P(r).darkMode.enable,
2192
+ title: e.darkMode ? P(r).darkMode.disable : P(r).darkMode.enable,
2193
2193
  "aria-pressed": e.darkMode,
2194
2194
  onClick: i[0] ||= (t) => n("change", !e.darkMode)
2195
- }, [B(D, {
2195
+ }, [z(O, {
2196
2196
  "enter-active-class": "tpl-icon-enter-active",
2197
2197
  "leave-active-class": "tpl-icon-leave-active",
2198
2198
  "enter-from-class": "tpl-icon-enter-from",
2199
2199
  "leave-to-class": "tpl-icon-leave-to",
2200
2200
  mode: "out-in"
2201
2201
  }, {
2202
- default: m(() => [e.darkMode ? (d(), C(A(Wt), {
2202
+ default: g(() => [e.darkMode ? (f(), T(P(Wt), {
2203
2203
  key: "moon",
2204
2204
  size: 18,
2205
2205
  "stroke-width": 1.5
2206
- })) : (d(), C(A(en), {
2206
+ })) : (f(), T(P(en), {
2207
2207
  key: "sun",
2208
2208
  size: 18,
2209
2209
  "stroke-width": 1.5
@@ -2215,34 +2215,34 @@ var Dr = ["aria-label"], Or = {
2215
2215
  "aria-label",
2216
2216
  "title",
2217
2217
  "aria-pressed"
2218
- ], li = /*#__PURE__*/ nn(/* @__PURE__ */ r({
2218
+ ], li = /*#__PURE__*/ nn(/* @__PURE__ */ n({
2219
2219
  __name: "PreviewToggle",
2220
2220
  props: { previewMode: { type: Boolean } },
2221
2221
  emits: ["change"],
2222
2222
  setup(e, { emit: t }) {
2223
2223
  let n = t, { t: r } = $();
2224
- return (t, i) => (d(), v("button", {
2224
+ return (t, i) => (f(), v("button", {
2225
2225
  class: "tpl-preview-toggle tpl:relative tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:p-2 tpl:transition-all",
2226
- style: R({
2226
+ style: x({
2227
2227
  color: e.previewMode ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
2228
2228
  backgroundColor: e.previewMode ? "var(--tpl-primary-light)" : "transparent"
2229
2229
  }),
2230
- "aria-label": e.previewMode ? A(r).previewMode.disable : A(r).previewMode.enable,
2231
- title: e.previewMode ? A(r).previewMode.disable : A(r).previewMode.enable,
2230
+ "aria-label": e.previewMode ? P(r).previewMode.disable : P(r).previewMode.enable,
2231
+ title: e.previewMode ? P(r).previewMode.disable : P(r).previewMode.enable,
2232
2232
  "aria-pressed": e.previewMode,
2233
2233
  onClick: i[0] ||= (t) => n("change", !e.previewMode)
2234
- }, [B(D, {
2234
+ }, [z(O, {
2235
2235
  "enter-active-class": "tpl-icon-enter-active",
2236
2236
  "leave-active-class": "tpl-icon-leave-active",
2237
2237
  "enter-from-class": "tpl-icon-enter-from",
2238
2238
  "leave-to-class": "tpl-icon-leave-to",
2239
2239
  mode: "out-in"
2240
2240
  }, {
2241
- default: m(() => [e.previewMode ? (d(), C(A(It), {
2241
+ default: g(() => [e.previewMode ? (f(), T(P(Lt), {
2242
2242
  key: "eye",
2243
2243
  size: 18,
2244
2244
  "stroke-width": 1.5
2245
- })) : (d(), C(A(Rt), {
2245
+ })) : (f(), T(P(Ht), {
2246
2246
  key: "eye-off",
2247
2247
  size: 18,
2248
2248
  "stroke-width": 1.5
@@ -2250,75 +2250,75 @@ var Dr = ["aria-label"], Or = {
2250
2250
  _: 1
2251
2251
  })], 12, ci));
2252
2252
  }
2253
- }), [["__scopeId", "data-v-eef7b2ca"]]), ui = ["aria-label", "onKeydown"], di = ["title", "aria-label"], fi = /* @__PURE__ */ r({
2253
+ }), [["__scopeId", "data-v-eef7b2ca"]]), ui = ["aria-label", "onKeydown"], di = ["title", "aria-label"], fi = /* @__PURE__ */ n({
2254
2254
  __name: "TemplateNameField",
2255
2255
  props: {
2256
2256
  name: {},
2257
2257
  editable: { type: Boolean }
2258
2258
  },
2259
2259
  emits: ["commit"],
2260
- setup(n, { emit: r }) {
2261
- let i = n, a = r, { t: o } = $(), s = e(!1), c = e(""), l = e(null);
2260
+ setup(t, { emit: n }) {
2261
+ let r = t, i = n, { t: o } = $(), s = S(!1), c = S(""), l = S(null);
2262
2262
  async function u() {
2263
- i.editable && (c.value = i.name ?? "", s.value = !0, await t(), l.value?.focus(), l.value?.select());
2263
+ r.editable && (c.value = r.name ?? "", s.value = !0, await e(), l.value?.focus(), l.value?.select());
2264
2264
  }
2265
- function f() {
2265
+ function d() {
2266
2266
  if (!s.value) return;
2267
2267
  s.value = !1;
2268
2268
  let e = c.value.trim();
2269
- e && e !== i.name && a("commit", e);
2269
+ e && e !== r.name && i("commit", e);
2270
2270
  }
2271
2271
  function p() {
2272
2272
  s.value = !1;
2273
2273
  }
2274
- return (e, t) => s.value ? g((d(), v("input", {
2274
+ return (e, n) => s.value ? a((f(), v("input", {
2275
2275
  key: 0,
2276
2276
  ref_key: "inputEl",
2277
2277
  ref: l,
2278
- "onUpdate:modelValue": t[0] ||= (e) => c.value = e,
2278
+ "onUpdate:modelValue": n[0] ||= (e) => c.value = e,
2279
2279
  type: "text",
2280
2280
  "data-testid": "template-name-input",
2281
- "aria-label": A(o).header.templateName,
2282
- class: T([A(yn), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
2283
- onKeydown: [b(w(f, ["prevent"]), ["enter"]), b(w(p, ["prevent"]), ["esc"])],
2284
- onBlur: f
2285
- }, null, 42, ui)), [[k, c.value]]) : n.editable ? (d(), v("button", {
2281
+ "aria-label": P(o).header.templateName,
2282
+ class: L([P(yn), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
2283
+ onKeydown: [b(E(d, ["prevent"]), ["enter"]), b(E(p, ["prevent"]), ["esc"])],
2284
+ onBlur: d
2285
+ }, null, 42, ui)), [[ee, c.value]]) : t.editable ? (f(), v("button", {
2286
2286
  key: 1,
2287
2287
  type: "button",
2288
2288
  "data-testid": "template-name",
2289
- title: A(o).header.rename,
2290
- "aria-label": A(o).header.rename,
2291
- class: T(["tpl:max-w-[260px] tpl:cursor-pointer tpl:truncate tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-transparent tpl:px-2 tpl:py-1 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:border-[var(--tpl-border)] tpl:hover:bg-[var(--tpl-bg-hover)]", { "tpl:text-[var(--tpl-text-dim)]": !n.name }]),
2289
+ title: P(o).header.rename,
2290
+ "aria-label": P(o).header.rename,
2291
+ class: L(["tpl:max-w-[260px] tpl:cursor-pointer tpl:truncate tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-transparent tpl:px-2 tpl:py-1 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:border-[var(--tpl-border)] tpl:hover:bg-[var(--tpl-bg-hover)]", { "tpl:text-[var(--tpl-text-dim)]": !t.name }]),
2292
2292
  onClick: u
2293
- }, x(n.name || A(o).header.untitled), 11, di)) : (d(), v("span", {
2293
+ }, C(t.name || P(o).header.untitled), 11, di)) : (f(), v("span", {
2294
2294
  key: 2,
2295
2295
  "data-testid": "template-name",
2296
- class: T(["tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:py-1 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]", { "tpl:text-[var(--tpl-text-dim)]": !n.name }])
2297
- }, x(n.name || A(o).header.untitled), 3));
2296
+ class: L(["tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:py-1 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]", { "tpl:text-[var(--tpl-text-dim)]": !t.name }])
2297
+ }, C(t.name || P(o).header.untitled), 3));
2298
2298
  }
2299
- }), pi = ["title"], mi = /* @__PURE__ */ r({
2299
+ }), pi = ["title"], mi = /* @__PURE__ */ n({
2300
2300
  __name: "TemplateTimestamp",
2301
2301
  props: {
2302
2302
  iso: {},
2303
2303
  kind: {}
2304
2304
  },
2305
- setup(t) {
2306
- let n = t, { t: r, format: a } = $(), o = i(_t, void 0), s = e(0);
2305
+ setup(e) {
2306
+ let t = e, { t: n, format: i } = $(), a = r(_t, void 0), o = S(0);
2307
2307
  Oe(() => {
2308
- s.value += 1;
2308
+ o.value += 1;
2309
2309
  }, 6e4);
2310
- let c = j(() => {
2311
- let e = Tn(n.iso, r.time, a);
2310
+ let s = A(() => {
2311
+ let e = Tn(t.iso, n.time, i);
2312
2312
  if (e === null) return "";
2313
- let t = e === r.time.justNow;
2314
- return n.kind === "updatedAt" ? t ? r.header.updatedJustNow : a(r.header.updatedAt, { time: e }) : t ? r.header.createdJustNow : a(r.header.createdAt, { time: e });
2315
- }), l = j(() => un(n.iso, o));
2316
- return (e, t) => c.value ? (d(), v("span", {
2313
+ let r = e === n.time.justNow;
2314
+ return t.kind === "updatedAt" ? r ? n.header.updatedJustNow : i(n.header.updatedAt, { time: e }) : r ? n.header.createdJustNow : i(n.header.createdAt, { time: e });
2315
+ }), c = A(() => un(t.iso, a));
2316
+ return (e, t) => s.value ? (f(), v("span", {
2317
2317
  key: 0,
2318
2318
  "data-testid": "template-timestamp",
2319
- title: l.value,
2319
+ title: c.value,
2320
2320
  class: "tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:text-xs tpl:leading-tight tpl:text-[var(--tpl-text-dim)]"
2321
- }, x(c.value), 9, pi)) : S("", !0);
2321
+ }, C(s.value), 9, pi)) : w("", !0);
2322
2322
  }
2323
2323
  }), hi = ["data-tooltip"], gi = {
2324
2324
  key: 1,
@@ -2330,7 +2330,7 @@ var Dr = ["aria-label"], Or = {
2330
2330
  "aria-live": "polite",
2331
2331
  "data-testid": "save-status-unsaved",
2332
2332
  class: "tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
2333
- }, vi = /* @__PURE__ */ r({
2333
+ }, vi = /* @__PURE__ */ n({
2334
2334
  __name: "TemplateSaveStatus",
2335
2335
  props: {
2336
2336
  status: {},
@@ -2339,51 +2339,51 @@ var Dr = ["aria-label"], Or = {
2339
2339
  },
2340
2340
  setup(e) {
2341
2341
  let { t } = $();
2342
- return (n, r) => e.status === "error" ? (d(), v("div", {
2342
+ return (n, r) => e.status === "error" ? (f(), v("div", {
2343
2343
  key: 0,
2344
2344
  "aria-live": "assertive",
2345
2345
  "data-testid": "save-status-error",
2346
2346
  class: "tpl-tooltip tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]",
2347
2347
  "data-tooltip": e.errorMessage
2348
- }, [B(A(Ut), {
2348
+ }, [z(P(Bt), {
2349
2349
  size: 12,
2350
2350
  "stroke-width": 2.5
2351
- }), y(" " + x(A(t).header.saveFailed), 1)], 8, hi)) : e.status === "saved" ? (d(), v("div", gi, [B(A(tn), {
2351
+ }), y(" " + C(P(t).header.saveFailed), 1)], 8, hi)) : e.status === "saved" ? (f(), v("div", gi, [z(P(Ft), {
2352
2352
  size: 12,
2353
2353
  "stroke-width": 2.5
2354
- }), y(" " + x(A(t).header.saved), 1)])) : e.isDirty ? (d(), v("div", _i, [r[0] ||= E("span", { class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]" }, null, -1), y(" " + x(A(t).header.unsaved), 1)])) : S("", !0);
2354
+ }), y(" " + C(P(t).header.saved), 1)])) : e.isDirty ? (f(), v("div", _i, [r[0] ||= D("span", { class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]" }, null, -1), y(" " + C(P(t).header.unsaved), 1)])) : w("", !0);
2355
2355
  }
2356
2356
  }), yi = [
2357
2357
  "aria-pressed",
2358
2358
  "aria-label",
2359
2359
  "title"
2360
- ], bi = /* @__PURE__ */ r({
2360
+ ], bi = /* @__PURE__ */ n({
2361
2361
  __name: "AiHeaderMenu",
2362
2362
  props: { feature: {} },
2363
2363
  setup(e) {
2364
- let t = e, { t: n } = $(), r = j(() => t.feature.panel.value === "chat");
2364
+ let t = e, { t: n } = $(), r = A(() => t.feature.panel.value === "chat");
2365
2365
  function i() {
2366
2366
  r.value ? t.feature.close() : t.feature.open("chat");
2367
2367
  }
2368
- return (t, a) => e.feature.isAvailable.value && e.feature.has("chat") ? (d(), v("button", {
2368
+ return (t, a) => e.feature.isAvailable.value && e.feature.has("chat") ? (f(), v("button", {
2369
2369
  key: 0,
2370
2370
  type: "button",
2371
2371
  "data-testid": "ai-menu-trigger",
2372
2372
  "aria-pressed": r.value,
2373
- "aria-label": A(n).ai.menu.chat,
2374
- title: A(n).ai.menu.chat,
2375
- class: T(A(vn)),
2376
- style: R(r.value ? {
2373
+ "aria-label": P(n).ai.menu.chat,
2374
+ title: P(n).ai.menu.chat,
2375
+ class: L(P(vn)),
2376
+ style: x(r.value ? {
2377
2377
  backgroundColor: "var(--tpl-primary-light)",
2378
2378
  borderColor: "var(--tpl-primary-light)"
2379
2379
  } : void 0),
2380
- onClick: w(i, ["stop"])
2381
- }, [B(A(Ft), {
2380
+ onClick: E(i, ["stop"])
2381
+ }, [z(P(It), {
2382
2382
  size: 16,
2383
2383
  "stroke-width": 2,
2384
2384
  class: "tpl:text-[var(--tpl-primary-hover)]",
2385
2385
  "aria-hidden": "true"
2386
- }), y(" " + x(A(n).ai.menu.button), 1)], 14, yi)) : S("", !0);
2386
+ }), y(" " + C(P(n).ai.menu.button), 1)], 14, yi)) : w("", !0);
2387
2387
  }
2388
2388
  }), xi = { class: "tpl-header tpl:absolute tpl:top-0 tpl:right-0 tpl:left-0 tpl:z-50 tpl:grid tpl:h-14 tpl:grid-cols-[1fr_auto_1fr] tpl:items-center tpl:px-4 tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)] tpl:border-b tpl:border-[var(--tpl-border)]" }, Si = { class: "tpl-header-left tpl:flex tpl:min-w-[200px] tpl:items-center tpl:gap-2.5" }, Ci = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, wi = { class: "tpl-header-right tpl:flex tpl:min-w-[200px] tpl:items-center tpl:justify-end tpl:gap-3" }, Ti = ["aria-label", "aria-expanded"], Ei = {
2389
2389
  key: 0,
@@ -2392,7 +2392,7 @@ var Dr = ["aria-label"], Or = {
2392
2392
  "aria-label",
2393
2393
  "title",
2394
2394
  "disabled"
2395
- ], Oi = ["disabled", "title"], ki = /* @__PURE__ */ r({
2395
+ ], Oi = ["disabled", "title"], ki = /* @__PURE__ */ n({
2396
2396
  __name: "EditorHeader",
2397
2397
  props: {
2398
2398
  editor: {},
@@ -2406,13 +2406,13 @@ var Dr = ["aria-label"], Or = {
2406
2406
  ai: {}
2407
2407
  },
2408
2408
  setup(e) {
2409
- let t = f(() => import("./chunks/VersionHistoryMenu-CmpgUI4Q.js")), n = f(() => import("./chunks/CollaboratorBar-II8eYtKu.js"));
2410
- return (r, i) => (d(), v("header", xi, [
2411
- E("div", Si, [
2412
- e.templates?.isAvailable.value && e.templates.hasTemplate.value && (e.showTemplateName || e.templates.timestamp.value) ? (d(), v("div", {
2409
+ let t = p(() => import("./chunks/VersionHistoryMenu-BYlLRvRJ.js")), n = p(() => import("./chunks/CollaboratorBar-CXByAoUz.js"));
2410
+ return (r, i) => (f(), v("header", xi, [
2411
+ D("div", Si, [
2412
+ e.templates?.isAvailable.value && e.templates.hasTemplate.value && (e.showTemplateName || e.templates.timestamp.value) ? (f(), v("div", {
2413
2413
  key: 0,
2414
- class: T(["tpl:flex tpl:min-w-0 tpl:flex-col tpl:items-start", { "tpl:pb-1.5": e.showTemplateName && e.templates.timestamp.value !== null }])
2415
- }, [e.showTemplateName ? (d(), C(fi, {
2414
+ class: L(["tpl:flex tpl:min-w-0 tpl:flex-col tpl:items-start", { "tpl:pb-1.5": e.showTemplateName && e.templates.timestamp.value !== null }])
2415
+ }, [e.showTemplateName ? (f(), T(fi, {
2416
2416
  key: 0,
2417
2417
  name: e.templates.name.value,
2418
2418
  editable: e.templates.canSave.value,
@@ -2421,12 +2421,12 @@ var Dr = ["aria-label"], Or = {
2421
2421
  "name",
2422
2422
  "editable",
2423
2423
  "onCommit"
2424
- ])) : S("", !0), e.templates.timestamp.value ? (d(), C(mi, {
2424
+ ])) : w("", !0), e.templates.timestamp.value ? (f(), T(mi, {
2425
2425
  key: 1,
2426
2426
  iso: e.templates.timestamp.value.iso,
2427
2427
  kind: e.templates.timestamp.value.kind
2428
- }, null, 8, ["iso", "kind"])) : S("", !0)], 2)) : S("", !0),
2429
- e.versionHistory?.isAvailable.value && e.versionHistory.hasTemplate.value ? (d(), C(A(t), {
2428
+ }, null, 8, ["iso", "kind"])) : w("", !0)], 2)) : w("", !0),
2429
+ e.versionHistory?.isAvailable.value && e.versionHistory.hasTemplate.value ? (f(), T(P(t), {
2430
2430
  key: 1,
2431
2431
  versions: e.versionHistory.versions.value,
2432
2432
  "is-loading": e.versionHistory.isLoading.value,
@@ -2439,30 +2439,30 @@ var Dr = ["aria-label"], Or = {
2439
2439
  "is-loading",
2440
2440
  "is-restoring",
2441
2441
  "previewing-id"
2442
- ])) : S("", !0),
2443
- e.collaboration?.isLive.value ? (d(), C(A(n), {
2442
+ ])) : w("", !0),
2443
+ e.collaboration?.isLive.value ? (f(), T(P(n), {
2444
2444
  key: 2,
2445
2445
  people: e.collaboration.people.value,
2446
2446
  connection: e.collaboration.connection.value
2447
- }, null, 8, ["people", "connection"])) : S("", !0),
2448
- s(r.$slots, "left-extras")
2447
+ }, null, 8, ["people", "connection"])) : w("", !0),
2448
+ c(r.$slots, "left-extras")
2449
2449
  ]),
2450
- E("div", Ci, [
2451
- B(Cn, {
2450
+ D("div", Ci, [
2451
+ z(Cn, {
2452
2452
  viewport: e.editor.state.viewport,
2453
2453
  onChange: e.editor.setViewport
2454
2454
  }, null, 8, ["viewport", "onChange"]),
2455
- B(si, {
2455
+ z(si, {
2456
2456
  "dark-mode": e.editor.state.darkMode,
2457
2457
  onChange: e.editor.setDarkMode
2458
2458
  }, null, 8, ["dark-mode", "onChange"]),
2459
- B(li, {
2459
+ z(li, {
2460
2460
  "preview-mode": e.editor.state.previewMode,
2461
2461
  onChange: e.editor.setPreviewMode
2462
2462
  }, null, 8, ["preview-mode", "onChange"])
2463
2463
  ]),
2464
- E("div", wi, [
2465
- e.templates?.isAvailable.value && e.templates.canSave.value ? (d(), C(vi, {
2464
+ D("div", wi, [
2465
+ e.templates?.isAvailable.value && e.templates.canSave.value ? (f(), T(vi, {
2466
2466
  key: 0,
2467
2467
  status: e.templates.status.value,
2468
2468
  "error-message": e.templates.errorMessage.value,
@@ -2471,70 +2471,70 @@ var Dr = ["aria-label"], Or = {
2471
2471
  "status",
2472
2472
  "error-message",
2473
2473
  "is-dirty"
2474
- ])) : S("", !0),
2475
- e.comments?.isAvailable.value && e.comments.hasTemplate.value ? (d(), v("button", {
2474
+ ])) : w("", !0),
2475
+ e.comments?.isAvailable.value && e.comments.hasTemplate.value ? (f(), v("button", {
2476
2476
  key: 1,
2477
2477
  type: "button",
2478
2478
  "data-testid": "comments-trigger",
2479
2479
  "aria-label": e.comments.unresolvedCount.value > 0 ? `${e.core.t.comments.button} (${e.comments.unresolvedCount.value})` : e.core.t.comments.button,
2480
2480
  "aria-expanded": e.comments.isOpen.value,
2481
- class: T(A(vn)),
2482
- style: R(e.comments.isOpen.value ? {
2481
+ class: L(P(vn)),
2482
+ style: x(e.comments.isOpen.value ? {
2483
2483
  backgroundColor: "var(--tpl-primary-light)",
2484
2484
  borderColor: "var(--tpl-primary-light)"
2485
2485
  } : void 0),
2486
2486
  onClick: i[2] ||= (t) => e.comments.toggle()
2487
2487
  }, [
2488
- B(A(Xt), {
2488
+ z(P(Xt), {
2489
2489
  size: 16,
2490
2490
  "stroke-width": 2
2491
2491
  }),
2492
- y(" " + x(e.core.t.comments.button) + " ", 1),
2493
- e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (d(), v("span", Ei, x(e.comments.unresolvedCount.value), 1)) : S("", !0)
2494
- ], 14, Ti)) : S("", !0),
2495
- e.ai ? (d(), C(bi, {
2492
+ y(" " + C(e.core.t.comments.button) + " ", 1),
2493
+ e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (f(), v("span", Ei, C(e.comments.unresolvedCount.value), 1)) : w("", !0)
2494
+ ], 14, Ti)) : w("", !0),
2495
+ e.ai ? (f(), T(bi, {
2496
2496
  key: 2,
2497
2497
  feature: e.ai
2498
- }, null, 8, ["feature"])) : S("", !0),
2499
- s(r.$slots, "right-extras"),
2500
- e.testEmail?.isAvailable.value ? (d(), v("button", {
2498
+ }, null, 8, ["feature"])) : w("", !0),
2499
+ c(r.$slots, "right-extras"),
2500
+ e.testEmail?.isAvailable.value ? (f(), v("button", {
2501
2501
  key: 3,
2502
2502
  type: "button",
2503
2503
  "data-testid": "test-email-trigger",
2504
2504
  "aria-label": e.core.t.testEmail.title,
2505
2505
  title: e.core.t.testEmail.title,
2506
2506
  disabled: e.testEmail.isSending.value,
2507
- class: T(A(vn)),
2507
+ class: L(P(vn)),
2508
2508
  onClick: i[3] ||= (t) => e.testEmail.open()
2509
- }, [e.testEmail.isSending.value ? (d(), C(A(Kt), {
2509
+ }, [e.testEmail.isSending.value ? (f(), T(P(Kt), {
2510
2510
  key: 1,
2511
2511
  class: "tpl-spinner",
2512
2512
  size: 16,
2513
2513
  "stroke-width": 2
2514
- })) : (d(), C(A(Yt), {
2514
+ })) : (f(), T(P(Yt), {
2515
2515
  key: 0,
2516
2516
  size: 16,
2517
2517
  "stroke-width": 2
2518
- })), y(" " + x(e.core.t.testEmail.button), 1)], 10, Di)) : S("", !0),
2519
- e.templates?.isAvailable.value && e.templates.canSave.value ? (d(), v("button", {
2518
+ })), y(" " + C(e.core.t.testEmail.button), 1)], 10, Di)) : w("", !0),
2519
+ e.templates?.isAvailable.value && e.templates.canSave.value ? (f(), v("button", {
2520
2520
  key: 4,
2521
2521
  type: "button",
2522
2522
  "data-testid": "template-save",
2523
- class: T(A(e.editor.state.isDirty && e.templates.hasTemplate.value ? bn : vn)),
2524
- style: R(e.editor.state.isDirty && e.templates.hasTemplate.value ? { boxShadow: "var(--tpl-shadow-sm)" } : void 0),
2523
+ class: L(P(e.editor.state.isDirty && e.templates.hasTemplate.value ? bn : vn)),
2524
+ style: x(e.editor.state.isDirty && e.templates.hasTemplate.value ? { boxShadow: "var(--tpl-shadow-sm)" } : void 0),
2525
2525
  disabled: e.templates.isSaving.value || !e.templates.hasTemplate.value,
2526
2526
  title: e.templates.hasTemplate.value ? e.core.t.header.save : e.core.t.header.saveNoTemplate,
2527
2527
  onClick: i[4] ||= (t) => e.templates.requestSave()
2528
- }, [e.templates.isSaving.value ? (d(), C(A(Kt), {
2528
+ }, [e.templates.isSaving.value ? (f(), T(P(Kt), {
2529
2529
  key: 1,
2530
2530
  class: "tpl-spinner",
2531
2531
  size: 16,
2532
2532
  "stroke-width": 2
2533
- })) : (d(), C(A(Ht), {
2533
+ })) : (f(), T(P(Ut), {
2534
2534
  key: 0,
2535
2535
  size: 16,
2536
2536
  "stroke-width": 2
2537
- })), y(" " + x(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14, Oi)) : S("", !0)
2537
+ })), y(" " + C(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14, Oi)) : w("", !0)
2538
2538
  ])
2539
2539
  ]));
2540
2540
  }
@@ -2577,254 +2577,254 @@ var Dr = ["aria-label"], Or = {
2577
2577
  key: 1,
2578
2578
  "data-testid": "merge-tag-picker-sample",
2579
2579
  class: "tpl:line-clamp-1 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
2580
- }, Ji = "tpl-merge-tag-picker-list", Yi = /* @__PURE__ */ r({
2580
+ }, Ji = "tpl-merge-tag-picker-list", Yi = /* @__PURE__ */ n({
2581
2581
  __name: "MergeTagPickerModal",
2582
- setup(n) {
2583
- let r = at(ot, "MergeTagPickerModal"), { t: a, format: s } = $(), c = i(lt, null), l = i(vt, null), u = i(ft, !0), f = j(() => r.current.value !== null), p = j(() => f.value ? a.mergeTag.picker.changeTitle : a.mergeTag.picker.title);
2584
- function _(e) {
2582
+ setup(t) {
2583
+ let n = at(ot, "MergeTagPickerModal"), { t: i, format: s } = $(), c = r(lt, null), l = r(vt, null), u = r(ft, !0), d = A(() => n.current.value !== null), p = A(() => d.value ? i.mergeTag.picker.changeTitle : i.mergeTag.picker.title);
2584
+ function m(e) {
2585
2585
  return u ? e.description ? `${e.value} — ${e.description}` : e.value : e.description || void 0;
2586
2586
  }
2587
- let y = e(""), D = De(y, 200), O = e(null), M = j(() => D.value.trim().length > 0), N = e(0), P = j(() => r.tags.value.some((e) => !!e.group)), F = e(/* @__PURE__ */ new Set());
2588
- function I(e) {
2589
- return F.value.has(e);
2587
+ let _ = S(""), y = De(_, 200), O = S(null), k = A(() => y.value.trim().length > 0), j = S(0), M = A(() => n.tags.value.some((e) => !!e.group)), N = S(/* @__PURE__ */ new Set());
2588
+ function F(e) {
2589
+ return N.value.has(e);
2590
2590
  }
2591
- function z(e) {
2592
- let t = new Set(F.value);
2593
- t.has(e) ? t.delete(e) : t.add(e), F.value = t, N.value = 0;
2591
+ function R(e) {
2592
+ let t = new Set(N.value);
2593
+ t.has(e) ? t.delete(e) : t.add(e), N.value = t, j.value = 0;
2594
2594
  }
2595
- let V = j(() => {
2596
- let e = D.value.trim().toLowerCase();
2597
- return e ? r.tags.value.filter((t) => [
2595
+ let B = A(() => {
2596
+ let e = y.value.trim().toLowerCase();
2597
+ return e ? n.tags.value.filter((t) => [
2598
2598
  t.label,
2599
2599
  t.value,
2600
2600
  t.description ?? ""
2601
- ].join(" ").toLowerCase().includes(e)) : r.tags.value;
2602
- }), H = j(() => {
2603
- if (!P.value) return [];
2604
- let e = a.mergeTag.picker.otherGroup, t = /* @__PURE__ */ new Set(), n = [];
2605
- for (let i of r.tags.value) {
2606
- let r = i.group ?? e;
2607
- t.has(r) || (t.add(r), n.push(r));
2601
+ ].join(" ").toLowerCase().includes(e)) : n.tags.value;
2602
+ }), V = A(() => {
2603
+ if (!M.value) return [];
2604
+ let e = i.mergeTag.picker.otherGroup, t = /* @__PURE__ */ new Set(), r = [];
2605
+ for (let i of n.tags.value) {
2606
+ let n = i.group ?? e;
2607
+ t.has(n) || (t.add(n), r.push(n));
2608
2608
  }
2609
- return n;
2610
- }), ee = j(() => {
2611
- let e = V.value;
2612
- if (!P.value || M.value) return e.map((e, t) => ({
2609
+ return r;
2610
+ }), te = A(() => {
2611
+ let e = B.value;
2612
+ if (!M.value || k.value) return e.map((e, t) => ({
2613
2613
  kind: "tag",
2614
2614
  tag: e,
2615
2615
  index: t
2616
2616
  }));
2617
- let t = a.mergeTag.picker.otherGroup, n = /* @__PURE__ */ new Map(), r = [];
2617
+ let t = i.mergeTag.picker.otherGroup, n = /* @__PURE__ */ new Map(), r = [];
2618
2618
  for (let i of e) {
2619
2619
  let e = i.group ?? t;
2620
2620
  n.has(e) || (n.set(e, []), r.push(e)), n.get(e).push(i);
2621
2621
  }
2622
- let i = [], o = 0;
2622
+ let a = [], o = 0;
2623
2623
  for (let e of r) {
2624
2624
  let t = n.get(e);
2625
- if (i.push({
2625
+ if (a.push({
2626
2626
  kind: "header",
2627
2627
  group: e,
2628
2628
  count: t.length
2629
- }), !F.value.has(e)) for (let e of t) i.push({
2629
+ }), !N.value.has(e)) for (let e of t) a.push({
2630
2630
  kind: "tag",
2631
2631
  tag: e,
2632
2632
  index: o
2633
2633
  }), o++;
2634
2634
  }
2635
- return i;
2636
- }), U = j(() => ee.value.flatMap((e) => e.kind === "tag" ? [e.tag] : [])), W = !1;
2637
- function G(e) {
2638
- let t = r.current.value;
2635
+ return a;
2636
+ }), H = A(() => te.value.flatMap((e) => e.kind === "tag" ? [e.tag] : [])), U = !1;
2637
+ function W(e) {
2638
+ let t = n.current.value;
2639
2639
  if (!t) return !1;
2640
- let n = e.findIndex((e) => e.value === t.value);
2641
- return n !== -1 && (N.value = n, !0);
2640
+ let r = e.findIndex((e) => e.value === t.value);
2641
+ return r !== -1 && (j.value = r, !0);
2642
2642
  }
2643
- function K(e) {
2644
- W = !1, N.value = e;
2643
+ function G(e) {
2644
+ U = !1, j.value = e;
2645
2645
  }
2646
- h(() => r.isOpen.value, (e) => {
2647
- e ? (y.value = "", N.value = 0, F.value = /* @__PURE__ */ new Set(), W = !G(U.value), t(() => {
2646
+ h(() => n.isOpen.value, (t) => {
2647
+ t ? (_.value = "", j.value = 0, N.value = /* @__PURE__ */ new Set(), U = !W(H.value), e(() => {
2648
2648
  O.value?.focus();
2649
- })) : W = !1;
2650
- }), h(U, (e) => {
2651
- W && G(e) ? W = !1 : N.value >= e.length && (N.value = Math.max(0, e.length - 1));
2649
+ })) : U = !1;
2650
+ }), h(H, (e) => {
2651
+ U && W(e) ? U = !1 : j.value >= e.length && (j.value = Math.max(0, e.length - 1));
2652
2652
  });
2653
- function q(e) {
2654
- r.resolve(e);
2653
+ function K(e) {
2654
+ n.resolve(e);
2655
2655
  }
2656
- function J() {
2657
- r.resolve(null);
2656
+ function q() {
2657
+ n.resolve(null);
2658
2658
  }
2659
- function Y(e) {
2660
- if (U.value.length === 0) return;
2661
- W = !1;
2662
- let t = N.value + e;
2663
- N.value = Math.max(0, Math.min(U.value.length - 1, t)), re();
2659
+ function J(e) {
2660
+ if (H.value.length === 0) return;
2661
+ U = !1;
2662
+ let t = j.value + e;
2663
+ j.value = Math.max(0, Math.min(H.value.length - 1, t)), ie();
2664
2664
  }
2665
- let X = e(null), te = e({});
2666
- function ne(e, t) {
2667
- te.value[e] = t ?? null;
2665
+ let Y = S(null), ne = S({});
2666
+ function re(e, t) {
2667
+ ne.value[e] = t ?? null;
2668
2668
  }
2669
- function re() {
2670
- t(() => {
2671
- let e = X.value;
2672
- e && e.querySelector(`[data-merge-tag-index="${N.value}"]`)?.scrollIntoView({ block: "nearest" });
2669
+ function ie() {
2670
+ e(() => {
2671
+ let e = Y.value;
2672
+ e && e.querySelector(`[data-merge-tag-index="${j.value}"]`)?.scrollIntoView({ block: "nearest" });
2673
2673
  });
2674
2674
  }
2675
- function ie(e) {
2676
- if (F.value.has(e)) {
2677
- let t = new Set(F.value);
2678
- t.delete(e), F.value = t;
2675
+ function X(t) {
2676
+ if (N.value.has(t)) {
2677
+ let e = new Set(N.value);
2678
+ e.delete(t), N.value = e;
2679
2679
  }
2680
- t(() => {
2681
- let t = X.value;
2682
- if (!t) return;
2680
+ e(() => {
2681
+ let e = Y.value;
2682
+ if (!e) return;
2683
2683
  let n = 0, r = !1;
2684
- for (let i of Array.from(t.children)) {
2685
- if (i.dataset.testid === "merge-tag-picker-group-header" && i.dataset.groupName === e) {
2684
+ for (let i of Array.from(e.children)) {
2685
+ if (i.dataset.testid === "merge-tag-picker-group-header" && i.dataset.groupName === t) {
2686
2686
  r = !0;
2687
2687
  break;
2688
2688
  }
2689
2689
  n += i.offsetHeight;
2690
2690
  }
2691
- r && t.scrollTo({
2691
+ r && e.scrollTo({
2692
2692
  top: n,
2693
2693
  behavior: "smooth"
2694
2694
  });
2695
2695
  });
2696
2696
  }
2697
2697
  function Z(e) {
2698
- if (e.key === "ArrowDown") e.preventDefault(), Y(1);
2699
- else if (e.key === "ArrowUp") e.preventDefault(), Y(-1);
2698
+ if (e.key === "ArrowDown") e.preventDefault(), J(1);
2699
+ else if (e.key === "ArrowUp") e.preventDefault(), J(-1);
2700
2700
  else if (e.key === "Enter") {
2701
2701
  e.preventDefault();
2702
- let t = U.value[N.value];
2703
- t && q(t);
2702
+ let t = H.value[j.value];
2703
+ t && K(t);
2704
2704
  }
2705
2705
  }
2706
2706
  function ae() {
2707
- if (U.value.length !== 0) return `${Ji}-opt-${N.value}`;
2707
+ if (H.value.length !== 0) return `${Ji}-opt-${j.value}`;
2708
2708
  }
2709
2709
  function oe(e) {
2710
2710
  return `${Ji}-opt-${e}`;
2711
2711
  }
2712
- let Q = j(() => r.tags.value.length === 0), se = j(() => !Q.value && V.value.length === 0), ce = j(() => P.value && H.value.length > 1 && !M.value);
2713
- return (e, t) => (d(), C(En, {
2714
- visible: A(r).isOpen.value,
2715
- onClose: J,
2712
+ let Q = A(() => n.tags.value.length === 0), se = A(() => !Q.value && B.value.length === 0), ce = A(() => M.value && V.value.length > 1 && !k.value);
2713
+ return (e, t) => (f(), T(En, {
2714
+ visible: P(n).isOpen.value,
2715
+ onClose: q,
2716
2716
  onKeydown: Z
2717
2717
  }, {
2718
- default: m(() => [E("div", {
2718
+ default: g(() => [D("div", {
2719
2719
  role: "dialog",
2720
2720
  "aria-modal": "true",
2721
2721
  "aria-labelledby": `${Ji}-title`,
2722
- "data-tpl-theme": A(l),
2722
+ "data-tpl-theme": P(l),
2723
2723
  "data-testid": "merge-tag-picker-modal",
2724
2724
  class: "tpl tpl:flex tpl:max-h-[80%] tpl:w-[420px] tpl:max-w-full tpl:flex-col tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-lg)]",
2725
- style: R(A(c))
2725
+ style: x(P(c))
2726
2726
  }, [
2727
- E("header", ji, [E("h2", {
2727
+ D("header", ji, [D("h2", {
2728
2728
  id: `${Ji}-title`,
2729
2729
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
2730
- }, x(p.value), 9, Mi), E("button", {
2730
+ }, C(p.value), 9, Mi), D("button", {
2731
2731
  type: "button",
2732
2732
  class: "tpl:flex tpl:h-7 tpl:w-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
2733
- "aria-label": A(a).mergeTag.picker.close,
2733
+ "aria-label": P(i).mergeTag.picker.close,
2734
2734
  "data-testid": "merge-tag-picker-close",
2735
- onClick: J
2736
- }, [B(A(Qt), {
2735
+ onClick: q
2736
+ }, [z(P(Qt), {
2737
2737
  size: 16,
2738
2738
  "stroke-width": 2
2739
2739
  })], 8, Ni)]),
2740
- E("div", Pi, [B(A(Vt), {
2740
+ D("div", Pi, [z(P(Vt), {
2741
2741
  class: "tpl:pointer-events-none tpl:absolute tpl:top-1/2 tpl:left-5 tpl:-translate-y-1/2 tpl:text-[var(--tpl-text-dim)]",
2742
2742
  size: 14,
2743
2743
  "stroke-width": 2
2744
- }), g(E("input", {
2744
+ }), a(D("input", {
2745
2745
  id: `${Ji}-search`,
2746
2746
  ref_key: "searchInputRef",
2747
2747
  ref: O,
2748
- "onUpdate:modelValue": t[0] ||= (e) => y.value = e,
2748
+ "onUpdate:modelValue": t[0] ||= (e) => _.value = e,
2749
2749
  type: "text",
2750
2750
  class: "tpl:w-full tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:py-1.5 tpl:pr-3 tpl:pl-8 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]",
2751
- placeholder: A(a).mergeTag.picker.searchPlaceholder,
2752
- "aria-label": A(a).mergeTag.picker.searchAriaLabel,
2751
+ placeholder: P(i).mergeTag.picker.searchPlaceholder,
2752
+ "aria-label": P(i).mergeTag.picker.searchAriaLabel,
2753
2753
  "aria-controls": Ji,
2754
2754
  "aria-activedescendant": ae(),
2755
2755
  "data-testid": "merge-tag-picker-search",
2756
- onKeydown: t[1] ||= b(w(() => {}, ["prevent"]), ["enter"])
2757
- }, null, 40, Fi), [[k, y.value]])]),
2758
- ce.value ? (d(), v("div", Ii, [(d(!0), v(L, null, o(H.value, (e) => (d(), v("button", {
2756
+ onKeydown: t[1] ||= b(E(() => {}, ["prevent"]), ["enter"])
2757
+ }, null, 40, Fi), [[ee, _.value]])]),
2758
+ ce.value ? (f(), v("div", Ii, [(f(!0), v(I, null, o(V.value, (e) => (f(), v("button", {
2759
2759
  key: e,
2760
2760
  type: "button",
2761
2761
  class: "tpl:flex tpl:flex-shrink-0 tpl:cursor-pointer tpl:items-center tpl:rounded-full tpl:border tpl:border-[var(--tpl-border)] tpl:bg-transparent tpl:px-2.5 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
2762
2762
  "data-testid": "merge-tag-picker-group-pill",
2763
2763
  "data-group-name": e,
2764
- onClick: (t) => ie(e)
2765
- }, x(e), 9, Li))), 128))])) : S("", !0),
2766
- E("div", {
2764
+ onClick: (t) => X(e)
2765
+ }, C(e), 9, Li))), 128))])) : w("", !0),
2766
+ D("div", {
2767
2767
  id: Ji,
2768
2768
  ref_key: "listRef",
2769
- ref: X,
2769
+ ref: Y,
2770
2770
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
2771
2771
  role: "listbox",
2772
2772
  "aria-label": p.value,
2773
2773
  "data-testid": "merge-tag-picker-list"
2774
- }, [Q.value ? (d(), v("div", zi, x(A(a).mergeTag.picker.empty), 1)) : se.value ? (d(), v("div", Bi, x(A(a).mergeTag.picker.noResults), 1)) : (d(!0), v(L, { key: 2 }, o(ee.value, (e, t) => (d(), v(L, { key: t }, [e.kind === "header" ? (d(), v("button", {
2774
+ }, [Q.value ? (f(), v("div", zi, C(P(i).mergeTag.picker.empty), 1)) : se.value ? (f(), v("div", Bi, C(P(i).mergeTag.picker.noResults), 1)) : (f(!0), v(I, { key: 2 }, o(te.value, (e, t) => (f(), v(I, { key: t }, [e.kind === "header" ? (f(), v("button", {
2775
2775
  key: 0,
2776
2776
  ref_for: !0,
2777
- ref: (t) => ne(e.group, t),
2777
+ ref: (t) => re(e.group, t),
2778
2778
  type: "button",
2779
- "aria-expanded": !I(e.group),
2779
+ "aria-expanded": !F(e.group),
2780
2780
  "aria-controls": Ji,
2781
2781
  class: "tpl:sticky tpl:top-0 tpl:z-10 tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-[var(--tpl-bg-elevated)] tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-left tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)]",
2782
2782
  "data-testid": "merge-tag-picker-group-header",
2783
2783
  "data-group-name": e.group,
2784
- "data-group-collapsed": I(e.group) ? "true" : "false",
2785
- onClick: (t) => z(e.group)
2784
+ "data-group-collapsed": F(e.group) ? "true" : "false",
2785
+ onClick: (t) => R(e.group)
2786
2786
  }, [
2787
- B(A(Bt), {
2787
+ z(P(tn), {
2788
2788
  size: 12,
2789
2789
  "stroke-width": 2,
2790
- class: T(["tpl:transition-transform", I(e.group) ? "tpl:-rotate-90" : ""])
2790
+ class: L(["tpl:transition-transform", F(e.group) ? "tpl:-rotate-90" : ""])
2791
2791
  }, null, 8, ["class"]),
2792
- E("span", null, x(e.group), 1),
2793
- E("span", Hi, " (" + x(A(s)(A(a).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
2794
- ], 8, Vi)) : (d(), v("button", {
2792
+ D("span", null, C(e.group), 1),
2793
+ D("span", Hi, " (" + C(P(s)(P(i).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
2794
+ ], 8, Vi)) : (f(), v("button", {
2795
2795
  key: 1,
2796
2796
  id: oe(e.index),
2797
2797
  type: "button",
2798
2798
  role: "option",
2799
- "aria-selected": e.index === N.value,
2800
- "data-selected": e.index === N.value ? "true" : "false",
2799
+ "aria-selected": e.index === j.value,
2800
+ "data-selected": e.index === j.value ? "true" : "false",
2801
2801
  "data-merge-tag-index": e.index,
2802
2802
  "data-merge-tag-value": e.tag.value,
2803
- "aria-current": e.tag.value === A(r).current.value?.value ? "true" : void 0,
2804
- title: _(e.tag),
2805
- class: T(["tpl:flex tpl:w-full tpl:cursor-pointer tpl:flex-col tpl:items-start tpl:gap-0.5 tpl:border-none tpl:px-3 tpl:py-1.5 tpl:text-left tpl:transition-colors", e.index === N.value ? "tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:bg-transparent tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
2803
+ "aria-current": e.tag.value === P(n).current.value?.value ? "true" : void 0,
2804
+ title: m(e.tag),
2805
+ class: L(["tpl:flex tpl:w-full tpl:cursor-pointer tpl:flex-col tpl:items-start tpl:gap-0.5 tpl:border-none tpl:px-3 tpl:py-1.5 tpl:text-left tpl:transition-colors", e.index === j.value ? "tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:bg-transparent tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
2806
2806
  "data-testid": "merge-tag-picker-item",
2807
- onMousemove: (t) => K(e.index),
2808
- onClick: (t) => q(e.tag)
2807
+ onMousemove: (t) => G(e.index),
2808
+ onClick: (t) => K(e.tag)
2809
2809
  }, [
2810
- E("span", Wi, x(e.tag.label), 1),
2811
- E("span", Gi, x(e.tag.value), 1),
2812
- e.tag.description ? (d(), v("span", Ki, x(e.tag.description), 1)) : S("", !0),
2813
- e.tag.sample === void 0 ? S("", !0) : (d(), v("span", qi, x(A(s)(A(a).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
2810
+ D("span", Wi, C(e.tag.label), 1),
2811
+ D("span", Gi, C(e.tag.value), 1),
2812
+ e.tag.description ? (f(), v("span", Ki, C(e.tag.description), 1)) : w("", !0),
2813
+ e.tag.sample === void 0 ? w("", !0) : (f(), v("span", qi, C(P(s)(P(i).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
2814
2814
  ], 42, Ui))], 64))), 128))], 8, Ri)
2815
2815
  ], 12, Ai)]),
2816
2816
  _: 1
2817
2817
  }, 8, ["visible"]));
2818
2818
  }
2819
- }), Xi = ["data-logic-keyword"], Zi = /* @__PURE__ */ r({
2819
+ }), Xi = ["data-logic-keyword"], Zi = /* @__PURE__ */ n({
2820
2820
  __name: "LogicTagBadge",
2821
2821
  props: {
2822
2822
  value: {},
2823
2823
  syntax: {}
2824
2824
  },
2825
2825
  setup(e) {
2826
- let t = e, n = j(() => de(t.value, t.syntax)), r = j(() => Q(t.value, t.syntax));
2827
- return (e, t) => n.value ? (d(), v("span", {
2826
+ let t = e, n = A(() => de(t.value, t.syntax)), r = A(() => Q(t.value, t.syntax));
2827
+ return (e, t) => n.value ? (f(), v("span", {
2828
2828
  key: 0,
2829
2829
  class: "tpl:inline-flex tpl:flex-shrink-0 tpl:items-center tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:leading-none tpl:font-bold tpl:tracking-wide tpl:uppercase",
2830
2830
  style: {
@@ -2833,7 +2833,7 @@ var Dr = ["aria-label"], Or = {
2833
2833
  },
2834
2834
  "data-testid": "merge-tag-logic-badge",
2835
2835
  "data-logic-keyword": r.value
2836
- }, x(r.value), 9, Xi)) : S("", !0);
2836
+ }, C(r.value), 9, Xi)) : w("", !0);
2837
2837
  }
2838
2838
  }), Qi = ["aria-labelledby", "data-tpl-theme"], $i = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, ea = ["id"], ta = ["aria-label"], na = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, ra = [
2839
2839
  "id",
@@ -2865,24 +2865,24 @@ var Dr = ["aria-label"], Or = {
2865
2865
  }, pa = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, ma = {
2866
2866
  key: 0,
2867
2867
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
2868
- }, ha = "tpl-logic-picker-list", ga = /* @__PURE__ */ r({
2868
+ }, ha = "tpl-logic-picker-list", ga = /* @__PURE__ */ n({
2869
2869
  __name: "LogicTagPickerModal",
2870
- setup(n) {
2871
- let r = at(st, "LogicTagPickerModal"), { t: a } = $(), s = i(pt, le.liquid), c = i(lt, null), l = i(vt, null), u = e(""), f = De(u, 200), p = e(null), _ = j(() => f.value.trim().length > 0), y = e(0);
2872
- function D(e) {
2873
- let t = f.value.trim().toLowerCase();
2870
+ setup(t) {
2871
+ let n = at(st, "LogicTagPickerModal"), { t: i } = $(), s = r(pt, le.liquid), c = r(lt, null), l = r(vt, null), u = S(""), d = De(u, 200), p = S(null), m = A(() => d.value.trim().length > 0), _ = S(0);
2872
+ function y(e) {
2873
+ let t = d.value.trim().toLowerCase();
2874
2874
  return !t || e.filter(Boolean).join(" ").toLowerCase().includes(t);
2875
2875
  }
2876
- let O = j(() => r.tags.value.filter((e) => D([
2876
+ let O = A(() => n.tags.value.filter((e) => y([
2877
2877
  e.label,
2878
2878
  e.value,
2879
2879
  e.description
2880
- ]))), M = j(() => r.pairs.value.filter((e) => D([
2880
+ ]))), k = A(() => n.pairs.value.filter((e) => y([
2881
2881
  e.label,
2882
2882
  e.before,
2883
2883
  e.after,
2884
2884
  e.description
2885
- ]))), N = j(() => [...M.value.map((e) => ({
2885
+ ]))), j = A(() => [...k.value.map((e) => ({
2886
2886
  kind: "pair",
2887
2887
  pair: e,
2888
2888
  group: e.group
@@ -2890,16 +2890,16 @@ var Dr = ["aria-label"], Or = {
2890
2890
  kind: "tag",
2891
2891
  tag: e,
2892
2892
  group: e.group
2893
- }))]), P = j(() => r.tags.value.some((e) => !!e.group) || r.pairs.value.some((e) => !!e.group));
2894
- function F(e) {
2895
- let t = a.logicTag.picker.otherGroup, n = /* @__PURE__ */ new Map(), r = [];
2893
+ }))]), M = A(() => n.tags.value.some((e) => !!e.group) || n.pairs.value.some((e) => !!e.group));
2894
+ function N(e) {
2895
+ let t = i.logicTag.picker.otherGroup, n = /* @__PURE__ */ new Map(), r = [];
2896
2896
  for (let i of e) {
2897
2897
  let e = i.group ?? t;
2898
2898
  n.has(e) || (n.set(e, []), r.push(e)), n.get(e).push(i);
2899
2899
  }
2900
2900
  return r.map((e) => [e, n.get(e)]);
2901
2901
  }
2902
- let I = j(() => {
2902
+ let F = A(() => {
2903
2903
  let e = [], t = [], n = 0, r = (r) => {
2904
2904
  r.kind === "tag" ? (e.push({
2905
2905
  kind: "tag",
@@ -2910,9 +2910,9 @@ var Dr = ["aria-label"], Or = {
2910
2910
  pair: r.pair,
2911
2911
  index: n
2912
2912
  }), t.push(r.pair)), n++;
2913
- }, i = N.value;
2914
- if (_.value || !P.value) for (let e of i) r(e);
2915
- else for (let [t, n] of F(i)) {
2913
+ }, i = j.value;
2914
+ if (m.value || !M.value) for (let e of i) r(e);
2915
+ else for (let [t, n] of N(i)) {
2916
2916
  e.push({
2917
2917
  kind: "header",
2918
2918
  label: t
@@ -2923,127 +2923,127 @@ var Dr = ["aria-label"], Or = {
2923
2923
  rows: e,
2924
2924
  items: t
2925
2925
  };
2926
- }), z = j(() => I.value.items), V = j(() => r.tags.value.length === 0 && r.pairs.value.length === 0), H = j(() => !V.value && z.value.length === 0);
2927
- h(() => r.isOpen.value, (e) => {
2928
- e && (u.value = "", y.value = 0, t(() => p.value?.focus()));
2929
- }), h(z, (e) => {
2930
- y.value >= e.length && (y.value = Math.max(0, e.length - 1));
2926
+ }), R = A(() => F.value.items), B = A(() => n.tags.value.length === 0 && n.pairs.value.length === 0), V = A(() => !B.value && R.value.length === 0);
2927
+ h(() => n.isOpen.value, (t) => {
2928
+ t && (u.value = "", _.value = 0, e(() => p.value?.focus()));
2929
+ }), h(R, (e) => {
2930
+ _.value >= e.length && (_.value = Math.max(0, e.length - 1));
2931
2931
  });
2932
- let ee = e(null);
2933
- function U(e) {
2934
- r.resolve(e);
2932
+ let te = S(null);
2933
+ function H(e) {
2934
+ n.resolve(e);
2935
2935
  }
2936
- function W() {
2937
- r.resolve(null);
2936
+ function U() {
2937
+ n.resolve(null);
2938
2938
  }
2939
- function G(e) {
2940
- z.value.length !== 0 && (y.value = Math.max(0, Math.min(z.value.length - 1, y.value + e)), t(() => {
2941
- ee.value?.querySelector(`[data-logic-index="${y.value}"]`)?.scrollIntoView({ block: "nearest" });
2939
+ function W(t) {
2940
+ R.value.length !== 0 && (_.value = Math.max(0, Math.min(R.value.length - 1, _.value + t)), e(() => {
2941
+ te.value?.querySelector(`[data-logic-index="${_.value}"]`)?.scrollIntoView({ block: "nearest" });
2942
2942
  }));
2943
2943
  }
2944
- function K(e) {
2945
- if (e.key === "ArrowDown") e.preventDefault(), G(1);
2946
- else if (e.key === "ArrowUp") e.preventDefault(), G(-1);
2944
+ function G(e) {
2945
+ if (e.key === "ArrowDown") e.preventDefault(), W(1);
2946
+ else if (e.key === "ArrowUp") e.preventDefault(), W(-1);
2947
2947
  else if (e.key === "Enter") {
2948
2948
  e.preventDefault();
2949
- let t = z.value[y.value];
2950
- t && U(t);
2949
+ let t = R.value[_.value];
2950
+ t && H(t);
2951
2951
  }
2952
2952
  }
2953
- function q(e) {
2953
+ function K(e) {
2954
2954
  return `${ha}-opt-${e}`;
2955
2955
  }
2956
- function J() {
2957
- return z.value.length === 0 ? void 0 : `${ha}-opt-${y.value}`;
2956
+ function q() {
2957
+ return R.value.length === 0 ? void 0 : `${ha}-opt-${_.value}`;
2958
2958
  }
2959
- return (e, t) => (d(), C(En, {
2960
- visible: A(r).isOpen.value,
2961
- onClose: W,
2962
- onKeydown: K
2959
+ return (e, t) => (f(), T(En, {
2960
+ visible: P(n).isOpen.value,
2961
+ onClose: U,
2962
+ onKeydown: G
2963
2963
  }, {
2964
- default: m(() => [E("div", {
2964
+ default: g(() => [D("div", {
2965
2965
  role: "dialog",
2966
2966
  "aria-modal": "true",
2967
2967
  "aria-labelledby": `${ha}-title`,
2968
- "data-tpl-theme": A(l),
2968
+ "data-tpl-theme": P(l),
2969
2969
  "data-testid": "logic-picker-modal",
2970
2970
  class: "tpl tpl:flex tpl:max-h-[80%] tpl:w-[420px] tpl:max-w-full tpl:flex-col tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-lg)]",
2971
- style: R(A(c))
2971
+ style: x(P(c))
2972
2972
  }, [
2973
- E("header", $i, [E("h2", {
2973
+ D("header", $i, [D("h2", {
2974
2974
  id: `${ha}-title`,
2975
2975
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
2976
- }, x(A(a).logicTag.picker.title), 9, ea), E("button", {
2976
+ }, C(P(i).logicTag.picker.title), 9, ea), D("button", {
2977
2977
  type: "button",
2978
2978
  class: "tpl:flex tpl:h-7 tpl:w-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
2979
- "aria-label": A(a).logicTag.picker.close,
2979
+ "aria-label": P(i).logicTag.picker.close,
2980
2980
  "data-testid": "logic-picker-close",
2981
- onClick: W
2982
- }, [B(A(Qt), {
2981
+ onClick: U
2982
+ }, [z(P(Qt), {
2983
2983
  size: 16,
2984
2984
  "stroke-width": 2
2985
2985
  })], 8, ta)]),
2986
- E("div", na, [B(A(Vt), {
2986
+ D("div", na, [z(P(Vt), {
2987
2987
  class: "tpl:pointer-events-none tpl:absolute tpl:top-1/2 tpl:left-5 tpl:-translate-y-1/2 tpl:text-[var(--tpl-text-dim)]",
2988
2988
  size: 14,
2989
2989
  "stroke-width": 2
2990
- }), g(E("input", {
2990
+ }), a(D("input", {
2991
2991
  id: `${ha}-search`,
2992
2992
  ref_key: "searchInputRef",
2993
2993
  ref: p,
2994
2994
  "onUpdate:modelValue": t[0] ||= (e) => u.value = e,
2995
2995
  type: "text",
2996
2996
  class: "tpl:w-full tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:py-1.5 tpl:pr-3 tpl:pl-8 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]",
2997
- placeholder: A(a).logicTag.picker.searchPlaceholder,
2998
- "aria-label": A(a).logicTag.picker.searchAriaLabel,
2997
+ placeholder: P(i).logicTag.picker.searchPlaceholder,
2998
+ "aria-label": P(i).logicTag.picker.searchAriaLabel,
2999
2999
  "aria-controls": ha,
3000
- "aria-activedescendant": J(),
3000
+ "aria-activedescendant": q(),
3001
3001
  "data-testid": "logic-picker-search",
3002
- onKeydown: t[1] ||= b(w(() => {}, ["prevent"]), ["enter"])
3003
- }, null, 40, ra), [[k, u.value]])]),
3004
- E("div", {
3002
+ onKeydown: t[1] ||= b(E(() => {}, ["prevent"]), ["enter"])
3003
+ }, null, 40, ra), [[ee, u.value]])]),
3004
+ D("div", {
3005
3005
  id: ha,
3006
3006
  ref_key: "listRef",
3007
- ref: ee,
3007
+ ref: te,
3008
3008
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3009
3009
  role: "listbox",
3010
- "aria-label": A(a).logicTag.picker.title,
3010
+ "aria-label": P(i).logicTag.picker.title,
3011
3011
  "data-testid": "logic-picker-list"
3012
- }, [V.value ? (d(), v("div", aa, x(A(a).logicTag.picker.empty), 1)) : H.value ? (d(), v("div", oa, x(A(a).logicTag.picker.noResults), 1)) : (d(!0), v(L, { key: 2 }, o(I.value.rows, (e, n) => (d(), v(L, { key: n }, [e.kind === "header" ? (d(), v("div", {
3012
+ }, [B.value ? (f(), v("div", aa, C(P(i).logicTag.picker.empty), 1)) : V.value ? (f(), v("div", oa, C(P(i).logicTag.picker.noResults), 1)) : (f(!0), v(I, { key: 2 }, o(F.value.rows, (e, n) => (f(), v(I, { key: n }, [e.kind === "header" ? (f(), v("div", {
3013
3013
  key: 0,
3014
3014
  class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
3015
3015
  "data-testid": "logic-picker-header",
3016
3016
  "data-group-name": e.label
3017
- }, x(e.label), 9, sa)) : (d(), v("button", {
3017
+ }, C(e.label), 9, sa)) : (f(), v("button", {
3018
3018
  key: 1,
3019
- id: q(e.index),
3019
+ id: K(e.index),
3020
3020
  type: "button",
3021
3021
  role: "option",
3022
- "aria-selected": e.index === y.value,
3023
- "data-selected": e.index === y.value ? "true" : "false",
3022
+ "aria-selected": e.index === _.value,
3023
+ "data-selected": e.index === _.value ? "true" : "false",
3024
3024
  "data-logic-index": e.index,
3025
3025
  "data-logic-kind": e.kind,
3026
- class: T(["tpl:flex tpl:w-full tpl:cursor-pointer tpl:flex-col tpl:items-start tpl:gap-0.5 tpl:border-none tpl:px-3 tpl:py-1.5 tpl:text-left tpl:transition-colors", e.index === y.value ? "tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:bg-transparent tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
3026
+ class: L(["tpl:flex tpl:w-full tpl:cursor-pointer tpl:flex-col tpl:items-start tpl:gap-0.5 tpl:border-none tpl:px-3 tpl:py-1.5 tpl:text-left tpl:transition-colors", e.index === _.value ? "tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:bg-transparent tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
3027
3027
  "data-testid": "logic-picker-item",
3028
- onMousemove: (t) => y.value = e.index,
3029
- onClick: (t) => U(e.kind === "tag" ? e.tag : e.pair)
3028
+ onMousemove: (t) => _.value = e.index,
3029
+ onClick: (t) => H(e.kind === "tag" ? e.tag : e.pair)
3030
3030
  }, [
3031
- E("span", la, [E("span", ua, x(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (d(), v("span", da, [B(Zi, {
3031
+ D("span", la, [D("span", ua, C(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (f(), v("span", da, [z(Zi, {
3032
3032
  value: e.tag.value,
3033
- syntax: A(s)
3034
- }, null, 8, ["value", "syntax"])])) : (d(), v("span", fa, [
3035
- B(Zi, {
3033
+ syntax: P(s)
3034
+ }, null, 8, ["value", "syntax"])])) : (f(), v("span", fa, [
3035
+ z(Zi, {
3036
3036
  value: e.pair.before,
3037
- syntax: A(s)
3037
+ syntax: P(s)
3038
3038
  }, null, 8, ["value", "syntax"]),
3039
- t[2] ||= E("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
3040
- B(Zi, {
3039
+ t[2] ||= D("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
3040
+ z(Zi, {
3041
3041
  value: e.pair.after,
3042
- syntax: A(s)
3042
+ syntax: P(s)
3043
3043
  }, null, 8, ["value", "syntax"])
3044
3044
  ]))]),
3045
- E("span", pa, x(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
3046
- (e.kind === "tag" ? e.tag.description : e.pair.description) ? (d(), v("span", ma, x(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : S("", !0)
3045
+ D("span", pa, C(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
3046
+ (e.kind === "tag" ? e.tag.description : e.pair.description) ? (f(), v("span", ma, C(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : w("", !0)
3047
3047
  ], 42, ca))], 64))), 128))], 8, ia)
3048
3048
  ], 12, Qi)]),
3049
3049
  _: 1
@@ -3053,7 +3053,7 @@ var Dr = ["aria-label"], Or = {
3053
3053
  key: 0,
3054
3054
  "data-testid": "merge-tag-mode-toggle-anchor",
3055
3055
  class: "tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-[var(--tpl-shadow-md)]"
3056
- }, Sa = { class: "tpl-main tpl:flex tpl:py-8" }, Ca = ["aria-label"], wa = /*#__PURE__*/ nn(/* @__PURE__ */ r({
3056
+ }, Sa = { class: "tpl-main tpl:flex tpl:py-8" }, Ca = ["aria-label"], wa = /*#__PURE__*/ nn(/* @__PURE__ */ n({
3057
3057
  __name: "Editor",
3058
3058
  props: {
3059
3059
  config: {},
@@ -3066,141 +3066,141 @@ var Dr = ["aria-label"], Or = {
3066
3066
  canRenderHtml: { type: Function },
3067
3067
  usesLocalRenderer: { type: Function }
3068
3068
  },
3069
- setup(t, { expose: n }) {
3070
- let r = t;
3071
- a(ct, {
3072
- renderHtml: () => r.renderHtml?.() ?? Promise.reject(/* @__PURE__ */ Error("HTML rendering is unavailable")),
3073
- canRenderHtml: () => r.canRenderHtml?.() ?? !1,
3074
- cloud: !!r.cloud,
3075
- options: r.config.lint ?? {}
3069
+ setup(e, { expose: t }) {
3070
+ let n = e;
3071
+ i(ct, {
3072
+ renderHtml: () => n.renderHtml?.() ?? Promise.reject(/* @__PURE__ */ Error("HTML rendering is unavailable")),
3073
+ canRenderHtml: () => n.canRenderHtml?.() ?? !1,
3074
+ cloud: !!n.cloud,
3075
+ options: n.config.lint ?? {}
3076
3076
  });
3077
- let i = {
3077
+ let r = {
3078
3078
  get tags() {
3079
3079
  return Z.mergeTags.value;
3080
3080
  },
3081
3081
  get syntax() {
3082
3082
  return Z.mergeTagSyntax;
3083
3083
  }
3084
- }, o = r.config.templates ? sn(r.config.templates, i) : void 0;
3085
- r.config.collaboration && !o && jt.warn("config.collaboration needs config.templates: collaboration runs on a loaded template, and only a templates provider loads one. Collaboration is off.");
3086
- let s = r.config.collaboration && o ? Pn({
3087
- provider: r.config.collaboration,
3084
+ }, o = n.config.templates ? sn(n.config.templates, r) : void 0;
3085
+ n.config.collaboration && !o && jt.warn("config.collaboration needs config.templates: collaboration runs on a loaded template, and only a templates provider loads one. Collaboration is off.");
3086
+ let s = n.config.collaboration && o ? Pn({
3087
+ provider: n.config.collaboration,
3088
3088
  loadTemplate: (e) => o.load(e),
3089
- user: r.config.user,
3090
- mergeTags: i,
3091
- onRemoteChange: r.config.onRemoteChange,
3092
- onError: r.config.onError
3093
- }) : null, u = o && s ? dr(o, s.core, () => {
3094
- let e = p.state.template;
3089
+ user: n.config.user,
3090
+ mergeTags: r,
3091
+ onRemoteChange: n.config.onRemoteChange,
3092
+ onError: n.config.onError
3093
+ }) : null, c = o && s ? dr(o, s.core, () => {
3094
+ let e = d.state.template;
3095
3095
  return e ? {
3096
- ...O(e),
3097
- content: X(O(p.content.value))
3096
+ ...M(e),
3097
+ content: Y(M(d.content.value))
3098
3098
  } : null;
3099
- }) : o, p = Te({
3100
- content: r.config.content,
3101
- defaultFontFamily: r.config.fonts?.defaultFont,
3102
- templateDefaults: kn(r.config),
3103
- templates: u,
3104
- onError: r.config.onError,
3099
+ }) : o, d = Te({
3100
+ content: n.config.content,
3101
+ defaultFontFamily: n.config.fonts?.defaultFont,
3102
+ templateDefaults: kn(n.config),
3103
+ templates: c,
3104
+ onError: n.config.onError,
3105
3105
  lockedBlocks: s?.locks
3106
3106
  });
3107
- s?.attach(p);
3108
- let _ = r.cloud ? r.cloud.attach({ editor: p }) : null, b = u ? er({
3109
- provider: u,
3110
- editor: p,
3111
- guardUnsavedChanges: r.config.templates?.unsavedChangesGuard,
3112
- getSaveGate: r.cloud ? () => r.cloud.getSaveGate() : void 0
3107
+ s?.attach(d);
3108
+ let m = n.cloud ? n.cloud.attach({ editor: d }) : null, _ = c ? er({
3109
+ provider: c,
3110
+ editor: d,
3111
+ guardUnsavedChanges: n.config.templates?.unsavedChangesGuard,
3112
+ getSaveGate: n.cloud ? () => n.cloud.getSaveGate() : void 0
3113
3113
  }) : null;
3114
- r.config.onDirtyChange && h(() => p.state.isDirty, (e) => r.config.onDirtyChange(e));
3115
- let k = e(null), M = r.config.savedBlocks ? Qn({
3116
- provider: r.config.savedBlocks,
3117
- editor: p,
3118
- onError: r.config.onError,
3119
- isAvailable: r.cloud ? () => r.cloud.isSavedBlocksAvailable() : void 0
3120
- }) : null, N = f(() => import("./chunks/SavedBlocksPanels-C3nK90pz.js")), F = r.config.media || r.config.onRequestMedia ? Xn({
3121
- provider: r.config.media,
3122
- onRequestMedia: r.config.onRequestMedia,
3123
- getTemplateId: () => p.state.template?.id,
3124
- onError: r.config.onError
3125
- }) : null, I = f(() => import("./chunks/MediaPanels-D0BdxdqP.js")), L = r.config.testEmail ? ar({
3126
- provider: r.config.testEmail,
3127
- getContent: () => p.content.value,
3128
- renderMjml: r.renderMjml,
3129
- usesLocalRenderer: r.usesLocalRenderer,
3130
- onError: r.config.onError,
3131
- isAvailable: r.cloud ? () => r.cloud.isTestEmailAvailable() : void 0
3132
- }) : null, V = f(() => import("./chunks/TestEmailPanel-BDBAvAfI.js")), H = r.config.comments ? Fn({
3133
- provider: r.config.comments,
3134
- editor: p,
3135
- user: r.config.user,
3136
- isOpen: _?.panelState.commentsOpen,
3137
- onError: r.config.onError,
3138
- isAvailable: r.cloud ? () => r.cloud.isCommentsAvailable() : void 0,
3139
- isBlockSaved: r.cloud ? (e) => r.cloud.isBlockSaved(e) : void 0
3140
- }) : null, ee = f(() => import("./chunks/CommentsPanel-CAiwilM2.js")), U = f(() => import("./chunks/AiPanels-B4uAVRoO.js")), W = r.config.ai ? Un({
3141
- provider: r.config.ai,
3142
- editor: p,
3114
+ n.config.onDirtyChange && h(() => d.state.isDirty, (e) => n.config.onDirtyChange(e));
3115
+ let b = S(null), k = n.config.savedBlocks ? Qn({
3116
+ provider: n.config.savedBlocks,
3117
+ editor: d,
3118
+ onError: n.config.onError,
3119
+ isAvailable: n.cloud ? () => n.cloud.isSavedBlocksAvailable() : void 0
3120
+ }) : null, ee = p(() => import("./chunks/SavedBlocksPanels-C6--Bc81.js")), j = n.config.media || n.config.onRequestMedia ? Xn({
3121
+ provider: n.config.media,
3122
+ onRequestMedia: n.config.onRequestMedia,
3123
+ getTemplateId: () => d.state.template?.id,
3124
+ onError: n.config.onError
3125
+ }) : null, F = p(() => import("./chunks/MediaPanels-BIdcW_1f.js")), I = n.config.testEmail ? ar({
3126
+ provider: n.config.testEmail,
3127
+ getContent: () => d.content.value,
3128
+ renderMjml: n.renderMjml,
3129
+ usesLocalRenderer: n.usesLocalRenderer,
3130
+ onError: n.config.onError,
3131
+ isAvailable: n.cloud ? () => n.cloud.isTestEmailAvailable() : void 0
3132
+ }) : null, B = p(() => import("./chunks/TestEmailPanel-CcUpEpAn.js")), V = n.config.comments ? Fn({
3133
+ provider: n.config.comments,
3134
+ editor: d,
3135
+ user: n.config.user,
3136
+ isOpen: m?.panelState.commentsOpen,
3137
+ onError: n.config.onError,
3138
+ isAvailable: n.cloud ? () => n.cloud.isCommentsAvailable() : void 0,
3139
+ isBlockSaved: n.cloud ? (e) => n.cloud.isBlockSaved(e) : void 0
3140
+ }) : null, te = p(() => import("./chunks/CommentsPanel-DoJnKLXI.js")), H = p(() => import("./chunks/AiPanels-0wBarZSH.js")), U = n.config.ai ? Un({
3141
+ provider: n.config.ai,
3142
+ editor: d,
3143
3143
  collaboration: s,
3144
3144
  history: () => Z.history,
3145
- reload: b ? (e, t) => b.load(e, t) : null,
3146
- altMaxLength: () => pn(cr(r.config)),
3145
+ reload: _ ? (e, t) => _.load(e, t) : null,
3146
+ altMaxLength: () => pn(cr(n.config)),
3147
3147
  mergeTags: () => qn(Z.mergeTags.value, Z.mergeTagSyntax),
3148
- normalize: (e, t) => an(e, t, i),
3149
- commentsOpen: H?.isOpen ?? null,
3150
- onError: r.config.onError
3148
+ normalize: (e, t) => an(e, t, r),
3149
+ commentsOpen: V?.isOpen ?? null,
3150
+ onError: n.config.onError
3151
3151
  }) : null;
3152
- W && a(Ot, W);
3153
- let G = f(() => import("./chunks/CollaborationNotices-Hf8r08Sw.js")), K = f(() => import("./chunks/CloudPanels-BkmLc2Fl.js")), q = f(() => import("./chunks/CloudHeaderExtras-DtMORiLS.js")), Y = f(() => import("./chunks/VersionHistoryPanels-DB_FZyyg.js")), te = sr(r.config.templates?.autoSave, !1), ne = te && b !== null;
3154
- te && b !== null && !b.canSave.value && jt.warn("config.templates.autoSave is on but this provider's save is false — there is nothing to persist to. Give it a real save function, or use `onChange` to persist the content yourself."), r.config.changeDebounce !== void 0 && b !== null && r.config.templates?.autoSave === void 0 && !r.config.onChange && jt.warn("config.changeDebounce is set but nothing will use it — config.templates.autoSave is unset and there is no onChange either, so the timer has no consumer. Set config.templates.autoSave, or add onChange, so the debounce takes effect.");
3155
- let re = r.config.onChange || ne ? {
3152
+ U && i(Ot, U);
3153
+ let W = p(() => import("./chunks/CollaborationNotices-Bsf1rGW9.js")), G = p(() => import("./chunks/CloudPanels-JMWIoVWh.js")), K = p(() => import("./chunks/CloudHeaderExtras-BMNK_F9p.js")), J = p(() => import("./chunks/VersionHistoryPanels-C6SOVoiT.js")), ne = sr(n.config.templates?.autoSave, !1), re = ne && _ !== null;
3154
+ ne && _ !== null && !_.canSave.value && jt.warn("config.templates.autoSave is on but this provider's save is false — there is nothing to persist to. Give it a real save function, or use `onChange` to persist the content yourself."), n.config.changeDebounce !== void 0 && _ !== null && n.config.templates?.autoSave === void 0 && !n.config.onChange && jt.warn("config.changeDebounce is set but nothing will use it — config.templates.autoSave is unset and there is no onChange either, so the timer has no consumer. Set config.templates.autoSave, or add onChange, so the debounce takes effect.");
3155
+ let ie = n.config.onChange || re ? {
3156
3156
  onChange: () => {
3157
- r.config.onChange?.(JSON.parse(JSON.stringify(p.state.content))), ne && b.requestAutoSave();
3157
+ n.config.onChange?.(JSON.parse(JSON.stringify(d.state.content))), re && _.requestAutoSave();
3158
3158
  },
3159
- ...r.config.changeDebounce === void 0 ? {} : { debounce: r.config.changeDebounce }
3160
- } : null, ie = {
3161
- ...M ? { savedBlocks: M.capability } : {},
3162
- ...b ? { templates: b.capability } : {},
3163
- ...L ? { testEmail: L.capability } : {},
3164
- ...H ? { comments: H.capability } : {},
3159
+ ...n.config.changeDebounce === void 0 ? {} : { debounce: n.config.changeDebounce }
3160
+ } : null, X = {
3161
+ ...k ? { savedBlocks: k.capability } : {},
3162
+ ..._ ? { templates: _.capability } : {},
3163
+ ...I ? { testEmail: I.capability } : {},
3164
+ ...V ? { comments: V.capability } : {},
3165
3165
  ...s ? { collaboration: s.capability } : {},
3166
- ...W ? { ai: W.capability } : {}
3166
+ ...U ? { ai: U.capability } : {}
3167
3167
  }, Z = nt({
3168
- editor: p,
3169
- containerEl: k,
3168
+ editor: d,
3169
+ containerEl: b,
3170
3170
  config: {
3171
- uiTheme: r.config.uiTheme,
3172
- theme: r.config.theme,
3173
- blockDefaults: r.config.blockDefaults,
3174
- templateDefaults: r.config.templateDefaults,
3175
- customBlocks: r.config.customBlocks,
3176
- paletteBlocks: r.config.paletteBlocks,
3177
- htmlBlockPreview: r.config.htmlBlockPreview,
3178
- layout: r.config.layout,
3179
- sectionWrapper: r.config.sectionWrapper,
3180
- colors: r.config.colors,
3181
- templateSettings: r.config.templateSettings,
3182
- mergeTags: r.config.mergeTags,
3183
- logicTags: r.config.logicTags,
3184
- displayConditions: r.config.displayConditions,
3185
- onRequestMedia: F?.requestMedia ?? null,
3186
- canDropMedia: F?.canDrop ?? null,
3187
- resolvePreview: r.config.resolvePreview,
3188
- resolveImageUrl: r.config.resolveImageUrl,
3189
- lint: cr(r.config),
3190
- locale: r.config.locale
3171
+ uiTheme: n.config.uiTheme,
3172
+ theme: n.config.theme,
3173
+ blockDefaults: n.config.blockDefaults,
3174
+ templateDefaults: n.config.templateDefaults,
3175
+ customBlocks: n.config.customBlocks,
3176
+ paletteBlocks: n.config.paletteBlocks,
3177
+ htmlBlockPreview: n.config.htmlBlockPreview,
3178
+ layout: n.config.layout,
3179
+ sectionWrapper: n.config.sectionWrapper,
3180
+ colors: n.config.colors,
3181
+ templateSettings: n.config.templateSettings,
3182
+ mergeTags: n.config.mergeTags,
3183
+ logicTags: n.config.logicTags,
3184
+ displayConditions: n.config.displayConditions,
3185
+ onRequestMedia: j?.requestMedia ?? null,
3186
+ canDropMedia: j?.canDrop ?? null,
3187
+ resolvePreview: n.config.resolvePreview,
3188
+ resolveImageUrl: n.config.resolveImageUrl,
3189
+ lint: cr(n.config),
3190
+ locale: n.config.locale
3191
3191
  },
3192
- translations: r.translations,
3193
- fontsManager: r.fontsManager,
3194
- autoSaveOptions: re,
3195
- capabilities: ie,
3196
- editorRoot: r.shadowRoot,
3192
+ translations: n.translations,
3193
+ fontsManager: n.fontsManager,
3194
+ autoSaveOptions: ie,
3195
+ capabilities: X,
3196
+ editorRoot: n.shadowRoot,
3197
3197
  history: s?.history
3198
- }), ae = e("content"), oe = r.cloud && _ ? r.cloud.ready({
3198
+ }), ae = S("content"), oe = n.cloud && m ? n.cloud.ready({
3199
3199
  core: Z,
3200
- capabilities: ie
3201
- }) : null, Q = r.config.versionHistory ? or({
3202
- provider: r.config.versionHistory,
3203
- editor: rn(p, i),
3200
+ capabilities: X
3201
+ }) : null, Q = n.config.versionHistory ? or({
3202
+ provider: n.config.versionHistory,
3203
+ editor: rn(d, r),
3204
3204
  history: Z.history,
3205
3205
  conditionPreview: Z.conditionPreview,
3206
3206
  autoSave: Z.autoSave,
@@ -3210,69 +3210,69 @@ var Dr = ["aria-label"], Or = {
3210
3210
  catchUp: s.core.catchUp,
3211
3211
  reportReplaceRefused: s.reportReplaceRefused
3212
3212
  } : null,
3213
- saveBeforeRestore: b ? {
3214
- canSave: () => b.canSave.value && !(r.cloud?.getSaveGate()?.shouldBlock.value ?? !1),
3215
- save: () => b.save("restore")
3213
+ saveBeforeRestore: _ ? {
3214
+ canSave: () => _.canSave.value && !(n.cloud?.getSaveGate()?.shouldBlock.value ?? !1),
3215
+ save: () => _.save("restore")
3216
3216
  } : null,
3217
- onError: r.config.onError
3217
+ onError: n.config.onError
3218
3218
  }) : null;
3219
- Q && (ie.versionHistory = Q.capability);
3220
- let se = j(() => H?.isOpen.value === !0 || W !== null && W.panel.value !== null || _?.panelState.rightPanelOpen.value === !0), ce = j(() => p.state.previewMode ? "tpl:left-0 tpl:right-0" : se.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]"), { showNotice: le } = ze(() => r.config.smallScreenNotice);
3221
- c(async () => {
3222
- await r.fontsManager.loadCustomFonts();
3223
- }), l(() => {
3224
- r.fontsManager.cleanupFontLinks(), W?.destroy(), r.cloud?.destroy(), Z.destroy();
3219
+ Q && (X.versionHistory = Q.capability);
3220
+ let se = A(() => V?.isOpen.value === !0 || U !== null && U.panel.value !== null || m?.panelState.rightPanelOpen.value === !0), ce = A(() => d.state.previewMode ? "tpl:left-0 tpl:right-0" : se.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]"), { showNotice: le } = ze(() => n.config.smallScreenNotice);
3221
+ l(async () => {
3222
+ await n.fontsManager.loadCustomFonts();
3223
+ }), u(() => {
3224
+ n.fontsManager.cleanupFontLinks(), U?.destroy(), n.cloud?.destroy(), Z.destroy();
3225
3225
  });
3226
- let ue = b ?? p, de = gn(Z.editorRoot);
3227
- return n({
3228
- getContent: () => p.content.value,
3229
- setContent: (e) => p.setContent(e),
3226
+ let ue = _ ?? d, de = gn(Z.editorRoot);
3227
+ return t({
3228
+ getContent: () => d.content.value,
3229
+ setContent: (e) => d.setContent(e),
3230
3230
  insertBlock: (e) => {
3231
- if (p.state.previewMode) return jt.warn("insertBlock() does nothing in preview mode."), null;
3232
- let t = J(e);
3233
- return ur(p, t) ? (de(t.id), t.id) : null;
3231
+ if (d.state.previewMode) return jt.warn("insertBlock() does nothing in preview mode."), null;
3232
+ let t = q(e);
3233
+ return ur(d, t) ? (de(t.id), t.id) : null;
3234
3234
  },
3235
- setTheme: (e) => p.setUiTheme(e),
3235
+ setTheme: (e) => d.setUiTheme(e),
3236
3236
  setMergeTags: Z.setMergeTags,
3237
- isDirty: () => p.state.isDirty,
3237
+ isDirty: () => d.state.isDirty,
3238
3238
  create: ue.create,
3239
3239
  load: ue.load,
3240
3240
  save: ue.save,
3241
3241
  renderCustomBlock: Z.registry.renderCustomBlock,
3242
3242
  getCustomBlockStylesheet: (e) => Z.registry.getDefinition(e)?.stylesheet
3243
- }), (e, n) => (d(), v("div", {
3243
+ }), (t, n) => (f(), v("div", {
3244
3244
  ref_key: "rootEl",
3245
- ref: k,
3246
- class: T(["tpl tpl:relative tpl:h-full", { "tpl:dark": A(p).state.darkMode }]),
3247
- "data-tpl-theme": A(Z).resolvedTheme.value,
3248
- style: R(A(Z).themeStyles.value),
3249
- onDragover: n[7] ||= w(() => {}, ["prevent"]),
3250
- onDrop: n[8] ||= w(() => {}, ["prevent"])
3245
+ ref: b,
3246
+ class: L(["tpl tpl:relative tpl:h-full", { "tpl:dark": P(d).state.darkMode }]),
3247
+ "data-tpl-theme": P(Z).resolvedTheme.value,
3248
+ style: x(P(Z).themeStyles.value),
3249
+ onDragover: n[7] ||= E(() => {}, ["prevent"]),
3250
+ onDrop: n[8] ||= E(() => {}, ["prevent"])
3251
3251
  }, [
3252
- B(Tr),
3253
- E("div", va, [
3254
- B(ki, {
3255
- editor: A(p),
3256
- core: A(Z),
3257
- templates: A(b),
3258
- "show-template-name": t.config.templates?.nameField !== !1,
3259
- "test-email": A(L),
3260
- "version-history": A(Q),
3261
- comments: A(H),
3262
- collaboration: A(s),
3263
- ai: A(W)
3264
- }, z({ _: 2 }, [A(_) ? {
3252
+ z(Tr),
3253
+ D("div", va, [
3254
+ z(ki, {
3255
+ editor: P(d),
3256
+ core: P(Z),
3257
+ templates: P(_),
3258
+ "show-template-name": e.config.templates?.nameField !== !1,
3259
+ "test-email": P(I),
3260
+ "version-history": P(Q),
3261
+ comments: P(V),
3262
+ collaboration: P(s),
3263
+ ai: P(U)
3264
+ }, R({ _: 2 }, [P(m) ? {
3265
3265
  name: "left-extras",
3266
- fn: m(() => [B(A(q), {
3266
+ fn: g(() => [z(P(K), {
3267
3267
  part: "left",
3268
- cloud: A(_)
3268
+ cloud: P(m)
3269
3269
  }, null, 8, ["cloud"])]),
3270
3270
  key: "0"
3271
- } : void 0, A(_) ? {
3271
+ } : void 0, P(m) ? {
3272
3272
  name: "right-extras",
3273
- fn: m(() => [B(A(q), {
3273
+ fn: g(() => [z(P(K), {
3274
3274
  part: "right",
3275
- cloud: A(_)
3275
+ cloud: P(m)
3276
3276
  }, null, 8, ["cloud"])]),
3277
3277
  key: "1"
3278
3278
  } : void 0]), 1032, [
@@ -3286,35 +3286,35 @@ var Dr = ["aria-label"], Or = {
3286
3286
  "collaboration",
3287
3287
  "ai"
3288
3288
  ]),
3289
- g(B(Fr, null, null, 512), [[P, !A(p).state.previewMode]]),
3290
- E("div", {
3291
- class: T(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", [ce.value, A(Q)?.isPreviewing.value ? "tpl:top-[104px]" : "tpl:top-14"]]),
3289
+ a(z(Fr, null, null, 512), [[N, !P(d).state.previewMode]]),
3290
+ D("div", {
3291
+ class: L(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", [ce.value, P(Q)?.isPreviewing.value ? "tpl:top-[104px]" : "tpl:top-14"]]),
3292
3292
  style: { transition: "all 300ms cubic-bezier(0.34, 1.56, 0.64, 1)" }
3293
- }, [E("div", ya, [E("div", ba, [B(D, { name: "tpl-preview-pill" }, {
3294
- default: m(() => [A(p).state.previewMode && !A(Z).previewResolution.supersedesSamples.value ? (d(), v("div", xa, [B(wn, {
3295
- "sample-mode": A(Z).mergeTagSampleMode.value,
3296
- onChange: n[0] ||= (e) => A(Z).mergeTagSampleMode.value = e
3297
- }, null, 8, ["sample-mode"])])) : S("", !0)]),
3293
+ }, [D("div", ya, [D("div", ba, [z(O, { name: "tpl-preview-pill" }, {
3294
+ default: g(() => [P(d).state.previewMode && !P(Z).previewResolution.supersedesSamples.value ? (f(), v("div", xa, [z(wn, {
3295
+ "sample-mode": P(Z).mergeTagSampleMode.value,
3296
+ onChange: n[0] ||= (e) => P(Z).mergeTagSampleMode.value = e
3297
+ }, null, 8, ["sample-mode"])])) : w("", !0)]),
3298
3298
  _: 1
3299
- }), B(D, { name: "tpl-preview-pill" }, {
3300
- default: m(() => [A(Z).conditionPreview.hasHiddenBlocks.value && A(Z).appliesConditionFilter.value ? (d(), v("button", {
3299
+ }), z(O, { name: "tpl-preview-pill" }, {
3300
+ default: g(() => [P(Z).conditionPreview.hasHiddenBlocks.value && P(Z).appliesConditionFilter.value ? (f(), v("button", {
3301
3301
  key: 0,
3302
3302
  type: "button",
3303
- class: T([A(_n), "tpl:shadow-[var(--tpl-shadow-md)]"]),
3303
+ class: L([P(_n), "tpl:shadow-[var(--tpl-shadow-md)]"]),
3304
3304
  "data-testid": "restore-hidden-blocks",
3305
- onClick: n[1] ||= (e) => A(Z).conditionPreview.reset()
3306
- }, [B(A(zt), {
3305
+ onClick: n[1] ||= (e) => P(Z).conditionPreview.reset()
3306
+ }, [z(P(zt), {
3307
3307
  size: 16,
3308
3308
  "stroke-width": 2
3309
- }), y(" " + x(A(Z).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : S("", !0)]),
3309
+ }), y(" " + C(P(Z).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : w("", !0)]),
3310
3310
  _: 1
3311
- })])]), E("main", Sa, [B(wr, {
3312
- viewport: A(p).state.viewport,
3313
- content: A(Z).previewResolution.content.value,
3314
- "selected-block-id": A(p).state.selectedBlockId,
3315
- "dark-mode": A(p).state.darkMode,
3316
- "preview-mode": A(p).state.previewMode,
3317
- onSelectBlock: A(p).selectBlock
3311
+ })])]), D("main", Sa, [z(wr, {
3312
+ viewport: P(d).state.viewport,
3313
+ content: P(Z).previewResolution.content.value,
3314
+ "selected-block-id": P(d).state.selectedBlockId,
3315
+ "dark-mode": P(d).state.darkMode,
3316
+ "preview-mode": P(d).state.previewMode,
3317
+ onSelectBlock: P(d).selectBlock
3318
3318
  }, null, 8, [
3319
3319
  "viewport",
3320
3320
  "content",
@@ -3323,97 +3323,97 @@ var Dr = ["aria-label"], Or = {
3323
3323
  "preview-mode",
3324
3324
  "onSelectBlock"
3325
3325
  ])])], 2),
3326
- t.config.branding === !1 ? S("", !0) : (d(), C(ai, {
3326
+ e.config.branding === !1 ? w("", !0) : (f(), T(ai, {
3327
3327
  key: 0,
3328
3328
  "position-class": [ce.value]
3329
3329
  }, null, 8, ["position-class"])),
3330
- E("div", {
3330
+ D("div", {
3331
3331
  class: "tpl-sr-only",
3332
3332
  role: "status",
3333
3333
  "aria-live": "polite",
3334
3334
  "aria-atomic": "true",
3335
- "aria-label": A(Z).t.landmarks.reorderAnnouncements
3336
- }, x(A(Z).keyboardReorder.announcement.value), 9, Ca),
3337
- g(B(Qr, {
3335
+ "aria-label": P(Z).t.landmarks.reorderAnnouncements
3336
+ }, C(P(Z).keyboardReorder.announcement.value), 9, Ca),
3337
+ a(z(Qr, {
3338
3338
  tab: ae.value,
3339
3339
  "onUpdate:tab": n[2] ||= (e) => ae.value = e,
3340
- "selected-block": A(p).selectedBlock.value,
3341
- settings: A(p).content.value.settings,
3340
+ "selected-block": P(d).selectedBlock.value,
3341
+ settings: P(d).content.value.settings,
3342
3342
  "shifted-left": se.value,
3343
- onUpdateBlock: n[3] ||= (e) => A(p).updateBlock(A(p).state.selectedBlockId, e),
3343
+ onUpdateBlock: n[3] ||= (e) => P(d).updateBlock(P(d).state.selectedBlockId, e),
3344
3344
  onDeleteBlock: n[4] ||= () => {
3345
- A(p).state.selectedBlockId && A(Z).blockActions.deleteBlock(A(p).state.selectedBlockId);
3345
+ P(d).state.selectedBlockId && P(Z).blockActions.deleteBlock(P(d).state.selectedBlockId);
3346
3346
  },
3347
3347
  onDuplicateBlock: n[5] ||= () => {
3348
- A(p).selectedBlock.value && A(Z).blockActions.duplicateBlock(A(p).selectedBlock.value);
3348
+ P(d).selectedBlock.value && P(Z).blockActions.duplicateBlock(P(d).selectedBlock.value);
3349
3349
  },
3350
- onUpdateSettings: n[6] ||= (e) => A(p).updateSettings(e)
3350
+ onUpdateSettings: n[6] ||= (e) => P(d).updateSettings(e)
3351
3351
  }, null, 8, [
3352
3352
  "tab",
3353
3353
  "selected-block",
3354
3354
  "settings",
3355
3355
  "shifted-left"
3356
- ]), [[P, !A(p).state.previewMode]])
3356
+ ]), [[N, !P(d).state.previewMode]])
3357
3357
  ]),
3358
- E("div", {
3359
- ref: (e) => A(Z).popoverRoot.value = e,
3358
+ D("div", {
3359
+ ref: (e) => P(Z).popoverRoot.value = e,
3360
3360
  class: "tpl-popover-root"
3361
3361
  }, null, 512),
3362
- B(Yi),
3363
- B(ga),
3364
- A(M)?.isAvailable.value ? (d(), C(A(N), {
3362
+ z(Yi),
3363
+ z(ga),
3364
+ P(k)?.isAvailable.value ? (f(), T(P(ee), {
3365
3365
  key: 0,
3366
- feature: A(M)
3367
- }, null, 8, ["feature"])) : S("", !0),
3368
- t.config.media && A(F) ? (d(), C(A(I), {
3366
+ feature: P(k)
3367
+ }, null, 8, ["feature"])) : w("", !0),
3368
+ e.config.media && P(j) ? (f(), T(P(F), {
3369
3369
  key: 1,
3370
- feature: A(F),
3371
- provider: t.config.media,
3372
- locale: t.config.locale,
3373
- "ui-theme": A(Z).resolvedTheme.value,
3374
- "popover-target": A(Z).popoverRoot.value
3370
+ feature: P(j),
3371
+ provider: e.config.media,
3372
+ locale: e.config.locale,
3373
+ "ui-theme": P(Z).resolvedTheme.value,
3374
+ "popover-target": P(Z).popoverRoot.value
3375
3375
  }, null, 8, [
3376
3376
  "feature",
3377
3377
  "provider",
3378
3378
  "locale",
3379
3379
  "ui-theme",
3380
3380
  "popover-target"
3381
- ])) : S("", !0),
3382
- A(L)?.isAvailable.value ? (d(), C(A(V), {
3381
+ ])) : w("", !0),
3382
+ P(I)?.isAvailable.value ? (f(), T(P(B), {
3383
3383
  key: 2,
3384
- feature: A(L)
3385
- }, null, 8, ["feature"])) : S("", !0),
3386
- A(H)?.isAvailable.value ? (d(), C(A(ee), {
3384
+ feature: P(I)
3385
+ }, null, 8, ["feature"])) : w("", !0),
3386
+ P(V)?.isAvailable.value ? (f(), T(P(te), {
3387
3387
  key: 3,
3388
- feature: A(H)
3389
- }, null, 8, ["feature"])) : S("", !0),
3390
- A(W) ? (d(), C(A(U), {
3388
+ feature: P(V)
3389
+ }, null, 8, ["feature"])) : w("", !0),
3390
+ P(U) ? (f(), T(P(H), {
3391
3391
  key: 4,
3392
- feature: A(W)
3393
- }, null, 8, ["feature"])) : S("", !0),
3394
- A(s) ? (d(), C(A(G), {
3392
+ feature: P(U)
3393
+ }, null, 8, ["feature"])) : w("", !0),
3394
+ P(s) ? (f(), T(P(W), {
3395
3395
  key: 5,
3396
- feature: A(s)
3397
- }, null, 8, ["feature"])) : S("", !0),
3398
- A(Q)?.isAvailable.value ? (d(), C(A(Y), {
3396
+ feature: P(s)
3397
+ }, null, 8, ["feature"])) : w("", !0),
3398
+ P(Q)?.isAvailable.value ? (f(), T(P(J), {
3399
3399
  key: 6,
3400
- feature: A(Q)
3401
- }, null, 8, ["feature"])) : S("", !0),
3402
- t.cloud && A(_) && A(oe) ? (d(), C(A(K), {
3400
+ feature: P(Q)
3401
+ }, null, 8, ["feature"])) : w("", !0),
3402
+ e.cloud && P(m) && P(oe) ? (f(), T(P(G), {
3403
3403
  key: 7,
3404
- editor: A(p),
3405
- core: A(Z),
3406
- runtime: t.cloud,
3407
- cloud: A(_),
3408
- ready: A(oe)
3404
+ editor: P(d),
3405
+ core: P(Z),
3406
+ runtime: e.cloud,
3407
+ cloud: P(m),
3408
+ ready: P(oe)
3409
3409
  }, null, 8, [
3410
3410
  "editor",
3411
3411
  "core",
3412
3412
  "runtime",
3413
3413
  "cloud",
3414
3414
  "ready"
3415
- ])) : S("", !0),
3416
- A(le) ? (d(), C(ri, { key: 8 })) : S("", !0)
3415
+ ])) : w("", !0),
3416
+ P(le) ? (f(), T(ri, { key: 8 })) : w("", !0)
3417
3417
  ], 46, _a));
3418
3418
  }
3419
3419
  }), [["__scopeId", "data-v-42dbfd6a"]]), Ta = /@import\s*(?:url\(\s*(?:"[^"]*"|'[^']*'|[^)]*)\s*\)|"[^"]*"|'[^']*')[^;]*;/g;
@@ -3428,8 +3428,8 @@ function Da(e) {
3428
3428
  };
3429
3429
  }
3430
3430
  async function Oa(e) {
3431
- let t = X(e.getContent()), n = e.getLayout?.(), r = n ? Y(n, t) : t;
3432
- return n || (ce(r), U(r)), await Dn(r, {
3431
+ let t = Y(e.getContent()), n = e.getLayout?.(), r = n ? J(n, t) : t;
3432
+ return n || (ce(r), H(r)), await Dn(r, {
3433
3433
  renderCustomBlock: e.renderCustomBlock,
3434
3434
  getCustomBlockStylesheet: e.getCustomBlockStylesheet
3435
3435
  }), {
@@ -3463,7 +3463,7 @@ function ka(e) {
3463
3463
  };
3464
3464
  }
3465
3465
  // \0virtual:editor-css
3466
- var Aa = "@import\"https://fonts.bunny.net/css?family=geist:400,500,600\";.tpl-loading-track[data-v-e61f3b63]{height:3px;width:100%;border-radius:9999px;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 15%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 30%,var(--tpl-primary) 50%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 70%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 85%,transparent 100%);background-size:200% 100%;animation:tpl-loading-flow-e61f3b63 3s ease-in-out infinite}@keyframes tpl-loading-flow-e61f3b63{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.tpl-loading-track[data-v-e61f3b63]{animation:none;background-position:50% 0}}.tpl-block--idle[data-v-126b991e]{outline:1.5px dashed color-mix(in srgb,var(--tpl-primary) 30%,transparent);outline-offset:-1px;transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block--idle[data-v-126b991e]:hover{outline:1.5px solid color-mix(in srgb,var(--tpl-primary) 50%,transparent);outline-offset:-1px;box-shadow:0 0 8px color-mix(in srgb,var(--tpl-primary) 8%,transparent)}.tpl-block--picked[data-v-126b991e]{outline:2px solid var(--tpl-primary);outline-offset:-1px;box-shadow:0 0 0 4px color-mix(in srgb,var(--tpl-primary) 18%,transparent);transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block--selected[data-v-126b991e]{outline:2px solid color-mix(in srgb,var(--tpl-primary) 60%,transparent);outline-offset:-1px;box-shadow:0 0 12px color-mix(in srgb,var(--tpl-primary) 15%,transparent);transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block-action-btn[data-v-126b991e]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-126b991e]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-126b991e]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-126b991e]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-126b991e]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-126b991e]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-126b991e]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-block-agent-highlight[data-v-126b991e]{outline:2px solid var(--tpl-secondary);outline-offset:-1px;animation:tpl-agent-highlight-126b991e 2s ease-out forwards}@keyframes tpl-agent-highlight-126b991e{0%,50%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.tpl-block-agent-highlight[data-v-126b991e]{animation:none}}.tpl-table-editable[data-v-6751d456] th[contenteditable],.tpl-table-editable[data-v-6751d456] td[contenteditable]{outline:none;cursor:text;min-width:calc(2 * var(--tpl-base-size))}.tpl-table-editable[data-v-6751d456] th[contenteditable]:empty:before,.tpl-table-editable[data-v-6751d456] td[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--tpl-text-dim);pointer-events:none}.tpl-table-editable[data-v-6751d456] th[contenteditable]:focus,.tpl-table-editable[data-v-6751d456] td[contenteditable]:focus{outline:2px solid var(--tpl-primary);outline-offset:-2px;border-radius:1px}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface:not(.tpl-email-surface *){filter:invert(1) hue-rotate(180deg)}[data-v-b9798ef2] .tpl-email-surface{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface img{filter:invert(1) hue-rotate(180deg)}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface.tpl-has-bg-image,.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface .tpl-has-bg-image{position:relative;isolation:isolate;background-image:none!important}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface.tpl-has-bg-image:before,.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface .tpl-has-bg-image:before{content:\"\";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:var(--tpl-block-bg-layer, none);filter:invert(1) hue-rotate(180deg)}.tpl-icon-enter-active[data-v-632aa74f],.tpl-icon-leave-active[data-v-632aa74f]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-632aa74f],.tpl-icon-leave-to[data-v-632aa74f]{opacity:0;transform:scale(.8)}.tpl-dark-mode-toggle[data-v-632aa74f]:hover{background-color:var(--tpl-bg-hover)}.tpl-dark-mode-toggle[data-v-632aa74f]:active{transform:scale(.92)}.tpl-icon-enter-active[data-v-eef7b2ca],.tpl-icon-leave-active[data-v-eef7b2ca]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-eef7b2ca],.tpl-icon-leave-to[data-v-eef7b2ca]{opacity:0;transform:scale(.8)}.tpl-preview-toggle[data-v-eef7b2ca]:hover{background-color:var(--tpl-bg-hover)}.tpl-preview-toggle[data-v-eef7b2ca]:active{transform:scale(.92)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-outline-style:solid}}}@layer theme{:root,:host{--tpl-radius-sm:calc(.25 * var(--tpl-base-size));--tpl-radius-md:calc(.375 * var(--tpl-base-size));--tpl-radius-lg:calc(.5 * var(--tpl-base-size));--tpl-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--tpl-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tpl-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tpl-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--tpl-radius:calc(.25 * var(--tpl-base-size))}}.tpl\\:pointer-events-auto{pointer-events:auto}.tpl\\:pointer-events-none{pointer-events:none}.tpl\\:invisible{visibility:hidden}.tpl\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl\\:absolute{position:absolute}.tpl\\:fixed{position:fixed}.tpl\\:relative{position:relative}.tpl\\:sticky{position:sticky}.tpl\\:inset-0{inset:0}.tpl\\:inset-x-0{inset-inline:0}.tpl\\:inset-y-1{inset-block:calc(var(--tpl-base-size) / 4)}.tpl\\:-top-0\\.5{top:calc(calc(var(--tpl-base-size) / 4) * -.5)}.tpl\\:-top-1{top:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:top-0{top:0}.tpl\\:top-1{top:calc(var(--tpl-base-size) / 4)}.tpl\\:top-1\\.5{top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:top-1\\/2{top:50%}.tpl\\:top-2{top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:top-14{top:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:top-16{top:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:top-\\[104px\\]{top:104px}.tpl\\:top-full{top:100%}.tpl\\:-right-1{right:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:-right-2{right:calc(calc(var(--tpl-base-size) / 4) * -2)}.tpl\\:right-0{right:0}.tpl\\:right-1{right:calc(var(--tpl-base-size) / 4)}.tpl\\:right-1\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:right-2{right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:right-2\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:right-\\[320px\\]{right:320px}.tpl\\:right-\\[360px\\]{right:360px}.tpl\\:right-\\[680px\\]{right:680px}.tpl\\:bottom-0{bottom:0}.tpl\\:bottom-1{bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:bottom-10{bottom:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:bottom-full{bottom:100%}.tpl\\:-left-1{left:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:left-0{left:0}.tpl\\:left-1\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:left-1\\/2{left:50%}.tpl\\:left-2\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:left-3{left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:left-5{left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:left-12{left:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:z-10{z-index:10}.tpl\\:z-20{z-index:20}.tpl\\:z-40{z-index:40}.tpl\\:z-50{z-index:50}.tpl\\:z-\\[4\\]{z-index:4}.tpl\\:z-\\[5\\]{z-index:5}.tpl\\:z-\\[60\\]{z-index:60}.tpl\\:z-\\[100\\]{z-index:100}.tpl\\:m-0{margin:0}.tpl\\:m-6{margin:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-0\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mx-1{margin-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:mx-1\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mx-3{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mx-4{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mx-6{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-auto{margin-inline:auto}.tpl\\:mt-0\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mt-1{margin-top:calc(var(--tpl-base-size) / 4)}.tpl\\:mt-1\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mt-2{margin-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mt-3{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mt-3\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mt-4{margin-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:-mr-1\\.5{margin-right:calc(calc(var(--tpl-base-size) / 4) * -1.5)}.tpl\\:\\!mb-0{margin-bottom:0!important}.tpl\\:mb-1{margin-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:mb-1\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mb-2{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-2\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:mb-3{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mb-3\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mb-4{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mb-px{margin-bottom:1px}.tpl\\:-ml-1\\.5{margin-left:calc(calc(var(--tpl-base-size) / 4) * -1.5)}.tpl\\:-ml-48{margin-left:calc(calc(var(--tpl-base-size) / 4) * -48)}.tpl\\:ml-0{margin-left:0}.tpl\\:ml-0\\.5{margin-left:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:ml-1{margin-left:calc(var(--tpl-base-size) / 4)}.tpl\\:ml-5{margin-left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:ml-auto{margin-left:auto}.tpl\\:box-border{box-sizing:border-box}.tpl\\:line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.tpl\\:line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.tpl\\:\\!flex{display:flex!important}.tpl\\:block{display:block}.tpl\\:contents{display:contents}.tpl\\:flex{display:flex}.tpl\\:grid{display:grid}.tpl\\:inline{display:inline}.tpl\\:inline-block{display:inline-block}.tpl\\:inline-flex{display:inline-flex}.tpl\\:aspect-square{aspect-ratio:1}.tpl\\:size-1\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5);height:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:size-2{width:calc(calc(var(--tpl-base-size) / 4) * 2);height:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:size-4{width:calc(calc(var(--tpl-base-size) / 4) * 4);height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:size-4\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 4.5);height:calc(calc(var(--tpl-base-size) / 4) * 4.5)}.tpl\\:size-5{width:calc(calc(var(--tpl-base-size) / 4) * 5);height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:size-6{width:calc(calc(var(--tpl-base-size) / 4) * 6);height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:size-7{width:calc(calc(var(--tpl-base-size) / 4) * 7);height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:size-8{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:size-10{width:calc(calc(var(--tpl-base-size) / 4) * 10);height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:size-16{width:calc(calc(var(--tpl-base-size) / 4) * 16);height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:size-full{width:100%;height:100%}.tpl\\:h-0{height:0}.tpl\\:h-1\\.5{height:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:h-2\\.5{height:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:h-3{height:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:h-4{height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:h-5{height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:h-6{height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:h-7{height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:h-8{height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:h-9{height:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:h-10{height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:h-12{height:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:h-14{height:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:h-16{height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:h-32{height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:h-44{height:calc(calc(var(--tpl-base-size) / 4) * 44)}.tpl\\:h-\\[32px\\]{height:32px}.tpl\\:h-full{height:100%}.tpl\\:max-h-24{max-height:calc(calc(var(--tpl-base-size) / 4) * 24)}.tpl\\:max-h-32{max-height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:max-h-48{max-height:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:max-h-56{max-height:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:max-h-64{max-height:calc(calc(var(--tpl-base-size) / 4) * 64)}.tpl\\:max-h-\\[50vh\\]{max-height:50vh}.tpl\\:max-h-\\[60vh\\]{max-height:60vh}.tpl\\:max-h-\\[80\\%\\]{max-height:80%}.tpl\\:max-h-\\[80vh\\]{max-height:80vh}.tpl\\:max-h-\\[90\\%\\]{max-height:90%}.tpl\\:max-h-\\[90vh\\]{max-height:90vh}.tpl\\:max-h-full{max-height:100%}.tpl\\:min-h-0{min-height:0}.tpl\\:min-h-6{min-height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:min-h-10{min-height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:min-h-20{min-height:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:min-h-\\[1em\\]{min-height:1em}.tpl\\:min-h-\\[34px\\]{min-height:34px}.tpl\\:min-h-\\[44px\\]{min-height:44px}.tpl\\:min-h-\\[48px\\]{min-height:48px}.tpl\\:min-h-\\[60px\\]{min-height:60px}.tpl\\:min-h-\\[68px\\]{min-height:68px}.tpl\\:min-h-\\[80px\\]{min-height:80px}.tpl\\:min-h-\\[100px\\]{min-height:100px}.tpl\\:min-h-\\[120px\\]{min-height:120px}.tpl\\:min-h-\\[150px\\]{min-height:150px}.tpl\\:min-h-\\[400px\\]{min-height:400px}.tpl\\:w-1\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:w-1\\/2{width:50%}.tpl\\:w-1\\/3{width:33.3333%}.tpl\\:w-1\\/4{width:25%}.tpl\\:w-2\\/3{width:66.6667%}.tpl\\:w-3\\/4{width:75%}.tpl\\:w-5\\/6{width:83.3333%}.tpl\\:w-7{width:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:w-8{width:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:w-9{width:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:w-10{width:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:w-12{width:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:w-16{width:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:w-20{width:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:w-24{width:calc(calc(var(--tpl-base-size) / 4) * 24)}.tpl\\:w-28{width:calc(calc(var(--tpl-base-size) / 4) * 28)}.tpl\\:w-32{width:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:w-36{width:calc(calc(var(--tpl-base-size) / 4) * 36)}.tpl\\:w-40{width:calc(calc(var(--tpl-base-size) / 4) * 40)}.tpl\\:w-48{width:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:w-52{width:calc(calc(var(--tpl-base-size) / 4) * 52)}.tpl\\:w-56{width:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:w-72{width:calc(calc(var(--tpl-base-size) / 4) * 72)}.tpl\\:w-80{width:calc(calc(var(--tpl-base-size) / 4) * 80)}.tpl\\:w-\\[300px\\]{width:300px}.tpl\\:w-\\[320px\\]{width:320px}.tpl\\:w-\\[360px\\]{width:360px}.tpl\\:w-\\[400px\\]{width:400px}.tpl\\:w-\\[420px\\]{width:420px}.tpl\\:w-\\[1000px\\]{width:1000px}.tpl\\:w-\\[min\\(420px\\,92vw\\)\\]{width:min(420px,92vw)}.tpl\\:w-full{width:100%}.tpl\\:w-px{width:1px}.tpl\\:max-w-2xl{max-width:calc(42 * var(--tpl-base-size))}.tpl\\:max-w-3xl{max-width:calc(48 * var(--tpl-base-size))}.tpl\\:max-w-\\[220px\\]{max-width:220px}.tpl\\:max-w-\\[240px\\]{max-width:240px}.tpl\\:max-w-\\[260px\\]{max-width:260px}.tpl\\:max-w-\\[320px\\]{max-width:320px}.tpl\\:max-w-\\[600px\\]{max-width:600px}.tpl\\:max-w-\\[calc\\(100\\%_-_2\\*var\\(--tpl-base-size\\)\\)\\]{max-width:calc(100% - 2 * var(--tpl-base-size))}.tpl\\:max-w-\\[calc\\(100vw_-_2\\*var\\(--tpl-base-size\\)\\)\\]{max-width:calc(100vw - 2 * var(--tpl-base-size))}.tpl\\:max-w-full{max-width:100%}.tpl\\:max-w-md{max-width:calc(28 * var(--tpl-base-size))}.tpl\\:max-w-sm{max-width:calc(24 * var(--tpl-base-size))}.tpl\\:min-w-0{min-width:0}.tpl\\:min-w-6{min-width:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:min-w-\\[20px\\]{min-width:20px}.tpl\\:min-w-\\[200px\\]{min-width:200px}.tpl\\:flex-1{flex:1}.tpl\\:flex-shrink-0,.tpl\\:shrink-0{flex-shrink:0}.tpl\\:grow{flex-grow:1}.tpl\\:-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-4{--tw-translate-x:calc(calc(var(--tpl-base-size) / 4) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-2{--tw-translate-y:calc(calc(var(--tpl-base-size) / 4) * -2);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-1{--tw-translate-y:calc(var(--tpl-base-size) / 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:-rotate-90{rotate:-90deg}.tpl\\:rotate-0{rotate:0deg}.tpl\\:rotate-45{rotate:45deg}.tpl\\:rotate-90{rotate:90deg}.tpl\\:rotate-180{rotate:180deg}.tpl\\:animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.tpl\\:animate-spin{animation:1s linear infinite spin}.tpl\\:cursor-default{cursor:default}.tpl\\:cursor-grab{cursor:grab}.tpl\\:cursor-help{cursor:help}.tpl\\:cursor-not-allowed{cursor:not-allowed}.tpl\\:cursor-pointer{cursor:pointer}.tpl\\:resize-none{resize:none}.tpl\\:resize-y{resize:vertical}.tpl\\:list-disc{list-style-type:disc}.tpl\\:list-none{list-style-type:none}.tpl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.tpl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.tpl\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.tpl\\:grid-cols-\\[1fr_auto_1fr\\]{grid-template-columns:1fr auto 1fr}.tpl\\:flex-col{flex-direction:column}.tpl\\:flex-row-reverse{flex-direction:row-reverse}.tpl\\:flex-wrap{flex-wrap:wrap}.tpl\\:items-center{align-items:center}.tpl\\:items-end{align-items:flex-end}.tpl\\:items-start{align-items:flex-start}.tpl\\:items-stretch{align-items:stretch}.tpl\\:justify-between{justify-content:space-between}.tpl\\:justify-center{justify-content:center}.tpl\\:justify-end{justify-content:flex-end}.tpl\\:gap-0{gap:0}.tpl\\:gap-0\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-1{gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-1\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:gap-2{gap:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:gap-2\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:gap-3{gap:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:gap-3\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:gap-4{gap:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:gap-5{gap:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:gap-6{gap:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:gap-10{gap:calc(calc(var(--tpl-base-size) / 4) * 10)}:where(.tpl\\:space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--tpl-base-size) / 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--tpl-base-size) / 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-3\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 3.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 3.5) * calc(1 - var(--tw-space-y-reverse)))}.tpl\\:gap-x-1{column-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-x-3{column-gap:calc(calc(var(--tpl-base-size) / 4) * 3)}:where(.tpl\\:-space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * calc(1 - var(--tw-space-x-reverse)))}.tpl\\:gap-y-0\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:self-end{align-self:flex-end}.tpl\\:self-start{align-self:flex-start}.tpl\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tpl\\:overflow-auto{overflow:auto}.tpl\\:overflow-hidden{overflow:hidden}.tpl\\:overflow-x-auto{overflow-x:auto}.tpl\\:overflow-y-auto{overflow-y:auto}.tpl\\:rounded{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-\\[calc\\(var\\(--tpl-radius-sm\\)-2px\\)\\]{border-radius:calc(var(--tpl-radius-sm) - 2px)}.tpl\\:rounded-\\[var\\(--tpl-radius\\)\\]{border-radius:var(--tpl-radius)}.tpl\\:rounded-\\[var\\(--tpl-radius-lg\\)\\]{border-radius:var(--tpl-radius-lg)}.tpl\\:rounded-\\[var\\(--tpl-radius-md\\)\\]{border-radius:var(--tpl-radius-md)}.tpl\\:rounded-\\[var\\(--tpl-radius-sm\\)\\]{border-radius:var(--tpl-radius-sm)}.tpl\\:rounded-full{border-radius:3.40282e38px}.tpl\\:rounded-lg{border-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-md{border-radius:calc(.375 * var(--tpl-base-size))}.tpl\\:rounded-sm{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-xl{border-radius:calc(.75 * var(--tpl-base-size))}.tpl\\:rounded-l-\\[var\\(--tpl-radius-sm\\)\\]{border-top-left-radius:var(--tpl-radius-sm);border-bottom-left-radius:var(--tpl-radius-sm)}.tpl\\:rounded-tl-lg{border-top-left-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-r-\\[var\\(--tpl-radius-sm\\)\\]{border-top-right-radius:var(--tpl-radius-sm);border-bottom-right-radius:var(--tpl-radius-sm)}.tpl\\:rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.tpl\\:border{border-style:var(--tw-border-style);border-width:1px}.tpl\\:border-0{border-style:var(--tw-border-style);border-width:0}.tpl\\:border-2{border-style:var(--tw-border-style);border-width:2px}.tpl\\:border-x-0{border-inline-style:var(--tw-border-style);border-inline-width:0}.tpl\\:border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.tpl\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.tpl\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.tpl\\:border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.tpl\\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.tpl\\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.tpl\\:border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.tpl\\:border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.tpl\\:border-dashed{--tw-border-style:dashed;border-style:dashed}.tpl\\:border-none{--tw-border-style:none;border-style:none}.tpl\\:border-\\[var\\(--tpl-bg\\)\\]{border-color:var(--tpl-bg)}.tpl\\:border-\\[var\\(--tpl-border\\)\\]{border-color:var(--tpl-border)}.tpl\\:border-\\[var\\(--tpl-border-light\\)\\]{border-color:var(--tpl-border-light)}.tpl\\:border-\\[var\\(--tpl-danger\\)\\]{border-color:var(--tpl-danger)}.tpl\\:border-\\[var\\(--tpl-primary\\)\\]{border-color:var(--tpl-primary)}.tpl\\:border-\\[var\\(--tpl-primary-hover\\)\\]{border-color:var(--tpl-primary-hover)}.tpl\\:border-\\[var\\(--tpl-warning\\)\\]{border-color:var(--tpl-warning)}.tpl\\:border-transparent{border-color:#0000}.tpl\\:border-l-\\[var\\(--tpl-primary\\)\\]{border-left-color:var(--tpl-primary)}.tpl\\:border-l-transparent{border-left-color:#0000}.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:var(--tpl-bg)}@supports (color:color-mix(in lab,red,red)){.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:color-mix(in srgb,var(--tpl-bg) 90%,transparent)}}.tpl\\:bg-\\[var\\(--tpl-bg\\)\\]{background-color:var(--tpl-bg)}.tpl\\:bg-\\[var\\(--tpl-bg-active\\)\\]{background-color:var(--tpl-bg-active)}.tpl\\:bg-\\[var\\(--tpl-bg-elevated\\)\\]{background-color:var(--tpl-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-bg-hover\\)\\]{background-color:var(--tpl-bg-hover)}.tpl\\:bg-\\[var\\(--tpl-border\\)\\]{background-color:var(--tpl-border)}.tpl\\:bg-\\[var\\(--tpl-canvas-bg\\)\\]{background-color:var(--tpl-canvas-bg)}.tpl\\:bg-\\[var\\(--tpl-chrome-bg-elevated\\)\\]{background-color:var(--tpl-chrome-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-chrome-primary-light\\)\\]{background-color:var(--tpl-chrome-primary-light)}.tpl\\:bg-\\[var\\(--tpl-danger\\)\\]{background-color:var(--tpl-danger)}.tpl\\:bg-\\[var\\(--tpl-danger-light\\)\\]{background-color:var(--tpl-danger-light)}.tpl\\:bg-\\[var\\(--tpl-primary\\)\\]{background-color:var(--tpl-primary)}.tpl\\:bg-\\[var\\(--tpl-primary-light\\)\\]{background-color:var(--tpl-primary-light)}.tpl\\:bg-\\[var\\(--tpl-secondary-light\\)\\]{background-color:var(--tpl-secondary-light)}.tpl\\:bg-\\[var\\(--tpl-text-dim\\)\\]{background-color:var(--tpl-text-dim)}.tpl\\:bg-\\[var\\(--tpl-warning-light\\)\\]{background-color:var(--tpl-warning-light)}.tpl\\:bg-black\\/30{background-color:oklab(0% none none/.3)}.tpl\\:bg-transparent{background-color:#0000}.tpl\\:object-contain{object-fit:contain}.tpl\\:object-cover{object-fit:cover}.tpl\\:p-0{padding:0}.tpl\\:p-0\\.5{padding:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:p-1{padding:calc(var(--tpl-base-size) / 4)}.tpl\\:p-1\\.5{padding:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:p-2{padding:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:p-3{padding:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:p-4{padding:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:p-5{padding:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:p-6{padding:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:p-8{padding:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:px-0\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:px-1{padding-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:px-1\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:px-2{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:px-2\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:px-3{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:px-3\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:px-4{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:px-5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:px-6{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:px-8{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:px-10{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:py-0{padding-block:0}.tpl\\:py-0\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:py-1{padding-block:calc(var(--tpl-base-size) / 4)}.tpl\\:py-1\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:py-2{padding-block:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:py-2\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:py-3{padding-block:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:py-3\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:py-4{padding-block:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:py-5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:py-6{padding-block:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:py-8{padding-block:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:py-10{padding-block:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:py-12{padding-block:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:py-16{padding-block:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:py-\\[5px\\]{padding-block:5px}.tpl\\:py-\\[7px\\]{padding-block:7px}.tpl\\:py-px{padding-block:1px}.tpl\\:pt-2{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pt-2\\.5{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pt-3{padding-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pt-4{padding-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-2{padding-right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pr-3{padding-right:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pr-4{padding-right:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-7{padding-right:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:pr-8{padding-right:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pb-1{padding-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:pb-1\\.5{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:pb-3{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pb-4{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-2\\.5{padding-left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pl-3{padding-left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pl-4{padding-left:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-8{padding-left:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pl-9{padding-left:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:pl-\\[18px\\]{padding-left:18px}.tpl\\:text-center{text-align:center}.tpl\\:text-left{text-align:left}.tpl\\:font-\\[inherit\\]{font-family:inherit}.tpl\\:font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.tpl\\:font-sans{font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tpl\\:text-base{font-size:var(--tpl-base-size);line-height:var(--tw-leading, 1.5 )}.tpl\\:text-lg{font-size:calc(1.125 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.75 / 1.125))}.tpl\\:text-sm{font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875))}.tpl\\:text-xs{font-size:calc(.75 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1 / .75))}.tpl\\:text-\\[0\\.8em\\]{font-size:.8em}.tpl\\:text-\\[0\\.9em\\]{font-size:.9em}.tpl\\:text-\\[1em\\]{font-size:1em}.tpl\\:text-\\[10px\\]{font-size:10px}.tpl\\:text-\\[12px\\]{font-size:12px}.tpl\\:text-\\[13px\\]{font-size:13px}.tpl\\:text-\\[length\\:inherit\\]{font-size:inherit}.tpl\\:leading-\\[inherit\\]{--tw-leading:inherit;line-height:inherit}.tpl\\:leading-none{--tw-leading:1;line-height:1}.tpl\\:leading-normal{--tw-leading:1.5;line-height:1.5}.tpl\\:leading-relaxed{--tw-leading:1.625;line-height:1.625}.tpl\\:leading-snug{--tw-leading:1.375;line-height:1.375}.tpl\\:leading-tight{--tw-leading:1.25;line-height:1.25}.tpl\\:font-\\[var\\(--tpl-font-family\\)\\]{--tw-font-weight:var(--tpl-font-family);font-weight:var(--tpl-font-family)}.tpl\\:font-bold{--tw-font-weight:700;font-weight:700}.tpl\\:font-medium{--tw-font-weight:500;font-weight:500}.tpl\\:font-normal{--tw-font-weight:400;font-weight:400}.tpl\\:font-semibold{--tw-font-weight:600;font-weight:600}.tpl\\:tracking-wide{--tw-tracking:.025em;letter-spacing:.025em}.tpl\\:tracking-wider{--tw-tracking:.05em;letter-spacing:.05em}.tpl\\:break-words{overflow-wrap:break-word}.tpl\\:break-all{word-break:break-all}.tpl\\:text-ellipsis{text-overflow:ellipsis}.tpl\\:whitespace-nowrap{white-space:nowrap}.tpl\\:whitespace-pre-wrap{white-space:pre-wrap}.tpl\\:text-\\[var\\(--tpl-bg\\)\\]{color:var(--tpl-bg)}.tpl\\:text-\\[var\\(--tpl-border-light\\)\\]{color:var(--tpl-border-light)}.tpl\\:text-\\[var\\(--tpl-chrome-text-dim\\)\\]{color:var(--tpl-chrome-text-dim)}.tpl\\:text-\\[var\\(--tpl-chrome-text-muted\\)\\]{color:var(--tpl-chrome-text-muted)}.tpl\\:text-\\[var\\(--tpl-danger\\)\\]{color:var(--tpl-danger)}.tpl\\:text-\\[var\\(--tpl-on-primary\\)\\]{color:var(--tpl-on-primary)}.tpl\\:text-\\[var\\(--tpl-primary\\)\\]{color:var(--tpl-primary)}.tpl\\:text-\\[var\\(--tpl-primary-hover\\)\\]{color:var(--tpl-primary-hover)}.tpl\\:text-\\[var\\(--tpl-success\\)\\]{color:var(--tpl-success)}.tpl\\:text-\\[var\\(--tpl-success\\,var\\(--tpl-primary\\)\\)\\]{color:var(--tpl-success,var(--tpl-primary))}.tpl\\:text-\\[var\\(--tpl-text\\)\\]{color:var(--tpl-text)}.tpl\\:text-\\[var\\(--tpl-text-dim\\)\\]{color:var(--tpl-text-dim)}.tpl\\:text-\\[var\\(--tpl-text-muted\\)\\]{color:var(--tpl-text-muted)}.tpl\\:text-\\[var\\(--tpl-warning\\)\\]{color:var(--tpl-warning)}.tpl\\:normal-case{text-transform:none}.tpl\\:uppercase{text-transform:uppercase}.tpl\\:italic{font-style:italic}.tpl\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tpl\\:no-underline{text-decoration-line:none}.tpl\\:underline{text-decoration-line:underline}.tpl\\:underline-offset-2{text-underline-offset:2px}.tpl\\:accent-\\[var\\(--tpl-primary\\)\\]{accent-color:var(--tpl-primary)}.tpl\\:opacity-0{opacity:0}.tpl\\:opacity-50{opacity:.5}.tpl\\:opacity-60{opacity:.6}.tpl\\:opacity-70{opacity:.7}.tpl\\:opacity-90{opacity:.9}.tpl\\:opacity-100{opacity:1}.tpl\\:shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-ring\\)\\]{--tw-shadow:var(--tpl-ring);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow\\)\\]{--tw-shadow:var(--tpl-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-lg\\)\\]{--tw-shadow:var(--tpl-shadow-lg);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-md\\)\\]{--tw-shadow:var(--tpl-shadow-md);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-sm\\)\\]{--tw-shadow:var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-\\[var\\(--tpl-border\\)\\]{--tw-ring-color:var(--tpl-border)}.tpl\\:ring-\\[var\\(--tpl-primary\\)\\]{--tw-ring-color:var(--tpl-primary)}.tpl\\:ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.tpl\\:ring-offset-\\[var\\(--tpl-bg-elevated\\)\\]{--tw-ring-offset-color:var(--tpl-bg-elevated)}.tpl\\:backdrop-blur-\\[2px\\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.tpl\\:transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:duration-100{--tw-duration:.1s;transition-duration:.1s}.tpl\\:duration-150{--tw-duration:.15s;transition-duration:.15s}.tpl\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.tpl\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.tpl\\:duration-\\[80ms\\]{--tw-duration:80ms;transition-duration:80ms}.tpl\\:duration-\\[120ms\\]{--tw-duration:.12s;transition-duration:.12s}.tpl\\:ease-\\[cubic-bezier\\(0\\.16\\,1\\,0\\.3\\,1\\)\\]{--tw-ease:cubic-bezier(.16,1,.3,1);transition-timing-function:cubic-bezier(.16,1,.3,1)}.tpl\\:ease-in{--tw-ease:cubic-bezier(.4, 0, 1, 1);transition-timing-function:cubic-bezier(.4,0,1,1)}.tpl\\:ease-out{--tw-ease:cubic-bezier(0, 0, .2, 1);transition-timing-function:cubic-bezier(0,0,.2,1)}.tpl\\:outline-none{--tw-outline-style:none;outline-style:none}.tpl\\:select-none{-webkit-user-select:none;user-select:none}.tpl\\:group-focus-within\\:opacity-100:is(:where(.tpl\\:group):focus-within *){opacity:1}@media(hover:hover){.tpl\\:group-hover\\:bg-black\\/40:is(:where(.tpl\\:group):hover *){background-color:oklab(0% none none/.4)}.tpl\\:group-hover\\:opacity-100:is(:where(.tpl\\:group):hover *){opacity:1}}.tpl\\:placeholder\\:text-\\[var\\(--tpl-text-dim\\)\\]::placeholder{color:var(--tpl-text-dim)}.tpl\\:last\\:mb-0:last-child{margin-bottom:0}@media(hover:hover){.tpl\\:hover\\:z-10:hover{z-index:10}.tpl\\:hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:border-\\[var\\(--tpl-border\\)\\]:hover{border-color:var(--tpl-border)}.tpl\\:hover\\:border-\\[var\\(--tpl-danger\\)\\]:hover{border-color:var(--tpl-danger)}.tpl\\:hover\\:border-\\[var\\(--tpl-primary\\)\\]:hover{border-color:var(--tpl-primary)}.tpl\\:hover\\:border-\\[var\\(--tpl-text-dim\\)\\]:hover{border-color:var(--tpl-text-dim)}.tpl\\:hover\\:border-l-\\[var\\(--tpl-primary\\)\\]:hover{border-left-color:var(--tpl-primary)}.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:var(--tpl-text)}@supports (color:color-mix(in lab,red,red)){.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:color-mix(in srgb,var(--tpl-text) 8%,transparent)}}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-active\\)\\]:hover{background-color:var(--tpl-bg-active)}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-hover\\)\\]:hover{background-color:var(--tpl-bg-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-danger-light\\)\\]:hover{background-color:var(--tpl-danger-light)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-hover\\)\\]:hover{background-color:var(--tpl-primary-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-light\\)\\]:hover{background-color:var(--tpl-primary-light)}.tpl\\:hover\\:bg-\\[var\\(--tpl-warning-light\\)\\]:hover{background-color:var(--tpl-warning-light)}.tpl\\:hover\\:text-\\[var\\(--tpl-danger\\)\\]:hover{color:var(--tpl-danger)}.tpl\\:hover\\:text-\\[var\\(--tpl-primary\\)\\]:hover{color:var(--tpl-primary)}.tpl\\:hover\\:text-\\[var\\(--tpl-text\\)\\]:hover{color:var(--tpl-text)}.tpl\\:hover\\:underline:hover{text-decoration-line:underline}.tpl\\:hover\\:opacity-80:hover{opacity:.8}.tpl\\:hover\\:opacity-100:hover{opacity:1}.tpl\\:hover\\:shadow-\\[var\\(--tpl-shadow-md\\)\\]:hover{--tw-shadow:var(--tpl-shadow-md);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:hover\\:shadow-\\[var\\(--tpl-shadow-sm\\)\\]:hover{--tw-shadow:var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.tpl\\:focus\\:border-\\[var\\(--tpl-primary\\)\\]:focus{border-color:var(--tpl-primary)}.tpl\\:focus\\:shadow-\\[0_0_0_3px_var\\(--tpl-primary-light\\)\\]:focus{--tw-shadow:0 0 0 3px var(--tw-shadow-color,var(--tpl-primary-light));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus\\:shadow-\\[var\\(--tpl-ring\\)\\]:focus,.tpl\\:focus-visible\\:shadow-\\[var\\(--tpl-ring\\)\\]:focus-visible{--tw-shadow:var(--tpl-ring);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus-visible\\:ring-\\[var\\(--tpl-primary\\)\\]:focus-visible{--tw-ring-color:var(--tpl-primary)}.tpl\\:focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.tpl\\:focus-visible\\:ring-offset-\\[var\\(--tpl-bg-elevated\\)\\]:focus-visible{--tw-ring-offset-color:var(--tpl-bg-elevated)}.tpl\\:focus-visible\\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.tpl\\:focus-visible\\:outline-\\[var\\(--tpl-primary\\)\\]:focus-visible{outline-color:var(--tpl-primary)}.tpl\\:focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.tpl\\:active\\:cursor-grabbing:active{cursor:grabbing}.tpl\\:active\\:bg-\\[var\\(--tpl-bg-active\\)\\]:active{background-color:var(--tpl-bg-active)}.tpl\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.tpl\\:disabled\\:opacity-30:disabled{opacity:.3}.tpl\\:disabled\\:opacity-40:disabled{opacity:.4}.tpl\\:disabled\\:opacity-50:disabled{opacity:.5}.tpl\\:disabled\\:opacity-60:disabled{opacity:.6}@media(hover:hover){.tpl\\:disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}.tpl\\:\\[\\&_p\\]\\:mb-2 p{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}@layer base{:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)):after,:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)):before,:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.tpl) :where(hr):not(:where(.tpl-email-surface,.tpl-email-surface *)){height:0;color:inherit;border-top-width:1px}:where(.tpl) :where(abbr[title]):not(:where(.tpl-email-surface,.tpl-email-surface *)){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(.tpl) :where(h1):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h2):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h3):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h4):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h5):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h6):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-size:inherit;font-weight:inherit}:where(.tpl) :where(a):not(:where(.tpl-email-surface,.tpl-email-surface *)){color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}:where(.tpl) :where(b):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(strong):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-weight:bolder}:where(.tpl) :where(code):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(kbd):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(samp):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(pre):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}:where(.tpl) :where(small):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-size:80%}:where(.tpl) :where(sub):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(sup):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:baseline;font-size:75%;line-height:0;position:relative}:where(.tpl) :where(sub):not(:where(.tpl-email-surface,.tpl-email-surface *)){bottom:-.25em}:where(.tpl) :where(sup):not(:where(.tpl-email-surface,.tpl-email-surface *)){top:-.5em}:where(.tpl) :where(table):not(:where(.tpl-email-surface,.tpl-email-surface *)){text-indent:0;border-color:inherit;border-collapse:collapse}:where(.tpl) :where(:-moz-focusring:not(iframe)):not(:where(.tpl-email-surface,.tpl-email-surface *)){outline:auto}:where(.tpl) :where(progress):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:baseline}:where(.tpl) :where(summary):not(:where(.tpl-email-surface,.tpl-email-surface *)){display:list-item}:where(.tpl) :where(ol):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(ul):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(menu):not(:where(.tpl-email-surface,.tpl-email-surface *)){list-style:none}:where(.tpl) :where(img):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(svg):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(video):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(canvas):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(audio):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(iframe):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(embed):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(object):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:middle;display:block}:where(.tpl) :where(img):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(video):not(:where(.tpl-email-surface,.tpl-email-surface *)){max-width:100%;height:auto}:where(.tpl) :where(button):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(input):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(select):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(optgroup):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(textarea):not(:where(.tpl-email-surface,.tpl-email-surface *)){font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.tpl) :where(select:is([multiple],[size]) optgroup):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-weight:bolder}:where(.tpl) :where(select:is([multiple],[size]) optgroup option):not(:where(.tpl-email-surface,.tpl-email-surface *)){padding-inline-start:20px}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{margin-inline-end:4px}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}:where(.tpl) :where(textarea):not(:where(.tpl-email-surface,.tpl-email-surface *)){resize:vertical}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-search-decoration{-webkit-appearance:none}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit{display:inline-flex}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-fields-wrapper{padding:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-year-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-month-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-day-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-hour-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-minute-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-second-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-millisecond-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-meridiem-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-calendar-picker-indicator{line-height:1}:where(.tpl) :where(:-moz-ui-invalid):not(:where(.tpl-email-surface,.tpl-email-surface *)){box-shadow:none}:where(.tpl) :where(button):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(input:is([type=button],[type=reset],[type=submit])):not(:where(.tpl-email-surface,.tpl-email-surface *)){appearance:button}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{appearance:button}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-inner-spin-button{height:auto}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-outer-spin-button{height:auto}:where(.tpl) :where([hidden]:not([hidden=until-found])):not(:where(.tpl-email-surface,.tpl-email-surface *)){display:none!important}}@layer components;.tpl{--tpl-base-size:var(--tpl-user-base-size,16px);--tpl-bg:var(--tpl-user-bg,oklch(99.5% .002 60));--tpl-bg-elevated:var(--tpl-user-bg-elevated,oklch(98% .004 60));--tpl-bg-hover:var(--tpl-user-bg-hover,oklch(96% .006 60));--tpl-bg-active:var(--tpl-user-bg-active,oklch(93.5% .008 60));--tpl-border:var(--tpl-user-border,oklch(92% .006 60));--tpl-border-light:var(--tpl-user-border-light,oklch(86% .01 60));--tpl-text:var(--tpl-user-text,oklch(18% .01 60));--tpl-text-muted:var(--tpl-user-text-muted,oklch(50% .015 60));--tpl-text-dim:var(--tpl-user-text-dim,oklch(68% .012 60));--tpl-primary:var(--tpl-user-primary,oklch(70% .16 55));--tpl-primary-hover:var(--tpl-user-primary-hover,oklch(63% .17 55));--tpl-primary-light:var(--tpl-user-primary-light,oklch(95% .04 55));--tpl-on-primary:var(--tpl-user-on-primary,var(--tpl-bg));--tpl-secondary:var(--tpl-user-secondary,oklch(60% .118 184.71));--tpl-secondary-hover:var(--tpl-user-secondary-hover,oklch(53.2% .105 186.39));--tpl-secondary-light:var(--tpl-user-secondary-light,oklch(93.8% .03 186.82));--tpl-success:var(--tpl-user-success,oklch(62.8% .194 155.1));--tpl-success-light:var(--tpl-user-success-light,oklch(93.6% .043 163.51));--tpl-warning:var(--tpl-user-warning,oklch(76.9% .168 70.08));--tpl-warning-light:var(--tpl-user-warning-light,oklch(95% .038 73.59));--tpl-danger:var(--tpl-user-danger,oklch(63.7% .237 25.33));--tpl-danger-light:var(--tpl-user-danger-light,oklch(93.6% .032 17.72));--tpl-canvas-bg:var(--tpl-user-canvas-bg,oklch(97.5% .003 60));--tpl-chrome-bg-elevated:var(--tpl-bg-elevated);--tpl-chrome-border-light:var(--tpl-border-light);--tpl-chrome-text:var(--tpl-text);--tpl-chrome-text-muted:var(--tpl-text-muted);--tpl-chrome-text-dim:var(--tpl-text-dim);--tpl-chrome-primary-light:var(--tpl-primary-light);--tpl-chrome-primary-hover:var(--tpl-primary-hover);--tpl-radius:var(--tpl-user-radius,10px);--tpl-radius-sm:var(--tpl-user-radius-sm,7px);--tpl-radius-lg:var(--tpl-user-radius-lg,14px);--tpl-font-family:var(--tpl-user-font-family,\"Geist\", ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");--tpl-shadow-sm:var(--tpl-user-shadow-sm,0 1px 2px #00000008);--tpl-shadow:var(--tpl-user-shadow,0 1px 2px #0000000a, 0 1px 3px #00000008);--tpl-shadow-md:var(--tpl-user-shadow-md,0 2px 8px #0000000f, 0 1px 3px #0000000a);--tpl-shadow-lg:var(--tpl-user-shadow-lg,0 4px 16px #00000014, 0 2px 6px #0000000a);--tpl-shadow-xl:var(--tpl-user-shadow-xl,0 8px 32px #0000001a, 0 4px 12px #0000000f);--tpl-overlay:var(--tpl-user-overlay,#00000080);--tpl-ring:var(--tpl-user-ring,0 0 0 3px var(--tpl-primary-light));--tpl-transition:var(--tpl-user-transition,.12s cubic-bezier(.16, 1, .3, 1))}.tpl[data-tpl-theme=dark]{--tpl-bg:var(--tpl-user-dark-bg,oklch(16% .005 60));--tpl-bg-elevated:var(--tpl-user-dark-bg-elevated,oklch(21% .006 60));--tpl-bg-hover:var(--tpl-user-dark-bg-hover,oklch(26% .007 60));--tpl-bg-active:var(--tpl-user-dark-bg-active,oklch(30% .008 60));--tpl-border:var(--tpl-user-dark-border,oklch(30% .006 60));--tpl-border-light:var(--tpl-user-dark-border-light,oklch(38% .008 60));--tpl-text:var(--tpl-user-dark-text,oklch(93% .005 60));--tpl-text-muted:var(--tpl-user-dark-text-muted,oklch(65% .01 60));--tpl-text-dim:var(--tpl-user-dark-text-dim,oklch(50% .008 60));--tpl-primary:var(--tpl-user-dark-primary,oklch(73% .15 55));--tpl-primary-hover:var(--tpl-user-dark-primary-hover,oklch(78% .14 55));--tpl-primary-light:var(--tpl-user-dark-primary-light,oklch(28% .05 55));--tpl-secondary:var(--tpl-user-dark-secondary,oklch(63% .11 184.71));--tpl-secondary-hover:var(--tpl-user-dark-secondary-hover,oklch(68% .1 186.39));--tpl-secondary-light:var(--tpl-user-dark-secondary-light,oklch(25% .03 186.82));--tpl-success:var(--tpl-user-dark-success,oklch(65% .18 155.1));--tpl-success-light:var(--tpl-user-dark-success-light,oklch(25% .04 163.51));--tpl-warning:var(--tpl-user-dark-warning,oklch(78% .16 70.08));--tpl-warning-light:var(--tpl-user-dark-warning-light,oklch(28% .04 73.59));--tpl-danger:var(--tpl-user-dark-danger,oklch(65% .22 25.33));--tpl-danger-light:var(--tpl-user-dark-danger-light,oklch(25% .04 17.72));--tpl-canvas-bg:var(--tpl-user-dark-canvas-bg,oklch(10% .003 60));--tpl-shadow-sm:var(--tpl-user-dark-shadow-sm,0 1px 2px #0003);--tpl-shadow:var(--tpl-user-dark-shadow,0 1px 2px #0000004d, 0 1px 3px #0003);--tpl-shadow-md:var(--tpl-user-dark-shadow-md,0 2px 8px #00000059, 0 1px 3px #00000040);--tpl-shadow-lg:var(--tpl-user-dark-shadow-lg,0 4px 16px #0006, 0 2px 6px #0000004d);--tpl-shadow-xl:var(--tpl-user-dark-shadow-xl,0 8px 32px #00000080, 0 4px 12px #00000059);--tpl-overlay:var(--tpl-user-dark-overlay,#000000b3);--tpl-ring:var(--tpl-user-dark-ring,0 0 0 3px var(--tpl-primary-light))}.tpl[data-tpl-theme=dark] .tpl-block-content,.tpl[data-tpl-theme=dark] .tpl-canvas-empty{--tpl-bg-elevated:oklch(98% .004 60);--tpl-border-light:oklch(86% .01 60);--tpl-text:oklch(18% .01 60);--tpl-text-muted:oklch(50% .015 60);--tpl-text-dim:oklch(68% .012 60);--tpl-primary-light:oklch(95% .04 55);--tpl-primary-hover:oklch(60% .16 55);color:var(--tpl-text)}.tpl{height:100%;font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875));--tw-leading:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--tpl-bg);min-height:320px;color:var(--tpl-text);line-height:1.5;font-family:var(--tpl-font-family);letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:start;white-space:normal;cursor:auto;font-variant-numeric:normal;text-shadow:none;flex-direction:column;font-style:normal;font-weight:400;list-style-type:disc;display:flex}:where(.tpl) button,:where(.tpl) input,:where(.tpl) select,:where(.tpl) textarea{box-sizing:border-box;font-family:inherit}:where(.tpl) button{cursor:pointer;background:0 0;border:none;margin:0;padding:0}:where(.tpl) button:focus-visible,:where(.tpl) input:focus-visible,:where(.tpl) select:focus-visible,:where(.tpl) textarea:focus-visible{box-shadow:var(--tpl-ring);outline:none}:where(.tpl) .tpl-focus-ring-host:focus-within :is(input,select,textarea):focus-visible{box-shadow:none}.tpl ::-webkit-scrollbar{width:6px;height:6px}.tpl ::-webkit-scrollbar-track{background:0 0}.tpl ::-webkit-scrollbar-thumb{background-color:var(--tpl-border-light)}@supports (color:color-mix(in lab,red,red)){.tpl ::-webkit-scrollbar-thumb{background-color:color-mix(in srgb,var(--tpl-border-light) 60%,transparent)}}.tpl ::-webkit-scrollbar-thumb{border-radius:calc(.25 * var(--tpl-base-size))}.tpl ::-webkit-scrollbar-thumb:hover{background-color:var(--tpl-border-light)}@keyframes tpl-pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes tpl-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tpl-popover-root{z-index:10000;position:relative}.tpl-merge-tag-label{text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}@supports (color:color-mix(in lab,red,red)){.tpl-merge-tag-label{-webkit-text-decoration-color:color-mix(in srgb,currentColor 55%,transparent);text-decoration-color:color-mix(in srgb,currentColor 55%,transparent)}}.tpl-merge-tag-label{unicode-bidi:isolate}.tpl-pulse{animation:2s infinite tpl-pulse}.tpl-spinner{animation:1s linear infinite tpl-spin}@keyframes tpl-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes tpl-scale-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@keyframes tpl-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.tpl-fade-in{animation:.2s cubic-bezier(.16,1,.3,1) tpl-fade-in}.tpl-scale-in{animation:.15s cubic-bezier(.16,1,.3,1) tpl-scale-in}.tpl-shimmer{background:linear-gradient(90deg,var(--tpl-bg-hover) 25%,var(--tpl-bg-active) 50%,var(--tpl-bg-hover) 75%);background-size:200% 100%;animation:1.5s linear infinite tpl-shimmer}.tpl-preview-mode .tpl-block--idle,.tpl-preview-mode .tpl-block--idle:hover,.tpl-preview-mode .tpl-block--selected{box-shadow:none!important;outline:none!important}.tpl-preview-mode .tpl-block{cursor:default;pointer-events:none}.tpl-preview-mode .tpl-block-actions,.tpl-preview-mode .tpl-block-hidden-overlay,.tpl-preview-mode .tpl-condition-toggle,.tpl-preview-mode .tpl-comment-indicator,.tpl-preview-mode .tpl-collab-lock{display:none}.tpl-ghost{border:none!important;border-top:2px dotted var(--tpl-primary)!important;background-color:#0000!important;justify-content:center!important;align-items:center!important;width:100%!important;height:0!important;min-height:0!important;max-height:0!important;margin:12px 0!important;padding:0!important;display:flex!important;position:relative!important;overflow:visible!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost{border-top:2px dotted color-mix(in srgb,var(--tpl-primary) 50%,transparent)!important}}.tpl-ghost{box-shadow:none!important;border-radius:0!important}.tpl-ghost>*{display:none!important}.tpl-ghost:before{content:var(--tpl-drop-text,\"Drop here\");white-space:nowrap!important;color:var(--tpl-primary)!important;background-color:var(--tpl-primary)!important;padding:2px 8px!important;font-size:12px!important;font-weight:500!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost:before{background-color:color-mix(in srgb,var(--tpl-primary) 15%,var(--tpl-bg))!important}}.tpl-ghost:before{border-radius:var(--tpl-radius-sm)!important;box-shadow:none!important}.tpl-canvas-empty .tpl-ghost{display:none!important}.tpl-dragging{opacity:.8;box-shadow:var(--tpl-shadow-xl)}.sortable-fallback{transition:none!important;animation:none!important}.tpl-block--lifted{outline:2px dashed var(--tpl-primary)!important;outline-offset:2px!important;box-shadow:var(--tpl-shadow-xl),0 0 0 4px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-block--lifted{box-shadow:var(--tpl-shadow-xl),0 0 0 4px color-mix(in srgb,var(--tpl-primary) 20%,transparent)!important}}.tpl-block--lifted{transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1);transform:scale(1.01)}.tpl-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-text-toolbar-btn{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8);cursor:pointer;border-radius:calc(.25 * var(--tpl-base-size));--tw-border-style:none;transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s);color:var(--tpl-text);background-color:#0000;border-style:none;justify-content:center;align-items:center;padding:0;display:flex}.tpl-text-toolbar-btn:hover{background-color:var(--tpl-bg-active)}.tpl-text-toolbar-btn--active{box-shadow:inset 0 0 0 1.5px var(--tpl-primary-hover);background-color:var(--tpl-primary)!important;color:var(--tpl-bg)!important}.tpl-text-toolbar-btn--active svg{stroke-width:2.75px}.tpl-text-content,.tpl-text-editable .tiptap{--tw-outline-style:none;outline-style:none}.tpl-text-editable{border-radius:calc(.25 * var(--tpl-base-size));outline:1px dashed var(--tpl-primary);outline-offset:4px}.tpl-text-editable--error{outline-color:var(--tpl-danger)}.tpl-text-content p,.tpl-text-editable .tiptap p{margin:0 0 var(--tpl-doc-paragraph-spacing,8px)}.tpl-text-content p:last-child,.tpl-text-editable .tiptap p:last-child{margin-bottom:0}.tpl-text-content ul,.tpl-text-content ol,.tpl-text-editable .tiptap ul,.tpl-text-editable .tiptap ol{margin:8px 0;padding-inline-start:24px}.tpl-text-content li,.tpl-text-editable .tiptap li{margin:4px 0}.tpl-text-content s,.tpl-text-editable .tiptap s{text-decoration-line:line-through}.tpl-text-content sub,.tpl-text-editable .tiptap sub{vertical-align:sub;font-size:.75em}.tpl-text-content sup,.tpl-text-editable .tiptap sup{vertical-align:super;font-size:.75em}.tpl-text-content a,.tpl-text-editable a{color:var(--tpl-doc-link-color,inherit);-webkit-text-decoration:var(--tpl-doc-link-underline,none);text-decoration:var(--tpl-doc-link-underline,none)}.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5);border-radius:calc(.25 * var(--tpl-base-size));padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5);padding-block:calc(calc(var(--tpl-base-size) / 4) * .5);--tw-font-weight:500;background-color:var(--tpl-primary);align-items:center;font-size:.9em;font-weight:500;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{background-color:color-mix(in srgb,var(--tpl-primary) 20%,transparent)}}.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{color:var(--tpl-primary);unicode-bidi:isolate}.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5);border-radius:calc(.25 * var(--tpl-base-size));padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5);padding-block:calc(calc(var(--tpl-base-size) / 4) * .5);--tw-font-weight:700;--tw-tracking:.025em;letter-spacing:.025em;text-transform:uppercase;border:1.5px solid var(--tpl-primary);unicode-bidi:isolate;background-color:#0000;align-items:center;font-size:.8em;font-weight:700;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{border:1.5px solid color-mix(in srgb,var(--tpl-primary) 50%,transparent)}}.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{color:var(--tpl-primary)}.tpl-tooltip{position:relative}.tpl-tooltip:after{content:attr(data-tooltip);border-radius:var(--tpl-radius-sm);background-color:var(--tpl-chrome-text);color:var(--tpl-bg);white-space:normal;text-align:center;pointer-events:none;opacity:0;text-transform:none;z-index:50;width:max-content;max-width:min(320px,90vw);padding:4px 10px;font-size:12px;font-weight:500;line-height:1.4;transition:opacity .15s;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%)}.tpl-tooltip:before{content:\"\";border:4px solid #0000;border-bottom-color:var(--tpl-chrome-text);pointer-events:none;opacity:0;z-index:50;transition:opacity .15s;position:absolute;top:calc(100% + 2px);left:50%;transform:translate(-50%)}.tpl-tooltip:hover:after,.tpl-tooltip:hover:before{opacity:1}.tpl-media-overlay{background-color:var(--tpl-overlay);-webkit-backdrop-filter:blur(8px);height:100%;min-height:0;color:var(--tpl-text);flex-direction:row;justify-content:center;align-items:center;display:flex}.tpl.tpl-text-toolbar{flex-direction:row;height:auto;min-height:0;display:flex}.tpl.tpl-link-dialog{background-color:var(--tpl-overlay);flex-direction:row;justify-content:center;align-items:center;height:100%;min-height:0;display:flex}.tpl-upload-zone-active{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-merge-tag-delete:hover{color:var(--tpl-danger)!important}@media(prefers-reduced-motion:reduce){.tpl-pulse,.tpl-shimmer,.tpl-fade-in,.tpl-scale-in{animation:none}.tpl-shimmer{background:var(--tpl-bg-hover)}.tpl-spinner{animation:1s linear infinite tpl-spin}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}.tpl-preview-pill-enter-active[data-v-42dbfd6a]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-preview-pill-leave-active[data-v-42dbfd6a]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-preview-pill-enter-from[data-v-42dbfd6a],.tpl-preview-pill-leave-to[data-v-42dbfd6a]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-preview-pill-enter-to[data-v-42dbfd6a],.tpl-preview-pill-leave-from[data-v-42dbfd6a]{opacity:1;transform:translateY(0) scale(1)}hex-color-picker{--hcp-width: 200px}hex-color-picker::part(hue){border-radius:var(--tpl-radius-sm, 7px)}hex-color-picker::part(saturation){border-radius:var(--tpl-radius-sm, 7px) var(--tpl-radius-sm, 7px) 0 0}.tpl-color-swatch-empty{background-color:var(--tpl-bg);background-image:linear-gradient(to top right,transparent calc(50% - .75px),var(--tpl-text-dim) calc(50% - .75px),var(--tpl-text-dim) calc(50% + .75px),transparent calc(50% + .75px))}.tpl-color-swatch-transparent{background-color:var(--tpl-bg);background-image:repeating-conic-gradient(var(--tpl-border) 0% 25%,var(--tpl-bg) 0% 50%);background-size:8px 8px}.tpl-pulse-fill[data-v-fca026e4]{animation:tpl-field-pulse-fca026e4 1s ease-out}@keyframes tpl-field-pulse-fca026e4{0%{box-shadow:0 0 color-mix(in srgb,var(--tpl-warning) 30%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 6%,transparent)}40%{box-shadow:0 0 0 3px color-mix(in srgb,var(--tpl-warning) 15%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 5%,transparent)}to{box-shadow:0 0 0 0 transparent;background-color:transparent}}@media(prefers-reduced-motion:reduce){.tpl-pulse-fill[data-v-fca026e4]{animation:none}}input[type=number][data-v-69591c1e]::-webkit-outer-spin-button,input[type=number][data-v-69591c1e]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-69591c1e]{-moz-appearance:textfield}.tpl-collapsible[data-v-e2d2c22f]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-e2d2c22f]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-e2d2c22f]{overflow:hidden}.tpl-ai-slide-enter-active[data-v-3d8e197c]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-ai-slide-leave-active[data-v-3d8e197c]{transition:transform .2s cubic-bezier(.16,1,.3,1)}@media(prefers-reduced-motion:reduce){.tpl-ai-slide-enter-active[data-v-3d8e197c],.tpl-ai-slide-leave-active[data-v-3d8e197c]{transition:none}}.tpl-saved-block-skeleton{animation:tpl-saved-block-pulse 1.4s ease-in-out infinite}@keyframes tpl-saved-block-pulse{0%,to{opacity:1}50%{opacity:.55}}@media(prefers-reduced-motion:reduce){.tpl-saved-block-skeleton{animation:none}}.tpl-saved-block-select:focus-visible{box-shadow:none}.tpl-saved-block-select:focus-visible:after{content:\"\";position:absolute;inset:-1px;border-radius:var(--tpl-radius-sm);box-shadow:var(--tpl-ring);pointer-events:none}.tpl-saved-block-delete-btn:hover{color:var(--tpl-danger)!important}.tpl-saved-block-rename-btn:hover{color:var(--tpl-primary)!important}.tpl-media-item[data-v-57c35946]:not(.tpl-media-item--selected):hover{border-color:var(--tpl-border)!important}.tpl-media-list-item[data-v-57c35946]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-list-icon[data-v-57c35946]{transform:scale(.35);transform-origin:center}.tpl-preview-icon[data-v-50993988]{transform:scale(.45);transform-origin:center}.tpl-comments-slide-enter-active[data-v-32af5912]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-comments-slide-leave-active[data-v-32af5912]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-comments-input-wrapper[data-v-32af5912]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-32af5912]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-32af5912]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-32af5912]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-32af5912]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-32af5912]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-32af5912]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-32af5912]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-32af5912],.tpl-comment-reply-card[data-v-32af5912]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-32af5912],.tpl-resolve-leave-active[data-v-32af5912]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-32af5912],.tpl-resolve-leave-to[data-v-32af5912]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-32af5912]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-32af5912]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-32af5912],.tpl-replies-leave-active[data-v-32af5912]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-32af5912],.tpl-replies-leave-to[data-v-32af5912]{opacity:0;transform:translateY(-4px)}.tpl-ai-input-wrapper[data-v-e0f79f23]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-e0f79f23]:not(:disabled):hover{transform:scale(1.05)}.tpl-starter-btn[data-v-e0f79f23]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.vue-advanced-cropper{text-align:center;position:relative;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:#000;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-simple-handler{display:block;background:#fff;height:10px;width:10px}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}[data-v-7d9a1872] .tpl-cropper-background{background-color:var(--tpl-bg)!important}[data-v-7d9a1872] .vue-advanced-cropper{background-color:transparent!important}[data-v-7d9a1872] .vue-advanced-cropper__background{background-color:var(--tpl-bg)!important}[data-v-7d9a1872] .vue-advanced-cropper__foreground{background-color:var(--tpl-overlay)!important}\n/*$vite$:1*/", ja = null;
3466
+ var Aa = "@import\"https://fonts.bunny.net/css?family=geist:400,500,600\";.tpl-loading-track[data-v-e61f3b63]{height:3px;width:100%;border-radius:9999px;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 15%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 30%,var(--tpl-primary) 50%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 70%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 85%,transparent 100%);background-size:200% 100%;animation:tpl-loading-flow-e61f3b63 3s ease-in-out infinite}@keyframes tpl-loading-flow-e61f3b63{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.tpl-loading-track[data-v-e61f3b63]{animation:none;background-position:50% 0}}.tpl-block--idle[data-v-f3a7bfbf]{outline:1.5px dashed color-mix(in srgb,var(--tpl-primary) 30%,transparent);outline-offset:-1px;transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block--idle[data-v-f3a7bfbf]:hover{outline:1.5px solid color-mix(in srgb,var(--tpl-primary) 50%,transparent);outline-offset:-1px;box-shadow:0 0 8px color-mix(in srgb,var(--tpl-primary) 8%,transparent)}.tpl-block--picked[data-v-f3a7bfbf]{outline:2px solid var(--tpl-primary);outline-offset:-1px;box-shadow:0 0 0 4px color-mix(in srgb,var(--tpl-primary) 18%,transparent);transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block--selected[data-v-f3a7bfbf]{outline:2px solid color-mix(in srgb,var(--tpl-primary) 60%,transparent);outline-offset:-1px;box-shadow:0 0 12px color-mix(in srgb,var(--tpl-primary) 15%,transparent);transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block-action-btn[data-v-f3a7bfbf]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-f3a7bfbf]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-f3a7bfbf]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-f3a7bfbf]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-f3a7bfbf]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-f3a7bfbf]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-f3a7bfbf]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-block-agent-highlight[data-v-f3a7bfbf]{outline:2px solid var(--tpl-secondary);outline-offset:-1px;animation:tpl-agent-highlight-f3a7bfbf 2s ease-out forwards}@keyframes tpl-agent-highlight-f3a7bfbf{0%,50%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.tpl-block-agent-highlight[data-v-f3a7bfbf]{animation:none}}.tpl-table-editable[data-v-6751d456] th[contenteditable],.tpl-table-editable[data-v-6751d456] td[contenteditable]{outline:none;cursor:text;min-width:calc(2 * var(--tpl-base-size))}.tpl-table-editable[data-v-6751d456] th[contenteditable]:empty:before,.tpl-table-editable[data-v-6751d456] td[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--tpl-text-dim);pointer-events:none}.tpl-table-editable[data-v-6751d456] th[contenteditable]:focus,.tpl-table-editable[data-v-6751d456] td[contenteditable]:focus{outline:2px solid var(--tpl-primary);outline-offset:-2px;border-radius:1px}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface:not(.tpl-email-surface *){filter:invert(1) hue-rotate(180deg)}[data-v-b9798ef2] .tpl-email-surface{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface img{filter:invert(1) hue-rotate(180deg)}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface.tpl-has-bg-image,.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface .tpl-has-bg-image{position:relative;isolation:isolate;background-image:none!important}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface.tpl-has-bg-image:before,.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface .tpl-has-bg-image:before{content:\"\";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:var(--tpl-block-bg-layer, none);filter:invert(1) hue-rotate(180deg)}.tpl-icon-enter-active[data-v-632aa74f],.tpl-icon-leave-active[data-v-632aa74f]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-632aa74f],.tpl-icon-leave-to[data-v-632aa74f]{opacity:0;transform:scale(.8)}.tpl-dark-mode-toggle[data-v-632aa74f]:hover{background-color:var(--tpl-bg-hover)}.tpl-dark-mode-toggle[data-v-632aa74f]:active{transform:scale(.92)}.tpl-icon-enter-active[data-v-eef7b2ca],.tpl-icon-leave-active[data-v-eef7b2ca]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-eef7b2ca],.tpl-icon-leave-to[data-v-eef7b2ca]{opacity:0;transform:scale(.8)}.tpl-preview-toggle[data-v-eef7b2ca]:hover{background-color:var(--tpl-bg-hover)}.tpl-preview-toggle[data-v-eef7b2ca]:active{transform:scale(.92)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-outline-style:solid}}}@layer theme{:root,:host{--tpl-radius-sm:calc(.25 * var(--tpl-base-size));--tpl-radius-md:calc(.375 * var(--tpl-base-size));--tpl-radius-lg:calc(.5 * var(--tpl-base-size));--tpl-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--tpl-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tpl-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tpl-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--tpl-radius:calc(.25 * var(--tpl-base-size))}}.tpl\\:pointer-events-auto{pointer-events:auto}.tpl\\:pointer-events-none{pointer-events:none}.tpl\\:invisible{visibility:hidden}.tpl\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl\\:absolute{position:absolute}.tpl\\:fixed{position:fixed}.tpl\\:relative{position:relative}.tpl\\:sticky{position:sticky}.tpl\\:inset-0{inset:0}.tpl\\:inset-x-0{inset-inline:0}.tpl\\:inset-y-1{inset-block:calc(var(--tpl-base-size) / 4)}.tpl\\:-top-0\\.5{top:calc(calc(var(--tpl-base-size) / 4) * -.5)}.tpl\\:-top-1{top:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:-top-2{top:calc(calc(var(--tpl-base-size) / 4) * -2)}.tpl\\:top-0{top:0}.tpl\\:top-1{top:calc(var(--tpl-base-size) / 4)}.tpl\\:top-1\\.5{top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:top-1\\/2{top:50%}.tpl\\:top-2{top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:top-14{top:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:top-16{top:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:top-\\[104px\\]{top:104px}.tpl\\:top-full{top:100%}.tpl\\:right-0{right:0}.tpl\\:right-1{right:calc(var(--tpl-base-size) / 4)}.tpl\\:right-1\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:right-2{right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:right-2\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:right-\\[320px\\]{right:320px}.tpl\\:right-\\[360px\\]{right:360px}.tpl\\:right-\\[680px\\]{right:680px}.tpl\\:bottom-0{bottom:0}.tpl\\:bottom-1{bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:bottom-10{bottom:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:bottom-full{bottom:100%}.tpl\\:-left-1{left:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:left-0{left:0}.tpl\\:left-1\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:left-1\\/2{left:50%}.tpl\\:left-2\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:left-3{left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:left-5{left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:left-12{left:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:left-full{left:100%}.tpl\\:z-10{z-index:10}.tpl\\:z-20{z-index:20}.tpl\\:z-40{z-index:40}.tpl\\:z-50{z-index:50}.tpl\\:z-\\[4\\]{z-index:4}.tpl\\:z-\\[5\\]{z-index:5}.tpl\\:z-\\[60\\]{z-index:60}.tpl\\:z-\\[100\\]{z-index:100}.tpl\\:m-0{margin:0}.tpl\\:m-6{margin:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-0\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mx-1{margin-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:mx-1\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mx-3{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mx-4{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mx-6{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-auto{margin-inline:auto}.tpl\\:mt-0\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mt-1{margin-top:calc(var(--tpl-base-size) / 4)}.tpl\\:mt-1\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mt-2{margin-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mt-3{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mt-3\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mt-4{margin-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:-mr-1\\.5{margin-right:calc(calc(var(--tpl-base-size) / 4) * -1.5)}.tpl\\:\\!mb-0{margin-bottom:0!important}.tpl\\:mb-1{margin-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:mb-1\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mb-2{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-2\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:mb-3{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mb-3\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mb-4{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mb-px{margin-bottom:1px}.tpl\\:-ml-1\\.5{margin-left:calc(calc(var(--tpl-base-size) / 4) * -1.5)}.tpl\\:-ml-48{margin-left:calc(calc(var(--tpl-base-size) / 4) * -48)}.tpl\\:ml-0{margin-left:0}.tpl\\:ml-0\\.5{margin-left:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:ml-1{margin-left:calc(var(--tpl-base-size) / 4)}.tpl\\:ml-2{margin-left:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:ml-5{margin-left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:ml-auto{margin-left:auto}.tpl\\:box-border{box-sizing:border-box}.tpl\\:line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.tpl\\:line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.tpl\\:\\!flex{display:flex!important}.tpl\\:block{display:block}.tpl\\:contents{display:contents}.tpl\\:flex{display:flex}.tpl\\:grid{display:grid}.tpl\\:inline{display:inline}.tpl\\:inline-block{display:inline-block}.tpl\\:inline-flex{display:inline-flex}.tpl\\:aspect-square{aspect-ratio:1}.tpl\\:size-1\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5);height:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:size-2{width:calc(calc(var(--tpl-base-size) / 4) * 2);height:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:size-4{width:calc(calc(var(--tpl-base-size) / 4) * 4);height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:size-4\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 4.5);height:calc(calc(var(--tpl-base-size) / 4) * 4.5)}.tpl\\:size-5{width:calc(calc(var(--tpl-base-size) / 4) * 5);height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:size-6{width:calc(calc(var(--tpl-base-size) / 4) * 6);height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:size-7{width:calc(calc(var(--tpl-base-size) / 4) * 7);height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:size-8{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:size-10{width:calc(calc(var(--tpl-base-size) / 4) * 10);height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:size-16{width:calc(calc(var(--tpl-base-size) / 4) * 16);height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:size-full{width:100%;height:100%}.tpl\\:h-0{height:0}.tpl\\:h-1\\.5{height:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:h-2\\.5{height:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:h-3{height:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:h-4{height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:h-5{height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:h-6{height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:h-7{height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:h-8{height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:h-9{height:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:h-10{height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:h-12{height:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:h-14{height:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:h-16{height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:h-32{height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:h-44{height:calc(calc(var(--tpl-base-size) / 4) * 44)}.tpl\\:h-\\[32px\\]{height:32px}.tpl\\:h-full{height:100%}.tpl\\:max-h-24{max-height:calc(calc(var(--tpl-base-size) / 4) * 24)}.tpl\\:max-h-32{max-height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:max-h-48{max-height:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:max-h-56{max-height:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:max-h-64{max-height:calc(calc(var(--tpl-base-size) / 4) * 64)}.tpl\\:max-h-\\[50vh\\]{max-height:50vh}.tpl\\:max-h-\\[60vh\\]{max-height:60vh}.tpl\\:max-h-\\[80\\%\\]{max-height:80%}.tpl\\:max-h-\\[80vh\\]{max-height:80vh}.tpl\\:max-h-\\[90\\%\\]{max-height:90%}.tpl\\:max-h-\\[90vh\\]{max-height:90vh}.tpl\\:max-h-full{max-height:100%}.tpl\\:min-h-0{min-height:0}.tpl\\:min-h-6{min-height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:min-h-10{min-height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:min-h-20{min-height:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:min-h-\\[1em\\]{min-height:1em}.tpl\\:min-h-\\[34px\\]{min-height:34px}.tpl\\:min-h-\\[44px\\]{min-height:44px}.tpl\\:min-h-\\[48px\\]{min-height:48px}.tpl\\:min-h-\\[60px\\]{min-height:60px}.tpl\\:min-h-\\[68px\\]{min-height:68px}.tpl\\:min-h-\\[80px\\]{min-height:80px}.tpl\\:min-h-\\[100px\\]{min-height:100px}.tpl\\:min-h-\\[120px\\]{min-height:120px}.tpl\\:min-h-\\[150px\\]{min-height:150px}.tpl\\:min-h-\\[400px\\]{min-height:400px}.tpl\\:w-1\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:w-1\\/2{width:50%}.tpl\\:w-1\\/3{width:33.3333%}.tpl\\:w-1\\/4{width:25%}.tpl\\:w-2\\/3{width:66.6667%}.tpl\\:w-3\\/4{width:75%}.tpl\\:w-5\\/6{width:83.3333%}.tpl\\:w-7{width:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:w-8{width:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:w-9{width:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:w-10{width:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:w-12{width:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:w-16{width:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:w-20{width:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:w-24{width:calc(calc(var(--tpl-base-size) / 4) * 24)}.tpl\\:w-28{width:calc(calc(var(--tpl-base-size) / 4) * 28)}.tpl\\:w-32{width:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:w-36{width:calc(calc(var(--tpl-base-size) / 4) * 36)}.tpl\\:w-40{width:calc(calc(var(--tpl-base-size) / 4) * 40)}.tpl\\:w-48{width:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:w-52{width:calc(calc(var(--tpl-base-size) / 4) * 52)}.tpl\\:w-56{width:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:w-72{width:calc(calc(var(--tpl-base-size) / 4) * 72)}.tpl\\:w-80{width:calc(calc(var(--tpl-base-size) / 4) * 80)}.tpl\\:w-\\[300px\\]{width:300px}.tpl\\:w-\\[320px\\]{width:320px}.tpl\\:w-\\[360px\\]{width:360px}.tpl\\:w-\\[400px\\]{width:400px}.tpl\\:w-\\[420px\\]{width:420px}.tpl\\:w-\\[1000px\\]{width:1000px}.tpl\\:w-\\[min\\(420px\\,92vw\\)\\]{width:min(420px,92vw)}.tpl\\:w-full{width:100%}.tpl\\:w-px{width:1px}.tpl\\:max-w-2xl{max-width:calc(42 * var(--tpl-base-size))}.tpl\\:max-w-3xl{max-width:calc(48 * var(--tpl-base-size))}.tpl\\:max-w-\\[220px\\]{max-width:220px}.tpl\\:max-w-\\[240px\\]{max-width:240px}.tpl\\:max-w-\\[260px\\]{max-width:260px}.tpl\\:max-w-\\[320px\\]{max-width:320px}.tpl\\:max-w-\\[600px\\]{max-width:600px}.tpl\\:max-w-\\[calc\\(100\\%_-_2\\*var\\(--tpl-base-size\\)\\)\\]{max-width:calc(100% - 2 * var(--tpl-base-size))}.tpl\\:max-w-\\[calc\\(100vw_-_2\\*var\\(--tpl-base-size\\)\\)\\]{max-width:calc(100vw - 2 * var(--tpl-base-size))}.tpl\\:max-w-full{max-width:100%}.tpl\\:max-w-md{max-width:calc(28 * var(--tpl-base-size))}.tpl\\:max-w-sm{max-width:calc(24 * var(--tpl-base-size))}.tpl\\:min-w-0{min-width:0}.tpl\\:min-w-6{min-width:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:min-w-\\[20px\\]{min-width:20px}.tpl\\:min-w-\\[200px\\]{min-width:200px}.tpl\\:flex-1{flex:1}.tpl\\:flex-shrink-0,.tpl\\:shrink-0{flex-shrink:0}.tpl\\:grow{flex-grow:1}.tpl\\:-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-4{--tw-translate-x:calc(calc(var(--tpl-base-size) / 4) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-2{--tw-translate-y:calc(calc(var(--tpl-base-size) / 4) * -2);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-1{--tw-translate-y:calc(var(--tpl-base-size) / 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:-rotate-90{rotate:-90deg}.tpl\\:rotate-0{rotate:0deg}.tpl\\:rotate-45{rotate:45deg}.tpl\\:rotate-90{rotate:90deg}.tpl\\:rotate-180{rotate:180deg}.tpl\\:animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.tpl\\:animate-spin{animation:1s linear infinite spin}.tpl\\:cursor-default{cursor:default}.tpl\\:cursor-grab{cursor:grab}.tpl\\:cursor-help{cursor:help}.tpl\\:cursor-not-allowed{cursor:not-allowed}.tpl\\:cursor-pointer{cursor:pointer}.tpl\\:resize-none{resize:none}.tpl\\:resize-y{resize:vertical}.tpl\\:list-disc{list-style-type:disc}.tpl\\:list-none{list-style-type:none}.tpl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.tpl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.tpl\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.tpl\\:grid-cols-\\[1fr_auto_1fr\\]{grid-template-columns:1fr auto 1fr}.tpl\\:flex-col{flex-direction:column}.tpl\\:flex-row-reverse{flex-direction:row-reverse}.tpl\\:flex-wrap{flex-wrap:wrap}.tpl\\:items-center{align-items:center}.tpl\\:items-end{align-items:flex-end}.tpl\\:items-start{align-items:flex-start}.tpl\\:items-stretch{align-items:stretch}.tpl\\:justify-between{justify-content:space-between}.tpl\\:justify-center{justify-content:center}.tpl\\:justify-end{justify-content:flex-end}.tpl\\:gap-0{gap:0}.tpl\\:gap-0\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-1{gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-1\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:gap-2{gap:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:gap-2\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:gap-3{gap:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:gap-3\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:gap-4{gap:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:gap-5{gap:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:gap-6{gap:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:gap-10{gap:calc(calc(var(--tpl-base-size) / 4) * 10)}:where(.tpl\\:space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--tpl-base-size) / 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--tpl-base-size) / 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-3\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 3.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 3.5) * calc(1 - var(--tw-space-y-reverse)))}.tpl\\:gap-x-1{column-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-x-3{column-gap:calc(calc(var(--tpl-base-size) / 4) * 3)}:where(.tpl\\:-space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * calc(1 - var(--tw-space-x-reverse)))}.tpl\\:gap-y-0\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:self-end{align-self:flex-end}.tpl\\:self-start{align-self:flex-start}.tpl\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tpl\\:overflow-auto{overflow:auto}.tpl\\:overflow-hidden{overflow:hidden}.tpl\\:overflow-x-auto{overflow-x:auto}.tpl\\:overflow-y-auto{overflow-y:auto}.tpl\\:rounded{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-\\[calc\\(var\\(--tpl-radius-sm\\)-2px\\)\\]{border-radius:calc(var(--tpl-radius-sm) - 2px)}.tpl\\:rounded-\\[var\\(--tpl-radius\\)\\]{border-radius:var(--tpl-radius)}.tpl\\:rounded-\\[var\\(--tpl-radius-lg\\)\\]{border-radius:var(--tpl-radius-lg)}.tpl\\:rounded-\\[var\\(--tpl-radius-md\\)\\]{border-radius:var(--tpl-radius-md)}.tpl\\:rounded-\\[var\\(--tpl-radius-sm\\)\\]{border-radius:var(--tpl-radius-sm)}.tpl\\:rounded-full{border-radius:3.40282e38px}.tpl\\:rounded-lg{border-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-md{border-radius:calc(.375 * var(--tpl-base-size))}.tpl\\:rounded-sm{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-xl{border-radius:calc(.75 * var(--tpl-base-size))}.tpl\\:rounded-l-\\[var\\(--tpl-radius-sm\\)\\]{border-top-left-radius:var(--tpl-radius-sm);border-bottom-left-radius:var(--tpl-radius-sm)}.tpl\\:rounded-tl-lg{border-top-left-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-r-\\[var\\(--tpl-radius-sm\\)\\]{border-top-right-radius:var(--tpl-radius-sm);border-bottom-right-radius:var(--tpl-radius-sm)}.tpl\\:rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.tpl\\:border{border-style:var(--tw-border-style);border-width:1px}.tpl\\:border-0{border-style:var(--tw-border-style);border-width:0}.tpl\\:border-2{border-style:var(--tw-border-style);border-width:2px}.tpl\\:border-x-0{border-inline-style:var(--tw-border-style);border-inline-width:0}.tpl\\:border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.tpl\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.tpl\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.tpl\\:border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.tpl\\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.tpl\\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.tpl\\:border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.tpl\\:border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.tpl\\:border-dashed{--tw-border-style:dashed;border-style:dashed}.tpl\\:border-none{--tw-border-style:none;border-style:none}.tpl\\:border-\\[var\\(--tpl-bg\\)\\]{border-color:var(--tpl-bg)}.tpl\\:border-\\[var\\(--tpl-border\\)\\]{border-color:var(--tpl-border)}.tpl\\:border-\\[var\\(--tpl-border-light\\)\\]{border-color:var(--tpl-border-light)}.tpl\\:border-\\[var\\(--tpl-danger\\)\\]{border-color:var(--tpl-danger)}.tpl\\:border-\\[var\\(--tpl-primary\\)\\]{border-color:var(--tpl-primary)}.tpl\\:border-\\[var\\(--tpl-primary-hover\\)\\]{border-color:var(--tpl-primary-hover)}.tpl\\:border-\\[var\\(--tpl-warning\\)\\]{border-color:var(--tpl-warning)}.tpl\\:border-transparent{border-color:#0000}.tpl\\:border-l-\\[var\\(--tpl-primary\\)\\]{border-left-color:var(--tpl-primary)}.tpl\\:border-l-transparent{border-left-color:#0000}.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:var(--tpl-bg)}@supports (color:color-mix(in lab,red,red)){.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:color-mix(in srgb,var(--tpl-bg) 90%,transparent)}}.tpl\\:bg-\\[var\\(--tpl-bg\\)\\]{background-color:var(--tpl-bg)}.tpl\\:bg-\\[var\\(--tpl-bg-active\\)\\]{background-color:var(--tpl-bg-active)}.tpl\\:bg-\\[var\\(--tpl-bg-elevated\\)\\]{background-color:var(--tpl-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-bg-hover\\)\\]{background-color:var(--tpl-bg-hover)}.tpl\\:bg-\\[var\\(--tpl-border\\)\\]{background-color:var(--tpl-border)}.tpl\\:bg-\\[var\\(--tpl-canvas-bg\\)\\]{background-color:var(--tpl-canvas-bg)}.tpl\\:bg-\\[var\\(--tpl-chrome-bg-elevated\\)\\]{background-color:var(--tpl-chrome-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-chrome-primary-light\\)\\]{background-color:var(--tpl-chrome-primary-light)}.tpl\\:bg-\\[var\\(--tpl-danger\\)\\]{background-color:var(--tpl-danger)}.tpl\\:bg-\\[var\\(--tpl-danger-light\\)\\]{background-color:var(--tpl-danger-light)}.tpl\\:bg-\\[var\\(--tpl-primary\\)\\]{background-color:var(--tpl-primary)}.tpl\\:bg-\\[var\\(--tpl-primary-light\\)\\]{background-color:var(--tpl-primary-light)}.tpl\\:bg-\\[var\\(--tpl-secondary-light\\)\\]{background-color:var(--tpl-secondary-light)}.tpl\\:bg-\\[var\\(--tpl-text-dim\\)\\]{background-color:var(--tpl-text-dim)}.tpl\\:bg-\\[var\\(--tpl-warning-light\\)\\]{background-color:var(--tpl-warning-light)}.tpl\\:bg-black\\/30{background-color:oklab(0% none none/.3)}.tpl\\:bg-transparent{background-color:#0000}.tpl\\:object-contain{object-fit:contain}.tpl\\:object-cover{object-fit:cover}.tpl\\:p-0{padding:0}.tpl\\:p-0\\.5{padding:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:p-1{padding:calc(var(--tpl-base-size) / 4)}.tpl\\:p-1\\.5{padding:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:p-2{padding:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:p-3{padding:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:p-4{padding:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:p-5{padding:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:p-6{padding:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:p-8{padding:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:px-0\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:px-1{padding-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:px-1\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:px-2{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:px-2\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:px-3{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:px-3\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:px-4{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:px-5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:px-6{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:px-8{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:px-10{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:py-0{padding-block:0}.tpl\\:py-0\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:py-1{padding-block:calc(var(--tpl-base-size) / 4)}.tpl\\:py-1\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:py-2{padding-block:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:py-2\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:py-3{padding-block:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:py-3\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:py-4{padding-block:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:py-5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:py-6{padding-block:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:py-8{padding-block:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:py-10{padding-block:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:py-12{padding-block:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:py-16{padding-block:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:py-\\[5px\\]{padding-block:5px}.tpl\\:py-\\[7px\\]{padding-block:7px}.tpl\\:py-px{padding-block:1px}.tpl\\:pt-2{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pt-2\\.5{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pt-3{padding-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pt-4{padding-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-2{padding-right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pr-3{padding-right:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pr-4{padding-right:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-7{padding-right:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:pr-8{padding-right:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pb-1{padding-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:pb-1\\.5{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:pb-3{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pb-4{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-2\\.5{padding-left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pl-3{padding-left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pl-4{padding-left:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-8{padding-left:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pl-9{padding-left:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:pl-\\[18px\\]{padding-left:18px}.tpl\\:text-center{text-align:center}.tpl\\:text-left{text-align:left}.tpl\\:font-\\[inherit\\]{font-family:inherit}.tpl\\:font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.tpl\\:font-sans{font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tpl\\:text-base{font-size:var(--tpl-base-size);line-height:var(--tw-leading, 1.5 )}.tpl\\:text-lg{font-size:calc(1.125 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.75 / 1.125))}.tpl\\:text-sm{font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875))}.tpl\\:text-xs{font-size:calc(.75 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1 / .75))}.tpl\\:text-\\[0\\.8em\\]{font-size:.8em}.tpl\\:text-\\[0\\.9em\\]{font-size:.9em}.tpl\\:text-\\[1em\\]{font-size:1em}.tpl\\:text-\\[10px\\]{font-size:10px}.tpl\\:text-\\[12px\\]{font-size:12px}.tpl\\:text-\\[13px\\]{font-size:13px}.tpl\\:text-\\[length\\:inherit\\]{font-size:inherit}.tpl\\:leading-\\[inherit\\]{--tw-leading:inherit;line-height:inherit}.tpl\\:leading-none{--tw-leading:1;line-height:1}.tpl\\:leading-normal{--tw-leading:1.5;line-height:1.5}.tpl\\:leading-relaxed{--tw-leading:1.625;line-height:1.625}.tpl\\:leading-snug{--tw-leading:1.375;line-height:1.375}.tpl\\:leading-tight{--tw-leading:1.25;line-height:1.25}.tpl\\:font-\\[var\\(--tpl-font-family\\)\\]{--tw-font-weight:var(--tpl-font-family);font-weight:var(--tpl-font-family)}.tpl\\:font-bold{--tw-font-weight:700;font-weight:700}.tpl\\:font-medium{--tw-font-weight:500;font-weight:500}.tpl\\:font-normal{--tw-font-weight:400;font-weight:400}.tpl\\:font-semibold{--tw-font-weight:600;font-weight:600}.tpl\\:tracking-wide{--tw-tracking:.025em;letter-spacing:.025em}.tpl\\:tracking-wider{--tw-tracking:.05em;letter-spacing:.05em}.tpl\\:break-words{overflow-wrap:break-word}.tpl\\:break-all{word-break:break-all}.tpl\\:text-ellipsis{text-overflow:ellipsis}.tpl\\:whitespace-nowrap{white-space:nowrap}.tpl\\:whitespace-pre-wrap{white-space:pre-wrap}.tpl\\:text-\\[var\\(--tpl-bg\\)\\]{color:var(--tpl-bg)}.tpl\\:text-\\[var\\(--tpl-border-light\\)\\]{color:var(--tpl-border-light)}.tpl\\:text-\\[var\\(--tpl-chrome-text-dim\\)\\]{color:var(--tpl-chrome-text-dim)}.tpl\\:text-\\[var\\(--tpl-chrome-text-muted\\)\\]{color:var(--tpl-chrome-text-muted)}.tpl\\:text-\\[var\\(--tpl-danger\\)\\]{color:var(--tpl-danger)}.tpl\\:text-\\[var\\(--tpl-on-primary\\)\\]{color:var(--tpl-on-primary)}.tpl\\:text-\\[var\\(--tpl-primary\\)\\]{color:var(--tpl-primary)}.tpl\\:text-\\[var\\(--tpl-primary-hover\\)\\]{color:var(--tpl-primary-hover)}.tpl\\:text-\\[var\\(--tpl-success\\)\\]{color:var(--tpl-success)}.tpl\\:text-\\[var\\(--tpl-success\\,var\\(--tpl-primary\\)\\)\\]{color:var(--tpl-success,var(--tpl-primary))}.tpl\\:text-\\[var\\(--tpl-text\\)\\]{color:var(--tpl-text)}.tpl\\:text-\\[var\\(--tpl-text-dim\\)\\]{color:var(--tpl-text-dim)}.tpl\\:text-\\[var\\(--tpl-text-muted\\)\\]{color:var(--tpl-text-muted)}.tpl\\:text-\\[var\\(--tpl-warning\\)\\]{color:var(--tpl-warning)}.tpl\\:normal-case{text-transform:none}.tpl\\:uppercase{text-transform:uppercase}.tpl\\:italic{font-style:italic}.tpl\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tpl\\:no-underline{text-decoration-line:none}.tpl\\:underline{text-decoration-line:underline}.tpl\\:underline-offset-2{text-underline-offset:2px}.tpl\\:accent-\\[var\\(--tpl-primary\\)\\]{accent-color:var(--tpl-primary)}.tpl\\:opacity-0{opacity:0}.tpl\\:opacity-50{opacity:.5}.tpl\\:opacity-60{opacity:.6}.tpl\\:opacity-70{opacity:.7}.tpl\\:opacity-90{opacity:.9}.tpl\\:opacity-100{opacity:1}.tpl\\:shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-ring\\)\\]{--tw-shadow:var(--tpl-ring);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow\\)\\]{--tw-shadow:var(--tpl-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-lg\\)\\]{--tw-shadow:var(--tpl-shadow-lg);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-md\\)\\]{--tw-shadow:var(--tpl-shadow-md);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-sm\\)\\]{--tw-shadow:var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-\\[var\\(--tpl-border\\)\\]{--tw-ring-color:var(--tpl-border)}.tpl\\:ring-\\[var\\(--tpl-primary\\)\\]{--tw-ring-color:var(--tpl-primary)}.tpl\\:ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.tpl\\:ring-offset-\\[var\\(--tpl-bg-elevated\\)\\]{--tw-ring-offset-color:var(--tpl-bg-elevated)}.tpl\\:backdrop-blur-\\[2px\\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.tpl\\:transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:duration-100{--tw-duration:.1s;transition-duration:.1s}.tpl\\:duration-150{--tw-duration:.15s;transition-duration:.15s}.tpl\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.tpl\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.tpl\\:duration-\\[80ms\\]{--tw-duration:80ms;transition-duration:80ms}.tpl\\:duration-\\[120ms\\]{--tw-duration:.12s;transition-duration:.12s}.tpl\\:ease-\\[cubic-bezier\\(0\\.16\\,1\\,0\\.3\\,1\\)\\]{--tw-ease:cubic-bezier(.16,1,.3,1);transition-timing-function:cubic-bezier(.16,1,.3,1)}.tpl\\:ease-in{--tw-ease:cubic-bezier(.4, 0, 1, 1);transition-timing-function:cubic-bezier(.4,0,1,1)}.tpl\\:ease-out{--tw-ease:cubic-bezier(0, 0, .2, 1);transition-timing-function:cubic-bezier(0,0,.2,1)}.tpl\\:outline-none{--tw-outline-style:none;outline-style:none}.tpl\\:select-none{-webkit-user-select:none;user-select:none}.tpl\\:group-focus-within\\:opacity-100:is(:where(.tpl\\:group):focus-within *){opacity:1}@media(hover:hover){.tpl\\:group-hover\\:bg-black\\/40:is(:where(.tpl\\:group):hover *){background-color:oklab(0% none none/.4)}.tpl\\:group-hover\\:opacity-100:is(:where(.tpl\\:group):hover *){opacity:1}}.tpl\\:placeholder\\:text-\\[var\\(--tpl-text-dim\\)\\]::placeholder{color:var(--tpl-text-dim)}.tpl\\:last\\:mb-0:last-child{margin-bottom:0}@media(hover:hover){.tpl\\:hover\\:z-10:hover{z-index:10}.tpl\\:hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:border-\\[var\\(--tpl-border\\)\\]:hover{border-color:var(--tpl-border)}.tpl\\:hover\\:border-\\[var\\(--tpl-danger\\)\\]:hover{border-color:var(--tpl-danger)}.tpl\\:hover\\:border-\\[var\\(--tpl-primary\\)\\]:hover{border-color:var(--tpl-primary)}.tpl\\:hover\\:border-\\[var\\(--tpl-text-dim\\)\\]:hover{border-color:var(--tpl-text-dim)}.tpl\\:hover\\:border-l-\\[var\\(--tpl-primary\\)\\]:hover{border-left-color:var(--tpl-primary)}.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:var(--tpl-text)}@supports (color:color-mix(in lab,red,red)){.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:color-mix(in srgb,var(--tpl-text) 8%,transparent)}}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-active\\)\\]:hover{background-color:var(--tpl-bg-active)}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-hover\\)\\]:hover{background-color:var(--tpl-bg-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-danger-light\\)\\]:hover{background-color:var(--tpl-danger-light)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-hover\\)\\]:hover{background-color:var(--tpl-primary-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-light\\)\\]:hover{background-color:var(--tpl-primary-light)}.tpl\\:hover\\:bg-\\[var\\(--tpl-warning-light\\)\\]:hover{background-color:var(--tpl-warning-light)}.tpl\\:hover\\:text-\\[var\\(--tpl-danger\\)\\]:hover{color:var(--tpl-danger)}.tpl\\:hover\\:text-\\[var\\(--tpl-primary\\)\\]:hover{color:var(--tpl-primary)}.tpl\\:hover\\:text-\\[var\\(--tpl-text\\)\\]:hover{color:var(--tpl-text)}.tpl\\:hover\\:underline:hover{text-decoration-line:underline}.tpl\\:hover\\:opacity-80:hover{opacity:.8}.tpl\\:hover\\:opacity-100:hover{opacity:1}.tpl\\:hover\\:shadow-\\[var\\(--tpl-shadow-md\\)\\]:hover{--tw-shadow:var(--tpl-shadow-md);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:hover\\:shadow-\\[var\\(--tpl-shadow-sm\\)\\]:hover{--tw-shadow:var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.tpl\\:focus\\:border-\\[var\\(--tpl-primary\\)\\]:focus{border-color:var(--tpl-primary)}.tpl\\:focus\\:shadow-\\[0_0_0_3px_var\\(--tpl-primary-light\\)\\]:focus{--tw-shadow:0 0 0 3px var(--tw-shadow-color,var(--tpl-primary-light));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus\\:shadow-\\[var\\(--tpl-ring\\)\\]:focus,.tpl\\:focus-visible\\:shadow-\\[var\\(--tpl-ring\\)\\]:focus-visible{--tw-shadow:var(--tpl-ring);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus-visible\\:ring-\\[var\\(--tpl-primary\\)\\]:focus-visible{--tw-ring-color:var(--tpl-primary)}.tpl\\:focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.tpl\\:focus-visible\\:ring-offset-\\[var\\(--tpl-bg-elevated\\)\\]:focus-visible{--tw-ring-offset-color:var(--tpl-bg-elevated)}.tpl\\:focus-visible\\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.tpl\\:focus-visible\\:outline-\\[var\\(--tpl-primary\\)\\]:focus-visible{outline-color:var(--tpl-primary)}.tpl\\:focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.tpl\\:active\\:cursor-grabbing:active{cursor:grabbing}.tpl\\:active\\:bg-\\[var\\(--tpl-bg-active\\)\\]:active{background-color:var(--tpl-bg-active)}.tpl\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.tpl\\:disabled\\:opacity-30:disabled{opacity:.3}.tpl\\:disabled\\:opacity-40:disabled{opacity:.4}.tpl\\:disabled\\:opacity-50:disabled{opacity:.5}.tpl\\:disabled\\:opacity-60:disabled{opacity:.6}@media(hover:hover){.tpl\\:disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}.tpl\\:\\[\\&_p\\]\\:mb-2 p{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}@layer base{:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)):after,:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)):before,:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.tpl) :where(hr):not(:where(.tpl-email-surface,.tpl-email-surface *)){height:0;color:inherit;border-top-width:1px}:where(.tpl) :where(abbr[title]):not(:where(.tpl-email-surface,.tpl-email-surface *)){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(.tpl) :where(h1):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h2):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h3):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h4):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h5):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h6):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-size:inherit;font-weight:inherit}:where(.tpl) :where(a):not(:where(.tpl-email-surface,.tpl-email-surface *)){color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}:where(.tpl) :where(b):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(strong):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-weight:bolder}:where(.tpl) :where(code):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(kbd):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(samp):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(pre):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}:where(.tpl) :where(small):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-size:80%}:where(.tpl) :where(sub):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(sup):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:baseline;font-size:75%;line-height:0;position:relative}:where(.tpl) :where(sub):not(:where(.tpl-email-surface,.tpl-email-surface *)){bottom:-.25em}:where(.tpl) :where(sup):not(:where(.tpl-email-surface,.tpl-email-surface *)){top:-.5em}:where(.tpl) :where(table):not(:where(.tpl-email-surface,.tpl-email-surface *)){text-indent:0;border-color:inherit;border-collapse:collapse}:where(.tpl) :where(:-moz-focusring:not(iframe)):not(:where(.tpl-email-surface,.tpl-email-surface *)){outline:auto}:where(.tpl) :where(progress):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:baseline}:where(.tpl) :where(summary):not(:where(.tpl-email-surface,.tpl-email-surface *)){display:list-item}:where(.tpl) :where(ol):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(ul):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(menu):not(:where(.tpl-email-surface,.tpl-email-surface *)){list-style:none}:where(.tpl) :where(img):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(svg):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(video):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(canvas):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(audio):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(iframe):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(embed):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(object):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:middle;display:block}:where(.tpl) :where(img):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(video):not(:where(.tpl-email-surface,.tpl-email-surface *)){max-width:100%;height:auto}:where(.tpl) :where(button):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(input):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(select):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(optgroup):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(textarea):not(:where(.tpl-email-surface,.tpl-email-surface *)){font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.tpl) :where(select:is([multiple],[size]) optgroup):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-weight:bolder}:where(.tpl) :where(select:is([multiple],[size]) optgroup option):not(:where(.tpl-email-surface,.tpl-email-surface *)){padding-inline-start:20px}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{margin-inline-end:4px}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}:where(.tpl) :where(textarea):not(:where(.tpl-email-surface,.tpl-email-surface *)){resize:vertical}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-search-decoration{-webkit-appearance:none}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit{display:inline-flex}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-fields-wrapper{padding:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-year-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-month-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-day-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-hour-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-minute-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-second-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-millisecond-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-meridiem-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-calendar-picker-indicator{line-height:1}:where(.tpl) :where(:-moz-ui-invalid):not(:where(.tpl-email-surface,.tpl-email-surface *)){box-shadow:none}:where(.tpl) :where(button):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(input:is([type=button],[type=reset],[type=submit])):not(:where(.tpl-email-surface,.tpl-email-surface *)){appearance:button}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{appearance:button}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-inner-spin-button{height:auto}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-outer-spin-button{height:auto}:where(.tpl) :where([hidden]:not([hidden=until-found])):not(:where(.tpl-email-surface,.tpl-email-surface *)){display:none!important}}@layer components;.tpl{--tpl-base-size:var(--tpl-user-base-size,16px);--tpl-bg:var(--tpl-user-bg,oklch(99.5% .002 60));--tpl-bg-elevated:var(--tpl-user-bg-elevated,oklch(98% .004 60));--tpl-bg-hover:var(--tpl-user-bg-hover,oklch(96% .006 60));--tpl-bg-active:var(--tpl-user-bg-active,oklch(93.5% .008 60));--tpl-border:var(--tpl-user-border,oklch(92% .006 60));--tpl-border-light:var(--tpl-user-border-light,oklch(86% .01 60));--tpl-text:var(--tpl-user-text,oklch(18% .01 60));--tpl-text-muted:var(--tpl-user-text-muted,oklch(50% .015 60));--tpl-text-dim:var(--tpl-user-text-dim,oklch(68% .012 60));--tpl-primary:var(--tpl-user-primary,oklch(70% .16 55));--tpl-primary-hover:var(--tpl-user-primary-hover,oklch(63% .17 55));--tpl-primary-light:var(--tpl-user-primary-light,oklch(95% .04 55));--tpl-on-primary:var(--tpl-user-on-primary,var(--tpl-bg));--tpl-secondary:var(--tpl-user-secondary,oklch(60% .118 184.71));--tpl-secondary-hover:var(--tpl-user-secondary-hover,oklch(53.2% .105 186.39));--tpl-secondary-light:var(--tpl-user-secondary-light,oklch(93.8% .03 186.82));--tpl-success:var(--tpl-user-success,oklch(62.8% .194 155.1));--tpl-success-light:var(--tpl-user-success-light,oklch(93.6% .043 163.51));--tpl-warning:var(--tpl-user-warning,oklch(76.9% .168 70.08));--tpl-warning-light:var(--tpl-user-warning-light,oklch(95% .038 73.59));--tpl-danger:var(--tpl-user-danger,oklch(63.7% .237 25.33));--tpl-danger-light:var(--tpl-user-danger-light,oklch(93.6% .032 17.72));--tpl-canvas-bg:var(--tpl-user-canvas-bg,oklch(97.5% .003 60));--tpl-chrome-bg-elevated:var(--tpl-bg-elevated);--tpl-chrome-border-light:var(--tpl-border-light);--tpl-chrome-text:var(--tpl-text);--tpl-chrome-text-muted:var(--tpl-text-muted);--tpl-chrome-text-dim:var(--tpl-text-dim);--tpl-chrome-primary-light:var(--tpl-primary-light);--tpl-chrome-primary-hover:var(--tpl-primary-hover);--tpl-radius:var(--tpl-user-radius,10px);--tpl-radius-sm:var(--tpl-user-radius-sm,7px);--tpl-radius-lg:var(--tpl-user-radius-lg,14px);--tpl-font-family:var(--tpl-user-font-family,\"Geist\", ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");--tpl-shadow-sm:var(--tpl-user-shadow-sm,0 1px 2px #00000008);--tpl-shadow:var(--tpl-user-shadow,0 1px 2px #0000000a, 0 1px 3px #00000008);--tpl-shadow-md:var(--tpl-user-shadow-md,0 2px 8px #0000000f, 0 1px 3px #0000000a);--tpl-shadow-lg:var(--tpl-user-shadow-lg,0 4px 16px #00000014, 0 2px 6px #0000000a);--tpl-shadow-xl:var(--tpl-user-shadow-xl,0 8px 32px #0000001a, 0 4px 12px #0000000f);--tpl-overlay:var(--tpl-user-overlay,#00000080);--tpl-ring:var(--tpl-user-ring,0 0 0 3px var(--tpl-primary-light));--tpl-transition:var(--tpl-user-transition,.12s cubic-bezier(.16, 1, .3, 1))}.tpl[data-tpl-theme=dark]{--tpl-bg:var(--tpl-user-dark-bg,oklch(16% .005 60));--tpl-bg-elevated:var(--tpl-user-dark-bg-elevated,oklch(21% .006 60));--tpl-bg-hover:var(--tpl-user-dark-bg-hover,oklch(26% .007 60));--tpl-bg-active:var(--tpl-user-dark-bg-active,oklch(30% .008 60));--tpl-border:var(--tpl-user-dark-border,oklch(30% .006 60));--tpl-border-light:var(--tpl-user-dark-border-light,oklch(38% .008 60));--tpl-text:var(--tpl-user-dark-text,oklch(93% .005 60));--tpl-text-muted:var(--tpl-user-dark-text-muted,oklch(65% .01 60));--tpl-text-dim:var(--tpl-user-dark-text-dim,oklch(50% .008 60));--tpl-primary:var(--tpl-user-dark-primary,oklch(73% .15 55));--tpl-primary-hover:var(--tpl-user-dark-primary-hover,oklch(78% .14 55));--tpl-primary-light:var(--tpl-user-dark-primary-light,oklch(28% .05 55));--tpl-secondary:var(--tpl-user-dark-secondary,oklch(63% .11 184.71));--tpl-secondary-hover:var(--tpl-user-dark-secondary-hover,oklch(68% .1 186.39));--tpl-secondary-light:var(--tpl-user-dark-secondary-light,oklch(25% .03 186.82));--tpl-success:var(--tpl-user-dark-success,oklch(65% .18 155.1));--tpl-success-light:var(--tpl-user-dark-success-light,oklch(25% .04 163.51));--tpl-warning:var(--tpl-user-dark-warning,oklch(78% .16 70.08));--tpl-warning-light:var(--tpl-user-dark-warning-light,oklch(28% .04 73.59));--tpl-danger:var(--tpl-user-dark-danger,oklch(65% .22 25.33));--tpl-danger-light:var(--tpl-user-dark-danger-light,oklch(25% .04 17.72));--tpl-canvas-bg:var(--tpl-user-dark-canvas-bg,oklch(10% .003 60));--tpl-shadow-sm:var(--tpl-user-dark-shadow-sm,0 1px 2px #0003);--tpl-shadow:var(--tpl-user-dark-shadow,0 1px 2px #0000004d, 0 1px 3px #0003);--tpl-shadow-md:var(--tpl-user-dark-shadow-md,0 2px 8px #00000059, 0 1px 3px #00000040);--tpl-shadow-lg:var(--tpl-user-dark-shadow-lg,0 4px 16px #0006, 0 2px 6px #0000004d);--tpl-shadow-xl:var(--tpl-user-dark-shadow-xl,0 8px 32px #00000080, 0 4px 12px #00000059);--tpl-overlay:var(--tpl-user-dark-overlay,#000000b3);--tpl-ring:var(--tpl-user-dark-ring,0 0 0 3px var(--tpl-primary-light))}.tpl[data-tpl-theme=dark] .tpl-block-content,.tpl[data-tpl-theme=dark] .tpl-canvas-empty{--tpl-bg-elevated:oklch(98% .004 60);--tpl-border-light:oklch(86% .01 60);--tpl-text:oklch(18% .01 60);--tpl-text-muted:oklch(50% .015 60);--tpl-text-dim:oklch(68% .012 60);--tpl-primary-light:oklch(95% .04 55);--tpl-primary-hover:oklch(60% .16 55);color:var(--tpl-text)}.tpl{height:100%;font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875));--tw-leading:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--tpl-bg);min-height:320px;color:var(--tpl-text);line-height:1.5;font-family:var(--tpl-font-family);letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:start;white-space:normal;cursor:auto;font-variant-numeric:normal;text-shadow:none;flex-direction:column;font-style:normal;font-weight:400;list-style-type:disc;display:flex}:where(.tpl) button,:where(.tpl) input,:where(.tpl) select,:where(.tpl) textarea{box-sizing:border-box;font-family:inherit}:where(.tpl) button{cursor:pointer;background:0 0;border:none;margin:0;padding:0}:where(.tpl) button:focus-visible,:where(.tpl) input:focus-visible,:where(.tpl) select:focus-visible,:where(.tpl) textarea:focus-visible{box-shadow:var(--tpl-ring);outline:none}:where(.tpl) .tpl-focus-ring-host:focus-within :is(input,select,textarea):focus-visible{box-shadow:none}.tpl ::-webkit-scrollbar{width:6px;height:6px}.tpl ::-webkit-scrollbar-track{background:0 0}.tpl ::-webkit-scrollbar-thumb{background-color:var(--tpl-border-light)}@supports (color:color-mix(in lab,red,red)){.tpl ::-webkit-scrollbar-thumb{background-color:color-mix(in srgb,var(--tpl-border-light) 60%,transparent)}}.tpl ::-webkit-scrollbar-thumb{border-radius:calc(.25 * var(--tpl-base-size))}.tpl ::-webkit-scrollbar-thumb:hover{background-color:var(--tpl-border-light)}@keyframes tpl-pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes tpl-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tpl-popover-root{z-index:10000;position:relative}.tpl-merge-tag-label{text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}@supports (color:color-mix(in lab,red,red)){.tpl-merge-tag-label{-webkit-text-decoration-color:color-mix(in srgb,currentColor 55%,transparent);text-decoration-color:color-mix(in srgb,currentColor 55%,transparent)}}.tpl-merge-tag-label{unicode-bidi:isolate}.tpl-pulse{animation:2s infinite tpl-pulse}.tpl-spinner{animation:1s linear infinite tpl-spin}@keyframes tpl-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes tpl-scale-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@keyframes tpl-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.tpl-fade-in{animation:.2s cubic-bezier(.16,1,.3,1) tpl-fade-in}.tpl-scale-in{animation:.15s cubic-bezier(.16,1,.3,1) tpl-scale-in}.tpl-shimmer{background:linear-gradient(90deg,var(--tpl-bg-hover) 25%,var(--tpl-bg-active) 50%,var(--tpl-bg-hover) 75%);background-size:200% 100%;animation:1.5s linear infinite tpl-shimmer}.tpl-preview-mode .tpl-block--idle,.tpl-preview-mode .tpl-block--idle:hover,.tpl-preview-mode .tpl-block--selected{box-shadow:none!important;outline:none!important}.tpl-preview-mode .tpl-block{cursor:default;pointer-events:none}.tpl-preview-mode .tpl-block-actions,.tpl-preview-mode .tpl-block-hidden-overlay,.tpl-preview-mode .tpl-condition-toggle,.tpl-preview-mode .tpl-comment-indicator,.tpl-preview-mode .tpl-collab-lock{display:none}.tpl-ghost{border:none!important;border-top:2px dotted var(--tpl-primary)!important;background-color:#0000!important;justify-content:center!important;align-items:center!important;width:100%!important;height:0!important;min-height:0!important;max-height:0!important;margin:12px 0!important;padding:0!important;display:flex!important;position:relative!important;overflow:visible!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost{border-top:2px dotted color-mix(in srgb,var(--tpl-primary) 50%,transparent)!important}}.tpl-ghost{box-shadow:none!important;border-radius:0!important}.tpl-ghost>*{display:none!important}.tpl-ghost:before{content:var(--tpl-drop-text,\"Drop here\");white-space:nowrap!important;color:var(--tpl-primary)!important;background-color:var(--tpl-primary)!important;padding:2px 8px!important;font-size:12px!important;font-weight:500!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost:before{background-color:color-mix(in srgb,var(--tpl-primary) 15%,var(--tpl-bg))!important}}.tpl-ghost:before{border-radius:var(--tpl-radius-sm)!important;box-shadow:none!important}.tpl-canvas-empty .tpl-ghost{display:none!important}.tpl-dragging{opacity:.8;box-shadow:var(--tpl-shadow-xl)}.sortable-fallback{transition:none!important;animation:none!important}.tpl-block--lifted{outline:2px dashed var(--tpl-primary)!important;outline-offset:2px!important;box-shadow:var(--tpl-shadow-xl),0 0 0 4px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-block--lifted{box-shadow:var(--tpl-shadow-xl),0 0 0 4px color-mix(in srgb,var(--tpl-primary) 20%,transparent)!important}}.tpl-block--lifted{transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1);transform:scale(1.01)}.tpl-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-text-toolbar-btn{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8);cursor:pointer;border-radius:calc(.25 * var(--tpl-base-size));--tw-border-style:none;transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s);color:var(--tpl-text);background-color:#0000;border-style:none;justify-content:center;align-items:center;padding:0;display:flex}.tpl-text-toolbar-btn:hover{background-color:var(--tpl-bg-active)}.tpl-text-toolbar-btn--active{box-shadow:inset 0 0 0 1.5px var(--tpl-primary-hover);background-color:var(--tpl-primary)!important;color:var(--tpl-bg)!important}.tpl-text-toolbar-btn--active svg{stroke-width:2.75px}.tpl-text-content,.tpl-text-editable .tiptap{--tw-outline-style:none;outline-style:none}.tpl-text-editable{border-radius:calc(.25 * var(--tpl-base-size));outline:1px dashed var(--tpl-primary);outline-offset:4px}.tpl-text-editable--error{outline-color:var(--tpl-danger)}.tpl-text-content p,.tpl-text-editable .tiptap p{margin:0 0 var(--tpl-doc-paragraph-spacing,8px)}.tpl-text-content p:last-child,.tpl-text-editable .tiptap p:last-child{margin-bottom:0}.tpl-text-content ul,.tpl-text-content ol,.tpl-text-editable .tiptap ul,.tpl-text-editable .tiptap ol{margin:8px 0;padding-inline-start:24px}.tpl-text-content li,.tpl-text-editable .tiptap li{margin:4px 0}.tpl-text-content s,.tpl-text-editable .tiptap s{text-decoration-line:line-through}.tpl-text-content sub,.tpl-text-editable .tiptap sub{vertical-align:sub;font-size:.75em}.tpl-text-content sup,.tpl-text-editable .tiptap sup{vertical-align:super;font-size:.75em}.tpl-text-content a,.tpl-text-editable a{color:var(--tpl-doc-link-color,inherit);-webkit-text-decoration:var(--tpl-doc-link-underline,none);text-decoration:var(--tpl-doc-link-underline,none)}.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5);border-radius:calc(.25 * var(--tpl-base-size));padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5);padding-block:calc(calc(var(--tpl-base-size) / 4) * .5);--tw-font-weight:500;background-color:var(--tpl-primary);align-items:center;font-size:.9em;font-weight:500;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{background-color:color-mix(in srgb,var(--tpl-primary) 20%,transparent)}}.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{color:var(--tpl-primary);unicode-bidi:isolate}.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5);border-radius:calc(.25 * var(--tpl-base-size));padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5);padding-block:calc(calc(var(--tpl-base-size) / 4) * .5);--tw-font-weight:700;--tw-tracking:.025em;letter-spacing:.025em;text-transform:uppercase;border:1.5px solid var(--tpl-primary);unicode-bidi:isolate;background-color:#0000;align-items:center;font-size:.8em;font-weight:700;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{border:1.5px solid color-mix(in srgb,var(--tpl-primary) 50%,transparent)}}.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{color:var(--tpl-primary)}.tpl-tooltip{position:relative}.tpl-tooltip:after{content:attr(data-tooltip);border-radius:var(--tpl-radius-sm);background-color:var(--tpl-chrome-text);color:var(--tpl-bg);white-space:normal;text-align:center;pointer-events:none;opacity:0;text-transform:none;z-index:50;width:max-content;max-width:min(320px,90vw);padding:4px 10px;font-size:12px;font-weight:500;line-height:1.4;transition:opacity .15s;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%)}.tpl-tooltip:before{content:\"\";border:4px solid #0000;border-bottom-color:var(--tpl-chrome-text);pointer-events:none;opacity:0;z-index:50;transition:opacity .15s;position:absolute;top:calc(100% + 2px);left:50%;transform:translate(-50%)}.tpl-tooltip:hover:after,.tpl-tooltip:hover:before{opacity:1}.tpl-media-overlay{background-color:var(--tpl-overlay);-webkit-backdrop-filter:blur(8px);height:100%;min-height:0;color:var(--tpl-text);flex-direction:row;justify-content:center;align-items:center;display:flex}.tpl.tpl-text-toolbar{flex-direction:row;height:auto;min-height:0;display:flex}.tpl.tpl-link-dialog{background-color:var(--tpl-overlay);flex-direction:row;justify-content:center;align-items:center;height:100%;min-height:0;display:flex}.tpl-upload-zone-active{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-merge-tag-delete:hover{color:var(--tpl-danger)!important}@media(prefers-reduced-motion:reduce){.tpl-pulse,.tpl-shimmer,.tpl-fade-in,.tpl-scale-in{animation:none}.tpl-shimmer{background:var(--tpl-bg-hover)}.tpl-spinner{animation:1s linear infinite tpl-spin}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}.tpl-preview-pill-enter-active[data-v-42dbfd6a]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-preview-pill-leave-active[data-v-42dbfd6a]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-preview-pill-enter-from[data-v-42dbfd6a],.tpl-preview-pill-leave-to[data-v-42dbfd6a]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-preview-pill-enter-to[data-v-42dbfd6a],.tpl-preview-pill-leave-from[data-v-42dbfd6a]{opacity:1;transform:translateY(0) scale(1)}hex-color-picker{--hcp-width: 200px}hex-color-picker::part(hue){border-radius:var(--tpl-radius-sm, 7px)}hex-color-picker::part(saturation){border-radius:var(--tpl-radius-sm, 7px) var(--tpl-radius-sm, 7px) 0 0}.tpl-color-swatch-empty{background-color:var(--tpl-bg);background-image:linear-gradient(to top right,transparent calc(50% - .75px),var(--tpl-text-dim) calc(50% - .75px),var(--tpl-text-dim) calc(50% + .75px),transparent calc(50% + .75px))}.tpl-color-swatch-transparent{background-color:var(--tpl-bg);background-image:repeating-conic-gradient(var(--tpl-border) 0% 25%,var(--tpl-bg) 0% 50%);background-size:8px 8px}.tpl-pulse-fill[data-v-fca026e4]{animation:tpl-field-pulse-fca026e4 1s ease-out}@keyframes tpl-field-pulse-fca026e4{0%{box-shadow:0 0 color-mix(in srgb,var(--tpl-warning) 30%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 6%,transparent)}40%{box-shadow:0 0 0 3px color-mix(in srgb,var(--tpl-warning) 15%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 5%,transparent)}to{box-shadow:0 0 0 0 transparent;background-color:transparent}}@media(prefers-reduced-motion:reduce){.tpl-pulse-fill[data-v-fca026e4]{animation:none}}input[type=number][data-v-69591c1e]::-webkit-outer-spin-button,input[type=number][data-v-69591c1e]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-69591c1e]{-moz-appearance:textfield}.tpl-collapsible[data-v-e2d2c22f]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-e2d2c22f]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-e2d2c22f]{overflow:hidden}.tpl-ai-slide-enter-active[data-v-3d8e197c]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-ai-slide-leave-active[data-v-3d8e197c]{transition:transform .2s cubic-bezier(.16,1,.3,1)}@media(prefers-reduced-motion:reduce){.tpl-ai-slide-enter-active[data-v-3d8e197c],.tpl-ai-slide-leave-active[data-v-3d8e197c]{transition:none}}.tpl-saved-block-skeleton{animation:tpl-saved-block-pulse 1.4s ease-in-out infinite}@keyframes tpl-saved-block-pulse{0%,to{opacity:1}50%{opacity:.55}}@media(prefers-reduced-motion:reduce){.tpl-saved-block-skeleton{animation:none}}.tpl-saved-block-select:focus-visible{box-shadow:none}.tpl-saved-block-select:focus-visible:after{content:\"\";position:absolute;inset:-1px;border-radius:var(--tpl-radius-sm);box-shadow:var(--tpl-ring);pointer-events:none}.tpl-saved-block-delete-btn:hover{color:var(--tpl-danger)!important}.tpl-saved-block-rename-btn:hover{color:var(--tpl-primary)!important}.tpl-media-item[data-v-57c35946]:not(.tpl-media-item--selected):hover{border-color:var(--tpl-border)!important}.tpl-media-list-item[data-v-57c35946]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-list-icon[data-v-57c35946]{transform:scale(.35);transform-origin:center}.tpl-preview-icon[data-v-50993988]{transform:scale(.45);transform-origin:center}.tpl-comments-slide-enter-active[data-v-7efe6a5c]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-comments-slide-leave-active[data-v-7efe6a5c]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-comments-input-wrapper[data-v-7efe6a5c]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-7efe6a5c]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-7efe6a5c]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-7efe6a5c]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-7efe6a5c]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-7efe6a5c]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-7efe6a5c]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-7efe6a5c]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-7efe6a5c],.tpl-comment-reply-card[data-v-7efe6a5c]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-7efe6a5c],.tpl-resolve-leave-active[data-v-7efe6a5c]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-7efe6a5c],.tpl-resolve-leave-to[data-v-7efe6a5c]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-7efe6a5c]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-7efe6a5c]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-7efe6a5c],.tpl-replies-leave-active[data-v-7efe6a5c]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-7efe6a5c],.tpl-replies-leave-to[data-v-7efe6a5c]{opacity:0;transform:translateY(-4px)}.tpl-ai-input-wrapper[data-v-e0f79f23]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-e0f79f23]:not(:disabled):hover{transform:scale(1.05)}.tpl-starter-btn[data-v-e0f79f23]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.vue-advanced-cropper{text-align:center;position:relative;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:#000;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-simple-handler{display:block;background:#fff;height:10px;width:10px}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}[data-v-7d9a1872] .tpl-cropper-background{background-color:var(--tpl-bg)!important}[data-v-7d9a1872] .vue-advanced-cropper{background-color:transparent!important}[data-v-7d9a1872] .vue-advanced-cropper__background{background-color:var(--tpl-bg)!important}[data-v-7d9a1872] .vue-advanced-cropper__foreground{background-color:var(--tpl-overlay)!important}\n/*$vite$:1*/", ja = null;
3467
3467
  function Ma() {
3468
3468
  if (ja === null) {
3469
3469
  let e = new CSSStyleSheet();
@@ -3504,53 +3504,53 @@ function Ba(e, t) {
3504
3504
  n && (t && n.app !== t || (n.cleanup(), n.app.unmount(), Fa.delete(e), Ia === e && (Ia = null)));
3505
3505
  }
3506
3506
  function Va(e) {
3507
- e.layout && (e.layout = on(e.layout, e.mergeTags), q(e.layout)), e.content && (e.content = on(e.content, e.mergeTags), ce(e.content), U(e.content));
3507
+ e.layout && (e.layout = on(e.layout, e.mergeTags), K(e.layout)), e.content && (e.content = on(e.content, e.mergeTags), ce(e.content), H(e.content));
3508
3508
  }
3509
3509
  async function Ha(e) {
3510
3510
  let t = { ...e };
3511
3511
  return Va(t), Ua(t, za(t.container));
3512
3512
  }
3513
- async function Ua(t, { container: n, token: r }, i) {
3514
- t.locale !== void 0 && !Me(t.locale) && jt.warn(`config.locale: "${t.locale}" has no translations — falling back to English. Supported: ${Ie().sort().join(", ")}.`);
3515
- let a = await Pe(t.locale ?? "en"), o = Ve(t.fonts);
3516
- if (Ra.get(n) !== r) return Wa({
3517
- config: t,
3518
- editorRef: e(null),
3519
- fontsManager: o,
3513
+ async function Ua(e, { container: t, token: n }, r) {
3514
+ e.locale !== void 0 && !Me(e.locale) && jt.warn(`config.locale: "${e.locale}" has no translations — falling back to English. Supported: ${Ie().sort().join(", ")}.`);
3515
+ let i = await Pe(e.locale ?? "en"), a = Ve(e.fonts);
3516
+ if (Ra.get(t) !== n) return Wa({
3517
+ config: e,
3518
+ editorRef: S(null),
3519
+ fontsManager: a,
3520
3520
  unmount: () => {}
3521
3521
  }).instance;
3522
- Ba(n);
3523
- let s = Pa(n, t.shadowDom ?? !0), c = e(null), l = N({ setup() {
3524
- return () => p(wa, {
3525
- config: t,
3526
- translations: a,
3527
- fontsManager: o,
3528
- shadowRoot: s.shadowRoot ?? void 0,
3529
- cloud: i,
3530
- renderMjml: () => d.toMjml(),
3531
- renderHtml: () => d.toHtml(),
3532
- canRenderHtml: () => d.canRenderHtml(),
3533
- usesLocalRenderer: () => d.usesLocalRenderer(),
3534
- ref: c
3522
+ Ba(t);
3523
+ let o = Pa(t, e.shadowDom ?? !0), s = S(null), c = j({ setup() {
3524
+ return () => m(wa, {
3525
+ config: e,
3526
+ translations: i,
3527
+ fontsManager: a,
3528
+ shadowRoot: o.shadowRoot ?? void 0,
3529
+ cloud: r,
3530
+ renderMjml: () => u.toMjml(),
3531
+ renderHtml: () => u.toHtml(),
3532
+ canRenderHtml: () => u.canRenderHtml(),
3533
+ usesLocalRenderer: () => u.usesLocalRenderer(),
3534
+ ref: s
3535
3535
  });
3536
3536
  } });
3537
- l.mount(s.target), Fa.set(n, {
3538
- app: l,
3539
- editorRef: c,
3540
- cleanup: s.cleanup
3541
- }), Ia = n;
3542
- let { instance: u, render: d } = Wa({
3543
- config: t,
3544
- editorRef: c,
3545
- fontsManager: o,
3546
- unmount: () => Ba(n, l)
3537
+ c.mount(o.target), Fa.set(t, {
3538
+ app: c,
3539
+ editorRef: s,
3540
+ cleanup: o.cleanup
3541
+ }), Ia = t;
3542
+ let { instance: l, render: u } = Wa({
3543
+ config: e,
3544
+ editorRef: s,
3545
+ fontsManager: a,
3546
+ unmount: () => Ba(t, c)
3547
3547
  });
3548
- return u;
3548
+ return l;
3549
3549
  }
3550
3550
  function Wa({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
3551
3551
  let i = {
3552
3552
  getContent() {
3553
- return X(t.value ? t.value.getContent() : e.content ?? oe(e.fonts?.defaultFont, kn(e)));
3553
+ return Y(t.value ? t.value.getContent() : e.content ?? oe(e.fonts?.defaultFont, kn(e)));
3554
3554
  },
3555
3555
  setContent(n) {
3556
3556
  let r = on(n, e.mergeTags);
@@ -3558,7 +3558,7 @@ function Wa({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
3558
3558
  },
3559
3559
  insertBlock(n) {
3560
3560
  let r = { blocks: [n] };
3561
- return ce(r), U(r), t.value ? t.value.insertBlock(cn(n, e.mergeTags)) : null;
3561
+ return ce(r), H(r), t.value ? t.value.insertBlock(cn(n, e.mergeTags)) : null;
3562
3562
  },
3563
3563
  setTheme(e) {
3564
3564
  t.value && t.value.setTheme(e);
@@ -3623,7 +3623,7 @@ async function Ga(e) {
3623
3623
  mergeTags: e.mergeTags
3624
3624
  };
3625
3625
  Va(t);
3626
- let n = za(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./chunks/createCloudRuntime-D6niZ2Rc.js"), Ne(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
3626
+ let n = za(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./chunks/createCloudRuntime-Cth2JCEh.js"), Ne(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
3627
3627
  config: e,
3628
3628
  cloudTranslations: i
3629
3629
  });
@@ -3674,6 +3674,6 @@ async function Ga(e) {
3674
3674
  function Ka() {
3675
3675
  Ia && Ba(Ia);
3676
3676
  }
3677
- export { mn as AI_ALT_TEXT_RULES, hn as AI_FIXABLE_RULES, Y as applyLayout, oe as createDefaultTemplateContent, _e as createLocalStorageMediaProvider, Se as createLocalStorageSavedBlocksProvider, G as createParagraphBlock, ie as createSlotBlock, Z as createWrapperBlock, Je as getBaseLocale, Fe as getSupportedCloudLocales, Ie as getSupportedLocales, Ha as init, Ga as initCloud, Re as isCloudLocaleSupported, Me as isLocaleSupported, ue as isSlot, pe as isWrapper, se as layoutWrapsSlot, Ka as unmount, q as validateLayout };
3677
+ export { mn as AI_ALT_TEXT_RULES, hn as AI_FIXABLE_RULES, J as applyLayout, oe as createDefaultTemplateContent, _e as createLocalStorageMediaProvider, Se as createLocalStorageSavedBlocksProvider, W as createParagraphBlock, X as createSlotBlock, Z as createWrapperBlock, Je as getBaseLocale, Fe as getSupportedCloudLocales, Ie as getSupportedLocales, Ha as init, Ga as initCloud, Re as isCloudLocaleSupported, Me as isLocaleSupported, ue as isSlot, pe as isWrapper, se as layoutWrapsSlot, Ka as unmount, K as validateLayout };
3678
3678
 
3679
3679
  //# sourceMappingURL=editor.js.map