hyperframes 0.8.195 → 0.8.197

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 (179) hide show
  1. package/dist/{add-NL6XABRV.js → add-5GQIR5OE.js} +12 -12
  2. package/dist/{animatedGifPrep-JD4BBM2L.js → animatedGifPrep-MGFQWIGJ.js} +8 -8
  3. package/dist/api.js +16 -16
  4. package/dist/{asset-LRRHLG4L.js → asset-ADX55DGH.js} +2 -2
  5. package/dist/{assetCataloger-D7KGO346.js → assetCataloger-GGBWBQZW.js} +8 -8
  6. package/dist/{audio-34CZM4HF.js → audio-SPB4CLRU.js} +14 -14
  7. package/dist/{auth-FL5ZMOXB.js → auth-WBAB35QA.js} +1 -1
  8. package/dist/{autoUpdate-FZTJFLIH.js → autoUpdate-5VUDX7JO.js} +2 -2
  9. package/dist/{backgroundChecks-6ZKDCQET.js → backgroundChecks-ATZQQUMR.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-KDZ4F4QT.js → batchRender-6S2XULOE.js} +4 -4
  12. package/dist/{beats-7PK677VR.js → beats-WJPHWDZ6.js} +9 -9
  13. package/dist/{benchmark-LO36QH5D.js → benchmark-LZVR7PF6.js} +9 -9
  14. package/dist/{browser-3F7NDHU2.js → browser-QJ3PFVDY.js} +3 -3
  15. package/dist/{bundleWithLocalizedFonts-JL5J52L6.js → bundleWithLocalizedFonts-564BQ73K.js} +2 -2
  16. package/dist/{capture-DOP3ONNZ.js → capture-3PUQLQNM.js} +11 -11
  17. package/dist/{capture-JOSZZYUW.js → capture-IRAYPK52.js} +2 -2
  18. package/dist/{captureCompositionFrame-SWZ4GEJP.js → captureCompositionFrame-OHS3WBTA.js} +13 -13
  19. package/dist/{catalog-EZLHZMLM.js → catalog-IQKJLTSF.js} +12 -12
  20. package/dist/{catch-up-6B7VY43I.js → catch-up-C4JJJNP3.js} +4 -4
  21. package/dist/{check-QGELCBBF.js → check-46Z5CAA4.js} +37 -37
  22. package/dist/{checkBrowser-A5C2AB4L.js → checkBrowser-KAC54SLQ.js} +32 -32
  23. package/dist/{chunk-NKNRVPNV.js → chunk-2C4VIQ2H.js} +2 -2
  24. package/dist/{chunk-D6XDOYMB.js → chunk-2R7QYR2D.js} +1 -1
  25. package/dist/{chunk-W7GMPEY3.js → chunk-33BFEUCL.js} +15 -11
  26. package/dist/{chunk-KJ6ZQL34.js → chunk-3DEBV7RH.js} +1 -1
  27. package/dist/{chunk-7DFIVUOW.js → chunk-3HOQ5ZMS.js} +6 -6
  28. package/dist/{chunk-L4BFXWHC.js → chunk-454VK7CA.js} +17 -17
  29. package/dist/{chunk-IZR7U27Z.js → chunk-46J53I7B.js} +47 -16
  30. package/dist/{chunk-SMROKE63.js → chunk-4FXJ54L4.js} +2 -2
  31. package/dist/{chunk-OB4GJZTY.js → chunk-4MNF7ALL.js} +1 -1
  32. package/dist/{chunk-GKMRLES4.js → chunk-5FY7ARKL.js} +1 -1
  33. package/dist/{chunk-YUFECVHG.js → chunk-5L6UY76S.js} +1 -1
  34. package/dist/{chunk-IZCW2NKT.js → chunk-5S7W3TUO.js} +1 -0
  35. package/dist/{chunk-YSXCPSJ4.js → chunk-6DMFWXDH.js} +3 -3
  36. package/dist/{chunk-KVLGJJTE.js → chunk-6LN4GQH3.js} +5 -5
  37. package/dist/{chunk-E527A6RS.js → chunk-6UX32GRW.js} +2 -2
  38. package/dist/{chunk-4R2NWLQL.js → chunk-7JMUJID2.js} +1 -1
  39. package/dist/{chunk-WUL5LPI2.js → chunk-AHE4R7PV.js} +9 -1
  40. package/dist/{chunk-F4T7XYMF.js → chunk-AXJMD32I.js} +1 -1
  41. package/dist/{chunk-FWDDLW2H.js → chunk-B6D7KOXQ.js} +2 -2
  42. package/dist/{chunk-ES7KSCSO.js → chunk-BF3ACZAB.js} +9 -9
  43. package/dist/{chunk-3OAFRLD3.js → chunk-BNMVX4JK.js} +11 -8
  44. package/dist/{chunk-66Q27H72.js → chunk-BXXEQFRW.js} +2 -2
  45. package/dist/{chunk-NOHH25WS.js → chunk-C4REI4HU.js} +2 -2
  46. package/dist/{chunk-CCZMCX3F.js → chunk-DTC4KKFP.js} +1 -1
  47. package/dist/{chunk-ST35C4K6.js → chunk-DY53XJ3P.js} +1 -1
  48. package/dist/{chunk-BBXZPDEA.js → chunk-FFPKJU7T.js} +2 -2
  49. package/dist/{chunk-ROEW726S.js → chunk-FMTJ4I6I.js} +1 -1
  50. package/dist/{chunk-ORZMO6NY.js → chunk-FUAS4KCJ.js} +3 -3
  51. package/dist/chunk-G5RNOVAV.js +3901 -0
  52. package/dist/{chunk-7Y5RVQQ7.js → chunk-GC4NUZAR.js} +4 -4
  53. package/dist/{chunk-7G2LQM3J.js → chunk-GGURM4ZM.js} +27 -18
  54. package/dist/{chunk-VNWX5GBF.js → chunk-GI2WXOY5.js} +4 -3
  55. package/dist/{chunk-ZOJHEN3C.js → chunk-GM6WM6YH.js} +1 -1
  56. package/dist/{chunk-6ORTRIDW.js → chunk-IFOJM6PV.js} +3 -3
  57. package/dist/{chunk-SC6NILKD.js → chunk-IHSFWHXI.js} +1 -1
  58. package/dist/{chunk-E74JMKSK.js → chunk-IK4Q7EKF.js} +2 -2
  59. package/dist/{chunk-TE6VGYHQ.js → chunk-IY2NZKMG.js} +1 -1
  60. package/dist/{chunk-636WBDXB.js → chunk-J756NYRP.js} +5 -5
  61. package/dist/{chunk-GJG4CTXD.js → chunk-KBVJ6G65.js} +3 -3
  62. package/dist/{chunk-3PYIQLPL.js → chunk-MGSQPE6P.js} +1 -1
  63. package/dist/{chunk-YFTO5YD7.js → chunk-NAZ54XAE.js} +5 -5
  64. package/dist/{chunk-XOUWCZHD.js → chunk-OEC7RJVD.js} +1 -1
  65. package/dist/{chunk-W4SSWOOD.js → chunk-PDDVEHWJ.js} +2 -2
  66. package/dist/{chunk-OJNNKHAZ.js → chunk-PGDWNIOK.js} +7 -2
  67. package/dist/{chunk-RZUEXJRC.js → chunk-POYHL7UJ.js} +2 -2
  68. package/dist/{chunk-L2EBYFU7.js → chunk-PRURJIVL.js} +1 -1
  69. package/dist/{chunk-2OYYNKJ4.js → chunk-QXPZGDTI.js} +1 -1
  70. package/dist/{chunk-IA7HZ4CM.js → chunk-RHYXITPN.js} +3 -3
  71. package/dist/{chunk-GOOE33GV.js → chunk-RNPTRRLX.js} +1 -1
  72. package/dist/{chunk-ELQ2QQC5.js → chunk-SD2IVQXM.js} +1 -1
  73. package/dist/{chunk-HJINEUHY.js → chunk-T3CBCGU4.js} +179 -131
  74. package/dist/{chunk-7PXVXRVX.js → chunk-UP7IRMTI.js} +9 -9
  75. package/dist/{chunk-HTLCE7M2.js → chunk-VFSFTVOT.js} +67 -24
  76. package/dist/{chunk-CZNSLFYD.js → chunk-VLVQQJOX.js} +14 -7
  77. package/dist/{chunk-B7Y2DGU6.js → chunk-WKHPW2BC.js} +1 -1
  78. package/dist/{chunk-RAACYYWX.js → chunk-WNLHEUZU.js} +1 -1
  79. package/dist/{chunk-2G6JZJAV.js → chunk-WWE73ZFN.js} +2 -2
  80. package/dist/{chunk-HT33OHQL.js → chunk-WY6X5Q33.js} +1 -1
  81. package/dist/{chunk-ZL6ZCLY6.js → chunk-X56HO2IP.js} +1 -1
  82. package/dist/{chunk-XC7SJ2UR.js → chunk-X73MOLUS.js} +3 -3
  83. package/dist/{chunk-2HSRLKZR.js → chunk-XE5DW6UC.js} +3 -3
  84. package/dist/{chunk-B7RJV74O.js → chunk-XOTUPVIF.js} +4 -0
  85. package/dist/{chunk-2TU4OKIR.js → chunk-YUODO5H2.js} +31 -0
  86. package/dist/{chunk-ZAVUASNT.js → chunk-ZAY376M4.js} +1 -1
  87. package/dist/{chunk-P5X5URNQ.js → chunk-ZE6CLWXL.js} +1 -1
  88. package/dist/{clean-PI4JLT6O.js → clean-JM6Y5V2G.js} +18 -18
  89. package/dist/cli.js +53 -53
  90. package/dist/{cloud-SQRY723M.js → cloud-DWKTRWWB.js} +4 -4
  91. package/dist/{cloudrun-VMPROR43.js → cloudrun-HLUQOVRO.js} +6 -6
  92. package/dist/{compare-EHX4APTP.js → compare-GVTQBP4N.js} +29 -29
  93. package/dist/{compiler-FZCJGGBF.js → compiler-3MDCAKFB.js} +4 -4
  94. package/dist/{component-I75ZKJYH.js → component-QSRD6BSP.js} +3 -3
  95. package/dist/{compositions-YNYYUEQD.js → compositions-BDITIWMO.js} +12 -12
  96. package/dist/{delete-7BVTBKOC.js → delete-G2MXPSLU.js} +2 -2
  97. package/dist/{deploy-TUEEJP3W.js → deploy-Q7RDYGFL.js} +1 -1
  98. package/dist/{deterministicFonts-RADD3BSX.js → deterministicFonts-RMA7GDJC.js} +2 -2
  99. package/dist/{dist-VVROHSP4.js → dist-WHAM6TAE.js} +3 -3
  100. package/dist/{dist-VRGIE57H.js → dist-XPD7X6JB.js} +1 -1
  101. package/dist/{doctor-53DSQFW4.js → doctor-Q7SJW3MZ.js} +12 -12
  102. package/dist/{events-AD3U6E7I.js → events-DOABLVUG.js} +2 -2
  103. package/dist/{events-M6FIUDNQ.js → events-XEAJVOX2.js} +3 -3
  104. package/dist/{feedback-7SQ7KKAR.js → feedback-K7I2FQQF.js} +8 -8
  105. package/dist/{ffmpeg-3HSSPXS4.js → ffmpeg-2LKYJYAF.js} +8 -8
  106. package/dist/{figma-B5XII2BO.js → figma-LXJRAIDI.js} +3 -3
  107. package/dist/fontLocalizeCli.js +11 -11
  108. package/dist/{get-RZKNBIRD.js → get-EDCTYZB6.js} +2 -2
  109. package/dist/{gpuPolicy-77LOK3K6.js → gpuPolicy-4YOOXLBX.js} +8 -8
  110. package/dist/{grade-compare-K3YB3FQA.js → grade-compare-ZWUXB3MD.js} +30 -30
  111. package/dist/{help-UM6INVL5.js → help-LEZ3E433.js} +1 -1
  112. package/dist/{history-EWKPACWR.js → history-YD7OKO74.js} +7 -7
  113. package/dist/hyperframe.manifest.json +1 -1
  114. package/dist/hyperframe.runtime.iife.js +58 -58
  115. package/dist/hyperframes-player.global.js +1 -1
  116. package/dist/{info-KY3MFTCY.js → info-SI2KU7J7.js} +8 -8
  117. package/dist/{init-LURF2PL5.js → init-INX5WA2G.js} +28 -28
  118. package/dist/{inspect-46CZJM6P.js → inspect-SJENYN3F.js} +30 -30
  119. package/dist/{installer-NGFX6INI.js → installer-JQ6DMFZ2.js} +5 -5
  120. package/dist/{keyframes-YCSK6POI.js → keyframes-EAVHD4PM.js} +6 -6
  121. package/dist/{lambda-5KXULI2S.js → lambda-323RMLN5.js} +8 -8
  122. package/dist/{layout-WOLH24YE.js → layout-JGCQYWWK.js} +30 -30
  123. package/dist/{lint-P3P2LX6S.js → lint-SFE43W5P.js} +7 -7
  124. package/dist/{lintProject-ESAJKFOX.js → lintProject-Q4ZVEF3G.js} +1 -1
  125. package/dist/{list-RUYQWMF2.js → list-N2NSYK6G.js} +2 -2
  126. package/dist/{login-THBBWZAY.js → login-QGISW3KF.js} +4 -4
  127. package/dist/{manager-V34BMSAG.js → manager-IXZJADWC.js} +9 -9
  128. package/dist/{media-treatment-IMBLTYGV.js → media-treatment-BTA7BV52.js} +14 -14
  129. package/dist/{models-3NW7HU72.js → models-NZEBSWXZ.js} +12 -12
  130. package/dist/{motionShot-VTTYZ6KW.js → motionShot-E4GNRX4N.js} +16 -16
  131. package/dist/{normalize-audio-ME3X7HBX.js → normalize-audio-F4Q5ZX5R.js} +6 -6
  132. package/dist/{open-GLGSJISM.js → open-A4U2RXCG.js} +12 -12
  133. package/dist/{parakeetRunner-T3UGRZWC.js → parakeetRunner-OVNNGTEB.js} +13 -13
  134. package/dist/{pipeline-IJXVEQCU.js → pipeline-Z76DCEY7.js} +9 -9
  135. package/dist/{play-HFFGGAZH.js → play-NWSZMZZG.js} +21 -21
  136. package/dist/{preflight-QV6V3UO2.js → preflight-I6UXFNYV.js} +9 -9
  137. package/dist/{present-TH34CTYY.js → present-QFZQ5VRM.js} +17 -17
  138. package/dist/{preview-R67EQGQP.js → preview-GXNG3UOV.js} +19 -19
  139. package/dist/{producer-HWPFETDU.js → producer-MGXGNSQX.js} +1 -1
  140. package/dist/{projectConfig-AO4V3RHS.js → projectConfig-TNL3ZDIP.js} +7 -7
  141. package/dist/{publication-BDQ3PXYG.js → publication-OO772CBM.js} +3 -3
  142. package/dist/{publish-PXYTWSXN.js → publish-X33ZCMFO.js} +11 -11
  143. package/dist/{remove-background-BVDJPT3Z.js → remove-background-JAD2RBYP.js} +10 -10
  144. package/dist/{render-45YHWV6W.js → render-2FX26ITP.js} +6 -6
  145. package/dist/{render-5MZY4TAB.js → render-BZCK6XNT.js} +16 -16
  146. package/dist/{render-5RQUYPIV.js → render-OJEKVJNG.js} +30 -30
  147. package/dist/{render-batch-ZUTUBTHX.js → render-batch-SP6HKIF4.js} +6 -6
  148. package/dist/renderSetupWorker.js +1 -1
  149. package/dist/{resolver-FN2M3XVM.js → resolver-QB7L6U4Q.js} +5 -5
  150. package/dist/{sherpa-6KWNPRWB.js → sherpa-BZLXBJTD.js} +12 -12
  151. package/dist/skills/hyperframes/references/film.md +1 -0
  152. package/dist/skills/media-use/scripts/lib/recipe-store.mjs +1 -0
  153. package/dist/skills/media-use/scripts/lib/recipe-store.test.mjs +24 -0
  154. package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +2 -2
  155. package/dist/{skills-PWQCM2BT.js → skills-OMKCU4HZ.js} +5 -5
  156. package/dist/{skillsUpdateCheck-EHV2G3JX.js → skillsUpdateCheck-NNURJXBS.js} +3 -3
  157. package/dist/{snapshot-7Q24NFEI.js → snapshot-J7Y3PCCI.js} +58 -37
  158. package/dist/{src-OS2FRVZV.js → src-2YZVFDNC.js} +7 -7
  159. package/dist/{src-J43SXEHJ.js → src-T5WHBOD2.js} +10 -10
  160. package/dist/{staticProjectServer-YJWOQJF4.js → staticProjectServer-PHNKV2NL.js} +18 -18
  161. package/dist/studio/assets/{hyperframes-player-DnIPEARk.js → hyperframes-player-Cyi8HgFo.js} +1 -1
  162. package/dist/studio/assets/{index-Dkt4c1MV.js → index-6njHuMnJ.js} +106 -105
  163. package/dist/studio/assets/{index-CVppCm_X.js → index-DG6ZXBnu.js} +1 -1
  164. package/dist/studio/index.html +1 -1
  165. package/dist/{studio-api-CZBZ4D65.js → studio-api-VLJJP2GQ.js} +11 -11
  166. package/dist/{studioServer-U6EX5DSB.js → studioServer-G7RGGTWJ.js} +49 -49
  167. package/dist/{telemetry-VP4UWWO3.js → telemetry-2R6G2A54.js} +3 -3
  168. package/dist/{timeline-LMSUKEG6.js → timeline-B2CM5IZO.js} +19 -19
  169. package/dist/{tokens-FQ5AI5H4.js → tokens-7EOFUTMX.js} +2 -2
  170. package/dist/{transcribe-DNQFPZ2S.js → transcribe-7GTD3CEW.js} +11 -11
  171. package/dist/{transcribe-VAMXV7QS.js → transcribe-YJM673R7.js} +17 -17
  172. package/dist/{updateCheck-TOU7VLZK.js → updateCheck-JBIJ7L2D.js} +2 -2
  173. package/dist/{upgrade-CJRMRR2S.js → upgrade-WF2CBHOE.js} +2 -2
  174. package/dist/{urlDownloader-GETNWEIT.js → urlDownloader-HMXLCV4T.js} +7 -7
  175. package/dist/{validate-PRI2UTQS.js → validate-OHWQ7DQO.js} +24 -24
  176. package/dist/{video-VOCQA6AG.js → video-OEEM43V6.js} +8 -8
  177. package/dist/warmCheck.js +37 -37
  178. package/package.json +2 -2
  179. package/dist/chunk-ZQRD62QZ.js +0 -3901
