+ {/* Header row */}
+
+ {formatTime(currentTimeSeconds)}
+ Timeline
+ {formatTime(totalDuration)}
+
+
+ {/* Lane */}
+
+
+ {/* Ruler ticks */}
+ {Array.from({ length: Math.ceil(totalDuration) + 1 }, (_, i) => (
+
+ ))}
+
+ {/* Board blocks */}
+ {boardTimings.map(({ board, startTime }, idx) => {
+ const blockWidth = Math.max(MIN_BLOCK_WIDTH, board.duration * PIXELS_PER_SECOND);
+ const isSelected = board.id === selectedBoardId;
+ const isDragging = dragState?.boardId === board.id;
+
+ return (
+
handleBoardPointerDown(e, board.id, idx)}
+ >
+ {board.imageDataUrl && (
+

+ )}
+
+
+ {board.shotNumber}
+ {board.title ? ` · ${board.title}` : ""}
+
+ {board.dialogue && (
+
+ "{board.dialogue}"
+
+ )}
+ {board.duration.toFixed(1)}s
+
+
+ {/* Resize handle */}
+
handleResizePointerDown(e, board.id, board.duration)}
+ title="Drag to resize duration"
+ />
+
+ );
+ })}
+
+ {/* Drag insertion caret */}
+ {dragState && (
+
+ {/* Downward-pointing triangle at top */}
+
+
+ )}
+
+ {/* Playhead */}
+
+
+
+
+ );
+};
+
+// ─── PlaybackControls ─────────────────────────────────────────────────────────
+
+interface PlaybackControlsProps {
+ isPlaying: boolean;
+ currentTimeSeconds: number;
+ totalDuration: number;
+ currentBoardNumber: number | null;
+ totalBoards: number;
+ onPlay: () => void;
+ onPause: () => void;
+ onPrevBoard: () => void;
+ onNextBoard: () => void;
+ onPrevScene: () => void;
+ onNextScene: () => void;
+}
+
+const PlaybackControls = ({
+ isPlaying,
+ currentTimeSeconds,
+ totalDuration,
+ currentBoardNumber,
+ totalBoards,
+ onPlay,
+ onPause,
+ onPrevBoard,
+ onNextBoard,
+ onPrevScene,
+ onNextScene,
+}: PlaybackControlsProps) => {
+ const transportBtnClass =
+ "flex h-9 w-9 items-center justify-center rounded-md text-base-fg/70 transition-colors hover:bg-white/10 hover:text-base-fg active:scale-95";
+
+ return (
+
+ {/* Left stats */}
+
+ {formatTime(currentTimeSeconds)}
+
+ {currentBoardNumber !== null ? `Shot ${currentBoardNumber}` : "—"}
+
+
+
+ {/* Transport buttons — centered */}
+
+
+
+
+ {/* Play / Pause */}
+
+
+
+
+
+
+ {/* Right stats */}
+
+ {formatTime(totalDuration)}
+ {totalBoards} shot{totalBoards !== 1 ? "s" : ""}
+
+
+ );
+};
+
+// ─── Storyboard ───────────────────────────────────────────────────────────────
+
+export const Storyboard = () => {
+ const boards = useStoryboardStore((s) => s.boards);
+ const selectedBoardId = useStoryboardStore((s) => s.selectedBoardId);
+ const addBoard = useStoryboardStore((s) => s.addBoard);
+ const deleteBoard = useStoryboardStore((s) => s.deleteBoard);
+ const selectBoard = useStoryboardStore((s) => s.selectBoard);
+ const updateBoard = useStoryboardStore((s) => s.updateBoard);
+ const reorderBoards = useStoryboardStore((s) => s.reorderBoards);
+
+ const fileInputRef = useRef
(null);
+ const dragIndexRef = useRef(null);
+ const [dragOverIndex, setDragOverIndex] = useState(null);
+ const [currentTimeSeconds, setCurrentTimeSeconds] = useState(0);
+ const [isPlaying, setIsPlaying] = useState(false);
+ const [isSketchMode, setIsSketchMode] = useState(false);
+
+ // Refs for playback rAF loop (avoid stale closures)
+ const currentTimeRef = useRef(0);
+ const boardsRef = useRef([]);
+ const rafRef = useRef(null);
+ const lastTimestampRef = useRef(null);
+
+ // Keep refs in sync — currentTimeRef is updated manually in every handler and in the rAF
+ // tick itself, so we do NOT sync it here (that would race with and reset manual updates).
+ useEffect(() => { boardsRef.current = boards; }, [boards]);
+
+ // selectedBoardId ref so the rAF tick can check current selection without a stale closure
+ const selectedBoardIdRef = useRef(selectedBoardId);
+ useEffect(() => { selectedBoardIdRef.current = selectedBoardId; }, [selectedBoardId]);
+
+ const boardTimings = useMemo(() => buildBoardTimings(boards), [boards]);
+ const totalDuration = boardTimings.reduce((s, { board }) => s + board.duration, 0);
+ const selectedBoard = boards.find((b) => b.id === selectedBoardId) ?? null;
+
+ // ── Playback engine ────────────────────────────────────────────────────────
+
+ const stopPlayback = useCallback(() => {
+ setIsPlaying(false);
+ if (rafRef.current !== null) {
+ cancelAnimationFrame(rafRef.current);
+ rafRef.current = null;
+ }
+ lastTimestampRef.current = null;
+ }, []);
+
+ useEffect(() => {
+ if (!isPlaying) {
+ if (rafRef.current !== null) {
+ cancelAnimationFrame(rafRef.current);
+ rafRef.current = null;
+ }
+ lastTimestampRef.current = null;
+ return;
+ }
+
+ const tick = (timestamp: number) => {
+ const last = lastTimestampRef.current;
+ if (last !== null) {
+ const delta = (timestamp - last) / 1000;
+ const nextTime = currentTimeRef.current + delta;
+ const timings = buildBoardTimings(boardsRef.current);
+ const dur = timings.reduce((s, { board }) => s + board.duration, 0);
+
+ if (nextTime >= dur) {
+ // Reached end — stop
+ setCurrentTimeSeconds(dur);
+ currentTimeRef.current = dur;
+ stopPlayback();
+ return;
+ }
+
+ setCurrentTimeSeconds(nextTime);
+ currentTimeRef.current = nextTime;
+
+ // Auto-select board under playhead — use ref to avoid stale closure
+ const hit = timings.find(
+ ({ board, startTime }) =>
+ nextTime >= startTime && nextTime < startTime + board.duration,
+ );
+ if (hit && hit.board.id !== selectedBoardIdRef.current) {
+ selectBoard(hit.board.id);
+ selectedBoardIdRef.current = hit.board.id;
+ }
+ }
+ lastTimestampRef.current = timestamp;
+ rafRef.current = requestAnimationFrame(tick);
+ };
+
+ rafRef.current = requestAnimationFrame(tick);
+ return () => {
+ if (rafRef.current !== null) cancelAnimationFrame(rafRef.current);
+ };
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [isPlaying]);
+
+ // ── Playback control actions ───────────────────────────────────────────────
+
+ const handlePlay = useCallback(() => {
+ // If at the end, restart from beginning
+ if (currentTimeRef.current >= totalDuration && totalDuration > 0) {
+ setCurrentTimeSeconds(0);
+ currentTimeRef.current = 0;
+ }
+ setIsPlaying(true);
+ }, [totalDuration]);
+
+ const handlePause = useCallback(() => stopPlayback(), [stopPlayback]);
+
+ const handlePrevBoard = useCallback(() => {
+ const timings = buildBoardTimings(boards);
+ const curTime = currentTimeRef.current;
+ // If we're more than 0.3s into the current board, rewind to its start
+ const currentEntry = timings.find(
+ ({ startTime, board }) => curTime >= startTime && curTime < startTime + board.duration,
+ );
+ if (currentEntry && curTime - currentEntry.startTime > 0.3) {
+ setCurrentTimeSeconds(currentEntry.startTime);
+ currentTimeRef.current = currentEntry.startTime;
+ selectBoard(currentEntry.board.id);
+ return;
+ }
+ // Otherwise go to start of previous board
+ const idx = timings.findIndex(({ board }) => board.id === selectedBoardId);
+ const prevEntry = idx > 0 ? timings[idx - 1] : timings[0];
+ if (prevEntry) {
+ setCurrentTimeSeconds(prevEntry.startTime);
+ currentTimeRef.current = prevEntry.startTime;
+ selectBoard(prevEntry.board.id);
+ }
+ }, [boards, selectedBoardId, selectBoard]);
+
+ const handleNextBoard = useCallback(() => {
+ const timings = buildBoardTimings(boards);
+ const idx = timings.findIndex(({ board }) => board.id === selectedBoardId);
+ const nextEntry = idx >= 0 && idx < timings.length - 1 ? timings[idx + 1] : null;
+ if (nextEntry) {
+ setCurrentTimeSeconds(nextEntry.startTime);
+ currentTimeRef.current = nextEntry.startTime;
+ selectBoard(nextEntry.board.id);
+ }
+ }, [boards, selectedBoardId, selectBoard]);
+
+ const handlePrevScene = useCallback(() => {
+ setCurrentTimeSeconds(0);
+ currentTimeRef.current = 0;
+ if (boards.length > 0) selectBoard(boards[0].id);
+ }, [boards, selectBoard]);
+
+ const handleNextScene = useCallback(() => {
+ setCurrentTimeSeconds(totalDuration);
+ currentTimeRef.current = totalDuration;
+ stopPlayback();
+ }, [totalDuration, stopPlayback]);
+
+ // ── File upload ────────────────────────────────────────────────────────────
+
+ const handleUploadClick = useCallback(() => {
+ fileInputRef.current?.click();
+ }, []);
+
+ const handleFileChange = useCallback(
+ (e: React.ChangeEvent) => {
+ const file = e.target.files?.[0];
+ if (!file || !selectedBoardId) return;
+ if (!file.type.startsWith("image/")) return;
+ const reader = new FileReader();
+ reader.onloadend = () => {
+ if (typeof reader.result === "string") {
+ updateBoard(selectedBoardId, { imageDataUrl: reader.result });
+ }
+ };
+ reader.readAsDataURL(file);
+ e.target.value = "";
+ },
+ [selectedBoardId, updateBoard],
+ );
+
+ // ── Filmstrip drag handlers ────────────────────────────────────────────────
+
+ const handleDragStart = useCallback((e: React.DragEvent, index: number) => {
+ dragIndexRef.current = index;
+ e.dataTransfer.effectAllowed = "move";
+ e.dataTransfer.setData("text/plain", String(index));
+ }, []);
+
+ const handleDragOver = useCallback((_e: React.DragEvent, index: number) => {
+ setDragOverIndex(index);
+ }, []);
+
+ const handleDrop = useCallback(
+ (_e: React.DragEvent, toIndex: number) => {
+ const fromIndex = dragIndexRef.current;
+ if (fromIndex !== null && fromIndex !== toIndex) {
+ reorderBoards(fromIndex, toIndex);
+ }
+ setDragOverIndex(null);
+ dragIndexRef.current = null;
+ },
+ [reorderBoards],
+ );
+
+ const handleDragEnd = useCallback(() => {
+ setDragOverIndex(null);
+ dragIndexRef.current = null;
+ }, []);
+
+ // ── Metadata update / delete ───────────────────────────────────────────────
+
+ const handleUpdate = useCallback(
+ (patch: Partial>) => {
+ if (selectedBoardId) updateBoard(selectedBoardId, patch);
+ },
+ [selectedBoardId, updateBoard],
+ );
+
+ const handleDelete = useCallback(() => {
+ if (selectedBoardId) deleteBoard(selectedBoardId);
+ }, [selectedBoardId, deleteBoard]);
+
+ // ── Timeline callbacks ────────────────────────────────────────────────────
+
+ const handleTimelineSelect = useCallback(
+ (id: string, startTime: number) => {
+ selectBoard(id);
+ setCurrentTimeSeconds(startTime);
+ currentTimeRef.current = startTime;
+ },
+ [selectBoard],
+ );
+
+ const handleSeek = useCallback((time: number) => {
+ setCurrentTimeSeconds(time);
+ currentTimeRef.current = time;
+ }, []);
+
+ const handleUpdateDuration = useCallback(
+ (id: string, duration: number) => updateBoard(id, { duration }),
+ [updateBoard],
+ );
+
+ // ── Sketch mode ────────────────────────────────────────────────────────────
+
+ const handleSketchOpen = useCallback(() => setIsSketchMode(true), []);
+ const handleSketchExit = useCallback(() => setIsSketchMode(false), []);
+ const handleSketchSave = useCallback(
+ (dataUrl: string) => {
+ if (selectedBoardId) updateBoard(selectedBoardId, { imageDataUrl: dataUrl });
+ },
+ [selectedBoardId, updateBoard],
+ );
+
+ // Auto-exit sketch mode if selected board changes (otherwise canvas would hold stale drawing)
+ useEffect(() => {
+ if (isSketchMode) setIsSketchMode(false);
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [selectedBoardId]);
+
+ // ── Derived values for PlaybackControls ──────────────────────────────────
+
+ const currentBoardNumber = useMemo(() => {
+ const hit = boardTimings.find(
+ ({ startTime, board }) =>
+ currentTimeSeconds >= startTime &&
+ currentTimeSeconds < startTime + board.duration,
+ );
+ return hit?.board.shotNumber ?? null;
+ }, [boardTimings, currentTimeSeconds]);
+
+ if (boards.length === 0) {
+ return ;
+ }
+
+ return (
+
+
+
+ {/* Top section: metadata panel + main preview (or sketch canvas) */}
+
+ {selectedBoard ? (
+
+ ) : (
+
+ )}
+ {isSketchMode && selectedBoard ? (
+
+ ) : (
+
+ )}
+
+
+ {/* Filmstrip */}
+
+
+ {/* Timeline */}
+
+
+ {/* Playback controls */}
+
+
+ );
+};
diff --git a/frontend/apps/artcraft/app/src/pages/PageStoryboard/StoryboardStore.ts b/frontend/apps/artcraft/app/src/pages/PageStoryboard/StoryboardStore.ts
new file mode 100644
index 0000000000..1507fd9bb3
--- /dev/null
+++ b/frontend/apps/artcraft/app/src/pages/PageStoryboard/StoryboardStore.ts
@@ -0,0 +1,85 @@
+import { create } from "zustand";
+import { v4 as uuidv4 } from "uuid";
+
+export interface Board {
+ id: string;
+ imageDataUrl: string | null;
+ title: string;
+ shotNumber: number;
+ dialogue: string;
+ action: string;
+ notes: string;
+ duration: number;
+}
+
+interface StoryboardState {
+ boards: Board[];
+ selectedBoardId: string | null;
+
+ addBoard: () => void;
+ deleteBoard: (id: string) => void;
+ selectBoard: (id: string) => void;
+ updateBoard: (id: string, patch: Partial>) => void;
+ reorderBoards: (fromIndex: number, toIndex: number) => void;
+ reset: () => void;
+}
+
+const syncShotNumbers = (boards: Board[]): Board[] =>
+ boards.map((b, i) => ({ ...b, shotNumber: i + 1 }));
+
+export const useStoryboardStore = create((set, get) => ({
+ boards: [],
+ selectedBoardId: null,
+
+ addBoard: () => {
+ const newBoard: Board = {
+ id: uuidv4(),
+ imageDataUrl: null,
+ title: "",
+ shotNumber: get().boards.length + 1,
+ dialogue: "",
+ action: "",
+ notes: "",
+ duration: 3,
+ };
+ set((state) => ({
+ boards: [...state.boards, newBoard],
+ selectedBoardId: newBoard.id,
+ }));
+ },
+
+ deleteBoard: (id) => {
+ set((state) => {
+ const idx = state.boards.findIndex((b) => b.id === id);
+ const remaining = syncShotNumbers(state.boards.filter((b) => b.id !== id));
+ const nextSelected = remaining[idx] ?? remaining[idx - 1] ?? null;
+ return {
+ boards: remaining,
+ selectedBoardId: nextSelected?.id ?? null,
+ };
+ });
+ },
+
+ selectBoard: (id) => {
+ set({ selectedBoardId: id });
+ },
+
+ updateBoard: (id, patch) => {
+ set((state) => ({
+ boards: state.boards.map((b) => (b.id === id ? { ...b, ...patch } : b)),
+ }));
+ },
+
+ reorderBoards: (fromIndex, toIndex) => {
+ set((state) => {
+ const arr = [...state.boards];
+ const [moved] = arr.splice(fromIndex, 1);
+ arr.splice(toIndex, 0, moved);
+ return { boards: syncShotNumbers(arr) };
+ });
+ },
+
+ reset: () => {
+ set({ boards: [], selectedBoardId: null });
+ },
+}));
diff --git a/frontend/apps/artcraft/app/src/pages/PageStoryboard/index.ts b/frontend/apps/artcraft/app/src/pages/PageStoryboard/index.ts
new file mode 100644
index 0000000000..0830a593a2
--- /dev/null
+++ b/frontend/apps/artcraft/app/src/pages/PageStoryboard/index.ts
@@ -0,0 +1,2 @@
+export { Storyboard } from "./Storyboard";
+export { useStoryboardStore } from "./StoryboardStore";
diff --git a/frontend/apps/artcraft/app/src/pages/Stores/TabState.ts b/frontend/apps/artcraft/app/src/pages/Stores/TabState.ts
index b59110a43d..c23b50dbbd 100644
--- a/frontend/apps/artcraft/app/src/pages/Stores/TabState.ts
+++ b/frontend/apps/artcraft/app/src/pages/Stores/TabState.ts
@@ -14,7 +14,8 @@ export type TabId =
| "IMAGE_TO_3D_OBJECT"
| "IMAGE_TO_3D_WORLD"
| "REMOVE_BACKGROUND"
- | "ANGLES";
+ | "ANGLES"
+ | "STORYBOARD";
const DEFAULT_TAB: TabId = "IMAGE";
diff --git a/frontend/libs/components/settings-modal/src/index.ts b/frontend/libs/components/settings-modal/src/index.ts
index a00baad6df..b7ea9ed55c 100644
--- a/frontend/libs/components/settings-modal/src/index.ts
+++ b/frontend/libs/components/settings-modal/src/index.ts
@@ -1,2 +1,6 @@
export * from './lib/settings-modal';
+export {
+ useExperimentalStore,
+ useStoryboardPageEnabled,
+} from './lib/experimental-store';
diff --git a/frontend/libs/components/settings-modal/src/lib/experimental-store.ts b/frontend/libs/components/settings-modal/src/lib/experimental-store.ts
index e76d96de4e..637e9d8727 100644
--- a/frontend/libs/components/settings-modal/src/lib/experimental-store.ts
+++ b/frontend/libs/components/settings-modal/src/lib/experimental-store.ts
@@ -1,23 +1,24 @@
import { create } from "zustand";
-const STORAGE_KEY = "artcraft_experimental_enabled";
+const ENABLED_STORAGE_KEY = "artcraft_experimental_enabled";
+const STORYBOARD_STORAGE_KEY = "artcraft_experimental_storyboard_page";
-const readInitial = (): boolean => {
+const readBoolFlag = (key: string): boolean => {
if (typeof window === "undefined") return false;
try {
- return window.localStorage.getItem(STORAGE_KEY) === "true";
+ return window.localStorage.getItem(key) === "true";
} catch {
return false;
}
};
-const writeStorage = (enabled: boolean) => {
+const writeBoolFlag = (key: string, enabled: boolean) => {
if (typeof window === "undefined") return;
try {
if (enabled) {
- window.localStorage.setItem(STORAGE_KEY, "true");
+ window.localStorage.setItem(key, "true");
} else {
- window.localStorage.removeItem(STORAGE_KEY);
+ window.localStorage.removeItem(key);
}
} catch {
// ignore storage failures
@@ -26,18 +27,30 @@ const writeStorage = (enabled: boolean) => {
interface ExperimentalState {
enabled: boolean;
+ storyboardPageEnabled: boolean;
enable: () => void;
disable: () => void;
+ setStoryboardPageEnabled: (enabled: boolean) => void;
}
export const useExperimentalStore = create((set) => ({
- enabled: readInitial(),
+ enabled: readBoolFlag(ENABLED_STORAGE_KEY),
+ storyboardPageEnabled: readBoolFlag(STORYBOARD_STORAGE_KEY),
enable: () => {
- writeStorage(true);
+ writeBoolFlag(ENABLED_STORAGE_KEY, true);
set({ enabled: true });
},
disable: () => {
- writeStorage(false);
- set({ enabled: false });
+ // Resetting experimental clears every gated feature flag too.
+ writeBoolFlag(ENABLED_STORAGE_KEY, false);
+ writeBoolFlag(STORYBOARD_STORAGE_KEY, false);
+ set({ enabled: false, storyboardPageEnabled: false });
+ },
+ setStoryboardPageEnabled: (enabled: boolean) => {
+ writeBoolFlag(STORYBOARD_STORAGE_KEY, enabled);
+ set({ storyboardPageEnabled: enabled });
},
}));
+
+export const useStoryboardPageEnabled = () =>
+ useExperimentalStore((s) => s.enabled && s.storyboardPageEnabled);
diff --git a/frontend/libs/components/settings-modal/src/lib/panes/ExperimentalSettingsPane.tsx b/frontend/libs/components/settings-modal/src/lib/panes/ExperimentalSettingsPane.tsx
index fe1561a3be..7c2d562b7b 100644
--- a/frontend/libs/components/settings-modal/src/lib/panes/ExperimentalSettingsPane.tsx
+++ b/frontend/libs/components/settings-modal/src/lib/panes/ExperimentalSettingsPane.tsx
@@ -1,15 +1,73 @@
+import { useState } from "react";
import { Label } from "@storyteller/ui-label";
+import { Switch } from "@storyteller/ui-switch";
+import { gtagEvent } from "@storyteller/google-analytics";
+import { useExperimentalStore } from "../experimental-store";
+import { ExperimentalConfirmModal } from "../ExperimentalConfirmModal";
+
+interface Props {
+ // Called immediately before the storyboard flag flips off, so the host app
+ // can reset page state and navigate away from the soon-to-be-hidden tab.
+ onStoryboardPageDisable?: () => void;
+}
+
+export const ExperimentalSettingsPane = ({ onStoryboardPageDisable }: Props) => {
+ const storyboardPageEnabled = useExperimentalStore(
+ (s) => s.storyboardPageEnabled,
+ );
+ const setStoryboardPageEnabled = useExperimentalStore(
+ (s) => s.setStoryboardPageEnabled,
+ );
+ const [isDisableConfirmOpen, setIsDisableConfirmOpen] = useState(false);
+
+ const fireToggleEvent = (enabled: boolean) => {
+ gtagEvent("toggle_experimental_feature", {
+ feature: "storyboard_page",
+ enabled: String(enabled),
+ });
+ };
+
+ const handleStoryboardToggle = (enabled: boolean) => {
+ if (enabled) {
+ setStoryboardPageEnabled(true);
+ fireToggleEvent(true);
+ } else {
+ setIsDisableConfirmOpen(true);
+ }
+ };
+
+ const handleConfirmDisable = () => {
+ onStoryboardPageDisable?.();
+ setStoryboardPageEnabled(false);
+ fireToggleEvent(false);
+ setIsDisableConfirmOpen(false);
+ };
-export const ExperimentalSettingsPane = () => {
return (
-
-
-
-
- This section is reserved for in-development features. There are no
- experimental options available right now.
-
+ <>
+
+
+
+
+
+ Show the Storyboard page in the apps menu. In-development; expect
+ rough edges.
+
+
+
+
-
+
setIsDisableConfirmOpen(false)}
+ onConfirm={handleConfirmDisable}
+ title="Disable Storyboard page?"
+ text="The Storyboard page will be reset and any unsaved changes will be lost."
+ confirmText="Disable"
+ />
+ >
);
};
diff --git a/frontend/libs/components/settings-modal/src/lib/settings-modal.tsx b/frontend/libs/components/settings-modal/src/lib/settings-modal.tsx
index 911e33ddc8..5e05b66f4e 100644
--- a/frontend/libs/components/settings-modal/src/lib/settings-modal.tsx
+++ b/frontend/libs/components/settings-modal/src/lib/settings-modal.tsx
@@ -28,6 +28,7 @@ interface SettingsModalProps {
isOpen: boolean;
onClose: () => void;
globalAccountLogoutCallback: () => void;
+ onStoryboardPageDisable?: () => void;
initialSection?: SettingsSection;
}
@@ -45,6 +46,7 @@ export const SettingsModal = ({
isOpen,
onClose,
globalAccountLogoutCallback,
+ onStoryboardPageDisable,
initialSection = "general",
}: SettingsModalProps) => {
const [selectedSection, setSelectedSection] =
@@ -110,7 +112,11 @@ export const SettingsModal = ({
case "billing":
return ;
case "experimental":
- return ;
+ return (
+
+ );
}
};