hyperframes 0.8.220 → 0.8.222

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 (214) hide show
  1. package/dist/{add-7BJGQPZT.js → add-6MPLIWVP.js} +19 -15
  2. package/dist/{agentPromptGenerator-NFN3AYLJ.js → agentPromptGenerator-X7SQPCXZ.js} +12 -11
  3. package/dist/{animatedGifPrep-HC45HF7H.js → animatedGifPrep-ESOJ4FQ7.js} +12 -11
  4. package/dist/api.js +23 -22
  5. package/dist/{asset-TSP3CMU4.js → asset-Y735VQV6.js} +2 -2
  6. package/dist/{assetCataloger-KIN2UKI7.js → assetCataloger-AOJAUEZW.js} +13 -12
  7. package/dist/{audio-NEJOZZXG.js → audio-VMMCGPOV.js} +22 -20
  8. package/dist/{auth-7EEBDTBK.js → auth-BD5NHYRA.js} +1 -1
  9. package/dist/{autoUpdate-67ZMQDED.js → autoUpdate-VTMNHOAJ.js} +2 -2
  10. package/dist/{backgroundChecks-YN424YG5.js → backgroundChecks-SUDYQZSW.js} +3 -3
  11. package/dist/backgroundChecksWorker.js +3 -3
  12. package/dist/{batchRender-I2GRQUPY.js → batchRender-4NR7RMT7.js} +11 -8
  13. package/dist/{beats-VVY6JZEU.js → beats-PKEHQHBY.js} +53 -21
  14. package/dist/{benchmark-BJJVW6RH.js → benchmark-K55DDFHG.js} +12 -11
  15. package/dist/{browser-IOP3IU24.js → browser-G2WFWJJ3.js} +3 -3
  16. package/dist/{bundleWithLocalizedFonts-TLEZEZXN.js → bundleWithLocalizedFonts-MNG2UVH3.js} +2 -2
  17. package/dist/{capture-4Z3KBJNP.js → capture-24PIC3TZ.js} +67 -25
  18. package/dist/{capture-HVIWNBQA.js → capture-U3EEAPI6.js} +3 -3
  19. package/dist/{captureCompositionFrame-J3OOHGC2.js → captureCompositionFrame-KL4V6ORD.js} +18 -17
  20. package/dist/{catalog-G65QCBXG.js → catalog-J3BU4TFW.js} +17 -15
  21. package/dist/{catch-up-VHTDAQYM.js → catch-up-LDGNMEGL.js} +4 -4
  22. package/dist/{check-W7TCUAXY.js → check-J6HG6EKE.js} +48 -46
  23. package/dist/{checkAudio-AV7R24FD.js → checkAudio-MAX7JUYG.js} +17 -16
  24. package/dist/{checkBrowser-QTMNRNPF.js → checkBrowser-3W74WJ26.js} +44 -38
  25. package/dist/{chunk-KGM6VQ6D.js → chunk-3RXZZIDQ.js} +5 -5
  26. package/dist/{chunk-6YIBMA6Y.js → chunk-42Q3VX34.js} +9 -9
  27. package/dist/{chunk-6MHKL2TB.js → chunk-4VEXJTUT.js} +3 -3
  28. package/dist/{chunk-NSKIGECI.js → chunk-52VXA3SC.js} +1 -1
  29. package/dist/{chunk-RIG7XBHW.js → chunk-537WSYHU.js} +1 -1
  30. package/dist/{chunk-A32ZEFZT.js → chunk-5GSEM63G.js} +12 -10
  31. package/dist/{chunk-SUQ77SEY.js → chunk-6CFBFWLF.js} +9 -2
  32. package/dist/{chunk-FGGZKCOT.js → chunk-6W3DY5BP.js} +2 -2
  33. package/dist/{chunk-RHEQ7RXZ.js → chunk-7D2LTSNV.js} +1 -1
  34. package/dist/{chunk-SW5XTDRD.js → chunk-7IH3RSSG.js} +82 -33
  35. package/dist/{chunk-YMKTEQIA.js → chunk-AIXH3V5A.js} +86 -51
  36. package/dist/{chunk-PBNWRWKA.js → chunk-AKMY4QVI.js} +2 -1
  37. package/dist/{chunk-NEVX7YHH.js → chunk-AN4USOFT.js} +5 -1
  38. package/dist/{chunk-KJ2ORDQZ.js → chunk-AOHG22HQ.js} +6 -5
  39. package/dist/{chunk-VZBJ5BQF.js → chunk-AW3XJY4S.js} +1 -1
  40. package/dist/{chunk-P3XF3ZZF.js → chunk-AXVTL7B6.js} +6 -6
  41. package/dist/{chunk-DWTFLQ3P.js → chunk-B2ZZYISD.js} +4 -2
  42. package/dist/{chunk-DA6GOIIA.js → chunk-BDZSH6P3.js} +6 -57
  43. package/dist/{chunk-RECS6EGQ.js → chunk-BPIY5LB3.js} +9 -8
  44. package/dist/{chunk-KSC4O2RY.js → chunk-C2KEGBR3.js} +53 -4
  45. package/dist/{chunk-PIKANFFV.js → chunk-CVY6OIKN.js} +4 -4
  46. package/dist/{chunk-XPV5K5MD.js → chunk-CZOC7WY7.js} +1 -1
  47. package/dist/{chunk-PCKWLYKA.js → chunk-D6LGD472.js} +4 -4
  48. package/dist/{chunk-NSJPSQZ3.js → chunk-DC26QLB7.js} +1 -1
  49. package/dist/{chunk-LZPNAI7P.js → chunk-DIXTEVWQ.js} +3 -3
  50. package/dist/{chunk-6CWSMSOC.js → chunk-DNTPNSH5.js} +3 -3
  51. package/dist/{chunk-OWV36OJP.js → chunk-DS372VSV.js} +2 -5
  52. package/dist/{chunk-O332YWQV.js → chunk-DSHFKKSZ.js} +3 -3
  53. package/dist/{chunk-UOIVSNPI.js → chunk-E5IIR67Q.js} +1 -1
  54. package/dist/{chunk-5RGVBSDS.js → chunk-EE7YWKDY.js} +3 -27
  55. package/dist/{chunk-XFMO3BEN.js → chunk-EGJ4UECR.js} +11 -5
  56. package/dist/{chunk-2MDFNL2E.js → chunk-EOUKB53E.js} +1 -1
  57. package/dist/{chunk-3422KMTD.js → chunk-EPQC3FGZ.js} +4 -0
  58. package/dist/{chunk-IZBJZBBF.js → chunk-F6QV5N3A.js} +2 -2
  59. package/dist/{chunk-EUZYVUUS.js → chunk-FMKI7ZLM.js} +2 -2
  60. package/dist/{chunk-DB6OJRZB.js → chunk-FT3CNACL.js} +5 -5
  61. package/dist/{chunk-5XOOBNU2.js → chunk-G2EY3MVW.js} +1 -1
  62. package/dist/{chunk-JIGD5ZXE.js → chunk-G675S644.js} +21 -22
  63. package/dist/{chunk-AUGHXWJC.js → chunk-GHEYGMKD.js} +2 -2
  64. package/dist/{chunk-TQ3W64VT.js → chunk-GODT7QDZ.js} +3 -3
  65. package/dist/{chunk-DBT7CRK4.js → chunk-GOWU3NCE.js} +1 -1
  66. package/dist/{chunk-SGTEKMJW.js → chunk-HOTXWVVP.js} +93 -5
  67. package/dist/{chunk-22U7OCYM.js → chunk-HQDHMAUI.js} +1 -1
  68. package/dist/{chunk-BIROA7JM.js → chunk-HYRPH6LL.js} +7 -6
  69. package/dist/{chunk-NYSB3CWY.js → chunk-IB7UYGXR.js} +10 -10
  70. package/dist/{chunk-DJWAL7AW.js → chunk-IGBOFU2Y.js} +3 -3
  71. package/dist/{chunk-NKNKRN7G.js → chunk-JQWITWVC.js} +2 -2
  72. package/dist/{chunk-ZS5PARPI.js → chunk-K5UCRKUK.js} +4 -6
  73. package/dist/{chunk-BASBBBNB.js → chunk-KEY2VA65.js} +1 -1
  74. package/dist/{chunk-RIYARQ2O.js → chunk-L37AZWB2.js} +2 -2
  75. package/dist/{chunk-OURH3TLX.js → chunk-L55LAERP.js} +1 -1
  76. package/dist/chunk-LL3VMDAC.js +5013 -0
  77. package/dist/chunk-MEJH7VEA.js +63 -0
  78. package/dist/{chunk-K7APBNPW.js → chunk-NUE44RN2.js} +1 -1
  79. package/dist/{chunk-VZVRF3JX.js → chunk-OAXWHPNS.js} +2 -2
  80. package/dist/{chunk-6A7DOGSP.js → chunk-OQLYKDL5.js} +1 -1
  81. package/dist/{chunk-VJGQLC2A.js → chunk-OROHGC7W.js} +8 -8
  82. package/dist/{chunk-6OXVMHTB.js → chunk-P5M3AXEP.js} +1 -1
  83. package/dist/{chunk-N4XNRHFM.js → chunk-QNW43LWB.js} +1 -1
  84. package/dist/{chunk-ARZGHKST.js → chunk-QOZPWIYV.js} +10 -10
  85. package/dist/{chunk-3F6EGZ6C.js → chunk-QYRMR45H.js} +2 -2
  86. package/dist/{chunk-AGFHQTZD.js → chunk-RIGSGNDQ.js} +54 -18
  87. package/dist/{chunk-CIUEQLWL.js → chunk-RRPO44PE.js} +5 -5
  88. package/dist/{chunk-YBNF5ZOC.js → chunk-SFS5BTQ3.js} +1 -1
  89. package/dist/{chunk-CMI2POHT.js → chunk-SKCS4SUZ.js} +4455 -4312
  90. package/dist/{chunk-J74ZUXVU.js → chunk-SWC3QIEH.js} +1 -1
  91. package/dist/{chunk-543U46OR.js → chunk-US4BCRYB.js} +5 -0
  92. package/dist/{chunk-D5TOH3QI.js → chunk-VJVVWYP6.js} +1 -1
  93. package/dist/{chunk-5SKC4G26.js → chunk-VMRQDPFL.js} +1 -1
  94. package/dist/{chunk-MHZB6QSC.js → chunk-VQMHDS2V.js} +123 -12
  95. package/dist/{chunk-IMVM6E65.js → chunk-WJYFJGYT.js} +3 -3
  96. package/dist/{chunk-MS2SDIPC.js → chunk-WWT6ETQA.js} +43 -43
  97. package/dist/chunk-WYKRGEDD.js +62 -0
  98. package/dist/{chunk-GLC5XHN5.js → chunk-XC3BGWCJ.js} +3 -44
  99. package/dist/{chunk-DEXGPHAZ.js → chunk-XHD7RKEZ.js} +2 -2
  100. package/dist/{chunk-RK3LW7NO.js → chunk-Y7IV5MAK.js} +2 -2
  101. package/dist/{chunk-2L645DAG.js → chunk-YEKJOA47.js} +1 -1
  102. package/dist/{chunk-RF5LOY22.js → chunk-YHL4CVTF.js} +14 -14
  103. package/dist/{chunk-FK5TW3IM.js → chunk-Z5VQBRU2.js} +1 -1
  104. package/dist/{chunk-24F7TOW2.js → chunk-ZAJQFY5Q.js} +126 -53
  105. package/dist/{chunk-X2YBRPCM.js → chunk-ZBNK6X5O.js} +5 -5
  106. package/dist/{chunk-NQP44XMF.js → chunk-ZLXWRYOO.js} +3 -3
  107. package/dist/{chunk-WQYLRTVT.js → chunk-ZPTNLDOB.js} +2 -2
  108. package/dist/{clean-AYZ2RAMN.js → clean-K6IM3LC4.js} +24 -23
  109. package/dist/cli.js +62 -60
  110. package/dist/{cloud-A53ZNOO6.js → cloud-OV7EA4BJ.js} +4 -4
  111. package/dist/{cloudrun-USB736UD.js → cloudrun-ZEMODIOP.js} +10 -9
  112. package/dist/commands/layout-audit.browser.js +19 -3
  113. package/dist/commands/motion-signature.browser.js +18 -9
  114. package/dist/{compare-42CWJXBR.js → compare-MJZ3D3HA.js} +37 -35
  115. package/dist/{compiler-SV2WYWTI.js → compiler-6KKETX77.js} +8 -8
  116. package/dist/{component-7JC7NQGM.js → component-EVXMYIP3.js} +3 -3
  117. package/dist/{compositions-6F6743GP.js → compositions-PZ7FQ7WN.js} +16 -15
  118. package/dist/{delete-7TRRZI5M.js → delete-DL3XA4QV.js} +2 -2
  119. package/dist/{deploy-6SSC2FBD.js → deploy-VEYP3IP5.js} +1 -1
  120. package/dist/{deterministicFonts-2ISM3LMW.js → deterministicFonts-LV2JMOJL.js} +2 -2
  121. package/dist/{dist-KP2GVAQU.js → dist-M77KFAYW.js} +7 -6
  122. package/dist/{dist-XXBCSQYF.js → dist-SHMQOKMF.js} +6 -6
  123. package/dist/docs/motion-blur.md +28 -0
  124. package/dist/{docs-6EM6FDNI.js → docs-VAF5NM5B.js} +4 -0
  125. package/dist/{doctor-XEG3GZAA.js → doctor-JM2WHH7Y.js} +16 -15
  126. package/dist/{dotEnv-BGFXSQOA.js → dotEnv-33RDHX7P.js} +1 -1
  127. package/dist/{events-I7F24HFX.js → events-GW5I5RCG.js} +2 -2
  128. package/dist/{events-33HQE43K.js → events-S7KVBRSL.js} +3 -3
  129. package/dist/{feedback-XDTUBZX3.js → feedback-7OR5FVTX.js} +11 -10
  130. package/dist/{ffmpeg-ABXU2TYH.js → ffmpeg-A7CSIX3U.js} +12 -11
  131. package/dist/{figma-4JKNWEKN.js → figma-444HKFX5.js} +3 -3
  132. package/dist/fontLocalizeCli.js +16 -15
  133. package/dist/{get-EX2INNLN.js → get-6UTF3225.js} +2 -2
  134. package/dist/{gpuPolicy-7TSXQHK4.js → gpuPolicy-ORPUS5Z2.js} +12 -11
  135. package/dist/{grade-compare-TLUTRM2K.js → grade-compare-UCTAYN3B.js} +38 -36
  136. package/dist/{heifImagePrep-UOBBQFA2.js → heifImagePrep-ED6V6RFN.js} +13 -12
  137. package/dist/{help-BB4FPW2K.js → help-HZR32XWP.js} +1 -1
  138. package/dist/{history-JNETCPLB.js → history-TQ56MZIA.js} +18 -9
  139. package/dist/hyperframe.manifest.json +1 -1
  140. package/dist/hyperframe.runtime.iife.js +69 -69
  141. package/dist/hyperframes-player.global.js +1 -1
  142. package/dist/hyperframes-slideshow.global.js +8 -8
  143. package/dist/{info-7LBANHQG.js → info-RPIIP7RN.js} +11 -10
  144. package/dist/{init-GZ36UP5K.js → init-ONAWKHFW.js} +34 -32
  145. package/dist/{inspect-OD54TEQN.js → inspect-A75PYOWJ.js} +38 -36
  146. package/dist/{installer-4KJ7T3KB.js → installer-ISMCCFBZ.js} +8 -7
  147. package/dist/{keyframes-KLBNYGYC.js → keyframes-2I75DP3O.js} +7 -7
  148. package/dist/{lambda-554LSIHM.js → lambda-4QIHGPGJ.js} +17 -16
  149. package/dist/{layout-EQAJKTIW.js → layout-GW7WE7RT.js} +38 -36
  150. package/dist/{lint-ZMSIAVMI.js → lint-OWP72OZQ.js} +12 -12
  151. package/dist/{lintProject-I4XPWIQZ.js → lintProject-XYQ5L7RQ.js} +6 -6
  152. package/dist/{list-KUZLCZUK.js → list-WVK7ZCPW.js} +2 -2
  153. package/dist/{localPage-MQJZAR7Z.js → localPage-IQWHN7BH.js} +12 -11
  154. package/dist/{login-644VKQTJ.js → login-Q5CNHYWU.js} +4 -4
  155. package/dist/{manager-3C33QHJB.js → manager-JCYVNEWH.js} +13 -12
  156. package/dist/{media-treatment-XYS2O3JD.js → media-treatment-M5IUP7H4.js} +21 -20
  157. package/dist/{models-KOTMJX4Z.js → models-CFXKDYZ3.js} +16 -15
  158. package/dist/{motionShot-YOSDJ26I.js → motionShot-CWUEI4ZM.js} +21 -20
  159. package/dist/{normalize-audio-FNT6Y4MC.js → normalize-audio-FASY33LR.js} +15 -14
  160. package/dist/{open-COIGEQCX.js → open-KOVVESYN.js} +16 -14
  161. package/dist/{parakeetRunner-BBXLGDZW.js → parakeetRunner-E4IP5SL4.js} +18 -17
  162. package/dist/{pipeline-23GAJEQO.js → pipeline-C6EZVV43.js} +15 -14
  163. package/dist/{play-GOCWJH7Z.js → play-MZJI6SMH.js} +28 -26
  164. package/dist/{preflight-7IWI3INL.js → preflight-K4SPUWXP.js} +13 -12
  165. package/dist/{present-VN2RAATE.js → present-7L7ZTG7F.js} +24 -23
  166. package/dist/{preview-MD7W5T56.js → preview-QGDVMR3X.js} +29 -26
  167. package/dist/{producer-IRENEI2Y.js → producer-EJPNNY3E.js} +1 -1
  168. package/dist/{projectConfig-3IXWY6VF.js → projectConfig-EEF6OPXO.js} +11 -9
  169. package/dist/{publication-MCDU4VIJ.js → publication-5KF44AKQ.js} +6 -5
  170. package/dist/{publish-5477WXAK.js → publish-SSKWZ5TE.js} +17 -15
  171. package/dist/{remove-background-XYO5ENFU.js → remove-background-PCL6I5SZ.js} +16 -15
  172. package/dist/{render-34GMNN2B.js → render-DH4UA7KW.js} +10 -9
  173. package/dist/{render-54SCVHMS.js → render-DRWQ6F37.js} +22 -21
  174. package/dist/{render-L66MXLV2.js → render-UPRWOGLS.js} +158 -43
  175. package/dist/{render-batch-DOCRB7KQ.js → render-batch-EBW5WHB5.js} +10 -9
  176. package/dist/renderSetupWorker.js +6 -6
  177. package/dist/{resolver-Q5XTMECS.js → resolver-ZSZXNRFP.js} +9 -7
  178. package/dist/{screenshotCapture-U3IYWTDB.js → screenshotCapture-4THETOMD.js} +2 -1
  179. package/dist/{sherpa-E7C2ZGKD.js → sherpa-IKVUCBOW.js} +17 -16
  180. package/dist/skills/hyperframes-cli/references/beats.md +1 -1
  181. package/dist/skills/media-use/audio/scripts/lib/gemini-tts.mjs +13 -1
  182. package/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +10 -0
  183. package/dist/skills/media-use/scripts/lib/adopt.mjs +11 -10
  184. package/dist/skills/media-use/scripts/lib/adopt.test.mjs +22 -0
  185. package/dist/{skills-DDZCYTVS.js → skills-ZREHX3TU.js} +5 -5
  186. package/dist/{skillsUpdateCheck-4XX7YYZA.js → skillsUpdateCheck-PPJ5NGAL.js} +3 -3
  187. package/dist/{slideshow-SJGK4RQS.js → slideshow-ARJR22W4.js} +1 -1
  188. package/dist/{snapshot-PTLZ25S3.js → snapshot-KPFLZNEL.js} +87 -52
  189. package/dist/{src-RDWYM4KF.js → src-EPOGDJTT.js} +11 -10
  190. package/dist/{src-KT325UQS.js → src-QRV3466B.js} +21 -14
  191. package/dist/{staticProjectServer-JCGTNF4E.js → staticProjectServer-ERKLMZVM.js} +26 -24
  192. package/dist/studio/assets/{hyperframes-player-CC1Ue2mg.js → hyperframes-player-Dka6e1BG.js} +1 -1
  193. package/dist/studio/assets/{index-BgjuGqZk.js → index-C8VIUiGz.js} +117 -117
  194. package/dist/studio/assets/{index-hc5Ru1gB.js → index-CVPNbydK.js} +1 -1
  195. package/dist/studio/index.html +1 -1
  196. package/dist/{studio-api-GTN767PW.js → studio-api-7WFZIIPL.js} +21 -16
  197. package/dist/{studioSelectionClient-D6VMGTKQ.js → studioSelectionClient-FA6XPVIL.js} +1 -1
  198. package/dist/{studioServer-X6O4WB7E.js → studioServer-3XZTLI26.js} +79 -121
  199. package/dist/{telemetry-OY2PKIWO.js → telemetry-BMLI4TMC.js} +3 -3
  200. package/dist/templates/blank/index.html +1 -1
  201. package/dist/templates/from-file/index.html +1 -1
  202. package/dist/{timeline-IZZRAXKP.js → timeline-EDCDO2ZR.js} +28 -26
  203. package/dist/{tokens-JHIYKROF.js → tokens-2ZFLFO3K.js} +2 -2
  204. package/dist/{transcribe-2MPZHRG5.js → transcribe-3WMH62HH.js} +16 -15
  205. package/dist/{transcribe-WJ2DIE3W.js → transcribe-Y2LPBT7I.js} +22 -21
  206. package/dist/{updateCheck-6XMEFB74.js → updateCheck-5LFZGC3P.js} +2 -2
  207. package/dist/{upgrade-MSNQIWR7.js → upgrade-X7QVSEKP.js} +2 -2
  208. package/dist/{urlDownloader-CD6NVJE5.js → urlDownloader-TYD6ROKL.js} +11 -10
  209. package/dist/{validate-7L5LJFTK.js → validate-26KQ5VX7.js} +31 -30
  210. package/dist/{video-HFIDOIQI.js → video-BPKLZIJK.js} +13 -12
  211. package/dist/warmCheck.js +48 -46
  212. package/package.json +1 -1
  213. package/dist/chunk-2Q7XV4F6.js +0 -5061
  214. /package/dist/{chunk-NHA4NRBE.js → chunk-T5ELONXY.js} +0 -0
