hyperframes 0.9.27 → 0.9.28

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 (186) hide show
  1. package/README.md +5 -2
  2. package/dist/{add-K5J5XWLL.js → add-XQCABYNY.js} +5 -5
  3. package/dist/{agentPromptGenerator-PGIEEJLJ.js → agentPromptGenerator-S2SYZY3A.js} +2 -2
  4. package/dist/{animatedGifPrep-MLZOHCTS.js → animatedGifPrep-SACSOT4A.js} +2 -2
  5. package/dist/api.js +19 -19
  6. package/dist/{asset-OS5AB3SQ.js → asset-JPI3LFG4.js} +2 -2
  7. package/dist/{assetCataloger-DMVL5X2P.js → assetCataloger-TJQ5OLMV.js} +3 -3
  8. package/dist/{audio-23FMLVOJ.js → audio-RG6NXOMI.js} +7 -7
  9. package/dist/{auth-2DIXO5OO.js → auth-7G2OCS7L.js} +2 -2
  10. package/dist/{autoUpdate-NP2CBKFP.js → autoUpdate-7RS75ENY.js} +2 -2
  11. package/dist/{avatars-LULUZMLI.js → avatars-KWPVXWXC.js} +6 -6
  12. package/dist/{backgroundChecks-3MXY6FNF.js → backgroundChecks-5HHWQH5H.js} +3 -3
  13. package/dist/backgroundChecksWorker.js +3 -3
  14. package/dist/{beats-U4Q76QWK.js → beats-XHKWF5KT.js} +4 -4
  15. package/dist/{benchmark-QANZ2IRX.js → benchmark-57RNYMON.js} +6 -6
  16. package/dist/{billing-PX54B6T7.js → billing-FXAMQKDS.js} +4 -4
  17. package/dist/{browser-P36XPIWA.js → browser-TV2VPWQJ.js} +3 -3
  18. package/dist/{bundleWithLocalizedFonts-QY6JAKLF.js → bundleWithLocalizedFonts-YGHFRVJW.js} +1 -1
  19. package/dist/{capture-ZZWXDUH2.js → capture-GPT5V4ND.js} +8 -8
  20. package/dist/{capture-S5DURUCT.js → capture-LHPSRQ4R.js} +3 -3
  21. package/dist/{captureCompositionFrame-VTN6VB5N.js → captureCompositionFrame-TLV2WC4Q.js} +5 -5
  22. package/dist/{catalog-TTBH4Y6Z.js → catalog-7A3MMFTN.js} +5 -5
  23. package/dist/{catch-up-M3CF57PU.js → catch-up-SEGXPPOX.js} +4 -4
  24. package/dist/{check-K7ZBDKBZ.js → check-OP5AR33W.js} +20 -20
  25. package/dist/{checkAudio-HZ3Z5BTZ.js → checkAudio-QDAUXX7W.js} +4 -4
  26. package/dist/{checkBrowser-TO5M2QL2.js → checkBrowser-OGE3A52R.js} +14 -14
  27. package/dist/{chunk-RSNZEWNW.js → chunk-257XUBNU.js} +1 -1
  28. package/dist/{chunk-6IMVGVA4.js → chunk-55ZEUSPW.js} +1 -1
  29. package/dist/{chunk-LI2TX7SN.js → chunk-5E6Y7CW3.js} +21 -3
  30. package/dist/{chunk-ZGIPMCML.js → chunk-5RUGBDAC.js} +1 -1
  31. package/dist/{chunk-GQTNVE7U.js → chunk-6UMISKCG.js} +4 -4
  32. package/dist/{chunk-6PHVIKCJ.js → chunk-6WCOY6MS.js} +4 -4
  33. package/dist/{chunk-NMOWXTCB.js → chunk-7FYGCIHK.js} +2 -2
  34. package/dist/{chunk-SODLRBNC.js → chunk-7M26J4R3.js} +1 -1
  35. package/dist/{chunk-INVBU7DY.js → chunk-A7HPQVS5.js} +1 -1
  36. package/dist/{chunk-5FWOWZAB.js → chunk-AA2DNXEJ.js} +7 -7
  37. package/dist/{chunk-QBNHYXV3.js → chunk-AVXIDAFJ.js} +2 -2
  38. package/dist/{chunk-PBDBD4BY.js → chunk-CINCDA5M.js} +2 -2
  39. package/dist/{chunk-5PL4LZYF.js → chunk-CSCK6RGC.js} +5 -5
  40. package/dist/{chunk-QTBRVJ6N.js → chunk-D5HNV6G6.js} +1 -1
  41. package/dist/{chunk-LLLNVEUF.js → chunk-DKSCZYFP.js} +1 -1
  42. package/dist/{chunk-BZFVS36G.js → chunk-E3UFWFZZ.js} +1 -1
  43. package/dist/{chunk-2WKG7HXZ.js → chunk-E53UDY74.js} +2 -2
  44. package/dist/{chunk-YU5QNJMA.js → chunk-E54N6IPY.js} +2 -2
  45. package/dist/{chunk-7JK2YE2G.js → chunk-EENM7GX3.js} +1 -1
  46. package/dist/{chunk-STQGPDO4.js → chunk-EOJ2PMOV.js} +2 -2
  47. package/dist/{chunk-ZDQNMNFE.js → chunk-FBLCK3YJ.js} +4 -4
  48. package/dist/{chunk-K6UG4VWT.js → chunk-G4D7EBDQ.js} +2 -2
  49. package/dist/{chunk-IIS57Z3R.js → chunk-GUHCMOE2.js} +1 -1
  50. package/dist/{chunk-YPRU66CC.js → chunk-IX22RYJO.js} +1 -1
  51. package/dist/{chunk-5WI3VKQW.js → chunk-JMPTLXJQ.js} +2 -2
  52. package/dist/{chunk-QYPS3UYP.js → chunk-K77GTFH3.js} +1 -1
  53. package/dist/{chunk-CGUAZCPL.js → chunk-L5KXLXFY.js} +8 -8
  54. package/dist/{chunk-KUBXGMHI.js → chunk-LAI7UTBM.js} +18 -18
  55. package/dist/{chunk-XDKEKXV4.js → chunk-LPB7T67S.js} +1 -1
  56. package/dist/{chunk-UXJAMAZK.js → chunk-LXAJQXHM.js} +1 -1
  57. package/dist/{chunk-UPG4MMIA.js → chunk-MMCMEW7K.js} +1 -1
  58. package/dist/{chunk-YNIADMNZ.js → chunk-MPKBIC4Z.js} +2 -2
  59. package/dist/{chunk-TKFKOWRI.js → chunk-NUUN7XB4.js} +2 -2
  60. package/dist/{chunk-2SX2EOPM.js → chunk-NXVDTRXA.js} +1 -1
  61. package/dist/{chunk-QISOTHEQ.js → chunk-O5P75JID.js} +1 -1
  62. package/dist/{chunk-CZ43ZZFS.js → chunk-P2A6MYSQ.js} +1 -1
  63. package/dist/{chunk-5TD7HBR3.js → chunk-P5USY2GC.js} +1 -1
  64. package/dist/{chunk-Q73OZV2V.js → chunk-PEJQV2RL.js} +9 -9
  65. package/dist/{chunk-6NVZYXDT.js → chunk-PF23WT5C.js} +5 -5
  66. package/dist/{chunk-7VHSPFBH.js → chunk-PL5C5FKM.js} +1 -1
  67. package/dist/{chunk-V7Q4XKRJ.js → chunk-QT766HQV.js} +35 -17
  68. package/dist/{chunk-FNSWA4FK.js → chunk-RFLV3WR5.js} +1 -1
  69. package/dist/{chunk-DC5ZRTHD.js → chunk-SDYZOTB7.js} +2 -2
  70. package/dist/{chunk-OT2KF34N.js → chunk-SJOA2RCP.js} +8 -8
  71. package/dist/{chunk-TM6HH2VV.js → chunk-SQRI67KR.js} +1 -1
  72. package/dist/{chunk-YSJKA52M.js → chunk-SWEC6N6N.js} +2 -2
  73. package/dist/{chunk-Z5THPTQ2.js → chunk-TTKJF3LI.js} +1 -1
  74. package/dist/{chunk-5ZEBQO7Y.js → chunk-UAEL2JEL.js} +2 -2
  75. package/dist/{chunk-5AULMCSV.js → chunk-UVF4HXPW.js} +2 -2
  76. package/dist/{chunk-63HHKYU2.js → chunk-UZGRZRD6.js} +1 -1
  77. package/dist/{chunk-WZTOPKVO.js → chunk-V4M7PKBM.js} +2 -2
  78. package/dist/{chunk-FKSUSFRT.js → chunk-VCMPKZFN.js} +9 -9
  79. package/dist/{chunk-M3UU4QRH.js → chunk-VOVC3QCN.js} +1 -1
  80. package/dist/{chunk-HGHBQDM5.js → chunk-W4EAYORI.js} +3 -3
  81. package/dist/{chunk-Y67RJDEB.js → chunk-W7TS3CZA.js} +1 -1
  82. package/dist/{chunk-TRXIWZTM.js → chunk-WMZDESYF.js} +1 -1
  83. package/dist/{chunk-F4ROYQPH.js → chunk-X2YNB244.js} +3 -3
  84. package/dist/{chunk-D5QT3ORV.js → chunk-XLERIR2V.js} +1 -1
  85. package/dist/{chunk-XZ2MQF7V.js → chunk-XPGH4KBU.js} +1 -1
  86. package/dist/{chunk-RVXE24LQ.js → chunk-YSAK7PJZ.js} +1 -1
  87. package/dist/{chunk-ZNTYIJ5K.js → chunk-YU2KLER7.js} +1 -1
  88. package/dist/{chunk-V6EVV3XC.js → chunk-Z677PTBA.js} +2 -2
  89. package/dist/{chunk-W5QBSRPF.js → chunk-ZWJ7PWTY.js} +2 -2
  90. package/dist/{clean-LCQH4HFU.js → clean-UGV3DTVQ.js} +7 -7
  91. package/dist/cli.js +59 -59
  92. package/dist/{cloud-34YHQNNB.js → cloud-SDC56AHY.js} +4 -4
  93. package/dist/{compare-5EBDE5ZT.js → compare-LG42JVYH.js} +10 -10
  94. package/dist/{component-7TIFLFYC.js → component-OPAFYBPO.js} +3 -3
  95. package/dist/{compositions-TLCEVGBC.js → compositions-JP655NT3.js} +6 -6
  96. package/dist/{curve-YABHYRHK.js → curve-RN7HDXOS.js} +6 -6
  97. package/dist/{cuts-UFRBSLDQ.js → cuts-ET7N7IBU.js} +7 -7
  98. package/dist/{delete-5OABQGPL.js → delete-5552CGT5.js} +2 -2
  99. package/dist/{deploy-2OYZWP74.js → deploy-NMFEPGRQ.js} +1 -1
  100. package/dist/{describeProject-TX2WQLQ5.js → describeProject-CWLV5OAT.js} +2 -2
  101. package/dist/{diff-2CKZ2QR7.js → diff-HZX2TISC.js} +19 -19
  102. package/dist/{doctor-Y436MAQR.js → doctor-IYEYULPD.js} +6 -6
  103. package/dist/{energy-UKLKTH7A.js → energy-YXEPVRKW.js} +7 -7
  104. package/dist/{events-MC5XLD2Z.js → events-GA24CH3D.js} +3 -3
  105. package/dist/{events-73W2IO3W.js → events-JAY5YNEU.js} +8 -8
  106. package/dist/{events-NKRFVAY3.js → events-KYCNM6C3.js} +2 -2
  107. package/dist/{extract-ZG3MHNYX.js → extract-TFEVGLLS.js} +7 -7
  108. package/dist/{face-CFBT42SW.js → face-NP7JGAE7.js} +7 -7
  109. package/dist/{feedback-QGDEE3RB.js → feedback-UPYWXKHN.js} +4 -4
  110. package/dist/{ffmpeg-UXHRG3MW.js → ffmpeg-RYNM3JM2.js} +2 -2
  111. package/dist/{figma-BD7RROGK.js → figma-PL4YF6AD.js} +3 -3
  112. package/dist/fontLocalizeCli.js +5 -5
  113. package/dist/{frames-ZF756HF3.js → frames-7CHO3XUP.js} +8 -8
  114. package/dist/{generate-LEUO4VVQ.js → generate-I3UK6VFX.js} +12 -12
  115. package/dist/{get-4BL6VXKX.js → get-DRFSJ333.js} +2 -2
  116. package/dist/{gpuPolicy-K2JHXORZ.js → gpuPolicy-OAUKEMJC.js} +2 -2
  117. package/dist/{grade-compare-4UBZJQ7F.js → grade-compare-PYDF6Y6J.js} +11 -11
  118. package/dist/{heifImagePrep-O2WGVMAP.js → heifImagePrep-23E67GBA.js} +3 -3
  119. package/dist/{help-M55BSV4I.js → help-N2SPZK4D.js} +1 -1
  120. package/dist/{history-UIQBTMXZ.js → history-LXYOTFY7.js} +6 -6
  121. package/dist/hyperframes-player.global.js +2 -2
  122. package/dist/{info-X4VTZ7PT.js → info-ENAE5IAD.js} +8 -8
  123. package/dist/{init-3Y5XMH6I.js → init-DMKB6PK6.js} +18 -18
  124. package/dist/{ink-QKIGMWUR.js → ink-ANDD7W6Y.js} +7 -7
  125. package/dist/{inspect-BUKYJF6N.js → inspect-2XZYCFMK.js} +12 -12
  126. package/dist/{keyframes-6HO56WZG.js → keyframes-UKUFE6ZF.js} +6 -6
  127. package/dist/{lambda-XDVNHACQ.js → lambda-T4WMAZZV.js} +3 -3
  128. package/dist/{layout-WELYAXO3.js → layout-FX2Q65LB.js} +12 -12
  129. package/dist/{lint-6R3E6Q5V.js → lint-AHORS3BL.js} +6 -6
  130. package/dist/{list-SIL4TALK.js → list-H7F3WXD4.js} +2 -2
  131. package/dist/{localPage-6VW25RGJ.js → localPage-UUSOCL7L.js} +2 -2
  132. package/dist/{login-3AFKZLIK.js → login-6ORXT7JS.js} +4 -4
  133. package/dist/{look-RYLQYXNN.js → look-XFA3GQDV.js} +7 -7
  134. package/dist/{manager-T4ZHIMMY.js → manager-ZGVNWYBK.js} +3 -3
  135. package/dist/{measure-XUK4GNAC.js → measure-WIARVYP6.js} +11 -11
  136. package/dist/{media-treatment-SR5TX7CH.js → media-treatment-L2OD4GAB.js} +7 -7
  137. package/dist/{media-use-3LOSIEZM.js → media-use-SYSDJH23.js} +3 -3
  138. package/dist/{models-5SPPZN2E.js → models-YOGYUKBX.js} +6 -6
  139. package/dist/{motionShot-IFAFFPZF.js → motionShot-II6JZGTO.js} +7 -7
  140. package/dist/{normalize-audio-LQDUTXFM.js → normalize-audio-L6V6T2XW.js} +4 -4
  141. package/dist/{open-XX2L2YSZ.js → open-BPGKTYYV.js} +4 -4
  142. package/dist/{parakeetRunner-R5WK6AJN.js → parakeetRunner-BWX3UQH4.js} +7 -7
  143. package/dist/{pipeline-NMCWG5AA.js → pipeline-O3VKDLBZ.js} +5 -5
  144. package/dist/{play-Q2AYSHPW.js → play-NLZ4D4VN.js} +4 -4
  145. package/dist/{preflight-WG2O5KUQ.js → preflight-HEAPQ7N7.js} +3 -3
  146. package/dist/{present-AOU7HG3N.js → present-XPLUCZ5Z.js} +4 -4
  147. package/dist/{preview-PMGF6AQB.js → preview-JAWCYDZP.js} +8 -8
  148. package/dist/{probe-SESDMQ4Q.js → probe-3AL2MBSY.js} +7 -7
  149. package/dist/{producer-TGF2N7GF.js → producer-OQETVMJH.js} +1 -1
  150. package/dist/{remove-background-ZHAYTN7D.js → remove-background-2SNU7KAA.js} +6 -6
  151. package/dist/{render-XYWARHW5.js → render-FFA55SPM.js} +25 -21
  152. package/dist/{render-UNWC5ZIO.js → render-IKHZUOCM.js} +11 -11
  153. package/dist/{reverse-Q76RJRN5.js → reverse-74KYO2KF.js} +1 -1
  154. package/dist/{screenshotCapture-N6BXDAMK.js → screenshotCapture-HBOH5VXI.js} +2 -2
  155. package/dist/{sherpa-5YE5FIOR.js → sherpa-DBCTQWM3.js} +6 -6
  156. package/dist/{skills-U4NHFYH4.js → skills-YYOPM674.js} +6 -6
  157. package/dist/{skillsUpdateCheck-XJA6VEZZ.js → skillsUpdateCheck-2G4HUWXT.js} +3 -3
  158. package/dist/{snapshot-V4BSRUXI.js → snapshot-FSN6MIFT.js} +18 -18
  159. package/dist/{src-JVYKW7RE.js → src-PZKWEQB3.js} +4 -4
  160. package/dist/{src-FNXCLKWN.js → src-W2OMGCC2.js} +1 -1
  161. package/dist/{start-TSIACBUA.js → start-BC3LQ6XM.js} +10 -10
  162. package/dist/{staticProjectServer-NTSNYFWQ.js → staticProjectServer-NOC42RG6.js} +2 -2
  163. package/dist/{status-53Z4YLQ7.js → status-GAMGQR6J.js} +4 -4
  164. package/dist/studio/assets/{codec-YP1ZxmPt.js → codec-DqZyhFXM.js} +1 -1
  165. package/dist/studio/assets/{hyperframes-player-Cy3KqtCh.js → hyperframes-player-aBBb_UoJ.js} +2 -2
  166. package/dist/studio/assets/{index-C4B6p8IF.js → index-CceqlOsz.js} +1 -1
  167. package/dist/studio/assets/{index-BNTUBT5h.js → index-nztwvLTw.js} +5 -5
  168. package/dist/studio/assets/{pausedVideoDecoder-52lsHc7p.js → pausedVideoDecoder-CwC0h32O.js} +1 -1
  169. package/dist/studio/index.html +1 -1
  170. package/dist/{studioServer-HSYYGQU3.js → studioServer-YOES7J26.js} +23 -23
  171. package/dist/{sync-B2HPDX37.js → sync-SAFSREBK.js} +7 -7
  172. package/dist/{telemetry-L4KX6ADA.js → telemetry-JKUAFRWX.js} +3 -3
  173. package/dist/{templates-MKR4FTPR.js → templates-T63OMFEN.js} +4 -4
  174. package/dist/{timeline-VDFI4ABH.js → timeline-4WIGTZRE.js} +7 -7
  175. package/dist/{tokens-XYVGSKDY.js → tokens-JK3XREP4.js} +2 -2
  176. package/dist/{transcribe-3QGLLMEQ.js → transcribe-APCPBJXE.js} +5 -5
  177. package/dist/{transcribe-A7QZYVNX.js → transcribe-DWCOZPAN.js} +14 -14
  178. package/dist/{update-AWSCA73T.js → update-I3DN6NUV.js} +7 -7
  179. package/dist/{updateCheck-ATDIIE24.js → updateCheck-5C2PHZ24.js} +2 -2
  180. package/dist/{upgrade-RJNDUCWP.js → upgrade-KBMPHPSY.js} +3 -3
  181. package/dist/{urlDownloader-RE6IIDWK.js → urlDownloader-T5UKNPTJ.js} +1 -1
  182. package/dist/{validate-YWO6GA5Q.js → validate-YNITWYCF.js} +11 -11
  183. package/dist/{video-RKEUBWJI.js → video-JRQOXAZ2.js} +3 -3
  184. package/dist/{voices-GESP52KZ.js → voices-7QS4D5EP.js} +10 -10
  185. package/dist/warmCheck.js +20 -20
  186. package/package.json +1 -1
