hyperframes 0.8.115 → 0.8.116

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 (162) hide show
  1. package/dist/{add-ZSLFODRZ.js → add-5AOKGJRR.js} +16 -16
  2. package/dist/{animatedGifPrep-72A45YER.js → animatedGifPrep-XKCVQ4ZL.js} +7 -7
  3. package/dist/{asset-SGDOHBBN.js → asset-QE74HE7H.js} +2 -2
  4. package/dist/{assetCataloger-Q7BCDARF.js → assetCataloger-3VJRWB3N.js} +3 -3
  5. package/dist/{auth-5JGFN7SV.js → auth-HQE2GKY2.js} +2 -2
  6. package/dist/{autoUpdate-ZVTMYO7Z.js → autoUpdate-MH57H575.js} +2 -2
  7. package/dist/{backgroundChecks-IY3G5G2D.js → backgroundChecks-JP2GHEP4.js} +3 -3
  8. package/dist/backgroundChecksWorker.js +3 -3
  9. package/dist/{batchRender-QVLLL5DN.js → batchRender-KIFBKKVN.js} +4 -4
  10. package/dist/{beats-66KZIB5V.js → beats-V334Q2GV.js} +13 -13
  11. package/dist/{benchmark-AWFKSWQH.js → benchmark-62QZH5YE.js} +13 -13
  12. package/dist/{browser-J54EXMCE.js → browser-EK7OBU6W.js} +10 -10
  13. package/dist/{bundleWithLocalizedFonts-BLLHP2TO.js → bundleWithLocalizedFonts-263BUY7C.js} +2 -2
  14. package/dist/{capture-SLI2I5BS.js → capture-56HMZGJW.js} +10 -10
  15. package/dist/{capture-D4HRSVSK.js → capture-6F3XPKXI.js} +2 -2
  16. package/dist/{catalog-BUMLQU7L.js → catalog-JO7WHBYC.js} +16 -16
  17. package/dist/{check-HEZUK62C.js → check-S4RZIS26.js} +33 -33
  18. package/dist/{checkBrowser-RVJM6IUO.js → checkBrowser-NVWULRE7.js} +32 -32
  19. package/dist/{chunk-MPB7BQT7.js → chunk-23KZNTIV.js} +1 -1
  20. package/dist/{chunk-IOJAVV6J.js → chunk-2E4A277E.js} +1 -1
  21. package/dist/{chunk-CVBWF2MD.js → chunk-2HE5ZOXK.js} +1 -1
  22. package/dist/{chunk-TWJT2RGZ.js → chunk-34AE4KPB.js} +4 -4
  23. package/dist/{chunk-5MXN7WM4.js → chunk-63O3AR5U.js} +3 -3
  24. package/dist/{chunk-WZYHTXZY.js → chunk-6FRHKGRY.js} +1 -1
  25. package/dist/{chunk-AXXK3LWL.js → chunk-6TSA2KDM.js} +1 -1
  26. package/dist/{chunk-YNHP6OFJ.js → chunk-7Z2XNQ7F.js} +2 -2
  27. package/dist/{chunk-XMAL2A7Y.js → chunk-AIYKVE4Y.js} +1 -1
  28. package/dist/{chunk-IEE7GIVX.js → chunk-AKZD7VWZ.js} +2 -2
  29. package/dist/{chunk-ORAISNGN.js → chunk-C47XJXSK.js} +10 -10
  30. package/dist/{chunk-2H37RGJ2.js → chunk-CCWSLTWA.js} +10 -10
  31. package/dist/{chunk-SSZYJCAL.js → chunk-CHWO3UN6.js} +2 -2
  32. package/dist/{chunk-Y2Y4LBJD.js → chunk-CVE7OUZE.js} +3 -3
  33. package/dist/{chunk-3R6P5BIG.js → chunk-DRLB5STV.js} +2 -2
  34. package/dist/{chunk-KLZ7OCHR.js → chunk-ENQL7NCM.js} +3 -3
  35. package/dist/{chunk-T5HXGUM3.js → chunk-EWR3SLQV.js} +1 -1
  36. package/dist/{chunk-SAO3NQPF.js → chunk-EWUI4PU6.js} +1 -1
  37. package/dist/{chunk-2GWVY66H.js → chunk-FERBBWDU.js} +1 -1
  38. package/dist/{chunk-QXNRRMBQ.js → chunk-FFF36PQA.js} +2 -2
  39. package/dist/{chunk-UUDQD62L.js → chunk-FSLYPQ5Z.js} +1 -1
  40. package/dist/{chunk-4P2TOD7N.js → chunk-GNQF4NZW.js} +1 -1
  41. package/dist/{chunk-HOBR4IHC.js → chunk-IGWZCCLO.js} +7 -7
  42. package/dist/{chunk-2DX6JYL2.js → chunk-IX75NQSA.js} +2 -2
  43. package/dist/{chunk-SK53U3PF.js → chunk-JBZYEZPZ.js} +1 -1
  44. package/dist/{chunk-6SEUZGID.js → chunk-JYB7NKO6.js} +3 -3
  45. package/dist/{chunk-HPWPLV5J.js → chunk-KNCLHJB5.js} +3 -3
  46. package/dist/{chunk-M7XTMZF5.js → chunk-MZPMAU25.js} +2 -2
  47. package/dist/{chunk-SC7ICSIU.js → chunk-NCQV2NMY.js} +1 -1
  48. package/dist/{chunk-YJEGT5L6.js → chunk-NITBGIHR.js} +2 -2
  49. package/dist/{chunk-PZTEY73C.js → chunk-NRTZ2JPC.js} +1 -1
  50. package/dist/{chunk-BDNCUMZM.js → chunk-PAZUQZYV.js} +1 -1
  51. package/dist/{chunk-3J4EBX5M.js → chunk-PHBPRHKK.js} +1 -1
  52. package/dist/{chunk-3YTWSGBV.js → chunk-QITH7ALB.js} +4 -4
  53. package/dist/{chunk-XJQ7TRLG.js → chunk-RTLYNXAC.js} +1 -1
  54. package/dist/{chunk-4HIF3LI3.js → chunk-S5Q46UEI.js} +5 -5
  55. package/dist/{chunk-PLP4K6WZ.js → chunk-SXV67HVP.js} +92 -34
  56. package/dist/{chunk-ZBQP54CD.js → chunk-TEYBS6T3.js} +5 -5
  57. package/dist/{chunk-RDMAU7AJ.js → chunk-TRLP3CSL.js} +1 -1
  58. package/dist/{chunk-QMFCL2ZN.js → chunk-TY76XMMP.js} +2 -2
  59. package/dist/{chunk-SOEQWMNS.js → chunk-VJ2RAP65.js} +2 -2
  60. package/dist/{chunk-TMCJPHPP.js → chunk-VLB4NGRR.js} +1 -1
  61. package/dist/{chunk-VDASTWUM.js → chunk-VU5IDWKX.js} +2 -2
  62. package/dist/{chunk-P73WQPSB.js → chunk-WN62HDA7.js} +1 -1
  63. package/dist/{chunk-BQG33YTI.js → chunk-WUUEWXA2.js} +1 -1
  64. package/dist/chunk-WWL6YGYK.js +3541 -0
  65. package/dist/{chunk-74RAXWDF.js → chunk-XTCMIITZ.js} +1 -1
  66. package/dist/{chunk-5YSA3YXO.js → chunk-YX55Y7UO.js} +9 -9
  67. package/dist/{clean-X6Y252ZC.js → clean-DPW2FTMM.js} +17 -17
  68. package/dist/cli.js +50 -50
  69. package/dist/{cloud-EE4GALWR.js → cloud-OAYSRXAJ.js} +4 -4
  70. package/dist/{cloudrun-Y6A42KHE.js → cloudrun-NM2ZMAJV.js} +5 -5
  71. package/dist/{compare-K6XJZ3OC.js → compare-CZC6ROYF.js} +27 -27
  72. package/dist/{compiler-DYACPLUW.js → compiler-3MFRD377.js} +3 -3
  73. package/dist/{component-T6IYSCFP.js → component-6D5RBOWZ.js} +3 -3
  74. package/dist/{compositions-4KUTNS5L.js → compositions-5KCUVODZ.js} +12 -12
  75. package/dist/{delete-C64TWAPE.js → delete-ZGLELTUJ.js} +2 -2
  76. package/dist/{deterministicFonts-A4CNCSAL.js → deterministicFonts-O7BTFDJU.js} +2 -2
  77. package/dist/{dist-HRBNHR4M.js → dist-JAOG6MYW.js} +1 -1
  78. package/dist/{dist-KNGSQALD.js → dist-XSSXGBRH.js} +3 -3
  79. package/dist/{doctor-WJXZK5QN.js → doctor-CICSVC7I.js} +11 -11
  80. package/dist/{events-QRWJBSV4.js → events-V3O6Q5ZH.js} +9 -9
  81. package/dist/{events-FVG3Y6Q4.js → events-Y4NBIJBP.js} +10 -10
  82. package/dist/{feedback-NQHRUOZP.js → feedback-EA3K6QXT.js} +11 -11
  83. package/dist/{figma-MEX4CSIM.js → figma-WOOHCXDA.js} +3 -3
  84. package/dist/fontLocalizeCli.js +10 -10
  85. package/dist/{get-CMJIHGSA.js → get-64SDPINM.js} +2 -2
  86. package/dist/{gpuPolicy-5S4OZDME.js → gpuPolicy-TFCLAD64.js} +7 -7
  87. package/dist/{grade-compare-NIDMIUGZ.js → grade-compare-NXAFWDBR.js} +27 -27
  88. package/dist/{gsapParserAcorn-SZANFUAQ.js → gsapParserAcorn-FLWABPQM.js} +1 -1
  89. package/dist/{help-G6AWAWJW.js → help-6H4ICA27.js} +1 -1
  90. package/dist/{history-ZBOK2JQF.js → history-TPRRROOR.js} +17 -17
  91. package/dist/hyperframe-runtime.js +50 -50
  92. package/dist/hyperframe.manifest.json +1 -1
  93. package/dist/hyperframe.runtime.iife.js +50 -50
  94. package/dist/hyperframes-player.global.js +1 -1
  95. package/dist/{info-2ORQZ6I2.js → info-DDXWWAM3.js} +12 -12
  96. package/dist/{init-3PSKH6UR.js → init-KULZFAS7.js} +23 -23
  97. package/dist/{inspect-NR54RMEE.js → inspect-VEJH72DJ.js} +28 -28
  98. package/dist/{installer-YQUWHYBZ.js → installer-TBL3PE2J.js} +5 -5
  99. package/dist/{keyframes-KT7T4AEV.js → keyframes-W6KIRZ4O.js} +13 -13
  100. package/dist/{lambda-3FF4V3X3.js → lambda-JJXODPS5.js} +6 -6
  101. package/dist/{layout-RB3M37ER.js → layout-KVG7PJ3F.js} +28 -28
  102. package/dist/{lint-HR57M5YP.js → lint-GQ5IVVCN.js} +13 -13
  103. package/dist/{lintProject-TOLC6HDS.js → lintProject-FDJYTOVM.js} +1 -1
  104. package/dist/{list-YDXYHXHF.js → list-QZ7LV6HF.js} +2 -2
  105. package/dist/{login-N6UNRVYW.js → login-526R3KCB.js} +4 -4
  106. package/dist/{media-treatment-UXJOTNRO.js → media-treatment-H7LGSO3I.js} +13 -13
  107. package/dist/{models-Z3XFMGXB.js → models-WOEP555T.js} +8 -8
  108. package/dist/{motionShot-KQMCXJ77.js → motionShot-235LNUY7.js} +12 -12
  109. package/dist/{normalize-audio-XJQMDWRV.js → normalize-audio-GTAESDG6.js} +12 -12
  110. package/dist/{pipeline-U3OISHWV.js → pipeline-NBHOEZPA.js} +7 -7
  111. package/dist/{play-XP77PML5.js → play-SBTJLOWX.js} +22 -22
  112. package/dist/{preflight-CANFVC4Y.js → preflight-KQCXRC6W.js} +8 -8
  113. package/dist/{present-MWGA3O4S.js → present-TXULFA2J.js} +18 -18
  114. package/dist/{preview-X5GWZ3Q6.js → preview-E2U4ER7H.js} +18 -18
  115. package/dist/{producer-B2IHU7MA.js → producer-DR3TOPSC.js} +1 -1
  116. package/dist/{projectConfig-2A64YU5H.js → projectConfig-QBYFCJYE.js} +7 -7
  117. package/dist/{publication-CFYBPLRS.js → publication-TWGRIP5F.js} +3 -3
  118. package/dist/{publish-WE6AS77D.js → publish-JOUHOKGX.js} +9 -9
  119. package/dist/{remove-background-XSDOCVN5.js → remove-background-GQZIZBHM.js} +8 -8
  120. package/dist/{render-5TMRIC73.js → render-2LC2DUR3.js} +13 -13
  121. package/dist/{render-QX6AKB6Y.js → render-JR3YIYZ4.js} +4 -4
  122. package/dist/{render-HVZUCLYW.js → render-UVGS7PLJ.js} +22 -22
  123. package/dist/{render-batch-QJXFVTDE.js → render-batch-MYH6ZGO3.js} +4 -4
  124. package/dist/{renderCancellation-WSSSHRFR.js → renderCancellation-EIBZHTFW.js} +7 -7
  125. package/dist/renderSetupWorker.js +1 -1
  126. package/dist/{resolver-WTXO6WXA.js → resolver-4Z5YISAU.js} +5 -5
  127. package/dist/{sherpa-S6ZBBEFO.js → sherpa-UX3MQXO5.js} +8 -8
  128. package/dist/{skills-CDRSTETB.js → skills-GXETMIED.js} +12 -12
  129. package/dist/{skillsUpdateCheck-FKREJXSF.js → skillsUpdateCheck-XS7OE6FX.js} +3 -3
  130. package/dist/{snapshot-T4PFSXTH.js → snapshot-OAHQ3EVJ.js} +28 -28
  131. package/dist/{src-5BZDQAVN.js → src-AZ5YCYQP.js} +9 -9
  132. package/dist/{src-IZMCUYK7.js → src-X6ACPJHG.js} +6 -6
  133. package/dist/{staticProjectServer-VN4ARAH4.js → staticProjectServer-P4QSLLF6.js} +16 -16
  134. package/dist/{status-OJZWJB53.js → status-KDRWJBPW.js} +7 -7
  135. package/dist/studio/assets/{hyperframes-player-C-9N8nk0.js → hyperframes-player-mGYvPVpw.js} +1 -1
  136. package/dist/studio/assets/{index-BoUM6Xqb.js → index-BWHt0-ir.js} +1 -1
  137. package/dist/studio/assets/{index-CAvZ0AA-.js → index-DYNaXPVf.js} +201 -201
  138. package/dist/studio/assets/{index-CVuorIMv.js → index-Dr3hNpvS.js} +1 -1
  139. package/dist/studio/{chunk-TXZMMOMA.js → chunk-3F47EFCT.js} +100 -2
  140. package/dist/studio/chunk-3F47EFCT.js.map +1 -0
  141. package/dist/studio/{domEditingLayers-D7VYFJJD.js → domEditingLayers-OL7GLSS4.js} +2 -2
  142. package/dist/studio/index.d.ts +104 -22
  143. package/dist/studio/index.html +1 -1
  144. package/dist/studio/index.js +1131 -1044
  145. package/dist/studio/index.js.map +1 -1
  146. package/dist/{studio-api-CIO2NKK5.js → studio-api-SYQOPCMB.js} +10 -10
  147. package/dist/{studioServer-G5GNYWDI.js → studioServer-ANSX6DY2.js} +42 -42
  148. package/dist/{system-PPNNGVIM.js → system-B6UYANYL.js} +7 -7
  149. package/dist/{telemetry-GMDMISOX.js → telemetry-AZEW2DZP.js} +10 -10
  150. package/dist/{timeline-5LSQX4OS.js → timeline-VIKY65W6.js} +17 -17
  151. package/dist/{tokens-VBXAT7CK.js → tokens-SSGCAC7E.js} +2 -2
  152. package/dist/{transcribe-GYCAIIEQ.js → transcribe-O33POKJY.js} +13 -13
  153. package/dist/{transcribe-VGYAWRXS.js → transcribe-PF6BUHHQ.js} +8 -8
  154. package/dist/{updateCheck-AZEREUQV.js → updateCheck-Y4SUY6VE.js} +2 -2
  155. package/dist/{upgrade-S63QN2LA.js → upgrade-EGIS5OCB.js} +2 -2
  156. package/dist/{urlDownloader-SM6ODN5O.js → urlDownloader-UBY27GFW.js} +6 -6
  157. package/dist/{validate-7MNUK5MH.js → validate-FE74RMPD.js} +17 -17
  158. package/dist/{video-JEOHARTC.js → video-DODRESEY.js} +7 -7
  159. package/package.json +1 -1
  160. package/dist/chunk-RRPJEHHW.js +0 -3541
  161. package/dist/studio/chunk-TXZMMOMA.js.map +0 -1
  162. /package/dist/studio/{domEditingLayers-D7VYFJJD.js.map → domEditingLayers-OL7GLSS4.js.map} +0 -0
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-ZTZA4UWZ.js";
13
13
  import {
14
14
  getSystemMeta
15
- } from "./chunk-IOJAVV6J.js";
15
+ } from "./chunk-2E4A277E.js";
16
16
  import {
17
17
  getInvocationId
18
18
  } from "./chunk-54HJ63Q2.js";
