@templatical/editor 0.59.1 → 0.60.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 (339) hide show
  1. package/dist/{AiAltTextPopover-CwyKz_9U.js → AiAltTextPopover-DiIaqDtB.js} +3 -3
  2. package/dist/{AiAltTextReview-DNFnR1PN.js → AiAltTextReview-DIe0WBbj.js} +3 -3
  3. package/dist/{AiChatPanel-DWWVvJIP.js → AiChatPanel-aj2TPO9F.js} +10 -10
  4. package/dist/{AiPanels-CESbBB63.js → AiPanels-CRM3jf82.js} +1 -1
  5. package/dist/{AiRewriteMenu-DH6j1jOA.js → AiRewriteMenu-F3GyXBsk.js} +11 -11
  6. package/dist/{BlockIssueBadge-3k568_Od.js → BlockIssueBadge-DlhA_I6J.js} +4 -4
  7. package/dist/{BlockPreviewCanvas-BLJxLwTT.js → BlockPreviewCanvas-DYspUXMO.js} +29 -50
  8. package/dist/{CloudHeaderExtras-xrHubAHL.js → CloudHeaderExtras-DC_oNrxz.js} +1 -1
  9. package/dist/{CloudPanels-qW-MObRD.js → CloudPanels-CAMn545-.js} +4 -4
  10. package/dist/{CollaborationNotices-D9GQ477K.js → CollaborationNotices-CnfS8BQy.js} +2 -2
  11. package/dist/{CollaboratorBar-DsRjAaqd.js → CollaboratorBar-DufLdLQP.js} +2 -2
  12. package/dist/{CommentsPanel-lb-IFzjl.js → CommentsPanel-C2hFFs0o.js} +1 -1
  13. package/dist/{CommentsSidebar-CVVTCWBH.js → CommentsSidebar-CgEwxt2T.js} +12 -12
  14. package/dist/{CountdownBlock-CSEq79Nc.js → CountdownBlock-AYPypmcX.js} +2 -2
  15. package/dist/{CountdownToolbar-BV9yQi9k.js → CountdownToolbar-CNqYDevp.js} +5 -5
  16. package/dist/{IssuesPanel-pxcWAQJM.js → IssuesPanel-cPKhimE9.js} +12 -12
  17. package/dist/{LanguageMenu-D_xbvq3D.js → LanguageMenu-zxlpmw2x.js} +14 -14
  18. package/dist/{LocaleNotices-j4aMFfmc.js → LocaleNotices-PIfpvCCI.js} +4 -4
  19. package/dist/{LogicTagInsertButton-BDIsyl3C.js → LogicTagInsertButton-DqTkGJSR.js} +21 -21
  20. package/dist/{MediaEditModal-BWOqjEZN.js → MediaEditModal-C2Bn8WGb.js} +1 -1
  21. package/dist/{MediaPanels-C-XrldMu.js → MediaPanels-BAZByHRA.js} +1 -1
  22. package/dist/{MergeTagInput-De1yWoc2.js → MergeTagInput-Jly1Pw0v.js} +1 -1
  23. package/dist/{MergeTagModeToggle-CL96pI1E.js → MergeTagModeToggle-5kaFLRAm.js} +6 -6
  24. package/dist/{MergeTagTextarea-DDyV8U44.js → MergeTagTextarea-CCfirhcR.js} +7 -7
  25. package/dist/{ParagraphEditor-DpOsnnai.js → ParagraphEditor-DTdnxgDZ.js} +46 -46
  26. package/dist/{RestoreVersionDialog-JQEkVIh5.js → RestoreVersionDialog-cUYu3Xqs.js} +4 -4
  27. package/dist/{RichTextEditorContent-C2Yj1-ZA.js → RichTextEditorContent-Aub9tOHF.js} +8 -8
  28. package/dist/{SaveBlockDialog-BPf6tDhg.js → SaveBlockDialog-D_ie3uIF.js} +9 -9
  29. package/dist/{SavedBlocksBrowserModal-DnDCfwSv.js → SavedBlocksBrowserModal-fhSnYT1l.js} +11 -11
  30. package/dist/{SavedBlocksPanels-D5YaVCem.js → SavedBlocksPanels-Lklqy4XI.js} +1 -1
  31. package/dist/{SavedBlocksPickBar-OQ7ey3MD.js → SavedBlocksPickBar-CpWkCa8G.js} +3 -3
  32. package/dist/{TemplateSettings-CBCaybvd.js → TemplateSettings-BJ4a8RBr.js} +12 -12
  33. package/dist/{TestEmailModal-BDp85wIp.js → TestEmailModal-BEoapoDc.js} +14 -12
  34. package/dist/{TestEmailPanel-DkJx0Ptk.js → TestEmailPanel-DgyzokCf.js} +1 -1
  35. package/dist/{TitleEditor-wzknZqu_.js → TitleEditor-BQoSPgOi.js} +13 -13
  36. package/dist/{Toolbar-FIYSw3Us.js → Toolbar-KhPpWyX1.js} +857 -756
  37. package/dist/{TplModal-C57J-uF0.js → TplModal-F_kA7luG.js} +4 -4
  38. package/dist/{VersionHistoryMenu-6jMve6By.js → VersionHistoryMenu-Bz4G8cNm.js} +7 -7
  39. package/dist/{VersionHistoryPanels-BZ0GT52h.js → VersionHistoryPanels-DmVRyWv9.js} +1 -1
  40. package/dist/{VersionPreviewBanner-Bq8z1SUc.js → VersionPreviewBanner-BeppXZyn.js} +2 -2
  41. package/dist/{WrapperBlock-C4XrJkx5.js → WrapperBlock-Ds7yfbhg.js} +4 -4
  42. package/dist/{blockTypeIcons-VX_8UQ21.js → blockTypeIcons-Do1QqDjg.js} +3 -3
  43. package/dist/bundle-stats.json +6 -6
  44. package/dist/{ca-YfIxwO1G.js → ca-Ce3NmK9v.js} +6 -1
  45. package/dist/cdn/chunks/{AiAltTextPopover-Dj-VLU88.js → AiAltTextPopover-CUzIaLRK.js} +4 -4
  46. package/dist/cdn/chunks/AiAltTextPopover-CUzIaLRK.js.map +1 -0
  47. package/dist/cdn/chunks/{AiAltTextReview-tVkJPOk6.js → AiAltTextReview-BXBlE71X.js} +4 -4
  48. package/dist/cdn/chunks/AiAltTextReview-BXBlE71X.js.map +1 -0
  49. package/dist/cdn/chunks/{AiChatPanel-CYPvHQGQ.js → AiChatPanel-BKydciDQ.js} +4 -4
  50. package/dist/cdn/chunks/AiChatPanel-BKydciDQ.js.map +1 -0
  51. package/dist/cdn/chunks/{AiPanels-ChTLCmMS.js → AiPanels-De-cIZ4p.js} +2 -2
  52. package/dist/cdn/chunks/AiPanels-De-cIZ4p.js.map +1 -0
  53. package/dist/cdn/chunks/{AiRewriteMenu-B23ozFnP.js → AiRewriteMenu-C9vBUTIB.js} +9 -9
  54. package/dist/cdn/chunks/AiRewriteMenu-C9vBUTIB.js.map +1 -0
  55. package/dist/cdn/chunks/{BlockIssueBadge-BKO4Mr8f.js → BlockIssueBadge-B3CTTvgw.js} +4 -4
  56. package/dist/cdn/chunks/BlockIssueBadge-B3CTTvgw.js.map +1 -0
  57. package/dist/cdn/chunks/{BlockPreviewCanvas-CaRneMZ8.js → BlockPreviewCanvas-B4Bj--kc.js} +30 -51
  58. package/dist/cdn/chunks/BlockPreviewCanvas-B4Bj--kc.js.map +1 -0
  59. package/dist/cdn/chunks/{CloudHeaderExtras-O_K3jmgO.js → CloudHeaderExtras-Cd-ePldd.js} +2 -2
  60. package/dist/cdn/chunks/CloudHeaderExtras-Cd-ePldd.js.map +1 -0
  61. package/dist/cdn/chunks/{CloudPanels-xAEirqNC.js → CloudPanels-CQ75I3hQ.js} +4 -4
  62. package/dist/cdn/chunks/CloudPanels-CQ75I3hQ.js.map +1 -0
  63. package/dist/cdn/chunks/{CollaborationNotices-CwAoa-73.js → CollaborationNotices-CgLea-hu.js} +3 -3
  64. package/dist/cdn/chunks/CollaborationNotices-CgLea-hu.js.map +1 -0
  65. package/dist/cdn/chunks/{CollaboratorBar-DdQQwtwd.js → CollaboratorBar-CjRcbebT.js} +3 -3
  66. package/dist/cdn/chunks/CollaboratorBar-CjRcbebT.js.map +1 -0
  67. package/dist/cdn/chunks/{CommentsPanel-C8AKtxiG.js → CommentsPanel-D_ud9GMN.js} +2 -2
  68. package/dist/cdn/chunks/CommentsPanel-D_ud9GMN.js.map +1 -0
  69. package/dist/cdn/chunks/{CommentsSidebar-FxY0RHSq.js → CommentsSidebar-CXn1EGAI.js} +4 -4
  70. package/dist/cdn/chunks/CommentsSidebar-CXn1EGAI.js.map +1 -0
  71. package/dist/cdn/chunks/{CountdownBlock-DGgnPUlu.js → CountdownBlock--hlKE2aj.js} +3 -3
  72. package/dist/cdn/chunks/CountdownBlock--hlKE2aj.js.map +1 -0
  73. package/dist/cdn/chunks/{CountdownToolbar-9PtYUgCW.js → CountdownToolbar-BOyk_4k7.js} +6 -6
  74. package/dist/cdn/chunks/CountdownToolbar-BOyk_4k7.js.map +1 -0
  75. package/dist/cdn/chunks/{IssuesPanel-Co-ffgWa.js → IssuesPanel-DOC94ZsH.js} +8 -8
  76. package/dist/cdn/chunks/IssuesPanel-DOC94ZsH.js.map +1 -0
  77. package/dist/cdn/chunks/{LanguageMenu-Cl0ajnXZ.js → LanguageMenu-DktneIpL.js} +100 -100
  78. package/dist/cdn/chunks/LanguageMenu-DktneIpL.js.map +1 -0
  79. package/dist/cdn/chunks/{LocaleNotices-BVDJ7kyj.js → LocaleNotices-B2NgnHoP.js} +4 -4
  80. package/dist/cdn/chunks/LocaleNotices-B2NgnHoP.js.map +1 -0
  81. package/dist/cdn/chunks/{LogicTagInsertButton-DPYA8LJW.js → LogicTagInsertButton-CQ8RiOou.js} +10 -10
  82. package/dist/cdn/chunks/LogicTagInsertButton-CQ8RiOou.js.map +1 -0
  83. package/dist/cdn/chunks/{MediaEditModal-CfgN7Jyi.js → MediaEditModal-Cs7_Om7e.js} +2 -2
  84. package/dist/cdn/chunks/MediaEditModal-Cs7_Om7e.js.map +1 -0
  85. package/dist/cdn/chunks/{MediaPanels-Cb5vsgb-.js → MediaPanels-BeekGmql.js} +2 -2
  86. package/dist/cdn/chunks/MediaPanels-BeekGmql.js.map +1 -0
  87. package/dist/cdn/chunks/{MergeTagInput-Cxfjq3tx.js → MergeTagInput-D7FZ0ca0.js} +2 -2
  88. package/dist/cdn/chunks/MergeTagInput-D7FZ0ca0.js.map +1 -0
  89. package/dist/cdn/chunks/{MergeTagModeToggle-BmNGV3yc.js → MergeTagModeToggle-CySCCEDs.js} +5 -5
  90. package/dist/cdn/chunks/MergeTagModeToggle-CySCCEDs.js.map +1 -0
  91. package/dist/cdn/chunks/{MergeTagTextarea-DmwrPAss.js → MergeTagTextarea-DJbWTYVH.js} +6 -6
  92. package/dist/cdn/chunks/MergeTagTextarea-DJbWTYVH.js.map +1 -0
  93. package/dist/cdn/chunks/{ParagraphEditor-BoGELRr-.js → ParagraphEditor-DAQUWqQJ.js} +26 -26
  94. package/dist/cdn/chunks/ParagraphEditor-DAQUWqQJ.js.map +1 -0
  95. package/dist/cdn/chunks/{RestoreVersionDialog-CaKiSq-9.js → RestoreVersionDialog-COTRe_rM.js} +4 -4
  96. package/dist/cdn/chunks/RestoreVersionDialog-COTRe_rM.js.map +1 -0
  97. package/dist/cdn/chunks/{RichTextEditorContent-Dq4TROOg.js → RichTextEditorContent-DeWPMd9V.js} +8 -8
  98. package/dist/cdn/chunks/RichTextEditorContent-DeWPMd9V.js.map +1 -0
  99. package/dist/cdn/chunks/{SaveBlockDialog-BAR0G4UO.js → SaveBlockDialog-adQMbKR1.js} +8 -8
  100. package/dist/cdn/chunks/SaveBlockDialog-adQMbKR1.js.map +1 -0
  101. package/dist/cdn/chunks/{SavedBlocksBrowserModal-C-KYaLkQ.js → SavedBlocksBrowserModal-CGIFCRAx.js} +8 -8
  102. package/dist/cdn/chunks/SavedBlocksBrowserModal-CGIFCRAx.js.map +1 -0
  103. package/dist/cdn/chunks/{SavedBlocksPanels-C3OF0EeB.js → SavedBlocksPanels-Du0RYlEf.js} +2 -2
  104. package/dist/cdn/chunks/SavedBlocksPanels-Du0RYlEf.js.map +1 -0
  105. package/dist/cdn/chunks/{SavedBlocksPickBar-BnyPXw5W.js → SavedBlocksPickBar-DmleyUrn.js} +4 -4
  106. package/dist/cdn/chunks/SavedBlocksPickBar-DmleyUrn.js.map +1 -0
  107. package/dist/cdn/chunks/{TemplateSettings-uoiUkd2l.js → TemplateSettings-Csjef99q.js} +10 -10
  108. package/dist/cdn/chunks/TemplateSettings-Csjef99q.js.map +1 -0
  109. package/dist/cdn/chunks/{TestEmailModal-B9d3ZsH7.js → TestEmailModal-ClkexOtF.js} +13 -11
  110. package/dist/cdn/chunks/TestEmailModal-ClkexOtF.js.map +1 -0
  111. package/dist/cdn/chunks/{TestEmailPanel--fPi6QjN.js → TestEmailPanel-DYEYzhU2.js} +2 -2
  112. package/dist/cdn/chunks/TestEmailPanel-DYEYzhU2.js.map +1 -0
  113. package/dist/cdn/chunks/{TitleEditor-Cn4fnSpa.js → TitleEditor-opvaIgVr.js} +12 -12
  114. package/dist/cdn/chunks/TitleEditor-opvaIgVr.js.map +1 -0
  115. package/dist/cdn/chunks/ToggleSwitch-C0w0srN_.js.map +1 -1
  116. package/dist/cdn/chunks/{Toolbar-BzAuH2G4.js → Toolbar-DbqkKRXy.js} +825 -724
  117. package/dist/cdn/chunks/Toolbar-DbqkKRXy.js.map +1 -0
  118. package/dist/cdn/chunks/{TplModal-jMfK19PC.js → TplModal-DLV5OeMD.js} +5 -5
  119. package/dist/cdn/chunks/TplModal-DLV5OeMD.js.map +1 -0
  120. package/dist/cdn/chunks/{VersionHistoryMenu-DDqYMqC2.js → VersionHistoryMenu-DBd0zwjE.js} +4 -4
  121. package/dist/cdn/chunks/VersionHistoryMenu-DBd0zwjE.js.map +1 -0
  122. package/dist/cdn/chunks/{VersionHistoryPanels-DJpySkvq.js → VersionHistoryPanels-hy_Ybxie.js} +2 -2
  123. package/dist/cdn/chunks/VersionHistoryPanels-hy_Ybxie.js.map +1 -0
  124. package/dist/cdn/chunks/{VersionPreviewBanner-CYT5QUoc.js → VersionPreviewBanner-D-yHxWWY.js} +3 -3
  125. package/dist/cdn/chunks/VersionPreviewBanner-D-yHxWWY.js.map +1 -0
  126. package/dist/cdn/chunks/{WrapperBlock-Bi9XgDmX.js → WrapperBlock-Ce_k8m_x.js} +5 -5
  127. package/dist/cdn/chunks/WrapperBlock-Ce_k8m_x.js.map +1 -0
  128. package/dist/cdn/chunks/{blockTypeIcons-CGxNYHVA.js → blockTypeIcons-DBoP1HkR.js} +2 -2
  129. package/dist/cdn/chunks/{blockTypeIcons-CGxNYHVA.js.map → blockTypeIcons-DBoP1HkR.js.map} +1 -1
  130. package/dist/cdn/chunks/{ca-YfIxwO1G.js → ca-Ce3NmK9v.js} +7 -2
  131. package/dist/cdn/chunks/ca-Ce3NmK9v.js.map +1 -0
  132. package/dist/cdn/chunks/{composables-Cp6gZ7qV.js → composables-Brr4m0Sg.js} +526 -550
  133. package/dist/cdn/chunks/composables-Brr4m0Sg.js.map +1 -0
  134. package/dist/cdn/chunks/{createCloudRuntime-D8zeR9D2.js → createCloudRuntime-QPeg45XL.js} +4 -4
  135. package/dist/cdn/chunks/{createCloudRuntime-D8zeR9D2.js.map → createCloudRuntime-QPeg45XL.js.map} +1 -1
  136. package/dist/cdn/chunks/{da-CM6DCvRG.js → da-4YwDAuEr.js} +7 -2
  137. package/dist/cdn/chunks/da-4YwDAuEr.js.map +1 -0
  138. package/dist/{de-Dugz1zXC.js → cdn/chunks/de-BlQ0vdZJ.js} +8 -1
  139. package/dist/cdn/chunks/de-BlQ0vdZJ.js.map +1 -0
  140. package/dist/cdn/chunks/{editor-modal-CXSSZplR.js → editor-modal-BCcbvIxc.js} +4 -4
  141. package/dist/cdn/chunks/editor-modal-BCcbvIxc.js.map +1 -0
  142. package/dist/cdn/chunks/en-DkulseE1.js +1 -0
  143. package/dist/{en-BykoFuFY.js → cdn/chunks/en-MlNeQVSG.js} +8 -1
  144. package/dist/cdn/chunks/en-MlNeQVSG.js.map +1 -0
  145. package/dist/{es-DaWsTkpj.js → cdn/chunks/es-2s8x4OM2.js} +8 -1
  146. package/dist/cdn/chunks/es-2s8x4OM2.js.map +1 -0
  147. package/dist/cdn/chunks/{extensions-BYJPv1sA.js → extensions-BpuyqKVY.js} +6 -6
  148. package/dist/cdn/chunks/extensions-BpuyqKVY.js.map +1 -0
  149. package/dist/cdn/chunks/{fr-DqwQHtJo.js → fr-D3MjrsgQ.js} +7 -2
  150. package/dist/cdn/chunks/fr-D3MjrsgQ.js.map +1 -0
  151. package/dist/cdn/chunks/{icons-C7vjUBLn.js → icons-BJ6AtVgu.js} +23 -23
  152. package/dist/cdn/chunks/{icons-C7vjUBLn.js.map → icons-BJ6AtVgu.js.map} +1 -1
  153. package/dist/{ja-BH4MS1Ye.js → cdn/chunks/ja-B4Kx7uBX.js} +8 -1
  154. package/dist/cdn/chunks/ja-B4Kx7uBX.js.map +1 -0
  155. package/dist/cdn/chunks/keys-ywH4jHJ2.js +11 -0
  156. package/dist/cdn/chunks/keys-ywH4jHJ2.js.map +1 -0
  157. package/dist/{nl-BQl1_UHv.js → cdn/chunks/nl-U65iX7wN.js} +8 -1
  158. package/dist/cdn/chunks/nl-U65iX7wN.js.map +1 -0
  159. package/dist/cdn/chunks/{normalizeMergeTagMarkup-nDyYIXvL.js → normalizeMergeTagMarkup-B81BAWKT.js} +61 -61
  160. package/dist/cdn/chunks/{normalizeMergeTagMarkup-nDyYIXvL.js.map → normalizeMergeTagMarkup-B81BAWKT.js.map} +1 -1
  161. package/dist/{preRenderCustomBlocks-CgPtlLGL.js → cdn/chunks/preRenderCustomBlocks-CQuaMxuv.js} +3 -1
  162. package/dist/cdn/chunks/{preRenderCustomBlocks-CxwYcAQe.js.map → preRenderCustomBlocks-CQuaMxuv.js.map} +1 -1
  163. package/dist/{pt-BR-eyzmU9Vs.js → cdn/chunks/pt-BR-_jsX1xLv.js} +8 -1
  164. package/dist/cdn/chunks/pt-BR-_jsX1xLv.js.map +1 -0
  165. package/dist/cdn/chunks/{sanitizeHtml-5T_KaDcp.js → sanitizeHtml-BdAjvU9I.js} +2 -2
  166. package/dist/cdn/chunks/{sanitizeHtml-5T_KaDcp.js.map → sanitizeHtml-BdAjvU9I.js.map} +1 -1
  167. package/dist/cdn/chunks/{socialIcons-bvQ57o1m.js → socialIcons-Df9dNe7I.js} +463 -485
  168. package/dist/cdn/chunks/socialIcons-Df9dNe7I.js.map +1 -0
  169. package/dist/cdn/chunks/{src-BRyzUujm.js → src-B3v_3j9b.js} +586 -554
  170. package/dist/cdn/chunks/src-B3v_3j9b.js.map +1 -0
  171. package/dist/{dist-BTjObRcv.js → cdn/chunks/src-BHgVGOTi.js} +872 -700
  172. package/dist/cdn/chunks/src-BHgVGOTi.js.map +1 -0
  173. package/dist/cdn/chunks/src-C5V_yzAU.js +673 -0
  174. package/dist/cdn/chunks/src-C5V_yzAU.js.map +1 -0
  175. package/dist/cdn/chunks/{tiptap-B7gxx0aJ.js → tiptap-D9amDW4u.js} +1030 -1027
  176. package/dist/cdn/chunks/tiptap-D9amDW4u.js.map +1 -0
  177. package/dist/cdn/chunks/{useCloudI18n-CWgySYuJ.js → useCloudI18n-BTV9uu3c.js} +2 -2
  178. package/dist/cdn/chunks/{useCloudI18n-CWgySYuJ.js.map → useCloudI18n-BTV9uu3c.js.map} +1 -1
  179. package/dist/cdn/chunks/{useEditorRoot-BA4vV7sK.js → useEditorRoot-D0Lp2x4_.js} +2 -2
  180. package/dist/cdn/chunks/{useEditorRoot-BA4vV7sK.js.map → useEditorRoot-D0Lp2x4_.js.map} +1 -1
  181. package/dist/cdn/chunks/{useI18n-JsIdvX-i.js → useI18n-DPg6rPbu.js} +2 -2
  182. package/dist/cdn/chunks/{useI18n-JsIdvX-i.js.map → useI18n-DPg6rPbu.js.map} +1 -1
  183. package/dist/cdn/chunks/useLocalizedDisplay-C3lIetmX.js +33 -0
  184. package/dist/cdn/chunks/{useLocalizedDisplay-7iwZ1UhB.js.map → useLocalizedDisplay-C3lIetmX.js.map} +1 -1
  185. package/dist/cdn/chunks/{useLogicTag-C10Wef7d.js → useLogicTag-DOIlsGk8.js} +3 -3
  186. package/dist/cdn/chunks/{useLogicTag-C10Wef7d.js.map → useLogicTag-DOIlsGk8.js.map} +1 -1
  187. package/dist/cdn/chunks/{useMergeTag-Dd26TcvH.js → useMergeTag-DUNl364g.js} +3 -3
  188. package/dist/cdn/chunks/{useMergeTag-Dd26TcvH.js.map → useMergeTag-DUNl364g.js.map} +1 -1
  189. package/dist/cdn/chunks/{usePopoverPosition-DWRQRT2P.js → usePopoverPosition-CBp9uwjV.js} +2 -2
  190. package/dist/cdn/chunks/{usePopoverPosition-DWRQRT2P.js.map → usePopoverPosition-CBp9uwjV.js.map} +1 -1
  191. package/dist/cdn/chunks/{useScrollToBlock-CArjwH-u.js → useScrollToBlock-32EnuMwu.js} +2 -2
  192. package/dist/cdn/chunks/{useScrollToBlock-CArjwH-u.js.map → useScrollToBlock-32EnuMwu.js.map} +1 -1
  193. package/dist/cdn/chunks/{withCurrentFont-BaeBoPQZ.js → withCurrentFont-ufGLu2Vt.js} +2 -2
  194. package/dist/cdn/chunks/{withCurrentFont-BaeBoPQZ.js.map → withCurrentFont-ufGLu2Vt.js.map} +1 -1
  195. package/dist/cdn/editor.css +1 -1
  196. package/dist/cdn/editor.js +573 -573
  197. package/dist/cdn/editor.js.map +1 -1
  198. package/dist/{check-ErKdPXG6.js → check-CWq6Nfjj.js} +1 -1
  199. package/dist/{chevron-down-C_vv5fZE.js → chevron-down-B9t0SK_-.js} +1 -1
  200. package/dist/{chevron-right-Cw4GpjFA.js → chevron-right-B_qslOCS.js} +1 -1
  201. package/dist/{chevron-up-uijYZoph.js → chevron-up-CxZ2teV2.js} +1 -1
  202. package/dist/{circle-exclamation-point-CIYHx5Tw.js → circle-exclamation-point-B1tbhkNb.js} +1 -1
  203. package/dist/{clock-tnC1IvZk.js → clock-Rw4btQn-.js} +1 -1
  204. package/dist/{composables-jTnTSqdm.js → composables-5KJV0O9T.js} +933 -957
  205. package/dist/{createCloudRuntime-DiUnYjKr.js → createCloudRuntime-BdoKeYJi.js} +3 -3
  206. package/dist/{createLucideIcon-CssArtUe.js → createLucideIcon-B6Zkn9r0.js} +5 -5
  207. package/dist/{da-CM6DCvRG.js → da-4YwDAuEr.js} +6 -1
  208. package/dist/{cdn/chunks/de-Dugz1zXC.js → de-BlQ0vdZJ.js} +6 -3
  209. package/dist/dist-AyAOL8Bj.js +4 -0
  210. package/dist/{dist-BTUMr4Pb.js → dist-BNrGwgev.js} +2 -2
  211. package/dist/{dist-CsplpC_6.js → dist-BPVNNdTv.js} +2 -2
  212. package/dist/{dist-bWIkrMkM.js → dist-C7YLw60i.js} +2 -2
  213. package/dist/{dist-Clfx1JeL.js → dist-CBnAqr27.js} +2 -2
  214. package/dist/{dist-CkHJRChP.js → dist-COvAA64n.js} +2 -2
  215. package/dist/{dist-C-NRkFsp.js → dist-CuRjmtWu.js} +5 -5
  216. package/dist/{dist-HKEDfp__.js → dist-DG_AWt8v.js} +2 -2
  217. package/dist/{dist-DY3WbyCO.js → dist-DYtuc3jc.js} +2 -2
  218. package/dist/dist-DkPTWQuO.js +4 -0
  219. package/dist/{dist-DwpKFWF4.js → dist-DoWk1r7z.js} +77 -74
  220. package/dist/{cdn/chunks/src-CVHGPKSW.js → dist-DsA7NeIy.js} +691 -649
  221. package/dist/{dist-BlrlMP8f.js → dist-fDsB6dCL.js} +2 -2
  222. package/dist/{editor-modal-BWvxfSj8.js → editor-modal-_ylhrf4g.js} +15 -15
  223. package/dist/en-DwxgN_-Y.js +1 -0
  224. package/dist/{cdn/chunks/en-BykoFuFY.js → en-MlNeQVSG.js} +6 -3
  225. package/dist/{cdn/chunks/es-DaWsTkpj.js → es-2s8x4OM2.js} +6 -3
  226. package/dist/{extensions-CAuXwpbI.js → extensions-DCJGAZ9z.js} +74 -74
  227. package/dist/{eye-DK4--qHk.js → eye-BE-DeEqG.js} +1 -1
  228. package/dist/{fr-DqwQHtJo.js → fr-D3MjrsgQ.js} +6 -1
  229. package/dist/{image-B5pJOw5Q.js → image-DfRxUmUh.js} +1 -1
  230. package/dist/index.d.ts +37 -7
  231. package/dist/{info-DKM0_thN.js → info-D1PS-81D.js} +1 -1
  232. package/dist/{cdn/chunks/ja-BH4MS1Ye.js → ja-B4Kx7uBX.js} +6 -3
  233. package/dist/keys-B4DimcgX.js +9 -0
  234. package/dist/{link-BNgTZ_Sw.js → link-DLaACaIz.js} +1 -1
  235. package/dist/{list-Bqynqm7o.js → list-CvtzVlvM.js} +1 -1
  236. package/dist/{loader-circle-BMc3fVpa.js → loader-circle-DCkSXApP.js} +1 -1
  237. package/dist/{message-circle-D_TpvAJh.js → message-circle-Bj4F9bBO.js} +1 -1
  238. package/dist/{cdn/chunks/nl-BQl1_UHv.js → nl-U65iX7wN.js} +6 -3
  239. package/dist/{normalizeMergeTagMarkup-fgoVMKAc.js → normalizeMergeTagMarkup-B7n_-4Dz.js} +45 -45
  240. package/dist/{package-D2fov5PU.js → package-By1au8Wi.js} +1 -1
  241. package/dist/{pencil-BNdkJyfY.js → pencil-T4qqyRLl.js} +1 -1
  242. package/dist/{plus-CWmBmMx-.js → plus-3Zry-1gs.js} +1 -1
  243. package/dist/{cdn/chunks/preRenderCustomBlocks-CxwYcAQe.js → preRenderCustomBlocks-D3GzENVB.js} +1 -3
  244. package/dist/{cdn/chunks/pt-BR-eyzmU9Vs.js → pt-BR-_jsX1xLv.js} +6 -3
  245. package/dist/{refresh-cw-Ryg1j66N.js → refresh-cw-BwaO0ioc.js} +1 -1
  246. package/dist/{rotate-ccw-D8j7gXXv.js → rotate-ccw-C3E0W5q-.js} +1 -1
  247. package/dist/{sanitizeHtml-D2wueiEe.js → sanitizeHtml-BcbjlypU.js} +6 -6
  248. package/dist/{search-CX2JkSHz.js → search-DfExisVv.js} +1 -1
  249. package/dist/{send-BLR1b-p5.js → send-FRC7Giap.js} +1 -1
  250. package/dist/{smartphone-Co8m0LLg.js → smartphone-BlYU_z_x.js} +1 -1
  251. package/dist/{socialIcons-RKdTgJip.js → socialIcons-By2LPWOQ.js} +563 -585
  252. package/dist/{sparkles-Dc3Undp5.js → sparkles-DSi61skE.js} +1 -1
  253. package/dist/{square-CPw_cyX8.js → square-DEE8tT2w.js} +1 -1
  254. package/dist/style.css +1 -1
  255. package/dist/templatical-editor.js +640 -640
  256. package/dist/{text-align-start-2VZGhCiK.js → text-align-start-DGdrmKcG.js} +1 -1
  257. package/dist/{trash-t6XXliVc.js → trash-YZPJMZc7.js} +1 -1
  258. package/dist/{triangle-exclamation-point-_YYWE2ZH.js → triangle-exclamation-point-BR-W6pQm.js} +1 -1
  259. package/dist/{upload-BWYXWYHb.js → upload-B_Eoqj-4.js} +1 -1
  260. package/dist/{useCloudI18n-nMZ9f_4b.js → useCloudI18n-BnuOL1YS.js} +1 -1
  261. package/dist/{useEditorRoot-DpssP9rX.js → useEditorRoot-DWfC2CVC.js} +1 -1
  262. package/dist/{useI18n-C2p-qHeb.js → useI18n-Cx9W7OWb.js} +1 -1
  263. package/dist/useLocalizedDisplay-_P6-hXaO.js +31 -0
  264. package/dist/{useLogicTag-59fmujI7.js → useLogicTag-f0SJ1Cd2.js} +2 -2
  265. package/dist/{useMergeTag-M1vauWet.js → useMergeTag-0-EudwkV.js} +4 -4
  266. package/dist/{usePopoverPosition-L9MOHBM-.js → usePopoverPosition-DF0ZYH7g.js} +1 -1
  267. package/dist/{useScrollToBlock-BMF0Dt5l.js → useScrollToBlock-CtM_ydOS.js} +2 -2
  268. package/dist/withCurrentFont-BOg3jmCT.js +18 -0
  269. package/dist/{x-CTKOxIyZ.js → x-C0X5MoK3.js} +1 -1
  270. package/package.json +22 -22
  271. package/dist/cdn/chunks/AiAltTextPopover-Dj-VLU88.js.map +0 -1
  272. package/dist/cdn/chunks/AiAltTextReview-tVkJPOk6.js.map +0 -1
  273. package/dist/cdn/chunks/AiChatPanel-CYPvHQGQ.js.map +0 -1
  274. package/dist/cdn/chunks/AiPanels-ChTLCmMS.js.map +0 -1
  275. package/dist/cdn/chunks/AiRewriteMenu-B23ozFnP.js.map +0 -1
  276. package/dist/cdn/chunks/BlockIssueBadge-BKO4Mr8f.js.map +0 -1
  277. package/dist/cdn/chunks/BlockPreviewCanvas-CaRneMZ8.js.map +0 -1
  278. package/dist/cdn/chunks/CloudHeaderExtras-O_K3jmgO.js.map +0 -1
  279. package/dist/cdn/chunks/CloudPanels-xAEirqNC.js.map +0 -1
  280. package/dist/cdn/chunks/CollaborationNotices-CwAoa-73.js.map +0 -1
  281. package/dist/cdn/chunks/CollaboratorBar-DdQQwtwd.js.map +0 -1
  282. package/dist/cdn/chunks/CommentsPanel-C8AKtxiG.js.map +0 -1
  283. package/dist/cdn/chunks/CommentsSidebar-FxY0RHSq.js.map +0 -1
  284. package/dist/cdn/chunks/CountdownBlock-DGgnPUlu.js.map +0 -1
  285. package/dist/cdn/chunks/CountdownToolbar-9PtYUgCW.js.map +0 -1
  286. package/dist/cdn/chunks/IssuesPanel-Co-ffgWa.js.map +0 -1
  287. package/dist/cdn/chunks/LanguageMenu-Cl0ajnXZ.js.map +0 -1
  288. package/dist/cdn/chunks/LocaleNotices-BVDJ7kyj.js.map +0 -1
  289. package/dist/cdn/chunks/LogicTagInsertButton-DPYA8LJW.js.map +0 -1
  290. package/dist/cdn/chunks/MediaEditModal-CfgN7Jyi.js.map +0 -1
  291. package/dist/cdn/chunks/MediaPanels-Cb5vsgb-.js.map +0 -1
  292. package/dist/cdn/chunks/MergeTagInput-Cxfjq3tx.js.map +0 -1
  293. package/dist/cdn/chunks/MergeTagModeToggle-BmNGV3yc.js.map +0 -1
  294. package/dist/cdn/chunks/MergeTagTextarea-DmwrPAss.js.map +0 -1
  295. package/dist/cdn/chunks/ParagraphEditor-BoGELRr-.js.map +0 -1
  296. package/dist/cdn/chunks/RestoreVersionDialog-CaKiSq-9.js.map +0 -1
  297. package/dist/cdn/chunks/RichTextEditorContent-Dq4TROOg.js.map +0 -1
  298. package/dist/cdn/chunks/SaveBlockDialog-BAR0G4UO.js.map +0 -1
  299. package/dist/cdn/chunks/SavedBlocksBrowserModal-C-KYaLkQ.js.map +0 -1
  300. package/dist/cdn/chunks/SavedBlocksPanels-C3OF0EeB.js.map +0 -1
  301. package/dist/cdn/chunks/SavedBlocksPickBar-BnyPXw5W.js.map +0 -1
  302. package/dist/cdn/chunks/TemplateSettings-uoiUkd2l.js.map +0 -1
  303. package/dist/cdn/chunks/TestEmailModal-B9d3ZsH7.js.map +0 -1
  304. package/dist/cdn/chunks/TestEmailPanel--fPi6QjN.js.map +0 -1
  305. package/dist/cdn/chunks/TitleEditor-Cn4fnSpa.js.map +0 -1
  306. package/dist/cdn/chunks/Toolbar-BzAuH2G4.js.map +0 -1
  307. package/dist/cdn/chunks/TplModal-jMfK19PC.js.map +0 -1
  308. package/dist/cdn/chunks/VersionHistoryMenu-DDqYMqC2.js.map +0 -1
  309. package/dist/cdn/chunks/VersionHistoryPanels-DJpySkvq.js.map +0 -1
  310. package/dist/cdn/chunks/VersionPreviewBanner-CYT5QUoc.js.map +0 -1
  311. package/dist/cdn/chunks/WrapperBlock-Bi9XgDmX.js.map +0 -1
  312. package/dist/cdn/chunks/ca-YfIxwO1G.js.map +0 -1
  313. package/dist/cdn/chunks/composables-Cp6gZ7qV.js.map +0 -1
  314. package/dist/cdn/chunks/da-CM6DCvRG.js.map +0 -1
  315. package/dist/cdn/chunks/de-Dugz1zXC.js.map +0 -1
  316. package/dist/cdn/chunks/editor-modal-CXSSZplR.js.map +0 -1
  317. package/dist/cdn/chunks/en-BykoFuFY.js.map +0 -1
  318. package/dist/cdn/chunks/en-DYMYt1TN.js +0 -1
  319. package/dist/cdn/chunks/es-DaWsTkpj.js.map +0 -1
  320. package/dist/cdn/chunks/extensions-BYJPv1sA.js.map +0 -1
  321. package/dist/cdn/chunks/fr-DqwQHtJo.js.map +0 -1
  322. package/dist/cdn/chunks/ja-BH4MS1Ye.js.map +0 -1
  323. package/dist/cdn/chunks/keys-DNv3xXxI.js +0 -11
  324. package/dist/cdn/chunks/keys-DNv3xXxI.js.map +0 -1
  325. package/dist/cdn/chunks/nl-BQl1_UHv.js.map +0 -1
  326. package/dist/cdn/chunks/pt-BR-eyzmU9Vs.js.map +0 -1
  327. package/dist/cdn/chunks/socialIcons-bvQ57o1m.js.map +0 -1
  328. package/dist/cdn/chunks/src-BRyzUujm.js.map +0 -1
  329. package/dist/cdn/chunks/src-CVHGPKSW.js.map +0 -1
  330. package/dist/cdn/chunks/src-aFRxbwqP.js +0 -707
  331. package/dist/cdn/chunks/src-aFRxbwqP.js.map +0 -1
  332. package/dist/cdn/chunks/tiptap-B7gxx0aJ.js.map +0 -1
  333. package/dist/cdn/chunks/useLocalizedDisplay-7iwZ1UhB.js +0 -33
  334. package/dist/dist-CkIeJEsa.js +0 -4
  335. package/dist/dist-eAgG-nCb.js +0 -4
  336. package/dist/en-DvCaYqiR.js +0 -1
  337. package/dist/keys-BeQy64On.js +0 -9
  338. package/dist/useLocalizedDisplay-9RqT2y_Y.js +0 -31
  339. package/dist/withCurrentFont-BXZ7g-K6.js +0 -18
