hyperframes 0.8.145 → 0.8.146

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 (186) hide show
  1. package/dist/{add-B6OUH46W.js → add-6J4TLUDW.js} +15 -15
  2. package/dist/{animatedGifPrep-MIWRDJIO.js → animatedGifPrep-TPYA45ZZ.js} +10 -10
  3. package/dist/{asset-XJ2B2PU3.js → asset-B4C6ZU4V.js} +2 -2
  4. package/dist/{assetCataloger-A5ZLSCMZ.js → assetCataloger-GX4B55VB.js} +4 -4
  5. package/dist/{auth-5HOVCZMV.js → auth-T2V3URGO.js} +2 -2
  6. package/dist/{autoUpdate-WVNL5K3D.js → autoUpdate-O4R7IOYP.js} +2 -2
  7. package/dist/{backgroundChecks-IGF54SFH.js → backgroundChecks-SQHGZCSH.js} +3 -3
  8. package/dist/backgroundChecksWorker.js +3 -3
  9. package/dist/{batchRender-T6JEGCQV.js → batchRender-T7S2CGJE.js} +5 -5
  10. package/dist/{beats-37T6Y6QP.js → beats-RNEXDM7U.js} +16 -16
  11. package/dist/{benchmark-ZVVLOWPP.js → benchmark-IVK6FCEU.js} +12 -12
  12. package/dist/{browser-4SSJOLH4.js → browser-WUE6VK2N.js} +5 -5
  13. package/dist/{bundleWithLocalizedFonts-XWK423QP.js → bundleWithLocalizedFonts-EEIRL7FT.js} +2 -2
  14. package/dist/{capture-2SF7YP57.js → capture-K3EONGGU.js} +2 -2
  15. package/dist/{capture-KZXOPBMO.js → capture-LEKIGJ4G.js} +13 -13
  16. package/dist/{catalog-NLD4A2C6.js → catalog-IXYQ2KXW.js} +15 -15
  17. package/dist/{catch-up-4BSRN6IR.js → catch-up-IIF7HKR6.js} +6 -6
  18. package/dist/{check-IA44QQWM.js → check-W7CDOXNP.js} +38 -38
  19. package/dist/{checkBrowser-VM35KZMW.js → checkBrowser-5VSXEHBZ.js} +118 -61
  20. package/dist/{chunk-ZF7SXQJ7.js → chunk-2NAUEDA6.js} +2 -2
  21. package/dist/{chunk-FXJJCPPB.js → chunk-3HSWLZ6S.js} +1 -1
  22. package/dist/{chunk-ZSVUAVMT.js → chunk-4RUILXS6.js} +5 -5
  23. package/dist/{chunk-FBCULCAL.js → chunk-54UXJKFF.js} +1 -1
  24. package/dist/{chunk-DIRJ322I.js → chunk-66SAATRI.js} +3 -3
  25. package/dist/{chunk-QLSM7K5S.js → chunk-6TTAXMDG.js} +2 -2
  26. package/dist/{chunk-5WVW7P23.js → chunk-A72OAGNB.js} +6 -6
  27. package/dist/{chunk-G75ENCEZ.js → chunk-AIJS74LG.js} +3 -3
  28. package/dist/{chunk-HB7FJOY4.js → chunk-AJ5R4GM6.js} +1 -1
  29. package/dist/{chunk-VRW6EBHV.js → chunk-BAKPN2D2.js} +101 -94
  30. package/dist/{chunk-OTHDVXOJ.js → chunk-CVPWZ5LY.js} +3 -3
  31. package/dist/{chunk-BIAC7IJT.js → chunk-DDNS2674.js} +1 -1
  32. package/dist/{chunk-QFSCCQIR.js → chunk-DMKI64EZ.js} +1 -1
  33. package/dist/{chunk-EPE2HRJK.js → chunk-DUU77E2S.js} +69 -64
  34. package/dist/{chunk-ZIYZ77MR.js → chunk-EGO6Z24R.js} +3 -3
  35. package/dist/{chunk-KC5XXX3X.js → chunk-EOOEC32M.js} +1 -1
  36. package/dist/{chunk-3IBMBNYY.js → chunk-ETNQF37F.js} +10 -10
  37. package/dist/{chunk-XIHCMVMG.js → chunk-FDL4HV44.js} +2 -2
  38. package/dist/{chunk-GBGJ7A3D.js → chunk-FJLHVAPO.js} +6 -6
  39. package/dist/{chunk-QZ3AZTXI.js → chunk-FJWEYVEM.js} +42 -16
  40. package/dist/{chunk-IHTRYDFN.js → chunk-FKLYMV3U.js} +1 -1
  41. package/dist/{chunk-PUGIRFPX.js → chunk-FMNVTKX2.js} +4 -4
  42. package/dist/{chunk-GEMJYBRU.js → chunk-HBGJYBGE.js} +2 -2
  43. package/dist/{chunk-U5QY7KTN.js → chunk-HTM4CIFS.js} +11 -8
  44. package/dist/{chunk-T42U2W2R.js → chunk-IXLUTE6N.js} +1 -1
  45. package/dist/{chunk-FDT6KQV4.js → chunk-JBQJKC23.js} +2 -2
  46. package/dist/{chunk-IEIJRMLZ.js → chunk-JDB65PPT.js} +62 -63
  47. package/dist/{chunk-USDEMXXL.js → chunk-JYVGYKXG.js} +1 -1
  48. package/dist/{chunk-PLR7Z6TC.js → chunk-K7ES5RSK.js} +1 -1
  49. package/dist/{chunk-VHFEMFYL.js → chunk-KFZUUXUN.js} +3 -3
  50. package/dist/{chunk-GRY3PN3K.js → chunk-KG265HQ7.js} +2 -2
  51. package/dist/{chunk-R42WWQVB.js → chunk-KPJMBC4K.js} +2 -2
  52. package/dist/{chunk-MAYCCGMQ.js → chunk-KVGDFUVO.js} +1 -1
  53. package/dist/{chunk-CFUXNBWH.js → chunk-LE7T4ML7.js} +1 -1
  54. package/dist/{chunk-MQZVBHEY.js → chunk-LFNQDTSH.js} +1 -1
  55. package/dist/{chunk-KIFHYXPB.js → chunk-MOL32UKR.js} +45 -11
  56. package/dist/{chunk-ICKDMTLA.js → chunk-QSSPIATO.js} +2 -2
  57. package/dist/{chunk-3KU3PFDW.js → chunk-R6R74HNZ.js} +74 -66
  58. package/dist/{chunk-ADF3X6GM.js → chunk-SYMSKGXI.js} +2 -2
  59. package/dist/{chunk-ZEUONDQG.js → chunk-SYUGVPYH.js} +1 -1
  60. package/dist/{chunk-BFACGEII.js → chunk-TBOMPYG6.js} +2 -2
  61. package/dist/{chunk-XBX4QJP7.js → chunk-TH4OXAWY.js} +1 -1
  62. package/dist/{chunk-GMAJB2P6.js → chunk-UOBYRLDD.js} +1 -1
  63. package/dist/{chunk-4QWD6JYN.js → chunk-UZUUVYAO.js} +3 -3
  64. package/dist/{chunk-PJ3HDUCY.js → chunk-VAS6HQX3.js} +39 -9
  65. package/dist/{chunk-6LGNTUZN.js → chunk-VT563F4O.js} +7 -7
  66. package/dist/{chunk-UXO2L7HJ.js → chunk-WU2B74TL.js} +267 -65
  67. package/dist/{chunk-OB5MJR4W.js → chunk-WUZ6TMAO.js} +1 -1
  68. package/dist/{chunk-GQJZORQP.js → chunk-XBSPQ52S.js} +1 -1
  69. package/dist/{chunk-4ORLNTET.js → chunk-XJUZEB44.js} +1 -1
  70. package/dist/{chunk-LAFJSYDL.js → chunk-XVIYZU3D.js} +1 -1
  71. package/dist/{chunk-GXJEGZL2.js → chunk-Z5C4LEAD.js} +17 -18
  72. package/dist/chunk-Z6FLHIDV.js +3795 -0
  73. package/dist/{chunk-DDIVWXN7.js → chunk-ZFN6GQU4.js} +4 -4
  74. package/dist/{chunk-DWUKJQTO.js → chunk-ZVZSFDW3.js} +2 -2
  75. package/dist/{chunk-5NRXZGKK.js → chunk-ZZ7H4IJ6.js} +9 -9
  76. package/dist/{clean-RDKJB5FK.js → clean-2GDD2B4F.js} +23 -23
  77. package/dist/cli.js +52 -52
  78. package/dist/{cloud-QVPVVNCW.js → cloud-LUKGDTTE.js} +4 -4
  79. package/dist/{cloudrun-3RE2UCQG.js → cloudrun-NQF5KFQI.js} +6 -6
  80. package/dist/{compare-LEDOY7MO.js → compare-4P6O4ONG.js} +32 -32
  81. package/dist/{compiler-F54OZZPM.js → compiler-ACCPOZMQ.js} +6 -6
  82. package/dist/{component-N42M67WY.js → component-SDDOLNJD.js} +3 -3
  83. package/dist/{compositions-VB2J2LZI.js → compositions-P2L6HUVQ.js} +15 -15
  84. package/dist/{delete-Q6RWMJ4Z.js → delete-Q6S4BJ3F.js} +2 -2
  85. package/dist/{deterministicFonts-U2BIMGPG.js → deterministicFonts-C5JQLCTS.js} +2 -2
  86. package/dist/{dist-Q4BI5A73.js → dist-GPDOV3IQ.js} +4 -4
  87. package/dist/{dist-KDJTFJHA.js → dist-HUMFCJ6T.js} +3 -3
  88. package/dist/{doctor-JMMUHDRV.js → doctor-NL73UKHV.js} +15 -15
  89. package/dist/{events-RGUAHIBW.js → events-AVOPOKO3.js} +5 -5
  90. package/dist/{events-6ZBSIBE5.js → events-X7KPU7LG.js} +4 -4
  91. package/dist/{feedback-FIID6MZW.js → feedback-GJZ5NXSH.js} +10 -10
  92. package/dist/{ffmpeg-T5SH2EFJ.js → ffmpeg-5V4FP3R6.js} +2 -2
  93. package/dist/{figma-BL3JJC36.js → figma-V7SVQQI5.js} +3 -3
  94. package/dist/fontLocalizeCli.js +14 -14
  95. package/dist/{get-P46GS7S6.js → get-FO3YZYEU.js} +2 -2
  96. package/dist/{gpuPolicy-AQ2BPLBK.js → gpuPolicy-QGS4TFWP.js} +10 -10
  97. package/dist/{grade-compare-GDCWU7ZZ.js → grade-compare-7ICSN7KE.js} +33 -33
  98. package/dist/{help-HJR3RWFG.js → help-Y5LYZG7K.js} +2 -2
  99. package/dist/{history-GGO5AWJB.js → history-RKGBRNLD.js} +49 -22
  100. package/dist/hyperframe-runtime.js +214 -68
  101. package/dist/hyperframe.manifest.json +1 -1
  102. package/dist/hyperframe.runtime.iife.js +214 -68
  103. package/dist/hyperframes-player.global.js +4 -5
  104. package/dist/hyperframes-slideshow.global.js +3 -4
  105. package/dist/{info-3GFWUBJC.js → info-GGUTL2NR.js} +11 -11
  106. package/dist/{init-36OPU2ZG.js → init-PG7NA5SQ.js} +31 -31
  107. package/dist/{inspect-F2HEL5ON.js → inspect-FCXUB6DE.js} +33 -33
  108. package/dist/{installer-NI6P6GC4.js → installer-LZ4X5TZZ.js} +6 -6
  109. package/dist/{keyframes-7OY3LMAZ.js → keyframes-R3K6WJ3N.js} +8 -8
  110. package/dist/{lambda-6GJIWNJ3.js → lambda-3GAKHMC3.js} +7 -7
  111. package/dist/{layout-FTMLNL5A.js → layout-XNIZIGA2.js} +33 -33
  112. package/dist/{lint-U6POHUON.js → lint-4KDS2F4O.js} +11 -11
  113. package/dist/{lintProject-UBZ3TDHU.js → lintProject-SSEXWCH6.js} +3 -3
  114. package/dist/{list-IP5KI5Q2.js → list-OVPURFPK.js} +2 -2
  115. package/dist/{login-4VWTVPHG.js → login-EE2AX2PE.js} +4 -4
  116. package/dist/{manager-YKMHR6LN.js → manager-5ORDVWJB.js} +3 -3
  117. package/dist/{media-treatment-XGV44AGV.js → media-treatment-UDUEOP67.js} +82 -54
  118. package/dist/{models-UCXB6UR5.js → models-LPK2O4B2.js} +14 -14
  119. package/dist/{motionShot-WPVNBXKA.js → motionShot-G76XBOYI.js} +35 -29
  120. package/dist/{normalize-audio-TYJ3UEHO.js → normalize-audio-TUKWZ3OR.js} +10 -10
  121. package/dist/{open-HENOLVB2.js → open-7XB2TGVB.js} +6 -6
  122. package/dist/{parakeetRunner-VFQ6WFTD.js → parakeetRunner-DL556HXL.js} +14 -14
  123. package/dist/{pipeline-6WPSC3H4.js → pipeline-34N5DLWU.js} +11 -11
  124. package/dist/{play-OI53WNUM.js → play-DDA2UUQF.js} +26 -26
  125. package/dist/{preflight-B4AFK3RG.js → preflight-ONF5AJNO.js} +5 -5
  126. package/dist/{present-NGMEQ4NO.js → present-LLNRKXF5.js} +23 -23
  127. package/dist/{preview-VT2HWRWZ.js → preview-H3ZZS46F.js} +57 -26
  128. package/dist/{producer-7TYEAUF7.js → producer-IFQOZK2G.js} +1 -1
  129. package/dist/{projectConfig-B2AF5DXY.js → projectConfig-SBRMQZGG.js} +8 -8
  130. package/dist/{publication-2PANQVC6.js → publication-5BQICRZO.js} +4 -4
  131. package/dist/{publish-O5OL42BG.js → publish-XDUZA3E3.js} +27 -26
  132. package/dist/{remove-background-T2JM6UVP.js → remove-background-GNKRMFQS.js} +12 -12
  133. package/dist/{render-Z253WHBK.js → render-JM6KNRIA.js} +27 -27
  134. package/dist/{render-OLPKOJRU.js → render-KTTC3EE5.js} +12 -12
  135. package/dist/{render-W7OFXDOJ.js → render-PCFO45RK.js} +5 -5
  136. package/dist/{render-batch-46IIBFKL.js → render-batch-7R2NRNVJ.js} +5 -5
  137. package/dist/{renderCancellation-QTZOCDJ2.js → renderCancellation-GP3XD2FS.js} +10 -10
  138. package/dist/renderSetupWorker.js +3 -3
  139. package/dist/{resolver-J2PL5FVJ.js → resolver-C4FPX72I.js} +6 -6
  140. package/dist/{sherpa-ZF42V3RN.js → sherpa-MZP3MV2X.js} +14 -14
  141. package/dist/skills/media-use/references/media-treatments.md +5 -1
  142. package/dist/{skills-ACDOO3PX.js → skills-OET4XSHR.js} +7 -7
  143. package/dist/{skillsUpdateCheck-L5OXVVPU.js → skillsUpdateCheck-IPFSKKJD.js} +3 -3
  144. package/dist/{slideshow-4OJEPWNZ.js → slideshow-YTWATJRT.js} +1 -1
  145. package/dist/{snapshot-UUVNZOW5.js → snapshot-EC4N75MS.js} +34 -34
  146. package/dist/{src-BSLKXEGX.js → src-LIERUCFW.js} +11 -9
  147. package/dist/{src-KS3AWFGT.js → src-ZZQJOKO6.js} +13 -13
  148. package/dist/{staticProjectServer-2TTVGPQH.js → staticProjectServer-YH2RHYKW.js} +20 -20
  149. package/dist/{status-LXPGSSKY.js → status-PTKNQD2E.js} +2 -2
  150. package/dist/studio/assets/{hyperframes-player-DZ5JrMDg.js → hyperframes-player-tkxyWf5H.js} +3 -3
  151. package/dist/studio/assets/{index-BqFRhNZa.js → index-BrdqOkqP.js} +1 -1
  152. package/dist/studio/assets/{index-D8W0a0Z9.js → index-Cg48BxAo.js} +135 -135
  153. package/dist/studio/assets/{index-BOs6C0aZ.js → index-Dllxg4aU.js} +1 -1
  154. package/dist/studio/index.html +1 -1
  155. package/dist/{studio-api-WYWF7XRC.js → studio-api-T2TS2CHL.js} +16 -14
  156. package/dist/{studioServer-3FG4YTP7.js → studioServer-GJVVJUEL.js} +50 -50
  157. package/dist/{system-OQLOGGPJ.js → system-OXRG57F2.js} +2 -2
  158. package/dist/{telemetry-PAOOB4T4.js → telemetry-ZQ5XVE6Z.js} +5 -5
  159. package/dist/{timeline-JIIJKKPC.js → timeline-I2T5WIPD.js} +34 -25
  160. package/dist/{tokens-3QRAM75Z.js → tokens-ONUWOXEX.js} +2 -2
  161. package/dist/{transcribe-QSBP5MUG.js → transcribe-BCQMA537.js} +12 -12
  162. package/dist/{transcribe-SZB6UMXE.js → transcribe-ZLJF7V5Y.js} +13 -13
  163. package/dist/{updateCheck-V3DSB26K.js → updateCheck-ZWHDXF73.js} +2 -2
  164. package/dist/{upgrade-L5GISOEV.js → upgrade-32JGFZWS.js} +2 -2
  165. package/dist/{urlDownloader-52FERT4X.js → urlDownloader-EVDP43GM.js} +9 -9
  166. package/dist/{validate-HVVLX7KO.js → validate-G4PUGQCI.js} +27 -27
  167. package/dist/{video-MEOWRMFG.js → video-TILEY3VJ.js} +10 -10
  168. package/package.json +3 -2
  169. package/dist/chunk-AUWHD7RA.js +0 -3753
  170. package/dist/studio/chunk-6JY3MTIX.js +0 -1204
  171. package/dist/studio/chunk-EEXSYY5F.js +0 -190
  172. package/dist/studio/chunk-NZPJUZKT.js +0 -1538
  173. package/dist/studio/chunk-PZ5AY32C.js +0 -10
  174. package/dist/studio/chunk-TP6D3U37.js +0 -845
  175. package/dist/studio/chunk-Y2OHHNM2.js +0 -970
  176. package/dist/studio/domEditingLayers-PTP2ICGM.js +0 -47
  177. package/dist/studio/index.css +0 -165
  178. package/dist/studio/index.d.ts +0 -4318
  179. package/dist/studio/index.js +0 -100952
  180. package/dist/studio/player.d.ts +0 -30
  181. package/dist/studio/player.js +0 -10
  182. package/dist/studio/styles/tailwind-preset.d.ts +0 -39
  183. package/dist/studio/styles/tailwind-preset.js +0 -50
  184. package/dist/studio/styles.css +0 -1
  185. package/dist/studio/ui.d.ts +0 -297
  186. package/dist/studio/ui.js +0 -66
