hyperframes 0.8.211 → 0.8.213

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 (220) hide show
  1. package/dist/{add-WERDY37C.js → add-GRJ6BQMO.js} +14 -13
  2. package/dist/{agentPromptGenerator-SEAPWYY5.js → agentPromptGenerator-2HTUGEKK.js} +6 -6
  3. package/dist/{animatedGifPrep-LC43PROA.js → animatedGifPrep-7KPZBZXD.js} +6 -6
  4. package/dist/api.js +18 -18
  5. package/dist/{asset-IVDQNYHP.js → asset-YVIFFWCU.js} +5 -4
  6. package/dist/{assetCataloger-PPE7M2WM.js → assetCataloger-IZW7LPCT.js} +7 -7
  7. package/dist/{audio-IJ22GXO6.js → audio-X7274SUF.js} +316 -210
  8. package/dist/{auth-FZMDHX2H.js → auth-II6SIDJD.js} +4 -4
  9. package/dist/{autoUpdate-EO6SFALF.js → autoUpdate-WJIT74BG.js} +4 -2
  10. package/dist/{backgroundChecks-YW5VIAYF.js → backgroundChecks-NMKJAES7.js} +5 -3
  11. package/dist/backgroundChecksWorker.js +5 -3
  12. package/dist/{batchRender-OOXYNZOT.js → batchRender-I7GRY73M.js} +8 -7
  13. package/dist/{beats-X7GRQA4J.js → beats-6VXALJZT.js} +15 -14
  14. package/dist/{benchmark-JGGBMRZO.js → benchmark-RLIRA74V.js} +19 -17
  15. package/dist/{browser-FQ5JPTME.js → browser-7T3JMNTR.js} +12 -10
  16. package/dist/{bundleWithLocalizedFonts-XA73ZJ4S.js → bundleWithLocalizedFonts-C2LP6QZZ.js} +2 -2
  17. package/dist/{capture-GUVCA5JQ.js → capture-OZFDTN4A.js} +48 -18
  18. package/dist/{capture-KKVB3MKM.js → capture-V4HWHG7C.js} +13 -10
  19. package/dist/{captureCompositionFrame-LNKWWCXE.js → captureCompositionFrame-WZAVXCRQ.js} +14 -13
  20. package/dist/{catalog-LKJEMEOC.js → catalog-UFC7JS4T.js} +18 -17
  21. package/dist/{catch-up-FA6KWX4S.js → catch-up-YBNKJDWJ.js} +8 -7
  22. package/dist/{check-6GIDKL6S.js → check-ESQJHRGA.js} +42 -41
  23. package/dist/{checkAudio-H3AUFC4M.js → checkAudio-OIIBWFBF.js} +26 -11
  24. package/dist/{checkBrowser-YWWF63S6.js → checkBrowser-WAWL6TKX.js} +35 -34
  25. package/dist/{chunk-KSNIYQRB.js → chunk-26AQTUU4.js} +5 -7
  26. package/dist/{chunk-B2B4MN3R.js → chunk-2GS2RUVI.js} +2 -2
  27. package/dist/{chunk-WNDTMINP.js → chunk-2WELGDXU.js} +3 -3
  28. package/dist/{chunk-OE5EHGDG.js → chunk-3OYLHBQZ.js} +1 -1
  29. package/dist/{chunk-U46JEU26.js → chunk-4645UHJF.js} +1 -0
  30. package/dist/{chunk-FI7SSV73.js → chunk-46HYDDZ5.js} +1 -1
  31. package/dist/{chunk-YPNBEBQ6.js → chunk-4BXPCS5B.js} +26 -19
  32. package/dist/{chunk-ABBVDJMG.js → chunk-53VXGZ3L.js} +2 -2
  33. package/dist/{chunk-66KMYUNO.js → chunk-5ODMV7X6.js} +2 -2
  34. package/dist/{chunk-MMJAHBH2.js → chunk-5SKC4G26.js} +4 -1
  35. package/dist/{chunk-J2JG4XGP.js → chunk-5ZBMHUY2.js} +4 -0
  36. package/dist/{chunk-YRO3PXWU.js → chunk-6CGYINE7.js} +97 -2
  37. package/dist/{chunk-JMD5HDPB.js → chunk-6ZLDIMPL.js} +2 -2
  38. package/dist/{chunk-3R5MYOJN.js → chunk-76T7KAYD.js} +2 -2
  39. package/dist/{chunk-OOA6C4AG.js → chunk-7I5N36JA.js} +2 -2
  40. package/dist/{chunk-CNU65QE2.js → chunk-7JWRVKN4.js} +9 -5
  41. package/dist/{chunk-CJ5QZRY7.js → chunk-7KBS6ZLB.js} +2 -2
  42. package/dist/{chunk-T2L2GJ4C.js → chunk-7LOVQRUJ.js} +7 -7
  43. package/dist/{chunk-FBN5AQJL.js → chunk-7TWX4Y7I.js} +3 -3
  44. package/dist/{chunk-VBC3DQFS.js → chunk-AJ3QW6RX.js} +12 -5
  45. package/dist/{chunk-FIC3E7IM.js → chunk-BE6XXZAR.js} +9 -9
  46. package/dist/{chunk-5MCR5DA5.js → chunk-BVHNFPRF.js} +5 -5
  47. package/dist/{chunk-PKWZG642.js → chunk-CLA4XSBO.js} +3 -3
  48. package/dist/{chunk-DAXKGMJL.js → chunk-D3Q2TABU.js} +5 -5
  49. package/dist/{chunk-AIY2Y5UY.js → chunk-DJFEYX23.js} +5 -5
  50. package/dist/{chunk-FVY2XRX4.js → chunk-DKEZSH6M.js} +2 -2
  51. package/dist/{chunk-LALLQUSK.js → chunk-DP5LF7GF.js} +2 -0
  52. package/dist/{chunk-Q52ISCT4.js → chunk-DQ26IA5P.js} +1 -1
  53. package/dist/{chunk-3WL7WU6K.js → chunk-ENE4IKFX.js} +19 -20
  54. package/dist/{chunk-JZVUSRZ5.js → chunk-EQ66MVWZ.js} +1 -1
  55. package/dist/{chunk-VWG7OQKU.js → chunk-EQGKUPBJ.js} +4 -1
  56. package/dist/{chunk-KZBBY72Q.js → chunk-F4EX52FU.js} +1 -1
  57. package/dist/{chunk-4JWKC3GH.js → chunk-FGIMC5I4.js} +5 -5
  58. package/dist/{chunk-CGAUUUDL.js → chunk-FHO3FXTW.js} +3 -3
  59. package/dist/chunk-FJ646TIT.js +201 -0
  60. package/dist/{chunk-77KGX4A3.js → chunk-FKFGGAXN.js} +50 -8
  61. package/dist/{chunk-VUEWZXZG.js → chunk-G6HUXX3L.js} +1 -1
  62. package/dist/{chunk-5YHQBCWH.js → chunk-G6OKQMJI.js} +12 -2
  63. package/dist/{chunk-VGKQFZCC.js → chunk-GNSNCIHF.js} +14 -14
  64. package/dist/{chunk-SXJJTFV4.js → chunk-H3I2VLLL.js} +16 -4
  65. package/dist/{chunk-UYEZTK4U.js → chunk-HPTFD6MO.js} +10 -10
  66. package/dist/{chunk-5KOZRJR7.js → chunk-HWHPYCBZ.js} +1 -1
  67. package/dist/{chunk-22OGII5H.js → chunk-I3G45TWG.js} +1 -1
  68. package/dist/{chunk-DMIFCIG6.js → chunk-IHYWP4V5.js} +1 -1
  69. package/dist/{chunk-5LITFBMY.js → chunk-ISMOBMWF.js} +35 -24
  70. package/dist/{chunk-DDRCX7P2.js → chunk-KL2UJXCY.js} +2 -2
  71. package/dist/{chunk-KDDO3UYI.js → chunk-KSMCX5EP.js} +3 -3
  72. package/dist/{chunk-UI7X4L4M.js → chunk-KVFOQ3EM.js} +2137 -2100
  73. package/dist/{chunk-472C35EW.js → chunk-KY67MTBH.js} +1 -1
  74. package/dist/{chunk-DPYI2HRJ.js → chunk-L34IH4SH.js} +5 -5
  75. package/dist/{chunk-AHPGAESX.js → chunk-L72RQ45A.js} +1 -1
  76. package/dist/{chunk-YWPCMOX4.js → chunk-LALMFSLB.js} +5 -5
  77. package/dist/{chunk-4D46TX6Q.js → chunk-LGDRKQKL.js} +1 -1
  78. package/dist/{chunk-DWIMUPFK.js → chunk-LTQXIYNL.js} +2 -2
  79. package/dist/{chunk-Z2UZAY2Q.js → chunk-LYON3VGF.js} +2 -2
  80. package/dist/{chunk-AQMGYRX6.js → chunk-MBSESQED.js} +1 -1
  81. package/dist/{chunk-ZPXXWUQ3.js → chunk-MFC2PE7D.js} +30 -4
  82. package/dist/{chunk-6J2G57BB.js → chunk-N3MOQTRS.js} +7 -7
  83. package/dist/chunk-N3ZAIZF3.js +4870 -0
  84. package/dist/{chunk-JLGVBK5M.js → chunk-N4XNRHFM.js} +18 -4
  85. package/dist/{chunk-3NIESDKN.js → chunk-NGJS5H5E.js} +1 -1
  86. package/dist/{chunk-DJ3H6EW3.js → chunk-NP4G4WPP.js} +10 -9
  87. package/dist/{chunk-RQNFW6YC.js → chunk-O63A26XQ.js} +8 -3
  88. package/dist/{chunk-XNFDDVJS.js → chunk-ONMTNYGR.js} +4 -1
  89. package/dist/{chunk-SJK64HHG.js → chunk-OWV36OJP.js} +5 -2
  90. package/dist/{chunk-4EO7DNRJ.js → chunk-PAZ7WUYZ.js} +2 -2
  91. package/dist/{chunk-K43XLAQV.js → chunk-Q55JNFDV.js} +3 -3
  92. package/dist/{chunk-CZCRSS3U.js → chunk-QHWVCKC5.js} +1 -1
  93. package/dist/{chunk-ORXLO64X.js → chunk-S2HWGG5O.js} +1 -1
  94. package/dist/{chunk-5AKWJHRJ.js → chunk-S3ZWVEGQ.js} +1 -1
  95. package/dist/chunk-SJGE5I5F.js +131 -0
  96. package/dist/{chunk-GSXA4YLV.js → chunk-STK62RL7.js} +1 -1
  97. package/dist/{chunk-B4KGJHTE.js → chunk-SZOCI3JJ.js} +2 -2
  98. package/dist/{chunk-PICG2XRD.js → chunk-TCCCAEZD.js} +2 -2
  99. package/dist/{chunk-KF6I5WA7.js → chunk-TDNPJHEQ.js} +15 -18
  100. package/dist/{chunk-BGC5S3OZ.js → chunk-TLXK5A2N.js} +49 -36
  101. package/dist/{chunk-6EN2LWOM.js → chunk-TWCICOCI.js} +1 -1
  102. package/dist/{chunk-NEQIJUV2.js → chunk-UBDO4EHA.js} +10 -1
  103. package/dist/{chunk-2QAR7ZNY.js → chunk-V2H5UABS.js} +3 -3
  104. package/dist/{chunk-3LACB6HG.js → chunk-VTX27LET.js} +3 -3
  105. package/dist/{chunk-3JYKWNFR.js → chunk-VVDHSRKD.js} +1 -1
  106. package/dist/{chunk-2RQZQJHV.js → chunk-WSEPFRJV.js} +1 -1
  107. package/dist/{chunk-K3LLHG6I.js → chunk-XNY2KI2Z.js} +1 -1
  108. package/dist/{chunk-ZNSKOXFW.js → chunk-Z65ZQYBW.js} +3 -3
  109. package/dist/{chunk-QVHC77IF.js → chunk-Z7QHOT65.js} +2 -2
  110. package/dist/{chunk-LAR5VTCN.js → chunk-ZGG53XZX.js} +5 -5
  111. package/dist/{chunk-67JTGRNM.js → chunk-ZSRNM6LP.js} +1 -1
  112. package/dist/{chunk-IEVU4FXB.js → chunk-ZTCILR3V.js} +3 -3
  113. package/dist/{clean-SVEOBRPM.js → clean-XBQ54UZX.js} +22 -21
  114. package/dist/cli.js +151 -82
  115. package/dist/{cloud-ADFJGIEH.js → cloud-E2GUGXXL.js} +4 -4
  116. package/dist/{cloudrun-BNY7Q5RK.js → cloudrun-IAPFT66T.js} +23 -20
  117. package/dist/commands/layout-audit.browser.js +7 -10
  118. package/dist/{compare-QC3T22KV.js → compare-2VPIOCLV.js} +45 -46
  119. package/dist/{compiler-4ITKK4XI.js → compiler-3ED6KJYN.js} +3 -3
  120. package/dist/{component-CNZCB3RY.js → component-IH2KSDNM.js} +6 -5
  121. package/dist/{compositions-UO32IP6Z.js → compositions-MIMF2GM3.js} +14 -13
  122. package/dist/{delete-RWTOSI24.js → delete-5H5EYSYK.js} +13 -11
  123. package/dist/{deploy-OKWS53NP.js → deploy-DMQT34K2.js} +5 -5
  124. package/dist/{destroy-4RL5VOXQ.js → destroy-BQ5R7LUF.js} +3 -3
  125. package/dist/{deterministicFonts-LKAGUNE5.js → deterministicFonts-2ISM3LMW.js} +1 -1
  126. package/dist/{dist-AEE3QTRB.js → dist-ANQ2CIIO.js} +2 -2
  127. package/dist/{dist-NCI6JOJZ.js → dist-OKQM7BQ3.js} +3 -1
  128. package/dist/{docs-UMIA66EZ.js → docs-6EM6FDNI.js} +5 -4
  129. package/dist/{doctor-SIF72ESZ.js → doctor-MTRZJQZZ.js} +12 -10
  130. package/dist/{events-S3VUTFEG.js → events-2GNMM2YS.js} +5 -3
  131. package/dist/{events-34PIVLZQ.js → events-TBKM6B5H.js} +8 -5
  132. package/dist/{feedback-VS4LRXHW.js → feedback-6NNSKXQP.js} +20 -19
  133. package/dist/{ffmpeg-YVQOKNV6.js → ffmpeg-622QCJLB.js} +6 -6
  134. package/dist/{figma-AF4JKDBA.js → figma-TFHZ3N5A.js} +3 -3
  135. package/dist/fontLocalizeCli.js +11 -11
  136. package/dist/{get-UQGCS6Q4.js → get-P6RA7MAU.js} +8 -7
  137. package/dist/{gpuPolicy-Q4B3D6PW.js → gpuPolicy-CK2XDEAM.js} +6 -6
  138. package/dist/{grade-compare-G34673XC.js → grade-compare-LK6U7OJD.js} +47 -45
  139. package/dist/{heifImagePrep-XD4DGOUS.js → heifImagePrep-3OXKQUEZ.js} +7 -7
  140. package/dist/{help-3QSD26IC.js → help-YENCFXYK.js} +11 -7
  141. package/dist/{history-6DC24UCF.js → history-V3E4UCMY.js} +15 -12
  142. package/dist/hyperframe.manifest.json +1 -1
  143. package/dist/hyperframe.runtime.iife.js +64 -64
  144. package/dist/hyperframes-player.global.js +1 -1
  145. package/dist/{info-6JUHWWJK.js → info-ZGKQMX3Z.js} +11 -10
  146. package/dist/{init-2DPX6U3J.js → init-D6PJI2TA.js} +38 -37
  147. package/dist/{inspect-Z55YUSXC.js → inspect-UCHLILOX.js} +33 -32
  148. package/dist/{installer-XVKYJU7S.js → installer-CV2OKJFW.js} +4 -4
  149. package/dist/{keyframes-YHF4AQIL.js → keyframes-2IJTDJ7K.js} +10 -9
  150. package/dist/{lambda-JITTS37E.js → lambda-GKZBKWTK.js} +32 -30
  151. package/dist/{layout-V5NYJXIX.js → layout-KKPRCTME.js} +33 -32
  152. package/dist/{lint-V4WMO7YL.js → lint-NAC6M4NT.js} +18 -15
  153. package/dist/{lintProject-EM7Y2ZRB.js → lintProject-MSATZIK7.js} +1 -1
  154. package/dist/{list-W7UCIYKA.js → list-QRMXOTNB.js} +11 -10
  155. package/dist/{live-LAHBXVK2.js → live-WWPFZQ74.js} +33 -7
  156. package/dist/{localPage-BLQFFIDF.js → localPage-KMXALM7A.js} +6 -6
  157. package/dist/{login-IX3MOREU.js → login-GBN5ZMEA.js} +11 -11
  158. package/dist/{logout-46NLNY2K.js → logout-C6P6ERZ3.js} +5 -5
  159. package/dist/{manager-WJOWZNHM.js → manager-GPDDRQIW.js} +8 -8
  160. package/dist/{media-treatment-XBO6EXL4.js → media-treatment-4Q7G27JJ.js} +44 -34
  161. package/dist/{media-use-3RFKY7XJ.js → media-use-ZRHFRO46.js} +1 -1
  162. package/dist/{models-P3NSHDQS.js → models-7KJF4LYJ.js} +27 -20
  163. package/dist/{motionShot-D4QMLTQP.js → motionShot-DQAX2QTZ.js} +17 -16
  164. package/dist/{normalize-audio-Q4VUR3QJ.js → normalize-audio-K7VCJQYJ.js} +30 -19
  165. package/dist/{open-LGKX534P.js → open-ZSBVR3KC.js} +17 -16
  166. package/dist/{parakeetRunner-FAOQMPS6.js → parakeetRunner-XXZHJYKO.js} +12 -12
  167. package/dist/{pipeline-2YONKZYC.js → pipeline-KNLOS5CL.js} +11 -11
  168. package/dist/{play-PJOUIY55.js → play-GQWF7MU5.js} +32 -34
  169. package/dist/{policies-UPNRQ7IW.js → policies-J5BWAZHM.js} +11 -10
  170. package/dist/{preflight-3PPM7QBU.js → preflight-UMKQ5C5W.js} +7 -7
  171. package/dist/{present-323D6OE2.js → present-X7BPH35M.js} +28 -30
  172. package/dist/{preview-E42QP2KX.js → preview-5Q7HPEOF.js} +25 -24
  173. package/dist/{producer-MTMNLJSC.js → producer-IXOPGETH.js} +1 -1
  174. package/dist/{progress-LMQ2DXM4.js → progress-X3QFO3FE.js} +4 -4
  175. package/dist/{projectConfig-5QRVB5KY.js → projectConfig-YGI5AINR.js} +6 -6
  176. package/dist/{prompts-P3IT5H36.js → prompts-VAO7RDKX.js} +2 -2
  177. package/dist/{publication-AUZLFOG5.js → publication-ZSDCS2ST.js} +2 -2
  178. package/dist/{publish-H5P7UHRV.js → publish-S2IIRPFZ.js} +18 -18
  179. package/dist/{refresh-4XRQS3N6.js → refresh-IYRGLHG5.js} +5 -5
  180. package/dist/{remove-background-T2RV476S.js → remove-background-F2WFDCNM.js} +22 -18
  181. package/dist/{render-4XEB3XWI.js → render-CHRSSQNM.js} +60 -58
  182. package/dist/{render-3FRGIWES.js → render-NVHUPEDG.js} +28 -27
  183. package/dist/{render-GJH7446R.js → render-WYBQO4SR.js} +11 -10
  184. package/dist/{render-batch-77X5453X.js → render-batch-SDGA2643.js} +12 -11
  185. package/dist/renderSetupWorker.js +1 -1
  186. package/dist/{resolver-DIUNK525.js → resolver-3W2OPVGC.js} +4 -4
  187. package/dist/{sam-FHJ7IL7T.js → sam-QA7JT7IM.js} +2 -1
  188. package/dist/{sherpa-SUS3YSEP.js → sherpa-HCPAOYGA.js} +11 -11
  189. package/dist/{sites-V42IFVTK.js → sites-MTLVMYJ6.js} +2 -2
  190. package/dist/{skills-YCGSIOCE.js → skills-KOVM4OP5.js} +17 -13
  191. package/dist/{skillsUpdateCheck-VCQIZGOL.js → skillsUpdateCheck-ISMQFMPY.js} +5 -3
  192. package/dist/{snapshot-H6R5PWNS.js → snapshot-K7LVZDHG.js} +340 -107
  193. package/dist/{src-ED5VCIRC.js → src-FUMXFZYG.js} +10 -10
  194. package/dist/{src-HHDLJV4L.js → src-QEFKMRH7.js} +11 -5
  195. package/dist/{state-D5SYQFCB.js → state-6QHNNHDA.js} +2 -2
  196. package/dist/{staticProjectServer-VY7QG5XH.js → staticProjectServer-MF57NBIU.js} +18 -18
  197. package/dist/{status-GEZNVPII.js → status-SLILCDBZ.js} +12 -7
  198. package/dist/studio/assets/{hyperframes-player-CzrqgMUX.js → hyperframes-player-Bb6n05RB.js} +1 -1
  199. package/dist/studio/assets/{index-B3SPHPi1.js → index-DOtf09XR.js} +1 -1
  200. package/dist/studio/assets/{index-k4nVfS2D.js → index-pq574E5O.js} +119 -119
  201. package/dist/studio/index.html +1 -1
  202. package/dist/{studio-api-TR5RPX57.js → studio-api-Y4S3W7XE.js} +10 -10
  203. package/dist/{studioServer-4SZLLQOV.js → studioServer-5LUZQOQV.js} +53 -52
  204. package/dist/{synthesize-QALK5SQR.js → synthesize-FQML2LN2.js} +2 -2
  205. package/dist/{telemetry-KGY7G3UR.js → telemetry-NTO4FJFN.js} +5 -4
  206. package/dist/{telemetry-7HUKOQ6X.js → telemetry-TJMB5BTF.js} +6 -5
  207. package/dist/{timeline-CGIKWCQI.js → timeline-CU6CIWYL.js} +31 -27
  208. package/dist/{tokens-AZALDJEK.js → tokens-7P4N2FWN.js} +5 -4
  209. package/dist/{transcribe-CTF5EIXJ.js → transcribe-FZ7JK6QS.js} +28 -25
  210. package/dist/{transcribe-V6K5547L.js → transcribe-TFDEQFMG.js} +10 -10
  211. package/dist/{tts-C2HBLFKK.js → tts-K5HRN6NQ.js} +17 -13
  212. package/dist/{updateCheck-5I563YLB.js → updateCheck-HUDVZHVM.js} +4 -2
  213. package/dist/{upgrade-GRPVQE7Z.js → upgrade-KP4RQZKY.js} +7 -6
  214. package/dist/{urlDownloader-EP6Q4WES.js → urlDownloader-5SHSHWMB.js} +5 -5
  215. package/dist/{validate-TVCDSQS3.js → validate-VWX423M4.js} +27 -26
  216. package/dist/{video-CFEIRKAE.js → video-K4L2YFU2.js} +10 -10
  217. package/dist/warmCheck.js +44 -43
  218. package/package.json +1 -1
  219. package/dist/chunk-FWKZ3O52.js +0 -4870
  220. package/dist/chunk-WQ6ZXHFQ.js +0 -133
