@templatical/editor 0.58.0 → 0.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/dist/{AiAltTextPopover-B4cg0jQG.js → AiAltTextPopover-CwyKz_9U.js} +3 -3
  2. package/dist/{AiAltTextReview-Dni8I9eV.js → AiAltTextReview-DNFnR1PN.js} +2 -2
  3. package/dist/{AiChatPanel-QWqGhy2s.js → AiChatPanel-DWWVvJIP.js} +3 -3
  4. package/dist/{AiPanels-DE2ysIV1.js → AiPanels-CESbBB63.js} +1 -1
  5. package/dist/{AiRewriteMenu-B25gpnip.js → AiRewriteMenu-CjXiI-n4.js} +5 -5
  6. package/dist/{BlockIssueBadge-Ri7dQhuz.js → BlockIssueBadge-3k568_Od.js} +2 -2
  7. package/dist/{BlockPreviewCanvas-yr5MmQql.js → BlockPreviewCanvas-3FzYSsPm.js} +6 -6
  8. package/dist/{CloudHeaderExtras-CJsXi4Ku.js → CloudHeaderExtras-xrHubAHL.js} +1 -1
  9. package/dist/{CloudPanels-ZOR9By8W.js → CloudPanels-CSFN-eLV.js} +3 -3
  10. package/dist/{CollaborationNotices-COS_YvTq.js → CollaborationNotices-D9GQ477K.js} +1 -1
  11. package/dist/{CollaboratorBar-jq6HH0fb.js → CollaboratorBar-DsRjAaqd.js} +1 -1
  12. package/dist/{CommentsPanel-B0_Ob2vO.js → CommentsPanel-lb-IFzjl.js} +1 -1
  13. package/dist/{CommentsSidebar-DFoLon5D.js → CommentsSidebar-CVVTCWBH.js} +3 -3
  14. package/dist/{CountdownBlock-BrR2uqM3.js → CountdownBlock-CSEq79Nc.js} +2 -2
  15. package/dist/{CountdownToolbar-BtP0n0yZ.js → CountdownToolbar-BV9yQi9k.js} +5 -5
  16. package/dist/{IssuesPanel-CarJYQFu.js → IssuesPanel-pxcWAQJM.js} +5 -5
  17. package/dist/{LanguageMenu-confz89v.js → LanguageMenu-CEKRbNhA.js} +5 -5
  18. package/dist/{LocaleNotices-D8aE167E.js → LocaleNotices-j4aMFfmc.js} +2 -2
  19. package/dist/{LogicTagInsertButton-DFL3kvGK.js → LogicTagInsertButton-BDIsyl3C.js} +96 -96
  20. package/dist/{MergeTagInput-BuGJeeyA.js → MergeTagInput-De1yWoc2.js} +2 -2
  21. package/dist/{MergeTagModeToggle-D7482NZf.js → MergeTagModeToggle-CL96pI1E.js} +2 -2
  22. package/dist/{MergeTagTextarea-Qt9_NeY4.js → MergeTagTextarea-DDyV8U44.js} +4 -4
  23. package/dist/{ParagraphEditor-Cd-CBE_l.js → ParagraphEditor-Vz90-hhN.js} +9 -9
  24. package/dist/{RestoreVersionDialog-Clh4l0Bn.js → RestoreVersionDialog-BgrtpVl1.js} +3 -3
  25. package/dist/{RichTextEditorContent-Dw_Z9zhi.js → RichTextEditorContent-C2Yj1-ZA.js} +5 -5
  26. package/dist/{SaveBlockDialog-kboYvk_a.js → SaveBlockDialog-DRvLFKWJ.js} +11 -11
  27. package/dist/{SavedBlocksBrowserModal-wVGMC6My.js → SavedBlocksBrowserModal-Dw0uF-NT.js} +7 -7
  28. package/dist/{SavedBlocksPanels-C9AHYfYR.js → SavedBlocksPanels-BReNi8sg.js} +1 -1
  29. package/dist/{SavedBlocksPickBar-CVbV5MVL.js → SavedBlocksPickBar-BQX4g7OE.js} +3 -3
  30. package/dist/{TemplateSettings-ChCm5_2b.js → TemplateSettings-CBCaybvd.js} +5 -5
  31. package/dist/TestEmailModal-BiCUiRFo.js +240 -0
  32. package/dist/{TestEmailPanel-7Ua54CYL.js → TestEmailPanel-Bfr-sGrI.js} +1 -1
  33. package/dist/{TitleEditor-DXMOgW-9.js → TitleEditor-B8thQPgg.js} +7 -7
  34. package/dist/{Toolbar-CVHJl6i4.js → Toolbar-FIYSw3Us.js} +438 -438
  35. package/dist/{TplModal-BErE8I3p.js → TplModal-BIqO0owX.js} +3 -3
  36. package/dist/{VersionHistoryMenu-P3P00KqQ.js → VersionHistoryMenu-6jMve6By.js} +2 -2
  37. package/dist/{VersionHistoryPanels-DES1b1Pq.js → VersionHistoryPanels-C91mfsMA.js} +1 -1
  38. package/dist/{VersionPreviewBanner-D2TtR9I5.js → VersionPreviewBanner-Bq8z1SUc.js} +2 -2
  39. package/dist/{WrapperBlock-B1zI7POT.js → WrapperBlock-BAqgP8hm.js} +3 -3
  40. package/dist/{blockTypeIcons-Dp540i74.js → blockTypeIcons-VX_8UQ21.js} +1 -1
  41. package/dist/bundle-stats.json +8 -8
  42. package/dist/{ca-BJn8lcJx.js → ca-YfIxwO1G.js} +1 -0
  43. package/dist/cdn/chunks/{AiAltTextPopover-sx3bmRiV.js → AiAltTextPopover-Dj-VLU88.js} +4 -4
  44. package/dist/cdn/chunks/{AiAltTextPopover-sx3bmRiV.js.map → AiAltTextPopover-Dj-VLU88.js.map} +1 -1
  45. package/dist/cdn/chunks/{AiAltTextReview-Cj3PKInZ.js → AiAltTextReview-tVkJPOk6.js} +3 -3
  46. package/dist/cdn/chunks/{AiAltTextReview-Cj3PKInZ.js.map → AiAltTextReview-tVkJPOk6.js.map} +1 -1
  47. package/dist/cdn/chunks/{AiChatPanel-DibkqrqY.js → AiChatPanel-CYPvHQGQ.js} +4 -4
  48. package/dist/cdn/chunks/{AiChatPanel-DibkqrqY.js.map → AiChatPanel-CYPvHQGQ.js.map} +1 -1
  49. package/dist/cdn/chunks/{AiPanels-DVs4r8sY.js → AiPanels-ChTLCmMS.js} +2 -2
  50. package/dist/cdn/chunks/{AiPanels-DVs4r8sY.js.map → AiPanels-ChTLCmMS.js.map} +1 -1
  51. package/dist/cdn/chunks/{AiRewriteMenu-BbZ9NRoe.js → AiRewriteMenu-99qbfCZI.js} +6 -6
  52. package/dist/cdn/chunks/{AiRewriteMenu-BbZ9NRoe.js.map → AiRewriteMenu-99qbfCZI.js.map} +1 -1
  53. package/dist/cdn/chunks/{BlockIssueBadge-BWIth1y6.js → BlockIssueBadge-BKO4Mr8f.js} +3 -3
  54. package/dist/cdn/chunks/{BlockIssueBadge-BWIth1y6.js.map → BlockIssueBadge-BKO4Mr8f.js.map} +1 -1
  55. package/dist/cdn/chunks/{BlockPreviewCanvas-BDZ6pMHq.js → BlockPreviewCanvas-BF0yCTKP.js} +7 -7
  56. package/dist/cdn/chunks/{BlockPreviewCanvas-BDZ6pMHq.js.map → BlockPreviewCanvas-BF0yCTKP.js.map} +1 -1
  57. package/dist/cdn/chunks/{CloudHeaderExtras-CazfMn6A.js → CloudHeaderExtras-O_K3jmgO.js} +2 -2
  58. package/dist/cdn/chunks/{CloudHeaderExtras-CazfMn6A.js.map → CloudHeaderExtras-O_K3jmgO.js.map} +1 -1
  59. package/dist/cdn/chunks/{CloudPanels-BI_hJwcJ.js → CloudPanels-gV2WFHQk.js} +4 -4
  60. package/dist/cdn/chunks/{CloudPanels-BI_hJwcJ.js.map → CloudPanels-gV2WFHQk.js.map} +1 -1
  61. package/dist/cdn/chunks/{CollaborationNotices-yKOt4o7B.js → CollaborationNotices-CwAoa-73.js} +2 -2
  62. package/dist/cdn/chunks/{CollaborationNotices-yKOt4o7B.js.map → CollaborationNotices-CwAoa-73.js.map} +1 -1
  63. package/dist/cdn/chunks/{CollaboratorBar-D5fycyLP.js → CollaboratorBar-DdQQwtwd.js} +2 -2
  64. package/dist/cdn/chunks/{CollaboratorBar-D5fycyLP.js.map → CollaboratorBar-DdQQwtwd.js.map} +1 -1
  65. package/dist/cdn/chunks/{CommentsPanel-BPoa1lBK.js → CommentsPanel-C8AKtxiG.js} +2 -2
  66. package/dist/cdn/chunks/{CommentsPanel-BPoa1lBK.js.map → CommentsPanel-C8AKtxiG.js.map} +1 -1
  67. package/dist/cdn/chunks/{CommentsSidebar-DLn9qWtv.js → CommentsSidebar-FxY0RHSq.js} +4 -4
  68. package/dist/cdn/chunks/{CommentsSidebar-DLn9qWtv.js.map → CommentsSidebar-FxY0RHSq.js.map} +1 -1
  69. package/dist/cdn/chunks/{CountdownBlock-Do6oItNW.js → CountdownBlock-DGgnPUlu.js} +3 -3
  70. package/dist/cdn/chunks/{CountdownBlock-Do6oItNW.js.map → CountdownBlock-DGgnPUlu.js.map} +1 -1
  71. package/dist/cdn/chunks/{CountdownToolbar-D5_QBuhO.js → CountdownToolbar-9PtYUgCW.js} +6 -6
  72. package/dist/cdn/chunks/{CountdownToolbar-D5_QBuhO.js.map → CountdownToolbar-9PtYUgCW.js.map} +1 -1
  73. package/dist/cdn/chunks/{IssuesPanel-BzVpxRkq.js → IssuesPanel-Co-ffgWa.js} +6 -6
  74. package/dist/cdn/chunks/{IssuesPanel-BzVpxRkq.js.map → IssuesPanel-Co-ffgWa.js.map} +1 -1
  75. package/dist/cdn/chunks/{LanguageMenu-GEbUX5Oe.js → LanguageMenu-fL4DRGGQ.js} +6 -6
  76. package/dist/cdn/chunks/{LanguageMenu-GEbUX5Oe.js.map → LanguageMenu-fL4DRGGQ.js.map} +1 -1
  77. package/dist/cdn/chunks/{LocaleNotices-CWRS_G-4.js → LocaleNotices-BVDJ7kyj.js} +3 -3
  78. package/dist/cdn/chunks/{LocaleNotices-CWRS_G-4.js.map → LocaleNotices-BVDJ7kyj.js.map} +1 -1
  79. package/dist/cdn/chunks/{LogicTagInsertButton-CrkAz1t_.js → LogicTagInsertButton-DPYA8LJW.js} +9 -9
  80. package/dist/cdn/chunks/{LogicTagInsertButton-CrkAz1t_.js.map → LogicTagInsertButton-DPYA8LJW.js.map} +1 -1
  81. package/dist/cdn/chunks/{MergeTagInput-DkCATtfE.js → MergeTagInput-Cxfjq3tx.js} +3 -3
  82. package/dist/cdn/chunks/{MergeTagInput-DkCATtfE.js.map → MergeTagInput-Cxfjq3tx.js.map} +1 -1
  83. package/dist/cdn/chunks/{MergeTagModeToggle-DYAFxyoB.js → MergeTagModeToggle-BmNGV3yc.js} +3 -3
  84. package/dist/cdn/chunks/{MergeTagModeToggle-DYAFxyoB.js.map → MergeTagModeToggle-BmNGV3yc.js.map} +1 -1
  85. package/dist/cdn/chunks/{MergeTagTextarea-DRS6pXSE.js → MergeTagTextarea-DmwrPAss.js} +5 -5
  86. package/dist/cdn/chunks/{MergeTagTextarea-DRS6pXSE.js.map → MergeTagTextarea-DmwrPAss.js.map} +1 -1
  87. package/dist/cdn/chunks/{ParagraphEditor-rEdKBett.js → ParagraphEditor-A_OEuQ1Q.js} +10 -10
  88. package/dist/cdn/chunks/{ParagraphEditor-rEdKBett.js.map → ParagraphEditor-A_OEuQ1Q.js.map} +1 -1
  89. package/dist/cdn/chunks/{RestoreVersionDialog-B7eTijWD.js → RestoreVersionDialog-Ca_lUsk4.js} +4 -4
  90. package/dist/cdn/chunks/{RestoreVersionDialog-B7eTijWD.js.map → RestoreVersionDialog-Ca_lUsk4.js.map} +1 -1
  91. package/dist/cdn/chunks/{RichTextEditorContent-EtUIYzHB.js → RichTextEditorContent-Dq4TROOg.js} +6 -6
  92. package/dist/cdn/chunks/{RichTextEditorContent-EtUIYzHB.js.map → RichTextEditorContent-Dq4TROOg.js.map} +1 -1
  93. package/dist/cdn/chunks/{SaveBlockDialog-BquE_Brz.js → SaveBlockDialog-BXRCqrZX.js} +12 -12
  94. package/dist/cdn/chunks/{SaveBlockDialog-BquE_Brz.js.map → SaveBlockDialog-BXRCqrZX.js.map} +1 -1
  95. package/dist/cdn/chunks/{SavedBlocksBrowserModal--fNlId5y.js → SavedBlocksBrowserModal-DdaBcSOI.js} +7 -7
  96. package/dist/cdn/chunks/{SavedBlocksBrowserModal--fNlId5y.js.map → SavedBlocksBrowserModal-DdaBcSOI.js.map} +1 -1
  97. package/dist/cdn/chunks/{SavedBlocksPanels-0Z0dELDm.js → SavedBlocksPanels-BcVFZDKI.js} +2 -2
  98. package/dist/cdn/chunks/{SavedBlocksPanels-0Z0dELDm.js.map → SavedBlocksPanels-BcVFZDKI.js.map} +1 -1
  99. package/dist/cdn/chunks/{SavedBlocksPickBar-yezZxZeP.js → SavedBlocksPickBar-o66PhlTo.js} +4 -4
  100. package/dist/cdn/chunks/{SavedBlocksPickBar-yezZxZeP.js.map → SavedBlocksPickBar-o66PhlTo.js.map} +1 -1
  101. package/dist/cdn/chunks/{TemplateSettings-DFetnT9P.js → TemplateSettings-uoiUkd2l.js} +6 -6
  102. package/dist/cdn/chunks/{TemplateSettings-DFetnT9P.js.map → TemplateSettings-uoiUkd2l.js.map} +1 -1
  103. package/dist/cdn/chunks/TestEmailModal-WOC7bmF_.js +239 -0
  104. package/dist/cdn/chunks/TestEmailModal-WOC7bmF_.js.map +1 -0
  105. package/dist/cdn/chunks/{TestEmailPanel-C2dxmmoW.js → TestEmailPanel-DUWH9xsZ.js} +2 -2
  106. package/dist/cdn/chunks/{TestEmailPanel-C2dxmmoW.js.map → TestEmailPanel-DUWH9xsZ.js.map} +1 -1
  107. package/dist/cdn/chunks/{TitleEditor-Bq62I2SC.js → TitleEditor-EHW0lgG4.js} +7 -7
  108. package/dist/cdn/chunks/{TitleEditor-Bq62I2SC.js.map → TitleEditor-EHW0lgG4.js.map} +1 -1
  109. package/dist/cdn/chunks/{Toolbar-CwmW8wAI.js → Toolbar-BzAuH2G4.js} +19 -19
  110. package/dist/cdn/chunks/{Toolbar-CwmW8wAI.js.map → Toolbar-BzAuH2G4.js.map} +1 -1
  111. package/dist/cdn/chunks/{TplModal-DE6BniBg.js → TplModal-B9DVglkN.js} +4 -4
  112. package/dist/cdn/chunks/{TplModal-DE6BniBg.js.map → TplModal-B9DVglkN.js.map} +1 -1
  113. package/dist/cdn/chunks/{VersionHistoryMenu-BBYU71Ua.js → VersionHistoryMenu-DDqYMqC2.js} +3 -3
  114. package/dist/cdn/chunks/{VersionHistoryMenu-BBYU71Ua.js.map → VersionHistoryMenu-DDqYMqC2.js.map} +1 -1
  115. package/dist/cdn/chunks/{VersionHistoryPanels-mMMqnf3O.js → VersionHistoryPanels-DO-kcL28.js} +2 -2
  116. package/dist/cdn/chunks/{VersionHistoryPanels-mMMqnf3O.js.map → VersionHistoryPanels-DO-kcL28.js.map} +1 -1
  117. package/dist/cdn/chunks/{VersionPreviewBanner-tBz-3lGg.js → VersionPreviewBanner-CYT5QUoc.js} +3 -3
  118. package/dist/cdn/chunks/{VersionPreviewBanner-tBz-3lGg.js.map → VersionPreviewBanner-CYT5QUoc.js.map} +1 -1
  119. package/dist/cdn/chunks/{WrapperBlock-B9XxtFql.js → WrapperBlock-CyD_pW18.js} +4 -4
  120. package/dist/cdn/chunks/{WrapperBlock-B9XxtFql.js.map → WrapperBlock-CyD_pW18.js.map} +1 -1
  121. package/dist/cdn/chunks/{ca-BJn8lcJx.js → ca-YfIxwO1G.js} +2 -1
  122. package/dist/cdn/chunks/{ca-BJn8lcJx.js.map → ca-YfIxwO1G.js.map} +1 -1
  123. package/dist/cdn/chunks/{composables-CkthyXi9.js → composables-CN9j_FH4.js} +466 -451
  124. package/dist/cdn/chunks/composables-CN9j_FH4.js.map +1 -0
  125. package/dist/cdn/chunks/{createCloudRuntime-k12jYbXP.js → createCloudRuntime-D8zeR9D2.js} +2 -2
  126. package/dist/cdn/chunks/{createCloudRuntime-k12jYbXP.js.map → createCloudRuntime-D8zeR9D2.js.map} +1 -1
  127. package/dist/cdn/chunks/{da-qQzj0QGy.js → da-CM6DCvRG.js} +2 -1
  128. package/dist/cdn/chunks/{da-qQzj0QGy.js.map → da-CM6DCvRG.js.map} +1 -1
  129. package/dist/cdn/chunks/{de-BLFp3nWx.js → de-Dugz1zXC.js} +2 -1
  130. package/dist/cdn/chunks/{de-BLFp3nWx.js.map → de-Dugz1zXC.js.map} +1 -1
  131. package/dist/cdn/chunks/{en-DGGQJGbm.js → en-BykoFuFY.js} +2 -1
  132. package/dist/cdn/chunks/{en-DGGQJGbm.js.map → en-BykoFuFY.js.map} +1 -1
  133. package/dist/cdn/chunks/{es-DTY9qgLv.js → es-DaWsTkpj.js} +2 -1
  134. package/dist/cdn/chunks/{es-DTY9qgLv.js.map → es-DaWsTkpj.js.map} +1 -1
  135. package/dist/cdn/chunks/{extensions-Djyg5slk.js → extensions-BYJPv1sA.js} +4 -4
  136. package/dist/cdn/chunks/{extensions-Djyg5slk.js.map → extensions-BYJPv1sA.js.map} +1 -1
  137. package/dist/cdn/chunks/{fr-L4FqO9Gp.js → fr-DqwQHtJo.js} +2 -1
  138. package/dist/cdn/chunks/{fr-L4FqO9Gp.js.map → fr-DqwQHtJo.js.map} +1 -1
  139. package/dist/cdn/chunks/{ja-6uOXkh4v.js → ja-BH4MS1Ye.js} +2 -1
  140. package/dist/cdn/chunks/{ja-6uOXkh4v.js.map → ja-BH4MS1Ye.js.map} +1 -1
  141. package/dist/cdn/chunks/{keys-BQqbBUag.js → keys-DNv3xXxI.js} +4 -4
  142. package/dist/cdn/chunks/keys-DNv3xXxI.js.map +1 -0
  143. package/dist/cdn/chunks/{nl-DCxuxwNq.js → nl-BQl1_UHv.js} +2 -1
  144. package/dist/cdn/chunks/{nl-DCxuxwNq.js.map → nl-BQl1_UHv.js.map} +1 -1
  145. package/dist/{pt-BR-CBkcrebr.js → cdn/chunks/pt-BR-eyzmU9Vs.js} +3 -0
  146. package/dist/cdn/chunks/{pt-BR-CBkcrebr.js.map → pt-BR-eyzmU9Vs.js.map} +1 -1
  147. package/dist/cdn/chunks/{socialIcons-CkgQUpim.js → socialIcons-bvQ57o1m.js} +484 -467
  148. package/dist/cdn/chunks/socialIcons-bvQ57o1m.js.map +1 -0
  149. package/dist/cdn/chunks/{src-CymzjJYe.js → src-BXrhjqCv.js} +2 -2
  150. package/dist/cdn/chunks/{src-CymzjJYe.js.map → src-BXrhjqCv.js.map} +1 -1
  151. package/dist/cdn/chunks/src-CVHGPKSW.js.map +1 -1
  152. package/dist/cdn/chunks/{styleConstants-CgiNKdnc.js → styleConstants-Br6CIRoS.js} +6 -6
  153. package/dist/cdn/chunks/styleConstants-Br6CIRoS.js.map +1 -0
  154. package/dist/cdn/chunks/{useCloudI18n-Dr4S2TRW.js → useCloudI18n-CWgySYuJ.js} +2 -2
  155. package/dist/cdn/chunks/{useCloudI18n-Dr4S2TRW.js.map → useCloudI18n-CWgySYuJ.js.map} +1 -1
  156. package/dist/cdn/chunks/{useEditorRoot-B_kf_k-g.js → useEditorRoot-BA4vV7sK.js} +2 -2
  157. package/dist/cdn/chunks/{useEditorRoot-B_kf_k-g.js.map → useEditorRoot-BA4vV7sK.js.map} +1 -1
  158. package/dist/cdn/chunks/{useI18n-CSf-ZpcM.js → useI18n-JsIdvX-i.js} +2 -2
  159. package/dist/cdn/chunks/{useI18n-CSf-ZpcM.js.map → useI18n-JsIdvX-i.js.map} +1 -1
  160. package/dist/cdn/chunks/{useLogicTag-YXRBcfgG.js → useLogicTag-C10Wef7d.js} +2 -2
  161. package/dist/cdn/chunks/{useLogicTag-YXRBcfgG.js.map → useLogicTag-C10Wef7d.js.map} +1 -1
  162. package/dist/cdn/chunks/{useMergeTag-lb-Wrw-B.js → useMergeTag-Dd26TcvH.js} +2 -2
  163. package/dist/cdn/chunks/{useMergeTag-lb-Wrw-B.js.map → useMergeTag-Dd26TcvH.js.map} +1 -1
  164. package/dist/cdn/chunks/{usePopoverPosition-BJFFi8x6.js → usePopoverPosition-DWRQRT2P.js} +2 -2
  165. package/dist/cdn/chunks/{usePopoverPosition-BJFFi8x6.js.map → usePopoverPosition-DWRQRT2P.js.map} +1 -1
  166. package/dist/cdn/chunks/{useScrollToBlock-MI4PP5lk.js → useScrollToBlock-CArjwH-u.js} +2 -2
  167. package/dist/cdn/chunks/{useScrollToBlock-MI4PP5lk.js.map → useScrollToBlock-CArjwH-u.js.map} +1 -1
  168. package/dist/cdn/editor.css +1 -1
  169. package/dist/cdn/editor.js +709 -617
  170. package/dist/cdn/editor.js.map +1 -1
  171. package/dist/{composables-BrzGZQkd.js → composables-DbqKYIRE.js} +631 -616
  172. package/dist/{createCloudRuntime-DgQfMi22.js → createCloudRuntime-DiUnYjKr.js} +1 -1
  173. package/dist/{da-qQzj0QGy.js → da-CM6DCvRG.js} +1 -0
  174. package/dist/{de-BLFp3nWx.js → de-Dugz1zXC.js} +1 -0
  175. package/dist/{en-DGGQJGbm.js → en-BykoFuFY.js} +1 -0
  176. package/dist/{es-DTY9qgLv.js → es-DaWsTkpj.js} +1 -0
  177. package/dist/{extensions-Cyp2x7cD.js → extensions-CAuXwpbI.js} +3 -3
  178. package/dist/{fr-L4FqO9Gp.js → fr-DqwQHtJo.js} +1 -0
  179. package/dist/index.d.ts +64 -5
  180. package/dist/{ja-6uOXkh4v.js → ja-BH4MS1Ye.js} +1 -0
  181. package/dist/{keys-D9oKZN1h.js → keys-BeQy64On.js} +3 -3
  182. package/dist/{nl-DCxuxwNq.js → nl-BQl1_UHv.js} +1 -0
  183. package/dist/{cdn/chunks/pt-BR-CBkcrebr.js → pt-BR-eyzmU9Vs.js} +1 -2
  184. package/dist/{socialIcons-ZfH8PyV2.js → socialIcons-RKdTgJip.js} +376 -359
  185. package/dist/style.css +1 -1
  186. package/dist/{styleConstants-CgiNKdnc.js → styleConstants-Br6CIRoS.js} +5 -5
  187. package/dist/templatical-editor.js +761 -668
  188. package/dist/{useCloudI18n-HhCZYRV6.js → useCloudI18n-nMZ9f_4b.js} +1 -1
  189. package/dist/{useEditorRoot-B0Njczhx.js → useEditorRoot-DpssP9rX.js} +1 -1
  190. package/dist/{useI18n-CM9vKbYc.js → useI18n-C2p-qHeb.js} +1 -1
  191. package/dist/{useLogicTag-BTCtn-uG.js → useLogicTag-59fmujI7.js} +1 -1
  192. package/dist/{useMergeTag-QlXUjCWT.js → useMergeTag-M1vauWet.js} +1 -1
  193. package/dist/{usePopoverPosition-CVRzzLkC.js → usePopoverPosition-L9MOHBM-.js} +1 -1
  194. package/dist/{useScrollToBlock-DruzlN2h.js → useScrollToBlock-BMF0Dt5l.js} +1 -1
  195. package/package.json +7 -7
  196. package/dist/TestEmailModal-CYq9Ec7x.js +0 -212
  197. package/dist/cdn/chunks/TestEmailModal-DJpwpEZs.js +0 -212
  198. package/dist/cdn/chunks/TestEmailModal-DJpwpEZs.js.map +0 -1
  199. package/dist/cdn/chunks/composables-CkthyXi9.js.map +0 -1
  200. package/dist/cdn/chunks/keys-BQqbBUag.js.map +0 -1
  201. package/dist/cdn/chunks/socialIcons-CkgQUpim.js.map +0 -1
  202. package/dist/cdn/chunks/styleConstants-CgiNKdnc.js.map +0 -1
@@ -1,68 +1,68 @@
1
1
  import { A as e, B as t, C as n, E as r, F as i, G as a, H as o, I as s, K as c, L as l, M as u, N as d, O as f, P as p, Q as m, R as h, S as g, V as _, Y as v, _ as y, b, c as x, ct as S, dt as C, g as w, h as T, it as E, j as D, k as O, l as k, m as A, mt as j, n as M, nt as N, o as ee, p as P, pt as F, r as I, rt as L, s as te, t as R, tt as z, u as B, v as V, x as H, y as U } from "./chunks/draggable-IRVFEZ-b.js";
2
- import { A as ne, D as W, E as G, M as K, N as q, O as J, V as re, _ as ie, b as ae, c as oe, j as se, k as Y, l as ce } from "./chunks/socialIcons-CkgQUpim.js";
2
+ import { A as ne, D as W, E as G, M as K, N as q, O as J, V as re, _ as ie, b as ae, c as oe, j as se, k as Y, l as ce } from "./chunks/socialIcons-bvQ57o1m.js";
3
3
  import { $t as le, B as ue, D as de, F as X, G as fe, H as pe, Ht as Z, It as me, Mt as he, Nt as ge, Pt as _e, S as ve, Tt as ye, U as be, Ut as xe, V as Se, Vt as Ce, Z as we, _ as Te, dt as Ee, ft as De, g as Oe, h as ke, in as Ae, jt as je, k as Me, m as Ne, nn as Q, p as Pe, qt as Fe, rn as Ie, v as Le, y as Re, z as ze } from "./chunks/src-CVHGPKSW.js";
4
4
  import { t as Be } from "./chunks/_plugin-vue_export-helper-Djzt4Yr7.js";
