@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,60 +1,61 @@
1
1
  import { A as e, B as t, D as n, E as r, F as i, Ft as a, L as o, M as s, Mt as c, N as l, O as u, P as d, Pt as f, R as p, S as m, U as h, W as g, Z as _, _ as v, c as y, ct as b, d as x, et as S, f as C, g as w, h as T, j as E, k as D, l as O, m as k, nt as A, q as j, r as M, rt as N, tt as P, u as F, v as I, w as L, y as R } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
2
2
  import { a as z, c as B, n as V, o as H, s as U, t as W } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
3
- import { G, I as ee, L as K, M as q, N as J, R as Y, V as te, W as ne, _ as re, b as ie, c as ae, j as oe, l as se } from "./socialIcons-ZfH8PyV2.js";
3
+ import { G, I as ee, L as K, M as q, N as J, R as Y, V as te, W as ne, _ as re, b as ie, c as ae, j as oe, l as se } from "./socialIcons-RKdTgJip.js";
4
4
  import { A as ce, At as le, C as ue, D as de, Dt as fe, E as X, Ht as pe, I as me, K as he, Mt as ge, N as _e, Pt as ve, Q as ye, R as be, S as xe, T as Se, U as Ce, Yt as we, _ as Te, bt as Ee, dt as De, et as Oe, f as ke, jt as Ae, k as je, ln as Me, nt as Ne, o as Pe, qt as Fe, rt as Z, un as Ie, v as Q, vt as Le, xt as Re } from "./dist-BTjObRcv.js";
5
5
  import { t as ze } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
6
6
  import { i as Be, n as Ve } from "./sanitizeHtml-D2wueiEe.js";
7
7
  import { t as He } from "./x-CTKOxIyZ.js";
8
- import { t as $ } from "./useI18n-CM9vKbYc.js";
8
+ import { t as $ } from "./useI18n-C2p-qHeb.js";
9
9
  import { n as Ue, t as We } from "./useLocalizedDisplay-9RqT2y_Y.js";
10
- import { $ as Ge, B as Ke, E as qe, I as Je, J as Ye, K as Xe, M as Ze, O as Qe, R as $e, Y as et, Z as tt, a as nt, at as rt, b as it, c as at, ct as ot, d as st, et as ct, g as lt, h as ut, it as dt, k as ft, l as pt, m as mt, n as ht, nt as gt, ot as _t, st as vt, t as yt, tt as bt, v as xt, z as St } from "./keys-D9oKZN1h.js";
10
+ import { B as Ge, E as Ke, I as qe, J as Je, K as Ye, M as Xe, O as Ze, Q as Qe, R as $e, Y as et, a as tt, at as nt, b as rt, c as it, ct as at, d as ot, et as st, g as ct, h as lt, k as ut, l as dt, lt as ft, m as pt, n as mt, nt as ht, ot as gt, rt as _t, st as vt, t as yt, tt as bt, v as xt, z as St } from "./keys-BeQy64On.js";
11
11
  import { t as Ct } from "./plural-CyxrJXL1.js";
12
12
  import { t as wt } from "./languageName-DEEOhDWI.js";
13
- import { C as Tt, T as Et, b as Dt, h as Ot, m as kt, w as At, x as jt } from "./styleConstants-CgiNKdnc.js";
14
- import { t as Mt } from "./TplModal-BErE8I3p.js";
15
- import { A as Nt, D as Pt, F as Ft, G as It, I as Lt, M as Rt, N as zt, P as Bt, R as Vt, S as Ht, V as Ut, _ as Wt, a as Gt, b as Kt, c as qt, d as Jt, f as Yt, g as Xt, h as Zt, i as Qt, j as $t, k as en, l as tn, m as nn, n as rn, o as an, p as on, r as sn, s as cn, t as ln, u as un, v as dn, x as fn, y as pn } from "./composables-BrzGZQkd.js";
16
- import { a as mn, i as hn, n as gn, o as _n, t as vn } from "./normalizeMergeTagMarkup-fgoVMKAc.js";
17
- import { t as yn } from "./aiErrors-C3QEMB0x.js";
18
- import { n as bn, t as xn } from "./aiImageContext-BQ5mQ6B5.js";
19
- import { i as Sn, n as Cn, o as wn, r as Tn, t as En } from "./useScrollToBlock-DruzlN2h.js";
20
- import { a as Dn } from "./dist-B6ptxfPo.js";
21
- import { t as On } from "./logger-BOu7oEtk.js";
22
- import { t as kn } from "./rotate-ccw-D8j7gXXv.js";
23
- import { t as An } from "./createLucideIcon-CssArtUe.js";
24
- import { t as jn } from "./sparkles-Dc3Undp5.js";
25
- import { t as Mn } from "./WrapperBlock-B1zI7POT.js";
26
- import { t as Nn } from "./package-D2fov5PU.js";
27
- import { t as Pn } from "./blockTypeIcons-Dp540i74.js";
28
- import { t as Fn } from "./templateSettingsFields-cjlP-jdw.js";
29
- import { n as In } from "./smartphone-Co8m0LLg.js";
30
- import { t as Ln } from "./loader-circle-BMc3fVpa.js";
31
- import { t as Rn } from "./message-circle-D_TpvAJh.js";
32
- import { t as zn } from "./send-BLR1b-p5.js";
33
- import { n as Bn, t as Vn } from "./MergeTagModeToggle-D7482NZf.js";
34
- import { t as Hn } from "./eye-DK4--qHk.js";
35
- import { _ as Un, d as Wn, g as Gn } from "./dist-A328tG0Z.js";
36
- import { t as Kn } from "./formatAbsoluteDateTime-Ck2_zXra.js";
37
- import { t as qn } from "./formatRelativeTime-BTD8Ktt-.js";
38
- import { t as Jn } from "./check-ErKdPXG6.js";
39
- import { t as Yn } from "./circle-exclamation-point-CIYHx5Tw.js";
40
- import { t as Xn } from "./chevron-down-C_vv5fZE.js";
41
- import { t as Zn } from "./search-CX2JkSHz.js";
42
- import { t as Qn } from "./preRenderCustomBlocks-CgPtlLGL.js";
13
+ import { C as Tt, E as Et, T as Dt, b as Ot, h as kt, m as At, w as jt, x as Mt } from "./styleConstants-Br6CIRoS.js";
14
+ import { t as Nt } from "./TplModal-BIqO0owX.js";
15
+ import { A as Pt, D as Ft, F as It, G as Lt, I as Rt, M as zt, N as Bt, P as Vt, R as Ht, S as Ut, V as Wt, _ as Gt, a as Kt, b as qt, c as Jt, d as Yt, f as Xt, g as Zt, h as Qt, i as $t, j as en, k as tn, l as nn, m as rn, n as an, o as on, p as sn, r as cn, s as ln, t as un, u as dn, v as fn, x as pn, y as mn } from "./composables-DbqKYIRE.js";
16
+ import { a as hn, i as gn, n as _n, o as vn, t as yn } from "./normalizeMergeTagMarkup-fgoVMKAc.js";
17
+ import { t as bn } from "./aiErrors-C3QEMB0x.js";
18
+ import { n as xn, t as Sn } from "./aiImageContext-BQ5mQ6B5.js";
19
+ import { i as Cn, n as wn, o as Tn, r as En, t as Dn } from "./useScrollToBlock-BMF0Dt5l.js";
20
+ import { a as On } from "./dist-B6ptxfPo.js";
21
+ import { t as kn } from "./logger-BOu7oEtk.js";
22
+ import { t as An } from "./refresh-cw-Ryg1j66N.js";
23
+ import { t as jn } from "./rotate-ccw-D8j7gXXv.js";
24
+ import { t as Mn } from "./createLucideIcon-CssArtUe.js";
25
+ import { t as Nn } from "./sparkles-Dc3Undp5.js";
26
+ import { t as Pn } from "./WrapperBlock-BAqgP8hm.js";
27
+ import { t as Fn } from "./package-D2fov5PU.js";
28
+ import { t as In } from "./blockTypeIcons-VX_8UQ21.js";
29
+ import { t as Ln } from "./templateSettingsFields-cjlP-jdw.js";
30
+ import { n as Rn } from "./smartphone-Co8m0LLg.js";
31
+ import { t as zn } from "./loader-circle-BMc3fVpa.js";
32
+ import { t as Bn } from "./message-circle-D_TpvAJh.js";
33
+ import { t as Vn } from "./send-BLR1b-p5.js";
34
+ import { n as Hn, t as Un } from "./MergeTagModeToggle-CL96pI1E.js";
35
+ import { t as Wn } from "./eye-DK4--qHk.js";
36
+ import { _ as Gn, d as Kn, g as qn } from "./dist-A328tG0Z.js";
37
+ import { t as Jn } from "./formatAbsoluteDateTime-Ck2_zXra.js";
38
+ import { t as Yn } from "./formatRelativeTime-BTD8Ktt-.js";
39
+ import { t as Xn } from "./check-ErKdPXG6.js";
40
+ import { t as Zn } from "./circle-exclamation-point-CIYHx5Tw.js";
41
+ import { t as Qn } from "./chevron-down-C_vv5fZE.js";
42
+ import { t as $n } from "./search-CX2JkSHz.js";
43
+ import { t as er } from "./preRenderCustomBlocks-CgPtlLGL.js";
43
44
  // src/utils/resolveTemplateDefaults.ts
44
- var $n = /^[a-z]{2,3}(-[a-z0-9]{2,8})*$/i;
45
- function er(e) {
46
- let t = e.locale?.trim().replace(/_/g, "-"), n = t && $n.test(t) ? { locale: t } : void 0;
45
+ var tr = /^[a-z]{2,3}(-[a-z0-9]{2,8})*$/i;
46
+ function nr(e) {
47
+ let t = e.locale?.trim().replace(/_/g, "-"), n = t && tr.test(t) ? { locale: t } : void 0;
47
48
  if (n || e.templateDefaults) return {
48
49
  ...n,
49
50
  ...e.templateDefaults
50
51
  };
51
52
  }
52
53
  // src/components/NoticeStack.vue
53
- var tr = {}, nr = { 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" };
54
- function rr(e, t) {
55
- return s(), C("div", nr, [i(e.$slots, "default")]);
54
+ var rr = {}, ir = { 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" };
55
+ function ar(e, t) {
56
+ return s(), C("div", ir, [i(e.$slots, "default")]);
56
57
  }
57
- var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
58
+ var or = /*#__PURE__*/ ze(rr, [["render", ar]]), sr = Mn({
58
59
  name: "image-up",
59
60
  size: 24,
60
61
  node: [
@@ -77,7 +78,7 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
77
78
  key: "af1f0g"
78
79
  }]
79
80
  ]
80
- }), or = An({
81
+ }), cr = Mn({
81
82
  name: "layout-template",
82
83
  size: 24,
83
84
  node: [
@@ -106,14 +107,14 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
106
107
  key: "q5h2i8"
107
108
  }]
108
109
  ]
109
- }), sr = An({
110
+ }), lr = Mn({
110
111
  name: "moon",
111
112
  size: 24,
112
113
  node: [["path", {
113
114
  d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",
114
115
  key: "kfwtm"
115
116
  }]]
116
- }), cr = An({
117
+ }), ur = Mn({
117
118
  name: "panel-top",
118
119
  size: 24,
119
120
  node: [["rect", {
@@ -127,7 +128,7 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
127
128
  d: "M3 9h18",
128
129
  key: "1pudct"
129
130
  }]]
130
- }), lr = An({
131
+ }), dr = Mn({
131
132
  name: "save",
132
133
  size: 24,
133
134
  node: [
@@ -144,7 +145,7 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
144
145
  key: "t51u73"
145
146
  }]
146
147
  ]
147
- }), ur = An({
148
+ }), fr = Mn({
148
149
  name: "settings",
149
150
  size: 24,
150
151
  node: [["path", {
@@ -156,7 +157,7 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
156
157
  r: "3",
157
158
  key: "1v7zrd"
158
159
  }]]
159
- }), dr = An({
160
+ }), pr = Mn({
160
161
  name: "square-plus",
161
162
  size: 24,
162
163
  node: [
@@ -178,7 +179,7 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
178
179
  }]
179
180
  ],
180
181
  aliases: ["plus-square"]
181
- }), fr = An({
182
+ }), mr = Mn({
182
183
  name: "sun",
183
184
  size: 24,
184
185
  node: [
@@ -221,29 +222,29 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
221
222
  key: "1shlcs"
222
223
  }]
223
224
  ]
224
- }), pr = {
225
+ }), hr = {
225
226
  key: 0,
226
227
  "data-testid": "language-bar",
227
228
  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)]"
228
- }, mr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-between tpl:gap-x-6 tpl:gap-y-2" }, hr = { 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" }, gr = {
229
+ }, gr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-between tpl:gap-x-6 tpl:gap-y-2" }, _r = { 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" }, vr = {
229
230
  "data-testid": "language-bar-label",
230
231
  class: "tpl:inline-flex tpl:items-center tpl:gap-2 tpl:font-medium tpl:whitespace-nowrap tpl:text-[var(--tpl-text)]"
231
- }, _r = {
232
+ }, yr = {
232
233
  "data-testid": "language-bar-status",
233
234
  role: "status",
234
235
  "aria-live": "polite",
235
236
  "aria-atomic": "true",
236
237
  class: "tpl:whitespace-nowrap"
237
- }, vr = {
238
+ }, br = {
238
239
  key: 1,
239
240
  "data-testid": "translation-result",
240
241
  class: "tpl:whitespace-normal"
241
- }, yr = ["aria-label"], br = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-2" }, xr = ["disabled"], Sr = ["disabled"], Cr = {
242
+ }, xr = ["aria-label"], Sr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-2" }, Cr = ["disabled"], wr = ["disabled"], Tr = {
242
243
  key: 0,
243
244
  "data-testid": "structure-notice",
244
245
  role: "status",
245
246
  class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-2"
246
- }, wr = ["aria-label"], Tr = ["aria-label"], Er = { class: "tpl:m-0 tpl:mb-4 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Dr = { class: "tpl:mb-4 tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Or = { class: "tpl:flex tpl:flex-wrap tpl:justify-end tpl:gap-2" }, kr = ["disabled"], Ar = /* @__PURE__ */ new Set(), jr = /* @__PURE__ */ R({
247
+ }, Er = ["aria-label"], Dr = ["aria-label"], Or = { class: "tpl:m-0 tpl:mb-4 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, kr = { class: "tpl:mb-4 tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Ar = { class: "tpl:flex tpl:flex-wrap tpl:justify-end tpl:gap-2" }, jr = ["disabled"], Mr = /* @__PURE__ */ new Set(), Nr = /* @__PURE__ */ R({
247
248
  __name: "LanguageBar",
248
249
  props: {
249
250
  editor: {},
@@ -252,7 +253,7 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
252
253
  change: {}
253
254
  },
254
255
  setup(e) {
255
- let n = e, { t: r, format: i } = $(), o = L(rt, void 0) ?? "en", l = L(ut, []), d = y(() => Z(n.editor.content.value)), f = y(() => n.editor.activeLocale?.value ?? d.value), p = y(() => n.locales.includes(f.value)), m = L(yt, null) ?? We(n.editor, l), g = y(() => p.value ? !m.value?.missing.length && !m.value?.stale.length ? r.localization.complete : i(r.localization.gapTooltip, {
256
+ let n = e, { t: r, format: i } = $(), o = L(gt, void 0) ?? "en", l = L(lt, []), d = y(() => Z(n.editor.content.value)), f = y(() => n.editor.activeLocale?.value ?? d.value), p = y(() => n.locales.includes(f.value)), m = L(yt, null) ?? We(n.editor, l), g = y(() => p.value ? !m.value?.missing.length && !m.value?.stale.length ? r.localization.complete : i(r.localization.gapTooltip, {
256
257
  missing: m.value.missing.length,
257
258
  stale: m.value.stale.length
258
259
  }) : i(r.localization.languageReadOnly, { language: wt(f.value) })), _ = y(() => {
@@ -281,67 +282,67 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
281
282
  D.value && N();
282
283
  }), t(() => n.change, () => {
283
284
  let e = n.editor.state.template?.id;
284
- (e ? Ar.has(e) : E) || (e ? Ar.add(e) : E = !0, T.value = !0);
285
- }), (t, n) => f.value === d.value ? x("", !0) : (s(), C("div", pr, [
286
- O("div", mr, [O("div", hr, [
287
- O("span", gr, [v(b(Be), {
285
+ (e ? Mr.has(e) : E) || (e ? Mr.add(e) : E = !0, T.value = !0);
286
+ }), (t, n) => f.value === d.value ? x("", !0) : (s(), C("div", hr, [
287
+ O("div", gr, [O("div", _r, [
288
+ O("span", vr, [v(b(Be), {
288
289
  size: 14,
289
290
  "aria-hidden": "true",
290
291
  class: "tpl:shrink-0"
291
292
  }), w(" " + a(b(i)(b(r).localization.editingLanguage, { language: b(wt)(f.value) })), 1)]),
292
- O("span", _r, [e.feature?.running.value ? (s(), C(M, { key: 0 }, [w(a(b(i)(b(r).localization.translating, e.feature.running.value)), 1)], 64)) : e.feature?.lastResult.value ? (s(), C("span", vr, a(_.value), 1)) : (s(), C(M, { key: 2 }, [w(a(g.value), 1)], 64))]),
293
+ O("span", yr, [e.feature?.running.value ? (s(), C(M, { key: 0 }, [w(a(b(i)(b(r).localization.translating, e.feature.running.value)), 1)], 64)) : e.feature?.lastResult.value ? (s(), C("span", br, a(_.value), 1)) : (s(), C(M, { key: 2 }, [w(a(g.value), 1)], 64))]),
293
294
  e.feature?.lastResult.value && !e.feature.running.value ? (s(), C("button", {
294
295
  key: 0,
295
296
  type: "button",
296
297
  "data-testid": "translation-dismiss",
297
298
  "aria-label": b(r).localization.dismiss,
298
- class: c(b(kt)),
299
+ class: c(b(At)),
299
300
  onClick: n[0] ||= (t) => e.feature.dismissResult()
300
301
  }, [v(b(He), {
301
302
  size: 14,
302
303
  "aria-hidden": "true"
303
- })], 10, yr)) : x("", !0)
304
- ]), O("div", br, [
304
+ })], 10, xr)) : x("", !0)
305
+ ]), O("div", Sr, [
305
306
  e.feature?.running.value ? (s(), C("button", {
306
307
  key: 0,
307
308
  type: "button",
308
309
  "data-testid": "translation-cancel",
309
- class: c(b(kt)),
310
+ class: c(b(At)),
310
311
  onClick: n[1] ||= (t) => e.feature.cancel()
311
312
  }, a(b(r).localization.cancel), 3)) : x("", !0),
312
313
  p.value && e.feature?.isAvailable.value ? (s(), C(M, { key: 1 }, [e.feature.counts.value.gaps > 0 ? (s(), C("button", {
313
314
  key: 0,
314
315
  type: "button",
315
316
  "data-testid": "translate-language",
316
- class: c(b(jt)),
317
+ class: c(b(Mt)),
317
318
  disabled: !!e.feature.running.value,
318
319
  onClick: n[2] ||= (t) => e.feature.translate({ only: "gaps" })
319
- }, a(b(Ct)(b(r).localization.translateFields, e.feature.counts.value.gaps, b(o))), 11, xr)) : x("", !0), O("button", {
320
+ }, a(b(Ct)(b(r).localization.translateFields, e.feature.counts.value.gaps, b(o))), 11, Cr)) : x("", !0), O("button", {
320
321
  ref_key: "allAgain",
321
322
  ref: k,
322
323
  type: "button",
323
324
  "data-testid": "translate-all-again",
324
- class: c(b(kt)),
325
+ class: c(b(At)),
325
326
  disabled: !!e.feature.running.value || A.value === 0,
326
327
  onClick: P
327
- }, a(b(r).localization.translateAllAgain), 11, Sr)], 64)) : x("", !0),
328
+ }, a(b(r).localization.translateAllAgain), 11, wr)], 64)) : x("", !0),
328
329
  O("button", {
329
330
  type: "button",
330
331
  "data-testid": "language-back-default",
331
- class: c(b(kt)),
332
+ class: c(b(At)),
332
333
  onClick: n[3] ||= (t) => e.editor.setActiveLocale?.(null)
333
334
  }, a(b(i)(b(r).localization.backToDefault, { default: b(wt)(d.value) })), 3)
334
335
  ])]),
335
- T.value ? (s(), C("div", Cr, [O("span", null, a(b(r).localization.structureNotice), 1), O("button", {
336
+ T.value ? (s(), C("div", Tr, [O("span", null, a(b(r).localization.structureNotice), 1), O("button", {
336
337
  type: "button",
337
338
  "aria-label": b(r).localization.dismiss,
338
- class: c(b(kt)),
339
+ class: c(b(At)),
339
340
  onClick: n[4] ||= (e) => T.value = !1
340
341
  }, [v(b(He), {
341
342
  size: 14,
342
343
  "aria-hidden": "true"
343
- })], 10, wr)])) : x("", !0),
344
- v(Mt, {
344
+ })], 10, Er)])) : x("", !0),
345
+ v(Nt, {
345
346
  visible: D.value !== null,
346
347
  onClose: N
347
348
  }, {
@@ -351,9 +352,9 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
351
352
  "aria-label": j.value,
352
353
  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)]"
353
354
  }, [
354
- O("h3", Er, a(j.value), 1),
355
- O("p", Dr, a(b(i)(b(r).localization.translationDescription, { language: b(wt)(D.value?.locale ?? f.value) })), 1),
356
- O("div", Or, [O("button", {
355
+ O("h3", Or, a(j.value), 1),
356
+ O("p", kr, a(b(i)(b(r).localization.translationDescription, { language: b(wt)(D.value?.locale ?? f.value) })), 1),
357
+ O("div", Ar, [O("button", {
357
358
  type: "button",
358
359
  "data-testid": "translation-confirm-cancel",
359
360
  class: c(b(Tt)),
@@ -361,18 +362,18 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
361
362
  }, a(b(r).localization.cancel), 3), O("button", {
362
363
  type: "button",
363
364
  "data-testid": "translation-confirm",
364
- class: c(b(Dt)),
365
+ class: c(b(Ot)),
365
366
  disabled: !!e.feature?.running.value || !e.feature?.isAvailable.value || A.value === 0,
366
367
  onClick: F
367
- }, a(b(Ct)(b(r).localization.translateAllFields, A.value, b(o))), 11, kr)])
368
- ], 8, Tr)]),
368
+ }, a(b(Ct)(b(r).localization.translateAllFields, A.value, b(o))), 11, jr)])
369
+ ], 8, Dr)]),
369
370
  _: 1
370
371
  }, 8, ["visible"])
371
372
  ]));
372
373
  }
373
374
  });
374
375
  // src/composables/useLocaleActions.ts