@@ -8,7 +8,7 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-V7Q4XKRJ.js";
11
+ } from "./chunk-QT766HQV.js";
12
12
  import {
13
13
  renameWithRetry
14
14
  } from "./chunk-IEXRKKHC.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-SWOAB4GM.js";
10
10
  import {
11
11
  listenOnBrowserSafePort
12
- } from "./chunk-V7Q4XKRJ.js";
12
+ } from "./chunk-QT766HQV.js";
13
13
 
14
14
  // src/capture/localPage.ts
15
15
  import {
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-LI2TX7SN.js";
10
+ } from "./chunk-5E6Y7CW3.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-7JK2YE2G.js";
13
+ } from "./chunk-EENM7GX3.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-HVW7ABXD.js";
17
17
  import {
18
18
  trackBillingCheckoutReturnRefused
19
- } from "./chunk-LI2TX7SN.js";
19
+ } from "./chunk-5E6Y7CW3.js";
20
20
 
21
21
  // src/heygen/plan.ts
22
22
  import { randomUUID } from "crypto";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-262C25DQ.js";
13
13
  import {
14
14
  pageNavigationTimeoutMs
15
- } from "./chunk-M3UU4QRH.js";
15
+ } from "./chunk-VOVC3QCN.js";
16
16
  import {
17
17
  SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
18
18
  } from "./chunk-YGGZ23BB.js";