5
- import { $ as Ve, A as He, Bt as Ue, D as We, Dt as Ge, E as Ke, F as qe, Ft as Je, M as Ye, Ot as Xe, P as Ze, Q as Qe, Vt as $e, Y as et, at as tt, ct as nt, ft as rt, j as it, mt as at, nt as ot, q as st, t as ct, vt as lt, x as ut } from "./chunks/icons-C7vjUBLn.js";
6
- import { t as $ } from "./chunks/useI18n-CSf-ZpcM.js";
7
- import { n as dt, t as ft } from "./chunks/useLocalizedDisplay-7iwZ1UhB.js";
8
- import { $ as pt, B as mt, E as ht, I as gt, J as _t, K as vt, M as yt, O as bt, R as xt, Y as St, Z as Ct, a as wt, at as Tt, b as Et, c as Dt, ct as Ot, d as kt, et as At, g as jt, h as Mt, it as Nt, k as Pt, l as Ft, m as It, n as Lt, nt as Rt, ot as zt, st as Bt, t as Vt, tt as Ht, v as Ut, z as Wt } from "./chunks/keys-BQqbBUag.js";
9
- import { t as Gt } from "./chunks/plural-CyxrJXL1.js";
10
- import { t as Kt } from "./chunks/languageName-DEEOhDWI.js";
11
- import { C as qt, T as Jt, b as Yt, h as Xt, m as Zt, w as Qt, x as $t } from "./chunks/styleConstants-CgiNKdnc.js";
12
- import { t as en } from "./chunks/TplModal-DE6BniBg.js";
13
- import { n as tn } from "./chunks/sanitizeHtml-5T_KaDcp.js";
14
- import { A as nn, B as rn, E as an, F as on, L as sn, M as cn, N as ln, O as un, P as dn, _ as fn, a as pn, b as mn, c as hn, d as gn, f as _n, g as vn, h as yn, i as bn, j as xn, k as Sn, l as Cn, m as wn, n as Tn, o as En, p as Dn, r as On, s as kn, t as An, u as jn, v as Mn, x as Nn, y as Pn } from "./chunks/composables-CkthyXi9.js";
15
- import { a as Fn, i as In, n as Ln, o as Rn, t as zn } from "./chunks/normalizeMergeTagMarkup-nDyYIXvL.js";
16
- import { t as Bn } from "./chunks/aiErrors-C3QEMB0x.js";
17
- import { n as Vn, t as Hn } from "./chunks/aiImageContext-BQ5mQ6B5.js";
18
- import { i as Un, n as Wn, r as Gn, t as Kn } from "./chunks/useScrollToBlock-MI4PP5lk.js";
19
- import { a as qn } from "./chunks/dist-zu1jwYIS.js";
20
- import { t as Jn } from "./chunks/logger-CqQTfJGx.js";
21
- import { t as Yn } from "./chunks/WrapperBlock-B9XxtFql.js";
22
- import { t as Xn } from "./chunks/blockTypeIcons-CGxNYHVA.js";
23
- import { t as Zn } from "./chunks/templateSettingsFields-cjlP-jdw.js";
24
- import { n as Qn, t as $n } from "./chunks/MergeTagModeToggle-DYAFxyoB.js";
25
- import { _ as er, d as tr, g as nr } from "./chunks/dist-BtWMy7UQ.js";
26
- import { t as rr } from "./chunks/formatAbsoluteDateTime-Ck2_zXra.js";
27
- import { t as ir } from "./chunks/formatRelativeTime-BTD8Ktt-.js";
28
- import { t as ar } from "./chunks/preRenderCustomBlocks-CxwYcAQe.js";
5
+ import { $ as Ve, A as He, Bt as Ue, D as We, Dt as Ge, E as Ke, F as qe, Ft as Je, M as Ye, Ot as Xe, P as Ze, Q as Qe, R as $e, Vt as et, Y as tt, at as nt, ct as rt, ft as it, j as at, mt as ot, nt as st, q as ct, t as lt, vt as ut, x as dt } from "./chunks/icons-C7vjUBLn.js";
6
+ import { t as $ } from "./chunks/useI18n-JsIdvX-i.js";
7
+ import { n as ft, t as pt } from "./chunks/useLocalizedDisplay-7iwZ1UhB.js";
8
+ import { B as mt, E as ht, I as gt, J as _t, K as vt, M as yt, O as bt, Q as xt, R as St, Y as Ct, a as wt, at as Tt, b as Et, c as Dt, ct as Ot, d as kt, et as At, g as jt, h as Mt, k as Nt, l as Pt, lt as Ft, m as It, n as Lt, nt as Rt, ot as zt, rt as Bt, st as Vt, t as Ht, tt as Ut, v as Wt, z as Gt } from "./chunks/keys-DNv3xXxI.js";
9
+ import { t as Kt } from "./chunks/plural-CyxrJXL1.js";
10
+ import { t as qt } from "./chunks/languageName-DEEOhDWI.js";
11
+ import { C as Jt, E as Yt, T as Xt, b as Zt, h as Qt, m as $t, w as en, x as tn } from "./chunks/styleConstants-Br6CIRoS.js";
12
+ import { t as nn } from "./chunks/TplModal-B9DVglkN.js";
13
+ import { n as rn } from "./chunks/sanitizeHtml-5T_KaDcp.js";
14
+ import { A as an, B as on, E as sn, F as cn, L as ln, M as un, N as dn, O as fn, P as pn, _ as mn, a as hn, b as gn, c as _n, d as vn, f as yn, g as bn, h as xn, i as Sn, j as Cn, k as wn, l as Tn, m as En, n as Dn, o as On, p as kn, r as An, s as jn, t as Mn, u as Nn, v as Pn, x as Fn, y as In } from "./chunks/composables-CN9j_FH4.js";
15
+ import { a as Ln, i as Rn, n as zn, o as Bn, t as Vn } from "./chunks/normalizeMergeTagMarkup-nDyYIXvL.js";
16
+ import { t as Hn } from "./chunks/aiErrors-C3QEMB0x.js";
17
+ import { n as Un, t as Wn } from "./chunks/aiImageContext-BQ5mQ6B5.js";
18
+ import { i as Gn, n as Kn, r as qn, t as Jn } from "./chunks/useScrollToBlock-CArjwH-u.js";
19
+ import { a as Yn } from "./chunks/dist-zu1jwYIS.js";
20
+ import { t as Xn } from "./chunks/logger-CqQTfJGx.js";
21
+ import { t as Zn } from "./chunks/WrapperBlock-CyD_pW18.js";
22
+ import { t as Qn } from "./chunks/blockTypeIcons-CGxNYHVA.js";
23
+ import { t as $n } from "./chunks/templateSettingsFields-cjlP-jdw.js";
24
+ import { n as er, t as tr } from "./chunks/MergeTagModeToggle-BmNGV3yc.js";
25
+ import { _ as nr, d as rr, g as ir } from "./chunks/dist-BtWMy7UQ.js";
26
+ import { t as ar } from "./chunks/formatAbsoluteDateTime-Ck2_zXra.js";
27
+ import { t as or } from "./chunks/formatRelativeTime-BTD8Ktt-.js";
28
+ import { t as sr } from "./chunks/preRenderCustomBlocks-CxwYcAQe.js";
29
29
  // src/utils/resolveTemplateDefaults.ts
30
- var or = /^[a-z]{2,3}(-[a-z0-9]{2,8})*$/i;
31
- function sr(e) {
32
- let t = e.locale?.trim().replace(/_/g, "-"), n = t && or.test(t) ? { locale: t } : void 0;
30
+ var cr = /^[a-z]{2,3}(-[a-z0-9]{2,8})*$/i;
31
+ function lr(e) {
32
+ let t = e.locale?.trim().replace(/_/g, "-"), n = t && cr.test(t) ? { locale: t } : void 0;
33
33
  if (n || e.templateDefaults) return {
34
34
  ...n,
35
35
  ...e.templateDefaults
36
36
  };
37
37
  }
38
38
  // src/components/NoticeStack.vue
39
- var cr = {}, lr = { class: "tpl:pointer-events-none tpl:absolute tpl:top-16 tpl:left-1/2 tpl:z-[60] tpl:flex tpl:-translate-x-1/2 tpl:flex-col tpl:items-center tpl:gap-2" };
40
- function ur(e, t) {
41
- return i(), y("div", lr, [h(e.$slots, "default")]);
39
+ var ur = {}, dr = { class: "tpl:pointer-events-none tpl:absolute tpl:top-16 tpl:left-1/2 tpl:z-[60] tpl:flex tpl:-translate-x-1/2 tpl:flex-col tpl:items-center tpl:gap-2" };
40
+ function fr(e, t) {
41
+ return i(), y("div", dr, [h(e.$slots, "default")]);
42
42
  }
43
- var dr = /*#__PURE__*/ Be(cr, [["render", ur]]), fr = {
43
+ var pr = /*#__PURE__*/ Be(ur, [["render", fr]]), mr = {
44
44
  key: 0,
45
45
  "data-testid": "language-bar",
46
46
  class: "tpl:border-b tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:px-4 tpl:py-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
47
- }, pr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-between tpl:gap-x-6 tpl:gap-y-2" }, mr = { class: "tpl:flex tpl:min-w-0 tpl:grow tpl:basis-64 tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1" }, hr = {
47
+ }, hr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-between tpl:gap-x-6 tpl:gap-y-2" }, gr = { class: "tpl:flex tpl:min-w-0 tpl:grow tpl:basis-64 tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1" }, _r = {
48
48
  "data-testid": "language-bar-label",
49
49
  class: "tpl:inline-flex tpl:items-center tpl:gap-2 tpl:font-medium tpl:whitespace-nowrap tpl:text-[var(--tpl-text)]"
50
- }, gr = {
50
+ }, vr = {
51
51
  "data-testid": "language-bar-status",
52
52
  role: "status",
53
53
  "aria-live": "polite",
54
54
  "aria-atomic": "true",
55
55
  class: "tpl:whitespace-nowrap"
56
- }, _r = {
56
+ }, yr = {
57
57
  key: 1,
58
58
  "data-testid": "translation-result",
59
59
  class: "tpl:whitespace-normal"
60
- }, vr = ["aria-label"], yr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-2" }, br = ["disabled"], xr = ["disabled"], Sr = {
60
+ }, br = ["aria-label"], xr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-2" }, Sr = ["disabled"], Cr = ["disabled"], wr = {
61
61
  key: 0,
62
62
  "data-testid": "structure-notice",
63
63
  role: "status",
64
64
  class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-2"
65
- }, Cr = ["aria-label"], wr = ["aria-label"], Tr = { class: "tpl:m-0 tpl:mb-4 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Er = { class: "tpl:mb-4 tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Dr = { class: "tpl:flex tpl:flex-wrap tpl:justify-end tpl:gap-2" }, Or = ["disabled"], kr = /* @__PURE__ */ new Set(), Ar = /* @__PURE__ */ n({
65
+ }, Tr = ["aria-label"], Er = ["aria-label"], Dr = { class: "tpl:m-0 tpl:mb-4 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Or = { class: "tpl:mb-4 tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, kr = { class: "tpl:flex tpl:flex-wrap tpl:justify-end tpl:gap-2" }, Ar = ["disabled"], jr = /* @__PURE__ */ new Set(), Mr = /* @__PURE__ */ n({
66
66
  __name: "LanguageBar",
67
67
  props: {
68
68
  editor: {},
@@ -71,15 +71,15 @@ var dr = /*#__PURE__*/ Be(cr, [["render", ur]]), fr = {
71
71
  change: {}
72
72
  },
73
73
  setup(e) {
74
- let t = e, { t: n, format: r } = $(), s = f(Tt, void 0) ?? "en", c = f(Mt, []), l = P(() => Z(t.editor.content.value)), u = P(() => t.editor.activeLocale?.value ?? l.value), d = P(() => t.locales.includes(u.value)), p = f(Vt, null) ?? ft(t.editor, c), m = P(() => d.value ? !p.value?.missing.length && !p.value?.stale.length ? n.localization.complete : r(n.localization.gapTooltip, {
74
+ let t = e, { t: n, format: r } = $(), s = f(zt, void 0) ?? "en", c = f(Mt, []), l = P(() => Z(t.editor.content.value)), u = P(() => t.editor.activeLocale?.value ?? l.value), d = P(() => t.locales.includes(u.value)), p = f(Ht, null) ?? pt(t.editor, c), m = P(() => d.value ? !p.value?.missing.length && !p.value?.stale.length ? n.localization.complete : r(n.localization.gapTooltip, {
75
75
  missing: p.value.missing.length,
76
76
  stale: p.value.stale.length
77
- }) : r(n.localization.languageReadOnly, { language: Kt(u.value) })), h = P(() => {
77
+ }) : r(n.localization.languageReadOnly, { language: qt(u.value) })), h = P(() => {
78
78
  let e = t.feature?.lastResult.value;
79
79
  if (!e) return "";
80
- let i = [Gt(n.localization.translatedFields, e.translated, s)];
81
- return e.tagsChanged.length && i.push(Gt(n.localization.translationTagsChanged, e.tagsChanged.length, s)), e.skippedLocked.length && i.push(Gt(n.localization.translationSkippedLocked, e.skippedLocked.length, s)), e.missing.length && i.push(Gt(n.localization.translationMissing, e.missing.length, s)), e.tooLarge.length && i.push(Gt(n.localization.translationTooLarge, e.tooLarge.length, s)), e.error && i.push(r(n.localization.translationError, { message: e.error.message })), i.join(" ");
82
- }), g = z(!1), _ = !1, v = z(null), x = z(null), T = P(() => t.feature?.counts.value.all ?? 0), E = P(() => Gt(n.localization.translationConfirmation, T.value, s));
80
+ let i = [Kt(n.localization.translatedFields, e.translated, s)];
81
+ return e.tagsChanged.length && i.push(Kt(n.localization.translationTagsChanged, e.tagsChanged.length, s)), e.skippedLocked.length && i.push(Kt(n.localization.translationSkippedLocked, e.skippedLocked.length, s)), e.missing.length && i.push(Kt(n.localization.translationMissing, e.missing.length, s)), e.tooLarge.length && i.push(Kt(n.localization.translationTooLarge, e.tooLarge.length, s)), e.error && i.push(r(n.localization.translationError, { message: e.error.message })), i.join(" ");
82
+ }), g = z(!1), _ = !1, v = z(null), x = z(null), T = P(() => t.feature?.counts.value.all ?? 0), E = P(() => Kt(n.localization.translationConfirmation, T.value, s));
83
83
  function O() {
84
84
  v.value = null, D(() => x.value?.focus());
85
85
  }
@@ -100,67 +100,67 @@ var dr = /*#__PURE__*/ Be(cr, [["render", ur]]), fr = {
100
100
  v.value && O();
101
101
  }), o(() => t.change, () => {
102
102
  let e = t.editor.state.template?.id;
103
- (e ? kr.has(e) : _) || (e ? kr.add(e) : _ = !0, g.value = !0);
104
- }), (t, o) => u.value === l.value ? w("", !0) : (i(), y("div", fr, [
105
- A("div", pr, [A("div", mr, [
106
- A("span", hr, [H(S(at), {
103
+ (e ? jr.has(e) : _) || (e ? jr.add(e) : _ = !0, g.value = !0);
104
+ }), (t, o) => u.value === l.value ? w("", !0) : (i(), y("div", mr, [
105
+ A("div", hr, [A("div", gr, [
106
+ A("span", _r, [H(S(ot), {
107
107
  size: 14,
108
108
  "aria-hidden": "true",
109
109
  class: "tpl:shrink-0"
110
- }), b(" " + j(S(r)(S(n).localization.editingLanguage, { language: S(Kt)(u.value) })), 1)]),
111
- A("span", gr, [e.feature?.running.value ? (i(), y(B, { key: 0 }, [b(j(S(r)(S(n).localization.translating, e.feature.running.value)), 1)], 64)) : e.feature?.lastResult.value ? (i(), y("span", _r, j(h.value), 1)) : (i(), y(B, { key: 2 }, [b(j(m.value), 1)], 64))]),
110
+ }), b(" " + j(S(r)(S(n).localization.editingLanguage, { language: S(qt)(u.value) })), 1)]),
111
+ A("span", vr, [e.feature?.running.value ? (i(), y(B, { key: 0 }, [b(j(S(r)(S(n).localization.translating, e.feature.running.value)), 1)], 64)) : e.feature?.lastResult.value ? (i(), y("span", yr, j(h.value), 1)) : (i(), y(B, { key: 2 }, [b(j(m.value), 1)], 64))]),
112
112
  e.feature?.lastResult.value && !e.feature.running.value ? (i(), y("button", {
113
113
  key: 0,
114
114
  type: "button",
115
115
  "data-testid": "translation-dismiss",
116
116
  "aria-label": S(n).localization.dismiss,
117
- class: C(S(Zt)),
117
+ class: C(S($t)),
118
118
  onClick: o[0] ||= (t) => e.feature.dismissResult()
119
- }, [H(S(ct), {
119
+ }, [H(S(lt), {
120
120
  size: 14,
121
121
  "aria-hidden": "true"
122
- })], 10, vr)) : w("", !0)
123
- ]), A("div", yr, [
122
+ })], 10, br)) : w("", !0)
123
+ ]), A("div", xr, [
124
124
  e.feature?.running.value ? (i(), y("button", {
125
125
  key: 0,
126
126
  type: "button",
127
127
  "data-testid": "translation-cancel",
128
- class: C(S(Zt)),
128
+ class: C(S($t)),
129
129
  onClick: o[1] ||= (t) => e.feature.cancel()
130
130
  }, j(S(n).localization.cancel), 3)) : w("", !0),
131
131
  d.value && e.feature?.isAvailable.value ? (i(), y(B, { key: 1 }, [e.feature.counts.value.gaps > 0 ? (i(), y("button", {
132
132
  key: 0,
133
133
  type: "button",
134
134
  "data-testid": "translate-language",
135
- class: C(S($t)),
135
+ class: C(S(tn)),
136
136
  disabled: !!e.feature.running.value,
137
137
  onClick: o[2] ||= (t) => e.feature.translate({ only: "gaps" })
138
- }, j(S(Gt)(S(n).localization.translateFields, e.feature.counts.value.gaps, S(s))), 11, br)) : w("", !0), A("button", {
138
+ }, j(S(Kt)(S(n).localization.translateFields, e.feature.counts.value.gaps, S(s))), 11, Sr)) : w("", !0), A("button", {
139
139
  ref_key: "allAgain",
140
140
  ref: x,
141
141
  type: "button",
142
142
  "data-testid": "translate-all-again",
143
- class: C(S(Zt)),
143
+ class: C(S($t)),
144
144
  disabled: !!e.feature.running.value || T.value === 0,
145
145
  onClick: k
146
- }, j(S(n).localization.translateAllAgain), 11, xr)], 64)) : w("", !0),
146
+ }, j(S(n).localization.translateAllAgain), 11, Cr)], 64)) : w("", !0),
147
147
  A("button", {
148
148
  type: "button",
149
149
  "data-testid": "language-back-default",
150
- class: C(S(Zt)),
150
+ class: C(S($t)),
151
151
  onClick: o[3] ||= (t) => e.editor.setActiveLocale?.(null)
152
- }, j(S(r)(S(n).localization.backToDefault, { default: S(Kt)(l.value) })), 3)
152
+ }, j(S(r)(S(n).localization.backToDefault, { default: S(qt)(l.value) })), 3)
153
153
  ])]),
154
- g.value ? (i(), y("div", Sr, [A("span", null, j(S(n).localization.structureNotice), 1), A("button", {
154
+ g.value ? (i(), y("div", wr, [A("span", null, j(S(n).localization.structureNotice), 1), A("button", {
155
155
  type: "button",
156
156
  "aria-label": S(n).localization.dismiss,
157
- class: C(S(Zt)),
157
+ class: C(S($t)),
158
158
  onClick: o[4] ||= (e) => g.value = !1
159
- }, [H(S(ct), {
159
+ }, [H(S(lt), {
160
160
  size: 14,
161
161
  "aria-hidden": "true"
162
- })], 10, Cr)])) : w("", !0),
163
- H(en, {
162
+ })], 10, Tr)])) : w("", !0),
163
+ H(nn, {
164
164
  visible: v.value !== null,
165
165
  onClose: O
166
166
  }, {
@@ -170,28 +170,28 @@ var dr = /*#__PURE__*/ Be(cr, [["render", ur]]), fr = {
170
170
  "aria-label": E.value,
171
171
  class: "tpl:w-96 tpl:max-w-full tpl:max-h-[90%] tpl:overflow-y-auto tpl:box-border tpl:rounded-[var(--tpl-radius)] tpl:bg-[var(--tpl-bg)] tpl:p-5 tpl:shadow-[var(--tpl-shadow-lg)]"
172
172
  }, [
173
- A("h3", Tr, j(E.value), 1),
174
- A("p", Er, j(S(r)(S(n).localization.translationDescription, { language: S(Kt)(v.value?.locale ?? u.value) })), 1),
175
- A("div", Dr, [A("button", {
173
+ A("h3", Dr, j(E.value), 1),
174
+ A("p", Or, j(S(r)(S(n).localization.translationDescription, { language: S(qt)(v.value?.locale ?? u.value) })), 1),
175
+ A("div", kr, [A("button", {
176
176
  type: "button",
177
177
  "data-testid": "translation-confirm-cancel",
178
- class: C(S(qt)),
178
+ class: C(S(Jt)),
179
179
  onClick: O
180
180
  }, j(S(n).localization.cancel), 3), A("button", {
181
181
  type: "button",
182
182
  "data-testid": "translation-confirm",
183
- class: C(S(Yt)),
183
+ class: C(S(Zt)),
184
184
  disabled: !!e.feature?.running.value || !e.feature?.isAvailable.value || T.value === 0,
185
185
  onClick: M
186
- }, j(S(Gt)(S(n).localization.translateAllFields, T.value, S(s))), 11, Or)])
187
- ], 8, wr)]),
186
+ }, j(S(Kt)(S(n).localization.translateAllFields, T.value, S(s))), 11, Ar)])
187
+ ], 8, Er)]),
188
188
  _: 1
189
189
  }, 8, ["visible"])
190
190
  ]));
191
191
  }
192
192
  });
193
193
  // src/composables/useLocaleActions.ts
