hyperframes 0.8.212 → 0.8.213
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-JSM7YBQX.js → add-GRJ6BQMO.js} +11 -11
- package/dist/{agentPromptGenerator-NTPYCKOI.js → agentPromptGenerator-2HTUGEKK.js} +6 -6
- package/dist/{animatedGifPrep-XTK7UWXF.js → animatedGifPrep-7KPZBZXD.js} +6 -6
- package/dist/api.js +16 -16
- package/dist/{asset-SMY2EGPH.js → asset-YVIFFWCU.js} +2 -2
- package/dist/{assetCataloger-CVPWY34W.js → assetCataloger-IZW7LPCT.js} +7 -7
- package/dist/{audio-Y4OYLTWN.js → audio-X7274SUF.js} +307 -202
- package/dist/{auth-MDEHZR7R.js → auth-II6SIDJD.js} +1 -1
- package/dist/{autoUpdate-3FL6EDPM.js → autoUpdate-WJIT74BG.js} +2 -2
- package/dist/{backgroundChecks-A6TG2BT3.js → backgroundChecks-NMKJAES7.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-K2PBRRTQ.js → batchRender-I7GRY73M.js} +3 -3
- package/dist/{beats-RA6XK6J5.js → beats-6VXALJZT.js} +9 -9
- package/dist/{benchmark-EHU5O4PP.js → benchmark-RLIRA74V.js} +8 -8
- package/dist/{browser-7RUIZT2H.js → browser-7T3JMNTR.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-O2U2FYY2.js → bundleWithLocalizedFonts-C2LP6QZZ.js} +2 -2
- package/dist/{capture-77KDKKNK.js → capture-OZFDTN4A.js} +45 -16
- package/dist/{capture-JGYBORAG.js → capture-V4HWHG7C.js} +4 -4
- package/dist/{captureCompositionFrame-DZ7EHPZV.js → captureCompositionFrame-WZAVXCRQ.js} +11 -11
- package/dist/{catalog-CUP3SYAI.js → catalog-UFC7JS4T.js} +11 -11
- package/dist/{catch-up-ZGUCWH5Q.js → catch-up-YBNKJDWJ.js} +4 -4
- package/dist/{check-ITGFVBT6.js → check-ESQJHRGA.js} +36 -36
- package/dist/{checkAudio-CTLPD6YT.js → checkAudio-OIIBWFBF.js} +26 -11
- package/dist/{checkBrowser-G2N4JI6N.js → checkBrowser-WAWL6TKX.js} +30 -30
- package/dist/{chunk-N3J2MLXC.js → chunk-2GS2RUVI.js} +2 -2
- package/dist/{chunk-SXTWQ7CH.js → chunk-2WELGDXU.js} +3 -3
- package/dist/{chunk-PW7FCVHR.js → chunk-3OYLHBQZ.js} +1 -1
- package/dist/{chunk-U46JEU26.js → chunk-4645UHJF.js} +1 -0
- package/dist/{chunk-3YBXKWAF.js → chunk-46HYDDZ5.js} +1 -1
- package/dist/{chunk-WVIH5BBZ.js → chunk-4BXPCS5B.js} +13 -13
- package/dist/{chunk-6SG3RRAQ.js → chunk-53VXGZ3L.js} +2 -2
- package/dist/{chunk-UBUKKTNW.js → chunk-5ODMV7X6.js} +2 -2
- package/dist/{chunk-YRO3PXWU.js → chunk-6CGYINE7.js} +97 -2
- package/dist/{chunk-EC77ZBCP.js → chunk-76T7KAYD.js} +1 -1
- package/dist/{chunk-7Q5TBUC2.js → chunk-7I5N36JA.js} +2 -2
- package/dist/{chunk-AJAXP4HF.js → chunk-7JWRVKN4.js} +1 -1
- package/dist/{chunk-UE4CXHMF.js → chunk-7LOVQRUJ.js} +3 -3
- package/dist/{chunk-QUXWS5UG.js → chunk-AJ3QW6RX.js} +12 -5
- package/dist/{chunk-W55BW7KA.js → chunk-BE6XXZAR.js} +8 -8
- package/dist/{chunk-RDZKBIEB.js → chunk-BVHNFPRF.js} +2 -2
- package/dist/{chunk-ORJY6Z6G.js → chunk-CLA4XSBO.js} +3 -3
- package/dist/{chunk-P2VGMOX7.js → chunk-D3Q2TABU.js} +1 -1
- package/dist/{chunk-DS7ANFBV.js → chunk-DJFEYX23.js} +1 -1
- package/dist/{chunk-ZCYSQ3NQ.js → chunk-DKEZSH6M.js} +2 -2
- package/dist/{chunk-25MKZTRT.js → chunk-DQ26IA5P.js} +1 -1
- package/dist/{chunk-YVT5IU6J.js → chunk-ENE4IKFX.js} +9 -9
- package/dist/{chunk-N7XJHZ35.js → chunk-EQ66MVWZ.js} +1 -1
- package/dist/{chunk-64XQS7AP.js → chunk-F4EX52FU.js} +1 -1
- package/dist/{chunk-JZNQQI5M.js → chunk-FGIMC5I4.js} +5 -5
- package/dist/{chunk-DXPC7Z6L.js → chunk-FHO3FXTW.js} +1 -1
- package/dist/{chunk-NXDKBFEO.js → chunk-GNSNCIHF.js} +13 -13
- package/dist/{chunk-GVE6I5EL.js → chunk-H3I2VLLL.js} +13 -1
- package/dist/{chunk-UYEZTK4U.js → chunk-HPTFD6MO.js} +10 -10
- package/dist/{chunk-45JN2GIZ.js → chunk-HWHPYCBZ.js} +1 -1
- package/dist/{chunk-T7KNW7PE.js → chunk-I3G45TWG.js} +1 -1
- package/dist/{chunk-R5B6GXQM.js → chunk-IHYWP4V5.js} +1 -1
- package/dist/{chunk-MX2GMAAW.js → chunk-ISMOBMWF.js} +34 -23
- package/dist/{chunk-UXH6E5HC.js → chunk-KL2UJXCY.js} +2 -2
- package/dist/{chunk-YACECUHX.js → chunk-KSMCX5EP.js} +3 -3
- package/dist/{chunk-OL5E4Y4L.js → chunk-KVFOQ3EM.js} +46 -23
- package/dist/{chunk-BYRXSKIY.js → chunk-KY67MTBH.js} +1 -1
- package/dist/{chunk-GQ724553.js → chunk-L34IH4SH.js} +4 -4
- package/dist/{chunk-OSCWTA2O.js → chunk-LALMFSLB.js} +5 -5
- package/dist/{chunk-MJCIAZSK.js → chunk-LGDRKQKL.js} +1 -1
- package/dist/{chunk-XGXTZNES.js → chunk-LTQXIYNL.js} +2 -2
- package/dist/{chunk-XEWMJWNW.js → chunk-LYON3VGF.js} +2 -2
- package/dist/{chunk-V6OSE6VT.js → chunk-MBSESQED.js} +1 -1
- package/dist/{chunk-SPDSRBIN.js → chunk-MFC2PE7D.js} +1 -1
- package/dist/{chunk-DVVTBVKA.js → chunk-N3MOQTRS.js} +7 -7
- package/dist/chunk-N3ZAIZF3.js +4870 -0
- package/dist/{chunk-JLGVBK5M.js → chunk-N4XNRHFM.js} +18 -4
- package/dist/{chunk-A2WPZE2R.js → chunk-NGJS5H5E.js} +1 -1
- package/dist/{chunk-7ZAVTGGT.js → chunk-NP4G4WPP.js} +9 -9
- package/dist/{chunk-NGSENR4J.js → chunk-O63A26XQ.js} +1 -1
- package/dist/{chunk-YX5ELTKV.js → chunk-PAZ7WUYZ.js} +2 -2
- package/dist/{chunk-F5XADOGC.js → chunk-QHWVCKC5.js} +1 -1
- package/dist/{chunk-CODPTVC2.js → chunk-S3ZWVEGQ.js} +1 -1
- package/dist/{chunk-Y3U7ECBH.js → chunk-STK62RL7.js} +1 -1
- package/dist/{chunk-RJILJ4OR.js → chunk-SZOCI3JJ.js} +2 -2
- package/dist/{chunk-FW6CYA5D.js → chunk-TCCCAEZD.js} +2 -2
- package/dist/{chunk-W2VJTKIW.js → chunk-TDNPJHEQ.js} +7 -7
- package/dist/{chunk-7W7ANGR4.js → chunk-TLXK5A2N.js} +18 -18
- package/dist/{chunk-RQC4PHO3.js → chunk-TWCICOCI.js} +1 -1
- package/dist/{chunk-HXZNCXQX.js → chunk-UBDO4EHA.js} +9 -0
- package/dist/{chunk-BLVHVXRU.js → chunk-V2H5UABS.js} +3 -3
- package/dist/{chunk-2YDIEZSF.js → chunk-VTX27LET.js} +3 -3
- package/dist/{chunk-TPO32Z65.js → chunk-WSEPFRJV.js} +1 -1
- package/dist/{chunk-UULZKCBI.js → chunk-XNY2KI2Z.js} +1 -1
- package/dist/{chunk-5TQ4AEPF.js → chunk-Z65ZQYBW.js} +3 -3
- package/dist/{chunk-3JQ2YOKL.js → chunk-Z7QHOT65.js} +1 -1
- package/dist/{chunk-J7GPSY5N.js → chunk-ZGG53XZX.js} +5 -5
- package/dist/{chunk-VKD23SIO.js → chunk-ZSRNM6LP.js} +1 -1
- package/dist/{chunk-KZZWYIEB.js → chunk-ZTCILR3V.js} +1 -1
- package/dist/{clean-FBZ7GHRY.js → clean-XBQ54UZX.js} +16 -16
- package/dist/cli.js +62 -59
- package/dist/{cloud-VYSWJ7UO.js → cloud-E2GUGXXL.js} +4 -4
- package/dist/{cloudrun-U6LI7KLV.js → cloudrun-IAPFT66T.js} +4 -4
- package/dist/commands/layout-audit.browser.js +7 -10
- package/dist/{compare-YR7BMEHJ.js → compare-2VPIOCLV.js} +27 -27
- package/dist/{compiler-6YCAUK7Z.js → compiler-3ED6KJYN.js} +3 -3
- package/dist/{component-HVSM6FJV.js → component-IH2KSDNM.js} +3 -3
- package/dist/{compositions-QTFL2VNL.js → compositions-MIMF2GM3.js} +10 -10
- package/dist/{delete-2FHCQ72T.js → delete-5H5EYSYK.js} +2 -2
- package/dist/{deploy-6S45QWG6.js → deploy-DMQT34K2.js} +1 -1
- package/dist/{deterministicFonts-LKAGUNE5.js → deterministicFonts-2ISM3LMW.js} +1 -1
- package/dist/{dist-B4KLCLZ5.js → dist-ANQ2CIIO.js} +2 -2
- package/dist/{dist-NCI6JOJZ.js → dist-OKQM7BQ3.js} +3 -1
- package/dist/{doctor-4MRS6RED.js → doctor-MTRZJQZZ.js} +10 -10
- package/dist/{events-4VBBY7PP.js → events-2GNMM2YS.js} +2 -2
- package/dist/{events-FN45HVPM.js → events-TBKM6B5H.js} +5 -3
- package/dist/{feedback-T67P2CDA.js → feedback-6NNSKXQP.js} +7 -7
- package/dist/{ffmpeg-ED7ZK6XH.js → ffmpeg-622QCJLB.js} +6 -6
- package/dist/{figma-UXAWKPOY.js → figma-TFHZ3N5A.js} +3 -3
- package/dist/fontLocalizeCli.js +10 -10
- package/dist/{get-EFH3PPJA.js → get-P6RA7MAU.js} +2 -2
- package/dist/{gpuPolicy-ZADQMXQT.js → gpuPolicy-CK2XDEAM.js} +6 -6
- package/dist/{grade-compare-425BFHSF.js → grade-compare-LK6U7OJD.js} +28 -28
- package/dist/{heifImagePrep-ZJM7N2XY.js → heifImagePrep-3OXKQUEZ.js} +7 -7
- package/dist/{help-23PPB2BD.js → help-YENCFXYK.js} +1 -1
- package/dist/{history-CHJV33M5.js → history-V3E4UCMY.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-36YPISVA.js → info-ZGKQMX3Z.js} +7 -7
- package/dist/{init-U6EE2EIU.js → init-D6PJI2TA.js} +26 -26
- package/dist/{inspect-NI2RMUFR.js → inspect-UCHLILOX.js} +28 -28
- package/dist/{installer-K3HIZ5CF.js → installer-CV2OKJFW.js} +4 -4
- package/dist/{keyframes-I6T2IT6I.js → keyframes-2IJTDJ7K.js} +6 -6
- package/dist/{lambda-WL64Z2F3.js → lambda-GKZBKWTK.js} +10 -10
- package/dist/{layout-R2YZ4N6P.js → layout-KKPRCTME.js} +28 -28
- package/dist/{lint-IAAG6Z65.js → lint-NAC6M4NT.js} +7 -7
- package/dist/{lintProject-EM7Y2ZRB.js → lintProject-MSATZIK7.js} +1 -1
- package/dist/{list-3O6743DJ.js → list-QRMXOTNB.js} +2 -2
- package/dist/{localPage-L5FRBCNP.js → localPage-KMXALM7A.js} +6 -6
- package/dist/{login-27TRFTYB.js → login-GBN5ZMEA.js} +4 -4
- package/dist/{manager-D6TE4ENP.js → manager-GPDDRQIW.js} +7 -7
- package/dist/{media-treatment-E3YLZVXC.js → media-treatment-4Q7G27JJ.js} +12 -12
- package/dist/{models-2Q3TGNH5.js → models-7KJF4LYJ.js} +10 -10
- package/dist/{motionShot-XYW2HMVI.js → motionShot-DQAX2QTZ.js} +14 -14
- package/dist/{normalize-audio-D5WNUNDM.js → normalize-audio-K7VCJQYJ.js} +8 -8
- package/dist/{open-3KO7UUPC.js → open-ZSBVR3KC.js} +11 -11
- package/dist/{parakeetRunner-WX6L6MW5.js → parakeetRunner-XXZHJYKO.js} +11 -11
- package/dist/{pipeline-WYIO4KGN.js → pipeline-KNLOS5CL.js} +9 -9
- package/dist/{play-ZM3ZUJSZ.js → play-GQWF7MU5.js} +19 -19
- package/dist/{preflight-7OMCIXNM.js → preflight-UMKQ5C5W.js} +7 -7
- package/dist/{present-E2PLH2GJ.js → present-X7BPH35M.js} +15 -15
- package/dist/{preview-TVRM75FN.js → preview-5Q7HPEOF.js} +17 -17
- package/dist/{producer-M5F6KZEF.js → producer-IXOPGETH.js} +1 -1
- package/dist/{projectConfig-VFKGY3XE.js → projectConfig-YGI5AINR.js} +6 -6
- package/dist/{publication-AF33R7LF.js → publication-ZSDCS2ST.js} +2 -2
- package/dist/{publish-Z7HGDQ5R.js → publish-S2IIRPFZ.js} +10 -10
- package/dist/{remove-background-PN3KCBT4.js → remove-background-F2WFDCNM.js} +10 -10
- package/dist/{render-I3HBIJX3.js → render-CHRSSQNM.js} +29 -29
- package/dist/{render-SEODWRRR.js → render-NVHUPEDG.js} +14 -14
- package/dist/{render-IZNPEXMU.js → render-WYBQO4SR.js} +5 -5
- package/dist/{render-batch-MQSORY55.js → render-batch-SDGA2643.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-HXE4F2G4.js → resolver-3W2OPVGC.js} +4 -4
- package/dist/{sherpa-NPT6S3RP.js → sherpa-HCPAOYGA.js} +10 -10
- package/dist/{skills-P3BI55YP.js → skills-KOVM4OP5.js} +5 -5
- package/dist/{skillsUpdateCheck-43Q4ZHWN.js → skillsUpdateCheck-ISMQFMPY.js} +3 -3
- package/dist/{snapshot-YLT64YQS.js → snapshot-K7LVZDHG.js} +303 -88
- package/dist/{src-7S7K4QUN.js → src-FUMXFZYG.js} +9 -9
- package/dist/{src-OHJ7USRX.js → src-QEFKMRH7.js} +9 -5
- package/dist/{staticProjectServer-RP3MW2EW.js → staticProjectServer-MF57NBIU.js} +17 -17
- package/dist/studio/assets/{hyperframes-player-DHfuW7Lt.js → hyperframes-player-Bb6n05RB.js} +1 -1
- package/dist/studio/assets/{index-CkjUY33q.js → index-DOtf09XR.js} +1 -1
- package/dist/studio/assets/{index-CWgIsKzV.js → index-pq574E5O.js} +119 -119
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-BZPZCJL6.js → studio-api-Y4S3W7XE.js} +9 -9
- package/dist/{studioServer-QLRIXNYM.js → studioServer-5LUZQOQV.js} +48 -48
- package/dist/{telemetry-QOBPRUWF.js → telemetry-TJMB5BTF.js} +3 -3
- package/dist/{timeline-OLQFVWVU.js → timeline-CU6CIWYL.js} +17 -17
- package/dist/{tokens-BAHLVGEC.js → tokens-7P4N2FWN.js} +2 -2
- package/dist/{transcribe-3NHUWW4J.js → transcribe-FZ7JK6QS.js} +15 -15
- package/dist/{transcribe-HR6BFDUR.js → transcribe-TFDEQFMG.js} +9 -9
- package/dist/{updateCheck-BGHPCA7J.js → updateCheck-HUDVZHVM.js} +2 -2
- package/dist/{upgrade-NFI6JOME.js → upgrade-KP4RQZKY.js} +2 -2
- package/dist/{urlDownloader-P35K74RS.js → urlDownloader-5SHSHWMB.js} +5 -5
- package/dist/{validate-Q57ZCI4Q.js → validate-VWX423M4.js} +22 -22
- package/dist/{video-OO2M2AKD.js → video-K4L2YFU2.js} +7 -7
- package/dist/warmCheck.js +36 -36
- package/package.json +1 -1
- package/dist/chunk-W5OBRMZ6.js +0 -4870
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MBSESQED.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-5ZBMHUY2.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_CONFIG,
|
|
15
15
|
resolvePageNavigationTimeout
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KVFOQ3EM.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KY67MTBH.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-DP5LF7GF.js";
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
warnUnknownEnumValues,
|
|
60
60
|
wrapInlineScriptWithErrorBoundary,
|
|
61
61
|
wrapScopedCompositionScript
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-N3ZAIZF3.js";
|
|
63
63
|
import {
|
|
64
64
|
cssVariableName
|
|
65
65
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -68,8 +68,9 @@ import {
|
|
|
68
68
|
resolveWithinProject
|
|
69
69
|
} from "./chunk-OFQWTKPW.js";
|
|
70
70
|
import {
|
|
71
|
+
collectExternalStyles,
|
|
71
72
|
lintHyperframeHtml
|
|
72
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-4645UHJF.js";
|
|
73
74
|
import {
|
|
74
75
|
CSS_URL_RE,
|
|
75
76
|
checkSubCompositionUsability,
|
|
@@ -398,8 +399,10 @@ function extractStandaloneEntryFromIndex(indexHtml, entryFile, entryHtml) {
|
|
|
398
399
|
}
|
|
399
400
|
|
|
400
401
|
// ../core/dist/compiler/staticGuard.js
|
|
401
|
-
async function validateHyperframeHtmlContract(html) {
|
|
402
|
-
const result = await lintHyperframeHtml(html
|
|
402
|
+
async function validateHyperframeHtmlContract(html, project) {
|
|
403
|
+
const result = await lintHyperframeHtml(html, project && {
|
|
404
|
+
externalStyles: collectExternalStyles(project.dir, html, project.compSrcPath)
|
|
405
|
+
});
|
|
403
406
|
const missingKeys = result.findings.filter((finding) => finding.severity === "error").map((finding) => finding.message);
|
|
404
407
|
if (missingKeys.length === 0) {
|
|
405
408
|
return { isValid: true, missingKeys: [], failureReason: null };
|
|
@@ -2218,7 +2221,11 @@ async function bundleProject(projectDir, options) {
|
|
|
2218
2221
|
const rawHtml = readSource(mountedShell ?? entryHtml);
|
|
2219
2222
|
const compiled = await compileHtml(rawHtml, sourceDir, options?.probeMediaDuration);
|
|
2220
2223
|
if (options?.staticGuard !== false && !mountedShell) {
|
|
2221
|
-
const
|
|
2224
|
+
const entryRel = relative(projectDir, indexPath).replace(/\\/g, "/");
|
|
2225
|
+
const staticGuard = await validateHyperframeHtmlContract(compiled, {
|
|
2226
|
+
dir: projectDir,
|
|
2227
|
+
...entryRel !== "index.html" && { compSrcPath: entryRel }
|
|
2228
|
+
});
|
|
2222
2229
|
if (!staticGuard.isValid) {
|
|
2223
2230
|
console.warn(`[StaticGuard] Invalid HyperFrame contract: ${staticGuard.missingKeys.join("; ")}`);
|
|
2224
2231
|
}
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2WELGDXU.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-DKEZSH6M.js";
|
|
36
36
|
import {
|
|
37
37
|
HistoryBusyError,
|
|
38
38
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -70,11 +70,11 @@ import {
|
|
|
70
70
|
scanProjectMedia,
|
|
71
71
|
shouldPrewarmProxy,
|
|
72
72
|
waitForProxy
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-TCCCAEZD.js";
|
|
74
74
|
import {
|
|
75
75
|
probeAudioTrack,
|
|
76
76
|
probeMediaMetadata
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-IHYWP4V5.js";
|
|
78
78
|
import {
|
|
79
79
|
STUDIO_MOTION_PATH,
|
|
80
80
|
createStudioMotionRenderBodyScript,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
ensureHfIds,
|
|
116
116
|
stampHfIdsInPlace,
|
|
117
117
|
stripSdrPngColourTags
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-AJ3QW6RX.js";
|
|
119
119
|
import {
|
|
120
120
|
GSAP_BASE_URL_META,
|
|
121
121
|
PREVIEW_PROXY_BOX_PARAM,
|
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
normalizeGsapLocalRoot,
|
|
133
133
|
parseFps,
|
|
134
134
|
parsePreviewProxyBox
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-KY67MTBH.js";
|
|
136
136
|
import {
|
|
137
137
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
138
138
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
resolveRateSpec,
|
|
148
148
|
sourceTimeAt,
|
|
149
149
|
stripEmbeddedRuntimeScripts
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-N3ZAIZF3.js";
|
|
151
151
|
import {
|
|
152
152
|
ProjectRootMissingError,
|
|
153
153
|
folderGone,
|
|
@@ -5592,7 +5592,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5592
5592
|
let block = extractGsapScriptBlock(html);
|
|
5593
5593
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5594
5594
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5595
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5595
|
+
const { GSAP_CDN } = await import("./dist-ANQ2CIIO.js");
|
|
5596
5596
|
const bootstrap = [
|
|
5597
5597
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5598
5598
|
"<script>",
|
|
@@ -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-LYON3VGF.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-KVFOQ3EM.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-7VZEOCUY.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZSRNM6LP.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_MODEL,
|
|
15
15
|
ensureModel,
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
hasFFmpeg,
|
|
18
18
|
pinnedWhisperModel,
|
|
19
19
|
sha256File
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-Z7QHOT65.js";
|
|
21
21
|
import {
|
|
22
22
|
findFFmpeg,
|
|
23
23
|
findFFprobe,
|
|
24
24
|
getFFmpegInstallHint
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-I3G45TWG.js";
|
|
26
26
|
import {
|
|
27
27
|
findWavChunk
|
|
28
28
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
|
|
|
1278
1278
|
} catch (err) {
|
|
1279
1279
|
if (err instanceof Error) {
|
|
1280
1280
|
try {
|
|
1281
|
-
const { trackCommandFailure } = await import("./events-
|
|
1281
|
+
const { trackCommandFailure } = await import("./events-TBKM6B5H.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeAudioTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IHYWP4V5.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveWithinProject
|
|
12
12
|
} from "./chunk-ALVXFXUG.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
MAX_AUDIO_GAIN_DB,
|
|
15
15
|
formatAudioGain,
|
|
16
16
|
isAudibleVideoElement
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-N3ZAIZF3.js";
|
|
18
18
|
import {
|
|
19
19
|
findFfBinary
|
|
20
20
|
} from "./chunk-VAS6HQX3.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KL2UJXCY.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -9,27 +9,27 @@ import {
|
|
|
9
9
|
} from "./chunk-TQBQYO4L.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZTCILR3V.js";
|
|
13
13
|
import {
|
|
14
14
|
serveStaticProjectHtml
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-N3MOQTRS.js";
|
|
16
16
|
import {
|
|
17
17
|
AUDIT_SEEK_OPTIONS,
|
|
18
18
|
installPageFunctionGuard,
|
|
19
19
|
seekCompositionTimeline,
|
|
20
20
|
waitForCompositionFonts,
|
|
21
21
|
waitForRuntimeReady
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NP4G4WPP.js";
|
|
23
23
|
import {
|
|
24
24
|
gotoWhenSent
|
|
25
25
|
} from "./chunk-7J6LQ3SQ.js";
|
|
26
26
|
import {
|
|
27
27
|
pageNavigationTimeoutMs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-7LOVQRUJ.js";
|
|
29
29
|
import {
|
|
30
30
|
launchManagedBrowser,
|
|
31
31
|
resolveManagedGpuMode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-BVHNFPRF.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
printDeprecationNotice,
|
|
41
41
|
withMeta
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-O63A26XQ.js";
|
|
43
43
|
import {
|
|
44
44
|
failureMessage,
|
|
45
45
|
jsonFailure
|
|
@@ -699,7 +699,7 @@ async function collectTweenBoundaries(page) {
|
|
|
699
699
|
});
|
|
700
700
|
}
|
|
701
701
|
async function bundleProjectHtml(projectDir) {
|
|
702
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
702
|
+
const { bundleToSingleHtml } = await import("./compiler-3ED6KJYN.js");
|
|
703
703
|
return bundleToSingleHtml(projectDir);
|
|
704
704
|
}
|
|
705
705
|
async function alignViewportToComposition(page, url) {
|
|
@@ -718,13 +718,13 @@ async function alignViewportToComposition(page, url) {
|
|
|
718
718
|
async function runLayoutAudit(projectDir, opts) {
|
|
719
719
|
const { ensureBrowser } = await import("./manager-IZIK7BHN.js");
|
|
720
720
|
const puppeteer = await import("puppeteer-core");
|
|
721
|
-
const { buildChromeArgs } = await import("./src-
|
|
721
|
+
const { buildChromeArgs } = await import("./src-QEFKMRH7.js");
|
|
722
722
|
const {
|
|
723
723
|
assertWebGpuAdapterAvailable,
|
|
724
724
|
compositionRequiresWebGpu,
|
|
725
725
|
resolveLocalBrowserGpuMode,
|
|
726
726
|
resolveLocalWebGpu
|
|
727
|
-
} = await import("./gpuPolicy-
|
|
727
|
+
} = await import("./gpuPolicy-CK2XDEAM.js");
|
|
728
728
|
const html = await bundleProjectHtml(projectDir);
|
|
729
729
|
const server = await serveStaticProjectHtml(
|
|
730
730
|
projectDir,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCompositionDimensions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NGJS5H5E.js";
|
|
10
10
|
import {
|
|
11
11
|
outputResolutionForSize
|
|
12
12
|
} from "./chunk-NHA4NRBE.js";
|
|
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3OYLHBQZ.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VTX27LET.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CLA4XSBO.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZSRNM6LP.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL,
|
|
26
26
|
findWhisper,
|
|
27
27
|
isWhisperUnavailable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-Z7QHOT65.js";
|
|
29
29
|
import {
|
|
30
30
|
formatSrt,
|
|
31
31
|
formatVtt,
|
|
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ENE4IKFX.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4BXPCS5B.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-N3MOQTRS.js";
|
|
19
19
|
import {
|
|
20
20
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
21
21
|
STUDIO_PREVIEW_MARK_META
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BE6XXZAR.js";
|
|
23
23
|
import {
|
|
24
24
|
artifactDirectory,
|
|
25
25
|
finishSnapshotRun
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
proxyVariantFor,
|
|
32
32
|
resolveProxies,
|
|
33
33
|
scanProjectMediaCodecMap
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TCCCAEZD.js";
|
|
35
35
|
import {
|
|
36
36
|
AUDIT_SEEK_OPTIONS,
|
|
37
37
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -45,21 +45,21 @@ import {
|
|
|
45
45
|
seekCompositionTimeline,
|
|
46
46
|
seekInPage,
|
|
47
47
|
waitForPreferredSeekTarget
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-NP4G4WPP.js";
|
|
49
49
|
import {
|
|
50
50
|
findStageProxyBox
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-NGJS5H5E.js";
|
|
52
52
|
import {
|
|
53
53
|
resolveAutoProxy
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-QHWVCKC5.js";
|
|
55
55
|
import {
|
|
56
56
|
BrowserCleanupError,
|
|
57
57
|
closeManagedBrowser,
|
|
58
58
|
onStopSignal
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-BVHNFPRF.js";
|
|
60
60
|
import {
|
|
61
61
|
injectTagsAtHeadStart
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-N3ZAIZF3.js";
|
|
63
63
|
import {
|
|
64
64
|
normalizeErrorMessage
|
|
65
65
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -573,7 +573,7 @@ function proxyFailedDraft(message) {
|
|
|
573
573
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
574
574
|
}
|
|
575
575
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
576
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
576
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-C2LP6QZZ.js");
|
|
577
577
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
578
578
|
}
|
|
579
579
|
function withCapturePreviewMark(html) {
|
|
@@ -635,7 +635,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
635
635
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
636
636
|
}));
|
|
637
637
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
638
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
638
|
+
const { analyzeClipMediaFit } = await import("./src-QEFKMRH7.js");
|
|
639
639
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
640
640
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
641
641
|
}
|
|
@@ -772,7 +772,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
772
772
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
773
773
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
774
774
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
775
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
775
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-C2LP6QZZ.js");
|
|
776
776
|
return withCapturePreviewMark(
|
|
777
777
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
778
778
|
);
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
flush,
|
|
9
9
|
shouldTrack,
|
|
10
10
|
trackEvent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-76T7KAYD.js";
|
|
12
12
|
import {
|
|
13
13
|
redactTelemetryString
|
|
14
14
|
} from "./chunk-634HSJ3J.js";
|
|
@@ -526,6 +526,17 @@ function trackCatalogSearchMiss(props) {
|
|
|
526
526
|
...props.tier ? { tier: props.tier } : {}
|
|
527
527
|
});
|
|
528
528
|
}
|
|
529
|
+
function trackSnapshotRun(props) {
|
|
530
|
+
const seconds = props.longestDecodeSeconds;
|
|
531
|
+
trackEvent("cli_snapshot_run", {
|
|
532
|
+
frames: props.frames,
|
|
533
|
+
video_frames: props.videoFrames,
|
|
534
|
+
decode_passes: props.decodePasses,
|
|
535
|
+
shared_frames: props.sharedFrames,
|
|
536
|
+
keyframe_distance: seconds <= 2 ? "to_2s" : seconds <= 10 ? "to_10s" : seconds <= 60 ? "to_60s" : "over_60s",
|
|
537
|
+
slow_stage: props.slowStage
|
|
538
|
+
});
|
|
539
|
+
}
|
|
529
540
|
function trackCommandResult(props) {
|
|
530
541
|
trackEvent("cli_command_result", {
|
|
531
542
|
command: props.command,
|
|
@@ -622,6 +633,7 @@ export {
|
|
|
622
633
|
trackFeedbackComment,
|
|
623
634
|
trackRenderFeedback,
|
|
624
635
|
trackCatalogSearchMiss,
|
|
636
|
+
trackSnapshotRun,
|
|
625
637
|
trackCommandResult,
|
|
626
638
|
trackCheckReport,
|
|
627
639
|
trackLintReport,
|
|
@@ -16,34 +16,34 @@ async function runWithWatchdog(work, deadline) {
|
|
|
16
16
|
deadline.then(() => ({ kind: "deadline" }))
|
|
17
17
|
]);
|
|
18
18
|
}
|
|
19
|
-
|
|
19
|
+
var DEADLINE_UNDER_AGENT_SHELL_LIMITS_MS = 4 * 6e4;
|
|
20
|
+
function createCaptureWatchdog(deadlineMs = DEADLINE_UNDER_AGENT_SHELL_LIMITS_MS) {
|
|
20
21
|
let browser;
|
|
21
22
|
let didExpire = false;
|
|
22
|
-
let timer;
|
|
23
23
|
let resolveDeadline = () => {
|
|
24
24
|
};
|
|
25
25
|
const promise = new Promise((resolve) => {
|
|
26
26
|
resolveDeadline = resolve;
|
|
27
27
|
});
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
28
|
+
let deadlineFromFirstBrowser;
|
|
29
|
+
const expire = () => {
|
|
30
|
+
didExpire = true;
|
|
31
|
+
resolveDeadline();
|
|
32
|
+
void browser?.close().catch(() => void 0);
|
|
33
|
+
};
|
|
35
34
|
return {
|
|
36
35
|
expired: () => didExpire,
|
|
37
36
|
promise,
|
|
38
37
|
registerBrowser: (nextBrowser) => {
|
|
39
38
|
browser = nextBrowser;
|
|
39
|
+
deadlineFromFirstBrowser ??= setTimeout(expire, deadlineMs);
|
|
40
40
|
if (didExpire) void browser.close().catch(() => void 0);
|
|
41
41
|
},
|
|
42
42
|
unregisterBrowser: (closedBrowser) => {
|
|
43
43
|
if (browser === closedBrowser) browser = void 0;
|
|
44
44
|
},
|
|
45
45
|
dispose: () => {
|
|
46
|
-
|
|
46
|
+
clearTimeout(deadlineFromFirstBrowser);
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
}
|