PageSourceSearch

https://mstudio.ai/build/assets/ScriptLengthBanner.Chf6bBEc.js

js mstudio.ai collected 2026-10-05 12:18:41 UTC 1,767 bytes, 1 lines download raw bytes

1import{r as h}from"./rolldown-runtime.C1f3BsDW.js";import{Qr as j,Z as _,dr as b}from"./icons.ChOq_Y4q.js";import{t as w}from"./react-core.CAMe6Z4j.js";import"./utils.CgzVjNgC.js";import{t as N}from"./banner.Do1etl08.js";var l=h(j(),1),t=h(w(),1);const T=({projectUuid:u,truncatedAtFrame:e,targetFrames:r,sourceExhausted:d,deliveredSeconds:o,requestedSeconds:n})=>{const i=`studio:script-length-dismissed:${u}`,[p,a]=(0,l.useState)(!0);(0,l.useEffect)(()=>{try{a(localStorage.getItem(i)==="1")}catch{a(!1)}},[i]);const s=!!e,g=!s&&!!d&&!!o&&!!n&&o<n*.9;if(p||!s&&!g)return null;const f=()=>{a(!0);try{localStorage.setItem(i,"1")}catch{}},m=y=>{const c=Math.round(y/60);return c<1?"under a minute":`${c} min`},x=s&&!!r&&r>(e??0);return(0,t.jsx)(N,{tone:s?"warning":"neutral",icon:s?(0,t.jsx)(_,{}):(0,t.jsx)(b,{}),onDismiss:f,children:s?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"font-medium",children:"Your script was too long to storyboard in full"})," ",(0,t.jsxs)("span",{className:"text-muted-foreground",children:["— generation stopped at shot"," ",(e??0).toLocaleString(),x&&` of the ~${(r??0).toLocaleString()} this story needs`,", so the later scenes aren't here. Every shot above is complete and usable; to storyboard the rest, start a new film with the remaining pages."]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"font-medium",children:["Your storyboard is ",m(o??0),", not the"," ",m(n??0)," you set"]})," ",(0,t.jsx)("span",{className:"text-muted-foreground",children:"— your script ended first. Nothing is missing: every scene in it was storyboarded. To reach the longer runtime, add more script and regenerate, or lower the target duration in the film settings."})]})})};export{T as ScriptLengthBanner};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.