hyperframes 0.8.203 → 0.8.205

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 (180) hide show
  1. package/dist/{add-HVWZZBVO.js → add-BA4AU262.js} +11 -11
  2. package/dist/{animatedGifPrep-7SQD4XQY.js → animatedGifPrep-UNUCFGLQ.js} +6 -6
  3. package/dist/api.js +16 -16
  4. package/dist/{asset-H2D5ENJ6.js → asset-KCDVTNC3.js} +2 -2
  5. package/dist/{assetCataloger-PIRQXMHM.js → assetCataloger-5FCVQ3N6.js} +6 -6
  6. package/dist/{audio-F6TTYCGR.js → audio-KDBPEHRS.js} +16 -13
  7. package/dist/{auth-HK5IYSNR.js → auth-IMPBZZXJ.js} +1 -1
  8. package/dist/{autoUpdate-DQMCXE6X.js → autoUpdate-YE2RKCAG.js} +2 -2
  9. package/dist/{backgroundChecks-Y466WV7Y.js → backgroundChecks-OWY2UFSR.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-PGJELR2B.js → batchRender-AN4HWKET.js} +3 -3
  12. package/dist/{beats-AD2IJGBZ.js → beats-VTQJ4JH6.js} +8 -8
  13. package/dist/{benchmark-B564OTLO.js → benchmark-PBEWHJ5K.js} +13 -11
  14. package/dist/{browser-B7BELTLZ.js → browser-E7ANEHNU.js} +5 -5
  15. package/dist/{bundleWithLocalizedFonts-INYZKCJN.js → bundleWithLocalizedFonts-I3BWMRSP.js} +2 -2
  16. package/dist/{capture-LKV2HS5Q.js → capture-MP7R72WU.js} +2 -2
  17. package/dist/{capture-VMJVXQJ2.js → capture-XODFC4S4.js} +10 -10
  18. package/dist/{captureCompositionFrame-L2W6KSAL.js → captureCompositionFrame-2OYGVDI3.js} +11 -11
  19. package/dist/{catalog-5ETWOAL2.js → catalog-ORVCCEQR.js} +11 -11
  20. package/dist/{catch-up-3RWU3BRJ.js → catch-up-SYAQOXTT.js} +4 -4
  21. package/dist/{check-KD57MC5Z.js → check-6SQR6SSA.js} +35 -35
  22. package/dist/{checkBrowser-R72NYI4S.js → checkBrowser-HOTD3CDE.js} +30 -30
  23. package/dist/{chunk-5GFNMC2F.js → chunk-26OI2B2X.js} +1 -1
  24. package/dist/{chunk-CTNWZASM.js → chunk-2FEOM3ZT.js} +3 -3
  25. package/dist/{chunk-HYMW42OE.js → chunk-32R2AFZ3.js} +3 -3
  26. package/dist/{chunk-32SIPBON.js → chunk-3N4T6I3O.js} +1 -1
  27. package/dist/{chunk-IREQUN2P.js → chunk-4RPCYGZG.js} +1 -1
  28. package/dist/{chunk-DZZ6VHPY.js → chunk-4UIEQIF4.js} +2 -2
  29. package/dist/{chunk-TMIX2WQL.js → chunk-57I5KNTL.js} +3 -3
  30. package/dist/{chunk-UVV2DKZR.js → chunk-5F6B6KMK.js} +2 -2
  31. package/dist/{chunk-TVC4EI2W.js → chunk-5PVPGWMH.js} +1 -1
  32. package/dist/{chunk-FRXPZCEP.js → chunk-6GAYBX5C.js} +1 -1
  33. package/dist/{chunk-BD3LJRJT.js → chunk-6NC4KBS2.js} +1 -1
  34. package/dist/{chunk-RUVO77RK.js → chunk-6YYFNGCS.js} +12 -7
  35. package/dist/{chunk-LTGTN2TH.js → chunk-75WNFDRU.js} +1 -1
  36. package/dist/{chunk-7SNVSO4A.js → chunk-7V7OUKTU.js} +1 -1
  37. package/dist/{chunk-CFFPH6D3.js → chunk-A42PDANH.js} +1 -1
  38. package/dist/{chunk-3YZ2ESXP.js → chunk-AECL3B23.js} +1 -1
  39. package/dist/{chunk-UNBGZQZ6.js → chunk-AECSY5LT.js} +194 -80
  40. package/dist/{chunk-KLIKCX6Q.js → chunk-AYH5ANVS.js} +7 -1
  41. package/dist/{chunk-GX4CEJCX.js → chunk-BA7MQJXG.js} +3 -3
  42. package/dist/{chunk-E3LRVXM2.js → chunk-BHOGXIBO.js} +4 -6
  43. package/dist/{chunk-35KHQKEX.js → chunk-BTYT3RT3.js} +1 -1
  44. package/dist/{chunk-HOQNNE3I.js → chunk-BZ727KLT.js} +1 -1
  45. package/dist/{chunk-TRDUMOUW.js → chunk-C4LV6L4Q.js} +3 -3
  46. package/dist/{chunk-CAHZZOEC.js → chunk-CU76YDPX.js} +1 -1
  47. package/dist/{chunk-TZKMAQOY.js → chunk-CUGADCIV.js} +1 -1
  48. package/dist/{chunk-7RQXBL4L.js → chunk-EXRHI43B.js} +7 -7
  49. package/dist/{chunk-GOPGJXEQ.js → chunk-FNBEYIZH.js} +5 -5
  50. package/dist/{chunk-MPGJNUML.js → chunk-G445Y3YG.js} +4 -3
  51. package/dist/{chunk-VYFMJ2HM.js → chunk-GBQCTZON.js} +10 -10
  52. package/dist/{chunk-OKZZWUZN.js → chunk-GLBEBBS2.js} +2 -2
  53. package/dist/{chunk-FE72SB2F.js → chunk-GSTFETKE.js} +1 -1
  54. package/dist/{chunk-VL5ES6ZM.js → chunk-H4MSJ2NZ.js} +5 -5
  55. package/dist/{chunk-ML7IPYOC.js → chunk-HADQPG7O.js} +1 -1
  56. package/dist/{chunk-JEFIEL6S.js → chunk-HQ3CFNHL.js} +1 -1
  57. package/dist/{chunk-FTARAZAL.js → chunk-I7IXUCKL.js} +1 -1
  58. package/dist/{chunk-JKUVH7BF.js → chunk-IKYXXIMP.js} +1 -1
  59. package/dist/{chunk-RWHMKGJA.js → chunk-J2E3VVOS.js} +4 -4
  60. package/dist/{chunk-TT6HSBYK.js → chunk-JFNB4CMI.js} +5 -5
  61. package/dist/{chunk-X5PKA5KH.js → chunk-KAIQPYCM.js} +2 -2
  62. package/dist/{chunk-H6NXL4VB.js → chunk-KBZSMKKD.js} +3 -3
  63. package/dist/{chunk-IDASYE4U.js → chunk-KVNXEAVT.js} +4 -1
  64. package/dist/{chunk-YOLS2E5P.js → chunk-L6N2TLXR.js} +18 -18
  65. package/dist/{chunk-R36C6H32.js → chunk-LQUMMPGK.js} +1 -1
  66. package/dist/{chunk-Q6B7MFTU.js → chunk-LSQM3NBR.js} +1 -1
  67. package/dist/{chunk-B7MRZJOW.js → chunk-MASFRPCB.js} +10 -10
  68. package/dist/{chunk-KWQWEY6F.js → chunk-MVXOY5RC.js} +1 -1
  69. package/dist/{chunk-WGZOPGHX.js → chunk-N7VQD4WB.js} +1 -1
  70. package/dist/{chunk-HAKKV3SY.js → chunk-NF6KI46X.js} +23 -15
  71. package/dist/{chunk-OKRH4JU3.js → chunk-OB7QARSN.js} +1 -1
  72. package/dist/{chunk-JVWPKIVV.js → chunk-RQDVTUVD.js} +14 -14
  73. package/dist/{chunk-4GV742H2.js → chunk-RWOWD3PW.js} +2 -2
  74. package/dist/{chunk-KBCV6BHL.js → chunk-T2UR3T4L.js} +76 -52
  75. package/dist/{chunk-RZAPLMVM.js → chunk-TGS33LDU.js} +3 -3
  76. package/dist/{chunk-YJKSLCKV.js → chunk-TOEIJ4WF.js} +5 -5
  77. package/dist/{chunk-3NUFUEAX.js → chunk-TZ7MTRVJ.js} +13 -13
  78. package/dist/{chunk-HO2N4UWV.js → chunk-UEOGIZ3Q.js} +2 -2
  79. package/dist/{chunk-ND5ELD7A.js → chunk-UR6BAPOD.js} +1 -1
  80. package/dist/{chunk-2G6EI3WQ.js → chunk-V2XXV2EH.js} +1 -1
  81. package/dist/{chunk-BL4U6U52.js → chunk-V4K4BSCM.js} +16 -5
  82. package/dist/{chunk-QB4K2EWI.js → chunk-WB55EQNJ.js} +1 -1
  83. package/dist/{chunk-DO2OTFCJ.js → chunk-XNAIYEKD.js} +1 -1
  84. package/dist/{chunk-GOWNPWCJ.js → chunk-ZB6SCA4J.js} +1 -1
  85. package/dist/{chunk-VI7GBPF6.js → chunk-ZSUWGNIT.js} +2 -2
  86. package/dist/chunk-ZUQZP6QD.js +3986 -0
  87. package/dist/{clean-7OBS6NMK.js → clean-BW7NHQS5.js} +18 -18
  88. package/dist/cli.js +81 -59
  89. package/dist/{cloud-JFL6IMUV.js → cloud-TZVXTWZO.js} +4 -4
  90. package/dist/{cloudrun-GHA4FXS3.js → cloudrun-KRIETALO.js} +4 -4
  91. package/dist/{compare-UFTPPNLD.js → compare-WYWHJ4CR.js} +27 -27
  92. package/dist/{compiler-6LUGBYWD.js → compiler-ANIPXLJ7.js} +7 -3
  93. package/dist/{component-4W3MT53Y.js → component-CY7DCX56.js} +3 -3
  94. package/dist/{compositions-63M4AHPA.js → compositions-5YEB24E3.js} +10 -10
  95. package/dist/{delete-XCSORSYR.js → delete-6642PDON.js} +2 -2
  96. package/dist/{deploy-JUC2BVCE.js → deploy-NZP6TZLS.js} +1 -1
  97. package/dist/{dist-SOMNYPEE.js → dist-DGFC75NC.js} +2 -2
  98. package/dist/{dist-6JMYDD7F.js → dist-V2BGP46S.js} +1 -1
  99. package/dist/docs/examples.md +31 -7
  100. package/dist/{doctor-LZ5KMUGS.js → doctor-ZW4A2FS3.js} +12 -12
  101. package/dist/{events-DSJDLP3V.js → events-NJU4VFDA.js} +3 -3
  102. package/dist/{events-XN26WXN3.js → events-XRCHY2F6.js} +2 -2
  103. package/dist/{feedback-VZZT77OU.js → feedback-NQLSZMES.js} +7 -7
  104. package/dist/{ffmpeg-TU5BPXP6.js → ffmpeg-RYDQLG3G.js} +7 -7
  105. package/dist/{figma-BYBMKBNS.js → figma-TJAMP2CI.js} +3 -3
  106. package/dist/fontLocalizeCli.js +9 -9
  107. package/dist/{get-JAKXQVNF.js → get-RRZ3O26X.js} +2 -2
  108. package/dist/{gpuPolicy-A6BRKFTK.js → gpuPolicy-4WLHUUS3.js} +6 -6
  109. package/dist/{grade-compare-6TLS63GE.js → grade-compare-P7PE3NAA.js} +29 -29
  110. package/dist/{help-WMABNXSF.js → help-6RELRVIW.js} +1 -1
  111. package/dist/{history-PNOTK4KM.js → history-GIIDYND3.js} +6 -6
  112. package/dist/hyperframe.manifest.json +1 -1
  113. package/dist/hyperframe.runtime.iife.js +17 -17
  114. package/dist/hyperframes-player.global.js +3 -3
  115. package/dist/{info-457IZRNA.js → info-LBUA2DXE.js} +7 -7
  116. package/dist/{init-QNOPZRQJ.js → init-QUPXBONY.js} +30 -33
  117. package/dist/{inspect-4PECXE65.js → inspect-CL42DJZ4.js} +28 -28
  118. package/dist/{installer-K6VCZN74.js → installer-VR7XDLR3.js} +4 -4
  119. package/dist/{keyframes-KBR4RHQO.js → keyframes-LELLROMA.js} +6 -6
  120. package/dist/{lambda-FSC3XJOQ.js → lambda-I6KFXWOO.js} +6 -6
  121. package/dist/{layout-PFXAKL65.js → layout-NR6SNRZE.js} +28 -28
  122. package/dist/{lint-MR7WHCBO.js → lint-DYEMSEQR.js} +7 -7
  123. package/dist/{lintProject-4IVYXS5J.js → lintProject-EA4NPL2X.js} +1 -1
  124. package/dist/{list-OCSE7GSX.js → list-RDURYO5U.js} +2 -2
  125. package/dist/{login-M4L3MHVL.js → login-VKLET5OL.js} +4 -4
  126. package/dist/{manager-F34TSFV6.js → manager-7TSUZKXU.js} +2 -2
  127. package/dist/{manager-G6G2WQU3.js → manager-IYT3THJN.js} +8 -8
  128. package/dist/{media-treatment-6ATFI5M2.js → media-treatment-I4AFEQZ3.js} +13 -13
  129. package/dist/{models-NPSWNLVS.js → models-LLPVGC2E.js} +12 -12
  130. package/dist/{motionShot-HVPC2V7Q.js → motionShot-6A6HH6IK.js} +15 -15
  131. package/dist/{normalize-audio-YEEAY2TB.js → normalize-audio-KVQJBYLT.js} +7 -7
  132. package/dist/{open-6LSE4QDQ.js → open-J4ZT4X3C.js} +14 -13
  133. package/dist/{parakeetRunner-HMDK2MEQ.js → parakeetRunner-FLUCIDIZ.js} +13 -13
  134. package/dist/{pipeline-GQV2DL2T.js → pipeline-RRVLGALQ.js} +8 -8
  135. package/dist/{play-NORPMDGV.js → play-QGJSXUVM.js} +19 -19
  136. package/dist/{preflight-SDPP63GU.js → preflight-SP2ZERBE.js} +9 -9
  137. package/dist/{present-BVPAEHE6.js → present-UR4YBHMX.js} +15 -15
  138. package/dist/{preview-C762R2VY.js → preview-6ENCRU4C.js} +19 -19
  139. package/dist/{producer-XXFVYAW6.js → producer-OMHZRY6A.js} +1 -1
  140. package/dist/{projectConfig-72HEHSHM.js → projectConfig-NGS7GJ47.js} +6 -6
  141. package/dist/{publication-QOK2NB7H.js → publication-6NYQA22Y.js} +2 -2
  142. package/dist/{publish-OVCPM2R4.js → publish-E6RE5VHB.js} +9 -9
  143. package/dist/{remove-background-BK7G24LO.js → remove-background-66PQRA7R.js} +9 -9
  144. package/dist/{render-BA4DJGH2.js → render-IMSGS6BD.js} +32 -32
  145. package/dist/{render-3RV5ZZHB.js → render-SBAZWXPO.js} +5 -5
  146. package/dist/{render-KCRWPUSH.js → render-ZLRJUFMX.js} +15 -15
  147. package/dist/{render-batch-EKMNALAK.js → render-batch-MO7LYZSP.js} +5 -5
  148. package/dist/renderSetupWorker.js +4 -4
  149. package/dist/{resolver-ZQAEKX2N.js → resolver-QMBVTAKT.js} +4 -4
  150. package/dist/{sherpa-UPEEZCVJ.js → sherpa-JZRDL3OE.js} +12 -12
  151. package/dist/skills/hyperframes/references/types/launch.md +12 -2
  152. package/dist/skills/media-use/references/memory.md +4 -0
  153. package/dist/skills/media-use/scripts/lib/prefs-store.concurrent.test.mjs +173 -0
  154. package/dist/skills/media-use/scripts/lib/prefs-store.mjs +46 -28
  155. package/dist/skills/media-use/scripts/lib/prefs-store.test.mjs +56 -0
  156. package/dist/{skills-EBCABDEA.js → skills-YBTEWFYS.js} +5 -5
  157. package/dist/{skillsUpdateCheck-2TBQ3R7X.js → skillsUpdateCheck-Z4HTDZJN.js} +3 -3
  158. package/dist/{snapshot-KRDQ6UFY.js → snapshot-5F5UV6H5.js} +33 -33
  159. package/dist/{src-FMPMLWOE.js → src-UTW3F2PM.js} +5 -5
  160. package/dist/{src-HODRARUH.js → src-WWXYV2TS.js} +8 -8
  161. package/dist/{staticProjectServer-NBWPYBIH.js → staticProjectServer-UHZ63C5O.js} +16 -16
  162. package/dist/studio/assets/{hyperframes-player-C3pgGOtp.js → hyperframes-player-DzdSmJdB.js} +3 -3
  163. package/dist/studio/assets/{index-5EFQxr70.js → index-C8hp9Y7c.js} +1 -1
  164. package/dist/studio/assets/{index-BbcMyD3j.js → index-dy6GQJn4.js} +116 -116
  165. package/dist/studio/index.html +1 -1
  166. package/dist/{studio-api-BOV2DTPC.js → studio-api-BHZ3PHL2.js} +9 -9
  167. package/dist/{studioServer-TSKSIQC3.js → studioServer-AFUXWRB5.js} +53 -52
  168. package/dist/{telemetry-RLKGEBGR.js → telemetry-UYKOT4OJ.js} +3 -3
  169. package/dist/{timeline-ADFTKSNX.js → timeline-K5NLEMH4.js} +17 -17
  170. package/dist/{tokens-2NKS4KAO.js → tokens-FCOSWE2O.js} +2 -2
  171. package/dist/{transcribe-AHNMYPY4.js → transcribe-K2QTXDQR.js} +17 -17
  172. package/dist/{transcribe-63XQBLF3.js → transcribe-SIFMTW5W.js} +11 -11
  173. package/dist/{updateCheck-XDYXIVKF.js → updateCheck-JZ6TBZVE.js} +2 -2
  174. package/dist/{upgrade-GK2RSMPV.js → upgrade-TUPAJXQQ.js} +2 -2
  175. package/dist/{urlDownloader-X2B7NQSQ.js → urlDownloader-L4775QID.js} +5 -5
  176. package/dist/{validate-UN4RB6KN.js → validate-4HVVMEBV.js} +22 -22
  177. package/dist/{video-QRWQLU5O.js → video-4OGPF3IE.js} +6 -6
  178. package/dist/warmCheck.js +35 -35
  179. package/package.json +1 -1
  180. package/dist/chunk-42DLVZNO.js +0 -3983
