hyperframes 0.9.70 → 0.9.72

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 (295) hide show
  1. package/dist/{add-OB25YJFY.js → add-7QGSVWOB.js} +15 -15
  2. package/dist/{agentPromptGenerator-YEMOLBHX.js → agentPromptGenerator-KX2BJKFW.js} +9 -9
  3. package/dist/{animatedGifPrep-CWO57DSI.js → animatedGifPrep-RJXLNJT6.js} +9 -9
  4. package/dist/api.js +35 -35
  5. package/dist/{asset-2FYOS6IZ.js → asset-A3IMNEOP.js} +6 -6
  6. package/dist/{assetCataloger-EP4UNIT6.js → assetCataloger-WJ6HZOQH.js} +10 -10
  7. package/dist/{audio-Q47NEFZE.js → audio-IUW2NUXJ.js} +21 -21
  8. package/dist/{auth-JIDEBDKL.js → auth-6SUIDTS4.js} +4 -4
  9. package/dist/{autoUpdate-G7VXD2UI.js → autoUpdate-AZ3AA353.js} +2 -2
  10. package/dist/{avatars-3QXBICLS.js → avatars-NQMHL6AT.js} +16 -16
  11. package/dist/{backgroundChecks-PUMLSXQL.js → backgroundChecks-KHDAFF4K.js} +3 -3
  12. package/dist/backgroundChecksWorker.js +3 -3
  13. package/dist/{batchRender-N2I7VETQ.js → batchRender-ANL5E3R7.js} +5 -5
  14. package/dist/{beats-XL4LR5EQ.js → beats-RISJ4JLW.js} +12 -12
  15. package/dist/{benchmark-6SDC3GDK.js → benchmark-DOLHWFCV.js} +14 -14
  16. package/dist/{billing-O5X3PI5S.js → billing-KCDYULBR.js} +17 -17
  17. package/dist/{browser-I2BEMC74.js → browser-TFLHZNZO.js} +10 -10
  18. package/dist/{bundleWithLocalizedFonts-DMKRW2UB.js → bundleWithLocalizedFonts-SI2I73G2.js} +1 -1
  19. package/dist/{capture-XROQXWVQ.js → capture-4QQ5XLP4.js} +19 -19
  20. package/dist/{capture-7M44WLWY.js → capture-MFOLNSG2.js} +7 -7
  21. package/dist/{captureCompositionFrame-U7EYNX2B.js → captureCompositionFrame-YLNDYUV7.js} +16 -16
  22. package/dist/{catalog-WAEJBDGR.js → catalog-QBFDRLUU.js} +16 -16
  23. package/dist/{catch-up-KXRCC6WG.js → catch-up-GQ3TWS4R.js} +10 -10
  24. package/dist/{check-TJGAEO3K.js → check-5V6SDV5T.js} +45 -45
  25. package/dist/{checkAudio-N7OZ2B44.js → checkAudio-3LQBHW72.js} +13 -13
  26. package/dist/{checkBrowser-WN3DVBRB.js → checkBrowser-XDC754FR.js} +38 -38
  27. package/dist/{chunk-FWKO64VP.js → chunk-23DRYKEN.js} +13 -13
  28. package/dist/{chunk-2HJDVY37.js → chunk-2LNLS3LZ.js} +4 -4
  29. package/dist/{chunk-4KE3UFUS.js → chunk-2YWPQARF.js} +95 -53
  30. package/dist/{chunk-GAF2FZG4.js → chunk-37Q4JPRB.js} +2 -2
  31. package/dist/{chunk-2FPWK2SB.js → chunk-3DBG7QYG.js} +2 -2
  32. package/dist/{chunk-46S73TBZ.js → chunk-3HYTYYIB.js} +2 -2
  33. package/dist/{chunk-QGFJ7OY3.js → chunk-44LCK4PM.js} +2 -2
  34. package/dist/{chunk-7QNCNGN6.js → chunk-47KES52H.js} +1 -1
  35. package/dist/{chunk-XJGEVPOA.js → chunk-47OGL63R.js} +1 -1
  36. package/dist/{chunk-DAWLQ57Z.js → chunk-4EPBAUNC.js} +1 -1
  37. package/dist/{chunk-UVXERISW.js → chunk-4EW7LRTR.js} +7 -7
  38. package/dist/{chunk-HBZH2LAU.js → chunk-4G6ETZGT.js} +55 -15
  39. package/dist/{chunk-QGZG33SS.js → chunk-4PX4ZHKN.js} +1 -1
  40. package/dist/{chunk-PZITE5EX.js → chunk-57ZJBKDW.js} +12 -12
  41. package/dist/{chunk-CL2W6KRU.js → chunk-5DP7YCWJ.js} +1 -1
  42. package/dist/{chunk-DAFKZNMG.js → chunk-5SXI6467.js} +4 -4
  43. package/dist/{chunk-V6IDC754.js → chunk-6BEG6CN5.js} +1 -1
  44. package/dist/{chunk-ZHHJOXV4.js → chunk-6H5XNDVX.js} +1 -1
  45. package/dist/{chunk-LEOXORSR.js → chunk-6MSIP7H4.js} +2 -2
  46. package/dist/{chunk-KAFGC547.js → chunk-6VYA22FN.js} +1 -1
  47. package/dist/{chunk-LFU7OM3M.js → chunk-7B6JUAQQ.js} +7 -7
  48. package/dist/{chunk-MNUZ3EPM.js → chunk-A7M7VQWM.js} +12 -12
  49. package/dist/{chunk-GVUVOII5.js → chunk-AIQY67SP.js} +4 -4
  50. package/dist/{chunk-TYGEX4GI.js → chunk-AKB2O5BM.js} +15 -15
  51. package/dist/{chunk-CLIIBA2G.js → chunk-ANHZL2EV.js} +1 -1
  52. package/dist/{chunk-USSVHLTY.js → chunk-BDUHI47C.js} +2 -2
  53. package/dist/{chunk-Y2E24JP2.js → chunk-BM5KVNVO.js} +1 -1
  54. package/dist/{chunk-F4N5H26K.js → chunk-BQVE4YIN.js} +4 -4
  55. package/dist/{chunk-HELZOSTI.js → chunk-BYVZ22BF.js} +1 -1
  56. package/dist/{chunk-R7KKJC5C.js → chunk-CB3JF5W6.js} +1 -1
  57. package/dist/{chunk-3EJQGAHO.js → chunk-CQPQLGJH.js} +1 -1
  58. package/dist/{chunk-PH42355D.js → chunk-CXJESLWW.js} +3 -3
  59. package/dist/{chunk-ZNRZPC73.js → chunk-D2ZYXAO7.js} +3 -3
  60. package/dist/{chunk-R2TM7CS5.js → chunk-DQBWKD5S.js} +1 -1
  61. package/dist/{chunk-KTP74HGT.js → chunk-DUJRQQN4.js} +1 -1
  62. package/dist/{chunk-O5F6C2WE.js → chunk-DY55L7FB.js} +1 -1
  63. package/dist/{chunk-SK24LBA2.js → chunk-E3FODZPC.js} +2 -2
  64. package/dist/{chunk-J7HSRUDY.js → chunk-EWYDIHE2.js} +2 -2
  65. package/dist/{chunk-MTKXKULM.js → chunk-EXQTV3OZ.js} +1 -1
  66. package/dist/{chunk-PP3VZKEY.js → chunk-F4DNLWDX.js} +3 -3
  67. package/dist/{chunk-RJBRGH6N.js → chunk-FKGZWJN3.js} +3 -3
  68. package/dist/{chunk-YGPYCV2D.js → chunk-FMUDMA2H.js} +2 -2
  69. package/dist/{chunk-5E46EQ3U.js → chunk-FPVUZ4OL.js} +1 -1
  70. package/dist/{chunk-SHNFWJZ2.js → chunk-FWTOO6SW.js} +2 -2
  71. package/dist/{chunk-5GPBUBWD.js → chunk-GBZE7EZN.js} +3 -3
  72. package/dist/{chunk-UKJW2DTU.js → chunk-H3HV4BJG.js} +2 -2
  73. package/dist/chunk-HDPPQSG3.js +5250 -0
  74. package/dist/{chunk-GH4FCEFX.js → chunk-HKONZJZQ.js} +1 -1
  75. package/dist/{chunk-6M3LVFUZ.js → chunk-HXFC2VFU.js} +1 -1
  76. package/dist/{chunk-JRTHO6IU.js → chunk-IBJA732S.js} +3 -3
  77. package/dist/{chunk-YQIBUGNM.js → chunk-IFMZBONM.js} +2 -2
  78. package/dist/{chunk-IPCCR4XI.js → chunk-IWLRFZV5.js} +7 -7
  79. package/dist/{chunk-3LEB7WKD.js → chunk-J5FQUHEI.js} +1 -1
  80. package/dist/{chunk-QH7YF4HP.js → chunk-JG6MNY2M.js} +1 -1
  81. package/dist/{chunk-XRJO4OHW.js → chunk-JIOVRNX6.js} +1 -1
  82. package/dist/{chunk-2SVL2LI6.js → chunk-JPBIUVCW.js} +75 -34
  83. package/dist/{chunk-3MN6HZPF.js → chunk-JWRGH3VJ.js} +2 -2
  84. package/dist/{chunk-2IIMKKDD.js → chunk-KETQDHMC.js} +1 -1
  85. package/dist/{chunk-KRRQGJIF.js → chunk-KPHVLFY5.js} +1 -1
  86. package/dist/{chunk-EI4K5XOY.js → chunk-LJOZ24T5.js} +3 -3
  87. package/dist/{chunk-TGAFH3LS.js → chunk-LLK6V7CG.js} +2 -2
  88. package/dist/{chunk-W5V27MB6.js → chunk-M6TI5E44.js} +3 -3
  89. package/dist/{chunk-IK7EURH6.js → chunk-MCJ7ONNH.js} +2 -2
  90. package/dist/{chunk-Y5F7NMB5.js → chunk-MIGFSHJA.js} +1 -1
  91. package/dist/{chunk-TIT3F3JC.js → chunk-MSLPATGT.js} +1 -1
  92. package/dist/{chunk-FREE2DZY.js → chunk-O2K7PKN3.js} +1 -1
  93. package/dist/{chunk-HKS663HD.js → chunk-O6J7R6NP.js} +2 -2
  94. package/dist/{chunk-MMCMJJXU.js → chunk-OB7AX7XK.js} +1 -1
  95. package/dist/{chunk-GVGAFJPD.js → chunk-OQX35JBR.js} +2 -2
  96. package/dist/{chunk-SMAS442E.js → chunk-ORKFSEI4.js} +26 -29
  97. package/dist/{chunk-MIH574RA.js → chunk-OVDHFJSR.js} +3 -3
  98. package/dist/{chunk-O6G4TTLL.js → chunk-OZ3EZ4ML.js} +1 -1
  99. package/dist/{chunk-LDGHWWJT.js → chunk-PBWLZRLS.js} +2 -2
  100. package/dist/{chunk-ZFGXKQS2.js → chunk-PSKSZRWB.js} +1 -1
  101. package/dist/{chunk-ISVZN3QT.js → chunk-PTFS2P66.js} +2 -2
  102. package/dist/{chunk-36PT62LR.js → chunk-PX7IZ2FL.js} +2 -2
  103. package/dist/{chunk-4NDSGKPO.js → chunk-QURE6VDP.js} +16 -5
  104. package/dist/{chunk-2FHXXMO2.js → chunk-R4SWPDMW.js} +11 -12
  105. package/dist/{chunk-IIUGI5TK.js → chunk-R6ARS4HA.js} +17 -11
  106. package/dist/{chunk-Y45YJNK7.js → chunk-R6NDFPFM.js} +4 -4
  107. package/dist/{chunk-KZ5PV5TL.js → chunk-RADFYYSJ.js} +19 -2
  108. package/dist/{chunk-QP2QJ5K2.js → chunk-RFMYXGU3.js} +5 -5
  109. package/dist/{chunk-DF2UZ56O.js → chunk-RJAY7LDB.js} +1 -1
  110. package/dist/{chunk-U3X2REBN.js → chunk-RJVUWQ62.js} +1 -1
  111. package/dist/{chunk-SSVUBWCH.js → chunk-SHSV4D5H.js} +1 -1
  112. package/dist/{chunk-UNMSSSDP.js → chunk-SIYQADDT.js} +1 -1
  113. package/dist/{chunk-CVLZUNYV.js → chunk-SMMK3ZTM.js} +2 -2
  114. package/dist/{chunk-KXL4WNPB.js → chunk-SWC5HD4H.js} +17 -1
  115. package/dist/{chunk-5EJ2MQQN.js → chunk-U4DTH4CQ.js} +22 -22
  116. package/dist/{chunk-HGSRXZJ6.js → chunk-UPWH3RXB.js} +1 -1
  117. package/dist/{chunk-UODN7SXX.js → chunk-UUUYDBFK.js} +11 -7
  118. package/dist/{chunk-PCL6LYMV.js → chunk-UWWFATKN.js} +6 -6
  119. package/dist/{chunk-W4ORI6T3.js → chunk-V73KBGAQ.js} +5 -5
  120. package/dist/{chunk-CHRUH235.js → chunk-VDPD2VLN.js} +4 -4
  121. package/dist/{chunk-SRGQK4QA.js → chunk-VL25FAYK.js} +11 -8
  122. package/dist/{chunk-2ERWAKRM.js → chunk-VTSCQI2H.js} +1 -1
  123. package/dist/{chunk-MMFWGCAX.js → chunk-WLJRLBAI.js} +10 -10
  124. package/dist/{chunk-TQG2HQ5A.js → chunk-WVKHJONF.js} +2 -2
  125. package/dist/{chunk-P4YNH5CF.js → chunk-X4USSEAT.js} +1 -1
  126. package/dist/{chunk-5OCGHKBS.js → chunk-XDOZUXEC.js} +3 -3
  127. package/dist/{chunk-N52C7TQ4.js → chunk-XFRBVGNH.js} +2 -2
  128. package/dist/{chunk-3NKJTDCV.js → chunk-XUIQXR3V.js} +1 -1
  129. package/dist/{chunk-6MGLBXWL.js → chunk-Y7U4M7WP.js} +9 -9
  130. package/dist/{chunk-OTYZU7WK.js → chunk-YILQXDHG.js} +10 -10
  131. package/dist/{chunk-Q4JP4Y3M.js → chunk-YMJGD4TB.js} +3 -3
  132. package/dist/{chunk-T2X7UEE4.js → chunk-YUWZWBKG.js} +1 -1
  133. package/dist/{chunk-BOSDYIEF.js → chunk-YZMFHE5Q.js} +3 -3
  134. package/dist/{chunk-CPQTWPMM.js → chunk-Z56VK5EM.js} +1 -1
  135. package/dist/{chunk-BACVICA3.js → chunk-ZPPXYC2Y.js} +2 -2
  136. package/dist/{chunk-CN4FUPM4.js → chunk-ZULZJ2TY.js} +1 -1
  137. package/dist/{chunk-FN7T5YLO.js → chunk-ZVHUCEJG.js} +4 -4
  138. package/dist/{clean-72HIE4YL.js → clean-C4H5WBGA.js} +22 -22
  139. package/dist/cli.js +68 -68
  140. package/dist/{cloud-636TX2BM.js → cloud-LZE7QJCH.js} +8 -8
  141. package/dist/{cloud-QDKM6N4I.js → cloud-UOFPS6A6.js} +4 -4
  142. package/dist/{cloudrun-TL45TRAX.js → cloudrun-RPCBYE44.js} +7 -7
  143. package/dist/{compare-CB7OY3YL.js → compare-JR57N5EG.js} +36 -36
  144. package/dist/{compiler-WGLCDTPO.js → compiler-C52LGLUD.js} +7 -5
  145. package/dist/{component-E4ZL4VOR.js → component-AS6HYXW4.js} +7 -7
  146. package/dist/{compositions-IUHDXAQR.js → compositions-HPITPHPQ.js} +16 -16
  147. package/dist/{curve-JV2FOUGH.js → curve-6FQQOXSY.js} +13 -13
  148. package/dist/{cuts-TNIAVAIW.js → cuts-ZT4IXEWP.js} +14 -14
  149. package/dist/{delete-FXHTTCL6.js → delete-2XTNB6PJ.js} +10 -10
  150. package/dist/{deploy-MTEFXQW2.js → deploy-ONSA2KE3.js} +2 -2
  151. package/dist/{describeProject-IAYIZACI.js → describeProject-7HMSHIA2.js} +11 -11
  152. package/dist/{destroy-MUICCZYW.js → destroy-LSRQJFC7.js} +2 -2
  153. package/dist/{deterministicFonts-645ILNLP.js → deterministicFonts-LAVFR7ST.js} +2 -2
  154. package/dist/{diff-6ZRQZONO.js → diff-IQXKXI4O.js} +35 -35
  155. package/dist/{dist-X5B32EU4.js → dist-IFI7WI4W.js} +4 -4
  156. package/dist/{dist-ZPV47FCH.js → dist-KK4LXXZ2.js} +3 -3
  157. package/dist/{dist-435FS3PH.js → dist-Z4MJFKSQ.js} +12 -12
  158. package/dist/{doctor-4QNEKEDV.js → doctor-P7RWR6LJ.js} +15 -15
  159. package/dist/{dotEnv-A6WBJIUK.js → dotEnv-XI6LGB5V.js} +5 -5
  160. package/dist/{energy-NN2K2UTA.js → energy-WYWSPD4O.js} +14 -14
  161. package/dist/{events-2NN5JVRJ.js → events-E3MMSQZU.js} +4 -4
  162. package/dist/{events-F5YQ6L6V.js → events-R5R2JXGS.js} +16 -16
  163. package/dist/{events-35IDRIEZ.js → events-UYDH724P.js} +9 -9
  164. package/dist/{execute-M7CWJD3Y.js → execute-SCXPSYZI.js} +29 -29
  165. package/dist/{extract-IZVF55FY.js → extract-MYJNQFU7.js} +14 -14
  166. package/dist/{face-LYUPME7N.js → face-B5YQDZLG.js} +11 -11
  167. package/dist/{face-HTX6V7NW.js → face-IO5SFMCZ.js} +14 -14
  168. package/dist/{feedback-ZUTJT2JL.js → feedback-ECG2K27F.js} +16 -16
  169. package/dist/{ffmpeg-JAKAMPVF.js → ffmpeg-X6V362J7.js} +9 -9
  170. package/dist/{figma-VUSWO73O.js → figma-GS7UYT4T.js} +3 -3
  171. package/dist/fontLocalizeCli.js +13 -13
  172. package/dist/{frames-Y2TCFDTN.js → frames-GVVWY7BA.js} +15 -15
  173. package/dist/{generate-W6EKLTBG.js → generate-YGEIGQJK.js} +27 -27
  174. package/dist/{get-356CGHW2.js → get-YKVYG6LJ.js} +10 -10
  175. package/dist/{gpuPolicy-U2ARKKHK.js → gpuPolicy-RMWMMUVZ.js} +9 -9
  176. package/dist/{grade-compare-SDYYPPUR.js → grade-compare-XFS7CY4Q.js} +35 -35
  177. package/dist/{hands-KUSBZXNU.js → hands-7WV6BG7W.js} +16 -16
  178. package/dist/{heifImagePrep-XP2LWF4K.js → heifImagePrep-2YAVANH4.js} +10 -10
  179. package/dist/{help-OH7AJFJN.js → help-HFA5CY6M.js} +1 -1
  180. package/dist/{history-JV5IGLJB.js → history-44FKDBEM.js} +12 -12
  181. package/dist/hyperframe.manifest.json +1 -1
  182. package/dist/hyperframe.runtime.iife.js +70 -70
  183. package/dist/hyperframes-player.global.js +1 -1
  184. package/dist/{info-KWBP5T3B.js → info-WQ7UZKD5.js} +16 -16
  185. package/dist/{init-6ZFO7GEQ.js → init-NZZ3UVJ6.js} +30 -30
  186. package/dist/{ink-KR634EBG.js → ink-H6I4LF4V.js} +14 -14
  187. package/dist/{inspect-QCRDMCXE.js → inspect-C6F26KGO.js} +39 -39
  188. package/dist/inspection.js +1 -2088
  189. package/dist/{installer-QVPWLJGP.js → installer-MZ7JHLD3.js} +6 -6
  190. package/dist/{keyframes-RBHX4AHX.js → keyframes-3T3CBUPP.js} +18 -16
  191. package/dist/{lambda-GFMDJ4WZ.js → lambda-XQTPEJYK.js} +15 -15
  192. package/dist/{launch-XLEBN2IW.js → launch-Z4UWKU3U.js} +10 -10
  193. package/dist/{layout-6UXQUL6T.js → layout-BU6JBDZM.js} +39 -39
  194. package/dist/{lint-BLWTJMXW.js → lint-OJKKGVPV.js} +13 -13
  195. package/dist/{lintProject-3GXSYHIU.js → lintProject-FBFR7O2G.js} +3 -3
  196. package/dist/{list-BHKIKZYM.js → list-D4G2DS6H.js} +10 -10
  197. package/dist/{localPage-PG6ELY2L.js → localPage-YJMRDXTE.js} +9 -9
  198. package/dist/{login-BR5WBRHQ.js → login-3HKKKUL6.js} +10 -10
  199. package/dist/{logout-PV4NXB35.js → logout-SPXGQRQK.js} +6 -6
  200. package/dist/{look-XMUJ2LVS.js → look-YEA3OI6Z.js} +14 -14
  201. package/dist/{manager-TOS3JZ3D.js → manager-B6FR74XS.js} +3 -3
  202. package/dist/{manager-IHYC7UTF.js → manager-H2BHTEDB.js} +10 -10
  203. package/dist/{measure-MKFXMCUP.js → measure-7XRZCIGD.js} +12 -12
  204. package/dist/{media-KYQWREVI.js → media-RWIJ4BME.js} +10 -10
  205. package/dist/{media-treatment-VOGGAEEM.js → media-treatment-BYU3JEKC.js} +18 -18
  206. package/dist/{media-use-SB5K7FMP.js → media-use-O7JAVMBI.js} +9 -9
  207. package/dist/{models-OF5SWCVQ.js → models-RZVRANMA.js} +13 -13
  208. package/dist/{motionShot-EDY7KCJC.js → motionShot-4JGB6GUU.js} +20 -20
  209. package/dist/{normalize-audio-TW3QBWSN.js → normalize-audio-LJDYYLLE.js} +13 -13
  210. package/dist/{oauth-RWPEXJPO.js → oauth-5RCKYSCB.js} +4 -4
  211. package/dist/{open-6HWIWJPA.js → open-MWRDLFRC.js} +16 -16
  212. package/dist/{parakeetRunner-LBAOF2EL.js → parakeetRunner-JNC5ETTC.js} +14 -14
  213. package/dist/{pipeline-UWLKV3OK.js → pipeline-AS24X2SS.js} +12 -12
  214. package/dist/{plan-H6764BT6.js → plan-QAYS36GQ.js} +21 -21
  215. package/dist/{play-R45NBRHH.js → play-HCY5GIQE.js} +25 -25
  216. package/dist/{preflight-LTWUS6KZ.js → preflight-RGMRPCEH.js} +12 -12
  217. package/dist/{present-HQAJCWWF.js → present-B6NNFXKV.js} +21 -21
  218. package/dist/{preview-NH7M36RM.js → preview-55WIFVJA.js} +22 -22
  219. package/dist/{privateProjectFile-35JQWH43.js → privateProjectFile-GOOKHUW7.js} +4 -4
  220. package/dist/{probe-FRCQIA3Q.js → probe-7RHCSYLI.js} +14 -14
  221. package/dist/{producer-BHVQNUSS.js → producer-DVEY3FW4.js} +1 -1
  222. package/dist/{projectConfig-X6QIF5K7.js → projectConfig-34IKA7N7.js} +8 -8
  223. package/dist/{publication-LMS4SDEX.js → publication-OTQFEA2P.js} +4 -4
  224. package/dist/{publish-E77MV4U7.js → publish-TLHY4ZXO.js} +20 -20
  225. package/dist/{receivedRecordFollow-7KG7AHPZ.js → receivedRecordFollow-AHVYCQUN.js} +7 -7
  226. package/dist/{refresh-6W3IWT25.js → refresh-VIG2CAJC.js} +6 -6
  227. package/dist/{remove-background-B4UP7U6D.js → remove-background-BXNJJWVV.js} +13 -13
  228. package/dist/{render-32E25QMM.js → render-AUFGAQBQ.js} +7 -7
  229. package/dist/{render-3WU5JGHQ.js → render-INYDDXI7.js} +44 -43
  230. package/dist/{render-W7GRWYLW.js → render-IO2BJ7CP.js} +31 -31
  231. package/dist/{render-batch-LGWZGAVO.js → render-batch-2KI7433U.js} +7 -7
  232. package/dist/renderSetupWorker.js +6 -6
  233. package/dist/{resolver-FGWA2ULU.js → resolver-KVQXVINV.js} +6 -6
  234. package/dist/{reverse-45NIGLX3.js → reverse-XY2J2TN7.js} +1 -1
  235. package/dist/{run-DGPYX7OH.js → run-QSRA7SBA.js} +8 -8
  236. package/dist/{screenshotCapture-CPJLZKU2.js → screenshotCapture-QUVIFBP2.js} +11 -11
  237. package/dist/{service-6RUDBS5J.js → service-NABD6PNK.js} +16 -16
  238. package/dist/{share-HKMUCHZH.js → share-WDEBA4LU.js} +19 -19
  239. package/dist/{sherpa-VZ7CSNUR.js → sherpa-YWI7DSE5.js} +13 -13
  240. package/dist/skills/hyperframes/references/captions.md +1 -1
  241. package/dist/skills/hyperframes/references/types/vertical.md +1 -1
  242. package/dist/skills/media-use/audio/scripts/audio.mjs +21 -9
  243. package/dist/skills/media-use/audio/scripts/heygen-tts.mjs +7 -4
  244. package/dist/skills/media-use/audio/scripts/wait-bgm.mjs +13 -7
  245. package/dist/skills/media-use/scripts/audio-duck.mjs +5 -2
  246. package/dist/skills/media-use/scripts/dither.mjs +4 -3
  247. package/dist/skills/media-use/scripts/lib/codex-provider.mjs +4 -1
  248. package/dist/skills/media-use/scripts/lib/heygen-cli.mjs +2 -1
  249. package/dist/skills/media-use/scripts/lib/heygen-search.mjs +4 -1
  250. package/dist/skills/media-use/scripts/lib/heygen-video-provider.mjs +2 -1
  251. package/dist/skills/media-use/scripts/lib/ltx-video-provider.mjs +4 -1
  252. package/dist/skills/media-use/scripts/lib/mflux-provider.mjs +5 -2
  253. package/dist/skills/media-use/scripts/lib/recipe-store.mjs +27 -4
  254. package/dist/skills/media-use/scripts/lib/terminal-text.d.mts +1 -0
  255. package/dist/skills/media-use/scripts/lib/terminal-text.mjs +9 -0
  256. package/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +2 -1
  257. package/dist/skills/media-use/scripts/transcribe.mjs +9 -3
  258. package/dist/skills/media-use/scripts/transcript-cut.mjs +8 -5
  259. package/dist/{skills-CI5AMDVJ.js → skills-ISINXGTW.js} +12 -12
  260. package/dist/{skillsUpdateCheck-IGE6UQA6.js → skillsUpdateCheck-RTCF32PM.js} +3 -3
  261. package/dist/{snapshot-AWHDC5RL.js → snapshot-TSI5FBFC.js} +44 -44
  262. package/dist/{snapshotHeldVideos-Q3X4IJDP.js → snapshotHeldVideos-PCV4G77K.js} +10 -10
  263. package/dist/{src-PLBQVHOG.js → src-HNWPFFTJ.js} +10 -8
  264. package/dist/{src-JLUEYWIO.js → src-JD4OHZSC.js} +12 -12
  265. package/dist/{start-T4KAUQBY.js → start-UFW4NRO7.js} +25 -25
  266. package/dist/{staticProjectServer-5UXPYN7E.js → staticProjectServer-VOAZLYTJ.js} +21 -21
  267. package/dist/{status-YWAFZZF5.js → status-4FEFL4MZ.js} +17 -17
  268. package/dist/studio/assets/{hyperframes-player-DbKnA7Gb.js → hyperframes-player-Dz76iZ46.js} +1 -1
  269. package/dist/studio/assets/{index-C1pMpHNI.js → index-C0isTEun.js} +1 -1
  270. package/dist/studio/assets/{index-B6udBl3J.js → index-knqcsx6x.js} +181 -181
  271. package/dist/studio/assets/{pausedVideoDecoder-CMlybc04.js → pausedVideoDecoder-Dsz9RhlG.js} +1 -1
  272. package/dist/studio/index.html +1 -1
  273. package/dist/{studio-api-Y6AVBF55.js → studio-api-W7Z4LTNN.js} +12 -12
  274. package/dist/{studioServer-RO3MQKUI.js → studioServer-R4ZEMBSC.js} +65 -65
  275. package/dist/subCompositionWorker.js +20 -23
  276. package/dist/{sync-AGMXKLDL.js → sync-YFGSXL5P.js} +14 -14
  277. package/dist/{system-XT77HD36.js → system-TVH3NBI6.js} +2 -2
  278. package/dist/{telemetry-OXPSYNFL.js → telemetry-Y3ACVGCW.js} +9 -9
  279. package/dist/{templates-AKPQC2MW.js → templates-QRY7ZEWO.js} +17 -17
  280. package/dist/{textOverFace-7OQZKRS5.js → textOverFace-F44CUYNC.js} +3 -3
  281. package/dist/{timeline-BL7TPJ4S.js → timeline-WFZ2DLQ5.js} +22 -22
  282. package/dist/{tokens-XFXXBPQP.js → tokens-A5M7LLQJ.js} +6 -6
  283. package/dist/{transcribe-3AOQAMTZ.js → transcribe-DL7CD3NN.js} +29 -29
  284. package/dist/{transcribe-DV5YLWJ5.js → transcribe-UAUI5Y3K.js} +12 -12
  285. package/dist/{tts-CXIWZ6EE.js → tts-VF6YKVSF.js} +4 -4
  286. package/dist/{update-YP23WT7A.js → update-GJSKDFB5.js} +13 -13
  287. package/dist/{updateCheck-IZ6NIWYW.js → updateCheck-BLHK33LY.js} +2 -2
  288. package/dist/{upgrade-MSHA4MOR.js → upgrade-IIP3EC6G.js} +3 -3
  289. package/dist/{urlDownloader-WAJ3XRVI.js → urlDownloader-WXVFAIDR.js} +8 -8
  290. package/dist/{validate-OFIOTGHR.js → validate-2JVORNVZ.js} +29 -29
  291. package/dist/{video-V5ETW572.js → video-45X44CP3.js} +10 -10
  292. package/dist/{voices-GPE67NEB.js → voices-FFNJV42J.js} +25 -25
  293. package/dist/warmCheck.js +45 -45
  294. package/package.json +1 -1
  295. package/dist/chunk-TTJQMYTF.js +0 -5146