@@ -23,11 +23,11 @@ import {
23
23
  launchManagedBrowser,
24
24
  resolveManagedGpuMode,
25
25
  rethrowAfterBrowserCleanup
26
- } from "./chunk-DC5ZRTHD.js";
26
+ } from "./chunk-SDYZOTB7.js";
27
27
  import {
28
28
  resolveLocalBrowserGpuMode,
29
29
  resolveLocalWebGpu
30
- } from "./chunk-PBDBD4BY.js";
30
+ } from "./chunk-CINCDA5M.js";
31
31
  import {
32
32
  c
33
33
  } from "./chunk-VU4EPKFI.js";
@@ -35,7 +35,7 @@ import {
35
35
  assertWebGpuAdapterAvailable,
36
36
  compositionRequiresWebGpu,
37
37
  oneProcessOverPipe
38
- } from "./chunk-V7Q4XKRJ.js";
38
+ } from "./chunk-QT766HQV.js";
39
39
  import {
40
40
  normalizeErrorMessage
41
41
  } from "./chunk-E63BDV4Z.js";
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
143
143
  console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
144
144
  });
145
145
  await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
146
- const { resolveConfig, waitForImagesReady } = await import("./src-FNXCLKWN.js");
146
+ const { resolveConfig, waitForImagesReady } = await import("./src-W2OMGCC2.js");
147
147
  const imageTimeoutMs = resolveConfig().playerReadyTimeout;