@@ -6,27 +6,27 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-ZAVUASNT.js";
9
+ } from "./chunk-ZAY376M4.js";
10
10
  import {
11
11
  serveStaticProjectHtml
12
- } from "./chunk-KVLGJJTE.js";
12
+ } from "./chunk-6LN4GQH3.js";
13
13
  import {
14
14
  AUDIT_SEEK_OPTIONS,
15
15
  installPageFunctionGuard,
16
16
  seekCompositionTimeline,
17
17
  waitForCompositionFonts,
18
18
  waitForRuntimeReady
19
- } from "./chunk-ES7KSCSO.js";
19
+ } from "./chunk-BF3ACZAB.js";
20
20
  import {
21
21
  launchManagedBrowser,
22
22
  resolveManagedGpuMode
23
- } from "./chunk-WUL5LPI2.js";
23
+ } from "./chunk-AHE4R7PV.js";
24
24
  import {
25
25
  gotoWhenSent
26
26
  } from "./chunk-MOEGCMKI.js";
27
27
  import {
28
28
  pageNavigationTimeoutMs
29
- } from "./chunk-YSXCPSJ4.js";
29
+ } from "./chunk-6DMFWXDH.js";
30
30
  import {
31
31
  defineCommand
32
32
  } from "./chunk-S3S4TGEH.js";
