hyperframes 0.9.64 → 0.9.66

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 (336) hide show
  1. package/dist/{add-VFWLLECU.js → add-Q4W2PAZ6.js} +22 -21
  2. package/dist/{agentPromptGenerator-FEZHETMZ.js → agentPromptGenerator-BZ77OPI4.js} +14 -13
  3. package/dist/{animatedGifPrep-JZPLKKB6.js → animatedGifPrep-3UBRNEEA.js} +15 -14
  4. package/dist/api.js +56 -53
  5. package/dist/{appHistory-AMDQO54F.js → appHistory-EWII7S5X.js} +4 -4
  6. package/dist/{asset-W6CMIIDB.js → asset-ZRTGYYEN.js} +10 -8
  7. package/dist/{assetCataloger-POC644N7.js → assetCataloger-GTSOUOBQ.js} +15 -14
  8. package/dist/{audio-QLPRSLD4.js → audio-ZUW3RHEO.js} +30 -28
  9. package/dist/{auth-UD5JKJ3M.js → auth-TE5FMKUT.js} +4 -4
  10. package/dist/{autoUpdate-WNTJWEIH.js → autoUpdate-6JGNDMLP.js} +24 -10
  11. package/dist/{avatars-BUQDDQZ2.js → avatars-BJEF4TZR.js} +25 -23
  12. package/dist/{backgroundChecks-AYK6ADD4.js → backgroundChecks-EN5XLRLY.js} +3 -3
  13. package/dist/backgroundChecksWorker.js +3 -3
  14. package/dist/{batchRender-FZPZFGKB.js → batchRender-EEMYIEYR.js} +13 -10
  15. package/dist/{beats-EA7NEYGM.js → beats-IPGSP5BV.js} +14 -13
  16. package/dist/{benchmark-WGYT2WAG.js → benchmark-GZOATIPM.js} +25 -22
  17. package/dist/{billing-A2WKV5BH.js → billing-3LF2YYP7.js} +22 -20
  18. package/dist/{browser-DH3KXV4V.js → browser-2IH45NN6.js} +14 -13
  19. package/dist/{bundleWithLocalizedFonts-C5IIR6CQ.js → bundleWithLocalizedFonts-QV6WDOXF.js} +1 -1
  20. package/dist/{capture-Y7HEXFSY.js → capture-4SIGWC4Q.js} +10 -9
  21. package/dist/{capture-SPZCSPCC.js → capture-K75SADNY.js} +27 -26
  22. package/dist/{captureCompositionFrame-HBDM6FHB.js → captureCompositionFrame-XVEPPU4X.js} +22 -21
  23. package/dist/{captureFile-FNCMGYYJ.js → captureFile-GYZI5Y56.js} +3 -3
  24. package/dist/{catalog-GUACPRZO.js → catalog-6N22YQEE.js} +22 -21
  25. package/dist/{catch-up-7AC2W75E.js → catch-up-67LVADSA.js} +14 -13
  26. package/dist/{check-S7X45EVG.js → check-NYD3WGR2.js} +57 -53
  27. package/dist/{checkAudio-RGMZTJIM.js → checkAudio-APZTSEHX.js} +17 -16
  28. package/dist/{checkBrowser-4SDR745B.js → checkBrowser-2UA6O65I.js} +49 -45
  29. package/dist/{chunk-DWP5EIUS.js → chunk-244FN6TG.js} +2 -1
  30. package/dist/{chunk-3JVTHNDH.js → chunk-2FEZFXKE.js} +1 -1
  31. package/dist/{chunk-J5PZTR45.js → chunk-2OSPWUGX.js} +99 -33
  32. package/dist/{chunk-TY7WOSVR.js → chunk-2UIAN6N7.js} +2 -2
  33. package/dist/{chunk-KXE3JVEZ.js → chunk-2Z7IW5EY.js} +2 -2
  34. package/dist/{chunk-WDTX4PG5.js → chunk-35BZXE5L.js} +1 -1
  35. package/dist/{chunk-2PKURSBE.js → chunk-37SEGJEO.js} +11 -11
  36. package/dist/{chunk-Y6NTMCRF.js → chunk-3B4WQYCW.js} +6 -6
  37. package/dist/{chunk-6XGM5GHR.js → chunk-3BKNPN36.js} +56 -7
  38. package/dist/{chunk-GNKUAJXO.js → chunk-3ODOQWSB.js} +12 -7
  39. package/dist/{chunk-NORROE4L.js → chunk-3WE4UZHN.js} +2 -2
  40. package/dist/{chunk-LN36F5DC.js → chunk-4IIPERO4.js} +3 -3
  41. package/dist/{chunk-FHIOPTN4.js → chunk-4SY34UA2.js} +1 -1
  42. package/dist/{chunk-7R7OCEHI.js → chunk-4WUTXBRK.js} +6 -6
  43. package/dist/{chunk-RC2DDVX5.js → chunk-5E46EQ3U.js} +2 -2
  44. package/dist/{chunk-TVSB4K5O.js → chunk-5UOYRGKV.js} +2 -2
  45. package/dist/{chunk-UL2EO5VU.js → chunk-5WZSXP6R.js} +1 -1
  46. package/dist/{chunk-X63QVLMJ.js → chunk-64O3DG3E.js} +1 -1
  47. package/dist/{chunk-RO4RY5YB.js → chunk-66D5BC5K.js} +39 -11
  48. package/dist/{chunk-C6J6TZSW.js → chunk-6ACARSAZ.js} +1 -1
  49. package/dist/{chunk-WLAMY4XL.js → chunk-6PGDI5NG.js} +206 -95
  50. package/dist/{chunk-PEWBM2XF.js → chunk-6PYUPO4M.js} +4 -4
  51. package/dist/{chunk-CUGK6ZF6.js → chunk-6QITYZN7.js} +2 -2
  52. package/dist/{chunk-LWNHZUYJ.js → chunk-6QZNF3JF.js} +67 -32
  53. package/dist/chunk-6SYJN2KD.js +15 -0
  54. package/dist/{chunk-777GBBTE.js → chunk-6VNN3SYK.js} +1 -1
  55. package/dist/{chunk-RRIAHUG3.js → chunk-745HLQBA.js} +1 -1
  56. package/dist/{chunk-7WA77KXG.js → chunk-74M47HVE.js} +2 -2
  57. package/dist/{chunk-JFIN5P4E.js → chunk-7BREEOLQ.js} +16 -16
  58. package/dist/{chunk-BVA3NEQC.js → chunk-7CKKKBNM.js} +2 -2
  59. package/dist/{chunk-ASML5H5V.js → chunk-7EOREMZI.js} +12 -12
  60. package/dist/{chunk-DAN5KKFR.js → chunk-7LQFVACU.js} +1 -1
  61. package/dist/{chunk-VCTPYHOD.js → chunk-7QNCNGN6.js} +2 -2
  62. package/dist/{chunk-ZUYNFADS.js → chunk-A6O65H7G.js} +4 -4
  63. package/dist/{chunk-IW7QUJDU.js → chunk-AAZF6D3Z.js} +1 -1
  64. package/dist/{chunk-NHF32RRC.js → chunk-AI4MXYGK.js} +1 -1
  65. package/dist/{chunk-YT43XMYD.js → chunk-AI5KNXSL.js} +8 -8
  66. package/dist/{chunk-ZJQ23DJQ.js → chunk-AQBWVIT7.js} +1 -1
  67. package/dist/{chunk-NMYYW6QM.js → chunk-AQNI4TCF.js} +23 -15
  68. package/dist/{chunk-4HPXVTWY.js → chunk-AWOHPIKF.js} +9 -9
  69. package/dist/{chunk-NSRLO47G.js → chunk-BSY6ZHP6.js} +2 -2
  70. package/dist/{chunk-B2ZFTAZE.js → chunk-CANVWJB4.js} +101 -28
  71. package/dist/{chunk-NVE5ZPIV.js → chunk-CEHYC2UD.js} +3 -3
  72. package/dist/chunk-CINXWHRB.js +25 -0
  73. package/dist/{chunk-HYO4DIYT.js → chunk-CPQTWPMM.js} +1 -1
  74. package/dist/{chunk-ZAJ5SIG2.js → chunk-CTDCYNVK.js} +2 -2
  75. package/dist/{chunk-YV6I32RM.js → chunk-CUOX3TDY.js} +3 -3
  76. package/dist/{chunk-KRE7VIQV.js → chunk-D5YHSTHZ.js} +9 -16
  77. package/dist/{chunk-OM3PJLUG.js → chunk-DPMEWIVZ.js} +4 -4
  78. package/dist/{chunk-YFTPZZEE.js → chunk-DZ3JB4F3.js} +2 -2
  79. package/dist/{chunk-M4WT65UD.js → chunk-EIION6EA.js} +2 -2
  80. package/dist/{chunk-TU4IITMO.js → chunk-EPBYIJPM.js} +3 -3
  81. package/dist/{chunk-XO55FUXZ.js → chunk-ESYW3LJU.js} +2 -2
  82. package/dist/{chunk-GKRD43J2.js → chunk-FAJRDYFU.js} +6 -6
  83. package/dist/{chunk-HFRB7UTK.js → chunk-FBOKUG5B.js} +5 -5
  84. package/dist/{chunk-JGEDH5GJ.js → chunk-FCNBAYZ6.js} +3 -3
  85. package/dist/{chunk-XDVHQFEQ.js → chunk-FOALZ4MW.js} +1 -1
  86. package/dist/{chunk-KGPLIH7B.js → chunk-G37O3IZB.js} +1 -0
  87. package/dist/{chunk-GDKNEQ4E.js → chunk-GGY5M6BU.js} +1 -1
  88. package/dist/{chunk-HU2SPFNG.js → chunk-GHS4ZYQX.js} +1 -1
  89. package/dist/{chunk-NDXUDTLF.js → chunk-GXKCFOMR.js} +2 -2
  90. package/dist/{chunk-MH7FQ6N7.js → chunk-H6LFXHAV.js} +7 -7
  91. package/dist/{chunk-HC5GAPIW.js → chunk-HMNDJPLQ.js} +3 -3
  92. package/dist/{chunk-A6AH56HN.js → chunk-HYQ6S7R6.js} +2 -2
  93. package/dist/{chunk-LGIWC6KN.js → chunk-IUUEMVZV.js} +3 -3
  94. package/dist/{chunk-T7U6D2UW.js → chunk-IXGZSANV.js} +2 -2
  95. package/dist/{chunk-EMIOIMHN.js → chunk-IXSCGQS5.js} +1 -1
  96. package/dist/{chunk-ETMGDJ5P.js → chunk-JDJ6BM5E.js} +2 -2
  97. package/dist/{chunk-QQZ7DCAA.js → chunk-JGKI7FHX.js} +143 -47
  98. package/dist/{chunk-JYWFQ42F.js → chunk-JHPOKDZI.js} +13 -13
  99. package/dist/{chunk-YGO6PEYX.js → chunk-JK7JON6R.js} +1 -1
  100. package/dist/{chunk-UAM6PRKO.js → chunk-K2NOQNNY.js} +1 -1
  101. package/dist/{chunk-FWVJW5WC.js → chunk-KDQRJHLU.js} +4 -4
  102. package/dist/{chunk-ERM3UC6T.js → chunk-KFWSPEDG.js} +1 -1
  103. package/dist/{chunk-LUDXZKNH.js → chunk-KXCAIQE4.js} +10 -10
  104. package/dist/{chunk-IH2C53YV.js → chunk-KZ5PV5TL.js} +11 -9
  105. package/dist/{chunk-Q4FVSYTD.js → chunk-L3FQUUS6.js} +1 -1
  106. package/dist/{chunk-2PIQTMWA.js → chunk-L7BY2FDJ.js} +30 -23
  107. package/dist/{chunk-4YMMTQ45.js → chunk-LAXD6VM7.js} +10 -10
  108. package/dist/{chunk-5BNKWHG6.js → chunk-LBFV45YF.js} +1 -1
  109. package/dist/{chunk-FXMKHHPO.js → chunk-LIHELBPB.js} +0 -61
  110. package/dist/{chunk-ZM66CP4T.js → chunk-LIXAC5NE.js} +15 -15
  111. package/dist/{chunk-CFOPRL62.js → chunk-LNOG6KKM.js} +7 -7
  112. package/dist/{chunk-YWUE4CRU.js → chunk-LWX5PI73.js} +7 -7
  113. package/dist/{chunk-UJN7LD7Q.js → chunk-M4ABCFJO.js} +4 -4
  114. package/dist/{chunk-7G6OHKDZ.js → chunk-MEZAMIT6.js} +9 -9
  115. package/dist/{chunk-3PXZPI6I.js → chunk-MG7UJJCP.js} +29 -11
  116. package/dist/{chunk-Y7S7XM5T.js → chunk-MH46RGG6.js} +1 -1
  117. package/dist/{chunk-JXVUSNAG.js → chunk-MKZ73C57.js} +4 -4
  118. package/dist/{chunk-RIETR6VC.js → chunk-N6VNR4YE.js} +54 -17
  119. package/dist/{chunk-K6ARLNKJ.js → chunk-NIEOUHVQ.js} +1 -1
  120. package/dist/{chunk-K2FH6FRK.js → chunk-NMASYQXY.js} +3 -3
  121. package/dist/{chunk-G2US34LC.js → chunk-NOCU3FBX.js} +5 -5
  122. package/dist/{chunk-FZLY56DP.js → chunk-NSADX4IV.js} +19 -3
  123. package/dist/{chunk-D62TF745.js → chunk-OB56G4VA.js} +3 -3
  124. package/dist/{chunk-U2FL2MTE.js → chunk-OGL5VQGT.js} +4 -2
  125. package/dist/{chunk-7OVPWTCJ.js → chunk-OI5WGQE3.js} +5 -5
  126. package/dist/{chunk-3X72Y7FR.js → chunk-OMFIMZZD.js} +5 -5
  127. package/dist/chunk-PWRUMN7B.js +71 -0
  128. package/dist/{chunk-5F7M7PYP.js → chunk-PXMEW6TM.js} +3 -3
  129. package/dist/{chunk-5NSZ5XPH.js → chunk-QSQNXAHE.js} +1 -1
  130. package/dist/{chunk-LZDRK67I.js → chunk-R5C2CV7J.js} +5 -5
  131. package/dist/chunk-RAHYMZNU.js +5146 -0
  132. package/dist/{chunk-FO3FSJBJ.js → chunk-RD3DE4ZP.js} +2 -2
  133. package/dist/{chunk-MHEO2LYC.js → chunk-RHZE7BIX.js} +3 -3
  134. package/dist/{chunk-I3R2E6SE.js → chunk-ROODLZY7.js} +10 -10
  135. package/dist/{chunk-J5VEGTHN.js → chunk-RRGRETJ4.js} +2 -2
  136. package/dist/{chunk-WC6L7F3Z.js → chunk-S73AVUHJ.js} +1 -1
  137. package/dist/{chunk-3WHPQNTD.js → chunk-SITGBEFO.js} +41 -34
  138. package/dist/{chunk-5N7RRWIP.js → chunk-TIGMUHSL.js} +15 -11
  139. package/dist/{chunk-Q76FGC6A.js → chunk-TMB4L4GG.js} +5 -3
  140. package/dist/{chunk-QUAK4OPT.js → chunk-TQYHQKOK.js} +1 -1
  141. package/dist/{chunk-RZREOKHK.js → chunk-TU2WFCGS.js} +9 -2
  142. package/dist/{chunk-XKPBY4G2.js → chunk-TUJB74AE.js} +22 -27
  143. package/dist/{chunk-JO25BSM3.js → chunk-TXTVVIW7.js} +3 -3
  144. package/dist/{chunk-B7B7SGPV.js → chunk-TZ3EPV4B.js} +1 -1
  145. package/dist/{chunk-TPIQDAHD.js → chunk-U3WUAVAX.js} +3 -3
  146. package/dist/{chunk-TFAKFI3R.js → chunk-U6ZR7GBQ.js} +3 -3
  147. package/dist/{chunk-GFT3OQ33.js → chunk-UCQTLZDJ.js} +2 -2
  148. package/dist/{chunk-X3VHHQYM.js → chunk-ULE2EYEY.js} +2 -2
  149. package/dist/{chunk-S35RUNXJ.js → chunk-UVW5ZDAP.js} +4 -2
  150. package/dist/{chunk-KFR67U7E.js → chunk-VBLKGDVI.js} +1 -1
  151. package/dist/{chunk-A7NRMVUG.js → chunk-VTP3TBRY.js} +23 -42
  152. package/dist/{chunk-BQKQPYEP.js → chunk-W672RTMC.js} +8 -8
  153. package/dist/{chunk-4K6VNWJS.js → chunk-WMJ3PV37.js} +1 -1
  154. package/dist/{chunk-L5V57765.js → chunk-WWQWDRKU.js} +1 -1
  155. package/dist/{chunk-4I4ACRCU.js → chunk-WY6354ZO.js} +4 -4
  156. package/dist/{chunk-OKQ5OUJH.js → chunk-X3JZA7KH.js} +9 -9
  157. package/dist/{chunk-WMBZFHHZ.js → chunk-XEIVSW2F.js} +7 -7
  158. package/dist/{chunk-SREN5WTO.js → chunk-XKIXRSVB.js} +3 -3
  159. package/dist/{chunk-FNOAIEQC.js → chunk-XMKDDEX4.js} +7 -7
  160. package/dist/{chunk-DO6R4KYL.js → chunk-XNJEXXKC.js} +2 -2
  161. package/dist/{chunk-BXNWMRZL.js → chunk-XSARHJSW.js} +2 -2
  162. package/dist/{chunk-MY2XJULG.js → chunk-XTKNMYRR.js} +2 -2
  163. package/dist/{chunk-3FOIZLN4.js → chunk-Y4QE4LEB.js} +1 -1
  164. package/dist/{chunk-KR7FV3WD.js → chunk-Y57R6C5U.js} +4 -4
  165. package/dist/{chunk-IVAMWDMR.js → chunk-Y6A5LED6.js} +2 -2
  166. package/dist/{chunk-RO6MNXKE.js → chunk-YMSOS6CF.js} +1 -1
  167. package/dist/{chunk-KLIV2W5D.js → chunk-ZHIAAYY2.js} +4 -4
  168. package/dist/chunk-ZQPXWUCP.js +141 -0
  169. package/dist/{chunk-Z6BSZ2HK.js → chunk-ZS2ROUIG.js} +2 -2
  170. package/dist/{chunk-L3LVTSHX.js → chunk-ZY55U6ER.js} +8 -8
  171. package/dist/{clean-ROGNMYHH.js → clean-73IDEWIJ.js} +31 -29
  172. package/dist/cli.js +72 -71
  173. package/dist/{cloud-3A3ASGKH.js → cloud-P32MAEIJ.js} +4 -4
  174. package/dist/{cloud-SGY2DYTO.js → cloud-SOZPWTDL.js} +14 -12
  175. package/dist/{cloudrun-AU2TSYBU.js → cloudrun-H5TW5T4R.js} +9 -8
  176. package/dist/{compare-DARUHTKS.js → compare-BQSDHPZ3.js} +50 -49
  177. package/dist/{compiler-XLAW2M77.js → compiler-WNVDGRBH.js} +9 -6
  178. package/dist/{component-LHP7MJ3L.js → component-WWICYJFN.js} +18 -13
  179. package/dist/{compositions-BMQ4NTWM.js → compositions-VEMHHQR6.js} +22 -19
  180. package/dist/{contactSheet-JFEV75W2.js → contactSheet-G42BMJXO.js} +4 -4
  181. package/dist/{curve-FNX3ONSD.js → curve-5SCSMYX4.js} +20 -19
  182. package/dist/{cuts-HQI2ZBOS.js → cuts-POUL3RQ5.js} +21 -20
  183. package/dist/{delete-EDIDKV7H.js → delete-NVS5PXRM.js} +21 -17
  184. package/dist/{deploy-KFOOAJEE.js → deploy-SPJ5OWAI.js} +9 -16
  185. package/dist/{describeProject-A2TZSHVH.js → describeProject-KJGRR7FM.js} +15 -14
  186. package/dist/{destroy-LSQUDIVA.js → destroy-CPLVCITS.js} +6 -6
  187. package/dist/{deterministicFonts-XCYIRDQZ.js → deterministicFonts-645ILNLP.js} +3 -3
  188. package/dist/{diff-PRT5CIDJ.js → diff-O2JUFV2N.js} +51 -49
  189. package/dist/{dist-UIIZKERM.js → dist-DCRKIIL4.js} +18 -17
  190. package/dist/{dist-YXDW5VUV.js → dist-TTOW2KVO.js} +11 -9
  191. package/dist/{dist-VPMEUGIV.js → dist-XRESUN6B.js} +3 -3
  192. package/dist/docker/Dockerfile.render +1 -1
  193. package/dist/{doctor-TQ3RNOYK.js → doctor-L5GGDS2F.js} +21 -19
  194. package/dist/{dotEnv-2VNMLGZC.js → dotEnv-7P4XI4ID.js} +11 -6
  195. package/dist/{energy-F7FS75TV.js → energy-43JTPLLL.js} +21 -20
  196. package/dist/{events-23GP74FO.js → events-33NDGOZM.js} +23 -22
  197. package/dist/{events-VN7QW7JU.js → events-K576EL47.js} +9 -8
  198. package/dist/{events-LJIO2U6Z.js → events-XRO5CFTD.js} +4 -3
  199. package/dist/{execute-GZLBWOFB.js → execute-EWZ3WK3L.js} +44 -43
  200. package/dist/{extract-NJSXJFB2.js → extract-NW375CQM.js} +22 -21
  201. package/dist/{face-JQBXWNMX.js → face-AVVUVV5L.js} +22 -21
  202. package/dist/{face-HJNH6TQM.js → face-IVXIPAO5.js} +19 -18
  203. package/dist/{feedback-T3WYFTGI.js → feedback-MS34KB74.js} +26 -24
  204. package/dist/{ffmpeg-HYYDF4FH.js → ffmpeg-I376KCKD.js} +15 -14
  205. package/dist/{figma-T5PCTXP7.js → figma-M37MXYPR.js} +3 -3
  206. package/dist/fontLocalizeCli.js +19 -18
  207. package/dist/{frames-QTYTUQ52.js → frames-6VGAHZBO.js} +23 -22
  208. package/dist/{generate-RNUZUNHG.js → generate-TM7AOJ27.js} +37 -35
  209. package/dist/{get-KP5FCZKQ.js → get-2JAJO7AP.js} +21 -17
  210. package/dist/{gpuPolicy-F7RTO2CS.js → gpuPolicy-DEH3KKNF.js} +13 -12
  211. package/dist/{grade-compare-55ZWESO7.js → grade-compare-UN6MPWVF.js} +47 -46
  212. package/dist/{hands-XZFTUVNT.js → hands-ANSG7WHU.js} +24 -23
  213. package/dist/{heifImagePrep-7T6EC2VL.js → heifImagePrep-YC3ZMWUC.js} +16 -15
  214. package/dist/{help-U36MZKGG.js → help-63QQYCMJ.js} +1 -1
  215. package/dist/{history-RFJGLXYS.js → history-DRSL755Q.js} +18 -17
  216. package/dist/hyperframe.manifest.json +1 -1
  217. package/dist/hyperframe.runtime.iife.js +72 -71
  218. package/dist/hyperframes-player.global.js +3 -3
  219. package/dist/{index-gen-3DWPA4FO.js → index-gen-TXP67YUY.js} +13 -1
  220. package/dist/{info-3NB5HOAS.js → info-UNIWLP7I.js} +21 -20
  221. package/dist/{init-H5L3KVSO.js → init-3W3XSGXC.js} +46 -44
  222. package/dist/{ink-C7YJAB4M.js → ink-OXJJIEQ7.js} +21 -20
  223. package/dist/{inspect-4LNO7C77.js → inspect-UOXP5ICV.js} +50 -46
  224. package/dist/{installer-WALAPPWF.js → installer-OWZSFVV2.js} +10 -9
  225. package/dist/{keyframes-FORZG2IO.js → keyframes-LNCXSQJ6.js} +23 -22
  226. package/dist/{lambda-PKVT2D45.js → lambda-3ZIM5NW2.js} +22 -21
  227. package/dist/{launch-PXZF4TSU.js → launch-HOSRCHWS.js} +15 -14
  228. package/dist/{layout-7BKIDH5L.js → layout-MRBHBZEA.js} +50 -46
  229. package/dist/{lint-ODMVBKA5.js → lint-U4PINYKO.js} +16 -15
  230. package/dist/{lintProject-XEWYQ2YP.js → lintProject-55U44GOP.js} +3 -3
  231. package/dist/{list-B223YD2L.js → list-AMH6UUTI.js} +27 -21
  232. package/dist/{live-WWPFZQ74.js → live-ZSDUN6U2.js} +1 -1
  233. package/dist/{localPage-GNT4KO7M.js → localPage-JJ56YNKB.js} +14 -13
  234. package/dist/{login-DTYGRX6S.js → login-U42SSWF4.js} +15 -13
  235. package/dist/{logout-WNVEAWWZ.js → logout-DQVPSI4E.js} +11 -9
  236. package/dist/{look-WGDSVD5A.js → look-6VTGMGIF.js} +21 -20
  237. package/dist/{manager-OMDGEDU2.js → manager-GHP2QIUD.js} +17 -16
  238. package/dist/{manager-C5S25OOK.js → manager-PXRZQDDT.js} +4 -4
  239. package/dist/{measure-UMINPIOA.js → measure-NC4LN7EZ.js} +12 -12
  240. package/dist/{media-6Y6RGH6H.js → media-VKM5WFRK.js} +21 -16
  241. package/dist/{media-treatment-CVVCARD4.js → media-treatment-VNZS2MIT.js} +28 -27
  242. package/dist/{media-use-4CDI2VV5.js → media-use-JOQWGBS5.js} +18 -13
  243. package/dist/{models-3DMHZYLD.js → models-S55TNWF7.js} +24 -22
  244. package/dist/{motionShot-EB2RQLG3.js → motionShot-OUOXFKUG.js} +26 -25
  245. package/dist/{normalize-KYVBGCEM.js → normalize-AH7CCULG.js} +3 -3
  246. package/dist/{normalize-audio-J5PRW2T2.js → normalize-audio-GYTTK5QE.js} +16 -15
  247. package/dist/{oauth-E5QBYYTX.js → oauth-RETRT7QD.js} +2 -1
  248. package/dist/{open-CTEBHEQB.js → open-KGXPI4BY.js} +35 -28
  249. package/dist/{parakeetRunner-JTYOFSEH.js → parakeetRunner-IXUUFPGG.js} +26 -24
  250. package/dist/{pipeline-MTFGTQBG.js → pipeline-UE2Y2ZRB.js} +18 -17
  251. package/dist/{plan-KWQMZCRP.js → plan-AD4FZA6N.js} +29 -28
  252. package/dist/{play-QAD7NEJH.js → play-G6JYDYIH.js} +45 -38
  253. package/dist/{preflight-FRZEYCAM.js → preflight-QNDXHMOT.js} +18 -16
  254. package/dist/{present-A236DAR5.js → present-OK7QMCLR.js} +42 -37
  255. package/dist/{preview-T7R3Y2P7.js → preview-XD7J2KHY.js} +69 -66
  256. package/dist/{privateProjectFile-6ZDCWIFO.js → privateProjectFile-2WJ6GPY6.js} +14 -11
  257. package/dist/{probe-DRYUMUVG.js → probe-34RS6LVV.js} +21 -20
  258. package/dist/processes.ps1 +20 -0
  259. package/dist/{producer-XGWE7D4U.js → producer-AX7EDIPJ.js} +1 -1
  260. package/dist/{progress-2FZHJMQ2.js → progress-WLBIHCZM.js} +4 -4
  261. package/dist/{projectConfig-V27XJAAR.js → projectConfig-YBFY4W5A.js} +13 -12
  262. package/dist/{publication-6GJPFPQK.js → publication-JPKV2ZQO.js} +8 -7
  263. package/dist/{publish-X32RPL6L.js → publish-LRUVQX2E.js} +38 -33
  264. package/dist/{receivedRecordFollow-3ZT7SRRY.js → receivedRecordFollow-6MPKPG36.js} +16 -15
  265. package/dist/{refresh-OD5KKKQ5.js → refresh-HFE7YV57.js} +11 -9
  266. package/dist/{remove-background-FC3B3BLA.js → remove-background-TS4QUALS.js} +19 -18
  267. package/dist/{render-6VLPVVIF.js → render-NYFK74KL.js} +13 -12
  268. package/dist/{render-WZ2LHRIR.js → render-PSUJ4UCJ.js} +71 -69
  269. package/dist/{render-GMINWEBY.js → render-UQICTWO6.js} +57 -52
  270. package/dist/{render-batch-F4WR3T2E.js → render-batch-57ZDTS7Z.js} +13 -12
  271. package/dist/renderSetupWorker.js +10 -9
  272. package/dist/{resolver-ZJTCLGJB.js → resolver-3HJC4XU3.js} +10 -9
  273. package/dist/{reverse-XDKTYZEM.js → reverse-CIMYQVFI.js} +1 -1
  274. package/dist/{run-5LP7BKUF.js → run-EFRNU53Z.js} +14 -12
  275. package/dist/{screenshotCapture-72HYLPYD.js → screenshotCapture-K63UAXO7.js} +16 -15
  276. package/dist/{service-DWVOCGDO.js → service-EEEGLRHX.js} +24 -22
  277. package/dist/{share-K6FYZ7OP.js → share-WQVRXWH4.js} +28 -26
  278. package/dist/{sherpa-4TUAQ25R.js → sherpa-BOHH3Q32.js} +25 -23
  279. package/dist/sherpaWorker.js +5 -5
  280. package/dist/{sites-SUB3WQRQ.js → sites-2IEQMGTW.js} +4 -4
  281. package/dist/skills/hyperframes/references/plugin-installation.md +11 -2
  282. package/dist/skills/hyperframes/references/skill-lifecycle.md +12 -3
  283. package/dist/skills/hyperframes/scripts/plugin-cli.mjs +44 -10
  284. package/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +1 -1
  285. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +35 -51
  286. package/dist/skills/media-use/scripts/lib/codex-provider.mjs +17 -10
  287. package/dist/skills/media-use/scripts/lib/cube-validate.mjs +2 -1
  288. package/dist/skills/media-use/scripts/lib/index-gen.mjs +4 -2
  289. package/dist/skills/media-use/scripts/lib/ltx-video-provider.mjs +6 -4
  290. package/dist/skills/media-use/scripts/lib/mflux-provider.mjs +6 -4
  291. package/dist/skills/media-use/scripts/lib/private-output.mjs +21 -0
  292. package/dist/skills/media-use/scripts/lib/received-env.d.mts +5 -0
  293. package/dist/skills/media-use/scripts/lib/received-env.mjs +567 -0
  294. package/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +9 -4
  295. package/dist/skills/media-use/scripts/resolve.mjs +36 -19
  296. package/dist/{skills-OEYS3FEC.js → skills-KB7UH26E.js} +12 -11
  297. package/dist/{skillsUpdateCheck-RFHPBIPU.js → skillsUpdateCheck-ZDA5FPJB.js} +3 -3
  298. package/dist/{snapshot-VJXNZMJZ.js → snapshot-HRR6LIPD.js} +93 -189
  299. package/dist/snapshotHeldVideos-QGJBXBJM.js +63 -0
  300. package/dist/{src-TDYI7QIO.js → src-FCITTGFH.js} +12 -11
  301. package/dist/{src-P4PHYYKA.js → src-QOVNNDZN.js} +18 -17
  302. package/dist/{start-U2SI4DAI.js → start-I7H5I3AS.js} +39 -36
  303. package/dist/{state-E3RFYMOF.js → state-O6CCLWF6.js} +4 -4
  304. package/dist/{staticProjectServer-NYBCXQPN.js → staticProjectServer-XEZD7JZE.js} +29 -28
  305. package/dist/{status-KCF3G7E5.js → status-2GKACMVC.js} +23 -21
  306. package/dist/studio/assets/hyperframes-player-VGx6ow_e.js +573 -0
  307. package/dist/studio/assets/{index-CVmmHGol.js → index-B8Xt_Oyw.js} +190 -186
  308. package/dist/studio/assets/{index-DN167Uqf.js → index-BH18TdX9.js} +1 -1
  309. package/dist/studio/assets/{pausedVideoDecoder-C8rhpGPx.js → pausedVideoDecoder-Bx3fGNkU.js} +1 -1
  310. package/dist/studio/index.html +1 -1
  311. package/dist/{studio-api-TZHZLLCD.js → studio-api-KQ7DR667.js} +18 -17
  312. package/dist/{studioServer-IFEYMMIN.js → studioServer-KAU2XZ4F.js} +84 -81
  313. package/dist/subCompositionWorker.js +10 -9
  314. package/dist/{sync-H2SNHXZD.js → sync-3OJZRVPG.js} +21 -20
  315. package/dist/{synthesize-EIZ3XR5O.js → synthesize-JECKYUGO.js} +3 -3
  316. package/dist/{telemetry-BGBRABGW.js → telemetry-HIZZLE6W.js} +9 -8
  317. package/dist/templates/_shared/AGENTS.md +3 -1
  318. package/dist/templates/_shared/CLAUDE.md +3 -1
  319. package/dist/{templates-6OBD5XQI.js → templates-35GCXKO2.js} +24 -22
  320. package/dist/{textOverFace-5TTQHKZG.js → textOverFace-Q4I3PREP.js} +10 -4
  321. package/dist/{timeline-XZMIGQSE.js → timeline-U2V63I7B.js} +28 -27
  322. package/dist/{tokens-5VOBSSBN.js → tokens-24TKAZCA.js} +17 -12
  323. package/dist/{transcribe-F5VS2B2D.js → transcribe-M3JJZ27F.js} +22 -20
  324. package/dist/{transcribe-VOWDWAVU.js → transcribe-YHGN4HEM.js} +45 -42
  325. package/dist/{tts-URZ56ZN7.js → tts-CDBXQSAQ.js} +8 -7
  326. package/dist/{update-L5WLOBMT.js → update-4DIZ3YQQ.js} +17 -14
  327. package/dist/{updateCheck-NYDA3CKE.js → updateCheck-F56HX6MZ.js} +2 -2
  328. package/dist/{upgrade-APGW3TZA.js → upgrade-6WAFZ7WN.js} +5 -5
  329. package/dist/{urlDownloader-H67ZJV7Q.js → urlDownloader-DNNB6UOI.js} +12 -11
  330. package/dist/{validate-ZWNAZZMI.js → validate-N5KPU4GC.js} +36 -35
  331. package/dist/{video-IDLKJE2M.js → video-T6YYFBNI.js} +15 -14
  332. package/dist/{voices-TTD5VBUS.js → voices-OI37IYYG.js} +35 -33
  333. package/dist/warmCheck.js +57 -53
  334. package/package.json +1 -1
  335. package/dist/chunk-MJI4W7LY.js +0 -5101
  336. package/dist/studio/assets/hyperframes-player-mSF_GvRs.js +0 -573
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-RF3DT4CS.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-KRE7VIQV.js";
19
+ } from "./chunk-D5YHSTHZ.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-JCNPHRGX.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-L3LVTSHX.js";
32
+ } from "./chunk-ZY55U6ER.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
@@ -44,14 +44,14 @@ import {
44
44
  runningInstall,
45
45
  updateCommandFor,
46
46
  withMeta
47
- } from "./chunk-6XGM5GHR.js";
47
+ } from "./chunk-3BKNPN36.js";
48
48
  import {
49
49
  CONFIG_PATH,
50
50
  withFileLock
51
51
  } from "./chunk-AWD2MWWL.js";