148
148
  await waitForImagesReady(
149
149
  page,
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
192
192
  async function openSettledCompositionPage(html, url, options) {
193
193
  const viewport = resolveCompositionViewportFromHtml(html);
194
194
  const requiresWebGpu = compositionRequiresWebGpu(html);
195
- const answer = (await import("./staticProjectServer-NTSNYFWQ.js")).inProcessAnswer(url);
195
+ const answer = (await import("./staticProjectServer-NOC42RG6.js")).inProcessAnswer(url);
196
196
  const noListen = answer !== void 0;
197
197
  let chromeBrowser;
198
198
  try {
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
203
203
  options.onBrowserReady?.();
204
204
  const page = await chromeBrowser.newPage();
205
205
  await installPageFunctionGuard(page);
206
- const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-FNXCLKWN.js");
206
+ const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-W2OMGCC2.js");
207
207
  await installMediaRenderIdBridge(page);
208
208
  await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
209
209
  await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
@@ -225,7 +225,7 @@ async function launchCompositionBrowser(html, noListen, options) {
225
225
  const { ensureBrowser, findSystemBrowser } = await import("./manager-IAXYSRG5.js");
226
226
  const browser = await ensureBrowser({ signal: options.signal });
227
227
  const puppeteer = await import("puppeteer-core");
228
- const { buildChromeArgs } = await import("./src-FNXCLKWN.js");
228
+ const { buildChromeArgs } = await import("./src-W2OMGCC2.js");
229
229
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
230
230
  const requiresWebGpu = compositionRequiresWebGpu(html);
231
231
  let softwareWebGpu = false;
@@ -20,17 +20,17 @@ import {
20
20
  idleWindow,
21
21
  preResolveHostileMediaProxies,
22
22
  rectToBbox
23
- } from "./chunk-FKSUSFRT.js";
23
+ } from "./chunk-VCMPKZFN.js";
24
24
  import {
25
25
  collectProjectMedia,
26
26
  mediaPath
27
- } from "./chunk-K6UG4VWT.js";
27
+ } from "./chunk-G4D7EBDQ.js";
28
28
  import {
29
29
  captureArtifactRevision
30
- } from "./chunk-XDKEKXV4.js";
30
+ } from "./chunk-LPB7T67S.js";
31
31
  import {
32
32
  trackLintRun
33
- } from "./chunk-5WI3VKQW.js";
33
+ } from "./chunk-JMPTLXJQ.js";
34
34
  import {
35
35
  CONTENT_OVERLAP_HELD_ERROR_MS,
36
36
  DEFAULT_MAX_STATIC_SEC,
@@ -51,7 +51,7 @@ import {
51
51
  mergeSampleTimes,
52
52
  parseAt,
53
53
  readMotionSpec
54
- } from "./chunk-OT2KF34N.js";
54
+ } from "./chunk-SJOA2RCP.js";
55
55
  import {
56
56
  findingAtRoot,
57
57
  findingElementKey,
@@ -65,7 +65,7 @@ import {
65
65
  } from "./chunk-GGDJLN5I.js";
66
66
  import {
67
67
  resolveProject
68
- } from "./chunk-ZNTYIJ5K.js";
68
+ } from "./chunk-YU2KLER7.js";
69
69
  import {
70
70
  recordArtifacts
71
71
  } from "./chunk-BF6RWOUF.js";
