hyperframes 0.8.202 → 0.8.204

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 (185) hide show
  1. package/dist/{add-YC7QXNDO.js → add-HBFVYKGU.js} +15 -13
  2. package/dist/{animatedGifPrep-SFHFVFFE.js → animatedGifPrep-VBUKGEZ6.js} +11 -9
  3. package/dist/api.js +23 -21
  4. package/dist/{asset-5E5BQ6BR.js → asset-OVLMJY4S.js} +4 -3
  5. package/dist/{assetCataloger-F6YSU3H6.js → assetCataloger-K4INCLFU.js} +11 -9
  6. package/dist/{audio-UZKBYVZ5.js → audio-JHW3HLHK.js} +21 -19
  7. package/dist/{auth-5DWW5DMO.js → auth-RH67KQMZ.js} +1 -1
  8. package/dist/{autoUpdate-D6HTQGOE.js → autoUpdate-JYR2RW5Z.js} +2 -2
  9. package/dist/{backgroundChecks-FW4MBBK2.js → backgroundChecks-DPHRM4HJ.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-DXD5THWY.js → batchRender-JFUWZR3M.js} +8 -6
  12. package/dist/{beats-WRF4CRL7.js → beats-AWAFZGOT.js} +13 -11
  13. package/dist/{benchmark-NDCR2AAG.js → benchmark-VQCCULJ2.js} +12 -10
  14. package/dist/{browser-KSG6M66G.js → browser-TT5L7D32.js} +3 -3
  15. package/dist/{bundleWithLocalizedFonts-GJ2UYZ6E.js → bundleWithLocalizedFonts-EHXEP5ZL.js} +4 -4
  16. package/dist/{capture-FRVDEVPB.js → capture-5CM2P6CB.js} +14 -12
  17. package/dist/{capture-DTF47QX3.js → capture-Y7TGR3BI.js} +2 -2
  18. package/dist/{captureCompositionFrame-IC3MEOJR.js → captureCompositionFrame-LIT6U6C4.js} +16 -15
  19. package/dist/{catalog-TX3BMPOA.js → catalog-WZN2XB7D.js} +15 -13
  20. package/dist/{catch-up-YMVIJI2W.js → catch-up-WZMQUW5H.js} +4 -4
  21. package/dist/{check-2LBOZR6Z.js → check-YVJCDCJS.js} +40 -39
  22. package/dist/{checkBrowser-56C73ZNX.js → checkBrowser-7V2DGDVD.js} +36 -33
  23. package/dist/{chunk-24PUQCZO.js → chunk-23RPCDGE.js} +2 -2
  24. package/dist/{chunk-OJDOYHPQ.js → chunk-2756LXGY.js} +1 -1
  25. package/dist/chunk-2RY2LWAA.js +3466 -0
  26. package/dist/{chunk-WAXBJLV6.js → chunk-34VLVDOU.js} +3 -3
  27. package/dist/{chunk-B7CYKBXQ.js → chunk-3CISA3OS.js} +1 -1
  28. package/dist/{chunk-ABTBAQDB.js → chunk-3GPDAE3D.js} +1 -1
  29. package/dist/{chunk-5KPZ4QAS.js → chunk-4CR23IYU.js} +7 -7
  30. package/dist/{chunk-DMZ3SCCU.js → chunk-4HJMZI4H.js} +140 -31
  31. package/dist/{chunk-PI256PSW.js → chunk-54FO6TN7.js} +149 -23
  32. package/dist/{chunk-MO4VKSFT.js → chunk-54K7HW46.js} +1 -1
  33. package/dist/{chunk-7KGCJQGS.js → chunk-5RJSWYWL.js} +2 -2
  34. package/dist/{chunk-REUZB3HL.js → chunk-5UW7WCHQ.js} +8 -8
  35. package/dist/{chunk-LEQU6P6H.js → chunk-65VFH2UV.js} +7 -3
  36. package/dist/{chunk-QXQ74PYD.js → chunk-6KZY5RSV.js} +2 -2
  37. package/dist/{chunk-CFUCHO4T.js → chunk-6MUI2H6P.js} +1 -1
  38. package/dist/{chunk-3HTXEXQ6.js → chunk-6RLP6RDE.js} +1 -1
  39. package/dist/{chunk-UMGDRGF5.js → chunk-7PRESGFT.js} +3 -3
  40. package/dist/{chunk-AQLRXGNN.js → chunk-7RB4I2E6.js} +5 -5
  41. package/dist/{chunk-QZTFCWG7.js → chunk-AII6P2TC.js} +1 -1
  42. package/dist/{chunk-ANH7DV34.js → chunk-AQS3MMEQ.js} +23 -20
  43. package/dist/{chunk-DYDFCX4L.js → chunk-CXZDIWMK.js} +1 -1
  44. package/dist/{chunk-AQVLMH5C.js → chunk-D3EZHD2D.js} +1 -1
  45. package/dist/{chunk-MS4BAXOQ.js → chunk-D5CAZ7R4.js} +2 -2
  46. package/dist/{chunk-4OPDZMV6.js → chunk-DBF6LLXB.js} +1 -1
  47. package/dist/{chunk-IKX2UHEM.js → chunk-DRDG46KK.js} +13 -13
  48. package/dist/{chunk-JNBHYUEU.js → chunk-DTV3VHFE.js} +5 -5
  49. package/dist/{chunk-REFMKHRE.js → chunk-EF7R5EBJ.js} +9 -9
  50. package/dist/{chunk-LMRTEJYY.js → chunk-EUFBE5BW.js} +2 -2
  51. package/dist/chunk-FR7YBU3H.js +179 -0
  52. package/dist/{chunk-GZCACSED.js → chunk-GGEA5EHR.js} +1 -1
  53. package/dist/{chunk-SDYDNHEE.js → chunk-GWTIFRF5.js} +262 -3711
  54. package/dist/{chunk-QDEZ7LRH.js → chunk-HBDQGIQA.js} +2 -2
  55. package/dist/{chunk-CV32PRH3.js → chunk-IDASYE4U.js} +5 -3
  56. package/dist/{chunk-JCS7WFRM.js → chunk-IJ6RY4CH.js} +5 -6
  57. package/dist/{chunk-PYS6IKKM.js → chunk-KOBPUFCN.js} +1 -1
  58. package/dist/{chunk-IB6ICAI7.js → chunk-LN5EJMSC.js} +22 -13
  59. package/dist/{chunk-B2OUZUY5.js → chunk-LVMJXO45.js} +1 -1
  60. package/dist/{chunk-RFZJGC6V.js → chunk-MSH2F7VW.js} +2 -2
  61. package/dist/{chunk-NZEASM7M.js → chunk-N3EJG2X4.js} +1 -1
  62. package/dist/{chunk-PLL6VC4F.js → chunk-NJT6SZGL.js} +1 -1
  63. package/dist/{chunk-Z4PSJSDF.js → chunk-OPFG563D.js} +3 -3
  64. package/dist/{chunk-6BNTGNGD.js → chunk-PBNWRWKA.js} +1 -1
  65. package/dist/{chunk-PZIWSVMO.js → chunk-PLGGKTCB.js} +5 -1
  66. package/dist/{chunk-FWS2ZWV6.js → chunk-QCQDUQVJ.js} +5 -5
  67. package/dist/{chunk-73BGPSUW.js → chunk-QWATUGUX.js} +3 -3
  68. package/dist/{chunk-BU6XD7H2.js → chunk-QZ4HQQYS.js} +2 -2
  69. package/dist/{chunk-BUIJG2BQ.js → chunk-RFCLI6TW.js} +3 -3
  70. package/dist/{chunk-CL6ZTNQH.js → chunk-S35XO2ZA.js} +121 -41
  71. package/dist/{chunk-E3F5L6AB.js → chunk-SVVAUJPL.js} +4 -83
  72. package/dist/{chunk-B22YBW5W.js → chunk-TAYZSNYS.js} +1 -1
  73. package/dist/{chunk-QGB5DECO.js → chunk-TBSYUEB7.js} +1 -1
  74. package/dist/{chunk-J3CZK6PI.js → chunk-TCI4MUT6.js} +1 -1
  75. package/dist/{chunk-UI7YYCN2.js → chunk-TNOERLC6.js} +3 -3
  76. package/dist/{chunk-CXTXB2LZ.js → chunk-TQH7BF7K.js} +1 -1
  77. package/dist/{chunk-TOFL5P27.js → chunk-UKXF4IPA.js} +6 -6
  78. package/dist/{chunk-COHU6S2X.js → chunk-US6JSQ2L.js} +2 -2
  79. package/dist/{chunk-L5IKISP2.js → chunk-VC3BMKYO.js} +3 -3
  80. package/dist/{chunk-NT3L4IMM.js → chunk-VCBZOU7U.js} +1 -1
  81. package/dist/{chunk-RNLJJDGE.js → chunk-WLD4PX3P.js} +2 -2
  82. package/dist/{chunk-PH5PJY5Z.js → chunk-WM7GOKEP.js} +2 -2
  83. package/dist/{chunk-I64A5P5H.js → chunk-WMCGD4XL.js} +3 -3
  84. package/dist/{chunk-V6MTGX7B.js → chunk-WXAQT63P.js} +3 -3
  85. package/dist/{chunk-BIV4FVEN.js → chunk-X7XICOVM.js} +1 -1
  86. package/dist/{chunk-SQNPFWFM.js → chunk-XX5U64F2.js} +2 -2
  87. package/dist/{chunk-75KIZWAD.js → chunk-Y63CT2ZC.js} +53 -39
  88. package/dist/{chunk-7J4GQHSG.js → chunk-YIN2JAZE.js} +198 -88
  89. package/dist/{chunk-KFJMWPZT.js → chunk-YLGRZSH4.js} +1 -1
  90. package/dist/chunk-YRQPU7SV.js +3983 -0
  91. package/dist/{chunk-VOKI2HSE.js → chunk-YU53JSUZ.js} +1 -1
  92. package/dist/{chunk-442JNXRM.js → chunk-ZBAF6L74.js} +1 -1
  93. package/dist/{chunk-EPZXTQOO.js → chunk-ZBDVKLIU.js} +5 -5
  94. package/dist/{clean-LFPT6GNS.js → clean-3JE2KYTC.js} +20 -18
  95. package/dist/cli.js +53 -53
  96. package/dist/{cloud-XX5XB277.js → cloud-Z54BHP6G.js} +4 -4
  97. package/dist/{cloudrun-ANWC6QGV.js → cloudrun-4CPQLU5M.js} +10 -8
  98. package/dist/{compare-CISKXIRF.js → compare-AQMLMTFD.js} +31 -30
  99. package/dist/{compiler-XYZMBTYR.js → compiler-LIJYMSEL.js} +8 -6
  100. package/dist/{component-D4JJIDOC.js → component-ZH37EIYB.js} +5 -4
  101. package/dist/{compositions-UGRTLUBT.js → compositions-DF2FM6YD.js} +18 -16
  102. package/dist/{delete-TPH7N5PK.js → delete-A3NSK2HH.js} +2 -2
  103. package/dist/{deploy-ZUXLAVVX.js → deploy-6RC2DXPQ.js} +1 -1
  104. package/dist/{deterministicFonts-NQ6KL66D.js → deterministicFonts-HQYCUUAL.js} +5 -3
  105. package/dist/{dist-TFHABY7N.js → dist-6JMYDD7F.js} +4 -3
  106. package/dist/{dist-UXLDRI4D.js → dist-VSIT3UAX.js} +10 -4
  107. package/dist/{doctor-LVOS4EDV.js → doctor-RILK4ATO.js} +15 -13
  108. package/dist/{dom-37K6YOH4.js → dom-VFHEO7VM.js} +3 -2
  109. package/dist/{events-FIWA6UBT.js → events-B5EKVEPW.js} +3 -3
  110. package/dist/{events-UHIKJIWA.js → events-SL434XAY.js} +2 -2
  111. package/dist/{feedback-SPOCVRKJ.js → feedback-S4PC6VAR.js} +11 -9
  112. package/dist/{ffmpeg-7SDXE5P5.js → ffmpeg-XSDPPZCU.js} +11 -9
  113. package/dist/{figma-ONGILUUE.js → figma-MV2L6E2Z.js} +3 -3
  114. package/dist/fontLocalizeCli.js +15 -13
  115. package/dist/{get-W7ADZ5XS.js → get-ID3Y3PCN.js} +2 -2
  116. package/dist/{gpuPolicy-GETTDB3G.js → gpuPolicy-2LRMQOAD.js} +11 -9
  117. package/dist/{grade-compare-YIIQJNL3.js → grade-compare-NV3TKIOO.js} +32 -31
  118. package/dist/{help-HSKEDFT6.js → help-ZPT23LZ3.js} +1 -1
  119. package/dist/{history-JS6QALDS.js → history-MZGDX3TR.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 +3 -3
  123. package/dist/{info-BIIA6M7Q.js → info-FIZ4A54H.js} +14 -12
  124. package/dist/{init-TGDKBWUY.js → init-WX4MNPL2.js} +32 -30
  125. package/dist/{inspect-MVMUFUHY.js → inspect-R5KWWKNJ.js} +32 -31
  126. package/dist/inspection.js +2088 -0
  127. package/dist/{installer-HITNNXHY.js → installer-CTV5FKYQ.js} +8 -6
  128. package/dist/{keyframes-XJ7DUUBW.js → keyframes-FAJY5RK5.js} +12 -11
  129. package/dist/{lambda-4C7APDR5.js → lambda-3MCC2ZH7.js} +11 -9
  130. package/dist/{layout-O3LEAM7S.js → layout-3RTVYRRN.js} +32 -31
  131. package/dist/{lint-72FKMBD2.js → lint-ZDCVL7K4.js} +10 -9
  132. package/dist/{lintProject-Q36Y3AHA.js → lintProject-4IVYXS5J.js} +4 -3
  133. package/dist/{list-YUK5VA2D.js → list-SBCXW2UT.js} +2 -2
  134. package/dist/live-LAHBXVK2.js +4165 -0
  135. package/dist/{login-TXBDKLOH.js → login-VQ2LQ2YG.js} +4 -4
  136. package/dist/{manager-APB2JLSH.js → manager-ZRF6UXUM.js} +12 -10
  137. package/dist/{media-treatment-GMP4JL46.js → media-treatment-MFIP7Q4G.js} +18 -16
  138. package/dist/{models-DW22WMQ5.js → models-OU36YZCT.js} +15 -13
  139. package/dist/{motionShot-UQJVQT76.js → motionShot-SHDUG7YR.js} +19 -18
  140. package/dist/{normalize-FASIPBUM.js → normalize-QJVXFMWO.js} +3 -2
  141. package/dist/{normalize-audio-4KYSZBWI.js → normalize-audio-7RTPEV7Y.js} +13 -11
  142. package/dist/{open-HNYN6VM2.js → open-HT4RG32S.js} +15 -13
  143. package/dist/{parakeetRunner-SJ2QW77R.js → parakeetRunner-DOVPZDCH.js} +16 -14
  144. package/dist/{pipeline-MG2W6NIW.js → pipeline-NIVQ6E2G.js} +12 -10
  145. package/dist/{play-ZQ6RNKIE.js → play-HPX5SIRQ.js} +23 -21
  146. package/dist/{preflight-HSQEJNA2.js → preflight-TNYC7EIS.js} +12 -10
  147. package/dist/{present-7M3W5E3Q.js → present-QSOIMURR.js} +19 -17
  148. package/dist/{preview-TT5Z6JK6.js → preview-WDO53XKK.js} +22 -20
  149. package/dist/{producer-B2Y4IKZS.js → producer-G27KP3IY.js} +1 -1
  150. package/dist/{projectConfig-VZVY6ZZP.js → projectConfig-CP722RCM.js} +10 -8
  151. package/dist/{publication-SRAYE6LT.js → publication-LCWVBLDN.js} +6 -4
  152. package/dist/{publish-3QMV3Q7B.js → publish-BIY6LEZ2.js} +14 -12
  153. package/dist/{remove-background-5GA2S5OI.js → remove-background-NPLZGLZ3.js} +13 -11
  154. package/dist/{render-WRLXYVSQ.js → render-HHUGUKG6.js} +34 -32
  155. package/dist/{render-W3VX647V.js → render-IHNAZXA2.js} +10 -8
  156. package/dist/{render-LN24E3OI.js → render-J57LAXB5.js} +20 -18
  157. package/dist/{render-batch-C73ELOQ7.js → render-batch-FK26OQ5E.js} +10 -8
  158. package/dist/renderSetupWorker.js +4 -3
  159. package/dist/{resolver-ALD2ZELQ.js → resolver-FWJXO6DY.js} +8 -6
  160. package/dist/{sherpa-AHD5UPU3.js → sherpa-BXFJU5EP.js} +15 -13
  161. package/dist/{skills-WYJGVMR5.js → skills-7XS4HZBC.js} +5 -5
  162. package/dist/{skillsUpdateCheck-OHEGRQ2N.js → skillsUpdateCheck-MGU5KLR4.js} +3 -3
  163. package/dist/{snapshot-S6CGQACZ.js → snapshot-O2PMEMKH.js} +37 -36
  164. package/dist/{src-DAW4JYSR.js → src-OQRG6BT7.js} +10 -8
  165. package/dist/{src-I6WD5SMQ.js → src-Q4R2YPKA.js} +16 -14
  166. package/dist/{staticProjectServer-3BFEACQ6.js → staticProjectServer-6OY4VMO6.js} +20 -19
  167. package/dist/studio/assets/{hyperframes-player-DnrkDR-_.js → hyperframes-player-CttA4PW7.js} +1 -1
  168. package/dist/studio/assets/{index-BhFxhBMA.js → index-DmST2bTJ.js} +120 -120
  169. package/dist/studio/assets/{index-WFQeAouT.js → index-DpxSurnJ.js} +1 -1
  170. package/dist/studio/index.html +1 -1
  171. package/dist/{studio-api-2O6R4CM5.js → studio-api-YSUTKHV7.js} +13 -11
  172. package/dist/{studioServer-6ZSAJBVY.js → studioServer-APGEQIW5.js} +51 -50
  173. package/dist/{telemetry-WFLPGSUG.js → telemetry-3B6EA5IU.js} +3 -3
  174. package/dist/{timeline-BZJH266Q.js → timeline-QWM6JS4B.js} +24 -22
  175. package/dist/{tokens-5TX42ZMQ.js → tokens-TKLSP3OQ.js} +4 -3
  176. package/dist/{transcribe-WPFFLNTS.js → transcribe-PODOCWCC.js} +14 -12
  177. package/dist/{transcribe-IEYR46HB.js → transcribe-XOPMHJLJ.js} +21 -19
  178. package/dist/{updateCheck-TESZGKRJ.js → updateCheck-RO6FPYMZ.js} +2 -2
  179. package/dist/{upgrade-3EW4MYS7.js → upgrade-EVNIL5TZ.js} +2 -2
  180. package/dist/{urlDownloader-JULHEBLS.js → urlDownloader-F5HYFRA6.js} +10 -8
  181. package/dist/{validate-RSJPGXUZ.js → validate-NXLFCHGG.js} +26 -25
  182. package/dist/{video-TW4TSAM4.js → video-ECV2OIQN.js} +11 -9
  183. package/dist/warmCheck.js +40 -39
  184. package/package.json +2 -2
  185. package/dist/chunk-QTGKDF7D.js +0 -3983
@@ -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-MO4VKSFT.js";
9
+ } from "./chunk-54K7HW46.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-QGB5DECO.js";
17
+ } from "./chunk-TBSYUEB7.js";
18
18
  import {
19
19
  findFFmpeg,
20
20
  findFFprobe,
21
21
  getFFmpegInstallHint
22
- } from "./chunk-AQVLMH5C.js";
22
+ } from "./chunk-D3EZHD2D.js";
23
23
  import {
24
24
  findWavChunk
25
25
  } from "./chunk-UOFAE5RF.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-2BGOB2QK.js";
