@remotion/promo-pages 4.0.440 → 4.0.441

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 (285) hide show
  1. package/dist/Homepage.js +6 -6
  2. package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/Homepage.js +54 -101
  3. package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/design.js +2 -2
  4. package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/experts.js +2 -2
  5. package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/homepage/Pricing.js +2 -2
  6. package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/prompts/PromptsGallery.js +2 -2
  7. package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/prompts/PromptsShow.js +2 -2
  8. package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/prompts/PromptsSubmit.js +2 -2
  9. package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/template-modal-content.js +2 -2
  10. package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/templates.js +3 -4
  11. package/dist/design.js +1 -1
  12. package/dist/experts.js +1 -1
  13. package/dist/homepage/Pricing.js +1 -1
  14. package/dist/prompts/PromptsGallery.js +1 -1
  15. package/dist/prompts/PromptsShow.js +1 -1
  16. package/dist/prompts/PromptsSubmit.js +1 -1
  17. package/dist/team.js +1 -1
  18. package/dist/template-modal-content.js +1 -1
  19. package/dist/templates.js +1 -1
  20. package/package.json +13 -13
  21. package/dist/cn.d.ts +0 -2
  22. package/dist/cn.js +0 -5
  23. package/dist/components/3DEngine/ButtonDemo.d.ts +0 -2
  24. package/dist/components/3DEngine/ButtonDemo.js +0 -43
  25. package/dist/components/3DEngine/Faces.d.ts +0 -5
  26. package/dist/components/3DEngine/Faces.js +0 -7
  27. package/dist/components/3DEngine/Outer.d.ts +0 -8
  28. package/dist/components/3DEngine/Outer.js +0 -56
  29. package/dist/components/3DEngine/Switch.d.ts +0 -4
  30. package/dist/components/3DEngine/Switch.js +0 -4
  31. package/dist/components/3DEngine/get-child-node-from.d.ts +0 -1
  32. package/dist/components/3DEngine/get-child-node-from.js +0 -14
  33. package/dist/components/3DEngine/hover-transforms.d.ts +0 -9
  34. package/dist/components/3DEngine/hover-transforms.js +0 -177
  35. package/dist/components/BackButton.d.ts +0 -6
  36. package/dist/components/BackButton.js +0 -9
  37. package/dist/components/CommandCopyButton.d.ts +0 -5
  38. package/dist/components/CommandCopyButton.js +0 -4
  39. package/dist/components/Homepage.d.ts +0 -6
  40. package/dist/components/Homepage.js +0 -20
  41. package/dist/components/ManageTeamMembers.d.ts +0 -2
  42. package/dist/components/ManageTeamMembers.js +0 -42
  43. package/dist/components/Spinner.d.ts +0 -3
  44. package/dist/components/Spinner.js +0 -4
  45. package/dist/components/TeamPicture.d.ts +0 -1
  46. package/dist/components/TeamPicture.js +0 -4
  47. package/dist/components/design.d.ts +0 -1
  48. package/dist/components/design.js +0 -33
  49. package/dist/components/experts/ExpertsPage.d.ts +0 -11
  50. package/dist/components/experts/ExpertsPage.js +0 -50
  51. package/dist/components/experts/experts-data.d.ts +0 -15
  52. package/dist/components/experts/experts-data.js +0 -263
  53. package/dist/components/experts/experts-icons.d.ts +0 -7
  54. package/dist/components/experts/experts-icons.js +0 -36
  55. package/dist/components/experts.d.ts +0 -3
  56. package/dist/components/experts.js +0 -2
  57. package/dist/components/homepage/BackgroundAnimation.d.ts +0 -2
  58. package/dist/components/homepage/BackgroundAnimation.js +0 -66
  59. package/dist/components/homepage/ChooseTemplate.d.ts +0 -2
  60. package/dist/components/homepage/ChooseTemplate.js +0 -25
  61. package/dist/components/homepage/CommunityStats.d.ts +0 -3
  62. package/dist/components/homepage/CommunityStats.js +0 -6
  63. package/dist/components/homepage/CommunityStatsItems.d.ts +0 -7
  64. package/dist/components/homepage/CommunityStatsItems.js +0 -58
  65. package/dist/components/homepage/Demo/Card.d.ts +0 -15
  66. package/dist/components/homepage/Demo/Card.js +0 -174
  67. package/dist/components/homepage/Demo/Cards.d.ts +0 -15
  68. package/dist/components/homepage/Demo/Cards.js +0 -57
  69. package/dist/components/homepage/Demo/Comp.d.ts +0 -38
  70. package/dist/components/homepage/Demo/Comp.js +0 -72
  71. package/dist/components/homepage/Demo/CurrentCountry.d.ts +0 -9
  72. package/dist/components/homepage/Demo/CurrentCountry.js +0 -48
  73. package/dist/components/homepage/Demo/DemoError.d.ts +0 -2
  74. package/dist/components/homepage/Demo/DemoError.js +0 -10
  75. package/dist/components/homepage/Demo/DemoErrorIcon.d.ts +0 -2
  76. package/dist/components/homepage/Demo/DemoErrorIcon.js +0 -16
  77. package/dist/components/homepage/Demo/DemoRender.d.ts +0 -33
  78. package/dist/components/homepage/Demo/DemoRender.js +0 -107
  79. package/dist/components/homepage/Demo/DigitWheel.d.ts +0 -9
  80. package/dist/components/homepage/Demo/DigitWheel.js +0 -94
  81. package/dist/components/homepage/Demo/DisplayedEmoji.d.ts +0 -5
  82. package/dist/components/homepage/Demo/DisplayedEmoji.js +0 -59
  83. package/dist/components/homepage/Demo/DoneCheckmark.d.ts +0 -2
  84. package/dist/components/homepage/Demo/DoneCheckmark.js +0 -20
  85. package/dist/components/homepage/Demo/DownloadNudge.d.ts +0 -2
  86. package/dist/components/homepage/Demo/DownloadNudge.js +0 -27
  87. package/dist/components/homepage/Demo/DragAndDropNudge.d.ts +0 -3
  88. package/dist/components/homepage/Demo/DragAndDropNudge.js +0 -26
  89. package/dist/components/homepage/Demo/EmojiCard.d.ts +0 -10
  90. package/dist/components/homepage/Demo/EmojiCard.js +0 -120
  91. package/dist/components/homepage/Demo/Minus.d.ts +0 -5
  92. package/dist/components/homepage/Demo/Minus.js +0 -11
  93. package/dist/components/homepage/Demo/PlayPauseButton.d.ts +0 -5
  94. package/dist/components/homepage/Demo/PlayPauseButton.js +0 -47
  95. package/dist/components/homepage/Demo/PlayerControls.d.ts +0 -8
  96. package/dist/components/homepage/Demo/PlayerControls.js +0 -15
  97. package/dist/components/homepage/Demo/PlayerSeekBar.d.ts +0 -11
  98. package/dist/components/homepage/Demo/PlayerSeekBar.js +0 -216
  99. package/dist/components/homepage/Demo/PlayerVolume.d.ts +0 -5
  100. package/dist/components/homepage/Demo/PlayerVolume.js +0 -53
  101. package/dist/components/homepage/Demo/Progress.d.ts +0 -4
  102. package/dist/components/homepage/Demo/Progress.js +0 -14
  103. package/dist/components/homepage/Demo/Spinner.d.ts +0 -5
  104. package/dist/components/homepage/Demo/Spinner.js +0 -37
  105. package/dist/components/homepage/Demo/Switcher.d.ts +0 -6
  106. package/dist/components/homepage/Demo/Switcher.js +0 -25
  107. package/dist/components/homepage/Demo/Temperature.d.ts +0 -6
  108. package/dist/components/homepage/Demo/Temperature.js +0 -21
  109. package/dist/components/homepage/Demo/TemperatureNumber.d.ts +0 -5
  110. package/dist/components/homepage/Demo/TemperatureNumber.js +0 -36
  111. package/dist/components/homepage/Demo/ThemeNudge.d.ts +0 -3
  112. package/dist/components/homepage/Demo/ThemeNudge.js +0 -35
  113. package/dist/components/homepage/Demo/TimeDisplay.d.ts +0 -6
  114. package/dist/components/homepage/Demo/TimeDisplay.js +0 -27
  115. package/dist/components/homepage/Demo/TrendingRepos.d.ts +0 -6
  116. package/dist/components/homepage/Demo/TrendingRepos.js +0 -65
  117. package/dist/components/homepage/Demo/icons.d.ts +0 -10
  118. package/dist/components/homepage/Demo/icons.js +0 -22
  119. package/dist/components/homepage/Demo/index.d.ts +0 -2
  120. package/dist/components/homepage/Demo/index.js +0 -95
  121. package/dist/components/homepage/Demo/math.d.ts +0 -10
  122. package/dist/components/homepage/Demo/math.js +0 -29
  123. package/dist/components/homepage/Demo/types.d.ts +0 -6
  124. package/dist/components/homepage/Demo/types.js +0 -0
  125. package/dist/components/homepage/EditorStarterSection.d.ts +0 -3
  126. package/dist/components/homepage/EditorStarterSection.js +0 -8
  127. package/dist/components/homepage/EvaluateRemotion.d.ts +0 -3
  128. package/dist/components/homepage/EvaluateRemotion.js +0 -21
  129. package/dist/components/homepage/FreePricing.d.ts +0 -4
  130. package/dist/components/homepage/FreePricing.js +0 -134
  131. package/dist/components/homepage/GetStartedStrip.d.ts +0 -2
  132. package/dist/components/homepage/GetStartedStrip.js +0 -14
  133. package/dist/components/homepage/GitHubButton.d.ts +0 -2
  134. package/dist/components/homepage/GitHubButton.js +0 -7
  135. package/dist/components/homepage/IconForTemplate.d.ts +0 -6
  136. package/dist/components/homepage/IconForTemplate.js +0 -105
  137. package/dist/components/homepage/IfYouKnowReact.d.ts +0 -3
  138. package/dist/components/homepage/IfYouKnowReact.js +0 -23
  139. package/dist/components/homepage/InfoTooltip.d.ts +0 -6
  140. package/dist/components/homepage/InfoTooltip.js +0 -6
  141. package/dist/components/homepage/MoreTemplatesButton.d.ts +0 -2
  142. package/dist/components/homepage/MoreTemplatesButton.js +0 -11
  143. package/dist/components/homepage/MuxVideo.d.ts +0 -7
  144. package/dist/components/homepage/MuxVideo.js +0 -45
  145. package/dist/components/homepage/NewsletterButton.d.ts +0 -2
  146. package/dist/components/homepage/NewsletterButton.js +0 -38
  147. package/dist/components/homepage/ParameterizeAndEdit.d.ts +0 -2
  148. package/dist/components/homepage/ParameterizeAndEdit.js +0 -22
  149. package/dist/components/homepage/Pricing.d.ts +0 -2
  150. package/dist/components/homepage/Pricing.js +0 -15
  151. package/dist/components/homepage/PricingBulletPoint.d.ts +0 -6
  152. package/dist/components/homepage/PricingBulletPoint.js +0 -19
  153. package/dist/components/homepage/RealMp4Videos.d.ts +0 -2
  154. package/dist/components/homepage/RealMp4Videos.js +0 -41
  155. package/dist/components/homepage/Spacer.d.ts +0 -2
  156. package/dist/components/homepage/Spacer.js +0 -4
  157. package/dist/components/homepage/TemplateIcon.d.ts +0 -5
  158. package/dist/components/homepage/TemplateIcon.js +0 -24
  159. package/dist/components/homepage/TextInput.d.ts +0 -7
  160. package/dist/components/homepage/TextInput.js +0 -34
  161. package/dist/components/homepage/TrustedByBanner.d.ts +0 -2
  162. package/dist/components/homepage/TrustedByBanner.js +0 -27
  163. package/dist/components/homepage/VideoApps.d.ts +0 -4
  164. package/dist/components/homepage/VideoApps.js +0 -72
  165. package/dist/components/homepage/VideoAppsShowcase.d.ts +0 -3
  166. package/dist/components/homepage/VideoAppsShowcase.js +0 -139
  167. package/dist/components/homepage/VideoAppsTitle.d.ts +0 -4
  168. package/dist/components/homepage/VideoAppsTitle.js +0 -4
  169. package/dist/components/homepage/VideoPlayerWithControls.d.ts +0 -20
  170. package/dist/components/homepage/VideoPlayerWithControls.js +0 -105
  171. package/dist/components/homepage/WriteInReact.d.ts +0 -2
  172. package/dist/components/homepage/WriteInReact.js +0 -10
  173. package/dist/components/homepage/YouAreHere.d.ts +0 -2
  174. package/dist/components/homepage/YouAreHere.js +0 -23
  175. package/dist/components/homepage/layout/Button.d.ts +0 -22
  176. package/dist/components/homepage/layout/Button.js +0 -30
  177. package/dist/components/homepage/layout/colors.d.ts +0 -13
  178. package/dist/components/homepage/layout/colors.js +0 -14
  179. package/dist/components/homepage/layout/use-color-mode.d.ts +0 -21
  180. package/dist/components/homepage/layout/use-color-mode.js +0 -22
  181. package/dist/components/homepage/layout/use-el-size.d.ts +0 -5
  182. package/dist/components/homepage/layout/use-el-size.js +0 -40
  183. package/dist/components/homepage/layout/use-mobile-layout.d.ts +0 -1
  184. package/dist/components/homepage/layout/use-mobile-layout.js +0 -6
  185. package/dist/components/icons/blank.d.ts +0 -3
  186. package/dist/components/icons/blank.js +0 -4
  187. package/dist/components/icons/brain.d.ts +0 -2
  188. package/dist/components/icons/brain.js +0 -4
  189. package/dist/components/icons/clone.d.ts +0 -2
  190. package/dist/components/icons/clone.js +0 -2
  191. package/dist/components/icons/code-hike.d.ts +0 -3
  192. package/dist/components/icons/code-hike.js +0 -4
  193. package/dist/components/icons/cubes.d.ts +0 -3
  194. package/dist/components/icons/cubes.js +0 -4
  195. package/dist/components/icons/editor.d.ts +0 -3
  196. package/dist/components/icons/editor.js +0 -4
  197. package/dist/components/icons/electron.d.ts +0 -4
  198. package/dist/components/icons/electron.js +0 -4
  199. package/dist/components/icons/js.d.ts +0 -3
  200. package/dist/components/icons/js.js +0 -4
  201. package/dist/components/icons/music.d.ts +0 -2
  202. package/dist/components/icons/music.js +0 -4
  203. package/dist/components/icons/next.d.ts +0 -4
  204. package/dist/components/icons/next.js +0 -4
  205. package/dist/components/icons/overlay.d.ts +0 -3
  206. package/dist/components/icons/overlay.js +0 -4
  207. package/dist/components/icons/prompt-to-video.d.ts +0 -2
  208. package/dist/components/icons/prompt-to-video.js +0 -4
  209. package/dist/components/icons/recorder.d.ts +0 -3
  210. package/dist/components/icons/recorder.js +0 -4
  211. package/dist/components/icons/remix.d.ts +0 -3
  212. package/dist/components/icons/remix.js +0 -4
  213. package/dist/components/icons/render-server.d.ts +0 -3
  214. package/dist/components/icons/render-server.js +0 -4
  215. package/dist/components/icons/skia.d.ts +0 -3
  216. package/dist/components/icons/skia.js +0 -4
  217. package/dist/components/icons/stargazer.d.ts +0 -3
  218. package/dist/components/icons/stargazer.js +0 -4
  219. package/dist/components/icons/still.d.ts +0 -3
  220. package/dist/components/icons/still.js +0 -4
  221. package/dist/components/icons/tailwind.d.ts +0 -3
  222. package/dist/components/icons/tailwind.js +0 -4
  223. package/dist/components/icons/tiktok.d.ts +0 -3
  224. package/dist/components/icons/tiktok.js +0 -4
  225. package/dist/components/icons/timeline.d.ts +0 -3
  226. package/dist/components/icons/timeline.js +0 -4
  227. package/dist/components/icons/ts.d.ts +0 -3
  228. package/dist/components/icons/ts.js +0 -4
  229. package/dist/components/icons/undo.d.ts +0 -3
  230. package/dist/components/icons/undo.js +0 -2
  231. package/dist/components/icons/vercel.d.ts +0 -4
  232. package/dist/components/icons/vercel.js +0 -4
  233. package/dist/components/icons/waveform.d.ts +0 -3
  234. package/dist/components/icons/waveform.js +0 -4
  235. package/dist/components/prompts/CardLikeButton.d.ts +0 -5
  236. package/dist/components/prompts/CardLikeButton.js +0 -49
  237. package/dist/components/prompts/ClipboardIcon.d.ts +0 -5
  238. package/dist/components/prompts/ClipboardIcon.js +0 -4
  239. package/dist/components/prompts/CopyPromptButton.d.ts +0 -4
  240. package/dist/components/prompts/CopyPromptButton.js +0 -13
  241. package/dist/components/prompts/LikeButton.d.ts +0 -5
  242. package/dist/components/prompts/LikeButton.js +0 -49
  243. package/dist/components/prompts/MuxPlayer.d.ts +0 -8
  244. package/dist/components/prompts/MuxPlayer.js +0 -21
  245. package/dist/components/prompts/NewBackButton.d.ts +0 -5
  246. package/dist/components/prompts/NewBackButton.js +0 -8
  247. package/dist/components/prompts/Page.d.ts +0 -8
  248. package/dist/components/prompts/Page.js +0 -7
  249. package/dist/components/prompts/PromptsGallery.d.ts +0 -7
  250. package/dist/components/prompts/PromptsGallery.js +0 -60
  251. package/dist/components/prompts/PromptsShow.d.ts +0 -5
  252. package/dist/components/prompts/PromptsShow.js +0 -17
  253. package/dist/components/prompts/PromptsSubmit.d.ts +0 -2
  254. package/dist/components/prompts/PromptsSubmit.js +0 -173
  255. package/dist/components/prompts/config.d.ts +0 -1
  256. package/dist/components/prompts/config.js +0 -1
  257. package/dist/components/prompts/prompt-helpers.d.ts +0 -8
  258. package/dist/components/prompts/prompt-helpers.js +0 -76
  259. package/dist/components/prompts/prompt-types.d.ts +0 -14
  260. package/dist/components/prompts/prompt-types.js +0 -0
  261. package/dist/components/prompts/use-heart-animation.d.ts +0 -5
  262. package/dist/components/prompts/use-heart-animation.js +0 -29
  263. package/dist/components/team/TeamCards.d.ts +0 -6
  264. package/dist/components/team/TeamCards.js +0 -19
  265. package/dist/components/team/TitleTeamCards.d.ts +0 -2
  266. package/dist/components/team/TitleTeamCards.js +0 -6
  267. package/dist/components/team.d.ts +0 -3
  268. package/dist/components/team.js +0 -14
  269. package/dist/components/template-modal-content.d.ts +0 -5
  270. package/dist/components/template-modal-content.js +0 -73
  271. package/dist/components/templates.d.ts +0 -2
  272. package/dist/components/templates.js +0 -27
  273. package/dist/helpers/mobile-layout.d.ts +0 -1
  274. package/dist/helpers/mobile-layout.js +0 -6
  275. package/dist/helpers/use-el-size.d.ts +0 -5
  276. package/dist/helpers/use-el-size.js +0 -40
  277. package/dist/main.d.ts +0 -1
  278. package/dist/main.js +0 -6
  279. package/dist/prompts-show.d.ts +0 -1
  280. package/dist/prompts-show.js +0 -20
  281. package/dist/prompts-submit.d.ts +0 -1
  282. package/dist/prompts-submit.js +0 -6
  283. package/dist/prompts.d.ts +0 -1
  284. package/dist/prompts.js +0 -6
  285. package/dist/team.d.ts +0 -1