@@ -76,14 +76,14 @@ import {
76
76
  BrowserCleanupError,
77
77
  onStopSignal,
78
78
  registerBrowserSessionCleanup
79
- } from "./chunk-DC5ZRTHD.js";
79
+ } from "./chunk-SDYZOTB7.js";
80
80
  import {
81
81
  resolveLocalBrowserGpuMode
82
- } from "./chunk-PBDBD4BY.js";
82
+ } from "./chunk-CINCDA5M.js";
83
83
  import {
84
84
  trackCheckReport,
85
85
  trackCommandFailure
86
- } from "./chunk-LI2TX7SN.js";
86
+ } from "./chunk-5E6Y7CW3.js";
87
87
  import {
88
88
  swallowedFlagUsageError
89
89
  } from "./chunk-UPR5TMLG.js";
@@ -104,14 +104,14 @@ import {
104
104
  extractMediaMetadata,
105
105
  findHdrAutoPromotion,
106
106
  gradingKeepsSdr
107
- } from "./chunk-V7Q4XKRJ.js";
107
+ } from "./chunk-QT766HQV.js";
108
108
  import {
109
109
  lintProject,
110
110
  unmountedNotice
111
111
  } from "./chunk-DJVSNDF3.js";
112
112
  import {
113
113
  withMeta
114
- } from "./chunk-Z5THPTQ2.js";
114
+ } from "./chunk-TTKJF3LI.js";
115
115
  import {
116
116
  recordLastCheck
117
117
  } from "./chunk-F5QBIIFT.js";
@@ -126,7 +126,7 @@ import {
126
126
  } from "./chunk-66W5IWLO.js";
127
127
  import {
128
128
  VERSION
129
- } from "./chunk-2WKG7HXZ.js";
129
+ } from "./chunk-E53UDY74.js";
130
130
  import {
131
131
  normalizeErrorMessage
132
132
  } from "./chunk-E63BDV4Z.js";
@@ -2294,7 +2294,7 @@ function resolveMotionSpec(projectDir) {
2294
2294
  };
2295
2295
  }
2296
2296
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2297
- const module = await import("./checkBrowser-TO5M2QL2.js");
2297
+ const module = await import("./checkBrowser-OGE3A52R.js");
2298
2298
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2299
2299
  }
2300
2300
  var adoptedBrowser;
@@ -2308,7 +2308,7 @@ async function prelaunchBrowser(project, options) {
2308
2308
  if (adopted) return adopted;
2309
2309
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2310
2310
  if (html === void 0) return void 0;
2311
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-VTN6VB5N.js");
2311
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-TLV2WC4Q.js");
2312
2312
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2313
2313
  }
2314
2314
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2320,11 +2320,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2320
2320
  return relative(projectDir, path);
2321
2321
  }
2322
2322
  async function captureFindingFrames(project, options, requests, deadline) {
2323
- const module = await import("./checkBrowser-TO5M2QL2.js");
2323
+ const module = await import("./checkBrowser-OGE3A52R.js");
2324
2324
  return module.captureFindingFrames(project, options, requests, deadline);
2325
2325
  }
2326
2326
  async function captureFindingCrops(project, options, requests, deadline) {
2327
- const module = await import("./checkBrowser-TO5M2QL2.js");
2327
+ const module = await import("./checkBrowser-OGE3A52R.js");
2328
2328
  return module.captureFindingCrops(project, options, requests, deadline);
2329
2329
  }
2330
2330
  async function inspectProjectMedia(project, dependencies) {
@@ -2346,7 +2346,7 @@ function collectMedia(project) {
2346
2346
  return collectProjectMedia(project.dir);
2347
2347
  }
2348
2348
  async function inspectAudio(project, media) {
2349
- const module = await import("./checkAudio-HZ3Z5BTZ.js");
2349
+ const module = await import("./checkAudio-QDAUXX7W.js");
2350
2350
  return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
2351
2351
  }
2352
2352
  function audioCheckFailure(project, error) {
@@ -2531,7 +2531,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2531
2531
  }
2532
2532
  },
