hyperframes 0.8.201 → 0.8.203

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 (187) hide show
  1. package/dist/{add-33XNCMY4.js → add-HVWZZBVO.js} +15 -13
  2. package/dist/{animatedGifPrep-MI7Z4OYQ.js → animatedGifPrep-7SQD4XQY.js} +11 -9
  3. package/dist/api.js +23 -21
  4. package/dist/{asset-RMRQN24O.js → asset-H2D5ENJ6.js} +4 -3
  5. package/dist/{assetCataloger-KWTQNFUU.js → assetCataloger-PIRQXMHM.js} +11 -9
  6. package/dist/{audio-SQDZZS6X.js → audio-F6TTYCGR.js} +21 -19
  7. package/dist/{auth-PNC6K5ZD.js → auth-HK5IYSNR.js} +1 -1
  8. package/dist/{autoUpdate-MBZFLUF2.js → autoUpdate-DQMCXE6X.js} +2 -2
  9. package/dist/{backgroundChecks-ZMSPA6TK.js → backgroundChecks-Y466WV7Y.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-2MMOZRMW.js → batchRender-PGJELR2B.js} +8 -6
  12. package/dist/{beats-GDLNPR4A.js → beats-AD2IJGBZ.js} +13 -11
  13. package/dist/{benchmark-AUKB3XDF.js → benchmark-B564OTLO.js} +12 -10
  14. package/dist/{browser-C3AU5TST.js → browser-B7BELTLZ.js} +3 -3
  15. package/dist/{bundleWithLocalizedFonts-G3UT65XI.js → bundleWithLocalizedFonts-INYZKCJN.js} +4 -4
  16. package/dist/{capture-XGBPNGC5.js → capture-LKV2HS5Q.js} +2 -2
  17. package/dist/{capture-EKNPCFPF.js → capture-VMJVXQJ2.js} +14 -12
  18. package/dist/{captureCompositionFrame-4HHLPTDH.js → captureCompositionFrame-L2W6KSAL.js} +16 -15
  19. package/dist/{catalog-HLDNEJX3.js → catalog-5ETWOAL2.js} +15 -13
  20. package/dist/{catch-up-LRFV4LJO.js → catch-up-3RWU3BRJ.js} +4 -4
  21. package/dist/{check-XWHWGNYE.js → check-KD57MC5Z.js} +40 -39
  22. package/dist/{checkBrowser-KSOBXPJ3.js → checkBrowser-R72NYI4S.js} +36 -33
  23. package/dist/{chunk-ZDVJXWEG.js → chunk-2G6EI3WQ.js} +3 -3
  24. package/dist/chunk-2RY2LWAA.js +3466 -0
  25. package/dist/{chunk-TOT3CLUK.js → chunk-32SIPBON.js} +1 -1
  26. package/dist/{chunk-47NZWTJL.js → chunk-35KHQKEX.js} +5 -5
  27. package/dist/{chunk-B7CYKBXQ.js → chunk-3CISA3OS.js} +1 -1
  28. package/dist/{chunk-XONIZ5CH.js → chunk-3NUFUEAX.js} +235 -38
  29. package/dist/{chunk-GKXH4C2B.js → chunk-3YZ2ESXP.js} +5 -6
  30. package/dist/chunk-42DLVZNO.js +3983 -0
  31. package/dist/{chunk-B67P2WP3.js → chunk-4GV742H2.js} +2 -2
  32. package/dist/{chunk-WO3XZ6HC.js → chunk-5GFNMC2F.js} +2 -2
  33. package/dist/{chunk-CFUCHO4T.js → chunk-6MUI2H6P.js} +1 -1
  34. package/dist/{chunk-IFOZZYHK.js → chunk-7RQXBL4L.js} +8 -8
  35. package/dist/{chunk-JOI7TNCX.js → chunk-7SNVSO4A.js} +1 -1
  36. package/dist/{chunk-K2AUGELJ.js → chunk-AII6P2TC.js} +1 -1
  37. package/dist/{chunk-U2EK5MFR.js → chunk-B7MRZJOW.js} +9 -9
  38. package/dist/{chunk-6XGO7ZKS.js → chunk-BD3LJRJT.js} +1 -1
  39. package/dist/{chunk-RVKJDAYE.js → chunk-CAHZZOEC.js} +1 -1
  40. package/dist/{chunk-X72DJZCM.js → chunk-CFFPH6D3.js} +1 -1
  41. package/dist/{chunk-3J5KO4EJ.js → chunk-CTNWZASM.js} +5 -5
  42. package/dist/{chunk-YTBE4JCX.js → chunk-DO2OTFCJ.js} +2 -2
  43. package/dist/{chunk-GNX3BCQP.js → chunk-DZZ6VHPY.js} +1 -1
  44. package/dist/{chunk-SEAHCCQ4.js → chunk-E3LRVXM2.js} +3 -3
  45. package/dist/{chunk-FDWN4XAD.js → chunk-EUFBE5BW.js} +2 -2
  46. package/dist/{chunk-UIIGEPYY.js → chunk-FE72SB2F.js} +2 -2
  47. package/dist/chunk-FR7YBU3H.js +179 -0
  48. package/dist/{chunk-74UH2KGI.js → chunk-FRXPZCEP.js} +7 -3
  49. package/dist/{chunk-Q6SHXSZX.js → chunk-FTARAZAL.js} +1 -1
  50. package/dist/{chunk-GC6N2LH5.js → chunk-GOPGJXEQ.js} +7 -7
  51. package/dist/{chunk-ITJAHKYO.js → chunk-GOWNPWCJ.js} +1 -1
  52. package/dist/{chunk-SDYDNHEE.js → chunk-GWTIFRF5.js} +262 -3711
  53. package/dist/{chunk-I4DHHX7E.js → chunk-GX4CEJCX.js} +3 -3
  54. package/dist/{chunk-IHQBTZHE.js → chunk-H6NXL4VB.js} +1 -1
  55. package/dist/{chunk-53E45AKI.js → chunk-HAKKV3SY.js} +22 -13
  56. package/dist/{chunk-VCVUEK65.js → chunk-HO2N4UWV.js} +2 -2
  57. package/dist/{chunk-SIZYTGG4.js → chunk-HOQNNE3I.js} +1 -1
  58. package/dist/{chunk-YBJECXQJ.js → chunk-HYMW42OE.js} +3 -3
  59. package/dist/{chunk-CV32PRH3.js → chunk-IDASYE4U.js} +5 -3
  60. package/dist/{chunk-TYRDDIIH.js → chunk-IREQUN2P.js} +1 -1
  61. package/dist/{chunk-7EJ7OZGC.js → chunk-JEFIEL6S.js} +1 -1
  62. package/dist/{chunk-6UFEOVR5.js → chunk-JKUVH7BF.js} +1 -1
  63. package/dist/{chunk-QTWSMJ22.js → chunk-JVWPKIVV.js} +13 -13
  64. package/dist/{chunk-UKB62QOT.js → chunk-KBCV6BHL.js} +5 -5
  65. package/dist/{chunk-Q537KXWA.js → chunk-KWQWEY6F.js} +298 -92
  66. package/dist/chunk-ML7IPYOC.js +39 -0
  67. package/dist/{chunk-2FA53V5S.js → chunk-MPGJNUML.js} +2 -2
  68. package/dist/{chunk-UOSTDTBF.js → chunk-ND5ELD7A.js} +1 -1
  69. package/dist/{chunk-SZNCAINN.js → chunk-OKRH4JU3.js} +1 -1
  70. package/dist/{chunk-QYTGUWNF.js → chunk-OKZZWUZN.js} +1 -1
  71. package/dist/{chunk-6BNTGNGD.js → chunk-PBNWRWKA.js} +1 -1
  72. package/dist/{chunk-57GN6KWT.js → chunk-PLGGKTCB.js} +15 -1
  73. package/dist/{chunk-LVEXHBSH.js → chunk-Q6B7MFTU.js} +1 -1
  74. package/dist/{chunk-XG365L6T.js → chunk-R36C6H32.js} +1 -1
  75. package/dist/{chunk-SGKG7DNX.js → chunk-RUVO77RK.js} +3 -3
  76. package/dist/{chunk-DWULQYOQ.js → chunk-RWHMKGJA.js} +3 -3
  77. package/dist/{chunk-T33GLS6C.js → chunk-RZAPLMVM.js} +3 -3
  78. package/dist/{chunk-MSGWR7WP.js → chunk-SVVAUJPL.js} +33 -83
  79. package/dist/{chunk-ORMTNJBS.js → chunk-TMIX2WQL.js} +3 -3
  80. package/dist/{chunk-VF2VMKNI.js → chunk-TRDUMOUW.js} +3 -3
  81. package/dist/{chunk-A7YO6YSD.js → chunk-TT6HSBYK.js} +5 -5
  82. package/dist/{chunk-VKTUZP7U.js → chunk-TVC4EI2W.js} +1 -1
  83. package/dist/{chunk-QXBZ6VBL.js → chunk-TZKMAQOY.js} +2 -2
  84. package/dist/{chunk-AK2MOAJY.js → chunk-UNBGZQZ6.js} +21 -18
  85. package/dist/{chunk-IDRUJFT4.js → chunk-UVV2DKZR.js} +2 -2
  86. package/dist/{chunk-DS3XITZ5.js → chunk-VI7GBPF6.js} +2 -2
  87. package/dist/{chunk-L33EDCSR.js → chunk-VL5ES6ZM.js} +6 -6
  88. package/dist/{chunk-TAXGZAXM.js → chunk-VYFMJ2HM.js} +23 -20
  89. package/dist/{chunk-7WEGIXI3.js → chunk-WGZOPGHX.js} +1 -1
  90. package/dist/{chunk-IIH24PKY.js → chunk-X5PKA5KH.js} +2 -2
  91. package/dist/{chunk-CD5ZU6PN.js → chunk-YJKSLCKV.js} +5 -5
  92. package/dist/{chunk-XHVQIOOF.js → chunk-YOLS2E5P.js} +156 -24
  93. package/dist/{chunk-442JNXRM.js → chunk-ZBAF6L74.js} +1 -1
  94. package/dist/{clean-EUKURSX2.js → clean-7OBS6NMK.js} +20 -18
  95. package/dist/cli.js +53 -53
  96. package/dist/{cloud-LJDRNQ2N.js → cloud-JFL6IMUV.js} +4 -4
  97. package/dist/{cloudrun-AXVFD6KV.js → cloudrun-GHA4FXS3.js} +10 -8
  98. package/dist/{compare-T3LMATAF.js → compare-UFTPPNLD.js} +31 -30
  99. package/dist/{compiler-KH6DMHIJ.js → compiler-6LUGBYWD.js} +8 -6
  100. package/dist/{component-2FOHCMP2.js → component-4W3MT53Y.js} +5 -4
  101. package/dist/{compositions-REQ6ARAO.js → compositions-63M4AHPA.js} +18 -16
  102. package/dist/{delete-KEPP2QAZ.js → delete-XCSORSYR.js} +2 -2
  103. package/dist/{deploy-N756FEME.js → deploy-JUC2BVCE.js} +72 -20
  104. package/dist/{deterministicFonts-4FULD3AS.js → deterministicFonts-HQYCUUAL.js} +5 -3
  105. package/dist/{dist-TFHABY7N.js → dist-6JMYDD7F.js} +4 -3
  106. package/dist/{dist-5ULOGA6A.js → dist-SOMNYPEE.js} +12 -4
  107. package/dist/{doctor-2SJPC4WZ.js → doctor-LZ5KMUGS.js} +15 -13
  108. package/dist/{dom-37K6YOH4.js → dom-VFHEO7VM.js} +3 -2
  109. package/dist/{events-24ZE2PKB.js → events-DSJDLP3V.js} +3 -3
  110. package/dist/{events-U53QH4XZ.js → events-XN26WXN3.js} +2 -2
  111. package/dist/{feedback-QFMLDLUN.js → feedback-VZZT77OU.js} +11 -9
  112. package/dist/{ffmpeg-7XNWNO7M.js → ffmpeg-TU5BPXP6.js} +11 -9
  113. package/dist/{figma-B4JO44CV.js → figma-BYBMKBNS.js} +3 -3
  114. package/dist/fontLocalizeCli.js +15 -13
  115. package/dist/{get-7CFVCINR.js → get-JAKXQVNF.js} +2 -2
  116. package/dist/{gpuPolicy-MU7CFSAF.js → gpuPolicy-A6BRKFTK.js} +11 -9
  117. package/dist/{grade-compare-Q23U2HGS.js → grade-compare-6TLS63GE.js} +32 -31
  118. package/dist/{help-M67MEDV3.js → help-WMABNXSF.js} +1 -1
  119. package/dist/{history-I2PZXOFL.js → history-PNOTK4KM.js} +6 -6
  120. package/dist/hyperframe.manifest.json +1 -1
  121. package/dist/hyperframe.runtime.iife.js +65 -65
  122. package/dist/hyperframes-player.global.js +1 -1
  123. package/dist/{info-Z2MX54IE.js → info-457IZRNA.js} +14 -12
  124. package/dist/{init-SWH5KZO2.js → init-QNOPZRQJ.js} +32 -30
  125. package/dist/{inspect-WBBDB3YS.js → inspect-4PECXE65.js} +32 -31
  126. package/dist/inspection.js +2088 -0
  127. package/dist/{installer-DQIHGUBJ.js → installer-K6VCZN74.js} +8 -6
  128. package/dist/{keyframes-PSNEUS6P.js → keyframes-KBR4RHQO.js} +12 -11
  129. package/dist/{lambda-KSZFMQ3L.js → lambda-FSC3XJOQ.js} +26 -12
  130. package/dist/{layout-AAOI7W2M.js → layout-PFXAKL65.js} +32 -31
  131. package/dist/{lint-GGNVITIK.js → lint-MR7WHCBO.js} +10 -9
  132. package/dist/{lintProject-Q36Y3AHA.js → lintProject-4IVYXS5J.js} +4 -3
  133. package/dist/{list-OFPDL2AM.js → list-OCSE7GSX.js} +2 -2
  134. package/dist/live-LAHBXVK2.js +4165 -0
  135. package/dist/{login-MZAHGGP4.js → login-M4L3MHVL.js} +4 -4
  136. package/dist/{manager-ZOFTZTRY.js → manager-G6G2WQU3.js} +12 -10
  137. package/dist/{media-treatment-PF67GSUD.js → media-treatment-6ATFI5M2.js} +18 -16
  138. package/dist/{models-WR7CL54R.js → models-NPSWNLVS.js} +15 -13
  139. package/dist/{motionShot-ISLDWLIU.js → motionShot-HVPC2V7Q.js} +19 -18
  140. package/dist/{normalize-FASIPBUM.js → normalize-QJVXFMWO.js} +3 -2
  141. package/dist/{normalize-audio-D7AH5GFZ.js → normalize-audio-YEEAY2TB.js} +13 -11
  142. package/dist/{open-HPVBB2CX.js → open-6LSE4QDQ.js} +15 -13
  143. package/dist/{parakeetRunner-P6PE4WXG.js → parakeetRunner-HMDK2MEQ.js} +16 -14
  144. package/dist/{pipeline-XKBZG2CM.js → pipeline-GQV2DL2T.js} +12 -10
  145. package/dist/{play-QXHO47ZH.js → play-NORPMDGV.js} +23 -21
  146. package/dist/{preflight-KZCU66ES.js → preflight-SDPP63GU.js} +12 -10
  147. package/dist/{present-ERGC5PR4.js → present-BVPAEHE6.js} +19 -17
  148. package/dist/{preview-AGTOQIE7.js → preview-C762R2VY.js} +22 -20
  149. package/dist/{producer-4ONVM5A2.js → producer-XXFVYAW6.js} +1 -1
  150. package/dist/{projectConfig-7T4VY6RJ.js → projectConfig-72HEHSHM.js} +10 -8
  151. package/dist/{publication-J5TS5VR3.js → publication-QOK2NB7H.js} +6 -4
  152. package/dist/{publish-BSOVXRF4.js → publish-OVCPM2R4.js} +14 -12
  153. package/dist/{remove-background-645NVCGL.js → remove-background-BK7G24LO.js} +13 -11
  154. package/dist/{render-55TYPJ5U.js → render-3RV5ZZHB.js} +20 -16
  155. package/dist/{render-R3L44QAP.js → render-BA4DJGH2.js} +34 -32
  156. package/dist/{render-IAVH33YG.js → render-KCRWPUSH.js} +20 -18
  157. package/dist/{render-batch-JWWLQ7ZC.js → render-batch-EKMNALAK.js} +20 -16
  158. package/dist/renderSetupWorker.js +4 -3
  159. package/dist/{resolver-DBAFWC4F.js → resolver-ZQAEKX2N.js} +8 -6
  160. package/dist/{sherpa-UPWG6TKY.js → sherpa-UPEEZCVJ.js} +15 -13
  161. package/dist/skills/hyperframes-cli/references/lambda.md +1 -0
  162. package/dist/{skills-ILH52UL4.js → skills-EBCABDEA.js} +5 -5
  163. package/dist/{skillsUpdateCheck-ZHFDGMEL.js → skillsUpdateCheck-2TBQ3R7X.js} +3 -3
  164. package/dist/{snapshot-WMVHIQVQ.js → snapshot-KRDQ6UFY.js} +37 -36
  165. package/dist/{src-HPLELQRK.js → src-FMPMLWOE.js} +10 -8
  166. package/dist/{src-46QTOHZE.js → src-HODRARUH.js} +16 -14
  167. package/dist/{staticProjectServer-FHP2YQFV.js → staticProjectServer-NBWPYBIH.js} +20 -19
  168. package/dist/studio/assets/{hyperframes-player-BNeO6YSP.js → hyperframes-player-C3pgGOtp.js} +1 -1
  169. package/dist/studio/assets/{index-DiNYtcMK.js → index-5EFQxr70.js} +1 -1
  170. package/dist/studio/assets/{index-CZWE0FI8.js → index-BbcMyD3j.js} +120 -120
  171. package/dist/studio/index.html +1 -1
  172. package/dist/{studio-api-5YHQ4Y2D.js → studio-api-BOV2DTPC.js} +13 -11
  173. package/dist/{studioServer-P6IC76SV.js → studioServer-TSKSIQC3.js} +51 -50
  174. package/dist/{telemetry-WZ7OGFWQ.js → telemetry-RLKGEBGR.js} +3 -3
  175. package/dist/{timeline-U6S7BGMI.js → timeline-ADFTKSNX.js} +24 -22
  176. package/dist/{tokens-FPUYNZSV.js → tokens-2NKS4KAO.js} +4 -3
  177. package/dist/{transcribe-DZHTKXI5.js → transcribe-63XQBLF3.js} +14 -12
  178. package/dist/{transcribe-DJX4E2PE.js → transcribe-AHNMYPY4.js} +21 -19
  179. package/dist/{updateCheck-2LHWRDE7.js → updateCheck-XDYXIVKF.js} +2 -2
  180. package/dist/{upgrade-WAQHCAUS.js → upgrade-GK2RSMPV.js} +2 -2
  181. package/dist/{urlDownloader-HZQPXQET.js → urlDownloader-X2B7NQSQ.js} +10 -8
  182. package/dist/{validate-D6XJ7OSS.js → validate-UN4RB6KN.js} +26 -25
  183. package/dist/{video-A4CQ4WDL.js → video-QRWQLU5O.js} +11 -9
  184. package/dist/warmCheck.js +40 -39
  185. package/package.json +2 -2
  186. package/dist/chunk-JXLHLR26.js +0 -40
  187. package/dist/chunk-ZKHXN2BV.js +0 -3983
