import { realpath, stat } from "node:fs/promises"; import path from "node:path"; import { reelCuts, takeMasters } from "@/lib/report/reelPlay.mjs"; import { rangeResponse, resolveReport } from "@/lib/report/serve.mjs"; import { isTakeId } from "@/lib/report/takes.mjs"; import { DEFAULT_REEL, isReelId } from "@/lib/report/trailerBeats.mjs"; export const dynamic = "force-dynamic"; // A take's MASTER (`what=master`, what a reel's Play and walk seek through) or // a reel's CUT in that take (`what=cut&reel=`), to a