hyperframes 0.8.198 → 0.8.200

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 (176) hide show
  1. package/dist/{add-KEYBYC4P.js → add-MFJDOJHQ.js} +14 -14
  2. package/dist/{animatedGifPrep-Z5BJNWKN.js → animatedGifPrep-WBZ2VVP6.js} +7 -7
  3. package/dist/api.js +15 -15
  4. package/dist/{asset-I4SWXLQ6.js → asset-PTAQLOR6.js} +2 -2
  5. package/dist/{assetCataloger-FBZ36VTV.js → assetCataloger-N3UGZ2RC.js} +7 -7
  6. package/dist/{audio-I4Z5PT7P.js → audio-CPHWRLC4.js} +15 -15
  7. package/dist/{auth-CKN546QV.js → auth-ZWOJIYK7.js} +2 -2
  8. package/dist/{autoUpdate-AKOIVDJZ.js → autoUpdate-DO74673A.js} +3 -3
  9. package/dist/{backgroundChecks-5BJIAXAC.js → backgroundChecks-HOAN7YB6.js} +4 -4
  10. package/dist/backgroundChecksWorker.js +4 -4
  11. package/dist/{batchRender-QY2RN3J2.js → batchRender-AZFHTPSV.js} +3 -3
  12. package/dist/{beats-UEGEBTZ6.js → beats-JRMM6JQQ.js} +11 -11
  13. package/dist/{benchmark-BNGEOBEM.js → benchmark-2PEQUV7H.js} +11 -11
  14. package/dist/{browser-DL2STX2A.js → browser-2D6IHFO6.js} +7 -7
  15. package/dist/{bundleWithLocalizedFonts-ULZJ7GHE.js → bundleWithLocalizedFonts-ERB43NFP.js} +2 -2
  16. package/dist/{capture-DHYANXXU.js → capture-3ODEX55X.js} +2 -2
  17. package/dist/{capture-UNI6ZOPZ.js → capture-WNC2DWF7.js} +11 -11
  18. package/dist/{captureCompositionFrame-PS5KDJXF.js → captureCompositionFrame-JXXTHR7J.js} +12 -12
  19. package/dist/{catalog-UF3CDKXY.js → catalog-MHTRTKSY.js} +14 -14
  20. package/dist/{catch-up-DIESQDJZ.js → catch-up-XNDRKMKL.js} +7 -7
  21. package/dist/{check-WZ6L42CH.js → check-7IB355TM.js} +36 -36
  22. package/dist/{checkBrowser-7J6VC7D6.js → checkBrowser-E3ZCTAGY.js} +31 -31
  23. package/dist/{chunk-PKQ3GBDU.js → chunk-2LKHE32Z.js} +6 -6
  24. package/dist/{chunk-MFDZK3X5.js → chunk-32V3VHMK.js} +66 -10
  25. package/dist/{chunk-C6WBKEOI.js → chunk-3XXSRN36.js} +2 -2
  26. package/dist/{chunk-WA6HZFDD.js → chunk-3YGSZSEN.js} +2 -2
  27. package/dist/{chunk-AFQ777YP.js → chunk-4UPGPCMB.js} +1 -1
  28. package/dist/{chunk-HVF7K2T3.js → chunk-4VZAIVZQ.js} +1 -1
  29. package/dist/{chunk-ESJYD4AE.js → chunk-57Y5X4VU.js} +5 -5
  30. package/dist/{chunk-2CGWIIPE.js → chunk-5ULL3P6S.js} +2 -2
  31. package/dist/{chunk-6WZ6HNK2.js → chunk-63JJFXAD.js} +10 -8
  32. package/dist/{chunk-4V2OO56A.js → chunk-63S4VUOL.js} +2 -2
  33. package/dist/{chunk-256C5DYC.js → chunk-733CEBPF.js} +5 -5
  34. package/dist/{chunk-F2ZAINSR.js → chunk-7D7V3UDI.js} +1 -1
  35. package/dist/{chunk-GHO33VCP.js → chunk-7LRVGYKZ.js} +2 -2
  36. package/dist/{chunk-O3KFO66O.js → chunk-7NWSVRFE.js} +1 -1
  37. package/dist/{chunk-WY67Q2QY.js → chunk-7WV27W7R.js} +5 -3
  38. package/dist/{chunk-GJA6QSSQ.js → chunk-ACH5ZR7X.js} +3 -3
  39. package/dist/{chunk-6BTMNV3R.js → chunk-BERGVZKN.js} +1 -1
  40. package/dist/{chunk-DZWTK3HJ.js → chunk-BIZPUWBG.js} +1 -1
  41. package/dist/{chunk-T6AGUTZJ.js → chunk-BQA3X7TI.js} +3 -32
  42. package/dist/{chunk-U66P7HPN.js → chunk-D35MPIGJ.js} +14 -14
  43. package/dist/{chunk-Y2I7KT2R.js → chunk-DRTUJVLE.js} +107 -44
  44. package/dist/{chunk-YP5XWK7M.js → chunk-FTD5QXGF.js} +1 -1
  45. package/dist/{chunk-FXDYR644.js → chunk-FTUKOLLB.js} +1 -1
  46. package/dist/{chunk-4WDOTQDY.js → chunk-FZ3R5XOH.js} +1 -1
  47. package/dist/{chunk-YEVU5W5G.js → chunk-G7RKSAKS.js} +29 -4
  48. package/dist/{chunk-7W7F3KBH.js → chunk-GR2G5L2O.js} +2 -2
  49. package/dist/{chunk-7FT7E7OU.js → chunk-GYSPF5ZT.js} +17 -17
  50. package/dist/{chunk-BPU22WKT.js → chunk-H2X4TQVK.js} +7 -7
  51. package/dist/{chunk-FCY375PD.js → chunk-HBRPELT6.js} +3 -3
  52. package/dist/{chunk-6NSH5EAO.js → chunk-HN6TP4D2.js} +1 -1
  53. package/dist/{chunk-7OFK6XMH.js → chunk-HXHSGDU6.js} +7 -7
  54. package/dist/{chunk-O2CO6QNK.js → chunk-I4VEFPZE.js} +1 -1
  55. package/dist/{chunk-DFL4XSQZ.js → chunk-I6A2B3IJ.js} +3 -3
  56. package/dist/{chunk-YUODO5H2.js → chunk-IC6BO4GU.js} +25 -2
  57. package/dist/{chunk-2FT5WJPY.js → chunk-ISN6BAZX.js} +1 -1
  58. package/dist/{chunk-JSLQZKXA.js → chunk-IW4LKYDY.js} +2 -2
  59. package/dist/{chunk-56ZYGITX.js → chunk-JBQNDHRT.js} +1 -1
  60. package/dist/{chunk-O2SA7HOG.js → chunk-KPUTRG54.js} +2 -2
  61. package/dist/{chunk-JBTNMFFR.js → chunk-KVFSXCN6.js} +1 -1
  62. package/dist/{chunk-EUZB3ZV3.js → chunk-ML4IULLQ.js} +10 -10
  63. package/dist/{chunk-ORNE2BC4.js → chunk-NC3TVM27.js} +5 -5
  64. package/dist/{chunk-4UAUXH77.js → chunk-OE7AUN6G.js} +759 -454
  65. package/dist/{chunk-N4NKPFKQ.js → chunk-OMXXJSCK.js} +54 -16
  66. package/dist/{chunk-NDBOBZRL.js → chunk-OYVVDYM6.js} +10 -10
  67. package/dist/{chunk-P3ZZD4SK.js → chunk-PFFR4NQV.js} +3 -3
  68. package/dist/{chunk-6NLPPKBO.js → chunk-PSX5SF2N.js} +36 -0
  69. package/dist/chunk-PW22CDII.js +3901 -0
  70. package/dist/{chunk-XIYNIHGQ.js → chunk-Q5IJYX7X.js} +2 -2
  71. package/dist/{chunk-GQVTTWZF.js → chunk-QDK7XCOB.js} +1 -1
  72. package/dist/{chunk-5I74DQPC.js → chunk-QP4UWICL.js} +3 -3
  73. package/dist/{chunk-UMCU32QC.js → chunk-QYQY5ACN.js} +1 -1
  74. package/dist/{chunk-F2K72QNO.js → chunk-RFQ6BIRL.js} +1 -1
  75. package/dist/{chunk-OU6YITCR.js → chunk-TDF2O2RM.js} +2 -2
  76. package/dist/{chunk-ISZK5IJM.js → chunk-TOC6E65N.js} +1 -1
  77. package/dist/{chunk-MMJ3L4XQ.js → chunk-TTFHBTXQ.js} +1 -1
  78. package/dist/{chunk-UBOBOWWB.js → chunk-TUVNQA5B.js} +3 -3
  79. package/dist/{chunk-W2LGJSEN.js → chunk-UIOZIIB7.js} +33 -3
  80. package/dist/{chunk-ZSO7UVC5.js → chunk-UUFY6A7I.js} +354 -82
  81. package/dist/{chunk-JTTWK6IM.js → chunk-VFLBOKDI.js} +3 -3
  82. package/dist/{chunk-TXJKDBUB.js → chunk-WAG4AX5C.js} +1 -1
  83. package/dist/{chunk-HBPFY3KU.js → chunk-XV7ZNBVY.js} +3 -3
  84. package/dist/{chunk-UUG3DETI.js → chunk-ZFBET3PD.js} +1 -1
  85. package/dist/{clean-2W5OGTMI.js → clean-BOYUTBAU.js} +18 -18
  86. package/dist/cli.js +54 -54
  87. package/dist/{cloud-AJK5OLJM.js → cloud-3O2MEZO4.js} +4 -4
  88. package/dist/{cloudrun-HAAYNZWP.js → cloudrun-MCTN22O6.js} +4 -4
  89. package/dist/{compare-KRY3JTXM.js → compare-A57RHCPB.js} +28 -28
  90. package/dist/{compiler-47QXFQF4.js → compiler-LVNWLZCX.js} +3 -3
  91. package/dist/{component-XQR75LCM.js → component-MIJC3LWO.js} +3 -3
  92. package/dist/{compositions-QJZQZJFB.js → compositions-OUNZAEC3.js} +13 -13
  93. package/dist/{delete-PPOMPFZG.js → delete-X6Q3S3SL.js} +3 -3
  94. package/dist/{deploy-IKVAHO42.js → deploy-XXMIXGUF.js} +1 -1
  95. package/dist/{dist-JBRYL3MH.js → dist-2UO4RVFN.js} +4 -2
  96. package/dist/{dist-XPD7X6JB.js → dist-ONHJ6ZDA.js} +1 -1
  97. package/dist/{doctor-TM2B4PLJ.js → doctor-ASSDEPCO.js} +14 -14
  98. package/dist/{events-UFQAFJ7A.js → events-4ULC5VUK.js} +5 -5
  99. package/dist/{events-QERYXJVB.js → events-DVWSV3TQ.js} +6 -6
  100. package/dist/{feedback-X6GA5Z2Y.js → feedback-OB3NJPNF.js} +9 -9
  101. package/dist/{ffmpeg-G6RMIP5K.js → ffmpeg-JH3JXES2.js} +7 -7
  102. package/dist/{figma-WAM4RJUC.js → figma-GV4OGXC2.js} +3 -3
  103. package/dist/fontLocalizeCli.js +9 -9
  104. package/dist/{get-7TO44JK3.js → get-FLMCUJGR.js} +3 -3
  105. package/dist/{gpuPolicy-IMLRNUEJ.js → gpuPolicy-RZ2OUY4M.js} +7 -7
  106. package/dist/{grade-compare-TCUAQKW4.js → grade-compare-O62JAOA7.js} +29 -29
  107. package/dist/{help-GSPNIWE2.js → help-6POZ4GNV.js} +1 -1
  108. package/dist/{history-SFC4KDFT.js → history-72ZIF5WR.js} +9 -9
  109. package/dist/hyperframe.manifest.json +1 -1
  110. package/dist/hyperframe.runtime.iife.js +65 -62
  111. package/dist/hyperframes-player.global.js +3 -3
  112. package/dist/{info-YBSWR4VE.js → info-GGIFZ5CT.js} +10 -10
  113. package/dist/{init-RJCZWSTH.js → init-QYRN6HG2.js} +29 -29
  114. package/dist/{inspect-R6C5Q7WI.js → inspect-KSL4YVIU.js} +29 -29
  115. package/dist/{installer-BJQSDYHE.js → installer-ENQCLSJQ.js} +4 -4
  116. package/dist/{keyframes-UJOV3QTF.js → keyframes-6PNLGKOO.js} +9 -9
  117. package/dist/{lambda-645URVF4.js → lambda-3RFOOJV6.js} +6 -6
  118. package/dist/{layout-MPGHNIY6.js → layout-3XFC6N3L.js} +29 -29
  119. package/dist/{lint-BWYP7H5P.js → lint-5XGLCTV5.js} +10 -10
  120. package/dist/{lintProject-Q4ZVEF3G.js → lintProject-FKPKSU6M.js} +1 -1
  121. package/dist/{list-YBOALPIY.js → list-B76BTLOM.js} +3 -3
  122. package/dist/{login-Z3JYXJKB.js → login-MNXS7GEL.js} +4 -4
  123. package/dist/{manager-COSJVRAE.js → manager-BWU4U7DV.js} +3 -3
  124. package/dist/{manager-CCRWUMQO.js → manager-QZZVJV7Z.js} +8 -8
  125. package/dist/{media-treatment-4P54XYM7.js → media-treatment-J3OWRCBF.js} +15 -15
  126. package/dist/{models-3LIZKQPH.js → models-MCDUTV54.js} +11 -11
  127. package/dist/{motionShot-22NRFNLM.js → motionShot-RWEH3VWI.js} +16 -16
  128. package/dist/{normalize-audio-C6JTJBZE.js → normalize-audio-N7VRZODX.js} +7 -7
  129. package/dist/{open-5KOE2UWD.js → open-ROUFAVKD.js} +14 -14
  130. package/dist/{parakeetRunner-67JLWWPE.js → parakeetRunner-PTVV5M44.js} +12 -12
  131. package/dist/{pipeline-QZQRLXSV.js → pipeline-HN5KMORF.js} +8 -8
  132. package/dist/{play-ID4KS6LH.js → play-AO7AF4Y4.js} +20 -20
  133. package/dist/{preflight-DVW7XWEO.js → preflight-ARNDDFGX.js} +10 -10
  134. package/dist/{present-CDJCTLFJ.js → present-FBPKUC5R.js} +16 -16
  135. package/dist/{preview-KDMHWG3L.js → preview-35X5G426.js} +20 -20
  136. package/dist/{producer-QPUWC6S3.js → producer-FVGPLR5E.js} +1 -1
  137. package/dist/{projectConfig-VMVZXMC6.js → projectConfig-SRUJLOHL.js} +6 -6
  138. package/dist/{publication-VBXDWVC7.js → publication-XH2BRL3V.js} +2 -2
  139. package/dist/{publish-XDNOVFIZ.js → publish-RI4ZQZNT.js} +8 -8
  140. package/dist/{remove-background-OQUEVC4I.js → remove-background-J22P5JFW.js} +9 -9
  141. package/dist/{render-L5DUPSDJ.js → render-2EZQT4IS.js} +16 -16
  142. package/dist/{render-MMEZAOL7.js → render-IJUKJILU.js} +123 -42
  143. package/dist/{render-2MVVITHT.js → render-UXYZN6D2.js} +5 -5
  144. package/dist/{render-batch-EZRFUUHG.js → render-batch-X34UZ442.js} +5 -5
  145. package/dist/renderSetupWorker.js +4 -4
  146. package/dist/{resolver-E6OFNCLG.js → resolver-UUEIRLMY.js} +4 -4
  147. package/dist/{sherpa-MQUVKCRX.js → sherpa-FI4VNAFT.js} +11 -11
  148. package/dist/skills/media-use/references/mixing.md +1 -0
  149. package/dist/{skills-Y7AATMSQ.js → skills-LGKXQFW7.js} +8 -8
  150. package/dist/{skillsUpdateCheck-K7DSQJGU.js → skillsUpdateCheck-NDPKSX3H.js} +4 -4
  151. package/dist/{snapshot-DZWLAQAW.js → snapshot-JM6427YW.js} +33 -33
  152. package/dist/{src-RRTSNZLM.js → src-26NBARTO.js} +8 -8
  153. package/dist/{src-7FSQZKIY.js → src-WEECPY6E.js} +6 -6
  154. package/dist/{staticProjectServer-J2IXFINI.js → staticProjectServer-I5WGMJOV.js} +14 -14
  155. package/dist/{status-H5WLKQDS.js → status-SCCC7A6N.js} +2 -2
  156. package/dist/studio/assets/{hyperframes-player-DDoxfTBd.js → hyperframes-player-LmRUJE8q.js} +1 -1
  157. package/dist/studio/assets/{index-BAKWbo0z.js → index-BmTWk8xf.js} +108 -108
  158. package/dist/studio/assets/{index-D9WoRF2S.js → index-CKNiEwbW.js} +1 -1
  159. package/dist/studio/index.html +1 -1
  160. package/dist/{studio-api-7BNDWZG5.js → studio-api-N774Q4NO.js} +7 -7
  161. package/dist/{studioServer-FBRUE3XK.js → studioServer-KZIM5UBJ.js} +49 -49
  162. package/dist/{system-7F3UEHQT.js → system-HV7PYIXE.js} +4 -3
  163. package/dist/{telemetry-4K6CPMNT.js → telemetry-IHU4HL3R.js} +1 -1
  164. package/dist/{telemetry-OOQVUJGL.js → telemetry-JIETM7WP.js} +6 -6
  165. package/dist/{timeline-U6MIU6JP.js → timeline-JJ6JG7GQ.js} +18 -18
  166. package/dist/{tokens-3ZPX6WKB.js → tokens-VOIMSCGX.js} +2 -2
  167. package/dist/{transcribe-QDBXRADM.js → transcribe-2V23EQHD.js} +18 -18
  168. package/dist/{transcribe-VPGQV5TG.js → transcribe-7BDHDQVP.js} +10 -10
  169. package/dist/{updateCheck-MN3QTSGM.js → updateCheck-7B7L3UWO.js} +3 -3
  170. package/dist/{upgrade-4FVRTMU5.js → upgrade-TUA2QZTY.js} +3 -3
  171. package/dist/{urlDownloader-UTVBU5IQ.js → urlDownloader-CGV6EYL7.js} +6 -6
  172. package/dist/{validate-NN43T4XX.js → validate-JLCXEI2U.js} +23 -23
  173. package/dist/{video-VQ67QXES.js → video-TI3EOA2D.js} +7 -7
  174. package/dist/warmCheck.js +36 -36
  175. package/package.json +1 -1
  176. package/dist/chunk-UYBXHV7R.js +0 -3901