@@ -1,61 +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-RKdTgJip.js";
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";
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-By2LPWOQ.js";
4
+ import { A as ce, At as le, C as ue, Ct as de, D as X, E as fe, Ft as pe, I as me, K as he, Kt as ge, Lt as _e, M as ve, Nt as ye, O as be, Pt as xe, V as Se, Y as Ce, Zt as we, _n as Te, at as Ee, en as De, hn as Oe, mt as ke, ot as Z, p as Ae, rt as je, s as Me, tt as Ne, v as Pe, w as Fe, wt as Ie, xt as Le, y as Q, z as Re } from "./dist-DsA7NeIy.js";
5
5
  import { t as ze } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
6
- import { i as Be, n as Ve } from "./sanitizeHtml-D2wueiEe.js";
7
- import { t as He } from "./x-CTKOxIyZ.js";
8
- import { t as $ } from "./useI18n-C2p-qHeb.js";
9
- import { n as Ue, t as We } from "./useLocalizedDisplay-9RqT2y_Y.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
- import { t as Ct } from "./plural-CyxrJXL1.js";
12
- import { t as wt } from "./languageName-DEEOhDWI.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-C57J-uF0.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-jTnTSqdm.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-C4XrJkx5.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";
6
+ import { i as Be, n as Ve } from "./sanitizeHtml-BcbjlypU.js";
7
+ import { t as He } from "./x-C0X5MoK3.js";
8
+ import { t as $ } from "./useI18n-Cx9W7OWb.js";
9
+ import { n as Ue, t as We } from "./useLocalizedDisplay-_P6-hXaO.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, b as nt, c as rt, ct as it, d as at, et as ot, g as st, h as ct, it 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, ut as xt, v as St, z as Ct } from "./keys-B4DimcgX.js";
11
+ import { t as wt } from "./plural-CyxrJXL1.js";
12
+ import { t as Tt } from "./languageName-DEEOhDWI.js";
13
+ import { C as Et, E as Dt, T as Ot, b as kt, h as At, m as jt, w as Mt, x as Nt } from "./styleConstants-Br6CIRoS.js";
14
+ import { t as Pt } from "./TplModal-F_kA7luG.js";
15
+ import { A as Ft, D as It, F as Lt, G as Rt, I as zt, M as Bt, N as Vt, P as Ht, R as Ut, S as Wt, V as Gt, _ as Kt, a as qt, b as Jt, c as Yt, d as Xt, f as Zt, g as Qt, h as $t, i as en, j as tn, k as nn, l as rn, m as an, n as on, o as sn, p as cn, r as ln, s as un, t as dn, u as fn, v as pn, x as mn, y as hn } from "./composables-5KJV0O9T.js";
16
+ import { a as gn, i as _n, n as vn, o as yn, t as bn } from "./normalizeMergeTagMarkup-B7n_-4Dz.js";
17
+ import { t as xn } from "./aiErrors-C3QEMB0x.js";
18
+ import { n as Sn, t as Cn } from "./aiImageContext-BQ5mQ6B5.js";
19
+ import { i as wn, n as Tn, o as En, r as Dn, t as On } from "./useScrollToBlock-CtM_ydOS.js";
20
+ import { a as kn } from "./dist-B6ptxfPo.js";
21
+ import { t as An } from "./logger-BOu7oEtk.js";
22
+ import { t as jn } from "./refresh-cw-BwaO0ioc.js";
23
+ import { t as Mn } from "./rotate-ccw-C3E0W5q-.js";
24
+ import { t as Nn } from "./createLucideIcon-B6Zkn9r0.js";
25
+ import { t as Pn } from "./sparkles-DSi61skE.js";
26
+ import { t as Fn } from "./WrapperBlock-Ds7yfbhg.js";
27
+ import { t as In } from "./package-By1au8Wi.js";
28
+ import { t as Ln } from "./blockTypeIcons-Do1QqDjg.js";
29
+ import { t as Rn } from "./templateSettingsFields-cjlP-jdw.js";
30
+ import { n as zn } from "./smartphone-BlYU_z_x.js";
31
+ import { t as Bn } from "./loader-circle-DCkSXApP.js";
32
+ import { t as Vn } from "./message-circle-Bj4F9bBO.js";
33
+ import { t as Hn } from "./send-FRC7Giap.js";
34
+ import { n as Un, t as Wn } from "./MergeTagModeToggle-5kaFLRAm.js";
35
+ import { t as Gn } from "./eye-BE-DeEqG.js";
36
+ import { _ as Kn, d as qn, g as Jn } from "./dist-A328tG0Z.js";
37
+ import { t as Yn } from "./formatAbsoluteDateTime-Ck2_zXra.js";
38
+ import { t as Xn } from "./formatRelativeTime-BTD8Ktt-.js";
39
+ import { t as Zn } from "./check-CWq6Nfjj.js";
40
+ import { t as Qn } from "./circle-exclamation-point-B1tbhkNb.js";
41
+ import { t as $n } from "./chevron-down-B9t0SK_-.js";
42
+ import { t as er } from "./search-DfExisVv.js";
43
+ import { t as tr } from "./preRenderCustomBlocks-D3GzENVB.js";
44
44
  // src/utils/resolveTemplateDefaults.ts
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;
45
+ var nr = /^[a-z]{2,3}(-[a-z0-9]{2,8})*$/i;
46
+ function rr(e) {
47
+ let t = e.locale?.trim().replace(/_/g, "-"), n = t && nr.test(t) ? { locale: t } : void 0;
48
48
  if (n || e.templateDefaults) return {
49
49
  ...n,
50
50
  ...e.templateDefaults
51
51
  };
52
52
  }
53
53
  // src/components/NoticeStack.vue
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")]);
54
+ var ir = {}, ar = { 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 or(e, t) {
56
+ return s(), C("div", ar, [i(e.$slots, "default")]);
57
57
  }
58
- var or = /*#__PURE__*/ ze(rr, [["render", ar]]), sr = Mn({
58
+ var sr = /*#__PURE__*/ ze(ir, [["render", or]]), cr = Nn({
59
59
  name: "image-up",
60
60
  size: 24,
61
61
  node: [
@@ -78,7 +78,7 @@ var or = /*#__PURE__*/ ze(rr, [["render", ar]]), sr = Mn({
78
78
  key: "af1f0g"
79
79
  }]
80
80
  ]
81
- }), cr = Mn({
81
+ }), lr = Nn({
82
82
  name: "layout-template",
83
83
  size: 24,
84
84
  node: [
@@ -107,14 +107,14 @@ var or = /*#__PURE__*/ ze(rr, [["render", ar]]), sr = Mn({
107
107
  key: "q5h2i8"
108
108
  }]
109
109
  ]
110
- }), lr = Mn({
110
+ }), ur = Nn({
111
111
  name: "moon",
112
112
  size: 24,
113
113
  node: [["path", {
114
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",
115
115
  key: "kfwtm"
116
116
  }]]
117
- }), ur = Mn({
117
+ }), dr = Nn({
118
118
  name: "panel-top",
119
119
  size: 24,
120
120
  node: [["rect", {
@@ -128,7 +128,7 @@ var or = /*#__PURE__*/ ze(rr, [["render", ar]]), sr = Mn({
128
128
  d: "M3 9h18",
129
129
  key: "1pudct"
130
130
  }]]
131
- }), dr = Mn({
131
+ }), fr = Nn({
132
132
  name: "save",
133
133
  size: 24,
134
134
  node: [
@@ -145,7 +145,7 @@ var or = /*#__PURE__*/ ze(rr, [["render", ar]]), sr = Mn({
145
145
  key: "t51u73"
146
146
  }]
147
147
  ]
148
- }), fr = Mn({
148
+ }), pr = Nn({
149
149
  name: "settings",
150
150
  size: 24,
151
151
  node: [["path", {
@@ -157,7 +157,7 @@ var or = /*#__PURE__*/ ze(rr, [["render", ar]]), sr = Mn({
157
157
  r: "3",
158
158
  key: "1v7zrd"
159
159
  }]]
160
- }), pr = Mn({
160
+ }), mr = Nn({
161
161
  name: "square-plus",
162
162
  size: 24,
163
163
  node: [
@@ -179,7 +179,7 @@ var or = /*#__PURE__*/ ze(rr, [["render", ar]]), sr = Mn({
179
179
  }]
180
180
  ],
181
181
  aliases: ["plus-square"]
182
- }), mr = Mn({
182
+ }), hr = Nn({
183
183
  name: "sun",
184
184
  size: 24,
185
185
  node: [
@@ -222,29 +222,29 @@ var or = /*#__PURE__*/ ze(rr, [["render", ar]]), sr = Mn({
222
222
  key: "1shlcs"
223
223
  }]
224
224
  ]
225
- }), hr = {
225
+ }), gr = {
226
226
  key: 0,
227
227
  "data-testid": "language-bar",
228
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)]"
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
+ }, _r = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-between tpl:gap-x-6 tpl:gap-y-2" }, vr = { 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" }, yr = {
230
230
  "data-testid": "language-bar-label",
231
231
  class: "tpl:inline-flex tpl:items-center tpl:gap-2 tpl:font-medium tpl:whitespace-nowrap tpl:text-[var(--tpl-text)]"
232
- }, yr = {
232
+ }, br = {
233
233
  "data-testid": "language-bar-status",
234
234
  role: "status",
235
235
  "aria-live": "polite",
236
236
  "aria-atomic": "true",
237
237
  class: "tpl:whitespace-nowrap"
238
- }, br = {
238
+ }, xr = {
239
239
  key: 1,
240
240
  "data-testid": "translation-result",
241
241
  class: "tpl:whitespace-normal"
242
- }, xr = ["aria-label"], Sr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-2" }, Cr = ["disabled"], wr = ["disabled"], Tr = {
242
+ }, Sr = ["aria-label"], Cr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-2" }, wr = ["disabled"], Tr = ["disabled"], Er = {
243
243
  key: 0,
244
244
  "data-testid": "structure-notice",
245
245
  role: "status",
246
246
  class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-2"
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
+ }, Dr = ["aria-label"], Or = ["aria-label"], kr = { class: "tpl:m-0 tpl:mb-4 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Ar = { class: "tpl:mb-4 tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, jr = { class: "tpl:flex tpl:flex-wrap tpl:justify-end tpl:gap-2" }, Mr = ["disabled"], Nr = /* @__PURE__ */ new Set(), Pr = /* @__PURE__ */ R({
248
248
  __name: "LanguageBar",
249
249
  props: {
250
250
  editor: {},
@@ -253,15 +253,15 @@ var or = /*#__PURE__*/ ze(rr, [["render", ar]]), sr = Mn({
253
253
  change: {}
254
254
  },
255
255
  setup(e) {
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
+ let n = e, { t: r, format: i } = $(), o = L(vt, void 0) ?? "en", l = L(ct, []), 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, {
257
257
  missing: m.value.missing.length,
258
258
  stale: m.value.stale.length
259
- }) : i(r.localization.languageReadOnly, { language: wt(f.value) })), _ = y(() => {
259
+ }) : i(r.localization.languageReadOnly, { language: Tt(f.value) })), _ = y(() => {
260
260
  let e = n.feature?.lastResult.value;
261
261
  if (!e) return "";
262
- let t = [Ct(r.localization.translatedFields, e.translated, o)];
263
- return e.tagsChanged.length && t.push(Ct(r.localization.translationTagsChanged, e.tagsChanged.length, o)), e.skippedLocked.length && t.push(Ct(r.localization.translationSkippedLocked, e.skippedLocked.length, o)), e.missing.length && t.push(Ct(r.localization.translationMissing, e.missing.length, o)), e.tooLarge.length && t.push(Ct(r.localization.translationTooLarge, e.tooLarge.length, o)), e.error && t.push(i(r.localization.translationError, { message: e.error.message })), t.join(" ");
264
- }), T = S(!1), E = !1, D = S(null), k = S(null), A = y(() => n.feature?.counts.value.all ?? 0), j = y(() => Ct(r.localization.translationConfirmation, A.value, o));
262
+ let t = [wt(r.localization.translatedFields, e.translated, o)];
263
+ return e.tagsChanged.length && t.push(wt(r.localization.translationTagsChanged, e.tagsChanged.length, o)), e.skippedLocked.length && t.push(wt(r.localization.translationSkippedLocked, e.skippedLocked.length, o)), e.missing.length && t.push(wt(r.localization.translationMissing, e.missing.length, o)), e.tooLarge.length && t.push(wt(r.localization.translationTooLarge, e.tooLarge.length, o)), e.error && t.push(i(r.localization.translationError, { message: e.error.message })), t.join(" ");
264
+ }), T = S(!1), E = !1, D = S(null), k = S(null), A = y(() => n.feature?.counts.value.all ?? 0), j = y(() => wt(r.localization.translationConfirmation, A.value, o));
265
265
  function N() {
266
266
  D.value = null, u(() => k.value?.focus());
267
267
  }
@@ -282,67 +282,67 @@ var or = /*#__PURE__*/ ze(rr, [["render", ar]]), sr = Mn({
282
282
  D.value && N();
283
283
  }), t(() => n.change, () => {
284
284
  let e = n.editor.state.template?.id;
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), {
285
+ (e ? Nr.has(e) : E) || (e ? Nr.add(e) : E = !0, T.value = !0);
286
+ }), (t, n) => f.value === d.value ? x("", !0) : (s(), C("div", gr, [
287
+ O("div", _r, [O("div", vr, [
288
+ O("span", yr, [v(b(Be), {
289
289
  size: 14,
290
290
  "aria-hidden": "true",
291
291
  class: "tpl:shrink-0"
292
- }), w(" " + a(b(i)(b(r).localization.editingLanguage, { language: b(wt)(f.value) })), 1)]),
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))]),
292
+ }), w(" " + a(b(i)(b(r).localization.editingLanguage, { language: b(Tt)(f.value) })), 1)]),
293
+ O("span", br, [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", xr, a(_.value), 1)) : (s(), C(M, { key: 2 }, [w(a(g.value), 1)], 64))]),
294
294
  e.feature?.lastResult.value && !e.feature.running.value ? (s(), C("button", {
295
295
  key: 0,
296
296
  type: "button",
297
297
  "data-testid": "translation-dismiss",
298
298
  "aria-label": b(r).localization.dismiss,
299
- class: c(b(At)),
299
+ class: c(b(jt)),
300
300
  onClick: n[0] ||= (t) => e.feature.dismissResult()
301
301
  }, [v(b(He), {
302
302
  size: 14,
303
303
  "aria-hidden": "true"
304
- })], 10, xr)) : x("", !0)
305
- ]), O("div", Sr, [
304
+ })], 10, Sr)) : x("", !0)
305
+ ]), O("div", Cr, [
306
306
  e.feature?.running.value ? (s(), C("button", {
307
307
  key: 0,
308
308
  type: "button",
309
309
  "data-testid": "translation-cancel",
310
- class: c(b(At)),
310
+ class: c(b(jt)),
311
311
  onClick: n[1] ||= (t) => e.feature.cancel()
312
312
  }, a(b(r).localization.cancel), 3)) : x("", !0),
313
313
  p.value && e.feature?.isAvailable.value ? (s(), C(M, { key: 1 }, [e.feature.counts.value.gaps > 0 ? (s(), C("button", {
314
314
  key: 0,
315
315
  type: "button",
316
316
  "data-testid": "translate-language",
317
- class: c(b(Mt)),
317
+ class: c(b(Nt)),
318
318
  disabled: !!e.feature.running.value,
319
319
  onClick: n[2] ||= (t) => e.feature.translate({ only: "gaps" })
320
- }, a(b(Ct)(b(r).localization.translateFields, e.feature.counts.value.gaps, b(o))), 11, Cr)) : x("", !0), O("button", {
320
+ }, a(b(wt)(b(r).localization.translateFields, e.feature.counts.value.gaps, b(o))), 11, wr)) : x("", !0), O("button", {
321
321
  ref_key: "allAgain",
322
322
  ref: k,
323
323
  type: "button",
324
324
  "data-testid": "translate-all-again",
325
- class: c(b(At)),
325
+ class: c(b(jt)),
326
326
  disabled: !!e.feature.running.value || A.value === 0,
327
327
  onClick: P
328
- }, a(b(r).localization.translateAllAgain), 11, wr)], 64)) : x("", !0),
328
+ }, a(b(r).localization.translateAllAgain), 11, Tr)], 64)) : x("", !0),
329
329
  O("button", {
330
330
  type: "button",
331
331
  "data-testid": "language-back-default",
332
- class: c(b(At)),
332
+ class: c(b(jt)),
333
333
  onClick: n[3] ||= (t) => e.editor.setActiveLocale?.(null)
334
- }, a(b(i)(b(r).localization.backToDefault, { default: b(wt)(d.value) })), 3)
334
+ }, a(b(i)(b(r).localization.backToDefault, { default: b(Tt)(d.value) })), 3)
335
335
  ])]),
