{"version":3,"file":"SpaghettiPrompt.CaTCfVvX.mjs","names":["__esmMin","init_jsx_runtime","c","p","addPropertyControls","init_framer_BL70qLPA","SpaghettiPrompt","props","sans","sansFont","mono","monoFont","style","spaceAbove","spaceBelow","FIG_CSS","CSS","number","BODY","__FramerMetadata__","init_SpaghettiPrompt","ControlType","\"exports\"","\"default\"","\"type\"","\"name\"","\"slots\"","\"annotations\"","\"framerIntrinsicWidth\"","\"framerContractVersion\"","\"framerSupportedLayoutWidth\"","\"framerSupportedLayoutHeight\"","\"__FramerMetadata__\""],"sources":["https:/framerusercontent.com/modules/OKjqpbHVz2KLRHmy31eg/OuOq4tUHIsVlgP2isTBy/SpaghettiPrompt.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * SpaghettiPrompt: Fig. 09 of \"How AI video escaped the spaghetti era\" (rebuilt from the author's figure in the blog's dark figure style).\n * Generated from the same source as the preview figure (src/gen_figs.py -> figures/fprompt.html).\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 680\n */export default function SpaghettiPrompt(props){const{number,sansFont,monoFont,spaceAbove,spaceBelow,style}=props;const sans=`\"${sansFont}\", Arial, sans-serif`;const mono=`\"${monoFont}\", ui-monospace, monospace`;return /*#__PURE__*/_jsx(\"div\",{style:{...style,boxSizing:\"border-box\",paddingTop:spaceAbove,paddingBottom:spaceBelow},children:/*#__PURE__*/_jsxs(\"figure\",{className:\"sfig spg-fprompt\",style:{[\"--sans\"]:sans,[\"--mono\"]:mono},children:[/*#__PURE__*/_jsx(\"style\",{children:FIG_CSS+CSS}),/*#__PURE__*/_jsxs(\"div\",{className:\"sfig-head\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"sfig-kicker\",children:\"Prompt\"}),/*#__PURE__*/_jsxs(\"span\",{className:\"sfig-num\",children:[\"Fig. \",String(number).padStart(2,\"0\")]})]}),/*#__PURE__*/_jsx(\"div\",{className:\"sfig-title\",children:\"The exact prompt\"}),/*#__PURE__*/_jsx(\"div\",{dangerouslySetInnerHTML:{__html:BODY}})]})});}const FIG_CSS=`\n.sfig{box-sizing:border-box;width:100%;margin:0;padding:24px;border:1px solid rgba(255,255,255,.10);border-radius:4px;background:rgba(255,255,255,.025);font-family:var(--sans);font-size:15px;line-height:1.5;color:#C4CAD5 !important}\n.sfig *{box-sizing:border-box}\n.sfig-head{display:flex;justify-content:space-between;gap:16px}\n.sfig-kicker,.sfig-num{font:500 12px/1.2 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:#8E97A8 !important}\n.sfig-num{color:#8FB3D9 !important}\n.sfig-title{margin:8px 0 20px;font:600 18px/1.4 var(--sans);letter-spacing:-.01em;color:#F3F5F9 !important}\n@media (max-width:640px){.sfig{padding:16px}}\n`;const CSS='.spg-fprompt .fprompt-cap{margin:18px 0 0;padding-top:14px;border-top:1px solid rgba(255,255,255,0.10);font:400 14px/1.55 \"Aileron\",Arial,sans-serif;color:#8E97A8 !important}.spg-fprompt .fprompt-cap a{color:#8FB3D9 !important;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}.spg-fprompt .fprompt-q{border-left:2px solid #8FB3D9;padding:4px 0 4px 18px;font:400 16px/1.65 \"Aileron\",Arial,sans-serif;color:#F3F5F9 !important}';const BODY='<div class=\"fprompt-q\">One continuous photorealistic shot in a sunlit neighborhood bistro. An anonymous adult chef in a plain cream shirt sits at a wooden table with a white ceramic bowl of spaghetti in tomato sauce. In a medium close-up, the chef slowly twirls spaghetti around a metal fork, lifts the fork, takes one bite, and begins to chew. The other hand rests beside the bowl. The camera makes a subtle slow push-in. Warm afternoon window light, natural skin texture, gentle restaurant room tone and the faint sound of the fork touching the bowl. Normal speed, no cuts, no dialogue, no music, no text or logos.</div>';SpaghettiPrompt.defaultProps={number:9,sansFont:\"Aileron\",monoFont:\"IBM Plex Mono\",spaceAbove:40,spaceBelow:40};addPropertyControls(SpaghettiPrompt,{number:{type:ControlType.Number,title:\"Fig. number\",min:1,max:20,step:1},spaceAbove:{type:ControlType.Number,title:\"Space above\",min:0,max:160,unit:\"px\"},spaceBelow:{type:ControlType.Number,title:\"Space below\",min:0,max:160,unit:\"px\"},sansFont:{type:ControlType.String,title:\"Sans font\"},monoFont:{type:ControlType.String,title:\"Mono font\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SpaghettiPrompt\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"680\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SpaghettiPrompt.map"],"mappings":"A,8JAOG,SAAwBM,EAAgB,EAAM,CAAC,GAAK,CAAC,SAAO,WAAS,WAAS,aAAW,aAAW,SAAOC,EAAYC,EAAK,IAAIC,EAAS,sBAA4BC,EAAK,IAAIC,EAAS,4BAA4B,MAAoB,gBAAK,MAAM,CAAC,MAAM,CAAC,GAAGC,EAAM,UAAU,aAAa,WAAWC,EAAW,cAAcC,CAAU,EAAE,SAAsB,gBAAM,SAAS,CAAC,UAAU,mBAAmB,MAAM,CAAE,SAAUN,EAAM,SAAUE,CAAI,EAAE,SAAS,CAAc,gBAAK,QAAQ,CAAC,SAASK,EAAQC,CAAG,CAAC,EAAe,gBAAM,MAAM,CAAC,UAAU,YAAY,SAAS,CAAc,gBAAK,OAAO,CAAC,UAAU,cAAc,SAAS,QAAQ,CAAC,EAAe,gBAAM,OAAO,CAAC,UAAU,WAAW,SAAS,CAAC,QAAQ,OAAOC,CAAM,CAAC,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAe,gBAAK,MAAM,CAAC,UAAU,aAAa,SAAS,kBAAkB,CAAC,EAAe,gBAAK,MAAM,CAAC,wBAAwB,CAAC,OAAOC,CAAI,CAA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