@@ -39,7 +39,7 @@ import {
39
39
  stripEmbeddedRuntimeScripts,
40
40
  styleElementsFor,
41
41
  warnUnknownEnumValues
42
- } from "./chunk-UYBXHV7R.js";
42
+ } from "./chunk-PW22CDII.js";
43
43
  import {
44
44
  cssVariableName
45
45
  } from "./chunk-VC76R6W2.js";
@@ -49,7 +49,7 @@ import {
49
49
  } from "./chunk-OFQWTKPW.js";
50
50
  import {
51
51
  lintHyperframeHtml
52
- } from "./chunk-YUODO5H2.js";
52
+ } from "./chunk-IC6BO4GU.js";
53
53
  import {
54
54
  checkSubCompositionUsability,
55
55
  resolveSubCompositionContent
@@ -1604,13 +1604,59 @@ function rewriteSvgIdReferencesInCss(css, idMap, references = []) {
1604
1604
  }
1605
1605
 
1606
1606
  // ../core/dist/compiler/inlineSubCompositions.js
1607
- var SIDE_EFFECT_RE = /\b(addEventListener|requestAnimationFrame|requestIdleCallback|setTimeout|setInterval|queueMicrotask|getContext|WebGL\w*|WebGPU\w*|gpu|Worker|WebSocket|EventSource|Audio\w*|\w*Observer|fetch|import|eval|Function|Promise|async|await|delayedCall|ScrollTrigger|Draggable|anime|customElements|registerProperty|addListener|BroadcastChannel|pushState|replaceState|adoptedStyleSheets|documentElement|getElementsByTagName|lottie|THREE|__hf[A-Z]\w*)\b|\.then\s*\(|\.animate\s*\(|\.ticker\b|repeat\s*:\s*-1|\.repeat\s*\(\s*-1|defineProperty\s*\(\s*(window|globalThis|self|document)\b|\bfonts\s*\.\s*add\b|\.on[a-z]+\s*=(?!=)|\bon(resize|scroll|message|key\w+|click|pointer\w+|mouse\w+|wheel|visibilitychange|hashchange|popstate|error|load)\s*=(?!=)|\[\s*["']on[a-z]+["']\s*\]|document\s*\.\s*(head|body)\b|querySelector(All)?\(\s*["'](head|body)["']|\bgsap\s*\.\s*(?:to|from|fromTo)\s*\(|\bgsap\s*\.\s*timeline\s*\((?:[^()]|\([^()]*\))*\)\s*\.\s*(?:to|from|fromTo|set|add|call)\s*\(/;
1607
+ var SIDE_EFFECT_RE = /\b(addEventListener|requestAnimationFrame|requestIdleCallback|setTimeout|setInterval|queueMicrotask|getContext|WebGL\w*|WebGPU\w*|gpu|Worker|WebSocket|EventSource|Audio\w*|\w*Observer|fetch|import|eval|Function|Promise|async|await|delayedCall|ScrollTrigger|Draggable|anime|customElements|registerProperty|addListener|BroadcastChannel|pushState|replaceState|adoptedStyleSheets|documentElement|getElementsByTagName|lottie|THREE|__hf[A-Z]\w*)\b|\.then\s*\(|\.ticker\b|repeat\s*:\s*-1|\.repeat\s*\(\s*-1|defineProperty\s*\(\s*(window|globalThis|self|document)\b|\bfonts\s*\.\s*add\b|\.on[a-z]+\s*=(?!=)|\bon(resize|scroll|message|key\w+|click|pointer\w+|mouse\w+|wheel|visibilitychange|hashchange|popstate|error|load)\s*=(?!=)|\[\s*["']on[a-z]+["']\s*\]|document\s*\.\s*(head|body)\b|querySelector(All)?\(\s*["'](head|body)["']|\bgsap\s*\.\s*(?:to|from|fromTo)\s*\(|\bgsap\s*\.\s*timeline\s*\((?:[^()]|\([^()]*\))*\)\s*\.\s*(?:to|from|fromTo|set|add|call)\s*\(/;
1608
1608
  var SWAP_SAFE_LIBRARY_URL = /^https:\/\/(cdn\.jsdelivr\.net\/npm|unpkg\.com)\/(gsap|three|d3|d3-[a-z-]+|topojson-client|clipper-lib)(@[^/]+)?\//;
1609
1609
  var isSwapSafeLibrary = (src) => URL.canParse(src) && SWAP_SAFE_LIBRARY_URL.test(new URL(src).href);
1610
- function sceneScriptSwapRefusal(script) {
1611
- const match = SIDE_EFFECT_RE.exec(script);
1612
- return match ? `its script uses ${match[0].trim()}` : null;
1610
+ var GSAP_BANNER_RE = /^\s*\/\*!\s*\*\s*GSAP \d+\.\d+\.\d+\s*\*\s*https:\/\/gsap\.com\b/;
1611
+ var isLibraryCopy = (script) => GSAP_BANNER_RE.test(script);
1612
+ var STRING_ARG = String.raw`(?:"(?:\\.|[^"\\\n])*"|'(?:\\.|[^'\\\n])*')`;
1613
+ var FONT_LOAD = String.raw`document\s*\.\s*fonts\s*\.\s*load\s*\(\s*${STRING_ARG}\s*(?:,\s*${STRING_ARG}\s*)?\)`;
1614
+ var FONT_PROMISE = String.raw`(?:document\s*\.\s*fonts\s*\.\s*ready\b|${FONT_LOAD}|Promise\s*\.\s*all\s*\(\s*\[\s*${FONT_LOAD}(?:\s*,\s*${FONT_LOAD})*\s*,?\s*\]\s*\))`;
1615
+ var FONT_WAIT_RE = new RegExp(String.raw`\b${FONT_PROMISE}\s*\.\s*then\s*\(|\bawait\s+${FONT_PROMISE}`, "g");
1616
+ var TEXT_MEASURE_CANVAS_RE = /\bdocument\s*\.\s*createElement\s*\(\s*(["'])canvas\1\s*\)\s*\.\s*getContext\s*\(\s*(["'])2d\2\s*\)/g;
1617
+ var REGISTERED_CHAIN_RE = /(\b(?:window\s*\.\s*)?__timelines\s*\[[^[\]]*\]\s*=\s*)gsap\s*\.\s*timeline\s*\(/g;
1618
+ function lastingAnimateCall(script) {
1619
+ for (const call of script.matchAll(/\.animate\s*\(/g)) {
1620
+ if (topLevelArgs(script, call.index + call[0].length) !== 1)
1621
+ return true;
1622
+ }
1623
+ return false;
1613
1624
  }
1625
+ function topLevelArgs(script, from) {
1626
+ let depth = 0;
1627
+ let args = 1;
1628
+ if (/^\s*(\.\.\.|\))/.test(script.slice(from)))
1629
+ return Number.POSITIVE_INFINITY;
1630
+ for (let i = from; i < script.length; i++) {
1631
+ const ch = script[i];
1632
+ if (ch === '"' || ch === "'" || ch === "`") {
1633
+ const end = script.indexOf(ch, i + 1);
1634
+ if (end < 0)
1635
+ return Number.POSITIVE_INFINITY;
1636
+ i = end;
1637
+ } else if ("([{".includes(ch))
1638
+ depth++;
1639
+ else if (")]}".includes(ch)) {
1640
+ if (depth === 0)
1641
+ return args;
1642
+ depth--;
1643
+ } else if (ch === "," && depth === 0)
1644
+ args++;
1645
+ }
1646
+ return Number.POSITIVE_INFINITY;
1647
+ }
1648
+ function sceneScriptSwapRefusal(script) {
1649
+ const withoutFontWaits = script.replace(FONT_WAIT_RE, "");
1650
+ const awaitedFontsOnly = /\bawait\b/.test(script) && !/\bawait\b/.test(withoutFontWaits);
1651
+ let checked = (awaitedFontsOnly ? withoutFontWaits.replace(/\basync\b/g, "") : withoutFontWaits).replace(REGISTERED_CHAIN_RE, "$1(");
1652
+ if (!/\.\s*canvas\b/.test(checked))
1653
+ checked = checked.replace(TEXT_MEASURE_CANVAS_RE, "");
1654
+ const match = SIDE_EFFECT_RE.exec(checked);
1655
+ if (match)
1656
+ return `its script uses ${match[0].trim()}`;
1657
+ return lastingAnimateCall(checked) ? "its script uses .animate(" : null;
1658
+ }
1659
+ var projectScriptRefusal = (text) => text === null ? "it runs a script that is not a known library" : isLibraryCopy(text) ? null : sceneScriptSwapRefusal(text);
1614
1660
  var STRING_LITERAL_RE = /(["'`])((?:\\.|(?!\1)[^\\\n])*?)\1/g;
1615
1661
  var CREATES_ELEMENT_RE = /createElement\s*\(\s*$|createElementNS\s*\([^()]*,\s*$/;
1616
1662
  var isNotASelector = (script, at, literal) => CREATES_ELEMENT_RE.test(script.slice(Math.max(0, at - 60), at)) || literal.trim() === "*" && /,\s*$/.test(script.slice(Math.max(0, at - 20), at));
@@ -1670,7 +1716,7 @@ function defaultBuildScopeSelector(compId) {
1670
1716
  return `[data-composition-id="${escaped}"]`;
1671
1717
  }
1672
1718
  function inlineSubCompositions(document, hosts, options) {
1673
- const { resolveHtml, parseHtml, hostIdentityMap, rewriteInlineStyles = false, flattenInnerRoot, compoundAuthoredRoot, readVariableDefaults, parseHostVariables, buildScopeSelector = defaultBuildScopeSelector, scriptErrorLabel = "[HyperFrames] composition script error:", onMissingComposition, assetExists, tagScenes = false } = options;
1719
+ const { resolveHtml, parseHtml, hostIdentityMap, rewriteInlineStyles = false, flattenInnerRoot, compoundAuthoredRoot, readVariableDefaults, parseHostVariables, buildScopeSelector = defaultBuildScopeSelector, scriptErrorLabel = "[HyperFrames] composition script error:", onMissingComposition, assetExists, tagScenes = false, readProjectScript } = options;
1674
1720
  const rootStyles = [...document.querySelectorAll("style")];
1675
1721
  const styles = [];
1676
1722
  const styleScenes = [];
@@ -1820,7 +1866,7 @@ function inlineSubCompositions(document, hosts, options) {
1820
1866
  for (const scriptEl of plan.scriptSources) {
1821
1867
  const externalSrc = resolveSubAssetPath(scriptEl.getAttribute("src"));
1822
1868
  const type = (scriptEl.getAttribute("type") || "").trim().toLowerCase();
1823
- refuseSwap(() => type === "importmap" || type === "module" ? "it runs a module script or import map" : !externalSrc ? sceneScriptSwapRefusal(scriptEl.textContent || "") : isSwapSafeLibrary(externalSrc) ? null : "it runs a script that is not a known library");
1869
+ refuseSwap(() => type === "importmap" || type === "module" ? "it runs a module script or import map" : !externalSrc ? sceneScriptSwapRefusal(scriptEl.textContent || "") : isSwapSafeLibrary(externalSrc) ? null : projectScriptRefusal(readProjectScript?.(externalSrc) ?? null));
1824
1870
  if (type === "importmap") {
1825
1871
  const map = parseImportMap(scriptEl.textContent || "", (url) => {
1826
1872
  const authored = url.trim();
@@ -3016,7 +3062,8 @@ async function bundleProject(projectDir, options) {
3016
3062
  ].map((el) => {
3017
3063
  const src = el.getAttribute("src");
3018
3064
  const path = src && isRelativeUrl(src) ? resolveEntryUrl(src) : null;
3019
- return src ? path && safeReadFile(path) || "" : el.textContent || "";
3065
+ const text = src ? path && safeReadFile(path) || "" : el.textContent || "";
3066
+ return isLibraryCopy(text) ? "" : text;
3020
3067
  }) : [];
3021
3068
  const trackedCompositionHosts = getBundledTrackedCompositionHosts(document);
3022
3069
  const hostIdentityByElement = assignBundledRuntimeCompositionIds(trackedCompositionHosts);
@@ -3053,6 +3100,10 @@ async function bundleProject(projectDir, options) {
3053
3100
  },
3054
3101
  flattenInnerRoot: prepareFlattenedInnerRoot,
3055
3102
  tagScenes: options?.sceneParts === true,
3103
+ readProjectScript: (path) => {
3104
+ const resolved = isRelativeUrl(path) ? resolveEntryUrl(path) : null;
3105
+ return resolved ? safeReadFile(resolved) : null;
3106
+ },
3056
3107
  readVariableDefaults: readDeclaredDefaults,
3057
3108
  parseHostVariables: parseHostVariableValues,
3058
3109
  buildScopeSelector: (compId) => cssAttributeSelector("data-composition-id", compId),
@@ -3072,6 +3123,10 @@ async function bundleProject(projectDir, options) {
3072
3123
  ...subCompResult.variablesByComp
3073
3124
  };
3074
3125
  const seenCompScriptSrcs = /* @__PURE__ */ new Set();
3126
+ const scenesBySrc = /* @__PURE__ */ new Map();
3127
+ for (const item of subCompResult.scriptItems)
3128
+ if (item.kind !== "inline")
3129
+ scenesBySrc.set(item.src, (scenesBySrc.get(item.src) ?? /* @__PURE__ */ new Set()).add(item.scene));
3075
3130
  for (const scriptItem of subCompResult.scriptItems) {
3076
3131
  if (scriptItem.kind === "inline") {
3077
3132
  pushRun(scriptRuns, scriptItem.scene, scriptItem.content);
@@ -3086,12 +3141,13 @@ async function bundleProject(projectDir, options) {
3086
3141
  if (seenCompScriptSrcs.has(extSrc))
3087
3142
  continue;
3088
3143
  seenCompScriptSrcs.add(extSrc);
3144
+ const scene = (scenesBySrc.get(extSrc)?.size ?? 0) > 1 ? void 0 : scriptItem.scene;
3089
3145
  if (isRelativeUrl(extSrc) && scriptItem.type !== "module") {
3090
3146
  const jsPath = resolveEntryUrl(extSrc);
3091
3147
  const js = jsPath ? safeReadFile(jsPath) : null;
3092
3148
  if (js != null) {
3093
3149
  const chunk = () => preserveLocalScriptIntegrity(document, extSrc, resolveEntryUrl) ? "" : js;
3094
- pushRun(scriptRuns, scriptItem.scene, chunk);
3150
+ pushRun(scriptRuns, scene, chunk);
3095
3151
  continue;
3096
3152
  }
3097
3153
  }
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-ZSO7UVC5.js";
10
+ } from "./chunk-UUFY6A7I.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-7FSQZKIY.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-WEECPY6E.js");
21
21
  return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
22
22
  }
23
23
  function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
@@ -11,13 +11,13 @@ import {
11
11
  readConfig,
12
12
  readConfigFresh,
13
13
  writeConfig
14
- } from "./chunk-6NLPPKBO.js";
14
+ } from "./chunk-PSX5SF2N.js";
15
15
  import {
16
16
  isDevMode
17
17
  } from "./chunk-ISN5GRYI.js";
18
18
  import {
19
19
  VERSION
20
- } from "./chunk-O2SA7HOG.js";
20
+ } from "./chunk-KPUTRG54.js";
21
21
 
22
22
  // src/utils/updateCheck.ts
23
23
  import { existsSync, readFileSync } from "fs";
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-AWDFDFI3.js";
18
18
  import {
19
19
  isBlockedNetworkHost
20
- } from "./chunk-ZSO7UVC5.js";
20
+ } from "./chunk-UUFY6A7I.js";
21
21
  import {
22
22
  DOMParser,
23
23
  parseHTML
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-6BTMNV3R.js";
15
+ } from "./chunk-BERGVZKN.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -14,24 +14,24 @@ import {
14
14
  } from "./chunk-6JR2XUEE.js";
15
15
  import {
16
16
  readCompositionFps
17
- } from "./chunk-TXJKDBUB.js";
17
+ } from "./chunk-WAG4AX5C.js";
18
18
  import {
19
19
  HF_AUDIO_GROUP_ATTR,
20
20
  extractAudioMetadata,
21
21
  extractMediaMetadata
22
- } from "./chunk-ZSO7UVC5.js";
22
+ } from "./chunk-UUFY6A7I.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
26
26
  parseFpsWithDefault
27
- } from "./chunk-YEVU5W5G.js";
27
+ } from "./chunk-G7RKSAKS.js";
28
28
  import {
29
29
  HF_AUDIO_AUTOMATION_ATTR,
30
30
  HF_AUDIO_FX_ATTR,
31
31
  parseAudioFxChain,
32
32
  parseAutomation,
33
33
  resolveAutomation
34
- } from "./chunk-UYBXHV7R.js";
34
+ } from "./chunk-PW22CDII.js";
35
35
  import {
36
36
  isSubCompositionHost,
37
37
  topLevelElements,
@@ -40,7 +40,7 @@ import {
40
40
  import {
41
41
  resolveReferencedDuration,
42
42
  resolveReferencedStart
43
- } from "./chunk-YUODO5H2.js";
43
+ } from "./chunk-IC6BO4GU.js";
44
44
  import {
45
45
  resolveAuthoredAssetFile
46
46
  } from "./chunk-6BNTGNGD.js";
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-2ST4WAFY.js";
13
13
  import {
14
14
  createProjectConfig
15
- } from "./chunk-HVF7K2T3.js";
15
+ } from "./chunk-4VZAIVZQ.js";
16
16
  import {
17
17
  isHyperframesProject
18
- } from "./chunk-YEVU5W5G.js";
18
+ } from "./chunk-G7RKSAKS.js";
19
19
 
20
20
  // src/utils/desktopApp.ts
21
21
  import { spawn, spawnSync } from "child_process";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-5ETJX6WM.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-JTTWK6IM.js";
19
+ } from "./chunk-VFLBOKDI.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -29,24 +29,26 @@ import {
29
29
  } from "./chunk-ZTZA4UWZ.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-ZSO7UVC5.js";
32
+ } from "./chunk-UUFY6A7I.js";
33
33
  import {
34
- getAvailableMemoryMb,
35
34
  getFreeDiskMb,
36
35
  getShmSizeMb,
37
36
  getSystemMeta
38
- } from "./chunk-T6AGUTZJ.js";
37
+ } from "./chunk-BQA3X7TI.js";
38
+ import {
39
+ getAvailableMemoryMb
40
+ } from "./chunk-UIOZIIB7.js";
39
41
  import {
40
42
  getUpdateMeta,
41
43
  withMeta
42
- } from "./chunk-WA6HZFDD.js";
44
+ } from "./chunk-3YGSZSEN.js";
43
45
  import {
44
46
  CONFIG_PATH,
45
47
  withFileLock
46
- } from "./chunk-6NLPPKBO.js";
48
+ } from "./chunk-PSX5SF2N.js";
47
49
  import {
48
50
  VERSION
49
- } from "./chunk-O2SA7HOG.js";
51
+ } from "./chunk-KPUTRG54.js";
50
52
  import {
51
53
  normalizeErrorMessage
52
54
  } from "./chunk-T2EUWCJE.js";
@@ -232,7 +234,7 @@ function checkEnvironment() {
232
234
  return { ok: true, detail: parts.join(" \xB7 ") };
233
235
  }
234
236
  async function checkWhisper() {
235
- const { findWhisper, getInstallInstructions } = await import("./manager-CCRWUMQO.js");
237
+ const { findWhisper, getInstallInstructions } = await import("./manager-QZZVJV7Z.js");
236
238
  const result = findWhisper();
237
239
  if (result) {
238
240
  return { ok: true, detail: result.executablePath };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  detectGpuEncoder
9
- } from "./chunk-ZSO7UVC5.js";
9
+ } from "./chunk-UUFY6A7I.js";
10
10
  import {
11
11
  runCancellableProcess
12
12
  } from "./chunk-BL4U6U52.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-VAS6HQX3.js";
16
16
  import {
17
17
  detectWsl
18
- } from "./chunk-W2LGJSEN.js";
18
+ } from "./chunk-UIOZIIB7.js";
19
19
 
20
20
  // src/browser/linuxDeps.ts
21
21
  import { execFileSync } 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-6NSH5EAO.js";
9
+ } from "./chunk-HN6TP4D2.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-FCY375PD.js";
15
+ } from "./chunk-HBRPELT6.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-GJA6QSSQ.js";
19
+ } from "./chunk-ACH5ZR7X.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-4WDOTQDY.js";
23
+ } from "./chunk-FZ3R5XOH.js";
24
24
  import {
25
25
  DEFAULT_MODEL,
26
26
  findWhisper,
27
27
  isWhisperUnavailable
28
- } from "./chunk-O2CO6QNK.js";
28
+ } from "./chunk-I4VEFPZE.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
  withOwner
9
- } from "./chunk-ISZK5IJM.js";
9
+ } from "./chunk-TOC6E65N.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
@@ -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-WA6HZFDD.js";
9
+ } from "./chunk-3YGSZSEN.js";
10
10
  import {
11
11
  hostAnswers
12
12
  } from "./chunk-K4WIOZFP.js";
@@ -14,7 +14,7 @@ import {
14
14
  readConfig,
15
15
  readConfigFresh,
16
16
  writeConfig
17
- } from "./chunk-6NLPPKBO.js";
17
+ } from "./chunk-PSX5SF2N.js";
18
18
 