@@ -19,11 +19,11 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-2FHXXMO2.js";
22
+ } from "./chunk-R4SWPDMW.js";
23
23
  import {
24
24
  MEDIA_LINK_ATTR,
25
25
  relinkSplitHalves
26
- } from "./chunk-CPQTWPMM.js";
26
+ } from "./chunk-Z56VK5EM.js";
27
27
  import {
28
28
  DEFAULT_TARGET_LUFS,
29
29
  absoluteLoudnessPlan,
@@ -32,7 +32,7 @@ import {
32
32
  requestedProjectPath,
33
33
  requiredFfmpeg,
34
34
  resolveLocalAudioPath
35
- } from "./chunk-2HJDVY37.js";
35
+ } from "./chunk-2LNLS3LZ.js";
36
36
  import {
37
37
  PROXY_PARAMS_VERSION,
38
38
  PROXY_PENDING_RETRY_AFTER_SECONDS,
@@ -57,11 +57,11 @@ import {
57
57
  scanProjectMedia,
58
58
  shouldPrewarmProxy,
59
59
  waitForProxy
60
- } from "./chunk-CHRUH235.js";
60
+ } from "./chunk-VDPD2VLN.js";
61
61
  import {
62
62
  probeAudioTrack,
63
63
  probeMediaMetadata
64
- } from "./chunk-O5F6C2WE.js";
64
+ } from "./chunk-DY55L7FB.js";
65
65
  import {
66
66
  HistoryBusyError,
67
67
  MAX_WINDOW_IDLE_MS,
@@ -137,7 +137,7 @@ import {
137
137
  ensureHfIds,
138
138
  stampHfIdsInPlace,
139
139
  stripSdrPngColourTags
140
- } from "./chunk-2SVL2LI6.js";
140
+ } from "./chunk-JPBIUVCW.js";
141
141
  import {
142
142
  RENDER_VARIABLES_FILE
143
143
  } from "./chunk-F6PI5O3H.js";
