hyperframes 0.8.220 → 0.8.222

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 (214) hide show
  1. package/dist/{add-7BJGQPZT.js → add-6MPLIWVP.js} +19 -15
  2. package/dist/{agentPromptGenerator-NFN3AYLJ.js → agentPromptGenerator-X7SQPCXZ.js} +12 -11
  3. package/dist/{animatedGifPrep-HC45HF7H.js → animatedGifPrep-ESOJ4FQ7.js} +12 -11
  4. package/dist/api.js +23 -22
  5. package/dist/{asset-TSP3CMU4.js → asset-Y735VQV6.js} +2 -2
  6. package/dist/{assetCataloger-KIN2UKI7.js → assetCataloger-AOJAUEZW.js} +13 -12
  7. package/dist/{audio-NEJOZZXG.js → audio-VMMCGPOV.js} +22 -20
  8. package/dist/{auth-7EEBDTBK.js → auth-BD5NHYRA.js} +1 -1
  9. package/dist/{autoUpdate-67ZMQDED.js → autoUpdate-VTMNHOAJ.js} +2 -2
  10. package/dist/{backgroundChecks-YN424YG5.js → backgroundChecks-SUDYQZSW.js} +3 -3
  11. package/dist/backgroundChecksWorker.js +3 -3
  12. package/dist/{batchRender-I2GRQUPY.js → batchRender-4NR7RMT7.js} +11 -8
  13. package/dist/{beats-VVY6JZEU.js → beats-PKEHQHBY.js} +53 -21
  14. package/dist/{benchmark-BJJVW6RH.js → benchmark-K55DDFHG.js} +12 -11
  15. package/dist/{browser-IOP3IU24.js → browser-G2WFWJJ3.js} +3 -3
  16. package/dist/{bundleWithLocalizedFonts-TLEZEZXN.js → bundleWithLocalizedFonts-MNG2UVH3.js} +2 -2
  17. package/dist/{capture-4Z3KBJNP.js → capture-24PIC3TZ.js} +67 -25
  18. package/dist/{capture-HVIWNBQA.js → capture-U3EEAPI6.js} +3 -3
  19. package/dist/{captureCompositionFrame-J3OOHGC2.js → captureCompositionFrame-KL4V6ORD.js} +18 -17
  20. package/dist/{catalog-G65QCBXG.js → catalog-J3BU4TFW.js} +17 -15
  21. package/dist/{catch-up-VHTDAQYM.js → catch-up-LDGNMEGL.js} +4 -4
  22. package/dist/{check-W7TCUAXY.js → check-J6HG6EKE.js} +48 -46
  23. package/dist/{checkAudio-AV7R24FD.js → checkAudio-MAX7JUYG.js} +17 -16
  24. package/dist/{checkBrowser-QTMNRNPF.js → checkBrowser-3W74WJ26.js} +44 -38
  25. package/dist/{chunk-KGM6VQ6D.js → chunk-3RXZZIDQ.js} +5 -5
  26. package/dist/{chunk-6YIBMA6Y.js → chunk-42Q3VX34.js} +9 -9
  27. package/dist/{chunk-6MHKL2TB.js → chunk-4VEXJTUT.js} +3 -3
  28. package/dist/{chunk-NSKIGECI.js → chunk-52VXA3SC.js} +1 -1
  29. package/dist/{chunk-RIG7XBHW.js → chunk-537WSYHU.js} +1 -1
  30. package/dist/{chunk-A32ZEFZT.js → chunk-5GSEM63G.js} +12 -10
  31. package/dist/{chunk-SUQ77SEY.js → chunk-6CFBFWLF.js} +9 -2
  32. package/dist/{chunk-FGGZKCOT.js → chunk-6W3DY5BP.js} +2 -2
  33. package/dist/{chunk-RHEQ7RXZ.js → chunk-7D2LTSNV.js} +1 -1
  34. package/dist/{chunk-SW5XTDRD.js → chunk-7IH3RSSG.js} +82 -33
  35. package/dist/{chunk-YMKTEQIA.js → chunk-AIXH3V5A.js} +86 -51
  36. package/dist/{chunk-PBNWRWKA.js → chunk-AKMY4QVI.js} +2 -1
  37. package/dist/{chunk-NEVX7YHH.js → chunk-AN4USOFT.js} +5 -1
  38. package/dist/{chunk-KJ2ORDQZ.js → chunk-AOHG22HQ.js} +6 -5
  39. package/dist/{chunk-VZBJ5BQF.js → chunk-AW3XJY4S.js} +1 -1
  40. package/dist/{chunk-P3XF3ZZF.js → chunk-AXVTL7B6.js} +6 -6
  41. package/dist/{chunk-DWTFLQ3P.js → chunk-B2ZZYISD.js} +4 -2
  42. package/dist/{chunk-DA6GOIIA.js → chunk-BDZSH6P3.js} +6 -57
  43. package/dist/{chunk-RECS6EGQ.js → chunk-BPIY5LB3.js} +9 -8
  44. package/dist/{chunk-KSC4O2RY.js → chunk-C2KEGBR3.js} +53 -4
  45. package/dist/{chunk-PIKANFFV.js → chunk-CVY6OIKN.js} +4 -4
  46. package/dist/{chunk-XPV5K5MD.js → chunk-CZOC7WY7.js} +1 -1
  47. package/dist/{chunk-PCKWLYKA.js → chunk-D6LGD472.js} +4 -4
  48. package/dist/{chunk-NSJPSQZ3.js → chunk-DC26QLB7.js} +1 -1
  49. package/dist/{chunk-LZPNAI7P.js → chunk-DIXTEVWQ.js} +3 -3
  50. package/dist/{chunk-6CWSMSOC.js → chunk-DNTPNSH5.js} +3 -3
  51. package/dist/{chunk-OWV36OJP.js → chunk-DS372VSV.js} +2 -5
  52. package/dist/{chunk-O332YWQV.js → chunk-DSHFKKSZ.js} +3 -3
  53. package/dist/{chunk-UOIVSNPI.js → chunk-E5IIR67Q.js} +1 -1
  54. package/dist/{chunk-5RGVBSDS.js → chunk-EE7YWKDY.js} +3 -27
  55. package/dist/{chunk-XFMO3BEN.js → chunk-EGJ4UECR.js} +11 -5
  56. package/dist/{chunk-2MDFNL2E.js → chunk-EOUKB53E.js} +1 -1
  57. package/dist/{chunk-3422KMTD.js → chunk-EPQC3FGZ.js} +4 -0
  58. package/dist/{chunk-IZBJZBBF.js → chunk-F6QV5N3A.js} +2 -2
  59. package/dist/{chunk-EUZYVUUS.js → chunk-FMKI7ZLM.js} +2 -2
  60. package/dist/{chunk-DB6OJRZB.js → chunk-FT3CNACL.js} +5 -5
  61. package/dist/{chunk-5XOOBNU2.js → chunk-G2EY3MVW.js} +1 -1
  62. package/dist/{chunk-JIGD5ZXE.js → chunk-G675S644.js} +21 -22
  63. package/dist/{chunk-AUGHXWJC.js → chunk-GHEYGMKD.js} +2 -2
  64. package/dist/{chunk-TQ3W64VT.js → chunk-GODT7QDZ.js} +3 -3
  65. package/dist/{chunk-DBT7CRK4.js → chunk-GOWU3NCE.js} +1 -1
  66. package/dist/{chunk-SGTEKMJW.js → chunk-HOTXWVVP.js} +93 -5
  67. package/dist/{chunk-22U7OCYM.js → chunk-HQDHMAUI.js} +1 -1
  68. package/dist/{chunk-BIROA7JM.js → chunk-HYRPH6LL.js} +7 -6
  69. package/dist/{chunk-NYSB3CWY.js → chunk-IB7UYGXR.js} +10 -10
  70. package/dist/{chunk-DJWAL7AW.js → chunk-IGBOFU2Y.js} +3 -3
  71. package/dist/{chunk-NKNKRN7G.js → chunk-JQWITWVC.js} +2 -2
  72. package/dist/{chunk-ZS5PARPI.js → chunk-K5UCRKUK.js} +4 -6
  73. package/dist/{chunk-BASBBBNB.js → chunk-KEY2VA65.js} +1 -1
  74. package/dist/{chunk-RIYARQ2O.js → chunk-L37AZWB2.js} +2 -2
  75. package/dist/{chunk-OURH3TLX.js → chunk-L55LAERP.js} +1 -1
  76. package/dist/chunk-LL3VMDAC.js +5013 -0
  77. package/dist/chunk-MEJH7VEA.js +63 -0
  78. package/dist/{chunk-K7APBNPW.js → chunk-NUE44RN2.js} +1 -1
  79. package/dist/{chunk-VZVRF3JX.js → chunk-OAXWHPNS.js} +2 -2
  80. package/dist/{chunk-6A7DOGSP.js → chunk-OQLYKDL5.js} +1 -1
  81. package/dist/{chunk-VJGQLC2A.js → chunk-OROHGC7W.js} +8 -8
  82. package/dist/{chunk-6OXVMHTB.js → chunk-P5M3AXEP.js} +1 -1
  83. package/dist/{chunk-N4XNRHFM.js → chunk-QNW43LWB.js} +1 -1
  84. package/dist/{chunk-ARZGHKST.js → chunk-QOZPWIYV.js} +10 -10
  85. package/dist/{chunk-3F6EGZ6C.js → chunk-QYRMR45H.js} +2 -2
  86. package/dist/{chunk-AGFHQTZD.js → chunk-RIGSGNDQ.js} +54 -18
  87. package/dist/{chunk-CIUEQLWL.js → chunk-RRPO44PE.js} +5 -5
  88. package/dist/{chunk-YBNF5ZOC.js → chunk-SFS5BTQ3.js} +1 -1
  89. package/dist/{chunk-CMI2POHT.js → chunk-SKCS4SUZ.js} +4455 -4312
  90. package/dist/{chunk-J74ZUXVU.js → chunk-SWC3QIEH.js} +1 -1
  91. package/dist/{chunk-543U46OR.js → chunk-US4BCRYB.js} +5 -0
  92. package/dist/{chunk-D5TOH3QI.js → chunk-VJVVWYP6.js} +1 -1
  93. package/dist/{chunk-5SKC4G26.js → chunk-VMRQDPFL.js} +1 -1
  94. package/dist/{chunk-MHZB6QSC.js → chunk-VQMHDS2V.js} +123 -12
  95. package/dist/{chunk-IMVM6E65.js → chunk-WJYFJGYT.js} +3 -3
  96. package/dist/{chunk-MS2SDIPC.js → chunk-WWT6ETQA.js} +43 -43
  97. package/dist/chunk-WYKRGEDD.js +62 -0
  98. package/dist/{chunk-GLC5XHN5.js → chunk-XC3BGWCJ.js} +3 -44
  99. package/dist/{chunk-DEXGPHAZ.js → chunk-XHD7RKEZ.js} +2 -2
  100. package/dist/{chunk-RK3LW7NO.js → chunk-Y7IV5MAK.js} +2 -2
  101. package/dist/{chunk-2L645DAG.js → chunk-YEKJOA47.js} +1 -1
  102. package/dist/{chunk-RF5LOY22.js → chunk-YHL4CVTF.js} +14 -14
  103. package/dist/{chunk-FK5TW3IM.js → chunk-Z5VQBRU2.js} +1 -1
  104. package/dist/{chunk-24F7TOW2.js → chunk-ZAJQFY5Q.js} +126 -53
  105. package/dist/{chunk-X2YBRPCM.js → chunk-ZBNK6X5O.js} +5 -5
  106. package/dist/{chunk-NQP44XMF.js → chunk-ZLXWRYOO.js} +3 -3
  107. package/dist/{chunk-WQYLRTVT.js → chunk-ZPTNLDOB.js} +2 -2
  108. package/dist/{clean-AYZ2RAMN.js → clean-K6IM3LC4.js} +24 -23
  109. package/dist/cli.js +62 -60
  110. package/dist/{cloud-A53ZNOO6.js → cloud-OV7EA4BJ.js} +4 -4
  111. package/dist/{cloudrun-USB736UD.js → cloudrun-ZEMODIOP.js} +10 -9
  112. package/dist/commands/layout-audit.browser.js +19 -3
  113. package/dist/commands/motion-signature.browser.js +18 -9
  114. package/dist/{compare-42CWJXBR.js → compare-MJZ3D3HA.js} +37 -35
  115. package/dist/{compiler-SV2WYWTI.js → compiler-6KKETX77.js} +8 -8
  116. package/dist/{component-7JC7NQGM.js → component-EVXMYIP3.js} +3 -3
  117. package/dist/{compositions-6F6743GP.js → compositions-PZ7FQ7WN.js} +16 -15
  118. package/dist/{delete-7TRRZI5M.js → delete-DL3XA4QV.js} +2 -2
  119. package/dist/{deploy-6SSC2FBD.js → deploy-VEYP3IP5.js} +1 -1
  120. package/dist/{deterministicFonts-2ISM3LMW.js → deterministicFonts-LV2JMOJL.js} +2 -2
  121. package/dist/{dist-KP2GVAQU.js → dist-M77KFAYW.js} +7 -6
  122. package/dist/{dist-XXBCSQYF.js → dist-SHMQOKMF.js} +6 -6
  123. package/dist/docs/motion-blur.md +28 -0
  124. package/dist/{docs-6EM6FDNI.js → docs-VAF5NM5B.js} +4 -0
  125. package/dist/{doctor-XEG3GZAA.js → doctor-JM2WHH7Y.js} +16 -15
  126. package/dist/{dotEnv-BGFXSQOA.js → dotEnv-33RDHX7P.js} +1 -1
  127. package/dist/{events-I7F24HFX.js → events-GW5I5RCG.js} +2 -2
  128. package/dist/{events-33HQE43K.js → events-S7KVBRSL.js} +3 -3
  129. package/dist/{feedback-XDTUBZX3.js → feedback-7OR5FVTX.js} +11 -10
  130. package/dist/{ffmpeg-ABXU2TYH.js → ffmpeg-A7CSIX3U.js} +12 -11
  131. package/dist/{figma-4JKNWEKN.js → figma-444HKFX5.js} +3 -3
  132. package/dist/fontLocalizeCli.js +16 -15
  133. package/dist/{get-EX2INNLN.js → get-6UTF3225.js} +2 -2
  134. package/dist/{gpuPolicy-7TSXQHK4.js → gpuPolicy-ORPUS5Z2.js} +12 -11
  135. package/dist/{grade-compare-TLUTRM2K.js → grade-compare-UCTAYN3B.js} +38 -36
  136. package/dist/{heifImagePrep-UOBBQFA2.js → heifImagePrep-ED6V6RFN.js} +13 -12
  137. package/dist/{help-BB4FPW2K.js → help-HZR32XWP.js} +1 -1
  138. package/dist/{history-JNETCPLB.js → history-TQ56MZIA.js} +18 -9
  139. package/dist/hyperframe.manifest.json +1 -1
  140. package/dist/hyperframe.runtime.iife.js +69 -69
  141. package/dist/hyperframes-player.global.js +1 -1
  142. package/dist/hyperframes-slideshow.global.js +8 -8
  143. package/dist/{info-7LBANHQG.js → info-RPIIP7RN.js} +11 -10
  144. package/dist/{init-GZ36UP5K.js → init-ONAWKHFW.js} +34 -32
  145. package/dist/{inspect-OD54TEQN.js → inspect-A75PYOWJ.js} +38 -36
  146. package/dist/{installer-4KJ7T3KB.js → installer-ISMCCFBZ.js} +8 -7
  147. package/dist/{keyframes-KLBNYGYC.js → keyframes-2I75DP3O.js} +7 -7
  148. package/dist/{lambda-554LSIHM.js → lambda-4QIHGPGJ.js} +17 -16
  149. package/dist/{layout-EQAJKTIW.js → layout-GW7WE7RT.js} +38 -36
  150. package/dist/{lint-ZMSIAVMI.js → lint-OWP72OZQ.js} +12 -12
  151. package/dist/{lintProject-I4XPWIQZ.js → lintProject-XYQ5L7RQ.js} +6 -6
  152. package/dist/{list-KUZLCZUK.js → list-WVK7ZCPW.js} +2 -2
  153. package/dist/{localPage-MQJZAR7Z.js → localPage-IQWHN7BH.js} +12 -11
  154. package/dist/{login-644VKQTJ.js → login-Q5CNHYWU.js} +4 -4
  155. package/dist/{manager-3C33QHJB.js → manager-JCYVNEWH.js} +13 -12
  156. package/dist/{media-treatment-XYS2O3JD.js → media-treatment-M5IUP7H4.js} +21 -20
  157. package/dist/{models-KOTMJX4Z.js → models-CFXKDYZ3.js} +16 -15
  158. package/dist/{motionShot-YOSDJ26I.js → motionShot-CWUEI4ZM.js} +21 -20
  159. package/dist/{normalize-audio-FNT6Y4MC.js → normalize-audio-FASY33LR.js} +15 -14
  160. package/dist/{open-COIGEQCX.js → open-KOVVESYN.js} +16 -14
  161. package/dist/{parakeetRunner-BBXLGDZW.js → parakeetRunner-E4IP5SL4.js} +18 -17
  162. package/dist/{pipeline-23GAJEQO.js → pipeline-C6EZVV43.js} +15 -14
  163. package/dist/{play-GOCWJH7Z.js → play-MZJI6SMH.js} +28 -26
  164. package/dist/{preflight-7IWI3INL.js → preflight-K4SPUWXP.js} +13 -12
  165. package/dist/{present-VN2RAATE.js → present-7L7ZTG7F.js} +24 -23
  166. package/dist/{preview-MD7W5T56.js → preview-QGDVMR3X.js} +29 -26
  167. package/dist/{producer-IRENEI2Y.js → producer-EJPNNY3E.js} +1 -1
  168. package/dist/{projectConfig-3IXWY6VF.js → projectConfig-EEF6OPXO.js} +11 -9
  169. package/dist/{publication-MCDU4VIJ.js → publication-5KF44AKQ.js} +6 -5
  170. package/dist/{publish-5477WXAK.js → publish-SSKWZ5TE.js} +17 -15
  171. package/dist/{remove-background-XYO5ENFU.js → remove-background-PCL6I5SZ.js} +16 -15
  172. package/dist/{render-34GMNN2B.js → render-DH4UA7KW.js} +10 -9
  173. package/dist/{render-54SCVHMS.js → render-DRWQ6F37.js} +22 -21
  174. package/dist/{render-L66MXLV2.js → render-UPRWOGLS.js} +158 -43
  175. package/dist/{render-batch-DOCRB7KQ.js → render-batch-EBW5WHB5.js} +10 -9
  176. package/dist/renderSetupWorker.js +6 -6
  177. package/dist/{resolver-Q5XTMECS.js → resolver-ZSZXNRFP.js} +9 -7
  178. package/dist/{screenshotCapture-U3IYWTDB.js → screenshotCapture-4THETOMD.js} +2 -1
  179. package/dist/{sherpa-E7C2ZGKD.js → sherpa-IKVUCBOW.js} +17 -16
  180. package/dist/skills/hyperframes-cli/references/beats.md +1 -1
  181. package/dist/skills/media-use/audio/scripts/lib/gemini-tts.mjs +13 -1
  182. package/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +10 -0
  183. package/dist/skills/media-use/scripts/lib/adopt.mjs +11 -10
  184. package/dist/skills/media-use/scripts/lib/adopt.test.mjs +22 -0
  185. package/dist/{skills-DDZCYTVS.js → skills-ZREHX3TU.js} +5 -5
  186. package/dist/{skillsUpdateCheck-4XX7YYZA.js → skillsUpdateCheck-PPJ5NGAL.js} +3 -3
  187. package/dist/{slideshow-SJGK4RQS.js → slideshow-ARJR22W4.js} +1 -1
  188. package/dist/{snapshot-PTLZ25S3.js → snapshot-KPFLZNEL.js} +87 -52
  189. package/dist/{src-RDWYM4KF.js → src-EPOGDJTT.js} +11 -10
  190. package/dist/{src-KT325UQS.js → src-QRV3466B.js} +21 -14
  191. package/dist/{staticProjectServer-JCGTNF4E.js → staticProjectServer-ERKLMZVM.js} +26 -24
  192. package/dist/studio/assets/{hyperframes-player-CC1Ue2mg.js → hyperframes-player-Dka6e1BG.js} +1 -1
  193. package/dist/studio/assets/{index-BgjuGqZk.js → index-C8VIUiGz.js} +117 -117
  194. package/dist/studio/assets/{index-hc5Ru1gB.js → index-CVPNbydK.js} +1 -1
  195. package/dist/studio/index.html +1 -1
  196. package/dist/{studio-api-GTN767PW.js → studio-api-7WFZIIPL.js} +21 -16
  197. package/dist/{studioSelectionClient-D6VMGTKQ.js → studioSelectionClient-FA6XPVIL.js} +1 -1
  198. package/dist/{studioServer-X6O4WB7E.js → studioServer-3XZTLI26.js} +79 -121
  199. package/dist/{telemetry-OY2PKIWO.js → telemetry-BMLI4TMC.js} +3 -3
  200. package/dist/templates/blank/index.html +1 -1
  201. package/dist/templates/from-file/index.html +1 -1
  202. package/dist/{timeline-IZZRAXKP.js → timeline-EDCDO2ZR.js} +28 -26
  203. package/dist/{tokens-JHIYKROF.js → tokens-2ZFLFO3K.js} +2 -2
  204. package/dist/{transcribe-2MPZHRG5.js → transcribe-3WMH62HH.js} +16 -15
  205. package/dist/{transcribe-WJ2DIE3W.js → transcribe-Y2LPBT7I.js} +22 -21
  206. package/dist/{updateCheck-6XMEFB74.js → updateCheck-5LFZGC3P.js} +2 -2
  207. package/dist/{upgrade-MSNQIWR7.js → upgrade-X7QVSEKP.js} +2 -2
  208. package/dist/{urlDownloader-CD6NVJE5.js → urlDownloader-TYD6ROKL.js} +11 -10
  209. package/dist/{validate-7L5LJFTK.js → validate-26KQ5VX7.js} +31 -30
  210. package/dist/{video-HFIDOIQI.js → video-BPKLZIJK.js} +13 -12
  211. package/dist/warmCheck.js +48 -46
  212. package/package.json +1 -1
  213. package/dist/chunk-2Q7XV4F6.js +0 -5061
  214. /package/dist/{chunk-NHA4NRBE.js → chunk-T5ELONXY.js} +0 -0
