hyperframes 0.8.150 → 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-3ZIFEN2U.js → add-QKZZG7A2.js} +11 -11
- package/dist/{animatedGifPrep-77LPFLKJ.js → animatedGifPrep-YQDPYGOD.js} +6 -6
- package/dist/api.js +16 -16
- package/dist/{asset-EYSZEHM6.js → asset-3Q737Y4H.js} +2 -2
- package/dist/{assetCataloger-KX3HD7ZI.js → assetCataloger-BTHEBJJB.js} +2 -2
- package/dist/{auth-L6IWNRXY.js → auth-XL7EU3SO.js} +1 -1
- package/dist/{autoUpdate-2O3HZB65.js → autoUpdate-PJFLTQ3U.js} +2 -2
- package/dist/{backgroundChecks-BH2LMJYE.js → backgroundChecks-T5TIR5WK.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ZBKAYLWU.js → batchRender-NFLVIDB4.js} +3 -3
- package/dist/{beats-IVLF2566.js → beats-JU4GZ26R.js} +12 -12
- package/dist/{benchmark-SYZFW2G7.js → benchmark-7U2YWLTW.js} +8 -8
- package/dist/{browser-OSW3L25S.js → browser-D57UPYDA.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-I4CWOXLK.js → bundleWithLocalizedFonts-26MXQOZG.js} +2 -2
- package/dist/{capture-AZOQ57TM.js → capture-47BV25G3.js} +2 -2
- package/dist/{capture-V5ICGSVJ.js → capture-LT252COQ.js} +10 -10
- package/dist/{catalog-VBJOA2Y5.js → catalog-BEZXOV4O.js} +11 -11
- package/dist/{catch-up-TKSEDNJK.js → catch-up-KVV5X6BF.js} +4 -4
- package/dist/{check-3HFISKDB.js → check-6KQ433E6.js} +189 -53
- package/dist/{checkBrowser-MXBDNZJB.js → checkBrowser-PRDR6XBY.js} +170 -28
- package/dist/{chunk-AFRXL75S.js → chunk-35PWWBGZ.js} +1 -1
- package/dist/{chunk-WLIUULZQ.js → chunk-3SVC7SW4.js} +28 -14
- package/dist/{chunk-EL5QVJEG.js → chunk-3ZPFRDEJ.js} +1 -1
- package/dist/{chunk-UQYQ7TBA.js → chunk-4LE27ST4.js} +1 -1
- package/dist/{chunk-DUUFDLC4.js → chunk-4MLYMDQ4.js} +1 -1
- package/dist/{chunk-Z6WZDGCS.js → chunk-4PKQEKAI.js} +2 -2
- package/dist/{chunk-VQ7YIURZ.js → chunk-4YZYYP7V.js} +5 -5
- package/dist/{chunk-XPQSL5VS.js → chunk-54DMWFQZ.js} +8 -1
- package/dist/{chunk-UVVI2NJQ.js → chunk-BRF3O35X.js} +6 -6
- package/dist/chunk-DHPFXAUF.js +165 -0
- package/dist/{chunk-6SFPQ2RZ.js → chunk-DIOBKUBV.js} +2 -2
- package/dist/{chunk-XQMEGSHG.js → chunk-FAIYEIZ4.js} +1 -1
- package/dist/{chunk-LW5VFBSY.js → chunk-FLVI7FHU.js} +1 -1
- package/dist/{chunk-JDB65PPT.js → chunk-GNTVYF7E.js} +8 -7
- package/dist/{chunk-423DJVX2.js → chunk-HVXRYMGQ.js} +1 -1
- package/dist/{chunk-F2RLIE7P.js → chunk-IP73NMQT.js} +11 -11
- package/dist/{chunk-2KAL22B5.js → chunk-IPDS2SWI.js} +1 -1
- package/dist/{chunk-6KWA3XPS.js → chunk-IZ7L6V76.js} +1 -1
- package/dist/{chunk-5NAYNDBT.js → chunk-IZPN423R.js} +6 -2
- package/dist/{chunk-4WFNTWKZ.js → chunk-KQGWP4KH.js} +2 -2
- package/dist/{chunk-NFQY7EIC.js → chunk-KXX6NLOT.js} +1 -1
- package/dist/{chunk-S5F26DUL.js → chunk-L3N7RJHS.js} +3 -3
- package/dist/{chunk-73RBX2E7.js → chunk-L6RIMCMG.js} +3 -3
- package/dist/{chunk-7IEGPJ4P.js → chunk-LBT4AMSF.js} +1 -1
- package/dist/{chunk-6NPFJ255.js → chunk-LKQS72D5.js} +1 -1
- package/dist/{chunk-RW7NLGPD.js → chunk-N3I6RAOR.js} +22 -14
- package/dist/{chunk-M6UDJ2E7.js → chunk-N4IXP3MY.js} +2 -2
- package/dist/{chunk-7E4VHPKJ.js → chunk-O3DUX6P2.js} +5 -5
- package/dist/{chunk-O4DC5CHF.js → chunk-OSAH7S5M.js} +1 -1
- package/dist/{chunk-UJB7356Y.js → chunk-OZ4K46OV.js} +3 -3
- package/dist/{chunk-6QB7F2II.js → chunk-POEEDPJI.js} +1 -1
- package/dist/{chunk-DOVJRUFM.js → chunk-PUIELIFA.js} +1 -1
- package/dist/chunk-QBYHNRHU.js +3795 -0
- package/dist/{chunk-XANZ4R4P.js → chunk-QF7AE3DB.js} +3 -3
- package/dist/{chunk-A6ZO4BX7.js → chunk-QLGBNGXC.js} +2 -2
- package/dist/{chunk-FPAT5HTI.js → chunk-RJRGR5KF.js} +10 -10
- package/dist/{chunk-AXPNVC3N.js → chunk-RRBKEHST.js} +1 -1
- package/dist/{chunk-UAIUVPZE.js → chunk-RYL6ZIJP.js} +6 -6
- package/dist/{chunk-TZPZE5PS.js → chunk-S22FKF6G.js} +6 -3
- package/dist/{chunk-I6DATIHC.js → chunk-TCWMDCBX.js} +2 -2
- package/dist/{chunk-M5B42RL5.js → chunk-WUUOFMHU.js} +3 -3
- package/dist/{chunk-BLRJKBKP.js → chunk-XGLNQDLN.js} +1 -1
- package/dist/{chunk-FN6KAS7A.js → chunk-XKKBIFE5.js} +7 -7
- package/dist/{chunk-ZNHAJCEA.js → chunk-XNDXENJQ.js} +27 -12
- package/dist/{chunk-PCWOSS7G.js → chunk-XQKVEQNY.js} +2 -2
- package/dist/{chunk-R5A7454P.js → chunk-XYHBVSWD.js} +2 -2
- package/dist/{chunk-7JTFPUMA.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-OQ7XMM3S.js → chunk-YZTVHRJ2.js} +1 -1
- package/dist/{chunk-3UAIVF4L.js → chunk-ZD3RDNZI.js} +1 -1
- package/dist/{chunk-AKYQGZLU.js → chunk-ZGCRVM5M.js} +2 -2
- package/dist/{clean-7HU7S7DT.js → clean-RLTHFTQA.js} +16 -16
- package/dist/cli.js +52 -52
- package/dist/{cloud-HAXHBO25.js → cloud-Q5TGBTW3.js} +4 -4
- package/dist/{cloudrun-A3PIJ6DX.js → cloudrun-4UZF74MV.js} +3 -3
- package/dist/{compare-6IPSQMSM.js → compare-Q5UNR2V4.js} +23 -23
- package/dist/{compiler-UQP2VXN6.js → compiler-ZXT27Z62.js} +3 -3
- package/dist/{component-FF3AU24M.js → component-H734P32V.js} +3 -3
- package/dist/{compositions-JSH4MZXB.js → compositions-YEHDSTDR.js} +10 -10
- package/dist/{delete-G763SW64.js → delete-LDBMPWRT.js} +2 -2
- package/dist/{dist-Z7Q3JS7K.js → dist-7JXLFD6U.js} +2 -2
- package/dist/{dist-HUMFCJ6T.js → dist-RGE4QASU.js} +1 -1
- package/dist/{doctor-WZB6WMBY.js → doctor-XNJFIWJ7.js} +12 -12
- package/dist/{events-MUWJJCC7.js → events-G6UFLNXR.js} +2 -2
- package/dist/{events-T4YFQC5G.js → events-UKCPUWMH.js} +3 -3
- package/dist/{feedback-AUTHQNN2.js → feedback-CK3KZ7DE.js} +6 -6
- package/dist/{ffmpeg-TZB5WAYE.js → ffmpeg-MJFMBBSF.js} +2 -2
- package/dist/{figma-NBG6WBI7.js → figma-3D5C737B.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-OXBJLKLV.js → get-QGTQUWFT.js} +2 -2
- package/dist/{gpuPolicy-HBCCEQUS.js → gpuPolicy-G5QAQDYF.js} +6 -6
- package/dist/{grade-compare-2LX4FDH7.js → grade-compare-XIHOM62P.js} +25 -25
- package/dist/{help-LJI46EDO.js → help-U5UBXT52.js} +1 -1
- package/dist/{history-MFKAQEHU.js → history-5J73QZSA.js} +5 -5
- package/dist/hyperframe-runtime.js +54 -54
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +54 -54
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-D6Y5O2QE.js → info-RJHQQQUP.js} +7 -7
- package/dist/{init-47NZPEBI.js → init-M6UQOYYC.js} +28 -28
- package/dist/{inspect-U5UXJK5D.js → inspect-PRQWDBTP.js} +24 -24
- package/dist/{installer-AW7VFVTQ.js → installer-ZL7UKYK5.js} +4 -4
- package/dist/{keyframes-5G334NWB.js → keyframes-VMUJYTCQ.js} +6 -6
- package/dist/{lambda-GASGXN3A.js → lambda-ON42DRQD.js} +4 -4
- package/dist/{layout-OXAQFLJS.js → layout-QKBFVDVY.js} +24 -24
- package/dist/{lint-F36QFSNF.js → lint-ZQHHL2SV.js} +7 -7
- package/dist/{lintProject-SSEXWCH6.js → lintProject-3Z6OJCSO.js} +1 -1
- package/dist/{list-TR6QCI53.js → list-YBRKIWGF.js} +2 -2
- package/dist/{login-6LA2RWTC.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-BOHYDWVY.js → media-treatment-5C5EJAAP.js} +11 -11
- package/dist/{models-6GW5Q3IW.js → models-R7ZDWBJ6.js} +12 -12
- package/dist/{motionShot-O7AOMPUN.js → motionShot-ZHESZNUL.js} +13 -13
- package/dist/{normalize-audio-UO5B4O76.js → normalize-audio-EVWZVTBM.js} +4 -4
- package/dist/{open-JV2EHVKM.js → open-TV6HT4UT.js} +4 -4
- package/dist/{parakeetRunner-23DZUF6G.js → parakeetRunner-YVVF4CG6.js} +13 -13
- package/dist/{pipeline-KTICSIK7.js → pipeline-ETR5SEBS.js} +8 -8
- package/dist/{play-CMUYPXBC.js → play-C6WONRZV.js} +17 -17
- package/dist/{preflight-JOD4OXGC.js → preflight-JYOX64YP.js} +4 -4
- package/dist/{present-ZDT5FM2H.js → present-RANXTVPA.js} +13 -13
- package/dist/{preview-ASHLGKDD.js → preview-KF6UMBT2.js} +18 -18
- package/dist/{producer-FFH2KUAZ.js → producer-CY2GXBWN.js} +1 -1
- package/dist/{projectConfig-FHIAOPKW.js → projectConfig-KPXCNMBM.js} +6 -6
- package/dist/{publication-WO5ZXURT.js → publication-Y36N4A7E.js} +2 -2
- package/dist/{publish-QWO2W7FB.js → publish-RCQJO35C.js} +8 -8
- package/dist/{remove-background-BO5MQR25.js → remove-background-3ZMXVWLB.js} +9 -9
- package/dist/{render-SDHFXL3Y.js → render-FKVRCDT2.js} +57 -34
- package/dist/{render-XTJKGT3G.js → render-PTNEFO5U.js} +8 -8
- package/dist/{render-HS3YOLSD.js → render-WUSTRMUD.js} +3 -3
- package/dist/{render-batch-J64AJHQY.js → render-batch-AQHU2JWZ.js} +3 -3
- package/dist/renderSetupWorker.js +4 -4
- package/dist/{resolver-IHNWMDJA.js → resolver-L5BDZJKU.js} +4 -4
- package/dist/{sherpa-FXBBYMDR.js → sherpa-3S3ISG7G.js} +12 -12
- 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-ALLSN7TB.js → skills-X4WQEKNF.js} +5 -5
- package/dist/{skillsUpdateCheck-EIT5NWM6.js → skillsUpdateCheck-UYCVHDZ6.js} +3 -3
- package/dist/{snapshot-Y3I76OIZ.js → snapshot-YEYHQEZQ.js} +250 -139
- package/dist/{src-7V6LBC56.js → src-2NN2WB6X.js} +7 -5
- package/dist/{src-S5IZVJUX.js → src-OLBDPEG6.js} +7 -7
- package/dist/{staticProjectServer-QLWWGHZE.js → staticProjectServer-7H35NMWB.js} +13 -13
- package/dist/studio/assets/{hyperframes-player-kup62bDR.js → hyperframes-player-DJt8E7k4.js} +1 -1
- package/dist/studio/assets/{index-CS_m0TkX.js → index-BGks9KLI.js} +73 -73
- package/dist/studio/assets/{index-B8BBYY8L.js → index-DWIHrAY2.js} +1 -1
- package/dist/studio/assets/{index-DQ5jGodF.js → index-DgbLblGR.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-UBFLZ3DA.js → studio-api-HGM2A5I3.js} +7 -7
- package/dist/{studioServer-REOVCIFP.js → studioServer-M6XFL7N6.js} +43 -43
- package/dist/{telemetry-C3GDIXHO.js → telemetry-KVCZKVTE.js} +3 -3
- package/dist/{timeline-H42EGLMT.js → timeline-VYYKZR4V.js} +66 -13
- package/dist/{tokens-2K7ISTKV.js → tokens-B5NFFL55.js} +2 -2
- package/dist/{transcribe-NUPASAUP.js → transcribe-SBETOIWI.js} +11 -11
- package/dist/{transcribe-DVM7UFZZ.js → transcribe-WNFRYZAC.js} +17 -17
- package/dist/{updateCheck-3RWFSEZD.js → updateCheck-5MM2DFUC.js} +2 -2
- package/dist/{upgrade-YKKL36N7.js → upgrade-LWID54R3.js} +2 -2
- package/dist/{urlDownloader-6JNJYLPN.js → urlDownloader-CVLNXFDG.js} +5 -5
- package/dist/{validate-Z7KQT7GO.js → validate-V4CGQ6OF.js} +18 -18
- package/dist/{video-EXL2JDSL.js → video-VJB2KRSS.js} +6 -6
- package/package.json +1 -1
- package/dist/chunk-CEND6BLF.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,
|
|
@@ -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,14 +6,14 @@ 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,
|
|
@@ -23,12 +23,12 @@ 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,31 +42,31 @@ 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
71
|
import "./chunk-UJKQWGFF.js";
|
|
72
72
|
import "./chunk-LFNQDTSH.js";
|
|
@@ -75,9 +75,9 @@ 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";
|