{"version":3,"file":"StudioFaq.D-fsMDCT.mjs","names":["useState","startTransition"],"sources":["https:/framerusercontent.com/modules/1eeN9ijRcrN1RXN6shIg/Yc5AKVucXa5O5dUratd3/StudioFaq.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,startTransition}from\"react\";const EASE=\"cubic-bezier(.16,.84,.44,1)\";/** Answers may carry inline links written as [text](url); everything else stays plain text. */const LINK_RE=/\\[([^\\]]+)\\]\\(([^)\\s]+)\\)/g;function renderAnswer(text,accent){const out=[];let last=0;let m;LINK_RE.lastIndex=0;while(m=LINK_RE.exec(text)){if(m.index>last)out.push(text.slice(last,m.index));const href=m[2];const external=/^https?:\\/\\//.test(href);out.push(/*#__PURE__*/_jsx(\"a\",{href:href,...external?{target:\"_blank\",rel:\"noopener\"}:{},style:{color:accent,fontWeight:600,textDecoration:\"underline\",textUnderlineOffset:3},children:m[1]},m.index));last=m.index+m[0].length;}if(last<text.length)out.push(text.slice(last));return out.length?out:text;}/**\n * Studio FAQ\n *\n * Same accordion behaviour and rhythm as the site's shared Accordion, with the\n * Studio pillar questions carried as defaults so the copy lives with the\n * component rather than being retyped per instance.\n *\n * @framerIntrinsicWidth 720\n * @framerIntrinsicHeight 520\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function StudioFaq(props){const{items=[],openFirst=true,ink=\"#120A2E\",body=\"#3E3763\",line=\"#D3CFEC\",accent=\"#5700FF\",questionTag=\"none\",style}=props;const[open,setOpen]=useState(openFirst?0:null);return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"relative\",width:\"100%\",display:\"flex\",flexDirection:\"column\"},children:items.map((item,i)=>{const on=open===i;return /*#__PURE__*/_jsxs(\"div\",{style:{borderTop:`1px solid ${line}`,borderBottom:i===items.length-1?`1px solid ${line}`:undefined},children:[(()=>{const btn=/*#__PURE__*/_jsxs(\"button\",{type:\"button\",\"aria-expanded\":on,onClick:()=>startTransition(()=>setOpen(on?null:i)),style:{width:\"100%\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",gap:24,padding:\"22px 0\",margin:0,border:0,background:\"none\",cursor:\"pointer\",textAlign:\"left\",color:on?accent:ink,transition:\"color .3s ease\",fontFamily:\"Inter, sans-serif\",fontSize:18,fontWeight:600,lineHeight:\"1.4em\",letterSpacing:\"-0.01em\"},children:[/*#__PURE__*/_jsx(\"span\",{children:item.question}),/*#__PURE__*/_jsxs(\"span\",{\"aria-hidden\":\"true\",style:{flex:\"none\",position:\"relative\",width:14,height:14},children:[/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",top:6,left:0,width:14,height:1.5,borderRadius:1,background:on?accent:ink,transition:`background .3s ease`}}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",top:6,left:0,width:14,height:1.5,borderRadius:1,background:on?accent:ink,transform:on?\"rotate(0deg)\":\"rotate(90deg)\",transition:`transform .42s ${EASE}, background .3s ease`}})]})]});return questionTag===\"h3\"?/*#__PURE__*/_jsx(\"h3\",{style:{margin:0,fontSize:\"inherit\",fontWeight:\"inherit\",lineHeight:\"inherit\"},children:btn}):btn;})(),/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateRows:on?\"1fr\":\"0fr\",transition:`grid-template-rows .42s ${EASE}`},children:/*#__PURE__*/_jsx(\"div\",{style:{overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"p\",{style:{margin:0,padding:\"0 0 24px\",maxWidth:\"58em\",color:body,fontFamily:\"Inter, sans-serif\",fontSize:16,fontWeight:400,lineHeight:\"1.65em\"},children:renderAnswer(item.answer,accent)})})})]},i);})});}addPropertyControls(StudioFaq,{items:{type:ControlType.Array,title:\"Items\",control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\",defaultValue:\"Question\"},answer:{type:ControlType.String,title:\"Answer\",displayTextArea:true,defaultValue:\"Answer\"}}},defaultValue:[{question:\"What’s the difference between a Studio build and the AI Council Incubator?\",answer:\"The Incubator is a limited offer per quarter: your first Studio system, built at no cost, in six weeks. Studio is the ongoing range of systems we build and support once that first system proves out.\"},{question:\"Do you replace our existing software?\",answer:\"No. Every Studio system integrates with what you already run. Zero disruption is a core design requirement.\"},{question:\"How is this different from hiring a developer?\",answer:\"A Studio system comes with a senior practitioner, a proven delivery process, and support after launch, not a single hire ramping up on your systems from zero.\"},{question:\"Is my data used to train other systems?\",answer:\"No. Every system is built inside your own environment, and your data never trains a model for another client.\"},{question:\"How long does a Studio build take?\",answer:\"Most systems go from discovery to a working build in six weeks, following the AI-Native SDLC above.\"},{question:\"Can you implement Odoo or New Relic if we don’t need a custom build?\",answer:\"Yes. We’re a certified partner for both, so implementation and support runs through the same team.\"}]},openFirst:{type:ControlType.Boolean,title:\"Open First\",defaultValue:true},ink:{type:ControlType.Color,title:\"Ink\",defaultValue:\"#120A2E\"},body:{type:ControlType.Color,title:\"Body\",defaultValue:\"#3E3763\"},line:{type:ControlType.Color,title:\"Line\",defaultValue:\"#D3CFEC\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#5700FF\"},questionTag:{type:ControlType.Enum,title:\"Question tag\",options:[\"none\",\"h3\"],optionTitles:[\"None\",\"H3\"],defaultValue:\"none\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StudioFaq\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"720\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicHeight\":\"520\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StudioFaq.map"],"mappings":"wLAA4U,SAAS,EAAa,EAAK,EAAO,CAAC,IAAM,EAAI,CAAC,EAAM,EAAK,EAAM,EAAsB,IAApB,EAAQ,UAAU,EAAQ,EAAE,EAAQ,KA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