194
- function jr(e) {
194
+ function Nr(e) {
195
195
  let { editor: t } = e;
196
196
  return { setDefaultLocale(n) {
197
197
  let r;
@@ -212,7 +212,7 @@ function jr(e) {
212
212
  } };
213
213
  }
214
214
  // src/composables/useTranslationFeature.ts
215
- function Mr(e) {
215
+ function Pr(e) {
216
216
  if (typeof e != "object" || !e) return null;
217
217
  let t = e;
218
218
  return t.code !== "rate_limited" && t.code !== "limit_reached" && t.code !== "content_too_large" && t.code !== "translation_failed" || t.statusCode !== void 0 && typeof t.statusCode != "number" ? null : {
@@ -221,24 +221,24 @@ function Mr(e) {
221
221
  ...t.statusCode === void 0 ? {} : { statusCode: t.statusCode }
222
222
  };
223
223
  }
224
- function Nr(e) {
224
+ function Fr(e) {
225
225
  let t = /* @__PURE__ */ new Set();
226
226
  if (typeof DOMParser > "u") return t;
227
227
  let n = new DOMParser().parseFromString(e, "text/html");
228
228
  for (let e of n.querySelectorAll("[style]")) t.add(e.getAttribute("style") ?? "");
229
229
  return t;
230
230
  }
231
- function Pr(e, t) {
232
- let n = Nr(t);
233
- return [...Nr(e)].every((e) => n.has(e));
231
+ function Ir(e, t) {
232
+ let n = Fr(t);
233
+ return [...Fr(e)].every((e) => n.has(e));
234
234
  }
235
- function Fr(e) {
236
- let t = `tpl-translation-${crypto.randomUUID()}-`, n = [], r = e.replace(/<x id="\d+"\s*\/>|<x id="\d+"><\/x>|__x\d+__/g, (e) => `${t}${n.push(e)}-end`), i = tn(r);
235
+ function Lr(e) {
236
+ let t = `tpl-translation-${crypto.randomUUID()}-`, n = [], r = e.replace(/<x id="\d+"\s*\/>|<x id="\d+"><\/x>|__x\d+__/g, (e) => `${t}${n.push(e)}-end`), i = rn(r);
237
237
  return n.forEach((e, n) => {
238
238
  i = i.replaceAll(`${t}${n + 1}-end`, e);
239
239
  }), i;
240
240
  }
241
- async function Ir(e, t) {
241
+ async function Rr(e, t) {
242
242
  t.throwIfAborted();
243
243
  let n, r = new Promise((e, r) => {
244
244
  n = () => r(t.reason), t.addEventListener("abort", n, { once: !0 });
@@ -249,7 +249,7 @@ async function Ir(e, t) {
249
249
  t.removeEventListener("abort", n);
250
250
  }
251
251
  }
252
- function Lr(e) {
252
+ function zr(e) {
253
253
  let { editor: t } = e, n = L(null), r = L(null), i = null, a = L(!1), s = P(() => {
254
254
  let n = t.activeLocale.value;
255
255
  return !a.value && !!n && n !== Z(t.content.value) && !!e.localization?.locales.includes(n) && !!t.content.value.settings.locales?.includes(n);
@@ -325,7 +325,7 @@ function Lr(e) {
325
325
  }
326
326
  let i;
327
327
  try {
328
- i = await Ir(e.provider.translate({
328
+ i = await Rr(e.provider.translate({
329
329
  templateId: l,
330
330
  sourceLocale: u,
331
331
  targetLocale: c,
@@ -336,7 +336,7 @@ function Lr(e) {
336
336
  }))
337
337
  }, g.controller.signal), g.controller.signal), g.controller.signal.throwIfAborted();
338
338
  } catch (e) {
339
- if (!g.controller.signal.aborted && Mr(e)?.code === "content_too_large" && t.length > 1) {
339
+ if (!g.controller.signal.aborted && Pr(e)?.code === "content_too_large" && t.length > 1) {
340
340
  y = Math.floor(t.length / 2);
341
341
  continue;
342
342
  }
@@ -349,9 +349,9 @@ function Lr(e) {
349
349
  continue;
350
350
  }
351
351
  let n = m.tokens[e.id], r = Se(t.text, n);
352
- r === null || e.format === "html" && !Pr(r, Se(e.source, n)) ? h.tagsChanged.push(e.id) : _.push({
352
+ r === null || e.format === "html" && !Ir(r, Se(e.source, n)) ? h.tagsChanged.push(e.id) : _.push({
353
353
  id: e.id,
354
- text: e.format === "html" ? Fr(t.text) : t.text,
354
+ text: e.format === "html" ? Lr(t.text) : t.text,
355
355
  sourceHash: e.sourceHash
356
356
  });
357
357
  }
@@ -362,8 +362,8 @@ function Lr(e) {
362
362
  }
363
363
  } catch (e) {
364
364
  g.controller.signal.aborted || e instanceof Error && e.name === "AbortError" ? h.cancelled = !0 : h.error = {
365
- code: Mr(e)?.code ?? "translation_failed",
366
- message: Mr(e)?.message ?? (e instanceof Error ? e.message : String(e))
365
+ code: Pr(e)?.code ?? "translation_failed",
366
+ message: Pr(e)?.message ?? (e instanceof Error ? e.message : String(e))
367
367
  };
368
368
  }
369
369
  try {
@@ -412,12 +412,12 @@ function Lr(e) {
412
412
  };
413
413
  }
414
414
  // src/composables/useCollaborationFeature.ts
415
- var Rr = 5e3, zr = 2e3, Br = {
415
+ var Br = 5e3, Vr = 2e3, Hr = {
416
416
  blockIds: [],
417
417
  settings: !1,
418
418
  templateUpdated: !0
419
419
  };
420
- function Vr(e) {
420
+ function Ur(e) {
421
421
  let t = /* @__PURE__ */ new Set(), n = !1, r = !1;
422
422
  for (let i of e) i.op === "addBlock" ? typeof i.block?.id == "string" && t.add(i.block.id) : i.op === "updateSettings" || i.op === "addLocale" || i.op === "removeLocale" || i.op === "updateSettingsLocale" ? n = !0 : i.op === "setContent" || i.op === "setDefaultLocale" ? r = !0 : t.add(i.blockId);
423
423
  return {
@@ -426,11 +426,11 @@ function Vr(e) {
426
426
  templateUpdated: r
427
427
  };
428
428
  }
429
- function Hr(e) {
429
+ function Wr(e) {
430
430
  let t = z([]), n = 1, r = /* @__PURE__ */ new Map();
431
431
  function i(e) {
432
432
  let t = r.get(e);
433
- t && clearTimeout(t), r.set(e, setTimeout(() => o(e), Rr));
433
+ t && clearTimeout(t), r.set(e, setTimeout(() => o(e), Br));
434
434
  }
435
435
  function a(e) {
436
436
  let r = n++;
@@ -468,7 +468,7 @@ function Hr(e) {
468
468
  u.delete(r);
469
469
  let e = new Map(l.value);
470
470
  e.delete(r), l.value = e;
471
- }, zr));
471
+ }, Vr));
472
472
  }
473
473
  l.value = n;
474
474
  }
@@ -512,15 +512,15 @@ function Hr(e) {
512
512
  let h = K({
513
513
  provider: e.provider,
514
514
  loadTemplate: e.loadTemplate,
515
- normalizeRemoteOperations: (t, n) => In(t, n, e.mergeTags),
515
+ normalizeRemoteOperations: (t, n) => Rn(t, n, e.mergeTags),
516
516
  onRemoteChange: (t) => {
517
517
  try {
518
- p(t.actor, Vr(t.ops));
518
+ p(t.actor, Ur(t.ops));
519
519
  } finally {
520
520
  e.onRemoteChange?.(t);
521
521
  }
522
522
  },
523
- onRemoteResync: ({ actor: e }) => p(e, Br),
523
+ onRemoteResync: ({ actor: e }) => p(e, Hr),
524
524
  onNotice: s,
525
525
  onError: e.onError
526
526
  });
@@ -582,7 +582,7 @@ function Hr(e) {
582
582
  };
583
583
  }
584
584
  // src/composables/useCommentsFeature.ts
585
- function Ur(e) {
585
+ function Gr(e) {
586
586
  let { provider: t, editor: n } = e, r = W({
587
587
  provider: t,
588
588
  getTemplateId: () => n.state.template?.id ?? null,
@@ -635,22 +635,22 @@ function Ur(e) {
635
635
  };
636
636
  }
637
637
  // src/composables/useAiFeature.ts
638
- var Wr = 3e3, Gr = 1e3;
639
- function Kr(e) {
638
+ var Kr = 3e3, qr = 1e3;
639
+ function Jr(e) {
640
640
  return Ae(E(e));
641
641
  }
642
- var qr = (e) => e instanceof Error && e.name === "AbortError";
643
- function Jr(e) {
642
+ var Yr = (e) => e instanceof Error && e.name === "AbortError";
643
+ function Xr(e) {
644
644
  if (e instanceof Error) return e;
645
645
  if (typeof e != "object" || !e) return Error(String(e));
646
646
  let t = e;
647
647
  return Object.assign(Error(typeof t.message == "string" ? t.message : String(e)), typeof t.code == "string" ? { code: t.code } : {}, typeof t.statusCode == "number" ? { statusCode: t.statusCode } : {}, t.details === void 0 ? {} : { details: t.details });
648
648
  }
649
- var Yr = (e) => e.batches.reduce((e, t) => e + t.operationCount, 0);
650
- function Xr(e, t) {
651
- return e.some((e) => e.id === t || e.type === "section" && Array.isArray(e.children) && e.children.some((e) => Array.isArray(e) && Xr(e, t)));
649
+ var Zr = (e) => e.batches.reduce((e, t) => e + t.operationCount, 0);
650
+ function Qr(e, t) {
651
+ return e.some((e) => e.id === t || e.type === "section" && Array.isArray(e.children) && e.children.some((e) => Array.isArray(e) && Qr(e, t)));
652
652
  }
653
- function Zr(e) {
653
+ function $r(e) {
654
654
  return {
655
655
  applied: !1,
656
656
  code: e.code,
@@ -658,7 +658,7 @@ function Zr(e) {
658
658
  message: e.message
659
659
  };
660
660
  }
661
- function Qr(e) {
661
+ function ei(e) {
662
662
  let { provider: t, editor: n, collaboration: r } = e, i = t.conversation ?? null, a = crypto.randomUUID(), s = z(null), c = /* @__PURE__ */ new Map(), l = !1, u = 0, d = !1, f = 0, p = null, m = v();
663
663
  function h(e) {
664
664
  let t = ne(e);
@@ -775,7 +775,7 @@ function Qr(e) {
775
775
  e.timers.add(r);
776
776
  }
777
777
  function G(t) {
778
- qr(t) || e.onError?.(Jr(t));
778
+ Yr(t) || e.onError?.(Xr(t));
779
779
  }
780
780
  function K(e, t) {
781
781
  if (t.length === 0) return;
@@ -789,10 +789,10 @@ function Qr(e) {
789
789
  let r = new Map(e.highlights.value);
790
790
  for (let e of t) r.get(e) === n && r.delete(e);
791
791
  e.highlights.value = r;
792
- }, zr);
792
+ }, Vr);
793
793
  }
794
794
  async function J(e) {
795
- r && await Promise.race([r.core.settle().catch(() => {}), new Promise((t) => W(e, t, Wr))]);
795
+ r && await Promise.race([r.core.settle().catch(() => {}), new Promise((t) => W(e, t, Kr))]);
796
796
  }
797
797
  function re(t) {
798
798
  let i = E(n.content.value), o = n.activeLocale?.value ?? null, s = le(i, o ?? Z(i));
@@ -808,7 +808,7 @@ function Qr(e) {
808
808
  }
809
809
  function ie() {
810
810
  let e = n.state.selectedBlockId;
811
- return e ? r ? r.core.hasConfirmedBlock(e) ? e : null : Xr(n.content.value.blocks, e) ? e : null : null;
811
+ return e ? r ? r.core.hasConfirmedBlock(e) ? e : null : Qr(n.content.value.blocks, e) ? e : null : null;
812
812
  }
813
813
  function ae(t, i, a) {
814
814
  if (t.length === 0) return {
@@ -819,14 +819,14 @@ function Qr(e) {
819
819
  try {
820
820
  o = e.normalize(t, E(n.content.value));
821
821
  } catch (e) {
822
- if (e instanceof _e) return Zr(e);
822
+ if (e instanceof _e) return $r(e);
823
823
  throw e;
824
824
  }
825
825
  if (o.length === 0) return {
826
826
  applied: !0,
827
827
  inverse: []
828
828
  };
829
- let s = Vr(o);
829
+ let s = Ur(o);
830
830
  if (r) {
831
831
  let e = r.core.applyOperations(o, {
832
832
  origin: "ai",
@@ -835,13 +835,13 @@ function Qr(e) {
835
835
  return e.applied ? (s.templateUpdated || K(a, s.blockIds), {
836
836
  applied: !0,
837
837
  inverse: e.inverse
838
- }) : Zr(e.error);
838
+ }) : $r(e.error);
839
839
  }
840
840
  let c;
841
841
  try {
842
842
  c = ge(E(n.content.value), o);
843
843
  } catch (e) {
844
- if (e instanceof _e) return Zr(e);
844
+ if (e instanceof _e) return $r(e);
845
845
  throw e;
846
846
  }
847
847
  a.lastRecordedTurn !== i && (e.history().record(), a.lastRecordedTurn = i), d = !0;
@@ -851,7 +851,7 @@ function Qr(e) {
851
851
  d = !1;
852
852
  }
853
853
  let l = n.state.selectedBlockId;
854
- return l && !Xr(n.content.value.blocks, l) && n.selectBlock(null), s.templateUpdated || K(a, s.blockIds), {
854
+ return l && !Qr(n.content.value.blocks, l) && n.selectBlock(null), s.templateUpdated || K(a, s.blockIds), {
855
855
  applied: !0,
856
856
  inverse: c
857
857
  };
@@ -864,7 +864,7 @@ function Qr(e) {
864
864
  o = q(E(n.content.value), a, t, e.customBlockDefinitions?.());
865
865
  }
866
866
  } catch (e) {
867
- if (e instanceof _e) return Zr(e);
867
+ if (e instanceof _e) return $r(e);
868
868
  throw e;
869
869
  }
870
870
  let s = ae(o, r, i);
@@ -880,7 +880,7 @@ function Qr(e) {
880
880
  let n = r.core;
881
881
  n.revision.value >= e || (n.connection.value === "connected" ? W(t, () => {
882
882
  T(t) && n.revision.value < e && n.catchUp();
883
- }, Gr) : n.catchUp());
883
+ }, qr) : n.catchUp());
884
884
  }
885
885
  function Y(e, t, n) {
886
886
  let r = e.memory;
@@ -952,12 +952,12 @@ function Qr(e) {
952
952
  },
953
953
  onOperations: async (e) => {
954
954
  V(d), S(c);
955
- let t = r ? Kr(n.content.value) : null, i = oe(e, m, u, l);
956
- return i.applied && i.inverse.length > 0 && (x.inverse = [...i.inverse, ...x.inverse], r && (x.view = x.view === void 0 || x.view !== null && Ie(x.view, t) ? Kr(n.content.value) : null), _ += e.length, D({ operationCount: _ })), i;
955
+ let t = r ? Jr(n.content.value) : null, i = oe(e, m, u, l);
956
+ return i.applied && i.inverse.length > 0 && (x.inverse = [...i.inverse, ...x.inverse], r && (x.view = x.view === void 0 || x.view !== null && Ie(x.view, t) ? Jr(n.content.value) : null), _ += e.length, D({ operationCount: _ })), i;
957
957
  },
958
958
  onApplied: (t) => {
959
959
  if (!T(u)) throw new DOMException("The template changed.", "AbortError");
960
- if (!r && !e.reload) throw b ??= new Q(Bn, 502, "ai_provider_error"), b;
960
+ if (!r && !e.reload) throw b ??= new Q(Hn, 502, "ai_provider_error"), b;
961
961
  x.serverApplied = !0, x.batchIds.add(t.batchId), _ += t.operationCount, D({ operationCount: _ }), se(t.revision, u), w && (O(), k());
962
962
  }
963
963
  };
@@ -1016,8 +1016,8 @@ function Qr(e) {
1016
1016
  };
1017
1017
  } catch (e) {
1018
1018
  let n = b ?? e;
1019
- y = f.signal.aborted || qr(n), y || G(n), _ === 0 && (!y || v === "") ? (p.items = p.items.filter((e) => e.id !== g && e.id !== h), T(u) && (u.messages.value = p.items, y || (t === "chat" && (u.failedPrompt.value = a, u.failedAttachments.value = s), u.failure.value = {
1020
- error: Jr(n),
1019
+ y = f.signal.aborted || Yr(n), y || G(n), _ === 0 && (!y || v === "") ? (p.items = p.items.filter((e) => e.id !== g && e.id !== h), T(u) && (u.messages.value = p.items, y || (t === "chat" && (u.failedPrompt.value = a, u.failedAttachments.value = s), u.failure.value = {
1020
+ error: Xr(n),
1021
1021
  context: "turn"
1022
1022
  })), C = {
1023
1023
  messageId: null,
@@ -1027,7 +1027,7 @@ function Qr(e) {
1027
1027
  }) : (D({
1028
1028
  status: y ? "done" : "failed",
1029
1029
  failure: y ? void 0 : {
1030
- error: Jr(n),
1030
+ error: Xr(n),
1031
1031
  context: "turn"
1032
1032
  }
1033
1033
  }), C = {
@@ -1083,7 +1083,7 @@ function Qr(e) {
1083
1083
  } catch (e) {
1084
1084
  if (!T(s)) return;
1085
1085
  G(e), Y(s, t, { failure: {
1086
- error: Jr(e),
1086
+ error: Xr(e),
1087
1087
  context: o
1088
1088
  } });
1089
1089
  }
@@ -1099,7 +1099,7 @@ function Qr(e) {
1099
1099
  failure: void 0
1100
1100
  }), r) se(n.applied.revision, s);
1101
1101
  else if (e.reload) await U(c, !0);
1102
- else throw new Q(Bn, 502, "ai_provider_error");
1102
+ else throw new Q(Hn, 502, "ai_provider_error");
1103
1103
  return;
1104
1104
  }
1105
1105
  {
@@ -1112,16 +1112,16 @@ function Qr(e) {
1112
1112
  code: i.code,
1113
1113
  opIndex: i.opIndex
1114
1114
  });
1115
- o === "undo" ? f.redo = i.inverse : f.inverse = i.inverse, r && (f.view = Kr(n.content.value));
1115
+ o === "undo" ? f.redo = i.inverse : f.inverse = i.inverse, r && (f.view = Jr(n.content.value));
1116
1116
  }
1117
1117
  Y(s, t, {
1118
1118
  undone: o === "undo",
1119
1119
  failure: void 0
1120
1120
  });
1121
1121
  } catch (e) {
1122
- if (!T(s) || qr(e)) return;
1122
+ if (!T(s) || Yr(e)) return;
1123
1123
  G(e), Y(s, t, { failure: {
1124
- error: Jr(e),
1124
+ error: Xr(e),
1125
1125
  context: o
1126
1126
  } });
1127
1127
  }
@@ -1135,7 +1135,7 @@ function Qr(e) {
1135
1135
  locale: e.locale,
1136
1136
  text: e.text,
1137
1137
  attachments: e.attachments ?? [],
1138
- operationCount: Yr(e),
1138
+ operationCount: Zr(e),
1139
1139
  undone: e.undone,
1140
1140
  canUndo: !1,
1141
1141
  canRedo: !1,
@@ -1186,9 +1186,9 @@ function Qr(e) {
1186
1186
  !l && o.generation === a.generation && r === a.historyGeneration && (n || T(a) && !e.controller.signal.aborted) && (o.items = pe(t, o), a.messages.value = o.items, a.loaded = !0, a.failure.value?.context === "history" && (a.failure.value = null));
1187
1187
  }), n ? a.lifetime.signal : e.controller.signal);
1188
1188
  } catch (e) {
1189
- if (!T(a) || r !== a.historyGeneration || qr(e)) return;
1189
+ if (!T(a) || r !== a.historyGeneration || Yr(e)) return;
1190
1190
  G(e), a.failure.value = {
1191
- error: Jr(e),
1191
+ error: Xr(e),
1192
1192
  context: "history"
1193
1193
  };
1194
1194
  } finally {
@@ -1217,7 +1217,7 @@ function Qr(e) {
1217
1217
  } catch (t) {
1218
1218
  if (!T(e)) return;
1219
1219
  G(t), e.failure.value = {
1220
- error: Jr(t),
1220
+ error: Xr(t),
1221
1221
  context: "history"
1222
1222
  };
1223
1223
  }
@@ -1282,7 +1282,7 @@ function Qr(e) {
1282
1282
  let s = b, c = w(), l = t.altText, u = new AbortController(), d = () => u.abort(o?.reason), f = () => u.abort();
1283
1283
  try {
1284
1284
  if (o?.throwIfAborted(), !c || typeof l != "function") throw new Q("This AI feature isn't available.", 403, "feature_unavailable");
1285
- let t = E(n.content.value), p = n.activeLocale?.value ?? null, m = le(t, p ?? Z(t)), h = Hn(m, i);
1285
+ let t = E(n.content.value), p = n.activeLocale?.value ?? null, m = le(t, p ?? Z(t)), h = Wn(m, i);
1286
1286
  if (!h) throw new Q("The image is no longer available.", 409, "block_missing");
1287
1287
  o?.addEventListener("abort", d, { once: !0 }), c.lifetime.signal.addEventListener("abort", f, { once: !0 });
1288
1288
  let { url: g, ..._ } = h, v = await H(l({
@@ -1308,7 +1308,7 @@ function Qr(e) {
1308
1308
  let i = n.activeLocale?.value ?? null, a = E(n.content.value), o = le(a, i ?? Z(a)), s = e.map(({ blockId: e, alt: t, decorative: n, expect: r }) => ({
1309
1309
  op: "updateBlock",
1310
1310
  blockId: e,
1311
- expect: { ...r ?? Vn(o, e) ?? {
1311
+ expect: { ...r ?? Un(o, e) ?? {
1312
1312
  src: null,
1313
1313
  alt: null,
1314
1314
  decorative: null
@@ -1437,54 +1437,54 @@ function Qr(e) {
1437
1437
  };
1438
1438
  }
1439
1439
  // src/utils/aiMergeTags.ts
1440
- var $r = {
1440
+ var ti = {
1441
1441
  tags: 500,
1442
1442
  value: 200,
1443
1443
  label: 100,
1444
1444
  group: 100,
1445
1445
  description: 200
1446
1446
  };
1447
- function ei(e, t) {
1447
+ function ni(e, t) {
1448
1448
  let n = Array.from(e);
1449
1449
  return n.length > t ? n.slice(0, t).join("") : e;
1450
1450
  }
1451
- function ti(e) {
1451
+ function ri(e) {
1452
1452
  return be(e) ?? "custom";
1453
1453
  }
1454
- function ni(e, t) {
1454
+ function ii(e, t) {
1455
1455
  let n = [];
1456
1456
  for (let t of e) {
1457
- if (n.length === $r.tags) break;
1457
+ if (n.length === ti.tags) break;
1458
1458
  let e = typeof t?.value == "string" ? t.value : "";
1459
- e === "" || Array.from(e).length > $r.value || n.push({
1459
+ e === "" || Array.from(e).length > ti.value || n.push({
1460
1460
  value: e,
1461
- label: ei(typeof t.label == "string" && t.label !== "" ? t.label : e, $r.label),
1462
- ...typeof t.group == "string" && t.group !== "" ? { group: ei(t.group, $r.group) } : {},
1463
- ...typeof t.description == "string" && t.description !== "" ? { description: ei(t.description, $r.description) } : {}
1461
+ label: ni(typeof t.label == "string" && t.label !== "" ? t.label : e, ti.label),
1462
+ ...typeof t.group == "string" && t.group !== "" ? { group: ni(t.group, ti.group) } : {},
1463
+ ...typeof t.description == "string" && t.description !== "" ? { description: ni(t.description, ti.description) } : {}
1464
1464
  });
1465
1465
  }
1466
1466
  return {
1467
- syntax: ti(t),
1467
+ syntax: ri(t),
1468
1468
  tags: n
1469
1469
  };
1470
1470
  }
1471
1471
  // src/composables/useMediaFeature.ts
1472
- function ri(e) {
1472
+ function ai(e) {
1473
1473
  return e instanceof Error ? e : Error(String(e));
1474
1474
  }
1475
- function ii(e, t, n) {
1475
+ function oi(e, t, n) {
1476
1476
  let r = e.maxFileSize ?? Infinity;
1477
1477
  if (t.size > r) return /* @__PURE__ */ Error(`Image is too large (${t.size} bytes). Maximum allowed is ${r} bytes.`);
1478
1478
  let i = e.mimeTypes;
1479
1479
  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"}.`);
1480
1480
  }
1481
- function ai(e) {
1481
+ function si(e) {
1482
1482
  let { provider: t, onRequestMedia: n, getTemplateId: r, onError: i } = e, a = z(!1), o = z(void 0), s = P(() => r?.()), c = P(() => !!n || typeof t?.create == "function"), l = null;
1483
1483
  function u(e) {
1484
1484
  a.value = !1, l?.(e), l = null;
1485
1485
  }
1486
1486
  function d(e) {
1487
- u(oi(e));
1487
+ u(ci(e));
1488
1488
  }
1489
1489
  function f() {
1490
1490
  u(null);
@@ -1497,7 +1497,7 @@ function ai(e) {
1497
1497
  if (!t) return null;
1498
1498
  if (e?.files?.length) {
1499
1499
  if (typeof t.create != "function") return null;
1500
- let n = e.files[0], a = ii(t, n, e.accept);
1500
+ let n = e.files[0], a = oi(t, n, e.accept);
1501
1501
  if (a) return i?.(a), null;
1502
1502
  let o = r?.();
1503
1503
  try {
@@ -1508,11 +1508,11 @@ function ai(e) {
1508
1508
  try {
1509
1509
  t.onCreated?.(e);
1510
1510
  } catch (e) {
1511
- i?.(ri(e));
1511
+ i?.(ai(e));
1512
1512
  }
1513
- return oi(e);
1513
+ return ci(e);
1514
1514
  } catch (e) {
1515
- return i?.(ri(e)), null;
1515
+ return i?.(ai(e)), null;
1516
1516
  }
1517
1517
  }
1518
1518
  return l &&= (l(null), null), o.value = e?.accept, a.value = !0, new Promise((e) => {
@@ -1528,7 +1528,7 @@ function ai(e) {
1528
1528
  onError: i
1529
1529
  };
1530
1530
  }
1531
- function oi(e) {
1531
+ function ci(e) {
1532
1532
  let t = ie(e.width, e.height);
1533
1533
  return {
1534
1534
  url: e.url,
@@ -1540,7 +1540,7 @@ function oi(e) {
1540
1540
  };
1541
1541
  }
1542
1542
  // src/composables/useSavedBlocksFeature.ts
1543
- function si(e) {
1543
+ function li(e) {
1544
1544
  let { provider: t, editor: n } = e, r = se({
1545
1545
  provider: t,
1546
1546
  onError: e.onError
@@ -1585,7 +1585,7 @@ function si(e) {
1585
1585
  r.load().catch(() => {});
1586
1586
  }
1587
1587
  let S = P(() => r.savedBlocks.value.length), C = P(() => e.isAvailable?.() ?? !0);
1588
- return s(Ct, r), {
1588
+ return s(xt, r), {
1589
1589
  headless: r,
1590
1590
  isPicking: u,
1591
1591
  pickedIds: l,
@@ -1621,11 +1621,11 @@ function si(e) {
1621
1621
  };
1622
1622
  }
1623
1623
  // src/composables/useTemplatesFeature.ts
1624
- var ci = 3e3;
1625
- function li(e) {
1626
- let { provider: t, editor: n } = e, r = z("idle"), i = z(""), { start: a, stop: o } = er(() => {
1624
+ var ui = 3e3;
1625
+ function di(e) {
1626
+ let { provider: t, editor: n } = e, r = z("idle"), i = z(""), { start: a, stop: o } = nr(() => {
1627
1627
  r.value = "idle";
1628
- }, ci, { immediate: !1 }), s = P(() => typeof t.create == "function"), c = P(() => typeof t.save == "function"), l = P(() => e.isAvailable?.() ?? !0), u = P(() => n.state.template?.name), d = P(() => {
1628
+ }, ui, { immediate: !1 }), s = P(() => typeof t.create == "function"), c = P(() => typeof t.save == "function"), l = P(() => e.isAvailable?.() ?? !0), u = P(() => n.state.template?.name), d = P(() => {
1629
1629
  let e = n.state.template;
1630
1630
  return e?.updatedAt ? {
1631
1631
  iso: e.updatedAt,
@@ -1689,7 +1689,7 @@ function li(e) {
1689
1689
  let t = e.trim();
1690
1690
  t && t !== n.state.template?.name && (n.setName(t), S("rename"));
1691
1691
  }
1692
- return e.guardUnsavedChanges !== !1 && qn(window, "beforeunload", (e) => {
1692
+ return e.guardUnsavedChanges !== !1 && Yn(window, "beforeunload", (e) => {
1693
1693
  n.state.isDirty && (e.preventDefault(), e.returnValue = "");
1694
1694
  }), {
1695
1695
  save: g,
@@ -1723,15 +1723,15 @@ function li(e) {
1723
1723
  };
1724
1724
  }
1725
1725
  // src/utils/toMjml.ts
1726
- async function ui() {
1726
+ async function fi() {
1727
1727
  try {
1728
- return await import("./chunks/src-CymzjJYe.js");
1728
+ return await import("./chunks/src-BXrhjqCv.js");
1729
1729
  } catch {
1730
1730
  return null;
1731
1731
  }
1732
1732
  }
1733
- async function di(e, t) {
1734
- let n = await ui();
1733
+ async function pi(e, t) {
1734
+ let n = await fi();
1735
1735
  if (!n) throw Error("[Templatical] toMjml() requires the @templatical/renderer package. Please install it.");
1736
1736
  let r = e.getCustomBlockStylesheet, i = e.getFonts?.(), a = e.getLayout?.();
1737
1737
  return n.renderToMjml(e.getContent(), {
@@ -1747,11 +1747,11 @@ async function di(e, t) {
1747
1747
  });
1748
1748
  }
1749
1749
  // src/composables/useTestEmailFeature.ts
1750
- var fi = 1200;
1751
- function pi(e) {
1750
+ var mi = 1200;
1751
+ function hi(e) {
1752
1752
  return e instanceof Error ? e : Error(String(e));
1753
1753
  }
1754
- function mi(e) {
1754
+ function gi(e) {
1755
1755
  let { provider: t } = e, n = z(!1), r = z(!1), i = z(!1), a = z(null), o = null, s = !1;
1756
1756
  function c() {
1757
1757
  o !== null && (clearTimeout(o), o = null);
@@ -1773,8 +1773,8 @@ function mi(e) {
1773
1773
  if (t.includeMjml && e.renderMjml) try {
1774
1774
  return await e.renderMjml();
1775
1775
  } catch (t) {
1776
- if ((e.usesLocalRenderer?.() ?? !0) && await ui() === null) {
1777
- s || (s = !0, Jn.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
1776
+ if ((e.usesLocalRenderer?.() ?? !0) && await fi() === null) {
1777
+ s || (s = !0, Xn.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
1778
1778
  return;
1779
1779
  }
1780
1780
  throw t;
@@ -1784,7 +1784,7 @@ function mi(e) {
1784
1784
  try {
1785
1785
  t.onSent?.(n);
1786
1786
  } catch (t) {
1787
- e.onError?.(pi(t));
1787
+ e.onError?.(hi(t));
1788
1788
  }
1789
1789
  }
1790
1790
  async function _(n) {
@@ -1800,9 +1800,9 @@ function mi(e) {
1800
1800
  ...r === void 0 ? {} : { mjml: r },
1801
1801
  ...s === void 0 ? {} : { allowedRecipients: s }
1802
1802
  };
1803
- await t.send(a), i.value = !0, o = setTimeout(p, fi), g(a);
1803
+ await t.send(a), i.value = !0, o = setTimeout(p, mi), g(a);
1804
1804
  } catch (t) {
1805
- let n = pi(t);
1805
+ let n = hi(t);
1806
1806
  a.value = {
1807
1807
  kind: "provider",
1808
1808
  message: n.message
@@ -1830,7 +1830,7 @@ function mi(e) {
1830
1830
  };
1831
1831
  }
1832
1832
  // src/composables/useVersionHistoryFeature.ts
1833
- function hi(e) {
1833
+ function _i(e) {
1834
1834
  let { provider: t, editor: n, history: r, conditionPreview: i, autoSave: a } = e, o = e.collaboration ?? null, s = J({
1835
1835
  provider: t,
1836
1836
  getTemplateId: () => n.state.template?.id ?? null,
@@ -1941,11 +1941,11 @@ function hi(e) {
1941
1941
  };
1942
1942
  }
1943
1943
  // src/types/auto-save.ts
1944
- function gi(e, t) {
1944
+ function vi(e, t) {
1945
1945
  return e ?? t;
1946
1946
  }
1947
1947
  // src/utils/resolveInsertPosition.ts
1948
- function _i(e) {
1948
+ function yi(e) {
1949
1949
  let { blockType: t, selectedBlockId: n, findBlockLocation: r, isBlockLocked: i } = e;
1950
1950
  if (!n) return {};
1951
1951
  let a = r(n);
@@ -1962,8 +1962,8 @@ function _i(e) {
1962
1962
  };
1963
1963
  }
1964
1964
  // src/utils/insertBlockAtSelection.ts
1965
- function vi(e, t) {
1966
- let { targetSectionId: n, columnIndex: r, index: i } = _i({
1965
+ function bi(e, t) {
1966
+ let { targetSectionId: n, columnIndex: r, index: i } = yi({
1967
1967
  blockType: t.type,
1968
1968
  selectedBlockId: e.state.selectedBlockId,
1969
1969
  findBlockLocation: e.findBlockLocation,
@@ -1972,7 +1972,7 @@ function vi(e, t) {
1972
1972
  return e.addBlock(t, n, r, i), e.findBlockLocation(t.id) ? (e.selectBlock(t.id), !0) : !1;
1973
1973
  }
1974
1974
  // src/utils/withCollaborativeSave.ts
1975
- function yi(e, t, n) {
1975
+ function xi(e, t, n) {
1976
1976
  let { save: r, create: i } = e;
1977
1977
  if (typeof r != "function") return e;
1978
1978
  let a = /* @__PURE__ */ new Map(), o = (e) => (a.set(e.id, e.name), e);
@@ -1988,27 +1988,27 @@ function yi(e, t, n) {
1988
1988
  };
1989
1989
  }
1990
1990
  // src/components/Canvas.vue?vue&type=script&setup=true&lang.ts
1991
- var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
1991
+ var Si = ["aria-label"], Ci = ["lang", "dir"], wi = {
1992
1992
  key: 0,
1993
1993
  role: "status",
1994
1994
  "aria-busy": "true",
1995
1995
  "data-testid": "preview-resolution-loading",
1996
1996
  class: "tpl:flex tpl:flex-col tpl:gap-3 tpl:p-6"
1997
- }, Ci = { class: "tpl:sr-only" }, wi = {
1997
+ }, Ti = { class: "tpl:sr-only" }, Ei = {
1998
1998
  key: 1,
1999
1999
  role: "status",
2000
2000
  "data-testid": "preview-resolution-failed",
2001
2001
  class: "tpl:mx-6 tpl:mt-4 tpl:rounded-md tpl:px-3 tpl:py-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg-hover)]"
2002
- }, Ti = {
2002
+ }, Di = {
2003
2003
  key: 0,
2004
2004
  class: "tpl-canvas-empty-content tpl:flex tpl:flex-col tpl:items-center"
2005
- }, Ei = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, Di = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, Oi = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, ki = {
2005
+ }, Oi = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, ki = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, Ai = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, ji = {
2006
2006
  key: 0,
2007
2007
  class: "tpl:m-0 tpl:mt-2 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)]"
2008
- }, Ai = {
2008
+ }, Mi = {
2009
2009
  key: 1,
2010
2010
  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)]"
2011
- }, ji = { class: "tpl:relative" }, Mi = /*#__PURE__*/ Be(/* @__PURE__ */ n({
2011
+ }, Ni = { class: "tpl:relative" }, Pi = /*#__PURE__*/ Be(/* @__PURE__ */ n({
2012
2012
  __name: "Canvas",
2013
2013
  props: {
2014
2014
  viewport: {},
@@ -2020,25 +2020,25 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2020
2020
  emits: ["select-block"],
2021
2021
  setup(n, { emit: r }) {
2022
2022
  let o = {
2023
- section: kn,
2024
- title: jn,
2025
- paragraph: Dn,
2026
- image: yn,
2027
- button: mn,
2028
- divider: fn,
2029
- spacer: pn,
2030
- html: vn,
2031
- social: En,
2032
- menu: wn,
2033
- table: bn,
2034
- video: On,
2035
- custom: Mn,
2036
- wrapper: Yn
2037
- }, u = n, d = r, { t: p } = $(), m = Ot(Ut, "Canvas"), { displayBlock: h, settings: g } = dt({
2023
+ section: jn,
2024
+ title: Nn,
2025
+ paragraph: kn,
2026
+ image: xn,
2027
+ button: gn,
2028
+ divider: mn,
2029
+ spacer: hn,
2030
+ html: bn,
2031
+ social: On,
2032
+ menu: En,
2033
+ table: Sn,
2034
+ video: An,
2035
+ custom: Pn,
2036
+ wrapper: Zn
2037
+ }, u = n, d = r, { t: p } = $(), m = Ft(Wt, "Canvas"), { displayBlock: h, settings: g } = ft({
2038
2038
  content: P(() => u.content),
2039
2039
  activeLocale: P(() => u.previewMode ? null : m.activeLocale?.value ?? null)
2040
- }), _ = Ot(Et, "Canvas"), v = f(It, null), x = f(Ft, null), E = f(kt, {}), D = f(xt, null), O = f(_t, null);
2041
- s(St, P(() => u.previewMode)), s(Bt, P(() => u.previewMode && (D?.value ?? !1) && !O?.isConfigured));
2040
+ }), _ = Ft(Et, "Canvas"), v = f(It, null), x = f(Pt, null), E = f(kt, {}), D = f(St, null), O = f(_t, null);
2041
+ s(Ct, P(() => u.previewMode)), s(Ot, P(() => u.previewMode && (D?.value ?? !1) && !O?.isConfigured));
2042
2042
  let k = P(() => E.ai?.isFeatureEnabled("chat") ?? !1), M = P(() => k.value && (E.ai?.isFeatureEnabled("chatAttachments") ?? !1)), N = z(null);
2043
2043
  function ee() {
2044
2044
  N.value?.click();
@@ -2050,9 +2050,9 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2050
2050
  let L = f(wt, null), V = P({
2051
2051
  get: () => u.content.blocks,
2052
2052
  set: (e) => {
2053
- u.previewMode || _n(m, e);
2053
+ u.previewMode || yn(m, e);
2054
2054
  }
2055
- }), U = P(() => ce(g.value, u.viewport)), ne = P(() => U.value + 192), W = P(() => an(g.value, _.resolveFontFamily)), G = P(() => g.value?.locale?.trim() || void 0), K = P(() => Ee(g.value)), q = P(() => V.value.length === 0 && !u.previewMode), J = z(0), re = P(() => q.value && J.value > 0);
2055
+ }), U = P(() => ce(g.value, u.viewport)), ne = P(() => U.value + 192), W = P(() => sn(g.value, _.resolveFontFamily)), G = P(() => g.value?.locale?.trim() || void 0), K = P(() => Ee(g.value)), q = P(() => V.value.length === 0 && !u.previewMode), J = z(0), re = P(() => q.value && J.value > 0);
2056
2056
  function ie() {
2057
2057
  q.value && (J.value += 1);
2058
2058
  }
@@ -2066,7 +2066,7 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2066
2066
  u.previewMode || E.savedBlocks?.isPicking.value || e.target === e.currentTarget && d("select-block", null);
2067
2067
  }
2068
2068
  function le(e) {
2069
- return un(e, x, o);
2069
+ return fn(e, x, o);
2070
2070
  }
2071
2071
  function ue(e) {
2072
2072
  return E.collaboration?.lockOf(e) != null;
@@ -2109,7 +2109,7 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2109
2109
  class: "tpl-canvas-wrapper tpl:relative",
2110
2110
  style: F({
2111
2111
  width: `${U.value}px`,
2112
- [S(Nn)]: `${U.value}px`,
2112
+ [S(Fn)]: `${U.value}px`,
2113
2113
  transition: S(oe)
2114
2114
  })
2115
2115
  }, [A("div", {
@@ -2121,11 +2121,11 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2121
2121
  dir: K.value,
2122
2122
  style: F(W.value),
2123
2123
  onClick: Y
2124
- }, [S(O)?.isInitialResolve.value ? (i(), y("div", Si, [A("span", Ci, j(S(p).previewResolution.resolving), 1), (i(), y(B, null, l(3, (e) => A("div", {
2124
+ }, [S(O)?.isInitialResolve.value ? (i(), y("div", wi, [A("span", Ti, j(S(p).previewResolution.resolving), 1), (i(), y(B, null, l(3, (e) => A("div", {
2125
2125
  key: e,
2126
2126
  "aria-hidden": "true",
2127
2127
  class: "tpl-pulse tpl:h-16 tpl:rounded-md tpl:bg-[var(--tpl-bg-hover)]"
2128
- })), 64))])) : S(O)?.hasFailed.value ? (i(), y("p", wi, j(S(p).previewResolution.failed), 1)) : w("", !0), c(H(S(R), {
2128
+ })), 64))])) : S(O)?.hasFailed.value ? (i(), y("p", Ei, j(S(p).previewResolution.failed), 1)) : w("", !0), c(H(S(R), {
2129
2129
  modelValue: V.value,
2130
2130
  "onUpdate:modelValue": o[1] ||= (e) => V.value = e,
2131
2131
  group: "blocks",
@@ -2144,19 +2144,19 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2144
2144
  q.value && re.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
2145
2145
  q.value && !re.value ? "tpl:border-[var(--tpl-primary)]" : ""
2146
2146
  ]),
2147
- onUpdate: o[2] ||= (e) => !n.previewMode && S(_n)(S(m), V.value, void 0, 0, e),
2147
+ onUpdate: o[2] ||= (e) => !n.previewMode && S(yn)(S(m), V.value, void 0, 0, e),
2148
2148
  onDragenter: ie,
2149
2149
  onDragleave: ae,
2150
2150
  onDrop: se
2151
2151
  }, {
2152
- default: a(() => [q.value ? (i(), y("div", Ti, [
2153
- A("div", Ei, [H(S(Ke), {
2152
+ default: a(() => [q.value ? (i(), y("div", Di, [
2153
+ A("div", Oi, [H(S(Ke), {
2154
2154
  size: 48,
2155
2155
  "stroke-width": 1
2156
2156
  })]),
2157
- A("p", Di, j(S(p).canvas.noBlocks), 1),
2158
- A("p", Oi, j(S(p).canvas.dragHint), 1),
2159
- k.value ? (i(), y("p", ki, [
2157
+ A("p", ki, j(S(p).canvas.noBlocks), 1),
2158
+ A("p", Ai, j(S(p).canvas.dragHint), 1),
2159
+ k.value ? (i(), y("p", ji, [
2160
2160
  b(j(S(p).ai.canvas.chatHint) + " ", 1),
2161
2161
  A("button", {
2162
2162
  type: "button",
@@ -2170,14 +2170,14 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2170
2170
  }), b(" " + j(S(p).ai.menu.chat), 1)]),
2171
2171
  b(" " + j(S(p).ai.canvas.chatHintSuffix), 1)
2172
2172
  ])) : w("", !0),
2173
- M.value ? (i(), y("p", Ai, [
2173
+ M.value ? (i(), y("p", Mi, [
2174
2174
  b(j(S(p).ai.canvas.importHint) + " ", 1),
2175
2175
  A("button", {
2176
2176
  type: "button",
2177
2177
  "data-testid": "canvas-ai-import",
2178
2178
  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)]",
2179
2179
  onClick: ee
2180
- }, [H(S(lt), {
2180
+ }, [H(S(ut), {
2181
2181
  size: 14,
2182
2182
  "stroke-width": 2,
2183
2183
  "aria-hidden": "true"
@@ -2195,11 +2195,11 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2195
2195
  ])) : w("", !0), (i(!0), y(B, null, l(V.value, (r) => c((i(), y("div", {
2196
2196
  key: r.id,
2197
2197
  class: "tpl-block-item"
2198
- }, [A("div", ji, [r.type === "wrapper" ? (i(), T(t(le(r)), {
2198
+ }, [A("div", Ni, [r.type === "wrapper" ? (i(), T(t(le(r)), {
2199
2199
  key: 0,
2200
2200
  block: r,
2201
2201
  viewport: n.viewport
2202
- }, null, 8, ["block", "viewport"])) : (i(), T(gn, {
2202
+ }, null, 8, ["block", "viewport"])) : (i(), T(vn, {
2203
2203
  key: 1,
2204
2204
  block: r,
2205
2205
  "display-block": S(h)(r),
@@ -2234,9 +2234,9 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2234
2234
  "modelValue",
2235
2235
  "disabled",
2236
2236
  "class"
2237
- ]), [[te, !S(O)?.isInitialResolve.value]])], 14, xi)], 12, bi)], 4));
2237
+ ]), [[te, !S(O)?.isInitialResolve.value]])], 14, Ci)], 12, Si)], 4));
2238
2238
  }
2239
- }), [["__scopeId", "data-v-03a9d286"]]), Ni = n({
2239
+ }), [["__scopeId", "data-v-03a9d286"]]), Fi = n({
2240
2240
  name: "CustomBlockStylesheets",
2241
2241
  setup() {
2242
2242
  let e = f(jt, null);
@@ -2248,7 +2248,7 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2248
2248
  }
2249
2249
  });
2250
2250
  // src/utils/resolvePaletteBlocks.ts
2251
- function Pi(e, t) {
2251
+ function Ii(e, t) {
2252
2252
  if (!t || t.length === 0) return {
2253
2253
  items: e,
2254
2254
  unknown: []
@@ -2266,24 +2266,24 @@ function Pi(e, t) {
2266
2266
  };
2267
2267
  }
2268
2268
  // src/components/Sidebar.vue?vue&type=script&setup=true&lang.ts
2269
- var Fi = ["aria-label"], Ii = {
2269
+ var Li = ["aria-label"], Ri = {
2270
2270
  key: 0,
2271
2271
  class: "tpl:border-b tpl:px-1 tpl:pb-1 tpl:border-[var(--tpl-border)]"
2272
- }, Li = ["aria-label"], Ri = {
2272
+ }, zi = ["aria-label"], Bi = {
2273
2273
  key: 0,
2274
2274
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
2275
- }, zi = [
2275
+ }, Vi = [
2276
2276
  "data-palette-type",
2277
2277
  "aria-label",
2278
2278
  "onClick",
2279
2279
  "onKeydown"
2280
- ], Bi = { 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" }, Vi = {
2280
+ ], Hi = { 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" }, Ui = {
2281
2281
  key: 0,
2282
2282
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
2283
- }, Hi = 4, Ui = /* @__PURE__ */ n({
2283
+ }, Wi = 4, Gi = /* @__PURE__ */ n({
2284
2284
  __name: "Sidebar",
2285
2285
  setup(e) {
2286
- let { t: n, format: r } = $(), s = f(Mt, []), c = f(vt, void 0), u = f(Dt, void 0), d = f(Ut, null), p = Kn(), h = f(kt, {}), g = P(() => h.savedBlocks?.isAvailable.value === !0), _ = z(!1), v = z(!1), b = z(null), x = !1, C = 0;
2286
+ let { t: n, format: r } = $(), s = f(Mt, []), c = f(vt, void 0), u = f(Dt, void 0), d = f(Wt, null), p = Jn(), h = f(kt, {}), g = P(() => h.savedBlocks?.isAvailable.value === !0), _ = z(!1), v = z(!1), b = z(null), x = !1, C = 0;
2287
2287
  m(() => {
2288
2288
  window.clearTimeout(C);
2289
2289
  });
@@ -2324,7 +2324,7 @@ var Fi = ["aria-label"], Ii = {
2324
2324
  }
2325
2325
  let L = [
2326
2326
  "section",
2327
- hn,
2327
+ _n,
2328
2328
  "image",
2329
2329
  "title",
2330
2330
  "paragraph",
@@ -2350,21 +2350,21 @@ var Fi = ["aria-label"], Ii = {
2350
2350
  label: e.name,
2351
2351
  isCustom: !0,
2352
2352
  icon: e.icon
2353
- }))), U = P(() => [...te.value, ...V.value]), ne = P(() => Pi(U.value, c)), W = P(() => ne.value.items), G = /* @__PURE__ */ new Set();
2353
+ }))), U = P(() => [...te.value, ...V.value]), ne = P(() => Ii(U.value, c)), W = P(() => ne.value.items), G = /* @__PURE__ */ new Set();
2354
2354
  o(() => ne.value.unknown, (e) => {
2355
- for (let t of e) G.has(t) || (G.add(t), Jn.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.`));
2355
+ for (let t of e) G.has(t) || (G.add(t), Xn.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.`));
2356
2356
  }, { immediate: !0 });
2357
2357
  function K(e) {
2358
2358
  if (e.isCustom) {
2359
2359
  let t = e.type.replace("custom:", ""), n = s.find((e) => e.type === t);
2360
2360
  if (n) return ve(n);
2361
2361
  }
2362
- return e.type === "hero" ? Cn(u?.value, n.blockDefaults.paragraph) : Re(e.type, u?.value);
2362
+ return e.type === "hero" ? Tn(u?.value, n.blockDefaults.paragraph) : Re(e.type, u?.value);
2363
2363
  }
2364
2364
  function q(e) {
2365
2365
  if (!d) return;
2366
2366
  let t = K(e);
2367
- vi(d, t) && p(t.id);
2367
+ bi(d, t) && p(t.id);
2368
2368
  }
2369
2369
  function J(e) {
2370
2370
  x || q(e);
@@ -2388,17 +2388,17 @@ var Fi = ["aria-label"], Ii = {
2388
2388
  onMouseleave: D,
2389
2389
  onFocusin: o[2] ||= (e) => _.value = !0,
2390
2390
  onFocusout: N
2391
- }, [g.value ? (i(), y("div", Ii, [A("button", {
2391
+ }, [g.value ? (i(), y("div", Ri, [A("button", {
2392
2392
  type: "button",
2393
2393
  "aria-label": S(n).sidebarNav.browseSavedBlocks,
2394
2394
  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)]",
2395
2395
  style: F({ justifyContent: _.value ? "flex-start" : "center" }),
2396
2396
  onClick: o[0] ||= (e) => S(h).savedBlocks?.openBrowser()
2397
- }, [H(S(et), {
2397
+ }, [H(S(tt), {
2398
2398
  size: 20,
2399
2399
  "stroke-width": 1.5,
2400
2400
  class: "tpl:shrink-0"
2401
- }), _.value ? (i(), y("span", Ri, j(S(n).savedBlocks.title), 1)) : w("", !0)], 12, Li)])) : w("", !0), H(S(R), {
2401
+ }), _.value ? (i(), y("span", Bi, j(S(n).savedBlocks.title), 1)) : w("", !0)], 12, zi)])) : w("", !0), H(S(R), {
2402
2402
  "model-value": W.value,
2403
2403
  group: {
2404
2404
  name: "blocks",
@@ -2409,7 +2409,7 @@ var Fi = ["aria-label"], Ii = {
2409
2409
  sort: !1,
2410
2410
  animation: 150,
2411
2411
  "force-fallback": !0,
2412
- "fallback-tolerance": Hi,
2412
+ "fallback-tolerance": Wi,
2413
2413
  class: "tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl:gap-0.5 tpl:overflow-y-auto tpl:p-1",
2414
2414
  onChoose: O,
2415
2415
  onStart: M,
@@ -2425,58 +2425,58 @@ var Fi = ["aria-label"], Ii = {
2425
2425
  style: F({ justifyContent: _.value ? "flex-start" : "center" }),
2426
2426
  onClick: (t) => J(e),
2427
2427
  onKeydown: (t) => re(t, e)
2428
- }, [A("div", Bi, [S(Xn)[e.type] ? (i(), T(t(S(Xn)[e.type]), {
2428
+ }, [A("div", Hi, [S(Qn)[e.type] ? (i(), T(t(S(Qn)[e.type]), {
2429
2429
  key: 0,
2430
2430
  size: 20,
2431
2431
  "stroke-width": 1.5
2432
- })) : e.isCustom ? (i(), T(Pn, {
2432
+ })) : e.isCustom ? (i(), T(In, {
2433
2433
  key: 1,
2434
2434
  icon: e.icon,
2435
2435
  size: 20
2436
- }, null, 8, ["icon"])) : w("", !0)]), _.value ? (i(), y("span", Vi, j(e.label), 1)) : w("", !0)], 44, zi))), 128))]),
2436
+ }, null, 8, ["icon"])) : w("", !0)]), _.value ? (i(), y("span", Ui, j(e.label), 1)) : w("", !0)], 44, Vi))), 128))]),
2437
2437
  _: 1
2438
- }, 8, ["model-value"])], 44, Fi));
2438
+ }, 8, ["model-value"])], 44, Li));
2439
2439
  }
2440
- }), Wi = ["aria-label"], Gi = {
2440
+ }), Ki = ["aria-label"], qi = {
2441
2441
  role: "tablist",
2442
2442
  class: "tpl:relative tpl:flex tpl:gap-1 tpl:border-b tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-active)] tpl:p-1.5"
2443
- }, Ki = [
2443
+ }, Ji = [
2444
2444
  "aria-selected",
2445
2445
  "aria-label",
2446
2446
  "title"
2447
- ], qi = { key: 0 }, Ji = [
2447
+ ], Yi = { key: 0 }, Xi = [
2448
2448
  "aria-selected",
2449
2449
  "aria-label",
2450
2450
  "title"
2451
- ], Yi = { key: 0 }, Xi = [
2451
+ ], Zi = { key: 0 }, Qi = [
2452
2452
  "aria-selected",
2453
2453
  "aria-label",
2454
2454
  "title"
2455
- ], Zi = { key: 0 }, Qi = {
2455
+ ], $i = { key: 0 }, ea = {
2456
2456
  key: 1,
2457
2457
  class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
2458
- }, $i = {
2458
+ }, ta = {
2459
2459
  key: 0,
2460
2460
  id: "tpl-tabpanel-content",
2461
2461
  role: "tabpanel",
2462
2462
  "aria-labelledby": "tpl-tab-content",
2463
2463
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2464
- }, ea = {
2464
+ }, na = {
2465
2465
  key: 1,
2466
2466
  class: "tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:px-6 tpl:py-10 tpl:text-center tpl:text-[var(--tpl-text-muted)]"
2467
- }, ta = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, na = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ra = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, ia = {
2467
+ }, ra = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, ia = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, aa = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, oa = {
2468
2468
  key: 1,
2469
2469
  id: "tpl-tabpanel-settings",
2470
2470
  role: "tabpanel",
2471
2471
  "aria-labelledby": "tpl-tab-settings",
2472
2472
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2473
- }, aa = {
2473
+ }, sa = {
2474
2474
  key: 2,
2475
2475
  id: "tpl-tabpanel-issues",
2476
2476
  role: "tabpanel",
2477
2477
  "aria-labelledby": "tpl-tab-issues",
2478
2478
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2479
- }, oa = /* @__PURE__ */ n({
2479
+ }, ca = /* @__PURE__ */ n({
2480
2480
  __name: "RightSidebar",
2481
2481
  props: /*@__PURE__*/ O({
2482
2482
  selectedBlock: {},
@@ -2493,7 +2493,7 @@ var Fi = ["aria-label"], Ii = {
2493
2493
  "update-settings"
2494
2494
  ], ["update:tab"]),
2495
2495
  setup(e, { emit: t }) {
2496
- let n = g(() => import("./chunks/Toolbar-CwmW8wAI.js").then((e) => e.t)), r = g(() => import("./chunks/TemplateSettings-DFetnT9P.js")), a = g(() => import("./chunks/IssuesPanel-BzVpxRkq.js")), s = e, c = t, { t: l } = $(), u = _(e, "tab"), d = f(At, null), p = P(() => d !== null && !d.unavailable.value), m = P(() => d?.issues.value.length ?? 0), h = f(Ht, new Set(Zn)), v = P(() => h.size > 0);
2496
+ let n = g(() => import("./chunks/Toolbar-BzAuH2G4.js").then((e) => e.t)), r = g(() => import("./chunks/TemplateSettings-uoiUkd2l.js")), a = g(() => import("./chunks/IssuesPanel-Co-ffgWa.js")), s = e, c = t, { t: l } = $(), u = _(e, "tab"), d = f(Ut, null), p = P(() => d !== null && !d.unavailable.value), m = P(() => d?.issues.value.length ?? 0), h = f(Rt, new Set($n)), v = P(() => h.size > 0);
2497
2497
  function b(e) {
2498
2498
  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)]";
2499
2499
  }
@@ -2511,7 +2511,7 @@ var Fi = ["aria-label"], Ii = {
2511
2511
  "aria-label": S(l).landmarks.rightSidebar,
2512
2512
  class: C(["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:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
2513
2513
  }, [
2514
- A("div", Gi, [
2514
+ A("div", qi, [
2515
2515
  A("button", {
2516
2516
  id: "tpl-tab-content",
2517
2517
  role: "tab",
@@ -2522,10 +2522,10 @@ var Fi = ["aria-label"], Ii = {
2522
2522
  class: C(["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")]),
2523
2523
  style: F(x("content")),
2524
2524
  onClick: o[0] ||= (e) => u.value = "content"
2525
- }, [H(S(st), {
2525
+ }, [H(S(ct), {
2526
2526
  size: 14,
2527
2527
  "stroke-width": 2
2528
- }), u.value === "content" ? (i(), y("span", qi, j(S(l).sidebar.content), 1)) : w("", !0)], 14, Ki),
2528
+ }), u.value === "content" ? (i(), y("span", Yi, j(S(l).sidebar.content), 1)) : w("", !0)], 14, Ji),
2529
2529
  v.value ? (i(), y("button", {
2530
2530
  key: 0,
2531
2531
  id: "tpl-tab-settings",
@@ -2540,7 +2540,7 @@ var Fi = ["aria-label"], Ii = {
2540
2540
  }, [H(S(He), {
2541
2541
  size: 14,
2542
2542
  "stroke-width": 1.5
2543
- }), u.value === "settings" ? (i(), y("span", Yi, j(S(l).sidebar.settings), 1)) : w("", !0)], 14, Ji)) : w("", !0),
2543
+ }), u.value === "settings" ? (i(), y("span", Zi, j(S(l).sidebar.settings), 1)) : w("", !0)], 14, Xi)) : w("", !0),
2544
2544
  p.value ? (i(), y("button", {
2545
2545
  key: 1,
2546
2546
  id: "tpl-tab-issues",
@@ -2553,69 +2553,69 @@ var Fi = ["aria-label"], Ii = {
2553
2553
  style: F(x("issues")),
2554
2554
  onClick: o[2] ||= (e) => u.value = "issues"
2555
2555
  }, [
2556
- H(S(nt), {
2556
+ H(S(rt), {
2557
2557
  size: 14,
2558
2558
  "stroke-width": 1.5
2559
2559
  }),
2560
- u.value === "issues" ? (i(), y("span", Zi, j(S(l).issues.panelTabLabel), 1)) : w("", !0),
2561
- m.value > 0 ? (i(), y("span", Qi, j(m.value), 1)) : w("", !0)
2562
- ], 14, Xi)) : w("", !0)
2560
+ u.value === "issues" ? (i(), y("span", $i, j(S(l).issues.panelTabLabel), 1)) : w("", !0),
2561
+ m.value > 0 ? (i(), y("span", ea, j(m.value), 1)) : w("", !0)
2562
+ ], 14, Qi)) : w("", !0)
2563
2563
  ]),
2564
- u.value === "content" ? (i(), y("div", $i, [e.selectedBlock ? (i(), T(S(n), {
2564
+ u.value === "content" ? (i(), y("div", ta, [e.selectedBlock ? (i(), T(S(n), {
2565
2565
  key: 0,
2566
2566
  block: e.selectedBlock,
2567
2567
  onUpdate: o[3] ||= (e) => c("update-block", e),
2568
2568
  onDelete: o[4] ||= (e) => c("delete-block"),
2569
2569
  onDuplicate: o[5] ||= (e) => c("duplicate-block")
2570
- }, null, 8, ["block"])) : (i(), y("div", ea, [
2571
- A("div", ta, [H(S(rt), {
2570
+ }, null, 8, ["block"])) : (i(), y("div", na, [
2571
+ A("div", ra, [H(S(it), {
2572
2572
  size: 40,
2573
2573
  "stroke-width": 1.5
2574
2574
  })]),
2575
- A("h3", na, j(S(l).sidebar.noSelection), 1),
2576
- A("p", ra, j(S(l).sidebar.noSelectionHint), 1)
2575
+ A("h3", ia, j(S(l).sidebar.noSelection), 1),
2576
+ A("p", aa, j(S(l).sidebar.noSelectionHint), 1)
2577
2577
  ]))])) : w("", !0),
2578
- u.value === "settings" && v.value ? (i(), y("div", ia, [H(S(r), {
2578
+ u.value === "settings" && v.value ? (i(), y("div", oa, [H(S(r), {
2579
2579
  settings: e.settings,
2580
2580
  onUpdate: o[6] ||= (e) => c("update-settings", e)
2581
2581
  }, null, 8, ["settings"])])) : w("", !0),
2582
- u.value === "issues" && p.value ? (i(), y("div", aa, [H(S(a))])) : w("", !0)
2583
- ], 10, Wi));
2582
+ u.value === "issues" && p.value ? (i(), y("div", sa, [H(S(a))])) : w("", !0)
2583
+ ], 10, Ki));
2584
2584
  }
2585
- }), sa = {
2585
+ }), la = {
2586
2586
  class: "tpl-small-screen-notice tpl:absolute tpl:inset-0 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-4 tpl:px-6 tpl:py-10 tpl:text-center tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)]",
2587
2587
  style: { "z-index": "10001" },
2588
2588
  role: "status",
2589
2589
  "data-testid": "small-screen-notice"
2590
- }, ca = { class: "tpl:text-[var(--tpl-text-dim)]" }, la = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ua = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, da = /* @__PURE__ */ n({
2590
+ }, ua = { class: "tpl:text-[var(--tpl-text-dim)]" }, da = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, fa = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, pa = /* @__PURE__ */ n({
2591
2591
  __name: "SmallScreenNotice",
2592
2592
  setup(e) {
2593
2593
  let { t } = $();
2594
- return (e, n) => (i(), y("div", sa, [
2595
- A("div", ca, [H(S(Ve), {
2594
+ return (e, n) => (i(), y("div", la, [
2595
+ A("div", ua, [H(S(Ve), {
2596
2596
  size: 48,
2597
2597
  "stroke-width": 1.5
2598
2598
  })]),
2599
- A("h2", la, j(S(t).smallScreen.title), 1),
2600
- A("p", ua, j(S(t).smallScreen.message), 1)
2599
+ A("h2", da, j(S(t).smallScreen.title), 1),
2600
+ A("p", fa, j(S(t).smallScreen.message), 1)
2601
2601
  ]));
2602
2602
  }
2603
- }), fa = {
2603
+ }), ma = {
2604
2604
  class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
2605
2605
  style: {
2606
2606
  "background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
2607
2607
  "backdrop-filter": "blur(8px)",
2608
2608
  "-webkit-backdrop-filter": "blur(8px)"
2609
2609
  }
2610
- }, pa = /* @__PURE__ */ n({
2610
+ }, ha = /* @__PURE__ */ n({
2611
2611
  __name: "EditorFooter",
2612
2612
  props: { positionClass: {} },
2613
2613
  setup(e) {
2614
2614
  let { t } = $();
2615
- return (n, r) => (i(), y("footer", { class: C(["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]) }, [A("div", fa, [A("span", null, j(S(t).footer.poweredBy), 1), r[0] ||= U("<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));
2615
+ return (n, r) => (i(), y("footer", { class: C(["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]) }, [A("div", ma, [A("span", null, j(S(t).footer.poweredBy), 1), r[0] ||= U("<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));
2616
2616
  }
2617
- }), ma = (e) => Number.parseFloat(e) || 0;
2618
- function ha(e) {
2617
+ }), ga = (e) => Number.parseFloat(e) || 0;
2618
+ function _a(e) {
2619
2619
  let t = (t) => e.centerWidth + 2 * Math.max(e.leftWidth, t) + e.paddingWidth + 2 * e.columnGap + e.borderWidth, n = t(e.rightWidth - (e.statusLabelWidth ?? 0)), r = e.availableWidth < n;
2620
2620
  return {
2621
2621
  compact: r,
@@ -2623,31 +2623,58 @@ function ha(e) {
2623
2623
  statusLabel: !r && e.availableWidth >= t(e.rightWidth)
2624
2624
  };
2625
2625
  }
2626
- function ga(e, t) {
2627
- let n = L(!1), r = L(0), i = L(!1), a = 0, o, s, c = !1, l = !0, f = null, p, m = 0, h = 0, g = [];
2628
- function _() {
2629
- return g.some((e) => {
2626
+ function va(e) {
2627
+ let t = e.cloneNode(!1);
2628
+ if (e instanceof Element && e.classList.contains("tpl-header-actions")) return t;
2629
+ for (let n of e.childNodes) t.appendChild(va(n));
2630
+ return t;
2631
+ }
2632
+ function ya(e, t, n) {
2633
+ let r = L(!1), i = L(0), a = L(!1), o = 0, s, c, l, f = !1, p = !0, m = null, h, g = 0, _ = 0, v = [];
2634
+ function y() {
2635
+ return v.some((e) => {
2630
2636
  let t = e.getBoundingClientRect();
2631
- return Array.from(e.children).some((e) => {
2637
+ return Array.from(e.children).flatMap((e) => e instanceof HTMLSlotElement ? e.assignedElements() : e.classList.contains("tpl-header-actions") ? Array.from(e.children) : [e]).some((e) => {
2632
2638
  let n = e.getBoundingClientRect();
2633
2639
  return n.width > 0 && (n.left < t.left - .5 || n.right > t.right + .5);
2634
2640
  });
2635
2641
  });
2636
2642
  }
2637
- function v() {
2638
- if (!c || !e.value || !t.value) return;
2639
- let o = e.value.getBoundingClientRect().width;
2640
- if (o <= 0) return;
2641
- if (!l && !n.value && o >= r.value && _() && (l = !0), !l && r.value > 0) {
2642
- n.value = o < r.value, i.value = !n.value && o >= a;
2643
+ function b() {
2644
+ if (!f || !e.value || !t.value) return;
2645
+ let s = e.value.getBoundingClientRect().width;
2646
+ if (s <= 0) return;
2647
+ if (!p && !r.value && s >= i.value && y() && (p = !0), !p && i.value > 0) {
2648
+ r.value = s < i.value, a.value = !r.value && s >= o;
2643
2649
  return;
2644
2650
  }
2645
- let s = t.value, u = s.ownerDocument.createElement("div");
2646
- for (let e of s.attributes) e.name.startsWith("data-") || u.setAttribute(e.name, e.value);
2647
- u.classList.remove("tpl-header"), u.classList.add("tpl-header-measure"), u.setAttribute("aria-hidden", "true"), u.inert = !0;
2648
- for (let e of s.childNodes) e !== p && u.appendChild(e.cloneNode(!0));
2649
- for (let e of u.querySelectorAll("*")) e.removeAttribute("id"), e.removeAttribute("data-testid");
2650
- Object.assign(u.style, {
2651
+ let u = t.value, d = 0;
2652
+ if (n?.isConnected) {
2653
+ let e = n.getAttribute("data-tpl-compact"), t = n.getAttribute("style");
2654
+ (c?.takeRecords().length || l?.takeRecords().length) && (p = !0), n.removeAttribute("data-tpl-compact"), n.style.width = "max-content", n.style.flexShrink = "0";
2655
+ try {
2656
+ d = n.getBoundingClientRect().width;
2657
+ } finally {
2658
+ t === null ? n.removeAttribute("style") : n.setAttribute("style", t), e === null ? n.removeAttribute("data-tpl-compact") : n.setAttribute("data-tpl-compact", e), c?.takeRecords(), l?.takeRecords();
2659
+ }
2660
+ }
2661
+ let m = u.ownerDocument.createElement("div");
2662
+ for (let e of u.attributes) e.name.startsWith("data-") || m.setAttribute(e.name, e.value);
2663
+ m.classList.remove("tpl-header"), m.classList.add("tpl-header-measure"), m.setAttribute("aria-hidden", "true"), m.inert = !0;
2664
+ for (let e of u.childNodes) e !== h && m.appendChild(va(e));
2665
+ let g = m.querySelector("slot[name=\"tpl-header-actions\"], .tpl-header-actions");
2666
+ if (g) {
2667
+ if (n?.isConnected) {
2668
+ let e = u.ownerDocument.createElement("span");
2669
+ e.className = "tpl-header-action-measure", Object.assign(e.style, {
2670
+ display: "inline-block",
2671
+ flex: "none",
2672
+ width: `${d}px`
2673
+ }), g.replaceWith(e);
2674
+ } else g.remove();
2675
+ }
2676
+ for (let e of m.querySelectorAll("*")) e.removeAttribute("id"), e.removeAttribute("data-testid");
2677
+ Object.assign(m.style, {
2651
2678
  position: "absolute",
2652
2679
  inset: "0 auto auto 0",
2653
2680
  width: "max-content",
@@ -2656,47 +2683,47 @@ function ga(e, t) {
2656
2683
  pointerEvents: "none",
2657
2684
  gridTemplateColumns: "max-content max-content max-content"
2658
2685
  });
2659
- let d = [
2686
+ let _ = [
2660
2687
  ".tpl-header-left",
2661
2688
  ".tpl-header-center",
2662
2689
  ".tpl-header-right"
2663
- ].map((e) => u.querySelector(e));
2664
- for (let e of d) e.style.width = "max-content", e.style.minWidth = "0";
2665
- let f = u.querySelector(".tpl-header-identity");
2666
- if (f) {
2667
- f.style.width = "24px", f.style.minWidth = "24px", f.style.flexShrink = "0";
2668
- for (let e of f.children) e.style.maxWidth = "100%";
2690
+ ].map((e) => m.querySelector(e));
2691
+ for (let e of _) e.style.width = "max-content", e.style.minWidth = "0";
2692
+ let v = m.querySelector(".tpl-header-identity");
2693
+ if (v) {
2694
+ v.style.width = "24px", v.style.minWidth = "24px", v.style.flexShrink = "0";
2695
+ for (let e of v.children) e.style.maxWidth = "100%";
2669
2696
  }
2670
- e.value.appendChild(u);
2697
+ e.value.appendChild(m);
2671
2698
  try {
2672
- let e = getComputedStyle(u), t = d.map((e) => e.getBoundingClientRect().width), s = u.querySelector(".tpl-status-label"), c = s ? s.getBoundingClientRect().width + ma(getComputedStyle(s.parentElement).columnGap) : 0, f = {
2673
- availableWidth: o,
2699
+ let e = getComputedStyle(m), t = _.map((e) => e.getBoundingClientRect().width), n = m.querySelector(".tpl-status-label"), c = n ? n.getBoundingClientRect().width + ga(getComputedStyle(n.parentElement).columnGap) : 0, l = {
2700
+ availableWidth: s,
2674
2701
  leftWidth: t[0],
2675
2702
  centerWidth: t[1],
2676
2703
  rightWidth: t[2],
2677
- paddingWidth: ma(e.paddingLeft || e.paddingInline) + ma(e.paddingRight || e.paddingInline),
2678
- columnGap: ma(e.columnGap),
2679
- borderWidth: ma(e.borderLeftWidth) + ma(e.borderRightWidth)
2680
- }, p = ha({
2681
- ...f,
2704
+ paddingWidth: ga(e.paddingLeft || e.paddingInline) + ga(e.paddingRight || e.paddingInline),
2705
+ columnGap: ga(e.columnGap),
2706
+ borderWidth: ga(e.borderLeftWidth) + ga(e.borderRightWidth)
2707
+ }, u = _a({
2708
+ ...l,
2682
2709
  statusLabelWidth: c
2683
2710
  });
2684
- r.value = p.fullWidth, n.value = p.compact, i.value = p.statusLabel, a = ha(f).fullWidth, l = !1;
2711
+ i.value = u.fullWidth, r.value = u.compact, a.value = u.statusLabel, o = _a(l).fullWidth, p = !1;
2685
2712
  } finally {
2686
- u.remove();
2713
+ m.remove();
2687
2714
  }
2688
2715
  }
2689
- function y() {
2690
- c && f === null && (f = window.requestAnimationFrame(() => {
2691
- f = null, v();
2716
+ function x() {
2717
+ f && m === null && (m = window.requestAnimationFrame(() => {
2718
+ m = null, b();
2692
2719
  }));
2693
2720
  }
2694
- function b() {
2695
- c && (l = !0, y());
2721
+ function S() {
2722
+ f && (p = !0, x());
2696
2723
  }
2697
2724
  return d(() => {
2698
- if (c = !0, g = Array.from(t.value?.children ?? []), v(), !e.value || !t.value) return;
2699
- p = t.value.ownerDocument.createElement("span"), p.className = "tpl-header-metric-probe", p.setAttribute("aria-hidden", "true"), p.inert = !0, p.textContent = "MWmw0123456789", Object.assign(p.style, {
2725
+ if (f = !0, v = Array.from(t.value?.children ?? []), b(), !e.value || !t.value) return;
2726
+ h = t.value.ownerDocument.createElement("span"), h.className = "tpl-header-metric-probe", h.setAttribute("aria-hidden", "true"), h.inert = !0, h.textContent = "MWmw0123456789", Object.assign(h.style, {
2700
2727
  position: "absolute",
2701
2728
  inset: "0 auto auto 0",
2702
2729
  width: "max-content",
@@ -2707,22 +2734,22 @@ function ga(e, t) {
2707
2734
  whiteSpace: "pre",
2708
2735
  visibility: "hidden",
2709
2736
  pointerEvents: "none"
2710
- }), t.value.appendChild(p);
2711
- let n = p.getBoundingClientRect();
2712
- if (m = n.width, h = n.height, typeof ResizeObserver < "u") {
2713
- o = new ResizeObserver((e) => {
2737
+ }), t.value.appendChild(h);
2738
+ let r = h.getBoundingClientRect();
2739
+ if (g = r.width, _ = r.height, typeof ResizeObserver < "u") {
2740
+ s = new ResizeObserver((e) => {
2714
2741
  let t = !1;
2715
2742
  for (let n of e) {
2716
- if (n.target !== p) continue;
2743
+ if (n.target !== h) continue;
2717
2744
  let { width: e, height: r } = n.contentRect;
2718
- (e !== m || r !== h) && (t = !0), m = e, h = r;
2745
+ (e !== g || r !== _) && (t = !0), g = e, _ = r;
2719
2746
  }
2720
- t ? b() : y();
2721
- }), o.observe(e.value);
2722
- for (let e of g) o.observe(e);
2723
- o.observe(p);
2747
+ t ? S() : x();
2748
+ }), s.observe(e.value);
2749
+ for (let e of v) s.observe(e);
2750
+ s.observe(h), n && s.observe(n);
2724
2751
  }
2725
- s = new MutationObserver(b), s.observe(t.value, {
2752
+ c = new MutationObserver(S), c.observe(t.value, {
2726
2753
  subtree: !0,
2727
2754
  childList: !0,
2728
2755
  characterData: !0,
@@ -2734,23 +2761,31 @@ function ga(e, t) {
2734
2761
  "aria-label",
2735
2762
  "hidden"
2736
2763
  ]
2737
- }), window.addEventListener("resize", y);
2738
- let r = t.value.ownerDocument.fonts;
2739
- r?.addEventListener("loadingdone", b), r?.status === "loading" && r.ready.then(b);
2764
+ }), n && (l = new MutationObserver((e) => {
2765
+ e.some((e) => e.type !== "attributes" || e.attributeName !== "data-tpl-compact" && e.attributeName !== "data-tpl-theme") && S();
2766
+ }), l.observe(n, {
2767
+ subtree: !0,
2768
+ childList: !0,
2769
+ characterData: !0,
2770
+ attributes: !0
2771
+ })), window.addEventListener("resize", x);
2772
+ let i = t.value.ownerDocument.fonts;
2773
+ i?.addEventListener("loadingdone", S), i?.status === "loading" && i.ready.then(S);
2740
2774
  }), u(() => {
2741
- c = !1, f !== null && (window.cancelAnimationFrame(f), f = null), o?.disconnect(), s?.disconnect(), p?.remove(), p = void 0, g = [], window.removeEventListener("resize", y), t.value?.ownerDocument.fonts?.removeEventListener("loadingdone", b);
2775
+ f = !1, m !== null && (window.cancelAnimationFrame(m), m = null), s?.disconnect(), c?.disconnect(), l?.disconnect(), h?.remove(), h = void 0, v = [], window.removeEventListener("resize", x), t.value?.ownerDocument.fonts?.removeEventListener("loadingdone", S);
2742
2776
  }), {
2743
- compact: n,
2744
- fullWidth: r,
2745
- statusLabel: i
2777
+ compact: r,
2778
+ fullWidth: i,
2779
+ statusLabel: a,
2780
+ invalidateContent: S
2746
2781
  };
2747
2782
  }
2748
2783
  // src/components/DarkModeToggle.vue?vue&type=script&setup=true&lang.ts
2749
- var _a = [
2784
+ var ba = [
2750
2785
  "aria-label",
2751
2786
  "title",
2752
2787
  "aria-pressed"
2753
- ], va = /*#__PURE__*/ Be(/* @__PURE__ */ n({
2788
+ ], xa = /*#__PURE__*/ Be(/* @__PURE__ */ n({
2754
2789
  __name: "DarkModeToggle",
2755
2790
  props: { darkMode: { type: Boolean } },
2756
2791
  emits: ["change"],
@@ -2777,19 +2812,19 @@ var _a = [
2777
2812
  key: "moon",
2778
2813
  size: 18,
2779
2814
  "stroke-width": 1.5
2780
- })) : (i(), T(S(ut), {
2815
+ })) : (i(), T(S(dt), {
2781
2816
  key: "sun",
2782
2817
  size: 18,
2783
2818
  "stroke-width": 1.5
2784
2819
  }))]),
2785
2820
  _: 1
2786
- })], 12, _a));
2821
+ })], 12, ba));
2787
2822
  }
2788
- }), [["__scopeId", "data-v-632aa74f"]]), ya = [
2823
+ }), [["__scopeId", "data-v-632aa74f"]]), Sa = [
2789
2824
  "aria-label",
2790
2825
  "title",
2791
2826
  "aria-pressed"
2792
- ], ba = /*#__PURE__*/ Be(/* @__PURE__ */ n({
2827
+ ], Ca = /*#__PURE__*/ Be(/* @__PURE__ */ n({
2793
2828
  __name: "PreviewToggle",
2794
2829
  props: { previewMode: { type: Boolean } },
2795
2830
  emits: ["change"],
@@ -2822,9 +2857,9 @@ var _a = [
2822
2857
  "stroke-width": 1.5
2823
2858
  }))]),
2824
2859
  _: 1
2825
- })], 12, ya));
2860
+ })], 12, Sa));
2826
2861
  }
2827
- }), [["__scopeId", "data-v-eef7b2ca"]]), xa = ["aria-label", "onKeydown"], Sa = ["title", "aria-label"], Ca = /* @__PURE__ */ n({
2862
+ }), [["__scopeId", "data-v-eef7b2ca"]]), wa = ["aria-label", "onKeydown"], Ta = ["title", "aria-label"], Ea = /* @__PURE__ */ n({
2828
2863
  __name: "TemplateNameField",
2829
2864
  props: {
2830
2865
  name: {},
@@ -2853,10 +2888,10 @@ var _a = [
2853
2888
  type: "text",
2854
2889
  "data-testid": "template-name-input",
2855
2890
  "aria-label": S(a).header.templateName,
2856
- class: C([S(Xt), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
2891
+ class: C([S(Qt), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
2857
2892
  onKeydown: [x(k(d, ["prevent"]), ["enter"]), x(k(f, ["prevent"]), ["esc"])],
2858
2893
  onBlur: d
2859
- }, null, 42, xa)), [[ee, s.value]]) : e.editable ? (i(), y("button", {
2894
+ }, null, 42, wa)), [[ee, s.value]]) : e.editable ? (i(), y("button", {
2860
2895
  key: 1,
2861
2896
  type: "button",
2862
2897
  "data-testid": "template-name",
@@ -2864,48 +2899,48 @@ var _a = [
2864
2899
  "aria-label": S(a).header.rename,
2865
2900
  class: C(["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)]": !e.name }]),
2866
2901
  onClick: u
2867
- }, j(e.name || S(a).header.untitled), 11, Sa)) : (i(), y("span", {
2902
+ }, j(e.name || S(a).header.untitled), 11, Ta)) : (i(), y("span", {
2868
2903
  key: 2,
2869
2904
  "data-testid": "template-name",
2870
2905
  class: C(["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)]": !e.name }])
2871
2906
  }, j(e.name || S(a).header.untitled), 3));
2872
2907
  }
2873
- }), wa = ["title"], Ta = /* @__PURE__ */ n({
2908
+ }), Da = ["title"], Oa = /* @__PURE__ */ n({
2874
2909
  __name: "TemplateTimestamp",
2875
2910
  props: {
2876
2911
  iso: {},
2877
2912
  kind: {}
2878
2913
  },
2879
2914
  setup(e) {
2880
- let t = e, { t: n, format: r } = $(), a = f(Tt, void 0), o = z(0);
2881
- nr(() => {
2915
+ let t = e, { t: n, format: r } = $(), a = f(zt, void 0), o = z(0);
2916
+ ir(() => {
2882
2917
  o.value += 1;
2883
2918
  }, 6e4);
2884
2919
  let s = P(() => {
2885
- let e = ir(t.iso, n.time, r);
2920
+ let e = or(t.iso, n.time, r);
2886
2921
  if (e === null) return "";
2887
2922
  let i = e === n.time.justNow;
2888
2923
  return t.kind === "updatedAt" ? i ? n.header.updatedJustNow : r(n.header.updatedAt, { time: e }) : i ? n.header.createdJustNow : r(n.header.createdAt, { time: e });
2889
- }), c = P(() => rr(t.iso, a));
2924
+ }), c = P(() => ar(t.iso, a));
2890
2925
  return (e, t) => s.value ? (i(), y("span", {
2891
2926
  key: 0,
2892
2927
  "data-testid": "template-timestamp",
2893
2928
  title: c.value,
2894
2929
  class: "tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:text-xs tpl:leading-tight tpl:text-[var(--tpl-text-dim)]"
2895
- }, j(s.value), 9, wa)) : w("", !0);
2930
+ }, j(s.value), 9, Da)) : w("", !0);
2896
2931
  }
2897
- }), Ea = [
2932
+ }), ka = [
2898
2933
  "aria-live",
2899
2934
  "data-testid",
2900
2935
  "title",
2901
2936
  "data-tooltip"
2902
- ], Da = {
2937
+ ], Aa = {
2903
2938
  key: 2,
2904
2939
  class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]"
2905
- }, Oa = {
2940
+ }, ja = {
2906
2941
  key: 0,
2907
2942
  class: "tpl-status-label"
2908
- }, ka = /* @__PURE__ */ n({
2943
+ }, Ma = /* @__PURE__ */ n({
2909
2944
  __name: "TemplateSaveStatus",
2910
2945
  props: {
2911
2946
  status: {},
@@ -2931,17 +2966,17 @@ var _a = [
2931
2966
  key: 0,
2932
2967
  size: 12,
2933
2968
  "stroke-width": 2.5
2934
- })) : r.value === "saved" ? (i(), T(S($e), {
2969
+ })) : r.value === "saved" ? (i(), T(S(et), {
2935
2970
  key: 1,
2936
2971
  size: 12,
2937
2972
  "stroke-width": 2.5
2938
- })) : r.value === "unsaved" ? (i(), y("span", Da)) : w("", !0)], 2), r.value === "none" ? w("", !0) : (i(), y("span", Oa, j(o.value), 1))], 10, Ea));
2973
+ })) : r.value === "unsaved" ? (i(), y("span", Aa)) : w("", !0)], 2), r.value === "none" ? w("", !0) : (i(), y("span", ja, j(o.value), 1))], 10, ka));
2939
2974
  }
2940
- }), Aa = [
2975
+ }), Na = [
2941
2976
  "aria-pressed",
2942
2977
  "aria-label",
2943
2978
  "title"
2944
- ], ja = { class: "tpl-header-label" }, Ma = /* @__PURE__ */ n({
2979
+ ], Pa = { class: "tpl-header-label" }, Fa = /* @__PURE__ */ n({
2945
2980
  __name: "AiHeaderMenu",
2946
2981
  props: { feature: {} },
2947
2982
  setup(e) {
@@ -2956,7 +2991,7 @@ var _a = [
2956
2991
  "aria-pressed": r.value,
2957
2992
  "aria-label": S(n).ai.menu.chat,
2958
2993
  title: S(n).ai.menu.chat,
2959
- class: C(S(Qt)),
2994
+ class: C(S(en)),
2960
2995
  style: F(r.value ? {
2961
2996
  backgroundColor: "var(--tpl-primary-light)",
2962
2997
  borderColor: "var(--tpl-primary-light)"
@@ -2967,30 +3002,32 @@ var _a = [
2967
3002
  "stroke-width": 2,
2968
3003
  class: "tpl:text-[var(--tpl-primary-hover)]",
2969
3004
  "aria-hidden": "true"
2970
- }), A("span", ja, j(S(n).ai.menu.button), 1)], 14, Aa)) : w("", !0);
3005
+ }), A("span", Pa, j(S(n).ai.menu.button), 1)], 14, Na)) : w("", !0);
2971
3006
  }
2972
- }), Na = [
3007
+ }), Ia = [
2973
3008
  "data-compact",
2974
3009
  "data-full-width",
2975
3010
  "data-status-label"
2976
- ], Pa = { class: "tpl-header-left tpl:flex tpl:min-w-0 tpl:items-center tpl:gap-2.5" }, Fa = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, Ia = { class: "tpl-header-right tpl:flex tpl:min-w-0 tpl:items-center tpl:justify-end tpl:gap-3" }, La = [
3011
+ ], La = { class: "tpl-header-left tpl:flex tpl:min-w-0 tpl:items-center tpl:gap-2.5" }, Ra = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, za = { class: "tpl-header-right tpl:flex tpl:min-w-0 tpl:items-center tpl:justify-end tpl:gap-3" }, Ba = [
2977
3012
  "aria-label",
2978
3013
  "title",
2979
3014
  "aria-expanded"
2980
- ], Ra = { class: "tpl-header-label" }, za = {
3015
+ ], Va = { class: "tpl-header-label" }, Ha = {
2981
3016
  key: 0,
2982
3017
  class: "tpl-header-comment-count tpl:inline-flex tpl:size-4.5 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[10px] tpl:font-semibold tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]"
2983
- }, Ba = [
3018
+ }, Ua = [
2984
3019
  "aria-label",
2985
3020
  "title",
2986
3021
  "disabled"
2987
- ], Va = { class: "tpl-header-label" }, Ha = [
3022
+ ], Wa = { class: "tpl-header-label" }, Ga = [
2988
3023
  "aria-label",
2989
3024
  "disabled",
2990
3025
  "title"
2991
- ], Ua = { class: "tpl-header-label" }, Wa = /* @__PURE__ */ n({
3026
+ ], Ka = { class: "tpl-header-label" }, qa = /* @__PURE__ */ n({
2992
3027
  __name: "EditorHeader",
2993
3028
  props: {
3029
+ header: {},
3030
+ shadowRoot: {},
2994
3031
  editor: {},
2995
3032
  localization: {},
2996
3033
  core: {},
@@ -3003,24 +3040,35 @@ var _a = [
3003
3040
  ai: {}
3004
3041
  },
3005
3042
  setup(e) {
3006
- let t = g(() => import("./chunks/VersionHistoryMenu-BBYU71Ua.js")), n = g(() => import("./chunks/LanguageMenu-GEbUX5Oe.js")), r = g(() => import("./chunks/CollaboratorBar-D5fycyLP.js")), a = L(null), o = L(null), { compact: s, fullWidth: c, statusLabel: l } = ga(a, o);
3007
- return (u, d) => (i(), y("div", {
3043
+ let n = g(() => import("./chunks/VersionHistoryMenu-DDqYMqC2.js")), r = g(() => import("./chunks/LanguageMenu-fL4DRGGQ.js")), a = g(() => import("./chunks/CollaboratorBar-DdQQwtwd.js")), s = L(null), c = L(null), l = L(null), f = e, p = f.header?.actions, m = f.header?.viewportToggle !== !1, _ = f.header?.darkModeToggle !== !1, v = f.header?.previewToggle !== !1, { compact: b, fullWidth: x, statusLabel: E, invalidateContent: D } = ya(s, c, p), O = p?.getAttribute("slot"), k = null;
3044
+ return p && o([b, () => f.core.resolvedTheme.value], ([e, t]) => {
3045
+ p.setAttribute("data-tpl-compact", String(e)), p.setAttribute("data-tpl-theme", t === "dark" ? "dark" : "light");
3046
+ }, {
3047
+ immediate: !0,
3048
+ flush: "sync"
3049
+ }), d(() => {
3050
+ if (!p) return;
3051
+ let e = f.shadowRoot?.host ?? l.value;
3052
+ e && (f.shadowRoot && p.setAttribute("slot", "tpl-header-actions"), e.appendChild(p), k = e, D());
3053
+ }), u(() => {
3054
+ p && p.parentElement === k && (p.remove(), f.shadowRoot && (O == null ? p.removeAttribute("slot") : p.setAttribute("slot", O)), k = null);
3055
+ }), (o, u) => (i(), y("div", {
3008
3056
  ref_key: "containerElement",
3009
- ref: a,
3057
+ ref: s,
3010
3058
  class: "tpl-header-container tpl:absolute tpl:inset-x-0 tpl:top-0 tpl:z-50 tpl:h-14"
3011
3059
  }, [A("header", {
3012
3060
  ref_key: "headerElement",
3013
- ref: o,
3014
- "data-compact": S(s),
3015
- "data-full-width": S(c),
3016
- "data-status-label": S(l),
3061
+ ref: c,
3062
+ "data-compact": S(b),
3063
+ "data-full-width": S(x),
3064
+ "data-status-label": S(E),
3017
3065
  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-[minmax(0,1fr)_auto_minmax(0,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)]"
3018
3066
  }, [
3019
- A("div", Pa, [
3067
+ A("div", La, [
3020
3068
  e.templates?.isAvailable.value && e.templates.hasTemplate.value && (e.showTemplateName || e.templates.timestamp.value) ? (i(), y("div", {
3021
3069
  key: 0,
3022
3070
  class: C(["tpl-header-identity tpl:flex tpl:min-w-0 tpl:flex-col tpl:items-start", { "tpl:pb-1.5": e.showTemplateName && e.templates.timestamp.value !== null }])
3023
- }, [e.showTemplateName ? (i(), T(Ca, {
3071
+ }, [e.showTemplateName ? (i(), T(Ea, {
3024
3072
  key: 0,
3025
3073
  name: e.templates.name.value,
3026
3074
  editable: e.templates.canSave.value,
@@ -3029,54 +3077,57 @@ var _a = [
3029
3077
  "name",
3030
3078
  "editable",
3031
3079
  "onCommit"
3032
- ])) : w("", !0), e.templates.timestamp.value ? (i(), T(Ta, {
3080
+ ])) : w("", !0), e.templates.timestamp.value ? (i(), T(Oa, {
3033
3081
  key: 1,
3034
3082
  class: "tpl-header-timestamp",
3035
3083
  iso: e.templates.timestamp.value.iso,
3036
3084
  kind: e.templates.timestamp.value.kind
3037
3085
  }, null, 8, ["iso", "kind"])) : w("", !0)], 2)) : w("", !0),
3038
- e.localization ? (i(), T(S(n), {
3086
+ e.localization ? (i(), T(S(r), {
3039
3087
  key: 1,
3040
3088
  editor: e.editor,
3041
3089
  locales: e.localization.locales
3042
3090
  }, null, 8, ["editor", "locales"])) : w("", !0),
3043
- e.versionHistory?.isAvailable.value && e.versionHistory.hasTemplate.value ? (i(), T(S(t), {
3091
+ e.versionHistory?.isAvailable.value && e.versionHistory.hasTemplate.value ? (i(), T(S(n), {
3044
3092
  key: 2,
3045
3093
  versions: e.versionHistory.versions.value,
3046
3094
  "is-loading": e.versionHistory.isLoading.value,
3047
3095
  "is-restoring": e.versionHistory.isRestoring.value,
3048
3096
  "previewing-id": e.versionHistory.previewingVersion.value?.id ?? null,
3049
- onOpen: d[0] ||= (t) => e.versionHistory.refresh(),
3050
- onNavigate: d[1] ||= (t) => e.versionHistory.navigate(t)
3097
+ onOpen: u[0] ||= (t) => e.versionHistory.refresh(),
3098
+ onNavigate: u[1] ||= (t) => e.versionHistory.navigate(t)
3051
3099
  }, null, 8, [
3052
3100
  "versions",
3053
3101
  "is-loading",
3054
3102
  "is-restoring",
3055
3103
  "previewing-id"
3056
3104
  ])) : w("", !0),
3057
- e.collaboration?.isLive.value ? (i(), T(S(r), {
3105
+ e.collaboration?.isLive.value ? (i(), T(S(a), {
3058
3106
  key: 3,
3059
3107
  people: e.collaboration.people.value,
3060
3108
  connection: e.collaboration.connection.value
3061
3109
  }, null, 8, ["people", "connection"])) : w("", !0),
3062
- h(u.$slots, "left-extras")
3110
+ h(o.$slots, "left-extras")
3063
3111
  ]),
3064
- A("div", Fa, [
3065
- H(Qn, {
3112
+ A("div", Ra, [
3113
+ m ? (i(), T(er, {
3114
+ key: 0,
3066
3115
  viewport: e.editor.state.viewport,
3067
3116
  onChange: e.editor.setViewport
3068
- }, null, 8, ["viewport", "onChange"]),
3069
- H(va, {
3117
+ }, null, 8, ["viewport", "onChange"])) : w("", !0),
3118
+ _ ? (i(), T(xa, {
3119
+ key: 1,
3070
3120
  "dark-mode": e.editor.state.darkMode,
3071
3121
  onChange: e.editor.setDarkMode
3072
- }, null, 8, ["dark-mode", "onChange"]),
3073
- H(ba, {
3122
+ }, null, 8, ["dark-mode", "onChange"])) : w("", !0),
3123
+ v ? (i(), T(Ca, {
3124
+ key: 2,
3074
3125
  "preview-mode": e.editor.state.previewMode,
3075
3126
  onChange: e.editor.setPreviewMode
3076
- }, null, 8, ["preview-mode", "onChange"])
3127
+ }, null, 8, ["preview-mode", "onChange"])) : w("", !0)
3077
3128
  ]),
3078
- A("div", Ia, [
3079
- e.templates?.isAvailable.value && e.templates.canSave.value ? (i(), T(ka, {
3129
+ A("div", za, [
3130
+ e.templates?.isAvailable.value && e.templates.canSave.value ? (i(), T(Ma, {
3080
3131
  key: 0,
3081
3132
  class: "tpl-header-save-status",
3082
3133
  status: e.templates.status.value,
@@ -3094,55 +3145,64 @@ var _a = [
3094
3145
  "aria-label": e.comments.unresolvedCount.value > 0 ? `${e.core.t.comments.button} (${e.comments.unresolvedCount.value})` : e.core.t.comments.button,
3095
3146
  title: e.core.t.comments.button,
3096
3147
  "aria-expanded": e.comments.isOpen.value,
3097
- class: C(S(Qt)),
3148
+ class: C(S(en)),
3098
3149
  style: F(e.comments.isOpen.value ? {
3099
3150
  backgroundColor: "var(--tpl-primary-light)",
3100
3151
  borderColor: "var(--tpl-primary-light)"
3101
3152
  } : void 0),
3102
- onClick: d[2] ||= (t) => e.comments.toggle()
3153
+ onClick: u[2] ||= (t) => e.comments.toggle()
3103
3154
  }, [
3104
- H(S(ot), {
3155
+ H(S(st), {
3105
3156
  size: 16,
3106
3157
  "stroke-width": 2
3107
3158
  }),
3108
- A("span", Ra, j(e.core.t.comments.button), 1),
3109
- e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (i(), y("span", za, j(e.comments.unresolvedCount.value), 1)) : w("", !0)
3110
- ], 14, La)) : w("", !0),
3111
- e.ai ? (i(), T(Ma, {
3159
+ A("span", Va, j(e.core.t.comments.button), 1),
3160
+ e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (i(), y("span", Ha, j(e.comments.unresolvedCount.value), 1)) : w("", !0)
3161
+ ], 14, Ba)) : w("", !0),
3162
+ e.ai ? (i(), T(Fa, {
3112
3163
  key: 2,
3113
3164
  feature: e.ai
3114
3165
  }, null, 8, ["feature"])) : w("", !0),
3115
- h(u.$slots, "right-extras"),
3116
- e.testEmail?.isAvailable.value ? (i(), y("button", {
3166
+ h(o.$slots, "right-extras"),
3167
+ e.shadowRoot ? (i(), T(t("slot"), {
3117
3168
  key: 3,
3169
+ name: "tpl-header-actions"
3170
+ })) : (i(), y("span", {
3171
+ key: 4,
3172
+ ref_key: "actionsTarget",
3173
+ ref: l,
3174
+ class: "tpl-header-actions"
3175
+ }, null, 512)),
3176
+ e.testEmail?.isAvailable.value ? (i(), y("button", {
3177
+ key: 5,
3118
3178
  type: "button",
3119
3179
  "data-testid": "test-email-trigger",
3120
3180
  "aria-label": e.core.t.testEmail.title,
3121
3181
  title: e.core.t.testEmail.title,
3122
3182
  disabled: e.testEmail.isSending.value,
3123
- class: C(S(Qt)),
3124
- onClick: d[3] ||= (t) => e.testEmail.open()
3125
- }, [e.testEmail.isSending.value ? (i(), T(S(tt), {
3183
+ class: C(S(en)),
3184
+ onClick: u[3] ||= (t) => e.testEmail.open()
3185
+ }, [e.testEmail.isSending.value ? (i(), T(S(nt), {
3126
3186
  key: 1,
3127
3187
  class: "tpl-spinner",
3128
3188
  size: 16,
3129
3189
  "stroke-width": 2
3130
- })) : (i(), T(S(it), {
3190
+ })) : (i(), T(S(at), {
3131
3191
  key: 0,
3132
3192
  size: 16,
3133
3193
  "stroke-width": 2
3134
- })), A("span", Va, j(e.core.t.testEmail.button), 1)], 10, Ba)) : w("", !0),
3194
+ })), A("span", Wa, j(e.core.t.testEmail.button), 1)], 10, Ua)) : w("", !0),
3135
3195
  e.templates?.isAvailable.value && e.templates.canSave.value ? (i(), y("button", {
3136
- key: 4,
3196
+ key: 6,
3137
3197
  type: "button",
3138
3198
  "data-testid": "template-save",
3139
- class: C(S(e.editor.state.isDirty && e.templates.hasTemplate.value ? $t : Qt)),
3199
+ class: C(S(e.editor.state.isDirty && e.templates.hasTemplate.value ? tn : en)),
3140
3200
  style: F(e.editor.state.isDirty && e.templates.hasTemplate.value ? { boxShadow: "var(--tpl-shadow-sm)" } : void 0),
3141
3201
  "aria-label": e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save,
3142
3202
  disabled: e.templates.isSaving.value || !e.templates.hasTemplate.value,
3143
3203
  title: e.templates.hasTemplate.value ? e.core.t.header.save : e.core.t.header.saveNoTemplate,
3144
- onClick: d[4] ||= (t) => e.templates.requestSave()
3145
- }, [e.templates.isSaving.value ? (i(), T(S(tt), {
3204
+ onClick: u[4] ||= (t) => e.templates.requestSave()
3205
+ }, [e.templates.isSaving.value ? (i(), T(S(nt), {
3146
3206
  key: 1,
3147
3207
  class: "tpl-spinner",
3148
3208
  size: 16,
@@ -3151,33 +3211,33 @@ var _a = [
3151
3211
  key: 0,
3152
3212
  size: 16,
3153
3213
  "stroke-width": 2
3154
- })), A("span", Ua, j(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14, Ha)) : w("", !0)
3214
+ })), A("span", Ka, j(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14, Ga)) : w("", !0)
3155
3215
  ])
3156
- ], 8, Na)], 512));
3216
+ ], 8, Ia)], 512));
3157
3217
  }
3158
- }), Ga = ["aria-labelledby", "data-tpl-theme"], Ka = { 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" }, qa = ["id"], Ja = ["aria-label"], Ya = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Xa = [
3218
+ }), Ja = ["aria-labelledby", "data-tpl-theme"], Ya = { 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" }, Xa = ["id"], Za = ["aria-label"], Qa = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, $a = [
3159
3219
  "id",
3160
3220
  "placeholder",
3161
3221
  "aria-label",
3162
3222
  "aria-activedescendant"
3163
- ], Za = {
3223
+ ], eo = {
3164
3224
  key: 0,
3165
3225
  class: "tpl:flex tpl:gap-1.5 tpl:overflow-x-auto tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2",
3166
3226
  "data-testid": "merge-tag-picker-group-pills"
3167
- }, Qa = ["data-group-name", "onClick"], $a = ["aria-label"], eo = {
3227
+ }, to = ["data-group-name", "onClick"], no = ["aria-label"], ro = {
3168
3228
  key: 0,
3169
3229
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3170
3230
  "data-testid": "merge-tag-picker-empty"
3171
- }, to = {
3231
+ }, io = {
3172
3232
  key: 1,
3173
3233
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3174
3234
  "data-testid": "merge-tag-picker-empty"
3175
- }, no = [
3235
+ }, ao = [
3176
3236
  "aria-expanded",
3177
3237
  "data-group-name",
3178
3238
  "data-group-collapsed",
3179
3239
  "onClick"
3180
- ], ro = { class: "tpl:ml-1 tpl:font-normal" }, io = [
3240
+ ], oo = { class: "tpl:ml-1 tpl:font-normal" }, so = [
3181
3241
  "id",
3182
3242
  "aria-selected",
3183
3243
  "data-selected",
@@ -3187,21 +3247,21 @@ var _a = [
3187
3247
  "title",
3188
3248
  "onMousemove",
3189
3249
  "onClick"
3190
- ], ao = { class: "tpl:text-sm tpl:font-medium" }, oo = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, so = {
3250
+ ], co = { class: "tpl:text-sm tpl:font-medium" }, lo = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, uo = {
3191
3251
  key: 0,
3192
3252
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3193
- }, co = {
3253
+ }, fo = {
3194
3254
  key: 1,
3195
3255
  "data-testid": "merge-tag-picker-sample",
3196
3256
  class: "tpl:line-clamp-1 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3197
- }, lo = "tpl-merge-tag-picker-list", uo = /* @__PURE__ */ n({
3257
+ }, po = "tpl-merge-tag-picker-list", mo = /* @__PURE__ */ n({
3198
3258
  __name: "MergeTagPickerModal",
3199
3259
  setup(e) {
3200
- let t = Ot(gt, "MergeTagPickerModal"), { t: n, format: r } = $(), s = f(Rt, null), u = f(zt, null), d = f(Wt, !0), p = P(() => t.current.value !== null), m = P(() => p.value ? n.mergeTag.picker.changeTitle : n.mergeTag.picker.title);
3260
+ let t = Ft(gt, "MergeTagPickerModal"), { t: n, format: r } = $(), s = f(Bt, null), u = f(Vt, null), d = f(Gt, !0), p = P(() => t.current.value !== null), m = P(() => p.value ? n.mergeTag.picker.changeTitle : n.mergeTag.picker.title);
3201
3261
  function h(e) {
3202
3262
  return d ? e.description ? `${e.value} — ${e.description}` : e.value : e.description || void 0;
3203
3263
  }
3204
- let g = z(""), _ = tr(g, 200), v = z(null), b = P(() => _.value.trim().length > 0), E = z(0), O = P(() => t.tags.value.some((e) => !!e.group)), M = z(/* @__PURE__ */ new Set());
3264
+ let g = z(""), _ = rr(g, 200), v = z(null), b = P(() => _.value.trim().length > 0), E = z(0), O = P(() => t.tags.value.some((e) => !!e.group)), M = z(/* @__PURE__ */ new Set());
3205
3265
  function N(e) {
3206
3266
  return M.value.has(e);
3207
3267
  }
@@ -3321,13 +3381,13 @@ var _a = [
3321
3381
  }
3322
3382
  }
3323
3383
  function Y() {
3324
- if (V.value.length !== 0) return `${lo}-opt-${E.value}`;
3384
+ if (V.value.length !== 0) return `${po}-opt-${E.value}`;
3325
3385
  }
3326
3386
  function ce(e) {
3327
- return `${lo}-opt-${e}`;
3387
+ return `${po}-opt-${e}`;
3328
3388
  }
3329
3389
  let le = P(() => t.tags.value.length === 0), ue = P(() => !le.value && L.value.length === 0), de = P(() => O.value && te.value.length > 1 && !b.value);
3330
- return (e, o) => (i(), T(en, {
3390
+ return (e, o) => (i(), T(nn, {
3331
3391
  visible: S(t).isOpen.value,
3332
3392
  onClose: K,
3333
3393
  onKeydown: se
@@ -3335,31 +3395,31 @@ var _a = [
3335
3395
  default: a(() => [A("div", {
3336
3396
  role: "dialog",
3337
3397
  "aria-modal": "true",
3338
- "aria-labelledby": `${lo}-title`,
3398
+ "aria-labelledby": `${po}-title`,
3339
3399
  "data-tpl-theme": S(u),
3340
3400
  "data-testid": "merge-tag-picker-modal",
3341
3401
  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)]",
3342
3402
  style: F(S(s))
3343
3403
  }, [
3344
- A("header", Ka, [A("h2", {
3345
- id: `${lo}-title`,
3404
+ A("header", Ya, [A("h2", {
3405
+ id: `${po}-title`,
3346
3406
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3347
- }, j(m.value), 9, qa), A("button", {
3407
+ }, j(m.value), 9, Xa), A("button", {
3348
3408
  type: "button",
3349
3409
  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)]",
3350
3410
  "aria-label": S(n).mergeTag.picker.close,
3351
3411
  "data-testid": "merge-tag-picker-close",
3352
3412
  onClick: K
3353
- }, [H(S(ct), {
3413
+ }, [H(S(lt), {
3354
3414
  size: 16,
3355
3415
  "stroke-width": 2
3356
- })], 8, Ja)]),
3357
- A("div", Ya, [H(S(Ye), {
3416
+ })], 8, Za)]),
3417
+ A("div", Qa, [H(S(Ye), {
3358
3418
  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)]",
3359
3419
  size: 14,
3360
3420
  "stroke-width": 2
3361
3421
  }), c(A("input", {
3362
- id: `${lo}-search`,
3422
+ id: `${po}-search`,
3363
3423
  ref_key: "searchInputRef",
3364
3424
  ref: v,
3365
3425
  "onUpdate:modelValue": o[0] ||= (e) => g.value = e,
@@ -3367,34 +3427,34 @@ var _a = [
3367
3427
  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)]",
3368
3428
  placeholder: S(n).mergeTag.picker.searchPlaceholder,
3369
3429
  "aria-label": S(n).mergeTag.picker.searchAriaLabel,
3370
- "aria-controls": lo,
3430
+ "aria-controls": po,
3371
3431
  "aria-activedescendant": Y(),
3372
3432
  "data-testid": "merge-tag-picker-search",
3373
3433
  onKeydown: o[1] ||= x(k(() => {}, ["prevent"]), ["enter"])
3374
- }, null, 40, Xa), [[ee, g.value]])]),
3375
- de.value ? (i(), y("div", Za, [(i(!0), y(B, null, l(te.value, (e) => (i(), y("button", {
3434
+ }, null, 40, $a), [[ee, g.value]])]),
3435
+ de.value ? (i(), y("div", eo, [(i(!0), y(B, null, l(te.value, (e) => (i(), y("button", {
3376
3436
  key: e,
3377
3437
  type: "button",
3378
3438
  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)]",
3379
3439
  "data-testid": "merge-tag-picker-group-pill",
3380
3440
  "data-group-name": e,
3381
3441
  onClick: (t) => oe(e)
3382
- }, j(e), 9, Qa))), 128))])) : w("", !0),
3442
+ }, j(e), 9, to))), 128))])) : w("", !0),
3383
3443
  A("div", {
3384
- id: lo,
3444
+ id: po,
3385
3445
  ref_key: "listRef",
3386
3446
  ref: J,
3387
3447
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3388
3448
  role: "listbox",
3389
3449
  "aria-label": m.value,
3390
3450
  "data-testid": "merge-tag-picker-list"
3391
- }, [le.value ? (i(), y("div", eo, j(S(n).mergeTag.picker.empty), 1)) : ue.value ? (i(), y("div", to, j(S(n).mergeTag.picker.noResults), 1)) : (i(!0), y(B, { key: 2 }, l(R.value, (e, a) => (i(), y(B, { key: a }, [e.kind === "header" ? (i(), y("button", {
3451
+ }, [le.value ? (i(), y("div", ro, j(S(n).mergeTag.picker.empty), 1)) : ue.value ? (i(), y("div", io, j(S(n).mergeTag.picker.noResults), 1)) : (i(!0), y(B, { key: 2 }, l(R.value, (e, a) => (i(), y(B, { key: a }, [e.kind === "header" ? (i(), y("button", {
3392
3452
  key: 0,
3393
3453
  ref_for: !0,
3394
3454
  ref: (t) => ie(e.group, t),
3395
3455
  type: "button",
3396
3456
  "aria-expanded": !N(e.group),
3397
- "aria-controls": lo,
3457
+ "aria-controls": po,
3398
3458
  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)]",
3399
3459
  "data-testid": "merge-tag-picker-group-header",
3400
3460
  "data-group-name": e.group,
@@ -3407,8 +3467,8 @@ var _a = [
3407
3467
  class: C(["tpl:transition-transform", N(e.group) ? "tpl:-rotate-90" : ""])
3408
3468
  }, null, 8, ["class"]),
3409
3469
  A("span", null, j(e.group), 1),
3410
- A("span", ro, " (" + j(S(r)(S(n).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3411
- ], 8, no)) : (i(), y("button", {
3470
+ A("span", oo, " (" + j(S(r)(S(n).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3471
+ ], 8, ao)) : (i(), y("button", {
3412
3472
  key: 1,
3413
3473
  id: ce(e.index),
3414
3474
  type: "button",
@@ -3424,16 +3484,16 @@ var _a = [
3424
3484
  onMousemove: (t) => W(e.index),
3425
3485
  onClick: (t) => G(e.tag)
3426
3486
  }, [
3427
- A("span", ao, j(e.tag.label), 1),
3428
- A("span", oo, j(e.tag.value), 1),
3429
- e.tag.description ? (i(), y("span", so, j(e.tag.description), 1)) : w("", !0),
3430
- e.tag.sample === void 0 ? w("", !0) : (i(), y("span", co, j(S(r)(S(n).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
3431
- ], 42, io))], 64))), 128))], 8, $a)
3432
- ], 12, Ga)]),
3487
+ A("span", co, j(e.tag.label), 1),
3488
+ A("span", lo, j(e.tag.value), 1),
3489
+ e.tag.description ? (i(), y("span", uo, j(e.tag.description), 1)) : w("", !0),
3490
+ e.tag.sample === void 0 ? w("", !0) : (i(), y("span", fo, j(S(r)(S(n).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
3491
+ ], 42, so))], 64))), 128))], 8, no)
3492
+ ], 12, Ja)]),
3433
3493
  _: 1
3434
3494
  }, 8, ["visible"]));
3435
3495
  }
3436
- }), fo = ["data-logic-keyword"], po = /* @__PURE__ */ n({
3496
+ }), ho = ["data-logic-keyword"], go = /* @__PURE__ */ n({
3437
3497
  __name: "LogicTagBadge",
3438
3498
  props: {
3439
3499
  value: {},
@@ -3450,22 +3510,22 @@ var _a = [
3450
3510
  },
3451
3511
  "data-testid": "merge-tag-logic-badge",
3452
3512
  "data-logic-keyword": r.value
3453
- }, j(r.value), 9, fo)) : w("", !0);
3513
+ }, j(r.value), 9, ho)) : w("", !0);
3454
3514
  }
3455
- }), mo = ["aria-labelledby", "data-tpl-theme"], ho = { 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" }, go = ["id"], _o = ["aria-label"], vo = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, yo = [
3515
+ }), _o = ["aria-labelledby", "data-tpl-theme"], vo = { 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" }, yo = ["id"], bo = ["aria-label"], xo = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, So = [
3456
3516
  "id",
3457
3517
  "placeholder",
3458
3518
  "aria-label",
3459
3519
  "aria-activedescendant"
3460
- ], bo = ["aria-label"], xo = {
3520
+ ], Co = ["aria-label"], wo = {
3461
3521
  key: 0,
3462
3522
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3463
3523
  "data-testid": "logic-picker-empty"
3464
- }, So = {
3524
+ }, To = {
3465
3525
  key: 1,
3466
3526
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3467
3527
  "data-testid": "logic-picker-empty"
3468
- }, Co = ["data-group-name"], wo = [
3528
+ }, Eo = ["data-group-name"], Do = [
3469
3529
  "id",
3470
3530
  "aria-selected",
3471
3531
  "data-selected",
@@ -3473,19 +3533,19 @@ var _a = [
3473
3533
  "data-logic-kind",
3474
3534
  "onMousemove",
3475
3535
  "onClick"
3476
- ], To = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Eo = { class: "tpl:text-sm tpl:font-medium" }, Do = {
3536
+ ], Oo = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, ko = { class: "tpl:text-sm tpl:font-medium" }, Ao = {
3477
3537
  key: 0,
3478
3538
  class: "tpl:flex tpl:items-center"
3479
- }, Oo = {
3539
+ }, jo = {
3480
3540
  key: 1,
3481
3541
  class: "tpl:flex tpl:items-center tpl:gap-1"
3482
- }, ko = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Ao = {
3542
+ }, Mo = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, No = {
3483
3543
  key: 0,
3484
3544
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3485
- }, jo = "tpl-logic-picker-list", Mo = /* @__PURE__ */ n({
3545
+ }, Po = "tpl-logic-picker-list", Fo = /* @__PURE__ */ n({
3486
3546
  __name: "LogicTagPickerModal",
3487
3547
  setup(e) {
3488
- let t = Ot(yt, "LogicTagPickerModal"), { t: n } = $(), r = f(mt, pe.liquid), s = f(Rt, null), u = f(zt, null), d = z(""), p = tr(d, 200), m = z(null), h = P(() => p.value.trim().length > 0), g = z(0);
3548
+ let t = Ft(yt, "LogicTagPickerModal"), { t: n } = $(), r = f(mt, pe.liquid), s = f(Bt, null), u = f(Vt, null), d = z(""), p = rr(d, 200), m = z(null), h = P(() => p.value.trim().length > 0), g = z(0);
3489
3549
  function _(e) {
3490
3550
  let t = p.value.trim().toLowerCase();
3491
3551
  return !t || e.filter(Boolean).join(" ").toLowerCase().includes(t);
@@ -3568,12 +3628,12 @@ var _a = [
3568
3628
  }
3569
3629
  }
3570
3630
  function G(e) {
3571
- return `${jo}-opt-${e}`;
3631
+ return `${Po}-opt-${e}`;
3572
3632
  }
3573
3633
  function K() {
3574
- return I.value.length === 0 ? void 0 : `${jo}-opt-${g.value}`;
3634
+ return I.value.length === 0 ? void 0 : `${Po}-opt-${g.value}`;
3575
3635
  }
3576
- return (e, o) => (i(), T(en, {
3636
+ return (e, o) => (i(), T(nn, {
3577
3637
  visible: S(t).isOpen.value,
3578
3638
  onClose: U,
3579
3639
  onKeydown: W
@@ -3581,31 +3641,31 @@ var _a = [
3581
3641
  default: a(() => [A("div", {
3582
3642
  role: "dialog",
3583
3643
  "aria-modal": "true",
3584
- "aria-labelledby": `${jo}-title`,
3644
+ "aria-labelledby": `${Po}-title`,
3585
3645
  "data-tpl-theme": S(u),
3586
3646
  "data-testid": "logic-picker-modal",
3587
3647
  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)]",
3588
3648
  style: F(S(s))
3589
3649
  }, [
3590
- A("header", ho, [A("h2", {
3591
- id: `${jo}-title`,
3650
+ A("header", vo, [A("h2", {
3651
+ id: `${Po}-title`,
3592
3652
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3593
- }, j(S(n).logicTag.picker.title), 9, go), A("button", {
3653
+ }, j(S(n).logicTag.picker.title), 9, yo), A("button", {
3594
3654
  type: "button",
3595
3655
  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)]",
3596
3656
  "aria-label": S(n).logicTag.picker.close,
3597
3657
  "data-testid": "logic-picker-close",
3598
3658
  onClick: U
3599
- }, [H(S(ct), {
3659
+ }, [H(S(lt), {
3600
3660
  size: 16,
3601
3661
  "stroke-width": 2
3602
- })], 8, _o)]),
3603
- A("div", vo, [H(S(Ye), {
3662
+ })], 8, bo)]),
3663
+ A("div", xo, [H(S(Ye), {
3604
3664
  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)]",
3605
3665
  size: 14,
3606
3666
  "stroke-width": 2
3607
3667
  }), c(A("input", {
3608
- id: `${jo}-search`,
3668
+ id: `${Po}-search`,
3609
3669
  ref_key: "searchInputRef",
3610
3670
  ref: m,
3611
3671
  "onUpdate:modelValue": o[0] ||= (e) => d.value = e,
@@ -3613,25 +3673,25 @@ var _a = [
3613
3673
  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)]",
3614
3674
  placeholder: S(n).logicTag.picker.searchPlaceholder,
3615
3675
  "aria-label": S(n).logicTag.picker.searchAriaLabel,
3616
- "aria-controls": jo,
3676
+ "aria-controls": Po,
3617
3677
  "aria-activedescendant": K(),
3618
3678
  "data-testid": "logic-picker-search",
3619
3679
  onKeydown: o[1] ||= x(k(() => {}, ["prevent"]), ["enter"])
3620
- }, null, 40, yo), [[ee, d.value]])]),
3680
+ }, null, 40, So), [[ee, d.value]])]),
3621
3681
  A("div", {
3622
- id: jo,
3682
+ id: Po,
3623
3683
  ref_key: "listRef",
3624
3684
  ref: R,
3625
3685
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3626
3686
  role: "listbox",
3627
3687
  "aria-label": S(n).logicTag.picker.title,
3628
3688
  "data-testid": "logic-picker-list"
3629
- }, [L.value ? (i(), y("div", xo, j(S(n).logicTag.picker.empty), 1)) : te.value ? (i(), y("div", So, j(S(n).logicTag.picker.noResults), 1)) : (i(!0), y(B, { key: 2 }, l(N.value.rows, (e, t) => (i(), y(B, { key: t }, [e.kind === "header" ? (i(), y("div", {
3689
+ }, [L.value ? (i(), y("div", wo, j(S(n).logicTag.picker.empty), 1)) : te.value ? (i(), y("div", To, j(S(n).logicTag.picker.noResults), 1)) : (i(!0), y(B, { key: 2 }, l(N.value.rows, (e, t) => (i(), y(B, { key: t }, [e.kind === "header" ? (i(), y("div", {
3630
3690
  key: 0,
3631
3691
  class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
3632
3692
  "data-testid": "logic-picker-header",
3633
3693
  "data-group-name": e.label
3634
- }, j(e.label), 9, Co)) : (i(), y("button", {
3694
+ }, j(e.label), 9, Eo)) : (i(), y("button", {
3635
3695
  key: 1,
3636
3696
  id: G(e.index),
3637
3697
  type: "button",
@@ -3645,32 +3705,35 @@ var _a = [
3645
3705
  onMousemove: (t) => g.value = e.index,
3646
3706
  onClick: (t) => V(e.kind === "tag" ? e.tag : e.pair)
3647
3707
  }, [
3648
- A("span", To, [A("span", Eo, j(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (i(), y("span", Do, [H(po, {
3708
+ A("span", Oo, [A("span", ko, j(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (i(), y("span", Ao, [H(go, {
3649
3709
  value: e.tag.value,
3650
3710
  syntax: S(r)
3651
- }, null, 8, ["value", "syntax"])])) : (i(), y("span", Oo, [
3652
- H(po, {
3711
+ }, null, 8, ["value", "syntax"])])) : (i(), y("span", jo, [
3712
+ H(go, {
3653
3713
  value: e.pair.before,
3654
3714
  syntax: S(r)
3655
3715
  }, null, 8, ["value", "syntax"]),
3656
3716
  o[2] ||= A("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
3657
- H(po, {
3717
+ H(go, {
3658
3718
  value: e.pair.after,
3659
3719
  syntax: S(r)
3660
3720
  }, null, 8, ["value", "syntax"])
3661
3721
  ]))]),
3662
- A("span", ko, j(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
3663
- (e.kind === "tag" ? e.tag.description : e.pair.description) ? (i(), y("span", Ao, j(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : w("", !0)
3664
- ], 42, wo))], 64))), 128))], 8, bo)
3665
- ], 12, mo)]),
3722
+ A("span", Mo, j(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
3723
+ (e.kind === "tag" ? e.tag.description : e.pair.description) ? (i(), y("span", No, j(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : w("", !0)
3724
+ ], 42, Do))], 64))), 128))], 8, Co)
3725
+ ], 12, _o)]),
3666
3726
  _: 1
3667
3727
  }, 8, ["visible"]));
3668
3728
  }
3669
- }), No = ["data-tpl-theme"], Po = { class: "tpl:absolute tpl:inset-0 tpl:overflow-hidden" }, Fo = { class: "tpl-preview-overlay tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, Io = { class: "tpl:absolute tpl:left-1/2 tpl:top-2 tpl:flex tpl:-translate-x-1/2 tpl:flex-col tpl:items-center tpl:gap-2" }, Lo = {
3729
+ }), Io = ["data-tpl-theme"], Lo = { class: "tpl:absolute tpl:inset-0 tpl:overflow-hidden" }, Ro = { class: "tpl-preview-overlay tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, zo = { class: "tpl:absolute tpl:left-1/2 tpl:top-2 tpl:flex tpl:-translate-x-1/2 tpl:flex-col tpl:items-center tpl:gap-2" }, Bo = {
3670
3730
  key: 0,
3671
3731
  "data-testid": "merge-tag-mode-toggle-anchor",
3672
3732
  class: "tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-[var(--tpl-shadow-md)]"
3673
- }, Ro = { class: "tpl-main tpl-canvas-pane tpl:flex tpl:py-8" }, zo = ["aria-label"], Bo = /*#__PURE__*/ Be(/* @__PURE__ */ n({
3733
+ }, Vo = {
3734
+ key: 0,
3735
+ class: "tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-[var(--tpl-shadow-md)]"
3736
+ }, Ho = ["title", "aria-busy"], Uo = { class: "tpl-main tpl-canvas-pane tpl:flex tpl:py-8" }, Wo = ["aria-label"], Go = /*#__PURE__*/ Be(/* @__PURE__ */ n({
3674
3737
  __name: "Editor",
3675
3738
  props: {
3676
3739
  config: {},
@@ -3685,7 +3748,7 @@ var _a = [
3685
3748
  },
3686
3749
  setup(e, { expose: t }) {
3687
3750
  let n = e;
3688
- s(pt, {
3751
+ s(At, {
3689
3752
  renderHtml: () => n.renderHtml?.() ?? Promise.reject(/* @__PURE__ */ Error("HTML rendering is unavailable")),
3690
3753
  canRenderHtml: () => n.canRenderHtml?.() ?? !1,
3691
3754
  cloud: !!n.cloud,
@@ -3698,16 +3761,16 @@ var _a = [
3698
3761
  get syntax() {
3699
3762
  return X.mergeTagSyntax;
3700
3763
  }
3701
- }, l = n.config.templates ? Rn(n.config.templates, r) : void 0;
3702
- n.config.collaboration && !l && Jn.warn("config.collaboration needs config.templates: collaboration runs on a loaded template, and only a templates provider loads one. Collaboration is off.");
3703
- let u = n.config.collaboration && l ? Hr({
3764
+ }, l = n.config.templates ? Bn(n.config.templates, r) : void 0;
3765
+ n.config.collaboration && !l && Xn.warn("config.collaboration needs config.templates: collaboration runs on a loaded template, and only a templates provider loads one. Collaboration is off.");
3766
+ let u = n.config.collaboration && l ? Wr({
3704
3767
  provider: n.config.collaboration,
3705
3768
  loadTemplate: (e) => l.load(e),
3706
3769
  user: n.config.user,
3707
3770
  mergeTags: r,
3708
3771
  onRemoteChange: n.config.onRemoteChange,
3709
3772
  onError: n.config.onError
3710
- }) : null, f = l && u ? yi(l, u.core, () => {
3773
+ }) : null, f = l && u ? xi(l, u.core, () => {
3711
3774
  let e = h.state.template;
3712
3775
  return e ? {
3713
3776
  ...E(e),
@@ -3723,39 +3786,39 @@ var _a = [
3723
3786
  },
3724
3787
  content: n.config.content,
3725
3788
  defaultFontFamily: n.config.fonts?.defaultFont,
3726
- templateDefaults: sr(n.config),
3789
+ templateDefaults: lr(n.config),
3727
3790
  templates: f,
3728
3791
  onError: n.config.onError,
3729
3792
  lockedBlocks: u?.locks,
3730
3793
  lockLocale: u?.core.lockLocale,
3731
3794
  lockSessionId: u?.core.sessionId
3732
- }), _ = dt(h);
3733
- s(Pt, _.content), h.setCustomBlockDefinitions(n.config.customBlocks ?? []), u && o(h.activeLocale, (e) => u.core.setLockLocale(e), { flush: "sync" }), u?.attach(h);
3734
- let v = n.cloud ? n.cloud.attach({ editor: h }) : null, x = f ? li({
3795
+ }), _ = ft(h);
3796
+ s(Nt, _.content), h.setCustomBlockDefinitions(n.config.customBlocks ?? []), u && o(h.activeLocale, (e) => u.core.setLockLocale(e), { flush: "sync" }), u?.attach(h);
3797
+ let v = n.cloud ? n.cloud.attach({ editor: h }) : null, x = f ? di({
3735
3798
  provider: f,
3736
3799
  editor: h,
3737
3800
  guardUnsavedChanges: n.config.templates?.unsavedChangesGuard,
3738
3801
  getSaveGate: n.cloud ? () => n.cloud.getSaveGate() : void 0
3739
3802
  }) : null;
3740
3803
  n.config.onDirtyChange && o(() => h.state.isDirty, (e) => n.config.onDirtyChange(e));
3741
- let D = z(null), O = n.config.savedBlocks ? si({
3804
+ let D = z(null), O = n.config.savedBlocks ? li({
3742
3805
  provider: n.config.savedBlocks,
3743
3806
  editor: h,
3744
3807
  onError: n.config.onError,
3745
3808
  isAvailable: n.cloud ? () => n.cloud.isSavedBlocksAvailable() : void 0
3746
- }) : null, N = g(() => import("./chunks/SavedBlocksPanels-0Z0dELDm.js")), ee = n.config.media || n.config.onRequestMedia ? ai({
3809
+ }) : null, N = g(() => import("./chunks/SavedBlocksPanels-BcVFZDKI.js")), ee = n.config.media || n.config.onRequestMedia ? si({
3747
3810
  provider: n.config.media,
3748
3811
  onRequestMedia: n.config.onRequestMedia,
3749
3812
  getTemplateId: () => h.state.template?.id,
3750
3813
  onError: n.config.onError
3751
- }) : null, I = g(() => import("./chunks/MediaPanels-Cb5vsgb-.js")), L = n.config.testEmail ? mi({
3814
+ }) : null, I = g(() => import("./chunks/MediaPanels-Cb5vsgb-.js")), L = n.config.testEmail ? gi({
3752
3815
  provider: n.config.testEmail,
3753
3816
  getContent: () => h.content.value,
3754
3817
  renderMjml: n.renderMjml,
3755
3818
  usesLocalRenderer: n.usesLocalRenderer,
3756
3819
  onError: n.config.onError,
3757
3820
  isAvailable: n.cloud ? () => n.cloud.isTestEmailAvailable() : void 0
3758
- }) : null, R = g(() => import("./chunks/TestEmailPanel-C2dxmmoW.js")), B = n.config.comments ? Ur({
3821
+ }) : null, R = g(() => import("./chunks/TestEmailPanel-DUWH9xsZ.js")), B = n.config.comments ? Gr({
3759
3822
  provider: n.config.comments,
3760
3823
  editor: h,
3761
3824
  user: n.config.user,
@@ -3763,7 +3826,7 @@ var _a = [
3763
3826
  onError: n.config.onError,
3764
3827
  isAvailable: n.cloud ? () => n.cloud.isCommentsAvailable() : void 0,
3765
3828
  isBlockSaved: n.cloud ? (e) => n.cloud.isBlockSaved(e) : void 0
3766
- }) : null, U = g(() => import("./chunks/CommentsPanel-BPoa1lBK.js")), ne = g(() => import("./chunks/AiPanels-DVs4r8sY.js")), W = n.config.ai ? Qr({
3829
+ }) : null, U = g(() => import("./chunks/CommentsPanel-C8AKtxiG.js")), ne = g(() => import("./chunks/AiPanels-ChTLCmMS.js")), W = n.config.ai ? ei({
3767
3830
  provider: n.config.ai,
3768
3831
  editor: h,
3769
3832
  localization: n.config.localization ?? { locales: [] },
@@ -3774,16 +3837,16 @@ var _a = [
3774
3837
  collaboration: u,
3775
3838
  history: () => X.history,
3776
3839
  reload: x ? (e, t) => x.load(e, t) : null,
3777
- altMaxLength: () => Un(sn(n.config)),
3778
- mergeTags: () => ni(X.mergeTags.value, X.mergeTagSyntax),
3779
- normalize: (e, t) => In(e, t, r),
3840
+ altMaxLength: () => Gn(ln(n.config)),
3841
+ mergeTags: () => ii(X.mergeTags.value, X.mergeTagSyntax),
3842
+ normalize: (e, t) => Rn(e, t, r),
3780
3843
  commentsOpen: B?.isOpen ?? null,
3781
3844
  onError: n.config.onError
3782
3845
  }) : null;
3783
3846
  W && s(Lt, W);
3784
- let G = ft(h, n.config.customBlocks ?? []);
3785
- s(Vt, G);
3786
- let K = n.config.translation ? Lr({
3847
+ let G = pt(h, n.config.customBlocks ?? []);
3848
+ s(Ht, G);
3849
+ let K = n.config.translation ? zr({
3787
3850
  provider: n.config.translation,
3788
3851
  editor: h,
3789
3852
  localization: n.config.localization,
@@ -3793,14 +3856,14 @@ var _a = [
3793
3856
  syntax: () => X.mergeTagSyntax,
3794
3857
  coverage: () => G.value
3795
3858
  }) : null;
3796
- K && s(Nt, K);
3859
+ K && s(Tt, K);
3797
3860
  let q = z(null);
3798
3861
  o([() => h.state.template?.id ?? null, h.loadVersion], () => {
3799
3862
  q.value = null;
3800
3863
  }, { flush: "sync" }), o(() => Z(h.content.value), (e) => {
3801
3864
  q.value && q.value.language !== e && (q.value = null);
3802
3865
  }, { flush: "sync" });
3803
- let J = jr({
3866
+ let J = Nr({
3804
3867
  editor: h,
3805
3868
  history: () => X.history,
3806
3869
  collaboration: u
@@ -3813,8 +3876,8 @@ var _a = [
3813
3876
  }, r = J.setDefaultLocale(e);
3814
3877
  return r.applied && (q.value = t), r;
3815
3878
  } });
3816
- let ie = g(() => import("./chunks/LocaleNotices-CWRS_G-4.js")), ae = g(() => import("./chunks/CollaborationNotices-yKOt4o7B.js")), oe = g(() => import("./chunks/CloudPanels-BI_hJwcJ.js")), se = g(() => import("./chunks/CloudHeaderExtras-CazfMn6A.js")), Y = g(() => import("./chunks/VersionHistoryPanels-mMMqnf3O.js")), ce = gi(n.config.templates?.autoSave, !1), le = ce && x !== null;
3817
- ce && x !== null && !x.canSave.value && Jn.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 && x !== null && n.config.templates?.autoSave === void 0 && !n.config.onChange && Jn.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.");
3879
+ let ie = g(() => import("./chunks/LocaleNotices-BVDJ7kyj.js")), ae = g(() => import("./chunks/CollaborationNotices-CwAoa-73.js")), oe = g(() => import("./chunks/CloudPanels-gV2WFHQk.js")), se = g(() => import("./chunks/CloudHeaderExtras-O_K3jmgO.js")), Y = g(() => import("./chunks/VersionHistoryPanels-DO-kcL28.js")), ce = vi(n.config.templates?.autoSave, !1), le = ce && x !== null;
3880
+ ce && x !== null && !x.canSave.value && Xn.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 && x !== null && n.config.templates?.autoSave === void 0 && !n.config.onChange && Xn.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.");
3818
3881
  let ue = n.config.onChange || le ? {
3819
3882
  onChange: () => {
3820
3883
  n.config.onChange?.(JSON.parse(JSON.stringify(h.state.content))), le && x.requestAutoSave();
@@ -3827,7 +3890,7 @@ var _a = [
3827
3890
  ...B ? { comments: B.capability } : {},
3828
3891
  ...u ? { collaboration: u.capability } : {},
3829
3892
  ...W ? { ai: W.capability } : {}
3830
- }, X = Tn({
3893
+ }, X = Dn({
3831
3894
  editor: h,
3832
3895
  containerEl: D,
3833
3896
  config: {
@@ -3849,7 +3912,7 @@ var _a = [
3849
3912
  canDropMedia: ee?.canDrop ?? null,
3850
3913
  resolvePreview: n.config.resolvePreview,
3851
3914
  resolveImageUrl: n.config.resolveImageUrl,
3852
- lint: sn(n.config),
3915
+ lint: ln(n.config),
3853
3916
  locale: n.config.locale
3854
3917
  },
3855
3918
  translations: n.translations,
@@ -3865,9 +3928,9 @@ var _a = [
3865
3928
  let pe = n.cloud && v ? n.cloud.ready({
3866
3929
  core: X,
3867
3930
  capabilities: de
3868
- }) : null, me = n.config.versionHistory ? hi({
3931
+ }) : null, me = n.config.versionHistory ? _i({
3869
3932
  provider: n.config.versionHistory,
3870
- editor: Fn(h, r),
3933
+ editor: Ln(h, r),
3871
3934
  history: X.history,
3872
3935
  conditionPreview: X.conditionPreview,
3873
3936
  autoSave: X.autoSave,
@@ -3890,22 +3953,25 @@ var _a = [
3890
3953
  e && (ve.value = e.borderBoxSize?.[0]?.blockSize ?? e.contentRect.height);
3891
3954
  }), be.observe(_e.value));
3892
3955
  }), p(() => be?.disconnect());
3893
- let { showNotice: xe } = An(() => n.config.smallScreenNotice);
3956
+ let { showNotice: xe } = Mn(() => n.config.smallScreenNotice);
3894
3957
  d(async () => {
3895
3958
  await n.fontsManager.loadCustomFonts();
3896
3959
  }), p(() => {
3897
3960
  n.fontsManager.cleanupFontLinks(), W?.destroy(), n.cloud?.destroy(), X.destroy();
3898
3961
  });
3899
- let Se = x ?? h, we = Kn(X.editorRoot);
3962
+ let Se = x ?? h, we = Jn(X.editorRoot);
3900
3963
  return t({
3964
+ refreshPreview: X.refreshPreview,
3901
3965
  getLocale: () => h.activeLocale.value ?? Z(h.content.value),
3902
3966
  setLocale: (e) => h.setActiveLocale(e),
3903
3967
  getContent: () => h.content.value,
3904
- setContent: (e) => h.setContent(e),
3968
+ setContent: (e) => {
3969
+ h.setContent(e), u?.core.flush(), X.history.clear();
3970
+ },
3905
3971
  insertBlock: (e) => {
3906
- if (h.state.previewMode) return Jn.warn("insertBlock() does nothing in preview mode."), null;
3972
+ if (h.state.previewMode) return Xn.warn("insertBlock() does nothing in preview mode."), null;
3907
3973
  let t = Le(e);
3908
- return vi(h, t) ? (we(t.id), t.id) : null;
3974
+ return bi(h, t) ? (we(t.id), t.id) : null;
3909
3975
  },
3910
3976
  setTheme: (e) => h.setUiTheme(e),
3911
3977
  setMergeTags: X.setMergeTags,
@@ -3921,12 +3987,12 @@ var _a = [
3921
3987
  class: C(["tpl tpl:relative tpl:h-full", { "tpl:dark": S(h).state.darkMode }]),
3922
3988
  "data-tpl-theme": S(X).resolvedTheme.value,
3923
3989
  style: F(S(X).themeStyles.value),
3924
- onDragover: r[8] ||= k(() => {}, ["prevent"]),
3925
- onDrop: r[9] ||= k(() => {}, ["prevent"])
3990
+ onDragover: r[9] ||= k(() => {}, ["prevent"]),
3991
+ onDrop: r[10] ||= k(() => {}, ["prevent"])
3926
3992
  }, [
3927
- H(Ni),
3928
- A("div", Po, [
3929
- H(Wa, {
3993
+ H(Fi),
3994
+ A("div", Lo, [
3995
+ H(qa, {
3930
3996
  editor: S(h),
3931
3997
  localization: n.config.localization,
3932
3998
  core: S(X),
@@ -3936,7 +4002,9 @@ var _a = [
3936
4002
  "version-history": S(me),
3937
4003
  comments: S(B),
3938
4004
  collaboration: S(u),
3939
- ai: S(W)
4005
+ ai: S(W),
4006
+ header: n.config.header,
4007
+ "shadow-root": n.shadowRoot
3940
4008
  }, V({ _: 2 }, [S(v) ? {
3941
4009
  name: "left-extras",
3942
4010
  fn: a(() => [H(S(se), {
@@ -3961,31 +4029,51 @@ var _a = [
3961
4029
  "version-history",
3962
4030
  "comments",
3963
4031
  "collaboration",
3964
- "ai"
4032
+ "ai",
4033
+ "header",
4034
+ "shadow-root"
3965
4035
  ]),
3966
- c(H(Ui, { style: F(ye.value) }, null, 8, ["style"]), [[te, !S(h).state.previewMode]]),
4036
+ c(H(Gi, { style: F(ye.value) }, null, 8, ["style"]), [[te, !S(h).state.previewMode]]),
3967
4037
  A("div", {
3968
4038
  class: C(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", ge.value]),
3969
4039
  style: F(ye.value)
3970
- }, [A("div", Fo, [A("div", Io, [H(M, { name: "tpl-preview-pill" }, {
3971
- default: a(() => [S(h).state.previewMode && !S(X).previewResolution.supersedesSamples.value ? (i(), y("div", Lo, [H($n, {
3972
- "sample-mode": S(X).mergeTagSampleMode.value,
3973
- onChange: r[0] ||= (e) => S(X).mergeTagSampleMode.value = e
3974
- }, null, 8, ["sample-mode"])])) : w("", !0)]),
3975
- _: 1
3976
- }), H(M, { name: "tpl-preview-pill" }, {
3977
- default: a(() => [S(X).conditionPreview.hasHiddenBlocks.value && S(X).appliesConditionFilter.value ? (i(), y("button", {
3978
- key: 0,
3979
- type: "button",
3980
- class: C([S(Jt), "tpl:shadow-[var(--tpl-shadow-md)]"]),
3981
- "data-testid": "restore-hidden-blocks",
3982
- onClick: r[1] ||= (e) => S(X).conditionPreview.reset()
3983
- }, [H(S(qe), {
3984
- size: 16,
3985
- "stroke-width": 2
3986
- }), b(" " + j(S(X).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : w("", !0)]),
3987
- _: 1
3988
- })])]), A("main", Ro, [H(Mi, {
4040
+ }, [A("div", Ro, [A("div", zo, [
4041
+ H(M, { name: "tpl-preview-pill" }, {
4042
+ default: a(() => [S(h).state.previewMode && !S(X).previewResolution.supersedesSamples.value ? (i(), y("div", Bo, [H(tr, {
4043
+ "sample-mode": S(X).mergeTagSampleMode.value,
4044
+ onChange: r[0] ||= (e) => S(X).mergeTagSampleMode.value = e
4045
+ }, null, 8, ["sample-mode"])])) : w("", !0)]),
4046
+ _: 1
4047
+ }),
4048
+ H(M, { name: "tpl-preview-pill" }, {
4049
+ default: a(() => [S(h).state.previewMode && S(X).previewResolution.isConfigured ? (i(), y("div", Vo, [A("button", {
4050
+ type: "button",
4051
+ class: C([S(Xt), "tpl:px-4"]),
4052
+ "data-testid": "refresh-preview",
4053
+ title: S(X).t.previewResolution.refresh,
4054
+ "aria-busy": S(X).previewResolution.isResolving.value,
4055
+ onClick: r[1] ||= (e) => S(X).previewResolution.refresh()
4056
+ }, [H(S($e), {
4057
+ size: 18,
4058
+ "stroke-width": 1.5,
4059
+ class: C({ "tpl-spinner": S(X).previewResolution.isResolving.value })
4060
+ }, null, 8, ["class"]), b(" " + j(S(X).t.previewResolution.refresh), 1)], 10, Ho)])) : w("", !0)]),
4061
+ _: 1
4062
+ }),
4063
+ H(M, { name: "tpl-preview-pill" }, {
4064
+ default: a(() => [S(X).conditionPreview.hasHiddenBlocks.value && S(X).appliesConditionFilter.value ? (i(), y("button", {
4065
+ key: 0,
4066
+ type: "button",
4067
+ class: C([S(Yt), "tpl:shadow-[var(--tpl-shadow-md)]"]),
4068
+ "data-testid": "restore-hidden-blocks",
4069
+ onClick: r[2] ||= (e) => S(X).conditionPreview.reset()
4070
+ }, [H(S(qe), {
4071
+ size: 16,
4072
+ "stroke-width": 2
4073
+ }), b(" " + j(S(X).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : w("", !0)]),
4074
+ _: 1
4075
+ })
4076
+ ])]), A("main", Uo, [H(Pi, {
3989
4077
  viewport: S(h).state.viewport,
3990
4078
  content: S(X).previewResolution.content.value,
3991
4079
  "selected-block-id": S(h).state.selectedBlockId,
@@ -4000,7 +4088,7 @@ var _a = [
4000
4088
  "preview-mode",
4001
4089
  "onSelectBlock"
4002
4090
  ])])], 6),
4003
- e.config.branding === !1 ? w("", !0) : (i(), T(pa, {
4091
+ e.config.branding === !1 ? w("", !0) : (i(), T(ha, {
4004
4092
  key: 0,
4005
4093
  "position-class": [ge.value]
4006
4094
  }, null, 8, ["position-class"])),
@@ -4010,22 +4098,22 @@ var _a = [
4010
4098
  "aria-live": "polite",
4011
4099
  "aria-atomic": "true",
4012
4100
  "aria-label": S(X).t.landmarks.reorderAnnouncements
4013
- }, j(S(X).keyboardReorder.announcement.value), 9, zo),
4014
- c(H(oa, {
4101
+ }, j(S(X).keyboardReorder.announcement.value), 9, Wo),
4102
+ c(H(ca, {
4015
4103
  tab: fe.value,
4016
- "onUpdate:tab": r[2] ||= (e) => fe.value = e,
4104
+ "onUpdate:tab": r[3] ||= (e) => fe.value = e,
4017
4105
  style: F(ye.value),
4018
4106
  "selected-block": S(h).selectedBlock.value ? S(_).displayBlock(S(h).selectedBlock.value) : null,
4019
4107
  settings: S(_).settings.value,
4020
4108
  "shifted-left": he.value,
4021
- onUpdateBlock: r[3] ||= (e) => S(h).updateBlock(S(h).state.selectedBlockId, e),
4022
- onDeleteBlock: r[4] ||= () => {
4109
+ onUpdateBlock: r[4] ||= (e) => S(h).updateBlock(S(h).state.selectedBlockId, e),
4110
+ onDeleteBlock: r[5] ||= () => {
4023
4111
  S(h).state.selectedBlockId && S(X).blockActions.deleteBlock(S(h).state.selectedBlockId);
4024
4112
  },
4025
- onDuplicateBlock: r[5] ||= () => {
4113
+ onDuplicateBlock: r[6] ||= () => {
4026
4114
  S(h).selectedBlock.value && S(X).blockActions.duplicateBlock(S(h).selectedBlock.value);
4027
4115
  },
4028
- onUpdateSettings: r[6] ||= (e) => S(h).updateSettings(e)
4116
+ onUpdateSettings: r[7] ||= (e) => S(h).updateSettings(e)
4029
4117
  }, null, 8, [
4030
4118
  "tab",
4031
4119
  "style",
@@ -4040,7 +4128,7 @@ var _a = [
4040
4128
  }, [S(me)?.isAvailable.value ? (i(), T(S(Y), {
4041
4129
  key: 0,
4042
4130
  feature: S(me)
4043
- }, null, 8, ["feature"])) : w("", !0), e.config.localization ? (i(), T(Ar, {
4131
+ }, null, 8, ["feature"])) : w("", !0), e.config.localization ? (i(), T(Mr, {
4044
4132
  key: 1,
4045
4133
  editor: S(h),
4046
4134
  locales: e.config.localization.locales,
@@ -4057,8 +4145,8 @@ var _a = [
4057
4145
  ref: (e) => S(X).popoverRoot.value = e,
4058
4146
  class: "tpl-popover-root"
4059
4147
  }, null, 512),
4060
- H(uo),
4061
- H(Mo),
4148
+ H(mo),
4149
+ H(Fo),
4062
4150
  S(O)?.isAvailable.value ? (i(), T(S(N), {
4063
4151
  key: 0,
4064
4152
  feature: S(O)
@@ -4089,14 +4177,14 @@ var _a = [
4089
4177
  key: 4,
4090
4178
  feature: S(W)
4091
4179
  }, null, 8, ["feature"])) : w("", !0),
4092
- S(u) || q.value ? (i(), T(dr, { key: 5 }, {
4180
+ S(u) || q.value ? (i(), T(pr, { key: 5 }, {
4093
4181
  default: a(() => [S(u) ? (i(), T(S(ae), {
4094
4182
  key: 0,
4095
4183
  feature: S(u)
4096
4184
  }, null, 8, ["feature"])) : w("", !0), q.value ? (i(), T(S(ie), {
4097
4185
  key: 1,
4098
4186
  notice: q.value,
4099
- onDismiss: r[7] ||= (e) => q.value = null
4187
+ onDismiss: r[8] ||= (e) => q.value = null
4100
4188
  }, null, 8, ["notice"])) : w("", !0)]),
4101
4189
  _: 1
4102
4190
  })) : w("", !0),
@@ -4114,23 +4202,23 @@ var _a = [
4114
4202
  "cloud",
4115
4203
  "ready"
4116
4204
  ])) : w("", !0),
4117
- S(xe) ? (i(), T(da, { key: 7 })) : w("", !0)
4118
- ], 46, No));
4205
+ S(xe) ? (i(), T(pa, { key: 7 })) : w("", !0)
4206
+ ], 46, Io));
4119
4207
  }
4120
- }), [["__scopeId", "data-v-d30a2d38"]]), Vo = /@import\s*(?:url\(\s*(?:"[^"]*"|'[^']*'|[^)]*)\s*\)|"[^"]*"|'[^']*')[^;]*;/g;
4121
- function Ho(e) {
4122
- return e.replace(Vo, "");
4208
+ }), [["__scopeId", "data-v-0dfeea75"]]), Ko = /@import\s*(?:url\(\s*(?:"[^"]*"|'[^']*'|[^)]*)\s*\)|"[^"]*"|'[^']*')[^;]*;/g;
4209
+ function qo(e) {
4210
+ return e.replace(Ko, "");
4123
4211
  }
4124
4212
  // src/utils/renderProvider.ts
4125
- function Uo(e) {
4213
+ function Jo(e) {
4126
4214
  return {
4127
4215
  customFonts: e.customFonts.value,
4128
4216
  defaultFallback: e.defaultFallback.value
4129
4217
  };
4130
4218
  }
4131
- async function Wo(e, t) {
4219
+ async function Yo(e, t) {
4132
4220
  let n = Ae(e.getContent()), r = t?.locale ?? Z(n), i = t?.locale !== void 0 || n.settings?.locales?.length ? le(n, r) : n, a = e.getLayout?.(), o = a ? Pe(le(a, r, { missing: "default" }), i) : i;
4133
- return a || (Ne(o), ke(o)), await ar(o, {
4221
+ return a || (Ne(o), ke(o)), await sr(o, {
4134
4222
  renderCustomBlock: e.renderCustomBlock,
4135
4223
  getCustomBlockStylesheet: e.getCustomBlockStylesheet
4136
4224
  }), {
@@ -4138,7 +4226,7 @@ async function Wo(e, t) {
4138
4226
  fonts: e.getFonts()
4139
4227
  };
4140
4228
  }
4141
- function Go(e) {
4229
+ function Xo(e) {
4142
4230
  async function t(t) {
4143
4231
  let n = e.provider, r = n?.toMjml?.bind(n);
4144
4232
  return r ? r(await e.buildPayload(t)) : e.renderLocalMjml(t);
@@ -4164,69 +4252,69 @@ function Go(e) {
4164
4252
  };
4165
4253
  }
4166
4254
  // \0virtual:editor-css
4167
- var Ko = "@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-locale-chip[data-state=changed][data-v-3343ae7d]{color:var(--tpl-secondary)}.tpl-locale-chip[data-state=missing][data-v-3343ae7d],.tpl-locale-chip[data-state=stale][data-v-3343ae7d],.tpl-locale-chip[data-state=tags-differ][data-v-3343ae7d]{color:var(--tpl-warning)}.tpl-block--locale-hidden>.tpl-email-surface[data-v-872194d3]{opacity:.35}.tpl-block--idle[data-v-872194d3]{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-872194d3]: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-872194d3]{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-872194d3]{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-872194d3]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-872194d3]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-872194d3]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-872194d3]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-872194d3]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-872194d3]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-872194d3]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-block-agent-highlight[data-v-872194d3]{outline:2px solid var(--tpl-secondary);outline-offset:-1px;animation:tpl-agent-highlight-872194d3 2s ease-out forwards}@keyframes tpl-agent-highlight-872194d3{0%,50%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.tpl-block-agent-highlight[data-v-872194d3]{animation:none}}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable],.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]{outline:none;cursor:text;min-width:calc(2 * var(--tpl-base-size))}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable]:empty:before,.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--tpl-text-dim);pointer-events:none}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable]:focus,.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]:focus{outline:2px solid var(--tpl-primary);outline-offset:-2px;border-radius:1px}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface:not(.tpl-email-surface *){filter:invert(1) hue-rotate(180deg)}[data-v-03a9d286] .tpl-email-surface{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface img{filter:invert(1) hue-rotate(180deg)}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface.tpl-has-bg-image,.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface .tpl-has-bg-image{position:relative;isolation:isolate;background-image:none!important}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface.tpl-has-bg-image:before,.tpl-canvas--dark-mode[data-v-03a9d286] .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:block))) 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\\:inset-s-full{inset-inline-start:100%}.tpl\\:inset-e-1{inset-inline-end: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-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\\:z-\\[10000\\]{z-index:10000}.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\\:ms-2{margin-inline-start:calc(calc(var(--tpl-base-size) / 4) * 2)}.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\\:mr-2{margin-right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-0{margin-bottom:0}.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-3{width:calc(calc(var(--tpl-base-size) / 4) * 3);height:calc(calc(var(--tpl-base-size) / 4) * 3)}.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{width:calc(calc(var(--tpl-base-size) / 4) * 3)}.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-64{width:calc(calc(var(--tpl-base-size) / 4) * 64)}.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-96{width:calc(calc(var(--tpl-base-size) / 4) * 96)}.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\\:basis-64{flex-basis:calc(calc(var(--tpl-base-size) / 4) * 64)}.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-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-\\[minmax\\(0\\,1fr\\)_auto_minmax\\(0\\,1fr\\)\\]{grid-template-columns:minmax(0,1fr) auto minmax(0,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)}.tpl\\:gap-x-6{column-gap:calc(calc(var(--tpl-base-size) / 4) * 6)}: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{row-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:gap-y-2{row-gap:calc(calc(var(--tpl-base-size) / 4) * 2)}.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:2147483647px}.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-normal{white-space:normal}.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\\)\\]{color:var(--tpl-chrome-text)}.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}:is(:where(.tpl\\:group):focus-within .tpl\\:group-focus-within\\:opacity-100){opacity:1}@media(hover:hover){:is(:where(.tpl\\:group):hover .tpl\\:group-hover\\:bg-black\\/40){background-color:oklab(0% none none/.4)}:is(:where(.tpl\\:group):hover .tpl\\:group-hover\\:opacity-100){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}@media(hover:hover){.tpl\\:hover\\:focus-visible\\:shadow-\\[var\\(--tpl-ring\\)\\,var\\(--tpl-shadow-sm\\)\\]:hover:focus-visible{--tw-shadow:var(--tpl-ring), 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\\: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-panel-transition:var(--tpl-user-panel-transition,.24s 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-canvas-pane{container:tpl-canvas-pane/inline-size}.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,.tpl-preview-mode .tpl-block-issue-badge{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}.tpl-body,.tpl-right-sidebar{transition:none}.tpl-panel-enter-active,.tpl-panel-leave-active{animation:none}}.tpl-body{transition:left var(--tpl-panel-transition),right var(--tpl-panel-transition)}.tpl-right-sidebar{transition:right var(--tpl-panel-transition)}.tpl-panel-enter-active{animation:var(--tpl-panel-transition) both tpl-panel-in}.tpl-panel-leave-active{animation:var(--tpl-panel-transition) both tpl-panel-out}@keyframes tpl-panel-in{0%{transform:translate(100%)}to{transform:none}}@keyframes tpl-panel-out{0%{transform:none}to{transform:translate(100%)}}.tpl-header-container{container:tpl-header/inline-size}.tpl-header-identity [data-testid=template-name],.tpl-header-identity [data-testid=template-name-input]{max-width:100%}.tpl-language-tag{display:none}.tpl-header-identity{flex-shrink:1;min-width:24px}.tpl-header-timestamp{max-width:100%}.tpl-header:not([data-status-label=true]) .tpl-status-label{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-header[data-compact=true]{grid-template-columns:minmax(0,1fr) auto auto;column-gap:8px;padding-inline:8px}.tpl-header[data-compact=true] .tpl-header-left,.tpl-header[data-compact=true] .tpl-header-right{gap:4px;min-width:0}.tpl-header[data-compact=true] .tpl-header-center{gap:4px}.tpl-header[data-compact=true] .tpl-header-identity{flex:0 auto;min-width:24px;max-width:none;padding-bottom:0}.tpl-header[data-compact=true] .tpl-header-timestamp,.tpl-header[data-compact=true] .tpl-header-label,.tpl-header[data-compact=true] .tpl-header-comment-count,.tpl-header[data-compact=true] .tpl-language-name,.tpl-header[data-compact=true] .tpl-language-count,.tpl-header[data-compact=true] .tpl-language-chevron{display:none}.tpl-header[data-compact=true] .tpl-header-left .tpl-language-tag{display:inline}.tpl-header[data-compact=true] .tpl-language-control{flex-shrink:1}.tpl-header[data-compact=true] .tpl-language-trigger{gap:4px;padding-inline:6px;width:100%!important;max-width:72px!important}.tpl-header[data-compact=true] .tpl-header-center [role=radio]{padding-inline:6px}.tpl-header[data-compact=true] [data-testid=version-history]{gap:0}.tpl-header[data-compact=true] [data-testid=version-history-toggle]{padding-inline:4px}.tpl-header[data-compact=true] .tpl-header-right>button{gap:0;min-width:32px;padding-inline:7px}.tpl-header[data-compact=true] .tpl-header-save-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@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-d30a2d38]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-preview-pill-leave-active[data-v-d30a2d38]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-preview-pill-enter-from[data-v-d30a2d38],.tpl-preview-pill-leave-to[data-v-d30a2d38]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-preview-pill-enter-to[data-v-d30a2d38],.tpl-preview-pill-leave-from[data-v-d30a2d38]{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-94c2e6ff]::-webkit-outer-spin-button,input[type=number][data-v-94c2e6ff]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-94c2e6ff]{-moz-appearance:textfield}.tpl-collapsible[data-v-206f038f]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-206f038f]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-206f038f]{overflow:hidden}@container tpl-header (max-width: 760px){.tpl-language-submenu[data-v-9b071249]{left:0;top:100%;bottom:auto;margin:4px 0 0;max-width:100%}}.tpl-language-row[data-v-9b071249]:hover,.tpl-language-row[data-v-9b071249]:focus-within,[role=menuitem][data-v-9b071249]:hover{background:var(--tpl-bg-hover)}.tpl-language-row[data-active=true][data-v-9b071249]{background:var(--tpl-bg-active)}.tpl-language-row[data-active=true] .tpl-language-pill[data-v-9b071249]{background:var(--tpl-bg)}[aria-disabled=true][data-v-9b071249]{cursor:not-allowed;color:var(--tpl-text-muted)}[aria-disabled=true] svg[data-v-9b071249]{color:var(--tpl-text-dim)}@media(hover:hover)and (pointer:fine){.tpl-language-actions[data-v-9b071249]{opacity:0}.tpl-language-row:hover .tpl-language-actions[data-v-9b071249],.tpl-language-row:focus-within .tpl-language-actions[data-v-9b071249],.tpl-language-actions[aria-expanded=true][data-v-9b071249]{opacity:1}}.tpl-language-actions[data-v-9b071249]{transition:opacity var(--tpl-transition)}.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-input-wrapper[data-v-75eacb94]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-75eacb94]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-75eacb94]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-75eacb94]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-75eacb94]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-75eacb94]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-75eacb94]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-75eacb94]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-75eacb94],.tpl-comment-reply-card[data-v-75eacb94]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-75eacb94],.tpl-resolve-leave-active[data-v-75eacb94]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-75eacb94],.tpl-resolve-leave-to[data-v-75eacb94]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-75eacb94]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-75eacb94]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-75eacb94],.tpl-replies-leave-active[data-v-75eacb94]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-75eacb94],.tpl-replies-leave-to[data-v-75eacb94]{opacity:0;transform:translateY(-4px)}.tpl-ai-input-wrapper[data-v-51fb7448]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-51fb7448]:not(:disabled):hover{transform:scale(1.05)}.tpl-starter-btn[data-v-51fb7448]: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*/", qo = null;
4168
- function Jo() {
4169
- if (qo === null) {
4255
+ var Zo = "@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-locale-chip[data-state=changed][data-v-3343ae7d]{color:var(--tpl-secondary)}.tpl-locale-chip[data-state=missing][data-v-3343ae7d],.tpl-locale-chip[data-state=stale][data-v-3343ae7d],.tpl-locale-chip[data-state=tags-differ][data-v-3343ae7d]{color:var(--tpl-warning)}.tpl-block--locale-hidden>.tpl-email-surface[data-v-872194d3]{opacity:.35}.tpl-block--idle[data-v-872194d3]{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-872194d3]: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-872194d3]{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-872194d3]{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-872194d3]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-872194d3]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-872194d3]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-872194d3]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-872194d3]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-872194d3]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-872194d3]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-block-agent-highlight[data-v-872194d3]{outline:2px solid var(--tpl-secondary);outline-offset:-1px;animation:tpl-agent-highlight-872194d3 2s ease-out forwards}@keyframes tpl-agent-highlight-872194d3{0%,50%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.tpl-block-agent-highlight[data-v-872194d3]{animation:none}}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable],.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]{outline:none;cursor:text;min-width:calc(2 * var(--tpl-base-size))}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable]:empty:before,.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--tpl-text-dim);pointer-events:none}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable]:focus,.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]:focus{outline:2px solid var(--tpl-primary);outline-offset:-2px;border-radius:1px}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface:not(.tpl-email-surface *){filter:invert(1) hue-rotate(180deg)}[data-v-03a9d286] .tpl-email-surface{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface img{filter:invert(1) hue-rotate(180deg)}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface.tpl-has-bg-image,.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface .tpl-has-bg-image{position:relative;isolation:isolate;background-image:none!important}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface.tpl-has-bg-image:before,.tpl-canvas--dark-mode[data-v-03a9d286] .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:block))) 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\\:inset-s-full{inset-inline-start:100%}.tpl\\:inset-e-1{inset-inline-end: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-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\\:z-\\[10000\\]{z-index:10000}.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\\:ms-2{margin-inline-start:calc(calc(var(--tpl-base-size) / 4) * 2)}.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\\:mr-2{margin-right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-0{margin-bottom:0}.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-3{width:calc(calc(var(--tpl-base-size) / 4) * 3);height:calc(calc(var(--tpl-base-size) / 4) * 3)}.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-\\[38px\\]{height:38px}.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{width:calc(calc(var(--tpl-base-size) / 4) * 3)}.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-64{width:calc(calc(var(--tpl-base-size) / 4) * 64)}.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-96{width:calc(calc(var(--tpl-base-size) / 4) * 96)}.tpl\\:w-\\[38px\\]{width:38px}.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\\:basis-64{flex-basis:calc(calc(var(--tpl-base-size) / 4) * 64)}.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-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-\\[minmax\\(0\\,1fr\\)_auto_minmax\\(0\\,1fr\\)\\]{grid-template-columns:minmax(0,1fr) auto minmax(0,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)}.tpl\\:gap-x-6{column-gap:calc(calc(var(--tpl-base-size) / 4) * 6)}: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{row-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:gap-y-2{row-gap:calc(calc(var(--tpl-base-size) / 4) * 2)}.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:2147483647px}.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-normal{white-space:normal}.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\\)\\]{color:var(--tpl-chrome-text)}.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}:is(:where(.tpl\\:group):focus-within .tpl\\:group-focus-within\\:opacity-100){opacity:1}@media(hover:hover){:is(:where(.tpl\\:group):hover .tpl\\:group-hover\\:bg-black\\/40){background-color:oklab(0% none none/.4)}:is(:where(.tpl\\:group):hover .tpl\\:group-hover\\:opacity-100){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}@media(hover:hover){.tpl\\:hover\\:focus-visible\\:shadow-\\[var\\(--tpl-ring\\)\\,var\\(--tpl-shadow-sm\\)\\]:hover:focus-visible{--tw-shadow:var(--tpl-ring), 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\\: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-panel-transition:var(--tpl-user-panel-transition,.24s 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-canvas-pane{container:tpl-canvas-pane/inline-size}.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,.tpl-preview-mode .tpl-block-issue-badge{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}.tpl-body,.tpl-right-sidebar{transition:none}.tpl-panel-enter-active,.tpl-panel-leave-active{animation:none}}.tpl-body{transition:left var(--tpl-panel-transition),right var(--tpl-panel-transition)}.tpl-right-sidebar{transition:right var(--tpl-panel-transition)}.tpl-panel-enter-active{animation:var(--tpl-panel-transition) both tpl-panel-in}.tpl-panel-leave-active{animation:var(--tpl-panel-transition) both tpl-panel-out}@keyframes tpl-panel-in{0%{transform:translate(100%)}to{transform:none}}@keyframes tpl-panel-out{0%{transform:none}to{transform:translate(100%)}}.tpl-header-container{container:tpl-header/inline-size}.tpl-header-identity [data-testid=template-name],.tpl-header-identity [data-testid=template-name-input]{max-width:100%}.tpl-language-tag{display:none}.tpl-header-identity{flex-shrink:1;min-width:24px}.tpl-header-actions{display:contents}.tpl-header-timestamp{max-width:100%}.tpl-header:not([data-status-label=true]) .tpl-status-label{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-header[data-compact=true]{grid-template-columns:minmax(0,1fr) auto auto;column-gap:8px;padding-inline:8px}.tpl-header[data-compact=true] .tpl-header-left,.tpl-header[data-compact=true] .tpl-header-right{gap:4px;min-width:0}.tpl-header[data-compact=true] .tpl-header-center{gap:4px}.tpl-header[data-compact=true] .tpl-header-identity{flex:0 auto;min-width:24px;max-width:none;padding-bottom:0}.tpl-header[data-compact=true] .tpl-header-timestamp,.tpl-header[data-compact=true] .tpl-header-label,.tpl-header[data-compact=true] .tpl-header-comment-count,.tpl-header[data-compact=true] .tpl-language-name,.tpl-header[data-compact=true] .tpl-language-count,.tpl-header[data-compact=true] .tpl-language-chevron{display:none}.tpl-header[data-compact=true] .tpl-header-left .tpl-language-tag{display:inline}.tpl-header[data-compact=true] .tpl-language-control{flex-shrink:1}.tpl-header[data-compact=true] .tpl-language-trigger{gap:4px;padding-inline:6px;width:100%!important;max-width:72px!important}.tpl-header[data-compact=true] .tpl-header-center [role=radio]{padding-inline:6px}.tpl-header[data-compact=true] [data-testid=version-history]{gap:0}.tpl-header[data-compact=true] [data-testid=version-history-toggle]{padding-inline:4px}.tpl-header[data-compact=true] .tpl-header-right>button{gap:0;min-width:32px;padding-inline:7px}.tpl-header[data-compact=true] .tpl-header-save-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@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-0dfeea75]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-preview-pill-leave-active[data-v-0dfeea75]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-preview-pill-enter-from[data-v-0dfeea75],.tpl-preview-pill-leave-to[data-v-0dfeea75]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-preview-pill-enter-to[data-v-0dfeea75],.tpl-preview-pill-leave-from[data-v-0dfeea75]{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-94c2e6ff]::-webkit-outer-spin-button,input[type=number][data-v-94c2e6ff]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-94c2e6ff]{-moz-appearance:textfield}.tpl-collapsible[data-v-206f038f]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-206f038f]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-206f038f]{overflow:hidden}@container tpl-header (max-width: 760px){.tpl-language-submenu[data-v-9b071249]{left:0;top:100%;bottom:auto;margin:4px 0 0;max-width:100%}}.tpl-language-row[data-v-9b071249]:hover,.tpl-language-row[data-v-9b071249]:focus-within,[role=menuitem][data-v-9b071249]:hover{background:var(--tpl-bg-hover)}.tpl-language-row[data-active=true][data-v-9b071249]{background:var(--tpl-bg-active)}.tpl-language-row[data-active=true] .tpl-language-pill[data-v-9b071249]{background:var(--tpl-bg)}[aria-disabled=true][data-v-9b071249]{cursor:not-allowed;color:var(--tpl-text-muted)}[aria-disabled=true] svg[data-v-9b071249]{color:var(--tpl-text-dim)}@media(hover:hover)and (pointer:fine){.tpl-language-actions[data-v-9b071249]{opacity:0}.tpl-language-row:hover .tpl-language-actions[data-v-9b071249],.tpl-language-row:focus-within .tpl-language-actions[data-v-9b071249],.tpl-language-actions[aria-expanded=true][data-v-9b071249]{opacity:1}}.tpl-language-actions[data-v-9b071249]{transition:opacity var(--tpl-transition)}.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-input-wrapper[data-v-75eacb94]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-75eacb94]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-75eacb94]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-75eacb94]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-75eacb94]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-75eacb94]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-75eacb94]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-75eacb94]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-75eacb94],.tpl-comment-reply-card[data-v-75eacb94]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-75eacb94],.tpl-resolve-leave-active[data-v-75eacb94]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-75eacb94],.tpl-resolve-leave-to[data-v-75eacb94]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-75eacb94]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-75eacb94]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-75eacb94],.tpl-replies-leave-active[data-v-75eacb94]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-75eacb94],.tpl-replies-leave-to[data-v-75eacb94]{opacity:0;transform:translateY(-4px)}.tpl-ai-input-wrapper[data-v-51fb7448]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-51fb7448]:not(:disabled):hover{transform:scale(1.05)}.tpl-starter-btn[data-v-51fb7448]: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*/", Qo = null;
4256
+ function $o() {
4257
+ if (Qo === null) {
4170
4258
  let e = new CSSStyleSheet();
4171
- e.replaceSync(Ho(Ko)), qo = e;
4259
+ e.replaceSync(qo(Zo)), Qo = e;
4172
4260
  }
4173
- return qo;
4261
+ return Qo;
4174
4262
  }
4175
- function Yo(e) {
4263
+ function es(e) {
4176
4264
  return () => {};
4177
4265
  }
4178
- function Xo(e, t) {
4266
+ function ts(e, t) {
4179
4267
  if (!t) return {
4180
4268
  target: e,
4181
4269
  shadowRoot: null,
4182
4270
  cleanup: () => {}
4183
4271
  };
4184
4272
  let n = e.shadowRoot ?? e.attachShadow({ mode: "open" });
4185
- for (n.adoptedStyleSheets = [Jo()]; n.firstChild;) n.removeChild(n.firstChild);
4273
+ for (n.adoptedStyleSheets = [$o()]; n.firstChild;) n.removeChild(n.firstChild);
4186
4274
  let r = document.createElement("div");
4187
4275
  return r.className = "tpl-editor-host", r.style.cssText = "display:block;height:100%;width:100%;", n.appendChild(r), {
4188
4276
  target: r,
4189
4277
  shadowRoot: n,
4190
- cleanup: Yo(n)
4278
+ cleanup: es(n)
4191
4279
  };
4192
4280
  }
4193
- var Zo = /* @__PURE__ */ new Map(), Qo = null, $o = 0, es = /* @__PURE__ */ new WeakMap();
4194
- function ts(e) {
4281
+ var ns = /* @__PURE__ */ new Map(), rs = null, is = 0, as = /* @__PURE__ */ new WeakMap();
4282
+ function os(e) {
4195
4283
  let t = typeof e == "string" ? document.querySelector(e) : e;
4196
4284
  if (!t) throw Error(`[Templatical] Container element not found: ${e}`);
4197
- let n = ++$o;
4198
- return es.set(t, n), {
4285
+ let n = ++is;
4286
+ return as.set(t, n), {
4199
4287
  container: t,
4200
4288
  token: n
4201
4289
  };
4202
4290
  }
4203
- function ns(e, t) {
4204
- let n = Zo.get(e);
4205
- n && (t && n.app !== t || (n.cleanup(), n.app.unmount(), Zo.delete(e), Qo === e && (Qo = null)));
4291
+ function ss(e, t) {
4292
+ let n = ns.get(e);
4293
+ n && (t && n.app !== t || (n.cleanup(), n.app.unmount(), ns.delete(e), rs === e && (rs = null)));
4206
4294
  }
4207
- function rs(e) {
4208
- e.layout && (e.layout = Ln(e.layout, e.mergeTags), Te(e.layout)), e.content && (e.content = Ln(e.content, e.mergeTags), Ne(e.content), ke(e.content));
4295
+ function cs(e) {
4296
+ e.layout && (e.layout = zn(e.layout, e.mergeTags), Te(e.layout)), e.content && (e.content = zn(e.content, e.mergeTags), Ne(e.content), ke(e.content));
4209
4297
  }
4210
- async function is(e) {
4298
+ async function ls(e) {
4211
4299
  let t = { ...e };
4212
4300
  if (t.translation !== void 0 && (t.translation === null || typeof t.translation != "object" || typeof t.translation.translate != "function")) throw new Q("translation must be an object with a translate function.");
4213
4301
  for (let e of t.localization?.locales ?? []) if (!xe(e)) throw new Q(`Invalid localization locale "${e}".`);
4214
4302
  let n = t.localization?.doNotTranslate;
4215
4303
  if (n !== void 0 && (!Array.isArray(n) || n.length > 500 || n.some((e) => typeof e != "string" || e.trim().length < 1 || e.trim().length > 100))) throw new Q("localization.doNotTranslate must be an array of at most 500 terms, each 1–100 characters.");
4216
- return rs(t), as(t, ts(t.container));
4304
+ return cs(t), us(t, os(t.container));
4217
4305
  }
4218
- async function as(e, { container: t, token: n }, i) {
4219
- e.locale !== void 0 && !ln(e.locale) && Jn.warn(`config.locale: "${e.locale}" has no translations — falling back to English. Supported: ${xn().sort().join(", ")}.`);
4220
- let a = await on(e.locale ?? "en"), o = rn(e.fonts);
4221
- if (es.get(t) !== n) return os({
4306
+ async function us(e, { container: t, token: n }, i) {
4307
+ e.locale !== void 0 && !dn(e.locale) && Xn.warn(`config.locale: "${e.locale}" has no translations — falling back to English. Supported: ${Cn().sort().join(", ")}.`);
4308
+ let a = await cn(e.locale ?? "en"), o = on(e.fonts);
4309
+ if (as.get(t) !== n) return ds({
4222
4310
  config: e,
4223
4311
  editorRef: z(null),
4224
4312
  fontsManager: o,
4225
4313
  unmount: () => {}
4226
4314
  }).instance;
4227
- ns(t);
4228
- let s = Xo(t, e.shadowDom ?? !0), c = z(null), l = I({ setup() {
4229
- return () => r(Bo, {
4315
+ ss(t);
4316
+ let s = ts(t, e.shadowDom ?? !0), c = z(null), l = I({ setup() {
4317
+ return () => r(Go, {
4230
4318
  config: e,
4231
4319
  translations: a,
4232
4320
  fontsManager: o,
@@ -4239,23 +4327,23 @@ async function as(e, { container: t, token: n }, i) {
4239
4327
  ref: c
4240
4328
  });
4241
4329
  } });
4242
- l.mount(s.target), Zo.set(t, {
4330
+ l.mount(s.target), ns.set(t, {
4243
4331
  app: l,
4244
4332
  editorRef: c,
4245
4333
  cleanup: s.cleanup
4246
- }), Qo = t;
4247
- let { instance: u, render: d } = os({
4334
+ }), rs = t;
4335
+ let { instance: u, render: d } = ds({
4248
4336
  config: e,
4249
4337
  editorRef: c,
4250
4338
  fontsManager: o,
4251
- unmount: () => ns(t, l)
4339
+ unmount: () => ss(t, l)
4252
4340
  });
4253
4341
  return u;
4254
4342
  }
4255
- function os({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4343
+ function ds({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4256
4344
  let i = {
4257
4345
  getContent() {
4258
- return Ae(t.value ? t.value.getContent() : e.content ?? De(e.fonts?.defaultFont, sr(e)));
4346
+ return Ae(t.value ? t.value.getContent() : e.content ?? De(e.fonts?.defaultFont, lr(e)));
4259
4347
  },
4260
4348
  getLocale() {
4261
4349
  return t.value?.getLocale() ?? Z(i.getContent());
@@ -4266,12 +4354,15 @@ function os({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4266
4354
  t.value?.setLocale(n);
4267
4355
  },
4268
4356
  setContent(n) {
4269
- let r = Ln(n, e.mergeTags);
4357
+ let r = zn(n, e.mergeTags);
4270
4358
  t.value && t.value.setContent(r), e.content = r;
4271
4359
  },
4360
+ refreshPreview() {
4361
+ t.value?.refreshPreview();
4362
+ },
4272
4363
  insertBlock(n) {
4273
4364
  let r = { blocks: [n] };
4274
- return Ne(r), ke(r), t.value ? t.value.insertBlock(zn(n, e.mergeTags)) : null;
4365
+ return Ne(r), ke(r), t.value ? t.value.insertBlock(Vn(n, e.mergeTags)) : null;
4275
4366
  },
4276
4367
  setTheme(e) {
4277
4368
  t.value && t.value.setTheme(e);
@@ -4286,7 +4377,7 @@ function os({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4286
4377
  create(n) {
4287
4378
  return t.value ? t.value.create(n?.content ? {
4288
4379
  ...n,
4289
- content: Ln(n.content, e.mergeTags)
4380
+ content: zn(n.content, e.mergeTags)
4290
4381
  } : n) : Promise.reject(/* @__PURE__ */ Error("[Templatical] Editor not ready"));
4291
4382
  },
4292
4383
  load(e) {
@@ -4306,20 +4397,20 @@ function os({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4306
4397
  },
4307
4398
  toMjml: (e) => a.toMjml(e),
4308
4399
  toHtml: (e) => a.toHtml(e)
4309
- }, a = Go({
4400
+ }, a = Xo({
4310
4401
  provider: e.render,
4311
- buildPayload: (t) => Wo({
4402
+ buildPayload: (t) => Yo({
4312
4403
  getContent: () => i.getContent(),
4313
4404
  renderCustomBlock: (e) => i.renderCustomBlock(e),
4314
4405
  getCustomBlockStylesheet: (e) => i.getCustomBlockStylesheet(e),
4315
- getFonts: () => Uo(n),
4406
+ getFonts: () => Jo(n),
4316
4407
  getLayout: () => e.layout
4317
4408
  }, t),
4318
- renderLocalMjml: (t) => di({
4409
+ renderLocalMjml: (t) => pi({
4319
4410
  getContent: () => i.getContent(),
4320
4411
  renderCustomBlock: (e) => i.renderCustomBlock(e),
4321
4412
  getCustomBlockStylesheet: (e) => i.getCustomBlockStylesheet(e),
4322
- getFonts: () => Uo(n),
4413
+ getFonts: () => Jo(n),
4323
4414
  socialIconsBaseUrl: e.socialIconsBaseUrl,
4324
4415
  getLayout: () => e.layout
4325
4416
  }, ...t ? [t] : [])
@@ -4329,18 +4420,18 @@ function os({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4329
4420
  render: a
4330
4421
  };
4331
4422
  }
4332
- async function ss(e) {
4423
+ async function fs(e) {
4333
4424
  let t = {
4334
4425
  layout: e.layout,
4335
4426
  content: e.content,
4336
4427
  mergeTags: e.mergeTags
4337
4428
  };
4338
- rs(t);
4339
- let n = ts(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./chunks/createCloudRuntime-k12jYbXP.js"), dn(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
4429
+ cs(t);
4430
+ let n = os(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./chunks/createCloudRuntime-D8zeR9D2.js"), pn(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
4340
4431
  config: e,
4341
4432
  cloudTranslations: i
4342
4433
  });
4343
- return as({
4434
+ return us({
4344
4435
  container: e.container,
4345
4436
  content: t.content,
4346
4437
  layout: t.layout,
@@ -4350,6 +4441,7 @@ async function ss(e) {
4350
4441
  uiTheme: e.uiTheme,
4351
4442
  theme: e.theme,
4352
4443
  branding: e.branding,
4444
+ header: e.header,
4353
4445
  smallScreenNotice: e.smallScreenNotice,
4354
4446
  blockDefaults: e.blockDefaults,
4355
4447
  templateDefaults: e.templateDefaults,
@@ -4384,9 +4476,9 @@ async function ss(e) {
4384
4476
  user: s
4385
4477
  }, n, a);
4386
4478
  }
4387
- function cs() {
4388
- Qo && ns(Qo);
4479
+ function ps() {
4480
+ rs && ss(rs);
4389
4481
  }
4390
- export { Wn as AI_ALT_TEXT_RULES, Gn as AI_FIXABLE_RULES, Pe as applyLayout, De as createDefaultTemplateContent, Y as createLocalStorageMediaProvider, ne as createLocalStorageSavedBlocksProvider, de as createParagraphBlock, Me as createSlotBlock, X as createWrapperBlock, Sn as getBaseLocale, nn as getSupportedCloudLocales, xn as getSupportedLocales, is as init, ss as initCloud, cn as isCloudLocaleSupported, ln as isLocaleSupported, ye as isSlot, je as isWrapper, Oe as layoutWrapsSlot, cs as unmount, Te as validateLayout };
4482
+ export { Kn as AI_ALT_TEXT_RULES, qn as AI_FIXABLE_RULES, Pe as applyLayout, De as createDefaultTemplateContent, Y as createLocalStorageMediaProvider, ne as createLocalStorageSavedBlocksProvider, de as createParagraphBlock, Me as createSlotBlock, X as createWrapperBlock, wn as getBaseLocale, an as getSupportedCloudLocales, Cn as getSupportedLocales, ls as init, fs as initCloud, un as isCloudLocaleSupported, dn as isLocaleSupported, ye as isSlot, je as isWrapper, Oe as layoutWrapsSlot, ps as unmount, Te as validateLayout };
4391
4483
 
4392
4484
  //# sourceMappingURL=editor.js.map