@@ -34,6 +34,14 @@ function parseProjectLock(value) {
34
34
  if (typeof waitMs !== "number" || !Number.isFinite(waitMs) || waitMs < 0) return void 0;
35
35
  return { waitMs };
36
36
  }
37
+ function parseCheckReview(value) {
38
+ if (!isRecord(value)) return void 0;
39
+ return {
40
+ skipContrastInMotion: value.skipContrastInMotion === true,
41
+ findingFrames: value.findingFrames === true,
42
+ inspect: value.inspect === true
43
+ };
44
+ }
37
45
  function readToolContext(raw = process.env.HF_TOOL_CONTEXT) {
38
46
  if (!raw) return {};
39
47
  let value;
@@ -46,7 +54,12 @@ function readToolContext(raw = process.env.HF_TOOL_CONTEXT) {
46
54
  return {};
47
55
  const events = parseEvents(value.capabilities.events);
48
56
  const projectLock = parseProjectLock(value.capabilities["project-lock"]);
49
- return { ...events && { events }, ...projectLock && { projectLock } };
57
+ const checkReview = parseCheckReview(value.capabilities["check-review"]);
58
+ return {
59
+ ...events && { events },
60
+ ...projectLock && { projectLock },
61
+ ...checkReview && { checkReview }
62
+ };
50
63
  }
51
64
  var MEDIA_TYPES = {
52
65
  ".png": "image/png",
@@ -174,6 +187,7 @@ async function withProjectLock(projectDir, command, run, context = readToolConte
174
187
 
175
188
  export {
176
189
  pngDimensions,
190
+ readToolContext,
177
191
  reportArtifacts,
178
192
  withProjectLock
179
193
  };
@@ -11,7 +11,7 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-XG365L6T.js";
14
+ } from "./chunk-R36C6H32.js";
15
15
 
16
16
  // src/registry/resolver.ts
17
17
  function defaultWarn(message) {
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-GMECXFAN.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-74UH2KGI.js";
30
+ } from "./chunk-FRXPZCEP.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -9,13 +9,13 @@ import {
9
9
  isHttpUrl,
10
10
  renameWithRetry,
11
11
  runFfmpeg
12
- } from "./chunk-UKB62QOT.js";
12
+ } from "./chunk-KBCV6BHL.js";
13
13
  import {
14
14
  parseAnimatedGifMetadata
15
- } from "./chunk-74UH2KGI.js";
15
+ } from "./chunk-FRXPZCEP.js";
16
16
  import {
17
17
  parseHTML
18
- } from "./chunk-SDYDNHEE.js";
18
+ } from "./chunk-GWTIFRF5.js";
19
19
 
