hyperframes 0.9.8 → 0.9.9

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 (241) hide show
  1. package/dist/{add-KCOZUTMS.js → add-FQX5F6PC.js} +12 -12
  2. package/dist/{agentPromptGenerator-P75AWDLA.js → agentPromptGenerator-XNGPKVEX.js} +9 -9
  3. package/dist/{animatedGifPrep-OBZTJQ7X.js → animatedGifPrep-E3PYKFJ3.js} +9 -9
  4. package/dist/api.js +29 -29
  5. package/dist/{asset-N3A7GB3E.js → asset-X5GG5TTP.js} +2 -2
  6. package/dist/{assetCataloger-OQYRQZLW.js → assetCataloger-SDFP4DWL.js} +10 -10
  7. package/dist/{audio-KCKNENFH.js → audio-DDTYFS23.js} +26 -26
  8. package/dist/{auth-Y72WHJCW.js → auth-OAWLDT3A.js} +2 -2
  9. package/dist/{autoUpdate-DLNFGTN2.js → autoUpdate-BWIPXW2W.js} +23 -16
  10. package/dist/{backgroundChecks-EFVHAYNQ.js → backgroundChecks-YJ5NRMBA.js} +3 -3
  11. package/dist/backgroundChecksWorker.js +3 -3
  12. package/dist/{batchRender-JKOGFHLU.js → batchRender-ZDL65J7N.js} +4 -4
  13. package/dist/{beats-RIKKG4N7.js → beats-Q2TIAA7S.js} +11 -11
  14. package/dist/{benchmark-7TCK3SGH.js → benchmark-I3GRHFIN.js} +9 -9
  15. package/dist/{billing-JBG45ON2.js → billing-W224NIAM.js} +1 -1
  16. package/dist/{browser-4BF7NKPF.js → browser-F24WMZ52.js} +3 -3
  17. package/dist/{bundleWithLocalizedFonts-PAWHGZRW.js → bundleWithLocalizedFonts-K5CQPNIZ.js} +2 -2
  18. package/dist/{capture-5PZTT5O7.js → capture-HLC6I4RE.js} +3 -3
  19. package/dist/{capture-H7UDNHF2.js → capture-UKWY3SZQ.js} +22 -22
  20. package/dist/{captureCompositionFrame-LR2XKVKX.js → captureCompositionFrame-YMB3CKSP.js} +14 -14
  21. package/dist/{catalog-4W5XDIKM.js → catalog-H7SOITD6.js} +12 -12
  22. package/dist/{catch-up-H2Y2WRIA.js → catch-up-YRGPVEM6.js} +4 -4
  23. package/dist/{check-NG6FULCN.js → check-BPQZZ2MO.js} +44 -44
  24. package/dist/{checkAudio-HI5ICPRV.js → checkAudio-4NRQ3WGS.js} +17 -17
  25. package/dist/{checkBrowser-YPPMCXET.js → checkBrowser-S66AHKW3.js} +37 -37
  26. package/dist/{chunk-VKWAW4JW.js → chunk-2NGBIAUF.js} +19 -19
  27. package/dist/{chunk-6RD46YOJ.js → chunk-2QMEP4LR.js} +1 -1
  28. package/dist/{chunk-5D23BECZ.js → chunk-2ROPUTCS.js} +1 -1
  29. package/dist/{chunk-VLHCR3G2.js → chunk-2Y575PWJ.js} +2 -2
  30. package/dist/{chunk-ZJ5ZLU2I.js → chunk-322AG75G.js} +2 -2
  31. package/dist/{chunk-WF4TXIXY.js → chunk-3DWH6Z5U.js} +1 -1
  32. package/dist/{chunk-VX3JUOZ6.js → chunk-42TYQPES.js} +2 -2
  33. package/dist/{chunk-GZZE2OJP.js → chunk-4W5X4S47.js} +9 -8
  34. package/dist/{chunk-6CEQCL6O.js → chunk-5YIZRU2L.js} +3 -3
  35. package/dist/{chunk-UQDO2L6F.js → chunk-62ATHBDS.js} +17 -14
  36. package/dist/{chunk-RPVL65M7.js → chunk-63GTSNMY.js} +6 -6
  37. package/dist/{chunk-TLBSOI2R.js → chunk-6DKWOG7L.js} +1 -1
  38. package/dist/{chunk-XPN7SDFQ.js → chunk-6HO6QKYG.js} +9 -9
  39. package/dist/{chunk-KKPYNKZD.js → chunk-6KV3CMY2.js} +1 -1
  40. package/dist/{chunk-7TAS4BNT.js → chunk-6UZLHLFP.js} +2 -2
  41. package/dist/{chunk-THSTFHB7.js → chunk-7RM3TB62.js} +29 -2
  42. package/dist/{chunk-GSZAUB3W.js → chunk-7W5ZDOLW.js} +2 -2
  43. package/dist/{chunk-QTEU6NL3.js → chunk-A2NFFVWH.js} +5 -5
  44. package/dist/{chunk-D7THUO4V.js → chunk-A33GFLPY.js} +22 -2
  45. package/dist/{chunk-74VSOKKS.js → chunk-ABI256T5.js} +1 -1
  46. package/dist/{chunk-YXIXTFRO.js → chunk-AH6MUQQC.js} +2 -2
  47. package/dist/{chunk-QXVW22VM.js → chunk-ASGRVFQ3.js} +1 -0
  48. package/dist/{chunk-7DQHV322.js → chunk-AUYRWWFL.js} +3 -3
  49. package/dist/{chunk-FNNNGI42.js → chunk-AVNF52HR.js} +1 -1
  50. package/dist/{chunk-ODIGIQ4C.js → chunk-B5GWDPUO.js} +3 -3
  51. package/dist/{chunk-4WJKSTDS.js → chunk-BBP5KGYS.js} +3 -3
  52. package/dist/{chunk-JCOECSLT.js → chunk-BHL4KN3H.js} +2 -2
  53. package/dist/{chunk-HVBQL3PZ.js → chunk-BX2JB24X.js} +1 -1
  54. package/dist/{chunk-UUW654GD.js → chunk-BXYB5NGT.js} +2 -2
  55. package/dist/{chunk-6DTXWYZA.js → chunk-BYC4C4YY.js} +9 -9
  56. package/dist/{chunk-7HRQOEYY.js → chunk-C3NC67BB.js} +8 -8
  57. package/dist/{chunk-RULCW25D.js → chunk-CBPBTQBH.js} +13 -13
  58. package/dist/{chunk-WY4J37EZ.js → chunk-CNX3WKQ5.js} +30 -8
  59. package/dist/{chunk-RWQANKWK.js → chunk-CPMTEWQM.js} +3 -3
  60. package/dist/{chunk-NU5LJYAT.js → chunk-CUYVIDGF.js} +4 -3
  61. package/dist/{chunk-2MUWGYXQ.js → chunk-DIKIN4BA.js} +29 -29
  62. package/dist/{chunk-BCQ42FAS.js → chunk-E2YXF2EP.js} +3 -3
  63. package/dist/{chunk-OYN54RSU.js → chunk-EBUA6NWH.js} +2 -2
  64. package/dist/{chunk-DHIXDUET.js → chunk-EN6MPNZT.js} +4 -4
  65. package/dist/{chunk-MNX7CK5N.js → chunk-GAKRZZHQ.js} +2 -2
  66. package/dist/{chunk-457LNKMV.js → chunk-GIYZMGYT.js} +1 -1
  67. package/dist/{chunk-UPN4UMT7.js → chunk-H534266X.js} +2 -2
  68. package/dist/{chunk-SBA4NG7Q.js → chunk-HBHLCMOQ.js} +7 -7
  69. package/dist/{chunk-ZK3GFNHM.js → chunk-HUJMTTKR.js} +152 -26
  70. package/dist/{chunk-WVH6VWMY.js → chunk-JZPUXDQE.js} +4 -4
  71. package/dist/{chunk-SACHIPZP.js → chunk-LR5NVYZT.js} +1 -1
  72. package/dist/{chunk-QPTQSM3D.js → chunk-LTBBFLOM.js} +1 -1
  73. package/dist/{chunk-7VHS56BT.js → chunk-LV5SL4YW.js} +2 -2
  74. package/dist/{chunk-Q3SKYJGG.js → chunk-M6JFR7KF.js} +18 -5
  75. package/dist/{chunk-2ZQ7BZOS.js → chunk-MDMQD6BV.js} +6 -6
  76. package/dist/{chunk-JP2ZSFRJ.js → chunk-MWHTLXG4.js} +4 -54
  77. package/dist/{chunk-TODLF56D.js → chunk-MY4PAH7C.js} +1 -1
  78. package/dist/{chunk-NUFOXUDF.js → chunk-N6FGHJ7X.js} +53 -29
  79. package/dist/{chunk-ECJCBLME.js → chunk-N74N2I2K.js} +1 -1
  80. package/dist/{chunk-3BCLDK6O.js → chunk-NCP3JQ6S.js} +99 -93
  81. package/dist/{chunk-W5VDIXYL.js → chunk-NNF6G2UH.js} +1 -1
  82. package/dist/{chunk-M336YVCP.js → chunk-NWQFOHXF.js} +1 -1
  83. package/dist/{chunk-ZAOQWCZM.js → chunk-NX2X326Z.js} +9 -9
  84. package/dist/{chunk-E2SVAOS6.js → chunk-OAFGA2FR.js} +4 -3
  85. package/dist/{chunk-AC3TSGGG.js → chunk-OYAZODSP.js} +28 -28
  86. package/dist/{chunk-4MDLXE3N.js → chunk-PPMCILED.js} +37 -5
  87. package/dist/{chunk-DT6NGXSS.js → chunk-Q3IT7I2K.js} +1 -1
  88. package/dist/{chunk-3YZ3LNXV.js → chunk-QOF7XZEI.js} +1 -1
  89. package/dist/{chunk-F6GJUCIY.js → chunk-QRCORKYC.js} +2 -2
  90. package/dist/{chunk-ZAXAT2D7.js → chunk-QUBVGS27.js} +5 -5
  91. package/dist/{chunk-BUYV2WGV.js → chunk-R7EKEIAK.js} +1 -1
  92. package/dist/{chunk-RGYPRUQP.js → chunk-S2UKSI3C.js} +1 -1
  93. package/dist/{chunk-TDIYINK6.js → chunk-SG4YBQPY.js} +2 -2
  94. package/dist/chunk-SRVAYGTN.js +62 -0
  95. package/dist/{chunk-K6QVKO7M.js → chunk-SSZTRWKQ.js} +2 -2
  96. package/dist/{chunk-X422IJKF.js → chunk-TJ2USKCK.js} +1 -1
  97. package/dist/{chunk-Y3RERZRQ.js → chunk-TZBJEKKU.js} +1 -1
  98. package/dist/{chunk-L3ZVUQGN.js → chunk-UWYHZCEQ.js} +2 -2
  99. package/dist/{chunk-3LLFF6EE.js → chunk-V74HSKGY.js} +1 -1
  100. package/dist/{chunk-CUR5UYYJ.js → chunk-VM6T3Z6B.js} +1 -1
  101. package/dist/{chunk-CCFSUSAE.js → chunk-VNR7LSN4.js} +50 -11
  102. package/dist/{chunk-HFNB2CG3.js → chunk-VZ5O7A77.js} +1 -1
  103. package/dist/{chunk-6ZICZOMN.js → chunk-W5AUD5OL.js} +2 -2
  104. package/dist/{chunk-BGHKFD3T.js → chunk-WWBEAKTO.js} +10 -2
  105. package/dist/{chunk-UGUYWTWD.js → chunk-XLPCBE2Q.js} +4 -4
  106. package/dist/{chunk-5SCOPSVL.js → chunk-XTYNW745.js} +1 -1
  107. package/dist/{chunk-BGMMC352.js → chunk-XX77LLFJ.js} +6 -6
  108. package/dist/chunk-Y3ICFPFK.js +5035 -0
  109. package/dist/{chunk-NST5G3WX.js → chunk-YTNHZT47.js} +2 -2
  110. package/dist/{chunk-H4D2X5N3.js → chunk-ZD3MK4H5.js} +1 -1
  111. package/dist/{chunk-6A4RAHMF.js → chunk-ZLN3AJKT.js} +1 -1
  112. package/dist/{clean-VPOP4TU4.js → clean-RCXKQNFM.js} +23 -23
  113. package/dist/cli.js +61 -60
  114. package/dist/{cloud-Q7ZXCZ6E.js → cloud-TQPQZRC5.js} +4 -4
  115. package/dist/cloud-Z3FNCC4T.js +39 -0
  116. package/dist/{cloudrun-6DVAE7GG.js → cloudrun-N737TJRC.js} +6 -6
  117. package/dist/{compare-X5SWN5XJ.js → compare-EO32AASM.js} +34 -34
  118. package/dist/{compiler-N4TTEEQC.js → compiler-NAIDMQFU.js} +6 -6
  119. package/dist/{component-MJXAMRKF.js → component-S3TYNVCR.js} +3 -3
  120. package/dist/{compositions-F3ZHG5F4.js → compositions-4TXRLZ3M.js} +15 -15
  121. package/dist/{curve-4TWENQO7.js → curve-HGLOP2GY.js} +13 -13
  122. package/dist/{cuts-X3LE5A2K.js → cuts-VNFIISLL.js} +14 -14
  123. package/dist/{delete-MYHKF3MS.js → delete-TIWI3G7X.js} +7 -5
  124. package/dist/{deploy-OP2BHWCQ.js → deploy-EHPNOGSY.js} +6 -6
  125. package/dist/{describeProject-ZMKVHAYX.js → describeProject-DN6YQU3X.js} +10 -10
  126. package/dist/{deterministicFonts-H4RC6TOJ.js → deterministicFonts-GQMT52JQ.js} +2 -2
  127. package/dist/{diff-7ZNSFBKV.js → diff-46JK5ZCL.js} +156 -76
  128. package/dist/dist-CCPYPKOC.js +197 -0
  129. package/dist/{dist-SWPSKAAJ.js → dist-GUX66F7V.js} +3 -3
  130. package/dist/{dist-H4C7ZCFU.js → dist-PCVNVAVC.js} +4 -4
  131. package/dist/{doctor-ABSXYNXY.js → doctor-LD23DW4N.js} +13 -13
  132. package/dist/{energy-X2OAWHME.js → energy-YZ3DB6AI.js} +14 -14
  133. package/dist/{events-4MDK4K7Q.js → events-3OWNDNJX.js} +3 -3
  134. package/dist/{events-26SWSHDR.js → events-DRTMYSQ6.js} +2 -2
  135. package/dist/{events-JFIZSYMH.js → events-MQIKCKA5.js} +16 -16
  136. package/dist/{extract-4O3Q3LOD.js → extract-F3NBE3X5.js} +14 -14
  137. package/dist/{face-7J7AQJDY.js → face-ZU7ZDYGO.js} +14 -14
  138. package/dist/{feedback-CVTJDQIX.js → feedback-37M37Y4F.js} +8 -8
  139. package/dist/{ffmpeg-EE2NKQT4.js → ffmpeg-PERZ6YHQ.js} +9 -9
  140. package/dist/{figma-55J7UDDC.js → figma-55AG42NN.js} +3 -3
  141. package/dist/fontLocalizeCli.js +15 -15
  142. package/dist/{frames-OZLUDUOS.js → frames-DJA3CFSY.js} +19 -16
  143. package/dist/{generate-CY2TRPRE.js → generate-BVJ5XNWP.js} +18 -18
  144. package/dist/{get-HJHSVKGK.js → get-PGLCWEBG.js} +7 -5
  145. package/dist/{gpuPolicy-LZFNAIJB.js → gpuPolicy-DUNSQM6M.js} +9 -9
  146. package/dist/{grade-compare-JVTYF2T6.js → grade-compare-R6Q6G6WP.js} +34 -34
  147. package/dist/{heifImagePrep-OGFEQMQT.js → heifImagePrep-YNPHFR6W.js} +10 -10
  148. package/dist/{help-6WDI76YU.js → help-4SNDXHWQ.js} +2 -1
  149. package/dist/{history-FIP5NGFC.js → history-NKRHKIE2.js} +10 -10
  150. package/dist/hyperframe.manifest.json +1 -1
  151. package/dist/hyperframe.runtime.iife.js +65 -65
  152. package/dist/hyperframes-player.global.js +1 -1
  153. package/dist/{info-WTGJE4QB.js → info-U4VDKU2Y.js} +8 -8
  154. package/dist/{init-UYTDM56U.js → init-2RUVBHQO.js} +29 -29
  155. package/dist/{ink-BTLAE3ZR.js → ink-TX3USU7X.js} +14 -14
  156. package/dist/{inspect-KIMJNTS4.js → inspect-MAGHXEWS.js} +34 -34
  157. package/dist/{installer-6GSD3CVW.js → installer-PUQYKLXZ.js} +5 -5
  158. package/dist/{keyframes-74LK522L.js → keyframes-2TDECIQZ.js} +6 -6
  159. package/dist/{lambda-CJ7P5NLO.js → lambda-CRVYDETX.js} +15 -15
  160. package/dist/{layout-RLIXTM56.js → layout-I3VNHWJH.js} +34 -34
  161. package/dist/{lint-IOJB746U.js → lint-MCVWXDJX.js} +10 -10
  162. package/dist/{lintProject-NZADSVSU.js → lintProject-EV3EEBY3.js} +4 -4
  163. package/dist/{list-V3TMQEQV.js → list-FJJNWPM6.js} +7 -5
  164. package/dist/{localPage-5LUCH2RM.js → localPage-6MQ6YFER.js} +9 -9
  165. package/dist/{login-GNVKQO3W.js → login-YAZZWYFK.js} +4 -4
  166. package/dist/{look-3QZIJFNX.js → look-U5UHXPUQ.js} +14 -14
  167. package/dist/{manager-3QTARUMT.js → manager-ARXEX6OP.js} +10 -10
  168. package/dist/{measure-7LUYTL2E.js → measure-JAPDVQ5X.js} +11 -11
  169. package/dist/{media-treatment-MYDIYP5I.js → media-treatment-A4Z32NGP.js} +15 -15
  170. package/dist/{media-use-UDBHEIYA.js → media-use-6HX7JHRD.js} +17 -11
  171. package/dist/{models-S5CT7CST.js → models-GMJODMZ5.js} +13 -13
  172. package/dist/{motionShot-U3TSHI33.js → motionShot-Z63I3GO7.js} +17 -17
  173. package/dist/{normalize-audio-ZETO53KI.js → normalize-audio-45CHOWKY.js} +10 -10
  174. package/dist/{open-UEJMPEPN.js → open-RSTNLDYI.js} +12 -12
  175. package/dist/{parakeetRunner-2KFML7ZA.js → parakeetRunner-K4EGDDVH.js} +14 -14
  176. package/dist/{pipeline-2TPI5L2C.js → pipeline-EKLTELWF.js} +12 -12
  177. package/dist/{play-XH2XKNCL.js → play-BYIEIRQQ.js} +25 -25
  178. package/dist/{preflight-L5P4QXXH.js → preflight-TC6ZW3GB.js} +10 -10
  179. package/dist/{present-XXEU7RTN.js → present-5B5VQKT5.js} +20 -20
  180. package/dist/{preview-V6LNVTBH.js → preview-5O2HT2WF.js} +23 -23
  181. package/dist/{probe-JL4JSTSP.js → probe-ZGK6DBAR.js} +14 -14
  182. package/dist/{producer-RLZ64COI.js → producer-RFTB2APL.js} +1 -1
  183. package/dist/{projectConfig-3IK4M62D.js → projectConfig-PUAOWUNS.js} +7 -7
  184. package/dist/{publication-4I6P772E.js → publication-K4XAMUI6.js} +3 -3
  185. package/dist/{publish-TOPACGPR.js → publish-7W46NJFT.js} +13 -13
  186. package/dist/{remove-background-CNXM4XJN.js → remove-background-LURZDSDJ.js} +13 -13
  187. package/dist/{render-XAE2YCRZ.js → render-7HIEI7QP.js} +46 -46
  188. package/dist/{render-OD3XEIBG.js → render-EF7Y6YYC.js} +6 -6
  189. package/dist/{render-WCLJ4GPZ.js → render-ETZ3WAJO.js} +39 -37
  190. package/dist/{render-batch-QM4SW65U.js → render-batch-JYYP4RXA.js} +6 -6
  191. package/dist/renderSetupWorker.js +4 -4
  192. package/dist/{resolver-K2UZSBCZ.js → resolver-BKFLETMU.js} +5 -5
  193. package/dist/{reverse-JGOZUFKK.js → reverse-VPBNBP2Q.js} +1 -1
  194. package/dist/{run-2JI4VCW5.js → run-XER4YJY5.js} +3 -3
  195. package/dist/{sherpa-OIJBFCKZ.js → sherpa-D6FQ3CHN.js} +13 -13
  196. package/dist/skills/media-use/SKILL.md +2 -2
  197. package/dist/skills/media-use/references/heygen.md +17 -9
  198. package/dist/skills/media-use/references/operations.md +14 -13
  199. package/dist/skills/media-use/scripts/lib/adopt.mjs +11 -0
  200. package/dist/skills/media-use/scripts/lib/adopt.test.mjs +26 -0
  201. package/dist/skills/media-use/scripts/lib/registry.mjs +2 -1
  202. package/dist/skills/media-use/scripts/lib/registry.test.mjs +5 -6
  203. package/dist/skills/media-use/scripts/lib/sfx-provider.mjs +23 -0
  204. package/dist/skills/media-use/scripts/resolve.mjs +3 -1
  205. package/dist/{skills-L4AWBUJJ.js → skills-EBVQSIK4.js} +22 -12
  206. package/dist/{skillsUpdateCheck-GSX5MLON.js → skillsUpdateCheck-7VXK4R4J.js} +3 -3
  207. package/dist/{snapshot-5FK3HCJ7.js → snapshot-PJUNSMDS.js} +49 -46
  208. package/dist/{src-HKLKN7AE.js → src-RL6YEPTD.js} +10 -10
  209. package/dist/{src-JT324RDD.js → src-SMIMKSHZ.js} +18 -18
  210. package/dist/{start-5O33EGN2.js → start-5ZDH643Z.js} +19 -19
  211. package/dist/{staticProjectServer-CWKMUI6O.js → staticProjectServer-BX4RWEY5.js} +21 -21
  212. package/dist/{status-MPCREDMQ.js → status-4LLUW5YT.js} +1 -1
  213. package/dist/studio/assets/{hyperframes-player-D7kdypzS.js → hyperframes-player-CcNGHTev.js} +1 -1
  214. package/dist/studio/assets/{index-BT1zmedz.js → index-D9uDed3x.js} +1 -1
  215. package/dist/studio/assets/{index-CaOrmH_8.js → index-DSRgrCDX.js} +118 -118
  216. package/dist/studio/index.html +1 -1
  217. package/dist/{studio-api-24HJ5KQX.js → studio-api-PEUXVD7P.js} +17 -17
  218. package/dist/{studioServer-KKGBELBR.js → studioServer-2WIQBEQC.js} +61 -61
  219. package/dist/{sync-BT4WDK3B.js → sync-P3O3WZWT.js} +19 -16
  220. package/dist/{telemetry-77PW2F7B.js → telemetry-267LV4SC.js} +3 -3
  221. package/dist/templates/_shared/AGENTS.md +1 -0
  222. package/dist/templates/_shared/CLAUDE.md +1 -0
  223. package/dist/templates-MQ742KVZ.js +173 -0
  224. package/dist/{timeline-RKJ63VIU.js → timeline-WP7AZAQC.js} +24 -24
  225. package/dist/{tokens-JATS65YH.js → tokens-ROFKR7AE.js} +2 -2
  226. package/dist/{transcribe-ELWJ6NYG.js → transcribe-N66QUYCS.js} +12 -12
  227. package/dist/{transcribe-FYBJBBP3.js → transcribe-WS2STSCJ.js} +23 -23
  228. package/dist/{tts-JHGGL7GL.js → tts-HIQMJU6O.js} +1 -1
  229. package/dist/{updateCheck-NU374MVC.js → updateCheck-M2SMSDIO.js} +2 -2
  230. package/dist/{upgrade-VIWR25J6.js → upgrade-ZUWFB2QM.js} +2 -2
  231. package/dist/upload-L5TSWWIU.js +16 -0
  232. package/dist/{urlDownloader-MVZYN7XB.js → urlDownloader-YNI3Y3IE.js} +8 -8
  233. package/dist/{validate-3HM2XCH4.js → validate-M2M37G47.js} +28 -28
  234. package/dist/{video-H4ASUN7D.js → video-2OEOTSPQ.js} +10 -10
  235. package/dist/warmCheck.js +44 -44
  236. package/package.json +1 -1
  237. package/dist/chunk-N3CZ437C.js +0 -5035
  238. package/dist/{chunk-GSNSSFT7.js → chunk-G3ERWPNV.js} +0 -0
  239. package/dist/{chunk-T5ELONXY.js → chunk-JHILL4BN.js} +0 -0
  240. package/dist/{destroy-IQLGADZM.js → destroy-C5GQLZVZ.js} +4 -4
  241. package/dist/{synthesize-YYT7UON6.js → synthesize-YK3WLOEQ.js} +5 -5