@@ -6,33 +6,33 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readJsonFlag
9
- } from "./chunk-XFMO3BEN.js";
9
+ } from "./chunk-EGJ4UECR.js";
10
10
  import {
11
11
  RegistryCompatibilityError,
12
12
  gateRegistryItemsCompatibility
13
- } from "./chunk-22U7OCYM.js";
13
+ } from "./chunk-HQDHMAUI.js";
14
14
  import {
15
15
  DEFAULT_PROJECT_CONFIG,
16
16
  createProjectConfig,
17
17
  loadProjectConfig,
18
18
  projectConfigPath,
19
19
  recordProjectRegistryItems
20
- } from "./chunk-6OXVMHTB.js";
20
+ } from "./chunk-P5M3AXEP.js";
21
21
  import {
22
22
  resolveItemWithDependencies,
23
23
  resolveItemsByTag
24
- } from "./chunk-SUQ77SEY.js";
24
+ } from "./chunk-6CFBFWLF.js";
25
25
  import {
26
26
  InvalidVariableValuesError,
27
27
  prepareItem,
28
28
  publishItem
29
- } from "./chunk-DJWAL7AW.js";
29
+ } from "./chunk-IGBOFU2Y.js";
30
30
  import {
31
31
  DEFAULT_REGISTRY_URL
32
- } from "./chunk-D5TOH3QI.js";
32
+ } from "./chunk-VJVVWYP6.js";
33
33
  import {
34
34
  trackRegistryItemAdded
35
- } from "./chunk-NEVX7YHH.js";
35
+ } from "./chunk-AN4USOFT.js";
36
36
  import {
37
37
  defineCommand
38
38
  } from "./chunk-DL4OD7IA.js";
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-2GICKZ3I.js";
42
42
  import {
43
43
  ITEM_TYPE_DIRS
44
- } from "./chunk-DA6GOIIA.js";
44
+ } from "./chunk-BDZSH6P3.js";
45
45
  import {
46
46
  isProjectRootMissing,
47
47
  realpath
@@ -153,15 +153,50 @@ function buildSnippet(item, relativeTarget, values = null, compositionId) {
153
153
  }
154
154
  return "";
155
155
  }