2533
2533
  async prepareMedia(project, options) {
2534
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-QY6JAKLF.js");
2534
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-YGHFRVJW.js");
2535
2535
  const html = await bundleWithLocalizedFonts(project.dir);
2536
2536
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2537
2537
  },
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-7VHSPFBH.js";
9
+ } from "./chunk-PL5C5FKM.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
@@ -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-MC5XLD2Z.js");
1281
+ const { trackCommandFailure } = await import("./events-GA24CH3D.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -8,7 +8,7 @@ import {
8
8
  findFFmpeg,
9
9
  findFFprobe,
10
10
  getFFmpegInstallHint
11
- } from "./chunk-CZ43ZZFS.js";
11
+ } from "./chunk-P2A6MYSQ.js";
12
12
 
13
13
  // src/measure/media.ts
14
14
  import { execFileSync } from "child_process";
@@ -10,13 +10,13 @@ import {
10
10
  parseNumbers,
11
11
  parseRoi,
12
12
  probeVideo
13
- } from "./chunk-UPG4MMIA.js";
13
+ } from "./chunk-MMCMEW7K.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-VU4EPKFI.js";
17
17
  import {
18
18
  withMeta
19
- } from "./chunk-Z5THPTQ2.js";
19
+ } from "./chunk-TTKJF3LI.js";
20
20
  import {
21
21
  failCommand
22
22
  } from "./chunk-66W5IWLO.js";
@@ -8,7 +8,7 @@ import {
8
8
  jsonArg,
9
9
  runMeasure,
10
10
  videoArg
11
- } from "./chunk-YNIADMNZ.js";
11
+ } from "./chunk-MPKBIC4Z.js";
12
12
  import {
13
13
  makeOutputFolder
14
14
  } from "./chunk-3S27CPV7.js";
@@ -18,7 +18,7 @@ import {
18
18
  probeVideo,
19
19
  round,
20
20
  runFfmpeg
21
- } from "./chunk-UPG4MMIA.js";
21
+ } from "./chunk-MMCMEW7K.js";
22
22
  import {
23
23
  defineCommand
24
24
  } from "./chunk-DL4OD7IA.js";
@@ -19,7 +19,7 @@ import {
19
19
  HF_AUDIO_GROUP_ATTR,
20
20
  extractAudioMetadata,
21
21
  extractMediaMetadata
22
- } from "./chunk-V7Q4XKRJ.js";
22
+ } from "./chunk-QT766HQV.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-VEIGTKYZ.js";
31
31
  import {
32
32
  listenOnBrowserSafePort
33
- } from "./chunk-V7Q4XKRJ.js";
33
+ } from "./chunk-QT766HQV.js";
34
34
  import {
35
35
  stripSdrPngColourTags
36
36
  } from "./chunk-NHJ5YUBZ.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getCachedGpuEncoder
9
- } from "./chunk-V7Q4XKRJ.js";
9
+ } from "./chunk-QT766HQV.js";
10
10
  import {
11
11
  runCancellableProcess
12
12
  } from "./chunk-X6JUUQCM.js";
@@ -11,7 +11,7 @@ import {
11
11
  PRORES_PROFILE_NAMES,
12
12
  appendRateCapArgs,
13
13
  isProresProfile
14
- } from "./chunk-V7Q4XKRJ.js";
14
+ } from "./chunk-QT766HQV.js";
15
15
  import {
16
16
  failUsage
17
17
  } from "./chunk-66W5IWLO.js";
@@ -6,23 +6,23 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-ZNTYIJ5K.js";
9
+ } from "./chunk-YU2KLER7.js";
10
10
  import {
11
11
  installPageFunctionGuard,
12
12
  resolveCliChromeGpuMode,
13
13
  seekCompositionTimeline,
14
14
  waitForRuntimeReady
15
- } from "./chunk-CGUAZCPL.js";
15
+ } from "./chunk-L5KXLXFY.js";
16
16
  import {
17
17
  pageNavigationTimeoutMs
18
- } from "./chunk-M3UU4QRH.js";
18
+ } from "./chunk-VOVC3QCN.js";
19
19
  import {
20
20
  resolveCompositionViewportFromHtml
21
21
  } from "./chunk-BJYCLZBQ.js";
22
22
  import {
23
23
  launchManagedBrowser,
24
24
  resolveManagedGpuMode
25
- } from "./chunk-DC5ZRTHD.js";
25
+ } from "./chunk-SDYZOTB7.js";
26
26
  import {
27
27
  defineCommand
28
28
  } from "./chunk-DL4OD7IA.js";