@@ -19,7 +19,7 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-CTNWZASM.js";
22
+ } from "./chunk-2FEOM3ZT.js";
23
23
  import {
24
24
  MEDIA_LINK_ATTR,
25
25
  relinkSplitHalves
@@ -32,7 +32,7 @@ import {
32
32
  requestedProjectPath,
33
33
  requiredFfmpeg,
34
34
  resolveLocalAudioPath
35
- } from "./chunk-FE72SB2F.js";
35
+ } from "./chunk-GSTFETKE.js";
36
36
  import {
37
37
  HistoryBusyError,
38
38
  MAX_WINDOW_IDLE_MS,
@@ -70,7 +70,7 @@ import {
70
70
  scanProjectMedia,
71
71
  shouldPrewarmProxy,
72
72
  waitForProxy
73
- } from "./chunk-KWQWEY6F.js";
73
+ } from "./chunk-MVXOY5RC.js";
74
74
  import {
75
75
  STUDIO_MOTION_PATH,
76
76
  createStudioMotionRenderBodyScript,
@@ -93,7 +93,7 @@ import {
93
93
  } from "./chunk-EOVYQ3IG.js";
94
94
  import {
95
95
  parseEncoderOptions
96
- } from "./chunk-KLIKCX6Q.js";
96
+ } from "./chunk-AYH5ANVS.js";
97
97
  import {
98
98
  STUDIO_MANUAL_EDITS_PATH
99
99
  } from "./chunk-EVMY7IPL.js";