@@ -4,6 +4,9 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ gsapCdnDist
9
+ } from "./chunk-MEJH7VEA.js";
7
10
  import {
8
11
  HF_COLOR_CURVE_LUT_SIZE,
9
12
  HF_COLOR_GRADING_ACTIVE_EFFECT_KEYS,
@@ -22,7 +25,7 @@ import {
22
25
  resolveNaturalMediaTimelineDuration,
23
26
  resolveTimedImageDurationSeconds,
24
27
  unitFloatToByte
25
- } from "./chunk-2Q7XV4F6.js";
28
+ } from "./chunk-LL3VMDAC.js";
26
29
  import {
27
30
  COLOR_GROUP_ATTR,
28
31
  COLOR_GROUP_TAG,
@@ -36,7 +39,7 @@ import {
36
39
  parseStartExpression,
37
40
  resolveMediaStartSeconds,
38
41
  sameInstant
39
- } from "./chunk-KSC4O2RY.js";
42
+ } from "./chunk-C2KEGBR3.js";
40
43
  import {
41
44
  CANVAS_DIMENSIONS,
42
45
  isCompositionElement,
@@ -44,7 +47,7 @@ import {
44
47
  isTextElement,
45
48
  keyframesToGsapAnimations,
46
49
  serializeGsapAnimations
47
- } from "./chunk-NHA4NRBE.js";
50
+ } from "./chunk-T5ELONXY.js";
48
51
  import {
49
52
  parseHTML
50
53
  } from "./chunk-GWTIFRF5.js";