52
52
  import {
53
53
  VERSION
54
- } from "./chunk-YFTPZZEE.js";
54
+ } from "./chunk-DZ3JB4F3.js";
55
55
  import {
56
56
  normalizeErrorMessage
57
57
  } from "./chunk-E63BDV4Z.js";
@@ -261,7 +261,7 @@ function checkEnvironment() {
261
261
  return { ok: true, detail: parts.join(" \xB7 ") };
262
262
  }
263
263
  async function checkWhisper() {
264
- const { findWhisper, getInstallInstructions } = await import("./manager-OMDGEDU2.js");
264
+ const { findWhisper, getInstallInstructions } = await import("./manager-GHP2QIUD.js");
265
265
  const result = findWhisper();
266
266
  if (result) {
267
267
  return { ok: true, detail: result.executablePath };
@@ -8,14 +8,14 @@ import {
8
8
  jsonArg,
9
9
  runMeasure,
10
10
  videoArg
11
- } from "./chunk-D62TF745.js";
11
+ } from "./chunk-OB56G4VA.js";
12
12
  import {
13
13
  Fix,
14
14
  ffmpegBin,
15
15
  probeVideo,
16
16
  round,
17
17
  runFfmpeg
18
- } from "./chunk-RO4RY5YB.js";
18
+ } from "./chunk-66D5BC5K.js";
19
19
  import {
20
20
  makeOutputFolder
21
21
  } from "./chunk-3S27CPV7.js";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-DL4OD7IA.js";
