hyperframes 0.8.194 → 0.8.195

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 (171) hide show
  1. package/dist/{add-47UAIWY4.js → add-NL6XABRV.js} +11 -11
  2. package/dist/{animatedGifPrep-TFSQZWK6.js → animatedGifPrep-JD4BBM2L.js} +6 -6
  3. package/dist/api.js +14 -14
  4. package/dist/{asset-AU7PZHXA.js → asset-LRRHLG4L.js} +2 -2
  5. package/dist/{assetCataloger-HC5N6WPT.js → assetCataloger-D7KGO346.js} +6 -6
  6. package/dist/{audio-7AWMZWBM.js → audio-34CZM4HF.js} +12 -12
  7. package/dist/{auth-GXH3QNDJ.js → auth-FL5ZMOXB.js} +1 -1
  8. package/dist/{autoUpdate-GVGP5O2I.js → autoUpdate-FZTJFLIH.js} +2 -2
  9. package/dist/{backgroundChecks-IUJM2Q35.js → backgroundChecks-6ZKDCQET.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-3XS2Y2Y4.js → batchRender-KDZ4F4QT.js} +3 -3
  12. package/dist/{beats-U64B4S7Z.js → beats-7PK677VR.js} +8 -8
  13. package/dist/{benchmark-2YUPAI76.js → benchmark-LO36QH5D.js} +8 -8
  14. package/dist/{browser-DBFH7KXM.js → browser-3F7NDHU2.js} +3 -3
  15. package/dist/{bundleWithLocalizedFonts-XWL7KSQJ.js → bundleWithLocalizedFonts-JL5J52L6.js} +2 -2
  16. package/dist/{capture-YWH7BPBI.js → capture-DOP3ONNZ.js} +9 -9
  17. package/dist/{capture-E4VW75NM.js → capture-JOSZZYUW.js} +2 -2
  18. package/dist/{captureCompositionFrame-IG6S2OHG.js → captureCompositionFrame-SWZ4GEJP.js} +11 -11
  19. package/dist/{catalog-LZIZLZ34.js → catalog-EZLHZMLM.js} +11 -11
  20. package/dist/{catch-up-ZVNPIACY.js → catch-up-6B7VY43I.js} +4 -4
  21. package/dist/{check-EKEOD4UM.js → check-QGELCBBF.js} +33 -33
  22. package/dist/{checkBrowser-MYH6HPHH.js → checkBrowser-A5C2AB4L.js} +28 -28
  23. package/dist/{chunk-EB3XXHNO.js → chunk-2G6JZJAV.js} +2 -2
  24. package/dist/{chunk-Q4HKC3O7.js → chunk-2HSRLKZR.js} +3 -3
  25. package/dist/{chunk-K2VXPQKC.js → chunk-2TU4OKIR.js} +173 -20
  26. package/dist/{chunk-4PIPQPCW.js → chunk-3OAFRLD3.js} +7 -7
  27. package/dist/{chunk-2AJU7PZ6.js → chunk-3PYIQLPL.js} +1 -1
  28. package/dist/{chunk-XYGULBFV.js → chunk-4R2NWLQL.js} +1 -1
  29. package/dist/{chunk-HQD7ODQB.js → chunk-636WBDXB.js} +5 -5
  30. package/dist/{chunk-EY7GKVPS.js → chunk-66Q27H72.js} +2 -2
  31. package/dist/{chunk-BK5YCT54.js → chunk-6ORTRIDW.js} +3 -3
  32. package/dist/{chunk-RUPGFW5B.js → chunk-7DFIVUOW.js} +5 -5
  33. package/dist/{chunk-F3B7CE3Q.js → chunk-7G2LQM3J.js} +13 -13
  34. package/dist/{chunk-NVVIFW3C.js → chunk-7PXVXRVX.js} +9 -9
  35. package/dist/{chunk-JU4T4VAA.js → chunk-7Y5RVQQ7.js} +3 -3
  36. package/dist/{chunk-KDEV5RIE.js → chunk-B7Y2DGU6.js} +1 -1
  37. package/dist/{chunk-MGSNFWGR.js → chunk-BBXZPDEA.js} +2 -2
  38. package/dist/{chunk-FUA22HO4.js → chunk-CCZMCX3F.js} +1 -1
  39. package/dist/{chunk-QJQTWTM7.js → chunk-D6XDOYMB.js} +1 -1
  40. package/dist/{chunk-LZ4WPR3B.js → chunk-E527A6RS.js} +1 -1
  41. package/dist/{chunk-JVTWX5G3.js → chunk-E74JMKSK.js} +26 -1
  42. package/dist/{chunk-SNECH6QA.js → chunk-ELQ2QQC5.js} +1 -1
  43. package/dist/{chunk-O2ILONGK.js → chunk-ES7KSCSO.js} +9 -9
  44. package/dist/{chunk-Y3BT27Y7.js → chunk-F4T7XYMF.js} +1 -1
  45. package/dist/{chunk-452UK7E7.js → chunk-FWDDLW2H.js} +2 -2
  46. package/dist/{chunk-MCFPMUMT.js → chunk-GJG4CTXD.js} +1 -1
  47. package/dist/{chunk-HPGQPRHY.js → chunk-GKMRLES4.js} +1 -1
  48. package/dist/{chunk-VHIBBDEI.js → chunk-GOOE33GV.js} +1 -1
  49. package/dist/{chunk-52YJKWV3.js → chunk-HJINEUHY.js} +20 -4
  50. package/dist/{chunk-M2VXARYK.js → chunk-HT33OHQL.js} +1 -1
  51. package/dist/{chunk-3OSBSUN3.js → chunk-HTLCE7M2.js} +17 -17
  52. package/dist/{chunk-DVQDBWQG.js → chunk-IA7HZ4CM.js} +3 -3
  53. package/dist/{chunk-LMIDZIW2.js → chunk-IZR7U27Z.js} +11 -11
  54. package/dist/{chunk-54PZ2EQZ.js → chunk-KJ6ZQL34.js} +1 -1
  55. package/dist/{chunk-VPON6DF2.js → chunk-KVLGJJTE.js} +5 -5
  56. package/dist/{chunk-4GMDL4N5.js → chunk-L2EBYFU7.js} +1 -1
  57. package/dist/{chunk-JXTPNUSO.js → chunk-L4BFXWHC.js} +91 -46
  58. package/dist/{chunk-RZWJJCI7.js → chunk-NKNRVPNV.js} +1 -1
  59. package/dist/{chunk-3S3CXF4W.js → chunk-NOHH25WS.js} +2 -2
  60. package/dist/{chunk-PXK3ICU6.js → chunk-OB4GJZTY.js} +1 -1
  61. package/dist/{chunk-4FVNEXSV.js → chunk-ORZMO6NY.js} +3 -3
  62. package/dist/{chunk-4VSV56F2.js → chunk-P5X5URNQ.js} +1 -1
  63. package/dist/{chunk-B3GG3HJB.js → chunk-RAACYYWX.js} +1 -1
  64. package/dist/{chunk-CEUBYYVJ.js → chunk-RZUEXJRC.js} +2 -2
  65. package/dist/{chunk-MO6RTNYD.js → chunk-SC6NILKD.js} +1 -1
  66. package/dist/{chunk-HCLBM2LQ.js → chunk-SMROKE63.js} +1 -1
  67. package/dist/{chunk-N33FO44R.js → chunk-TE6VGYHQ.js} +1 -1
  68. package/dist/{chunk-GAFEU6AB.js → chunk-VNWX5GBF.js} +8 -7
  69. package/dist/{chunk-BYADARIC.js → chunk-W4SSWOOD.js} +2 -2
  70. package/dist/{chunk-TDYKVJTU.js → chunk-W7GMPEY3.js} +31 -18
  71. package/dist/{chunk-CEZH4AQT.js → chunk-WUL5LPI2.js} +1 -1
  72. package/dist/{chunk-LOGKDQ3G.js → chunk-XC7SJ2UR.js} +3 -3
  73. package/dist/{chunk-DT3JESJ6.js → chunk-XOUWCZHD.js} +1 -1
  74. package/dist/{chunk-HG5ECUOR.js → chunk-YFTO5YD7.js} +5 -5
  75. package/dist/{chunk-PEHST4UY.js → chunk-YSXCPSJ4.js} +3 -3
  76. package/dist/{chunk-N3M3IU6S.js → chunk-YUFECVHG.js} +1 -1
  77. package/dist/{chunk-ST4SHO3S.js → chunk-ZAVUASNT.js} +1 -1
  78. package/dist/{chunk-POFJH2IS.js → chunk-ZL6ZCLY6.js} +1 -1
  79. package/dist/{chunk-37IHQVNQ.js → chunk-ZOJHEN3C.js} +1 -1
  80. package/dist/chunk-ZQRD62QZ.js +3901 -0
  81. package/dist/{clean-NS2SDRK7.js → clean-PI4JLT6O.js} +14 -14
  82. package/dist/cli.js +53 -53
  83. package/dist/{cloud-K4XQPWTY.js → cloud-SQRY723M.js} +4 -4
  84. package/dist/{cloudrun-BKOKXTXV.js → cloudrun-VMPROR43.js} +4 -4
  85. package/dist/commands/layout-audit.browser.js +1 -1
  86. package/dist/{compare-ZAV773OL.js → compare-EHX4APTP.js} +25 -25
  87. package/dist/{compiler-CWHFCE3H.js → compiler-FZCJGGBF.js} +3 -3
  88. package/dist/{component-OXA2ZWX3.js → component-I75ZKJYH.js} +3 -3
  89. package/dist/{compositions-NKRVWCPE.js → compositions-YNYYUEQD.js} +10 -10
  90. package/dist/{delete-HZ2LBCLC.js → delete-7BVTBKOC.js} +2 -2
  91. package/dist/{deploy-FNDTZFF7.js → deploy-TUEEJP3W.js} +1 -1
  92. package/dist/{dist-7OCZHNLY.js → dist-VRGIE57H.js} +1 -1
  93. package/dist/{dist-2YTN2UGY.js → dist-VVROHSP4.js} +2 -2
  94. package/dist/{doctor-6QWJGO5P.js → doctor-53DSQFW4.js} +10 -10
  95. package/dist/{events-MBKHVGXX.js → events-AD3U6E7I.js} +2 -2
  96. package/dist/{events-HTHOBIUN.js → events-M6FIUDNQ.js} +3 -3
  97. package/dist/{feedback-X5QWTLEX.js → feedback-7SQ7KKAR.js} +6 -6
  98. package/dist/{ffmpeg-7GESJCCT.js → ffmpeg-3HSSPXS4.js} +6 -6
  99. package/dist/{figma-SXOHFVJI.js → figma-B5XII2BO.js} +3 -3
  100. package/dist/fontLocalizeCli.js +8 -8
  101. package/dist/{get-T2HI5FCK.js → get-RZKNBIRD.js} +2 -2
  102. package/dist/{gpuPolicy-5FABKW5G.js → gpuPolicy-77LOK3K6.js} +6 -6
  103. package/dist/{grade-compare-JATGHA6Q.js → grade-compare-K3YB3FQA.js} +26 -26
  104. package/dist/{help-G6CIKCGS.js → help-UM6INVL5.js} +1 -1
  105. package/dist/{history-CSJUHYTD.js → history-EWKPACWR.js} +6 -6
  106. package/dist/hyperframe.manifest.json +1 -1
  107. package/dist/hyperframe.runtime.iife.js +61 -61
  108. package/dist/hyperframes-player.global.js +3 -3
  109. package/dist/{info-MTTUMW2C.js → info-KY3MFTCY.js} +7 -7
  110. package/dist/{init-LJYNI5EK.js → init-LURF2PL5.js} +26 -26
  111. package/dist/{inspect-HGDM2VJE.js → inspect-46CZJM6P.js} +26 -26
  112. package/dist/{installer-3XHURUDG.js → installer-NGFX6INI.js} +4 -4
  113. package/dist/{keyframes-MSU7N53X.js → keyframes-YCSK6POI.js} +6 -6
  114. package/dist/{lambda-2I2TIUSD.js → lambda-5KXULI2S.js} +6 -6
  115. package/dist/{layout-KWOXZMN7.js → layout-WOLH24YE.js} +26 -26
  116. package/dist/{lint-N53TLHFG.js → lint-P3P2LX6S.js} +7 -7
  117. package/dist/{lintProject-EOUZA4EG.js → lintProject-ESAJKFOX.js} +1 -1
  118. package/dist/{list-SHYPQC7U.js → list-RUYQWMF2.js} +2 -2
  119. package/dist/{login-TEB6PA3Y.js → login-THBBWZAY.js} +4 -4
  120. package/dist/{manager-PLRSZH5G.js → manager-V34BMSAG.js} +7 -7
  121. package/dist/{media-treatment-XTUKMIGE.js → media-treatment-IMBLTYGV.js} +12 -12
  122. package/dist/{models-4WKAPP2L.js → models-3NW7HU72.js} +10 -10
  123. package/dist/{motionShot-PTKB4ILH.js → motionShot-VTTYZ6KW.js} +14 -14
  124. package/dist/{normalize-audio-3NG326I2.js → normalize-audio-ME3X7HBX.js} +4 -4
  125. package/dist/{open-6S2LMF7R.js → open-GLGSJISM.js} +11 -11
  126. package/dist/{parakeetRunner-OEI35DVO.js → parakeetRunner-T3UGRZWC.js} +11 -11
  127. package/dist/{pipeline-543FUKH4.js → pipeline-IJXVEQCU.js} +7 -7
  128. package/dist/{play-ETEGHP3B.js → play-HFFGGAZH.js} +17 -17
  129. package/dist/{preflight-Y5IYUF2T.js → preflight-QV6V3UO2.js} +7 -7
  130. package/dist/{present-ZRSLMJ6J.js → present-TH34CTYY.js} +13 -13
  131. package/dist/{preview-CEJ3SVTY.js → preview-R67EQGQP.js} +17 -17
  132. package/dist/{producer-JFVFIV26.js → producer-HWPFETDU.js} +1 -1
  133. package/dist/{projectConfig-7EK3BS72.js → projectConfig-AO4V3RHS.js} +6 -6
  134. package/dist/{publication-Y54GYFMV.js → publication-BDQ3PXYG.js} +2 -2
  135. package/dist/{publish-S3UJTPCV.js → publish-PXYTWSXN.js} +8 -8
  136. package/dist/{remove-background-YTATNQSI.js → remove-background-BVDJPT3Z.js} +8 -8
  137. package/dist/{render-WNIG4B3J.js → render-45YHWV6W.js} +5 -5
  138. package/dist/{render-RN3W6YL4.js → render-5MZY4TAB.js} +13 -13
  139. package/dist/{render-IIPXMSBO.js → render-5RQUYPIV.js} +27 -27
  140. package/dist/{render-batch-OYS3UQDB.js → render-batch-ZUTUBTHX.js} +5 -5
  141. package/dist/renderSetupWorker.js +1 -1
  142. package/dist/{resolver-OVCXVEDX.js → resolver-FN2M3XVM.js} +4 -4
  143. package/dist/{sherpa-NCSFD7S3.js → sherpa-6KWNPRWB.js} +10 -10
  144. package/dist/{skills-IUV3K3X7.js → skills-PWQCM2BT.js} +5 -5
  145. package/dist/{skillsUpdateCheck-NACBXMWW.js → skillsUpdateCheck-EHV2G3JX.js} +3 -3
  146. package/dist/{snapshot-7S5USJ2I.js → snapshot-7Q24NFEI.js} +30 -30
  147. package/dist/{src-CAR6PHI4.js → src-J43SXEHJ.js} +7 -7
  148. package/dist/{src-HITT6NWG.js → src-OS2FRVZV.js} +5 -5
  149. package/dist/{staticProjectServer-QR6VZBPT.js → staticProjectServer-YJWOQJF4.js} +14 -14
  150. package/dist/studio/assets/{hyperframes-player-DLOUZUct.js → hyperframes-player-DnIPEARk.js} +1 -1
  151. package/dist/studio/assets/{index-D9kA6JUX.js → index-CVppCm_X.js} +1 -1
  152. package/dist/studio/assets/{index-CAQ7OcNJ.js → index-Dkt4c1MV.js} +134 -134
  153. package/dist/studio/index.html +1 -1
  154. package/dist/{studio-api-HVNOJILH.js → studio-api-CZBZ4D65.js} +7 -7
  155. package/dist/{studioServer-3BG5FRJL.js → studioServer-U6EX5DSB.js} +85 -45
  156. package/dist/{telemetry-PET2GFQG.js → telemetry-VP4UWWO3.js} +3 -3
  157. package/dist/{timeline-PVIC2Z5K.js → timeline-LMSUKEG6.js} +15 -15
  158. package/dist/{tokens-4N46PWSF.js → tokens-FQ5AI5H4.js} +2 -2
  159. package/dist/{transcribe-IDC7JTM4.js → transcribe-DNQFPZ2S.js} +9 -9
  160. package/dist/{transcribe-2DVBS7MH.js → transcribe-VAMXV7QS.js} +15 -15
  161. package/dist/{updateCheck-QRDVXU7I.js → updateCheck-TOU7VLZK.js} +2 -2
  162. package/dist/{upgrade-5CNE3TBH.js → upgrade-CJRMRR2S.js} +2 -2
  163. package/dist/{urlDownloader-P2I25DFC.js → urlDownloader-GETNWEIT.js} +5 -5
  164. package/dist/{validate-CLR5PEOV.js → validate-PRI2UTQS.js} +20 -20
  165. package/dist/vendor/npm/gsap@3.15.0/dist/CustomEase.min.js +11 -0
  166. package/dist/vendor/npm/gsap@3.15.0/dist/MotionPathPlugin.min.js +11 -0
  167. package/dist/vendor/npm/gsap@3.15.0/dist/gsap.min.js +11 -0
  168. package/dist/{video-3CKZZBOB.js → video-VOCQA6AG.js} +6 -6
  169. package/dist/warmCheck.js +33 -33
  170. package/package.json +1 -1
  171. package/dist/chunk-2D5WP2NI.js +0 -3901