package/dist/Homepage.js CHANGED
@@ -999,7 +999,7 @@ var useIsPlayer = () => {
999
999
  function truthy(value) {
1000
1000
  return Boolean(value);
1001
1001
  }
1002
- var VERSION = "4.0.440";
1002
+ var VERSION = "4.0.441";
1003
1003
  var checkMultipleRemotionVersions = () => {
1004
1004
  if (typeof globalThis === "undefined") {
1005
1005
  return;
@@ -30608,6 +30608,7 @@ var AudioForPreviewAssertedShowing = ({
30608
30608
  const initialGlobalPlaybackRate = useRef40(globalPlaybackRate);
30609
30609
  const initialPlaybackRate = useRef40(playbackRate);
30610
30610
  const initialMuted = useRef40(effectiveMuted);
30611
+ const initialDurationInFrames = useRef40(videoConfig.durationInFrames);
30611
30612
  const initialSequenceOffset = useRef40(sequenceOffset);
30612
30613
  useCommonEffects({
30613
30614
  mediaPlayerRef,
@@ -30658,7 +30659,7 @@ var AudioForPreviewAssertedShowing = ({
30658
30659
  isPostmounting: initialIsPostmounting.current,
30659
30660
  isPremounting: initialIsPremounting.current,
30660
30661
  globalPlaybackRate: initialGlobalPlaybackRate.current,
30661
- durationInFrames: videoConfig.durationInFrames,
30662
+ durationInFrames: initialDurationInFrames.current,
30662
30663
  onVideoFrameCallback: null,
30663
30664
  playing: initialPlaying.current,
30664
30665
  sequenceOffset: initialSequenceOffset.current,
@@ -30754,7 +30755,6 @@ var AudioForPreviewAssertedShowing = ({
30754
30755
  debugAudioScheduling,
30755
30756
  buffer,
30756
30757
  onError,
30757
- videoConfig.durationInFrames,
30758
30758
  credentials
30759
30759
  ]);
30760
30760
  if (shouldFallbackToNativeAudio && !disallowFallbackToHtml5Audio) {
@@ -32977,6 +32977,7 @@ var VideoForPreviewAssertedShowing = ({
32977
32977
  const initialGlobalPlaybackRate = useRef212(globalPlaybackRate);
32978
32978
  const initialPlaybackRate = useRef212(playbackRate);
32979
32979
  const initialMuted = useRef212(effectiveMuted);
32980
+ const initialDurationInFrames = useRef212(videoConfig.durationInFrames);
32980
32981
  const initialSequenceOffset = useRef212(sequenceOffset);
32981
32982
  useEffect312(() => {
32982
32983
  if (!sharedAudioContext)
@@ -33002,7 +33003,7 @@ var VideoForPreviewAssertedShowing = ({
33002
33003
  isPremounting: initialIsPremounting.current,
33003
33004
  isPostmounting: initialIsPostmounting.current,
33004
33005
  globalPlaybackRate: initialGlobalPlaybackRate.current,
33005
- durationInFrames: videoConfig.durationInFrames,
33006
+ durationInFrames: initialDurationInFrames.current,
33006
33007
  onVideoFrameCallback: initialOnVideoFrameRef.current ?? null,
33007
33008
  playing: initialPlaying.current,
33008
33009
  sequenceOffset: initialSequenceOffset.current,
@@ -33096,7 +33097,6 @@ var VideoForPreviewAssertedShowing = ({
33096
33097
  sharedAudioContext,
33097
33098
  videoConfig.fps,
33098
33099
  onError,
33099
- videoConfig.durationInFrames,
33100
33100
  credentials
33101
33101
  ]);
33102
33102
  const classNameValue = useMemo412(() => {
@@ -35008,7 +35008,7 @@ import {
35008
35008
  import { BufferTarget, StreamTarget } from "mediabunny";
35009
35009
 
35010
35010
  // ../core/dist/esm/version.mjs
35011
- var VERSION2 = "4.0.440";
35011
+ var VERSION2 = "4.0.441";
35012
35012
 
35013
35013
  // ../web-renderer/dist/esm/index.mjs
35014
35014
  import { AudioSample, VideoSample } from "mediabunny";
@@ -1003,7 +1003,7 @@ var useIsPlayer = () => {
1003
1003
  function truthy(value) {
1004
1004
  return Boolean(value);
1005
1005
  }
1006
- var VERSION = "4.0.436";
1006
+ var VERSION = "4.0.434";
1007
1007
  var checkMultipleRemotionVersions = () => {
1008
1008
  if (typeof globalThis === "undefined") {
1009
1009
  return;
@@ -4081,7 +4081,7 @@ var useBasicMediaInTimeline = ({
4081
4081
  const videoConfig = useVideoConfig();
4082
4082
  const [initialVolume] = useState10(() => volume);
4083
4083
  const mediaDuration = calculateMediaDuration({
4084
- mediaDurationInFrames: videoConfig.durationInFrames + (trimBefore ?? 0),
4084
+ mediaDurationInFrames: videoConfig.durationInFrames,
4085
4085
  playbackRate,
4086
4086
  trimBefore,
4087
4087
  trimAfter
@@ -23232,7 +23232,7 @@ var GitHubStars = () => {
23232
23232
  width: "45px"
23233
23233
  }),
23234
23234
  /* @__PURE__ */ jsx50(StatItemContent, {
23235
- content: "39k",
23235
+ content: "38k",
23236
23236
  width: "80px",
23237
23237
  fontSize: "2.5rem",
23238
23238
  fontWeight: "bold"
@@ -28459,12 +28459,7 @@ var setGlobalTimeAnchor = ({
28459
28459
  }
28460
28460
  audioSyncAnchor.value = newAnchor;
28461
28461
  };
28462
- var makeAudioIterator = ({
28463
- startFromSecond,
28464
- maximumTimestamp,
28465
- cache: cache2,
28466
- debugAudioScheduling
28467
- }) => {
28462
+ var makeAudioIterator = (startFromSecond, maximumTimestamp, cache2, debugAudioScheduling) => {
28468
28463
  let destroyed = false;
28469
28464
  const iterator = cache2.makeIteratorOrUsePrewarmed(startFromSecond, maximumTimestamp);
28470
28465
  const queuedAudioNodes = [];
@@ -28474,15 +28469,15 @@ var makeAudioIterator = ({
28474
28469
  const cleanupAudioQueue = (audioContext) => {
28475
28470
  for (const node of queuedAudioNodes) {
28476
28471
  try {
28477
- const isAlreadyPlaying = node.scheduledTime - ALLOWED_GLOBAL_TIME_ANCHOR_SHIFT < audioContext.audioContext.currentTime;
28478
- const wasScheduledForThisAnchor = node.scheduledAtAnchor === audioContext.audioSyncAnchor.value;
28479
- if (isAlreadyPlaying && wasScheduledForThisAnchor) {
28472
+ const currentlyHearing = audioContext.getOutputTimestamp().contextTime;
28473
+ const nodeEndTime = node.scheduledTime + node.buffer.duration / node.playbackRate;
28474
+ const isAlreadyPlaying = node.scheduledTime - ALLOWED_GLOBAL_TIME_ANCHOR_SHIFT < audioContext.currentTime;
28475
+ const shouldKeep = isAlreadyPlaying;
28476
+ if (shouldKeep) {
28480
28477
  continue;
28481
28478
  }
28482
28479
  if (debugAudioScheduling) {
28483
- const currentlyHearing = audioContext.audioContext.getOutputTimestamp().contextTime;
28484
- const nodeEndTime = node.scheduledTime + node.buffer.duration / node.playbackRate;
28485
- Internals.Log.info({ logLevel: "trace", tag: "audio-scheduling" }, `Stopping node ${node.timestamp.toFixed(3)}, currently hearing = ${currentlyHearing.toFixed(3)} currentTime = ${audioContext.audioContext.currentTime.toFixed(3)} nodeEndTime = ${nodeEndTime.toFixed(3)} scheduledTime = ${node.scheduledTime.toFixed(3)}`);
28480
+ Internals.Log.info({ logLevel: "trace", tag: "audio-scheduling" }, `Stopping node ${node.timestamp.toFixed(3)}, currently hearing = ${currentlyHearing.toFixed(3)} currentTime = ${audioContext.currentTime.toFixed(3)} nodeEndTime = ${nodeEndTime.toFixed(3)} scheduledTime = ${node.scheduledTime.toFixed(3)}`);
28486
28481
  }
28487
28482
  node.node.stop();
28488
28483
  } catch {}
@@ -28643,16 +28638,14 @@ var makeAudioIterator = ({
28643
28638
  timestamp,
28644
28639
  buffer,
28645
28640
  scheduledTime,
28646
- playbackRate,
28647
- scheduledAtAnchor
28641
+ playbackRate
28648
28642
  }) => {
28649
28643
  queuedAudioNodes.push({
28650
28644
  node,
28651
28645
  timestamp,
28652
28646
  buffer,
28653
28647
  scheduledTime,
28654
- playbackRate,
28655
- scheduledAtAnchor
28648
+ playbackRate
28656
28649
  });
28657
28650
  },
28658
28651
  removeQueuedAudioNode: (node) => {
@@ -28891,8 +28884,8 @@ var audioIteratorManager = ({
28891
28884
  }) => {
28892
28885
  let muted = initialMuted;
28893
28886
  let currentVolume = 1;
28894
- const gainNode = sharedAudioContext.audioContext.createGain();
28895
- gainNode.connect(sharedAudioContext.audioContext.destination);
28887
+ const gainNode = sharedAudioContext.createGain();
28888
+ gainNode.connect(sharedAudioContext.destination);
28896
28889
  const audioSink = new AudioBufferSink(audioTrack);
28897
28890
  const prewarmedAudioIteratorCache = makePrewarmedAudioIteratorCache(audioSink);
28898
28891
  let audioBufferIterator = null;
@@ -28908,13 +28901,13 @@ var audioIteratorManager = ({
28908
28901
  if (!audioBufferIterator) {
28909
28902
  throw new Error("Audio buffer iterator not found");
28910
28903
  }
28911
- if (sharedAudioContext.audioContext.state !== "running") {
28904
+ if (sharedAudioContext.state !== "running") {
28912
28905
  throw new Error("Tried to schedule node while audio context is not running");
28913
28906
  }
28914
28907
  if (muted) {
28915
28908
  return;
28916
28909
  }
28917
- const node = sharedAudioContext.audioContext.createBufferSource();
28910
+ const node = sharedAudioContext.createBufferSource();
28918
28911
  node.buffer = buffer;
28919
28912
  node.playbackRate.value = playbackRate;
28920
28913
  node.connect(gainNode);
@@ -28932,8 +28925,7 @@ var audioIteratorManager = ({
28932
28925
  timestamp: mediaTimestamp,
28933
28926
  buffer,
28934
28927
  scheduledTime: started.scheduledTime,
28935
- playbackRate,
28936
- scheduledAtAnchor: sharedAudioContext.audioSyncAnchor.value
28928
+ playbackRate
28937
28929
  });
28938
28930
  node.onended = () => {
28939
28931
  setTimeout(() => {
@@ -28980,7 +28972,7 @@ var audioIteratorManager = ({
28980
28972
  if (buffer.timestamp >= endTime) {
28981
28973
  return;
28982
28974
  }
28983
- if (getIsPlaying() && sharedAudioContext.audioContext.state === "running" && (sharedAudioContext.audioContext.getOutputTimestamp().contextTime ?? 0) > 0) {
28975
+ if (getIsPlaying() && sharedAudioContext.state === "running" && (sharedAudioContext.getOutputTimestamp().contextTime ?? 0) > 0) {
28984
28976
  resumeScheduledAudioChunks({
28985
28977
  playbackRate,
28986
28978
  scheduleAudioNode,
@@ -29020,12 +29012,7 @@ var audioIteratorManager = ({
29020
29012
  audioBufferIterator?.destroy(sharedAudioContext);
29021
29013
  const delayHandle = __using(__stack, delayPlaybackHandleIfNotPremounting(), 0);
29022
29014
  currentDelayHandle = delayHandle;
29023
- const iterator = makeAudioIterator({
29024
- startFromSecond,
29025
- maximumTimestamp: getEndTime(),
29026
- cache: prewarmedAudioIteratorCache,
29027
- debugAudioScheduling
29028
- });
29015
+ const iterator = makeAudioIterator(startFromSecond, getEndTime(), prewarmedAudioIteratorCache, debugAudioScheduling);
29029
29016
  audioIteratorsCreated++;
29030
29017
  audioBufferIterator = iterator;
29031
29018
  try {
@@ -29109,7 +29096,7 @@ var audioIteratorManager = ({
29109
29096
  }
29110
29097
  const queuedPeriod = audioBufferIterator.getQueuedPeriod();
29111
29098
  const queuedPeriodMinusLatency = queuedPeriod ? {
29112
- from: queuedPeriod.from - ALLOWED_GLOBAL_TIME_ANCHOR_SHIFT - sharedAudioContext.audioContext.baseLatency - sharedAudioContext.audioContext.outputLatency,
29099
+ from: queuedPeriod.from - ALLOWED_GLOBAL_TIME_ANCHOR_SHIFT - sharedAudioContext.baseLatency - sharedAudioContext.outputLatency,
29113
29100
  until: queuedPeriod.until
29114
29101
  } : null;
29115
29102
  const currentTimeIsAlreadyQueued = isAlreadyQueued(newTime, queuedPeriodMinusLatency);
@@ -29534,8 +29521,7 @@ class MediaPlayer {
29534
29521
  durationInFrames,
29535
29522
  onVideoFrameCallback,
29536
29523
  playing,
29537
- sequenceOffset,
29538
- credentials
29524
+ sequenceOffset
29539
29525
  }) {
29540
29526
  this.canvas = canvas ?? null;
29541
29527
  this.src = src;
@@ -29559,9 +29545,7 @@ class MediaPlayer {
29559
29545
  this.playing = playing;
29560
29546
  this.sequenceOffset = sequenceOffset;
29561
29547
  this.input = new Input2({
29562
- source: new UrlSource(this.src, credentials ? {
29563
- requestInit: { credentials }
29564
- } : undefined),
29548
+ source: new UrlSource(this.src),
29565
29549
  formats: ALL_FORMATS
29566
29550
  });
29567
29551
  if (canvas) {
@@ -29675,7 +29659,7 @@ class MediaPlayer {
29675
29659
  this.audioIteratorManager = audioIteratorManager({
29676
29660
  audioTrack,
29677
29661
  delayPlaybackHandleIfNotPremounting: this.delayPlaybackHandleIfNotPremounting,
29678
- sharedAudioContext: this.sharedAudioContext,
29662
+ sharedAudioContext: this.sharedAudioContext.audioContext,
29679
29663
  getIsLooping: () => this.loop,
29680
29664
  getEndTime: () => this.getEndTime(),
29681
29665
  getStartTime: () => this.getStartTime(),
@@ -30344,7 +30328,6 @@ var AudioForPreviewAssertedShowing = ({
30344
30328
  fallbackHtml5AudioProps,
30345
30329
  debugAudioScheduling,
30346
30330
  onError,
30347
- credentials,
30348
30331
  controls
30349
30332
  }) => {
30350
30333
  const videoConfig = useUnsafeVideoConfig2();
@@ -30471,8 +30454,7 @@ var AudioForPreviewAssertedShowing = ({
30471
30454
  durationInFrames: videoConfig.durationInFrames,
30472
30455
  onVideoFrameCallback: null,
30473
30456
  playing: initialPlaying.current,
30474
- sequenceOffset: initialSequenceOffset.current,
30475
- credentials
30457
+ sequenceOffset: initialSequenceOffset.current
30476
30458
  });
30477
30459
  mediaPlayerRef.current = player;
30478
30460
  player.initialize(currentTimeRef.current, initialMuted.current).then((result) => {
@@ -30564,8 +30546,7 @@ var AudioForPreviewAssertedShowing = ({
30564
30546
  debugAudioScheduling,
30565
30547
  buffer,
30566
30548
  onError,
30567
- videoConfig.durationInFrames,
30568
- credentials
30549
+ videoConfig.durationInFrames
30569
30550
  ]);
30570
30551
  if (shouldFallbackToNativeAudio && !disallowFallbackToHtml5Audio) {
30571
30552
  return /* @__PURE__ */ jsx58(Audio, {
@@ -30608,7 +30589,6 @@ var AudioForPreview2 = ({
30608
30589
  fallbackHtml5AudioProps,
30609
30590
  debugAudioScheduling,
30610
30591
  onError,
30611
- credentials,
30612
30592
  controls
30613
30593
  }) => {
30614
30594
  const preloadedSrc = usePreload2(src);
@@ -30658,7 +30638,6 @@ var AudioForPreview2 = ({
30658
30638
  toneFrequency,
30659
30639
  debugAudioScheduling: debugAudioScheduling ?? false,
30660
30640
  onError,
30661
- credentials,
30662
30641
  fallbackHtml5AudioProps,
30663
30642
  controls
30664
30643
  });
@@ -31753,12 +31732,11 @@ var getFormatOrNullOrNetworkError = async (input) => {
31753
31732
  return null;
31754
31733
  }
31755
31734
  };
31756
- var getSinks = async (src, credentials) => {
31735
+ var getSinks = async (src) => {
31757
31736
  const input = new Input22({
31758
31737
  formats: ALL_FORMATS2,
31759
31738
  source: new UrlSource2(src, {
31760
- getRetryDelay,
31761
- ...credentials ? { requestInit: { credentials } } : undefined
31739
+ getRetryDelay
31762
31740
  })
31763
31741
  });
31764
31742
  const format = await getFormatOrNullOrNetworkError(input);
@@ -31838,16 +31816,15 @@ var getSinks = async (src, credentials) => {
31838
31816
  };
31839
31817
  };
31840
31818
  var sinkPromises = {};
31841
- var getSink = (src, logLevel, credentials) => {
31842
- const cacheKey = credentials ? `${src}::${credentials}` : src;
31843
- let promise = sinkPromises[cacheKey];
31819
+ var getSink = (src, logLevel) => {
31820
+ let promise = sinkPromises[src];
31844
31821
  if (!promise) {
31845
31822
  Internals.Log.verbose({
31846
31823
  logLevel,
31847
31824
  tag: "@remotion/media"
31848
31825
  }, `Sink for ${src} was not found, creating new sink`);
31849
- promise = getSinks(src, credentials);
31850
- sinkPromises[cacheKey] = promise;
31826
+ promise = getSinks(src);
31827
+ sinkPromises[src] = promise;
31851
31828
  }
31852
31829
  return promise;
31853
31830
  };
@@ -31862,10 +31839,9 @@ var extractAudioInternal = async ({
31862
31839
  trimBefore,
31863
31840
  trimAfter,
31864
31841
  fps,
31865
- maxCacheSize,
31866
- credentials
31842
+ maxCacheSize
31867
31843
  }) => {
31868
- const { getAudio, actualMatroskaTimestamps, isMatroska, getDuration } = await getSink(src, logLevel, credentials);
31844
+ const { getAudio, actualMatroskaTimestamps, isMatroska, getDuration } = await getSink(src, logLevel);
31869
31845
  let mediaDurationInSeconds = null;
31870
31846
  if (loop) {
31871
31847
  mediaDurationInSeconds = await getDuration();
@@ -31988,10 +31964,9 @@ var extractFrameInternal = async ({
31988
31964
  trimBefore,
31989
31965
  playbackRate,
31990
31966
  fps,
31991
- maxCacheSize,
31992
- credentials
31967
+ maxCacheSize
31993
31968
  }) => {
31994
- const sink = await getSink(src, logLevel, credentials);
31969
+ const sink = await getSink(src, logLevel);
31995
31970
  const [video, mediaDurationInSecondsRaw] = await Promise.all([
31996
31971
  sink.getVideo(),
31997
31972
  loop ? sink.getDuration() : Promise.resolve(null)
@@ -32113,8 +32088,7 @@ var extractFrameAndAudio = async ({
32113
32088
  trimAfter,
32114
32089
  trimBefore,
32115
32090
  fps,
32116
- maxCacheSize,
32117
- credentials
32091
+ maxCacheSize
32118
32092
  }) => {
32119
32093
  try {
32120
32094
  const [video, audio] = await Promise.all([
@@ -32127,8 +32101,7 @@ var extractFrameAndAudio = async ({
32127
32101
  playbackRate,
32128
32102
  trimBefore,
32129
32103
  fps,
32130
- maxCacheSize,
32131
- credentials
32104
+ maxCacheSize
32132
32105
  }) : null,
32133
32106
  includeAudio ? extractAudio({
32134
32107
  src,
@@ -32141,8 +32114,7 @@ var extractFrameAndAudio = async ({
32141
32114
  trimAfter,
32142
32115
  fps,
32143
32116
  trimBefore,
32144
- maxCacheSize,
32145
- credentials
32117
+ maxCacheSize
32146
32118
  }) : null
32147
32119
  ]);
32148
32120
  if (video?.type === "cannot-decode") {
@@ -32223,8 +32195,7 @@ var addBroadcastChannelListener = () => {
32223
32195
  trimAfter: data.trimAfter,
32224
32196
  trimBefore: data.trimBefore,
32225
32197
  fps: data.fps,
32226
- maxCacheSize: data.maxCacheSize,
32227
- credentials: data.credentials
32198
+ maxCacheSize: data.maxCacheSize
32228
32199
  });
32229
32200
  if (result.type === "cannot-decode") {
32230
32201
  const cannotDecodeResponse = {
@@ -32319,8 +32290,7 @@ var extractFrameViaBroadcastChannel = async ({
32319
32290
  trimAfter,
32320
32291
  trimBefore,
32321
32292
  fps,
32322
- maxCacheSize,
32323
- credentials
32293
+ maxCacheSize
32324
32294
  }) => {
32325
32295
  if (isClientSideRendering || window.remotion_isMainTab) {
32326
32296
  return extractFrameAndAudio({
@@ -32336,8 +32306,7 @@ var extractFrameViaBroadcastChannel = async ({
32336
32306
  trimAfter,
32337
32307
  trimBefore,
32338
32308
  fps,
32339
- maxCacheSize,
32340
- credentials
32309
+ maxCacheSize
32341
32310
  });
32342
32311
  }
32343
32312
  await waitForMainTabToBeReady(window.remotion_broadcastChannel);
@@ -32414,8 +32383,7 @@ var extractFrameViaBroadcastChannel = async ({
32414
32383
  trimAfter,
32415
32384
  trimBefore,
32416
32385
  fps,
32417
- maxCacheSize,
32418
- credentials
32386
+ maxCacheSize
32419
32387
  };
32420
32388
  window.remotion_broadcastChannel.postMessage(request);
32421
32389
  let timeoutId;
@@ -32450,8 +32418,7 @@ var AudioForRendering2 = ({
32450
32418
  toneFrequency,
32451
32419
  trimAfter,
32452
32420
  trimBefore,
32453
- onError,
32454
- credentials
32421
+ onError
32455
32422
  }) => {
32456
32423
  const defaultLogLevel = Internals.useLogLevel();
32457
32424
  const logLevel = overriddenLogLevel ?? defaultLogLevel;
@@ -32515,8 +32482,7 @@ var AudioForRendering2 = ({
32515
32482
  trimAfter,
32516
32483
  trimBefore,
32517
32484
  fps,
32518
- maxCacheSize,
32519
- credentials
32485
+ maxCacheSize
32520
32486
  }).then((result) => {
32521
32487
  const handleError = (error2, clientSideError, fallbackMessage) => {
32522
32488
  const [action, errorToUse] = callOnErrorAndResolve({
@@ -32610,8 +32576,7 @@ var AudioForRendering2 = ({
32610
32576
  replaceWithHtml5Audio,
32611
32577
  maxCacheSize,
32612
32578
  audioEnabled,
32613
- onError,
32614
- credentials
32579
+ onError
32615
32580
  ]);
32616
32581
  if (replaceWithHtml5Audio) {
32617
32582
  return /* @__PURE__ */ jsx216(Html5Audio, {
@@ -32711,7 +32676,6 @@ var VideoForPreviewAssertedShowing = ({
32711
32676
  debugAudioScheduling,
32712
32677
  headless,
32713
32678
  onError,
32714
- credentials,
32715
32679
  controls
32716
32680
  }) => {
32717
32681
  const src = usePreload22(unpreloadedSrc);
@@ -32815,8 +32779,7 @@ var VideoForPreviewAssertedShowing = ({
32815
32779
  durationInFrames: videoConfig.durationInFrames,
32816
32780
  onVideoFrameCallback: initialOnVideoFrameRef.current ?? null,
32817
32781
  playing: initialPlaying.current,
32818
- sequenceOffset: initialSequenceOffset.current,
32819
- credentials
32782
+ sequenceOffset: initialSequenceOffset.current
32820
32783
  });
32821
32784
  mediaPlayerRef.current = player;
32822
32785
  player.initialize(currentTimeRef.current, initialMuted.current).then((result) => {
@@ -32906,8 +32869,7 @@ var VideoForPreviewAssertedShowing = ({
32906
32869
  sharedAudioContext,
32907
32870
  videoConfig.fps,
32908
32871
  onError,
32909
- videoConfig.durationInFrames,
32910
- credentials
32872
+ videoConfig.durationInFrames
32911
32873
  ]);
32912
32874
  const classNameValue = useMemo412(() => {
32913
32875
  return [Internals.OBJECTFIT_CONTAIN_CLASS_NAME, className2].filter(Internals.truthy).join(" ");
@@ -33039,8 +33001,7 @@ var VideoForRendering2 = ({
33039
33001
  trimAfterValue,
33040
33002
  trimBeforeValue,
33041
33003
  headless,
33042
- onError,
33043
- credentials
33004
+ onError
33044
33005
  }) => {
33045
33006
  if (!src) {
33046
33007
  throw new TypeError("No `src` was passed to <Video>.");
@@ -33107,8 +33068,7 @@ var VideoForRendering2 = ({
33107
33068
  trimAfter: trimAfterValue,
33108
33069
  trimBefore: trimBeforeValue,
33109
33070
  fps,
33110
- maxCacheSize,
33111
- credentials
33071
+ maxCacheSize
33112
33072
  }).then((result) => {
33113
33073
  const handleError = (err, clientSideError, fallbackMessage, mediaDurationInSeconds) => {
33114
33074
  if (environment.isClientSideRendering) {
@@ -33240,8 +33200,7 @@ var VideoForRendering2 = ({
33240
33200
  maxCacheSize,
33241
33201
  cancelRender3,
33242
33202
  headless,
33243
- onError,
33244
- credentials
33203
+ onError
33245
33204
  ]);
33246
33205
  const classNameValue = useMemo53(() => {
33247
33206
  return [Internals.OBJECTFIT_CONTAIN_CLASS_NAME, className2].filter(Internals.truthy).join(" ");
@@ -33380,7 +33339,6 @@ var InnerVideo = ({
33380
33339
  debugAudioScheduling,
33381
33340
  headless,
33382
33341
  onError,
33383
- credentials,
33384
33342
  controls
33385
33343
  }) => {
33386
33344
  const environment = useRemotionEnvironment();
@@ -33423,8 +33381,7 @@ var InnerVideo = ({
33423
33381
  trimAfterValue,
33424
33382
  trimBeforeValue,
33425
33383
  headless,
33426
- onError,
33427
- credentials
33384
+ onError
33428
33385
  });
33429
33386
  }
33430
33387
  return /* @__PURE__ */ jsx65(VideoForPreview2, {
@@ -33450,7 +33407,6 @@ var InnerVideo = ({
33450
33407
  debugAudioScheduling: debugAudioScheduling ?? false,
33451
33408
  headless: headless ?? false,
33452
33409
  onError,
33453
- credentials,
33454
33410
  controls
33455
33411
  });
33456
33412
  };
@@ -33480,7 +33436,6 @@ var VideoInner = ({
33480
33436
  debugAudioScheduling,
33481
33437
  headless,
33482
33438
  onError,
33483
- credentials,
33484
33439
  controls
33485
33440
  }) => {
33486
33441
  const fallbackLogLevel = Internals.useLogLevel();
@@ -33510,7 +33465,6 @@ var VideoInner = ({
33510
33465
  debugAudioScheduling: debugAudioScheduling ?? false,
33511
33466
  headless: headless ?? false,
33512
33467
  onError,
33513
- credentials,
33514
33468
  controls
33515
33469
  });
33516
33470
  };
@@ -34818,7 +34772,7 @@ import {
34818
34772
  import { BufferTarget, StreamTarget } from "mediabunny";
34819
34773
 
34820
34774
  // ../core/dist/esm/version.mjs
34821
- var VERSION2 = "4.0.436";
34775
+ var VERSION2 = "4.0.434";
34822
34776
 
34823
34777
  // ../web-renderer/dist/esm/index.mjs
34824
34778
  import { AudioSample, VideoSample } from "mediabunny";
@@ -41169,7 +41123,6 @@ var listOfRemotionPackages = [
41169
41123
  "@remotion/astro-example",
41170
41124
  "@remotion/babel-loader",
41171
41125
  "@remotion/bugs",
41172
- "@remotion/brand",
41173
41126
  "@remotion/bundler",
41174
41127
  "@remotion/cli",
41175
41128
  "@remotion/cloudrun",
@@ -41422,7 +41375,7 @@ var FEATURED_TEMPLATES = [
41422
41375
  shortName: "Prompt to Motion Graphics SaaS Starter Kit",
41423
41376
  org: "remotion-dev",
41424
41377
  repoName: "template-prompt-to-motion-graphics-saas",
41425
- description: "SaaS template for AI-powered animation generation",
41378
+ description: "SaaS template for AI-powered code generation with Remotion",
41426
41379
  longerDescription: 'A SaaS template for "Prompt to Motion Graphics" products. Generates Remotion code, streams it to the frontend, and compiles and previews it in the browser. See the <a href="/docs/ai/ai-saas-template">documentation page</a> for more details.',
41427
41380
  promoBanner: {
41428
41381
  width: 2880,
@@ -42463,7 +42416,7 @@ var GithubButton = () => {
42463
42416
  " ",
42464
42417
  /* @__PURE__ */ jsx161("div", {
42465
42418
  className: "text-xs inline-block ml-2 leading-none mt-[3px] self-center",
42466
- children: "39k"
42419
+ children: "38k"
42467
42420
  })
42468
42421
  ]
42469
42422
  });
@@ -5977,7 +5977,7 @@ var useIsPlayer = () => {
5977
5977
  function truthy2(value) {
5978
5978
  return Boolean(value);
5979
5979
  }
5980
- var VERSION = "4.0.436";
5980
+ var VERSION = "4.0.434";
5981
5981
  var checkMultipleRemotionVersions = () => {
5982
5982
  if (typeof globalThis === "undefined") {
5983
5983
  return;
@@ -9055,7 +9055,7 @@ var useBasicMediaInTimeline = ({
9055
9055
  const videoConfig = useVideoConfig();
9056
9056
  const [initialVolume] = useState10(() => volume);
9057
9057
  const mediaDuration = calculateMediaDuration({
9058
- mediaDurationInFrames: videoConfig.durationInFrames + (trimBefore ?? 0),
9058
+ mediaDurationInFrames: videoConfig.durationInFrames,
9059
9059
  playbackRate,
9060
9060
  trimBefore,
9061
9061
  trimAfter
@@ -1003,7 +1003,7 @@ var useIsPlayer = () => {
1003
1003
  function truthy(value) {
1004
1004
  return Boolean(value);
1005
1005
  }
1006
- var VERSION = "4.0.436";
1006
+ var VERSION = "4.0.434";
1007
1007
  var checkMultipleRemotionVersions = () => {
1008
1008
  if (typeof globalThis === "undefined") {
1009
1009
  return;
@@ -4081,7 +4081,7 @@ var useBasicMediaInTimeline = ({
4081
4081
  const videoConfig = useVideoConfig();
4082
4082
  const [initialVolume] = useState10(() => volume);
4083
4083
  const mediaDuration = calculateMediaDuration({
4084
- mediaDurationInFrames: videoConfig.durationInFrames + (trimBefore ?? 0),
4084
+ mediaDurationInFrames: videoConfig.durationInFrames,
4085
4085
  playbackRate,
4086
4086
  trimBefore,
4087
4087
  trimAfter
@@ -5977,7 +5977,7 @@ var useIsPlayer = () => {
5977
5977
  function truthy2(value) {
5978
5978
  return Boolean(value);
5979
5979
  }
5980
- var VERSION = "4.0.436";
5980
+ var VERSION = "4.0.434";
5981
5981
  var checkMultipleRemotionVersions = () => {
5982
5982
  if (typeof globalThis === "undefined") {
5983
5983
  return;
@@ -9055,7 +9055,7 @@ var useBasicMediaInTimeline = ({
9055
9055
  const videoConfig = useVideoConfig();
9056
9056
  const [initialVolume] = useState10(() => volume);
9057
9057
  const mediaDuration = calculateMediaDuration({
9058
- mediaDurationInFrames: videoConfig.durationInFrames + (trimBefore ?? 0),
9058
+ mediaDurationInFrames: videoConfig.durationInFrames,
9059
9059
  playbackRate,
9060
9060
  trimBefore,
9061
9061
  trimAfter
@@ -5977,7 +5977,7 @@ var useIsPlayer = () => {
5977
5977
  function truthy2(value) {
5978
5978
  return Boolean(value);
5979
5979
  }
5980
- var VERSION = "4.0.436";
5980
+ var VERSION = "4.0.434";
5981
5981
  var checkMultipleRemotionVersions = () => {
5982
5982
  if (typeof globalThis === "undefined") {
5983
5983
  return;
@@ -9055,7 +9055,7 @@ var useBasicMediaInTimeline = ({
9055
9055
  const videoConfig = useVideoConfig();
9056
9056
  const [initialVolume] = useState10(() => volume);
9057
9057
  const mediaDuration = calculateMediaDuration({
9058
- mediaDurationInFrames: videoConfig.durationInFrames + (trimBefore ?? 0),
9058
+ mediaDurationInFrames: videoConfig.durationInFrames,
9059
9059
  playbackRate,
9060
9060
  trimBefore,
9061
9061
  trimAfter
@@ -23311,7 +23311,7 @@ var useIsPlayer = () => {
23311
23311
  function truthy2(value) {
23312
23312
  return Boolean(value);
23313
23313
  }
23314
- var VERSION = "4.0.436";
23314
+ var VERSION = "4.0.434";
23315
23315
  var checkMultipleRemotionVersions = () => {
23316
23316
  if (typeof globalThis === "undefined") {
23317
23317
  return;
@@ -26389,7 +26389,7 @@ var useBasicMediaInTimeline = ({
26389
26389
  const videoConfig = useVideoConfig();
26390
26390
  const [initialVolume] = useState10(() => volume);
26391
26391
  const mediaDuration = calculateMediaDuration({
26392
- mediaDurationInFrames: videoConfig.durationInFrames + (trimBefore ?? 0),
26392
+ mediaDurationInFrames: videoConfig.durationInFrames,
26393
26393
  playbackRate,
26394
26394
  trimBefore,
26395
26395
  trimAfter
@@ -23311,7 +23311,7 @@ var useIsPlayer = () => {
23311
23311
  function truthy2(value) {
23312
23312
  return Boolean(value);
23313
23313
  }
23314
- var VERSION = "4.0.436";
23314
+ var VERSION = "4.0.434";
23315
23315
  var checkMultipleRemotionVersions = () => {
23316
23316
  if (typeof globalThis === "undefined") {
23317
23317
  return;
@@ -26389,7 +26389,7 @@ var useBasicMediaInTimeline = ({
26389
26389
  const videoConfig = useVideoConfig();
26390
26390
  const [initialVolume] = useState10(() => volume);
26391
26391
  const mediaDuration = calculateMediaDuration({
26392
- mediaDurationInFrames: videoConfig.durationInFrames + (trimBefore ?? 0),
26392
+ mediaDurationInFrames: videoConfig.durationInFrames,
26393
26393
  playbackRate,
26394
26394
  trimBefore,
26395
26395
  trimAfter