19
19
  // src/utils/skillsManifest.ts
20
20
  import { execFile } from "child_process";
@@ -11,7 +11,7 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-6BTMNV3R.js";
14
+ } from "./chunk-BERGVZKN.js";
15
15
 
16
16
  // src/registry/resolver.ts
17
17
  function defaultWarn(message) {
@@ -8,7 +8,7 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-5I74DQPC.js";
11
+ } from "./chunk-QP4UWICL.js";
12
12
  import {
13
13
  CliRuntimeError
14
14
  } from "./chunk-JVBRJMOP.js";
@@ -17,10 +17,10 @@ import {
17
17
  } from "./chunk-634HSJ3J.js";
18
18
  import {
19
19
  getPowerState
20
- } from "./chunk-T6AGUTZJ.js";
20
+ } from "./chunk-BQA3X7TI.js";
21
21
  import {
22
22
  readConfig
23
- } from "./chunk-6NLPPKBO.js";
23
+ } from "./chunk-PSX5SF2N.js";
24
24
 
25
25
  // src/utils/feedbackRating.ts
26
26
  var FEEDBACK_RATING_SCALE = 10;
@@ -292,10 +292,12 @@ function trackRenderComplete(props) {
292
292
  props.deFallbackThresholdDb,
293
293
  props.captureDeFallbackThresholdDb
294
294
  ),
