hyperframes 0.9.59 → 0.9.61

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 (332) hide show
  1. package/dist/{add-C7J7HSLI.js → add-LNPIKHAX.js} +26 -27
  2. package/dist/{agentPromptGenerator-GCLJUGVE.js → agentPromptGenerator-N3HL4JWM.js} +15 -17
  3. package/dist/{animatedGifPrep-JPQZPZC4.js → animatedGifPrep-SEPXIM4W.js} +20 -21
  4. package/dist/api.d.ts +8 -1
  5. package/dist/api.js +58 -58
  6. package/dist/{appHistory-TQ6JAEP5.js → appHistory-ASGUPUUV.js} +5 -6
  7. package/dist/{asset-HQEPGBDJ.js → asset-3L2G3ROU.js} +15 -5
  8. package/dist/{assetCataloger-LMPPKPF6.js → assetCataloger-3D75A6GI.js} +16 -18
  9. package/dist/{audio-FD2EBZ6D.js → audio-U4W5ZWQ7.js} +45 -45
  10. package/dist/{auth-JA7XH6NG.js → auth-V4G5ZE3P.js} +4 -4
  11. package/dist/{autoUpdate-WKW2OMIY.js → autoUpdate-QYKF3DDS.js} +4 -4
  12. package/dist/{avatars-Q7U6CO4X.js → avatars-SB2XCDWJ.js} +23 -25
  13. package/dist/{backgroundChecks-H2SOS2CM.js → backgroundChecks-KHBYRE6J.js} +5 -5
  14. package/dist/backgroundChecksWorker.js +5 -5
  15. package/dist/{batchRender-75OLVMZY.js → batchRender-6S5GMICZ.js} +7 -9
  16. package/dist/{beats-R4EHWWJN.js → beats-7YLYCCMD.js} +16 -18
  17. package/dist/{benchmark-F5OHG3Q3.js → benchmark-IBX7ZWVU.js} +27 -27
  18. package/dist/{billing-LBRSBVXQ.js → billing-EAHOGMQW.js} +21 -23
  19. package/dist/{browser-CNTCFZOG.js → browser-XKYRXDJW.js} +13 -15
  20. package/dist/{bundleWithLocalizedFonts-RVF7AFP5.js → bundleWithLocalizedFonts-ZFX7TSWT.js} +1 -1
  21. package/dist/{capture-CTRZEZTC.js → capture-4WKQKMXG.js} +10 -12
  22. package/dist/{capture-DLYM3V5F.js → capture-IBOCZ2MK.js} +43 -41
  23. package/dist/{captureCompositionFrame-2O2HP6SK.js → captureCompositionFrame-HZA3LNU3.js} +22 -24
  24. package/dist/{captureFile-W7ZDDBCD.js → captureFile-Z7HQDRC2.js} +4 -5
  25. package/dist/{catalog-6XL63LU3.js → catalog-TSXQTLKM.js} +28 -30
  26. package/dist/{catch-up-AOFQWE6O.js → catch-up-LD2B5CE3.js} +15 -17
  27. package/dist/{check-5V7K4RL6.js → check-TEZKUD26.js} +62 -63
  28. package/dist/{checkAudio-4YUTDQSQ.js → checkAudio-3GM74ZGV.js} +18 -20
  29. package/dist/{checkBrowser-BAWRZZZU.js → checkBrowser-OFH3I7Q6.js} +52 -53
  30. package/dist/{chunk-6ATP7YPZ.js → chunk-22B53HD3.js} +9 -4
  31. package/dist/{chunk-7Q4EGB3N.js → chunk-2CNVJQKU.js} +1 -1
  32. package/dist/{chunk-7XOORL2Q.js → chunk-2H4SJSUS.js} +10 -10
  33. package/dist/{chunk-EGZQX3UX.js → chunk-2SPQTJA2.js} +24 -22
  34. package/dist/{chunk-HY7FPTBD.js → chunk-32H642MS.js} +2 -2
  35. package/dist/{chunk-MHF5F4FF.js → chunk-3GF72UPC.js} +74 -15
  36. package/dist/chunk-3HJX4F2S.js +39 -0
  37. package/dist/{chunk-7YRZBB4C.js → chunk-3ROFCQAW.js} +1 -1
  38. package/dist/{chunk-B653JKWT.js → chunk-3W2ORSFV.js} +4 -4
  39. package/dist/{chunk-R3ONQOLE.js → chunk-4AMOVEV7.js} +11 -11
  40. package/dist/{chunk-KQHDFVFF.js → chunk-4EWS3KP3.js} +2 -2
  41. package/dist/{chunk-O733DEVT.js → chunk-4ORH2OXS.js} +1 -1
  42. package/dist/{chunk-VPPKUCSP.js → chunk-4SDNEKTL.js} +2 -2
  43. package/dist/{chunk-AEXDJU77.js → chunk-4T45V6GF.js} +1 -1
  44. package/dist/{chunk-MVA4OQL7.js → chunk-4ZLWEPK4.js} +1 -1
  45. package/dist/{chunk-2ARKMOCD.js → chunk-5F2ULLFW.js} +6 -6
  46. package/dist/{chunk-CIXP5G7Z.js → chunk-5GUYYSVT.js} +1 -1
  47. package/dist/{chunk-JQ7BPN2R.js → chunk-5RM7274K.js} +3 -3
  48. package/dist/{chunk-TVWDS5AT.js → chunk-5T2LNQAH.js} +46 -18
  49. package/dist/{chunk-C3NDLM4S.js → chunk-5ZAM42GH.js} +2 -2
  50. package/dist/{chunk-5IE5ZI66.js → chunk-62UUXB3F.js} +1 -1
  51. package/dist/{chunk-5T6HPV25.js → chunk-63CSQYYO.js} +2 -2
  52. package/dist/{chunk-R4EWRIDL.js → chunk-6B2TH52B.js} +8 -1
  53. package/dist/{chunk-Z2U7ELGP.js → chunk-6KU6TCSS.js} +2 -2
  54. package/dist/{chunk-ZQIMO52O.js → chunk-6NDSDQCR.js} +59 -24
  55. package/dist/{chunk-65X2G57W.js → chunk-6OKMCIDU.js} +4 -4
  56. package/dist/{chunk-LZWG4GCC.js → chunk-6P7FLYOR.js} +55 -125
  57. package/dist/{chunk-FQ26QE5N.js → chunk-6R22Y26Z.js} +1 -1
  58. package/dist/{chunk-WQGDE3L6.js → chunk-6X2CLRU7.js} +1 -1
  59. package/dist/{chunk-OV5OSN74.js → chunk-6ZU654EU.js} +3 -3
  60. package/dist/{chunk-6LGB4MVX.js → chunk-73NC557V.js} +1 -1
  61. package/dist/{chunk-AQIHV4PM.js → chunk-7463BOQJ.js} +2 -2
  62. package/dist/{chunk-I6OSAVHD.js → chunk-7AP5C4C2.js} +7 -11
  63. package/dist/{chunk-JLMMY3UI.js → chunk-7DMES2F3.js} +2 -2
  64. package/dist/{chunk-RKIF4EU7.js → chunk-7GDEQJSL.js} +14 -14
  65. package/dist/{chunk-ECGNWHFE.js → chunk-A2ZUVULS.js} +88 -2
  66. package/dist/{chunk-OPIS2YMA.js → chunk-ADQ7XZE5.js} +6 -6
  67. package/dist/{chunk-ZIYYSD6S.js → chunk-B5JWBMDR.js} +79 -40
  68. package/dist/{chunk-PLOCYJ5U.js → chunk-B5TLZC2D.js} +11 -4
  69. package/dist/{chunk-UNB2DFR2.js → chunk-BAU3ASNM.js} +3 -3
  70. package/dist/{chunk-DSCMYTKJ.js → chunk-BHZZM2PK.js} +3 -3
  71. package/dist/chunk-BNH2IKGV.js +5101 -0
  72. package/dist/{chunk-SO7FT7YA.js → chunk-BNO5RN55.js} +33 -32
  73. package/dist/{chunk-TNFTRLLJ.js → chunk-C2GAAMZ3.js} +3 -3
  74. package/dist/{chunk-TIBFCGLT.js → chunk-C7IEAEKF.js} +1 -1
  75. package/dist/{chunk-EUVU5JS4.js → chunk-CAAUQUCW.js} +23 -9
  76. package/dist/{chunk-GMIFMRWR.js → chunk-CPHK3XMF.js} +6 -6
  77. package/dist/{chunk-SGQKP2JT.js → chunk-CPLVXXRS.js} +2 -2
  78. package/dist/{chunk-KYXH4JWF.js → chunk-CRX444MF.js} +18 -17
  79. package/dist/{chunk-6R4MEYWD.js → chunk-CRZ7FUMI.js} +2 -2
  80. package/dist/{chunk-I5H2FPNP.js → chunk-CSWJCRDU.js} +1 -1
  81. package/dist/{chunk-PSREPOJ4.js → chunk-CT54FOTS.js} +18 -14
  82. package/dist/{chunk-TJGGLLQJ.js → chunk-CYM53TWZ.js} +28 -14
  83. package/dist/chunk-D37I36FY.js +21 -0
  84. package/dist/{chunk-3RTZ2UX7.js → chunk-DD37XZVE.js} +1 -1
  85. package/dist/{chunk-QKHW5NXL.js → chunk-DWGDP537.js} +2 -2
  86. package/dist/chunk-EDH2DMXM.js +113 -0
  87. package/dist/{chunk-PCHUX7Y5.js → chunk-ENKXJNKX.js} +2 -2
  88. package/dist/{chunk-VXRTE7MZ.js → chunk-ERYGKPIR.js} +1 -1
  89. package/dist/{chunk-HOIEN7O4.js → chunk-F6PI5O3H.js} +3 -1
  90. package/dist/{chunk-PHYFZXOS.js → chunk-FLJ4S7NA.js} +2 -2
  91. package/dist/{chunk-3DFEBAWJ.js → chunk-FU62NEWC.js} +2 -2
  92. package/dist/{chunk-PDT6CBK2.js → chunk-G7HO2FFX.js} +3 -3
  93. package/dist/chunk-GADMF4BL.js +170 -0
  94. package/dist/{chunk-HXFGAI6L.js → chunk-GNRC4L6F.js} +16 -16
  95. package/dist/{chunk-XZ6THYIK.js → chunk-GYPZTG46.js} +5 -5
  96. package/dist/{chunk-GYJ7AJXN.js → chunk-H4HYZUE3.js} +1 -1
  97. package/dist/{chunk-URHIQHDR.js → chunk-H6Y4XOSP.js} +14 -12
  98. package/dist/{chunk-TIZC4XKU.js → chunk-HAMPVCRY.js} +2 -2
  99. package/dist/{chunk-677JGYQL.js → chunk-HLVNKNSW.js} +1 -0
  100. package/dist/{chunk-YMKCJRVK.js → chunk-HTHLFEO2.js} +1 -1
  101. package/dist/{chunk-RAOGN2HG.js → chunk-ICZWQNBR.js} +1 -1
  102. package/dist/{chunk-4STRMCGD.js → chunk-IIXSSRUR.js} +4 -4
  103. package/dist/{chunk-4QSDXDLV.js → chunk-ILKK6F5E.js} +3 -3
  104. package/dist/{chunk-ORKZUTZW.js → chunk-IOWECUEU.js} +1 -1
  105. package/dist/{chunk-T5QI7ZL2.js → chunk-IT2YUKYY.js} +5 -5
  106. package/dist/{chunk-SXCM6VY3.js → chunk-IU6AC3WL.js} +1 -1
  107. package/dist/{chunk-WDMSNDHS.js → chunk-J56ZJFSF.js} +285 -114
  108. package/dist/{chunk-POFQOZOF.js → chunk-KBEC6VQS.js} +426 -185
  109. package/dist/{chunk-ELDZ6C3R.js → chunk-KTY46LIH.js} +7 -3
  110. package/dist/{chunk-XXOEYRD5.js → chunk-KYZEK7QF.js} +2 -2
  111. package/dist/{chunk-N6QWL3E7.js → chunk-L7MFHIG7.js} +2 -2
  112. package/dist/{chunk-ISSG4PUD.js → chunk-LGIWC6KN.js} +3 -3
  113. package/dist/{chunk-CC72LTIT.js → chunk-LTXZLTXW.js} +180 -202
  114. package/dist/{chunk-WI3FM54X.js → chunk-LULZFFDN.js} +3 -3
  115. package/dist/{chunk-FFL5R2EZ.js → chunk-LV2ETFC5.js} +4 -4
  116. package/dist/{chunk-K2WLOTTF.js → chunk-LYTELQL2.js} +2 -4
  117. package/dist/{chunk-RHFB457E.js → chunk-LZSSGF7G.js} +3 -3
  118. package/dist/chunk-MERWX4DZ.js +159 -0
  119. package/dist/{chunk-H3TD4VKX.js → chunk-MJBBKSKB.js} +1 -1
  120. package/dist/{chunk-QHVE6AFU.js → chunk-MPVJI4SE.js} +1 -1
  121. package/dist/{chunk-BMTT2T7M.js → chunk-MPX3FO4A.js} +5 -5
  122. package/dist/{chunk-SC7SX2I3.js → chunk-MQCIX6O2.js} +4 -4
  123. package/dist/{chunk-ODLSLYJR.js → chunk-MTCVUAUK.js} +2 -2
  124. package/dist/{chunk-J4OHC5FU.js → chunk-NK2UW3WR.js} +1 -1
  125. package/dist/{chunk-7CI5MLCC.js → chunk-NOJRZCN3.js} +26 -11
  126. package/dist/{chunk-3QMGLSKC.js → chunk-NU7BEOCX.js} +2 -2
  127. package/dist/chunk-NY6E4272.js +112 -0
  128. package/dist/{chunk-L4MXZHRB.js → chunk-OBP5WNKP.js} +3 -3
  129. package/dist/{chunk-JUUOYXWH.js → chunk-OGOR22GY.js} +2 -2
  130. package/dist/{chunk-XWV6BOCG.js → chunk-OPUR2XQ2.js} +5 -5
  131. package/dist/{chunk-JT7RXK2N.js → chunk-OW6MOJSR.js} +1 -1
  132. package/dist/{chunk-4VJQVTQI.js → chunk-PAHTZDMZ.js} +1 -1
  133. package/dist/{chunk-FC77MYAD.js → chunk-PPETKAEO.js} +1 -1
  134. package/dist/{chunk-6VY52EVW.js → chunk-PQ2OPPGP.js} +7 -3
  135. package/dist/{chunk-KK5Z5XQ3.js → chunk-PTGNUVCB.js} +3 -0
  136. package/dist/{chunk-HTISHNLA.js → chunk-Q7IOMZ5X.js} +1 -1
  137. package/dist/{chunk-PMKWTXHE.js → chunk-R2LBMDYH.js} +2 -2
  138. package/dist/{chunk-QBN2W4T3.js → chunk-RC2DDVX5.js} +1 -1
  139. package/dist/{chunk-ZMLZRMG7.js → chunk-RDJOA5MM.js} +2 -2
  140. package/dist/{chunk-J3H6QDDY.js → chunk-RF3DT4CS.js} +1 -1
  141. package/dist/{chunk-WRSGWDDB.js → chunk-RJCQZMNI.js} +9 -9
  142. package/dist/{chunk-QC35TPEE.js → chunk-RRI7NGQZ.js} +6 -6
  143. package/dist/{chunk-RDWGNSVI.js → chunk-RSYV6NNI.js} +2 -2
  144. package/dist/{chunk-6EMFSRTW.js → chunk-S35RUNXJ.js} +7 -0
  145. package/dist/{chunk-KGPHUBBA.js → chunk-SCEBICAQ.js} +1 -1
  146. package/dist/{chunk-VFGFXE6J.js → chunk-SDIQEPAR.js} +1 -1
  147. package/dist/{chunk-OF7SQ77J.js → chunk-SIQGTRZ5.js} +1 -1
  148. package/dist/{chunk-QVHDAS3L.js → chunk-SQI2MWJE.js} +4 -4
  149. package/dist/{chunk-2LJPBYKI.js → chunk-SYMLVFQF.js} +1 -1
  150. package/dist/{chunk-QJ2BV7FM.js → chunk-TJAFCC37.js} +9 -9
  151. package/dist/{chunk-6T4PB35F.js → chunk-TRQDC2UC.js} +9 -2
  152. package/dist/{chunk-PYRM3OAI.js → chunk-TRVWLAQ3.js} +11 -13
  153. package/dist/{chunk-HLOJSBGC.js → chunk-TTRX7NM3.js} +9 -9
  154. package/dist/{chunk-763UG5II.js → chunk-UEJMLVGW.js} +8 -8
  155. package/dist/{chunk-LTOUXR3X.js → chunk-UX5KLSAJ.js} +73 -75
  156. package/dist/{chunk-L456Q4KU.js → chunk-VJVTGSGW.js} +1 -1
  157. package/dist/{chunk-RX67N2PU.js → chunk-VM2VBJRC.js} +31 -2
  158. package/dist/{chunk-K33E3YNK.js → chunk-VNWPHKKI.js} +10 -10
  159. package/dist/{chunk-XXJBWKDS.js → chunk-VRUVJTFW.js} +17 -17
  160. package/dist/{chunk-WTZT6FSK.js → chunk-VSS3OAZB.js} +1 -1
  161. package/dist/{chunk-6UAYOSE7.js → chunk-VZM7AFUH.js} +9 -9
  162. package/dist/{chunk-6K6RIX2A.js → chunk-W772ZFTE.js} +21 -6
  163. package/dist/{chunk-THGJTFYB.js → chunk-WTO3A7ET.js} +86 -6
  164. package/dist/{chunk-YBYNBKCN.js → chunk-WTS245RC.js} +2 -2
  165. package/dist/{chunk-UBNJWS2H.js → chunk-WTUDKVWQ.js} +3 -3
  166. package/dist/{chunk-BTXYXM2A.js → chunk-WVCCSYZC.js} +17 -17
  167. package/dist/{chunk-FGJUVWAM.js → chunk-X3NGTIE3.js} +1 -1
  168. package/dist/{chunk-DCRHNRUY.js → chunk-XLG3JMSS.js} +5 -5
  169. package/dist/{chunk-D44MBZI6.js → chunk-Y53Z2M77.js} +2 -2
  170. package/dist/{chunk-WKE3WTIU.js → chunk-YB2ZJJFJ.js} +1 -1
  171. package/dist/{chunk-LSGJY2FG.js → chunk-YLC67YFR.js} +1 -1
  172. package/dist/{chunk-6LU6JICP.js → chunk-YWUE4CRU.js} +96 -9
  173. package/dist/chunk-Z3BPDCRV.js +537 -0
  174. package/dist/{chunk-HYXQR5I3.js → chunk-Z55ASKZE.js} +1 -1
  175. package/dist/{chunk-OYKAS3J5.js → chunk-ZBDITGMP.js} +3 -3
  176. package/dist/{chunk-CAMD2NBN.js → chunk-ZGSGBGTB.js} +2 -2
  177. package/dist/{clean-Z5REUSNY.js → clean-RJKQ23WH.js} +36 -37
  178. package/dist/cli.js +74 -75
  179. package/dist/{cloud-NJ7G3NF3.js → cloud-R3NQSUTQ.js} +4 -4
  180. package/dist/{cloud-QP5R6B6A.js → cloud-VUR3ZO6O.js} +8 -9
  181. package/dist/{cloudrun-CPAZLNTW.js → cloudrun-SZYAYV7N.js} +19 -12
  182. package/dist/{compare-T5CHD25P.js → compare-AO5VJBJW.js} +70 -92
  183. package/dist/{compiler-QVDXN4OS.js → compiler-65SP7M2P.js} +7 -9
  184. package/dist/{component-QMZ46KTE.js → component-WGTPAIKX.js} +8 -10
  185. package/dist/{compositions-JHYYNBAK.js → compositions-HWM6DNJA.js} +21 -23
  186. package/dist/{contactSheet-7SPGUTDV.js → contactSheet-ROUVWDRO.js} +5 -6
  187. package/dist/{curve-ON6QQY7T.js → curve-PLPTMDS4.js} +20 -22
  188. package/dist/{cuts-K4FOVP4E.js → cuts-T5GYTDUA.js} +21 -23
  189. package/dist/{delete-6WFQ3FC2.js → delete-6WE3N3VO.js} +26 -15
  190. package/dist/{deploy-UAZQ5PBA.js → deploy-GYY6CYQD.js} +12 -13
  191. package/dist/{describeProject-7W6BN5A2.js → describeProject-UQQ2GGIX.js} +15 -17
  192. package/dist/{destroy-4B4OVPHJ.js → destroy-WSGREGAG.js} +12 -13
  193. package/dist/{deterministicFonts-VLIVGXUQ.js → deterministicFonts-JER4GPCM.js} +4 -5
  194. package/dist/{diff-ZSA37QQS.js → diff-JQBZUPKG.js} +57 -54
  195. package/dist/{dist-ACT5C6ME.js → dist-6EF2P3P7.js} +4 -4
  196. package/dist/{dist-VRYZIJFZ.js → dist-HF753IX4.js} +5 -8
  197. package/dist/{dist-2O52E7QZ.js → dist-JRJHFP27.js} +20 -21
  198. package/dist/{doctor-RXQ2Y2YY.js → doctor-SPJ5AJKX.js} +23 -25
  199. package/dist/{dotEnv-RZ52L7X3.js → dotEnv-7JWLJ2TG.js} +11 -3
  200. package/dist/{energy-DRA3DCRO.js → energy-KPDVIZ5D.js} +21 -23
  201. package/dist/{events-AJNF2C3H.js → events-4WAMG3JE.js} +10 -12
  202. package/dist/{events-4SNBQE3M.js → events-P4223ZZZ.js} +23 -25
  203. package/dist/{events-GA3YM3WT.js → events-XON5I7VU.js} +5 -5
  204. package/dist/{execute-6LTZRWE4.js → execute-CN5FLBYU.js} +49 -46
  205. package/dist/{extract-XZQN654B.js → extract-ABSBKYYH.js} +21 -23
  206. package/dist/{face-RKUNVSN3.js → face-PLPQ5335.js} +22 -24
  207. package/dist/{feedback-AL7NPPMZ.js → feedback-QPQ4G72X.js} +62 -38
  208. package/dist/{ffmpeg-BEL7EZBA.js → ffmpeg-F3XK57IP.js} +14 -16
  209. package/dist/{figma-IZ3NH2KZ.js → figma-S5CVANVZ.js} +3 -3
  210. package/dist/fontLocalizeCli.js +26 -27
  211. package/dist/{frames-AYE53CSZ.js → frames-F4QEQB4V.js} +23 -25
  212. package/dist/{generate-BZ4EVVQI.js → generate-O3OPOCHP.js} +37 -39
  213. package/dist/{get-2GG4NSOK.js → get-P7LQ7U22.js} +26 -15
  214. package/dist/{gpuPolicy-W2ZGBXNG.js → gpuPolicy-JPRDRQWU.js} +14 -16
  215. package/dist/{grade-compare-65NWHVXK.js → grade-compare-6UZ6SK4J.js} +50 -51
  216. package/dist/hangReport.js +2 -2
  217. package/dist/{heifImagePrep-MRQ4KKDF.js → heifImagePrep-3PDFNYIE.js} +21 -22
  218. package/dist/{help-TEQWNNPI.js → help-DLOCAL7E.js} +1 -1
  219. package/dist/{history-MVNPETRW.js → history-YIJVOGH7.js} +23 -25
  220. package/dist/hyperframe.manifest.json +1 -1
  221. package/dist/hyperframe.runtime.iife.js +64 -64
  222. package/dist/hyperframes-player.global.js +1 -1
  223. package/dist/{info-NGNTHWYX.js → info-FVYJNNQL.js} +23 -25
  224. package/dist/{init-H7SUGVZX.js → init-V45K4VAG.js} +41 -43
  225. package/dist/{ink-CPZ4YZFM.js → ink-P72OB7L4.js} +21 -23
  226. package/dist/{inspect-GZBQ7XN7.js → inspect-3W2IG3JF.js} +53 -54
  227. package/dist/{installer-ZTHYVK4L.js → installer-QGDTFTDU.js} +8 -10
  228. package/dist/{keyframes-B52LQUOI.js → keyframes-57OPHIR2.js} +77 -28
  229. package/dist/{lambda-SZDQJMKA.js → lambda-EQZS7UMO.js} +32 -26
  230. package/dist/{layout-BOUOG2D2.js → layout-KSWMO6MH.js} +53 -54
  231. package/dist/{lint-H4OWI5JN.js → lint-WIYBGVF2.js} +18 -20
  232. package/dist/{lintProject-P4EAXFU2.js → lintProject-N3UN6HEE.js} +4 -4
  233. package/dist/{list-VNEYACGL.js → list-3FQAHEE2.js} +27 -16
  234. package/dist/{localPage-ZP7WVA2N.js → localPage-G2QEA7JL.js} +15 -17
  235. package/dist/{login-RUDOUO5Z.js → login-C3U6WSHF.js} +6 -6
  236. package/dist/{logout-5ZO6ZNS3.js → logout-525LWS6J.js} +2 -2
  237. package/dist/{look-G3NVPKXZ.js → look-U5LWOI4H.js} +21 -23
  238. package/dist/{manager-KWNID2ZA.js → manager-C5S25OOK.js} +5 -5
  239. package/dist/{manager-NXH2NJC6.js → manager-ZVYDWLHI.js} +16 -18
  240. package/dist/{measure-5PVIZ2W2.js → measure-R2KZIHXT.js} +11 -11
  241. package/dist/{media-treatment-T5QJI4PQ.js → media-treatment-FAW5ZLT7.js} +29 -29
  242. package/dist/{media-use-RTN3SMVY.js → media-use-CPTT2ZDE.js} +12 -8
  243. package/dist/{models-J2CJ7EVX.js → models-53JHNGSL.js} +20 -22
  244. package/dist/{motionShot-HU7P26WJ.js → motionShot-K5ZHHHE6.js} +28 -30
  245. package/dist/{normalize-44E7R6T5.js → normalize-TBACWMEK.js} +4 -5
  246. package/dist/{normalize-audio-2YFTP2T6.js → normalize-audio-EOO2ORPP.js} +20 -21
  247. package/dist/{open-RSCNUV6E.js → open-3YABRCER.js} +26 -28
  248. package/dist/{parakeetRunner-BUY25EIR.js → parakeetRunner-TLZC2WAJ.js} +24 -26
  249. package/dist/{pipeline-A4RL5R5P.js → pipeline-LZ73CHLB.js} +20 -20
  250. package/dist/{plan-7WYNPILA.js → plan-3QQZ57IC.js} +31 -33
  251. package/dist/{play-UKHFNMYZ.js → play-ESWP4SF2.js} +44 -43
  252. package/dist/{preflight-2VFCT3PI.js → preflight-7G5OBMAA.js} +17 -19
  253. package/dist/{present-ZUGFCQOF.js → present-5ER4JKR5.js} +36 -37
  254. package/dist/{preview-BT2ZFYMC.js → preview-62XOVSXM.js} +50 -50
  255. package/dist/privateProjectFile-6NPNZXK3.js +65 -0
  256. package/dist/{probe-2CLEK2UT.js → probe-CFOGEVFU.js} +21 -23
  257. package/dist/{producer-HCAMS55D.js → producer-LLE32VVO.js} +1 -1
  258. package/dist/{progress-5A4N7PTR.js → progress-PT3NAFVP.js} +5 -6
  259. package/dist/{projectConfig-2KJ2PXIM.js → projectConfig-R54UDB5Y.js} +11 -13
  260. package/dist/{publication-AR63EGJF.js → publication-TOBV6M4Q.js} +6 -8
  261. package/dist/{publish-EGKYOJWV.js → publish-QVNH5PXC.js} +63 -42
  262. package/dist/receivedRecordFollow-U43DTVLP.js +54 -0
  263. package/dist/{refresh-GYRLZ7DZ.js → refresh-HK4YEHWC.js} +2 -2
  264. package/dist/{remove-background-IQQPMM24.js → remove-background-XHE6JL35.js} +21 -21
  265. package/dist/{render-HJRMJYTA.js → render-7JJ2DFEB.js} +12 -13
  266. package/dist/{render-ROJ5X53T.js → render-GRZMK6ET.js} +128 -87
  267. package/dist/{render-YNSZYEEK.js → render-WK3D5VOW.js} +141 -114
  268. package/dist/{render-batch-MXYDIHRO.js → render-batch-KFEZFJXB.js} +12 -13
  269. package/dist/renderSetupWorker.js +9 -9
  270. package/dist/{resolver-SPLAVF76.js → resolver-N4U52UK5.js} +8 -10
  271. package/dist/{reverse-CE6OGBB7.js → reverse-6AOA3PXF.js} +1 -1
  272. package/dist/{run-YVNJJL26.js → run-M2J3ZJ3W.js} +11 -12
  273. package/dist/{sam-2D3BUTL7.js → sam-O7Y2CCK3.js} +4 -4
  274. package/dist/{screenshotCapture-DRO7VMNI.js → screenshotCapture-UXJZ7D3L.js} +17 -19
  275. package/dist/{service-K65JYG4O.js → service-DBNZZLPU.js} +22 -24
  276. package/dist/{share-CSVWF6SB.js → share-6P7S3USP.js} +26 -28
  277. package/dist/{sherpa-JE6AFUEV.js → sherpa-CXEHEVAJ.js} +23 -25
  278. package/dist/sherpaWorker.js +6 -7
  279. package/dist/{sites-QCGTWVNF.js → sites-R5F5FNAL.js} +6 -6
  280. package/dist/skills/hyperframes/scripts/locate.mjs +13 -19
  281. package/dist/skills/media-use/audio/references/tts-to-captions.md +1 -1
  282. package/dist/skills/media-use/audio/references/tts.md +6 -6
  283. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +143 -2
  284. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +12 -2
  285. package/dist/skills/media-use/scripts/lib/candidates.mjs +3 -2
  286. package/dist/skills/media-use/scripts/lib/terminal-text.d.mts +1 -0
  287. package/dist/skills/media-use/scripts/lib/terminal-text.mjs +12 -0
  288. package/dist/skills/media-use/scripts/resolve.mjs +21 -15
  289. package/dist/{skills-L3BXM7VJ.js → skills-RMIHFNI6.js} +15 -17
  290. package/dist/{skillsUpdateCheck-VUENI5OR.js → skillsUpdateCheck-EHOSL2AC.js} +5 -5
  291. package/dist/{snapshot-GI2GWIF6.js → snapshot-DQK3P7TF.js} +97 -84
  292. package/dist/{src-ZXZO5RCJ.js → src-4INHWM6L.js} +29 -30
  293. package/dist/{src-B646B52O.js → src-BNSCFKOD.js} +17 -19
  294. package/dist/{start-ZNGKXRNE.js → start-KPCEUG5K.js} +43 -37
  295. package/dist/{state-7CJBWHXJ.js → state-5LE7AN6F.js} +5 -6
  296. package/dist/{staticProjectServer-46T6YTPF.js → staticProjectServer-VCS4TOU2.js} +33 -34
  297. package/dist/{status-7SWTPLVI.js → status-WBNQSG4H.js} +23 -25
  298. package/dist/studio/assets/{hyperframes-player-bya4hgms.js → hyperframes-player-Cm0hYGm2.js} +1 -1
  299. package/dist/studio/assets/{index-Bxh5lW0C.js → index-BGrNWeLK.js} +199 -199
  300. package/dist/studio/assets/{index--dcfSUzI.js → index-REqr_dLu.js} +1 -1
  301. package/dist/studio/assets/{pausedVideoDecoder-BKym1jA6.js → pausedVideoDecoder-DqLDSq8J.js} +1 -1
  302. package/dist/studio/index.html +1 -1
  303. package/dist/{studio-api-4XKM5HDR.js → studio-api-RAW4CIPR.js} +20 -21
  304. package/dist/{studioSelectionClient-S46TNAAZ.js → studioSelectionClient-PLBQBLCJ.js} +2 -2
  305. package/dist/{studioServer-4TWRIZNU.js → studioServer-5PWBZADN.js} +260 -117
  306. package/dist/subCompositionWorker.js +60 -54
  307. package/dist/{sync-R3K6LYB3.js → sync-PM2WLBUC.js} +21 -23
  308. package/dist/{synthesize-OZ3SJTOF.js → synthesize-NGU4DRKC.js} +10 -9
  309. package/dist/{system-LZ4PMOJD.js → system-PKL4Y4MX.js} +3 -3
  310. package/dist/{telemetry-WSBY25O3.js → telemetry-4BST73P2.js} +10 -12
  311. package/dist/{templates-ITP6ISAF.js → templates-G3XOWYXG.js} +24 -26
  312. package/dist/{timeline-U7GJMYKV.js → timeline-E6ZXYGQR.js} +36 -37
  313. package/dist/{tokens-3YTSUU27.js → tokens-KRHXM44C.js} +15 -5
  314. package/dist/{transcribe-QHHY5M3G.js → transcribe-RJ3GOCJL.js} +44 -46
  315. package/dist/{transcribe-ISCBYWN4.js → transcribe-TKV3POYD.js} +20 -22
  316. package/dist/{tts-24IJXIT2.js → tts-EPXRE275.js} +20 -4
  317. package/dist/{update-SVEH2GOL.js → update-TO7MLJCS.js} +17 -19
  318. package/dist/{updateCheck-MDG7N7VO.js → updateCheck-5AY447D5.js} +4 -4
  319. package/dist/{upgrade-6CGAI4OR.js → upgrade-BLZWWXYL.js} +8 -9
  320. package/dist/{urlDownloader-VPQTIGEH.js → urlDownloader-ME67HQ4O.js} +13 -15
  321. package/dist/{validate-QUB4KCEQ.js → validate-SRBV5NFV.js} +41 -42
  322. package/dist/{video-PUGZ5UHS.js → video-JPESR36I.js} +17 -19
  323. package/dist/{voices-4UO5AYLS.js → voices-AECYKXGA.js} +34 -36
  324. package/dist/warmCheck.js +62 -63
  325. package/dist/warmCheckClient.js +2 -2
  326. package/package.json +1 -1
  327. package/dist/chunk-6VY6WTY5.js +0 -279
  328. package/dist/chunk-NI7JVGOE.js +0 -5083
  329. package/dist/chunk-NLN5NY3P.js +0 -34
  330. package/dist/chunk-UVZIABYZ.js +0 -40
  331. package/dist/chunk-VC76R6W2.js +0 -27
  332. /package/dist/{chunk-YXX6CIHL.js → chunk-BWFNWEUO.js} +0 -0