25
25
  import {
26
26
  toneMapReferenceNits
27
- } from "./chunk-BXNWMRZL.js";
27
+ } from "./chunk-XSARHJSW.js";
28
28
 
29
29
  // src/commands/measure/probe.ts
30
30
  import { execFileSync } from "child_process";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  createStagingDir,
12
12
  resolveWritePath
13
- } from "./chunk-K6ARLNKJ.js";
13
+ } from "./chunk-NIEOUHVQ.js";
14
14
 
15
15
  // src/cloud/download.ts
16
16
  import { chmodSync, lstatSync, renameSync, rmSync, statSync } from "fs";
@@ -123,5 +123,6 @@ async function terminateProcessTree(pid, options = {}) {
123
123
 
124
124
  export {
125
125
  processIsAlive,
126
+ terminateWindowsProcessTree,
126
127
  terminateProcessTree
127
128
  };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  createFileAtomically
9
- } from "./chunk-K6ARLNKJ.js";
9
+ } from "./chunk-NIEOUHVQ.js";
10
10
 
11
11
  // src/utils/writeNewFile.ts
12
12
  function writeNewFileSync(filePath, content) {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  terminateProcessTree
9
- } from "./chunk-KGPLIH7B.js";
9
+ } from "./chunk-G37O3IZB.js";
10
10
 