375
- function Mr(e) {
376
+ function Pr(e) {
376
377
  let { editor: t } = e;
377
378
  return { setDefaultLocale(n) {
378
379
  let r;
@@ -393,7 +394,7 @@ function Mr(e) {
393
394
  } };
394
395
  }
395
396
  // src/composables/useTranslationFeature.ts
396
- function Nr(e) {
397
+ function Fr(e) {
397
398
  if (typeof e != "object" || !e) return null;
398
399
  let t = e;
399
400
  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 : {
@@ -402,24 +403,24 @@ function Nr(e) {
402
403
  ...t.statusCode === void 0 ? {} : { statusCode: t.statusCode }
403
404
  };
404
405
  }
405
- function Pr(e) {
406
+ function Ir(e) {
406
407
  let t = /* @__PURE__ */ new Set();
407
408
  if (typeof DOMParser > "u") return t;
408
409
  let n = new DOMParser().parseFromString(e, "text/html");
409
410
  for (let e of n.querySelectorAll("[style]")) t.add(e.getAttribute("style") ?? "");
410
411
  return t;
411
412
  }
412
- function Fr(e, t) {
413
- let n = Pr(t);
414
- return [...Pr(e)].every((e) => n.has(e));
413
+ function Lr(e, t) {
414
+ let n = Ir(t);
415
+ return [...Ir(e)].every((e) => n.has(e));
415
416
  }
416
- function Ir(e) {
417
+ function Rr(e) {
417
418
  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 = Ve(r);
418
419
  return n.forEach((e, n) => {
419
420
  i = i.replaceAll(`${t}${n + 1}-end`, e);
420
421
  }), i;
421
422
  }
422
- async function Lr(e, t) {
423
+ async function zr(e, t) {
423
424
  t.throwIfAborted();
424
425
  let n, r = new Promise((e, r) => {
425
426
  n = () => r(t.reason), t.addEventListener("abort", n, { once: !0 });
@@ -430,7 +431,7 @@ async function Lr(e, t) {
430
431
  t.removeEventListener("abort", n);
431
432
  }
432
433
  }
433
- function Rr(e) {
434
+ function Br(e) {
434
435
  let { editor: n } = e, r = A(null), i = A(null), a = null, o = A(!1), s = y(() => {
435
436
  let t = n.activeLocale.value;
436
437
  return !o.value && !!t && t !== Z(n.content.value) && !!e.localization?.locales.includes(t) && !!n.content.value.settings.locales?.includes(t);
@@ -506,7 +507,7 @@ function Rr(e) {
506
507
  }
507
508
  let i;
508
509
  try {
509
- i = await Lr(e.provider.translate({
510
+ i = await zr(e.provider.translate({
510
511
  templateId: l,
511
512
  sourceLocale: u,
512
513
  targetLocale: c,
@@ -517,7 +518,7 @@ function Rr(e) {
517
518
  }))
518
519
  }, g.controller.signal), g.controller.signal), g.controller.signal.throwIfAborted();
519
520
  } catch (e) {
520
- if (!g.controller.signal.aborted && Nr(e)?.code === "content_too_large" && t.length > 1) {
521
+ if (!g.controller.signal.aborted && Fr(e)?.code === "content_too_large" && t.length > 1) {
521
522
  y = Math.floor(t.length / 2);
522
523
  continue;
523
524
  }
@@ -530,9 +531,9 @@ function Rr(e) {
530
531
  continue;
531
532
  }
532
533
  let n = m.tokens[e.id], r = Me(t.text, n);
533
- r === null || e.format === "html" && !Fr(r, Me(e.source, n)) ? h.tagsChanged.push(e.id) : _.push({
534
+ r === null || e.format === "html" && !Lr(r, Me(e.source, n)) ? h.tagsChanged.push(e.id) : _.push({
534
535
  id: e.id,
535
- text: e.format === "html" ? Ir(t.text) : t.text,
536
+ text: e.format === "html" ? Rr(t.text) : t.text,
536
537
  sourceHash: e.sourceHash
537
538
  });
538
539
  }
@@ -543,8 +544,8 @@ function Rr(e) {
543
544
  }
544
545
  } catch (e) {
545
546
  g.controller.signal.aborted || e instanceof Error && e.name === "AbortError" ? h.cancelled = !0 : h.error = {
546
- code: Nr(e)?.code ?? "translation_failed",
547
- message: Nr(e)?.message ?? (e instanceof Error ? e.message : String(e))
547
+ code: Fr(e)?.code ?? "translation_failed",
548
+ message: Fr(e)?.message ?? (e instanceof Error ? e.message : String(e))
548
549
  };
549
550
  }
550
551
  try {
@@ -593,12 +594,12 @@ function Rr(e) {
593
594
  };
594
595
  }
595
596
  // src/composables/useCollaborationFeature.ts
596
- var zr = 5e3, Br = 2e3, Vr = {
597
+ var Vr = 5e3, Hr = 2e3, Ur = {
597
598
  blockIds: [],
598
599
  settings: !1,
599
600
  templateUpdated: !0
600
601
  };
601
- function Hr(e) {
602
+ function Wr(e) {
602
603
  let t = /* @__PURE__ */ new Set(), n = !1, r = !1;
603
604
  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);
604
605
  return {
@@ -607,11 +608,11 @@ function Hr(e) {
607
608
  templateUpdated: r
608
609
  };
609
610
  }
610
- function Ur(e) {
611
+ function Gr(e) {
611
612
  let t = S([]), n = 1, r = /* @__PURE__ */ new Map();
612
613
  function i(e) {
613
614
  let t = r.get(e);
614
- t && clearTimeout(t), r.set(e, setTimeout(() => o(e), zr));
615
+ t && clearTimeout(t), r.set(e, setTimeout(() => o(e), Vr));
615
616
  }
616
617
  function a(e) {
617
618
  let r = n++;
@@ -649,7 +650,7 @@ function Ur(e) {
649
650
  u.delete(r);
650
651
  let e = new Map(l.value);
651
652
  e.delete(r), l.value = e;
652
- }, Br));
653
+ }, Hr));
653
654
  }
654
655
  l.value = n;
655
656
  }
@@ -693,15 +694,15 @@ function Ur(e) {
693
694
  let m = ee({
694
695
  provider: e.provider,
695
696
  loadTemplate: e.loadTemplate,
696
- normalizeRemoteOperations: (t, n) => hn(t, n, e.mergeTags),
697
+ normalizeRemoteOperations: (t, n) => gn(t, n, e.mergeTags),
697
698
  onRemoteChange: (t) => {
698
699
  try {
699
- p(t.actor, Hr(t.ops));
700
+ p(t.actor, Wr(t.ops));
700
701
  } finally {
701
702
  e.onRemoteChange?.(t);
702
703
  }
703
704
  },
704
- onRemoteResync: ({ actor: e }) => p(e, Vr),
705
+ onRemoteResync: ({ actor: e }) => p(e, Ur),
705
706
  onNotice: s,
706
707
  onError: e.onError
707
708
  });
@@ -763,7 +764,7 @@ function Ur(e) {
763
764
  };
764
765
  }
765
766
  // src/composables/useCommentsFeature.ts
766
- function Wr(e) {
767
+ function Kr(e) {
767
768
  let { provider: n, editor: r } = e, i = Y({
768
769
  provider: n,
769
770
  getTemplateId: () => r.state.template?.id ?? null,
@@ -816,22 +817,22 @@ function Wr(e) {
816
817
  };
817
818
  }
818
819
  // src/composables/useAiFeature.ts
819
- var Gr = 3e3, Kr = 1e3;
820
- function qr(e) {
820
+ var qr = 3e3, Jr = 1e3;
821
+ function Yr(e) {
821
822
  return we(N(e));
822
823
  }
823
- var Jr = (e) => e instanceof Error && e.name === "AbortError";
824
- function Yr(e) {
824
+ var Xr = (e) => e instanceof Error && e.name === "AbortError";
825
+ function Zr(e) {
825
826
  if (e instanceof Error) return e;
826
827
  if (typeof e != "object" || !e) return Error(String(e));
827
828
  let t = e;
828
829
  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 });
829
830
  }
830
- var Xr = (e) => e.batches.reduce((e, t) => e + t.operationCount, 0);
831
- function Zr(e, t) {
832
- return e.some((e) => e.id === t || e.type === "section" && Array.isArray(e.children) && e.children.some((e) => Array.isArray(e) && Zr(e, t)));
831
+ var Qr = (e) => e.batches.reduce((e, t) => e + t.operationCount, 0);
832
+ function $r(e, t) {
833
+ return e.some((e) => e.id === t || e.type === "section" && Array.isArray(e.children) && e.children.some((e) => Array.isArray(e) && $r(e, t)));
833
834
  }
834
- function Qr(e) {
835
+ function ei(e) {
835
836
  return {
836
837
  applied: !1,
837
838
  code: e.code,
@@ -839,7 +840,7 @@ function Qr(e) {
839
840
  message: e.message
840
841
  };
841
842
  }
842
- function $r(e) {
843
+ function ti(e) {
843
844
  let { provider: n, editor: r, collaboration: i } = e, a = n.conversation ?? null, o = crypto.randomUUID(), s = S(null), c = /* @__PURE__ */ new Map(), l = !1, u = 0, d = !1, f = 0, p = null, m = j();
844
845
  function h(e) {
845
846
  let t = ee(e);
@@ -956,7 +957,7 @@ function $r(e) {
956
957
  e.timers.add(r);
957
958
  }
958
959
  function q(t) {
959
- Jr(t) || e.onError?.(Yr(t));
960
+ Xr(t) || e.onError?.(Zr(t));
960
961
  }
961
962
  function Y(e, t) {
962
963
  if (t.length === 0) return;
@@ -970,10 +971,10 @@ function $r(e) {
970
971
  let r = new Map(e.highlights.value);
971
972
  for (let e of t) r.get(e) === n && r.delete(e);
972
973
  e.highlights.value = r;
973
- }, Br);
974
+ }, Hr);
974
975
  }
975
976
  async function te(e) {
976
- i && await Promise.race([i.core.settle().catch(() => {}), new Promise((t) => K(e, t, Gr))]);
977
+ i && await Promise.race([i.core.settle().catch(() => {}), new Promise((t) => K(e, t, qr))]);
977
978
  }
978
979
  function ne(t) {
979
980
  let n = N(r.content.value), a = r.activeLocale?.value ?? null, s = Fe(n, a ?? Z(n));
@@ -989,7 +990,7 @@ function $r(e) {
989
990
  }
990
991
  function re() {
991
992
  let e = r.state.selectedBlockId;
992
- return e ? i ? i.core.hasConfirmedBlock(e) ? e : null : Zr(r.content.value.blocks, e) ? e : null : null;
993
+ return e ? i ? i.core.hasConfirmedBlock(e) ? e : null : $r(r.content.value.blocks, e) ? e : null : null;
993
994
  }
994
995
  function ie(t, n, a) {
995
996
  if (t.length === 0) return {
@@ -1000,14 +1001,14 @@ function $r(e) {
1000
1001
  try {
1001
1002
  o = e.normalize(t, N(r.content.value));
1002
1003
  } catch (e) {
1003
- if (e instanceof ke) return Qr(e);
1004
+ if (e instanceof ke) return ei(e);
1004
1005
  throw e;
1005
1006
  }
1006
1007
  if (o.length === 0) return {
1007
1008
  applied: !0,
1008
1009
  inverse: []
1009
1010
  };
1010
- let s = Hr(o);
1011
+ let s = Wr(o);
1011
1012
  if (i) {
1012
1013
  let e = i.core.applyOperations(o, {
1013
1014
  origin: "ai",
@@ -1016,13 +1017,13 @@ function $r(e) {
1016
1017
  return e.applied ? (s.templateUpdated || Y(a, s.blockIds), {
1017
1018
  applied: !0,
1018
1019
  inverse: e.inverse
1019
- }) : Qr(e.error);
1020
+ }) : ei(e.error);
1020
1021
  }
1021
1022
  let c;
1022
1023
  try {
1023
1024
  c = Le(N(r.content.value), o);
1024
1025
  } catch (e) {
1025
- if (e instanceof ke) return Qr(e);
1026
+ if (e instanceof ke) return ei(e);
1026
1027
  throw e;
1027
1028
  }
1028
1029
  a.lastRecordedTurn !== n && (e.history().record(), a.lastRecordedTurn = n), d = !0;
@@ -1032,7 +1033,7 @@ function $r(e) {
1032
1033
  d = !1;
1033
1034
  }
1034
1035
  let l = r.state.selectedBlockId;
1035
- return l && !Zr(r.content.value.blocks, l) && r.selectBlock(null), s.templateUpdated || Y(a, s.blockIds), {
1036
+ return l && !$r(r.content.value.blocks, l) && r.selectBlock(null), s.templateUpdated || Y(a, s.blockIds), {
1036
1037
  applied: !0,
1037
1038
  inverse: c
1038
1039
  };
@@ -1045,7 +1046,7 @@ function $r(e) {
1045
1046
  o = J(N(r.content.value), a, t, e.customBlockDefinitions?.());
1046
1047
  }
1047
1048
  } catch (e) {
1048
- if (e instanceof ke) return Qr(e);
1049
+ if (e instanceof ke) return ei(e);
1049
1050
  throw e;
1050
1051
  }
1051
1052
  let s = ie(o, n, i);
@@ -1061,7 +1062,7 @@ function $r(e) {
1061
1062
  let n = i.core;
1062
1063
  n.revision.value >= e || (n.connection.value === "connected" ? K(t, () => {
1063
1064
  E(t) && n.revision.value < e && n.catchUp();
1064
- }, Kr) : n.catchUp());
1065
+ }, Jr) : n.catchUp());
1065
1066
  }
1066
1067
  function se(e, t, n) {
1067
1068
  let r = e.memory;
@@ -1133,12 +1134,12 @@ function $r(e) {
1133
1134
  },
1134
1135
  onOperations: async (e) => {
1135
1136
  U(d), C(c);
1136
- let t = i ? qr(r.content.value) : null, n = ae(e, m, u, l);
1137
- return n.applied && n.inverse.length > 0 && (x.inverse = [...n.inverse, ...x.inverse], i && (x.view = x.view === void 0 || x.view !== null && Oe(x.view, t) ? qr(r.content.value) : null), _ += e.length, D({ operationCount: _ })), n;
1137
+ let t = i ? Yr(r.content.value) : null, n = ae(e, m, u, l);
1138
+ return n.applied && n.inverse.length > 0 && (x.inverse = [...n.inverse, ...x.inverse], i && (x.view = x.view === void 0 || x.view !== null && Oe(x.view, t) ? Yr(r.content.value) : null), _ += e.length, D({ operationCount: _ })), n;
1138
1139
  },
1139
1140
  onApplied: (t) => {
1140
1141
  if (!E(u)) throw new DOMException("The template changed.", "AbortError");
1141
- if (!i && !e.reload) throw b ??= new Q(yn, 502, "ai_provider_error"), b;
1142
+ if (!i && !e.reload) throw b ??= new Q(bn, 502, "ai_provider_error"), b;
1142
1143
  x.serverApplied = !0, x.batchIds.add(t.batchId), _ += t.operationCount, D({ operationCount: _ }), oe(t.revision, u), w && (O(), k());
1143
1144
  }
1144
1145
  };
@@ -1197,8 +1198,8 @@ function $r(e) {
1197
1198
  };
1198
1199
  } catch (e) {
1199
1200
  let r = b ?? e;
1200
- y = f.signal.aborted || Jr(r), y || q(r), _ === 0 && (!y || v === "") ? (p.items = p.items.filter((e) => e.id !== g && e.id !== h), E(u) && (u.messages.value = p.items, y || (t === "chat" && (u.failedPrompt.value = n, u.failedAttachments.value = s), u.failure.value = {
1201
- error: Yr(r),
1201
+ y = f.signal.aborted || Xr(r), y || q(r), _ === 0 && (!y || v === "") ? (p.items = p.items.filter((e) => e.id !== g && e.id !== h), E(u) && (u.messages.value = p.items, y || (t === "chat" && (u.failedPrompt.value = n, u.failedAttachments.value = s), u.failure.value = {
1202
+ error: Zr(r),
1202
1203
  context: "turn"
1203
1204
  })), S = {
1204
1205
  messageId: null,
@@ -1208,7 +1209,7 @@ function $r(e) {
1208
1209
  }) : (D({
1209
1210
  status: y ? "done" : "failed",
1210
1211
  failure: y ? void 0 : {
1211
- error: Yr(r),
1212
+ error: Zr(r),
1212
1213
  context: "turn"
1213
1214
  }
1214
1215
  }), S = {
@@ -1264,7 +1265,7 @@ function $r(e) {
1264
1265
  } catch (e) {
1265
1266
  if (!E(s)) return;
1266
1267
  q(e), se(s, t, { failure: {
1267
- error: Yr(e),
1268
+ error: Zr(e),
1268
1269
  context: n
1269
1270
  } });
1270
1271
  }
@@ -1280,7 +1281,7 @@ function $r(e) {
1280
1281
  failure: void 0
1281
1282
  }), i) oe(r.applied.revision, s);
1282
1283
  else if (e.reload) await G(c, !0);
1283
- else throw new Q(yn, 502, "ai_provider_error");
1284
+ else throw new Q(bn, 502, "ai_provider_error");
1284
1285
  return;
1285
1286
  }
1286
1287
  {
@@ -1293,16 +1294,16 @@ function $r(e) {
1293
1294
  code: a.code,
1294
1295
  opIndex: a.opIndex
1295
1296
  });
1296
- n === "undo" ? f.redo = a.inverse : f.inverse = a.inverse, i && (f.view = qr(r.content.value));
1297
+ n === "undo" ? f.redo = a.inverse : f.inverse = a.inverse, i && (f.view = Yr(r.content.value));
1297
1298
  }
1298
1299
  se(s, t, {
1299
1300
  undone: n === "undo",
1300
1301
  failure: void 0
1301
1302
  });
1302
1303
  } catch (e) {
1303
- if (!E(s) || Jr(e)) return;
1304
+ if (!E(s) || Xr(e)) return;
1304
1305
  q(e), se(s, t, { failure: {
1305
- error: Yr(e),
1306
+ error: Zr(e),
1306
1307
  context: n
1307
1308
  } });
1308
1309
  }
@@ -1316,7 +1317,7 @@ function $r(e) {
1316
1317
  locale: e.locale,
1317
1318
  text: e.text,
1318
1319
  attachments: e.attachments ?? [],
1319
- operationCount: Xr(e),
1320
+ operationCount: Qr(e),
1320
1321
  undone: e.undone,
1321
1322
  canUndo: !1,
1322
1323
  canRedo: !1,
@@ -1367,9 +1368,9 @@ function $r(e) {
1367
1368
  !l && o.generation === i.generation && r === i.historyGeneration && (n || E(i) && !e.controller.signal.aborted) && (o.items = X(t, o), i.messages.value = o.items, i.loaded = !0, i.failure.value?.context === "history" && (i.failure.value = null));
1368
1369
  }), n ? i.lifetime.signal : e.controller.signal);
1369
1370
  } catch (e) {
1370
- if (!E(i) || r !== i.historyGeneration || Jr(e)) return;
1371
+ if (!E(i) || r !== i.historyGeneration || Xr(e)) return;
1371
1372
  q(e), i.failure.value = {
1372
- error: Yr(e),
1373
+ error: Zr(e),
1373
1374
  context: "history"
1374
1375
  };
1375
1376
  } finally {
@@ -1398,7 +1399,7 @@ function $r(e) {
1398
1399
  } catch (t) {
1399
1400
  if (!E(e)) return;
1400
1401
  q(t), e.failure.value = {
1401
- error: Yr(t),
1402
+ error: Zr(t),
1402
1403
  context: "history"
1403
1404
  };
1404
1405
  }
@@ -1463,7 +1464,7 @@ function $r(e) {
1463
1464
  let s = b, c = T(), l = n.altText, u = new AbortController(), d = () => u.abort(a?.reason), f = () => u.abort();
1464
1465
  try {
1465
1466
  if (a?.throwIfAborted(), !c || typeof l != "function") throw new Q("This AI feature isn't available.", 403, "feature_unavailable");
1466
- let n = N(r.content.value), p = r.activeLocale?.value ?? null, m = Fe(n, p ?? Z(n)), h = xn(m, t);
1467
+ let n = N(r.content.value), p = r.activeLocale?.value ?? null, m = Fe(n, p ?? Z(n)), h = Sn(m, t);
1467
1468
  if (!h) throw new Q("The image is no longer available.", 409, "block_missing");
1468
1469
  a?.addEventListener("abort", d, { once: !0 }), c.lifetime.signal.addEventListener("abort", f, { once: !0 });
1469
1470
  let { url: g, ..._ } = h, v = await W(l({
@@ -1489,7 +1490,7 @@ function $r(e) {
1489
1490
  let i = r.activeLocale?.value ?? null, a = N(r.content.value), o = Fe(a, i ?? Z(a)), s = e.map(({ blockId: e, alt: t, decorative: n, expect: r }) => ({
1490
1491
  op: "updateBlock",
1491
1492
  blockId: e,
1492
- expect: { ...r ?? bn(o, e) ?? {
1493
+ expect: { ...r ?? xn(o, e) ?? {
1493
1494
  src: null,
1494
1495
  alt: null,
1495
1496
  decorative: null
@@ -1618,56 +1619,56 @@ function $r(e) {
1618
1619
  };
1619
1620
  }
1620
1621
  // src/utils/aiMergeTags.ts
1621
- var ei = {
1622
+ var ni = {
1622
1623
  tags: 500,
1623
1624
  value: 200,
1624
1625
  label: 100,
1625
1626
  group: 100,
1626
1627
  description: 200
1627
1628
  };
1628
- function ti(e, t) {
1629
+ function ri(e, t) {
1629
1630
  let n = Array.from(e);
1630
1631
  return n.length > t ? n.slice(0, t).join("") : e;
1631
1632
  }
1632
- function ni(e) {
1633
+ function ii(e) {
1633
1634
  return je(e) ?? "custom";
1634
1635
  }
1635
- function ri(e, t) {
1636
+ function ai(e, t) {
1636
1637
  let n = [];
1637
1638
  for (let t of e) {
1638
- if (n.length === ei.tags) break;
1639
+ if (n.length === ni.tags) break;
1639
1640
  let e = typeof t?.value == "string" ? t.value : "";
1640
- if (e === "" || Array.from(e).length > ei.value) continue;
1641
+ if (e === "" || Array.from(e).length > ni.value) continue;
1641
1642
  let r = typeof t.label == "string" && t.label !== "" ? t.label : e;
1642
1643
  n.push({
1643
1644
  value: e,
1644
- label: ti(r, ei.label),
1645
- ...typeof t.group == "string" && t.group !== "" ? { group: ti(t.group, ei.group) } : {},
1646
- ...typeof t.description == "string" && t.description !== "" ? { description: ti(t.description, ei.description) } : {}
1645
+ label: ri(r, ni.label),
1646
+ ...typeof t.group == "string" && t.group !== "" ? { group: ri(t.group, ni.group) } : {},
1647
+ ...typeof t.description == "string" && t.description !== "" ? { description: ri(t.description, ni.description) } : {}
1647
1648
  });
1648
1649
  }
1649
1650
  return {
1650
- syntax: ni(t),
1651
+ syntax: ii(t),
1651
1652
  tags: n
1652
1653
  };
1653
1654
  }
1654
1655
  // src/composables/useMediaFeature.ts
1655
- function ii(e) {
1656
+ function oi(e) {
1656
1657
  return e instanceof Error ? e : Error(String(e));
1657
1658
  }
1658
- function ai(e, t, n) {
1659
+ function si(e, t, n) {
1659
1660
  let r = e.maxFileSize ?? Infinity;
1660
1661
  if (t.size > r) return /* @__PURE__ */ Error(`Image is too large (${t.size} bytes). Maximum allowed is ${r} bytes.`);
1661
1662
  let i = e.mimeTypes;
1662
1663
  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"}.`);
1663
1664
  }
1664
- function oi(e) {
1665
+ function ci(e) {
1665
1666
  let { provider: t, onRequestMedia: n, getTemplateId: r, onError: i } = e, a = S(!1), o = S(void 0), s = y(() => r?.()), c = y(() => !!n || typeof t?.create == "function"), l = null;
1666
1667
  function u(e) {
1667
1668
  a.value = !1, l?.(e), l = null;
1668
1669
  }
1669
1670
  function d(e) {
1670
- u(si(e));
1671
+ u(li(e));
1671
1672
  }
1672
1673
  function f() {
1673
1674
  u(null);
@@ -1680,7 +1681,7 @@ function oi(e) {
1680
1681
  if (!t) return null;
1681
1682
  if (e?.files?.length) {
1682
1683
  if (typeof t.create != "function") return null;
1683
- let n = e.files[0], a = ai(t, n, e.accept);
1684
+ let n = e.files[0], a = si(t, n, e.accept);
1684
1685
  if (a) return i?.(a), null;
1685
1686
  let o = r?.();
1686
1687
  try {
@@ -1691,11 +1692,11 @@ function oi(e) {
1691
1692
  try {
1692
1693
  t.onCreated?.(e);
1693
1694
  } catch (e) {
1694
- i?.(ii(e));
1695
+ i?.(oi(e));
1695
1696
  }
1696
- return si(e);
1697
+ return li(e);
1697
1698
  } catch (e) {
1698
- return i?.(ii(e)), null;
1699
+ return i?.(oi(e)), null;
1699
1700
  }
1700
1701
  }
1701
1702
  return l &&= (l(null), null), o.value = e?.accept, a.value = !0, new Promise((e) => {
@@ -1711,7 +1712,7 @@ function oi(e) {
1711
1712
  onError: i
1712
1713
  };
1713
1714
  }
1714
- function si(e) {
1715
+ function li(e) {
1715
1716
  let t = re(e.width, e.height);
1716
1717
  return {
1717
1718
  url: e.url,
@@ -1723,7 +1724,7 @@ function si(e) {
1723
1724
  };
1724
1725
  }
1725
1726
  // src/composables/useSavedBlocksFeature.ts
1726
- function ci(e) {
1727
+ function ui(e) {
1727
1728
  let { provider: n, editor: r } = e, i = ne({
1728
1729
  provider: n,
1729
1730
  onError: e.onError
@@ -1768,7 +1769,7 @@ function ci(e) {
1768
1769
  i.load().catch(() => {});
1769
1770
  }
1770
1771
  let w = y(() => i.savedBlocks.value.length), T = y(() => e.isAvailable?.() ?? !0);
1771
- return l(tt, i), {
1772
+ return l(Qe, i), {
1772
1773
  headless: i,
1773
1774
  isPicking: u,
1774
1775
  pickedIds: c,
@@ -1804,11 +1805,11 @@ function ci(e) {
1804
1805
  };
1805
1806
  }
1806
1807
  // src/composables/useTemplatesFeature.ts
1807
- var li = 3e3;
1808
- function ui(e) {
1809
- let { provider: t, editor: n } = e, r = S("idle"), i = S(""), { start: a, stop: o } = Un(() => {
1808
+ var di = 3e3;
1809
+ function fi(e) {
1810
+ let { provider: t, editor: n } = e, r = S("idle"), i = S(""), { start: a, stop: o } = Gn(() => {
1810
1811
  r.value = "idle";
1811
- }, li, { immediate: !1 }), s = y(() => typeof t.create == "function"), c = y(() => typeof t.save == "function"), l = y(() => e.isAvailable?.() ?? !0), u = y(() => n.state.template?.name), d = y(() => {
1812
+ }, di, { immediate: !1 }), s = y(() => typeof t.create == "function"), c = y(() => typeof t.save == "function"), l = y(() => e.isAvailable?.() ?? !0), u = y(() => n.state.template?.name), d = y(() => {
1812
1813
  let e = n.state.template;
1813
1814
  return e?.updatedAt ? {
1814
1815
  iso: e.updatedAt,
@@ -1872,7 +1873,7 @@ function ui(e) {
1872
1873
  let t = e.trim();
1873
1874
  t && t !== n.state.template?.name && (n.setName(t), w("rename"));
1874
1875
  }
1875
- return e.guardUnsavedChanges !== !1 && Dn(window, "beforeunload", (e) => {
1876
+ return e.guardUnsavedChanges !== !1 && On(window, "beforeunload", (e) => {
1876
1877
  n.state.isDirty && (e.preventDefault(), e.returnValue = "");
1877
1878
  }), {
1878
1879
  save: g,
@@ -1906,15 +1907,15 @@ function ui(e) {
1906
1907
  };
1907
1908
  }
1908
1909
  // src/utils/toMjml.ts
1909
- async function di() {
1910
+ async function pi() {
1910
1911
  try {
1911
1912
  return await import("@templatical/renderer");
1912
1913
  } catch {
1913
1914
  return null;
1914
1915
  }
1915
1916
  }
1916
- async function fi(e, t) {
1917
- let n = await di();
1917
+ async function mi(e, t) {
1918
+ let n = await pi();
1918
1919
  if (!n) throw Error("[Templatical] toMjml() requires the @templatical/renderer package. Please install it.");
1919
1920
  let r = e.getCustomBlockStylesheet, i = e.getFonts?.(), a = e.getLayout?.();
1920
1921
  return n.renderToMjml(e.getContent(), {
@@ -1930,11 +1931,11 @@ async function fi(e, t) {
1930
1931
  });
1931
1932
  }
1932
1933
  // src/composables/useTestEmailFeature.ts
1933
- var pi = 1200;
1934
- function mi(e) {
1934
+ var hi = 1200;
1935
+ function gi(e) {
1935
1936
  return e instanceof Error ? e : Error(String(e));
1936
1937
  }
1937
- function hi(e) {
1938
+ function _i(e) {
1938
1939
  let { provider: t } = e, n = S(!1), r = S(!1), i = S(!1), a = S(null), o = null, s = !1;
1939
1940
  function c() {
1940
1941
  o !== null && (clearTimeout(o), o = null);
@@ -1956,8 +1957,8 @@ function hi(e) {
1956
1957
  if (t.includeMjml && e.renderMjml) try {
1957
1958
  return await e.renderMjml();
1958
1959
  } catch (t) {
1959
- if ((e.usesLocalRenderer?.() ?? !0) && await di() === null) {
1960
- s || (s = !0, On.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
1960
+ if ((e.usesLocalRenderer?.() ?? !0) && await pi() === null) {
1961
+ s || (s = !0, kn.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
1961
1962
  return;
1962
1963
  }
1963
1964
  throw t;
@@ -1967,7 +1968,7 @@ function hi(e) {
1967
1968
  try {
1968
1969
  t.onSent?.(n);
1969
1970
  } catch (t) {
1970
- e.onError?.(mi(t));
1971
+ e.onError?.(gi(t));
1971
1972
  }
1972
1973
  }
1973
1974
  async function g(n) {
@@ -1983,9 +1984,9 @@ function hi(e) {
1983
1984
  ...r === void 0 ? {} : { mjml: r },
1984
1985
  ...s === void 0 ? {} : { allowedRecipients: s }
1985
1986
  };
1986
- await t.send(a), i.value = !0, o = setTimeout(p, pi), h(a);
1987
+ await t.send(a), i.value = !0, o = setTimeout(p, hi), h(a);
1987
1988
  } catch (t) {
1988
- let n = mi(t);
1989
+ let n = gi(t);
1989
1990
  a.value = {
1990
1991
  kind: "provider",
1991
1992
  message: n.message
@@ -2013,7 +2014,7 @@ function hi(e) {
2013
2014
  };
2014
2015
  }
2015
2016
  // src/composables/useVersionHistoryFeature.ts
2016
- function gi(e) {
2017
+ function vi(e) {
2017
2018
  let { provider: t, editor: n, history: r, conditionPreview: i, autoSave: a } = e, o = e.collaboration ?? null, s = G({
2018
2019
  provider: t,
2019
2020
  getTemplateId: () => n.state.template?.id ?? null,
@@ -2124,11 +2125,11 @@ function gi(e) {
2124
2125
  };
2125
2126
  }
2126
2127
  // src/types/auto-save.ts
2127
- function _i(e, t) {
2128
+ function yi(e, t) {
2128
2129
  return e ?? t;
2129
2130
  }
2130
2131
  // src/utils/resolveInsertPosition.ts
2131
- function vi(e) {
2132
+ function bi(e) {
2132
2133
  let { blockType: t, selectedBlockId: n, findBlockLocation: r, isBlockLocked: i } = e;
2133
2134
  if (!n) return {};
2134
2135
  let a = r(n);
@@ -2145,8 +2146,8 @@ function vi(e) {
2145
2146
  };
2146
2147
  }
2147
2148
  // src/utils/insertBlockAtSelection.ts
2148
- function yi(e, t) {
2149
- let { targetSectionId: n, columnIndex: r, index: i } = vi({
2149
+ function xi(e, t) {
2150
+ let { targetSectionId: n, columnIndex: r, index: i } = bi({
2150
2151
  blockType: t.type,
2151
2152
  selectedBlockId: e.state.selectedBlockId,
2152
2153
  findBlockLocation: e.findBlockLocation,
@@ -2155,7 +2156,7 @@ function yi(e, t) {
2155
2156
  return e.addBlock(t, n, r, i), e.findBlockLocation(t.id) ? (e.selectBlock(t.id), !0) : !1;
2156
2157
  }
2157
2158
  // src/utils/withCollaborativeSave.ts
2158
- function bi(e, t, n) {
2159
+ function Si(e, t, n) {
2159
2160
  let { save: r, create: i } = e;
2160
2161
  if (typeof r != "function") return e;
2161
2162
  let a = /* @__PURE__ */ new Map(), o = (e) => (a.set(e.id, e.name), e);
@@ -2171,27 +2172,27 @@ function bi(e, t, n) {
2171
2172
  };
2172
2173
  }
2173
2174
  // src/components/Canvas.vue?vue&type=script&setup=true&lang.ts
2174
- var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
2175
+ var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
2175
2176
  key: 0,
2176
2177
  role: "status",
2177
2178
  "aria-busy": "true",
2178
2179
  "data-testid": "preview-resolution-loading",
2179
2180
  class: "tpl:flex tpl:flex-col tpl:gap-3 tpl:p-6"
2180
- }, wi = { class: "tpl:sr-only" }, Ti = {
2181
+ }, Ei = { class: "tpl:sr-only" }, Di = {
2181
2182
  key: 1,
2182
2183
  role: "status",
2183
2184
  "data-testid": "preview-resolution-failed",
2184
2185
  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)]"
2185
- }, Ei = {
2186
+ }, Oi = {
2186
2187
  key: 0,
2187
2188
  class: "tpl-canvas-empty-content tpl:flex tpl:flex-col tpl:items-center"
2188
- }, Di = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, Oi = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, ki = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, Ai = {
2189
+ }, ki = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, Ai = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, ji = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, Mi = {
2189
2190
  key: 0,
2190
2191
  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)]"
2191
- }, ji = {
2192
+ }, Ni = {
2192
2193
  key: 1,
2193
2194
  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)]"
2194
- }, Mi = { class: "tpl:relative" }, Ni = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2195
+ }, Pi = { class: "tpl:relative" }, Fi = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2195
2196
  __name: "Canvas",
2196
2197
  props: {
2197
2198
  viewport: {},
@@ -2203,25 +2204,25 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
2203
2204
  emits: ["select-block"],
2204
2205
  setup(e, { emit: t }) {
2205
2206
  let r = {
2206
- section: cn,
2207
- title: Jt,
2208
- paragraph: nn,
2209
- image: Xt,
2210
- button: fn,
2211
- divider: dn,
2212
- spacer: Gt,
2213
- html: Wt,
2214
- social: an,
2215
- menu: Zt,
2216
- table: Qt,
2217
- video: sn,
2218
- custom: pn,
2219
- wrapper: Mn
2220
- }, i = e, u = t, { t: p } = $(), m = ot(xt, "Canvas"), { displayBlock: _, settings: T } = Ue({
2207
+ section: ln,
2208
+ title: Yt,
2209
+ paragraph: rn,
2210
+ image: Zt,
2211
+ button: pn,
2212
+ divider: fn,
2213
+ spacer: Kt,
2214
+ html: Gt,
2215
+ social: on,
2216
+ menu: Qt,
2217
+ table: $t,
2218
+ video: cn,
2219
+ custom: mn,
2220
+ wrapper: Pn
2221
+ }, i = e, u = t, { t: p } = $(), m = ft(xt, "Canvas"), { displayBlock: _, settings: T } = Ue({
2221
2222
  content: y(() => i.content),
2222
2223
  activeLocale: y(() => i.previewMode ? null : m.activeLocale?.value ?? null)
2223
- }), E = ot(it, "Canvas"), D = L(mt, null), k = L(pt, null), A = L(st, {}), j = L($e, null), N = L(Ye, null);
2224
- l(et, y(() => i.previewMode)), l(vt, y(() => i.previewMode && (j?.value ?? !1) && !N?.isConfigured));
2224
+ }), E = ft(rt, "Canvas"), D = L(pt, null), k = L(dt, null), A = L(ot, {}), j = L($e, null), N = L(Je, null);
2225
+ l(et, y(() => i.previewMode)), l(at, y(() => i.previewMode && (j?.value ?? !1) && !N?.isConfigured));
2225
2226
  let P = y(() => A.ai?.isFeatureEnabled("chat") ?? !1), I = y(() => P.value && (A.ai?.isFeatureEnabled("chatAttachments") ?? !1)), R = S(null);
2226
2227
  function z() {
2227
2228
  R.value?.click();
@@ -2230,12 +2231,12 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
2230
2231
  let t = e.target, n = Array.from(t.files ?? []);
2231
2232
  t.value = "", n.length && A.ai?.startImport(n);
2232
2233
  }
2233
- let V = L(nt, null), U = y({
2234
+ let V = L(tt, null), U = y({
2234
2235
  get: () => i.content.blocks,
2235
2236
  set: (e) => {
2236
- i.previewMode || on(m, e);
2237
+ i.previewMode || sn(m, e);
2237
2238
  }
2238
- }), W = y(() => se(T.value, i.viewport)), G = y(() => W.value + 192), ee = y(() => Pt(T.value, E.resolveFontFamily)), K = y(() => T.value?.locale?.trim() || void 0), q = y(() => pe(T.value)), J = y(() => U.value.length === 0 && !i.previewMode), Y = S(0), te = y(() => J.value && Y.value > 0);
2239
+ }), W = y(() => se(T.value, i.viewport)), G = y(() => W.value + 192), ee = y(() => Ft(T.value, E.resolveFontFamily)), K = y(() => T.value?.locale?.trim() || void 0), q = y(() => pe(T.value)), J = y(() => U.value.length === 0 && !i.previewMode), Y = S(0), te = y(() => J.value && Y.value > 0);
2239
2240
  function ne() {
2240
2241
  J.value && (Y.value += 1);
2241
2242
  }
@@ -2249,7 +2250,7 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
2249
2250
  i.previewMode || A.savedBlocks?.isPicking.value || e.target === e.currentTarget && u("select-block", null);
2250
2251
  }
2251
2252
  function ce(e) {
2252
- return en(e, k, r);
2253
+ return tn(e, k, r);
2253
2254
  }
2254
2255
  function le(e) {
2255
2256
  return A.collaboration?.lockOf(e) != null;
@@ -2292,7 +2293,7 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
2292
2293
  class: "tpl-canvas-wrapper tpl:relative",
2293
2294
  style: f({
2294
2295
  width: `${W.value}px`,
2295
- [b(Ht)]: `${W.value}px`,
2296
+ [b(Ut)]: `${W.value}px`,
2296
2297
  transition: b(ae)
2297
2298
  })
2298
2299
  }, [O("div", {
@@ -2304,11 +2305,11 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
2304
2305
  dir: q.value,
2305
2306
  style: f(ee.value),
2306
2307
  onClick: oe
2307
- }, [b(N)?.isInitialResolve.value ? (s(), C("div", Ci, [O("span", wi, a(b(p).previewResolution.resolving), 1), (s(), C(M, null, d(3, (e) => O("div", {
2308
+ }, [b(N)?.isInitialResolve.value ? (s(), C("div", Ti, [O("span", Ei, a(b(p).previewResolution.resolving), 1), (s(), C(M, null, d(3, (e) => O("div", {
2308
2309
  key: e,
2309
2310
  "aria-hidden": "true",
2310
2311
  class: "tpl-pulse tpl:h-16 tpl:rounded-md tpl:bg-[var(--tpl-bg-hover)]"
2311
- })), 64))])) : b(N)?.hasFailed.value ? (s(), C("p", Ti, a(b(p).previewResolution.failed), 1)) : x("", !0), g(v(b(qt), {
2312
+ })), 64))])) : b(N)?.hasFailed.value ? (s(), C("p", Di, a(b(p).previewResolution.failed), 1)) : x("", !0), g(v(b(Jt), {
2312
2313
  modelValue: U.value,
2313
2314
  "onUpdate:modelValue": r[1] ||= (e) => U.value = e,
2314
2315
  group: "blocks",
@@ -2327,40 +2328,40 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
2327
2328
  J.value && te.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
2328
2329
  J.value && !te.value ? "tpl:border-[var(--tpl-primary)]" : ""
2329
2330
  ]),
2330
- onUpdate: r[2] ||= (t) => !e.previewMode && b(on)(b(m), U.value, void 0, 0, t),
2331
+ onUpdate: r[2] ||= (t) => !e.previewMode && b(sn)(b(m), U.value, void 0, 0, t),
2331
2332
  onDragenter: ne,
2332
2333
  onDragleave: re,
2333
2334
  onDrop: ie
2334
2335
  }, {
2335
- default: h(() => [J.value ? (s(), C("div", Ei, [
2336
- O("div", Di, [v(b(dr), {
2336
+ default: h(() => [J.value ? (s(), C("div", Oi, [
2337
+ O("div", ki, [v(b(pr), {
2337
2338
  size: 48,
2338
2339
  "stroke-width": 1
2339
2340
  })]),
2340
- O("p", Oi, a(b(p).canvas.noBlocks), 1),
2341
- O("p", ki, a(b(p).canvas.dragHint), 1),
2342
- P.value ? (s(), C("p", Ai, [
2341
+ O("p", Ai, a(b(p).canvas.noBlocks), 1),
2342
+ O("p", ji, a(b(p).canvas.dragHint), 1),
2343
+ P.value ? (s(), C("p", Mi, [
2343
2344
  w(a(b(p).ai.canvas.chatHint) + " ", 1),
2344
2345
  O("button", {
2345
2346
  type: "button",
2346
2347
  "data-testid": "canvas-ai-chat",
2347
2348
  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)]",
2348
2349
  onClick: r[0] ||= (e) => b(A).ai?.open("chat")
2349
- }, [v(b(jn), {
2350
+ }, [v(b(Nn), {
2350
2351
  size: 14,
2351
2352
  "stroke-width": 2,
2352
2353
  "aria-hidden": "true"
2353
2354
  }), w(" " + a(b(p).ai.menu.chat), 1)]),
2354
2355
  w(" " + a(b(p).ai.canvas.chatHintSuffix), 1)
2355
2356
  ])) : x("", !0),
2356
- I.value ? (s(), C("p", ji, [
2357
+ I.value ? (s(), C("p", Ni, [
2357
2358
  w(a(b(p).ai.canvas.importHint) + " ", 1),
2358
2359
  O("button", {
2359
2360
  type: "button",
2360
2361
  "data-testid": "canvas-ai-import",
2361
2362
  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)]",
2362
2363
  onClick: z
2363
- }, [v(b(ar), {
2364
+ }, [v(b(sr), {
2364
2365
  size: 14,
2365
2366
  "stroke-width": 2,
2366
2367
  "aria-hidden": "true"
@@ -2378,11 +2379,11 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
2378
2379
  ])) : x("", !0), (s(!0), C(M, null, d(U.value, (t) => g((s(), C("div", {
2379
2380
  key: t.id,
2380
2381
  class: "tpl-block-item"
2381
- }, [O("div", Mi, [t.type === "wrapper" ? (s(), F(o(ce(t)), {
2382
+ }, [O("div", Pi, [t.type === "wrapper" ? (s(), F(o(ce(t)), {
2382
2383
  key: 0,
2383
2384
  block: t,
2384
2385
  viewport: e.viewport
2385
- }, null, 8, ["block", "viewport"])) : (s(), F(Yt, {
2386
+ }, null, 8, ["block", "viewport"])) : (s(), F(Xt, {
2386
2387
  key: 1,
2387
2388
  block: t,
2388
2389
  "display-block": b(_)(t),
@@ -2417,12 +2418,12 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
2417
2418
  "modelValue",
2418
2419
  "disabled",
2419
2420
  "class"
2420
- ]), [[H, !b(N)?.isInitialResolve.value]])], 14, Si)], 12, xi)], 4));
2421
+ ]), [[H, !b(N)?.isInitialResolve.value]])], 14, wi)], 12, Ci)], 4));
2421
2422
  }
2422
- }), [["__scopeId", "data-v-03a9d286"]]), Pi = R({
2423
+ }), [["__scopeId", "data-v-03a9d286"]]), Ii = R({
2423
2424
  name: "CustomBlockStylesheets",
2424
2425
  setup() {
2425
- let e = L(lt, null);
2426
+ let e = L(ct, null);
2426
2427
  return () => e ? e.value.map((e, t) => m("style", {
2427
2428
  key: t,
2428
2429
  "data-tpl-custom-block-stylesheet": "",
@@ -2431,7 +2432,7 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
2431
2432
  }
2432
2433
  });
2433
2434
  // src/utils/resolvePaletteBlocks.ts
2434
- function Fi(e, t) {
2435
+ function Li(e, t) {
2435
2436
  if (!t || t.length === 0) return {
2436
2437
  items: e,
2437
2438
  unknown: []
@@ -2449,24 +2450,24 @@ function Fi(e, t) {
2449
2450
  };
2450
2451
  }
2451
2452
  // src/components/Sidebar.vue?vue&type=script&setup=true&lang.ts
2452
- var Ii = ["aria-label"], Li = {
2453
+ var Ri = ["aria-label"], zi = {
2453
2454
  key: 0,
2454
2455
  class: "tpl:border-b tpl:px-1 tpl:pb-1 tpl:border-[var(--tpl-border)]"
2455
- }, Ri = ["aria-label"], zi = {
2456
+ }, Bi = ["aria-label"], Vi = {
2456
2457
  key: 0,
2457
2458
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
2458
- }, Bi = [
2459
+ }, Hi = [
2459
2460
  "data-palette-type",
2460
2461
  "aria-label",
2461
2462
  "onClick",
2462
2463
  "onKeydown"
2463
- ], Vi = { 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" }, Hi = {
2464
+ ], Ui = { 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" }, Wi = {
2464
2465
  key: 0,
2465
2466
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
2466
- }, Ui = 4, Wi = /* @__PURE__ */ R({
2467
+ }, Gi = 4, Ki = /* @__PURE__ */ R({
2467
2468
  __name: "Sidebar",
2468
2469
  setup(e) {
2469
- let { t: n, format: r } = $(), i = L(ut, []), c = L(Xe, void 0), l = L(at, void 0), u = L(xt, null), p = En(), m = L(st, {}), g = y(() => m.savedBlocks?.isAvailable.value === !0), w = S(!1), T = S(!1), E = S(null), D = !1, k = 0;
2470
+ let { t: n, format: r } = $(), i = L(lt, []), c = L(Ye, void 0), l = L(it, void 0), u = L(xt, null), p = Dn(), m = L(ot, {}), g = y(() => m.savedBlocks?.isAvailable.value === !0), w = S(!1), T = S(!1), E = S(null), D = !1, k = 0;
2470
2471
  _(() => {
2471
2472
  window.clearTimeout(k);
2472
2473
  });
@@ -2507,7 +2508,7 @@ var Ii = ["aria-label"], Li = {
2507
2508
  }
2508
2509
  let V = [
2509
2510
  "section",
2510
- tn,
2511
+ nn,
2511
2512
  "image",
2512
2513
  "title",
2513
2514
  "paragraph",
@@ -2533,21 +2534,21 @@ var Ii = ["aria-label"], Li = {
2533
2534
  label: e.name,
2534
2535
  isCustom: !0,
2535
2536
  icon: e.icon
2536
- }))), W = y(() => [...H.value, ...U.value]), G = y(() => Fi(W.value, c)), ee = y(() => G.value.items), K = /* @__PURE__ */ new Set();
2537
+ }))), W = y(() => [...H.value, ...U.value]), G = y(() => Li(W.value, c)), ee = y(() => G.value.items), K = /* @__PURE__ */ new Set();
2537
2538
  t(() => G.value.unknown, (e) => {
2538
- for (let t of e) K.has(t) || (K.add(t), On.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.`));
2539
+ for (let t of e) K.has(t) || (K.add(t), kn.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.`));
2539
2540
  }, { immediate: !0 });
2540
2541
  function q(e) {
2541
2542
  if (e.isCustom) {
2542
2543
  let t = e.type.replace("custom:", ""), n = i.find((e) => e.type === t);
2543
2544
  if (n) return me(n);
2544
2545
  }
2545
- return e.type === "hero" ? un(l?.value, n.blockDefaults.paragraph) : _e(e.type, l?.value);
2546
+ return e.type === "hero" ? dn(l?.value, n.blockDefaults.paragraph) : _e(e.type, l?.value);
2546
2547
  }
2547
2548
  function J(e) {
2548
2549
  if (!u) return;
2549
2550
  let t = q(e);
2550
- yi(u, t) && p(t.id);
2551
+ xi(u, t) && p(t.id);
2551
2552
  }
2552
2553
  function Y(e) {
2553
2554
  D || J(e);
@@ -2571,17 +2572,17 @@ var Ii = ["aria-label"], Li = {
2571
2572
  onMouseleave: j,
2572
2573
  onFocusin: t[2] ||= (e) => w.value = !0,
2573
2574
  onFocusout: R
2574
- }, [g.value ? (s(), C("div", Li, [O("button", {
2575
+ }, [g.value ? (s(), C("div", zi, [O("button", {
2575
2576
  type: "button",
2576
2577
  "aria-label": b(n).sidebarNav.browseSavedBlocks,
2577
2578
  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)]",
2578
2579
  style: f({ justifyContent: w.value ? "flex-start" : "center" }),
2579
2580
  onClick: t[0] ||= (e) => b(m).savedBlocks?.openBrowser()
2580
- }, [v(b(Nn), {
2581
+ }, [v(b(Fn), {
2581
2582
  size: 20,
2582
2583
  "stroke-width": 1.5,
2583
2584
  class: "tpl:shrink-0"
2584
- }), w.value ? (s(), C("span", zi, a(b(n).savedBlocks.title), 1)) : x("", !0)], 12, Ri)])) : x("", !0), v(b(qt), {
2585
+ }), w.value ? (s(), C("span", Vi, a(b(n).savedBlocks.title), 1)) : x("", !0)], 12, Bi)])) : x("", !0), v(b(Jt), {
2585
2586
  "model-value": ee.value,
2586
2587
  group: {
2587
2588
  name: "blocks",
@@ -2592,7 +2593,7 @@ var Ii = ["aria-label"], Li = {
2592
2593
  sort: !1,
2593
2594
  animation: 150,
2594
2595
  "force-fallback": !0,
2595
- "fallback-tolerance": Ui,
2596
+ "fallback-tolerance": Gi,
2596
2597
  class: "tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl:gap-0.5 tpl:overflow-y-auto tpl:p-1",
2597
2598
  onChoose: N,
2598
2599
  onStart: I,
@@ -2608,58 +2609,58 @@ var Ii = ["aria-label"], Li = {
2608
2609
  style: f({ justifyContent: w.value ? "flex-start" : "center" }),
2609
2610
  onClick: (t) => Y(e),
2610
2611
  onKeydown: (t) => te(t, e)
2611
- }, [O("div", Vi, [b(Pn)[e.type] ? (s(), F(o(b(Pn)[e.type]), {
2612
+ }, [O("div", Ui, [b(In)[e.type] ? (s(), F(o(b(In)[e.type]), {
2612
2613
  key: 0,
2613
2614
  size: 20,
2614
2615
  "stroke-width": 1.5
2615
- })) : e.isCustom ? (s(), F(Kt, {
2616
+ })) : e.isCustom ? (s(), F(qt, {
2616
2617
  key: 1,
2617
2618
  icon: e.icon,
2618
2619
  size: 20
2619
- }, null, 8, ["icon"])) : x("", !0)]), w.value ? (s(), C("span", Hi, a(e.label), 1)) : x("", !0)], 44, Bi))), 128))]),
2620
+ }, null, 8, ["icon"])) : x("", !0)]), w.value ? (s(), C("span", Wi, a(e.label), 1)) : x("", !0)], 44, Hi))), 128))]),
2620
2621
  _: 1
2621
- }, 8, ["model-value"])], 44, Ii));
2622
+ }, 8, ["model-value"])], 44, Ri));
2622
2623
  }
2623
- }), Gi = ["aria-label"], Ki = {
2624
+ }), qi = ["aria-label"], Ji = {
2624
2625
  role: "tablist",
2625
2626
  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"
2626
- }, qi = [
2627
+ }, Yi = [
2627
2628
  "aria-selected",
2628
2629
  "aria-label",
2629
2630
  "title"
2630
- ], Ji = { key: 0 }, Yi = [
2631
+ ], Xi = { key: 0 }, Zi = [
2631
2632
  "aria-selected",
2632
2633
  "aria-label",
2633
2634
  "title"
2634
- ], Xi = { key: 0 }, Zi = [
2635
+ ], Qi = { key: 0 }, $i = [
2635
2636
  "aria-selected",
2636
2637
  "aria-label",
2637
2638
  "title"
2638
- ], Qi = { key: 0 }, $i = {
2639
+ ], ea = { key: 0 }, ta = {
2639
2640
  key: 1,
2640
2641
  class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
2641
- }, ea = {
2642
+ }, na = {
2642
2643
  key: 0,
2643
2644
  id: "tpl-tabpanel-content",
2644
2645
  role: "tabpanel",
2645
2646
  "aria-labelledby": "tpl-tab-content",
2646
2647
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2647
- }, ta = {
2648
+ }, ra = {
2648
2649
  key: 1,
2649
2650
  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)]"
2650
- }, na = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, ra = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ia = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, aa = {
2651
+ }, ia = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, aa = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, oa = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, sa = {
2651
2652
  key: 1,
2652
2653
  id: "tpl-tabpanel-settings",
2653
2654
  role: "tabpanel",
2654
2655
  "aria-labelledby": "tpl-tab-settings",
2655
2656
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2656
- }, oa = {
2657
+ }, ca = {
2657
2658
  key: 2,
2658
2659
  id: "tpl-tabpanel-issues",
2659
2660
  role: "tabpanel",
2660
2661
  "aria-labelledby": "tpl-tab-issues",
2661
2662
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2662
- }, sa = /* @__PURE__ */ R({
2663
+ }, la = /* @__PURE__ */ R({
2663
2664
  __name: "RightSidebar",
2664
2665
  props: /*@__PURE__*/ r({
2665
2666
  selectedBlock: {},
@@ -2676,7 +2677,7 @@ var Ii = ["aria-label"], Li = {
2676
2677
  "update-settings"
2677
2678
  ], ["update:tab"]),
2678
2679
  setup(e, { emit: n }) {
2679
- let r = I(() => import("./Toolbar-CVHJl6i4.js").then((e) => e.t)), i = I(() => import("./TemplateSettings-ChCm5_2b.js")), o = I(() => import("./IssuesPanel-CarJYQFu.js")), l = e, u = n, { t: d } = $(), m = p(e, "tab"), h = L(ct, null), g = y(() => h !== null && !h.unavailable.value), _ = y(() => h?.issues.value.length ?? 0), S = L(bt, new Set(Fn)), w = y(() => S.size > 0);
2680
+ let r = I(() => import("./Toolbar-FIYSw3Us.js").then((e) => e.t)), i = I(() => import("./TemplateSettings-CBCaybvd.js")), o = I(() => import("./IssuesPanel-pxcWAQJM.js")), l = e, u = n, { t: d } = $(), m = p(e, "tab"), h = L(bt, null), g = y(() => h !== null && !h.unavailable.value), _ = y(() => h?.issues.value.length ?? 0), S = L(ht, new Set(Ln)), w = y(() => S.size > 0);
2680
2681
  function T(e) {
2681
2682
  return m.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)]";
2682
2683
  }
@@ -2694,7 +2695,7 @@ var Ii = ["aria-label"], Li = {
2694
2695
  "aria-label": b(d).landmarks.rightSidebar,
2695
2696
  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"])
2696
2697
  }, [
2697
- O("div", Ki, [
2698
+ O("div", Ji, [
2698
2699
  O("button", {
2699
2700
  id: "tpl-tab-content",
2700
2701
  role: "tab",
@@ -2705,10 +2706,10 @@ var Ii = ["aria-label"], Li = {
2705
2706
  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)]", T("content")]),
2706
2707
  style: f(E("content")),
2707
2708
  onClick: n[0] ||= (e) => m.value = "content"
2708
- }, [v(b(cr), {
2709
+ }, [v(b(ur), {
2709
2710
  size: 14,
2710
2711
  "stroke-width": 2
2711
- }), m.value === "content" ? (s(), C("span", Ji, a(b(d).sidebar.content), 1)) : x("", !0)], 14, qi),
2712
+ }), m.value === "content" ? (s(), C("span", Xi, a(b(d).sidebar.content), 1)) : x("", !0)], 14, Yi),
2712
2713
  w.value ? (s(), C("button", {
2713
2714
  key: 0,
2714
2715
  id: "tpl-tab-settings",
@@ -2720,10 +2721,10 @@ var Ii = ["aria-label"], Li = {
2720
2721
  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)]", T("settings")]),
2721
2722
  style: f(E("settings")),
2722
2723
  onClick: n[1] ||= (e) => m.value = "settings"
2723
- }, [v(b(ur), {
2724
+ }, [v(b(fr), {
2724
2725
  size: 14,
2725
2726
  "stroke-width": 1.5
2726
- }), m.value === "settings" ? (s(), C("span", Xi, a(b(d).sidebar.settings), 1)) : x("", !0)], 14, Yi)) : x("", !0),
2727
+ }), m.value === "settings" ? (s(), C("span", Qi, a(b(d).sidebar.settings), 1)) : x("", !0)], 14, Zi)) : x("", !0),
2727
2728
  g.value ? (s(), C("button", {
2728
2729
  key: 1,
2729
2730
  id: "tpl-tab-issues",
@@ -2736,69 +2737,69 @@ var Ii = ["aria-label"], Li = {
2736
2737
  style: f(E("issues")),
2737
2738
  onClick: n[2] ||= (e) => m.value = "issues"
2738
2739
  }, [
2739
- v(b(wn), {
2740
+ v(b(Tn), {
2740
2741
  size: 14,
2741
2742
  "stroke-width": 1.5
2742
2743
  }),
2743
- m.value === "issues" ? (s(), C("span", Qi, a(b(d).issues.panelTabLabel), 1)) : x("", !0),
2744
- _.value > 0 ? (s(), C("span", $i, a(_.value), 1)) : x("", !0)
2745
- ], 14, Zi)) : x("", !0)
2744
+ m.value === "issues" ? (s(), C("span", ea, a(b(d).issues.panelTabLabel), 1)) : x("", !0),
2745
+ _.value > 0 ? (s(), C("span", ta, a(_.value), 1)) : x("", !0)
2746
+ ], 14, $i)) : x("", !0)
2746
2747
  ]),
2747
- m.value === "content" ? (s(), C("div", ea, [e.selectedBlock ? (s(), F(b(r), {
2748
+ m.value === "content" ? (s(), C("div", na, [e.selectedBlock ? (s(), F(b(r), {
2748
2749
  key: 0,
2749
2750
  block: e.selectedBlock,
2750
2751
  onUpdate: n[3] ||= (e) => u("update-block", e),
2751
2752
  onDelete: n[4] ||= (e) => u("delete-block"),
2752
2753
  onDuplicate: n[5] ||= (e) => u("duplicate-block")
2753
- }, null, 8, ["block"])) : (s(), C("div", ta, [
2754
- O("div", na, [v(b(or), {
2754
+ }, null, 8, ["block"])) : (s(), C("div", ra, [
2755
+ O("div", ia, [v(b(cr), {
2755
2756
  size: 40,
2756
2757
  "stroke-width": 1.5
2757
2758
  })]),
2758
- O("h3", ra, a(b(d).sidebar.noSelection), 1),
2759
- O("p", ia, a(b(d).sidebar.noSelectionHint), 1)
2759
+ O("h3", aa, a(b(d).sidebar.noSelection), 1),
2760
+ O("p", oa, a(b(d).sidebar.noSelectionHint), 1)
2760
2761
  ]))])) : x("", !0),
2761
- m.value === "settings" && w.value ? (s(), C("div", aa, [v(b(i), {
2762
+ m.value === "settings" && w.value ? (s(), C("div", sa, [v(b(i), {
2762
2763
  settings: e.settings,
2763
2764
  onUpdate: n[6] ||= (e) => u("update-settings", e)
2764
2765
  }, null, 8, ["settings"])])) : x("", !0),
2765
- m.value === "issues" && g.value ? (s(), C("div", oa, [v(b(o))])) : x("", !0)
2766
- ], 10, Gi));
2766
+ m.value === "issues" && g.value ? (s(), C("div", ca, [v(b(o))])) : x("", !0)
2767
+ ], 10, qi));
2767
2768
  }
2768
- }), ca = {
2769
+ }), ua = {
2769
2770
  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)]",
2770
2771
  style: { "z-index": "10001" },
2771
2772
  role: "status",
2772
2773
  "data-testid": "small-screen-notice"
2773
- }, la = { class: "tpl:text-[var(--tpl-text-dim)]" }, ua = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, da = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, fa = /* @__PURE__ */ R({
2774
+ }, da = { class: "tpl:text-[var(--tpl-text-dim)]" }, fa = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, pa = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, ma = /* @__PURE__ */ R({
2774
2775
  __name: "SmallScreenNotice",
2775
2776
  setup(e) {
2776
2777
  let { t } = $();
2777
- return (e, n) => (s(), C("div", ca, [
2778
- O("div", la, [v(b(In), {
2778
+ return (e, n) => (s(), C("div", ua, [
2779
+ O("div", da, [v(b(Rn), {
2779
2780
  size: 48,
2780
2781
  "stroke-width": 1.5
2781
2782
  })]),
2782
- O("h2", ua, a(b(t).smallScreen.title), 1),
2783
- O("p", da, a(b(t).smallScreen.message), 1)
2783
+ O("h2", fa, a(b(t).smallScreen.title), 1),
2784
+ O("p", pa, a(b(t).smallScreen.message), 1)
2784
2785
  ]));
2785
2786
  }
2786
- }), pa = {
2787
+ }), ha = {
2787
2788
  class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
2788
2789
  style: {
2789
2790
  "background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
2790
2791
  "backdrop-filter": "blur(8px)",
2791
2792
  "-webkit-backdrop-filter": "blur(8px)"
2792
2793
  }
2793
- }, ma = /* @__PURE__ */ R({
2794
+ }, ga = /* @__PURE__ */ R({
2794
2795
  __name: "EditorFooter",
2795
2796
  props: { positionClass: {} },
2796
2797
  setup(e) {
2797
2798
  let { t } = $();
2798
- return (n, r) => (s(), C("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]) }, [O("div", pa, [O("span", null, a(b(t).footer.poweredBy), 1), r[0] ||= T("<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));
2799
+ return (n, r) => (s(), C("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]) }, [O("div", ha, [O("span", null, a(b(t).footer.poweredBy), 1), r[0] ||= T("<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));
2799
2800
  }
2800
- }), ha = (e) => Number.parseFloat(e) || 0;
2801
- function ga(e) {
2801
+ }), _a = (e) => Number.parseFloat(e) || 0;
2802
+ function va(e) {
2802
2803
  let t = (t) => e.centerWidth + 2 * Math.max(e.leftWidth, t) + e.paddingWidth + 2 * e.columnGap + e.borderWidth, n = e.statusLabelWidth ?? 0, r = t(e.rightWidth - n), i = e.availableWidth < r;
2803
2804
  return {
2804
2805
  compact: i,
@@ -2806,31 +2807,58 @@ function ga(e) {
2806
2807
  statusLabel: !i && e.availableWidth >= t(e.rightWidth)
2807
2808
  };
2808
2809
  }
2809
- function _a(t, n) {
2810
- let r = A(!1), i = A(0), a = A(!1), o = 0, s, c, l = !1, u = !0, d = null, f, p = 0, m = 0, h = [];
2811
- function g() {
2812
- return h.some((e) => {
2810
+ function ya(e) {
2811
+ let t = e.cloneNode(!1);
2812
+ if (e instanceof Element && e.classList.contains("tpl-header-actions")) return t;
2813
+ for (let n of e.childNodes) t.appendChild(ya(n));
2814
+ return t;
2815
+ }
2816
+ function ba(t, n, r) {
2817
+ let i = A(!1), a = A(0), o = A(!1), s = 0, c, l, u, d = !1, f = !0, p = null, m, h = 0, g = 0, _ = [];
2818
+ function v() {
2819
+ return _.some((e) => {
2813
2820
  let t = e.getBoundingClientRect();
2814
- return Array.from(e.children).some((e) => {
2821
+ 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) => {
2815
2822
  let n = e.getBoundingClientRect();
2816
2823
  return n.width > 0 && (n.left < t.left - .5 || n.right > t.right + .5);
2817
2824
  });
2818
2825
  });
2819
2826
  }
2820
- function _() {
2821
- if (!l || !t.value || !n.value) return;
2827
+ function y() {
2828
+ if (!d || !t.value || !n.value) return;
2822
2829
  let e = t.value.getBoundingClientRect().width;
2823
2830
  if (e <= 0) return;
2824
- if (!u && !r.value && e >= i.value && g() && (u = !0), !u && i.value > 0) {
2825
- r.value = e < i.value, a.value = !r.value && e >= o;
2831
+ if (!f && !i.value && e >= a.value && v() && (f = !0), !f && a.value > 0) {
2832
+ i.value = e < a.value, o.value = !i.value && e >= s;
2826
2833
  return;
2827
2834
  }
2828
- let s = n.value, c = s.ownerDocument.createElement("div");
2829
- for (let e of s.attributes) e.name.startsWith("data-") || c.setAttribute(e.name, e.value);
2830
- c.classList.remove("tpl-header"), c.classList.add("tpl-header-measure"), c.setAttribute("aria-hidden", "true"), c.inert = !0;
2831
- for (let e of s.childNodes) e !== f && c.appendChild(e.cloneNode(!0));
2832
- for (let e of c.querySelectorAll("*")) e.removeAttribute("id"), e.removeAttribute("data-testid");
2833
- Object.assign(c.style, {
2835
+ let c = n.value, p = 0;
2836
+ if (r?.isConnected) {
2837
+ let e = r.getAttribute("data-tpl-compact"), t = r.getAttribute("style");
2838
+ (l?.takeRecords().length || u?.takeRecords().length) && (f = !0), r.removeAttribute("data-tpl-compact"), r.style.width = "max-content", r.style.flexShrink = "0";
2839
+ try {
2840
+ p = r.getBoundingClientRect().width;
2841
+ } finally {
2842
+ t === null ? r.removeAttribute("style") : r.setAttribute("style", t), e === null ? r.removeAttribute("data-tpl-compact") : r.setAttribute("data-tpl-compact", e), l?.takeRecords(), u?.takeRecords();
2843
+ }
2844
+ }
2845
+ let h = c.ownerDocument.createElement("div");
2846
+ for (let e of c.attributes) e.name.startsWith("data-") || h.setAttribute(e.name, e.value);
2847
+ h.classList.remove("tpl-header"), h.classList.add("tpl-header-measure"), h.setAttribute("aria-hidden", "true"), h.inert = !0;
2848
+ for (let e of c.childNodes) e !== m && h.appendChild(ya(e));
2849
+ let g = h.querySelector("slot[name=\"tpl-header-actions\"], .tpl-header-actions");
2850
+ if (g) {
2851
+ if (r?.isConnected) {
2852
+ let e = c.ownerDocument.createElement("span");
2853
+ e.className = "tpl-header-action-measure", Object.assign(e.style, {
2854
+ display: "inline-block",
2855
+ flex: "none",
2856
+ width: `${p}px`
2857
+ }), g.replaceWith(e);
2858
+ } else g.remove();
2859
+ }
2860
+ for (let e of h.querySelectorAll("*")) e.removeAttribute("id"), e.removeAttribute("data-testid");
2861
+ Object.assign(h.style, {
2834
2862
  position: "absolute",
2835
2863
  inset: "0 auto auto 0",
2836
2864
  width: "max-content",
@@ -2839,47 +2867,47 @@ function _a(t, n) {
2839
2867
  pointerEvents: "none",
2840
2868
  gridTemplateColumns: "max-content max-content max-content"
2841
2869
  });
2842
- let d = [
2870
+ let _ = [
2843
2871
  ".tpl-header-left",
2844
2872
  ".tpl-header-center",
2845
2873
  ".tpl-header-right"
2846
- ].map((e) => c.querySelector(e));
2847
- for (let e of d) e.style.width = "max-content", e.style.minWidth = "0";
2848
- let p = c.querySelector(".tpl-header-identity");
2849
- if (p) {
2850
- p.style.width = "24px", p.style.minWidth = "24px", p.style.flexShrink = "0";
2851
- for (let e of p.children) e.style.maxWidth = "100%";
2874
+ ].map((e) => h.querySelector(e));
2875
+ for (let e of _) e.style.width = "max-content", e.style.minWidth = "0";
2876
+ let y = h.querySelector(".tpl-header-identity");
2877
+ if (y) {
2878
+ y.style.width = "24px", y.style.minWidth = "24px", y.style.flexShrink = "0";
2879
+ for (let e of y.children) e.style.maxWidth = "100%";
2852
2880
  }
2853
- t.value.appendChild(c);
2881
+ t.value.appendChild(h);
2854
2882
  try {
2855
- let t = getComputedStyle(c), n = d.map((e) => e.getBoundingClientRect().width), s = c.querySelector(".tpl-status-label"), l = s ? s.getBoundingClientRect().width + ha(getComputedStyle(s.parentElement).columnGap) : 0, f = {
2883
+ let t = getComputedStyle(h), n = _.map((e) => e.getBoundingClientRect().width), r = h.querySelector(".tpl-status-label"), c = r ? r.getBoundingClientRect().width + _a(getComputedStyle(r.parentElement).columnGap) : 0, l = {
2856
2884
  availableWidth: e,
2857
2885
  leftWidth: n[0],
2858
2886
  centerWidth: n[1],
2859
2887
  rightWidth: n[2],
2860
- paddingWidth: ha(t.paddingLeft || t.paddingInline) + ha(t.paddingRight || t.paddingInline),
2861
- columnGap: ha(t.columnGap),
2862
- borderWidth: ha(t.borderLeftWidth) + ha(t.borderRightWidth)
2863
- }, p = ga({
2864
- ...f,
2865
- statusLabelWidth: l
2888
+ paddingWidth: _a(t.paddingLeft || t.paddingInline) + _a(t.paddingRight || t.paddingInline),
2889
+ columnGap: _a(t.columnGap),
2890
+ borderWidth: _a(t.borderLeftWidth) + _a(t.borderRightWidth)
2891
+ }, u = va({
2892
+ ...l,
2893
+ statusLabelWidth: c
2866
2894
  });
2867
- i.value = p.fullWidth, r.value = p.compact, a.value = p.statusLabel, o = ga(f).fullWidth, u = !1;
2895
+ a.value = u.fullWidth, i.value = u.compact, o.value = u.statusLabel, s = va(l).fullWidth, f = !1;
2868
2896
  } finally {
2869
- c.remove();
2897
+ h.remove();
2870
2898
  }
2871
2899
  }
2872
- function v() {
2873
- l && d === null && (d = window.requestAnimationFrame(() => {
2874
- d = null, _();
2900
+ function b() {
2901
+ d && p === null && (p = window.requestAnimationFrame(() => {
2902
+ p = null, y();
2875
2903
  }));
2876
2904
  }
2877
- function y() {
2878
- l && (u = !0, v());
2905
+ function x() {
2906
+ d && (f = !0, b());
2879
2907
  }
2880
2908
  return e(() => {
2881
- if (l = !0, h = Array.from(n.value?.children ?? []), _(), !t.value || !n.value) return;
2882
- f = n.value.ownerDocument.createElement("span"), f.className = "tpl-header-metric-probe", f.setAttribute("aria-hidden", "true"), f.inert = !0, f.textContent = "MWmw0123456789", Object.assign(f.style, {
2909
+ if (d = !0, _ = Array.from(n.value?.children ?? []), y(), !t.value || !n.value) return;
2910
+ m = n.value.ownerDocument.createElement("span"), m.className = "tpl-header-metric-probe", m.setAttribute("aria-hidden", "true"), m.inert = !0, m.textContent = "MWmw0123456789", Object.assign(m.style, {
2883
2911
  position: "absolute",
2884
2912
  inset: "0 auto auto 0",
2885
2913
  width: "max-content",
@@ -2890,22 +2918,22 @@ function _a(t, n) {
2890
2918
  whiteSpace: "pre",
2891
2919
  visibility: "hidden",
2892
2920
  pointerEvents: "none"
2893
- }), n.value.appendChild(f);
2894
- let e = f.getBoundingClientRect();
2895
- if (p = e.width, m = e.height, typeof ResizeObserver < "u") {
2896
- s = new ResizeObserver((e) => {
2921
+ }), n.value.appendChild(m);
2922
+ let e = m.getBoundingClientRect();
2923
+ if (h = e.width, g = e.height, typeof ResizeObserver < "u") {
2924
+ c = new ResizeObserver((e) => {
2897
2925
  let t = !1;
2898
2926
  for (let n of e) {
2899
- if (n.target !== f) continue;
2927
+ if (n.target !== m) continue;
2900
2928
  let { width: e, height: r } = n.contentRect;
2901
- (e !== p || r !== m) && (t = !0), p = e, m = r;
2929
+ (e !== h || r !== g) && (t = !0), h = e, g = r;
2902
2930
  }
2903
- t ? y() : v();
2904
- }), s.observe(t.value);
2905
- for (let e of h) s.observe(e);
2906
- s.observe(f);
2931
+ t ? x() : b();
2932
+ }), c.observe(t.value);
2933
+ for (let e of _) c.observe(e);
2934
+ c.observe(m), r && c.observe(r);
2907
2935
  }
2908
- c = new MutationObserver(y), c.observe(n.value, {
2936
+ l = new MutationObserver(x), l.observe(n.value, {
2909
2937
  subtree: !0,
2910
2938
  childList: !0,
2911
2939
  characterData: !0,
@@ -2917,23 +2945,31 @@ function _a(t, n) {
2917
2945
  "aria-label",
2918
2946
  "hidden"
2919
2947
  ]
2920
- }), window.addEventListener("resize", v);
2921
- let r = n.value.ownerDocument.fonts;
2922
- r?.addEventListener("loadingdone", y), r?.status === "loading" && r.ready.then(y);
2948
+ }), r && (u = new MutationObserver((e) => {
2949
+ e.some((e) => e.type !== "attributes" || e.attributeName !== "data-tpl-compact" && e.attributeName !== "data-tpl-theme") && x();
2950
+ }), u.observe(r, {
2951
+ subtree: !0,
2952
+ childList: !0,
2953
+ characterData: !0,
2954
+ attributes: !0
2955
+ })), window.addEventListener("resize", b);
2956
+ let i = n.value.ownerDocument.fonts;
2957
+ i?.addEventListener("loadingdone", x), i?.status === "loading" && i.ready.then(x);
2923
2958
  }), D(() => {
2924
- l = !1, d !== null && (window.cancelAnimationFrame(d), d = null), s?.disconnect(), c?.disconnect(), f?.remove(), f = void 0, h = [], window.removeEventListener("resize", v), n.value?.ownerDocument.fonts?.removeEventListener("loadingdone", y);
2959
+ d = !1, p !== null && (window.cancelAnimationFrame(p), p = null), c?.disconnect(), l?.disconnect(), u?.disconnect(), m?.remove(), m = void 0, _ = [], window.removeEventListener("resize", b), n.value?.ownerDocument.fonts?.removeEventListener("loadingdone", x);
2925
2960
  }), {
2926
- compact: r,
2927
- fullWidth: i,
2928
- statusLabel: a
2961
+ compact: i,
2962
+ fullWidth: a,
2963
+ statusLabel: o,
2964
+ invalidateContent: x
2929
2965
  };
2930
2966
  }
2931
2967
  // src/components/DarkModeToggle.vue?vue&type=script&setup=true&lang.ts
2932
- var va = [
2968
+ var xa = [
2933
2969
  "aria-label",
2934
2970
  "title",
2935
2971
  "aria-pressed"
2936
- ], ya = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2972
+ ], Sa = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2937
2973
  __name: "DarkModeToggle",
2938
2974
  props: { darkMode: { type: Boolean } },
2939
2975
  emits: ["change"],
@@ -2956,23 +2992,23 @@ var va = [
2956
2992
  "leave-to-class": "tpl-icon-leave-to",
2957
2993
  mode: "out-in"
2958
2994
  }, {
2959
- default: h(() => [e.darkMode ? (s(), F(b(sr), {
2995
+ default: h(() => [e.darkMode ? (s(), F(b(lr), {
2960
2996
  key: "moon",
2961
2997
  size: 18,
2962
2998
  "stroke-width": 1.5
2963
- })) : (s(), F(b(fr), {
2999
+ })) : (s(), F(b(mr), {
2964
3000
  key: "sun",
2965
3001
  size: 18,
2966
3002
  "stroke-width": 1.5
2967
3003
  }))]),
2968
3004
  _: 1
2969
- })], 12, va));
3005
+ })], 12, xa));
2970
3006
  }
2971
- }), [["__scopeId", "data-v-632aa74f"]]), ba = [
3007
+ }), [["__scopeId", "data-v-632aa74f"]]), Ca = [
2972
3008
  "aria-label",
2973
3009
  "title",
2974
3010
  "aria-pressed"
2975
- ], xa = /*#__PURE__*/ ze(/* @__PURE__ */ R({
3011
+ ], wa = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2976
3012
  __name: "PreviewToggle",
2977
3013
  props: { previewMode: { type: Boolean } },
2978
3014
  emits: ["change"],
@@ -2995,19 +3031,19 @@ var va = [
2995
3031
  "leave-to-class": "tpl-icon-leave-to",
2996
3032
  mode: "out-in"
2997
3033
  }, {
2998
- default: h(() => [e.previewMode ? (s(), F(b(Hn), {
3034
+ default: h(() => [e.previewMode ? (s(), F(b(Wn), {
2999
3035
  key: "eye",
3000
3036
  size: 18,
3001
3037
  "stroke-width": 1.5
3002
- })) : (s(), F(b(It), {
3038
+ })) : (s(), F(b(Lt), {
3003
3039
  key: "eye-off",
3004
3040
  size: 18,
3005
3041
  "stroke-width": 1.5
3006
3042
  }))]),
3007
3043
  _: 1
3008
- })], 12, ba));
3044
+ })], 12, Ca));
3009
3045
  }
3010
- }), [["__scopeId", "data-v-eef7b2ca"]]), Sa = ["aria-label", "onKeydown"], Ca = ["title", "aria-label"], wa = /* @__PURE__ */ R({
3046
+ }), [["__scopeId", "data-v-eef7b2ca"]]), Ta = ["aria-label", "onKeydown"], Ea = ["title", "aria-label"], Da = /* @__PURE__ */ R({
3011
3047
  __name: "TemplateNameField",
3012
3048
  props: {
3013
3049
  name: {},
@@ -3036,10 +3072,10 @@ var va = [
3036
3072
  type: "text",
3037
3073
  "data-testid": "template-name-input",
3038
3074
  "aria-label": b(i).header.templateName,
3039
- class: c([b(Ot), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
3075
+ class: c([b(kt), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
3040
3076
  onKeydown: [U(B(p, ["prevent"]), ["enter"]), U(B(m, ["prevent"]), ["esc"])],
3041
3077
  onBlur: p
3042
- }, null, 42, Sa)), [[z, l.value]]) : e.editable ? (s(), C("button", {
3078
+ }, null, 42, Ta)), [[z, l.value]]) : e.editable ? (s(), C("button", {
3043
3079
  key: 1,
3044
3080
  type: "button",
3045
3081
  "data-testid": "template-name",
@@ -3047,49 +3083,49 @@ var va = [
3047
3083
  "aria-label": b(i).header.rename,
3048
3084
  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 }]),
3049
3085
  onClick: f
3050
- }, a(e.name || b(i).header.untitled), 11, Ca)) : (s(), C("span", {
3086
+ }, a(e.name || b(i).header.untitled), 11, Ea)) : (s(), C("span", {
3051
3087
  key: 2,
3052
3088
  "data-testid": "template-name",
3053
3089
  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 }])
3054
3090
  }, a(e.name || b(i).header.untitled), 3));
3055
3091
  }
3056
- }), Ta = ["title"], Ea = /* @__PURE__ */ R({
3092
+ }), Oa = ["title"], ka = /* @__PURE__ */ R({
3057
3093
  __name: "TemplateTimestamp",
3058
3094
  props: {
3059
3095
  iso: {},
3060
3096
  kind: {}
3061
3097
  },
3062
3098
  setup(e) {
3063
- let t = e, { t: n, format: r } = $(), i = L(rt, void 0), o = S(0);
3064
- Gn(() => {
3099
+ let t = e, { t: n, format: r } = $(), i = L(gt, void 0), o = S(0);
3100
+ qn(() => {
3065
3101
  o.value += 1;
3066
3102
  }, 6e4);
3067
3103
  let c = y(() => {
3068
3104
  o.value;
3069
- let e = qn(t.iso, n.time, r);
3105
+ let e = Yn(t.iso, n.time, r);
3070
3106
  if (e === null) return "";
3071
3107
  let i = e === n.time.justNow;
3072
3108
  return t.kind === "updatedAt" ? i ? n.header.updatedJustNow : r(n.header.updatedAt, { time: e }) : i ? n.header.createdJustNow : r(n.header.createdAt, { time: e });
3073
- }), l = y(() => Kn(t.iso, i));
3109
+ }), l = y(() => Jn(t.iso, i));
3074
3110
  return (e, t) => c.value ? (s(), C("span", {
3075
3111
  key: 0,
3076
3112
  "data-testid": "template-timestamp",
3077
3113
  title: l.value,
3078
3114
  class: "tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:text-xs tpl:leading-tight tpl:text-[var(--tpl-text-dim)]"
3079
- }, a(c.value), 9, Ta)) : x("", !0);
3115
+ }, a(c.value), 9, Oa)) : x("", !0);
3080
3116
  }
3081
- }), Da = [
3117
+ }), Aa = [
3082
3118
  "aria-live",
3083
3119
  "data-testid",
3084
3120
  "title",
3085
3121
  "data-tooltip"
3086
- ], Oa = {
3122
+ ], ja = {
3087
3123
  key: 2,
3088
3124
  class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]"
3089
- }, ka = {
3125
+ }, Ma = {
3090
3126
  key: 0,
3091
3127
  class: "tpl-status-label"
3092
- }, Aa = /* @__PURE__ */ R({
3128
+ }, Na = /* @__PURE__ */ R({
3093
3129
  __name: "TemplateSaveStatus",
3094
3130
  props: {
3095
3131
  status: {},
@@ -3111,21 +3147,21 @@ var va = [
3111
3147
  }, [O("span", {
3112
3148
  class: c(["tpl-status-icon tpl:inline-flex tpl:size-3 tpl:shrink-0 tpl:items-center tpl:justify-center", { "tpl:invisible": r.value === "none" }]),
3113
3149
  "aria-hidden": "true"
3114
- }, [r.value === "error" ? (s(), F(b(Yn), {
3150
+ }, [r.value === "error" ? (s(), F(b(Zn), {
3115
3151
  key: 0,
3116
3152
  size: 12,
3117
3153
  "stroke-width": 2.5
3118
- })) : r.value === "saved" ? (s(), F(b(Jn), {
3154
+ })) : r.value === "saved" ? (s(), F(b(Xn), {
3119
3155
  key: 1,
3120
3156
  size: 12,
3121
3157
  "stroke-width": 2.5
3122
- })) : r.value === "unsaved" ? (s(), C("span", Oa)) : x("", !0)], 2), r.value === "none" ? x("", !0) : (s(), C("span", ka, a(o.value), 1))], 10, Da));
3158
+ })) : r.value === "unsaved" ? (s(), C("span", ja)) : x("", !0)], 2), r.value === "none" ? x("", !0) : (s(), C("span", Ma, a(o.value), 1))], 10, Aa));
3123
3159
  }
3124
- }), ja = [
3160
+ }), Pa = [
3125
3161
  "aria-pressed",
3126
3162
  "aria-label",
3127
3163
  "title"
3128
- ], Ma = { class: "tpl-header-label" }, Na = /* @__PURE__ */ R({
3164
+ ], Fa = { class: "tpl-header-label" }, Ia = /* @__PURE__ */ R({
3129
3165
  __name: "AiHeaderMenu",
3130
3166
  props: { feature: {} },
3131
3167
  setup(e) {
@@ -3140,41 +3176,43 @@ var va = [
3140
3176
  "aria-pressed": r.value,
3141
3177
  "aria-label": b(n).ai.menu.chat,
3142
3178
  title: b(n).ai.menu.chat,
3143
- class: c(b(At)),
3179
+ class: c(b(jt)),
3144
3180
  style: f(r.value ? {
3145
3181
  backgroundColor: "var(--tpl-primary-light)",
3146
3182
  borderColor: "var(--tpl-primary-light)"
3147
3183
  } : void 0),
3148
3184
  onClick: B(i, ["stop"])
3149
- }, [v(b(jn), {
3185
+ }, [v(b(Nn), {
3150
3186
  size: 16,
3151
3187
  "stroke-width": 2,
3152
3188
  class: "tpl:text-[var(--tpl-primary-hover)]",
3153
3189
  "aria-hidden": "true"
3154
- }), O("span", Ma, a(b(n).ai.menu.button), 1)], 14, ja)) : x("", !0);
3190
+ }), O("span", Fa, a(b(n).ai.menu.button), 1)], 14, Pa)) : x("", !0);
3155
3191
  }
3156
- }), Pa = [
3192
+ }), La = [
3157
3193
  "data-compact",
3158
3194
  "data-full-width",
3159
3195
  "data-status-label"
3160
- ], Fa = { class: "tpl-header-left tpl:flex tpl:min-w-0 tpl:items-center tpl:gap-2.5" }, Ia = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, La = { class: "tpl-header-right tpl:flex tpl:min-w-0 tpl:items-center tpl:justify-end tpl:gap-3" }, Ra = [
3196
+ ], Ra = { class: "tpl-header-left tpl:flex tpl:min-w-0 tpl:items-center tpl:gap-2.5" }, za = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, Ba = { class: "tpl-header-right tpl:flex tpl:min-w-0 tpl:items-center tpl:justify-end tpl:gap-3" }, Va = [
3161
3197
  "aria-label",
3162
3198
  "title",
3163
3199
  "aria-expanded"
3164
- ], za = { class: "tpl-header-label" }, Ba = {
3200
+ ], Ha = { class: "tpl-header-label" }, Ua = {
3165
3201
  key: 0,
3166
3202
  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)]"
3167
- }, Va = [
3203
+ }, Wa = [
3168
3204
  "aria-label",
3169
3205
  "title",
3170
3206
  "disabled"
3171
- ], Ha = { class: "tpl-header-label" }, Ua = [
3207
+ ], Ga = { class: "tpl-header-label" }, Ka = [
3172
3208
  "aria-label",
3173
3209
  "disabled",
3174
3210
  "title"
3175
- ], Wa = { class: "tpl-header-label" }, Ga = /* @__PURE__ */ R({
3211
+ ], qa = { class: "tpl-header-label" }, Ja = /* @__PURE__ */ R({
3176
3212
  __name: "EditorHeader",
3177
3213
  props: {
3214
+ header: {},
3215
+ shadowRoot: {},
3178
3216
  editor: {},
3179
3217
  localization: {},
3180
3218
  core: {},
@@ -3186,182 +3224,205 @@ var va = [
3186
3224
  collaboration: {},
3187
3225
  ai: {}
3188
3226
  },
3189
- setup(e) {
3190
- let t = I(() => import("./VersionHistoryMenu-P3P00KqQ.js")), n = I(() => import("./LanguageMenu-confz89v.js")), r = I(() => import("./CollaboratorBar-jq6HH0fb.js")), o = A(null), l = A(null), { compact: u, fullWidth: d, statusLabel: p } = _a(o, l);
3191
- return (m, h) => (s(), C("div", {
3227
+ setup(n) {
3228
+ let r = I(() => import("./VersionHistoryMenu-6jMve6By.js")), l = I(() => import("./LanguageMenu-CEKRbNhA.js")), u = I(() => import("./CollaboratorBar-DsRjAaqd.js")), d = A(null), p = A(null), m = A(null), h = n, g = h.header?.actions, _ = h.header?.viewportToggle !== !1, y = h.header?.darkModeToggle !== !1, S = h.header?.previewToggle !== !1, { compact: w, fullWidth: T, statusLabel: E, invalidateContent: k } = ba(d, p, g), j = g?.getAttribute("slot"), M = null;
3229
+ return g && t([w, () => h.core.resolvedTheme.value], ([e, t]) => {
3230
+ g.setAttribute("data-tpl-compact", String(e)), g.setAttribute("data-tpl-theme", t === "dark" ? "dark" : "light");
3231
+ }, {
3232
+ immediate: !0,
3233
+ flush: "sync"
3234
+ }), e(() => {
3235
+ if (!g) return;
3236
+ let e = h.shadowRoot?.host ?? m.value;
3237
+ e && (h.shadowRoot && g.setAttribute("slot", "tpl-header-actions"), e.appendChild(g), M = e, k());
3238
+ }), D(() => {
3239
+ g && g.parentElement === M && (g.remove(), h.shadowRoot && (j == null ? g.removeAttribute("slot") : g.setAttribute("slot", j)), M = null);
3240
+ }), (e, t) => (s(), C("div", {
3192
3241
  ref_key: "containerElement",
3193
- ref: o,
3242
+ ref: d,
3194
3243
  class: "tpl-header-container tpl:absolute tpl:inset-x-0 tpl:top-0 tpl:z-50 tpl:h-14"
3195
3244
  }, [O("header", {
3196
3245
  ref_key: "headerElement",
3197
- ref: l,
3198
- "data-compact": b(u),
3199
- "data-full-width": b(d),
3200
- "data-status-label": b(p),
3246
+ ref: p,
3247
+ "data-compact": b(w),
3248
+ "data-full-width": b(T),
3249
+ "data-status-label": b(E),
3201
3250
  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)]"
3202
3251
  }, [
3203
- O("div", Fa, [
3204
- e.templates?.isAvailable.value && e.templates.hasTemplate.value && (e.showTemplateName || e.templates.timestamp.value) ? (s(), C("div", {
3252
+ O("div", Ra, [
3253
+ n.templates?.isAvailable.value && n.templates.hasTemplate.value && (n.showTemplateName || n.templates.timestamp.value) ? (s(), C("div", {
3205
3254
  key: 0,
3206
- 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 }])
3207
- }, [e.showTemplateName ? (s(), F(wa, {
3255
+ class: c(["tpl-header-identity tpl:flex tpl:min-w-0 tpl:flex-col tpl:items-start", { "tpl:pb-1.5": n.showTemplateName && n.templates.timestamp.value !== null }])
3256
+ }, [n.showTemplateName ? (s(), F(Da, {
3208
3257
  key: 0,
3209
- name: e.templates.name.value,
3210
- editable: e.templates.canSave.value,
3211
- onCommit: e.templates.rename
3258
+ name: n.templates.name.value,
3259
+ editable: n.templates.canSave.value,
3260
+ onCommit: n.templates.rename
3212
3261
  }, null, 8, [
3213
3262
  "name",
3214
3263
  "editable",
3215
3264
  "onCommit"
3216
- ])) : x("", !0), e.templates.timestamp.value ? (s(), F(Ea, {
3265
+ ])) : x("", !0), n.templates.timestamp.value ? (s(), F(ka, {
3217
3266
  key: 1,
3218
3267
  class: "tpl-header-timestamp",
3219
- iso: e.templates.timestamp.value.iso,
3220
- kind: e.templates.timestamp.value.kind
3268
+ iso: n.templates.timestamp.value.iso,
3269
+ kind: n.templates.timestamp.value.kind
3221
3270
  }, null, 8, ["iso", "kind"])) : x("", !0)], 2)) : x("", !0),
3222
- e.localization ? (s(), F(b(n), {
3271
+ n.localization ? (s(), F(b(l), {
3223
3272
  key: 1,
3224
- editor: e.editor,
3225
- locales: e.localization.locales
3273
+ editor: n.editor,
3274
+ locales: n.localization.locales
3226
3275
  }, null, 8, ["editor", "locales"])) : x("", !0),
3227
- e.versionHistory?.isAvailable.value && e.versionHistory.hasTemplate.value ? (s(), F(b(t), {
3276
+ n.versionHistory?.isAvailable.value && n.versionHistory.hasTemplate.value ? (s(), F(b(r), {
3228
3277
  key: 2,
3229
- versions: e.versionHistory.versions.value,
3230
- "is-loading": e.versionHistory.isLoading.value,
3231
- "is-restoring": e.versionHistory.isRestoring.value,
3232
- "previewing-id": e.versionHistory.previewingVersion.value?.id ?? null,
3233
- onOpen: h[0] ||= (t) => e.versionHistory.refresh(),
3234
- onNavigate: h[1] ||= (t) => e.versionHistory.navigate(t)
3278
+ versions: n.versionHistory.versions.value,
3279
+ "is-loading": n.versionHistory.isLoading.value,
3280
+ "is-restoring": n.versionHistory.isRestoring.value,
3281
+ "previewing-id": n.versionHistory.previewingVersion.value?.id ?? null,
3282
+ onOpen: t[0] ||= (e) => n.versionHistory.refresh(),
3283
+ onNavigate: t[1] ||= (e) => n.versionHistory.navigate(e)
3235
3284
  }, null, 8, [
3236
3285
  "versions",
3237
3286
  "is-loading",
3238
3287
  "is-restoring",
3239
3288
  "previewing-id"
3240
3289
  ])) : x("", !0),
3241
- e.collaboration?.isLive.value ? (s(), F(b(r), {
3290
+ n.collaboration?.isLive.value ? (s(), F(b(u), {
3242
3291
  key: 3,
3243
- people: e.collaboration.people.value,
3244
- connection: e.collaboration.connection.value
3292
+ people: n.collaboration.people.value,
3293
+ connection: n.collaboration.connection.value
3245
3294
  }, null, 8, ["people", "connection"])) : x("", !0),
3246
- i(m.$slots, "left-extras")
3295
+ i(e.$slots, "left-extras")
3247
3296
  ]),
3248
- O("div", Ia, [
3249
- v(Bn, {
3250
- viewport: e.editor.state.viewport,
3251
- onChange: e.editor.setViewport
3252
- }, null, 8, ["viewport", "onChange"]),
3253
- v(ya, {
3254
- "dark-mode": e.editor.state.darkMode,
3255
- onChange: e.editor.setDarkMode
3256
- }, null, 8, ["dark-mode", "onChange"]),
3257
- v(xa, {
3258
- "preview-mode": e.editor.state.previewMode,
3259
- onChange: e.editor.setPreviewMode
3260
- }, null, 8, ["preview-mode", "onChange"])
3297
+ O("div", za, [
3298
+ _ ? (s(), F(Hn, {
3299
+ key: 0,
3300
+ viewport: n.editor.state.viewport,
3301
+ onChange: n.editor.setViewport
3302
+ }, null, 8, ["viewport", "onChange"])) : x("", !0),
3303
+ y ? (s(), F(Sa, {
3304
+ key: 1,
3305
+ "dark-mode": n.editor.state.darkMode,
3306
+ onChange: n.editor.setDarkMode
3307
+ }, null, 8, ["dark-mode", "onChange"])) : x("", !0),
3308
+ S ? (s(), F(wa, {
3309
+ key: 2,
3310
+ "preview-mode": n.editor.state.previewMode,
3311
+ onChange: n.editor.setPreviewMode
3312
+ }, null, 8, ["preview-mode", "onChange"])) : x("", !0)
3261
3313
  ]),
3262
- O("div", La, [
3263
- e.templates?.isAvailable.value && e.templates.canSave.value ? (s(), F(Aa, {
3314
+ O("div", Ba, [
3315
+ n.templates?.isAvailable.value && n.templates.canSave.value ? (s(), F(Na, {
3264
3316
  key: 0,
3265
3317
  class: "tpl-header-save-status",
3266
- status: e.templates.status.value,
3267
- "error-message": e.templates.errorMessage.value,
3268
- "is-dirty": e.editor.state.isDirty
3318
+ status: n.templates.status.value,
3319
+ "error-message": n.templates.errorMessage.value,
3320
+ "is-dirty": n.editor.state.isDirty
3269
3321
  }, null, 8, [
3270
3322
  "status",
3271
3323
  "error-message",
3272
3324
  "is-dirty"
3273
3325
  ])) : x("", !0),
3274
- e.comments?.isAvailable.value && e.comments.hasTemplate.value ? (s(), C("button", {
3326
+ n.comments?.isAvailable.value && n.comments.hasTemplate.value ? (s(), C("button", {
3275
3327
  key: 1,
3276
3328
  type: "button",
3277
3329
  "data-testid": "comments-trigger",
3278
- "aria-label": e.comments.unresolvedCount.value > 0 ? `${e.core.t.comments.button} (${e.comments.unresolvedCount.value})` : e.core.t.comments.button,
3279
- title: e.core.t.comments.button,
3280
- "aria-expanded": e.comments.isOpen.value,
3281
- class: c(b(At)),
3282
- style: f(e.comments.isOpen.value ? {
3330
+ "aria-label": n.comments.unresolvedCount.value > 0 ? `${n.core.t.comments.button} (${n.comments.unresolvedCount.value})` : n.core.t.comments.button,
3331
+ title: n.core.t.comments.button,
3332
+ "aria-expanded": n.comments.isOpen.value,
3333
+ class: c(b(jt)),
3334
+ style: f(n.comments.isOpen.value ? {
3283
3335
  backgroundColor: "var(--tpl-primary-light)",
3284
3336
  borderColor: "var(--tpl-primary-light)"
3285
3337
  } : void 0),
3286
- onClick: h[2] ||= (t) => e.comments.toggle()
3338
+ onClick: t[2] ||= (e) => n.comments.toggle()
3287
3339
  }, [
3288
- v(b(Rn), {
3340
+ v(b(Bn), {
3289
3341
  size: 16,
3290
3342
  "stroke-width": 2
3291
3343
  }),
3292
- O("span", za, a(e.core.t.comments.button), 1),
3293
- e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (s(), C("span", Ba, a(e.comments.unresolvedCount.value), 1)) : x("", !0)
3294
- ], 14, Ra)) : x("", !0),
3295
- e.ai ? (s(), F(Na, {
3344
+ O("span", Ha, a(n.core.t.comments.button), 1),
3345
+ n.comments.unresolvedCount.value > 0 && !n.comments.isOpen.value ? (s(), C("span", Ua, a(n.comments.unresolvedCount.value), 1)) : x("", !0)
3346
+ ], 14, Va)) : x("", !0),
3347
+ n.ai ? (s(), F(Ia, {
3296
3348
  key: 2,
3297
- feature: e.ai
3349
+ feature: n.ai
3298
3350
  }, null, 8, ["feature"])) : x("", !0),
3299
- i(m.$slots, "right-extras"),
3300
- e.testEmail?.isAvailable.value ? (s(), C("button", {
3351
+ i(e.$slots, "right-extras"),
3352
+ n.shadowRoot ? (s(), F(o("slot"), {
3301
3353
  key: 3,
3354
+ name: "tpl-header-actions"
3355
+ })) : (s(), C("span", {
3356
+ key: 4,
3357
+ ref_key: "actionsTarget",
3358
+ ref: m,
3359
+ class: "tpl-header-actions"
3360
+ }, null, 512)),
3361
+ n.testEmail?.isAvailable.value ? (s(), C("button", {
3362
+ key: 5,
3302
3363
  type: "button",
3303
3364
  "data-testid": "test-email-trigger",
3304
- "aria-label": e.core.t.testEmail.title,
3305
- title: e.core.t.testEmail.title,
3306
- disabled: e.testEmail.isSending.value,
3307
- class: c(b(At)),
3308
- onClick: h[3] ||= (t) => e.testEmail.open()
3309
- }, [e.testEmail.isSending.value ? (s(), F(b(Ln), {
3365
+ "aria-label": n.core.t.testEmail.title,
3366
+ title: n.core.t.testEmail.title,
3367
+ disabled: n.testEmail.isSending.value,
3368
+ class: c(b(jt)),
3369
+ onClick: t[3] ||= (e) => n.testEmail.open()
3370
+ }, [n.testEmail.isSending.value ? (s(), F(b(zn), {
3310
3371
  key: 1,
3311
3372
  class: "tpl-spinner",
3312
3373
  size: 16,
3313
3374
  "stroke-width": 2
3314
- })) : (s(), F(b(zn), {
3375
+ })) : (s(), F(b(Vn), {
3315
3376
  key: 0,
3316
3377
  size: 16,
3317
3378
  "stroke-width": 2
3318
- })), O("span", Ha, a(e.core.t.testEmail.button), 1)], 10, Va)) : x("", !0),
3319
- e.templates?.isAvailable.value && e.templates.canSave.value ? (s(), C("button", {
3320
- key: 4,
3379
+ })), O("span", Ga, a(n.core.t.testEmail.button), 1)], 10, Wa)) : x("", !0),
3380
+ n.templates?.isAvailable.value && n.templates.canSave.value ? (s(), C("button", {
3381
+ key: 6,
3321
3382
  type: "button",
3322
3383
  "data-testid": "template-save",
3323
- class: c(e.editor.state.isDirty && e.templates.hasTemplate.value ? b(jt) : b(At)),
3324
- style: f(e.editor.state.isDirty && e.templates.hasTemplate.value ? { boxShadow: "var(--tpl-shadow-sm)" } : void 0),
3325
- "aria-label": e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save,
3326
- disabled: e.templates.isSaving.value || !e.templates.hasTemplate.value,
3327
- title: e.templates.hasTemplate.value ? e.core.t.header.save : e.core.t.header.saveNoTemplate,
3328
- onClick: h[4] ||= (t) => e.templates.requestSave()
3329
- }, [e.templates.isSaving.value ? (s(), F(b(Ln), {
3384
+ class: c(n.editor.state.isDirty && n.templates.hasTemplate.value ? b(Mt) : b(jt)),
3385
+ style: f(n.editor.state.isDirty && n.templates.hasTemplate.value ? { boxShadow: "var(--tpl-shadow-sm)" } : void 0),
3386
+ "aria-label": n.templates.isSaving.value ? n.core.t.header.saving : n.core.t.header.save,
3387
+ disabled: n.templates.isSaving.value || !n.templates.hasTemplate.value,
3388
+ title: n.templates.hasTemplate.value ? n.core.t.header.save : n.core.t.header.saveNoTemplate,
3389
+ onClick: t[4] ||= (e) => n.templates.requestSave()
3390
+ }, [n.templates.isSaving.value ? (s(), F(b(zn), {
3330
3391
  key: 1,
3331
3392
  class: "tpl-spinner",
3332
3393
  size: 16,
3333
3394
  "stroke-width": 2
3334
- })) : (s(), F(b(lr), {
3395
+ })) : (s(), F(b(dr), {
3335
3396
  key: 0,
3336
3397
  size: 16,
3337
3398
  "stroke-width": 2
3338
- })), O("span", Wa, a(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14, Ua)) : x("", !0)
3399
+ })), O("span", qa, a(n.templates.isSaving.value ? n.core.t.header.saving : n.core.t.header.save), 1)], 14, Ka)) : x("", !0)
3339
3400
  ])
3340
- ], 8, Pa)], 512));
3401
+ ], 8, La)], 512));
3341
3402
  }
3342
- }), Ka = ["aria-labelledby", "data-tpl-theme"], qa = { 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" }, Ja = ["id"], Ya = ["aria-label"], Xa = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Za = [
3403
+ }), Ya = ["aria-labelledby", "data-tpl-theme"], Xa = { 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" }, Za = ["id"], Qa = ["aria-label"], $a = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, eo = [
3343
3404
  "id",
3344
3405
  "placeholder",
3345
3406
  "aria-label",
3346
3407
  "aria-activedescendant"
3347
- ], Qa = {
3408
+ ], to = {
3348
3409
  key: 0,
3349
3410
  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",
3350
3411
  "data-testid": "merge-tag-picker-group-pills"
3351
- }, $a = ["data-group-name", "onClick"], eo = ["aria-label"], to = {
3412
+ }, no = ["data-group-name", "onClick"], ro = ["aria-label"], io = {
3352
3413
  key: 0,
3353
3414
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3354
3415
  "data-testid": "merge-tag-picker-empty"
3355
- }, no = {
3416
+ }, ao = {
3356
3417
  key: 1,
3357
3418
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3358
3419
  "data-testid": "merge-tag-picker-empty"
3359
- }, ro = [
3420
+ }, oo = [
3360
3421
  "aria-expanded",
3361
3422
  "data-group-name",
3362
3423
  "data-group-collapsed",
3363
3424
  "onClick"
3364
- ], io = { class: "tpl:ml-1 tpl:font-normal" }, ao = [
3425
+ ], so = { class: "tpl:ml-1 tpl:font-normal" }, co = [
3365
3426
  "id",
3366
3427
  "aria-selected",
3367
3428
  "data-selected",
@@ -3371,21 +3432,21 @@ var va = [
3371
3432
  "title",
3372
3433
  "onMousemove",
3373
3434
  "onClick"
3374
- ], oo = { class: "tpl:text-sm tpl:font-medium" }, so = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, co = {
3435
+ ], lo = { class: "tpl:text-sm tpl:font-medium" }, uo = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, fo = {
3375
3436
  key: 0,
3376
3437
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3377
- }, lo = {
3438
+ }, po = {
3378
3439
  key: 1,
3379
3440
  "data-testid": "merge-tag-picker-sample",
3380
3441
  class: "tpl:line-clamp-1 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3381
- }, uo = "tpl-merge-tag-picker-list", fo = /* @__PURE__ */ R({
3442
+ }, mo = "tpl-merge-tag-picker-list", ho = /* @__PURE__ */ R({
3382
3443
  __name: "MergeTagPickerModal",
3383
3444
  setup(e) {
3384
- let n = ot(Je, "MergeTagPickerModal"), { t: r, format: i } = $(), o = L(gt, null), l = L(_t, null), p = L(St, !0), m = y(() => n.current.value !== null), _ = y(() => m.value ? r.mergeTag.picker.changeTitle : r.mergeTag.picker.title);
3445
+ let n = ft(qe, "MergeTagPickerModal"), { t: r, format: i } = $(), o = L(_t, null), l = L(vt, null), p = L(St, !0), m = y(() => n.current.value !== null), _ = y(() => m.value ? r.mergeTag.picker.changeTitle : r.mergeTag.picker.title);
3385
3446
  function w(e) {
3386
3447
  return p ? e.description ? `${e.value} — ${e.description}` : e.value : e.description || void 0;
3387
3448
  }
3388
- let T = S(""), E = Wn(T, 200), D = S(null), k = y(() => E.value.trim().length > 0), A = S(0), j = y(() => n.tags.value.some((e) => !!e.group)), N = S(/* @__PURE__ */ new Set());
3449
+ let T = S(""), E = Kn(T, 200), D = S(null), k = y(() => E.value.trim().length > 0), A = S(0), j = y(() => n.tags.value.some((e) => !!e.group)), N = S(/* @__PURE__ */ new Set());
3389
3450
  function P(e) {
3390
3451
  return N.value.has(e);
3391
3452
  }
@@ -3505,13 +3566,13 @@ var va = [
3505
3566
  }
3506
3567
  }
3507
3568
  function se() {
3508
- if (W.value.length !== 0) return `${uo}-opt-${A.value}`;
3569
+ if (W.value.length !== 0) return `${mo}-opt-${A.value}`;
3509
3570
  }
3510
3571
  function ce(e) {
3511
- return `${uo}-opt-${e}`;
3572
+ return `${mo}-opt-${e}`;
3512
3573
  }
3513
3574
  let le = y(() => n.tags.value.length === 0), ue = y(() => !le.value && R.value.length === 0), de = y(() => j.value && V.value.length > 1 && !k.value);
3514
- return (e, t) => (s(), F(Mt, {
3575
+ return (e, t) => (s(), F(Nt, {
3515
3576
  visible: b(n).isOpen.value,
3516
3577
  onClose: J,
3517
3578
  onKeydown: oe
@@ -3519,16 +3580,16 @@ var va = [
3519
3580
  default: h(() => [O("div", {
3520
3581
  role: "dialog",
3521
3582
  "aria-modal": "true",
3522
- "aria-labelledby": `${uo}-title`,
3583
+ "aria-labelledby": `${mo}-title`,
3523
3584
  "data-tpl-theme": b(l),
3524
3585
  "data-testid": "merge-tag-picker-modal",
3525
3586
  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)]",
3526
3587
  style: f(b(o))
3527
3588
  }, [
3528
- O("header", qa, [O("h2", {
3529
- id: `${uo}-title`,
3589
+ O("header", Xa, [O("h2", {
3590
+ id: `${mo}-title`,
3530
3591
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3531
- }, a(_.value), 9, Ja), O("button", {
3592
+ }, a(_.value), 9, Za), O("button", {
3532
3593
  type: "button",
3533
3594
  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)]",
3534
3595
  "aria-label": b(r).mergeTag.picker.close,
@@ -3537,13 +3598,13 @@ var va = [
3537
3598
  }, [v(b(He), {
3538
3599
  size: 16,
3539
3600
  "stroke-width": 2
3540
- })], 8, Ya)]),
3541
- O("div", Xa, [v(b(Zn), {
3601
+ })], 8, Qa)]),
3602
+ O("div", $a, [v(b($n), {
3542
3603
  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)]",
3543
3604
  size: 14,
3544
3605
  "stroke-width": 2
3545
3606
  }), g(O("input", {
3546
- id: `${uo}-search`,
3607
+ id: `${mo}-search`,
3547
3608
  ref_key: "searchInputRef",
3548
3609
  ref: D,
3549
3610
  "onUpdate:modelValue": t[0] ||= (e) => T.value = e,
@@ -3551,48 +3612,48 @@ var va = [
3551
3612
  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)]",
3552
3613
  placeholder: b(r).mergeTag.picker.searchPlaceholder,
3553
3614
  "aria-label": b(r).mergeTag.picker.searchAriaLabel,
3554
- "aria-controls": uo,
3615
+ "aria-controls": mo,
3555
3616
  "aria-activedescendant": se(),
3556
3617
  "data-testid": "merge-tag-picker-search",
3557
3618
  onKeydown: t[1] ||= U(B(() => {}, ["prevent"]), ["enter"])
3558
- }, null, 40, Za), [[z, T.value]])]),
3559
- de.value ? (s(), C("div", Qa, [(s(!0), C(M, null, d(V.value, (e) => (s(), C("button", {
3619
+ }, null, 40, eo), [[z, T.value]])]),
3620
+ de.value ? (s(), C("div", to, [(s(!0), C(M, null, d(V.value, (e) => (s(), C("button", {
3560
3621
  key: e,
3561
3622
  type: "button",
3562
3623
  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)]",
3563
3624
  "data-testid": "merge-tag-picker-group-pill",
3564
3625
  "data-group-name": e,
3565
3626
  onClick: (t) => ae(e)
3566
- }, a(e), 9, $a))), 128))])) : x("", !0),
3627
+ }, a(e), 9, no))), 128))])) : x("", !0),
3567
3628
  O("div", {
3568
- id: uo,
3629
+ id: mo,
3569
3630
  ref_key: "listRef",
3570
3631
  ref: te,
3571
3632
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3572
3633
  role: "listbox",
3573
3634
  "aria-label": _.value,
3574
3635
  "data-testid": "merge-tag-picker-list"
3575
- }, [le.value ? (s(), C("div", to, a(b(r).mergeTag.picker.empty), 1)) : ue.value ? (s(), C("div", no, a(b(r).mergeTag.picker.noResults), 1)) : (s(!0), C(M, { key: 2 }, d(H.value, (e, t) => (s(), C(M, { key: t }, [e.kind === "header" ? (s(), C("button", {
3636
+ }, [le.value ? (s(), C("div", io, a(b(r).mergeTag.picker.empty), 1)) : ue.value ? (s(), C("div", ao, a(b(r).mergeTag.picker.noResults), 1)) : (s(!0), C(M, { key: 2 }, d(H.value, (e, t) => (s(), C(M, { key: t }, [e.kind === "header" ? (s(), C("button", {
3576
3637
  key: 0,
3577
3638
  ref_for: !0,
3578
3639
  ref: (t) => re(e.group, t),
3579
3640
  type: "button",
3580
3641
  "aria-expanded": !P(e.group),
3581
- "aria-controls": uo,
3642
+ "aria-controls": mo,
3582
3643
  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)]",
3583
3644
  "data-testid": "merge-tag-picker-group-header",
3584
3645
  "data-group-name": e.group,
3585
3646
  "data-group-collapsed": P(e.group) ? "true" : "false",
3586
3647
  onClick: (t) => I(e.group)
3587
3648
  }, [
3588
- v(b(Xn), {
3649
+ v(b(Qn), {
3589
3650
  size: 12,
3590
3651
  "stroke-width": 2,
3591
3652
  class: c(["tpl:transition-transform", P(e.group) ? "tpl:-rotate-90" : ""])
3592
3653
  }, null, 8, ["class"]),
3593
3654
  O("span", null, a(e.group), 1),
3594
- O("span", io, " (" + a(b(i)(b(r).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3595
- ], 8, ro)) : (s(), C("button", {
3655
+ O("span", so, " (" + a(b(i)(b(r).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3656
+ ], 8, oo)) : (s(), C("button", {
3596
3657
  key: 1,
3597
3658
  id: ce(e.index),
3598
3659
  type: "button",
@@ -3608,16 +3669,16 @@ var va = [
3608
3669
  onMousemove: (t) => K(e.index),
3609
3670
  onClick: (t) => q(e.tag)
3610
3671
  }, [
3611
- O("span", oo, a(e.tag.label), 1),
3612
- O("span", so, a(e.tag.value), 1),
3613
- e.tag.description ? (s(), C("span", co, a(e.tag.description), 1)) : x("", !0),
3614
- e.tag.sample === void 0 ? x("", !0) : (s(), C("span", lo, a(b(i)(b(r).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
3615
- ], 42, ao))], 64))), 128))], 8, eo)
3616
- ], 12, Ka)]),
3672
+ O("span", lo, a(e.tag.label), 1),
3673
+ O("span", uo, a(e.tag.value), 1),
3674
+ e.tag.description ? (s(), C("span", fo, a(e.tag.description), 1)) : x("", !0),
3675
+ e.tag.sample === void 0 ? x("", !0) : (s(), C("span", po, a(b(i)(b(r).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
3676
+ ], 42, co))], 64))), 128))], 8, ro)
3677
+ ], 12, Ya)]),
3617
3678
  _: 1
3618
3679
  }, 8, ["visible"]));
3619
3680
  }
3620
- }), po = ["data-logic-keyword"], mo = /* @__PURE__ */ R({
3681
+ }), go = ["data-logic-keyword"], _o = /* @__PURE__ */ R({
3621
3682
  __name: "LogicTagBadge",
3622
3683
  props: {
3623
3684
  value: {},
@@ -3634,22 +3695,22 @@ var va = [
3634
3695
  },
3635
3696
  "data-testid": "merge-tag-logic-badge",
3636
3697
  "data-logic-keyword": r.value
3637
- }, a(r.value), 9, po)) : x("", !0);
3698
+ }, a(r.value), 9, go)) : x("", !0);
3638
3699
  }
3639
- }), ho = ["aria-labelledby", "data-tpl-theme"], go = { 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" }, _o = ["id"], vo = ["aria-label"], yo = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, bo = [
3700
+ }), vo = ["aria-labelledby", "data-tpl-theme"], yo = { 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" }, bo = ["id"], xo = ["aria-label"], So = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Co = [
3640
3701
  "id",
3641
3702
  "placeholder",
3642
3703
  "aria-label",
3643
3704
  "aria-activedescendant"
3644
- ], xo = ["aria-label"], So = {
3705
+ ], wo = ["aria-label"], To = {
3645
3706
  key: 0,
3646
3707
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3647
3708
  "data-testid": "logic-picker-empty"
3648
- }, Co = {
3709
+ }, Eo = {
3649
3710
  key: 1,
3650
3711
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3651
3712
  "data-testid": "logic-picker-empty"
3652
- }, wo = ["data-group-name"], To = [
3713
+ }, Do = ["data-group-name"], Oo = [
3653
3714
  "id",
3654
3715
  "aria-selected",
3655
3716
  "data-selected",
@@ -3657,19 +3718,19 @@ var va = [
3657
3718
  "data-logic-kind",
3658
3719
  "onMousemove",
3659
3720
  "onClick"
3660
- ], Eo = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Do = { class: "tpl:text-sm tpl:font-medium" }, Oo = {
3721
+ ], ko = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Ao = { class: "tpl:text-sm tpl:font-medium" }, jo = {
3661
3722
  key: 0,
3662
3723
  class: "tpl:flex tpl:items-center"
3663
- }, ko = {
3724
+ }, Mo = {
3664
3725
  key: 1,
3665
3726
  class: "tpl:flex tpl:items-center tpl:gap-1"
3666
- }, Ao = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, jo = {
3727
+ }, No = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Po = {
3667
3728
  key: 0,
3668
3729
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3669
- }, Mo = "tpl-logic-picker-list", No = /* @__PURE__ */ R({
3730
+ }, Fo = "tpl-logic-picker-list", Io = /* @__PURE__ */ R({
3670
3731
  __name: "LogicTagPickerModal",
3671
3732
  setup(e) {
3672
- let n = ot(Ze, "LogicTagPickerModal"), { t: r } = $(), i = L(Ke, Te.liquid), o = L(gt, null), l = L(_t, null), p = S(""), m = Wn(p, 200), _ = S(null), w = y(() => m.value.trim().length > 0), T = S(0);
3733
+ let n = ft(Xe, "LogicTagPickerModal"), { t: r } = $(), i = L(Ge, Te.liquid), o = L(_t, null), l = L(vt, null), p = S(""), m = Kn(p, 200), _ = S(null), w = y(() => m.value.trim().length > 0), T = S(0);
3673
3734
  function E(e) {
3674
3735
  let t = m.value.trim().toLowerCase();
3675
3736
  return !t || e.filter(Boolean).join(" ").toLowerCase().includes(t);
@@ -3752,12 +3813,12 @@ var va = [
3752
3813
  }
3753
3814
  }
3754
3815
  function q(e) {
3755
- return `${Mo}-opt-${e}`;
3816
+ return `${Fo}-opt-${e}`;
3756
3817
  }
3757
3818
  function J() {
3758
- return I.value.length === 0 ? void 0 : `${Mo}-opt-${T.value}`;
3819
+ return I.value.length === 0 ? void 0 : `${Fo}-opt-${T.value}`;
3759
3820
  }
3760
- return (e, t) => (s(), F(Mt, {
3821
+ return (e, t) => (s(), F(Nt, {
3761
3822
  visible: b(n).isOpen.value,
3762
3823
  onClose: G,
3763
3824
  onKeydown: K
@@ -3765,16 +3826,16 @@ var va = [
3765
3826
  default: h(() => [O("div", {
3766
3827
  role: "dialog",
3767
3828
  "aria-modal": "true",
3768
- "aria-labelledby": `${Mo}-title`,
3829
+ "aria-labelledby": `${Fo}-title`,
3769
3830
  "data-tpl-theme": b(l),
3770
3831
  "data-testid": "logic-picker-modal",
3771
3832
  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)]",
3772
3833
  style: f(b(o))
3773
3834
  }, [
3774
- O("header", go, [O("h2", {
3775
- id: `${Mo}-title`,
3835
+ O("header", yo, [O("h2", {
3836
+ id: `${Fo}-title`,
3776
3837
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3777
- }, a(b(r).logicTag.picker.title), 9, _o), O("button", {
3838
+ }, a(b(r).logicTag.picker.title), 9, bo), O("button", {
3778
3839
  type: "button",
3779
3840
  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)]",
3780
3841
  "aria-label": b(r).logicTag.picker.close,
@@ -3783,13 +3844,13 @@ var va = [
3783
3844
  }, [v(b(He), {
3784
3845
  size: 16,
3785
3846
  "stroke-width": 2
3786
- })], 8, vo)]),
3787
- O("div", yo, [v(b(Zn), {
3847
+ })], 8, xo)]),
3848
+ O("div", So, [v(b($n), {
3788
3849
  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)]",
3789
3850
  size: 14,
3790
3851
  "stroke-width": 2
3791
3852
  }), g(O("input", {
3792
- id: `${Mo}-search`,
3853
+ id: `${Fo}-search`,
3793
3854
  ref_key: "searchInputRef",
3794
3855
  ref: _,
3795
3856
  "onUpdate:modelValue": t[0] ||= (e) => p.value = e,
@@ -3797,25 +3858,25 @@ var va = [
3797
3858
  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)]",
3798
3859
  placeholder: b(r).logicTag.picker.searchPlaceholder,
3799
3860
  "aria-label": b(r).logicTag.picker.searchAriaLabel,
3800
- "aria-controls": Mo,
3861
+ "aria-controls": Fo,
3801
3862
  "aria-activedescendant": J(),
3802
3863
  "data-testid": "logic-picker-search",
3803
3864
  onKeydown: t[1] ||= U(B(() => {}, ["prevent"]), ["enter"])
3804
- }, null, 40, bo), [[z, p.value]])]),
3865
+ }, null, 40, Co), [[z, p.value]])]),
3805
3866
  O("div", {
3806
- id: Mo,
3867
+ id: Fo,
3807
3868
  ref_key: "listRef",
3808
3869
  ref: H,
3809
3870
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3810
3871
  role: "listbox",
3811
3872
  "aria-label": b(r).logicTag.picker.title,
3812
3873
  "data-testid": "logic-picker-list"
3813
- }, [R.value ? (s(), C("div", So, a(b(r).logicTag.picker.empty), 1)) : V.value ? (s(), C("div", Co, a(b(r).logicTag.picker.noResults), 1)) : (s(!0), C(M, { key: 2 }, d(P.value.rows, (e, n) => (s(), C(M, { key: n }, [e.kind === "header" ? (s(), C("div", {
3874
+ }, [R.value ? (s(), C("div", To, a(b(r).logicTag.picker.empty), 1)) : V.value ? (s(), C("div", Eo, a(b(r).logicTag.picker.noResults), 1)) : (s(!0), C(M, { key: 2 }, d(P.value.rows, (e, n) => (s(), C(M, { key: n }, [e.kind === "header" ? (s(), C("div", {
3814
3875
  key: 0,
3815
3876
  class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
3816
3877
  "data-testid": "logic-picker-header",
3817
3878
  "data-group-name": e.label
3818
- }, a(e.label), 9, wo)) : (s(), C("button", {
3879
+ }, a(e.label), 9, Do)) : (s(), C("button", {
3819
3880
  key: 1,
3820
3881
  id: q(e.index),
3821
3882
  type: "button",
@@ -3829,32 +3890,35 @@ var va = [
3829
3890
  onMousemove: (t) => T.value = e.index,
3830
3891
  onClick: (t) => W(e.kind === "tag" ? e.tag : e.pair)
3831
3892
  }, [
3832
- O("span", Eo, [O("span", Do, a(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), C("span", Oo, [v(mo, {
3893
+ O("span", ko, [O("span", Ao, a(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), C("span", jo, [v(_o, {
3833
3894
  value: e.tag.value,
3834
3895
  syntax: b(i)
3835
- }, null, 8, ["value", "syntax"])])) : (s(), C("span", ko, [
3836
- v(mo, {
3896
+ }, null, 8, ["value", "syntax"])])) : (s(), C("span", Mo, [
3897
+ v(_o, {
3837
3898
  value: e.pair.before,
3838
3899
  syntax: b(i)
3839
3900
  }, null, 8, ["value", "syntax"]),
3840
3901
  t[2] ||= O("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
3841
- v(mo, {
3902
+ v(_o, {
3842
3903
  value: e.pair.after,
3843
3904
  syntax: b(i)
3844
3905
  }, null, 8, ["value", "syntax"])
3845
3906
  ]))]),
3846
- O("span", Ao, a(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
3847
- (e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), C("span", jo, a(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : x("", !0)
3848
- ], 42, To))], 64))), 128))], 8, xo)
3849
- ], 12, ho)]),
3907
+ O("span", No, a(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
3908
+ (e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), C("span", Po, a(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : x("", !0)
3909
+ ], 42, Oo))], 64))), 128))], 8, wo)
3910
+ ], 12, vo)]),
3850
3911
  _: 1
3851
3912
  }, 8, ["visible"]));
3852
3913
  }
3853
- }), Po = ["data-tpl-theme"], Fo = { class: "tpl:absolute tpl:inset-0 tpl:overflow-hidden" }, Io = { class: "tpl-preview-overlay tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, Lo = { 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" }, Ro = {
3914
+ }), Lo = ["data-tpl-theme"], Ro = { class: "tpl:absolute tpl:inset-0 tpl:overflow-hidden" }, zo = { class: "tpl-preview-overlay tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, Bo = { 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" }, Vo = {
3854
3915
  key: 0,
3855
3916
  "data-testid": "merge-tag-mode-toggle-anchor",
3856
3917
  class: "tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-[var(--tpl-shadow-md)]"
3857
- }, zo = { class: "tpl-main tpl-canvas-pane tpl:flex tpl:py-8" }, Bo = ["aria-label"], Vo = /*#__PURE__*/ ze(/* @__PURE__ */ R({
3918
+ }, Ho = {
3919
+ key: 0,
3920
+ class: "tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-[var(--tpl-shadow-md)]"
3921
+ }, Uo = ["title", "aria-busy"], Wo = { class: "tpl-main tpl-canvas-pane tpl:flex tpl:py-8" }, Go = ["aria-label"], Ko = /*#__PURE__*/ ze(/* @__PURE__ */ R({
3858
3922
  __name: "Editor",
3859
3923
  props: {
3860
3924
  config: {},
@@ -3869,7 +3933,7 @@ var va = [
3869
3933
  },
3870
3934
  setup(n, { expose: r }) {
3871
3935
  let i = n;
3872
- l(Ge, {
3936
+ l(st, {
3873
3937
  renderHtml: () => i.renderHtml?.() ?? Promise.reject(/* @__PURE__ */ Error("HTML rendering is unavailable")),
3874
3938
  canRenderHtml: () => i.canRenderHtml?.() ?? !1,
3875
3939
  cloud: !!i.cloud,
@@ -3882,23 +3946,23 @@ var va = [
3882
3946
  get syntax() {
3883
3947
  return X.mergeTagSyntax;
3884
3948
  }
3885
- }, u = i.config.templates ? _n(i.config.templates, o) : void 0;
3886
- i.config.collaboration && !u && On.warn("config.collaboration needs config.templates: collaboration runs on a loaded template, and only a templates provider loads one. Collaboration is off.");
3887
- let d = i.config.collaboration && u ? Ur({
3949
+ }, u = i.config.templates ? vn(i.config.templates, o) : void 0;
3950
+ i.config.collaboration && !u && kn.warn("config.collaboration needs config.templates: collaboration runs on a loaded template, and only a templates provider loads one. Collaboration is off.");
3951
+ let d = i.config.collaboration && u ? Gr({
3888
3952
  provider: i.config.collaboration,
3889
3953
  loadTemplate: (e) => u.load(e),
3890
3954
  user: i.config.user,
3891
3955
  mergeTags: o,
3892
3956
  onRemoteChange: i.config.onRemoteChange,
3893
3957
  onError: i.config.onError
3894
- }) : null, p = u && d ? bi(u, d.core, () => {
3958
+ }) : null, p = u && d ? Si(u, d.core, () => {
3895
3959
  let e = _.state.template;
3896
3960
  return e ? {
3897
3961
  ...N(e),
3898
3962
  content: we(N(_.content.value))
3899
3963
  } : null;
3900
3964
  }) : u, m = S(0);
3901
- l(Qe, i.config.localization);
3965
+ l(Ze, i.config.localization);
3902
3966
  let _ = te({
3903
3967
  localization: i.config.localization ?? { locales: [] },
3904
3968
  onLocaleChange: i.config.onLocaleChange,
@@ -3907,39 +3971,39 @@ var va = [
3907
3971
  },
3908
3972
  content: i.config.content,
3909
3973
  defaultFontFamily: i.config.fonts?.defaultFont,
3910
- templateDefaults: er(i.config),
3974
+ templateDefaults: nr(i.config),
3911
3975
  templates: p,
3912
3976
  onError: i.config.onError,
3913
3977
  lockedBlocks: d?.locks,
3914
3978
  lockLocale: d?.core.lockLocale,
3915
3979
  lockSessionId: d?.core.sessionId
3916
3980
  }), T = Ue(_);
3917
- l(ft, T.content), _.setCustomBlockDefinitions(i.config.customBlocks ?? []), d && t(_.activeLocale, (e) => d.core.setLockLocale(e), { flush: "sync" }), d?.attach(_);
3918
- let D = i.cloud ? i.cloud.attach({ editor: _ }) : null, A = p ? ui({
3981
+ l(ut, T.content), _.setCustomBlockDefinitions(i.config.customBlocks ?? []), d && t(_.activeLocale, (e) => d.core.setLockLocale(e), { flush: "sync" }), d?.attach(_);
3982
+ let D = i.cloud ? i.cloud.attach({ editor: _ }) : null, A = p ? fi({
3919
3983
  provider: p,
3920
3984
  editor: _,
3921
3985
  guardUnsavedChanges: i.config.templates?.unsavedChangesGuard,
3922
3986
  getSaveGate: i.cloud ? () => i.cloud.getSaveGate() : void 0
3923
3987
  }) : null;
3924
3988
  i.config.onDirtyChange && t(() => _.state.isDirty, (e) => i.config.onDirtyChange(e));
3925
- let j = S(null), M = i.config.savedBlocks ? ci({
3989
+ let j = S(null), M = i.config.savedBlocks ? ui({
3926
3990
  provider: i.config.savedBlocks,
3927
3991
  editor: _,
3928
3992
  onError: i.config.onError,
3929
3993
  isAvailable: i.cloud ? () => i.cloud.isSavedBlocksAvailable() : void 0
3930
- }) : null, P = I(() => import("./SavedBlocksPanels-C9AHYfYR.js")), L = i.config.media || i.config.onRequestMedia ? oi({
3994
+ }) : null, P = I(() => import("./SavedBlocksPanels-BReNi8sg.js")), L = i.config.media || i.config.onRequestMedia ? ci({
3931
3995
  provider: i.config.media,
3932
3996
  onRequestMedia: i.config.onRequestMedia,
3933
3997
  getTemplateId: () => _.state.template?.id,
3934
3998
  onError: i.config.onError
3935
- }) : null, R = I(() => import("./MediaPanels-C-XrldMu.js")), z = i.config.testEmail ? hi({
3999
+ }) : null, R = I(() => import("./MediaPanels-C-XrldMu.js")), z = i.config.testEmail ? _i({
3936
4000
  provider: i.config.testEmail,
3937
4001
  getContent: () => _.content.value,
3938
4002
  renderMjml: i.renderMjml,
3939
4003
  usesLocalRenderer: i.usesLocalRenderer,
3940
4004
  onError: i.config.onError,
3941
4005
  isAvailable: i.cloud ? () => i.cloud.isTestEmailAvailable() : void 0
3942
- }) : null, V = I(() => import("./TestEmailPanel-7Ua54CYL.js")), U = i.config.comments ? Wr({
4006
+ }) : null, V = I(() => import("./TestEmailPanel-Bfr-sGrI.js")), U = i.config.comments ? Kr({
3943
4007
  provider: i.config.comments,
3944
4008
  editor: _,
3945
4009
  user: i.config.user,
@@ -3947,7 +4011,7 @@ var va = [
3947
4011
  onError: i.config.onError,
3948
4012
  isAvailable: i.cloud ? () => i.cloud.isCommentsAvailable() : void 0,
3949
4013
  isBlockSaved: i.cloud ? (e) => i.cloud.isBlockSaved(e) : void 0
3950
- }) : null, G = I(() => import("./CommentsPanel-B0_Ob2vO.js")), ee = I(() => import("./AiPanels-DE2ysIV1.js")), K = i.config.ai ? $r({
4014
+ }) : null, G = I(() => import("./CommentsPanel-lb-IFzjl.js")), ee = I(() => import("./AiPanels-CESbBB63.js")), K = i.config.ai ? ti({
3951
4015
  provider: i.config.ai,
3952
4016
  editor: _,
3953
4017
  localization: i.config.localization ?? { locales: [] },
@@ -3958,16 +4022,16 @@ var va = [
3958
4022
  collaboration: d,
3959
4023
  history: () => X.history,
3960
4024
  reload: A ? (e, t) => A.load(e, t) : null,
3961
- altMaxLength: () => Sn(Vt(i.config)),
3962
- mergeTags: () => ri(X.mergeTags.value, X.mergeTagSyntax),
3963
- normalize: (e, t) => hn(e, t, o),
4025
+ altMaxLength: () => Cn(Ht(i.config)),
4026
+ mergeTags: () => ai(X.mergeTags.value, X.mergeTagSyntax),
4027
+ normalize: (e, t) => gn(e, t, o),
3964
4028
  commentsOpen: U?.isOpen ?? null,
3965
4029
  onError: i.config.onError
3966
4030
  }) : null;
3967
- K && l(ht, K);
4031
+ K && l(mt, K);
3968
4032
  let q = We(_, i.config.customBlocks ?? []);
3969
4033
  l(yt, q);
3970
- let J = i.config.translation ? Rr({
4034
+ let J = i.config.translation ? Br({
3971
4035
  provider: i.config.translation,
3972
4036
  editor: _,
3973
4037
  localization: i.config.localization,
@@ -3977,19 +4041,19 @@ var va = [
3977
4041
  syntax: () => X.mergeTagSyntax,
3978
4042
  coverage: () => q.value
3979
4043
  }) : null;
3980
- J && l(dt, J);
4044
+ J && l(nt, J);
3981
4045
  let Y = S(null);
3982
4046
  t([() => _.state.template?.id ?? null, _.loadVersion], () => {
3983
4047
  Y.value = null;
3984
4048
  }, { flush: "sync" }), t(() => Z(_.content.value), (e) => {
3985
4049
  Y.value && Y.value.language !== e && (Y.value = null);
3986
4050
  }, { flush: "sync" });
3987
- let ne = Mr({
4051
+ let ne = Pr({
3988
4052
  editor: _,
3989
4053
  history: () => X.history,
3990
4054
  collaboration: d
3991
4055
  });
3992
- l(qe, { setDefaultLocale(e) {
4056
+ l(Ke, { setDefaultLocale(e) {
3993
4057
  let t = {
3994
4058
  language: e,
3995
4059
  old: Z(_.content.value),
@@ -3997,8 +4061,8 @@ var va = [
3997
4061
  }, n = ne.setDefaultLocale(e);
3998
4062
  return n.applied && (Y.value = t), n;
3999
4063
  } });
4000
- let re = I(() => import("./LocaleNotices-D8aE167E.js")), ie = I(() => import("./CollaborationNotices-COS_YvTq.js")), ae = I(() => import("./CloudPanels-ZOR9By8W.js")), oe = I(() => import("./CloudHeaderExtras-CJsXi4Ku.js")), se = I(() => import("./VersionHistoryPanels-DES1b1Pq.js")), le = _i(i.config.templates?.autoSave, !1), ue = le && A !== null;
4001
- le && A !== null && !A.canSave.value && On.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."), i.config.changeDebounce !== void 0 && A !== null && i.config.templates?.autoSave === void 0 && !i.config.onChange && On.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.");
4064
+ let re = I(() => import("./LocaleNotices-j4aMFfmc.js")), ie = I(() => import("./CollaborationNotices-D9GQ477K.js")), ae = I(() => import("./CloudPanels-CSFN-eLV.js")), oe = I(() => import("./CloudHeaderExtras-xrHubAHL.js")), se = I(() => import("./VersionHistoryPanels-C91mfsMA.js")), le = yi(i.config.templates?.autoSave, !1), ue = le && A !== null;
4065
+ le && A !== null && !A.canSave.value && kn.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."), i.config.changeDebounce !== void 0 && A !== null && i.config.templates?.autoSave === void 0 && !i.config.onChange && kn.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.");
4002
4066
  let de = i.config.onChange || ue ? {
4003
4067
  onChange: () => {
4004
4068
  i.config.onChange?.(JSON.parse(JSON.stringify(_.state.content))), ue && A.requestAutoSave();
@@ -4011,7 +4075,7 @@ var va = [
4011
4075
  ...U ? { comments: U.capability } : {},
4012
4076
  ...d ? { collaboration: d.capability } : {},
4013
4077
  ...K ? { ai: K.capability } : {}
4014
- }, X = rn({
4078
+ }, X = an({
4015
4079
  editor: _,
4016
4080
  containerEl: j,
4017
4081
  config: {
@@ -4033,7 +4097,7 @@ var va = [
4033
4097
  canDropMedia: L?.canDrop ?? null,
4034
4098
  resolvePreview: i.config.resolvePreview,
4035
4099
  resolveImageUrl: i.config.resolveImageUrl,
4036
- lint: Vt(i.config),
4100
+ lint: Ht(i.config),
4037
4101
  locale: i.config.locale
4038
4102
  },
4039
4103
  translations: i.translations,
@@ -4049,9 +4113,9 @@ var va = [
4049
4113
  let me = i.cloud && D ? i.cloud.ready({
4050
4114
  core: X,
4051
4115
  capabilities: fe
4052
- }) : null, he = i.config.versionHistory ? gi({
4116
+ }) : null, he = i.config.versionHistory ? vi({
4053
4117
  provider: i.config.versionHistory,
4054
- editor: mn(_, o),
4118
+ editor: hn(_, o),
4055
4119
  history: X.history,
4056
4120
  conditionPreview: X.conditionPreview,
4057
4121
  autoSave: X.autoSave,
@@ -4074,22 +4138,25 @@ var va = [
4074
4138
  e && (ye.value = e.borderBoxSize?.[0]?.blockSize ?? e.contentRect.height);
4075
4139
  }), xe.observe(ve.value));
4076
4140
  }), E(() => xe?.disconnect());
4077
- let { showNotice: Se } = ln(() => i.config.smallScreenNotice);
4141
+ let { showNotice: Se } = un(() => i.config.smallScreenNotice);
4078
4142
  e(async () => {
4079
4143
  await i.fontsManager.loadCustomFonts();
4080
4144
  }), E(() => {
4081
4145
  i.fontsManager.cleanupFontLinks(), K?.destroy(), i.cloud?.destroy(), X.destroy();
4082
4146
  });
4083
- let Ce = A ?? _, Te = En(X.editorRoot);
4147
+ let Ce = A ?? _, Te = Dn(X.editorRoot);
4084
4148
  return r({
4149
+ refreshPreview: X.refreshPreview,
4085
4150
  getLocale: () => _.activeLocale.value ?? Z(_.content.value),
4086
4151
  setLocale: (e) => _.setActiveLocale(e),
4087
4152
  getContent: () => _.content.value,
4088
- setContent: (e) => _.setContent(e),
4153
+ setContent: (e) => {
4154
+ _.setContent(e), d?.core.flush(), X.history.clear();
4155
+ },
4089
4156
  insertBlock: (e) => {
4090
- if (_.state.previewMode) return On.warn("insertBlock() does nothing in preview mode."), null;
4157
+ if (_.state.previewMode) return kn.warn("insertBlock() does nothing in preview mode."), null;
4091
4158
  let t = ce(e);
4092
- return yi(_, t) ? (Te(t.id), t.id) : null;
4159
+ return xi(_, t) ? (Te(t.id), t.id) : null;
4093
4160
  },
4094
4161
  setTheme: (e) => _.setUiTheme(e),
4095
4162
  setMergeTags: X.setMergeTags,
@@ -4105,12 +4172,12 @@ var va = [
4105
4172
  class: c(["tpl tpl:relative tpl:h-full", { "tpl:dark": b(_).state.darkMode }]),
4106
4173
  "data-tpl-theme": b(X).resolvedTheme.value,
4107
4174
  style: f(b(X).themeStyles.value),
4108
- onDragover: t[8] ||= B(() => {}, ["prevent"]),
4109
- onDrop: t[9] ||= B(() => {}, ["prevent"])
4175
+ onDragover: t[9] ||= B(() => {}, ["prevent"]),
4176
+ onDrop: t[10] ||= B(() => {}, ["prevent"])
4110
4177
  }, [
4111
- v(Pi),
4112
- O("div", Fo, [
4113
- v(Ga, {
4178
+ v(Ii),
4179
+ O("div", Ro, [
4180
+ v(Ja, {
4114
4181
  editor: b(_),
4115
4182
  localization: i.config.localization,
4116
4183
  core: b(X),
@@ -4120,7 +4187,9 @@ var va = [
4120
4187
  "version-history": b(he),
4121
4188
  comments: b(U),
4122
4189
  collaboration: b(d),
4123
- ai: b(K)
4190
+ ai: b(K),
4191
+ header: i.config.header,
4192
+ "shadow-root": i.shadowRoot
4124
4193
  }, k({ _: 2 }, [b(D) ? {
4125
4194
  name: "left-extras",
4126
4195
  fn: h(() => [v(b(oe), {
@@ -4145,31 +4214,51 @@ var va = [
4145
4214
  "version-history",
4146
4215
  "comments",
4147
4216
  "collaboration",
4148
- "ai"
4217
+ "ai",
4218
+ "header",
4219
+ "shadow-root"
4149
4220
  ]),
4150
- g(v(Wi, { style: f(be.value) }, null, 8, ["style"]), [[H, !b(_).state.previewMode]]),
4221
+ g(v(Ki, { style: f(be.value) }, null, 8, ["style"]), [[H, !b(_).state.previewMode]]),
4151
4222
  O("div", {
4152
4223
  class: c(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", _e.value]),
4153
4224
  style: f(be.value)
4154
- }, [O("div", Io, [O("div", Lo, [v(W, { name: "tpl-preview-pill" }, {
4155
- default: h(() => [b(_).state.previewMode && !b(X).previewResolution.supersedesSamples.value ? (s(), C("div", Ro, [v(Vn, {
4156
- "sample-mode": b(X).mergeTagSampleMode.value,
4157
- onChange: t[0] ||= (e) => b(X).mergeTagSampleMode.value = e
4158
- }, null, 8, ["sample-mode"])])) : x("", !0)]),
4159
- _: 1
4160
- }), v(W, { name: "tpl-preview-pill" }, {
4161
- default: h(() => [b(X).conditionPreview.hasHiddenBlocks.value && b(X).appliesConditionFilter.value ? (s(), C("button", {
4162
- key: 0,
4163
- type: "button",
4164
- class: c([b(Et), "tpl:shadow-[var(--tpl-shadow-md)]"]),
4165
- "data-testid": "restore-hidden-blocks",
4166
- onClick: t[1] ||= (e) => b(X).conditionPreview.reset()
4167
- }, [v(b(kn), {
4168
- size: 16,
4169
- "stroke-width": 2
4170
- }), w(" " + a(b(X).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : x("", !0)]),
4171
- _: 1
4172
- })])]), O("main", zo, [v(Ni, {
4225
+ }, [O("div", zo, [O("div", Bo, [
4226
+ v(W, { name: "tpl-preview-pill" }, {
4227
+ default: h(() => [b(_).state.previewMode && !b(X).previewResolution.supersedesSamples.value ? (s(), C("div", Vo, [v(Un, {
4228
+ "sample-mode": b(X).mergeTagSampleMode.value,
4229
+ onChange: t[0] ||= (e) => b(X).mergeTagSampleMode.value = e
4230
+ }, null, 8, ["sample-mode"])])) : x("", !0)]),
4231
+ _: 1
4232
+ }),
4233
+ v(W, { name: "tpl-preview-pill" }, {
4234
+ default: h(() => [b(_).state.previewMode && b(X).previewResolution.isConfigured ? (s(), C("div", Ho, [O("button", {
4235
+ type: "button",
4236
+ class: c([b(Dt), "tpl:px-4"]),
4237
+ "data-testid": "refresh-preview",
4238
+ title: b(X).t.previewResolution.refresh,
4239
+ "aria-busy": b(X).previewResolution.isResolving.value,
4240
+ onClick: t[1] ||= (e) => b(X).previewResolution.refresh()
4241
+ }, [v(b(An), {
4242
+ size: 18,
4243
+ "stroke-width": 1.5,
4244
+ class: c({ "tpl-spinner": b(X).previewResolution.isResolving.value })
4245
+ }, null, 8, ["class"]), w(" " + a(b(X).t.previewResolution.refresh), 1)], 10, Uo)])) : x("", !0)]),
4246
+ _: 1
4247
+ }),
4248
+ v(W, { name: "tpl-preview-pill" }, {
4249
+ default: h(() => [b(X).conditionPreview.hasHiddenBlocks.value && b(X).appliesConditionFilter.value ? (s(), C("button", {
4250
+ key: 0,
4251
+ type: "button",
4252
+ class: c([b(Et), "tpl:shadow-[var(--tpl-shadow-md)]"]),
4253
+ "data-testid": "restore-hidden-blocks",
4254
+ onClick: t[2] ||= (e) => b(X).conditionPreview.reset()
4255
+ }, [v(b(jn), {
4256
+ size: 16,
4257
+ "stroke-width": 2
4258
+ }), w(" " + a(b(X).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : x("", !0)]),
4259
+ _: 1
4260
+ })
4261
+ ])]), O("main", Wo, [v(Fi, {
4173
4262
  viewport: b(_).state.viewport,
4174
4263
  content: b(X).previewResolution.content.value,
4175
4264
  "selected-block-id": b(_).state.selectedBlockId,
@@ -4184,7 +4273,7 @@ var va = [
4184
4273
  "preview-mode",
4185
4274
  "onSelectBlock"
4186
4275
  ])])], 6),
4187
- n.config.branding === !1 ? x("", !0) : (s(), F(ma, {
4276
+ n.config.branding === !1 ? x("", !0) : (s(), F(ga, {
4188
4277
  key: 0,
4189
4278
  "position-class": [_e.value]
4190
4279
  }, null, 8, ["position-class"])),
@@ -4194,22 +4283,22 @@ var va = [
4194
4283
  "aria-live": "polite",
4195
4284
  "aria-atomic": "true",
4196
4285
  "aria-label": b(X).t.landmarks.reorderAnnouncements
4197
- }, a(b(X).keyboardReorder.announcement.value), 9, Bo),
4198
- g(v(sa, {
4286
+ }, a(b(X).keyboardReorder.announcement.value), 9, Go),
4287
+ g(v(la, {
4199
4288
  tab: pe.value,
4200
- "onUpdate:tab": t[2] ||= (e) => pe.value = e,
4289
+ "onUpdate:tab": t[3] ||= (e) => pe.value = e,
4201
4290
  style: f(be.value),
4202
4291
  "selected-block": b(_).selectedBlock.value ? b(T).displayBlock(b(_).selectedBlock.value) : null,
4203
4292
  settings: b(T).settings.value,
4204
4293
  "shifted-left": ge.value,
4205
- onUpdateBlock: t[3] ||= (e) => b(_).updateBlock(b(_).state.selectedBlockId, e),
4206
- onDeleteBlock: t[4] ||= () => {
4294
+ onUpdateBlock: t[4] ||= (e) => b(_).updateBlock(b(_).state.selectedBlockId, e),
4295
+ onDeleteBlock: t[5] ||= () => {
4207
4296
  b(_).state.selectedBlockId && b(X).blockActions.deleteBlock(b(_).state.selectedBlockId);
4208
4297
  },
4209
- onDuplicateBlock: t[5] ||= () => {
4298
+ onDuplicateBlock: t[6] ||= () => {
4210
4299
  b(_).selectedBlock.value && b(X).blockActions.duplicateBlock(b(_).selectedBlock.value);
4211
4300
  },
4212
- onUpdateSettings: t[6] ||= (e) => b(_).updateSettings(e)
4301
+ onUpdateSettings: t[7] ||= (e) => b(_).updateSettings(e)
4213
4302
  }, null, 8, [
4214
4303
  "tab",
4215
4304
  "style",
@@ -4224,7 +4313,7 @@ var va = [
4224
4313
  }, [b(he)?.isAvailable.value ? (s(), F(b(se), {
4225
4314
  key: 0,
4226
4315
  feature: b(he)
4227
- }, null, 8, ["feature"])) : x("", !0), n.config.localization ? (s(), F(jr, {
4316
+ }, null, 8, ["feature"])) : x("", !0), n.config.localization ? (s(), F(Nr, {
4228
4317
  key: 1,
4229
4318
  editor: b(_),
4230
4319
  locales: n.config.localization.locales,
@@ -4241,8 +4330,8 @@ var va = [
4241
4330
  ref: (e) => b(X).popoverRoot.value = e,
4242
4331
  class: "tpl-popover-root"
4243
4332
  }, null, 512),
4244
- v(fo),
4245
- v(No),
4333
+ v(ho),
4334
+ v(Io),
4246
4335
  b(M)?.isAvailable.value ? (s(), F(b(P), {
4247
4336
  key: 0,
4248
4337
  feature: b(M)
@@ -4273,14 +4362,14 @@ var va = [
4273
4362
  key: 4,
4274
4363
  feature: b(K)
4275
4364
  }, null, 8, ["feature"])) : x("", !0),
4276
- b(d) || Y.value ? (s(), F(ir, { key: 5 }, {
4365
+ b(d) || Y.value ? (s(), F(or, { key: 5 }, {
4277
4366
  default: h(() => [b(d) ? (s(), F(b(ie), {
4278
4367
  key: 0,
4279
4368
  feature: b(d)
4280
4369
  }, null, 8, ["feature"])) : x("", !0), Y.value ? (s(), F(b(re), {
4281
4370
  key: 1,
4282
4371
  notice: Y.value,
4283
- onDismiss: t[7] ||= (e) => Y.value = null
4372
+ onDismiss: t[8] ||= (e) => Y.value = null
4284
4373
  }, null, 8, ["notice"])) : x("", !0)]),
4285
4374
  _: 1
4286
4375
  })) : x("", !0),
@@ -4298,23 +4387,23 @@ var va = [
4298
4387
  "cloud",
4299
4388
  "ready"
4300
4389
  ])) : x("", !0),
4301
- b(Se) ? (s(), F(fa, { key: 7 })) : x("", !0)
4302
- ], 46, Po));
4390
+ b(Se) ? (s(), F(ma, { key: 7 })) : x("", !0)
4391
+ ], 46, Lo));
4303
4392
  }
4304
- }), [["__scopeId", "data-v-d30a2d38"]]), Ho = /@import\s*(?:url\(\s*(?:"[^"]*"|'[^']*'|[^)]*)\s*\)|"[^"]*"|'[^']*')[^;]*;/g;
4305
- function Uo(e) {
4306
- return e.replace(Ho, "");
4393
+ }), [["__scopeId", "data-v-0dfeea75"]]), qo = /@import\s*(?:url\(\s*(?:"[^"]*"|'[^']*'|[^)]*)\s*\)|"[^"]*"|'[^']*')[^;]*;/g;
4394
+ function Jo(e) {
4395
+ return e.replace(qo, "");
4307
4396
  }
4308
4397
  // src/utils/renderProvider.ts
4309
- function Wo(e) {
4398
+ function Yo(e) {
4310
4399
  return {
4311
4400
  customFonts: e.customFonts.value,
4312
4401
  defaultFallback: e.defaultFallback.value
4313
4402
  };
4314
4403
  }
4315
- async function Go(e, t) {
4404
+ async function Xo(e, t) {
4316
4405
  let n = we(e.getContent()), r = t?.locale ?? Z(n), i = t?.locale !== void 0 || n.settings?.locales?.length ? Fe(n, r) : n, a = e.getLayout?.(), o = a ? xe(Fe(a, r, { missing: "default" }), i) : i;
4317
- return a || (X(o), de(o)), await Qn(o, {
4406
+ return a || (X(o), de(o)), await er(o, {
4318
4407
  renderCustomBlock: e.renderCustomBlock,
4319
4408
  getCustomBlockStylesheet: e.getCustomBlockStylesheet
4320
4409
  }), {
@@ -4322,7 +4411,7 @@ async function Go(e, t) {
4322
4411
  fonts: e.getFonts()
4323
4412
  };
4324
4413
  }
4325
- function Ko(e) {
4414
+ function Zo(e) {
4326
4415
  async function t(t) {
4327
4416
  let n = e.provider, r = n?.toMjml?.bind(n);
4328
4417
  return r ? r(await e.buildPayload(t)) : e.renderLocalMjml(t);
@@ -4348,69 +4437,69 @@ function Ko(e) {
4348
4437
  };
4349
4438
  }
4350
4439
  // \0virtual:editor-css
4351
- var qo = "@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;-webkit-user-select:none;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{-webkit-user-select:none;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;-webkit-user-select:none;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;-webkit-user-select:none;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*/", Jo = null;
4352
- function Yo() {
4353
- if (Jo === null) {
4440
+ var Qo = "@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;-webkit-user-select:none;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{-webkit-user-select:none;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;-webkit-user-select:none;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;-webkit-user-select:none;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*/", $o = null;
4441
+ function es() {
4442
+ if ($o === null) {
4354
4443
  let e = new CSSStyleSheet();
4355
- e.replaceSync(Uo(qo)), Jo = e;
4444
+ e.replaceSync(Jo(Qo)), $o = e;
4356
4445
  }
4357
- return Jo;
4446
+ return $o;
4358
4447
  }
4359
- function Xo(e) {
4448
+ function ts(e) {
4360
4449
  return () => {};
4361
4450
  }
4362
- function Zo(e, t) {
4451
+ function ns(e, t) {
4363
4452
  if (!t) return {
4364
4453
  target: e,
4365
4454
  shadowRoot: null,
4366
4455
  cleanup: () => {}
4367
4456
  };
4368
4457
  let n = e.shadowRoot ?? e.attachShadow({ mode: "open" });
4369
- for (n.adoptedStyleSheets = [Yo()]; n.firstChild;) n.removeChild(n.firstChild);
4458
+ for (n.adoptedStyleSheets = [es()]; n.firstChild;) n.removeChild(n.firstChild);
4370
4459
  let r = document.createElement("div");
4371
4460
  return r.className = "tpl-editor-host", r.style.cssText = "display:block;height:100%;width:100%;", n.appendChild(r), {
4372
4461
  target: r,
4373
4462
  shadowRoot: n,
4374
- cleanup: Xo(n)
4463
+ cleanup: ts(n)
4375
4464
  };
4376
4465
  }
4377
- var Qo = /* @__PURE__ */ new Map(), $o = null, es = 0, ts = /* @__PURE__ */ new WeakMap();
4378
- function ns(e) {
4466
+ var rs = /* @__PURE__ */ new Map(), is = null, as = 0, os = /* @__PURE__ */ new WeakMap();
4467
+ function ss(e) {
4379
4468
  let t = typeof e == "string" ? document.querySelector(e) : e;
4380
4469
  if (!t) throw Error(`[Templatical] Container element not found: ${e}`);
4381
- let n = ++es;
4382
- return ts.set(t, n), {
4470
+ let n = ++as;
4471
+ return os.set(t, n), {
4383
4472
  container: t,
4384
4473
  token: n
4385
4474
  };
4386
4475
  }
4387
- function rs(e, t) {
4388
- let n = Qo.get(e);
4389
- n && (t && n.app !== t || (n.cleanup(), n.app.unmount(), Qo.delete(e), $o === e && ($o = null)));
4476
+ function cs(e, t) {
4477
+ let n = rs.get(e);
4478
+ n && (t && n.app !== t || (n.cleanup(), n.app.unmount(), rs.delete(e), is === e && (is = null)));
4390
4479
  }
4391
- function is(e) {
4392
- e.layout && (e.layout = gn(e.layout, e.mergeTags), Ie(e.layout)), e.content && (e.content = gn(e.content, e.mergeTags), X(e.content), de(e.content));
4480
+ function ls(e) {
4481
+ e.layout && (e.layout = _n(e.layout, e.mergeTags), Ie(e.layout)), e.content && (e.content = _n(e.content, e.mergeTags), X(e.content), de(e.content));
4393
4482
  }
4394
- async function as(e) {
4483
+ async function us(e) {
4395
4484
  let t = { ...e };
4396
4485
  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.");
4397
4486
  for (let e of t.localization?.locales ?? []) if (!Ee(e)) throw new Q(`Invalid localization locale "${e}".`);
4398
4487
  let n = t.localization?.doNotTranslate;
4399
4488
  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.");
4400
- return is(t), os(t, ns(t.container));
4489
+ return ls(t), ds(t, ss(t.container));
4401
4490
  }
4402
- async function os(e, { container: t, token: n }, r) {
4403
- e.locale !== void 0 && !Bt(e.locale) && On.warn(`config.locale: "${e.locale}" has no translations — falling back to English. Supported: ${Rt().sort().join(", ")}.`);
4404
- let i = await Lt(e.locale ?? "en"), a = Ut(e.fonts);
4405
- if (ts.get(t) !== n) return ss({
4491
+ async function ds(e, { container: t, token: n }, r) {
4492
+ e.locale !== void 0 && !Vt(e.locale) && kn.warn(`config.locale: "${e.locale}" has no translations — falling back to English. Supported: ${zt().sort().join(", ")}.`);
4493
+ let i = await Rt(e.locale ?? "en"), a = Wt(e.fonts);
4494
+ if (os.get(t) !== n) return fs({
4406
4495
  config: e,
4407
4496
  editorRef: S(null),
4408
4497
  fontsManager: a,
4409
4498
  unmount: () => {}
4410
4499
  }).instance;
4411
- rs(t);
4412
- let o = Zo(t, e.shadowDom ?? !0), s = S(null), c = V({ setup() {
4413
- return () => m(Vo, {
4500
+ cs(t);
4501
+ let o = ns(t, e.shadowDom ?? !0), s = S(null), c = V({ setup() {
4502
+ return () => m(Ko, {
4414
4503
  config: e,
4415
4504
  translations: i,
4416
4505
  fontsManager: a,
@@ -4423,23 +4512,23 @@ async function os(e, { container: t, token: n }, r) {
4423
4512
  ref: s
4424
4513
  });
4425
4514
  } });
4426
- c.mount(o.target), Qo.set(t, {
4515
+ c.mount(o.target), rs.set(t, {
4427
4516
  app: c,
4428
4517
  editorRef: s,
4429
4518
  cleanup: o.cleanup
4430
- }), $o = t;
4431
- let { instance: l, render: u } = ss({
4519
+ }), is = t;
4520
+ let { instance: l, render: u } = fs({
4432
4521
  config: e,
4433
4522
  editorRef: s,
4434
4523
  fontsManager: a,
4435
- unmount: () => rs(t, c)
4524
+ unmount: () => cs(t, c)
4436
4525
  });
4437
4526
  return l;
4438
4527
  }
4439
- function ss({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4528
+ function fs({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4440
4529
  let i = {
4441
4530
  getContent() {
4442
- return t.value ? we(t.value.getContent()) : we(e.content ?? be(e.fonts?.defaultFont, er(e)));
4531
+ return t.value ? we(t.value.getContent()) : we(e.content ?? be(e.fonts?.defaultFont, nr(e)));
4443
4532
  },
4444
4533
  getLocale() {
4445
4534
  return t.value?.getLocale() ?? Z(i.getContent());
@@ -4450,12 +4539,15 @@ function ss({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4450
4539
  t.value?.setLocale(n);
4451
4540
  },
4452
4541
  setContent(n) {
4453
- let r = gn(n, e.mergeTags);
4542
+ let r = _n(n, e.mergeTags);
4454
4543
  t.value && t.value.setContent(r), e.content = r;
4455
4544
  },
4545
+ refreshPreview() {
4546
+ t.value?.refreshPreview();
4547
+ },
4456
4548
  insertBlock(n) {
4457
4549
  let r = { blocks: [n] };
4458
- return X(r), de(r), t.value ? t.value.insertBlock(vn(n, e.mergeTags)) : null;
4550
+ return X(r), de(r), t.value ? t.value.insertBlock(yn(n, e.mergeTags)) : null;
4459
4551
  },
4460
4552
  setTheme(e) {
4461
4553
  t.value && t.value.setTheme(e);
@@ -4470,7 +4562,7 @@ function ss({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4470
4562
  create(n) {
4471
4563
  return t.value ? t.value.create(n?.content ? {
4472
4564
  ...n,
4473
- content: gn(n.content, e.mergeTags)
4565
+ content: _n(n.content, e.mergeTags)
4474
4566
  } : n) : Promise.reject(/* @__PURE__ */ Error("[Templatical] Editor not ready"));
4475
4567
  },
4476
4568
  load(e) {
@@ -4490,20 +4582,20 @@ function ss({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4490
4582
  },
4491
4583
  toMjml: (e) => a.toMjml(e),
4492
4584
  toHtml: (e) => a.toHtml(e)
4493
- }, a = Ko({
4585
+ }, a = Zo({
4494
4586
  provider: e.render,
4495
- buildPayload: (t) => Go({
4587
+ buildPayload: (t) => Xo({
4496
4588
  getContent: () => i.getContent(),
4497
4589
  renderCustomBlock: (e) => i.renderCustomBlock(e),
4498
4590
  getCustomBlockStylesheet: (e) => i.getCustomBlockStylesheet(e),
4499
- getFonts: () => Wo(n),
4591
+ getFonts: () => Yo(n),
4500
4592
  getLayout: () => e.layout
4501
4593
  }, t),
4502
- renderLocalMjml: (t) => fi({
4594
+ renderLocalMjml: (t) => mi({
4503
4595
  getContent: () => i.getContent(),
4504
4596
  renderCustomBlock: (e) => i.renderCustomBlock(e),
4505
4597
  getCustomBlockStylesheet: (e) => i.getCustomBlockStylesheet(e),
4506
- getFonts: () => Wo(n),
4598
+ getFonts: () => Yo(n),
4507
4599
  socialIconsBaseUrl: e.socialIconsBaseUrl,
4508
4600
  getLayout: () => e.layout
4509
4601
  }, ...t ? [t] : [])
@@ -4513,18 +4605,18 @@ function ss({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4513
4605
  render: a
4514
4606
  };
4515
4607
  }
4516
- async function cs(e) {
4608
+ async function ps(e) {
4517
4609
  let t = {
4518
4610
  layout: e.layout,
4519
4611
  content: e.content,
4520
4612
  mergeTags: e.mergeTags
4521
4613
  };
4522
- is(t);
4523
- let n = ns(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./createCloudRuntime-DgQfMi22.js"), Ft(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
4614
+ ls(t);
4615
+ let n = ss(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./createCloudRuntime-DiUnYjKr.js"), It(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
4524
4616
  config: e,
4525
4617
  cloudTranslations: i
4526
4618
  });
4527
- return os({
4619
+ return ds({
4528
4620
  container: e.container,
4529
4621
  content: t.content,
4530
4622
  layout: t.layout,
@@ -4534,6 +4626,7 @@ async function cs(e) {
4534
4626
  uiTheme: e.uiTheme,
4535
4627
  theme: e.theme,
4536
4628
  branding: e.branding,
4629
+ header: e.header,
4537
4630
  smallScreenNotice: e.smallScreenNotice,
4538
4631
  blockDefaults: e.blockDefaults,
4539
4632
  templateDefaults: e.templateDefaults,
@@ -4568,7 +4661,7 @@ async function cs(e) {
4568
4661
  user: s
4569
4662
  }, n, a);
4570
4663
  }
4571
- function ls() {
4572
- $o && rs($o);
4664
+ function ms() {
4665
+ is && cs(is);
4573
4666
  }
4574
- export { Cn as AI_ALT_TEXT_RULES, Tn as AI_FIXABLE_RULES, xe as applyLayout, be as createDefaultTemplateContent, oe as createLocalStorageMediaProvider, q as createLocalStorageSavedBlocksProvider, Ce as createParagraphBlock, he as createSlotBlock, ye as createWrapperBlock, Nt as getBaseLocale, $t as getSupportedCloudLocales, Rt as getSupportedLocales, as as init, cs as initCloud, zt as isCloudLocaleSupported, Bt as isLocaleSupported, fe as isSlot, le as isWrapper, Ae as layoutWrapsSlot, ls as unmount, Ie as validateLayout };
4667
+ export { wn as AI_ALT_TEXT_RULES, En as AI_FIXABLE_RULES, xe as applyLayout, be as createDefaultTemplateContent, oe as createLocalStorageMediaProvider, q as createLocalStorageSavedBlocksProvider, Ce as createParagraphBlock, he as createSlotBlock, ye as createWrapperBlock, Pt as getBaseLocale, en as getSupportedCloudLocales, zt as getSupportedLocales, us as init, ps as initCloud, Bt as isCloudLocaleSupported, Vt as isLocaleSupported, fe as isSlot, le as isWrapper, Ae as layoutWrapsSlot, ms as unmount, Ie as validateLayout };