10
10
  import {
11
11
  parseHTML
12
- } from "./chunk-SDYDNHEE.js";
12
+ } from "./chunk-GWTIFRF5.js";
13
13
 
14
14
  // src/utils/mountedCompositions.ts
15
15
  import { existsSync, readFileSync } from "fs";
@@ -11,7 +11,7 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-CXTXB2LZ.js";
14
+ } from "./chunk-TQH7BF7K.js";
15
15
 
16
16
  // src/registry/resolver.ts
17
17
  function defaultWarn(message) {
@@ -14,36 +14,36 @@ import {
14
14
  } from "./chunk-IXXVS2Z4.js";
15
15
  import {
16
16
  readCompositionFps
17
- } from "./chunk-BU6XD7H2.js";
17
+ } from "./chunk-QZ4HQQYS.js";
18
18
  import {
19
19
  HF_AUDIO_GROUP_ATTR,
20
20
  extractAudioMetadata,
21
21
  extractMediaMetadata
22
- } from "./chunk-75KIZWAD.js";
22
+ } from "./chunk-Y63CT2ZC.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
26
26
  parseFpsWithDefault
27
- } from "./chunk-LEQU6P6H.js";
27
+ } from "./chunk-65VFH2UV.js";
28
28
  import {
29
29
  HF_AUDIO_AUTOMATION_ATTR,
30
30
  HF_AUDIO_FX_ATTR,
31
31
  parseAudioFxChain,
32
32
  parseAutomation,
33
33
  resolveAutomation
34
- } from "./chunk-QTGKDF7D.js";
34
+ } from "./chunk-YRQPU7SV.js";
35
35
  import {
36
36
  isSubCompositionHost,
37
37
  topLevelElements,
38
38
  trackKindOf
39
- } from "./chunk-E3F5L6AB.js";
39
+ } from "./chunk-SVVAUJPL.js";
40
40
  import {
41
41
  resolveReferencedDuration,
42
42
  resolveReferencedStart
43
- } from "./chunk-CV32PRH3.js";
43
+ } from "./chunk-IDASYE4U.js";
44
44
  import {
45
45
  resolveAuthoredAssetFile
46
- } from "./chunk-6BNTGNGD.js";
46
+ } from "./chunk-PBNWRWKA.js";
47
47
  import {
48
48
  compositionOriginSeconds,
49
49
  cutToHostSlots,
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-ANH7DV34.js";
10
+ } from "./chunk-AQS3MMEQ.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-IKX2UHEM.js";
15
+ } from "./chunk-DRDG46KK.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-AQLRXGNN.js";
18
+ } from "./chunk-7RB4I2E6.js";
19
19
  import {
20
20
  STUDIO_PREVIEW_CAPTURE_MODE,
21
21
  STUDIO_PREVIEW_MARK_META
22
- } from "./chunk-IB6ICAI7.js";
22
+ } from "./chunk-LN5EJMSC.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-CL6ZTNQH.js";
34
+ } from "./chunk-S35XO2ZA.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-REFMKHRE.js";
48
+ } from "./chunk-EF7R5EBJ.js";
49
49
  import {
50
50
  BrowserCleanupError,
51
51
  closeManagedBrowser,
52
52
  onStopSignal
53
- } from "./chunk-VOKI2HSE.js";
53
+ } from "./chunk-YU53JSUZ.js";
54
54
  import {
55
55
  findStageProxyBox
56
- } from "./chunk-JCS7WFRM.js";
56
+ } from "./chunk-IJ6RY4CH.js";
57
57
  import {
58
58
  resolveAutoProxy
59
- } from "./chunk-4OPDZMV6.js";
59
+ } from "./chunk-DBF6LLXB.js";
60
60
  import {
61
61
  injectTagsAtHeadStart
62
- } from "./chunk-QTGKDF7D.js";
62
+ } from "./chunk-YRQPU7SV.js";
63
63
  import {
64
64
  normalizeErrorMessage
65
65
  } from "./chunk-T2EUWCJE.js";
