hyperframes 0.9.61 → 0.9.64

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 (302) hide show
  1. package/dist/{add-LNPIKHAX.js → add-VFWLLECU.js} +20 -20
  2. package/dist/{agentPromptGenerator-N3HL4JWM.js → agentPromptGenerator-FEZHETMZ.js} +11 -11
  3. package/dist/{animatedGifPrep-SEPXIM4W.js → animatedGifPrep-JZPLKKB6.js} +12 -12
  4. package/dist/api.js +45 -45
  5. package/dist/{appHistory-ASGUPUUV.js → appHistory-AMDQO54F.js} +5 -5
  6. package/dist/{asset-3L2G3ROU.js → asset-W6CMIIDB.js} +7 -7
  7. package/dist/{assetCataloger-3D75A6GI.js → assetCataloger-POC644N7.js} +12 -12
  8. package/dist/{audio-U4W5ZWQ7.js → audio-QLPRSLD4.js} +27 -27
  9. package/dist/{auth-V4G5ZE3P.js → auth-UD5JKJ3M.js} +4 -4
  10. package/dist/{autoUpdate-QYKF3DDS.js → autoUpdate-WNTJWEIH.js} +2 -2
  11. package/dist/{avatars-SB2XCDWJ.js → avatars-BUQDDQZ2.js} +18 -18
  12. package/dist/{backgroundChecks-KHBYRE6J.js → backgroundChecks-AYK6ADD4.js} +3 -3
  13. package/dist/backgroundChecksWorker.js +3 -3
  14. package/dist/{batchRender-6S5GMICZ.js → batchRender-FZPZFGKB.js} +7 -7
  15. package/dist/{beats-7YLYCCMD.js → beats-EA7NEYGM.js} +11 -11
  16. package/dist/{benchmark-IBX7ZWVU.js → benchmark-WGYT2WAG.js} +19 -19
  17. package/dist/{billing-EAHOGMQW.js → billing-A2WKV5BH.js} +18 -18
  18. package/dist/{browser-XKYRXDJW.js → browser-DH3KXV4V.js} +8 -8
  19. package/dist/{bundleWithLocalizedFonts-ZFX7TSWT.js → bundleWithLocalizedFonts-C5IIR6CQ.js} +1 -1
  20. package/dist/{capture-IBOCZ2MK.js → capture-SPZCSPCC.js} +35 -30
  21. package/dist/{capture-4WKQKMXG.js → capture-Y7HEXFSY.js} +8 -8
  22. package/dist/{captureCompositionFrame-HZA3LNU3.js → captureCompositionFrame-HBDM6FHB.js} +18 -18
  23. package/dist/{captureFile-Z7HQDRC2.js → captureFile-FNCMGYYJ.js} +4 -4
  24. package/dist/{catalog-TSXQTLKM.js → catalog-GUACPRZO.js} +20 -20
  25. package/dist/{catch-up-LD2B5CE3.js → catch-up-7AC2W75E.js} +12 -12
  26. package/dist/{check-TEZKUD26.js → check-S7X45EVG.js} +50 -50
  27. package/dist/{checkAudio-3GM74ZGV.js → checkAudio-RGMZTJIM.js} +13 -13
  28. package/dist/{checkBrowser-OFH3I7Q6.js → checkBrowser-4SDR745B.js} +46 -44
  29. package/dist/{chunk-VRUVJTFW.js → chunk-2PIQTMWA.js} +77 -25
  30. package/dist/{chunk-B5JWBMDR.js → chunk-2PKURSBE.js} +8 -8
  31. package/dist/{chunk-6X2CLRU7.js → chunk-3FOIZLN4.js} +1 -1
  32. package/dist/{chunk-BHZZM2PK.js → chunk-3PXZPI6I.js} +3 -3
  33. package/dist/{chunk-BNO5RN55.js → chunk-3WHPQNTD.js} +65 -39
  34. package/dist/{chunk-NY6E4272.js → chunk-3X72Y7FR.js} +5 -5
  35. package/dist/{chunk-CYM53TWZ.js → chunk-4HPXVTWY.js} +19 -14
  36. package/dist/{chunk-XLG3JMSS.js → chunk-4I4ACRCU.js} +4 -4
  37. package/dist/{chunk-ZGSGBGTB.js → chunk-4K6VNWJS.js} +1 -1
  38. package/dist/{chunk-H6Y4XOSP.js → chunk-4YMMTQ45.js} +9 -9
  39. package/dist/{chunk-DD37XZVE.js → chunk-5BNKWHG6.js} +1 -1
  40. package/dist/{chunk-LULZFFDN.js → chunk-5F7M7PYP.js} +3 -3
  41. package/dist/{chunk-6P7FLYOR.js → chunk-5N7RRWIP.js} +5 -4
  42. package/dist/{chunk-6R22Y26Z.js → chunk-5NSZ5XPH.js} +1 -1
  43. package/dist/{chunk-FU62NEWC.js → chunk-6XGM5GHR.js} +1 -1
  44. package/dist/{chunk-MJBBKSKB.js → chunk-777GBBTE.js} +1 -1
  45. package/dist/{chunk-TRVWLAQ3.js → chunk-7G6OHKDZ.js} +9 -9
  46. package/dist/{chunk-VZM7AFUH.js → chunk-7OVPWTCJ.js} +7 -7
  47. package/dist/{chunk-5T2LNQAH.js → chunk-7R7OCEHI.js} +4 -4
  48. package/dist/{chunk-32H642MS.js → chunk-7WA77KXG.js} +2 -2
  49. package/dist/{chunk-WTS245RC.js → chunk-A6AH56HN.js} +2 -2
  50. package/dist/{chunk-7GDEQJSL.js → chunk-ASML5H5V.js} +11 -11
  51. package/dist/{chunk-Z3BPDCRV.js → chunk-B2ZFTAZE.js} +5 -5
  52. package/dist/{chunk-X3NGTIE3.js → chunk-B7B7SGPV.js} +1 -1
  53. package/dist/{chunk-CRX444MF.js → chunk-BQKQPYEP.js} +4 -4
  54. package/dist/{chunk-SCEBICAQ.js → chunk-BVA3NEQC.js} +1 -1
  55. package/dist/{chunk-MPVJI4SE.js → chunk-BXNWMRZL.js} +1 -1
  56. package/dist/{chunk-B5TLZC2D.js → chunk-C6J6TZSW.js} +1 -1
  57. package/dist/{chunk-6NDSDQCR.js → chunk-CFOPRL62.js} +5 -5
  58. package/dist/{chunk-Y53Z2M77.js → chunk-CUGK6ZF6.js} +2 -2
  59. package/dist/{chunk-KTY46LIH.js → chunk-D62TF745.js} +3 -3
  60. package/dist/{chunk-3ROFCQAW.js → chunk-DAN5KKFR.js} +1 -1
  61. package/dist/{chunk-4ZLWEPK4.js → chunk-DO6R4KYL.js} +1 -1
  62. package/dist/{chunk-OW6MOJSR.js → chunk-DWP5EIUS.js} +1 -1
  63. package/dist/{chunk-4T45V6GF.js → chunk-EMIOIMHN.js} +1 -1
  64. package/dist/{chunk-VJVTGSGW.js → chunk-ERM3UC6T.js} +3 -1
  65. package/dist/{chunk-OGOR22GY.js → chunk-ETMGDJ5P.js} +2 -2
  66. package/dist/{chunk-Q7IOMZ5X.js → chunk-FHIOPTN4.js} +1 -1
  67. package/dist/{chunk-CPHK3XMF.js → chunk-FNOAIEQC.js} +6 -6
  68. package/dist/{chunk-MTCVUAUK.js → chunk-FO3FSJBJ.js} +2 -2
  69. package/dist/{chunk-SQI2MWJE.js → chunk-FWVJW5WC.js} +4 -4
  70. package/dist/{chunk-MQCIX6O2.js → chunk-FZLY56DP.js} +15 -8
  71. package/dist/{chunk-MPX3FO4A.js → chunk-G2US34LC.js} +5 -5
  72. package/dist/{chunk-SIQGTRZ5.js → chunk-GDKNEQ4E.js} +1 -1
  73. package/dist/{chunk-G7HO2FFX.js → chunk-GFT3OQ33.js} +8 -3
  74. package/dist/{chunk-RJCQZMNI.js → chunk-GKRD43J2.js} +3 -3
  75. package/dist/{chunk-RDJOA5MM.js → chunk-GNKUAJXO.js} +2 -2
  76. package/dist/{chunk-C2GAAMZ3.js → chunk-HC5GAPIW.js} +3 -3
  77. package/dist/{chunk-VNWPHKKI.js → chunk-HFRB7UTK.js} +5 -5
  78. package/dist/{chunk-2H4SJSUS.js → chunk-I3R2E6SE.js} +10 -10
  79. package/dist/{chunk-5ZAM42GH.js → chunk-IVAMWDMR.js} +2 -2
  80. package/dist/{chunk-TJAFCC37.js → chunk-IW7QUJDU.js} +1 -1
  81. package/dist/{chunk-LV2ETFC5.js → chunk-J5PZTR45.js} +4 -4
  82. package/dist/{chunk-6KU6TCSS.js → chunk-J5VEGTHN.js} +2 -2
  83. package/dist/{chunk-WVCCSYZC.js → chunk-JFIN5P4E.js} +14 -14
  84. package/dist/{chunk-OBP5WNKP.js → chunk-JGEDH5GJ.js} +3 -3
  85. package/dist/{chunk-LZSSGF7G.js → chunk-JO25BSM3.js} +3 -3
  86. package/dist/{chunk-5RM7274K.js → chunk-JXVUSNAG.js} +1 -1
  87. package/dist/{chunk-GNRC4L6F.js → chunk-JYWFQ42F.js} +15 -15
  88. package/dist/{chunk-EDH2DMXM.js → chunk-K2FH6FRK.js} +3 -3
  89. package/dist/{chunk-LYTELQL2.js → chunk-K6ARLNKJ.js} +1 -1
  90. package/dist/{chunk-VSS3OAZB.js → chunk-KFR67U7E.js} +1 -1
  91. package/dist/{chunk-W772ZFTE.js → chunk-KLIV2W5D.js} +4 -4
  92. package/dist/{chunk-WTUDKVWQ.js → chunk-KR7FV3WD.js} +3 -3
  93. package/dist/{chunk-GYPZTG46.js → chunk-KRE7VIQV.js} +1 -1
  94. package/dist/{chunk-RSYV6NNI.js → chunk-KXE3JVEZ.js} +2 -2
  95. package/dist/{chunk-LTXZLTXW.js → chunk-L3LVTSHX.js} +86 -35
  96. package/dist/{chunk-YLC67YFR.js → chunk-L5V57765.js} +1 -1
  97. package/dist/{chunk-BWFNWEUO.js → chunk-LKHH4BUW.js} +12 -1
  98. package/dist/{chunk-4SDNEKTL.js → chunk-LN36F5DC.js} +1 -1
  99. package/dist/{chunk-RRI7NGQZ.js → chunk-LUDXZKNH.js} +5 -5
  100. package/dist/{chunk-J56ZJFSF.js → chunk-LWNHZUYJ.js} +37 -21
  101. package/dist/{chunk-BAU3ASNM.js → chunk-LZDRK67I.js} +3 -3
  102. package/dist/{chunk-22B53HD3.js → chunk-M4WT65UD.js} +2 -2
  103. package/dist/{chunk-CT54FOTS.js → chunk-MH7FQ6N7.js} +6 -6
  104. package/dist/{chunk-6ZU654EU.js → chunk-MHEO2LYC.js} +3 -3
  105. package/dist/chunk-MJI4W7LY.js +5101 -0
  106. package/dist/{chunk-4EWS3KP3.js → chunk-MY2XJULG.js} +2 -2
  107. package/dist/{chunk-TTRX7NM3.js → chunk-NDXUDTLF.js} +14 -11
  108. package/dist/{chunk-C7IEAEKF.js → chunk-NHF32RRC.js} +1 -1
  109. package/dist/{chunk-WTO3A7ET.js → chunk-NMYYW6QM.js} +2 -2
  110. package/dist/{chunk-KYZEK7QF.js → chunk-NORROE4L.js} +2 -2
  111. package/dist/{chunk-HTHLFEO2.js → chunk-NSRLO47G.js} +1 -1
  112. package/dist/{chunk-PTGNUVCB.js → chunk-NTGTWXAO.js} +19 -2
  113. package/dist/{chunk-ILKK6F5E.js → chunk-NVE5ZPIV.js} +3 -3
  114. package/dist/{chunk-UX5KLSAJ.js → chunk-OKQ5OUJH.js} +5 -5
  115. package/dist/{chunk-CAAUQUCW.js → chunk-OM3PJLUG.js} +22 -9
  116. package/dist/{chunk-6OKMCIDU.js → chunk-PEWBM2XF.js} +4 -4
  117. package/dist/{chunk-NU7BEOCX.js → chunk-Q76FGC6A.js} +1 -1
  118. package/dist/{chunk-7AP5C4C2.js → chunk-QQZ7DCAA.js} +4 -4
  119. package/dist/{chunk-PPETKAEO.js → chunk-QUAK4OPT.js} +1 -1
  120. package/dist/{chunk-GADMF4BL.js → chunk-RIETR6VC.js} +23 -10
  121. package/dist/{chunk-ZBDITGMP.js → chunk-RO4RY5YB.js} +6 -3
  122. package/dist/{chunk-CSWJCRDU.js → chunk-RO6MNXKE.js} +1 -1
  123. package/dist/{chunk-2CNVJQKU.js → chunk-RRIAHUG3.js} +1 -1
  124. package/dist/{chunk-A2ZUVULS.js → chunk-RZREOKHK.js} +19 -3
  125. package/dist/{chunk-7463BOQJ.js → chunk-SREN5WTO.js} +2 -2
  126. package/dist/{chunk-L7MFHIG7.js → chunk-T7U6D2UW.js} +2 -2
  127. package/dist/{chunk-3W2ORSFV.js → chunk-TPIQDAHD.js} +3 -3
  128. package/dist/{chunk-ICZWQNBR.js → chunk-TU4IITMO.js} +1 -1
  129. package/dist/{chunk-R2LBMDYH.js → chunk-TVSB4K5O.js} +2 -2
  130. package/dist/{chunk-CRZ7FUMI.js → chunk-TY7WOSVR.js} +1 -1
  131. package/dist/{chunk-3GF72UPC.js → chunk-U2FL2MTE.js} +1 -1
  132. package/dist/{chunk-IT2YUKYY.js → chunk-UAM6PRKO.js} +5 -5
  133. package/dist/{chunk-ADQ7XZE5.js → chunk-UJN7LD7Q.js} +4 -4
  134. package/dist/{chunk-Z55ASKZE.js → chunk-UL2EO5VU.js} +1 -1
  135. package/dist/{chunk-HAMPVCRY.js → chunk-VCTPYHOD.js} +2 -2
  136. package/dist/{chunk-SYMLVFQF.js → chunk-WC6L7F3Z.js} +1 -1
  137. package/dist/{chunk-IU6AC3WL.js → chunk-WDTX4PG5.js} +1 -1
  138. package/dist/{chunk-KBEC6VQS.js → chunk-WLAMY4XL.js} +93 -61
  139. package/dist/{chunk-UEJMLVGW.js → chunk-WMBZFHHZ.js} +6 -6
  140. package/dist/{chunk-CPLVXXRS.js → chunk-X3VHHQYM.js} +2 -2
  141. package/dist/{chunk-PQ2OPPGP.js → chunk-X63QVLMJ.js} +1 -1
  142. package/dist/{chunk-PAHTZDMZ.js → chunk-XDVHQFEQ.js} +1 -1
  143. package/dist/{chunk-OPUR2XQ2.js → chunk-XKPBY4G2.js} +2 -2
  144. package/dist/{chunk-ENKXJNKX.js → chunk-XO55FUXZ.js} +2 -2
  145. package/dist/{chunk-4AMOVEV7.js → chunk-Y6NTMCRF.js} +9 -9
  146. package/dist/{chunk-73NC557V.js → chunk-Y7S7XM5T.js} +1 -1
  147. package/dist/{chunk-7DMES2F3.js → chunk-YFTPZZEE.js} +2 -2
  148. package/dist/{chunk-H4HYZUE3.js → chunk-YGO6PEYX.js} +1 -1
  149. package/dist/{chunk-5F2ULLFW.js → chunk-YT43XMYD.js} +5 -5
  150. package/dist/{chunk-MERWX4DZ.js → chunk-YV6I32RM.js} +1 -1
  151. package/dist/{chunk-63CSQYYO.js → chunk-Z6BSZ2HK.js} +1 -1
  152. package/dist/{chunk-DWGDP537.js → chunk-ZAJ5SIG2.js} +2 -2
  153. package/dist/{chunk-IOWECUEU.js → chunk-ZJQ23DJQ.js} +1 -1
  154. package/dist/{chunk-NOJRZCN3.js → chunk-ZM66CP4T.js} +10 -10
  155. package/dist/{chunk-IIXSSRUR.js → chunk-ZUYNFADS.js} +3 -3
  156. package/dist/{clean-RJKQ23WH.js → clean-ROGNMYHH.js} +23 -23
  157. package/dist/cli.js +70 -70
  158. package/dist/{cloud-R3NQSUTQ.js → cloud-3A3ASGKH.js} +4 -4
  159. package/dist/{cloud-VUR3ZO6O.js → cloud-SGY2DYTO.js} +20 -8
  160. package/dist/{cloudrun-SZYAYV7N.js → cloudrun-AU2TSYBU.js} +7 -7
  161. package/dist/commands/layout-audit.browser.js +152 -3
  162. package/dist/{compare-AO5VJBJW.js → compare-DARUHTKS.js} +46 -46
  163. package/dist/{compiler-65SP7M2P.js → compiler-XLAW2M77.js} +5 -5
  164. package/dist/{component-WGTPAIKX.js → component-LHP7MJ3L.js} +8 -8
  165. package/dist/{compositions-HWM6DNJA.js → compositions-BMQ4NTWM.js} +15 -15
  166. package/dist/{contactSheet-ROUVWDRO.js → contactSheet-JFEV75W2.js} +5 -5
  167. package/dist/{curve-PLPTMDS4.js → curve-FNX3ONSD.js} +15 -15
  168. package/dist/cuts-HQI2ZBOS.js +225 -0
  169. package/dist/{delete-6WE3N3VO.js → delete-EDIDKV7H.js} +14 -14
  170. package/dist/{deploy-GYY6CYQD.js → deploy-KFOOAJEE.js} +7 -7
  171. package/dist/{describeProject-UQQ2GGIX.js → describeProject-A2TZSHVH.js} +11 -11
  172. package/dist/{destroy-WSGREGAG.js → destroy-LSQUDIVA.js} +7 -7
  173. package/dist/{deterministicFonts-JER4GPCM.js → deterministicFonts-XCYIRDQZ.js} +4 -4
  174. package/dist/{diff-JQBZUPKG.js → diff-PRT5CIDJ.js} +43 -43
  175. package/dist/{dist-JRJHFP27.js → dist-UIIZKERM.js} +21 -16
  176. package/dist/{dist-6EF2P3P7.js → dist-VPMEUGIV.js} +2 -2
  177. package/dist/{dist-HF753IX4.js → dist-YXDW5VUV.js} +4 -4
  178. package/dist/{doctor-SPJ5AJKX.js → doctor-TQ3RNOYK.js} +14 -14
  179. package/dist/{dotEnv-7JWLJ2TG.js → dotEnv-2VNMLGZC.js} +21 -1
  180. package/dist/{energy-KPDVIZ5D.js → energy-F7FS75TV.js} +16 -16
  181. package/dist/{events-P4223ZZZ.js → events-23GP74FO.js} +18 -18
  182. package/dist/{events-XON5I7VU.js → events-LJIO2U6Z.js} +2 -2
  183. package/dist/{events-4WAMG3JE.js → events-VN7QW7JU.js} +7 -7
  184. package/dist/{execute-CN5FLBYU.js → execute-GZLBWOFB.js} +39 -39
  185. package/dist/{extract-ABSBKYYH.js → extract-NJSXJFB2.js} +16 -16
  186. package/dist/face-HJNH6TQM.js +73 -0
  187. package/dist/{face-PLPQ5335.js → face-JQBXWNMX.js} +17 -17
  188. package/dist/{feedback-QPQ4G72X.js → feedback-T3WYFTGI.js} +20 -20
  189. package/dist/{ffmpeg-F3XK57IP.js → ffmpeg-HYYDF4FH.js} +10 -10
  190. package/dist/{figma-S5CVANVZ.js → figma-T5PCTXP7.js} +3 -3
  191. package/dist/fontLocalizeCli.js +16 -16
  192. package/dist/{frames-F4QEQB4V.js → frames-QTYTUQ52.js} +18 -18
  193. package/dist/{generate-O3OPOCHP.js → generate-RNUZUNHG.js} +30 -30
  194. package/dist/{get-P7LQ7U22.js → get-KP5FCZKQ.js} +14 -14
  195. package/dist/{gpuPolicy-JPRDRQWU.js → gpuPolicy-F7RTO2CS.js} +10 -10
  196. package/dist/{grade-compare-6UZ6SK4J.js → grade-compare-55ZWESO7.js} +40 -40
  197. package/dist/hands-XZFTUVNT.js +408 -0
  198. package/dist/{heifImagePrep-3PDFNYIE.js → heifImagePrep-7T6EC2VL.js} +13 -13
  199. package/dist/{help-DLOCAL7E.js → help-U36MZKGG.js} +1 -1
  200. package/dist/{history-YIJVOGH7.js → history-RFJGLXYS.js} +15 -15
  201. package/dist/hyperframe.manifest.json +1 -1
  202. package/dist/hyperframe.runtime.iife.js +67 -67
  203. package/dist/hyperframes-player.global.js +1 -1
  204. package/dist/{info-FVYJNNQL.js → info-3NB5HOAS.js} +17 -17
  205. package/dist/{init-V45K4VAG.js → init-H5L3KVSO.js} +34 -34
  206. package/dist/{ink-P72OB7L4.js → ink-C7YJAB4M.js} +16 -16
  207. package/dist/{inspect-3W2IG3JF.js → inspect-4LNO7C77.js} +43 -43
  208. package/dist/{installer-QGDTFTDU.js → installer-WALAPPWF.js} +8 -8
  209. package/dist/{keyframes-57OPHIR2.js → keyframes-FORZG2IO.js} +20 -20
  210. package/dist/{lambda-EQZS7UMO.js → lambda-PKVT2D45.js} +19 -19
  211. package/dist/launch-PXZF4TSU.js +61 -0
  212. package/dist/{layout-KSWMO6MH.js → layout-7BKIDH5L.js} +43 -43
  213. package/dist/{lint-WIYBGVF2.js → lint-ODMVBKA5.js} +13 -13
  214. package/dist/{lintProject-N3UN6HEE.js → lintProject-XEWYQ2YP.js} +2 -2
  215. package/dist/{list-3FQAHEE2.js → list-B223YD2L.js} +15 -15
  216. package/dist/{localPage-G2QEA7JL.js → localPage-GNT4KO7M.js} +11 -11
  217. package/dist/{login-C3U6WSHF.js → login-DTYGRX6S.js} +20 -6
  218. package/dist/{logout-525LWS6J.js → logout-WNVEAWWZ.js} +16 -2
  219. package/dist/{look-U5LWOI4H.js → look-WGDSVD5A.js} +16 -16
  220. package/dist/{manager-ZVYDWLHI.js → manager-OMDGEDU2.js} +11 -11
  221. package/dist/{measure-R2KZIHXT.js → measure-UMINPIOA.js} +13 -12
  222. package/dist/media-6Y6RGH6H.js +105 -0
  223. package/dist/{media-treatment-FAW5ZLT7.js → media-treatment-CVVCARD4.js} +17 -17
  224. package/dist/{media-use-CPTT2ZDE.js → media-use-4CDI2VV5.js} +19 -5
  225. package/dist/{models-53JHNGSL.js → models-3DMHZYLD.js} +16 -16
  226. package/dist/{motionShot-K5ZHHHE6.js → motionShot-EB2RQLG3.js} +21 -21
  227. package/dist/{normalize-TBACWMEK.js → normalize-KYVBGCEM.js} +4 -4
  228. package/dist/{normalize-audio-EOO2ORPP.js → normalize-audio-J5PRW2T2.js} +12 -12
  229. package/dist/{open-3YABRCER.js → open-CTEBHEQB.js} +21 -21
  230. package/dist/{parakeetRunner-TLZC2WAJ.js → parakeetRunner-JTYOFSEH.js} +18 -18
  231. package/dist/{pipeline-LZ73CHLB.js → pipeline-MTFGTQBG.js} +13 -13
  232. package/dist/{plan-3QQZ57IC.js → plan-KWQMZCRP.js} +26 -26
  233. package/dist/{play-ESWP4SF2.js → play-QAD7NEJH.js} +36 -35
  234. package/dist/{preflight-7G5OBMAA.js → preflight-FRZEYCAM.js} +11 -11
  235. package/dist/{present-5ER4JKR5.js → present-A236DAR5.js} +31 -31
  236. package/dist/{preview-62XOVSXM.js → preview-T7R3Y2P7.js} +29 -29
  237. package/dist/{privateProjectFile-6NPNZXK3.js → privateProjectFile-6ZDCWIFO.js} +10 -10
  238. package/dist/{probe-CFOGEVFU.js → probe-DRYUMUVG.js} +16 -16
  239. package/dist/{producer-LLE32VVO.js → producer-XGWE7D4U.js} +1 -1
  240. package/dist/{progress-PT3NAFVP.js → progress-2FZHJMQ2.js} +5 -5
  241. package/dist/{projectConfig-R54UDB5Y.js → projectConfig-V27XJAAR.js} +11 -11
  242. package/dist/{publication-TOBV6M4Q.js → publication-6GJPFPQK.js} +6 -6
  243. package/dist/{publish-QVNH5PXC.js → publish-X32RPL6L.js} +26 -26
  244. package/dist/{receivedRecordFollow-U43DTVLP.js → receivedRecordFollow-3ZT7SRRY.js} +13 -13
  245. package/dist/{refresh-HK4YEHWC.js → refresh-OD5KKKQ5.js} +16 -2
  246. package/dist/{remove-background-XHE6JL35.js → remove-background-FC3B3BLA.js} +14 -14
  247. package/dist/{render-7JJ2DFEB.js → render-6VLPVVIF.js} +11 -11
  248. package/dist/{render-GRZMK6ET.js → render-GMINWEBY.js} +43 -43
  249. package/dist/{render-WK3D5VOW.js → render-WZ2LHRIR.js} +53 -53
  250. package/dist/{render-batch-KFEZFJXB.js → render-batch-F4WR3T2E.js} +11 -11
  251. package/dist/renderSetupWorker.js +2 -2
  252. package/dist/{resolver-N4U52UK5.js → resolver-ZJTCLGJB.js} +8 -8
  253. package/dist/{reverse-6AOA3PXF.js → reverse-XDKTYZEM.js} +1 -1
  254. package/dist/{run-M2J3ZJ3W.js → run-5LP7BKUF.js} +20 -8
  255. package/dist/{screenshotCapture-UXJZ7D3L.js → screenshotCapture-72HYLPYD.js} +13 -13
  256. package/dist/{service-DBNZZLPU.js → service-DWVOCGDO.js} +17 -17
  257. package/dist/{share-6P7S3USP.js → share-K6FYZ7OP.js} +21 -21
  258. package/dist/{sherpa-CXEHEVAJ.js → sherpa-4TUAQ25R.js} +17 -17
  259. package/dist/sherpaWorker.js +4 -4
  260. package/dist/{sites-R5F5FNAL.js → sites-SUB3WQRQ.js} +5 -5
  261. package/dist/skills/media-use/audio/scripts/lib/bgm.mjs +4 -1
  262. package/dist/skills/media-use/audio/scripts/lib/gemini-auth.mjs +6 -1
  263. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +13 -8
  264. package/dist/skills/media-use/scripts/lib/adopt.mjs +2 -1
  265. package/dist/{skills-RMIHFNI6.js → skills-OEYS3FEC.js} +10 -10
  266. package/dist/{skillsUpdateCheck-EHOSL2AC.js → skillsUpdateCheck-RFHPBIPU.js} +3 -3
  267. package/dist/{snapshot-DQK3P7TF.js → snapshot-VJXNZMJZ.js} +62 -54
  268. package/dist/{src-4INHWM6L.js → src-P4PHYYKA.js} +15 -15
  269. package/dist/{src-BNSCFKOD.js → src-TDYI7QIO.js} +9 -9
  270. package/dist/{start-KPCEUG5K.js → start-U2SI4DAI.js} +28 -28
  271. package/dist/{state-5LE7AN6F.js → state-E3RFYMOF.js} +5 -5
  272. package/dist/{staticProjectServer-VCS4TOU2.js → staticProjectServer-NYBCXQPN.js} +26 -26
  273. package/dist/{status-WBNQSG4H.js → status-KCF3G7E5.js} +18 -18
  274. package/dist/studio/assets/{hyperframes-player-Cm0hYGm2.js → hyperframes-player-mSF_GvRs.js} +1 -1
  275. package/dist/studio/assets/{index-BGrNWeLK.js → index-CVmmHGol.js} +168 -168
  276. package/dist/studio/assets/{index-REqr_dLu.js → index-DN167Uqf.js} +1 -1
  277. package/dist/studio/assets/{pausedVideoDecoder-DqLDSq8J.js → pausedVideoDecoder-C8rhpGPx.js} +1 -1
  278. package/dist/studio/index.html +1 -1
  279. package/dist/{studio-api-RAW4CIPR.js → studio-api-TZHZLLCD.js} +21 -16
  280. package/dist/{studioServer-5PWBZADN.js → studioServer-IFEYMMIN.js} +72 -72
  281. package/dist/subCompositionWorker.js +8 -8
  282. package/dist/{sync-PM2WLBUC.js → sync-H2SNHXZD.js} +16 -16
  283. package/dist/{synthesize-NGU4DRKC.js → synthesize-EIZ3XR5O.js} +4 -4
  284. package/dist/{telemetry-4BST73P2.js → telemetry-BGBRABGW.js} +7 -7
  285. package/dist/{templates-G3XOWYXG.js → templates-6OBD5XQI.js} +19 -19
  286. package/dist/textOverFace-5TTQHKZG.js +170 -0
  287. package/dist/{timeline-E6ZXYGQR.js → timeline-XZMIGQSE.js} +24 -24
  288. package/dist/{tokens-KRHXM44C.js → tokens-5VOBSSBN.js} +7 -7
  289. package/dist/{transcribe-TKV3POYD.js → transcribe-F5VS2B2D.js} +14 -14
  290. package/dist/{transcribe-RJ3GOCJL.js → transcribe-VOWDWAVU.js} +35 -35
  291. package/dist/{tts-EPXRE275.js → tts-URZ56ZN7.js} +6 -6
  292. package/dist/{update-TO7MLJCS.js → update-L5WLOBMT.js} +12 -12
  293. package/dist/{updateCheck-5AY447D5.js → updateCheck-NYDA3CKE.js} +2 -2
  294. package/dist/{upgrade-BLZWWXYL.js → upgrade-APGW3TZA.js} +6 -6
  295. package/dist/{urlDownloader-ME67HQ4O.js → urlDownloader-H67ZJV7Q.js} +9 -9
  296. package/dist/{validate-SRBV5NFV.js → validate-ZWNAZZMI.js} +31 -31
  297. package/dist/{video-JPESR36I.js → video-IDLKJE2M.js} +12 -12
  298. package/dist/{voices-AECYKXGA.js → voices-TTD5VBUS.js} +28 -28
  299. package/dist/warmCheck.js +50 -50
  300. package/package.json +1 -1
  301. package/dist/chunk-BNH2IKGV.js +0 -5101
  302. package/dist/cuts-T5GYTDUA.js +0 -131
