hyperframes 0.8.219 → 0.8.220
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-2MXC4QCY.js → add-7BJGQPZT.js} +11 -11
- package/dist/{agentPromptGenerator-FIT75HWJ.js → agentPromptGenerator-NFN3AYLJ.js} +5 -5
- package/dist/{animatedGifPrep-MFUNECD3.js → animatedGifPrep-HC45HF7H.js} +5 -5
- package/dist/api.js +15 -15
- package/dist/{asset-T6BI53SJ.js → asset-TSP3CMU4.js} +2 -2
- package/dist/{assetCataloger-DP4SHXWI.js → assetCataloger-KIN2UKI7.js} +6 -6
- package/dist/{audio-SRQLO7BP.js → audio-NEJOZZXG.js} +11 -11
- package/dist/{auth-JONDB26P.js → auth-7EEBDTBK.js} +2 -2
- package/dist/{autoUpdate-YKJOOXCI.js → autoUpdate-67ZMQDED.js} +2 -2
- package/dist/{backgroundChecks-GSTIIVNR.js → backgroundChecks-YN424YG5.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ESAPNTE3.js → batchRender-I2GRQUPY.js} +3 -3
- package/dist/{beats-OOVMTM4B.js → beats-VVY6JZEU.js} +7 -7
- package/dist/{benchmark-WBFYHOSI.js → benchmark-BJJVW6RH.js} +8 -8
- package/dist/{browser-AZZAO24H.js → browser-IOP3IU24.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-GP4MD6DJ.js → bundleWithLocalizedFonts-TLEZEZXN.js} +2 -2
- package/dist/{capture-MGRV5VWE.js → capture-4Z3KBJNP.js} +11 -11
- package/dist/{capture-PN7GEEAB.js → capture-HVIWNBQA.js} +3 -3
- package/dist/{captureCompositionFrame-JYGGPKFZ.js → captureCompositionFrame-J3OOHGC2.js} +10 -10
- package/dist/{catalog-D42NLFZT.js → catalog-G65QCBXG.js} +11 -11
- package/dist/{catch-up-TUL26VOB.js → catch-up-VHTDAQYM.js} +4 -4
- package/dist/{check-DBBH7DI3.js → check-W7TCUAXY.js} +35 -35
- package/dist/{checkAudio-UJ7XTDRD.js → checkAudio-AV7R24FD.js} +8 -8
- package/dist/{checkBrowser-3YIZYXIR.js → checkBrowser-QTMNRNPF.js} +29 -29
- package/dist/{chunk-2UT32TJS.js → chunk-22U7OCYM.js} +1 -1
- package/dist/{chunk-WUABYDXU.js → chunk-2L645DAG.js} +1 -1
- package/dist/{chunk-C2G23WQQ.js → chunk-2MDFNL2E.js} +1 -1
- package/dist/{chunk-4I7KQWZS.js → chunk-2Q7XV4F6.js} +1 -1
- package/dist/{chunk-JH2AO4ZW.js → chunk-3F6EGZ6C.js} +1 -1
- package/dist/{chunk-BT5UT4XT.js → chunk-5RGVBSDS.js} +2 -2
- package/dist/{chunk-33XQUQKN.js → chunk-5XOOBNU2.js} +1 -1
- package/dist/{chunk-542VETC5.js → chunk-6A7DOGSP.js} +1 -1
- package/dist/{chunk-ILCIWNPQ.js → chunk-6CWSMSOC.js} +3 -3
- package/dist/{chunk-64MFJSGZ.js → chunk-6MHKL2TB.js} +1 -1
- package/dist/{chunk-BRYOYBO5.js → chunk-6OXVMHTB.js} +1 -1
- package/dist/{chunk-3MTNYVWM.js → chunk-6YIBMA6Y.js} +4 -4
- package/dist/{chunk-LGMRZWJS.js → chunk-A32ZEFZT.js} +1 -1
- package/dist/{chunk-UR6L2DXM.js → chunk-AGFHQTZD.js} +13 -13
- package/dist/{chunk-QE5JXNSW.js → chunk-ARZGHKST.js} +10 -10
- package/dist/{chunk-LJB2PF6K.js → chunk-AUGHXWJC.js} +1 -1
- package/dist/{chunk-3VIICMJF.js → chunk-BASBBBNB.js} +1 -1
- package/dist/{chunk-VO7IEWOH.js → chunk-CIUEQLWL.js} +7 -7
- package/dist/{chunk-NP2QEAEW.js → chunk-CMI2POHT.js} +8 -8
- package/dist/{chunk-YATFRFNH.js → chunk-D5TOH3QI.js} +1 -1
- package/dist/{chunk-AU7VGKCP.js → chunk-DA6GOIIA.js} +1 -1
- package/dist/{chunk-4OWVRHSV.js → chunk-DB6OJRZB.js} +5 -5
- package/dist/{chunk-XXLG7GCA.js → chunk-DBT7CRK4.js} +1 -1
- package/dist/{chunk-FAIFPYRO.js → chunk-DEXGPHAZ.js} +1 -1
- package/dist/{chunk-VTLIN7XN.js → chunk-DJWAL7AW.js} +2 -2
- package/dist/{chunk-DOZGTBDV.js → chunk-EUZYVUUS.js} +2 -2
- package/dist/{chunk-DMUDI5IH.js → chunk-FGGZKCOT.js} +2 -2
- package/dist/{chunk-FWWJRJB5.js → chunk-FK5TW3IM.js} +1 -1
- package/dist/{chunk-G7ZTD2KJ.js → chunk-FKPJP7KG.js} +5 -5
- package/dist/{chunk-CBZN5JIK.js → chunk-IMVM6E65.js} +3 -3
- package/dist/{chunk-473HMKSC.js → chunk-IZBJZBBF.js} +2 -2
- package/dist/{chunk-5ETJX6WM.js → chunk-J3OVTOVC.js} +18 -14
- package/dist/{chunk-FC7QIE5X.js → chunk-JIGD5ZXE.js} +17 -17
- package/dist/{chunk-QEKP7XCN.js → chunk-K7APBNPW.js} +1 -1
- package/dist/{chunk-3KDODK5M.js → chunk-KGM6VQ6D.js} +1 -1
- package/dist/{chunk-K5GGTJJV.js → chunk-KJ2ORDQZ.js} +1 -1
- package/dist/{chunk-G2E2DHH2.js → chunk-LZPNAI7P.js} +3 -3
- package/dist/{chunk-TNQ4SSTR.js → chunk-MS2SDIPC.js} +8 -8
- package/dist/{chunk-GP5X7V6U.js → chunk-NEVX7YHH.js} +1 -1
- package/dist/{chunk-BRU66Q24.js → chunk-NKNKRN7G.js} +2 -2
- package/dist/{chunk-KK5MZQXG.js → chunk-NQP44XMF.js} +3 -3
- package/dist/{chunk-GHWV6PIS.js → chunk-NSJPSQZ3.js} +1 -1
- package/dist/{chunk-RYBFHEMZ.js → chunk-NSKIGECI.js} +1 -1
- package/dist/{chunk-GGDVZ7O4.js → chunk-NYSB3CWY.js} +10 -10
- package/dist/{chunk-BKHRAHV6.js → chunk-O332YWQV.js} +2 -2
- package/dist/{chunk-7ZRXSZF6.js → chunk-OURH3TLX.js} +1 -1
- package/dist/{chunk-KUQOUWJ4.js → chunk-P3XF3ZZF.js} +2 -2
- package/dist/{chunk-U2EUCTYQ.js → chunk-PCKWLYKA.js} +3 -3
- package/dist/{chunk-Z537IJJH.js → chunk-PIKANFFV.js} +4 -4
- package/dist/{chunk-LIWBGRPD.js → chunk-RECS6EGQ.js} +2 -2
- package/dist/{chunk-CPKBAMI3.js → chunk-RF5LOY22.js} +13 -13
- package/dist/{chunk-UDBW6TK4.js → chunk-RHEQ7RXZ.js} +1 -1
- package/dist/{chunk-TCV7N2UY.js → chunk-RIG7XBHW.js} +1 -1
- package/dist/{chunk-KENUKJRG.js → chunk-RIYARQ2O.js} +2 -2
- package/dist/{chunk-576ATOOU.js → chunk-RK3LW7NO.js} +2 -2
- package/dist/{chunk-Z27A7NUB.js → chunk-SHOE3UR6.js} +1 -1
- package/dist/{chunk-UWV753SJ.js → chunk-SUQ77SEY.js} +1 -1
- package/dist/{chunk-IGZHC55Z.js → chunk-SW5XTDRD.js} +7 -7
- package/dist/{chunk-XUTPVELE.js → chunk-TQ3W64VT.js} +2 -2
- package/dist/{chunk-DWMI7CKI.js → chunk-UOIVSNPI.js} +1 -1
- package/dist/{chunk-LJUFR7G5.js → chunk-VJGQLC2A.js} +7 -7
- package/dist/{chunk-UGDLT4LZ.js → chunk-VZVRF3JX.js} +2 -2
- package/dist/{chunk-VP5KECBU.js → chunk-WQYLRTVT.js} +2 -2
- package/dist/{chunk-O7YOS36L.js → chunk-X2YBRPCM.js} +2 -2
- package/dist/{chunk-XUOLKUE7.js → chunk-XPV5K5MD.js} +1 -1
- package/dist/{chunk-YXZ56JUN.js → chunk-YMKTEQIA.js} +46 -13
- package/dist/{chunk-5UIODBMI.js → chunk-ZS5PARPI.js} +1 -1
- package/dist/{clean-YERX334S.js → clean-AYZ2RAMN.js} +18 -18
- package/dist/cli.js +54 -54
- package/dist/{cloud-5XFWROJK.js → cloud-A53ZNOO6.js} +4 -4
- package/dist/{cloudrun-5XEDIP77.js → cloudrun-USB736UD.js} +4 -4
- package/dist/commands/layout-audit.browser.js +29 -5
- package/dist/{compare-THYM62NL.js → compare-42CWJXBR.js} +26 -26
- package/dist/{compiler-SLKHXYCO.js → compiler-SV2WYWTI.js} +2 -2
- package/dist/{component-N4FFNYA5.js → component-7JC7NQGM.js} +3 -3
- package/dist/{compositions-XCM3Z65K.js → compositions-6F6743GP.js} +9 -9
- package/dist/{delete-6PIKDOKV.js → delete-7TRRZI5M.js} +2 -2
- package/dist/{deploy-PT77AP6G.js → deploy-6SSC2FBD.js} +1 -1
- package/dist/{dist-VNOJCTQR.js → dist-KP2GVAQU.js} +2 -2
- package/dist/{doctor-KLDSXKUM.js → doctor-XEG3GZAA.js} +12 -12
- package/dist/{events-KEJFQQDQ.js → events-33HQE43K.js} +3 -3
- package/dist/{events-OHISH3KL.js → events-I7F24HFX.js} +2 -2
- package/dist/{feedback-VTLWYGLQ.js → feedback-XDTUBZX3.js} +7 -7
- package/dist/{ffmpeg-SG3AYA6M.js → ffmpeg-ABXU2TYH.js} +5 -5
- package/dist/{figma-5AHFOYPG.js → figma-4JKNWEKN.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-5VTBUZIR.js → get-EX2INNLN.js} +2 -2
- package/dist/{gpuPolicy-ODODH5JV.js → gpuPolicy-7TSXQHK4.js} +5 -5
- package/dist/{grade-compare-25HQJORH.js → grade-compare-TLUTRM2K.js} +27 -27
- package/dist/{heifImagePrep-SPBGWX2L.js → heifImagePrep-UOBBQFA2.js} +6 -6
- package/dist/{help-3AZ4ZSWZ.js → help-BB4FPW2K.js} +1 -1
- package/dist/{history-KZFZ2MJI.js → history-JNETCPLB.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +47 -47
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-XNYSD2SN.js → info-7LBANHQG.js} +7 -7
- package/dist/{init-C76MX2UE.js → init-GZ36UP5K.js} +25 -25
- package/dist/{inspect-OWDJTC64.js → inspect-OD54TEQN.js} +27 -27
- package/dist/{installer-OFIDWMYR.js → installer-4KJ7T3KB.js} +4 -4
- package/dist/{keyframes-ZBIWACNT.js → keyframes-KLBNYGYC.js} +6 -6
- package/dist/{lambda-XS3E4XSL.js → lambda-554LSIHM.js} +9 -9
- package/dist/{layout-HLU3IVDX.js → layout-EQAJKTIW.js} +27 -27
- package/dist/{lint-DUJ5PM56.js → lint-ZMSIAVMI.js} +6 -6
- package/dist/{list-KRDQLHDH.js → list-KUZLCZUK.js} +2 -2
- package/dist/{localPage-KXNSCQIQ.js → localPage-MQJZAR7Z.js} +5 -5
- package/dist/{login-4P7LCOB5.js → login-644VKQTJ.js} +4 -4
- package/dist/{manager-USFB6SE2.js → manager-3C33QHJB.js} +6 -6
- package/dist/{manager-I4ROBMYK.js → manager-ENFYM32B.js} +1 -1
- package/dist/{media-treatment-JOZB3MTT.js → media-treatment-XYS2O3JD.js} +11 -11
- package/dist/{models-RZRXHIER.js → models-KOTMJX4Z.js} +9 -9
- package/dist/{motionShot-3SHLRT3L.js → motionShot-YOSDJ26I.js} +14 -14
- package/dist/{normalize-audio-SL2ATLJM.js → normalize-audio-FNT6Y4MC.js} +8 -8
- package/dist/{open-TCGY4NB2.js → open-COIGEQCX.js} +11 -11
- package/dist/{parakeetRunner-ZBO4LR7M.js → parakeetRunner-BBXLGDZW.js} +10 -10
- package/dist/{pipeline-7D36B3FW.js → pipeline-23GAJEQO.js} +8 -8
- package/dist/{play-CTBPJFBX.js → play-GOCWJH7Z.js} +18 -18
- package/dist/{preflight-GFWIOUO3.js → preflight-7IWI3INL.js} +7 -7
- package/dist/{present-GXOHUNFP.js → present-VN2RAATE.js} +14 -14
- package/dist/{preview-BWCEXEII.js → preview-MD7W5T56.js} +16 -16
- package/dist/{producer-UME4Q4HH.js → producer-IRENEI2Y.js} +1 -1
- package/dist/{projectConfig-I6QNMRVV.js → projectConfig-3IXWY6VF.js} +6 -6
- package/dist/{publication-JET7ZBWG.js → publication-MCDU4VIJ.js} +2 -2
- package/dist/{publish-ZGW46SKV.js → publish-5477WXAK.js} +9 -9
- package/dist/{remove-background-YSJ7XFPQ.js → remove-background-XYO5ENFU.js} +9 -9
- package/dist/{render-33TSTTN7.js → render-34GMNN2B.js} +5 -5
- package/dist/{render-QFIWTDK3.js → render-54SCVHMS.js} +13 -13
- package/dist/{render-Q2VLJGFV.js → render-L66MXLV2.js} +33 -33
- package/dist/{render-batch-SDDZ3LM7.js → render-batch-DOCRB7KQ.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-VLOUQ7I6.js → resolver-Q5XTMECS.js} +4 -4
- package/dist/{sherpa-YKK3LRSI.js → sherpa-E7C2ZGKD.js} +9 -9
- package/dist/{skills-5ENIWSB2.js → skills-DDZCYTVS.js} +5 -5
- package/dist/{skillsUpdateCheck-7GDJNW5A.js → skillsUpdateCheck-4XX7YYZA.js} +3 -3
- package/dist/{snapshot-O3JXB3VM.js → snapshot-PTLZ25S3.js} +31 -31
- package/dist/{src-MT7UQJT5.js → src-KT325UQS.js} +7 -7
- package/dist/{src-6T5KES5G.js → src-RDWYM4KF.js} +4 -4
- package/dist/{staticProjectServer-UP22EGMU.js → staticProjectServer-JCGTNF4E.js} +16 -16
- package/dist/{status-63BKLDVW.js → status-4AAPTTRW.js} +2 -2
- package/dist/studio/assets/{hyperframes-player-B83GGznX.js → hyperframes-player-CC1Ue2mg.js} +1 -1
- package/dist/studio/assets/{index-B9gVTopE.js → index-BgjuGqZk.js} +6 -6
- package/dist/studio/assets/{index-Ca_tSAqR.js → index-hc5Ru1gB.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-Q6KSNU77.js → studio-api-GTN767PW.js} +8 -8
- package/dist/{studioServer-44OR56TK.js → studioServer-X6O4WB7E.js} +47 -47
- package/dist/{synthesize-IKSZPKFJ.js → synthesize-4JC74JW5.js} +13 -9
- package/dist/{telemetry-2N7DLYCQ.js → telemetry-OY2PKIWO.js} +3 -3
- package/dist/{timeline-MT56A3HB.js → timeline-IZZRAXKP.js} +16 -16
- package/dist/{tokens-V6O4I5IX.js → tokens-JHIYKROF.js} +2 -2
- package/dist/{transcribe-GGV4YEF3.js → transcribe-2MPZHRG5.js} +8 -8
- package/dist/{transcribe-ZCJ6WB6R.js → transcribe-WJ2DIE3W.js} +14 -14
- package/dist/{tts-MQNOBHLH.js → tts-BVTJEP72.js} +1 -1
- package/dist/{updateCheck-ZBBUGX3A.js → updateCheck-6XMEFB74.js} +2 -2
- package/dist/{upgrade-L7SM3TPB.js → upgrade-MSNQIWR7.js} +2 -2
- package/dist/{urlDownloader-HTBT6K5N.js → urlDownloader-CD6NVJE5.js} +4 -4
- package/dist/{validate-WXKYRV2E.js → validate-7L5LJFTK.js} +21 -21
- package/dist/{video-JH5WQC2I.js → video-HFIDOIQI.js} +6 -6
- package/dist/warmCheck.js +35 -35
- package/package.json +1 -1
|
@@ -54,36 +54,40 @@ function describeRejectedPythonOverride() {
|
|
|
54
54
|
if (validation.ok) return null;
|
|
55
55
|
return `HYPERFRAMES_PYTHON="${override}" was rejected: ${validation.reason}`;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function withoutPythonPath() {
|
|
58
|
+
const { PYTHONPATH: _foreign, ...env } = process.env;
|
|
59
|
+
return env;
|
|
60
|
+
}
|
|
61
|
+
function runs(python, code, env) {
|
|
58
62
|
try {
|
|
59
|
-
execFileSync(python, ["-c",
|
|
60
|
-
stdio: ["pipe", "pipe", "pipe"],
|
|
61
|
-
timeout: 1e4
|
|
62
|
-
});
|
|
63
|
+
execFileSync(python, ["-c", code], { stdio: ["pipe", "pipe", "pipe"], timeout: 1e4, env });
|
|
63
64
|
return true;
|
|
64
65
|
} catch {
|
|
65
66
|
return false;
|
|
66
67
|
}
|
|
67
68
|
}
|
|
69
|
+
function environmentThatRuns(python, code) {
|
|
70
|
+
return [process.env, withoutPythonPath()].find((env) => runs(python, code, env)) ?? null;
|
|
71
|
+
}
|
|
72
|
+
function workingPythonEnv(python, modules, extra = {}) {
|
|
73
|
+
const env = environmentThatRuns(python, `import ${modules.join(", ")}`);
|
|
74
|
+
return env && { ...env, ...extra };
|
|
75
|
+
}
|
|
76
|
+
function hasPythonPackage(python, pkg) {
|
|
77
|
+
return environmentThatRuns(python, `import ${pkg}`) !== null;
|
|
78
|
+
}
|
|
68
79
|
function hasPythonModules(modules) {
|
|
69
80
|
const python = findPython();
|
|
70
81
|
if (!python) return false;
|
|
71
82
|
const list = JSON.stringify(modules);
|
|
72
83
|
const probe = `import importlib.util,sys; sys.exit(0 if all(importlib.util.find_spec(m) for m in ${list}) else 1)`;
|
|
73
|
-
|
|
74
|
-
execFileSync(python, ["-c", probe], {
|
|
75
|
-
stdio: ["pipe", "pipe", "pipe"],
|
|
76
|
-
timeout: 1e4
|
|
77
|
-
});
|
|
78
|
-
return true;
|
|
79
|
-
} catch {
|
|
80
|
-
return false;
|
|
81
|
-
}
|
|
84
|
+
return environmentThatRuns(python, probe) !== null;
|
|
82
85
|
}
|
|
83
86
|
|
|
84
87
|
export {
|
|
85
88
|
findPython,
|
|
86
89
|
describeRejectedPythonOverride,
|
|
90
|
+
workingPythonEnv,
|
|
87
91
|
hasPythonPackage,
|
|
88
92
|
hasPythonModules
|
|
89
93
|
};
|
|
@@ -17,17 +17,17 @@ import {
|
|
|
17
17
|
finishCheckSnapshots,
|
|
18
18
|
preResolveHostileMediaProxies,
|
|
19
19
|
rectToBbox
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AGFHQTZD.js";
|
|
21
21
|
import {
|
|
22
22
|
collectProjectMedia,
|
|
23
23
|
mediaPath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-O332YWQV.js";
|
|
25
25
|
import {
|
|
26
26
|
captureArtifactRevision
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DEXGPHAZ.js";
|
|
28
28
|
import {
|
|
29
29
|
trackLintRun
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-TQ3W64VT.js";
|
|
31
31
|
import {
|
|
32
32
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
33
33
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
mergeSampleTimes,
|
|
49
49
|
parseAt,
|
|
50
50
|
readMotionSpec
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ARZGHKST.js";
|
|
52
52
|
import {
|
|
53
53
|
findingAtRoot,
|
|
54
54
|
findingElementKey,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
} from "./chunk-TQBQYO4L.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveProject
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-FK5TW3IM.js";
|
|
61
61
|
import {
|
|
62
62
|
recordArtifacts
|
|
63
63
|
} from "./chunk-24F7TOW2.js";
|
|
@@ -69,14 +69,14 @@ import {
|
|
|
69
69
|
closeManagedBrowser,
|
|
70
70
|
onStopSignal,
|
|
71
71
|
registerBrowserSessionCleanup
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-RIYARQ2O.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveLocalBrowserGpuMode
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-IZBJZBBF.js";
|
|
76
76
|
import {
|
|
77
77
|
trackCheckReport,
|
|
78
78
|
trackCommandFailure
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-NEVX7YHH.js";
|
|
80
80
|
import {
|
|
81
81
|
swallowedFlagUsageError
|
|
82
82
|
} from "./chunk-GLC5XHN5.js";
|
|
@@ -95,14 +95,14 @@ import {
|
|
|
95
95
|
import {
|
|
96
96
|
extractMediaMetadata,
|
|
97
97
|
findHdrAutoPromotion
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-YMKTEQIA.js";
|
|
99
99
|
import {
|
|
100
100
|
lintProject,
|
|
101
101
|
shouldBlockRender
|
|
102
102
|
} from "./chunk-MHZB6QSC.js";
|
|
103
103
|
import {
|
|
104
104
|
withMeta
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-OURH3TLX.js";
|
|
106
106
|
import {
|
|
107
107
|
recordLastCheck
|
|
108
108
|
} from "./chunk-BLBMPEBX.js";
|
|
@@ -2361,7 +2361,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2361
2361
|
};
|
|
2362
2362
|
}
|
|
2363
2363
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2364
|
-
const module = await import("./checkBrowser-
|
|
2364
|
+
const module = await import("./checkBrowser-QTMNRNPF.js");
|
|
2365
2365
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2366
2366
|
}
|
|
2367
2367
|
var adoptedBrowser;
|
|
@@ -2375,7 +2375,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2375
2375
|
if (adopted) return adopted;
|
|
2376
2376
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2377
2377
|
if (html === void 0) return void 0;
|
|
2378
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2378
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-J3OOHGC2.js");
|
|
2379
2379
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2380
2380
|
}
|
|
2381
2381
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2387,11 +2387,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2387
2387
|
return relative(projectDir, path);
|
|
2388
2388
|
}
|
|
2389
2389
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2390
|
-
const module = await import("./checkBrowser-
|
|
2390
|
+
const module = await import("./checkBrowser-QTMNRNPF.js");
|
|
2391
2391
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2392
2392
|
}
|
|
2393
2393
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2394
|
-
const module = await import("./checkBrowser-
|
|
2394
|
+
const module = await import("./checkBrowser-QTMNRNPF.js");
|
|
2395
2395
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2396
2396
|
}
|
|
2397
2397
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2413,7 +2413,7 @@ function collectMedia(project) {
|
|
|
2413
2413
|
return collectProjectMedia(project.dir);
|
|
2414
2414
|
}
|
|
2415
2415
|
async function inspectAudio(project, media) {
|
|
2416
|
-
const module = await import("./checkAudio-
|
|
2416
|
+
const module = await import("./checkAudio-AV7R24FD.js");
|
|
2417
2417
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2418
2418
|
}
|
|
2419
2419
|
function audioCheckFailure(project, error) {
|
|
@@ -2487,7 +2487,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2487
2487
|
}
|
|
2488
2488
|
},
|
|
2489
2489
|
async prepareMedia(project, options) {
|
|
2490
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2490
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-TLEZEZXN.js");
|
|
2491
2491
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2492
2492
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2493
2493
|
},
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PCKWLYKA.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-UOIVSNPI.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BASBBBNB.js";
|
|
31
31
|
import {
|
|
32
32
|
PARAKEET_MODEL_LABEL,
|
|
33
33
|
SHERPA_ERROR_PREFIX,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RECS6EGQ.js";
|
|
23
23
|
import {
|
|
24
24
|
MEDIA_LINK_ATTR,
|
|
25
25
|
relinkSplitHalves
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
requestedProjectPath,
|
|
33
33
|
requiredFfmpeg,
|
|
34
34
|
resolveLocalAudioPath
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-X2YBRPCM.js";
|
|
36
36
|
import {
|
|
37
37
|
HistoryBusyError,
|
|
38
38
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -70,11 +70,11 @@ import {
|
|
|
70
70
|
scanProjectMedia,
|
|
71
71
|
shouldPrewarmProxy,
|
|
72
72
|
waitForProxy
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-P3XF3ZZF.js";
|
|
74
74
|
import {
|
|
75
75
|
probeAudioTrack,
|
|
76
76
|
probeMediaMetadata
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-3F6EGZ6C.js";
|
|
78
78
|
import {
|
|
79
79
|
STUDIO_MOTION_PATH,
|
|
80
80
|
createStudioMotionRenderBodyScript,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
ensureHfIds,
|
|
116
116
|
stampHfIdsInPlace,
|
|
117
117
|
stripSdrPngColourTags
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-KGM6VQ6D.js";
|
|
119
119
|
import {
|
|
120
120
|
GSAP_BASE_URL_META,
|
|
121
121
|
PREVIEW_PROXY_BOX_PARAM,
|
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
normalizeGsapLocalRoot,
|
|
133
133
|
parseFps,
|
|
134
134
|
parsePreviewProxyBox
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-DA6GOIIA.js";
|
|
136
136
|
import {
|
|
137
137
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
138
138
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
resolveRateSpec,
|
|
148
148
|
sourceTimeAt,
|
|
149
149
|
stripEmbeddedRuntimeScripts
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-2Q7XV4F6.js";
|
|
151
151
|
import {
|
|
152
152
|
ProjectRootMissingError,
|
|
153
153
|
folderGone,
|
|
@@ -5592,7 +5592,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5592
5592
|
let block = extractGsapScriptBlock(html);
|
|
5593
5593
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5594
5594
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5595
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5595
|
+
const { GSAP_CDN } = await import("./dist-KP2GVAQU.js");
|
|
5596
5596
|
const bootstrap = [
|
|
5597
5597
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5598
5598
|
"<script>",
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RHEQ7RXZ.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-OY2PKIWO.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -6,13 +6,13 @@ 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-MS2SDIPC.js";
|
|
10
10
|
import {
|
|
11
11
|
stripSdrPngColourTags
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KGM6VQ6D.js";
|
|
13
13
|
import {
|
|
14
14
|
injectTagsAtHeadStart
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2Q7XV4F6.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/compositionServer.ts
|
|
18
18
|
import { createHash } from "crypto";
|
|
@@ -10,19 +10,19 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
pageNavigationTimeoutMs,
|
|
12
12
|
windowsChromeCrashRemediation
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6CWSMSOC.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveCompositionViewportFromHtml
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NSKIGECI.js";
|
|
17
17
|
import {
|
|
18
18
|
launchManagedBrowser,
|
|
19
19
|
resolveManagedGpuMode,
|
|
20
20
|
rethrowAfterBrowserCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RIYARQ2O.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveLocalBrowserGpuMode,
|
|
24
24
|
resolveLocalWebGpu
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IZBJZBBF.js";
|
|
26
26
|
import {
|
|
27
27
|
c
|
|
28
28
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
assertWebGpuAdapterAvailable,
|
|
31
31
|
compositionRequiresWebGpu,
|
|
32
32
|
oneProcessOverPipe
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-YMKTEQIA.js";
|
|
34
34
|
import {
|
|
35
35
|
normalizeErrorMessage
|
|
36
36
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -138,7 +138,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
138
138
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
139
139
|
});
|
|
140
140
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
141
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
141
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-RDWYM4KF.js");
|
|
142
142
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
143
143
|
await waitForImagesReady(
|
|
144
144
|
page,
|
|
@@ -187,7 +187,7 @@ async function installPageFunctionGuard(page) {
|
|
|
187
187
|
async function openSettledCompositionPage(html, url, options) {
|
|
188
188
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
189
189
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
190
|
-
const answer = (await import("./staticProjectServer-
|
|
190
|
+
const answer = (await import("./staticProjectServer-JCGTNF4E.js")).inProcessAnswer(url);
|
|
191
191
|
const noListen = answer !== void 0;
|
|
192
192
|
let chromeBrowser;
|
|
193
193
|
try {
|
|
@@ -198,7 +198,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
198
198
|
options.onBrowserReady?.();
|
|
199
199
|
const page = await chromeBrowser.newPage();
|
|
200
200
|
await installPageFunctionGuard(page);
|
|
201
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
201
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-RDWYM4KF.js");
|
|
202
202
|
await installMediaRenderIdBridge(page);
|
|
203
203
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
204
204
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -216,10 +216,10 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
216
216
|
}
|
|
217
217
|
async function launchCompositionBrowser(html, noListen, options) {
|
|
218
218
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
219
|
-
const { ensureBrowser, findSystemBrowser } = await import("./manager-
|
|
219
|
+
const { ensureBrowser, findSystemBrowser } = await import("./manager-ENFYM32B.js");
|
|
220
220
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
221
221
|
const puppeteer = await import("puppeteer-core");
|
|
222
|
-
const { buildChromeArgs } = await import("./src-
|
|
222
|
+
const { buildChromeArgs } = await import("./src-RDWYM4KF.js");
|
|
223
223
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
224
224
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
225
225
|
let softwareWebGpu = false;
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loadProducer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6A7DOGSP.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectRelativeSrc
|
|
12
12
|
} from "./chunk-PBNWRWKA.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/projectMedia.ts
|
|
15
15
|
async function collectProjectMedia(projectDir) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-SV2WYWTI.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir);
|
|
18
18
|
const producer = await loadProducer();
|
|
19
19
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
probeFirstFrameColour,
|
|
9
9
|
probeMediaMetadata
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3F6EGZ6C.js";
|
|
11
11
|
import {
|
|
12
12
|
alphaDecoderFor
|
|
13
13
|
} from "./chunk-5S7W3TUO.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
formatPreviewProxyBox,
|
|
16
16
|
hdrToSdrToneMapFilter,
|
|
17
17
|
isHeavyForPreview
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DA6GOIIA.js";
|
|
19
19
|
import {
|
|
20
20
|
mkdirWithinProject,
|
|
21
21
|
realProjectRoot,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-J74ZUXVU.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UOIVSNPI.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_MODEL,
|
|
15
15
|
ensureModel,
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
hasFFmpeg,
|
|
18
18
|
pinnedWhisperModel,
|
|
19
19
|
sha256File
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BASBBBNB.js";
|
|
21
21
|
import {
|
|
22
22
|
findFFmpeg,
|
|
23
23
|
findFFprobe,
|
|
24
24
|
getFFmpegInstallHint
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-A32ZEFZT.js";
|
|
26
26
|
import {
|
|
27
27
|
findWavChunk
|
|
28
28
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-A32ZEFZT.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RIYARQ2O.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YMKTEQIA.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -391,7 +391,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
391
391
|
}
|
|
392
392
|
async function probeMedia(inputPath) {
|
|
393
393
|
const isImage = inferInputKind(inputPath) === "image";
|
|
394
|
-
const engine = await import("./src-
|
|
394
|
+
const engine = await import("./src-RDWYM4KF.js");
|
|
395
395
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
396
396
|
if (isImage) {
|
|
397
397
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KGM6VQ6D.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DA6GOIIA.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
23
|
} from "./chunk-MHZB6QSC.js";
|
|
@@ -6,23 +6,23 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FK5TW3IM.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NYSB3CWY.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6CWSMSOC.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NSKIGECI.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-RIYARQ2O.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
} from "./chunk-2GICKZ3I.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveNaturalMediaTimelineDuration
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2Q7XV4F6.js";
|
|
35
35
|
import {
|
|
36
36
|
decodeWellFormedEscapes
|
|
37
37
|
} from "./chunk-KSC4O2RY.js";
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-OURH3TLX.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -252,7 +252,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
252
252
|
async function localizeRemoteAssets(html) {
|
|
253
253
|
let dir;
|
|
254
254
|
try {
|
|
255
|
-
const { loadProducer } = await import("./producer-
|
|
255
|
+
const { loadProducer } = await import("./producer-IRENEI2Y.js");
|
|
256
256
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
257
257
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
258
258
|
const assetDir = dir;
|
|
@@ -273,9 +273,9 @@ async function localizeRemoteAssets(html) {
|
|
|
273
273
|
}
|
|
274
274
|
async function validateInBrowser(project, opts) {
|
|
275
275
|
const projectDir = project.dir;
|
|
276
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
277
|
-
const { ensureBrowser } = await import("./manager-
|
|
278
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
276
|
+
const { bundleToSingleHtml } = await import("./compiler-SV2WYWTI.js");
|
|
277
|
+
const { ensureBrowser } = await import("./manager-ENFYM32B.js");
|
|
278
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-JCGTNF4E.js");
|
|
279
279
|
const { lintProject } = await import("./lintProject-I4XPWIQZ.js");
|
|
280
280
|
const lintResult = await lintProject(projectDir);
|
|
281
281
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
@@ -297,9 +297,9 @@ async function validateInBrowser(project, opts) {
|
|
|
297
297
|
try {
|
|
298
298
|
const browser = await ensureBrowser();
|
|
299
299
|
const puppeteer = await import("puppeteer-core");
|
|
300
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
300
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-RDWYM4KF.js");
|
|
301
301
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
302
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
302
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-7TSXQHK4.js");
|
|
303
303
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
304
304
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
305
305
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -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-33HQE43K.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -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-IZBJZBBF.js";
|
|
10
10
|
import {
|
|
11
11
|
explainChromeLaunchFailure,
|
|
12
12
|
inAgentSandbox,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
oneProcessOverPipe,
|
|
16
16
|
pipeLaunchClosedOnMac,
|
|
17
17
|
sandboxDeniedRemediation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YMKTEQIA.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.js";
|