@@ -23,7 +23,7 @@ import {
23
23
  evaluateCanary,
24
24
  findCanary,
25
25
  parseCanaryOverride
26
- } from "./chunk-IEE7GIVX.js";
26
+ } from "./chunk-AKZD7VWZ.js";
27
27
  import {
28
28
  hostAnswers
29
29
  } from "./chunk-K4WIOZFP.js";
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk-XUXGIA7H.js";
38
38
  import {
39
39
  VERSION
40
- } from "./chunk-3R6P5BIG.js";
40
+ } from "./chunk-DRLB5STV.js";
41
41
 
42
42
  // src/telemetry/transport.ts
43
43
  import { spawn } from "child_process";
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ISN5GRYI.js";
18
18
  import {
19
19
  VERSION
20
- } from "./chunk-3R6P5BIG.js";
20
+ } from "./chunk-DRLB5STV.js";
21
21
 
22
22
  // src/utils/updateCheck.ts
23
23
  import { existsSync, readFileSync } from "fs";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  updateNoticesSuppressed
9
- } from "./chunk-T5HXGUM3.js";
9
+ } from "./chunk-EWR3SLQV.js";
10
10
  import {
11
11
  hostAnswers
12
12
  } from "./chunk-K4WIOZFP.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-BDNCUMZM.js";