@@ -159,54 +162,6 @@ function getStageStyles(resolution = "portrait") {
159
162
  return `position: relative; width: ${width}px; height: ${height}px; overflow: hidden; background: #000;`;
160
163
  }
161
164
 
162
- // ../core/dist/gsapCdn.js
163
- var GSAP_CDN_VERSION = "3.15.0";
164
- var GSAP_CDN_BASE_URL = "https://cdn.jsdelivr.net/npm";
165
- var GSAP_BASE_URL_META = "hyperframes-gsap-base-url";
166
- function isLoopbackHost(hostname) {
167
- return hostname === "localhost" || hostname === "[::1]" || /^127\.\d+\.\d+\.\d+$/.test(hostname);
168
- }
169
- function normalizeGsapBaseUrl(baseUrl) {
170
- const value = baseUrl?.trim();
171
- if (!value)
172
- return GSAP_CDN_BASE_URL;
173
- if (!/^https?:\/\//i.test(value) || !URL.canParse(value) || /[?#]/.test(value)) {
174
- throw new Error("GSAP base URL must be an absolute HTTP(S) URL without a query or fragment");
175
- }
176
- const url = new URL(value);
177
- if (url.username || url.password) {
178
- throw new Error("GSAP base URL must not contain credentials");
179
- }
180
- if (url.protocol === "http:" && !isLoopbackHost(url.hostname)) {
181
- throw new Error("GSAP base URL must use HTTPS unless it points at this machine");
182
- }
183
- return url.href.replace(/\/+$/, "");
184
- }
185
- function normalizeGsapLocalRoot(root) {
186
- const value = root.trim();
187
- if (!/^\/(?![/\\])/.test(value) || /[?#\\]/.test(value)) {
188
- throw new Error("GSAP local root must be a same-origin path such as /vendor/npm");
189
- }
190
- const origin = "http://local.invalid";
191
- const url = new URL(value, origin);
192
- const path = url.pathname.replace(/\/+$/, "");
193
- if (url.origin !== origin || !path) {
194
- throw new Error("GSAP local root must be a same-origin path such as /vendor/npm");
195
- }
196
- return path;
197
- }
198
- function gsapCdnDist(gsapVersion, baseUrl) {
199
- const version = gsapVersion && /^\d+(\.\d+)*$/.test(gsapVersion) ? gsapVersion : GSAP_CDN_VERSION;
200
- if (baseUrl?.trim().startsWith("/")) {
201
- const root = normalizeGsapLocalRoot(baseUrl);
202
- return `${version === GSAP_CDN_VERSION ? root : GSAP_CDN_BASE_URL}/gsap@${version}/dist/`;
203
- }
204
- return `${normalizeGsapBaseUrl(baseUrl)}/gsap@${version}/dist/`;
205
- }
206
- function motionPathPluginUrl(gsapVersion, baseUrl) {
207
- return `${gsapCdnDist(gsapVersion, baseUrl)}MotionPathPlugin.min.js`;
208
- }
209
-
210
165
  // ../core/dist/templates/constants.js
211
166
  var GSAP_CDN = `${gsapCdnDist()}gsap.min.js`;
212
167
  var BASE_STYLES = `* { margin: 0; padding: 0; box-sizing: border-box; }
@@ -5944,12 +5899,6 @@ export {
5944
5899
  isDistributedFps,
5945
5900
  generateBaseHtml,
5946
5901
  getStageStyles,
5947
- GSAP_CDN_VERSION,
5948
- GSAP_BASE_URL_META,
5949
- normalizeGsapBaseUrl,
5950
- normalizeGsapLocalRoot,
5951
- gsapCdnDist,
5952
- motionPathPluginUrl,
5953
5902
  GSAP_CDN,
5954
5903
  BASE_STYLES,
5955
5904
  ELEMENT_BASE_STYLES,
@@ -6,31 +6,32 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  relinkSplitHalves
9
- } from "./chunk-VZBJ5BQF.js";
9
+ } from "./chunk-AW3XJY4S.js";
10
10
  import {
11
11
  EXCLUDED_TAGS,
12
12
  ensureHfIds,
13
13
  mintHfId,
14
14
  walkCompositionDescendants
15
- } from "./chunk-KGM6VQ6D.js";
15
+ } from "./chunk-3RXZZIDQ.js";
16
16
  import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-DA6GOIIA.js";
20
+ } from "./chunk-BDZSH6P3.js";
21
21
  import {
22
22
  require_dist
23
- } from "./chunk-MHZB6QSC.js";
23
+ } from "./chunk-VQMHDS2V.js";
24
24
  import {
25
+ SPLIT_BOUNDARY_EPSILON_S,
25
26
  readClipTiming,
26
27
  readMediaOffsetSeconds,
27
28
  readPlaybackRate,
28
29
  writeClipTiming
29
- } from "./chunk-KSC4O2RY.js";
30
+ } from "./chunk-C2KEGBR3.js";
30
31
  import {
31
32
  decodedUrlPath,
32
33
  removeElementWithGsapCascade
33
- } from "./chunk-NHA4NRBE.js";
34
+ } from "./chunk-T5ELONXY.js";
34
35
  import {
35
36
  parseHTML
36
37
  } from "./chunk-GWTIFRF5.js";
@@ -136,7 +137,7 @@ function replacementTimelineAssetId(document, element, newSrc) {
136
137
  return buildTimelineAssetId(decodedUrlPath(newSrc), ids);
137
138
  }
138
139
 
139
- // ../studio-server/dist/chunk-OF4B2ILS.js
140
+ // ../studio-server/dist/chunk-V6K3WWWU.js
140
141
  var import_postcss_selector_parser = __toESM(require_dist(), 1);
141
142
  import postcss from "postcss";
142
143
  function parseStyleDecls(style) {
@@ -454,7 +455,7 @@ function splitElementInHtml(source, target, splitTime, newId, fallbackTiming) {
454
455
  start = fallbackTiming.start;
455
456
  duration = fallbackTiming.duration;
456
457
  }
457
- if (duration <= 0 || splitTime <= start || splitTime >= start + duration) {
458
+ if (duration <= 0 || splitTime < start + SPLIT_BOUNDARY_EPSILON_S || splitTime > start + duration - SPLIT_BOUNDARY_EPSILON_S) {
458
459
  return { html: source, matched: false, newId: null };
459
460
  }
460
461
  newId = nextUniqueId(document, newId);
@@ -11,6 +11,7 @@ import {
11
11
 
12
12
  // ../parsers/dist/compositionContract.js
13
13
  var COMPOSITION_CONTRACT_VERSION = 1;
14
+ var SPLIT_BOUNDARY_EPSILON_S = 0.03;
14
15
  var COMPOSITION_ATTRIBUTES = Object.freeze({
15
16
  start: "data-start",
16
17
  duration: "data-duration",
@@ -410,8 +411,9 @@ function decodeCssEscapes(text) {
410
411
  }
411
412
  var CSS_URL_RE = /\burl\(\s*(["']?)([^)"'\s](?:[^)"']*[^)"'\s])?)\1\s*\)/g;
412
413
  var PATH_ATTRS = ["src", "href"];
414
+ var URL_SCHEME_OF_TWO_OR_MORE_CHARS_RE = /^[a-z][a-z0-9+.-]+:/i;
413
415
  function isNonRelativeUrl(val) {
414
- return !val || val.startsWith("http://") || val.startsWith("https://") || val.startsWith("//") || val.startsWith("data:") || val.startsWith("#") || val.startsWith("/");
416
+ return !val || val.startsWith("http://") || val.startsWith("https://") || val.startsWith("//") || val.startsWith("data:") || val.startsWith("#") || val.startsWith("/") || URL_SCHEME_OF_TWO_OR_MORE_CHARS_RE.test(val);
415
417
  }
416
418
  var LEADING_PARENT_SEGMENT_RE = /^\.\.(?:[\\/]|$)/;
417
419
  function isPathInside(childPath, parentPath) {
@@ -421,6 +423,44 @@ function isPathInside(childPath, parentPath) {
421
423
  const rel = relative(absParent, absChild);
422
424
  return rel !== "" && !LEADING_PARENT_SEGMENT_RE.test(rel) && !isAbsolute(rel);
423
425
  }
426
+ function skipSrcsetDescriptors(srcset, position) {
427
+ let inParens = false;
428
+ while (position < srcset.length) {
429
+ const char = srcset.charAt(position++);
430
+ if (char === "(") inParens = true;
431
+ else if (char === ")") inParens = false;
432
+ else if (char === "," && !inParens) break;
433
+ }
434
+ return position;
435
+ }
436
+ function readSrcsetUrl(srcset, position) {
437
+ while (position < srcset.length && /[ \t\n\r\f,]/.test(srcset.charAt(position))) position++;
438
+ const start = position;
439
+ while (position < srcset.length && !/[ \t\n\r\f]/.test(srcset.charAt(position))) position++;
440
+ let end = position;
441
+ while (end > start && srcset.charAt(end - 1) === ",") end--;
442
+ return { start, end, next: position };
443
+ }
444
+ function rewriteSrcsetUrls(srcset, rewriteUrl) {
445
+ const parts = [];
446
+ let position = 0;
447
+ let written = 0;
448
+ while (position < srcset.length) {
449
+ const { start, end, next } = readSrcsetUrl(srcset, position);
450
+ position = next;
451
+ if (end > start) {
452
+ const url = srcset.slice(start, end);
453
+ const rewritten = rewriteUrl(url);
454
+ if (rewritten !== url) {
455
+ parts.push(srcset.slice(written, start), rewritten);
456
+ written = end;
457
+ }
458
+ }
459
+ if (end < position) continue;
460
+ position = skipSrcsetDescriptors(srcset, position);
461
+ }
462
+ return parts.length > 0 ? parts.join("") + srcset.slice(written) : srcset;
463
+ }
424
464
  var { join, resolve: resolve2, dirname } = posix;
425
465
  var isAbsoluteOrSpecial = isNonRelativeUrl;
426
466
  function needsRewrite(val) {
@@ -442,11 +482,18 @@ function rewriteAssetPaths(elements, compSrcPath, getAttr, setAttr, assetExists)
442
482
  for (const el of elements) {
443
483
  for (const attr of PATH_ATTRS) {
444
484
  const val = (getAttr(el, attr) || "").trim();
445
- const rewritten = rewriteAssetPath(compSrcPath, val, assetExists);
446
- if (rewritten !== val) {
447
- setAttr(el, attr, rewritten);
485
+ const rewritten2 = rewriteAssetPath(compSrcPath, val, assetExists);
486
+ if (rewritten2 !== val) {
487
+ setAttr(el, attr, rewritten2);
448
488
  }
449
489
  }
490
+ const srcset = getAttr(el, "srcset");
491
+ if (!srcset) continue;
492
+ const rewritten = rewriteSrcsetUrls(
493
+ srcset,
494
+ (url) => rewriteAssetPath(compSrcPath, url, assetExists)
495
+ );
496
+ if (rewritten !== srcset) setAttr(el, "srcset", rewritten);
450
497
  }
451
498
  }
452
499
  function rewriteInlineStyleAssetUrls(elements, compSrcPath, getStyle, setStyle, assetExists) {
@@ -1477,6 +1524,7 @@ function extractMediaSrcMutations(script) {
1477
1524
 
1478
1525
  export {
1479
1526
  COMPOSITION_CONTRACT_VERSION,
1527
+ SPLIT_BOUNDARY_EPSILON_S,
1480
1528
  COMPOSITION_ATTRIBUTES,
1481
1529
  CANONICAL_AUTHORED_TIMING_ATTRIBUTES,
1482
1530
  DERIVED_TIMING_ATTRIBUTES,
@@ -1504,6 +1552,7 @@ export {
1504
1552
  PATH_ATTRS,
1505
1553
  isNonRelativeUrl,
1506
1554
  isPathInside,
1555
+ rewriteSrcsetUrls,
1507
1556
  rewriteAssetPath,
1508
1557
  rewriteAssetPaths,
1509
1558
  rewriteInlineStyleAssetUrls,
@@ -15,16 +15,16 @@ import {
15
15
  findFFmpeg,
16
16
  findFFprobe,
17
17
  getFFmpegInstallHint
18
- } from "./chunk-A32ZEFZT.js";
18
+ } from "./chunk-5GSEM63G.js";
19
19
  import {
20
20
  registerBrowserSessionCleanup
21
- } from "./chunk-RIYARQ2O.js";
21
+ } from "./chunk-L37AZWB2.js";
22
22
  import {
23
23
  DEFAULT_VP9_CPU_USED,
24
24
  SDR_RGB_TO_BT709_FILTER,
25
25
  SDR_RGB_TO_TAGGED_BT709_FILTER,
26
26
  renderProvenanceArgs
27
- } from "./chunk-YMKTEQIA.js";
27
+ } from "./chunk-AIXH3V5A.js";
28
28
  import {
29
29
  runCancellableProcess
30
30
  } from "./chunk-X6JUUQCM.js";
@@ -391,7 +391,7 @@ async function decoderTransposesDimensions(inputPath) {
391
391
  }
392
392
  async function probeMedia(inputPath) {
393
393
  const isImage = inferInputKind(inputPath) === "image";
394
- const engine = await import("./src-RDWYM4KF.js");
394
+ const engine = await import("./src-EPOGDJTT.js");
395
395
  const meta = await engine.extractMediaMetadata(inputPath);
396
396
  if (isImage) {
397
397
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-PIKANFFV.js";
13
+ } from "./chunk-CVY6OIKN.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeAudio
9
- } from "./chunk-J74ZUXVU.js";
9
+ } from "./chunk-SWC3QIEH.js";
10
10
  import {
11
11
  stoppedByCancelSignal
12
- } from "./chunk-UOIVSNPI.js";
12
+ } from "./chunk-E5IIR67Q.js";
13
13
  import {
14
14
  DEFAULT_MODEL,
15
15
  ensureModel,
@@ -17,12 +17,12 @@ import {
17
17
  hasFFmpeg,
18
18
  pinnedWhisperModel,
19
19
  sha256File
20
- } from "./chunk-BASBBBNB.js";
20
+ } from "./chunk-KEY2VA65.js";
21
21
  import {
22
22
  findFFmpeg,
23
23
  findFFprobe,
24
24
  getFFmpegInstallHint
25
- } from "./chunk-A32ZEFZT.js";
25
+ } from "./chunk-5GSEM63G.js";
26
26
  import {
27
27
  findWavChunk
28
28
  } from "./chunk-UOFAE5RF.js";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-DA6GOIIA.js";
13
+ } from "./chunk-BDZSH6P3.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-GWTIFRF5.js";
@@ -21,13 +21,13 @@ import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-PCKWLYKA.js";
24
+ } from "./chunk-D6LGD472.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-UOIVSNPI.js";
27
+ } from "./chunk-E5IIR67Q.js";
28
28
  import {
29
29
  verifies
30
- } from "./chunk-BASBBBNB.js";
30
+ } from "./chunk-KEY2VA65.js";
31
31
  import {
32
32
  PARAKEET_MODEL_LABEL,
33
33
  SHERPA_ERROR_PREFIX,
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readCompositionFps
9
- } from "./chunk-NSJPSQZ3.js";
9
+ } from "./chunk-DC26QLB7.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-5ZBMHUY2.js";
13
13
  import {
14
14
  DEFAULT_CONFIG,
15
15
  resolvePageNavigationTimeout
16
- } from "./chunk-YMKTEQIA.js";
16
+ } from "./chunk-AIXH3V5A.js";
17
17
  import {
18
18
  parseFps
19
- } from "./chunk-DA6GOIIA.js";
19
+ } from "./chunk-BDZSH6P3.js";
20
20
  import {
21
21
  failUsage
22
22
  } from "./chunk-DP5LF7GF.js";
@@ -16,6 +16,7 @@ import {
16
16
 
17
17
  // src/utils/reject-extra-positionals.ts
18
18
  var ACCEPTS_EXTRA_POSITIONALS = /* @__PURE__ */ new Set([
19
+ "add",
19
20
  "audio",
20
21
  "compare",
21
22
  "figma asset",
@@ -23,9 +24,6 @@ var ACCEPTS_EXTRA_POSITIONALS = /* @__PURE__ */ new Set([
23
24
  "timeline set"
24
25
  ]);
25
26
  var JOINS_EXTRA_POSITIONALS = /* @__PURE__ */ new Set(["catalog", "tts"]);
26
- var EXTRA_POSITIONAL_HINTS = {
27
- add: "Run add once per item, or pass a single tag to install every item tagged with it."
28
- };
29
27
  function wantsJson(value) {
30
28
  return value === true || typeof value === "string" && value !== "false" && value !== "0";
31
29
  }
@@ -63,8 +61,7 @@ function resolveExtraPositionals(cmd, path, parsed) {
63
61
  }
64
62
  const plural = extra.length === 1 ? "" : "s";
65
63
  const message = `Unexpected extra argument${plural} for hyperframes ${path}: ${extra.join(", ")}
66
- Usage: ${usageLine(path, args)}` + (EXTRA_POSITIONAL_HINTS[path] ? `
67
- ${EXTRA_POSITIONAL_HINTS[path]}` : "");
64
+ Usage: ${usageLine(path, args)}`;
68
65
  if (wantsJson(parsed?.json)) console.log(JSON.stringify(jsonFailure("usage_error", message)));
69
66
  else console.error(message);
70
67
  throw new CliUsageError(
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  loadProducer
9
- } from "./chunk-6A7DOGSP.js";
9
+ } from "./chunk-OQLYKDL5.js";
10
10
  import {
11
11
  resolveProjectRelativeSrc
12
- } from "./chunk-PBNWRWKA.js";
12
+ } from "./chunk-AKMY4QVI.js";
13
13
 