11
11
  // src/utils/stoppableExecFile.ts
12
12
  import { execFileSync, spawn } from "child_process";
@@ -19,7 +19,7 @@ import {
19
19
  resolveLocalAssetCandidates,
20
20
  resolveProjectRelativeSrc,
21
21
  srcOnAnotherNetworkRoot
22
- } from "./chunk-S35RUNXJ.js";
22
+ } from "./chunk-UVW5ZDAP.js";
23
23
  import {
24
24
  COLOR_GRADING_SOURCE_TAGS,
25
25
  COLOR_GROUP_TAG,
@@ -40,7 +40,7 @@ import {
40
40
  rewriteAssetPath,
41
41
  spansOverlap,
42
42
  validateColorGradingContract
43
- } from "./chunk-IH2C53YV.js";
43
+ } from "./chunk-KZ5PV5TL.js";
44
44
  import {
45
45
  COMPOSITION_VARIABLE_TYPES2 as COMPOSITION_VARIABLE_TYPES,
46
46
  FONT_ALIAS_KEYS2 as FONT_ALIAS_KEYS,
@@ -10,29 +10,29 @@ import {
10
10
  isUploadedOutsideFileType,
11
11
  leftOutWarning,
12
12
  linksOutside
13
- } from "./chunk-C6J6TZSW.js";
13
+ } from "./chunk-6ACARSAZ.js";
14
14
  import {
15
15
  DEFAULT_VP9_CPU_USED,
16
16
  isHttpUrl,
17
17
  isPrivateUnderAssetRoots,
18
18
  runFfmpeg,
19
19
  urlInputArgs
20
- } from "./chunk-L3LVTSHX.js";
20
+ } from "./chunk-ZY55U6ER.js";
21
21
  import {
22
22
  realFilePath
23
- } from "./chunk-NMYYW6QM.js";
23
+ } from "./chunk-AQNI4TCF.js";
24
24
  import {
25
25
  renameWithRetry
26
- } from "./chunk-K6ARLNKJ.js";
26
+ } from "./chunk-NIEOUHVQ.js";
27
27
  import {
28
28
  parseAnimatedGifMetadata
29
- } from "./chunk-BXNWMRZL.js";
29
+ } from "./chunk-XSARHJSW.js";
30
30
  import {
31
31
  isSafePath
32
- } from "./chunk-U2FL2MTE.js";
32
+ } from "./chunk-OGL5VQGT.js";
33
33
  import {
34
34
  namesAnotherNetworkRoot
35
- } from "./chunk-S35RUNXJ.js";
35
+ } from "./chunk-UVW5ZDAP.js";
36
36
  import {
37
37
  parseHTML
38
38
  } from "./chunk-GWTIFRF5.js";
