hyperframes 0.8.226 → 0.8.227
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-3NBOSGKQ.js → add-XX23UL2L.js} +11 -11
- package/dist/{agentPromptGenerator-GQSDTAV5.js → agentPromptGenerator-IMNWTMHM.js} +5 -5
- package/dist/{animatedGifPrep-UXFFDGA7.js → animatedGifPrep-MPU6T26Y.js} +5 -5
- package/dist/api.d.ts +122 -1
- package/dist/api.js +25 -17
- package/dist/{asset-VQVAYC7E.js → asset-FZSKOSMO.js} +2 -2
- package/dist/{assetCataloger-C6KNE2IQ.js → assetCataloger-SITUNOV5.js} +6 -6
- package/dist/{audio-2KULGXHA.js → audio-T5RHG57J.js} +11 -11
- package/dist/{auth-QNMLPJOW.js → auth-CMGIWJ6S.js} +1 -1
- package/dist/{autoUpdate-VFQQ47UD.js → autoUpdate-NNHBVLHN.js} +2 -2
- package/dist/{backgroundChecks-SSQ2U3ZY.js → backgroundChecks-HQYOBCV2.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-Y45PZC3Q.js → batchRender-5URYGOLM.js} +3 -3
- package/dist/{beats-YSJT4NUG.js → beats-J7IBNLP4.js} +7 -7
- package/dist/{benchmark-6UOMMUXF.js → benchmark-Q2BILDRB.js} +8 -8
- package/dist/{browser-GM4ZTCRQ.js → browser-EERGHDRV.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-CUTSKVRK.js → bundleWithLocalizedFonts-FKU44QSO.js} +2 -2
- package/dist/{capture-SZ65WG5Z.js → capture-5W7BR36Q.js} +3 -3
- package/dist/{capture-J24XSJTZ.js → capture-IRJ7DO45.js} +10 -10
- package/dist/{captureCompositionFrame-5UUXIOF2.js → captureCompositionFrame-R4LFCHHV.js} +11 -11
- package/dist/{catalog-5EQFE3BC.js → catalog-IRFBKRFP.js} +11 -11
- package/dist/{catch-up-ASBRKHDL.js → catch-up-RGQAFA3E.js} +4 -4
- package/dist/{check-BA4SSXPY.js → check-EXLZVGDY.js} +36 -36
- package/dist/{checkAudio-TU4GPHIR.js → checkAudio-K3XKXNEN.js} +8 -8
- package/dist/{checkBrowser-27SFNNPD.js → checkBrowser-ZOU5XFMN.js} +30 -30
- package/dist/{chunk-RRT5S42U.js → chunk-27JEDDX5.js} +1 -1
- package/dist/{chunk-6EQSJ7MT.js → chunk-2M6LMJ32.js} +1 -1
- package/dist/{chunk-LVV5EUSO.js → chunk-3TWAMQF6.js} +2 -2
- package/dist/{chunk-6CU2ZQGW.js → chunk-5ETFQB5F.js} +28 -23
- package/dist/{chunk-ZI64CTVC.js → chunk-62LATJB6.js} +1 -1
- package/dist/{chunk-7LUZ4RQX.js → chunk-65LMGFJ5.js} +12 -12
- package/dist/{chunk-CRIVUWLA.js → chunk-6HPCEV3U.js} +2 -2
- package/dist/{chunk-Y2NSHQVE.js → chunk-6PQXDPKV.js} +2 -2
- package/dist/{chunk-EYDV3MHA.js → chunk-6RSOEYIG.js} +7 -7
- package/dist/{chunk-7UKRCWBO.js → chunk-6TXW6LHH.js} +75 -21
- package/dist/{chunk-DW7W4J7D.js → chunk-7XNMKKXI.js} +2 -2
- package/dist/{chunk-3V3XMQEF.js → chunk-A3UIADPB.js} +1 -1
- package/dist/{chunk-GUJ45PRX.js → chunk-AI6Z7BVD.js} +1 -1
- package/dist/{chunk-OMT75FQI.js → chunk-AJREH4PX.js} +2 -2
- package/dist/{chunk-JIYNPDH6.js → chunk-AQ2C6AQH.js} +1 -1
- package/dist/{chunk-RKDMYKGL.js → chunk-AXRFHQRS.js} +1 -1
- package/dist/{chunk-5TXYCG4M.js → chunk-BKK57WEL.js} +4 -4
- package/dist/{chunk-WESIEW2M.js → chunk-BW3CQT3A.js} +3 -3
- package/dist/{chunk-V2N747YM.js → chunk-CQKK7S4I.js} +7 -7
- package/dist/{chunk-5X65O5WM.js → chunk-E2GNVQSH.js} +1 -1
- package/dist/{chunk-ZNXUM4D2.js → chunk-FD7Z5BDR.js} +2 -2
- package/dist/{chunk-ZJE2XWQC.js → chunk-FFCQR7AP.js} +2 -2
- package/dist/{chunk-HYB3WSJL.js → chunk-GIGZYW5Q.js} +1 -1
- package/dist/{chunk-37PS2IPO.js → chunk-HGEFDPRP.js} +1 -1
- package/dist/{chunk-ETH6WXKZ.js → chunk-HNB7DA2F.js} +1 -1
- package/dist/{chunk-PHUTMTHB.js → chunk-IN2355UQ.js} +1 -1
- package/dist/{chunk-XDTRM4OS.js → chunk-IQFLDX7I.js} +4 -4
- package/dist/{chunk-7WNPWUJP.js → chunk-ISEHEDSN.js} +40 -11
- package/dist/{chunk-KQARKGEJ.js → chunk-IUQCPWHU.js} +10 -9
- package/dist/{chunk-XCGPPU32.js → chunk-IZRC24DI.js} +1 -1
- package/dist/{chunk-XH7SSJSQ.js → chunk-JP6C673M.js} +1 -1
- package/dist/{chunk-2JBCK6DX.js → chunk-K6YHKCVX.js} +1 -1
- package/dist/{chunk-B243Y7MM.js → chunk-K7LS42XC.js} +3 -3
- package/dist/{chunk-3XYDZQJF.js → chunk-KLTD64CP.js} +1 -1
- package/dist/{chunk-P7TDUSPH.js → chunk-KU6VRNJF.js} +1 -1
- package/dist/{chunk-Z257R7TN.js → chunk-L2XYH5SQ.js} +1 -1
- package/dist/{chunk-PXSCN6X5.js → chunk-M63U54H7.js} +2 -2
- package/dist/{chunk-BJ3Q3XK7.js → chunk-MBS45ZKL.js} +8 -8
- package/dist/{chunk-UXHGYMX4.js → chunk-MR7I3L6N.js} +1 -1
- package/dist/{chunk-PZ6VVOOE.js → chunk-NFUJ35XX.js} +1 -1
- package/dist/{chunk-EQGBGOQQ.js → chunk-NQ4MVBNC.js} +9 -9
- package/dist/{chunk-YTQSLNIA.js → chunk-OG3S6SE6.js} +1 -1
- package/dist/{chunk-ABNPD4NF.js → chunk-OJW6TC57.js} +1 -1
- package/dist/{chunk-S4UDVFAN.js → chunk-OVLO32XC.js} +2 -2
- package/dist/{chunk-WGVREWKN.js → chunk-OWJTWCE6.js} +2 -2
- package/dist/{chunk-VB77RRT7.js → chunk-PFGBFTNS.js} +1 -1
- package/dist/{chunk-76N526VX.js → chunk-PSRFHITV.js} +13 -13
- package/dist/{chunk-CU3SVSKX.js → chunk-PVLG6IY4.js} +1 -1
- package/dist/chunk-PXH3TD4X.js +760 -0
- package/dist/{chunk-PCH3O6I6.js → chunk-Q7S4JN73.js} +5 -5
- package/dist/{chunk-OSCRZUEB.js → chunk-RABQDJMA.js} +1 -1
- package/dist/{chunk-6AEHVBMX.js → chunk-RG7WG2BC.js} +1 -1
- package/dist/{chunk-BD2CQDXP.js → chunk-RVKHNBJI.js} +17 -17
- package/dist/{chunk-B7OI3WAR.js → chunk-SANQC4QD.js} +1 -1
- package/dist/chunk-SBQV5FLG.js +5030 -0
- package/dist/{chunk-U6LQ4BTL.js → chunk-SPN4SJV7.js} +1 -1
- package/dist/{chunk-HSXV7QPC.js → chunk-SQJNSPL5.js} +1 -1
- package/dist/{chunk-2IQONCMF.js → chunk-SZVMN7L3.js} +7 -7
- package/dist/{chunk-EJEHDDVX.js → chunk-T53C5UTH.js} +1 -1
- package/dist/{chunk-GADKBSZ5.js → chunk-TG5RBLCM.js} +2 -2
- package/dist/{chunk-UIJLEBHQ.js → chunk-TJ6G325N.js} +1 -1
- package/dist/{chunk-PVBSCPZI.js → chunk-TJPZYMYX.js} +3 -3
- package/dist/{chunk-AMTAKSKJ.js → chunk-TMTZ5M4R.js} +9 -9
- package/dist/{chunk-4XYLQYUE.js → chunk-TNPFF5TQ.js} +2 -2
- package/dist/{chunk-OQYGHP3E.js → chunk-UIDZKSF6.js} +1 -1
- package/dist/{chunk-PWHOMCFB.js → chunk-V7BBBD5C.js} +2 -2
- package/dist/{chunk-RBYSMHB7.js → chunk-VHREBR3T.js} +1 -1
- package/dist/{chunk-35LAWHTD.js → chunk-VO55NLTM.js} +32 -9
- package/dist/{chunk-A23K6P7L.js → chunk-WISN2ACZ.js} +1 -1
- package/dist/{chunk-APCGOECM.js → chunk-XZULISH5.js} +2 -2
- package/dist/{chunk-DGQOBTFQ.js → chunk-YKOHWGUC.js} +1 -1
- package/dist/{chunk-B52P2FU2.js → chunk-YTMWGLEQ.js} +1 -1
- package/dist/{chunk-MWQNQA77.js → chunk-ZAE5Q7D5.js} +2 -2
- package/dist/{chunk-JE5ZPFN2.js → chunk-ZSZKNGSQ.js} +3 -3
- package/dist/{chunk-MF6KVPWF.js → chunk-ZU5GYVRG.js} +2 -2
- package/dist/{clean-X5VL4ILR.js → clean-IXG2MEQ6.js} +16 -16
- package/dist/cli.js +56 -56
- package/dist/{cloud-4GUUYRD3.js → cloud-C2SUZ4ML.js} +4 -4
- package/dist/{cloudrun-KPL32MBI.js → cloudrun-SWS7AI67.js} +4 -4
- package/dist/{compare-CVEB5SQC.js → compare-HKONJNY4.js} +27 -27
- package/dist/{compiler-RRTQNBUH.js → compiler-67X7VCNS.js} +2 -2
- package/dist/{component-TZ2SIYOX.js → component-YBGAFPNS.js} +3 -3
- package/dist/{compositions-KRTRDV72.js → compositions-B5T65NKW.js} +9 -9
- package/dist/{curve-ZXUAGU4T.js → curve-QZCRRLBS.js} +9 -9
- package/dist/{cuts-GY2K2CTK.js → cuts-5DIKHPDZ.js} +10 -10
- package/dist/{delete-ZT4FCUX2.js → delete-GHNNYUXL.js} +2 -2
- package/dist/{deploy-DVKSQTC7.js → deploy-IARSTZY6.js} +1 -1
- package/dist/{describeProject-L4ZW5CI7.js → describeProject-6DA3FMM2.js} +6 -6
- package/dist/{diff-AFOP2B3Y.js → diff-JWNEN6CO.js} +19 -19
- package/dist/{dist-DPOLFG5U.js → dist-AY2X5DPM.js} +2 -2
- package/dist/{doctor-Y7YVL34W.js → doctor-BMUGN4C2.js} +9 -9
- package/dist/{energy-YFLFELFX.js → energy-DSK2FPBK.js} +10 -10
- package/dist/{events-VL7JKI2K.js → events-6VLVSDSN.js} +3 -3
- package/dist/{events-C5QV2MQG.js → events-HD5CYSPO.js} +2 -2
- package/dist/{events-THASMGN6.js → events-KKH2U7U5.js} +11 -11
- package/dist/{extract-GTNBVQ63.js → extract-IFMYI2DA.js} +10 -10
- package/dist/{face-BSRKCB5W.js → face-JD2ZVOH3.js} +10 -10
- package/dist/{feedback-MCQ2FKCC.js → feedback-LI55MDGG.js} +11 -11
- package/dist/{ffmpeg-3QNN3TQ5.js → ffmpeg-A4M2I6R3.js} +5 -5
- package/dist/{figma-IGXE3KWU.js → figma-CNVJZ7BL.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{frames-XIFLB5KC.js → frames-MOAPFEBS.js} +11 -11
- package/dist/{generate-55FZPR3J.js → generate-ZRQYOJ3I.js} +12 -12
- package/dist/{get-2MHD7XFA.js → get-2RNNB5KC.js} +2 -2
- package/dist/{gpuPolicy-REJFNHWD.js → gpuPolicy-MXPGQGRO.js} +5 -5
- package/dist/{grade-compare-CM45H7CR.js → grade-compare-CQHZR7LX.js} +28 -28
- package/dist/{heifImagePrep-O3UZHGWR.js → heifImagePrep-PRXKTL2U.js} +6 -6
- package/dist/{help-V2GGIKP2.js → help-MDT2MEPS.js} +1 -1
- package/dist/{history-NUOQVUNY.js → history-N7H2FN6R.js} +7 -7
- 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-5CMRZEJA.js → info-NXYRDRHE.js} +7 -7
- package/dist/{init-JNL5R27I.js → init-DJ5EJAQI.js} +25 -25
- package/dist/{ink-HGQUC6L3.js → ink-WZSITVIW.js} +10 -10
- package/dist/{inspect-GGOCM324.js → inspect-JAXBBYA3.js} +28 -28
- package/dist/{installer-BBY3T5MJ.js → installer-N5OHXI5C.js} +4 -4
- package/dist/{keyframes-2D4ZS6HE.js → keyframes-TXNYBMOV.js} +6 -6
- package/dist/{lambda-TY2ZCPEN.js → lambda-4LVII6VK.js} +9 -9
- package/dist/{layout-X5GT4O2L.js → layout-AS4FJ53O.js} +28 -28
- package/dist/{lint-NVOUXE2L.js → lint-DCAYD4CN.js} +6 -6
- package/dist/{list-CB4UDTID.js → list-7Z6YRO6I.js} +2 -2
- package/dist/{localPage-EYPZRIGY.js → localPage-FUOBAMSA.js} +5 -5
- package/dist/{login-L7JTVKV5.js → login-JZ4COLEB.js} +4 -4
- package/dist/{look-VHQA2JSS.js → look-QELVFTKU.js} +10 -10
- package/dist/{manager-FGQKQMI7.js → manager-ZJPSMHK6.js} +6 -6
- package/dist/{measure-5F7QZLO5.js → measure-2I5VAVHN.js} +11 -11
- package/dist/{media-treatment-RRFIZKSA.js → media-treatment-MDTQ6564.js} +11 -11
- package/dist/{media-use-5YGFOFKI.js → media-use-NFGRWEGA.js} +1 -1
- package/dist/{models-5B2RGGBT.js → models-DKSUFPQ6.js} +9 -9
- package/dist/{motionShot-JJBQLYCC.js → motionShot-BJARRLMN.js} +14 -14
- package/dist/{normalize-audio-LWTNZWDJ.js → normalize-audio-EW5JUESE.js} +8 -8
- package/dist/{open-PGRJXREV.js → open-737GUSFD.js} +12 -12
- package/dist/{parakeetRunner-OV4NSPB3.js → parakeetRunner-OIVHACYW.js} +10 -10
- package/dist/{pipeline-HXGPFQZC.js → pipeline-UTNPWFMF.js} +8 -8
- package/dist/{play-JONX6CIM.js → play-ZCYUVL2Y.js} +19 -19
- package/dist/{preflight-7OKMMUWG.js → preflight-HWFWGTIG.js} +6 -6
- package/dist/{present-EHU52MSU.js → present-AO3XZKSL.js} +15 -15
- package/dist/{preview-DCEIITM6.js → preview-ORIRMNIU.js} +17 -17
- package/dist/{probe-EA4N3WOT.js → probe-HYO2KC2E.js} +9 -9
- package/dist/{producer-FGAOUR7O.js → producer-B4VCP4D2.js} +1 -1
- package/dist/{projectConfig-N3ZRVJKB.js → projectConfig-HUR4LZME.js} +6 -6
- package/dist/{publication-ZKY2LVN5.js → publication-YH74GUD4.js} +2 -2
- package/dist/{publish-RZVDFTBX.js → publish-WIEB5ON4.js} +18 -18
- package/dist/{remove-background-V5UXYPJS.js → remove-background-NHLEPVOM.js} +9 -9
- package/dist/{render-NEZLBRAY.js → render-3WFVN7HO.js} +38 -38
- package/dist/{render-YZSDHP3U.js → render-DQSNIKEG.js} +30 -763
- package/dist/{render-UJCPQXGB.js → render-GBJSUM3R.js} +5 -5
- package/dist/{render-batch-KPGYARDI.js → render-batch-YZF2XMYL.js} +8 -8
- package/dist/{resolver-HWNPLSXK.js → resolver-KGTY7RJU.js} +4 -4
- package/dist/{sherpa-HSBYKUQC.js → sherpa-B3T3I2PX.js} +9 -9
- package/dist/skills/media-use/references/heygen.md +2 -1
- package/dist/{skills-CW23U675.js → skills-FATGE2YZ.js} +5 -5
- package/dist/{skillsUpdateCheck-LGBNNYLI.js → skillsUpdateCheck-AHDI2POI.js} +3 -3
- package/dist/{snapshot-RK7ED6DW.js → snapshot-SELBWDZ7.js} +52 -36
- package/dist/{src-ZDLQFZ4B.js → src-55VXHZM5.js} +7 -7
- package/dist/{src-KORQVG7O.js → src-6H4ENHBH.js} +4 -4
- package/dist/{staticProjectServer-TFWT5G2L.js → staticProjectServer-E4BZ4YZO.js} +16 -16
- package/dist/studio/assets/{hyperframes-player-qeY0knUZ.js → hyperframes-player-merzSkao.js} +1 -1
- package/dist/studio/assets/{index-B9O4nOYD.js → index-B4XEg_n-.js} +1 -1
- package/dist/studio/assets/{index-BhZkOhf2.js → index-DoXOJGW5.js} +4 -4
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-OIZEPWHS.js → studio-api-IERYGFXT.js} +8 -8
- package/dist/{studioServer-62MG7LJR.js → studioServer-3RCCQB3T.js} +46 -46
- package/dist/{sync-Q3XYLXTX.js → sync-VV7L5GRE.js} +10 -10
- package/dist/{telemetry-3YDPEGQK.js → telemetry-KZRSFUC6.js} +3 -3
- package/dist/{timeline-VDLKFZZ7.js → timeline-ALU6E3WE.js} +17 -17
- package/dist/{tokens-ZZ4G2VKC.js → tokens-XEZF2LGB.js} +2 -2
- package/dist/{transcribe-2D6UIVAE.js → transcribe-HJX65J5D.js} +8 -8
- package/dist/{transcribe-OYRCZUZM.js → transcribe-OVOOUYK7.js} +16 -16
- package/dist/{updateCheck-ZRG5DR74.js → updateCheck-FEOJQNLJ.js} +2 -2
- package/dist/{upgrade-ZU6BHCTC.js → upgrade-VM2DGLXZ.js} +2 -2
- package/dist/{urlDownloader-5WPUC6C6.js → urlDownloader-YENOMQQF.js} +4 -4
- package/dist/{validate-OZRPF6YZ.js → validate-HXTL5C7J.js} +22 -22
- package/dist/{video-N2KXXYS3.js → video-3BIRQK2N.js} +6 -6
- package/dist/warmCheck.js +36 -36
- package/package.json +1 -1
- package/dist/chunk-XINVBLXA.js +0 -5030
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NFUJ35XX.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TG5RBLCM.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-6TXW6LHH.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -435,7 +435,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
435
435
|
}
|
|
436
436
|
async function probeMedia(inputPath) {
|
|
437
437
|
const isImage = inferInputKind(inputPath) === "image";
|
|
438
|
-
const engine = await import("./src-
|
|
438
|
+
const engine = await import("./src-6H4ENHBH.js");
|
|
439
439
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
440
440
|
if (isImage) {
|
|
441
441
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
probeFirstFrameColour,
|
|
9
9
|
probeMediaMetadata
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KU6VRNJF.js";
|
|
11
11
|
import {
|
|
12
12
|
alphaDecoderFor
|
|
13
13
|
} from "./chunk-5S7W3TUO.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
formatPreviewProxyBox,
|
|
16
16
|
hdrToSdrToneMapFilter,
|
|
17
17
|
isHeavyForPreview
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IZRC24DI.js";
|
|
19
19
|
import {
|
|
20
20
|
mkdirWithinProject,
|
|
21
21
|
realProjectRoot,
|
|
@@ -258,7 +258,7 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
|
|
|
258
258
|
return (await scanProjectMedia(projectDir, htmlSources, options)).codecMap;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
// ../studio-server/dist/chunk-
|
|
261
|
+
// ../studio-server/dist/chunk-G4VPDLXC.js
|
|
262
262
|
import { spawn as spawn2 } from "child_process";
|
|
263
263
|
import { randomUUID } from "crypto";
|
|
264
264
|
import {
|
|
@@ -271,7 +271,7 @@ import {
|
|
|
271
271
|
writeFileSync as writeFileSync2
|
|
272
272
|
} from "fs";
|
|
273
273
|
import { availableParallelism, tmpdir, totalmem } from "os";
|
|
274
|
-
import { basename as basename3, dirname as dirname3, extname as
|
|
274
|
+
import { basename as basename3, dirname as dirname3, extname as extname4, isAbsolute, join as join4, relative, resolve, sep as sep2 } from "path";
|
|
275
275
|
import { existsSync, readdirSync, statSync as statSync2, unlinkSync } from "fs";
|
|
276
276
|
import { extname, join } from "path";
|
|
277
277
|
import { createHash } from "crypto";
|
|
@@ -290,12 +290,13 @@ import {
|
|
|
290
290
|
closeSync as closeSync2,
|
|
291
291
|
existsSync as existsSync3,
|
|
292
292
|
openSync as openSync2,
|
|
293
|
+
readdirSync as readdirSync2,
|
|
293
294
|
readFileSync as readFileSync2,
|
|
294
295
|
rmSync,
|
|
295
296
|
statSync as statSync3,
|
|
296
297
|
writeSync
|
|
297
298
|
} from "fs";
|
|
298
|
-
import { basename as basename2, dirname as dirname2, join as join3 } from "path";
|
|
299
|
+
import { basename as basename2, dirname as dirname2, extname as extname3, join as join3 } from "path";
|
|
299
300
|
var DEFAULT_MAX_BYTES = 10 * 1024 * 1024 * 1024;
|
|
300
301
|
var DEFAULT_STALE_TEMP_MS = 60 * 60 * 1e3;
|
|
301
302
|
var DEFAULT_MIN_SWEEP_INTERVAL_MS = 5 * 60 * 1e3;
|
|
@@ -471,6 +472,26 @@ var UNREADABLE_LOCK_MS = 1e4;
|
|
|
471
472
|
function lockPathFor(cachePath) {
|
|
472
473
|
return join3(dirname2(cachePath), `.lock-${basename2(cachePath)}`);
|
|
473
474
|
}
|
|
475
|
+
var CopyLockStalledError = class extends Error {
|
|
476
|
+
constructor(copy, stallMs) {
|
|
477
|
+
super(
|
|
478
|
+
`another process holds the copy of ${copy} and has made no progress for ${Math.round(stallMs / 1e3)}s`
|
|
479
|
+
);
|
|
480
|
+
this.name = "CopyLockStalledError";
|
|
481
|
+
}
|
|
482
|
+
};
|
|
483
|
+
function lastActivityMs(cachePath, lockPath) {
|
|
484
|
+
const name = basename2(cachePath);
|
|
485
|
+
const stem = basename2(cachePath, extname3(cachePath));
|
|
486
|
+
const mine = (file) => file === basename2(lockPath) || file.startsWith(".tmp-") && (file.endsWith(`-${name}`) || file.includes(`-.part-${stem}-`)) || file.startsWith(`.part-${stem}-`);
|
|
487
|
+
let newest = 0;
|
|
488
|
+
for (const file of readdirSync2(dirname2(cachePath))) {
|
|
489
|
+
if (!mine(file)) continue;
|
|
490
|
+
const changed = statSync3(join3(dirname2(cachePath), file), { throwIfNoEntry: false })?.mtimeMs;
|
|
491
|
+
newest = Math.max(newest, changed ?? 0);
|
|
492
|
+
}
|
|
493
|
+
return newest;
|
|
494
|
+
}
|
|
474
495
|
function ownerIsAlive(lockPath) {
|
|
475
496
|
try {
|
|
476
497
|
const pid = Number(readFileSync2(lockPath, "utf8"));
|
|
@@ -500,7 +521,7 @@ function pause(ms, signal) {
|
|
|
500
521
|
signal.addEventListener("abort", onAbort, { once: true });
|
|
501
522
|
});
|
|
502
523
|
}
|
|
503
|
-
async function acquireCopyLock(cachePath, signal) {
|
|
524
|
+
async function acquireCopyLock(cachePath, signal, stallMs) {
|
|
504
525
|
const lockPath = lockPathFor(cachePath);
|
|
505
526
|
for (; ; ) {
|
|
506
527
|
signal.throwIfAborted();
|
|
@@ -515,8 +536,10 @@ async function acquireCopyLock(cachePath, signal) {
|
|
|
515
536
|
} catch (err) {
|
|
516
537
|
if (err.code !== "EEXIST") throw err;
|
|
517
538
|
}
|
|
518
|
-
if (ownerIsAlive(lockPath))
|
|
519
|
-
else
|
|
539
|
+
if (!ownerIsAlive(lockPath)) rmSync(lockPath, { force: true });
|
|
540
|
+
else if (Date.now() - lastActivityMs(cachePath, lockPath) > stallMs)
|
|
541
|
+
throw new CopyLockStalledError(basename2(cachePath), stallMs);
|
|
542
|
+
else await pause(POLL_MS, signal);
|
|
520
543
|
}
|
|
521
544
|
}
|
|
522
545
|
var PROXY_PARAMS_VERSION = "v7";
|
|
@@ -830,7 +853,7 @@ function createPieceGate(size) {
|
|
|
830
853
|
}
|
|
831
854
|
async function encodeInChunks(ranges, chunkPrefix, tempPath, encode, concat, signal, gate, onDone = () => {
|
|
832
855
|
}) {
|
|
833
|
-
const extension =
|
|
856
|
+
const extension = extname4(tempPath);
|
|
834
857
|
const pieces = ranges.map((_, index) => `${chunkPrefix}${index}${extension}`);
|
|
835
858
|
const pending = ranges.flatMap((_, index) => existsSync4(pieces[index]) ? [] : [index]);
|
|
836
859
|
let doneSeconds = 0;
|
|
@@ -1138,13 +1161,19 @@ async function transcodeToCache(job, projectDir, absoluteSourcePath, cachePath,
|
|
|
1138
1161
|
writeCopyIndex(fastIndexPath(cachePath), sameContent);
|
|
1139
1162
|
return sameContent;
|
|
1140
1163
|
}
|
|
1141
|
-
const release = await acquireCopyLock(
|
|
1164
|
+
const release = await acquireCopyLock(
|
|
1165
|
+
cachePath,
|
|
1166
|
+
job.abandoned.signal,
|
|
1167
|
+
TRANSCODE_STALL_MS
|
|
1168
|
+
).catch((error) => {
|
|
1169
|
+
throw error instanceof CopyLockStalledError ? new ProxyTranscodeError(error.message, null, "") : error;
|
|
1170
|
+
});
|
|
1142
1171
|
if (!release) return cachePath;
|
|
1143
1172
|
const tempPath = join4(cacheDir, `.tmp-${randomUUID()}-${basename3(cachePath)}`);
|
|
1144
1173
|
try {
|
|
1145
1174
|
const chunkPrefix = join4(
|
|
1146
1175
|
cacheDir,
|
|
1147
|
-
`${CHUNK_PREFIX}${basename3(cachePath,
|
|
1176
|
+
`${CHUNK_PREFIX}${basename3(cachePath, extname4(cachePath))}-`
|
|
1148
1177
|
);
|
|
1149
1178
|
await runFfmpeg(
|
|
1150
1179
|
absoluteSourcePath,
|
|
@@ -12,22 +12,22 @@ import {
|
|
|
12
12
|
} from "./chunk-262C25DQ.js";
|
|
13
13
|
import {
|
|
14
14
|
pageNavigationTimeoutMs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BW3CQT3A.js";
|
|
16
16
|
import {
|
|
17
17
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
18
18
|
} from "./chunk-YGGZ23BB.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-K6YHKCVX.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode,
|
|
25
25
|
rethrowAfterBrowserCleanup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TG5RBLCM.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveLocalBrowserGpuMode,
|
|
29
29
|
resolveLocalWebGpu
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-7XNMKKXI.js";
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
33
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
assertWebGpuAdapterAvailable,
|
|
36
36
|
compositionRequiresWebGpu,
|
|
37
37
|
oneProcessOverPipe
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-6TXW6LHH.js";
|
|
39
39
|
import {
|
|
40
40
|
normalizeErrorMessage
|
|
41
41
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
143
143
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
144
144
|
});
|
|
145
145
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
146
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
146
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-6H4ENHBH.js");
|
|
147
147
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
148
148
|
await waitForImagesReady(
|
|
149
149
|
page,
|
|
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
|
|
|
192
192
|
async function openSettledCompositionPage(html, url, options) {
|
|
193
193
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
194
194
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
195
|
-
const answer = (await import("./staticProjectServer-
|
|
195
|
+
const answer = (await import("./staticProjectServer-E4BZ4YZO.js")).inProcessAnswer(url);
|
|
196
196
|
const noListen = answer !== void 0;
|
|
197
197
|
let chromeBrowser;
|
|
198
198
|
try {
|
|
@@ -203,10 +203,11 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
203
203
|
options.onBrowserReady?.();
|
|
204
204
|
const page = await chromeBrowser.newPage();
|
|
205
205
|
await installPageFunctionGuard(page);
|
|
206
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
206
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-6H4ENHBH.js");
|
|
207
207
|
await installMediaRenderIdBridge(page);
|
|
208
208
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
209
209
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
210
|
+
await page.evaluateOnNewDocument("window.__HF_RELEASE_PASSED_MEDIA = true");
|
|
210
211
|
await page.setViewport(viewport);
|
|
211
212
|
if (answer) await answerPageInProcess(page, url, answer);
|
|
212
213
|
await options.beforeNavigate?.(page);
|
|
@@ -224,7 +225,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
224
225
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-ENFYM32B.js");
|
|
225
226
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
226
227
|
const puppeteer = await import("puppeteer-core");
|
|
227
|
-
const { buildChromeArgs } = await import("./src-
|
|
228
|
+
const { buildChromeArgs } = await import("./src-6H4ENHBH.js");
|
|
228
229
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
229
230
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
230
231
|
let softwareWebGpu = false;
|
|
@@ -6,13 +6,13 @@ 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-NQ4MVBNC.js";
|
|
10
10
|
import {
|
|
11
11
|
stripSdrPngColourTags
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KLTD64CP.js";
|
|
13
13
|
import {
|
|
14
14
|
injectTagsAtHeadStart
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SBQV5FLG.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/compositionServer.ts
|
|
18
18
|
import { createHash } from "crypto";
|
|
@@ -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-6VLVSDSN.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-TSYRN646.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchLocalPageUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OJW6TC57.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureCaptureDirSync,
|
|
17
17
|
writeCaptureFileSync
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-AWDFDFI3.js";
|
|
26
26
|
import {
|
|
27
27
|
isBlockedNetworkHost
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6TXW6LHH.js";
|
|
29
29
|
import {
|
|
30
30
|
DOMParser,
|
|
31
31
|
parseHTML
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
Semaphore,
|
|
9
9
|
prepareHeifImageInputs,
|
|
10
10
|
withMediaProbeSlot
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6HPCEV3U.js";
|
|
12
12
|
import {
|
|
13
13
|
EncoderInterruptedError,
|
|
14
14
|
encoderFailureError,
|
|
15
15
|
prepareAnimatedGifInputs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OWJTWCE6.js";
|
|
17
17
|
import {
|
|
18
18
|
GENERIC_FAMILIES,
|
|
19
19
|
collectFontFamilyCustomProperties,
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
videoAudioId,
|
|
180
180
|
videoStartOnMediaTimeline,
|
|
181
181
|
writeCapturedFrame
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-6TXW6LHH.js";
|
|
183
183
|
import {
|
|
184
184
|
assignBundledRuntimeCompositionIds,
|
|
185
185
|
emitMountedModuleScripts,
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
parsesAsScript,
|
|
192
192
|
prepareFlattenedInnerRoot,
|
|
193
193
|
stripSdrPngColourTags
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-KLTD64CP.js";
|
|
195
195
|
import {
|
|
196
196
|
collectScratchLeftovers,
|
|
197
197
|
removeScratch,
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
parseVfxChain,
|
|
211
211
|
resolveAuthoredTimingWindow,
|
|
212
212
|
toFps
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-IZRC24DI.js";
|
|
214
214
|
import {
|
|
215
215
|
gsapCdnDist,
|
|
216
216
|
normalizeGsapBaseUrl
|
|
@@ -249,7 +249,7 @@ import {
|
|
|
249
249
|
sourceTimeAt,
|
|
250
250
|
styleElementsFor,
|
|
251
251
|
timeAtSourceTime
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-SBQV5FLG.js";
|
|
253
253
|
import {
|
|
254
254
|
TRANSITIONS,
|
|
255
255
|
convertTransfer,
|
|
@@ -16747,7 +16747,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
16747
16747
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
16748
16748
|
if (probeResult.probeSession) {
|
|
16749
16749
|
try {
|
|
16750
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
16750
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-6H4ENHBH.js");
|
|
16751
16751
|
await closeCaptureSession2(probeResult.probeSession);
|
|
16752
16752
|
} catch (err) {
|
|
16753
16753
|
log.warn("[plan] probe session close failed", {
|
|
@@ -20121,7 +20121,7 @@ function startServer(options = {}) {
|
|
|
20121
20121
|
});
|
|
20122
20122
|
async function shutdown(signal) {
|
|
20123
20123
|
log.info(`Received ${signal}, shutting down`);
|
|
20124
|
-
const { drainBrowserPool } = await import("./src-
|
|
20124
|
+
const { drainBrowserPool } = await import("./src-6H4ENHBH.js");
|
|
20125
20125
|
await drainBrowserPool().catch(() => {
|
|
20126
20126
|
});
|
|
20127
20127
|
const handle = await Promise.race([
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3TWAMQF6.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_TARGET_LUFS,
|
|
25
25
|
absoluteLoudnessPlan,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
requestedProjectPath,
|
|
29
29
|
requiredFfmpeg,
|
|
30
30
|
resolveLocalAudioPath
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FD7Z5BDR.js";
|
|
32
32
|
import {
|
|
33
33
|
MEDIA_LINK_ATTR,
|
|
34
34
|
relinkSplitHalves
|
|
@@ -55,11 +55,11 @@ import {
|
|
|
55
55
|
scanProjectMedia,
|
|
56
56
|
shouldPrewarmProxy,
|
|
57
57
|
waitForProxy
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-ISEHEDSN.js";
|
|
59
59
|
import {
|
|
60
60
|
probeAudioTrack,
|
|
61
61
|
probeMediaMetadata
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-KU6VRNJF.js";
|
|
63
63
|
import {
|
|
64
64
|
HistoryBusyError,
|
|
65
65
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
ensureHfIds,
|
|
116
116
|
stampHfIdsInPlace,
|
|
117
117
|
stripSdrPngColourTags
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-KLTD64CP.js";
|
|
119
119
|
import {
|
|
120
120
|
PREVIEW_PROXY_BOX_PARAM,
|
|
121
121
|
PREVIEW_PROXY_LIGHT_PARAM,
|
|
@@ -127,7 +127,7 @@ import {
|
|
|
127
127
|
fpsToNumber,
|
|
128
128
|
parseFps,
|
|
129
129
|
parsePreviewProxyBox
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-IZRC24DI.js";
|
|
131
131
|
import {
|
|
132
132
|
GSAP_BASE_URL_META,
|
|
133
133
|
gsapCdnDist,
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
resolveRateSpec,
|
|
150
150
|
sourceTimeAt,
|
|
151
151
|
stripEmbeddedRuntimeScripts
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-SBQV5FLG.js";
|
|
153
153
|
import {
|
|
154
154
|
ProjectRootMissingError,
|
|
155
155
|
folderGone,
|
|
@@ -324,7 +324,7 @@ function clearElementScreenshotIsolation() {
|
|
|
324
324
|
page.__hfThumbnailFaded = [];
|
|
325
325
|
}
|
|
326
326
|
|
|
327
|
-
// ../studio-server/dist/chunk-
|
|
327
|
+
// ../studio-server/dist/chunk-JVMMZB22.js
|
|
328
328
|
import { resolve } from "path";
|
|
329
329
|
function isAutoProxyEnabled(adapter) {
|
|
330
330
|
return adapter.autoProxy !== false;
|
|
@@ -5601,7 +5601,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5601
5601
|
let block = extractGsapScriptBlock(html);
|
|
5602
5602
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5603
5603
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5604
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5604
|
+
const { GSAP_CDN } = await import("./dist-AY2X5DPM.js");
|
|
5605
5605
|
const bootstrap = [
|
|
5606
5606
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5607
5607
|
"<script>",
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OG3S6SE6.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RG7WG2BC.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6TXW6LHH.js";
|
|
12
12
|
import {
|
|
13
13
|
renameWithRetry
|
|
14
14
|
} from "./chunk-YWRUQ7XZ.js";
|
|
15
15
|
import {
|
|
16
16
|
parseAnimatedGifMetadata
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IZRC24DI.js";
|
|
18
18
|
import {
|
|
19
19
|
parseHTML
|
|
20
20
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TMTZ5M4R.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-65LMGFJ5.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SZVMN7L3.js";
|
|
19
19
|
import {
|
|
20
20
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
21
21
|
STUDIO_PREVIEW_MARK_META
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NQ4MVBNC.js";
|
|
23
23
|
import {
|
|
24
24
|
FfmpegUnavailableError,
|
|
25
25
|
decideMediaProxyEligibility,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
resolveProxies,
|
|
29
29
|
scanProjectMediaCodecMap,
|
|
30
30
|
shouldPrewarmProxy
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ISEHEDSN.js";
|
|
32
32
|
import {
|
|
33
33
|
artifactDirectory,
|
|
34
34
|
finishSnapshotRun
|
|
@@ -46,24 +46,24 @@ import {
|
|
|
46
46
|
seekCompositionTimeline,
|
|
47
47
|
seekInPage,
|
|
48
48
|
waitForPreferredSeekTarget
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-IUQCPWHU.js";
|
|
50
50
|
import {
|
|
51
51
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
52
52
|
} from "./chunk-YGGZ23BB.js";
|
|
53
53
|
import {
|
|
54
54
|
findStageProxyBox
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-K6YHKCVX.js";
|
|
56
56
|
import {
|
|
57
57
|
resolveAutoProxy
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-62LATJB6.js";
|
|
59
59
|
import {
|
|
60
60
|
BrowserCleanupError,
|
|
61
61
|
closeManagedBrowser,
|
|
62
62
|
onStopSignal
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-TG5RBLCM.js";
|
|
64
64
|
import {
|
|
65
65
|
injectTagsAtHeadStart
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-SBQV5FLG.js";
|
|
67
67
|
import {
|
|
68
68
|
normalizeErrorMessage
|
|
69
69
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -582,7 +582,7 @@ function proxyFailedDraft(message) {
|
|
|
582
582
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
583
583
|
}
|
|
584
584
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
585
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
585
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-FKU44QSO.js");
|
|
586
586
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
587
587
|
}
|
|
588
588
|
function withCapturePreviewMark(html) {
|
|
@@ -644,7 +644,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
644
644
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
645
645
|
}));
|
|
646
646
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
647
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
647
|
+
const { analyzeClipMediaFit } = await import("./src-6H4ENHBH.js");
|
|
648
648
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
649
649
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
650
650
|
}
|
|
@@ -785,7 +785,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
785
785
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
786
786
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
787
787
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
788
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
788
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-FKU44QSO.js");
|
|
789
789
|
return withCapturePreviewMark(
|
|
790
790
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
791
791
|
);
|