20
20
  // ../producer/src/services/animatedGifPrep.ts
21
21
  import { createHash } from "crypto";
@@ -15,13 +15,13 @@ import {
15
15
  findFFmpeg,
16
16
  findFFprobe,
17
17
  getFFmpegInstallHint
18
- } from "./chunk-GNX3BCQP.js";
18
+ } from "./chunk-DZZ6VHPY.js";
19
19
  import {
20
20
  DEFAULT_VP9_CPU_USED,
21
21
  SDR_RGB_TO_BT709_FILTER,
22
22
  SDR_RGB_TO_TAGGED_BT709_FILTER,
23
23
  renderProvenanceArgs
24
- } from "./chunk-UKB62QOT.js";
24
+ } from "./chunk-KBCV6BHL.js";
25
25
  import {
26
26
  runCancellableProcess
27
27
  } from "./chunk-BL4U6U52.js";
@@ -317,7 +317,7 @@ async function decoderTransposesDimensions(inputPath) {
317
317
  }
318
318
  async function probeMedia(inputPath) {
319
319
  const isImage = inferInputKind(inputPath) === "image";
320
- const engine = await import("./src-HPLELQRK.js");
320
+ const engine = await import("./src-FMPMLWOE.js");
321
321
  const meta = await engine.extractMediaMetadata(inputPath);
322
322
  if (isImage) {
323
323
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -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-YTBE4JCX.js";
9
+ } from "./chunk-DO2OTFCJ.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-UKB62QOT.js";
19
+ } from "./chunk-KBCV6BHL.js";
20
20
  import {
21
21
  parseFps
22
- } from "./chunk-74UH2KGI.js";
22
+ } from "./chunk-FRXPZCEP.js";
23
23
 