@@ -38,7 +38,7 @@ import {
38
38
  import {
39
39
  printDeprecationNotice,
40
40
  withMeta
41
- } from "./chunk-Z5THPTQ2.js";
41
+ } from "./chunk-TTKJF3LI.js";
42
42
  import {
43
43
  failureMessage,
44
44
  jsonFailure
@@ -253,7 +253,7 @@ function extractCompositionErrorsFromLint(lintResult) {
253
253
  async function localizeRemoteAssets(html) {
254
254
  let dir;
255
255
  try {
256
- const { loadProducer } = await import("./producer-TGF2N7GF.js");
256
+ const { loadProducer } = await import("./producer-OQETVMJH.js");
257
257
  const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
258
258
  dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
259
259
  const assetDir = dir;
@@ -276,7 +276,7 @@ async function validateInBrowser(project, opts) {
276
276
  const projectDir = project.dir;
277
277
  const { bundleToSingleHtml } = await import("./compiler-ZSIKBZBR.js");
278
278
  const { ensureBrowser } = await import("./manager-IAXYSRG5.js");
279
- const { serveStaticProjectHtml } = await import("./staticProjectServer-NTSNYFWQ.js");
279
+ const { serveStaticProjectHtml } = await import("./staticProjectServer-NOC42RG6.js");
280
280
  const { lintProject } = await import("./lintProject-5CBL7VFV.js");
281
281
  const lintResult = await lintProject(projectDir);
282
282
  const compositionErrors = extractCompositionErrorsFromLint(lintResult);
@@ -298,9 +298,9 @@ async function validateInBrowser(project, opts) {
298
298
  try {
299
299
  const browser = await ensureBrowser();
300
300
  const puppeteer = await import("puppeteer-core");
301
- const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-FNXCLKWN.js");
301
+ const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-W2OMGCC2.js");
302
302
  const requestedGpuMode = resolveCliChromeGpuMode();
303
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-K2JHXORZ.js");
303
+ const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-OAUKEMJC.js");
304
304
  const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
305
305
  const requiresWebGpu = compositionRequiresWebGpu(html);
306
306
  const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-J3OVTOVC.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-QTBRVJ6N.js";
19
+ } from "./chunk-D5HNV6G6.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-VU4EPKFI.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-V7Q4XKRJ.js";
32
+ } from "./chunk-QT766HQV.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
@@ -44,14 +44,14 @@ import {
44
44
  runningInstall,
45
45
  updateCommandFor,
46
46
  withMeta
47
- } from "./chunk-Z5THPTQ2.js";
47
+ } from "./chunk-TTKJF3LI.js";
48
48
  import {
49
49
  CONFIG_PATH,
50
50
  withFileLock
51
51
  } from "./chunk-F5QBIIFT.js";
52
52
  import {
53
53
  VERSION
54
- } from "./chunk-2WKG7HXZ.js";
54
+ } from "./chunk-E53UDY74.js";
55
55
  import {
56
56
  normalizeErrorMessage
57
57
  } from "./chunk-E63BDV4Z.js";
@@ -249,7 +249,7 @@ function checkEnvironment() {
249
249
  return { ok: true, detail: parts.join(" \xB7 ") };
250
250
  }
251
251
  async function checkWhisper() {
252
- const { findWhisper, getInstallInstructions } = await import("./manager-T4ZHIMMY.js");
252
+ const { findWhisper, getInstallInstructions } = await import("./manager-ZGVNWYBK.js");
253
253
  const result = findWhisper();
254
254
  if (result) {
255
255
  return { ok: true, detail: result.executablePath };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-ZNTYIJ5K.js";
9
+ } from "./chunk-YU2KLER7.js";
10
10
  import {
11
11
  findPreviewServerForProject,
12
12
  studioApiUrl
@@ -13185,7 +13185,7 @@ import {
13185
13185
  import { join as join11 } from "path";
13186
13186
  var COMPLETE_SENTINEL = ".hf-complete";
13187
13187
  var GC_MARKER = ".hf-last-gc";
13188
- var SCHEMA_PREFIX = "hfcache-v8-";
13188
+ var SCHEMA_PREFIX = "hfcache-v9-";
13189
13189
  var KEY_HEX_CHARS = 16;
13190
13190
  async function readContentSha256(path, signal) {
13191
13191
  try {
@@ -13914,9 +13914,11 @@ async function leadInSecondsUnlessAborted(videoPath, seek, signal) {
13914
13914
  function stallTimeoutMs(baseMs, skippedSeconds, sourceFps) {
13915
13915
  return baseMs + Math.ceil(skippedSeconds * sourceFps * 1e3 / SKIP_DECODE_FPS_FLOOR);
13916
13916
  }
13917
- function undoTickRoundingOnTheSourceFrameGrid(seek, lead) {
13917
+ var KEEP_END_PAST_A_ONE_TICK_FINAL_FRAME_THROUGH_THE_SNAP = "tpad=stop_mode=clone:stop=1";
13918
+ function undoTickRoundingOnTheSourceFrameGrid(seek, lead, sourceFps) {
13918
13919
  const sinceFileStart = `(PTS*TB+${seek}-${lead})`;
13919
13920
  return [
13921
+ ...sourceFps > 0 ? [KEEP_END_PAST_A_ONE_TICK_FINAL_FRAME_THROUGH_THE_SNAP] : [],
13920
13922
  "settb=AVTB",
13921
13923
  `setpts=if(isnan(FR)\\,PTS\\,(${lead}+round(${sinceFileStart}*FR)/FR-${seek})/TB)`
13922
13924
  ];
@@ -13935,13 +13937,14 @@ function framesWrittenReader(onProgress) {
13935
13937
  });
13936
13938
  return (chunk) => read(chunk);
13937
13939
  }
13938
- function splitFrameRanges(ranges, segmentFrames) {
13940
+ function splitFrameRanges(ranges, segmentFrames, frameLimit) {
13939
13941
  const segments = [];
13940
13942
  for (const range of ranges) {
13941
- for (let offset = 0; offset < range.frames; offset += segmentFrames) {
13943
+ const frames = Math.min(range.frames, frameLimit - range.firstFrame);
13944
+ for (let offset = 0; offset < frames; offset += segmentFrames) {
13942
13945
  segments.push({
13943
13946
  firstFrame: range.firstFrame + offset,
13944
- frames: Math.min(segmentFrames, range.frames - offset)
13947
+ frames: Math.min(segmentFrames, frames - offset)
13945
13948
  });
13946
13949
  }
13947
13950
  }
@@ -14030,7 +14033,11 @@ function videoFilterChain(input) {
14030
14033
  tail2.push("scale=trunc(iw*sar/2)*2:ih", "setsar=1");
14031
14034
  }
14032
14035
  const sampling = (seek) => sampleAtOutputFps ? [
14033
- ...metadata.isVFR ? [] : undoTickRoundingOnTheSourceFrameGrid(seek, videoStartOnMediaTimeline(metadata)),
14036
+ ...metadata.isVFR ? [] : undoTickRoundingOnTheSourceFrameGrid(
14037
+ seek,
14038
+ videoStartOnMediaTimeline(metadata),
14039
+ metadata.fps
14040
+ ),
14034
14041
  "settb=intb/2",
14035
14042
  "setpts=PTS-lte(TB\\,0.001)",
14036
14043
  `fps=${ffmpegFps}:start_time=0:round=up`
@@ -14173,8 +14180,15 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
14173
14180
  return filters.length > 0 ? ["-vf", filters.join(",")] : [];
14174
14181
  };
14175
14182
  const segmentFrames = Math.round(EXTRACTION_SEGMENT_SECONDS * fps);
14176
- const totalFrames = extractionFrameCountForDuration(duration, normalizedFps, metadata.isVFR);
14183
+ const windowFrames = extractionFrameCountForDuration(duration, normalizedFps, metadata.isVFR);
14184
+ const framesBeforeSourceEnd = extractionFrameCountForDuration(
14185
+ playableDuration - startTime,
14186
+ normalizedFps,
14187
+ false
14188
+ );
14189
+ const totalFrames = metadata.isVFR ? windowFrames : Math.min(windowFrames, framesBeforeSourceEnd);
14177
14190
  const boundVfrFrameCount = metadata.isVFR && totalFrames > 0;
14191
+ const frameCap = sampleAtOutputFps && totalFrames > 0 ? ["-frames:v", String(totalFrames)] : [];
14178
14192
  const extract = (hwaccel) => sampleAtOutputFps && (options.frameRanges || boundVfrFrameCount || totalFrames > segmentFrames) ? runSegmentedExtraction({
14179
14193
  decodeArgs: [...hwaccel, ...decodeArgs],
14180
14194
  filterAndEncodeArgs: (seek) => [...filterArgsFor(seek), ...encodeArgs],
@@ -14186,20 +14200,24 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
14186
14200
  gate: options.tailProbe ? inTailProbeSlot : inExtractionSlot,
14187
14201
  segments: splitFrameRanges(
14188
14202
  options.frameRanges ?? [{ firstFrame: 0, frames: totalFrames }],
14189
- segmentFrames
14203
+ segmentFrames,
14204
+ totalFrames > 0 ? totalFrames : Number.POSITIVE_INFINITY
14190
14205
  ),
14191
14206
  runOptions,
14192
14207
  onProgress: options.onProgress
14193
14208
  }) : inExtractionSlot(
14194
- async () => runFfmpeg([...hwaccel, ...args, ...filterArgsFor(startTime), ...encodeArgs], {
14195
- ...runOptions,
14196
- onStderr: framesWrittenReader(options.onProgress),
14197
- timeout: stallTimeoutMs(
14198
- ffmpegProcessTimeout,
14199
- options.finalFrameOnly ? startTime : await leadInSecondsUnlessAborted(videoPath, startTime, signal),
14200
- metadata.fps
14201
- )
14202
- }),
14209
+ async () => runFfmpeg(
14210
+ [...hwaccel, ...args, ...frameCap, ...filterArgsFor(startTime), ...encodeArgs],
14211
+ {
14212
+ ...runOptions,
14213
+ onStderr: framesWrittenReader(options.onProgress),
14214
+ timeout: stallTimeoutMs(
14215
+ ffmpegProcessTimeout,
14216
+ options.finalFrameOnly ? startTime : await leadInSecondsUnlessAborted(videoPath, startTime, signal),
14217
+ metadata.fps
14218
+ )
14219
+ }
14220
+ ),
14203
14221
  signal
14204
14222
  );
14205
14223
  options.onProgress?.({
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-GQTNVE7U.js";
13
+ } from "./chunk-6UMISKCG.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveCaptureBrowserGpuMode
9
- } from "./chunk-PBDBD4BY.js";
9
+ } from "./chunk-CINCDA5M.js";
10
10
  import {
11
11
  explainChromeLaunchFailure,
12
12
  inAgentSandbox,
@@ -15,7 +15,7 @@ import {
15
15
  oneProcessOverPipe,
16
16
  pipeLaunchClosedOnMac,
17
17
  sandboxDeniedRemediation
18
- } from "./chunk-V7Q4XKRJ.js";
18
+ } from "./chunk-QT766HQV.js";
19
19
  import {
20
20
  processIsAlive
21
21
  } from "./chunk-KGPLIH7B.js";
@@ -9,27 +9,27 @@ import {
9
9
  } from "./chunk-TQBQYO4L.js";
10
10
  import {
11
11
  resolveProject
12
- } from "./chunk-ZNTYIJ5K.js";
12
+ } from "./chunk-YU2KLER7.js";
13
13
  import {
14
14
  serveStaticProjectHtml
15
- } from "./chunk-QISOTHEQ.js";
15
+ } from "./chunk-O5P75JID.js";
16
16
  import {
17
17
  AUDIT_SEEK_OPTIONS,
18
18
  installPageFunctionGuard,
19
19
  seekCompositionTimeline,
20
20
  waitForCompositionFonts,
21
21
  waitForRuntimeReady
22
- } from "./chunk-CGUAZCPL.js";
22
+ } from "./chunk-L5KXLXFY.js";
23
23
  import {
24
24
  gotoWhenSent
25
25
  } from "./chunk-OSDNRYQJ.js";
26
26
  import {
27
27
  pageNavigationTimeoutMs
28
- } from "./chunk-M3UU4QRH.js";
28
+ } from "./chunk-VOVC3QCN.js";
29
29
  import {
30
30
  launchManagedBrowser,
31
31
  resolveManagedGpuMode
32
- } from "./chunk-DC5ZRTHD.js";
32
+ } from "./chunk-SDYZOTB7.js";
33
33
  import {
34
34
  readJsonFileText
35
35
  } from "./chunk-EHZESMRB.js";
@@ -42,7 +42,7 @@ import {
42
42
  import {
43
43
  printDeprecationNotice,
44
44
  withMeta
45
- } from "./chunk-Z5THPTQ2.js";
45
+ } from "./chunk-TTKJF3LI.js";
46
46
  import {
47
47
  failureMessage,
48
48
  jsonFailure
@@ -728,13 +728,13 @@ async function alignViewportToComposition(page, url) {
728
728
  async function runLayoutAudit(projectDir, opts) {
729
729
  const { ensureBrowser } = await import("./manager-IAXYSRG5.js");
730
730
  const puppeteer = await import("puppeteer-core");
731
- const { buildChromeArgs } = await import("./src-FNXCLKWN.js");
731
+ const { buildChromeArgs } = await import("./src-W2OMGCC2.js");
732
732
  const {
733
733
  assertWebGpuAdapterAvailable,
734
734
  compositionRequiresWebGpu,
735
735
  resolveLocalBrowserGpuMode,
736
736
  resolveLocalWebGpu
737
- } = await import("./gpuPolicy-K2JHXORZ.js");
737
+ } = await import("./gpuPolicy-OAUKEMJC.js");
738
738
  const html = await bundleProjectHtml(projectDir);
739
739
  const server = await serveStaticProjectHtml(
740
740
  projectDir,