@higgsfield/video-editor-mcp 1.0.7 → 1.1.1-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.md +24 -24
- package/dist/cli.mjs +134 -125
- package/dist/index.html +136 -133
- package/dist/launcher.mjs +90 -90
- package/dist/server.mjs +1553 -1389
- package/node_modules/@higgsfield/higgsedit/README.md +181 -1
- package/node_modules/@higgsfield/higgsedit/dist/capture-page.js +902 -314
- package/node_modules/@higgsfield/higgsedit/dist/chunk-2JYLVSVV.mjs +1594 -0
- package/node_modules/@higgsfield/higgsedit/dist/chunk-2WKNH7OL.mjs +16 -0
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-OMKZ5BXM.mjs → chunk-5LTTL3Q3.mjs} +1 -1
- package/node_modules/@higgsfield/higgsedit/dist/chunk-7PYXSJS7.mjs +717 -0
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-MLJAIZGP.mjs → chunk-BH2QF635.mjs} +33 -326
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-WZR5PZM7.mjs → chunk-BV5COOQZ.mjs} +250 -161
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-HTCYVKFX.mjs → chunk-C3GSB3XZ.mjs} +8 -7
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-CYH2EUQV.mjs → chunk-DVN4LUXV.mjs} +13 -4
- package/node_modules/@higgsfield/higgsedit/dist/chunk-F4CMIG5G.mjs +36 -0
- package/node_modules/@higgsfield/higgsedit/dist/chunk-IEPPEDEU.mjs +33 -0
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-UVAZ6I6U.mjs → chunk-KIWGVAPJ.mjs} +16 -12
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-L6QDNSL3.mjs → chunk-L5LWBA6A.mjs} +5 -5
- package/node_modules/@higgsfield/higgsedit/dist/chunk-LMQR3DHT.mjs +37 -0
- package/node_modules/@higgsfield/higgsedit/dist/chunk-LTKMGZ6T.mjs +58 -0
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-VI6IV6JP.mjs → chunk-MV2JTTBQ.mjs} +65 -47
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-4D6AXU4B.mjs → chunk-NARTAWRN.mjs} +50 -30
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-27NBQ5FA.mjs → chunk-NUXTKQNM.mjs} +33 -21
- package/node_modules/@higgsfield/higgsedit/dist/chunk-OCIZ36XD.mjs +40 -0
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-MK6PL7N4.mjs → chunk-OF6RMSM2.mjs} +19 -17
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-6BETMESC.mjs → chunk-P2BGHTRR.mjs} +2 -2
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-EKFC4S4M.mjs → chunk-PAHMD6SU.mjs} +5 -0
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-QVLAEV3U.mjs → chunk-PFQYUJQL.mjs} +3 -4
- package/node_modules/@higgsfield/higgsedit/dist/chunk-QJTILFBS.mjs +335 -0
- package/node_modules/@higgsfield/higgsedit/dist/chunk-QQ3GGKDN.mjs +21 -0
- package/node_modules/@higgsfield/higgsedit/dist/chunk-TH7TK67K.mjs +23 -0
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-SIMO6I3D.mjs → chunk-UDL5AHKO.mjs} +163 -158
- package/node_modules/@higgsfield/higgsedit/dist/chunk-UMWOUQN3.mjs +60 -0
- package/node_modules/@higgsfield/higgsedit/dist/{chunk-3AIM3THH.mjs → chunk-VLM5EOWJ.mjs} +4 -4
- package/node_modules/@higgsfield/higgsedit/dist/chunk-WENFTPXQ.mjs +403 -0
- package/node_modules/@higgsfield/higgsedit/dist/chunk-YLVXQIPX.mjs +464 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/.vite/manifest.json +559 -506
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/agent-corner-bottom-q4hZltI-.svg +431 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/agent-corner-top-BJYI-I24.svg +431 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/confirmation-BTnwl3LS.css +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/drag-Bt_t4HZO.css +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/local-B3OTAV_A.css +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/menubar-2Y1Y2XJt.css +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/model-DdE4hCgf.css +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/{IconText1-CzbCrP7v.css → notifications-B08L1jSe.css} +1 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/{panel-g852pZf_.css → panel-BRN_AbBM.css} +1 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/panel-CYELNqrv.css +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/panel-DYLpT6oA.css +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/panel-v84HaGTZ.css +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/IconChainLink1-Bxb1Or0F.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/{IconCheckmark2Medium-daaES9uF.js → IconCheckmark2Medium-hegaz9mQ.js} +1 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/{IconChevronDownSmall-BhTBJk26.js → IconChevronDownSmall-DaruzJwU.js} +1 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/IconClosedCaptioning-BPqcqKsD.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/{IconCrossMedium-acfnCXOM.js → IconCrossMedium-BsPFJzc6.js} +1 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/IconOpenaiFilled-D1fzthmi.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/{IconPause-pTeVSvUe.js → IconPause-ClNg8pao.js} +1 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/{IconPlayFilled-CwdgIuDG.js → IconPlayFilled-CHb-7GSx.js} +1 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/IconSparklesSoftFilled-o7o33KRn.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/ai-composer-B9h-eaki.js +567 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/auto-layout-BO20Tg4B.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/{button-CjG6GcgF.js → button-Cg0U0zpV.js} +1 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/canvas-Bw4CVzfw.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/capabilities-BCd4-zPF.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/commands-QeSqAbCt.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/components-tXMtIZNL.js +51 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/confirmation-CO2PHR_z.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/dom-6aoQn29n.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/drag-Dw8b_vO2.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/{editing-CjWbiCxv.js → editing-Cy-SaOyB.js} +1 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/edits-CqLBqir0.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/export-dialog-BjBskOe3.js +2 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/factories-Bw_iQrUL.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/id3-CSR0NCRI.js +2 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/import-DP49i4ke.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/import-error-CMz9sLPe.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/ingest-DsmIc415.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/jsx-runtime-B5yqYJvp.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/{media-Bwjxu-0U.js → media-DQw6vU_T.js} +1 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/menubar-D31srALX.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/meters-D0nZVEJs.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/mode-DEG6doKF.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/model-Duf9fszJ.js +2 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/model-DyAkLA69.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/notifications-DqWZNIrK.js +9 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/palette-HT83gWgL.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-B5Mvm6dg.js +7 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-BC90wyvd.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-Bw_ZJ2JI.js +3 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-DNS060Nt.js +3 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-DSgxIrEq.js +2 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-DgBttE5O.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-assets-_T2bHsHW.js +771 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-inspector-DfHvAt5X.js +2 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-nBZvHlkA.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-timeline-DsCpJVSt.js +327 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-viewport-CEhZwZ67.js +280 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/projects-2_tW9Do7.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/react-dom-1uB7Vbbb.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/schemas-CddYAOcj.js +64 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/session-BpFeKAI2.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/src-BLG3tYBa.js +2 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/styles-e2n2A_JN.js +284 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/supercomputer-CuV0zYKd.js +24 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/tabs-XeAgs9cs.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/toggle-DbNEaSIl.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/transport-C8Ll3qFl.js +69 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/transport-bar-Dv1LPFbu.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/useOpenInteractionType-HWSfSsp2.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/useRenderElement-D4SOg3N_.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/value-EB7YmAdS.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/writeback-support-fj5rA9k3.js +1 -0
- package/node_modules/@higgsfield/higgsedit/dist/editor/editor-B-WAkLt7.js +372 -0
- package/node_modules/@higgsfield/higgsedit/dist/higgsedit.mjs +39 -24
- package/node_modules/@higgsfield/higgsedit/dist/jsx/hooks.d.ts +26 -0
- package/node_modules/@higgsfield/higgsedit/dist/jsx/index.d.ts +17 -0
- package/node_modules/@higgsfield/higgsedit/dist/jsx/inspect.d.ts +42 -0
- package/node_modules/@higgsfield/higgsedit/dist/jsx/jsx-runtime.d.ts +28 -0
- package/node_modules/@higgsfield/higgsedit/dist/jsx/svg.d.ts +9 -0
- package/node_modules/@higgsfield/higgsedit/dist/jsx/time.d.ts +6 -0
- package/node_modules/@higgsfield/higgsedit/dist/jsx/types.d.ts +420 -0
- package/node_modules/@higgsfield/higgsedit/package.json +28 -20
- package/package.json +4 -3
- package/plugin/.codex-plugin/plugin.json +1 -1
- package/plugin/plugin.json +1 -1
- package/plugin/skills/video-editing/references/caption-titling.md +1 -1
- package/plugin/skills/video-editing/references/local-setup.md +3 -3
- package/node_modules/@higgsfield/higgsedit/dist/chunk-C6SASQHE.mjs +0 -424
- package/node_modules/@higgsfield/higgsedit/dist/chunk-FZ5U36SQ.mjs +0 -83
- package/node_modules/@higgsfield/higgsedit/dist/chunk-QLPCYN6K.mjs +0 -292
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/edit-drag-D2EV5ddd.css +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/editor-CuRHT75g.css +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/assets/panel-DnuQD7ja.css +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/FieldControl-B0fenhBJ.js +0 -2
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/IconChainLink1-Cwv1X7hi.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/IconEyeOpen-BqTT9_VV.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/IconEyeSlash-Whv58c1m.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/IconPencil-Dr17k_7e.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/IconPlay-BroH3ziH.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/IconPlusSmall-43T9aE3d.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/IconText1-BaP_p9DW.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/IconTrashCan-DX2w2AIC.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/ai-composer-C-l0eIdP.js +0 -560
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/captions-Cd-bDG3G.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/clip-highlight-DpAvcA4x.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/components-e3ZbUVns.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/disposables-CwUPjcuA.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/drag-HLBkto5o.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/dropdown-BJ04G_X3.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/edit-drag-Bg6LggKC.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/edits-a2IixhrN.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/export-dialog-4I4gqI5V.js +0 -2
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/face-tracker-DzVfjVOO.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/fit-imported-media-CaCB0x0b.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/generation-queue-DuL2F4-_.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/import-error-CMARA0Hy.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/jsx-runtime-B-hcVAMW.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/menubar-Bs26OdwP.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/meters-YEr9OQjq.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/paints-DS2Msf91.js +0 -67
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/palette-CcS9IcAC.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-7M3uQokX.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-BBK1NyG-.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-CHZTs7By.js +0 -4
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-DaSOa3MP.js +0 -2
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-DlK3RYVo.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-Dst5OKWu.js +0 -2
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-H_ZoDiKK.js +0 -2
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-Rn9Z7Eek.js +0 -3
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-assets-FAghGFG3.js +0 -678
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-inspector-DEqULBNF.js +0 -260
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-timeline-0GYNz1uc.js +0 -333
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/panel-viewport-DOWjJi5-.js +0 -317
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/projects-BBJc7h5_.js +0 -2
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/session-B9sZaFKC.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/supercomputer-CX-LCL6Y.js +0 -24
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/tabs-CvKQ-eas.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/toggle-CrzrwiDZ.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/transport-BgRfk-Qq.js +0 -69
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/transport-bar-C9nqAfE2.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/typography-C5-w9LOu-kD3uLKkf.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/useOpenInteractionType-DbrQ6Ehu.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/useRenderElement-bbxXdYq0.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/chunks/writeback-support-BZfNpkmB.js +0 -1
- package/node_modules/@higgsfield/higgsedit/dist/editor/editor-Csn2_T_e.js +0 -293
- package/node_modules/@higgsfield/higgsedit/dist/export-settings.mjs +0 -75
- package/node_modules/@higgsfield/higgsedit/dist/history.mjs +0 -295
- package/node_modules/@higgsfield/higgsedit/dist/media-upload.mjs +0 -381
- package/node_modules/@higgsfield/higgsedit/dist/proxy.mjs +0 -170
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["chunks/panel-H_ZoDiKK.js","chunks/jsx-runtime-B-hcVAMW.js","chunks/paints-DS2Msf91.js","chunks/IconEyeSlash-Whv58c1m.js","chunks/session-B9sZaFKC.js","chunks/captions-Cd-bDG3G.js","chunks/dropdown-BJ04G_X3.js","chunks/useOpenInteractionType-DbrQ6Ehu.js","chunks/useRenderElement-bbxXdYq0.js","chunks/typography-C5-w9LOu-kD3uLKkf.js","editor-Csn2_T_e.js","chunks/disposables-CwUPjcuA.js","chunks/FieldControl-B0fenhBJ.js","assets/editor-CuRHT75g.css","chunks/button-CjG6GcgF.js","chunks/IconChevronDownSmall-BhTBJk26.js","chunks/IconCrossMedium-acfnCXOM.js","chunks/IconPencil-Dr17k_7e.js","chunks/components-e3ZbUVns.js","chunks/edits-a2IixhrN.js","chunks/face-tracker-DzVfjVOO.js","chunks/IconPlusSmall-43T9aE3d.js","chunks/writeback-support-BZfNpkmB.js","chunks/IconEyeOpen-BqTT9_VV.js","chunks/IconChainLink1-Cwv1X7hi.js","chunks/palette-CcS9IcAC.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{t as e}from"./disposables-CwUPjcuA.js";import{h as t,m as n}from"../editor-Csn2_T_e.js";import{t as r}from"./panel-4DTzhYdA.js";import{h as i}from"./edits-a2IixhrN.js";var a=`fable-panel-inspector-styles`,o=`
|
|
3
|
-
.fable-inspector {
|
|
4
|
-
height: 100%;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
min-height: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.fable-inspector .panel-header {
|
|
12
|
-
flex: none;
|
|
13
|
-
border-bottom: 1px solid var(--hf-color-border-subtle);
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
justify-content: space-between;
|
|
17
|
-
padding: 10px 14px 8px;
|
|
18
|
-
}
|
|
19
|
-
.fable-inspector .zoom-readout {
|
|
20
|
-
font-variant-numeric: tabular-nums;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.fable-inspector .inspector-body {
|
|
24
|
-
flex: 1;
|
|
25
|
-
min-height: 0;
|
|
26
|
-
overflow-y: auto;
|
|
27
|
-
padding-bottom: 24px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.fable-inspector .muted { color: var(--hf-color-text-tertiary); }
|
|
31
|
-
.fable-inspector fieldset.contents {
|
|
32
|
-
display: contents;
|
|
33
|
-
min-inline-size: 0;
|
|
34
|
-
margin: 0;
|
|
35
|
-
border: 0;
|
|
36
|
-
padding: 0;
|
|
37
|
-
}
|
|
38
|
-
.fable-inspector .alignment-buttons {
|
|
39
|
-
display: grid;
|
|
40
|
-
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
41
|
-
gap: 2px;
|
|
42
|
-
}
|
|
43
|
-
.fable-inspector .alignment-buttons > button { width: 100%; min-width: 0; }
|
|
44
|
-
.fable-inspector .num-readout {
|
|
45
|
-
width: 38px;
|
|
46
|
-
flex: none;
|
|
47
|
-
text-align: right;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.fable-inspector .section-head {
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
justify-content: space-between;
|
|
54
|
-
gap: 8px;
|
|
55
|
-
margin-bottom: 4px;
|
|
56
|
-
min-height: 22px;
|
|
57
|
-
}
|
|
58
|
-
.fable-inspector .section-title.clip-name {
|
|
59
|
-
overflow: hidden;
|
|
60
|
-
white-space: nowrap;
|
|
61
|
-
text-overflow: ellipsis;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.fable-inspector .picker { flex: 1; min-width: 0; }
|
|
65
|
-
.fable-inspector .picker .fui-menu-wrap { width: 100%; }
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
.fable-inspector .ai-edit-grid {
|
|
69
|
-
display: grid;
|
|
70
|
-
grid-template-columns: 1fr 1fr;
|
|
71
|
-
gap: 6px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
.fable-inspector .axis-field {
|
|
76
|
-
display: flex;
|
|
77
|
-
align-items: center;
|
|
78
|
-
gap: 4px;
|
|
79
|
-
flex: 1;
|
|
80
|
-
min-width: 0;
|
|
81
|
-
}
|
|
82
|
-
.fable-inspector .axis-field .fui-number { width: 100%; flex: 1; }
|
|
83
|
-
.fable-inspector .axis-label {
|
|
84
|
-
flex: none;
|
|
85
|
-
width: 10px;
|
|
86
|
-
text-align: center;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
.fable-inspector .angle-field { width: 52px; flex: none; }
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
.fable-inspector .reset-btn {
|
|
94
|
-
width: 20px;
|
|
95
|
-
height: 20px;
|
|
96
|
-
flex: none;
|
|
97
|
-
border: none;
|
|
98
|
-
background: transparent;
|
|
99
|
-
color: var(--hf-color-text-tertiary);
|
|
100
|
-
display: inline-flex;
|
|
101
|
-
align-items: center;
|
|
102
|
-
justify-content: center;
|
|
103
|
-
cursor: pointer;
|
|
104
|
-
padding: 0;
|
|
105
|
-
}
|
|
106
|
-
.fable-inspector .reset-btn:hover:not(:disabled) { color: var(--hf-color-text-primary); }
|
|
107
|
-
.fable-inspector .reset-btn:disabled { opacity: 0.35; cursor: default; }
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
.fable-inspector .link-btn {
|
|
111
|
-
width: 16px;
|
|
112
|
-
height: 20px;
|
|
113
|
-
flex: none;
|
|
114
|
-
border: none;
|
|
115
|
-
background: transparent;
|
|
116
|
-
color: var(--hf-color-text-tertiary);
|
|
117
|
-
display: inline-flex;
|
|
118
|
-
align-items: center;
|
|
119
|
-
justify-content: center;
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
padding: 0;
|
|
122
|
-
}
|
|
123
|
-
.fable-inspector .link-btn:hover { color: var(--hf-color-text-primary); }
|
|
124
|
-
.fable-inspector .link-btn.active { color: var(--hf-color-brand-primary); }
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
.fable-inspector .ctl-spacer { width: 20px; flex: none; }
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
.fable-inspector .kf-controls { display: inline-flex; align-items: center; flex: none; }
|
|
131
|
-
.fable-inspector .kf-diamond {
|
|
132
|
-
width: 20px;
|
|
133
|
-
height: 20px;
|
|
134
|
-
flex: none;
|
|
135
|
-
border: none;
|
|
136
|
-
background: transparent;
|
|
137
|
-
color: var(--hf-color-text-tertiary);
|
|
138
|
-
display: inline-flex;
|
|
139
|
-
align-items: center;
|
|
140
|
-
justify-content: center;
|
|
141
|
-
cursor: pointer;
|
|
142
|
-
padding: 0;
|
|
143
|
-
}
|
|
144
|
-
.fable-inspector .kf-diamond:hover { color: var(--hf-color-text-primary); }
|
|
145
|
-
.fable-inspector .kf-diamond.active { color: var(--hf-color-brand-primary); }
|
|
146
|
-
.fable-inspector .kf-nav {
|
|
147
|
-
width: 14px;
|
|
148
|
-
height: 20px;
|
|
149
|
-
flex: none;
|
|
150
|
-
border: none;
|
|
151
|
-
background: transparent;
|
|
152
|
-
color: var(--hf-color-text-tertiary);
|
|
153
|
-
display: inline-flex;
|
|
154
|
-
align-items: center;
|
|
155
|
-
justify-content: center;
|
|
156
|
-
cursor: pointer;
|
|
157
|
-
padding: 0;
|
|
158
|
-
}
|
|
159
|
-
.fable-inspector .kf-nav:hover { color: var(--hf-color-text-primary); }
|
|
160
|
-
|
|
161
|
-
.fable-inspector .text-area {
|
|
162
|
-
width: 100%;
|
|
163
|
-
resize: vertical;
|
|
164
|
-
min-height: 56px;
|
|
165
|
-
font-family: inherit;
|
|
166
|
-
margin-bottom: 4px;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
.fable-inspector .style-btn { background: var(--hf-color-background-tertiary); }
|
|
171
|
-
.fable-inspector .italic-btn { font-style: italic; font-family: Georgia, serif; }
|
|
172
|
-
.fable-inspector .bold-btn { font-weight: 700; }
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
.fable-inspector .effect { padding: 4px 0; border-bottom: 1px solid var(--hf-color-border-subtle); }
|
|
176
|
-
.fable-inspector .effect:last-child { border-bottom: none; }
|
|
177
|
-
.fable-inspector .effect-row { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
|
|
178
|
-
.fable-inspector .effect-row .fx-label { flex: 1; }
|
|
179
|
-
.fable-inspector .anim-entry { padding: 4px 0; border-bottom: 1px solid var(--hf-color-border-subtle); }
|
|
180
|
-
.fable-inspector .anim-entry:last-child { border-bottom: none; }
|
|
181
|
-
.fable-inspector .anim-dir { width: 58px; flex: none; padding: 4px 6px; }
|
|
182
|
-
.fable-inspector .anim-hint { padding: 6px 0 2px; }
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
.fable-inspector .easing-picker {
|
|
186
|
-
position: relative;
|
|
187
|
-
display: flex;
|
|
188
|
-
align-items: center;
|
|
189
|
-
gap: 6px;
|
|
190
|
-
flex: 1;
|
|
191
|
-
min-width: 0;
|
|
192
|
-
}
|
|
193
|
-
.fable-inspector .easing-picker .fui-number { width: 48px; }
|
|
194
|
-
.fable-inspector .bezier-pop {
|
|
195
|
-
position: absolute;
|
|
196
|
-
top: calc(100% + 4px);
|
|
197
|
-
right: 0;
|
|
198
|
-
z-index: 1000;
|
|
199
|
-
min-width: 0;
|
|
200
|
-
padding: 10px;
|
|
201
|
-
}
|
|
202
|
-
.fable-inspector .bezier-canvas { width: 200px; height: 168px; }
|
|
203
|
-
.fable-inspector .bezier-canvas canvas {
|
|
204
|
-
border-radius: var(--hf-radius-200);
|
|
205
|
-
background: var(--hf-color-background-primary);
|
|
206
|
-
cursor: crosshair;
|
|
207
|
-
}
|
|
208
|
-
.fable-inspector .bezier-footer {
|
|
209
|
-
display: flex;
|
|
210
|
-
align-items: center;
|
|
211
|
-
justify-content: space-between;
|
|
212
|
-
gap: 8px;
|
|
213
|
-
margin-top: 8px;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
.fable-inspector .grad-strip {
|
|
218
|
-
position: relative;
|
|
219
|
-
height: 18px;
|
|
220
|
-
margin: 6px 0 10px;
|
|
221
|
-
border-radius: 6px;
|
|
222
|
-
border: 1px solid var(--hf-color-border-subtle);
|
|
223
|
-
cursor: copy;
|
|
224
|
-
background-color: var(--hf-color-background-tertiary);
|
|
225
|
-
}
|
|
226
|
-
.fable-inspector .grad-handle {
|
|
227
|
-
position: absolute;
|
|
228
|
-
top: -3px;
|
|
229
|
-
bottom: -3px;
|
|
230
|
-
width: 10px;
|
|
231
|
-
transform: translateX(-50%);
|
|
232
|
-
border: 2px solid var(--hf-color-text-primary);
|
|
233
|
-
border-radius: 4px;
|
|
234
|
-
padding: 0;
|
|
235
|
-
cursor: ew-resize;
|
|
236
|
-
}
|
|
237
|
-
.fable-inspector .grad-handle.active { border-color: var(--hf-color-brand-primary); }
|
|
238
|
-
.project-source { display: grid; gap: 4px; font-size: 12px; }
|
|
239
|
-
.project-source-file { color: var(--hf-text-muted); font-family: "IBM Plex Mono", ui-monospace, monospace; }
|
|
240
|
-
.project-source-row { display: grid; grid-template-columns: 72px 1fr; gap: 2px 8px; align-items: baseline; }
|
|
241
|
-
.project-source-name { color: var(--hf-text-secondary); }
|
|
242
|
-
.project-source-kind[data-editable="false"] { color: #f2b84b; }
|
|
243
|
-
.project-source-code { grid-column: 1 / -1; color: var(--hf-text-muted); font-family: "IBM Plex Mono", ui-monospace, monospace; white-space: pre-wrap; word-break: break-all; }
|
|
244
|
-
.ds-section { padding: 0 14px; }
|
|
245
|
-
.ds-section-head { min-height: 40px; margin: 0; }
|
|
246
|
-
.ds-section-toggle {
|
|
247
|
-
display: inline-flex; align-items: center; gap: 4px; flex: 1; min-width: 0; height: 40px;
|
|
248
|
-
padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer;
|
|
249
|
-
}
|
|
250
|
-
.ds-section-toggle svg { color: var(--hf-text-muted, rgba(255,255,255,.45)); flex: none; }
|
|
251
|
-
.ds-section-actions { display: inline-flex; align-items: center; gap: 2px; }
|
|
252
|
-
.ds-section-unavailable {
|
|
253
|
-
padding: 1px 6px; border-radius: 4px; font-size: 10px; letter-spacing: .2px;
|
|
254
|
-
color: rgba(255,255,255,.45); background: rgba(255,255,255,.06);
|
|
255
|
-
}
|
|
256
|
-
.ds-section[data-unavailable] .fui-section-title { color: rgba(255,255,255,.5); }
|
|
257
|
-
.ds-section-body { padding-bottom: 12px; }
|
|
258
|
-
.ds-section-body:empty { display: none; }
|
|
259
|
-
.fill-source { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
260
|
-
`;function s(e){t(e,a,o)}function c(t){let a=new e;return a.add(t.extensions.register(`panel`,`fable.panel-inspector.panel`,r(()=>n(()=>import(`./panel-H_ZoDiKK.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25])),{styles:s}))),a.add(t.extensions.register(`operator`,`fable.panel-inspector.setSpeed`,i())),a}export{c as activate};
|
|
@@ -1,333 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["chunks/panel-CHZTs7By.js","chunks/jsx-runtime-B-hcVAMW.js","chunks/useOpenInteractionType-DbrQ6Ehu.js","chunks/useRenderElement-bbxXdYq0.js","chunks/IconEyeSlash-Whv58c1m.js","chunks/session-B9sZaFKC.js","chunks/dropdown-BJ04G_X3.js","chunks/typography-C5-w9LOu-kD3uLKkf.js","editor-Csn2_T_e.js","chunks/paints-DS2Msf91.js","chunks/disposables-CwUPjcuA.js","chunks/captions-Cd-bDG3G.js","chunks/FieldControl-B0fenhBJ.js","assets/editor-CuRHT75g.css","chunks/button-CjG6GcgF.js","chunks/clip-highlight-DpAvcA4x.js","chunks/fit-imported-media-CaCB0x0b.js","chunks/IconChevronDownSmall-BhTBJk26.js","chunks/components-e3ZbUVns.js","chunks/edit-drag-Bg6LggKC.js","chunks/edits-a2IixhrN.js","chunks/face-tracker-DzVfjVOO.js","assets/edit-drag-D2EV5ddd.css","chunks/IconText1-BaP_p9DW.js","assets/IconText1-CzbCrP7v.css","chunks/writeback-support-BZfNpkmB.js","chunks/import-error-CMARA0Hy.js","chunks/IconEyeOpen-BqTT9_VV.js","chunks/palette-CcS9IcAC.js","chunks/drag-HLBkto5o.js","chunks/IconPlay-BroH3ziH.js","chunks/editing-CjWbiCxv.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{i as e}from"./jsx-runtime-B-hcVAMW.js";import{d as t,t as n}from"./session-B9sZaFKC.js";import{t as r}from"./disposables-CwUPjcuA.js";import{h as i,m as a}from"../editor-Csn2_T_e.js";import{t as o}from"./panel-4DTzhYdA.js";import{t as s}from"./asset-op-C6YhYJcd.js";function c(e,t,n){let r=1-e;return 3*r*r*e*t+3*r*e*e*n+e*e*e}function l(e,t,n,r,i){if(i<=0)return 0;if(i>=1)return 1;let a=i;for(let o=0;o<8;o++){let o=c(a,e,n)-i;if(Math.abs(o)<1e-5)return c(a,t,r);let s=1-a,l=3*s*s*e+6*s*a*(n-e)+3*a*a*(1-n);if(Math.abs(l)<1e-6)break;a=Math.min(1,Math.max(0,a-o/l))}let o=0,s=1;for(let t=0;t<24;t++)a=(o+s)/2,c(a,e,n)<i?o=a:s=a;return c(a,t,r)}function u(e){let t=e<0?0:e>1?1:e,n=7.5625,r=2.75;if(t<1/r)return n*t*t;if(t<2/r){let e=t-1.5/r;return n*e*e+.75}if(t<2.5/r){let e=t-2.25/r;return n*e*e+.9375}let i=t-2.625/r;return n*i*i+.984375}function d(e,t){switch(e.kind){case`linear`:return t;case`hold`:return 0;case`steps`:return e.count>0?Math.min(1,Math.floor(t*e.count)/e.count):t;case`cubic-bezier`:return l(e.x1,e.y1,e.x2,e.y2,t);case`bounce`:return u(t);default:return t}}function f(e){if(e.length<4||e.charCodeAt(0)!==35)return null;let t=e.slice(1),n,r,i,a=255;if(t.length===3||t.length===4)n=parseInt(t[0]+t[0],16),r=parseInt(t[1]+t[1],16),i=parseInt(t[2]+t[2],16),t.length===4&&(a=parseInt(t[3]+t[3],16));else if(t.length===6||t.length===8)n=parseInt(t.slice(0,2),16),r=parseInt(t.slice(2,4),16),i=parseInt(t.slice(4,6),16),t.length===8&&(a=parseInt(t.slice(6,8),16));else return null;return Number.isNaN(n)||Number.isNaN(r)||Number.isNaN(i)||Number.isNaN(a)?null:[n,r,i,a/255]}function p(e){return Math.round(Math.min(Math.max(e,0),255)).toString(16).padStart(2,`0`)}function m(e,t,n){let r=f(e),i=f(t);if(!r||!i)return n<1?e:t;let a=r.map((e,t)=>e+(i[t]-e)*n),o=`#${p(a[0])}${p(a[1])}${p(a[2])}`;return a[3]>=1?o:`${o}${p(a[3]*255)}`}function ee(e,t){let n=e.length;if(n===0)return null;let r=e[0];if(n===1||t<=r.time)return r.value;let i=e[n-1];if(t>=i.time)return i.value;let a=0;for(;a+1<n&&e[a+1].time<=t;)a++;let o=e[a],s=e[a+1],c=s.time-o.time,l=c>1e-9?(t-o.time)/c:1,u=d(o.easing,l);return typeof o.value==`number`&&typeof s.value==`number`?o.value+(s.value-o.value)*u:typeof o.value==`string`&&typeof s.value==`string`?m(o.value,s.value,u):u<1?o.value:s.value}function te(e,t){return e.trim.start+e.speed*(t-e.timeRange.start)}function h(e){return e.kind===`media`||e.kind===`audio`}function ne(e){return h(e)?e.speed:1}function g(e,t){return h(t)?e.assets.find(e=>e.id===t.assetId)?.duration??null:null}function _(e){return e.scenes.find(t=>t.id===e.activeSceneId)??e.scenes[0]??null}function v(e,t){for(let n=0;n<e.scenes.length;n++){let r=e.scenes[n];for(let e=0;e<r.tracks.length;e++){let i=r.tracks[e];for(let a=0;a<i.clips.length;a++)if(i.clips[a].id===t)return{scene:r,sceneIndex:n,track:i,trackIndex:e,clip:i.clips[a],clipIndex:a}}}return null}function re(e,t){return e.tracks[t]?.id??null}function y(){return crypto.randomUUID()}function b(e){return e}function x(e,t){return{id:y(),name:e,ops:t,coalesceKey:null}}function S(e,t){return[`scenes`,e,`tracks`,t,`clips`]}function C(e){return e.slice().sort((e,t)=>e.timeRange.start-t.timeRange.start)}var w=1e-6;function ie(e,t,n,r){let i=e.clips.filter(e=>e.id!==t).map(e=>({start:e.timeRange.start,end:e.timeRange.start+e.timeRange.duration})).sort((e,t)=>e.start-t.start),a=null,o=(e,t)=>{if(t-e<-1e-6)return;let r=E(n,e,Math.max(e,t));(a===null||Math.abs(r-n)<Math.abs(a-n))&&(a=r)},s=0;for(let e of i)o(s,e.start-r),s=Math.max(s,e.end);return o(s,1/0),a??n}function T(e,t){let n=t.timeRange.start,r=n+t.timeRange.duration,i=0,a=1/0;for(let o of e.clips){if(o.id===t.id)continue;let e=o.timeRange.start,s=e+o.timeRange.duration;s<=n+w&&(i=Math.max(i,s)),e>=r-w&&(a=Math.min(a,e))}return{prevEnd:i,nextStart:a}}function E(e,t,n){return Math.min(Math.max(e,t),n)}function ae(e,t,n,r){let i=v(e,t);if(!i||i.clip.locked||i.track.locked||!Number.isFinite(n)||n<0)return null;if(i.track.id===r)return i.clip.timeRange.start===n?null:x(`Move clip`,[{op:`set`,path:[...S(i.sceneIndex,i.trackIndex),i.clipIndex,`timeRange`,`start`],value:n}]);let a=i.scene.tracks.findIndex(e=>e.id===r);if(a===-1)return null;let o={...i.clip,timeRange:{...i.clip.timeRange,start:n}},s=i.scene.tracks[a];return s.locked||!R(s,o)?null:x(`Move clip`,[{op:`remove`,path:S(i.sceneIndex,i.trackIndex),index:i.clipIndex},{op:`set`,path:S(i.sceneIndex,a),value:b(C([...s.clips,o]))}])}function D(e,t){let n=new Set(e.tracks.map(e=>e.name)),r=e.tracks.length+1;for(;n.has(`Track ${r}`);)r++;return{id:y(),name:`Track ${r}`,clips:t,locked:!1,hidden:!1,muted:!1,solo:!1,mode:`default`,volume:1}}function oe(e,t){if(t.under===null)return e.tracks.length;let n=e.tracks.findIndex(e=>e.id===t.under);return n===-1?null:n}function O(e,t,n,r){let i=oe(t,n);if(i===null)return null;let a=D(t,r);return{ops:[{op:`insert`,path:[`scenes`,e.scenes.indexOf(t),`tracks`],index:i,value:b(a)}],trackId:a.id}}function se(e,t,n,r){let i=v(e,t);if(!i||i.clip.locked||i.track.locked||!Number.isFinite(n)||n<0)return null;let a={...i.clip,timeRange:{...i.clip.timeRange,start:n}},o=O(e,i.scene,r,[a]);return o?x(`Move clip to new track`,[{op:`remove`,path:S(i.sceneIndex,i.trackIndex),index:i.clipIndex},...o.ops]):null}function ce(e,t,n){let r=v(e,t);if(!r||r.clip.locked||r.track.locked)return null;let i={...r.clip,timeRange:{start:n.start,duration:n.duration}};return h(i)&&n.trimStart!==null&&n.trimEnd!==null&&(i={...i,trim:{start:n.trimStart,end:n.trimEnd}}),x(`Trim clip`,[{op:`set`,path:[...S(r.sceneIndex,r.trackIndex),r.clipIndex],value:b(i)}])}function le(e,t,n){if(n===0||!Number.isFinite(n))return null;for(let r of t){let i=v(e,r);if(!i||i.clip.locked||i.track.locked||i.clip.timeRange.start+n<0)return null;let a=i.clip.timeRange.start+n,o=a+i.clip.timeRange.duration;if(i.track.clips.some(e=>!t.includes(e.id)&&e.timeRange.start<o-w&&e.timeRange.start+e.timeRange.duration>a+w))return null}let r=new Set(t),i=[],a=0;for(let t=0;t<e.scenes.length;t++){let o=e.scenes[t];for(let e=0;e<o.tracks.length;e++){let s=o.tracks[e];if(!s.clips.some(e=>r.has(e.id)))continue;let c=s.clips.map(e=>r.has(e.id)?(a++,{...e,timeRange:{...e.timeRange,start:e.timeRange.start+n}}):e);i.push({op:`set`,path:S(t,e),value:b(C(c))})}}return a===0?null:x(a>1?`Move clips`:`Move clip`,i)}function k(e,t,n){let r=v(e,t);if(!r||r.clip.locked||r.track.locked)return null;let i=r.clip.timeRange.start+r.clip.timeRange.duration,a=n.start+n.duration-i;if(a&&r.track.clips.some(e=>e.id!==t&&e.locked&&e.timeRange.start>=i-w))return null;let o={...r.clip,timeRange:{start:n.start,duration:n.duration}};h(o)&&n.trimStart!==null&&n.trimEnd!==null&&(o={...o,trim:{start:n.trimStart,end:n.trimEnd}});let s=r.track.clips.map(e=>e.id===t?o:e.timeRange.start>=i-w&&a!==0?{...e,timeRange:{...e.timeRange,start:e.timeRange.start+a}}:e);return x(`Ripple trim`,[{op:`set`,path:S(r.sceneIndex,r.trackIndex),value:b(C(s))}])}function A(e,t){return Math.abs(e.timeRange.start+e.timeRange.duration-t.timeRange.start)<=w}function j(e,t){let n=null,r=null;for(let i of e.clips)i.id!==t.id&&(A(i,t)&&(n=i),A(t,i)&&(r=i));return{left:n,right:r}}function ue(e,t,n,r){let i=1/(r>0?r:30),a=t.timeRange.start+i,o=n.timeRange.start+n.timeRange.duration-i;if(h(t)){let n=g(e,t);n!==null&&(o=Math.min(o,t.timeRange.start+(n-t.trim.start)/t.speed))}return h(n)&&(a=Math.max(a,n.timeRange.start-n.trim.start/n.speed)),{lo:a,hi:o}}function de(e,t,n,r){let i=v(e,t),a=v(e,n);if(!i||!a||i.track.locked||i.clip.locked||a.clip.locked||i.sceneIndex!==a.sceneIndex||i.trackIndex!==a.trackIndex)return null;let o=a.clip.timeRange.start;if(r===o)return null;let s=r-o,c={...i.clip,timeRange:{start:i.clip.timeRange.start,duration:r-i.clip.timeRange.start}};h(c)&&(c={...c,trim:{start:c.trim.start,end:c.trim.end+c.speed*s}});let l={...a.clip,timeRange:{start:r,duration:a.clip.timeRange.duration-s}};return h(l)&&(l={...l,trim:{start:l.trim.start+l.speed*s,end:l.trim.end}}),x(`Roll edit`,[{op:`set`,path:[...S(i.sceneIndex,i.trackIndex),i.clipIndex],value:b(c)},{op:`set`,path:[...S(a.sceneIndex,a.trackIndex),a.clipIndex],value:b(l)}])}function fe(e,t){let n=g(e,t);return{lo:-t.trim.start,hi:n===null?0:n-t.trim.end}}function pe(e,t,n){if(n===0)return null;let r=v(e,t);if(!r||r.track.locked||r.clip.locked||!h(r.clip))return null;let i={start:r.clip.trim.start+n,end:r.clip.trim.end+n};return x(`Slip clip`,[{op:`set`,path:[...S(r.sceneIndex,r.trackIndex),r.clipIndex,`trim`],value:b(i)}])}function me(e,t,n,r){let i=1/(r>0?r:30),{left:a,right:o}=j(t,n),s=T(t,n),c=-n.timeRange.start,l=1/0;if(a){if(c=Math.max(c,i-a.timeRange.duration),h(a)){let t=g(e,a);t!==null&&(l=Math.min(l,(t-a.trim.end)/a.speed))}}else c=Math.max(c,s.prevEnd-n.timeRange.start);let u=n.timeRange.start+n.timeRange.duration;return o?(l=Math.min(l,o.timeRange.duration-i),h(o)&&(c=Math.max(c,-o.trim.start/o.speed))):l=Math.min(l,s.nextStart-u),{lo:c,hi:l}}function he(e,t,n){if(n===0)return null;let r=v(e,t);if(!r||r.track.locked||r.clip.locked)return null;let{left:i,right:a}=j(r.track,r.clip);if(i?.locked||a?.locked)return null;let o=r.track.clips.map(e=>{if(e.id===t)return{...e,timeRange:{...e.timeRange,start:e.timeRange.start+n}};if(i&&e.id===i.id){let t={...e,timeRange:{...e.timeRange,duration:e.timeRange.duration+n}};return h(t)&&(t={...t,trim:{start:t.trim.start,end:t.trim.end+t.speed*n}}),t}if(a&&e.id===a.id){let t={...e,timeRange:{start:e.timeRange.start+n,duration:e.timeRange.duration-n}};return h(t)&&(t={...t,trim:{start:t.trim.start+t.speed*n,end:t.trim.end}}),t}return e});return x(`Slide clip`,[{op:`set`,path:S(r.sceneIndex,r.trackIndex),value:b(C(o))}])}var M=5,N={x:0,y:0,scaleX:1,scaleY:1,rotation:0,skewX:0,skewY:0,anchorX:.5,anchorY:.5,flipX:!1,flipY:!1};function P(e,t,n){let r=e.kind===`image`?M:e.duration??M,i={id:y(),name:e.name,opacity:1,blendMode:`normal`,effects:[],timeRange:{start:n,duration:r},animations:[],presetAnimations:[],mask:null,locked:!1,hidden:!1};if(e.kind===`audio`)return{...i,kind:`audio`,assetId:e.id,size:{width:0,height:0},transform:{...N},trim:{start:0,end:e.duration??r},speed:1,preservePitch:!0,volume:1,muted:!1};let a=e.width!=null&&e.width>0?e.width:t.width,o=e.height!=null&&e.height>0?e.height:t.height,s=Math.min(t.width/a,t.height/o);return{...i,kind:`media`,assetId:e.id,size:{width:a,height:o},transform:{...N,x:t.width/2,y:t.height/2,scaleX:s,scaleY:s},trim:{start:0,end:e.duration??r},speed:1,preservePitch:!0,volume:1,muted:!1,cornerRadius:{mixed:!1,uniform:0,tl:0,tr:0,br:0,bl:0}}}var ge=5;function F(e){return e.duration>0?e.duration:ge}function I(e,t,n){let r=Math.min(1,t.width/e.width,t.height/e.height),i=F(e);return{id:y(),kind:`scene`,sceneId:e.id,name:e.name,opacity:1,blendMode:`normal`,effects:[],timeRange:{start:n,duration:i},trim:{start:0,end:i},speed:1,animations:[],presetAnimations:[],mask:null,locked:!1,hidden:!1,size:{width:e.width,height:e.height},transform:{...N,x:t.width/2,y:t.height/2,scaleX:r,scaleY:r}}}function L(e,t,n){let r=new Set,i=n=>{if(n===t)return!0;if(r.has(n))return!1;r.add(n);let a=e.scenes.find(e=>e.id===n);if(!a)return!1;for(let e of a.tracks)for(let t of e.clips)if(t.kind===`scene`&&i(t.sceneId))return!0;return!1};return i(n)}function _e(e,t){return e.activeSceneId===t||!e.scenes.some(e=>e.id===t)?null:x(`Switch scene`,[{op:`set`,path:[`activeSceneId`],value:t}])}function R(e,t){let n=t.kind===`audio`;return e.clips.every(e=>e.kind===`audio`===n)}function ve(e,t,n,r){let i=1/(r>0?r:30),a=[];for(let r of e){let e=r.timeRange.start,o=e+r.timeRange.duration;if(o<=t+w||e>=n-w){a.push(r);continue}let s=t-e>=i,c=o-n>=i;if(s&&c){let[e,i]=H(r,t),[,o]=H(i,n);a.push(e,o)}else s?a.push(H(r,t)[0]):c&&a.push(H(r,n)[1])}return a}function ye(e,t,n,r){if(r===null)return null;let i=e.scenes.indexOf(t),a=t.tracks.findIndex(e=>e.id===r),o=t.tracks[a];if(!o||o.locked||o.mode===`sequential`||!R(o,n))return null;let s=n.timeRange.start,c=s+n.timeRange.duration,l=o.clips.filter(e=>e.timeRange.start<c-w&&e.timeRange.start+e.timeRange.duration>s+w);if(l.length===0||l.some(e=>e.locked))return null;let u=t.fps>0?t.fps:30,d=C([...ve(o.clips,s,c,u),n]);return{envelope:x(`Overwrite clip`,[{op:`set`,path:S(i,a),value:b(d)}]),clipId:n.id}}function z(e,t,n,r,i){if(r.kind===`new-track`){let i=O(e,t,r.slot,[n]);return i&&{ops:i.ops,name:`Add clip to new track`,trackId:i.trackId}}let a=ye(e,t,n,r.trackId);if(a&&r.trackId!==null)return{ops:a.envelope.ops,name:a.envelope.name,trackId:r.trackId};let o=i.planClipPlacement(e,t.id,n,{preferredTrackId:r.trackId});return o?{ops:o.ops,name:`Add clip`,trackId:o.trackId}:null}function be(e,t,n,r,i){let a=_(e),o=e.assets.find(e=>e.id===t);if(!a||!o)return null;let s=P(o,a,Math.max(0,n)),c=z(e,a,s,r,i);return c?{envelope:x(c.name,c.ops),clipId:s.id}:null}function B(e,t){let n=structuredClone(e),r=e=>{let t=n;for(let n of e)t=t[n];return t};for(let e of t)if(e.op===`set`)r(e.path.slice(0,-1))[e.path[e.path.length-1]]=structuredClone(e.value);else{let t=r(e.path);e.op===`insert`?t.splice(e.index,0,structuredClone(e.value)):e.op===`remove`?t.splice(e.index,1):t.splice(e.to,0,...t.splice(e.from,1))}return n}function xe(e,t,n){let r=Math.max(0,n),i=[];for(let n of t){let t=e.assets.find(e=>e.id===n);if(!t||t.kind===`font`||t.kind===`component`)continue;let a=t.kind===`image`?M:t.duration??M;i.push({name:t.name,kind:t.kind,start:r,duration:a}),r+=a}return i}function Se(e,t,n){let r=_(e);if(!r)return[];let i=Math.max(0,n),a=[];for(let n of t){let t=e.scenes.find(e=>e.id===n);if(!t||L(e,r.id,t.id))continue;let o=F(t);a.push({name:t.name,kind:`scene`,start:i,duration:o}),i+=o}return a}function Ce(e,t,n,r,i){let a=_(e);if(!a)return null;let o=t.map(t=>e.scenes.find(e=>e.id===t)).filter(t=>t!==void 0&&!L(e,a.id,t.id));if(o.length===0)return null;let s=e,c=Math.max(0,n),l=r,u=[],d=[];for(let e of o){let t=_(s);if(!t)return null;let n=I(e,t,c),r=z(s,t,n,l,i);r&&(u.push(...r.ops),d.push(n.id),c+=n.timeRange.duration,s=B(s,r.ops),l={kind:`track`,trackId:r.trackId})}return d.length===0?null:{envelope:x(d.length>1?`Add scene clips`:`Add scene clip`,u),clipIds:d}}function we(e,t,n,r,i){let a=t.map(t=>e.assets.find(e=>e.id===t)).filter(e=>e!==void 0);if(a.length===0)return null;if(a.length===1){let t=be(e,a[0].id,n,r,i);return t?{envelope:t.envelope,clipIds:[t.clipId]}:null}let o=e,s=Math.max(0,n),c=r,l=[],u=[];for(let e of a){let t=_(o);if(!t)return null;let n=P(e,t,s),r=z(o,t,n,c,i);r&&(l.push(...r.ops),u.push(n.id),s+=n.timeRange.duration,o=B(o,r.ops),c={kind:`track`,trackId:r.trackId})}return u.length===0?null:{envelope:x(`Add clips`,l),clipIds:u}}function Te(e,t,n,r,i){let a=_(e);if(!a)return null;let o=P(t,a,Math.max(0,n)),c=z(e,a,o,r,i);return c?{envelope:x(`Import and add clip`,[s(e,t,b(t)),...c.ops]),clipId:o.id}:null}var V={kind:`linear`};function Ee(e,t){let n=[],r=[];for(let i of e){let e=[],a=[];for(let n of i.keyframes)n.time<t?e.push(n):a.push({...n,id:y(),time:n.time-t});let o=e[e.length-1],s=a[0];if(o&&s&&s.time>1e-9){let n=ee(i.keyframes,t);n!==null&&(e.push({id:y(),time:t,value:n,easing:V}),a.unshift({id:y(),time:0,value:n,easing:o.easing}))}e.length>0&&n.push({...i,keyframes:e}),a.length>0&&r.push({...i,id:y(),keyframes:a})}return{left:n,right:r}}function De(e){let t=new Map;return{effects:e.map(e=>{let n=y();return t.set(e.id,n),{...e,id:n}}),idMap:t}}function H(e,t){let n=t-e.timeRange.start,{left:r,right:i}=Ee(e.animations,n),{effects:a,idMap:o}=De(e.effects),s=i.map(e=>e.effectId===null?e:{...e,effectId:o.get(e.effectId)??e.effectId}),c={...e,timeRange:{start:e.timeRange.start,duration:n},animations:r,presetAnimations:e.presetAnimations.filter(e=>e.direction===`in`)},l={...e,id:y(),timeRange:{start:t,duration:e.timeRange.duration-n},animations:s,effects:a,presetAnimations:e.presetAnimations.filter(e=>e.direction===`out`).map(e=>({...e,id:y()})),mask:e.mask?{...e.mask}:null};if(h(c)&&h(l)){let e=c.trim,n=te(c,t);return[{...c,trim:{start:e.start,end:n}},{...l,trim:{start:n,end:e.end}}]}return[c,l]}function U(e,t,n,r){let i=new Set(r??n),a=1e-6,o=new Set;for(let n of e.tracks)if(!n.locked)for(let e of n.clips){if(e.locked||i.size>0&&!i.has(e.id))continue;let{start:n,duration:r}=e.timeRange;t>n+a&&t<n+r-a&&o.add(e.id)}return o}function W(e,t,n,r){let i=_(e);if(!i)return null;let a=e.scenes.indexOf(i),o=U(i,t,n,r);if(o.size===0)return null;let s=[],c=[];for(let e=0;e<i.tracks.length;e++){let n=i.tracks[e];if(!n.clips.some(e=>o.has(e.id)))continue;let r=[];for(let e of n.clips){if(!o.has(e.id)){r.push(e);continue}let[n,i]=H(e,t);r.push(n,i),s.push(i.id)}c.push({op:`set`,path:S(a,e),value:b(r)})}return{envelope:x(`Split clip`,c),rightIds:s}}function Oe(e,t){let n=new Set(t.filter(t=>{let n=v(e,t);return n!==null&&!n.clip.locked&&!n.track.locked}));if(n.size===0)return null;let r=[];for(let t=0;t<e.scenes.length;t++){let i=e.scenes[t];for(let e=0;e<i.tracks.length;e++){let a=i.tracks[e];a.clips.some(e=>n.has(e.id))&&r.push({op:`set`,path:S(t,e),value:b(a.clips.filter(e=>!n.has(e.id)))})}}return x(n.size>1?`Delete clips`:`Delete clip`,r)}function G(e,t){let n=new Set(t.filter(t=>{let n=v(e,t);return n!==null&&!n.clip.locked&&!n.track.locked}));if(n.size===0)return null;let r=[];for(let t=0;t<e.scenes.length;t++){let i=e.scenes[t];for(let e=0;e<i.tracks.length;e++){let a=i.tracks[e],o=a.clips.filter(e=>n.has(e.id));if(o.length===0)continue;if(a.clips.some(e=>e.locked&&o.some(t=>t.timeRange.start<e.timeRange.start)))return null;let s=a.clips.filter(e=>!n.has(e.id)).map(e=>{let t=o.reduce((t,n)=>t+(n.timeRange.start<e.timeRange.start?n.timeRange.duration:0),0);return t<=0?e:{...e,timeRange:{...e.timeRange,start:Math.max(0,e.timeRange.start-t)}}});r.push({op:`set`,path:S(t,e),value:b(s)})}}return x(n.size>1?`Ripple delete clips`:`Ripple delete clip`,r)}function ke(e,t,n){let r=n.end-n.start;if(r<=w)return null;for(let i=0;i<e.scenes.length;i++){let a=e.scenes[i],o=a.tracks.findIndex(e=>e.id===t);if(o<0)continue;let s=a.tracks[o];if(s.locked||s.clips.some(e=>e.locked&&e.timeRange.start>=n.end-w))return null;let c=!1,l=s.clips.map(e=>e.timeRange.start<n.end-w?e:(c=!0,{...e,timeRange:{...e.timeRange,start:Math.max(0,e.timeRange.start-r)}}));return c?x(`Close gap`,[{op:`set`,path:S(i,o),value:b(l)}]):null}return null}function Ae(e,t){let n=v(e,t);return n?x(n.clip.hidden?`Show clip`:`Hide clip`,[{op:`set`,path:[...S(n.sceneIndex,n.trackIndex),n.clipIndex,`hidden`],value:!n.clip.hidden}]):null}var je={kind:`cubic-bezier`,x1:0,y1:0,x2:.58,y2:1};function Me(e,t,n,r){let i=v(e,t);if(!i)return null;let a=i.scene.fps>0?i.scene.fps:30,o=i.clip.presetAnimations.filter(e=>e.preset===`volume`&&e.direction!==n&&typeof e.params.transitionId!=`string`).reduce((e,t)=>Math.max(e,t.duration),0),s=E(r,0,Math.max(0,i.clip.timeRange.duration-o)),c=s<.5/a,l=i.clip.presetAnimations.find(e=>e.preset===`volume`&&e.direction===n&&typeof e.params.transitionId!=`string`);if(c&&!l||l&&!c&&l.duration===s)return null;let u=c?i.clip.presetAnimations.filter(e=>e!==l):l?i.clip.presetAnimations.map(e=>e===l?{...e,duration:s}:e):[...i.clip.presetAnimations,{id:y(),preset:`volume`,direction:n,duration:s,easing:je,params:{}}],d=n===`in`?`fade in`:`fade out`;return x(c?`Remove ${d}`:`Set ${d}`,[{op:`set`,path:[...S(i.sceneIndex,i.trackIndex),i.clipIndex,`presetAnimations`],value:b(u)}])}function K(e,t){return t.kind===`audio`||t.kind===`media`&&e.assets.find(e=>e.id===t.assetId)?.kind===`video`}function Ne(e,t){return K(e,t)&&(t.kind!==`media`||!t.muted)}function q(e){return[...S(e.sceneIndex,e.trackIndex),e.clipIndex,`animations`]}function Pe(e,t,n,r,i){let a=v(e,t);if(!a)return null;let o=a.clip.animations.findIndex(e=>e.id===n),s=a.clip.animations[o];if(!s||!s.keyframes.some(e=>e.id===r))return null;let c=s.keyframes.map(e=>e.id===r?{...e,time:i}:e).sort((e,t)=>e.time-t.time);return x(`Move keyframe`,[{op:`set`,path:[...q(a),o,`keyframes`],value:b(c)}])}function Fe(e,t,n,r){let i=v(e,t);if(!i)return null;let a=i.clip.animations.find(e=>e.id===n);if(!a||!a.keyframes.some(e=>e.id===r))return null;let o=i.clip.animations.map(e=>e.id===n?{...e,keyframes:e.keyframes.filter(e=>e.id!==r)}:e).filter(e=>e.keyframes.length>0);return x(`Delete keyframe`,[{op:`set`,path:q(i),value:b(o)}])}var Ie={muted:[`Mute track`,`Unmute track`],solo:[`Solo track`,`Unsolo track`],locked:[`Lock track`,`Unlock track`],hidden:[`Hide track`,`Show track`]};function Le(e,t,n){for(let r=0;r<e.scenes.length;r++){let i=e.scenes[r],a=i.tracks.findIndex(e=>e.id===t);if(a===-1)continue;let o=i.tracks[a][n];return x(Ie[n][+!!o],[{op:`set`,path:[`scenes`,r,`tracks`,a,n],value:!o}])}return null}function J(e,t){let n=(e,r)=>{for(let i=0;i<e.length;i++){let a=e[i];if(a.id===t)return[...r,i];if(a.kind===`group`){let e=n(a.children,[...r,i,`children`]);if(e)return e}}return null};for(let t=0;t<e.scenes.length;t++){let r=e.scenes[t].tracks;for(let e=0;e<r.length;e++){let i=n(r[e].clips,[`scenes`,t,`tracks`,e,`clips`]);if(i)return i}}return null}var Re={hidden:[`Hide layer`,`Show layer`],muted:[`Mute layer`,`Unmute layer`],locked:[`Lock layer`,`Unlock layer`]};function ze(e,t,n,r){let i=[];for(let a of t){let t=J(e,a.id);t&&(n!==`muted`||a.kind===`media`||a.kind===`audio`)&&i.push({op:`set`,path:[...t,n],value:r})}return i.length?x(Re[n][+!r],i):null}function Be(e,t,n){let r=J(e,t);return r?x(`Rename layer`,[{op:`set`,path:[...r,`name`],value:n}]):null}function Ve(e,t,n){for(let r=0;r<e.scenes.length;r++){let i=e.scenes[r].tracks,a=i.findIndex(e=>e.id===t);if(a===-1)continue;let o=n===`front`?i.length-1:0;return a===o?null:x(n===`front`?`Bring to front`:`Send to back`,[{op:`move`,path:[`scenes`,r,`tracks`],from:a,to:o}])}return null}function He(e){let t=_(e);if(!t)return null;let n=e.scenes.indexOf(t),r=D(t,[]);return x(`Add track`,[{op:`insert`,path:[`scenes`,n,`tracks`],index:t.tracks.length,value:b(r)}])}function Ue(e,t){for(let n=0;n<e.scenes.length;n++){let r=e.scenes[n],i=r.tracks.findIndex(e=>e.id===t);if(i!==-1)return r.tracks[i].locked?null:x(`Delete track`,[{op:`remove`,path:[`scenes`,n,`tracks`],index:i}])}return null}function Y(e){return[`scenes`,e,`markers`]}function X(e,t){for(let n=0;n<e.scenes.length;n++){let r=e.scenes[n];for(let e=0;e<r.markers.length;e++)if(r.markers[e].id===t)return{scene:r,sceneIndex:n,marker:r.markers[e],markerIndex:e}}return null}function Z(e,t){let n=_(e);if(!n)return null;let r=e.scenes.indexOf(n),i={id:y(),time:Math.max(0,t),label:`Marker ${n.markers.length+1}`,color:null,note:null};return{envelope:x(`Add marker`,[{op:`insert`,path:Y(r),index:n.markers.length,value:b(i)}]),markerId:i.id}}function We(e,t){let n=X(e,t);return n?x(`Remove marker`,[{op:`remove`,path:Y(n.sceneIndex),index:n.markerIndex}]):null}function Ge(e,t,n){let r=X(e,t);if(!r)return null;let i=Math.max(0,n);return i===r.marker.time?null:x(`Move marker`,[{op:`set`,path:[...Y(r.sceneIndex),r.markerIndex,`time`],value:i}])}function Q(e,t=[]){let n=_(e);if(!n)return null;let r=e.scenes.indexOf(n),i=t.map(t=>v(e,t)).filter(e=>e!==null&&e.scene===n).reduce((e,t)=>e&&e.trackIndex>=t.trackIndex?e:t,null),a=n.tracks.reduce((e,t)=>e+t.clips.filter(e=>e.kind===`adjustment`).length,0),o={id:y(),kind:`adjustment`,name:`Adjustment ${a+1}`,transform:{x:n.width/2,y:n.height/2,scaleX:1,scaleY:1,rotation:0,skewX:0,skewY:0,anchorX:.5,anchorY:.5,flipX:!1,flipY:!1},size:{width:n.width,height:n.height},opacity:1,blendMode:`normal`,effects:[],timeRange:i?{...i.clip.timeRange}:{start:0,duration:Math.max(n.duration,5)},animations:[],presetAnimations:[],mask:null,locked:!1,hidden:!1},s={id:y(),name:`Adjustment ${a+1}`,clips:[o],locked:!1,hidden:!1,muted:!1,solo:!1,mode:`default`,volume:1};return{envelope:x(`Add adjustment layer`,[{op:`insert`,path:[`scenes`,r,`tracks`],index:i?i.trackIndex+1:n.tracks.length,value:b(s)}]),clipId:o.id}}var Ke=`fable-timeline-styles`,qe=`
|
|
3
|
-
.ftl-timeline {
|
|
4
|
-
--ftl-surface: var(--hf-color-background-secondary);
|
|
5
|
-
--ftl-surface-elevated: var(--hf-color-background-tertiary);
|
|
6
|
-
--ftl-border-subtle: var(--hf-color-border-subtle);
|
|
7
|
-
--ftl-border-card: var(--hf-color-border-subtle);
|
|
8
|
-
position: relative;
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
min-height: 0;
|
|
14
|
-
overflow: hidden;
|
|
15
|
-
padding: 4px 0 0;
|
|
16
|
-
border: 2px solid var(--ftl-border-subtle);
|
|
17
|
-
border-radius: 24px;
|
|
18
|
-
background: var(--ftl-surface);
|
|
19
|
-
box-shadow:
|
|
20
|
-
inset 0 0 100px var(--hf-color-overlay-hover),
|
|
21
|
-
inset 32px 32px 64px var(--hf-color-overlay-dim-soft);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.ftl-body {
|
|
25
|
-
position: relative;
|
|
26
|
-
flex: 1;
|
|
27
|
-
min-height: 0;
|
|
28
|
-
margin: 0;
|
|
29
|
-
overflow: hidden;
|
|
30
|
-
border-top: 1px solid var(--ftl-border-card);
|
|
31
|
-
border-bottom: 1px solid var(--ftl-border-card);
|
|
32
|
-
}
|
|
33
|
-
.ftl-edit-status {
|
|
34
|
-
display: flex;
|
|
35
|
-
align-items: center;
|
|
36
|
-
justify-content: space-between;
|
|
37
|
-
gap: 12px;
|
|
38
|
-
padding: 6px 12px;
|
|
39
|
-
background: var(--ftl-surface-elevated);
|
|
40
|
-
color: var(--hf-color-text-primary);
|
|
41
|
-
font-size: 12px;
|
|
42
|
-
}
|
|
43
|
-
.ftl-canvas { position: absolute; inset: 0; touch-action: none; }
|
|
44
|
-
.ftl-playhead { position: absolute; inset: 0; pointer-events: none; }
|
|
45
|
-
.ftl-generating-glow {
|
|
46
|
-
position: absolute;
|
|
47
|
-
top: 0;
|
|
48
|
-
right: 0;
|
|
49
|
-
overflow: hidden;
|
|
50
|
-
pointer-events: none;
|
|
51
|
-
}
|
|
52
|
-
.ftl-generating-glow .hf-generation-pending-glow {
|
|
53
|
-
top: -3.5rem;
|
|
54
|
-
left: 9.51%;
|
|
55
|
-
right: 11.79%;
|
|
56
|
-
width: auto;
|
|
57
|
-
height: 3.875rem;
|
|
58
|
-
border-radius: 999px;
|
|
59
|
-
background: rgb(209 254 23 / 10%);
|
|
60
|
-
filter: blur(2.8125rem);
|
|
61
|
-
}
|
|
62
|
-
.ftl-generating {
|
|
63
|
-
position: absolute;
|
|
64
|
-
left: 0;
|
|
65
|
-
right: 0;
|
|
66
|
-
display: flex;
|
|
67
|
-
align-items: center;
|
|
68
|
-
justify-content: center;
|
|
69
|
-
gap: .5rem;
|
|
70
|
-
padding-bottom: .625rem;
|
|
71
|
-
border-bottom: 1px solid var(--ftl-border-subtle);
|
|
72
|
-
color: var(--hf-color-text-brand, #d1fe17);
|
|
73
|
-
font-size: .875rem;
|
|
74
|
-
font-weight: 500;
|
|
75
|
-
line-height: 1.25rem;
|
|
76
|
-
letter-spacing: .1px;
|
|
77
|
-
pointer-events: none;
|
|
78
|
-
animation: ftl-transition-reveal 160ms ease-out;
|
|
79
|
-
}
|
|
80
|
-
.ftl-generating-loader {
|
|
81
|
-
flex: none;
|
|
82
|
-
animation: hf-generation-pending-spin 1s linear infinite;
|
|
83
|
-
}
|
|
84
|
-
@media (prefers-reduced-motion: reduce) {
|
|
85
|
-
.ftl-generating, .ftl-generating-loader { animation: none; }
|
|
86
|
-
}
|
|
87
|
-
.ftl-transitions { position: absolute; right: 0; bottom: 0; overflow: hidden; pointer-events: none; }
|
|
88
|
-
.ftl-transition {
|
|
89
|
-
position: absolute;
|
|
90
|
-
height: 24px;
|
|
91
|
-
transform: translate(-50%, -50%);
|
|
92
|
-
border-radius: 6px;
|
|
93
|
-
color: #fff;
|
|
94
|
-
background: rgb(0 0 0 / 50%);
|
|
95
|
-
backdrop-filter: blur(12px);
|
|
96
|
-
box-shadow: 0 8px 8px rgb(0 0 0 / 50%);
|
|
97
|
-
pointer-events: auto;
|
|
98
|
-
animation: ftl-transition-reveal 140ms ease-out;
|
|
99
|
-
}
|
|
100
|
-
.ftl-transition[data-selected="true"] { color: #111; background: #fff; }
|
|
101
|
-
.ftl-transition[data-applied="true"] {
|
|
102
|
-
height: 42px;
|
|
103
|
-
color: #fff;
|
|
104
|
-
background: rgb(255 255 255 / 1%);
|
|
105
|
-
backdrop-filter: none;
|
|
106
|
-
border: 1px solid var(--ftl-border-subtle, rgb(255 255 255 / 5%));
|
|
107
|
-
box-shadow: inset 0 0 29.4px rgb(255 255 255 / 60%);
|
|
108
|
-
}
|
|
109
|
-
.ftl-transition[data-applied="true"][data-selected="true"] { border-color: #fff; }
|
|
110
|
-
.ftl-transition[data-context-menu="true"][data-applied="false"] {
|
|
111
|
-
height: 42px;
|
|
112
|
-
border-radius: 2px;
|
|
113
|
-
background: linear-gradient(to bottom, rgba(209,254,23,.75), rgba(209,254,23,.45));
|
|
114
|
-
backdrop-filter: none;
|
|
115
|
-
box-shadow: none;
|
|
116
|
-
pointer-events: none;
|
|
117
|
-
}
|
|
118
|
-
.ftl-transition[data-context-menu="true"][data-applied="false"] .ftl-transition-button { visibility: hidden; }
|
|
119
|
-
.ftl-transition-button {
|
|
120
|
-
display: flex;
|
|
121
|
-
align-items: center;
|
|
122
|
-
justify-content: center;
|
|
123
|
-
width: 100%;
|
|
124
|
-
height: 100%;
|
|
125
|
-
padding: 0;
|
|
126
|
-
border: 0;
|
|
127
|
-
border-radius: inherit;
|
|
128
|
-
background: transparent;
|
|
129
|
-
color: inherit;
|
|
130
|
-
cursor: pointer;
|
|
131
|
-
}
|
|
132
|
-
.ftl-transition[data-compact="true"] .ftl-transition-button svg { visibility: hidden; }
|
|
133
|
-
.ftl-transition-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
|
|
134
|
-
.ftl-transition-handle {
|
|
135
|
-
position: absolute;
|
|
136
|
-
top: 0;
|
|
137
|
-
bottom: 0;
|
|
138
|
-
width: 8px;
|
|
139
|
-
max-width: 30%;
|
|
140
|
-
padding: 0;
|
|
141
|
-
border: 0;
|
|
142
|
-
background: transparent;
|
|
143
|
-
cursor: ew-resize;
|
|
144
|
-
touch-action: none;
|
|
145
|
-
}
|
|
146
|
-
.ftl-transition-handle[data-side="left"] { left: 0; }
|
|
147
|
-
.ftl-transition-handle[data-side="right"] { right: 0; }
|
|
148
|
-
.ftl-transition-handle::after {
|
|
149
|
-
content: "";
|
|
150
|
-
position: absolute;
|
|
151
|
-
top: calc(50% - 4px);
|
|
152
|
-
width: 2px;
|
|
153
|
-
height: 8px;
|
|
154
|
-
border-radius: 99px;
|
|
155
|
-
background: #fff;
|
|
156
|
-
}
|
|
157
|
-
.ftl-transition-handle[data-side="left"]::after { left: 1px; }
|
|
158
|
-
.ftl-transition-handle[data-side="right"]::after { right: 1px; }
|
|
159
|
-
.ftl-transition-handle:focus-visible { outline: 1px solid #fff; border-radius: 3px; }
|
|
160
|
-
@keyframes ftl-transition-reveal { from { opacity: 0; } to { opacity: 1; } }
|
|
161
|
-
@media (prefers-reduced-motion: reduce) { .ftl-transition { animation: none; } }
|
|
162
|
-
.ftl-toolbar {
|
|
163
|
-
flex: none;
|
|
164
|
-
display: flex;
|
|
165
|
-
align-items: center;
|
|
166
|
-
gap: 3px;
|
|
167
|
-
height: 48px;
|
|
168
|
-
padding: 4px 6px 10px;
|
|
169
|
-
overflow: visible;
|
|
170
|
-
background: transparent;
|
|
171
|
-
border-bottom: 1px solid var(--ftl-border-subtle);
|
|
172
|
-
}
|
|
173
|
-
.ftl-toolbar-group {
|
|
174
|
-
display: inline-flex;
|
|
175
|
-
flex: none;
|
|
176
|
-
align-items: center;
|
|
177
|
-
gap: 3px;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.ftl-toolbar-sep {
|
|
181
|
-
flex: none;
|
|
182
|
-
width: 1px;
|
|
183
|
-
height: 16px;
|
|
184
|
-
margin: 0 8px;
|
|
185
|
-
background: var(--ftl-border-subtle);
|
|
186
|
-
}
|
|
187
|
-
.ftl-tool {
|
|
188
|
-
position: relative;
|
|
189
|
-
flex: none;
|
|
190
|
-
width: 32px;
|
|
191
|
-
height: 32px;
|
|
192
|
-
padding: 0;
|
|
193
|
-
border-radius: 9999px;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
.ftl-transition-menu-anchor {
|
|
198
|
-
position: fixed; width: 0; height: 42px; padding: 0; border: 0;
|
|
199
|
-
pointer-events: none; opacity: 0;
|
|
200
|
-
}
|
|
201
|
-
.ftl-transition-menu-positioner,
|
|
202
|
-
.q-dropdown-positioner:has(> :is(.ftl-transition-duration-menu, .ftl-effect-menu)) { z-index: 1000; }
|
|
203
|
-
:is(.ftl-transition-menu, .ftl-effect-menu).q-dropdown-popup {
|
|
204
|
-
box-sizing: border-box; width: 242px; min-width: 0; max-width: calc(100vw - 16px);
|
|
205
|
-
padding: 6px; gap: 2px; border-radius: 16px; border: .5px solid rgba(255,255,255,.05);
|
|
206
|
-
background: #0f0f0f; color: #fff; box-shadow: 0 12px 16px rgba(0,0,0,.35);
|
|
207
|
-
}
|
|
208
|
-
.ftl-transition-menu[data-applied="true"] { width: 260px; }
|
|
209
|
-
.ftl-transition-duration-menu.q-dropdown-popup { width: 180px; }
|
|
210
|
-
:is(.ftl-transition-menu, .ftl-effect-menu) .q-menu-item {
|
|
211
|
-
height: 36px; min-height: 36px; padding: 0 8px; gap: 8px; border-radius: 8px;
|
|
212
|
-
font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: .1px;
|
|
213
|
-
}
|
|
214
|
-
:is(.ftl-transition-menu, .ftl-effect-menu) .q-menu-item[data-highlighted] { background: rgba(255,255,255,.05); }
|
|
215
|
-
:is(.ftl-transition-menu, .ftl-effect-menu) .q-menu-item-title { font: inherit; letter-spacing: inherit; }
|
|
216
|
-
:is(.ftl-transition-menu, .ftl-effect-menu) .q-menu-item-icon { width: 16px; height: 16px; }
|
|
217
|
-
:is(.ftl-transition-menu, .ftl-effect-menu) .q-menu-item-trailing { font: inherit; color: rgba(255,255,255,.6); }
|
|
218
|
-
:is(.ftl-transition-menu, .ftl-effect-menu) [role="separator"] { margin: 4px 0; height: 1px; border: 0; background: rgba(255,255,255,.08); }
|
|
219
|
-
.ftl-effect-menu.q-dropdown-popup { width: 260px; }
|
|
220
|
-
.ftl-effect-menu-label {
|
|
221
|
-
padding: 8px; color: rgba(255,255,255,.5); font-size: 12px; line-height: 16px;
|
|
222
|
-
font-weight: 500; text-transform: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
223
|
-
}
|
|
224
|
-
.ftl-effect-menu .q-menu-item-danger { color: #e5534b; }
|
|
225
|
-
.ftl-effect-menu .ftl-effect-row { padding-right: 4px; }
|
|
226
|
-
.ftl-effect-remove {
|
|
227
|
-
display: grid; place-items: center; width: 28px; height: 28px; padding: 6px; border: 0;
|
|
228
|
-
border-radius: 6px; color: rgba(255,255,255,.5); background: transparent; cursor: pointer;
|
|
229
|
-
}
|
|
230
|
-
.ftl-effect-remove:hover, .ftl-effect-remove:focus-visible { color: white; background: rgba(255,255,255,.08); }
|
|
231
|
-
.ftl-effect-remove:disabled { opacity: .4; cursor: default; }
|
|
232
|
-
.ftl-transition-duration-check { color: var(--hf-color-brand-primary); }
|
|
233
|
-
|
|
234
|
-
.ftl-toolbar-group:has(.ftl-action) { gap: 6px; }
|
|
235
|
-
.ftl-action { flex: none; height: 32px; border-radius: 9999px; white-space: nowrap; }
|
|
236
|
-
.ftl-tip {
|
|
237
|
-
position: absolute;
|
|
238
|
-
top: calc(100% + 6px);
|
|
239
|
-
left: 0;
|
|
240
|
-
display: inline-flex;
|
|
241
|
-
align-items: center;
|
|
242
|
-
gap: 6px;
|
|
243
|
-
padding: 4px 6px;
|
|
244
|
-
border-radius: 6px;
|
|
245
|
-
background: var(--ftl-surface-elevated);
|
|
246
|
-
border: 1px solid var(--ftl-border-subtle);
|
|
247
|
-
color: var(--hf-color-text-primary);
|
|
248
|
-
white-space: nowrap;
|
|
249
|
-
box-shadow: 0 4px 16px var(--hf-color-overlay-dim-soft);
|
|
250
|
-
opacity: 0;
|
|
251
|
-
visibility: hidden;
|
|
252
|
-
pointer-events: none;
|
|
253
|
-
z-index: 30;
|
|
254
|
-
transition: opacity 120ms ease 300ms, visibility 0ms linear 300ms;
|
|
255
|
-
}
|
|
256
|
-
.ftl-tip-right { left: auto; right: 0; }
|
|
257
|
-
.ftl-tool:hover .ftl-tip,
|
|
258
|
-
.ftl-tool:focus-visible .ftl-tip {
|
|
259
|
-
opacity: 1;
|
|
260
|
-
visibility: visible;
|
|
261
|
-
}
|
|
262
|
-
.ftl-tool-preview-anchor { display: inline-flex; flex: none; }
|
|
263
|
-
.ftl-tool-preview.q-tooltip {
|
|
264
|
-
box-sizing: border-box; display: flex; flex-direction: column; gap: 8px;
|
|
265
|
-
width: 240px; max-width: calc(100vw - 16px); padding: 8px 6px;
|
|
266
|
-
border: .5px solid rgba(255,255,255,.05); border-radius: 16px;
|
|
267
|
-
background: #0f0f0f; color: #fff; box-shadow: 0 12px 16px rgba(0,0,0,.35);
|
|
268
|
-
white-space: normal; text-align: left;
|
|
269
|
-
}
|
|
270
|
-
.ftl-tool-preview-media {
|
|
271
|
-
width: 100%; aspect-ratio: 16 / 9; flex: none; border-radius: 12px; background: #fff;
|
|
272
|
-
}
|
|
273
|
-
.ftl-tool-preview-copy { display: flex; flex-direction: column; gap: 2px; padding: 0 8px; }
|
|
274
|
-
.ftl-tool-preview-title {
|
|
275
|
-
margin: 0; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: .1px;
|
|
276
|
-
}
|
|
277
|
-
.ftl-tool-preview-description {
|
|
278
|
-
margin: 0; color: rgba(255,255,255,.5); font-size: 12px; font-weight: 500;
|
|
279
|
-
line-height: 16px; letter-spacing: 0;
|
|
280
|
-
}
|
|
281
|
-
.fshell[data-design="higgsfield"] .ftl-toolbar {
|
|
282
|
-
height: 48px;
|
|
283
|
-
background: transparent;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.ftl-layers {
|
|
287
|
-
position: absolute; left: 0; top: 0; bottom: 0; z-index: 3;
|
|
288
|
-
overflow: hidden; background: var(--ftl-surface);
|
|
289
|
-
border-right: 1px solid var(--hf-color-border-subtle);
|
|
290
|
-
font-size: 12px; user-select: none;
|
|
291
|
-
}
|
|
292
|
-
.ftl-transport {
|
|
293
|
-
position: absolute; left: 0; right: 0; top: 0; z-index: 2;
|
|
294
|
-
display: flex; align-items: center; gap: 2px; padding: 0 8px 0 6px;
|
|
295
|
-
background: var(--ftl-surface); border-bottom: 1px solid var(--hf-color-border-subtle);
|
|
296
|
-
}
|
|
297
|
-
.ftl-transport-button, .ftl-layer-toggle, .ftl-layer-chevron {
|
|
298
|
-
display: inline-flex; align-items: center; justify-content: center;
|
|
299
|
-
width: 22px; height: 22px; padding: 0; border: 0; border-radius: 5px;
|
|
300
|
-
background: transparent; color: rgba(255,255,255,.55); cursor: pointer;
|
|
301
|
-
}
|
|
302
|
-
.ftl-transport-button:hover, .ftl-layer-toggle:hover, .ftl-layer-chevron:hover { color: #fff; background: rgba(255,255,255,.08); }
|
|
303
|
-
.ftl-transport-button.on { color: #d1fe17; }
|
|
304
|
-
.ftl-timecode {
|
|
305
|
-
margin-left: auto; color: rgba(255,255,255,.55);
|
|
306
|
-
font: 500 11px/1 ui-monospace, "JetBrains Mono", Menlo, monospace; letter-spacing: .4px;
|
|
307
|
-
}
|
|
308
|
-
.ftl-layer-rows { position: absolute; left: 0; right: 0; bottom: 0; }
|
|
309
|
-
.ftl-layer {
|
|
310
|
-
position: absolute; left: 0; right: 0;
|
|
311
|
-
display: flex; align-items: center; justify-content: space-between; gap: 4px;
|
|
312
|
-
padding-right: 6px; color: rgba(255,255,255,.62);
|
|
313
|
-
border-bottom: 1px solid rgba(255,255,255,.06); box-sizing: border-box; cursor: default;
|
|
314
|
-
}
|
|
315
|
-
.ftl-layer:hover { background: rgba(255,255,255,.04); }
|
|
316
|
-
.ftl-layer.selected { background: rgba(209,254,23,.12); color: #fff; }
|
|
317
|
-
.ftl-layer.is-hidden .ftl-layer-label { opacity: .45; }
|
|
318
|
-
.ftl-layer-label { display: flex; align-items: center; gap: 4px; min-width: 0; flex: 1; }
|
|
319
|
-
.ftl-layer-chevron { width: 16px; height: 16px; flex: none; }
|
|
320
|
-
span.ftl-layer-chevron { cursor: default; }
|
|
321
|
-
.ftl-layer-icon { display: inline-flex; flex: none; color: rgba(255,255,255,.7); }
|
|
322
|
-
.ftl-layer-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: rgba(255,255,255,.88); }
|
|
323
|
-
.ftl-layer-input {
|
|
324
|
-
flex: 1; min-width: 0; height: 20px; padding: 0 4px; border: 1px solid #d1fe17; border-radius: 4px;
|
|
325
|
-
background: #1c1c1c; color: #fff; font: inherit; outline: none;
|
|
326
|
-
}
|
|
327
|
-
.ftl-layer-controls { display: flex; align-items: center; gap: 1px; flex: none; }
|
|
328
|
-
.ftl-layer-toggle { visibility: hidden; }
|
|
329
|
-
.ftl-layer:hover .ftl-layer-toggle, .ftl-layer-toggle.on { visibility: visible; }
|
|
330
|
-
.ftl-layer-toggle.on { color: rgba(255,255,255,.85); }
|
|
331
|
-
.ftl-layer-lane { gap: 6px; justify-content: flex-start; color: rgba(255,255,255,.5); font-size: 11px; }
|
|
332
|
-
.ftl-layer-diamond { width: 6px; height: 6px; transform: rotate(45deg); background: currentColor; flex: none; }
|
|
333
|
-
`;function Je(e){i(e,Ke,qe)}var Ye=e({activate:()=>$});function Xe(){let e=[];return{bind(t){return e.push(t),{dispose:()=>{let n=e.indexOf(t);n!==-1&&e.splice(n,1)}}},active:()=>e[e.length-1]??null}}function Ze(e){if(typeof e!=`object`||!e||Array.isArray(e))return null;let t=e=>Array.isArray(e)?e.filter(e=>typeof e==`string`):[],n=t(e.assetIds),r=t(e.sceneIds);return n.length===0&&r.length===0?null:{assetIds:n,sceneIds:r}}function $(e){let i=new r,s=Xe(),c=()=>e.require(n),l=()=>e.require(t);async function u(){let t=s.active();if(t){t.splitAtPlayhead();return}let[n,r]=await Promise.all([c(),l()]),i=r.snapshot();if(!i)return;let a=W(i,n.currentTime.get(),n.selection.get().clipIds);a&&(await e.commands.execute(`document.apply`,a.envelope),a.rightIds.length>0&&n.setSelection({clipIds:a.rightIds}))}async function d(){let t=s.active();if(t){t.addAdjustmentLayer();return}let[n,r]=await Promise.all([c(),l()]),i=r.snapshot();if(!i)return;let a=Q(i,n.selection.get().clipIds);a&&(await e.commands.execute(`document.apply`,a.envelope),n.setSelection({clipIds:[a.clipId]}))}async function f(){let t=s.active();if(t){t.rippleDelete();return}let[n,r]=await Promise.all([c(),l()]),i=r.snapshot();if(!i)return;let a=G(i,n.selection.get().clipIds);a&&await e.commands.execute(`document.apply`,a)}async function p(e){let[t,n]=await Promise.all([c(),l()]),r=n.snapshot(),i=r?_(r):null;if(!i||i.markers.length===0)return;let a=t.currentTime.get(),o=1e-6,s=i.markers.map(e=>e.time).filter(t=>e===1?t>a+o:t<a-o).sort((e,t)=>e-t),u=e===1?s[0]:s[s.length-1];u!==void 0&&t.seek(u)}async function m(){let t=s.active();if(t){t.addMarkerAtPlayhead();return}let[n,r]=await Promise.all([c(),l()]),i=r.snapshot();if(!i)return;let a=Z(i,n.currentTime.get());a&&await e.commands.execute(`document.apply`,a.envelope)}return i.add(e.extensions.register(`panel`,`fable.panel-timeline.panel`,o(()=>a(()=>import(`./panel-CHZTs7By.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31])),{props:()=>({bindView:s.bind}),styles:Je}))),i.add(e.commands.register(`fable.panel-timeline.splitAtPlayhead`,()=>u())),i.add(e.commands.register(`fable.panel-timeline.addAdjustmentLayer`,()=>d())),i.add(e.commands.register(`fable.panel-timeline.rippleDelete`,()=>f())),i.add(e.commands.register(`fable.panel-timeline.addMarkerAtPlayhead`,()=>m())),i.add(e.commands.register(`fable.panel-timeline.prevMarker`,()=>p(-1))),i.add(e.commands.register(`fable.panel-timeline.nextMarker`,()=>p(1))),i.add(e.commands.register(`fable.panel-timeline.zoomFit`,()=>s.active()?.zoomToFitScene())),i.add(e.commands.register(`fable.panel-timeline.zoomSelection`,()=>s.active()?.zoomToSelection())),i.add(e.commands.register(`fable.panel-timeline.zoom100`,()=>s.active()?.zoomTo100())),i.add(e.commands.register(`fable.panel-timeline.assetDragPreview`,e=>s.active()?.setAssetDragPreview(Ze(e)))),i}export{pe as A,R as B,G as C,Me as D,_e as E,ie as F,me as G,T as H,K as I,U as J,fe as K,Ne as L,Ae as M,Le as N,ze as O,ce as P,xe as R,Be as S,de as T,ue as U,h as V,Se as W,re as Y,Pe as _,Q as a,$ as activate,se as b,Z as c,ke as d,Oe as f,ae as g,Te as h,g as i,W as j,he as k,He as l,Ue as m,j as n,we as o,Fe as p,ne as q,_ as r,Ce as s,Ye as t,Ve as u,le as v,k as w,We as x,Ge as y,v as z};
|