24
24
  // src/browser/windowsCrash.ts
25
25
  var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
@@ -4,13 +4,16 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ encode
9
+ } from "./chunk-FR7YBU3H.js";
7
10
  import {
8
11
  require_lib,
9
12
  require_main
10
13
  } from "./chunk-DPVXBVLL.js";
11
14
  import {
12
15
  decodeHTMLAttribute
13
- } from "./chunk-SDYDNHEE.js";
16
+ } from "./chunk-2RY2LWAA.js";
14
17
  import {
15
18
  ancestor,
16
19
  full,
@@ -25,88 +28,6 @@ var recast = __toESM(require_main(), 1);
25
28
  var import_parser = __toESM(require_lib(), 1);
26
29
  import * as acorn from "acorn";
27
30
 
28
- // ../../node_modules/.bun/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
29
- var comma = ",".charCodeAt(0);
30
- var semicolon = ";".charCodeAt(0);
31
- var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
32
- var intToChar = new Uint8Array(64);
33
- var charToInt = new Uint8Array(128);
34
- for (let i = 0; i < chars.length; i++) {
35
- const c = chars.charCodeAt(i);
36
- intToChar[i] = c;
37
- charToInt[c] = i;
38
- }
39
- function encodeInteger(builder, num, relative) {
40
- let delta = num - relative;
41
- delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
42
- do {
43
- let clamped = delta & 31;
44
- delta >>>= 5;
45
- if (delta > 0) clamped |= 32;
46
- builder.write(intToChar[clamped]);
47
- } while (delta > 0);
48
- return num;
49
- }
50
- var bufLength = 1024 * 16;
51
- var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== "undefined" ? {
52
- decode(buf) {
53
- const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
54
- return out.toString();
55
- }
56
- } : {
57
- decode(buf) {
58
- let out = "";
59
- for (let i = 0; i < buf.length; i++) {
60
- out += String.fromCharCode(buf[i]);
61
- }
62
- return out;
63
- }
64
- };
65
- var StringWriter = class {
66
- constructor() {
67
- this.pos = 0;
68
- this.out = "";
69
- this.buffer = new Uint8Array(bufLength);
70
- }
71
- write(v) {
72
- const { buffer } = this;
73
- buffer[this.pos++] = v;
74
- if (this.pos === bufLength) {
75
- this.out += td.decode(buffer);
76
- this.pos = 0;
77
- }
78
- }
79
- flush() {
80
- const { buffer, out, pos } = this;
81
- return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
82
- }
83
- };
84
- function encode(decoded) {
85
- const writer = new StringWriter();
86
- let sourcesIndex = 0;
87
- let sourceLine = 0;
88
- let sourceColumn = 0;
89
- let namesIndex = 0;
90
- for (let i = 0; i < decoded.length; i++) {
91
- const line = decoded[i];
92
- if (i > 0) writer.write(semicolon);
93
- if (line.length === 0) continue;
94
- let genColumn = 0;
95
- for (let j = 0; j < line.length; j++) {
96
- const segment = line[j];
97
- if (j > 0) writer.write(comma);
98
- genColumn = encodeInteger(writer, segment[0], genColumn);
99
- if (segment.length === 1) continue;
100
- sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
101
- sourceLine = encodeInteger(writer, segment[2], sourceLine);
102
- sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
103
- if (segment.length === 4) continue;
104
- namesIndex = encodeInteger(writer, segment[4], namesIndex);
105
- }
106
- }
107
- return writer.flush();
108
- }
109
-
110
31
  // ../../node_modules/.bun/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.mjs
111
32
  var BitSet = class _BitSet {
112
33
  constructor(arg) {
@@ -4486,6 +4407,34 @@ function checkOutputResolutionCompatibility(input) {
4486
4407
  }
4487
4408
  return OK;
4488
4409
  }
4410
+ function outputResolutionForSize(input) {
4411
+ const { compositionWidth, compositionHeight, width, height } = input;
4412
+ if (width === compositionWidth && height === compositionHeight) {
4413
+ return { ok: true, outputResolution: void 0 };
4414
+ }
4415
+ const composition = `${compositionWidth}\xD7${compositionHeight}`;
4416
+ const scale = width / compositionWidth;
4417
+ if (width < compositionWidth || height < compositionHeight) {
4418
+ return {
4419
+ ok: false,
4420
+ message: `${width}\xD7${height} is smaller than the composition (${composition}). Use the composition's size, or a whole-number multiple of it.`
4421
+ };
4422
+ }
4423
+ const preset = VALID_CANVAS_RESOLUTIONS.find(
4424
+ (name) => CANVAS_DIMENSIONS[name].width === width && CANVAS_DIMENSIONS[name].height === height
4425
+ );
4426
+ if (!Number.isInteger(scale) || height !== compositionHeight * scale || !preset || !checkOutputResolutionCompatibility({
4427
+ compositionWidth,
4428
+ compositionHeight,
4429
+ outputResolution: preset
4430
+ }).ok) {
4431
+ return {
4432
+ ok: false,
4433
+ message: `${width}\xD7${height} is not a whole-number multiple of the composition (${composition}) at a supported size. Use ${composition}, or a multiple such as ${compositionWidth * 2}\xD7${compositionHeight * 2} when that is a preset size (${VALID_CANVAS_RESOLUTIONS.map((name) => `${CANVAS_DIMENSIONS[name].width}\xD7${CANVAS_DIMENSIONS[name].height}`).join(", ")}).`
4434
+ };
4435
+ }
4436
+ return { ok: true, outputResolution: preset };
4437
+ }
4489
4438
  function propEntries(props) {
4490
4439
  return Object.entries(props).map(([k, v]) => `${safeJsKey(k)}: ${serializeValue(v)}`);
4491
4440
  }
@@ -5039,6 +4988,7 @@ export {
5039
4988
  validateCompositionHtml,
5040
4989
  suggestMatchingPreset,
5041
4990
  checkOutputResolutionCompatibility,
4991
+ outputResolutionForSize,
5042
4992
  unrollComputedTimeline,
5043
4993
  HTML_BODY_CSS_WIDTH_FIRST_RE,
5044
4994
  HTML_BODY_CSS_HEIGHT_FIRST_RE,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  stoppedByCancelSignal
9
- } from "./chunk-QYTGUWNF.js";
9
+ } from "./chunk-OKZZWUZN.js";
10
10
  import {
11
11
  DEFAULT_MODEL,
12
12
  ensureModel,
@@ -14,12 +14,12 @@ import {
14
14
  hasFFmpeg,
15
15
  pinnedWhisperModel,
16
16
  sha256File
17
- } from "./chunk-6XGO7ZKS.js";
17
+ } from "./chunk-BD3LJRJT.js";
18
18
  import {
19
19
  findFFmpeg,
20
20
  findFFprobe,
21
21
  getFFmpegInstallHint
22
- } from "./chunk-GNX3BCQP.js";
22
+ } from "./chunk-DZZ6VHPY.js";
23
23
  import {
24
24
  findWavChunk
25
25
  } from "./chunk-UOFAE5RF.js";
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-Q6SHXSZX.js";
10
+ } from "./chunk-FTARAZAL.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-JOI7TNCX.js";
13
+ } from "./chunk-7SNVSO4A.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
17
- } from "./chunk-CV32PRH3.js";
17
+ } from "./chunk-IDASYE4U.js";
18
18
 