@@ -3496,16 +3496,30 @@ function collectCssCustomProperties(css, customProperties) {
3496
3496
  customProperties.set(decl.prop, decl.value);
3497
3497
  });
3498
3498
  }
3499
+ var FONT_SIZE_KEYWORD = /^(?:xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large|smaller|larger)$/i;
3500
+ var FONT_SIZE_TOKEN = /^(?:\d*\.?\d+[a-z%]+|(?:calc|min|max|clamp|var)\(.*\))(?:\/\S+)?$/i;
3501
+ function fontShorthandFamilies(value) {
3502
+ for (const token of value.matchAll(/(?:[^\s(]|\([^)]*\))+/g)) {
3503
+ const size = token[0].split("/")[0] ?? "";
3504
+ if (FONT_SIZE_KEYWORD.test(size) || FONT_SIZE_TOKEN.test(token[0])) {
3505
+ return value.slice(token.index + token[0].length).trim();
3506
+ }
3507
+ }
3508
+ return "";
3509
+ }
3499
3510
  function* iterateCssRootFontFamilyDeclarations(root) {
3500
3511
  const declarations = [];
3501
3512
  root.walkDecls((decl) => {
3502
- if (decl.prop.toLowerCase() !== "font-family")
3513
+ const prop = decl.prop.toLowerCase();
3514
+ if (prop !== "font-family" && prop !== "font")
3503
3515
  return;
3504
3516
  if (isFontFaceDeclaration(decl))
3505
3517
  return;
3506
- const declaration = decl.value;
3518
+ const declaration = prop === "font" ? fontShorthandFamilies(decl.value) : decl.value;
3519
+ if (!declaration)
3520
+ return;
3507
3521
  declarations.push({
3508
- surface: "font-family",
3522
+ surface: prop,
3509
3523
  declaration,
3510
3524
  families: parseFontFamilyValue(declaration)
3511
3525
  });
@@ -3513,7 +3527,7 @@ function* iterateCssRootFontFamilyDeclarations(root) {
3513
3527
  yield* declarations;
3514
3528
  }
3515
3529
  function* iterateCssFontFamilyDeclarations(css) {
3516
- if (!/font-family/i.test(css))
3530
+ if (!/font(?:-family)?\s*:/i.test(css))
3517
3531
  return;
3518
3532
  const root = parseCssRoot(css);
3519
3533
  if (!root)
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  quantizePreviewProxyBox
9
- } from "./chunk-472C35EW.js";
9
+ } from "./chunk-KY67MTBH.js";
10
10
  import {
11
11
  parseHTML
12
12
  } from "./chunk-GWTIFRF5.js";
@@ -10,19 +10,19 @@ import {
10
10
  import {
11
11
  pageNavigationTimeoutMs,
12
12
  windowsChromeCrashRemediation
13
- } from "./chunk-T2L2GJ4C.js";
13
+ } from "./chunk-7LOVQRUJ.js";
14
14
  import {
15
15
  resolveCompositionViewportFromHtml
16
- } from "./chunk-3NIESDKN.js";
16
+ } from "./chunk-NGJS5H5E.js";
17
17
  import {
18
18
  launchManagedBrowser,
19
19
  resolveManagedGpuMode,
20
20
  rethrowAfterBrowserCleanup
21
- } from "./chunk-5MCR5DA5.js";
21
+ } from "./chunk-BVHNFPRF.js";
22
22
  import {
23
23
  resolveLocalBrowserGpuMode,
24
24
  resolveLocalWebGpu
25
- } from "./chunk-Z2UZAY2Q.js";
25
+ } from "./chunk-LYON3VGF.js";
26
26
  import {
27
27
  c
28
28
  } from "./chunk-2GICKZ3I.js";