@@ -27,13 +27,13 @@ import {
27
27
  } from "./chunk-D3UCUI7G.js";
28
28
  import {
29
29
  publishRegistryFile
30
- } from "./chunk-A6AH56HN.js";
30
+ } from "./chunk-HYQ6S7R6.js";
31
31
  import {
32
32
  ITEM_TYPE_DIRS
33
- } from "./chunk-BXNWMRZL.js";
33
+ } from "./chunk-XSARHJSW.js";
34
34
  import {
35
35
  realProjectRoot
36
- } from "./chunk-U2FL2MTE.js";
36
+ } from "./chunk-OGL5VQGT.js";
37
37
  import {
38
38
  namedCacheDir
39
39
  } from "./chunk-KUJJJBV2.js";
@@ -7,11 +7,11 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  createStagingDir,
9
9
  renameWithRetry
10
- } from "./chunk-K6ARLNKJ.js";
10
+ } from "./chunk-NIEOUHVQ.js";
11
11
  import {
12
12
  mkdirWithinProject,
13
13
  realpath
14
- } from "./chunk-U2FL2MTE.js";
14
+ } from "./chunk-OGL5VQGT.js";
15
15
 
16
16
  // src/registry/publication.ts
17
17
  import { lstatSync, chmodSync, rmSync, writeFileSync } from "fs";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  runCancellableProcess,
9
9
  runRenderSetupWorker
10
- } from "./chunk-Q4FVSYTD.js";
10
+ } from "./chunk-L3FQUUS6.js";
11
11
  import {
12
12
  getFreeDiskMb
13
13
  } from "./chunk-YB2ZJJFJ.js";
@@ -16,7 +16,7 @@ import {
16
16
  isPinnedHeadlessShell,
17
17
  managedChromeVersion,
18
18
  pickSharedShell
19
- } from "./chunk-YWUE4CRU.js";
19
+ } from "./chunk-LWX5PI73.js";
20
20
  import {
21
21
  assertPrivateCachePath,
22
22
  ensurePrivateCacheDir,
@@ -382,7 +382,7 @@ function warnSystemFallbackOnce(executablePath) {
382
382
  _warnedSystemFallback = true;
383
383
  console.warn(
384
384
  `[hyperframes] Using system Chrome at ${executablePath}; HeadlessExperimental.beginFrame is unavailable in regular Chrome builds, so the perf-optimized capture path falls back to screenshot mode. Install chrome-headless-shell for the optimized path:
385
- npx @puppeteer/browsers install chrome-headless-shell
385
+ npx @puppeteer/browsers install chrome-headless-shell@${managedChromeVersion()}
386
386
  (Or set HYPERFRAMES_BROWSER_PATH to point at an existing chrome-headless-shell binary.)`
387
387
  );
388
388
  }
@@ -11,13 +11,13 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-HC5GAPIW.js";
14
+ } from "./chunk-HMNDJPLQ.js";
15
15
  import {
16
16
  closestNames
17
17
  } from "./chunk-YAROSZMP.js";