15
+ } from "./chunk-PAZUQZYV.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -8,14 +8,14 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-BDNCUMZM.js";
11
+ } from "./chunk-PAZUQZYV.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-IEE7GIVX.js";
18
+ } from "./chunk-AKZD7VWZ.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
@@ -3152,7 +3152,7 @@ function parseGsapScriptAcornForWrite(script) {
3152
3152
  (call) => tweenCallToAnimation(call, scope, script, identifierBindings)
3153
3153
  );
3154
3154
  applyTimelineDefaults(rawAnims, detection.defaults);
3155
- resolveTimelinePositions(rawAnims);
3155
+ resolveTimelinePositions(rawAnims, collectAddLabelDefs(ast, ref, scope, calls));
3156
3156
  const animations = assignStableIds(rawAnims);
3157
3157
  const located = calls.map((call, i) => ({
3158
3158
  id: animations[i].id,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-TVCRUG2S.js";
18
18
  import {
19
19
  stoppedByCancelSignal
20
- } from "./chunk-3J4EBX5M.js";
20
+ } from "./chunk-PHBPRHKK.js";
21
21
 
22
22
  // src/whisper/transcribe.ts
23
23
  import { execFileSync } from "child_process";
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-AXXK3LWL.js";
10
+ } from "./chunk-6TSA2KDM.js";
11
11
  import {
12
12
  DEFAULT_PROJECT_CONFIG,
13
13
  createProjectConfig,
14
14
  loadProjectConfig,
15
15
  projectConfigPath,
16
16
  recordProjectRegistryItems
17
- } from "./chunk-2GWVY66H.js";
17
+ } from "./chunk-FERBBWDU.js";
18
18
  import {
19
19
  resolveItemWithDependencies,
20
20
  resolveItemsByTag
21
- } from "./chunk-TMCJPHPP.js";
21
+ } from "./chunk-VLB4NGRR.js";
22
22
  import {
23
23
  InvalidVariableValuesError,
24
24
  prepareItem,
25
25
  publishItem
26
- } from "./chunk-QXNRRMBQ.js";
26
+ } from "./chunk-FFF36PQA.js";
27
27
  import {
28
28
  DEFAULT_REGISTRY_URL
29
- } from "./chunk-BDNCUMZM.js";
29
+ } from "./chunk-PAZUQZYV.js";
30
30
  import {
31
31
  trackRegistryItemAdded
32
- } from "./chunk-6SEUZGID.js";
32
+ } from "./chunk-JYB7NKO6.js";
33
33
  import {
34
34
  c
35
35
  } from "./chunk-ZTZA4UWZ.js";
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-PBN6GBJE.js";
42
42
  import {
43
43
  ITEM_TYPE_DIRS
44
- } from "./chunk-IEE7GIVX.js";
44
+ } from "./chunk-AKZD7VWZ.js";
45
45
  import {
46
46
  isProjectRootMissing,
47
47
  realpath
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-SK53U3PF.js";
23
+ } from "./chunk-JBZYEZPZ.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-S3S4TGEH.js";
@@ -221,7 +221,7 @@ var asset_default = defineCommand({
221
221
  rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
222
222
  );
223
223
  }