@@ -30,7 +30,7 @@ import {
30
30
  assertWebGpuAdapterAvailable,
31
31
  compositionRequiresWebGpu,
32
32
  oneProcessOverPipe
33
- } from "./chunk-UI7X4L4M.js";
33
+ } from "./chunk-KVFOQ3EM.js";
34
34
  import {
35
35
  normalizeErrorMessage
36
36
  } from "./chunk-E63BDV4Z.js";
@@ -138,7 +138,7 @@ async function waitForCompositionSettle(page, options) {
138
138
  console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
139
139
  });
140
140
  await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
141
- const { resolveConfig, waitForImagesReady } = await import("./src-HHDLJV4L.js");
141
+ const { resolveConfig, waitForImagesReady } = await import("./src-QEFKMRH7.js");
142
142
  const imageTimeoutMs = resolveConfig().playerReadyTimeout;
143
143
  await waitForImagesReady(
144
144
  page,
@@ -187,7 +187,7 @@ async function installPageFunctionGuard(page) {
187
187
  async function openSettledCompositionPage(html, url, options) {
188
188
  const viewport = resolveCompositionViewportFromHtml(html);
189
189
  const requiresWebGpu = compositionRequiresWebGpu(html);
190
- const answer = (await import("./staticProjectServer-VY7QG5XH.js")).inProcessAnswer(url);
190
+ const answer = (await import("./staticProjectServer-MF57NBIU.js")).inProcessAnswer(url);
191
191
  const noListen = answer !== void 0;
192
192
  let chromeBrowser;
193
193
  try {
@@ -198,8 +198,9 @@ async function openSettledCompositionPage(html, url, options) {
198
198
  options.onBrowserReady?.();
199
199
  const page = await chromeBrowser.newPage();
200
200
  await installPageFunctionGuard(page);
201
- const { installMediaRenderIdBridge } = await import("./src-HHDLJV4L.js");
201
+ const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-QEFKMRH7.js");
202
202
  await installMediaRenderIdBridge(page);
203
+ await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
203
204
  await page.setViewport(viewport);
204
205
  if (answer) await answerPageInProcess(page, url, answer);
205
206
  await options.beforeNavigate?.(page);
@@ -217,7 +218,7 @@ async function launchCompositionBrowser(html, noListen, options) {
217
218
  const { ensureBrowser, findSystemBrowser } = await import("./manager-IZIK7BHN.js");
218
219
  const browser = await ensureBrowser({ signal: options.signal });
219
220
  const puppeteer = await import("puppeteer-core");
220
- const { buildChromeArgs } = await import("./src-HHDLJV4L.js");
221
+ const { buildChromeArgs } = await import("./src-QEFKMRH7.js");
221
222
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
222
223
  const requiresWebGpu = compositionRequiresWebGpu(html);
223
224
  let softwareWebGpu = false;
@@ -15,13 +15,16 @@ import {
15
15
  import {
16
16
  isDevMode
17
17
  } from "./chunk-ISN5GRYI.js";
18
+ import {
19
+ asNotice
20
+ } from "./chunk-SJGE5I5F.js";
18
21
  import {
19
22
  isCI,
20
23
  isUnattended
21
24
  } from "./chunk-J3RXEDR2.js";
22
25
  import {
23
26
  VERSION
24
- } from "./chunk-DDRCX7P2.js";
27
+ } from "./chunk-KL2UJXCY.js";
25
28
 
26
29
  // src/utils/updateCheck.ts
27
30
  import { existsSync, readFileSync } from "fs";
@@ -257,9 +260,11 @@ function withMeta(data, options) {
257
260
  return { ...data, _meta: meta };
258
261
  }
259
262
  function printDeprecationNotice(command) {
260
- process.stderr.write(
261
- `'hyperframes ${command}' is deprecated and will be removed in a future release. Use 'hyperframes check' instead.
263
+ asNotice(
264
+ () => process.stderr.write(
265
+ `'hyperframes ${command}' is deprecated and will be removed in a future release. Use 'hyperframes check' instead.
262
266
  `
267
+ )
263
268
  );
264
269
  }
265
270
  function updateCheckDisabled() {
@@ -4,6 +4,9 @@ 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
+ CliUsageError
9
+ } from "./chunk-DP5LF7GF.js";
7
10
 
8
11
  // src/commands/lambda/sam.ts
9
12
  import { execFileSync, spawnSync } from "child_process";
@@ -41,7 +44,7 @@ function parseReservedConcurrency(raw) {
41
44
  if (raw === "none") return -1;
42
45
  const n = Number(raw);
43
46
  if (!Number.isInteger(n) || n < 1) {
44
- throw new Error(
47
+ throw new CliUsageError(
45
48
  `[lambda] --concurrency must be a positive integer or "none"; got ${String(raw)}`
46
49
  );
47
50
  }
@@ -7,9 +7,12 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  isTextFile
9
9
  } from "./chunk-K4WKGXRC.js";
10
+ import {
11
+ jsonFailure
12
+ } from "./chunk-SJGE5I5F.js";
10
13
  import {
11
14
  CliUsageError
12
- } from "./chunk-LALLQUSK.js";
15
+ } from "./chunk-DP5LF7GF.js";
13
16
 
14
17
  // src/utils/reject-extra-positionals.ts
15
18
  var ACCEPTS_EXTRA_POSITIONALS = /* @__PURE__ */ new Set([
@@ -62,7 +65,7 @@ function resolveExtraPositionals(cmd, path, parsed) {
62
65
  const message = `Unexpected extra argument${plural} for hyperframes ${path}: ${extra.join(", ")}
63
66
  Usage: ${usageLine(path, args)}` + (EXTRA_POSITIONAL_HINTS[path] ? `
64
67
  ${EXTRA_POSITIONAL_HINTS[path]}` : "");
65
- if (wantsJson(parsed?.json)) console.log(JSON.stringify({ ok: false, error: message }));
68
+ if (wantsJson(parsed?.json)) console.log(JSON.stringify(jsonFailure("usage_error", message)));
66
69
  else console.error(message);
67
70
  throw new CliUsageError(
68
71
  `${extra.length} unexpected extra argument${plural} for hyperframes ${path}`,
@@ -8,13 +8,13 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-UI7X4L4M.js";
11
+ } from "./chunk-KVFOQ3EM.js";
12
12
  import {
13
13
  renameWithRetry
14
14
  } from "./chunk-YWRUQ7XZ.js";
15
15
  import {
16
16
  parseAnimatedGifMetadata
17
- } from "./chunk-472C35EW.js";
17
+ } from "./chunk-KY67MTBH.js";
18
18
  import {
19
19
  parseHTML
20
20
  } from "./chunk-GWTIFRF5.js";
@@ -12,13 +12,13 @@ import {
12
12
  forceRefreshCredentials,
13
13
  resolveCloudAuthHeaders,
14
14
  resolveCloudBaseUrl
15
- } from "./chunk-3JYKWNFR.js";
15
+ } from "./chunk-VVDHSRKD.js";
16
16
  import {
17
17
  errorBox
18
- } from "./chunk-J2JG4XGP.js";
18
+ } from "./chunk-5ZBMHUY2.js";
19
19
  import {
20
20
  failCommand
21
- } from "./chunk-LALLQUSK.js";
21
+ } from "./chunk-DP5LF7GF.js";
22
22
 
23
23
  // src/cloud/poll.ts
24
24
  var DEFAULT_POLL_INTERVAL_MS = 2e3;
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-5KOZRJR7.js";
15
+ } from "./chunk-HWHPYCBZ.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  failCommand
9
- } from "./chunk-LALLQUSK.js";
9
+ } from "./chunk-DP5LF7GF.js";
10
10
 
11
11
  // src/commands/lambda/state.ts
12
12
  import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "fs";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/utils/producer.ts
9
9
  async function loadProducer() {
10
- return await import("./src-ED5VCIRC.js");
10
+ return await import("./src-FUMXFZYG.js");
11
11
  }
12
12
 
13
13
  export {
@@ -0,0 +1,131 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ CliRuntimeError,
9
+ CliUsageError,
10
+ failCommand,
11
+ failUsage
12
+ } from "./chunk-DP5LF7GF.js";
13
+
14
+ // src/utils/jsonError.ts
15
+ import { format, stripVTControlCharacters } from "util";
16
+ function jsonFailure(code, message, hint) {
17
+ return { ok: false, error: hint ? { code, message, hint } : { code, message } };
18
+ }
19
+ function failCaught(error, json, line, print = (payload) => console.log(JSON.stringify(payload))) {
20
+ const message = failureMessage(error);
21
+ const usage = error instanceof CliUsageError;
22
+ if (json) print(jsonFailure(usage ? error.code : "runtime_error", message));
23
+ else console.error(line(message));
24
+ if (usage) failUsage();
25
+ failCommand();
26
+ }
27
+ function writeJsonFailure(body) {
28
+ process.stdout.write(`${JSON.stringify({ ok: false, error: body })}
29
+ `);
30
+ }
31
+ var reported;
32
+ var noticeDepth = 0;
33
+ function recordFailure(message, hint) {
34
+ reported = { message, hint };
35
+ }
36
+ function asNotice(write) {
37
+ noticeDepth++;
38
+ try {
39
+ write();
40
+ } finally {
41
+ noticeDepth--;
42
+ }
43
+ }
44
+ var GENERIC_MESSAGES = /* @__PURE__ */ new Set(["Command failed", "Invalid command usage"]);
45
+ function failureMessage(error) {
46
+ if (!(error instanceof Error)) return String(error);
47
+ if (!GENERIC_MESSAGES.has(error.message)) return error.message;
48
+ if (error.cause instanceof Error) return failureMessage(error.cause);
49
+ return reported?.message ?? error.message;
50
+ }
51
+ function watchOutput() {
52
+ let wrote = false;
53
+ let stderr = "";
54
+ let inConsole = false;
55
+ const keep = (text) => {
56
+ if (noticeDepth === 0) stderr = (stderr + text).slice(-4e3);
57
+ };
58
+ const stdoutWrite = process.stdout.write.bind(process.stdout);
59
+ const stderrWrite = process.stderr.write.bind(process.stderr);
60
+ process.stdout.write = ((...args) => {
61
+ wrote = true;
62
+ return stdoutWrite(...args);
63
+ });
64
+ process.stderr.write = ((...args) => {
65
+ if (!inConsole)
66
+ keep(args[0] instanceof Uint8Array ? Buffer.from(args[0]).toString() : String(args[0]));
67
+ return stderrWrite(...args);
68
+ });
69
+ for (const name of ["log", "info", "debug", "dir", "table"]) {
70
+ const original = console[name].bind(console);
71
+ console[name] = (...args) => {
72
+ wrote = true;
73
+ original(...args);
74
+ };
75
+ }
76
+ for (const name of ["error", "warn"]) {
77
+ const original = console[name].bind(console);
78
+ console[name] = (...args) => {
79
+ keep(`${format(...args)}
80
+ `);
81
+ inConsole = true;
82
+ try {
83
+ original(...args);
84
+ } finally {
85
+ inConsole = false;
86
+ }
87
+ };
88
+ }
89
+ return {
90
+ wroteStdout: () => wrote,
91
+ stderrText: () => stripVTControlCharacters(stderr).split("\n").map((line) => line.replace(/^[\s✗│◇◆]+/u, "").trim()).filter(Boolean).join(" ").slice(-1e3)
92
+ };
93
+ }
94
+ function withHint(body, hint) {
95
+ return hint ? { ...body, hint: stripVTControlCharacters(hint) } : body;
96
+ }
97
+ function errorCode(error, result) {
98
+ if (error instanceof CliUsageError) return error.code;
99
+ return result.kind === "usage_error" ? "usage_error" : "runtime_error";
100
+ }
101
+ function ownMessage(error) {
102
+ if (!(error instanceof Error) || GENERIC_MESSAGES.has(error.message)) return void 0;
103
+ const typed = error instanceof CliUsageError || error instanceof CliRuntimeError;
104
+ return typed || !("result" in error) ? stripVTControlCharacters(error.message) : void 0;
105
+ }
106
+ function jsonErrorBody(error, result, stderrText) {
107
+ const code = errorCode(error, result);
108
+ const own = ownMessage(error);
109
+ if (own)
110
+ return withHint(
111
+ { code, message: own },
112
+ error instanceof CliUsageError ? error.hint : void 0
113
+ );
114
+ if (error instanceof Error && error.cause instanceof Error) {
115
+ return { code, message: failureMessage(error.cause) };
116
+ }
117
+ if (reported)
118
+ return withHint({ code, message: stripVTControlCharacters(reported.message) }, reported.hint);
119
+ return { code, message: stderrText || "Command failed" };
120
+ }
121
+
122
+ export {
123
+ jsonFailure,
124
+ failCaught,
125
+ writeJsonFailure,
126
+ recordFailure,
127
+ asNotice,
128
+ failureMessage,
129
+ watchOutput,
130
+ jsonErrorBody
131
+ };
@@ -11,7 +11,7 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-5KOZRJR7.js";
14
+ } from "./chunk-HWHPYCBZ.js";
15
15
 
16
16
  // src/registry/resolver.ts
17
17
  function defaultWarn(message) {
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-AIY2Y5UY.js";
23
+ } from "./chunk-DJFEYX23.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-DL4OD7IA.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-7HUKOQ6X.js");
232
+ const { trackFigmaImport } = await import("./telemetry-TJMB5BTF.js");
233
233
  trackFigmaImport({
234
234
  phase: "asset",
235
235
  reused: results.every((r) => r.reused),
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeFirstFrameColour,
9
9
  probeMediaMetadata
10
- } from "./chunk-DMIFCIG6.js";
10
+ } from "./chunk-IHYWP4V5.js";
11
11
  import {
12
12
  alphaDecoderFor
13
13
  } from "./chunk-5S7W3TUO.js";
@@ -15,7 +15,7 @@ import {
15
15
  formatPreviewProxyBox,
16
16
  hdrToSdrToneMapFilter,
17
17
  isHeavyForPreview
18
- } from "./chunk-472C35EW.js";
18
+ } from "./chunk-KY67MTBH.js";
19
19
  import {
20
20
  mkdirWithinProject,
21
21
  realProjectRoot,
@@ -10,41 +10,38 @@ import {
10
10
  import {
11
11
  RegistryCompatibilityError,
12
12
  gateRegistryItemsCompatibility
13
- } from "./chunk-Q52ISCT4.js";
13
+ } from "./chunk-DQ26IA5P.js";
14
14
  import {
15
15
  DEFAULT_PROJECT_CONFIG,
16
16
  createProjectConfig,
17
17
  loadProjectConfig,
18
18
  projectConfigPath,
19
19
  recordProjectRegistryItems
20
- } from "./chunk-CZCRSS3U.js";
20
+ } from "./chunk-QHWVCKC5.js";
21
21
  import {
22
22
  resolveItemWithDependencies,
23
23
  resolveItemsByTag
24
- } from "./chunk-GSXA4YLV.js";
24
+ } from "./chunk-STK62RL7.js";
25
25
  import {
26
26
  InvalidVariableValuesError,
27
27
  prepareItem,
28
28
  publishItem
29
- } from "./chunk-DWIMUPFK.js";
29
+ } from "./chunk-LTQXIYNL.js";
30
30
  import {
31
31
  DEFAULT_REGISTRY_URL
32
- } from "./chunk-5KOZRJR7.js";
32
+ } from "./chunk-HWHPYCBZ.js";
33
33
  import {
34
34
  trackRegistryItemAdded
35
- } from "./chunk-SXJJTFV4.js";
35
+ } from "./chunk-H3I2VLLL.js";
36
36
  import {
37
37
  defineCommand
38
38
  } from "./chunk-DL4OD7IA.js";
39
- import {
40
- failCommand
41
- } from "./chunk-LALLQUSK.js";
42
39
  import {
43
40
  c
44
41
  } from "./chunk-2GICKZ3I.js";
45
42
  import {
46
43
  ITEM_TYPE_DIRS
47
- } from "./chunk-472C35EW.js";
44
+ } from "./chunk-KY67MTBH.js";
48
45
  import {
49
46
  isProjectRootMissing,
50
47
  realpath
@@ -52,6 +49,12 @@ import {
52
49
  import {
53
50
  parseHTML
54
51
  } from "./chunk-GWTIFRF5.js";
52
+ import {
53
+ failCaught
54
+ } from "./chunk-SJGE5I5F.js";
55
+ import {
56
+ failCommand
57
+ } from "./chunk-DP5LF7GF.js";
55
58
 
56
59
  // src/commands/add.ts
57
60
  import { existsSync, readFileSync } from "fs";
@@ -416,10 +419,7 @@ var add_default = defineCommand({
416
419
  }
417
420
  } catch (singleErr) {
418
421
  if (!(singleErr instanceof AddError) || singleErr.code !== "unknown-item") {
419
- const msg = singleErr instanceof Error ? singleErr.message : String(singleErr);
420
- if (json) console.log(JSON.stringify({ ok: false, error: msg }));
421
- else console.error(c.error(msg));
422
- failCommand();
422
+ failCaught(singleErr, json, c.error);
423
423
  }
424
424
  let config = loadProjectConfig(projectDir);
425
425
  if (!existsSync(projectConfigPath(projectDir)) && existsSync(resolve(projectDir, "index.html"))) {
@@ -433,10 +433,7 @@ var add_default = defineCommand({
433
433
  items = [];
434
434
  }
435
435
  if (items.length === 0) {
436
- const msg = singleErr instanceof Error ? singleErr.message : String(singleErr);
437
- if (json) console.log(JSON.stringify({ ok: false, error: msg }));
438
- else console.error(c.error(msg));
439
- failCommand();
436
+ failCaught(singleErr, json, c.error);
440
437
  }
441
438
  if (!json) {
442
439
  console.log("");