18
18
  import {
19
19
  terminalText
20
- } from "./chunk-U2FL2MTE.js";
20
+ } from "./chunk-OGL5VQGT.js";
21
21
 
22
22
  // src/registry/resolver.ts
23
23
  function defaultWarn(message) {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-EHZESMRB.js";
10
10
  import {
11
11
  replaceFileAtomically
12
- } from "./chunk-K6ARLNKJ.js";
12
+ } from "./chunk-NIEOUHVQ.js";
13
13
  import {
14
14
  parseHTML
15
15
  } from "./chunk-GWTIFRF5.js";
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  fetchLocalPageUrl
9
- } from "./chunk-GFT3OQ33.js";
9
+ } from "./chunk-UCQTLZDJ.js";
10
10
  import {
11
11
  ensureCaptureDirSync,
12
12
  writeCaptureFileSync
13
- } from "./chunk-KFR67U7E.js";
13
+ } from "./chunk-VBLKGDVI.js";
14
14
  import {
15
15
  loadSharp
16
16
  } from "./chunk-LB6ZAP4I.js";
@@ -54,25 +54,29 @@ import {
54
54
  replaceSelectorIdTokens,
55
55
  scopeCssToComposition,
56
56
  scopedModulePrelude,
57
+ selectorIdTokens,
57
58
  shouldClampResolvedMediaDuration,
58
59
  stripEmbeddedRuntimeScripts,
59
60
  styleElementsFor,
60
61
  warnUnknownEnumValues,
61
62
  wrapInlineScriptWithErrorBoundary,
62
63
  wrapScopedCompositionScript
63
- } from "./chunk-MJI4W7LY.js";
64
+ } from "./chunk-RAHYMZNU.js";
65
+ import {
66
+ fnv1a32
67
+ } from "./chunk-PWRUMN7B.js";
64
68
  import {
65
69
  isSafePath,
66
70
  resolveWithinProject,
67
71
  terminalText
68
- } from "./chunk-U2FL2MTE.js";
72
+ } from "./chunk-OGL5VQGT.js";
69
73
  import {
70
74
  linkedSources,
71
75
  lintHyperframeHtml
72
- } from "./chunk-NDXUDTLF.js";
76
+ } from "./chunk-GXKCFOMR.js";
73
77
  import {
74
78
  readTextFile
75
- } from "./chunk-S35RUNXJ.js";
79
+ } from "./chunk-UVW5ZDAP.js";
76
80
  import {
77
81
  blockCommentMatches,
78
82
  checkSubCompositionUsability,
@@ -93,7 +97,7 @@ import {
93
97
  rewriteSrcsetUrls,
94
98
  splitUrlSuffix,
95
99
  urlHashRefMatches
96
- } from "./chunk-IH2C53YV.js";
100
+ } from "./chunk-KZ5PV5TL.js";
97
101
  import {
98
102
  isSafeMediaUrl
99
103
  } from "./chunk-4NDSGKPO.js";
@@ -558,8 +562,12 @@ var SVG_AUTHORED_ID_ATTR = "data-hf-authored-id";
558
562
  function isHrefAttrName(name) {
559
563
  return name === "href" || name.endsWith(":href");
560
564
  }
565
+ var MAX_NAMESPACE_PREFIX = 48;
561
566
  function sanitizeNamespaceSegment(value) {
562
- return value.replace(/[^a-zA-Z0-9_-]/g, "-");
567
+ const segment = value.replace(/[^a-zA-Z0-9_-]/g, "-");
568
+ if (segment.length <= MAX_NAMESPACE_PREFIX)
569
+ return segment;
570
+ return `${segment.slice(0, 32)}-${fnv1a32(value).toString(16).padStart(8, "0")}`;
563
571
  }
564
572
  function rewriteUrlHashRefs(value, idMap) {
565
573
  if (!value || !value.toLowerCase().includes("url("))
@@ -720,8 +728,8 @@ function buildIdCensus(document) {
720
728
  }
721
729
  return { elementsById, usedIds };
722
730
  }
