hyperframes 0.8.195 → 0.8.196
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-NL6XABRV.js → add-JC7CRYAY.js} +12 -12
- package/dist/{animatedGifPrep-JD4BBM2L.js → animatedGifPrep-5GSLZQUS.js} +6 -6
- package/dist/api.js +14 -14
- package/dist/{asset-LRRHLG4L.js → asset-MM3F46VS.js} +2 -2
- package/dist/{assetCataloger-D7KGO346.js → assetCataloger-G2ZIBRML.js} +6 -6
- package/dist/{audio-34CZM4HF.js → audio-TTZ4OR5A.js} +12 -12
- package/dist/{auth-FL5ZMOXB.js → auth-TFOUDLSS.js} +1 -1
- package/dist/{autoUpdate-FZTJFLIH.js → autoUpdate-EIHQFY7Y.js} +2 -2
- package/dist/{backgroundChecks-6ZKDCQET.js → backgroundChecks-SXRES7MW.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-KDZ4F4QT.js → batchRender-GH2HQQKN.js} +4 -4
- package/dist/{beats-7PK677VR.js → beats-VYH72TGV.js} +8 -8
- package/dist/{benchmark-LO36QH5D.js → benchmark-72KJLRAY.js} +9 -9
- package/dist/{browser-3F7NDHU2.js → browser-3O7SAXSC.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-JL5J52L6.js → bundleWithLocalizedFonts-CJL3HHSF.js} +2 -2
- package/dist/{capture-DOP3ONNZ.js → capture-H33B5WVR.js} +9 -9
- package/dist/{capture-JOSZZYUW.js → capture-NQAJRPLR.js} +2 -2
- package/dist/{captureCompositionFrame-SWZ4GEJP.js → captureCompositionFrame-HPIRZNGK.js} +11 -11
- package/dist/{catalog-EZLHZMLM.js → catalog-KMNTCN55.js} +12 -12
- package/dist/{catch-up-6B7VY43I.js → catch-up-Q367WUGC.js} +4 -4
- package/dist/{check-QGELCBBF.js → check-NQIN7ZQW.js} +35 -35
- package/dist/{checkBrowser-A5C2AB4L.js → checkBrowser-IECG4M6A.js} +30 -30
- package/dist/{chunk-7G2LQM3J.js → chunk-3OKZJYA7.js} +26 -17
- package/dist/{chunk-GOOE33GV.js → chunk-3VI6DSO6.js} +1 -1
- package/dist/{chunk-ZOJHEN3C.js → chunk-4VOUQCY6.js} +1 -1
- package/dist/{chunk-B7Y2DGU6.js → chunk-5MPWOFWO.js} +1 -1
- package/dist/{chunk-SC6NILKD.js → chunk-62DVCRMX.js} +1 -1
- package/dist/{chunk-KJ6ZQL34.js → chunk-6RNGEUL3.js} +1 -1
- package/dist/{chunk-F4T7XYMF.js → chunk-DHSNTPEW.js} +1 -1
- package/dist/{chunk-RZUEXJRC.js → chunk-DMGXJRXV.js} +2 -2
- package/dist/{chunk-WUL5LPI2.js → chunk-DMMYNEAF.js} +1 -1
- package/dist/{chunk-3PYIQLPL.js → chunk-DTGW7DU3.js} +1 -1
- package/dist/{chunk-ST35C4K6.js → chunk-DY53XJ3P.js} +1 -1
- package/dist/{chunk-4R2NWLQL.js → chunk-E7NEF2SC.js} +1 -1
- package/dist/{chunk-ORZMO6NY.js → chunk-E7S6OJFP.js} +2 -2
- package/dist/{chunk-NOHH25WS.js → chunk-EWXXMXNE.js} +2 -2
- package/dist/{chunk-GKMRLES4.js → chunk-FHRZK527.js} +1 -1
- package/dist/{chunk-ROEW726S.js → chunk-FMTJ4I6I.js} +1 -1
- package/dist/{chunk-BBXZPDEA.js → chunk-GHNIESBY.js} +2 -2
- package/dist/{chunk-D6XDOYMB.js → chunk-I452OMM7.js} +1 -1
- package/dist/{chunk-CCZMCX3F.js → chunk-I7BLPFXV.js} +1 -1
- package/dist/{chunk-IZR7U27Z.js → chunk-IHGQEF3Z.js} +47 -16
- package/dist/{chunk-2HSRLKZR.js → chunk-IO5NBG26.js} +3 -3
- package/dist/{chunk-VNWX5GBF.js → chunk-IYSIQ4GX.js} +3 -2
- package/dist/{chunk-P5X5URNQ.js → chunk-JCBZI47W.js} +1 -1
- package/dist/{chunk-FWDDLW2H.js → chunk-JI7J3FTM.js} +2 -2
- package/dist/{chunk-OB4GJZTY.js → chunk-JL2PX5P2.js} +1 -1
- package/dist/{chunk-NKNRVPNV.js → chunk-KCFKFKCU.js} +2 -2
- package/dist/{chunk-7DFIVUOW.js → chunk-KLOMOKJC.js} +5 -5
- package/dist/{chunk-HTLCE7M2.js → chunk-L7UPBREN.js} +17 -17
- package/dist/{chunk-HT33OHQL.js → chunk-LP6SFIWQ.js} +1 -1
- package/dist/{chunk-GJG4CTXD.js → chunk-MK6FWMMF.js} +2 -2
- package/dist/chunk-MXT76SSV.js +3901 -0
- package/dist/{chunk-KVLGJJTE.js → chunk-MYVC3XTH.js} +5 -5
- package/dist/{chunk-W4SSWOOD.js → chunk-NCSX7WNM.js} +2 -2
- package/dist/{chunk-YUFECVHG.js → chunk-NTMKBXWW.js} +1 -1
- package/dist/{chunk-ES7KSCSO.js → chunk-PBHFZXYP.js} +9 -9
- package/dist/{chunk-OJNNKHAZ.js → chunk-PGDWNIOK.js} +7 -2
- package/dist/{chunk-E527A6RS.js → chunk-PTRDO7J4.js} +2 -2
- package/dist/{chunk-3OAFRLD3.js → chunk-QK2MZ2SF.js} +11 -8
- package/dist/{chunk-7PXVXRVX.js → chunk-QSJUDSIC.js} +9 -9
- package/dist/{chunk-2OYYNKJ4.js → chunk-QXPZGDTI.js} +1 -1
- package/dist/{chunk-W7GMPEY3.js → chunk-RASESH32.js} +10 -10
- package/dist/{chunk-XOUWCZHD.js → chunk-REOE2ZEO.js} +1 -1
- package/dist/{chunk-YFTO5YD7.js → chunk-REPDGLLY.js} +5 -5
- package/dist/{chunk-ZAVUASNT.js → chunk-RP7QRLSK.js} +1 -1
- package/dist/{chunk-SMROKE63.js → chunk-TGHMJIHK.js} +2 -2
- package/dist/{chunk-TE6VGYHQ.js → chunk-TR7CDEU7.js} +1 -1
- package/dist/{chunk-YSXCPSJ4.js → chunk-TWHNETZP.js} +3 -3
- package/dist/{chunk-IA7HZ4CM.js → chunk-UPPAKDU3.js} +3 -3
- package/dist/{chunk-2G6JZJAV.js → chunk-VAS2EQRM.js} +2 -2
- package/dist/{chunk-XC7SJ2UR.js → chunk-VFDLKZJZ.js} +3 -3
- package/dist/{chunk-E74JMKSK.js → chunk-VKFHSZYS.js} +2 -2
- package/dist/{chunk-CZNSLFYD.js → chunk-VLVQQJOX.js} +14 -7
- package/dist/{chunk-ZL6ZCLY6.js → chunk-W226NPSC.js} +1 -1
- package/dist/{chunk-HJINEUHY.js → chunk-WFHA6WC3.js} +2 -2
- package/dist/{chunk-6ORTRIDW.js → chunk-WJJ6TPC7.js} +3 -3
- package/dist/{chunk-L4BFXWHC.js → chunk-XJDMYIUI.js} +17 -17
- package/dist/{chunk-ELQ2QQC5.js → chunk-XLVUQGSA.js} +1 -1
- package/dist/{chunk-B7RJV74O.js → chunk-XOTUPVIF.js} +4 -0
- package/dist/{chunk-L2EBYFU7.js → chunk-XZE3IBMV.js} +1 -1
- package/dist/{chunk-RAACYYWX.js → chunk-YU22E6SG.js} +1 -1
- package/dist/{chunk-66Q27H72.js → chunk-Z43NJYG2.js} +2 -2
- package/dist/{chunk-7Y5RVQQ7.js → chunk-ZKIHZDNI.js} +3 -3
- package/dist/{chunk-636WBDXB.js → chunk-ZSREWHNW.js} +5 -5
- package/dist/{clean-PI4JLT6O.js → clean-HINDVP2J.js} +16 -16
- package/dist/cli.js +53 -53
- package/dist/{cloud-SQRY723M.js → cloud-TPFDYW6D.js} +4 -4
- package/dist/{cloudrun-VMPROR43.js → cloudrun-XI4YKOBA.js} +6 -6
- package/dist/{compare-EHX4APTP.js → compare-I7GD7WNG.js} +27 -27
- package/dist/{compiler-FZCJGGBF.js → compiler-K7SH7OZQ.js} +3 -3
- package/dist/{component-I75ZKJYH.js → component-FRH7UFTP.js} +3 -3
- package/dist/{compositions-YNYYUEQD.js → compositions-UQCJ7BG7.js} +10 -10
- package/dist/{delete-7BVTBKOC.js → delete-OTDM7JOD.js} +2 -2
- package/dist/{deploy-TUEEJP3W.js → deploy-L6JEPE2A.js} +1 -1
- package/dist/{deterministicFonts-RADD3BSX.js → deterministicFonts-RMA7GDJC.js} +2 -2
- package/dist/{dist-VVROHSP4.js → dist-FQBHBBKC.js} +3 -3
- package/dist/{doctor-53DSQFW4.js → doctor-RY44RTJD.js} +10 -10
- package/dist/{events-M6FIUDNQ.js → events-ALOHDCL3.js} +3 -3
- package/dist/{events-AD3U6E7I.js → events-JSL7JIXP.js} +2 -2
- package/dist/{feedback-7SQ7KKAR.js → feedback-FSICK4WO.js} +8 -8
- package/dist/{ffmpeg-3HSSPXS4.js → ffmpeg-FG7VOQTN.js} +6 -6
- package/dist/{figma-B5XII2BO.js → figma-CN2672XS.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-RZKNBIRD.js → get-C3OPJMWR.js} +2 -2
- package/dist/{gpuPolicy-77LOK3K6.js → gpuPolicy-AJX7YIAS.js} +6 -6
- package/dist/{grade-compare-K3YB3FQA.js → grade-compare-WQHSPAHD.js} +28 -28
- package/dist/{help-UM6INVL5.js → help-E3MX427C.js} +1 -1
- package/dist/{history-EWKPACWR.js → history-FYLXZMI4.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +1 -1
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-KY3MFTCY.js → info-OMF7O3KA.js} +8 -8
- package/dist/{init-LURF2PL5.js → init-K3GNFQLD.js} +26 -26
- package/dist/{inspect-46CZJM6P.js → inspect-GYOEV66Q.js} +28 -28
- package/dist/{installer-NGFX6INI.js → installer-6X4VLDTC.js} +5 -5
- package/dist/{keyframes-YCSK6POI.js → keyframes-IPXUT4QI.js} +6 -6
- package/dist/{lambda-5KXULI2S.js → lambda-ZGMXIDJV.js} +8 -8
- package/dist/{layout-WOLH24YE.js → layout-QVTB5SUJ.js} +28 -28
- package/dist/{lint-P3P2LX6S.js → lint-V2I27FUE.js} +6 -6
- package/dist/{list-RUYQWMF2.js → list-J5MFX5NA.js} +2 -2
- package/dist/{login-THBBWZAY.js → login-ZRCLBPMK.js} +4 -4
- package/dist/{manager-V34BMSAG.js → manager-GLJVKITP.js} +7 -7
- package/dist/{media-treatment-IMBLTYGV.js → media-treatment-HVGN5S4H.js} +12 -12
- package/dist/{models-3NW7HU72.js → models-4WEGIBNZ.js} +10 -10
- package/dist/{motionShot-VTTYZ6KW.js → motionShot-B3I4ZE73.js} +14 -14
- package/dist/{normalize-audio-ME3X7HBX.js → normalize-audio-QIERL4II.js} +6 -6
- package/dist/{open-GLGSJISM.js → open-ALXHG55R.js} +12 -12
- package/dist/{parakeetRunner-T3UGRZWC.js → parakeetRunner-ESAELH2V.js} +11 -11
- package/dist/{pipeline-IJXVEQCU.js → pipeline-QK6KHDQ3.js} +7 -7
- package/dist/{play-HFFGGAZH.js → play-XBIN4KMI.js} +19 -19
- package/dist/{preflight-QV6V3UO2.js → preflight-D6VLCMOJ.js} +7 -7
- package/dist/{present-TH34CTYY.js → present-DQ45WV7Q.js} +15 -15
- package/dist/{preview-R67EQGQP.js → preview-CIAZ646P.js} +17 -17
- package/dist/{producer-HWPFETDU.js → producer-T3FJ6HZE.js} +1 -1
- package/dist/{projectConfig-AO4V3RHS.js → projectConfig-WFGZJAYZ.js} +7 -7
- package/dist/{publication-BDQ3PXYG.js → publication-GWNKRVXZ.js} +3 -3
- package/dist/{publish-PXYTWSXN.js → publish-LIAAGUNA.js} +9 -9
- package/dist/{remove-background-BVDJPT3Z.js → remove-background-HRFJZJHF.js} +8 -8
- package/dist/{render-45YHWV6W.js → render-3C5LHQ3P.js} +6 -6
- package/dist/{render-5RQUYPIV.js → render-RWW4LGKJ.js} +28 -28
- package/dist/{render-5MZY4TAB.js → render-SMFKECFA.js} +14 -14
- package/dist/{render-batch-ZUTUBTHX.js → render-batch-7UH2F7N4.js} +6 -6
- package/dist/{resolver-FN2M3XVM.js → resolver-4ZFA36XZ.js} +5 -5
- package/dist/{sherpa-6KWNPRWB.js → sherpa-NRSAFFIL.js} +10 -10
- package/dist/skills/media-use/scripts/lib/recipe-store.mjs +1 -0
- package/dist/skills/media-use/scripts/lib/recipe-store.test.mjs +24 -0
- package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +2 -2
- package/dist/{skills-PWQCM2BT.js → skills-6ZUYEX75.js} +5 -5
- package/dist/{skillsUpdateCheck-EHV2G3JX.js → skillsUpdateCheck-G2NSDI6O.js} +3 -3
- package/dist/{snapshot-7Q24NFEI.js → snapshot-ZJBRKRHZ.js} +32 -32
- package/dist/{src-J43SXEHJ.js → src-CZHSSXXF.js} +8 -8
- package/dist/{src-OS2FRVZV.js → src-GIB5BUZZ.js} +5 -5
- package/dist/{staticProjectServer-YJWOQJF4.js → staticProjectServer-Q3BHJE7H.js} +16 -16
- package/dist/studio/assets/{hyperframes-player-DnIPEARk.js → hyperframes-player-DG3nZ1bE.js} +1 -1
- package/dist/studio/assets/{index-Dkt4c1MV.js → index-BS2__aBb.js} +4 -4
- package/dist/studio/assets/{index-CVppCm_X.js → index-C1r59TIq.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-CZBZ4D65.js → studio-api-QB4YAV5Q.js} +9 -9
- package/dist/{studioServer-U6EX5DSB.js → studioServer-O6T4J75T.js} +46 -46
- package/dist/{telemetry-VP4UWWO3.js → telemetry-IKTCBFN5.js} +3 -3
- package/dist/{timeline-LMSUKEG6.js → timeline-J2D5R53C.js} +17 -17
- package/dist/{tokens-FQ5AI5H4.js → tokens-2D2TFXGD.js} +2 -2
- package/dist/{transcribe-VAMXV7QS.js → transcribe-HGD5MUPC.js} +15 -15
- package/dist/{transcribe-DNQFPZ2S.js → transcribe-JX23YVIR.js} +9 -9
- package/dist/{updateCheck-TOU7VLZK.js → updateCheck-S56I5SDE.js} +2 -2
- package/dist/{upgrade-CJRMRR2S.js → upgrade-A4LUB5SH.js} +2 -2
- package/dist/{urlDownloader-GETNWEIT.js → urlDownloader-ENNZJ7EM.js} +5 -5
- package/dist/{validate-PRI2UTQS.js → validate-IGVFY5CJ.js} +22 -22
- package/dist/{video-VOCQA6AG.js → video-HFXVZURT.js} +6 -6
- package/dist/warmCheck.js +35 -35
- package/package.json +2 -2
- package/dist/chunk-ZQRD62QZ.js +0 -3901
|
@@ -7,19 +7,23 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QSJUDSIC.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3OKZJYA7.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MYVC3XTH.js";
|
|
19
|
+
import {
|
|
20
|
+
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
21
|
+
STUDIO_PREVIEW_MARK_META
|
|
22
|
+
} from "./chunk-XJDMYIUI.js";
|
|
19
23
|
import {
|
|
20
24
|
artifactDirectory,
|
|
21
25
|
finishSnapshotRun
|
|
22
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PGDWNIOK.js";
|
|
23
27
|
import {
|
|
24
28
|
FfmpegUnavailableError,
|
|
25
29
|
decideMediaProxyEligibility,
|
|
@@ -27,7 +31,7 @@ import {
|
|
|
27
31
|
proxyVariantFor,
|
|
28
32
|
resolveProxies,
|
|
29
33
|
scanProjectMediaCodecMap
|
|
30
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-MK6FWMMF.js";
|
|
31
35
|
import {
|
|
32
36
|
AUDIT_SEEK_OPTIONS,
|
|
33
37
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -41,17 +45,20 @@ import {
|
|
|
41
45
|
seekCompositionTimeline,
|
|
42
46
|
seekInPage,
|
|
43
47
|
waitForPreferredSeekTarget
|
|
44
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-PBHFZXYP.js";
|
|
45
49
|
import {
|
|
46
50
|
BrowserCleanupError,
|
|
47
51
|
closeManagedBrowser
|
|
48
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-DMMYNEAF.js";
|
|
49
53
|
import {
|
|
50
54
|
findStageProxyBox
|
|
51
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-3VI6DSO6.js";
|
|
52
56
|
import {
|
|
53
57
|
resolveAutoProxy
|
|
54
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-YU22E6SG.js";
|
|
59
|
+
import {
|
|
60
|
+
injectTagsAtHeadStart
|
|
61
|
+
} from "./chunk-MXT76SSV.js";
|
|
55
62
|
import {
|
|
56
63
|
normalizeErrorMessage
|
|
57
64
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -388,9 +395,15 @@ function proxyCached(projectDir, source) {
|
|
|
388
395
|
function proxyFailedDraft(message) {
|
|
389
396
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
390
397
|
}
|
|
398
|
+
async function loadCheckHtml(dir) {
|
|
399
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-CJL3HHSF.js");
|
|
400
|
+
return injectTagsAtHeadStart(
|
|
401
|
+
await bundleWithLocalizedFonts(dir),
|
|
402
|
+
`<meta name="${STUDIO_PREVIEW_MARK_META}" content="${STUDIO_PREVIEW_CAPTURE_MODE}">`
|
|
403
|
+
);
|
|
404
|
+
}
|
|
391
405
|
async function runBrowserCheck(project, options, motion, runGrid, deadline, prelaunched) {
|
|
392
|
-
const
|
|
393
|
-
const html = await bundleWithLocalizedFonts(project.dir);
|
|
406
|
+
const html = await loadCheckHtml(project.dir);
|
|
394
407
|
deadline?.enter("copies");
|
|
395
408
|
const { findings: drafts, failedPaths } = await preResolveHostileMediaProxies(
|
|
396
409
|
project.dir,
|
|
@@ -442,7 +455,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
442
455
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
443
456
|
}));
|
|
444
457
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
445
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
458
|
+
const { analyzeClipMediaFit } = await import("./src-GIB5BUZZ.js");
|
|
446
459
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
447
460
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
448
461
|
}
|
|
@@ -559,8 +572,7 @@ function mergeHelperDrafts(primary, helper) {
|
|
|
559
572
|
}
|
|
560
573
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
561
574
|
if (requests.length === 0) return [];
|
|
562
|
-
const
|
|
563
|
-
const html = await bundleWithLocalizedFonts(project.dir);
|
|
575
|
+
const html = await loadCheckHtml(project.dir);
|
|
564
576
|
const server = await serveStaticProjectHtml(
|
|
565
577
|
project.dir,
|
|
566
578
|
html,
|
|
@@ -786,8 +798,27 @@ function wireNetworkListeners(page, drafts, clock) {
|
|
|
786
798
|
});
|
|
787
799
|
});
|
|
788
800
|
}
|
|
801
|
+
function failWhenPageDies(page, driver) {
|
|
802
|
+
const dead = new Promise((_, reject) => {
|
|
803
|
+
page.on(
|
|
804
|
+
"error",
|
|
805
|
+
(error) => reject(new Error(`The page crashed: ${normalizeErrorMessage(error)}`))
|
|
806
|
+
);
|
|
807
|
+
page.on("close", () => reject(new Error("The page closed before the check finished")));
|
|
808
|
+
});
|
|
809
|
+
dead.catch(() => void 0);
|
|
810
|
+
return Object.fromEntries(
|
|
811
|
+
Object.entries(driver).map(([name, member]) => [
|
|
812
|
+
name,
|
|
813
|
+
typeof member === "function" ? (...args) => {
|
|
814
|
+
const result = Reflect.apply(member, driver, args);
|
|
815
|
+
return result instanceof Promise ? Promise.race([result, dead]) : result;
|
|
816
|
+
} : member
|
|
817
|
+
])
|
|
818
|
+
);
|
|
819
|
+
}
|
|
789
820
|
function createPageDriver(page, clock = createRuntimeClock(), sampleLog) {
|
|
790
|
-
return {
|
|
821
|
+
return failWhenPageDies(page, {
|
|
791
822
|
initialize: (contrast) => injectAuditScripts(page, contrast),
|
|
792
823
|
markSamples: (phase) => {
|
|
793
824
|
if (!sampleLog) return;
|
|
@@ -836,7 +867,7 @@ function createPageDriver(page, clock = createRuntimeClock(), sampleLog) {
|
|
|
836
867
|
collectContrast: (time, annotations) => collectContrast(page, time, annotations),
|
|
837
868
|
collectCraftFrame: (time) => collectCraftFrame(page, time),
|
|
838
869
|
collectCraftFilm: () => collectCraftFilm(page)
|
|
839
|
-
};
|
|
870
|
+
});
|
|
840
871
|
}
|
|
841
872
|
async function collectCraftFrame(page, time) {
|
|
842
873
|
const raw = await page.evaluate(() => {
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
stoppedByCancelSignal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JCBZI47W.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_MODEL,
|
|
12
12
|
ensureModel,
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
hasFFmpeg,
|
|
15
15
|
pinnedWhisperModel,
|
|
16
16
|
sha256File
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DHSNTPEW.js";
|
|
18
18
|
import {
|
|
19
19
|
findFFmpeg,
|
|
20
20
|
findFFprobe,
|
|
21
21
|
getFFmpegInstallHint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-E7NEF2SC.js";
|
|
23
23
|
import {
|
|
24
24
|
findWavChunk
|
|
25
25
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
stripEmbeddedRuntimeScripts,
|
|
40
40
|
styleElementsFor,
|
|
41
41
|
warnUnknownEnumValues
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-MXT76SSV.js";
|
|
43
43
|
import {
|
|
44
44
|
cssVariableName
|
|
45
45
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -2517,7 +2517,8 @@ function createAssetInliner(resolveProjectPath, inlineAssets) {
|
|
|
2517
2517
|
return null;
|
|
2518
2518
|
}
|
|
2519
2519
|
inlinedChars += asset.dataUrl.length;
|
|
2520
|
-
|
|
2520
|
+
const hashIdx = suffix.indexOf("#");
|
|
2521
|
+
return hashIdx < 0 ? asset.dataUrl : `${asset.dataUrl}${suffix.slice(hashIdx)}`;
|
|
2521
2522
|
};
|
|
2522
2523
|
}
|
|
2523
2524
|
function isExternalSvgFragmentUse(el, attr, urlValue) {
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
renameWithRetry,
|
|
11
11
|
runFfmpeg
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WFHA6WC3.js";
|
|
13
13
|
import {
|
|
14
14
|
parseAnimatedGifMetadata
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VKFHSZYS.js";
|
|
16
16
|
import {
|
|
17
17
|
parseHTML
|
|
18
18
|
} from "./chunk-SDYDNHEE.js";
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
formatVariableValidationIssue,
|
|
21
21
|
validateVariables
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VKFHSZYS.js";
|
|
23
23
|
import {
|
|
24
24
|
extractCompositionMetadata
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-XOTUPVIF.js";
|
|
26
26
|
|
|
27
27
|
// src/utils/variables.ts
|
|
28
28
|
import { readFileSync } from "fs";
|
|
@@ -14,29 +14,29 @@ import {
|
|
|
14
14
|
} from "./chunk-6JR2XUEE.js";
|
|
15
15
|
import {
|
|
16
16
|
readCompositionFps
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-I7BLPFXV.js";
|
|
18
18
|
import {
|
|
19
19
|
HF_AUDIO_GROUP_ATTR,
|
|
20
20
|
extractAudioMetadata,
|
|
21
21
|
extractMediaMetadata
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WFHA6WC3.js";
|
|
23
23
|
import {
|
|
24
24
|
byStart,
|
|
25
25
|
fpsToNumber,
|
|
26
26
|
parseFpsWithDefault
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VKFHSZYS.js";
|
|
28
28
|
import {
|
|
29
29
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
30
30
|
HF_AUDIO_FX_ATTR,
|
|
31
31
|
parseAudioFxChain,
|
|
32
32
|
parseAutomation,
|
|
33
33
|
resolveAutomation
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-MXT76SSV.js";
|
|
35
35
|
import {
|
|
36
36
|
isSubCompositionHost,
|
|
37
37
|
topLevelElements,
|
|
38
38
|
trackKindOf
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XOTUPVIF.js";
|
|
40
40
|
import {
|
|
41
41
|
resolveReferencedDuration,
|
|
42
42
|
resolveReferencedStart
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
} from "./chunk-57GN6KWT.js";
|
|
12
12
|
import {
|
|
13
13
|
captureArtifactRevision
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PTRDO7J4.js";
|
|
15
15
|
import {
|
|
16
16
|
loadProducer
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XZE3IBMV.js";
|
|
18
18
|
import {
|
|
19
19
|
trackLintRun
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-E7S6OJFP.js";
|
|
21
21
|
import {
|
|
22
22
|
beginCheckSnapshots,
|
|
23
23
|
checkSnapshotDirectory,
|
|
24
24
|
finishCheckSnapshots,
|
|
25
25
|
preResolveHostileMediaProxies,
|
|
26
26
|
rectToBbox
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IHGQEF3Z.js";
|
|
28
28
|
import {
|
|
29
29
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
30
30
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -47,27 +47,27 @@ import {
|
|
|
47
47
|
mergeSampleTimes,
|
|
48
48
|
parseAt,
|
|
49
49
|
readMotionSpec
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-QSJUDSIC.js";
|
|
51
51
|
import {
|
|
52
52
|
resolveProject
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-RP7QRLSK.js";
|
|
54
54
|
import {
|
|
55
55
|
recordArtifacts
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-PGDWNIOK.js";
|
|
57
57
|
import {
|
|
58
58
|
BrowserCleanupError,
|
|
59
59
|
closeManagedBrowser
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-DMMYNEAF.js";
|
|
61
61
|
import {
|
|
62
62
|
withRemainingBudget
|
|
63
63
|
} from "./chunk-EHSBBBR2.js";
|
|
64
64
|
import {
|
|
65
65
|
resolveLocalBrowserGpuMode
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-GHNIESBY.js";
|
|
67
67
|
import {
|
|
68
68
|
trackCheckReport,
|
|
69
69
|
trackCommandFailure
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-W226NPSC.js";
|
|
71
71
|
import {
|
|
72
72
|
swallowedFlagUsageError
|
|
73
73
|
} from "./chunk-HTIUNMTP.js";
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
import {
|
|
88
88
|
extractMediaMetadata,
|
|
89
89
|
findHdrAutoPromotion
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-WFHA6WC3.js";
|
|
91
91
|
import {
|
|
92
92
|
lintProject,
|
|
93
93
|
shouldBlockRender
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
} from "./chunk-6BNTGNGD.js";
|
|
98
98
|
import {
|
|
99
99
|
withMeta
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-XLVUQGSA.js";
|
|
101
101
|
import {
|
|
102
102
|
normalizeErrorMessage
|
|
103
103
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -620,7 +620,7 @@ function round(value) {
|
|
|
620
620
|
|
|
621
621
|
// src/utils/hdrPromotion.ts
|
|
622
622
|
async function bundleProjectHtml(projectDir) {
|
|
623
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
623
|
+
const { bundleToSingleHtml } = await import("./compiler-K7SH7OZQ.js");
|
|
624
624
|
return bundleToSingleHtml(projectDir);
|
|
625
625
|
}
|
|
626
626
|
async function collectBundledRenderMedia(html) {
|
|
@@ -2191,7 +2191,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2191
2191
|
};
|
|
2192
2192
|
}
|
|
2193
2193
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2194
|
-
const module = await import("./checkBrowser-
|
|
2194
|
+
const module = await import("./checkBrowser-IECG4M6A.js");
|
|
2195
2195
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2196
2196
|
}
|
|
2197
2197
|
var adoptedBrowser;
|
|
@@ -2205,7 +2205,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2205
2205
|
if (adopted) return adopted;
|
|
2206
2206
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2207
2207
|
if (html === void 0) return void 0;
|
|
2208
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2208
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-HPIRZNGK.js");
|
|
2209
2209
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2210
2210
|
}
|
|
2211
2211
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2217,7 +2217,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2217
2217
|
return relative(projectDir, path);
|
|
2218
2218
|
}
|
|
2219
2219
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2220
|
-
const module = await import("./checkBrowser-
|
|
2220
|
+
const module = await import("./checkBrowser-IECG4M6A.js");
|
|
2221
2221
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2222
2222
|
}
|
|
2223
2223
|
var DEFAULT_DEPENDENCIES2 = {
|
|
@@ -2256,7 +2256,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2256
2256
|
}
|
|
2257
2257
|
},
|
|
2258
2258
|
async prepareMedia(project, options) {
|
|
2259
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2259
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-CJL3HHSF.js");
|
|
2260
2260
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2261
2261
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2262
2262
|
},
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
formatPreviewProxyBox,
|
|
14
14
|
hdrToSdrToneMapFilter,
|
|
15
15
|
parseFirstFrameColour
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VKFHSZYS.js";
|
|
17
17
|
import {
|
|
18
18
|
decodeAuthoredAttribute,
|
|
19
19
|
scanHtmlOpeningTags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XOTUPVIF.js";
|
|
21
21
|
import {
|
|
22
22
|
mkdirWithinProject,
|
|
23
23
|
realProjectRoot,
|