@templatical/editor 0.27.2 → 0.27.3
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.
- package/dist/{AiChatSidebar-iVJDzqjr.js → AiChatSidebar-inzMb2Vi.js} +1 -1
- package/dist/{AiFeatureMenu-DrLGc2H2.js → AiFeatureMenu-BTdgjwdx.js} +3 -3
- package/dist/{BlockIssueBadge-BHysq7XQ.js → BlockIssueBadge-a7jENlL4.js} +2 -2
- package/dist/{BlockPreviewCanvas-2WASf5A4.js → BlockPreviewCanvas-CMuRmhQg.js} +2 -2
- package/dist/{CloudHeaderExtras-DWApyc4P.js → CloudHeaderExtras-Bgr-Ox9M.js} +2 -2
- package/dist/{CloudPanels-DvOhGdRj.js → CloudPanels-oFNlTOO5.js} +3 -3
- package/dist/{CollaboratorBar-C6MC0UCk.js → CollaboratorBar-BHja900c.js} +2 -2
- package/dist/{ColorPicker-Di8L5TLQ.js → ColorPicker-ClUa_hMj.js} +3 -3
- package/dist/{CommentsPanel-D5wQB1Kf.js → CommentsPanel-CB1-poNb.js} +1 -1
- package/dist/{CommentsSidebar-BoTIxpLE.js → CommentsSidebar-B6mV8ft4.js} +2 -2
- package/dist/{CountdownBlock-BFX8iU90.js → CountdownBlock-qKtJVRIV.js} +1 -1
- package/dist/{CountdownToolbar-d9QM4m5x.js → CountdownToolbar-BpnKUXN_.js} +2 -2
- package/dist/{DesignReferenceSidebar-DKsx2TiL.js → DesignReferenceSidebar-BC5UxrJl.js} +2 -2
- package/dist/{IssuesPanel-flKKwKpM.js → IssuesPanel-BFczwZkL.js} +38 -37
- package/dist/{MergeTagModeToggle-PKCoKAoF.js → MergeTagModeToggle-koHNtEJe.js} +2 -2
- package/dist/{ParagraphEditor-iwTjkjtx.js → ParagraphEditor-cKosDi_l.js} +7 -7
- package/dist/{RestoreVersionDialog-DyMPGfsr.js → RestoreVersionDialog-DpZmcFuf.js} +2 -2
- package/dist/{RichTextEditorContent-BVXG9oF4.js → RichTextEditorContent-Br3WBNOs.js} +4 -4
- package/dist/{SaveBlockDialog-BMCAIfK9.js → SaveBlockDialog-C7mSGScN.js} +5 -5
- package/dist/{SavedBlocksBrowserModal-p5ma1qay.js → SavedBlocksBrowserModal-D7MYzuVP.js} +6 -6
- package/dist/{SavedBlocksPanels-BsiSstsZ.js → SavedBlocksPanels-D5T63WyR.js} +1 -1
- package/dist/{SavedBlocksPickBar-fU4Mjm-8.js → SavedBlocksPickBar-BluJS58M.js} +2 -2
- package/dist/{TemplateScoringPanel-Bv_bBsJi.js → TemplateScoringPanel-C0z27t2p.js} +2 -2
- package/dist/{TestEmailModal-EFYcrmTk.js → TestEmailModal-DoSIuHXe.js} +6 -6
- package/dist/{TestEmailPanel-ljriUqs1.js → TestEmailPanel-3Y6uUX3Z.js} +1 -1
- package/dist/{TitleEditor-BqRW7HTz.js → TitleEditor-D9IWtoH3.js} +6 -6
- package/dist/{TplModal-CTC9-w6B.js → TplModal-CyBCFn5s.js} +3 -3
- package/dist/{VersionHistoryMenu-Cq4rH56t.js → VersionHistoryMenu-8nd_aOnh.js} +1 -1
- package/dist/{VersionHistoryPanels-GkxkBiSi.js → VersionHistoryPanels-Cm7MxfrI.js} +1 -1
- package/dist/{VersionPreviewBanner-BdtTu9mI.js → VersionPreviewBanner-B9w773jz.js} +1 -1
- package/dist/{blockTypeIcons-CIrMr1SJ.js → blockTypeIcons-BRCuWioG.js} +1 -1
- package/dist/bundle-stats.json +7 -7
- package/dist/cdn/chunks/{AiChatSidebar-DTUoBH5a.js → AiChatSidebar-BIvQg9Q5.js} +2 -2
- package/dist/cdn/chunks/{AiChatSidebar-DTUoBH5a.js.map → AiChatSidebar-BIvQg9Q5.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-BQz9Kczt.js → AiFeatureMenu-BMvcmvDZ.js} +4 -4
- package/dist/cdn/chunks/{AiFeatureMenu-BQz9Kczt.js.map → AiFeatureMenu-BMvcmvDZ.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-UzSSOM_2.js → BlockIssueBadge-Drrmjqd7.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-UzSSOM_2.js.map → BlockIssueBadge-Drrmjqd7.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-40ocpXDD.js → BlockPreviewCanvas-CuWJLv8h.js} +3 -3
- package/dist/cdn/chunks/{BlockPreviewCanvas-40ocpXDD.js.map → BlockPreviewCanvas-CuWJLv8h.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-F_ySlW1S.js → CloudHeaderExtras-Ctat5U0M.js} +3 -3
- package/dist/cdn/chunks/{CloudHeaderExtras-F_ySlW1S.js.map → CloudHeaderExtras-Ctat5U0M.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-C34bcHpc.js → CloudPanels-YRYmXE9O.js} +4 -4
- package/dist/cdn/chunks/{CloudPanels-C34bcHpc.js.map → CloudPanels-YRYmXE9O.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-WBtrPPnM.js → CollaboratorBar-DgdxBCkN.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-WBtrPPnM.js.map → CollaboratorBar-DgdxBCkN.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-CxKYd_8N.js → ColorPicker-B-we7_bC.js} +4 -4
- package/dist/cdn/chunks/{ColorPicker-CxKYd_8N.js.map → ColorPicker-B-we7_bC.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-jzZ2X0P4.js → CommentsPanel-D7Y-74Nj.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-jzZ2X0P4.js.map → CommentsPanel-D7Y-74Nj.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-Dxke-vUP.js → CommentsSidebar-DxTobvYS.js} +3 -3
- package/dist/cdn/chunks/{CommentsSidebar-Dxke-vUP.js.map → CommentsSidebar-DxTobvYS.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-BYSrJWxg.js → CountdownBlock-BKrYGRiT.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-BYSrJWxg.js.map → CountdownBlock-BKrYGRiT.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-pVbkPNVo.js → CountdownToolbar-D8QWL-jK.js} +3 -3
- package/dist/cdn/chunks/{CountdownToolbar-pVbkPNVo.js.map → CountdownToolbar-D8QWL-jK.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-sZWciECR.js → DesignReferenceSidebar-D9Lm4Al0.js} +3 -3
- package/dist/cdn/chunks/{DesignReferenceSidebar-sZWciECR.js.map → DesignReferenceSidebar-D9Lm4Al0.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-CHtetM9i.js → IssuesPanel-Dz90c1C6.js} +36 -34
- package/dist/cdn/chunks/IssuesPanel-Dz90c1C6.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagModeToggle-ZwW-5EeN.js → MergeTagModeToggle-CfFrfYNC.js} +3 -3
- package/dist/cdn/chunks/{MergeTagModeToggle-ZwW-5EeN.js.map → MergeTagModeToggle-CfFrfYNC.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-BBcIQQK2.js → ParagraphEditor-Be-BO5hD.js} +8 -8
- package/dist/cdn/chunks/{ParagraphEditor-BBcIQQK2.js.map → ParagraphEditor-Be-BO5hD.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-DNUZHFa_.js → RestoreVersionDialog-CKtz_FEz.js} +3 -3
- package/dist/cdn/chunks/{RestoreVersionDialog-DNUZHFa_.js.map → RestoreVersionDialog-CKtz_FEz.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Cl-acKAD.js → RichTextEditorContent-D3eWZ793.js} +5 -5
- package/dist/cdn/chunks/{RichTextEditorContent-Cl-acKAD.js.map → RichTextEditorContent-D3eWZ793.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-BXTZ729e.js → SaveBlockDialog-C5nT7Fxi.js} +6 -6
- package/dist/cdn/chunks/{SaveBlockDialog-BXTZ729e.js.map → SaveBlockDialog-C5nT7Fxi.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BqGNBpRR.js → SavedBlocksBrowserModal-Cvyewimb.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BqGNBpRR.js.map → SavedBlocksBrowserModal-Cvyewimb.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-nbK0UQTp.js → SavedBlocksPanels-B7aBlxKW.js} +2 -2
- package/dist/cdn/chunks/SavedBlocksPanels-B7aBlxKW.js.map +1 -0
- package/dist/cdn/chunks/{SavedBlocksPickBar-B9mbw3Gk.js → SavedBlocksPickBar-D0opM9P9.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPickBar-B9mbw3Gk.js.map → SavedBlocksPickBar-D0opM9P9.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-Xdkp2EMY.js → TemplateScoringPanel-DEsNZlHe.js} +3 -3
- package/dist/cdn/chunks/{TemplateScoringPanel-Xdkp2EMY.js.map → TemplateScoringPanel-DEsNZlHe.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-DE6fi3he.js → TestEmailModal-BANpGbEP.js} +7 -7
- package/dist/cdn/chunks/{TestEmailModal-DE6fi3he.js.map → TestEmailModal-BANpGbEP.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-CAjQDXle.js → TestEmailPanel-DItZMP3B.js} +2 -2
- package/dist/cdn/chunks/TestEmailPanel-DItZMP3B.js.map +1 -0
- package/dist/cdn/chunks/{TitleEditor-BP0ewaWF.js → TitleEditor-D_NJ4Ww8.js} +7 -7
- package/dist/cdn/chunks/{TitleEditor-BP0ewaWF.js.map → TitleEditor-D_NJ4Ww8.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-C4kJduTr.js → TplModal-C51W8LTn.js} +4 -4
- package/dist/cdn/chunks/{TplModal-C4kJduTr.js.map → TplModal-C51W8LTn.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-_MAj3qZj.js → VersionHistoryMenu-Cv23A0uu.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryMenu-_MAj3qZj.js.map → VersionHistoryMenu-Cv23A0uu.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-DMq2PRee.js → VersionHistoryPanels-DHDN1owI.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-DMq2PRee.js.map → VersionHistoryPanels-DHDN1owI.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-04CL1SGY.js → VersionPreviewBanner-Dw4kFkrh.js} +2 -2
- package/dist/cdn/chunks/VersionPreviewBanner-Dw4kFkrh.js.map +1 -0
- package/dist/cdn/chunks/{createCloudRuntime-gXA8_QRU.js → createCloudRuntime-D75oJ9j-.js} +2 -2
- package/dist/cdn/chunks/{createCloudRuntime-gXA8_QRU.js.map → createCloudRuntime-D75oJ9j-.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-CMcVw2uu.js → extensions-Byo2sA1r.js} +3 -3
- package/dist/cdn/chunks/{extensions-CMcVw2uu.js.map → extensions-Byo2sA1r.js.map} +1 -1
- package/dist/cdn/chunks/{keys-CbQuRX85.js → keys-oJdkdtPn.js} +2 -2
- package/dist/cdn/chunks/{keys-CbQuRX85.js.map → keys-oJdkdtPn.js.map} +1 -1
- package/dist/cdn/chunks/{src-D5lajkK5.js → src-B_pCqXyM.js} +2 -2
- package/dist/cdn/chunks/{src-D5lajkK5.js.map → src-B_pCqXyM.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-NVa1aeY8.js → useCloudI18n-Ch-SiRjU.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-NVa1aeY8.js.map → useCloudI18n-Ch-SiRjU.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-DC8gmfs6.js → useEditorCore-BtEO1qms.js} +127 -134
- package/dist/cdn/chunks/useEditorCore-BtEO1qms.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-Cxnmf5hM.js +10 -0
- package/dist/cdn/chunks/useEditorRoot-Cxnmf5hM.js.map +1 -0
- package/dist/cdn/chunks/{useI18n-DVWCJJFH.js → useI18n-4sUbTM3Y.js} +3 -3
- package/dist/cdn/chunks/useI18n-4sUbTM3Y.js.map +1 -0
- package/dist/cdn/chunks/{useMergeTag-BfZBRPQp.js → useMergeTag-DxjTEyin.js} +2 -2
- package/dist/cdn/chunks/{useMergeTag-BfZBRPQp.js.map → useMergeTag-DxjTEyin.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-BC-HA7TK.js → usePopoverPosition-C1N2kaiZ.js} +2 -2
- package/dist/cdn/chunks/{usePopoverPosition-BC-HA7TK.js.map → usePopoverPosition-C1N2kaiZ.js.map} +1 -1
- package/dist/cdn/chunks/useScrollToBlock-BvWAfWd8.js +22 -0
- package/dist/cdn/chunks/useScrollToBlock-BvWAfWd8.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +758 -734
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{createCloudRuntime-Bt8W-ajI.js → createCloudRuntime-FEZG-Gve.js} +1 -1
- package/dist/{extensions-CX87G4aL.js → extensions-BV9qfsYr.js} +2 -2
- package/dist/{keys-BxixS0TN.js → keys-CVpi8xCT.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +854 -831
- package/dist/{useCloudI18n-CAZTZ9_a.js → useCloudI18n-DmWo4nzs.js} +2 -2
- package/dist/{useEditorCore-CFLzobo_.js → useEditorCore-DoKDh27o.js} +469 -476
- package/dist/useEditorRoot-DKyG95pb.js +8 -0
- package/dist/{useI18n-BfXff_Sy.js → useI18n-CvYvat9_.js} +2 -2
- package/dist/{useMergeTag-Dd4I7kge.js → useMergeTag-D6Z6cyDa.js} +1 -1
- package/dist/{usePopoverPosition-CxhCX3SQ.js → usePopoverPosition-WslxM_PU.js} +1 -1
- package/dist/useScrollToBlock-KA65jhQ_.js +44 -0
- package/package.json +7 -7
- package/dist/cdn/chunks/IssuesPanel-CHtetM9i.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksPanels-nbK0UQTp.js.map +0 -1
- package/dist/cdn/chunks/TestEmailPanel-CAjQDXle.js.map +0 -1
- package/dist/cdn/chunks/VersionPreviewBanner-04CL1SGY.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-DC8gmfs6.js.map +0 -1
- package/dist/cdn/chunks/useI18n-DVWCJJFH.js.map +0 -1
- package/dist/list-checks-jw-ZlvWY.js +0 -25
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import { A as e, B as t, D as n, Dt as r, G as i, J as a, L as o, M as s, O as c, Ot as l, P as u, S as d, T as f, U as p, X as m, _ as h, b as g, c as _, d as v, g as y, h as b, j as x, k as S, kt as C, l as w, p as T, q as E, r as D, rt as O, s as k, u as A, v as j, z as M } from "./vue.runtime.esm-bundler-DzEsDRtY.js";
|
|
2
2
|
import { a as N, c as P, n as F, o as I, s as L, t as R } from "./runtime-dom.esm-bundler-BgKXIPLV.js";
|
|
3
3
|
import { A as z, D as B, E as V, M as ee, N as H, R as U, T as W, a as G, c as te, f as ne, k as K, l as re, p as ie, s as ae, z as oe } from "./dist-B1kLn1rs.js";
|
|
4
|
-
import { F as se, G as ce, I as le, J as ue, K as de, M as fe, O as pe, P as me, R as he, T as ge, V as _e, W as ve, X as ye, Y as be, _ as xe, a as Se, b as Ce, c as we, f as Te, g as Ee, h as De, i as Oe, l as ke, m as Ae, n as je, o as Me, p as Ne, q as Pe, r as Fe, s as Ie, t as Le, u as Re, v as ze, w as Be, x as Ve, y as He, z as Ue } from "./useEditorCore-
|
|
4
|
+
import { F as se, G as ce, I as le, J as ue, K as de, M as fe, O as pe, P as me, R as he, T as ge, V as _e, W as ve, X as ye, Y as be, _ as xe, a as Se, b as Ce, c as we, f as Te, g as Ee, h as De, i as Oe, l as ke, m as Ae, n as je, o as Me, p as Ne, q as Pe, r as Fe, s as Ie, t as Le, u as Re, v as ze, w as Be, x as Ve, y as He, z as Ue } from "./useEditorCore-DoKDh27o.js";
|
|
5
5
|
import { c as We, m as Ge, p as Ke } from "./dist-CqcGTIiX.js";
|
|
6
6
|
import { i as qe } from "./dist-B5iReTtK.js";
|
|
7
|
-
import { B as Je, D as Ye, F as Xe, H as Ze, L as Qe, N as $e, O as et, U as tt, V as nt, W as rt, _ as it, c as at, d as ot, f as st, h as ct, j as lt, k as ut, m as dt, n as ft, o as pt, p as mt, r as ht, s as gt, u as _t, w as vt, z as yt } from "./keys-
|
|
8
|
-
import { t as q } from "./useI18n-
|
|
7
|
+
import { B as Je, D as Ye, F as Xe, H as Ze, L as Qe, N as $e, O as et, U as tt, V as nt, W as rt, _ as it, c as at, d as ot, f as st, h as ct, j as lt, k as ut, m as dt, n as ft, o as pt, p as mt, r as ht, s as gt, u as _t, w as vt, z as yt } from "./keys-CVpi8xCT.js";
|
|
8
|
+
import { t as q } from "./useI18n-CvYvat9_.js";
|
|
9
9
|
import { t as bt } from "./logger-BBlvSn6q.js";
|
|
10
|
-
import { a as xt, n as St } from "./usePopoverPosition-
|
|
10
|
+
import { a as xt, n as St } from "./usePopoverPosition-WslxM_PU.js";
|
|
11
11
|
import { t as J } from "./createLucideIcon-L-wQXW_R.js";
|
|
12
12
|
import { n as Ct, t as wt } from "./scan-line-DyaSTsJ5.js";
|
|
13
13
|
import { t as Tt } from "./check-DZbmkMQe.js";
|
|
14
14
|
import { t as Et } from "./chevron-down-nYScOLeZ.js";
|
|
15
15
|
import { t as Dt } from "./circle-alert-CuuK6thq.js";
|
|
16
|
-
import { i as Ot, n as kt, r as At, t as jt } from "./blockTypeIcons-
|
|
16
|
+
import { i as Ot, n as kt, r as At, t as jt } from "./blockTypeIcons-BRCuWioG.js";
|
|
17
17
|
import { n as Mt, t as Nt } from "./refresh-cw-OK_O-cL0.js";
|
|
18
18
|
import { t as Pt } from "./image-up-DouZRGVt.js";
|
|
19
19
|
import { t as Ft } from "./info-puX5V6Iq.js";
|
|
20
|
-
import {
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { i as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import { n as
|
|
27
|
-
import { t as
|
|
28
|
-
import { t as
|
|
29
|
-
import { t as
|
|
30
|
-
import { t as
|
|
31
|
-
import { t as
|
|
32
|
-
import { t as
|
|
33
|
-
import { t as
|
|
34
|
-
import { t as
|
|
35
|
-
import { n as
|
|
36
|
-
import { t as
|
|
37
|
-
import { S as
|
|
38
|
-
import { t as $ } from "./ColorPicker-
|
|
39
|
-
import { n as
|
|
40
|
-
import { i as
|
|
41
|
-
import { t as
|
|
42
|
-
import { t as
|
|
43
|
-
var
|
|
20
|
+
import { n as It, t as Lt } from "./useScrollToBlock-KA65jhQ_.js";
|
|
21
|
+
import { t as Rt } from "./loader-circle-DqTxB7Kr.js";
|
|
22
|
+
import { t as zt } from "./message-circle-BZ7YpB22.js";
|
|
23
|
+
import { i as Bt, n as Vt, r as Ht, t as Ut } from "./MergeTagModeToggle-koHNtEJe.js";
|
|
24
|
+
import { t as Wt } from "./send-B-wasJJC.js";
|
|
25
|
+
import { t as Gt } from "./sparkles-DYEMATWC.js";
|
|
26
|
+
import { n as Kt, r as qt, t as Jt } from "./text-align-start-CzjLeBLe.js";
|
|
27
|
+
import { t as Yt } from "./trash-2-C0shEPry.js";
|
|
28
|
+
import { t as Xt } from "./upload-D69C2CBx.js";
|
|
29
|
+
import { t as Zt } from "./x-BjTlFqRv.js";
|
|
30
|
+
import { t as Qt } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
31
|
+
import { t as $t } from "./useCloudI18n-DmWo4nzs.js";
|
|
32
|
+
import { t as en } from "./useMergeTag-D6Z6cyDa.js";
|
|
33
|
+
import { t as tn } from "./useAliveFlag-BGIAZii_.js";
|
|
34
|
+
import { t as nn } from "./preRenderCustomBlocks-BebjKtmw.js";
|
|
35
|
+
import { n as rn, t as an } from "./emailFrameWidth-BmFCN2dp.js";
|
|
36
|
+
import { t as on } from "./readableTextColor-f8Kykfnh.js";
|
|
37
|
+
import { S as sn, _ as cn, b as ln, c as un, g as Y, h as X, l as dn, m as Z, p as Q, r as fn, t as pn, y as mn } from "./styleConstants-9oK5kn21.js";
|
|
38
|
+
import { t as $ } from "./ColorPicker-ClUa_hMj.js";
|
|
39
|
+
import { n as hn, r as gn } from "./MergeTagSuggestion-DGha0WRp.js";
|
|
40
|
+
import { i as _n, n as vn, r as yn, t as bn } from "./NumberWithSuffix-D9mPtMJB.js";
|
|
41
|
+
import { t as xn } from "./formatRelativeTime-CtUU-QZ8.js";
|
|
42
|
+
import { t as Sn } from "./TplModal-CyBCFn5s.js";
|
|
43
|
+
var Cn = J("circle", [["circle", {
|
|
44
44
|
cx: "12",
|
|
45
45
|
cy: "12",
|
|
46
46
|
r: "10",
|
|
47
47
|
key: "1mglay"
|
|
48
|
-
}]]),
|
|
48
|
+
}]]), wn = J("globe", [
|
|
49
49
|
["circle", {
|
|
50
50
|
cx: "12",
|
|
51
51
|
cy: "12",
|
|
@@ -60,7 +60,7 @@ var Sn = J("circle", [["circle", {
|
|
|
60
60
|
d: "M2 12h20",
|
|
61
61
|
key: "9i4pu4"
|
|
62
62
|
}]
|
|
63
|
-
]),
|
|
63
|
+
]), Tn = J("layout-template", [
|
|
64
64
|
["rect", {
|
|
65
65
|
width: "18",
|
|
66
66
|
height: "7",
|
|
@@ -85,7 +85,7 @@ var Sn = J("circle", [["circle", {
|
|
|
85
85
|
rx: "1",
|
|
86
86
|
key: "q5h2i8"
|
|
87
87
|
}]
|
|
88
|
-
]),
|
|
88
|
+
]), En = J("lock-open", [["rect", {
|
|
89
89
|
width: "18",
|
|
90
90
|
height: "11",
|
|
91
91
|
x: "3",
|
|
@@ -96,7 +96,7 @@ var Sn = J("circle", [["circle", {
|
|
|
96
96
|
}], ["path", {
|
|
97
97
|
d: "M7 11V7a5 5 0 0 1 9.9-1",
|
|
98
98
|
key: "1mm8w8"
|
|
99
|
-
}]]),
|
|
99
|
+
}]]), Dn = J("lock", [["rect", {
|
|
100
100
|
width: "18",
|
|
101
101
|
height: "11",
|
|
102
102
|
x: "3",
|
|
@@ -107,10 +107,10 @@ var Sn = J("circle", [["circle", {
|
|
|
107
107
|
}], ["path", {
|
|
108
108
|
d: "M7 11V7a5 5 0 0 1 10 0v4",
|
|
109
109
|
key: "fwvmzm"
|
|
110
|
-
}]]),
|
|
110
|
+
}]]), On = J("moon", [["path", {
|
|
111
111
|
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",
|
|
112
112
|
key: "kfwtm"
|
|
113
|
-
}]]),
|
|
113
|
+
}]]), kn = J("panel-top", [["rect", {
|
|
114
114
|
width: "18",
|
|
115
115
|
height: "18",
|
|
116
116
|
x: "3",
|
|
@@ -120,19 +120,19 @@ var Sn = J("circle", [["circle", {
|
|
|
120
120
|
}], ["path", {
|
|
121
121
|
d: "M3 9h18",
|
|
122
122
|
key: "1pudct"
|
|
123
|
-
}]]),
|
|
123
|
+
}]]), An = J("plus", [["path", {
|
|
124
124
|
d: "M5 12h14",
|
|
125
125
|
key: "1ays0h"
|
|
126
126
|
}], ["path", {
|
|
127
127
|
d: "M12 5v14",
|
|
128
128
|
key: "s699le"
|
|
129
|
-
}]]),
|
|
129
|
+
}]]), jn = J("rotate-ccw", [["path", {
|
|
130
130
|
d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",
|
|
131
131
|
key: "1357e3"
|
|
132
132
|
}], ["path", {
|
|
133
133
|
d: "M3 3v5h5",
|
|
134
134
|
key: "1xhq8a"
|
|
135
|
-
}]]),
|
|
135
|
+
}]]), Mn = J("save", [
|
|
136
136
|
["path", {
|
|
137
137
|
d: "M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",
|
|
138
138
|
key: "1c8476"
|
|
@@ -145,7 +145,7 @@ var Sn = J("circle", [["circle", {
|
|
|
145
145
|
d: "M7 3v4a1 1 0 0 0 1 1h7",
|
|
146
146
|
key: "t51u73"
|
|
147
147
|
}]
|
|
148
|
-
]),
|
|
148
|
+
]), Nn = J("settings", [["path", {
|
|
149
149
|
d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",
|
|
150
150
|
key: "1i5ecw"
|
|
151
151
|
}], ["circle", {
|
|
@@ -153,7 +153,7 @@ var Sn = J("circle", [["circle", {
|
|
|
153
153
|
cy: "12",
|
|
154
154
|
r: "3",
|
|
155
155
|
key: "1v7zrd"
|
|
156
|
-
}]]),
|
|
156
|
+
}]]), Pn = J("square-plus", [
|
|
157
157
|
["rect", {
|
|
158
158
|
width: "18",
|
|
159
159
|
height: "18",
|
|
@@ -170,14 +170,14 @@ var Sn = J("circle", [["circle", {
|
|
|
170
170
|
d: "M12 8v8",
|
|
171
171
|
key: "napkw2"
|
|
172
172
|
}]
|
|
173
|
-
]),
|
|
173
|
+
]), Fn = J("square", [["rect", {
|
|
174
174
|
width: "18",
|
|
175
175
|
height: "18",
|
|
176
176
|
x: "3",
|
|
177
177
|
y: "3",
|
|
178
178
|
rx: "2",
|
|
179
179
|
key: "afitv7"
|
|
180
|
-
}]]),
|
|
180
|
+
}]]), In = J("sun", [
|
|
181
181
|
["circle", {
|
|
182
182
|
cx: "12",
|
|
183
183
|
cy: "12",
|
|
@@ -219,7 +219,7 @@ var Sn = J("circle", [["circle", {
|
|
|
219
219
|
]);
|
|
220
220
|
//#endregion
|
|
221
221
|
//#region src/composables/useCommentsFeature.ts
|
|
222
|
-
function
|
|
222
|
+
function Ln(e) {
|
|
223
223
|
let { provider: t, editor: n } = e, r = de({
|
|
224
224
|
provider: t,
|
|
225
225
|
getTemplateId: () => n.state.template?.id ?? null,
|
|
@@ -280,7 +280,7 @@ function In(e) {
|
|
|
280
280
|
}
|
|
281
281
|
//#endregion
|
|
282
282
|
//#region src/composables/useSavedBlocksFeature.ts
|
|
283
|
-
function
|
|
283
|
+
function Rn(t) {
|
|
284
284
|
let { provider: n, editor: r } = t, i = be({
|
|
285
285
|
provider: n,
|
|
286
286
|
onError: t.onError
|
|
@@ -362,11 +362,11 @@ function Ln(t) {
|
|
|
362
362
|
}
|
|
363
363
|
//#endregion
|
|
364
364
|
//#region src/composables/useTemplatesFeature.ts
|
|
365
|
-
var
|
|
366
|
-
function
|
|
365
|
+
var zn = 3e3;
|
|
366
|
+
function Bn(e) {
|
|
367
367
|
let { provider: t, editor: n } = e, r = m("idle"), i = m(""), { start: a, stop: o } = Ge(() => {
|
|
368
368
|
r.value = "idle";
|
|
369
|
-
},
|
|
369
|
+
}, zn, { immediate: !1 }), s = k(() => typeof t.create == "function"), c = k(() => typeof t.save == "function"), l = k(() => e.isAvailable?.() ?? !0), u = k(() => n.state.template?.name), d = k(() => {
|
|
370
370
|
let e = n.state.template;
|
|
371
371
|
return e?.updatedAt ? {
|
|
372
372
|
iso: e.updatedAt,
|
|
@@ -473,15 +473,15 @@ function zn(e) {
|
|
|
473
473
|
}
|
|
474
474
|
//#endregion
|
|
475
475
|
//#region src/utils/toMjml.ts
|
|
476
|
-
async function
|
|
476
|
+
async function Vn() {
|
|
477
477
|
try {
|
|
478
478
|
return await import("@templatical/renderer");
|
|
479
479
|
} catch {
|
|
480
480
|
return null;
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
async function
|
|
484
|
-
let t = await
|
|
483
|
+
async function Hn(e) {
|
|
484
|
+
let t = await Vn();
|
|
485
485
|
if (!t) throw Error("[Templatical] toMjml() requires the @templatical/renderer package. Please install it.");
|
|
486
486
|
let n = e.getCustomBlockStylesheet, r = e.getFonts?.();
|
|
487
487
|
return t.renderToMjml(e.getContent(), {
|
|
@@ -495,8 +495,8 @@ async function Vn(e) {
|
|
|
495
495
|
}
|
|
496
496
|
//#endregion
|
|
497
497
|
//#region src/composables/useTestEmailFeature.ts
|
|
498
|
-
var
|
|
499
|
-
function
|
|
498
|
+
var Un = 1200;
|
|
499
|
+
function Wn(e) {
|
|
500
500
|
let { provider: t } = e, n = m(!1), r = m(!1), i = m(!1), a = m(null), o = null, s = !1;
|
|
501
501
|
function c() {
|
|
502
502
|
o !== null && (clearTimeout(o), o = null);
|
|
@@ -518,7 +518,7 @@ function Un(e) {
|
|
|
518
518
|
if (!(!t.includeMjml || !e.renderMjml)) try {
|
|
519
519
|
return await e.renderMjml();
|
|
520
520
|
} catch (e) {
|
|
521
|
-
if (await
|
|
521
|
+
if (await Vn() === null) {
|
|
522
522
|
s || (s = !0, bt.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
|
|
523
523
|
return;
|
|
524
524
|
}
|
|
@@ -540,7 +540,7 @@ function Un(e) {
|
|
|
540
540
|
content: e.getContent(),
|
|
541
541
|
...r === void 0 ? {} : { mjml: r },
|
|
542
542
|
...s === void 0 ? {} : { allowedRecipients: s }
|
|
543
|
-
}), i.value = !0, o = setTimeout(p,
|
|
543
|
+
}), i.value = !0, o = setTimeout(p, Un);
|
|
544
544
|
} catch (t) {
|
|
545
545
|
let n = t instanceof Error ? t : Error(String(t));
|
|
546
546
|
a.value = {
|
|
@@ -570,7 +570,7 @@ function Un(e) {
|
|
|
570
570
|
}
|
|
571
571
|
//#endregion
|
|
572
572
|
//#region src/composables/useVersionHistoryFeature.ts
|
|
573
|
-
function
|
|
573
|
+
function Gn(e) {
|
|
574
574
|
let { provider: t, editor: n, history: r, conditionPreview: i, autoSave: a } = e, o = ye({
|
|
575
575
|
provider: t,
|
|
576
576
|
getTemplateId: () => n.state.template?.id ?? null,
|
|
@@ -681,7 +681,7 @@ function Wn(e) {
|
|
|
681
681
|
}
|
|
682
682
|
//#endregion
|
|
683
683
|
//#region src/types/auto-save.ts
|
|
684
|
-
function
|
|
684
|
+
function Kn(e, t) {
|
|
685
685
|
return e === void 0 ? { enabled: t } : typeof e == "boolean" ? { enabled: e } : {
|
|
686
686
|
enabled: !0,
|
|
687
687
|
debounce: e.debounce
|
|
@@ -689,7 +689,7 @@ function Gn(e, t) {
|
|
|
689
689
|
}
|
|
690
690
|
//#endregion
|
|
691
691
|
//#region src/utils/resolveLintOptions.ts
|
|
692
|
-
function
|
|
692
|
+
function qn(e) {
|
|
693
693
|
return {
|
|
694
694
|
...e.lint,
|
|
695
695
|
locale: e.locale
|
|
@@ -697,20 +697,20 @@ function Kn(e) {
|
|
|
697
697
|
}
|
|
698
698
|
//#endregion
|
|
699
699
|
//#region src/utils/renderProvider.ts
|
|
700
|
-
function
|
|
700
|
+
function Jn(e) {
|
|
701
701
|
return {
|
|
702
702
|
customFonts: e.customFonts.value,
|
|
703
703
|
defaultFallback: e.defaultFallback.value
|
|
704
704
|
};
|
|
705
705
|
}
|
|
706
|
-
async function
|
|
706
|
+
async function Yn(e) {
|
|
707
707
|
let t = oe(e.getContent());
|
|
708
|
-
return await
|
|
708
|
+
return await nn(t, { renderCustomBlock: e.renderCustomBlock }), {
|
|
709
709
|
content: t,
|
|
710
710
|
fonts: e.getFonts()
|
|
711
711
|
};
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function Xn(e) {
|
|
714
714
|
async function t() {
|
|
715
715
|
let t = e.provider, n = t?.toMjml?.bind(t);
|
|
716
716
|
return n ? n(await e.buildPayload()) : e.renderLocalMjml();
|
|
@@ -729,13 +729,13 @@ function Yn(e) {
|
|
|
729
729
|
}
|
|
730
730
|
//#endregion
|
|
731
731
|
//#region src/utils/normalizeMergeTagMarkup.ts
|
|
732
|
-
function
|
|
732
|
+
function Zn(e) {
|
|
733
733
|
let t = e.flags.includes("g") ? e.flags : `${e.flags}g`;
|
|
734
734
|
return new RegExp(e.source, t);
|
|
735
735
|
}
|
|
736
|
-
function
|
|
736
|
+
function Qn(e, t, n) {
|
|
737
737
|
let r = [], i = (t, n, i) => {
|
|
738
|
-
let a =
|
|
738
|
+
let a = Zn(t), o = a.exec(e);
|
|
739
739
|
for (; o !== null;) {
|
|
740
740
|
let t = o.index, s = t + o[0].length;
|
|
741
741
|
o[0].length === 0 ? a.lastIndex++ : r.some((e) => t < e.end && s > e.start) || r.push({
|
|
@@ -749,7 +749,7 @@ function Zn(e, t, n) {
|
|
|
749
749
|
};
|
|
750
750
|
return i(n.logic, "data-logic-merge-tag", (e) => V(e, n)), i(n.value, "data-merge-tag", (e) => B(e, t)), r.sort((e, t) => e.start - t.start);
|
|
751
751
|
}
|
|
752
|
-
function
|
|
752
|
+
function $n(e) {
|
|
753
753
|
let t = e.createTreeWalker(e.body, NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_TEXT, { acceptNode(e) {
|
|
754
754
|
if (e.nodeType !== 1) return NodeFilter.FILTER_ACCEPT;
|
|
755
755
|
let t = e;
|
|
@@ -758,11 +758,11 @@ function Qn(e) {
|
|
|
758
758
|
for (; r !== null;) n.push(r), r = t.nextNode();
|
|
759
759
|
return n;
|
|
760
760
|
}
|
|
761
|
-
function
|
|
761
|
+
function er(e, t, n) {
|
|
762
762
|
if (!e || !te(e, n) || typeof DOMParser > "u") return e;
|
|
763
763
|
let r = new DOMParser().parseFromString(`<!doctype html><body>${e}</body>`, "text/html"), i = 0;
|
|
764
|
-
for (let e of
|
|
765
|
-
let a = e.data, o =
|
|
764
|
+
for (let e of $n(r)) {
|
|
765
|
+
let a = e.data, o = Qn(a, t, n);
|
|
766
766
|
if (o.length === 0) continue;
|
|
767
767
|
let s = r.createDocumentFragment(), c = 0;
|
|
768
768
|
for (let e of o) {
|
|
@@ -774,13 +774,13 @@ function $n(e, t, n) {
|
|
|
774
774
|
}
|
|
775
775
|
return i === 0 ? e : r.body.innerHTML;
|
|
776
776
|
}
|
|
777
|
-
function
|
|
777
|
+
function tr(e, t, n) {
|
|
778
778
|
if (e.type === "section") {
|
|
779
779
|
if (!Array.isArray(e.children)) return e;
|
|
780
780
|
let r = !1, i = e.children.map((e) => {
|
|
781
781
|
if (!Array.isArray(e)) return e;
|
|
782
782
|
let i = !1, a = e.map((e) => {
|
|
783
|
-
let r =
|
|
783
|
+
let r = tr(e, t, n);
|
|
784
784
|
return r !== e && (i = !0), r;
|
|
785
785
|
});
|
|
786
786
|
return i ? (r = !0, a) : e;
|
|
@@ -791,16 +791,16 @@ function er(e, t, n) {
|
|
|
791
791
|
} : e;
|
|
792
792
|
}
|
|
793
793
|
if (e.type !== "title" && e.type !== "paragraph" || typeof e.content != "string") return e;
|
|
794
|
-
let r =
|
|
794
|
+
let r = er(e.content, t, n);
|
|
795
795
|
return r === e.content ? e : {
|
|
796
796
|
...e,
|
|
797
797
|
content: r
|
|
798
798
|
};
|
|
799
799
|
}
|
|
800
|
-
function
|
|
800
|
+
function nr(e, t, n) {
|
|
801
801
|
if (!e || !Array.isArray(e.blocks)) return e;
|
|
802
802
|
let r = !1, i = e.blocks.map((e) => {
|
|
803
|
-
let i =
|
|
803
|
+
let i = tr(e, t, n);
|
|
804
804
|
return i !== e && (r = !0), i;
|
|
805
805
|
});
|
|
806
806
|
return r ? {
|
|
@@ -808,10 +808,10 @@ function tr(e, t, n) {
|
|
|
808
808
|
blocks: i
|
|
809
809
|
} : e;
|
|
810
810
|
}
|
|
811
|
-
function nr(e, t) {
|
|
812
|
-
return tr(e, t?.tags ?? [], U(t?.syntax));
|
|
813
|
-
}
|
|
814
811
|
function rr(e, t) {
|
|
812
|
+
return nr(e, t?.tags ?? [], U(t?.syntax));
|
|
813
|
+
}
|
|
814
|
+
function ir(e, t) {
|
|
815
815
|
return {
|
|
816
816
|
get state() {
|
|
817
817
|
return e.state;
|
|
@@ -819,14 +819,14 @@ function rr(e, t) {
|
|
|
819
819
|
get content() {
|
|
820
820
|
return e.content;
|
|
821
821
|
},
|
|
822
|
-
setContent: (n, r) => e.setContent(
|
|
822
|
+
setContent: (n, r) => e.setContent(rr(n, t), r)
|
|
823
823
|
};
|
|
824
824
|
}
|
|
825
|
-
function
|
|
825
|
+
function ar(e, t) {
|
|
826
826
|
return {
|
|
827
827
|
...e,
|
|
828
828
|
async load(n) {
|
|
829
|
-
let r = await e.load(n), i =
|
|
829
|
+
let r = await e.load(n), i = rr(r.content, t);
|
|
830
830
|
return i === r.content ? r : {
|
|
831
831
|
...r,
|
|
832
832
|
content: i
|
|
@@ -836,30 +836,30 @@ function ir(e, t) {
|
|
|
836
836
|
}
|
|
837
837
|
//#endregion
|
|
838
838
|
//#region src/components/Canvas.vue?vue&type=script&setup=true&lang.ts
|
|
839
|
-
var
|
|
839
|
+
var or = ["aria-label"], sr = {
|
|
840
840
|
key: 0,
|
|
841
841
|
role: "status",
|
|
842
842
|
"aria-busy": "true",
|
|
843
843
|
"data-testid": "preview-resolution-loading",
|
|
844
844
|
class: "tpl:flex tpl:flex-col tpl:gap-3 tpl:p-6"
|
|
845
|
-
},
|
|
845
|
+
}, cr = { class: "tpl:sr-only" }, lr = {
|
|
846
846
|
key: 1,
|
|
847
847
|
role: "status",
|
|
848
848
|
"data-testid": "preview-resolution-failed",
|
|
849
849
|
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)]"
|
|
850
|
-
},
|
|
850
|
+
}, ur = {
|
|
851
851
|
key: 0,
|
|
852
852
|
class: "tpl-canvas-empty-content tpl:flex tpl:flex-col tpl:items-center"
|
|
853
|
-
},
|
|
853
|
+
}, dr = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, fr = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, pr = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, mr = {
|
|
854
854
|
key: 0,
|
|
855
855
|
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)]"
|
|
856
|
-
},
|
|
856
|
+
}, hr = {
|
|
857
857
|
key: 1,
|
|
858
858
|
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)]"
|
|
859
|
-
},
|
|
859
|
+
}, gr = { class: "tpl:relative" }, _r = {
|
|
860
860
|
class: "tpl:inline-flex tpl:size-3 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[8px] tpl:font-bold",
|
|
861
861
|
style: { "background-color": "color-mix(\n in srgb,\n var(--tpl-bg) 30%,\n transparent\n )" }
|
|
862
|
-
},
|
|
862
|
+
}, vr = /*#__PURE__*/ Qt(/* @__PURE__ */ j({
|
|
863
863
|
__name: "Canvas",
|
|
864
864
|
props: {
|
|
865
865
|
viewport: {},
|
|
@@ -889,7 +889,7 @@ var ar = ["aria-label"], or = {
|
|
|
889
889
|
table: Fe,
|
|
890
890
|
video: je,
|
|
891
891
|
custom: Ce
|
|
892
|
-
}, o = n, s = i, { t: c } = q(), { t: f } =
|
|
892
|
+
}, o = n, s = i, { t: c } = q(), { t: f } = $t(), p = rt(ct, "Canvas"), h = d(ot, null), g = d(gt, null), T = d(at, {}), E = d(et, null), j = d(Xe, null);
|
|
893
893
|
e(tt, k(() => o.previewMode && (E?.value ?? !1) && !j?.isConfigured));
|
|
894
894
|
let N = k(() => (T.plan?.hasFeature("ai_generation") ?? !1) && (T.ai?.isFeatureEnabled("chat") ?? !1)), P = k(() => (T.plan?.hasFeature("ai_generation") ?? !1) && (T.ai?.isFeatureEnabled("designToTemplate") ?? !1)), F = d(ht, null), L = k({
|
|
895
895
|
get: () => o.content.blocks,
|
|
@@ -899,7 +899,7 @@ var ar = ["aria-label"], or = {
|
|
|
899
899
|
blocks: e
|
|
900
900
|
});
|
|
901
901
|
}
|
|
902
|
-
}), R = k(() =>
|
|
902
|
+
}), R = k(() => rn(o.content.settings, o.viewport)), z = k(() => R.value + 192), B = k(() => Te(o.content.settings)), V = k(() => L.value.length === 0 && !o.previewMode), ee = m(0), H = k(() => V.value && ee.value > 0);
|
|
903
903
|
function U() {
|
|
904
904
|
V.value && (ee.value += 1);
|
|
905
905
|
}
|
|
@@ -942,7 +942,7 @@ var ar = ["aria-label"], or = {
|
|
|
942
942
|
style: l({
|
|
943
943
|
width: `${z.value}px`,
|
|
944
944
|
boxShadow: n.darkMode ? "none" : "var(--tpl-shadow-xl)",
|
|
945
|
-
transition: O(
|
|
945
|
+
transition: O(an)
|
|
946
946
|
})
|
|
947
947
|
}, [_("div", {
|
|
948
948
|
class: "tpl-canvas-bg tpl:absolute tpl:inset-0 tpl:rounded-lg tpl:pointer-events-none",
|
|
@@ -958,7 +958,7 @@ var ar = ["aria-label"], or = {
|
|
|
958
958
|
class: "tpl-canvas-wrapper tpl:relative",
|
|
959
959
|
style: l({
|
|
960
960
|
width: `${R.value}px`,
|
|
961
|
-
transition: O(
|
|
961
|
+
transition: O(an)
|
|
962
962
|
})
|
|
963
963
|
}, [_("div", {
|
|
964
964
|
class: r(["tpl-canvas tpl:relative tpl:rounded-lg", {
|
|
@@ -967,11 +967,11 @@ var ar = ["aria-label"], or = {
|
|
|
967
967
|
}]),
|
|
968
968
|
style: l(B.value),
|
|
969
969
|
onClick: te
|
|
970
|
-
}, [O(j)?.isInitialResolve.value ? (S(), v("div",
|
|
970
|
+
}, [O(j)?.isInitialResolve.value ? (S(), v("div", sr, [_("span", cr, C(O(c).previewResolution.resolving), 1), (S(), v(D, null, x(3, (e) => _("div", {
|
|
971
971
|
key: e,
|
|
972
972
|
"aria-hidden": "true",
|
|
973
973
|
class: "tpl-pulse tpl:h-16 tpl:rounded-md tpl:bg-[var(--tpl-bg-hover)]"
|
|
974
|
-
})), 64))])) : O(j)?.hasFailed.value ? (S(), v("p",
|
|
974
|
+
})), 64))])) : O(j)?.hasFailed.value ? (S(), v("p", lr, C(O(c).previewResolution.failed), 1)) : A("", !0), t(y(O(we), {
|
|
975
975
|
modelValue: L.value,
|
|
976
976
|
"onUpdate:modelValue": i[2] ||= (e) => L.value = e,
|
|
977
977
|
group: "blocks",
|
|
@@ -994,25 +994,25 @@ var ar = ["aria-label"], or = {
|
|
|
994
994
|
onDragleave: W,
|
|
995
995
|
onDrop: G
|
|
996
996
|
}, {
|
|
997
|
-
default: M(() => [V.value ? (S(), v("div",
|
|
998
|
-
_("div",
|
|
997
|
+
default: M(() => [V.value ? (S(), v("div", ur, [
|
|
998
|
+
_("div", dr, [y(O(Pn), {
|
|
999
999
|
size: 48,
|
|
1000
1000
|
"stroke-width": 1
|
|
1001
1001
|
})]),
|
|
1002
|
-
_("p",
|
|
1003
|
-
_("p",
|
|
1004
|
-
N.value && O(f) ? (S(), v("p",
|
|
1002
|
+
_("p", fr, C(O(c).canvas.noBlocks), 1),
|
|
1003
|
+
_("p", pr, C(O(c).canvas.dragHint), 1),
|
|
1004
|
+
N.value && O(f) ? (S(), v("p", mr, [
|
|
1005
1005
|
b(C(O(c).canvas.aiHintChat) + " ", 1),
|
|
1006
1006
|
_("button", {
|
|
1007
1007
|
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)]",
|
|
1008
1008
|
onClick: i[0] ||= (e) => s("open-ai-chat")
|
|
1009
|
-
}, [y(O(
|
|
1009
|
+
}, [y(O(Gt), {
|
|
1010
1010
|
size: 14,
|
|
1011
1011
|
"stroke-width": 2
|
|
1012
1012
|
}), b(" " + C(O(f).aiMenu.aiAssistant), 1)]),
|
|
1013
1013
|
b(" " + C(O(c).canvas.aiHintChatSuffix), 1)
|
|
1014
1014
|
])) : A("", !0),
|
|
1015
|
-
P.value && O(f) ? (S(), v("p",
|
|
1015
|
+
P.value && O(f) ? (S(), v("p", hr, [
|
|
1016
1016
|
b(C(O(c).canvas.aiHintDesign) + " ", 1),
|
|
1017
1017
|
_("button", {
|
|
1018
1018
|
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)]",
|
|
@@ -1026,7 +1026,7 @@ var ar = ["aria-label"], or = {
|
|
|
1026
1026
|
])) : A("", !0), (S(!0), v(D, null, x(L.value, (e) => t((S(), v("div", {
|
|
1027
1027
|
key: e.id,
|
|
1028
1028
|
class: "tpl-block-item"
|
|
1029
|
-
}, [_("div",
|
|
1029
|
+
}, [_("div", gr, [K(e.id) ? (S(), v("div", {
|
|
1030
1030
|
key: 0,
|
|
1031
1031
|
class: "tpl-collab-lock tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-[4] tpl:rounded-sm",
|
|
1032
1032
|
style: l({
|
|
@@ -1037,9 +1037,9 @@ var ar = ["aria-label"], or = {
|
|
|
1037
1037
|
class: "tpl:absolute tpl:-top-0.5 tpl:left-1/2 tpl:z-[5] tpl:flex tpl:-translate-x-1/2 tpl:-translate-y-full tpl:items-center tpl:gap-1 tpl:rounded-full tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:whitespace-nowrap",
|
|
1038
1038
|
style: l({
|
|
1039
1039
|
backgroundColor: K(e.id).color,
|
|
1040
|
-
color: O(
|
|
1040
|
+
color: O(on)(K(e.id).color)
|
|
1041
1041
|
})
|
|
1042
|
-
}, [_("span",
|
|
1042
|
+
}, [_("span", _r, C(K(e.id).name.charAt(0)), 1), b(" " + C(K(e.id).name), 1)], 4)], 4)) : A("", !0), y(Re, {
|
|
1043
1043
|
block: e,
|
|
1044
1044
|
"is-selected": !n.previewMode && !ae.value && n.selectedBlockId === e.id && !K(e.id),
|
|
1045
1045
|
picked: ie(e.id),
|
|
@@ -1072,9 +1072,9 @@ var ar = ["aria-label"], or = {
|
|
|
1072
1072
|
"modelValue",
|
|
1073
1073
|
"disabled",
|
|
1074
1074
|
"class"
|
|
1075
|
-
]), [[I, !O(j)?.isInitialResolve.value]])], 6)], 12,
|
|
1075
|
+
]), [[I, !O(j)?.isInitialResolve.value]])], 6)], 12, or)], 4));
|
|
1076
1076
|
}
|
|
1077
|
-
}), [["__scopeId", "data-v-da730df5"]]),
|
|
1077
|
+
}), [["__scopeId", "data-v-da730df5"]]), yr = j({
|
|
1078
1078
|
name: "CustomBlockStylesheets",
|
|
1079
1079
|
setup() {
|
|
1080
1080
|
let e = d(mt, null);
|
|
@@ -1087,7 +1087,7 @@ var ar = ["aria-label"], or = {
|
|
|
1087
1087
|
});
|
|
1088
1088
|
//#endregion
|
|
1089
1089
|
//#region src/utils/resolvePaletteBlocks.ts
|
|
1090
|
-
function
|
|
1090
|
+
function br(e, t) {
|
|
1091
1091
|
if (!t || t.length === 0) return {
|
|
1092
1092
|
items: e,
|
|
1093
1093
|
unknown: []
|
|
@@ -1105,35 +1105,53 @@ function yr(e, t) {
|
|
|
1105
1105
|
};
|
|
1106
1106
|
}
|
|
1107
1107
|
//#endregion
|
|
1108
|
+
//#region src/utils/resolveInsertPosition.ts
|
|
1109
|
+
function xr(e) {
|
|
1110
|
+
let { blockType: t, selectedBlockId: n, findBlockLocation: r, isBlockLocked: i } = e;
|
|
1111
|
+
if (!n) return {};
|
|
1112
|
+
let a = r(n);
|
|
1113
|
+
if (!a) return {};
|
|
1114
|
+
if (a.targetSectionId === void 0) return { index: a.index + 1 };
|
|
1115
|
+
if (t === "section") {
|
|
1116
|
+
let e = r(a.targetSectionId);
|
|
1117
|
+
return !e || e.targetSectionId !== void 0 ? {} : { index: e.index + 1 };
|
|
1118
|
+
}
|
|
1119
|
+
return i(a.targetSectionId) ? {} : {
|
|
1120
|
+
targetSectionId: a.targetSectionId,
|
|
1121
|
+
columnIndex: a.columnIndex,
|
|
1122
|
+
index: a.index + 1
|
|
1123
|
+
};
|
|
1124
|
+
}
|
|
1125
|
+
//#endregion
|
|
1108
1126
|
//#region src/components/Sidebar.vue?vue&type=script&setup=true&lang.ts
|
|
1109
|
-
var
|
|
1127
|
+
var Sr = ["aria-label"], Cr = {
|
|
1110
1128
|
key: 0,
|
|
1111
1129
|
class: "tpl:border-b tpl:px-1 tpl:pb-1 tpl:border-[var(--tpl-border)]"
|
|
1112
|
-
},
|
|
1130
|
+
}, wr = ["aria-label"], Tr = {
|
|
1113
1131
|
key: 0,
|
|
1114
1132
|
class: "tpl:truncate tpl:text-sm tpl:font-medium"
|
|
1115
|
-
},
|
|
1133
|
+
}, Er = [
|
|
1116
1134
|
"data-palette-type",
|
|
1117
1135
|
"aria-label",
|
|
1118
1136
|
"onClick",
|
|
1119
1137
|
"onKeydown"
|
|
1120
|
-
],
|
|
1138
|
+
], Dr = { 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" }, Or = {
|
|
1121
1139
|
key: 0,
|
|
1122
1140
|
class: "tpl:truncate tpl:text-sm tpl:font-medium"
|
|
1123
|
-
},
|
|
1141
|
+
}, kr = /* @__PURE__ */ j({
|
|
1124
1142
|
__name: "Sidebar",
|
|
1125
1143
|
setup(e) {
|
|
1126
|
-
let { t, format: n } = q(), r = d(st, []), i = d($e, void 0), a = d(pt, void 0), s = d(ct, null), c = d(at, {}),
|
|
1127
|
-
function g() {
|
|
1128
|
-
h.value || (p.value = !1);
|
|
1129
|
-
}
|
|
1144
|
+
let { t, format: n } = q(), r = d(st, []), i = d($e, void 0), a = d(pt, void 0), s = d(ct, null), c = Lt(), f = d(at, {}), p = k(() => f.savedBlocks?.isAvailable.value === !0), h = m(!1), g = m(!1);
|
|
1130
1145
|
function b() {
|
|
1131
|
-
h.value = !
|
|
1146
|
+
g.value || (h.value = !1);
|
|
1132
1147
|
}
|
|
1133
1148
|
function T() {
|
|
1134
|
-
|
|
1149
|
+
g.value = !0;
|
|
1135
1150
|
}
|
|
1136
|
-
|
|
1151
|
+
function E() {
|
|
1152
|
+
g.value = !1, h.value = !1;
|
|
1153
|
+
}
|
|
1154
|
+
let j = [
|
|
1137
1155
|
"section",
|
|
1138
1156
|
"image",
|
|
1139
1157
|
"title",
|
|
@@ -1146,88 +1164,93 @@ var br = ["aria-label"], xr = {
|
|
|
1146
1164
|
"table",
|
|
1147
1165
|
"spacer",
|
|
1148
1166
|
"html"
|
|
1149
|
-
],
|
|
1150
|
-
let e =
|
|
1167
|
+
], N = k(() => {
|
|
1168
|
+
let e = j.map((e) => ({
|
|
1151
1169
|
type: e,
|
|
1152
1170
|
label: _e(e, t)
|
|
1153
1171
|
}));
|
|
1154
|
-
return
|
|
1172
|
+
return f.plan && e.splice(-1, 0, {
|
|
1155
1173
|
type: "countdown",
|
|
1156
1174
|
label: _e("countdown", t)
|
|
1157
1175
|
}), e;
|
|
1158
|
-
}),
|
|
1176
|
+
}), P = k(() => r.map((e) => ({
|
|
1159
1177
|
type: `custom:${e.type}`,
|
|
1160
1178
|
label: e.name,
|
|
1161
1179
|
isCustom: !0,
|
|
1162
1180
|
icon: e.icon
|
|
1163
|
-
}))),
|
|
1164
|
-
o(() =>
|
|
1165
|
-
for (let t of e)
|
|
1181
|
+
}))), F = k(() => [...N.value, ...P.value]), I = k(() => br(F.value, i)), L = k(() => I.value.items), R = /* @__PURE__ */ new Set();
|
|
1182
|
+
o(() => I.value.unknown, (e) => {
|
|
1183
|
+
for (let t of e) R.has(t) || (R.add(t), bt.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.`));
|
|
1166
1184
|
}, { immediate: !0 });
|
|
1167
|
-
function
|
|
1185
|
+
function z(e) {
|
|
1168
1186
|
if (e.isCustom) {
|
|
1169
1187
|
let t = e.type.replace("custom:", ""), n = r.find((e) => e.type === t);
|
|
1170
1188
|
if (n) return ne(n);
|
|
1171
1189
|
}
|
|
1172
1190
|
return re(e.type, a);
|
|
1173
1191
|
}
|
|
1174
|
-
function
|
|
1192
|
+
function B(e) {
|
|
1175
1193
|
if (!s) return;
|
|
1176
|
-
let t =
|
|
1177
|
-
|
|
1194
|
+
let t = z(e), { targetSectionId: n, columnIndex: r, index: i } = xr({
|
|
1195
|
+
blockType: e.type,
|
|
1196
|
+
selectedBlockId: s.state.selectedBlockId,
|
|
1197
|
+
findBlockLocation: s.findBlockLocation,
|
|
1198
|
+
isBlockLocked: s.isBlockLocked
|
|
1199
|
+
});
|
|
1200
|
+
s.addBlock(t, n, r, i), s.selectBlock(t.id), c(t.id);
|
|
1178
1201
|
}
|
|
1179
|
-
function
|
|
1180
|
-
(e.key === "Enter" || e.key === " ") && (e.preventDefault(),
|
|
1202
|
+
function V(e, t) {
|
|
1203
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), B(t));
|
|
1181
1204
|
}
|
|
1182
1205
|
return (e, r) => (S(), v("aside", {
|
|
1183
1206
|
"aria-label": O(t).sidebarNav.palette,
|
|
1184
1207
|
class: "tpl-sidebar-rail tpl:absolute tpl:top-14 tpl:bottom-0 tpl:left-0 tpl:z-40 tpl:flex tpl:flex-col tpl:overflow-hidden",
|
|
1185
1208
|
style: l({
|
|
1186
|
-
width:
|
|
1209
|
+
width: h.value ? "200px" : "48px",
|
|
1187
1210
|
backgroundColor: "var(--tpl-bg-elevated)",
|
|
1188
1211
|
borderRight: "1px solid var(--tpl-border)",
|
|
1189
|
-
boxShadow:
|
|
1212
|
+
boxShadow: h.value ? "var(--tpl-shadow-lg)" : "none",
|
|
1190
1213
|
transition: "width 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1)"
|
|
1191
1214
|
}),
|
|
1192
|
-
onMouseenter: r[1] ||= (e) =>
|
|
1193
|
-
onMouseleave:
|
|
1194
|
-
onFocusin: r[2] ||= (e) =>
|
|
1195
|
-
onFocusout: r[3] ||= (e) =>
|
|
1196
|
-
}, [
|
|
1215
|
+
onMouseenter: r[1] ||= (e) => h.value = !0,
|
|
1216
|
+
onMouseleave: b,
|
|
1217
|
+
onFocusin: r[2] ||= (e) => h.value = !0,
|
|
1218
|
+
onFocusout: r[3] ||= (e) => h.value = !1
|
|
1219
|
+
}, [p.value ? (S(), v("div", Cr, [_("button", {
|
|
1197
1220
|
type: "button",
|
|
1198
1221
|
"aria-label": O(t).sidebarNav.browseSavedBlocks,
|
|
1199
1222
|
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)]",
|
|
1200
|
-
style: l({ justifyContent:
|
|
1201
|
-
onClick: r[0] ||= (e) => O(
|
|
1223
|
+
style: l({ justifyContent: h.value ? "flex-start" : "center" }),
|
|
1224
|
+
onClick: r[0] ||= (e) => O(f).savedBlocks?.openBrowser()
|
|
1202
1225
|
}, [y(O(At), {
|
|
1203
1226
|
size: 20,
|
|
1204
1227
|
"stroke-width": 1.5,
|
|
1205
1228
|
class: "tpl:shrink-0"
|
|
1206
|
-
}),
|
|
1207
|
-
"model-value":
|
|
1229
|
+
}), h.value ? (S(), v("span", Tr, C(O(t).savedBlocks.title), 1)) : A("", !0)], 12, wr)])) : A("", !0), y(O(we), {
|
|
1230
|
+
"model-value": L.value,
|
|
1208
1231
|
group: {
|
|
1209
1232
|
name: "blocks",
|
|
1210
1233
|
pull: "clone",
|
|
1211
1234
|
put: !1
|
|
1212
1235
|
},
|
|
1213
|
-
clone:
|
|
1236
|
+
clone: z,
|
|
1214
1237
|
sort: !1,
|
|
1215
1238
|
animation: 150,
|
|
1216
1239
|
"force-fallback": !0,
|
|
1217
1240
|
class: "tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl:gap-0.5 tpl:overflow-y-auto tpl:p-1",
|
|
1218
|
-
onChoose:
|
|
1219
|
-
onEnd:
|
|
1241
|
+
onChoose: T,
|
|
1242
|
+
onEnd: E
|
|
1220
1243
|
}, {
|
|
1221
|
-
default: M(() => [(S(!0), v(D, null, x(
|
|
1244
|
+
default: M(() => [(S(!0), v(D, null, x(L.value, (e) => (S(), v("button", {
|
|
1222
1245
|
key: e.type,
|
|
1223
1246
|
type: "button",
|
|
1224
1247
|
"data-palette-type": e.type,
|
|
1225
1248
|
"aria-label": O(n)(O(t).sidebarNav.insertBlock, { block: e.label }),
|
|
1226
1249
|
class: "tpl:flex tpl:h-10 tpl:w-full tpl:shrink-0 tpl:cursor-grab tpl:items-center tpl:gap-3 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-3 tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-primary-light)] tpl:hover:text-[var(--tpl-primary)] tpl:active:cursor-grabbing",
|
|
1227
|
-
style: l({ justifyContent:
|
|
1228
|
-
onClick: (t) =>
|
|
1229
|
-
onKeydown: (t) =>
|
|
1230
|
-
}, [_("div",
|
|
1250
|
+
style: l({ justifyContent: h.value ? "flex-start" : "center" }),
|
|
1251
|
+
onClick: (t) => B(e),
|
|
1252
|
+
onKeydown: (t) => V(t, e)
|
|
1253
|
+
}, [_("div", Dr, [O(jt)[e.type] ? (S(), w(u(O(jt)[e.type]), {
|
|
1231
1254
|
key: 0,
|
|
1232
1255
|
size: 20,
|
|
1233
1256
|
"stroke-width": 1.5
|
|
@@ -1235,14 +1258,14 @@ var br = ["aria-label"], xr = {
|
|
|
1235
1258
|
key: 1,
|
|
1236
1259
|
icon: e.icon,
|
|
1237
1260
|
size: 20
|
|
1238
|
-
}, null, 8, ["icon"])) : A("", !0)]),
|
|
1261
|
+
}, null, 8, ["icon"])) : A("", !0)]), h.value ? (S(), v("span", Or, C(e.label), 1)) : A("", !0)], 44, Er))), 128))]),
|
|
1239
1262
|
_: 1
|
|
1240
|
-
}, 8, ["model-value"])], 44,
|
|
1263
|
+
}, 8, ["model-value"])], 44, Sr));
|
|
1241
1264
|
}
|
|
1242
1265
|
});
|
|
1243
1266
|
//#endregion
|
|
1244
1267
|
//#region src/utils/mergeTagTrigger.ts
|
|
1245
|
-
function
|
|
1268
|
+
function Ar(e, t, n, r) {
|
|
1246
1269
|
if (!n) return null;
|
|
1247
1270
|
let i = e.slice(0, t), a = i.lastIndexOf(n);
|
|
1248
1271
|
if (a === -1) return null;
|
|
@@ -1255,8 +1278,8 @@ function Or(e, t, n, r) {
|
|
|
1255
1278
|
}
|
|
1256
1279
|
//#endregion
|
|
1257
1280
|
//#region src/utils/textFieldCaret.ts
|
|
1258
|
-
var
|
|
1259
|
-
function
|
|
1281
|
+
var jr = /* @__PURE__ */ "boxSizing.width.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderStyle.paddingTop.paddingRight.paddingBottom.paddingLeft.fontStyle.fontVariant.fontWeight.fontStretch.fontSize.lineHeight.fontFamily.textAlign.textTransform.textIndent.letterSpacing.wordSpacing.tabSize.whiteSpace.wordWrap.wordBreak".split(".");
|
|
1282
|
+
function Mr(e, t, n) {
|
|
1260
1283
|
return {
|
|
1261
1284
|
left: e,
|
|
1262
1285
|
top: t,
|
|
@@ -1269,7 +1292,7 @@ function Ar(e, t, n) {
|
|
|
1269
1292
|
toJSON: () => ({})
|
|
1270
1293
|
};
|
|
1271
1294
|
}
|
|
1272
|
-
function
|
|
1295
|
+
function Nr(e, t) {
|
|
1273
1296
|
let n = e.ownerDocument, r = n.defaultView;
|
|
1274
1297
|
if (!r) return null;
|
|
1275
1298
|
let i = e.tagName === "INPUT", a = r.getComputedStyle(e), o = n.createElement("div");
|
|
@@ -1277,7 +1300,7 @@ function jr(e, t) {
|
|
|
1277
1300
|
let s = o.style;
|
|
1278
1301
|
s.position = "absolute", s.visibility = "hidden", s.top = "0", s.left = "0", s.overflow = "hidden", s.whiteSpace = i ? "pre" : "pre-wrap", s.wordWrap = i ? "normal" : "break-word";
|
|
1279
1302
|
let c = s, l = a;
|
|
1280
|
-
for (let e of
|
|
1303
|
+
for (let e of jr) c[e] = l[e];
|
|
1281
1304
|
i && (s.width = "auto", s.whiteSpace = "pre");
|
|
1282
1305
|
let u = e.value, d = u.slice(0, t);
|
|
1283
1306
|
i && (d = d.replace(/\s/g, "\xA0")), o.textContent = d;
|
|
@@ -1286,26 +1309,26 @@ function jr(e, t) {
|
|
|
1286
1309
|
let p = f.offsetTop, m = f.offsetLeft;
|
|
1287
1310
|
n.body.removeChild(o);
|
|
1288
1311
|
let h = e.getBoundingClientRect(), g = parseFloat(a.borderTopWidth) || 0, _ = parseFloat(a.borderLeftWidth) || 0, v = parseFloat(a.lineHeight) || parseFloat(a.fontSize) || 0, y = h.left + m + _ - e.scrollLeft;
|
|
1289
|
-
if (i) return
|
|
1312
|
+
if (i) return Mr(y, h.top, h.bottom);
|
|
1290
1313
|
let b = h.top + p + g - e.scrollTop;
|
|
1291
|
-
return
|
|
1314
|
+
return Mr(y, b, b + v);
|
|
1292
1315
|
}
|
|
1293
1316
|
//#endregion
|
|
1294
1317
|
//#region src/composables/useMergeTagAutocomplete.ts
|
|
1295
|
-
var
|
|
1318
|
+
var Pr = /* @__PURE__ */ new Set([
|
|
1296
1319
|
"ArrowLeft",
|
|
1297
1320
|
"ArrowRight",
|
|
1298
1321
|
"Home",
|
|
1299
1322
|
"End"
|
|
1300
1323
|
]);
|
|
1301
|
-
function
|
|
1302
|
-
let { elementRef: t, modelValue: n, emit: r, mergeTags: a, syntax: o, enabled: s, onInsert: c } = e, l = z(o), u = K(o), m = s && l !== null && a.length > 0, h = d(nt, null), g = (i(h) ? h.value : h)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", _ = St(), v =
|
|
1324
|
+
function Fr(e) {
|
|
1325
|
+
let { elementRef: t, modelValue: n, emit: r, mergeTags: a, syntax: o, enabled: s, onInsert: c } = e, l = z(o), u = K(o), m = s && l !== null && a.length > 0, h = d(nt, null), g = (i(h) ? h.value : h)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", _ = St(), v = hn(g, _), y = !1;
|
|
1303
1326
|
p() && E(() => {
|
|
1304
1327
|
y = !0, v.close();
|
|
1305
1328
|
});
|
|
1306
1329
|
function b(e) {
|
|
1307
1330
|
let t = e.value ?? "";
|
|
1308
|
-
return
|
|
1331
|
+
return Ar(t, e.selectionStart ?? t.length, l, u);
|
|
1309
1332
|
}
|
|
1310
1333
|
function x(e, i, a) {
|
|
1311
1334
|
let o = e.value ?? n(), s = o.slice(i.caret), l = u && s.startsWith(u) ? u.length : 0, d = o.slice(0, i.triggerStart), p = o.slice(i.caret + l), m = d + a.value + p, h = d.length + a.value.length;
|
|
@@ -1327,7 +1350,7 @@ function Nr(e) {
|
|
|
1327
1350
|
v.close();
|
|
1328
1351
|
return;
|
|
1329
1352
|
}
|
|
1330
|
-
let r =
|
|
1353
|
+
let r = gn(a, n.query), i = () => Nr(e, n.triggerStart), o = (t) => x(e, n, t);
|
|
1331
1354
|
v.isOpen() ? v.update({
|
|
1332
1355
|
items: r,
|
|
1333
1356
|
getRect: i,
|
|
@@ -1340,7 +1363,7 @@ function Nr(e) {
|
|
|
1340
1363
|
});
|
|
1341
1364
|
}
|
|
1342
1365
|
function C(e) {
|
|
1343
|
-
return v.isOpen() ? e.key === "Escape" ? (v.close(), !0) :
|
|
1366
|
+
return v.isOpen() ? e.key === "Escape" ? (v.close(), !0) : Pr.has(e.key) ? (v.close(), !1) : v.handleKeyDown(e) : !1;
|
|
1344
1367
|
}
|
|
1345
1368
|
return {
|
|
1346
1369
|
available: m,
|
|
@@ -1352,12 +1375,12 @@ function Nr(e) {
|
|
|
1352
1375
|
}
|
|
1353
1376
|
//#endregion
|
|
1354
1377
|
//#region src/composables/useMergeTagField.ts
|
|
1355
|
-
function
|
|
1356
|
-
let { modelValue: t, emit: n, elementRef: r } = e, { mergeTags: i, canRequestMergeTag: a, isRequesting: o, isMergeTagValue: s, getMergeTagLabel: c, requestMergeTag: l, syntax: u, autocomplete: d } =
|
|
1378
|
+
function Ir(e) {
|
|
1379
|
+
let { modelValue: t, emit: n, elementRef: r } = e, { mergeTags: i, canRequestMergeTag: a, isRequesting: o, isMergeTagValue: s, getMergeTagLabel: c, requestMergeTag: l, syntax: u, autocomplete: d } = en(), { canInsertLogicTag: h, isRequesting: g, requestLogicTag: _ } = Be(), v = m(!1), y = !1, b = !1;
|
|
1357
1380
|
p() && E(() => {
|
|
1358
1381
|
b = !0;
|
|
1359
1382
|
});
|
|
1360
|
-
let x =
|
|
1383
|
+
let x = Fr({
|
|
1361
1384
|
elementRef: r,
|
|
1362
1385
|
modelValue: t,
|
|
1363
1386
|
emit: n,
|
|
@@ -1479,10 +1502,10 @@ function Pr(e) {
|
|
|
1479
1502
|
}
|
|
1480
1503
|
//#endregion
|
|
1481
1504
|
//#region src/components/MergeTagSegments.vue?vue&type=script&setup=true&lang.ts
|
|
1482
|
-
var
|
|
1505
|
+
var Lr = ["aria-label", "onKeydown"], Rr = ["data-tooltip"], zr = ["data-tooltip"], Br = {
|
|
1483
1506
|
key: 2,
|
|
1484
1507
|
class: "tpl:text-sm tpl:text-[var(--tpl-text)]"
|
|
1485
|
-
},
|
|
1508
|
+
}, Vr = ["aria-label", "title"], Hr = /* @__PURE__ */ j({
|
|
1486
1509
|
__name: "MergeTagSegments",
|
|
1487
1510
|
props: {
|
|
1488
1511
|
segments: {},
|
|
@@ -1510,7 +1533,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1510
1533
|
"background-color": "color-mix(\n in srgb,\n var(--tpl-primary) 20%,\n transparent\n )",
|
|
1511
1534
|
color: "var(--tpl-primary)"
|
|
1512
1535
|
}
|
|
1513
|
-
}, C(e.label), 9,
|
|
1536
|
+
}, C(e.label), 9, Rr)) : e.type === "logicMergeTag" ? (S(), v("span", {
|
|
1514
1537
|
key: 1,
|
|
1515
1538
|
class: "tpl-tooltip tpl:inline-flex tpl:items-center tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.8em] tpl:font-bold tpl:tracking-wide tpl:uppercase",
|
|
1516
1539
|
"data-tooltip": e.value,
|
|
@@ -1519,22 +1542,22 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1519
1542
|
border: "1.5px solid\n color-mix(in srgb, var(--tpl-primary) 50%, transparent)",
|
|
1520
1543
|
color: "var(--tpl-primary)"
|
|
1521
1544
|
}
|
|
1522
|
-
}, C(e.keyword), 9,
|
|
1545
|
+
}, C(e.keyword), 9, zr)) : (S(), v("span", Br, C(e.value), 1))], 64))), 128)), _("button", {
|
|
1523
1546
|
type: "button",
|
|
1524
1547
|
class: "tpl:ml-auto tpl:flex tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-full tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-[var(--tpl-text-dim)] tpl:opacity-60 tpl:transition-all tpl:hover:text-[var(--tpl-danger)] tpl:hover:opacity-100",
|
|
1525
1548
|
"aria-label": O(i).mergeTag.remove,
|
|
1526
1549
|
title: O(i).mergeTag.remove,
|
|
1527
1550
|
onClick: o[0] ||= P((e) => n("clear"), ["stop"])
|
|
1528
|
-
}, [y(O(
|
|
1551
|
+
}, [y(O(Zt), {
|
|
1529
1552
|
size: 12,
|
|
1530
1553
|
"stroke-width": 2.5
|
|
1531
|
-
})], 8,
|
|
1554
|
+
})], 8, Vr)], 42, Lr));
|
|
1532
1555
|
}
|
|
1533
|
-
}),
|
|
1556
|
+
}), Ur = [
|
|
1534
1557
|
"aria-label",
|
|
1535
1558
|
"title",
|
|
1536
1559
|
"disabled"
|
|
1537
|
-
],
|
|
1560
|
+
], Wr = "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs 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)] tpl:hover:border-[var(--tpl-primary)]", Gr = /* @__PURE__ */ j({
|
|
1538
1561
|
__name: "MergeTagInsertButton",
|
|
1539
1562
|
props: { disabled: { type: Boolean } },
|
|
1540
1563
|
emits: ["insert"],
|
|
@@ -1542,7 +1565,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1542
1565
|
let { t } = q();
|
|
1543
1566
|
return (n, i) => (S(), v("button", {
|
|
1544
1567
|
type: "button",
|
|
1545
|
-
class: r([
|
|
1568
|
+
class: r([Wr, "tpl:mt-1.5"]),
|
|
1546
1569
|
"aria-label": O(t).mergeTag.insert,
|
|
1547
1570
|
title: O(t).mergeTag.insert,
|
|
1548
1571
|
disabled: e.disabled,
|
|
@@ -1551,13 +1574,13 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1551
1574
|
}, [y(O(wt), {
|
|
1552
1575
|
size: 12,
|
|
1553
1576
|
"stroke-width": 2
|
|
1554
|
-
}), b(" " + C(O(t).mergeTag.insertShort), 1)], 42,
|
|
1577
|
+
}), b(" " + C(O(t).mergeTag.insertShort), 1)], 42, Ur));
|
|
1555
1578
|
}
|
|
1556
|
-
}),
|
|
1579
|
+
}), Kr = [
|
|
1557
1580
|
"aria-label",
|
|
1558
1581
|
"title",
|
|
1559
1582
|
"disabled"
|
|
1560
|
-
],
|
|
1583
|
+
], qr = "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs 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)] tpl:hover:border-[var(--tpl-primary)]", Jr = /* @__PURE__ */ j({
|
|
1561
1584
|
__name: "LogicTagInsertButton",
|
|
1562
1585
|
props: { disabled: { type: Boolean } },
|
|
1563
1586
|
emits: ["insert"],
|
|
@@ -1565,7 +1588,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1565
1588
|
let { t } = q();
|
|
1566
1589
|
return (n, i) => (S(), v("button", {
|
|
1567
1590
|
type: "button",
|
|
1568
|
-
class: r([
|
|
1591
|
+
class: r([qr, "tpl:mt-1.5"]),
|
|
1569
1592
|
"aria-label": O(t).logicTag.insert,
|
|
1570
1593
|
title: O(t).logicTag.insert,
|
|
1571
1594
|
disabled: e.disabled,
|
|
@@ -1575,19 +1598,19 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1575
1598
|
}, [y(O(Ct), {
|
|
1576
1599
|
size: 12,
|
|
1577
1600
|
"stroke-width": 2
|
|
1578
|
-
}), b(" " + C(O(t).logicTag.insertShort), 1)], 42,
|
|
1601
|
+
}), b(" " + C(O(t).logicTag.insertShort), 1)], 42, Kr));
|
|
1579
1602
|
}
|
|
1580
|
-
}),
|
|
1603
|
+
}), Yr = { key: 0 }, Xr = {
|
|
1581
1604
|
key: 0,
|
|
1582
1605
|
class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
|
|
1583
|
-
},
|
|
1606
|
+
}, Zr = { key: 1 }, Qr = [
|
|
1584
1607
|
"value",
|
|
1585
1608
|
"placeholder",
|
|
1586
1609
|
"rows"
|
|
1587
|
-
],
|
|
1610
|
+
], $r = {
|
|
1588
1611
|
key: 0,
|
|
1589
1612
|
class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
|
|
1590
|
-
},
|
|
1613
|
+
}, ei = "tpl:w-full tpl:resize-y tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-[var(--tpl-shadow-sm)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:placeholder:text-[var(--tpl-text-dim)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", ti = "tpl:flex tpl:w-full tpl:min-h-20 tpl:cursor-pointer tpl:items-start tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-[var(--tpl-shadow-sm)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", ni = /* @__PURE__ */ j({
|
|
1591
1614
|
__name: "MergeTagTextarea",
|
|
1592
1615
|
props: {
|
|
1593
1616
|
modelValue: {},
|
|
@@ -1596,32 +1619,32 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1596
1619
|
},
|
|
1597
1620
|
emits: ["update:modelValue"],
|
|
1598
1621
|
setup(e, { emit: t }) {
|
|
1599
|
-
let n = e, i = t, a = m(null), { segments: o, hasMergeTags: s, canRequestMergeTag: c, isRequestingMergeTag: l, canInsertLogicTag: u, isRequestingLogicTag: d, isEditing: f, startEditing: p, handleInput: h, handleKeydown: g, handleClick: b, handleBlur: x, clearValue: C, insertMergeTag: T, insertLogicTag: E } =
|
|
1622
|
+
let n = e, i = t, a = m(null), { segments: o, hasMergeTags: s, canRequestMergeTag: c, isRequestingMergeTag: l, canInsertLogicTag: u, isRequestingLogicTag: d, isEditing: f, startEditing: p, handleInput: h, handleKeydown: g, handleClick: b, handleBlur: x, clearValue: C, insertMergeTag: T, insertLogicTag: E } = Ir({
|
|
1600
1623
|
modelValue: () => n.modelValue,
|
|
1601
1624
|
emit: (e) => i("update:modelValue", e),
|
|
1602
1625
|
elementRef: a
|
|
1603
1626
|
});
|
|
1604
|
-
return (t, n) => O(s) && !O(f) ? (S(), v("div",
|
|
1627
|
+
return (t, n) => O(s) && !O(f) ? (S(), v("div", Yr, [y(Hr, {
|
|
1605
1628
|
segments: O(o),
|
|
1606
|
-
"display-class":
|
|
1629
|
+
"display-class": ti,
|
|
1607
1630
|
onEdit: O(p),
|
|
1608
1631
|
onClear: O(C)
|
|
1609
1632
|
}, null, 8, [
|
|
1610
1633
|
"segments",
|
|
1611
1634
|
"onEdit",
|
|
1612
1635
|
"onClear"
|
|
1613
|
-
]), O(c) || O(u) ? (S(), v("div",
|
|
1636
|
+
]), O(c) || O(u) ? (S(), v("div", Xr, [O(c) ? (S(), w(Gr, {
|
|
1614
1637
|
key: 0,
|
|
1615
1638
|
disabled: O(l),
|
|
1616
1639
|
onInsert: O(T)
|
|
1617
|
-
}, null, 8, ["disabled", "onInsert"])) : A("", !0), O(u) ? (S(), w(
|
|
1640
|
+
}, null, 8, ["disabled", "onInsert"])) : A("", !0), O(u) ? (S(), w(Jr, {
|
|
1618
1641
|
key: 1,
|
|
1619
1642
|
disabled: O(d),
|
|
1620
1643
|
onInsert: O(E)
|
|
1621
|
-
}, null, 8, ["disabled", "onInsert"])) : A("", !0)])) : A("", !0)])) : (S(), v("div",
|
|
1644
|
+
}, null, 8, ["disabled", "onInsert"])) : A("", !0)])) : A("", !0)])) : (S(), v("div", Zr, [_("textarea", {
|
|
1622
1645
|
ref_key: "textareaRef",
|
|
1623
1646
|
ref: a,
|
|
1624
|
-
class: r(
|
|
1647
|
+
class: r(ei),
|
|
1625
1648
|
value: e.modelValue,
|
|
1626
1649
|
placeholder: e.placeholder,
|
|
1627
1650
|
rows: e.rows,
|
|
@@ -1629,17 +1652,17 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1629
1652
|
onKeydown: n[1] ||= (...e) => O(g) && O(g)(...e),
|
|
1630
1653
|
onClick: n[2] ||= (...e) => O(b) && O(b)(...e),
|
|
1631
1654
|
onBlur: n[3] ||= (...e) => O(x) && O(x)(...e)
|
|
1632
|
-
}, null, 40,
|
|
1655
|
+
}, null, 40, Qr), O(c) || O(u) ? (S(), v("div", $r, [O(c) ? (S(), w(Gr, {
|
|
1633
1656
|
key: 0,
|
|
1634
1657
|
disabled: O(l),
|
|
1635
1658
|
onInsert: O(T)
|
|
1636
|
-
}, null, 8, ["disabled", "onInsert"])) : A("", !0), O(u) ? (S(), w(
|
|
1659
|
+
}, null, 8, ["disabled", "onInsert"])) : A("", !0), O(u) ? (S(), w(Jr, {
|
|
1637
1660
|
key: 1,
|
|
1638
1661
|
disabled: O(d),
|
|
1639
1662
|
onInsert: O(E)
|
|
1640
1663
|
}, null, 8, ["disabled", "onInsert"])) : A("", !0)])) : A("", !0)]));
|
|
1641
1664
|
}
|
|
1642
|
-
}),
|
|
1665
|
+
}), ri = { class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]" }, ii = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:gap-3 tpl:overflow-y-auto tpl:p-4" }, ai = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, oi = { class: "tpl:mb-3.5" }, si = { class: "tpl:grid tpl:grid-cols-4 tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, ci = ["onClick"], li = { class: "tpl:flex tpl:items-stretch" }, ui = ["value"], di = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, fi = { class: "tpl:mb-3.5" }, pi = { class: "tpl:mb-3.5" }, mi = { class: "tpl:mb-3.5" }, hi = { class: "tpl:mb-3.5" }, gi = ["value"], _i = ["value"], vi = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, yi = ["value"], bi = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, xi = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Si = { class: "tpl:mt-1 tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, Ci = { class: "tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, wi = { class: "tpl:shrink-0 tpl:text-xs tpl:tabular-nums tpl:text-[var(--tpl-text-dim)]" }, Ti = { class: "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3" }, Ei = { class: "tpl:mb-2.5 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text-muted)]" }, Di = { class: "tpl:m-0 tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Oi = { class: "tpl:mb-1 tpl:last:mb-0" }, ki = { class: "tpl:mb-1 tpl:last:mb-0" }, Ai = { class: "tpl:mb-1 tpl:last:mb-0" }, ji = 150, Mi = /* @__PURE__ */ j({
|
|
1643
1666
|
__name: "TemplateSettings",
|
|
1644
1667
|
props: { settings: {} },
|
|
1645
1668
|
emits: ["update"],
|
|
@@ -1662,14 +1685,14 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1662
1685
|
label: "800px"
|
|
1663
1686
|
}
|
|
1664
1687
|
];
|
|
1665
|
-
return (t, n) => (S(), v("aside",
|
|
1666
|
-
_("div", { class: r(O(
|
|
1667
|
-
_("div",
|
|
1688
|
+
return (t, n) => (S(), v("aside", ri, [_("div", ii, [
|
|
1689
|
+
_("div", { class: r(O(dn)) }, [
|
|
1690
|
+
_("div", ai, [y(O(Fn), {
|
|
1668
1691
|
class: "tpl:text-[var(--tpl-text-muted)]",
|
|
1669
1692
|
size: 14,
|
|
1670
1693
|
"stroke-width": 2
|
|
1671
1694
|
}), _("span", null, C(O(a).templateSettings.layout), 1)]),
|
|
1672
|
-
_("div",
|
|
1695
|
+
_("div", oi, [_("label", { class: r(O(Y)) }, C(O(a).templateSettings.widthPreset), 3), _("div", si, [(S(), v(D, null, x(u, (t) => _("button", {
|
|
1673
1696
|
key: t.value,
|
|
1674
1697
|
class: "tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]",
|
|
1675
1698
|
style: l({
|
|
@@ -1678,38 +1701,38 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1678
1701
|
boxShadow: e.settings.width === t.value ? "var(--tpl-shadow)" : "none"
|
|
1679
1702
|
}),
|
|
1680
1703
|
onClick: (e) => i("update", { width: t.value })
|
|
1681
|
-
}, C(t.label), 13,
|
|
1682
|
-
_("div", null, [_("label", { class: r(O(Y)) }, C(O(a).templateSettings.customWidth), 3), _("div",
|
|
1704
|
+
}, C(t.label), 13, ci)), 64))])]),
|
|
1705
|
+
_("div", null, [_("label", { class: r(O(Y)) }, C(O(a).templateSettings.customWidth), 3), _("div", li, [_("input", {
|
|
1683
1706
|
type: "number",
|
|
1684
1707
|
class: r(O(Z)),
|
|
1685
1708
|
value: e.settings.width,
|
|
1686
1709
|
min: "300",
|
|
1687
1710
|
max: "900",
|
|
1688
1711
|
onInput: n[0] ||= (e) => i("update", { width: Number(e.target.value) })
|
|
1689
|
-
}, null, 42,
|
|
1712
|
+
}, null, 42, ui), _("span", { class: r(O(X)) }, "px", 2)])])
|
|
1690
1713
|
], 2),
|
|
1691
|
-
_("div", { class: r(O(
|
|
1692
|
-
_("div",
|
|
1714
|
+
_("div", { class: r(O(dn)) }, [
|
|
1715
|
+
_("div", di, [y(O(Cn), {
|
|
1693
1716
|
class: "tpl:text-[var(--tpl-text-muted)]",
|
|
1694
1717
|
size: 14,
|
|
1695
1718
|
"stroke-width": 2
|
|
1696
1719
|
}), _("span", null, C(O(a).templateSettings.appearance), 1)]),
|
|
1697
|
-
_("div",
|
|
1720
|
+
_("div", fi, [_("label", { class: r(O(Y)) }, C(O(a).templateSettings.backgroundColor), 3), y($, {
|
|
1698
1721
|
"model-value": e.settings.backgroundColor,
|
|
1699
|
-
placeholder: O(
|
|
1722
|
+
placeholder: O(pn),
|
|
1700
1723
|
"onUpdate:modelValue": n[1] ||= (e) => i("update", { backgroundColor: e })
|
|
1701
1724
|
}, null, 8, ["model-value", "placeholder"])]),
|
|
1702
|
-
_("div",
|
|
1725
|
+
_("div", pi, [_("label", { class: r(O(Y)) }, C(O(a).templateSettings.textColor), 3), y($, {
|
|
1703
1726
|
"model-value": e.settings.textColor ?? "",
|
|
1704
1727
|
"seed-color": "#1a1a1a",
|
|
1705
1728
|
"onUpdate:modelValue": n[2] ||= (e) => i("update", { textColor: e })
|
|
1706
1729
|
}, null, 8, ["model-value"])]),
|
|
1707
|
-
_("div",
|
|
1730
|
+
_("div", mi, [_("label", { class: r(O(Y)) }, C(O(a).templateSettings.linkColor), 3), y($, {
|
|
1708
1731
|
"model-value": e.settings.linkColor ?? "",
|
|
1709
1732
|
"seed-color": "#0066cc",
|
|
1710
1733
|
"onUpdate:modelValue": n[3] ||= (e) => i("update", { linkColor: e || void 0 })
|
|
1711
1734
|
}, null, 8, ["model-value"])]),
|
|
1712
|
-
_("div",
|
|
1735
|
+
_("div", hi, [y(_n, {
|
|
1713
1736
|
class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
|
|
1714
1737
|
"model-value": e.settings.linkUnderline,
|
|
1715
1738
|
label: O(a).templateSettings.linkUnderline,
|
|
@@ -1722,9 +1745,9 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1722
1745
|
}, [(S(!0), v(D, null, x(s.value, (e) => (S(), v("option", {
|
|
1723
1746
|
key: e.value,
|
|
1724
1747
|
value: e.value
|
|
1725
|
-
}, C(e.label), 9,
|
|
1748
|
+
}, C(e.label), 9, _i))), 128))], 42, gi)])
|
|
1726
1749
|
], 2),
|
|
1727
|
-
_("div", { class: r(O(
|
|
1750
|
+
_("div", { class: r(O(dn)) }, [_("div", vi, [y(O(wn), {
|
|
1728
1751
|
class: "tpl:text-[var(--tpl-text-muted)]",
|
|
1729
1752
|
size: 14,
|
|
1730
1753
|
"stroke-width": 2
|
|
@@ -1739,40 +1762,40 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1739
1762
|
autocapitalize: "off",
|
|
1740
1763
|
autocomplete: "off",
|
|
1741
1764
|
onInput: n[6] ||= (e) => i("update", { locale: e.target.value.trim() || void 0 })
|
|
1742
|
-
}, null, 42,
|
|
1743
|
-
_("p",
|
|
1765
|
+
}, null, 42, yi),
|
|
1766
|
+
_("p", bi, C(O(a).templateSettings.contentLocaleHint), 1)
|
|
1744
1767
|
])], 2),
|
|
1745
|
-
_("div", { class: r(O(
|
|
1768
|
+
_("div", { class: r(O(dn)) }, [_("div", xi, [y(O(Mt), {
|
|
1746
1769
|
class: "tpl:text-[var(--tpl-text-muted)]",
|
|
1747
1770
|
size: 14,
|
|
1748
1771
|
"stroke-width": 2
|
|
1749
|
-
}), _("span", null, C(O(a).templateSettings.preheaderText), 1)]), _("div", null, [y(
|
|
1772
|
+
}), _("span", null, C(O(a).templateSettings.preheaderText), 1)]), _("div", null, [y(ni, {
|
|
1750
1773
|
"model-value": e.settings.preheaderText ?? "",
|
|
1751
1774
|
placeholder: O(a).templateSettings.preheaderTextPlaceholder,
|
|
1752
1775
|
rows: 2,
|
|
1753
1776
|
"onUpdate:modelValue": n[7] ||= (e) => i("update", { preheaderText: e.replace(/[\r\n]/g, " ") || void 0 })
|
|
1754
|
-
}, null, 8, ["model-value", "placeholder"]), _("div",
|
|
1755
|
-
_("div",
|
|
1777
|
+
}, null, 8, ["model-value", "placeholder"]), _("div", Si, [_("span", Ci, C(O(a).templateSettings.preheaderTextHint), 1), _("span", wi, C((e.settings.preheaderText ?? "").length) + "/" + C(ji), 1)])])], 2),
|
|
1778
|
+
_("div", Ti, [_("div", Ei, [y(O(Ft), {
|
|
1756
1779
|
size: 14,
|
|
1757
1780
|
"stroke-width": 2
|
|
1758
|
-
}), _("span", null, C(O(a).templateSettings.tips), 1)]), _("ul",
|
|
1759
|
-
_("li",
|
|
1760
|
-
_("li",
|
|
1761
|
-
_("li",
|
|
1781
|
+
}), _("span", null, C(O(a).templateSettings.tips), 1)]), _("ul", Di, [
|
|
1782
|
+
_("li", Oi, C(O(a).templateSettings.tip1), 1),
|
|
1783
|
+
_("li", ki, C(O(a).templateSettings.tip2), 1),
|
|
1784
|
+
_("li", Ai, C(O(a).templateSettings.tip3), 1)
|
|
1762
1785
|
])])
|
|
1763
1786
|
])]));
|
|
1764
1787
|
}
|
|
1765
|
-
}),
|
|
1788
|
+
}), Ni = { key: 0 }, Pi = {
|
|
1766
1789
|
key: 0,
|
|
1767
1790
|
class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
|
|
1768
|
-
},
|
|
1791
|
+
}, Fi = { key: 1 }, Ii = [
|
|
1769
1792
|
"type",
|
|
1770
1793
|
"value",
|
|
1771
1794
|
"placeholder"
|
|
1772
|
-
],
|
|
1795
|
+
], Li = {
|
|
1773
1796
|
key: 0,
|
|
1774
1797
|
class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
|
|
1775
|
-
},
|
|
1798
|
+
}, Ri = "tpl:flex tpl:w-full tpl:min-h-10 tpl:cursor-pointer tpl:items-center tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-[var(--tpl-shadow-sm)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3.5 tpl:py-1.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", zi = /*#__PURE__*/ Qt(/* @__PURE__ */ j({
|
|
1776
1799
|
__name: "MergeTagInput",
|
|
1777
1800
|
props: {
|
|
1778
1801
|
modelValue: {},
|
|
@@ -1785,14 +1808,14 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1785
1808
|
},
|
|
1786
1809
|
emits: ["update:modelValue"],
|
|
1787
1810
|
setup(e, { emit: t }) {
|
|
1788
|
-
let n = e, i = t, a = m(null), { segments: o, hasMergeTags: s, canRequestMergeTag: c, isRequestingMergeTag: l, canInsertLogicTag: u, isRequestingLogicTag: d, isEditing: f, startEditing: p, handleInput: h, handleKeydown: g, handleClick: b, handleBlur: x, clearValue: C, insertMergeTag: T, insertLogicTag: E } =
|
|
1811
|
+
let n = e, i = t, a = m(null), { segments: o, hasMergeTags: s, canRequestMergeTag: c, isRequestingMergeTag: l, canInsertLogicTag: u, isRequestingLogicTag: d, isEditing: f, startEditing: p, handleInput: h, handleKeydown: g, handleClick: b, handleBlur: x, clearValue: C, insertMergeTag: T, insertLogicTag: E } = Ir({
|
|
1789
1812
|
modelValue: () => n.modelValue,
|
|
1790
1813
|
emit: (e) => i("update:modelValue", e),
|
|
1791
1814
|
elementRef: a
|
|
1792
1815
|
});
|
|
1793
|
-
return (t, n) => O(s) && !O(f) ? (S(), v("div",
|
|
1816
|
+
return (t, n) => O(s) && !O(f) ? (S(), v("div", Ni, [y(Hr, {
|
|
1794
1817
|
segments: O(o),
|
|
1795
|
-
"display-class":
|
|
1818
|
+
"display-class": Ri,
|
|
1796
1819
|
pulse: e.pulse,
|
|
1797
1820
|
onEdit: O(p),
|
|
1798
1821
|
onClear: O(C)
|
|
@@ -1801,15 +1824,15 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1801
1824
|
"pulse",
|
|
1802
1825
|
"onEdit",
|
|
1803
1826
|
"onClear"
|
|
1804
|
-
]), O(c) || O(u) ? (S(), v("div",
|
|
1827
|
+
]), O(c) || O(u) ? (S(), v("div", Pi, [O(c) ? (S(), w(Gr, {
|
|
1805
1828
|
key: 0,
|
|
1806
1829
|
disabled: O(l),
|
|
1807
1830
|
onInsert: O(T)
|
|
1808
|
-
}, null, 8, ["disabled", "onInsert"])) : A("", !0), O(u) ? (S(), w(
|
|
1831
|
+
}, null, 8, ["disabled", "onInsert"])) : A("", !0), O(u) ? (S(), w(Jr, {
|
|
1809
1832
|
key: 1,
|
|
1810
1833
|
disabled: O(d),
|
|
1811
1834
|
onInsert: O(E)
|
|
1812
|
-
}, null, 8, ["disabled", "onInsert"])) : A("", !0)])) : A("", !0)])) : (S(), v("div",
|
|
1835
|
+
}, null, 8, ["disabled", "onInsert"])) : A("", !0)])) : A("", !0)])) : (S(), v("div", Fi, [_("input", {
|
|
1813
1836
|
ref_key: "inputRef",
|
|
1814
1837
|
ref: a,
|
|
1815
1838
|
type: e.type,
|
|
@@ -1820,20 +1843,20 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1820
1843
|
onKeydown: n[1] ||= (...e) => O(g) && O(g)(...e),
|
|
1821
1844
|
onClick: n[2] ||= (...e) => O(b) && O(b)(...e),
|
|
1822
1845
|
onBlur: n[3] ||= (...e) => O(x) && O(x)(...e)
|
|
1823
|
-
}, null, 42,
|
|
1846
|
+
}, null, 42, Ii), O(c) || O(u) ? (S(), v("div", Li, [O(c) ? (S(), w(Gr, {
|
|
1824
1847
|
key: 0,
|
|
1825
1848
|
disabled: O(l),
|
|
1826
1849
|
onInsert: O(T)
|
|
1827
|
-
}, null, 8, ["disabled", "onInsert"])) : A("", !0), O(u) ? (S(), w(
|
|
1850
|
+
}, null, 8, ["disabled", "onInsert"])) : A("", !0), O(u) ? (S(), w(Jr, {
|
|
1828
1851
|
key: 1,
|
|
1829
1852
|
disabled: O(d),
|
|
1830
1853
|
onInsert: O(E)
|
|
1831
1854
|
}, null, 8, ["disabled", "onInsert"])) : A("", !0)])) : A("", !0)]));
|
|
1832
1855
|
}
|
|
1833
|
-
}), [["__scopeId", "data-v-c289916a"]]),
|
|
1856
|
+
}), [["__scopeId", "data-v-c289916a"]]), Bi = { class: "tpl:mb-3.5" }, Vi = ["value"], Hi = { value: "" }, Ui = ["value"], Wi = { class: "tpl:mb-3.5" }, Gi = { class: "tpl:mb-3.5" }, Ki = { class: "tpl:mb-3.5" }, qi = { class: "tpl:mb-3.5" }, Ji = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Yi = { class: "tpl:mb-3.5" }, Xi = { class: "tpl:flex tpl:items-stretch" }, Zi = ["value"], Qi = { class: "tpl:mb-3.5" }, $i = { class: "tpl:flex tpl:items-stretch" }, ea = ["value"], ta = { class: "tpl:mb-3.5" }, na = ["value"], ra = { value: "auto" }, ia = { value: "full" }, aa = { value: "custom" }, oa = {
|
|
1834
1857
|
key: 0,
|
|
1835
1858
|
class: "tpl:mt-2 tpl:flex tpl:items-stretch"
|
|
1836
|
-
},
|
|
1859
|
+
}, sa = ["value"], ca = { class: "tpl:mb-3.5" }, la = 200, ua = /* @__PURE__ */ j({
|
|
1837
1860
|
__name: "ButtonToolbar",
|
|
1838
1861
|
props: {
|
|
1839
1862
|
block: {},
|
|
@@ -1851,7 +1874,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1851
1874
|
return;
|
|
1852
1875
|
}
|
|
1853
1876
|
if (e === "custom") {
|
|
1854
|
-
s("width", typeof n.block.width == "number" ? n.block.width :
|
|
1877
|
+
s("width", typeof n.block.width == "number" ? n.block.width : la);
|
|
1855
1878
|
return;
|
|
1856
1879
|
}
|
|
1857
1880
|
s("width", void 0);
|
|
@@ -1861,28 +1884,28 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1861
1884
|
!Number.isFinite(t) || t <= 0 || s("width", t);
|
|
1862
1885
|
}
|
|
1863
1886
|
return (t, n) => (S(), v(D, null, [
|
|
1864
|
-
_("div",
|
|
1887
|
+
_("div", Bi, [_("label", { class: r(O(Y)) }, C(O(a).button.fontFamily), 3), _("select", {
|
|
1865
1888
|
class: r(O(Q)),
|
|
1866
1889
|
value: e.block.fontFamily || "",
|
|
1867
1890
|
onChange: n[0] ||= (e) => s("fontFamily", e.target.value || void 0)
|
|
1868
|
-
}, [_("option",
|
|
1891
|
+
}, [_("option", Hi, C(O(a).button.inheritFont), 1), (S(!0), v(D, null, x(e.fontFamilies, (e) => (S(), v("option", {
|
|
1869
1892
|
key: e.value,
|
|
1870
1893
|
value: e.value
|
|
1871
|
-
}, C(e.label), 9,
|
|
1872
|
-
_("div",
|
|
1894
|
+
}, C(e.label), 9, Ui))), 128))], 42, Vi)]),
|
|
1895
|
+
_("div", Wi, [_("label", { class: r(O(Y)) }, C(O(a).button.text), 3), y(zi, {
|
|
1873
1896
|
"model-value": e.block.text,
|
|
1874
1897
|
type: "text",
|
|
1875
1898
|
"onUpdate:modelValue": n[1] ||= (e) => s("text", e)
|
|
1876
1899
|
}, null, 8, ["model-value"])]),
|
|
1877
|
-
_("div",
|
|
1900
|
+
_("div", Gi, [
|
|
1878
1901
|
_("label", { class: r(O(Y)) }, C(O(a).button.url), 3),
|
|
1879
|
-
y(
|
|
1902
|
+
y(zi, {
|
|
1880
1903
|
"model-value": e.block.url,
|
|
1881
1904
|
type: "url",
|
|
1882
1905
|
placeholder: O(a).button.urlPlaceholder,
|
|
1883
1906
|
"onUpdate:modelValue": n[2] ||= (e) => s("url", e)
|
|
1884
1907
|
}, null, 8, ["model-value", "placeholder"]),
|
|
1885
|
-
e.block.url ? (S(), w(
|
|
1908
|
+
e.block.url ? (S(), w(_n, {
|
|
1886
1909
|
key: 0,
|
|
1887
1910
|
class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
|
|
1888
1911
|
"model-value": e.block.openInNewTab ?? !1,
|
|
@@ -1890,49 +1913,49 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1890
1913
|
"onUpdate:modelValue": n[3] ||= (e) => s("openInNewTab", e)
|
|
1891
1914
|
}, null, 8, ["model-value", "label"])) : A("", !0)
|
|
1892
1915
|
]),
|
|
1893
|
-
_("div",
|
|
1916
|
+
_("div", Ki, [_("label", { class: r(O(Y)) }, C(O(a).button.background), 3), y($, {
|
|
1894
1917
|
"model-value": e.block.backgroundColor,
|
|
1895
1918
|
"onUpdate:modelValue": n[4] ||= (e) => s("backgroundColor", e)
|
|
1896
1919
|
}, null, 8, ["model-value"])]),
|
|
1897
|
-
_("div",
|
|
1920
|
+
_("div", qi, [_("label", { class: r(O(Y)) }, C(O(a).button.textColor), 3), y($, {
|
|
1898
1921
|
"model-value": e.block.textColor,
|
|
1899
1922
|
"onUpdate:modelValue": n[5] ||= (e) => s("textColor", e)
|
|
1900
1923
|
}, null, 8, ["model-value"])]),
|
|
1901
|
-
_("div",
|
|
1924
|
+
_("div", Ji, [_("div", Yi, [_("label", { class: r(O(Y)) }, C(O(a).button.borderRadius), 3), _("div", Xi, [_("input", {
|
|
1902
1925
|
type: "number",
|
|
1903
1926
|
class: r(O(Z)),
|
|
1904
1927
|
value: e.block.borderRadius,
|
|
1905
1928
|
min: "0",
|
|
1906
1929
|
max: "50",
|
|
1907
1930
|
onInput: n[6] ||= (e) => s("borderRadius", Number(e.target.value))
|
|
1908
|
-
}, null, 42,
|
|
1931
|
+
}, null, 42, Zi), _("span", { class: r(O(X)) }, "px", 2)])]), _("div", Qi, [_("label", { class: r(O(Y)) }, C(O(a).button.fontSize), 3), _("div", $i, [_("input", {
|
|
1909
1932
|
type: "number",
|
|
1910
1933
|
class: r(O(Z)),
|
|
1911
1934
|
value: e.block.fontSize,
|
|
1912
1935
|
min: "10",
|
|
1913
1936
|
max: "36",
|
|
1914
1937
|
onInput: n[7] ||= (e) => s("fontSize", Number(e.target.value))
|
|
1915
|
-
}, null, 42,
|
|
1916
|
-
_("div",
|
|
1938
|
+
}, null, 42, ea), _("span", { class: r(O(X)) }, "px", 2)])])]),
|
|
1939
|
+
_("div", ta, [
|
|
1917
1940
|
_("label", { class: r(O(Y)) }, C(O(a).button.width), 3),
|
|
1918
1941
|
_("select", {
|
|
1919
1942
|
class: r(O(Q)),
|
|
1920
1943
|
value: o.value,
|
|
1921
1944
|
onChange: n[8] ||= (e) => c(e.target.value)
|
|
1922
1945
|
}, [
|
|
1923
|
-
_("option",
|
|
1924
|
-
_("option",
|
|
1925
|
-
_("option",
|
|
1926
|
-
], 42,
|
|
1927
|
-
o.value === "custom" ? (S(), v("div",
|
|
1946
|
+
_("option", ra, C(O(a).button.widthAuto), 1),
|
|
1947
|
+
_("option", ia, C(O(a).button.fullWidth), 1),
|
|
1948
|
+
_("option", aa, C(O(a).button.widthCustom), 1)
|
|
1949
|
+
], 42, na),
|
|
1950
|
+
o.value === "custom" ? (S(), v("div", oa, [_("input", {
|
|
1928
1951
|
type: "number",
|
|
1929
1952
|
class: r(O(Z)),
|
|
1930
|
-
value: typeof e.block.width == "number" ? e.block.width :
|
|
1953
|
+
value: typeof e.block.width == "number" ? e.block.width : la,
|
|
1931
1954
|
min: "20",
|
|
1932
1955
|
onInput: n[9] ||= (e) => l(e.target.value)
|
|
1933
|
-
}, null, 42,
|
|
1956
|
+
}, null, 42, sa), _("span", { class: r(O(X)) }, "px", 2)])) : A("", !0)
|
|
1934
1957
|
]),
|
|
1935
|
-
_("div",
|
|
1958
|
+
_("div", ca, [_("label", { class: r(O(Y)) }, C(O(a).title.align), 3), y(yn, {
|
|
1936
1959
|
options: [
|
|
1937
1960
|
{
|
|
1938
1961
|
value: "left",
|
|
@@ -1952,7 +1975,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1952
1975
|
}, null, 8, ["options", "model-value"])])
|
|
1953
1976
|
], 64));
|
|
1954
1977
|
}
|
|
1955
|
-
}),
|
|
1978
|
+
}), da = { class: "spacing-control" }, fa = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, pa = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, ma = { class: "tpl:flex tpl:items-center" }, ha = ["aria-label"], ga = ["value", "aria-label"], _a = ["aria-label"], va = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ya = { class: "tpl:flex tpl:items-center" }, ba = ["aria-label"], xa = ["value", "aria-label"], Sa = ["aria-label"], Ca = ["aria-label", "title"], wa = { class: "tpl:flex tpl:items-center" }, Ta = ["aria-label"], Ea = ["value", "aria-label"], Da = ["aria-label"], Oa = { class: "tpl:flex tpl:items-center" }, ka = ["aria-label"], Aa = ["value", "aria-label"], ja = ["aria-label"], Ma = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)] tpl:active:bg-[var(--tpl-bg-active)]", Na = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", Pa = /*#__PURE__*/ Qt(/* @__PURE__ */ j({
|
|
1956
1979
|
__name: "SpacingControl",
|
|
1957
1980
|
props: {
|
|
1958
1981
|
modelValue: {},
|
|
@@ -1999,130 +2022,130 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1999
2022
|
});
|
|
2000
2023
|
}
|
|
2001
2024
|
}
|
|
2002
|
-
return (t, n) => (S(), v("div",
|
|
2003
|
-
_("div",
|
|
2025
|
+
return (t, n) => (S(), v("div", da, [_("label", fa, C(e.label), 1), _("div", pa, [
|
|
2026
|
+
_("div", ma, [
|
|
2004
2027
|
_("button", {
|
|
2005
2028
|
"aria-label": O(a).spacingControl.decreaseTop,
|
|
2006
|
-
class: r([
|
|
2029
|
+
class: r([Ma, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
|
|
2007
2030
|
onClick: n[0] ||= (e) => l("top", -1)
|
|
2008
2031
|
}, [y(O(Ot), {
|
|
2009
2032
|
size: 12,
|
|
2010
2033
|
"stroke-width": 2
|
|
2011
|
-
})], 10,
|
|
2034
|
+
})], 10, ha),
|
|
2012
2035
|
_("input", {
|
|
2013
2036
|
type: "number",
|
|
2014
|
-
class: r(
|
|
2037
|
+
class: r(Na),
|
|
2015
2038
|
value: e.modelValue.top,
|
|
2016
2039
|
"aria-label": O(a).spacingControl.top,
|
|
2017
2040
|
min: "0",
|
|
2018
2041
|
onInput: n[1] ||= (e) => u("top", Number(e.target.value))
|
|
2019
|
-
}, null, 40,
|
|
2042
|
+
}, null, 40, ga),
|
|
2020
2043
|
_("button", {
|
|
2021
2044
|
"aria-label": O(a).spacingControl.increaseTop,
|
|
2022
|
-
class: r([
|
|
2045
|
+
class: r([Ma, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
|
|
2023
2046
|
onClick: n[2] ||= (e) => l("top", 1)
|
|
2024
|
-
}, [y(O(
|
|
2047
|
+
}, [y(O(An), {
|
|
2025
2048
|
size: 12,
|
|
2026
2049
|
"stroke-width": 2
|
|
2027
|
-
})], 10,
|
|
2050
|
+
})], 10, _a)
|
|
2028
2051
|
]),
|
|
2029
|
-
_("div",
|
|
2030
|
-
_("div",
|
|
2052
|
+
_("div", va, [
|
|
2053
|
+
_("div", ya, [
|
|
2031
2054
|
_("button", {
|
|
2032
2055
|
"aria-label": O(a).spacingControl.decreaseLeft,
|
|
2033
|
-
class: r([
|
|
2056
|
+
class: r([Ma, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
|
|
2034
2057
|
onClick: n[3] ||= (e) => l("left", -1)
|
|
2035
2058
|
}, [y(O(Ot), {
|
|
2036
2059
|
size: 12,
|
|
2037
2060
|
"stroke-width": 2
|
|
2038
|
-
})], 10,
|
|
2061
|
+
})], 10, ba),
|
|
2039
2062
|
_("input", {
|
|
2040
2063
|
type: "number",
|
|
2041
|
-
class: r(
|
|
2064
|
+
class: r(Na),
|
|
2042
2065
|
value: e.modelValue.left,
|
|
2043
2066
|
"aria-label": O(a).spacingControl.left,
|
|
2044
2067
|
min: "0",
|
|
2045
2068
|
onInput: n[4] ||= (e) => u("left", Number(e.target.value))
|
|
2046
|
-
}, null, 40,
|
|
2069
|
+
}, null, 40, xa),
|
|
2047
2070
|
_("button", {
|
|
2048
2071
|
"aria-label": O(a).spacingControl.increaseLeft,
|
|
2049
|
-
class: r([
|
|
2072
|
+
class: r([Ma, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
|
|
2050
2073
|
onClick: n[5] ||= (e) => l("left", 1)
|
|
2051
|
-
}, [y(O(
|
|
2074
|
+
}, [y(O(An), {
|
|
2052
2075
|
size: 12,
|
|
2053
2076
|
"stroke-width": 2
|
|
2054
|
-
})], 10,
|
|
2077
|
+
})], 10, Sa)
|
|
2055
2078
|
]),
|
|
2056
2079
|
_("button", {
|
|
2057
2080
|
class: r(["tpl:flex tpl:h-8 tpl:w-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", c.value ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
|
|
2058
2081
|
"aria-label": c.value ? O(a).spacingControl.unlock : O(a).spacingControl.lockAll,
|
|
2059
2082
|
title: c.value ? O(a).spacingControl.unlock : O(a).spacingControl.lockAll,
|
|
2060
2083
|
onClick: d
|
|
2061
|
-
}, [c.value ? (S(), w(O(
|
|
2084
|
+
}, [c.value ? (S(), w(O(Dn), {
|
|
2062
2085
|
key: 0,
|
|
2063
2086
|
size: 14,
|
|
2064
2087
|
"stroke-width": 2
|
|
2065
|
-
})) : (S(), w(O(
|
|
2088
|
+
})) : (S(), w(O(En), {
|
|
2066
2089
|
key: 1,
|
|
2067
2090
|
size: 14,
|
|
2068
2091
|
"stroke-width": 2
|
|
2069
|
-
}))], 10,
|
|
2070
|
-
_("div",
|
|
2092
|
+
}))], 10, Ca),
|
|
2093
|
+
_("div", wa, [
|
|
2071
2094
|
_("button", {
|
|
2072
2095
|
"aria-label": O(a).spacingControl.decreaseRight,
|
|
2073
|
-
class: r([
|
|
2096
|
+
class: r([Ma, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
|
|
2074
2097
|
onClick: n[6] ||= (e) => l("right", -1)
|
|
2075
2098
|
}, [y(O(Ot), {
|
|
2076
2099
|
size: 12,
|
|
2077
2100
|
"stroke-width": 2
|
|
2078
|
-
})], 10,
|
|
2101
|
+
})], 10, Ta),
|
|
2079
2102
|
_("input", {
|
|
2080
2103
|
type: "number",
|
|
2081
|
-
class: r(
|
|
2104
|
+
class: r(Na),
|
|
2082
2105
|
value: e.modelValue.right,
|
|
2083
2106
|
"aria-label": O(a).spacingControl.right,
|
|
2084
2107
|
min: "0",
|
|
2085
2108
|
onInput: n[7] ||= (e) => u("right", Number(e.target.value))
|
|
2086
|
-
}, null, 40,
|
|
2109
|
+
}, null, 40, Ea),
|
|
2087
2110
|
_("button", {
|
|
2088
2111
|
"aria-label": O(a).spacingControl.increaseRight,
|
|
2089
|
-
class: r([
|
|
2112
|
+
class: r([Ma, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
|
|
2090
2113
|
onClick: n[8] ||= (e) => l("right", 1)
|
|
2091
|
-
}, [y(O(
|
|
2114
|
+
}, [y(O(An), {
|
|
2092
2115
|
size: 12,
|
|
2093
2116
|
"stroke-width": 2
|
|
2094
|
-
})], 10,
|
|
2117
|
+
})], 10, Da)
|
|
2095
2118
|
])
|
|
2096
2119
|
]),
|
|
2097
|
-
_("div",
|
|
2120
|
+
_("div", Oa, [
|
|
2098
2121
|
_("button", {
|
|
2099
2122
|
"aria-label": O(a).spacingControl.decreaseBottom,
|
|
2100
|
-
class: r([
|
|
2123
|
+
class: r([Ma, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
|
|
2101
2124
|
onClick: n[9] ||= (e) => l("bottom", -1)
|
|
2102
2125
|
}, [y(O(Ot), {
|
|
2103
2126
|
size: 12,
|
|
2104
2127
|
"stroke-width": 2
|
|
2105
|
-
})], 10,
|
|
2128
|
+
})], 10, ka),
|
|
2106
2129
|
_("input", {
|
|
2107
2130
|
type: "number",
|
|
2108
|
-
class: r(
|
|
2131
|
+
class: r(Na),
|
|
2109
2132
|
value: e.modelValue.bottom,
|
|
2110
2133
|
"aria-label": O(a).spacingControl.bottom,
|
|
2111
2134
|
min: "0",
|
|
2112
2135
|
onInput: n[10] ||= (e) => u("bottom", Number(e.target.value))
|
|
2113
|
-
}, null, 40,
|
|
2136
|
+
}, null, 40, Aa),
|
|
2114
2137
|
_("button", {
|
|
2115
2138
|
"aria-label": O(a).spacingControl.increaseBottom,
|
|
2116
|
-
class: r([
|
|
2139
|
+
class: r([Ma, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
|
|
2117
2140
|
onClick: n[11] ||= (e) => l("bottom", 1)
|
|
2118
|
-
}, [y(O(
|
|
2141
|
+
}, [y(O(An), {
|
|
2119
2142
|
size: 12,
|
|
2120
2143
|
"stroke-width": 2
|
|
2121
|
-
})], 10,
|
|
2144
|
+
})], 10, ja)
|
|
2122
2145
|
])
|
|
2123
2146
|
])]));
|
|
2124
2147
|
}
|
|
2125
|
-
}), [["__scopeId", "data-v-69591c1e"]]),
|
|
2148
|
+
}), [["__scopeId", "data-v-69591c1e"]]), Fa = ["data-testid"], Ia = { class: "tpl:mt-3" }, La = /* @__PURE__ */ j({
|
|
2126
2149
|
__name: "CollapsibleSection",
|
|
2127
2150
|
props: {
|
|
2128
2151
|
title: {},
|
|
@@ -2141,21 +2164,21 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2141
2164
|
class: r(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
|
|
2142
2165
|
size: 12,
|
|
2143
2166
|
"stroke-width": 2
|
|
2144
|
-
}, null, 8, ["class"]), _("span", null, C(e.title), 1)], 8,
|
|
2167
|
+
}, null, 8, ["class"]), _("span", null, C(e.title), 1)], 8, Fa), t(_("div", Ia, [s(n.$slots, "default")], 512), [[I, e.open]])], 2));
|
|
2145
2168
|
}
|
|
2146
|
-
}),
|
|
2169
|
+
}), Ra = { class: "tpl:space-y-2" }, za = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ba = { class: "tpl:space-y-2" }, Va = ["value"], Ha = { value: "" }, Ua = ["label"], Wa = ["value"], Ga = ["value"], Ka = {
|
|
2147
2170
|
key: 0,
|
|
2148
2171
|
value: "__custom__"
|
|
2149
|
-
},
|
|
2172
|
+
}, qa = {
|
|
2150
2173
|
key: 0,
|
|
2151
2174
|
class: "tpl:space-y-2"
|
|
2152
|
-
},
|
|
2175
|
+
}, Ja = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Ya = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Xa = { class: "tpl:flex tpl:justify-end" }, Za = ["disabled"], Qa = {
|
|
2153
2176
|
key: 0,
|
|
2154
2177
|
class: "tpl:text-[11px] tpl:text-[var(--tpl-text-muted)]"
|
|
2155
|
-
},
|
|
2178
|
+
}, $a = { class: "tpl:space-y-1" }, eo = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, to = {
|
|
2156
2179
|
key: 0,
|
|
2157
2180
|
class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
|
|
2158
|
-
},
|
|
2181
|
+
}, no = /* @__PURE__ */ j({
|
|
2159
2182
|
__name: "CommonBlockSettings",
|
|
2160
2183
|
props: {
|
|
2161
2184
|
block: {},
|
|
@@ -2165,11 +2188,11 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2165
2188
|
setup(e, { emit: n }) {
|
|
2166
2189
|
let i = e, s = n, { t: c } = q(), l = d(dt, []), f = d(ft, !1), p = a(/* @__PURE__ */ new Set()), h = m(!1), g = m(""), T = m(""), E = [{
|
|
2167
2190
|
key: "desktop",
|
|
2168
|
-
icon:
|
|
2191
|
+
icon: Bt,
|
|
2169
2192
|
labelKey: "showOnDesktop"
|
|
2170
2193
|
}, {
|
|
2171
2194
|
key: "mobile",
|
|
2172
|
-
icon:
|
|
2195
|
+
icon: Ht,
|
|
2173
2196
|
labelKey: "showOnMobile"
|
|
2174
2197
|
}];
|
|
2175
2198
|
function j(e) {
|
|
@@ -2218,13 +2241,13 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2218
2241
|
t[e] = !t[e], s("update", { visibility: t });
|
|
2219
2242
|
}
|
|
2220
2243
|
return (n, i) => (S(), v("div", { class: r(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
|
|
2221
|
-
y(
|
|
2244
|
+
y(La, {
|
|
2222
2245
|
title: O(c).blockSettings.spacing,
|
|
2223
2246
|
open: p.has("spacing"),
|
|
2224
2247
|
"no-border": e.isFirstSection,
|
|
2225
2248
|
onToggle: i[1] ||= (e) => j("spacing")
|
|
2226
2249
|
}, {
|
|
2227
|
-
default: M(() => [y(
|
|
2250
|
+
default: M(() => [y(Pa, {
|
|
2228
2251
|
label: O(c).blockSettings.padding,
|
|
2229
2252
|
"model-value": e.block.styles.padding,
|
|
2230
2253
|
"onUpdate:modelValue": i[0] ||= (e) => z("padding", e)
|
|
@@ -2235,7 +2258,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2235
2258
|
"open",
|
|
2236
2259
|
"no-border"
|
|
2237
2260
|
]),
|
|
2238
|
-
y(
|
|
2261
|
+
y(La, {
|
|
2239
2262
|
title: O(c).blockSettings.background,
|
|
2240
2263
|
open: p.has("bg"),
|
|
2241
2264
|
onToggle: i[3] ||= (e) => j("bg")
|
|
@@ -2246,19 +2269,19 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2246
2269
|
}, null, 8, ["model-value"])]),
|
|
2247
2270
|
_: 1
|
|
2248
2271
|
}, 8, ["title", "open"]),
|
|
2249
|
-
y(
|
|
2272
|
+
y(La, {
|
|
2250
2273
|
title: O(c).blockSettings.display,
|
|
2251
2274
|
open: p.has("display"),
|
|
2252
2275
|
onToggle: i[4] ||= (e) => j("display")
|
|
2253
2276
|
}, {
|
|
2254
|
-
default: M(() => [_("div",
|
|
2277
|
+
default: M(() => [_("div", Ra, [(S(), v(D, null, x(E, (e) => y(_n, {
|
|
2255
2278
|
key: e.key,
|
|
2256
2279
|
class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
|
|
2257
2280
|
"model-value": B(e.key),
|
|
2258
2281
|
label: O(c).blockSettings[e.labelKey],
|
|
2259
2282
|
"onUpdate:modelValue": (t) => V(e.key)
|
|
2260
2283
|
}, {
|
|
2261
|
-
default: M(() => [_("span",
|
|
2284
|
+
default: M(() => [_("span", za, [(S(), w(u(e.icon), {
|
|
2262
2285
|
size: 14,
|
|
2263
2286
|
"stroke-width": 1.5
|
|
2264
2287
|
})), b(" " + C(O(c).blockSettings[e.labelKey]), 1)])]),
|
|
@@ -2270,14 +2293,14 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2270
2293
|
])), 64))])]),
|
|
2271
2294
|
_: 1
|
|
2272
2295
|
}, 8, ["title", "open"]),
|
|
2273
|
-
P.value ? (S(), w(
|
|
2296
|
+
P.value ? (S(), w(La, {
|
|
2274
2297
|
key: 0,
|
|
2275
2298
|
"header-test-id": "display-condition-section",
|
|
2276
2299
|
title: O(c).blockSettings.displayCondition,
|
|
2277
2300
|
open: p.has("condition"),
|
|
2278
2301
|
onToggle: i[8] ||= (e) => j("condition")
|
|
2279
2302
|
}, {
|
|
2280
|
-
default: M(() => [_("div",
|
|
2303
|
+
default: M(() => [_("div", Ba, [_("select", {
|
|
2281
2304
|
"data-testid": "display-condition-select",
|
|
2282
2305
|
class: r(["tpl:w-full tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:outline-none tpl:transition-all tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", e.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
|
|
2283
2306
|
value: h.value || F.value ? "__custom__" : e.block.displayCondition?.label ?? "",
|
|
@@ -2295,41 +2318,41 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2295
2318
|
n && s("update", { displayCondition: n });
|
|
2296
2319
|
}
|
|
2297
2320
|
}, [
|
|
2298
|
-
_("option",
|
|
2321
|
+
_("option", Ha, C(O(c).blockSettings.noCondition), 1),
|
|
2299
2322
|
(S(!0), v(D, null, x(R.value, (e, t) => (S(), v(D, { key: t }, [t ? (S(), v("optgroup", {
|
|
2300
2323
|
key: 0,
|
|
2301
2324
|
label: String(t)
|
|
2302
2325
|
}, [(S(!0), v(D, null, x(e, (e) => (S(), v("option", {
|
|
2303
2326
|
key: e.label,
|
|
2304
2327
|
value: e.label
|
|
2305
|
-
}, C(e.label), 9,
|
|
2328
|
+
}, C(e.label), 9, Wa))), 128))], 8, Ua)) : (S(!0), v(D, { key: 1 }, x(e, (e) => (S(), v("option", {
|
|
2306
2329
|
key: e.label,
|
|
2307
2330
|
value: e.label
|
|
2308
|
-
}, C(e.label), 9,
|
|
2309
|
-
O(f) ? (S(), v("option",
|
|
2310
|
-
], 42,
|
|
2311
|
-
_("div", null, [_("label",
|
|
2331
|
+
}, C(e.label), 9, Ga))), 128))], 64))), 128)),
|
|
2332
|
+
O(f) ? (S(), v("option", Ka, C(O(c).blockSettings.customCondition), 1)) : A("", !0)
|
|
2333
|
+
], 42, Va), h.value || F.value ? (S(), v("div", qa, [
|
|
2334
|
+
_("div", null, [_("label", Ja, C(O(c).blockSettings.customConditionBefore), 1), t(_("textarea", {
|
|
2312
2335
|
"onUpdate:modelValue": i[6] ||= (e) => g.value = e,
|
|
2313
2336
|
rows: "2",
|
|
2314
|
-
class: r(O(
|
|
2337
|
+
class: r(O(cn))
|
|
2315
2338
|
}, null, 2), [[N, g.value]])]),
|
|
2316
|
-
_("div", null, [_("label",
|
|
2339
|
+
_("div", null, [_("label", Ya, C(O(c).blockSettings.customConditionAfter), 1), t(_("textarea", {
|
|
2317
2340
|
"onUpdate:modelValue": i[7] ||= (e) => T.value = e,
|
|
2318
2341
|
rows: "2",
|
|
2319
|
-
class: r(O(
|
|
2342
|
+
class: r(O(cn))
|
|
2320
2343
|
}, null, 2), [[N, T.value]])]),
|
|
2321
|
-
_("div",
|
|
2344
|
+
_("div", Xa, [_("button", {
|
|
2322
2345
|
type: "button",
|
|
2323
2346
|
class: "tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-[var(--tpl-primary)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-on-primary)] tpl:transition-all tpl:hover:opacity-90 tpl:disabled:opacity-50",
|
|
2324
2347
|
disabled: !g.value.trim(),
|
|
2325
2348
|
onClick: L
|
|
2326
|
-
}, C(O(c).blockSettings.applyCondition), 9,
|
|
2327
|
-
])) : e.block.displayCondition && !F.value ? (S(), v(D, { key: 1 }, [e.block.displayCondition.description ? (S(), v("p",
|
|
2349
|
+
}, C(O(c).blockSettings.applyCondition), 9, Za)])
|
|
2350
|
+
])) : e.block.displayCondition && !F.value ? (S(), v(D, { key: 1 }, [e.block.displayCondition.description ? (S(), v("p", Qa, C(e.block.displayCondition.description), 1)) : A("", !0), _("div", $a, [_("pre", eo, C(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (S(), v("pre", to, C(e.block.displayCondition.after), 1)) : A("", !0)])], 64)) : A("", !0)])]),
|
|
2328
2351
|
_: 1
|
|
2329
2352
|
}, 8, ["title", "open"])) : A("", !0)
|
|
2330
2353
|
], 2));
|
|
2331
2354
|
}
|
|
2332
|
-
}),
|
|
2355
|
+
}), ro = ["title"], io = /* @__PURE__ */ j({
|
|
2333
2356
|
__name: "BooleanField",
|
|
2334
2357
|
props: {
|
|
2335
2358
|
field: {},
|
|
@@ -2342,7 +2365,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2342
2365
|
return (t, i) => (S(), v("div", {
|
|
2343
2366
|
class: "tpl:mb-3.5",
|
|
2344
2367
|
title: e.readOnly ? O(r).customBlocks.dataSource.readOnlyTooltip : void 0
|
|
2345
|
-
}, [y(
|
|
2368
|
+
}, [y(_n, {
|
|
2346
2369
|
class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
|
|
2347
2370
|
"model-value": e.modelValue,
|
|
2348
2371
|
label: e.field.label,
|
|
@@ -2350,7 +2373,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2350
2373
|
disabled: e.readOnly,
|
|
2351
2374
|
"onUpdate:modelValue": i[0] ||= (e) => n("update:modelValue", e)
|
|
2352
2375
|
}, {
|
|
2353
|
-
default: M(() => [b(C(e.field.label) + " ", 1), e.readOnly ? (S(), w(O(
|
|
2376
|
+
default: M(() => [b(C(e.field.label) + " ", 1), e.readOnly ? (S(), w(O(Dn), {
|
|
2354
2377
|
key: 0,
|
|
2355
2378
|
size: 12,
|
|
2356
2379
|
class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
|
|
@@ -2361,9 +2384,9 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2361
2384
|
"label",
|
|
2362
2385
|
"required",
|
|
2363
2386
|
"disabled"
|
|
2364
|
-
])], 8,
|
|
2387
|
+
])], 8, ro));
|
|
2365
2388
|
}
|
|
2366
|
-
}),
|
|
2389
|
+
}), ao = { class: "tpl:mb-3.5" }, oo = ["title"], so = { class: "tpl-sr-only" }, co = ["title"], lo = { class: "tpl-sr-only" }, uo = /* @__PURE__ */ j({
|
|
2367
2390
|
__name: "FieldWrapper",
|
|
2368
2391
|
props: {
|
|
2369
2392
|
label: {},
|
|
@@ -2372,24 +2395,24 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2372
2395
|
},
|
|
2373
2396
|
setup(e) {
|
|
2374
2397
|
let { t } = q();
|
|
2375
|
-
return (n, i) => (S(), v("div",
|
|
2398
|
+
return (n, i) => (S(), v("div", ao, [_("label", { class: r(O(Y)) }, [
|
|
2376
2399
|
b(C(e.label) + " ", 1),
|
|
2377
2400
|
e.readOnly ? (S(), v("span", {
|
|
2378
2401
|
key: 0,
|
|
2379
2402
|
title: O(t).customBlocks.dataSource.readOnlyTooltip
|
|
2380
|
-
}, [y(O(
|
|
2403
|
+
}, [y(O(Dn), {
|
|
2381
2404
|
size: 12,
|
|
2382
2405
|
class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
|
|
2383
2406
|
"aria-hidden": "true"
|
|
2384
|
-
}), _("span",
|
|
2407
|
+
}), _("span", so, C(O(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, oo)) : A("", !0),
|
|
2385
2408
|
e.required ? (S(), v("span", {
|
|
2386
2409
|
key: 1,
|
|
2387
2410
|
class: "tpl:text-[var(--tpl-danger)]",
|
|
2388
2411
|
title: O(t).customBlocks.fields.required
|
|
2389
|
-
}, [i[0] ||= _("span", { "aria-hidden": "true" }, "*", -1), _("span",
|
|
2412
|
+
}, [i[0] ||= _("span", { "aria-hidden": "true" }, "*", -1), _("span", lo, C(O(t).customBlocks.fields.required), 1)], 8, co)) : A("", !0)
|
|
2390
2413
|
], 2), s(n.$slots, "default")]));
|
|
2391
2414
|
}
|
|
2392
|
-
}),
|
|
2415
|
+
}), fo = /* @__PURE__ */ j({
|
|
2393
2416
|
__name: "ColorField",
|
|
2394
2417
|
props: {
|
|
2395
2418
|
field: {},
|
|
@@ -2399,7 +2422,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2399
2422
|
emits: ["update:modelValue"],
|
|
2400
2423
|
setup(e, { emit: t }) {
|
|
2401
2424
|
let n = e, r = t, { t: i } = q(), a = d(_t, xt), o = k(() => Ue(n.field, a));
|
|
2402
|
-
return (t, n) => (S(), w(
|
|
2425
|
+
return (t, n) => (S(), w(uo, {
|
|
2403
2426
|
label: e.field.label,
|
|
2404
2427
|
required: e.field.required,
|
|
2405
2428
|
"read-only": e.readOnly
|
|
@@ -2427,15 +2450,15 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2427
2450
|
"read-only"
|
|
2428
2451
|
]));
|
|
2429
2452
|
}
|
|
2430
|
-
}),
|
|
2453
|
+
}), po = {
|
|
2431
2454
|
key: 0,
|
|
2432
2455
|
class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
|
|
2433
2456
|
style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
|
|
2434
|
-
},
|
|
2457
|
+
}, mo = [
|
|
2435
2458
|
"value",
|
|
2436
2459
|
"placeholder",
|
|
2437
2460
|
"title"
|
|
2438
|
-
],
|
|
2461
|
+
], ho = ["value", "placeholder"], go = /* @__PURE__ */ j({
|
|
2439
2462
|
__name: "ImageField",
|
|
2440
2463
|
props: {
|
|
2441
2464
|
field: {},
|
|
@@ -2444,7 +2467,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2444
2467
|
},
|
|
2445
2468
|
emits: ["update:modelValue"],
|
|
2446
2469
|
setup(e, { emit: t }) {
|
|
2447
|
-
let n = e, i = t, { t: a } = q(), o = d(lt, null), s =
|
|
2470
|
+
let n = e, i = t, { t: a } = q(), o = d(lt, null), s = tn(), c = k(() => !!o);
|
|
2448
2471
|
async function l() {
|
|
2449
2472
|
let e = await o?.({ accept: ["images"] });
|
|
2450
2473
|
s.alive && e && i("update:modelValue", e.url);
|
|
@@ -2470,7 +2493,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2470
2493
|
enabled: p,
|
|
2471
2494
|
onFiles: h
|
|
2472
2495
|
});
|
|
2473
|
-
return (t, n) => (S(), w(
|
|
2496
|
+
return (t, n) => (S(), w(uo, {
|
|
2474
2497
|
label: e.field.label,
|
|
2475
2498
|
required: e.field.required,
|
|
2476
2499
|
"read-only": e.readOnly
|
|
@@ -2480,11 +2503,11 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2480
2503
|
ref: u,
|
|
2481
2504
|
class: "tpl:relative"
|
|
2482
2505
|
}, [
|
|
2483
|
-
p.value && (O(g) || f.value) ? (S(), v("div",
|
|
2506
|
+
p.value && (O(g) || f.value) ? (S(), v("div", po, [f.value ? (S(), v(D, { key: 0 }, [y(O(Rt), {
|
|
2484
2507
|
class: "tpl-spinner",
|
|
2485
2508
|
size: 18,
|
|
2486
2509
|
"stroke-width": 2
|
|
2487
|
-
}), b(" " + C(O(a).image.uploading), 1)], 64)) : (S(), v(D, { key: 1 }, [y(O(
|
|
2510
|
+
}), b(" " + C(O(a).image.uploading), 1)], 64)) : (S(), v(D, { key: 1 }, [y(O(Xt), {
|
|
2488
2511
|
size: 18,
|
|
2489
2512
|
"stroke-width": 1.5
|
|
2490
2513
|
}), b(" " + C(O(a).image.dropToUpload), 1)], 64))])) : A("", !0),
|
|
@@ -2496,14 +2519,14 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2496
2519
|
placeholder: e.field.placeholder || "https://...",
|
|
2497
2520
|
disabled: "",
|
|
2498
2521
|
title: O(a).customBlocks.dataSource.readOnlyTooltip
|
|
2499
|
-
}, null, 10,
|
|
2522
|
+
}, null, 10, mo)) : (S(), v("input", {
|
|
2500
2523
|
key: 2,
|
|
2501
2524
|
type: "url",
|
|
2502
2525
|
class: r(O(Q)),
|
|
2503
2526
|
value: e.modelValue,
|
|
2504
2527
|
placeholder: e.field.placeholder || "https://...",
|
|
2505
2528
|
onInput: n[0] ||= (e) => i("update:modelValue", e.target.value)
|
|
2506
|
-
}, null, 42,
|
|
2529
|
+
}, null, 42, ho)),
|
|
2507
2530
|
c.value && !e.readOnly ? (S(), v("button", {
|
|
2508
2531
|
key: 3,
|
|
2509
2532
|
class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg)]",
|
|
@@ -2520,7 +2543,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2520
2543
|
"read-only"
|
|
2521
2544
|
]));
|
|
2522
2545
|
}
|
|
2523
|
-
}),
|
|
2546
|
+
}), _o = [
|
|
2524
2547
|
"value",
|
|
2525
2548
|
"placeholder",
|
|
2526
2549
|
"min",
|
|
@@ -2528,7 +2551,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2528
2551
|
"step",
|
|
2529
2552
|
"disabled",
|
|
2530
2553
|
"title"
|
|
2531
|
-
],
|
|
2554
|
+
], vo = /* @__PURE__ */ j({
|
|
2532
2555
|
__name: "NumberField",
|
|
2533
2556
|
props: {
|
|
2534
2557
|
field: {},
|
|
@@ -2538,7 +2561,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2538
2561
|
emits: ["update:modelValue"],
|
|
2539
2562
|
setup(e, { emit: t }) {
|
|
2540
2563
|
let n = t, { t: i } = q();
|
|
2541
|
-
return (t, a) => (S(), w(
|
|
2564
|
+
return (t, a) => (S(), w(uo, {
|
|
2542
2565
|
label: e.field.label,
|
|
2543
2566
|
required: e.field.required,
|
|
2544
2567
|
"read-only": e.readOnly
|
|
@@ -2554,7 +2577,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2554
2577
|
disabled: e.readOnly,
|
|
2555
2578
|
title: e.readOnly ? O(i).customBlocks.dataSource.readOnlyTooltip : void 0,
|
|
2556
2579
|
onInput: a[0] ||= (t) => !e.readOnly && n("update:modelValue", Number(t.target.value))
|
|
2557
|
-
}, null, 42,
|
|
2580
|
+
}, null, 42, _o)]),
|
|
2558
2581
|
_: 1
|
|
2559
2582
|
}, 8, [
|
|
2560
2583
|
"label",
|
|
@@ -2562,13 +2585,13 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2562
2585
|
"read-only"
|
|
2563
2586
|
]));
|
|
2564
2587
|
}
|
|
2565
|
-
}),
|
|
2588
|
+
}), yo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, bo = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, xo = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, So = ["title", "onClick"], Co = {
|
|
2566
2589
|
key: 1,
|
|
2567
2590
|
class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
|
|
2568
|
-
},
|
|
2591
|
+
}, wo = {
|
|
2569
2592
|
key: 2,
|
|
2570
2593
|
class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
|
|
2571
|
-
},
|
|
2594
|
+
}, To = /* @__PURE__ */ j({
|
|
2572
2595
|
__name: "RepeatableField",
|
|
2573
2596
|
props: {
|
|
2574
2597
|
field: {},
|
|
@@ -2596,25 +2619,25 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2596
2619
|
} : r);
|
|
2597
2620
|
i("update:modelValue", r);
|
|
2598
2621
|
}
|
|
2599
|
-
return (t, n) => (S(), w(
|
|
2622
|
+
return (t, n) => (S(), w(uo, {
|
|
2600
2623
|
label: e.field.label,
|
|
2601
2624
|
required: e.field.required,
|
|
2602
2625
|
"read-only": e.readOnly
|
|
2603
2626
|
}, {
|
|
2604
|
-
default: M(() => [_("div",
|
|
2627
|
+
default: M(() => [_("div", yo, [
|
|
2605
2628
|
(S(!0), v(D, null, x(s.value, (t, n) => (S(), v("div", {
|
|
2606
2629
|
key: `${e.field.key}-${n}`,
|
|
2607
2630
|
class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
|
|
2608
|
-
}, [_("div",
|
|
2631
|
+
}, [_("div", bo, [_("span", xo, " #" + C(n + 1), 1), l.value && !e.readOnly ? (S(), v("button", {
|
|
2609
2632
|
key: 0,
|
|
2610
2633
|
type: "button",
|
|
2611
2634
|
class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
|
|
2612
2635
|
title: O(a).customBlocks.fields.removeItem,
|
|
2613
2636
|
onClick: (e) => f(n)
|
|
2614
|
-
}, [y(O(
|
|
2637
|
+
}, [y(O(Yt), {
|
|
2615
2638
|
size: 12,
|
|
2616
2639
|
"stroke-width": 2
|
|
2617
|
-
})], 8,
|
|
2640
|
+
})], 8, So)) : A("", !0)]), (S(!0), v(D, null, x(e.field.fields, (r) => (S(), w(u(O(Po)(r.type)), {
|
|
2618
2641
|
key: r.key,
|
|
2619
2642
|
field: r,
|
|
2620
2643
|
"model-value": t[r.key],
|
|
@@ -2629,14 +2652,14 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2629
2652
|
c.value && !e.readOnly ? (S(), v("button", {
|
|
2630
2653
|
key: 0,
|
|
2631
2654
|
type: "button",
|
|
2632
|
-
class: r(O(
|
|
2655
|
+
class: r(O(un)),
|
|
2633
2656
|
onClick: d
|
|
2634
|
-
}, [y(O(
|
|
2657
|
+
}, [y(O(An), {
|
|
2635
2658
|
size: 14,
|
|
2636
2659
|
"stroke-width": 2
|
|
2637
2660
|
}), b(" " + C(O(a).customBlocks.fields.addItem), 1)], 2)) : A("", !0),
|
|
2638
|
-
!c.value && !e.readOnly ? (S(), v("p",
|
|
2639
|
-
!l.value && !e.readOnly ? (S(), v("p",
|
|
2661
|
+
!c.value && !e.readOnly ? (S(), v("p", Co, C(O(a).customBlocks.fields.maxItemsReached), 1)) : A("", !0),
|
|
2662
|
+
!l.value && !e.readOnly ? (S(), v("p", wo, C(O(o)(O(a).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : A("", !0)
|
|
2640
2663
|
])]),
|
|
2641
2664
|
_: 1
|
|
2642
2665
|
}, 8, [
|
|
@@ -2645,11 +2668,11 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2645
2668
|
"read-only"
|
|
2646
2669
|
]));
|
|
2647
2670
|
}
|
|
2648
|
-
}),
|
|
2671
|
+
}), Eo = [
|
|
2649
2672
|
"value",
|
|
2650
2673
|
"disabled",
|
|
2651
2674
|
"title"
|
|
2652
|
-
],
|
|
2675
|
+
], Do = ["value"], Oo = /* @__PURE__ */ j({
|
|
2653
2676
|
__name: "SelectField",
|
|
2654
2677
|
props: {
|
|
2655
2678
|
field: {},
|
|
@@ -2659,7 +2682,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2659
2682
|
emits: ["update:modelValue"],
|
|
2660
2683
|
setup(e, { emit: t }) {
|
|
2661
2684
|
let n = t, { t: i } = q();
|
|
2662
|
-
return (t, a) => (S(), w(
|
|
2685
|
+
return (t, a) => (S(), w(uo, {
|
|
2663
2686
|
label: e.field.label,
|
|
2664
2687
|
required: e.field.required,
|
|
2665
2688
|
"read-only": e.readOnly
|
|
@@ -2673,7 +2696,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2673
2696
|
}, [(S(!0), v(D, null, x(e.field.options, (e) => (S(), v("option", {
|
|
2674
2697
|
key: e.value,
|
|
2675
2698
|
value: e.value
|
|
2676
|
-
}, C(e.label), 9,
|
|
2699
|
+
}, C(e.label), 9, Do))), 128))], 42, Eo)]),
|
|
2677
2700
|
_: 1
|
|
2678
2701
|
}, 8, [
|
|
2679
2702
|
"label",
|
|
@@ -2681,11 +2704,11 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2681
2704
|
"read-only"
|
|
2682
2705
|
]));
|
|
2683
2706
|
}
|
|
2684
|
-
}),
|
|
2707
|
+
}), ko = [
|
|
2685
2708
|
"value",
|
|
2686
2709
|
"placeholder",
|
|
2687
2710
|
"title"
|
|
2688
|
-
],
|
|
2711
|
+
], Ao = /* @__PURE__ */ j({
|
|
2689
2712
|
__name: "TextField",
|
|
2690
2713
|
props: {
|
|
2691
2714
|
field: {},
|
|
@@ -2695,7 +2718,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2695
2718
|
emits: ["update:modelValue"],
|
|
2696
2719
|
setup(e, { emit: t }) {
|
|
2697
2720
|
let n = t, { t: i } = q();
|
|
2698
|
-
return (t, a) => (S(), w(
|
|
2721
|
+
return (t, a) => (S(), w(uo, {
|
|
2699
2722
|
label: e.field.label,
|
|
2700
2723
|
required: e.field.required,
|
|
2701
2724
|
"read-only": e.readOnly
|
|
@@ -2708,7 +2731,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2708
2731
|
placeholder: e.field.placeholder,
|
|
2709
2732
|
disabled: "",
|
|
2710
2733
|
title: O(i).customBlocks.dataSource.readOnlyTooltip
|
|
2711
|
-
}, null, 10,
|
|
2734
|
+
}, null, 10, ko)) : (S(), w(zi, {
|
|
2712
2735
|
key: 1,
|
|
2713
2736
|
"model-value": e.modelValue,
|
|
2714
2737
|
placeholder: e.field.placeholder,
|
|
@@ -2721,12 +2744,12 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2721
2744
|
"read-only"
|
|
2722
2745
|
]));
|
|
2723
2746
|
}
|
|
2724
|
-
}),
|
|
2747
|
+
}), jo = [
|
|
2725
2748
|
"value",
|
|
2726
2749
|
"placeholder",
|
|
2727
2750
|
"title"
|
|
2728
|
-
],
|
|
2729
|
-
text:
|
|
2751
|
+
], Mo = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:opacity-60 tpl:cursor-not-allowed", No = {
|
|
2752
|
+
text: Ao,
|
|
2730
2753
|
textarea: /* @__PURE__ */ j({
|
|
2731
2754
|
__name: "TextareaField",
|
|
2732
2755
|
props: {
|
|
@@ -2737,7 +2760,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2737
2760
|
emits: ["update:modelValue"],
|
|
2738
2761
|
setup(e, { emit: t }) {
|
|
2739
2762
|
let n = t, { t: i } = q();
|
|
2740
|
-
return (t, a) => (S(), w(
|
|
2763
|
+
return (t, a) => (S(), w(uo, {
|
|
2741
2764
|
label: e.field.label,
|
|
2742
2765
|
required: e.field.required,
|
|
2743
2766
|
"read-only": e.readOnly
|
|
@@ -2749,8 +2772,8 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2749
2772
|
rows: "3",
|
|
2750
2773
|
disabled: "",
|
|
2751
2774
|
title: O(i).customBlocks.dataSource.readOnlyTooltip,
|
|
2752
|
-
class: r(
|
|
2753
|
-
}, null, 8,
|
|
2775
|
+
class: r(Mo)
|
|
2776
|
+
}, null, 8, jo)) : (S(), w(ni, {
|
|
2754
2777
|
key: 1,
|
|
2755
2778
|
"model-value": e.modelValue,
|
|
2756
2779
|
placeholder: e.field.placeholder,
|
|
@@ -2764,37 +2787,37 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2764
2787
|
]));
|
|
2765
2788
|
}
|
|
2766
2789
|
}),
|
|
2767
|
-
image:
|
|
2768
|
-
color:
|
|
2769
|
-
number:
|
|
2770
|
-
select:
|
|
2771
|
-
boolean:
|
|
2772
|
-
repeatable:
|
|
2790
|
+
image: go,
|
|
2791
|
+
color: fo,
|
|
2792
|
+
number: vo,
|
|
2793
|
+
select: Oo,
|
|
2794
|
+
boolean: io,
|
|
2795
|
+
repeatable: To
|
|
2773
2796
|
};
|
|
2774
|
-
function
|
|
2775
|
-
return
|
|
2797
|
+
function Po(e) {
|
|
2798
|
+
return No[e] ?? Ao;
|
|
2776
2799
|
}
|
|
2777
2800
|
//#endregion
|
|
2778
2801
|
//#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
2779
|
-
var
|
|
2802
|
+
var Fo = {
|
|
2780
2803
|
key: 0,
|
|
2781
2804
|
class: "tpl:p-4"
|
|
2782
|
-
},
|
|
2805
|
+
}, Io = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Lo = { key: 1 }, Ro = {
|
|
2783
2806
|
key: 0,
|
|
2784
2807
|
class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
|
|
2785
|
-
},
|
|
2808
|
+
}, zo = {
|
|
2786
2809
|
key: 1,
|
|
2787
2810
|
class: "tpl:mb-4"
|
|
2788
|
-
},
|
|
2811
|
+
}, Bo = {
|
|
2789
2812
|
key: 1,
|
|
2790
2813
|
class: "tpl:flex tpl:h-[32px] tpl:items-center"
|
|
2791
|
-
},
|
|
2814
|
+
}, Vo = {
|
|
2792
2815
|
key: 0,
|
|
2793
2816
|
class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
2794
|
-
},
|
|
2817
|
+
}, Ho = {
|
|
2795
2818
|
key: 2,
|
|
2796
2819
|
class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
|
|
2797
|
-
},
|
|
2820
|
+
}, Uo = /* @__PURE__ */ j({
|
|
2798
2821
|
__name: "CustomBlockToolbar",
|
|
2799
2822
|
props: { block: {} },
|
|
2800
2823
|
emits: ["updateFieldValues", "updateDataSourceFetched"],
|
|
@@ -2815,23 +2838,23 @@ var No = {
|
|
|
2815
2838
|
[e]: t
|
|
2816
2839
|
});
|
|
2817
2840
|
}
|
|
2818
|
-
return (t, n) => o.value ? (S(), v("div",
|
|
2819
|
-
o.value.description ? (S(), v("p",
|
|
2820
|
-
O(p) ? (S(), v("div",
|
|
2841
|
+
return (t, n) => o.value ? (S(), v("div", Lo, [
|
|
2842
|
+
o.value.description ? (S(), v("p", Ro, C(o.value.description), 1)) : A("", !0),
|
|
2843
|
+
O(p) ? (S(), v("div", zo, [O(m) && !O(c) ? (S(), v("button", {
|
|
2821
2844
|
key: 0,
|
|
2822
2845
|
type: "button",
|
|
2823
2846
|
class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-md tpl:px-3 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-on-primary)] tpl:transition-all tpl:bg-[var(--tpl-primary)]",
|
|
2824
2847
|
onClick: n[0] ||= (...e) => O(f) && O(f)(...e)
|
|
2825
|
-
}, C(o.value?.dataSource?.label || O(i).customBlocks.dataSource.fetchButton), 1)) : (S(), v("div",
|
|
2848
|
+
}, C(o.value?.dataSource?.label || O(i).customBlocks.dataSource.fetchButton), 1)) : (S(), v("div", Bo, [O(c) ? (S(), v("div", Vo, C(O(i).customBlocks.dataSource.fetching), 1)) : (S(), v("button", {
|
|
2826
2849
|
key: 1,
|
|
2827
2850
|
type: "button",
|
|
2828
2851
|
class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]",
|
|
2829
2852
|
onClick: n[1] ||= (...e) => O(f) && O(f)(...e)
|
|
2830
|
-
}, [y(O(Nt), { size: 12 }), b(" " + C(O(i).customBlocks.dataSource.changeButton), 1)]))])), O(l) ? (S(), v("p",
|
|
2853
|
+
}, [y(O(Nt), { size: 12 }), b(" " + C(O(i).customBlocks.dataSource.changeButton), 1)]))])), O(l) ? (S(), v("p", Ho, [y(O(Dt), {
|
|
2831
2854
|
size: 14,
|
|
2832
2855
|
class: "tpl:shrink-0"
|
|
2833
2856
|
}), b(" " + C(O(i).customBlocks.dataSource.fetchError), 1)])) : A("", !0)])) : A("", !0),
|
|
2834
|
-
(S(!0), v(D, null, x(o.value.fields, (t) => (S(), w(u(O(
|
|
2857
|
+
(S(!0), v(D, null, x(o.value.fields, (t) => (S(), w(u(O(Po)(t.type)), {
|
|
2835
2858
|
key: t.key,
|
|
2836
2859
|
field: t,
|
|
2837
2860
|
"model-value": e.block.fieldValues[t.key],
|
|
@@ -2843,9 +2866,9 @@ var No = {
|
|
|
2843
2866
|
"read-only",
|
|
2844
2867
|
"onUpdate:modelValue"
|
|
2845
2868
|
]))), 128))
|
|
2846
|
-
])) : (S(), v("div",
|
|
2869
|
+
])) : (S(), v("div", Fo, [_("p", Io, C(O(i).customBlocks.toolbar.noDefinition), 1)]));
|
|
2847
2870
|
}
|
|
2848
|
-
}),
|
|
2871
|
+
}), Wo = { class: "tpl:mb-3.5" }, Go = { class: "tpl:mb-3.5" }, Ko = { class: "tpl:mb-3.5" }, qo = { class: "tpl:flex tpl:items-stretch" }, Jo = ["value"], Yo = /* @__PURE__ */ j({
|
|
2849
2872
|
__name: "DividerToolbar",
|
|
2850
2873
|
props: { block: {} },
|
|
2851
2874
|
emits: ["update"],
|
|
@@ -2855,7 +2878,7 @@ var No = {
|
|
|
2855
2878
|
n("update", { [e]: t });
|
|
2856
2879
|
}
|
|
2857
2880
|
return (t, n) => (S(), v(D, null, [
|
|
2858
|
-
_("div",
|
|
2881
|
+
_("div", Wo, [_("label", { class: r(O(Y)) }, C(O(i).divider.style), 3), y(yn, {
|
|
2859
2882
|
options: [
|
|
2860
2883
|
{
|
|
2861
2884
|
value: "solid",
|
|
@@ -2873,61 +2896,61 @@ var No = {
|
|
|
2873
2896
|
"model-value": e.block.lineStyle,
|
|
2874
2897
|
"onUpdate:modelValue": n[0] ||= (e) => a("lineStyle", e)
|
|
2875
2898
|
}, null, 8, ["options", "model-value"])]),
|
|
2876
|
-
_("div",
|
|
2899
|
+
_("div", Go, [_("label", { class: r(O(Y)) }, C(O(i).divider.color), 3), y($, {
|
|
2877
2900
|
"model-value": e.block.color,
|
|
2878
2901
|
"onUpdate:modelValue": n[1] ||= (e) => a("color", e)
|
|
2879
2902
|
}, null, 8, ["model-value"])]),
|
|
2880
|
-
_("div",
|
|
2903
|
+
_("div", Ko, [_("label", { class: r(O(Y)) }, C(O(i).divider.thickness), 3), _("div", qo, [_("input", {
|
|
2881
2904
|
type: "number",
|
|
2882
2905
|
class: r(O(Z)),
|
|
2883
2906
|
value: e.block.thickness,
|
|
2884
2907
|
min: "1",
|
|
2885
2908
|
max: "10",
|
|
2886
2909
|
onInput: n[2] ||= (e) => a("thickness", Number(e.target.value))
|
|
2887
|
-
}, null, 42,
|
|
2910
|
+
}, null, 42, Jo), _("span", { class: r(O(X)) }, "px", 2)])])
|
|
2888
2911
|
], 64));
|
|
2889
2912
|
}
|
|
2890
|
-
}),
|
|
2913
|
+
}), Xo = { class: "tpl:mb-3.5" }, Zo = ["value"], Qo = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, $o = /* @__PURE__ */ j({
|
|
2891
2914
|
__name: "HtmlToolbar",
|
|
2892
2915
|
props: { block: {} },
|
|
2893
2916
|
emits: ["update"],
|
|
2894
2917
|
setup(e, { emit: t }) {
|
|
2895
2918
|
let n = t, { t: i } = q();
|
|
2896
|
-
return (t, a) => (S(), v("div",
|
|
2919
|
+
return (t, a) => (S(), v("div", Xo, [
|
|
2897
2920
|
_("label", { class: r(O(Y)) }, C(O(i).html.content), 3),
|
|
2898
2921
|
_("textarea", {
|
|
2899
2922
|
value: e.block.content,
|
|
2900
2923
|
placeholder: "<div>...</div>",
|
|
2901
2924
|
rows: "10",
|
|
2902
|
-
class: r(O(
|
|
2925
|
+
class: r(O(cn)),
|
|
2903
2926
|
onInput: a[0] ||= (e) => n("update", { content: e.target.value })
|
|
2904
|
-
}, null, 42,
|
|
2905
|
-
_("p",
|
|
2927
|
+
}, null, 42, Zo),
|
|
2928
|
+
_("p", Qo, [y(O(Ft), {
|
|
2906
2929
|
size: 12,
|
|
2907
2930
|
class: "tpl:mt-0.5 tpl:shrink-0"
|
|
2908
2931
|
}), b(" " + C(O(i).html.sanitizationHint), 1)])
|
|
2909
2932
|
]));
|
|
2910
2933
|
}
|
|
2911
|
-
}),
|
|
2934
|
+
}), es = { class: "tpl:mb-3.5" }, ts = {
|
|
2912
2935
|
key: 0,
|
|
2913
2936
|
class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
|
|
2914
2937
|
style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
|
|
2915
|
-
},
|
|
2938
|
+
}, ns = {
|
|
2916
2939
|
key: 0,
|
|
2917
2940
|
class: "tpl:mb-3.5"
|
|
2918
|
-
},
|
|
2941
|
+
}, rs = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, is = [
|
|
2919
2942
|
"value",
|
|
2920
2943
|
"placeholder",
|
|
2921
2944
|
"title"
|
|
2922
|
-
],
|
|
2945
|
+
], as = { class: "tpl:mb-3.5" }, os = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, ss = { class: "tpl:mb-3.5" }, cs = ["value"], ls = { value: "full" }, us = { value: "custom" }, ds = {
|
|
2923
2946
|
key: 0,
|
|
2924
2947
|
class: "tpl:mt-2 tpl:flex tpl:items-stretch"
|
|
2925
|
-
},
|
|
2948
|
+
}, fs = ["value"], ps = { class: "tpl:mb-3.5" }, ms = { class: "tpl:mb-3.5" }, hs = 350, gs = /* @__PURE__ */ j({
|
|
2926
2949
|
__name: "ImageToolbar",
|
|
2927
2950
|
props: { block: {} },
|
|
2928
2951
|
emits: ["update"],
|
|
2929
2952
|
setup(e, { emit: t }) {
|
|
2930
|
-
let n = e, i = t, { t: a } = q(), o = d(lt, null), s = d(ut, G.liquid), c =
|
|
2953
|
+
let n = e, i = t, { t: a } = q(), o = d(lt, null), s = d(ut, G.liquid), c = tn(), l = k(() => !!o), u = m(!1), f = m(!1), { start: p } = Ge(() => {
|
|
2931
2954
|
u.value = !1;
|
|
2932
2955
|
}, 1e3, { immediate: !1 }), h = [
|
|
2933
2956
|
300,
|
|
@@ -2943,7 +2966,7 @@ var No = {
|
|
|
2943
2966
|
function T(e) {
|
|
2944
2967
|
if (e === "custom") {
|
|
2945
2968
|
let e = n.block.width;
|
|
2946
|
-
(typeof e != "number" || h.includes(e)) && x("width",
|
|
2969
|
+
(typeof e != "number" || h.includes(e)) && x("width", hs);
|
|
2947
2970
|
return;
|
|
2948
2971
|
}
|
|
2949
2972
|
x("width", e === "full" ? "full" : Number(e));
|
|
@@ -2978,20 +3001,20 @@ var No = {
|
|
|
2978
3001
|
onFiles: L
|
|
2979
3002
|
});
|
|
2980
3003
|
return (t, n) => (S(), v(D, null, [
|
|
2981
|
-
_("div",
|
|
3004
|
+
_("div", es, [_("label", { class: r(O(Y)) }, C(O(a).image.imageUrl), 3), _("div", {
|
|
2982
3005
|
ref_key: "dropZoneRef",
|
|
2983
3006
|
ref: N,
|
|
2984
3007
|
class: "tpl:relative"
|
|
2985
3008
|
}, [
|
|
2986
|
-
I.value && (O(R) || P.value) ? (S(), v("div",
|
|
3009
|
+
I.value && (O(R) || P.value) ? (S(), v("div", ts, [P.value ? (S(), v(D, { key: 0 }, [y(O(Rt), {
|
|
2987
3010
|
class: "tpl-spinner",
|
|
2988
3011
|
size: 18,
|
|
2989
3012
|
"stroke-width": 2
|
|
2990
|
-
}), b(" " + C(O(a).image.uploading), 1)], 64)) : (S(), v(D, { key: 1 }, [y(O(
|
|
3013
|
+
}), b(" " + C(O(a).image.uploading), 1)], 64)) : (S(), v(D, { key: 1 }, [y(O(Xt), {
|
|
2991
3014
|
size: 18,
|
|
2992
3015
|
"stroke-width": 1.5
|
|
2993
3016
|
}), b(" " + C(O(a).image.dropToUpload), 1)], 64))])) : A("", !0),
|
|
2994
|
-
y(
|
|
3017
|
+
y(zi, {
|
|
2995
3018
|
"model-value": e.block.src,
|
|
2996
3019
|
type: "url",
|
|
2997
3020
|
placeholder: O(a).image.imageUrlPlaceholder,
|
|
@@ -3016,17 +3039,17 @@ var No = {
|
|
|
3016
3039
|
"stroke-width": 1.5
|
|
3017
3040
|
}), b(" " + C(O(a).image.browseMedia), 1)])) : A("", !0)
|
|
3018
3041
|
], 512)]),
|
|
3019
|
-
O(te)(e.block.src, O(s)) ? (S(), v("div",
|
|
3042
|
+
O(te)(e.block.src, O(s)) ? (S(), v("div", ns, [_("label", { class: r(O(Y)) }, [b(C(O(a).image.placeholderUrl) + " ", 1), _("span", rs, C(O(a).image.optional), 1)], 2), _("input", {
|
|
3020
3043
|
type: "url",
|
|
3021
3044
|
class: r(O(Q)),
|
|
3022
3045
|
value: e.block.placeholderUrl || "",
|
|
3023
3046
|
placeholder: O(a).image.placeholderUrlPlaceholder,
|
|
3024
3047
|
title: O(a).image.placeholderUrlTooltip,
|
|
3025
3048
|
onInput: n[1] ||= (e) => x("placeholderUrl", e.target.value)
|
|
3026
|
-
}, null, 42,
|
|
3027
|
-
_("div",
|
|
3049
|
+
}, null, 42, is)])) : A("", !0),
|
|
3050
|
+
_("div", as, [
|
|
3028
3051
|
_("label", { class: r(O(Y)) }, C(O(a).image.altText), 3),
|
|
3029
|
-
y(
|
|
3052
|
+
y(zi, {
|
|
3030
3053
|
"model-value": e.block.alt,
|
|
3031
3054
|
type: "text",
|
|
3032
3055
|
placeholder: O(a).image.altTextPlaceholder,
|
|
@@ -3039,38 +3062,38 @@ var No = {
|
|
|
3039
3062
|
"pulse",
|
|
3040
3063
|
"disabled"
|
|
3041
3064
|
]),
|
|
3042
|
-
y(
|
|
3065
|
+
y(_n, {
|
|
3043
3066
|
class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
|
|
3044
3067
|
"model-value": e.block.decorative === !0,
|
|
3045
3068
|
label: O(a).image.decorative,
|
|
3046
3069
|
"onUpdate:modelValue": n[3] ||= (e) => x("decorative", e)
|
|
3047
3070
|
}, {
|
|
3048
|
-
default: M(() => [_("span", null, [b(C(O(a).image.decorative) + " ", 1), _("span",
|
|
3071
|
+
default: M(() => [_("span", null, [b(C(O(a).image.decorative) + " ", 1), _("span", os, C(O(a).image.decorativeHint), 1)])]),
|
|
3049
3072
|
_: 1
|
|
3050
3073
|
}, 8, ["model-value", "label"])
|
|
3051
3074
|
]),
|
|
3052
|
-
_("div",
|
|
3075
|
+
_("div", ss, [
|
|
3053
3076
|
_("label", { class: r(O(Y)) }, C(O(a).image.width), 3),
|
|
3054
3077
|
_("select", {
|
|
3055
3078
|
class: r(O(Q)),
|
|
3056
3079
|
value: g.value,
|
|
3057
3080
|
onChange: n[4] ||= (e) => T(e.target.value)
|
|
3058
3081
|
}, [
|
|
3059
|
-
_("option",
|
|
3082
|
+
_("option", ls, C(O(a).image.fullWidth), 1),
|
|
3060
3083
|
n[9] ||= _("option", { value: "300" }, "300px", -1),
|
|
3061
3084
|
n[10] ||= _("option", { value: "400" }, "400px", -1),
|
|
3062
3085
|
n[11] ||= _("option", { value: "500" }, "500px", -1),
|
|
3063
|
-
_("option",
|
|
3064
|
-
], 42,
|
|
3065
|
-
g.value === "custom" ? (S(), v("div",
|
|
3086
|
+
_("option", us, C(O(a).image.widthCustom), 1)
|
|
3087
|
+
], 42, cs),
|
|
3088
|
+
g.value === "custom" ? (S(), v("div", ds, [_("input", {
|
|
3066
3089
|
type: "number",
|
|
3067
3090
|
class: r(O(Z)),
|
|
3068
|
-
value: typeof e.block.width == "number" ? e.block.width :
|
|
3091
|
+
value: typeof e.block.width == "number" ? e.block.width : hs,
|
|
3069
3092
|
min: "20",
|
|
3070
3093
|
onInput: n[5] ||= (e) => E(e.target.value)
|
|
3071
|
-
}, null, 42,
|
|
3094
|
+
}, null, 42, fs), _("span", { class: r(O(X)) }, "px", 2)])) : A("", !0)
|
|
3072
3095
|
]),
|
|
3073
|
-
_("div",
|
|
3096
|
+
_("div", ps, [_("label", { class: r(O(Y)) }, C(O(a).title.align), 3), y(yn, {
|
|
3074
3097
|
options: [
|
|
3075
3098
|
{
|
|
3076
3099
|
value: "left",
|
|
@@ -3088,15 +3111,15 @@ var No = {
|
|
|
3088
3111
|
"model-value": e.block.align,
|
|
3089
3112
|
"onUpdate:modelValue": n[6] ||= (e) => x("align", e)
|
|
3090
3113
|
}, null, 8, ["options", "model-value"])]),
|
|
3091
|
-
_("div",
|
|
3114
|
+
_("div", ms, [
|
|
3092
3115
|
_("label", { class: r(O(Y)) }, C(O(a).image.linkUrl), 3),
|
|
3093
|
-
y(
|
|
3116
|
+
y(zi, {
|
|
3094
3117
|
"model-value": e.block.linkUrl || "",
|
|
3095
3118
|
type: "url",
|
|
3096
3119
|
placeholder: O(a).image.imageUrlPlaceholder,
|
|
3097
3120
|
"onUpdate:modelValue": n[7] ||= (e) => x("linkUrl", e)
|
|
3098
3121
|
}, null, 8, ["model-value", "placeholder"]),
|
|
3099
|
-
e.block.linkUrl ? (S(), w(
|
|
3122
|
+
e.block.linkUrl ? (S(), w(_n, {
|
|
3100
3123
|
key: 0,
|
|
3101
3124
|
class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
|
|
3102
3125
|
"model-value": e.block.linkOpenInNewTab ?? !1,
|
|
@@ -3106,11 +3129,11 @@ var No = {
|
|
|
3106
3129
|
])
|
|
3107
3130
|
], 64));
|
|
3108
3131
|
}
|
|
3109
|
-
}),
|
|
3132
|
+
}), _s = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, vs = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ys = [
|
|
3110
3133
|
"value",
|
|
3111
3134
|
"placeholder",
|
|
3112
3135
|
"onInput"
|
|
3113
|
-
],
|
|
3136
|
+
], bs = ["title", "onClick"], xs = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ss = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Cs = ["value"], ws = { value: "" }, Ts = ["value"], Es = ["value"], Ds = /* @__PURE__ */ j({
|
|
3114
3137
|
__name: "MenuToolbar",
|
|
3115
3138
|
props: {
|
|
3116
3139
|
block: {},
|
|
@@ -3135,17 +3158,17 @@ var No = {
|
|
|
3135
3158
|
{
|
|
3136
3159
|
value: "left",
|
|
3137
3160
|
label: a.title.alignLeft,
|
|
3138
|
-
icon:
|
|
3161
|
+
icon: Jt
|
|
3139
3162
|
},
|
|
3140
3163
|
{
|
|
3141
3164
|
value: "center",
|
|
3142
3165
|
label: a.title.alignCenter,
|
|
3143
|
-
icon:
|
|
3166
|
+
icon: qt
|
|
3144
3167
|
},
|
|
3145
3168
|
{
|
|
3146
3169
|
value: "right",
|
|
3147
3170
|
label: a.title.alignRight,
|
|
3148
|
-
icon:
|
|
3171
|
+
icon: Kt
|
|
3149
3172
|
}
|
|
3150
3173
|
]);
|
|
3151
3174
|
function c(e, t) {
|
|
@@ -3173,26 +3196,26 @@ var No = {
|
|
|
3173
3196
|
i("update", { items: n.block.items.filter((t) => t.id !== e) });
|
|
3174
3197
|
}
|
|
3175
3198
|
return (t, n) => (S(), v(D, null, [
|
|
3176
|
-
y(
|
|
3177
|
-
default: M(() => [_("div",
|
|
3199
|
+
y(vn, { label: O(a).menu.items }, {
|
|
3200
|
+
default: M(() => [_("div", _s, [(S(!0), v(D, null, x(e.block.items, (t) => (S(), v("div", {
|
|
3178
3201
|
key: t.id,
|
|
3179
3202
|
class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
|
|
3180
3203
|
}, [
|
|
3181
|
-
_("div",
|
|
3204
|
+
_("div", vs, [_("input", {
|
|
3182
3205
|
type: "text",
|
|
3183
3206
|
class: r([O(Q), "tpl:flex-1"]),
|
|
3184
3207
|
value: t.text,
|
|
3185
3208
|
placeholder: O(a).menu.text,
|
|
3186
3209
|
onInput: (e) => u(t.id, "text", e.target.value)
|
|
3187
|
-
}, null, 42,
|
|
3188
|
-
class: r(O(
|
|
3210
|
+
}, null, 42, ys), _("button", {
|
|
3211
|
+
class: r(O(ln)),
|
|
3189
3212
|
title: O(a).menu.removeItem,
|
|
3190
3213
|
onClick: (e) => d(t.id)
|
|
3191
|
-
}, [y(O(
|
|
3214
|
+
}, [y(O(Zt), {
|
|
3192
3215
|
size: 14,
|
|
3193
3216
|
"stroke-width": 2
|
|
3194
|
-
})], 10,
|
|
3195
|
-
y(
|
|
3217
|
+
})], 10, bs)]),
|
|
3218
|
+
y(zi, {
|
|
3196
3219
|
"model-value": t.url,
|
|
3197
3220
|
type: "url",
|
|
3198
3221
|
placeholder: O(a).menu.urlPlaceholder,
|
|
@@ -3202,7 +3225,7 @@ var No = {
|
|
|
3202
3225
|
"placeholder",
|
|
3203
3226
|
"onUpdate:modelValue"
|
|
3204
3227
|
]),
|
|
3205
|
-
_("div",
|
|
3228
|
+
_("div", xs, [(S(!0), v(D, null, x(o.value, (e) => (S(), w(_n, {
|
|
3206
3229
|
key: e.key,
|
|
3207
3230
|
"model-value": t[e.key],
|
|
3208
3231
|
label: e.label,
|
|
@@ -3212,33 +3235,33 @@ var No = {
|
|
|
3212
3235
|
"label",
|
|
3213
3236
|
"onUpdate:modelValue"
|
|
3214
3237
|
]))), 128))]),
|
|
3215
|
-
_("div",
|
|
3238
|
+
_("div", Ss, [_("label", { class: r([O(Y), "tpl:!mb-0"]) }, C(O(a).menu.color), 3), y($, {
|
|
3216
3239
|
"swatch-only": "",
|
|
3217
3240
|
"model-value": t.color || e.block.linkColor || e.block.color || "",
|
|
3218
3241
|
"onUpdate:modelValue": (e) => u(t.id, "color", e)
|
|
3219
3242
|
}, null, 8, ["model-value", "onUpdate:modelValue"])])
|
|
3220
3243
|
]))), 128)), _("button", {
|
|
3221
|
-
class: r(O(
|
|
3244
|
+
class: r(O(un)),
|
|
3222
3245
|
onClick: l
|
|
3223
|
-
}, [y(O(
|
|
3246
|
+
}, [y(O(An), {
|
|
3224
3247
|
size: 14,
|
|
3225
3248
|
"stroke-width": 2
|
|
3226
3249
|
}), b(" " + C(O(a).menu.addItem), 1)], 2)])]),
|
|
3227
3250
|
_: 1
|
|
3228
3251
|
}, 8, ["label"]),
|
|
3229
|
-
y(
|
|
3252
|
+
y(vn, { label: O(a).menu.fontFamily }, {
|
|
3230
3253
|
default: M(() => [_("select", {
|
|
3231
3254
|
class: r(O(Q)),
|
|
3232
3255
|
value: e.block.fontFamily || "",
|
|
3233
3256
|
onChange: n[0] ||= (e) => c("fontFamily", e.target.value || void 0)
|
|
3234
|
-
}, [_("option",
|
|
3257
|
+
}, [_("option", ws, C(O(a).title.inheritFont), 1), (S(!0), v(D, null, x(e.fontFamilies, (e) => (S(), v("option", {
|
|
3235
3258
|
key: e.value,
|
|
3236
3259
|
value: e.value
|
|
3237
|
-
}, C(e.label), 9,
|
|
3260
|
+
}, C(e.label), 9, Ts))), 128))], 42, Cs)]),
|
|
3238
3261
|
_: 1
|
|
3239
3262
|
}, 8, ["label"]),
|
|
3240
|
-
y(
|
|
3241
|
-
default: M(() => [y(
|
|
3263
|
+
y(vn, { label: O(a).menu.fontSize }, {
|
|
3264
|
+
default: M(() => [y(bn, {
|
|
3242
3265
|
"model-value": e.block.fontSize,
|
|
3243
3266
|
min: 8,
|
|
3244
3267
|
max: 48,
|
|
@@ -3247,46 +3270,46 @@ var No = {
|
|
|
3247
3270
|
}, null, 8, ["model-value"])]),
|
|
3248
3271
|
_: 1
|
|
3249
3272
|
}, 8, ["label"]),
|
|
3250
|
-
y(
|
|
3273
|
+
y(vn, { label: O(a).menu.color }, {
|
|
3251
3274
|
default: M(() => [y($, {
|
|
3252
3275
|
"model-value": e.block.color ?? "",
|
|
3253
3276
|
"onUpdate:modelValue": n[2] ||= (e) => c("color", e || void 0)
|
|
3254
3277
|
}, null, 8, ["model-value"])]),
|
|
3255
3278
|
_: 1
|
|
3256
3279
|
}, 8, ["label"]),
|
|
3257
|
-
y(
|
|
3280
|
+
y(vn, { label: O(a).menu.linkColor }, {
|
|
3258
3281
|
default: M(() => [y($, {
|
|
3259
3282
|
"model-value": e.block.linkColor || e.block.color || "",
|
|
3260
3283
|
"onUpdate:modelValue": n[3] ||= (e) => c("linkColor", e || void 0)
|
|
3261
3284
|
}, null, 8, ["model-value"])]),
|
|
3262
3285
|
_: 1
|
|
3263
3286
|
}, 8, ["label"]),
|
|
3264
|
-
y(
|
|
3265
|
-
default: M(() => [y(
|
|
3287
|
+
y(vn, { label: O(a).menu.textAlign }, {
|
|
3288
|
+
default: M(() => [y(yn, {
|
|
3266
3289
|
options: s.value,
|
|
3267
3290
|
"model-value": e.block.textAlign,
|
|
3268
3291
|
"onUpdate:modelValue": n[4] ||= (e) => c("textAlign", e)
|
|
3269
3292
|
}, null, 8, ["options", "model-value"])]),
|
|
3270
3293
|
_: 1
|
|
3271
3294
|
}, 8, ["label"]),
|
|
3272
|
-
y(
|
|
3295
|
+
y(vn, { label: O(a).menu.separator }, {
|
|
3273
3296
|
default: M(() => [_("input", {
|
|
3274
3297
|
type: "text",
|
|
3275
3298
|
class: r(O(Q)),
|
|
3276
3299
|
value: e.block.separator,
|
|
3277
3300
|
onInput: n[5] ||= (e) => c("separator", e.target.value)
|
|
3278
|
-
}, null, 42,
|
|
3301
|
+
}, null, 42, Es)]),
|
|
3279
3302
|
_: 1
|
|
3280
3303
|
}, 8, ["label"]),
|
|
3281
|
-
y(
|
|
3304
|
+
y(vn, { label: O(a).menu.separatorColor }, {
|
|
3282
3305
|
default: M(() => [y($, {
|
|
3283
3306
|
"model-value": e.block.separatorColor,
|
|
3284
3307
|
"onUpdate:modelValue": n[6] ||= (e) => c("separatorColor", e)
|
|
3285
3308
|
}, null, 8, ["model-value"])]),
|
|
3286
3309
|
_: 1
|
|
3287
3310
|
}, 8, ["label"]),
|
|
3288
|
-
y(
|
|
3289
|
-
default: M(() => [y(
|
|
3311
|
+
y(vn, { label: O(a).menu.spacing }, {
|
|
3312
|
+
default: M(() => [y(bn, {
|
|
3290
3313
|
"model-value": e.block.spacing,
|
|
3291
3314
|
min: 0,
|
|
3292
3315
|
max: 50,
|
|
@@ -3300,11 +3323,11 @@ var No = {
|
|
|
3300
3323
|
});
|
|
3301
3324
|
//#endregion
|
|
3302
3325
|
//#region src/utils/rebalanceColumnChildren.ts
|
|
3303
|
-
function
|
|
3326
|
+
function Os(e) {
|
|
3304
3327
|
return e === "1" ? 1 : e === "3" ? 3 : 2;
|
|
3305
3328
|
}
|
|
3306
|
-
function
|
|
3307
|
-
let n =
|
|
3329
|
+
function ks(e, t) {
|
|
3330
|
+
let n = Os(t);
|
|
3308
3331
|
if (e.length === n) return e;
|
|
3309
3332
|
if (e.length < n) {
|
|
3310
3333
|
let t = Array.from({ length: n - e.length }, () => []);
|
|
@@ -3315,13 +3338,13 @@ function Ds(e, t) {
|
|
|
3315
3338
|
}
|
|
3316
3339
|
//#endregion
|
|
3317
3340
|
//#region src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
3318
|
-
var
|
|
3341
|
+
var As = { class: "tpl:mb-3.5" }, js = ["value"], Ms = ["value"], Ns = {
|
|
3319
3342
|
key: 0,
|
|
3320
3343
|
class: "tpl:mb-3.5"
|
|
3321
|
-
},
|
|
3344
|
+
}, Ps = { class: "tpl:mb-3.5" }, Fs = { class: "tpl:flex tpl:items-stretch" }, Is = ["value"], Ls = { class: "tpl:mb-3.5" }, Rs = {
|
|
3322
3345
|
key: 0,
|
|
3323
3346
|
class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
|
|
3324
|
-
},
|
|
3347
|
+
}, zs = { class: "tpl:flex tpl:items-stretch" }, Bs = ["value"], Vs = /* @__PURE__ */ j({
|
|
3325
3348
|
__name: "SectionToolbar",
|
|
3326
3349
|
props: { block: {} },
|
|
3327
3350
|
emits: ["update"],
|
|
@@ -3349,7 +3372,7 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3349
3372
|
}
|
|
3350
3373
|
]);
|
|
3351
3374
|
function s(e) {
|
|
3352
|
-
let t = e.target.value, r =
|
|
3375
|
+
let t = e.target.value, r = ks(n.block.children, t);
|
|
3353
3376
|
i("update", {
|
|
3354
3377
|
columns: t,
|
|
3355
3378
|
children: r
|
|
@@ -3383,39 +3406,39 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3383
3406
|
d({ borderRadius: Number(e.target.value) });
|
|
3384
3407
|
}
|
|
3385
3408
|
return (t, n) => (S(), v(D, null, [
|
|
3386
|
-
_("div",
|
|
3409
|
+
_("div", As, [_("label", { class: r(O(Y)) }, C(O(a).section.columns), 3), _("select", {
|
|
3387
3410
|
class: r(O(Q)),
|
|
3388
3411
|
value: e.block.columns,
|
|
3389
3412
|
onChange: s
|
|
3390
3413
|
}, [(S(!0), v(D, null, x(o.value, (e) => (S(), v("option", {
|
|
3391
3414
|
key: e.value,
|
|
3392
3415
|
value: e.value
|
|
3393
|
-
}, C(e.label), 9,
|
|
3394
|
-
e.block.columns === "1" ? A("", !0) : (S(), v("div",
|
|
3416
|
+
}, C(e.label), 9, Ms))), 128))], 42, js)]),
|
|
3417
|
+
e.block.columns === "1" ? A("", !0) : (S(), v("div", Ns, [y(_n, {
|
|
3395
3418
|
class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
|
|
3396
3419
|
"model-value": e.block.stackOnMobile !== !1,
|
|
3397
3420
|
label: O(a).section.stackOnMobile,
|
|
3398
3421
|
"onUpdate:modelValue": n[0] ||= (e) => c(e)
|
|
3399
3422
|
}, null, 8, ["model-value", "label"])])),
|
|
3400
|
-
_("div",
|
|
3423
|
+
_("div", Ps, [_("label", { class: r(O(Y)) }, C(O(a).section.borderRadius), 3), _("div", Fs, [_("input", {
|
|
3401
3424
|
type: "number",
|
|
3402
3425
|
class: r(O(Z)),
|
|
3403
3426
|
value: e.block.borderRadius ?? 0,
|
|
3404
3427
|
min: "0",
|
|
3405
3428
|
max: "50",
|
|
3406
3429
|
onInput: l
|
|
3407
|
-
}, null, 42,
|
|
3408
|
-
_("div",
|
|
3430
|
+
}, null, 42, Is), _("span", { class: r(O(X)) }, "px", 2)])]),
|
|
3431
|
+
_("div", Ls, [y(_n, {
|
|
3409
3432
|
class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
|
|
3410
3433
|
"model-value": !!e.block.wrapper,
|
|
3411
3434
|
label: O(a).section.wrapperEnable,
|
|
3412
3435
|
"onUpdate:modelValue": n[1] ||= (e) => u(e)
|
|
3413
|
-
}, null, 8, ["model-value", "label"]), e.block.wrapper ? (S(), v("div",
|
|
3436
|
+
}, null, 8, ["model-value", "label"]), e.block.wrapper ? (S(), v("div", Rs, [
|
|
3414
3437
|
_("div", null, [_("label", { class: r(O(Y)) }, C(O(a).blockSettings.color), 3), y($, {
|
|
3415
3438
|
"model-value": e.block.wrapper.backgroundColor ?? "",
|
|
3416
3439
|
"onUpdate:modelValue": n[2] ||= (e) => d({ backgroundColor: e })
|
|
3417
3440
|
}, null, 8, ["model-value"])]),
|
|
3418
|
-
y(
|
|
3441
|
+
y(Pa, {
|
|
3419
3442
|
label: O(a).blockSettings.padding,
|
|
3420
3443
|
"model-value": e.block.wrapper.padding ?? {
|
|
3421
3444
|
top: 0,
|
|
@@ -3425,18 +3448,18 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3425
3448
|
},
|
|
3426
3449
|
"onUpdate:modelValue": f
|
|
3427
3450
|
}, null, 8, ["label", "model-value"]),
|
|
3428
|
-
_("div", null, [_("label", { class: r(O(Y)) }, C(O(a).section.borderRadius), 3), _("div",
|
|
3451
|
+
_("div", null, [_("label", { class: r(O(Y)) }, C(O(a).section.borderRadius), 3), _("div", zs, [_("input", {
|
|
3429
3452
|
type: "number",
|
|
3430
3453
|
class: r(O(Z)),
|
|
3431
3454
|
value: e.block.wrapper.borderRadius ?? 0,
|
|
3432
3455
|
min: "0",
|
|
3433
3456
|
max: "50",
|
|
3434
3457
|
onInput: p
|
|
3435
|
-
}, null, 42,
|
|
3458
|
+
}, null, 42, Bs), _("span", { class: r(O(X)) }, "px", 2)])])
|
|
3436
3459
|
])) : A("", !0)])
|
|
3437
3460
|
], 64));
|
|
3438
3461
|
}
|
|
3439
|
-
}),
|
|
3462
|
+
}), Hs = { class: "tpl:mb-3.5" }, Us = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Ws = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Gs = ["value", "onChange"], Ks = ["value"], qs = ["title", "onClick"], Js = { class: "tpl:mb-3.5" }, Ys = ["value"], Xs = { value: "solid" }, Zs = { value: "outlined" }, Qs = { value: "rounded" }, $s = { value: "square" }, ec = { value: "circle" }, tc = { class: "tpl:mb-3.5" }, nc = { class: "tpl:mb-3.5" }, rc = { class: "tpl:flex tpl:items-stretch" }, ic = ["value"], ac = { class: "tpl:mb-3.5" }, oc = /* @__PURE__ */ j({
|
|
3440
3463
|
__name: "SocialToolbar",
|
|
3441
3464
|
props: { block: {} },
|
|
3442
3465
|
emits: ["update"],
|
|
@@ -3464,10 +3487,10 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3464
3487
|
i("update", { icons: n.block.icons.filter((t) => t.id !== e) });
|
|
3465
3488
|
}
|
|
3466
3489
|
return (t, n) => (S(), v(D, null, [
|
|
3467
|
-
_("div",
|
|
3490
|
+
_("div", Hs, [_("label", { class: r(O(Y)) }, C(O(a).social.icons), 3), _("div", Us, [(S(!0), v(D, null, x(e.block.icons, (e) => (S(), v("div", {
|
|
3468
3491
|
key: e.id,
|
|
3469
3492
|
class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
|
|
3470
|
-
}, [_("div",
|
|
3493
|
+
}, [_("div", Ws, [_("select", {
|
|
3471
3494
|
"data-testid": "social-platform-select",
|
|
3472
3495
|
class: r([O(Q), "tpl:flex-1"]),
|
|
3473
3496
|
value: e.platform,
|
|
@@ -3475,14 +3498,14 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3475
3498
|
}, [(S(!0), v(D, null, x(O(Me), (e) => (S(), v("option", {
|
|
3476
3499
|
key: e,
|
|
3477
3500
|
value: e
|
|
3478
|
-
}, C(O(a).social.platforms[e]), 9,
|
|
3479
|
-
class: r(O(
|
|
3501
|
+
}, C(O(a).social.platforms[e]), 9, Ks))), 128))], 42, Gs), _("button", {
|
|
3502
|
+
class: r(O(ln)),
|
|
3480
3503
|
title: O(a).social.removeIcon,
|
|
3481
3504
|
onClick: (t) => l(e.id)
|
|
3482
|
-
}, [y(O(
|
|
3505
|
+
}, [y(O(Zt), {
|
|
3483
3506
|
size: 14,
|
|
3484
3507
|
"stroke-width": 2
|
|
3485
|
-
})], 10,
|
|
3508
|
+
})], 10, qs)]), y(zi, {
|
|
3486
3509
|
"model-value": e.url,
|
|
3487
3510
|
type: "url",
|
|
3488
3511
|
placeholder: O(a).social.urlPlaceholder,
|
|
@@ -3492,24 +3515,24 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3492
3515
|
"placeholder",
|
|
3493
3516
|
"onUpdate:modelValue"
|
|
3494
3517
|
])]))), 128)), _("button", {
|
|
3495
|
-
class: r(O(
|
|
3518
|
+
class: r(O(un)),
|
|
3496
3519
|
onClick: s
|
|
3497
|
-
}, [y(O(
|
|
3520
|
+
}, [y(O(An), {
|
|
3498
3521
|
size: 14,
|
|
3499
3522
|
"stroke-width": 2
|
|
3500
3523
|
}), b(" " + C(O(a).social.addIcon), 1)], 2)])]),
|
|
3501
|
-
_("div",
|
|
3524
|
+
_("div", Js, [_("label", { class: r(O(Y)) }, C(O(a).social.style), 3), _("select", {
|
|
3502
3525
|
class: r(O(Q)),
|
|
3503
3526
|
value: e.block.iconStyle,
|
|
3504
3527
|
onChange: n[0] ||= (e) => o("iconStyle", e.target.value)
|
|
3505
3528
|
}, [
|
|
3506
|
-
_("option",
|
|
3507
|
-
_("option",
|
|
3508
|
-
_("option",
|
|
3509
|
-
_("option",
|
|
3510
|
-
_("option",
|
|
3511
|
-
], 42,
|
|
3512
|
-
_("div",
|
|
3529
|
+
_("option", Xs, C(O(a).social.styleSolid), 1),
|
|
3530
|
+
_("option", Zs, C(O(a).social.styleOutlined), 1),
|
|
3531
|
+
_("option", Qs, C(O(a).social.styleRounded), 1),
|
|
3532
|
+
_("option", $s, C(O(a).social.styleSquare), 1),
|
|
3533
|
+
_("option", ec, C(O(a).social.styleCircle), 1)
|
|
3534
|
+
], 42, Ys)]),
|
|
3535
|
+
_("div", tc, [_("label", { class: r(O(Y)) }, C(O(a).social.size), 3), y(yn, {
|
|
3513
3536
|
options: [
|
|
3514
3537
|
{
|
|
3515
3538
|
value: "small",
|
|
@@ -3527,30 +3550,30 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3527
3550
|
"model-value": e.block.iconSize,
|
|
3528
3551
|
"onUpdate:modelValue": n[1] ||= (e) => o("iconSize", e)
|
|
3529
3552
|
}, null, 8, ["options", "model-value"])]),
|
|
3530
|
-
_("div",
|
|
3553
|
+
_("div", nc, [_("label", { class: r(O(Y)) }, C(O(a).social.spacing), 3), _("div", rc, [_("input", {
|
|
3531
3554
|
type: "number",
|
|
3532
3555
|
class: r(O(Z)),
|
|
3533
3556
|
value: e.block.spacing,
|
|
3534
3557
|
min: "0",
|
|
3535
3558
|
max: "50",
|
|
3536
3559
|
onInput: n[2] ||= (e) => o("spacing", Number(e.target.value))
|
|
3537
|
-
}, null, 42,
|
|
3538
|
-
_("div",
|
|
3560
|
+
}, null, 42, ic), _("span", { class: r(O(X)) }, "px", 2)])]),
|
|
3561
|
+
_("div", ac, [_("label", { class: r(O(Y)) }, C(O(a).social.align), 3), y(yn, {
|
|
3539
3562
|
options: [
|
|
3540
3563
|
{
|
|
3541
3564
|
value: "left",
|
|
3542
3565
|
label: O(a).title.alignLeft,
|
|
3543
|
-
icon: O(
|
|
3566
|
+
icon: O(Jt)
|
|
3544
3567
|
},
|
|
3545
3568
|
{
|
|
3546
3569
|
value: "center",
|
|
3547
3570
|
label: O(a).title.alignCenter,
|
|
3548
|
-
icon: O(
|
|
3571
|
+
icon: O(qt)
|
|
3549
3572
|
},
|
|
3550
3573
|
{
|
|
3551
3574
|
value: "right",
|
|
3552
3575
|
label: O(a).title.alignRight,
|
|
3553
|
-
icon: O(
|
|
3576
|
+
icon: O(Kt)
|
|
3554
3577
|
}
|
|
3555
3578
|
],
|
|
3556
3579
|
"model-value": e.block.align,
|
|
@@ -3558,22 +3581,22 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3558
3581
|
}, null, 8, ["options", "model-value"])])
|
|
3559
3582
|
], 64));
|
|
3560
3583
|
}
|
|
3561
|
-
}),
|
|
3584
|
+
}), sc = { class: "tpl:mb-3.5" }, cc = { class: "tpl:flex tpl:items-stretch" }, lc = ["value"], uc = ["value"], dc = /* @__PURE__ */ j({
|
|
3562
3585
|
__name: "SpacerToolbar",
|
|
3563
3586
|
props: { block: {} },
|
|
3564
3587
|
emits: ["update"],
|
|
3565
3588
|
setup(e, { emit: t }) {
|
|
3566
3589
|
let n = t, { t: i } = q();
|
|
3567
|
-
return (t, a) => (S(), v("div",
|
|
3590
|
+
return (t, a) => (S(), v("div", sc, [
|
|
3568
3591
|
_("label", { class: r(O(Y)) }, C(O(i).spacer.height), 3),
|
|
3569
|
-
_("div",
|
|
3592
|
+
_("div", cc, [_("input", {
|
|
3570
3593
|
type: "number",
|
|
3571
3594
|
class: r(O(Z)),
|
|
3572
3595
|
value: e.block.height,
|
|
3573
3596
|
min: "10",
|
|
3574
3597
|
max: "100",
|
|
3575
3598
|
onInput: a[0] ||= (e) => n("update", { height: Number(e.target.value) })
|
|
3576
|
-
}, null, 42,
|
|
3599
|
+
}, null, 42, lc), _("span", { class: r(O(X)) }, "px", 2)]),
|
|
3577
3600
|
_("input", {
|
|
3578
3601
|
type: "range",
|
|
3579
3602
|
class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
|
|
@@ -3581,13 +3604,13 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3581
3604
|
min: "10",
|
|
3582
3605
|
max: "100",
|
|
3583
3606
|
onInput: a[1] ||= (e) => n("update", { height: Number(e.target.value) })
|
|
3584
|
-
}, null, 40,
|
|
3607
|
+
}, null, 40, uc)
|
|
3585
3608
|
]));
|
|
3586
3609
|
}
|
|
3587
|
-
}),
|
|
3610
|
+
}), fc = { class: "tpl:mb-3.5" }, pc = { class: "tpl:flex tpl:items-center tpl:gap-3" }, mc = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, hc = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, gc = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, _c = ["disabled"], vc = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, yc = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, bc = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, xc = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Sc = ["disabled"], Cc = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, wc = { class: "tpl:mb-3.5" }, Tc = {
|
|
3588
3611
|
key: 0,
|
|
3589
3612
|
class: "tpl:mb-3.5"
|
|
3590
|
-
},
|
|
3613
|
+
}, Ec = { class: "tpl:mb-3.5" }, Dc = { class: "tpl:mb-3.5" }, Oc = { class: "tpl:flex tpl:items-stretch" }, kc = ["value"], Ac = { class: "tpl:mb-3.5" }, jc = { class: "tpl:flex tpl:items-stretch" }, Mc = ["value"], Nc = { class: "tpl:mb-3.5" }, Pc = ["value"], Fc = { value: "" }, Ic = ["value"], Lc = { class: "tpl:mb-3.5" }, Rc = { class: "tpl:flex tpl:items-stretch" }, zc = ["value"], Bc = { class: "tpl:mb-3.5" }, Vc = { class: "tpl:mb-3.5" }, Hc = /* @__PURE__ */ j({
|
|
3591
3614
|
__name: "TableToolbar",
|
|
3592
3615
|
props: {
|
|
3593
3616
|
block: {},
|
|
@@ -3630,7 +3653,7 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3630
3653
|
i("update", { rows: t });
|
|
3631
3654
|
}
|
|
3632
3655
|
return (t, n) => (S(), v(D, null, [
|
|
3633
|
-
_("div",
|
|
3656
|
+
_("div", fc, [_("label", { class: r(O(Y)) }, C(O(a).table.dimensions), 3), _("div", pc, [_("div", mc, [_("span", hc, C(O(a).table.rows), 1), _("div", gc, [
|
|
3634
3657
|
_("button", {
|
|
3635
3658
|
class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
|
|
3636
3659
|
disabled: e.block.rows.length <= 1,
|
|
@@ -3638,16 +3661,16 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3638
3661
|
}, [y(O(Ot), {
|
|
3639
3662
|
size: 12,
|
|
3640
3663
|
"stroke-width": 2
|
|
3641
|
-
})], 8,
|
|
3642
|
-
_("span",
|
|
3664
|
+
})], 8, _c),
|
|
3665
|
+
_("span", vc, C(e.block.rows.length), 1),
|
|
3643
3666
|
_("button", {
|
|
3644
3667
|
class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)]",
|
|
3645
3668
|
onClick: c
|
|
3646
|
-
}, [y(O(
|
|
3669
|
+
}, [y(O(An), {
|
|
3647
3670
|
size: 12,
|
|
3648
3671
|
"stroke-width": 2
|
|
3649
3672
|
})])
|
|
3650
|
-
])]), _("div",
|
|
3673
|
+
])]), _("div", yc, [_("span", bc, C(O(a).table.columns), 1), _("div", xc, [
|
|
3651
3674
|
_("button", {
|
|
3652
3675
|
class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
|
|
3653
3676
|
disabled: o.value <= 1,
|
|
@@ -3655,25 +3678,25 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3655
3678
|
}, [y(O(Ot), {
|
|
3656
3679
|
size: 12,
|
|
3657
3680
|
"stroke-width": 2
|
|
3658
|
-
})], 8,
|
|
3659
|
-
_("span",
|
|
3681
|
+
})], 8, Sc),
|
|
3682
|
+
_("span", Cc, C(o.value), 1),
|
|
3660
3683
|
_("button", {
|
|
3661
3684
|
class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)]",
|
|
3662
3685
|
onClick: u
|
|
3663
|
-
}, [y(O(
|
|
3686
|
+
}, [y(O(An), {
|
|
3664
3687
|
size: 12,
|
|
3665
3688
|
"stroke-width": 2
|
|
3666
3689
|
})])
|
|
3667
3690
|
])])])]),
|
|
3668
|
-
_("div",
|
|
3691
|
+
_("div", wc, [y(_n, {
|
|
3669
3692
|
class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
|
|
3670
3693
|
"model-value": e.block.hasHeaderRow,
|
|
3671
3694
|
label: O(a).table.hasHeaderRow,
|
|
3672
3695
|
"onUpdate:modelValue": n[2] ||= (e) => s("hasHeaderRow", e)
|
|
3673
3696
|
}, null, 8, ["model-value", "label"])]),
|
|
3674
|
-
e.block.hasHeaderRow ? (S(), v("div",
|
|
3697
|
+
e.block.hasHeaderRow ? (S(), v("div", Tc, [_("label", { class: r(O(Y)) }, C(O(a).table.headerBackgroundColor), 3), y($, {
|
|
3675
3698
|
"model-value": e.block.headerBackgroundColor ?? "",
|
|
3676
|
-
"seed-color": O(
|
|
3699
|
+
"seed-color": O(fn),
|
|
3677
3700
|
placeholder: O(a).table.noHeaderBg,
|
|
3678
3701
|
"onUpdate:modelValue": n[3] ||= (e) => s("headerBackgroundColor", e || null)
|
|
3679
3702
|
}, null, 8, [
|
|
@@ -3681,62 +3704,62 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3681
3704
|
"seed-color",
|
|
3682
3705
|
"placeholder"
|
|
3683
3706
|
])])) : A("", !0),
|
|
3684
|
-
_("div",
|
|
3707
|
+
_("div", Ec, [_("label", { class: r(O(Y)) }, C(O(a).table.borderColor), 3), y($, {
|
|
3685
3708
|
"model-value": e.block.borderColor,
|
|
3686
3709
|
"onUpdate:modelValue": n[4] ||= (e) => s("borderColor", e)
|
|
3687
3710
|
}, null, 8, ["model-value"])]),
|
|
3688
|
-
_("div",
|
|
3711
|
+
_("div", Dc, [_("label", { class: r(O(Y)) }, C(O(a).table.borderWidth), 3), _("div", Oc, [_("input", {
|
|
3689
3712
|
type: "number",
|
|
3690
3713
|
class: r(O(Z)),
|
|
3691
3714
|
value: e.block.borderWidth,
|
|
3692
3715
|
min: "0",
|
|
3693
3716
|
max: "10",
|
|
3694
3717
|
onInput: n[5] ||= (e) => s("borderWidth", Number(e.target.value))
|
|
3695
|
-
}, null, 42,
|
|
3696
|
-
_("div",
|
|
3718
|
+
}, null, 42, kc), _("span", { class: r(O(X)) }, "px", 2)])]),
|
|
3719
|
+
_("div", Ac, [_("label", { class: r(O(Y)) }, C(O(a).table.cellPadding), 3), _("div", jc, [_("input", {
|
|
3697
3720
|
type: "number",
|
|
3698
3721
|
class: r(O(Z)),
|
|
3699
3722
|
value: e.block.cellPadding,
|
|
3700
3723
|
min: "0",
|
|
3701
3724
|
max: "30",
|
|
3702
3725
|
onInput: n[6] ||= (e) => s("cellPadding", Number(e.target.value))
|
|
3703
|
-
}, null, 42,
|
|
3704
|
-
_("div",
|
|
3726
|
+
}, null, 42, Mc), _("span", { class: r(O(X)) }, "px", 2)])]),
|
|
3727
|
+
_("div", Nc, [_("label", { class: r(O(Y)) }, C(O(a).table.fontFamily), 3), _("select", {
|
|
3705
3728
|
class: r(O(Q)),
|
|
3706
3729
|
value: e.block.fontFamily || "",
|
|
3707
3730
|
onChange: n[7] ||= (e) => s("fontFamily", e.target.value || void 0)
|
|
3708
|
-
}, [_("option",
|
|
3731
|
+
}, [_("option", Fc, C(O(a).title.inheritFont), 1), (S(!0), v(D, null, x(e.fontFamilies, (e) => (S(), v("option", {
|
|
3709
3732
|
key: e.value,
|
|
3710
3733
|
value: e.value
|
|
3711
|
-
}, C(e.label), 9,
|
|
3712
|
-
_("div",
|
|
3734
|
+
}, C(e.label), 9, Ic))), 128))], 42, Pc)]),
|
|
3735
|
+
_("div", Lc, [_("label", { class: r(O(Y)) }, C(O(a).table.fontSize), 3), _("div", Rc, [_("input", {
|
|
3713
3736
|
type: "number",
|
|
3714
3737
|
class: r(O(Z)),
|
|
3715
3738
|
value: e.block.fontSize,
|
|
3716
3739
|
min: "10",
|
|
3717
3740
|
max: "32",
|
|
3718
3741
|
onInput: n[8] ||= (e) => s("fontSize", Number(e.target.value))
|
|
3719
|
-
}, null, 42,
|
|
3720
|
-
_("div",
|
|
3742
|
+
}, null, 42, zc), _("span", { class: r(O(X)) }, "px", 2)])]),
|
|
3743
|
+
_("div", Bc, [_("label", { class: r(O(Y)) }, C(O(a).table.color), 3), y($, {
|
|
3721
3744
|
"model-value": e.block.color ?? "",
|
|
3722
3745
|
"onUpdate:modelValue": n[9] ||= (e) => s("color", e || void 0)
|
|
3723
3746
|
}, null, 8, ["model-value"])]),
|
|
3724
|
-
_("div",
|
|
3747
|
+
_("div", Vc, [_("label", { class: r(O(Y)) }, C(O(a).table.textAlign), 3), y(yn, {
|
|
3725
3748
|
options: [
|
|
3726
3749
|
{
|
|
3727
3750
|
value: "left",
|
|
3728
3751
|
label: O(a).title.alignLeft,
|
|
3729
|
-
icon: O(
|
|
3752
|
+
icon: O(Jt)
|
|
3730
3753
|
},
|
|
3731
3754
|
{
|
|
3732
3755
|
value: "center",
|
|
3733
3756
|
label: O(a).title.alignCenter,
|
|
3734
|
-
icon: O(
|
|
3757
|
+
icon: O(qt)
|
|
3735
3758
|
},
|
|
3736
3759
|
{
|
|
3737
3760
|
value: "right",
|
|
3738
3761
|
label: O(a).title.alignRight,
|
|
3739
|
-
icon: O(
|
|
3762
|
+
icon: O(Kt)
|
|
3740
3763
|
}
|
|
3741
3764
|
],
|
|
3742
3765
|
"model-value": e.block.textAlign,
|
|
@@ -3744,7 +3767,7 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3744
3767
|
}, null, 8, ["options", "model-value"])])
|
|
3745
3768
|
], 64));
|
|
3746
3769
|
}
|
|
3747
|
-
}),
|
|
3770
|
+
}), Uc = { class: "tpl:mb-3.5" }, Wc = ["value"], Gc = { value: 1 }, Kc = { value: 2 }, qc = { value: 3 }, Jc = { value: 4 }, Yc = { class: "tpl:mb-3.5" }, Xc = ["value"], Zc = { value: "" }, Qc = ["value"], $c = { class: "tpl:mb-3.5" }, el = { class: "tpl:mb-3.5" }, tl = /* @__PURE__ */ j({
|
|
3748
3771
|
__name: "TitleToolbar",
|
|
3749
3772
|
props: {
|
|
3750
3773
|
block: {},
|
|
@@ -3757,44 +3780,44 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3757
3780
|
n("update", { [e]: t });
|
|
3758
3781
|
}
|
|
3759
3782
|
return (t, n) => (S(), v(D, null, [
|
|
3760
|
-
_("div",
|
|
3783
|
+
_("div", Uc, [_("label", { class: r(O(Y)) }, C(O(i).title.level), 3), _("select", {
|
|
3761
3784
|
class: r(O(Q)),
|
|
3762
3785
|
value: e.block.level,
|
|
3763
3786
|
onChange: n[0] ||= (e) => a("level", Number(e.target.value))
|
|
3764
3787
|
}, [
|
|
3765
|
-
_("option",
|
|
3766
|
-
_("option",
|
|
3767
|
-
_("option",
|
|
3768
|
-
_("option",
|
|
3769
|
-
], 42,
|
|
3770
|
-
_("div",
|
|
3788
|
+
_("option", Gc, C(O(i).title.heading1), 1),
|
|
3789
|
+
_("option", Kc, C(O(i).title.heading2), 1),
|
|
3790
|
+
_("option", qc, C(O(i).title.heading3), 1),
|
|
3791
|
+
_("option", Jc, C(O(i).title.heading4), 1)
|
|
3792
|
+
], 42, Wc)]),
|
|
3793
|
+
_("div", Yc, [_("label", { class: r(O(Y)) }, C(O(i).title.fontFamily), 3), _("select", {
|
|
3771
3794
|
class: r(O(Q)),
|
|
3772
3795
|
value: e.block.fontFamily || "",
|
|
3773
3796
|
onChange: n[1] ||= (e) => a("fontFamily", e.target.value || void 0)
|
|
3774
|
-
}, [_("option",
|
|
3797
|
+
}, [_("option", Zc, C(O(i).title.inheritFont), 1), (S(!0), v(D, null, x(e.fontFamilies, (e) => (S(), v("option", {
|
|
3775
3798
|
key: e.value,
|
|
3776
3799
|
value: e.value
|
|
3777
|
-
}, C(e.label), 9,
|
|
3778
|
-
_("div",
|
|
3800
|
+
}, C(e.label), 9, Qc))), 128))], 42, Xc)]),
|
|
3801
|
+
_("div", $c, [_("label", { class: r(O(Y)) }, C(O(i).title.color), 3), y($, {
|
|
3779
3802
|
"model-value": e.block.color ?? "",
|
|
3780
3803
|
"onUpdate:modelValue": n[2] ||= (e) => a("color", e || void 0)
|
|
3781
3804
|
}, null, 8, ["model-value"])]),
|
|
3782
|
-
_("div",
|
|
3805
|
+
_("div", el, [_("label", { class: r(O(Y)) }, C(O(i).title.align), 3), y(yn, {
|
|
3783
3806
|
options: [
|
|
3784
3807
|
{
|
|
3785
3808
|
value: "left",
|
|
3786
3809
|
label: O(i).title.alignLeft,
|
|
3787
|
-
icon: O(
|
|
3810
|
+
icon: O(Jt)
|
|
3788
3811
|
},
|
|
3789
3812
|
{
|
|
3790
3813
|
value: "center",
|
|
3791
3814
|
label: O(i).title.alignCenter,
|
|
3792
|
-
icon: O(
|
|
3815
|
+
icon: O(qt)
|
|
3793
3816
|
},
|
|
3794
3817
|
{
|
|
3795
3818
|
value: "right",
|
|
3796
3819
|
label: O(i).title.alignRight,
|
|
3797
|
-
icon: O(
|
|
3820
|
+
icon: O(Kt)
|
|
3798
3821
|
}
|
|
3799
3822
|
],
|
|
3800
3823
|
"model-value": e.block.textAlign,
|
|
@@ -3802,19 +3825,19 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3802
3825
|
}, null, 8, ["options", "model-value"])])
|
|
3803
3826
|
], 64));
|
|
3804
3827
|
}
|
|
3805
|
-
}),
|
|
3828
|
+
}), nl = { class: "tpl:mb-3.5" }, rl = {
|
|
3806
3829
|
key: 0,
|
|
3807
3830
|
class: "tpl:mb-3.5"
|
|
3808
|
-
},
|
|
3831
|
+
}, il = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, al = [
|
|
3809
3832
|
"value",
|
|
3810
3833
|
"placeholder",
|
|
3811
3834
|
"title"
|
|
3812
|
-
],
|
|
3835
|
+
], ol = { class: "tpl:mb-3.5" }, sl = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, cl = { class: "tpl:mb-3.5" }, ll = { class: "tpl:mb-3.5" }, ul = ["value"], dl = { value: "full" }, fl = { class: "tpl:mb-3.5" }, pl = /* @__PURE__ */ j({
|
|
3813
3836
|
__name: "VideoToolbar",
|
|
3814
3837
|
props: { block: {} },
|
|
3815
3838
|
emits: ["update"],
|
|
3816
3839
|
setup(e, { emit: t }) {
|
|
3817
|
-
let n = e, i = t, { t: a } = q(), o = d(lt, null), s = d(ut, G.liquid), c =
|
|
3840
|
+
let n = e, i = t, { t: a } = q(), o = d(lt, null), s = d(ut, G.liquid), c = tn(), l = k(() => !!o), u = k(() => te(n.block.url, s)), f = m(!1), { start: p } = Ge(() => {
|
|
3818
3841
|
f.value = !1;
|
|
3819
3842
|
}, 1e3, { immediate: !1 });
|
|
3820
3843
|
function h(e, t) {
|
|
@@ -3825,15 +3848,15 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3825
3848
|
c.alive && e && (h("thumbnailUrl", e.url), f.value = !0, p());
|
|
3826
3849
|
}
|
|
3827
3850
|
return (t, n) => (S(), v(D, null, [
|
|
3828
|
-
_("div",
|
|
3851
|
+
_("div", nl, [
|
|
3829
3852
|
_("label", { class: r(O(Y)) }, C(O(a).video.videoUrl), 3),
|
|
3830
|
-
y(
|
|
3853
|
+
y(zi, {
|
|
3831
3854
|
"model-value": e.block.url,
|
|
3832
3855
|
type: "url",
|
|
3833
3856
|
placeholder: O(a).video.videoUrlPlaceholder,
|
|
3834
3857
|
"onUpdate:modelValue": n[0] ||= (e) => h("url", e)
|
|
3835
3858
|
}, null, 8, ["model-value", "placeholder"]),
|
|
3836
|
-
e.block.url ? (S(), w(
|
|
3859
|
+
e.block.url ? (S(), w(_n, {
|
|
3837
3860
|
key: 0,
|
|
3838
3861
|
class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
|
|
3839
3862
|
"model-value": e.block.openInNewTab ?? !1,
|
|
@@ -3841,17 +3864,17 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3841
3864
|
"onUpdate:modelValue": n[1] ||= (e) => h("openInNewTab", e)
|
|
3842
3865
|
}, null, 8, ["model-value", "label"])) : A("", !0)
|
|
3843
3866
|
]),
|
|
3844
|
-
u.value ? (S(), v("div",
|
|
3867
|
+
u.value ? (S(), v("div", rl, [_("label", { class: r(O(Y)) }, [b(C(O(a).video.placeholderUrl) + " ", 1), _("span", il, C(O(a).video.optional), 1)], 2), _("input", {
|
|
3845
3868
|
type: "url",
|
|
3846
3869
|
class: r(O(Q)),
|
|
3847
3870
|
value: e.block.placeholderUrl || "",
|
|
3848
3871
|
placeholder: O(a).video.placeholderUrlPlaceholder,
|
|
3849
3872
|
title: O(a).video.placeholderUrlTooltip,
|
|
3850
3873
|
onInput: n[2] ||= (e) => h("placeholderUrl", e.target.value)
|
|
3851
|
-
}, null, 42,
|
|
3852
|
-
_("div",
|
|
3853
|
-
_("label", { class: r(O(Y)) }, [b(C(O(a).video.customThumbnail) + " ", 1), _("span",
|
|
3854
|
-
y(
|
|
3874
|
+
}, null, 42, al)])) : A("", !0),
|
|
3875
|
+
_("div", ol, [
|
|
3876
|
+
_("label", { class: r(O(Y)) }, [b(C(O(a).video.customThumbnail) + " ", 1), _("span", sl, C(O(a).video.optional), 1)], 2),
|
|
3877
|
+
y(zi, {
|
|
3855
3878
|
"model-value": e.block.thumbnailUrl,
|
|
3856
3879
|
type: "url",
|
|
3857
3880
|
placeholder: O(a).video.thumbnailPlaceholder,
|
|
@@ -3876,23 +3899,23 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3876
3899
|
"stroke-width": 1.5
|
|
3877
3900
|
}), b(" " + C(O(a).image.browseMedia), 1)])) : A("", !0)
|
|
3878
3901
|
]),
|
|
3879
|
-
_("div",
|
|
3902
|
+
_("div", cl, [_("label", { class: r(O(Y)) }, C(O(a).video.altText), 3), y(zi, {
|
|
3880
3903
|
"model-value": e.block.alt,
|
|
3881
3904
|
type: "text",
|
|
3882
3905
|
placeholder: O(a).video.altTextPlaceholder,
|
|
3883
3906
|
"onUpdate:modelValue": n[4] ||= (e) => h("alt", e)
|
|
3884
3907
|
}, null, 8, ["model-value", "placeholder"])]),
|
|
3885
|
-
_("div",
|
|
3908
|
+
_("div", ll, [_("label", { class: r(O(Y)) }, C(O(a).video.width), 3), _("select", {
|
|
3886
3909
|
class: r(O(Q)),
|
|
3887
3910
|
value: e.block.width,
|
|
3888
3911
|
onChange: n[5] ||= (e) => h("width", e.target.value === "full" ? "full" : Number(e.target.value))
|
|
3889
3912
|
}, [
|
|
3890
|
-
_("option",
|
|
3913
|
+
_("option", dl, C(O(a).video.fullWidth), 1),
|
|
3891
3914
|
n[7] ||= _("option", { value: "300" }, "300px", -1),
|
|
3892
3915
|
n[8] ||= _("option", { value: "400" }, "400px", -1),
|
|
3893
3916
|
n[9] ||= _("option", { value: "500" }, "500px", -1)
|
|
3894
|
-
], 42,
|
|
3895
|
-
_("div",
|
|
3917
|
+
], 42, ul)]),
|
|
3918
|
+
_("div", fl, [_("label", { class: r(O(Y)) }, C(O(a).title.align), 3), y(yn, {
|
|
3896
3919
|
options: [
|
|
3897
3920
|
{
|
|
3898
3921
|
value: "left",
|
|
@@ -3912,7 +3935,7 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3912
3935
|
}, null, 8, ["options", "model-value"])])
|
|
3913
3936
|
], 64));
|
|
3914
3937
|
}
|
|
3915
|
-
}),
|
|
3938
|
+
}), ml = ["aria-label"], hl = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, gl = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, _l = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, vl = { class: "tpl:flex tpl:gap-1" }, yl = ["title"], bl = ["title"], xl = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Sl = /*#__PURE__*/ Qt(/* @__PURE__ */ j({
|
|
3916
3939
|
__name: "Toolbar",
|
|
3917
3940
|
props: { block: {} },
|
|
3918
3941
|
emits: [
|
|
@@ -3921,7 +3944,7 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3921
3944
|
"duplicate"
|
|
3922
3945
|
],
|
|
3923
3946
|
setup(e, { emit: t }) {
|
|
3924
|
-
let n = h(() => import("./CountdownToolbar-
|
|
3947
|
+
let n = h(() => import("./CountdownToolbar-BpnKUXN_.js")), r = e, i = t, { t: a } = q(), o = rt(it, "Toolbar"), s = d(st, []), c = k(() => r.block.type), l = k(() => ee(r.block)), f = k(() => {
|
|
3925
3948
|
if (l.value) return s.find((e) => e.type === r.block.customType);
|
|
3926
3949
|
}), p = k(() => l.value ? f.value?.name ?? r.block.customType : _e(c.value, a)), m = o.fonts;
|
|
3927
3950
|
function g(e) {
|
|
@@ -3930,7 +3953,7 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3930
3953
|
return (t, r) => (S(), v("aside", {
|
|
3931
3954
|
"aria-label": O(a).landmarks.blockToolbar,
|
|
3932
3955
|
class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
|
|
3933
|
-
}, [_("div",
|
|
3956
|
+
}, [_("div", hl, [_("div", gl, [O(jt)[c.value] ? (S(), w(u(O(jt)[c.value]), {
|
|
3934
3957
|
key: 0,
|
|
3935
3958
|
size: 16,
|
|
3936
3959
|
"stroke-width": 1.5
|
|
@@ -3938,70 +3961,70 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
3938
3961
|
key: 1,
|
|
3939
3962
|
size: 16,
|
|
3940
3963
|
"stroke-width": 1.5
|
|
3941
|
-
})) : A("", !0), _("h3",
|
|
3964
|
+
})) : A("", !0), _("h3", _l, C(p.value), 1)]), _("div", vl, [_("button", {
|
|
3942
3965
|
class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)] tpl:hover:text-[var(--tpl-text)]",
|
|
3943
3966
|
title: O(a).toolbar.duplicate,
|
|
3944
3967
|
onClick: r[0] ||= (e) => i("duplicate")
|
|
3945
3968
|
}, [y(O(se), {
|
|
3946
3969
|
size: 14,
|
|
3947
3970
|
"stroke-width": 2
|
|
3948
|
-
})], 8,
|
|
3971
|
+
})], 8, yl), _("button", {
|
|
3949
3972
|
class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
|
|
3950
3973
|
title: O(a).toolbar.delete,
|
|
3951
3974
|
onClick: r[1] ||= (e) => i("delete")
|
|
3952
|
-
}, [y(O(
|
|
3975
|
+
}, [y(O(Yt), {
|
|
3953
3976
|
size: 14,
|
|
3954
3977
|
"stroke-width": 2
|
|
3955
|
-
})], 8,
|
|
3978
|
+
})], 8, bl)])]), _("div", xl, [l.value ? (S(), w(Uo, {
|
|
3956
3979
|
key: 0,
|
|
3957
3980
|
block: e.block,
|
|
3958
3981
|
onUpdateFieldValues: r[2] ||= (e) => i("update", { fieldValues: e }),
|
|
3959
3982
|
onUpdateDataSourceFetched: r[3] ||= (e) => i("update", { dataSourceFetched: e })
|
|
3960
|
-
}, null, 8, ["block"])) : c.value === "section" ? (S(), w(
|
|
3983
|
+
}, null, 8, ["block"])) : c.value === "section" ? (S(), w(Vs, {
|
|
3961
3984
|
key: 1,
|
|
3962
3985
|
block: e.block,
|
|
3963
3986
|
onUpdate: g
|
|
3964
|
-
}, null, 8, ["block"])) : c.value === "title" ? (S(), w(
|
|
3987
|
+
}, null, 8, ["block"])) : c.value === "title" ? (S(), w(tl, {
|
|
3965
3988
|
key: 2,
|
|
3966
3989
|
block: e.block,
|
|
3967
3990
|
"font-families": O(m),
|
|
3968
3991
|
onUpdate: g
|
|
3969
|
-
}, null, 8, ["block", "font-families"])) : c.value === "paragraph" ? (S(), v(D, { key: 3 }, [], 64)) : c.value === "image" ? (S(), w(
|
|
3992
|
+
}, null, 8, ["block", "font-families"])) : c.value === "paragraph" ? (S(), v(D, { key: 3 }, [], 64)) : c.value === "image" ? (S(), w(gs, {
|
|
3970
3993
|
key: 4,
|
|
3971
3994
|
block: e.block,
|
|
3972
3995
|
onUpdate: g
|
|
3973
|
-
}, null, 8, ["block"])) : c.value === "video" ? (S(), w(
|
|
3996
|
+
}, null, 8, ["block"])) : c.value === "video" ? (S(), w(pl, {
|
|
3974
3997
|
key: 5,
|
|
3975
3998
|
block: e.block,
|
|
3976
3999
|
onUpdate: g
|
|
3977
|
-
}, null, 8, ["block"])) : c.value === "button" ? (S(), w(
|
|
4000
|
+
}, null, 8, ["block"])) : c.value === "button" ? (S(), w(ua, {
|
|
3978
4001
|
key: 6,
|
|
3979
4002
|
block: e.block,
|
|
3980
4003
|
"font-families": O(m),
|
|
3981
4004
|
onUpdate: g
|
|
3982
|
-
}, null, 8, ["block", "font-families"])) : c.value === "divider" ? (S(), w(
|
|
4005
|
+
}, null, 8, ["block", "font-families"])) : c.value === "divider" ? (S(), w(Yo, {
|
|
3983
4006
|
key: 7,
|
|
3984
4007
|
block: e.block,
|
|
3985
4008
|
onUpdate: g
|
|
3986
|
-
}, null, 8, ["block"])) : c.value === "social" ? (S(), w(
|
|
4009
|
+
}, null, 8, ["block"])) : c.value === "social" ? (S(), w(oc, {
|
|
3987
4010
|
key: 8,
|
|
3988
4011
|
block: e.block,
|
|
3989
4012
|
onUpdate: g
|
|
3990
|
-
}, null, 8, ["block"])) : c.value === "menu" ? (S(), w(
|
|
4013
|
+
}, null, 8, ["block"])) : c.value === "menu" ? (S(), w(Ds, {
|
|
3991
4014
|
key: 9,
|
|
3992
4015
|
block: e.block,
|
|
3993
4016
|
"font-families": O(m),
|
|
3994
4017
|
onUpdate: g
|
|
3995
|
-
}, null, 8, ["block", "font-families"])) : c.value === "table" ? (S(), w(
|
|
4018
|
+
}, null, 8, ["block", "font-families"])) : c.value === "table" ? (S(), w(Hc, {
|
|
3996
4019
|
key: 10,
|
|
3997
4020
|
block: e.block,
|
|
3998
4021
|
"font-families": O(m),
|
|
3999
4022
|
onUpdate: g
|
|
4000
|
-
}, null, 8, ["block", "font-families"])) : c.value === "spacer" ? (S(), w(
|
|
4023
|
+
}, null, 8, ["block", "font-families"])) : c.value === "spacer" ? (S(), w(dc, {
|
|
4001
4024
|
key: 11,
|
|
4002
4025
|
block: e.block,
|
|
4003
4026
|
onUpdate: g
|
|
4004
|
-
}, null, 8, ["block"])) : c.value === "html" ? (S(), w(
|
|
4027
|
+
}, null, 8, ["block"])) : c.value === "html" ? (S(), w($o, {
|
|
4005
4028
|
key: 12,
|
|
4006
4029
|
block: e.block,
|
|
4007
4030
|
onUpdate: g
|
|
@@ -4010,52 +4033,52 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4010
4033
|
block: e.block,
|
|
4011
4034
|
"font-families": O(m),
|
|
4012
4035
|
onUpdate: g
|
|
4013
|
-
}, null, 8, ["block", "font-families"])) : A("", !0), y(
|
|
4036
|
+
}, null, 8, ["block", "font-families"])) : A("", !0), y(no, {
|
|
4014
4037
|
block: e.block,
|
|
4015
4038
|
"is-first-section": c.value === "paragraph",
|
|
4016
4039
|
onUpdate: g
|
|
4017
|
-
}, null, 8, ["block", "is-first-section"])])], 8,
|
|
4040
|
+
}, null, 8, ["block", "is-first-section"])])], 8, ml));
|
|
4018
4041
|
}
|
|
4019
|
-
}), [["__scopeId", "data-v-
|
|
4042
|
+
}), [["__scopeId", "data-v-c0ea5f03"]]), Cl = ["aria-label"], wl = {
|
|
4020
4043
|
role: "tablist",
|
|
4021
4044
|
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"
|
|
4022
|
-
},
|
|
4045
|
+
}, Tl = [
|
|
4023
4046
|
"aria-selected",
|
|
4024
4047
|
"aria-label",
|
|
4025
4048
|
"title"
|
|
4026
|
-
],
|
|
4049
|
+
], El = { key: 0 }, Dl = [
|
|
4027
4050
|
"aria-selected",
|
|
4028
4051
|
"aria-label",
|
|
4029
4052
|
"title"
|
|
4030
|
-
],
|
|
4053
|
+
], Ol = { key: 0 }, kl = [
|
|
4031
4054
|
"aria-selected",
|
|
4032
4055
|
"aria-label",
|
|
4033
4056
|
"title"
|
|
4034
|
-
],
|
|
4057
|
+
], Al = { key: 0 }, jl = {
|
|
4035
4058
|
key: 1,
|
|
4036
4059
|
class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
|
|
4037
|
-
},
|
|
4060
|
+
}, Ml = {
|
|
4038
4061
|
key: 0,
|
|
4039
4062
|
id: "tpl-tabpanel-content",
|
|
4040
4063
|
role: "tabpanel",
|
|
4041
4064
|
"aria-labelledby": "tpl-tab-content",
|
|
4042
4065
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
4043
|
-
},
|
|
4066
|
+
}, Nl = {
|
|
4044
4067
|
key: 1,
|
|
4045
4068
|
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)]"
|
|
4046
|
-
},
|
|
4069
|
+
}, Pl = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, Fl = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Il = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, Ll = {
|
|
4047
4070
|
key: 1,
|
|
4048
4071
|
id: "tpl-tabpanel-settings",
|
|
4049
4072
|
role: "tabpanel",
|
|
4050
4073
|
"aria-labelledby": "tpl-tab-settings",
|
|
4051
4074
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
4052
|
-
},
|
|
4075
|
+
}, Rl = {
|
|
4053
4076
|
key: 2,
|
|
4054
4077
|
id: "tpl-tabpanel-issues",
|
|
4055
4078
|
role: "tabpanel",
|
|
4056
4079
|
"aria-labelledby": "tpl-tab-issues",
|
|
4057
4080
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
4058
|
-
},
|
|
4081
|
+
}, zl = /* @__PURE__ */ j({
|
|
4059
4082
|
__name: "RightSidebar",
|
|
4060
4083
|
props: {
|
|
4061
4084
|
selectedBlock: {},
|
|
@@ -4069,7 +4092,7 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4069
4092
|
"update-settings"
|
|
4070
4093
|
],
|
|
4071
4094
|
setup(e, { emit: t }) {
|
|
4072
|
-
let n = h(() => import("./IssuesPanel-
|
|
4095
|
+
let n = h(() => import("./IssuesPanel-BFczwZkL.js")), i = e, a = t, { t: s } = q(), c = m("content"), u = d(yt, null), f = k(() => u !== null), p = k(() => u?.issues.value.length ?? 0);
|
|
4073
4096
|
function g(e) {
|
|
4074
4097
|
return c.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)]";
|
|
4075
4098
|
}
|
|
@@ -4085,7 +4108,7 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4085
4108
|
"aria-label": O(s).landmarks.rightSidebar,
|
|
4086
4109
|
class: r(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
|
|
4087
4110
|
}, [
|
|
4088
|
-
_("div",
|
|
4111
|
+
_("div", wl, [
|
|
4089
4112
|
_("button", {
|
|
4090
4113
|
id: "tpl-tab-content",
|
|
4091
4114
|
role: "tab",
|
|
@@ -4096,10 +4119,10 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4096
4119
|
class: r(["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)]", g("content")]),
|
|
4097
4120
|
style: l(b("content")),
|
|
4098
4121
|
onClick: i[0] ||= (e) => c.value = "content"
|
|
4099
|
-
}, [y(O(
|
|
4122
|
+
}, [y(O(kn), {
|
|
4100
4123
|
size: 14,
|
|
4101
4124
|
"stroke-width": 2
|
|
4102
|
-
}), c.value === "content" ? (S(), v("span",
|
|
4125
|
+
}), c.value === "content" ? (S(), v("span", El, C(O(s).sidebar.content), 1)) : A("", !0)], 14, Tl),
|
|
4103
4126
|
_("button", {
|
|
4104
4127
|
id: "tpl-tab-settings",
|
|
4105
4128
|
role: "tab",
|
|
@@ -4110,10 +4133,10 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4110
4133
|
class: r(["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)]", g("settings")]),
|
|
4111
4134
|
style: l(b("settings")),
|
|
4112
4135
|
onClick: i[1] ||= (e) => c.value = "settings"
|
|
4113
|
-
}, [y(O(
|
|
4136
|
+
}, [y(O(Nn), {
|
|
4114
4137
|
size: 14,
|
|
4115
4138
|
"stroke-width": 1.5
|
|
4116
|
-
}), c.value === "settings" ? (S(), v("span",
|
|
4139
|
+
}), c.value === "settings" ? (S(), v("span", Ol, C(O(s).sidebar.settings), 1)) : A("", !0)], 14, Dl),
|
|
4117
4140
|
f.value ? (S(), v("button", {
|
|
4118
4141
|
key: 0,
|
|
4119
4142
|
id: "tpl-tab-issues",
|
|
@@ -4130,68 +4153,68 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4130
4153
|
size: 14,
|
|
4131
4154
|
"stroke-width": 1.5
|
|
4132
4155
|
}),
|
|
4133
|
-
c.value === "issues" ? (S(), v("span",
|
|
4134
|
-
p.value > 0 ? (S(), v("span",
|
|
4135
|
-
], 14,
|
|
4156
|
+
c.value === "issues" ? (S(), v("span", Al, C(O(s).issues.panelTabLabel), 1)) : A("", !0),
|
|
4157
|
+
p.value > 0 ? (S(), v("span", jl, C(p.value), 1)) : A("", !0)
|
|
4158
|
+
], 14, kl)) : A("", !0)
|
|
4136
4159
|
]),
|
|
4137
|
-
c.value === "content" ? (S(), v("div",
|
|
4160
|
+
c.value === "content" ? (S(), v("div", Ml, [e.selectedBlock ? (S(), w(Sl, {
|
|
4138
4161
|
key: 0,
|
|
4139
4162
|
block: e.selectedBlock,
|
|
4140
4163
|
onUpdate: i[3] ||= (e) => a("update-block", e),
|
|
4141
4164
|
onDelete: i[4] ||= (e) => a("delete-block"),
|
|
4142
4165
|
onDuplicate: i[5] ||= (e) => a("duplicate-block")
|
|
4143
|
-
}, null, 8, ["block"])) : (S(), v("div",
|
|
4144
|
-
_("div",
|
|
4166
|
+
}, null, 8, ["block"])) : (S(), v("div", Nl, [
|
|
4167
|
+
_("div", Pl, [y(O(Tn), {
|
|
4145
4168
|
size: 40,
|
|
4146
4169
|
"stroke-width": 1.5
|
|
4147
4170
|
})]),
|
|
4148
|
-
_("h3",
|
|
4149
|
-
_("p",
|
|
4171
|
+
_("h3", Fl, C(O(s).sidebar.noSelection), 1),
|
|
4172
|
+
_("p", Il, C(O(s).sidebar.noSelectionHint), 1)
|
|
4150
4173
|
]))])) : A("", !0),
|
|
4151
|
-
c.value === "settings" ? (S(), v("div",
|
|
4174
|
+
c.value === "settings" ? (S(), v("div", Ll, [y(Mi, {
|
|
4152
4175
|
settings: e.settings,
|
|
4153
4176
|
onUpdate: i[6] ||= (e) => a("update-settings", e)
|
|
4154
4177
|
}, null, 8, ["settings"])])) : A("", !0),
|
|
4155
|
-
c.value === "issues" && f.value ? (S(), v("div",
|
|
4156
|
-
], 10,
|
|
4178
|
+
c.value === "issues" && f.value ? (S(), v("div", Rl, [y(O(n))])) : A("", !0)
|
|
4179
|
+
], 10, Cl));
|
|
4157
4180
|
}
|
|
4158
|
-
}),
|
|
4181
|
+
}), Bl = {
|
|
4159
4182
|
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)]",
|
|
4160
4183
|
style: { "z-index": "10001" },
|
|
4161
4184
|
role: "status",
|
|
4162
4185
|
"data-testid": "small-screen-notice"
|
|
4163
|
-
},
|
|
4186
|
+
}, Vl = { class: "tpl:text-[var(--tpl-text-dim)]" }, Hl = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Ul = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Wl = /* @__PURE__ */ j({
|
|
4164
4187
|
__name: "SmallScreenNotice",
|
|
4165
4188
|
setup(e) {
|
|
4166
4189
|
let { t } = q();
|
|
4167
|
-
return (e, n) => (S(), v("div",
|
|
4168
|
-
_("div",
|
|
4190
|
+
return (e, n) => (S(), v("div", Bl, [
|
|
4191
|
+
_("div", Vl, [y(O(Bt), {
|
|
4169
4192
|
size: 48,
|
|
4170
4193
|
"stroke-width": 1.5
|
|
4171
4194
|
})]),
|
|
4172
|
-
_("h2",
|
|
4173
|
-
_("p",
|
|
4195
|
+
_("h2", Hl, C(O(t).smallScreen.title), 1),
|
|
4196
|
+
_("p", Ul, C(O(t).smallScreen.message), 1)
|
|
4174
4197
|
]));
|
|
4175
4198
|
}
|
|
4176
|
-
}),
|
|
4199
|
+
}), Gl = {
|
|
4177
4200
|
class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
|
|
4178
4201
|
style: {
|
|
4179
4202
|
"background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
|
|
4180
4203
|
"backdrop-filter": "blur(8px)",
|
|
4181
4204
|
"-webkit-backdrop-filter": "blur(8px)"
|
|
4182
4205
|
}
|
|
4183
|
-
},
|
|
4206
|
+
}, Kl = {
|
|
4184
4207
|
href: "https://github.com/templatical/sdk",
|
|
4185
4208
|
target: "_blank",
|
|
4186
4209
|
rel: "noopener noreferrer",
|
|
4187
4210
|
class: "tpl:transition-colors tpl:hover:opacity-80 tpl:text-[var(--tpl-text-dim)]",
|
|
4188
4211
|
style: { "text-decoration": "none" }
|
|
4189
|
-
},
|
|
4212
|
+
}, ql = /* @__PURE__ */ j({
|
|
4190
4213
|
__name: "EditorFooter",
|
|
4191
4214
|
props: { positionClass: {} },
|
|
4192
4215
|
setup(e) {
|
|
4193
4216
|
let { t } = q();
|
|
4194
|
-
return (n, i) => (S(), v("footer", { class: r(["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-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [_("div",
|
|
4217
|
+
return (n, i) => (S(), v("footer", { class: r(["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-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [_("div", Gl, [
|
|
4195
4218
|
_("span", null, C(O(t).footer.poweredBy), 1),
|
|
4196
4219
|
i[0] ||= _("a", {
|
|
4197
4220
|
href: "https://templatical.com",
|
|
@@ -4206,14 +4229,14 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4206
4229
|
alt: ""
|
|
4207
4230
|
}), b(" Templatical ")], -1),
|
|
4208
4231
|
i[1] ||= _("span", { class: "tpl:text-[var(--tpl-border)]" }, "·", -1),
|
|
4209
|
-
_("a",
|
|
4232
|
+
_("a", Kl, C(O(t).footer.openSource), 1)
|
|
4210
4233
|
])], 2));
|
|
4211
4234
|
}
|
|
4212
|
-
}),
|
|
4235
|
+
}), Jl = [
|
|
4213
4236
|
"aria-label",
|
|
4214
4237
|
"title",
|
|
4215
4238
|
"aria-pressed"
|
|
4216
|
-
],
|
|
4239
|
+
], Yl = /*#__PURE__*/ Qt(/* @__PURE__ */ j({
|
|
4217
4240
|
__name: "DarkModeToggle",
|
|
4218
4241
|
props: { darkMode: { type: Boolean } },
|
|
4219
4242
|
emits: ["change"],
|
|
@@ -4236,23 +4259,23 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4236
4259
|
"leave-to-class": "tpl-icon-leave-to",
|
|
4237
4260
|
mode: "out-in"
|
|
4238
4261
|
}, {
|
|
4239
|
-
default: M(() => [e.darkMode ? (S(), w(O(
|
|
4262
|
+
default: M(() => [e.darkMode ? (S(), w(O(On), {
|
|
4240
4263
|
key: "moon",
|
|
4241
4264
|
size: 18,
|
|
4242
4265
|
"stroke-width": 1.5
|
|
4243
|
-
})) : (S(), w(O(
|
|
4266
|
+
})) : (S(), w(O(In), {
|
|
4244
4267
|
key: "sun",
|
|
4245
4268
|
size: 18,
|
|
4246
4269
|
"stroke-width": 1.5
|
|
4247
4270
|
}))]),
|
|
4248
4271
|
_: 1
|
|
4249
|
-
})], 12,
|
|
4272
|
+
})], 12, Jl));
|
|
4250
4273
|
}
|
|
4251
|
-
}), [["__scopeId", "data-v-632aa74f"]]),
|
|
4274
|
+
}), [["__scopeId", "data-v-632aa74f"]]), Xl = [
|
|
4252
4275
|
"aria-label",
|
|
4253
4276
|
"title",
|
|
4254
4277
|
"aria-pressed"
|
|
4255
|
-
],
|
|
4278
|
+
], Zl = /*#__PURE__*/ Qt(/* @__PURE__ */ j({
|
|
4256
4279
|
__name: "PreviewToggle",
|
|
4257
4280
|
props: { previewMode: { type: Boolean } },
|
|
4258
4281
|
emits: ["change"],
|
|
@@ -4285,9 +4308,9 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4285
4308
|
"stroke-width": 1.5
|
|
4286
4309
|
}))]),
|
|
4287
4310
|
_: 1
|
|
4288
|
-
})], 12,
|
|
4311
|
+
})], 12, Xl));
|
|
4289
4312
|
}
|
|
4290
|
-
}), [["__scopeId", "data-v-eef7b2ca"]]),
|
|
4313
|
+
}), [["__scopeId", "data-v-eef7b2ca"]]), Ql = ["aria-label", "onKeydown"], $l = ["title", "aria-label"], eu = /* @__PURE__ */ j({
|
|
4291
4314
|
__name: "TemplateNameField",
|
|
4292
4315
|
props: {
|
|
4293
4316
|
name: {},
|
|
@@ -4319,7 +4342,7 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4319
4342
|
class: r([O(Q), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
|
|
4320
4343
|
onKeydown: [L(P(d, ["prevent"]), ["enter"]), L(P(p, ["prevent"]), ["esc"])],
|
|
4321
4344
|
onBlur: d
|
|
4322
|
-
}, null, 42,
|
|
4345
|
+
}, null, 42, Ql)), [[N, c.value]]) : e.editable ? (S(), v("button", {
|
|
4323
4346
|
key: 1,
|
|
4324
4347
|
type: "button",
|
|
4325
4348
|
"data-testid": "template-name",
|
|
@@ -4327,13 +4350,13 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4327
4350
|
"aria-label": O(o).header.rename,
|
|
4328
4351
|
class: r(["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 }]),
|
|
4329
4352
|
onClick: u
|
|
4330
|
-
}, C(e.name || O(o).header.untitled), 11,
|
|
4353
|
+
}, C(e.name || O(o).header.untitled), 11, $l)) : (S(), v("span", {
|
|
4331
4354
|
key: 2,
|
|
4332
4355
|
"data-testid": "template-name",
|
|
4333
4356
|
class: r(["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 }])
|
|
4334
4357
|
}, C(e.name || O(o).header.untitled), 3));
|
|
4335
4358
|
}
|
|
4336
|
-
}),
|
|
4359
|
+
}), tu = ["title"], nu = /* @__PURE__ */ j({
|
|
4337
4360
|
__name: "TemplateTimestamp",
|
|
4338
4361
|
props: {
|
|
4339
4362
|
iso: {},
|
|
@@ -4346,7 +4369,7 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4346
4369
|
}, 6e4);
|
|
4347
4370
|
let a = k(() => {
|
|
4348
4371
|
i.value;
|
|
4349
|
-
let e =
|
|
4372
|
+
let e = xn(t.iso, n.time, r);
|
|
4350
4373
|
if (e === null) return "";
|
|
4351
4374
|
let a = e === n.time.justNow;
|
|
4352
4375
|
return t.kind === "updatedAt" ? a ? n.header.updatedJustNow : r(n.header.updatedAt, { time: e }) : a ? n.header.createdJustNow : r(n.header.createdAt, { time: e });
|
|
@@ -4359,19 +4382,19 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4359
4382
|
"data-testid": "template-timestamp",
|
|
4360
4383
|
title: o.value,
|
|
4361
4384
|
class: "tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:text-xs tpl:leading-tight tpl:text-[var(--tpl-text-dim)]"
|
|
4362
|
-
}, C(a.value), 9,
|
|
4385
|
+
}, C(a.value), 9, tu)) : A("", !0);
|
|
4363
4386
|
}
|
|
4364
|
-
}),
|
|
4387
|
+
}), ru = ["data-tooltip"], iu = {
|
|
4365
4388
|
key: 1,
|
|
4366
4389
|
"aria-live": "polite",
|
|
4367
4390
|
"data-testid": "save-status-saved",
|
|
4368
4391
|
class: "tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-success)]"
|
|
4369
|
-
},
|
|
4392
|
+
}, au = {
|
|
4370
4393
|
key: 2,
|
|
4371
4394
|
"aria-live": "polite",
|
|
4372
4395
|
"data-testid": "save-status-unsaved",
|
|
4373
4396
|
class: "tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
4374
|
-
},
|
|
4397
|
+
}, ou = /* @__PURE__ */ j({
|
|
4375
4398
|
__name: "TemplateSaveStatus",
|
|
4376
4399
|
props: {
|
|
4377
4400
|
status: {},
|
|
@@ -4389,19 +4412,19 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4389
4412
|
}, [y(O(Dt), {
|
|
4390
4413
|
size: 12,
|
|
4391
4414
|
"stroke-width": 2.5
|
|
4392
|
-
}), b(" " + C(O(t).header.saveFailed), 1)], 8,
|
|
4415
|
+
}), b(" " + C(O(t).header.saveFailed), 1)], 8, ru)) : e.status === "saved" ? (S(), v("div", iu, [y(O(Tt), {
|
|
4393
4416
|
size: 12,
|
|
4394
4417
|
"stroke-width": 2.5
|
|
4395
|
-
}), b(" " + C(O(t).header.saved), 1)])) : e.isDirty ? (S(), v("div",
|
|
4418
|
+
}), b(" " + C(O(t).header.saved), 1)])) : e.isDirty ? (S(), v("div", au, [r[0] ||= _("span", { class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]" }, null, -1), b(" " + C(O(t).header.unsaved), 1)])) : A("", !0);
|
|
4396
4419
|
}
|
|
4397
|
-
}),
|
|
4420
|
+
}), su = { class: "tpl-header tpl:absolute tpl:top-0 tpl:right-0 tpl:left-0 tpl:z-50 tpl:grid tpl:h-14 tpl:grid-cols-[1fr_auto_1fr] tpl:items-center tpl:px-4 tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)] tpl:border-b tpl:border-[var(--tpl-border)]" }, cu = { class: "tpl-header-left tpl:flex tpl:min-w-[200px] tpl:items-center tpl:gap-2.5" }, lu = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, uu = { class: "tpl-header-right tpl:flex tpl:min-w-[200px] tpl:items-center tpl:justify-end tpl:gap-3" }, du = ["aria-label", "aria-expanded"], fu = {
|
|
4398
4421
|
key: 0,
|
|
4399
4422
|
class: "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)]"
|
|
4400
|
-
},
|
|
4423
|
+
}, pu = [
|
|
4401
4424
|
"aria-label",
|
|
4402
4425
|
"title",
|
|
4403
4426
|
"disabled"
|
|
4404
|
-
],
|
|
4427
|
+
], mu = ["disabled", "title"], hu = /* @__PURE__ */ j({
|
|
4405
4428
|
__name: "EditorHeader",
|
|
4406
4429
|
props: {
|
|
4407
4430
|
editor: {},
|
|
@@ -4413,12 +4436,12 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4413
4436
|
comments: {}
|
|
4414
4437
|
},
|
|
4415
4438
|
setup(e) {
|
|
4416
|
-
let t = h(() => import("./VersionHistoryMenu-
|
|
4417
|
-
return (n, i) => (S(), v("header",
|
|
4418
|
-
_("div",
|
|
4439
|
+
let t = h(() => import("./VersionHistoryMenu-8nd_aOnh.js"));
|
|
4440
|
+
return (n, i) => (S(), v("header", su, [
|
|
4441
|
+
_("div", cu, [e.templates?.isAvailable.value && e.templates.hasTemplate.value && (e.showTemplateName || e.templates.timestamp.value) ? (S(), v("div", {
|
|
4419
4442
|
key: 0,
|
|
4420
4443
|
class: r(["tpl:flex tpl:min-w-0 tpl:flex-col tpl:items-start", { "tpl:pb-1.5": e.showTemplateName && e.templates.timestamp.value !== null }])
|
|
4421
|
-
}, [e.showTemplateName ? (S(), w(
|
|
4444
|
+
}, [e.showTemplateName ? (S(), w(eu, {
|
|
4422
4445
|
key: 0,
|
|
4423
4446
|
name: e.templates.name.value,
|
|
4424
4447
|
editable: e.templates.canSave.value,
|
|
@@ -4427,25 +4450,25 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4427
4450
|
"name",
|
|
4428
4451
|
"editable",
|
|
4429
4452
|
"onCommit"
|
|
4430
|
-
])) : A("", !0), e.templates.timestamp.value ? (S(), w(
|
|
4453
|
+
])) : A("", !0), e.templates.timestamp.value ? (S(), w(nu, {
|
|
4431
4454
|
key: 1,
|
|
4432
4455
|
iso: e.templates.timestamp.value.iso,
|
|
4433
4456
|
kind: e.templates.timestamp.value.kind
|
|
4434
4457
|
}, null, 8, ["iso", "kind"])) : A("", !0)], 2)) : A("", !0), s(n.$slots, "left-extras")]),
|
|
4435
|
-
_("div",
|
|
4436
|
-
y(
|
|
4458
|
+
_("div", lu, [
|
|
4459
|
+
y(Vt, {
|
|
4437
4460
|
viewport: e.editor.state.viewport,
|
|
4438
4461
|
onChange: e.editor.setViewport
|
|
4439
4462
|
}, null, 8, ["viewport", "onChange"]),
|
|
4440
|
-
y(
|
|
4463
|
+
y(Yl, {
|
|
4441
4464
|
"dark-mode": e.editor.state.darkMode,
|
|
4442
4465
|
onChange: e.editor.setDarkMode
|
|
4443
4466
|
}, null, 8, ["dark-mode", "onChange"]),
|
|
4444
|
-
y(
|
|
4467
|
+
y(Zl, {
|
|
4445
4468
|
"preview-mode": e.editor.state.previewMode,
|
|
4446
4469
|
onChange: e.editor.setPreviewMode
|
|
4447
4470
|
}, null, 8, ["preview-mode", "onChange"]),
|
|
4448
|
-
e.editor.state.previewMode && !e.core.previewResolution.supersedesSamples.value ? (S(), w(
|
|
4471
|
+
e.editor.state.previewMode && !e.core.previewResolution.supersedesSamples.value ? (S(), w(Ut, {
|
|
4449
4472
|
key: 0,
|
|
4450
4473
|
"sample-mode": e.core.mergeTagSampleMode.value,
|
|
4451
4474
|
onChange: i[0] ||= (t) => e.core.mergeTagSampleMode.value = t
|
|
@@ -4466,8 +4489,8 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4466
4489
|
"previewing-id"
|
|
4467
4490
|
])) : A("", !0)
|
|
4468
4491
|
]),
|
|
4469
|
-
_("div",
|
|
4470
|
-
e.templates?.isAvailable.value && e.templates.canSave.value ? (S(), w(
|
|
4492
|
+
_("div", uu, [
|
|
4493
|
+
e.templates?.isAvailable.value && e.templates.canSave.value ? (S(), w(ou, {
|
|
4471
4494
|
key: 0,
|
|
4472
4495
|
status: e.templates.status.value,
|
|
4473
4496
|
"error-message": e.templates.errorMessage.value,
|
|
@@ -4483,20 +4506,20 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4483
4506
|
"data-testid": "comments-trigger",
|
|
4484
4507
|
"aria-label": e.comments.unresolvedCount.value > 0 ? `${e.core.t.comments.button} (${e.comments.unresolvedCount.value})` : e.core.t.comments.button,
|
|
4485
4508
|
"aria-expanded": e.comments.isOpen.value,
|
|
4486
|
-
class: r(O(
|
|
4509
|
+
class: r(O(sn)),
|
|
4487
4510
|
style: l(e.comments.isOpen.value ? {
|
|
4488
4511
|
backgroundColor: "var(--tpl-primary-light)",
|
|
4489
4512
|
borderColor: "var(--tpl-primary-light)"
|
|
4490
4513
|
} : void 0),
|
|
4491
4514
|
onClick: i[3] ||= (t) => e.comments.toggle()
|
|
4492
4515
|
}, [
|
|
4493
|
-
y(O(
|
|
4516
|
+
y(O(zt), {
|
|
4494
4517
|
size: 16,
|
|
4495
4518
|
"stroke-width": 2
|
|
4496
4519
|
}),
|
|
4497
4520
|
b(" " + C(e.core.t.comments.button) + " ", 1),
|
|
4498
|
-
e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (S(), v("span",
|
|
4499
|
-
], 14,
|
|
4521
|
+
e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (S(), v("span", fu, C(e.comments.unresolvedCount.value), 1)) : A("", !0)
|
|
4522
|
+
], 14, du)) : A("", !0),
|
|
4500
4523
|
s(n.$slots, "right-extras"),
|
|
4501
4524
|
e.testEmail?.isAvailable.value ? (S(), v("button", {
|
|
4502
4525
|
key: 2,
|
|
@@ -4505,63 +4528,63 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4505
4528
|
"aria-label": e.core.t.testEmail.title,
|
|
4506
4529
|
title: e.core.t.testEmail.title,
|
|
4507
4530
|
disabled: e.testEmail.isSending.value,
|
|
4508
|
-
class: r(O(
|
|
4531
|
+
class: r(O(sn)),
|
|
4509
4532
|
onClick: i[4] ||= (t) => e.testEmail.open()
|
|
4510
|
-
}, [e.testEmail.isSending.value ? (S(), w(O(
|
|
4533
|
+
}, [e.testEmail.isSending.value ? (S(), w(O(Rt), {
|
|
4511
4534
|
key: 1,
|
|
4512
4535
|
class: "tpl-spinner",
|
|
4513
4536
|
size: 16,
|
|
4514
4537
|
"stroke-width": 2
|
|
4515
|
-
})) : (S(), w(O(
|
|
4538
|
+
})) : (S(), w(O(Wt), {
|
|
4516
4539
|
key: 0,
|
|
4517
4540
|
size: 16,
|
|
4518
4541
|
"stroke-width": 2
|
|
4519
|
-
})), b(" " + C(e.core.t.testEmail.button), 1)], 10,
|
|
4542
|
+
})), b(" " + C(e.core.t.testEmail.button), 1)], 10, pu)) : A("", !0),
|
|
4520
4543
|
e.templates?.isAvailable.value && e.templates.canSave.value ? (S(), v("button", {
|
|
4521
4544
|
key: 3,
|
|
4522
4545
|
type: "button",
|
|
4523
4546
|
"data-testid": "template-save",
|
|
4524
|
-
class: r(e.editor.state.isDirty && e.templates.hasTemplate.value ? O(
|
|
4547
|
+
class: r(e.editor.state.isDirty && e.templates.hasTemplate.value ? O(mn) : O(sn)),
|
|
4525
4548
|
style: l(e.editor.state.isDirty && e.templates.hasTemplate.value ? { boxShadow: "var(--tpl-shadow-sm)" } : void 0),
|
|
4526
4549
|
disabled: e.templates.isSaving.value || !e.templates.hasTemplate.value,
|
|
4527
4550
|
title: e.templates.hasTemplate.value ? e.core.t.header.save : e.core.t.header.saveNoTemplate,
|
|
4528
4551
|
onClick: i[5] ||= (t) => e.templates.requestSave()
|
|
4529
|
-
}, [e.templates.isSaving.value ? (S(), w(O(
|
|
4552
|
+
}, [e.templates.isSaving.value ? (S(), w(O(Rt), {
|
|
4530
4553
|
key: 1,
|
|
4531
4554
|
class: "tpl-spinner",
|
|
4532
4555
|
size: 16,
|
|
4533
4556
|
"stroke-width": 2
|
|
4534
|
-
})) : (S(), w(O(
|
|
4557
|
+
})) : (S(), w(O(Mn), {
|
|
4535
4558
|
key: 0,
|
|
4536
4559
|
size: 16,
|
|
4537
4560
|
"stroke-width": 2
|
|
4538
|
-
})), b(" " + C(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14,
|
|
4561
|
+
})), b(" " + C(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14, mu)) : A("", !0)
|
|
4539
4562
|
])
|
|
4540
4563
|
]));
|
|
4541
4564
|
}
|
|
4542
|
-
}),
|
|
4565
|
+
}), gu = ["aria-labelledby", "data-tpl-theme"], _u = { 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" }, vu = ["id"], yu = ["aria-label"], bu = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, xu = [
|
|
4543
4566
|
"id",
|
|
4544
4567
|
"placeholder",
|
|
4545
4568
|
"aria-label",
|
|
4546
4569
|
"aria-activedescendant"
|
|
4547
|
-
],
|
|
4570
|
+
], Su = {
|
|
4548
4571
|
key: 0,
|
|
4549
4572
|
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",
|
|
4550
4573
|
"data-testid": "merge-tag-picker-group-pills"
|
|
4551
|
-
},
|
|
4574
|
+
}, Cu = ["data-group-name", "onClick"], wu = ["aria-label"], Tu = {
|
|
4552
4575
|
key: 0,
|
|
4553
4576
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
4554
4577
|
"data-testid": "merge-tag-picker-empty"
|
|
4555
|
-
},
|
|
4578
|
+
}, Eu = {
|
|
4556
4579
|
key: 1,
|
|
4557
4580
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
4558
4581
|
"data-testid": "merge-tag-picker-empty"
|
|
4559
|
-
},
|
|
4582
|
+
}, Du = [
|
|
4560
4583
|
"aria-expanded",
|
|
4561
4584
|
"data-group-name",
|
|
4562
4585
|
"data-group-collapsed",
|
|
4563
4586
|
"onClick"
|
|
4564
|
-
],
|
|
4587
|
+
], Ou = { class: "tpl:ml-1 tpl:font-normal" }, ku = [
|
|
4565
4588
|
"id",
|
|
4566
4589
|
"aria-selected",
|
|
4567
4590
|
"data-selected",
|
|
@@ -4570,14 +4593,14 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4570
4593
|
"title",
|
|
4571
4594
|
"onMousemove",
|
|
4572
4595
|
"onClick"
|
|
4573
|
-
],
|
|
4596
|
+
], Au = { class: "tpl:text-sm tpl:font-medium" }, ju = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Mu = {
|
|
4574
4597
|
key: 0,
|
|
4575
4598
|
class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
|
|
4576
|
-
},
|
|
4599
|
+
}, Nu = {
|
|
4577
4600
|
key: 1,
|
|
4578
4601
|
"data-testid": "merge-tag-picker-sample",
|
|
4579
4602
|
class: "tpl:line-clamp-1 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
|
|
4580
|
-
},
|
|
4603
|
+
}, Pu = "tpl-merge-tag-picker-list", Fu = /* @__PURE__ */ j({
|
|
4581
4604
|
__name: "MergeTagPickerModal",
|
|
4582
4605
|
setup(e) {
|
|
4583
4606
|
let n = rt(Ye, "MergeTagPickerModal"), { t: i, format: a } = q(), s = d(Je, null), c = d(Ze, null), u = m(""), p = We(u, 200), h = m(null), g = k(() => p.value.trim().length > 0), b = m(0), T = k(() => n.tags.value.some((e) => !!e.group)), E = m(/* @__PURE__ */ new Set());
|
|
@@ -4690,13 +4713,13 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4690
4713
|
}
|
|
4691
4714
|
}
|
|
4692
4715
|
function re() {
|
|
4693
|
-
if (B.value.length !== 0) return `${
|
|
4716
|
+
if (B.value.length !== 0) return `${Pu}-opt-${b.value}`;
|
|
4694
4717
|
}
|
|
4695
4718
|
function ie(e) {
|
|
4696
|
-
return `${
|
|
4719
|
+
return `${Pu}-opt-${e}`;
|
|
4697
4720
|
}
|
|
4698
4721
|
let ae = k(() => n.tags.value.length === 0), oe = k(() => !ae.value && I.value.length === 0), se = k(() => T.value && R.value.length > 1 && !g.value);
|
|
4699
|
-
return (e, o) => (S(), w(
|
|
4722
|
+
return (e, o) => (S(), w(Sn, {
|
|
4700
4723
|
visible: O(n).isOpen.value,
|
|
4701
4724
|
onClose: ee,
|
|
4702
4725
|
onKeydown: K
|
|
@@ -4704,31 +4727,31 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4704
4727
|
default: M(() => [_("div", {
|
|
4705
4728
|
role: "dialog",
|
|
4706
4729
|
"aria-modal": "true",
|
|
4707
|
-
"aria-labelledby": `${
|
|
4730
|
+
"aria-labelledby": `${Pu}-title`,
|
|
4708
4731
|
"data-tpl-theme": O(c),
|
|
4709
4732
|
"data-testid": "merge-tag-picker-modal",
|
|
4710
4733
|
class: "tpl tpl:flex tpl:max-h-[80vh] tpl:w-[min(420px,92vw)] 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)]",
|
|
4711
4734
|
style: l(O(s))
|
|
4712
4735
|
}, [
|
|
4713
|
-
_("header",
|
|
4714
|
-
id: `${
|
|
4736
|
+
_("header", _u, [_("h2", {
|
|
4737
|
+
id: `${Pu}-title`,
|
|
4715
4738
|
class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
4716
|
-
}, C(O(i).mergeTag.picker.title), 9,
|
|
4739
|
+
}, C(O(i).mergeTag.picker.title), 9, vu), _("button", {
|
|
4717
4740
|
type: "button",
|
|
4718
4741
|
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)]",
|
|
4719
4742
|
"aria-label": O(i).mergeTag.picker.close,
|
|
4720
4743
|
"data-testid": "merge-tag-picker-close",
|
|
4721
4744
|
onClick: ee
|
|
4722
|
-
}, [y(O(
|
|
4745
|
+
}, [y(O(Zt), {
|
|
4723
4746
|
size: 16,
|
|
4724
4747
|
"stroke-width": 2
|
|
4725
|
-
})], 8,
|
|
4726
|
-
_("div",
|
|
4748
|
+
})], 8, yu)]),
|
|
4749
|
+
_("div", bu, [y(O(kt), {
|
|
4727
4750
|
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)]",
|
|
4728
4751
|
size: 14,
|
|
4729
4752
|
"stroke-width": 2
|
|
4730
4753
|
}), t(_("input", {
|
|
4731
|
-
id: `${
|
|
4754
|
+
id: `${Pu}-search`,
|
|
4732
4755
|
ref_key: "searchInputRef",
|
|
4733
4756
|
ref: h,
|
|
4734
4757
|
"onUpdate:modelValue": o[0] ||= (e) => u.value = e,
|
|
@@ -4736,34 +4759,34 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4736
4759
|
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)]",
|
|
4737
4760
|
placeholder: O(i).mergeTag.picker.searchPlaceholder,
|
|
4738
4761
|
"aria-label": O(i).mergeTag.picker.searchAriaLabel,
|
|
4739
|
-
"aria-controls":
|
|
4762
|
+
"aria-controls": Pu,
|
|
4740
4763
|
"aria-activedescendant": re(),
|
|
4741
4764
|
"data-testid": "merge-tag-picker-search",
|
|
4742
4765
|
onKeydown: o[1] ||= L(P(() => {}, ["prevent"]), ["enter"])
|
|
4743
|
-
}, null, 40,
|
|
4744
|
-
se.value ? (S(), v("div",
|
|
4766
|
+
}, null, 40, xu), [[N, u.value]])]),
|
|
4767
|
+
se.value ? (S(), v("div", Su, [(S(!0), v(D, null, x(R.value, (e) => (S(), v("button", {
|
|
4745
4768
|
key: e,
|
|
4746
4769
|
type: "button",
|
|
4747
4770
|
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-[11px] 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)]",
|
|
4748
4771
|
"data-testid": "merge-tag-picker-group-pill",
|
|
4749
4772
|
"data-group-name": e,
|
|
4750
4773
|
onClick: (t) => ne(e)
|
|
4751
|
-
}, C(e), 9,
|
|
4774
|
+
}, C(e), 9, Cu))), 128))])) : A("", !0),
|
|
4752
4775
|
_("div", {
|
|
4753
|
-
id:
|
|
4776
|
+
id: Pu,
|
|
4754
4777
|
ref_key: "listRef",
|
|
4755
4778
|
ref: U,
|
|
4756
4779
|
class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
|
|
4757
4780
|
role: "listbox",
|
|
4758
4781
|
"aria-label": O(i).mergeTag.picker.title,
|
|
4759
4782
|
"data-testid": "merge-tag-picker-list"
|
|
4760
|
-
}, [ae.value ? (S(), v("div",
|
|
4783
|
+
}, [ae.value ? (S(), v("div", Tu, C(O(i).mergeTag.picker.empty), 1)) : oe.value ? (S(), v("div", Eu, C(O(i).mergeTag.picker.noResults), 1)) : (S(!0), v(D, { key: 2 }, x(z.value, (e, t) => (S(), v(D, { key: t }, [e.kind === "header" ? (S(), v("button", {
|
|
4761
4784
|
key: 0,
|
|
4762
4785
|
ref_for: !0,
|
|
4763
4786
|
ref: (t) => G(e.group, t),
|
|
4764
4787
|
type: "button",
|
|
4765
4788
|
"aria-expanded": !j(e.group),
|
|
4766
|
-
"aria-controls":
|
|
4789
|
+
"aria-controls": Pu,
|
|
4767
4790
|
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)]",
|
|
4768
4791
|
"data-testid": "merge-tag-picker-group-header",
|
|
4769
4792
|
"data-group-name": e.group,
|
|
@@ -4776,8 +4799,8 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4776
4799
|
class: r(["tpl:transition-transform", j(e.group) ? "tpl:-rotate-90" : ""])
|
|
4777
4800
|
}, null, 8, ["class"]),
|
|
4778
4801
|
_("span", null, C(e.group), 1),
|
|
4779
|
-
_("span",
|
|
4780
|
-
], 8,
|
|
4802
|
+
_("span", Ou, " (" + C(O(a)(O(i).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
|
|
4803
|
+
], 8, Du)) : (S(), v("button", {
|
|
4781
4804
|
key: 1,
|
|
4782
4805
|
id: ie(e.index),
|
|
4783
4806
|
type: "button",
|
|
@@ -4792,16 +4815,16 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4792
4815
|
onMousemove: (t) => b.value = e.index,
|
|
4793
4816
|
onClick: (t) => V(e.tag)
|
|
4794
4817
|
}, [
|
|
4795
|
-
_("span",
|
|
4796
|
-
_("span",
|
|
4797
|
-
e.tag.description ? (S(), v("span",
|
|
4798
|
-
e.tag.sample === void 0 ? A("", !0) : (S(), v("span",
|
|
4799
|
-
], 42,
|
|
4800
|
-
], 12,
|
|
4818
|
+
_("span", Au, C(e.tag.label), 1),
|
|
4819
|
+
_("span", ju, C(e.tag.value), 1),
|
|
4820
|
+
e.tag.description ? (S(), v("span", Mu, C(e.tag.description), 1)) : A("", !0),
|
|
4821
|
+
e.tag.sample === void 0 ? A("", !0) : (S(), v("span", Nu, C(O(a)(O(i).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
|
|
4822
|
+
], 42, ku))], 64))), 128))], 8, wu)
|
|
4823
|
+
], 12, gu)]),
|
|
4801
4824
|
_: 1
|
|
4802
4825
|
}, 8, ["visible"]));
|
|
4803
4826
|
}
|
|
4804
|
-
}),
|
|
4827
|
+
}), Iu = ["data-logic-keyword"], Lu = /* @__PURE__ */ j({
|
|
4805
4828
|
__name: "LogicTagBadge",
|
|
4806
4829
|
props: {
|
|
4807
4830
|
value: {},
|
|
@@ -4818,22 +4841,22 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4818
4841
|
},
|
|
4819
4842
|
"data-testid": "merge-tag-logic-badge",
|
|
4820
4843
|
"data-logic-keyword": r.value
|
|
4821
|
-
}, C(r.value), 9,
|
|
4844
|
+
}, C(r.value), 9, Iu)) : A("", !0);
|
|
4822
4845
|
}
|
|
4823
|
-
}),
|
|
4846
|
+
}), Ru = ["aria-labelledby", "data-tpl-theme"], zu = { 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" }, Bu = ["id"], Vu = ["aria-label"], Hu = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Uu = [
|
|
4824
4847
|
"id",
|
|
4825
4848
|
"placeholder",
|
|
4826
4849
|
"aria-label",
|
|
4827
4850
|
"aria-activedescendant"
|
|
4828
|
-
],
|
|
4851
|
+
], Wu = ["aria-label"], Gu = {
|
|
4829
4852
|
key: 0,
|
|
4830
4853
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
4831
4854
|
"data-testid": "logic-picker-empty"
|
|
4832
|
-
},
|
|
4855
|
+
}, Ku = {
|
|
4833
4856
|
key: 1,
|
|
4834
4857
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
4835
4858
|
"data-testid": "logic-picker-empty"
|
|
4836
|
-
},
|
|
4859
|
+
}, qu = ["data-group-name"], Ju = [
|
|
4837
4860
|
"id",
|
|
4838
4861
|
"aria-selected",
|
|
4839
4862
|
"data-selected",
|
|
@@ -4841,16 +4864,16 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4841
4864
|
"data-logic-kind",
|
|
4842
4865
|
"onMousemove",
|
|
4843
4866
|
"onClick"
|
|
4844
|
-
],
|
|
4867
|
+
], Yu = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Xu = { class: "tpl:text-sm tpl:font-medium" }, Zu = {
|
|
4845
4868
|
key: 0,
|
|
4846
4869
|
class: "tpl:flex tpl:items-center"
|
|
4847
|
-
},
|
|
4870
|
+
}, Qu = {
|
|
4848
4871
|
key: 1,
|
|
4849
4872
|
class: "tpl:flex tpl:items-center tpl:gap-1"
|
|
4850
|
-
},
|
|
4873
|
+
}, $u = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, ed = {
|
|
4851
4874
|
key: 0,
|
|
4852
4875
|
class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
|
|
4853
|
-
},
|
|
4876
|
+
}, td = "tpl-logic-picker-list", nd = /* @__PURE__ */ j({
|
|
4854
4877
|
__name: "LogicTagPickerModal",
|
|
4855
4878
|
setup(e) {
|
|
4856
4879
|
let n = rt(vt, "LogicTagPickerModal"), { t: i } = q(), a = d(ut, G.liquid), s = d(Je, null), c = d(Ze, null), u = m(""), p = We(u, 200), h = m(null), g = k(() => p.value.trim().length > 0), b = m(0);
|
|
@@ -4936,12 +4959,12 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4936
4959
|
}
|
|
4937
4960
|
}
|
|
4938
4961
|
function K(e) {
|
|
4939
|
-
return `${
|
|
4962
|
+
return `${td}-opt-${e}`;
|
|
4940
4963
|
}
|
|
4941
4964
|
function re() {
|
|
4942
|
-
return B.value.length === 0 ? void 0 : `${
|
|
4965
|
+
return B.value.length === 0 ? void 0 : `${td}-opt-${b.value}`;
|
|
4943
4966
|
}
|
|
4944
|
-
return (e, o) => (S(), w(
|
|
4967
|
+
return (e, o) => (S(), w(Sn, {
|
|
4945
4968
|
visible: O(n).isOpen.value,
|
|
4946
4969
|
onClose: W,
|
|
4947
4970
|
onKeydown: ne
|
|
@@ -4949,31 +4972,31 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4949
4972
|
default: M(() => [_("div", {
|
|
4950
4973
|
role: "dialog",
|
|
4951
4974
|
"aria-modal": "true",
|
|
4952
|
-
"aria-labelledby": `${
|
|
4975
|
+
"aria-labelledby": `${td}-title`,
|
|
4953
4976
|
"data-tpl-theme": O(c),
|
|
4954
4977
|
"data-testid": "logic-picker-modal",
|
|
4955
4978
|
class: "tpl tpl:flex tpl:max-h-[80vh] tpl:w-[min(420px,92vw)] 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)]",
|
|
4956
4979
|
style: l(O(s))
|
|
4957
4980
|
}, [
|
|
4958
|
-
_("header",
|
|
4959
|
-
id: `${
|
|
4981
|
+
_("header", zu, [_("h2", {
|
|
4982
|
+
id: `${td}-title`,
|
|
4960
4983
|
class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
4961
|
-
}, C(O(i).logicTag.picker.title), 9,
|
|
4984
|
+
}, C(O(i).logicTag.picker.title), 9, Bu), _("button", {
|
|
4962
4985
|
type: "button",
|
|
4963
4986
|
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)]",
|
|
4964
4987
|
"aria-label": O(i).logicTag.picker.close,
|
|
4965
4988
|
"data-testid": "logic-picker-close",
|
|
4966
4989
|
onClick: W
|
|
4967
|
-
}, [y(O(
|
|
4990
|
+
}, [y(O(Zt), {
|
|
4968
4991
|
size: 16,
|
|
4969
4992
|
"stroke-width": 2
|
|
4970
|
-
})], 8,
|
|
4971
|
-
_("div",
|
|
4993
|
+
})], 8, Vu)]),
|
|
4994
|
+
_("div", Hu, [y(O(kt), {
|
|
4972
4995
|
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)]",
|
|
4973
4996
|
size: 14,
|
|
4974
4997
|
"stroke-width": 2
|
|
4975
4998
|
}), t(_("input", {
|
|
4976
|
-
id: `${
|
|
4999
|
+
id: `${td}-search`,
|
|
4977
5000
|
ref_key: "searchInputRef",
|
|
4978
5001
|
ref: h,
|
|
4979
5002
|
"onUpdate:modelValue": o[0] ||= (e) => u.value = e,
|
|
@@ -4981,25 +5004,25 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
4981
5004
|
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)]",
|
|
4982
5005
|
placeholder: O(i).logicTag.picker.searchPlaceholder,
|
|
4983
5006
|
"aria-label": O(i).logicTag.picker.searchAriaLabel,
|
|
4984
|
-
"aria-controls":
|
|
5007
|
+
"aria-controls": td,
|
|
4985
5008
|
"aria-activedescendant": re(),
|
|
4986
5009
|
"data-testid": "logic-picker-search",
|
|
4987
5010
|
onKeydown: o[1] ||= L(P(() => {}, ["prevent"]), ["enter"])
|
|
4988
|
-
}, null, 40,
|
|
5011
|
+
}, null, 40, Uu), [[N, u.value]])]),
|
|
4989
5012
|
_("div", {
|
|
4990
|
-
id:
|
|
5013
|
+
id: td,
|
|
4991
5014
|
ref_key: "listRef",
|
|
4992
5015
|
ref: H,
|
|
4993
5016
|
class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
|
|
4994
5017
|
role: "listbox",
|
|
4995
5018
|
"aria-label": O(i).logicTag.picker.title,
|
|
4996
5019
|
"data-testid": "logic-picker-list"
|
|
4997
|
-
}, [V.value ? (S(), v("div",
|
|
5020
|
+
}, [V.value ? (S(), v("div", Gu, C(O(i).logicTag.picker.empty), 1)) : ee.value ? (S(), v("div", Ku, C(O(i).logicTag.picker.noResults), 1)) : (S(!0), v(D, { key: 2 }, x(z.value.rows, (e, t) => (S(), v(D, { key: t }, [e.kind === "header" ? (S(), v("div", {
|
|
4998
5021
|
key: 0,
|
|
4999
5022
|
class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
|
|
5000
5023
|
"data-testid": "logic-picker-header",
|
|
5001
5024
|
"data-group-name": e.label
|
|
5002
|
-
}, C(e.label), 9,
|
|
5025
|
+
}, C(e.label), 9, qu)) : (S(), v("button", {
|
|
5003
5026
|
key: 1,
|
|
5004
5027
|
id: K(e.index),
|
|
5005
5028
|
type: "button",
|
|
@@ -5013,28 +5036,28 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
5013
5036
|
onMousemove: (t) => b.value = e.index,
|
|
5014
5037
|
onClick: (t) => U(e.kind === "tag" ? e.tag : e.pair)
|
|
5015
5038
|
}, [
|
|
5016
|
-
_("span",
|
|
5039
|
+
_("span", Yu, [_("span", Xu, C(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (S(), v("span", Zu, [y(Lu, {
|
|
5017
5040
|
value: e.tag.value,
|
|
5018
5041
|
syntax: O(a)
|
|
5019
|
-
}, null, 8, ["value", "syntax"])])) : (S(), v("span",
|
|
5020
|
-
y(
|
|
5042
|
+
}, null, 8, ["value", "syntax"])])) : (S(), v("span", Qu, [
|
|
5043
|
+
y(Lu, {
|
|
5021
5044
|
value: e.pair.before,
|
|
5022
5045
|
syntax: O(a)
|
|
5023
5046
|
}, null, 8, ["value", "syntax"]),
|
|
5024
5047
|
o[2] ||= _("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
|
|
5025
|
-
y(
|
|
5048
|
+
y(Lu, {
|
|
5026
5049
|
value: e.pair.after,
|
|
5027
5050
|
syntax: O(a)
|
|
5028
5051
|
}, null, 8, ["value", "syntax"])
|
|
5029
5052
|
]))]),
|
|
5030
|
-
_("span",
|
|
5031
|
-
(e.kind === "tag" ? e.tag.description : e.pair.description) ? (S(), v("span",
|
|
5032
|
-
], 42,
|
|
5033
|
-
], 12,
|
|
5053
|
+
_("span", $u, C(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
|
|
5054
|
+
(e.kind === "tag" ? e.tag.description : e.pair.description) ? (S(), v("span", ed, C(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : A("", !0)
|
|
5055
|
+
], 42, Ju))], 64))), 128))], 8, Wu)
|
|
5056
|
+
], 12, Ru)]),
|
|
5034
5057
|
_: 1
|
|
5035
5058
|
}, 8, ["visible"]));
|
|
5036
5059
|
}
|
|
5037
|
-
}),
|
|
5060
|
+
}), rd = ["data-tpl-theme"], id = { class: "tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, ad = { class: "tpl-main tpl:flex tpl:justify-center tpl:p-8" }, od = ["aria-label"], sd = /*#__PURE__*/ Qt(/* @__PURE__ */ j({
|
|
5038
5061
|
__name: "Editor",
|
|
5039
5062
|
props: {
|
|
5040
5063
|
config: {},
|
|
@@ -5044,32 +5067,32 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
5044
5067
|
cloud: {}
|
|
5045
5068
|
},
|
|
5046
5069
|
setup(e, { expose: i }) {
|
|
5047
|
-
let a = e, s = a.config.templates ?
|
|
5070
|
+
let a = e, s = a.config.templates ? ar(a.config.templates, a.config.mergeTags) : void 0, u = ue({
|
|
5048
5071
|
content: a.config.content,
|
|
5049
5072
|
defaultFontFamily: a.config.fonts?.defaultFont,
|
|
5050
5073
|
templateDefaults: a.config.templateDefaults,
|
|
5051
5074
|
templates: s,
|
|
5052
5075
|
onError: a.config.onError,
|
|
5053
5076
|
lockedBlocks: a.cloud?.lockedBlocks
|
|
5054
|
-
}), d = a.cloud ? a.cloud.attach({ editor: u }) : null, f = s ?
|
|
5077
|
+
}), d = a.cloud ? a.cloud.attach({ editor: u }) : null, f = s ? Bn({
|
|
5055
5078
|
provider: s,
|
|
5056
5079
|
editor: u,
|
|
5057
5080
|
guardUnsavedChanges: a.config.unsavedChangesGuard,
|
|
5058
5081
|
getSaveGate: a.cloud ? () => a.cloud.getSaveGate() : void 0
|
|
5059
5082
|
}) : null;
|
|
5060
5083
|
a.config.onDirtyChange && o(() => u.state.isDirty, (e) => a.config.onDirtyChange(e));
|
|
5061
|
-
let p = m(null), g = a.config.savedBlocks ?
|
|
5084
|
+
let p = m(null), g = a.config.savedBlocks ? Rn({
|
|
5062
5085
|
provider: a.config.savedBlocks,
|
|
5063
5086
|
editor: u,
|
|
5064
5087
|
onError: a.config.onError,
|
|
5065
5088
|
isAvailable: a.cloud ? () => a.cloud.isSavedBlocksAvailable() : void 0
|
|
5066
|
-
}) : null, x = h(() => import("./SavedBlocksPanels-
|
|
5089
|
+
}) : null, x = h(() => import("./SavedBlocksPanels-D5T63WyR.js")), E = a.config.testEmail ? Wn({
|
|
5067
5090
|
provider: a.config.testEmail,
|
|
5068
5091
|
getContent: () => u.content.value,
|
|
5069
5092
|
renderMjml: te,
|
|
5070
5093
|
onError: a.config.onError,
|
|
5071
5094
|
isAvailable: a.cloud ? () => a.cloud.isTestEmailAvailable() : void 0
|
|
5072
|
-
}) : null, D = h(() => import("./TestEmailPanel-
|
|
5095
|
+
}) : null, D = h(() => import("./TestEmailPanel-3Y6uUX3Z.js")), j = a.config.comments ? Ln({
|
|
5073
5096
|
provider: a.config.comments,
|
|
5074
5097
|
editor: u,
|
|
5075
5098
|
user: a.config.user,
|
|
@@ -5078,7 +5101,7 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
5078
5101
|
onError: a.config.onError,
|
|
5079
5102
|
isAvailable: a.cloud ? () => a.cloud.isCommentsAvailable() : void 0,
|
|
5080
5103
|
isBlockSaved: a.cloud ? (e) => a.cloud.isBlockSaved(e) : void 0
|
|
5081
|
-
}) : null, N = h(() => import("./CommentsPanel-
|
|
5104
|
+
}) : null, N = h(() => import("./CommentsPanel-CB1-poNb.js")), F = h(() => import("./CloudPanels-oFNlTOO5.js")), L = h(() => import("./CloudHeaderExtras-Bgr-Ox9M.js")), z = h(() => import("./VersionHistoryPanels-Cm7MxfrI.js")), B = Kn(a.config.autoSave, !1), V = B.enabled && f !== null;
|
|
5082
5105
|
B.enabled && f === null && bt.warn("config.autoSave is on but no `templates` provider is configured — there is nothing to save to. Pass `templates` to enable it, or use `onChange` to persist the content yourself.");
|
|
5083
5106
|
let ee = a.config.onChange || V ? {
|
|
5084
5107
|
onChange: () => {
|
|
@@ -5108,7 +5131,7 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
5108
5131
|
onRequestMedia: a.cloud?.onRequestMedia ?? a.config.onRequestMedia,
|
|
5109
5132
|
resolvePreview: a.config.resolvePreview,
|
|
5110
5133
|
resolveImageUrl: a.config.resolveImageUrl,
|
|
5111
|
-
lint:
|
|
5134
|
+
lint: qn(a.config)
|
|
5112
5135
|
},
|
|
5113
5136
|
translations: a.translations,
|
|
5114
5137
|
fontsManager: a.fontsManager,
|
|
@@ -5120,9 +5143,9 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
5120
5143
|
}), W = a.cloud && d ? a.cloud.ready({
|
|
5121
5144
|
core: U,
|
|
5122
5145
|
capabilities: H
|
|
5123
|
-
}) : null, G = a.config.versionHistory ?
|
|
5146
|
+
}) : null, G = a.config.versionHistory ? Gn({
|
|
5124
5147
|
provider: a.config.versionHistory,
|
|
5125
|
-
editor:
|
|
5148
|
+
editor: ir(u, a.config.mergeTags),
|
|
5126
5149
|
history: U.history,
|
|
5127
5150
|
conditionPreview: U.conditionPreview,
|
|
5128
5151
|
autoSave: U.autoSave,
|
|
@@ -5134,11 +5157,11 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
5134
5157
|
}) : null;
|
|
5135
5158
|
G && (H.versionHistory = G.capability);
|
|
5136
5159
|
function te() {
|
|
5137
|
-
return
|
|
5160
|
+
return Hn({
|
|
5138
5161
|
getContent: () => u.content.value,
|
|
5139
5162
|
renderCustomBlock: U.registry.renderCustomBlock,
|
|
5140
5163
|
getCustomBlockStylesheet: (e) => U.registry.getDefinition(e)?.stylesheet,
|
|
5141
|
-
getFonts: () =>
|
|
5164
|
+
getFonts: () => Jn(a.fontsManager)
|
|
5142
5165
|
});
|
|
5143
5166
|
}
|
|
5144
5167
|
let ne = k(() => j?.isOpen.value === !0 || d?.panelState.rightPanelOpen.value === !0), K = k(() => u.state.previewMode ? "tpl:left-0 tpl:right-0" : ne.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]");
|
|
@@ -5171,8 +5194,8 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
5171
5194
|
onDragover: i[7] ||= P(() => {}, ["prevent"]),
|
|
5172
5195
|
onDrop: i[8] ||= P(() => {}, ["prevent"])
|
|
5173
5196
|
}, [
|
|
5174
|
-
y(
|
|
5175
|
-
y(
|
|
5197
|
+
y(yr),
|
|
5198
|
+
y(hu, {
|
|
5176
5199
|
editor: O(u),
|
|
5177
5200
|
core: O(U),
|
|
5178
5201
|
templates: O(f),
|
|
@@ -5214,23 +5237,23 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
5214
5237
|
"version-history",
|
|
5215
5238
|
"comments"
|
|
5216
5239
|
]),
|
|
5217
|
-
t(y(
|
|
5240
|
+
t(y(kr, null, null, 512), [[I, !O(u).state.previewMode]]),
|
|
5218
5241
|
_("div", {
|
|
5219
5242
|
class: r(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", [K.value, O(G)?.isPreviewing.value ? "tpl:top-[104px]" : "tpl:top-14"]]),
|
|
5220
5243
|
style: { transition: "all 300ms cubic-bezier(0.34, 1.56, 0.64, 1)" }
|
|
5221
|
-
}, [_("div",
|
|
5244
|
+
}, [_("div", id, [y(R, { name: "tpl-restore-btn" }, {
|
|
5222
5245
|
default: M(() => [O(U).conditionPreview.hasHiddenBlocks.value && O(U).appliesConditionFilter.value ? (S(), v("button", {
|
|
5223
5246
|
key: 0,
|
|
5224
5247
|
class: "tpl:absolute tpl:left-1/2 tpl:top-2 tpl:-translate-x-1/2 tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:rounded-full tpl:border tpl:px-3.5 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:whitespace-nowrap tpl:shadow-[var(--tpl-shadow-md)] tpl:hover:opacity-80 tpl:bg-[var(--tpl-warning-light)] tpl:text-[var(--tpl-warning)] tpl:border-[var(--tpl-warning)]",
|
|
5225
5248
|
style: { "backdrop-filter": "blur(8px)" },
|
|
5226
5249
|
"data-testid": "restore-hidden-blocks",
|
|
5227
5250
|
onClick: i[0] ||= (e) => O(U).conditionPreview.reset()
|
|
5228
|
-
}, [y(O(
|
|
5251
|
+
}, [y(O(jn), {
|
|
5229
5252
|
size: 13,
|
|
5230
5253
|
"stroke-width": 2
|
|
5231
5254
|
}), b(" " + C(O(U).t.blockSettings.restoreHiddenBlocks), 1)])) : A("", !0)]),
|
|
5232
5255
|
_: 1
|
|
5233
|
-
})]), _("main",
|
|
5256
|
+
})]), _("main", ad, [y(vr, {
|
|
5234
5257
|
viewport: O(u).state.viewport,
|
|
5235
5258
|
content: O(U).previewResolution.content.value,
|
|
5236
5259
|
"selected-block-id": O(u).state.selectedBlockId,
|
|
@@ -5249,7 +5272,7 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
5249
5272
|
"locked-blocks",
|
|
5250
5273
|
"onSelectBlock"
|
|
5251
5274
|
])])], 2),
|
|
5252
|
-
e.config.branding === !1 ? A("", !0) : (S(), w(
|
|
5275
|
+
e.config.branding === !1 ? A("", !0) : (S(), w(ql, {
|
|
5253
5276
|
key: 0,
|
|
5254
5277
|
"position-class": [K.value]
|
|
5255
5278
|
}, null, 8, ["position-class"])),
|
|
@@ -5259,8 +5282,8 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
5259
5282
|
"aria-live": "polite",
|
|
5260
5283
|
"aria-atomic": "true",
|
|
5261
5284
|
"aria-label": O(U).t.landmarks.reorderAnnouncements
|
|
5262
|
-
}, C(O(U).keyboardReorder.announcement.value), 9,
|
|
5263
|
-
t(y(
|
|
5285
|
+
}, C(O(U).keyboardReorder.announcement.value), 9, od),
|
|
5286
|
+
t(y(zl, {
|
|
5264
5287
|
"selected-block": O(u).selectedBlock.value,
|
|
5265
5288
|
settings: O(u).content.value.settings,
|
|
5266
5289
|
"shifted-left": ne.value,
|
|
@@ -5281,8 +5304,8 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
5281
5304
|
ref: (e) => O(U).popoverRoot.value = e,
|
|
5282
5305
|
class: "tpl-popover-root"
|
|
5283
5306
|
}, null, 512),
|
|
5284
|
-
y(
|
|
5285
|
-
y(
|
|
5307
|
+
y(Fu),
|
|
5308
|
+
y(nd),
|
|
5286
5309
|
O(g)?.isAvailable.value ? (S(), w(O(x), {
|
|
5287
5310
|
key: 1,
|
|
5288
5311
|
feature: O(g)
|
|
@@ -5315,10 +5338,10 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
5315
5338
|
"ready",
|
|
5316
5339
|
"locale"
|
|
5317
5340
|
])) : A("", !0),
|
|
5318
|
-
O(ie) ? (S(), w(
|
|
5319
|
-
], 46,
|
|
5341
|
+
O(ie) ? (S(), w(Wl, { key: 6 })) : A("", !0)
|
|
5342
|
+
], 46, rd));
|
|
5320
5343
|
}
|
|
5321
|
-
}), [["__scopeId", "data-v-9b8b235c"]]),
|
|
5344
|
+
}), [["__scopeId", "data-v-9b8b235c"]]), cd = /* #__PURE__ */ Object.assign({
|
|
5322
5345
|
"./locales/ca.ts": () => import("./ca-CEuJ6IRr.js"),
|
|
5323
5346
|
"./locales/de.ts": () => import("./de-aRxhZF_K.js"),
|
|
5324
5347
|
"./locales/en.ts": () => import("./en-BX4V_7YO.js"),
|
|
@@ -5326,96 +5349,96 @@ var Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = ["value"], js = {
|
|
|
5326
5349
|
"./locales/fr.ts": () => import("./fr-iBuE60Ap.js"),
|
|
5327
5350
|
"./locales/nl.ts": () => import("./nl-Btw4ojNo.js"),
|
|
5328
5351
|
"./locales/pt-BR.ts": () => import("./pt-BR-GjVsCqbN.js")
|
|
5329
|
-
}),
|
|
5352
|
+
}), ld = /* #__PURE__ */ Object.assign({
|
|
5330
5353
|
"./locales/cloud/de.ts": () => import("./de-BytZwgn6.js"),
|
|
5331
5354
|
"./locales/cloud/en.ts": () => import("./en-DyOSV0lY.js"),
|
|
5332
5355
|
"./locales/cloud/pt-BR.ts": () => import("./pt-BR-C1WLSGDh.js")
|
|
5333
5356
|
});
|
|
5334
|
-
function
|
|
5357
|
+
function ud(e) {
|
|
5335
5358
|
return Object.keys(e).map((e) => e.match(/\/([^/]+)\.ts$/)?.[1]).filter((e) => !!e);
|
|
5336
5359
|
}
|
|
5337
|
-
var
|
|
5338
|
-
function
|
|
5360
|
+
var dd = ud(cd), fd = ud(ld);
|
|
5361
|
+
function pd(e) {
|
|
5339
5362
|
return e.trim().replace(/_/g, "-").toLowerCase();
|
|
5340
5363
|
}
|
|
5341
|
-
function
|
|
5342
|
-
let n =
|
|
5343
|
-
return t.find((e) =>
|
|
5364
|
+
function md(e, t) {
|
|
5365
|
+
let n = pd(e);
|
|
5366
|
+
return t.find((e) => pd(e) === n);
|
|
5344
5367
|
}
|
|
5345
|
-
function
|
|
5346
|
-
return
|
|
5368
|
+
function hd(e) {
|
|
5369
|
+
return pd(e).split("-")[0];
|
|
5347
5370
|
}
|
|
5348
|
-
function
|
|
5349
|
-
return
|
|
5371
|
+
function gd(e, t) {
|
|
5372
|
+
return md(e, t) ?? md(hd(e), t);
|
|
5350
5373
|
}
|
|
5351
|
-
function
|
|
5352
|
-
return
|
|
5374
|
+
function _d(e, t) {
|
|
5375
|
+
return gd(e, t) ?? "en";
|
|
5353
5376
|
}
|
|
5354
|
-
async function
|
|
5355
|
-
let t =
|
|
5377
|
+
async function vd(e) {
|
|
5378
|
+
let t = cd[`./locales/${_d(e, dd)}.ts`];
|
|
5356
5379
|
return (await t()).default;
|
|
5357
5380
|
}
|
|
5358
|
-
async function
|
|
5359
|
-
let t =
|
|
5381
|
+
async function yd(e) {
|
|
5382
|
+
let t = ld[`./locales/cloud/${_d(e, fd)}.ts`];
|
|
5360
5383
|
return (await t()).default;
|
|
5361
5384
|
}
|
|
5362
|
-
function
|
|
5363
|
-
return
|
|
5385
|
+
function bd(e) {
|
|
5386
|
+
return gd(e, dd) !== void 0;
|
|
5364
5387
|
}
|
|
5365
|
-
function
|
|
5366
|
-
return
|
|
5388
|
+
function xd(e) {
|
|
5389
|
+
return gd(e, fd) !== void 0;
|
|
5367
5390
|
}
|
|
5368
|
-
function
|
|
5369
|
-
return [...
|
|
5391
|
+
function Sd() {
|
|
5392
|
+
return [...dd];
|
|
5370
5393
|
}
|
|
5371
|
-
function
|
|
5372
|
-
return [...
|
|
5394
|
+
function Cd() {
|
|
5395
|
+
return [...fd];
|
|
5373
5396
|
}
|
|
5374
5397
|
//#endregion
|
|
5375
5398
|
//#region \0virtual:editor-css
|
|
5376
|
-
var Sd = "@import\"https://fonts.bunny.net/css?family=geist:400,500,600\";.tpl-loading-track[data-v-c3d50014]{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-c3d50014 3s ease-in-out infinite}@keyframes tpl-loading-flow-c3d50014{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.tpl-loading-track-fill[data-v-c3d50014]{animation:none;background-position:50% 0}}.tpl-block--idle[data-v-096f1d37]{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-096f1d37]: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-096f1d37]{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-096f1d37]{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-096f1d37]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-096f1d37]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-096f1d37]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-096f1d37]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-096f1d37]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-096f1d37]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-096f1d37]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-table-editable[data-v-963ac422] th[contenteditable],.tpl-table-editable[data-v-963ac422] td[contenteditable]{outline:none;cursor:text;min-width:calc(2 * var(--tpl-base-size))}.tpl-table-editable[data-v-963ac422] th[contenteditable]:empty:before,.tpl-table-editable[data-v-963ac422] td[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--tpl-text-dim);pointer-events:none}.tpl-table-editable[data-v-963ac422] th[contenteditable]:focus,.tpl-table-editable[data-v-963ac422] td[contenteditable]:focus{outline:2px solid var(--tpl-primary);outline-offset:-2px;border-radius:1px}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-canvas--dark-mode[data-v-da730df5] .tpl-block-content:not(.tpl-block-content *){filter:invert(1) hue-rotate(180deg)}[data-v-da730df5] .tpl-block-content{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-da730df5] .tpl-block-content img{filter:invert(1) hue-rotate(180deg)}.tpl-pulse-fill[data-v-c289916a]{animation:tpl-field-pulse-c289916a 1s ease-out}@keyframes tpl-field-pulse-c289916a{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-c289916a]{animation:none}}input[type=number][data-v-69591c1e]::-webkit-outer-spin-button,input[type=number][data-v-69591c1e]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-69591c1e]{-moz-appearance:textfield}.tpl-collapsible[data-v-417d1652]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-417d1652]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-417d1652]{overflow:hidden}.tpl-icon-enter-active[data-v-632aa74f],.tpl-icon-leave-active[data-v-632aa74f]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-632aa74f],.tpl-icon-leave-to[data-v-632aa74f]{opacity:0;transform:scale(.8)}.tpl-dark-mode-toggle[data-v-632aa74f]:hover{background-color:var(--tpl-bg-hover)}.tpl-dark-mode-toggle[data-v-632aa74f]:active{transform:scale(.92)}.tpl-icon-enter-active[data-v-eef7b2ca],.tpl-icon-leave-active[data-v-eef7b2ca]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-eef7b2ca],.tpl-icon-leave-to[data-v-eef7b2ca]{opacity:0;transform:scale(.8)}.tpl-preview-toggle[data-v-eef7b2ca]:hover{background-color:var(--tpl-bg-hover)}.tpl-preview-toggle[data-v-eef7b2ca]:active{transform:scale(.92)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tpl-comet-angle:0deg;--tpl-comet-start:100%}}}@layer theme{:root,:host{--tpl-radius-sm:calc(.25 * var(--tpl-base-size));--tpl-radius-md:calc(.375 * var(--tpl-base-size));--tpl-radius-lg:calc(.5 * var(--tpl-base-size));--tpl-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--tpl-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tpl-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tpl-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--tpl-radius:calc(.25 * var(--tpl-base-size))}}.tpl\\:pointer-events-auto{pointer-events:auto}.tpl\\:pointer-events-none{pointer-events:none}.tpl\\:invisible{visibility:hidden}.tpl\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl\\:absolute{position:absolute}.tpl\\:fixed{position:fixed}.tpl\\:relative{position:relative}.tpl\\:sticky{position:sticky}.tpl\\:inset-0{inset:0}.tpl\\:inset-x-0{inset-inline:0}.tpl\\:inset-y-1{inset-block:calc(var(--tpl-base-size) / 4)}.tpl\\:-top-0\\.5{top:calc(calc(var(--tpl-base-size) / 4) * -.5)}.tpl\\:-top-1{top:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:top-0{top:0}.tpl\\:top-1{top:calc(var(--tpl-base-size) / 4)}.tpl\\:top-1\\.5{top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:top-1\\/2{top:50%}.tpl\\:top-2{top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:top-14{top:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:top-16{top:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:top-\\[104px\\]{top:104px}.tpl\\:top-full{top:100%}.tpl\\:-right-1{right:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:-right-2{right:calc(calc(var(--tpl-base-size) / 4) * -2)}.tpl\\:right-0{right:0}.tpl\\:right-1{right:calc(var(--tpl-base-size) / 4)}.tpl\\:right-1\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:right-2{right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:right-2\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:right-\\[320px\\]{right:320px}.tpl\\:right-\\[360px\\]{right:360px}.tpl\\:right-\\[680px\\]{right:680px}.tpl\\:bottom-0{bottom:0}.tpl\\:bottom-1{bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:bottom-10{bottom:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:bottom-full{bottom:100%}.tpl\\:-left-1{left:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:left-0{left:0}.tpl\\:left-1\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:left-1\\/2{left:50%}.tpl\\:left-2\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:left-3{left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:left-5{left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:left-12{left:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:z-10{z-index:10}.tpl\\:z-40{z-index:40}.tpl\\:z-50{z-index:50}.tpl\\:z-\\[4\\]{z-index:4}.tpl\\:z-\\[5\\]{z-index:5}.tpl\\:z-\\[9999\\]{z-index:9999}.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\\: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-4{margin-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:\\!mb-0{margin-bottom:0!important}.tpl\\:mb-1{margin-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:mb-1\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mb-2{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-2\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:mb-3{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mb-3\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mb-4{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mb-px{margin-bottom:1px}.tpl\\:-ml-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\\: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\\:flex{display:flex}.tpl\\:grid{display:grid}.tpl\\:hidden{display:none}.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-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-auto{height:auto}.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-\\[80vh\\]{max-height:80vh}.tpl\\:max-h-\\[90vh\\]{max-height:90vh}.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-\\[1\\.5em\\]{min-height:1.5em}.tpl\\:min-h-\\[1em\\]{min-height:1em}.tpl\\:min-h-\\[48px\\]{min-height:48px}.tpl\\:min-h-\\[60px\\]{min-height:60px}.tpl\\:min-h-\\[64px\\]{min-height:64px}.tpl\\:min-h-\\[68px\\]{min-height:68px}.tpl\\:min-h-\\[72px\\]{min-height:72px}.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\\/2{width:50%}.tpl\\:w-1\\/3{width:33.3333%}.tpl\\:w-1\\/4{width:25%}.tpl\\:w-2\\/3{width:66.6667%}.tpl\\:w-3\\/4{width:75%}.tpl\\:w-5\\/6{width:83.3333%}.tpl\\:w-7{width:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:w-8{width:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:w-9{width:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:w-10{width:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:w-12{width:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:w-16{width:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:w-20{width:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:w-28{width:calc(calc(var(--tpl-base-size) / 4) * 28)}.tpl\\:w-32{width:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:w-36{width:calc(calc(var(--tpl-base-size) / 4) * 36)}.tpl\\:w-40{width:calc(calc(var(--tpl-base-size) / 4) * 40)}.tpl\\:w-48{width:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:w-52{width:calc(calc(var(--tpl-base-size) / 4) * 52)}.tpl\\:w-56{width:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:w-72{width:calc(calc(var(--tpl-base-size) / 4) * 72)}.tpl\\:w-\\[280px\\]{width:280px}.tpl\\:w-\\[300px\\]{width:300px}.tpl\\:w-\\[320px\\]{width:320px}.tpl\\:w-\\[360px\\]{width:360px}.tpl\\:w-\\[400px\\]{width:400px}.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-\\[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\\(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\\:origin-top-right{transform-origin:100% 0}.tpl\\:-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-4{--tw-translate-x:calc(calc(var(--tpl-base-size) / 4) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-2{--tw-translate-y:calc(calc(var(--tpl-base-size) / 4) * -2);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-1{--tw-translate-y:calc(var(--tpl-base-size) / 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-\\[-8px\\]{--tw-translate-y:-8px;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-none{list-style-type:none}.tpl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.tpl\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.tpl\\:grid-cols-\\[1fr_auto_1fr\\]{grid-template-columns:1fr auto 1fr}.tpl\\:flex-col{flex-direction:column}.tpl\\:flex-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-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)))}.tpl\\:gap-x-1{column-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-x-3{column-gap:calc(calc(var(--tpl-base-size) / 4) * 3)}:where(.tpl\\:-space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * calc(1 - var(--tw-space-x-reverse)))}.tpl\\:gap-y-0\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:self-end{align-self:flex-end}.tpl\\:self-start{align-self:flex-start}.tpl\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tpl\\:overflow-auto{overflow:auto}.tpl\\:overflow-hidden{overflow:hidden}.tpl\\:overflow-x-auto{overflow-x:auto}.tpl\\:overflow-y-auto{overflow-y:auto}.tpl\\:rounded{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-\\[calc\\(var\\(--tpl-radius-sm\\)-2px\\)\\]{border-radius:calc(var(--tpl-radius-sm) - 2px)}.tpl\\:rounded-\\[var\\(--tpl-radius\\)\\]{border-radius:var(--tpl-radius)}.tpl\\:rounded-\\[var\\(--tpl-radius-lg\\)\\]{border-radius:var(--tpl-radius-lg)}.tpl\\:rounded-\\[var\\(--tpl-radius-md\\)\\]{border-radius:var(--tpl-radius-md)}.tpl\\:rounded-\\[var\\(--tpl-radius-sm\\)\\]{border-radius:var(--tpl-radius-sm)}.tpl\\:rounded-full{border-radius:3.40282e38px}.tpl\\:rounded-lg{border-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-md{border-radius:calc(.375 * var(--tpl-base-size))}.tpl\\:rounded-sm{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-xl{border-radius:calc(.75 * var(--tpl-base-size))}.tpl\\:rounded-l-\\[var\\(--tpl-radius-sm\\)\\]{border-top-left-radius:var(--tpl-radius-sm);border-bottom-left-radius:var(--tpl-radius-sm)}.tpl\\:rounded-tl-lg{border-top-left-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-r-\\[var\\(--tpl-radius-sm\\)\\]{border-top-right-radius:var(--tpl-radius-sm);border-bottom-right-radius:var(--tpl-radius-sm)}.tpl\\:rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.tpl\\:border{border-style:var(--tw-border-style);border-width:1px}.tpl\\:border-0{border-style:var(--tw-border-style);border-width:0}.tpl\\:border-2{border-style:var(--tw-border-style);border-width:2px}.tpl\\:border-x-0{border-inline-style:var(--tw-border-style);border-inline-width:0}.tpl\\:border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.tpl\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.tpl\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.tpl\\:border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.tpl\\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.tpl\\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.tpl\\:border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.tpl\\:border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.tpl\\:border-dashed{--tw-border-style:dashed;border-style:dashed}.tpl\\:border-none{--tw-border-style:none;border-style:none}.tpl\\:border-\\[var\\(--tpl-bg\\)\\]{border-color:var(--tpl-bg)}.tpl\\:border-\\[var\\(--tpl-border\\)\\]{border-color:var(--tpl-border)}.tpl\\:border-\\[var\\(--tpl-border-light\\)\\]{border-color:var(--tpl-border-light)}.tpl\\:border-\\[var\\(--tpl-danger\\)\\]{border-color:var(--tpl-danger)}.tpl\\:border-\\[var\\(--tpl-primary\\)\\]{border-color:var(--tpl-primary)}.tpl\\:border-\\[var\\(--tpl-primary-hover\\)\\]{border-color:var(--tpl-primary-hover)}.tpl\\:border-\\[var\\(--tpl-warning\\)\\]{border-color:var(--tpl-warning)}.tpl\\:border-transparent{border-color:#0000}.tpl\\:border-l-\\[var\\(--tpl-primary\\)\\]{border-left-color:var(--tpl-primary)}.tpl\\:border-l-transparent{border-left-color:#0000}.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:var(--tpl-bg)}@supports (color:color-mix(in lab,red,red)){.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:color-mix(in srgb,var(--tpl-bg) 90%,transparent)}}.tpl\\:bg-\\[var\\(--tpl-bg\\)\\]{background-color:var(--tpl-bg)}.tpl\\:bg-\\[var\\(--tpl-bg-active\\)\\]{background-color:var(--tpl-bg-active)}.tpl\\:bg-\\[var\\(--tpl-bg-elevated\\)\\]{background-color:var(--tpl-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-bg-hover\\)\\]{background-color:var(--tpl-bg-hover)}.tpl\\:bg-\\[var\\(--tpl-border\\)\\]{background-color:var(--tpl-border)}.tpl\\:bg-\\[var\\(--tpl-canvas-bg\\)\\]{background-color:var(--tpl-canvas-bg)}.tpl\\:bg-\\[var\\(--tpl-chrome-bg-elevated\\)\\]{background-color:var(--tpl-chrome-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-chrome-primary-light\\)\\]{background-color:var(--tpl-chrome-primary-light)}.tpl\\:bg-\\[var\\(--tpl-danger\\)\\]{background-color:var(--tpl-danger)}.tpl\\:bg-\\[var\\(--tpl-danger-light\\)\\]{background-color:var(--tpl-danger-light)}.tpl\\:bg-\\[var\\(--tpl-primary\\)\\]{background-color:var(--tpl-primary)}.tpl\\:bg-\\[var\\(--tpl-primary-light\\)\\]{background-color:var(--tpl-primary-light)}.tpl\\:bg-\\[var\\(--tpl-warning-light\\)\\]{background-color:var(--tpl-warning-light)}.tpl\\:bg-black\\/30{background-color:oklab(0% none none/.3)}.tpl\\:bg-black\\/40{background-color:oklab(0% none none/.4)}.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-1{padding-top:calc(var(--tpl-base-size) / 4)}.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-6{padding-right:calc(calc(var(--tpl-base-size) / 4) * 6)}.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-2{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.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{padding-left:calc(calc(var(--tpl-base-size) / 4) * 2)}.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-4xl{font-size:calc(2.25 * var(--tpl-base-size));line-height:var(--tw-leading,calc(2.5 / 2.25))}.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-\\[8px\\]{font-size:8px}.tpl\\:text-\\[9px\\]{font-size:9px}.tpl\\:text-\\[10px\\]{font-size:10px}.tpl\\:text-\\[11px\\]{font-size:11px}.tpl\\:text-\\[12px\\]{font-size:12px}.tpl\\:text-\\[13px\\]{font-size:13px}.tpl\\:text-\\[length\\:inherit\\]{font-size: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-all{word-break:break-all}.tpl\\:text-ellipsis{text-overflow:ellipsis}.tpl\\:whitespace-nowrap{white-space:nowrap}.tpl\\:whitespace-pre-wrap{white-space:pre-wrap}.tpl\\:text-\\[var\\(--tpl-bg\\)\\]{color:var(--tpl-bg)}.tpl\\:text-\\[var\\(--tpl-border\\)\\]{color:var(--tpl-border)}.tpl\\:text-\\[var\\(--tpl-border-light\\)\\]{color:var(--tpl-border-light)}.tpl\\:text-\\[var\\(--tpl-chrome-text-dim\\)\\]{color:var(--tpl-chrome-text-dim)}.tpl\\:text-\\[var\\(--tpl-chrome-text-muted\\)\\]{color:var(--tpl-chrome-text-muted)}.tpl\\:text-\\[var\\(--tpl-danger\\)\\]{color:var(--tpl-danger)}.tpl\\:text-\\[var\\(--tpl-on-primary\\)\\]{color:var(--tpl-on-primary)}.tpl\\:text-\\[var\\(--tpl-primary\\)\\]{color:var(--tpl-primary)}.tpl\\:text-\\[var\\(--tpl-primary-hover\\)\\]{color:var(--tpl-primary-hover)}.tpl\\:text-\\[var\\(--tpl-success\\)\\]{color:var(--tpl-success)}.tpl\\:text-\\[var\\(--tpl-success\\,var\\(--tpl-primary\\)\\)\\]{color:var(--tpl-success,var(--tpl-primary))}.tpl\\:text-\\[var\\(--tpl-text\\)\\]{color:var(--tpl-text)}.tpl\\:text-\\[var\\(--tpl-text-dim\\)\\]{color:var(--tpl-text-dim)}.tpl\\:text-\\[var\\(--tpl-text-muted\\)\\]{color:var(--tpl-text-muted)}.tpl\\:text-\\[var\\(--tpl-warning\\)\\]{color:var(--tpl-warning)}.tpl\\:text-white{color:#fff}.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\\: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}@media(hover:hover){.tpl\\:group-hover\\:bg-black\\/40:is(:where(.tpl\\:group):hover *){background-color:oklab(0% none none/.4)}.tpl\\:group-hover\\:opacity-100:is(:where(.tpl\\:group):hover *){opacity:1}}.tpl\\:placeholder\\:text-\\[var\\(--tpl-text-dim\\)\\]::placeholder{color:var(--tpl-text-dim)}.tpl\\:first\\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.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\\: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-90:hover{opacity:.9}.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-none:focus-visible{--tw-outline-style:none;outline-style:none}.tpl\\:active\\:cursor-grabbing:active{cursor:grabbing}.tpl\\:active\\:bg-\\[var\\(--tpl-bg-active\\)\\]:active{background-color:var(--tpl-bg-active)}.tpl\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.tpl\\:disabled\\:opacity-30:disabled{opacity:.3}.tpl\\:disabled\\:opacity-40:disabled{opacity:.4}.tpl\\:disabled\\:opacity-50:disabled{opacity:.5}@media(hover:hover){.tpl\\:disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}@layer base,components;.tpl{--tpl-base-size:var(--tpl-user-base-size,16px);--tpl-bg:var(--tpl-user-bg,oklch(99.5% .002 60));--tpl-bg-elevated:var(--tpl-user-bg-elevated,oklch(98% .004 60));--tpl-bg-hover:var(--tpl-user-bg-hover,oklch(96% .006 60));--tpl-bg-active:var(--tpl-user-bg-active,oklch(93.5% .008 60));--tpl-border:var(--tpl-user-border,oklch(92% .006 60));--tpl-border-light:var(--tpl-user-border-light,oklch(86% .01 60));--tpl-text:var(--tpl-user-text,oklch(18% .01 60));--tpl-text-muted:var(--tpl-user-text-muted,oklch(50% .015 60));--tpl-text-dim:var(--tpl-user-text-dim,oklch(68% .012 60));--tpl-primary:var(--tpl-user-primary,oklch(70% .16 55));--tpl-primary-hover:var(--tpl-user-primary-hover,oklch(63% .17 55));--tpl-primary-light:var(--tpl-user-primary-light,oklch(95% .04 55));--tpl-on-primary:var(--tpl-user-on-primary,var(--tpl-bg));--tpl-secondary:var(--tpl-user-secondary,oklch(60% .118 184.71));--tpl-secondary-hover:var(--tpl-user-secondary-hover,oklch(53.2% .105 186.39));--tpl-secondary-light:var(--tpl-user-secondary-light,oklch(93.8% .03 186.82));--tpl-success:var(--tpl-user-success,oklch(62.8% .194 155.1));--tpl-success-light:var(--tpl-user-success-light,oklch(93.6% .043 163.51));--tpl-warning:var(--tpl-user-warning,oklch(76.9% .168 70.08));--tpl-warning-light:var(--tpl-user-warning-light,oklch(95% .038 73.59));--tpl-danger:var(--tpl-user-danger,oklch(63.7% .237 25.33));--tpl-danger-light:var(--tpl-user-danger-light,oklch(93.6% .032 17.72));--tpl-canvas-bg:var(--tpl-user-canvas-bg,oklch(97.5% .003 60));--tpl-chrome-bg-elevated:var(--tpl-bg-elevated);--tpl-chrome-border-light:var(--tpl-border-light);--tpl-chrome-text:var(--tpl-text);--tpl-chrome-text-muted:var(--tpl-text-muted);--tpl-chrome-text-dim:var(--tpl-text-dim);--tpl-chrome-primary-light:var(--tpl-primary-light);--tpl-chrome-primary-hover:var(--tpl-primary-hover);--tpl-radius:var(--tpl-user-radius,10px);--tpl-radius-sm:var(--tpl-user-radius-sm,7px);--tpl-radius-lg:var(--tpl-user-radius-lg,14px);--tpl-font-family:var(--tpl-user-font-family,\"Geist\", ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");--tpl-shadow-sm:var(--tpl-user-shadow-sm,0 1px 2px #00000008);--tpl-shadow:var(--tpl-user-shadow,0 1px 2px #0000000a, 0 1px 3px #00000008);--tpl-shadow-md:var(--tpl-user-shadow-md,0 2px 8px #0000000f, 0 1px 3px #0000000a);--tpl-shadow-lg:var(--tpl-user-shadow-lg,0 4px 16px #00000014, 0 2px 6px #0000000a);--tpl-shadow-xl:var(--tpl-user-shadow-xl,0 8px 32px #0000001a, 0 4px 12px #0000000f);--tpl-overlay:var(--tpl-user-overlay,#00000080);--tpl-ring:var(--tpl-user-ring,0 0 0 3px var(--tpl-primary-light));--tpl-transition:var(--tpl-user-transition,.12s cubic-bezier(.16, 1, .3, 1))}.tpl[data-tpl-theme=dark]{--tpl-bg:var(--tpl-user-dark-bg,oklch(16% .005 60));--tpl-bg-elevated:var(--tpl-user-dark-bg-elevated,oklch(21% .006 60));--tpl-bg-hover:var(--tpl-user-dark-bg-hover,oklch(26% .007 60));--tpl-bg-active:var(--tpl-user-dark-bg-active,oklch(30% .008 60));--tpl-border:var(--tpl-user-dark-border,oklch(30% .006 60));--tpl-border-light:var(--tpl-user-dark-border-light,oklch(38% .008 60));--tpl-text:var(--tpl-user-dark-text,oklch(93% .005 60));--tpl-text-muted:var(--tpl-user-dark-text-muted,oklch(65% .01 60));--tpl-text-dim:var(--tpl-user-dark-text-dim,oklch(50% .008 60));--tpl-primary:var(--tpl-user-dark-primary,oklch(73% .15 55));--tpl-primary-hover:var(--tpl-user-dark-primary-hover,oklch(78% .14 55));--tpl-primary-light:var(--tpl-user-dark-primary-light,oklch(28% .05 55));--tpl-secondary:var(--tpl-user-dark-secondary,oklch(63% .11 184.71));--tpl-secondary-hover:var(--tpl-user-dark-secondary-hover,oklch(68% .1 186.39));--tpl-secondary-light:var(--tpl-user-dark-secondary-light,oklch(25% .03 186.82));--tpl-success:var(--tpl-user-dark-success,oklch(65% .18 155.1));--tpl-success-light:var(--tpl-user-dark-success-light,oklch(25% .04 163.51));--tpl-warning:var(--tpl-user-dark-warning,oklch(78% .16 70.08));--tpl-warning-light:var(--tpl-user-dark-warning-light,oklch(28% .04 73.59));--tpl-danger:var(--tpl-user-dark-danger,oklch(65% .22 25.33));--tpl-danger-light:var(--tpl-user-dark-danger-light,oklch(25% .04 17.72));--tpl-canvas-bg:var(--tpl-user-dark-canvas-bg,oklch(10% .003 60));--tpl-shadow-sm:var(--tpl-user-dark-shadow-sm,0 1px 2px #0003);--tpl-shadow:var(--tpl-user-dark-shadow,0 1px 2px #0000004d, 0 1px 3px #0003);--tpl-shadow-md:var(--tpl-user-dark-shadow-md,0 2px 8px #00000059, 0 1px 3px #00000040);--tpl-shadow-lg:var(--tpl-user-dark-shadow-lg,0 4px 16px #0006, 0 2px 6px #0000004d);--tpl-shadow-xl:var(--tpl-user-dark-shadow-xl,0 8px 32px #00000080, 0 4px 12px #00000059);--tpl-overlay:var(--tpl-user-dark-overlay,#000000b3);--tpl-ring:var(--tpl-user-dark-ring,0 0 0 3px var(--tpl-primary-light))}.tpl[data-tpl-theme=dark] .tpl-block-content{--tpl-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);flex-direction:column;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-pulse{animation:2s infinite tpl-pulse}.tpl-spinner{animation:1s linear infinite tpl-spin}@keyframes tpl-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes tpl-scale-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@keyframes tpl-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.tpl-fade-in{animation:.2s cubic-bezier(.16,1,.3,1) tpl-fade-in}.tpl-scale-in{animation:.15s cubic-bezier(.16,1,.3,1) tpl-scale-in}.tpl-shimmer{background:linear-gradient(90deg,var(--tpl-bg-hover) 25%,var(--tpl-bg-active) 50%,var(--tpl-bg-hover) 75%);background-size:200% 100%;animation:1.5s linear infinite tpl-shimmer}.tpl-preview-mode .tpl-block--idle,.tpl-preview-mode .tpl-block--idle:hover,.tpl-preview-mode .tpl-block--selected{box-shadow:none!important;outline:none!important}.tpl-preview-mode .tpl-block{cursor:default;pointer-events:none}.tpl-preview-mode .tpl-block-actions,.tpl-preview-mode .tpl-block-hidden-overlay,.tpl-preview-mode .tpl-condition-toggle,.tpl-preview-mode .tpl-comment-indicator,.tpl-preview-mode .tpl-collab-lock{display:none}.tpl-ghost{border:none!important;border-top:2px dotted var(--tpl-primary)!important;background-color:#0000!important;justify-content:center!important;align-items:center!important;width:100%!important;height:0!important;min-height:0!important;max-height:0!important;margin:12px 0!important;padding:0!important;display:flex!important;position:relative!important;overflow:visible!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost{border-top:2px dotted color-mix(in srgb,var(--tpl-primary) 50%,transparent)!important}}.tpl-ghost{box-shadow:none!important;border-radius:0!important}.tpl-ghost>*{display:none!important}.tpl-ghost:before{content:var(--tpl-drop-text,\"Drop here\");white-space:nowrap!important;color:var(--tpl-primary)!important;background-color:var(--tpl-primary)!important;padding:2px 8px!important;font-size:12px!important;font-weight:500!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost:before{background-color:color-mix(in srgb,var(--tpl-primary) 15%,var(--tpl-bg))!important}}.tpl-ghost:before{border-radius:var(--tpl-radius-sm)!important;box-shadow:none!important}.tpl-canvas-empty .tpl-ghost{display:none!important}.tpl-dragging{opacity:.8;box-shadow:var(--tpl-shadow-xl)}.sortable-fallback{transition:none!important;animation:none!important}.tpl-block--lifted{outline:2px dashed var(--tpl-primary)!important;outline-offset:2px!important;box-shadow:var(--tpl-shadow-xl),0 0 0 4px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-block--lifted{box-shadow:var(--tpl-shadow-xl),0 0 0 4px color-mix(in srgb,var(--tpl-primary) 20%,transparent)!important}}.tpl-block--lifted{transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1);transform:scale(1.01)}.tpl-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-text-toolbar-btn{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8);cursor:pointer;border-radius:calc(.25 * var(--tpl-base-size));--tw-border-style:none;transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s);color:var(--tpl-text);background-color:#0000;border-style:none;justify-content:center;align-items:center;padding:0;display:flex}.tpl-text-toolbar-btn:hover{background-color:var(--tpl-bg-active)}.tpl-text-toolbar-btn--active{box-shadow:inset 0 0 0 1.5px var(--tpl-primary-hover);background-color:var(--tpl-primary)!important;color:var(--tpl-bg)!important}.tpl-text-toolbar-btn--active svg{stroke-width:2.75px}.tpl-text-content,.tpl-text-editable .tiptap{--tw-outline-style:none;outline-style:none}.tpl-text-editable{border-radius:calc(.25 * var(--tpl-base-size));border-style:var(--tw-border-style);--tw-border-style:dashed;padding:calc(calc(var(--tpl-base-size) / 4) * 2);border-style:dashed;border-width:1px;border-color:var(--tpl-primary);min-height:1.5em}.tpl-text-content p,.tpl-text-editable .tiptap p{margin:0;margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}:is(.tpl-text-content p,.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-block:calc(calc(var(--tpl-base-size) / 4) * 2);padding-left:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl-text-content li,.tpl-text-editable .tiptap li{margin-block:calc(var(--tpl-base-size) / 4)}.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)}.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);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-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-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.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}@property --tpl-comet-angle{syntax:\"<angle>\";inherits:false;initial-value:0deg}@property --tpl-comet-start{syntax:\"<percentage>\";inherits:false;initial-value:100%}@keyframes tpl-ai-comet{0%{--tpl-comet-angle:0deg;--tpl-comet-start:100%}1%{--tpl-comet-angle:24deg;--tpl-comet-start:88%}5%{--tpl-comet-angle:120deg;--tpl-comet-start:60%}25%{--tpl-comet-angle:600deg;--tpl-comet-start:60%}33%{--tpl-comet-angle:720deg;--tpl-comet-start:100%}to{--tpl-comet-angle:720deg;--tpl-comet-start:100%}}.tpl-ai-btn--idle{background-color:var(--tpl-primary-light);color:var(--tpl-text);box-shadow:none;z-index:0;position:relative}.tpl-ai-btn--idle:before{content:\"\";border-radius:inherit;background:conic-gradient(from var(--tpl-comet-angle),transparent 0%,transparent var(--tpl-comet-start),var(--tpl-primary) 80%,var(--tpl-primary) 90%,var(--tpl-primary) 97%,transparent 100%);padding:2px;position:absolute;inset:-2px}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--idle:before{background:conic-gradient(from var(--tpl-comet-angle),transparent 0%,transparent var(--tpl-comet-start),color-mix(in srgb,var(--tpl-primary) 40%,transparent) 80%,var(--tpl-primary) 90%,var(--tpl-primary) 97%,transparent 100%)}}.tpl-ai-btn--idle:before{z-index:-1;pointer-events:none;animation:20s linear 3s infinite tpl-ai-comet;-webkit-mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);-webkit-mask-position:0 0,0 0;mask-position:0 0,0 0;-webkit-mask-size:auto,auto;mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}.tpl-ai-btn--idle:hover{background-color:var(--tpl-primary);color:var(--tpl-on-primary);transform:translateY(-1px);box-shadow:0 0 0 3px var(--tpl-primary),0 4px 16px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--idle:hover{box-shadow:0 0 0 3px color-mix(in srgb,var(--tpl-primary) 20%,transparent),0 4px 16px color-mix(in srgb,var(--tpl-primary) 30%,transparent)!important}}.tpl-ai-btn--idle:hover:before{animation:none}.tpl-ai-btn--active{background-color:var(--tpl-primary-light);color:var(--tpl-primary-hover);border:1px solid var(--tpl-primary)}.tpl-ai-btn--active .tpl-ai-btn-icon{fill:var(--tpl-primary)}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--active .tpl-ai-btn-icon{fill:color-mix(in srgb,var(--tpl-primary) 25%,transparent)}}.tpl-ai-btn--active:hover{background-color:var(--tpl-primary-light)}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--active:hover{background-color:color-mix(in srgb,var(--tpl-primary-light) 80%,var(--tpl-primary))}}.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,.tpl-ai-btn--idle:before{animation:none}.tpl-shimmer{background:var(--tpl-bg-hover)}.tpl *,.tpl :before,.tpl :after{transition-duration:.01ms!important}.tpl-spinner{animation:1s linear infinite tpl-spin}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}.tpl-restore-btn-enter-active[data-v-9b8b235c]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-restore-btn-leave-active[data-v-9b8b235c]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-restore-btn-enter-from[data-v-9b8b235c],.tpl-restore-btn-leave-to[data-v-9b8b235c]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-restore-btn-enter-to[data-v-9b8b235c],.tpl-restore-btn-leave-from[data-v-9b8b235c]{opacity:1;transform:translateY(0) scale(1)}.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-delete-btn:hover{color:var(--tpl-danger)!important}.tpl-saved-block-rename-btn:hover{color:var(--tpl-primary)!important}.tpl-comments-slide-enter-active[data-v-40431726]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-comments-slide-leave-active[data-v-40431726]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-comments-input-wrapper[data-v-40431726]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-40431726]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-40431726]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-40431726]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-40431726]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-40431726]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-40431726]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-40431726]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-40431726],.tpl-comment-reply-card[data-v-40431726]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-40431726],.tpl-resolve-leave-active[data-v-40431726]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-40431726],.tpl-resolve-leave-to[data-v-40431726]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-40431726]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-40431726]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-40431726],.tpl-replies-leave-active[data-v-40431726]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-40431726],.tpl-replies-leave-to[data-v-40431726]{opacity:0;transform:translateY(-4px)}.tpl-ai-slide-enter-active[data-v-82649117]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-ai-slide-leave-active[data-v-82649117]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-ai-input-wrapper[data-v-82649117]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-82649117]:not(:disabled):hover{transform:scale(1.05)}.tpl-suggestion-btn[data-v-82649117]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-design-slide-enter-active[data-v-9a44c153]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-design-slide-leave-active[data-v-9a44c153]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-design-prompt-input[data-v-9a44c153]:focus{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-design-dropzone[data-v-9a44c153]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-scoring-slide-enter-active[data-v-7da30b57]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-scoring-slide-leave-active[data-v-7da30b57]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-scoring-fix-btn[data-v-7da30b57]:not(:disabled):hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-ai-feature-menu-item[data-v-bf59b787]:hover{background-color:var(--tpl-bg-hover)!important}\n/*$vite$:1*/", Cd = null;
|
|
5377
|
-
function
|
|
5378
|
-
if (
|
|
5399
|
+
var wd = "@import\"https://fonts.bunny.net/css?family=geist:400,500,600\";.tpl-loading-track[data-v-c3d50014]{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-c3d50014 3s ease-in-out infinite}@keyframes tpl-loading-flow-c3d50014{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.tpl-loading-track-fill[data-v-c3d50014]{animation:none;background-position:50% 0}}.tpl-block--idle[data-v-096f1d37]{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-096f1d37]: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-096f1d37]{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-096f1d37]{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-096f1d37]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-096f1d37]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-096f1d37]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-096f1d37]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-096f1d37]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-096f1d37]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-096f1d37]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-table-editable[data-v-963ac422] th[contenteditable],.tpl-table-editable[data-v-963ac422] td[contenteditable]{outline:none;cursor:text;min-width:calc(2 * var(--tpl-base-size))}.tpl-table-editable[data-v-963ac422] th[contenteditable]:empty:before,.tpl-table-editable[data-v-963ac422] td[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--tpl-text-dim);pointer-events:none}.tpl-table-editable[data-v-963ac422] th[contenteditable]:focus,.tpl-table-editable[data-v-963ac422] td[contenteditable]:focus{outline:2px solid var(--tpl-primary);outline-offset:-2px;border-radius:1px}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-canvas--dark-mode[data-v-da730df5] .tpl-block-content:not(.tpl-block-content *){filter:invert(1) hue-rotate(180deg)}[data-v-da730df5] .tpl-block-content{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-da730df5] .tpl-block-content img{filter:invert(1) hue-rotate(180deg)}.tpl-pulse-fill[data-v-c289916a]{animation:tpl-field-pulse-c289916a 1s ease-out}@keyframes tpl-field-pulse-c289916a{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-c289916a]{animation:none}}input[type=number][data-v-69591c1e]::-webkit-outer-spin-button,input[type=number][data-v-69591c1e]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-69591c1e]{-moz-appearance:textfield}.tpl-collapsible[data-v-c0ea5f03]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-c0ea5f03]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-c0ea5f03]{overflow:hidden}.tpl-icon-enter-active[data-v-632aa74f],.tpl-icon-leave-active[data-v-632aa74f]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-632aa74f],.tpl-icon-leave-to[data-v-632aa74f]{opacity:0;transform:scale(.8)}.tpl-dark-mode-toggle[data-v-632aa74f]:hover{background-color:var(--tpl-bg-hover)}.tpl-dark-mode-toggle[data-v-632aa74f]:active{transform:scale(.92)}.tpl-icon-enter-active[data-v-eef7b2ca],.tpl-icon-leave-active[data-v-eef7b2ca]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-eef7b2ca],.tpl-icon-leave-to[data-v-eef7b2ca]{opacity:0;transform:scale(.8)}.tpl-preview-toggle[data-v-eef7b2ca]:hover{background-color:var(--tpl-bg-hover)}.tpl-preview-toggle[data-v-eef7b2ca]:active{transform:scale(.92)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tpl-comet-angle:0deg;--tpl-comet-start:100%}}}@layer theme{:root,:host{--tpl-radius-sm:calc(.25 * var(--tpl-base-size));--tpl-radius-md:calc(.375 * var(--tpl-base-size));--tpl-radius-lg:calc(.5 * var(--tpl-base-size));--tpl-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--tpl-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tpl-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tpl-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--tpl-radius:calc(.25 * var(--tpl-base-size))}}.tpl\\:pointer-events-auto{pointer-events:auto}.tpl\\:pointer-events-none{pointer-events:none}.tpl\\:invisible{visibility:hidden}.tpl\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl\\:absolute{position:absolute}.tpl\\:fixed{position:fixed}.tpl\\:relative{position:relative}.tpl\\:sticky{position:sticky}.tpl\\:inset-0{inset:0}.tpl\\:inset-x-0{inset-inline:0}.tpl\\:inset-y-1{inset-block:calc(var(--tpl-base-size) / 4)}.tpl\\:-top-0\\.5{top:calc(calc(var(--tpl-base-size) / 4) * -.5)}.tpl\\:-top-1{top:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:top-0{top:0}.tpl\\:top-1{top:calc(var(--tpl-base-size) / 4)}.tpl\\:top-1\\.5{top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:top-1\\/2{top:50%}.tpl\\:top-2{top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:top-14{top:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:top-16{top:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:top-\\[104px\\]{top:104px}.tpl\\:top-full{top:100%}.tpl\\:-right-1{right:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:-right-2{right:calc(calc(var(--tpl-base-size) / 4) * -2)}.tpl\\:right-0{right:0}.tpl\\:right-1{right:calc(var(--tpl-base-size) / 4)}.tpl\\:right-1\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:right-2{right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:right-2\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:right-\\[320px\\]{right:320px}.tpl\\:right-\\[360px\\]{right:360px}.tpl\\:right-\\[680px\\]{right:680px}.tpl\\:bottom-0{bottom:0}.tpl\\:bottom-1{bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:bottom-10{bottom:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:bottom-full{bottom:100%}.tpl\\:-left-1{left:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:left-0{left:0}.tpl\\:left-1\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:left-1\\/2{left:50%}.tpl\\:left-2\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:left-3{left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:left-5{left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:left-12{left:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:z-10{z-index:10}.tpl\\:z-40{z-index:40}.tpl\\:z-50{z-index:50}.tpl\\:z-\\[4\\]{z-index:4}.tpl\\:z-\\[5\\]{z-index:5}.tpl\\:z-\\[9999\\]{z-index:9999}.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\\: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-4{margin-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:\\!mb-0{margin-bottom:0!important}.tpl\\:mb-1{margin-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:mb-1\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mb-2{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-2\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:mb-3{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mb-3\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mb-4{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mb-px{margin-bottom:1px}.tpl\\:-ml-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\\: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\\:flex{display:flex}.tpl\\:grid{display:grid}.tpl\\:hidden{display:none}.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-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-auto{height:auto}.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-\\[80vh\\]{max-height:80vh}.tpl\\:max-h-\\[90vh\\]{max-height:90vh}.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-\\[1\\.5em\\]{min-height:1.5em}.tpl\\:min-h-\\[1em\\]{min-height:1em}.tpl\\:min-h-\\[48px\\]{min-height:48px}.tpl\\:min-h-\\[60px\\]{min-height:60px}.tpl\\:min-h-\\[64px\\]{min-height:64px}.tpl\\:min-h-\\[68px\\]{min-height:68px}.tpl\\:min-h-\\[72px\\]{min-height:72px}.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\\/2{width:50%}.tpl\\:w-1\\/3{width:33.3333%}.tpl\\:w-1\\/4{width:25%}.tpl\\:w-2\\/3{width:66.6667%}.tpl\\:w-3\\/4{width:75%}.tpl\\:w-5\\/6{width:83.3333%}.tpl\\:w-7{width:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:w-8{width:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:w-9{width:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:w-10{width:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:w-12{width:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:w-16{width:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:w-20{width:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:w-28{width:calc(calc(var(--tpl-base-size) / 4) * 28)}.tpl\\:w-32{width:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:w-36{width:calc(calc(var(--tpl-base-size) / 4) * 36)}.tpl\\:w-40{width:calc(calc(var(--tpl-base-size) / 4) * 40)}.tpl\\:w-48{width:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:w-52{width:calc(calc(var(--tpl-base-size) / 4) * 52)}.tpl\\:w-56{width:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:w-72{width:calc(calc(var(--tpl-base-size) / 4) * 72)}.tpl\\:w-\\[280px\\]{width:280px}.tpl\\:w-\\[300px\\]{width:300px}.tpl\\:w-\\[320px\\]{width:320px}.tpl\\:w-\\[360px\\]{width:360px}.tpl\\:w-\\[400px\\]{width:400px}.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-\\[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\\(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\\:origin-top-right{transform-origin:100% 0}.tpl\\:-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-4{--tw-translate-x:calc(calc(var(--tpl-base-size) / 4) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-2{--tw-translate-y:calc(calc(var(--tpl-base-size) / 4) * -2);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-1{--tw-translate-y:calc(var(--tpl-base-size) / 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-\\[-8px\\]{--tw-translate-y:-8px;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-none{list-style-type:none}.tpl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.tpl\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.tpl\\:grid-cols-\\[1fr_auto_1fr\\]{grid-template-columns:1fr auto 1fr}.tpl\\:flex-col{flex-direction:column}.tpl\\:flex-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-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)))}.tpl\\:gap-x-1{column-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-x-3{column-gap:calc(calc(var(--tpl-base-size) / 4) * 3)}:where(.tpl\\:-space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * calc(1 - var(--tw-space-x-reverse)))}.tpl\\:gap-y-0\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:self-end{align-self:flex-end}.tpl\\:self-start{align-self:flex-start}.tpl\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tpl\\:overflow-auto{overflow:auto}.tpl\\:overflow-hidden{overflow:hidden}.tpl\\:overflow-x-auto{overflow-x:auto}.tpl\\:overflow-y-auto{overflow-y:auto}.tpl\\:rounded{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-\\[calc\\(var\\(--tpl-radius-sm\\)-2px\\)\\]{border-radius:calc(var(--tpl-radius-sm) - 2px)}.tpl\\:rounded-\\[var\\(--tpl-radius\\)\\]{border-radius:var(--tpl-radius)}.tpl\\:rounded-\\[var\\(--tpl-radius-lg\\)\\]{border-radius:var(--tpl-radius-lg)}.tpl\\:rounded-\\[var\\(--tpl-radius-md\\)\\]{border-radius:var(--tpl-radius-md)}.tpl\\:rounded-\\[var\\(--tpl-radius-sm\\)\\]{border-radius:var(--tpl-radius-sm)}.tpl\\:rounded-full{border-radius:3.40282e38px}.tpl\\:rounded-lg{border-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-md{border-radius:calc(.375 * var(--tpl-base-size))}.tpl\\:rounded-sm{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-xl{border-radius:calc(.75 * var(--tpl-base-size))}.tpl\\:rounded-l-\\[var\\(--tpl-radius-sm\\)\\]{border-top-left-radius:var(--tpl-radius-sm);border-bottom-left-radius:var(--tpl-radius-sm)}.tpl\\:rounded-tl-lg{border-top-left-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-r-\\[var\\(--tpl-radius-sm\\)\\]{border-top-right-radius:var(--tpl-radius-sm);border-bottom-right-radius:var(--tpl-radius-sm)}.tpl\\:rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.tpl\\:border{border-style:var(--tw-border-style);border-width:1px}.tpl\\:border-0{border-style:var(--tw-border-style);border-width:0}.tpl\\:border-2{border-style:var(--tw-border-style);border-width:2px}.tpl\\:border-x-0{border-inline-style:var(--tw-border-style);border-inline-width:0}.tpl\\:border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.tpl\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.tpl\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.tpl\\:border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.tpl\\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.tpl\\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.tpl\\:border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.tpl\\:border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.tpl\\:border-dashed{--tw-border-style:dashed;border-style:dashed}.tpl\\:border-none{--tw-border-style:none;border-style:none}.tpl\\:border-\\[var\\(--tpl-bg\\)\\]{border-color:var(--tpl-bg)}.tpl\\:border-\\[var\\(--tpl-border\\)\\]{border-color:var(--tpl-border)}.tpl\\:border-\\[var\\(--tpl-border-light\\)\\]{border-color:var(--tpl-border-light)}.tpl\\:border-\\[var\\(--tpl-danger\\)\\]{border-color:var(--tpl-danger)}.tpl\\:border-\\[var\\(--tpl-primary\\)\\]{border-color:var(--tpl-primary)}.tpl\\:border-\\[var\\(--tpl-primary-hover\\)\\]{border-color:var(--tpl-primary-hover)}.tpl\\:border-\\[var\\(--tpl-warning\\)\\]{border-color:var(--tpl-warning)}.tpl\\:border-transparent{border-color:#0000}.tpl\\:border-l-\\[var\\(--tpl-primary\\)\\]{border-left-color:var(--tpl-primary)}.tpl\\:border-l-transparent{border-left-color:#0000}.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:var(--tpl-bg)}@supports (color:color-mix(in lab,red,red)){.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:color-mix(in srgb,var(--tpl-bg) 90%,transparent)}}.tpl\\:bg-\\[var\\(--tpl-bg\\)\\]{background-color:var(--tpl-bg)}.tpl\\:bg-\\[var\\(--tpl-bg-active\\)\\]{background-color:var(--tpl-bg-active)}.tpl\\:bg-\\[var\\(--tpl-bg-elevated\\)\\]{background-color:var(--tpl-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-bg-hover\\)\\]{background-color:var(--tpl-bg-hover)}.tpl\\:bg-\\[var\\(--tpl-border\\)\\]{background-color:var(--tpl-border)}.tpl\\:bg-\\[var\\(--tpl-canvas-bg\\)\\]{background-color:var(--tpl-canvas-bg)}.tpl\\:bg-\\[var\\(--tpl-chrome-bg-elevated\\)\\]{background-color:var(--tpl-chrome-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-chrome-primary-light\\)\\]{background-color:var(--tpl-chrome-primary-light)}.tpl\\:bg-\\[var\\(--tpl-danger\\)\\]{background-color:var(--tpl-danger)}.tpl\\:bg-\\[var\\(--tpl-danger-light\\)\\]{background-color:var(--tpl-danger-light)}.tpl\\:bg-\\[var\\(--tpl-primary\\)\\]{background-color:var(--tpl-primary)}.tpl\\:bg-\\[var\\(--tpl-primary-light\\)\\]{background-color:var(--tpl-primary-light)}.tpl\\:bg-\\[var\\(--tpl-warning-light\\)\\]{background-color:var(--tpl-warning-light)}.tpl\\:bg-black\\/30{background-color:oklab(0% none none/.3)}.tpl\\:bg-black\\/40{background-color:oklab(0% none none/.4)}.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-1{padding-top:calc(var(--tpl-base-size) / 4)}.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-6{padding-right:calc(calc(var(--tpl-base-size) / 4) * 6)}.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-2{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.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{padding-left:calc(calc(var(--tpl-base-size) / 4) * 2)}.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-4xl{font-size:calc(2.25 * var(--tpl-base-size));line-height:var(--tw-leading,calc(2.5 / 2.25))}.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-\\[8px\\]{font-size:8px}.tpl\\:text-\\[9px\\]{font-size:9px}.tpl\\:text-\\[10px\\]{font-size:10px}.tpl\\:text-\\[11px\\]{font-size:11px}.tpl\\:text-\\[12px\\]{font-size:12px}.tpl\\:text-\\[13px\\]{font-size:13px}.tpl\\:text-\\[length\\:inherit\\]{font-size: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-all{word-break:break-all}.tpl\\:text-ellipsis{text-overflow:ellipsis}.tpl\\:whitespace-nowrap{white-space:nowrap}.tpl\\:whitespace-pre-wrap{white-space:pre-wrap}.tpl\\:text-\\[var\\(--tpl-bg\\)\\]{color:var(--tpl-bg)}.tpl\\:text-\\[var\\(--tpl-border\\)\\]{color:var(--tpl-border)}.tpl\\:text-\\[var\\(--tpl-border-light\\)\\]{color:var(--tpl-border-light)}.tpl\\:text-\\[var\\(--tpl-chrome-text-dim\\)\\]{color:var(--tpl-chrome-text-dim)}.tpl\\:text-\\[var\\(--tpl-chrome-text-muted\\)\\]{color:var(--tpl-chrome-text-muted)}.tpl\\:text-\\[var\\(--tpl-danger\\)\\]{color:var(--tpl-danger)}.tpl\\:text-\\[var\\(--tpl-on-primary\\)\\]{color:var(--tpl-on-primary)}.tpl\\:text-\\[var\\(--tpl-primary\\)\\]{color:var(--tpl-primary)}.tpl\\:text-\\[var\\(--tpl-primary-hover\\)\\]{color:var(--tpl-primary-hover)}.tpl\\:text-\\[var\\(--tpl-success\\)\\]{color:var(--tpl-success)}.tpl\\:text-\\[var\\(--tpl-success\\,var\\(--tpl-primary\\)\\)\\]{color:var(--tpl-success,var(--tpl-primary))}.tpl\\:text-\\[var\\(--tpl-text\\)\\]{color:var(--tpl-text)}.tpl\\:text-\\[var\\(--tpl-text-dim\\)\\]{color:var(--tpl-text-dim)}.tpl\\:text-\\[var\\(--tpl-text-muted\\)\\]{color:var(--tpl-text-muted)}.tpl\\:text-\\[var\\(--tpl-warning\\)\\]{color:var(--tpl-warning)}.tpl\\:text-white{color:#fff}.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\\: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}@media(hover:hover){.tpl\\:group-hover\\:bg-black\\/40:is(:where(.tpl\\:group):hover *){background-color:oklab(0% none none/.4)}.tpl\\:group-hover\\:opacity-100:is(:where(.tpl\\:group):hover *){opacity:1}}.tpl\\:placeholder\\:text-\\[var\\(--tpl-text-dim\\)\\]::placeholder{color:var(--tpl-text-dim)}.tpl\\:first\\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.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\\: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-90:hover{opacity:.9}.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-none:focus-visible{--tw-outline-style:none;outline-style:none}.tpl\\:active\\:cursor-grabbing:active{cursor:grabbing}.tpl\\:active\\:bg-\\[var\\(--tpl-bg-active\\)\\]:active{background-color:var(--tpl-bg-active)}.tpl\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.tpl\\:disabled\\:opacity-30:disabled{opacity:.3}.tpl\\:disabled\\:opacity-40:disabled{opacity:.4}.tpl\\:disabled\\:opacity-50:disabled{opacity:.5}@media(hover:hover){.tpl\\:disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}@layer base,components;.tpl{--tpl-base-size:var(--tpl-user-base-size,16px);--tpl-bg:var(--tpl-user-bg,oklch(99.5% .002 60));--tpl-bg-elevated:var(--tpl-user-bg-elevated,oklch(98% .004 60));--tpl-bg-hover:var(--tpl-user-bg-hover,oklch(96% .006 60));--tpl-bg-active:var(--tpl-user-bg-active,oklch(93.5% .008 60));--tpl-border:var(--tpl-user-border,oklch(92% .006 60));--tpl-border-light:var(--tpl-user-border-light,oklch(86% .01 60));--tpl-text:var(--tpl-user-text,oklch(18% .01 60));--tpl-text-muted:var(--tpl-user-text-muted,oklch(50% .015 60));--tpl-text-dim:var(--tpl-user-text-dim,oklch(68% .012 60));--tpl-primary:var(--tpl-user-primary,oklch(70% .16 55));--tpl-primary-hover:var(--tpl-user-primary-hover,oklch(63% .17 55));--tpl-primary-light:var(--tpl-user-primary-light,oklch(95% .04 55));--tpl-on-primary:var(--tpl-user-on-primary,var(--tpl-bg));--tpl-secondary:var(--tpl-user-secondary,oklch(60% .118 184.71));--tpl-secondary-hover:var(--tpl-user-secondary-hover,oklch(53.2% .105 186.39));--tpl-secondary-light:var(--tpl-user-secondary-light,oklch(93.8% .03 186.82));--tpl-success:var(--tpl-user-success,oklch(62.8% .194 155.1));--tpl-success-light:var(--tpl-user-success-light,oklch(93.6% .043 163.51));--tpl-warning:var(--tpl-user-warning,oklch(76.9% .168 70.08));--tpl-warning-light:var(--tpl-user-warning-light,oklch(95% .038 73.59));--tpl-danger:var(--tpl-user-danger,oklch(63.7% .237 25.33));--tpl-danger-light:var(--tpl-user-danger-light,oklch(93.6% .032 17.72));--tpl-canvas-bg:var(--tpl-user-canvas-bg,oklch(97.5% .003 60));--tpl-chrome-bg-elevated:var(--tpl-bg-elevated);--tpl-chrome-border-light:var(--tpl-border-light);--tpl-chrome-text:var(--tpl-text);--tpl-chrome-text-muted:var(--tpl-text-muted);--tpl-chrome-text-dim:var(--tpl-text-dim);--tpl-chrome-primary-light:var(--tpl-primary-light);--tpl-chrome-primary-hover:var(--tpl-primary-hover);--tpl-radius:var(--tpl-user-radius,10px);--tpl-radius-sm:var(--tpl-user-radius-sm,7px);--tpl-radius-lg:var(--tpl-user-radius-lg,14px);--tpl-font-family:var(--tpl-user-font-family,\"Geist\", ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");--tpl-shadow-sm:var(--tpl-user-shadow-sm,0 1px 2px #00000008);--tpl-shadow:var(--tpl-user-shadow,0 1px 2px #0000000a, 0 1px 3px #00000008);--tpl-shadow-md:var(--tpl-user-shadow-md,0 2px 8px #0000000f, 0 1px 3px #0000000a);--tpl-shadow-lg:var(--tpl-user-shadow-lg,0 4px 16px #00000014, 0 2px 6px #0000000a);--tpl-shadow-xl:var(--tpl-user-shadow-xl,0 8px 32px #0000001a, 0 4px 12px #0000000f);--tpl-overlay:var(--tpl-user-overlay,#00000080);--tpl-ring:var(--tpl-user-ring,0 0 0 3px var(--tpl-primary-light));--tpl-transition:var(--tpl-user-transition,.12s cubic-bezier(.16, 1, .3, 1))}.tpl[data-tpl-theme=dark]{--tpl-bg:var(--tpl-user-dark-bg,oklch(16% .005 60));--tpl-bg-elevated:var(--tpl-user-dark-bg-elevated,oklch(21% .006 60));--tpl-bg-hover:var(--tpl-user-dark-bg-hover,oklch(26% .007 60));--tpl-bg-active:var(--tpl-user-dark-bg-active,oklch(30% .008 60));--tpl-border:var(--tpl-user-dark-border,oklch(30% .006 60));--tpl-border-light:var(--tpl-user-dark-border-light,oklch(38% .008 60));--tpl-text:var(--tpl-user-dark-text,oklch(93% .005 60));--tpl-text-muted:var(--tpl-user-dark-text-muted,oklch(65% .01 60));--tpl-text-dim:var(--tpl-user-dark-text-dim,oklch(50% .008 60));--tpl-primary:var(--tpl-user-dark-primary,oklch(73% .15 55));--tpl-primary-hover:var(--tpl-user-dark-primary-hover,oklch(78% .14 55));--tpl-primary-light:var(--tpl-user-dark-primary-light,oklch(28% .05 55));--tpl-secondary:var(--tpl-user-dark-secondary,oklch(63% .11 184.71));--tpl-secondary-hover:var(--tpl-user-dark-secondary-hover,oklch(68% .1 186.39));--tpl-secondary-light:var(--tpl-user-dark-secondary-light,oklch(25% .03 186.82));--tpl-success:var(--tpl-user-dark-success,oklch(65% .18 155.1));--tpl-success-light:var(--tpl-user-dark-success-light,oklch(25% .04 163.51));--tpl-warning:var(--tpl-user-dark-warning,oklch(78% .16 70.08));--tpl-warning-light:var(--tpl-user-dark-warning-light,oklch(28% .04 73.59));--tpl-danger:var(--tpl-user-dark-danger,oklch(65% .22 25.33));--tpl-danger-light:var(--tpl-user-dark-danger-light,oklch(25% .04 17.72));--tpl-canvas-bg:var(--tpl-user-dark-canvas-bg,oklch(10% .003 60));--tpl-shadow-sm:var(--tpl-user-dark-shadow-sm,0 1px 2px #0003);--tpl-shadow:var(--tpl-user-dark-shadow,0 1px 2px #0000004d, 0 1px 3px #0003);--tpl-shadow-md:var(--tpl-user-dark-shadow-md,0 2px 8px #00000059, 0 1px 3px #00000040);--tpl-shadow-lg:var(--tpl-user-dark-shadow-lg,0 4px 16px #0006, 0 2px 6px #0000004d);--tpl-shadow-xl:var(--tpl-user-dark-shadow-xl,0 8px 32px #00000080, 0 4px 12px #00000059);--tpl-overlay:var(--tpl-user-dark-overlay,#000000b3);--tpl-ring:var(--tpl-user-dark-ring,0 0 0 3px var(--tpl-primary-light))}.tpl[data-tpl-theme=dark] .tpl-block-content{--tpl-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);flex-direction:column;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-pulse{animation:2s infinite tpl-pulse}.tpl-spinner{animation:1s linear infinite tpl-spin}@keyframes tpl-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes tpl-scale-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@keyframes tpl-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.tpl-fade-in{animation:.2s cubic-bezier(.16,1,.3,1) tpl-fade-in}.tpl-scale-in{animation:.15s cubic-bezier(.16,1,.3,1) tpl-scale-in}.tpl-shimmer{background:linear-gradient(90deg,var(--tpl-bg-hover) 25%,var(--tpl-bg-active) 50%,var(--tpl-bg-hover) 75%);background-size:200% 100%;animation:1.5s linear infinite tpl-shimmer}.tpl-preview-mode .tpl-block--idle,.tpl-preview-mode .tpl-block--idle:hover,.tpl-preview-mode .tpl-block--selected{box-shadow:none!important;outline:none!important}.tpl-preview-mode .tpl-block{cursor:default;pointer-events:none}.tpl-preview-mode .tpl-block-actions,.tpl-preview-mode .tpl-block-hidden-overlay,.tpl-preview-mode .tpl-condition-toggle,.tpl-preview-mode .tpl-comment-indicator,.tpl-preview-mode .tpl-collab-lock{display:none}.tpl-ghost{border:none!important;border-top:2px dotted var(--tpl-primary)!important;background-color:#0000!important;justify-content:center!important;align-items:center!important;width:100%!important;height:0!important;min-height:0!important;max-height:0!important;margin:12px 0!important;padding:0!important;display:flex!important;position:relative!important;overflow:visible!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost{border-top:2px dotted color-mix(in srgb,var(--tpl-primary) 50%,transparent)!important}}.tpl-ghost{box-shadow:none!important;border-radius:0!important}.tpl-ghost>*{display:none!important}.tpl-ghost:before{content:var(--tpl-drop-text,\"Drop here\");white-space:nowrap!important;color:var(--tpl-primary)!important;background-color:var(--tpl-primary)!important;padding:2px 8px!important;font-size:12px!important;font-weight:500!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost:before{background-color:color-mix(in srgb,var(--tpl-primary) 15%,var(--tpl-bg))!important}}.tpl-ghost:before{border-radius:var(--tpl-radius-sm)!important;box-shadow:none!important}.tpl-canvas-empty .tpl-ghost{display:none!important}.tpl-dragging{opacity:.8;box-shadow:var(--tpl-shadow-xl)}.sortable-fallback{transition:none!important;animation:none!important}.tpl-block--lifted{outline:2px dashed var(--tpl-primary)!important;outline-offset:2px!important;box-shadow:var(--tpl-shadow-xl),0 0 0 4px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-block--lifted{box-shadow:var(--tpl-shadow-xl),0 0 0 4px color-mix(in srgb,var(--tpl-primary) 20%,transparent)!important}}.tpl-block--lifted{transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1);transform:scale(1.01)}.tpl-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-text-toolbar-btn{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8);cursor:pointer;border-radius:calc(.25 * var(--tpl-base-size));--tw-border-style:none;transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s);color:var(--tpl-text);background-color:#0000;border-style:none;justify-content:center;align-items:center;padding:0;display:flex}.tpl-text-toolbar-btn:hover{background-color:var(--tpl-bg-active)}.tpl-text-toolbar-btn--active{box-shadow:inset 0 0 0 1.5px var(--tpl-primary-hover);background-color:var(--tpl-primary)!important;color:var(--tpl-bg)!important}.tpl-text-toolbar-btn--active svg{stroke-width:2.75px}.tpl-text-content,.tpl-text-editable .tiptap{--tw-outline-style:none;outline-style:none}.tpl-text-editable{border-radius:calc(.25 * var(--tpl-base-size));border-style:var(--tw-border-style);--tw-border-style:dashed;padding:calc(calc(var(--tpl-base-size) / 4) * 2);border-style:dashed;border-width:1px;border-color:var(--tpl-primary);min-height:1.5em}.tpl-text-content p,.tpl-text-editable .tiptap p{margin:0;margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}:is(.tpl-text-content p,.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-block:calc(calc(var(--tpl-base-size) / 4) * 2);padding-left:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl-text-content li,.tpl-text-editable .tiptap li{margin-block:calc(var(--tpl-base-size) / 4)}.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)}.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);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-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-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.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}@property --tpl-comet-angle{syntax:\"<angle>\";inherits:false;initial-value:0deg}@property --tpl-comet-start{syntax:\"<percentage>\";inherits:false;initial-value:100%}@keyframes tpl-ai-comet{0%{--tpl-comet-angle:0deg;--tpl-comet-start:100%}1%{--tpl-comet-angle:24deg;--tpl-comet-start:88%}5%{--tpl-comet-angle:120deg;--tpl-comet-start:60%}25%{--tpl-comet-angle:600deg;--tpl-comet-start:60%}33%{--tpl-comet-angle:720deg;--tpl-comet-start:100%}to{--tpl-comet-angle:720deg;--tpl-comet-start:100%}}.tpl-ai-btn--idle{background-color:var(--tpl-primary-light);color:var(--tpl-text);box-shadow:none;z-index:0;position:relative}.tpl-ai-btn--idle:before{content:\"\";border-radius:inherit;background:conic-gradient(from var(--tpl-comet-angle),transparent 0%,transparent var(--tpl-comet-start),var(--tpl-primary) 80%,var(--tpl-primary) 90%,var(--tpl-primary) 97%,transparent 100%);padding:2px;position:absolute;inset:-2px}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--idle:before{background:conic-gradient(from var(--tpl-comet-angle),transparent 0%,transparent var(--tpl-comet-start),color-mix(in srgb,var(--tpl-primary) 40%,transparent) 80%,var(--tpl-primary) 90%,var(--tpl-primary) 97%,transparent 100%)}}.tpl-ai-btn--idle:before{z-index:-1;pointer-events:none;animation:20s linear 3s infinite tpl-ai-comet;-webkit-mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);-webkit-mask-position:0 0,0 0;mask-position:0 0,0 0;-webkit-mask-size:auto,auto;mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}.tpl-ai-btn--idle:hover{background-color:var(--tpl-primary);color:var(--tpl-on-primary);transform:translateY(-1px);box-shadow:0 0 0 3px var(--tpl-primary),0 4px 16px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--idle:hover{box-shadow:0 0 0 3px color-mix(in srgb,var(--tpl-primary) 20%,transparent),0 4px 16px color-mix(in srgb,var(--tpl-primary) 30%,transparent)!important}}.tpl-ai-btn--idle:hover:before{animation:none}.tpl-ai-btn--active{background-color:var(--tpl-primary-light);color:var(--tpl-primary-hover);border:1px solid var(--tpl-primary)}.tpl-ai-btn--active .tpl-ai-btn-icon{fill:var(--tpl-primary)}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--active .tpl-ai-btn-icon{fill:color-mix(in srgb,var(--tpl-primary) 25%,transparent)}}.tpl-ai-btn--active:hover{background-color:var(--tpl-primary-light)}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--active:hover{background-color:color-mix(in srgb,var(--tpl-primary-light) 80%,var(--tpl-primary))}}.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,.tpl-ai-btn--idle:before{animation:none}.tpl-shimmer{background:var(--tpl-bg-hover)}.tpl *,.tpl :before,.tpl :after{transition-duration:.01ms!important}.tpl-spinner{animation:1s linear infinite tpl-spin}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}.tpl-restore-btn-enter-active[data-v-9b8b235c]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-restore-btn-leave-active[data-v-9b8b235c]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-restore-btn-enter-from[data-v-9b8b235c],.tpl-restore-btn-leave-to[data-v-9b8b235c]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-restore-btn-enter-to[data-v-9b8b235c],.tpl-restore-btn-leave-from[data-v-9b8b235c]{opacity:1;transform:translateY(0) scale(1)}.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-delete-btn:hover{color:var(--tpl-danger)!important}.tpl-saved-block-rename-btn:hover{color:var(--tpl-primary)!important}.tpl-comments-slide-enter-active[data-v-40431726]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-comments-slide-leave-active[data-v-40431726]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-comments-input-wrapper[data-v-40431726]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-40431726]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-40431726]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-40431726]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-40431726]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-40431726]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-40431726]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-40431726]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-40431726],.tpl-comment-reply-card[data-v-40431726]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-40431726],.tpl-resolve-leave-active[data-v-40431726]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-40431726],.tpl-resolve-leave-to[data-v-40431726]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-40431726]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-40431726]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-40431726],.tpl-replies-leave-active[data-v-40431726]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-40431726],.tpl-replies-leave-to[data-v-40431726]{opacity:0;transform:translateY(-4px)}.tpl-ai-slide-enter-active[data-v-82649117]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-ai-slide-leave-active[data-v-82649117]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-ai-input-wrapper[data-v-82649117]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-82649117]:not(:disabled):hover{transform:scale(1.05)}.tpl-suggestion-btn[data-v-82649117]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-design-slide-enter-active[data-v-9a44c153]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-design-slide-leave-active[data-v-9a44c153]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-design-prompt-input[data-v-9a44c153]:focus{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-design-dropzone[data-v-9a44c153]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-scoring-slide-enter-active[data-v-7da30b57]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-scoring-slide-leave-active[data-v-7da30b57]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-scoring-fix-btn[data-v-7da30b57]:not(:disabled):hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-ai-feature-menu-item[data-v-bf59b787]:hover{background-color:var(--tpl-bg-hover)!important}\n/*$vite$:1*/", Td = null;
|
|
5400
|
+
function Ed() {
|
|
5401
|
+
if (Td === null) {
|
|
5379
5402
|
let e = new CSSStyleSheet();
|
|
5380
|
-
e.replaceSync(
|
|
5403
|
+
e.replaceSync(wd), Td = e;
|
|
5381
5404
|
}
|
|
5382
|
-
return
|
|
5405
|
+
return Td;
|
|
5383
5406
|
}
|
|
5384
|
-
function
|
|
5407
|
+
function Dd(e) {
|
|
5385
5408
|
return () => {};
|
|
5386
5409
|
}
|
|
5387
|
-
function
|
|
5410
|
+
function Od(e, t) {
|
|
5388
5411
|
if (!t) return {
|
|
5389
5412
|
target: e,
|
|
5390
5413
|
shadowRoot: null,
|
|
5391
5414
|
cleanup: () => {}
|
|
5392
5415
|
};
|
|
5393
5416
|
let n = e.shadowRoot ?? e.attachShadow({ mode: "open" });
|
|
5394
|
-
for (n.adoptedStyleSheets = [
|
|
5417
|
+
for (n.adoptedStyleSheets = [Ed()]; n.firstChild;) n.removeChild(n.firstChild);
|
|
5395
5418
|
let r = document.createElement("div");
|
|
5396
5419
|
return r.className = "tpl-editor-host", r.style.cssText = "display:block;height:100%;width:100%;", n.appendChild(r), {
|
|
5397
5420
|
target: r,
|
|
5398
5421
|
shadowRoot: n,
|
|
5399
|
-
cleanup:
|
|
5422
|
+
cleanup: Dd(n)
|
|
5400
5423
|
};
|
|
5401
5424
|
}
|
|
5402
|
-
var
|
|
5403
|
-
function
|
|
5404
|
-
let t =
|
|
5405
|
-
t && (t.cleanup(), t.app.unmount(),
|
|
5425
|
+
var kd = /* @__PURE__ */ new Map(), Ad = null;
|
|
5426
|
+
function jd(e) {
|
|
5427
|
+
let t = kd.get(e);
|
|
5428
|
+
t && (t.cleanup(), t.app.unmount(), kd.delete(e), Ad === e && (Ad = null));
|
|
5406
5429
|
}
|
|
5407
|
-
async function
|
|
5408
|
-
return
|
|
5430
|
+
async function Md(e) {
|
|
5431
|
+
return Nd(e);
|
|
5409
5432
|
}
|
|
5410
|
-
async function
|
|
5433
|
+
async function Nd(e, t) {
|
|
5411
5434
|
let n = typeof e.container == "string" ? document.querySelector(e.container) : e.container;
|
|
5412
5435
|
if (!n) throw Error(`[Templatical] Container element not found: ${e.container}`);
|
|
5413
|
-
let r = await
|
|
5414
|
-
|
|
5415
|
-
let a =
|
|
5416
|
-
e.content &&=
|
|
5436
|
+
let r = await vd(e.locale ?? "en"), i = ge(e.fonts);
|
|
5437
|
+
jd(n);
|
|
5438
|
+
let a = Od(n, e.shadowDom ?? !0), o = m(null);
|
|
5439
|
+
e.content &&= rr(e.content, e.mergeTags);
|
|
5417
5440
|
let s = F({ setup() {
|
|
5418
|
-
return () => g(
|
|
5441
|
+
return () => g(sd, {
|
|
5419
5442
|
config: e,
|
|
5420
5443
|
translations: r,
|
|
5421
5444
|
fontsManager: i,
|
|
@@ -5424,27 +5447,27 @@ async function jd(e, t) {
|
|
|
5424
5447
|
ref: o
|
|
5425
5448
|
});
|
|
5426
5449
|
} });
|
|
5427
|
-
s.mount(a.target),
|
|
5450
|
+
s.mount(a.target), kd.set(n, {
|
|
5428
5451
|
app: s,
|
|
5429
5452
|
editorRef: o,
|
|
5430
5453
|
cleanup: a.cleanup
|
|
5431
|
-
}),
|
|
5454
|
+
}), Ad = n;
|
|
5432
5455
|
let c = {
|
|
5433
5456
|
getContent() {
|
|
5434
5457
|
return o.value ? oe(o.value.getContent()) : oe(e.content ?? ie());
|
|
5435
5458
|
},
|
|
5436
5459
|
setContent(t) {
|
|
5437
|
-
let n =
|
|
5460
|
+
let n = rr(t, e.mergeTags);
|
|
5438
5461
|
o.value && o.value.setContent(n), e.content = n;
|
|
5439
5462
|
},
|
|
5440
5463
|
setTheme(e) {
|
|
5441
5464
|
o.value && o.value.setTheme(e);
|
|
5442
5465
|
},
|
|
5443
|
-
unmount: () =>
|
|
5466
|
+
unmount: () => jd(n),
|
|
5444
5467
|
create(t) {
|
|
5445
5468
|
return o.value ? o.value.create(t?.content ? {
|
|
5446
5469
|
...t,
|
|
5447
|
-
content:
|
|
5470
|
+
content: rr(t.content, e.mergeTags)
|
|
5448
5471
|
} : t) : Promise.reject(/* @__PURE__ */ Error("[Templatical] Editor not ready"));
|
|
5449
5472
|
},
|
|
5450
5473
|
load(e) {
|
|
@@ -5464,28 +5487,28 @@ async function jd(e, t) {
|
|
|
5464
5487
|
},
|
|
5465
5488
|
toMjml: () => l.toMjml(),
|
|
5466
5489
|
toHtml: () => l.toHtml()
|
|
5467
|
-
}, l =
|
|
5490
|
+
}, l = Xn({
|
|
5468
5491
|
provider: e.render,
|
|
5469
|
-
buildPayload: () =>
|
|
5492
|
+
buildPayload: () => Yn({
|
|
5470
5493
|
getContent: () => c.getContent(),
|
|
5471
5494
|
renderCustomBlock: (e) => c.renderCustomBlock(e),
|
|
5472
|
-
getFonts: () =>
|
|
5495
|
+
getFonts: () => Jn(i)
|
|
5473
5496
|
}),
|
|
5474
|
-
renderLocalMjml: () =>
|
|
5497
|
+
renderLocalMjml: () => Hn({
|
|
5475
5498
|
getContent: () => c.getContent(),
|
|
5476
5499
|
renderCustomBlock: (e) => c.renderCustomBlock(e),
|
|
5477
5500
|
getCustomBlockStylesheet: (e) => c.getCustomBlockStylesheet(e),
|
|
5478
|
-
getFonts: () =>
|
|
5501
|
+
getFonts: () => Jn(i)
|
|
5479
5502
|
})
|
|
5480
5503
|
});
|
|
5481
5504
|
return c;
|
|
5482
5505
|
}
|
|
5483
|
-
async function
|
|
5484
|
-
let [{ bootstrapCloud: t }, n] = await Promise.all([import("./createCloudRuntime-
|
|
5506
|
+
async function Pd(e) {
|
|
5507
|
+
let [{ bootstrapCloud: t }, n] = await Promise.all([import("./createCloudRuntime-FEZG-Gve.js"), yd(e.locale ?? "en")]), { runtime: r, providers: i, user: a } = await t({
|
|
5485
5508
|
config: e,
|
|
5486
5509
|
cloudTranslations: n
|
|
5487
5510
|
}), o = e.autoSave !== !1 && { debounce: (typeof e.autoSave == "object" ? e.autoSave.debounce : void 0) ?? 2e3 };
|
|
5488
|
-
return
|
|
5511
|
+
return Nd({
|
|
5489
5512
|
container: e.container,
|
|
5490
5513
|
content: e.content,
|
|
5491
5514
|
shadowDom: e.shadowDom,
|
|
@@ -5522,8 +5545,8 @@ async function Md(e) {
|
|
|
5522
5545
|
user: a
|
|
5523
5546
|
}, r);
|
|
5524
5547
|
}
|
|
5525
|
-
function
|
|
5526
|
-
|
|
5548
|
+
function Fd() {
|
|
5549
|
+
Ad && jd(Ad);
|
|
5527
5550
|
}
|
|
5528
5551
|
//#endregion
|
|
5529
|
-
export { ve as createLocalStorageSavedBlocksProvider,
|
|
5552
|
+
export { ve as createLocalStorageSavedBlocksProvider, hd as getBaseLocale, Cd as getSupportedCloudLocales, Sd as getSupportedLocales, Md as init, Pd as initCloud, xd as isCloudLocaleSupported, bd as isLocaleSupported, Fd as unmount, ge as useFonts };
|