@@ -39,7 +39,7 @@ import {
39
39
  stripEmbeddedRuntimeScripts,
40
40
  styleElementsFor,
41
41
  warnUnknownEnumValues
42
- } from "./chunk-2D5WP2NI.js";
42
+ } from "./chunk-ZQRD62QZ.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-K2VXPQKC.js";
52
+ } from "./chunk-2TU4OKIR.js";
53
53
  import {
54
54
  checkSubCompositionUsability,
55
55
  resolveSubCompositionContent
@@ -2368,7 +2368,7 @@ function rebaseEntryAuthoredAssetPaths(document, sourceDir, projectDir) {
2368
2368
  el.setAttribute(HF_COLOR_GRADING_ATTR, rebaseColorGradingLutPath(value, sourceDir, projectDir));
2369
2369
  }
2370
2370
  }
2371
- function inlineCssFile(css, cssFileDir, projectDir, visited = /* @__PURE__ */ new Set()) {
2371
+ function inlineCssFile(css, cssFileDir, projectDir, activeImports) {
2372
2372
  const { result: strippedCss, restore: restoreComments } = withCommentsStripped(css, (s) => s);
2373
2373
  const importPlaceholders = [];
2374
2374
  const withPlaceholders = strippedCss.replace(CSS_IMPORT_RE, (full, _q1, urlPath, _q2, barePath, mediaQuery) => {
@@ -2378,13 +2378,14 @@ function inlineCssFile(css, cssFileDir, projectDir, visited = /* @__PURE__ */ ne
2378
2378
  const resolved = resolve2(cssFileDir, decodedUrlPath(importPath));
2379
2379
  if (!isSafePath(projectDir, resolved))
2380
2380
  return full;
2381
- if (visited.has(resolved))
2381
+ if (activeImports.has(resolved))
2382
2382
  return "";
2383
2383
  const content = safeReadFile(resolved);
2384
2384
  if (content == null)
2385
2385
  return full;
2386
- visited.add(resolved);
2387
- const inlined = inlineCssFile(content, dirname(resolved), projectDir, visited);
2386
+ activeImports.add(resolved);
2387
+ const inlined = inlineCssFile(content, dirname(resolved), projectDir, activeImports);
2388
+ activeImports.delete(resolved);
2388
2389
  const trimmedMedia = (mediaQuery || "").trim();
2389
2390
  const block = trimmedMedia ? `@media ${trimmedMedia} {
2390
2391
  ${inlined}
@@ -3003,7 +3004,7 @@ async function bundleProject(projectDir, options) {
3003
3004
  if (value !== null)
3004
3005
  style.setAttribute(name, value);
3005
3006
  }
3006
- style.textContent = inlineCssFile(css, dirname(cssPath), projectDir);
3007
+ style.textContent = inlineCssFile(css, dirname(cssPath), projectDir, /* @__PURE__ */ new Set([cssPath]));
3007
3008
  el.replaceWith(style);
3008
3009
  }
3009
3010
  const rootScripts = options?.sceneParts ? [
@@ -8,14 +8,14 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-M2VXARYK.js";
11
+ } from "./chunk-HT33OHQL.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
15
  } from "./chunk-GMECXFAN.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-JVTWX5G3.js";
18
+ } from "./chunk-E74JMKSK.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
@@ -8,7 +8,7 @@ import {
8
8
  EncoderInterruptedError,
9
9
  encoderFailureError,
10
10
  prepareAnimatedGifInputs
11
- } from "./chunk-452UK7E7.js";
11
+ } from "./chunk-FWDDLW2H.js";
12
12
  import {
13
13
  GENERIC_FAMILIES,
14
14
  collectFontFamilyCustomProperties,
@@ -160,7 +160,7 @@ import {
160
160
  verifyDiskDrawElementSamples,
161
161
  videoAudioId,
162
162
  writeCapturedFrame
163
- } from "./chunk-52YJKWV3.js";
163
+ } from "./chunk-HJINEUHY.js";
164
164
  import {
165
165
  DISTRIBUTED_FPS,
166
166
  HF_VFX_ATTR,
@@ -171,11 +171,12 @@ import {
171
171
  gifClearsAfterLeavingFrameInPlace,
172
172
  gsapCdnDist,
173
173
  isDistributedFps,
174
+ normalizeGsapBaseUrl,
174
175
  parseFps,
175
176
  parseVfxChain,
176
177
  resolveAuthoredTimingWindow,
177
178
  toFps
178
- } from "./chunk-JVTWX5G3.js";
179
+ } from "./chunk-E74JMKSK.js";
179
180
  import {
180
181
  assignBundledRuntimeCompositionIds,
181
182
  buildVariablesByCompScript,
@@ -187,7 +188,7 @@ import {
187
188
  inlineSubCompositions,
188
189
  parsesAsScript,
189
190
  prepareFlattenedInnerRoot
190
- } from "./chunk-GAFEU6AB.js";
191
+ } from "./chunk-VNWX5GBF.js";
191
192
  import {
192
193
  COMPOSITION_SOURCE_URL,
193
194
  HF_COLOR_GRADING_ATTR,
@@ -218,7 +219,7 @@ import {
218
219
  sourceTimeAt,
219
220
  styleElementsFor,
220
221
  timeAtSourceTime
221
- } from "./chunk-2D5WP2NI.js";
222
+ } from "./chunk-ZQRD62QZ.js";
222
223
  import {
223
224
  MAX_AUDIO_GAIN
224
225
  } from "./chunk-X7HBSTCZ.js";
@@ -248,7 +249,7 @@ import {
248
249
  import {
249
250
  lintHyperframeHtml,
250
251
  resolveReferencedStart
251
- } from "./chunk-K2VXPQKC.js";
252
+ } from "./chunk-2TU4OKIR.js";
252
253
  import {
253
254
  isUnresolvedAssetPlaceholder,
254
255
  readProjectFile,
@@ -268,6 +269,7 @@ import {
268
269
  decodedUrlPath,
269
270
  isNonRelativeUrl,
270
271
  readPlaybackRate,
272
+ rewriteAssetPath,
271
273
  rewriteAssetPaths,
272
274
  rewriteCssAssetUrls,
273
275
  rewriteInlineStyleAssetUrls
@@ -6012,7 +6014,7 @@ async function parseSubCompositions(html, projectDir, downloadDir, visited = /*
6012
6014
  const results = await Promise.all(
6013
6015
  workItems.map(async (item) => {
6014
6016
  const { html: compiledSub } = await compileHtmlFile(
6015
- item.rawSubHtml,
6017
+ rewriteUnresolvableGsapToCdn(item.rawSubHtml, projectDir, item.srcPath),
6016
6018
  dirname5(item.filePath),
6017
6019
  downloadDir,
6018
6020
  void 0,
@@ -6186,7 +6188,9 @@ function inlineSubCompositions2(html, subCompositions, projectDir, variableOverr
6186
6188
  let compHtml = subCompositions.get(srcPath) || null;
6187
6189
  if (!compHtml) {
6188
6190
  const read = readProjectFile(resolve5(projectDir, srcPath));
6189
- if (read.kind === "file") compHtml = read.text;
6191
+ if (read.kind === "file") {
6192
+ compHtml = rewriteUnresolvableGsapToCdn(read.text, projectDir, srcPath);
6193
+ }
6190
6194
  }
6191
6195
  return compHtml;
6192
6196
  },
@@ -6729,18 +6733,27 @@ async function embedLocalFontFaces(html, projectDir) {
6729
6733
  }
6730
6734
  return result;
6731
6735
  }
6732
- var GSAP_CDN_BASE = gsapCdnDist();
6733
- function rewriteUnresolvableGsapToCdn(html, projectDir) {
6736
+ function renderGsapDist() {
6737
+ try {
6738
+ return gsapCdnDist(void 0, normalizeGsapBaseUrl(process.env.HYPERFRAMES_GSAP_BASE_URL));
6739
+ } catch (cause) {
6740
+ throw new Error(
6741
+ "Invalid HYPERFRAMES_GSAP_BASE_URL: use an absolute HTTPS npm mirror root (plain HTTP only for localhost) without credentials, query, or fragment",
6742
+ { cause }
6743
+ );
6744
+ }
6745
+ }
6746
+ function rewriteUnresolvableGsapToCdn(html, projectDir, compSrcPath) {
6747
+ let gsapDist;
6748
+ const exists = (path) => existsSync9(resolve5(projectDir, path));
6734
6749
  return html.replace(
6735
6750
  /(<script\b[^>]*\bsrc=["'])([^"']*gsap[^"']*\/dist\/([^"']+))(["'][^>]*>)/gi,
6736
6751
  (full, prefix, src, file, suffix) => {
6737
6752
  if (/^https?:\/\//i.test(src)) return full;
6738
- const absPath = resolve5(projectDir, src);
6739
- if (existsSync9(absPath)) return full;
6740
- defaultLogger.info(
6741
- `[Compiler] Rewriting missing gsap script to CDN: ${src} \u2192 ${GSAP_CDN_BASE}${file}`
6742
- );
6743
- return `${prefix}${GSAP_CDN_BASE}${file}${suffix}`;
6753
+ if (exists(compSrcPath ? rewriteAssetPath(compSrcPath, src, exists) : src)) return full;
6754
+ gsapDist ??= renderGsapDist();
6755
+ defaultLogger.info(`[Compiler] Rewriting missing gsap script: ${src} \u2192 ${gsapDist}${file}`);
6756
+ return `${prefix}${gsapDist}${file}${suffix}`;
6744
6757
  }
6745
6758
  );
6746
6759
  }
@@ -15645,7 +15658,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
15645
15658
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
15646
15659
  if (probeResult.probeSession) {
15647
15660
  try {
15648
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-HITT6NWG.js");
15661
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-OS2FRVZV.js");
15649
15662
  await closeCaptureSession2(probeResult.probeSession);
15650
15663
  } catch (err) {
15651
15664
  log.warn("[plan] probe session close failed", {
@@ -17298,7 +17311,7 @@ function startServer(options = {}) {
17298
17311
  });
17299
17312
  async function shutdown(signal) {
17300
17313
  log.info(`Received ${signal}, shutting down`);
17301
- const { drainBrowserPool } = await import("./src-HITT6NWG.js");
17314
+ const { drainBrowserPool } = await import("./src-OS2FRVZV.js");
17302
17315
  await drainBrowserPool().catch(() => {
17303
17316
  });
17304
17317
  const handle = await Promise.race([
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-DKPNNYBZ.js";
15
15
  import {
16
16
  resolveCaptureBrowserGpuMode
17
- } from "./chunk-MGSNFWGR.js";
17
+ } from "./chunk-BBXZPDEA.js";
18
18
  import {
19
19
  requestCliExit
20
20
  } from "./chunk-JVBRJMOP.js";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-POFJH2IS.js";
10
+ } from "./chunk-ZL6ZCLY6.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-54PZ2EQZ.js";
13
+ } from "./chunk-KJ6ZQL34.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-ZTZA4UWZ.js";
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
84
84
  try {
85
85
  const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
86
86
  import("./system-7F3UEHQT.js"),
87
- import("./ffmpeg-7GESJCCT.js")
87
+ import("./ffmpeg-3HSSPXS4.js")
88
88
  ]);
89
89
  const sys = getSystemMeta();
90
90
  const parts = [
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  shouldTrack
9
- } from "./chunk-54PZ2EQZ.js";
9
+ } from "./chunk-KJ6ZQL34.js";
10
10
 
11
11
  // src/telemetry/renderObservability.ts
12
12
  function renderObservabilityTelemetryPayload(observability) {
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-5ETJX6WM.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-HPGQPRHY.js";
19
+ } from "./chunk-GKMRLES4.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-ZTZA4UWZ.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-52YJKWV3.js";
32
+ } from "./chunk-HJINEUHY.js";
33
33
  import {
34
34
  getAvailableMemoryMb,
35
35
  getFreeDiskMb,
@@ -39,14 +39,14 @@ import {
39
39
  import {
40
40
  getUpdateMeta,
41
41
  withMeta
42
- } from "./chunk-SNECH6QA.js";
42
+ } from "./chunk-ELQ2QQC5.js";
43
43
  import {
44
44
  CONFIG_PATH,
45
45
  withFileLock
46
46
  } from "./chunk-6NLPPKBO.js";
47
47
  import {
48
48
  VERSION
49
- } from "./chunk-EY7GKVPS.js";
49
+ } from "./chunk-66Q27H72.js";
50
50
  import {
51
51
  normalizeErrorMessage
52
52
  } from "./chunk-T2EUWCJE.js";
@@ -232,7 +232,7 @@ function checkEnvironment() {
232
232
  return { ok: true, detail: parts.join(" \xB7 ") };
233
233
  }
234
234
  async function checkWhisper() {
235
- const { findWhisper, getInstallInstructions } = await import("./manager-PLRSZH5G.js");
235
+ const { findWhisper, getInstallInstructions } = await import("./manager-V34BMSAG.js");
236
236
  const result = findWhisper();
237
237
  if (result) {
238
238
  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
  readCompositionFps
9
- } from "./chunk-FUA22HO4.js";
9
+ } from "./chunk-CCZMCX3F.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-K2FLNJVB.js";
@@ -16,10 +16,10 @@ import {
16
16
  import {
17
17
  DEFAULT_CONFIG,
18
18
  resolvePageNavigationTimeout
19
- } from "./chunk-52YJKWV3.js";
19
+ } from "./chunk-HJINEUHY.js";
20
20
  import {
21
21
  parseFps
22
- } from "./chunk-JVTWX5G3.js";
22
+ } from "./chunk-E74JMKSK.js";
23
23
 
24
24
  // src/browser/windowsCrash.ts
25
25
  var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
1278
1278
  } catch (err) {
1279
1279
  if (err instanceof Error) {
1280
1280
  try {
1281
- const { trackCommandFailure } = await import("./events-HTHOBIUN.js");
1281
+ const { trackCommandFailure } = await import("./events-M6FIUDNQ.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-K2FLNJVB.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-POFJH2IS.js";
12
+ } from "./chunk-ZL6ZCLY6.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-JVBRJMOP.js";
@@ -8,7 +8,7 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-54PZ2EQZ.js";
11
+ } from "./chunk-KJ6ZQL34.js";
12
12
  import {
13
13
  CliRuntimeError
14
14
  } from "./chunk-JVBRJMOP.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCompositionDimensions
9
- } from "./chunk-VHIBBDEI.js";
9
+ } from "./chunk-GOOE33GV.js";
10
10
  import {
11
11
  c
12
12
  } from "./chunk-ZTZA4UWZ.js";