@@ -111,18 +111,19 @@ import {
111
111
  PREVIEW_PROXY_RETRY_PARAM,
112
112
  formatPreviewProxyBox,
113
113
  formatRenderOutputTimestamp,
114
+ fpsToNumber,
114
115
  gsapCdnDist,
115
116
  motionPathPluginUrl,
116
117
  normalizeGsapBaseUrl,
117
118
  normalizeGsapLocalRoot,
118
119
  parseFps,
119
120
  parsePreviewProxyBox
120
- } from "./chunk-FRXPZCEP.js";
121
+ } from "./chunk-6GAYBX5C.js";
121
122
  import {
122
123
  addScenePartsManifest,
123
124
  ensureHfIds,
124
125
  stampHfIdsInPlace
125
- } from "./chunk-E3LRVXM2.js";
126
+ } from "./chunk-BHOGXIBO.js";
126
127
  import {
127
128
  AFTER_FONTS_SCRIPT_TYPE,
128
129
  RUNTIME_BOOTSTRAP_ATTR,
@@ -136,7 +137,7 @@ import {
136
137
  resolveRateSpec,
137
138
  sourceTimeAt,
138
139
  stripEmbeddedRuntimeScripts
139
- } from "./chunk-42DLVZNO.js";
140
+ } from "./chunk-ZUQZP6QD.js";
140
141
  import {
141
142
  HTML_ATTRIBUTE_ENTITIES,
142
143
  MagicString,
@@ -5549,7 +5550,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
5549
5550
  let block = extractGsapScriptBlock(html);
5550
5551
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
5551
5552
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
5552
- const { GSAP_CDN } = await import("./dist-SOMNYPEE.js");
5553
+ const { GSAP_CDN } = await import("./dist-DGFC75NC.js");
5553
5554
  const bootstrap = [
5554
5555
  `<script src="${GSAP_CDN}"></script>`,
5555
5556
  "<script>",
@@ -8022,7 +8023,8 @@ var VALID_RESOLUTIONS = new Set(VALID_CANVAS_RESOLUTIONS);
8022
8023
  var RENDER_MIME = {
8023
8024
  ".mp4": "video/mp4",
8024
8025
  ".webm": "video/webm",
8025
- ".mov": "video/quicktime"
8026
+ ".mov": "video/quicktime",
8027
+ ".gif": "image/gif"
8026
8028
  };
8027
8029
  var RENDER_EXTENSIONS = Object.keys(RENDER_MIME);
8028
8030
  var RENDER_ARTIFACT_EXTENSIONS = [...RENDER_EXTENSIONS, ".meta.json"];
@@ -8072,11 +8074,17 @@ function registerRenderRoutes(api, adapter) {
8072
8074
  const project = await adapter.resolveProject(c.req.param("id"));
8073
8075
  if (!project) return c.json({ error: "not found" }, 404);
8074
8076
  const body = await c.req.json().catch(() => ({}));
8075
- const VALID_FORMATS = /* @__PURE__ */ new Set(["mp4", "webm", "mov"]);
8076
- const FORMAT_EXT = { mp4: ".mp4", webm: ".webm", mov: ".mov" };
8077
- const format = VALID_FORMATS.has(body.format ?? "") ? body.format : "mp4";
8077
+ const VALID_FORMATS = ["mp4", "webm", "mov", "gif"];
8078
+ const FORMAT_EXT = {
8079
+ mp4: ".mp4",
8080
+ webm: ".webm",
8081
+ mov: ".mov",
8082
+ gif: ".gif"
8083
+ };
8084
+ const format = VALID_FORMATS.find((value) => value === body.format) ?? "mp4";
8078
8085
  const fpsParse = body.fps === void 0 ? null : parseFps(body.fps);
8079
- const fps = fpsParse && fpsParse.ok ? fpsParse.value : { num: 30, den: 1 };
8086
+ const requestedFps = fpsParse && fpsParse.ok ? fpsParse.value : { num: 30, den: 1 };
8087
+ const fps = format === "gif" && fpsToNumber(requestedFps) > 30 ? { num: 30, den: 1 } : requestedFps;
8080
8088
  const quality = ["draft", "standard", "high"].includes(body.quality ?? "") ? body.quality : "standard";
8081
8089
  const outputResolution = VALID_RESOLUTIONS.has(body.resolution ?? "") ? body.resolution : void 0;
8082
8090
  let composition;
@@ -8251,12 +8259,12 @@ function registerRenderRoutes(api, adapter) {
8251
8259
  if (!project) return c.json({ error: "not found" }, 404);
8252
8260
  const rendersDir = adapter.rendersDir(project);
8253
8261
  if (!existsSync6(rendersDir)) return c.json({ renders: [] });
8254
- const files = readdirSync3(rendersDir).filter((f) => f.endsWith(".mp4") || f.endsWith(".webm") || f.endsWith(".mov")).flatMap((f) => {
8262
+ const files = readdirSync3(rendersDir).filter((f) => RENDER_EXTENSIONS.some((extension) => f.endsWith(extension))).flatMap((f) => {
8255
8263
  const fp = resolveWithinProject(rendersDir, f);
8256
8264
  return fp && !isPrivateProjectFile(project.dir, fp) ? [{ f, fp }] : [];
8257
8265
  }).map(({ f, fp }) => {
8258
8266
  const stat2 = statSync5(fp);
8259
- const rid = f.replace(/\.(mp4|webm|mov)$/, "");
8267
+ const rid = f.replace(/\.(mp4|webm|mov|gif)$/, "");
8260
8268
  const metaPath = join10(rendersDir, `${rid}.meta.json`);
8261
8269
  let status = "complete";
8262
8270
  let durationMs;
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ISN5GRYI.js";
18
18
  import {
19
19
  VERSION
20
- } from "./chunk-X5PKA5KH.js";
20
+ } from "./chunk-KAIQPYCM.js";
21
21
 
22
22
  // src/utils/updateCheck.ts
23
23
  import { existsSync, readFileSync } from "fs";
@@ -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-GOWNPWCJ.js";
9
+ } from "./chunk-ZB6SCA4J.js";
10
10
  import {
11
11
  installPageFunctionGuard,
12
12
  resolveCliChromeGpuMode,
13
13
  seekCompositionTimeline,
14
14
  waitForRuntimeReady
15
- } from "./chunk-B7MRZJOW.js";
15
+ } from "./chunk-MASFRPCB.js";
16
16
  import {
17
17
  launchManagedBrowser,
18
18
  resolveManagedGpuMode
19
- } from "./chunk-IREQUN2P.js";
19
+ } from "./chunk-4RPCYGZG.js";
20
20
  import {
21
21
  pageNavigationTimeoutMs
22
- } from "./chunk-RZAPLMVM.js";
22
+ } from "./chunk-TGS33LDU.js";
23
23
  import {
24
24
  resolveCompositionViewportFromHtml
25
- } from "./chunk-3YZ2ESXP.js";
25
+ } from "./chunk-AECL3B23.js";
26
26
  import {
27
27
  defineCommand
28
28
  } from "./chunk-S3S4TGEH.js";
@@ -35,14 +35,14 @@ import {
35
35
  } from "./chunk-ZTZA4UWZ.js";
36
36
  import {
37
37
  resolveNaturalMediaTimelineDuration
38
- } from "./chunk-42DLVZNO.js";
38
+ } from "./chunk-ZUQZP6QD.js";
39
39
  import {
40
40
  decodeWellFormedEscapes
41
41
  } from "./chunk-2BGOB2QK.js";
42
42
  import {
43
43
  printDeprecationNotice,
44
44
  withMeta
45
- } from "./chunk-OKRH4JU3.js";
45
+ } from "./chunk-OB7QARSN.js";
46
46
  import {
47
47
  normalizeErrorMessage
48
48
  } from "./chunk-T2EUWCJE.js";
