hyperframes 0.8.185 → 0.8.188
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-ODTNPRGG.js → add-UORF6235.js} +12 -12
- package/dist/{animatedGifPrep-PEP5GWOJ.js → animatedGifPrep-23MLSEXF.js} +7 -7
- package/dist/api.js +16 -16
- package/dist/{asset-EZG42XPA.js → asset-DOKDVHCW.js} +2 -2
- package/dist/{assetCataloger-OHAJFCA7.js → assetCataloger-CD27MHEY.js} +7 -7
- package/dist/audio-3NMZHNNU.js +2317 -0
- package/dist/{auth-VP2SIZFN.js → auth-AWKTSKGC.js} +1 -1
- package/dist/{autoUpdate-RVSUX4SS.js → autoUpdate-VBOI4CNU.js} +2 -2
- package/dist/{backgroundChecks-LEHK74NS.js → backgroundChecks-S4R454YU.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-3X6CL7PK.js → batchRender-EGPYNDHK.js} +4 -4
- package/dist/{beats-66VPQLSC.js → beats-YENEQUOA.js} +5 -5
- package/dist/{benchmark-PBJVTOJP.js → benchmark-THSJIQG7.js} +9 -9
- package/dist/{browser-TPL5MWGC.js → browser-BDMVQ6WJ.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-67MLTHKM.js → bundleWithLocalizedFonts-3QG722YD.js} +2 -2
- package/dist/{capture-YYRE7EV3.js → capture-WM4XDMFX.js} +2 -2
- package/dist/{capture-F3GNMRZM.js → capture-Z6BGCTK3.js} +10 -10
- package/dist/{captureCompositionFrame-PXV2ISHD.js → captureCompositionFrame-EMHSAIBZ.js} +15 -11
- package/dist/{catalog-6SDD3OHF.js → catalog-7TV6UNCG.js} +12 -12
- package/dist/{catch-up-CWIVA5VG.js → catch-up-63IUDZRW.js} +4 -4
- package/dist/{check-YQ6REK2S.js → check-7RHZL4DV.js} +32 -32
- package/dist/{checkBrowser-5XZCBRXM.js → checkBrowser-PF56CT5X.js} +29 -29
- package/dist/{chunk-TAX2ZJAP.js → chunk-2DHCCBCN.js} +9 -9
- package/dist/{chunk-K73RJB23.js → chunk-2WUDFZCR.js} +2 -2
- package/dist/{chunk-4CTNDBE3.js → chunk-44QWRPGE.js} +2 -2
- package/dist/{chunk-X6L6MD5B.js → chunk-46VJ2UAV.js} +6 -6
- package/dist/{chunk-BRAPBUPQ.js → chunk-57XL23DE.js} +1 -1
- package/dist/{chunk-J36JVBLR.js → chunk-5C7R55BJ.js} +1 -1
- package/dist/{chunk-SKYPMHQC.js → chunk-5DPV7LU3.js} +3 -3
- package/dist/{chunk-D42NU3DZ.js → chunk-5OZI55AC.js} +1 -1
- package/dist/{chunk-5UBZPG74.js → chunk-6A45RKAK.js} +1 -1
- package/dist/{chunk-I7QMXZSB.js → chunk-6HYPEIH7.js} +2 -2
- package/dist/{chunk-KQ4JEJLF.js → chunk-6HZ7TSJJ.js} +14 -8
- package/dist/{chunk-6ASIXMFP.js → chunk-6OWNUXTU.js} +1 -1
- package/dist/{chunk-WQLKDL35.js → chunk-6Q5CFUAP.js} +1 -1
- package/dist/{chunk-G2UANIDX.js → chunk-B2P4JRUJ.js} +1 -1
- package/dist/chunk-BPX7LZG6.js +3896 -0
- package/dist/{chunk-EMAWIZ54.js → chunk-BU4HRISA.js} +58 -21
- package/dist/{chunk-ESBMUZXZ.js → chunk-BWEZDN6U.js} +1 -1
- package/dist/{chunk-5UDRPPN2.js → chunk-CE7EQUBV.js} +8 -5
- package/dist/{chunk-UPR3MU6Z.js → chunk-DA4TQFSF.js} +1 -1
- package/dist/{chunk-HDIRZGK4.js → chunk-DG4ME554.js} +1 -1
- package/dist/{chunk-RTBSA3EA.js → chunk-DLFAVRF3.js} +1 -1
- package/dist/{chunk-TTVHYD5R.js → chunk-EI7FP7F3.js} +1 -1
- package/dist/{chunk-RUEGYANA.js → chunk-FOLMMQF3.js} +11 -11
- package/dist/{chunk-5GUKZRQN.js → chunk-FSTLXRIN.js} +1 -1
- package/dist/{chunk-CX3USX23.js → chunk-FWVILDOZ.js} +3 -3
- package/dist/{chunk-IVEFOUZI.js → chunk-GYBPAKBM.js} +2287 -2264
- package/dist/{chunk-HXUTX5GR.js → chunk-HKUZCSNZ.js} +2 -2
- package/dist/{chunk-PMMQRJDE.js → chunk-HPQSUPR7.js} +1 -1
- package/dist/{chunk-7RAY4WZP.js → chunk-I7C5GUEQ.js} +3 -3
- package/dist/{chunk-55YELV7B.js → chunk-IA2IDJAG.js} +1 -1
- package/dist/{chunk-7PS6RVWD.js → chunk-IJYR4TTA.js} +1 -1
- package/dist/{chunk-6RIZY7OP.js → chunk-JWRT2IXO.js} +1 -1
- package/dist/{chunk-2TAS5O4P.js → chunk-JYC53CW4.js} +108 -20
- package/dist/{chunk-IDFNKFPL.js → chunk-KDBPZOXK.js} +18 -7
- package/dist/{chunk-ISTRDGIX.js → chunk-KWSEIVR6.js} +1 -1
- package/dist/{chunk-IPDKZ5IN.js → chunk-KY7375C4.js} +1 -1
- package/dist/{chunk-F3OPUWQX.js → chunk-L243NE72.js} +7 -7
- package/dist/{chunk-H6UY725W.js → chunk-LWY3PFJ7.js} +2 -2
- package/dist/{chunk-6GPR3G3C.js → chunk-LWYZN7HS.js} +1 -1
- package/dist/{chunk-OAG47RE6.js → chunk-MJKUCR3C.js} +1 -1
- package/dist/{chunk-SQVRXHOW.js → chunk-MTPPEEYZ.js} +3 -3
- package/dist/{chunk-TOI35GN2.js → chunk-MXXX6WVC.js} +1 -1
- package/dist/{chunk-BH7TTIPN.js → chunk-NFHRGHCJ.js} +5 -5
- package/dist/{chunk-IDGLGXPA.js → chunk-NFLZNSUZ.js} +1 -1
- package/dist/{chunk-K2ZKXTVL.js → chunk-NMOTNNP2.js} +1 -1
- package/dist/{chunk-LYKSTRAY.js → chunk-OJOZXWLC.js} +3 -3
- package/dist/{chunk-FX6RUJUY.js → chunk-OKSYDQHY.js} +3 -3
- package/dist/{chunk-H5SM5PJI.js → chunk-PMXR3IUH.js} +1 -1
- package/dist/{chunk-A6QCO474.js → chunk-PQLFJYGP.js} +5 -5
- package/dist/{chunk-PFD25NAC.js → chunk-RIJHDTM5.js} +4 -0
- package/dist/{chunk-Q47FAYYK.js → chunk-SMF6YAUL.js} +9 -11
- package/dist/{chunk-EMSDWBG3.js → chunk-T3OXKSRG.js} +2 -2
- package/dist/{chunk-VHZ6DL3M.js → chunk-TMK4Q7JA.js} +10 -7
- package/dist/{chunk-Q447CX26.js → chunk-TSFA2Y5C.js} +60 -47
- package/dist/{chunk-XWC7CNPY.js → chunk-UF6RCYA5.js} +1 -1
- package/dist/{chunk-I45HL3VP.js → chunk-V6NM4KL3.js} +3 -3
- package/dist/{chunk-FFJ5TDRD.js → chunk-VHBBV5DH.js} +10 -3
- package/dist/{chunk-HHSJJFVM.js → chunk-W2KGJHUL.js} +2 -2
- package/dist/{chunk-37CNYTQQ.js → chunk-X556BGL7.js} +1 -1
- package/dist/{chunk-UJKQWGFF.js → chunk-X7HBSTCZ.js} +8 -0
- package/dist/{chunk-CML25PAF.js → chunk-XNFDDVJS.js} +27 -3
- package/dist/{chunk-J5XEZ24I.js → chunk-XPVN4R66.js} +3 -3
- package/dist/{chunk-I3IH5MV5.js → chunk-YCW345M4.js} +222 -118
- package/dist/{chunk-KROXPHXX.js → chunk-YV4WT7CJ.js} +5 -9
- package/dist/{chunk-PHMBMOXF.js → chunk-YZ73IPW2.js} +48 -4
- package/dist/{clean-7J6ZCCGV.js → clean-43O47OTN.js} +16 -16
- package/dist/cli.js +53 -53
- package/dist/{cloud-7IJCJCDD.js → cloud-ZFWKFFSU.js} +4 -4
- package/dist/{cloudrun-UNZRIIDB.js → cloudrun-XBBESKEU.js} +5 -5
- package/dist/{compare-Q7VW5JZT.js → compare-OW4ELTFZ.js} +26 -26
- package/dist/{compiler-KPHYGFXL.js → compiler-23MT6CX6.js} +4 -4
- package/dist/{component-UUBREJKN.js → component-SDV7LWH6.js} +3 -3
- package/dist/{compositions-T4FTKIDP.js → compositions-DI5QZCEK.js} +11 -11
- package/dist/{delete-WZQF2IIA.js → delete-QY2NSQ2G.js} +4 -4
- package/dist/deploy-MJVC4EFY.js +300 -0
- package/dist/{destroy-4B5HW5FH.js → destroy-SSPAKADI.js} +13 -3
- package/dist/{dist-LM7AVHOU.js → dist-JH32CBQL.js} +1 -1
- package/dist/{dist-ULGTPSU4.js → dist-RFTGYT26.js} +7 -5
- package/dist/{doctor-VSNGRKXJ.js → doctor-7ZOECPHR.js} +11 -11
- package/dist/{events-E63YBUL2.js → events-WIX4JM2K.js} +3 -3
- package/dist/{events-CRW2DYUT.js → events-XVQQGECC.js} +2 -2
- package/dist/{feedback-OSZWVR6N.js → feedback-GBYBR6UO.js} +7 -7
- package/dist/{ffmpeg-JLH3Z7G7.js → ffmpeg-QGQBYMO3.js} +7 -7
- package/dist/{figma-2BQNNR53.js → figma-2CMKUGJQ.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-P2XI53QW.js → get-RWCNUOHU.js} +4 -4
- package/dist/{gpuPolicy-NTKQJY75.js → gpuPolicy-UGWSN32D.js} +7 -7
- package/dist/{grade-compare-OYASIHIB.js → grade-compare-J2MX7HZL.js} +27 -27
- package/dist/{help-HK6K2N4G.js → help-SH3ID7MV.js} +1 -1
- package/dist/{history-JMTYKLXW.js → history-C7V5QH7J.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +70 -69
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-AW7CIVRE.js → info-ZN3JJ3IN.js} +8 -8
- package/dist/{init-6KIDG4LB.js → init-KRNGSRNH.js} +65 -47
- package/dist/{inspect-B7BLYMRZ.js → inspect-AYDZXTX7.js} +27 -27
- package/dist/{installer-ZP2LQZUQ.js → installer-N6AIK6XQ.js} +5 -5
- package/dist/{keyframes-EQ36A5JE.js → keyframes-2RFUCEDK.js} +6 -6
- package/dist/{lambda-E6VURLIS.js → lambda-VW3CF6EE.js} +20 -13
- package/dist/{layout-XYC64QQQ.js → layout-OE64APE7.js} +27 -27
- package/dist/{lint-V5DJYWBX.js → lint-UXJTX5WS.js} +7 -7
- package/dist/{lintProject-JATQKR64.js → lintProject-XM3DLUKG.js} +1 -1
- package/dist/{list-RUGVRTVD.js → list-KOL6JPZJ.js} +7 -7
- package/dist/{login-ZTKGKXGS.js → login-MAQXOPDG.js} +4 -4
- package/dist/{manager-JUP7PM6N.js → manager-3LZKRK7P.js} +8 -8
- package/dist/{media-treatment-VIUPK4OR.js → media-treatment-COLSXXQJ.js} +13 -13
- package/dist/{models-LJS2HBOZ.js → models-XXWMGOD7.js} +11 -11
- package/dist/{motionShot-3UAXZ7SN.js → motionShot-RECBNTBZ.js} +14 -14
- package/dist/{normalize-4UDISLPL.js → normalize-3AYFSN2F.js} +1 -1
- package/dist/{normalize-audio-SBYI4YIH.js → normalize-audio-LKVGHZWR.js} +6 -6
- package/dist/{open-S27TUD3A.js → open-UEQVSRKH.js} +12 -12
- package/dist/{parakeetRunner-ETLMLJ4L.js → parakeetRunner-QVPCZ36U.js} +12 -12
- package/dist/{pipeline-I2M22M24.js → pipeline-5VSMQBKW.js} +8 -8
- package/dist/{play-COJU6VJK.js → play-MNEABYN4.js} +19 -19
- package/dist/{policies-XXNGXWHV.js → policies-MBWGLMWB.js} +17 -0
- package/dist/{preflight-FZ24NCHH.js → preflight-ONJ74DWQ.js} +8 -8
- package/dist/{present-YAHKLC5D.js → present-GQ24GTYX.js} +15 -15
- package/dist/{preview-KQOEU5YE.js → preview-ALL7O4RG.js} +18 -18
- package/dist/{producer-DTNNG4T6.js → producer-43L2UDF6.js} +1 -1
- package/dist/{progress-NHJIHAAG.js → progress-PX3PVAIM.js} +5 -3
- package/dist/{projectConfig-4A76VYUP.js → projectConfig-VJXUXK7U.js} +7 -7
- package/dist/{publication-SQPMC2W3.js → publication-L6E5NTFV.js} +3 -3
- package/dist/{publish-QUEJBGGT.js → publish-LCLBJEPR.js} +9 -9
- package/dist/{remove-background-FP2ETAQH.js → remove-background-PDL4KPR4.js} +9 -9
- package/dist/{render-P664SMC7.js → render-7HVKJ7T4.js} +9 -7
- package/dist/{render-BIFIL4U6.js → render-J33ZHR6I.js} +44 -28
- package/dist/{render-GQFXJWLV.js → render-OPCRLZVL.js} +31 -22
- package/dist/{render-batch-ZCPMYH6Z.js → render-batch-ZHHIGXU3.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-BUC2GFZQ.js → resolver-KNNIMMBM.js} +5 -5
- package/dist/{sam-MC24SZHC.js → sam-FHJ7IL7T.js} +3 -1
- package/dist/{sherpa-HFT6XEP6.js → sherpa-GI62H3H5.js} +11 -11
- package/dist/{sites-MAVH57MO.js → sites-5PWHAMEG.js} +1 -1
- package/dist/skills/hyperframes/references/motion.md +1 -0
- package/dist/{skills-3WEVO3NU.js → skills-IUTD6VQO.js} +5 -5
- package/dist/{skillsUpdateCheck-BFPWFOK5.js → skillsUpdateCheck-XZE7MJG6.js} +3 -3
- package/dist/{snapshot-WDQ6S7CJ.js → snapshot-XEXTHLZP.js} +37 -34
- package/dist/{src-NPR2JZOJ.js → src-6STRGCDC.js} +8 -8
- package/dist/{src-RZ574OKP.js → src-ZPIV4PGX.js} +10 -6
- package/dist/{state-ORRPOLMQ.js → state-JPNCCXAV.js} +3 -1
- package/dist/{staticProjectServer-FTGTEZI4.js → staticProjectServer-HJLT7MHE.js} +15 -15
- package/dist/studio/assets/{hyperframes-player-CoOdf435.js → hyperframes-player-DwWIKKZG.js} +1 -1
- package/dist/studio/assets/{index-CR85xg2x.js → index-Cjwz7_13.js} +1 -1
- package/dist/studio/assets/{index-C_6rTpaB.js → index-M8lEpS0Q.js} +131 -131
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-TAWB7B23.js → studio-api-OBHEB5ND.js} +9 -9
- package/dist/{studioServer-HRQGJTBU.js → studioServer-KRIZFYML.js} +47 -46
- package/dist/{telemetry-QZ6HJF4W.js → telemetry-N5OOVBCP.js} +3 -3
- package/dist/templates/_shared/AGENTS.md +5 -0
- package/dist/templates/_shared/CLAUDE.md +5 -0
- package/dist/{timeline-IKUEW42T.js → timeline-YUFH65OG.js} +17 -17
- package/dist/{tokens-AUGUEWHS.js → tokens-K4VYLSWJ.js} +2 -2
- package/dist/{transcribe-7734CG3N.js → transcribe-CY4CVO54.js} +17 -17
- package/dist/{transcribe-FWU6EMEO.js → transcribe-GMQXKDYN.js} +10 -10
- package/dist/{updateCheck-VIPQ3FPW.js → updateCheck-2625RXK4.js} +2 -2
- package/dist/{upgrade-4VNDQTVO.js → upgrade-6ZY5MSBQ.js} +2 -2
- package/dist/{urlDownloader-6CXL4CL7.js → urlDownloader-PVJWG7V3.js} +6 -6
- package/dist/{validate-QWCMVWID.js → validate-XSRHEE7E.js} +21 -21
- package/dist/{video-245Q5WN4.js → video-MBFHC54F.js} +7 -7
- package/dist/warmCheck.js +34 -34
- package/package.json +18 -2
- package/dist/audio-65R4T74I.js +0 -1154
- package/dist/chunk-3NPOFC43.js +0 -3805
- package/dist/deploy-JU7A3XNC.js +0 -196
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HPQSUPR7.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-GMECXFAN.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YV4WT7CJ.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
stoppedByCancelSignal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NFLZNSUZ.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_MODEL,
|
|
12
12
|
ensureModel,
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
hasFFmpeg,
|
|
15
15
|
pinnedWhisperModel,
|
|
16
16
|
sha256File
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6OWNUXTU.js";
|
|
18
18
|
import {
|
|
19
19
|
findFFmpeg,
|
|
20
20
|
findFFprobe,
|
|
21
21
|
getFFmpegInstallHint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NMOTNNP2.js";
|
|
23
23
|
import {
|
|
24
24
|
findWavChunk
|
|
25
25
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
auditClipDurations,
|
|
9
9
|
shouldIgnoreHttpError,
|
|
10
10
|
shouldIgnoreRequestFailure
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FOLMMQF3.js";
|
|
12
12
|
import {
|
|
13
13
|
checkSnapshotDirectory,
|
|
14
14
|
rectToBbox
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
ambiguousIssue,
|
|
18
18
|
loadBrowserScript
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2DHCCBCN.js";
|
|
20
20
|
import {
|
|
21
21
|
serveStaticProjectHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XPVN4R66.js";
|
|
23
23
|
import {
|
|
24
24
|
FfmpegUnavailableError,
|
|
25
25
|
decideMediaProxyEligibility,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
proxyVariantFor,
|
|
28
28
|
resolveProxies,
|
|
29
29
|
scanProjectMediaCodecMap
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-LWYZN7HS.js";
|
|
31
31
|
import {
|
|
32
32
|
AUDIT_SEEK_OPTIONS,
|
|
33
33
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -41,18 +41,97 @@ import {
|
|
|
41
41
|
seekCompositionTimeline,
|
|
42
42
|
seekInPage,
|
|
43
43
|
waitForPreferredSeekTarget
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-KDBPZOXK.js";
|
|
45
45
|
import {
|
|
46
46
|
BrowserCleanupError,
|
|
47
47
|
closeManagedBrowser
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-MXXX6WVC.js";
|
|
49
49
|
import {
|
|
50
50
|
resolveAutoProxy
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-DG4ME554.js";
|
|
52
52
|
import {
|
|
53
53
|
normalizeErrorMessage
|
|
54
54
|
} from "./chunk-KNU5COPB.js";
|
|
55
55
|
|
|
56
|
+
// src/utils/checkMotionBlur.ts
|
|
57
|
+
var OFF_HINTS = {
|
|
58
|
+
"accelerated-canvas": "html-in-canvas captures WebGL/WebGPU frozen, in sub-compositions too: render that effect separately or flatten it out of the page, or drop data-motion-blur on this composition",
|
|
59
|
+
"backface-visibility": "backface-visibility: hidden inside a 3D transform is drawn mirrored; avoid the 3D flip or drop motion blur",
|
|
60
|
+
"iframe-in-root": "move the <iframe>, <object>, <embed> or custom element out of the composition root (each is re-initialised when blur wraps the root), or drop motion blur",
|
|
61
|
+
"root-transform": "animate a child element instead of the composition root, or drop motion blur",
|
|
62
|
+
"root-opacity": "animate a child element instead of the composition root, or drop motion blur",
|
|
63
|
+
"root-blend-mode": "set mix-blend-mode on a child element instead of the composition root, or drop motion blur",
|
|
64
|
+
"nested-capture-canvas": "remove the inner <canvas layoutsubtree> / content=drawable, or drop motion blur"
|
|
65
|
+
};
|
|
66
|
+
var GENERIC_OFF_HINT = "remove what the reason names, or drop data-motion-blur";
|
|
67
|
+
var ASKED = 'data-motion-blur="on" is set but';
|
|
68
|
+
function motionBlurDrafts(probe) {
|
|
69
|
+
if (!probe) return [];
|
|
70
|
+
if (probe.reasonCode === "unsupported-browser") {
|
|
71
|
+
return [
|
|
72
|
+
{
|
|
73
|
+
code: "motion_blur_unverified",
|
|
74
|
+
severity: "info",
|
|
75
|
+
message: `${ASKED} blur could not be evaluated in this browser`,
|
|
76
|
+
fixHint: "the check browser has no html-in-canvas (drawElementImage); render once to see whether blur applies",
|
|
77
|
+
time: 0
|
|
78
|
+
}
|
|
79
|
+
];
|
|
80
|
+
}
|
|
81
|
+
if (probe.state === "off") {
|
|
82
|
+
return [
|
|
83
|
+
{
|
|
84
|
+
code: "motion_blur_off",
|
|
85
|
+
severity: "warning",
|
|
86
|
+
message: `${ASKED} blur is off: ${probe.reason ?? "unknown reason"}`,
|
|
87
|
+
fixHint: OFF_HINTS[probe.reasonCode ?? ""] ?? GENERIC_OFF_HINT,
|
|
88
|
+
time: 0
|
|
89
|
+
}
|
|
90
|
+
];
|
|
91
|
+
}
|
|
92
|
+
if (probe.movers === 0) {
|
|
93
|
+
return [
|
|
94
|
+
{
|
|
95
|
+
code: "motion_blur_no_movers",
|
|
96
|
+
severity: "info",
|
|
97
|
+
message: `${ASKED} nothing in the composition moves fast enough to blur, so it has no effect`,
|
|
98
|
+
fixHint: `animate an element's transform or position by 2+ px per frame; if the motion is set from a timeline callback (onUpdate, render(t)), add data-motion-blur-events="on"; otherwise drop data-motion-blur`,
|
|
99
|
+
time: 0
|
|
100
|
+
}
|
|
101
|
+
];
|
|
102
|
+
}
|
|
103
|
+
return [];
|
|
104
|
+
}
|
|
105
|
+
function readMotionBlurProbe() {
|
|
106
|
+
const api = Reflect.get(window, "__hfMotionBlur");
|
|
107
|
+
if (typeof api !== "object" || api === null) return null;
|
|
108
|
+
const probe = Reflect.get(api, "probe");
|
|
109
|
+
if (typeof probe !== "function") return null;
|
|
110
|
+
const report = Reflect.apply(probe, api, []);
|
|
111
|
+
if (typeof report !== "object" || report === null) return null;
|
|
112
|
+
const reason = Reflect.get(report, "reason");
|
|
113
|
+
const code = Reflect.get(report, "reasonCode");
|
|
114
|
+
const movers = Reflect.get(report, "movers");
|
|
115
|
+
const suspend = Reflect.get(api, "suspend");
|
|
116
|
+
if (typeof suspend === "function") Reflect.apply(suspend, api, []);
|
|
117
|
+
return {
|
|
118
|
+
state: Reflect.get(report, "state") === "off" ? "off" : "on",
|
|
119
|
+
reason: typeof reason === "string" ? reason : null,
|
|
120
|
+
reasonCode: typeof code === "string" ? code : null,
|
|
121
|
+
movers: typeof movers === "number" ? movers : 0
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
async function collectMotionBlurDrafts(page) {
|
|
125
|
+
const probe = await page.evaluate(readMotionBlurProbe).catch(() => null);
|
|
126
|
+
return motionBlurDrafts(probe);
|
|
127
|
+
}
|
|
128
|
+
function dropMotionBlurConsoleEcho(drafts, found) {
|
|
129
|
+
if (found.length === 0) return drafts;
|
|
130
|
+
return drafts.filter(
|
|
131
|
+
(d) => !(d.code === "console_warning" && d.message.startsWith("[motion-blur] off:"))
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
|
|
56
135
|
// src/utils/checkBrowser.ts
|
|
57
136
|
import { existsSync, mkdirSync, writeFileSync } from "fs";
|
|
58
137
|
import os from "os";
|
|
@@ -240,13 +319,15 @@ function proxyFailedDraft(message) {
|
|
|
240
319
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
241
320
|
}
|
|
242
321
|
async function runBrowserCheck(project, options, motion, runGrid, deadline, prelaunched) {
|
|
243
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
322
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-3QG722YD.js");
|
|
244
323
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
324
|
+
deadline?.enter("copies");
|
|
245
325
|
const { findings: drafts, failedPaths } = await preResolveHostileMediaProxies(
|
|
246
326
|
project.dir,
|
|
247
327
|
html,
|
|
248
328
|
options.autoProxy
|
|
249
329
|
);
|
|
330
|
+
deadline?.enter("launch");
|
|
250
331
|
const server = await serveStaticProjectHtml(
|
|
251
332
|
project.dir,
|
|
252
333
|
html,
|
|
@@ -277,14 +358,15 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
277
358
|
beforeNavigate: async (page2) => {
|
|
278
359
|
wireRuntimeListeners(page2, drafts, clock);
|
|
279
360
|
await deadline?.preparePage(page2);
|
|
280
|
-
}
|
|
361
|
+
},
|
|
362
|
+
onLoaded: () => deadline?.enter("settle")
|
|
281
363
|
});
|
|
282
364
|
chromeBrowser = session.browser;
|
|
283
365
|
const page = session.page;
|
|
284
366
|
await waitForPreferredSeekTarget(page);
|
|
285
367
|
const rootAnchor = await resolveRootAnchor(page);
|
|
286
368
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
287
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
369
|
+
const { analyzeClipMediaFit } = await import("./src-ZPIV4PGX.js");
|
|
288
370
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
289
371
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
290
372
|
}
|
|
@@ -292,9 +374,11 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
292
374
|
const message = tweenTailMessage(tail);
|
|
293
375
|
drafts.push({ code: "gsap_tween_tail", severity: "warning", message, time: tail.later.end });
|
|
294
376
|
}
|
|
377
|
+
const blur = await collectMotionBlurDrafts(page);
|
|
378
|
+
drafts.push(...blur);
|
|
295
379
|
const sampleLog = sampleWindow(drafts);
|
|
296
380
|
const driver = createPageDriver(page, clock, sampleLog);
|
|
297
|
-
const result = await runGrid(driver, options, motion, helpers);
|
|
381
|
+
const result = await runGrid(driver, options, motion, helpers, deadline?.enter);
|
|
298
382
|
helperSession?.stop();
|
|
299
383
|
const helper = await helperOpen?.catch(() => void 0);
|
|
300
384
|
const merged = helper ? mergeHelperDrafts(sampleLog, helper.sampleLog) : drafts;
|
|
@@ -303,7 +387,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
303
387
|
...result,
|
|
304
388
|
timings: { ...result.timings, launchSettleMs },
|
|
305
389
|
runtimeFindings: dropFailedProxyEchoes(
|
|
306
|
-
keepBrokenImageAborts(merged, broken),
|
|
390
|
+
dropMotionBlurConsoleEcho(keepBrokenImageAborts(merged, broken), blur),
|
|
307
391
|
failedPaths
|
|
308
392
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
309
393
|
};
|
|
@@ -391,7 +475,7 @@ function mergeHelperDrafts(primary, helper) {
|
|
|
391
475
|
}
|
|
392
476
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
393
477
|
if (requests.length === 0) return [];
|
|
394
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
478
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-3QG722YD.js");
|
|
395
479
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
396
480
|
const server = await serveStaticProjectHtml(
|
|
397
481
|
project.dir,
|
|
@@ -1113,17 +1197,20 @@ function anchorsInPage(values) {
|
|
|
1113
1197
|
});
|
|
1114
1198
|
}
|
|
1115
1199
|
async function resolveRootAnchor(page) {
|
|
1200
|
+
const selector = await page.evaluate(
|
|
1201
|
+
(explicit) => document.querySelector(explicit) ? explicit : "[data-composition-id]",
|
|
1202
|
+
'[data-composition-id][data-root="true"]'
|
|
1203
|
+
);
|
|
1116
1204
|
const anchors = await resolveAnchors(page, [
|
|
1117
|
-
{ selector
|
|
1205
|
+
{ selector, time: 0, bbox: await compositionBbox(page, selector) }
|
|
1118
1206
|
]);
|
|
1119
1207
|
return anchors[0] ?? fallbackAnchor(void 0);
|
|
1120
1208
|
}
|
|
1121
|
-
async function compositionBbox(page) {
|
|
1122
|
-
return page.evaluate(() => {
|
|
1123
|
-
const
|
|
1124
|
-
const rect = element?.getBoundingClientRect();
|
|
1209
|
+
async function compositionBbox(page, selector) {
|
|
1210
|
+
return page.evaluate((root) => {
|
|
1211
|
+
const rect = document.querySelector(root)?.getBoundingClientRect();
|
|
1125
1212
|
return rect ? { x: rect.x, y: rect.y, width: rect.width, height: rect.height } : { x: 0, y: 0, width: 0, height: 0 };
|
|
1126
|
-
});
|
|
1213
|
+
}, selector);
|
|
1127
1214
|
}
|
|
1128
1215
|
async function collectContrast(page, time, snapshotAnnotations) {
|
|
1129
1216
|
let prepared = [];
|
|
@@ -1454,7 +1541,8 @@ function runtimeFinding(draft, root) {
|
|
|
1454
1541
|
time: draft.time,
|
|
1455
1542
|
...draft.timeRange ? { timeRange: draft.timeRange } : {},
|
|
1456
1543
|
url: draft.url,
|
|
1457
|
-
line: draft.line
|
|
1544
|
+
line: draft.line,
|
|
1545
|
+
...draft.fixHint ? { fixHint: draft.fixHint } : {}
|
|
1458
1546
|
};
|
|
1459
1547
|
}
|
|
1460
1548
|
function fallbackAnchor(request) {
|
|
@@ -11,28 +11,28 @@ import {
|
|
|
11
11
|
launchManagedBrowser,
|
|
12
12
|
resolveManagedGpuMode,
|
|
13
13
|
rethrowAfterBrowserCleanup
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MXXX6WVC.js";
|
|
15
15
|
import {
|
|
16
16
|
gotoWhenSent
|
|
17
17
|
} from "./chunk-MOEGCMKI.js";
|
|
18
18
|
import {
|
|
19
19
|
pageNavigationTimeoutMs,
|
|
20
20
|
windowsChromeCrashRemediation
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MTPPEEYZ.js";
|
|
22
22
|
import {
|
|
23
23
|
oneProcessOverPipe
|
|
24
24
|
} from "./chunk-DKPNNYBZ.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveLocalBrowserGpuMode,
|
|
27
27
|
resolveLocalWebGpu
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-T3OXKSRG.js";
|
|
29
29
|
import {
|
|
30
30
|
c
|
|
31
31
|
} from "./chunk-ZTZA4UWZ.js";
|
|
32
32
|
import {
|
|
33
33
|
assertWebGpuAdapterAvailable,
|
|
34
34
|
compositionRequiresWebGpu
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-YCW345M4.js";
|
|
36
36
|
import {
|
|
37
37
|
normalizeErrorMessage
|
|
38
38
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -138,7 +138,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
138
138
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
139
139
|
});
|
|
140
140
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
141
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
141
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-ZPIV4PGX.js");
|
|
142
142
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
143
143
|
await waitForImagesReady(
|
|
144
144
|
page,
|
|
@@ -187,7 +187,7 @@ async function installPageFunctionGuard(page) {
|
|
|
187
187
|
async function openSettledCompositionPage(html, url, options) {
|
|
188
188
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
189
189
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
190
|
-
const answer = (await import("./staticProjectServer-
|
|
190
|
+
const answer = (await import("./staticProjectServer-HJLT7MHE.js")).inProcessAnswer(url);
|
|
191
191
|
const noListen = answer !== void 0;
|
|
192
192
|
let chromeBrowser;
|
|
193
193
|
try {
|
|
@@ -198,11 +198,14 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
198
198
|
options.onBrowserReady?.();
|
|
199
199
|
const page = await chromeBrowser.newPage();
|
|
200
200
|
await installPageFunctionGuard(page);
|
|
201
|
+
const { installMediaRenderIdBridge } = await import("./src-ZPIV4PGX.js");
|
|
202
|
+
await installMediaRenderIdBridge(page);
|
|
201
203
|
await page.setViewport(viewport);
|
|
202
204
|
if (answer) await answerPageInProcess(page, url, answer);
|
|
203
205
|
await options.beforeNavigate?.(page);
|
|
204
206
|
await gotoWhenSent(page, url, pageNavigationTimeoutMs(options.navigationTimeoutMs));
|
|
205
207
|
await assertWebGpuAdapterAvailable(page, requiresWebGpu, softwareWebGpu);
|
|
208
|
+
options.onLoaded?.();
|
|
206
209
|
const renderReadyTimedOut = !await waitForCompositionSettle(page, options);
|
|
207
210
|
return { browser: chromeBrowser, page, renderReadyTimedOut };
|
|
208
211
|
} catch (err) {
|
|
@@ -214,7 +217,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
214
217
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-UHWEKPXC.js");
|
|
215
218
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
216
219
|
const puppeteer = await import("puppeteer-core");
|
|
217
|
-
const { buildChromeArgs } = await import("./src-
|
|
220
|
+
const { buildChromeArgs } = await import("./src-ZPIV4PGX.js");
|
|
218
221
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
219
222
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
220
223
|
let softwareWebGpu = false;
|
|
@@ -353,6 +356,10 @@ function seekInPage(t, fallbackToBridgeAndTimelines, exactTime, skipDraws) {
|
|
|
353
356
|
seekTo(safe);
|
|
354
357
|
}
|
|
355
358
|
async function seekCompositionTimeline(page, timeSeconds, options = {}) {
|
|
359
|
+
await seekCompositionTimelineOnly(page, timeSeconds, options);
|
|
360
|
+
await settleCompositionSeek(page, options);
|
|
361
|
+
}
|
|
362
|
+
async function seekCompositionTimelineOnly(page, timeSeconds, options = {}) {
|
|
356
363
|
if (options.waitForPreferredSeekTargetMs !== void 0) {
|
|
357
364
|
await waitForPreferredSeekTarget(page, options.waitForPreferredSeekTargetMs);
|
|
358
365
|
}
|
|
@@ -363,6 +370,8 @@ async function seekCompositionTimeline(page, timeSeconds, options = {}) {
|
|
|
363
370
|
options.exactTime === true,
|
|
364
371
|
options.skipWebglDraws === true
|
|
365
372
|
);
|
|
373
|
+
}
|
|
374
|
+
async function settleCompositionSeek(page, options = {}) {
|
|
366
375
|
await page.evaluate(
|
|
367
376
|
async (barrier) => {
|
|
368
377
|
const waitForCompletion = Reflect.get(window, "__hfWaitForSeekCompletion");
|
|
@@ -560,6 +569,8 @@ export {
|
|
|
560
569
|
openSettledCompositionPage,
|
|
561
570
|
seekInPage,
|
|
562
571
|
seekCompositionTimeline,
|
|
572
|
+
seekCompositionTimelineOnly,
|
|
573
|
+
settleCompositionSeek,
|
|
563
574
|
waitForPreferredSeekTarget,
|
|
564
575
|
waitForCompositionFonts,
|
|
565
576
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-57XL23DE.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-DG4ME554.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DLFAVRF3.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HKUZCSNZ.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HPQSUPR7.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6Q5CFUAP.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-ZTZA4UWZ.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-YV4WT7CJ.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6HZ7TSJJ.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BPX7LZG6.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-B2P4JRUJ.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-K2FLNJVB.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_CONFIG,
|
|
18
18
|
resolvePageNavigationTimeout
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YCW345M4.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFps
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YV4WT7CJ.js";
|
|
23
23
|
|
|
24
24
|
// src/browser/windowsCrash.ts
|
|
25
25
|
var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
} from "./chunk-6JR2XUEE.js";
|
|
15
15
|
import {
|
|
16
16
|
readCompositionFps
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-B2P4JRUJ.js";
|
|
18
18
|
import {
|
|
19
19
|
HF_AUDIO_GROUP_ATTR,
|
|
20
20
|
extractAudioMetadata,
|
|
21
21
|
extractMediaMetadata
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YCW345M4.js";
|
|
23
23
|
import {
|
|
24
24
|
byStart,
|
|
25
25
|
fpsToNumber,
|
|
26
26
|
parseFpsWithDefault
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YV4WT7CJ.js";
|
|
28
28
|
import {
|
|
29
29
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
30
30
|
HF_AUDIO_FX_ATTR,
|
|
31
31
|
parseAudioFxChain,
|
|
32
32
|
parseAutomation,
|
|
33
33
|
resolveAutomation
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-BPX7LZG6.js";
|
|
35
35
|
import {
|
|
36
36
|
isSubCompositionHost,
|
|
37
37
|
topLevelElements,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
resolveReferencedDuration,
|
|
42
42
|
resolveReferencedStart
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-TSFA2Y5C.js";
|
|
44
44
|
import {
|
|
45
45
|
resolveAuthoredAssetFile
|
|
46
46
|
} from "./chunk-6BNTGNGD.js";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NMOTNNP2.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VP9_CPU_USED,
|
|
21
21
|
SDR_RGB_TO_BT709_FILTER,
|
|
22
22
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
23
23
|
renderProvenanceArgs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YCW345M4.js";
|
|
25
25
|
|
|
26
26
|
// src/background-removal/pipeline.ts
|
|
27
27
|
import { spawn } from "child_process";
|
|
@@ -262,7 +262,7 @@ function inferInputKind(inputPath) {
|
|
|
262
262
|
}
|
|
263
263
|
async function probeMedia(inputPath) {
|
|
264
264
|
const isImage = inferInputKind(inputPath) === "image";
|
|
265
|
-
const engine = await import("./src-
|
|
265
|
+
const engine = await import("./src-ZPIV4PGX.js");
|
|
266
266
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
267
267
|
if (isImage) {
|
|
268
268
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6Q5CFUAP.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PMXR3IUH.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
|
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
86
|
import("./system-7F3UEHQT.js"),
|
|
87
|
-
import("./ffmpeg-
|
|
87
|
+
import("./ffmpeg-QGQBYMO3.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
90
90
|
const parts = [
|