14
14
  // src/utils/projectMedia.ts
15
15
  async function collectProjectMedia(projectDir) {
16
- const { bundleToSingleHtml } = await import("./compiler-SV2WYWTI.js");
16
+ const { bundleToSingleHtml } = await import("./compiler-6KKETX77.js");
17
17
  const html = await bundleToSingleHtml(projectDir);
18
18
  const producer = await loadProducer();
19
19
  if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-YMKTEQIA.js";
9
+ } from "./chunk-AIXH3V5A.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-TSYRN646.js";
12
12
  import {
13
13
  fetchLocalPageUrl
14
- } from "./chunk-2MDFNL2E.js";
14
+ } from "./chunk-EOUKB53E.js";
15
15
  import {
16
16
  ensureCaptureDirSync,
17
17
  writeCaptureFileSync
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-AWDFDFI3.js";
26
26
  import {
27
27
  isBlockedNetworkHost
28
- } from "./chunk-YMKTEQIA.js";
28
+ } from "./chunk-AIXH3V5A.js";
29
29
  import {
30
30
  DOMParser,
31
31
  parseHTML
@@ -44,32 +44,8 @@ import { request as httpsRequest } from "https";
44
44
  import { connect as tlsConnect } from "tls";
45
45
  var DNS_TIMEOUT_MS = 1e4;
46
46
  var CARES_TIMEOUT_MS = 5e3;
47
- function ipv4Number(address) {
48
- return address.split(".").reduce((value, octet) => value * 256 + Number(octet), 0);
49
- }
50
- var NON_PUBLIC_IPV4 = [
51
- ["0.0.0.0", 8],
52
- ["10.0.0.0", 8],
53
- ["100.64.0.0", 10],
54
- ["127.0.0.0", 8],
55
- ["169.254.0.0", 16],
56
- ["172.16.0.0", 12],
57
- ["192.0.0.0", 16],
58
- ["192.88.99.0", 24],
59
- ["192.168.0.0", 16],
60
- ["198.18.0.0", 15],
61
- ["198.51.100.0", 24],
62
- ["203.0.113.0", 24],
63
- ["224.0.0.0", 3]
64
- ];
65
- var NON_PUBLIC_RANGES = NON_PUBLIC_IPV4.map(([network, prefix]) => ({
66
- start: ipv4Number(network),
67
- end: ipv4Number(network) + 2 ** (32 - prefix)
68
- }));
69
47
  function isPublicIPv4(address) {
70
- if (isIP(address) !== 4) return false;
71
- const value = ipv4Number(address);
72
- return !NON_PUBLIC_RANGES.some(({ start, end }) => value >= start && value < end);
48
+ return isIP(address) === 4 && !isBlockedNetworkHost(address);
73
49
  }
74
50
  function assertPublicHostname(hostname) {
75
51
  const host = hostname.toLowerCase().replace(/\.$/, "");
@@ -8,14 +8,14 @@ var __dirname = __hf_dirname(__filename);
8
8
  // src/utils/jsonFlag.ts
9
9
  import { readFileSync } from "fs";
10
10
  import { resolve } from "path";
11
- function decode(bytes) {
11
+ function decodeJsonText(bytes) {
12
12
  if (bytes[0] === 255 && bytes[1] === 254)
13
13
  return bytes.toString("utf16le").replace(/^\uFEFF/, "");
14
14
  return bytes.toString("utf8").replace(/^\uFEFF/, "");
15
15
  }
16
16
  var defaultIO = {
17
- readFile: (path) => decode(readFileSync(resolve(path))),
18
- readStdin: () => decode(readFileSync(0))
17
+ readFile: (path) => decodeJsonText(readFileSync(resolve(path))),
18
+ readStdin: () => decodeJsonText(readFileSync(0))
19
19
  };
20
20
  var JsonFlagReadError = class extends Error {
21
21
  constructor(path, cause) {
@@ -36,7 +36,10 @@ function isJsonScalar(text) {
36
36
  }
37
37
  var errorText = (error) => error instanceof Error ? error.message : String(error);
38
38
  function readJsonFlagText(value, partialIo = {}) {
39
- const io = { ...defaultIO, ...partialIo };
39
+ const io = {
40
+ readFile: partialIo.readFile ?? defaultIO.readFile,
41
+ readStdin: partialIo.readStdin ?? defaultIO.readStdin
42
+ };
40
43
  const trimmed = value.trim();
41
44
  if (trimmed.startsWith("{") || trimmed.startsWith("[") || isJsonScalar(trimmed)) return value;
42
45
  const source = trimmed === "-" ? "stdin" : value;
@@ -47,13 +50,14 @@ function readJsonFlagText(value, partialIo = {}) {
47
50
  }
48
51
  }
49
52
  var inlineJsonHint = (flag) => `PowerShell strips the quotes from inline JSON; pass a file (${flag} payload.json) or pipe it (${flag} -)`;
53
+ var unreadableJsonHint = (flag, value) => value.includes(":") && !/^\s*[A-Za-z]:[\\/]/.test(value) ? ` (${inlineJsonHint(flag)})` : "";
50
54
  function readJsonFlag(flag, value, io) {
51
55
  let text;
52
56
  try {
53
57
  text = readJsonFlagText(value, io);
54
58
  } catch (error) {
55
59
  if (!(error instanceof JsonFlagReadError)) throw error;
56
- throw new Error(`Could not read ${flag}: ${error.message}`);
60
+ throw new Error(`Could not read ${flag}: ${error.message}${unreadableJsonHint(flag, value)}`);
57
61
  }
58
62
  try {
59
63
  return JSON.parse(text);
@@ -64,8 +68,10 @@ function readJsonFlag(flag, value, io) {
64
68
  }
65
69
 
66
70
  export {
71
+ decodeJsonText,
67
72
  JsonFlagReadError,
68
73
  readJsonFlagText,
69
74
  inlineJsonHint,
75
+ unreadableJsonHint,
70
76
  readJsonFlag
71
77
  };
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-EQBDKYXR.js";
10
10
  import {
11
11
  listenOnBrowserSafePort
12
- } from "./chunk-YMKTEQIA.js";
12
+ } from "./chunk-AIXH3V5A.js";
13
13
 
14
14
  // src/capture/localPage.ts
15
15
  import {
@@ -31,6 +31,9 @@ function parseSlideshowManifest(html) {
31
31
  function isOptionalNumberArray(v) {
32
32
  return v === void 0 || Array.isArray(v) && v.every((n) => typeof n === "number");
33
33
  }
34
+ function isOptionalFiniteNumber(v) {
35
+ return v === void 0 || typeof v === "number" && Number.isFinite(v);
36
+ }
34
37
  function isOptionalBoolean(v) {
35
38
  return v === void 0 || typeof v === "boolean";
36
39
  }
@@ -49,6 +52,7 @@ function isSlideRef(v) {
49
52
  if (!isRecord(v)) return false;
50
53
  const r = v;
51
54
  if (typeof r["sceneId"] !== "string") return false;
55
+ if (![r["startTime"], r["endTime"]].every(isOptionalFiniteNumber)) return false;
52
56
  if (!isOptionalNumberArray(r["fragments"])) return false;
53
57
  if (r["hotspots"] !== void 0 && (!Array.isArray(r["hotspots"]) || !r["hotspots"].every(isSlideHotspot)))
54
58
  return false;
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-YMKTEQIA.js";
10
+ } from "./chunk-AIXH3V5A.js";
11
11
 
12
12
  // src/browser/gpuPolicy.ts
13
13
  function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
17
17
  return "auto";
18
18
  }
19
19
  async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
20
- const { resolveBrowserGpuMode } = await import("./src-RDWYM4KF.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-EPOGDJTT.js");
21
21
  return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
22
22
  }
23
23
  function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
@@ -13,10 +13,10 @@ import {
13
13
  } from "./chunk-XQ26I3PL.js";
14
14
  import {
15
15
  createProjectConfig
16
- } from "./chunk-6OXVMHTB.js";
16
+ } from "./chunk-P5M3AXEP.js";
17
17
  import {
18
18
  isHyperframesProject
19
- } from "./chunk-DA6GOIIA.js";
19
+ } from "./chunk-BDZSH6P3.js";
20
20
 
21
21
  // src/utils/desktopApp.ts
22
22
  import { spawn, spawnSync } from "child_process";
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-RIG7XBHW.js";
9
+ } from "./chunk-537WSYHU.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-LZPNAI7P.js";
15
+ } from "./chunk-DIXTEVWQ.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-PCKWLYKA.js";
19
+ } from "./chunk-D6LGD472.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-UOIVSNPI.js";
23
+ } from "./chunk-E5IIR67Q.js";
24
24
  import {
25
25
  DEFAULT_MODEL,
26
26
  findWhisper,
27
27
  isWhisperUnavailable
28
- } from "./chunk-BASBBBNB.js";
28
+ } from "./chunk-KEY2VA65.js";
29
29
  import {
30
30
  formatSrt,
31
31
  formatVtt,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  updateCheckDisabled
9
- } from "./chunk-OURH3TLX.js";
9
+ } from "./chunk-L55LAERP.js";
10
10
  import {
11
11
  hostAnswers
12
12
  } from "./chunk-BR2JQQC5.js";