19
19
  // src/telemetry/lintStreaks.ts
20
20
  import { createHash } from "crypto";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType,
9
9
  injectMediaCodecMapIntoHtml
10
- } from "./chunk-53E45AKI.js";
10
+ } from "./chunk-HAKKV3SY.js";
11
11
  import {
12
12
  PROXY_VARIANT_CONFIG,
13
13
  ProxyCapacityError,
@@ -18,17 +18,17 @@ import {
18
18
  recordProxyRequest,
19
19
  resolveProxy,
20
20
  resolveProxyVariantRequest
21
- } from "./chunk-Q537KXWA.js";
21
+ } from "./chunk-KWQWEY6F.js";
22
22
  import {
23
23
  findStageProxyBox
24
- } from "./chunk-GKXH4C2B.js";
24
+ } from "./chunk-3YZ2ESXP.js";
25
25
  import {
26
26
  resolveAutoProxy
27
- } from "./chunk-UOSTDTBF.js";
27
+ } from "./chunk-ND5ELD7A.js";
28
28
  import {
29
29
  PREVIEW_PROXY_BOX_PARAM,
30
30
  parsePreviewProxyBox
31
- } from "./chunk-74UH2KGI.js";
31
+ } from "./chunk-FRXPZCEP.js";
32
32
  import {
33
33
  decodeWellFormedEscapes
34
34
  } from "./chunk-2BGOB2QK.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  shouldTrack