295
+ de_router_breaker_off: props.deRouterBreakerOff,
295
296
  de_blank_suspects: props.deBlankSuspects,
296
297
  de_blank_deterministic_accepts: props.deBlankDeterministicAccepts,
297
298
  de_blank_recaptures: props.deBlankRecaptures,
298
299
  de_boundary_frames: props.deBoundaryFrames,
300
+ de_risk_frames: props.deRiskFrames,
299
301
  de_ncpr_fallbacks: props.deNcprFallbacks,
300
302
  de_frame_timeouts: props.deFrameTimeouts,
301
303
  ...powerStateFields(),
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  stoppedByCancelSignal
9
- } from "./chunk-4WDOTQDY.js";
9
+ } from "./chunk-FZ3R5XOH.js";
10
10
  import {
11
11
  DEFAULT_MODEL,
12
12
  ensureModel,
@@ -14,12 +14,12 @@ import {
14
14
  hasFFmpeg,
15
15
  pinnedWhisperModel,
16
16
  sha256File
17
- } from "./chunk-O2CO6QNK.js";
17
+ } from "./chunk-I4VEFPZE.js";
18
18
  import {
19
19
  findFFmpeg,
20
20
  findFFprobe,
21
21
  getFFmpegInstallHint
22
- } from "./chunk-4V2OO56A.js";
22
+ } from "./chunk-63S4VUOL.js";
23
23
  import {
24
24
  findWavChunk
25
25
  } from "./chunk-UOFAE5RF.js";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-GMECXFAN.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-YEVU5W5G.js";