@@ -40,7 +40,7 @@ import {
40
40
  import {
41
41
  printDeprecationNotice,
42
42
  withMeta
43
- } from "./chunk-ELQ2QQC5.js";
43
+ } from "./chunk-SD2IVQXM.js";
44
44
  import {
45
45
  normalizeErrorMessage
46
46
  } from "./chunk-T2EUWCJE.js";
@@ -715,7 +715,7 @@ async function collectTweenBoundaries(page) {
715
715
  });
716
716
  }
717
717
  async function bundleProjectHtml(projectDir) {
718
- const { bundleToSingleHtml } = await import("./compiler-FZCJGGBF.js");
718
+ const { bundleToSingleHtml } = await import("./compiler-3MDCAKFB.js");
719
719
  return bundleToSingleHtml(projectDir);
720
720
  }
721
721
  async function alignViewportToComposition(page, url) {
@@ -734,13 +734,13 @@ async function alignViewportToComposition(page, url) {
734
734
  async function runLayoutAudit(projectDir, opts) {
735
735
  const { ensureBrowser } = await import("./manager-COSJVRAE.js");
736
736
  const puppeteer = await import("puppeteer-core");
737
- const { buildChromeArgs } = await import("./src-OS2FRVZV.js");
737
+ const { buildChromeArgs } = await import("./src-2YZVFDNC.js");
738
738
  const {
739
739
  assertWebGpuAdapterAvailable,
740
740
  compositionRequiresWebGpu,
741
741
  resolveLocalBrowserGpuMode,
742
742
  resolveLocalWebGpu
743
- } = await import("./gpuPolicy-77LOK3K6.js");
743
+ } = await import("./gpuPolicy-4YOOXLBX.js");
744
744
  const html = await bundleProjectHtml(projectDir);
745
745
  const server = await serveStaticProjectHtml(
746
746
  projectDir,
@@ -11,20 +11,20 @@ import {
11
11
  } from "./chunk-57GN6KWT.js";
12
12
  import {
13
13
  captureArtifactRevision
14
- } from "./chunk-E527A6RS.js";
14
+ } from "./chunk-6UX32GRW.js";
15
15
  import {
16
16
  loadProducer
17
- } from "./chunk-L2EBYFU7.js";
17
+ } from "./chunk-PRURJIVL.js";
18
18
  import {
19
19
  trackLintRun
20
- } from "./chunk-ORZMO6NY.js";
20
+ } from "./chunk-FUAS4KCJ.js";
21
21
  import {
22
22
  beginCheckSnapshots,
23
23
  checkSnapshotDirectory,
24
24
  finishCheckSnapshots,
25
25
  preResolveHostileMediaProxies,
26
26
  rectToBbox
27
- } from "./chunk-IZR7U27Z.js";
27
+ } from "./chunk-46J53I7B.js";
28
28
  import {
29
29
  CONTENT_OVERLAP_HELD_ERROR_MS,
30
30
  DEFAULT_MAX_STATIC_SEC,
@@ -47,27 +47,29 @@ import {
47
47
  mergeSampleTimes,
48
48
  parseAt,
49
49
  readMotionSpec
50
- } from "./chunk-7PXVXRVX.js";
50
+ } from "./chunk-UP7IRMTI.js";
51
51
  import {
52
52
  resolveProject
53
- } from "./chunk-ZAVUASNT.js";
53
+ } from "./chunk-ZAY376M4.js";
54
54
  import {
55
55
  recordArtifacts
56
- } from "./chunk-OJNNKHAZ.js";
56
+ } from "./chunk-PGDWNIOK.js";
57
57
  import {
58
58
  BrowserCleanupError,
59
- closeManagedBrowser
60
- } from "./chunk-WUL5LPI2.js";
59
+ closeManagedBrowser,
60
+ onStopSignal,
61
+ registerBrowserSessionCleanup
62
+ } from "./chunk-AHE4R7PV.js";
61
63
  import {
62
64
  withRemainingBudget
63
65
  } from "./chunk-EHSBBBR2.js";
