@templatical/editor 0.59.0 → 0.59.2
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/{AiAltTextPopover-CwyKz_9U.js → AiAltTextPopover-BhWHOOKX.js} +3 -3
- package/dist/{AiAltTextReview-DNFnR1PN.js → AiAltTextReview-CmW7pLmo.js} +3 -3
- package/dist/{AiChatPanel-DWWVvJIP.js → AiChatPanel-CV0mCtad.js} +2 -2
- package/dist/{AiPanels-CESbBB63.js → AiPanels-C8M7q_vM.js} +1 -1
- package/dist/{AiRewriteMenu-CjXiI-n4.js → AiRewriteMenu-DC2ZLH5L.js} +7 -7
- package/dist/{BlockIssueBadge-3k568_Od.js → BlockIssueBadge-B8sl9BM1.js} +2 -2
- package/dist/{BlockPreviewCanvas-3FzYSsPm.js → BlockPreviewCanvas-yhOQAQhJ.js} +22 -18
- package/dist/{CloudHeaderExtras-xrHubAHL.js → CloudHeaderExtras-DC_oNrxz.js} +1 -1
- package/dist/{CloudPanels-CSFN-eLV.js → CloudPanels-CD0lsL0R.js} +2 -2
- package/dist/{CollaborationNotices-D9GQ477K.js → CollaborationNotices-DrMrP73M.js} +1 -1
- package/dist/{CollaboratorBar-DsRjAaqd.js → CollaboratorBar-TsK872uC.js} +1 -1
- package/dist/{CommentsPanel-lb-IFzjl.js → CommentsPanel-BX8JVrXU.js} +1 -1
- package/dist/{CommentsSidebar-CVVTCWBH.js → CommentsSidebar-BUlseNwL.js} +2 -2
- package/dist/{CountdownBlock-CSEq79Nc.js → CountdownBlock-AYPypmcX.js} +2 -2
- package/dist/{CountdownToolbar-BV9yQi9k.js → CountdownToolbar-dx3FVRjh.js} +5 -5
- package/dist/{IssuesPanel-pxcWAQJM.js → IssuesPanel-BwnvXxBC.js} +5 -5
- package/dist/{LanguageMenu-CEKRbNhA.js → LanguageMenu-Cf5bKocE.js} +5 -5
- package/dist/{LocaleNotices-j4aMFfmc.js → LocaleNotices-CGEp0pQ8.js} +2 -2
- package/dist/{LogicTagInsertButton-BDIsyl3C.js → LogicTagInsertButton-BdDe-vrZ.js} +8 -8
- package/dist/{MergeTagInput-De1yWoc2.js → MergeTagInput-CTTi-eB0.js} +1 -1
- package/dist/{MergeTagModeToggle-CL96pI1E.js → MergeTagModeToggle-Bd0svGQm.js} +3 -3
- package/dist/{MergeTagTextarea-DDyV8U44.js → MergeTagTextarea-DiahMV-3.js} +4 -4
- package/dist/{ParagraphEditor-Vz90-hhN.js → ParagraphEditor-Db1cmj8Y.js} +11 -11
- package/dist/{RestoreVersionDialog-BgrtpVl1.js → RestoreVersionDialog-DA1Z0q9Z.js} +2 -2
- package/dist/{RichTextEditorContent-C2Yj1-ZA.js → RichTextEditorContent-CyO6e4ZG.js} +6 -6
- package/dist/{SaveBlockDialog-DRvLFKWJ.js → SaveBlockDialog-D7SaFxa_.js} +6 -6
- package/dist/{SavedBlocksBrowserModal-Dw0uF-NT.js → SavedBlocksBrowserModal-B5r3LWWG.js} +6 -6
- package/dist/{SavedBlocksPanels-BReNi8sg.js → SavedBlocksPanels-BH2f7jm-.js} +1 -1
- package/dist/{SavedBlocksPickBar-BQX4g7OE.js → SavedBlocksPickBar-B24TScw0.js} +2 -2
- package/dist/{TemplateSettings-CBCaybvd.js → TemplateSettings-CuN9Vkl_.js} +8 -8
- package/dist/{TestEmailModal-BiCUiRFo.js → TestEmailModal-C4DAaohi.js} +12 -9
- package/dist/{TestEmailPanel-Bfr-sGrI.js → TestEmailPanel-DoMcVJSE.js} +1 -1
- package/dist/{TitleEditor-B8thQPgg.js → TitleEditor-b5Pr_m9j.js} +8 -8
- package/dist/{Toolbar-FIYSw3Us.js → Toolbar-BOf7Y862.js} +14 -14
- package/dist/{TplModal-BIqO0owX.js → TplModal-DAcXzBJh.js} +4 -4
- package/dist/{VersionHistoryMenu-6jMve6By.js → VersionHistoryMenu-TbIGteNi.js} +2 -2
- package/dist/{VersionHistoryPanels-C91mfsMA.js → VersionHistoryPanels-Ia6ipOqG.js} +1 -1
- package/dist/{VersionPreviewBanner-Bq8z1SUc.js → VersionPreviewBanner-CRfu6quf.js} +1 -1
- package/dist/{WrapperBlock-BAqgP8hm.js → WrapperBlock-BZenrXM6.js} +4 -4
- package/dist/{blockTypeIcons-VX_8UQ21.js → blockTypeIcons-DdYZy8yG.js} +1 -1
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiAltTextPopover-Dj-VLU88.js → AiAltTextPopover-CcX_OMUU.js} +4 -4
- package/dist/cdn/chunks/{AiAltTextPopover-Dj-VLU88.js.map → AiAltTextPopover-CcX_OMUU.js.map} +1 -1
- package/dist/cdn/chunks/{AiAltTextReview-tVkJPOk6.js → AiAltTextReview-Dmm3h0jd.js} +4 -4
- package/dist/cdn/chunks/{AiAltTextReview-tVkJPOk6.js.map → AiAltTextReview-Dmm3h0jd.js.map} +1 -1
- package/dist/cdn/chunks/{AiChatPanel-CYPvHQGQ.js → AiChatPanel-DV23DJ-2.js} +3 -3
- package/dist/cdn/chunks/{AiChatPanel-CYPvHQGQ.js.map → AiChatPanel-DV23DJ-2.js.map} +1 -1
- package/dist/cdn/chunks/{AiPanels-ChTLCmMS.js → AiPanels-CxhOpMAp.js} +2 -2
- package/dist/cdn/chunks/{AiPanels-ChTLCmMS.js.map → AiPanels-CxhOpMAp.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-99qbfCZI.js → AiRewriteMenu-87-O514r.js} +8 -8
- package/dist/cdn/chunks/{AiRewriteMenu-99qbfCZI.js.map → AiRewriteMenu-87-O514r.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-BKO4Mr8f.js → BlockIssueBadge-Dp06vQd3.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-BKO4Mr8f.js.map → BlockIssueBadge-Dp06vQd3.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-BF0yCTKP.js → BlockPreviewCanvas-DQGzUvZ5.js} +23 -19
- package/dist/cdn/chunks/BlockPreviewCanvas-DQGzUvZ5.js.map +1 -0
- package/dist/cdn/chunks/{CloudHeaderExtras-O_K3jmgO.js → CloudHeaderExtras-Cd-ePldd.js} +2 -2
- package/dist/cdn/chunks/{CloudHeaderExtras-O_K3jmgO.js.map → CloudHeaderExtras-Cd-ePldd.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-gV2WFHQk.js → CloudPanels-D8fchoYt.js} +3 -3
- package/dist/cdn/chunks/{CloudPanels-gV2WFHQk.js.map → CloudPanels-D8fchoYt.js.map} +1 -1
- package/dist/cdn/chunks/{CollaborationNotices-CwAoa-73.js → CollaborationNotices-DNEs3g9B.js} +2 -2
- package/dist/cdn/chunks/{CollaborationNotices-CwAoa-73.js.map → CollaborationNotices-DNEs3g9B.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-DdQQwtwd.js → CollaboratorBar-CN6XAlbn.js} +2 -2
- package/dist/cdn/chunks/{CollaboratorBar-DdQQwtwd.js.map → CollaboratorBar-CN6XAlbn.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-C8AKtxiG.js → CommentsPanel-CxZ1kFcK.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-C8AKtxiG.js.map → CommentsPanel-CxZ1kFcK.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-FxY0RHSq.js → CommentsSidebar-DCr2mV8b.js} +3 -3
- package/dist/cdn/chunks/{CommentsSidebar-FxY0RHSq.js.map → CommentsSidebar-DCr2mV8b.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-DGgnPUlu.js → CountdownBlock--hlKE2aj.js} +3 -3
- package/dist/cdn/chunks/{CountdownBlock-DGgnPUlu.js.map → CountdownBlock--hlKE2aj.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-9PtYUgCW.js → CountdownToolbar-CUTbVPPV.js} +6 -6
- package/dist/cdn/chunks/{CountdownToolbar-9PtYUgCW.js.map → CountdownToolbar-CUTbVPPV.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-Co-ffgWa.js → IssuesPanel-BhcSzwuL.js} +7 -7
- package/dist/cdn/chunks/{IssuesPanel-Co-ffgWa.js.map → IssuesPanel-BhcSzwuL.js.map} +1 -1
- package/dist/cdn/chunks/{LanguageMenu-fL4DRGGQ.js → LanguageMenu-6wGhkyFT.js} +99 -99
- package/dist/cdn/chunks/{LanguageMenu-fL4DRGGQ.js.map → LanguageMenu-6wGhkyFT.js.map} +1 -1
- package/dist/cdn/chunks/{LocaleNotices-BVDJ7kyj.js → LocaleNotices-Br92Xueo.js} +3 -3
- package/dist/cdn/chunks/{LocaleNotices-BVDJ7kyj.js.map → LocaleNotices-Br92Xueo.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-DPYA8LJW.js → LogicTagInsertButton-r2EVUtDU.js} +9 -9
- package/dist/cdn/chunks/{LogicTagInsertButton-DPYA8LJW.js.map → LogicTagInsertButton-r2EVUtDU.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-Cxfjq3tx.js → MergeTagInput-Dh3N6CEV.js} +2 -2
- package/dist/cdn/chunks/{MergeTagInput-Cxfjq3tx.js.map → MergeTagInput-Dh3N6CEV.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-BmNGV3yc.js → MergeTagModeToggle-D6u3hMrI.js} +4 -4
- package/dist/cdn/chunks/{MergeTagModeToggle-BmNGV3yc.js.map → MergeTagModeToggle-D6u3hMrI.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagTextarea-DmwrPAss.js → MergeTagTextarea-BpVtpiNL.js} +8 -8
- package/dist/cdn/chunks/{MergeTagTextarea-DmwrPAss.js.map → MergeTagTextarea-BpVtpiNL.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-A_OEuQ1Q.js → ParagraphEditor-DGJmPAC1.js} +12 -12
- package/dist/cdn/chunks/{ParagraphEditor-A_OEuQ1Q.js.map → ParagraphEditor-DGJmPAC1.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-Ca_lUsk4.js → RestoreVersionDialog-D5qeCa0F.js} +3 -3
- package/dist/cdn/chunks/{RestoreVersionDialog-Ca_lUsk4.js.map → RestoreVersionDialog-D5qeCa0F.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Dq4TROOg.js → RichTextEditorContent-DyGiXKKI.js} +7 -7
- package/dist/cdn/chunks/{RichTextEditorContent-Dq4TROOg.js.map → RichTextEditorContent-DyGiXKKI.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-BXRCqrZX.js → SaveBlockDialog-B0TJYxd8.js} +7 -7
- package/dist/cdn/chunks/{SaveBlockDialog-BXRCqrZX.js.map → SaveBlockDialog-B0TJYxd8.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdaBcSOI.js → SavedBlocksBrowserModal-D8Ly7LrA.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdaBcSOI.js.map → SavedBlocksBrowserModal-D8Ly7LrA.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-BcVFZDKI.js → SavedBlocksPanels-Co1cbWR8.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-BcVFZDKI.js.map → SavedBlocksPanels-Co1cbWR8.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-o66PhlTo.js → SavedBlocksPickBar-DNtVbpm-.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPickBar-o66PhlTo.js.map → SavedBlocksPickBar-DNtVbpm-.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-uoiUkd2l.js → TemplateSettings-BRc878ZF.js} +9 -9
- package/dist/cdn/chunks/{TemplateSettings-uoiUkd2l.js.map → TemplateSettings-BRc878ZF.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-WOC7bmF_.js → TestEmailModal-CIui7VfS.js} +13 -10
- package/dist/cdn/chunks/TestEmailModal-CIui7VfS.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailPanel-DUWH9xsZ.js → TestEmailPanel-vKvruW_r.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-DUWH9xsZ.js.map → TestEmailPanel-vKvruW_r.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-EHW0lgG4.js → TitleEditor-BI-9Nnj3.js} +8 -8
- package/dist/cdn/chunks/{TitleEditor-EHW0lgG4.js.map → TitleEditor-BI-9Nnj3.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-BzAuH2G4.js → Toolbar-CYnnArxv.js} +418 -418
- package/dist/cdn/chunks/{Toolbar-BzAuH2G4.js.map → Toolbar-CYnnArxv.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-B9DVglkN.js → TplModal-B3nZeGWK.js} +5 -5
- package/dist/cdn/chunks/{TplModal-B9DVglkN.js.map → TplModal-B3nZeGWK.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-DDqYMqC2.js → VersionHistoryMenu-CMGfAKuV.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryMenu-DDqYMqC2.js.map → VersionHistoryMenu-CMGfAKuV.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-DO-kcL28.js → VersionHistoryPanels-Bb2ouQg7.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-DO-kcL28.js.map → VersionHistoryPanels-Bb2ouQg7.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-CYT5QUoc.js → VersionPreviewBanner-573UP-g4.js} +2 -2
- package/dist/cdn/chunks/{VersionPreviewBanner-CYT5QUoc.js.map → VersionPreviewBanner-573UP-g4.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-CyD_pW18.js → WrapperBlock-DVu632LD.js} +5 -5
- package/dist/cdn/chunks/{WrapperBlock-CyD_pW18.js.map → WrapperBlock-DVu632LD.js.map} +1 -1
- package/dist/cdn/chunks/{composables-CN9j_FH4.js → composables-DY3anqHO.js} +574 -571
- package/dist/cdn/chunks/composables-DY3anqHO.js.map +1 -0
- package/dist/cdn/chunks/{createCloudRuntime-D8zeR9D2.js → createCloudRuntime-B5numxlW.js} +4 -4
- package/dist/cdn/chunks/{createCloudRuntime-D8zeR9D2.js.map → createCloudRuntime-B5numxlW.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-BYJPv1sA.js → extensions-BWVlr8Ga.js} +5 -5
- package/dist/cdn/chunks/{extensions-BYJPv1sA.js.map → extensions-BWVlr8Ga.js.map} +1 -1
- package/dist/cdn/chunks/keys-ywH4jHJ2.js +11 -0
- package/dist/cdn/chunks/keys-ywH4jHJ2.js.map +1 -0
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-nDyYIXvL.js → normalizeMergeTagMarkup-Dw3rFvyd.js} +40 -40
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-nDyYIXvL.js.map → normalizeMergeTagMarkup-Dw3rFvyd.js.map} +1 -1
- package/dist/cdn/chunks/{preRenderCustomBlocks-CxwYcAQe.js → preRenderCustomBlocks-BGtb8Xbp.js} +4 -4
- package/dist/cdn/chunks/{preRenderCustomBlocks-CxwYcAQe.js.map → preRenderCustomBlocks-BGtb8Xbp.js.map} +1 -1
- package/dist/cdn/chunks/{sanitizeHtml-5T_KaDcp.js → sanitizeHtml-CLRY8s2s.js} +2 -2
- package/dist/cdn/chunks/{sanitizeHtml-5T_KaDcp.js.map → sanitizeHtml-CLRY8s2s.js.map} +1 -1
- package/dist/cdn/chunks/{socialIcons-bvQ57o1m.js → socialIcons-kYhdXJ9P.js} +255 -255
- package/dist/cdn/chunks/{socialIcons-bvQ57o1m.js.map → socialIcons-kYhdXJ9P.js.map} +1 -1
- package/dist/cdn/chunks/{src-BXrhjqCv.js → src-B7X7x_ST.js} +154 -154
- package/dist/cdn/chunks/{src-BXrhjqCv.js.map → src-B7X7x_ST.js.map} +1 -1
- package/dist/cdn/chunks/{src-BRyzUujm.js → src-BmzzkUf7.js} +539 -539
- package/dist/cdn/chunks/{src-BRyzUujm.js.map → src-BmzzkUf7.js.map} +1 -1
- package/dist/cdn/chunks/{src-CVHGPKSW.js → src-DY2kMjoD.js} +593 -589
- package/dist/cdn/chunks/src-DY2kMjoD.js.map +1 -0
- package/dist/cdn/chunks/{useCloudI18n-CWgySYuJ.js → useCloudI18n-BTV9uu3c.js} +2 -2
- package/dist/cdn/chunks/{useCloudI18n-CWgySYuJ.js.map → useCloudI18n-BTV9uu3c.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorRoot-BA4vV7sK.js → useEditorRoot-D0Lp2x4_.js} +2 -2
- package/dist/cdn/chunks/{useEditorRoot-BA4vV7sK.js.map → useEditorRoot-D0Lp2x4_.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-JsIdvX-i.js → useI18n-DPg6rPbu.js} +2 -2
- package/dist/cdn/chunks/{useI18n-JsIdvX-i.js.map → useI18n-DPg6rPbu.js.map} +1 -1
- package/dist/cdn/chunks/useLocalizedDisplay-B5wMJLru.js +33 -0
- package/dist/cdn/chunks/{useLocalizedDisplay-7iwZ1UhB.js.map → useLocalizedDisplay-B5wMJLru.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-C10Wef7d.js → useLogicTag-0wkSxy3z.js} +3 -3
- package/dist/cdn/chunks/{useLogicTag-C10Wef7d.js.map → useLogicTag-0wkSxy3z.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-Dd26TcvH.js → useMergeTag-y3bX8M_6.js} +3 -3
- package/dist/cdn/chunks/{useMergeTag-Dd26TcvH.js.map → useMergeTag-y3bX8M_6.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-DWRQRT2P.js → usePopoverPosition-CBp9uwjV.js} +2 -2
- package/dist/cdn/chunks/{usePopoverPosition-DWRQRT2P.js.map → usePopoverPosition-CBp9uwjV.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-CArjwH-u.js → useScrollToBlock-32EnuMwu.js} +2 -2
- package/dist/cdn/chunks/{useScrollToBlock-CArjwH-u.js.map → useScrollToBlock-32EnuMwu.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-BaeBoPQZ.js → withCurrentFont-B42BKo9N.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-BaeBoPQZ.js.map → withCurrentFont-B42BKo9N.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +600 -600
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{composables-DbqKYIRE.js → composables-CFTH0Nqb.js} +867 -864
- package/dist/{createCloudRuntime-DiUnYjKr.js → createCloudRuntime-BvWlm_38.js} +3 -3
- package/dist/{dist-BTjObRcv.js → dist-CMo4K5So.js} +277 -273
- package/dist/{extensions-CAuXwpbI.js → extensions-BPVackEE.js} +4 -4
- package/dist/index.d.ts +29 -7
- package/dist/keys-B4DimcgX.js +9 -0
- package/dist/{normalizeMergeTagMarkup-fgoVMKAc.js → normalizeMergeTagMarkup-PQqrbfmt.js} +1 -1
- package/dist/{preRenderCustomBlocks-CgPtlLGL.js → preRenderCustomBlocks-Dg5GBNi2.js} +1 -1
- package/dist/{sanitizeHtml-D2wueiEe.js → sanitizeHtml-DVdfdxOz.js} +1 -1
- package/dist/{socialIcons-RKdTgJip.js → socialIcons-DBHv_ntg.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +563 -563
- package/dist/{useCloudI18n-nMZ9f_4b.js → useCloudI18n-BnuOL1YS.js} +1 -1
- package/dist/{useEditorRoot-DpssP9rX.js → useEditorRoot-DWfC2CVC.js} +1 -1
- package/dist/{useI18n-C2p-qHeb.js → useI18n-Cx9W7OWb.js} +1 -1
- package/dist/{useLocalizedDisplay-9RqT2y_Y.js → useLocalizedDisplay-CbFM0cCV.js} +1 -1
- package/dist/{useLogicTag-59fmujI7.js → useLogicTag-CVOj0VUv.js} +2 -2
- package/dist/{useMergeTag-M1vauWet.js → useMergeTag-Bams_kam.js} +2 -2
- package/dist/{usePopoverPosition-L9MOHBM-.js → usePopoverPosition-DF0ZYH7g.js} +1 -1
- package/dist/{useScrollToBlock-BMF0Dt5l.js → useScrollToBlock-CwUQ_nKz.js} +1 -1
- package/dist/{withCurrentFont-BXZ7g-K6.js → withCurrentFont-y0O5kOLW.js} +1 -1
- package/package.json +7 -7
- package/dist/cdn/chunks/BlockPreviewCanvas-BF0yCTKP.js.map +0 -1
- package/dist/cdn/chunks/TestEmailModal-WOC7bmF_.js.map +0 -1
- package/dist/cdn/chunks/composables-CN9j_FH4.js.map +0 -1
- package/dist/cdn/chunks/keys-DNv3xXxI.js +0 -11
- package/dist/cdn/chunks/keys-DNv3xXxI.js.map +0 -1
- package/dist/cdn/chunks/src-CVHGPKSW.js.map +0 -1
- package/dist/cdn/chunks/useLocalizedDisplay-7iwZ1UhB.js +0 -33
- package/dist/keys-BeQy64On.js +0 -9
|
@@ -1212,28 +1212,28 @@ var Vt = class extends he {
|
|
|
1212
1212
|
super(e, t.status ?? Bt(t.code), t.code), this.name = "CollaborationConflict", t.opIndex !== void 0 && (this.opIndex = t.opIndex), t.holder !== void 0 && (this.holder = t.holder), t.holders !== void 0 && (this.holders = t.holders);
|
|
1213
1213
|
}
|
|
1214
1214
|
};
|
|
1215
|
-
function
|
|
1215
|
+
function Ht(e) {
|
|
1216
1216
|
return e.type === "section";
|
|
1217
1217
|
}
|
|
1218
|
-
function
|
|
1218
|
+
function Ut(e) {
|
|
1219
1219
|
return e.type === "custom";
|
|
1220
1220
|
}
|
|
1221
|
-
function
|
|
1221
|
+
function B(e) {
|
|
1222
1222
|
return e.type === "slot";
|
|
1223
1223
|
}
|
|
1224
|
-
function
|
|
1224
|
+
function V(e) {
|
|
1225
1225
|
return e.type === "wrapper";
|
|
1226
1226
|
}
|
|
1227
|
-
var
|
|
1227
|
+
var Wt = {
|
|
1228
1228
|
content: "<p>Enter your title</p>",
|
|
1229
1229
|
level: 2,
|
|
1230
1230
|
textAlign: "left"
|
|
1231
|
-
},
|
|
1231
|
+
}, Gt = { content: "<p>Enter your text here</p>" }, Kt = {
|
|
1232
1232
|
src: "",
|
|
1233
1233
|
alt: "",
|
|
1234
1234
|
width: "full",
|
|
1235
1235
|
align: "center"
|
|
1236
|
-
},
|
|
1236
|
+
}, qt = {
|
|
1237
1237
|
text: "Click Here",
|
|
1238
1238
|
url: "",
|
|
1239
1239
|
backgroundColor: "#333333",
|
|
@@ -1247,36 +1247,36 @@ var Ut = {
|
|
|
1247
1247
|
left: 24
|
|
1248
1248
|
},
|
|
1249
1249
|
align: "center"
|
|
1250
|
-
},
|
|
1250
|
+
}, Jt = {
|
|
1251
1251
|
lineStyle: "solid",
|
|
1252
1252
|
color: "#e0e0e0",
|
|
1253
1253
|
thickness: 1,
|
|
1254
1254
|
width: "full"
|
|
1255
|
-
},
|
|
1255
|
+
}, Yt = { columns: "1" }, Xt = {
|
|
1256
1256
|
url: "",
|
|
1257
1257
|
thumbnailUrl: "",
|
|
1258
1258
|
alt: "Video",
|
|
1259
1259
|
width: "full",
|
|
1260
1260
|
align: "center"
|
|
1261
|
-
},
|
|
1261
|
+
}, Zt = {
|
|
1262
1262
|
iconStyle: "solid",
|
|
1263
1263
|
iconSize: "medium",
|
|
1264
1264
|
spacing: 10,
|
|
1265
1265
|
align: "center"
|
|
1266
|
-
},
|
|
1266
|
+
}, Qt = { height: 24 }, $t = { content: "" }, en = {
|
|
1267
1267
|
fontSize: 15,
|
|
1268
1268
|
textAlign: "center",
|
|
1269
1269
|
separator: "|",
|
|
1270
1270
|
separatorColor: "#e0e0e0",
|
|
1271
1271
|
spacing: 10
|
|
1272
|
-
},
|
|
1272
|
+
}, tn = {
|
|
1273
1273
|
hasHeaderRow: !0,
|
|
1274
1274
|
borderColor: "#e0e0e0",
|
|
1275
1275
|
borderWidth: 1,
|
|
1276
1276
|
cellPadding: 8,
|
|
1277
1277
|
fontSize: 15,
|
|
1278
1278
|
textAlign: "left"
|
|
1279
|
-
},
|
|
1279
|
+
}, nn = {
|
|
1280
1280
|
targetDate: "",
|
|
1281
1281
|
timezone: "UTC",
|
|
1282
1282
|
showDays: !0,
|
|
@@ -1296,21 +1296,21 @@ var Ut = {
|
|
|
1296
1296
|
expiredMessage: "This offer has expired",
|
|
1297
1297
|
expiredImageUrl: "",
|
|
1298
1298
|
hideOnExpiry: !1
|
|
1299
|
-
}, nn = {
|
|
1300
|
-
title: Ut,
|
|
1301
|
-
paragraph: Wt,
|
|
1302
|
-
image: Gt,
|
|
1303
|
-
button: Kt,
|
|
1304
|
-
divider: qt,
|
|
1305
|
-
section: Jt,
|
|
1306
|
-
video: Yt,
|
|
1307
|
-
social: Xt,
|
|
1308
|
-
spacer: Zt,
|
|
1309
|
-
html: Qt,
|
|
1310
|
-
menu: $t,
|
|
1311
|
-
table: en,
|
|
1312
|
-
countdown: tn
|
|
1313
1299
|
}, rn = {
|
|
1300
|
+
title: Wt,
|
|
1301
|
+
paragraph: Gt,
|
|
1302
|
+
image: Kt,
|
|
1303
|
+
button: qt,
|
|
1304
|
+
divider: Jt,
|
|
1305
|
+
section: Yt,
|
|
1306
|
+
video: Xt,
|
|
1307
|
+
social: Zt,
|
|
1308
|
+
spacer: Qt,
|
|
1309
|
+
html: $t,
|
|
1310
|
+
menu: en,
|
|
1311
|
+
table: tn,
|
|
1312
|
+
countdown: nn
|
|
1313
|
+
}, an = {
|
|
1314
1314
|
width: 600,
|
|
1315
1315
|
backgroundColor: "#ffffff",
|
|
1316
1316
|
textColor: "#1a1a1a",
|
|
@@ -1318,28 +1318,28 @@ var Ut = {
|
|
|
1318
1318
|
fontFamily: "Arial",
|
|
1319
1319
|
locale: "en"
|
|
1320
1320
|
};
|
|
1321
|
-
function
|
|
1321
|
+
function on(e) {
|
|
1322
1322
|
return typeof e == "object" && !!e && !Array.isArray(e) && Object.getPrototypeOf(e) === Object.prototype;
|
|
1323
1323
|
}
|
|
1324
|
-
function
|
|
1324
|
+
function sn(e, t) {
|
|
1325
1325
|
let n = { ...e };
|
|
1326
1326
|
for (let r of Object.keys(t)) {
|
|
1327
1327
|
let i = e[r], a = t[r];
|
|
1328
|
-
a !== void 0 && (n[r] =
|
|
1328
|
+
a !== void 0 && (n[r] = on(i) && on(a) ? sn(i, a) : a);
|
|
1329
1329
|
}
|
|
1330
1330
|
return n;
|
|
1331
1331
|
}
|
|
1332
|
-
function
|
|
1332
|
+
function cn(e = "Arial", t) {
|
|
1333
1333
|
return {
|
|
1334
1334
|
blocks: [],
|
|
1335
1335
|
settings: {
|
|
1336
|
-
...
|
|
1336
|
+
...an,
|
|
1337
1337
|
fontFamily: e,
|
|
1338
1338
|
...t
|
|
1339
1339
|
}
|
|
1340
1340
|
};
|
|
1341
1341
|
}
|
|
1342
|
-
var
|
|
1342
|
+
var ln = [
|
|
1343
1343
|
"ar",
|
|
1344
1344
|
"he",
|
|
1345
1345
|
"iw",
|
|
@@ -1353,23 +1353,23 @@ var cn = [
|
|
|
1353
1353
|
"ckb",
|
|
1354
1354
|
"ks"
|
|
1355
1355
|
];
|
|
1356
|
-
function
|
|
1356
|
+
function un(e) {
|
|
1357
1357
|
let t = e?.trim().replace(/_/g, "-").split("-")[0]?.toLowerCase();
|
|
1358
|
-
return !!t &&
|
|
1358
|
+
return !!t && ln.includes(t);
|
|
1359
1359
|
}
|
|
1360
|
-
function
|
|
1361
|
-
return e.direction === "ltr" || e.direction === "rtl" ? e.direction :
|
|
1360
|
+
function dn(e) {
|
|
1361
|
+
return e.direction === "ltr" || e.direction === "rtl" ? e.direction : un(e.locale) ? "rtl" : "ltr";
|
|
1362
1362
|
}
|
|
1363
|
-
var
|
|
1364
|
-
function
|
|
1363
|
+
var fn = 2e4, pn = /* @__PURE__ */ new Set(["\"", "'"]);
|
|
1364
|
+
function mn(e, t) {
|
|
1365
1365
|
let n = null, r = "tag";
|
|
1366
1366
|
for (let i = t; i < e.length; i++) {
|
|
1367
1367
|
let t = e[i];
|
|
1368
1368
|
if (n !== null) t === n && (n = null);
|
|
1369
1369
|
else {
|
|
1370
1370
|
if (r === "beforeValue") {
|
|
1371
|
-
if (
|
|
1372
|
-
if (
|
|
1371
|
+
if (H(t)) continue;
|
|
1372
|
+
if (pn.has(t)) {
|
|
1373
1373
|
n = t, r = "tag";
|
|
1374
1374
|
continue;
|
|
1375
1375
|
}
|
|
@@ -1377,19 +1377,19 @@ function pn(e, t) {
|
|
|
1377
1377
|
}
|
|
1378
1378
|
if (r === "unquotedValue") {
|
|
1379
1379
|
if (t === ">") return i;
|
|
1380
|
-
|
|
1380
|
+
H(t) && (r = "tag");
|
|
1381
1381
|
} else if (t === "=") r = "beforeValue";
|
|
1382
1382
|
else if (t === ">") return i;
|
|
1383
1383
|
}
|
|
1384
1384
|
}
|
|
1385
1385
|
return -1;
|
|
1386
1386
|
}
|
|
1387
|
-
function
|
|
1387
|
+
function hn(e, t) {
|
|
1388
1388
|
let n = null;
|
|
1389
1389
|
for (let r = t; r < e.length; r++) {
|
|
1390
1390
|
let t = e[r];
|
|
1391
1391
|
if (n !== null) t === n && (n = null);
|
|
1392
|
-
else if (
|
|
1392
|
+
else if (pn.has(t)) n = t;
|
|
1393
1393
|
else if (t === ">") return {
|
|
1394
1394
|
end: r,
|
|
1395
1395
|
nextSpan: -1
|
|
@@ -1404,13 +1404,13 @@ function mn(e, t) {
|
|
|
1404
1404
|
nextSpan: -1
|
|
1405
1405
|
};
|
|
1406
1406
|
}
|
|
1407
|
-
function
|
|
1407
|
+
function gn(e) {
|
|
1408
1408
|
return e !== " " && e !== " " && e !== "\n" && e !== "\r" && e !== "\f" && e !== "=" && e !== ">" && e !== "/";
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1410
|
+
function H(e) {
|
|
1411
1411
|
return e === " " || e === " " || e === "\n" || e === "\r" || e === "\f";
|
|
1412
1412
|
}
|
|
1413
|
-
var
|
|
1413
|
+
var _n = {
|
|
1414
1414
|
AMP: "&",
|
|
1415
1415
|
COPY: "©",
|
|
1416
1416
|
GT: ">",
|
|
@@ -1671,50 +1671,50 @@ var gn = {
|
|
|
1671
1671
|
zwj: "",
|
|
1672
1672
|
zwnj: ""
|
|
1673
1673
|
};
|
|
1674
|
-
function
|
|
1674
|
+
function U(e) {
|
|
1675
1675
|
return e.includes("&") ? e.replace(/&(#[0-9]+|#[xX][0-9a-fA-F]+|[a-zA-Z][a-zA-Z0-9]*);/g, (e, t) => {
|
|
1676
1676
|
if (t[0] === "#") {
|
|
1677
1677
|
let n = t[1] === "x" || t[1] === "X" ? Number.parseInt(t.slice(2), 16) : Number.parseInt(t.slice(1), 10);
|
|
1678
1678
|
return !Number.isFinite(n) || n < 1 || n > 1114111 || n >= 55296 && n <= 57343 ? e : String.fromCodePoint(n);
|
|
1679
1679
|
}
|
|
1680
|
-
return Object.hasOwn(
|
|
1680
|
+
return Object.hasOwn(_n, t) ? _n[t] : e;
|
|
1681
1681
|
}) : e;
|
|
1682
1682
|
}
|
|
1683
|
-
function
|
|
1683
|
+
function vn(e, t) {
|
|
1684
1684
|
let n = t.toLowerCase(), r = 0;
|
|
1685
1685
|
for (; r < e.length;) {
|
|
1686
|
-
for (; r < e.length && (
|
|
1686
|
+
for (; r < e.length && (H(e[r]) || e[r] === "/");) r++;
|
|
1687
1687
|
if (r >= e.length) break;
|
|
1688
1688
|
let t = r;
|
|
1689
|
-
for (; r < e.length &&
|
|
1689
|
+
for (; r < e.length && gn(e[r]);) r++;
|
|
1690
1690
|
let i = e.substring(t, r).toLowerCase();
|
|
1691
1691
|
if (i === "") {
|
|
1692
1692
|
r++;
|
|
1693
1693
|
continue;
|
|
1694
1694
|
}
|
|
1695
|
-
for (; r < e.length &&
|
|
1695
|
+
for (; r < e.length && H(e[r]);) r++;
|
|
1696
1696
|
if (e[r] !== "=") continue;
|
|
1697
|
-
for (r++; r < e.length &&
|
|
1697
|
+
for (r++; r < e.length && H(e[r]);) r++;
|
|
1698
1698
|
let a = e[r];
|
|
1699
|
-
if (
|
|
1699
|
+
if (pn.has(a)) {
|
|
1700
1700
|
let t = r + 1, o = e.indexOf(a, t);
|
|
1701
1701
|
if (o === -1) return null;
|
|
1702
|
-
if (i === n) return
|
|
1702
|
+
if (i === n) return U(e.substring(t, o));
|
|
1703
1703
|
r = o + 1;
|
|
1704
1704
|
continue;
|
|
1705
1705
|
}
|
|
1706
1706
|
let o = r;
|
|
1707
|
-
for (; r < e.length && !
|
|
1708
|
-
if (i === n) return
|
|
1707
|
+
for (; r < e.length && !H(e[r]) && e[r] !== ">";) r++;
|
|
1708
|
+
if (i === n) return U(e.substring(o, r));
|
|
1709
1709
|
}
|
|
1710
1710
|
return null;
|
|
1711
1711
|
}
|
|
1712
|
-
function
|
|
1713
|
-
return
|
|
1712
|
+
function yn(e, t) {
|
|
1713
|
+
return xn(e, t, !0);
|
|
1714
1714
|
}
|
|
1715
|
-
function
|
|
1715
|
+
function bn(e) {
|
|
1716
1716
|
let t = [];
|
|
1717
|
-
return
|
|
1717
|
+
return xn(e, (n, r, i) => {
|
|
1718
1718
|
let a = e.slice(r, i);
|
|
1719
1719
|
return t.push({
|
|
1720
1720
|
start: r,
|
|
@@ -1723,7 +1723,7 @@ function yn(e) {
|
|
|
1723
1723
|
}), a;
|
|
1724
1724
|
}, !0), t;
|
|
1725
1725
|
}
|
|
1726
|
-
function
|
|
1726
|
+
function xn(e, t, n) {
|
|
1727
1727
|
let r = "", i = 0;
|
|
1728
1728
|
for (; i < e.length;) {
|
|
1729
1729
|
let a = e.indexOf("<span", i);
|
|
@@ -1736,7 +1736,7 @@ function bn(e, t, n) {
|
|
|
1736
1736
|
r += e.substring(i, a + 5), i = a + 5;
|
|
1737
1737
|
continue;
|
|
1738
1738
|
}
|
|
1739
|
-
let { end: s, nextSpan: c } =
|
|
1739
|
+
let { end: s, nextSpan: c } = hn(e, a + 5);
|
|
1740
1740
|
if (c !== -1) {
|
|
1741
1741
|
r += e.substring(i, c), i = c;
|
|
1742
1742
|
continue;
|
|
@@ -1745,12 +1745,12 @@ function bn(e, t, n) {
|
|
|
1745
1745
|
r += e.substring(i);
|
|
1746
1746
|
break;
|
|
1747
1747
|
}
|
|
1748
|
-
let l = e.substring(a + 5, s), u =
|
|
1748
|
+
let l = e.substring(a + 5, s), u = Cn(l, "data-merge-tag") ?? Cn(l, "data-logic-merge-tag");
|
|
1749
1749
|
if (u === null) {
|
|
1750
1750
|
r += e.substring(i, s + 1), i = s + 1;
|
|
1751
1751
|
continue;
|
|
1752
1752
|
}
|
|
1753
|
-
let d =
|
|
1753
|
+
let d = Sn(e, s + 1, n);
|
|
1754
1754
|
if (d === -1) {
|
|
1755
1755
|
r += e.substring(i);
|
|
1756
1756
|
break;
|
|
@@ -1759,7 +1759,7 @@ function bn(e, t, n) {
|
|
|
1759
1759
|
}
|
|
1760
1760
|
return r;
|
|
1761
1761
|
}
|
|
1762
|
-
function
|
|
1762
|
+
function Sn(e, t, n) {
|
|
1763
1763
|
if (!n) {
|
|
1764
1764
|
let n = e.indexOf("</span>", t);
|
|
1765
1765
|
return n === -1 ? -1 : n + 7;
|
|
@@ -1768,7 +1768,7 @@ function xn(e, t, n) {
|
|
|
1768
1768
|
for (; i < e.length;) {
|
|
1769
1769
|
let t = e.indexOf("<", i);
|
|
1770
1770
|
if (t === -1) return -1;
|
|
1771
|
-
let n =
|
|
1771
|
+
let n = mn(e, t + 1);
|
|
1772
1772
|
if (n === -1) return -1;
|
|
1773
1773
|
let a = e.startsWith("</span", t), o = e.startsWith("<span", t), s = e[t + (a ? 6 : 5)];
|
|
1774
1774
|
if ((o || a) && (s === ">" || s === "/" || /\s/.test(s)) && (r += a ? -1 : 1, r === 0)) return n + 1;
|
|
@@ -1776,10 +1776,10 @@ function xn(e, t, n) {
|
|
|
1776
1776
|
}
|
|
1777
1777
|
return -1;
|
|
1778
1778
|
}
|
|
1779
|
-
function
|
|
1780
|
-
return
|
|
1779
|
+
function Cn(e, t) {
|
|
1780
|
+
return vn(e, t);
|
|
1781
1781
|
}
|
|
1782
|
-
var
|
|
1782
|
+
var W = {
|
|
1783
1783
|
liquid: {
|
|
1784
1784
|
value: /\{\{.+?\}\}/g,
|
|
1785
1785
|
logic: /\{%-?\s*(\w+).*?-?%\}/g,
|
|
@@ -1805,13 +1805,13 @@ var G = {
|
|
|
1805
1805
|
closer: "=%%"
|
|
1806
1806
|
}
|
|
1807
1807
|
};
|
|
1808
|
-
function
|
|
1809
|
-
return Object.keys(
|
|
1810
|
-
let n =
|
|
1808
|
+
function G(e) {
|
|
1809
|
+
return Object.keys(W).find((t) => {
|
|
1810
|
+
let n = W[t];
|
|
1811
1811
|
return (e.value === n.value || e.value.source === n.value.source && e.value.flags.replace(/[gy]/g, "") === n.value.flags.replace(/[gy]/g, "")) && (e.logic === n.logic || e.logic.source === n.logic.source && e.logic.flags.replace(/[gy]/g, "") === n.logic.flags.replace(/[gy]/g, ""));
|
|
1812
1812
|
});
|
|
1813
1813
|
}
|
|
1814
|
-
function
|
|
1814
|
+
function wn(e, t, n) {
|
|
1815
1815
|
for (let r = n; r < e.length; r++) {
|
|
1816
1816
|
let n = e.charCodeAt(r);
|
|
1817
1817
|
if (n === 10 || n === 13 || n === 8232 || n === 8233) return {
|
|
@@ -1828,8 +1828,8 @@ function Cn(e, t, n) {
|
|
|
1828
1828
|
lineBreak: -1
|
|
1829
1829
|
};
|
|
1830
1830
|
}
|
|
1831
|
-
function
|
|
1832
|
-
let a =
|
|
1831
|
+
function K(e, t, n, r = 0, i = Infinity) {
|
|
1832
|
+
let a = G(t);
|
|
1833
1833
|
if (!a) {
|
|
1834
1834
|
let a = t[n], o = new RegExp(a.source, a.flags.replace(/[gy]/g, "") + "g");
|
|
1835
1835
|
return o.lastIndex = r, [...e.matchAll(o)].slice(0, i).map((e) => ({
|
|
@@ -1853,7 +1853,7 @@ function q(e, t, n, r = 0, i = Infinity) {
|
|
|
1853
1853
|
let r = u?.lastIndex ?? t + s.length, i = a === "mailchimp" && n === "value" ? {
|
|
1854
1854
|
close: e.startsWith(c, r) ? r : -1,
|
|
1855
1855
|
lineBreak: -1
|
|
1856
|
-
} :
|
|
1856
|
+
} : wn(e, c, Math.max(r, t + s.length + +(n === "value")));
|
|
1857
1857
|
if (i.lineBreak >= 0) {
|
|
1858
1858
|
let r = i.lineBreak, o = n === "logic" && (a === "liquid" || a === "ampscript") ? e.lastIndexOf(s, r) : -1;
|
|
1859
1859
|
p = o > t ? o : r + 1;
|
|
@@ -1875,8 +1875,8 @@ function q(e, t, n, r = 0, i = Infinity) {
|
|
|
1875
1875
|
}
|
|
1876
1876
|
return f;
|
|
1877
1877
|
}
|
|
1878
|
-
function
|
|
1879
|
-
let n =
|
|
1878
|
+
function Tn(e, t) {
|
|
1879
|
+
let n = G(t);
|
|
1880
1880
|
if (!n) {
|
|
1881
1881
|
let n = RegExp(`(${t.value.source}|${t.logic.source})`, "g");
|
|
1882
1882
|
return [...e.matchAll(n)].map((e) => ({
|
|
@@ -1884,7 +1884,7 @@ function wn(e, t) {
|
|
|
1884
1884
|
value: e[0]
|
|
1885
1885
|
}));
|
|
1886
1886
|
}
|
|
1887
|
-
if (n === "handlebars") return
|
|
1887
|
+
if (n === "handlebars") return K(e, t, "value");
|
|
1888
1888
|
if (n === "mailchimp") {
|
|
1889
1889
|
let n = [], r = new RegExp(t.value.source, "y"), i = new RegExp(t.logic.source, "y"), a = /\*\|\w+[:|]/y, o = 0;
|
|
1890
1890
|
for (; o < e.length;) {
|
|
@@ -1903,7 +1903,7 @@ function wn(e, t) {
|
|
|
1903
1903
|
o = t + 2;
|
|
1904
1904
|
continue;
|
|
1905
1905
|
}
|
|
1906
|
-
let c =
|
|
1906
|
+
let c = wn(e, "|*", a.lastIndex);
|
|
1907
1907
|
if (c.lineBreak >= 0) {
|
|
1908
1908
|
o = c.lineBreak + 1;
|
|
1909
1909
|
continue;
|
|
@@ -1918,78 +1918,82 @@ function wn(e, t) {
|
|
|
1918
1918
|
}
|
|
1919
1919
|
return n;
|
|
1920
1920
|
}
|
|
1921
|
-
let r = [], i = 0, a =
|
|
1921
|
+
let r = [], i = 0, a = K(e, t, "value", i, 1)[0], o = K(e, t, "logic", i, 1)[0];
|
|
1922
1922
|
for (; a || o;) {
|
|
1923
1923
|
let n = !o || a && a.index <= o.index ? a : o;
|
|
1924
|
-
r.push(n), i = n.index + n.value.length, (n === a || a && a.index < i) && (a =
|
|
1924
|
+
r.push(n), i = n.index + n.value.length, (n === a || a && a.index < i) && (a = K(e, t, "value", i, 1)[0]), (n === o || o && o.index < i) && (o = K(e, t, "logic", i, 1)[0]);
|
|
1925
1925
|
}
|
|
1926
1926
|
return r;
|
|
1927
1927
|
}
|
|
1928
|
-
function Tn(e) {
|
|
1929
|
-
return typeof e == "string" && e.trim() !== "" ? e : null;
|
|
1930
|
-
}
|
|
1931
1928
|
function En(e) {
|
|
1932
|
-
return
|
|
1929
|
+
return typeof e == "string" && e.trim() !== "" ? e : null;
|
|
1933
1930
|
}
|
|
1934
1931
|
function Dn(e) {
|
|
1935
|
-
return
|
|
1932
|
+
return Object.values(W).find((t) => t.value.source === e.value.source) ?? null;
|
|
1936
1933
|
}
|
|
1937
1934
|
function On(e) {
|
|
1938
|
-
return
|
|
1935
|
+
return En(e.opener) ?? Dn(e)?.opener ?? null;
|
|
1939
1936
|
}
|
|
1940
1937
|
function kn(e) {
|
|
1941
|
-
return e
|
|
1938
|
+
return En(e.closer) ?? Dn(e)?.closer ?? null;
|
|
1942
1939
|
}
|
|
1943
1940
|
function An(e) {
|
|
1941
|
+
return e ? typeof e == "string" ? W[e] ?? W.liquid : e : W.liquid;
|
|
1942
|
+
}
|
|
1943
|
+
function jn(e) {
|
|
1944
1944
|
let t = e.source, n = e.flags.replace("g", "");
|
|
1945
1945
|
return RegExp(`^${t}$`, n);
|
|
1946
1946
|
}
|
|
1947
|
-
function
|
|
1947
|
+
function Mn(e, t) {
|
|
1948
1948
|
let n = e?.trim() || "";
|
|
1949
|
-
return !
|
|
1949
|
+
return !jn(t.logic).test(n) && jn(t.value).test(n);
|
|
1950
1950
|
}
|
|
1951
|
-
function
|
|
1951
|
+
function Nn(e, t) {
|
|
1952
1952
|
let n = t.find((t) => t.value === e);
|
|
1953
1953
|
return n ? n.label : e;
|
|
1954
1954
|
}
|
|
1955
|
-
function Nn(e, t) {
|
|
1956
|
-
return Un(e, "data-merge-tag", (e) => Mn(e, t));
|
|
1957
|
-
}
|
|
1958
1955
|
function Pn(e, t) {
|
|
1959
|
-
return
|
|
1956
|
+
return q(e, "data-merge-tag", (e) => Nn(e, t));
|
|
1960
1957
|
}
|
|
1961
1958
|
function Fn(e, t) {
|
|
1962
|
-
return
|
|
1959
|
+
return t.find((t) => t.value === e)?.sample;
|
|
1960
|
+
}
|
|
1961
|
+
function In(e, t) {
|
|
1962
|
+
return q(e, "data-merge-tag", (e) => Bn(Fn(e, t) ?? Nn(e, t)), { unwrap: (e) => Fn(e, t) !== void 0 });
|
|
1963
1963
|
}
|
|
1964
|
-
function
|
|
1964
|
+
function Ln(e, t, n) {
|
|
1965
|
+
let r = (e) => t.some((t) => t.value === e) || Mn(e, n), i = (e) => Hn(e, n);
|
|
1966
|
+
return q(q(e, "data-merge-tag", (e) => r(e) ? Nn(e, t) : Bn(e), { unwrap: (e) => !r(e) }), "data-logic-merge-tag", (e) => i(e) ? Un(e, n) : Bn(e), { unwrap: (e) => !i(e) });
|
|
1967
|
+
}
|
|
1968
|
+
function Rn(e) {
|
|
1965
1969
|
return e.some((e) => e.sample !== void 0);
|
|
1966
1970
|
}
|
|
1967
|
-
function
|
|
1971
|
+
function zn(e, t) {
|
|
1968
1972
|
if (!e) return e;
|
|
1969
1973
|
let n = e;
|
|
1970
1974
|
for (let e of t) e.sample !== void 0 && (n = n.split(e.value).join(e.sample));
|
|
1971
1975
|
return n;
|
|
1972
1976
|
}
|
|
1973
|
-
function
|
|
1977
|
+
function Bn(e) {
|
|
1974
1978
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
1975
1979
|
}
|
|
1976
|
-
function
|
|
1980
|
+
function Vn(e, t) {
|
|
1977
1981
|
if (!e) return !1;
|
|
1978
|
-
if (
|
|
1982
|
+
if (G(t)) return K(e, t, "value", 0, 1).length > 0 || K(e, t, "logic", 0, 1).length > 0;
|
|
1979
1983
|
let n = new RegExp(t.value.source, t.value.flags), r = new RegExp(t.logic.source, t.logic.flags);
|
|
1980
1984
|
return n.test(e) || r.test(e);
|
|
1981
1985
|
}
|
|
1982
|
-
function
|
|
1983
|
-
return
|
|
1986
|
+
function Hn(e, t) {
|
|
1987
|
+
return jn(t.logic).test(e?.trim() || "");
|
|
1984
1988
|
}
|
|
1985
|
-
function
|
|
1989
|
+
function Un(e, t) {
|
|
1986
1990
|
let n = new RegExp(t.logic.source, t.logic.flags.replace("g", "")), r = e.match(n);
|
|
1987
1991
|
return r && r[1] ? r[1].toUpperCase() : e;
|
|
1988
1992
|
}
|
|
1989
|
-
function
|
|
1990
|
-
return
|
|
1993
|
+
function Wn(e, t) {
|
|
1994
|
+
return q(e, "data-logic-merge-tag", (e) => Un(e, t));
|
|
1991
1995
|
}
|
|
1992
|
-
function
|
|
1996
|
+
function q(e, t, n, r) {
|
|
1993
1997
|
let i = "", a = 0;
|
|
1994
1998
|
for (; a < e.length;) {
|
|
1995
1999
|
let o = e.indexOf("<span", a);
|
|
@@ -2002,7 +2006,7 @@ function Un(e, t, n, r) {
|
|
|
2002
2006
|
i += e.substring(a, o + 5), a = o + 5;
|
|
2003
2007
|
continue;
|
|
2004
2008
|
}
|
|
2005
|
-
let { end: c, nextSpan: l } =
|
|
2009
|
+
let { end: c, nextSpan: l } = hn(e, o + 5);
|
|
2006
2010
|
if (l !== -1) {
|
|
2007
2011
|
i += e.substring(a, l), a = l;
|
|
2008
2012
|
continue;
|
|
@@ -2011,7 +2015,7 @@ function Un(e, t, n, r) {
|
|
|
2011
2015
|
i += e.substring(a);
|
|
2012
2016
|
break;
|
|
2013
2017
|
}
|
|
2014
|
-
let u =
|
|
2018
|
+
let u = vn(e.substring(o + 5, c), t);
|
|
2015
2019
|
if (u === null) {
|
|
2016
2020
|
i += e.substring(a, c + 1), a = c + 1;
|
|
2017
2021
|
continue;
|
|
@@ -2026,14 +2030,14 @@ function Un(e, t, n, r) {
|
|
|
2026
2030
|
}
|
|
2027
2031
|
return i;
|
|
2028
2032
|
}
|
|
2029
|
-
var
|
|
2033
|
+
var Gn = {
|
|
2030
2034
|
title: ["content"],
|
|
2031
2035
|
paragraph: ["content"]
|
|
2032
2036
|
};
|
|
2033
|
-
function
|
|
2037
|
+
function Kn(e) {
|
|
2034
2038
|
let t = [], n = /<[a-z][\w:-]*\b/gi;
|
|
2035
2039
|
for (; n.exec(e);) {
|
|
2036
|
-
let r =
|
|
2040
|
+
let r = mn(e, n.lastIndex);
|
|
2037
2041
|
if (r < 0) break;
|
|
2038
2042
|
let i = n.lastIndex, a = e.slice(i, r), o = /[^\s"'<>/=]+\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'=<>`]+))/g;
|
|
2039
2043
|
for (let e; e = o.exec(a);) {
|
|
@@ -2047,12 +2051,12 @@ function Gn(e) {
|
|
|
2047
2051
|
}
|
|
2048
2052
|
return t;
|
|
2049
2053
|
}
|
|
2050
|
-
function
|
|
2051
|
-
let r = n === "html" ?
|
|
2054
|
+
function qn(e, t, n) {
|
|
2055
|
+
let r = n === "html" ? bn(e) : [], i = n === "html" ? Kn(e) : [], a = r.map((e) => ({
|
|
2052
2056
|
...e,
|
|
2053
2057
|
attribute: !1
|
|
2054
|
-
})), o = 0, s =
|
|
2055
|
-
let c = e.slice(n, r), l = ["logic", "value"], u = s ? l.map((e) =>
|
|
2058
|
+
})), o = 0, s = G(t) !== void 0, c = (n, r) => {
|
|
2059
|
+
let c = e.slice(n, r), l = ["logic", "value"], u = s ? l.map((e) => K(c, t, e, 0, 1)[0]) : [void 0, void 0], d = s ? null : [t.logic, t.value].map((e) => new RegExp(e.source, e.flags.replace(/[gy]/g, "") + "g")), f = 0;
|
|
2056
2060
|
for (; f < c.length;) {
|
|
2057
2061
|
let e = s ? u.flatMap((e) => e ? [e] : []) : d.flatMap((e, t) => {
|
|
2058
2062
|
let n = u[t];
|
|
@@ -2077,20 +2081,20 @@ function Kn(e, t, n) {
|
|
|
2077
2081
|
end: ee,
|
|
2078
2082
|
markup: r.value,
|
|
2079
2083
|
attribute: i[o] !== void 0 && p >= i[o].start && ee <= i[o].end
|
|
2080
|
-
}), f = r.index + r.value.length, s) for (let e = 0; e < l.length; e++) u[e] && u[e].index < f && (u[e] =
|
|
2084
|
+
}), f = r.index + r.value.length, s) for (let e = 0; e < l.length; e++) u[e] && u[e].index < f && (u[e] = K(c, t, l[e], f, 1)[0]);
|
|
2081
2085
|
}
|
|
2082
2086
|
}, l = 0;
|
|
2083
2087
|
for (let e of r) c(l, e.start), l = e.end;
|
|
2084
2088
|
return c(l, e.length), a.sort((e, t) => e.start - t.start);
|
|
2085
2089
|
}
|
|
2086
|
-
function
|
|
2090
|
+
function Jn(e) {
|
|
2087
2091
|
if (!e.includes("&")) return { text: e };
|
|
2088
2092
|
let t = "", n = [0], r = 0, i = (i) => {
|
|
2089
2093
|
for (t += e.slice(r, i); r < i;) n.push(++r);
|
|
2090
2094
|
};
|
|
2091
2095
|
for (let a of e.matchAll(/&(?:#[0-9]+|#[xX][0-9a-fA-F]+|[a-zA-Z][a-zA-Z0-9]*);/g)) {
|
|
2092
2096
|
i(a.index);
|
|
2093
|
-
let e =
|
|
2097
|
+
let e = U(a[0]);
|
|
2094
2098
|
t += e;
|
|
2095
2099
|
for (let t = 1; t < e.length; t++) n.push(-1);
|
|
2096
2100
|
r = a.index + a[0].length, n.push(r);
|
|
@@ -2100,17 +2104,17 @@ function qn(e) {
|
|
|
2100
2104
|
offsets: n
|
|
2101
2105
|
};
|
|
2102
2106
|
}
|
|
2103
|
-
var J = /* @__PURE__ */ new Map(),
|
|
2104
|
-
function
|
|
2107
|
+
var J = /* @__PURE__ */ new Map(), Yn = 32;
|
|
2108
|
+
function Xn(e) {
|
|
2105
2109
|
let t = JSON.stringify(e), n = J.get(t);
|
|
2106
2110
|
if (n === void 0) {
|
|
2107
2111
|
let r = e.map((e) => e.trim()).filter(Boolean).sort((e, t) => t.length - e.length).map((e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
|
|
2108
|
-
n = r.length ? RegExp(`(?<![\\p{L}\\p{N}_])(?:${r.join("|")})(?![\\p{L}\\p{N}_])`, "gu") : null, J.size >=
|
|
2112
|
+
n = r.length ? RegExp(`(?<![\\p{L}\\p{N}_])(?:${r.join("|")})(?![\\p{L}\\p{N}_])`, "gu") : null, J.size >= Yn && J.delete(J.keys().next().value), J.set(t, n);
|
|
2109
2113
|
}
|
|
2110
2114
|
return n;
|
|
2111
2115
|
}
|
|
2112
|
-
function
|
|
2113
|
-
let r = n.length ?
|
|
2116
|
+
function Zn(e, t, n) {
|
|
2117
|
+
let r = n.length ? Xn(n) : null;
|
|
2114
2118
|
if (!r) return [];
|
|
2115
2119
|
let i = [];
|
|
2116
2120
|
if (t === "text") i.push({
|
|
@@ -2119,7 +2123,7 @@ function Xn(e, t, n) {
|
|
|
2119
2123
|
attribute: !1
|
|
2120
2124
|
});
|
|
2121
2125
|
else {
|
|
2122
|
-
i.push(...
|
|
2126
|
+
i.push(...Kn(e).map((e) => ({
|
|
2123
2127
|
...e,
|
|
2124
2128
|
attribute: !0
|
|
2125
2129
|
})));
|
|
@@ -2130,7 +2134,7 @@ function Xn(e, t, n) {
|
|
|
2130
2134
|
end: r.index,
|
|
2131
2135
|
attribute: !1
|
|
2132
2136
|
});
|
|
2133
|
-
let a = r[0] === "<!--" ? e.indexOf("-->", t.lastIndex) :
|
|
2137
|
+
let a = r[0] === "<!--" ? e.indexOf("-->", t.lastIndex) : mn(e, t.lastIndex);
|
|
2134
2138
|
if (a < 0) return [];
|
|
2135
2139
|
n = a + (r[0] === "<!--" ? 3 : 1), t.lastIndex = n;
|
|
2136
2140
|
}
|
|
@@ -2143,7 +2147,7 @@ function Xn(e, t, n) {
|
|
|
2143
2147
|
let a = [];
|
|
2144
2148
|
for (let n of i) {
|
|
2145
2149
|
r.lastIndex = 0;
|
|
2146
|
-
let i = e.slice(n.start, n.end), o = t === "html" ?
|
|
2150
|
+
let i = e.slice(n.start, n.end), o = t === "html" ? Jn(i) : {
|
|
2147
2151
|
text: i,
|
|
2148
2152
|
offsets: void 0
|
|
2149
2153
|
};
|
|
@@ -2162,40 +2166,40 @@ function Xn(e, t, n) {
|
|
|
2162
2166
|
}
|
|
2163
2167
|
return a;
|
|
2164
2168
|
}
|
|
2165
|
-
function
|
|
2166
|
-
let i =
|
|
2169
|
+
function Qn(e, t, n, r) {
|
|
2170
|
+
let i = qn(e, t, n), a = Zn(e, n, r?.doNotTranslate ?? []).filter((e) => !i.some((t) => e.start < t.end && e.end > t.start));
|
|
2167
2171
|
return [...i, ...a].sort((e, t) => e.start - t.start);
|
|
2168
2172
|
}
|
|
2169
|
-
function
|
|
2173
|
+
function $n(e, t, n) {
|
|
2170
2174
|
let r = "", i = 0;
|
|
2171
2175
|
return t.forEach((t, a) => {
|
|
2172
2176
|
r += e.slice(i, t.start), r += t.attribute ? `__x${n[a]}__` : `<x id="${n[a]}"/>`, i = t.end;
|
|
2173
2177
|
}), r + e.slice(i);
|
|
2174
2178
|
}
|
|
2175
|
-
function
|
|
2176
|
-
let i =
|
|
2179
|
+
function er(e, t, n, r) {
|
|
2180
|
+
let i = Qn(e, t, n, r);
|
|
2177
2181
|
return {
|
|
2178
|
-
text:
|
|
2182
|
+
text: $n(e, i, i.map((e, t) => t + 1)),
|
|
2179
2183
|
tokens: i.map((e) => e.markup)
|
|
2180
2184
|
};
|
|
2181
2185
|
}
|
|
2182
|
-
function
|
|
2186
|
+
function tr(e, t) {
|
|
2183
2187
|
let n = /* @__PURE__ */ new Set(), r = !0, i = e.replace(/<x id="(\d+)"\s*\/>|<x id="(\d+)"><\/x>|__x(\d+)__/g, (e, i, a, o) => {
|
|
2184
2188
|
let s = Number(i ?? a ?? o);
|
|
2185
2189
|
return (s < 1 || s > t.length || n.has(s)) && (r = !1), n.add(s), t[s - 1] ?? "";
|
|
2186
2190
|
});
|
|
2187
2191
|
return r && n.size === t.length ? i : null;
|
|
2188
2192
|
}
|
|
2189
|
-
function
|
|
2190
|
-
let a =
|
|
2193
|
+
function nr(e, t, n, r, i) {
|
|
2194
|
+
let a = Qn(e, n, r, i), o = /* @__PURE__ */ new Set(), s = (e) => {
|
|
2191
2195
|
let n = t.findIndex((t, n) => !o.has(n) && e(t));
|
|
2192
2196
|
return n >= 0 && o.add(n), n;
|
|
2193
2197
|
}, c = a.map((e) => s((t) => t === e.markup));
|
|
2194
2198
|
return a.forEach((e, t) => {
|
|
2195
|
-
c[t] < 0 && e.term !== void 0 && r === "html" && (c[t] = s((t) =>
|
|
2196
|
-
}), o.size !== t.length || a.some((e, t) => c[t] < 0 && e.term === void 0) ? null :
|
|
2199
|
+
c[t] < 0 && e.term !== void 0 && r === "html" && (c[t] = s((t) => U(t) === e.term));
|
|
2200
|
+
}), o.size !== t.length || a.some((e, t) => c[t] < 0 && e.term === void 0) ? null : $n(e, a.filter((e, t) => c[t] >= 0), c.filter((e) => e >= 0).map((e) => e + 1));
|
|
2197
2201
|
}
|
|
2198
|
-
function
|
|
2202
|
+
function rr(e, t, n = []) {
|
|
2199
2203
|
let r = /* @__PURE__ */ new Map();
|
|
2200
2204
|
if (t === C(e) || !e.settings.locales?.includes(t)) return r;
|
|
2201
2205
|
let i = (e, n, i, a) => {
|
|
@@ -2208,7 +2212,7 @@ function nr(e, t, n = []) {
|
|
|
2208
2212
|
target: e,
|
|
2209
2213
|
path: t,
|
|
2210
2214
|
source: i,
|
|
2211
|
-
format: a &&
|
|
2215
|
+
format: a && Gn[a]?.includes(t) ? "html" : "text",
|
|
2212
2216
|
text: o?.text?.[t]
|
|
2213
2217
|
});
|
|
2214
2218
|
}
|
|
@@ -2223,11 +2227,11 @@ function nr(e, t, n = []) {
|
|
|
2223
2227
|
};
|
|
2224
2228
|
return a(e.blocks), i({ kind: "settings" }, e.settings, g), r;
|
|
2225
2229
|
}
|
|
2226
|
-
function
|
|
2230
|
+
function ir(e, t, n) {
|
|
2227
2231
|
let r = n.only === "all" ? null : Pe(e, t, n.definitions), i = r && /* @__PURE__ */ new Set([...r.missing, ...r.stale]), a = [], o = {};
|
|
2228
|
-
for (let [r, s] of
|
|
2232
|
+
for (let [r, s] of rr(e, t, n.definitions)) {
|
|
2229
2233
|
if (i && !i.has(r) || n.blockId !== void 0 && (s.target.kind !== "block" || s.target.blockId !== n.blockId)) continue;
|
|
2230
|
-
let e =
|
|
2234
|
+
let e = er(s.source, n.syntax, s.format, n), t = s.text ? nr(s.text.value, e.tokens, n.syntax, s.format, n) : void 0;
|
|
2231
2235
|
a.push({
|
|
2232
2236
|
id: r,
|
|
2233
2237
|
format: s.format,
|
|
@@ -2241,8 +2245,8 @@ function rr(e, t, n) {
|
|
|
2241
2245
|
tokens: o
|
|
2242
2246
|
};
|
|
2243
2247
|
}
|
|
2244
|
-
function
|
|
2245
|
-
let i =
|
|
2248
|
+
function ar(e, t, n, r) {
|
|
2249
|
+
let i = rr(e, t, r.definitions), a = /* @__PURE__ */ new Map(), o = (e) => {
|
|
2246
2250
|
for (let t of e) if (a.set(t.id, t), t.type === "section") for (let e of t.children) o(e);
|
|
2247
2251
|
else t.type === "wrapper" && o(t.children);
|
|
2248
2252
|
};
|
|
@@ -2258,8 +2262,8 @@ function ir(e, t, n, r) {
|
|
|
2258
2262
|
});
|
|
2259
2263
|
continue;
|
|
2260
2264
|
}
|
|
2261
|
-
let o = Object.hasOwn(r.tokens, t.id) ? r.tokens[t.id] : void 0, u = o ?
|
|
2262
|
-
if (!o || u === null ||
|
|
2265
|
+
let o = Object.hasOwn(r.tokens, t.id) ? r.tokens[t.id] : void 0, u = o ? tr(t.text, o) : null;
|
|
2266
|
+
if (!o || u === null || nr(u, o, r.syntax, n.format, r) === null) {
|
|
2263
2267
|
l.push({
|
|
2264
2268
|
id: t.id,
|
|
2265
2269
|
reason: "tags_changed"
|
|
@@ -2288,20 +2292,20 @@ function ir(e, t, n, r) {
|
|
|
2288
2292
|
rejected: l
|
|
2289
2293
|
};
|
|
2290
2294
|
}
|
|
2291
|
-
var
|
|
2292
|
-
function
|
|
2295
|
+
var or = 1e7, sr = 2e3;
|
|
2296
|
+
function cr(e) {
|
|
2293
2297
|
return new e.Liquid({
|
|
2294
2298
|
strictVariables: !1,
|
|
2295
2299
|
strictFilters: !1,
|
|
2296
2300
|
outputEscape: "escape",
|
|
2297
|
-
memoryLimit:
|
|
2298
|
-
renderLimit:
|
|
2301
|
+
memoryLimit: or,
|
|
2302
|
+
renderLimit: sr,
|
|
2299
2303
|
templates: {}
|
|
2300
2304
|
});
|
|
2301
2305
|
}
|
|
2302
2306
|
function Y(e, t) {
|
|
2303
2307
|
let n = m(e);
|
|
2304
|
-
return !t || Object.keys(t).length === 0 ? n :
|
|
2308
|
+
return !t || Object.keys(t).length === 0 ? n : sn(n, t);
|
|
2305
2309
|
}
|
|
2306
2310
|
function X(e) {
|
|
2307
2311
|
return e === void 0 ? void 0 : m(e);
|
|
@@ -2309,7 +2313,7 @@ function X(e) {
|
|
|
2309
2313
|
function Z() {
|
|
2310
2314
|
return crypto.randomUUID();
|
|
2311
2315
|
}
|
|
2312
|
-
function
|
|
2316
|
+
function lr(e = 0) {
|
|
2313
2317
|
return {
|
|
2314
2318
|
top: e,
|
|
2315
2319
|
right: e,
|
|
@@ -2318,100 +2322,100 @@ function cr(e = 0) {
|
|
|
2318
2322
|
};
|
|
2319
2323
|
}
|
|
2320
2324
|
function Q(e = 10) {
|
|
2321
|
-
return { padding:
|
|
2325
|
+
return { padding: lr(e) };
|
|
2322
2326
|
}
|
|
2323
|
-
function
|
|
2327
|
+
function ur(e = {}) {
|
|
2324
2328
|
return Y({
|
|
2325
2329
|
id: Z(),
|
|
2326
2330
|
type: "title",
|
|
2327
|
-
...
|
|
2331
|
+
...Wt,
|
|
2328
2332
|
styles: Q()
|
|
2329
2333
|
}, e);
|
|
2330
2334
|
}
|
|
2331
|
-
function
|
|
2335
|
+
function dr(e = {}) {
|
|
2332
2336
|
return Y({
|
|
2333
2337
|
id: Z(),
|
|
2334
2338
|
type: "paragraph",
|
|
2335
|
-
...
|
|
2339
|
+
...Gt,
|
|
2336
2340
|
styles: Q()
|
|
2337
2341
|
}, e);
|
|
2338
2342
|
}
|
|
2339
|
-
function
|
|
2343
|
+
function fr(e = {}) {
|
|
2340
2344
|
return Y({
|
|
2341
2345
|
id: Z(),
|
|
2342
2346
|
type: "image",
|
|
2343
|
-
...
|
|
2347
|
+
...Kt,
|
|
2344
2348
|
styles: Q()
|
|
2345
2349
|
}, e);
|
|
2346
2350
|
}
|
|
2347
|
-
function
|
|
2351
|
+
function pr(e = {}) {
|
|
2348
2352
|
return Y({
|
|
2349
2353
|
id: Z(),
|
|
2350
2354
|
type: "button",
|
|
2351
|
-
...
|
|
2355
|
+
...qt,
|
|
2352
2356
|
styles: Q()
|
|
2353
2357
|
}, e);
|
|
2354
2358
|
}
|
|
2355
|
-
function
|
|
2359
|
+
function mr(e = {}) {
|
|
2356
2360
|
return Y({
|
|
2357
2361
|
id: Z(),
|
|
2358
2362
|
type: "divider",
|
|
2359
|
-
...
|
|
2363
|
+
...Jt,
|
|
2360
2364
|
styles: Q(20)
|
|
2361
2365
|
}, e);
|
|
2362
2366
|
}
|
|
2363
|
-
function
|
|
2367
|
+
function hr(e = {}) {
|
|
2364
2368
|
return Y({
|
|
2365
2369
|
id: Z(),
|
|
2366
2370
|
type: "section",
|
|
2367
|
-
...
|
|
2371
|
+
...Yt,
|
|
2368
2372
|
children: [[]],
|
|
2369
2373
|
styles: Q(20)
|
|
2370
2374
|
}, e);
|
|
2371
2375
|
}
|
|
2372
|
-
function
|
|
2376
|
+
function gr(e = {}) {
|
|
2373
2377
|
return Y({
|
|
2374
2378
|
id: Z(),
|
|
2375
2379
|
type: "video",
|
|
2376
|
-
...
|
|
2380
|
+
...Xt,
|
|
2377
2381
|
styles: Q()
|
|
2378
2382
|
}, e);
|
|
2379
2383
|
}
|
|
2380
|
-
function
|
|
2384
|
+
function _r(e = {}) {
|
|
2381
2385
|
return Y({
|
|
2382
2386
|
id: Z(),
|
|
2383
2387
|
type: "social",
|
|
2384
2388
|
icons: [],
|
|
2385
|
-
...
|
|
2389
|
+
...Zt,
|
|
2386
2390
|
styles: Q()
|
|
2387
2391
|
}, e);
|
|
2388
2392
|
}
|
|
2389
|
-
function
|
|
2393
|
+
function vr(e = {}) {
|
|
2390
2394
|
return Y({
|
|
2391
2395
|
id: Z(),
|
|
2392
2396
|
type: "spacer",
|
|
2393
|
-
...
|
|
2397
|
+
...Qt,
|
|
2394
2398
|
styles: Q(0)
|
|
2395
2399
|
}, e);
|
|
2396
2400
|
}
|
|
2397
|
-
function
|
|
2401
|
+
function yr(e = {}) {
|
|
2398
2402
|
return Y({
|
|
2399
2403
|
id: Z(),
|
|
2400
2404
|
type: "html",
|
|
2401
|
-
|
|
2405
|
+
...$t,
|
|
2402
2406
|
styles: Q()
|
|
2403
2407
|
}, e);
|
|
2404
2408
|
}
|
|
2405
|
-
function
|
|
2409
|
+
function br(e = {}) {
|
|
2406
2410
|
return Y({
|
|
2407
2411
|
id: Z(),
|
|
2408
2412
|
type: "menu",
|
|
2409
2413
|
items: [],
|
|
2410
|
-
|
|
2414
|
+
...en,
|
|
2411
2415
|
styles: Q()
|
|
2412
2416
|
}, e);
|
|
2413
2417
|
}
|
|
2414
|
-
function
|
|
2418
|
+
function xr(e, t) {
|
|
2415
2419
|
return Array.from({ length: t }, () => ({
|
|
2416
2420
|
id: Z(),
|
|
2417
2421
|
cells: Array.from({ length: e }, () => ({
|
|
@@ -2420,29 +2424,29 @@ function br(e, t) {
|
|
|
2420
2424
|
}))
|
|
2421
2425
|
}));
|
|
2422
2426
|
}
|
|
2423
|
-
function
|
|
2427
|
+
function Sr(e = {}) {
|
|
2424
2428
|
return Y({
|
|
2425
2429
|
id: Z(),
|
|
2426
2430
|
type: "table",
|
|
2427
|
-
rows:
|
|
2428
|
-
...
|
|
2431
|
+
rows: xr(3, 3),
|
|
2432
|
+
...tn,
|
|
2429
2433
|
styles: Q()
|
|
2430
2434
|
}, e);
|
|
2431
2435
|
}
|
|
2432
|
-
function
|
|
2436
|
+
function Cr(e = {}) {
|
|
2433
2437
|
return Y({
|
|
2434
2438
|
id: Z(),
|
|
2435
2439
|
type: "countdown",
|
|
2436
|
-
...
|
|
2440
|
+
...nn,
|
|
2437
2441
|
styles: Q()
|
|
2438
2442
|
}, e);
|
|
2439
2443
|
}
|
|
2440
|
-
function
|
|
2444
|
+
function wr(e) {
|
|
2441
2445
|
return e.type === "repeatable" ? e.default ?? [] : e.type === "boolean" ? e.default ?? !1 : e.type === "number" ? e.default ?? 0 : e.default ?? "";
|
|
2442
2446
|
}
|
|
2443
|
-
function
|
|
2447
|
+
function Tr(e) {
|
|
2444
2448
|
let t = {};
|
|
2445
|
-
for (let n of e.fields) t[n.key] = X(
|
|
2449
|
+
for (let n of e.fields) t[n.key] = X(wr(n));
|
|
2446
2450
|
let n = Y(Q(), X(e.defaultStyles));
|
|
2447
2451
|
return {
|
|
2448
2452
|
id: Z(),
|
|
@@ -2453,14 +2457,14 @@ function wr(e) {
|
|
|
2453
2457
|
...e.dataSource ? { dataSourceFetched: !1 } : {}
|
|
2454
2458
|
};
|
|
2455
2459
|
}
|
|
2456
|
-
function
|
|
2460
|
+
function Er() {
|
|
2457
2461
|
return {
|
|
2458
2462
|
id: Z(),
|
|
2459
2463
|
type: "slot",
|
|
2460
2464
|
styles: Q(0)
|
|
2461
2465
|
};
|
|
2462
2466
|
}
|
|
2463
|
-
function
|
|
2467
|
+
function Dr(e = {}) {
|
|
2464
2468
|
return Y({
|
|
2465
2469
|
id: Z(),
|
|
2466
2470
|
type: "wrapper",
|
|
@@ -2468,27 +2472,27 @@ function Er(e = {}) {
|
|
|
2468
2472
|
styles: Q(0)
|
|
2469
2473
|
}, e);
|
|
2470
2474
|
}
|
|
2471
|
-
function
|
|
2475
|
+
function Or(e, t) {
|
|
2472
2476
|
switch (e) {
|
|
2473
|
-
case "section": return
|
|
2474
|
-
case "title": return
|
|
2475
|
-
case "paragraph": return
|
|
2476
|
-
case "image": return
|
|
2477
|
-
case "button": return
|
|
2478
|
-
case "divider": return
|
|
2479
|
-
case "video": return
|
|
2480
|
-
case "social": return
|
|
2481
|
-
case "spacer": return
|
|
2482
|
-
case "html": return
|
|
2483
|
-
case "menu": return
|
|
2484
|
-
case "table": return
|
|
2485
|
-
case "countdown": return
|
|
2477
|
+
case "section": return hr(X(t?.section));
|
|
2478
|
+
case "title": return ur(X(t?.title));
|
|
2479
|
+
case "paragraph": return dr(X(t?.paragraph));
|
|
2480
|
+
case "image": return fr(X(t?.image));
|
|
2481
|
+
case "button": return pr(X(t?.button));
|
|
2482
|
+
case "divider": return mr(X(t?.divider));
|
|
2483
|
+
case "video": return gr(X(t?.video));
|
|
2484
|
+
case "social": return _r(X(t?.social));
|
|
2485
|
+
case "spacer": return vr(X(t?.spacer));
|
|
2486
|
+
case "html": return yr(X(t?.html));
|
|
2487
|
+
case "menu": return br(X(t?.menu));
|
|
2488
|
+
case "table": return Sr(X(t?.table));
|
|
2489
|
+
case "countdown": return Cr(X(t?.countdown));
|
|
2486
2490
|
case "slot": throw Error("[Templatical] slot cannot be inserted into content. Use createSlotBlock() to build a layout.");
|
|
2487
2491
|
case "wrapper": throw Error("[Templatical] wrapper cannot be inserted into content. Use createWrapperBlock() to build a layout.");
|
|
2488
2492
|
default: throw Error(`Unknown block type: ${e}`);
|
|
2489
2493
|
}
|
|
2490
2494
|
}
|
|
2491
|
-
function
|
|
2495
|
+
function kr(e, t) {
|
|
2492
2496
|
let n = e.l10n;
|
|
2493
2497
|
if (!n || t.size === 0) return;
|
|
2494
2498
|
let r = (n) => {
|
|
@@ -2503,7 +2507,7 @@ function Or(e, t) {
|
|
|
2503
2507
|
n && (e[t] = Object.fromEntries(Object.entries(n).map(([e, t]) => [r(e), t])));
|
|
2504
2508
|
}
|
|
2505
2509
|
}
|
|
2506
|
-
function
|
|
2510
|
+
function Ar(e) {
|
|
2507
2511
|
let t = JSON.parse(JSON.stringify(e)), n = (e) => {
|
|
2508
2512
|
e.id = Z();
|
|
2509
2513
|
let t = /* @__PURE__ */ new Map(), r = (e, n) => {
|
|
@@ -2520,78 +2524,78 @@ function kr(e) {
|
|
|
2520
2524
|
if (e.type === "social") for (let t of e.icons) r(t, "icons");
|
|
2521
2525
|
if (e.type === "section") for (let t of e.children) for (let e of t) n(e);
|
|
2522
2526
|
if (e.type === "wrapper") for (let t of e.children) n(t);
|
|
2523
|
-
|
|
2527
|
+
kr(e, t);
|
|
2524
2528
|
};
|
|
2525
2529
|
return n(t), t;
|
|
2526
2530
|
}
|
|
2527
|
-
var
|
|
2531
|
+
var jr = "[Templatical] layout: must contain exactly one slot block", Mr = "[Templatical] layout: slot must be a top-level or wrapper child, not nested in a section", Nr = "[Templatical] layout: a wrapper cannot contain a wrapper", Pr = "[Templatical] layout: a wrapper around the slot cannot contain blocks that emit mj-wrapper (section.wrapper)", Fr = "[Templatical] slot is not a valid content block", Ir = "[Templatical] layout: a wrapper cannot contain a section with its own wrapper (section.wrapper)", Lr = "[Templatical] wrapper is not a valid content block";
|
|
2528
2532
|
function $(e, t, n = null, r = !1, i = !1) {
|
|
2529
|
-
for (let a of e) if (t(a, n, r, i),
|
|
2530
|
-
else
|
|
2533
|
+
for (let a of e) if (t(a, n, r, i), Ht(a)) for (let e of a.children) $(e, t, a, !0, i);
|
|
2534
|
+
else V(a) && $(a.children, t, a, r, !0);
|
|
2531
2535
|
}
|
|
2532
|
-
function
|
|
2536
|
+
function Rr(e) {
|
|
2533
2537
|
let t = 0;
|
|
2534
2538
|
if ($(e.blocks, (e, n, r, i) => {
|
|
2535
|
-
if (i &&
|
|
2536
|
-
if (
|
|
2537
|
-
if (
|
|
2538
|
-
if (r) throw Error(
|
|
2539
|
-
if (e.children.some(
|
|
2539
|
+
if (i && Ht(e) && e.wrapper) throw Error(Ir);
|
|
2540
|
+
if (B(e) && (t += 1, r)) throw Error(Mr);
|
|
2541
|
+
if (V(e)) {
|
|
2542
|
+
if (r) throw Error(Mr);
|
|
2543
|
+
if (e.children.some(V)) throw Error(Nr);
|
|
2540
2544
|
}
|
|
2541
|
-
}), t !== 1) throw Error(
|
|
2545
|
+
}), t !== 1) throw Error(jr);
|
|
2542
2546
|
}
|
|
2543
|
-
function
|
|
2547
|
+
function zr(e) {
|
|
2544
2548
|
$(e.blocks, (e) => {
|
|
2545
|
-
if (
|
|
2549
|
+
if (B(e)) throw Error(Fr);
|
|
2546
2550
|
});
|
|
2547
2551
|
}
|
|
2548
|
-
function
|
|
2552
|
+
function Br(e) {
|
|
2549
2553
|
$(e.blocks, (e) => {
|
|
2550
|
-
if (
|
|
2554
|
+
if (V(e)) throw Error(Lr);
|
|
2551
2555
|
});
|
|
2552
2556
|
}
|
|
2553
|
-
function
|
|
2557
|
+
function Vr(e) {
|
|
2554
2558
|
let t = !1;
|
|
2555
2559
|
return $(e.blocks, (e, n) => {
|
|
2556
|
-
|
|
2560
|
+
B(e) && n !== null && V(n) && (t = !0);
|
|
2557
2561
|
}), t;
|
|
2558
2562
|
}
|
|
2559
|
-
function
|
|
2560
|
-
if (
|
|
2561
|
-
if (
|
|
2562
|
-
let t =
|
|
2563
|
+
function Hr(e) {
|
|
2564
|
+
if (B(e)) return e;
|
|
2565
|
+
if (V(e)) {
|
|
2566
|
+
let t = Ar({
|
|
2563
2567
|
...e,
|
|
2564
2568
|
children: []
|
|
2565
2569
|
});
|
|
2566
|
-
return t.children = e.children.map(
|
|
2570
|
+
return t.children = e.children.map(Hr), t;
|
|
2567
2571
|
}
|
|
2568
|
-
return
|
|
2572
|
+
return Ar(e);
|
|
2569
2573
|
}
|
|
2570
|
-
function
|
|
2574
|
+
function Ur(e) {
|
|
2571
2575
|
for (let t = 0; t < e.length; t++) {
|
|
2572
2576
|
let n = e[t];
|
|
2573
|
-
if (
|
|
2577
|
+
if (B(n)) return {
|
|
2574
2578
|
parent: e,
|
|
2575
2579
|
index: t
|
|
2576
2580
|
};
|
|
2577
|
-
if (
|
|
2578
|
-
let e =
|
|
2581
|
+
if (V(n)) {
|
|
2582
|
+
let e = Ur(n.children);
|
|
2579
2583
|
if (e) return e;
|
|
2580
2584
|
}
|
|
2581
2585
|
}
|
|
2582
2586
|
return null;
|
|
2583
2587
|
}
|
|
2584
|
-
function
|
|
2585
|
-
for (let t of e) if (
|
|
2588
|
+
function Wr(e) {
|
|
2589
|
+
for (let t of e) if (Ht(t)) {
|
|
2586
2590
|
if (t.wrapper) return !0;
|
|
2587
|
-
for (let e of t.children) if (
|
|
2591
|
+
for (let e of t.children) if (Wr(e)) return !0;
|
|
2588
2592
|
}
|
|
2589
2593
|
return !1;
|
|
2590
2594
|
}
|
|
2591
|
-
function
|
|
2592
|
-
if (
|
|
2593
|
-
let n = e.blocks.map(
|
|
2594
|
-
if (!r) throw Error(
|
|
2595
|
+
function Gr(e, t) {
|
|
2596
|
+
if (Rr(e), zr(t), Br(t), Vr(e) && Wr(t.blocks)) throw Error(Pr);
|
|
2597
|
+
let n = e.blocks.map(Hr), r = Ur(n);
|
|
2598
|
+
if (!r) throw Error(jr);
|
|
2595
2599
|
return r.parent.splice(r.index, 1, ...m(t.blocks)), {
|
|
2596
2600
|
blocks: n,
|
|
2597
2601
|
settings: {
|
|
@@ -2600,7 +2604,7 @@ function Wr(e, t) {
|
|
|
2600
2604
|
}
|
|
2601
2605
|
};
|
|
2602
2606
|
}
|
|
2603
|
-
var
|
|
2607
|
+
var Kr = Object.freeze([
|
|
2604
2608
|
"http",
|
|
2605
2609
|
"https",
|
|
2606
2610
|
"mailto",
|
|
@@ -2616,37 +2620,37 @@ Object.freeze([
|
|
|
2616
2620
|
"data",
|
|
2617
2621
|
"vbscript"
|
|
2618
2622
|
]);
|
|
2619
|
-
function
|
|
2623
|
+
function qr(e) {
|
|
2620
2624
|
return e.replace(/[\t\n\r]/g, "").replace(/^[\u0000-\u0020]+/, "").trimEnd();
|
|
2621
2625
|
}
|
|
2622
|
-
function
|
|
2623
|
-
let t = /^([a-z][a-z0-9+.-]*):/i.exec(
|
|
2626
|
+
function Jr(e) {
|
|
2627
|
+
let t = /^([a-z][a-z0-9+.-]*):/i.exec(qr(e));
|
|
2624
2628
|
return t ? t[1].toLowerCase() : null;
|
|
2625
2629
|
}
|
|
2626
|
-
var
|
|
2630
|
+
var Yr = /^data:image\/(png|jpe?g|gif|webp|svg\+xml);/i, Xr = Object.freeze([
|
|
2627
2631
|
"href",
|
|
2628
2632
|
"xlink:href",
|
|
2629
2633
|
"background",
|
|
2630
2634
|
"poster",
|
|
2631
2635
|
"src"
|
|
2632
|
-
]),
|
|
2636
|
+
]), Zr = Object.freeze([
|
|
2633
2637
|
"srcdoc",
|
|
2634
2638
|
"ping",
|
|
2635
2639
|
"formaction",
|
|
2636
2640
|
"action"
|
|
2637
2641
|
]);
|
|
2638
|
-
function
|
|
2639
|
-
let n =
|
|
2640
|
-
return r === null ||
|
|
2641
|
-
}
|
|
2642
|
-
var Qr = /<\/?p\b[^<>]*>/gi, $r = /<p\b([^<>]*)>\s*<\/p>/gi;
|
|
2643
|
-
function ei(e) {
|
|
2644
|
-
return e.replace(Qr, "").trim() === "";
|
|
2642
|
+
function Qr(e, t) {
|
|
2643
|
+
let n = qr(e), r = Jr(n);
|
|
2644
|
+
return r === null || Kr.some((e) => e === r) ? !0 : t.toLowerCase() === "src" && Yr.test(n);
|
|
2645
2645
|
}
|
|
2646
|
+
var $r = /<\/?p\b[^<>]*>/gi, ei = /<p\b([^<>]*)>\s*<\/p>/gi;
|
|
2646
2647
|
function ti(e) {
|
|
2647
|
-
return
|
|
2648
|
+
return e.replace($r, "").trim() === "";
|
|
2649
|
+
}
|
|
2650
|
+
function ni(e) {
|
|
2651
|
+
return ti(e) ? e : e.replace(ei, "<p$1> </p>");
|
|
2648
2652
|
}
|
|
2649
|
-
var
|
|
2653
|
+
var ri = {
|
|
2650
2654
|
arial: "Arial, sans-serif",
|
|
2651
2655
|
helvetica: "Helvetica, sans-serif",
|
|
2652
2656
|
georgia: "Georgia, serif",
|
|
@@ -2655,13 +2659,13 @@ var ni = {
|
|
|
2655
2659
|
"trebuchet ms": "'Trebuchet MS', sans-serif",
|
|
2656
2660
|
"courier new": "'Courier New', monospace",
|
|
2657
2661
|
tahoma: "Tahoma, sans-serif"
|
|
2658
|
-
},
|
|
2662
|
+
}, ii = /* @__PURE__ */ new Set([
|
|
2659
2663
|
"inherit",
|
|
2660
2664
|
"initial",
|
|
2661
2665
|
"unset",
|
|
2662
2666
|
"revert",
|
|
2663
2667
|
"revert-layer"
|
|
2664
|
-
]),
|
|
2668
|
+
]), ai = /* @__PURE__ */ new Set([
|
|
2665
2669
|
"serif",
|
|
2666
2670
|
"sans-serif",
|
|
2667
2671
|
"monospace",
|
|
@@ -2676,14 +2680,14 @@ var ni = {
|
|
|
2676
2680
|
"math",
|
|
2677
2681
|
"fangsong"
|
|
2678
2682
|
]);
|
|
2679
|
-
function
|
|
2683
|
+
function oi(e) {
|
|
2680
2684
|
return e === " " || e === " " || e === "\n" || e === "\r" || e === "\f";
|
|
2681
2685
|
}
|
|
2682
|
-
function
|
|
2686
|
+
function si(e) {
|
|
2683
2687
|
if (typeof e != "string") return [];
|
|
2684
2688
|
let t = e.replace(/!\s*important\s*$/i, ""), n = [], r = 0;
|
|
2685
2689
|
for (;;) {
|
|
2686
|
-
for (; r < t.length &&
|
|
2690
|
+
for (; r < t.length && oi(t[r]);) r++;
|
|
2687
2691
|
if (r >= t.length) return [];
|
|
2688
2692
|
let e = t[r];
|
|
2689
2693
|
if (e === "\"" || e === "'") {
|
|
@@ -2700,7 +2704,7 @@ function oi(e) {
|
|
|
2700
2704
|
}
|
|
2701
2705
|
}
|
|
2702
2706
|
if (!o) return [];
|
|
2703
|
-
for (; a < t.length &&
|
|
2707
|
+
for (; a < t.length && oi(t[a]);) a++;
|
|
2704
2708
|
if (a < t.length && t[a] !== ",") return [];
|
|
2705
2709
|
n.push({
|
|
2706
2710
|
name: i,
|
|
@@ -2708,7 +2712,7 @@ function oi(e) {
|
|
|
2708
2712
|
}), r = a;
|
|
2709
2713
|
} else {
|
|
2710
2714
|
let e = t.indexOf(",", r), i = e === -1 ? t.length : e, a = t.slice(r, i).trim().split(/\s+/).join(" ");
|
|
2711
|
-
if (a === "" || a.includes("\"") || a.includes("'") ||
|
|
2715
|
+
if (a === "" || a.includes("\"") || a.includes("'") || ii.has(a.toLowerCase())) return [];
|
|
2712
2716
|
n.push({
|
|
2713
2717
|
name: a,
|
|
2714
2718
|
quoted: !1
|
|
@@ -2718,26 +2722,26 @@ function oi(e) {
|
|
|
2718
2722
|
r++;
|
|
2719
2723
|
}
|
|
2720
2724
|
}
|
|
2721
|
-
function si(e) {
|
|
2722
|
-
return `'${e.replace(/\\/g, "\\\\").replace(/'/g, "\\'")}'`;
|
|
2723
|
-
}
|
|
2724
2725
|
function ci(e) {
|
|
2725
|
-
return
|
|
2726
|
+
return `'${e.replace(/\\/g, "\\\\").replace(/'/g, "\\'")}'`;
|
|
2726
2727
|
}
|
|
2727
2728
|
function li(e) {
|
|
2728
|
-
return
|
|
2729
|
+
return !e.quoted && ai.has(e.name.toLowerCase());
|
|
2730
|
+
}
|
|
2731
|
+
function ui(e) {
|
|
2732
|
+
return si(e)[0]?.name ?? "";
|
|
2729
2733
|
}
|
|
2730
|
-
function
|
|
2731
|
-
let n = (e) => `${
|
|
2734
|
+
function di(e, t) {
|
|
2735
|
+
let n = (e) => `${ci(e.name)}, ${e.fallback ?? t.defaultFallback}`, r = typeof e == "string" ? e.trim().toLowerCase() : "", i = t.customFonts.find((e) => e.name.toLowerCase() === r);
|
|
2732
2736
|
if (i) return n(i);
|
|
2733
|
-
let a =
|
|
2737
|
+
let a = si(e);
|
|
2734
2738
|
if (a.length !== 1) return e;
|
|
2735
2739
|
let [o] = a, s = o.name.toLowerCase(), c = t.customFonts.find((e) => e.name.toLowerCase() === s);
|
|
2736
|
-
return c ? n(c) :
|
|
2740
|
+
return c ? n(c) : ri[s] || (li(o) ? e : `${ci(o.name)}, ${t.defaultFallback}`);
|
|
2737
2741
|
}
|
|
2738
|
-
function
|
|
2742
|
+
function fi(e) {
|
|
2739
2743
|
if (typeof e != "object" || !e) return !1;
|
|
2740
2744
|
let t = e;
|
|
2741
2745
|
return Array.isArray(t.blocks);
|
|
2742
2746
|
}
|
|
2743
|
-
export {
|
|
2747
|
+
export { U as $, fe as $t, Ar as A, V as At, yr as B, yn as Bt, ar as C, fi as Ct, Br as D, B as Dt, zr as E, Ht as Et, Cr as F, Oe as Ft, Be as G, Wn as Gt, br as H, dn as Ht, Tr as I, si as It, vr as J, An as Jt, Er as K, Pn as Kt, cr as L, xe as Lt, ee as M, Pe as Mt, Or as N, Fe as Nt, j as O, Se as Ot, pr as P, ir as Pt, Dr as Q, ue as Qt, cn as R, Ce as Rt, Gr as S, Mn as St, T, v as Tt, dr as U, di as Ut, fr as V, ne as Vt, hr as W, ie as Wt, ur as X, Tn as Xt, Sr as Y, m as Yt, gr as Z, K as Zt, W as _, oe as _t, l as a, r as an, Jr as at, Gn as b, _e as bt, an as c, t as cn, ui as ct, Xr as d, Rr as dn, Un as dt, de as en, h as et, w as f, Nn as ft, se as g, Rn as gt, g as h, On as ht, e as i, n as in, te as it, Vn as j, Vr as jt, G as k, Te as kt, s as l, tr as ln, Z as lt, Kr as m, kn as mt, p as n, In as nn, Ie as nt, Vt as o, o as on, ni as ot, u as p, Fn as pt, _r as q, Ne as qt, i as r, zn as rn, C as rt, rn as s, x as sn, mn as st, f as t, S as tn, sn as tt, Zr as u, Ln as un, Ve as ut, he as v, zt as vt, He as w, Qr as wt, fn as x, Hn as xt, c as y, Ut as yt, mr as z, y as zt };
|