hyperframes 0.9.33 → 0.9.35

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 (316) hide show
  1. package/bin/hyperframes.mjs +10 -0
  2. package/dist/{add-GDXM36YQ.js → add-T5XBJN7F.js} +17 -16
  3. package/dist/{agentPromptGenerator-KPNDH2EI.js → agentPromptGenerator-KYLYM7IC.js} +11 -11
  4. package/dist/{animatedGifPrep-SAKETEZ2.js → animatedGifPrep-FLIPCLVQ.js} +10 -10
  5. package/dist/api.js +41 -41
  6. package/dist/{appHistory-WZIHFCPK.js → appHistory-VOZOEPVK.js} +3 -3
  7. package/dist/{asset-KOJC72AQ.js → asset-PJLMPMBK.js} +3 -3
  8. package/dist/{assetCataloger-Q4ZFUI6G.js → assetCataloger-ZQ2PWA47.js} +12 -12
  9. package/dist/{audio-XZBBXKQC.js → audio-EBICH5EQ.js} +21 -21
  10. package/dist/{auth-X45YSZGE.js → auth-OTDAEZYD.js} +2 -2
  11. package/dist/{autoUpdate-77XWQ564.js → autoUpdate-TQWOBFKJ.js} +2 -2
  12. package/dist/{avatars-D3D22TI2.js → avatars-WRUDCHTJ.js} +14 -14
  13. package/dist/{backgroundChecks-2L2RWFJ3.js → backgroundChecks-AMPTVQY5.js} +3 -3
  14. package/dist/backgroundChecksWorker.js +5 -4
  15. package/dist/{batchRender-O7J47H2Z.js → batchRender-SGTA6JAT.js} +6 -6
  16. package/dist/{beats-6RVVU56H.js → beats-TLHZXD7W.js} +13 -13
  17. package/dist/{benchmark-D5JRNAVQ.js → benchmark-TAXHNW33.js} +11 -11
  18. package/dist/{billing-WT4DGZII.js → billing-GOHX7W6X.js} +15 -15
  19. package/dist/{browser-2OR737P4.js → browser-H7K5L7WE.js} +10 -9
  20. package/dist/{bundleWithLocalizedFonts-VBET4RVR.js → bundleWithLocalizedFonts-6VWRV726.js} +1 -1
  21. package/dist/{capture-23X2CK56.js → capture-WJAV7DPT.js} +22 -22
  22. package/dist/{capture-B34FTO6G.js → capture-WVJK3FNU.js} +4 -4
  23. package/dist/{captureCompositionFrame-TPZKEVKN.js → captureCompositionFrame-R2OQ5A4S.js} +18 -18
  24. package/dist/{captureFile-Y2ZMB7HK.js → captureFile-MRDRPMNA.js} +3 -3
  25. package/dist/{catalog-ACHSYU5Z.js → catalog-JKDKE3QA.js} +17 -16
  26. package/dist/{catch-up-FGANS2BB.js → catch-up-65YBZQSC.js} +11 -11
  27. package/dist/{check-DXK4L5WP.js → check-XMNNDKNC.js} +50 -50
  28. package/dist/{checkAudio-4ISYJED3.js → checkAudio-ITIWPYET.js} +14 -14
  29. package/dist/{checkBrowser-5ECMULMP.js → checkBrowser-MQHZWWLA.js} +43 -43
  30. package/dist/{chunk-2I4DQZLQ.js → chunk-2QM6JA3F.js} +23 -37
  31. package/dist/{chunk-UC4X6I35.js → chunk-3F2DTPBD.js} +0 -6
  32. package/dist/chunk-42KTBKL4.js +5053 -0
  33. package/dist/{chunk-DMZER7D5.js → chunk-46ZLBZPE.js} +2 -2
  34. package/dist/{chunk-7UUUV4PN.js → chunk-47JK3BOK.js} +1 -1
  35. package/dist/{chunk-I3PA54IU.js → chunk-4IPKEJPW.js} +1 -1
  36. package/dist/{chunk-MDGNQWFN.js → chunk-5M43Z25X.js} +1 -1
  37. package/dist/{chunk-CHM3QYLF.js → chunk-5OHPI5OR.js} +3 -3
  38. package/dist/{chunk-SOAQ3XXB.js → chunk-5TAFQEKH.js} +2 -2
  39. package/dist/{chunk-XDRSEU2I.js → chunk-6AJG7TMS.js} +6 -6
  40. package/dist/{chunk-G7PITEUH.js → chunk-6MYO2IHD.js} +1 -1
  41. package/dist/{chunk-BMDABBHG.js → chunk-7IVPSA4K.js} +5 -17
  42. package/dist/{chunk-HPKW6UVW.js → chunk-7JCATDO6.js} +3 -3
  43. package/dist/{chunk-JZIEZCQM.js → chunk-7PBJR7WI.js} +5 -12
  44. package/dist/{chunk-O2T6ZTLN.js → chunk-7SUMXO6L.js} +1 -1
  45. package/dist/{chunk-UE2WSWNA.js → chunk-7ZYTAHZ2.js} +1 -1
  46. package/dist/{chunk-YTUPQTXA.js → chunk-A2MYAIM3.js} +10 -10
  47. package/dist/{chunk-A4VXOJZO.js → chunk-A2OQGUBL.js} +3 -3
  48. package/dist/{chunk-YNFHZ4RI.js → chunk-A3CUI2S2.js} +3 -3
  49. package/dist/{chunk-JCJJCYCP.js → chunk-A3MH6DGU.js} +10 -10
  50. package/dist/{chunk-VZQXHYEI.js → chunk-A3UI2LNA.js} +3 -3
  51. package/dist/{chunk-DDDSTRHU.js → chunk-ADAXA5XD.js} +26 -8
  52. package/dist/{chunk-2TBW7UOF.js → chunk-AOZKUVTY.js} +203 -115
  53. package/dist/{chunk-T3GSTIBS.js → chunk-AU6UGZZ4.js} +3 -3
  54. package/dist/{chunk-N6Y645MX.js → chunk-B7GOS2BL.js} +1 -1
  55. package/dist/{chunk-2QTGQGYA.js → chunk-BFXSMYNY.js} +1 -1
  56. package/dist/{chunk-IYLGUQFR.js → chunk-BHOEEMCW.js} +3 -3
  57. package/dist/{chunk-XUDJ5XSQ.js → chunk-BHPPJMXP.js} +6 -6
  58. package/dist/{chunk-REJ4NIBY.js → chunk-BHSQSWN6.js} +1 -1
  59. package/dist/{chunk-MA35E5OY.js → chunk-BTYCPOPD.js} +2 -2
  60. package/dist/{chunk-GHLLC6LJ.js → chunk-CEBLQRYG.js} +2 -2
  61. package/dist/{chunk-2LMCARA5.js → chunk-CI34E4VF.js} +6 -4
  62. package/dist/{chunk-CKJDY6EK.js → chunk-DC7AOIHN.js} +1 -1
  63. package/dist/{chunk-6ZVUTYNB.js → chunk-DLJ6ESP7.js} +6 -6
  64. package/dist/{chunk-23354HMA.js → chunk-DVAKYHZN.js} +3 -3
  65. package/dist/{chunk-B66UZ2YK.js → chunk-DYNIPOEN.js} +6 -6
  66. package/dist/{chunk-R45WFVRA.js → chunk-ECYVLHZZ.js} +2 -2
  67. package/dist/{chunk-W2FSQBUR.js → chunk-EIBERSJ2.js} +14 -14
  68. package/dist/{chunk-EX533ULK.js → chunk-EVMSNLUQ.js} +2 -2
  69. package/dist/{chunk-WYPRTHXQ.js → chunk-EXMJ7JS5.js} +2 -2
  70. package/dist/{chunk-I35B5RWZ.js → chunk-F645WHPZ.js} +4 -4
  71. package/dist/{chunk-ZIYXPDKY.js → chunk-FF6T5VPF.js} +2 -2
  72. package/dist/{chunk-G55YEL2L.js → chunk-FJ4PIVGB.js} +436 -57
  73. package/dist/{chunk-YAS347ZS.js → chunk-FLVHLNQN.js} +1 -1
  74. package/dist/{chunk-HEXTAQYG.js → chunk-FYCI7NEH.js} +2 -2
  75. package/dist/{chunk-6RV2QY4K.js → chunk-G4CQIZZC.js} +23 -23
  76. package/dist/{chunk-BBL6STGK.js → chunk-GHCG2KZD.js} +2 -2
  77. package/dist/{chunk-XVVPEWNX.js → chunk-GPERPLAQ.js} +1 -1
  78. package/dist/{chunk-VQJLTYEK.js → chunk-GT5REDGY.js} +2 -2
  79. package/dist/{chunk-CDI3CCAU.js → chunk-GUYH2XH2.js} +12 -14
  80. package/dist/{chunk-4DLYTSWQ.js → chunk-H3DP5ELI.js} +1 -1
  81. package/dist/chunk-HOIEN7O4.js +31 -0
  82. package/dist/{chunk-4CHGNFCS.js → chunk-I5VIATAH.js} +4 -4
  83. package/dist/{chunk-2B2IMLUQ.js → chunk-I6V25IXG.js} +1 -1
  84. package/dist/{chunk-76KUCQXD.js → chunk-IARWDMY7.js} +3 -3
  85. package/dist/{chunk-KRWPTZBY.js → chunk-IU5DC4HP.js} +94 -42
  86. package/dist/{chunk-PXDRW3QN.js → chunk-J466WOMZ.js} +1 -1
  87. package/dist/{chunk-6QEEF5RR.js → chunk-J54ZPEWO.js} +1 -1
  88. package/dist/{chunk-DGC2RIQE.js → chunk-JN3N335Z.js} +4 -4
  89. package/dist/{chunk-N2C7WJDG.js → chunk-KCIZBYAS.js} +1 -1
  90. package/dist/{chunk-SVI2CJ6R.js → chunk-KCPIENND.js} +1 -1
  91. package/dist/{chunk-W5PW26KE.js → chunk-KEUDODWJ.js} +1 -1
  92. package/dist/{chunk-QWM3NY2E.js → chunk-KKIAPWVZ.js} +4 -4
  93. package/dist/{chunk-ROXILOZ6.js → chunk-KLXPYLNA.js} +2 -2
  94. package/dist/{chunk-3J32XVJ6.js → chunk-LCK6C46G.js} +3 -3
  95. package/dist/{chunk-EVMY7IPL.js → chunk-LD6JONPV.js} +155 -22
  96. package/dist/{chunk-YSHUIQ3I.js → chunk-LO74I6MZ.js} +1 -1
  97. package/dist/{chunk-CNJLBAKM.js → chunk-LQV2PMKI.js} +2 -2
  98. package/dist/{chunk-N7C7U3ZR.js → chunk-M425BL2U.js} +22 -11
  99. package/dist/{chunk-MP36L7OJ.js → chunk-MG6GU4FF.js} +2 -2
  100. package/dist/{chunk-AIC7T7CC.js → chunk-MM5URNHE.js} +2 -2
  101. package/dist/{chunk-PIEVAPKP.js → chunk-MYETYFDI.js} +1 -1
  102. package/dist/{chunk-CHJGVW5W.js → chunk-N36NHUGP.js} +4 -11
  103. package/dist/{chunk-EX7WPDFA.js → chunk-NABIUZRZ.js} +2 -2
  104. package/dist/{chunk-4US5QCXR.js → chunk-NJF566HN.js} +77 -31
  105. package/dist/{chunk-XQWWFIBR.js → chunk-NMQ26YZX.js} +2 -2
  106. package/dist/{chunk-MVIUSNPZ.js → chunk-NQAXN2B2.js} +1 -1
  107. package/dist/{chunk-YDG3OXH3.js → chunk-NQE4NKVE.js} +2 -2
  108. package/dist/{chunk-ETWXZQN5.js → chunk-NTVSXJHQ.js} +2 -2
  109. package/dist/{chunk-U77L3ZQZ.js → chunk-OW5BBEVE.js} +1 -1
  110. package/dist/{chunk-SUXEL7G4.js → chunk-OYCKZZDC.js} +11 -11
  111. package/dist/{chunk-Y5DOT5NQ.js → chunk-PHDEKHEN.js} +1 -1
  112. package/dist/{chunk-KIAY63AB.js → chunk-PIA7JBWF.js} +26 -14
  113. package/dist/{chunk-RGYOCAHC.js → chunk-PP6XMZXN.js} +2 -2
  114. package/dist/{chunk-XFXCI4IP.js → chunk-Q4RX6D2H.js} +2 -2
  115. package/dist/{chunk-4WZU4FYS.js → chunk-QZFKLORI.js} +4 -4
  116. package/dist/{chunk-ADYMQM7T.js → chunk-R43U3RJ3.js} +2 -2
  117. package/dist/{chunk-C2VZ7UPE.js → chunk-RES7SNFU.js} +15 -15
  118. package/dist/{chunk-2RBQLV6B.js → chunk-RK3KWEOM.js} +1 -1
  119. package/dist/{chunk-ZOAANTVI.js → chunk-RZBPK4LO.js} +1 -1
  120. package/dist/{chunk-5GYTBKZA.js → chunk-S5FHA2NX.js} +2 -2
  121. package/dist/{chunk-SWPI27QV.js → chunk-SG4DOSAE.js} +8 -8
  122. package/dist/{chunk-L6BFXQ6S.js → chunk-SJGYWLHO.js} +3 -3
  123. package/dist/{chunk-JSVCF4A6.js → chunk-SM36NR25.js} +2 -2
  124. package/dist/{chunk-WIMVXPYG.js → chunk-SODOJ4CP.js} +11 -11
  125. package/dist/{chunk-ERJBWDPM.js → chunk-SWOE4NH4.js} +6 -6
  126. package/dist/{chunk-4FTJE22M.js → chunk-SZUO4O74.js} +2 -2
  127. package/dist/{chunk-O5CNNVRY.js → chunk-TORIKOIX.js} +8 -8
  128. package/dist/{chunk-TFBPCJPG.js → chunk-U47ZNIUB.js} +1 -1
  129. package/dist/{chunk-NQFIMBXS.js → chunk-UFWTTQ72.js} +2 -2
  130. package/dist/{chunk-FRH3CPW5.js → chunk-V4XLGSUL.js} +1 -1
  131. package/dist/{chunk-XSHJ37U3.js → chunk-VQVA4FRS.js} +8 -8
  132. package/dist/{chunk-HMB3IAVP.js → chunk-VX5JYR6N.js} +2 -2
  133. package/dist/{chunk-GOMTMQRT.js → chunk-VXVDZFZL.js} +1 -1
  134. package/dist/{chunk-MDBEAWP2.js → chunk-VYARX4SV.js} +3 -3
  135. package/dist/{chunk-77UB5EHM.js → chunk-WCSGSWKA.js} +1 -1
  136. package/dist/{chunk-2KYLVWLO.js → chunk-WWKU5VK7.js} +1 -1
  137. package/dist/{chunk-45ZQI734.js → chunk-X47GMPT2.js} +2 -2
  138. package/dist/{chunk-IEEIPTDW.js → chunk-X5BRDEOM.js} +2 -2
  139. package/dist/{chunk-G2XAFJ2B.js → chunk-X73RI4GQ.js} +2 -2
  140. package/dist/{chunk-7LTXT7ME.js → chunk-XAPVWRO5.js} +2 -2
  141. package/dist/{chunk-PNP2BO3U.js → chunk-XKL3WQI2.js} +3 -3
  142. package/dist/{chunk-RCB4SGTB.js → chunk-XODMUHGW.js} +50 -13
  143. package/dist/{chunk-HZTRKUKE.js → chunk-XWK2RSD5.js} +37 -0
  144. package/dist/{chunk-SIGASWB7.js → chunk-Y6U6DDBC.js} +4 -4
  145. package/dist/chunk-YFC5II7G.js +143 -0
  146. package/dist/chunk-YHJOTCTV.js +16 -0
  147. package/dist/{chunk-VKZSAAXZ.js → chunk-YUG4GVRH.js} +4 -4
  148. package/dist/{chunk-GBIASKIH.js → chunk-Z7VKBKC3.js} +1 -1
  149. package/dist/{chunk-OD7PLYYX.js → chunk-ZKGDIPMD.js} +32 -23
  150. package/dist/{chunk-LIWK3MFR.js → chunk-ZLTB7ZCQ.js} +6 -6
  151. package/dist/{chunk-5RVPI6QL.js → chunk-ZOL6363C.js} +3 -3
  152. package/dist/{clean-3IN64RHM.js → clean-MTIRQX5P.js} +28 -28
  153. package/dist/cli.js +66 -65
  154. package/dist/{cloud-LBUZBUP6.js → cloud-MWZ3SO3Z.js} +4 -4
  155. package/dist/{cloud-SVYXHFEG.js → cloud-SXXNSICW.js} +3 -3
  156. package/dist/{cloudrun-PZOF2QGL.js → cloudrun-7ZLJG5K7.js} +8 -8
  157. package/dist/{compare-UOJ3LXQQ.js → compare-336QVVJC.js} +42 -42
  158. package/dist/{compiler-5ZDHBKBQ.js → compiler-HYZUBDAD.js} +6 -6
  159. package/dist/{component-EVIPLTTJ.js → component-NEPVQVDF.js} +4 -4
  160. package/dist/{compositions-R4GG5FBO.js → compositions-5UXCOLME.js} +15 -15
  161. package/dist/{contactSheet-HZMP42FZ.js → contactSheet-3YTXO7U5.js} +4 -4
  162. package/dist/{curve-LR3PSRW3.js → curve-GDAFPSYA.js} +14 -14
  163. package/dist/{cuts-DHCOBAFT.js → cuts-U5XZJLGG.js} +15 -15
  164. package/dist/{delete-MMGGU3QP.js → delete-G4U723IG.js} +7 -7
  165. package/dist/{deploy-SKIGUTM2.js → deploy-ZJ6GBOAW.js} +2 -2
  166. package/dist/{describeProject-L7HNTBPV.js → describeProject-NOXO6HJS.js} +11 -11
  167. package/dist/{destroy-5HSMMDH7.js → destroy-ZYOIJW7D.js} +2 -2
  168. package/dist/{deterministicFonts-2ZPRAI3C.js → deterministicFonts-UDNPRDYM.js} +4 -4
  169. package/dist/{diff-KR7VKPYL.js → diff-NZ7IBYWS.js} +36 -36
  170. package/dist/{dist-3MFNUZSN.js → dist-CF7A6UPR.js} +3 -3
  171. package/dist/{dist-ZGYPFYOH.js → dist-I3WOJFIM.js} +4 -4
  172. package/dist/{dist-HK3AZNNL.js → dist-YSFMNDNF.js} +26 -23
  173. package/dist/{doctor-G7VGNSA5.js → doctor-OAEXYBD5.js} +17 -17
  174. package/dist/{energy-H7EEH6WO.js → energy-36Y2RVKN.js} +15 -15
  175. package/dist/{events-YD6N7OPQ.js → events-7MO6VYY5.js} +7 -7
  176. package/dist/{events-ASG27IXP.js → events-BN5A4QSC.js} +17 -17
  177. package/dist/{events-5ATZCZTK.js → events-OY5PAL44.js} +2 -2
  178. package/dist/{execute-OAS454OB.js → execute-6QR32QHM.js} +34 -34
  179. package/dist/{extract-645SENLA.js → extract-GS4GFBJ4.js} +15 -15
  180. package/dist/{face-WRT5XH4I.js → face-DXIURLMN.js} +16 -16
  181. package/dist/{feedback-3LKLR5MV.js → feedback-L5B5D2H4.js} +14 -14
  182. package/dist/{ffmpeg-PXKIZL2X.js → ffmpeg-RO3TC7DT.js} +10 -10
  183. package/dist/{figma-RIEVJJBW.js → figma-YSLP3NDJ.js} +3 -3
  184. package/dist/fontLocalizeCli.js +18 -17
  185. package/dist/{frames-OTB3J5W3.js → frames-NNGPW5Q5.js} +17 -17
  186. package/dist/{generate-IUKCZW2D.js → generate-IYY5CQKF.js} +26 -26
  187. package/dist/{get-6WVQ7TBV.js → get-GHTMJWAX.js} +7 -7
  188. package/dist/{gpuPolicy-HXSVAEU4.js → gpuPolicy-UGUQTJXT.js} +10 -10
  189. package/dist/{grade-compare-TCAYHDEF.js → grade-compare-HMQIS6CO.js} +41 -41
  190. package/dist/hangReport.js +2 -1
  191. package/dist/{heifImagePrep-GXIMK4HK.js → heifImagePrep-6CHEBOTB.js} +11 -11
  192. package/dist/{help-RGOL5EJD.js → help-M6V73NMA.js} +1 -1
  193. package/dist/{history-XKPRGJGS.js → history-JLNS7C6E.js} +15 -15
  194. package/dist/hyperframe.manifest.json +1 -1
  195. package/dist/hyperframe.runtime.iife.js +64 -64
  196. package/dist/hyperframes-player.global.js +1 -1
  197. package/dist/{info-EYBBC42V.js → info-VHVWJBZ5.js} +17 -17
  198. package/dist/{init-F2FWPSMA.js → init-RAWSPX3T.js} +33 -33
  199. package/dist/{ink-BWFERAAT.js → ink-R2VCYLF3.js} +15 -15
  200. package/dist/{inspect-74N7L3BW.js → inspect-ODGFUWRM.js} +41 -41
  201. package/dist/{installer-LOUR7G4R.js → installer-YAJDSTNZ.js} +8 -8
  202. package/dist/{keyframes-WB5PTKFE.js → keyframes-MWS46OMG.js} +11 -11
  203. package/dist/{lambda-JYCNXUKB.js → lambda-EPIPZ62Q.js} +17 -17
  204. package/dist/{layout-P52EVR24.js → layout-IVOS3PHW.js} +41 -41
  205. package/dist/{lint-SL55KAS2.js → lint-G3XW5PVR.js} +13 -13
  206. package/dist/{lintProject-46WU53VC.js → lintProject-L42FF7XI.js} +3 -3
  207. package/dist/{list-LN6CQH52.js → list-25OWFBNT.js} +8 -8
  208. package/dist/{localPage-L6OJU3UH.js → localPage-PAUE6E6K.js} +11 -11
  209. package/dist/{login-WTOAMDID.js → login-EHL5EH3E.js} +4 -4
  210. package/dist/{look-O6ESLJRP.js → look-H2AAYHQC.js} +15 -15
  211. package/dist/{manager-IAXYSRG5.js → manager-DLEEPJVW.js} +2 -1
  212. package/dist/{manager-CMEZWENF.js → manager-T3FIJKIL.js} +11 -11
  213. package/dist/{measure-NEIXU53P.js → measure-IAGLDGL2.js} +11 -11
  214. package/dist/{media-treatment-6CAQG7MU.js → media-treatment-F53Y4K2K.js} +17 -17
  215. package/dist/{media-use-IXJFMKU7.js → media-use-7XRQIXDO.js} +22 -7
  216. package/dist/{models-TZALWUEY.js → models-UA72SFBG.js} +16 -16
  217. package/dist/{motionShot-OQYK6G6M.js → motionShot-WRHPBYSX.js} +22 -22
  218. package/dist/{normalize-audio-43PJLOBY.js → normalize-audio-6UO7T2NP.js} +14 -14
  219. package/dist/{open-EOX6QY4M.js → open-DVABOI2D.js} +19 -19
  220. package/dist/{parakeetRunner-STHAXQAF.js → parakeetRunner-IHEW335J.js} +18 -18
  221. package/dist/{pipeline-RRWZHFBQ.js → pipeline-SGJTBYFI.js} +13 -13
  222. package/dist/{plan-JWUSMF4W.js → plan-IB2LZKFH.js} +26 -26
  223. package/dist/{play-TUKTST32.js → play-OSJU47PB.js} +31 -31
  224. package/dist/{preflight-L42JKT6F.js → preflight-4UVA2SF4.js} +12 -12
  225. package/dist/{present-Z7HRDXPV.js → present-6HRJ67G2.js} +25 -25
  226. package/dist/{preview-HGTIRAV3.js → preview-ILIRTOIL.js} +59 -35
  227. package/dist/{probe-RXK44FY7.js → probe-QJIEY5RM.js} +15 -15
  228. package/dist/{producer-KJ2RZDJ3.js → producer-LUARVB5B.js} +1 -1
  229. package/dist/{projectConfig-K36NTJXP.js → projectConfig-CS4PKLO5.js} +11 -11
  230. package/dist/{publication-OZWLT6K6.js → publication-DQMOW7B4.js} +6 -6
  231. package/dist/{publish-CRUTXNYM.js → publish-TSZA3TYC.js} +19 -19
  232. package/dist/{remove-background-R37HZPCG.js → remove-background-URZDLZJ4.js} +14 -14
  233. package/dist/{render-ZHCPCISN.js → render-3HONOYZE.js} +49 -49
  234. package/dist/{render-SU2XTMJL.js → render-OHACUI7J.js} +8 -8
  235. package/dist/{render-EZMKBT7V.js → render-RDFQDDZA.js} +37 -37
  236. package/dist/{render-batch-YIUOEAAL.js → render-batch-EUKAQFHN.js} +8 -8
  237. package/dist/renderSetupWorker.js +6 -5
  238. package/dist/{resolver-DLCKRKQR.js → resolver-BTUTJ26S.js} +8 -8
  239. package/dist/{reverse-4FAVXIER.js → reverse-LTPJ6QRV.js} +1 -1
  240. package/dist/{run-H4GVEJVS.js → run-SIBZZM3T.js} +4 -4
  241. package/dist/{screenshotCapture-CQF5FYVI.js → screenshotCapture-2VXR5FHK.js} +13 -13
  242. package/dist/{service-XDQOULGD.js → service-47AZQ6EN.js} +14 -14
  243. package/dist/{share-CUCQALE7.js → share-4JJK6QM6.js} +19 -19
  244. package/dist/{sherpa-WZNRQUVC.js → sherpa-WDGLCJMP.js} +17 -17
  245. package/dist/sherpaWorker.js +4 -2
  246. package/dist/skills/hyperframes/references/plugin-installation.md +5 -2
  247. package/dist/skills/hyperframes/scripts/bake-basemap.mjs +1 -0
  248. package/dist/skills/hyperframes/scripts/lib/windows-exe-search.mjs +11 -0
  249. package/dist/skills/hyperframes/scripts/lib/windows-exe-search.test.mjs +149 -0
  250. package/dist/skills/hyperframes/scripts/locate.mjs +1 -0
  251. package/dist/skills/hyperframes/scripts/plugin-cli.mjs +21 -3
  252. package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +93 -7
  253. package/dist/skills/hyperframes-cli/references/doctor-browser.md +1 -1
  254. package/dist/skills/media-use/audio/scripts/carve.mjs +1 -0
  255. package/dist/skills/media-use/audio/scripts/extract-audio-data.py +3 -1
  256. package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +6 -6
  257. package/dist/skills/media-use/audio/scripts/lib/bgm.mjs +1 -0
  258. package/dist/skills/media-use/audio/scripts/lib/gemini-auth.mjs +1 -0
  259. package/dist/skills/media-use/audio/scripts/lib/python.mjs +1 -0
  260. package/dist/skills/media-use/audio/scripts/lib/recording.mjs +1 -0
  261. package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +12 -6
  262. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +26 -6
  263. package/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +37 -12
  264. package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +54 -18
  265. package/dist/skills/media-use/audio/scripts/trusted-program.test.mjs +106 -0
  266. package/dist/skills/media-use/audio/scripts/trusted_program.py +76 -0
  267. package/dist/skills/media-use/references/audio.md +2 -0
  268. package/dist/skills/media-use/references/operations.md +2 -1
  269. package/dist/skills/media-use/scripts/dither.mjs +1 -0
  270. package/dist/skills/media-use/scripts/eval.mjs +1 -0
  271. package/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +22 -31
  272. package/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +16 -11
  273. package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +34 -78
  274. package/dist/skills/media-use/scripts/lib/windows-exe-search.mjs +11 -0
  275. package/dist/skills/media-use/scripts/resolve-plugin.test.mjs +43 -19
  276. package/dist/skills/media-use/scripts/transcribe.mjs +1 -0
  277. package/dist/skills/media-use/scripts/transcribe.test.mjs +60 -17
  278. package/dist/skills/media-use/scripts/transcript-cut.mjs +1 -0
  279. package/dist/{skills-J52DBZAK.js → skills-32PFTMRC.js} +10 -10
  280. package/dist/{skillsUpdateCheck-26DJHBTC.js → skillsUpdateCheck-4YNSO2QT.js} +3 -3
  281. package/dist/{snapshot-ZIRQFDA7.js → snapshot-L26W46YP.js} +53 -53
  282. package/dist/{src-C3XYMTF4.js → src-KJ7FMIH7.js} +11 -9
  283. package/dist/{src-7BGBN6SS.js → src-SGZPUKDL.js} +15 -15
  284. package/dist/{start-QG2XNMYN.js → start-77AN6NW5.js} +24 -24
  285. package/dist/{staticProjectServer-TWMEFK3T.js → staticProjectServer-RDXGUNKX.js} +27 -27
  286. package/dist/{status-3UPA5WPI.js → status-BRVZZRTC.js} +18 -17
  287. package/dist/studio/assets/{codec-qz1-OXLj.js → codec-GKrIfefq.js} +1 -1
  288. package/dist/studio/assets/{hyperframes-player-2eG1zFX5.js → hyperframes-player-BUFkdSG-.js} +1 -1
  289. package/dist/studio/assets/{index-DDmhnfrS.js → index-BzrZjoXW.js} +159 -159
  290. package/dist/studio/assets/{index-DUveJ_YP.js → index-oGGylite.js} +1 -1
  291. package/dist/studio/assets/{pausedVideoDecoder-CoHTKUjM.js → pausedVideoDecoder-VUkpOCb9.js} +1 -1
  292. package/dist/studio/index.html +1 -1
  293. package/dist/{studio-api-Z42OO4JJ.js → studio-api-UZHSY6PR.js} +26 -23
  294. package/dist/{studioServer-SMN3RMVL.js → studioServer-UOVV7CDW.js} +126 -79
  295. package/dist/{sync-ONTI2WSI.js → sync-74O4W75V.js} +15 -15
  296. package/dist/{synthesize-FR5KPBRP.js → synthesize-7DD5JV36.js} +5 -4
  297. package/dist/{telemetry-RRXALB5D.js → telemetry-NB5MWICG.js} +7 -7
  298. package/dist/{templates-BHFOSD6F.js → templates-HOIYYCM2.js} +15 -15
  299. package/dist/{timeline-Z5IHY5TN.js → timeline-NUG347GZ.js} +26 -26
  300. package/dist/{tokens-MZVEPARM.js → tokens-TVAYON5K.js} +3 -3
  301. package/dist/{transcribe-M5N3YZZU.js → transcribe-3RN5NRX6.js} +14 -14
  302. package/dist/{transcribe-5IZS4BGW.js → transcribe-67A5YVQD.js} +31 -31
  303. package/dist/{tts-ZE776B4I.js → tts-SOSATBP4.js} +2 -2
  304. package/dist/{update-EVPWBIKY.js → update-QEVNP7XN.js} +12 -12
  305. package/dist/{updateCheck-2UUEF6TC.js → updateCheck-SZ6BPLHI.js} +2 -2
  306. package/dist/{upgrade-DK45FD4K.js → upgrade-NFDDBX2T.js} +5 -5
  307. package/dist/{urlDownloader-3MPHIDSA.js → urlDownloader-Q7225DS7.js} +9 -9
  308. package/dist/{validate-W27TQ367.js → validate-IMI6OBMO.js} +33 -33
  309. package/dist/{video-TI372QGV.js → video-K7UAJJLP.js} +12 -12
  310. package/dist/{voices-FZV4PGT6.js → voices-K2GLTRAS.js} +24 -24
  311. package/dist/warmCheck.js +52 -51
  312. package/dist/warmCheckClient.js +2 -1
  313. package/package.json +1 -1
  314. package/dist/chunk-64F653HO.js +0 -164
  315. package/dist/chunk-WXOOAAT4.js +0 -314
  316. package/dist/chunk-XDDBSGBD.js +0 -5049