9
- } from "./chunk-JOI7TNCX.js";
9
+ } from "./chunk-7SNVSO4A.js";
10
10
 
11
11
  // src/telemetry/renderObservability.ts
12
12
  function renderObservabilityTelemetryPayload(observability) {
@@ -17,11 +17,11 @@ import {
17
17
  } from "./chunk-AWDFDFI3.js";
18
18
  import {
19
19
  isBlockedNetworkHost
20
- } from "./chunk-UKB62QOT.js";
20
+ } from "./chunk-KBCV6BHL.js";
21
21
  import {
22
22
  DOMParser,
23
23
  parseHTML
24
- } from "./chunk-SDYDNHEE.js";
24
+ } from "./chunk-GWTIFRF5.js";
25
25
 
26
26
  // src/capture/userAgent.ts
27
27
  var CAPTURE_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36";
@@ -4,11 +4,6 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
- import {
8
- EncoderInterruptedError,
9
- encoderFailureError,
10
- prepareAnimatedGifInputs
11
- } from "./chunk-SGKG7DNX.js";
12
7
  import {
13
8
  GENERIC_FAMILIES,
14
9
  collectFontFamilyCustomProperties,
@@ -16,7 +11,12 @@ import {
16
11
  iterateFontFamilyDeclarations,
17
12
  normalizeSystemFontPrimaryFamilies,
18
13
  resolveFontFamilyDeclarationFamilies
19
- } from "./chunk-FDWN4XAD.js";
14
+ } from "./chunk-EUFBE5BW.js";
15
+ import {
16
+ EncoderInterruptedError,
17
+ encoderFailureError,
18
+ prepareAnimatedGifInputs
19
+ } from "./chunk-RUVO77RK.js";
20
20
  import {
21
21
  parseEncoderOptions
22
22
  } from "./chunk-KLIKCX6Q.js";
