hyperframes 0.8.217 → 0.8.219
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-AXTSRFNT.js → add-2MXC4QCY.js} +6 -6
- package/dist/{agentPromptGenerator-52346WSZ.js → agentPromptGenerator-FIT75HWJ.js} +5 -5
- package/dist/{animatedGifPrep-WZHO7ZUA.js → animatedGifPrep-MFUNECD3.js} +5 -5
- package/dist/api.js +16 -16
- package/dist/{asset-T2CE34TV.js → asset-T6BI53SJ.js} +2 -2
- package/dist/{assetCataloger-2KABZLU3.js → assetCataloger-DP4SHXWI.js} +6 -6
- package/dist/{audio-6I2AK3TZ.js → audio-SRQLO7BP.js} +14 -14
- package/dist/{auth-B3LLOMAG.js → auth-JONDB26P.js} +8 -7
- package/dist/{autoUpdate-TTY4BTMM.js → autoUpdate-YKJOOXCI.js} +2 -2
- package/dist/{backgroundChecks-WKW5CTCV.js → backgroundChecks-GSTIIVNR.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{beats-5WAAC5HT.js → beats-OOVMTM4B.js} +9 -9
- package/dist/{benchmark-KFYDNWZ7.js → benchmark-WBFYHOSI.js} +7 -7
- package/dist/{browser-LK4FYQXO.js → browser-AZZAO24H.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-NRY45OIW.js → bundleWithLocalizedFonts-GP4MD6DJ.js} +2 -2
- package/dist/{capture-DXRZI2WW.js → capture-MGRV5VWE.js} +11 -11
- package/dist/{capture-SCXKM2WO.js → capture-PN7GEEAB.js} +3 -3
- package/dist/{captureCompositionFrame-NDQEZBHR.js → captureCompositionFrame-JYGGPKFZ.js} +8 -8
- package/dist/{catalog-7WRGMHVI.js → catalog-D42NLFZT.js} +6 -6
- package/dist/{catch-up-6QEJHTFF.js → catch-up-TUL26VOB.js} +5 -5
- package/dist/{check-HNONMHQD.js → check-DBBH7DI3.js} +30 -30
- package/dist/{checkAudio-OLNSZWWX.js → checkAudio-UJ7XTDRD.js} +8 -8
- package/dist/{checkBrowser-L2L2EEJD.js → checkBrowser-3YIZYXIR.js} +24 -24
- package/dist/{chunk-6YGTOBXW.js → chunk-2UT32TJS.js} +1 -1
- package/dist/{chunk-4JHZBIBW.js → chunk-33XQUQKN.js} +1 -1
- package/dist/{chunk-UGQFQDSV.js → chunk-35JKCWYI.js} +1 -1
- package/dist/{chunk-2Q4CL6AB.js → chunk-3KDODK5M.js} +4 -1
- package/dist/{chunk-OQRO2MEK.js → chunk-3MTNYVWM.js} +2 -2
- package/dist/{chunk-YQY4KVP4.js → chunk-3VIICMJF.js} +1 -1
- package/dist/{chunk-PNBH4ZY7.js → chunk-473HMKSC.js} +2 -2
- package/dist/{chunk-CH4RRRGC.js → chunk-4OWVRHSV.js} +5 -5
- package/dist/{chunk-K2666FKT.js → chunk-542VETC5.js} +1 -1
- package/dist/{chunk-2JUNPJUM.js → chunk-576ATOOU.js} +2 -2
- package/dist/{chunk-UQSBVZ3H.js → chunk-5UIODBMI.js} +7 -4
- package/dist/{chunk-VS7G457O.js → chunk-64MFJSGZ.js} +1 -1
- package/dist/{chunk-H47FQDFU.js → chunk-7ZRXSZF6.js} +1 -1
- package/dist/{chunk-VAS6HQX3.js → chunk-BIROA7JM.js} +32 -3
- package/dist/{chunk-ESZ6YPQM.js → chunk-BKHRAHV6.js} +2 -2
- package/dist/{chunk-DEWCAOOL.js → chunk-BRU66Q24.js} +2 -2
- package/dist/{chunk-KH5XMMSM.js → chunk-BT5UT4XT.js} +2 -2
- package/dist/{chunk-XN22HGE7.js → chunk-C2G23WQQ.js} +1 -1
- package/dist/{chunk-3MUFCWGK.js → chunk-CBZN5JIK.js} +3 -3
- package/dist/{chunk-3C6O5HV2.js → chunk-CPKBAMI3.js} +12 -12
- package/dist/{chunk-OV6MUGZI.js → chunk-DMUDI5IH.js} +2 -2
- package/dist/{chunk-5HGUY24Y.js → chunk-DWMI7CKI.js} +1 -1
- package/dist/{chunk-JY27IRDR.js → chunk-FAIFPYRO.js} +1 -1
- package/dist/{chunk-3YCAGPZK.js → chunk-FC7QIE5X.js} +21 -21
- package/dist/{chunk-NWD2KKM5.js → chunk-FWWJRJB5.js} +1 -1
- package/dist/{chunk-WKNWKORX.js → chunk-G2E2DHH2.js} +3 -3
- package/dist/{chunk-QRIC4WOO.js → chunk-G7ZTD2KJ.js} +9 -3
- package/dist/{chunk-R7EB4M5P.js → chunk-GGDVZ7O4.js} +9 -9
- package/dist/{chunk-QY7RG6K3.js → chunk-GP5X7V6U.js} +1 -1
- package/dist/{chunk-L4BRJVGC.js → chunk-IGZHC55Z.js} +2 -2
- package/dist/{chunk-62ER6HGC.js → chunk-ILCIWNPQ.js} +1 -1
- package/dist/{chunk-7VZEOCUY.js → chunk-J74ZUXVU.js} +1 -1
- package/dist/{chunk-5SZ2HRCW.js → chunk-JH2AO4ZW.js} +1 -1
- package/dist/{chunk-5CXGDO74.js → chunk-KENUKJRG.js} +2 -2
- package/dist/{chunk-P42DLWIY.js → chunk-KK5MZQXG.js} +2 -2
- package/dist/{chunk-URKDBFZV.js → chunk-KUQOUWJ4.js} +2 -2
- package/dist/{chunk-ST5EBZTO.js → chunk-LGMRZWJS.js} +9 -3
- package/dist/{chunk-O44FYXH5.js → chunk-LIWBGRPD.js} +2 -2
- package/dist/{chunk-Z3HHAFEP.js → chunk-LJUFR7G5.js} +4 -4
- package/dist/{chunk-UVXIJYZY.js → chunk-MESSJFK3.js} +249 -298
- package/dist/{chunk-JF3RF6GS.js → chunk-MHZB6QSC.js} +1 -1
- package/dist/{chunk-CBCZBHGK.js → chunk-NHXGFQWQ.js} +2 -2
- package/dist/{chunk-WGHUHNXI.js → chunk-NP2QEAEW.js} +7 -7
- package/dist/{chunk-JMGMOK4Z.js → chunk-O7YOS36L.js} +12 -5
- package/dist/{chunk-W2LKSBX5.js → chunk-QE5JXNSW.js} +24 -17
- package/dist/{chunk-KLGJ2R4V.js → chunk-QEKP7XCN.js} +2 -2
- package/dist/{chunk-TCVI4ZGS.js → chunk-TCV7N2UY.js} +1 -1
- package/dist/{chunk-5XDKFCEI.js → chunk-TNQ4SSTR.js} +6 -6
- package/dist/{chunk-G35NVFZF.js → chunk-U2EUCTYQ.js} +4 -4
- package/dist/{chunk-RLT45AWC.js → chunk-UDBW6TK4.js} +1 -1
- package/dist/{chunk-V4AS2BNU.js → chunk-UGDLT4LZ.js} +3 -3
- package/dist/{chunk-HPRR3WD7.js → chunk-UR6L2DXM.js} +14 -10
- package/dist/chunk-VLA6UJGH.js +139 -0
- package/dist/{chunk-64TWYU4M.js → chunk-VO7IEWOH.js} +5 -5
- package/dist/{chunk-MK4R3APQ.js → chunk-VP5KECBU.js} +1 -1
- package/dist/{chunk-UZPWLXO6.js → chunk-WUABYDXU.js} +1 -1
- package/dist/{chunk-MGZKDR6R.js → chunk-XUOLKUE7.js} +1 -1
- package/dist/{chunk-EAUUGY4R.js → chunk-XUTPVELE.js} +3 -3
- package/dist/{chunk-42K4JLQO.js → chunk-XXLG7GCA.js} +1 -1
- package/dist/{chunk-PPMLF76Z.js → chunk-YSTBSLWY.js} +1 -1
- package/dist/{chunk-TDNZIFJ2.js → chunk-YXZ56JUN.js} +2 -2
- package/dist/{chunk-LPJMACTI.js → chunk-Z537IJJH.js} +4 -4
- package/dist/{clean-2CK4S5ES.js → clean-YERX334S.js} +16 -16
- package/dist/cli.js +53 -53
- package/dist/{cloud-QRSJMVGW.js → cloud-5XFWROJK.js} +4 -4
- package/dist/commands/layout-audit.browser.js +25 -1
- package/dist/{compare-ASV5QBD2.js → compare-THYM62NL.js} +21 -21
- package/dist/{compiler-CG2EXM75.js → compiler-SLKHXYCO.js} +3 -3
- package/dist/{component-24XLTKUQ.js → component-N4FFNYA5.js} +3 -3
- package/dist/{compositions-AN7ETEKG.js → compositions-XCM3Z65K.js} +10 -10
- package/dist/{delete-OMKQ3XTL.js → delete-6PIKDOKV.js} +6 -6
- package/dist/{deploy-3M6QRT2H.js → deploy-PT77AP6G.js} +1 -1
- package/dist/{dist-KXFW5H5Q.js → dist-XXBCSQYF.js} +2 -2
- package/dist/{doctor-ABYFP2LY.js → doctor-KLDSXKUM.js} +10 -10
- package/dist/{events-P5AFL2VZ.js → events-KEJFQQDQ.js} +4 -4
- package/dist/{events-64QVWKTU.js → events-OHISH3KL.js} +3 -3
- package/dist/{feedback-LQ2TT4XL.js → feedback-VTLWYGLQ.js} +9 -9
- package/dist/{ffmpeg-Y6NMFQ5J.js → ffmpeg-SG3AYA6M.js} +5 -5
- package/dist/{figma-R75KTFW4.js → figma-5AHFOYPG.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-KB67C2T7.js → get-5VTBUZIR.js} +6 -6
- package/dist/{gpuPolicy-4ERRTA5U.js → gpuPolicy-ODODH5JV.js} +5 -5
- package/dist/{grade-compare-NPVETP7T.js → grade-compare-25HQJORH.js} +22 -22
- package/dist/{heifImagePrep-ABLYQMTO.js → heifImagePrep-SPBGWX2L.js} +6 -6
- package/dist/{help-ZNJG5OJO.js → help-3AZ4ZSWZ.js} +1 -1
- package/dist/{history-HUBQPMLX.js → history-KZFZ2MJI.js} +7 -7
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-KDSQGWE5.js → info-XNYSD2SN.js} +6 -6
- package/dist/{init-QEPNUQB2.js → init-C76MX2UE.js} +23 -23
- package/dist/{inspect-27GJ5ZUI.js → inspect-OWDJTC64.js} +22 -22
- package/dist/{keyframes-E2NNHMNK.js → keyframes-ZBIWACNT.js} +7 -7
- package/dist/{lambda-QQ2VVPRQ.js → lambda-XS3E4XSL.js} +6 -6
- package/dist/{layout-NQQZ5KR7.js → layout-HLU3IVDX.js} +22 -22
- package/dist/{lint-DUYKX36O.js → lint-DUJ5PM56.js} +9 -9
- package/dist/{lintProject-SZIPPOJR.js → lintProject-I4XPWIQZ.js} +2 -2
- package/dist/{list-HIZY6RSP.js → list-KRDQLHDH.js} +6 -6
- package/dist/{localPage-U2RMKIMN.js → localPage-KXNSCQIQ.js} +5 -5
- package/dist/{login-CLP2ZTEW.js → login-4P7LCOB5.js} +9 -8
- package/dist/{logout-CXGSSQ4Q.js → logout-6VFJ7WMW.js} +4 -4
- package/dist/{manager-LXWVBDLM.js → manager-I4ROBMYK.js} +1 -1
- package/dist/{manager-CXRLWAKH.js → manager-USFB6SE2.js} +6 -6
- package/dist/{media-treatment-GSWIAGS4.js → media-treatment-JOZB3MTT.js} +12 -12
- package/dist/{media-use-ZRHFRO46.js → media-use-ZNTB7W6N.js} +85 -10
- package/dist/{models-TPHYQXOL.js → models-RZRXHIER.js} +9 -9
- package/dist/{motionShot-7UX4TKHZ.js → motionShot-3SHLRT3L.js} +12 -12
- package/dist/{normalize-audio-WBTJDFS7.js → normalize-audio-SL2ATLJM.js} +16 -10
- package/dist/{open-P7Z2PIPR.js → open-TCGY4NB2.js} +5 -5
- package/dist/{parakeetRunner-F2OX525D.js → parakeetRunner-ZBO4LR7M.js} +11 -11
- package/dist/{pipeline-2ZDZGL4J.js → pipeline-7D36B3FW.js} +8 -8
- package/dist/{play-YCH7MRNX.js → play-CTBPJFBX.js} +15 -15
- package/dist/{preflight-MTMSPVCR.js → preflight-GFWIOUO3.js} +7 -7
- package/dist/{present-L4HNZ2HU.js → present-GXOHUNFP.js} +15 -15
- package/dist/{preview-RWX74O5J.js → preview-BWCEXEII.js} +12 -12
- package/dist/{producer-UI4FXLPQ.js → producer-UME4Q4HH.js} +1 -1
- package/dist/{publish-T56AYTZU.js → publish-ZGW46SKV.js} +9 -9
- package/dist/{refresh-VJ4FQVH2.js → refresh-I6ITGHKL.js} +5 -4
- package/dist/{remove-background-4Y56FLXV.js → remove-background-YSJ7XFPQ.js} +9 -9
- package/dist/{render-IJ7L24RF.js → render-Q2VLJGFV.js} +27 -27
- package/dist/{render-UBDIHGEG.js → render-QFIWTDK3.js} +18 -18
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{sherpa-6GOUBSP2.js → sherpa-YKK3LRSI.js} +10 -10
- package/dist/skills/hyperframes-cli/references/cloud.md +4 -4
- package/dist/skills/media-use/SKILL.md +3 -1
- package/dist/skills/media-use/audio/references/bgm.md +1 -1
- package/dist/skills/media-use/audio/references/requirements.md +9 -9
- package/dist/skills/media-use/audio/references/tts.md +11 -11
- package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/heygen-tts.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +23 -7
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +68 -10
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +2 -2
- package/dist/skills/media-use/references/operations.md +11 -9
- package/dist/skills/media-use/references/setup-providers.md +30 -30
- package/dist/skills/media-use/scripts/lib/heygen-cli.mjs +2 -2
- package/dist/skills/media-use/scripts/lib/telemetry.mjs +2 -1
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +49 -4
- package/dist/{skills-MAJGGJKJ.js → skills-5ENIWSB2.js} +6 -6
- package/dist/{skillsUpdateCheck-X6AIBUUG.js → skillsUpdateCheck-7GDJNW5A.js} +3 -3
- package/dist/{snapshot-JKKWQSMQ.js → snapshot-O3JXB3VM.js} +26 -26
- package/dist/{src-LAO5IGRI.js → src-6T5KES5G.js} +4 -4
- package/dist/{src-RIL5PHI6.js → src-MT7UQJT5.js} +7 -7
- package/dist/{staticProjectServer-YF5AZXGR.js → staticProjectServer-UP22EGMU.js} +11 -11
- package/dist/{status-TJFZFDGS.js → status-63BKLDVW.js} +40 -11
- package/dist/studio/assets/{hyperframes-player-Cf9gtxqa.js → hyperframes-player-B83GGznX.js} +1 -1
- package/dist/studio/assets/{index-zVoFhoyD.js → index-B9gVTopE.js} +4 -4
- package/dist/studio/assets/{index-CW5fPxU8.js → index-Ca_tSAqR.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-Q2U6752S.js → studio-api-Q6KSNU77.js} +8 -8
- package/dist/{studioServer-SPU4MINT.js → studioServer-44OR56TK.js} +36 -36
- package/dist/{telemetry-W7CBBWIN.js → telemetry-2N7DLYCQ.js} +4 -4
- package/dist/{timeline-L26OBLW2.js → timeline-MT56A3HB.js} +16 -16
- package/dist/{tokens-PNNCTOYV.js → tokens-V6O4I5IX.js} +2 -2
- package/dist/{transcribe-PPZFOWMB.js → transcribe-GGV4YEF3.js} +9 -9
- package/dist/{transcribe-XZCZTOPU.js → transcribe-ZCJ6WB6R.js} +16 -16
- package/dist/{updateCheck-SNRZKRO2.js → updateCheck-ZBBUGX3A.js} +2 -2
- package/dist/{upgrade-WEU5MYWF.js → upgrade-L7SM3TPB.js} +2 -2
- package/dist/{urlDownloader-55NQFDIH.js → urlDownloader-HTBT6K5N.js} +4 -4
- package/dist/{validate-4QEMOBFD.js → validate-WXKYRV2E.js} +20 -20
- package/dist/{video-VYOWJDYM.js → video-JH5WQC2I.js} +6 -6
- package/dist/warmCheck.js +30 -30
- package/package.json +1 -1
- package/dist/chunk-4WEWHZZO.js +0 -24
|
@@ -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-542VETC5.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-SLKHXYCO.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");
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UDBW6TK4.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-2N7DLYCQ.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-TSYRN646.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchLocalPageUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-C2G23WQQ.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureCaptureDirSync,
|
|
17
17
|
writeCaptureFileSync
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-AWDFDFI3.js";
|
|
26
26
|
import {
|
|
27
27
|
isBlockedNetworkHost
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YXZ56JUN.js";
|
|
29
29
|
import {
|
|
30
30
|
DOMParser,
|
|
31
31
|
parseHTML
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GP5X7V6U.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QEKP7XCN.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
|
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
86
|
import("./system-FDPS57FU.js"),
|
|
87
|
-
import("./ffmpeg-
|
|
87
|
+
import("./ffmpeg-SG3AYA6M.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
90
90
|
const parts = [
|
|
@@ -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-FWWJRJB5.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GGDVZ7O4.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ILCIWNPQ.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
21
|
} from "./chunk-RYBFHEMZ.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KENUKJRG.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-7ZRXSZF6.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-UME4Q4HH.js");
|
|
256
256
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
257
257
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
258
258
|
const assetDir = dir;
|
|
@@ -273,10 +273,10 @@ 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-
|
|
279
|
-
const { lintProject } = await import("./lintProject-
|
|
276
|
+
const { bundleToSingleHtml } = await import("./compiler-SLKHXYCO.js");
|
|
277
|
+
const { ensureBrowser } = await import("./manager-I4ROBMYK.js");
|
|
278
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-UP22EGMU.js");
|
|
279
|
+
const { lintProject } = await import("./lintProject-I4XPWIQZ.js");
|
|
280
280
|
const lintResult = await lintProject(projectDir);
|
|
281
281
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
282
282
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -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-6T5KES5G.js");
|
|
301
301
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
302
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
302
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-ODODH5JV.js");
|
|
303
303
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
304
304
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
305
305
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -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.219" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.219" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -17,17 +17,17 @@ import {
|
|
|
17
17
|
finishCheckSnapshots,
|
|
18
18
|
preResolveHostileMediaProxies,
|
|
19
19
|
rectToBbox
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UR6L2DXM.js";
|
|
21
21
|
import {
|
|
22
22
|
collectProjectMedia,
|
|
23
23
|
mediaPath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BKHRAHV6.js";
|
|
25
25
|
import {
|
|
26
26
|
captureArtifactRevision
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-FAIFPYRO.js";
|
|
28
28
|
import {
|
|
29
29
|
trackLintRun
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-XUTPVELE.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-QE5JXNSW.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-FWWJRJB5.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-KENUKJRG.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveLocalBrowserGpuMode
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-473HMKSC.js";
|
|
76
76
|
import {
|
|
77
77
|
trackCheckReport,
|
|
78
78
|
trackCommandFailure
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-GP5X7V6U.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-YXZ56JUN.js";
|
|
99
99
|
import {
|
|
100
100
|
lintProject,
|
|
101
101
|
shouldBlockRender
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-MHZB6QSC.js";
|
|
103
103
|
import {
|
|
104
104
|
withMeta
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-7ZRXSZF6.js";
|
|
106
106
|
import {
|
|
107
107
|
recordLastCheck
|
|
108
108
|
} from "./chunk-BLBMPEBX.js";
|
|
@@ -2247,7 +2247,7 @@ function filterComponentReport(report, options) {
|
|
|
2247
2247
|
return report;
|
|
2248
2248
|
}
|
|
2249
2249
|
function shapeLayoutSection(issues, browser, options) {
|
|
2250
|
-
const shaped = shapeLayoutFindings(issues, options, browser.layoutSamples
|
|
2250
|
+
const shaped = shapeLayoutFindings(issues, options, browser.layoutSamples);
|
|
2251
2251
|
return {
|
|
2252
2252
|
...section(shaped.findings),
|
|
2253
2253
|
duration: browser.duration,
|
|
@@ -2259,9 +2259,9 @@ function shapeLayoutSection(issues, browser, options) {
|
|
|
2259
2259
|
truncated: shaped.truncated
|
|
2260
2260
|
};
|
|
2261
2261
|
}
|
|
2262
|
-
function shapeLayoutFindings(issues, options,
|
|
2262
|
+
function shapeLayoutFindings(issues, options, sampleTimes) {
|
|
2263
2263
|
const deduped = dedupeLayoutIssues(issues);
|
|
2264
|
-
const all = options.collapseStatic ? collapseStaticLayoutIssues(deduped,
|
|
2264
|
+
const all = options.collapseStatic ? collapseStaticLayoutIssues(deduped, sampleTimes?.length, sampleTimes) : deduped;
|
|
2265
2265
|
const anchored = all.map(ensureAnchoredLayoutIssue);
|
|
2266
2266
|
let grouped = anchored;
|
|
2267
2267
|
if (options.collapseStatic) {
|
|
@@ -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-3YIZYXIR.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-JYGGPKFZ.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-3YIZYXIR.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-3YIZYXIR.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-UJ7XTDRD.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-GP4MD6DJ.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-U2EUCTYQ.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DWMI7CKI.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3VIICMJF.js";
|
|
31
31
|
import {
|
|
32
32
|
PARAKEET_MODEL_LABEL,
|
|
33
33
|
SHERPA_ERROR_PREFIX,
|
|
@@ -717,7 +717,7 @@ function moveStagedInstallIntoCache(stagingDir, staged) {
|
|
|
717
717
|
if (replaced) renameSync(aside, target);
|
|
718
718
|
throw err;
|
|
719
719
|
}
|
|
720
|
-
if (replaced)
|
|
720
|
+
if (replaced) removeLeftover(aside);
|
|
721
721
|
return join(target, relative(staged.path, staged.executablePath));
|
|
722
722
|
}
|
|
723
723
|
var STAGING_PREFIX = ".chrome-staging-";
|
|
@@ -732,10 +732,16 @@ function removeInstallLeftovers() {
|
|
|
732
732
|
throw err;
|
|
733
733
|
}
|
|
734
734
|
const leftovers = names.filter(isInstallLeftover);
|
|
735
|
-
for (const name of leftovers)
|
|
736
|
-
rmSync(join(CACHE_ROOT_DIR, name), { recursive: true, force: true });
|
|
735
|
+
for (const name of leftovers) removeLeftover(join(CACHE_ROOT_DIR, name));
|
|
737
736
|
return leftovers.length > 0;
|
|
738
737
|
}
|
|
738
|
+
function removeLeftover(path) {
|
|
739
|
+
try {
|
|
740
|
+
rmSync(path, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
741
|
+
} catch (err) {
|
|
742
|
+
if (!isErrno(err, "EBUSY") && !isErrno(err, "EPERM")) throw err;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
739
745
|
async function sweepKilledInstalls() {
|
|
740
746
|
const names = existsSync(CACHE_ROOT_DIR) ? readdirSync(CACHE_ROOT_DIR) : [];
|
|
741
747
|
if (!names.some(isInstallLeftover)) return;
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
pageNavigationTimeoutMs,
|
|
12
12
|
windowsChromeCrashRemediation
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ILCIWNPQ.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveCompositionViewportFromHtml
|
|
16
16
|
} from "./chunk-RYBFHEMZ.js";
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
launchManagedBrowser,
|
|
19
19
|
resolveManagedGpuMode,
|
|
20
20
|
rethrowAfterBrowserCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KENUKJRG.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveLocalBrowserGpuMode,
|
|
24
24
|
resolveLocalWebGpu
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-473HMKSC.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-YXZ56JUN.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-6T5KES5G.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-UP22EGMU.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-6T5KES5G.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-I4ROBMYK.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-6T5KES5G.js");
|
|
223
223
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
224
224
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
225
225
|
let softwareWebGpu = false;
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
RegistryCompatibilityError,
|
|
12
12
|
gateRegistryItemsCompatibility
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2UT32TJS.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_PROJECT_CONFIG,
|
|
16
16
|
createProjectConfig,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-YATFRFNH.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-GP5X7V6U.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -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-473HMKSC.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-YXZ56JUN.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.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-TNQ4SSTR.js";
|
|
10
10
|
import {
|
|
11
11
|
stripSdrPngColourTags
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3KDODK5M.js";
|
|
13
13
|
import {
|
|
14
14
|
injectTagsAtHeadStart
|
|
15
15
|
} from "./chunk-4I7KQWZS.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
probeFirstFrameColour,
|
|
9
9
|
probeMediaMetadata
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JH2AO4ZW.js";
|
|
11
11
|
import {
|
|
12
12
|
alphaDecoderFor
|
|
13
13
|
} from "./chunk-5S7W3TUO.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-OFQWTKPW.js";
|
|
24
24
|
import {
|
|
25
25
|
findFfBinary
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BIROA7JM.js";
|
|
27
27
|
import {
|
|
28
28
|
cleanAssetUrl,
|
|
29
29
|
isRemoteOrInlineUrl,
|
|
@@ -6,13 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getCachedGpuEncoder
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YXZ56JUN.js";
|
|
10
10
|
import {
|
|
11
11
|
runCancellableProcess
|
|
12
12
|
} from "./chunk-X6JUUQCM.js";
|
|
13
13
|
import {
|
|
14
|
-
findFfBinary
|
|
15
|
-
|
|
14
|
+
findFfBinary,
|
|
15
|
+
getSkippedX86Binary
|
|
16
|
+
} from "./chunk-BIROA7JM.js";
|
|
16
17
|
import {
|
|
17
18
|
detectWsl
|
|
18
19
|
} from "./chunk-7KDQAD2W.js";
|
|
@@ -238,6 +239,11 @@ function getFFmpegInstallCommand() {
|
|
|
238
239
|
}
|
|
239
240
|
}
|
|
240
241
|
function getFFmpegInstallHint() {
|
|
242
|
+
const skipped = getSkippedX86Binary();
|
|
243
|
+
const base = installHint();
|
|
244
|
+
return skipped ? `${base} (ignored ${skipped}: x86_64 only, it cannot run on this Mac)` : base;
|
|
245
|
+
}
|
|
246
|
+
function installHint() {
|
|
241
247
|
const command = getFFmpegInstallCommand();
|
|
242
248
|
if (command && process.platform === "win32") {
|
|
243
249
|
return `${command}, or download the 64-bit build from ${FFMPEG_DOWNLOAD_URL}#build-windows and add its bin/ directory to PATH.`;
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3KDODK5M.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-AU7VGKCP.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MHZB6QSC.js";
|
|
24
24
|
import {
|
|
25
25
|
readClipTiming,
|
|
26
26
|
readMediaOffsetSeconds,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TNQ4SSTR.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KUQOUWJ4.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
24
|
} from "./chunk-RYBFHEMZ.js";
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
} from "./chunk-BRYOYBO5.js";
|
|
28
28
|
import {
|
|
29
29
|
listenOnBrowserSafePort
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-YXZ56JUN.js";
|
|
31
31
|
import {
|
|
32
32
|
stripSdrPngColourTags
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-3KDODK5M.js";
|
|
34
34
|
import {
|
|
35
35
|
PREVIEW_PROXY_BOX_PARAM,
|
|
36
36
|
parsePreviewProxyBox
|