@@ -198,6 +198,69 @@ import { existsSync, mkdirSync, writeFileSync } from "fs";
198
198
  import os from "os";
199
199
  import { join, resolve as resolve2 } from "path";
200
200
 
201
+ // src/utils/checkFindingInspect.ts
202
+ import { realpathSync } from "fs";
203
+ var runnerFor = (page) => ({
204
+ run: (fn, arg) => page.evaluate(fn, arg)
205
+ });
206
+ async function prepareFindingInspector(projectDir, bundle) {
207
+ let live;
208
+ try {
209
+ const { fingerprint, prepareLiveInspection } = await import("./live-LAHBXVK2.js");
210
+ const project = realpathSync(projectDir);
211
+ const sourceVersion = fingerprint(project);
212
+ const provenance = [];
213
+ const reads = /* @__PURE__ */ new Set();
214
+ const html = await bundle({
215
+ scriptProvenance: (script) => provenance.push(script),
216
+ onRead: (path) => reads.add(path)
217
+ });
218
+ live = prepareLiveInspection(project, html, provenance, sourceVersion, [...reads]);
219
+ } catch (error) {
220
+ return failedInspector(error);
221
+ }
222
+ let failure;
223
+ return {
224
+ html: live.html,
225
+ async ready(server) {
226
+ try {
227
+ live.finalizeDocument(await servedIndexHtml(server));
228
+ } catch (error) {
229
+ failure = error;
230
+ }
231
+ },
232
+ async inspect(page, target) {
233
+ if (failure !== void 0) return { error: normalizeErrorMessage(failure) };
234
+ try {
235
+ const report = await live.inspect(runnerFor(page), {
236
+ targets: [target],
237
+ descendants: false
238
+ });
239
+ if ("selector" in target && report.results.some((result) => result.candidates.length + result.candidatesOmitted > 1)) {
240
+ return { error: `ambiguous_selector: ${target.selector} matches multiple elements` };
241
+ }
242
+ return report;
243
+ } catch (error) {
244
+ return { error: normalizeErrorMessage(error) };
245
+ }
246
+ }
247
+ };
248
+ }
249
+ function failedInspector(error) {
250
+ const inspect = { error: normalizeErrorMessage(error) };
251
+ return { ready: async () => {
252
+ }, inspect: async () => inspect };
253
+ }
254
+ async function servedIndexHtml(server) {
255
+ if (server.answer) {
256
+ const response2 = await server.answer({ method: "GET", path: "/", headers: {} });
257
+ return response2.body.toString("utf8");
258
+ }
259
+ const response = await fetch(server.url);
260
+ if (!response.ok) throw new Error(`check server answered ${response.status} for its page`);
261
+ return response.text();
262
+ }
263
+
201
264
  // src/utils/gsapTweenTails.ts
