hyperframes 0.8.220 → 0.8.222
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/{add-7BJGQPZT.js → add-6MPLIWVP.js} +19 -15
- package/dist/{agentPromptGenerator-NFN3AYLJ.js → agentPromptGenerator-X7SQPCXZ.js} +12 -11
- package/dist/{animatedGifPrep-HC45HF7H.js → animatedGifPrep-ESOJ4FQ7.js} +12 -11
- package/dist/api.js +23 -22
- package/dist/{asset-TSP3CMU4.js → asset-Y735VQV6.js} +2 -2
- package/dist/{assetCataloger-KIN2UKI7.js → assetCataloger-AOJAUEZW.js} +13 -12
- package/dist/{audio-NEJOZZXG.js → audio-VMMCGPOV.js} +22 -20
- package/dist/{auth-7EEBDTBK.js → auth-BD5NHYRA.js} +1 -1
- package/dist/{autoUpdate-67ZMQDED.js → autoUpdate-VTMNHOAJ.js} +2 -2
- package/dist/{backgroundChecks-YN424YG5.js → backgroundChecks-SUDYQZSW.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-I2GRQUPY.js → batchRender-4NR7RMT7.js} +11 -8
- package/dist/{beats-VVY6JZEU.js → beats-PKEHQHBY.js} +53 -21
- package/dist/{benchmark-BJJVW6RH.js → benchmark-K55DDFHG.js} +12 -11
- package/dist/{browser-IOP3IU24.js → browser-G2WFWJJ3.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-TLEZEZXN.js → bundleWithLocalizedFonts-MNG2UVH3.js} +2 -2
- package/dist/{capture-4Z3KBJNP.js → capture-24PIC3TZ.js} +67 -25
- package/dist/{capture-HVIWNBQA.js → capture-U3EEAPI6.js} +3 -3
- package/dist/{captureCompositionFrame-J3OOHGC2.js → captureCompositionFrame-KL4V6ORD.js} +18 -17
- package/dist/{catalog-G65QCBXG.js → catalog-J3BU4TFW.js} +17 -15
- package/dist/{catch-up-VHTDAQYM.js → catch-up-LDGNMEGL.js} +4 -4
- package/dist/{check-W7TCUAXY.js → check-J6HG6EKE.js} +48 -46
- package/dist/{checkAudio-AV7R24FD.js → checkAudio-MAX7JUYG.js} +17 -16
- package/dist/{checkBrowser-QTMNRNPF.js → checkBrowser-3W74WJ26.js} +44 -38
- package/dist/{chunk-KGM6VQ6D.js → chunk-3RXZZIDQ.js} +5 -5
- package/dist/{chunk-6YIBMA6Y.js → chunk-42Q3VX34.js} +9 -9
- package/dist/{chunk-6MHKL2TB.js → chunk-4VEXJTUT.js} +3 -3
- package/dist/{chunk-NSKIGECI.js → chunk-52VXA3SC.js} +1 -1
- package/dist/{chunk-RIG7XBHW.js → chunk-537WSYHU.js} +1 -1
- package/dist/{chunk-A32ZEFZT.js → chunk-5GSEM63G.js} +12 -10
- package/dist/{chunk-SUQ77SEY.js → chunk-6CFBFWLF.js} +9 -2
- package/dist/{chunk-FGGZKCOT.js → chunk-6W3DY5BP.js} +2 -2
- package/dist/{chunk-RHEQ7RXZ.js → chunk-7D2LTSNV.js} +1 -1
- package/dist/{chunk-SW5XTDRD.js → chunk-7IH3RSSG.js} +82 -33
- package/dist/{chunk-YMKTEQIA.js → chunk-AIXH3V5A.js} +86 -51
- package/dist/{chunk-PBNWRWKA.js → chunk-AKMY4QVI.js} +2 -1
- package/dist/{chunk-NEVX7YHH.js → chunk-AN4USOFT.js} +5 -1
- package/dist/{chunk-KJ2ORDQZ.js → chunk-AOHG22HQ.js} +6 -5
- package/dist/{chunk-VZBJ5BQF.js → chunk-AW3XJY4S.js} +1 -1
- package/dist/{chunk-P3XF3ZZF.js → chunk-AXVTL7B6.js} +6 -6
- package/dist/{chunk-DWTFLQ3P.js → chunk-B2ZZYISD.js} +4 -2
- package/dist/{chunk-DA6GOIIA.js → chunk-BDZSH6P3.js} +6 -57
- package/dist/{chunk-RECS6EGQ.js → chunk-BPIY5LB3.js} +9 -8
- package/dist/{chunk-KSC4O2RY.js → chunk-C2KEGBR3.js} +53 -4
- package/dist/{chunk-PIKANFFV.js → chunk-CVY6OIKN.js} +4 -4
- package/dist/{chunk-XPV5K5MD.js → chunk-CZOC7WY7.js} +1 -1
- package/dist/{chunk-PCKWLYKA.js → chunk-D6LGD472.js} +4 -4
- package/dist/{chunk-NSJPSQZ3.js → chunk-DC26QLB7.js} +1 -1
- package/dist/{chunk-LZPNAI7P.js → chunk-DIXTEVWQ.js} +3 -3
- package/dist/{chunk-6CWSMSOC.js → chunk-DNTPNSH5.js} +3 -3
- package/dist/{chunk-OWV36OJP.js → chunk-DS372VSV.js} +2 -5
- package/dist/{chunk-O332YWQV.js → chunk-DSHFKKSZ.js} +3 -3
- package/dist/{chunk-UOIVSNPI.js → chunk-E5IIR67Q.js} +1 -1
- package/dist/{chunk-5RGVBSDS.js → chunk-EE7YWKDY.js} +3 -27
- package/dist/{chunk-XFMO3BEN.js → chunk-EGJ4UECR.js} +11 -5
- package/dist/{chunk-2MDFNL2E.js → chunk-EOUKB53E.js} +1 -1
- package/dist/{chunk-3422KMTD.js → chunk-EPQC3FGZ.js} +4 -0
- package/dist/{chunk-IZBJZBBF.js → chunk-F6QV5N3A.js} +2 -2
- package/dist/{chunk-EUZYVUUS.js → chunk-FMKI7ZLM.js} +2 -2
- package/dist/{chunk-DB6OJRZB.js → chunk-FT3CNACL.js} +5 -5
- package/dist/{chunk-5XOOBNU2.js → chunk-G2EY3MVW.js} +1 -1
- package/dist/{chunk-JIGD5ZXE.js → chunk-G675S644.js} +21 -22
- package/dist/{chunk-AUGHXWJC.js → chunk-GHEYGMKD.js} +2 -2
- package/dist/{chunk-TQ3W64VT.js → chunk-GODT7QDZ.js} +3 -3
- package/dist/{chunk-DBT7CRK4.js → chunk-GOWU3NCE.js} +1 -1
- package/dist/{chunk-SGTEKMJW.js → chunk-HOTXWVVP.js} +93 -5
- package/dist/{chunk-22U7OCYM.js → chunk-HQDHMAUI.js} +1 -1
- package/dist/{chunk-BIROA7JM.js → chunk-HYRPH6LL.js} +7 -6
- package/dist/{chunk-NYSB3CWY.js → chunk-IB7UYGXR.js} +10 -10
- package/dist/{chunk-DJWAL7AW.js → chunk-IGBOFU2Y.js} +3 -3
- package/dist/{chunk-NKNKRN7G.js → chunk-JQWITWVC.js} +2 -2
- package/dist/{chunk-ZS5PARPI.js → chunk-K5UCRKUK.js} +4 -6
- package/dist/{chunk-BASBBBNB.js → chunk-KEY2VA65.js} +1 -1
- package/dist/{chunk-RIYARQ2O.js → chunk-L37AZWB2.js} +2 -2
- package/dist/{chunk-OURH3TLX.js → chunk-L55LAERP.js} +1 -1
- package/dist/chunk-LL3VMDAC.js +5013 -0
- package/dist/chunk-MEJH7VEA.js +63 -0
- package/dist/{chunk-K7APBNPW.js → chunk-NUE44RN2.js} +1 -1
- package/dist/{chunk-VZVRF3JX.js → chunk-OAXWHPNS.js} +2 -2
- package/dist/{chunk-6A7DOGSP.js → chunk-OQLYKDL5.js} +1 -1
- package/dist/{chunk-VJGQLC2A.js → chunk-OROHGC7W.js} +8 -8
- package/dist/{chunk-6OXVMHTB.js → chunk-P5M3AXEP.js} +1 -1
- package/dist/{chunk-N4XNRHFM.js → chunk-QNW43LWB.js} +1 -1
- package/dist/{chunk-ARZGHKST.js → chunk-QOZPWIYV.js} +10 -10
- package/dist/{chunk-3F6EGZ6C.js → chunk-QYRMR45H.js} +2 -2
- package/dist/{chunk-AGFHQTZD.js → chunk-RIGSGNDQ.js} +54 -18
- package/dist/{chunk-CIUEQLWL.js → chunk-RRPO44PE.js} +5 -5
- package/dist/{chunk-YBNF5ZOC.js → chunk-SFS5BTQ3.js} +1 -1
- package/dist/{chunk-CMI2POHT.js → chunk-SKCS4SUZ.js} +4455 -4312
- package/dist/{chunk-J74ZUXVU.js → chunk-SWC3QIEH.js} +1 -1
- package/dist/{chunk-543U46OR.js → chunk-US4BCRYB.js} +5 -0
- package/dist/{chunk-D5TOH3QI.js → chunk-VJVVWYP6.js} +1 -1
- package/dist/{chunk-5SKC4G26.js → chunk-VMRQDPFL.js} +1 -1
- package/dist/{chunk-MHZB6QSC.js → chunk-VQMHDS2V.js} +123 -12
- package/dist/{chunk-IMVM6E65.js → chunk-WJYFJGYT.js} +3 -3
- package/dist/{chunk-MS2SDIPC.js → chunk-WWT6ETQA.js} +43 -43
- package/dist/chunk-WYKRGEDD.js +62 -0
- package/dist/{chunk-GLC5XHN5.js → chunk-XC3BGWCJ.js} +3 -44
- package/dist/{chunk-DEXGPHAZ.js → chunk-XHD7RKEZ.js} +2 -2
- package/dist/{chunk-RK3LW7NO.js → chunk-Y7IV5MAK.js} +2 -2
- package/dist/{chunk-2L645DAG.js → chunk-YEKJOA47.js} +1 -1
- package/dist/{chunk-RF5LOY22.js → chunk-YHL4CVTF.js} +14 -14
- package/dist/{chunk-FK5TW3IM.js → chunk-Z5VQBRU2.js} +1 -1
- package/dist/{chunk-24F7TOW2.js → chunk-ZAJQFY5Q.js} +126 -53
- package/dist/{chunk-X2YBRPCM.js → chunk-ZBNK6X5O.js} +5 -5
- package/dist/{chunk-NQP44XMF.js → chunk-ZLXWRYOO.js} +3 -3
- package/dist/{chunk-WQYLRTVT.js → chunk-ZPTNLDOB.js} +2 -2
- package/dist/{clean-AYZ2RAMN.js → clean-K6IM3LC4.js} +24 -23
- package/dist/cli.js +62 -60
- package/dist/{cloud-A53ZNOO6.js → cloud-OV7EA4BJ.js} +4 -4
- package/dist/{cloudrun-USB736UD.js → cloudrun-ZEMODIOP.js} +10 -9
- package/dist/commands/layout-audit.browser.js +19 -3
- package/dist/commands/motion-signature.browser.js +18 -9
- package/dist/{compare-42CWJXBR.js → compare-MJZ3D3HA.js} +37 -35
- package/dist/{compiler-SV2WYWTI.js → compiler-6KKETX77.js} +8 -8
- package/dist/{component-7JC7NQGM.js → component-EVXMYIP3.js} +3 -3
- package/dist/{compositions-6F6743GP.js → compositions-PZ7FQ7WN.js} +16 -15
- package/dist/{delete-7TRRZI5M.js → delete-DL3XA4QV.js} +2 -2
- package/dist/{deploy-6SSC2FBD.js → deploy-VEYP3IP5.js} +1 -1
- package/dist/{deterministicFonts-2ISM3LMW.js → deterministicFonts-LV2JMOJL.js} +2 -2
- package/dist/{dist-KP2GVAQU.js → dist-M77KFAYW.js} +7 -6
- package/dist/{dist-XXBCSQYF.js → dist-SHMQOKMF.js} +6 -6
- package/dist/docs/motion-blur.md +28 -0
- package/dist/{docs-6EM6FDNI.js → docs-VAF5NM5B.js} +4 -0
- package/dist/{doctor-XEG3GZAA.js → doctor-JM2WHH7Y.js} +16 -15
- package/dist/{dotEnv-BGFXSQOA.js → dotEnv-33RDHX7P.js} +1 -1
- package/dist/{events-I7F24HFX.js → events-GW5I5RCG.js} +2 -2
- package/dist/{events-33HQE43K.js → events-S7KVBRSL.js} +3 -3
- package/dist/{feedback-XDTUBZX3.js → feedback-7OR5FVTX.js} +11 -10
- package/dist/{ffmpeg-ABXU2TYH.js → ffmpeg-A7CSIX3U.js} +12 -11
- package/dist/{figma-4JKNWEKN.js → figma-444HKFX5.js} +3 -3
- package/dist/fontLocalizeCli.js +16 -15
- package/dist/{get-EX2INNLN.js → get-6UTF3225.js} +2 -2
- package/dist/{gpuPolicy-7TSXQHK4.js → gpuPolicy-ORPUS5Z2.js} +12 -11
- package/dist/{grade-compare-TLUTRM2K.js → grade-compare-UCTAYN3B.js} +38 -36
- package/dist/{heifImagePrep-UOBBQFA2.js → heifImagePrep-ED6V6RFN.js} +13 -12
- package/dist/{help-BB4FPW2K.js → help-HZR32XWP.js} +1 -1
- package/dist/{history-JNETCPLB.js → history-TQ56MZIA.js} +18 -9
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +69 -69
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/hyperframes-slideshow.global.js +8 -8
- package/dist/{info-7LBANHQG.js → info-RPIIP7RN.js} +11 -10
- package/dist/{init-GZ36UP5K.js → init-ONAWKHFW.js} +34 -32
- package/dist/{inspect-OD54TEQN.js → inspect-A75PYOWJ.js} +38 -36
- package/dist/{installer-4KJ7T3KB.js → installer-ISMCCFBZ.js} +8 -7
- package/dist/{keyframes-KLBNYGYC.js → keyframes-2I75DP3O.js} +7 -7
- package/dist/{lambda-554LSIHM.js → lambda-4QIHGPGJ.js} +17 -16
- package/dist/{layout-EQAJKTIW.js → layout-GW7WE7RT.js} +38 -36
- package/dist/{lint-ZMSIAVMI.js → lint-OWP72OZQ.js} +12 -12
- package/dist/{lintProject-I4XPWIQZ.js → lintProject-XYQ5L7RQ.js} +6 -6
- package/dist/{list-KUZLCZUK.js → list-WVK7ZCPW.js} +2 -2
- package/dist/{localPage-MQJZAR7Z.js → localPage-IQWHN7BH.js} +12 -11
- package/dist/{login-644VKQTJ.js → login-Q5CNHYWU.js} +4 -4
- package/dist/{manager-3C33QHJB.js → manager-JCYVNEWH.js} +13 -12
- package/dist/{media-treatment-XYS2O3JD.js → media-treatment-M5IUP7H4.js} +21 -20
- package/dist/{models-KOTMJX4Z.js → models-CFXKDYZ3.js} +16 -15
- package/dist/{motionShot-YOSDJ26I.js → motionShot-CWUEI4ZM.js} +21 -20
- package/dist/{normalize-audio-FNT6Y4MC.js → normalize-audio-FASY33LR.js} +15 -14
- package/dist/{open-COIGEQCX.js → open-KOVVESYN.js} +16 -14
- package/dist/{parakeetRunner-BBXLGDZW.js → parakeetRunner-E4IP5SL4.js} +18 -17
- package/dist/{pipeline-23GAJEQO.js → pipeline-C6EZVV43.js} +15 -14
- package/dist/{play-GOCWJH7Z.js → play-MZJI6SMH.js} +28 -26
- package/dist/{preflight-7IWI3INL.js → preflight-K4SPUWXP.js} +13 -12
- package/dist/{present-VN2RAATE.js → present-7L7ZTG7F.js} +24 -23
- package/dist/{preview-MD7W5T56.js → preview-QGDVMR3X.js} +29 -26
- package/dist/{producer-IRENEI2Y.js → producer-EJPNNY3E.js} +1 -1
- package/dist/{projectConfig-3IXWY6VF.js → projectConfig-EEF6OPXO.js} +11 -9
- package/dist/{publication-MCDU4VIJ.js → publication-5KF44AKQ.js} +6 -5
- package/dist/{publish-5477WXAK.js → publish-SSKWZ5TE.js} +17 -15
- package/dist/{remove-background-XYO5ENFU.js → remove-background-PCL6I5SZ.js} +16 -15
- package/dist/{render-34GMNN2B.js → render-DH4UA7KW.js} +10 -9
- package/dist/{render-54SCVHMS.js → render-DRWQ6F37.js} +22 -21
- package/dist/{render-L66MXLV2.js → render-UPRWOGLS.js} +158 -43
- package/dist/{render-batch-DOCRB7KQ.js → render-batch-EBW5WHB5.js} +10 -9
- package/dist/renderSetupWorker.js +6 -6
- package/dist/{resolver-Q5XTMECS.js → resolver-ZSZXNRFP.js} +9 -7
- package/dist/{screenshotCapture-U3IYWTDB.js → screenshotCapture-4THETOMD.js} +2 -1
- package/dist/{sherpa-E7C2ZGKD.js → sherpa-IKVUCBOW.js} +17 -16
- package/dist/skills/hyperframes-cli/references/beats.md +1 -1
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.mjs +13 -1
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +10 -0
- package/dist/skills/media-use/scripts/lib/adopt.mjs +11 -10
- package/dist/skills/media-use/scripts/lib/adopt.test.mjs +22 -0
- package/dist/{skills-DDZCYTVS.js → skills-ZREHX3TU.js} +5 -5
- package/dist/{skillsUpdateCheck-4XX7YYZA.js → skillsUpdateCheck-PPJ5NGAL.js} +3 -3
- package/dist/{slideshow-SJGK4RQS.js → slideshow-ARJR22W4.js} +1 -1
- package/dist/{snapshot-PTLZ25S3.js → snapshot-KPFLZNEL.js} +87 -52
- package/dist/{src-RDWYM4KF.js → src-EPOGDJTT.js} +11 -10
- package/dist/{src-KT325UQS.js → src-QRV3466B.js} +21 -14
- package/dist/{staticProjectServer-JCGTNF4E.js → staticProjectServer-ERKLMZVM.js} +26 -24
- package/dist/studio/assets/{hyperframes-player-CC1Ue2mg.js → hyperframes-player-Dka6e1BG.js} +1 -1
- package/dist/studio/assets/{index-BgjuGqZk.js → index-C8VIUiGz.js} +117 -117
- package/dist/studio/assets/{index-hc5Ru1gB.js → index-CVPNbydK.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-GTN767PW.js → studio-api-7WFZIIPL.js} +21 -16
- package/dist/{studioSelectionClient-D6VMGTKQ.js → studioSelectionClient-FA6XPVIL.js} +1 -1
- package/dist/{studioServer-X6O4WB7E.js → studioServer-3XZTLI26.js} +79 -121
- package/dist/{telemetry-OY2PKIWO.js → telemetry-BMLI4TMC.js} +3 -3
- package/dist/templates/blank/index.html +1 -1
- package/dist/templates/from-file/index.html +1 -1
- package/dist/{timeline-IZZRAXKP.js → timeline-EDCDO2ZR.js} +28 -26
- package/dist/{tokens-JHIYKROF.js → tokens-2ZFLFO3K.js} +2 -2
- package/dist/{transcribe-2MPZHRG5.js → transcribe-3WMH62HH.js} +16 -15
- package/dist/{transcribe-WJ2DIE3W.js → transcribe-Y2LPBT7I.js} +22 -21
- package/dist/{updateCheck-6XMEFB74.js → updateCheck-5LFZGC3P.js} +2 -2
- package/dist/{upgrade-MSNQIWR7.js → upgrade-X7QVSEKP.js} +2 -2
- package/dist/{urlDownloader-CD6NVJE5.js → urlDownloader-TYD6ROKL.js} +11 -10
- package/dist/{validate-7L5LJFTK.js → validate-26KQ5VX7.js} +31 -30
- package/dist/{video-HFIDOIQI.js → video-BPKLZIJK.js} +13 -12
- package/dist/warmCheck.js +48 -46
- package/package.json +1 -1
- package/dist/chunk-2Q7XV4F6.js +0 -5061
- /package/dist/{chunk-NHA4NRBE.js → chunk-T5ELONXY.js} +0 -0
package/dist/studio/index.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
document.documentElement.dataset.theme = "paper";
|
|
15
15
|
}
|
|
16
16
|
</script>
|
|
17
|
-
<script type="module" crossorigin src="/assets/index-
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-C8VIUiGz.js"></script>
|
|
18
18
|
<link rel="stylesheet" crossorigin href="/assets/index-RUPGNyct.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getMimeType,
|
|
23
23
|
stampProjectHfIds,
|
|
24
24
|
thumbnailDeviceScaleFactor
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-WWT6ETQA.js";
|
|
26
26
|
import {
|
|
27
27
|
dedupeClonedCompositionId,
|
|
28
28
|
findTargetElement,
|
|
@@ -30,11 +30,11 @@ import {
|
|
|
30
30
|
patchElementInHtml,
|
|
31
31
|
removeElementFromHtml,
|
|
32
32
|
splitElementInHtml
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-BPIY5LB3.js";
|
|
34
|
+
import "./chunk-AW3XJY4S.js";
|
|
35
35
|
import {
|
|
36
36
|
requestSubPath
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-ZBNK6X5O.js";
|
|
38
38
|
import {
|
|
39
39
|
DEFAULT_HISTORY_ROOT,
|
|
40
40
|
DELETED_VERSION,
|
|
@@ -51,11 +51,13 @@ import {
|
|
|
51
51
|
beginArtifactCapture,
|
|
52
52
|
consumeFileWriteReceipt,
|
|
53
53
|
createProjectSignature,
|
|
54
|
+
createProjectSignatureAsync,
|
|
54
55
|
fileContentVersion,
|
|
55
56
|
finishSnapshotRun,
|
|
56
57
|
forgetRecordedArtifacts,
|
|
57
58
|
historyCache,
|
|
58
59
|
identifyFileWrite,
|
|
60
|
+
isUncopiedMedia,
|
|
59
61
|
listProjectHistories,
|
|
60
62
|
onRestoredInPlace,
|
|
61
63
|
openProjectHistory,
|
|
@@ -68,12 +70,12 @@ import {
|
|
|
68
70
|
registerRenderOutput,
|
|
69
71
|
retainSnapshotOutput,
|
|
70
72
|
settledFileTag
|
|
71
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-ZAJQFY5Q.js";
|
|
72
74
|
import {
|
|
73
75
|
CACHE_DIR_NAME,
|
|
74
76
|
cleanupProxyCache
|
|
75
|
-
} from "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
+
} from "./chunk-AXVTL7B6.js";
|
|
78
|
+
import "./chunk-QYRMR45H.js";
|
|
77
79
|
import {
|
|
78
80
|
STUDIO_MOTION_PATH,
|
|
79
81
|
createStudioMotionRenderBodyScript,
|
|
@@ -90,10 +92,11 @@ import {
|
|
|
90
92
|
import "./chunk-7FMUTGOH.js";
|
|
91
93
|
import "./chunk-5S7W3TUO.js";
|
|
92
94
|
import "./chunk-D3MUHMFG.js";
|
|
93
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-3RXZZIDQ.js";
|
|
94
96
|
import "./chunk-YWRUQ7XZ.js";
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
97
|
+
import "./chunk-BDZSH6P3.js";
|
|
98
|
+
import "./chunk-MEJH7VEA.js";
|
|
99
|
+
import "./chunk-LL3VMDAC.js";
|
|
97
100
|
import "./chunk-VC76R6W2.js";
|
|
98
101
|
import {
|
|
99
102
|
isSafePath
|
|
@@ -101,19 +104,19 @@ import {
|
|
|
101
104
|
import "./chunk-RQVDTPGD.js";
|
|
102
105
|
import "./chunk-TK7THLRO.js";
|
|
103
106
|
import "./chunk-FXMKHHPO.js";
|
|
104
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-VQMHDS2V.js";
|
|
105
108
|
import "./chunk-CZGHFATT.js";
|
|
106
|
-
import "./chunk-
|
|
107
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-HYRPH6LL.js";
|
|
110
|
+
import "./chunk-AKMY4QVI.js";
|
|
108
111
|
import {
|
|
109
112
|
decodeWellFormedEscapes
|
|
110
|
-
} from "./chunk-
|
|
111
|
-
import "./chunk-
|
|
113
|
+
} from "./chunk-C2KEGBR3.js";
|
|
114
|
+
import "./chunk-T5ELONXY.js";
|
|
112
115
|
import "./chunk-FR7YBU3H.js";
|
|
113
116
|
import "./chunk-DPVXBVLL.js";
|
|
114
117
|
import "./chunk-GWTIFRF5.js";
|
|
115
118
|
import "./chunk-2RY2LWAA.js";
|
|
116
|
-
import "./chunk-
|
|
119
|
+
import "./chunk-EPQC3FGZ.js";
|
|
117
120
|
import "./chunk-WC4MTXGN.js";
|
|
118
121
|
import "./chunk-M2WBOQ2Q.js";
|
|
119
122
|
export {
|
|
@@ -146,6 +149,7 @@ export {
|
|
|
146
149
|
createBackgroundRemovalJob,
|
|
147
150
|
createPreviewDocumentStore,
|
|
148
151
|
createProjectSignature,
|
|
152
|
+
createProjectSignatureAsync,
|
|
149
153
|
createStudioApi,
|
|
150
154
|
createStudioManualEditsRenderBodyScript,
|
|
151
155
|
createStudioMotionRenderBodyScript,
|
|
@@ -162,6 +166,7 @@ export {
|
|
|
162
166
|
historyCache,
|
|
163
167
|
identifyFileWrite,
|
|
164
168
|
isSafePath,
|
|
169
|
+
isUncopiedMedia,
|
|
165
170
|
listProjectHistories,
|
|
166
171
|
onRestoredInPlace,
|
|
167
172
|
openProjectHistory,
|
|
@@ -8,23 +8,23 @@ import {
|
|
|
8
8
|
renderJobObservabilityTelemetryPayload,
|
|
9
9
|
renderObservabilityTelemetryPayload,
|
|
10
10
|
startRenderCpuSampler
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GOWU3NCE.js";
|
|
12
12
|
import {
|
|
13
13
|
HANDOFF_READY,
|
|
14
14
|
desktopDownloadUrl,
|
|
15
15
|
desktopInstalled,
|
|
16
16
|
insideHostApp,
|
|
17
17
|
openInDesktop
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FMKI7ZLM.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveRenderBrowser
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OAXWHPNS.js";
|
|
22
22
|
import "./chunk-XQ26I3PL.js";
|
|
23
23
|
import {
|
|
24
24
|
loadSharpInBackground
|
|
25
25
|
} from "./chunk-Y65ZU7XY.js";
|
|
26
26
|
import "./chunk-6BEFEWFB.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-5GSEM63G.js";
|
|
28
28
|
import "./chunk-X7MTZ4T2.js";
|
|
29
29
|
import {
|
|
30
30
|
PREVIEW_BUNDLE_OPTIONS,
|
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
getMimeType,
|
|
39
39
|
stampProjectHfIds,
|
|
40
40
|
thumbnailDeviceScaleFactor
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-WWT6ETQA.js";
|
|
42
|
+
import "./chunk-BPIY5LB3.js";
|
|
43
|
+
import "./chunk-AW3XJY4S.js";
|
|
44
|
+
import "./chunk-ZBNK6X5O.js";
|
|
45
45
|
import {
|
|
46
46
|
DEFAULT_HISTORY_ROOT,
|
|
47
47
|
DELETED_VERSION,
|
|
@@ -54,39 +54,43 @@ import {
|
|
|
54
54
|
historyCache,
|
|
55
55
|
identifyFileWrite,
|
|
56
56
|
openProjectHistory
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-ZAJQFY5Q.js";
|
|
58
|
+
import "./chunk-AXVTL7B6.js";
|
|
59
|
+
import "./chunk-QYRMR45H.js";
|
|
60
60
|
import "./chunk-ALVXFXUG.js";
|
|
61
61
|
import {
|
|
62
62
|
seekCompositionTimeline
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
} from "./chunk-IB7UYGXR.js";
|
|
64
|
+
import {
|
|
65
|
+
GSAP_VENDOR_FILES,
|
|
66
|
+
readBundleFile,
|
|
67
|
+
resolveGsapVendorDir
|
|
68
|
+
} from "./chunk-HOTXWVVP.js";
|
|
69
|
+
import "./chunk-DNTPNSH5.js";
|
|
70
|
+
import "./chunk-DC26QLB7.js";
|
|
67
71
|
import "./chunk-5ZBMHUY2.js";
|
|
68
72
|
import "./chunk-EHSBBBR2.js";
|
|
69
|
-
import "./chunk-
|
|
73
|
+
import "./chunk-52VXA3SC.js";
|
|
70
74
|
import {
|
|
71
75
|
resolveAutoProxy
|
|
72
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-P5M3AXEP.js";
|
|
73
77
|
import "./chunk-XT7X6QCP.js";
|
|
74
78
|
import "./chunk-5YPMCCCA.js";
|
|
75
79
|
import "./chunk-HVW7ABXD.js";
|
|
76
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-6CFBFWLF.js";
|
|
77
81
|
import "./chunk-JHOCK3DG.js";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-IGBOFU2Y.js";
|
|
83
|
+
import "./chunk-VJVVWYP6.js";
|
|
80
84
|
import "./chunk-AWDFDFI3.js";
|
|
81
85
|
import "./chunk-P6LJ4Y32.js";
|
|
82
86
|
import "./chunk-T2WJO4XM.js";
|
|
83
87
|
import "./chunk-W4DMQZL5.js";
|
|
84
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-L37AZWB2.js";
|
|
85
89
|
import {
|
|
86
90
|
resolveCaptureBrowserGpuMode,
|
|
87
91
|
resolveLocalBrowserGpuMode,
|
|
88
92
|
resolveLocalWebGpu
|
|
89
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-F6QV5N3A.js";
|
|
90
94
|
import {
|
|
91
95
|
isAtomicTempPath,
|
|
92
96
|
replaceFileAtomically
|
|
@@ -94,15 +98,16 @@ import {
|
|
|
94
98
|
import {
|
|
95
99
|
trackRenderComplete,
|
|
96
100
|
trackRenderError
|
|
97
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-AN4USOFT.js";
|
|
98
102
|
import {
|
|
99
103
|
canaryDecisionsForStudio,
|
|
100
104
|
resetTelemetryPostureCache,
|
|
101
105
|
shouldTrack
|
|
102
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-NUE44RN2.js";
|
|
103
107
|
import "./chunk-PXVQOMKL.js";
|
|
104
108
|
import "./chunk-EQGKUPBJ.js";
|
|
105
109
|
import "./chunk-VLA6UJGH.js";
|
|
110
|
+
import "./chunk-WYKRGEDD.js";
|
|
106
111
|
import "./chunk-54HJ63Q2.js";
|
|
107
112
|
import "./chunk-2GICKZ3I.js";
|
|
108
113
|
import {
|
|
@@ -116,17 +121,19 @@ import "./chunk-7FMUTGOH.js";
|
|
|
116
121
|
import {
|
|
117
122
|
assertWebGpuAdapterAvailable,
|
|
118
123
|
compositionRequiresWebGpu
|
|
119
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-AIXH3V5A.js";
|
|
120
125
|
import "./chunk-Z5J67X44.js";
|
|
121
126
|
import "./chunk-5S7W3TUO.js";
|
|
122
127
|
import "./chunk-D3MUHMFG.js";
|
|
123
|
-
import "./chunk-
|
|
128
|
+
import "./chunk-3RXZZIDQ.js";
|
|
124
129
|
import "./chunk-YWRUQ7XZ.js";
|
|
125
130
|
import {
|
|
126
|
-
GSAP_CDN_VERSION,
|
|
127
131
|
fpsToNumber
|
|
128
|
-
} from "./chunk-
|
|
129
|
-
import
|
|
132
|
+
} from "./chunk-BDZSH6P3.js";
|
|
133
|
+
import {
|
|
134
|
+
GSAP_CDN_VERSION
|
|
135
|
+
} from "./chunk-MEJH7VEA.js";
|
|
136
|
+
import "./chunk-LL3VMDAC.js";
|
|
130
137
|
import "./chunk-VC76R6W2.js";
|
|
131
138
|
import {
|
|
132
139
|
realpath
|
|
@@ -145,19 +152,19 @@ import {
|
|
|
145
152
|
} from "./chunk-LAGZGKKN.js";
|
|
146
153
|
import "./chunk-K4MJX7SR.js";
|
|
147
154
|
import "./chunk-WE42NVH7.js";
|
|
148
|
-
import "./chunk-
|
|
155
|
+
import "./chunk-VQMHDS2V.js";
|
|
149
156
|
import "./chunk-CZGHFATT.js";
|
|
150
|
-
import "./chunk-
|
|
157
|
+
import "./chunk-HYRPH6LL.js";
|
|
151
158
|
import {
|
|
152
159
|
isWithinProjectRoot
|
|
153
|
-
} from "./chunk-
|
|
154
|
-
import "./chunk-
|
|
155
|
-
import "./chunk-
|
|
160
|
+
} from "./chunk-AKMY4QVI.js";
|
|
161
|
+
import "./chunk-C2KEGBR3.js";
|
|
162
|
+
import "./chunk-T5ELONXY.js";
|
|
156
163
|
import "./chunk-FR7YBU3H.js";
|
|
157
164
|
import "./chunk-DPVXBVLL.js";
|
|
158
165
|
import "./chunk-GWTIFRF5.js";
|
|
159
166
|
import "./chunk-2RY2LWAA.js";
|
|
160
|
-
import "./chunk-
|
|
167
|
+
import "./chunk-EPQC3FGZ.js";
|
|
161
168
|
import "./chunk-WC4MTXGN.js";
|
|
162
169
|
import "./chunk-FBN2M2HK.js";
|
|
163
170
|
import "./chunk-BR2JQQC5.js";
|
|
@@ -174,7 +181,7 @@ import "./chunk-J3RXEDR2.js";
|
|
|
174
181
|
import "./chunk-QBXDU24O.js";
|
|
175
182
|
import {
|
|
176
183
|
VERSION
|
|
177
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-6W3DY5BP.js";
|
|
178
185
|
import "./chunk-E63BDV4Z.js";
|
|
179
186
|
import {
|
|
180
187
|
detectAgentRuntime
|
|
@@ -186,31 +193,10 @@ import "./chunk-M2WBOQ2Q.js";
|
|
|
186
193
|
// src/server/studioServer.ts
|
|
187
194
|
import { Hono } from "hono";
|
|
188
195
|
import { streamSSE } from "hono/streaming";
|
|
189
|
-
import { existsSync as existsSync2, readFileSync
|
|
196
|
+
import { existsSync as existsSync2, readFileSync, statSync, writeFileSync, unlinkSync } from "fs";
|
|
190
197
|
import { createHash as createHash2 } from "crypto";
|
|
191
198
|
import { fileURLToPath } from "url";
|
|
192
|
-
import { resolve as resolve2, join as join2, basename as basename2,
|
|
193
|
-
import { createRequire } from "module";
|
|
194
|
-
|
|
195
|
-
// src/server/readBundleFile.ts
|
|
196
|
-
import { openSync, fstatSync, closeSync, statSync, readFileSync, constants } from "fs";
|
|
197
|
-
function readBundleFile(filePath) {
|
|
198
|
-
let fd;
|
|
199
|
-
try {
|
|
200
|
-
fd = openSync(filePath, constants.O_RDONLY | constants.O_NONBLOCK);
|
|
201
|
-
} catch (error) {
|
|
202
|
-
if (error instanceof Error && "code" in error && (error.code === "ENOENT" || error.code === "ENOTDIR"))
|
|
203
|
-
return null;
|
|
204
|
-
if (!statSync(filePath, { throwIfNoEntry: false })?.isFile()) return null;
|
|
205
|
-
throw error;
|
|
206
|
-
}
|
|
207
|
-
try {
|
|
208
|
-
if (!fstatSync(fd).isFile()) return null;
|
|
209
|
-
return readFileSync(fd);
|
|
210
|
-
} finally {
|
|
211
|
-
closeSync(fd);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
199
|
+
import { resolve as resolve2, join as join2, basename as basename2, relative as relative2, sep as sep2 } from "path";
|
|
214
200
|
|
|
215
201
|
// src/server/fileWatcher.ts
|
|
216
202
|
import { lstatSync, readdirSync, watch } from "fs";
|
|
@@ -370,7 +356,7 @@ var ENTRY_TS = resolve(__dirname, "..", "..", "..", "core", "src", "runtime", "e
|
|
|
370
356
|
async function buildFromSource() {
|
|
371
357
|
if (!existsSync(ENTRY_TS)) return null;
|
|
372
358
|
try {
|
|
373
|
-
const mod = await import("./dist-
|
|
359
|
+
const mod = await import("./dist-M77KFAYW.js");
|
|
374
360
|
if (typeof mod.loadHyperframeRuntimeSource === "function") {
|
|
375
361
|
const source = mod.loadHyperframeRuntimeSource();
|
|
376
362
|
if (source) return source;
|
|
@@ -381,7 +367,7 @@ async function buildFromSource() {
|
|
|
381
367
|
}
|
|
382
368
|
async function getInlinedRuntime() {
|
|
383
369
|
try {
|
|
384
|
-
const mod = await import("./dist-
|
|
370
|
+
const mod = await import("./dist-M77KFAYW.js");
|
|
385
371
|
if (typeof mod.getHyperframeRuntimeScript === "function") {
|
|
386
372
|
return mod.getHyperframeRuntimeScript() ?? null;
|
|
387
373
|
}
|
|
@@ -579,6 +565,10 @@ function perfPayload(perf, elapsedMs) {
|
|
|
579
565
|
totalFrames: perf.totalFrames,
|
|
580
566
|
speedRatio,
|
|
581
567
|
captureAvgMs: perf.captureAvgMs,
|
|
568
|
+
captureSeekAvgMs: perf.captureSeekAvgMs,
|
|
569
|
+
captureBeforeCaptureAvgMs: perf.captureBeforeCaptureAvgMs,
|
|
570
|
+
captureScreenshotAvgMs: perf.captureScreenshotAvgMs,
|
|
571
|
+
encoderWaitAvgMs: perf.encoderWaitAvgMs,
|
|
582
572
|
capturePeakMs: perf.capturePeakMs,
|
|
583
573
|
tmpPeakBytes: perf.tmpPeakBytes,
|
|
584
574
|
...stagesPayload(perf.stages),
|
|
@@ -736,13 +726,13 @@ var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
|
736
726
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
737
727
|
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
738
728
|
async function loadStudioProducer() {
|
|
739
|
-
if (!isDevMode()) return await import("./src-
|
|
729
|
+
if (!isDevMode()) return await import("./src-QRV3466B.js");
|
|
740
730
|
if (!process.versions.bun) {
|
|
741
731
|
throw new Error(
|
|
742
732
|
"Studio dev-mode rendering requires bun (the producer is loaded from TypeScript source, which Node cannot resolve). Restart the studio with `bun run studio`."
|
|
743
733
|
);
|
|
744
734
|
}
|
|
745
|
-
return await import("./src-
|
|
735
|
+
return await import("./src-QRV3466B.js");
|
|
746
736
|
}
|
|
747
737
|
function resolveDistDir() {
|
|
748
738
|
return resolveStudioBundle().dir;
|
|
@@ -788,37 +778,11 @@ function resolveRuntimePath() {
|
|
|
788
778
|
return builtPath;
|
|
789
779
|
}
|
|
790
780
|
var GSAP_LOCAL_ROOT = "/api/vendor/npm";
|
|
791
|
-
var GSAP_VENDOR_FILES = /* @__PURE__ */ new Set(["gsap.min.js", "CustomEase.min.js", "MotionPathPlugin.min.js"]);
|
|
792
|
-
function installedGsapDist() {
|
|
793
|
-
try {
|
|
794
|
-
const coreRequire = createRequire(resolve2(__dirname, "..", "..", "..", "core", "package.json"));
|
|
795
|
-
return join2(dirname3(coreRequire.resolve("gsap/package.json")), "dist");
|
|
796
|
-
} catch {
|
|
797
|
-
return null;
|
|
798
|
-
}
|
|
799
|
-
}
|
|
800
|
-
function resolveGsapVendorDir() {
|
|
801
|
-
const vendored = join2("vendor", "npm", `gsap@${GSAP_CDN_VERSION}`, "dist");
|
|
802
|
-
const candidates = [
|
|
803
|
-
resolve2(__dirname, vendored),
|
|
804
|
-
// Running from source: the built CLI next door, then core's installed gsap.
|
|
805
|
-
resolve2(__dirname, "..", "..", "dist", vendored),
|
|
806
|
-
installedGsapDist()
|
|
807
|
-
];
|
|
808
|
-
for (const dir of candidates) {
|
|
809
|
-
if (!dir) continue;
|
|
810
|
-
if (!existsSync2(join2(dir, "gsap.min.js"))) continue;
|
|
811
|
-
const manifest = readBundleFile(join2(dir, "..", "package.json"));
|
|
812
|
-
if (manifest && JSON.parse(manifest.toString("utf-8")).version !== GSAP_CDN_VERSION) continue;
|
|
813
|
-
return dir;
|
|
814
|
-
}
|
|
815
|
-
return null;
|
|
816
|
-
}
|
|
817
781
|
function readStudioManualEditManifestContent(projectDir) {
|
|
818
782
|
const manifestPath = join2(projectDir, STUDIO_MANUAL_EDITS_PATH);
|
|
819
783
|
if (!existsSync2(manifestPath)) return "";
|
|
820
784
|
try {
|
|
821
|
-
return
|
|
785
|
+
return readFileSync(manifestPath, "utf-8");
|
|
822
786
|
} catch {
|
|
823
787
|
return "";
|
|
824
788
|
}
|
|
@@ -884,7 +848,7 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
884
848
|
try {
|
|
885
849
|
if (isShuttingDown()) return null;
|
|
886
850
|
const { ensureBrowser } = await import("./manager-ENFYM32B.js");
|
|
887
|
-
const { acquireBrowser, buildChromeArgs } = await import("./src-
|
|
851
|
+
const { acquireBrowser, buildChromeArgs } = await import("./src-EPOGDJTT.js");
|
|
888
852
|
let executablePath;
|
|
889
853
|
try {
|
|
890
854
|
const b = await ensureBrowser({ preferManagedChrome: true });
|
|
@@ -962,13 +926,13 @@ async function loadPreviewServerBuildSignature() {
|
|
|
962
926
|
function rewriteWrittenToHostViewport(projectDir, written) {
|
|
963
927
|
const indexPath = join2(projectDir, "index.html");
|
|
964
928
|
if (!existsSync2(indexPath)) return;
|
|
965
|
-
const indexHtml =
|
|
929
|
+
const indexHtml = readFileSync(indexPath, "utf-8");
|
|
966
930
|
const hostW = indexHtml.match(/data-width="(\d+)"/)?.[1];
|
|
967
931
|
const hostH = indexHtml.match(/data-height="(\d+)"/)?.[1];
|
|
968
932
|
if (!hostW || !hostH) return;
|
|
969
933
|
for (const absPath of written) {
|
|
970
934
|
if (!absPath.endsWith(".html")) continue;
|
|
971
|
-
let content =
|
|
935
|
+
let content = readFileSync(absPath, "utf-8");
|
|
972
936
|
content = content.replace(
|
|
973
937
|
/(<meta\s+name="viewport"\s+content="width=)\d+(,\s*height=)\d+/i,
|
|
974
938
|
`$1${hostW}$2${hostH}`
|
|
@@ -982,7 +946,7 @@ function rewriteWrittenToHostViewport(projectDir, written) {
|
|
|
982
946
|
return match;
|
|
983
947
|
}
|
|
984
948
|
);
|
|
985
|
-
replaceFileAtomically(absPath, content,
|
|
949
|
+
replaceFileAtomically(absPath, content, statSync(absPath).mode);
|
|
986
950
|
}
|
|
987
951
|
}
|
|
988
952
|
function createStudioServer(options) {
|
|
@@ -1047,12 +1011,12 @@ function createStudioServer(options) {
|
|
|
1047
1011
|
// Salted with the running CLI file, so an upgraded CLI never serves an older build's document.
|
|
1048
1012
|
previewDocuments: createPreviewDocumentStore(
|
|
1049
1013
|
projectDir,
|
|
1050
|
-
createHash2("sha256").update(
|
|
1014
|
+
createHash2("sha256").update(readFileSync(fileURLToPath(import.meta.url))).digest("hex")
|
|
1051
1015
|
),
|
|
1052
1016
|
resolveProject: (id) => id === projectId ? project : null,
|
|
1053
1017
|
async bundle(dir, options2) {
|
|
1054
1018
|
try {
|
|
1055
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
1019
|
+
const { bundleToSingleHtml } = await import("./compiler-6KKETX77.js");
|
|
1056
1020
|
let html = await bundleToSingleHtml(dir, { ...PREVIEW_BUNDLE_OPTIONS, ...options2 });
|
|
1057
1021
|
html = html.replace(
|
|
1058
1022
|
'data-hyperframes-preview-runtime="1" src=""',
|
|
@@ -1065,10 +1029,10 @@ function createStudioServer(options) {
|
|
|
1065
1029
|
}
|
|
1066
1030
|
},
|
|
1067
1031
|
async transformPreviewHtml({ html, project: project2 }) {
|
|
1068
|
-
const { injectDeterministicFontFaces } = await import("./deterministicFonts-
|
|
1069
|
-
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-
|
|
1070
|
-
const { prepareHeifImageInputs } = await import("./heifImagePrep-
|
|
1071
|
-
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-
|
|
1032
|
+
const { injectDeterministicFontFaces } = await import("./deterministicFonts-LV2JMOJL.js");
|
|
1033
|
+
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-ESOJ4FQ7.js");
|
|
1034
|
+
const { prepareHeifImageInputs } = await import("./heifImagePrep-ED6V6RFN.js");
|
|
1035
|
+
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-TYD6ROKL.js");
|
|
1072
1036
|
const gifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "gif");
|
|
1073
1037
|
const gifDownloadDir = join2(project2.dir, ".hyperframes", "prepared-assets", "downloads");
|
|
1074
1038
|
const heifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "heif");
|
|
@@ -1100,7 +1064,7 @@ function createStudioServer(options) {
|
|
|
1100
1064
|
if (resolve2(dir) === resolve2(projectDir)) cachedProjectSignature = null;
|
|
1101
1065
|
},
|
|
1102
1066
|
async lint(html, opts) {
|
|
1103
|
-
const { lintHyperframeHtml } = await import("./dist-
|
|
1067
|
+
const { lintHyperframeHtml } = await import("./dist-SHMQOKMF.js");
|
|
1104
1068
|
return await lintHyperframeHtml(html, { ...opts, host: "studio" });
|
|
1105
1069
|
},
|
|
1106
1070
|
// Out of process: linting a large composition is seconds of synchronous parsing, and on
|
|
@@ -1232,7 +1196,7 @@ function createStudioServer(options) {
|
|
|
1232
1196
|
startBackgroundRemoval(opts) {
|
|
1233
1197
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1234
1198
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1235
|
-
const pipeline = await import("./pipeline-
|
|
1199
|
+
const pipeline = await import("./pipeline-C6EZVV43.js").catch(
|
|
1236
1200
|
() => import(sourcePipelinePath)
|
|
1237
1201
|
);
|
|
1238
1202
|
return pipeline.render(renderOpts);
|
|
@@ -1247,7 +1211,7 @@ function createStudioServer(options) {
|
|
|
1247
1211
|
return null;
|
|
1248
1212
|
}
|
|
1249
1213
|
const sourcePath = join2(opts.project.dir, opts.compPath);
|
|
1250
|
-
const requiresWebGpu = existsSync2(sourcePath) ? compositionRequiresWebGpu(
|
|
1214
|
+
const requiresWebGpu = existsSync2(sourcePath) ? compositionRequiresWebGpu(readFileSync(sourcePath, "utf-8")) : false;
|
|
1251
1215
|
if (opts.signal.aborted) return null;
|
|
1252
1216
|
const width = opts.width || 1920;
|
|
1253
1217
|
const height = opts.height || 1080;
|
|
@@ -1317,8 +1281,8 @@ function createStudioServer(options) {
|
|
|
1317
1281
|
}
|
|
1318
1282
|
},
|
|
1319
1283
|
async listRegistryCatalog() {
|
|
1320
|
-
const { listRegistryItems, loadAllItems } = await import("./resolver-
|
|
1321
|
-
const { loadProjectConfig } = await import("./projectConfig-
|
|
1284
|
+
const { listRegistryItems, loadAllItems } = await import("./resolver-ZSZXNRFP.js");
|
|
1285
|
+
const { loadProjectConfig } = await import("./projectConfig-EEF6OPXO.js");
|
|
1322
1286
|
const registry = { baseUrl: loadProjectConfig(projectDir).registry };
|
|
1323
1287
|
const entries = await listRegistryItems(void 0, registry);
|
|
1324
1288
|
const blockAndComponentEntries = entries.filter(
|
|
@@ -1327,9 +1291,9 @@ function createStudioServer(options) {
|
|
|
1327
1291
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1328
1292
|
},
|
|
1329
1293
|
async installRegistryBlock(opts) {
|
|
1330
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1331
|
-
const { recordRewrittenInstall } = await import("./installer-
|
|
1332
|
-
const { registryTargetPath } = await import("./publication-
|
|
1294
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-6MPLIWVP.js");
|
|
1295
|
+
const { recordRewrittenInstall } = await import("./installer-ISMCCFBZ.js");
|
|
1296
|
+
const { registryTargetPath } = await import("./publication-5KF44AKQ.js");
|
|
1333
1297
|
const { result, item } = await addToProject({
|
|
1334
1298
|
name: opts.blockName,
|
|
1335
1299
|
projectDir: opts.project.dir,
|
|
@@ -1402,7 +1366,7 @@ function createStudioServer(options) {
|
|
|
1402
1366
|
const absPath = resolve2(projectDir, path);
|
|
1403
1367
|
let version = null;
|
|
1404
1368
|
try {
|
|
1405
|
-
version = fileContentVersion(
|
|
1369
|
+
version = fileContentVersion(readFileSync(absPath));
|
|
1406
1370
|
} catch {
|
|
1407
1371
|
}
|
|
1408
1372
|
const receipt = identifyFileWrite(absPath, version ?? DELETED_VERSION);
|
|
@@ -1425,22 +1389,16 @@ function createStudioServer(options) {
|
|
|
1425
1389
|
if (shouldWatchProjectFile(changedPath)) listener(changedPath);
|
|
1426
1390
|
};
|
|
1427
1391
|
watcher.addListener(wrappedListener);
|
|
1428
|
-
stream.
|
|
1429
|
-
|
|
1430
|
-
while (true) {
|
|
1431
|
-
await stream.sleep(3e4);
|
|
1432
|
-
}
|
|
1433
|
-
} finally {
|
|
1434
|
-
watcher.removeListener(wrappedListener);
|
|
1435
|
-
}
|
|
1392
|
+
if (!stream.aborted) await new Promise((tabClosed) => stream.onAbort(tabClosed));
|
|
1393
|
+
watcher.removeListener(wrappedListener);
|
|
1436
1394
|
});
|
|
1437
1395
|
});
|
|
1438
1396
|
let ffmpegReady = false;
|
|
1439
1397
|
app.get("/api/environment/ffmpeg", async (c) => {
|
|
1440
1398
|
if (ffmpegReady) return c.json({ ok: true });
|
|
1441
1399
|
const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
|
|
1442
|
-
import("./preflight-
|
|
1443
|
-
import("./ffmpeg-
|
|
1400
|
+
import("./preflight-K4SPUWXP.js"),
|
|
1401
|
+
import("./ffmpeg-A7CSIX3U.js")
|
|
1444
1402
|
]);
|
|
1445
1403
|
const { outcomes } = await runEnvironmentChecks();
|
|
1446
1404
|
const failed = outcomes.find((outcome) => !outcome.ok);
|
|
@@ -1459,7 +1417,7 @@ function createStudioServer(options) {
|
|
|
1459
1417
|
mountDesktopRoutes(app, projectDir);
|
|
1460
1418
|
let cachedFFmpegPath;
|
|
1461
1419
|
app.post("/api/projects/:id/render", async (c, next) => {
|
|
1462
|
-
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-
|
|
1420
|
+
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-A7CSIX3U.js");
|
|
1463
1421
|
if (!cachedFFmpegPath) {
|
|
1464
1422
|
cachedFFmpegPath = findFFmpeg();
|
|
1465
1423
|
}
|
|
@@ -1575,7 +1533,7 @@ function createStudioServer(options) {
|
|
|
1575
1533
|
});
|
|
1576
1534
|
const renders = [...inFlightRenders];
|
|
1577
1535
|
for (const [abortController] of renders) abortController.abort();
|
|
1578
|
-
const { killTrackedProcesses, closeBrowserPool } = await import("./src-
|
|
1536
|
+
const { killTrackedProcesses, closeBrowserPool } = await import("./src-EPOGDJTT.js");
|
|
1579
1537
|
killTrackedProcesses();
|
|
1580
1538
|
const closeBrowsers = Promise.allSettled([
|
|
1581
1539
|
closeThumbnailBrowser().catch(() => {
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
trackInitTemplate,
|
|
18
18
|
trackRenderComplete,
|
|
19
19
|
trackRenderError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AN4USOFT.js";
|
|
21
21
|
import {
|
|
22
22
|
flush,
|
|
23
23
|
flushSync,
|
|
24
24
|
shouldTrack,
|
|
25
25
|
showTelemetryNotice,
|
|
26
26
|
trackEvent
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-NUE44RN2.js";
|
|
28
28
|
import "./chunk-PXVQOMKL.js";
|
|
29
29
|
import "./chunk-EQGKUPBJ.js";
|
|
30
30
|
import "./chunk-VLA6UJGH.js";
|
|
@@ -51,7 +51,7 @@ import "./chunk-SJGE5I5F.js";
|
|
|
51
51
|
import "./chunk-DP5LF7GF.js";
|
|
52
52
|
import "./chunk-J3RXEDR2.js";
|
|
53
53
|
import "./chunk-QBXDU24O.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-6W3DY5BP.js";
|
|
55
55
|
import "./chunk-E63BDV4Z.js";
|
|
56
56
|
import "./chunk-G7VEYUZ2.js";
|
|
57
57
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=1920, height=1080" />
|
|
6
|
-
<script src="https://cdn.jsdelivr.net/npm/gsap@3.
|
|
6
|
+
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
|
|
7
7
|
<style>
|
|
8
8
|
/* Placeholders: replace all three with the film's own palette and display face. */
|
|
9
9
|
:root {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=1920, height=1080" />
|
|
6
|
-
<script src="https://cdn.jsdelivr.net/npm/gsap@3.
|
|
6
|
+
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
|
|
7
7
|
<style>
|
|
8
8
|
* {
|
|
9
9
|
margin: 0;
|