@@ -19,7 +19,11 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-WVH6VWMY.js";
22
+ } from "./chunk-JZPUXDQE.js";
23
+ import {
24
+ MEDIA_LINK_ATTR,
25
+ relinkSplitHalves
26
+ } from "./chunk-AW3XJY4S.js";
23
27
  import {
24
28
  DEFAULT_TARGET_LUFS,
25
29
  absoluteLoudnessPlan,
@@ -28,11 +32,22 @@ import {
28
32
  requestedProjectPath,
29
33
  requiredFfmpeg,
30
34
  resolveLocalAudioPath
31
- } from "./chunk-RWQANKWK.js";
35
+ } from "./chunk-CPMTEWQM.js";
32
36
  import {
33
- MEDIA_LINK_ATTR,
34
- relinkSplitHalves
35
- } from "./chunk-AW3XJY4S.js";
37
+ HistoryBusyError,
38
+ MAX_WINDOW_IDLE_MS,
39
+ STUDIO_SIGNATURE_MANIFEST_PATHS,
40
+ UNDO_MODES,
41
+ clearFileWriteReceipt,
42
+ createProjectSignatureAsync,
43
+ createWriteToken,
44
+ fileContentVersion,
45
+ recordFileWriteReceipt,
46
+ resolveProjectAndSignature,
47
+ resolveProjectSignature,
48
+ serveWhileOpen,
49
+ settledFileTag
50
+ } from "./chunk-XLPCBE2Q.js";
36
51
  import {
37
52
  PROXY_PARAMS_VERSION,
38
53
  PROXY_PENDING_RETRY_AFTER_SECONDS,
@@ -56,26 +71,11 @@ import {
56
71
  scanProjectMedia,
57
72
  shouldPrewarmProxy,
58
73
  waitForProxy
59
- } from "./chunk-2ZQ7BZOS.js";
74
+ } from "./chunk-MDMQD6BV.js";
60
75
  import {
61
76
  probeAudioTrack,
62
77
  probeMediaMetadata
63
- } from "./chunk-6RD46YOJ.js";
64
- import {
65
- HistoryBusyError,
66
- MAX_WINDOW_IDLE_MS,
67
- STUDIO_SIGNATURE_MANIFEST_PATHS,
68
- UNDO_MODES,
69
- clearFileWriteReceipt,
70
- createProjectSignature,
71
- createWriteToken,
72
- fileContentVersion,
73
- recordFileWriteReceipt,
74
- resolveProjectAndSignature,
75
- resolveProjectSignature,
76
- serveWhileOpen,
77
- settledFileTag
78
- } from "./chunk-UGUYWTWD.js";
78
+ } from "./chunk-2QMEP4LR.js";
79
79
  import {
80
80
  STUDIO_MOTION_PATH,
81
81
  createStudioMotionRenderBodyScript,
@@ -117,7 +117,7 @@ import {
117
117
  ensureHfIds,
118
118
  stampHfIdsInPlace,
119
119
  stripSdrPngColourTags
120
- } from "./chunk-4MDLXE3N.js";
120
+ } from "./chunk-PPMCILED.js";
121
121
  import {
122
122
  PREVIEW_PROXY_BOX_PARAM,
123
123
  PREVIEW_PROXY_LIGHT_PARAM,
@@ -130,7 +130,7 @@ import {
130
130
  fpsToNumber,
131
131
  parseFps,
132
132
  parsePreviewProxyBox
133
- } from "./chunk-6ZICZOMN.js";
133
+ } from "./chunk-W5AUD5OL.js";
134
134
  import {
135
135
  GSAP_BASE_URL_META,
136
136
  gsapCdnDist,
@@ -152,7 +152,7 @@ import {
152
152
  resolveRateSpec,
153
153
  sourceTimeAt,
154
154
  stripEmbeddedRuntimeScripts
155
- } from "./chunk-N3CZ437C.js";
155
+ } from "./chunk-Y3ICFPFK.js";
156
156
  import {
157
157
  ProjectRootMissingError,
158
158
  folderGone,
@@ -161,14 +161,14 @@ import {
161
161
  mkdirWithinProject,
162
162
  realpath
163
163
  } from "./chunk-OFQWTKPW.js";
164
- import {
165
- FFPROBE_PATH_ENV,
166
- findFfBinary
167
- } from "./chunk-HYRPH6LL.js";
168
164
  import {
169
165
  isWithinProjectRoot,
170
166
  readProjectFile
171
167
  } from "./chunk-WVRAFHJU.js";
168
+ import {
169
+ FFPROBE_PATH_ENV,
170
+ findFfBinary
171
+ } from "./chunk-HYRPH6LL.js";
172
172
  import {
173
173
  decodeCssEscapes,
174
174
  decodeWellFormedEscapes,
@@ -187,7 +187,7 @@ import {
187
187
  decodeAuthoredAttribute,
188
188
  scanHtmlOpeningTags,
189
189
  unrollComputedTimeline
190
- } from "./chunk-T5ELONXY.js";
190
+ } from "./chunk-JHILL4BN.js";
191
191
  import {
192
192
  parseHTML
193
193
  } from "./chunk-GWTIFRF5.js";
@@ -197,6 +197,31 @@ import {
197
197
  simple
198
198
  } from "./chunk-WC4MTXGN.js";
199
199
 
200
+ // ../studio-server/dist/chunk-UEEXAVOA.js
201
+ function findUnsafeMutationValues(value, path = "body", options = {}) {
202
+ if (value === null) {
203
+ return options.allowNullPath?.(path) ? [] : [{ path, reason: "null" }];
204
+ }
205
+ if (typeof value === "number") {
206
+ return Number.isFinite(value) ? [] : [{ path, reason: "non-finite-number" }];
207
+ }
208
+ if (!value || typeof value !== "object") return [];
209
+ if (Array.isArray(value)) {
210
+ return value.flatMap(
211
+ (item, index) => findUnsafeMutationValues(item, `${path}[${index}]`, options)
212
+ );
213
+ }
214
+ return Object.entries(value).flatMap(
215
+ ([key, item]) => findUnsafeMutationValues(item, `${path}.${key}`, options)
216
+ );
217
+ }
218
+ var DOM_PATCH_NULL_VALUE_PATH = /^body\.operations\[\d+\]\.value$/;
219
+ function findUnsafeDomPatchValues(value) {
220
+ return findUnsafeMutationValues(value, "body", {
221
+ allowNullPath: (path) => DOM_PATCH_NULL_VALUE_PATH.test(path)
222
+ });
223
+ }
224
+
200
225
  // ../studio-server/dist/chunk-7ROCGO5U.js
201
226
  import { createHash } from "crypto";
202
227
  import { closeSync, constants, fstatSync, openSync, readFileSync, writeFileSync } from "fs";
@@ -391,39 +416,6 @@ async function injectMediaCodecMap(html, adapter, projectDir, compSrcPath, probe
391
416
  return injectMediaCodecMapIntoHtml(html, projectDir, [{ html, compSrcPath }], probeCache, false);
392
417
  }
393
418
 
394
- // ../core/dist/studioPreviewMark.js
395
- var STUDIO_PREVIEW_MARK_META = "hyperframes-studio-preview";
396
- var STUDIO_PREVIEW_CAPTURE_MODE = "capture";
397
- var STUDIO_PREVIEW_LAZY_ATTR = "data-hf-preview-lazy";
398
- var STUDIO_PREVIEW_ERRORS = "__hfPreviewErrors";
399
- var STUDIO_PREVIEW_ERROR_KINDS = "__hfPreviewErrorKinds";
400
- var refusedPreviewMessage = (status) => `The preview page could not be loaded (HTTP ${status}).`;
401
-
402
- // ../studio-server/dist/chunk-UEEXAVOA.js
403
- function findUnsafeMutationValues(value, path = "body", options = {}) {
404
- if (value === null) {
405
- return options.allowNullPath?.(path) ? [] : [{ path, reason: "null" }];
406
- }
407
- if (typeof value === "number") {
408
- return Number.isFinite(value) ? [] : [{ path, reason: "non-finite-number" }];
409
- }
410
- if (!value || typeof value !== "object") return [];
411
- if (Array.isArray(value)) {
412
- return value.flatMap(
413
- (item, index) => findUnsafeMutationValues(item, `${path}[${index}]`, options)
414
- );
415
- }
416
- return Object.entries(value).flatMap(
417
- ([key, item]) => findUnsafeMutationValues(item, `${path}.${key}`, options)
418
- );
419
- }
420
- var DOM_PATCH_NULL_VALUE_PATH = /^body\.operations\[\d+\]\.value$/;
421
- function findUnsafeDomPatchValues(value) {
422
- return findUnsafeMutationValues(value, "body", {
423
- allowNullPath: (path) => DOM_PATCH_NULL_VALUE_PATH.test(path)
424
- });
425
- }
426
-
427
419
  // ../studio-server/dist/index.js
428
420
  import { Hono } from "hono";
429
421
  import { readFile } from "fs/promises";
@@ -3685,6 +3677,16 @@ import { createReadStream, existsSync as existsSync5, readFileSync as readFileSy
3685
3677
  import { Readable } from "stream";
3686
3678
  import { join as join8, resolve as resolve4 } from "path";
3687
3679
  import { createHash as createHash3 } from "crypto";
3680
+
3681
+ // ../core/dist/studioPreviewMark.js
3682
+ var STUDIO_PREVIEW_MARK_META = "hyperframes-studio-preview";
3683
+ var STUDIO_PREVIEW_CAPTURE_MODE = "capture";
3684
+ var STUDIO_PREVIEW_LAZY_ATTR = "data-hf-preview-lazy";
3685
+ var STUDIO_PREVIEW_ERRORS = "__hfPreviewErrors";
3686
+ var STUDIO_PREVIEW_ERROR_KINDS = "__hfPreviewErrorKinds";
3687
+ var refusedPreviewMessage = (status) => `The preview page could not be loaded (HTTP ${status}).`;
3688
+
3689
+ // ../studio-server/dist/index.js
3688
3690
  import { readlinkSync as readlinkSync2 } from "fs";
3689
3691
  import { dirname as dirname4, join as join7, parse as parse2, relative as relative3, resolve as resolve32 } from "path";
3690
3692
  import { readFileSync as readFileSync7 } from "fs";
@@ -3769,7 +3771,7 @@ function registerProjectRoutes(api, adapter) {
3769
3771
  api.get("/projects/:id/signature", async (c) => {
3770
3772
  const project = await adapter.resolveProject(c.req.param("id"));
3771
3773
  if (!project) return c.json({ error: "not found" }, 404);
3772
- return c.json({ signature: resolveProjectSignature(adapter, project.dir) });
3774
+ return c.json({ signature: await resolveProjectSignature(adapter, project.dir) });
3773
3775
  });
3774
3776
  api.get("/projects/:id", async (c) => {
3775
3777
  const project = await adapter.resolveProject(c.req.param("id"));
@@ -4062,7 +4064,7 @@ ${rewrittenContent}
4062
4064
  </html>`;
4063
4065
  }
4064
4066
  function hasBaseElement(html) {
4065
- return parseHTML(html).document.querySelector("base") !== null;
4067
+ return findStartTags(html, "base").length > 0;
4066
4068
  }
4067
4069
  var CompositionInsertionError = class extends Error {
4068
4070
  constructor(message, status) {
@@ -4324,7 +4326,7 @@ function rootHashes(read) {
4324
4326
  const source = read(ROOT_COMPOSITION) ?? "";
4325
4327
  return { root: sha1(source), head: sha1(rootHeadContent(source)) };
4326
4328
  }
4327
- function compositionInputSignature(projectDir, compPath, projectSignature) {
4329
+ async function compositionInputSignature(projectDir, compPath, projectSignature) {
4328
4330
  const key = `${projectDir}\0${compPath}`;
4329
4331
  const known = inputSignatures.get(key);
4330
4332
  if (known?.projectSignature === projectSignature) return known.inputSignature;
@@ -4336,11 +4338,12 @@ function compositionInputSignature(projectDir, compPath, projectSignature) {
4336
4338
  );
4337
4339
  let inputSignature;
4338
4340
  if (comp === ROOT_COMPOSITION) {
4339
- inputSignature = createProjectSignature(projectDir, excluded);
4341
+ inputSignature = await createProjectSignatureAsync(projectDir, excluded);
4340
4342
  } else {
4341
4343
  const hashes = rootHashes(read);
4342
4344
  if (!rootMemos.has(projectDir)) rootMemos.set(projectDir, { ...hashes, affected: null });
4343
- inputSignature = `${createProjectSignature(projectDir, excluded.add(ROOT_COMPOSITION))}:${hashes.head}`;
4345
+ const rest = await createProjectSignatureAsync(projectDir, excluded.add(ROOT_COMPOSITION));
4346
+ inputSignature = `${rest}:${hashes.head}`;
4344
4347
  }
4345
4348
  inputSignatures.set(key, { projectSignature, inputSignature });
4346
4349
  return inputSignature;
@@ -5620,7 +5623,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
5620
5623
  let block = extractGsapScriptBlock(html);
5621
5624
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
5622
5625
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
5623
- const { GSAP_CDN } = await import("./dist-SWPSKAAJ.js");
5626
+ const { GSAP_CDN } = await import("./dist-GUX66F7V.js");
5624
5627
  const bootstrap = [
5625
5628
  `<script src="${GSAP_CDN}"></script>`,
5626
5629
  "<script>",
@@ -7517,8 +7520,9 @@ function startsAfterZero(el) {
7517
7520
  var hasLoading = (img) => Array.from(img.attributes).some((attr) => attr.name.toLowerCase() === "loading");
7518
7521
  function lazyPreviewImages(html) {
7519
7522
  if (!/<!doctype|<html[\s>]/i.test(html)) return html;
7520
- const images = [...parseHTML(html).document.querySelectorAll("img")];
7521
7523
  const tags = findStartTags(html, "img");
7524
+ if (tags.length === 0) return html;
7525
+ const images = [...parseHTML(html).document.querySelectorAll("img")];
7522
7526
  if (tags.length !== images.length) return html;
7523
7527
  const parts = [];
7524
7528
  let from = 0;
@@ -7713,7 +7717,7 @@ addEventListener("error",function(e){seen.push(e.message||String(e));
7713
7717
  var name=e.error&&e.error.constructor&&e.error.constructor.name,path="";
7714
7718
  try{var url=e.filename&&new URL(e.filename,window.location.href);if(url&&url.origin===window.location.origin)path=url.pathname}catch(_){}
7715
7719
  kinds.push({name:known[name]===1?name:"other",origin:!path?"unknown":path===runtime?"runtime":path.indexOf("/api/projects/")===0?"project":"studio"})});})();</script>`;
7716
- function injectStudioPreviewAugmentations(html, adapter, projectDir, activeCompositionPath, options) {
7720
+ function injectStudioPreviewAugmentations(html, adapter, signature, projectDir, activeCompositionPath, options) {
7717
7721
  const marked = options.capture ? injectTagsAtHeadStart(
7718
7722
  html,
7719
7723
  `<meta name="${STUDIO_PREVIEW_MARK_META}" content="${STUDIO_PREVIEW_CAPTURE_MODE}">`
@@ -7727,7 +7731,7 @@ function injectStudioPreviewAugmentations(html, adapter, projectDir, activeCompo
7727
7731
  marked,
7728
7732
  `<meta name="${GSAP_BASE_URL_META}" content="${escapeGsapUrl(options.gsapBaseUrl)}">`
7729
7733
  ),
7730
- resolveProjectSignature(adapter, projectDir)
7734
+ signature
7731
7735
  ),
7732
7736
  options.gsapBaseUrl
7733
7737
  );
@@ -7832,6 +7836,7 @@ function registerPreviewRoutes(api, adapter) {
7832
7836
  bundled = injectStudioPreviewAugmentations(
7833
7837
  ensureHfIds(await transformPreviewHtml(bundled, adapter, project, mainCompositionPath)),
7834
7838
  adapter,
7839
+ signature,
7835
7840
  project.dir,
7836
7841
  mainCompositionPath,
7837
7842
  { capture, gsapBaseUrl }
@@ -7845,7 +7850,7 @@ function registerPreviewRoutes(api, adapter) {
7845
7850
  mediaCodecProbeCache
7846
7851
  );
7847
7852
  bundled = addScenePartsManifest(bundled, [`meta[name="${PROJECT_SIGNATURE_META}"]`]);
7848
- if (createProjectSignature(project.dir) === signature) {
7853
+ if (await createProjectSignatureAsync(project.dir) === signature) {
7849
7854
  rememberPreview(builtKey, bundled);
7850
7855
  if (!capture) adapter.previewDocuments?.write(builtKey, bundled);
7851
7856
  }
@@ -7860,6 +7865,7 @@ function registerPreviewRoutes(api, adapter) {
7860
7865
  let fallbackAugmented = injectStudioPreviewAugmentations(
7861
7866
  await transformPreviewHtml(fallbackHtml, adapter, project, fallback.compositionPath),
7862
7867
  adapter,
7868
+ signature,
7863
7869
  project.dir,
7864
7870
  fallback.compositionPath,
7865
7871
  { capture, gsapBaseUrl }
@@ -7960,7 +7966,7 @@ ${etag}`;
7960
7966
  html = withRootImportMap(html, baseHref);
7961
7967
  recordPreviewReferences(project.dir, html);
7962
7968
  html = ensureHfIds(await transformPreviewHtml(html, adapter, project, compPath));
7963
- html = injectStudioPreviewAugmentations(html, adapter, project.dir, compPath, {
7969
+ html = injectStudioPreviewAugmentations(html, adapter, signature, project.dir, compPath, {
7964
7970
  capture,
7965
7971
  gsapBaseUrl
7966
7972
  });
@@ -8158,6 +8164,15 @@ function registerLintRoutes(api, adapter) {
8158
8164
  }
8159
8165
  });
8160
8166
  }
8167
+ var firstSeenFinishedAt = /* @__PURE__ */ new WeakMap();
8168
+ function forgetJobsFinishedLongerThan(ttlMs, jobs, isFinished, now = Date.now()) {
8169
+ for (const [id, job] of jobs) {
8170
+ if (!isFinished(job)) continue;
8171
+ const finishedAt = firstSeenFinishedAt.get(job) ?? now;
8172
+ firstSeenFinishedAt.set(job, finishedAt);
8173
+ if (now - finishedAt > ttlMs) jobs.delete(id);
8174
+ }
8175
+ }
8161
8176
  var VALID_RESOLUTIONS = new Set(VALID_CANVAS_RESOLUTIONS);
8162
8177
  var RENDER_MIME = {
8163
8178
  ".mp4": "video/mp4",
@@ -8197,12 +8212,7 @@ function registerRenderRoutes(api, adapter) {
8197
8212
  let cleanupTimer = null;
8198
8213
  const cleanupEnabled = () => typeof process !== "undefined" && process.env.NODE_ENV !== "production" && !process.argv.includes("build");
8199
8214
  const cleanupFinishedJobs = () => {
8200
- const now = Date.now();
8201
- for (const [key, job] of renderJobs) {
8202
- if (job.status !== "rendering" && now - job.createdAt > TTL_MS) {
8203
- renderJobs.delete(key);
8204
- }
8205
- }
8215
+ forgetJobsFinishedLongerThan(TTL_MS, renderJobs, (job) => job.status !== "rendering");
8206
8216
  if (renderJobs.size === 0 && cleanupTimer) {
8207
8217
  clearInterval(cleanupTimer);
8208
8218
  cleanupTimer = null;
@@ -8280,7 +8290,6 @@ function registerRenderRoutes(api, adapter) {
8280
8290
  telemetryOptOut: body.telemetryOptOut === true,
8281
8291
  ...pageMotionBlur === void 0 ? {} : { pageMotionBlur }
8282
8292
  });
8283
- jobState.createdAt = Date.now();
8284
8293
  renderJobs.set(jobId, jobState);
8285
8294
  ensureCleanupTimer();
8286
8295
  return c.json({ jobId, status: "rendering" });
@@ -8430,8 +8439,7 @@ function registerRenderRoutes(api, adapter) {
8430
8439
  id: file.id,
8431
8440
  status: file.status,
8432
8441
  progress: 100,
8433
- outputPath: file.path,
8434
- createdAt: file.createdAt
8442
+ outputPath: file.path
8435
8443
  });
8436
8444
  }
8437
8445
  }
@@ -8725,7 +8733,7 @@ function registerThumbnailRoutes(api, adapter) {
8725
8733
  const htmlFile = resolveWithinProject(project.dir, compPath);
8726
8734
  const source = htmlFile ? readFileOnce(htmlFile) : "not-a-file";
8727
8735
  if (source === "not-a-file") return c.json({ error: "not found" }, 404);
8728
- const inputSignature = compositionInputSignature(project.dir, compPath, projectSignature);
8736
+ const inputSignature = await compositionInputSignature(project.dir, compPath, projectSignature);
8729
8737
  const url = new URL(c.req.url, `http://${c.req.header("host") || "localhost"}`);
8730
8738
  const rawSeekTime = url.searchParams.get("t");
8731
8739
  const parsedSeekTime = rawSeekTime == null ? Number.NaN : parseFloat(rawSeekTime);
@@ -8808,8 +8816,8 @@ function registerThumbnailRoutes(api, adapter) {
8808
8816
  if (!generated) return null;
8809
8817
  const previewCopiesAtEnd = proxyActivityMark(project.dir);
8810
8818
  const afterGeneration = await resolveProjectAndSignature(adapter, project.id);
8811
- const inputsUnchanged = (signature) => compositionInputSignature(project.dir, compPath, signature) === inputSignature;
8812
- if (previewCopiesAtStart === null || previewCopiesAtEnd !== previewCopiesAtStart || afterGeneration?.project.dir !== project.dir || !inputsUnchanged(afterGeneration.signature) || !inputsUnchanged(createProjectSignature(project.dir))) {
8819
+ const inputsUnchanged = async (signature) => await compositionInputSignature(project.dir, compPath, signature) === inputSignature;
8820
+ if (previewCopiesAtStart === null || previewCopiesAtEnd !== previewCopiesAtStart || afterGeneration?.project.dir !== project.dir || !await inputsUnchanged(afterGeneration.signature) || !await inputsUnchanged(await createProjectSignatureAsync(project.dir))) {
8813
8821
  return generated;
8814
8822
  }
8815
8823
  mkdirWithinProject(project.dir, cacheDir);
@@ -9691,12 +9699,11 @@ function registerMediaRoutes(api, adapter, options = {}) {
9691
9699
  const TTL_MS = 3e5;
9692
9700
  const readMediaMetadata = options.probeMediaMetadata ?? probeMediaMetadata;
9693
9701
  function cleanupFinishedJobs() {
9694
- const now = Date.now();
9695
- for (const [id, job] of mediaJobs) {
9696
- if ((job.status === "complete" || job.status === "failed") && now - job.createdAt > TTL_MS) {
9697
- mediaJobs.delete(id);
9698
- }
9699
- }
9702
+ forgetJobsFinishedLongerThan(
9703
+ TTL_MS,
9704
+ mediaJobs,
9705
+ (job) => job.status === "complete" || job.status === "failed"
9706
+ );
9700
9707
  }
9701
9708
  api.get("/projects/:id/media/metadata", async (c) => {
9702
9709
  const project = await adapter.resolveProject(c.req.param("id"));
@@ -9782,7 +9789,6 @@ function registerMediaRoutes(api, adapter, options = {}) {
9782
9789
  device: normalizeDevice(body.device),
9783
9790
  jobId
9784
9791
  });
9785
- state.createdAt = Date.now();
9786
9792
  mediaJobs.set(jobId, state);
9787
9793
  return c.json({
9788
9794
  jobId,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-YXIXTFRO.js";
9
+ } from "./chunk-AH6MUQQC.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VALID_CANVAS_RESOLUTIONS,
9
9
  resolveResolutionFlagPair
10
- } from "./chunk-T5ELONXY.js";
10
+ } from "./chunk-JHILL4BN.js";
11
11
  import {
12
12
  CliUsageError
13
13
  } from "./chunk-66W5IWLO.js";
@@ -9,27 +9,27 @@ import {
9
9
  } from "./chunk-TQBQYO4L.js";
10
10
  import {
11
11
  resolveProject
12
- } from "./chunk-TLBSOI2R.js";
12
+ } from "./chunk-6DKWOG7L.js";
13
13
  import {
14
14
  serveStaticProjectHtml
15
- } from "./chunk-6DTXWYZA.js";
15
+ } from "./chunk-BYC4C4YY.js";
16
16
  import {
17
17
  AUDIT_SEEK_OPTIONS,
18
18
  installPageFunctionGuard,
19
19
  seekCompositionTimeline,
20
20
  waitForCompositionFonts,
21
21
  waitForRuntimeReady
22
- } from "./chunk-XPN7SDFQ.js";
22
+ } from "./chunk-6HO6QKYG.js";
23
23
  import {
24
24
  gotoWhenSent
25
25
  } from "./chunk-RXFKSZN2.js";
26
26
  import {
27
27
  pageNavigationTimeoutMs
28
- } from "./chunk-BCQ42FAS.js";
28
+ } from "./chunk-E2YXF2EP.js";
29
29
  import {
30
30
  launchManagedBrowser,
31
31
  resolveManagedGpuMode
32
- } from "./chunk-JCOECSLT.js";
32
+ } from "./chunk-BHL4KN3H.js";
33
33
  import {
34
34
  readJsonFileText
35
35
  } from "./chunk-EHZESMRB.js";
@@ -42,7 +42,7 @@ import {
42
42
  import {
43
43
  printDeprecationNotice,
44
44
  withMeta
45
- } from "./chunk-Y3RERZRQ.js";
45
+ } from "./chunk-TZBJEKKU.js";
46
46
  import {
47
47
  failureMessage,
48
48
  jsonFailure
@@ -709,7 +709,7 @@ async function collectTweenBoundaries(page) {
709
709
  });
710
710
  }
711
711
  async function bundleProjectHtml(projectDir) {
712
- const { bundleToSingleHtml } = await import("./compiler-N4TTEEQC.js");
712
+ const { bundleToSingleHtml } = await import("./compiler-NAIDMQFU.js");
713
713
  return bundleToSingleHtml(projectDir);
714
714
  }
715
715
  async function alignViewportToComposition(page, url) {
@@ -728,13 +728,13 @@ async function alignViewportToComposition(page, url) {
728
728
  async function runLayoutAudit(projectDir, opts) {
729
729
  const { ensureBrowser } = await import("./manager-SAXHANEY.js");
730
730
  const puppeteer = await import("puppeteer-core");
731
- const { buildChromeArgs } = await import("./src-HKLKN7AE.js");
731
+ const { buildChromeArgs } = await import("./src-RL6YEPTD.js");
732
732
  const {
733
733
  assertWebGpuAdapterAvailable,
734
734
  compositionRequiresWebGpu,
735
735
  resolveLocalBrowserGpuMode,
736
736
  resolveLocalWebGpu
737
- } = await import("./gpuPolicy-LZFNAIJB.js");
737
+ } = await import("./gpuPolicy-DUNSQM6M.js");
738
738
  const html = await bundleProjectHtml(projectDir);
739
739
  const server = await serveStaticProjectHtml(
740
740
  projectDir,
@@ -6,8 +6,9 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  round,
9
- runFfmpeg
10
- } from "./chunk-D7THUO4V.js";
9
+ runFfmpeg,
10
+ sumOf
11
+ } from "./chunk-A33GFLPY.js";
11
12
 
12
13
  // src/measure/drawn.ts
13
14
  import { mkdtempSync, readFileSync, rmSync } from "fs";
@@ -135,7 +136,7 @@ function readDrawn(clip, jobs, width, height) {
135
136
  const graph = [
136
137
  `[0:v]${[...clip.filters, "setsar=1", `scale=${width}:${height}:flags=bicubic`].join(",")},split=${jobs.length}${tags}`,
137
138
  ...jobs.map(({ box: [x, y, w, h], frames }, j) => {
138
- const pick = frames.map((k) => `eq(n\\,${k})`).join("+");
139
+ const pick = sumOf(frames.map((k) => `eq(n\\,${k})`));
139
140
  return `[d${j}]select=${pick},crop=${w}:${h}:${x}:${y},format=rgb24[e${j}]`;
140
141
  })
141
142
  ].join(";");
@@ -7,32 +7,15 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-ZAOQWCZM.js";
10
+ } from "./chunk-NX2X326Z.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-RULCW25D.js";
15
+ } from "./chunk-CBPBTQBH.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-6DTXWYZA.js";
19
- import {
20
- STUDIO_PREVIEW_CAPTURE_MODE,
21
- STUDIO_PREVIEW_MARK_META
22
- } from "./chunk-3BCLDK6O.js";
23
- import {
24
- FfmpegUnavailableError,
25
- decideMediaProxyEligibility,
26
- getProxyCachePath,
27
- proxyVariantFor,
28
- resolveProxies,
29
- scanProjectMediaCodecMap,
30
- shouldPrewarmProxy
31
- } from "./chunk-2ZQ7BZOS.js";
32
- import {
33
- artifactDirectory,
34
- finishSnapshotRun
35
- } from "./chunk-UGUYWTWD.js";
18
+ } from "./chunk-BYC4C4YY.js";
36
19
  import {
37
20
  AUDIT_SEEK_OPTIONS,
38
21
  DEFAULT_ZOOM_PADDING_PX,
@@ -46,24 +29,41 @@ import {
46
29
  seekCompositionTimeline,
47
30
  seekInPage,
48
31
  waitForPreferredSeekTarget
49
- } from "./chunk-XPN7SDFQ.js";
32
+ } from "./chunk-6HO6QKYG.js";
50
33
  import {
51
34
  SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
52
35
  } from "./chunk-YGGZ23BB.js";
53
36
  import {
54
37
  findStageProxyBox
55
- } from "./chunk-QPTQSM3D.js";
38
+ } from "./chunk-LTBBFLOM.js";
39
+ import {
40
+ STUDIO_PREVIEW_CAPTURE_MODE,
41
+ STUDIO_PREVIEW_MARK_META
42
+ } from "./chunk-NCP3JQ6S.js";
43
+ import {
44
+ artifactDirectory,
45
+ finishSnapshotRun
46
+ } from "./chunk-XLPCBE2Q.js";
47
+ import {
48
+ FfmpegUnavailableError,
49
+ decideMediaProxyEligibility,
50
+ getProxyCachePath,
51
+ proxyVariantFor,
52
+ resolveProxies,
53
+ scanProjectMediaCodecMap,
54
+ shouldPrewarmProxy
55
+ } from "./chunk-MDMQD6BV.js";
56
56
  import {
57
57
  resolveAutoProxy
58
- } from "./chunk-RGYPRUQP.js";
58
+ } from "./chunk-S2UKSI3C.js";
59
59
  import {
60
60
  BrowserCleanupError,
61
61
  closeManagedBrowser,
62
62
  onStopSignal
63
- } from "./chunk-JCOECSLT.js";
63
+ } from "./chunk-BHL4KN3H.js";
64
64
  import {
65
65
  injectTagsAtHeadStart
66
- } from "./chunk-N3CZ437C.js";
66
+ } from "./chunk-Y3ICFPFK.js";
67
67
  import {
68
68
  normalizeErrorMessage
69
69
  } from "./chunk-E63BDV4Z.js";
@@ -582,7 +582,7 @@ function proxyFailedDraft(message) {
582
582
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
583
583
  }
584
584
  async function loadCheckHtmlWithDeferredMedia(dir) {
585
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-PAWHGZRW.js");
585
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-K5CQPNIZ.js");
586
586
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
587
587
  }
588
588
  function withCapturePreviewMark(html) {
@@ -644,7 +644,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
644
644
  ).map((draft) => runtimeFinding(draft, rootAnchor))
645
645
  }));
646
646
  const launchSettleMs = Date.now() - launchSettleStart;
647
- const { analyzeClipMediaFit } = await import("./src-HKLKN7AE.js");
647
+ const { analyzeClipMediaFit } = await import("./src-RL6YEPTD.js");
648
648
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
649
649
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
650
650
  }
@@ -785,7 +785,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
785
785
  async function captureFindingFrames(project, options, requests, deadline) {
786
786
  if (requests.length === 0) return { written: [], inspected: [] };
787
787
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
788
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-PAWHGZRW.js");
788
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-K5CQPNIZ.js");
789
789
  return withCapturePreviewMark(
790
790
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
791
791
  );