202
265
  var TWEEN_TAIL_WINDOW = 0.25;
203
266
  function findTweenTails(records) {
@@ -510,9 +573,12 @@ function proxyFailedDraft(message) {
510
573
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
511
574
  }
512
575
  async function loadCheckHtmlWithDeferredMedia(dir) {
513
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-GJ2UYZ6E.js");
576
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-EHXEP5ZL.js");
577
+ return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
578
+ }
579
+ function withCapturePreviewMark(html) {
514
580
  return injectTagsAtHeadStart(
515
- await bundleWithLocalizedFonts(dir),
581
+ html,
516
582
  `<meta name="${STUDIO_PREVIEW_MARK_META}" content="${STUDIO_PREVIEW_CAPTURE_MODE}">`
517
583
  );
518
584
  }
@@ -569,7 +635,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
569
635
  ).map((draft) => runtimeFinding(draft, rootAnchor))
570
636
  }));
571
637
  const launchSettleMs = Date.now() - launchSettleStart;
572
- const { analyzeClipMediaFit } = await import("./src-DAW4JYSR.js");
638
+ const { analyzeClipMediaFit } = await import("./src-OQRG6BT7.js");
573
639
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
574
640
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
575
641
  }
@@ -686,7 +752,62 @@ function mergeHelperDrafts(primary, helper) {
686
752
  }