224
- const { trackFigmaImport } = await import("./telemetry-GMDMISOX.js");
224
+ const { trackFigmaImport } = await import("./telemetry-AZEW2DZP.js");
225
225
  trackFigmaImport({
226
226
  phase: "asset",
227
227
  reused: results.every((r) => r.reused),
@@ -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-FVG3Y6Q4.js");
1281
+ const { trackCommandFailure } = await import("./events-Y4NBIJBP.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -8,16 +8,16 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-KLZ7OCHR.js";
11
+ } from "./chunk-ENQL7NCM.js";
12
12
  import {
13
13
  getPowerState
14
- } from "./chunk-IOJAVV6J.js";
14
+ } from "./chunk-2E4A277E.js";
15
15
  import {
16
16
  CliRuntimeError
17
17
  } from "./chunk-PBN6GBJE.js";
18
18
  import {
19
19
  redactTelemetryString
20
- } from "./chunk-IEE7GIVX.js";
20
+ } from "./chunk-AKZD7VWZ.js";
21
21
  import {
22
22
  readConfig
23
23
  } from "./chunk-XUXGIA7H.js";
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-6SEUZGID.js";
10
+ } from "./chunk-JYB7NKO6.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-KLZ7OCHR.js";
13
+ } from "./chunk-ENQL7NCM.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
17
- } from "./chunk-YJEGT5L6.js";
17
+ } from "./chunk-NITBGIHR.js";
18
18
 