@@ -162,7 +162,7 @@ import {
162
162
  verifyDiskDrawElementSamples,
163
163
  videoAudioId,
164
164
  writeCapturedFrame
165
- } from "./chunk-UKB62QOT.js";
165
+ } from "./chunk-KBCV6BHL.js";
166
166
  import {
167
167
  DISTRIBUTED_FPS,
168
168
  HF_VFX_ATTR,
@@ -178,7 +178,7 @@ import {
178
178
  parseVfxChain,
179
179
  resolveAuthoredTimingWindow,
180
180
  toFps
181
- } from "./chunk-74UH2KGI.js";
181
+ } from "./chunk-FRXPZCEP.js";
182
182
  import {
183
183
  assignBundledRuntimeCompositionIds,
184
184
  buildVariablesByCompScript,
@@ -190,7 +190,7 @@ import {
190
190
  inlineSubCompositions,
191
191
  parsesAsScript,
192
192
  prepareFlattenedInnerRoot
193
- } from "./chunk-SEAHCCQ4.js";
193
+ } from "./chunk-E3LRVXM2.js";
194
194
  import {
195
195
  COMPOSITION_SOURCE_URL,
196
196
  HF_COLOR_GRADING_ATTR,
@@ -222,7 +222,7 @@ import {
222
222
  sourceTimeAt,
223
223
  styleElementsFor,
224
224
  timeAtSourceTime
225
- } from "./chunk-ZKHXN2BV.js";
225
+ } from "./chunk-42DLVZNO.js";
226
226
  import {
227
227
  CANVAS_DIMENSIONS,
228
228
  HTML_BODY_CSS_HEIGHT_FIRST_RE,
@@ -233,7 +233,7 @@ import {
233
233
  isAspectAgnosticResolutionAlias,
234
234
  normalizeResolutionFlag,
235
235
  suggestMatchingPreset
236
- } from "./chunk-MSGWR7WP.js";
236
+ } from "./chunk-SVVAUJPL.js";
237
237
  import {
238
238
  TRANSITIONS,
239
239
  convertTransfer,
@@ -249,12 +249,12 @@ import {
249
249
  import {
250
250
  lintHyperframeHtml,
251
251
  resolveReferencedStart
252
- } from "./chunk-CV32PRH3.js";
252
+ } from "./chunk-IDASYE4U.js";
253
253
  import {
254
254
  isUnresolvedAssetPlaceholder,
255
255
  readProjectFile,
256
256
  resolveProjectRelativeSrc
257
- } from "./chunk-6BNTGNGD.js";
257
+ } from "./chunk-PBNWRWKA.js";
258
258
  import {
259
259
  CSS_URL_RE,
260
260
  MEDIA_START_BASIS_ATTR,
@@ -274,7 +274,7 @@ import {
274
274
  } from "./chunk-2BGOB2QK.js";
275
275
  import {
276
276
  parseHTML
277
- } from "./chunk-SDYDNHEE.js";
277
+ } from "./chunk-GWTIFRF5.js";
278
278
  import {
279
279
  LOW_MEMORY_TOTAL_MB_THRESHOLD,
280
280
  getCgroupMemoryLimitMb,
@@ -6931,7 +6931,7 @@ async function readLocalFont(absPath) {
6931
6931
  return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
6932
6932
  }
6933
6933
  async function embedLocalFontFaces(html, projectDir) {
6934
- const { fontToDataUri: toDataUri } = await import("./deterministicFonts-4FULD3AS.js");
6934
+ const { fontToDataUri: toDataUri } = await import("./deterministicFonts-HQYCUUAL.js");
6935
6935
  const styleBlockRe = /<style\b[^>]*>([\s\S]*?)<\/style>/gi;
6936
6936
  const fontFaceRe = /@font-face\s*\{([^}]*)\}/gi;
6937
6937
  let result = html;
@@ -16070,7 +16070,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
16070
16070
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
16071
16071
  if (probeResult.probeSession) {
16072
16072
  try {
16073
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-HPLELQRK.js");
16073
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-FMPMLWOE.js");
16074
16074
  await closeCaptureSession2(probeResult.probeSession);
16075
16075
  } catch (err) {
16076
16076
  log.warn("[plan] probe session close failed", {
@@ -17744,7 +17744,7 @@ function startServer(options = {}) {
17744
17744
  });
17745
17745
  async function shutdown(signal) {
17746
17746
  log.info(`Received ${signal}, shutting down`);
17747
- const { drainBrowserPool } = await import("./src-HPLELQRK.js");
17747
+ const { drainBrowserPool } = await import("./src-FMPMLWOE.js");
17748
17748
  await drainBrowserPool().catch(() => {
17749
17749
  });
17750
17750
  const handle = await Promise.race([
@@ -18999,6 +18999,9 @@ function validatePlanVideosForChunk(value) {
18999
18999
  );
19000
19000
  }
19001
19001
  }
19002
+ function interleavesCapture(overlapping, options) {
19003
+ return overlapping && options?.interleaveCapture === true;
19004
+ }
19002
19005
  var MIN_FRAMES_PER_CHUNK_BROWSER = 20;
19003
19006
  function resolveChunkCaptureWorkers(framesInChunk, machineSized, maxCaptureWorkers) {
19004
19007
  if (maxCaptureWorkers === void 0) return machineSized;
@@ -19476,7 +19479,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19476
19479
  },
19477
19480
  frameRange: range,
19478
19481
  onFrameLanded: (frame) => overlap.current?.onFrameLanded(frame),
19479
- interleaveFrames: overlap.current !== null
19482
+ interleaveFrames: interleavesCapture(overlap.current !== null, options)
19480
19483
  }).catch(async (captureError) => {
19481
19484
  await overlap.current?.abort();
19482
19485
  overlap.current = null;
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType
9
- } from "./chunk-53E45AKI.js";
9
+ } from "./chunk-HAKKV3SY.js";
10
10
  import {
11
11
  injectTagsAtHeadStart
12
- } from "./chunk-ZKHXN2BV.js";
12
+ } from "./chunk-42DLVZNO.js";
13
13
 
14
14
  // src/utils/compositionServer.ts
15
15
  import { createHash } from "crypto";
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-WO3XZ6HC.js";
23
+ } from "./chunk-5GFNMC2F.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-S3S4TGEH.js";
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
229
229
  rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
230
230
  );