687
753
  async function captureFindingCrops(project, options, requests, deadline) {
688
754
  if (requests.length === 0) return [];
689
- const html = await loadCheckHtmlWithDeferredMedia(project.dir);
755
+ return withFindingCapturePage(project, options, deadline, "crops", async (page, snapshotDir) => {
756
+ const written = [];
757
+ for (const request of requests) {
758
+ await seekCompositionTimeline(page, request.time, SCREENSHOT_SEEK_OPTIONS);
759
+ const canvas = await page.evaluate(() => ({
760
+ width: window.innerWidth,
761
+ height: window.innerHeight
762
+ }));
763
+ const region = padCropRegion(request.bbox, canvas, DEFAULT_ZOOM_PADDING_PX);
764
+ const buffer = await captureRegionCrop(page, region, DEFAULT_ZOOM_SCALE);
765
+ writeFileSync(join(snapshotDir, request.filename), buffer);
766
+ written.push(join(snapshotDir, request.filename));
767
+ }
768
+ return written;
769
+ });
770
+ }
771
+ async function captureFindingFrames(project, options, requests, deadline) {
772
+ if (requests.length === 0) return { written: [], inspected: [] };
773
+ const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
774
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-EHXEP5ZL.js");
775
+ return withCapturePreviewMark(
776
+ await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
777
+ );
778
+ }) : void 0;
779
+ deadline?.signal.throwIfAborted();
780
+ return withFindingCapturePage(
781
+ project,
782
+ options,
783
+ deadline,
784
+ "frames",
785
+ async (page, snapshotDir, server) => {
786
+ await inspector?.ready(server);
787
+ deadline?.signal.throwIfAborted();
788
+ const written = [];
789
+ const inspected = [];
790
+ for (const request of requests) {
791
+ deadline?.enter("frames");
792
+ await seekCompositionTimeline(page, request.time, SCREENSHOT_SEEK_OPTIONS);
793
+ const buffer = await page.screenshot({ type: "png", optimizeForSpeed: true });
794
+ writeFileSync(join(snapshotDir, request.filename), buffer);
795
+ written.push(join(snapshotDir, request.filename));
796
+ if (!inspector) continue;
797
+ for (const target of request.inspect ?? []) {
798
+ deadline?.enter("frames");
799
+ const inspect = await inspector.inspect(page, target);
800
+ deadline?.signal.throwIfAborted();
801
+ inspected.push({ time: request.time, target, inspect });
802
+ }
803
+ }
804
+ return { written, inspected };
805
+ },
806
+ inspector?.html
807
+ );
808
+ }
809
+ async function withFindingCapturePage(project, options, deadline, what, capture, pageHtml) {
810
+ const html = pageHtml ?? await loadCheckHtmlWithDeferredMedia(project.dir);
690
811
  const server = await serveStaticProjectHtml(
691
812
  project.dir,
692
813
  html,
@@ -695,36 +816,23 @@ async function captureFindingCrops(project, options, requests, deadline) {
695
816
  options.autoProxy
696
817
  );
697
818
  let chromeBrowser;
698
- const written = [];
699
819
  let failure = { kind: "none" };
700
820
  try {
701
821
  const session = await openSettledCompositionPage(html, server.url, {
702
822
  navigationTimeoutMs: options.timeout,
703
823
  renderReadyTimeoutMs: options.timeout,
704
- renderReadyWarningSuffix: "capturing finding crops",
824
+ renderReadyWarningSuffix: `capturing finding ${what}`,
705
825
  signal: deadline?.signal,
706
826
  onBrowser: deadline?.ownBrowser,
707
827
  onBrowserReady: deadline?.start,
708
- beforeNavigate: (page2) => deadline?.preparePage(page2),
828
+ beforeNavigate: (page) => deadline?.preparePage(page),
709
829
  browserGpuMode: options.browserGpuMode ?? resolveCliChromeGpuMode()
710
830
  });
711
831
  chromeBrowser = session.browser;
712
- const page = session.page;
713
- await waitForPreferredSeekTarget(page);
832
+ await waitForPreferredSeekTarget(session.page);
714
833
  const snapshotDir = checkSnapshotDirectory(project.dir);
715
834
  mkdirSync(snapshotDir, { recursive: true });
716
- for (const request of requests) {
717
- await seekCompositionTimeline(page, request.time, SCREENSHOT_SEEK_OPTIONS);
718
- const canvas = await page.evaluate(() => ({
719
- width: window.innerWidth,
720
- height: window.innerHeight
721
- }));
722
- const region = padCropRegion(request.bbox, canvas, DEFAULT_ZOOM_PADDING_PX);
723
- const buffer = await captureRegionCrop(page, region, DEFAULT_ZOOM_SCALE);
724
- writeFileSync(join(snapshotDir, request.filename), buffer);
725
- written.push(join(snapshotDir, request.filename));
726
- }
727
- return written;
835
+ return await capture(session.page, snapshotDir, server);
728
836
  } catch (error) {
729
837
  failure = { kind: "failed", error };
730
838
  throw error;
@@ -1930,6 +2038,7 @@ export {
1930
2038
  samplingBrowserCount,
1931
2039
  mergeHelperDrafts,
1932
2040
  captureFindingCrops,
2041
+ captureFindingFrames,
1933
2042
  keepBrokenImageAborts,
1934
2043
  dropFailedProxyEchoes,
1935
2044
  createPageDriver,
@@ -9,23 +9,23 @@ import {
9
9
  readToolContext,
10
10
  reportArtifacts,
11
11
  withProjectLock
12
- } from "./chunk-PZIWSVMO.js";
12
+ } from "./chunk-PLGGKTCB.js";
13
13
  import {
14
14
  captureArtifactRevision
15
- } from "./chunk-OJDOYHPQ.js";
15
+ } from "./chunk-2756LXGY.js";
16
16
  import {
17
17
  loadProducer
18
- } from "./chunk-NT3L4IMM.js";
18
+ } from "./chunk-VCBZOU7U.js";
19
19
  import {
20
20
  trackLintRun
21
- } from "./chunk-UMGDRGF5.js";
21
+ } from "./chunk-7PRESGFT.js";
22
22
  import {
23
23
  beginCheckSnapshots,
24
24
  checkSnapshotDirectory,
25
25
  finishCheckSnapshots,
26
26
  preResolveHostileMediaProxies,
27
27
  rectToBbox
28
- } from "./chunk-DMZ3SCCU.js";
28
+ } from "./chunk-4HJMZI4H.js";
29
29
  import {
30
30
  CONTENT_OVERLAP_HELD_ERROR_MS,
31
31
  DEFAULT_MAX_STATIC_SEC,
@@ -44,14 +44,15 @@ import {
44
44
  frozenSpans,
45
45
  groupSampledFindings,
46
46
  limitLayoutIssues,
47
+ longestContiguousRun,
47
48
  longestContiguousRunMs,
48
49
  mergeSampleTimes,
49
50
  parseAt,
50
51
  readMotionSpec
51
- } from "./chunk-ANH7DV34.js";
52
+ } from "./chunk-AQS3MMEQ.js";
52
53
  import {
53
54
  resolveProject
54
- } from "./chunk-3HTXEXQ6.js";
55
+ } from "./chunk-6RLP6RDE.js";
55
56
  import {
56
57
  recordArtifacts
57
58
  } from "./chunk-XDMZY3H7.js";