30
+ } from "./chunk-G7RKSAKS.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-K2FLNJVB.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-WY67Q2QY.js";
12
+ } from "./chunk-7WV27W7R.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-JVBRJMOP.js";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  detectWsl,
9
9
  getSystemTotalMb
10
- } from "./chunk-W2LGJSEN.js";
10
+ } from "./chunk-UIOZIIB7.js";
11
11
 
12
12
  // src/telemetry/system.ts
13
- import { cpus, freemem, platform as platform2, release as release2 } from "os";
13
+ import { cpus, platform as platform2, release as release2 } from "os";
14
14
  import { existsSync as existsSync2, readFileSync as readFileSync2, statfsSync } from "fs";
15
15
  import { execSync } from "child_process";
16
16
 
@@ -403,34 +403,6 @@ function getPowerState() {
403
403
  }
404
404
  return { on_battery, low_power_mode };
405
405
  }
406
- function getAvailableMemoryMb() {
407
- const fallback = bytesToMb(freemem());
408
- if (platform2() === "darwin") {
409
- try {
410
- const raw = execSync("vm_stat", { encoding: "utf-8", timeout: 5e3 });
411
- const pageSize = parseInt(raw.match(/page size of (\d+)/)?.[1] ?? "0", 10);
412
- if (!pageSize) return fallback;
413
- const pages = (key) => parseInt(raw.match(new RegExp(`${key}:\\s+(\\d+)`))?.[1] ?? "0", 10);
414
- const available = (pages("Pages free") + pages("Pages inactive") + pages("Pages purgeable") + pages("Pages speculative")) * pageSize;
415
- return available > 0 ? bytesToMb(available) : fallback;
416
- } catch {
417
- return fallback;
418
- }
419
- }
420
- if (platform2() === "linux") {
421
- try {
422
- const meminfo = readFileSync2("/proc/meminfo", "utf-8");
423
- const match = meminfo.match(/MemAvailable:\s+(\d+)\s+kB/);
424
- if (match) {
425
- return Math.trunc(parseInt(match[1], 10) / 1024);
426
- }
427
- return fallback;
428
- } catch {
429
- return fallback;
430
- }
431
- }
432
- return fallback;
433
- }
434
406
 
