hyperframes 0.8.208 → 0.8.210

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.
Files changed (213) hide show
  1. package/dist/{add-XMWRBMBR.js → add-36M7YRR4.js} +17 -16
  2. package/dist/{animatedGifPrep-6XURJIPV.js → animatedGifPrep-RZLTC77F.js} +8 -6
  3. package/dist/api.js +26 -20
  4. package/dist/{appHistory-HIBH6XZW.js → appHistory-OHYU5ZBQ.js} +3 -2
  5. package/dist/{asset-I5GGEOB2.js → asset-HRGZ7ZCB.js} +2 -2
  6. package/dist/{assetCataloger-YBPXUNUP.js → assetCataloger-LN7RI2IC.js} +9 -7
  7. package/dist/{audio-GFJCHH5W.js → audio-ULOHC2KL.js} +31 -22
  8. package/dist/{auth-QOA55RYR.js → auth-K4ZULHQY.js} +4 -4
  9. package/dist/{autoUpdate-SPS4QPJU.js → autoUpdate-MUJ4WPP6.js} +4 -4
  10. package/dist/{backgroundChecks-HRJO7YK7.js → backgroundChecks-O6JST752.js} +5 -5
  11. package/dist/backgroundChecksWorker.js +5 -5
  12. package/dist/{batchRender-FBP3RKUF.js → batchRender-U742UVOD.js} +4 -4
  13. package/dist/{beats-VNGJ7F6W.js → beats-2CSE5WJD.js} +15 -12
  14. package/dist/{benchmark-NZ3N3MIV.js → benchmark-YJB2YKOE.js} +10 -10
  15. package/dist/{browser-BD5BKRJ5.js → browser-WJ5E7RYS.js} +7 -7
  16. package/dist/{bundleWithLocalizedFonts-WXVNPAWD.js → bundleWithLocalizedFonts-F5VQMFHZ.js} +3 -3
  17. package/dist/{capture-CXWXKWS5.js → capture-6OJDKKEZ.js} +26 -22
  18. package/dist/{capture-LMJ4TQRL.js → capture-IYV3OS5W.js} +3 -3
  19. package/dist/{captureCompositionFrame-ZKVCRYYU.js → captureCompositionFrame-7357PUMG.js} +15 -14
  20. package/dist/{catalog-WRXQSCAU.js → catalog-CZBK33QH.js} +18 -17
  21. package/dist/{catch-up-MDSPABFC.js → catch-up-7IJQ7AUR.js} +9 -8
  22. package/dist/{check-SIBBK5HA.js → check-ISUFX4DK.js} +46 -44
  23. package/dist/{checkAudio-QQBR4HR7.js → checkAudio-GAA2SY5E.js} +21 -12
  24. package/dist/{checkBrowser-4EBJLLIH.js → checkBrowser-JRADOMED.js} +39 -37
  25. package/dist/{chunk-Z5TGBEPJ.js → chunk-32BLIKEV.js} +1 -1
  26. package/dist/{chunk-P7WGVXR7.js → chunk-35HSGF46.js} +6 -6
  27. package/dist/{chunk-6WRN4WC6.js → chunk-36EOFTVG.js} +1 -1
  28. package/dist/{chunk-FFDYRJBE.js → chunk-3PTZ2TD4.js} +1 -1
  29. package/dist/{chunk-S4KHJERB.js → chunk-4A27M7CJ.js} +1 -1
  30. package/dist/{chunk-VYRJAQGC.js → chunk-57QUPSP2.js} +1 -1
  31. package/dist/{chunk-HUKQW4YE.js → chunk-5IWRGVAX.js} +2 -2
  32. package/dist/{chunk-SI7QCT2J.js → chunk-5PCT5DDF.js} +6 -6
  33. package/dist/{chunk-QWBVPWUI.js → chunk-5ZJGEQGS.js} +3 -1
  34. package/dist/{chunk-CP225S5H.js → chunk-7BOGLQFM.js} +5 -5
  35. package/dist/{chunk-MOEGCMKI.js → chunk-7J6LQ3SQ.js} +20 -0
  36. package/dist/chunk-7VZEOCUY.js +98 -0
  37. package/dist/{chunk-4LTBQEPD.js → chunk-A2H5EJZM.js} +2 -2
  38. package/dist/{chunk-NZ6G5YWZ.js → chunk-A45HCDG7.js} +2 -2
  39. package/dist/{chunk-MW2NQQ6Z.js → chunk-AG566TRI.js} +2 -2
  40. package/dist/{chunk-K4PHB3YQ.js → chunk-AZGVCQGO.js} +7 -3
  41. package/dist/{chunk-WNMVC3IT.js → chunk-BKXC5XHB.js} +1 -1
  42. package/dist/{chunk-S2OLTAEL.js → chunk-BN22WCAF.js} +2 -2
  43. package/dist/{chunk-J67FSI3Q.js → chunk-BW5WYF4N.js} +92 -27
  44. package/dist/{chunk-ULL3U6PV.js → chunk-BYZPLQSX.js} +1 -1
  45. package/dist/chunk-D3MUHMFG.js +16 -0
  46. package/dist/{chunk-4HT2L6W2.js → chunk-DHTWYTSV.js} +1 -1
  47. package/dist/{chunk-XUQYC5DD.js → chunk-DKJAK6JW.js} +5 -5
  48. package/dist/{chunk-LSMFOZ4F.js → chunk-DST7GU2Y.js} +2 -2
  49. package/dist/{chunk-EU7MVORF.js → chunk-E63BDV4Z.js} +10 -1
  50. package/dist/{chunk-6N7D2GUV.js → chunk-EQPXSSNG.js} +28 -24
  51. package/dist/{chunk-MBGM26P5.js → chunk-ERVBXEPZ.js} +1 -1
  52. package/dist/{chunk-MYO77JWR.js → chunk-EVTBRL37.js} +1 -1
  53. package/dist/{chunk-EGOXYG3M.js → chunk-EYGWMHXV.js} +2 -2
  54. package/dist/{chunk-DHQSDCWD.js → chunk-F7IWJMIO.js} +3 -2
  55. package/dist/{chunk-4KG3ESVO.js → chunk-FBIWJ3A4.js} +4 -4
  56. package/dist/{chunk-DXACKQ3F.js → chunk-FCIO4WSW.js} +3 -3
  57. package/dist/{chunk-43MW4SY7.js → chunk-FCXEVKFQ.js} +4 -4
  58. package/dist/{chunk-PKVA6MPV.js → chunk-FHIBBIEZ.js} +65 -204
  59. package/dist/{chunk-XG3IZV62.js → chunk-GKNTPIFD.js} +17 -9
  60. package/dist/{chunk-GHSO62LK.js → chunk-GNESG4XA.js} +4 -10
  61. package/dist/{chunk-G2A6RC5R.js → chunk-HD4KXG5U.js} +70 -49
  62. package/dist/{chunk-PWEOSJ3E.js → chunk-HKCIRH26.js} +3 -3
  63. package/dist/{chunk-B5MPMIKQ.js → chunk-HP7BXJFZ.js} +2 -2
  64. package/dist/{chunk-MPO25DQW.js → chunk-I3PNZDKR.js} +186 -153
  65. package/dist/chunk-I4H5JWND.js +205 -0
  66. package/dist/{chunk-ORFRUZPB.js → chunk-IMKBZEGT.js} +2 -2
  67. package/dist/{chunk-3O2E4Q66.js → chunk-J7A73K2B.js} +35 -22
  68. package/dist/{chunk-M4QZFUMW.js → chunk-JHNBF2HD.js} +1 -1
  69. package/dist/{chunk-XOFBXLMG.js → chunk-JLBJRJO6.js} +5 -3
  70. package/dist/{chunk-GMECXFAN.js → chunk-K4FVGVA6.js} +5 -2
  71. package/dist/{chunk-XMRA7CQG.js → chunk-KCLBO65Y.js} +1 -1
  72. package/dist/{chunk-7CPI2DWL.js → chunk-KGAPL42S.js} +1 -1
  73. package/dist/{chunk-BKDQFOKK.js → chunk-KGG2PUZN.js} +91 -17
  74. package/dist/{chunk-OTXXDONS.js → chunk-LRE4GDFA.js} +3 -3
  75. package/dist/{chunk-EYEEZXLI.js → chunk-MA447PNF.js} +25 -17
  76. package/dist/{chunk-6JNSYFOH.js → chunk-MV3J6ZOP.js} +4 -4
  77. package/dist/{chunk-CSWCZA6V.js → chunk-NEKKA2DA.js} +2 -2
  78. package/dist/{chunk-EOVYQ3IG.js → chunk-NQ2INEHX.js} +17 -17
  79. package/dist/{chunk-4F5NRJ6M.js → chunk-OMLVCHNN.js} +2 -2
  80. package/dist/{chunk-6CWKORZO.js → chunk-P2L7NNHT.js} +27 -5
  81. package/dist/{chunk-FC4WT5FX.js → chunk-P327BIJR.js} +1 -14
  82. package/dist/{chunk-NEASABW6.js → chunk-P6EXMN5D.js} +1 -1
  83. package/dist/{chunk-VR3JLTZD.js → chunk-PCPMSUW6.js} +3 -3
  84. package/dist/{chunk-D2CE2J2A.js → chunk-PV4XID2A.js} +1 -1
  85. package/dist/{chunk-IL2TMC6F.js → chunk-QFXF5GXE.js} +21 -5
  86. package/dist/{chunk-VS4SK7BN.js → chunk-QI5TLQNW.js} +7 -7
  87. package/dist/{chunk-CZUAX3BV.js → chunk-QIDN4ML5.js} +1 -1
  88. package/dist/{chunk-BLCKQPBE.js → chunk-QPX7FJP3.js} +1 -1
  89. package/dist/chunk-QRC7IVBC.js +4870 -0
  90. package/dist/{chunk-IIJVSCSH.js → chunk-QRWTVCGH.js} +18 -18
  91. package/dist/{chunk-56ANHX5U.js → chunk-QXUFQSSK.js} +1 -1
  92. package/dist/{chunk-KTWGVEN6.js → chunk-RIAWW4G2.js} +2 -2
  93. package/dist/{chunk-HTZJNQYI.js → chunk-RUW65P3N.js} +1 -1
  94. package/dist/{chunk-ENRFKCI6.js → chunk-TDEORHFN.js} +3 -3
  95. package/dist/{chunk-X6MCIK7L.js → chunk-TGFDRZTM.js} +29 -13
  96. package/dist/{chunk-U6KN6OIP.js → chunk-UA3YNZK6.js} +2 -2
  97. package/dist/{chunk-TNTGGDSD.js → chunk-UWEGMKKU.js} +1 -1
  98. package/dist/{chunk-SKKQMW5X.js → chunk-W3V5EOFA.js} +1 -1
  99. package/dist/{chunk-QP2MJYTJ.js → chunk-W4E3ZOWH.js} +1 -1
  100. package/dist/{chunk-7PAK7LZ5.js → chunk-WOFTAZSZ.js} +18 -20
  101. package/dist/{chunk-HZN7ICAF.js → chunk-WWQJYYAB.js} +3 -3
  102. package/dist/{chunk-PSOAGSNO.js → chunk-X2T5EOI7.js} +2 -2
  103. package/dist/{chunk-Q43YUROE.js → chunk-X6JUUQCM.js} +1 -1
  104. package/dist/chunk-XCIHCPJK.js +106 -0
  105. package/dist/{chunk-5HB4JM7H.js → chunk-XIUHHEBS.js} +5 -3
  106. package/dist/{chunk-EXAX37XR.js → chunk-Y65ZU7XY.js} +18 -13
  107. package/dist/{chunk-WABB4LZS.js → chunk-YBY2WVLC.js} +19 -2
  108. package/dist/{chunk-5PCALX6G.js → chunk-YIFEK3UD.js} +1 -1
  109. package/dist/{chunk-6DSYBW7Z.js → chunk-YRO3PXWU.js} +1 -85
  110. package/dist/{chunk-6PWQH77E.js → chunk-ZFVNYA3M.js} +1 -1
  111. package/dist/{chunk-GEO6THL3.js → chunk-ZRSQNF4A.js} +43 -30
  112. package/dist/{clean-6GX7WAEC.js → clean-NVBEXXIS.js} +25 -22
  113. package/dist/cli.js +56 -56
  114. package/dist/{cloud-6PFJKLNL.js → cloud-3T6HF7DT.js} +4 -4
  115. package/dist/{cloudrun-UGG3ZFH7.js → cloudrun-TXEEZGJ7.js} +5 -5
  116. package/dist/commands/layout-audit.browser.js +94 -4
  117. package/dist/{compare-P4EBOP4B.js → compare-Q42Z56P7.js} +38 -36
  118. package/dist/{compiler-PG4RKX6K.js → compiler-IL2PZJFH.js} +5 -3
  119. package/dist/{component-SQPMI3W7.js → component-2IWQZYCZ.js} +3 -3
  120. package/dist/{compositions-KRIHY3IY.js → compositions-3EZ3GBK2.js} +14 -12
  121. package/dist/{contactSheet-RYAE7Y5D.js → contactSheet-WG4HT5XP.js} +2 -2
  122. package/dist/{delete-T5TO4SV6.js → delete-2UBY2JTM.js} +10 -9
  123. package/dist/{deploy-AO6LQR5G.js → deploy-QTS2OM2H.js} +1 -1
  124. package/dist/{dist-6IMEDVMC.js → dist-73YTUT3W.js} +1 -1
  125. package/dist/{dist-23AAB5X2.js → dist-XF53LCKD.js} +4 -2
  126. package/dist/{doctor-QBUJQ655.js → doctor-FIXMXWE6.js} +21 -15
  127. package/dist/{events-J7CESLKQ.js → events-7WYSDXTE.js} +4 -4
  128. package/dist/{events-SIZO7YHI.js → events-NTZSSMBR.js} +5 -5
  129. package/dist/{feedback-74WOJ5PN.js → feedback-7SOB5GZC.js} +12 -12
  130. package/dist/{ffmpeg-AKUP6U2S.js → ffmpeg-PYY5FSIX.js} +10 -8
  131. package/dist/{figma-GGMYRR4Q.js → figma-DTWA3G22.js} +3 -3
  132. package/dist/fontLocalizeCli.js +11 -9
  133. package/dist/{get-PLKAI6JM.js → get-DMGUJPLP.js} +10 -9
  134. package/dist/{gpuPolicy-EYDAAPJF.js → gpuPolicy-KVYO4OU4.js} +8 -6
  135. package/dist/{grade-compare-UADJP4AV.js → grade-compare-NCYPJFLI.js} +39 -37
  136. package/dist/{heifImagePrep-KDF3OPOK.js → heifImagePrep-F7LFUYGC.js} +9 -7
  137. package/dist/{help-WSQQ555Q.js → help-I4RRBHCW.js} +2 -2
  138. package/dist/{history-VSQ2DQ3V.js → history-GVBBXZKQ.js} +11 -10
  139. package/dist/hyperframe.manifest.json +1 -1
  140. package/dist/hyperframe.runtime.iife.js +64 -64
  141. package/dist/hyperframes-player.global.js +1 -1
  142. package/dist/{info-MOQ4LRC3.js → info-UE2PY5AF.js} +9 -9
  143. package/dist/{init-EONQSZJG.js → init-4UGFGJQK.js} +39 -34
  144. package/dist/{inspect-OLCVLHOU.js → inspect-ZRREAUCB.js} +37 -35
  145. package/dist/{installer-GHISA75B.js → installer-ABXPRFIJ.js} +6 -5
  146. package/dist/{keyframes-DGQYCY24.js → keyframes-MFR4TYVR.js} +8 -8
  147. package/dist/{lambda-AMMWF2YH.js → lambda-E3Z6JCIB.js} +13 -11
  148. package/dist/{layout-R6CAPGRO.js → layout-IO7T5SSU.js} +37 -35
  149. package/dist/{lint-QZJEYPHD.js → lint-WYPQK5XA.js} +9 -9
  150. package/dist/{lintProject-W3YVHAGP.js → lintProject-KCN7MRBN.js} +1 -1
  151. package/dist/{list-KCJID4SP.js → list-7F2LXWOZ.js} +10 -9
  152. package/dist/{login-7HKBEPJS.js → login-TTMYCXN2.js} +7 -7
  153. package/dist/{logout-3IID4KXD.js → logout-QRSB4CNH.js} +3 -3
  154. package/dist/{manager-Z7W4GQGF.js → manager-LQXZTUTJ.js} +3 -3
  155. package/dist/{manager-6YSKJMVD.js → manager-OQ5J26ST.js} +11 -9
  156. package/dist/{media-treatment-E3DL6LEZ.js → media-treatment-ELB6WRA5.js} +17 -15
  157. package/dist/{models-URWI7YEG.js → models-D2FNIGNZ.js} +15 -13
  158. package/dist/{motionShot-27IXMDJK.js → motionShot-53VDDRIC.js} +22 -21
  159. package/dist/{normalize-audio-WGRLPR3P.js → normalize-audio-QHNCFWR2.js} +12 -9
  160. package/dist/{open-LQ35PLEN.js → open-3KMTT3AV.js} +18 -17
  161. package/dist/{parakeetRunner-XASVIDTI.js → parakeetRunner-T65S6FW3.js} +20 -17
  162. package/dist/{pipeline-GA7QVCHS.js → pipeline-DUVRZGIM.js} +15 -10
  163. package/dist/{play-RYZP77CI.js → play-27R6RBSK.js} +27 -24
  164. package/dist/{policies-PKLD4UW5.js → policies-NWIEUGGW.js} +1 -1
  165. package/dist/{preflight-HJFSJXXF.js → preflight-QB6NKBBL.js} +12 -10
  166. package/dist/{present-YBMLOWZV.js → present-RHV3FKI5.js} +21 -18
  167. package/dist/{preview-QIRKJCRV.js → preview-IAKIXYLN.js} +29 -27
  168. package/dist/{producer-524FDOLX.js → producer-F6PHB4M4.js} +1 -1
  169. package/dist/{projectConfig-IDQN5ZRW.js → projectConfig-MPHWYY5D.js} +10 -9
  170. package/dist/{publication-3X3IGSDO.js → publication-CBAEINEG.js} +4 -3
  171. package/dist/{publish-2BF7K6HX.js → publish-4A2A6V7Z.js} +20 -17
  172. package/dist/{refresh-3IRHJEQA.js → refresh-F7FUCXLX.js} +3 -3
  173. package/dist/{remove-background-EZBCEFT6.js → remove-background-3I7RZGVG.js} +15 -11
  174. package/dist/{render-TEEBI2UT.js → render-2HYATL32.js} +56 -57
  175. package/dist/{render-EFUA2A6A.js → render-BGPUHBFC.js} +6 -5
  176. package/dist/{render-JFMTAXHD.js → render-BSKLHCZ4.js} +67 -47
  177. package/dist/{render-batch-XTYNXVSW.js → render-batch-JD6C3BDD.js} +7 -6
  178. package/dist/renderSetupWorker.js +5 -5
  179. package/dist/{resolver-FZS6TN6B.js → resolver-SQYR7LII.js} +6 -5
  180. package/dist/{screenshotCapture-HOW4VSV6.js → screenshotCapture-HDRHY4NN.js} +2 -2
  181. package/dist/{sherpa-TQIAIKTH.js → sherpa-VXD3DAH4.js} +19 -16
  182. package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +2 -2
  183. package/dist/{skills-S6ZG5KKH.js → skills-B2SHEHWL.js} +7 -7
  184. package/dist/{skillsUpdateCheck-XC7JQL3F.js → skillsUpdateCheck-ST43UUPK.js} +5 -5
  185. package/dist/{snapshot-ERYZIM32.js → snapshot-USJYNKDM.js} +118 -75
  186. package/dist/{src-OL6RHPE4.js → src-5OX35WPG.js} +10 -8
  187. package/dist/{src-6XOMREMS.js → src-PX3VIS7K.js} +30 -9
  188. package/dist/{staticProjectServer-JYDDGPAH.js → staticProjectServer-ET7H5LMV.js} +22 -19
  189. package/dist/{status-DTP6ZYDU.js → status-QVDRHXW2.js} +3 -3
  190. package/dist/studio/assets/{hyperframes-player-5dRdMVOq.js → hyperframes-player-DUpxahTX.js} +1 -1
  191. package/dist/studio/assets/{index-ZqyQ91pm.js → index-B4dcZZAm.js} +1 -1
  192. package/dist/studio/assets/{index-Bu3mJUU2.js → index-CtrcjpbM.js} +5 -5
  193. package/dist/studio/assets/{index-CYbvOVp-.css → index-RUPGNyct.css} +1 -1
  194. package/dist/studio/index.html +2 -2
  195. package/dist/{studio-api-GRU4SHKD.js → studio-api-PLKYSG2X.js} +13 -10
  196. package/dist/{studioServer-OYPBEI5B.js → studioServer-CNUXGRFS.js} +65 -63
  197. package/dist/{synthesize-QZHRXGRY.js → synthesize-RVE7IUOJ.js} +3 -2
  198. package/dist/{telemetry-CPYINR63.js → telemetry-DGDEJLGL.js} +5 -5
  199. package/dist/{telemetry-6BPSGY5W.js → telemetry-EJS5PXH2.js} +2 -2
  200. package/dist/{timeline-RGK5BMPD.js → timeline-VCQC4TLM.js} +23 -20
  201. package/dist/{tokens-EX4BOWRW.js → tokens-AEOBCDW5.js} +2 -2
  202. package/dist/{transcribe-RI52JMVW.js → transcribe-COFCB3ZB.js} +25 -22
  203. package/dist/{transcribe-MK367I6A.js → transcribe-X6O5ZSGQ.js} +15 -12
  204. package/dist/{tts-AY4JO5NQ.js → tts-AGMCPQXE.js} +1 -1
  205. package/dist/{updateCheck-BIEJKQI4.js → updateCheck-BW7MDUXZ.js} +4 -4
  206. package/dist/{upgrade-ES3UUI7O.js → upgrade-QXOGA54H.js} +4 -4
  207. package/dist/{urlDownloader-XAGYSTAG.js → urlDownloader-QB3TBIQ5.js} +7 -5
  208. package/dist/{validate-A6GZHNEI.js → validate-AU2BZ7D7.js} +29 -27
  209. package/dist/{video-OEMGR3MN.js → video-GNNYAL5T.js} +9 -7
  210. package/dist/warmCheck.js +46 -44
  211. package/package.json +1 -1
  212. package/dist/chunk-BQMAPNDA.js +0 -4830
  213. package/dist/chunk-DKPNNYBZ.js +0 -44
