hyperframes 0.8.207 → 0.8.208
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-LXFWHBE3.js → add-XMWRBMBR.js} +14 -13
- package/dist/{agentPromptGenerator-D2E62ZP5.js → agentPromptGenerator-4NJ252MR.js} +6 -2
- package/dist/{animatedGifPrep-VBPJZKFT.js → animatedGifPrep-6XURJIPV.js} +8 -7
- package/dist/api.js +19 -18
- package/dist/{asset-JX4RW3GO.js → asset-I5GGEOB2.js} +2 -2
- package/dist/{assetCataloger-JKKOPBCF.js → assetCataloger-YBPXUNUP.js} +10 -8
- package/dist/{audio-OXQ3L6DW.js → audio-GFJCHH5W.js} +410 -128
- package/dist/{auth-JAL7P7ZA.js → auth-QOA55RYR.js} +4 -4
- package/dist/{autoUpdate-MRI2AICE.js → autoUpdate-SPS4QPJU.js} +4 -4
- package/dist/{backgroundChecks-ORR46PBY.js → backgroundChecks-HRJO7YK7.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-IFZYPGIW.js → batchRender-FBP3RKUF.js} +5 -4
- package/dist/{beats-UDLOEW6U.js → beats-VNGJ7F6W.js} +21 -14
- package/dist/{benchmark-VTVDNKSO.js → benchmark-NZ3N3MIV.js} +10 -10
- package/dist/{browser-QJC4BL2Y.js → browser-BD5BKRJ5.js} +8 -8
- package/dist/{bundleWithLocalizedFonts-Z2JTBNDS.js → bundleWithLocalizedFonts-WXVNPAWD.js} +3 -3
- package/dist/{capture-GLM2ACPM.js → capture-CXWXKWS5.js} +62 -36
- package/dist/{capture-2P4JERSX.js → capture-LMJ4TQRL.js} +52 -17
- package/dist/{captureCompositionFrame-A2A5MGQB.js → captureCompositionFrame-ZKVCRYYU.js} +14 -13
- package/dist/{captureFile-RPUEOZO6.js → captureFile-VIVGKFY4.js} +2 -1
- package/dist/{catalog-5ZLVUQVJ.js → catalog-WRXQSCAU.js} +14 -13
- package/dist/{catch-up-FRMVYJHZ.js → catch-up-MDSPABFC.js} +6 -6
- package/dist/{check-WVY7SM7C.js → check-SIBBK5HA.js} +42 -41
- package/dist/{checkAudio-PLEQY3SZ.js → checkAudio-QQBR4HR7.js} +12 -11
- package/dist/{checkBrowser-XSZUA2DQ.js → checkBrowser-4EBJLLIH.js} +34 -33
- package/dist/{chunk-XDMZY3H7.js → chunk-3O2E4Q66.js} +15 -20
- package/dist/{chunk-HVOTYAS4.js → chunk-43MW4SY7.js} +2 -2
- package/dist/{chunk-TSTONNOD.js → chunk-4F5NRJ6M.js} +2 -2
- package/dist/{chunk-JQ32262N.js → chunk-4HT2L6W2.js} +1 -1
- package/dist/{chunk-63DP5CB2.js → chunk-4KG3ESVO.js} +4 -4
- package/dist/{chunk-LPI7HX4G.js → chunk-4LTBQEPD.js} +2 -2
- package/dist/{chunk-C6KE4AFW.js → chunk-56ANHX5U.js} +1 -1
- package/dist/{chunk-XULJBZ7K.js → chunk-5HB4JM7H.js} +2 -2
- package/dist/{chunk-PL36HK3U.js → chunk-6CWKORZO.js} +3 -3
- package/dist/{chunk-ZF3R2IPC.js → chunk-6DSYBW7Z.js} +1 -0
- package/dist/{chunk-T4JGFCXU.js → chunk-6JNSYFOH.js} +4 -4
- package/dist/{chunk-5PYRU5DT.js → chunk-6N7D2GUV.js} +15 -15
- package/dist/{chunk-WL263XM2.js → chunk-6PWQH77E.js} +1 -1
- package/dist/{chunk-UAT2UMTP.js → chunk-6WRN4WC6.js} +1 -1
- package/dist/{chunk-SXOD5J7T.js → chunk-7CPI2DWL.js} +1 -1
- package/dist/{chunk-UYPWH7PH.js → chunk-7PAK7LZ5.js} +11 -11
- package/dist/{chunk-YJK6HOL5.js → chunk-B5MPMIKQ.js} +2 -2
- package/dist/{chunk-KDHHPJOG.js → chunk-BKDQFOKK.js} +4 -4
- package/dist/{chunk-LCCYYTEK.js → chunk-BLCKQPBE.js} +1 -1
- package/dist/chunk-BQMAPNDA.js +4830 -0
- package/dist/{chunk-QE4WRS3N.js → chunk-CP225S5H.js} +3 -3
- package/dist/{chunk-I2TDHVFV.js → chunk-CSWCZA6V.js} +2 -2
- package/dist/{chunk-C53ZNJDZ.js → chunk-D2CE2J2A.js} +1 -1
- package/dist/{chunk-NSC5A4IR.js → chunk-DHQSDCWD.js} +6 -2
- package/dist/chunk-DROFHVQD.js +240 -0
- package/dist/{chunk-NHL5CMO2.js → chunk-DXACKQ3F.js} +3 -3
- package/dist/{chunk-IK4JY2LI.js → chunk-EGOXYG3M.js} +2 -2
- package/dist/{chunk-UKM3JYNB.js → chunk-ENRFKCI6.js} +3 -3
- package/dist/{chunk-NWGXTUYS.js → chunk-EQBDKYXR.js} +3 -30
- package/dist/{chunk-4UMPIPCQ.js → chunk-ERUQ3S6D.js} +2 -2
- package/dist/{chunk-T2EUWCJE.js → chunk-EU7MVORF.js} +13 -1
- package/dist/{chunk-CVZO6TFE.js → chunk-EYEEZXLI.js} +11 -11
- package/dist/{chunk-ZCJ5EGLU.js → chunk-FC4WT5FX.js} +79 -1
- package/dist/{chunk-GXUONASF.js → chunk-FFDYRJBE.js} +24 -1
- package/dist/{chunk-NJNC2DQV.js → chunk-G2A6RC5R.js} +52 -9
- package/dist/{chunk-HTIUNMTP.js → chunk-GDZA4ALG.js} +8 -2
- package/dist/{chunk-H3LQ5X6Q.js → chunk-GEO6THL3.js} +61 -30
- package/dist/{chunk-RPZNQV6D.js → chunk-GHSO62LK.js} +2 -2
- package/dist/{chunk-P2I4RLJE.js → chunk-HTZJNQYI.js} +1 -1
- package/dist/{chunk-XKW4Z7BU.js → chunk-HUKQW4YE.js} +1 -1
- package/dist/{chunk-QZ2JQ6O4.js → chunk-HZN7ICAF.js} +3 -3
- package/dist/{chunk-DJQZ7DEH.js → chunk-IIJVSCSH.js} +15 -15
- package/dist/{chunk-6KCFVLO6.js → chunk-IL2TMC6F.js} +1 -1
- package/dist/{chunk-ZYGIDXAK.js → chunk-J67FSI3Q.js} +104 -58
- package/dist/{chunk-5KBMYSF2.js → chunk-K4PHB3YQ.js} +7 -2
- package/dist/{chunk-HM7SUIQD.js → chunk-KTWGVEN6.js} +3 -3
- package/dist/{chunk-6IYIS2U7.js → chunk-LSMFOZ4F.js} +2 -2
- package/dist/{chunk-ELP5QZWL.js → chunk-M4QZFUMW.js} +1 -1
- package/dist/{chunk-EG3B2VWK.js → chunk-MBGM26P5.js} +16 -21
- package/dist/{chunk-LK6KPVX2.js → chunk-MPO25DQW.js} +291 -160
- package/dist/{chunk-DML6BD4K.js → chunk-MW2NQQ6Z.js} +2 -2
- package/dist/{chunk-MSHL6CF2.js → chunk-MYO77JWR.js} +1 -1
- package/dist/{chunk-PSX5SF2N.js → chunk-NEASABW6.js} +1 -1
- package/dist/{chunk-VH4PNYOS.js → chunk-NZ6G5YWZ.js} +2 -2
- package/dist/{chunk-LXP6XWJL.js → chunk-ORFRUZPB.js} +1 -1
- package/dist/{chunk-UUOIH4RW.js → chunk-OTXXDONS.js} +2 -2
- package/dist/{chunk-526VSRZ4.js → chunk-P7WGVXR7.js} +6 -6
- package/dist/{chunk-HA3V4XAF.js → chunk-PKVA6MPV.js} +1 -1
- package/dist/{chunk-QTWXVOZI.js → chunk-PSOAGSNO.js} +2 -2
- package/dist/{chunk-ID766OZB.js → chunk-PWEOSJ3E.js} +3 -3
- package/dist/{chunk-EHFZEKQM.js → chunk-Q43YUROE.js} +1 -1
- package/dist/{chunk-7PJ3AJB2.js → chunk-QP2MJYTJ.js} +1 -1
- package/dist/{chunk-7RWUY3BJ.js → chunk-QWBVPWUI.js} +1 -1
- package/dist/{chunk-IYZT62UR.js → chunk-S2OLTAEL.js} +2 -2
- package/dist/{chunk-U32PA6DI.js → chunk-S4KHJERB.js} +1 -1
- package/dist/{chunk-FEO7YW7V.js → chunk-SI7QCT2J.js} +6 -6
- package/dist/{chunk-6Z7XDUUJ.js → chunk-SKKQMW5X.js} +1 -1
- package/dist/{chunk-VAVDAOUA.js → chunk-TNTGGDSD.js} +1 -1
- package/dist/{chunk-EGRIVMCQ.js → chunk-U6KN6OIP.js} +2 -2
- package/dist/{chunk-IBZHSU2J.js → chunk-ULL3U6PV.js} +1 -1
- package/dist/{chunk-IW5P4KK7.js → chunk-VR3JLTZD.js} +3 -3
- package/dist/{chunk-6KOHY5EP.js → chunk-VS4SK7BN.js} +17 -11
- package/dist/{chunk-6N65ZMC5.js → chunk-VYRJAQGC.js} +1 -1
- package/dist/{chunk-JKE24AG7.js → chunk-WABB4LZS.js} +1 -1
- package/dist/{chunk-I3TYUQLB.js → chunk-WNMVC3IT.js} +1 -1
- package/dist/{chunk-MAUGXKSI.js → chunk-X6MCIK7L.js} +100 -13
- package/dist/chunk-XFMO3BEN.js +71 -0
- package/dist/{chunk-PUIG6DHT.js → chunk-XG3IZV62.js} +7 -7
- package/dist/{chunk-VBPNCOD7.js → chunk-XOFBXLMG.js} +2 -2
- package/dist/{chunk-FVAI7AHF.js → chunk-XUQYC5DD.js} +5 -5
- package/dist/chunk-Z5J67X44.js +40 -0
- package/dist/{chunk-XAGBSYIQ.js → chunk-Z5TGBEPJ.js} +1 -1
- package/dist/{chunk-7JAD4MEW.js → chunk-ZA5TNF4R.js} +1 -0
- package/dist/{clean-TL3IPJDN.js → clean-6GX7WAEC.js} +22 -21
- package/dist/cli.js +56 -56
- package/dist/{cloud-EYMRPJNY.js → cloud-6PFJKLNL.js} +4 -4
- package/dist/{cloudrun-TOJ36NLX.js → cloudrun-UGG3ZFH7.js} +6 -5
- package/dist/{compare-MP5EOW4D.js → compare-P4EBOP4B.js} +33 -32
- package/dist/{compiler-NOPVLJ2S.js → compiler-PG4RKX6K.js} +3 -3
- package/dist/{component-ASACDCZK.js → component-SQPMI3W7.js} +3 -3
- package/dist/{compositions-WKNZJY34.js → compositions-KRIHY3IY.js} +14 -13
- package/dist/{contactSheet-YOBPATEM.js → contactSheet-RYAE7Y5D.js} +3 -2
- package/dist/{delete-DQTFHP3G.js → delete-T5TO4SV6.js} +7 -7
- package/dist/{deploy-HHCFOUFM.js → deploy-AO6LQR5G.js} +6 -6
- package/dist/{dist-NQEYA4ZX.js → dist-23AAB5X2.js} +2 -2
- package/dist/{dist-L4Z4ZEYW.js → dist-6IMEDVMC.js} +1 -1
- package/dist/docker/Dockerfile.render +1 -1
- package/dist/{doctor-JDM65CP7.js → doctor-QBUJQ655.js} +16 -15
- package/dist/{events-RKRHRLJD.js → events-J7CESLKQ.js} +4 -4
- package/dist/{events-MBRNA3UF.js → events-SIZO7YHI.js} +5 -5
- package/dist/{feedback-LZWIWV5J.js → feedback-74WOJ5PN.js} +12 -12
- package/dist/{ffmpeg-4PZKSIGE.js → ffmpeg-AKUP6U2S.js} +10 -9
- package/dist/{figma-QFNYUT3F.js → figma-GGMYRR4Q.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -10
- package/dist/{get-2B5ENJOH.js → get-PLKAI6JM.js} +7 -7
- package/dist/{gpuPolicy-E5FB2GFR.js → gpuPolicy-EYDAAPJF.js} +8 -7
- package/dist/{grade-compare-4GUAPJHE.js → grade-compare-UADJP4AV.js} +33 -32
- package/dist/{heifImagePrep-C2RYIEER.js → heifImagePrep-KDF3OPOK.js} +9 -8
- package/dist/{help-XGDAXV67.js → help-WSQQ555Q.js} +1 -1
- package/dist/{history-WNFF6HGU.js → history-VSQ2DQ3V.js} +9 -9
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-BR2LKGJD.js → info-MOQ4LRC3.js} +9 -9
- package/dist/{init-P6UWPUY3.js → init-EONQSZJG.js} +32 -31
- package/dist/{inspect-MSRPF7ZO.js → inspect-OLCVLHOU.js} +32 -31
- package/dist/{installer-MPUQS3ZX.js → installer-GHISA75B.js} +4 -4
- package/dist/{keyframes-J6K66QTO.js → keyframes-DGQYCY24.js} +8 -8
- package/dist/{lambda-LJ2OSWFJ.js → lambda-AMMWF2YH.js} +14 -13
- package/dist/{layout-CDY65XGA.js → layout-R6CAPGRO.js} +32 -31
- package/dist/{lint-CAUNBGPX.js → lint-QZJEYPHD.js} +9 -9
- package/dist/{lintProject-ZTSX3AWT.js → lintProject-W3YVHAGP.js} +1 -1
- package/dist/{list-33BYQNRZ.js → list-KCJID4SP.js} +7 -7
- package/dist/localPage-V3HBGM3Z.js +27 -0
- package/dist/{login-5QMRKOHK.js → login-7HKBEPJS.js} +7 -7
- package/dist/{logout-JYFWWUGK.js → logout-3IID4KXD.js} +3 -3
- package/dist/{manager-3JOHHPVR.js → manager-6YSKJMVD.js} +11 -10
- package/dist/{manager-RMYSZ3KI.js → manager-Z7W4GQGF.js} +4 -4
- package/dist/{media-treatment-4WP22CFN.js → media-treatment-E3DL6LEZ.js} +25 -22
- package/dist/{models-HPWCHAZX.js → models-URWI7YEG.js} +15 -14
- package/dist/{motionShot-I7GDIROQ.js → motionShot-27IXMDJK.js} +18 -17
- package/dist/{normalize-audio-VTMXPSC7.js → normalize-audio-WGRLPR3P.js} +9 -9
- package/dist/{open-SAO7OQTT.js → open-LQ35PLEN.js} +13 -13
- package/dist/{parakeetRunner-ZYPBIA73.js → parakeetRunner-XASVIDTI.js} +16 -15
- package/dist/{pipeline-VNBMR6QU.js → pipeline-GA7QVCHS.js} +11 -10
- package/dist/{play-7VI6A7KN.js → play-RYZP77CI.js} +21 -21
- package/dist/{policies-GHVXA5PE.js → policies-PKLD4UW5.js} +1 -1
- package/dist/{preflight-VWV7L45J.js → preflight-HJFSJXXF.js} +12 -11
- package/dist/{present-CSJGYOFF.js → present-YBMLOWZV.js} +17 -17
- package/dist/{preview-B246ZTVO.js → preview-QIRKJCRV.js} +23 -22
- package/dist/{producer-WJLFDVQJ.js → producer-524FDOLX.js} +1 -1
- package/dist/{projectConfig-OMR46ZWQ.js → projectConfig-IDQN5ZRW.js} +6 -6
- package/dist/{publication-AA7NNYET.js → publication-3X3IGSDO.js} +2 -2
- package/dist/{publish-TJ4QVVSP.js → publish-2BF7K6HX.js} +13 -13
- package/dist/{refresh-USSFPJAU.js → refresh-3IRHJEQA.js} +3 -3
- package/dist/{remove-background-LQ2V7W7N.js → remove-background-EZBCEFT6.js} +12 -11
- package/dist/{render-E5QJG74D.js → render-EFUA2A6A.js} +6 -5
- package/dist/{render-JLTNZ36U.js → render-JFMTAXHD.js} +43 -41
- package/dist/{render-AWEEPG3F.js → render-TEEBI2UT.js} +30 -26
- package/dist/{render-batch-U4T4VSCM.js → render-batch-XTYNXVSW.js} +7 -6
- package/dist/renderSetupWorker.js +6 -6
- package/dist/{resolver-GXCTUKPV.js → resolver-FZS6TN6B.js} +4 -4
- package/dist/{screenshotCapture-X6OKIXCB.js → screenshotCapture-HOW4VSV6.js} +3 -2
- package/dist/{sherpa-4VZWVHWZ.js → sherpa-TQIAIKTH.js} +15 -14
- package/dist/skills/hyperframes/SKILL.md +1 -1
- package/dist/skills/hyperframes/references/format.md +1 -0
- package/dist/skills/hyperframes-cli/references/beats.md +2 -0
- package/dist/skills/media-use/references/grading.md +2 -0
- package/dist/skills/media-use/references/local.md +1 -0
- package/dist/{skills-WUKR7SUE.js → skills-S6ZG5KKH.js} +7 -7
- package/dist/{skillsUpdateCheck-YXRBY3JC.js → skillsUpdateCheck-XC7JQL3F.js} +5 -5
- package/dist/{snapshot-Q7S2FTNG.js → snapshot-ERYZIM32.js} +66 -47
- package/dist/{src-ZOXUSGAP.js → src-6XOMREMS.js} +7 -6
- package/dist/{src-CLAALR5W.js → src-OL6RHPE4.js} +10 -9
- package/dist/{staticProjectServer-DQ7PIDPA.js → staticProjectServer-JYDDGPAH.js} +16 -16
- package/dist/{status-LR7VXITS.js → status-DTP6ZYDU.js} +3 -3
- package/dist/studio/assets/{hyperframes-player-Cm5aBiKq.js → hyperframes-player-5dRdMVOq.js} +3 -3
- package/dist/studio/assets/{index-BF9YeBnC.js → index-Bu3mJUU2.js} +71 -71
- package/dist/studio/assets/{index-BrqAmMRt.js → index-ZqyQ91pm.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-NUE227JM.js → studio-api-GRU4SHKD.js} +9 -9
- package/dist/{studioServer-HVOKP4VI.js → studioServer-OYPBEI5B.js} +54 -53
- package/dist/{telemetry-IHU4HL3R.js → telemetry-6BPSGY5W.js} +2 -2
- package/dist/{telemetry-2Y5JXLDB.js → telemetry-CPYINR63.js} +5 -5
- package/dist/{timeline-WOQGXFRV.js → timeline-RGK5BMPD.js} +23 -22
- package/dist/{tokens-T3OHTWUC.js → tokens-EX4BOWRW.js} +2 -2
- package/dist/{transcribe-4U74P5TG.js → transcribe-MK367I6A.js} +14 -13
- package/dist/{transcribe-JZ3BO546.js → transcribe-RI52JMVW.js} +21 -20
- package/dist/{updateCheck-6EUAGAM4.js → updateCheck-BIEJKQI4.js} +4 -4
- package/dist/{upgrade-55K6F4MP.js → upgrade-ES3UUI7O.js} +4 -4
- package/dist/{urlDownloader-47JMOLNN.js → urlDownloader-XAGYSTAG.js} +7 -6
- package/dist/{validate-QBJ3SBS4.js → validate-A6GZHNEI.js} +26 -25
- package/dist/{video-3ZAUNAR3.js → video-OEMGR3MN.js} +10 -8
- package/dist/warmCheck.js +42 -41
- package/package.json +1 -1
- package/dist/chunk-BDJIQZN2.js +0 -4830
- package/dist/{destroy-SSPAKADI.js → destroy-CGAZIL2C.js} +4 -4
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PWEOSJ3E.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-IL2TMC6F.js";
|
|
36
36
|
import {
|
|
37
37
|
HistoryBusyError,
|
|
38
38
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
resolveProjectAndSignature,
|
|
47
47
|
resolveProjectSignature,
|
|
48
48
|
settledFileTag
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-3O2E4Q66.js";
|
|
50
50
|
import {
|
|
51
51
|
PROXY_PARAMS_VERSION,
|
|
52
52
|
PROXY_PENDING_RETRY_AFTER_SECONDS,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
scanProjectMedia,
|
|
71
71
|
shouldPrewarmProxy,
|
|
72
72
|
waitForProxy
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-PKVA6MPV.js";
|
|
74
74
|
import {
|
|
75
75
|
STUDIO_MOTION_PATH,
|
|
76
76
|
createStudioMotionRenderBodyScript,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
ensureHfIds,
|
|
109
109
|
stampHfIdsInPlace,
|
|
110
110
|
stripSdrPngColourTags
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-GHSO62LK.js";
|
|
112
112
|
import {
|
|
113
113
|
GSAP_BASE_URL_META,
|
|
114
114
|
PREVIEW_PROXY_BOX_PARAM,
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
normalizeGsapLocalRoot,
|
|
125
125
|
parseFps,
|
|
126
126
|
parsePreviewProxyBox
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-QWBVPWUI.js";
|
|
128
128
|
import {
|
|
129
129
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
130
130
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
resolveRateSpec,
|
|
139
139
|
sourceTimeAt,
|
|
140
140
|
stripEmbeddedRuntimeScripts
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-BQMAPNDA.js";
|
|
142
142
|
import {
|
|
143
143
|
ProjectRootMissingError,
|
|
144
144
|
folderGone,
|
|
@@ -5552,7 +5552,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5552
5552
|
let block = extractGsapScriptBlock(html);
|
|
5553
5553
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5554
5554
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5555
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5555
|
+
const { GSAP_CDN } = await import("./dist-23AAB5X2.js");
|
|
5556
5556
|
const bootstrap = [
|
|
5557
5557
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5558
5558
|
"<script>",
|
|
@@ -7282,6 +7282,44 @@ function registerFileRoutes(api, adapter) {
|
|
|
7282
7282
|
return c.json({ ok: true, restored: true, conflict: false });
|
|
7283
7283
|
});
|
|
7284
7284
|
}
|
|
7285
|
+
var ROOT_PATH = /^\/(?!\/)/;
|
|
7286
|
+
var IMPORT_MAP_TYPE = /\btype\s*=\s*["']?importmap["']?(?=[\s/>])/i;
|
|
7287
|
+
function findImportMap(html) {
|
|
7288
|
+
for (const at of findStartTags(html, "script")) {
|
|
7289
|
+
const open2 = /^<script\b[^>]*>/i.exec(html.slice(at));
|
|
7290
|
+
if (!open2 || !IMPORT_MAP_TYPE.test(open2[0])) continue;
|
|
7291
|
+
const start = at + open2[0].length;
|
|
7292
|
+
const end = html.toLowerCase().indexOf("</script", start);
|
|
7293
|
+
if (end !== -1) return { start, end, json: html.slice(start, end) };
|
|
7294
|
+
}
|
|
7295
|
+
return null;
|
|
7296
|
+
}
|
|
7297
|
+
function withRootImportMap(html, base) {
|
|
7298
|
+
const ours = { "/": base, [base]: base };
|
|
7299
|
+
const own = findImportMap(html);
|
|
7300
|
+
if (!own)
|
|
7301
|
+
return injectTagsAtHeadStart(
|
|
7302
|
+
html,
|
|
7303
|
+
`<script type="importmap">${JSON.stringify({ imports: ours })}</script>`
|
|
7304
|
+
);
|
|
7305
|
+
let map;
|
|
7306
|
+
try {
|
|
7307
|
+
map = JSON.parse(own.json);
|
|
7308
|
+
} catch {
|
|
7309
|
+
return html;
|
|
7310
|
+
}
|
|
7311
|
+
if (!map || typeof map !== "object") return html;
|
|
7312
|
+
const under = (path) => ROOT_PATH.test(path) && !path.startsWith(base) ? base + path.slice(1) : path;
|
|
7313
|
+
const moved = (entries = {}) => Object.fromEntries(
|
|
7314
|
+
Object.entries(entries).map(([key, target]) => [key, under(String(target))])
|
|
7315
|
+
);
|
|
7316
|
+
const merged = { ...map, imports: { ...ours, ...moved(map.imports) } };
|
|
7317
|
+
if (map.scopes)
|
|
7318
|
+
merged.scopes = Object.fromEntries(
|
|
7319
|
+
Object.entries(map.scopes).map(([scope, entries]) => [under(scope), moved(entries)])
|
|
7320
|
+
);
|
|
7321
|
+
return html.slice(0, own.start) + JSON.stringify(merged) + html.slice(own.end);
|
|
7322
|
+
}
|
|
7285
7323
|
var ALWAYS_AFFECTS = ["hyperframes.json", ...STUDIO_SIGNATURE_MANIFEST_PATHS];
|
|
7286
7324
|
var MAX_PREVIEW_PATH_LENGTH = 4096;
|
|
7287
7325
|
var SHOW_ELEMENT = 1;
|
|
@@ -7668,7 +7706,11 @@ var PREVIEW_BUNDLE_OPTIONS = {
|
|
|
7668
7706
|
sceneParts: true
|
|
7669
7707
|
};
|
|
7670
7708
|
var previewBaseHref = (projectId) => `/api/projects/${encodeURIComponent(projectId)}/preview/`;
|
|
7671
|
-
var withPreviewBase = (html, projectId) =>
|
|
7709
|
+
var withPreviewBase = (html, projectId) => {
|
|
7710
|
+
const base = previewBaseHref(projectId);
|
|
7711
|
+
const mapped = withRootImportMap(html, base);
|
|
7712
|
+
return hasBaseElement(mapped) ? mapped : injectTagsAtHeadStart(mapped, `<base href="${base}">`);
|
|
7713
|
+
};
|
|
7672
7714
|
function resolvePreviewGsapBaseUrl(adapter) {
|
|
7673
7715
|
const configured = process.env.HYPERFRAMES_GSAP_BASE_URL;
|
|
7674
7716
|
if (configured?.trim() || !adapter.gsapLocalRoot) {
|
|
@@ -7843,6 +7885,7 @@ ${etag}`;
|
|
|
7843
7885
|
gsapBaseUrl
|
|
7844
7886
|
);
|
|
7845
7887
|
if (!html) return c.text("not found", 404);
|
|
7888
|
+
html = withRootImportMap(html, baseHref);
|
|
7846
7889
|
recordPreviewReferences(project.dir, html);
|
|
7847
7890
|
html = ensureHfIds(await transformPreviewHtml(html, adapter, project, compPath));
|
|
7848
7891
|
html = injectStudioPreviewAugmentations(html, adapter, project.dir, compPath, {
|
|
@@ -35,8 +35,14 @@ function longFlagName(tok) {
|
|
|
35
35
|
const name = tok.slice(2).split("=")[0] ?? "";
|
|
36
36
|
return name.startsWith("no-") ? name.slice(3) : name;
|
|
37
37
|
}
|
|
38
|
+
function isNegativeNumber(tok) {
|
|
39
|
+
return /^-(\d+\.?\d*|\.\d+)$/.test(tok);
|
|
40
|
+
}
|
|
41
|
+
function canNameFlag(tok) {
|
|
42
|
+
return tok.startsWith("-") && tok !== "-" && !isNegativeNumber(tok);
|
|
43
|
+
}
|
|
38
44
|
function unknownFlagIn(tok, known) {
|
|
39
|
-
if (
|
|
45
|
+
if (!canNameFlag(tok)) return null;
|
|
40
46
|
if (tok.startsWith("--")) {
|
|
41
47
|
const name = longFlagName(tok);
|
|
42
48
|
return name && !known.has(name) ? `--${name}` : null;
|
|
@@ -94,7 +100,7 @@ function throwSwallowedFlagError(flagName, next) {
|
|
|
94
100
|
throw new CliUsageError(message, { presented: true });
|
|
95
101
|
}
|
|
96
102
|
function looksLikeSwallowedFlag(next, known) {
|
|
97
|
-
if (next === void 0 || next === "-") return false;
|
|
103
|
+
if (next === void 0 || next === "-" || isNegativeNumber(next)) return false;
|
|
98
104
|
return next === "--" || next.startsWith("-") && unknownFlagIn(next, known) === null;
|
|
99
105
|
}
|
|
100
106
|
function swallowingArgName(tok, next, owners, known) {
|
|
@@ -5,28 +5,29 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
+
parseTimeoutMs,
|
|
8
9
|
pngDimensions,
|
|
9
10
|
readToolContext,
|
|
10
11
|
reportArtifacts,
|
|
11
12
|
withProjectLock
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FFDYRJBE.js";
|
|
13
14
|
import {
|
|
14
15
|
beginCheckSnapshots,
|
|
15
16
|
checkSnapshotDirectory,
|
|
16
17
|
finishCheckSnapshots,
|
|
17
18
|
preResolveHostileMediaProxies,
|
|
18
19
|
rectToBbox
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6N7D2GUV.js";
|
|
20
21
|
import {
|
|
21
22
|
collectProjectMedia,
|
|
22
23
|
mediaPath
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-B5MPMIKQ.js";
|
|
24
25
|
import {
|
|
25
26
|
captureArtifactRevision
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-S2OLTAEL.js";
|
|
27
28
|
import {
|
|
28
29
|
trackLintRun
|
|
29
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-VR3JLTZD.js";
|
|
30
31
|
import {
|
|
31
32
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
32
33
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -47,7 +48,7 @@ import {
|
|
|
47
48
|
mergeSampleTimes,
|
|
48
49
|
parseAt,
|
|
49
50
|
readMotionSpec
|
|
50
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-EYEEZXLI.js";
|
|
51
52
|
import {
|
|
52
53
|
findingAtRoot,
|
|
53
54
|
findingElementKey,
|
|
@@ -56,29 +57,29 @@ import {
|
|
|
56
57
|
} from "./chunk-TQBQYO4L.js";
|
|
57
58
|
import {
|
|
58
59
|
resolveProject
|
|
59
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-Z5TGBEPJ.js";
|
|
60
61
|
import {
|
|
61
62
|
recordArtifacts
|
|
62
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-3O2E4Q66.js";
|
|
63
64
|
import {
|
|
64
65
|
BrowserCleanupError,
|
|
65
66
|
closeManagedBrowser,
|
|
66
67
|
onStopSignal,
|
|
67
68
|
registerBrowserSessionCleanup
|
|
68
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-X6MCIK7L.js";
|
|
69
70
|
import {
|
|
70
71
|
withRemainingBudget
|
|
71
72
|
} from "./chunk-EHSBBBR2.js";
|
|
72
73
|
import {
|
|
73
74
|
resolveLocalBrowserGpuMode
|
|
74
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-4LTBQEPD.js";
|
|
75
76
|
import {
|
|
76
77
|
trackCheckReport,
|
|
77
78
|
trackCommandFailure
|
|
78
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-DHQSDCWD.js";
|
|
79
80
|
import {
|
|
80
81
|
swallowedFlagUsageError
|
|
81
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-GDZA4ALG.js";
|
|
82
83
|
import {
|
|
83
84
|
defineCommand,
|
|
84
85
|
parseArgs
|
|
@@ -95,17 +96,17 @@ import {
|
|
|
95
96
|
import {
|
|
96
97
|
extractMediaMetadata,
|
|
97
98
|
findHdrAutoPromotion
|
|
98
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-MPO25DQW.js";
|
|
99
100
|
import {
|
|
100
101
|
lintProject,
|
|
101
102
|
shouldBlockRender
|
|
102
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-FC4WT5FX.js";
|
|
103
104
|
import {
|
|
104
105
|
withMeta
|
|
105
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-U6KN6OIP.js";
|
|
106
107
|
import {
|
|
107
108
|
normalizeErrorMessage
|
|
108
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-EU7MVORF.js";
|
|
109
110
|
|
|
110
111
|
// src/commands/check.ts
|
|
111
112
|
import { randomUUID } from "crypto";
|
|
@@ -166,11 +167,11 @@ var CheckDeadline = class {
|
|
|
166
167
|
partialResult() {
|
|
167
168
|
return Object.assign({}, ...this.partials.map((read) => read()));
|
|
168
169
|
}
|
|
169
|
-
enter = (phase) => {
|
|
170
|
+
enter = (phase, detail) => {
|
|
170
171
|
if (this.expired) return;
|
|
171
172
|
const now = Date.now();
|
|
172
173
|
if (this.work) this.spend(this.work.phase, now - this.work.since);
|
|
173
|
-
this.work = { phase, since: now };
|
|
174
|
+
this.work = { phase, since: now, detail };
|
|
174
175
|
this.spend(phase, 0);
|
|
175
176
|
this.rearm();
|
|
176
177
|
};
|
|
@@ -184,7 +185,7 @@ var CheckDeadline = class {
|
|
|
184
185
|
const seconds2 = ((phase === this.work?.phase ? ms + open : ms) / 1e3).toFixed(1);
|
|
185
186
|
return `${PHASE_LABELS[phase]} ${seconds2}${BEFORE_DEADLINE.has(phase) ? " (before the deadline)" : ""}`;
|
|
186
187
|
});
|
|
187
|
-
return ` (no progress for ${CHECK_IDLE_MS / 1e3} s after Chrome was ready), while ${PHASE_LABELS[this.work.phase]}. Seconds per phase: ${parts.join(", ")}.`;
|
|
188
|
+
return ` (no progress for ${CHECK_IDLE_MS / 1e3} s after Chrome was ready), while ${PHASE_LABELS[this.work.phase]}${this.work.detail ? ` (${this.work.detail})` : ""}. Seconds per phase: ${parts.join(", ")}.`;
|
|
188
189
|
}
|
|
189
190
|
start = () => {
|
|
190
191
|
if (this.phase !== "waiting") return;
|
|
@@ -1024,6 +1025,9 @@ function emptyGridSamples() {
|
|
|
1024
1025
|
contrastEntries: [],
|
|
1025
1026
|
screenshots: [],
|
|
1026
1027
|
contrastMs: 0,
|
|
1028
|
+
gridMs: 0,
|
|
1029
|
+
craftMs: 0,
|
|
1030
|
+
overlapMs: 0,
|
|
1027
1031
|
layoutStateSignatures: [],
|
|
1028
1032
|
rotationSamples: [],
|
|
1029
1033
|
indicatorFrames: [],
|
|
@@ -1079,6 +1083,7 @@ async function collectGridSamples(driver, options, grid, motion, helpers, enter,
|
|
|
1079
1083
|
contrast: new Set(grid.contrastSamples),
|
|
1080
1084
|
canvas: geometryEnabled ? await driver.getCanvas() : null
|
|
1081
1085
|
};
|
|
1086
|
+
const gridStart = performance.now();
|
|
1082
1087
|
const times = mergeSampleTimes(grid.layoutSamples, motion.times);
|
|
1083
1088
|
const pending = times.map((_, index) => index);
|
|
1084
1089
|
const perTime = [];
|
|
@@ -1098,6 +1103,7 @@ async function collectGridSamples(driver, options, grid, motion, helpers, enter,
|
|
|
1098
1103
|
for (let index = pending.shift(); index !== void 0; index = pending.shift()) {
|
|
1099
1104
|
taken.push(index);
|
|
1100
1105
|
const time = times[index] ?? 0;
|
|
1106
|
+
enter("samples", `layout sample at ${time}s`);
|
|
1101
1107
|
perTime[index] = await collectSampleAt(worker, options, grid, motion, sets, time);
|
|
1102
1108
|
enter("samples");
|
|
1103
1109
|
report("samples", ++finished, times.length);
|
|
@@ -1129,6 +1135,7 @@ async function collectGridSamples(driver, options, grid, motion, helpers, enter,
|
|
|
1129
1135
|
driver.markSamples?.("end");
|
|
1130
1136
|
const collected = emptyGridSamples();
|
|
1131
1137
|
for (const samples of perTime) appendGridSamples(collected, samples);
|
|
1138
|
+
collected.gridMs = Math.round(performance.now() - gridStart);
|
|
1132
1139
|
enter("overlap");
|
|
1133
1140
|
await collectMotionOverlapSamples(
|
|
1134
1141
|
driver,
|
|
@@ -1136,7 +1143,7 @@ async function collectGridSamples(driver, options, grid, motion, helpers, enter,
|
|
|
1136
1143
|
collected,
|
|
1137
1144
|
options.range,
|
|
1138
1145
|
craftEnabled(driver, options),
|
|
1139
|
-
() => enter("overlap"),
|
|
1146
|
+
(detail) => enter("overlap", detail),
|
|
1140
1147
|
report
|
|
1141
1148
|
);
|
|
1142
1149
|
enter("samples");
|
|
@@ -1226,6 +1233,7 @@ async function collectOverlapGridInBatches(driver, times, progress, report) {
|
|
|
1226
1233
|
const issues = [];
|
|
1227
1234
|
const batches = Math.ceil(times.length / OVERLAP_BATCH);
|
|
1228
1235
|
for (let from = 0; from < times.length; from += OVERLAP_BATCH) {
|
|
1236
|
+
progress(`overlap probes from ${times[from]}s`);
|
|
1229
1237
|
issues.push(...await driver.collectOverlapGrid(times.slice(from, from + OVERLAP_BATCH)));
|
|
1230
1238
|
progress();
|
|
1231
1239
|
report("overlap", from / OVERLAP_BATCH + 1, batches);
|
|
@@ -1236,14 +1244,18 @@ async function collectMotionOverlapSamples(driver, grid, collected, range, craft
|
|
|
1236
1244
|
const baseTimes = new Set(grid.layoutSamples);
|
|
1237
1245
|
const shiftedTimes = await denseOverlapTimes(driver, grid, range);
|
|
1238
1246
|
if (craft) {
|
|
1247
|
+
const craftStart = performance.now();
|
|
1239
1248
|
const craftTimes = buildCraftSampleTimes(grid.duration).filter((time) => time < grid.duration);
|
|
1240
1249
|
for (const [index, time] of craftTimes.entries()) {
|
|
1250
|
+
progress(`craft frame at ${time}s`);
|
|
1241
1251
|
await driver.seekGeometry(time);
|
|
1242
1252
|
collected.craftFrames.push(...await collectCraftFrame(driver, time));
|
|
1243
1253
|
progress();
|
|
1244
1254
|
report("craft", index + 1, craftTimes.length);
|
|
1245
1255
|
}
|
|
1256
|
+
collected.craftMs = Math.round(performance.now() - craftStart);
|
|
1246
1257
|
}
|
|
1258
|
+
const overlapStart = performance.now();
|
|
1247
1259
|
const probeHold = holdProber(driver, collected, range ? range[1] : grid.duration);
|
|
1248
1260
|
const gridTimes = shiftedTimes.filter((t) => !baseTimes.has(t));
|
|
1249
1261
|
const gridIssues = await collectOverlapGridInBatches(driver, gridTimes, progress, report);
|
|
@@ -1255,6 +1267,7 @@ async function collectMotionOverlapSamples(driver, grid, collected, range, craft
|
|
|
1255
1267
|
await probeHold(time, shiftedTimes[index + 1] ?? Number.POSITIVE_INFINITY, issues);
|
|
1256
1268
|
progress();
|
|
1257
1269
|
}
|
|
1270
|
+
collected.overlapMs = Math.round(performance.now() - overlapStart);
|
|
1258
1271
|
}
|
|
1259
1272
|
var CRAFT_SAMPLE_FPS = 8;
|
|
1260
1273
|
var CRAFT_MAX_SAMPLES = 600;
|
|
@@ -1816,7 +1829,14 @@ async function runAuditGrid(driver, options, motion, helpers = Promise.resolve([
|
|
|
1816
1829
|
contrastPassed: contrast.passed,
|
|
1817
1830
|
craft,
|
|
1818
1831
|
screenshots: collected.screenshots,
|
|
1819
|
-
timings: {
|
|
1832
|
+
timings: {
|
|
1833
|
+
launchSettleMs: 0,
|
|
1834
|
+
seekLoopMs,
|
|
1835
|
+
contrastMs: collected.contrastMs,
|
|
1836
|
+
gridMs: collected.gridMs,
|
|
1837
|
+
craftMs: collected.craftMs,
|
|
1838
|
+
overlapMs: collected.overlapMs
|
|
1839
|
+
},
|
|
1820
1840
|
skipped: false
|
|
1821
1841
|
};
|
|
1822
1842
|
}
|
|
@@ -2156,6 +2176,10 @@ function buildReport(options, lint, browser, motion, extraMotionFindings, snapsh
|
|
|
2156
2176
|
launchSettleMs: browser.timings.launchSettleMs,
|
|
2157
2177
|
seekLoopMs: browser.timings.seekLoopMs,
|
|
2158
2178
|
contrastMs: browser.timings.contrastMs,
|
|
2179
|
+
gridMs: browser.timings.gridMs,
|
|
2180
|
+
craftMs: browser.timings.craftMs,
|
|
2181
|
+
overlapMs: browser.timings.overlapMs,
|
|
2182
|
+
durationSec: browser.duration,
|
|
2159
2183
|
gridPoints: browser.layoutSamples.length,
|
|
2160
2184
|
contrastPoints: browser.contrastChecked,
|
|
2161
2185
|
ok: report.ok,
|
|
@@ -2263,7 +2287,14 @@ function emptyBrowserResult() {
|
|
|
2263
2287
|
contrastPassed: 0,
|
|
2264
2288
|
craft: disabledCraft(),
|
|
2265
2289
|
screenshots: [],
|
|
2266
|
-
timings: {
|
|
2290
|
+
timings: {
|
|
2291
|
+
launchSettleMs: 0,
|
|
2292
|
+
seekLoopMs: 0,
|
|
2293
|
+
contrastMs: 0,
|
|
2294
|
+
gridMs: 0,
|
|
2295
|
+
craftMs: 0,
|
|
2296
|
+
overlapMs: 0
|
|
2297
|
+
},
|
|
2267
2298
|
skipped: true
|
|
2268
2299
|
};
|
|
2269
2300
|
}
|
|
@@ -2300,7 +2331,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2300
2331
|
};
|
|
2301
2332
|
}
|
|
2302
2333
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2303
|
-
const module = await import("./checkBrowser-
|
|
2334
|
+
const module = await import("./checkBrowser-4EBJLLIH.js");
|
|
2304
2335
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2305
2336
|
}
|
|
2306
2337
|
var adoptedBrowser;
|
|
@@ -2314,7 +2345,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2314
2345
|
if (adopted) return adopted;
|
|
2315
2346
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2316
2347
|
if (html === void 0) return void 0;
|
|
2317
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2348
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-ZKVCRYYU.js");
|
|
2318
2349
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2319
2350
|
}
|
|
2320
2351
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2326,11 +2357,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2326
2357
|
return relative(projectDir, path);
|
|
2327
2358
|
}
|
|
2328
2359
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2329
|
-
const module = await import("./checkBrowser-
|
|
2360
|
+
const module = await import("./checkBrowser-4EBJLLIH.js");
|
|
2330
2361
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2331
2362
|
}
|
|
2332
2363
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2333
|
-
const module = await import("./checkBrowser-
|
|
2364
|
+
const module = await import("./checkBrowser-4EBJLLIH.js");
|
|
2334
2365
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2335
2366
|
}
|
|
2336
2367
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2352,7 +2383,7 @@ function collectMedia(project) {
|
|
|
2352
2383
|
return collectProjectMedia(project.dir);
|
|
2353
2384
|
}
|
|
2354
2385
|
async function inspectAudio(project, media) {
|
|
2355
|
-
const module = await import("./checkAudio-
|
|
2386
|
+
const module = await import("./checkAudio-QQBR4HR7.js");
|
|
2356
2387
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2357
2388
|
}
|
|
2358
2389
|
function audioCheckFailure(project, error) {
|
|
@@ -2404,7 +2435,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2404
2435
|
}
|
|
2405
2436
|
},
|
|
2406
2437
|
async prepareMedia(project, options) {
|
|
2407
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2438
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-WXVNPAWD.js");
|
|
2408
2439
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2409
2440
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2410
2441
|
},
|
|
@@ -2520,7 +2551,7 @@ var CHECK_COMMAND_ARGS = {
|
|
|
2520
2551
|
},
|
|
2521
2552
|
timeout: {
|
|
2522
2553
|
type: "string",
|
|
2523
|
-
description: "Initial render-ready timeout in ms; also sets the navigation minimum (10s floor, default: 3000)",
|
|
2554
|
+
description: "Initial render-ready timeout in ms, or with a unit (45s, 2m); also sets the navigation minimum (10s floor, default: 3000)",
|
|
2524
2555
|
default: "3000"
|
|
2525
2556
|
},
|
|
2526
2557
|
contrast: {
|
|
@@ -2687,7 +2718,7 @@ function parseCheckOptions(args) {
|
|
|
2687
2718
|
maxIssues: positiveInteger(args["max-issues"], DEFAULT_CHECK_OPTIONS.maxIssues),
|
|
2688
2719
|
collapseStatic: args["collapse-static"] !== false,
|
|
2689
2720
|
tolerance: nonNegativeNumber(args.tolerance, DEFAULT_CHECK_OPTIONS.tolerance),
|
|
2690
|
-
timeout:
|
|
2721
|
+
timeout: parseTimeoutMs(args.timeout, DEFAULT_CHECK_OPTIONS.timeout, 500),
|
|
2691
2722
|
contrast: args.contrast !== false,
|
|
2692
2723
|
...checkReview()?.skipContrastInMotion ? { skipContrastInMotion: true } : {},
|
|
2693
2724
|
strict: args.strict === true,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
warnUnknownEnumValues,
|
|
60
60
|
wrapInlineScriptWithErrorBoundary,
|
|
61
61
|
wrapScopedCompositionScript
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-BQMAPNDA.js";
|
|
63
63
|
import {
|
|
64
64
|
cssVariableName
|
|
65
65
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
} from "./chunk-OFQWTKPW.js";
|
|
70
70
|
import {
|
|
71
71
|
lintHyperframeHtml
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-FC4WT5FX.js";
|
|
73
73
|
import {
|
|
74
74
|
CSS_URL_RE,
|
|
75
75
|
checkSubCompositionUsability,
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
refreshIfNeeded
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VYRJAQGC.js";
|
|
10
10
|
import {
|
|
11
11
|
buildAuthHeaders,
|
|
12
12
|
envCredentialVar,
|
|
13
13
|
isAuthError,
|
|
14
14
|
isTokenExpired,
|
|
15
15
|
tryResolveCredential
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-M4QZFUMW.js";
|
|
17
17
|
import {
|
|
18
18
|
rewriteSrcsetUrls
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BQMAPNDA.js";
|
|
20
20
|
import {
|
|
21
21
|
CSS_URL_RE,
|
|
22
22
|
isNonRelativeUrl,
|
|
@@ -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-Z5TGBEPJ.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7PAK7LZ5.js";
|
|
16
16
|
import {
|
|
17
17
|
launchManagedBrowser,
|
|
18
18
|
resolveManagedGpuMode
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-X6MCIK7L.js";
|
|
20
20
|
import {
|
|
21
21
|
pageNavigationTimeoutMs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ENRFKCI6.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveCompositionViewportFromHtml
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ULL3U6PV.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -35,17 +35,17 @@ import {
|
|
|
35
35
|
} from "./chunk-ZTZA4UWZ.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveNaturalMediaTimelineDuration
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-BQMAPNDA.js";
|
|
39
39
|
import {
|
|
40
40
|
decodeWellFormedEscapes
|
|
41
41
|
} from "./chunk-SE2MXV2N.js";
|
|
42
42
|
import {
|
|
43
43
|
printDeprecationNotice,
|
|
44
44
|
withMeta
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-U6KN6OIP.js";
|
|
46
46
|
import {
|
|
47
47
|
normalizeErrorMessage
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-EU7MVORF.js";
|
|
49
49
|
|
|
50
50
|
// src/commands/validate.ts
|
|
51
51
|
import { existsSync, mkdtempSync, readFileSync, rmSync } from "fs";
|
|
@@ -248,7 +248,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
248
248
|
async function localizeRemoteAssets(html) {
|
|
249
249
|
let dir;
|
|
250
250
|
try {
|
|
251
|
-
const { loadProducer } = await import("./producer-
|
|
251
|
+
const { loadProducer } = await import("./producer-524FDOLX.js");
|
|
252
252
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
253
253
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
254
254
|
const assetDir = dir;
|
|
@@ -269,10 +269,10 @@ async function localizeRemoteAssets(html) {
|
|
|
269
269
|
}
|
|
270
270
|
async function validateInBrowser(project, opts) {
|
|
271
271
|
const projectDir = project.dir;
|
|
272
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
273
|
-
const { ensureBrowser } = await import("./manager-
|
|
274
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
275
|
-
const { lintProject } = await import("./lintProject-
|
|
272
|
+
const { bundleToSingleHtml } = await import("./compiler-PG4RKX6K.js");
|
|
273
|
+
const { ensureBrowser } = await import("./manager-Z7W4GQGF.js");
|
|
274
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-JYDDGPAH.js");
|
|
275
|
+
const { lintProject } = await import("./lintProject-W3YVHAGP.js");
|
|
276
276
|
const lintResult = await lintProject(projectDir);
|
|
277
277
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
278
278
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -293,9 +293,9 @@ async function validateInBrowser(project, opts) {
|
|
|
293
293
|
try {
|
|
294
294
|
const browser = await ensureBrowser();
|
|
295
295
|
const puppeteer = await import("puppeteer-core");
|
|
296
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
296
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-6XOMREMS.js");
|
|
297
297
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
298
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
298
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-EYDAAPJF.js");
|
|
299
299
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
300
300
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
301
301
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|