64
66
  import {
65
67
  resolveLocalBrowserGpuMode
66
- } from "./chunk-BBXZPDEA.js";
68
+ } from "./chunk-FFPKJU7T.js";
67
69
  import {
68
70
  trackCheckReport,
69
71
  trackCommandFailure
70
- } from "./chunk-ZL6ZCLY6.js";
72
+ } from "./chunk-X56HO2IP.js";
71
73
  import {
72
74
  swallowedFlagUsageError
73
75
  } from "./chunk-HTIUNMTP.js";
@@ -87,17 +89,17 @@ import {
87
89
  import {
88
90
  extractMediaMetadata,
89
91
  findHdrAutoPromotion
90
- } from "./chunk-HJINEUHY.js";
92
+ } from "./chunk-T3CBCGU4.js";
91
93
  import {
92
94
  lintProject,
93
95
  shouldBlockRender
94
- } from "./chunk-2TU4OKIR.js";
96
+ } from "./chunk-YUODO5H2.js";
95
97
  import {
96
98
  resolveProjectRelativeSrc
97
99
  } from "./chunk-6BNTGNGD.js";
98
100
  import {
99
101
  withMeta
100
- } from "./chunk-ELQ2QQC5.js";
102
+ } from "./chunk-SD2IVQXM.js";
101
103
  import {
102
104
  normalizeErrorMessage
103
105
  } from "./chunk-T2EUWCJE.js";
