@remotion/studio 4.0.487 → 4.0.489

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.
@@ -584,6 +584,29 @@ import {
584
584
  import { jsx as jsx2 } from "react/jsx-runtime";
585
585
  var ZodContext = createContext(null);
586
586
 
587
+ // src/helpers/studio-runtime-config.ts
588
+ import { DEFAULT_TIMELINE_TRACKS } from "@remotion/studio-shared";
589
+ var defaultStudioRuntimeConfig = {
590
+ askAIEnabled: false,
591
+ bufferStateDelayInMilliseconds: null,
592
+ experimentalClientSideRenderingEnabled: false,
593
+ interactivityEnabled: true,
594
+ keyboardShortcutsEnabled: true,
595
+ maxTimelineTracks: null
596
+ };
597
+ var getStudioRuntimeConfig = () => {
598
+ if (typeof window === "undefined") {
599
+ return defaultStudioRuntimeConfig;
600
+ }
601
+ return window.remotion_studioConfig ?? defaultStudioRuntimeConfig;
602
+ };
603
+ var getStudioInteractivityEnabled = () => {
604
+ return getStudioRuntimeConfig().interactivityEnabled;
605
+ };
606
+
607
+ // src/helpers/interactivity-enabled.ts
608
+ var studioInteractivityEnabled = getStudioInteractivityEnabled();
609
+
587
610
  // src/visual-controls/VisualControls.tsx
588
611
  import { jsx as jsx3 } from "react/jsx-runtime";
589
612
  var VisualControlsTabActivatedContext = createContext2(false);