@@ -1,164 +0,0 @@
1
- import { createRequire as __hf_createRequire } from "node:module";
2
- import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
- import { dirname as __hf_dirname } from "node:path";
4
- var require = __hf_createRequire(import.meta.url);
5
- var __filename = __hf_fileURLToPath(import.meta.url);
6
- var __dirname = __hf_dirname(__filename);
7
-
8
- // ../studio-server/dist/chunk-NCLQRSFL.js
9
- var CRF_MAX_BY_FORMAT = { mp4: 51, webm: 63 };
10
- var VIDEO_BITRATE = /^\d+(\.\d+)?[kKmMgG]?$/;
11
- var VIDEO_FRAME_FORMATS = ["auto", "jpg", "png"];
12
- var HDR_MODES = ["auto", "force-hdr", "force-sdr"];
13
- var PRORES_PROFILES = ["4444", "hq", "422", "lt", "proxy"];
14
- var CHROMA_SUBSAMPLINGS = ["420", "444"];
15
- var isSet = (value) => value !== void 0 && value !== null;
16
- function oneOf(value, allowed) {
17
- return typeof value === "string" && allowed.includes(value);
18
- }
19
- function parseCrf(crf, format, max) {
20
- if (typeof crf !== "number" || !Number.isInteger(crf) || crf < 0 || crf > max) {
21
- return { ok: false, error: `crf must be an integer from 0 to ${max} for ${format}` };
22
- }
23
- return { ok: true, options: { crf } };
24
- }
25
- function parseVideoBitrate(videoBitrate) {
26
- if (typeof videoBitrate !== "string" || !VIDEO_BITRATE.test(videoBitrate)) {
27
- return { ok: false, error: 'videoBitrate must look like "10M", "2500k" or "8000000"' };
28
- }
29
- return { ok: true, options: { videoBitrate } };
30
- }
31
- function parseRateControl(body, format) {
32
- const max = CRF_MAX_BY_FORMAT[format];
33
- if (max === void 0) return { ok: true, options: {} };
34
- if (isSet(body.crf) && isSet(body.videoBitrate)) {
35
- return { ok: false, error: "use either crf or videoBitrate, not both" };
36
- }
37
- if (isSet(body.crf)) return parseCrf(body.crf, format, max);
38
- if (isSet(body.videoBitrate)) return parseVideoBitrate(body.videoBitrate);
39
- return { ok: true, options: {} };
40
- }
41
- function parseKeyframeInterval(value) {
42
- if (typeof value !== "number" || !(value > 0)) {
43
- return { ok: false, error: "keyframeIntervalSeconds must be a positive number of seconds" };
44
- }
45
- return { ok: true, options: { keyframeIntervalSeconds: value } };
46
- }
47
- function parseBitrateField(name, value) {
48
- if (typeof value !== "string" || !VIDEO_BITRATE.test(value)) {
49
- return { ok: false, error: `${name} must look like "8M", "5000k" or "8000000"` };
50
- }
51
- return { ok: true, options: { [name]: value } };
52
- }
53
- var DELIVERY_FIELDS = [
54
- ["keyframeIntervalSeconds", parseKeyframeInterval],
55
- ["maxBitrate", (value) => parseBitrateField("maxBitrate", value)],
56
- ["bufferSize", (value) => parseBitrateField("bufferSize", value)]
57
- ];
58
- function parseDelivery(body, format) {
59
- const present = DELIVERY_FIELDS.filter(([name]) => isSet(body[name]));
60
- if (present.length === 0) return { ok: true, options: {} };
61
- if (format !== "mp4") {
62
- return { ok: false, error: "keyframeIntervalSeconds and maxBitrate apply to mp4 renders" };
63
- }
64
- if (isSet(body.bufferSize) && !isSet(body.maxBitrate)) {
65
- return { ok: false, error: "bufferSize requires maxBitrate" };
66
- }
67
- const options = {};
68
- for (const [name, parse] of present) {
69
- const parsed = parse(body[name]);
70
- if (!parsed.ok) return parsed;
71
- Object.assign(options, parsed.options);
72
- }
73
- return { ok: true, options };
74
- }
75
- function parseProres(value, format) {
76
- if (!isSet(value)) return { ok: true, options: {} };
77
- if (!oneOf(value, PRORES_PROFILES)) {
78
- return { ok: false, error: `proresProfile must be one of ${PRORES_PROFILES.join(", ")}` };
79
- }
80
- return { ok: true, options: format === "mov" ? { proresProfile: value } : {} };
81
- }
82
- function parseChromaSubsampling(body, format) {
83
- const chromaSubsampling = body.chromaSubsampling;
84
- if (!isSet(chromaSubsampling)) return { ok: true, options: {} };
85
- if (!oneOf(chromaSubsampling, CHROMA_SUBSAMPLINGS)) {
86
- return {
87
- ok: false,
88
- error: `chromaSubsampling must be one of ${CHROMA_SUBSAMPLINGS.join(", ")}`
89
- };
90
- }
91
- if (chromaSubsampling === "444") {
92
- if (format !== "mp4") {
93
- return { ok: false, error: `chromaSubsampling "444" supports mp4 only (got ${format})` };
94
- }
95
- if (body.gpu === true) {
96
- return { ok: false, error: 'chromaSubsampling "444" requires the software encoder, not gpu' };
97
- }
98
- if (body.hdrMode === "force-hdr") {
99
- return { ok: false, error: 'chromaSubsampling "444" is SDR only, not force-hdr' };
100
- }
101
- }
102
- return { ok: true, options: { chromaSubsampling } };
103
- }
104
- function parseEncoderOptions(body, format) {
105
- const options = {};
106
- for (const parsed of [
107
- parseRateControl(body, format),
108
- parseDelivery(body, format),
109
- parseProres(body.proresProfile, format),
110
- parseChromaSubsampling(body, format)
111
- ]) {
112
- if (!parsed.ok) return parsed;
113
- Object.assign(options, parsed.options);
114
- }
115
- if (isSet(body.gifLoop)) {
116
- if (typeof body.gifLoop !== "number" || !Number.isInteger(body.gifLoop) || body.gifLoop < 0 || body.gifLoop > 65535) {
117
- return { ok: false, error: "gifLoop must be an integer from 0 to 65535" };
118
- }
119
- if (format === "gif") options.gifLoop = body.gifLoop;
120
- }
121
- if (isSet(body.videoFrameFormat)) {
122
- if (!oneOf(body.videoFrameFormat, VIDEO_FRAME_FORMATS)) {
123
- return {
124
- ok: false,
125
- error: `videoFrameFormat must be one of ${VIDEO_FRAME_FORMATS.join(", ")}`
126
- };
127
- }
128
- options.videoFrameFormat = body.videoFrameFormat;
129
- }
130
- if (isSet(body.hdrMode)) {
131
- if (!oneOf(body.hdrMode, HDR_MODES)) {
132
- return { ok: false, error: `hdrMode must be one of ${HDR_MODES.join(", ")}` };
133
- }
134
- options.hdrMode = body.hdrMode;
135
- }
136
- return { ok: true, options };
137
- }
138
- function encoderJobOptions(opts) {
139
- const { crf, videoBitrate, keyframeIntervalSeconds, maxBitrate, bufferSize } = opts;
140
- return {
141
- ...crf !== void 0 ? { crf } : {},
142
- ...videoBitrate ? { videoBitrate } : {},
143
- ...keyframeIntervalSeconds !== void 0 ? { keyframeIntervalSeconds } : {},
144
- ...maxBitrate ? { maxBitrate } : {},
145
- ...bufferSize ? { bufferSize } : {},
146
- ...opts.videoFrameFormat ? { videoFrameFormat: opts.videoFrameFormat } : {},
147
- ...opts.hdrMode ? { hdrMode: opts.hdrMode } : {},
148
- ...opts.chromaSubsampling ? { chromaSubsampling: opts.chromaSubsampling } : {}
149
- };
150
- }
151
-
152
- // ../studio-server/dist/chunk-6HAB346W.js
153
- var MAX_OPEN_MEDIA_RANGE_BYTES = 4 * 1024 * 1024;
154
- var isMedia = (contentType) => /^(audio|video)\//i.test(contentType);
155
- function openRangeEnd(start, last, contentType) {
156
- return isMedia(contentType) ? Math.min(last, start + MAX_OPEN_MEDIA_RANGE_BYTES - 1) : last;
157
- }
158
-
159
- export {
160
- parseEncoderOptions,
161
- encoderJobOptions,
162
- MAX_OPEN_MEDIA_RANGE_BYTES,
163
- openRangeEnd
164
- };
@@ -1,314 +0,0 @@
1
- import { createRequire as __hf_createRequire } from "node:module";
2
- import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
- import { dirname as __hf_dirname } from "node:path";
4
- var require = __hf_createRequire(import.meta.url);
5
- var __filename = __hf_fileURLToPath(import.meta.url);
6
- var __dirname = __hf_dirname(__filename);
7
- import {
8
- RENDER_TEMP_DIR,
9
- STUDIO_MANUAL_EDITS_PATH
10
- } from "./chunk-EVMY7IPL.js";
11
- import {
12
- mkdirWithinProject,
13
- realpath,
14
- resolveWithinProject
15
- } from "./chunk-HZTRKUKE.js";
16
-
17
- // ../studio-server/dist/chunk-L3HJVTQE.js
18
- var STUDIO_MOTION_PATH = ".hyperframes/studio-motion.json";
19
- function hasStudioMotionEntries(manifestContent) {
20
- try {
21
- const parsed = JSON.parse(manifestContent);
22
- return Array.isArray(parsed.motions) && parsed.motions.length > 0;
23
- } catch {
24
- return false;
25
- }
26
- }
27
- function createStudioMotionRenderBodyScript(manifestContent, options = {}) {
28
- if (!manifestContent.trim() || !hasStudioMotionEntries(manifestContent)) return null;
29
- return `(${studioMotionRenderRuntime.toString()})(${JSON.stringify(manifestContent)}, ${JSON.stringify(options.activeCompositionPath ?? null)});`;
30
- }
31
- function studioMotionRenderRuntime(manifestContent, activeCompositionPath) {
32
- const STUDIO_MOTION_TIMELINE_ID = "studio-motion";
33
- const STUDIO_MOTION_ATTR = "data-hf-studio-motion";
34
- const ORIGINAL_TRANSFORM_ATTR = "data-hf-studio-motion-original-transform";
35
- const ORIGINAL_OPACITY_ATTR = "data-hf-studio-motion-original-opacity";
36
- const ORIGINAL_VISIBILITY_ATTR = "data-hf-studio-motion-original-visibility";
37
- const objectRecord = (value) => value && typeof value === "object" ? value : null;
38
- const finiteNumber = (value) => typeof value === "number" && Number.isFinite(value) ? value : null;
39
- const runtimeWindow = window;
40
- const parseMotionValues = (value) => {
41
- const record = objectRecord(value);
42
- if (!record) return null;
43
- const parsed = {};
44
- for (const key of ["x", "y", "scale", "rotation", "opacity", "autoAlpha"]) {
45
- const next = finiteNumber(record[key]);
46
- if (next != null) parsed[key] = next;
47
- }
48
- return Object.keys(parsed).length > 0 ? parsed : null;
49
- };
50
- const parseCustomEase = (value) => {
51
- const record = objectRecord(value);
52
- if (!record) return null;
53
- const id = typeof record.id === "string" ? record.id.trim() : "";
54
- const data = typeof record.data === "string" ? record.data.trim() : "";
55
- if (!id || !data) return null;
56
- return { id, data };
57
- };
58
- const parsedManifest = (() => {
59
- try {
60
- return objectRecord(JSON.parse(manifestContent));
61
- } catch {
62
- return null;
63
- }
64
- })();
65
- const manifestMotions = Array.isArray(parsedManifest?.motions) ? parsedManifest.motions : [];
66
- const sourceFileForElement = (element) => {
67
- let current = element;
68
- while (current) {
69
- const sourceFile = current.getAttribute("data-composition-file") ?? current.getAttribute("data-composition-src");
70
- if (sourceFile) return sourceFile;
71
- current = current.parentElement;
72
- }
73
- return activeCompositionPath ?? "index.html";
74
- };
75
- const elementMatchesSourceFile = (element, sourceFile) => sourceFileForElement(element) === sourceFile;
76
- const isHTMLElement = (element) => element instanceof HTMLElement;
77
- const querySelectorCandidates = (selector) => {
78
- const className = selector.match(/^\.([A-Za-z0-9_-]+)$/)?.[1];
79
- if (className) {
80
- return Array.from(document.getElementsByTagName("*")).filter(
81
- (element) => isHTMLElement(element) && element.classList.contains(className)
82
- );
83
- }
84
- if (/^[A-Za-z][A-Za-z0-9-]*$/.test(selector)) {
85
- return Array.from(document.getElementsByTagName(selector)).filter(isHTMLElement);
86
- }
87
- return Array.from(document.querySelectorAll(selector)).filter(isHTMLElement);
88
- };
89
- const resolveTarget = (targetRecord) => {
90
- const sourceFile = typeof targetRecord.sourceFile === "string" ? targetRecord.sourceFile : "";
91
- if (!sourceFile) return null;
92
- const id = typeof targetRecord.id === "string" ? targetRecord.id : "";
93
- if (id) {
94
- const byId = document.getElementById(id);
95
- if (isHTMLElement(byId) && elementMatchesSourceFile(byId, sourceFile)) return byId;
96
- }
97
- const selector = typeof targetRecord.selector === "string" ? targetRecord.selector : "";
98
- if (!selector) return null;
99
- try {
100
- const selectorIndex = Math.max(0, Math.floor(finiteNumber(targetRecord.selectorIndex) ?? 0));
101
- return querySelectorCandidates(selector).filter(
102
- (element) => elementMatchesSourceFile(element, sourceFile)
103
- )[selectorIndex] ?? null;
104
- } catch {
105
- return null;
106
- }
107
- };
108
- const restoreElement = (element) => {
109
- runtimeWindow.gsap?.set?.(element, { clearProps: "transform,opacity,visibility" });
110
- element.style.transform = element.getAttribute(ORIGINAL_TRANSFORM_ATTR) ?? "";
111
- element.style.opacity = element.getAttribute(ORIGINAL_OPACITY_ATTR) ?? "";
112
- element.style.visibility = element.getAttribute(ORIGINAL_VISIBILITY_ATTR) ?? "";
113
- element.removeAttribute(STUDIO_MOTION_ATTR);
114
- element.removeAttribute(ORIGINAL_TRANSFORM_ATTR);
115
- element.removeAttribute(ORIGINAL_OPACITY_ATTR);
116
- element.removeAttribute(ORIGINAL_VISIBILITY_ATTR);
117
- };
118
- const restoreStudioMotionElements = () => {
119
- for (const element of Array.from(document.querySelectorAll(`[${STUDIO_MOTION_ATTR}]`))) {
120
- if (isHTMLElement(element)) restoreElement(element);
121
- }
122
- };
123
- const readCurrentTime = () => {
124
- try {
125
- const playerTime = runtimeWindow.__player?.getTime?.();
126
- if (typeof playerTime === "number" && Number.isFinite(playerTime)) {
127
- return Math.max(0, playerTime);
128
- }
129
- } catch {
130
- }
131
- try {
132
- const timelineTime = runtimeWindow.__timeline?.time?.();
133
- if (typeof timelineTime === "number" && Number.isFinite(timelineTime)) {
134
- return Math.max(0, timelineTime);
135
- }
136
- } catch {
137
- }
138
- return 0;
139
- };
140
- const resolveEase = (motion) => {
141
- const fallback = typeof motion.ease === "string" && motion.ease.trim() ? motion.ease.trim() : "none";
142
- const customEase = parseCustomEase(motion.customEase);
143
- const customEasePlugin = runtimeWindow.CustomEase;
144
- if (!customEase || typeof customEasePlugin?.create !== "function") return fallback;
145
- try {
146
- runtimeWindow.gsap?.registerPlugin?.(customEasePlugin);
147
- customEasePlugin.create(customEase.id, customEase.data);
148
- return customEase.id;
149
- } catch {
150
- return fallback;
151
- }
152
- };
153
- const applyManifest = () => {
154
- runtimeWindow.__timelines = runtimeWindow.__timelines ?? {};
155
- runtimeWindow.__timelines[STUDIO_MOTION_TIMELINE_ID]?.kill?.();
156
- delete runtimeWindow.__timelines[STUDIO_MOTION_TIMELINE_ID];
157
- restoreStudioMotionElements();
158
- const gsap = runtimeWindow.gsap;
159
- if (!gsap?.timeline || manifestMotions.length === 0) return 0;
160
- const timeline = gsap.timeline({ paused: true, defaults: { overwrite: "auto" } });
161
- let applied = 0;
162
- for (const motionValue of manifestMotions) {
163
- const motion = objectRecord(motionValue);
164
- if (!motion || motion.kind !== "gsap-motion") continue;
165
- const targetRecord = objectRecord(motion.target);
166
- if (!targetRecord) continue;
167
- const target = resolveTarget(targetRecord);
168
- if (!target || typeof timeline.fromTo !== "function") continue;
169
- const start = finiteNumber(motion.start);
170
- const duration = finiteNumber(motion.duration);
171
- if (start == null || duration == null || start < 0 || duration <= 0) continue;
172
- const from = parseMotionValues(motion.from);
173
- const to = parseMotionValues(motion.to);
174
- if (!from || !to) continue;
175
- if (!target.hasAttribute(STUDIO_MOTION_ATTR)) {
176
- target.setAttribute(ORIGINAL_TRANSFORM_ATTR, target.style.transform);
177
- target.setAttribute(ORIGINAL_OPACITY_ATTR, target.style.opacity);
178
- target.setAttribute(ORIGINAL_VISIBILITY_ATTR, target.style.visibility);
179
- }
180
- target.setAttribute(STUDIO_MOTION_ATTR, "true");
181
- timeline.fromTo(
182
- target,
183
- from,
184
- { ...to, duration, ease: resolveEase(motion), overwrite: "auto", immediateRender: false },
185
- start
186
- );
187
- applied += 1;
188
- }
189
- if (applied === 0) {
190
- timeline.kill?.();
191
- return 0;
192
- }
193
- runtimeWindow.__timelines[STUDIO_MOTION_TIMELINE_ID] = timeline;
194
- timeline.pause?.();
195
- const currentTime = readCurrentTime();
196
- if (typeof timeline.totalTime === "function") timeline.totalTime(currentTime, false);
197
- else timeline.time?.(currentTime);
198
- return applied;
199
- };
200
- runtimeWindow.__hfStudioMotionApply = applyManifest;
201
- applyManifest();
202
- }
203
-
204
- // ../studio-server/dist/chunk-I4GXO4GT.js
205
- import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "path";
206
- import { lstatSync, readdirSync } from "fs";
207
- function resolveWithinProject2(base, relativePath) {
208
- const resolved = resolveWithinProject(base, relativePath);
209
- return resolved && !isPrivateProjectFile(base, resolved) ? resolved : null;
210
- }
211
- function projectRelativePath(base, file) {
212
- return relative(resolve(base), resolve(file)).split(sep).join("/");
213
- }
214
- function realFilePath(filePath) {
215
- try {
216
- return realpath(filePath);
217
- } catch {
218
- const dir = dirname(filePath);
219
- return dir === filePath ? filePath : join(realFilePath(dir), basename(filePath));
220
- }
221
- }
222
- var STUDIO_FILES = /* @__PURE__ */ new Set([STUDIO_MOTION_PATH, STUDIO_MANUAL_EDITS_PATH]);
223
- var STUDIO_FOLDERS = [".hyperframes/prepared-assets", ".hyperframes/requests"];
224
- function isPrivateProjectPath(relPath) {
225
- const path = relPath.toLowerCase();
226
- return (path === ".hyperframes" || path.startsWith(".hyperframes/")) && !STUDIO_FILES.has(path) && !STUDIO_FOLDERS.some((folder) => path === folder || path.startsWith(`${folder}/`));
227
- }
228
- function isPrivateProjectFile(projectDir, filePath) {
229
- const rel = (from, to) => relative(from, to).split(sep).join("/");
230
- return [rel(projectDir, filePath), rel(realFilePath(projectDir), realFilePath(filePath))].some(
231
- isPrivateProjectPath
232
- );
233
- }
234
- function pinWithinProject(base, relativePath) {
235
- return pinResolved(base, resolveWithinProject2(base, relativePath));
236
- }
237
- function pinProjectRecord(base, relativePath) {
238
- return pinResolved(base, resolveWithinProject(base, relativePath));
239
- }
240
- function pinResolved(base, checked) {
241
- if (!checked) return null;
242
- const inside = relative(realFilePath(base), realFilePath(checked));
243
- const escapes = inside === ".." || inside.startsWith(`..${sep}`) || isAbsolute(inside);
244
- return escapes ? null : join(base, inside);
245
- }
246
- function isLinkFreeWithinProject(root, dir) {
247
- const inside = relative(resolve(root), resolve(dir));
248
- if (inside === ".." || inside.startsWith(`..${sep}`) || isAbsolute(inside)) return false;
249
- let path = resolve(root);
250
- for (const part of inside.split(sep).filter(Boolean)) {
251
- path = join(path, part);
252
- const stat = lstatSync(path, { throwIfNoEntry: false });
253
- if (stat?.isSymbolicLink()) return false;
254
- if (!stat?.isDirectory()) return true;
255
- }
256
- return true;
257
- }
258
- function mkdirOwnedWithinProject(root, dir) {
259
- if (!isLinkFreeWithinProject(root, dir)) throw new Error(`A link stands in for a folder: ${dir}`);
260
- mkdirWithinProject(root, dir);
261
- }
262
- var IGNORE_DIRS = /* @__PURE__ */ new Set([
263
- ".thumbnails",
264
- ".transcode-cache",
265
- ".waveform-cache",
266
- "node_modules",
267
- ".git"
268
- ]);
269
- function shouldIgnoreDir(rel) {
270
- return rel === ".hyperframes/backup";
271
- }
272
- function isInHiddenOrVendorDir(relPath) {
273
- const segments = relPath.split("/");
274
- return segments.slice(0, -1).some((seg) => seg.startsWith(".") || seg === "node_modules");
275
- }
276
- var UNREADABLE_DIR_CODES = /* @__PURE__ */ new Set(["EACCES", "EPERM", "ENOENT", "ENOTDIR"]);
277
- function walkDir(dir, prefix = "") {
278
- let entries;
279
- try {
280
- entries = readdirSync(dir, { withFileTypes: true });
281
- } catch (err) {
282
- const code = err.code;
283
- if (!prefix || !code || !UNREADABLE_DIR_CODES.has(code)) throw err;
284
- return [];
285
- }
286
- const files = [];
287
- for (const entry of entries) {
288
- const rel = prefix ? `${prefix}/${entry.name}` : entry.name;
289
- if (IGNORE_DIRS.has(entry.name) || RENDER_TEMP_DIR.test(entry.name) || shouldIgnoreDir(rel))
290
- continue;
291
- if (entry.isDirectory()) {
292
- files.push(...walkDir(join(dir, entry.name), rel));
293
- } else {
294
- files.push(rel);
295
- }
296
- }
297
- return files;
298
- }
299
-
300
- export {
301
- STUDIO_MOTION_PATH,
302
- createStudioMotionRenderBodyScript,
303
- resolveWithinProject2 as resolveWithinProject,
304
- projectRelativePath,
305
- realFilePath,
306
- isPrivateProjectPath,
307
- isPrivateProjectFile,
308
- pinWithinProject,
309
- pinProjectRecord,
310
- isLinkFreeWithinProject,
311
- mkdirOwnedWithinProject,
312
- isInHiddenOrVendorDir,
313
- walkDir
314
- };