hyperframes 0.8.167 → 0.8.168
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-2FUXQRJJ.js → add-VCX3UE2B.js} +13 -13
- package/dist/{animatedGifPrep-LJ4MZ55T.js → animatedGifPrep-TWD5BNVK.js} +8 -8
- package/dist/api.js +14 -14
- package/dist/{asset-WJ4RZBOZ.js → asset-BBJ3GAL7.js} +2 -2
- package/dist/{assetCataloger-YEOLIVRC.js → assetCataloger-S47GINRQ.js} +8 -8
- package/dist/{audio-BMQGWYBM.js → audio-MEDCANA3.js} +14 -14
- package/dist/{auth-2N7I575Y.js → auth-LZYMCNTB.js} +1 -1
- package/dist/{autoUpdate-QNWSYJTZ.js → autoUpdate-AXTW2NKX.js} +2 -2
- package/dist/{backgroundChecks-7XFS3DIS.js → backgroundChecks-3YDYYI3D.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-H5NAWIHY.js → batchRender-UDE7TOKY.js} +4 -4
- package/dist/{beats-YPFOOARR.js → beats-HHXMPMGT.js} +5 -5
- package/dist/{benchmark-HPF6KC73.js → benchmark-2BY7PBAP.js} +9 -9
- package/dist/{browser-326JM225.js → browser-CXB4KTJP.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-4L7VGKHX.js → bundleWithLocalizedFonts-M7CRHOS7.js} +2 -2
- package/dist/{capture-R5AUVH3R.js → capture-PRTE4Z7E.js} +2 -2
- package/dist/{capture-62S3EEMN.js → capture-WHG37ZLF.js} +12 -11
- package/dist/{catalog-GLYTZLPC.js → catalog-WRM2373Z.js} +13 -13
- package/dist/{catch-up-F7X7ITIH.js → catch-up-WHLD6E5F.js} +4 -4
- package/dist/{check-ZTQ4E5YO.js → check-R5E7WLKF.js} +98 -42
- package/dist/{checkBrowser-OGMICBTZ.js → checkBrowser-Y4CZVGIV.js} +39 -31
- package/dist/chunk-2F7S7OK2.js +20 -0
- package/dist/{chunk-Q4ZMV6RN.js → chunk-2GSGFDEP.js} +1 -1
- package/dist/{chunk-YKMJPYNJ.js → chunk-4CIMRQQY.js} +11 -5
- package/dist/{chunk-MZSP2FH7.js → chunk-4LXK7TOM.js} +7 -7
- package/dist/{chunk-HAQ4PMF6.js → chunk-4PHDDZVL.js} +37 -15
- package/dist/{chunk-6RSBA4XV.js → chunk-4WPRJ7ID.js} +1 -1
- package/dist/{chunk-PYKY63GT.js → chunk-54MI3SGP.js} +3 -3
- package/dist/{chunk-4PCIW2XN.js → chunk-5VGEWXJL.js} +2 -2
- package/dist/{chunk-P7H2MOWB.js → chunk-AQZZZTFL.js} +2 -2
- package/dist/{chunk-LJ7BKHGT.js → chunk-ATCB4PMO.js} +1 -1
- package/dist/{chunk-35GLXVUG.js → chunk-ATOXD5VV.js} +1 -1
- package/dist/{chunk-LF6E6N2U.js → chunk-BC2XZL6O.js} +2 -2
- package/dist/{chunk-CXUV24HM.js → chunk-BOT7PGM5.js} +2 -2
- package/dist/{chunk-YQ5NJCC4.js → chunk-BTCUP5ZY.js} +2 -2
- package/dist/{chunk-QQCZVVUZ.js → chunk-BV2NH7ZA.js} +1 -1
- package/dist/{chunk-DWMCUUAQ.js → chunk-BWFUUGIZ.js} +1 -1
- package/dist/{chunk-J4OSFRO6.js → chunk-C3WPYYGK.js} +1 -1
- package/dist/{chunk-4U5FN6FY.js → chunk-CAHSX6IW.js} +24 -16
- package/dist/{chunk-AURMZPQ4.js → chunk-CDDIEZ4D.js} +13 -11
- package/dist/{chunk-BNH73WSR.js → chunk-DO3UPPO4.js} +2 -2
- package/dist/{chunk-55IKX25I.js → chunk-E7CIMKJS.js} +1 -1
- package/dist/{chunk-CBNI34SD.js → chunk-EEP5Y5IE.js} +1 -1
- package/dist/{chunk-KIWXOYBU.js → chunk-EKEK3GOB.js} +3 -3
- package/dist/{chunk-JK2AETXO.js → chunk-EW2QBTYO.js} +6 -6
- package/dist/{chunk-G7HJCDEI.js → chunk-EXMTTXKQ.js} +2 -2
- package/dist/{chunk-2INCSLFS.js → chunk-FA3TWKZO.js} +2 -2
- package/dist/{chunk-7DJLJH2Y.js → chunk-HL6GWREP.js} +1 -1
- package/dist/{chunk-EMHFQAFH.js → chunk-ID7B7NGN.js} +1 -1
- package/dist/{chunk-AATVO56S.js → chunk-KDC5D5VM.js} +14 -10
- package/dist/{chunk-IDVQ5AH7.js → chunk-LGCHE2F4.js} +1 -1
- package/dist/{chunk-Q2RNXOAQ.js → chunk-LUSWL6OJ.js} +2 -2
- package/dist/{chunk-J53OCC2V.js → chunk-LZGRJDNJ.js} +1 -1
- package/dist/{chunk-OZJ4L6SJ.js → chunk-M4N6IHCQ.js} +1 -1
- package/dist/{chunk-EN4ZEUT3.js → chunk-MD4S2RXW.js} +10 -9
- package/dist/{chunk-ZWZFBVMS.js → chunk-MOJKJ4K4.js} +4 -4
- package/dist/{chunk-OI3K7RJZ.js → chunk-N7QCMEQG.js} +2843 -2673
- package/dist/{chunk-N6HMVHOI.js → chunk-NT3WPYAU.js} +3 -3
- package/dist/{chunk-5GMAX6HC.js → chunk-NYIKKCMC.js} +1 -1
- package/dist/{chunk-5HKZOQEV.js → chunk-O7BABHM4.js} +1 -1
- package/dist/{chunk-BGPZWFYO.js → chunk-OQGORCT3.js} +2 -2
- package/dist/{chunk-3VGU2SH7.js → chunk-OYLO6TYK.js} +8 -1
- package/dist/{chunk-W3B37KCA.js → chunk-PLWORQFC.js} +36 -33
- package/dist/{chunk-VZG6DZ5O.js → chunk-PYSGYMM4.js} +3 -3
- package/dist/chunk-QE7XLLGT.js +3803 -0
- package/dist/{chunk-2TD4V5YU.js → chunk-QKJ4KGNR.js} +1 -1
- package/dist/{chunk-FJ6SHMJW.js → chunk-RG66EU4L.js} +10 -10
- package/dist/{chunk-Q2WGWWJ5.js → chunk-SYKPCN32.js} +8 -2
- package/dist/{chunk-FETB6SFI.js → chunk-TW7H5CJO.js} +2 -2
- package/dist/{chunk-QCRKQ6BY.js → chunk-UWQL2MP4.js} +7 -1
- package/dist/{chunk-5XNGYXPW.js → chunk-VTBME36F.js} +1 -1
- package/dist/{chunk-NA7LBT7C.js → chunk-XOODFU75.js} +1 -1
- package/dist/{chunk-WPNE5NEP.js → chunk-XR3XDG7V.js} +19 -5
- package/dist/{chunk-ALLKNYC3.js → chunk-YMS5FOMC.js} +31 -18
- package/dist/{chunk-Y5HGSWD6.js → chunk-YTZA25TZ.js} +1 -1
- package/dist/{chunk-C6XFNWHU.js → chunk-YULVV525.js} +1 -1
- package/dist/{clean-TZVC4SUY.js → clean-UPXYD6VX.js} +14 -14
- package/dist/cli.js +53 -53
- package/dist/{cloud-G4Z54NRA.js → cloud-74GU7KDD.js} +4 -4
- package/dist/{cloudrun-ZKWTTLXC.js → cloudrun-KHMVQL7C.js} +16 -11
- package/dist/commands/layout-audit.browser.js +16 -1
- package/dist/{compare-HING5JY7.js → compare-BG77ZXYF.js} +27 -26
- package/dist/{compiler-E37DHG6R.js → compiler-OSQ4L7FP.js} +5 -5
- package/dist/{component-3Y6DSDDQ.js → component-34PVECJG.js} +3 -3
- package/dist/{compositions-7PCJJOSO.js → compositions-KCVIKKSR.js} +12 -12
- package/dist/{delete-C5SIXVQK.js → delete-NU2ENZYQ.js} +2 -2
- package/dist/{deploy-5G4Z6LPA.js → deploy-4MK3Y67M.js} +1 -0
- package/dist/{deterministicFonts-35AC2PM5.js → deterministicFonts-KXVO7QEL.js} +2 -2
- package/dist/{dist-KGU4NOEC.js → dist-3VKMLNXT.js} +7 -3
- package/dist/{dist-4PRLFYDO.js → dist-OTCFZEKF.js} +2 -2
- package/dist/{doctor-6LFPX5YC.js → doctor-GVELHIHI.js} +10 -10
- package/dist/{events-27DBZEP2.js → events-E6CVR42M.js} +2 -2
- package/dist/{events-YS3ENMS3.js → events-UP3IQXPM.js} +3 -3
- package/dist/{feedback-62AUX5Q6.js → feedback-IRYQ4YKX.js} +7 -7
- package/dist/{figma-5CYPKHNK.js → figma-BLQBHAPG.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -11
- package/dist/{get-HC5BWFCU.js → get-HESG62RX.js} +2 -2
- package/dist/{gpuPolicy-VGSKTQFS.js → gpuPolicy-CHXUX2ZT.js} +8 -8
- package/dist/{grade-compare-DASDOOLU.js → grade-compare-ZDJMJUYY.js} +27 -26
- package/dist/{help-7MQDFXVN.js → help-2BQBFF4Z.js} +1 -1
- package/dist/{history-JV2YA7L3.js → history-4IZQ6NRV.js} +6 -6
- package/dist/hyperframe-runtime.js +64 -62
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -62
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-63STYEXL.js → info-JNGAI3JU.js} +8 -8
- package/dist/{init-KBDCFLPO.js → init-ZQO6G5C7.js} +23 -23
- package/dist/{inspect-NZ7UNTDK.js → inspect-DWMKJEVE.js} +28 -27
- package/dist/{installer-T4SRTKAU.js → installer-UKZT4SKK.js} +6 -6
- package/dist/{keyframes-3UIA2BOO.js → keyframes-FC273E5N.js} +6 -6
- package/dist/{lambda-X6XMGMTI.js → lambda-GSZCV77P.js} +31 -18
- package/dist/{layout-V2M6NI2A.js → layout-ASSCBJCO.js} +28 -27
- package/dist/{lint-26QGRXLI.js → lint-PSCEVVNL.js} +8 -8
- package/dist/{lintProject-HV3FBMTU.js → lintProject-PXB5Y6TX.js} +2 -2
- package/dist/{list-RVNMXLPY.js → list-KO4N2VJL.js} +2 -2
- package/dist/{login-M2YCAF3T.js → login-ZJEBRFV5.js} +4 -4
- package/dist/{media-treatment-6BYVQUWN.js → media-treatment-HGHLLZR3.js} +11 -11
- package/dist/{models-4UWTBP2J.js → models-NTAVDCAV.js} +11 -11
- package/dist/{motionShot-UZV3LG77.js → motionShot-SJENYTRO.js} +16 -15
- package/dist/{normalize-audio-UR6UPRSM.js → normalize-audio-PQIC7IPK.js} +4 -4
- package/dist/{open-K4N4KEFK.js → open-EI7UEAZZ.js} +4 -4
- package/dist/{parakeetRunner-TH572YPQ.js → parakeetRunner-7SDEI3IZ.js} +11 -11
- package/dist/{pipeline-4OUHSCE5.js → pipeline-EXHHCUE7.js} +8 -8
- package/dist/{play-GSGWTHJT.js → play-Y4EMM2OJ.js} +19 -19
- package/dist/{present-GWODJH4A.js → present-LFMGQGX6.js} +15 -15
- package/dist/{preview-UUP7CTJM.js → preview-EYQG7L6X.js} +18 -18
- package/dist/{producer-F3LUI2LX.js → producer-FKOEAHJW.js} +1 -1
- package/dist/{projectConfig-LBESGIM6.js → projectConfig-SXW3QMZE.js} +8 -8
- package/dist/{publication-IGLVPFKB.js → publication-ZC4LDEXQ.js} +3 -3
- package/dist/{publish-GVDRYMZG.js → publish-4ZCLHA5W.js} +10 -10
- package/dist/{remove-background-3UDPJWO3.js → remove-background-IGDRS2QV.js} +9 -9
- package/dist/{render-QRPLO4OB.js → render-QJCBJQOM.js} +33 -25
- package/dist/{render-C2MSWN5Q.js → render-TA3DG3LZ.js} +9 -9
- package/dist/{render-5VSZHPI5.js → render-ZN777RDD.js} +11 -6
- package/dist/{render-batch-YHCKNGLG.js → render-batch-2JQNFAL4.js} +10 -6
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-K7Q63AW3.js → resolver-JZF5G6YC.js} +5 -5
- package/dist/{sherpa-OEIK4HXX.js → sherpa-MDVSUF6Y.js} +10 -10
- package/dist/skills/hyperframes/references/skill-lifecycle.md +2 -0
- package/dist/{skills-ISZSXESC.js → skills-JVNMX37H.js} +30 -5
- package/dist/{skillsUpdateCheck-2B3CBX4A.js → skillsUpdateCheck-KNTQFGOI.js} +3 -3
- package/dist/{snapshot-J3JKFCYO.js → snapshot-RDQTFIPX.js} +30 -29
- package/dist/{src-MWQCXKWJ.js → src-5XO7KBBL.js} +7 -7
- package/dist/{src-ICUQBWEX.js → src-ZPEZRIUC.js} +10 -10
- package/dist/{staticProjectServer-2HPLMJLH.js → staticProjectServer-RLERPIY6.js} +15 -15
- package/dist/studio/assets/{hyperframes-player-CJibUtA8.js → hyperframes-player-mYPt9XVX.js} +1 -1
- package/dist/studio/assets/{index-BS3d2Qdc.js → index-B-v5xQjD.js} +4 -4
- package/dist/studio/assets/{index-CDE2YLhz.js → index-DtHmIKM0.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-AHUWLJBD.js → studio-api-4INCUOCU.js} +9 -9
- package/dist/{studioServer-IBAIGIJD.js → studioServer-DMDE7IZU.js} +41 -40
- package/dist/{telemetry-BSURLTGR.js → telemetry-4Y5DYI6H.js} +3 -3
- package/dist/{timeline-YTVVCN6P.js → timeline-XJRKELVE.js} +34 -21
- package/dist/{tokens-EIXAERED.js → tokens-G4VKTABI.js} +2 -2
- package/dist/{transcribe-2CYSICME.js → transcribe-JRSQRPVH.js} +9 -9
- package/dist/{transcribe-TE7EPNEM.js → transcribe-Y46B2ZVD.js} +15 -15
- package/dist/{updateCheck-BI3OKPO4.js → updateCheck-NGYDWGQL.js} +2 -2
- package/dist/{upgrade-JU4JXYBU.js → upgrade-M2LQP5S7.js} +2 -2
- package/dist/{urlDownloader-IVYOAE6Q.js → urlDownloader-UFDUP3VF.js} +7 -7
- package/dist/{validate-I4PVO46Y.js → validate-B3AUFCC5.js} +22 -21
- package/dist/{video-WXQT3G5A.js → video-WLCNVSVU.js} +8 -8
- package/package.json +1 -1
- package/dist/chunk-DJ6L4NZU.js +0 -3795
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XR3XDG7V.js";
|
|
10
10
|
import {
|
|
11
11
|
findSyncPartner,
|
|
12
12
|
readLinkTiming,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
extractMediaMetadata,
|
|
19
19
|
resolveReferencedDuration,
|
|
20
20
|
resolveReferencedStart
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CAHSX6IW.js";
|
|
22
22
|
import {
|
|
23
23
|
byStart,
|
|
24
24
|
compositionOriginSeconds,
|
|
@@ -27,18 +27,19 @@ import {
|
|
|
27
27
|
hostInPointSeconds,
|
|
28
28
|
parseFpsWithDefault,
|
|
29
29
|
resolveMediaStartSeconds
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-SYKPCN32.js";
|
|
31
31
|
import {
|
|
32
32
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
33
33
|
HF_AUDIO_FX_ATTR,
|
|
34
34
|
parseAudioFxChain,
|
|
35
35
|
parseAutomation,
|
|
36
36
|
resolveAutomation
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QE7XLLGT.js";
|
|
38
38
|
import {
|
|
39
|
+
isSubCompositionHost,
|
|
39
40
|
topLevelElements,
|
|
40
41
|
trackKindOf
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-YMS5FOMC.js";
|
|
42
43
|
import {
|
|
43
44
|
parseNumeric
|
|
44
45
|
} from "./chunk-3RM2ETQT.js";
|
|
@@ -167,9 +168,10 @@ async function resolveRowTiming(scope, node, depth) {
|
|
|
167
168
|
const absStart = mainTimelineStart(scope, el, start);
|
|
168
169
|
const slots = hostInPointSeconds(el) > 0 ? [{ start: absStart, end: absStart + (authored ?? Infinity) }] : [];
|
|
169
170
|
const children = host && depth === 0 ? await readSubComposition(host, scope, compositionOriginSeconds(absStart, el), slots) : [];
|
|
171
|
+
const inside = isSubCompositionHost(node) ? [] : await Promise.all(topLevelElements(node).map((inner) => describeRow(scope, inner, depth)));
|
|
170
172
|
const kind = el.tagName.toLowerCase();
|
|
171
173
|
const duration = MEDIA_TAG.test(kind) ? await resolveMediaRowDuration(scope, el, kind, authored) : resolveContainerDuration(authored, children);
|
|
172
|
-
return { start, authored, absStart, children, duration };
|
|
174
|
+
return { start, authored, absStart, children, inside, duration };
|
|
173
175
|
}
|
|
174
176
|
function describeRowFields(scope, node, timing) {
|
|
175
177
|
const { el } = node;
|
|
@@ -199,6 +201,7 @@ function describeRowFields(scope, node, timing) {
|
|
|
199
201
|
durationSource: timing.duration.durationSource,
|
|
200
202
|
pendingReason: timing.duration.pendingReason,
|
|
201
203
|
children: timing.children,
|
|
204
|
+
inside: timing.inside,
|
|
202
205
|
ref: "",
|
|
203
206
|
warnings: [],
|
|
204
207
|
elementId: el.id || null,
|
|
@@ -246,7 +249,8 @@ function cutRow(row, slots) {
|
|
|
246
249
|
if (kept.end === kept.start && row.absEnd > row.absStart) return [];
|
|
247
250
|
const skipped = (kept.start - row.absStart) * (row.playbackRate ?? 1);
|
|
248
251
|
const mediaStart = row.mediaStart === null ? null : roundMs(row.mediaStart + skipped);
|
|
249
|
-
|
|
252
|
+
const inside = row.inside.flatMap((inner) => cutRow(inner, slots));
|
|
253
|
+
return [{ ...row, absStart: roundMs(kept.start), absEnd: roundMs(kept.end), mediaStart, inside }];
|
|
250
254
|
}
|
|
251
255
|
function realFileInside(projectDir, path) {
|
|
252
256
|
try {
|
|
@@ -259,10 +263,13 @@ function realFileInside(projectDir, path) {
|
|
|
259
263
|
}
|
|
260
264
|
}
|
|
261
265
|
function flatten(top) {
|
|
262
|
-
const entries = [
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
+
const entries = [];
|
|
267
|
+
const add = (clip, host, parent) => {
|
|
268
|
+
entries.push({ clip, host, parent });
|
|
269
|
+
for (const inner of clip.inside) add(inner, host, clip);
|
|
270
|
+
for (const child of clip.children) add(child, clip, null);
|
|
271
|
+
};
|
|
272
|
+
for (const clip of top) add(clip, null, null);
|
|
266
273
|
const byKind = TRACK_ORDER.map((kind) => ({
|
|
267
274
|
kind,
|
|
268
275
|
entries: entries.filter((e) => e.clip.trackKind === kind).sort((a, b) => a.clip.absStart - b.clip.absStart)
|
|
@@ -282,11 +289,14 @@ function flatten(top) {
|
|
|
282
289
|
}
|
|
283
290
|
return byKind.map(({ kind, entries: kindEntries }) => ({
|
|
284
291
|
kind,
|
|
285
|
-
rows: kindEntries.map(({ clip, host }, index) => {
|
|
292
|
+
rows: kindEntries.map(({ clip, host, parent }, index) => {
|
|
286
293
|
const uniqueId = clip.elementId && fileIds.get(clip.file)?.get(clip.elementId) === 1;
|
|
287
294
|
const ref = uniqueId ? `#${clip.elementId}` : clip.hfId ? `hf:${clip.hfId}` : `${kind}/${index}`;
|
|
288
|
-
const warnings =
|
|
289
|
-
|
|
295
|
+
const warnings = [
|
|
296
|
+
...uniqueId || clip.hfId ? [] : [
|
|
297
|
+
'row has no stable name; add id="<name>" to the element in this file, then retry with #<name>'
|
|
298
|
+
],
|
|
299
|
+
...neverVisibleWarning(clip, parent)
|
|
290
300
|
];
|
|
291
301
|
return {
|
|
292
302
|
...clip,
|
|
@@ -296,11 +306,22 @@ function flatten(top) {
|
|
|
296
306
|
nested: host !== null,
|
|
297
307
|
host: host && host.id,
|
|
298
308
|
hostRow: host && at(host),
|
|
299
|
-
children: clip.children.map(at)
|
|
309
|
+
children: [...clip.children, ...clip.inside].map(at),
|
|
310
|
+
parentRow: parent && at(parent)
|
|
300
311
|
};
|
|
301
312
|
})
|
|
302
313
|
}));
|
|
303
314
|
}
|
|
315
|
+
var NEVER_VISIBLE = "never visible";
|
|
316
|
+
function neverVisibleWarning(clip, parent) {
|
|
317
|
+
if (!parent || clip.kind === "audio") return [];
|
|
318
|
+
if (clip.absEnd <= clip.absStart || parent.absEnd <= parent.absStart) return [];
|
|
319
|
+
if (clip.absEnd > parent.absStart && clip.absStart < parent.absEnd) return [];
|
|
320
|
+
const name = parent.elementId ? `#${parent.elementId}` : `its parent <${parent.kind}>`;
|
|
321
|
+
return [
|
|
322
|
+
`${NEVER_VISIBLE}: plays ${clip.absStart}-${clip.absEnd}s, but ${name} only shows ${parent.absStart}-${parent.absEnd}s; a nested data-start counts from the composition, not from ${name}`
|
|
323
|
+
];
|
|
324
|
+
}
|
|
304
325
|
function projectFps(source) {
|
|
305
326
|
const parsed = parseFpsWithDefault(readCompositionFps(source) ?? void 0);
|
|
306
327
|
return fpsToNumber(parsed.ok ? parsed.value : { num: 30, den: 1 });
|
|
@@ -332,5 +353,6 @@ async function describeProject(indexPath, measure = measureWithFfprobe, sourceOv
|
|
|
332
353
|
}
|
|
333
354
|
|
|
334
355
|
export {
|
|
356
|
+
NEVER_VISIBLE,
|
|
335
357
|
describeProject
|
|
336
358
|
};
|
|
@@ -8,20 +8,20 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ID7B7NGN.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-GMECXFAN.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SYKPCN32.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
22
22
|
import {
|
|
23
23
|
isCompositionVariable
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OYLO6TYK.js";
|
|
25
25
|
|
|
26
26
|
// src/registry/installer.ts
|
|
27
27
|
import { createHash } from "crypto";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BV2NH7ZA.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ATOXD5VV.js";
|
|
28
28
|
import {
|
|
29
29
|
PARAKEET_MODEL_LABEL,
|
|
30
30
|
SHERPA_ERROR_PREFIX,
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
formatPreviewProxyBox,
|
|
10
10
|
hdrToSdrToneMapFilter,
|
|
11
11
|
parseFirstFrameColour
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SYKPCN32.js";
|
|
13
13
|
import {
|
|
14
14
|
decodeAuthoredAttribute,
|
|
15
15
|
scanHtmlOpeningTags
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YMS5FOMC.js";
|
|
17
17
|
import {
|
|
18
18
|
mkdirWithinProject,
|
|
19
19
|
realProjectRoot,
|
|
@@ -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.168" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.168" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
formatVariableValidationIssue,
|
|
21
21
|
validateVariables
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SYKPCN32.js";
|
|
23
23
|
import {
|
|
24
24
|
extractCompositionMetadata
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YMS5FOMC.js";
|
|
26
26
|
|
|
27
27
|
// src/utils/variables.ts
|
|
28
28
|
import { readFileSync } from "fs";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XR3XDG7V.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-K2FLNJVB.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-PBN6GBJE.js";
|
|
16
16
|
import {
|
|
17
17
|
parseFps
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SYKPCN32.js";
|
|
19
19
|
|
|
20
20
|
// src/browser/windowsCrash.ts
|
|
21
21
|
var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
|
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
detectWsl
|
|
15
15
|
} from "./chunk-7KDQAD2W.js";
|
|
16
16
|
import {
|
|
17
|
+
DISTRIBUTED_FPS,
|
|
17
18
|
MEDIA_VISUAL_STYLE_PROPERTIES,
|
|
18
19
|
RENDER_FRAME_ID_PREFIX,
|
|
19
20
|
RENDER_FRAME_ID_SUFFIX,
|
|
@@ -30,7 +31,7 @@ import {
|
|
|
30
31
|
renderFrameIdForRenderId,
|
|
31
32
|
resolveAuthoredTimingWindow,
|
|
32
33
|
toFps
|
|
33
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-SYKPCN32.js";
|
|
34
35
|
import {
|
|
35
36
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
36
37
|
COLOR_GRADING_SOURCE_HIDDEN_ATTR,
|
|
@@ -59,7 +60,7 @@ import {
|
|
|
59
60
|
shiftRateLane,
|
|
60
61
|
sourceTimeAt,
|
|
61
62
|
timeAtSourceTime
|
|
62
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-QE7XLLGT.js";
|
|
63
64
|
import {
|
|
64
65
|
clampAudioGain,
|
|
65
66
|
isAudibleVideoElement
|
|
@@ -194,7 +195,7 @@ var POSITIVE_NUMBER_ENGINE_CONFIG_FIELDS = [
|
|
|
194
195
|
"extractCacheMaxBytes"
|
|
195
196
|
];
|
|
196
197
|
var ENUM_ENGINE_CONFIG_FIELDS = {
|
|
197
|
-
fps:
|
|
198
|
+
fps: DISTRIBUTED_FPS,
|
|
198
199
|
quality: ["draft", "standard", "high"],
|
|
199
200
|
format: ["jpeg", "png"],
|
|
200
201
|
browserGpuMode: ["software", "hardware", "auto"]
|
|
@@ -1552,7 +1553,8 @@ function buildChromeArgs(options, config) {
|
|
|
1552
1553
|
function compositionRequiresWebGpu(html) {
|
|
1553
1554
|
for (const tag of scanHtmlOpeningTags(html)) {
|
|
1554
1555
|
const names = tag.attributes.map((attribute) => attribute.name);
|
|
1555
|
-
|
|
1556
|
+
const isRoot = names.includes("data-composition-id") || names.includes("data-hf-inner-root");
|
|
1557
|
+
if (isRoot && names.includes("data-requires-webgpu")) return true;
|
|
1556
1558
|
}
|
|
1557
1559
|
return false;
|
|
1558
1560
|
}
|
|
@@ -5141,7 +5143,7 @@ async function waitForCloseWithTimeout(promise) {
|
|
|
5141
5143
|
return !timedOut;
|
|
5142
5144
|
}
|
|
5143
5145
|
async function initDrawElementOrTransparentBackground(session, page, logInitPhase) {
|
|
5144
|
-
const supersampling = (session.options.deviceScaleFactor ?? 1)
|
|
5146
|
+
const supersampling = (session.options.deviceScaleFactor ?? 1) !== 1;
|
|
5145
5147
|
const forceScreenshot = session.config?.forceScreenshot ?? false;
|
|
5146
5148
|
const forceDE = process.env.HF_FORCE_DRAWELEMENT === "1";
|
|
5147
5149
|
const useDrawElement = ((session.config?.useDrawElement ?? false) || forceDE) && !supersampling && (!forceScreenshot || forceDE);
|
|
@@ -5149,7 +5151,7 @@ async function initDrawElementOrTransparentBackground(session, page, logInitPhas
|
|
|
5149
5151
|
session.deGateReason = "supersampling";
|
|
5150
5152
|
session.deFallbackTrigger = "supersampling";
|
|
5151
5153
|
console.log(
|
|
5152
|
-
"[engine] --experimental-fast-capture disabled for this render: drawElementImage ignores deviceScaleFactor, so
|
|
5154
|
+
"[engine] --experimental-fast-capture disabled for this render: drawElementImage ignores deviceScaleFactor, so scaled (DPR other than 1) output uses screenshot capture."
|
|
5153
5155
|
);
|
|
5154
5156
|
}
|
|
5155
5157
|
if ((session.config?.useDrawElement ?? false) && !supersampling && forceScreenshot) {
|
|
@@ -5317,7 +5319,7 @@ async function createCaptureSession(serverUrl, outputDir, options, onBeforeCaptu
|
|
|
5317
5319
|
"[engine] useDrawElement is incompatible with page-side shader compositing, ignoring enablePageSideCompositing for this render. Prefer resolveConfig, which disables page-side compositing automatically for fast-capture renders."
|
|
5318
5320
|
);
|
|
5319
5321
|
}
|
|
5320
|
-
const supersampling = (options.deviceScaleFactor ?? 1)
|
|
5322
|
+
const supersampling = (options.deviceScaleFactor ?? 1) !== 1;
|
|
5321
5323
|
const requestedGpuMode = config?.browserGpuMode ?? DEFAULT_CONFIG.browserGpuMode;
|
|
5322
5324
|
const resolvedGpuMode = await resolveBrowserGpuMode(requestedGpuMode, {
|
|
5323
5325
|
chromePath: headlessShell ?? void 0,
|
|
@@ -5874,20 +5876,26 @@ async function decodeAllImages(page) {
|
|
|
5874
5876
|
async function applyVideoMetadataHints(page, hints) {
|
|
5875
5877
|
if (!hints || hints.length === 0) return;
|
|
5876
5878
|
await page.evaluate(
|
|
5877
|
-
(metadataHints) => {
|
|
5879
|
+
async (metadataHints) => {
|
|
5880
|
+
const posters = /* @__PURE__ */ new Set();
|
|
5878
5881
|
for (const hint of metadataHints) {
|
|
5879
5882
|
if (!hint.id || !Number.isFinite(hint.width) || !Number.isFinite(hint.height) || hint.width <= 0 || hint.height <= 0) {
|
|
5880
5883
|
continue;
|
|
5881
5884
|
}
|
|
5882
5885
|
const video = window.__hfMediaEl?.(hint.id) ?? document.getElementById(hint.id);
|
|
5883
|
-
if (!video) continue;
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
-
video.style.aspectRatio = `${hint.width} / ${hint.height}`;
|
|
5889
|
-
}
|
|
5886
|
+
if (!video || video.hasAttribute("poster")) continue;
|
|
5887
|
+
const svg = `<svg xmlns="http://www.w3.org/2000/svg" width="${hint.width}" height="${hint.height}"/>`;
|
|
5888
|
+
const intrinsicSizePoster = `data:image/svg+xml,${encodeURIComponent(svg)}`;
|
|
5889
|
+
video.poster = intrinsicSizePoster;
|
|
5890
|
+
posters.add(intrinsicSizePoster);
|
|
5890
5891
|
}
|
|
5892
|
+
await Promise.all(
|
|
5893
|
+
[...posters].map((src) => {
|
|
5894
|
+
const image = new Image();
|
|
5895
|
+
image.src = src;
|
|
5896
|
+
return image.decode();
|
|
5897
|
+
})
|
|
5898
|
+
);
|
|
5891
5899
|
},
|
|
5892
5900
|
[...hints]
|
|
5893
5901
|
);
|
|
@@ -9308,7 +9316,7 @@ async function muxVideoWithAudio(videoPath, audioPath, outputPath, signal, confi
|
|
|
9308
9316
|
const isWebm = outputPath.endsWith(".webm");
|
|
9309
9317
|
const isMov = outputPath.endsWith(".mov");
|
|
9310
9318
|
const shouldCopyAudio = isWebm ? false : await shouldCopyAacSidecar(audioPath, config);
|
|
9311
|
-
const args = ["-i", videoPath, "-i", audioPath, "-c:v", "copy"];
|
|
9319
|
+
const args = [...config?.videoInputArgs ?? ["-i", videoPath], "-i", audioPath, "-c:v", "copy"];
|
|
9312
9320
|
if (isWebm) {
|
|
9313
9321
|
args.push("-c:a", "libopus", "-b:a", "128k");
|
|
9314
9322
|
} else if (isMov) {
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4CIMRQQY.js";
|
|
23
23
|
import {
|
|
24
24
|
MEDIA_LINK_ATTR,
|
|
25
25
|
relinkSplitHalves
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
scanProjectMediaCodecMap,
|
|
55
55
|
shouldPrewarmProxy,
|
|
56
56
|
waitForProxy
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-AQZZZTFL.js";
|
|
58
58
|
import {
|
|
59
59
|
MAX_WINDOW_IDLE_MS,
|
|
60
60
|
STUDIO_SIGNATURE_MANIFEST_PATHS,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
} from "./chunk-EOVYQ3IG.js";
|
|
104
104
|
import {
|
|
105
105
|
addScenePartsManifest
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-KDC5D5VM.js";
|
|
107
107
|
import {
|
|
108
108
|
ensureHfIds,
|
|
109
109
|
stampHfIdsInPlace
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
parseFps,
|
|
118
118
|
parsePreviewProxyBox,
|
|
119
119
|
sameInstant
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-SYKPCN32.js";
|
|
121
121
|
import {
|
|
122
122
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
123
123
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -131,7 +131,7 @@ import {
|
|
|
131
131
|
resolveRateSpec,
|
|
132
132
|
sourceTimeAt,
|
|
133
133
|
stripEmbeddedRuntimeScripts
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-QE7XLLGT.js";
|
|
135
135
|
import {
|
|
136
136
|
HTML_ATTRIBUTE_ENTITIES,
|
|
137
137
|
MagicString,
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
decodeAuthoredAttribute,
|
|
140
140
|
scanHtmlOpeningTags,
|
|
141
141
|
unrollComputedTimeline
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-YMS5FOMC.js";
|
|
143
143
|
import {
|
|
144
144
|
ProjectRootMissingError,
|
|
145
145
|
folderGone,
|
|
@@ -4067,8 +4067,8 @@ function resolveTrack(root, desiredTrack, start, duration) {
|
|
|
4067
4067
|
}
|
|
4068
4068
|
function uniqueHostId(root, base) {
|
|
4069
4069
|
const ids = /* @__PURE__ */ new Set([
|
|
4070
|
-
...descendants(root, "[id]").map((element) => element.id),
|
|
4071
|
-
...descendants(root, "[data-composition-id]").flatMap((element) => {
|
|
4070
|
+
...[root, ...descendants(root, "[id]")].map((element) => element.id),
|
|
4071
|
+
...[root, ...descendants(root, "[data-composition-id]")].flatMap((element) => {
|
|
4072
4072
|
const id = element.getAttribute("data-composition-id");
|
|
4073
4073
|
return id ? [id] : [];
|
|
4074
4074
|
})
|
|
@@ -4096,7 +4096,8 @@ function insertCompositionIntoSource(input) {
|
|
|
4096
4096
|
const height = positiveAttribute(sourceComposition, "data-height");
|
|
4097
4097
|
const { document: document2, root } = compositionRoot(input.parentSource);
|
|
4098
4098
|
const parentDuration = positiveAttribute(root, "data-duration", "data-composition-duration");
|
|
4099
|
-
const
|
|
4099
|
+
const sourceCompositionId = sourceComposition.getAttribute("data-composition-id") ?? "";
|
|
4100
|
+
const base = (sourceCompositionId || "composition").replace(/[^a-zA-Z0-9_-]+/g, "-").replace(/^-+|-+$/g, "") || "composition";
|
|
4100
4101
|
const hostId = uniqueHostId(root, base);
|
|
4101
4102
|
const track = resolveTrack(
|
|
4102
4103
|
root,
|
|
@@ -4115,7 +4116,8 @@ function insertCompositionIntoSource(input) {
|
|
|
4115
4116
|
host.id = hostId;
|
|
4116
4117
|
host.className = "clip";
|
|
4117
4118
|
host.setAttribute("data-hf-id", `hf-${randomUUID()}`);
|
|
4118
|
-
|
|
4119
|
+
const mountedRootId = sourceCompositionId || hostId;
|
|
4120
|
+
host.setAttribute("data-composition-id", mountedRootId);
|
|
4119
4121
|
host.setAttribute("data-composition-src", relativeSourcePath(targetAbs, sourceAbs));
|
|
4120
4122
|
host.setAttribute("data-start", String(Math.round(input.start * 100) / 100));
|
|
4121
4123
|
host.setAttribute("data-duration", String(duration));
|
|
@@ -5495,7 +5497,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5495
5497
|
let block = extractGsapScriptBlock(html);
|
|
5496
5498
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5497
5499
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5498
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5500
|
+
const { GSAP_CDN } = await import("./dist-3VKMLNXT.js");
|
|
5499
5501
|
const bootstrap = [
|
|
5500
5502
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5501
5503
|
"<script>",
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CAHSX6IW.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, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-5XO7KBBL.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
VALID_CANVAS_RESOLUTIONS,
|
|
9
9
|
resolveResolutionFlagPair
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YMS5FOMC.js";
|
|
11
11
|
|
|
12
12
|
// src/utils/parseOutputResolution.ts
|
|
13
13
|
function parseOutputResolutionFlag(raw, options) {
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CDDIEZ4D.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AQZZZTFL.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveAutoProxy
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-C3WPYYGK.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeWellFormedEscapes
|
|
27
27
|
} from "./chunk-BSQ7XANM.js";
|
|
@@ -9,25 +9,25 @@ import {
|
|
|
9
9
|
launchManagedBrowser,
|
|
10
10
|
resolveManagedGpuMode,
|
|
11
11
|
rethrowAfterBrowserCleanup
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UWQL2MP4.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveCompositionViewportFromHtml
|
|
15
15
|
} from "./chunk-FH7WODJH.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveDiagnosticNavigationTimeoutMs,
|
|
18
18
|
windowsChromeCrashRemediation
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BTCUP5ZY.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveLocalBrowserGpuMode,
|
|
22
22
|
resolveLocalWebGpu
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DO3UPPO4.js";
|
|
24
24
|
import {
|
|
25
25
|
c
|
|
26
26
|
} from "./chunk-ZTZA4UWZ.js";
|
|
27
27
|
import {
|
|
28
28
|
assertWebGpuAdapterAvailable,
|
|
29
29
|
compositionRequiresWebGpu
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-CAHSX6IW.js";
|
|
31
31
|
import {
|
|
32
32
|
normalizeErrorMessage
|
|
33
33
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -110,9 +110,9 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
110
110
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-HEUPD2YB.js");
|
|
111
111
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
112
112
|
const puppeteer = await import("puppeteer-core");
|
|
113
|
-
const { buildChromeArgs } = await import("./src-
|
|
113
|
+
const { buildChromeArgs } = await import("./src-5XO7KBBL.js");
|
|
114
114
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
115
|
-
const answer = (await import("./staticProjectServer-
|
|
115
|
+
const answer = (await import("./staticProjectServer-RLERPIY6.js")).inProcessAnswer(url);
|
|
116
116
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
117
117
|
let softwareWebGpu = false;
|
|
118
118
|
const launch = async (executablePath) => {
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YTZA25TZ.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YULVV525.js";
|
|
14
14
|
import {
|
|
15
15
|
detectAgentRuntime
|
|
16
16
|
} from "./chunk-QWQ6GQTI.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-CDDIEZ4D.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QE7XLLGT.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -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-UP3IQXPM.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|