@@ -130,6 +132,11 @@ var CheckDeadlineError = class extends Error {
130
132
  }
131
133
  sourceFile;
132
134
  };
135
+ var CheckStoppedError = class extends Error {
136
+ constructor(signal) {
137
+ super(`Check stopped before finishing (${signal}).`);
138
+ }
139
+ };
133
140
  var CheckDeadline = class {
134
141
  abort = new AbortController();
135
142
  operations = /* @__PURE__ */ new Set();
@@ -183,12 +190,21 @@ var CheckDeadline = class {
183
190
  rearm() {
184
191
  if (this.phase !== "started" || this.expired) return;
185
192
  clearTimeout(this.timer);
186
- this.timer = setTimeout(() => {
187
- this.expired = new CheckDeadlineError(this.scripts.at(-1), this.describe());
188
- this.rejectExpiry(this.expired);
189
- this.abort.abort(this.expired);
190
- }, CHECK_IDLE_MS);
193
+ this.timer = setTimeout(
194
+ () => this.expire(new CheckDeadlineError(this.scripts.at(-1), this.describe())),
195
+ CHECK_IDLE_MS
196
+ );
191
197
  }
198
+ expire(error) {
199
+ clearTimeout(this.timer);
200
+ this.expired = error;
201
+ this.rejectExpiry(error);
202
+ this.abort.abort(error);
203
+ }
204
+ stop = (signal) => {
205
+ if (this.expired || this.phase === "closed") return;
206
+ this.expire(new CheckStoppedError(signal));
207
+ };
192
208
  ownBrowser = (browser) => {
193
209
  if (this.expired) throw this.expired;
194
210
  if (this.phase === "closed") throw new Error("Check has already finished.");
@@ -620,7 +636,7 @@ function round(value) {
620
636
 
621
637
  // src/utils/hdrPromotion.ts
622
638
  async function bundleProjectHtml(projectDir) {
623
- const { bundleToSingleHtml } = await import("./compiler-FZCJGGBF.js");
639
+ const { bundleToSingleHtml } = await import("./compiler-3MDCAKFB.js");
624
640
  return bundleToSingleHtml(projectDir);
625
641
  }
626
642
  async function collectBundledRenderMedia(html) {
@@ -1776,6 +1792,7 @@ async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDE
1776
1792
  )
1777
1793
  ] : [];
1778
1794
  const deadline = new CheckDeadline();
1795
+ const forgetStop = onStopSignal(deadline.stop);
1779
1796
  let outcome;
1780
1797
  try {
1781
1798
  let browser;
@@ -1807,6 +1824,7 @@ async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDE
1807
1824
  } catch (error) {
1808
1825
  outcome = { kind: "failed", error };
1809
1826
  }
1827
+ forgetStop();
1810
1828
  try {
1811
1829
  await deadline.close();
1812
1830
  } catch (error) {
@@ -2191,7 +2209,7 @@ function resolveMotionSpec(projectDir) {
2191
2209
  };
2192
2210
  }
2193
2211
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2194
- const module = await import("./checkBrowser-A5C2AB4L.js");
2212
+ const module = await import("./checkBrowser-KAC54SLQ.js");
2195
2213
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2196
2214
  }
2197
2215
  var adoptedBrowser;
@@ -2205,7 +2223,7 @@ async function prelaunchBrowser(project, options) {
2205
2223
  if (adopted) return adopted;
2206
2224
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2207
2225
  if (html === void 0) return void 0;
2208
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-SWZ4GEJP.js");
2226
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-OHS3WBTA.js");
2209
2227
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2210
2228
  }
2211
2229
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2217,7 +2235,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2217
2235
  return relative(projectDir, path);
2218
2236
  }
2219
2237
  async function captureFindingCrops(project, options, requests, deadline) {
2220
- const module = await import("./checkBrowser-A5C2AB4L.js");
2238
+ const module = await import("./checkBrowser-KAC54SLQ.js");
2221
2239
  return module.captureFindingCrops(project, options, requests, deadline);
2222
2240
  }
2223
2241
  var DEFAULT_DEPENDENCIES2 = {
@@ -2256,7 +2274,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2256
2274
  }
2257
2275
  },