@@ -20,8 +20,9 @@ import {
20
20
  startCaptureProxy
21
21
  } from "./chunk-PJQVJSMG.js";
22
22
  import {
23
- PREVIEW_FOR_ANOTHER_SITE_META
24
- } from "./chunk-BWFNWEUO.js";
23
+ PREVIEW_FOR_ANOTHER_SITE_META,
24
+ serviceWorkerScriptFetch
25
+ } from "./chunk-LKHH4BUW.js";
25
26
  import {
26
27
  alphaDecoderFor,
27
28
  pixelFormatHasAlpha,
@@ -37,7 +38,7 @@ import {
37
38
  removeScratch,
38
39
  renameWithRetry,
39
40
  renameWithRetryAsync
40
- } from "./chunk-LYTELQL2.js";
41
+ } from "./chunk-K6ARLNKJ.js";
41
42
  import {
42
43
  DISTRIBUTED_FPS,
43
44
  HF_COLOR_GROUP_ATTR,
@@ -67,7 +68,7 @@ import {
67
68
  resolveAuthoredTimingWindow,
68
69
  toFps,
69
70
  validateVariables
70
- } from "./chunk-MPVJI4SE.js";
71
+ } from "./chunk-BXNWMRZL.js";
71
72
  import {
72
73
  AUDIO_GROUP_RENDER_ID_ATTR,
73
74
  AUTHORED_SOURCE_BEGIN,
@@ -111,11 +112,11 @@ import {
111
112
  sourceTimeAt,
112
113
  timeAtSourceTime,
113
114
  volumeSegmentSampleCount
114
- } from "./chunk-BNH2IKGV.js";
115
+ } from "./chunk-MJI4W7LY.js";
115
116
  import {
116
117
  isSafePath,
117
118
  terminalText
118
- } from "./chunk-3GF72UPC.js";
119
+ } from "./chunk-U2FL2MTE.js";
119
120
  import {
120
121
  browserPathFromEnv,
121
122
  buildChromeLaunchEnv,
@@ -131,7 +132,7 @@ import {
131
132
  } from "./chunk-YWUE4CRU.js";
132
133
  import {
133
134
  resolveReferencedStart
134
- } from "./chunk-TTRX7NM3.js";
135
+ } from "./chunk-NDXUDTLF.js";
135
136
  import {
136
137
  isWithinProjectRoot,
137
138
  resolveProjectRelativeSrc
@@ -157,7 +158,7 @@ import {
157
158
  import {
158
159
  isPrivateFileUnder,
159
160
  isStudioPrivatePath
160
- } from "./chunk-PTGNUVCB.js";
161
+ } from "./chunk-NTGTWXAO.js";
161
162
  import {
162
163
  withHyperframesBrowserMarker
163
164
  } from "./chunk-4NTCQF3L.js";
@@ -2869,6 +2870,7 @@ async function produceDrawElementFrameBatch(page, times, width, height, quality
2869
2870
 
2870
2871
  // ../engine/src/services/frameCapture.ts
2871
2872
  import { existsSync as existsSync4, mkdirSync, writeFileSync } from "fs";
2873
+ import { availableParallelism } from "os";
2872
2874
  import { join as join7 } from "path";
2873
2875
 
2874
2876
  // ../engine/src/services/renderFrameVideoHold.ts
@@ -9925,6 +9927,7 @@ var STATIC_VERIFY_REFERENCE_STRIDE = 24;
9925
9927
  var STATIC_VERIFY_MAX_MS = 15e3;
9926
9928
  var STATIC_VERIFY_HEADROOM = 1.5;
9927
9929
  var STATIC_VERIFY_CEILING_MS = 6e4;
9930
+ var STATIC_VERIFY_MAX_PAGES = 4;
9928
9931
  var STATIC_VERIFY_MIN_SCREENSHOT_CAP = 400;
9929
9932
  var STATIC_VERIFY_SAMPLE_CAP_MULTIPLIER = 8;
9930
9933
  var STATIC_VERIFY_MAX_GLOBAL_SAMPLE_FLOOR = STATIC_VERIFY_MIN_SCREENSHOT_CAP / STATIC_VERIFY_SAMPLE_CAP_MULTIPLIER;
@@ -10078,10 +10081,11 @@ async function verifyStaticFramesSafe(session, page, staticFrames, fps, sampleCo
10078
10081
  stats
10079
10082
  });
10080
10083
  if (plan.runs.length === 0) return finish("unprofitable");
10081
- const seekToFrame = async (frameIdx) => {
10084
+ const pages = Array.isArray(page) ? page : [page];
10085
+ const seekToFrame = async (target, frameIdx) => {
10082
10086
  stats.seeks++;
10083
10087
  const t = quantizeTimeToFrame(frameIdx / fps, fps);
10084
- await page.evaluate((tt) => {
10088
+ await target.evaluate((tt) => {
10085
10089
  const hf = window.__hf;
10086
10090
  if (hf && typeof hf.seek === "function") hf.seek(tt, { suppressEvents: false });
10087
10091
  }, t);
@@ -10092,7 +10096,7 @@ async function verifyStaticFramesSafe(session, page, staticFrames, fps, sampleCo
10092
10096
  Math.ceil(plan.predictedFrames / STATIC_VERIFY_REFERENCE_STRIDE) * 3 + plan.runs.length
10093
10097
  );
10094
10098
  let firstShotMs = 0;
10095
- const seekCapture = async (frameIdx) => {
10099
+ const seekCapture = async (target, frameIdx) => {
10096
10100
  const spent = now() - startedAt;
10097
10101
  const budget = Math.max(
10098
10102
  STATIC_VERIFY_MAX_MS,
@@ -10104,44 +10108,73 @@ async function verifyStaticFramesSafe(session, page, staticFrames, fps, sampleCo
10104
10108
  if (spent >= budget) return "time_budget";
10105
10109
  if (stats.screenshots >= hardCap) return "count_budget";
10106
10110
  const shotStart = now();
10107
- await seekToFrame(frameIdx);
10108
- stats.screenshots++;
10109
- const buf = await capture(page, session.options);
10111
+ await seekToFrame(target, frameIdx);
10112
+ const first = stats.screenshots++ === 0;
10113
+ const buf = await capture(target, session.options);
10110
10114
  session.options.onStaticDedupActivity?.();
10111
- if (stats.screenshots === 1) firstShotMs = now() - shotStart;
10115
+ if (first) firstShotMs = now() - shotStart;
10112
10116
  return buf;
10113
10117
  };
10114
- try {
10115
- for (const run of plan.runs) {
10116
- const anchorBuf = await seekCapture(run.anchor);
10117
- if (typeof anchorBuf === "string") return finish(anchorBuf, run.a);
10118
+ let next = 0;
10119
+ let budgetExit;
10120
+ let mismatchAt;
10121
+ let failed = false;
10122
+ const stopped = () => budgetExit !== void 0 || mismatchAt !== void 0 || failed;
10123
+ const verifyOn = async (target) => {
10124
+ while (!stopped() && next < plan.runs.length) {
10125
+ const run = plan.runs[next++];
10126
+ const anchorBuf = await seekCapture(target, run.anchor);
10127
+ if (typeof anchorBuf === "string") {
10128
+ budgetExit ??= finish(anchorBuf, run.a);
10129
+ return;
10130
+ }
10118
10131
  stats.completedAnchors++;
10119
10132
  for (const f of run.comparisons) {
10120
- const cur = await seekCapture(f);
10121
- if (typeof cur === "string") return finish(cur, f);
10133
+ const cur = await seekCapture(target, f);
10134
+ if (typeof cur === "string") {
10135
+ budgetExit ??= finish(cur, f);
10136
+ return;
10137
+ }
10122
10138
  stats.completedComparisons++;
10123
10139
  stats.byteComparisons++;
10124
10140
  if (!anchorBuf.equals(cur)) {
10125
- verifiedFrames.clear();
10126
- stats.verifiedFrames = 0;
10127
- stats.unverifiedFrames = plan.predictedFrames;
10128
- return finish("mismatch", f);
10141
+ mismatchAt ??= f;
10142
+ return;
10129
10143
  }
10130
10144
  }
10145
+ if (mismatchAt !== void 0 || failed) return;
10131
10146
  stats.completedRuns++;
10132
10147
  for (let frame = run.a; frame <= run.b; frame++) verifiedFrames.add(frame);
10133
10148
  stats.verifiedFrames = verifiedFrames.size;
10134
10149
  stats.unverifiedFrames = plan.predictedFrames - verifiedFrames.size;
10135
10150
  }
10136
- return finish("verified");
10137
- } catch {
10151
+ };
10152
+ const clearVerified = () => {
10138
10153
  verifiedFrames.clear();
10139
10154
  stats.verifiedFrames = 0;
10140
10155
  stats.unverifiedFrames = plan.predictedFrames;
10141
- return finish("infrastructure");
10156
+ };
10157
+ try {
10158
+ const settled = await Promise.allSettled(
10159
+ pages.map(
10160
+ (target) => verifyOn(target).catch((error) => {
10161
+ failed = true;
10162
+ throw error;
10163
+ })
10164
+ )
10165
+ );
10166
+ if (settled.some((lane) => lane.status === "rejected")) {
10167
+ clearVerified();
10168
+ return finish("infrastructure");
10169
+ }
10170
+ if (mismatchAt !== void 0) {
10171
+ clearVerified();
10172
+ return finish("mismatch", mismatchAt);
10173
+ }
10174
+ return budgetExit ?? finish("verified");
10142
10175
  } finally {
10143
- await seekToFrame(0).catch(() => {
10144
- });
10176
+ await Promise.all(pages.map((target) => seekToFrame(target, 0).catch(() => {
10177
+ })));
10145
10178
  stats.elapsedMs = Math.max(0, now() - startedAt);
10146
10179
  }
10147
10180
  }
@@ -10339,14 +10372,26 @@ async function verifyOrShareStaticFrames(session, stats, logInitPhase) {
10339
10372
  claim?.settle(shareableStaticFrames(shared));
10340
10373
  }
10341
10374
  }
10375
+ function staticVerificationPageCount() {
10376
+ const forced = Number(process.env.HF_STATIC_DEDUP_VERIFY_PAGES);
10377
+ if (Number.isInteger(forced) && forced >= 1) return forced;
10378
+ return Math.min(STATIC_VERIFY_MAX_PAGES, Math.max(1, availableParallelism()));
10379
+ }
10342
10380
  async function verifyAndArmStaticDedup(session, stats, fps, samples, logInitPhase, onVerdict) {
10343
- let verificationPage;
10381
+ let verificationPages = [];
10344
10382
  let verdict;
10345
10383
  try {
10346
- verificationPage = await createStaticVerificationPage(session);
10384
+ const opened = await Promise.allSettled(
10385
+ Array.from(
10386
+ { length: staticVerificationPageCount() },
10387
+ () => createStaticVerificationPage(session)
10388
+ )
10389
+ );
10390
+ verificationPages = opened.flatMap((p) => p.status === "fulfilled" ? [p.value] : []);
10391
+ if (verificationPages.length === 0) throw new Error("no verification page opened");
10347
10392
  verdict = await verifyStaticFramesSafe(
10348
10393
  session,
10349
- verificationPage,
10394
+ verificationPages,
10350
10395
  stats.staticFrameSet,
10351
10396
  fps,
10352
10397
  samples
@@ -10356,8 +10401,8 @@ async function verifyAndArmStaticDedup(session, stats, fps, samples, logInitPhas
10356
10401
  logInitPhase("static-frame dedup: disabled (verification infrastructure failure)");
10357
10402
  return;
10358
10403
  } finally {
10359
- await verificationPage?.close().catch(() => {
10360
- });
10404
+ await Promise.all(verificationPages.map((p) => p.close().catch(() => {
10405
+ })));
10361
10406
  }
10362
10407
  session.staticDedupVerification = verdict;
10363
10408
  onVerdict(verdict);
@@ -20626,6 +20671,12 @@ function createFileServer(options) {
20626
20671
  return c.text("Forbidden: unknown host", 403);
20627
20672
  });
20628
20673
  }
20674
+ app.use(async function refuseServiceWorkerScripts(c, next) {
20675
+ const serviceWorker = c.req.header("service-worker");
20676
+ if (!serviceWorkerScriptFetch({ serviceWorker, fetchDest: c.req.header("sec-fetch-dest") }))
20677
+ return next();
20678
+ return c.text("Forbidden", 403);
20679
+ });
20629
20680
  app.get("/*", (c) => {
20630
20681
  let requestPath = c.req.path;
20631
20682
  if (requestPath === "/") requestPath = "/index.html";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  GSAP_CDN_VERSION,
9
9
  gsapCdnDist
10
- } from "./chunk-MPVJI4SE.js";
10
+ } from "./chunk-BXNWMRZL.js";
11
11
 
12
12
  // src/server/readBundleFile.ts
13
13
  import { openSync, fstatSync, closeSync, statSync, readFileSync, constants } from "fs";
@@ -13,6 +13,15 @@ var STUDIO_PREVIEW_LAZY_ATTR = "data-hf-preview-lazy";
13
13
  var STUDIO_PREVIEW_ERRORS = "__hfPreviewErrors";
14
14
  var STUDIO_PREVIEW_ERROR_KINDS = "__hfPreviewErrorKinds";
15
15
  var refusedPreviewMessage = (status) => `The preview page could not be loaded (HTTP ${status}).`;
16
+ function dropServiceWorkers() {
17
+ const workers = typeof navigator === "undefined" ? void 0 : navigator.serviceWorker;
18
+ if (!workers)
19
+ return Promise.resolve();
20
+ return workers.getRegistrations().then((all) => Promise.all(all.map((each) => each.unregister()))).then(() => void 0, () => void 0);
21
+ }
22
+ function serviceWorkerScriptFetch(headers) {
23
+ return headers.serviceWorker === "script" || headers.fetchDest === "serviceworker";
24
+ }
16
25
 
17
26
  export {
18
27
  STUDIO_PREVIEW_MARK_META,
@@ -21,5 +30,7 @@ export {
21
30
  STUDIO_PREVIEW_LAZY_ATTR,
22
31
  STUDIO_PREVIEW_ERRORS,
23
32
  STUDIO_PREVIEW_ERROR_KINDS,
24
- refusedPreviewMessage
33
+ refusedPreviewMessage,
34
+ dropServiceWorkers,
35
+ serviceWorkerScriptFetch
25
36
  };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  windowsLocalAppData
9
- } from "./chunk-6KU6TCSS.js";
9
+ } from "./chunk-J5VEGTHN.js";
10
10
  import {
11
11
  MAX_PORT_SCAN,
12
12
  PreviewServerPortMismatchError,
@@ -9,14 +9,14 @@ import {
9
9
  } from "./chunk-NK2UW3WR.js";
10
10
  import {
11
11
  stoppedByCancelSignal
12
- } from "./chunk-ICZWQNBR.js";
12
+ } from "./chunk-TU4IITMO.js";
13
13
  import {
14
14
  DEFAULT_MODEL,
15
15
  ensureModel,
16
16
  ensureWhisper,
17
17
  hasFFmpeg,
18
18
  pinnedWhisperModel
19
- } from "./chunk-5RM7274K.js";
19
+ } from "./chunk-JXVUSNAG.js";
20
20
  import {
21
21
  sha256File
22
22
  } from "./chunk-RZ6CXJ56.js";
@@ -24,10 +24,10 @@ import {
24
24
  findFFmpeg,
25
25
  findFFprobe,
26
26
  getFFmpegInstallHint
27
- } from "./chunk-CRZ7FUMI.js";
27
+ } from "./chunk-TY7WOSVR.js";
28
28
  import {
29
29
  parseWhisperJson
30
- } from "./chunk-4T45V6GF.js";
30
+ } from "./chunk-EMIOIMHN.js";
31
31
  import {
32
32
  findWavChunk
33
33
  } from "./chunk-UOFAE5RF.js";
@@ -42,7 +42,7 @@ import {
42
42
  } from "./chunk-D54ZDCZR.js";
43
43
  import {
44
44
  replaceFileAtomically
45
- } from "./chunk-LYTELQL2.js";
45
+ } from "./chunk-K6ARLNKJ.js";
46
46
 
47
47
  // src/whisper/transcribe.ts
48
48
  import { execFile, execFileSync } from "child_process";
@@ -19,7 +19,11 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-BAU3ASNM.js";
22
+ } from "./chunk-LZDRK67I.js";
23
+ import {
24
+ MEDIA_LINK_ATTR,
25
+ relinkSplitHalves
26
+ } from "./chunk-HYO4DIYT.js";
23
27
  import {
24
28
  DEFAULT_TARGET_LUFS,
25
29
  absoluteLoudnessPlan,
@@ -28,11 +32,7 @@ import {
28
32
  requestedProjectPath,
29
33
  requiredFfmpeg,
30
34
  resolveLocalAudioPath
31
- } from "./chunk-RJCQZMNI.js";
32
- import {
33
- MEDIA_LINK_ATTR,
34
- relinkSplitHalves
35
- } from "./chunk-HYO4DIYT.js";
35
+ } from "./chunk-GKRD43J2.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-UX5KLSAJ.js";
60
+ } from "./chunk-OKQ5OUJH.js";
61
61
  import {
62
62
  probeAudioTrack,
63
63
  probeMediaMetadata
64
- } from "./chunk-TJAFCC37.js";
64
+ } from "./chunk-IW7QUJDU.js";
65
65
  import {
66
66
  HistoryBusyError,
67
67
  MAX_WINDOW_IDLE_MS,
@@ -76,7 +76,7 @@ import {
76
76
  resolveProjectSignature,
77
77
  serveWhileOpen,
78
78
  settledFileTag
79
- } from "./chunk-5T2LNQAH.js";
79
+ } from "./chunk-7R7OCEHI.js";
80
80
  import {
81
81
  findTimelineScript,
82
82
  parseGsapScriptAcorn
@@ -116,7 +116,7 @@ import {
116
116
  resolveWritableWithinProject,
117
117
  toolTrustedFileWithin,
118
118
  walkDir
119
- } from "./chunk-WTO3A7ET.js";
119
+ } from "./chunk-NMYYW6QM.js";
120
120
  import {
121
121
  PREVIEW_FOR_ANOTHER_SITE_META,
122
122
  STUDIO_PREVIEW_CAPTURE_MODE,
@@ -124,8 +124,9 @@ import {
124
124
  STUDIO_PREVIEW_ERROR_KINDS,
125
125
  STUDIO_PREVIEW_LAZY_ATTR,
126
126
  STUDIO_PREVIEW_MARK_META,
127
- refusedPreviewMessage
128
- } from "./chunk-BWFNWEUO.js";
127
+ refusedPreviewMessage,
128
+ serviceWorkerScriptFetch
129
+ } from "./chunk-LKHH4BUW.js";
129
130
  import {
130
131
  decodableAudioStream
131
132
  } from "./chunk-D54ZDCZR.js";
@@ -134,7 +135,7 @@ import {
134
135
  ensureHfIds,
135
136
  stampHfIdsInPlace,
136
137
  stripSdrPngColourTags
137
- } from "./chunk-7AP5C4C2.js";
138
+ } from "./chunk-QQZ7DCAA.js";
138
139
  import {
139
140
  RENDER_VARIABLES_FILE
140
141
  } from "./chunk-F6PI5O3H.js";