@@ -8,7 +8,7 @@ import {
8
8
  PREVIEW_NONCE_HEADER,
9
9
  newPreviewNonce,
10
10
  provesPreviewOwner
11
- } from "./chunk-677JGYQL.js";
11
+ } from "./chunk-HLVNKNSW.js";
12
12
 
13
13
  // src/utils/studioSelectionClient.ts
14
14
  import { existsSync, realpathSync } from "fs";
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-HU2SPFNG.js";
13
13
  import {
14
14
  replaceFileAtomically
15
- } from "./chunk-K2WLOTTF.js";
15
+ } from "./chunk-LYTELQL2.js";
16
16
  import {
17
17
  findTrustedExecutable
18
- } from "./chunk-RX67N2PU.js";
18
+ } from "./chunk-VM2VBJRC.js";
19
19
 
20
20
  // src/whisper/parakeet.ts
21
21
  import { execFileSync } from "child_process";
@@ -325,11 +325,18 @@ async function downloadToPart(url, dest, options) {
325
325
  }
326
326
  await publishPart(part, dest, options);
327
327
  }
328
+ async function keepsDest(dest, waited, options) {
329
+ if (!existsSync(dest)) return false;
330
+ if (!options.keepExisting) return waited;
331
+ if (await options.keepExisting(dest)) return true;
332
+ removePartialFile(dest);
333
+ return false;
334
+ }
328
335
  async function downloadFile(url, dest, options = {}) {
329
336
  const lock = `${dest}.lock`;
330
337
  const { owner, waited } = await acquireLock(lock, options.signal);
331
338
  try {
332
- if (!(waited && existsSync(dest))) await downloadToPart(url, dest, options);
339
+ if (!await keepsDest(dest, waited, options)) await downloadToPart(url, dest, options);
333
340
  } finally {
334
341
  heldLocks.delete(owner);
335
342
  if (readLock(lock) === owner) removePartialFile(lock);
@@ -10,10 +10,10 @@ import {
10
10
  readRecordTail,
11
11
  recordChangedAt,
12
12
  replaceFile
13
- } from "./chunk-JT7RXK2N.js";
13
+ } from "./chunk-OW6MOJSR.js";
14
14
  import {
15
15
  realpath
16
- } from "./chunk-MHF5F4FF.js";
16
+ } from "./chunk-3GF72UPC.js";
17
17
  import {
18
18
  namedCacheDir
19
19
  } from "./chunk-KUJJJBV2.js";
