hyperframes 0.8.198 → 0.8.200
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-KEYBYC4P.js → add-MFJDOJHQ.js} +14 -14
- package/dist/{animatedGifPrep-Z5BJNWKN.js → animatedGifPrep-WBZ2VVP6.js} +7 -7
- package/dist/api.js +15 -15
- package/dist/{asset-I4SWXLQ6.js → asset-PTAQLOR6.js} +2 -2
- package/dist/{assetCataloger-FBZ36VTV.js → assetCataloger-N3UGZ2RC.js} +7 -7
- package/dist/{audio-I4Z5PT7P.js → audio-CPHWRLC4.js} +15 -15
- package/dist/{auth-CKN546QV.js → auth-ZWOJIYK7.js} +2 -2
- package/dist/{autoUpdate-AKOIVDJZ.js → autoUpdate-DO74673A.js} +3 -3
- package/dist/{backgroundChecks-5BJIAXAC.js → backgroundChecks-HOAN7YB6.js} +4 -4
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{batchRender-QY2RN3J2.js → batchRender-AZFHTPSV.js} +3 -3
- package/dist/{beats-UEGEBTZ6.js → beats-JRMM6JQQ.js} +11 -11
- package/dist/{benchmark-BNGEOBEM.js → benchmark-2PEQUV7H.js} +11 -11
- package/dist/{browser-DL2STX2A.js → browser-2D6IHFO6.js} +7 -7
- package/dist/{bundleWithLocalizedFonts-ULZJ7GHE.js → bundleWithLocalizedFonts-ERB43NFP.js} +2 -2
- package/dist/{capture-DHYANXXU.js → capture-3ODEX55X.js} +2 -2
- package/dist/{capture-UNI6ZOPZ.js → capture-WNC2DWF7.js} +11 -11
- package/dist/{captureCompositionFrame-PS5KDJXF.js → captureCompositionFrame-JXXTHR7J.js} +12 -12
- package/dist/{catalog-UF3CDKXY.js → catalog-MHTRTKSY.js} +14 -14
- package/dist/{catch-up-DIESQDJZ.js → catch-up-XNDRKMKL.js} +7 -7
- package/dist/{check-WZ6L42CH.js → check-7IB355TM.js} +36 -36
- package/dist/{checkBrowser-7J6VC7D6.js → checkBrowser-E3ZCTAGY.js} +31 -31
- package/dist/{chunk-PKQ3GBDU.js → chunk-2LKHE32Z.js} +6 -6
- package/dist/{chunk-MFDZK3X5.js → chunk-32V3VHMK.js} +66 -10
- package/dist/{chunk-C6WBKEOI.js → chunk-3XXSRN36.js} +2 -2
- package/dist/{chunk-WA6HZFDD.js → chunk-3YGSZSEN.js} +2 -2
- package/dist/{chunk-AFQ777YP.js → chunk-4UPGPCMB.js} +1 -1
- package/dist/{chunk-HVF7K2T3.js → chunk-4VZAIVZQ.js} +1 -1
- package/dist/{chunk-ESJYD4AE.js → chunk-57Y5X4VU.js} +5 -5
- package/dist/{chunk-2CGWIIPE.js → chunk-5ULL3P6S.js} +2 -2
- package/dist/{chunk-6WZ6HNK2.js → chunk-63JJFXAD.js} +10 -8
- package/dist/{chunk-4V2OO56A.js → chunk-63S4VUOL.js} +2 -2
- package/dist/{chunk-256C5DYC.js → chunk-733CEBPF.js} +5 -5
- package/dist/{chunk-F2ZAINSR.js → chunk-7D7V3UDI.js} +1 -1
- package/dist/{chunk-GHO33VCP.js → chunk-7LRVGYKZ.js} +2 -2
- package/dist/{chunk-O3KFO66O.js → chunk-7NWSVRFE.js} +1 -1
- package/dist/{chunk-WY67Q2QY.js → chunk-7WV27W7R.js} +5 -3
- package/dist/{chunk-GJA6QSSQ.js → chunk-ACH5ZR7X.js} +3 -3
- package/dist/{chunk-6BTMNV3R.js → chunk-BERGVZKN.js} +1 -1
- package/dist/{chunk-DZWTK3HJ.js → chunk-BIZPUWBG.js} +1 -1
- package/dist/{chunk-T6AGUTZJ.js → chunk-BQA3X7TI.js} +3 -32
- package/dist/{chunk-U66P7HPN.js → chunk-D35MPIGJ.js} +14 -14
- package/dist/{chunk-Y2I7KT2R.js → chunk-DRTUJVLE.js} +107 -44
- package/dist/{chunk-YP5XWK7M.js → chunk-FTD5QXGF.js} +1 -1
- package/dist/{chunk-FXDYR644.js → chunk-FTUKOLLB.js} +1 -1
- package/dist/{chunk-4WDOTQDY.js → chunk-FZ3R5XOH.js} +1 -1
- package/dist/{chunk-YEVU5W5G.js → chunk-G7RKSAKS.js} +29 -4
- package/dist/{chunk-7W7F3KBH.js → chunk-GR2G5L2O.js} +2 -2
- package/dist/{chunk-7FT7E7OU.js → chunk-GYSPF5ZT.js} +17 -17
- package/dist/{chunk-BPU22WKT.js → chunk-H2X4TQVK.js} +7 -7
- package/dist/{chunk-FCY375PD.js → chunk-HBRPELT6.js} +3 -3
- package/dist/{chunk-6NSH5EAO.js → chunk-HN6TP4D2.js} +1 -1
- package/dist/{chunk-7OFK6XMH.js → chunk-HXHSGDU6.js} +7 -7
- package/dist/{chunk-O2CO6QNK.js → chunk-I4VEFPZE.js} +1 -1
- package/dist/{chunk-DFL4XSQZ.js → chunk-I6A2B3IJ.js} +3 -3
- package/dist/{chunk-YUODO5H2.js → chunk-IC6BO4GU.js} +25 -2
- package/dist/{chunk-2FT5WJPY.js → chunk-ISN6BAZX.js} +1 -1
- package/dist/{chunk-JSLQZKXA.js → chunk-IW4LKYDY.js} +2 -2
- package/dist/{chunk-56ZYGITX.js → chunk-JBQNDHRT.js} +1 -1
- package/dist/{chunk-O2SA7HOG.js → chunk-KPUTRG54.js} +2 -2
- package/dist/{chunk-JBTNMFFR.js → chunk-KVFSXCN6.js} +1 -1
- package/dist/{chunk-EUZB3ZV3.js → chunk-ML4IULLQ.js} +10 -10
- package/dist/{chunk-ORNE2BC4.js → chunk-NC3TVM27.js} +5 -5
- package/dist/{chunk-4UAUXH77.js → chunk-OE7AUN6G.js} +759 -454
- package/dist/{chunk-N4NKPFKQ.js → chunk-OMXXJSCK.js} +54 -16
- package/dist/{chunk-NDBOBZRL.js → chunk-OYVVDYM6.js} +10 -10
- package/dist/{chunk-P3ZZD4SK.js → chunk-PFFR4NQV.js} +3 -3
- package/dist/{chunk-6NLPPKBO.js → chunk-PSX5SF2N.js} +36 -0
- package/dist/chunk-PW22CDII.js +3901 -0
- package/dist/{chunk-XIYNIHGQ.js → chunk-Q5IJYX7X.js} +2 -2
- package/dist/{chunk-GQVTTWZF.js → chunk-QDK7XCOB.js} +1 -1
- package/dist/{chunk-5I74DQPC.js → chunk-QP4UWICL.js} +3 -3
- package/dist/{chunk-UMCU32QC.js → chunk-QYQY5ACN.js} +1 -1
- package/dist/{chunk-F2K72QNO.js → chunk-RFQ6BIRL.js} +1 -1
- package/dist/{chunk-OU6YITCR.js → chunk-TDF2O2RM.js} +2 -2
- package/dist/{chunk-ISZK5IJM.js → chunk-TOC6E65N.js} +1 -1
- package/dist/{chunk-MMJ3L4XQ.js → chunk-TTFHBTXQ.js} +1 -1
- package/dist/{chunk-UBOBOWWB.js → chunk-TUVNQA5B.js} +3 -3
- package/dist/{chunk-W2LGJSEN.js → chunk-UIOZIIB7.js} +33 -3
- package/dist/{chunk-ZSO7UVC5.js → chunk-UUFY6A7I.js} +354 -82
- package/dist/{chunk-JTTWK6IM.js → chunk-VFLBOKDI.js} +3 -3
- package/dist/{chunk-TXJKDBUB.js → chunk-WAG4AX5C.js} +1 -1
- package/dist/{chunk-HBPFY3KU.js → chunk-XV7ZNBVY.js} +3 -3
- package/dist/{chunk-UUG3DETI.js → chunk-ZFBET3PD.js} +1 -1
- package/dist/{clean-2W5OGTMI.js → clean-BOYUTBAU.js} +18 -18
- package/dist/cli.js +54 -54
- package/dist/{cloud-AJK5OLJM.js → cloud-3O2MEZO4.js} +4 -4
- package/dist/{cloudrun-HAAYNZWP.js → cloudrun-MCTN22O6.js} +4 -4
- package/dist/{compare-KRY3JTXM.js → compare-A57RHCPB.js} +28 -28
- package/dist/{compiler-47QXFQF4.js → compiler-LVNWLZCX.js} +3 -3
- package/dist/{component-XQR75LCM.js → component-MIJC3LWO.js} +3 -3
- package/dist/{compositions-QJZQZJFB.js → compositions-OUNZAEC3.js} +13 -13
- package/dist/{delete-PPOMPFZG.js → delete-X6Q3S3SL.js} +3 -3
- package/dist/{deploy-IKVAHO42.js → deploy-XXMIXGUF.js} +1 -1
- package/dist/{dist-JBRYL3MH.js → dist-2UO4RVFN.js} +4 -2
- package/dist/{dist-XPD7X6JB.js → dist-ONHJ6ZDA.js} +1 -1
- package/dist/{doctor-TM2B4PLJ.js → doctor-ASSDEPCO.js} +14 -14
- package/dist/{events-UFQAFJ7A.js → events-4ULC5VUK.js} +5 -5
- package/dist/{events-QERYXJVB.js → events-DVWSV3TQ.js} +6 -6
- package/dist/{feedback-X6GA5Z2Y.js → feedback-OB3NJPNF.js} +9 -9
- package/dist/{ffmpeg-G6RMIP5K.js → ffmpeg-JH3JXES2.js} +7 -7
- package/dist/{figma-WAM4RJUC.js → figma-GV4OGXC2.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-7TO44JK3.js → get-FLMCUJGR.js} +3 -3
- package/dist/{gpuPolicy-IMLRNUEJ.js → gpuPolicy-RZ2OUY4M.js} +7 -7
- package/dist/{grade-compare-TCUAQKW4.js → grade-compare-O62JAOA7.js} +29 -29
- package/dist/{help-GSPNIWE2.js → help-6POZ4GNV.js} +1 -1
- package/dist/{history-SFC4KDFT.js → history-72ZIF5WR.js} +9 -9
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +65 -62
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-YBSWR4VE.js → info-GGIFZ5CT.js} +10 -10
- package/dist/{init-RJCZWSTH.js → init-QYRN6HG2.js} +29 -29
- package/dist/{inspect-R6C5Q7WI.js → inspect-KSL4YVIU.js} +29 -29
- package/dist/{installer-BJQSDYHE.js → installer-ENQCLSJQ.js} +4 -4
- package/dist/{keyframes-UJOV3QTF.js → keyframes-6PNLGKOO.js} +9 -9
- package/dist/{lambda-645URVF4.js → lambda-3RFOOJV6.js} +6 -6
- package/dist/{layout-MPGHNIY6.js → layout-3XFC6N3L.js} +29 -29
- package/dist/{lint-BWYP7H5P.js → lint-5XGLCTV5.js} +10 -10
- package/dist/{lintProject-Q4ZVEF3G.js → lintProject-FKPKSU6M.js} +1 -1
- package/dist/{list-YBOALPIY.js → list-B76BTLOM.js} +3 -3
- package/dist/{login-Z3JYXJKB.js → login-MNXS7GEL.js} +4 -4
- package/dist/{manager-COSJVRAE.js → manager-BWU4U7DV.js} +3 -3
- package/dist/{manager-CCRWUMQO.js → manager-QZZVJV7Z.js} +8 -8
- package/dist/{media-treatment-4P54XYM7.js → media-treatment-J3OWRCBF.js} +15 -15
- package/dist/{models-3LIZKQPH.js → models-MCDUTV54.js} +11 -11
- package/dist/{motionShot-22NRFNLM.js → motionShot-RWEH3VWI.js} +16 -16
- package/dist/{normalize-audio-C6JTJBZE.js → normalize-audio-N7VRZODX.js} +7 -7
- package/dist/{open-5KOE2UWD.js → open-ROUFAVKD.js} +14 -14
- package/dist/{parakeetRunner-67JLWWPE.js → parakeetRunner-PTVV5M44.js} +12 -12
- package/dist/{pipeline-QZQRLXSV.js → pipeline-HN5KMORF.js} +8 -8
- package/dist/{play-ID4KS6LH.js → play-AO7AF4Y4.js} +20 -20
- package/dist/{preflight-DVW7XWEO.js → preflight-ARNDDFGX.js} +10 -10
- package/dist/{present-CDJCTLFJ.js → present-FBPKUC5R.js} +16 -16
- package/dist/{preview-KDMHWG3L.js → preview-35X5G426.js} +20 -20
- package/dist/{producer-QPUWC6S3.js → producer-FVGPLR5E.js} +1 -1
- package/dist/{projectConfig-VMVZXMC6.js → projectConfig-SRUJLOHL.js} +6 -6
- package/dist/{publication-VBXDWVC7.js → publication-XH2BRL3V.js} +2 -2
- package/dist/{publish-XDNOVFIZ.js → publish-RI4ZQZNT.js} +8 -8
- package/dist/{remove-background-OQUEVC4I.js → remove-background-J22P5JFW.js} +9 -9
- package/dist/{render-L5DUPSDJ.js → render-2EZQT4IS.js} +16 -16
- package/dist/{render-MMEZAOL7.js → render-IJUKJILU.js} +123 -42
- package/dist/{render-2MVVITHT.js → render-UXYZN6D2.js} +5 -5
- package/dist/{render-batch-EZRFUUHG.js → render-batch-X34UZ442.js} +5 -5
- package/dist/renderSetupWorker.js +4 -4
- package/dist/{resolver-E6OFNCLG.js → resolver-UUEIRLMY.js} +4 -4
- package/dist/{sherpa-MQUVKCRX.js → sherpa-FI4VNAFT.js} +11 -11
- package/dist/skills/media-use/references/mixing.md +1 -0
- package/dist/{skills-Y7AATMSQ.js → skills-LGKXQFW7.js} +8 -8
- package/dist/{skillsUpdateCheck-K7DSQJGU.js → skillsUpdateCheck-NDPKSX3H.js} +4 -4
- package/dist/{snapshot-DZWLAQAW.js → snapshot-JM6427YW.js} +33 -33
- package/dist/{src-RRTSNZLM.js → src-26NBARTO.js} +8 -8
- package/dist/{src-7FSQZKIY.js → src-WEECPY6E.js} +6 -6
- package/dist/{staticProjectServer-J2IXFINI.js → staticProjectServer-I5WGMJOV.js} +14 -14
- package/dist/{status-H5WLKQDS.js → status-SCCC7A6N.js} +2 -2
- package/dist/studio/assets/{hyperframes-player-DDoxfTBd.js → hyperframes-player-LmRUJE8q.js} +1 -1
- package/dist/studio/assets/{index-BAKWbo0z.js → index-BmTWk8xf.js} +108 -108
- package/dist/studio/assets/{index-D9WoRF2S.js → index-CKNiEwbW.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-7BNDWZG5.js → studio-api-N774Q4NO.js} +7 -7
- package/dist/{studioServer-FBRUE3XK.js → studioServer-KZIM5UBJ.js} +49 -49
- package/dist/{system-7F3UEHQT.js → system-HV7PYIXE.js} +4 -3
- package/dist/{telemetry-4K6CPMNT.js → telemetry-IHU4HL3R.js} +1 -1
- package/dist/{telemetry-OOQVUJGL.js → telemetry-JIETM7WP.js} +6 -6
- package/dist/{timeline-U6MIU6JP.js → timeline-JJ6JG7GQ.js} +18 -18
- package/dist/{tokens-3ZPX6WKB.js → tokens-VOIMSCGX.js} +2 -2
- package/dist/{transcribe-QDBXRADM.js → transcribe-2V23EQHD.js} +18 -18
- package/dist/{transcribe-VPGQV5TG.js → transcribe-7BDHDQVP.js} +10 -10
- package/dist/{updateCheck-MN3QTSGM.js → updateCheck-7B7L3UWO.js} +3 -3
- package/dist/{upgrade-4FVRTMU5.js → upgrade-TUA2QZTY.js} +3 -3
- package/dist/{urlDownloader-UTVBU5IQ.js → urlDownloader-CGV6EYL7.js} +6 -6
- package/dist/{validate-NN43T4XX.js → validate-JLCXEI2U.js} +23 -23
- package/dist/{video-VQ67QXES.js → video-TI3EOA2D.js} +7 -7
- package/dist/warmCheck.js +36 -36
- package/package.json +1 -1
- package/dist/chunk-UYBXHV7R.js +0 -3901
|
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OYVVDYM6.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-D35MPIGJ.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NC3TVM27.js";
|
|
19
19
|
import {
|
|
20
20
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
21
21
|
STUDIO_PREVIEW_MARK_META
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HXHSGDU6.js";
|
|
23
23
|
import {
|
|
24
24
|
artifactDirectory,
|
|
25
25
|
finishSnapshotRun
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
proxyVariantFor,
|
|
32
32
|
resolveProxies,
|
|
33
33
|
scanProjectMediaCodecMap
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-DRTUJVLE.js";
|
|
35
35
|
import {
|
|
36
36
|
AUDIT_SEEK_OPTIONS,
|
|
37
37
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -45,20 +45,21 @@ import {
|
|
|
45
45
|
seekCompositionTimeline,
|
|
46
46
|
seekInPage,
|
|
47
47
|
waitForPreferredSeekTarget
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ML4IULLQ.js";
|
|
49
49
|
import {
|
|
50
50
|
BrowserCleanupError,
|
|
51
|
-
closeManagedBrowser
|
|
52
|
-
|
|
51
|
+
closeManagedBrowser,
|
|
52
|
+
onStopSignal
|
|
53
|
+
} from "./chunk-TTFHBTXQ.js";
|
|
53
54
|
import {
|
|
54
55
|
findStageProxyBox
|
|
55
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-ZFBET3PD.js";
|
|
56
57
|
import {
|
|
57
58
|
resolveAutoProxy
|
|
58
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-4VZAIVZQ.js";
|
|
59
60
|
import {
|
|
60
61
|
injectTagsAtHeadStart
|
|
61
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-PW22CDII.js";
|
|
62
63
|
import {
|
|
63
64
|
normalizeErrorMessage
|
|
64
65
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -315,6 +316,30 @@ function rectToBbox(rect) {
|
|
|
315
316
|
}
|
|
316
317
|
|
|
317
318
|
// src/utils/checkBrowser.ts
|
|
319
|
+
var COPY_HEARTBEAT_MS = 1e4;
|
|
320
|
+
function elapsedText(ms) {
|
|
321
|
+
const seconds = Math.round(ms / 1e3);
|
|
322
|
+
return seconds < 60 ? `${seconds}s` : `${Math.floor(seconds / 60)}m ${seconds % 60}s`;
|
|
323
|
+
}
|
|
324
|
+
function startCopyHeartbeat(sources, cached) {
|
|
325
|
+
const startedAt = Date.now();
|
|
326
|
+
const latest = /* @__PURE__ */ new Map();
|
|
327
|
+
const timer = setInterval(() => {
|
|
328
|
+
for (const [index, { doneSeconds, totalSeconds }] of latest) {
|
|
329
|
+
if (cached[index]) continue;
|
|
330
|
+
const done = totalSeconds ? `${Math.min(100, Math.floor(doneSeconds / totalSeconds * 100))}%` : "";
|
|
331
|
+
console.error(
|
|
332
|
+
`[hyperframes] browser-playable copy of ${sources[index].file}: ${done || `${Math.floor(doneSeconds)}s done`} (${elapsedText(Date.now() - startedAt)} so far)`
|
|
333
|
+
);
|
|
334
|
+
}
|
|
335
|
+
}, COPY_HEARTBEAT_MS);
|
|
336
|
+
timer.unref();
|
|
337
|
+
return {
|
|
338
|
+
progress: (index, progress) => void latest.set(index, progress),
|
|
339
|
+
settled: (index) => void latest.delete(index),
|
|
340
|
+
stop: () => clearInterval(timer)
|
|
341
|
+
};
|
|
342
|
+
}
|
|
318
343
|
async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride) {
|
|
319
344
|
const none = { findings: [], failedPaths: /* @__PURE__ */ new Set(), files: [] };
|
|
320
345
|
if (!resolveAutoProxy(projectDir, autoProxyOverride)) return none;
|
|
@@ -352,9 +377,22 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
|
|
|
352
377
|
);
|
|
353
378
|
}
|
|
354
379
|
let settled = 0;
|
|
355
|
-
const
|
|
356
|
-
|
|
357
|
-
|
|
380
|
+
const heartbeat = startCopyHeartbeat(sources, cached);
|
|
381
|
+
const stopped = new AbortController();
|
|
382
|
+
const forgetStop = onStopSignal(() => stopped.abort());
|
|
383
|
+
const results = await resolveProxies(
|
|
384
|
+
projectDir,
|
|
385
|
+
sources,
|
|
386
|
+
(index) => {
|
|
387
|
+
settled += 1;
|
|
388
|
+
heartbeat.settled(index);
|
|
389
|
+
if (toMake > 0) console.error(`[hyperframes] browser-playable copies: ${settled}/${total}`);
|
|
390
|
+
},
|
|
391
|
+
heartbeat.progress,
|
|
392
|
+
stopped.signal
|
|
393
|
+
).finally(() => {
|
|
394
|
+
heartbeat.stop();
|
|
395
|
+
forgetStop();
|
|
358
396
|
});
|
|
359
397
|
const failures = sources.flatMap((source, index) => {
|
|
360
398
|
const result = results[index];
|
|
@@ -396,7 +434,7 @@ function proxyFailedDraft(message) {
|
|
|
396
434
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
397
435
|
}
|
|
398
436
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
399
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
437
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ERB43NFP.js");
|
|
400
438
|
return injectTagsAtHeadStart(
|
|
401
439
|
await bundleWithLocalizedFonts(dir),
|
|
402
440
|
`<meta name="${STUDIO_PREVIEW_MARK_META}" content="${STUDIO_PREVIEW_CAPTURE_MODE}">`
|
|
@@ -455,7 +493,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
455
493
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
456
494
|
}));
|
|
457
495
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
458
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
496
|
+
const { analyzeClipMediaFit } = await import("./src-WEECPY6E.js");
|
|
459
497
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
460
498
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
461
499
|
}
|
|
@@ -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-BIZPUWBG.js";
|
|
10
10
|
import {
|
|
11
11
|
serveStaticProjectHtml
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NC3TVM27.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-ML4IULLQ.js";
|
|
20
20
|
import {
|
|
21
21
|
launchManagedBrowser,
|
|
22
22
|
resolveManagedGpuMode
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TTFHBTXQ.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-I6A2B3IJ.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-3YGSZSEN.js";
|
|
44
44
|
import {
|
|
45
45
|
normalizeErrorMessage
|
|
46
46
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -715,7 +715,7 @@ async function collectTweenBoundaries(page) {
|
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
717
|
async function bundleProjectHtml(projectDir) {
|
|
718
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
718
|
+
const { bundleToSingleHtml } = await import("./compiler-LVNWLZCX.js");
|
|
719
719
|
return bundleToSingleHtml(projectDir);
|
|
720
720
|
}
|
|
721
721
|
async function alignViewportToComposition(page, url) {
|
|
@@ -732,15 +732,15 @@ async function alignViewportToComposition(page, url) {
|
|
|
732
732
|
await gotoWhenSent(page, url, pageNavigationTimeoutMs());
|
|
733
733
|
}
|
|
734
734
|
async function runLayoutAudit(projectDir, opts) {
|
|
735
|
-
const { ensureBrowser } = await import("./manager-
|
|
735
|
+
const { ensureBrowser } = await import("./manager-BWU4U7DV.js");
|
|
736
736
|
const puppeteer = await import("puppeteer-core");
|
|
737
|
-
const { buildChromeArgs } = await import("./src-
|
|
737
|
+
const { buildChromeArgs } = await import("./src-WEECPY6E.js");
|
|
738
738
|
const {
|
|
739
739
|
assertWebGpuAdapterAvailable,
|
|
740
740
|
compositionRequiresWebGpu,
|
|
741
741
|
resolveLocalBrowserGpuMode,
|
|
742
742
|
resolveLocalWebGpu
|
|
743
|
-
} = await import("./gpuPolicy-
|
|
743
|
+
} = await import("./gpuPolicy-RZ2OUY4M.js");
|
|
744
744
|
const html = await bundleProjectHtml(projectDir);
|
|
745
745
|
const server = await serveStaticProjectHtml(
|
|
746
746
|
projectDir,
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
isAllowedHtmlAttribute,
|
|
12
12
|
isSafeAttributeValue,
|
|
13
13
|
sanitizeRichTextChildren
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-G7RKSAKS.js";
|
|
15
15
|
import {
|
|
16
16
|
EXCLUDED_TAGS,
|
|
17
17
|
ensureHfIds,
|
|
18
18
|
mintHfId,
|
|
19
19
|
walkCompositionDescendants
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-32V3VHMK.js";
|
|
21
21
|
import {
|
|
22
22
|
decodedUrlPath,
|
|
23
23
|
removeElementWithGsapCascade
|
|
24
24
|
} from "./chunk-XOTUPVIF.js";
|
|
25
25
|
import {
|
|
26
26
|
require_dist
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IC6BO4GU.js";
|
|
28
28
|
import {
|
|
29
29
|
readClipTiming,
|
|
30
30
|
writeClipTiming
|
|
@@ -140,6 +140,21 @@ function installStateLatchedFired() {
|
|
|
140
140
|
latchedFiredSeen = isInstallState(state) && state.deParallelRouterTrialFired === true;
|
|
141
141
|
return latchedFiredSeen;
|
|
142
142
|
}
|
|
143
|
+
function releaseDeParallelRouterLatch() {
|
|
144
|
+
const read = readInstallState();
|
|
145
|
+
if (isInstallState(read) && read.deParallelRouterTrialFired) {
|
|
146
|
+
try {
|
|
147
|
+
writeInstallState({ ...read, deParallelRouterTrialFired: void 0 });
|
|
148
|
+
} catch {
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
latchedFiredSeen = false;
|
|
153
|
+
stateFiredSynced = false;
|
|
154
|
+
const config = readConfigFresh();
|
|
155
|
+
config.deParallelRouterTrialFired = void 0;
|
|
156
|
+
writeConfig(config);
|
|
157
|
+
}
|
|
143
158
|
function installStateSeed() {
|
|
144
159
|
const state = readInstallState();
|
|
145
160
|
return isInstallState(state) ? state.bucketSeed : void 0;
|
|
@@ -250,6 +265,25 @@ function mintConfig() {
|
|
|
250
265
|
bucketSeed: state?.bucketSeed ?? randomUUID()
|
|
251
266
|
};
|
|
252
267
|
}
|
|
268
|
+
function hasFields(value, types) {
|
|
269
|
+
return Object.entries(types).every(([key, type]) => typeof Reflect.get(value, key) === type);
|
|
270
|
+
}
|
|
271
|
+
function isDeRouterRevert(value) {
|
|
272
|
+
return typeof value === "object" && value !== null && hasFields(value, { reason: "string", at: "string", version: "string", atRender: "number" });
|
|
273
|
+
}
|
|
274
|
+
function isDeRouterTrip(value) {
|
|
275
|
+
return isDeRouterRevert(value) && hasFields(value, { cleanRenders: "number" });
|
|
276
|
+
}
|
|
277
|
+
function parseDeRouterBreaker(value) {
|
|
278
|
+
if (typeof value !== "object" || value === null) return void 0;
|
|
279
|
+
const strike = Reflect.get(value, "strike");
|
|
280
|
+
const trip = Reflect.get(value, "trip");
|
|
281
|
+
const parsed = {
|
|
282
|
+
strike: isDeRouterRevert(strike) ? strike : void 0,
|
|
283
|
+
trip: isDeRouterTrip(trip) ? trip : void 0
|
|
284
|
+
};
|
|
285
|
+
return parsed.strike || parsed.trip ? parsed : void 0;
|
|
286
|
+
}
|
|
253
287
|
var MAX_RECENT_RENDERS = 5;
|
|
254
288
|
function recordRecentRender(id, ok) {
|
|
255
289
|
const config = readConfigFresh();
|
|
@@ -318,6 +352,7 @@ function guardedFields(parsed) {
|
|
|
318
352
|
// `|| installStateLatchedFired()` — a latch recorded in install-state
|
|
319
353
|
// wins over an untripped config.json, never the reverse.
|
|
320
354
|
deParallelRouterTrialFired: parsed.deParallelRouterTrialFired === true || installStateLatchedFired() ? true : void 0,
|
|
355
|
+
deParallelRouterBreaker: parseDeRouterBreaker(parsed.deParallelRouterBreaker),
|
|
321
356
|
deParallelRouterTrialRenderCount: typeof parsed.deParallelRouterTrialRenderCount === "number" ? parsed.deParallelRouterTrialRenderCount : void 0,
|
|
322
357
|
predecessorFound: typeof parsed.predecessorFound === "boolean" ? parsed.predecessorFound : void 0,
|
|
323
358
|
stateFileCorrupt: parsed.stateFileCorrupt === true ? true : void 0,
|
|
@@ -470,6 +505,7 @@ export {
|
|
|
470
505
|
telemetryRuntimeOverride,
|
|
471
506
|
effectiveTelemetryStatus,
|
|
472
507
|
withFileLock,
|
|
508
|
+
releaseDeParallelRouterLatch,
|
|
473
509
|
recordRecentRender,
|
|
474
510
|
getIdentityPersistence,
|
|
475
511
|
getIdentityWriteOutcome,
|