@@ -145,7 +146,7 @@ import {
145
146
  createStagingDir,
146
147
  replaceFileAtomically,
147
148
  retryWindowsHold
148
- } from "./chunk-LYTELQL2.js";
149
+ } from "./chunk-K6ARLNKJ.js";
149
150
  import {
150
151
  GSAP_BASE_URL_META,
151
152
  PREVIEW_PROXY_BOX_PARAM,
@@ -163,7 +164,7 @@ import {
163
164
  normalizeGsapLocalRoot,
164
165
  parseFps,
165
166
  parsePreviewProxyBox
166
- } from "./chunk-MPVJI4SE.js";
167
+ } from "./chunk-BXNWMRZL.js";
167
168
  import {
168
169
  AFTER_FONTS_SCRIPT_TYPE,
169
170
  RUNTIME_BOOTSTRAP_ATTR,
@@ -178,7 +179,7 @@ import {
178
179
  resolveRateSpec,
179
180
  sourceTimeAt,
180
181
  stripEmbeddedRuntimeScripts
181
- } from "./chunk-BNH2IKGV.js";
182
+ } from "./chunk-MJI4W7LY.js";
182
183
  import {
183
184
  ProjectRootMissingError,
184
185
  folderGone,
@@ -187,7 +188,7 @@ import {
187
188
  mkdirWithinProject,
188
189
  realpath,
189
190
  resolveWithinProject
190
- } from "./chunk-3GF72UPC.js";
191
+ } from "./chunk-U2FL2MTE.js";
191
192
  import {
192
193
  isWithinProjectRoot,
193
194
  readProjectFile
@@ -250,7 +251,7 @@ function findUnsafeDomPatchValues(value) {
250
251
  });