@@ -13,36 +13,36 @@ import {
13
13
  rewriteHtmlAttributes,
14
14
  rewriteStyleBlocks,
15
15
  stagedSize
16
- } from "./chunk-ZIYYSD6S.js";
16
+ } from "./chunk-B5JWBMDR.js";
17
17
  import {
18
18
  probeAudio
19
- } from "./chunk-J4OHC5FU.js";
19
+ } from "./chunk-NK2UW3WR.js";
20
20
  import {
21
21
  findFFmpeg,
22
22
  findFFprobe,
23
23
  getFFmpegInstallHint
24
- } from "./chunk-6R4MEYWD.js";
24
+ } from "./chunk-CRZ7FUMI.js";
25
25
  import {
26
26
  runWithConcurrencyLimit
27
27
  } from "./chunk-XFF4XJZO.js";
28
28
  import {
29
29
  formatBytes
30
- } from "./chunk-6VY52EVW.js";
30
+ } from "./chunk-PQ2OPPGP.js";
31
31
  import {
32
32
  AUDIO_EXTS,
33
33
  CONVERTIBLE_IMAGE_EXTS,
34
- MEDIA_INPUT_ARGS,
35
34
  VIDEO_EXTS,
35
+ mediaInputArgs,
36
36
  startsAsMediaPlaylist
37
- } from "./chunk-6T4PB35F.js";
37
+ } from "./chunk-TRQDC2UC.js";
38
38
  import {
39
39
  parseAnimatedGifMetadata
40
- } from "./chunk-QHVE6AFU.js";
40
+ } from "./chunk-MPVJI4SE.js";
41
41
  import {
42
42
  cleanAssetUrl,
43
43
  isRemoteOrInlineUrl,
44
44
  resolveLocalAssetCandidates
45
- } from "./chunk-6EMFSRTW.js";
45
+ } from "./chunk-S35RUNXJ.js";
46
46
  import {
47
47
  readAuthoredDurationSeconds,
48
48
  readMediaOffsetSeconds,
@@ -55,9 +55,12 @@ import {
55
55
  import {
56
56
  hyperframesCacheDir
57
57
  } from "./chunk-KUJJJBV2.js";
58
+ import {
59
+ followFfmpegProgress
60
+ } from "./chunk-VM2VBJRC.js";
58
61
 
59
62
  // src/cloud/offload.ts
60
- import { execFile } from "child_process";
63
+ import { execFile, spawn } from "child_process";
61
64
  import { createHash } from "crypto";
62
65
  import {
63
66
  closeSync,
@@ -186,6 +189,7 @@ var OFFLOAD_MIN_BYTES = 5 * 1024 * 1024;
186
189
  var OFFLOAD_CONCURRENCY = 8;
187
190
  var MiB = 1024 * 1024;
188
191
  var AUDIO_MAX_BYTES = 15e8;
192
+ var CACHE_CHECK_TIMEOUT_MS = 1e4;
189
193
  var ACCEPTED = {
190
194
  ".mp4": { contentType: "video/mp4", maxBytes: 200 * MiB },
191
195
  ".m4v": { contentType: "video/mp4", maxBytes: 200 * MiB },
@@ -247,11 +251,15 @@ function writeCache(path, cache) {
247
251
  renameSync(tmp, path);
248
252
  }
249
253
  async function stillServed(entry, fetchImpl) {
254
+ const controller = new AbortController();
255
+ const timer = setTimeout(() => controller.abort(), CACHE_CHECK_TIMEOUT_MS);
250
256
  try {
251
- const res = await fetchImpl(entry.url, { method: "HEAD" });
257
+ const res = await fetchImpl(entry.url, { method: "HEAD", signal: controller.signal });
252
258
  return res.ok && Number(res.headers.get("content-length")) === entry.size_bytes;
253
259
  } catch {
254
260
  return false;
261
+ } finally {
262
+ clearTimeout(timer);
255
263
  }
256
264
  }
257
265
  function mediaKind(path) {
@@ -274,7 +282,7 @@ async function probeVideo(path) {
274
282
  "stream=codec_name,pix_fmt,color_primaries,color_transfer,color_space:stream_tags",
275
283
  "-of",
276
284
  "json",
277
- ...MEDIA_INPUT_ARGS,
285
+ ...mediaInputArgs(path),
278
286
  "--",
279
287
  path
280
288
  ]);
@@ -311,13 +319,13 @@ function hdrColorArgs({ color }) {
311
319
  }
312
320
  var seconds = (t) => (Math.floor(t * 1e6) / 1e6).toFixed(6);
313
321
  async function segmentArgs(sourcePath, decoder, segments, media) {
314
- if (media === "image") return [...decoder, ...MEDIA_INPUT_ARGS, "-i", sourcePath];
322
+ if (media === "image") return [...decoder, ...mediaInputArgs(sourcePath), "-i", sourcePath];
315
323
  const audio = await keptAudio(sourcePath, media);
316
324
  const cuts = segments?.length ? segments : [void 0];
317
325
  const inputs = cuts.flatMap((s) => [
318
326
  ...decoder,
319
327
  ...seekArgs(s),
320
- ...MEDIA_INPUT_ARGS,
328
+ ...mediaInputArgs(sourcePath),
321
329
  "-i",
322
330
  sourcePath
323
331
  ]);
@@ -328,7 +336,7 @@ async function segmentArgs(sourcePath, decoder, segments, media) {
328
336
  ];
329
337
  }
330
338
  async function keptAudio(sourcePath, media) {
331
- const audio = (await probeAudio(sourcePath, MEDIA_INPUT_ARGS))?.audioStream ?? null;
339
+ const audio = (await probeAudio(sourcePath, mediaInputArgs(sourcePath)))?.audioStream ?? null;
332
340
  if (media === "audio" && audio === null) {
333
341
  throw new Error("the file has no audio track ffmpeg can decode");
334
342
  }
@@ -373,7 +381,7 @@ async function durationSeconds(sourcePath) {
373
381
  "format=duration",
374
382
  "-of",
375
383
  "csv=p=0",
376
- ...MEDIA_INPUT_ARGS,
384
+ ...mediaInputArgs(sourcePath),
377
385
  "--",
378
386
  sourcePath
379
387
  ]);
@@ -382,9 +390,10 @@ async function durationSeconds(sourcePath) {
382
390
  }
383
391
  var capOf = (presetName) => ACCEPTED[REENCODE_PRESETS[presetName].ext]?.maxBytes ?? 0;
384
392
  var playedSeconds = (segments) => segments.reduce((sum, s) => sum + s.end - s.start, 0);
393
+ var outputSeconds = (sourcePath, segments) => segments?.length ? Promise.resolve(playedSeconds(segments)) : durationSeconds(sourcePath);
385
394
  async function limitFor(sourcePath, presetName, segments, maxBytes = capOf(presetName)) {
386
395
  if (mediaOf(presetName) !== "video") return [];
387
- const seconds2 = segments?.length ? playedSeconds(segments) : await durationSeconds(sourcePath);
396
+ const seconds2 = await outputSeconds(sourcePath, segments);
388
397
  const limit = sizeLimitArgs({
389
398
  maxBytes,
390
399
  seconds: seconds2 ?? 0,
@@ -392,17 +401,37 @@ async function limitFor(sourcePath, presetName, segments, maxBytes = capOf(prese
392
401
  });
393
402
  return presetName === "alphaVideo" && limit.length ? [...limit, "-b:v", limit[1]] : limit;
394
403
  }
395
- async function ffmpegReencode(sourcePath, presetName, segments) {
404
+ function runFfmpeg(ffmpeg, args, onSeconds) {
405
+ return new Promise((resolve2, reject) => {
406
+ const proc = spawn(ffmpeg, ["-progress", "pipe:1", "-nostats", ...args], {
407
+ stdio: ["ignore", "pipe", "pipe"],
408
+ windowsHide: true
409
+ });
410
+ followFfmpegProgress(proc.stdout, onSeconds);
411
+ let stderr = "";
412
+ proc.stderr.on("data", (chunk) => {
413
+ stderr = (stderr + chunk.toString()).slice(-16384);
414
+ });
415
+ proc.on("error", reject);
416
+ proc.on("close", (code, signal) => {
417
+ if (code === 0) return resolve2();
418
+ const ended = signal ? `was ended by ${signal}` : `exited with code ${code}`;
419
+ reject(new Error(`ffmpeg ${ended}: ${stderr.trim()}`));
420
+ });
421
+ });
422
+ }
423
+ async function ffmpegReencode(sourcePath, presetName, segments, onProgress) {
396
424
  const ffmpeg = findFFmpeg();
397
425
  if (!ffmpeg) throw new Error(`Re-encoding needs ffmpeg. Install it: ${getFFmpegInstallHint()}`);
398
426
  const preset = REENCODE_PRESETS[presetName];
399
427
  const probe = preset.contentType.startsWith("video/") ? await probeVideo(sourcePath) : void 0;
400
428
  const decoder = probe ? alphaDecoderArgs(probe) : [];
401
429
  const color = presetName === "hdrVideo" && probe ? hdrColorArgs(probe) : [];
430
+ const totalSeconds = onProgress ? await outputSeconds(sourcePath, segments) : null;
402
431
  const workDir = mkdtempSync(join(tmpdir(), "hf-offload-"));
403
432
  const outPath = join(workDir, `${basename2(sourcePath, extname(sourcePath))}${preset.ext}`);
404
433
  try {
405
- await execFileAsync(
434
+ await runFfmpeg(
406
435
  ffmpeg,
407
436
  [
408
437
  "-v",
@@ -415,7 +444,7 @@ async function ffmpegReencode(sourcePath, presetName, segments) {
415
444
  ...preset.audio,
416
445
  outPath
417
446
  ],
418
- { maxBuffer: 16 * MiB }
447
+ (doneSeconds) => onProgress?.(doneSeconds, totalSeconds)
419
448
  );
420
449
  return {
421
450
  bytes: readChecked(outPath, ({ size }) => assertFitsAsset(sourcePath, outPath, size)),
@@ -446,7 +475,7 @@ async function isAnimatedImage(path) {
446
475
  "stream=nb_frames",
447
476
  "-of",
448
477
  "csv=p=0",
449
- ...MEDIA_INPUT_ARGS,
478
+ ...mediaInputArgs(path),
450
479
  "--",
451
480
  path
452
481
  ]);
@@ -469,7 +498,7 @@ async function trimGrid(sourcePath, kind) {
469
498
  "stream=r_frame_rate,avg_frame_rate",
470
499
  "-of",
471
500
  "csv=p=0",
472
- ...MEDIA_INPUT_ARGS,
501
+ ...mediaInputArgs(sourcePath),
473
502
  "--",
474
503
  sourcePath
475
504
  ]);
@@ -494,7 +523,7 @@ async function hasVideoStream(sourcePath) {
494
523
  "stream=codec_type",
495
524
  "-of",
496
525
  "csv=p=0",
497
- ...MEDIA_INPUT_ARGS,
526
+ ...mediaInputArgs(sourcePath),
498
527
  "--",
499
528
  sourcePath
500
529
  ]);
@@ -648,7 +677,13 @@ async function uploadPlanned(ctx, upload, path, staged, plan) {
648
677
  }
649
678
  async function uploadOnce(ctx, upload, path, staged, plan) {
650
679
  const filename = basename2(path);
651
- const file = plan.preset ? await ctx.reencoder.run(plan.sourcePath, plan.preset, plan.segments) : Buffer.isBuffer(staged) ? { bytes: staged, filename, contentType: plan.contentType } : { path: staged.absPath, size: staged.size, filename, contentType: plan.contentType };
680
+ const report = ctx.opts.onReencodeProgress;
681
+ const file = plan.preset ? await ctx.reencoder.run(
682
+ plan.sourcePath,
683
+ plan.preset,
684
+ plan.segments,
685
+ report && ((doneSeconds, totalSeconds) => report({ path, doneSeconds, totalSeconds }))
686
+ ) : Buffer.isBuffer(staged) ? { bytes: staged, filename, contentType: plan.contentType } : { path: staged.absPath, size: staged.size, filename, contentType: plan.contentType };
652
687
  if (plan.preset && !Buffer.isBuffer(staged)) assertUnchanged(staged);
653
688
  const size = "bytes" in file ? file.bytes.byteLength : file.size;
654
689
  assertFitsAsset(path, file.filename, size);
@@ -667,7 +702,7 @@ async function prepareEntryGifs(ctx, fileMap) {
667
702
  if (!html || !/\.gif\b/i.test(html)) return;
668
703
  const sourceAssets = entryGifSources(ctx, entryPath, html);
669
704
  if (!sourceAssets) return;
670
- const prep = ctx.opts.gifPrep ?? (await import("./src-ZXZO5RCJ.js")).prepareAnimatedGifInputs;
705
+ const prep = ctx.opts.gifPrep ?? (await import("./src-4INHWM6L.js")).prepareAnimatedGifInputs;
671
706
  const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
672
707
  ctx.tempFiles.push(outputDir);
673
708
  const result = await prep(html, {
@@ -8,18 +8,18 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-TNFTRLLJ.js";
11
+ } from "./chunk-C2GAAMZ3.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
- } from "./chunk-YBYNBKCN.js";
15
+ } from "./chunk-WTS245RC.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-QHVE6AFU.js";
18
+ } from "./chunk-MPVJI4SE.js";
19
19
  import {
20
20
  realProjectRoot,
21
21
  toolTrustedFileKind
22
- } from "./chunk-MHF5F4FF.js";
22
+ } from "./chunk-3GF72UPC.js";
23
23
  import {
24
24
  isCompositionVariable
25
25
  } from "./chunk-4NDSGKPO.js";
@@ -5,143 +5,37 @@ var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
+ cssReferences,
9
+ htmlReferences,
10
+ isFile,
11
+ isPageOrStylesheet,
12
+ readHead,
13
+ realOrNull,
14
+ referencePath
15
+ } from "./chunk-MERWX4DZ.js";
16
+ import {
17
+ contentHash,
18
+ mayHoldLoadedFiles,
8
19
  receivedRecordStatus,
9
20
  walkBudget
10
- } from "./chunk-6VY6WTY5.js";
21
+ } from "./chunk-Z3BPDCRV.js";
11
22
  import {
12
23
  linksOutside
13
- } from "./chunk-PLOCYJ5U.js";
24
+ } from "./chunk-B5TLZC2D.js";
14
25
  import {
15
26
  terminalText
16
- } from "./chunk-UVZIABYZ.js";
27
+ } from "./chunk-3GF72UPC.js";
17
28
  import {
18
- namesAnotherNetworkRoot,
19
- resolveCompositionSrc
20
- } from "./chunk-6EMFSRTW.js";
29
+ namesAnotherNetworkRoot
30
+ } from "./chunk-S35RUNXJ.js";
21
31
  import {
22
- isNonRelativeUrl,
23
32
  isPathInside
24
33
  } from "./chunk-IH2C53YV.js";
25
- import {
26
- parseHTML
27
- } from "./chunk-GWTIFRF5.js";
28
34
 
29
35
  // src/utils/receivedRender.ts
30
- import {
31
- closeSync,
32
- openSync,
33
- readdirSync,
34
- readSync,
35
- realpathSync,
36
- statSync
37
- } from "fs";
38
- import { dirname, extname, isAbsolute, join, relative, resolve } from "path";
39
- import { fileURLToPath } from "url";
40
- var REFERENCE_ATTRS = ["src", "href", "poster"];
41
- var MAX_SCANNED_BYTES = 2 * 1024 * 1024;
36
+ import { closeSync, openSync, readdirSync, readSync, statSync } from "fs";
37
+ import { extname, join, relative, resolve } from "path";
42
38
  var MAX_SCANNED_FILES = 500;
43
- function unquote(value) {
44
- const first = value[0];
45
- return value.length >= 2 && (first === '"' || first === "'") && value.at(-1) === first ? value.slice(1, -1).trim() : value;
46
- }
47
- function cssReferences(css) {
48
- const refs = [];
49
- for (let at = css.indexOf("url("); at !== -1; ) {
50
- const close = css.indexOf(")", at + 4);
51
- if (close === -1) break;
52
- const raw = unquote(css.slice(at + 4, close).trim());
53
- if (raw) refs.push({ raw, composition: false, follow: true });
54
- at = css.indexOf("url(", close + 1);
55
- }
56
- return refs;
57
- }
58
- function elementReferences(el) {
59
- const follow = el.localName === "link";
60
- const refs = REFERENCE_ATTRS.flatMap((attr) => {
61
- const raw = el.getAttribute(attr)?.trim();
62
- return raw ? [{ raw, composition: false, follow }] : [];
63
- });
64
- const composition = el.getAttribute("data-composition-src")?.trim();
65
- if (composition) refs.push({ raw: composition, composition: true, follow: true });
66
- return refs;
67
- }
68
- function htmlReferences(html) {
69
- const { document } = parseHTML(html);
70
- const hosts = document.querySelectorAll("[src], [href], [poster], [data-composition-src]");
71
- const refs = [...hosts].flatMap(elementReferences);
72
- for (const style of document.querySelectorAll("style")) {
73
- refs.push(...cssReferences(style.textContent ?? ""));
74
- }
75
- for (const el of document.querySelectorAll("[style]")) {
76
- refs.push(...cssReferences(el.getAttribute("style") ?? ""));
77
- }
78
- for (const template of document.querySelectorAll("template")) {
79
- refs.push(...htmlReferences(template.innerHTML));
80
- }
81
- return refs;
82
- }
83
- var WINDOWS_DEVICE_PREFIX = /^[\\/]{2}[?.][\\/]/;
84
- function withoutQuery(raw) {
85
- const device = WINDOWS_DEVICE_PREFIX.exec(raw)?.[0] ?? "";
86
- return device + raw.slice(device.length).replace(/[?#].*$/, "");
87
- }
88
- function localPath(raw, fromDir) {
89
- if (raw.startsWith("file:")) {
90
- try {
91
- return fileURLToPath(raw);
92
- } catch {
93
- return null;
94
- }
95
- }
96
- const path = withoutQuery(raw);
97
- if (isAbsolute(path) && !path.startsWith("//")) return path;
98
- if (path === "" || isNonRelativeUrl(path)) return null;
99
- try {
100
- return resolve(fromDir, decodeURIComponent(path));
101
- } catch {
102
- return resolve(fromDir, path);
103
- }
104
- }
105
- function isFile(path) {
106
- try {
107
- return statSync(path, { throwIfNoEntry: false })?.isFile() === true;
108
- } catch {
109
- return false;
110
- }
111
- }
112
- function realOrNull(path) {
113
- try {
114
- return realpathSync(path);
115
- } catch {
116
- return null;
117
- }
118
- }
119
- function readHead(file) {
120
- let fd;
121
- try {
122
- fd = openSync(file, "r");
123
- const size = statSync(file).size;
124
- const buffer = Buffer.alloc(Math.min(size, MAX_SCANNED_BYTES));
125
- const read = readSync(fd, buffer, 0, buffer.length, 0);
126
- return {
127
- text: buffer.toString("utf-8", 0, read),
128
- whole: size <= MAX_SCANNED_BYTES
129
- };
130
- } catch {
131
- return null;
132
- } finally {
133
- if (fd !== void 0) closeSync(fd);
134
- }
135
- }
136
- var isPageOrStylesheet = (path) => /\.(?:html?|css)$/i.test(path);
137
- function referencePath(ref, file, projectDir) {
138
- if (!ref.composition) return localPath(ref.raw, dirname(file));
139
- try {
140
- return resolveCompositionSrc(projectDir, ref.raw) ?? localPath(ref.raw, projectDir);
141
- } catch {
142
- return null;
143
- }
144
- }
145
39
  function referencesIn(found, file) {
146
40
  const read = readHead(file);
147
41
  if (read === null || !read.whole) found.complete = false;
@@ -321,6 +215,40 @@ function nonMediaAliases(projectDir, received) {
321
215
  return walk.aliases;
322
216
  }
323
217
  var READS_NOTHING_OUTSIDE = "so the render reads nothing outside the project.";
218
+ function holderIn(dir, listing, walk) {
219
+ for (const entry of listing) {
220
+ const path = join(dir, entry.name);
221
+ if (entry.isDirectory()) {
222
+ if (mayHoldLoadedFiles(walk.projectDir, path)) walk.pending.push(path);
223
+ } else if (entry.isFile() && !isMediaName(path) && walk.known.has(contentHash(path) ?? "")) {
224
+ return path;
225
+ }
226
+ }
227
+ return void 0;
228
+ }
229
+ function receivedContentHolder(projectDir, hashes) {
230
+ if (hashes.length === 0) return void 0;
231
+ const withinBudget = walkBudget();
232
+ const walk = { projectDir, known: new Set(hashes), pending: [projectDir] };
233
+ for (let dir = walk.pending.pop(); dir !== void 0; dir = walk.pending.pop()) {
234
+ const listing = listDir(dir);
235
+ if (listing === null || !withinBudget(listing.length)) return null;
236
+ const holder = holderIn(dir, listing, walk);
237
+ if (holder !== void 0) return holder;
238
+ }
239
+ return void 0;
240
+ }
241
+ function receivedContentRefusal(projectDir, hashes) {
242
+ const holder = receivedContentHolder(projectDir, hashes);
243
+ if (holder === void 0) return null;
244
+ if (holder === null) {
245
+ const reason2 = `Could not check every project file for content that came from someone else, ${READS_NOTHING_OUTSIDE}`;
246
+ return { reason: reason2, alwaysWarn: true };
247
+ }
248
+ const shown = relative(realOrNull(projectDir) ?? projectDir, holder);
249
+ const reason = `${shown} holds the content of a file that came from someone else, ${READS_NOTHING_OUTSIDE}`;
250
+ return { reason, alwaysWarn: false };
251
+ }
324
252
  function receivedRefusal(projectDir, record) {
325
253
  const shown = (path) => relative(realOrNull(projectDir) ?? projectDir, path);
326
254
  if (record === "unchecked") {
@@ -330,12 +258,13 @@ function receivedRefusal(projectDir, record) {
330
258
  if (record.listed === null) {
331
259
  return { reason: `Could not read ${record.path}, ${READS_NOTHING_OUTSIDE}`, alwaysWarn: true };
332
260
  }
333
- if (record.listed.length === 0) return null;
334
261
  const nonMedia = record.listed.find((path) => !isMediaFontOrImage(path));
335
262
  if (nonMedia !== void 0) {
336
263
  const reason2 = `${shown(nonMedia)} came from someone else and is not a media, font or image file, ${READS_NOTHING_OUTSIDE}`;
337
264
  return { reason: reason2, alwaysWarn: false };
338
265
  }
266
+ const contentRefusal = receivedContentRefusal(projectDir, record.hashes);
267
+ if (contentRefusal !== null || record.listed.length === 0) return contentRefusal;
339
268
  const received = receivedIdentities(record.listed);
340
269
  const aliases = received === null ? null : nonMediaAliases(projectDir, received);
341
270
  if (aliases === null) {
@@ -358,5 +287,6 @@ function outsideAssetsAllowed(projectDir, entryFile, warn) {
358
287
  }
359
288
 
360
289
  export {
290
+ isMediaFontOrImage,
361
291
  outsideAssetsAllowed
362
292
  };
@@ -10,7 +10,7 @@ import {
10
10
  ratioOf,
11
11
  readClip,
12
12
  round
13
- } from "./chunk-OYKAS3J5.js";
13
+ } from "./chunk-ZBDITGMP.js";
14
14
 
15
15
  // src/measure/energy.ts
16
16
  var ENERGY_RATE = 12;
@@ -11,7 +11,7 @@ import {
11
11
  round,
12
12
  runFfmpeg,
13
13
  videoClip
14
- } from "./chunk-OYKAS3J5.js";
14
+ } from "./chunk-ZBDITGMP.js";
15
15
 
16
16
  // src/measure/sync.ts
17
17
  var RATE = 16e3;
@@ -8,15 +8,15 @@ import {
8
8
  normalizeRelPath,
9
9
  resolveLocalImageSourcePath,
10
10
  splitUrlSuffix
11
- } from "./chunk-PSREPOJ4.js";
11
+ } from "./chunk-CT54FOTS.js";
12
12
  import {
13
13
  runFfmpeg,
14
14
  runFfprobe,
15
15
  urlInputArgs
16
- } from "./chunk-CC72LTIT.js";
16
+ } from "./chunk-LTXZLTXW.js";
17
17
  import {
18
18
  renameWithRetry
19
- } from "./chunk-K2WLOTTF.js";
19
+ } from "./chunk-LYTELQL2.js";
20
20
  import {
21
21
  parseHTML
22
22
  } from "./chunk-GWTIFRF5.js";
@@ -10,7 +10,7 @@ import {
10
10
  SourceIgnoreError,
11
11
  ownerOf,
12
12
  reviewSentence
13
- } from "./chunk-763UG5II.js";
13
+ } from "./chunk-UEJMLVGW.js";
14
14
  import {
15
15
  isAuthError
16
16
  } from "./chunk-DMW5SSUN.js";
@@ -33,13 +33,13 @@ import {
33
33
  uncheckedSource,
34
34
  withProjectShareLock,
35
35
  writeJsonAtomic
36
- } from "./chunk-763UG5II.js";
36
+ } from "./chunk-UEJMLVGW.js";
37
37
  import {
38
38
  apiBaseUrl
39
39
  } from "./chunk-TFAKFI3R.js";
40
40
  import {
41
41
  findFFprobe
42
- } from "./chunk-6R4MEYWD.js";
42
+ } from "./chunk-CRZ7FUMI.js";
43
43
  import {
44
44
  defaultClientId,
45
45
  oauthEnvironment,
@@ -22,6 +22,7 @@ import {
22
22
  countPageRoot,
23
23
  createCompositionCssScoper,
24
24
  cssStyleMergeKey,
25
+ cssVariableName,
25
26
  dedupeFontFaceRules,
26
27
  deferScriptsUntilFonts,
27
28
  emitVariablesByCompScript,
@@ -59,24 +60,19 @@ import {
59
60
  warnUnknownEnumValues,
60
61
  wrapInlineScriptWithErrorBoundary,
61
62
  wrapScopedCompositionScript
62
- } from "./chunk-NI7JVGOE.js";
63
- import {
64
- cssVariableName
65
- } from "./chunk-VC76R6W2.js";
63
+ } from "./chunk-BNH2IKGV.js";
66
64
  import {
67
65
  isSafePath,
68
- resolveWithinProject
69
- } from "./chunk-MHF5F4FF.js";
70
- import {
66
+ resolveWithinProject,
71
67
  terminalText
72
- } from "./chunk-UVZIABYZ.js";
68
+ } from "./chunk-3GF72UPC.js";
73
69
  import {
74
70
  linkedSources,
75
71
  lintHyperframeHtml
76
- } from "./chunk-HLOJSBGC.js";
72
+ } from "./chunk-TTRX7NM3.js";
77
73
  import {
78
74
  readTextFile
79
- } from "./chunk-6EMFSRTW.js";
75
+ } from "./chunk-S35RUNXJ.js";
80
76
  import {
81
77
  blockCommentMatches,
82
78
  checkSubCompositionUsability,
@@ -108,7 +104,7 @@ import {
108
104
  isPrivateFileUnder,
109
105
  isStudioPrivatePath,
110
106
  isVcsOrSecretPath
111
- } from "./chunk-KK5Z5XQ3.js";
107
+ } from "./chunk-PTGNUVCB.js";
112
108
 
113
109
  // ../core/dist/compiler/htmlCompiler.js
114
110
  import { resolve } from "path";
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/version.ts
9
- var VERSION = true ? "0.9.59" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.9.59" : "0.0.0-dev";
9
+ var VERSION = true ? "0.9.61" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.9.61" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,