19
19
  // src/telemetry/lintStreaks.ts
20
20
  import { createHash } from "crypto";
@@ -21,7 +21,7 @@ import {
21
21
  shouldClampResolvedMediaDuration,
22
22
  stripEmbeddedRuntimeScripts,
23
23
  warnUnknownEnumValues
24
- } from "./chunk-RRPJEHHW.js";
24
+ } from "./chunk-WWL6YGYK.js";
25
25
  import {
26
26
  cssVariableName
27
27
  } from "./chunk-VC76R6W2.js";
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-OFQWTKPW.js";
32
32
  import {
33
33
  lintHyperframeHtml
34
- } from "./chunk-YJEGT5L6.js";
34
+ } from "./chunk-NITBGIHR.js";
35
35
  import {
36
36
  CSS_URL_RE,
37
37
  checkSubCompositionUsability,
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-PBN6GBJE.js";
16
16
  import {
17
17
  parseFps
18
- } from "./chunk-IEE7GIVX.js";
18
+ } from "./chunk-AKZD7VWZ.js";
19
19
 
20
20
  // src/utils/renderArgs.ts
21
21
  import { readFileSync } from "fs";
@@ -7534,11 +7534,11 @@ function deriveDurationFromClips(tags, rootTag) {
7534
7534
  return resolveCompositionDuration({ authoredDurationSeconds: null, clipEndsSeconds: clipEnds });
7535
7535
  }
7536
7536
  async function loadParseGsapScript() {
7537
- const mod = await import("./gsapParserAcorn-SZANFUAQ.js");
7537
+ const mod = await import("./gsapParserAcorn-FLWABPQM.js");
7538
7538
  return mod.parseGsapScriptAcorn;
7539
7539
  }
7540
7540
  async function loadGsapScriptMotionPathFirstUseIndex() {
7541
- const mod = await import("./gsapParserAcorn-SZANFUAQ.js");
7541
+ const mod = await import("./gsapParserAcorn-FLWABPQM.js");
7542
7542
  return mod.gsapScriptMotionPathFirstUseIndex;
7543
7543
  }
7544
7544
  var SCENE_BOUNDARY_EPSILON_SECONDS = 0.05;
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VALID_CANVAS_RESOLUTIONS,
9
9
  resolveResolutionFlagPair
10
- } from "./chunk-UUDQD62L.js";
10
+ } from "./chunk-FSLYPQ5Z.js";
11
11
 
12
12
  // src/utils/parseOutputResolution.ts
13
13
  function parseOutputResolutionFlag(raw, options) {
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-GMECXFAN.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-IEE7GIVX.js";
30
+ } from "./chunk-AKZD7VWZ.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -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-5MXN7WM4.js";
9
+ } from "./chunk-63O3AR5U.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -7,16 +7,16 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-6SEUZGID.js";
10
+ } from "./chunk-JYB7NKO6.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-KLZ7OCHR.js";
13
+ } from "./chunk-ENQL7NCM.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-ZTZA4UWZ.js";
17
17
  import {
18
18
  detectAgentRuntime
19
- } from "./chunk-IOJAVV6J.js";
19
+ } from "./chunk-2E4A277E.js";
20
20
  import {
21
21
  readConfig,
22
22
  writeConfig
@@ -83,7 +83,7 @@ async function maybePromptRenderFeedback(opts) {
83
83
  async function getDoctorSummary() {
84
84
  try {
85
85
  const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
86
- import("./system-PPNNGVIM.js"),
86
+ import("./system-B6UYANYL.js"),
87
87
  import("./ffmpeg-QIUFEFTY.js")
88
88
  ]);
89
89
  const sys = getSystemMeta();
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-IHFUKJOR.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-6SEUZGID.js";
12
+ } from "./chunk-JYB7NKO6.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-PBN6GBJE.js";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-5ETJX6WM.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-BQG33YTI.js";
19
+ } from "./chunk-WUUEWXA2.js";
20
20
  import {
21
21
  c
22
22
  } from "./chunk-ZTZA4UWZ.js";
@@ -25,24 +25,24 @@ import {
25
25
  getFreeDiskMb,
26
26
  getShmSizeMb,
27
27
  getSystemMeta
28
- } from "./chunk-IOJAVV6J.js";
28
+ } from "./chunk-2E4A277E.js";
29
29
  import {
30
30
  defineCommand
31
31
  } from "./chunk-S3S4TGEH.js";
32
32
  import {
33
33
  resolveExtractCacheDir
34
- } from "./chunk-5MXN7WM4.js";
34
+ } from "./chunk-63O3AR5U.js";
35
35
  import {
36
36
  getUpdateMeta,
37
37
  withMeta
38
- } from "./chunk-T5HXGUM3.js";
38
+ } from "./chunk-EWR3SLQV.js";
39
39
  import {
40
40
  CONFIG_PATH,
41
41
  withFileLock
42
42
  } from "./chunk-XUXGIA7H.js";