156
- function tagAddJson(tag, results, errors = []) {
156
+ function installJson(results, errors) {
157
157
  return {
158
158
  ok: errors.length === 0,
159
- tag,
160
159
  installed: results.map((r) => r.name),
161
160
  warnings: results.flatMap((r) => r.warnings.map((w) => `${r.name}: ${w}`)),
162
161
  errors
163
162
  };
164
163
  }
164
+ function tagAddJson(tag, results, errors = []) {
165
+ return { ...installJson(results, errors), tag };
166
+ }
167
+ function severalAddJson(results, errors = []) {
168
+ return installJson(results, errors);
169
+ }
170
+ async function installOne(name, context) {
171
+ try {
172
+ const result = await runAdd({
173
+ name,
174
+ projectDir: context.projectDir,
175
+ skipClipboard: true,
176
+ force: context.force,
177
+ vars: context.vars
178
+ });
179
+ if (!context.json) {
180
+ for (const warning of result.warnings) console.log(` ${c.warn("Warning:")} ${warning}`);
181
+ console.log(` ${c.success("\u2713")} ${result.name}`);
182
+ }
183
+ return { result };
184
+ } catch (err) {
185
+ const reason = err instanceof Error ? err.message : String(err);
186
+ if (!context.json) console.log(` ${c.error("\u2717")} ${name} (skipped: ${reason})`);
187
+ return { name, error: reason };
188
+ }
189
+ }
190
+ async function installEach(names, context) {
191
+ const results = [];
192
+ const errors = [];
193
+ for (const name of names) {
194
+ const outcome = await installOne(name, context);
195
+ if ("result" in outcome) results.push(outcome.result);
196
+ else errors.push(outcome);
197
+ }
198
+ return { results, errors };
199
+ }
165
200
  function parseVariableValues(raw) {
166
201
  if (raw === void 0) return null;
167
202
  let parsed;
@@ -335,7 +370,7 @@ var add_default = defineCommand({
335
370
  args: {
336
371
  name: {
337
372
  type: "positional",
338
- description: "Registry item name or tag. Single items install directly (e.g. shader-wipe). If the name matches a tag instead, all blocks with that tag are installed (e.g. html-in-canvas, captions).",
373
+ description: "Registry item name or tag. Single items install directly (e.g. shader-wipe). If the name matches a tag instead, all blocks with that tag are installed (e.g. html-in-canvas, captions). Give several names to install each of them in one call.",
339
374
  required: true
340
375
  },
341
376
  dir: {
@@ -374,7 +409,38 @@ var add_default = defineCommand({
374
409
  const projectDir = resolve(args.dir ?? process.cwd());
375
410
  const json = args.json === true;
376
411
  const skipClipboard = args.clipboard === false;
412
+ if (!existsSync(projectDir)) {
413
+ failCaught(
414
+ new Error(
415
+ `Project folder not found: ${projectDir}. --dir is the project root, not where the block lands (that is its compositions/ folder), and it must already exist. Create one with \`hyperframes init <dir>\`.`
416
+ ),
417
+ json,
418
+ c.error
419
+ );
420
+ }
377
421
  const hasConfigBefore = existsSync(projectConfigPath(projectDir));
422
+ const names = Array.isArray(args._) && args._.length > 1 ? args._.map(String) : [args.name];
423
+ if (names.length > 1) {
424
+ if (!json) {
425
+ console.log("");
426
+ console.log(`${c.accent("\u25C6")} Installing ${c.accent(String(names.length))} items`);
427
+ }
428
+ const { results, errors } = await installEach(names, {
429
+ projectDir,
430
+ force: args.force,
431
+ vars: args.vars,
432
+ json
433
+ });
434
+ if (json) {
435
+ console.log(JSON.stringify(severalAddJson(results, errors)));
436
+ } else {
437
+ console.log("");
438
+ const summary = `Installed ${results.length}/${names.length} items`;
439
+ console.log(`${errors.length > 0 ? c.error("\u2717") : c.success("\u2713")} ${summary}`);
440
+ }
441
+ if (errors.length > 0) failCommand();
442
+ return;
443
+ }
378
444
  try {
379
445
  const result = await runAdd({
380
446
  name: args.name,
@@ -441,28 +507,10 @@ var add_default = defineCommand({
441
507
  `${c.accent("\u25C6")} Installing ${c.accent(String(items.length))} blocks tagged ${c.accent(args.name)}`
442
508
  );
443
509
  }
444
- const results = [];
445
- const errors = [];
446
- for (const item of items) {
447
- try {
448
- const result = await runAdd({
449
- name: item.name,
450
- projectDir,
451
- skipClipboard: true,
452
- force: args.force,
453
- vars: args.vars
454
- });
455
- results.push(result);
456
- for (const warning of result.warnings) {
457
- if (!json) console.log(` ${c.warn("Warning:")} ${warning}`);
458
- }
459
- if (!json) console.log(` ${c.success("\u2713")} ${result.name}`);
460
- } catch (err) {
461
- const reason = err instanceof Error ? err.message : String(err);
462
- errors.push({ name: item.name, error: reason });
463
- if (!json) console.log(` ${c.error("\u2717")} ${item.name} (skipped: ${reason})`);
464
- }
465
- }
510
+ const { results, errors } = await installEach(
511
+ items.map((item) => item.name),
512
+ { projectDir, force: args.force, vars: args.vars, json }
513
+ );
466
514
  if (json) {
467
515
  console.log(JSON.stringify(tagAddJson(args.name, results, errors)));
468
516
  } else {
@@ -482,6 +530,7 @@ export {
482
530
  compositionRootId,
483
531
  buildSnippet,
484
532
  tagAddJson,
533
+ severalAddJson,
485
534
  parseVariableValues,
486
535
  AddError,
487
536
  describeInstallFailure,
@@ -42,7 +42,7 @@ import {
42
42
  renderFrameIdForRenderId,
43
43
  resolveAuthoredTimingWindow,
44
44
  toFps
45
- } from "./chunk-DA6GOIIA.js";
45
+ } from "./chunk-BDZSH6P3.js";
46
46
  import {
47
47
  AUDIO_GROUP_RENDER_ID_ATTR,
48
48
  AUTHORED_SOURCE_BEGIN,
@@ -85,7 +85,7 @@ import {
85
85
  sourceTimeAt,
86
86
  timeAtSourceTime,
87
87
  volumeSegmentSampleCount
88
- } from "./chunk-2Q7XV4F6.js";
88
+ } from "./chunk-LL3VMDAC.js";
89
89
  import {
90
90
  redactTelemetryString,
91
91
  redactUrlQueryStrings
@@ -103,19 +103,19 @@ import {
103
103
  } from "./chunk-WE42NVH7.js";
104
104
  import {
105
105
  resolveReferencedStart
106
- } from "./chunk-MHZB6QSC.js";
106
+ } from "./chunk-VQMHDS2V.js";
107
107
  import {
108
108
  FFMPEG_PATH_ENV,
109
109
  FFPROBE_PATH_ENV,
110
110
  findFfBinary
111
- } from "./chunk-BIROA7JM.js";
111
+ } from "./chunk-HYRPH6LL.js";
112
112
  import {
113
113
  isWithinProjectRoot,
114
114
  resolveProjectRelativeSrc
115
- } from "./chunk-PBNWRWKA.js";
115
+ } from "./chunk-AKMY4QVI.js";
116
116
  import {
117
117
  isPathInside
118
- } from "./chunk-KSC4O2RY.js";
118
+ } from "./chunk-C2KEGBR3.js";
119
119
  import {
120
120
  parseHTML
121
121
  } from "./chunk-GWTIFRF5.js";
@@ -691,7 +691,7 @@ async function explainChromeLaunchFailure(error, executablePath, args, signal) {
691
691
  const { code, errno, syscall } = error;
692
692
  if (code === "UNKNOWN" && syscall === "spawn")
693
693
  return new Error(
694
- `Windows refused to start the browser${executablePath ? ` at ${executablePath}` : ""} (error ${errno ?? "unknown"}, spawn UNKNOWN). Security software may be blocking it, or the computer may be out of memory. Close other apps and retry; if it persists, run \`hyperframes browser ensure --force\` to download it again.`,
694
+ `Windows refused to start the browser${executablePath ? ` at ${executablePath}` : ""} (error ${errno ?? "unknown"}, spawn UNKNOWN). Windows Application Control or security software may be blocking it, or the computer may be out of memory. Close other apps and retry. If a policy blocks the file, allow that path or set HYPERFRAMES_BROWSER_PATH to a Chrome or Edge your policy allows; if the file is damaged, run \`hyperframes browser ensure --force\` to download it again.`,
695
695
  { cause: error }
696
696
  );
697
697
  if (!executablePath) return error;
@@ -11124,6 +11124,7 @@ async function spawnStreamingEncoder(outputPath, options, signal, config) {
11124
11124
  }
11125
11125
  };
11126
11126
  let inputFrameIndex = 0;
11127
+ let drainWaitMs = 0;
11127
11128
  const encoder = {
11128
11129
  writeFrame: async (buffer) => {
11129
11130
  const stdin = ffmpeg.stdin;
@@ -11145,7 +11146,9 @@ async function spawnStreamingEncoder(outputPath, options, signal, config) {
11145
11146
  managed.markActivity();
11146
11147
  return true;
11147
11148
  }
11149
+ const drainStart = Date.now();
11148
11150
  const drainResult = await waitForDrainOrExit(stdin);
11151
+ drainWaitMs += Date.now() - drainStart;
11149
11152
  if (drainResult !== "drain" || exitStatus !== "running") {
11150
11153
  return false;
11151
11154
  }
@@ -11190,7 +11193,7 @@ FFmpeg stopped after ${streamingTimeout} ms without consuming a frame.` : "";
11190
11193
  };
11191
11194
  }
11192
11195
  const fileSize = existsSync6(outputPath) ? statSync4(outputPath).size : 0;
11193
- return { success: true, durationMs, fileSize };
11196
+ return { success: true, durationMs, fileSize, drainWaitMs };
11194
11197
  },
11195
11198
  getExitStatus: () => exitStatus,
11196
11199
  getExitError: () => {
@@ -11405,7 +11408,52 @@ import {
11405
11408
  } from "fs";
11406
11409
  import { createHash, randomUUID as randomUUID2 } from "crypto";
11407
11410
  import dns from "dns";
11411
+
11412
+ // ../engine/src/utils/networkPolicy.ts
11408
11413
  import { BlockList, isIP } from "net";
11414
+ var NON_PUBLIC_IPV4_ADDRESSES = new BlockList();
11415
+ for (const [network, prefix] of [
11416
+ ["0.0.0.0", 8],
11417
+ ["10.0.0.0", 8],
11418
+ ["100.64.0.0", 10],
11419
+ ["127.0.0.0", 8],
11420
+ ["169.254.0.0", 16],
11421
+ ["172.16.0.0", 12],
11422
+ ["192.0.0.0", 24],
11423
+ ["192.0.2.0", 24],
11424
+ ["192.88.99.0", 24],
11425
+ ["192.168.0.0", 16],
11426
+ ["198.18.0.0", 15],
11427
+ ["198.51.100.0", 24],
11428
+ ["203.0.113.0", 24],
11429
+ ["224.0.0.0", 4],
11430
+ ["240.0.0.0", 4]
11431
+ ]) {
11432
+ NON_PUBLIC_IPV4_ADDRESSES.addSubnet(network, prefix, "ipv4");
11433
+ }
11434
+ var NON_PUBLIC_IPV6_ADDRESSES = new BlockList();
11435
+ for (const [network, prefix] of [
11436
+ ["::", 128],
11437
+ ["::1", 128],
11438
+ ["::ffff:0:0", 96],
11439
+ ["fc00::", 7],
11440
+ ["fe80::", 10],
11441
+ ["fec0::", 10],
11442
+ ["ff00::", 8],
11443
+ ["2001:db8::", 32]
11444
+ ]) {
11445
+ NON_PUBLIC_IPV6_ADDRESSES.addSubnet(network, prefix, "ipv6");
11446
+ }
11447
+ function isBlockedNetworkHost(hostname) {
11448
+ const h = hostname.toLowerCase().replace(/\.$/, "").replace(/^\[|\]$/g, "");
11449
+ if (h === "localhost" || h.endsWith(".localhost") || h.endsWith(".local") || h.endsWith(".internal"))
11450
+ return true;
11451
+ const addressType = isIP(h);
11452
+ if (addressType === 0) return false;
11453
+ return addressType === 4 ? NON_PUBLIC_IPV4_ADDRESSES.check(h, "ipv4") : NON_PUBLIC_IPV6_ADDRESSES.check(h, "ipv6");
11454
+ }
11455
+
11456
+ // ../engine/src/utils/urlDownloader.ts
11409
11457
  import { dirname as dirname4, extname as extname2, join as join10 } from "path";
11410
11458
  import { Readable, Transform } from "stream";
11411
11459
  import { pipeline } from "stream/promises";
@@ -11501,47 +11549,6 @@ function isRetryableNetworkCause(error) {
11501
11549
  const code = typeof error === "object" && error !== null && "code" in error && typeof error.code === "string" ? error.code : "";
11502
11550
  return RETRYABLE_NETWORK_CODES.has(code) || code.startsWith("UND_ERR_") || /fetch failed|network|socket|connection reset|terminated/i.test(message);
11503
11551
  }
11504
- var NON_PUBLIC_IPV4_ADDRESSES = new BlockList();
11505
- for (const [network, prefix] of [
11506
- ["0.0.0.0", 8],
11507
- ["10.0.0.0", 8],
11508
- ["100.64.0.0", 10],
11509
- ["127.0.0.0", 8],
11510
- ["169.254.0.0", 16],
11511
- ["172.16.0.0", 12],
11512
- ["192.0.0.0", 24],
11513
- ["192.0.2.0", 24],
11514
- ["192.88.99.0", 24],
11515
- ["192.168.0.0", 16],
11516
- ["198.18.0.0", 15],
11517
- ["198.51.100.0", 24],
11518
- ["203.0.113.0", 24],
11519
- ["224.0.0.0", 4],
11520
- ["240.0.0.0", 4]
11521
- ]) {
11522
- NON_PUBLIC_IPV4_ADDRESSES.addSubnet(network, prefix, "ipv4");
11523
- }
11524
- var NON_PUBLIC_IPV6_ADDRESSES = new BlockList();
11525
- for (const [network, prefix] of [
11526
- ["::", 128],
11527
- ["::1", 128],
11528
- ["::ffff:0:0", 96],
11529
- ["fc00::", 7],
11530
- ["fe80::", 10],
11531
- ["fec0::", 10],
11532
- ["ff00::", 8],
11533
- ["2001:db8::", 32]
11534
- ]) {
11535
- NON_PUBLIC_IPV6_ADDRESSES.addSubnet(network, prefix, "ipv6");
11536
- }
11537
- function isBlockedNetworkHost(hostname) {
11538
- const h = hostname.toLowerCase().replace(/\.$/, "").replace(/^\[|\]$/g, "");
11539
- if (h === "localhost" || h.endsWith(".localhost") || h.endsWith(".local") || h.endsWith(".internal"))
11540
- return true;
11541
- const addressType = isIP(h);
11542
- if (addressType === 0) return false;
11543
- return addressType === 4 ? NON_PUBLIC_IPV4_ADDRESSES.check(h, "ipv4") : NON_PUBLIC_IPV6_ADDRESSES.check(h, "ipv6");
11544
- }
11545
11552
  function assertPublicHttpsUrl(url) {
11546
11553
  let parsed;
11547
11554
  try {
@@ -13177,6 +13184,16 @@ var EXTRACTION_SLOTS = Math.max(1, Math.floor(cpus().length / 2));
13177
13184
  var inExtractionSlot = createConcurrencyLimit(EXTRACTION_SLOTS);
13178
13185
  var TAIL_PROBE_SLOTS = Math.max(1, Number(process.env.HF_TAIL_PROBE_SLOTS) || 16);
13179
13186
  var inTailProbeSlot = createConcurrencyLimit(TAIL_PROBE_SLOTS);
13187
+ function framesWrittenReader(onProgress) {
13188
+ if (!onProgress) return void 0;
13189
+ let seen = 0;
13190
+ const read = ffmpegStatsReader(({ frames }) => {
13191
+ if (frames === void 0 || frames <= seen) return;
13192
+ onProgress({ done: frames - seen });
13193
+ seen = frames;
13194
+ });
13195
+ return (chunk) => read(chunk);
13196
+ }
13180
13197
  function splitFrameRanges(ranges, segmentFrames) {
13181
13198
  const segments = [];
13182
13199
  for (const range of ranges) {
@@ -13222,6 +13239,7 @@ async function runSegmentedExtraction(job) {
13222
13239
  {
13223
13240
  ...job.runOptions,
13224
13241
  signal,
13242
+ onStderr: framesWrittenReader(job.onProgress),
13225
13243
  timeout: stallTimeoutMs(
13226
13244
  job.runOptions.timeout,
13227
13245
  await leadInSecondsUnlessAborted(videoPath, seek, signal),
@@ -13369,10 +13387,12 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
13369
13387
  options.frameRanges ?? [{ firstFrame: 0, frames: totalFrames }],
13370
13388
  segmentFrames
13371
13389
  ),
13372
- runOptions
13390
+ runOptions,
13391
+ onProgress: options.onProgress
13373
13392
  }) : inExtractionSlot(
13374
13393
  async () => runFfmpeg([...hwaccel, ...args, ...filterArgsFor(startTime), ...encodeArgs], {
13375
13394
  ...runOptions,
13395
+ onStderr: framesWrittenReader(options.onProgress),
13376
13396
  timeout: stallTimeoutMs(
13377
13397
  ffmpegProcessTimeout,
13378
13398
  options.finalFrameOnly ? startTime : await leadInSecondsUnlessAborted(videoPath, startTime, signal),
@@ -13381,6 +13401,9 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
13381
13401
  }),
13382
13402
  signal
13383
13403
  );
13404
+ options.onProgress?.({
13405
+ planned: options.frameRanges ? options.frameRanges.reduce((sum, range) => sum + range.frames, 0) : totalFrames
13406
+ });
13384
13407
  let processResult = await extract(decodeWithVideoToolbox ? ["-hwaccel", "videotoolbox"] : []);
13385
13408
  const ffmpegExitedFailing = processResult.terminationReason === "exit" && !processResult.success && !processResult.failureReason;
13386
13409
  const videoToolboxWasOptional = decodeWithVideoToolbox && !keepsHdrForChrome;
@@ -13491,6 +13514,17 @@ var FINAL_FRAME_LOGICAL_DURATION_SECONDS = 1e-6;
13491
13514
  function isVideoPastTimelineEnd(video, timelineEnd) {
13492
13515
  return video.start >= timelineEnd;
13493
13516
  }
13517
+ function alignClipStartToFirstOutputFrame(video, fps) {
13518
+ if (video.loop || !Number.isFinite(video.start) || video.start < 0 || !(fps > 0)) return;
13519
+ const position = exportClipWindow(video.start, Infinity, fps).start * fps;
13520
+ const firstFrame = Math.abs(position - Math.round(position)) < 1e-6 ? Math.round(position) : Math.ceil(position);
13521
+ const shift = firstFrame / fps - video.start;
13522
+ if (shift === 0) return;
13523
+ const playbackRate = normalizeRateSpec(video.playbackRate);
13524
+ video.mediaStart += sourceTimeAt(playbackRate, shift);
13525
+ video.playbackRate = shiftRateLane(playbackRate, shift);
13526
+ video.start += shift;
13527
+ }
13494
13528
  function rebaseVideoToWindow(video, window2) {
13495
13529
  if (window2.preserveTimelinePhase) return;
13496
13530
  const start = Math.abs(window2.compositionStart) < 1e-9 ? 0 : window2.compositionStart;
@@ -14301,6 +14335,7 @@ async function extractAllVideoFrames(videos, baseDir, options, signal, config, c
14301
14335
  }
14302
14336
  try {
14303
14337
  const metadata = videoMetadata[index] ?? await extractMediaMetadata(videoPath);
14338
+ alignClipStartToFirstOutputFrame(video, fps);
14304
14339
  const initialWindow = resolveVideoExtractionWindow(video, metadata, options.timelineEnd);
14305
14340
  const window2 = await resolveFinalFrameExtractionWindow(
14306
14341
  videoPath,
@@ -19081,9 +19116,9 @@ export {
19081
19116
  HF_AUDIO_GROUP_TAG,
19082
19117
  HF_AUDIO_GROUP_ATTR,
19083
19118
  isSelfOrAncestorHidden,
19119
+ isBlockedNetworkHost,
19084
19120
  safeDownloadUrlIdentity,
19085
19121
  writeUrlDownloadTelemetry,
19086
- isBlockedNetworkHost,
19087
19122
  assertPublicHttpsUrl,
19088
19123
  _setDownloadFetchForTests,
19089
19124
  fetchPublicHttpsText,
@@ -122,8 +122,9 @@ function splitUrlSuffix(urlValue) {
122
122
  function encodeUrlPath(path) {
123
123
  return encodeURIComponent(path).replace(/%2F/g, "/").replace(/['()]/g, (char) => `%${char.charCodeAt(0).toString(16).toUpperCase()}`);
124
124
  }
125
+ var URL_SCHEME_OF_TWO_OR_MORE_CHARS_RE = /^[a-z][a-z0-9+.-]+:/i;
125
126
  function isNonRelativeUrl(val) {
126
- return !val || val.startsWith("http://") || val.startsWith("https://") || val.startsWith("//") || val.startsWith("data:") || val.startsWith("#") || val.startsWith("/");
127
+ return !val || val.startsWith("http://") || val.startsWith("https://") || val.startsWith("//") || val.startsWith("data:") || val.startsWith("#") || val.startsWith("/") || URL_SCHEME_OF_TWO_OR_MORE_CHARS_RE.test(val);
127
128
  }
128
129
  var { join, resolve: resolve2, dirname } = posix;
129
130
  var isAbsoluteOrSpecial = isNonRelativeUrl;
@@ -8,7 +8,7 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-K7APBNPW.js";
11
+ } from "./chunk-NUE44RN2.js";
12
12
  import {
13
13
  redactTelemetryString
14
14
  } from "./chunk-TK7THLRO.js";
@@ -312,6 +312,10 @@ function trackRenderComplete(props) {
312
312
  speed_ratio: props.speedRatio,
313
313
  capture_avg_ms: props.captureAvgMs,
314
314
  capture_p50_ms: props.captureP50Ms,
315
+ capture_seek_avg_ms: props.captureSeekAvgMs,
316
+ capture_before_capture_avg_ms: props.captureBeforeCaptureAvgMs,
317
+ capture_screenshot_avg_ms: props.captureScreenshotAvgMs,
318
+ encoder_wait_avg_ms: props.encoderWaitAvgMs,
315
319
  video_count: props.videoCount,
316
320
  capture_peak_ms: props.capturePeakMs,
317
321
  peak_memory_mb: props.peakMemoryMb,
@@ -10,8 +10,9 @@ import {
10
10
  import {
11
11
  JsonFlagReadError,
12
12
  inlineJsonHint,
13
- readJsonFlagText
14
- } from "./chunk-XFMO3BEN.js";
13
+ readJsonFlagText,
14
+ unreadableJsonHint
15
+ } from "./chunk-EGJ4UECR.js";
15
16
  import {
16
17
  errorBox
17
18
  } from "./chunk-5ZBMHUY2.js";
@@ -21,10 +22,10 @@ import {
21
22
  import {
22
23
  formatVariableValidationIssue,
23
24
  validateVariables
24
- } from "./chunk-DA6GOIIA.js";
25
+ } from "./chunk-BDZSH6P3.js";
25
26
  import {
26
27
  extractCompositionMetadata
27
- } from "./chunk-NHA4NRBE.js";
28
+ } from "./chunk-T5ELONXY.js";
28
29
  import {
29
30
  failCommand,
30
31
  failUsage
@@ -76,7 +77,7 @@ function variablesErrorMessage(error) {
76
77
  case "read-error":
77
78
  return {
78
79
  title: "Could not read the variables JSON",
79
- message: `${error.path}: ${error.cause}`
80
+ message: `${error.path}: ${error.cause}${unreadableJsonHint("--variables", error.path)}`
80
81
  };
81
82
  case "parse-error":
82
83
  return {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readMediaOffsetSeconds
9
- } from "./chunk-KSC4O2RY.js";
9
+ } from "./chunk-C2KEGBR3.js";
10
10
 
11
11
  // ../core/dist/mediaLink.js
12
12
  var MEDIA_LINK_ATTR = "data-link";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeFirstFrameColour,
9
9
  probeMediaMetadata
10
- } from "./chunk-3F6EGZ6C.js";
10
+ } from "./chunk-QYRMR45H.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-DA6GOIIA.js";
18
+ } from "./chunk-BDZSH6P3.js";
19
19
  import {
20
20
  mkdirWithinProject,
21
21
  realProjectRoot,
@@ -23,20 +23,20 @@ import {
23
23
  } from "./chunk-OFQWTKPW.js";
24
24
  import {
25
25
  findFfBinary
26
- } from "./chunk-BIROA7JM.js";
26
+ } from "./chunk-HYRPH6LL.js";
27
27
  import {
28
28
  cleanAssetUrl,
29
29
  isRemoteOrInlineUrl,
30
30
  isUnresolvedAssetPlaceholder,
31
31
  resolveExistingLocalAsset
32
- } from "./chunk-PBNWRWKA.js";
32
+ } from "./chunk-AKMY4QVI.js";
33
33
  import {
34
34
  rewriteAssetPath
35
- } from "./chunk-KSC4O2RY.js";
35
+ } from "./chunk-C2KEGBR3.js";
36
36
  import {
37
37
  decodeAuthoredAttribute,
38
38
  scanHtmlOpeningTags
39
- } from "./chunk-NHA4NRBE.js";
39
+ } from "./chunk-T5ELONXY.js";
40
40
 
41
41
  // ../studio-server/dist/chunk-FUTDRYQK.js
42
42
  import { statSync } from "fs";
@@ -30,7 +30,9 @@ var PROJECT_ENV_KEYS = [
30
30
  "HYPERFRAMES_NO_TELEMETRY",
31
31
  "DO_NOT_TRACK"
32
32
  ];
33
- function valueOf(raw) {
33
+ function valueOf(rawValue) {
34
+ if (/^\s+#/.test(rawValue)) return "";
35
+ const raw = rawValue.trim();
34
36
  const quote = raw.charAt(0);
35
37
  if (quote === '"' || quote === "'") {
36
38
  const end = raw.indexOf(quote, 1);
@@ -45,7 +47,7 @@ function entryOf(rawLine) {
45
47
  if (line.startsWith("export ")) line = line.slice(7).trim();
46
48
  const eq = line.indexOf("=");
47
49
  if (eq < 1) return null;
48
- return [line.slice(0, eq).trim(), valueOf(line.slice(eq + 1).trim())];
50
+ return [line.slice(0, eq).trim(), valueOf(line.slice(eq + 1))];
49
51
  }
50
52
  function openQuoteOf(trimmedLine) {
51
53
  const eq = trimmedLine.indexOf("=");