@@ -1 +1 @@
1
- import{h as P}from"./index-D8W0a0Z9.js";function j(c,d){for(var s=0;s<d.length;s++){const a=d[s];if(typeof a!="string"&&!Array.isArray(a)){for(const i in a)if(i!=="default"&&!(i in c)){const l=Object.getOwnPropertyDescriptor(a,i);l&&Object.defineProperty(c,i,l.get?l:{enumerable:!0,get:()=>a[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var v={},w;function k(){if(w)return v;w=1,Object.defineProperty(v,"__esModule",{value:!0}),v.default=d;var c=window.OfflineAudioContext||window.webkitOfflineAudioContext;function d(e){var r=a(e);return r.start(0),[i,y,O(e.sampleRate),s].reduce(function(t,o){return o(t)},r.buffer.getChannelData(0))}function s(e){return e.sort(function(r,t){return t.count-r.count}).splice(0,5)[0].tempo}function a(e){var r=e.length,t=e.numberOfChannels,o=e.sampleRate,n=new c(t,r,o),u=n.createBufferSource();u.buffer=e;var f=n.createBiquadFilter();return f.type="lowpass",u.connect(f),f.connect(n.destination),u}function i(e){for(var r=[],t=.9,o=.3,n=15;r.length<n&&t>=o;)r=l(e,t),t-=.05;if(r.length<n)throw new Error("Could not find enough samples for a reliable detection.");return r}function l(e,r){for(var t=[],o=0,n=e.length;o<n;o+=1)e[o]>r&&(t.push(o),o+=1e4);return t}function y(e){var r=[];return e.forEach(function(t,o){for(var n=function(x){var h=e[o+x]-t,_=r.some(function(g){if(g.interval===h)return g.count+=1});_||r.push({interval:h,count:1})},u=0;u<10;u+=1)n(u)}),r}function O(e){return function(r){var t=[];return r.forEach(function(o){if(o.interval!==0){for(var n=60/(o.interval/e);n<90;)n*=2;for(;n>180;)n/=2;n=Math.round(n);var u=t.some(function(f){if(f.tempo===n)return f.count+=o.count});u||t.push({tempo:n,count:o.count})}}),t}}return v}var p,b;function q(){return b||(b=1,p=k().default),p}var m=q();const A=P(m),D=j({__proto__:null,default:A},[m]);export{D as i};
1
+ import{h as P}from"./index-Cg48BxAo.js";function j(c,d){for(var s=0;s<d.length;s++){const a=d[s];if(typeof a!="string"&&!Array.isArray(a)){for(const i in a)if(i!=="default"&&!(i in c)){const l=Object.getOwnPropertyDescriptor(a,i);l&&Object.defineProperty(c,i,l.get?l:{enumerable:!0,get:()=>a[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var v={},w;function k(){if(w)return v;w=1,Object.defineProperty(v,"__esModule",{value:!0}),v.default=d;var c=window.OfflineAudioContext||window.webkitOfflineAudioContext;function d(e){var r=a(e);return r.start(0),[i,y,O(e.sampleRate),s].reduce(function(t,o){return o(t)},r.buffer.getChannelData(0))}function s(e){return e.sort(function(r,t){return t.count-r.count}).splice(0,5)[0].tempo}function a(e){var r=e.length,t=e.numberOfChannels,o=e.sampleRate,n=new c(t,r,o),u=n.createBufferSource();u.buffer=e;var f=n.createBiquadFilter();return f.type="lowpass",u.connect(f),f.connect(n.destination),u}function i(e){for(var r=[],t=.9,o=.3,n=15;r.length<n&&t>=o;)r=l(e,t),t-=.05;if(r.length<n)throw new Error("Could not find enough samples for a reliable detection.");return r}function l(e,r){for(var t=[],o=0,n=e.length;o<n;o+=1)e[o]>r&&(t.push(o),o+=1e4);return t}function y(e){var r=[];return e.forEach(function(t,o){for(var n=function(x){var h=e[o+x]-t,_=r.some(function(g){if(g.interval===h)return g.count+=1});_||r.push({interval:h,count:1})},u=0;u<10;u+=1)n(u)}),r}function O(e){return function(r){var t=[];return r.forEach(function(o){if(o.interval!==0){for(var n=60/(o.interval/e);n<90;)n*=2;for(;n>180;)n/=2;n=Math.round(n);var u=t.some(function(f){if(f.tempo===n)return f.count+=o.count});u||t.push({tempo:n,count:o.count})}}),t}}return v}var p,b;function q(){return b||(b=1,p=k().default),p}var m=q();const A=P(m),D=j({__proto__:null,default:A},[m]);export{D as i};
@@ -14,7 +14,7 @@
14
14
  document.documentElement.dataset.theme = "paper";
15
15
  }
16
16
  </script>
17
- <script type="module" crossorigin src="/assets/index-D8W0a0Z9.js"></script>
17
+ <script type="module" crossorigin src="/assets/index-Cg48BxAo.js"></script>
18
18
  <link rel="stylesheet" crossorigin href="/assets/index-CVd4O6eH.css">
19
19
  </head>
20
20
  <body>
@@ -22,7 +22,7 @@ import {
22
22
  getMimeType,
23
23
  stampProjectHfIds,
24
24
  thumbnailDeviceScaleFactor
25
- } from "./chunk-GXJEGZL2.js";
25
+ } from "./chunk-Z5C4LEAD.js";
26
26
  import {
27
27
  dedupeClonedCompositionId,
28
28
  findTargetElement,
@@ -30,7 +30,7 @@ import {
30
30
  patchElementInHtml,
31
31
  removeElementFromHtml,
32
32
  splitElementInHtml
33
- } from "./chunk-5WVW7P23.js";
33
+ } from "./chunk-A72OAGNB.js";
34
34
  import {
35
35
  DEFAULT_HISTORY_ROOT,
36
36
  DELETED_VERSION,
@@ -50,35 +50,36 @@ import {
50
50
  listProjectHistories,
51
51
  openProjectHistory,
52
52
  pruneGoneProjectHistories,
53
+ readProjectHistory,
53
54
  settledFileTag
54
- } from "./chunk-QZ3AZTXI.js";
55
+ } from "./chunk-FJWEYVEM.js";
55
56
  import {
56
57
  requestSubPath
57
- } from "./chunk-DDIVWXN7.js";
58
+ } from "./chunk-ZFN6GQU4.js";
58
59
  import {
59
60
  CACHE_DIR_NAME,
60
61
  cleanupProxyCache
61
- } from "./chunk-KIFHYXPB.js";
62
+ } from "./chunk-MOL32UKR.js";
62
63
  import {
63
64
  STUDIO_MOTION_PATH,
64
65
  createStudioMotionRenderBodyScript,
65
66
  walkDir
66
- } from "./chunk-G75ENCEZ.js";
67
+ } from "./chunk-AIJS74LG.js";
67
68
  import "./chunk-EOVYQ3IG.js";
68
69
  import "./chunk-374QQGBQ.js";
69
70
  import {
70
71
  STUDIO_MANUAL_EDITS_PATH,
71
72
  createStudioManualEditsRenderBodyScript,
72
73
  createStudioPositionSeekReapplyScript
73
- } from "./chunk-KC5XXX3X.js";
74
+ } from "./chunk-EOOEC32M.js";
74
75
  import "./chunk-TJSTGSAW.js";
75
- import "./chunk-FDT6KQV4.js";
76
+ import "./chunk-JBQJKC23.js";
76
77
  import "./chunk-NE55C6S5.js";
77
- import "./chunk-VRW6EBHV.js";
78
- import "./chunk-AUWHD7RA.js";
78
+ import "./chunk-BAKPN2D2.js";
79
+ import "./chunk-Z6FLHIDV.js";
79
80
  import "./chunk-VC76R6W2.js";
80
81
  import "./chunk-YA62XGXS.js";
81
- import "./chunk-MQZVBHEY.js";
82
+ import "./chunk-LFNQDTSH.js";
82
83
  import {
83
84
  isSafePath
84
85
  } from "./chunk-OFQWTKPW.js";
@@ -86,17 +87,17 @@ import "./chunk-DPVXBVLL.js";
86
87
  import "./chunk-T76PLPD6.js";
87
88
  import "./chunk-FXMKHHPO.js";
88
89
  import "./chunk-RQVDTPGD.js";
89
- import "./chunk-IEIJRMLZ.js";
90
+ import "./chunk-JDB65PPT.js";
90
91
  import "./chunk-IWFLMU2N.js";
91
92
  import "./chunk-APDLWWFG.js";
92
- import "./chunk-PJ3HDUCY.js";
93
+ import "./chunk-VAS6HQX3.js";
93
94
  import "./chunk-3RM2ETQT.js";
94
95
  import {
95
96
  decodeWellFormedEscapes
96
97
  } from "./chunk-BSQ7XANM.js";
97
98
  import "./chunk-SDYDNHEE.js";
98
99
  import "./chunk-2PSPARWP.js";
99
- import "./chunk-T42U2W2R.js";
100
+ import "./chunk-IXLUTE6N.js";
100
101
  import "./chunk-M2WBOQ2Q.js";
101
102
  export {
102
103
  DEFAULT_HISTORY_ROOT,
@@ -144,6 +145,7 @@ export {
144
145
  parseSourceDocument,
145
146
  patchElementInHtml,
146
147
  pruneGoneProjectHistories,
148
+ readProjectHistory,
147
149
  removeElementFromHtml,
148
150
  requestSubPath,
149
151
  settledFileTag,
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  seekCompositionTimeline
9
- } from "./chunk-U5QY7KTN.js";
9
+ } from "./chunk-HTM4CIFS.js";
10
10
  import "./chunk-FH7WODJH.js";
11
- import "./chunk-4ORLNTET.js";
11
+ import "./chunk-XJUZEB44.js";
12
12
  import {
13
13
  renderJobObservabilityTelemetryPayload,
14
14
  renderObservabilityTelemetryPayload
15
15
  } from "./chunk-VXVRPIJA.js";
16
- import "./chunk-FXJJCPPB.js";
16
+ import "./chunk-3HSWLZ6S.js";
17
17
  import "./chunk-WPNE5NEP.js";
18
18
  import {
19
19
  HANDOFF_READY,
@@ -34,8 +34,8 @@ import {
34
34
  getMimeType,
35
35
  stampProjectHfIds,
36
36
  thumbnailDeviceScaleFactor
37
- } from "./chunk-GXJEGZL2.js";
38
- import "./chunk-5WVW7P23.js";
37
+ } from "./chunk-Z5C4LEAD.js";
38
+ import "./chunk-A72OAGNB.js";
39
39
  import {
40
40
  DEFAULT_HISTORY_ROOT,
41
41
  DELETED_VERSION,
@@ -48,10 +48,10 @@ import {
48
48
  historyCache,
49
49
  identifyFileWrite,
50
50
  openProjectHistory
51
- } from "./chunk-QZ3AZTXI.js";
52
- import "./chunk-DDIVWXN7.js";
53
- import "./chunk-KIFHYXPB.js";
54
- import "./chunk-G75ENCEZ.js";
51
+ } from "./chunk-FJWEYVEM.js";
52
+ import "./chunk-ZFN6GQU4.js";
53
+ import "./chunk-MOL32UKR.js";
54
+ import "./chunk-AIJS74LG.js";
55
55
  import "./chunk-DCAI5DBR.js";
56
56
  import {
57
57
  isAtomicTempPath,
@@ -61,60 +61,60 @@ import {
61
61
  resolveCaptureBrowserGpuMode,
62
62
  resolveLocalBrowserGpuMode,
63
63
  resolveLocalWebGpu
64
- } from "./chunk-ADF3X6GM.js";
64
+ } from "./chunk-SYMSKGXI.js";
65
65
  import {
66
66
  resolveRenderBrowser
67
- } from "./chunk-DIRJ322I.js";
67
+ } from "./chunk-66SAATRI.js";
68
68
  import "./chunk-442JNXRM.js";
69
69
  import {
70
70
  resolveAutoProxy
71
- } from "./chunk-CFUXNBWH.js";
71
+ } from "./chunk-LE7T4ML7.js";
72
72
  import "./chunk-XT7X6QCP.js";
73
73
  import "./chunk-4YYJOFKS.js";
74
74
  import "./chunk-HVW7ABXD.js";
75
- import "./chunk-BIAC7IJT.js";
76
- import "./chunk-XIHCMVMG.js";
77
- import "./chunk-LAFJSYDL.js";
75
+ import "./chunk-DDNS2674.js";
76
+ import "./chunk-FDL4HV44.js";
77
+ import "./chunk-XVIYZU3D.js";
78
78
  import "./chunk-AWDFDFI3.js";
79
79
  import "./chunk-P6LJ4Y32.js";
80
- import "./chunk-ZEUONDQG.js";
80
+ import "./chunk-SYUGVPYH.js";
81
81
  import "./chunk-374QQGBQ.js";
82
82
  import {
83
83
  trackRenderComplete,
84
84
  trackRenderError
85
- } from "./chunk-ICKDMTLA.js";
85
+ } from "./chunk-QSSPIATO.js";
86
86
  import {
87
87
  canaryDecisionsForStudio,
88
88
  resetTelemetryPostureCache,
89
89
  shouldTrack
90
- } from "./chunk-ZF7SXQJ7.js";
90
+ } from "./chunk-2NAUEDA6.js";
91
91
  import "./chunk-VWG7OQKU.js";
92
92
  import {
93
93
  bytesToMb,
94
94
  detectAgentRuntime
95
- } from "./chunk-GQJZORQP.js";
95
+ } from "./chunk-XBSPQ52S.js";
96
96
  import "./chunk-AMKC3AXA.js";
97
97
  import "./chunk-GMECXFAN.js";
98
98
  import "./chunk-54HJ63Q2.js";
99
99
  import "./chunk-PBN6GBJE.js";
100
100
  import {
101
101
  createStudioManualEditsRenderBodyScript
102
- } from "./chunk-KC5XXX3X.js";
102
+ } from "./chunk-EOOEC32M.js";
103
103
  import "./chunk-TJSTGSAW.js";
104
104
  import {
105
105
  assertWebGpuAdapterAvailable,
106
106
  compositionRequiresWebGpu
107
- } from "./chunk-UXO2L7HJ.js";
108
- import "./chunk-FDT6KQV4.js";
107
+ } from "./chunk-WU2B74TL.js";
108
+ import "./chunk-JBQJKC23.js";
109
109
  import "./chunk-NE55C6S5.js";
110
- import "./chunk-USDEMXXL.js";
110
+ import "./chunk-JYVGYKXG.js";
111
111
  import {
112
112
  fpsToNumber
113
- } from "./chunk-VRW6EBHV.js";
114
- import "./chunk-AUWHD7RA.js";
113
+ } from "./chunk-BAKPN2D2.js";
114
+ import "./chunk-Z6FLHIDV.js";
115
115
  import "./chunk-VC76R6W2.js";