43
43
  import {
44
44
  VERSION
45
- } from "./chunk-3R6P5BIG.js";
45
+ } from "./chunk-DRLB5STV.js";
46
46
  import {
47
47
  normalizeErrorMessage
48
48
  } from "./chunk-KNU5COPB.js";
@@ -20,7 +20,7 @@ import {
20
20
  splitElementInHtml,
21
21
  unwrapElementsFromHtml,
22
22
  wrapElementsInHtml
23
- } from "./chunk-TWJT2RGZ.js";
23
+ } from "./chunk-34AE4KPB.js";
24
24
  import {
25
25
  atomicTempPath,
26
26
  createFileAtomically,
@@ -33,7 +33,7 @@ import {
33
33
  measureAudio,
34
34
  requiredFfmpeg,
35
35
  resolveLocalAudioPath
36
- } from "./chunk-MPB7BQT7.js";
36
+ } from "./chunk-23KZNTIV.js";
37
37
  import {
38
38
  PROXY_PARAMS_VERSION,
39
39
  PROXY_PENDING_RETRY_AFTER_SECONDS,
@@ -59,11 +59,11 @@ import {
59
59
  shouldPrewarmProxy,
60
60
  waitForProxy,
61
61
  walkDir
62
- } from "./chunk-QMFCL2ZN.js";
62
+ } from "./chunk-TY76XMMP.js";
63
63
  import {
64
64
  findTimelineScript,
65
65
  parseGsapScriptAcorn
66
- } from "./chunk-RDMAU7AJ.js";
66
+ } from "./chunk-TRLP3CSL.js";
67
67
  import {
68
68
  STUDIO_MANUAL_EDITS_PATH
69
69
  } from "./chunk-KC5XXX3X.js";
@@ -78,16 +78,16 @@ import {
78
78
  formatRenderOutputTimestamp,
79
79
  parseFps,
80
80
  sameInstant
81
- } from "./chunk-IEE7GIVX.js";
81
+ } from "./chunk-AKZD7VWZ.js";
82
82
  import {
83
83
  MagicString,
84
84
  VALID_CANVAS_RESOLUTIONS,
85
85
  unrollComputedTimeline
86
- } from "./chunk-UUDQD62L.js";
86
+ } from "./chunk-FSLYPQ5Z.js";
87
87
  import {
88
88
  addScenePartsManifest,
89
89
  ensureHfIds
90
- } from "./chunk-M7XTMZF5.js";
90
+ } from "./chunk-MZPMAU25.js";
91
91
  import {
92
92
  findStartTags,
93
93
  injectScriptsIntoHtml,
@@ -97,7 +97,7 @@ import {
97
97
  resolveRateSpec,
98
98
  sourceTimeAt,
99
99
  stripEmbeddedRuntimeScripts
100
- } from "./chunk-RRPJEHHW.js";
100
+ } from "./chunk-WWL6YGYK.js";
101
101
  import {
102
102
  ProjectRootMissingError,
103
103
  folderGone,
@@ -110,7 +110,7 @@ import {
110
110
  import {
111
111
  isWithinProjectRoot,
112
112
  readProjectFile
113
- } from "./chunk-YJEGT5L6.js";
113
+ } from "./chunk-NITBGIHR.js";
114
114
  import {
115
115
  FFPROBE_PATH_ENV,
116
116
  findFfBinary
@@ -3378,6 +3378,41 @@ function resolveTimelinePositions(anims, labelDefs = []) {
3378
3378
  });
3379
3379
  while (labelIdx < sortedLabels.length) defineLabel(sortedLabels[labelIdx++]);
3380
3380
  }