435
407
  export {
436
408
  detectAgentRuntime,
@@ -439,6 +411,5 @@ export {
439
411
  getShmSizeMb,
440
412
  getFreeDiskMb,
441
413
  parsePmsetPowerSource,
442
- getPowerState,
443
- getAvailableMemoryMb
414
+ getPowerState
444
415
  };
@@ -6,23 +6,23 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-DZWTK3HJ.js";
9
+ } from "./chunk-BIZPUWBG.js";
10
10
  import {
11
11
  installPageFunctionGuard,
12
12
  resolveCliChromeGpuMode,
13
13
  seekCompositionTimeline,
14
14
  waitForRuntimeReady
15
- } from "./chunk-EUZB3ZV3.js";
15
+ } from "./chunk-ML4IULLQ.js";
16
16
  import {
17
17
  launchManagedBrowser,
18
18
  resolveManagedGpuMode
19
- } from "./chunk-MMJ3L4XQ.js";
19
+ } from "./chunk-TTFHBTXQ.js";
20
20
  import {
21
21
  pageNavigationTimeoutMs
22
- } from "./chunk-DFL4XSQZ.js";
22
+ } from "./chunk-I6A2B3IJ.js";
23
23
  import {
24
24
  resolveCompositionViewportFromHtml
25
- } from "./chunk-UUG3DETI.js";
25
+ } from "./chunk-ZFBET3PD.js";
26
26
  import {
27
27
  defineCommand
28
28
  } from "./chunk-S3S4TGEH.js";