@@ -248,7 +248,7 @@ function extractCompositionErrorsFromLint(lintResult) {
248
248
  async function localizeRemoteAssets(html) {
249
249
  let dir;
250
250
  try {
251
- const { loadProducer } = await import("./producer-XXFVYAW6.js");
251
+ const { loadProducer } = await import("./producer-OMHZRY6A.js");
252
252
  const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
253
253
  dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
254
254
  const assetDir = dir;
@@ -269,10 +269,10 @@ async function localizeRemoteAssets(html) {
269
269
  }
270
270
  async function validateInBrowser(project, opts) {
271
271
  const projectDir = project.dir;
272
- const { bundleToSingleHtml } = await import("./compiler-6LUGBYWD.js");
273
- const { ensureBrowser } = await import("./manager-F34TSFV6.js");
274
- const { serveStaticProjectHtml } = await import("./staticProjectServer-NBWPYBIH.js");
275
- const { lintProject } = await import("./lintProject-4IVYXS5J.js");
272
+ const { bundleToSingleHtml } = await import("./compiler-ANIPXLJ7.js");
273
+ const { ensureBrowser } = await import("./manager-7TSUZKXU.js");
274
+ const { serveStaticProjectHtml } = await import("./staticProjectServer-UHZ63C5O.js");
275
+ const { lintProject } = await import("./lintProject-EA4NPL2X.js");
276
276
  const lintResult = await lintProject(projectDir);
277
277
  const compositionErrors = extractCompositionErrorsFromLint(lintResult);
278
278
  const html = await bundleToSingleHtml(projectDir);
@@ -293,9 +293,9 @@ async function validateInBrowser(project, opts) {
293
293
  try {
294
294
  const browser = await ensureBrowser();
295
295
  const puppeteer = await import("puppeteer-core");
296
- const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-FMPMLWOE.js");
296
+ const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-UTW3F2PM.js");
297
297
  const requestedGpuMode = resolveCliChromeGpuMode();
298
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-A6BRKFTK.js");
298
+ const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-4WLHUUS3.js");
299
299
  const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
300
300
  const requiresWebGpu = compositionRequiresWebGpu(html);
301
301
  const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-KBCV6BHL.js";
10
+ } from "./chunk-T2UR3T4L.js";
11
11
 
12
12
  // src/browser/gpuPolicy.ts
13
13
  function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
17
17
  return "auto";
18
18
  }
19
19
  async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
20
- const { resolveBrowserGpuMode } = await import("./src-FMPMLWOE.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-UTW3F2PM.js");
21
21
  return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
22
22
  }
23
23
  function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
@@ -28,7 +28,7 @@ import {
28
28
  renderFrameIdForRenderId,
29
29
  resolveAuthoredTimingWindow,
30
30
  toFps
31
- } from "./chunk-FRXPZCEP.js";
31
+ } from "./chunk-6GAYBX5C.js";
32
32
  import {
33
33
  AUDIO_GROUP_RENDER_ID_ATTR,
34
34
  COLOR_GRADING_SOURCE_HIDDEN_ATTR,
@@ -68,7 +68,7 @@ import {
68
68
  sourceTimeAt,
69
69
  timeAtSourceTime,
70
70
  volumeSegmentSampleCount
71
- } from "./chunk-42DLVZNO.js";
71
+ } from "./chunk-ZUQZP6QD.js";
72
72
  import {
73
73
  redactTelemetryString,
74
74
  redactUrlQueryStrings
@@ -86,7 +86,7 @@ import {
86
86
  } from "./chunk-4UMPIPCQ.js";
87
87
  import {
88
88
  resolveReferencedStart
89
- } from "./chunk-IDASYE4U.js";
89
+ } from "./chunk-KVNXEAVT.js";
90
90
  import {
91
91
  FFMPEG_PATH_ENV,
92
92
  FFPROBE_PATH_ENV,
@@ -1094,22 +1094,32 @@ var BEGINFRAME_ONLY_FLAGS = /* @__PURE__ */ new Set([
1094
1094
  function stripBeginFrameFlags(args) {
1095
1095
  return args.filter((a) => !BEGINFRAME_ONLY_FLAGS.has(a));
1096
1096
  }
1097
+ var BeginFrameProbeTimeout = class extends Error {
1098
+ };
1097
1099
  var BEGINFRAME_PROBE_TIMEOUT_MS = 2e3;
1100
+ var BEGINFRAME_PROBE_RETRY_TIMEOUT_MS = 8e3;
1098
1101
  var BEGINFRAME_PROBE_CLEANUP_TIMEOUT_MS = 250;
1099
1102
  async function awaitBeforeDeadline(operation, deadline, label) {
1100
1103
  const remainingMs = deadline - Date.now();
1101
1104
  if (remainingMs <= 0) {
1102
- throw new Error(`beginFrame probe timeout before ${label}`);
1105
+ throw new BeginFrameProbeTimeout(`beginFrame probe timeout before ${label}`);
1103
1106
  }
1104
- return rejectAfter(operation, remainingMs, `beginFrame probe timeout during ${label}`);
1107
+ return rejectAfter(
1108
+ operation,
1109
+ remainingMs,
1110
+ new BeginFrameProbeTimeout(`beginFrame probe timeout during ${label}`)
1111
+ );
1105
1112
  }
1106
- async function rejectAfter(operation, timeoutMs, message) {
1113
+ async function rejectAfter(operation, timeoutMs, error) {
1107
1114
  let timeout;
1108
1115
  try {
1109
1116
  return await Promise.race([
1110
1117
  operation,
1111
1118
  new Promise((_, reject) => {
1112
- timeout = setTimeout(() => reject(new Error(message)), timeoutMs);
1119
+ timeout = setTimeout(
1120
+ () => reject(typeof error === "string" ? new Error(error) : error),
1121
+ timeoutMs
1122
+ );
1113
1123
  })
1114
1124
  ]);
1115
1125
  } finally {
@@ -1199,7 +1209,8 @@ async function probeBeginFrameSupport(browser, timeoutMs = BEGINFRAME_PROBE_TIME
1199
1209
  );
1200
1210
  }
1201
1211
  if (!isPng) {
1202
- throw new Error(
1212
+ const Failure = bytes.length === 0 ? BeginFrameProbeTimeout : Error;
1213
+ throw new Failure(
1203
1214
  `beginFrame screenshot returned ${bytes.length} bytes after ${attempts} attempts in ${Date.now() - started}ms with signature ${bytes.length >= 4 ? bytes.subarray(0, 4).toString("hex") : "<empty>"}`
1204
1215
  );
1205
1216
  }
@@ -1214,7 +1225,8 @@ async function probeBeginFrameSupport(browser, timeoutMs = BEGINFRAME_PROBE_TIME
1214
1225
  result = {
1215
1226
  supported: false,
1216
1227
  detail: error instanceof Error ? error.message : String(error),
1217
- durationMs: Date.now() - started
1228
+ durationMs: Date.now() - started,
1229
+ timedOut: error instanceof BeginFrameProbeTimeout
1218
1230
  };
1219
1231
  }
1220
1232
  if (page && !await settleWithin(page.close(), BEGINFRAME_PROBE_CLEANUP_TIMEOUT_MS)) {
@@ -1382,17 +1394,24 @@ async function launchBrowser(fingerprint) {
1382
1394
  const env = launchEnv(fingerprint);
1383
1395
  let captureMode = fingerprint.requestedCaptureMode;
1384
1396
  let browser;
1397
+ const launch = (args) => ppt.launch({
1398
+ ...sigintLaunchOptions(),
1399
+ headless: true,
1400
+ args: withHyperframesBrowserMarker(args),
1401
+ defaultViewport: null,
1402
+ executablePath: fingerprint.executablePath,
1403
+ env,
1404
+ timeout: fingerprint.browserTimeoutMs,
1405
+ protocolTimeout: fingerprint.protocolTimeoutMs
1406
+ });
1407
+ const probe = (target, timeoutMs) => probeBeginFrameSupport(target, timeoutMs).catch((error) => ({
1408
+ supported: true,
1409
+ detail: `probe harness error ignored: ${error instanceof Error ? error.message : String(error)}`,
1410
+ durationMs: 0,
1411
+ timedOut: false
1412
+ }));
1385
1413
  try {
1386
- browser = await ppt.launch({
1387
- ...sigintLaunchOptions(),
1388
- headless: true,
1389
- args: withHyperframesBrowserMarker(fingerprint.args),
1390
- defaultViewport: null,
1391
- executablePath: fingerprint.executablePath,
1392
- env,
1393
- timeout: fingerprint.browserTimeoutMs,
1394
- protocolTimeout: fingerprint.protocolTimeoutMs
1395
- });
1414
+ browser = await launch(fingerprint.args);
1396
1415
  const browserVersion = await browser.version().catch(() => "unknown");
1397
1416
  const gpuFlags = fingerprint.args.filter(
1398
1417
  (a) => a.startsWith("--use-gl=") || a.startsWith("--use-angle=")
@@ -1401,28 +1420,23 @@ async function launchBrowser(fingerprint) {
1401
1420
  `[BrowserManager] Browser launched (${browserVersion}, ${captureMode}, gl=${gpuFlags.join(" ") || "default"}, headlessShell=${!!fingerprint.executablePath}, platform=${process.platform})`
1402
1421
  );
1403
1422
  if (captureMode === "beginframe") {
1404
- const probe = await probeBeginFrameSupport(browser).catch((error) => ({
1405
- supported: true,
1406
- detail: `probe harness error ignored: ${error instanceof Error ? error.message : String(error)}`,
1407
- durationMs: 0
1408
- }));
1409
- if (!probe.supported) {
1423
+ let result = await probe(browser);
1424
+ if (!result.supported && result.timedOut) {
1425
+ console.warn(
1426
+ `[BrowserManager] HeadlessExperimental.beginFrame probe timed out after ${result.durationMs}ms: ${result.detail}; retrying once with a longer budget.`
1427
+ );
1428
+ await closeBrowserAfterFailedProbe(browser);
1429
+ browser = await launch(fingerprint.args);
1430
+ result = await probe(browser, BEGINFRAME_PROBE_RETRY_TIMEOUT_MS);
1431
+ }
1432
+ if (!result.supported) {
1410
1433
  await closeBrowserAfterFailedProbe(browser);
1411
1434
  browser = void 0;
1412
1435
  console.warn(
1413
- `[BrowserManager] HeadlessExperimental.beginFrame probe failed after ${probe.durationMs}ms: ${probe.detail}; falling back to screenshot mode.`
1436
+ `[BrowserManager] HeadlessExperimental.beginFrame probe failed after ${result.durationMs}ms: ${result.detail}; falling back to screenshot mode.`
1414
1437
  );
1415
1438
  captureMode = "screenshot";
1416
- browser = await ppt.launch({
1417
- ...sigintLaunchOptions(),
1418
- headless: true,
1419
- args: withHyperframesBrowserMarker(stripBeginFrameFlags([...fingerprint.args])),
1420
- defaultViewport: null,
1421
- executablePath: fingerprint.executablePath,
1422
- env,
1423
- timeout: fingerprint.browserTimeoutMs,
1424
- protocolTimeout: fingerprint.protocolTimeoutMs
1425
- });
1439
+ browser = await launch(stripBeginFrameFlags([...fingerprint.args]));
1426
1440
  }
1427
1441
  }
1428
1442
  return { browser, captureMode };
@@ -3048,18 +3062,22 @@ async function ensureRenderFrameSiblings(page) {
3048
3062
  RENDER_FRAME_ID_SUFFIX
3049
3063
  );
3050
3064
  }
3051
- async function injectVideoFramesBatch(page, updates) {
3052
- if (updates.length === 0) return [];
3065
+ async function injectVideoFramesBatch(page, updates, restyleIds = []) {
3066
+ if (updates.length === 0 && restyleIds.length === 0) return [];
3053
3067
  return withVideoFrameSources(
3054
3068
  page,
3055
3069
  updates,
3056
- (resolved) => injectResolvedVideoFramesBatch(page, resolved)
3070
+ (resolved) => injectResolvedVideoFramesBatch(page, resolved, restyleIds)
3057
3071
  );
3058
3072
  }
3059
- async function injectResolvedVideoFramesBatch(page, updates) {
3073
+ async function injectResolvedVideoFramesBatch(page, updates, restyleIds) {
3074
+ const items = [
3075
+ ...updates,
3076
+ ...restyleIds.map((videoId) => ({ videoId }))
3077
+ ].map((item) => ({ ...item, frameId: renderFrameIdForRenderId(item.videoId) }));
3060
3078
  return await page.evaluate(
3061
3079
  // fallow-ignore-next-line complexity
3062
- async (items, visualProperties, colorGradingSourceHiddenAttr) => {
3080
+ async (items2, visualProperties, colorGradingSourceHiddenAttr) => {
3063
3081
  const injectedIds = [];
3064
3082
  const pendingDecodes = [];
3065
3083
  const imagesToPublish = [];
@@ -3084,11 +3102,13 @@ async function injectResolvedVideoFramesBatch(page, updates) {
3084
3102
  }
3085
3103
  return false;
3086
3104
  };
3087
- for (const item of items) {
3105
+ for (const item of items2) {
3088
3106
  const video = window.__hfMediaEl?.(item.videoId) ?? document.getElementById(item.videoId);
3089
3107
  if (!video) continue;
3090
3108
  let img = video.nextElementSibling;
3091
3109
  const hasImg = img !== null && img.classList.contains("__render_frame__");
3110
+ const restyleOnly = item.dataUri === void 0;
3111
+ if (restyleOnly && !hasImg) continue;
3092
3112
  if (isVisualAncestorHidden(video)) {
3093
3113
  if (hasImg && img) img.style.setProperty("visibility", "hidden", "important");
3094
3114
  continue;
@@ -3136,7 +3156,7 @@ async function injectResolvedVideoFramesBatch(page, updates) {
3136
3156
  img.style.zIndex = computedStyle.zIndex;
3137
3157
  img.style.setProperty("visibility", "hidden", "important");
3138
3158
  img.decoding = "sync";
3139
- if (img.getAttribute("src") !== item.dataUri) {
3159
+ if (item.dataUri !== void 0 && img.getAttribute("src") !== item.dataUri) {
3140
3160
  if (item.crossOrigin) img.crossOrigin = item.crossOrigin;
3141
3161
  else img.removeAttribute("crossorigin");
3142
3162
  img.src = item.dataUri;
@@ -3153,21 +3173,19 @@ async function injectResolvedVideoFramesBatch(page, updates) {
3153
3173
  imagesToPublish.push(img);
3154
3174
  video.style.setProperty("visibility", "hidden", "important");
3155
3175
  video.style.setProperty("pointer-events", "none", "important");
3156
- injectedIds.push(item.videoId);
3176
+ if (!restyleOnly) injectedIds.push(item.videoId);
3157
3177
  }
3158
3178
  if (pendingDecodes.length > 0) {
3159
3179
  await Promise.all(pendingDecodes);
3160
3180
  }
3161
3181
  for (const img of imagesToPublish) img.style.visibility = "visible";
3162
- if (injectedIds.length > 0) {
3182
+ if (imagesToPublish.length > 0) {
3163
3183
  const redraw = window.__hf?.colorGrading?.redraw;
3164
3184
  redraw?.();
3165
3185
  }
3166
3186
  return injectedIds;
3167
3187
  },
3168
- // Build the sibling id with core's function rather than a template here,
3169
- // so the id the readers look up has exactly one definition.
3170
- updates.map((update) => ({ ...update, frameId: renderFrameIdForRenderId(update.videoId) })),
3188
+ items,
3171
3189
  [...MEDIA_VISUAL_STYLE_PROPERTIES],
3172
3190
  COLOR_GRADING_SOURCE_HIDDEN_ATTR
3173
3191
  );
@@ -7885,7 +7903,7 @@ async function discardWarmupCapture(session, frameIndex = 0, time = 0, innerCapt
7885
7903
  async function closeCaptureSession(session) {
7886
7904
  if (session.chromeMemory) {
7887
7905
  session.chromeMemory.stop();
7888
- await session.chromeMemory.sampleOnce();
7906
+ await waitForCloseWithTimeout(session.chromeMemory.sampleOnce());
7889
7907
  }
7890
7908
  if (session.page && !session.pageReleased) {
7891
7909
  const blur = await describePageMotionBlurAtEnd(session.page);
@@ -14247,13 +14265,18 @@ function createVideoFrameInjector(frameLookup, config) {
14247
14265
  }
14248
14266
  }
14249
14267
  const updates = [];
14268
+ const restyleIds = [];
14250
14269
  const activeIds = /* @__PURE__ */ new Set();
14270
+ const isBlurSubSample = heldVideoTime !== void 0 && heldVideoTime !== time;
14251
14271
  if (activePayloads.size > 0) {
14252
14272
  const pendingReads = [];
14253
14273
  for (const [videoId, payload] of activePayloads) {
14254
14274
  activeIds.add(videoId);
14255
14275
  const lastFrameIndex = lastInjectedFrameByVideo.get(videoId);
14256
- if (lastFrameIndex === payload.frameIndex) continue;
14276
+ if (lastFrameIndex === payload.frameIndex) {
14277
+ if (!isBlurSubSample) restyleIds.push(videoId);
14278
+ continue;
14279
+ }
14257
14280
  pendingReads.push(
14258
14281
  frameCache.get(payload.framePath).then((dataUri) => ({ videoId, dataUri, frameIndex: payload.frameIndex }))
14259
14282
  );
@@ -14266,11 +14289,12 @@ function createVideoFrameInjector(frameLookup, config) {
14266
14289
  }
14267
14290
  }
14268
14291
  await syncVideoFrameVisibility(page, Array.from(activeIds));
14269
- if (updates.length > 0) {
14292
+ if (updates.length > 0 || restyleIds.length > 0) {
14270
14293
  const injectedIds = new Set(
14271
14294
  await injectVideoFramesBatch(
14272
14295
  page,
14273
- updates.map((u) => ({ videoId: u.videoId, dataUri: u.dataUri }))
14296
+ updates.map((u) => ({ videoId: u.videoId, dataUri: u.dataUri })),
14297
+ restyleIds
14274
14298
  )
14275
14299
  );
14276
14300
  for (const update of updates) {
@@ -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-DO2OTFCJ.js";
9
+ } from "./chunk-XNAIYEKD.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-KBCV6BHL.js";
19
+ } from "./chunk-T2UR3T4L.js";
20
20
  import {
21
21
  parseFps
22
- } from "./chunk-FRXPZCEP.js";
22
+ } from "./chunk-6GAYBX5C.js";
23
23
 
24
24
  // src/browser/windowsCrash.ts
25
25
  var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-5ETJX6WM.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-H6NXL4VB.js";
19
+ } from "./chunk-KBZSMKKD.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-ZTZA4UWZ.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-KBCV6BHL.js";
32
+ } from "./chunk-T2UR3T4L.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
@@ -41,14 +41,14 @@ import {
41
41
  import {
42
42
  getUpdateMeta,
43
43
  withMeta
44
- } from "./chunk-OKRH4JU3.js";
44
+ } from "./chunk-OB7QARSN.js";
45
45
  import {
46
46
  CONFIG_PATH,
47
47
  withFileLock
48
48
  } from "./chunk-PSX5SF2N.js";
49
49
  import {
50
50
  VERSION
51
- } from "./chunk-X5PKA5KH.js";
51
+ } from "./chunk-KAIQPYCM.js";
52
52
  import {
53
53
  normalizeErrorMessage
54
54
  } from "./chunk-T2EUWCJE.js";
@@ -234,7 +234,7 @@ function checkEnvironment() {
234
234
  return { ok: true, detail: parts.join(" \xB7 ") };
235
235
  }
236
236
  async function checkWhisper() {
237
- const { findWhisper, getInstallInstructions } = await import("./manager-G6G2WQU3.js");
237
+ const { findWhisper, getInstallInstructions } = await import("./manager-IYT3THJN.js");
238
238
  const result = findWhisper();
239
239
  if (result) {
240
240
  return { ok: true, detail: result.executablePath };
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-VYFMJ2HM.js";
10
+ } from "./chunk-GBQCTZON.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-JVWPKIVV.js";
15
+ } from "./chunk-RQDVTUVD.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-TT6HSBYK.js";
18
+ } from "./chunk-JFNB4CMI.js";
19
19
  import {
20
20
  STUDIO_PREVIEW_CAPTURE_MODE,
21
21
  STUDIO_PREVIEW_MARK_META
22
- } from "./chunk-HAKKV3SY.js";
22
+ } from "./chunk-NF6KI46X.js";
23
23
  import {
24
24
  artifactDirectory,
25
25
  finishSnapshotRun
@@ -31,7 +31,7 @@ import {
31
31
  proxyVariantFor,
32
32
  resolveProxies,
33
33
  scanProjectMediaCodecMap
34
- } from "./chunk-KWQWEY6F.js";
34
+ } from "./chunk-MVXOY5RC.js";
35
35
  import {
36
36
  AUDIT_SEEK_OPTIONS,
37
37
  DEFAULT_ZOOM_PADDING_PX,
@@ -45,21 +45,21 @@ import {
45
45
  seekCompositionTimeline,
46
46
  seekInPage,
47
47
  waitForPreferredSeekTarget
48
- } from "./chunk-B7MRZJOW.js";
48
+ } from "./chunk-MASFRPCB.js";
49
49
  import {
50
50
  BrowserCleanupError,
51
51
  closeManagedBrowser,
52
52
  onStopSignal
53
- } from "./chunk-IREQUN2P.js";
53
+ } from "./chunk-4RPCYGZG.js";
54
54
  import {
55
55
  findStageProxyBox
56
- } from "./chunk-3YZ2ESXP.js";
56
+ } from "./chunk-AECL3B23.js";
57
57
  import {
58
58
  resolveAutoProxy
59
- } from "./chunk-ND5ELD7A.js";
59
+ } from "./chunk-UR6BAPOD.js";
60
60
  import {
61
61
  injectTagsAtHeadStart
62
- } from "./chunk-42DLVZNO.js";
62
+ } from "./chunk-ZUQZP6QD.js";
63
63
  import {
64
64
  normalizeErrorMessage
65
65
  } from "./chunk-T2EUWCJE.js";
@@ -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-INYZKCJN.js");
576
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-I3BWMRSP.js");
577
577
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
578
578
  }
579
579
  function withCapturePreviewMark(html) {
@@ -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-FMPMLWOE.js");
638
+ const { analyzeClipMediaFit } = await import("./src-UTW3F2PM.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
  }
@@ -771,7 +771,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
771
771
  async function captureFindingFrames(project, options, requests, deadline) {
772
772
  if (requests.length === 0) return { written: [], inspected: [] };
773
773
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
774
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-INYZKCJN.js");
774
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-I3BWMRSP.js");
775
775
  return withCapturePreviewMark(
776
776
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
777
777
  );