2258
2276
  async prepareMedia(project, options) {
2259
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-JL5J52L6.js");
2277
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-564BQ73K.js");
2260
2278
  const html = await bundleWithLocalizedFonts(project.dir);
2261
2279
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2262
2280
  },
@@ -2428,6 +2446,7 @@ function createCheckCommand(dependencies = DEFAULT_COMMAND_DEPENDENCIES) {
2428
2446
  async run({ rawArgs }) {
2429
2447
  const args = parseArgs(rawArgs, CHECK_COMMAND_ARGS);
2430
2448
  const asJson = args.json === true;
2449
+ const reported = untilReported();
2431
2450
  try {
2432
2451
  const project = dependencies.resolveProject(args.dir);
2433
2452
  const options = parseCheckOptions(args);
@@ -2465,10 +2484,34 @@ function createCheckCommand(dependencies = DEFAULT_COMMAND_DEPENDENCIES) {
2465
2484
  console.error(`${c.error("\u2717")} Check failed: ${message}`);
2466
2485
  }
2467
2486
  setCommandExitCode(1);
2487
+ } finally {
2488
+ reported.done();
2468
2489
  }
2469
2490
  }
2470
2491
  });
2471
2492
  }
2493
+ var REPORT_GRACE_MS = 5e3;
2494
+ function untilReported() {
2495
+ let done = () => void 0;
2496
+ const printed = new Promise((resolve2) => {
2497
+ done = resolve2;
2498
+ });
2499
+ const forget = registerBrowserSessionCleanup(
2500
+ () => new Promise((resolve2) => {
2501
+ const timer = setTimeout(resolve2, REPORT_GRACE_MS);
2502
+ void printed.then(() => {
2503
+ clearTimeout(timer);
2504
+ resolve2();
2505
+ });
2506
+ })
2507
+ );
2508
+ return {
2509
+ done: () => {
2510
+ done();
2511
+ forget();
2512
+ }
2513
+ };
2514
+ }
2472
2515
  async function runPrepareMedia(dependencies, project, options, asJson) {
2473
2516
  const files = await withProjectLock(
2474
2517
  project.dir,
@@ -14,6 +14,10 @@ import {
14
14
  isTokenExpired,
15
15
  tryResolveCredential
16
16
  } from "./chunk-ELP5QZWL.js";
17
+ import {
18
+ decodeUrlPathVariants,
19
+ encodeUrlPath
20
+ } from "./chunk-XOTUPVIF.js";
17
21
  import {
18
22
  CSS_URL_RE,
19
23
  isNonRelativeUrl,
@@ -396,14 +400,17 @@ function addExternalAsset(ctx, absPath) {
396
400
  }
397
401
  function tryResolveExternal(ctx, rawPath, referrerAbsDir) {
398
402
  if (isNonRelativeUrl(rawPath)) return null;
399
- const absPath = resolve2(referrerAbsDir, rawPath);
400
- if (isPathInside(absPath, ctx.absProjectDir)) return null;
401
- try {
402
- if (!existsSync2(absPath) || !statSync(absPath).isFile()) return null;
403
- } catch {
404
- return null;
403
+ for (const path of decodeUrlPathVariants(rawPath)) {
404
+ const absPath = resolve2(referrerAbsDir, path);
405
+ if (isPathInside(absPath, ctx.absProjectDir)) return null;
406
+ try {
407
+ if (!existsSync2(absPath) || !statSync(absPath).isFile()) continue;
408
+ } catch {
409
+ continue;
410
+ }
411
+ return encodeUrlPath(addExternalAsset(ctx, absPath));
405
412
  }
406
- return addExternalAsset(ctx, absPath);
413
+ return null;
407
414
  }
408
415
  function referenceFrom(entryPath, target) {
409
416
  return isNonRelativeUrl(target) ? target : posix.relative(posix.dirname(entryPath), target);
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-AWDFDFI3.js";
18
18
  import {
19
19
  isBlockedNetworkHost
20
- } from "./chunk-HJINEUHY.js";
20
+ } from "./chunk-T3CBCGU4.js";
21
21
  import {
22
22
  DOMParser,
23
23
  parseHTML
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-HT33OHQL.js";
15
+ } from "./chunk-WY6X5Q33.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -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-L4BFXWHC.js";
9
+ } from "./chunk-454VK7CA.js";
10
10
  import {
11
11
  injectTagsAtHeadStart
12
- } from "./chunk-ZQRD62QZ.js";
12
+ } from "./chunk-G5RNOVAV.js";
13
13
 
14
14
  // src/utils/compositionServer.ts
15
15
  import { createHash } from "crypto";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-GMECXFAN.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-E74JMKSK.js";
30
+ } from "./chunk-IK4Q7EKF.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -8,7 +8,7 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-KJ6ZQL34.js";
11
+ } from "./chunk-3DEBV7RH.js";
12
12
  import {
13
13
  CliRuntimeError
14
14
  } from "./chunk-JVBRJMOP.js";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-ZL6ZCLY6.js";