231
231
  }
232
- const { trackFigmaImport } = await import("./telemetry-WZ7OGFWQ.js");
232
+ const { trackFigmaImport } = await import("./telemetry-RLKGEBGR.js");
233
233
  trackFigmaImport({
234
234
  phase: "asset",
235
235
  reused: results.every((r) => r.reused),
@@ -6,32 +6,32 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-X72DJZCM.js";
9
+ } from "./chunk-CFFPH6D3.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-I4DHHX7E.js";
15
+ } from "./chunk-GX4CEJCX.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-ORMTNJBS.js";
19
+ } from "./chunk-TMIX2WQL.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-QYTGUWNF.js";
23
+ } from "./chunk-OKZZWUZN.js";
24
24
  import {
25
25
  DEFAULT_MODEL,
26
26
  findWhisper,
27
27
  isWhisperUnavailable
28
- } from "./chunk-6XGO7ZKS.js";
28
+ } from "./chunk-BD3LJRJT.js";
29
29
  import {
30
30
  formatSrt,
31
31
  formatVtt,
32
32
  loadTranscript,
33
33
  patchCaptionHtml
34
- } from "./chunk-CFUCHO4T.js";
34
+ } from "./chunk-6MUI2H6P.js";
35
35
  import {
36
36
  normalizeErrorMessage
37
37
  } from "./chunk-T2EUWCJE.js";