@@ -35,14 +35,14 @@ import {
35
35
  } from "./chunk-ZTZA4UWZ.js";
36
36
  import {
37
37
  resolveNaturalMediaTimelineDuration
38
- } from "./chunk-UYBXHV7R.js";
38
+ } from "./chunk-PW22CDII.js";
39
39
  import {
40
40
  decodeWellFormedEscapes
41
41
  } from "./chunk-BSQ7XANM.js";
42
42
  import {
43
43
  printDeprecationNotice,
44
44
  withMeta
45
- } from "./chunk-WA6HZFDD.js";
45
+ } from "./chunk-3YGSZSEN.js";
46
46
  import {
47
47
  normalizeErrorMessage
48
48
  } from "./chunk-T2EUWCJE.js";
@@ -248,7 +248,7 @@ function extractCompositionErrorsFromLint(lintResult) {
248
248
  async function localizeRemoteAssets(html) {
249
249
  let dir;
250
250
  try {
251
- const { loadProducer } = await import("./producer-QPUWC6S3.js");
251
+ const { loadProducer } = await import("./producer-FVGPLR5E.js");
252
252
  const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
253
253
  dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
254
254
  const assetDir = dir;
@@ -269,10 +269,10 @@ async function localizeRemoteAssets(html) {
269
269
  }
270
270
  async function validateInBrowser(project, opts) {
271
271
  const projectDir = project.dir;
272
- const { bundleToSingleHtml } = await import("./compiler-47QXFQF4.js");
273
- const { ensureBrowser } = await import("./manager-COSJVRAE.js");
274
- const { serveStaticProjectHtml } = await import("./staticProjectServer-J2IXFINI.js");
275
- const { lintProject } = await import("./lintProject-Q4ZVEF3G.js");
272
+ const { bundleToSingleHtml } = await import("./compiler-LVNWLZCX.js");
273
+ const { ensureBrowser } = await import("./manager-BWU4U7DV.js");
274
+ const { serveStaticProjectHtml } = await import("./staticProjectServer-I5WGMJOV.js");
275
+ const { lintProject } = await import("./lintProject-FKPKSU6M.js");
276
276
  const lintResult = await lintProject(projectDir);
277
277
  const compositionErrors = extractCompositionErrorsFromLint(lintResult);
278
278
  const html = await bundleToSingleHtml(projectDir);
@@ -293,9 +293,9 @@ async function validateInBrowser(project, opts) {
293
293
  try {
294
294
  const browser = await ensureBrowser();
295
295
  const puppeteer = await import("puppeteer-core");
296
- const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-7FSQZKIY.js");
296
+ const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-WEECPY6E.js");
297
297
  const requestedGpuMode = resolveCliChromeGpuMode();
298
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-IMLRNUEJ.js");
298
+ const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-RZ2OUY4M.js");
299
299
  const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
300
300
  const requiresWebGpu = compositionRequiresWebGpu(html);
301
301
  const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);