hyperframes 0.8.202 → 0.8.203
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-YC7QXNDO.js → add-HVWZZBVO.js} +15 -13
- package/dist/{animatedGifPrep-SFHFVFFE.js → animatedGifPrep-7SQD4XQY.js} +11 -9
- package/dist/api.js +23 -21
- package/dist/{asset-5E5BQ6BR.js → asset-H2D5ENJ6.js} +4 -3
- package/dist/{assetCataloger-F6YSU3H6.js → assetCataloger-PIRQXMHM.js} +11 -9
- package/dist/{audio-UZKBYVZ5.js → audio-F6TTYCGR.js} +21 -19
- package/dist/{auth-5DWW5DMO.js → auth-HK5IYSNR.js} +1 -1
- package/dist/{autoUpdate-D6HTQGOE.js → autoUpdate-DQMCXE6X.js} +2 -2
- package/dist/{backgroundChecks-FW4MBBK2.js → backgroundChecks-Y466WV7Y.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-DXD5THWY.js → batchRender-PGJELR2B.js} +8 -6
- package/dist/{beats-WRF4CRL7.js → beats-AD2IJGBZ.js} +13 -11
- package/dist/{benchmark-NDCR2AAG.js → benchmark-B564OTLO.js} +12 -10
- package/dist/{browser-KSG6M66G.js → browser-B7BELTLZ.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-GJ2UYZ6E.js → bundleWithLocalizedFonts-INYZKCJN.js} +4 -4
- package/dist/{capture-DTF47QX3.js → capture-LKV2HS5Q.js} +2 -2
- package/dist/{capture-FRVDEVPB.js → capture-VMJVXQJ2.js} +14 -12
- package/dist/{captureCompositionFrame-IC3MEOJR.js → captureCompositionFrame-L2W6KSAL.js} +16 -15
- package/dist/{catalog-TX3BMPOA.js → catalog-5ETWOAL2.js} +15 -13
- package/dist/{catch-up-YMVIJI2W.js → catch-up-3RWU3BRJ.js} +4 -4
- package/dist/{check-2LBOZR6Z.js → check-KD57MC5Z.js} +40 -39
- package/dist/{checkBrowser-56C73ZNX.js → checkBrowser-R72NYI4S.js} +36 -33
- package/dist/{chunk-Z4PSJSDF.js → chunk-2G6EI3WQ.js} +3 -3
- package/dist/chunk-2RY2LWAA.js +3466 -0
- package/dist/{chunk-KFJMWPZT.js → chunk-32SIPBON.js} +1 -1
- package/dist/{chunk-FWS2ZWV6.js → chunk-35KHQKEX.js} +5 -5
- package/dist/{chunk-B7CYKBXQ.js → chunk-3CISA3OS.js} +1 -1
- package/dist/{chunk-DMZ3SCCU.js → chunk-3NUFUEAX.js} +140 -31
- package/dist/{chunk-JCS7WFRM.js → chunk-3YZ2ESXP.js} +5 -6
- package/dist/chunk-42DLVZNO.js +3983 -0
- package/dist/{chunk-COHU6S2X.js → chunk-4GV742H2.js} +2 -2
- package/dist/{chunk-RFZJGC6V.js → chunk-5GFNMC2F.js} +2 -2
- package/dist/{chunk-CFUCHO4T.js → chunk-6MUI2H6P.js} +1 -1
- package/dist/{chunk-REUZB3HL.js → chunk-7RQXBL4L.js} +8 -8
- package/dist/{chunk-B22YBW5W.js → chunk-7SNVSO4A.js} +1 -1
- package/dist/{chunk-QZTFCWG7.js → chunk-AII6P2TC.js} +1 -1
- package/dist/{chunk-REFMKHRE.js → chunk-B7MRZJOW.js} +9 -9
- package/dist/{chunk-QGB5DECO.js → chunk-BD3LJRJT.js} +1 -1
- package/dist/{chunk-PLL6VC4F.js → chunk-CAHZZOEC.js} +1 -1
- package/dist/{chunk-J3CZK6PI.js → chunk-CFFPH6D3.js} +1 -1
- package/dist/{chunk-JNBHYUEU.js → chunk-CTNWZASM.js} +5 -5
- package/dist/{chunk-BU6XD7H2.js → chunk-DO2OTFCJ.js} +2 -2
- package/dist/{chunk-AQVLMH5C.js → chunk-DZZ6VHPY.js} +1 -1
- package/dist/{chunk-I64A5P5H.js → chunk-E3LRVXM2.js} +3 -3
- package/dist/{chunk-LMRTEJYY.js → chunk-EUFBE5BW.js} +2 -2
- package/dist/{chunk-QXQ74PYD.js → chunk-FE72SB2F.js} +2 -2
- package/dist/chunk-FR7YBU3H.js +179 -0
- package/dist/{chunk-LEQU6P6H.js → chunk-FRXPZCEP.js} +7 -3
- package/dist/{chunk-B2OUZUY5.js → chunk-FTARAZAL.js} +1 -1
- package/dist/{chunk-5KPZ4QAS.js → chunk-GOPGJXEQ.js} +7 -7
- package/dist/{chunk-3HTXEXQ6.js → chunk-GOWNPWCJ.js} +1 -1
- package/dist/{chunk-SDYDNHEE.js → chunk-GWTIFRF5.js} +262 -3711
- package/dist/{chunk-BUIJG2BQ.js → chunk-GX4CEJCX.js} +3 -3
- package/dist/{chunk-NZEASM7M.js → chunk-H6NXL4VB.js} +1 -1
- package/dist/{chunk-IB6ICAI7.js → chunk-HAKKV3SY.js} +22 -13
- package/dist/{chunk-QDEZ7LRH.js → chunk-HO2N4UWV.js} +2 -2
- package/dist/{chunk-NT3L4IMM.js → chunk-HOQNNE3I.js} +1 -1
- package/dist/{chunk-73BGPSUW.js → chunk-HYMW42OE.js} +3 -3
- package/dist/{chunk-CV32PRH3.js → chunk-IDASYE4U.js} +5 -3
- package/dist/{chunk-VOKI2HSE.js → chunk-IREQUN2P.js} +1 -1
- package/dist/{chunk-BIV4FVEN.js → chunk-JEFIEL6S.js} +1 -1
- package/dist/{chunk-PYS6IKKM.js → chunk-JKUVH7BF.js} +1 -1
- package/dist/{chunk-IKX2UHEM.js → chunk-JVWPKIVV.js} +13 -13
- package/dist/{chunk-75KIZWAD.js → chunk-KBCV6BHL.js} +5 -5
- package/dist/{chunk-CL6ZTNQH.js → chunk-KWQWEY6F.js} +121 -41
- package/dist/{chunk-PH5PJY5Z.js → chunk-ML7IPYOC.js} +2 -2
- package/dist/{chunk-SQNPFWFM.js → chunk-MPGJNUML.js} +2 -2
- package/dist/{chunk-4OPDZMV6.js → chunk-ND5ELD7A.js} +1 -1
- package/dist/{chunk-GZCACSED.js → chunk-OKRH4JU3.js} +1 -1
- package/dist/{chunk-MO4VKSFT.js → chunk-OKZZWUZN.js} +1 -1
- package/dist/{chunk-6BNTGNGD.js → chunk-PBNWRWKA.js} +1 -1
- package/dist/{chunk-PZIWSVMO.js → chunk-PLGGKTCB.js} +5 -1
- package/dist/{chunk-ABTBAQDB.js → chunk-Q6B7MFTU.js} +1 -1
- package/dist/{chunk-CXTXB2LZ.js → chunk-R36C6H32.js} +1 -1
- package/dist/{chunk-UI7YYCN2.js → chunk-RUVO77RK.js} +3 -3
- package/dist/{chunk-V6MTGX7B.js → chunk-RWHMKGJA.js} +3 -3
- package/dist/{chunk-L5IKISP2.js → chunk-RZAPLMVM.js} +3 -3
- package/dist/{chunk-E3F5L6AB.js → chunk-SVVAUJPL.js} +4 -83
- package/dist/{chunk-WAXBJLV6.js → chunk-TMIX2WQL.js} +3 -3
- package/dist/{chunk-UMGDRGF5.js → chunk-TRDUMOUW.js} +3 -3
- package/dist/{chunk-AQLRXGNN.js → chunk-TT6HSBYK.js} +5 -5
- package/dist/{chunk-DYDFCX4L.js → chunk-TVC4EI2W.js} +1 -1
- package/dist/{chunk-7KGCJQGS.js → chunk-TZKMAQOY.js} +2 -2
- package/dist/{chunk-7J4GQHSG.js → chunk-UNBGZQZ6.js} +21 -18
- package/dist/{chunk-RNLJJDGE.js → chunk-UVV2DKZR.js} +2 -2
- package/dist/{chunk-24PUQCZO.js → chunk-VI7GBPF6.js} +2 -2
- package/dist/{chunk-TOFL5P27.js → chunk-VL5ES6ZM.js} +6 -6
- package/dist/{chunk-ANH7DV34.js → chunk-VYFMJ2HM.js} +23 -20
- package/dist/{chunk-OJDOYHPQ.js → chunk-WGZOPGHX.js} +1 -1
- package/dist/{chunk-MS4BAXOQ.js → chunk-X5PKA5KH.js} +2 -2
- package/dist/{chunk-EPZXTQOO.js → chunk-YJKSLCKV.js} +5 -5
- package/dist/{chunk-PI256PSW.js → chunk-YOLS2E5P.js} +149 -23
- package/dist/{chunk-442JNXRM.js → chunk-ZBAF6L74.js} +1 -1
- package/dist/{clean-LFPT6GNS.js → clean-7OBS6NMK.js} +20 -18
- package/dist/cli.js +53 -53
- package/dist/{cloud-XX5XB277.js → cloud-JFL6IMUV.js} +4 -4
- package/dist/{cloudrun-ANWC6QGV.js → cloudrun-GHA4FXS3.js} +10 -8
- package/dist/{compare-CISKXIRF.js → compare-UFTPPNLD.js} +31 -30
- package/dist/{compiler-XYZMBTYR.js → compiler-6LUGBYWD.js} +8 -6
- package/dist/{component-D4JJIDOC.js → component-4W3MT53Y.js} +5 -4
- package/dist/{compositions-UGRTLUBT.js → compositions-63M4AHPA.js} +18 -16
- package/dist/{delete-TPH7N5PK.js → delete-XCSORSYR.js} +2 -2
- package/dist/{deploy-ZUXLAVVX.js → deploy-JUC2BVCE.js} +1 -1
- package/dist/{deterministicFonts-NQ6KL66D.js → deterministicFonts-HQYCUUAL.js} +5 -3
- package/dist/{dist-TFHABY7N.js → dist-6JMYDD7F.js} +4 -3
- package/dist/{dist-UXLDRI4D.js → dist-SOMNYPEE.js} +10 -4
- package/dist/{doctor-LVOS4EDV.js → doctor-LZ5KMUGS.js} +15 -13
- package/dist/{dom-37K6YOH4.js → dom-VFHEO7VM.js} +3 -2
- package/dist/{events-FIWA6UBT.js → events-DSJDLP3V.js} +3 -3
- package/dist/{events-UHIKJIWA.js → events-XN26WXN3.js} +2 -2
- package/dist/{feedback-SPOCVRKJ.js → feedback-VZZT77OU.js} +11 -9
- package/dist/{ffmpeg-7SDXE5P5.js → ffmpeg-TU5BPXP6.js} +11 -9
- package/dist/{figma-ONGILUUE.js → figma-BYBMKBNS.js} +3 -3
- package/dist/fontLocalizeCli.js +15 -13
- package/dist/{get-W7ADZ5XS.js → get-JAKXQVNF.js} +2 -2
- package/dist/{gpuPolicy-GETTDB3G.js → gpuPolicy-A6BRKFTK.js} +11 -9
- package/dist/{grade-compare-YIIQJNL3.js → grade-compare-6TLS63GE.js} +32 -31
- package/dist/{help-HSKEDFT6.js → help-WMABNXSF.js} +1 -1
- package/dist/{history-JS6QALDS.js → history-PNOTK4KM.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +65 -65
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-BIIA6M7Q.js → info-457IZRNA.js} +14 -12
- package/dist/{init-TGDKBWUY.js → init-QNOPZRQJ.js} +32 -30
- package/dist/{inspect-MVMUFUHY.js → inspect-4PECXE65.js} +32 -31
- package/dist/inspection.js +2088 -0
- package/dist/{installer-HITNNXHY.js → installer-K6VCZN74.js} +8 -6
- package/dist/{keyframes-XJ7DUUBW.js → keyframes-KBR4RHQO.js} +12 -11
- package/dist/{lambda-4C7APDR5.js → lambda-FSC3XJOQ.js} +11 -9
- package/dist/{layout-O3LEAM7S.js → layout-PFXAKL65.js} +32 -31
- package/dist/{lint-72FKMBD2.js → lint-MR7WHCBO.js} +10 -9
- package/dist/{lintProject-Q36Y3AHA.js → lintProject-4IVYXS5J.js} +4 -3
- package/dist/{list-YUK5VA2D.js → list-OCSE7GSX.js} +2 -2
- package/dist/live-LAHBXVK2.js +4165 -0
- package/dist/{login-TXBDKLOH.js → login-M4L3MHVL.js} +4 -4
- package/dist/{manager-APB2JLSH.js → manager-G6G2WQU3.js} +12 -10
- package/dist/{media-treatment-GMP4JL46.js → media-treatment-6ATFI5M2.js} +18 -16
- package/dist/{models-DW22WMQ5.js → models-NPSWNLVS.js} +15 -13
- package/dist/{motionShot-UQJVQT76.js → motionShot-HVPC2V7Q.js} +19 -18
- package/dist/{normalize-FASIPBUM.js → normalize-QJVXFMWO.js} +3 -2
- package/dist/{normalize-audio-4KYSZBWI.js → normalize-audio-YEEAY2TB.js} +13 -11
- package/dist/{open-HNYN6VM2.js → open-6LSE4QDQ.js} +15 -13
- package/dist/{parakeetRunner-SJ2QW77R.js → parakeetRunner-HMDK2MEQ.js} +16 -14
- package/dist/{pipeline-MG2W6NIW.js → pipeline-GQV2DL2T.js} +12 -10
- package/dist/{play-ZQ6RNKIE.js → play-NORPMDGV.js} +23 -21
- package/dist/{preflight-HSQEJNA2.js → preflight-SDPP63GU.js} +12 -10
- package/dist/{present-7M3W5E3Q.js → present-BVPAEHE6.js} +19 -17
- package/dist/{preview-TT5Z6JK6.js → preview-C762R2VY.js} +22 -20
- package/dist/{producer-B2Y4IKZS.js → producer-XXFVYAW6.js} +1 -1
- package/dist/{projectConfig-VZVY6ZZP.js → projectConfig-72HEHSHM.js} +10 -8
- package/dist/{publication-SRAYE6LT.js → publication-QOK2NB7H.js} +6 -4
- package/dist/{publish-3QMV3Q7B.js → publish-OVCPM2R4.js} +14 -12
- package/dist/{remove-background-5GA2S5OI.js → remove-background-BK7G24LO.js} +13 -11
- package/dist/{render-W3VX647V.js → render-3RV5ZZHB.js} +10 -8
- package/dist/{render-WRLXYVSQ.js → render-BA4DJGH2.js} +34 -32
- package/dist/{render-LN24E3OI.js → render-KCRWPUSH.js} +20 -18
- package/dist/{render-batch-C73ELOQ7.js → render-batch-EKMNALAK.js} +10 -8
- package/dist/renderSetupWorker.js +4 -3
- package/dist/{resolver-ALD2ZELQ.js → resolver-ZQAEKX2N.js} +8 -6
- package/dist/{sherpa-AHD5UPU3.js → sherpa-UPEEZCVJ.js} +15 -13
- package/dist/{skills-WYJGVMR5.js → skills-EBCABDEA.js} +5 -5
- package/dist/{skillsUpdateCheck-OHEGRQ2N.js → skillsUpdateCheck-2TBQ3R7X.js} +3 -3
- package/dist/{snapshot-S6CGQACZ.js → snapshot-KRDQ6UFY.js} +37 -36
- package/dist/{src-DAW4JYSR.js → src-FMPMLWOE.js} +10 -8
- package/dist/{src-I6WD5SMQ.js → src-HODRARUH.js} +16 -14
- package/dist/{staticProjectServer-3BFEACQ6.js → staticProjectServer-NBWPYBIH.js} +20 -19
- package/dist/studio/assets/{hyperframes-player-DnrkDR-_.js → hyperframes-player-C3pgGOtp.js} +1 -1
- package/dist/studio/assets/{index-WFQeAouT.js → index-5EFQxr70.js} +1 -1
- package/dist/studio/assets/{index-BhFxhBMA.js → index-BbcMyD3j.js} +120 -120
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-2O6R4CM5.js → studio-api-BOV2DTPC.js} +13 -11
- package/dist/{studioServer-6ZSAJBVY.js → studioServer-TSKSIQC3.js} +51 -50
- package/dist/{telemetry-WFLPGSUG.js → telemetry-RLKGEBGR.js} +3 -3
- package/dist/{timeline-BZJH266Q.js → timeline-ADFTKSNX.js} +24 -22
- package/dist/{tokens-5TX42ZMQ.js → tokens-2NKS4KAO.js} +4 -3
- package/dist/{transcribe-WPFFLNTS.js → transcribe-63XQBLF3.js} +14 -12
- package/dist/{transcribe-IEYR46HB.js → transcribe-AHNMYPY4.js} +21 -19
- package/dist/{updateCheck-TESZGKRJ.js → updateCheck-XDYXIVKF.js} +2 -2
- package/dist/{upgrade-3EW4MYS7.js → upgrade-GK2RSMPV.js} +2 -2
- package/dist/{urlDownloader-JULHEBLS.js → urlDownloader-X2B7NQSQ.js} +10 -8
- package/dist/{validate-RSJPGXUZ.js → validate-UN4RB6KN.js} +26 -25
- package/dist/{video-TW4TSAM4.js → video-QRWQLU5O.js} +11 -9
- package/dist/warmCheck.js +40 -39
- package/package.json +2 -2
- package/dist/chunk-QTGKDF7D.js +0 -3983
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
decodeHTMLAttribute
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2RY2LWAA.js";
|
|
10
10
|
|
|
11
11
|
// ../parsers/dist/assetResolution.js
|
|
12
12
|
import { closeSync, constants, existsSync, fstatSync, openSync, readFileSync } from "fs";
|
|
@@ -36,7 +36,11 @@ function parseProjectLock(value) {
|
|
|
36
36
|
}
|
|
37
37
|
function parseCheckReview(value) {
|
|
38
38
|
if (!isRecord(value)) return void 0;
|
|
39
|
-
return {
|
|
39
|
+
return {
|
|
40
|
+
skipContrastInMotion: value.skipContrastInMotion === true,
|
|
41
|
+
findingFrames: value.findingFrames === true,
|
|
42
|
+
inspect: value.inspect === true
|
|
43
|
+
};
|
|
40
44
|
}
|
|
41
45
|
function readToolContext(raw = process.env.HF_TOOL_CONTEXT) {
|
|
42
46
|
if (!raw) return {};
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
renameWithRetry,
|
|
11
11
|
runFfmpeg
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KBCV6BHL.js";
|
|
13
13
|
import {
|
|
14
14
|
parseAnimatedGifMetadata
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FRXPZCEP.js";
|
|
16
16
|
import {
|
|
17
17
|
parseHTML
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GWTIFRF5.js";
|
|
19
19
|
|
|
20
20
|
// ../producer/src/services/animatedGifPrep.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DZZ6VHPY.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VP9_CPU_USED,
|
|
21
21
|
SDR_RGB_TO_BT709_FILTER,
|
|
22
22
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
23
23
|
renderProvenanceArgs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KBCV6BHL.js";
|
|
25
25
|
import {
|
|
26
26
|
runCancellableProcess
|
|
27
27
|
} from "./chunk-BL4U6U52.js";
|
|
@@ -317,7 +317,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
317
317
|
}
|
|
318
318
|
async function probeMedia(inputPath) {
|
|
319
319
|
const isImage = inferInputKind(inputPath) === "image";
|
|
320
|
-
const engine = await import("./src-
|
|
320
|
+
const engine = await import("./src-FMPMLWOE.js");
|
|
321
321
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
322
322
|
if (isImage) {
|
|
323
323
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -6,7 +6,7 @@ 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-DO2OTFCJ.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-K2FLNJVB.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_CONFIG,
|
|
18
18
|
resolvePageNavigationTimeout
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KBCV6BHL.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFps
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FRXPZCEP.js";
|
|
23
23
|
|
|
24
24
|
// src/browser/windowsCrash.ts
|
|
25
25
|
var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
|
|
@@ -4,13 +4,16 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
encode
|
|
9
|
+
} from "./chunk-FR7YBU3H.js";
|
|
7
10
|
import {
|
|
8
11
|
require_lib,
|
|
9
12
|
require_main
|
|
10
13
|
} from "./chunk-DPVXBVLL.js";
|
|
11
14
|
import {
|
|
12
15
|
decodeHTMLAttribute
|
|
13
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2RY2LWAA.js";
|
|
14
17
|
import {
|
|
15
18
|
ancestor,
|
|
16
19
|
full,
|
|
@@ -25,88 +28,6 @@ var recast = __toESM(require_main(), 1);
|
|
|
25
28
|
var import_parser = __toESM(require_lib(), 1);
|
|
26
29
|
import * as acorn from "acorn";
|
|
27
30
|
|
|
28
|
-
// ../../node_modules/.bun/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
29
|
-
var comma = ",".charCodeAt(0);
|
|
30
|
-
var semicolon = ";".charCodeAt(0);
|
|
31
|
-
var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
32
|
-
var intToChar = new Uint8Array(64);
|
|
33
|
-
var charToInt = new Uint8Array(128);
|
|
34
|
-
for (let i = 0; i < chars.length; i++) {
|
|
35
|
-
const c = chars.charCodeAt(i);
|
|
36
|
-
intToChar[i] = c;
|
|
37
|
-
charToInt[c] = i;
|
|
38
|
-
}
|
|
39
|
-
function encodeInteger(builder, num, relative) {
|
|
40
|
-
let delta = num - relative;
|
|
41
|
-
delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
|
|
42
|
-
do {
|
|
43
|
-
let clamped = delta & 31;
|
|
44
|
-
delta >>>= 5;
|
|
45
|
-
if (delta > 0) clamped |= 32;
|
|
46
|
-
builder.write(intToChar[clamped]);
|
|
47
|
-
} while (delta > 0);
|
|
48
|
-
return num;
|
|
49
|
-
}
|
|
50
|
-
var bufLength = 1024 * 16;
|
|
51
|
-
var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== "undefined" ? {
|
|
52
|
-
decode(buf) {
|
|
53
|
-
const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
|
|
54
|
-
return out.toString();
|
|
55
|
-
}
|
|
56
|
-
} : {
|
|
57
|
-
decode(buf) {
|
|
58
|
-
let out = "";
|
|
59
|
-
for (let i = 0; i < buf.length; i++) {
|
|
60
|
-
out += String.fromCharCode(buf[i]);
|
|
61
|
-
}
|
|
62
|
-
return out;
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
var StringWriter = class {
|
|
66
|
-
constructor() {
|
|
67
|
-
this.pos = 0;
|
|
68
|
-
this.out = "";
|
|
69
|
-
this.buffer = new Uint8Array(bufLength);
|
|
70
|
-
}
|
|
71
|
-
write(v) {
|
|
72
|
-
const { buffer } = this;
|
|
73
|
-
buffer[this.pos++] = v;
|
|
74
|
-
if (this.pos === bufLength) {
|
|
75
|
-
this.out += td.decode(buffer);
|
|
76
|
-
this.pos = 0;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
flush() {
|
|
80
|
-
const { buffer, out, pos } = this;
|
|
81
|
-
return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
function encode(decoded) {
|
|
85
|
-
const writer = new StringWriter();
|
|
86
|
-
let sourcesIndex = 0;
|
|
87
|
-
let sourceLine = 0;
|
|
88
|
-
let sourceColumn = 0;
|
|
89
|
-
let namesIndex = 0;
|
|
90
|
-
for (let i = 0; i < decoded.length; i++) {
|
|
91
|
-
const line = decoded[i];
|
|
92
|
-
if (i > 0) writer.write(semicolon);
|
|
93
|
-
if (line.length === 0) continue;
|
|
94
|
-
let genColumn = 0;
|
|
95
|
-
for (let j = 0; j < line.length; j++) {
|
|
96
|
-
const segment = line[j];
|
|
97
|
-
if (j > 0) writer.write(comma);
|
|
98
|
-
genColumn = encodeInteger(writer, segment[0], genColumn);
|
|
99
|
-
if (segment.length === 1) continue;
|
|
100
|
-
sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
|
|
101
|
-
sourceLine = encodeInteger(writer, segment[2], sourceLine);
|
|
102
|
-
sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
|
|
103
|
-
if (segment.length === 4) continue;
|
|
104
|
-
namesIndex = encodeInteger(writer, segment[4], namesIndex);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
return writer.flush();
|
|
108
|
-
}
|
|
109
|
-
|
|
110
31
|
// ../../node_modules/.bun/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.mjs
|
|
111
32
|
var BitSet = class _BitSet {
|
|
112
33
|
constructor(arg) {
|
|
@@ -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-OKZZWUZN.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-BD3LJRJT.js";
|
|
18
18
|
import {
|
|
19
19
|
findFFmpeg,
|
|
20
20
|
findFFprobe,
|
|
21
21
|
getFFmpegInstallHint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DZZ6VHPY.js";
|
|
23
23
|
import {
|
|
24
24
|
findWavChunk
|
|
25
25
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FTARAZAL.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7SNVSO4A.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IDASYE4U.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HAKKV3SY.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,17 +18,17 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KWQWEY6F.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3YZ2ESXP.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ND5ELD7A.js";
|
|
28
28
|
import {
|
|
29
29
|
PREVIEW_PROXY_BOX_PARAM,
|
|
30
30
|
parsePreviewProxyBox
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FRXPZCEP.js";
|
|
32
32
|
import {
|
|
33
33
|
decodeWellFormedEscapes
|
|
34
34
|
} from "./chunk-2BGOB2QK.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shouldTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7SNVSO4A.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
} from "./chunk-AWDFDFI3.js";
|
|
18
18
|
import {
|
|
19
19
|
isBlockedNetworkHost
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KBCV6BHL.js";
|
|
21
21
|
import {
|
|
22
22
|
DOMParser,
|
|
23
23
|
parseHTML
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GWTIFRF5.js";
|
|
25
25
|
|
|
26
26
|
// src/capture/userAgent.ts
|
|
27
27
|
var CAPTURE_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36";
|
|
@@ -4,11 +4,6 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
EncoderInterruptedError,
|
|
9
|
-
encoderFailureError,
|
|
10
|
-
prepareAnimatedGifInputs
|
|
11
|
-
} from "./chunk-UI7YYCN2.js";
|
|
12
7
|
import {
|
|
13
8
|
GENERIC_FAMILIES,
|
|
14
9
|
collectFontFamilyCustomProperties,
|
|
@@ -16,7 +11,12 @@ import {
|
|
|
16
11
|
iterateFontFamilyDeclarations,
|
|
17
12
|
normalizeSystemFontPrimaryFamilies,
|
|
18
13
|
resolveFontFamilyDeclarationFamilies
|
|
19
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EUFBE5BW.js";
|
|
15
|
+
import {
|
|
16
|
+
EncoderInterruptedError,
|
|
17
|
+
encoderFailureError,
|
|
18
|
+
prepareAnimatedGifInputs
|
|
19
|
+
} from "./chunk-RUVO77RK.js";
|
|
20
20
|
import {
|
|
21
21
|
parseEncoderOptions
|
|
22
22
|
} from "./chunk-KLIKCX6Q.js";
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
verifyDiskDrawElementSamples,
|
|
163
163
|
videoAudioId,
|
|
164
164
|
writeCapturedFrame
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-KBCV6BHL.js";
|
|
166
166
|
import {
|
|
167
167
|
DISTRIBUTED_FPS,
|
|
168
168
|
HF_VFX_ATTR,
|
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
parseVfxChain,
|
|
179
179
|
resolveAuthoredTimingWindow,
|
|
180
180
|
toFps
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-FRXPZCEP.js";
|
|
182
182
|
import {
|
|
183
183
|
assignBundledRuntimeCompositionIds,
|
|
184
184
|
buildVariablesByCompScript,
|
|
@@ -190,7 +190,7 @@ import {
|
|
|
190
190
|
inlineSubCompositions,
|
|
191
191
|
parsesAsScript,
|
|
192
192
|
prepareFlattenedInnerRoot
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-E3LRVXM2.js";
|
|
194
194
|
import {
|
|
195
195
|
COMPOSITION_SOURCE_URL,
|
|
196
196
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -222,7 +222,7 @@ import {
|
|
|
222
222
|
sourceTimeAt,
|
|
223
223
|
styleElementsFor,
|
|
224
224
|
timeAtSourceTime
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-42DLVZNO.js";
|
|
226
226
|
import {
|
|
227
227
|
CANVAS_DIMENSIONS,
|
|
228
228
|
HTML_BODY_CSS_HEIGHT_FIRST_RE,
|
|
@@ -233,7 +233,7 @@ import {
|
|
|
233
233
|
isAspectAgnosticResolutionAlias,
|
|
234
234
|
normalizeResolutionFlag,
|
|
235
235
|
suggestMatchingPreset
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-SVVAUJPL.js";
|
|
237
237
|
import {
|
|
238
238
|
TRANSITIONS,
|
|
239
239
|
convertTransfer,
|
|
@@ -249,12 +249,12 @@ import {
|
|
|
249
249
|
import {
|
|
250
250
|
lintHyperframeHtml,
|
|
251
251
|
resolveReferencedStart
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-IDASYE4U.js";
|
|
253
253
|
import {
|
|
254
254
|
isUnresolvedAssetPlaceholder,
|
|
255
255
|
readProjectFile,
|
|
256
256
|
resolveProjectRelativeSrc
|
|
257
|
-
} from "./chunk-
|
|
257
|
+
} from "./chunk-PBNWRWKA.js";
|
|
258
258
|
import {
|
|
259
259
|
CSS_URL_RE,
|
|
260
260
|
MEDIA_START_BASIS_ATTR,
|
|
@@ -274,7 +274,7 @@ import {
|
|
|
274
274
|
} from "./chunk-2BGOB2QK.js";
|
|
275
275
|
import {
|
|
276
276
|
parseHTML
|
|
277
|
-
} from "./chunk-
|
|
277
|
+
} from "./chunk-GWTIFRF5.js";
|
|
278
278
|
import {
|
|
279
279
|
LOW_MEMORY_TOTAL_MB_THRESHOLD,
|
|
280
280
|
getCgroupMemoryLimitMb,
|
|
@@ -6931,7 +6931,7 @@ async function readLocalFont(absPath) {
|
|
|
6931
6931
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
6932
6932
|
}
|
|
6933
6933
|
async function embedLocalFontFaces(html, projectDir) {
|
|
6934
|
-
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-
|
|
6934
|
+
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-HQYCUUAL.js");
|
|
6935
6935
|
const styleBlockRe = /<style\b[^>]*>([\s\S]*?)<\/style>/gi;
|
|
6936
6936
|
const fontFaceRe = /@font-face\s*\{([^}]*)\}/gi;
|
|
6937
6937
|
let result = html;
|
|
@@ -16070,7 +16070,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
16070
16070
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
16071
16071
|
if (probeResult.probeSession) {
|
|
16072
16072
|
try {
|
|
16073
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
16073
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-FMPMLWOE.js");
|
|
16074
16074
|
await closeCaptureSession2(probeResult.probeSession);
|
|
16075
16075
|
} catch (err) {
|
|
16076
16076
|
log.warn("[plan] probe session close failed", {
|
|
@@ -17744,7 +17744,7 @@ function startServer(options = {}) {
|
|
|
17744
17744
|
});
|
|
17745
17745
|
async function shutdown(signal) {
|
|
17746
17746
|
log.info(`Received ${signal}, shutting down`);
|
|
17747
|
-
const { drainBrowserPool } = await import("./src-
|
|
17747
|
+
const { drainBrowserPool } = await import("./src-FMPMLWOE.js");
|
|
17748
17748
|
await drainBrowserPool().catch(() => {
|
|
17749
17749
|
});
|
|
17750
17750
|
const handle = await Promise.race([
|
|
@@ -18999,6 +18999,9 @@ function validatePlanVideosForChunk(value) {
|
|
|
18999
18999
|
);
|
|
19000
19000
|
}
|
|
19001
19001
|
}
|
|
19002
|
+
function interleavesCapture(overlapping, options) {
|
|
19003
|
+
return overlapping && options?.interleaveCapture === true;
|
|
19004
|
+
}
|
|
19002
19005
|
var MIN_FRAMES_PER_CHUNK_BROWSER = 20;
|
|
19003
19006
|
function resolveChunkCaptureWorkers(framesInChunk, machineSized, maxCaptureWorkers) {
|
|
19004
19007
|
if (maxCaptureWorkers === void 0) return machineSized;
|
|
@@ -19476,7 +19479,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
|
|
|
19476
19479
|
},
|
|
19477
19480
|
frameRange: range,
|
|
19478
19481
|
onFrameLanded: (frame) => overlap.current?.onFrameLanded(frame),
|
|
19479
|
-
interleaveFrames: overlap.current !== null
|
|
19482
|
+
interleaveFrames: interleavesCapture(overlap.current !== null, options)
|
|
19480
19483
|
}).catch(async (captureError) => {
|
|
19481
19484
|
await overlap.current?.abort();
|
|
19482
19485
|
overlap.current = null;
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HAKKV3SY.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-42DLVZNO.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5GFNMC2F.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-RLKGEBGR.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -6,32 +6,32 @@ 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-CFFPH6D3.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GX4CEJCX.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TMIX2WQL.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OKZZWUZN.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL,
|
|
26
26
|
findWhisper,
|
|
27
27
|
isWhisperUnavailable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BD3LJRJT.js";
|
|
29
29
|
import {
|
|
30
30
|
formatSrt,
|
|
31
31
|
formatVtt,
|
|
32
32
|
loadTranscript,
|
|
33
33
|
patchCaptionHtml
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-6MUI2H6P.js";
|
|
35
35
|
import {
|
|
36
36
|
normalizeErrorMessage
|
|
37
37
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -6,27 +6,27 @@ 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-GOWNPWCJ.js";
|
|
10
10
|
import {
|
|
11
11
|
serveStaticProjectHtml
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TT6HSBYK.js";
|
|
13
13
|
import {
|
|
14
14
|
AUDIT_SEEK_OPTIONS,
|
|
15
15
|
installPageFunctionGuard,
|
|
16
16
|
seekCompositionTimeline,
|
|
17
17
|
waitForCompositionFonts,
|
|
18
18
|
waitForRuntimeReady
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-B7MRZJOW.js";
|
|
20
20
|
import {
|
|
21
21
|
launchManagedBrowser,
|
|
22
22
|
resolveManagedGpuMode
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IREQUN2P.js";
|
|
24
24
|
import {
|
|
25
25
|
gotoWhenSent
|
|
26
26
|
} from "./chunk-MOEGCMKI.js";
|
|
27
27
|
import {
|
|
28
28
|
pageNavigationTimeoutMs
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RZAPLMVM.js";
|
|
30
30
|
import {
|
|
31
31
|
defineCommand
|
|
32
32
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
printDeprecationNotice,
|
|
42
42
|
withMeta
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-OKRH4JU3.js";
|
|
44
44
|
import {
|
|
45
45
|
normalizeErrorMessage
|
|
46
46
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -203,21 +203,23 @@ function collapseStaticLayoutIssues(issues, totalSampleCount) {
|
|
|
203
203
|
);
|
|
204
204
|
}
|
|
205
205
|
function longestContiguousRunMs(times) {
|
|
206
|
+
const run = longestContiguousRun(times);
|
|
207
|
+
return ((run.at(-1) ?? 0) - (run[0] ?? 0)) * 1e3;
|
|
208
|
+
}
|
|
209
|
+
function longestContiguousRun(times) {
|
|
206
210
|
const sorted = [...new Set(times)].sort((a, b) => a - b);
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
let longest = 0;
|
|
211
|
-
let runStart = first;
|
|
212
|
-
let previous = first;
|
|
211
|
+
let longest = [];
|
|
212
|
+
let run = [];
|
|
213
|
+
const span = (values) => (values.at(-1) ?? 0) - (values[0] ?? 0);
|
|
213
214
|
for (const current of sorted) {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
215
|
+
const previous = run.at(-1);
|
|
216
|
+
if (previous !== void 0 && (current - previous) * 1e3 > CONTIGUOUS_SAMPLE_GAP_MS) {
|
|
217
|
+
if (longest.length === 0 || span(run) > span(longest)) longest = run;
|
|
218
|
+
run = [];
|
|
217
219
|
}
|
|
218
|
-
|
|
220
|
+
run.push(current);
|
|
219
221
|
}
|
|
220
|
-
return
|
|
222
|
+
return longest.length === 0 || span(run) > span(longest) ? run : longest;
|
|
221
223
|
}
|
|
222
224
|
function applyPersistenceTier(issue, multiSampleRun) {
|
|
223
225
|
if (!multiSampleRun) return issue;
|
|
@@ -715,7 +717,7 @@ async function collectTweenBoundaries(page) {
|
|
|
715
717
|
});
|
|
716
718
|
}
|
|
717
719
|
async function bundleProjectHtml(projectDir) {
|
|
718
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
720
|
+
const { bundleToSingleHtml } = await import("./compiler-6LUGBYWD.js");
|
|
719
721
|
return bundleToSingleHtml(projectDir);
|
|
720
722
|
}
|
|
721
723
|
async function alignViewportToComposition(page, url) {
|
|
@@ -734,13 +736,13 @@ async function alignViewportToComposition(page, url) {
|
|
|
734
736
|
async function runLayoutAudit(projectDir, opts) {
|
|
735
737
|
const { ensureBrowser } = await import("./manager-F34TSFV6.js");
|
|
736
738
|
const puppeteer = await import("puppeteer-core");
|
|
737
|
-
const { buildChromeArgs } = await import("./src-
|
|
739
|
+
const { buildChromeArgs } = await import("./src-FMPMLWOE.js");
|
|
738
740
|
const {
|
|
739
741
|
assertWebGpuAdapterAvailable,
|
|
740
742
|
compositionRequiresWebGpu,
|
|
741
743
|
resolveLocalBrowserGpuMode,
|
|
742
744
|
resolveLocalWebGpu
|
|
743
|
-
} = await import("./gpuPolicy-
|
|
745
|
+
} = await import("./gpuPolicy-A6BRKFTK.js");
|
|
744
746
|
const html = await bundleProjectHtml(projectDir);
|
|
745
747
|
const server = await serveStaticProjectHtml(
|
|
746
748
|
projectDir,
|
|
@@ -1113,6 +1115,7 @@ export {
|
|
|
1113
1115
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
1114
1116
|
collapseStaticLayoutIssues,
|
|
1115
1117
|
longestContiguousRunMs,
|
|
1118
|
+
longestContiguousRun,
|
|
1116
1119
|
limitLayoutIssues,
|
|
1117
1120
|
buildTransitionSampleTimes,
|
|
1118
1121
|
mergeSampleTimes,
|