@@ -60,17 +61,17 @@ import {
60
61
  closeManagedBrowser,
61
62
  onStopSignal,
62
63
  registerBrowserSessionCleanup
63
- } from "./chunk-VOKI2HSE.js";
64
+ } from "./chunk-YU53JSUZ.js";
64
65
  import {
65
66
  withRemainingBudget
66
67
  } from "./chunk-EHSBBBR2.js";
67
68
  import {
68
69
  resolveLocalBrowserGpuMode
69
- } from "./chunk-COHU6S2X.js";
70
+ } from "./chunk-US6JSQ2L.js";
70
71
  import {
71
72
  trackCheckReport,
72
73
  trackCommandFailure
73
- } from "./chunk-B2OUZUY5.js";
74
+ } from "./chunk-LVMJXO45.js";
74
75
  import {
75
76
  swallowedFlagUsageError
76
77
  } from "./chunk-HTIUNMTP.js";
@@ -90,17 +91,17 @@ import {
90
91
  import {
91
92
  extractMediaMetadata,
92
93
  findHdrAutoPromotion
93
- } from "./chunk-75KIZWAD.js";
94
+ } from "./chunk-Y63CT2ZC.js";
94
95
  import {
95
96
  lintProject,
96
97
  shouldBlockRender
97
- } from "./chunk-CV32PRH3.js";
98
+ } from "./chunk-IDASYE4U.js";
98
99
  import {
99
100
  resolveProjectRelativeSrc
100
- } from "./chunk-6BNTGNGD.js";
101
+ } from "./chunk-PBNWRWKA.js";
101
102
  import {
102
103
  withMeta
103
- } from "./chunk-GZCACSED.js";
104
+ } from "./chunk-GGEA5EHR.js";
104
105
  import {
105
106
  normalizeErrorMessage
106
107
  } from "./chunk-T2EUWCJE.js";