251
252
  }
252
253
 
253
- // ../studio-server/dist/chunk-P7XQOBFZ.js
254
+ // ../studio-server/dist/chunk-NEBVM4WG.js
254
255
  import { hostname, networkInterfaces } from "os";
255
256
  function isLoopbackHost(host) {
256
257
  if (!host) return false;
@@ -334,6 +335,11 @@ function requestFromAnotherSite(headers) {
334
335
  if (!host || isLoopbackHost(host)) return false;
335
336
  return !refererNamesHost(headers.referer, host);
336
337
  }
338
+ function proxyWorkFromAnotherSite(headers) {
339
+ const site = headers.fetchSite;
340
+ if (site !== void 0) return site !== "same-origin" && site !== "none";
341
+ return !headers.host || !refererNamesHost(headers.referer, headers.host);
342
+ }
337
343
  function documentFromAnotherSite(headers) {
338
344
  if (headers.fetchSite !== void 0 || !headers.host) return requestFromAnotherSite(headers);
339
345
  return !refererNamesHost(headers.referer, headers.host);
@@ -7003,7 +7009,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
7003
7009
  let block = extractGsapScriptBlock(html);
7004
7010
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
7005
7011
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
7006
- const { GSAP_CDN } = await import("./dist-HF753IX4.js");
7012
+ const { GSAP_CDN } = await import("./dist-YXDW5VUV.js");
7007
7013
  const bootstrap = [
7008
7014
  `<script src="${GSAP_CDN}"></script>`,
7009
7015
  "<script>",
@@ -10934,6 +10940,14 @@ function registerHistoryRoutes(api, adapter) {
10934
10940
  })
10935
10941
  );
10936
10942
  }