@@ -8,12 +8,12 @@ import {
8
8
  Semaphore,
9
9
  prepareHeifImageInputs,
10
10
  withMediaProbeSlot
11
- } from "./chunk-XOFBXLMG.js";
11
+ } from "./chunk-JLBJRJO6.js";
12
12
  import {
13
13
  EncoderInterruptedError,
14
14
  encoderFailureError,
15
15
  prepareAnimatedGifInputs
16
- } from "./chunk-5HB4JM7H.js";
16
+ } from "./chunk-XIUHHEBS.js";
17
17
  import {
18
18
  GENERIC_FAMILIES,
19
19
  collectFontFamilyCustomProperties,
@@ -41,6 +41,7 @@ import {
41
41
  MIXED_AUDIO_FILENAME,
42
42
  ManagedChildProcess,
43
43
  NotMediaPayloadError,
44
+ PRORES_PROFILE_NAMES,
44
45
  VIDEO_FRAME_FORMATS,
45
46
  aacSegmentCount,
46
47
  analyzeCompositionHdr,
@@ -71,7 +72,6 @@ import {
71
72
  cloneCaptureWarning,
72
73
  cloneCaptureWarnings,
73
74
  closeCaptureSession,
74
- collectScratchLeftovers,
75
75
  completeDeferredDrawElementInit,
76
76
  compositionRequiresWebGpu,
77
77
  computeWorkerSizing,
@@ -121,6 +121,7 @@ import {
121
121
  isHttpUrl,
122
122
  isMemoryExhaustionError,
123
123
  isNotMediaPayload,
124
+ isProresProfile,
124
125
  isSelfOrAncestorHidden,
125
126
  isTransientBrowserError,
126
127
  isVideoFrameFormat,
@@ -147,8 +148,6 @@ import {
147
148
  readWebGlVendorInfoFromCanvas,
148
149
  recaptureDrawElementFrameForVerify,
149
150
  removeDomLayerMask,
150
- removeScratch,
151
- renameWithRetry,
152
151
  resampleRgb48leObjectFit,
153
152
  resolveBrowserGpuMode,
154
153
  resolveConfig,
@@ -171,7 +170,7 @@ import {
171
170
  verifyDiskDrawElementSamples,
172
171
  videoAudioId,
173
172
  writeCapturedFrame
174
- } from "./chunk-MPO25DQW.js";
173
+ } from "./chunk-I3PNZDKR.js";
175
174
  import {
176
175
  assignBundledRuntimeCompositionIds,
177
176
  emitMountedModuleScripts,
@@ -183,7 +182,12 @@ import {
183
182
  parsesAsScript,
184
183
  prepareFlattenedInnerRoot,
185
184
  stripSdrPngColourTags
186
- } from "./chunk-GHSO62LK.js";
185
+ } from "./chunk-GNESG4XA.js";
186
+ import {
187
+ collectScratchLeftovers,
188
+ removeScratch,
189
+ renameWithRetry
190
+ } from "./chunk-XCIHCPJK.js";
187
191
  import {
188
192
  DISTRIBUTED_FPS,
189
193
  HF_VFX_ATTR,
@@ -199,18 +203,18 @@ import {
199
203
  parseVfxChain,
200
204
  resolveAuthoredTimingWindow,
201
205
  toFps
202
- } from "./chunk-QWBVPWUI.js";
206
+ } from "./chunk-5ZJGEQGS.js";
203
207
  import {
204
208
  COMPOSITION_SOURCE_URL,
205
209
  HF_COLOR_GRADING_ATTR,
206
210
  MAX_AUDIO_GAIN,
207
211
  MEDIA_RENDER_ID_ATTR,
208
212
  assignMediaRenderIds,
209
- buildVariablesByCompScript,
210
213
  clampDurations,
211
214
  compileTimingAttrs,
212
215
  dedupeFontFaceRules,
213
216
  deferScriptsUntilFonts,
217
+ emitVariablesByCompScript,
214
218
  extractResolvedMedia,
215
219
  headStyleRuns,
216
220
  injectDurations,
@@ -234,7 +238,7 @@ import {
234
238
  sourceTimeAt,
235
239
  styleElementsFor,
236
240
  timeAtSourceTime
237
- } from "./chunk-BQMAPNDA.js";
241
+ } from "./chunk-QRC7IVBC.js";
238
242
  import {
239
243
  TRANSITIONS,
240
244
  convertTransfer,
@@ -250,7 +254,7 @@ import {
250
254
  import {
251
255
  lintHyperframeHtml,
252
256
  resolveReferencedStart
253
- } from "./chunk-FC4WT5FX.js";
257
+ } from "./chunk-P327BIJR.js";
254
258
  import {
255
259
  isUnresolvedAssetPlaceholder,
256
260
  readProjectFile,
@@ -1022,7 +1026,7 @@ function createFileServer(options) {
1022
1026
  if (!streamOwnsFd) closeSync(fd);
1023
1027
  }
1024
1028
  });
1025
- return new Promise((resolve11) => {
1029
+ return new Promise((resolve11, reject) => {
1026
1030
  const connections = /* @__PURE__ */ new Set();
1027
1031
  const server = serve({ fetch: app.fetch, port, hostname: "127.0.0.1" }, (info) => {
1028
1032
  resolve11({
@@ -1042,6 +1046,7 @@ function createFileServer(options) {
1042
1046
  connections.add(socket);
1043
1047
  socket.on("close", () => connections.delete(socket));
1044
1048
  });
1049
+ server.on("error", reject);
1045
1050
  });
1046
1051
  }
1047
1052
 
@@ -1092,8 +1097,20 @@ function resolveHlsEncoderGopLock(outputFormat, fps, segmentSeconds) {
1092
1097
  }
1093
1098
 
1094
1099
  // ../producer/src/services/render/deliveryEncoder.ts
1100
+ function validateProresProfile(format, proresProfile) {
1101
+ if (proresProfile === void 0) return;
1102
+ if (!isProresProfile(proresProfile)) {
1103
+ throw new Error(
1104
+ `proresProfile must be one of ${PRORES_PROFILE_NAMES.join(", ")}; got ${JSON.stringify(proresProfile)}`
1105
+ );
1106
+ }
1107
+ if (format !== void 0 && format !== "mov") {
1108
+ throw new Error(`proresProfile applies to mov renders, not ${format}`);
1109
+ }
1110
+ }
1095
1111
  function validateDeliveryEncoderConfig(config) {
1096
- const { keyframeIntervalSeconds, maxBitrate, bufferSize, format } = config;
1112
+ const { keyframeIntervalSeconds, maxBitrate, bufferSize, format, proresProfile } = config;
1113
+ validateProresProfile(format, proresProfile);
1097
1114
  if (keyframeIntervalSeconds === void 0 && maxBitrate === void 0 && bufferSize === void 0)
1098
1115
  return;
1099
1116
  if (keyframeIntervalSeconds !== void 0) {
@@ -3387,14 +3404,15 @@ async function extractHdrVideoFrames(args) {
3387
3404
  }
3388
3405
  first.release();
3389
3406
  if (video.loop) (await windows.lease(totalFrames - 1))?.release();
3407
+ const held = holdFirstFrameUntilStreamStarts(windows, firstTick);
3390
3408
  out.set(videoId, {
3391
3409
  dir: frameDir,
3392
- windows,
3410
+ windows: held,
3393
3411
  width: dims.width,
3394
3412
  height: dims.height,
3395
3413
  frameSize,
3396
3414
  get frameCount() {
3397
- return windows.totalFrames;
3415
+ return held.totalFrames;
3398
3416
  },
3399
3417
  scratch: Buffer.allocUnsafe(frameSize),
3400
3418
  loop: video.loop,
@@ -3423,9 +3441,18 @@ function hdrWindowFfmpegArgs(a) {
3423
3441
  if (trim > 0) filters.push(`trim=start_frame=${trim}`);
3424
3442
  return [
3425
3443
  ...["-ss", (a.mediaStart + seekFrame / a.fps).toFixed(6), "-i", a.srcPath],
3426
- ...["-vf", filters.join(","), "-frames:v", String(a.frames)]
3444
+ ...["-vf", filters.join(","), "-frames:v", String(a.frames), "-fps_mode", "passthrough"]
3427
3445
  ];
3428
3446
  }
3447
+ function holdFirstFrameUntilStreamStarts(windows, firstTick) {
3448
+ return {
3449
+ get totalFrames() {
3450
+ return firstTick + windows.totalFrames;
3451
+ },
3452
+ lease: (frameIndex) => windows.lease(Math.max(0, frameIndex - firstTick)),
3453
+ close: () => windows.close()
3454
+ };
3455
+ }
3429
3456
  function decodeHdrImageBuffers(args) {
3430
3457
  const { log, hdrImageSrcPaths, prep, hdrDiagnostics } = args;
3431
3458
  const out = /* @__PURE__ */ new Map();
@@ -4963,6 +4990,12 @@ function logHdrResolution(input, hdrMode, effectiveHdr, forcedHdrWithoutSources)
4963
4990
  `[Render] HDR ${reason}, output: ${effectiveHdr.transfer.toUpperCase()} (BT.2020, 10-bit H.265)`
4964
4991
  );
4965
4992
  }
4993
+ function formatCarriesHdr(format) {
4994
+ return format === "mp4";
4995
+ }
4996
+ function rendersSdrOnly(config) {
4997
+ return config.hdrMode === "force-sdr" || !formatCarriesHdr(config.format ?? "mp4");
4998
+ }
4966
4999
  function resolveEffectiveHdrMode(input) {
4967
5000
  const hdrMode = input.hdrMode ?? "auto";
4968
5001
  const videoColorSpaces = (input.extractionResult?.extracted ?? []).map(
@@ -4984,7 +5017,7 @@ function resolveEffectiveHdrMode(input) {
4984
5017
  } else if (info?.hasHdr && info.dominantTransfer) {
4985
5018
  effectiveHdr = { transfer: info.dominantTransfer };
4986
5019
  }
4987
- if (effectiveHdr && input.outputFormat !== "mp4") {
5020
+ if (effectiveHdr && !formatCarriesHdr(input.outputFormat)) {
4988
5021
  input.log.warn(formatDowngradeWarning(input.outputFormat, forcedHdrWithoutSources));
4989
5022
  effectiveHdr = void 0;
4990
5023
  }
@@ -6609,9 +6642,9 @@ function inlineSubCompositions2(html, subCompositions, projectDir, variableOverr
6609
6642
  }
6610
6643
  }
6611
6644
  }
6612
- const variablesByCompScript = buildVariablesByCompScript(result.variablesByComp);
6645
+ emitVariablesByCompScript(document2, result.variablesByComp);
6613
6646
  if (body) {
6614
- let pending = variablesByCompScript ? [variablesByCompScript] : [];
6647
+ let pending = [];
6615
6648
  const flushInline = () => {
6616
6649
  if (!pending.length) return;
6617
6650
  const joined = pending.join("\n;\n");
@@ -8796,7 +8829,7 @@ async function runExtractVideosStage(input) {
8796
8829
  fps: job.config.fps,
8797
8830
  outputDir: join16(compiledDir, "__hyperframes_video_frames"),
8798
8831
  format: job.config.videoFrameFormat ?? "auto",
8799
- toneMapHdrToSdr: job.config.hdrMode === "force-sdr",
8832
+ toneMapHdrToSdr: rendersSdrOnly(job.config),
8800
8833
  timelineEnd: composition.duration,
8801
8834
  maxTransientRetries: extractionPolicy.maxTransientRetries,
8802
8835
  collectProbeFailures: extractionPolicy.failureMode === "enforce",
@@ -13301,7 +13334,12 @@ async function executeRenderPipeline(input) {
13301
13334
  });
13302
13335
  const encoderHdr = hasHdrContent ? effectiveHdr : void 0;
13303
13336
  const presetFormat = outputFormat === "webm" || outputFormat === "mov" ? outputFormat : "mp4";
13304
- const preset = getEncoderPreset(job.config.quality, presetFormat, encoderHdr);
13337
+ const preset = getEncoderPreset(
13338
+ job.config.quality,
13339
+ presetFormat,
13340
+ encoderHdr,
13341
+ job.config.proresProfile
13342
+ );
13305
13343
  if (job.config.crf != null && job.config.videoBitrate) {
13306
13344
  log.warn(
13307
13345
  `[Render] Both crf=${job.config.crf} and videoBitrate=${job.config.videoBitrate} were set. These are mutually exclusive; honoring crf and ignoring videoBitrate. Set only one to silence this warning.`
@@ -16081,6 +16119,8 @@ function buildLockedRenderConfig(input) {
16081
16119
  closedGop: true,
16082
16120
  forceKeyframes: "n=0",
16083
16121
  pixelFormat,
16122
+ // Omitted for the default so existing 4444 plans keep their planHash.
16123
+ ...config.proresProfile && config.proresProfile !== "4444" ? { proresProfile: config.proresProfile } : {},
16084
16124
  chunkSize: input.effectiveChunkSize,
16085
16125
  chunkCount: input.chunkCount,
16086
16126
  runtimeEnv: input.runtimeEnv,
@@ -16102,7 +16142,11 @@ function resolveEncoderTriple(config) {
16102
16142
  `[plan] DistributedRenderConfig.codec is only valid for format="mp4"; received codec=${JSON.stringify(config.codec)} with format=${JSON.stringify(config.format)}. Omit codec for non-mp4 formats: mov is always ProRes 4444, webm is always libvpx-vp9, and png-sequence has no encoder.`
16103
16143
  );
16104
16144
  }
16105
- return resolveNonMp4EncoderTriple(config.format, config.quality ?? "standard");
16145
+ return resolveNonMp4EncoderTriple(
16146
+ config.format,
16147
+ config.quality ?? "standard",
16148
+ config.proresProfile
16149
+ );
16106
16150
  }
16107
16151
  function resolveMp4EncoderTriple(codec) {
16108
16152
  const c = codec ?? "h264";
@@ -16116,9 +16160,10 @@ function resolveMp4EncoderTriple(codec) {
16116
16160
  }
16117
16161
  return { encoder: "libx264-software", pixelFormat: "yuv420p", preset: "medium" };
16118
16162
  }
16119
- function resolveNonMp4EncoderTriple(format, quality) {
16163
+ function resolveNonMp4EncoderTriple(format, quality, proresProfile) {
16120
16164
  if (format === "mov") {
16121
- return { encoder: "prores-software", pixelFormat: "yuva444p10le", preset: "4444" };
16165
+ const { pixelFormat, preset } = getEncoderPreset(quality, "mov", void 0, proresProfile);
16166
+ return { encoder: "prores-software", pixelFormat, preset };
16122
16167
  }
16123
16168
  if (format === "webm") {
16124
16169
  const enginePreset = getEncoderPreset(quality, "webm");
@@ -16323,7 +16368,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
16323
16368
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
16324
16369
  if (probeResult.probeSession) {
16325
16370
  try {
16326
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-6XOMREMS.js");
16371
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-PX3VIS7K.js");
16327
16372
  await closeCaptureSession2(probeResult.probeSession);
16328
16373
  } catch (err) {
16329
16374
  log.warn("[plan] probe session close failed", {
@@ -16773,6 +16818,18 @@ function validateDistributedRenderConfig(config) {
16773
16818
  error instanceof Error ? error.message : String(error)
16774
16819
  );
16775
16820
  }
16821
+ try {
16822
+ validateDeliveryEncoderConfig({
16823
+ format: config.format,
16824
+ fps: { num: config.fps, den: 1 },
16825
+ proresProfile: config.proresProfile
16826
+ });
16827
+ } catch (error) {
16828
+ throw new InvalidConfigError(
16829
+ "config.proresProfile",
16830
+ error instanceof Error ? error.message : String(error)
16831
+ );
16832
+ }
16776
16833
  if (config.chunkSize !== void 0) {
16777
16834
  if (!Number.isInteger(config.chunkSize) || config.chunkSize < 1) {
16778
16835
  throw new InvalidConfigError(
@@ -17012,6 +17069,7 @@ function assertRequestOptionScalars(options) {
17012
17069
  for (const field of ["entryFile", "videoBitrate", "maxBitrate", "bufferSize"]) {
17013
17070
  assertOptionalString(options, field);
17014
17071
  }
17072
+ assertOptionalEnum(options, "proresProfile", PRORES_PROFILE_NAMES);
17015
17073
  assertOptionalEnum(options, "strictness", ["strict", "best-effort"]);
17016
17074
  assertOptionalEnum(options, "hdrMode", ["auto", "force-hdr", "force-sdr"]);
17017
17075
  assertOptionalEnum(options, "pageMotionBlur", ["off"]);
@@ -17113,6 +17171,7 @@ function distributedConfigFromRequest(request, runtime = {}) {
17113
17171
  pageMotionBlur: options.pageMotionBlur,
17114
17172
  bitrate: options.videoBitrate,
17115
17173
  keyframeIntervalSeconds: options.keyframeIntervalSeconds,
17174
+ proresProfile: options.proresProfile,
17116
17175
  maxBitrate: options.maxBitrate,
17117
17176
  bufferSize: options.bufferSize,
17118
17177
  videoFrameFormat: options.videoFrameFormat,
@@ -17163,6 +17222,7 @@ function renderRequestFromDistributedConfig(input) {
17163
17222
  ...optionalProperty("pageMotionBlur", config.pageMotionBlur),
17164
17223
  ...optionalProperty("videoBitrate", config.bitrate),
17165
17224
  ...optionalProperty("keyframeIntervalSeconds", config.keyframeIntervalSeconds),
17225
+ ...optionalProperty("proresProfile", config.proresProfile),
17166
17226
  ...optionalProperty("maxBitrate", config.maxBitrate),
17167
17227
  ...optionalProperty("bufferSize", config.bufferSize),
17168
17228
  ...optionalProperty("videoFrameFormat", config.videoFrameFormat),
@@ -18040,7 +18100,7 @@ function startServer(options = {}) {
18040
18100
  });
18041
18101
  async function shutdown(signal) {
18042
18102
  log.info(`Received ${signal}, shutting down`);
18043
- const { drainBrowserPool } = await import("./src-6XOMREMS.js");
18103
+ const { drainBrowserPool } = await import("./src-PX3VIS7K.js");
18044
18104
  await drainBrowserPool().catch(() => {
18045
18105
  });
18046
18106
  const handle = await Promise.race([
@@ -19710,7 +19770,12 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19710
19770
  const isPngSequence = plan2.dimensions.format === "png-sequence";
19711
19771
  outputKind = isPngSequence ? "frame-dir" : "file";
19712
19772
  const presetFormat = isPngSequence ? "mp4" : plan2.dimensions.format;
19713
- const basePreset = getEncoderPreset(job.config.quality, presetFormat, void 0);
19773
+ const basePreset = getEncoderPreset(
19774
+ job.config.quality,
19775
+ presetFormat,
19776
+ void 0,
19777
+ encoder.proresProfile
19778
+ );
19714
19779
  const preset = resolvePresetForLockedEncoder(basePreset, encoder.encoder);
19715
19780
  const effectiveQuality = encoder.crf ?? preset.quality;
19716
19781
  const effectiveBitrate = encoder.crf != null ? void 0 : encoder.bitrate;
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  quantizePreviewProxyBox
9
- } from "./chunk-QWBVPWUI.js";
9
+ } from "./chunk-5ZJGEQGS.js";
10
10
  import {
11
11
  parseHTML
12
12
  } from "./chunk-GWTIFRF5.js";
@@ -0,0 +1,16 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+
8
+ // ../parsers/dist/mediaStreams.js
9
+ function decodableAudioStream(streams) {
10
+ const index = streams.filter((stream) => stream.codec_type === "audio").findIndex((stream) => stream.codec_name !== void 0);
11
+ return index < 0 ? null : index;
12
+ }
13
+
14
+ export {
15
+ decodableAudioStream
16
+ };
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-WQ6ZXHFQ.js";
10
10
  import {
11
11
  findFFmpeg
12
- } from "./chunk-EGOXYG3M.js";
12
+ } from "./chunk-EYGWMHXV.js";
13
13
  import {
14
14
  stoppableExecFile
15
15
  } from "./chunk-HU2SPFNG.js";
@@ -14,28 +14,28 @@ import {
14
14
  } from "./chunk-VQB7G5BM.js";
15
15
  import {
16
16
  readCompositionFps
17
- } from "./chunk-QP2MJYTJ.js";
17
+ } from "./chunk-W4E3ZOWH.js";
18
18
  import {
19
19
  HF_AUDIO_GROUP_ATTR,
20
20
  extractAudioMetadata,
21
21
  extractMediaMetadata
22
- } from "./chunk-MPO25DQW.js";
22
+ } from "./chunk-I3PNZDKR.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
26
26
  parseFpsWithDefault
27
- } from "./chunk-QWBVPWUI.js";
27
+ } from "./chunk-5ZJGEQGS.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-BQMAPNDA.js";
34
+ } from "./chunk-QRC7IVBC.js";
35
35
  import {
36
36
  resolveReferencedDuration,
37
37
  resolveReferencedStart
38
- } from "./chunk-FC4WT5FX.js";
38
+ } from "./chunk-P327BIJR.js";
39
39
  import {
40
40
  resolveAuthoredAssetFile
41
41
  } from "./chunk-PBNWRWKA.js";
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-MPO25DQW.js";
9
+ } from "./chunk-I3PNZDKR.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
13
13
  processParentPid
14
- } from "./chunk-D2CE2J2A.js";
14
+ } from "./chunk-PV4XID2A.js";
15
15
  import {
16
16
  processIsAlive
17
17
  } from "./chunk-KGPLIH7B.js";
@@ -6,8 +6,16 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/utils/errorMessage.ts
9
+ var pageCrashed = false;
10
+ function notePageCrash() {
11
+ pageCrashed = true;
12
+ }
13
+ var CLOSED_AFTER_CRASH = /Target closed|detached Frame|Session closed/;
14
+ function namedAfterCrash(message) {
15
+ return pageCrashed && CLOSED_AFTER_CRASH.test(message) ? `The browser page crashed, most likely out of memory: ${message}` : message;
16
+ }
9
17
  function normalizeErrorMessage(error) {
10
- if (error instanceof Error) return error.message;
18
+ if (error instanceof Error) return namedAfterCrash(error.message);
11
19
  if (typeof error === "string") return error;
12
20
  if (typeof error === "object" && error !== null) {
13
21
  const msg = error.message;
@@ -36,6 +44,7 @@ async function atStep(step, run) {
36
44
  }
37
45
 
38
46
  export {
47
+ notePageCrash,
39
48
  normalizeErrorMessage,
40
49
  atStep
41
50
  };
@@ -7,23 +7,23 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-EYEEZXLI.js";
10
+ } from "./chunk-MA447PNF.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-IIJVSCSH.js";
15
+ } from "./chunk-QRWTVCGH.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-P7WGVXR7.js";
18
+ } from "./chunk-35HSGF46.js";
19
19
  import {
20
20
  STUDIO_PREVIEW_CAPTURE_MODE,
21
21
  STUDIO_PREVIEW_MARK_META
22
- } from "./chunk-G2A6RC5R.js";
22
+ } from "./chunk-HD4KXG5U.js";
23
23
  import {
24
24
  artifactDirectory,
25
25
  finishSnapshotRun
26
- } from "./chunk-3O2E4Q66.js";
26
+ } from "./chunk-J7A73K2B.js";
27
27
  import {
28
28
  FfmpegUnavailableError,
29
29
  decideMediaProxyEligibility,
@@ -31,7 +31,7 @@ import {
31
31
  proxyVariantFor,
32
32
  resolveProxies,
33
33
  scanProjectMediaCodecMap
34
- } from "./chunk-PKVA6MPV.js";
34
+ } from "./chunk-FHIBBIEZ.js";
35
35
  import {
36
36
  AUDIT_SEEK_OPTIONS,
37
37
  DEFAULT_ZOOM_PADDING_PX,
@@ -45,24 +45,24 @@ import {
45
45
  seekCompositionTimeline,
46
46
  seekInPage,
47
47
  waitForPreferredSeekTarget
48
- } from "./chunk-7PAK7LZ5.js";
49
- import {
50
- BrowserCleanupError,
51
- closeManagedBrowser,
52
- onStopSignal
53
- } from "./chunk-X6MCIK7L.js";
48
+ } from "./chunk-WOFTAZSZ.js";
54
49
  import {
55
50
  findStageProxyBox
56
- } from "./chunk-ULL3U6PV.js";
51
+ } from "./chunk-BYZPLQSX.js";
57
52
  import {
58
53
  resolveAutoProxy
59
- } from "./chunk-ORFRUZPB.js";
54
+ } from "./chunk-IMKBZEGT.js";
55
+ import {
56
+ BrowserCleanupError,
57
+ closeManagedBrowser,
58
+ onStopSignal
59
+ } from "./chunk-TGFDRZTM.js";
60
60
  import {
61
61
  injectTagsAtHeadStart
62
- } from "./chunk-BQMAPNDA.js";
62
+ } from "./chunk-QRC7IVBC.js";
63
63
  import {
64
64
  normalizeErrorMessage
65
- } from "./chunk-EU7MVORF.js";
65
+ } from "./chunk-E63BDV4Z.js";
66
66
 
67
67
  // src/utils/checkProgress.ts
68
68
  function logCheckProgress(stage, done, total) {
@@ -573,7 +573,7 @@ function proxyFailedDraft(message) {
573
573
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
574
574
  }
575
575
  async function loadCheckHtmlWithDeferredMedia(dir) {
576
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-WXVNPAWD.js");
576
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-F5VQMFHZ.js");
577
577
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
578
578
  }
579
579
  function withCapturePreviewMark(html) {
@@ -612,7 +612,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
612
612
  const session = await openSettledCompositionPage(html, server.url, {
613
613
  navigationTimeoutMs: options.timeout,
614
614
  renderReadyTimeoutMs: options.timeout,
615
- renderReadyWarningSuffix: "checking the current page state",
615
+ renderReadyWarningSuffix: "the scene may still be building, so results can miss late content; raise --timeout (for example 20s)",
616
616
  prelaunched,
617
617
  browserGpuMode: options.browserGpuMode ?? resolveCliChromeGpuMode(),
618
618
  signal: deadline?.signal,
@@ -635,7 +635,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
635
635
  ).map((draft) => runtimeFinding(draft, rootAnchor))
636
636
  }));
637
637
  const launchSettleMs = Date.now() - launchSettleStart;
638
- const { analyzeClipMediaFit } = await import("./src-6XOMREMS.js");
638
+ const { analyzeClipMediaFit } = await import("./src-PX3VIS7K.js");
639
639
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
640
640
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
641
641
  }
@@ -663,6 +663,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
663
663
  return {
664
664
  ...result,
665
665
  timings: { ...result.timings, launchSettleMs },
666
+ renderReadyTimedOut: session.renderReadyTimedOut,
666
667
  runtimeFindings: dropFailedProxyEchoes(
667
668
  dropMotionBlurConsoleEcho(keepBrokenImageAborts(merged, broken), blur),
668
669
  failedPaths
@@ -722,7 +723,7 @@ async function openHelperSession(html, url, options, deadline, owner) {
722
723
  const session = await openSettledCompositionPage(html, url, {
723
724
  navigationTimeoutMs: options.timeout,
724
725
  renderReadyTimeoutMs: options.timeout,
725
- renderReadyWarningSuffix: "checking the current page state",
726
+ renderReadyWarningSuffix: "the scene may still be building, so results can miss late content; raise --timeout (for example 20s)",
726
727
  browserGpuMode: options.browserGpuMode ?? resolveCliChromeGpuMode(),
727
728
  signal: owner.signal,
728
729
  onBrowser: owner.onBrowser,
@@ -771,7 +772,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
771
772
  async function captureFindingFrames(project, options, requests, deadline) {
772
773
  if (requests.length === 0) return { written: [], inspected: [] };
773
774
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
774
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-WXVNPAWD.js");
775
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-F5VQMFHZ.js");
775
776
  return withCapturePreviewMark(
776
777
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
777
778
  );
@@ -1092,17 +1093,19 @@ function createPageDriver(page, clock = createRuntimeClock(), sampleLog) {
1092
1093
  });
1093
1094
  }
1094
1095
  async function collectCraftFrame(page, time) {
1095
- const raw = await page.evaluate(() => {
1096
+ const raw = await page.evaluate((withCover) => {
1096
1097
  const sample = Reflect.get(window, "__hyperframesCraftSample");
1097
- return typeof sample === "function" ? Reflect.apply(sample, window, []) : null;
1098
- });
1098
+ return typeof sample === "function" ? Reflect.apply(sample, window, [{ withCover }]) : null;
1099
+ }, time <= 1e-3);
1099
1100
  const record = isRecord(raw) ? raw : {};
1100
1101
  const parts = Reflect.get(record, "parts");
1102
+ const coveredBy = stringValue(record, "coveredBy");
1101
1103
  return {
1102
1104
  time,
1103
1105
  parts: Array.isArray(parts) ? parts.flatMap(parseCraftTextPart) : [],
1104
1106
  held: booleanValue(record, "held") ?? false,
1105
1107
  painted: booleanValue(record, "painted") ?? true,
1108
+ ...coveredBy ? { coveredBy } : {},
1106
1109
  signature: stringValue(record, "signature") ?? ""
1107
1110
  };
1108
1111
  }
@@ -1938,6 +1941,7 @@ var LAYOUT_ISSUE_CODES = [
1938
1941
  "content_overlap",
1939
1942
  "visibility_escapes_segment",
1940
1943
  "text_occluded",
1944
+ "canvas_covered",
1941
1945
  "video_alpha_unread",
1942
1946
  "text_not_painted",
1943
1947
  "caption_zone_collision",
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  formatVariableValidationIssue,
26
26
  validateVariables
27
- } from "./chunk-QWBVPWUI.js";
27
+ } from "./chunk-5ZJGEQGS.js";
28
28
  import {
29
29
  extractCompositionMetadata
30
30
  } from "./chunk-NHA4NRBE.js";
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
1278
1278
  } catch (err) {
1279
1279
  if (err instanceof Error) {
1280
1280
  try {
1281
- const { trackCommandFailure } = await import("./events-SIZO7YHI.js");
1281
+ const { trackCommandFailure } = await import("./events-NTZSSMBR.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  detectGpuEncoder
9
- } from "./chunk-MPO25DQW.js";
9
+ } from "./chunk-I3PNZDKR.js";
10
10
  import {
11
11
  runCancellableProcess
12
- } from "./chunk-Q43YUROE.js";
12
+ } from "./chunk-X6JUUQCM.js";
13
13
  import {
14
14
  findFfBinary
15
15
  } from "./chunk-VAS6HQX3.js";
@@ -8,7 +8,7 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-PSOAGSNO.js";
11
+ } from "./chunk-X2T5EOI7.js";
12
12
  import {
13
13
  CliRuntimeError
14
14
  } from "./chunk-JVBRJMOP.js";
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-QSFWGZG6.js";
21
21
  import {
22
22
  readConfig
23
- } from "./chunk-NEASABW6.js";
23
+ } from "./chunk-P6EXMN5D.js";
24
24
 
25
25
  // src/utils/feedbackRating.ts
26
26
  var FEEDBACK_RATING_SCALE = 10;
@@ -554,6 +554,7 @@ function trackCheckReport(props) {
554
554
  contrast_warnings: props.contrastWarnings,
555
555
  craft_warnings: props.craftWarnings,
556
556
  launch_settle_ms: props.launchSettleMs,
557
+ render_ready_timed_out: props.renderReadyTimedOut,
557
558
  seek_loop_ms: props.seekLoopMs,
558
559
  contrast_ms: props.contrastMs,
559
560
  grid_ms: props.gridMs,