@@ -121,7 +122,8 @@ var PHASE_LABELS = {
121
122
  settle: "waiting for the page to be ready",
122
123
  samples: "checking samples",
123
124
  overlap: "running the overlap pass",
124
- crops: "capturing finding crops"
125
+ crops: "capturing finding crops",
126
+ frames: "capturing finding frames"
125
127
  };
126
128
  var BEFORE_DEADLINE = /* @__PURE__ */ new Set(["copies", "launch"]);
127
129
  var CheckDeadlineError = class extends Error {
@@ -261,6 +263,92 @@ var CheckDeadline = class {
261
263
  }
262
264
  };
263
265
 
266
+ // src/utils/checkFindingFrames.ts
267
+ import { basename } from "path";
268
+ var MAX_FINDING_FRAME_TIMES = 60;
269
+ var FRAMED_SECTIONS = ["layout", "contrast"];
270
+ function selectFindingFrames(report) {
271
+ const candidates = FRAMED_SECTIONS.flatMap(
272
+ (section2) => report[section2].findings.flatMap(
273
+ (finding, index) => (finding.severity === "error" || finding.severity === "warning") && hasRealBbox(finding.bbox) ? [{ section: section2, index, finding }] : []
274
+ )
275
+ ).sort((a, b) => severityRank(a.finding) - severityRank(b.finding));
276
+ const times = /* @__PURE__ */ new Set();
277
+ const findings = [];
278
+ let skipped = 0;
279
+ for (const { section: section2, index, finding } of candidates) {
280
+ const time = middleOfLongestRun(finding.times ?? [finding.time]);
281
+ if (time === void 0) continue;
282
+ if (!times.has(time) && times.size >= MAX_FINDING_FRAME_TIMES) {
283
+ skipped += 1;
284
+ continue;
285
+ }
286
+ times.add(time);
287
+ findings.push({ section: section2, index, time });
288
+ }
289
+ const requests = [...times].sort((a, b) => a - b).map((time, order) => ({ time, filename: findingFrameFilename(order, time) }));
290
+ return { requests, findings, skipped };
291
+ }
292
+ function severityRank(finding) {
293
+ return finding.severity === "error" ? 0 : 1;
294
+ }
295
+ function hasRealBbox(bbox) {
296
+ return bbox.width > 0 && bbox.height > 0;
297
+ }
298
+ function middleOfLongestRun(times) {
299
+ const run = longestContiguousRun(times.filter((time) => Number.isFinite(time) && time >= 0));
300
+ return run[Math.floor((run.length - 1) / 2)];
301
+ }
302
+ function findingFrameFilename(order, time) {
303
+ return `finding-frame-${String(order).padStart(2, "0")}-at-${time.toFixed(3)}s.png`;
304
+ }
305
+ function inspectTargetOf(finding) {
306
+ const hfId = finding.dataAttributes["data-hf-id"];
307
+ return hfId ? { hfId } : { selector: finding.selector };
308
+ }
309
+ var inspectionKey = (time, target) => `${time}
310
+ ${JSON.stringify(target)}`;
311
+ function findingFrameRequests(report, plan, inspect) {
312
+ if (!inspect) return plan.requests;
313
+ return plan.requests.map((request) => {
314
+ const targets = /* @__PURE__ */ new Map();
315
+ for (const entry of plan.findings) {
316
+ const finding = report[entry.section].findings[entry.index];
317
+ if (entry.time !== request.time || !finding) continue;
318
+ const target = inspectTargetOf(finding);
319
+ targets.set(inspectionKey(entry.time, target), target);
320
+ }
321
+ return { ...request, inspect: [...targets.values()] };
322
+ });
323
+ }
324
+ function withFindingFrameFields(report, plan, { written, inspected }) {
325
+ const pathOf = new Map(written.map((path) => [basename(path), path]));
326
+ const filenameOf = new Map(plan.requests.map((request) => [request.time, request.filename]));
327
+ const inspectOf = new Map(
328
+ inspected.map((entry) => [inspectionKey(entry.time, entry.target), entry.inspect])
329
+ );
330
+ const next = { ...report };
331
+ for (const section2 of FRAMED_SECTIONS) {
332
+ const framed = plan.findings.filter((entry) => entry.section === section2);
333
+ if (framed.length === 0) continue;
334
+ const findings = [...report[section2].findings];
335
+ for (const entry of framed) {
336
+ const frame = pathOf.get(filenameOf.get(entry.time) ?? "");
337
+ const finding = findings[entry.index];
338
+ if (!frame || !finding) continue;
339
+ const inspect = inspectOf.get(inspectionKey(entry.time, inspectTargetOf(finding)));
340
+ findings[entry.index] = {
341
+ ...finding,
342
+ frame,
343
+ frameTime: entry.time,
344
+ ...inspect && { inspect }
345
+ };
346
+ }
347
+ Object.assign(next, { [section2]: { ...report[section2], findings } });
348
+ }
349
+ return next;
350
+ }
351
+
264
352
  // src/utils/checkPipeline.ts
265
353
  import { mkdirSync, writeFileSync } from "fs";
266
354
  import { readFile } from "fs/promises";
@@ -637,7 +725,7 @@ function round(value) {
637
725
 
638
726
  // src/utils/hdrPromotion.ts
639
727
  async function bundleProjectHtml(projectDir) {
640
- const { bundleToSingleHtml } = await import("./compiler-XYZMBTYR.js");
728
+ const { bundleToSingleHtml } = await import("./compiler-LIJYMSEL.js");
641
729
  return bundleToSingleHtml(projectDir);
642
730
  }
643
731
  async function collectBundledRenderMedia(html) {
@@ -1821,7 +1909,13 @@ async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDE
1821
1909
  );
1822
1910
  outcome = {
1823
1911
  kind: "report",
1824
- report: options.snapshots ? await withFindingCrops(dependencies, project, options, report, deadline) : report
1912
+ report: await withOptionalFindingFrames(
1913
+ dependencies,
1914
+ project,
1915
+ options,
1916
+ options.snapshots ? await withFindingCrops(dependencies, project, options, report, deadline) : report,
1917
+ deadline
1918
+ )
1825
1919
  };
1826
1920
  } catch (error) {
1827
1921
  outcome = { kind: "failed", error };
@@ -1885,6 +1979,31 @@ async function withFindingCrops(dependencies, project, options, report, deadline
1885
1979
  return report;
1886
1980
  }
1887
1981
  }