10943
+ async function refuseServiceWorkerScripts(c, next) {
10944
+ const headers = {
10945
+ serviceWorker: c.req.header("service-worker"),
10946
+ fetchDest: c.req.header("sec-fetch-dest")
10947
+ };
10948
+ if (serviceWorkerScriptFetch(headers)) return c.text("Forbidden", 403);
10949
+ await next();
10950
+ }
10937
10951
  function previewErrorPage(status) {
10938
10952
  const message = refusedPreviewMessage(status);
10939
10953
  return `<!doctype html><meta charset="utf-8"><script>window.${STUDIO_PREVIEW_ERRORS}=[${JSON.stringify(message)}]</script><p>${message}</p>`;
@@ -11151,7 +11165,7 @@ var sandboxPreviewForAnotherSiteOrCapture = (sandboxCaptures) => async (c, next)
11151
11165
  };
11152
11166
  async function refuseProxyWorkForAnotherSite(c, next) {
11153
11167
  const proxyWork = c.req.query(PREVIEW_PROXY_PARAM) !== void 0;
11154
- if (proxyWork && fromAnotherSite(c) && !loadedThroughFrameToken(c.req.raw))
11168
+ if (proxyWork && proxyWorkFromAnotherSite(siteHeaders(c)) && !loadedThroughFrameToken(c.req.raw))
11155
11169
  return c.text("forbidden: media proxy requested by another site", 403);
11156
11170
  return next();
11157
11171
  }
