hyperframes 0.8.149 → 0.8.151
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-MG53577L.js → add-QKZZG7A2.js} +12 -12
- package/dist/{animatedGifPrep-HV4ZFVPV.js → animatedGifPrep-YQDPYGOD.js} +7 -7
- package/dist/api.js +17 -17
- package/dist/{asset-3GIBXLLL.js → asset-3Q737Y4H.js} +2 -2
- package/dist/{assetCataloger-JJQ4JW2P.js → assetCataloger-BTHEBJJB.js} +3 -3
- package/dist/{auth-XQMT727H.js → auth-XL7EU3SO.js} +1 -1
- package/dist/{autoUpdate-CREZJGMU.js → autoUpdate-PJFLTQ3U.js} +2 -2
- package/dist/{backgroundChecks-K3S5QKR3.js → backgroundChecks-T5TIR5WK.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-42AKNX73.js → batchRender-NFLVIDB4.js} +4 -4
- package/dist/{beats-Y7IKETUS.js → beats-JU4GZ26R.js} +13 -13
- package/dist/{benchmark-22SAXSO5.js → benchmark-7U2YWLTW.js} +9 -9
- package/dist/{browser-ABNISCC3.js → browser-D57UPYDA.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-OE5ZI4JE.js → bundleWithLocalizedFonts-26MXQOZG.js} +2 -2
- package/dist/{capture-DBNHO4WJ.js → capture-47BV25G3.js} +2 -2
- package/dist/{capture-HQG5W42I.js → capture-LT252COQ.js} +11 -11
- package/dist/{catalog-KICZFIDX.js → catalog-BEZXOV4O.js} +12 -12
- package/dist/{catch-up-ZCQUCI45.js → catch-up-KVV5X6BF.js} +4 -4
- package/dist/{check-TGXIICEF.js → check-6KQ433E6.js} +191 -55
- package/dist/{checkBrowser-3N23I56J.js → checkBrowser-PRDR6XBY.js} +172 -30
- package/dist/{chunk-GESJSXFH.js → chunk-35PWWBGZ.js} +1 -1
- package/dist/{chunk-62RUQJ5J.js → chunk-3SVC7SW4.js} +47 -21
- package/dist/{chunk-KMJLHHBF.js → chunk-3ZPFRDEJ.js} +1 -1
- package/dist/{chunk-XHBX7QN6.js → chunk-4LE27ST4.js} +1 -1
- package/dist/{chunk-DUUFDLC4.js → chunk-4MLYMDQ4.js} +1 -1
- package/dist/{chunk-WX7VCRM7.js → chunk-4PKQEKAI.js} +2 -2
- package/dist/{chunk-ZKDKFJCK.js → chunk-4YZYYP7V.js} +5 -5
- package/dist/{chunk-XPQSL5VS.js → chunk-54DMWFQZ.js} +8 -1
- package/dist/{chunk-NKM53WMI.js → chunk-BRF3O35X.js} +7 -7
- package/dist/chunk-DHPFXAUF.js +165 -0
- package/dist/{chunk-CT6ZQRLD.js → chunk-DIOBKUBV.js} +2 -2
- package/dist/{chunk-SP6XL3NP.js → chunk-FAIYEIZ4.js} +1 -1
- package/dist/{chunk-CYFFYK2F.js → chunk-FLVI7FHU.js} +1 -1
- package/dist/{chunk-JDB65PPT.js → chunk-GNTVYF7E.js} +8 -7
- package/dist/{chunk-KQHJKJ3V.js → chunk-HVXRYMGQ.js} +1 -1
- package/dist/{chunk-CNPJHUOX.js → chunk-IP73NMQT.js} +11 -11
- package/dist/{chunk-VX4AL2FQ.js → chunk-IPDS2SWI.js} +1 -1
- package/dist/{chunk-LACFOFWX.js → chunk-IZ7L6V76.js} +1 -1
- package/dist/{chunk-VC7JBNPS.js → chunk-IZPN423R.js} +481 -68
- package/dist/{chunk-P7NTODQE.js → chunk-KQGWP4KH.js} +2 -2
- package/dist/{chunk-SFUBSJFP.js → chunk-KXX6NLOT.js} +1 -1
- package/dist/{chunk-K44HCHZN.js → chunk-L3N7RJHS.js} +3 -3
- package/dist/{chunk-MI6U3OIN.js → chunk-L6RIMCMG.js} +3 -3
- package/dist/{chunk-7IEGPJ4P.js → chunk-LBT4AMSF.js} +1 -1
- package/dist/{chunk-AY2BONTF.js → chunk-LKQS72D5.js} +1 -1
- package/dist/{chunk-VXM4BH23.js → chunk-N3I6RAOR.js} +136 -54
- package/dist/{chunk-Q2Y5OZCY.js → chunk-N4IXP3MY.js} +2 -2
- package/dist/{chunk-LCILS4AF.js → chunk-O3DUX6P2.js} +5 -5
- package/dist/{chunk-MXB6CWVH.js → chunk-OSAH7S5M.js} +1 -1
- package/dist/{chunk-YDRX42P3.js → chunk-OZ4K46OV.js} +3 -3
- package/dist/{chunk-ZK3BQXHC.js → chunk-POEEDPJI.js} +1 -1
- package/dist/{chunk-LTJDUBSQ.js → chunk-PUIELIFA.js} +1 -1
- package/dist/chunk-QBYHNRHU.js +3795 -0
- package/dist/{chunk-KUTT3JXL.js → chunk-QF7AE3DB.js} +3 -3
- package/dist/{chunk-BNYRD7PQ.js → chunk-QLGBNGXC.js} +2 -2
- package/dist/{chunk-U7SASZC5.js → chunk-RJRGR5KF.js} +10 -10
- package/dist/{chunk-4S4VUXW3.js → chunk-RRBKEHST.js} +1 -1
- package/dist/{chunk-TPIG7ZBX.js → chunk-RYL6ZIJP.js} +6 -6
- package/dist/{chunk-L274XRWA.js → chunk-S22FKF6G.js} +6 -3
- package/dist/{chunk-OMBSUO4T.js → chunk-TCWMDCBX.js} +2 -2
- package/dist/{chunk-YA62XGXS.js → chunk-UJKQWGFF.js} +1 -1
- package/dist/{chunk-M5B42RL5.js → chunk-WUUOFMHU.js} +3 -3
- package/dist/{chunk-PR7QQBSC.js → chunk-XGLNQDLN.js} +1 -1
- package/dist/{chunk-VGCEMOQA.js → chunk-XKKBIFE5.js} +7 -7
- package/dist/{chunk-2HWB4TCI.js → chunk-XNDXENJQ.js} +27 -12
- package/dist/{chunk-AHBYQRGI.js → chunk-XQKVEQNY.js} +2 -2
- package/dist/{chunk-ZFN6GQU4.js → chunk-XXPYZBZ3.js} +1 -1
- package/dist/{chunk-K4RIT6PX.js → chunk-XYHBVSWD.js} +2 -2
- package/dist/{chunk-RMIFSBRV.js → chunk-YEBKEWKB.js} +1 -1
- package/dist/{chunk-CZQLCBWY.js → chunk-YG2Y55KF.js} +1 -1
- package/dist/{chunk-B3XLIBFL.js → chunk-YIJMVFEJ.js} +1 -1
- package/dist/{chunk-K35E45SI.js → chunk-YZTVHRJ2.js} +1 -1
- package/dist/{chunk-Y475GD4L.js → chunk-ZD3RDNZI.js} +1 -1
- package/dist/{chunk-QIJLIULK.js → chunk-ZGCRVM5M.js} +2 -2
- package/dist/{clean-6QP7VAV4.js → clean-RLTHFTQA.js} +18 -18
- package/dist/cli.js +52 -52
- package/dist/{cloud-5TME5ROM.js → cloud-Q5TGBTW3.js} +4 -4
- package/dist/{cloudrun-F5VVCVF5.js → cloudrun-4UZF74MV.js} +4 -4
- package/dist/{compare-XPY2EXX6.js → compare-Q5UNR2V4.js} +25 -25
- package/dist/{compiler-NPD3MYMO.js → compiler-ZXT27Z62.js} +4 -4
- package/dist/{component-OPVL3PUX.js → component-H734P32V.js} +3 -3
- package/dist/{compositions-WSEOI454.js → compositions-YEHDSTDR.js} +11 -11
- package/dist/{delete-SLMH57VH.js → delete-LDBMPWRT.js} +2 -2
- package/dist/{dist-CUIR3GFX.js → dist-7JXLFD6U.js} +3 -3
- package/dist/{dist-HUMFCJ6T.js → dist-RGE4QASU.js} +1 -1
- package/dist/{doctor-QZW3EKIH.js → doctor-XNJFIWJ7.js} +13 -13
- package/dist/{events-FIFWFRGC.js → events-G6UFLNXR.js} +2 -2
- package/dist/{events-6C3ZG7LS.js → events-UKCPUWMH.js} +3 -3
- package/dist/{feedback-VKXM7YJ5.js → feedback-CK3KZ7DE.js} +7 -7
- package/dist/{ffmpeg-TZB5WAYE.js → ffmpeg-MJFMBBSF.js} +2 -2
- package/dist/{figma-3UYNADNA.js → figma-3D5C737B.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-VH7VMRVX.js → get-QGTQUWFT.js} +2 -2
- package/dist/{gpuPolicy-M2JZGGVW.js → gpuPolicy-G5QAQDYF.js} +7 -7
- package/dist/{grade-compare-OSC2YQWN.js → grade-compare-XIHOM62P.js} +27 -27
- package/dist/{help-DCBFEZPT.js → help-U5UBXT52.js} +1 -1
- package/dist/{history-XYJMQE26.js → history-5J73QZSA.js} +5 -5
- package/dist/hyperframe-runtime.js +65 -58
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +65 -58
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-YEHGENAH.js → info-RJHQQQUP.js} +8 -8
- package/dist/{init-64SML7PY.js → init-M6UQOYYC.js} +29 -29
- package/dist/{inspect-GFOQKRJI.js → inspect-PRQWDBTP.js} +26 -26
- package/dist/{installer-Q4MMZKLA.js → installer-ZL7UKYK5.js} +5 -5
- package/dist/{keyframes-ORYFWKBZ.js → keyframes-VMUJYTCQ.js} +6 -6
- package/dist/{lambda-DRMOJGTC.js → lambda-ON42DRQD.js} +5 -5
- package/dist/{layout-ZEQBE6UQ.js → layout-QKBFVDVY.js} +26 -26
- package/dist/{lint-67KGFY63.js → lint-ZQHHL2SV.js} +7 -7
- package/dist/{lintProject-SSEXWCH6.js → lintProject-3Z6OJCSO.js} +1 -1
- package/dist/{list-T6OU5ARJ.js → list-YBRKIWGF.js} +2 -2
- package/dist/{login-2PXIGDP7.js → login-4B2YXGLB.js} +4 -4
- package/dist/{manager-ES2UFT4X.js → manager-X44GKUEL.js} +3 -3
- package/dist/{manager-GWU5J6RJ.js → manager-ZLJD3EAY.js} +2 -2
- package/dist/{media-treatment-NAAHID6M.js → media-treatment-5C5EJAAP.js} +12 -12
- package/dist/{models-P6XB6RWK.js → models-R7ZDWBJ6.js} +13 -13
- package/dist/{motionShot-7MHRIV6V.js → motionShot-ZHESZNUL.js} +14 -14
- package/dist/{normalize-audio-LWNFYR2F.js → normalize-audio-EVWZVTBM.js} +6 -6
- package/dist/{open-DAP5C7UD.js → open-TV6HT4UT.js} +4 -4
- package/dist/{parakeetRunner-3ZVFPOD4.js → parakeetRunner-YVVF4CG6.js} +14 -14
- package/dist/{pipeline-V4YJCPUX.js → pipeline-ETR5SEBS.js} +9 -9
- package/dist/{play-UDCESJO3.js → play-C6WONRZV.js} +19 -19
- package/dist/{preflight-JOD4OXGC.js → preflight-JYOX64YP.js} +4 -4
- package/dist/{present-DXTHBH3F.js → present-RANXTVPA.js} +15 -15
- package/dist/{preview-YHXKRXKB.js → preview-KF6UMBT2.js} +19 -19
- package/dist/{producer-343ENLAM.js → producer-CY2GXBWN.js} +1 -1
- package/dist/{projectConfig-YXKU3CTB.js → projectConfig-KPXCNMBM.js} +7 -7
- package/dist/{publication-ODXP3JI7.js → publication-Y36N4A7E.js} +3 -3
- package/dist/{publish-UEFBFGV3.js → publish-RCQJO35C.js} +9 -9
- package/dist/{remove-background-FMV6IDOH.js → remove-background-3ZMXVWLB.js} +10 -10
- package/dist/{render-ZTXNPRGF.js → render-FKVRCDT2.js} +58 -35
- package/dist/{render-N7QGX6RJ.js → render-PTNEFO5U.js} +9 -9
- package/dist/{render-SYC4RPGT.js → render-WUSTRMUD.js} +4 -4
- package/dist/{render-batch-SZRPCRUJ.js → render-batch-AQHU2JWZ.js} +4 -4
- package/dist/renderSetupWorker.js +4 -4
- package/dist/{resolver-7MYXNEAX.js → resolver-L5BDZJKU.js} +5 -5
- package/dist/{sherpa-M4Z2Q5Y2.js → sherpa-3S3ISG7G.js} +13 -13
- package/dist/skills/hyperframes/references/frame-worker-core.md +11 -9
- package/dist/skills/hyperframes/references/subagent-dispatch.md +1 -1
- package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +175 -0
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +24 -19
- package/dist/skills/media-use/references/grading.md +1 -2
- package/dist/skills/media-use/references/meta.md +17 -17
- package/dist/skills/media-use/references/operations.md +6 -6
- package/dist/skills/media-use/references/setup-providers.md +3 -4
- package/dist/skills/media-use/scripts/lib/cutlist.mjs +9 -2
- package/dist/skills/media-use/scripts/lib/cutlist.test.mjs +12 -0
- package/dist/skills/media-use/scripts/lib/telemetry.mjs +4 -1
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +20 -0
- package/dist/skills/media-use/scripts/transcript-cut.mjs +23 -4
- package/dist/skills/media-use/scripts/transcript-cut.test.mjs +224 -0
- package/dist/{skills-NEHNSHZK.js → skills-X4WQEKNF.js} +5 -5
- package/dist/{skillsUpdateCheck-O77QR72A.js → skillsUpdateCheck-UYCVHDZ6.js} +3 -3
- package/dist/{snapshot-GDVXFBVY.js → snapshot-YEYHQEZQ.js} +252 -141
- package/dist/{src-VMTHSARJ.js → src-2NN2WB6X.js} +10 -6
- package/dist/{src-PTIV7IVV.js → src-OLBDPEG6.js} +8 -8
- package/dist/{staticProjectServer-3D2NXQ6W.js → staticProjectServer-7H35NMWB.js} +15 -15
- package/dist/studio/assets/{hyperframes-player-C-2YwYre.js → hyperframes-player-DJt8E7k4.js} +1 -1
- package/dist/studio/assets/{index-ByJU5J6n.js → index-BGks9KLI.js} +131 -131
- package/dist/studio/assets/{index-BybGk67U.js → index-DWIHrAY2.js} +1 -1
- package/dist/studio/assets/{index-Cfs2r3fz.js → index-DgbLblGR.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-XIBDLRHB.js → studio-api-HGM2A5I3.js} +9 -9
- package/dist/{studioServer-QIQK47UN.js → studioServer-M6XFL7N6.js} +45 -45
- package/dist/{telemetry-565KDZUW.js → telemetry-KVCZKVTE.js} +3 -3
- package/dist/{timeline-E6XB7I6W.js → timeline-VYYKZR4V.js} +68 -15
- package/dist/{tokens-3ZAJENSE.js → tokens-B5NFFL55.js} +2 -2
- package/dist/{transcribe-XWQQCCBG.js → transcribe-SBETOIWI.js} +12 -12
- package/dist/{transcribe-WODP3T77.js → transcribe-WNFRYZAC.js} +18 -18
- package/dist/{updateCheck-QPYU4GRL.js → updateCheck-5MM2DFUC.js} +2 -2
- package/dist/{upgrade-2FJ5ZEN6.js → upgrade-LWID54R3.js} +2 -2
- package/dist/{urlDownloader-352AY25I.js → urlDownloader-CVLNXFDG.js} +6 -6
- package/dist/{validate-SP2VGNEI.js → validate-V4CGQ6OF.js} +20 -20
- package/dist/{video-RVNPFEA6.js → video-VJB2KRSS.js} +7 -7
- package/package.json +1 -1
- package/dist/chunk-3WD4JNMU.js +0 -3795
|
@@ -6,18 +6,18 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
stoppedByCancelSignal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KQGWP4KH.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_MODEL,
|
|
12
12
|
ensureModel,
|
|
13
13
|
ensureWhisper,
|
|
14
14
|
hasFFmpeg
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YG2Y55KF.js";
|
|
16
16
|
import {
|
|
17
17
|
findFFmpeg,
|
|
18
18
|
findFFprobe,
|
|
19
19
|
getFFmpegInstallHint
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4MLYMDQ4.js";
|
|
21
21
|
import {
|
|
22
22
|
findWavChunk
|
|
23
23
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BRF3O35X.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QBYHNRHU.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -6,24 +6,24 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
serveStaticProjectHtml
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-L3N7RJHS.js";
|
|
10
10
|
import {
|
|
11
11
|
AUDIT_SEEK_OPTIONS,
|
|
12
12
|
installPageFunctionGuard,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForCompositionFonts,
|
|
15
15
|
waitForRuntimeReady
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RYL6ZIJP.js";
|
|
17
17
|
import {
|
|
18
18
|
launchManagedBrowser,
|
|
19
19
|
resolveManagedGpuMode
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RRBKEHST.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveDiagnosticNavigationTimeoutMs
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HVXRYMGQ.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveProject
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-KXX6NLOT.js";
|
|
27
27
|
import {
|
|
28
28
|
defineCommand
|
|
29
29
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
printDeprecationNotice,
|
|
39
39
|
withMeta
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-35PWWBGZ.js";
|
|
41
41
|
import {
|
|
42
42
|
normalizeErrorMessage
|
|
43
43
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -707,7 +707,7 @@ async function collectTweenBoundaries(page) {
|
|
|
707
707
|
});
|
|
708
708
|
}
|
|
709
709
|
async function bundleProjectHtml(projectDir) {
|
|
710
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
710
|
+
const { bundleToSingleHtml } = await import("./compiler-ZXT27Z62.js");
|
|
711
711
|
return bundleToSingleHtml(projectDir);
|
|
712
712
|
}
|
|
713
713
|
async function alignViewportToComposition(page, url) {
|
|
@@ -727,15 +727,15 @@ async function alignViewportToComposition(page, url) {
|
|
|
727
727
|
});
|
|
728
728
|
}
|
|
729
729
|
async function runLayoutAudit(projectDir, opts) {
|
|
730
|
-
const { ensureBrowser } = await import("./manager-
|
|
730
|
+
const { ensureBrowser } = await import("./manager-ZLJD3EAY.js");
|
|
731
731
|
const puppeteer = await import("puppeteer-core");
|
|
732
|
-
const { buildChromeArgs } = await import("./src-
|
|
732
|
+
const { buildChromeArgs } = await import("./src-2NN2WB6X.js");
|
|
733
733
|
const {
|
|
734
734
|
assertWebGpuAdapterAvailable,
|
|
735
735
|
compositionRequiresWebGpu,
|
|
736
736
|
resolveLocalBrowserGpuMode,
|
|
737
737
|
resolveLocalWebGpu
|
|
738
|
-
} = await import("./gpuPolicy-
|
|
738
|
+
} = await import("./gpuPolicy-G5QAQDYF.js");
|
|
739
739
|
const html = await bundleProjectHtml(projectDir);
|
|
740
740
|
const server = await serveStaticProjectHtml(
|
|
741
741
|
projectDir,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCaptureBrowserGpuMode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZGCRVM5M.js";
|
|
10
10
|
import {
|
|
11
11
|
requestCliExit
|
|
12
12
|
} from "./chunk-PBN6GBJE.js";
|
|
@@ -10,22 +10,22 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
launchManagedBrowser,
|
|
12
12
|
resolveManagedGpuMode
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RRBKEHST.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveDiagnosticNavigationTimeoutMs,
|
|
16
16
|
windowsChromeCrashRemediation
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HVXRYMGQ.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveLocalBrowserGpuMode,
|
|
20
20
|
resolveLocalWebGpu
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZGCRVM5M.js";
|
|
22
22
|
import {
|
|
23
23
|
c
|
|
24
24
|
} from "./chunk-ZTZA4UWZ.js";
|
|
25
25
|
import {
|
|
26
26
|
assertWebGpuAdapterAvailable,
|
|
27
27
|
compositionRequiresWebGpu
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-IZPN423R.js";
|
|
29
29
|
import {
|
|
30
30
|
normalizeErrorMessage
|
|
31
31
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -104,10 +104,10 @@ async function installPageFunctionGuard(page) {
|
|
|
104
104
|
}
|
|
105
105
|
async function openSettledCompositionPage(html, url, options) {
|
|
106
106
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
107
|
-
const { ensureBrowser, findSystemBrowser } = await import("./manager-
|
|
107
|
+
const { ensureBrowser, findSystemBrowser } = await import("./manager-ZLJD3EAY.js");
|
|
108
108
|
const browser = await ensureBrowser();
|
|
109
109
|
const puppeteer = await import("puppeteer-core");
|
|
110
|
-
const { buildChromeArgs } = await import("./src-
|
|
110
|
+
const { buildChromeArgs } = await import("./src-2NN2WB6X.js");
|
|
111
111
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
112
112
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
113
113
|
let softwareWebGpu = false;
|
|
@@ -14,12 +14,13 @@ import {
|
|
|
14
14
|
findFFmpeg,
|
|
15
15
|
findFFprobe,
|
|
16
16
|
getFFmpegInstallHint
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4MLYMDQ4.js";
|
|
18
18
|
import {
|
|
19
19
|
DEFAULT_VP9_CPU_USED,
|
|
20
20
|
SDR_RGB_TO_BT709_FILTER,
|
|
21
|
+
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
21
22
|
renderProvenanceArgs
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IZPN423R.js";
|
|
23
24
|
|
|
24
25
|
// src/background-removal/pipeline.ts
|
|
25
26
|
import { spawn } from "child_process";
|
|
@@ -269,7 +270,7 @@ function inferInputKind(inputPath) {
|
|
|
269
270
|
}
|
|
270
271
|
async function probeMedia(inputPath) {
|
|
271
272
|
const isImage = inferInputKind(inputPath) === "image";
|
|
272
|
-
const engine = await import("./src-
|
|
273
|
+
const engine = await import("./src-2NN2WB6X.js");
|
|
273
274
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
274
275
|
if (isImage) {
|
|
275
276
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -331,6 +332,8 @@ function buildEncoderArgs(format, width, height, fps, outputPath, quality = DEFA
|
|
|
331
332
|
if (format === "mov") {
|
|
332
333
|
return [
|
|
333
334
|
...base,
|
|
335
|
+
"-vf",
|
|
336
|
+
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
334
337
|
"-c:v",
|
|
335
338
|
"prores_ks",
|
|
336
339
|
"-profile:v",
|
|
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// src/version.ts
|
|
9
|
-
var VERSION = true ? "0.8.
|
|
10
|
-
var PRODUCER_VERSION = true ? "0.8.
|
|
9
|
+
var VERSION = true ? "0.8.151" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.151" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -15,7 +15,7 @@ function isAudibleVideoElement(el) {
|
|
|
15
15
|
return declared === null || declared === "true";
|
|
16
16
|
}
|
|
17
17
|
function audibleVideoNeedsWebAudio(fields) {
|
|
18
|
-
return (fields.volume ?? 1) > 1 || Boolean(fields.fxChain || fields.automation || fields.audioGroup);
|
|
18
|
+
return (fields.volume ?? 1) > 1 || Boolean(fields.fxChain || fields.automation || fields.audioGroup || fields.masterChain);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
// ../core/dist/audioGain.js
|
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
ensureBrowser,
|
|
12
12
|
findBrowser
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LBT4AMSF.js";
|
|
14
14
|
import {
|
|
15
15
|
chromeDepsInstallCommand,
|
|
16
16
|
detectLinuxDistro,
|
|
17
17
|
distroLabel,
|
|
18
18
|
getFFmpegInstallHint,
|
|
19
19
|
parseLddMissingLibs
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4MLYMDQ4.js";
|
|
21
21
|
import {
|
|
22
22
|
runCancellableProcess
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-54DMWFQZ.js";
|
|
24
24
|
import {
|
|
25
25
|
FFMPEG_PATH_ENV,
|
|
26
26
|
FFPROBE_PATH_ENV,
|
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PUIELIFA.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FAIYEIZ4.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XGLNQDLN.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-N4IXP3MY.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-YZTVHRJ2.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZD3RDNZI.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-ZTZA4UWZ.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-XQKVEQNY.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
isAllowedHtmlAttribute,
|
|
15
15
|
isSafeAttributeValue,
|
|
16
16
|
sanitizeRichTextChildren
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XQKVEQNY.js";
|
|
18
18
|
import {
|
|
19
19
|
decodedUrlPath,
|
|
20
20
|
removeElementWithGsapCascade
|
|
21
21
|
} from "./chunk-LFNQDTSH.js";
|
|
22
22
|
import {
|
|
23
23
|
require_dist
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GNTVYF7E.js";
|
|
25
25
|
import {
|
|
26
26
|
readClipTiming,
|
|
27
27
|
writeClipTiming
|
|
@@ -135,7 +135,7 @@ function replacementTimelineAssetId(document, element, newSrc) {
|
|
|
135
135
|
return buildTimelineAssetId(decodedUrlPath(newSrc), ids);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
// ../studio-server/dist/chunk-
|
|
138
|
+
// ../studio-server/dist/chunk-JBFOY5SI.js
|
|
139
139
|
var import_postcss_selector_parser = __toESM(require_dist(), 1);
|
|
140
140
|
import postcss from "postcss";
|
|
141
141
|
|
|
@@ -249,7 +249,7 @@ function findSyncPartner(el) {
|
|
|
249
249
|
return best?.el ?? null;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
// ../studio-server/dist/chunk-
|
|
252
|
+
// ../studio-server/dist/chunk-JBFOY5SI.js
|
|
253
253
|
function parseStyleDecls(style) {
|
|
254
254
|
const props = /* @__PURE__ */ new Map();
|
|
255
255
|
const order = [];
|
|
@@ -538,11 +538,20 @@ function setElementDuration(el, start, duration, trackIndex) {
|
|
|
538
538
|
...trackIndex != null ? { trackIndex } : {}
|
|
539
539
|
});
|
|
540
540
|
}
|
|
541
|
+
function isWindowOf(media, row) {
|
|
542
|
+
if (media.duration <= 0) return false;
|
|
543
|
+
const near = (a, b) => Math.abs(a - b) < 1e-3;
|
|
544
|
+
return !row || near(media.start, row.start) && near(media.duration, row.duration);
|
|
545
|
+
}
|
|
541
546
|
function splitElementInHtml(source, target, splitTime, newId, fallbackTiming) {
|
|
542
547
|
const { document, wrappedFragment } = parseSourceDocument(source);
|
|
543
548
|
const el = findTargetElement(document, target);
|
|
544
549
|
if (!el || !isHTMLElement(el)) return { html: source, matched: false, newId: null };
|
|
545
|
-
const
|
|
550
|
+
const timedMediaSelector = "video[data-start], audio[data-start]";
|
|
551
|
+
const innerMedia = el.hasAttribute("data-start") || resolveElementTiming(el).duration > 0 || el.matches("[data-composition-src], [data-composition-id]") ? null : el.querySelector(timedMediaSelector);
|
|
552
|
+
const timedMedia = innerMedia && isWindowOf(resolveElementTiming(innerMedia), fallbackTiming) ? innerMedia : null;
|
|
553
|
+
const timed = timedMedia ?? el;
|
|
554
|
+
const timing = resolveElementTiming(timed);
|
|
546
555
|
let { start, duration } = timing;
|
|
547
556
|
if (duration <= 0 && fallbackTiming && fallbackTiming.duration > 0) {
|
|
548
557
|
start = fallbackTiming.start;
|
|
@@ -560,16 +569,22 @@ function splitElementInHtml(source, target, splitTime, newId, fallbackTiming) {
|
|
|
560
569
|
dedupeClonedCompositionId(document, clone);
|
|
561
570
|
clone.removeAttribute("data-hf-id");
|
|
562
571
|
for (const node of clone.querySelectorAll("[data-hf-id]")) node.removeAttribute("data-hf-id");
|
|
563
|
-
|
|
564
|
-
|
|
572
|
+
const clonedTimed = timedMedia ? clone.querySelector(timedMediaSelector) : clone;
|
|
573
|
+
if (timedMedia?.id) {
|
|
574
|
+
const mediaId = nextUniqueId(document, `${timedMedia.id}-split`, /* @__PURE__ */ new Set([newId]));
|
|
575
|
+
duplicateCssRulesForId(document, timedMedia.id, mediaId);
|
|
576
|
+
clonedTimed.setAttribute("id", mediaId);
|
|
577
|
+
}
|
|
578
|
+
setElementDuration(clonedTimed, splitTime, secondDuration, fallbackTiming?.track);
|
|
579
|
+
const playbackStartAttr = timed.hasAttribute("data-playback-start") ? "data-playback-start" : timed.hasAttribute("data-media-start") ? "data-media-start" : timed.matches("[data-composition-src], [data-composition-id]") ? "data-playback-start" : timed.matches("audio, video") ? "data-media-start" : null;
|
|
565
580
|
if (playbackStartAttr) {
|
|
566
|
-
const readAttr = (name) =>
|
|
567
|
-
const authoredTrim =
|
|
581
|
+
const readAttr = (name) => timed.getAttribute(name);
|
|
582
|
+
const authoredTrim = timed.getAttribute(playbackStartAttr);
|
|
568
583
|
const currentTrim = authoredTrim !== null ? readMediaOffsetSeconds(readAttr) : fallbackTiming?.playbackStart ?? 0;
|
|
569
584
|
const rate = readPlaybackRate(readAttr, fallbackTiming?.playbackRate);
|
|
570
585
|
if (authoredTrim === null || Number(authoredTrim) !== currentTrim)
|
|
571
|
-
|
|
572
|
-
|
|
586
|
+
timed.setAttribute(playbackStartAttr, String(Math.round(currentTrim * 1e3) / 1e3));
|
|
587
|
+
clonedTimed.setAttribute(
|
|
573
588
|
playbackStartAttr,
|
|
574
589
|
String(Math.round((currentTrim + firstDuration * rate) * 1e3) / 1e3)
|
|
575
590
|
);
|
|
@@ -578,7 +593,7 @@ function splitElementInHtml(source, target, splitTime, newId, fallbackTiming) {
|
|
|
578
593
|
if (originalId) {
|
|
579
594
|
duplicateCssRulesForId(document, originalId, newId);
|
|
580
595
|
}
|
|
581
|
-
setElementDuration(
|
|
596
|
+
setElementDuration(timed, start, firstDuration, fallbackTiming?.track);
|
|
582
597
|
if (el.nextSibling) {
|
|
583
598
|
el.parentElement.insertBefore(clone, el.nextSibling);
|
|
584
599
|
} else {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseStrictFiniteTimingNumber,
|
|
10
10
|
resolveNaturalMediaTimelineDuration,
|
|
11
11
|
resolveTimedImageDurationSeconds
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QBYHNRHU.js";
|
|
13
13
|
import {
|
|
14
14
|
CANVAS_DIMENSIONS,
|
|
15
15
|
isCompositionElement,
|
|
@@ -4459,7 +4459,7 @@ function createRuntimeStartTimeResolver(params) {
|
|
|
4459
4459
|
const byId = doc.getElementById(refId);
|
|
4460
4460
|
if (byId)
|
|
4461
4461
|
return byId;
|
|
4462
|
-
return doc.
|
|
4462
|
+
return Array.from(doc.querySelectorAll("[data-composition-id]")).find((element) => element.getAttribute("data-composition-id") === refId) ?? null;
|
|
4463
4463
|
};
|
|
4464
4464
|
const authoredAttr = (element, name) => includeAuthoredTimingAttrs ? element.getAttribute(name) : null;
|
|
4465
4465
|
const resolveAuthoredDuration = (element) => resolveAuthoredTimingWindow({
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IZPN423R.js";
|
|
12
12
|
import {
|
|
13
13
|
parseAnimatedGifMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XQKVEQNY.js";
|
|
15
15
|
import {
|
|
16
16
|
parseHTML
|
|
17
17
|
} from "./chunk-SDYDNHEE.js";
|
|
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
|
|
|
1278
1278
|
} catch (err) {
|
|
1279
1279
|
if (err instanceof Error) {
|
|
1280
1280
|
try {
|
|
1281
|
-
const { trackCommandFailure } = await import("./events-
|
|
1281
|
+
const { trackCommandFailure } = await import("./events-UKCPUWMH.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IZPN423R.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-2NN2WB6X.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -6,29 +6,29 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
redactHome
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4YZYYP7V.js";
|
|
10
10
|
import "./chunk-Z27A7NUB.js";
|
|
11
11
|
import "./chunk-5ETJX6WM.js";
|
|
12
12
|
import {
|
|
13
13
|
loadProducer
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-POEEDPJI.js";
|
|
15
|
+
import "./chunk-BRF3O35X.js";
|
|
16
|
+
import "./chunk-XNDXENJQ.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_HISTORY_ROOT,
|
|
19
19
|
listProjectHistories,
|
|
20
20
|
pruneGoneProjectHistories
|
|
21
21
|
} from "./chunk-FJWEYVEM.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-XXPYZBZ3.js";
|
|
23
23
|
import {
|
|
24
24
|
CACHE_DIR_NAME,
|
|
25
25
|
cleanupProxyCache
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3ZPFRDEJ.js";
|
|
27
27
|
import "./chunk-AIJS74LG.js";
|
|
28
28
|
import {
|
|
29
29
|
formatBytes
|
|
30
30
|
} from "./chunk-K2FLNJVB.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-WUUOFMHU.js";
|
|
32
32
|
import "./chunk-374QQGBQ.js";
|
|
33
33
|
import "./chunk-XBSPQ52S.js";
|
|
34
34
|
import {
|
|
@@ -42,42 +42,42 @@ import {
|
|
|
42
42
|
} from "./chunk-ZTZA4UWZ.js";
|
|
43
43
|
import "./chunk-EOOEC32M.js";
|
|
44
44
|
import "./chunk-TJSTGSAW.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-LBT4AMSF.js";
|
|
46
46
|
import {
|
|
47
47
|
withMeta
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-35PWWBGZ.js";
|
|
49
49
|
import "./chunk-K4WIOZFP.js";
|
|
50
50
|
import "./chunk-XUXGIA7H.js";
|
|
51
51
|
import "./chunk-WERLJGIC.js";
|
|
52
52
|
import "./chunk-ISN5GRYI.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-TCWMDCBX.js";
|
|
54
54
|
import "./chunk-3DKN5WKL.js";
|
|
55
55
|
import "./chunk-EOVYQ3IG.js";
|
|
56
56
|
import "./chunk-6BEFEWFB.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-4MLYMDQ4.js";
|
|
58
58
|
import "./chunk-AMKC3AXA.js";
|
|
59
59
|
import {
|
|
60
60
|
EXTRACT_CACHE_MIN_AGE_MS,
|
|
61
61
|
directorySizeBytes,
|
|
62
62
|
gcExtractionCache,
|
|
63
63
|
resolveExtractCacheDir
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import "./chunk-
|
|
64
|
+
} from "./chunk-IZPN423R.js";
|
|
65
|
+
import "./chunk-3SVC7SW4.js";
|
|
66
66
|
import "./chunk-NE55C6S5.js";
|
|
67
67
|
import "./chunk-JYVGYKXG.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-XQKVEQNY.js";
|
|
69
|
+
import "./chunk-QBYHNRHU.js";
|
|
70
70
|
import "./chunk-VC76R6W2.js";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-UJKQWGFF.js";
|
|
72
72
|
import "./chunk-LFNQDTSH.js";
|
|
73
73
|
import "./chunk-OFQWTKPW.js";
|
|
74
74
|
import "./chunk-DPVXBVLL.js";
|
|
75
75
|
import "./chunk-T76PLPD6.js";
|
|
76
76
|
import "./chunk-FXMKHHPO.js";
|
|
77
77
|
import "./chunk-RQVDTPGD.js";
|
|
78
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-54DMWFQZ.js";
|
|
79
79
|
import "./chunk-TWWSYAKJ.js";
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-GNTVYF7E.js";
|
|
81
81
|
import "./chunk-IWFLMU2N.js";
|
|
82
82
|
import "./chunk-APDLWWFG.js";
|
|
83
83
|
import "./chunk-VAS6HQX3.js";
|