1982
+ async function withOptionalFindingFrames(dependencies, project, options, report, deadline) {
1983
+ if (!options.findingFrames || deadline.signal.aborted) return report;
1984
+ const plan = selectFindingFrames(report);
1985
+ if (plan.requests.length === 0) return report;
1986
+ if (plan.skipped > 0) {
1987
+ console.error(
1988
+ ` finding frames: ${plan.skipped} finding(s) left out past ${MAX_FINDING_FRAME_TIMES} distinct times`
1989
+ );
1990
+ }
1991
+ const capture = dependencies.captureFindingFrames ?? captureFindingFrames;
1992
+ try {
1993
+ deadline.enter("frames");
1994
+ const requests = findingFrameRequests(report, plan, options.inspect);
1995
+ const captured = await deadline.run(() => capture(project, options, requests, deadline));
1996
+ return withFindingFrameFields(report, plan, captured);
1997
+ } catch (error) {
1998
+ if (error instanceof CheckDeadlineError || error instanceof CheckStoppedError) {
1999
+ const finding = runtimeFailure(error);
2000
+ return { ...report, ok: false, runtime: section([...report.runtime.findings, finding]) };
2001
+ }
2002
+ console.error(" finding frames skipped: " + normalizeErrorMessage(error));
2003
+ trackCommandFailure("check-finding-frames", error);
2004
+ return report;
2005
+ }
2006
+ }
1888
2007
  var MAX_FINDING_CROPS = 12;
1889
2008
  function selectFindingCropRequests(report) {
1890
2009
  const candidates = [
@@ -1896,7 +2015,7 @@ function selectFindingCropRequests(report) {
1896
2015
  const requests = [];
1897
2016
  for (const finding of candidates) {
1898
2017
  if (requests.length >= MAX_FINDING_CROPS) break;
1899
- if (finding.severity !== "error" || !hasRealBbox(finding.bbox)) continue;
2018
+ if (finding.severity !== "error" || !hasRealBbox2(finding.bbox)) continue;
1900
2019
  requests.push({
1901
2020
  filename: findingCropFilename(requests.length, finding.code),
1902
2021
  time: finding.time,
@@ -1905,7 +2024,7 @@ function selectFindingCropRequests(report) {
1905
2024
  }
1906
2025
  return requests;
1907
2026
  }
1908
- function hasRealBbox(bbox) {
2027
+ function hasRealBbox2(bbox) {
1909
2028
  return bbox.width > 0 && bbox.height > 0;
1910
2029
  }
1911
2030
  function findingCropFilename(index, code) {
@@ -2211,7 +2330,7 @@ function resolveMotionSpec(projectDir) {
2211
2330
  };
2212
2331
  }
2213
2332
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2214
- const module = await import("./checkBrowser-56C73ZNX.js");
2333
+ const module = await import("./checkBrowser-7V2DGDVD.js");
2215
2334
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2216
2335
  }
2217
2336
  var adoptedBrowser;
@@ -2225,7 +2344,7 @@ async function prelaunchBrowser(project, options) {
2225
2344
  if (adopted) return adopted;
2226
2345
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2227
2346
  if (html === void 0) return void 0;
2228
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-IC3MEOJR.js");
2347
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-LIT6U6C4.js");
2229
2348
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2230
2349
  }
2231
2350
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2236,8 +2355,12 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2236
2355
  writeFileSync(path, Buffer.from(pngBase64, "base64"));
2237
2356
  return relative(projectDir, path);
2238
2357
  }
2358
+ async function captureFindingFrames(project, options, requests, deadline) {
2359
+ const module = await import("./checkBrowser-7V2DGDVD.js");
2360
+ return module.captureFindingFrames(project, options, requests, deadline);
2361
+ }
2239
2362
  async function captureFindingCrops(project, options, requests, deadline) {
2240
- const module = await import("./checkBrowser-56C73ZNX.js");
2363
+ const module = await import("./checkBrowser-7V2DGDVD.js");
2241
2364
  return module.captureFindingCrops(project, options, requests, deadline);
2242
2365
  }
2243
2366
  var DEFAULT_DEPENDENCIES2 = {
@@ -2247,6 +2370,7 @@ var DEFAULT_DEPENDENCIES2 = {
2247
2370
  prelaunchBrowser,
2248
2371
  writeSnapshot,
2249
2372
  captureFindingCrops,
2373
+ captureFindingFrames,
2250
2374
  inspectHdrAutoPromotion
2251
2375
  };
2252
2376
 
@@ -2276,7 +2400,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2276
2400
  }
2277
2401
  },
2278
2402
  async prepareMedia(project, options) {
2279
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-GJ2UYZ6E.js");
2403
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-EHXEP5ZL.js");
2280
2404
  const html = await bundleWithLocalizedFonts(project.dir);
2281
2405
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2282
2406
  },
@@ -2564,6 +2688,8 @@ function parseCheckOptions(args) {
2564
2688
  ...checkReview()?.skipContrastInMotion ? { skipContrastInMotion: true } : {},
2565
2689
  strict: args.strict === true,
2566
2690
  snapshots: args.snapshots === true,
2691
+ ...checkReview()?.findingFrames ? { findingFrames: true } : {},
2692
+ ...checkReview()?.inspect ? { inspect: true } : {},
2567
2693
  captionZone: parseCaptionZone(args["caption-zone"]),
2568
2694
  frameCheck: parseFrameCheck(args["frame-check"]),
2569
2695
  layout: parseLayout(args.layout),
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-75KIZWAD.js";
9
+ } from "./chunk-Y63CT2ZC.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,