@@ -11176,6 +11190,7 @@ function urlScheme(url) {
11176
11190
  }
11177
11191
  function createStudioApi(adapter, options = {}) {
11178
11192
  const api = new Hono();
11193
+ api.use(refuseServiceWorkerScripts);
11179
11194
  const sandboxThumbnailCaptures = options.sandboxThumbnailCaptures ?? false;
11180
11195
  const frameTokens = createFrameTokens();
11181
11196
  const resolveProjectId = (id) => Promise.resolve().then(() => adapter.resolveProject(id)).then(
@@ -11438,7 +11453,7 @@ export {
11438
11453
  identityAllowed,
11439
11454
  hostHeaderAllowed,
11440
11455
  wildcardBindHostAllowed,
11441
- requestFromAnotherSite,
11456
+ proxyWorkFromAnotherSite,
11442
11457
  documentFromAnotherSite,
11443
11458
  sameOriginPost,
11444
11459
  stampProjectHfIds,
@@ -11455,6 +11470,7 @@ export {
11455
11470
  applyFileMutations,
11456
11471
  MAX_UPLOAD_BYTES,
11457
11472
  originForListeningAddress,
11473
+ refuseServiceWorkerScripts,
11458
11474
  captureLoadGrant,
11459
11475
  grantCaptureLoads,
11460
11476
  createStudioApi,
@@ -12,15 +12,15 @@ import {
12
12
  ensureHfIds,
13
13
  mintHfId,
14
14
  walkCompositionDescendants
15
- } from "./chunk-7AP5C4C2.js";
15
+ } from "./chunk-QQZ7DCAA.js";
16
16
  import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-MPVJI4SE.js";
20
+ } from "./chunk-BXNWMRZL.js";
21
21
  import {
22
22
  require_dist
23
- } from "./chunk-TTRX7NM3.js";
23
+ } from "./chunk-NDXUDTLF.js";
24
24
  import {
25
25
  SPLIT_BOUNDARY_EPSILON_S,
26
26
  readClipTiming,
@@ -8,11 +8,11 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-NU7BEOCX.js";
11
+ } from "./chunk-Q76FGC6A.js";
12
12
  import {
13
13
  MOTION_BLUR_FINGERPRINT_FIELDS,
14
14
  redactTelemetryString
15
- } from "./chunk-MPVJI4SE.js";
15
+ } from "./chunk-BXNWMRZL.js";
16
16
  import {
17
17
  getPowerState
18
18
  } from "./chunk-YB2ZJJFJ.js";