3381
+ function collectAddLabelDefs(ast, ref, scope, sortedCalls) {
3382
+ const callKeys = sortedCalls.map((c) => ({
3383
+ site: callSiteStart(c),
3384
+ order: c.node.__hfOrder
3385
+ }));
3386
+ const comesAfter = (site, order, labelSite, labelOrder) => {
3387
+ if (site === void 0) return false;
3388
+ if (site !== labelSite) return site > labelSite;
3389
+ return (order ?? -Infinity) > (labelOrder ?? -Infinity);
3390
+ };
3391
+ const defs = [];
3392
+ simple(ast, {
3393
+ // fallow-ignore-next-line complexity
3394
+ CallExpression(node) {
3395
+ const callee = node.callee;
3396
+ const objMatches = ref.kind === "identifier" ? callee.object?.type === "Identifier" && callee.object.name === ref.name : sameMemberAccess(callee.object, ref.node);
3397
+ if (callee?.type !== "MemberExpression" || !objMatches || callee.property?.name !== "addLabel")
3398
+ return;
3399
+ const nameNode = node.arguments?.[0];
3400
+ const name = typeof nameNode?.value === "string" ? nameNode.value : void 0;
3401
+ if (!name) return;
3402
+ const posVal = resolveNode(node.arguments?.[1], scope);
3403
+ const position = typeof posVal === "number" || typeof posVal === "string" ? posVal : void 0;
3404
+ const labelStart = node.__hfSiteStart ?? callee.property?.start;
3405
+ const labelOrder = node.__hfOrder;
3406
+ let order = sortedCalls.length;
3407
+ if (labelStart !== void 0) {
3408
+ order = callKeys.findIndex((k) => comesAfter(k.site, k.order, labelStart, labelOrder));
3409
+ if (order === -1) order = sortedCalls.length;
3410
+ }
3411
+ defs.push({ name, position, order });
3412
+ }
3413
+ });
3414
+ return defs;
3415
+ }
3381
3416
  function compareByLoc(a, b) {
3382
3417
  const aLoc = a.node.callee?.property?.loc?.start;
3383
3418
  const bLoc = b.node.callee?.property?.loc?.start;
@@ -3430,7 +3465,7 @@ function parseGsapScriptAcornForWrite(script) {
3430
3465
  (call) => tweenCallToAnimation(call, scope, script, identifierBindings)
3431
3466
  );
3432
3467
  applyTimelineDefaults(rawAnims, detection.defaults);
3433
- resolveTimelinePositions(rawAnims);
3468
+ resolveTimelinePositions(rawAnims, collectAddLabelDefs(ast, ref, scope, calls));
3434
3469
  const animations = assignStableIds(rawAnims);
3435
3470
  const located = calls.map((call, i) => ({
3436
3471
  id: animations[i].id,
@@ -3704,7 +3739,8 @@ function overwritePosition(ms, call, position) {
3704
3739
  if (call.positionArg) {
3705
3740
  ms.overwrite(call.positionArg.start, call.positionArg.end, valueToCode(position));
3706
3741
  } else {
3707
- ms.appendLeft(call.node.end - 1, `, ${valueToCode(position)}`);
3742
+ const last = call.node.arguments.at(-1);
3743
+ ms.appendLeft(last ? last.end : call.node.end - 1, `, ${valueToCode(position)}`);
3708
3744
  }
3709
3745
  }
3710
3746
  function shiftPositionsInScript(script, targetSelector, delta, root) {
@@ -4426,6 +4462,33 @@ function materializeKeyframesFromScript(script, animationId, keyframes, easeEach
4426
4462
  }
4427
4463
  return ms.toString();
4428
4464
  }
4465
+ function replaceTweenWithKeyframesInScript(script, animationId, edit) {
4466
+ const parsed = parseGsapScriptAcornForWrite(script);
4467
+ const target = parsed?.located.find((l) => l.id === animationId);
4468
+ const call = target?.call;
4469
+ if (!target || call?.varsArg?.type !== "ObjectExpression") return null;
4470
+ const { animation } = target;
4471
+ if (animation.method !== "to" && animation.method !== "from" && animation.method !== "fromTo")
4472
+ return null;
4473
+ const ms = new MagicString(script);
4474
+ const start = animation.resolvedStart ?? animation.position;
4475
+ const moved = typeof start !== "number" || Math.abs(start - edit.position) > 5e-4;
4476
+ const kept = preservedVarsEntries(call.varsArg, script).filter(
4477
+ (e) => !/^\s*duration\s*:/.test(e) && !(moved && /^\s*delay\s*:/.test(e))
4478
+ );
4479
+ const sorted = [...edit.keyframes].sort((a, b) => a.percentage - b.percentage);
4480
+ const parts = [`keyframes: ${buildKeyframeObjectCode(sorted, edit.easeEach)}`, ...kept];
4481
+ parts.push(`duration: ${valueToCode(edit.duration)}`);
4482
+ if (edit.ease) parts.push(`ease: ${JSON.stringify(edit.ease)}`);
4483
+ if (animation.hasUnresolvedSelector || animation.targetSelector !== edit.targetSelector) {
4484
+ const selectorArg = call.node.arguments[0];
4485
+ ms.overwrite(selectorArg.start, selectorArg.end, JSON.stringify(edit.targetSelector));
4486
+ }
4487
+ convertMethodToTo(ms, animation, call, call.varsArg);
4488
+ overwriteVarsArg(ms, call, `{ ${parts.join(", ")} }`);
4489
+ if (moved) overwritePosition(ms, call, edit.position);
4490
+ return ms.toString();
4491
+ }
4429
4492
  function addAnimationWithKeyframesToScript(script, targetSelector, position, duration, keyframes, ease, easeEach) {
4430
4493
  const parsed = parseGsapScriptAcornForWrite(script);
4431
4494
  if (!parsed) return { script, id: "" };
@@ -6413,6 +6476,21 @@ function bakeVisibilityOnDelete(document2, anim) {
6413
6476
  } catch {
6414
6477
  }
6415
6478
  }
6479
+ function replaceInPlaceUnlessSetOrUnknown(scriptText, body) {
6480
+ const edit = { ...body, easeEach: resolveReplacementEaseEach(scriptText, body) };
6481
+ const inPlace = replaceTweenWithKeyframesInScript(scriptText, body.animationId, edit);
6482
+ if (inPlace !== null) return inPlace;
6483
+ const script = removeAnimationFromScript(scriptText, body.animationId);
6484
+ return addAnimationWithKeyframesToScript(
6485
+ script,
6486
+ body.targetSelector,
6487
+ body.position,
6488
+ body.duration,
6489
+ body.keyframes,
6490
+ body.ease,
6491
+ edit.easeEach
6492
+ ).script;
6493
+ }
6416
6494
  function resolveReplacementEaseEach(scriptText, request) {
6417
6495
  if (request.easeEach !== void 0) return request.easeEach;
6418
6496
  const original = parseGsapScriptAcorn(scriptText).animations.find(
@@ -6484,7 +6562,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
6484
6562
  let block = extractGsapScriptBlock(html);
6485
6563
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
6486
6564
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
6487
- const { GSAP_CDN } = await import("./dist-KNGSQALD.js");
6565
+ const { GSAP_CDN } = await import("./dist-XSSXGBRH.js");
6488
6566
  const bootstrap = [
6489
6567
  `<script src="${GSAP_CDN}"></script>`,
6490
6568
  "<script>",
@@ -6819,17 +6897,7 @@ function executeGsapMutationAcorn(body, block, respond) {
6819
6897
  if (keyframesWritePosition(body.keyframes) || keyframesWriteRotation(body.keyframes)) {
6820
6898
  stripStudioEditsFromTarget(block.document, body.targetSelector);
6821
6899
  }
6822
- const script = removeAnimationFromScript(block.scriptText, body.animationId);
6823
- const added = addAnimationWithKeyframesToScript(
6824
- script,
6825
- body.targetSelector,
6826
- body.position,
6827
- body.duration,
6828
- body.keyframes,
6829
- body.ease,
6830
- resolveReplacementEaseEach(block.scriptText, body)
6831
- );
6832
- return added.script;
6900
+ return replaceInPlaceUnlessSetOrUnknown(block.scriptText, body);
6833
6901
  }
6834
6902
  case "split-animations": {
6835
6903
  if (typeof body.originalId !== "string" || !body.originalId || typeof body.newId !== "string" || !body.newId || typeof body.splitTime !== "number" || !Number.isFinite(body.splitTime) || typeof body.elementStart !== "number" || !Number.isFinite(body.elementStart) || typeof body.elementDuration !== "number" || !Number.isFinite(body.elementDuration) || body.elementDuration <= 0) {
@@ -7151,17 +7219,7 @@ async function executeGsapMutationRecast(body, block, respond) {
7151
7219
  if (keyframesWritePosition(body.keyframes) || keyframesWriteRotation(body.keyframes)) {
7152
7220
  stripStudioEditsFromTarget(block.document, body.targetSelector);
7153
7221
  }
7154
- const script = removeAnimationFromScript2(block.scriptText, body.animationId);
7155
- const added = addAnimationWithKeyframesToScript2(
7156
- script,
7157
- body.targetSelector,
7158
- body.position,
7159
- body.duration,
7160
- body.keyframes,
7161
- body.ease,
7162
- resolveReplacementEaseEach(block.scriptText, body)
7163
- );
7164
- return added.script;
7222
+ return replaceInPlaceUnlessSetOrUnknown(block.scriptText, body);
7165
7223
  }
7166
7224
  case "split-animations": {
7167
7225
  if (typeof body.originalId !== "string" || !body.originalId || typeof body.newId !== "string" || !body.newId || typeof body.splitTime !== "number" || !Number.isFinite(body.splitTime) || typeof body.elementStart !== "number" || !Number.isFinite(body.elementStart) || typeof body.elementDuration !== "number" || !Number.isFinite(body.elementDuration) || body.elementDuration <= 0) {
@@ -10,23 +10,23 @@ import {
10
10
  import {
11
11
  launchManagedBrowser,
12
12
  resolveManagedGpuMode
13
- } from "./chunk-P73WQPSB.js";
13
+ } from "./chunk-WN62HDA7.js";
14
14
  import {
15
15
  windowsChromeCrashRemediation
16
16
  } from "./chunk-262C25DQ.js";
17
17
  import {
18
18
  resolveDiagnosticNavigationTimeoutMs
19
- } from "./chunk-SC7ICSIU.js";
19
+ } from "./chunk-NCQV2NMY.js";
20
20
  import {
21
21
  resolveLocalBrowserGpuMode
22
- } from "./chunk-WZYHTXZY.js";
22
+ } from "./chunk-6FRHKGRY.js";
23
23
  import {
24
24
  c
25
25
  } from "./chunk-ZTZA4UWZ.js";
26
26
  import {
27
27
  assertWebGpuAdapterAvailable,
28
28
  compositionRequiresWebGpu
29
- } from "./chunk-5MXN7WM4.js";
29
+ } from "./chunk-63O3AR5U.js";
30
30
  import {
31
31
  normalizeErrorMessage
32
32
  } from "./chunk-KNU5COPB.js";
@@ -102,7 +102,7 @@ async function openSettledCompositionPage(html, url, options) {
102
102
  const { ensureBrowser, findSystemBrowser } = await import("./manager-CT3D67CG.js");
103
103
  const browser = await ensureBrowser();
104
104
  const puppeteer = await import("puppeteer-core");
105
- const { buildChromeArgs } = await import("./src-IZMCUYK7.js");
105
+ const { buildChromeArgs } = await import("./src-X6ACPJHG.js");
106
106
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
107
107
  const requiresWebGpu = compositionRequiresWebGpu(html);
108
108
  const launch = async (executablePath) => {
@@ -1793,7 +1793,7 @@ function parseGsapScriptAcornForWrite(script) {
1793
1793
  (call) => tweenCallToAnimation(call, scope, script, identifierBindings)
1794
1794
  );
1795
1795
  applyTimelineDefaults(rawAnims, detection.defaults);
1796
- resolveTimelinePositions(rawAnims);
1796
+ resolveTimelinePositions(rawAnims, collectAddLabelDefs(ast, ref, scope, calls));
1797
1797
  const animations = assignStableIds(rawAnims);
1798
1798
  const located = calls.map((call, i) => ({
1799
1799
  id: animations[i].id,
@@ -8,7 +8,7 @@ import {
8
8
  firstFrameColourArgs,
9
9
  hdrToSdrToneMapFilter,
10
10
  parseFirstFrameColour
11
- } from "./chunk-IEE7GIVX.js";
11
+ } from "./chunk-AKZD7VWZ.js";
12
12
  import {
13
13
  mkdirWithinProject,
14
14
  realProjectRoot,
@@ -21,7 +21,7 @@ import {
21
21
  isUnresolvedAssetPlaceholder,
22
22
  maskNonScannableRanges,
23
23
  resolveLocalAssetCandidates
24
- } from "./chunk-YJEGT5L6.js";
24
+ } from "./chunk-NITBGIHR.js";
25
25
  import {
26
26
  findFfBinary
27
27
  } from "./chunk-PJ3HDUCY.js";