723
- function mintNamespacedId(namespace, originalId, usedIds) {
724
- const base = `${sanitizeNamespaceSegment(namespace)}--${originalId}`;
731
+ function mintNamespacedId(prefix, originalId, usedIds) {
732
+ const base = `${prefix}--${originalId}`;
725
733
  let candidate = base;
726
734
  for (let n = 2; usedIds.has(candidate); n += 1)
727
735
  candidate = `${base}-${n}`;
@@ -736,11 +744,13 @@ function collisionScopes(id, elements, scopeIndexByRenamable) {
736
744
  }
737
745
  function planRenames(census, scopes, scopeIndexByRenamable) {
738
746
  const idMaps = scopes.map(() => /* @__PURE__ */ new Map());
747
+ const prefixes = [];
739
748
  for (const [id, elements] of census.elementsById) {
740
749
  if (elements.length < 2)
741
750
  continue;
742
751
  for (const index of collisionScopes(id, elements, scopeIndexByRenamable)) {
743
- idMaps[index].set(id, mintNamespacedId(scopes[index].namespace, id, census.usedIds));
752
+ prefixes[index] ??= sanitizeNamespaceSegment(scopes[index].namespace);
753
+ idMaps[index].set(id, mintNamespacedId(prefixes[index], id, census.usedIds));
744
754
  }
745
755
  }
746
756
  return idMaps;
@@ -774,8 +784,36 @@ function localReferenceBindings(elements) {
774
784
  }
775
785
  return { ids, renamed };
776
786
  }
777
- function applyRenames(resolved, idMap) {
787
+ var ScopedIdMap = class {
788
+ own;
789
+ shared;
790
+ hidden;
791
+ constructor(own, shared, hidden) {
792
+ this.own = own;
793
+ this.shared = shared;
794
+ this.hidden = hidden;
795
+ }
796
+ get(id) {
797
+ return this.own.get(id) ?? (this.hidden.has(id) ? void 0 : this.shared.get(id));
798
+ }
799
+ has(id) {
800
+ return this.get(id) !== void 0;
801
+ }
802
+ get size() {
803
+ let size = this.own.size + this.shared.size;
804
+ for (const id of this.own.keys())
805
+ if (this.shared.has(id))
806
+ size -= 1;
807
+ for (const id of this.hidden)
808
+ if (id !== null && !this.own.has(id) && this.shared.has(id))
809
+ size -= 1;
810
+ return size;
811
+ }
812
+ };
813
+ var attributeBytes = (el) => Array.from(el.attributes ?? [], (attr) => attr.name.length + attr.value.length + 4).reduce((sum, bytes) => sum + bytes, 0);
814
+ function applyRenames(resolved, idMap, charge) {
778
815
  for (const el of resolved.elements) {
816
+ const before = charge ? attributeBytes(el) : 0;
779
817
  const currentId = el.getAttribute(ID_ATTR);
780
818
  if (currentId && resolved.renamable.has(el) && idMap.has(currentId)) {
781
819
  if (!el.hasAttribute(SVG_AUTHORED_ID_ATTR))
@@ -793,13 +831,15 @@ function applyRenames(resolved, idMap) {
793
831
  el.setAttribute(ID_ATTR, after);
794
832
  }
795
833
  rewriteElementIdReferences(el, idMap);
834
+ if (charge)
835
+ charge(attributeBytes(el) - before);
796
836
  }
797
837
  }
798
838
  var CLIP_SELECTOR = "[data-start]:not([data-composition-id]):not([data-composition-src])";
799
839
  function sceneClipRoots(document, hosts) {
800
840
  return [...document.querySelectorAll(CLIP_SELECTOR)].filter((clip) => !clip.parentElement?.closest(CLIP_SELECTOR) && !!clip.parentElement?.closest("[data-composition-id]") && !isExcluded(clip, hosts) && !!clip.querySelector("svg"));
801
841
  }
802
- function namespaceCollidingSvgIds(document, scopes, finalizedIds) {
842
+ function namespaceCollidingSvgIds(document, scopes, finalizedIds, charge) {
803
843
  if (scopes.length === 0)
804
844
  return [];
805
845
  const census = buildIdCensus(document);
@@ -821,11 +861,10 @@ function namespaceCollidingSvgIds(document, scopes, finalizedIds) {
821
861
  const documentTargets = documentReferenceTargets(census, idMaps, scopeIndexByRenamable);
822
862
  const referenceMaps = resolved.map((scope, index) => {
823
863
  const local = localReferenceBindings(scopes[index].referenceTarget === "document" ? [] : scope.elements);
824
- const inherited = [...documentTargets].filter(([id]) => !local.ids.has(id));
825
- return new Map([...inherited, ...local.renamed, ...idMaps[index]]);
864
+ return new ScopedIdMap(new Map([...local.renamed, ...idMaps[index]]), documentTargets, local.ids);
826
865
  });
827
866
  referenceMaps.forEach((idMap, index) => {
828
- applyRenames(resolved[index], idMap);
867
+ applyRenames(resolved[index], idMap, charge && ((bytes) => charge(index, bytes)));
829
868
  });
830
869
  for (const el of newlyEligible)
831
870
  finalizedIds?.add(el);
@@ -844,12 +883,16 @@ function rewriteSvgIdReferencesInCss(css, idMap, references = []) {
844
883
  }
845
884
  let mutated = false;
846
885
  const recordedIds = new Set(references.filter((alias) => alias.name === ID_ATTR).map((alias) => alias.before));
847
- const ids = [...idMap].filter(([id]) => !recordedIds.has(id)).map(([id, renamed]) => ({
848
- id,
849
- replacement: `:is(#${escapeCssIdentifier(id)}, #${escapeCssIdentifier(renamed)})`
850
- }));
886
+ const idsNamedBy = (selector) => selectorIdTokens(selector).flatMap((id) => {
887
+ const renamed = recordedIds.has(id) ? void 0 : idMap.get(id);
888
+ if (!renamed)
889
+ return [];
890
+ return [
891
+ { id, replacement: `:is(#${escapeCssIdentifier(id)}, #${escapeCssIdentifier(renamed)})` }
892
+ ];
893
+ });
851
894
  root.walkRules((rule) => {
852
- const rewritten = rule.selectors.map((selector) => rewriteSvgSelectors(selector, ids, references));
895
+ const rewritten = rule.selectors.map((selector) => rewriteSvgSelectors(selector, idsNamedBy(selector), references));
853
896
  if (rewritten.some((selector, index) => selector !== rule.selectors[index])) {
854
897
  rule.selectors = rewritten;
855
898
  mutated = true;
@@ -987,7 +1030,7 @@ function defaultBuildScopeSelector(compId) {
987
1030
  return `[data-composition-id="${escaped}"]`;
988
1031
  }
989
1032
  function inlineSubCompositions(document, hosts, options) {
990
- const { resolveHtml, parseHtml, hostIdentityMap, rewriteInlineStyles = false, flattenInnerRoot, compoundAuthoredRoot, readVariableDefaults, parseHostVariables, buildScopeSelector = defaultBuildScopeSelector, scriptErrorLabel = "[HyperFrames] composition script error:", onMissingComposition, assetExists, tagScenes = false, readProjectScript } = options;
1033
+ const { resolveHtml, resolveFilePath, parseHtml, hostIdentityMap, rewriteInlineStyles = false, flattenInnerRoot, compoundAuthoredRoot, readVariableDefaults, parseHostVariables, buildScopeSelector = defaultBuildScopeSelector, scriptErrorLabel = "[HyperFrames] composition script error:", onMissingComposition, assetExists, tagScenes = false, readProjectScript, chargeEmitted } = options;
991
1034
  const rootStyles = [...document.querySelectorAll("style")];
992
1035
  const styles = [];
993
1036
  const styleScenes = [];
@@ -1101,18 +1144,25 @@ function inlineSubCompositions(document, hosts, options) {
1101
1144
  warnUnknownEnumValues(compDoc.documentElement, mergedVariables, variablesCompId);
1102
1145
  warnUnknownEnumValues(innerRoot, mergedVariables, variablesCompId);
1103
1146
  }
1104
- const resolveSubAssetPath = (raw) => rewriteAssetPath(src, (raw || "").trim(), assetExists);
1147
+ const filePath = resolveFilePath?.(src) ?? src;
1148
+ const chargeRebase = chargeEmitted && ((bytes) => chargeEmitted(src, bytes));
1149
+ const resolveSubAssetPath = (raw) => rewriteAssetPath(filePath, (raw || "").trim(), assetExists, chargeRebase);
1105
1150
  const scopeSubStyle = (raw) => {
1106
1151
  const sheetKey = JSON.stringify([src, raw]);
1107
1152
  let css = sheetsWithAssetUrls.get(sheetKey);
1108
1153
  if (css === void 0) {
1109
- css = rewriteCssAssetUrls(raw, src, assetExists);
1154
+ css = rewriteCssAssetUrls(raw, filePath, assetExists, chargeRebase);
1110
1155
  sheetsWithAssetUrls.set(sheetKey, css);
1111
1156
  }
1112
- return scopeCompId ? scopeCssToComposition2(css, scopeCompId, runtimeScope || void 0, authoredRootId, {
1157
+ if (!scopeCompId) {
1158
+ chargeEmitted?.(src, css.length);
1159
+ return css;
1160
+ }
1161
+ return scopeCssToComposition2(css, scopeCompId, runtimeScope || void 0, authoredRootId, {
1113
1162
  compoundAuthoredRoot: compoundAuthoredRoot === true,
1114
- scopeRootSelectors: true
1115
- }) : css;
1163
+ scopeRootSelectors: true,
1164
+ ...chargeEmitted ? { charge: (bytes) => chargeEmitted(src, bytes) } : {}
1165
+ });
1116
1166
  };
1117
1167
  for (const link of plan.linkSources) {
1118
1168
  const href = resolveSubAssetPath(link.getAttribute("href"));
@@ -1155,9 +1205,11 @@ function inlineSubCompositions(document, hosts, options) {
1155
1205
  console.warn(terminalText(`[HyperFrames] ${src}: import map is not valid JSON, so it is skipped.`));
1156
1206
  } else if (type === "module" && !externalSrc) {
1157
1207
  const prelude = scriptCompositionId ? scopedModulePrelude(runtimeCompId || scopeCompId || scriptCompositionId, src) : "";
1158
- moduleScripts.push(`${prelude}${AUTHORED_SOURCE_BEGIN}
1208
+ const moduleScript = `${prelude}${AUTHORED_SOURCE_BEGIN}
1159
1209
  ${scriptEl.textContent || ""}
1160
- ${AUTHORED_SOURCE_END}`);
1210
+ ${AUTHORED_SOURCE_END}`;
1211
+ chargeEmitted?.(src, moduleScript.length);
1212
+ moduleScripts.push(moduleScript);
1161
1213
  } else if (externalSrc) {
1162
1214
  if (!externalScriptSrcs.includes(externalSrc)) {
1163
1215
  externalScriptSrcs.push(externalSrc);
@@ -1170,20 +1222,21 @@ ${AUTHORED_SOURCE_END}`);
1170
1222
  });
1171
1223
  } else {
1172
1224
  const wrappedScript = scriptCompositionId ? wrapScopedCompositionScript(scriptEl.textContent || "", scriptCompositionId, scriptErrorLabel, runtimeScope || void 0, runtimeCompId || scopeCompId || scriptCompositionId, authoredRootId, src) : wrapInlineScriptWithErrorBoundary(scriptEl.textContent || "", scriptErrorLabel);
1225
+ chargeEmitted?.(src, wrappedScript.length);
1173
1226
  scripts.push(wrappedScript);
1174
1227
  scriptItems.push({ kind: "inline", content: wrappedScript, ...scene ? { scene } : {} });
1175
1228
  }
1176
1229
  scriptEl.remove();
1177
1230
  }
1178
1231
  const assetEls = innerRoot ? innerRoot.querySelectorAll("[src], [href], [srcset]") : contentDoc.querySelectorAll("[src], [href], [srcset]");
1179
- rewriteAssetPaths(assetEls, src, (el, attr) => el.getAttribute(attr), (el, attr, val) => {
1232
+ rewriteAssetPaths(assetEls, filePath, (el, attr) => el.getAttribute(attr), (el, attr, val) => {
1180
1233
  el.setAttribute(attr, val);
1181
- }, assetExists);
1234
+ }, assetExists, chargeRebase);
1182
1235
  if (rewriteInlineStyles) {
1183
1236
  const styledEls = innerRoot ? innerRoot.querySelectorAll("[style]") : contentDoc.querySelectorAll("[style]");
1184
- rewriteInlineStyleAssetUrls(styledEls, src, (el) => el.getAttribute("style"), (el, val) => {
1237
+ rewriteInlineStyleAssetUrls(styledEls, filePath, (el) => el.getAttribute("style"), (el, val) => {
1185
1238
  el.setAttribute("style", val);
1186
- }, assetExists);
1239
+ }, assetExists, chargeRebase);
1187
1240
  }
1188
1241
  if (innerRoot?.hasAttribute("data-timeline-locked")) {
1189
1242
  hostEl.setAttribute("data-timeline-locked", "");
@@ -1235,6 +1288,7 @@ ${AUTHORED_SOURCE_END}`);
1235
1288
  queue.push({ element: nestedHost.host, ancestry: nestedAncestry, scene });
1236
1289
  }
1237
1290
  svgIdScopes.push({
1291
+ src,
1238
1292
  root: hostEl,
1239
1293
  namespace: runtimeCompId || scopeCompId,
1240
1294
  exclude: nested.hosts.map((nestedHost) => nestedHost.host),
@@ -1263,17 +1317,26 @@ ${AUTHORED_SOURCE_END}`);
1263
1317
  namespace: `clip-${index}`,
1264
1318
  exclude: hostRoots.filter((host) => root.contains(host))
1265
1319
  }))
1266
- ]);
1320
+ ], void 0, chargeEmitted && ((index, bytes) => chargeEmitted(svgIdScopes[index]?.src ?? "the page", bytes)));
1321
+ const chargeGrowth = (src, before, after) => {
1322
+ if (after.length > before.length)
1323
+ chargeEmitted?.(src, after.length - before.length);
1324
+ };
1267
1325
  svgIdMaps.slice(0, svgIdScopes.length).forEach((idMap, index) => {
1268
1326
  const { styleStart, styleEnd } = svgIdScopes[index];
1269
1327
  const references = readSvgReferenceAliases(svgIdScopes[index].root, SVG_REFERENCE_ALIASES_ATTR);
1270
1328
  for (let i = styleStart; i < styleEnd; i += 1) {
1271
- styles[i].css = rewriteSvgIdReferencesInCss(styles[i].css, idMap, references);
1329
+ const rewritten = rewriteSvgIdReferencesInCss(styles[i].css, idMap, references);
1330
+ chargeGrowth(svgIdScopes[index].src, styles[i].css, rewritten);
1331
+ styles[i].css = rewritten;
1272
1332
  }
1273
1333
  });
1274
1334
  const rootReferences = readSvgReferenceAliases(document.documentElement, SVG_REFERENCE_ALIASES_ATTR);
1275
1335
  for (const style of rootStyles) {
1276
- style.textContent = rewriteSvgIdReferencesInCss(style.textContent ?? "", svgIdMaps[svgIdScopes.length], rootReferences);
1336
+ const css = style.textContent ?? "";
1337
+ const rewritten = rewriteSvgIdReferencesInCss(css, svgIdMaps[svgIdScopes.length], rootReferences);
1338
+ chargeGrowth("the page", css, rewritten);
1339
+ style.textContent = rewritten;
1277
1340
  }
1278
1341
  return {
1279
1342
  styles,
@@ -2636,13 +2699,14 @@ function compositionVariablesCssBlock(variables, selector) {
2636
2699
  ${lines.join("\n")}
2637
2700
  }`;
2638
2701
  }
2639
- function emitRootCompositionVariableStyles(document, variablesByComp = {}, overrides = {}) {
2702
+ function emitRootCompositionVariableStyles(document, variablesByComp = {}, overrides = {}, options = {}) {
2703
+ const charge = options.chargeBytes ?? defaultVariableStyleCharge();
2640
2704
  const authoredDefines = authoredDefinesPredicate(document);
2641
2705
  const layerFor = makeVariableLayer(authoredDefines, overrides);
2642
2706
  const rules = [
2643
- ...hostScopedVariableRules(variablesByComp, overrides, authoredDefines),
2644
- ...rootDeclaredVariableRules(document, layerFor),
2645
- ...declarerVariableRules(document, layerFor)
2707
+ ...hostScopedVariableRules(variablesByComp, overrides, authoredDefines, charge),
2708
+ ...rootDeclaredVariableRules(document, layerFor, charge),
2709
+ ...declarerVariableRules(document, layerFor, charge)
2646
2710
  ];
2647
2711
  if (rules.length === 0)
2648
2712
  return false;
@@ -2652,6 +2716,23 @@ function emitRootCompositionVariableStyles(document, variablesByComp = {}, overr
2652
2716
  document.head.appendChild(style);
2653
2717
  return true;
2654
2718
  }
2719
+ var MAX_COMPOSITION_VARIABLE_STYLE_BYTES = 32 * 1024 * 1024;
2720
+ var CompositionVariableStylesTooLargeError = class extends Error {
2721
+ code = "COMPOSITION_TOO_LARGE";
2722
+ constructor(bytes) {
2723
+ super(`Composition variable styles add up to ${(bytes / (1024 * 1024)).toFixed(1)} MB, over the ${MAX_COMPOSITION_VARIABLE_STYLE_BYTES / (1024 * 1024)} MB limit. Shorten the variable values or declare them on fewer elements.`);
2724
+ this.name = "CompositionVariableStylesTooLargeError";
2725
+ }
2726
+ };
2727
+ function defaultVariableStyleCharge() {
2728
+ let total = 0;
2729
+ return (bytes) => {
2730
+ total += bytes;
2731
+ if (total > MAX_COMPOSITION_VARIABLE_STYLE_BYTES) {
2732
+ throw new CompositionVariableStylesTooLargeError(total);
2733
+ }
2734
+ };
2735
+ }
2655
2736
  function authoredDefinesPredicate(document) {
2656
2737
  const authoredCss = [...document.querySelectorAll("style:not([data-hf-composition-variables])")].map((s) => s.textContent || "").join("\n");
2657
2738
  const defined = namesBeforeAColon(authoredCss);
@@ -2689,7 +2770,7 @@ function makeVariableLayer(authoredDefines, overrides) {
2689
2770
  return out;
2690
2771
  };
2691
2772
  }
2692
- function hostScopedVariableRules(variablesByComp, overrides, authoredDefines) {
2773
+ function hostScopedVariableRules(variablesByComp, overrides, authoredDefines, charge) {
2693
2774
  const rules = [];
2694
2775
  for (const [compId, vars] of Object.entries(variablesByComp)) {
2695
2776
  const withOverrides = {};
@@ -2702,31 +2783,45 @@ function hostScopedVariableRules(variablesByComp, overrides, authoredDefines) {
2702
2783
  withOverrides[id] = value;
2703
2784
  }
2704
2785
  const rule = compositionVariablesCssBlock(withOverrides, cssAttributeSelector("data-composition-id", compId));
2705
- if (rule)
2706
- rules.push(rule);
2786
+ if (!rule)
2787
+ continue;
2788
+ charge(rule.length);
2789
+ rules.push(rule);
2707
2790
  }
2708
2791
  return rules;
2709
2792
  }
2710
- function rootDeclaredVariableRules(document, layerFor) {
2793
+ function rootDeclaredVariableRules(document, layerFor, charge) {
2711
2794
  const htmlDeclared = readDeclaredDefaults(document.documentElement);
2712
2795
  const htmlRule = compositionVariablesCssBlock(layerFor(htmlDeclared, {}), ":root");
2713
- return htmlRule ? [htmlRule] : [];
2796
+ if (!htmlRule)
2797
+ return [];
2798
+ charge(htmlRule.length);
2799
+ return [htmlRule];
2714
2800
  }
2715
- function declarerVariableRules(document, layerFor) {
2801
+ function declarerVariableRules(document, layerFor, charge) {
2716
2802
  const rules = [];
2803
+ const hostValuesByEl = /* @__PURE__ */ new Map();
2717
2804
  let markerSeq = 0;
2718
2805
  for (const el of [...document.querySelectorAll("[data-composition-variables]")]) {
2719
2806
  const declared = readDeclaredDefaults(el);
2720
2807
  const hostEl = typeof el.closest === "function" ? el.parentElement?.closest("[data-variable-values]") : null;
2721
- const hostValues = hostEl ? parseHostVariableValues(hostEl) : {};
2808
+ let hostValues = {};
2809
+ if (hostEl) {
2810
+ const cached = hostValuesByEl.get(hostEl);
2811
+ hostValues = cached ?? parseHostVariableValues(hostEl);
2812
+ if (!cached)
2813
+ hostValuesByEl.set(hostEl, hostValues);
2814
+ }
2722
2815
  const vars = layerFor(declared, hostValues);
2723
2816
  if (Object.keys(vars).length === 0)
2724
2817
  continue;
2725
2818
  markerSeq += 1;
2726
2819
  el.setAttribute("data-hf-var-scope", String(markerSeq));
2727
2820
  const rule = compositionVariablesCssBlock(vars, `[data-hf-var-scope="${markerSeq}"]`);
2728
- if (rule)
2729
- rules.push(rule);
2821
+ if (!rule)
2822
+ continue;
2823
+ charge(rule.length);
2824
+ rules.push(rule);
2730
2825
  }
2731
2826
  return rules;
2732
2827
  }
@@ -2892,6 +2987,7 @@ export {
2892
2987
  parsesAsScript,
2893
2988
  bundleToSingleHtml,
2894
2989
  emitRootCompositionVariableStyles,
2990
+ MAX_COMPOSITION_VARIABLE_STYLE_BYTES,
2895
2991
  extractCompiledHtmlParityContract,
2896
2992
  addScenePartsManifest
2897
2993
  };