hyperframes 0.8.208 → 0.8.210
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-XMWRBMBR.js → add-36M7YRR4.js} +17 -16
- package/dist/{animatedGifPrep-6XURJIPV.js → animatedGifPrep-RZLTC77F.js} +8 -6
- package/dist/api.js +26 -20
- package/dist/{appHistory-HIBH6XZW.js → appHistory-OHYU5ZBQ.js} +3 -2
- package/dist/{asset-I5GGEOB2.js → asset-HRGZ7ZCB.js} +2 -2
- package/dist/{assetCataloger-YBPXUNUP.js → assetCataloger-LN7RI2IC.js} +9 -7
- package/dist/{audio-GFJCHH5W.js → audio-ULOHC2KL.js} +31 -22
- package/dist/{auth-QOA55RYR.js → auth-K4ZULHQY.js} +4 -4
- package/dist/{autoUpdate-SPS4QPJU.js → autoUpdate-MUJ4WPP6.js} +4 -4
- package/dist/{backgroundChecks-HRJO7YK7.js → backgroundChecks-O6JST752.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-FBP3RKUF.js → batchRender-U742UVOD.js} +4 -4
- package/dist/{beats-VNGJ7F6W.js → beats-2CSE5WJD.js} +15 -12
- package/dist/{benchmark-NZ3N3MIV.js → benchmark-YJB2YKOE.js} +10 -10
- package/dist/{browser-BD5BKRJ5.js → browser-WJ5E7RYS.js} +7 -7
- package/dist/{bundleWithLocalizedFonts-WXVNPAWD.js → bundleWithLocalizedFonts-F5VQMFHZ.js} +3 -3
- package/dist/{capture-CXWXKWS5.js → capture-6OJDKKEZ.js} +26 -22
- package/dist/{capture-LMJ4TQRL.js → capture-IYV3OS5W.js} +3 -3
- package/dist/{captureCompositionFrame-ZKVCRYYU.js → captureCompositionFrame-7357PUMG.js} +15 -14
- package/dist/{catalog-WRXQSCAU.js → catalog-CZBK33QH.js} +18 -17
- package/dist/{catch-up-MDSPABFC.js → catch-up-7IJQ7AUR.js} +9 -8
- package/dist/{check-SIBBK5HA.js → check-ISUFX4DK.js} +46 -44
- package/dist/{checkAudio-QQBR4HR7.js → checkAudio-GAA2SY5E.js} +21 -12
- package/dist/{checkBrowser-4EBJLLIH.js → checkBrowser-JRADOMED.js} +39 -37
- package/dist/{chunk-Z5TGBEPJ.js → chunk-32BLIKEV.js} +1 -1
- package/dist/{chunk-P7WGVXR7.js → chunk-35HSGF46.js} +6 -6
- package/dist/{chunk-6WRN4WC6.js → chunk-36EOFTVG.js} +1 -1
- package/dist/{chunk-FFDYRJBE.js → chunk-3PTZ2TD4.js} +1 -1
- package/dist/{chunk-S4KHJERB.js → chunk-4A27M7CJ.js} +1 -1
- package/dist/{chunk-VYRJAQGC.js → chunk-57QUPSP2.js} +1 -1
- package/dist/{chunk-HUKQW4YE.js → chunk-5IWRGVAX.js} +2 -2
- package/dist/{chunk-SI7QCT2J.js → chunk-5PCT5DDF.js} +6 -6
- package/dist/{chunk-QWBVPWUI.js → chunk-5ZJGEQGS.js} +3 -1
- package/dist/{chunk-CP225S5H.js → chunk-7BOGLQFM.js} +5 -5
- package/dist/{chunk-MOEGCMKI.js → chunk-7J6LQ3SQ.js} +20 -0
- package/dist/chunk-7VZEOCUY.js +98 -0
- package/dist/{chunk-4LTBQEPD.js → chunk-A2H5EJZM.js} +2 -2
- package/dist/{chunk-NZ6G5YWZ.js → chunk-A45HCDG7.js} +2 -2
- package/dist/{chunk-MW2NQQ6Z.js → chunk-AG566TRI.js} +2 -2
- package/dist/{chunk-K4PHB3YQ.js → chunk-AZGVCQGO.js} +7 -3
- package/dist/{chunk-WNMVC3IT.js → chunk-BKXC5XHB.js} +1 -1
- package/dist/{chunk-S2OLTAEL.js → chunk-BN22WCAF.js} +2 -2
- package/dist/{chunk-J67FSI3Q.js → chunk-BW5WYF4N.js} +92 -27
- package/dist/{chunk-ULL3U6PV.js → chunk-BYZPLQSX.js} +1 -1
- package/dist/chunk-D3MUHMFG.js +16 -0
- package/dist/{chunk-4HT2L6W2.js → chunk-DHTWYTSV.js} +1 -1
- package/dist/{chunk-XUQYC5DD.js → chunk-DKJAK6JW.js} +5 -5
- package/dist/{chunk-LSMFOZ4F.js → chunk-DST7GU2Y.js} +2 -2
- package/dist/{chunk-EU7MVORF.js → chunk-E63BDV4Z.js} +10 -1
- package/dist/{chunk-6N7D2GUV.js → chunk-EQPXSSNG.js} +28 -24
- package/dist/{chunk-MBGM26P5.js → chunk-ERVBXEPZ.js} +1 -1
- package/dist/{chunk-MYO77JWR.js → chunk-EVTBRL37.js} +1 -1
- package/dist/{chunk-EGOXYG3M.js → chunk-EYGWMHXV.js} +2 -2
- package/dist/{chunk-DHQSDCWD.js → chunk-F7IWJMIO.js} +3 -2
- package/dist/{chunk-4KG3ESVO.js → chunk-FBIWJ3A4.js} +4 -4
- package/dist/{chunk-DXACKQ3F.js → chunk-FCIO4WSW.js} +3 -3
- package/dist/{chunk-43MW4SY7.js → chunk-FCXEVKFQ.js} +4 -4
- package/dist/{chunk-PKVA6MPV.js → chunk-FHIBBIEZ.js} +65 -204
- package/dist/{chunk-XG3IZV62.js → chunk-GKNTPIFD.js} +17 -9
- package/dist/{chunk-GHSO62LK.js → chunk-GNESG4XA.js} +4 -10
- package/dist/{chunk-G2A6RC5R.js → chunk-HD4KXG5U.js} +70 -49
- package/dist/{chunk-PWEOSJ3E.js → chunk-HKCIRH26.js} +3 -3
- package/dist/{chunk-B5MPMIKQ.js → chunk-HP7BXJFZ.js} +2 -2
- package/dist/{chunk-MPO25DQW.js → chunk-I3PNZDKR.js} +186 -153
- package/dist/chunk-I4H5JWND.js +205 -0
- package/dist/{chunk-ORFRUZPB.js → chunk-IMKBZEGT.js} +2 -2
- package/dist/{chunk-3O2E4Q66.js → chunk-J7A73K2B.js} +35 -22
- package/dist/{chunk-M4QZFUMW.js → chunk-JHNBF2HD.js} +1 -1
- package/dist/{chunk-XOFBXLMG.js → chunk-JLBJRJO6.js} +5 -3
- package/dist/{chunk-GMECXFAN.js → chunk-K4FVGVA6.js} +5 -2
- package/dist/{chunk-XMRA7CQG.js → chunk-KCLBO65Y.js} +1 -1
- package/dist/{chunk-7CPI2DWL.js → chunk-KGAPL42S.js} +1 -1
- package/dist/{chunk-BKDQFOKK.js → chunk-KGG2PUZN.js} +91 -17
- package/dist/{chunk-OTXXDONS.js → chunk-LRE4GDFA.js} +3 -3
- package/dist/{chunk-EYEEZXLI.js → chunk-MA447PNF.js} +25 -17
- package/dist/{chunk-6JNSYFOH.js → chunk-MV3J6ZOP.js} +4 -4
- package/dist/{chunk-CSWCZA6V.js → chunk-NEKKA2DA.js} +2 -2
- package/dist/{chunk-EOVYQ3IG.js → chunk-NQ2INEHX.js} +17 -17
- package/dist/{chunk-4F5NRJ6M.js → chunk-OMLVCHNN.js} +2 -2
- package/dist/{chunk-6CWKORZO.js → chunk-P2L7NNHT.js} +27 -5
- package/dist/{chunk-FC4WT5FX.js → chunk-P327BIJR.js} +1 -14
- package/dist/{chunk-NEASABW6.js → chunk-P6EXMN5D.js} +1 -1
- package/dist/{chunk-VR3JLTZD.js → chunk-PCPMSUW6.js} +3 -3
- package/dist/{chunk-D2CE2J2A.js → chunk-PV4XID2A.js} +1 -1
- package/dist/{chunk-IL2TMC6F.js → chunk-QFXF5GXE.js} +21 -5
- package/dist/{chunk-VS4SK7BN.js → chunk-QI5TLQNW.js} +7 -7
- package/dist/{chunk-CZUAX3BV.js → chunk-QIDN4ML5.js} +1 -1
- package/dist/{chunk-BLCKQPBE.js → chunk-QPX7FJP3.js} +1 -1
- package/dist/chunk-QRC7IVBC.js +4870 -0
- package/dist/{chunk-IIJVSCSH.js → chunk-QRWTVCGH.js} +18 -18
- package/dist/{chunk-56ANHX5U.js → chunk-QXUFQSSK.js} +1 -1
- package/dist/{chunk-KTWGVEN6.js → chunk-RIAWW4G2.js} +2 -2
- package/dist/{chunk-HTZJNQYI.js → chunk-RUW65P3N.js} +1 -1
- package/dist/{chunk-ENRFKCI6.js → chunk-TDEORHFN.js} +3 -3
- package/dist/{chunk-X6MCIK7L.js → chunk-TGFDRZTM.js} +29 -13
- package/dist/{chunk-U6KN6OIP.js → chunk-UA3YNZK6.js} +2 -2
- package/dist/{chunk-TNTGGDSD.js → chunk-UWEGMKKU.js} +1 -1
- package/dist/{chunk-SKKQMW5X.js → chunk-W3V5EOFA.js} +1 -1
- package/dist/{chunk-QP2MJYTJ.js → chunk-W4E3ZOWH.js} +1 -1
- package/dist/{chunk-7PAK7LZ5.js → chunk-WOFTAZSZ.js} +18 -20
- package/dist/{chunk-HZN7ICAF.js → chunk-WWQJYYAB.js} +3 -3
- package/dist/{chunk-PSOAGSNO.js → chunk-X2T5EOI7.js} +2 -2
- package/dist/{chunk-Q43YUROE.js → chunk-X6JUUQCM.js} +1 -1
- package/dist/chunk-XCIHCPJK.js +106 -0
- package/dist/{chunk-5HB4JM7H.js → chunk-XIUHHEBS.js} +5 -3
- package/dist/{chunk-EXAX37XR.js → chunk-Y65ZU7XY.js} +18 -13
- package/dist/{chunk-WABB4LZS.js → chunk-YBY2WVLC.js} +19 -2
- package/dist/{chunk-5PCALX6G.js → chunk-YIFEK3UD.js} +1 -1
- package/dist/{chunk-6DSYBW7Z.js → chunk-YRO3PXWU.js} +1 -85
- package/dist/{chunk-6PWQH77E.js → chunk-ZFVNYA3M.js} +1 -1
- package/dist/{chunk-GEO6THL3.js → chunk-ZRSQNF4A.js} +43 -30
- package/dist/{clean-6GX7WAEC.js → clean-NVBEXXIS.js} +25 -22
- package/dist/cli.js +56 -56
- package/dist/{cloud-6PFJKLNL.js → cloud-3T6HF7DT.js} +4 -4
- package/dist/{cloudrun-UGG3ZFH7.js → cloudrun-TXEEZGJ7.js} +5 -5
- package/dist/commands/layout-audit.browser.js +94 -4
- package/dist/{compare-P4EBOP4B.js → compare-Q42Z56P7.js} +38 -36
- package/dist/{compiler-PG4RKX6K.js → compiler-IL2PZJFH.js} +5 -3
- package/dist/{component-SQPMI3W7.js → component-2IWQZYCZ.js} +3 -3
- package/dist/{compositions-KRIHY3IY.js → compositions-3EZ3GBK2.js} +14 -12
- package/dist/{contactSheet-RYAE7Y5D.js → contactSheet-WG4HT5XP.js} +2 -2
- package/dist/{delete-T5TO4SV6.js → delete-2UBY2JTM.js} +10 -9
- package/dist/{deploy-AO6LQR5G.js → deploy-QTS2OM2H.js} +1 -1
- package/dist/{dist-6IMEDVMC.js → dist-73YTUT3W.js} +1 -1
- package/dist/{dist-23AAB5X2.js → dist-XF53LCKD.js} +4 -2
- package/dist/{doctor-QBUJQ655.js → doctor-FIXMXWE6.js} +21 -15
- package/dist/{events-J7CESLKQ.js → events-7WYSDXTE.js} +4 -4
- package/dist/{events-SIZO7YHI.js → events-NTZSSMBR.js} +5 -5
- package/dist/{feedback-74WOJ5PN.js → feedback-7SOB5GZC.js} +12 -12
- package/dist/{ffmpeg-AKUP6U2S.js → ffmpeg-PYY5FSIX.js} +10 -8
- package/dist/{figma-GGMYRR4Q.js → figma-DTWA3G22.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -9
- package/dist/{get-PLKAI6JM.js → get-DMGUJPLP.js} +10 -9
- package/dist/{gpuPolicy-EYDAAPJF.js → gpuPolicy-KVYO4OU4.js} +8 -6
- package/dist/{grade-compare-UADJP4AV.js → grade-compare-NCYPJFLI.js} +39 -37
- package/dist/{heifImagePrep-KDF3OPOK.js → heifImagePrep-F7LFUYGC.js} +9 -7
- package/dist/{help-WSQQ555Q.js → help-I4RRBHCW.js} +2 -2
- package/dist/{history-VSQ2DQ3V.js → history-GVBBXZKQ.js} +11 -10
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-MOQ4LRC3.js → info-UE2PY5AF.js} +9 -9
- package/dist/{init-EONQSZJG.js → init-4UGFGJQK.js} +39 -34
- package/dist/{inspect-OLCVLHOU.js → inspect-ZRREAUCB.js} +37 -35
- package/dist/{installer-GHISA75B.js → installer-ABXPRFIJ.js} +6 -5
- package/dist/{keyframes-DGQYCY24.js → keyframes-MFR4TYVR.js} +8 -8
- package/dist/{lambda-AMMWF2YH.js → lambda-E3Z6JCIB.js} +13 -11
- package/dist/{layout-R6CAPGRO.js → layout-IO7T5SSU.js} +37 -35
- package/dist/{lint-QZJEYPHD.js → lint-WYPQK5XA.js} +9 -9
- package/dist/{lintProject-W3YVHAGP.js → lintProject-KCN7MRBN.js} +1 -1
- package/dist/{list-KCJID4SP.js → list-7F2LXWOZ.js} +10 -9
- package/dist/{login-7HKBEPJS.js → login-TTMYCXN2.js} +7 -7
- package/dist/{logout-3IID4KXD.js → logout-QRSB4CNH.js} +3 -3
- package/dist/{manager-Z7W4GQGF.js → manager-LQXZTUTJ.js} +3 -3
- package/dist/{manager-6YSKJMVD.js → manager-OQ5J26ST.js} +11 -9
- package/dist/{media-treatment-E3DL6LEZ.js → media-treatment-ELB6WRA5.js} +17 -15
- package/dist/{models-URWI7YEG.js → models-D2FNIGNZ.js} +15 -13
- package/dist/{motionShot-27IXMDJK.js → motionShot-53VDDRIC.js} +22 -21
- package/dist/{normalize-audio-WGRLPR3P.js → normalize-audio-QHNCFWR2.js} +12 -9
- package/dist/{open-LQ35PLEN.js → open-3KMTT3AV.js} +18 -17
- package/dist/{parakeetRunner-XASVIDTI.js → parakeetRunner-T65S6FW3.js} +20 -17
- package/dist/{pipeline-GA7QVCHS.js → pipeline-DUVRZGIM.js} +15 -10
- package/dist/{play-RYZP77CI.js → play-27R6RBSK.js} +27 -24
- package/dist/{policies-PKLD4UW5.js → policies-NWIEUGGW.js} +1 -1
- package/dist/{preflight-HJFSJXXF.js → preflight-QB6NKBBL.js} +12 -10
- package/dist/{present-YBMLOWZV.js → present-RHV3FKI5.js} +21 -18
- package/dist/{preview-QIRKJCRV.js → preview-IAKIXYLN.js} +29 -27
- package/dist/{producer-524FDOLX.js → producer-F6PHB4M4.js} +1 -1
- package/dist/{projectConfig-IDQN5ZRW.js → projectConfig-MPHWYY5D.js} +10 -9
- package/dist/{publication-3X3IGSDO.js → publication-CBAEINEG.js} +4 -3
- package/dist/{publish-2BF7K6HX.js → publish-4A2A6V7Z.js} +20 -17
- package/dist/{refresh-3IRHJEQA.js → refresh-F7FUCXLX.js} +3 -3
- package/dist/{remove-background-EZBCEFT6.js → remove-background-3I7RZGVG.js} +15 -11
- package/dist/{render-TEEBI2UT.js → render-2HYATL32.js} +56 -57
- package/dist/{render-EFUA2A6A.js → render-BGPUHBFC.js} +6 -5
- package/dist/{render-JFMTAXHD.js → render-BSKLHCZ4.js} +67 -47
- package/dist/{render-batch-XTYNXVSW.js → render-batch-JD6C3BDD.js} +7 -6
- package/dist/renderSetupWorker.js +5 -5
- package/dist/{resolver-FZS6TN6B.js → resolver-SQYR7LII.js} +6 -5
- package/dist/{screenshotCapture-HOW4VSV6.js → screenshotCapture-HDRHY4NN.js} +2 -2
- package/dist/{sherpa-TQIAIKTH.js → sherpa-VXD3DAH4.js} +19 -16
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +2 -2
- package/dist/{skills-S6ZG5KKH.js → skills-B2SHEHWL.js} +7 -7
- package/dist/{skillsUpdateCheck-XC7JQL3F.js → skillsUpdateCheck-ST43UUPK.js} +5 -5
- package/dist/{snapshot-ERYZIM32.js → snapshot-USJYNKDM.js} +118 -75
- package/dist/{src-OL6RHPE4.js → src-5OX35WPG.js} +10 -8
- package/dist/{src-6XOMREMS.js → src-PX3VIS7K.js} +30 -9
- package/dist/{staticProjectServer-JYDDGPAH.js → staticProjectServer-ET7H5LMV.js} +22 -19
- package/dist/{status-DTP6ZYDU.js → status-QVDRHXW2.js} +3 -3
- package/dist/studio/assets/{hyperframes-player-5dRdMVOq.js → hyperframes-player-DUpxahTX.js} +1 -1
- package/dist/studio/assets/{index-ZqyQ91pm.js → index-B4dcZZAm.js} +1 -1
- package/dist/studio/assets/{index-Bu3mJUU2.js → index-CtrcjpbM.js} +5 -5
- package/dist/studio/assets/{index-CYbvOVp-.css → index-RUPGNyct.css} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-GRU4SHKD.js → studio-api-PLKYSG2X.js} +13 -10
- package/dist/{studioServer-OYPBEI5B.js → studioServer-CNUXGRFS.js} +65 -63
- package/dist/{synthesize-QZHRXGRY.js → synthesize-RVE7IUOJ.js} +3 -2
- package/dist/{telemetry-CPYINR63.js → telemetry-DGDEJLGL.js} +5 -5
- package/dist/{telemetry-6BPSGY5W.js → telemetry-EJS5PXH2.js} +2 -2
- package/dist/{timeline-RGK5BMPD.js → timeline-VCQC4TLM.js} +23 -20
- package/dist/{tokens-EX4BOWRW.js → tokens-AEOBCDW5.js} +2 -2
- package/dist/{transcribe-RI52JMVW.js → transcribe-COFCB3ZB.js} +25 -22
- package/dist/{transcribe-MK367I6A.js → transcribe-X6O5ZSGQ.js} +15 -12
- package/dist/{tts-AY4JO5NQ.js → tts-AGMCPQXE.js} +1 -1
- package/dist/{updateCheck-BIEJKQI4.js → updateCheck-BW7MDUXZ.js} +4 -4
- package/dist/{upgrade-ES3UUI7O.js → upgrade-QXOGA54H.js} +4 -4
- package/dist/{urlDownloader-XAGYSTAG.js → urlDownloader-QB3TBIQ5.js} +7 -5
- package/dist/{validate-A6GZHNEI.js → validate-AU2BZ7D7.js} +29 -27
- package/dist/{video-OEMGR3MN.js → video-GNNYAL5T.js} +9 -7
- package/dist/warmCheck.js +46 -44
- package/package.json +1 -1
- package/dist/chunk-BQMAPNDA.js +0 -4830
- package/dist/chunk-DKPNNYBZ.js +0 -44
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HKCIRH26.js";
|
|
23
23
|
import {
|
|
24
24
|
MEDIA_LINK_ATTR,
|
|
25
25
|
relinkSplitHalves
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
requestedProjectPath,
|
|
33
33
|
requiredFfmpeg,
|
|
34
34
|
resolveLocalAudioPath
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-QFXF5GXE.js";
|
|
36
36
|
import {
|
|
37
37
|
HistoryBusyError,
|
|
38
38
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
resolveProjectAndSignature,
|
|
47
47
|
resolveProjectSignature,
|
|
48
48
|
settledFileTag
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-J7A73K2B.js";
|
|
50
50
|
import {
|
|
51
51
|
PROXY_PARAMS_VERSION,
|
|
52
52
|
PROXY_PENDING_RETRY_AFTER_SECONDS,
|
|
@@ -58,7 +58,6 @@ import {
|
|
|
58
58
|
decideMediaProxyEligibility,
|
|
59
59
|
isProxyVariantRequest,
|
|
60
60
|
probeAssetCodec,
|
|
61
|
-
probeMediaMetadata,
|
|
62
61
|
proxyActivityMark,
|
|
63
62
|
proxyCopyProgress,
|
|
64
63
|
proxyVariantFor,
|
|
@@ -70,7 +69,11 @@ import {
|
|
|
70
69
|
scanProjectMedia,
|
|
71
70
|
shouldPrewarmProxy,
|
|
72
71
|
waitForProxy
|
|
73
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-FHIBBIEZ.js";
|
|
73
|
+
import {
|
|
74
|
+
probeAudioTrack,
|
|
75
|
+
probeMediaMetadata
|
|
76
|
+
} from "./chunk-I4H5JWND.js";
|
|
74
77
|
import {
|
|
75
78
|
STUDIO_MOTION_PATH,
|
|
76
79
|
createStudioMotionRenderBodyScript,
|
|
@@ -90,7 +93,7 @@ import {
|
|
|
90
93
|
atomicTempPath,
|
|
91
94
|
createFileAtomically,
|
|
92
95
|
replaceFileAtomically
|
|
93
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-NQ2INEHX.js";
|
|
94
97
|
import {
|
|
95
98
|
parseEncoderOptions
|
|
96
99
|
} from "./chunk-5YHQBCWH.js";
|
|
@@ -103,16 +106,20 @@ import {
|
|
|
103
106
|
fontDirectories,
|
|
104
107
|
locateSystemFont
|
|
105
108
|
} from "./chunk-7FMUTGOH.js";
|
|
109
|
+
import {
|
|
110
|
+
decodableAudioStream
|
|
111
|
+
} from "./chunk-D3MUHMFG.js";
|
|
106
112
|
import {
|
|
107
113
|
addScenePartsManifest,
|
|
108
114
|
ensureHfIds,
|
|
109
115
|
stampHfIdsInPlace,
|
|
110
116
|
stripSdrPngColourTags
|
|
111
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-GNESG4XA.js";
|
|
112
118
|
import {
|
|
113
119
|
GSAP_BASE_URL_META,
|
|
114
120
|
PREVIEW_PROXY_BOX_PARAM,
|
|
115
121
|
PREVIEW_PROXY_LIGHT_PARAM,
|
|
122
|
+
PREVIEW_PROXY_PRIORITY_HEADER,
|
|
116
123
|
PREVIEW_PROXY_PROGRESS_HEADER,
|
|
117
124
|
PREVIEW_PROXY_RETRY_PARAM,
|
|
118
125
|
formatPreviewProxyBox,
|
|
@@ -124,7 +131,7 @@ import {
|
|
|
124
131
|
normalizeGsapLocalRoot,
|
|
125
132
|
parseFps,
|
|
126
133
|
parsePreviewProxyBox
|
|
127
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-5ZJGEQGS.js";
|
|
128
135
|
import {
|
|
129
136
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
130
137
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -135,10 +142,11 @@ import {
|
|
|
135
142
|
insertBeforeCloseTag,
|
|
136
143
|
insertRuntimeTag,
|
|
137
144
|
isFullHtmlDocument,
|
|
145
|
+
mapStartTagsAndStyles,
|
|
138
146
|
resolveRateSpec,
|
|
139
147
|
sourceTimeAt,
|
|
140
148
|
stripEmbeddedRuntimeScripts
|
|
141
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-QRC7IVBC.js";
|
|
142
150
|
import {
|
|
143
151
|
ProjectRootMissingError,
|
|
144
152
|
folderGone,
|
|
@@ -313,7 +321,7 @@ function clearElementScreenshotIsolation() {
|
|
|
313
321
|
page.__hfThumbnailFaded = [];
|
|
314
322
|
}
|
|
315
323
|
|
|
316
|
-
// ../studio-server/dist/chunk-
|
|
324
|
+
// ../studio-server/dist/chunk-YOCRTHW3.js
|
|
317
325
|
import { resolve } from "path";
|
|
318
326
|
function isAutoProxyEnabled(adapter) {
|
|
319
327
|
return adapter.autoProxy !== false;
|
|
@@ -3687,8 +3695,7 @@ import { createHash as createHash5, randomBytes } from "crypto";
|
|
|
3687
3695
|
import { existsSync as existsSync8 } from "fs";
|
|
3688
3696
|
import { existsSync as existsSync9, readFileSync as readFileSync12, statSync as statSync9 } from "fs";
|
|
3689
3697
|
import { join as join14, resolve as resolve6 } from "path";
|
|
3690
|
-
import {
|
|
3691
|
-
import { promisify } from "util";
|
|
3698
|
+
import { spawn as spawn2 } from "child_process";
|
|
3692
3699
|
import { closeSync as closeSync3, constants as constants2, fstatSync as fstatSync3, openSync as openSync3, readSync } from "fs";
|
|
3693
3700
|
import { streamSSE as streamSSE2 } from "hono/streaming";
|
|
3694
3701
|
import { existsSync as existsSync10 } from "fs";
|
|
@@ -3826,6 +3833,30 @@ function insertGsapCoreBeforeHeadPlugin(html, coreTag) {
|
|
|
3826
3833
|
return `${html.slice(0, at)}${coreTag}
|
|
3827
3834
|
${html.slice(at)}`;
|
|
3828
3835
|
}
|
|
3836
|
+
var ROOT_PATH = /^\/(?!\/)/;
|
|
3837
|
+
var PATH_ATTR = /(\s(?:src|href|poster|xlink:href)\s*=\s*)(?:"([^"]*)"|'([^']*)'|([^\s"'=<>`]+))/gi;
|
|
3838
|
+
var CSS_ROOT_URL = /(\burl\(\s*)(["']?)(\/(?!\/)[^"')\s]*)\2/gi;
|
|
3839
|
+
var projectRelative = (path, base) => ROOT_PATH.test(path) && path !== "/" && !path.startsWith(base) ? path.slice(1) : path;
|
|
3840
|
+
var underBase = (path, base) => {
|
|
3841
|
+
const relative5 = projectRelative(path, base);
|
|
3842
|
+
return relative5 === path ? path : base + relative5;
|
|
3843
|
+
};
|
|
3844
|
+
function withRootPathsRelative(html, base) {
|
|
3845
|
+
const css = (text2) => text2.replace(
|
|
3846
|
+
CSS_ROOT_URL,
|
|
3847
|
+
(_m, open2, quote, path) => `${open2}${quote}${projectRelative(path, base)}${quote}`
|
|
3848
|
+
);
|
|
3849
|
+
const attrs = (tag) => tag.replace(PATH_ATTR, (whole, name, dq, sq, bare) => {
|
|
3850
|
+
const path = (dq ?? sq ?? bare ?? "").trim();
|
|
3851
|
+
const moved = projectRelative(path, base);
|
|
3852
|
+
if (moved === path) return whole;
|
|
3853
|
+
return dq !== void 0 ? `${name}"${moved}"` : sq !== void 0 ? `${name}'${moved}'` : `${name}${moved}`;
|
|
3854
|
+
});
|
|
3855
|
+
return mapStartTagsAndStyles(html, {
|
|
3856
|
+
tag: (tag) => /^<(?:a|base)[\s/>]/i.test(tag) ? tag : css(attrs(tag)),
|
|
3857
|
+
style: css
|
|
3858
|
+
});
|
|
3859
|
+
}
|
|
3829
3860
|
function rewriteRelativePaths(root, compPath, projectDir) {
|
|
3830
3861
|
const assetExists = (path) => existsSync(join22(projectDir, path));
|
|
3831
3862
|
rewriteAssetPaths(
|
|
@@ -3973,6 +4004,10 @@ ${headContent}`;
|
|
|
3973
4004
|
}
|
|
3974
4005
|
if (compHeadContent) headContent += `
|
|
3975
4006
|
${compHeadContent}`;
|
|
4007
|
+
if (baseHref) {
|
|
4008
|
+
headContent = withRootPathsRelative(headContent, baseHref);
|
|
4009
|
+
rewrittenContent = withRootPathsRelative(rewrittenContent, baseHref);
|
|
4010
|
+
}
|
|
3976
4011
|
headContent = stripEmbeddedRuntimeScripts(headContent);
|
|
3977
4012
|
headContent += `
|
|
3978
4013
|
<script ${RUNTIME_BOOTSTRAP_ATTR}="1" src="${runtimeUrl}"></script>`;
|
|
@@ -4318,13 +4353,17 @@ function computePeaks(floats, count) {
|
|
|
4318
4353
|
const maxPeak = Math.max(...peaks, 1e-3);
|
|
4319
4354
|
return peaks.map((p) => p / maxPeak);
|
|
4320
4355
|
}
|
|
4321
|
-
function decodeAudioPeaks(audioPath) {
|
|
4356
|
+
async function decodeAudioPeaks(audioPath) {
|
|
4357
|
+
const track = await probeAudioTrack(audioPath);
|
|
4358
|
+
if (!track) throw new Error("no audio stream");
|
|
4322
4359
|
return new Promise((resolvePromise, reject) => {
|
|
4323
4360
|
const proc = spawn(
|
|
4324
4361
|
findFfBinary("ffmpeg") ?? "ffmpeg",
|
|
4325
4362
|
[
|
|
4326
4363
|
"-i",
|
|
4327
4364
|
audioPath,
|
|
4365
|
+
"-map",
|
|
4366
|
+
`0:a:${track.stream}`,
|
|
4328
4367
|
"-af",
|
|
4329
4368
|
"atrim=start_sample=1152",
|
|
4330
4369
|
"-f",
|
|
@@ -4406,7 +4445,7 @@ function validateUploadedMedia(filePath, runner = defaultRunner) {
|
|
|
4406
4445
|
if (!ffprobe) return { ok: true, unchecked: FFPROBE_MISSING };
|
|
4407
4446
|
const result = runner(
|
|
4408
4447
|
ffprobe,
|
|
4409
|
-
["-v", "error", "-show_entries", "stream=codec_type", "-of", "json", "--", filePath],
|
|
4448
|
+
["-v", "error", "-show_entries", "stream=codec_type,codec_name", "-of", "json", "--", filePath],
|
|
4410
4449
|
{ windowsHide: true }
|
|
4411
4450
|
);
|
|
4412
4451
|
if (result.error && process.env[FFPROBE_PATH_ENV]?.trim()) {
|
|
@@ -4428,7 +4467,7 @@ function checkStreams(stdout, isVideo, isAudio) {
|
|
|
4428
4467
|
const parsed = JSON.parse(stdout);
|
|
4429
4468
|
const streams = parsed.streams ?? [];
|
|
4430
4469
|
const hasVideo = streams.some((stream) => stream.codec_type === "video");
|
|
4431
|
-
const hasAudio = streams
|
|
4470
|
+
const hasAudio = decodableAudioStream(streams) !== null;
|
|
4432
4471
|
if (isVideo && !hasVideo) {
|
|
4433
4472
|
return { ok: false, reason: "no supported video stream found" };
|
|
4434
4473
|
}
|
|
@@ -5552,7 +5591,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5552
5591
|
let block = extractGsapScriptBlock(html);
|
|
5553
5592
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5554
5593
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5555
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5594
|
+
const { GSAP_CDN } = await import("./dist-XF53LCKD.js");
|
|
5556
5595
|
const bootstrap = [
|
|
5557
5596
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5558
5597
|
"<script>",
|
|
@@ -7282,7 +7321,6 @@ function registerFileRoutes(api, adapter) {
|
|
|
7282
7321
|
return c.json({ ok: true, restored: true, conflict: false });
|
|
7283
7322
|
});
|
|
7284
7323
|
}
|
|
7285
|
-
var ROOT_PATH = /^\/(?!\/)/;
|
|
7286
7324
|
var IMPORT_MAP_TYPE = /\btype\s*=\s*["']?importmap["']?(?=[\s/>])/i;
|
|
7287
7325
|
function findImportMap(html) {
|
|
7288
7326
|
for (const at of findStartTags(html, "script")) {
|
|
@@ -7309,7 +7347,7 @@ function withRootImportMap(html, base) {
|
|
|
7309
7347
|
return html;
|
|
7310
7348
|
}
|
|
7311
7349
|
if (!map || typeof map !== "object") return html;
|
|
7312
|
-
const under = (path) =>
|
|
7350
|
+
const under = (path) => underBase(path, base);
|
|
7313
7351
|
const moved = (entries = {}) => Object.fromEntries(
|
|
7314
7352
|
Object.entries(entries).map(([key, target]) => [key, under(String(target))])
|
|
7315
7353
|
);
|
|
@@ -7708,7 +7746,7 @@ var PREVIEW_BUNDLE_OPTIONS = {
|
|
|
7708
7746
|
var previewBaseHref = (projectId) => `/api/projects/${encodeURIComponent(projectId)}/preview/`;
|
|
7709
7747
|
var withPreviewBase = (html, projectId) => {
|
|
7710
7748
|
const base = previewBaseHref(projectId);
|
|
7711
|
-
const mapped = withRootImportMap(html, base);
|
|
7749
|
+
const mapped = withRootImportMap(withRootPathsRelative(html, base), base);
|
|
7712
7750
|
return hasBaseElement(mapped) ? mapped : injectTagsAtHeadStart(mapped, `<base href="${base}">`);
|
|
7713
7751
|
};
|
|
7714
7752
|
function resolvePreviewGsapBaseUrl(adapter) {
|
|
@@ -7753,10 +7791,9 @@ function registerPreviewRoutes(api, adapter) {
|
|
|
7753
7791
|
bundled = ensureHfIds(diskMain.html);
|
|
7754
7792
|
mainCompositionPath = diskMain.compositionPath;
|
|
7755
7793
|
}
|
|
7756
|
-
bundled = withPreviewRuntime(bundled, adapter.runtimeUrl);
|
|
7794
|
+
bundled = withPreviewRuntime(withPreviewBase(bundled, project.id), adapter.runtimeUrl);
|
|
7757
7795
|
recordPreviewReferences(project.dir, bundled);
|
|
7758
7796
|
recordPreviewBuilt(project.dir);
|
|
7759
|
-
bundled = withPreviewBase(bundled, project.id);
|
|
7760
7797
|
bundled = injectStudioPreviewAugmentations(
|
|
7761
7798
|
ensureHfIds(await transformPreviewHtml(bundled, adapter, project, mainCompositionPath)),
|
|
7762
7799
|
adapter,
|
|
@@ -7781,9 +7818,9 @@ function registerPreviewRoutes(api, adapter) {
|
|
|
7781
7818
|
} catch {
|
|
7782
7819
|
const fallback = resolveProjectMainHtml(project.dir, project.id);
|
|
7783
7820
|
if (fallback) {
|
|
7784
|
-
const fallbackHtml =
|
|
7785
|
-
|
|
7786
|
-
|
|
7821
|
+
const fallbackHtml = withPreviewRuntime(
|
|
7822
|
+
withPreviewBase(ensureHfIds(fallback.html), project.id),
|
|
7823
|
+
adapter.runtimeUrl
|
|
7787
7824
|
);
|
|
7788
7825
|
let fallbackAugmented = injectStudioPreviewAugmentations(
|
|
7789
7826
|
await transformPreviewHtml(fallbackHtml, adapter, project, fallback.compositionPath),
|
|
@@ -7951,7 +7988,11 @@ ${etag}`;
|
|
|
7951
7988
|
if (c.req.query(PREVIEW_PROXY_RETRY_PARAM) !== void 0) {
|
|
7952
7989
|
retryProxyCopy(project.dir, file, proxyVariant, proxyBox);
|
|
7953
7990
|
}
|
|
7954
|
-
|
|
7991
|
+
const priority = c.req.header(PREVIEW_PROXY_PRIORITY_HEADER) === "1";
|
|
7992
|
+
servedPath = await waitForProxy(
|
|
7993
|
+
resolveProxy(project.dir, file, proxyVariant, proxyBox, { priority }),
|
|
7994
|
+
0
|
|
7995
|
+
);
|
|
7955
7996
|
} catch (err) {
|
|
7956
7997
|
if (err instanceof ProxyWaitTimeoutError) {
|
|
7957
7998
|
const progress = proxyCopyProgress(project.dir, file, proxyVariant, proxyBox);
|
|
@@ -9160,7 +9201,6 @@ function registerLoudnessRoutes(api, adapter, measure = defaultMeasure) {
|
|
|
9160
9201
|
}
|
|
9161
9202
|
var PEAK_BIN_SECONDS = 0.05;
|
|
9162
9203
|
var PEAK_SAMPLE_RATE = 48e3;
|
|
9163
|
-
var execFileAsync = promisify(execFile2);
|
|
9164
9204
|
var PEAK_MAP_CACHE_VERSION = "peaks-v2";
|
|
9165
9205
|
function createPeakAccumulator(sampleRate = PEAK_SAMPLE_RATE, binSeconds = PEAK_BIN_SECONDS, channels = 2) {
|
|
9166
9206
|
return {
|
|
@@ -9194,29 +9234,10 @@ function accumulatePeaks(acc, chunk) {
|
|
|
9194
9234
|
function finishPeaks(acc) {
|
|
9195
9235
|
return acc.bins.map((peak) => Number(peak.toFixed(4)));
|
|
9196
9236
|
}
|
|
9197
|
-
async function probeChannels(mediaPath) {
|
|
9198
|
-
const { stdout } = await execFileAsync(
|
|
9199
|
-
findFfBinary("ffprobe") ?? "ffprobe",
|
|
9200
|
-
[
|
|
9201
|
-
"-v",
|
|
9202
|
-
"error",
|
|
9203
|
-
"-select_streams",
|
|
9204
|
-
"a:0",
|
|
9205
|
-
"-show_entries",
|
|
9206
|
-
"stream=channels",
|
|
9207
|
-
"-of",
|
|
9208
|
-
"csv=p=0",
|
|
9209
|
-
"--",
|
|
9210
|
-
mediaPath
|
|
9211
|
-
],
|
|
9212
|
-
{ encoding: "utf8", timeout: 3e4, windowsHide: true }
|
|
9213
|
-
);
|
|
9214
|
-
const channels = Number.parseInt(stdout.trim(), 10);
|
|
9215
|
-
if (!Number.isFinite(channels) || channels < 1) throw new Error("no audio stream");
|
|
9216
|
-
return channels;
|
|
9217
|
-
}
|
|
9218
9237
|
async function decodePeakMap(mediaPath) {
|
|
9219
|
-
const
|
|
9238
|
+
const track = await probeAudioTrack(mediaPath);
|
|
9239
|
+
if (!track || track.channels < 1) throw new Error("no audio stream");
|
|
9240
|
+
const { stream, channels } = track;
|
|
9220
9241
|
return new Promise((resolvePromise, reject) => {
|
|
9221
9242
|
const proc = spawn2(
|
|
9222
9243
|
findFfBinary("ffmpeg") ?? "ffmpeg",
|
|
@@ -9226,7 +9247,7 @@ async function decodePeakMap(mediaPath) {
|
|
|
9226
9247
|
"-i",
|
|
9227
9248
|
mediaPath,
|
|
9228
9249
|
"-map",
|
|
9229
|
-
|
|
9250
|
+
`0:a:${stream}`,
|
|
9230
9251
|
"-vn",
|
|
9231
9252
|
"-ar",
|
|
9232
9253
|
String(PEAK_SAMPLE_RATE),
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GNESG4XA.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5ZJGEQGS.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-P327BIJR.js";
|
|
24
24
|
import {
|
|
25
25
|
readClipTiming,
|
|
26
26
|
readMediaOffsetSeconds,
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loadProducer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4A27M7CJ.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectRelativeSrc
|
|
12
12
|
} from "./chunk-PBNWRWKA.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/projectMedia.ts
|
|
15
15
|
async function collectProjectMedia(projectDir) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-IL2PZJFH.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir);
|
|
18
18
|
const producer = await loadProducer();
|
|
19
19
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|