@@ -166,7 +166,7 @@ import {
166
166
  normalizeGsapLocalRoot,
167
167
  parseFps,
168
168
  parsePreviewProxyBox
169
- } from "./chunk-RJBRGH6N.js";
169
+ } from "./chunk-FKGZWJN3.js";
170
170
  import {
171
171
  AFTER_FONTS_SCRIPT_TYPE,
172
172
  RUNTIME_BOOTSTRAP_ATTR,
@@ -181,7 +181,7 @@ import {
181
181
  resolveRateSpec,
182
182
  sourceTimeAt,
183
183
  stripEmbeddedRuntimeScripts
184
- } from "./chunk-TTJQMYTF.js";
184
+ } from "./chunk-HDPPQSG3.js";
185
185
  import {
186
186
  ProjectRootMissingError,
187
187
  folderGone,
@@ -200,12 +200,13 @@ import {
200
200
  decodeWellFormedEscapes,
201
201
  decodedUrlPath,
202
202
  encodeUrlPath,
203
+ firstHtmlTemplate,
203
204
  readMediaOffsetSeconds,
204
205
  rewriteAssetPaths,
205
206
  rewriteCssAssetUrls,
206
207
  rewriteInlineStyleAssetUrls,
207
208
  sameInstant
208
- } from "./chunk-KZ5PV5TL.js";
209
+ } from "./chunk-RADFYYSJ.js";
209
210
  import {
210
211
  HTML_ATTRIBUTE_ENTITIES,
211
212
  MagicString,
@@ -213,7 +214,7 @@ import {
213
214
  decodeAuthoredAttribute,
214
215
  scanHtmlOpeningTags,
215
216
  unrollComputedTimeline
216
- } from "./chunk-4NDSGKPO.js";
217
+ } from "./chunk-QURE6VDP.js";
217
218
  import {
218
219
  ancestor,
219
220
  full,
@@ -703,7 +704,7 @@ async function injectMediaCodecMap(html, adapter, projectDir, compSrcPath, probe
703
704
  return injectMediaCodecMapIntoHtml(html, projectDir, [{ html, compSrcPath }], probeCache, false);
704
705
  }
705
706
 
706
- // ../studio-server/dist/chunk-PZ5VNAUF.js
707
+ // ../studio-server/dist/chunk-W7PXGUXK.js
707
708
  import { existsSync, readFileSync as readFileSync2 } from "fs";
708
709
  import { join as join2 } from "path";
709
710
  import { readlinkSync } from "fs";
@@ -836,10 +837,14 @@ function extractFullDocumentParts(rawHtml, compPath, projectDir) {
836
837
  const bodyAttrs = doc.body ? extractElementAttrs(doc.body) : "";
837
838
  return { headContent, bodyContent, htmlAttrs, bodyAttrs };
838
839
  }
839
- function extractTemplateInnerHtml(rawComp) {
840
+ function extractTemplate(rawComp) {
840
841
  const { document: doc } = parseHTML(rawComp);
841
- const template = doc.querySelector("template");
842
- return template ? template.innerHTML : null;
842
+ const template = firstHtmlTemplate(doc.querySelectorAll("template"));
843
+ if (!template) return null;
844
+ return {
845
+ innerHtml: template.innerHTML,
846
+ compositionId: template.getAttribute("data-composition-id")
847
+ };
843
848
  }
844
849
  function escapeAttrValue(value) {
845
850
  return value.replace(/&/g, "&").replace(/"/g, """);
@@ -857,15 +862,7 @@ function extractElementAttrs(el) {
857
862
  return parts.join(" ");
858
863
  }
859
864
  var NON_RENDERED_TAGS = /* @__PURE__ */ new Set(["SCRIPT", "STYLE", "LINK", "META", "TEMPLATE", "NOSCRIPT"]);
860
- function promoteTemplateCompositionId(rawComp, body) {
861
- let templateCompositionId;
862
- for (const tag of rawComp.matchAll(/<template\b[^>]*/gi)) {
863
- const id = /\bdata-composition-id\s*=\s*["']([^"']+)["']/i.exec(tag[0] ?? "")?.[1];
864
- if (id) {
865
- templateCompositionId = id;
866
- break;
867
- }
868
- }
865
+ function promoteTemplateCompositionId(templateCompositionId, body) {
869
866
  if (!templateCompositionId) return;
870
867
  if (body.querySelector("[data-composition-id]")) return;
871
868
  const root = Array.from(body.children).find((el) => !NON_RENDERED_TAGS.has(el.tagName));
@@ -918,15 +915,15 @@ function buildSubCompositionHtml(projectDir, compPath, runtimeUrl, baseHref, raw
918
915
  let rewrittenContent;
919
916
  let htmlAttrs = "";
920
917
  let bodyAttrs = "";
921
- const templateInner = extractTemplateInnerHtml(rawComp);
922
- if (templateInner != null) {
918
+ const template = extractTemplate(rawComp);
919
+ if (template) {
923
920
  const { document: contentDoc } = parseHTML(
924
- `<!DOCTYPE html><html><head></head><body>${templateInner}</body></html>`
921
+ `<!DOCTYPE html><html><head></head><body>${template.innerHtml}</body></html>`
925
922
  );
926
923
  rewriteRelativePaths(contentDoc, compPath, projectDir);
927
924
  fixDigitLeadingIdSelectors(contentDoc);
928
- promoteTemplateCompositionId(rawComp, contentDoc.body);
929
- rewrittenContent = contentDoc.body.innerHTML || templateInner;
925
+ promoteTemplateCompositionId(template.compositionId, contentDoc.body);
926
+ rewrittenContent = contentDoc.body.innerHTML || template.innerHtml;
930
927
  } else if (isFullHtmlDocument(rawComp)) {
931
928
  const parts = extractFullDocumentParts(rawComp, compPath, projectDir);
932
929
  compHeadContent = parts.headContent;
@@ -7014,7 +7011,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
7014
7011
  let block = extractGsapScriptBlock(html);
7015
7012
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
7016
7013
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
7017
- const { GSAP_CDN } = await import("./dist-X5B32EU4.js");
7014
+ const { GSAP_CDN } = await import("./dist-IFI7WI4W.js");
7018
7015
  const bootstrap = [
7019
7016
  `<script src="${GSAP_CDN}"></script>`,
7020
7017
  "<script>",
@@ -11,11 +11,11 @@ import {
11
11
  distroLabel,
12
12
  getFFmpegInstallHint,
13
13
  parseLddMissingLibs
14
- } from "./chunk-UNMSSSDP.js";
14
+ } from "./chunk-SIYQADDT.js";
15
15
  import {
16
16
  ensureBrowser,
17
17
  findBrowser
18
- } from "./chunk-ZFGXKQS2.js";
18
+ } from "./chunk-PSKSZRWB.js";
19
19
  import {
20
20
  processReadArgs
21
21
  } from "./chunk-CINXWHRB.js";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-L3FQUUS6.js";
25
25
  import {
26
26
  getFreeDiskMb
27
- } from "./chunk-KRRQGJIF.js";
27
+ } from "./chunk-KPHVLFY5.js";
28
28
  import {
29
29
  buildChromeLaunchEnv
30
30
  } from "./chunk-LWX5PI73.js";
@@ -11,7 +11,7 @@ import {
11
11
  round,
12
12
  runFfmpeg,
13
13
  videoClip
14
- } from "./chunk-2IIMKKDD.js";
14
+ } from "./chunk-KETQDHMC.js";
15
15
 
16
16
  // src/measure/sync.ts
17
17
  var RATE = 16e3;
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-4WUTXBRK.js";
15
15
  import {
16
16
  resolveProject
17
- } from "./chunk-3EJQGAHO.js";
17
+ } from "./chunk-CQPQLGJH.js";
18
18
  import {
19
19
  findPreviewServerForProject,
20
20
  studioApiUrl
@@ -146,7 +146,7 @@ function previewOwner(route) {
146
146
  }
147
147
  async function relistWrites(projectDir, entry) {
148
148
  if (!entry?.files.length) return;
149
- const { relistHistoryWrites } = await import("./receivedRecordFollow-7KG7AHPZ.js");
149
+ const { relistHistoryWrites } = await import("./receivedRecordFollow-AHVYCQUN.js");
150
150
  await relistHistoryWrites(projectDir, entry).catch(
151
151
  (error) => console.warn(`Could not update the received-files record: ${String(error)}`)
152
152
  );
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-L3FQUUS6.js";
11
11
  import {
12
12
  getFreeDiskMb
13
- } from "./chunk-KRRQGJIF.js";
13
+ } from "./chunk-KPHVLFY5.js";
14
14
  import {
15
15
  browserPathFromEnv,
16
16
  isPinnedHeadlessShell,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveCaptureBrowserGpuMode
9
- } from "./chunk-SK24LBA2.js";
9
+ } from "./chunk-E3FODZPC.js";
10
10
  import {
11
11
  explainChromeLaunchFailure,
12
12
  inAgentSandbox,
@@ -15,7 +15,7 @@ import {
15
15
  oneProcessOverPipe,
16
16
  pipeLaunchClosedOnMac,
17
17
  sandboxDeniedRemediation
18
- } from "./chunk-HBZH2LAU.js";
18
+ } from "./chunk-4G6ETZGT.js";
19
19
  import {
20
20
  processIsAlive,
21
21
  terminateWindowsProcessTree
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  HF_COLOR_GRADING_ATTR
9
- } from "./chunk-TTJQMYTF.js";
9
+ } from "./chunk-HDPPQSG3.js";
10
10
  import {
11
11
  resolveCompositionSrc
12
12
  } from "./chunk-UVW5ZDAP.js";
13
13
  import {
14
14
  isNonRelativeUrl
15
- } from "./chunk-KZ5PV5TL.js";
15
+ } from "./chunk-RADFYYSJ.js";
16
16
  import {
17
17
  parseHTML
18
18
  } from "./chunk-GWTIFRF5.js";
@@ -3344,6 +3344,19 @@ function readCompositionVariables(raw) {
3344
3344
  function parseCompositionVariables(htmlEl) {
3345
3345
  return readCompositionVariables(htmlEl.getAttribute("data-composition-variables")).declarations;
3346
3346
  }
3347
+ function isHtmlTemplate(el) {
3348
+ return el.localName === "template" && "content" in el;
3349
+ }
3350
+ function templateContent(el) {
3351
+ return isHtmlTemplate(el) ? el.content ?? null : null;
3352
+ }
3353
+ function firstHtmlTemplate(templates) {
3354
+ return Array.from(templates).find(isHtmlTemplate);
3355
+ }
3356
+ function firstTemplateContent(root) {
3357
+ const template = firstHtmlTemplate(root.querySelectorAll("template"));
3358
+ return template ? templateContent(template) : null;
3359
+ }
3347
3360
  var EXCLUDED_TAGS = /* @__PURE__ */ new Set([
3348
3361
  "script",
3349
3362
  "style",
@@ -3398,8 +3411,8 @@ function mintHfId(el, assigned) {
3398
3411
  }
3399
3412
  function getChildElements(parent) {
3400
3413
  const directChildren = Array.from(parent.children);
3401
- if (directChildren.length || parent.tagName.toLowerCase() !== "template") return directChildren;
3402
- const content = parent.content;
3414
+ if (directChildren.length) return directChildren;
3415
+ const content = templateContent(parent);
3403
3416
  if (content?.children.length) return Array.from(content.children);
3404
3417
  return directChildren;
3405
3418
  }
@@ -4361,9 +4374,7 @@ function extractCompositionMetadata(html) {
4361
4374
  const compositionId = htmlEl.getAttribute("data-composition-id");
4362
4375
  const durationStr = htmlEl.getAttribute("data-composition-duration");
4363
4376
  const compositionDuration = durationStr ? parseFloat(durationStr) : null;
4364
- const root = (doc.querySelector("template")?.content ?? doc).querySelector(
4365
- "[data-composition-id]"
4366
- );
4377
+ const root = (firstTemplateContent(doc) ?? doc).querySelector("[data-composition-id]");
4367
4378
  const variables = [
4368
4379
  ...new Map(
4369
4380
  [
@@ -6,32 +6,34 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  relinkSplitHalves
9
- } from "./chunk-CPQTWPMM.js";
9
+ } from "./chunk-Z56VK5EM.js";
10
10
  import {
11
11
  EXCLUDED_TAGS,
12
12
  ensureHfIds,
13
13
  mintHfId,
14
14
  walkCompositionDescendants
15
- } from "./chunk-2SVL2LI6.js";
15
+ } from "./chunk-JPBIUVCW.js";
16
16
  import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-RJBRGH6N.js";
20
+ } from "./chunk-FKGZWJN3.js";
21
21
  import {
22
22
  require_dist
23
- } from "./chunk-IIUGI5TK.js";
23
+ } from "./chunk-R6ARS4HA.js";
24
24
  import {
25
25
  SPLIT_BOUNDARY_EPSILON_S,
26
+ isHtmlTemplate,
26
27
  readClipTiming,
27
28
  readMediaOffsetSeconds,
28
29
  readPlaybackRate,
30
+ templateContent,
29
31
  writeClipTiming
30
- } from "./chunk-KZ5PV5TL.js";
32
+ } from "./chunk-RADFYYSJ.js";
31
33
  import {
32
34
  decodedUrlPath,
33
35
  removeElementWithGsapCascade
34
- } from "./chunk-4NDSGKPO.js";
36
+ } from "./chunk-QURE6VDP.js";
35
37
  import {
36
38
  parseHTML
37
39
  } from "./chunk-GWTIFRF5.js";
@@ -64,10 +66,7 @@ function buildTimelineAssetId(assetPath, existingIds) {
64
66
  function referenceChildren(element) {
65
67
  if (element.children.length > 0)
66
68
  return element.children;
67
- if (element.tagName.toLowerCase() !== "template")
68
- return [];
69
- const content = element.content;
70
- return content ? content.children : [];
69
+ return templateContent(element)?.children ?? [];
71
70
  }
72
71
  function documentElements(document) {
73
72
  const elements = [];
@@ -137,7 +136,7 @@ function replacementTimelineAssetId(document, element, newSrc) {
137
136
  return buildTimelineAssetId(decodedUrlPath(newSrc), ids);
138
137
  }
139
138
 
140
- // ../studio-server/dist/chunk-REQUL5L4.js
139
+ // ../studio-server/dist/chunk-EQEAOXUW.js
141
140
  var import_postcss_selector_parser = __toESM(require_dist(), 1);
142
141
  import postcss from "postcss";
143
142
  function parseStyleDecls(style) {
@@ -333,7 +332,7 @@ function isHTMLElement(el) {
333
332
  function mountsComposition(document, host, compositionId) {
334
333
  if (host.hasAttribute("data-composition-src")) return true;
335
334
  return host.children.length === 0 && querySelectorAllWithTemplates(document, "template").some(
336
- (template) => template.id === `${compositionId}-template`
335
+ (template) => isHtmlTemplate(template) && template.id === `${compositionId}-template`
337
336
  );
338
337
  }
339
338
  function dedupeClonedCompositionId(document, clone) {
@@ -28,6 +28,7 @@ import {
28
28
  checkSubCompositionUsability,
29
29
  compositionOriginSeconds,
30
30
  cutToHostSlots,
31
+ isHtmlTemplate,
31
32
  isNonRelativeUrl,
32
33
  maskImageUrlMatches,
33
34
  parseNumeric,
@@ -39,8 +40,9 @@ import {
39
40
  resolveMediaStartSeconds,
40
41
  rewriteAssetPath,
41
42
  spansOverlap,
43
+ templateContent,
42
44
  validateColorGradingContract
43
- } from "./chunk-KZ5PV5TL.js";
45
+ } from "./chunk-RADFYYSJ.js";
44
46
  import {
45
47
  COMPOSITION_VARIABLE_TYPES2 as COMPOSITION_VARIABLE_TYPES,
46
48
  FONT_ALIAS_KEYS2 as FONT_ALIAS_KEYS,
@@ -53,7 +55,7 @@ import {
53
55
  matchViewportMetaSize2 as matchViewportMetaSize,
54
56
  parseFontShorthand,
55
57
  resolveAliasDisplayName2 as resolveAliasDisplayName
56
- } from "./chunk-4NDSGKPO.js";
58
+ } from "./chunk-QURE6VDP.js";
57
59
  import {
58
60
  ancestor,
59
61
  base,
@@ -4180,11 +4182,12 @@ function isAudibleVideoTag(tagSource) {
4180
4182
  return isAudibleVideo((name) => readDecodedAttr(tagSource, name));
4181
4183
  }
4182
4184
  function mediaTimeWindow(tagSource) {
4183
- const start = Number(readAttr(tagSource, "data-start"));
4184
- const duration = Number(readAttr(tagSource, "data-duration"));
4185
4185
  if (!readAttr(tagSource, "data-start") || !readAttr(tagSource, "data-duration")) return null;
4186
- if (!Number.isFinite(start) || !Number.isFinite(duration)) return null;
4187
- return { start, end: start + duration };
4186
+ const timing = readClipTiming({
4187
+ getAttribute: (name) => readAttr(tagSource, name)
4188
+ });
4189
+ if (timing.start === null || timing.duration === null) return null;
4190
+ return { start: timing.start, end: timing.start + timing.duration };
4188
4191
  }
4189
4192
  function mediaWindowsOverlap(a, b) {
4190
4193
  if (!a || !b) return true;
@@ -8341,7 +8344,8 @@ ${allInlineStyles}`, "");
8341
8344
  ({ rawSource }) => {
8342
8345
  const { document } = parseHTML(rawSource);
8343
8346
  if (document.querySelector("[data-composition-id]")) return [];
8344
- const scenes = Array.from(document.querySelectorAll("template")).flatMap((template, index) => {
8347
+ const templates = Array.from(document.querySelectorAll("template")).filter(isHtmlTemplate);
8348
+ const scenes = templates.flatMap((template, index) => {
8345
8349
  const compositionId = parseHTML(template.innerHTML).document.querySelector("[data-composition-id]")?.getAttribute("data-composition-id");
8346
8350
  if (compositionId === void 0) return [];
8347
8351
  const id = template.getAttribute("id");
@@ -11502,7 +11506,8 @@ function collectVideoElements(html) {
11502
11506
  if (!root) continue;
11503
11507
  videos.push(...root.querySelectorAll("video"));
11504
11508
  for (const template of root.querySelectorAll("template")) {
11505
- roots.push(template.content);
11509
+ const content = templateContent(template);
11510
+ if (content) roots.push(content);
11506
11511
  }
11507
11512
  }
11508
11513
  return videos;
@@ -11693,7 +11698,7 @@ var sourceFile = (projectDir, compSrcPath) => resolve(projectDir, compSrcPath ??
11693
11698
  function querySelectorAllIncludingTemplates(root, selector) {
11694
11699
  const matches = [...root.querySelectorAll(selector)];
11695
11700
  for (const template of root.querySelectorAll("template")) {
11696
- const content = template.content;
11701
+ const content = templateContent(template);
11697
11702
  if (content) matches.push(...querySelectorAllIncludingTemplates(content, selector));
11698
11703
  }
11699
11704
  return matches;
@@ -12249,8 +12254,9 @@ function collectMainTimelineAudio(projectDir, rootHtml) {
12249
12254
  };
12250
12255
  const visit = (parent, at) => {
12251
12256
  for (const el of parent.children) {
12252
- if (el.tagName === "TEMPLATE") {
12253
- visit(el.content, at);
12257
+ const content = templateContent(el);
12258
+ if (content) {
12259
+ visit(content, at);
12254
12260
  continue;
12255
12261
  }
12256
12262
  const span = audioSpanOf(el, at.file, at.origin, at.slots);
@@ -13,18 +13,18 @@ import {
13
13
  } from "./chunk-LB6ZAP4I.js";
14
14
  import {
15
15
  registerBrowserSessionCleanup
16
- } from "./chunk-ISVZN3QT.js";
16
+ } from "./chunk-PTFS2P66.js";
17
17
  import {
18
18
  findFFmpeg,
19
19
  findFFprobe,
20
20
  getFFmpegInstallHint
21
- } from "./chunk-UNMSSSDP.js";
21
+ } from "./chunk-SIYQADDT.js";
22
22
  import {
23
23
  DEFAULT_VP9_CPU_USED,
24
24
  SDR_RGB_TO_BT709_FILTER,
25
25
  SDR_RGB_TO_TAGGED_BT709_FILTER,
26
26
  renderProvenanceArgs
27
- } from "./chunk-HBZH2LAU.js";
27
+ } from "./chunk-4G6ETZGT.js";
28
28
  import {
29
29
  runCancellableProcess
30
30
  } from "./chunk-L3FQUUS6.js";
@@ -433,7 +433,7 @@ async function decoderTransposesDimensions(inputPath) {
433
433
  }
434
434
  async function probeMedia(inputPath) {
435
435
  const isImage = inferInputKind(inputPath) === "image";
436
- const engine = await import("./src-PLBQVHOG.js");
436
+ const engine = await import("./src-HNWPFFTJ.js");
437
437
  const meta = await engine.extractMediaMetadata(inputPath);
438
438
  if (isImage) {
439
439
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -582,14 +582,27 @@ function rewriteCssAssetUrls(cssText, compSrcPath, assetExists, charge) {
582
582
  }
583
583
 
584
584
  // ../parsers/dist/subCompositionValidity.js
585
+ function isHtmlTemplate(el) {
586
+ return el.localName === "template" && "content" in el;
587
+ }
588
+ function templateContent(el) {
589
+ return isHtmlTemplate(el) ? el.content ?? null : null;
590
+ }
591
+ function firstHtmlTemplate(templates) {
592
+ return Array.from(templates).find(isHtmlTemplate);
593
+ }
594
+ function firstTemplateContent(root) {
595
+ const template = firstHtmlTemplate(root.querySelectorAll("template"));
596
+ return template ? templateContent(template) : null;
597
+ }
585
598
  function findSceneTemplate(templates) {
586
599
  return Array.from(templates).find(
587
- (template) => template.content.querySelector("[data-composition-id]") != null
600
+ (template) => templateContent(template)?.querySelector("[data-composition-id]") != null
588
601
  );
589
602
  }
590
603
  function resolveSubCompositionContent(html, document) {
591
604
  const templates = Array.from(document.querySelectorAll("template"));
592
- const template = findSceneTemplate(templates) ?? templates[0];
605
+ const template = findSceneTemplate(templates) ?? firstHtmlTemplate(templates);
593
606
  if (template) return { contentHtml: template.innerHTML ?? "", hasTemplate: true };
594
607
  const body = document.querySelector("body");
595
608
  if (body) return { contentHtml: body.innerHTML ?? "", hasTemplate: false };
@@ -1625,6 +1638,10 @@ export {
1625
1638
  rewriteAssetPaths,
1626
1639
  rewriteInlineStyleAssetUrls,
1627
1640
  rewriteCssAssetUrls,
1641
+ isHtmlTemplate,
1642
+ templateContent,
1643
+ firstHtmlTemplate,
1644
+ firstTemplateContent,
1628
1645
  findSceneTemplate,
1629
1646
  resolveSubCompositionContent,
1630
1647
  checkSubCompositionUsability,
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  refreshIfNeeded
9
- } from "./chunk-SSVUBWCH.js";
9
+ } from "./chunk-SHSV4D5H.js";
10
10
  import {
11
11
  envCredentialVar,
12
12
  isTokenExpired,
13
13
  tryResolveCredential
14
- } from "./chunk-CL2W6KRU.js";
14
+ } from "./chunk-5DP7YCWJ.js";
15
15
  import {
16
16
  buildAuthHeaders
17
17
  } from "./chunk-CJGFAAQM.js";
@@ -45,7 +45,7 @@ import {
45
45
  } from "./chunk-OGL5VQGT.js";
46
46
  import {
47
47
  projectIgnore
48
- } from "./chunk-IIUGI5TK.js";
48
+ } from "./chunk-R6ARS4HA.js";
49
49
  import {
50
50
  collectSubCompositionSrcs,
51
51
  decodeTextHonoringBom,
@@ -58,11 +58,11 @@ import {
58
58
  isPathInside,
59
59
  replaceMatches,
60
60
  rewriteSrcsetUrls
61
- } from "./chunk-KZ5PV5TL.js";
61
+ } from "./chunk-RADFYYSJ.js";
62
62
  import {
63
63
  decodeUrlPathVariants,
64
64
  encodeUrlPath
65
- } from "./chunk-4NDSGKPO.js";
65
+ } from "./chunk-QURE6VDP.js";
66
66
  import {
67
67
  parseHTML
68
68
  } from "./chunk-GWTIFRF5.js";
@@ -10,7 +10,7 @@ import {
10
10
  SourceIgnoreError,
11
11
  ownerOf,
12
12
  reviewSentence
13
- } from "./chunk-W4ORI6T3.js";
13
+ } from "./chunk-V73KBGAQ.js";
14
14
  import {
15
15
  isAuthError
16
16
  } from "./chunk-DMW5SSUN.js";
@@ -16,7 +16,7 @@ import {
16
16
  round,
17
17
  runFfmpeg,
18
18
  sumOf
19
- } from "./chunk-2IIMKKDD.js";
19
+ } from "./chunk-KETQDHMC.js";
20
20
  import {
21
21
  verifies
22
22
  } from "./chunk-RZ6CXJ56.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  afterRefreshFailure,
9
9
  resolveCredential
10
- } from "./chunk-CL2W6KRU.js";
10
+ } from "./chunk-5DP7YCWJ.js";
11
11
  import {
12
12
  apiBaseUrl,
13
13
  buildAuthHeaders,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getCachedGpuEncoder
9
- } from "./chunk-HBZH2LAU.js";
9
+ } from "./chunk-4G6ETZGT.js";
10
10
  import {
11
11
  runCancellableProcess
12
12
  } from "./chunk-L3FQUUS6.js";
@@ -8,12 +8,12 @@ import {
8
8
  normalizeRelPath,
9
9
  resolveLocalImageSourcePath,
10
10
  splitUrlSuffix
11
- } from "./chunk-46S73TBZ.js";
11
+ } from "./chunk-3HYTYYIB.js";
12
12
  import {
13
13
  runFfmpeg,
14
14
  runFfprobe,
15
15
  urlInputArgs
16
- } from "./chunk-HBZH2LAU.js";
16
+ } from "./chunk-4G6ETZGT.js";
17
17
  import {
18
18
  renameWithRetry
19
19
  } from "./chunk-NIEOUHVQ.js";
@@ -163,7 +163,22 @@ function getAvailableMemoryMb() {
163
163
  return fallback;
164
164
  }
165
165
  function usableCpuCount() {
166
- return availableParallelism();
166
+ if (getCgroupCpuLimit() === null) return availableParallelism();
167
+ const affinity = countCpuList(readCgroupFile("/proc/self/status"));
168
+ return affinity === null ? availableParallelism() : Math.min(affinity, cpus().length);
169
+ }
170
+ function cpuBudget() {
171
+ const quota = getCgroupCpuLimit();
172
+ return Math.max(1, Math.min(usableCpuCount(), quota === null ? Infinity : Math.floor(quota)));
173
+ }
174
+ function countCpuList(status) {
175
+ const list = status?.match(/^Cpus_allowed_list:\s*(\S+)/m)?.[1];
176
+ if (!list) return null;
177
+ const count = list.split(",").reduce((sum, range) => {
178
+ const [first, last = first] = range.split("-").map(Number);
179
+ return sum + last - first + 1;
180
+ }, 0);
181
+ return count > 0 ? count : null;
167
182
  }
168
183
  function hostCpuCount() {
169
184
  return cpus().length;
@@ -177,5 +192,6 @@ export {
177
192
  isLowMemorySystem,
178
193
  getAvailableMemoryMb,
179
194
  usableCpuCount,
195
+ cpuBudget,
180
196
  hostCpuCount
181
197
  };