336
- T.value ? (s(), C("div", Tr, [O("span", null, a(b(r).localization.structureNotice), 1), O("button", {
336
+ T.value ? (s(), C("div", Er, [O("span", null, a(b(r).localization.structureNotice), 1), O("button", {
337
337
  type: "button",
338
338
  "aria-label": b(r).localization.dismiss,
339
- class: c(b(At)),
339
+ class: c(b(jt)),
340
340
  onClick: n[4] ||= (e) => T.value = !1
341
341
  }, [v(b(He), {
342
342
  size: 14,
343
343
  "aria-hidden": "true"
344
- })], 10, Er)])) : x("", !0),
345
- v(Nt, {
344
+ })], 10, Dr)])) : x("", !0),
345
+ v(Pt, {
346
346
  visible: D.value !== null,
347
347
  onClose: N
348
348
  }, {
@@ -352,35 +352,35 @@ var or = /*#__PURE__*/ ze(rr, [["render", ar]]), sr = Mn({
352
352
  "aria-label": j.value,
353
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)]"
354
354
  }, [
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", {
355
+ O("h3", kr, a(j.value), 1),
356
+ O("p", Ar, a(b(i)(b(r).localization.translationDescription, { language: b(Tt)(D.value?.locale ?? f.value) })), 1),
357
+ O("div", jr, [O("button", {
358
358
  type: "button",
359
359
  "data-testid": "translation-confirm-cancel",
360
- class: c(b(Tt)),
360
+ class: c(b(Et)),
361
361
  onClick: N
362
362
  }, a(b(r).localization.cancel), 3), O("button", {
363
363
  type: "button",
364
364
  "data-testid": "translation-confirm",
365
- class: c(b(Ot)),
365
+ class: c(b(kt)),
366
366
  disabled: !!e.feature?.running.value || !e.feature?.isAvailable.value || A.value === 0,
367
367
  onClick: F
368
- }, a(b(Ct)(b(r).localization.translateAllFields, A.value, b(o))), 11, jr)])
369
- ], 8, Dr)]),
368
+ }, a(b(wt)(b(r).localization.translateAllFields, A.value, b(o))), 11, Mr)])
369
+ ], 8, Or)]),
370
370
  _: 1
371
371
  }, 8, ["visible"])
372
372
  ]));
373
373
  }
374
374
  });
375
375
  // src/composables/useLocaleActions.ts