116
116
  import "./chunk-YA62XGXS.js";
117
- import "./chunk-MQZVBHEY.js";
117
+ import "./chunk-LFNQDTSH.js";
118
118
  import {
119
119
  realpath
120
120
  } from "./chunk-OFQWTKPW.js";
@@ -127,17 +127,17 @@ import {
127
127
  runRenderSetupWorker
128
128
  } from "./chunk-BYSBRF24.js";
129
129
  import "./chunk-TWWSYAKJ.js";
130
- import "./chunk-IEIJRMLZ.js";
130
+ import "./chunk-JDB65PPT.js";
131
131
  import {
132
132
  isWithinProjectRoot
133
133
  } from "./chunk-IWFLMU2N.js";
134
134
  import "./chunk-APDLWWFG.js";
135
- import "./chunk-PJ3HDUCY.js";
135
+ import "./chunk-VAS6HQX3.js";
136
136
  import "./chunk-3RM2ETQT.js";
137
137
  import "./chunk-BSQ7XANM.js";
138
138
  import "./chunk-SDYDNHEE.js";
139
139
  import "./chunk-2PSPARWP.js";
140
- import "./chunk-T42U2W2R.js";
140
+ import "./chunk-IXLUTE6N.js";
141
141
  import "./chunk-K4WIOZFP.js";
