hyperframes 0.9.1 → 0.9.2
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-LA6SUF76.js → add-K34NTQUM.js} +11 -11
- package/dist/{agentPromptGenerator-JJU55BVC.js → agentPromptGenerator-ABZXT2DG.js} +5 -5
- package/dist/{animatedGifPrep-AI2PWTUM.js → animatedGifPrep-BFCUE2OG.js} +5 -5
- package/dist/api.js +18 -18
- package/dist/{asset-5Y5I2SRR.js → asset-N4FCNZBO.js} +2 -2
- package/dist/{assetCataloger-ZJL3QF7H.js → assetCataloger-UNVAPKMB.js} +6 -6
- package/dist/{audio-PTC232QG.js → audio-GFQLYAT3.js} +11 -11
- package/dist/{auth-SSVSRIDE.js → auth-S5HVZNXK.js} +1 -1
- package/dist/{autoUpdate-RTYJ3N6U.js → autoUpdate-YYOXDXX7.js} +2 -2
- package/dist/{backgroundChecks-5QXE3I27.js → backgroundChecks-DI5BL2IR.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-URRYTZUE.js → batchRender-V7SJ7QV4.js} +3 -3
- package/dist/{beats-T3VU7WB6.js → beats-FJSQDYDJ.js} +7 -7
- package/dist/{benchmark-SHL3OH6E.js → benchmark-ACNM4VKJ.js} +8 -8
- package/dist/{browser-AHPIKCDX.js → browser-D7RYNET2.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-YWOC66CY.js → bundleWithLocalizedFonts-WDBGONSG.js} +2 -2
- package/dist/{capture-FMGRTD4U.js → capture-2LP2DCGQ.js} +10 -10
- package/dist/{capture-G4O5MXQB.js → capture-TMDIPBXV.js} +3 -3
- package/dist/{captureCompositionFrame-BUPQVJVL.js → captureCompositionFrame-YEW3K6EX.js} +10 -10
- package/dist/{catalog-V6B6RXFE.js → catalog-54GO4FUG.js} +11 -11
- package/dist/{catch-up-7KLU3YPA.js → catch-up-LAP5H7JB.js} +4 -4
- package/dist/{check-VM7ET6MB.js → check-S7WUPOM7.js} +35 -35
- package/dist/{checkAudio-RXWKXU62.js → checkAudio-FKUIUYLS.js} +8 -8
- package/dist/{checkBrowser-YH43NV46.js → checkBrowser-PJBUYHRK.js} +29 -29
- package/dist/{chunk-FG54EGT2.js → chunk-2BJBCWDT.js} +1 -1
- package/dist/{chunk-QVIWKU4E.js → chunk-3NMJ45TV.js} +20 -8
- package/dist/{chunk-743K5PLC.js → chunk-3V2HKZ22.js} +2 -2
- package/dist/{chunk-P3TR5I66.js → chunk-3VQJAAAN.js} +2 -2
- package/dist/{chunk-RA6V3CEH.js → chunk-4SPVBLY5.js} +2 -2
- package/dist/{chunk-3TTZHRQV.js → chunk-4WW6TQFT.js} +1 -1
- package/dist/{chunk-EEOCX42I.js → chunk-5E3XDZDT.js} +1 -1
- package/dist/{chunk-6CZ24YJW.js → chunk-5FKMDLL7.js} +1 -1
- package/dist/{chunk-TEOGTHIZ.js → chunk-6H4YQGJG.js} +8 -8
- package/dist/{chunk-DKEVSKLR.js → chunk-6I4FTULM.js} +1 -1
- package/dist/{chunk-TQ7IBVEN.js → chunk-6JMZXMZX.js} +1 -1
- package/dist/{chunk-FWOYWSRK.js → chunk-6NVTY4QS.js} +3 -3
- package/dist/{chunk-MKSOLUHC.js → chunk-77LPFLXQ.js} +1 -1
- package/dist/{chunk-HBQLT4LW.js → chunk-A5MIAHTC.js} +1 -1
- package/dist/{chunk-ZM5PG3S5.js → chunk-A7HPOUHS.js} +1 -1
- package/dist/{chunk-DRKW2UF7.js → chunk-AF23ACYM.js} +1 -1
- package/dist/{chunk-3FZJ36DK.js → chunk-B2GWZ7GS.js} +1 -1
- package/dist/{chunk-RL5WHPX3.js → chunk-BWIUYPZK.js} +12 -11
- package/dist/{chunk-HV23H4FI.js → chunk-CW7W6SO2.js} +1 -1
- package/dist/{chunk-4EBPYENN.js → chunk-D6CL6G7B.js} +9 -9
- package/dist/{chunk-KIHELC2D.js → chunk-DJF2O4BP.js} +1 -1
- package/dist/{chunk-DWUIMFJB.js → chunk-DKENTPM2.js} +2 -2
- package/dist/{chunk-YQVLBT2P.js → chunk-EBYGGFC2.js} +4 -4
- package/dist/{chunk-TCC5GD2O.js → chunk-ESDUMAS6.js} +2 -2
- package/dist/{chunk-ZHC2FFUL.js → chunk-FQYN2EXP.js} +2 -2
- package/dist/{chunk-Q22ZZPA7.js → chunk-G2ZPSSP4.js} +2 -2
- package/dist/{chunk-AEQV7SBT.js → chunk-GMMPMBFA.js} +1 -1
- package/dist/{chunk-YABUBACD.js → chunk-H5KZZTJV.js} +1 -1
- package/dist/{chunk-3BG7L7NU.js → chunk-HCWS5RUM.js} +1 -1
- package/dist/{chunk-XOANWVIT.js → chunk-HKFKAI54.js} +1 -1
- package/dist/{chunk-VV3F4QJP.js → chunk-HM4AWTSN.js} +1 -1
- package/dist/{chunk-TFB3I26A.js → chunk-IDH5BHNO.js} +1 -1
- package/dist/chunk-IMLAMNOI.js +5030 -0
- package/dist/{chunk-OYJPQJLV.js → chunk-ITW64FMK.js} +42 -2
- package/dist/{chunk-64SHPFOU.js → chunk-J4YRATEJ.js} +2 -2
- package/dist/{chunk-MGWULMAO.js → chunk-JCQ2DAJI.js} +2 -2
- package/dist/{chunk-OOYETMCB.js → chunk-KGKWZ2PC.js} +17 -17
- package/dist/{chunk-3BRY4FWJ.js → chunk-KPIS4EHC.js} +1 -1
- package/dist/{chunk-F53TMQSD.js → chunk-LGCRKXZW.js} +1 -1
- package/dist/{chunk-EE3ZBV3S.js → chunk-LTZL4TFM.js} +1 -1
- package/dist/{chunk-UZNF24QH.js → chunk-M4USYPD5.js} +2 -2
- package/dist/{chunk-3S26BVBZ.js → chunk-MEIKHVOM.js} +3 -3
- package/dist/{chunk-IVNAVSZU.js → chunk-OTDYARS3.js} +1 -1
- package/dist/{chunk-MKK3VHR6.js → chunk-P7YYC2LQ.js} +7 -7
- package/dist/{chunk-DT4WPURD.js → chunk-PFZDLHDS.js} +1 -1
- package/dist/{chunk-IOEZGUKO.js → chunk-PK6V3AT7.js} +2 -2
- package/dist/{chunk-QM6CELHP.js → chunk-PLW2GDZA.js} +3 -3
- package/dist/{chunk-UJFCWYS6.js → chunk-Q2SE2LUT.js} +1 -1
- package/dist/{chunk-CXDZE5PF.js → chunk-QCLTC2KT.js} +1 -1
- package/dist/{chunk-G3GYYN42.js → chunk-QNZZB5Y5.js} +1 -1
- package/dist/{chunk-MILRLELA.js → chunk-RCW2KVIT.js} +12 -12
- package/dist/{chunk-RGM5BCE3.js → chunk-RONQ4XLB.js} +1 -1
- package/dist/{chunk-V3LI4PZ7.js → chunk-T3RPG2A4.js} +2 -2
- package/dist/{chunk-7Y7IIMYF.js → chunk-TC6PBV6X.js} +9 -9
- package/dist/{chunk-UZJY5S6C.js → chunk-TDFT5UMG.js} +1 -1
- package/dist/{chunk-MU2KWMSZ.js → chunk-TOR5RW6T.js} +1 -1
- package/dist/{chunk-LXGQEXUG.js → chunk-U6NYCMK4.js} +2 -2
- package/dist/{chunk-Z4QZCJPX.js → chunk-UNUKLVLK.js} +2 -2
- package/dist/{chunk-KVYAHFDT.js → chunk-V6GUHJ7E.js} +2 -2
- package/dist/{chunk-JEFQMJQR.js → chunk-VTHAKD22.js} +1 -1
- package/dist/{chunk-KUU6CLU7.js → chunk-W2ENFHUA.js} +7 -7
- package/dist/{chunk-LIUJACWM.js → chunk-WANY2GAM.js} +1 -1
- package/dist/{chunk-LFZ3QUCU.js → chunk-WXALNAFF.js} +1 -1
- package/dist/{chunk-X67ACTZ7.js → chunk-XCKYPT3Y.js} +3 -3
- package/dist/{chunk-XYE4IIPM.js → chunk-XHSL2MLZ.js} +4 -4
- package/dist/{chunk-6TYB2NGI.js → chunk-XOWUOJ6H.js} +1 -1
- package/dist/{chunk-UFZ6CGVH.js → chunk-Y3RDZOEB.js} +4 -4
- package/dist/{chunk-LIP2WQZD.js → chunk-YEH3XUEN.js} +13 -13
- package/dist/{chunk-AGYOQ6FS.js → chunk-YIA6B4Z6.js} +3 -3
- package/dist/{chunk-6P3WIVAB.js → chunk-YRYDGYMD.js} +1 -1
- package/dist/{chunk-MWFZDRBX.js → chunk-Z3BY5BW4.js} +5 -5
- package/dist/{chunk-SJ2GRRBB.js → chunk-Z3WXEVEX.js} +7 -7
- package/dist/{chunk-VV5NU3XP.js → chunk-ZEZ4O6HN.js} +1 -1
- package/dist/{chunk-CIB53K5W.js → chunk-ZIMQHOER.js} +1 -1
- package/dist/{chunk-466STTBD.js → chunk-ZJAXF7C2.js} +2 -2
- package/dist/{clean-MQDQZQYG.js → clean-Y366JHQ6.js} +15 -15
- package/dist/cli.js +56 -56
- package/dist/{cloud-C55BDE2U.js → cloud-Q3AAFX34.js} +4 -4
- package/dist/{cloudrun-SSR4U6SW.js → cloudrun-LOJEWIV2.js} +4 -4
- package/dist/{compare-3LAT2JAL.js → compare-INWN5AAL.js} +26 -26
- package/dist/{compiler-VG3XLVW5.js → compiler-UD7DGV6O.js} +2 -2
- package/dist/{component-DFEJJRMG.js → component-Z2B24QQC.js} +3 -3
- package/dist/{compositions-3TV3ZLYE.js → compositions-EQMN4QLS.js} +9 -9
- package/dist/{curve-ZEZYGDID.js → curve-QOBLRQEF.js} +9 -9
- package/dist/{cuts-3GFYYAB5.js → cuts-D2WGO2T5.js} +10 -10
- package/dist/{delete-SAJEM2GS.js → delete-NSGIQDD2.js} +2 -2
- package/dist/{deploy-ITEXLN64.js → deploy-5B7YZR5C.js} +1 -1
- package/dist/{describeProject-2AOSIR73.js → describeProject-PBGCJ3BD.js} +6 -6
- package/dist/{diff-KBY6U375.js → diff-4IFTYKMH.js} +20 -20
- package/dist/{dist-33RPV7WP.js → dist-SGTEDHYW.js} +2 -2
- package/dist/{doctor-KPPD5QGL.js → doctor-UZQABYZ6.js} +9 -9
- package/dist/{energy-CMQOFKWI.js → energy-LCDKLVTV.js} +10 -10
- package/dist/{events-E7PDBLVA.js → events-5PSQKR3R.js} +3 -3
- package/dist/{events-NEEC6EWY.js → events-RIVVJHMU.js} +2 -2
- package/dist/{events-JJ56QYE7.js → events-WD6WY2R4.js} +11 -11
- package/dist/{extract-QC4CVKFU.js → extract-QITFWIOP.js} +10 -10
- package/dist/{face-BCGROEQN.js → face-MBJBFREV.js} +10 -10
- package/dist/{feedback-FRYTNOKI.js → feedback-X6N4QTYA.js} +6 -6
- package/dist/{ffmpeg-ECBNDC2O.js → ffmpeg-LA4ZCLCV.js} +5 -5
- package/dist/{figma-VNEBULDB.js → figma-YZOHJZFG.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{frames-2SW5DKKS.js → frames-5SDBCMIQ.js} +11 -11
- package/dist/{generate-RICGYHAF.js → generate-GVLXGQ5Y.js} +12 -12
- package/dist/{get-QZ4FJSK4.js → get-R36LD4W2.js} +2 -2
- package/dist/{gpuPolicy-ZNG3KI5O.js → gpuPolicy-DFMP4HEQ.js} +5 -5
- package/dist/{grade-compare-4MPYWWC3.js → grade-compare-TVIGG7F7.js} +27 -27
- package/dist/{heifImagePrep-PU55SI4G.js → heifImagePrep-YDEAQIIV.js} +6 -6
- package/dist/{help-WJHI4CY7.js → help-G3YVZOBB.js} +1 -1
- package/dist/{history-25V6X7K2.js → history-PAX57GA7.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-GEIOUKEJ.js → info-I24SSKKQ.js} +7 -7
- package/dist/{init-XIUMCSHF.js → init-QZH3T6TC.js} +25 -25
- package/dist/{ink-GC3PNMSW.js → ink-D54IVD27.js} +10 -10
- package/dist/{inspect-7N73GQLN.js → inspect-PAQXGKDJ.js} +27 -27
- package/dist/{installer-76PUUFUA.js → installer-NEYRPK2H.js} +4 -4
- package/dist/{keyframes-KTFKX2D5.js → keyframes-BCU2DQ3O.js} +6 -6
- package/dist/{lambda-C77S2WBA.js → lambda-VUGQW3M6.js} +9 -9
- package/dist/{layout-OBZ3MIS6.js → layout-AC4VRU7B.js} +27 -27
- package/dist/{lint-6Z4AU6VJ.js → lint-UBFSY7AU.js} +6 -6
- package/dist/{list-RWZ5PFV5.js → list-AZZXVAJQ.js} +2 -2
- package/dist/{localPage-3XYLIQKZ.js → localPage-SOHTM3OB.js} +5 -5
- package/dist/{login-NG3RBTGV.js → login-VC24OTCT.js} +4 -4
- package/dist/{look-TVUFEWL2.js → look-XW25KCO4.js} +10 -10
- package/dist/{manager-QUXH76BC.js → manager-45EWY67S.js} +6 -6
- package/dist/{measure-AG2ZSWIX.js → measure-HCBUYO3W.js} +11 -11
- package/dist/{media-treatment-IZ6NWGZY.js → media-treatment-ZPGU433S.js} +11 -11
- package/dist/{media-use-6ECM25H6.js → media-use-W2BDLMNM.js} +1 -1
- package/dist/{models-JRLQQ6EJ.js → models-OHKLE7DI.js} +9 -9
- package/dist/{motionShot-I4AUSEQN.js → motionShot-6LE7X2IP.js} +13 -13
- package/dist/{normalize-audio-56ZQSWFL.js → normalize-audio-JJYUYVYI.js} +8 -8
- package/dist/{open-65XKMXFS.js → open-UD3PXGL2.js} +11 -11
- package/dist/{parakeetRunner-4TX6EWS5.js → parakeetRunner-XMMDRK3F.js} +10 -10
- package/dist/{pipeline-BJUOIKB4.js → pipeline-XW6M6IZF.js} +8 -8
- package/dist/{play-ZKZ2XWYK.js → play-SVKC524U.js} +18 -18
- package/dist/{preflight-2HVP2YKG.js → preflight-NVGMHMPQ.js} +6 -6
- package/dist/{present-IFIEJJDE.js → present-HPD5XHCB.js} +14 -14
- package/dist/{preview-C22ZXQ7K.js → preview-IGF7Y6NR.js} +16 -16
- package/dist/{probe-GFJCK7B6.js → probe-R2SDIF43.js} +9 -9
- package/dist/{producer-SWMMOBS7.js → producer-23GOZN56.js} +1 -1
- package/dist/{projectConfig-KQAF253E.js → projectConfig-CYHIE764.js} +6 -6
- package/dist/{publication-4TBCB2O6.js → publication-2ZND75C7.js} +2 -2
- package/dist/{publish-BAG4KFYS.js → publish-6WDXRN6Y.js} +8 -8
- package/dist/{remove-background-SPIM5UNR.js → remove-background-H7TXALTY.js} +9 -9
- package/dist/{render-S2VA65IJ.js → render-CKUAI3KF.js} +14 -14
- package/dist/{render-HWXYMZMU.js → render-QOQDZWUB.js} +5 -5
- package/dist/{render-ZXX3VCER.js → render-WI5NBJ37.js} +30 -30
- package/dist/{render-batch-ATLJKRLE.js → render-batch-PBPZZBNM.js} +5 -5
- package/dist/{resolver-KU4XYZBR.js → resolver-UBSPM52W.js} +4 -4
- package/dist/{sherpa-VI2AAWOK.js → sherpa-VTKR4HNT.js} +9 -9
- package/dist/{skills-F5GLTKRO.js → skills-VFVTKRYY.js} +5 -5
- package/dist/{skillsUpdateCheck-4US4SMPP.js → skillsUpdateCheck-GJGECNLE.js} +3 -3
- package/dist/{snapshot-47DSSS6S.js → snapshot-5TWJ2ND5.js} +31 -31
- package/dist/{src-TTXATWIY.js → src-A4REARXU.js} +4 -4
- package/dist/{src-BADMTJQD.js → src-HIUZ53LU.js} +7 -7
- package/dist/{staticProjectServer-N2VV2CPE.js → staticProjectServer-X7ZFXDJC.js} +16 -16
- package/dist/studio/assets/{hyperframes-player-D2rjxvnX.js → hyperframes-player-ZrazkISK.js} +1 -1
- package/dist/studio/assets/{index-CgtbZxHa.js → index-DVDkDAQX.js} +1 -1
- package/dist/studio/assets/{index-Dh1BiGcb.js → index-ZDVj-MKT.js} +5 -5
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-4VZRUVAJ.js → studio-api-P6H6OYZV.js} +8 -8
- package/dist/{studioServer-J55HVAF6.js → studioServer-G23M24ME.js} +45 -45
- package/dist/{sync-52R4DHUE.js → sync-MF5MTRRV.js} +10 -10
- package/dist/{telemetry-ELNF3NFD.js → telemetry-HBXGTSK4.js} +3 -3
- package/dist/{timeline-MWMMKAPM.js → timeline-OVRKD33S.js} +16 -16
- package/dist/{tokens-NQB2AF4K.js → tokens-A7D7USA2.js} +2 -2
- package/dist/{transcribe-ZUF2OFS4.js → transcribe-5PVMVZO6.js} +16 -16
- package/dist/{transcribe-YHKJ4WYP.js → transcribe-OWNBJY2C.js} +8 -8
- package/dist/{updateCheck-JDBFGDEG.js → updateCheck-ALIWNBLS.js} +2 -2
- package/dist/{upgrade-REBAN2Q2.js → upgrade-7IZFKO5U.js} +2 -2
- package/dist/{urlDownloader-2HGS4OFI.js → urlDownloader-2QAXBCS2.js} +4 -4
- package/dist/{validate-HADI32OP.js → validate-3XR6ARJP.js} +21 -21
- package/dist/{video-3GOOXUVC.js → video-SB2SVFOD.js} +6 -6
- package/dist/warmCheck.js +35 -35
- package/package.json +1 -1
- package/dist/chunk-HIULMAN3.js +0 -5030
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
renderFrameIdForRenderId,
|
|
43
43
|
resolveAuthoredTimingWindow,
|
|
44
44
|
toFps
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-HM4AWTSN.js";
|
|
46
46
|
import {
|
|
47
47
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
48
48
|
AUTHORED_SOURCE_BEGIN,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
sourceTimeAt,
|
|
86
86
|
timeAtSourceTime,
|
|
87
87
|
volumeSegmentSampleCount
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-IMLAMNOI.js";
|
|
89
89
|
import {
|
|
90
90
|
redactTelemetryString,
|
|
91
91
|
redactUrlQueryStrings
|
|
@@ -2630,6 +2630,44 @@ function holdRenderFrameVideos(ids, renderIdAttr) {
|
|
|
2630
2630
|
}).observe(document, { childList: true, subtree: true });
|
|
2631
2631
|
}
|
|
2632
2632
|
|
|
2633
|
+
// ../engine/src/services/webglRelease.ts
|
|
2634
|
+
function recordWebglContexts() {
|
|
2635
|
+
const w = window;
|
|
2636
|
+
w.__hf_gl_contexts = [];
|
|
2637
|
+
const canvasProto = HTMLCanvasElement.prototype;
|
|
2638
|
+
const orig = canvasProto.getContext;
|
|
2639
|
+
canvasProto.getContext = function(type, attrs) {
|
|
2640
|
+
const ctx = orig.call(this, type, attrs);
|
|
2641
|
+
if (ctx && (type === "webgl" || type === "webgl2" || type === "experimental-webgl")) {
|
|
2642
|
+
const list = w.__hf_gl_contexts ?? [];
|
|
2643
|
+
if (!list.some((r) => r.ctx === ctx)) list.push({ canvas: this, ctx });
|
|
2644
|
+
w.__hf_gl_contexts = list;
|
|
2645
|
+
}
|
|
2646
|
+
return ctx;
|
|
2647
|
+
};
|
|
2648
|
+
}
|
|
2649
|
+
async function releaseEndedWebglContexts(page, time) {
|
|
2650
|
+
return page.evaluate((t) => {
|
|
2651
|
+
const clipWindow = window.__hf?.clipWindow;
|
|
2652
|
+
if (!clipWindow) return 0;
|
|
2653
|
+
const hasEnded = (el) => {
|
|
2654
|
+
for (let up = el; up; up = up.parentElement) {
|
|
2655
|
+
const span = up.hasAttribute("data-hf-clip-hidden") ? clipWindow(up) : null;
|
|
2656
|
+
if (span && Number.isFinite(span.end) && span.end <= t) return true;
|
|
2657
|
+
}
|
|
2658
|
+
return false;
|
|
2659
|
+
};
|
|
2660
|
+
const live = (window.__hf_gl_contexts ?? []).filter(
|
|
2661
|
+
(r) => !r.lost && hasEnded(r.canvas)
|
|
2662
|
+
);
|
|
2663
|
+
for (const rec of live) {
|
|
2664
|
+
rec.lost = true;
|
|
2665
|
+
rec.ctx.getExtension("WEBGL_lose_context")?.loseContext();
|
|
2666
|
+
}
|
|
2667
|
+
return live.length;
|
|
2668
|
+
}, time);
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2633
2671
|
// ../engine/src/services/drawElementCaptureError.ts
|
|
2634
2672
|
var DrawElementCaptureError = class extends Error {
|
|
2635
2673
|
frameIndex;
|
|
@@ -6044,6 +6082,7 @@ async function constructCaptureSession(input) {
|
|
|
6044
6082
|
}
|
|
6045
6083
|
});
|
|
6046
6084
|
await installMediaPageHooks(page, options);
|
|
6085
|
+
await page.evaluateOnNewDocument(recordWebglContexts);
|
|
6047
6086
|
if (useDrawElement) {
|
|
6048
6087
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
6049
6088
|
await page.evaluateOnNewDocument(instrumentAcceleratedCanvases);
|
|
@@ -7103,6 +7142,7 @@ async function prepareFrameForCapture(session, frameIndex, time, seekOptions, he
|
|
|
7103
7142
|
const seekStart = Date.now();
|
|
7104
7143
|
session.captureStep = "seeking the timeline";
|
|
7105
7144
|
const hasPendingComposite = await seekPageTimeline(page, quantizedTime, seekOptions);
|
|
7145
|
+
await releaseEndedWebglContexts(page, quantizedTime);
|
|
7106
7146
|
session.captureStep = "decoding CSS background images";
|
|
7107
7147
|
await decodeDynamicCssBackgroundImages(page);
|
|
7108
7148
|
const seekMs = Date.now() - seekStart;
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-G2ZPSSP4.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ITW64FMK.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-YWRUQ7XZ.js";
|
|
@@ -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-PK6V3AT7.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-ITW64FMK.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
finishCheckSnapshots,
|
|
18
18
|
preResolveHostileMediaProxies,
|
|
19
19
|
rectToBbox
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YEH3XUEN.js";
|
|
21
21
|
import {
|
|
22
22
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
23
23
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -38,11 +38,11 @@ import {
|
|
|
38
38
|
mergeSampleTimes,
|
|
39
39
|
parseAt,
|
|
40
40
|
readMotionSpec
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-D6CL6G7B.js";
|
|
42
42
|
import {
|
|
43
43
|
collectProjectMedia,
|
|
44
44
|
mediaPath
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-M4USYPD5.js";
|
|
46
46
|
import {
|
|
47
47
|
findingAtRoot,
|
|
48
48
|
findingElementKey,
|
|
@@ -51,13 +51,13 @@ import {
|
|
|
51
51
|
} from "./chunk-TQBQYO4L.js";
|
|
52
52
|
import {
|
|
53
53
|
captureArtifactRevision
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-H5KZZTJV.js";
|
|
55
55
|
import {
|
|
56
56
|
trackLintRun
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-U6NYCMK4.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveProject
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-CW7W6SO2.js";
|
|
61
61
|
import {
|
|
62
62
|
recordArtifacts
|
|
63
63
|
} from "./chunk-UGUYWTWD.js";
|
|
@@ -69,14 +69,14 @@ import {
|
|
|
69
69
|
closeManagedBrowser,
|
|
70
70
|
onStopSignal,
|
|
71
71
|
registerBrowserSessionCleanup
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-JCQ2DAJI.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveLocalBrowserGpuMode
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-PK6V3AT7.js";
|
|
76
76
|
import {
|
|
77
77
|
trackCheckReport,
|
|
78
78
|
trackCommandFailure
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-77LPFLXQ.js";
|
|
80
80
|
import {
|
|
81
81
|
swallowedFlagUsageError
|
|
82
82
|
} from "./chunk-ZFQSXMX6.js";
|
|
@@ -96,14 +96,14 @@ import {
|
|
|
96
96
|
extractMediaMetadata,
|
|
97
97
|
findHdrAutoPromotion,
|
|
98
98
|
gradingKeepsSdr
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-ITW64FMK.js";
|
|
100
100
|
import {
|
|
101
101
|
lintProject,
|
|
102
102
|
shouldBlockRender
|
|
103
103
|
} from "./chunk-GFD2HHF2.js";
|
|
104
104
|
import {
|
|
105
105
|
withMeta
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-ZEZ4O6HN.js";
|
|
107
107
|
import {
|
|
108
108
|
recordLastCheck
|
|
109
109
|
} from "./chunk-BLBMPEBX.js";
|
|
@@ -2362,7 +2362,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2362
2362
|
};
|
|
2363
2363
|
}
|
|
2364
2364
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2365
|
-
const module = await import("./checkBrowser-
|
|
2365
|
+
const module = await import("./checkBrowser-PJBUYHRK.js");
|
|
2366
2366
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2367
2367
|
}
|
|
2368
2368
|
var adoptedBrowser;
|
|
@@ -2376,7 +2376,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2376
2376
|
if (adopted) return adopted;
|
|
2377
2377
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2378
2378
|
if (html === void 0) return void 0;
|
|
2379
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2379
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-YEW3K6EX.js");
|
|
2380
2380
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2381
2381
|
}
|
|
2382
2382
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2388,11 +2388,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2388
2388
|
return relative(projectDir, path);
|
|
2389
2389
|
}
|
|
2390
2390
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2391
|
-
const module = await import("./checkBrowser-
|
|
2391
|
+
const module = await import("./checkBrowser-PJBUYHRK.js");
|
|
2392
2392
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2393
2393
|
}
|
|
2394
2394
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2395
|
-
const module = await import("./checkBrowser-
|
|
2395
|
+
const module = await import("./checkBrowser-PJBUYHRK.js");
|
|
2396
2396
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2397
2397
|
}
|
|
2398
2398
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2414,7 +2414,7 @@ function collectMedia(project) {
|
|
|
2414
2414
|
return collectProjectMedia(project.dir);
|
|
2415
2415
|
}
|
|
2416
2416
|
async function inspectAudio(project, media) {
|
|
2417
|
-
const module = await import("./checkAudio-
|
|
2417
|
+
const module = await import("./checkAudio-FKUIUYLS.js");
|
|
2418
2418
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2419
2419
|
}
|
|
2420
2420
|
function audioCheckFailure(project, error) {
|
|
@@ -2488,7 +2488,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2488
2488
|
}
|
|
2489
2489
|
},
|
|
2490
2490
|
async prepareMedia(project, options) {
|
|
2491
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2491
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-WDBGONSG.js");
|
|
2492
2492
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2493
2493
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2494
2494
|
},
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loadProducer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TDFT5UMG.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectRelativeSrc
|
|
12
12
|
} from "./chunk-WVRAFHJU.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/projectMedia.ts
|
|
15
15
|
async function collectProjectMedia(projectDir) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-UD7DGV6O.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir);
|
|
18
18
|
const producer = await loadProducer();
|
|
19
19
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
findFFmpeg,
|
|
21
21
|
findFFprobe,
|
|
22
22
|
getFFmpegInstallHint
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6JMZXMZX.js";
|
|
24
24
|
import {
|
|
25
25
|
formatBytes
|
|
26
26
|
} from "./chunk-5LOZWO2M.js";
|
|
27
27
|
import {
|
|
28
28
|
parseAnimatedGifMetadata
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HM4AWTSN.js";
|
|
30
30
|
import {
|
|
31
31
|
cleanAssetUrl,
|
|
32
32
|
isRemoteOrInlineUrl,
|
|
@@ -543,7 +543,7 @@ async function prepareEntryGifs(ctx, fileMap) {
|
|
|
543
543
|
if (!html || !/\.gif\b/i.test(html)) return;
|
|
544
544
|
const sourceAssets = entryGifSources(ctx, entryPath, html);
|
|
545
545
|
if (!sourceAssets) return;
|
|
546
|
-
const prep = ctx.opts.gifPrep ?? (await import("./src-
|
|
546
|
+
const prep = ctx.opts.gifPrep ?? (await import("./src-HIUZ53LU.js")).prepareAnimatedGifInputs;
|
|
547
547
|
const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
|
|
548
548
|
ctx.tempFiles.push(outputDir);
|
|
549
549
|
const result = await prep(html, {
|
|
@@ -7,32 +7,32 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4WW6TQFT.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IDH5BHNO.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TOR5RW6T.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4SPVBLY5.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QCLTC2KT.js";
|
|
30
30
|
import {
|
|
31
31
|
readJsonFlag
|
|
32
32
|
} from "./chunk-EHZESMRB.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-77LPFLXQ.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-2GICKZ3I.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-HM4AWTSN.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ITW64FMK.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-A4REARXU.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-77LPFLXQ.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WXALNAFF.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
|
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
86
|
import("./system-FDPS57FU.js"),
|
|
87
|
-
import("./ffmpeg-
|
|
87
|
+
import("./ffmpeg-LA4ZCLCV.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
90
90
|
const parts = [
|
|
@@ -6,23 +6,23 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CW7W6SO2.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TC6PBV6X.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YIA6B4Z6.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YRYDGYMD.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JCQ2DAJI.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
} from "./chunk-2GICKZ3I.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveNaturalMediaTimelineDuration
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IMLAMNOI.js";
|
|
35
35
|
import {
|
|
36
36
|
decodeWellFormedEscapes
|
|
37
37
|
} from "./chunk-C2KEGBR3.js";
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ZEZ4O6HN.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -252,7 +252,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
252
252
|
async function localizeRemoteAssets(html) {
|
|
253
253
|
let dir;
|
|
254
254
|
try {
|
|
255
|
-
const { loadProducer } = await import("./producer-
|
|
255
|
+
const { loadProducer } = await import("./producer-23GOZN56.js");
|
|
256
256
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
257
257
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
258
258
|
const assetDir = dir;
|
|
@@ -273,9 +273,9 @@ async function localizeRemoteAssets(html) {
|
|
|
273
273
|
}
|
|
274
274
|
async function validateInBrowser(project, opts) {
|
|
275
275
|
const projectDir = project.dir;
|
|
276
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
276
|
+
const { bundleToSingleHtml } = await import("./compiler-UD7DGV6O.js");
|
|
277
277
|
const { ensureBrowser } = await import("./manager-SAXHANEY.js");
|
|
278
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
278
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-X7ZFXDJC.js");
|
|
279
279
|
const { lintProject } = await import("./lintProject-JCKFNQZM.js");
|
|
280
280
|
const lintResult = await lintProject(projectDir);
|
|
281
281
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
@@ -297,9 +297,9 @@ async function validateInBrowser(project, opts) {
|
|
|
297
297
|
try {
|
|
298
298
|
const browser = await ensureBrowser();
|
|
299
299
|
const puppeteer = await import("puppeteer-core");
|
|
300
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
300
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-A4REARXU.js");
|
|
301
301
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
302
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
302
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-DFMP4HEQ.js");
|
|
303
303
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
304
304
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
305
305
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5E3XDZDT.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.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-HBXGTSK4.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -12,22 +12,22 @@ import {
|
|
|
12
12
|
} from "./chunk-262C25DQ.js";
|
|
13
13
|
import {
|
|
14
14
|
pageNavigationTimeoutMs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YIA6B4Z6.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-YRYDGYMD.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode,
|
|
25
25
|
rethrowAfterBrowserCleanup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JCQ2DAJI.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveLocalBrowserGpuMode,
|
|
29
29
|
resolveLocalWebGpu
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PK6V3AT7.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-ITW64FMK.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-A4REARXU.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-X7ZFXDJC.js")).inProcessAnswer(url);
|
|
196
196
|
const noListen = answer !== void 0;
|
|
197
197
|
let chromeBrowser;
|
|
198
198
|
try {
|
|
@@ -203,7 +203,7 @@ 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-A4REARXU.js");
|
|
207
207
|
await installMediaRenderIdBridge(page);
|
|
208
208
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
209
209
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -225,7 +225,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
225
225
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-SAXHANEY.js");
|
|
226
226
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
227
227
|
const puppeteer = await import("puppeteer-core");
|
|
228
|
-
const { buildChromeArgs } = await import("./src-
|
|
228
|
+
const { buildChromeArgs } = await import("./src-A4REARXU.js");
|
|
229
229
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
230
230
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
231
231
|
let softwareWebGpu = false;
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-77LPFLXQ.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WXALNAFF.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|