376
- function Pr(e) {
376
+ function Fr(e) {
377
377
  let { editor: t } = e;
378
378
  return { setDefaultLocale(n) {
379
379
  let r;
380
380
  try {
381
381
  r = [t.createSetDefaultLocaleOperation(n)], e.collaboration || Le(t.content.value, r);
382
382
  } catch (e) {
383
- if (e instanceof ke) return {
383
+ if (e instanceof Ae) return {
384
384
  applied: !1,
385
385
  error: e
386
386
  };
@@ -389,12 +389,12 @@ function Pr(e) {
389
389
  if (e.collaboration) {
390
390
  let t = e.collaboration.core.applyOperations(r, {});
391
391
  if (!t.applied) return t;
392
- } else e.history().record(), Se(t.content.value, r), t.markDirty();
392
+ } else e.history().record(), fe(t.content.value, r), t.markDirty();
393
393
  return t.setActiveLocale(n), { applied: !0 };
394
394
  } };
395
395
  }
396
396
  // src/composables/useTranslationFeature.ts
397
- function Fr(e) {
397
+ function Ir(e) {
398
398
  if (typeof e != "object" || !e) return null;
399
399
  let t = e;
400
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 : {
@@ -403,24 +403,24 @@ function Fr(e) {
403
403
  ...t.statusCode === void 0 ? {} : { statusCode: t.statusCode }
404
404
  };
405
405
  }
406
- function Ir(e) {
406
+ function Lr(e) {
407
407
  let t = /* @__PURE__ */ new Set();
408
408
  if (typeof DOMParser > "u") return t;
409
409
  let n = new DOMParser().parseFromString(e, "text/html");
410
410
  for (let e of n.querySelectorAll("[style]")) t.add(e.getAttribute("style") ?? "");
411
411
  return t;
412
412
  }
413
- function Lr(e, t) {
414
- let n = Ir(t);
415
- return [...Ir(e)].every((e) => n.has(e));
413
+ function Rr(e, t) {
414
+ let n = Lr(t);
415
+ return [...Lr(e)].every((e) => n.has(e));
416
416
  }
417
- function Rr(e) {
417
+ function zr(e) {
418
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);
419
419
  return n.forEach((e, n) => {
420
420
  i = i.replaceAll(`${t}${n + 1}-end`, e);
421
421
  }), i;
422
422
  }
423
- async function zr(e, t) {
423
+ async function Br(e, t) {
424
424
  t.throwIfAborted();
425
425
  let n, r = new Promise((e, r) => {
426
426
  n = () => r(t.reason), t.addEventListener("abort", n, { once: !0 });
@@ -431,7 +431,7 @@ async function zr(e, t) {
431
431
  t.removeEventListener("abort", n);
432
432
  }
433
433
  }
434
- function Br(e) {
434
+ function Vr(e) {
435
435
  let { editor: n } = e, r = A(null), i = A(null), a = null, o = A(!1), s = y(() => {
436
436
  let t = n.activeLocale.value;
437
437
  return !o.value && !!t && t !== Z(n.content.value) && !!e.localization?.locales.includes(t) && !!n.content.value.settings.locales?.includes(t);
@@ -440,7 +440,7 @@ function Br(e) {
440
440
  gaps: 0,
441
441
  all: 0
442
442
  };
443
- let t = n.activeLocale.value, r = e.definitions(), i = e.coverage?.() ?? ge(n.content.value, t, r), a = /* @__PURE__ */ new Set([...i.missing, ...i.stale]), { strings: o } = ve(n.content.value, t, {
443
+ let t = n.activeLocale.value, r = e.definitions(), i = e.coverage?.() ?? pe(n.content.value, t, r), a = /* @__PURE__ */ new Set([...i.missing, ...i.stale]), { strings: o } = _e(n.content.value, t, {
444
444
  definitions: r,
445
445
  syntax: e.syntax(),
446
446
  doNotTranslate: e.localization?.doNotTranslate,
@@ -471,7 +471,7 @@ function Br(e) {
471
471
  if (!s.value) throw new Q("Translation isn't available in this language.", 403, "feature_unavailable");
472
472
  let o = e.collaboration?.core;
473
473
  o?.flush();
474
- let c = n.activeLocale.value, l = n.state.template?.id ?? null, u = Z(n.content.value), d = we(N([...e.definitions()])), f = e.syntax(), p = e.localization?.doNotTranslate?.slice(), m = ve(n.content.value, c, {
474
+ let c = n.activeLocale.value, l = n.state.template?.id ?? null, u = Z(n.content.value), d = De(N([...e.definitions()])), f = e.syntax(), p = e.localization?.doNotTranslate?.slice(), m = _e(n.content.value, c, {
475
475
  ...t,
476
476
  definitions: d,
477
477
  syntax: f,
@@ -507,7 +507,7 @@ function Br(e) {
507
507
  }
508
508
  let i;
509
509
  try {
510
- i = await zr(e.provider.translate({
510
+ i = await Br(e.provider.translate({
511
511
  templateId: l,
512
512
  sourceLocale: u,
513
513
  targetLocale: c,
@@ -518,7 +518,7 @@ function Br(e) {
518
518
  }))
519
519
  }, g.controller.signal), g.controller.signal), g.controller.signal.throwIfAborted();
520
520
  } catch (e) {
521
- if (!g.controller.signal.aborted && Fr(e)?.code === "content_too_large" && t.length > 1) {
521
+ if (!g.controller.signal.aborted && Ir(e)?.code === "content_too_large" && t.length > 1) {
522
522
  y = Math.floor(t.length / 2);
523
523
  continue;
524
524
  }
@@ -530,10 +530,10 @@ function Br(e) {
530
530
  h.missing.push(e.id);
531
531
  continue;
532
532
  }
533
- let n = m.tokens[e.id], r = Me(t.text, n);
534
- r === null || e.format === "html" && !Lr(r, Me(e.source, n)) ? h.tagsChanged.push(e.id) : _.push({
533
+ let n = m.tokens[e.id], r = Oe(t.text, n);
534
+ r === null || e.format === "html" && !Rr(r, Oe(e.source, n)) ? h.tagsChanged.push(e.id) : _.push({
535
535
  id: e.id,
536
- text: e.format === "html" ? Rr(t.text) : t.text,
536
+ text: e.format === "html" ? zr(t.text) : t.text,
537
537
  sourceHash: e.sourceHash
538
538
  });
539
539
  }
@@ -544,14 +544,14 @@ function Br(e) {
544
544
  }
545
545
  } catch (e) {
546
546
  g.controller.signal.aborted || e instanceof Error && e.name === "AbortError" ? h.cancelled = !0 : h.error = {
547
- code: Fr(e)?.code ?? "translation_failed",
548
- message: Fr(e)?.message ?? (e instanceof Error ? e.message : String(e))
547
+ code: Ir(e)?.code ?? "translation_failed",
548
+ message: Ir(e)?.message ?? (e instanceof Error ? e.message : String(e))
549
549
  };
550
550
  }
551
551
  try {
552
552
  if (!g.discarded) {
553
553
  o?.flush();
554
- let t = ue(n.content.value, c, _, {
554
+ let t = Fe(n.content.value, c, _, {
555
555
  definitions: d,
556
556
  syntax: f,
557
557
  doNotTranslate: p,
@@ -574,7 +574,7 @@ function Br(e) {
574
574
  let t = o.locksOf(e.blockId).some((e) => e.holder.sessionId !== o.sessionId && (e.locale == null || e.locale === c));
575
575
  return t && h.skippedLocked.push(...Object.keys(e.text ?? {}).map((t) => `${e.blockId}/${t}`)), !t;
576
576
  });
577
- s.length && (Le(N(n.content.value), s), e.history().record(), Se(n.content.value, s), n.markDirty(), o?.flush(), h.translated = s.reduce((e, t) => e + (t.op === "updateBlockLocale" || t.op === "updateSettingsLocale" ? Object.keys(t.text ?? {}).length : 0), 0)), n.activeLocale.value === c && (i.value = h);
577
+ s.length && (Le(N(n.content.value), s), e.history().record(), fe(n.content.value, s), n.markDirty(), o?.flush(), h.translated = s.reduce((e, t) => e + (t.op === "updateBlockLocale" || t.op === "updateSettingsLocale" ? Object.keys(t.text ?? {}).length : 0), 0)), n.activeLocale.value === c && (i.value = h);
578
578
  }
579
579
  } finally {
580
580
  a = null, r.value = null;
@@ -594,12 +594,12 @@ function Br(e) {
594
594
  };
595
595
  }
596
596
  // src/composables/useCollaborationFeature.ts
597
- var Vr = 5e3, Hr = 2e3, Ur = {
597
+ var Hr = 5e3, Ur = 2e3, Wr = {
598
598
  blockIds: [],
599
599
  settings: !1,
600
600
  templateUpdated: !0
601
601
  };
602
- function Wr(e) {
602
+ function Gr(e) {
603
603
  let t = /* @__PURE__ */ new Set(), n = !1, r = !1;
604
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);
605
605
  return {
@@ -608,11 +608,11 @@ function Wr(e) {
608
608
  templateUpdated: r
609
609
  };
610
610
  }
611
- function Gr(e) {
611
+ function Kr(e) {
612
612
  let t = S([]), n = 1, r = /* @__PURE__ */ new Map();
613
613
  function i(e) {
614
614
  let t = r.get(e);
615
- t && clearTimeout(t), r.set(e, setTimeout(() => o(e), Vr));
615
+ t && clearTimeout(t), r.set(e, setTimeout(() => o(e), Hr));
616
616
  }
617
617
  function a(e) {
618
618
  let r = n++;
@@ -650,7 +650,7 @@ function Gr(e) {
650
650
  u.delete(r);
651
651
  let e = new Map(l.value);
652
652
  e.delete(r), l.value = e;
653
- }, Hr));
653
+ }, Ur));
654
654
  }
655
655
  l.value = n;
656
656
  }
@@ -694,15 +694,15 @@ function Gr(e) {
694
694
  let m = ee({
695
695
  provider: e.provider,
696
696
  loadTemplate: e.loadTemplate,
697
- normalizeRemoteOperations: (t, n) => gn(t, n, e.mergeTags),
697
+ normalizeRemoteOperations: (t, n) => _n(t, n, e.mergeTags),
698
698
  onRemoteChange: (t) => {
699
699
  try {
700
- p(t.actor, Wr(t.ops));
700
+ p(t.actor, Gr(t.ops));
701
701
  } finally {
702
702
  e.onRemoteChange?.(t);
703
703
  }
704
704
  },
705
- onRemoteResync: ({ actor: e }) => p(e, Ur),
705
+ onRemoteResync: ({ actor: e }) => p(e, Wr),
706
706
  onNotice: s,
707
707
  onError: e.onError
708
708
  });
@@ -764,7 +764,7 @@ function Gr(e) {
764
764
  };
765
765
  }
766
766
  // src/composables/useCommentsFeature.ts
767
- function Kr(e) {
767
+ function qr(e) {
768
768
  let { provider: n, editor: r } = e, i = Y({
769
769
  provider: n,
770
770
  getTemplateId: () => r.state.template?.id ?? null,
@@ -817,22 +817,22 @@ function Kr(e) {
817
817
  };
818
818
  }
819
819
  // src/composables/useAiFeature.ts
820
- var qr = 3e3, Jr = 1e3;
821
- function Yr(e) {
822
- return we(N(e));
820
+ var Jr = 3e3, Yr = 1e3;
821
+ function Xr(e) {
822
+ return De(N(e));
823
823
  }
824
- var Xr = (e) => e instanceof Error && e.name === "AbortError";
825
- function Zr(e) {
824
+ var Zr = (e) => e instanceof Error && e.name === "AbortError";
825
+ function Qr(e) {
826
826
  if (e instanceof Error) return e;
827
827
  if (typeof e != "object" || !e) return Error(String(e));
828
828
  let t = e;
829
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 });
830
830
  }
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)));
831
+ var $r = (e) => e.batches.reduce((e, t) => e + t.operationCount, 0);
832
+ function ei(e, t) {
833
+ return e.some((e) => e.id === t || e.type === "section" && Array.isArray(e.children) && e.children.some((e) => Array.isArray(e) && ei(e, t)));
834
834
  }
835
- function ei(e) {
835
+ function ti(e) {
836
836
  return {
837
837
  applied: !1,
838
838
  code: e.code,
@@ -840,7 +840,7 @@ function ei(e) {
840
840
  message: e.message
841
841
  };
842
842
  }
843
- function ti(e) {
843
+ function ni(e) {
844
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();
845
845
  function h(e) {
846
846
  let t = ee(e);
@@ -957,7 +957,7 @@ function ti(e) {
957
957
  e.timers.add(r);
958
958
  }
959
959
  function q(t) {
960
- Xr(t) || e.onError?.(Zr(t));
960
+ Zr(t) || e.onError?.(Qr(t));
961
961
  }
962
962
  function Y(e, t) {
963
963
  if (t.length === 0) return;
@@ -971,13 +971,13 @@ function ti(e) {
971
971
  let r = new Map(e.highlights.value);
972
972
  for (let e of t) r.get(e) === n && r.delete(e);
973
973
  e.highlights.value = r;
974
- }, Hr);
974
+ }, Ur);
975
975
  }
976
976
  async function te(e) {
977
- i && await Promise.race([i.core.settle().catch(() => {}), new Promise((t) => K(e, t, qr))]);
977
+ i && await Promise.race([i.core.settle().catch(() => {}), new Promise((t) => K(e, t, Jr))]);
978
978
  }
979
979
  function ne(t) {
980
- let n = N(r.content.value), a = r.activeLocale?.value ?? null, s = Fe(n, a ?? Z(n));
980
+ let n = N(r.content.value), a = r.activeLocale?.value ?? null, s = we(n, a ?? Z(n));
981
981
  if (a === null && n.settings.locale === void 0 && delete s.settings.locale, new TextEncoder().encode(JSON.stringify(s)).length > 2e5) throw new Q("This template is too large for AI.", 413, "content_too_large");
982
982
  return {
983
983
  templateId: t,
@@ -990,7 +990,7 @@ function ti(e) {
990
990
  }
991
991
  function re() {
992
992
  let e = r.state.selectedBlockId;
993
- return e ? i ? i.core.hasConfirmedBlock(e) ? e : null : $r(r.content.value.blocks, e) ? e : null : null;
993
+ return e ? i ? i.core.hasConfirmedBlock(e) ? e : null : ei(r.content.value.blocks, e) ? e : null : null;
994
994
  }
995
995
  function ie(t, n, a) {
996
996
  if (t.length === 0) return {
@@ -1001,14 +1001,14 @@ function ti(e) {
1001
1001
  try {
1002
1002
  o = e.normalize(t, N(r.content.value));
1003
1003
  } catch (e) {
1004
- if (e instanceof ke) return ei(e);
1004
+ if (e instanceof Ae) return ti(e);
1005
1005
  throw e;
1006
1006
  }
1007
1007
  if (o.length === 0) return {
1008
1008
  applied: !0,
1009
1009
  inverse: []
1010
1010
  };
1011
- let s = Wr(o);
1011
+ let s = Gr(o);
1012
1012
  if (i) {
1013
1013
  let e = i.core.applyOperations(o, {
1014
1014
  origin: "ai",
@@ -1017,23 +1017,23 @@ function ti(e) {
1017
1017
  return e.applied ? (s.templateUpdated || Y(a, s.blockIds), {
1018
1018
  applied: !0,
1019
1019
  inverse: e.inverse
1020
- }) : ei(e.error);
1020
+ }) : ti(e.error);
1021
1021
  }
1022
1022
  let c;
1023
1023
  try {
1024
1024
  c = Le(N(r.content.value), o);
1025
1025
  } catch (e) {
1026
- if (e instanceof ke) return ei(e);
1026
+ if (e instanceof Ae) return ti(e);
1027
1027
  throw e;
1028
1028
  }
1029
1029
  a.lastRecordedTurn !== n && (e.history().record(), a.lastRecordedTurn = n), d = !0;
1030
1030
  try {
1031
- Se(r.content.value, we(o)), r.markDirty();
1031
+ fe(r.content.value, De(o)), r.markDirty();
1032
1032
  } finally {
1033
1033
  d = !1;
1034
1034
  }
1035
1035
  let l = r.state.selectedBlockId;
1036
- return l && !$r(r.content.value.blocks, l) && r.selectBlock(null), s.templateUpdated || Y(a, s.blockIds), {
1036
+ return l && !ei(r.content.value.blocks, l) && r.selectBlock(null), s.templateUpdated || Y(a, s.blockIds), {
1037
1037
  applied: !0,
1038
1038
  inverse: c
1039
1039
  };
@@ -1042,11 +1042,11 @@ function ti(e) {
1042
1042
  let o = t;
1043
1043
  try {
1044
1044
  if (a !== null) {
1045
- if (e.localization && !e.localization.locales.includes(a)) throw new ke("invalid_operation", 0, `Locale "${a}" is not enabled.`);
1045
+ if (e.localization && !e.localization.locales.includes(a)) throw new Ae("invalid_operation", 0, `Locale "${a}" is not enabled.`);
1046
1046
  o = J(N(r.content.value), a, t, e.customBlockDefinitions?.());
1047
1047
  }
1048
1048
  } catch (e) {
1049
- if (e instanceof ke) return ei(e);
1049
+ if (e instanceof Ae) return ti(e);
1050
1050
  throw e;
1051
1051
  }
1052
1052
  let s = ie(o, n, i);
@@ -1062,7 +1062,7 @@ function ti(e) {
1062
1062
  let n = i.core;
1063
1063
  n.revision.value >= e || (n.connection.value === "connected" ? K(t, () => {
1064
1064
  E(t) && n.revision.value < e && n.catchUp();
1065
- }, Jr) : n.catchUp());
1065
+ }, Yr) : n.catchUp());
1066
1066
  }
1067
1067
  function se(e, t, n) {
1068
1068
  let r = e.memory;
@@ -1118,7 +1118,7 @@ function ti(e) {
1118
1118
  try {
1119
1119
  let n;
1120
1120
  do
1121
- n = _, !i && e.reload && await G(t, !0, d.authorVersion), a && await pe(t, !0, !0);
1121
+ n = _, !i && e.reload && await G(t, !0, d.authorVersion), a && await me(t, !0, !0);
1122
1122
  while (E(u) && n !== _);
1123
1123
  } catch (e) {
1124
1124
  E(u) && q(e);
@@ -1134,18 +1134,18 @@ function ti(e) {
1134
1134
  },
1135
1135
  onOperations: async (e) => {
1136
1136
  U(d), C(c);
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;
1137
+ let t = i ? Xr(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 && je(x.view, t) ? Xr(r.content.value) : null), _ += e.length, D({ operationCount: _ })), n;
1139
1139
  },
1140
1140
  onApplied: (t) => {
1141
1141
  if (!E(u)) throw new DOMException("The template changed.", "AbortError");
1142
- if (!i && !e.reload) throw b ??= new Q(bn, 502, "ai_provider_error"), b;
1142
+ if (!i && !e.reload) throw b ??= new Q(xn, 502, "ai_provider_error"), b;
1143
1143
  x.serverApplied = !0, x.batchIds.add(t.batchId), _ += t.operationCount, D({ operationCount: _ }), oe(t.revision, u), w && (O(), k());
1144
1144
  }
1145
1145
  };
1146
1146
  try {
1147
1147
  try {
1148
- await pe(d), U(d), C(c), u.failure.value = null, u.failedPrompt.value = null, u.failedAttachments.value = [];
1148
+ await me(d), U(d), C(c), u.failure.value = null, u.failedPrompt.value = null, u.failedAttachments.value = [];
1149
1149
  let e = (/* @__PURE__ */ new Date()).toISOString();
1150
1150
  p.records.set(g, x), p.items = [
1151
1151
  ...p.items,
@@ -1198,8 +1198,8 @@ function ti(e) {
1198
1198
  };
1199
1199
  } catch (e) {
1200
1200
  let r = b ?? e;
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),
1201
+ y = f.signal.aborted || Zr(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: Qr(r),
1203
1203
  context: "turn"
1204
1204
  })), S = {
1205
1205
  messageId: null,
@@ -1209,7 +1209,7 @@ function ti(e) {
1209
1209
  }) : (D({
1210
1210
  status: y ? "done" : "failed",
1211
1211
  failure: y ? void 0 : {
1212
- error: Zr(r),
1212
+ error: Qr(r),
1213
1213
  context: "turn"
1214
1214
  }
1215
1215
  }), S = {
@@ -1225,7 +1225,7 @@ function ti(e) {
1225
1225
  if (r = _, x.serverApplied && !i && e.reload && E(u) && await G(d, !0).catch((e) => {
1226
1226
  E(u) && q(e);
1227
1227
  }), a && p.recoveries.has(m) && E(u)) {
1228
- await pe(d, !0, !0);
1228
+ await me(d, !0, !0);
1229
1229
  let e = p.recoveries.get(m);
1230
1230
  e && (S.messageId = e.item.id, S.text = e.item.text);
1231
1231
  }
@@ -1265,12 +1265,12 @@ function ti(e) {
1265
1265
  } catch (e) {
1266
1266
  if (!E(s)) return;
1267
1267
  q(e), se(s, t, { failure: {
1268
- error: Zr(e),
1268
+ error: Qr(e),
1269
1269
  context: n
1270
1270
  } });
1271
1271
  }
1272
1272
  if (!E(s)) return;
1273
- if (!e.applied) throw new Pe(e.message, {
1273
+ if (!e.applied) throw new Me(e.message, {
1274
1274
  code: e.code,
1275
1275
  opIndex: e.opIndex
1276
1276
  });
@@ -1281,35 +1281,35 @@ function ti(e) {
1281
1281
  failure: void 0
1282
1282
  }), i) oe(r.applied.revision, s);
1283
1283
  else if (e.reload) await G(c, !0);
1284
- else throw new Q(bn, 502, "ai_provider_error");
1284
+ else throw new Q(xn, 502, "ai_provider_error");
1285
1285
  return;
1286
1286
  }
1287
1287
  {
1288
1288
  if (u.undone !== (n === "redo")) return;
1289
1289
  let e = n === "undo" ? f?.inverse : f?.redo;
1290
1290
  if (!f || f.serverApplied || !e || e.length === 0) return;
1291
- if (i && e.some((e) => e.op === "setContent") && (!f.view || !Oe(f.view, N(r.content.value)))) throw new Pe(`The template changed since this message's changes, so ${n === "undo" ? "undoing" : "redoing"} them would overwrite that.`, { code: "precondition_failed" });
1291
+ if (i && e.some((e) => e.op === "setContent") && (!f.view || !je(f.view, N(r.content.value)))) throw new Me(`The template changed since this message's changes, so ${n === "undo" ? "undoing" : "redoing"} them would overwrite that.`, { code: "precondition_failed" });
1292
1292
  let a = ie(e, `${n}:${t}:${crypto.randomUUID()}`, s);
1293
- if (!a.applied) throw new Pe(a.message, {
1293
+ if (!a.applied) throw new Me(a.message, {
1294
1294
  code: a.code,
1295
1295
  opIndex: a.opIndex
1296
1296
  });
1297
- n === "undo" ? f.redo = a.inverse : f.inverse = a.inverse, i && (f.view = Yr(r.content.value));
1297
+ n === "undo" ? f.redo = a.inverse : f.inverse = a.inverse, i && (f.view = Xr(r.content.value));
1298
1298
  }
1299
1299
  se(s, t, {
1300
1300
  undone: n === "undo",
1301
1301
  failure: void 0
1302
1302
  });
1303
1303
  } catch (e) {
1304
- if (!E(s) || Xr(e)) return;
1304
+ if (!E(s) || Zr(e)) return;
1305
1305
  q(e), se(s, t, { failure: {
1306
- error: Zr(e),
1306
+ error: Qr(e),
1307
1307
  context: n
1308
1308
  } });
1309
1309
  }
1310
1310
  }, () => {});
1311
1311
  }
1312
- function fe(e, t) {
1312
+ function X(e, t) {
1313
1313
  let n = {
1314
1314
  id: e.id,
1315
1315
  role: e.role,
@@ -1317,7 +1317,7 @@ function ti(e) {
1317
1317
  locale: e.locale,
1318
1318
  text: e.text,
1319
1319
  attachments: e.attachments ?? [],
1320
- operationCount: Qr(e),
1320
+ operationCount: $r(e),
1321
1321
  undone: e.undone,
1322
1322
  canUndo: !1,
1323
1323
  canRedo: !1,
@@ -1329,10 +1329,10 @@ function ti(e) {
1329
1329
  ...ce(n, t)
1330
1330
  };
1331
1331
  }
1332
- function X(e, t) {
1332
+ function pe(e, t) {
1333
1333
  for (let n of e) t.storedIds.add(n.id);
1334
1334
  let n = new Map(t.items.map((e) => [e.id, e])), r = e.map((e) => {
1335
- let r = fe(e, t), i = n.get(r.id);
1335
+ let r = X(e, t), i = n.get(r.id);
1336
1336
  return i?.status === "failed" ? {
1337
1337
  ...r,
1338
1338
  status: i.status,
@@ -1344,7 +1344,7 @@ function ti(e) {
1344
1344
  if (s) {
1345
1345
  t.records.delete(i.id), t.records.set(s.id, a);
1346
1346
  let e = {
1347
- ...fe(s, t),
1347
+ ...X(s, t),
1348
1348
  status: i.status,
1349
1349
  failure: i.failure
1350
1350
  };
@@ -1356,7 +1356,7 @@ function ti(e) {
1356
1356
  }
1357
1357
  return r;
1358
1358
  }
1359
- async function pe(e, t = !1, n = !1, r = e.scope.historyGeneration) {
1359
+ async function me(e, t = !1, n = !1, r = e.scope.historyGeneration) {
1360
1360
  let { scope: i } = e;
1361
1361
  if (!E(i) || r !== i.historyGeneration || !n && e.controller.signal.aborted || !t && i.loaded) return;
1362
1362
  let o = i.memory;
@@ -1365,12 +1365,12 @@ function ti(e) {
1365
1365
  i.isLoadingHistory.value = !0, i.loaded = !1;
1366
1366
  try {
1367
1367
  await W(a.list(i.id).then((t) => {
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
+ !l && o.generation === i.generation && r === i.historyGeneration && (n || E(i) && !e.controller.signal.aborted) && (o.items = pe(t, o), i.messages.value = o.items, i.loaded = !0, i.failure.value?.context === "history" && (i.failure.value = null));
1369
1369
  }), n ? i.lifetime.signal : e.controller.signal);
1370
1370
  } catch (e) {
1371
- if (!E(i) || r !== i.historyGeneration || Xr(e)) return;
1371
+ if (!E(i) || r !== i.historyGeneration || Zr(e)) return;
1372
1372
  q(e), i.failure.value = {
1373
- error: Zr(e),
1373
+ error: Qr(e),
1374
1374
  context: "history"
1375
1375
  };
1376
1376
  } finally {
@@ -1378,7 +1378,7 @@ function ti(e) {
1378
1378
  }
1379
1379
  }
1380
1380
  }
1381
- function me(e = T()) {
1381
+ function he(e = T()) {
1382
1382
  if (!e || !E(e)) return Promise.resolve();
1383
1383
  if (e.pendingHistory?.generation === e.historyGeneration) return e.pendingHistory.promise;
1384
1384
  if (e.loaded) return Promise.resolve();
@@ -1386,11 +1386,11 @@ function ti(e) {
1386
1386
  generation: t,
1387
1387
  promise: Promise.resolve()
1388
1388
  };
1389
- return n.promise = V("history", e, (e) => pe(e, !1, !1, t), () => {}).finally(() => {
1389
+ return n.promise = V("history", e, (e) => me(e, !1, !1, t), () => {}).finally(() => {
1390
1390
  e.pendingHistory === n && (e.pendingHistory = null);
1391
1391
  }), e.pendingHistory = n, n.promise;
1392
1392
  }
1393
- function he() {
1393
+ function ge() {
1394
1394
  let e = T();
1395
1395
  return !e || a && typeof a.clear != "function" || e.active && e.active.kind !== "history" && e.active.kind !== "read" || e.queue.some((e) => e.kind !== "history" && e.kind !== "read") ? Promise.resolve() : (B(e), e.active?.controller.abort(), V("clear", e, async () => {
1396
1396
  try {
@@ -1399,37 +1399,37 @@ function ti(e) {
1399
1399
  } catch (t) {
1400
1400
  if (!E(e)) return;
1401
1401
  q(t), e.failure.value = {
1402
- error: Zr(t),
1402
+ error: Qr(t),
1403
1403
  context: "history"
1404
1404
  };
1405
1405
  }
1406
1406
  }, () => {}));
1407
1407
  }
1408
- function ge(e) {
1409
- E(e) && me(e);
1408
+ function _e(e) {
1409
+ E(e) && he(e);
1410
1410
  }
1411
- function _e(t) {
1411
+ function ve(t) {
1412
1412
  let n = T();
1413
- n && E(n) && (s.value !== t && n.busy.value && xe(), s.value = t, e.commentsOpen && (e.commentsOpen.value = !1), t === "chat" && ge(n));
1414
- }
1415
- function ve(e) {
1416
- e.length !== 0 && w("chatAttachments") && (z.value = [...e], _e("chat"));
1413
+ n && E(n) && (s.value !== t && n.busy.value && Se(), s.value = t, e.commentsOpen && (e.commentsOpen.value = !1), t === "chat" && _e(n));
1417
1414
  }
1418
1415
  function ye(e) {
1416
+ e.length !== 0 && w("chatAttachments") && (z.value = [...e], ve("chat"));
1417
+ }
1418
+ function be(e) {
1419
1419
  e.active?.controller.abort();
1420
1420
  for (let t of e.queue) t.kind !== "reconcile" && t.controller.abort();
1421
1421
  }
1422
- function be(e) {
1423
- e.lifetime.abort(), ye(e), e.busy.value = !1, e.isLoadingHistory.value = !1;
1422
+ function xe(e) {
1423
+ e.lifetime.abort(), be(e), e.busy.value = !1, e.isLoadingHistory.value = !1;
1424
1424
  for (let t of e.timers) clearTimeout(t);
1425
1425
  e.timers.clear();
1426
1426
  }
1427
- function xe() {
1427
+ function Se() {
1428
1428
  let e = T();
1429
- e && ye(e);
1429
+ e && be(e);
1430
1430
  }
1431
1431
  function Ce() {
1432
- xe(), s.value = null;
1432
+ Se(), s.value = null;
1433
1433
  }
1434
1434
  function Te() {
1435
1435
  if (l) return;
@@ -1456,15 +1456,15 @@ function ti(e) {
1456
1456
  e.committingReload = !1;
1457
1457
  return;
1458
1458
  }
1459
- e && be(e);
1459
+ e && xe(e);
1460
1460
  let t = g.value, n = t === null ? null : h(t);
1461
- _.value = n, n && s.value === "chat" && ge(n);
1461
+ _.value = n, n && s.value === "chat" && _e(n);
1462
1462
  }, { flush: "sync" }));
1463
- async function De(t, a) {
1463
+ async function Oe(t, a) {
1464
1464
  let s = b, c = T(), l = n.altText, u = new AbortController(), d = () => u.abort(a?.reason), f = () => u.abort();
1465
1465
  try {
1466
1466
  if (a?.throwIfAborted(), !c || typeof l != "function") throw new Q("This AI feature isn't available.", 403, "feature_unavailable");
1467
- let n = N(r.content.value), p = r.activeLocale?.value ?? null, m = Fe(n, p ?? Z(n)), h = Sn(m, t);
1467
+ let n = N(r.content.value), p = r.activeLocale?.value ?? null, m = we(n, p ?? Z(n)), h = Cn(m, t);
1468
1468
  if (!h) throw new Q("The image is no longer available.", 409, "block_missing");
1469
1469
  a?.addEventListener("abort", d, { once: !0 }), c.lifetime.signal.addEventListener("abort", f, { once: !0 });
1470
1470
  let { url: g, ..._ } = h, v = await W(l({
@@ -1484,13 +1484,13 @@ function ti(e) {
1484
1484
  a?.removeEventListener("abort", d), c?.lifetime.signal.removeEventListener("abort", f);
1485
1485
  }
1486
1486
  }
1487
- function Ae(e) {
1487
+ function ke(e) {
1488
1488
  let t = b, n = T();
1489
1489
  if (!n || e.length === 0) return Promise.resolve();
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
+ let i = r.activeLocale?.value ?? null, a = N(r.content.value), o = we(a, i ?? Z(a)), s = e.map(({ blockId: e, alt: t, decorative: n, expect: r }) => ({
1491
1491
  op: "updateBlock",
1492
1492
  blockId: e,
1493
- expect: { ...r ?? xn(o, e) ?? {
1493
+ expect: { ...r ?? Sn(o, e) ?? {
1494
1494
  src: null,
1495
1495
  alt: null,
1496
1496
  decorative: null
@@ -1507,7 +1507,7 @@ function ti(e) {
1507
1507
  for (let t = 0; t < s.length; t += 100) {
1508
1508
  U(e);
1509
1509
  let a = ae(s.slice(t, t + 100), r, n, i);
1510
- if (!a.applied) throw new Pe(a.message, {
1510
+ if (!a.applied) throw new Me(a.message, {
1511
1511
  code: a.code,
1512
1512
  opIndex: a.opIndex
1513
1513
  });
@@ -1520,12 +1520,12 @@ function ti(e) {
1520
1520
  return {
1521
1521
  capability: {
1522
1522
  isFeatureEnabled: (e) => v.value && w(e),
1523
- open: _e,
1524
- startImport: ve,
1523
+ open: ve,
1524
+ startImport: ye,
1525
1525
  highlightOf: (e) => _.value?.highlights.value.get(e) ?? null
1526
1526
  },
1527
1527
  panel: s,
1528
- open: _e,
1528
+ open: ve,
1529
1529
  close: Ce,
1530
1530
  has: w,
1531
1531
  templateId: g,
@@ -1547,7 +1547,7 @@ function ti(e) {
1547
1547
  failedPrompt: L,
1548
1548
  failedAttachments: R,
1549
1549
  importQueue: z,
1550
- startImport: ve,
1550
+ startImport: ye,
1551
1551
  isTemplateEmpty: k,
1552
1552
  send: (e, t = []) => {
1553
1553
  let r = n.chat;
@@ -1579,8 +1579,8 @@ function ti(e) {
1579
1579
  failed: !0
1580
1580
  });
1581
1581
  },
1582
- stop: xe,
1583
- newChat: he,
1582
+ stop: Se,
1583
+ newChat: ge,
1584
1584
  undoMessage: (e) => de(e, "undo"),
1585
1585
  redoMessage: (e) => de(e, "redo"),
1586
1586
  rewrite: (e, t, r) => {
@@ -1606,69 +1606,69 @@ function ti(e) {
1606
1606
  throw new DOMException("Rewrite stopped.", "AbortError");
1607
1607
  });
1608
1608
  },
1609
- draftAltText: De,
1610
- applyAltTexts: Ae,
1609
+ draftAltText: Oe,
1610
+ applyAltTexts: ke,
1611
1611
  destroy: () => {
1612
1612
  if (l) return;
1613
1613
  l = !0;
1614
1614
  let e = _.value;
1615
- e && be(e), _.value = null, x();
1615
+ e && xe(e), _.value = null, x();
1616
1616
  for (let e of Ee) e();
1617
1617
  Ee.length = 0;
1618
1618
  }
1619
1619
  };
1620
1620
  }
1621
1621
  // src/utils/aiMergeTags.ts
1622
- var ni = {
1622
+ var ri = {
1623
1623
  tags: 500,
1624
1624
  value: 200,
1625
1625
  label: 100,
1626
1626
  group: 100,
1627
1627
  description: 200
1628
1628
  };
1629
- function ri(e, t) {
1629
+ function ii(e, t) {
1630
1630
  let n = Array.from(e);
1631
1631
  return n.length > t ? n.slice(0, t).join("") : e;
1632
1632
  }
1633
- function ii(e) {
1634
- return je(e) ?? "custom";
1633
+ function ai(e) {
1634
+ return ce(e) ?? "custom";
1635
1635
  }
1636
- function ai(e, t) {
1636
+ function oi(e, t) {
1637
1637
  let n = [];
1638
1638
  for (let t of e) {
1639
- if (n.length === ni.tags) break;
1639
+ if (n.length === ri.tags) break;
1640
1640
  let e = typeof t?.value == "string" ? t.value : "";
1641
- if (e === "" || Array.from(e).length > ni.value) continue;
1641
+ if (e === "" || Array.from(e).length > ri.value) continue;
1642
1642
  let r = typeof t.label == "string" && t.label !== "" ? t.label : e;
1643
1643
  n.push({
1644
1644
  value: e,
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) } : {}
1645
+ label: ii(r, ri.label),
1646
+ ...typeof t.group == "string" && t.group !== "" ? { group: ii(t.group, ri.group) } : {},
1647
+ ...typeof t.description == "string" && t.description !== "" ? { description: ii(t.description, ri.description) } : {}
1648
1648
  });
1649
1649
  }
1650
1650
  return {
1651
- syntax: ii(t),
1651
+ syntax: ai(t),
1652
1652
  tags: n
1653
1653
  };
1654
1654
  }
1655
1655
  // src/composables/useMediaFeature.ts
1656
- function oi(e) {
1656
+ function si(e) {
1657
1657
  return e instanceof Error ? e : Error(String(e));
1658
1658
  }
1659
- function si(e, t, n) {
1659
+ function ci(e, t, n) {
1660
1660
  let r = e.maxFileSize ?? Infinity;
1661
1661
  if (t.size > r) return /* @__PURE__ */ Error(`Image is too large (${t.size} bytes). Maximum allowed is ${r} bytes.`);
1662
1662
  let i = e.mimeTypes;
1663
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"}.`);
1664
1664
  }
1665
- function ci(e) {
1665
+ function li(e) {
1666
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;
1667
1667
  function u(e) {
1668
1668
  a.value = !1, l?.(e), l = null;
1669
1669
  }
1670
1670
  function d(e) {
1671
- u(li(e));
1671
+ u(ui(e));
1672
1672
  }
1673
1673
  function f() {
1674
1674
  u(null);
@@ -1681,7 +1681,7 @@ function ci(e) {
1681
1681
  if (!t) return null;
1682
1682
  if (e?.files?.length) {
1683
1683
  if (typeof t.create != "function") return null;
1684
- let n = e.files[0], a = si(t, n, e.accept);
1684
+ let n = e.files[0], a = ci(t, n, e.accept);
1685
1685
  if (a) return i?.(a), null;
1686
1686
  let o = r?.();
1687
1687
  try {
@@ -1692,11 +1692,11 @@ function ci(e) {
1692
1692
  try {
1693
1693
  t.onCreated?.(e);
1694
1694
  } catch (e) {
1695
- i?.(oi(e));
1695
+ i?.(si(e));
1696
1696
  }
1697
- return li(e);
1697
+ return ui(e);
1698
1698
  } catch (e) {
1699
- return i?.(oi(e)), null;
1699
+ return i?.(si(e)), null;
1700
1700
  }
1701
1701
  }
1702
1702
  return l &&= (l(null), null), o.value = e?.accept, a.value = !0, new Promise((e) => {
@@ -1712,7 +1712,7 @@ function ci(e) {
1712
1712
  onError: i
1713
1713
  };
1714
1714
  }
1715
- function li(e) {
1715
+ function ui(e) {
1716
1716
  let t = re(e.width, e.height);
1717
1717
  return {
1718
1718
  url: e.url,
@@ -1724,7 +1724,7 @@ function li(e) {
1724
1724
  };
1725
1725
  }
1726
1726
  // src/composables/useSavedBlocksFeature.ts
1727
- function ui(e) {
1727
+ function di(e) {
1728
1728
  let { provider: n, editor: r } = e, i = ne({
1729
1729
  provider: n,
1730
1730
  onError: e.onError
@@ -1760,7 +1760,7 @@ function ui(e) {
1760
1760
  }
1761
1761
  function x(e, t) {
1762
1762
  for (let n = 0; n < e.content.length; n++) {
1763
- let i = ce(e.content[n]), a = t === void 0 ? void 0 : t + n;
1763
+ let i = ve(e.content[n]), a = t === void 0 ? void 0 : t + n;
1764
1764
  r.addBlock(i, void 0, void 0, a);
1765
1765
  }
1766
1766
  o.value = !1;
@@ -1805,11 +1805,11 @@ function ui(e) {
1805
1805
  };
1806
1806
  }
1807
1807
  // src/composables/useTemplatesFeature.ts
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(() => {
1808
+ var fi = 3e3;
1809
+ function pi(e) {
1810
+ let { provider: t, editor: n } = e, r = S("idle"), i = S(""), { start: a, stop: o } = Kn(() => {
1811
1811
  r.value = "idle";
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
+ }, fi, { 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(() => {
1813
1813
  let e = n.state.template;
1814
1814
  return e?.updatedAt ? {
1815
1815
  iso: e.updatedAt,
@@ -1873,7 +1873,7 @@ function fi(e) {
1873
1873
  let t = e.trim();
1874
1874
  t && t !== n.state.template?.name && (n.setName(t), w("rename"));
1875
1875
  }
1876
- return e.guardUnsavedChanges !== !1 && On(window, "beforeunload", (e) => {
1876
+ return e.guardUnsavedChanges !== !1 && kn(window, "beforeunload", (e) => {
1877
1877
  n.state.isDirty && (e.preventDefault(), e.returnValue = "");
1878
1878
  }), {
1879
1879
  save: g,
@@ -1907,15 +1907,15 @@ function fi(e) {
1907
1907
  };
1908
1908
  }
1909
1909
  // src/utils/toMjml.ts
1910
- async function pi() {
1910
+ async function mi() {
1911
1911
  try {
1912
1912
  return await import("@templatical/renderer");
1913
1913
  } catch {
1914
1914
  return null;
1915
1915
  }
1916
1916
  }
1917
- async function mi(e, t) {
1918
- let n = await pi();
1917
+ async function hi(e, t) {
1918
+ let n = await mi();
1919
1919
  if (!n) throw Error("[Templatical] toMjml() requires the @templatical/renderer package. Please install it.");
1920
1920
  let r = e.getCustomBlockStylesheet, i = e.getFonts?.(), a = e.getLayout?.();
1921
1921
  return n.renderToMjml(e.getContent(), {
@@ -1931,11 +1931,11 @@ async function mi(e, t) {
1931
1931
  });
1932
1932
  }
1933
1933
  // src/composables/useTestEmailFeature.ts
1934
- var hi = 1200;
1935
- function gi(e) {
1934
+ var gi = 1200;
1935
+ function _i(e) {
1936
1936
  return e instanceof Error ? e : Error(String(e));
1937
1937
  }
1938
- function _i(e) {
1938
+ function vi(e) {
1939
1939
  let { provider: t } = e, n = S(!1), r = S(!1), i = S(!1), a = S(null), o = null, s = !1;
1940
1940
  function c() {
1941
1941
  o !== null && (clearTimeout(o), o = null);
@@ -1957,8 +1957,8 @@ function _i(e) {
1957
1957
  if (t.includeMjml && e.renderMjml) try {
1958
1958
  return await e.renderMjml();
1959
1959
  } catch (t) {
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`."));
1960
+ if ((e.usesLocalRenderer?.() ?? !0) && await mi() === null) {
1961
+ s || (s = !0, An.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
1962
1962
  return;
1963
1963
  }
1964
1964
  throw t;
@@ -1968,7 +1968,7 @@ function _i(e) {
1968
1968
  try {
1969
1969
  t.onSent?.(n);
1970
1970
  } catch (t) {
1971
- e.onError?.(gi(t));
1971
+ e.onError?.(_i(t));
1972
1972
  }
1973
1973
  }
1974
1974
  async function g(n) {
@@ -1984,9 +1984,9 @@ function _i(e) {
1984
1984
  ...r === void 0 ? {} : { mjml: r },
1985
1985
  ...s === void 0 ? {} : { allowedRecipients: s }
1986
1986
  };
1987
- await t.send(a), i.value = !0, o = setTimeout(p, hi), h(a);
1987
+ await t.send(a), i.value = !0, o = setTimeout(p, gi), h(a);
1988
1988
  } catch (t) {
1989
- let n = gi(t);
1989
+ let n = _i(t);
1990
1990
  a.value = {
1991
1991
  kind: "provider",
1992
1992
  message: n.message
@@ -2014,7 +2014,7 @@ function _i(e) {
2014
2014
  };
2015
2015
  }
2016
2016
  // src/composables/useVersionHistoryFeature.ts
2017
- function vi(e) {
2017
+ function yi(e) {
2018
2018
  let { provider: t, editor: n, history: r, conditionPreview: i, autoSave: a } = e, o = e.collaboration ?? null, s = G({
2019
2019
  provider: t,
2020
2020
  getTemplateId: () => n.state.template?.id ?? null,
@@ -2041,7 +2041,7 @@ function vi(e) {
2041
2041
  return;
2042
2042
  }
2043
2043
  let t = await s.resolveContent(e);
2044
- f || (l.value = we(n.content.value), a?.pause(), o?.suspend(), c.value = e, n.setContent(t, !1));
2044
+ f || (l.value = De(n.content.value), a?.pause(), o?.suspend(), c.value = e, n.setContent(t, !1));
2045
2045
  }
2046
2046
  async function O() {
2047
2047
  c.value && (n.state.isDirty ? u.value = !0 : await M());
@@ -2125,11 +2125,11 @@ function vi(e) {
2125
2125
  };
2126
2126
  }
2127
2127
  // src/types/auto-save.ts
2128
- function yi(e, t) {
2128
+ function bi(e, t) {
2129
2129
  return e ?? t;
2130
2130
  }
2131
2131
  // src/utils/resolveInsertPosition.ts
2132
- function bi(e) {
2132
+ function xi(e) {
2133
2133
  let { blockType: t, selectedBlockId: n, findBlockLocation: r, isBlockLocked: i } = e;
2134
2134
  if (!n) return {};
2135
2135
  let a = r(n);
@@ -2146,8 +2146,8 @@ function bi(e) {
2146
2146
  };
2147
2147
  }
2148
2148
  // src/utils/insertBlockAtSelection.ts
2149
- function xi(e, t) {
2150
- let { targetSectionId: n, columnIndex: r, index: i } = bi({
2149
+ function Si(e, t) {
2150
+ let { targetSectionId: n, columnIndex: r, index: i } = xi({
2151
2151
  blockType: t.type,
2152
2152
  selectedBlockId: e.state.selectedBlockId,
2153
2153
  findBlockLocation: e.findBlockLocation,
@@ -2156,7 +2156,7 @@ function xi(e, t) {
2156
2156
  return e.addBlock(t, n, r, i), e.findBlockLocation(t.id) ? (e.selectBlock(t.id), !0) : !1;
2157
2157
  }
2158
2158
  // src/utils/withCollaborativeSave.ts
2159
- function Si(e, t, n) {
2159
+ function Ci(e, t, n) {
2160
2160
  let { save: r, create: i } = e;
2161
2161
  if (typeof r != "function") return e;
2162
2162
  let a = /* @__PURE__ */ new Map(), o = (e) => (a.set(e.id, e.name), e);
@@ -2172,27 +2172,27 @@ function Si(e, t, n) {
2172
2172
  };
2173
2173
  }
2174
2174
  // src/components/Canvas.vue?vue&type=script&setup=true&lang.ts
2175
- var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
2175
+ var wi = ["aria-label"], Ti = ["lang", "dir"], Ei = {
2176
2176
  key: 0,
2177
2177
  role: "status",
2178
2178
  "aria-busy": "true",
2179
2179
  "data-testid": "preview-resolution-loading",
2180
2180
  class: "tpl:flex tpl:flex-col tpl:gap-3 tpl:p-6"
2181
- }, Ei = { class: "tpl:sr-only" }, Di = {
2181
+ }, Di = { class: "tpl:sr-only" }, Oi = {
2182
2182
  key: 1,
2183
2183
  role: "status",
2184
2184
  "data-testid": "preview-resolution-failed",
2185
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)]"
2186
- }, Oi = {
2186
+ }, ki = {
2187
2187
  key: 0,
2188
2188
  class: "tpl-canvas-empty-content tpl:flex tpl:flex-col tpl:items-center"
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
+ }, Ai = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, ji = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, Mi = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, Ni = {
2190
2190
  key: 0,
2191
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)]"
2192
- }, Ni = {
2192
+ }, Pi = {
2193
2193
  key: 1,
2194
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)]"
2195
- }, Pi = { class: "tpl:relative" }, Fi = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2195
+ }, Fi = { class: "tpl:relative" }, Ii = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2196
2196
  __name: "Canvas",
2197
2197
  props: {
2198
2198
  viewport: {},
@@ -2204,25 +2204,25 @@ var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
2204
2204
  emits: ["select-block"],
2205
2205
  setup(e, { emit: t }) {
2206
2206
  let r = {
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({
2207
+ section: un,
2208
+ title: Xt,
2209
+ paragraph: an,
2210
+ image: Qt,
2211
+ button: mn,
2212
+ divider: pn,
2213
+ spacer: qt,
2214
+ html: Kt,
2215
+ social: sn,
2216
+ menu: $t,
2217
+ table: en,
2218
+ video: ln,
2219
+ custom: hn,
2220
+ wrapper: Fn
2221
+ }, i = e, u = t, { t: p } = $(), m = xt(St, "Canvas"), { displayBlock: _, settings: T } = Ue({
2222
2222
  content: y(() => i.content),
2223
2223
  activeLocale: y(() => i.previewMode ? null : m.activeLocale?.value ?? null)
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));
2224
+ }), E = xt(nt, "Canvas"), D = L(pt, null), k = L(dt, null), A = L(at, {}), j = L($e, null), N = L(Je, null);
2225
+ l(et, y(() => i.previewMode)), l(ft, y(() => i.previewMode && (j?.value ?? !1) && !N?.isConfigured)), l(ot, y(() => i.previewMode && (N?.isShowingResolved.value ?? !1)));
2226
2226
  let P = y(() => A.ai?.isFeatureEnabled("chat") ?? !1), I = y(() => P.value && (A.ai?.isFeatureEnabled("chatAttachments") ?? !1)), R = S(null);
2227
2227
  function z() {
2228
2228
  R.value?.click();
@@ -2234,9 +2234,9 @@ var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
2234
2234
  let V = L(tt, null), U = y({
2235
2235
  get: () => i.content.blocks,
2236
2236
  set: (e) => {
2237
- i.previewMode || sn(m, e);
2237
+ i.previewMode || cn(m, e);
2238
2238
  }
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
+ }), W = y(() => se(T.value, i.viewport)), G = y(() => W.value + 192), ee = y(() => It(T.value, E.resolveFontFamily)), K = y(() => T.value?.locale?.trim() || void 0), q = y(() => ge(T.value)), J = y(() => U.value.length === 0 && !i.previewMode), Y = S(0), te = y(() => J.value && Y.value > 0);
2240
2240
  function ne() {
2241
2241
  J.value && (Y.value += 1);
2242
2242
  }
@@ -2250,7 +2250,7 @@ var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
2250
2250
  i.previewMode || A.savedBlocks?.isPicking.value || e.target === e.currentTarget && u("select-block", null);
2251
2251
  }
2252
2252
  function ce(e) {
2253
- return tn(e, k, r);
2253
+ return nn(e, k, r);
2254
2254
  }
2255
2255
  function le(e) {
2256
2256
  return A.collaboration?.lockOf(e) != null;
@@ -2263,8 +2263,8 @@ var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
2263
2263
  function de(e) {
2264
2264
  return A.savedBlocks?.isPicked(e) ?? !1;
2265
2265
  }
2266
- let fe = y(() => A.savedBlocks?.isPicking.value === !0);
2267
- function X(e, t) {
2266
+ let X = y(() => A.savedBlocks?.isPicking.value === !0);
2267
+ function fe(e, t) {
2268
2268
  i.previewMode || e.type !== "custom" || m.updateBlock(e.id, {
2269
2269
  fieldValues: t.fieldValues,
2270
2270
  dataSourceFetched: t.dataSourceFetched
@@ -2293,7 +2293,7 @@ var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
2293
2293
  class: "tpl-canvas-wrapper tpl:relative",
2294
2294
  style: f({
2295
2295
  width: `${W.value}px`,
2296
- [b(Ut)]: `${W.value}px`,
2296
+ [b(Wt)]: `${W.value}px`,
2297
2297
  transition: b(ae)
2298
2298
  })
2299
2299
  }, [O("div", {
@@ -2305,11 +2305,11 @@ var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
2305
2305
  dir: q.value,
2306
2306
  style: f(ee.value),
2307
2307
  onClick: oe
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
+ }, [b(N)?.isInitialResolve.value ? (s(), C("div", Ei, [O("span", Di, a(b(p).previewResolution.resolving), 1), (s(), C(M, null, d(3, (e) => O("div", {
2309
2309
  key: e,
2310
2310
  "aria-hidden": "true",
2311
2311
  class: "tpl-pulse tpl:h-16 tpl:rounded-md tpl:bg-[var(--tpl-bg-hover)]"
2312
- })), 64))])) : b(N)?.hasFailed.value ? (s(), C("p", Di, a(b(p).previewResolution.failed), 1)) : x("", !0), g(v(b(Jt), {
2312
+ })), 64))])) : b(N)?.hasFailed.value ? (s(), C("p", Oi, a(b(p).previewResolution.failed), 1)) : x("", !0), g(v(b(Yt), {
2313
2313
  modelValue: U.value,
2314
2314
  "onUpdate:modelValue": r[1] ||= (e) => U.value = e,
2315
2315
  group: "blocks",
@@ -2328,40 +2328,40 @@ var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
2328
2328
  J.value && te.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
2329
2329
  J.value && !te.value ? "tpl:border-[var(--tpl-primary)]" : ""
2330
2330
  ]),
2331
- onUpdate: r[2] ||= (t) => !e.previewMode && b(sn)(b(m), U.value, void 0, 0, t),
2331
+ onUpdate: r[2] ||= (t) => !e.previewMode && b(cn)(b(m), U.value, void 0, 0, t),
2332
2332
  onDragenter: ne,
2333
2333
  onDragleave: re,
2334
2334
  onDrop: ie
2335
2335
  }, {
2336
- default: h(() => [J.value ? (s(), C("div", Oi, [
2337
- O("div", ki, [v(b(pr), {
2336
+ default: h(() => [J.value ? (s(), C("div", ki, [
2337
+ O("div", Ai, [v(b(mr), {
2338
2338
  size: 48,
2339
2339
  "stroke-width": 1
2340
2340
  })]),
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, [
2341
+ O("p", ji, a(b(p).canvas.noBlocks), 1),
2342
+ O("p", Mi, a(b(p).canvas.dragHint), 1),
2343
+ P.value ? (s(), C("p", Ni, [
2344
2344
  w(a(b(p).ai.canvas.chatHint) + " ", 1),
2345
2345
  O("button", {
2346
2346
  type: "button",
2347
2347
  "data-testid": "canvas-ai-chat",
2348
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)]",
2349
2349
  onClick: r[0] ||= (e) => b(A).ai?.open("chat")
2350
- }, [v(b(Nn), {
2350
+ }, [v(b(Pn), {
2351
2351
  size: 14,
2352
2352
  "stroke-width": 2,
2353
2353
  "aria-hidden": "true"
2354
2354
  }), w(" " + a(b(p).ai.menu.chat), 1)]),
2355
2355
  w(" " + a(b(p).ai.canvas.chatHintSuffix), 1)
2356
2356
  ])) : x("", !0),
2357
- I.value ? (s(), C("p", Ni, [
2357
+ I.value ? (s(), C("p", Pi, [
2358
2358
  w(a(b(p).ai.canvas.importHint) + " ", 1),
2359
2359
  O("button", {
2360
2360
  type: "button",
2361
2361
  "data-testid": "canvas-ai-import",
2362
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)]",
2363
2363
  onClick: z
2364
- }, [v(b(sr), {
2364
+ }, [v(b(cr), {
2365
2365
  size: 14,
2366
2366
  "stroke-width": 2,
2367
2367
  "aria-hidden": "true"
@@ -2379,15 +2379,15 @@ var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
2379
2379
  ])) : x("", !0), (s(!0), C(M, null, d(U.value, (t) => g((s(), C("div", {
2380
2380
  key: t.id,
2381
2381
  class: "tpl-block-item"
2382
- }, [O("div", Pi, [t.type === "wrapper" ? (s(), F(o(ce(t)), {
2382
+ }, [O("div", Fi, [t.type === "wrapper" ? (s(), F(o(ce(t)), {
2383
2383
  key: 0,
2384
2384
  block: t,
2385
2385
  viewport: e.viewport
2386
- }, null, 8, ["block", "viewport"])) : (s(), F(Xt, {
2386
+ }, null, 8, ["block", "viewport"])) : (s(), F(Zt, {
2387
2387
  key: 1,
2388
2388
  block: t,
2389
2389
  "display-block": b(_)(t),
2390
- "is-selected": !e.previewMode && !fe.value && e.selectedBlockId === t.id && !le(t.id),
2390
+ "is-selected": !e.previewMode && !X.value && e.selectedBlockId === t.id && !le(t.id),
2391
2391
  picked: de(t.id),
2392
2392
  viewport: e.viewport,
2393
2393
  "preview-mode": e.previewMode,
@@ -2395,7 +2395,7 @@ var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
2395
2395
  }, {
2396
2396
  default: h(() => [(s(), F(o(ce(t)), n({ block: b(_)(t) }, { ref_for: !0 }, t.type === "section" ? { sourceBlock: t } : {}, {
2397
2397
  viewport: e.viewport,
2398
- onFetchData: (e) => X(t, e),
2398
+ onFetchData: (e) => fe(t, e),
2399
2399
  onUpdate: (n) => !e.previewMode && b(m).updateBlock(t.id, n)
2400
2400
  }), null, 16, [
2401
2401
  "block",
@@ -2418,12 +2418,12 @@ var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
2418
2418
  "modelValue",
2419
2419
  "disabled",
2420
2420
  "class"
2421
- ]), [[H, !b(N)?.isInitialResolve.value]])], 14, wi)], 12, Ci)], 4));
2421
+ ]), [[H, !b(N)?.isInitialResolve.value]])], 14, Ti)], 12, wi)], 4));
2422
2422
  }
2423
- }), [["__scopeId", "data-v-03a9d286"]]), Ii = R({
2423
+ }), [["__scopeId", "data-v-f91fe466"]]), Li = R({
2424
2424
  name: "CustomBlockStylesheets",
2425
2425
  setup() {
2426
- let e = L(ct, null);
2426
+ let e = L(st, null);
2427
2427
  return () => e ? e.value.map((e, t) => m("style", {
2428
2428
  key: t,
2429
2429
  "data-tpl-custom-block-stylesheet": "",
@@ -2432,7 +2432,7 @@ var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
2432
2432
  }
2433
2433
  });
2434
2434
  // src/utils/resolvePaletteBlocks.ts
2435
- function Li(e, t) {
2435
+ function Ri(e, t) {
2436
2436
  if (!t || t.length === 0) return {
2437
2437
  items: e,
2438
2438
  unknown: []
@@ -2450,24 +2450,24 @@ function Li(e, t) {
2450
2450
  };
2451
2451
  }
2452
2452
  // src/components/Sidebar.vue?vue&type=script&setup=true&lang.ts
2453
- var Ri = ["aria-label"], zi = {
2453
+ var zi = ["aria-label"], Bi = {
2454
2454
  key: 0,
2455
2455
  class: "tpl:border-b tpl:px-1 tpl:pb-1 tpl:border-[var(--tpl-border)]"
2456
- }, Bi = ["aria-label"], Vi = {
2456
+ }, Vi = ["aria-label"], Hi = {
2457
2457
  key: 0,
2458
2458
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
2459
- }, Hi = [
2459
+ }, Ui = [
2460
2460
  "data-palette-type",
2461
2461
  "aria-label",
2462
2462
  "onClick",
2463
2463
  "onKeydown"
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
+ ], Wi = { 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" }, Gi = {
2465
2465
  key: 0,
2466
2466
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
2467
- }, Gi = 4, Ki = /* @__PURE__ */ R({
2467
+ }, Ki = 4, qi = /* @__PURE__ */ R({
2468
2468
  __name: "Sidebar",
2469
2469
  setup(e) {
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
+ let { t: n, format: r } = $(), i = L(ct, []), c = L(Ye, void 0), l = L(rt, void 0), u = L(St, null), p = On(), m = L(at, {}), g = y(() => m.savedBlocks?.isAvailable.value === !0), w = S(!1), T = S(!1), E = S(null), D = !1, k = 0;
2471
2471
  _(() => {
2472
2472
  window.clearTimeout(k);
2473
2473
  });
@@ -2508,7 +2508,7 @@ var Ri = ["aria-label"], zi = {
2508
2508
  }
2509
2509
  let V = [
2510
2510
  "section",
2511
- nn,
2511
+ rn,
2512
2512
  "image",
2513
2513
  "title",
2514
2514
  "paragraph",
@@ -2534,21 +2534,21 @@ var Ri = ["aria-label"], zi = {
2534
2534
  label: e.name,
2535
2535
  isCustom: !0,
2536
2536
  icon: e.icon
2537
- }))), W = y(() => [...H.value, ...U.value]), G = y(() => Li(W.value, c)), ee = y(() => G.value.items), K = /* @__PURE__ */ new Set();
2537
+ }))), W = y(() => [...H.value, ...U.value]), G = y(() => Ri(W.value, c)), ee = y(() => G.value.items), K = /* @__PURE__ */ new Set();
2538
2538
  t(() => G.value.unknown, (e) => {
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
+ for (let t of e) K.has(t) || (K.add(t), An.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.`));
2540
2540
  }, { immediate: !0 });
2541
2541
  function q(e) {
2542
2542
  if (e.isCustom) {
2543
2543
  let t = e.type.replace("custom:", ""), n = i.find((e) => e.type === t);
2544
- if (n) return me(n);
2544
+ if (n) return Re(n);
2545
2545
  }
2546
- return e.type === "hero" ? dn(l?.value, n.blockDefaults.paragraph) : _e(e.type, l?.value);
2546
+ return e.type === "hero" ? fn(l?.value, n.blockDefaults.paragraph) : me(e.type, l?.value);
2547
2547
  }
2548
2548
  function J(e) {
2549
2549
  if (!u) return;
2550
2550
  let t = q(e);
2551
- xi(u, t) && p(t.id);
2551
+ Si(u, t) && p(t.id);
2552
2552
  }
2553
2553
  function Y(e) {
2554
2554
  D || J(e);
@@ -2572,17 +2572,17 @@ var Ri = ["aria-label"], zi = {
2572
2572
  onMouseleave: j,
2573
2573
  onFocusin: t[2] ||= (e) => w.value = !0,
2574
2574
  onFocusout: R
2575
- }, [g.value ? (s(), C("div", zi, [O("button", {
2575
+ }, [g.value ? (s(), C("div", Bi, [O("button", {
2576
2576
  type: "button",
2577
2577
  "aria-label": b(n).sidebarNav.browseSavedBlocks,
2578
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)]",
2579
2579
  style: f({ justifyContent: w.value ? "flex-start" : "center" }),
2580
2580
  onClick: t[0] ||= (e) => b(m).savedBlocks?.openBrowser()
2581
- }, [v(b(Fn), {
2581
+ }, [v(b(In), {
2582
2582
  size: 20,
2583
2583
  "stroke-width": 1.5,
2584
2584
  class: "tpl:shrink-0"
2585
- }), w.value ? (s(), C("span", Vi, a(b(n).savedBlocks.title), 1)) : x("", !0)], 12, Bi)])) : x("", !0), v(b(Jt), {
2585
+ }), w.value ? (s(), C("span", Hi, a(b(n).savedBlocks.title), 1)) : x("", !0)], 12, Vi)])) : x("", !0), v(b(Yt), {
2586
2586
  "model-value": ee.value,
2587
2587
  group: {
2588
2588
  name: "blocks",
@@ -2593,7 +2593,7 @@ var Ri = ["aria-label"], zi = {
2593
2593
  sort: !1,
2594
2594
  animation: 150,
2595
2595
  "force-fallback": !0,
2596
- "fallback-tolerance": Gi,
2596
+ "fallback-tolerance": Ki,
2597
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",
2598
2598
  onChoose: N,
2599
2599
  onStart: I,
@@ -2609,58 +2609,58 @@ var Ri = ["aria-label"], zi = {
2609
2609
  style: f({ justifyContent: w.value ? "flex-start" : "center" }),
2610
2610
  onClick: (t) => Y(e),
2611
2611
  onKeydown: (t) => te(t, e)
2612
- }, [O("div", Ui, [b(In)[e.type] ? (s(), F(o(b(In)[e.type]), {
2612
+ }, [O("div", Wi, [b(Ln)[e.type] ? (s(), F(o(b(Ln)[e.type]), {
2613
2613
  key: 0,
2614
2614
  size: 20,
2615
2615
  "stroke-width": 1.5
2616
- })) : e.isCustom ? (s(), F(qt, {
2616
+ })) : e.isCustom ? (s(), F(Jt, {
2617
2617
  key: 1,
2618
2618
  icon: e.icon,
2619
2619
  size: 20
2620
- }, null, 8, ["icon"])) : x("", !0)]), w.value ? (s(), C("span", Wi, a(e.label), 1)) : x("", !0)], 44, Hi))), 128))]),
2620
+ }, null, 8, ["icon"])) : x("", !0)]), w.value ? (s(), C("span", Gi, a(e.label), 1)) : x("", !0)], 44, Ui))), 128))]),
2621
2621
  _: 1
2622
- }, 8, ["model-value"])], 44, Ri));
2622
+ }, 8, ["model-value"])], 44, zi));
2623
2623
  }
2624
- }), qi = ["aria-label"], Ji = {
2624
+ }), Ji = ["aria-label"], Yi = {
2625
2625
  role: "tablist",
2626
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"
2627
- }, Yi = [
2627
+ }, Xi = [
2628
2628
  "aria-selected",
2629
2629
  "aria-label",
2630
2630
  "title"
2631
- ], Xi = { key: 0 }, Zi = [
2631
+ ], Zi = { key: 0 }, Qi = [
2632
2632
  "aria-selected",
2633
2633
  "aria-label",
2634
2634
  "title"
2635
- ], Qi = { key: 0 }, $i = [
2635
+ ], $i = { key: 0 }, ea = [
2636
2636
  "aria-selected",
2637
2637
  "aria-label",
2638
2638
  "title"
2639
- ], ea = { key: 0 }, ta = {
2639
+ ], ta = { key: 0 }, na = {
2640
2640
  key: 1,
2641
2641
  class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
2642
- }, na = {
2642
+ }, ra = {
2643
2643
  key: 0,
2644
2644
  id: "tpl-tabpanel-content",
2645
2645
  role: "tabpanel",
2646
2646
  "aria-labelledby": "tpl-tab-content",
2647
2647
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2648
- }, ra = {
2648
+ }, ia = {
2649
2649
  key: 1,
2650
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)]"
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
+ }, aa = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, oa = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, sa = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, ca = {
2652
2652
  key: 1,
2653
2653
  id: "tpl-tabpanel-settings",
2654
2654
  role: "tabpanel",
2655
2655
  "aria-labelledby": "tpl-tab-settings",
2656
2656
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2657
- }, ca = {
2657
+ }, la = {
2658
2658
  key: 2,
2659
2659
  id: "tpl-tabpanel-issues",
2660
2660
  role: "tabpanel",
2661
2661
  "aria-labelledby": "tpl-tab-issues",
2662
2662
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2663
- }, la = /* @__PURE__ */ R({
2663
+ }, ua = /* @__PURE__ */ R({
2664
2664
  __name: "RightSidebar",
2665
2665
  props: /*@__PURE__*/ r({
2666
2666
  selectedBlock: {},
@@ -2677,7 +2677,7 @@ var Ri = ["aria-label"], zi = {
2677
2677
  "update-settings"
2678
2678
  ], ["update:tab"]),
2679
2679
  setup(e, { emit: n }) {
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
+ let r = I(() => import("./Toolbar-KhPpWyX1.js").then((e) => e.t)), i = I(() => import("./TemplateSettings-BJ4a8RBr.js")), o = I(() => import("./IssuesPanel-cPKhimE9.js")), l = e, u = n, { t: d } = $(), m = p(e, "tab"), h = L(ht, null), g = y(() => h !== null && !h.unavailable.value), _ = y(() => h?.issues.value.length ?? 0), S = L(_t, new Set(Rn)), w = y(() => S.size > 0);
2681
2681
  function T(e) {
2682
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)]";
2683
2683
  }
@@ -2695,7 +2695,7 @@ var Ri = ["aria-label"], zi = {
2695
2695
  "aria-label": b(d).landmarks.rightSidebar,
2696
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"])
2697
2697
  }, [
2698
- O("div", Ji, [
2698
+ O("div", Yi, [
2699
2699
  O("button", {
2700
2700
  id: "tpl-tab-content",
2701
2701
  role: "tab",
@@ -2706,10 +2706,10 @@ var Ri = ["aria-label"], zi = {
2706
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")]),
2707
2707
  style: f(E("content")),
2708
2708
  onClick: n[0] ||= (e) => m.value = "content"
2709
- }, [v(b(ur), {
2709
+ }, [v(b(dr), {
2710
2710
  size: 14,
2711
2711
  "stroke-width": 2
2712
- }), m.value === "content" ? (s(), C("span", Xi, a(b(d).sidebar.content), 1)) : x("", !0)], 14, Yi),
2712
+ }), m.value === "content" ? (s(), C("span", Zi, a(b(d).sidebar.content), 1)) : x("", !0)], 14, Xi),
2713
2713
  w.value ? (s(), C("button", {
2714
2714
  key: 0,
2715
2715
  id: "tpl-tab-settings",
@@ -2721,10 +2721,10 @@ var Ri = ["aria-label"], zi = {
2721
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")]),
2722
2722
  style: f(E("settings")),
2723
2723
  onClick: n[1] ||= (e) => m.value = "settings"
2724
- }, [v(b(fr), {
2724
+ }, [v(b(pr), {
2725
2725
  size: 14,
2726
2726
  "stroke-width": 1.5
2727
- }), m.value === "settings" ? (s(), C("span", Qi, a(b(d).sidebar.settings), 1)) : x("", !0)], 14, Zi)) : x("", !0),
2727
+ }), m.value === "settings" ? (s(), C("span", $i, a(b(d).sidebar.settings), 1)) : x("", !0)], 14, Qi)) : x("", !0),
2728
2728
  g.value ? (s(), C("button", {
2729
2729
  key: 1,
2730
2730
  id: "tpl-tab-issues",
@@ -2737,69 +2737,69 @@ var Ri = ["aria-label"], zi = {
2737
2737
  style: f(E("issues")),
2738
2738
  onClick: n[2] ||= (e) => m.value = "issues"
2739
2739
  }, [
2740
- v(b(Tn), {
2740
+ v(b(En), {
2741
2741
  size: 14,
2742
2742
  "stroke-width": 1.5
2743
2743
  }),
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)
2744
+ m.value === "issues" ? (s(), C("span", ta, a(b(d).issues.panelTabLabel), 1)) : x("", !0),
2745
+ _.value > 0 ? (s(), C("span", na, a(_.value), 1)) : x("", !0)
2746
+ ], 14, ea)) : x("", !0)
2747
2747
  ]),
2748
- m.value === "content" ? (s(), C("div", na, [e.selectedBlock ? (s(), F(b(r), {
2748
+ m.value === "content" ? (s(), C("div", ra, [e.selectedBlock ? (s(), F(b(r), {
2749
2749
  key: 0,
2750
2750
  block: e.selectedBlock,
2751
2751
  onUpdate: n[3] ||= (e) => u("update-block", e),
2752
2752
  onDelete: n[4] ||= (e) => u("delete-block"),
2753
2753
  onDuplicate: n[5] ||= (e) => u("duplicate-block")
2754
- }, null, 8, ["block"])) : (s(), C("div", ra, [
2755
- O("div", ia, [v(b(cr), {
2754
+ }, null, 8, ["block"])) : (s(), C("div", ia, [
2755
+ O("div", aa, [v(b(lr), {
2756
2756
  size: 40,
2757
2757
  "stroke-width": 1.5
2758
2758
  })]),
2759
- O("h3", aa, a(b(d).sidebar.noSelection), 1),
2760
- O("p", oa, a(b(d).sidebar.noSelectionHint), 1)
2759
+ O("h3", oa, a(b(d).sidebar.noSelection), 1),
2760
+ O("p", sa, a(b(d).sidebar.noSelectionHint), 1)
2761
2761
  ]))])) : x("", !0),
2762
- m.value === "settings" && w.value ? (s(), C("div", sa, [v(b(i), {
2762
+ m.value === "settings" && w.value ? (s(), C("div", ca, [v(b(i), {
2763
2763
  settings: e.settings,
2764
2764
  onUpdate: n[6] ||= (e) => u("update-settings", e)
2765
2765
  }, null, 8, ["settings"])])) : x("", !0),
2766
- m.value === "issues" && g.value ? (s(), C("div", ca, [v(b(o))])) : x("", !0)
2767
- ], 10, qi));
2766
+ m.value === "issues" && g.value ? (s(), C("div", la, [v(b(o))])) : x("", !0)
2767
+ ], 10, Ji));
2768
2768
  }
2769
- }), ua = {
2769
+ }), da = {
2770
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)]",
2771
2771
  style: { "z-index": "10001" },
2772
2772
  role: "status",
2773
2773
  "data-testid": "small-screen-notice"
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
+ }, fa = { class: "tpl:text-[var(--tpl-text-dim)]" }, pa = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ma = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, ha = /* @__PURE__ */ R({
2775
2775
  __name: "SmallScreenNotice",
2776
2776
  setup(e) {
2777
2777
  let { t } = $();
2778
- return (e, n) => (s(), C("div", ua, [
2779
- O("div", da, [v(b(Rn), {
2778
+ return (e, n) => (s(), C("div", da, [
2779
+ O("div", fa, [v(b(zn), {
2780
2780
  size: 48,
2781
2781
  "stroke-width": 1.5
2782
2782
  })]),
2783
- O("h2", fa, a(b(t).smallScreen.title), 1),
2784
- O("p", pa, a(b(t).smallScreen.message), 1)
2783
+ O("h2", pa, a(b(t).smallScreen.title), 1),
2784
+ O("p", ma, a(b(t).smallScreen.message), 1)
2785
2785
  ]));
2786
2786
  }
2787
- }), ha = {
2787
+ }), ga = {
2788
2788
  class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
2789
2789
  style: {
2790
2790
  "background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
2791
2791
  "backdrop-filter": "blur(8px)",
2792
2792
  "-webkit-backdrop-filter": "blur(8px)"
2793
2793
  }
2794
- }, ga = /* @__PURE__ */ R({
2794
+ }, _a = /* @__PURE__ */ R({
2795
2795
  __name: "EditorFooter",
2796
2796
  props: { positionClass: {} },
2797
2797
  setup(e) {
2798
2798
  let { t } = $();
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
+ 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", ga, [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));
2800
2800
  }
2801
- }), _a = (e) => Number.parseFloat(e) || 0;
2802
- function va(e) {
2801
+ }), va = (e) => Number.parseFloat(e) || 0;
2802
+ function ya(e) {
2803
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;
2804
2804
  return {
2805
2805
  compact: i,
@@ -2807,13 +2807,13 @@ function va(e) {
2807
2807
  statusLabel: !i && e.availableWidth >= t(e.rightWidth)
2808
2808
  };
2809
2809
  }
2810
- function ya(e) {
2810
+ function ba(e) {
2811
2811
  let t = e.cloneNode(!1);
2812
2812
  if (e instanceof Element && e.classList.contains("tpl-header-actions")) return t;
2813
- for (let n of e.childNodes) t.appendChild(ya(n));
2813
+ for (let n of e.childNodes) t.appendChild(ba(n));
2814
2814
  return t;
2815
2815
  }
2816
- function ba(t, n, r) {
2816
+ function xa(t, n, r) {
2817
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
2818
  function v() {
2819
2819
  return _.some((e) => {
@@ -2845,7 +2845,7 @@ function ba(t, n, r) {
2845
2845
  let h = c.ownerDocument.createElement("div");
2846
2846
  for (let e of c.attributes) e.name.startsWith("data-") || h.setAttribute(e.name, e.value);
2847
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));
2848
+ for (let e of c.childNodes) e !== m && h.appendChild(ba(e));
2849
2849
  let g = h.querySelector("slot[name=\"tpl-header-actions\"], .tpl-header-actions");
2850
2850
  if (g) {
2851
2851
  if (r?.isConnected) {
@@ -2880,19 +2880,19 @@ function ba(t, n, r) {
2880
2880
  }
2881
2881
  t.value.appendChild(h);
2882
2882
  try {
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 = {
2883
+ let t = getComputedStyle(h), n = _.map((e) => e.getBoundingClientRect().width), r = h.querySelector(".tpl-status-label"), c = r ? r.getBoundingClientRect().width + va(getComputedStyle(r.parentElement).columnGap) : 0, l = {
2884
2884
  availableWidth: e,
2885
2885
  leftWidth: n[0],
2886
2886
  centerWidth: n[1],
2887
2887
  rightWidth: n[2],
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({
2888
+ paddingWidth: va(t.paddingLeft || t.paddingInline) + va(t.paddingRight || t.paddingInline),
2889
+ columnGap: va(t.columnGap),
2890
+ borderWidth: va(t.borderLeftWidth) + va(t.borderRightWidth)
2891
+ }, u = ya({
2892
2892
  ...l,
2893
2893
  statusLabelWidth: c
2894
2894
  });
2895
- a.value = u.fullWidth, i.value = u.compact, o.value = u.statusLabel, s = va(l).fullWidth, f = !1;
2895
+ a.value = u.fullWidth, i.value = u.compact, o.value = u.statusLabel, s = ya(l).fullWidth, f = !1;
2896
2896
  } finally {
2897
2897
  h.remove();
2898
2898
  }
@@ -2965,11 +2965,11 @@ function ba(t, n, r) {
2965
2965
  };
2966
2966
  }
2967
2967
  // src/components/DarkModeToggle.vue?vue&type=script&setup=true&lang.ts
2968
- var xa = [
2968
+ var Sa = [
2969
2969
  "aria-label",
2970
2970
  "title",
2971
2971
  "aria-pressed"
2972
- ], Sa = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2972
+ ], Ca = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2973
2973
  __name: "DarkModeToggle",
2974
2974
  props: { darkMode: { type: Boolean } },
2975
2975
  emits: ["change"],
@@ -2992,23 +2992,23 @@ var xa = [
2992
2992
  "leave-to-class": "tpl-icon-leave-to",
2993
2993
  mode: "out-in"
2994
2994
  }, {
2995
- default: h(() => [e.darkMode ? (s(), F(b(lr), {
2995
+ default: h(() => [e.darkMode ? (s(), F(b(ur), {
2996
2996
  key: "moon",
2997
2997
  size: 18,
2998
2998
  "stroke-width": 1.5
2999
- })) : (s(), F(b(mr), {
2999
+ })) : (s(), F(b(hr), {
3000
3000
  key: "sun",
3001
3001
  size: 18,
3002
3002
  "stroke-width": 1.5
3003
3003
  }))]),
3004
3004
  _: 1
3005
- })], 12, xa));
3005
+ })], 12, Sa));
3006
3006
  }
3007
- }), [["__scopeId", "data-v-632aa74f"]]), Ca = [
3007
+ }), [["__scopeId", "data-v-632aa74f"]]), wa = [
3008
3008
  "aria-label",
3009
3009
  "title",
3010
3010
  "aria-pressed"
3011
- ], wa = /*#__PURE__*/ ze(/* @__PURE__ */ R({
3011
+ ], Ta = /*#__PURE__*/ ze(/* @__PURE__ */ R({
3012
3012
  __name: "PreviewToggle",
3013
3013
  props: { previewMode: { type: Boolean } },
3014
3014
  emits: ["change"],
@@ -3031,19 +3031,19 @@ var xa = [
3031
3031
  "leave-to-class": "tpl-icon-leave-to",
3032
3032
  mode: "out-in"
3033
3033
  }, {
3034
- default: h(() => [e.previewMode ? (s(), F(b(Wn), {
3034
+ default: h(() => [e.previewMode ? (s(), F(b(Gn), {
3035
3035
  key: "eye",
3036
3036
  size: 18,
3037
3037
  "stroke-width": 1.5
3038
- })) : (s(), F(b(Lt), {
3038
+ })) : (s(), F(b(Rt), {
3039
3039
  key: "eye-off",
3040
3040
  size: 18,
3041
3041
  "stroke-width": 1.5
3042
3042
  }))]),
3043
3043
  _: 1
3044
- })], 12, Ca));
3044
+ })], 12, wa));
3045
3045
  }
3046
- }), [["__scopeId", "data-v-eef7b2ca"]]), Ta = ["aria-label", "onKeydown"], Ea = ["title", "aria-label"], Da = /* @__PURE__ */ R({
3046
+ }), [["__scopeId", "data-v-eef7b2ca"]]), Ea = ["aria-label", "onKeydown"], Da = ["title", "aria-label"], Oa = /* @__PURE__ */ R({
3047
3047
  __name: "TemplateNameField",
3048
3048
  props: {
3049
3049
  name: {},
@@ -3072,10 +3072,10 @@ var xa = [
3072
3072
  type: "text",
3073
3073
  "data-testid": "template-name-input",
3074
3074
  "aria-label": b(i).header.templateName,
3075
- class: c([b(kt), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
3075
+ class: c([b(At), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
3076
3076
  onKeydown: [U(B(p, ["prevent"]), ["enter"]), U(B(m, ["prevent"]), ["esc"])],
3077
3077
  onBlur: p
3078
- }, null, 42, Ta)), [[z, l.value]]) : e.editable ? (s(), C("button", {
3078
+ }, null, 42, Ea)), [[z, l.value]]) : e.editable ? (s(), C("button", {
3079
3079
  key: 1,
3080
3080
  type: "button",
3081
3081
  "data-testid": "template-name",
@@ -3083,49 +3083,49 @@ var xa = [
3083
3083
  "aria-label": b(i).header.rename,
3084
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 }]),
3085
3085
  onClick: f
3086
- }, a(e.name || b(i).header.untitled), 11, Ea)) : (s(), C("span", {
3086
+ }, a(e.name || b(i).header.untitled), 11, Da)) : (s(), C("span", {
3087
3087
  key: 2,
3088
3088
  "data-testid": "template-name",
3089
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 }])
3090
3090
  }, a(e.name || b(i).header.untitled), 3));
3091
3091
  }
3092
- }), Oa = ["title"], ka = /* @__PURE__ */ R({
3092
+ }), ka = ["title"], Aa = /* @__PURE__ */ R({
3093
3093
  __name: "TemplateTimestamp",
3094
3094
  props: {
3095
3095
  iso: {},
3096
3096
  kind: {}
3097
3097
  },
3098
3098
  setup(e) {
3099
- let t = e, { t: n, format: r } = $(), i = L(gt, void 0), o = S(0);
3100
- qn(() => {
3099
+ let t = e, { t: n, format: r } = $(), i = L(vt, void 0), o = S(0);
3100
+ Jn(() => {
3101
3101
  o.value += 1;
3102
3102
  }, 6e4);
3103
3103
  let c = y(() => {
3104
3104
  o.value;
3105
- let e = Yn(t.iso, n.time, r);
3105
+ let e = Xn(t.iso, n.time, r);
3106
3106
  if (e === null) return "";
3107
3107
  let i = e === n.time.justNow;
3108
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 });
3109
- }), l = y(() => Jn(t.iso, i));
3109
+ }), l = y(() => Yn(t.iso, i));
3110
3110
  return (e, t) => c.value ? (s(), C("span", {
3111
3111
  key: 0,
3112
3112
  "data-testid": "template-timestamp",
3113
3113
  title: l.value,
3114
3114
  class: "tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:text-xs tpl:leading-tight tpl:text-[var(--tpl-text-dim)]"
3115
- }, a(c.value), 9, Oa)) : x("", !0);
3115
+ }, a(c.value), 9, ka)) : x("", !0);
3116
3116
  }
3117
- }), Aa = [
3117
+ }), ja = [
3118
3118
  "aria-live",
3119
3119
  "data-testid",
3120
3120
  "title",
3121
3121
  "data-tooltip"
3122
- ], ja = {
3122
+ ], Ma = {
3123
3123
  key: 2,
3124
3124
  class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]"
3125
- }, Ma = {
3125
+ }, Na = {
3126
3126
  key: 0,
3127
3127
  class: "tpl-status-label"
3128
- }, Na = /* @__PURE__ */ R({
3128
+ }, Pa = /* @__PURE__ */ R({
3129
3129
  __name: "TemplateSaveStatus",
3130
3130
  props: {
3131
3131
  status: {},
@@ -3147,21 +3147,21 @@ var xa = [
3147
3147
  }, [O("span", {
3148
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" }]),
3149
3149
  "aria-hidden": "true"
3150
- }, [r.value === "error" ? (s(), F(b(Zn), {
3150
+ }, [r.value === "error" ? (s(), F(b(Qn), {
3151
3151
  key: 0,
3152
3152
  size: 12,
3153
3153
  "stroke-width": 2.5
3154
- })) : r.value === "saved" ? (s(), F(b(Xn), {
3154
+ })) : r.value === "saved" ? (s(), F(b(Zn), {
3155
3155
  key: 1,
3156
3156
  size: 12,
3157
3157
  "stroke-width": 2.5
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));
3158
+ })) : r.value === "unsaved" ? (s(), C("span", Ma)) : x("", !0)], 2), r.value === "none" ? x("", !0) : (s(), C("span", Na, a(o.value), 1))], 10, ja));
3159
3159
  }
3160
- }), Pa = [
3160
+ }), Fa = [
3161
3161
  "aria-pressed",
3162
3162
  "aria-label",
3163
3163
  "title"
3164
- ], Fa = { class: "tpl-header-label" }, Ia = /* @__PURE__ */ R({
3164
+ ], Ia = { class: "tpl-header-label" }, La = /* @__PURE__ */ R({
3165
3165
  __name: "AiHeaderMenu",
3166
3166
  props: { feature: {} },
3167
3167
  setup(e) {
@@ -3176,39 +3176,39 @@ var xa = [
3176
3176
  "aria-pressed": r.value,
3177
3177
  "aria-label": b(n).ai.menu.chat,
3178
3178
  title: b(n).ai.menu.chat,
3179
- class: c(b(jt)),
3179
+ class: c(b(Mt)),
3180
3180
  style: f(r.value ? {
3181
3181
  backgroundColor: "var(--tpl-primary-light)",
3182
3182
  borderColor: "var(--tpl-primary-light)"
3183
3183
  } : void 0),
3184
3184
  onClick: B(i, ["stop"])
3185
- }, [v(b(Nn), {
3185
+ }, [v(b(Pn), {
3186
3186
  size: 16,
3187
3187
  "stroke-width": 2,
3188
3188
  class: "tpl:text-[var(--tpl-primary-hover)]",
3189
3189
  "aria-hidden": "true"
3190
- }), O("span", Fa, a(b(n).ai.menu.button), 1)], 14, Pa)) : x("", !0);
3190
+ }), O("span", Ia, a(b(n).ai.menu.button), 1)], 14, Fa)) : x("", !0);
3191
3191
  }
3192
- }), La = [
3192
+ }), Ra = [
3193
3193
  "data-compact",
3194
3194
  "data-full-width",
3195
3195
  "data-status-label"
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 = [
3196
+ ], za = { class: "tpl-header-left tpl:flex tpl:min-w-0 tpl:items-center tpl:gap-2.5" }, Ba = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, Va = { class: "tpl-header-right tpl:flex tpl:min-w-0 tpl:items-center tpl:justify-end tpl:gap-3" }, Ha = [
3197
3197
  "aria-label",
3198
3198
  "title",
3199
3199
  "aria-expanded"
3200
- ], Ha = { class: "tpl-header-label" }, Ua = {
3200
+ ], Ua = { class: "tpl-header-label" }, Wa = {
3201
3201
  key: 0,
3202
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)]"
3203
- }, Wa = [
3203
+ }, Ga = [
3204
3204
  "aria-label",
3205
3205
  "title",
3206
3206
  "disabled"
3207
- ], Ga = { class: "tpl-header-label" }, Ka = [
3207
+ ], Ka = { class: "tpl-header-label" }, qa = [
3208
3208
  "aria-label",
3209
3209
  "disabled",
3210
3210
  "title"
3211
- ], qa = { class: "tpl-header-label" }, Ja = /* @__PURE__ */ R({
3211
+ ], Ja = { class: "tpl-header-label" }, Ya = /* @__PURE__ */ R({
3212
3212
  __name: "EditorHeader",
3213
3213
  props: {
3214
3214
  header: {},
@@ -3225,7 +3225,7 @@ var xa = [
3225
3225
  ai: {}
3226
3226
  },
3227
3227
  setup(n) {
3228
- let r = I(() => import("./VersionHistoryMenu-6jMve6By.js")), l = I(() => import("./LanguageMenu-D_xbvq3D.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;
3228
+ let r = I(() => import("./VersionHistoryMenu-Bz4G8cNm.js")), l = I(() => import("./LanguageMenu-zxlpmw2x.js")), u = I(() => import("./CollaboratorBar-DufLdLQP.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 } = xa(d, p, g), j = g?.getAttribute("slot"), M = null;
3229
3229
  return g && t([w, () => h.core.resolvedTheme.value], ([e, t]) => {
3230
3230
  g.setAttribute("data-tpl-compact", String(e)), g.setAttribute("data-tpl-theme", t === "dark" ? "dark" : "light");
3231
3231
  }, {
@@ -3249,11 +3249,11 @@ var xa = [
3249
3249
  "data-status-label": b(E),
3250
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)]"
3251
3251
  }, [
3252
- O("div", Ra, [
3252
+ O("div", za, [
3253
3253
  n.templates?.isAvailable.value && n.templates.hasTemplate.value && (n.showTemplateName || n.templates.timestamp.value) ? (s(), C("div", {
3254
3254
  key: 0,
3255
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, {
3256
+ }, [n.showTemplateName ? (s(), F(Oa, {
3257
3257
  key: 0,
3258
3258
  name: n.templates.name.value,
3259
3259
  editable: n.templates.canSave.value,
@@ -3262,7 +3262,7 @@ var xa = [
3262
3262
  "name",
3263
3263
  "editable",
3264
3264
  "onCommit"
3265
- ])) : x("", !0), n.templates.timestamp.value ? (s(), F(ka, {
3265
+ ])) : x("", !0), n.templates.timestamp.value ? (s(), F(Aa, {
3266
3266
  key: 1,
3267
3267
  class: "tpl-header-timestamp",
3268
3268
  iso: n.templates.timestamp.value.iso,
@@ -3294,25 +3294,25 @@ var xa = [
3294
3294
  }, null, 8, ["people", "connection"])) : x("", !0),
3295
3295
  i(e.$slots, "left-extras")
3296
3296
  ]),
3297
- O("div", za, [
3298
- _ ? (s(), F(Hn, {
3297
+ O("div", Ba, [
3298
+ _ ? (s(), F(Un, {
3299
3299
  key: 0,
3300
3300
  viewport: n.editor.state.viewport,
3301
3301
  onChange: n.editor.setViewport
3302
3302
  }, null, 8, ["viewport", "onChange"])) : x("", !0),
3303
- y ? (s(), F(Sa, {
3303
+ y ? (s(), F(Ca, {
3304
3304
  key: 1,
3305
3305
  "dark-mode": n.editor.state.darkMode,
3306
3306
  onChange: n.editor.setDarkMode
3307
3307
  }, null, 8, ["dark-mode", "onChange"])) : x("", !0),
3308
- S ? (s(), F(wa, {
3308
+ S ? (s(), F(Ta, {
3309
3309
  key: 2,
3310
3310
  "preview-mode": n.editor.state.previewMode,
3311
3311
  onChange: n.editor.setPreviewMode
3312
3312
  }, null, 8, ["preview-mode", "onChange"])) : x("", !0)
3313
3313
  ]),
3314
- O("div", Ba, [
3315
- n.templates?.isAvailable.value && n.templates.canSave.value ? (s(), F(Na, {
3314
+ O("div", Va, [
3315
+ n.templates?.isAvailable.value && n.templates.canSave.value ? (s(), F(Pa, {
3316
3316
  key: 0,
3317
3317
  class: "tpl-header-save-status",
3318
3318
  status: n.templates.status.value,
@@ -3330,21 +3330,21 @@ var xa = [
3330
3330
  "aria-label": n.comments.unresolvedCount.value > 0 ? `${n.core.t.comments.button} (${n.comments.unresolvedCount.value})` : n.core.t.comments.button,
3331
3331
  title: n.core.t.comments.button,
3332
3332
  "aria-expanded": n.comments.isOpen.value,
3333
- class: c(b(jt)),
3333
+ class: c(b(Mt)),
3334
3334
  style: f(n.comments.isOpen.value ? {
3335
3335
  backgroundColor: "var(--tpl-primary-light)",
3336
3336
  borderColor: "var(--tpl-primary-light)"
3337
3337
  } : void 0),
3338
3338
  onClick: t[2] ||= (e) => n.comments.toggle()
3339
3339
  }, [
3340
- v(b(Bn), {
3340
+ v(b(Vn), {
3341
3341
  size: 16,
3342
3342
  "stroke-width": 2
3343
3343
  }),
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, {
3344
+ O("span", Ua, a(n.core.t.comments.button), 1),
3345
+ n.comments.unresolvedCount.value > 0 && !n.comments.isOpen.value ? (s(), C("span", Wa, a(n.comments.unresolvedCount.value), 1)) : x("", !0)
3346
+ ], 14, Ha)) : x("", !0),
3347
+ n.ai ? (s(), F(La, {
3348
3348
  key: 2,
3349
3349
  feature: n.ai
3350
3350
  }, null, 8, ["feature"])) : x("", !0),
@@ -3365,64 +3365,64 @@ var xa = [
3365
3365
  "aria-label": n.core.t.testEmail.title,
3366
3366
  title: n.core.t.testEmail.title,
3367
3367
  disabled: n.testEmail.isSending.value,
3368
- class: c(b(jt)),
3368
+ class: c(b(Mt)),
3369
3369
  onClick: t[3] ||= (e) => n.testEmail.open()
3370
- }, [n.testEmail.isSending.value ? (s(), F(b(zn), {
3370
+ }, [n.testEmail.isSending.value ? (s(), F(b(Bn), {
3371
3371
  key: 1,
3372
3372
  class: "tpl-spinner",
3373
3373
  size: 16,
3374
3374
  "stroke-width": 2
3375
- })) : (s(), F(b(Vn), {
3375
+ })) : (s(), F(b(Hn), {
3376
3376
  key: 0,
3377
3377
  size: 16,
3378
3378
  "stroke-width": 2
3379
- })), O("span", Ga, a(n.core.t.testEmail.button), 1)], 10, Wa)) : x("", !0),
3379
+ })), O("span", Ka, a(n.core.t.testEmail.button), 1)], 10, Ga)) : x("", !0),
3380
3380
  n.templates?.isAvailable.value && n.templates.canSave.value ? (s(), C("button", {
3381
3381
  key: 6,
3382
3382
  type: "button",
3383
3383
  "data-testid": "template-save",
3384
- class: c(n.editor.state.isDirty && n.templates.hasTemplate.value ? b(Mt) : b(jt)),
3384
+ class: c(n.editor.state.isDirty && n.templates.hasTemplate.value ? b(Nt) : b(Mt)),
3385
3385
  style: f(n.editor.state.isDirty && n.templates.hasTemplate.value ? { boxShadow: "var(--tpl-shadow-sm)" } : void 0),
3386
3386
  "aria-label": n.templates.isSaving.value ? n.core.t.header.saving : n.core.t.header.save,
3387
3387
  disabled: n.templates.isSaving.value || !n.templates.hasTemplate.value,
3388
3388
  title: n.templates.hasTemplate.value ? n.core.t.header.save : n.core.t.header.saveNoTemplate,
3389
3389
  onClick: t[4] ||= (e) => n.templates.requestSave()
3390
- }, [n.templates.isSaving.value ? (s(), F(b(zn), {
3390
+ }, [n.templates.isSaving.value ? (s(), F(b(Bn), {
3391
3391
  key: 1,
3392
3392
  class: "tpl-spinner",
3393
3393
  size: 16,
3394
3394
  "stroke-width": 2
3395
- })) : (s(), F(b(dr), {
3395
+ })) : (s(), F(b(fr), {
3396
3396
  key: 0,
3397
3397
  size: 16,
3398
3398
  "stroke-width": 2
3399
- })), O("span", qa, a(n.templates.isSaving.value ? n.core.t.header.saving : n.core.t.header.save), 1)], 14, Ka)) : x("", !0)
3399
+ })), O("span", Ja, a(n.templates.isSaving.value ? n.core.t.header.saving : n.core.t.header.save), 1)], 14, qa)) : x("", !0)
3400
3400
  ])
3401
- ], 8, La)], 512));
3401
+ ], 8, Ra)], 512));
3402
3402
  }
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 = [
3403
+ }), Xa = ["aria-labelledby", "data-tpl-theme"], Za = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Qa = ["id"], $a = ["aria-label"], eo = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, to = [
3404
3404
  "id",
3405
3405
  "placeholder",
3406
3406
  "aria-label",
3407
3407
  "aria-activedescendant"
3408
- ], to = {
3408
+ ], no = {
3409
3409
  key: 0,
3410
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",
3411
3411
  "data-testid": "merge-tag-picker-group-pills"
3412
- }, no = ["data-group-name", "onClick"], ro = ["aria-label"], io = {
3412
+ }, ro = ["data-group-name", "onClick"], io = ["aria-label"], ao = {
3413
3413
  key: 0,
3414
3414
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3415
3415
  "data-testid": "merge-tag-picker-empty"
3416
- }, ao = {
3416
+ }, oo = {
3417
3417
  key: 1,
3418
3418
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3419
3419
  "data-testid": "merge-tag-picker-empty"
3420
- }, oo = [
3420
+ }, so = [
3421
3421
  "aria-expanded",
3422
3422
  "data-group-name",
3423
3423
  "data-group-collapsed",
3424
3424
  "onClick"
3425
- ], so = { class: "tpl:ml-1 tpl:font-normal" }, co = [
3425
+ ], co = { class: "tpl:ml-1 tpl:font-normal" }, lo = [
3426
3426
  "id",
3427
3427
  "aria-selected",
3428
3428
  "data-selected",
@@ -3432,21 +3432,21 @@ var xa = [
3432
3432
  "title",
3433
3433
  "onMousemove",
3434
3434
  "onClick"
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 = {
3435
+ ], uo = { class: "tpl:text-sm tpl:font-medium" }, fo = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, po = {
3436
3436
  key: 0,
3437
3437
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3438
- }, po = {
3438
+ }, mo = {
3439
3439
  key: 1,
3440
3440
  "data-testid": "merge-tag-picker-sample",
3441
3441
  class: "tpl:line-clamp-1 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3442
- }, mo = "tpl-merge-tag-picker-list", ho = /* @__PURE__ */ R({
3442
+ }, ho = "tpl-merge-tag-picker-list", go = /* @__PURE__ */ R({
3443
3443
  __name: "MergeTagPickerModal",
3444
3444
  setup(e) {
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);
3445
+ let n = xt(qe, "MergeTagPickerModal"), { t: r, format: i } = $(), o = L(lt, null), l = L(it, null), p = L(Ct, !0), m = y(() => n.current.value !== null), _ = y(() => m.value ? r.mergeTag.picker.changeTitle : r.mergeTag.picker.title);
3446
3446
  function w(e) {
3447
3447
  return p ? e.description ? `${e.value} — ${e.description}` : e.value : e.description || void 0;
3448
3448
  }
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());
3449
+ let T = S(""), E = qn(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());
3450
3450
  function P(e) {
3451
3451
  return N.value.has(e);
3452
3452
  }
@@ -3566,13 +3566,13 @@ var xa = [
3566
3566
  }
3567
3567
  }
3568
3568
  function se() {
3569
- if (W.value.length !== 0) return `${mo}-opt-${A.value}`;
3569
+ if (W.value.length !== 0) return `${ho}-opt-${A.value}`;
3570
3570
  }
3571
3571
  function ce(e) {
3572
- return `${mo}-opt-${e}`;
3572
+ return `${ho}-opt-${e}`;
3573
3573
  }
3574
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);
3575
- return (e, t) => (s(), F(Nt, {
3575
+ return (e, t) => (s(), F(Pt, {
3576
3576
  visible: b(n).isOpen.value,
3577
3577
  onClose: J,
3578
3578
  onKeydown: oe
@@ -3580,16 +3580,16 @@ var xa = [
3580
3580
  default: h(() => [O("div", {
3581
3581
  role: "dialog",
3582
3582
  "aria-modal": "true",
3583
- "aria-labelledby": `${mo}-title`,
3583
+ "aria-labelledby": `${ho}-title`,
3584
3584
  "data-tpl-theme": b(l),
3585
3585
  "data-testid": "merge-tag-picker-modal",
3586
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)]",
3587
3587
  style: f(b(o))
3588
3588
  }, [
3589
- O("header", Xa, [O("h2", {
3590
- id: `${mo}-title`,
3589
+ O("header", Za, [O("h2", {
3590
+ id: `${ho}-title`,
3591
3591
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3592
- }, a(_.value), 9, Za), O("button", {
3592
+ }, a(_.value), 9, Qa), O("button", {
3593
3593
  type: "button",
3594
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)]",
3595
3595
  "aria-label": b(r).mergeTag.picker.close,
@@ -3598,13 +3598,13 @@ var xa = [
3598
3598
  }, [v(b(He), {
3599
3599
  size: 16,
3600
3600
  "stroke-width": 2
3601
- })], 8, Qa)]),
3602
- O("div", $a, [v(b($n), {
3601
+ })], 8, $a)]),
3602
+ O("div", eo, [v(b(er), {
3603
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)]",
3604
3604
  size: 14,
3605
3605
  "stroke-width": 2
3606
3606
  }), g(O("input", {
3607
- id: `${mo}-search`,
3607
+ id: `${ho}-search`,
3608
3608
  ref_key: "searchInputRef",
3609
3609
  ref: D,
3610
3610
  "onUpdate:modelValue": t[0] ||= (e) => T.value = e,
@@ -3612,48 +3612,48 @@ var xa = [
3612
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)]",
3613
3613
  placeholder: b(r).mergeTag.picker.searchPlaceholder,
3614
3614
  "aria-label": b(r).mergeTag.picker.searchAriaLabel,
3615
- "aria-controls": mo,
3615
+ "aria-controls": ho,
3616
3616
  "aria-activedescendant": se(),
3617
3617
  "data-testid": "merge-tag-picker-search",
3618
3618
  onKeydown: t[1] ||= U(B(() => {}, ["prevent"]), ["enter"])
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", {
3619
+ }, null, 40, to), [[z, T.value]])]),
3620
+ de.value ? (s(), C("div", no, [(s(!0), C(M, null, d(V.value, (e) => (s(), C("button", {
3621
3621
  key: e,
3622
3622
  type: "button",
3623
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)]",
3624
3624
  "data-testid": "merge-tag-picker-group-pill",
3625
3625
  "data-group-name": e,
3626
3626
  onClick: (t) => ae(e)
3627
- }, a(e), 9, no))), 128))])) : x("", !0),
3627
+ }, a(e), 9, ro))), 128))])) : x("", !0),
3628
3628
  O("div", {
3629
- id: mo,
3629
+ id: ho,
3630
3630
  ref_key: "listRef",
3631
3631
  ref: te,
3632
3632
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3633
3633
  role: "listbox",
3634
3634
  "aria-label": _.value,
3635
3635
  "data-testid": "merge-tag-picker-list"
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", {
3636
+ }, [le.value ? (s(), C("div", ao, a(b(r).mergeTag.picker.empty), 1)) : ue.value ? (s(), C("div", oo, 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", {
3637
3637
  key: 0,
3638
3638
  ref_for: !0,
3639
3639
  ref: (t) => re(e.group, t),
3640
3640
  type: "button",
3641
3641
  "aria-expanded": !P(e.group),
3642
- "aria-controls": mo,
3642
+ "aria-controls": ho,
3643
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)]",
3644
3644
  "data-testid": "merge-tag-picker-group-header",
3645
3645
  "data-group-name": e.group,
3646
3646
  "data-group-collapsed": P(e.group) ? "true" : "false",
3647
3647
  onClick: (t) => I(e.group)
3648
3648
  }, [
3649
- v(b(Qn), {
3649
+ v(b($n), {
3650
3650
  size: 12,
3651
3651
  "stroke-width": 2,
3652
3652
  class: c(["tpl:transition-transform", P(e.group) ? "tpl:-rotate-90" : ""])
3653
3653
  }, null, 8, ["class"]),
3654
3654
  O("span", null, a(e.group), 1),
3655
- O("span", so, " (" + a(b(i)(b(r).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3656
- ], 8, oo)) : (s(), C("button", {
3655
+ O("span", co, " (" + a(b(i)(b(r).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3656
+ ], 8, so)) : (s(), C("button", {
3657
3657
  key: 1,
3658
3658
  id: ce(e.index),
3659
3659
  type: "button",
@@ -3669,23 +3669,23 @@ var xa = [
3669
3669
  onMousemove: (t) => K(e.index),
3670
3670
  onClick: (t) => q(e.tag)
3671
3671
  }, [
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)]),
3672
+ O("span", uo, a(e.tag.label), 1),
3673
+ O("span", fo, a(e.tag.value), 1),
3674
+ e.tag.description ? (s(), C("span", po, a(e.tag.description), 1)) : x("", !0),
3675
+ e.tag.sample === void 0 ? x("", !0) : (s(), C("span", mo, a(b(i)(b(r).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
3676
+ ], 42, lo))], 64))), 128))], 8, io)
3677
+ ], 12, Xa)]),
3678
3678
  _: 1
3679
3679
  }, 8, ["visible"]));
3680
3680
  }
3681
- }), go = ["data-logic-keyword"], _o = /* @__PURE__ */ R({
3681
+ }), _o = ["data-logic-keyword"], vo = /* @__PURE__ */ R({
3682
3682
  __name: "LogicTagBadge",
3683
3683
  props: {
3684
3684
  value: {},
3685
3685
  syntax: {}
3686
3686
  },
3687
3687
  setup(e) {
3688
- let t = e, n = y(() => Re(t.value, t.syntax)), r = y(() => De(t.value, t.syntax));
3688
+ let t = e, n = y(() => Ie(t.value, t.syntax)), r = y(() => ke(t.value, t.syntax));
3689
3689
  return (e, t) => n.value ? (s(), C("span", {
3690
3690
  key: 0,
3691
3691
  class: "tpl:inline-flex tpl:flex-shrink-0 tpl:items-center tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:leading-none tpl:font-bold tpl:tracking-wide tpl:uppercase",
@@ -3695,22 +3695,22 @@ var xa = [
3695
3695
  },
3696
3696
  "data-testid": "merge-tag-logic-badge",
3697
3697
  "data-logic-keyword": r.value
3698
- }, a(r.value), 9, go)) : x("", !0);
3698
+ }, a(r.value), 9, _o)) : x("", !0);
3699
3699
  }
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 = [
3700
+ }), yo = ["aria-labelledby", "data-tpl-theme"], bo = { 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" }, xo = ["id"], So = ["aria-label"], Co = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, wo = [
3701
3701
  "id",
3702
3702
  "placeholder",
3703
3703
  "aria-label",
3704
3704
  "aria-activedescendant"
3705
- ], wo = ["aria-label"], To = {
3705
+ ], To = ["aria-label"], Eo = {
3706
3706
  key: 0,
3707
3707
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3708
3708
  "data-testid": "logic-picker-empty"
3709
- }, Eo = {
3709
+ }, Do = {
3710
3710
  key: 1,
3711
3711
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3712
3712
  "data-testid": "logic-picker-empty"
3713
- }, Do = ["data-group-name"], Oo = [
3713
+ }, Oo = ["data-group-name"], ko = [
3714
3714
  "id",
3715
3715
  "aria-selected",
3716
3716
  "data-selected",
@@ -3718,19 +3718,19 @@ var xa = [
3718
3718
  "data-logic-kind",
3719
3719
  "onMousemove",
3720
3720
  "onClick"
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 = {
3721
+ ], Ao = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, jo = { class: "tpl:text-sm tpl:font-medium" }, Mo = {
3722
3722
  key: 0,
3723
3723
  class: "tpl:flex tpl:items-center"
3724
- }, Mo = {
3724
+ }, No = {
3725
3725
  key: 1,
3726
3726
  class: "tpl:flex tpl:items-center tpl:gap-1"
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 = {
3727
+ }, Po = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Fo = {
3728
3728
  key: 0,
3729
3729
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3730
- }, Fo = "tpl-logic-picker-list", Io = /* @__PURE__ */ R({
3730
+ }, Io = "tpl-logic-picker-list", Lo = /* @__PURE__ */ R({
3731
3731
  __name: "LogicTagPickerModal",
3732
3732
  setup(e) {
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);
3733
+ let n = xt(Xe, "LogicTagPickerModal"), { t: r } = $(), i = L(Ge, Pe.liquid), o = L(lt, null), l = L(it, null), p = S(""), m = qn(p, 200), _ = S(null), w = y(() => m.value.trim().length > 0), T = S(0);
3734
3734
  function E(e) {
3735
3735
  let t = m.value.trim().toLowerCase();
3736
3736
  return !t || e.filter(Boolean).join(" ").toLowerCase().includes(t);
@@ -3813,12 +3813,12 @@ var xa = [
3813
3813
  }
3814
3814
  }
3815
3815
  function q(e) {
3816
- return `${Fo}-opt-${e}`;
3816
+ return `${Io}-opt-${e}`;
3817
3817
  }
3818
3818
  function J() {
3819
- return I.value.length === 0 ? void 0 : `${Fo}-opt-${T.value}`;
3819
+ return I.value.length === 0 ? void 0 : `${Io}-opt-${T.value}`;
3820
3820
  }
3821
- return (e, t) => (s(), F(Nt, {
3821
+ return (e, t) => (s(), F(Pt, {
3822
3822
  visible: b(n).isOpen.value,
3823
3823
  onClose: G,
3824
3824
  onKeydown: K
@@ -3826,16 +3826,16 @@ var xa = [
3826
3826
  default: h(() => [O("div", {
3827
3827
  role: "dialog",
3828
3828
  "aria-modal": "true",
3829
- "aria-labelledby": `${Fo}-title`,
3829
+ "aria-labelledby": `${Io}-title`,
3830
3830
  "data-tpl-theme": b(l),
3831
3831
  "data-testid": "logic-picker-modal",
3832
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)]",
3833
3833
  style: f(b(o))
3834
3834
  }, [
3835
- O("header", yo, [O("h2", {
3836
- id: `${Fo}-title`,
3835
+ O("header", bo, [O("h2", {
3836
+ id: `${Io}-title`,
3837
3837
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3838
- }, a(b(r).logicTag.picker.title), 9, bo), O("button", {
3838
+ }, a(b(r).logicTag.picker.title), 9, xo), O("button", {
3839
3839
  type: "button",
3840
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)]",
3841
3841
  "aria-label": b(r).logicTag.picker.close,
@@ -3844,13 +3844,13 @@ var xa = [
3844
3844
  }, [v(b(He), {
3845
3845
  size: 16,
3846
3846
  "stroke-width": 2
3847
- })], 8, xo)]),
3848
- O("div", So, [v(b($n), {
3847
+ })], 8, So)]),
3848
+ O("div", Co, [v(b(er), {
3849
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)]",
3850
3850
  size: 14,
3851
3851
  "stroke-width": 2
3852
3852
  }), g(O("input", {
3853
- id: `${Fo}-search`,
3853
+ id: `${Io}-search`,
3854
3854
  ref_key: "searchInputRef",
3855
3855
  ref: _,
3856
3856
  "onUpdate:modelValue": t[0] ||= (e) => p.value = e,
@@ -3858,25 +3858,25 @@ var xa = [
3858
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)]",
3859
3859
  placeholder: b(r).logicTag.picker.searchPlaceholder,
3860
3860
  "aria-label": b(r).logicTag.picker.searchAriaLabel,
3861
- "aria-controls": Fo,
3861
+ "aria-controls": Io,
3862
3862
  "aria-activedescendant": J(),
3863
3863
  "data-testid": "logic-picker-search",
3864
3864
  onKeydown: t[1] ||= U(B(() => {}, ["prevent"]), ["enter"])
3865
- }, null, 40, Co), [[z, p.value]])]),
3865
+ }, null, 40, wo), [[z, p.value]])]),
3866
3866
  O("div", {
3867
- id: Fo,
3867
+ id: Io,
3868
3868
  ref_key: "listRef",
3869
3869
  ref: H,
3870
3870
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3871
3871
  role: "listbox",
3872
3872
  "aria-label": b(r).logicTag.picker.title,
3873
3873
  "data-testid": "logic-picker-list"
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", {
3874
+ }, [R.value ? (s(), C("div", Eo, a(b(r).logicTag.picker.empty), 1)) : V.value ? (s(), C("div", Do, 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", {
3875
3875
  key: 0,
3876
3876
  class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
3877
3877
  "data-testid": "logic-picker-header",
3878
3878
  "data-group-name": e.label
3879
- }, a(e.label), 9, Do)) : (s(), C("button", {
3879
+ }, a(e.label), 9, Oo)) : (s(), C("button", {
3880
3880
  key: 1,
3881
3881
  id: q(e.index),
3882
3882
  type: "button",
@@ -3890,35 +3890,35 @@ var xa = [
3890
3890
  onMousemove: (t) => T.value = e.index,
3891
3891
  onClick: (t) => W(e.kind === "tag" ? e.tag : e.pair)
3892
3892
  }, [
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, {
3893
+ O("span", Ao, [O("span", jo, a(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), C("span", Mo, [v(vo, {
3894
3894
  value: e.tag.value,
3895
3895
  syntax: b(i)
3896
- }, null, 8, ["value", "syntax"])])) : (s(), C("span", Mo, [
3897
- v(_o, {
3896
+ }, null, 8, ["value", "syntax"])])) : (s(), C("span", No, [
3897
+ v(vo, {
3898
3898
  value: e.pair.before,
3899
3899
  syntax: b(i)
3900
3900
  }, null, 8, ["value", "syntax"]),
3901
3901
  t[2] ||= O("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
3902
- v(_o, {
3902
+ v(vo, {
3903
3903
  value: e.pair.after,
3904
3904
  syntax: b(i)
3905
3905
  }, null, 8, ["value", "syntax"])
3906
3906
  ]))]),
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)]),
3907
+ O("span", Po, 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", Fo, a(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : x("", !0)
3909
+ ], 42, ko))], 64))), 128))], 8, To)
3910
+ ], 12, yo)]),
3911
3911
  _: 1
3912
3912
  }, 8, ["visible"]));
3913
3913
  }
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 = {
3914
+ }), Ro = ["data-tpl-theme"], zo = { class: "tpl:absolute tpl:inset-0 tpl:overflow-hidden" }, Bo = { class: "tpl-preview-overlay tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, Vo = { 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" }, Ho = {
3915
3915
  key: 0,
3916
3916
  "data-testid": "merge-tag-mode-toggle-anchor",
3917
3917
  class: "tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-[var(--tpl-shadow-md)]"
3918
- }, Ho = {
3918
+ }, Uo = {
3919
3919
  key: 0,
3920
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({
3921
+ }, Wo = ["title", "aria-busy"], Go = { class: "tpl-main tpl-canvas-pane tpl:flex tpl:py-8" }, Ko = ["aria-label"], qo = /*#__PURE__*/ ze(/* @__PURE__ */ R({
3922
3922
  __name: "Editor",
3923
3923
  props: {
3924
3924
  config: {},
@@ -3933,7 +3933,7 @@ var xa = [
3933
3933
  },
3934
3934
  setup(n, { expose: r }) {
3935
3935
  let i = n;
3936
- l(st, {
3936
+ l(bt, {
3937
3937
  renderHtml: () => i.renderHtml?.() ?? Promise.reject(/* @__PURE__ */ Error("HTML rendering is unavailable")),
3938
3938
  canRenderHtml: () => i.canRenderHtml?.() ?? !1,
3939
3939
  cloud: !!i.cloud,
@@ -3946,20 +3946,20 @@ var xa = [
3946
3946
  get syntax() {
3947
3947
  return X.mergeTagSyntax;
3948
3948
  }
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({
3949
+ }, u = i.config.templates ? yn(i.config.templates, o) : void 0;
3950
+ i.config.collaboration && !u && An.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 ? Kr({
3952
3952
  provider: i.config.collaboration,
3953
3953
  loadTemplate: (e) => u.load(e),
3954
3954
  user: i.config.user,
3955
3955
  mergeTags: o,
3956
3956
  onRemoteChange: i.config.onRemoteChange,
3957
3957
  onError: i.config.onError
3958
- }) : null, p = u && d ? Si(u, d.core, () => {
3958
+ }) : null, p = u && d ? Ci(u, d.core, () => {
3959
3959
  let e = _.state.template;
3960
3960
  return e ? {
3961
3961
  ...N(e),
3962
- content: we(N(_.content.value))
3962
+ content: De(N(_.content.value))
3963
3963
  } : null;
3964
3964
  }) : u, m = S(0);
3965
3965
  l(Ze, i.config.localization);
@@ -3971,7 +3971,7 @@ var xa = [
3971
3971
  },
3972
3972
  content: i.config.content,
3973
3973
  defaultFontFamily: i.config.fonts?.defaultFont,
3974
- templateDefaults: nr(i.config),
3974
+ templateDefaults: rr(i.config),
3975
3975
  templates: p,
3976
3976
  onError: i.config.onError,
3977
3977
  lockedBlocks: d?.locks,
@@ -3979,31 +3979,31 @@ var xa = [
3979
3979
  lockSessionId: d?.core.sessionId
3980
3980
  }), T = Ue(_);
3981
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({
3982
+ let D = i.cloud ? i.cloud.attach({ editor: _ }) : null, A = p ? pi({
3983
3983
  provider: p,
3984
3984
  editor: _,
3985
3985
  guardUnsavedChanges: i.config.templates?.unsavedChangesGuard,
3986
3986
  getSaveGate: i.cloud ? () => i.cloud.getSaveGate() : void 0
3987
3987
  }) : null;
3988
3988
  i.config.onDirtyChange && t(() => _.state.isDirty, (e) => i.config.onDirtyChange(e));
3989
- let j = S(null), M = i.config.savedBlocks ? ui({
3989
+ let j = S(null), M = i.config.savedBlocks ? di({
3990
3990
  provider: i.config.savedBlocks,
3991
3991
  editor: _,
3992
3992
  onError: i.config.onError,
3993
3993
  isAvailable: i.cloud ? () => i.cloud.isSavedBlocksAvailable() : void 0
3994
- }) : null, P = I(() => import("./SavedBlocksPanels-D5YaVCem.js")), L = i.config.media || i.config.onRequestMedia ? ci({
3994
+ }) : null, P = I(() => import("./SavedBlocksPanels-Lklqy4XI.js")), L = i.config.media || i.config.onRequestMedia ? li({
3995
3995
  provider: i.config.media,
3996
3996
  onRequestMedia: i.config.onRequestMedia,
3997
3997
  getTemplateId: () => _.state.template?.id,
3998
3998
  onError: i.config.onError
3999
- }) : null, R = I(() => import("./MediaPanels-C-XrldMu.js")), z = i.config.testEmail ? _i({
3999
+ }) : null, R = I(() => import("./MediaPanels-BAZByHRA.js")), z = i.config.testEmail ? vi({
4000
4000
  provider: i.config.testEmail,
4001
4001
  getContent: () => _.content.value,
4002
4002
  renderMjml: i.renderMjml,
4003
4003
  usesLocalRenderer: i.usesLocalRenderer,
4004
4004
  onError: i.config.onError,
4005
4005
  isAvailable: i.cloud ? () => i.cloud.isTestEmailAvailable() : void 0
4006
- }) : null, V = I(() => import("./TestEmailPanel-DkJx0Ptk.js")), U = i.config.comments ? Kr({
4006
+ }) : null, V = I(() => import("./TestEmailPanel-DgyzokCf.js")), U = i.config.comments ? qr({
4007
4007
  provider: i.config.comments,
4008
4008
  editor: _,
4009
4009
  user: i.config.user,
@@ -4011,7 +4011,7 @@ var xa = [
4011
4011
  onError: i.config.onError,
4012
4012
  isAvailable: i.cloud ? () => i.cloud.isCommentsAvailable() : void 0,
4013
4013
  isBlockSaved: i.cloud ? (e) => i.cloud.isBlockSaved(e) : void 0
4014
- }) : null, G = I(() => import("./CommentsPanel-lb-IFzjl.js")), ee = I(() => import("./AiPanels-CESbBB63.js")), K = i.config.ai ? ti({
4014
+ }) : null, G = I(() => import("./CommentsPanel-C2hFFs0o.js")), ee = I(() => import("./AiPanels-CRM3jf82.js")), K = i.config.ai ? ni({
4015
4015
  provider: i.config.ai,
4016
4016
  editor: _,
4017
4017
  localization: i.config.localization ?? { locales: [] },
@@ -4022,16 +4022,16 @@ var xa = [
4022
4022
  collaboration: d,
4023
4023
  history: () => X.history,
4024
4024
  reload: A ? (e, t) => A.load(e, t) : null,
4025
- altMaxLength: () => Cn(Ht(i.config)),
4026
- mergeTags: () => ai(X.mergeTags.value, X.mergeTagSyntax),
4027
- normalize: (e, t) => gn(e, t, o),
4025
+ altMaxLength: () => wn(Ut(i.config)),
4026
+ mergeTags: () => oi(X.mergeTags.value, X.mergeTagSyntax),
4027
+ normalize: (e, t) => _n(e, t, o),
4028
4028
  commentsOpen: U?.isOpen ?? null,
4029
4029
  onError: i.config.onError
4030
4030
  }) : null;
4031
4031
  K && l(mt, K);
4032
4032
  let q = We(_, i.config.customBlocks ?? []);
4033
4033
  l(yt, q);
4034
- let J = i.config.translation ? Br({
4034
+ let J = i.config.translation ? Vr({
4035
4035
  provider: i.config.translation,
4036
4036
  editor: _,
4037
4037
  localization: i.config.localization,
@@ -4041,14 +4041,14 @@ var xa = [
4041
4041
  syntax: () => X.mergeTagSyntax,
4042
4042
  coverage: () => q.value
4043
4043
  }) : null;
4044
- J && l(nt, J);
4044
+ J && l(gt, J);
4045
4045
  let Y = S(null);
4046
4046
  t([() => _.state.template?.id ?? null, _.loadVersion], () => {
4047
4047
  Y.value = null;
4048
4048
  }, { flush: "sync" }), t(() => Z(_.content.value), (e) => {
4049
4049
  Y.value && Y.value.language !== e && (Y.value = null);
4050
4050
  }, { flush: "sync" });
4051
- let ne = Pr({
4051
+ let ne = Fr({
4052
4052
  editor: _,
4053
4053
  history: () => X.history,
4054
4054
  collaboration: d
@@ -4057,25 +4057,25 @@ var xa = [
4057
4057
  let t = {
4058
4058
  language: e,
4059
4059
  old: Z(_.content.value),
4060
- count: Ne(_.content.value, e, i.config.customBlocks).length
4060
+ count: Ee(_.content.value, e, i.config.customBlocks).length
4061
4061
  }, n = ne.setDefaultLocale(e);
4062
4062
  return n.applied && (Y.value = t), n;
4063
4063
  } });
4064
- let re = I(() => import("./LocaleNotices-j4aMFfmc.js")), ie = I(() => import("./CollaborationNotices-D9GQ477K.js")), ae = I(() => import("./CloudPanels-qW-MObRD.js")), oe = I(() => import("./CloudHeaderExtras-xrHubAHL.js")), se = I(() => import("./VersionHistoryPanels-BZ0GT52h.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.");
4066
- let de = i.config.onChange || ue ? {
4064
+ let re = I(() => import("./LocaleNotices-PIfpvCCI.js")), ie = I(() => import("./CollaborationNotices-CnfS8BQy.js")), ae = I(() => import("./CloudPanels-CAMn545-.js")), oe = I(() => import("./CloudHeaderExtras-DC_oNrxz.js")), se = I(() => import("./VersionHistoryPanels-DmVRyWv9.js")), ce = bi(i.config.templates?.autoSave, !1), le = ce && A !== null;
4065
+ ce && A !== null && !A.canSave.value && An.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 && An.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.");
4066
+ let ue = i.config.onChange || le ? {
4067
4067
  onChange: () => {
4068
- i.config.onChange?.(JSON.parse(JSON.stringify(_.state.content))), ue && A.requestAutoSave();
4068
+ i.config.onChange?.(JSON.parse(JSON.stringify(_.state.content))), le && A.requestAutoSave();
4069
4069
  },
4070
4070
  ...i.config.changeDebounce === void 0 ? {} : { debounce: i.config.changeDebounce }
4071
- } : null, fe = {
4071
+ } : null, de = {
4072
4072
  ...M ? { savedBlocks: M.capability } : {},
4073
4073
  ...A ? { templates: A.capability } : {},
4074
4074
  ...z ? { testEmail: z.capability } : {},
4075
4075
  ...U ? { comments: U.capability } : {},
4076
4076
  ...d ? { collaboration: d.capability } : {},
4077
4077
  ...K ? { ai: K.capability } : {}
4078
- }, X = an({
4078
+ }, X = on({
4079
4079
  editor: _,
4080
4080
  containerEl: j,
4081
4081
  config: {
@@ -4097,25 +4097,25 @@ var xa = [
4097
4097
  canDropMedia: L?.canDrop ?? null,
4098
4098
  resolvePreview: i.config.resolvePreview,
4099
4099
  resolveImageUrl: i.config.resolveImageUrl,
4100
- lint: Ht(i.config),
4100
+ lint: Ut(i.config),
4101
4101
  locale: i.config.locale
4102
4102
  },
4103
4103
  translations: i.translations,
4104
4104
  fontsManager: i.fontsManager,
4105
- autoSaveOptions: de,
4106
- capabilities: fe,
4105
+ autoSaveOptions: ue,
4106
+ capabilities: de,
4107
4107
  editorRoot: i.shadowRoot,
4108
4108
  history: d?.history
4109
- }), pe = S("content");
4109
+ }), fe = S("content");
4110
4110
  t(() => _.state.template?.id, () => {
4111
- _.selectedBlock.value && (pe.value = "content");
4111
+ _.selectedBlock.value && (fe.value = "content");
4112
4112
  });
4113
- let me = i.cloud && D ? i.cloud.ready({
4113
+ let pe = i.cloud && D ? i.cloud.ready({
4114
4114
  core: X,
4115
- capabilities: fe
4116
- }) : null, he = i.config.versionHistory ? vi({
4115
+ capabilities: de
4116
+ }) : null, me = i.config.versionHistory ? yi({
4117
4117
  provider: i.config.versionHistory,
4118
- editor: hn(_, o),
4118
+ editor: gn(_, o),
4119
4119
  history: X.history,
4120
4120
  conditionPreview: X.conditionPreview,
4121
4121
  autoSave: X.autoSave,
@@ -4131,20 +4131,20 @@ var xa = [
4131
4131
  } : null,
4132
4132
  onError: i.config.onError
4133
4133
  }) : null;
4134
- he && (fe.versionHistory = he.capability);
4135
- let ge = y(() => U?.isOpen.value === !0 || K !== null && K.panel.value !== null || D?.panelState.rightPanelOpen.value === !0), _e = y(() => _.state.previewMode ? "tpl:left-0 tpl:right-0" : ge.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]"), ve = S(null), ye = S(0), be = y(() => ({ top: `calc(3.5 * var(--tpl-base-size) + ${ye.value}px)` })), xe;
4134
+ me && (de.versionHistory = me.capability);
4135
+ let he = y(() => U?.isOpen.value === !0 || K !== null && K.panel.value !== null || D?.panelState.rightPanelOpen.value === !0), ge = y(() => _.state.previewMode ? "tpl:left-0 tpl:right-0" : he.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]"), _e = S(null), ye = S(0), be = y(() => ({ top: `calc(3.5 * var(--tpl-base-size) + ${ye.value}px)` })), xe;
4136
4136
  e(() => {
4137
- ye.value = ve.value?.offsetHeight ?? 0, ve.value && typeof ResizeObserver < "u" && (xe = new ResizeObserver(([e]) => {
4137
+ ye.value = _e.value?.offsetHeight ?? 0, _e.value && typeof ResizeObserver < "u" && (xe = new ResizeObserver(([e]) => {
4138
4138
  e && (ye.value = e.borderBoxSize?.[0]?.blockSize ?? e.contentRect.height);
4139
- }), xe.observe(ve.value));
4139
+ }), xe.observe(_e.value));
4140
4140
  }), E(() => xe?.disconnect());
4141
- let { showNotice: Se } = un(() => i.config.smallScreenNotice);
4141
+ let { showNotice: Se } = dn(() => i.config.smallScreenNotice);
4142
4142
  e(async () => {
4143
4143
  await i.fontsManager.loadCustomFonts();
4144
4144
  }), E(() => {
4145
4145
  i.fontsManager.cleanupFontLinks(), K?.destroy(), i.cloud?.destroy(), X.destroy();
4146
4146
  });
4147
- let Ce = A ?? _, Te = Dn(X.editorRoot);
4147
+ let Ce = A ?? _, we = On(X.editorRoot);
4148
4148
  return r({
4149
4149
  refreshPreview: X.refreshPreview,
4150
4150
  getLocale: () => _.activeLocale.value ?? Z(_.content.value),
@@ -4154,9 +4154,9 @@ var xa = [
4154
4154
  _.setContent(e), d?.core.flush(), X.history.clear();
4155
4155
  },
4156
4156
  insertBlock: (e) => {
4157
- if (_.state.previewMode) return kn.warn("insertBlock() does nothing in preview mode."), null;
4158
- let t = ce(e);
4159
- return xi(_, t) ? (Te(t.id), t.id) : null;
4157
+ if (_.state.previewMode) return An.warn("insertBlock() does nothing in preview mode."), null;
4158
+ let t = ve(e);
4159
+ return Si(_, t) ? (we(t.id), t.id) : null;
4160
4160
  },
4161
4161
  setTheme: (e) => _.setUiTheme(e),
4162
4162
  setMergeTags: X.setMergeTags,
@@ -4175,16 +4175,16 @@ var xa = [
4175
4175
  onDragover: t[9] ||= B(() => {}, ["prevent"]),
4176
4176
  onDrop: t[10] ||= B(() => {}, ["prevent"])
4177
4177
  }, [
4178
- v(Ii),
4179
- O("div", Ro, [
4180
- v(Ja, {
4178
+ v(Li),
4179
+ O("div", zo, [
4180
+ v(Ya, {
4181
4181
  editor: b(_),
4182
4182
  localization: i.config.localization,
4183
4183
  core: b(X),
4184
4184
  templates: b(A),
4185
4185
  "show-template-name": n.config.templates?.nameField !== !1,
4186
4186
  "test-email": b(z),
4187
- "version-history": b(he),
4187
+ "version-history": b(me),
4188
4188
  comments: b(U),
4189
4189
  collaboration: b(d),
4190
4190
  ai: b(K),
@@ -4218,47 +4218,47 @@ var xa = [
4218
4218
  "header",
4219
4219
  "shadow-root"
4220
4220
  ]),
4221
- g(v(Ki, { style: f(be.value) }, null, 8, ["style"]), [[H, !b(_).state.previewMode]]),
4221
+ g(v(qi, { style: f(be.value) }, null, 8, ["style"]), [[H, !b(_).state.previewMode]]),
4222
4222
  O("div", {
4223
- class: c(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", _e.value]),
4223
+ class: c(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", ge.value]),
4224
4224
  style: f(be.value)
4225
- }, [O("div", zo, [O("div", Bo, [
4225
+ }, [O("div", Bo, [O("div", Vo, [
4226
4226
  v(W, { name: "tpl-preview-pill" }, {
4227
- default: h(() => [b(_).state.previewMode && !b(X).previewResolution.supersedesSamples.value ? (s(), C("div", Vo, [v(Un, {
4227
+ default: h(() => [b(_).state.previewMode && !b(X).previewResolution.supersedesSamples.value ? (s(), C("div", Ho, [v(Wn, {
4228
4228
  "sample-mode": b(X).mergeTagSampleMode.value,
4229
4229
  onChange: t[0] ||= (e) => b(X).mergeTagSampleMode.value = e
4230
4230
  }, null, 8, ["sample-mode"])])) : x("", !0)]),
4231
4231
  _: 1
4232
4232
  }),
4233
4233
  v(W, { name: "tpl-preview-pill" }, {
4234
- default: h(() => [b(_).state.previewMode && b(X).previewResolution.isConfigured ? (s(), C("div", Ho, [O("button", {
4234
+ default: h(() => [b(_).state.previewMode && b(X).previewResolution.isConfigured ? (s(), C("div", Uo, [O("button", {
4235
4235
  type: "button",
4236
- class: c([b(Dt), "tpl:px-4"]),
4236
+ class: c([b(Ot), "tpl:px-4"]),
4237
4237
  "data-testid": "refresh-preview",
4238
4238
  title: b(X).t.previewResolution.refresh,
4239
4239
  "aria-busy": b(X).previewResolution.isResolving.value,
4240
4240
  onClick: t[1] ||= (e) => b(X).previewResolution.refresh()
4241
- }, [v(b(An), {
4241
+ }, [v(b(jn), {
4242
4242
  size: 18,
4243
4243
  "stroke-width": 1.5,
4244
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)]),
4245
+ }, null, 8, ["class"]), w(" " + a(b(X).t.previewResolution.refresh), 1)], 10, Wo)])) : x("", !0)]),
4246
4246
  _: 1
4247
4247
  }),
4248
4248
  v(W, { name: "tpl-preview-pill" }, {
4249
4249
  default: h(() => [b(X).conditionPreview.hasHiddenBlocks.value && b(X).appliesConditionFilter.value ? (s(), C("button", {
4250
4250
  key: 0,
4251
4251
  type: "button",
4252
- class: c([b(Et), "tpl:shadow-[var(--tpl-shadow-md)]"]),
4252
+ class: c([b(Dt), "tpl:shadow-[var(--tpl-shadow-md)]"]),
4253
4253
  "data-testid": "restore-hidden-blocks",
4254
4254
  onClick: t[2] ||= (e) => b(X).conditionPreview.reset()
4255
- }, [v(b(jn), {
4255
+ }, [v(b(Mn), {
4256
4256
  size: 16,
4257
4257
  "stroke-width": 2
4258
4258
  }), w(" " + a(b(X).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : x("", !0)]),
4259
4259
  _: 1
4260
4260
  })
4261
- ])]), O("main", Wo, [v(Fi, {
4261
+ ])]), O("main", Go, [v(Ii, {
4262
4262
  viewport: b(_).state.viewport,
4263
4263
  content: b(X).previewResolution.content.value,
4264
4264
  "selected-block-id": b(_).state.selectedBlockId,
@@ -4273,9 +4273,9 @@ var xa = [
4273
4273
  "preview-mode",
4274
4274
  "onSelectBlock"
4275
4275
  ])])], 6),
4276
- n.config.branding === !1 ? x("", !0) : (s(), F(ga, {
4276
+ n.config.branding === !1 ? x("", !0) : (s(), F(_a, {
4277
4277
  key: 0,
4278
- "position-class": [_e.value]
4278
+ "position-class": [ge.value]
4279
4279
  }, null, 8, ["position-class"])),
4280
4280
  O("div", {
4281
4281
  class: "tpl-sr-only",
@@ -4283,14 +4283,14 @@ var xa = [
4283
4283
  "aria-live": "polite",
4284
4284
  "aria-atomic": "true",
4285
4285
  "aria-label": b(X).t.landmarks.reorderAnnouncements
4286
- }, a(b(X).keyboardReorder.announcement.value), 9, Go),
4287
- g(v(la, {
4288
- tab: pe.value,
4289
- "onUpdate:tab": t[3] ||= (e) => pe.value = e,
4286
+ }, a(b(X).keyboardReorder.announcement.value), 9, Ko),
4287
+ g(v(ua, {
4288
+ tab: fe.value,
4289
+ "onUpdate:tab": t[3] ||= (e) => fe.value = e,
4290
4290
  style: f(be.value),
4291
4291
  "selected-block": b(_).selectedBlock.value ? b(T).displayBlock(b(_).selectedBlock.value) : null,
4292
4292
  settings: b(T).settings.value,
4293
- "shifted-left": ge.value,
4293
+ "shifted-left": he.value,
4294
4294
  onUpdateBlock: t[4] ||= (e) => b(_).updateBlock(b(_).state.selectedBlockId, e),
4295
4295
  onDeleteBlock: t[5] ||= () => {
4296
4296
  b(_).state.selectedBlockId && b(X).blockActions.deleteBlock(b(_).state.selectedBlockId);
@@ -4308,12 +4308,12 @@ var xa = [
4308
4308
  ]), [[H, !b(_).state.previewMode]]),
4309
4309
  O("div", {
4310
4310
  ref_key: "topChrome",
4311
- ref: ve,
4311
+ ref: _e,
4312
4312
  class: "tpl-top-chrome tpl:absolute tpl:top-14 tpl:right-0 tpl:left-0 tpl:z-40"
4313
- }, [b(he)?.isAvailable.value ? (s(), F(b(se), {
4313
+ }, [b(me)?.isAvailable.value ? (s(), F(b(se), {
4314
4314
  key: 0,
4315
- feature: b(he)
4316
- }, null, 8, ["feature"])) : x("", !0), n.config.localization ? (s(), F(Nr, {
4315
+ feature: b(me)
4316
+ }, null, 8, ["feature"])) : x("", !0), n.config.localization ? (s(), F(Pr, {
4317
4317
  key: 1,
4318
4318
  editor: b(_),
4319
4319
  locales: n.config.localization.locales,
@@ -4330,8 +4330,8 @@ var xa = [
4330
4330
  ref: (e) => b(X).popoverRoot.value = e,
4331
4331
  class: "tpl-popover-root"
4332
4332
  }, null, 512),
4333
- v(ho),
4334
- v(Io),
4333
+ v(go),
4334
+ v(Lo),
4335
4335
  b(M)?.isAvailable.value ? (s(), F(b(P), {
4336
4336
  key: 0,
4337
4337
  feature: b(M)
@@ -4362,7 +4362,7 @@ var xa = [
4362
4362
  key: 4,
4363
4363
  feature: b(K)
4364
4364
  }, null, 8, ["feature"])) : x("", !0),
4365
- b(d) || Y.value ? (s(), F(or, { key: 5 }, {
4365
+ b(d) || Y.value ? (s(), F(sr, { key: 5 }, {
4366
4366
  default: h(() => [b(d) ? (s(), F(b(ie), {
4367
4367
  key: 0,
4368
4368
  feature: b(d)
@@ -4373,13 +4373,13 @@ var xa = [
4373
4373
  }, null, 8, ["notice"])) : x("", !0)]),
4374
4374
  _: 1
4375
4375
  })) : x("", !0),
4376
- n.cloud && b(D) && b(me) ? (s(), F(b(ae), {
4376
+ n.cloud && b(D) && b(pe) ? (s(), F(b(ae), {
4377
4377
  key: 6,
4378
4378
  editor: b(_),
4379
4379
  core: b(X),
4380
4380
  runtime: n.cloud,
4381
4381
  cloud: b(D),
4382
- ready: b(me)
4382
+ ready: b(pe)
4383
4383
  }, null, 8, [
4384
4384
  "editor",
4385
4385
  "core",
@@ -4387,23 +4387,23 @@ var xa = [
4387
4387
  "cloud",
4388
4388
  "ready"
4389
4389
  ])) : x("", !0),
4390
- b(Se) ? (s(), F(ma, { key: 7 })) : x("", !0)
4391
- ], 46, Lo));
4390
+ b(Se) ? (s(), F(ha, { key: 7 })) : x("", !0)
4391
+ ], 46, Ro));
4392
4392
  }
4393
- }), [["__scopeId", "data-v-0dfeea75"]]), qo = /@import\s*(?:url\(\s*(?:"[^"]*"|'[^']*'|[^)]*)\s*\)|"[^"]*"|'[^']*')[^;]*;/g;
4394
- function Jo(e) {
4395
- return e.replace(qo, "");
4393
+ }), [["__scopeId", "data-v-0dfeea75"]]), Jo = /@import\s*(?:url\(\s*(?:"[^"]*"|'[^']*'|[^)]*)\s*\)|"[^"]*"|'[^']*')[^;]*;/g;
4394
+ function Yo(e) {
4395
+ return e.replace(Jo, "");
4396
4396
  }
4397
4397
  // src/utils/renderProvider.ts
4398
- function Yo(e) {
4398
+ function Xo(e) {
4399
4399
  return {
4400
4400
  customFonts: e.customFonts.value,
4401
4401
  defaultFallback: e.defaultFallback.value
4402
4402
  };
4403
4403
  }
4404
- async function Xo(e, t) {
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;
4406
- return a || (X(o), de(o)), await er(o, {
4404
+ async function Zo(e, t) {
4405
+ let n = De(e.getContent()), r = t?.locale ?? Z(n), i = t?.locale !== void 0 || n.settings?.locales?.length ? we(n, r) : n, a = e.getLayout?.(), o = a ? ue(we(a, r, { missing: "default" }), i) : i;
4406
+ return a || (X(o), be(o)), await tr(o, {
4407
4407
  renderCustomBlock: e.renderCustomBlock,
4408
4408
  getCustomBlockStylesheet: e.getCustomBlockStylesheet
4409
4409
  }), {
@@ -4411,7 +4411,7 @@ async function Xo(e, t) {
4411
4411
  fonts: e.getFonts()
4412
4412
  };
4413
4413
  }
4414
- function Zo(e) {
4414
+ function Qo(e) {
4415
4415
  async function t(t) {
4416
4416
  let n = e.provider, r = n?.toMjml?.bind(n);
4417
4417
  return r ? r(await e.buildPayload(t)) : e.renderLocalMjml(t);
@@ -4437,69 +4437,69 @@ function Zo(e) {
4437
4437
  };
4438
4438
  }
4439
4439
  // \0virtual:editor-css
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) {
4440
+ var $o = "@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-f91fe466] .tpl-email-surface:not(.tpl-email-surface *){filter:invert(1) hue-rotate(180deg)}[data-v-f91fe466] .tpl-email-surface{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-f91fe466] .tpl-email-surface img{filter:invert(1) hue-rotate(180deg)}.tpl-canvas--dark-mode[data-v-f91fe466] .tpl-email-surface.tpl-has-bg-image,.tpl-canvas--dark-mode[data-v-f91fe466] .tpl-email-surface .tpl-has-bg-image{position:relative;isolation:isolate;background-image:none!important}.tpl-canvas--dark-mode[data-v-f91fe466] .tpl-email-surface.tpl-has-bg-image:before,.tpl-canvas--dark-mode[data-v-f91fe466] .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*/", es = null;
4441
+ function ts() {
4442
+ if (es === null) {
4443
4443
  let e = new CSSStyleSheet();
4444
- e.replaceSync(Jo(Qo)), $o = e;
4444
+ e.replaceSync(Yo($o)), es = e;
4445
4445
  }
4446
- return $o;
4446
+ return es;
4447
4447
  }
4448
- function ts(e) {
4448
+ function ns(e) {
4449
4449
  return () => {};
4450
4450
  }
4451
- function ns(e, t) {
4451
+ function rs(e, t) {
4452
4452
  if (!t) return {
4453
4453
  target: e,
4454
4454
  shadowRoot: null,
4455
4455
  cleanup: () => {}
4456
4456
  };
4457
4457
  let n = e.shadowRoot ?? e.attachShadow({ mode: "open" });
4458
- for (n.adoptedStyleSheets = [es()]; n.firstChild;) n.removeChild(n.firstChild);
4458
+ for (n.adoptedStyleSheets = [ts()]; n.firstChild;) n.removeChild(n.firstChild);
4459
4459
  let r = document.createElement("div");
4460
4460
  return r.className = "tpl-editor-host", r.style.cssText = "display:block;height:100%;width:100%;", n.appendChild(r), {
4461
4461
  target: r,
4462
4462
  shadowRoot: n,
4463
- cleanup: ts(n)
4463
+ cleanup: ns(n)
4464
4464
  };
4465
4465
  }
4466
- var rs = /* @__PURE__ */ new Map(), is = null, as = 0, os = /* @__PURE__ */ new WeakMap();
4467
- function ss(e) {
4466
+ var is = /* @__PURE__ */ new Map(), as = null, os = 0, ss = /* @__PURE__ */ new WeakMap();
4467
+ function cs(e) {
4468
4468
  let t = typeof e == "string" ? document.querySelector(e) : e;
4469
4469
  if (!t) throw Error(`[Templatical] Container element not found: ${e}`);
4470
- let n = ++as;
4471
- return os.set(t, n), {
4470
+ let n = ++os;
4471
+ return ss.set(t, n), {
4472
4472
  container: t,
4473
4473
  token: n
4474
4474
  };
4475
4475
  }
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)));
4476
+ function ls(e, t) {
4477
+ let n = is.get(e);
4478
+ n && (t && n.app !== t || (n.cleanup(), n.app.unmount(), is.delete(e), as === e && (as = null)));
4479
4479
  }
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));
4480
+ function us(e) {
4481
+ e.layout && (e.layout = vn(e.layout, e.mergeTags), Te(e.layout)), e.content && (e.content = vn(e.content, e.mergeTags), X(e.content), be(e.content));
4482
4482
  }
4483
- async function us(e) {
4483
+ async function ds(e) {
4484
4484
  let t = { ...e };
4485
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.");
4486
- for (let e of t.localization?.locales ?? []) if (!Ee(e)) throw new Q(`Invalid localization locale "${e}".`);
4486
+ for (let e of t.localization?.locales ?? []) if (!de(e)) throw new Q(`Invalid localization locale "${e}".`);
4487
4487
  let n = t.localization?.doNotTranslate;
4488
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.");
4489
- return ls(t), ds(t, ss(t.container));
4489
+ return us(t), fs(t, cs(t.container));
4490
4490
  }
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({
4491
+ async function fs(e, { container: t, token: n }, r) {
4492
+ e.locale !== void 0 && !Ht(e.locale) && An.warn(`config.locale: "${e.locale}" has no translations — falling back to English. Supported: ${Bt().sort().join(", ")}.`);
4493
+ let i = await zt(e.locale ?? "en"), a = Gt(e.fonts);
4494
+ if (ss.get(t) !== n) return ps({
4495
4495
  config: e,
4496
4496
  editorRef: S(null),
4497
4497
  fontsManager: a,
4498
4498
  unmount: () => {}
4499
4499
  }).instance;
4500
- cs(t);
4501
- let o = ns(t, e.shadowDom ?? !0), s = S(null), c = V({ setup() {
4502
- return () => m(Ko, {
4500
+ ls(t);
4501
+ let o = rs(t, e.shadowDom ?? !0), s = S(null), c = V({ setup() {
4502
+ return () => m(qo, {
4503
4503
  config: e,
4504
4504
  translations: i,
4505
4505
  fontsManager: a,
@@ -4512,23 +4512,23 @@ async function ds(e, { container: t, token: n }, r) {
4512
4512
  ref: s
4513
4513
  });
4514
4514
  } });
4515
- c.mount(o.target), rs.set(t, {
4515
+ c.mount(o.target), is.set(t, {
4516
4516
  app: c,
4517
4517
  editorRef: s,
4518
4518
  cleanup: o.cleanup
4519
- }), is = t;
4520
- let { instance: l, render: u } = fs({
4519
+ }), as = t;
4520
+ let { instance: l, render: u } = ps({
4521
4521
  config: e,
4522
4522
  editorRef: s,
4523
4523
  fontsManager: a,
4524
- unmount: () => cs(t, c)
4524
+ unmount: () => ls(t, c)
4525
4525
  });
4526
4526
  return l;
4527
4527
  }
4528
- function fs({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4528
+ function ps({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4529
4529
  let i = {
4530
4530
  getContent() {
4531
- return t.value ? we(t.value.getContent()) : we(e.content ?? be(e.fonts?.defaultFont, nr(e)));
4531
+ return t.value ? De(t.value.getContent()) : De(e.content ?? Se(e.fonts?.defaultFont, rr(e)));
4532
4532
  },
4533
4533
  getLocale() {
4534
4534
  return t.value?.getLocale() ?? Z(i.getContent());
@@ -4539,7 +4539,7 @@ function fs({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4539
4539
  t.value?.setLocale(n);
4540
4540
  },
4541
4541
  setContent(n) {
4542
- let r = _n(n, e.mergeTags);
4542
+ let r = vn(n, e.mergeTags);
4543
4543
  t.value && t.value.setContent(r), e.content = r;
4544
4544
  },
4545
4545
  refreshPreview() {
@@ -4547,7 +4547,7 @@ function fs({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4547
4547
  },
4548
4548
  insertBlock(n) {
4549
4549
  let r = { blocks: [n] };
4550
- return X(r), de(r), t.value ? t.value.insertBlock(yn(n, e.mergeTags)) : null;
4550
+ return X(r), be(r), t.value ? t.value.insertBlock(bn(n, e.mergeTags)) : null;
4551
4551
  },
4552
4552
  setTheme(e) {
4553
4553
  t.value && t.value.setTheme(e);
@@ -4562,7 +4562,7 @@ function fs({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4562
4562
  create(n) {
4563
4563
  return t.value ? t.value.create(n?.content ? {
4564
4564
  ...n,
4565
- content: _n(n.content, e.mergeTags)
4565
+ content: vn(n.content, e.mergeTags)
4566
4566
  } : n) : Promise.reject(/* @__PURE__ */ Error("[Templatical] Editor not ready"));
4567
4567
  },
4568
4568
  load(e) {
@@ -4582,20 +4582,20 @@ function fs({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4582
4582
  },
4583
4583
  toMjml: (e) => a.toMjml(e),
4584
4584
  toHtml: (e) => a.toHtml(e)
4585
- }, a = Zo({
4585
+ }, a = Qo({
4586
4586
  provider: e.render,
4587
- buildPayload: (t) => Xo({
4587
+ buildPayload: (t) => Zo({
4588
4588
  getContent: () => i.getContent(),
4589
4589
  renderCustomBlock: (e) => i.renderCustomBlock(e),
4590
4590
  getCustomBlockStylesheet: (e) => i.getCustomBlockStylesheet(e),
4591
- getFonts: () => Yo(n),
4591
+ getFonts: () => Xo(n),
4592
4592
  getLayout: () => e.layout
4593
4593
  }, t),
4594
- renderLocalMjml: (t) => mi({
4594
+ renderLocalMjml: (t) => hi({
4595
4595
  getContent: () => i.getContent(),
4596
4596
  renderCustomBlock: (e) => i.renderCustomBlock(e),
4597
4597
  getCustomBlockStylesheet: (e) => i.getCustomBlockStylesheet(e),
4598
- getFonts: () => Yo(n),
4598
+ getFonts: () => Xo(n),
4599
4599
  socialIconsBaseUrl: e.socialIconsBaseUrl,
4600
4600
  getLayout: () => e.layout
4601
4601
  }, ...t ? [t] : [])
@@ -4605,18 +4605,18 @@ function fs({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4605
4605
  render: a
4606
4606
  };
4607
4607
  }
4608
- async function ps(e) {
4608
+ async function ms(e) {
4609
4609
  let t = {
4610
4610
  layout: e.layout,
4611
4611
  content: e.content,
4612
4612
  mergeTags: e.mergeTags
4613
4613
  };
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({
4614
+ us(t);
4615
+ let n = cs(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./createCloudRuntime-BdoKeYJi.js"), Lt(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
4616
4616
  config: e,
4617
4617
  cloudTranslations: i
4618
4618
  });
4619
- return ds({
4619
+ return fs({
4620
4620
  container: e.container,
4621
4621
  content: t.content,
4622
4622
  layout: t.layout,
@@ -4661,7 +4661,7 @@ async function ps(e) {
4661
4661
  user: s
4662
4662
  }, n, a);
4663
4663
  }
4664
- function ms() {
4665
- is && cs(is);
4664
+ function hs() {
4665
+ as && ls(as);
4666
4666
  }
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 };
4667
+ export { Tn as AI_ALT_TEXT_RULES, Dn as AI_FIXABLE_RULES, ue as applyLayout, Se as createDefaultTemplateContent, oe as createLocalStorageMediaProvider, q as createLocalStorageSavedBlocksProvider, he as createParagraphBlock, Ce as createSlotBlock, Ne as createWrapperBlock, Ft as getBaseLocale, tn as getSupportedCloudLocales, Bt as getSupportedLocales, ds as init, ms as initCloud, Vt as isCloudLocaleSupported, Ht as isLocaleSupported, le as isSlot, ye as isWrapper, xe as layoutWrapsSlot, hs as unmount, Te as validateLayout };