142
142
  import {
143
143
  readConfig,
@@ -149,7 +149,7 @@ import {
149
149
  } from "./chunk-ISN5GRYI.js";
150
150
  import {
151
151
  VERSION
152
- } from "./chunk-BFACGEII.js";
152
+ } from "./chunk-TBOMPYG6.js";
153
153
  import "./chunk-KNU5COPB.js";
154
154
  import "./chunk-3GXQPCJC.js";
155
155
  import "./chunk-ZTZA4UWZ.js";
@@ -357,7 +357,7 @@ var ENTRY_TS = resolve(__dirname, "..", "..", "..", "core", "src", "runtime", "e
357
357
  async function buildFromSource() {
358
358
  if (!existsSync(ENTRY_TS)) return null;
359
359
  try {
360
- const mod = await import("./dist-Q4BI5A73.js");
360
+ const mod = await import("./dist-GPDOV3IQ.js");
361
361
  if (typeof mod.loadHyperframeRuntimeSource === "function") {
362
362
  const source = mod.loadHyperframeRuntimeSource();
363
363
  if (source) return source;
@@ -368,7 +368,7 @@ async function buildFromSource() {
368
368
  }
369
369
  async function getInlinedRuntime() {
370
370
  try {
371
- const mod = await import("./dist-Q4BI5A73.js");
371
+ const mod = await import("./dist-GPDOV3IQ.js");
372
372
  if (typeof mod.getHyperframeRuntimeScript === "function") {
373
373
  return mod.getHyperframeRuntimeScript() ?? null;
374
374
  }
@@ -712,13 +712,13 @@ var RENDER_SHUTDOWN_WAIT_MS = 2e3;
712
712
  var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
713
713
  var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
714
714
  async function loadStudioProducer() {
715
- if (!isDevMode()) return await import("./src-KS3AWFGT.js");
715
+ if (!isDevMode()) return await import("./src-ZZQJOKO6.js");
716
716
  if (!process.versions.bun) {
717
717
  throw new Error(
718
718
  "Studio dev-mode rendering requires bun (the producer is loaded from TypeScript source, which Node cannot resolve). Restart the studio with `bun run studio`."
719
719
  );
720
720
  }
721
- return await import("./src-KS3AWFGT.js");
721
+ return await import("./src-ZZQJOKO6.js");
722
722
  }
723
723
  function resolveDistDir() {
724
724
  return resolveStudioBundle().dir;
@@ -833,7 +833,7 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
833
833
  try {
834
834
  if (isShuttingDown()) return null;
835
835
  const { ensureBrowser } = await import("./manager-BPSR6D3V.js");
836
- const { acquireBrowser, buildChromeArgs } = await import("./src-BSLKXEGX.js");
836
+ const { acquireBrowser, buildChromeArgs } = await import("./src-LIERUCFW.js");
837
837
  let executablePath;
838
838
  try {
839
839
  const b = await ensureBrowser({ preferManagedChrome: true });
@@ -993,7 +993,7 @@ function createStudioServer(options) {
993
993
  resolveProject: (id) => id === projectId ? project : null,
994
994
  async bundle(dir, options2) {
995
995
  try {
996
- const { bundleToSingleHtml } = await import("./compiler-F54OZZPM.js");
996
+ const { bundleToSingleHtml } = await import("./compiler-ACCPOZMQ.js");
997
997
  let html = await bundleToSingleHtml(dir, { ...PREVIEW_BUNDLE_OPTIONS, ...options2 });
998
998
  html = html.replace(
999
999
  'data-hyperframes-preview-runtime="1" src=""',
@@ -1006,9 +1006,9 @@ function createStudioServer(options) {
1006
1006
  }
1007
1007
  },
1008
1008
  async transformPreviewHtml({ html, project: project2 }) {
1009
- const { injectDeterministicFontFaces } = await import("./deterministicFonts-U2BIMGPG.js");
1010
- const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-MIWRDJIO.js");
1011
- const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-52FERT4X.js");
1009
+ const { injectDeterministicFontFaces } = await import("./deterministicFonts-C5JQLCTS.js");
1010
+ const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-TPYA45ZZ.js");
1011
+ const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-EVDP43GM.js");
1012
1012
  const gifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "gif");
1013
1013
  const gifDownloadDir = join2(project2.dir, ".hyperframes", "prepared-assets", "downloads");
1014
1014
  const prepared = await prepareAnimatedGifInputs(html, {
@@ -1032,7 +1032,7 @@ function createStudioServer(options) {
1032
1032
  if (resolve2(dir) === resolve2(projectDir)) cachedProjectSignature = null;
1033
1033
  },
1034
1034
  async lint(html, opts) {
1035
- const { lintHyperframeHtml } = await import("./dist-KDJTFJHA.js");
1035
+ const { lintHyperframeHtml } = await import("./dist-HUMFCJ6T.js");
1036
1036
  return await lintHyperframeHtml(html, { ...opts, host: "studio" });
1037
1037
  },
1038
1038
  // Out of process: linting a large composition is seconds of synchronous parsing, and on
@@ -1150,7 +1150,7 @@ function createStudioServer(options) {
1150
1150
  startBackgroundRemoval(opts) {
1151
1151
  return createBackgroundRemovalJob(opts, async (renderOpts) => {
1152
1152
  const sourcePipelinePath = "../background-removal/pipeline.ts";
1153
- const pipeline = await import("./pipeline-6WPSC3H4.js").catch(
1153
+ const pipeline = await import("./pipeline-34N5DLWU.js").catch(
1154
1154
  () => import(sourcePipelinePath)
1155
1155
  );
1156
1156
  return pipeline.render(renderOpts);
@@ -1235,8 +1235,8 @@ function createStudioServer(options) {
1235
1235
  }
1236
1236
  },
1237
1237
  async listRegistryCatalog() {
1238
- const { listRegistryItems, loadAllItems } = await import("./resolver-J2PL5FVJ.js");
1239
- const { loadProjectConfig } = await import("./projectConfig-B2AF5DXY.js");
1238
+ const { listRegistryItems, loadAllItems } = await import("./resolver-C4FPX72I.js");
1239
+ const { loadProjectConfig } = await import("./projectConfig-SBRMQZGG.js");
1240
1240
  const registry = { baseUrl: loadProjectConfig(projectDir).registry };
1241
1241
  const entries = await listRegistryItems(void 0, registry);
1242
1242
  const blockAndComponentEntries = entries.filter(
@@ -1245,9 +1245,9 @@ function createStudioServer(options) {
1245
1245
  return loadAllItems(blockAndComponentEntries, registry);
1246
1246
  },
1247
1247
  async installRegistryBlock(opts) {
1248
- const { addToProject, primaryInstalledTarget } = await import("./add-B6OUH46W.js");
1249
- const { recordRewrittenInstall } = await import("./installer-NI6P6GC4.js");
1250
- const { registryTargetPath } = await import("./publication-2PANQVC6.js");
1248
+ const { addToProject, primaryInstalledTarget } = await import("./add-6J4TLUDW.js");
1249
+ const { recordRewrittenInstall } = await import("./installer-LZ4X5TZZ.js");
1250
+ const { registryTargetPath } = await import("./publication-5BQICRZO.js");
1251
1251
  const { result, item } = await addToProject({
1252
1252
  name: opts.blockName,
1253
1253
  projectDir: opts.project.dir,
@@ -1348,8 +1348,8 @@ function createStudioServer(options) {
1348
1348
  app.get("/api/environment/ffmpeg", async (c) => {
1349
1349
  if (ffmpegReady) return c.json({ ok: true });
1350
1350
  const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
1351
- import("./preflight-B4AFK3RG.js"),
1352
- import("./ffmpeg-T5SH2EFJ.js")
1351
+ import("./preflight-ONF5AJNO.js"),
1352
+ import("./ffmpeg-5V4FP3R6.js")
1353
1353
  ]);
1354
1354
  const { outcomes } = await runEnvironmentChecks();
1355
1355
  const failed = outcomes.find((outcome) => !outcome.ok);
@@ -1368,7 +1368,7 @@ function createStudioServer(options) {
1368
1368
  mountDesktopRoutes(app, projectDir);
1369
1369
  let cachedFFmpegPath;
1370
1370
  app.post("/api/projects/:id/render", async (c, next) => {
1371
- const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-T5SH2EFJ.js");
1371
+ const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-5V4FP3R6.js");
1372
1372
  if (!cachedFFmpegPath) {
1373
1373
  cachedFFmpegPath = findFFmpeg();
1374
1374
  }
@@ -1484,7 +1484,7 @@ function createStudioServer(options) {
1484
1484
  });
1485
1485
  const renders = [...inFlightRenders];
1486
1486
  for (const [abortController] of renders) abortController.abort();
1487
- const { killTrackedProcesses, closeBrowserPool } = await import("./src-BSLKXEGX.js");
1487
+ const { killTrackedProcesses, closeBrowserPool } = await import("./src-LIERUCFW.js");
1488
1488
  killTrackedProcesses();
1489
1489
  const closeBrowsers = Promise.allSettled([
1490
1490
  closeThumbnailBrowser().catch(() => {
@@ -12,9 +12,9 @@ import {
12
12
  getShmSizeMb,
13
13
  getSystemMeta,
14
14
  parsePmsetPowerSource
15
- } from "./chunk-GQJZORQP.js";
15
+ } from "./chunk-XBSPQ52S.js";
16
16
  import "./chunk-AMKC3AXA.js";
17
- import "./chunk-USDEMXXL.js";
17
+ import "./chunk-JYVGYKXG.js";
18
18
  import "./chunk-M2WBOQ2Q.js";
19
19
  export {
20
20
  bytesToMb,
@@ -17,25 +17,25 @@ import {
17
17
  trackInitTemplate,
18
18
  trackRenderComplete,
19
19
  trackRenderError
20
- } from "./chunk-ICKDMTLA.js";
20
+ } from "./chunk-QSSPIATO.js";
21
21
  import {
22
22
  flush,
23
23
  flushSync,
24
24
  shouldTrack,
25
25
  showTelemetryNotice,
26
26
  trackEvent
27
- } from "./chunk-ZF7SXQJ7.js";
27
+ } from "./chunk-2NAUEDA6.js";
28
28
  import "./chunk-VWG7OQKU.js";
29
29
  import {
30
30
  bytesToMb,
31
31
  getFreeDiskMb,
32
32
  getShmSizeMb,
33
33
  getSystemMeta
34
- } from "./chunk-GQJZORQP.js";
34
+ } from "./chunk-XBSPQ52S.js";
35
35
  import "./chunk-AMKC3AXA.js";
36
36
  import "./chunk-54HJ63Q2.js";
37
37
  import "./chunk-PBN6GBJE.js";
38
- import "./chunk-USDEMXXL.js";
38
+ import "./chunk-JYVGYKXG.js";
39
39
  import "./chunk-T76PLPD6.js";
40
40
  import "./chunk-FXMKHHPO.js";
41
41
  import "./chunk-K4WIOZFP.js";
@@ -47,7 +47,7 @@ import {
47
47
  } from "./chunk-XUXGIA7H.js";
48
48
  import "./chunk-WERLJGIC.js";
49
49
  import "./chunk-ISN5GRYI.js";
50
- import "./chunk-BFACGEII.js";
50
+ import "./chunk-TBOMPYG6.js";
51
51
  import "./chunk-KNU5COPB.js";
52
52
  import "./chunk-ZTZA4UWZ.js";
53
53
  import "./chunk-M2WBOQ2Q.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-XBX4QJP7.js";
9
+ } from "./chunk-TH4OXAWY.js";
10
10
  import {
11
11
  readCompositionFps
12
12
  } from "./chunk-WPNE5NEP.js";
@@ -14,7 +14,7 @@ import "./chunk-K2FLNJVB.js";
14
14
  import {
15
15
  applyFileMutations,
16
16
  duplicateElementInHtml
17
- } from "./chunk-GXJEGZL2.js";
17
+ } from "./chunk-Z5C4LEAD.js";
18
18
  import {
19
19
  findSyncPartner,
20
20
  patchElementInHtml,
@@ -22,22 +22,22 @@ import {
22
22
  removeElementFromHtml,
23
23
  splitElementInHtml,
24
24
  syncOffsetFrames
25
- } from "./chunk-5WVW7P23.js";
25
+ } from "./chunk-A72OAGNB.js";
26
26
  import {
27
27
  fileContentVersion
28
- } from "./chunk-QZ3AZTXI.js";
29
- import "./chunk-DDIVWXN7.js";
30
- import "./chunk-KIFHYXPB.js";
31
- import "./chunk-G75ENCEZ.js";
28
+ } from "./chunk-FJWEYVEM.js";
29
+ import "./chunk-ZFN6GQU4.js";
30
+ import "./chunk-MOL32UKR.js";
31
+ import "./chunk-AIJS74LG.js";
32
32
  import "./chunk-EOVYQ3IG.js";
33
33
  import {
34
34
  ensureDOMParser
35
35
  } from "./chunk-442JNXRM.js";
36
36
  import "./chunk-374QQGBQ.js";
37
- import "./chunk-ICKDMTLA.js";
38
- import "./chunk-ZF7SXQJ7.js";
37
+ import "./chunk-QSSPIATO.js";
38
+ import "./chunk-2NAUEDA6.js";
39
39
  import "./chunk-VWG7OQKU.js";
40
- import "./chunk-GQJZORQP.js";
40
+ import "./chunk-XBSPQ52S.js";
41
41
  import "./chunk-AMKC3AXA.js";
42
42
  import {
43
43
  resolveExtraPositionals
@@ -53,7 +53,7 @@ import "./chunk-54HJ63Q2.js";
53
53
  import {
54
54
  setCommandExitCode
55
55
  } from "./chunk-PBN6GBJE.js";
56
- import "./chunk-KC5XXX3X.js";
56
+ import "./chunk-EOOEC32M.js";
57
57
  import "./chunk-TJSTGSAW.js";
58
58
  import {
59
59
  HF_AUDIO_GROUP_ATTR,
@@ -61,44 +61,47 @@ import {
61
61
  extractMediaMetadata,
62
62
  resolveReferencedDuration,
63
63
  resolveReferencedStart
64
- } from "./chunk-UXO2L7HJ.js";
65
- import "./chunk-FDT6KQV4.js";
64
+ } from "./chunk-WU2B74TL.js";
65
+ import "./chunk-JBQJKC23.js";
66
66
  import {
67
67
  ensureHfIds
68
68
  } from "./chunk-NE55C6S5.js";
69
- import "./chunk-USDEMXXL.js";
69
+ import "./chunk-JYVGYKXG.js";
70
70
  import {
71
71
  byStart,
72
+ compositionOriginSeconds,
73
+ cutToHostSlots,
72
74
  fpsToNumber,
75
+ hostInPointSeconds,
73
76
  isInsideSpan,
74
77
  parseFpsWithDefault,
75
78
  resolveMediaStartSeconds,
76
79
  sameInstant,
77
80
  spansShareTime
78
- } from "./chunk-VRW6EBHV.js";
81
+ } from "./chunk-BAKPN2D2.js";
79
82
  import {
80
83
  HF_AUDIO_AUTOMATION_ATTR,
81
84
  HF_AUDIO_FX_ATTR,
82
85
  parseAudioFxChain,
83
86
  parseAutomation,
84
87
  resolveAutomation
85
- } from "./chunk-AUWHD7RA.js";
88
+ } from "./chunk-Z6FLHIDV.js";
86
89
  import "./chunk-VC76R6W2.js";
87
90
  import "./chunk-YA62XGXS.js";
88
91
  import {
89
92
  topLevelElements,
90
93
  trackKindOf
91
- } from "./chunk-MQZVBHEY.js";
94
+ } from "./chunk-LFNQDTSH.js";
92
95
  import "./chunk-OFQWTKPW.js";
93
96
  import "./chunk-DPVXBVLL.js";
94
97
  import "./chunk-T76PLPD6.js";
95
98
  import "./chunk-FXMKHHPO.js";
96
99
  import "./chunk-RQVDTPGD.js";
97
100
  import "./chunk-TWWSYAKJ.js";
98
- import "./chunk-IEIJRMLZ.js";
101
+ import "./chunk-JDB65PPT.js";
99
102
  import "./chunk-IWFLMU2N.js";
100
103
  import "./chunk-APDLWWFG.js";
101
- import "./chunk-PJ3HDUCY.js";
104
+ import "./chunk-VAS6HQX3.js";
102
105
  import {
103
106
  parseNumeric
104
107
  } from "./chunk-3RM2ETQT.js";
@@ -109,15 +112,15 @@ import {
109
112
  } from "./chunk-BSQ7XANM.js";
110
113
  import "./chunk-SDYDNHEE.js";
111
114
  import "./chunk-2PSPARWP.js";
112
- import "./chunk-T42U2W2R.js";
115
+ import "./chunk-IXLUTE6N.js";
113
116
  import {
114
117
  withMeta
115
- } from "./chunk-PLR7Z6TC.js";
118
+ } from "./chunk-K7ES5RSK.js";
116
119
  import "./chunk-K4WIOZFP.js";
117
120
  import "./chunk-XUXGIA7H.js";
118
121
  import "./chunk-WERLJGIC.js";
119
122
  import "./chunk-ISN5GRYI.js";
120
- import "./chunk-BFACGEII.js";
123
+ import "./chunk-TBOMPYG6.js";
121
124
  import "./chunk-KNU5COPB.js";
122
125
  import "./chunk-3GXQPCJC.js";
123
126
  import "./chunk-ZTZA4UWZ.js";
@@ -240,7 +243,8 @@ async function resolveRowTiming(scope, node, depth) {
240
243
  const authored = resolveReferencedDuration(scope.doc, el, scope.startCache, /* @__PURE__ */ new Set());
241
244
  const host = el.getAttribute("data-composition-src");
242
245
  const absStart = mainTimelineStart(scope, el, start);
243
- const children = host && depth === 0 ? await readSubComposition(host, scope, absStart) : [];
246
+ const slots = hostInPointSeconds(el) > 0 ? [{ start: absStart, end: absStart + (authored ?? Infinity) }] : [];
247
+ const children = host && depth === 0 ? await readSubComposition(host, scope, compositionOriginSeconds(absStart, el), slots) : [];
244
248
  const kind = el.tagName.toLowerCase();
245
249
  const duration = MEDIA_TAG.test(kind) ? await resolveMediaRowDuration(scope, el, kind, authored) : resolveContainerDuration(authored, children);
246
250
  return { start, authored, absStart, children, duration };
@@ -287,7 +291,7 @@ function syncOffsetOf(el, fps) {
287
291
  async function describeRow(scope, node, depth) {
288
292
  return describeRowFields(scope, node, await resolveRowTiming(scope, node, depth));
289
293
  }
290
- async function readSubComposition(src, parent, origin) {
294
+ async function readSubComposition(src, parent, origin, slots) {
291
295
  const authored = resolve(parent.dir, src);
292
296
  const file = realFileInside(parent.projectDir, authored);
293
297
  if (!file) return [];
@@ -312,7 +316,12 @@ async function readSubComposition(src, parent, origin) {
312
316
  const rows = await Promise.all(
313
317
  topLevelElements(toNode(root)).map((node) => describeRow(scope, node, 1))
314
318
  );
315
- return rows.sort(byStart);
319
+ return rows.flatMap((row) => cutRow(row, slots)).sort(byStart);
320
+ }
321
+ function cutRow(row, slots) {
322
+ const kept = cutToHostSlots({ start: row.absStart, end: row.absEnd }, slots);
323
+ if (kept.end === kept.start && row.absEnd > row.absStart) return [];
324
+ return [{ ...row, absStart: roundMs(kept.start), absEnd: roundMs(kept.end) }];
316
325
  }
317
326
  function realFileInside(projectDir, path) {
318
327
  try {
@@ -11,7 +11,7 @@ import {
11
11
  tokensToVariables,
12
12
  upsertBindings,
13
13
  withFigmaErrors
14
- } from "./chunk-3IBMBNYY.js";
14
+ } from "./chunk-ETNQF37F.js";
15
15
  import "./chunk-K2FLNJVB.js";
16
16
  import {
17
17
  defineCommand
@@ -76,7 +76,7 @@ var tokens_default = defineCommand({
76
76
  console.log("add to data-composition-variables:");
77
77
  console.log(JSON.stringify(result.entries, null, 2));
78
78
  }
79
- const { trackFigmaImport } = await import("./telemetry-PAOOB4T4.js");
79
+ const { trackFigmaImport } = await import("./telemetry-ZQ5XVE6Z.js");
80
80
  trackFigmaImport({
81
81
  phase: "tokens",
82
82
  tokensMode: result.mode,