@@ -10,26 +10,26 @@ import {
10
10
  isUploadedOutsideFileType,
11
11
  leftOutWarning,
12
12
  linksOutside
13
- } from "./chunk-B5TLZC2D.js";
13
+ } from "./chunk-C6J6TZSW.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-LTXZLTXW.js";
20
+ } from "./chunk-L3LVTSHX.js";
21
21
  import {
22
22
  realFilePath
23
- } from "./chunk-WTO3A7ET.js";
23
+ } from "./chunk-NMYYW6QM.js";
24
24
  import {
25
25
  renameWithRetry
26
- } from "./chunk-LYTELQL2.js";
26
+ } from "./chunk-K6ARLNKJ.js";
27
27
  import {
28
28
  parseAnimatedGifMetadata
29
- } from "./chunk-MPVJI4SE.js";
29
+ } from "./chunk-BXNWMRZL.js";
30
30
  import {
31
31
  isSafePath
32
- } from "./chunk-3GF72UPC.js";
32
+ } from "./chunk-U2FL2MTE.js";
33
33
  import {
34
34
  namesAnotherNetworkRoot
35
35
  } from "./chunk-S35RUNXJ.js";
@@ -8,15 +8,15 @@ import {
8
8
  normalizeRelPath,
9
9
  resolveLocalImageSourcePath,
10
10
  splitUrlSuffix
11
- } from "./chunk-CT54FOTS.js";
11
+ } from "./chunk-MH7FQ6N7.js";
12
12
  import {
13
13
  runFfmpeg,
14
14
  runFfprobe,
15
15
  urlInputArgs
16
- } from "./chunk-LTXZLTXW.js";
16
+ } from "./chunk-L3LVTSHX.js";
17
17
  import {
18
18
  renameWithRetry
19
- } from "./chunk-LYTELQL2.js";
19
+ } from "./chunk-K6ARLNKJ.js";
20
20
  import {
21
21
  parseHTML
22
22
  } from "./chunk-GWTIFRF5.js";