10
+ } from "./chunk-X56HO2IP.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-KJ6ZQL34.js";
13
+ } from "./chunk-3DEBV7RH.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-ZTZA4UWZ.js";
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
84
84
  try {
85
85
  const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
86
86
  import("./system-7F3UEHQT.js"),
87
- import("./ffmpeg-3HSSPXS4.js")
87
+ import("./ffmpeg-2LKYJYAF.js")
88
88
  ]);
89
89
  const sys = getSystemMeta();
90
90
  const parts = [
@@ -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-P5X5URNQ.js";
9
+ } from "./chunk-ZE6CLWXL.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-F4T7XYMF.js";
17
+ } from "./chunk-AXJMD32I.js";
18
18
  import {
19
19
  findFFmpeg,
20
20
  findFFprobe,
21
21
  getFFmpegInstallHint
22
- } from "./chunk-4R2NWLQL.js";
22
+ } from "./chunk-7JMUJID2.js";
23
23
  import {
24
24
  findWavChunk
25
25
  } from "./chunk-UOFAE5RF.js";
@@ -4732,6 +4732,9 @@ function splitUrlSuffix(urlValue) {
4732
4732
  function decodedUrlPath(url) {
4733
4733
  return decodeWellFormedEscapes(splitUrlSuffix(url).basePath);
4734
4734
  }
4735
+ function encodeUrlPath(path) {
4736
+ return encodeURIComponent(path).replace(/%2F/g, "/").replace(/['()]/g, (char) => `%${char.charCodeAt(0).toString(16).toUpperCase()}`);
4737
+ }
4735
4738
  function parseProgram2(script) {
4736
4739
  try {
4737
4740
  return acorn4.parse(script, { ecmaVersion: "latest", sourceType: "script" });
@@ -5037,6 +5040,7 @@ export {
5037
5040
  trackKindOf,
5038
5041
  decodeUrlPathVariants,
5039
5042
  decodedUrlPath,
5043
+ encodeUrlPath,
5040
5044
  extractMediaSrcMutations,
5041
5045
  FONT_ALIAS_MAP,
5042
5046
  FONT_ALIAS_KEYS,
@@ -9633,6 +9633,37 @@ ${other.raw}`)
9633
9633
  }
9634
9634
  return findings;
9635
9635
  },
9636
+ // svg_round_cap_hidden_dash — a round or square cap hides a path with dash == gap == pathLength and
9637
+ // offset == dash. The next dash then starts exactly at the path end, and Chrome's float rounding
9638
+ // leaves a sliver there that the cap paints as a dot, on some curves and not others.
9639
+ ({ tags }) => {
9640
+ const findings = [];
9641
+ for (const tag of tags) {
9642
+ const style = readAttr(tag.raw, "style") ?? "";
9643
+ const read = (name) => readAttr(tag.raw, name) ?? readStyleProperty(style, name);
9644
+ const cap = read("stroke-linecap");
9645
+ if (cap !== "round" && cap !== "square") continue;
9646
+ const pathLength = Number(readAttr(tag.raw, "pathLength"));
9647
+ const offset = Number(read("stroke-dashoffset"));
9648
+ const dashes = (read("stroke-dasharray") ?? "").split(/[\s,]+/).map(Number);
9649
+ const [dash, gap = dash] = dashes;
9650
+ if (dashes.length > 2 || dash === void 0 || gap === void 0) continue;
9651
+ if (![pathLength, offset, dash, gap].every(Number.isFinite) || pathLength <= 0) continue;
9652
+ const period = dash + gap;
9653
+ if (period <= 0 || offset < 0) continue;
9654
+ const nextDashAt = period - offset % period;
9655
+ if (offset % period < dash || Math.abs(nextDashAt - pathLength) > pathLength * 1e-6) continue;
9656
+ findings.push({
9657
+ code: "svg_round_cap_hidden_dash",
9658
+ severity: "warning",
9659
+ message: `<${tag.name}> is hidden with stroke-dasharray ${dash}${dashes.length > 1 ? ` ${gap}` : ""} and stroke-dashoffset ${offset} on pathLength ${pathLength}, but its ${cap} cap can still paint a dot at the end of the path (Chrome rounds the zero-length dash differently per curve).`,
9660
+ elementId: readAttr(tag.raw, "id") ?? void 0,
9661
+ fixHint: `Make the gap longer than the path (stroke-dasharray "${pathLength} ${+(pathLength * 1.2).toFixed(3)}" with stroke-dashoffset ${+(pathLength * 1.1).toFixed(3)}), or keep the element visibility:hidden until its draw tween starts.`,
9662
+ snippet: truncateSnippet(tag.raw)
9663
+ });
9664
+ }
9665
+ return findings;
9666
+ },
9636
9667
  // svg_measure_before_path_d — getTotalLength() on a <path> that has no static `d`
9637
9668
  // attribute in the HTML. In Chrome getTotalLength() on a d-less path returns 0,
9638
9669
  // silently killing dash animations (offset 0 == length 0 == nothing to draw). If a
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-K2FLNJVB.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-ZL6ZCLY6.js";
12
+ } from "./chunk-X56HO2IP.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-JVBRJMOP.js";
@@ -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-HJINEUHY.js";
9
+ } from "./chunk-T3CBCGU4.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -6,30 +6,30 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  redactHome
9
- } from "./chunk-YFTO5YD7.js";
9
+ } from "./chunk-NAZ54XAE.js";
10
10
  import "./chunk-Z27A7NUB.js";
11
11
  import "./chunk-5ETJX6WM.js";
12
- import "./chunk-GKMRLES4.js";
12
+ import "./chunk-5FY7ARKL.js";
13
13
  import "./chunk-EXAX37XR.js";
14
14
  import "./chunk-6BEFEWFB.js";
15
- import "./chunk-4R2NWLQL.js";
15
+ import "./chunk-7JMUJID2.js";
16
16
  import {
17
17
  loadProducer
18
- } from "./chunk-L2EBYFU7.js";
19
- import "./chunk-L4BFXWHC.js";
20
- import "./chunk-7Y5RVQQ7.js";
18
+ } from "./chunk-PRURJIVL.js";
19
+ import "./chunk-454VK7CA.js";
20
+ import "./chunk-GC4NUZAR.js";
21
21
  import "./chunk-6JR2XUEE.js";
22
- import "./chunk-2OYYNKJ4.js";
22
+ import "./chunk-QXPZGDTI.js";
23
23
  import {
24
24
  DEFAULT_HISTORY_ROOT,
25
25
  listProjectHistories,
26
26
  pruneGoneProjectHistories,
27
27
  reclaimUncopiedBlobs
28
- } from "./chunk-OJNNKHAZ.js";
28
+ } from "./chunk-PGDWNIOK.js";
29
29
  import {
30
30
  CACHE_DIR_NAME,
31
31
  cleanupProxyCache
32
- } from "./chunk-GJG4CTXD.js";
32
+ } from "./chunk-KBVJ6G65.js";
33
33
  import "./chunk-ALVXFXUG.js";
34
34
  import {
35
35
  formatBytes
@@ -53,15 +53,15 @@ import {
53
53
  directorySizeBytes,
54
54
  gcExtractionCache,
55
55
  resolveExtractCacheDir
56
- } from "./chunk-HJINEUHY.js";
57
- import "./chunk-IZCW2NKT.js";
58
- import "./chunk-E74JMKSK.js";
56
+ } from "./chunk-T3CBCGU4.js";
57
+ import "./chunk-5S7W3TUO.js";
58
+ import "./chunk-IK4Q7EKF.js";
59
59
  import "./chunk-RQVDTPGD.js";
60
- import "./chunk-VNWX5GBF.js";
61
- import "./chunk-ZQRD62QZ.js";
60
+ import "./chunk-GI2WXOY5.js";
61
+ import "./chunk-G5RNOVAV.js";
62
62
  import "./chunk-VC76R6W2.js";
63
63
  import "./chunk-X7HBSTCZ.js";
64
- import "./chunk-B7RJV74O.js";
64
+ import "./chunk-XOTUPVIF.js";
65
65
  import "./chunk-OFQWTKPW.js";
66
66
  import "./chunk-DPVXBVLL.js";
67
67
  import "./chunk-3GXQPCJC.js";
@@ -73,7 +73,7 @@ import "./chunk-T6AGUTZJ.js";
73
73
  import "./chunk-XT6MXC7A.js";
74
74
  import "./chunk-K4MJX7SR.js";
75
75
  import "./chunk-4UMPIPCQ.js";
76
- import "./chunk-2TU4OKIR.js";
76
+ import "./chunk-YUODO5H2.js";
77
77
  import "./chunk-VAS6HQX3.js";
78
78
  import "./chunk-6BNTGNGD.js";
79
79
  import "./chunk-CZGHFATT.js";
@@ -86,12 +86,12 @@ import "./chunk-RXATE6FZ.js";
86
86
  import "./chunk-W2LGJSEN.js";
87
87
  import {
88
88
  withMeta
89
- } from "./chunk-ELQ2QQC5.js";
89
+ } from "./chunk-SD2IVQXM.js";
90
90
  import "./chunk-K4WIOZFP.js";
91
91
  import "./chunk-6NLPPKBO.js";
92
92
  import "./chunk-WERLJGIC.js";
93
93
  import "./chunk-ISN5GRYI.js";
94
- import "./chunk-66Q27H72.js";
94
+ import "./chunk-BXXEQFRW.js";
95
95
  import "./chunk-T2EUWCJE.js";
96
96
  import "./chunk-KGPLIH7B.js";
97
97
  import "./chunk-M2WBOQ2Q.js";