{"version":3,"file":"FAQ.B2DFAeay.mjs","names":["React.useState","React.useId"],"sources":["https:/framerusercontent.com/modules/BJyHZdOwYKaecBSRNMfM/cn3q9x31ppvLouV8TK3N/FAQ.js"],"sourcesContent":["// VELNORA Proof & FAQ — shows verified testimonials when you add them (none are invented), otherwise only the\n// feature FAQ. Accessible accordion (button + region, one open at a time, keyboard friendly).\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{AnimatePresence,motion}from\"framer-motion\";import{Section,Head,Reveal,Icon,Btn,lines,cells,toneControl,idControl,headControls,EASE_OUT}from\"https://framerusercontent.com/modules/m8GZi090azqY4HCeGc1x/vEO3BBkGZ6s6IMmPZ7fw/Kit.js\";const CSS=`\n.vn-faq .row{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:start}\n.vn-faq .side{position:sticky;top:120px;display:flex;flex-direction:column;align-items:flex-start;gap:24px}\n.vn-faq .help{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:18px;background:#fff;box-shadow:0 0 0 1px var(--line2),var(--sh-xs)}\n.vn-faq .help p{font-size:14px;color:var(--text2)}\n.vn-faq .help b{display:block;font-size:14.5px;font-weight:600;color:var(--text)}\n.vn-faq .list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}\n.vn-faq .item{border-radius:18px;background:#fff;box-shadow:0 0 0 1px var(--line2);transition:box-shadow .3s}\n.vn-faq .item[data-open]{box-shadow:0 0 0 1px var(--line3),var(--sh-sm)}\n.vn-faq .q{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:20px 22px;text-align:left;font-size:16.5px;font-weight:600;letter-spacing:-0.012em;color:var(--text);border-radius:18px}\n.vn-faq .q .pm{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border-radius:50%;background:var(--subtle);color:var(--text2);transition:transform .35s var(--e-out),background .3s,color .3s}\n.vn-faq .item[data-open] .pm{transform:rotate(45deg);background:var(--brand);color:#fff}\n.vn-faq .a{overflow:hidden}\n.vn-faq .a div{padding:0 22px 22px;font-size:15px;line-height:1.65;color:var(--text2);max-width:620px}\n.vn-faq .quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin-bottom:72px}\n.vn-faq .quote{display:flex;flex-direction:column;gap:20px;padding:26px;border-radius:24px;background:#fff;box-shadow:0 0 0 1px var(--line2),var(--sh-xs)}\n.vn-faq .quote blockquote{font-size:17px;line-height:1.55;letter-spacing:-0.01em;color:var(--text)}\n.vn-faq .quote figcaption{display:flex;align-items:center;gap:12px;margin-top:auto}\n.vn-faq .quote img{width:40px;height:40px;border-radius:50%;object-fit:cover}\n.vn-faq .quote .n{font-size:14px;font-weight:600;color:var(--text)}\n.vn-faq .quote .r{font-size:13px;color:var(--text3)}\n@container (max-width:1000px){.vn-faq .row{grid-template-columns:minmax(0,1fr);gap:40px}.vn-faq .side{position:relative;top:0}}\n@container (max-width:600px){.vn-faq .q{padding:18px;font-size:15.5px}.vn-faq .a div{padding:0 18px 18px}}\n`;export default function FAQ(props){const{tone,sectionId,eyebrow,title,subtitle,testimonials,faqs,helpTitle,helpText,helpLabel,helpLink,style}=props;const[open,setOpen]=React.useState(0);const uid=React.useId?React.useId().replace(/:/g,\"\"):\"vnfaq\";const quotes=(testimonials||[]).filter(t=>t&&t.quote);return /*#__PURE__*/_jsx(Section,{tone:tone,id:sectionId,className:\"vn-faq\",css:CSS,style:style,children:/*#__PURE__*/_jsxs(\"div\",{className:\"vn-wrap\",children:[quotes.length>0&&/*#__PURE__*/_jsx(\"div\",{className:\"quotes\",children:quotes.map((t,i)=>/*#__PURE__*/_jsx(Reveal,{delay:.06*i,children:/*#__PURE__*/_jsxs(\"figure\",{className:\"quote\",children:[/*#__PURE__*/_jsxs(\"blockquote\",{children:[\"“\",t.quote,\"”\"]}),/*#__PURE__*/_jsxs(\"figcaption\",{children:[t.photo?.src&&/*#__PURE__*/_jsx(\"img\",{src:t.photo.src,alt:\"\"}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{className:\"n\",children:t.name}),/*#__PURE__*/_jsx(\"div\",{className:\"r\",children:t.role})]})]})]})},i))}),/*#__PURE__*/_jsxs(\"div\",{className:\"row\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"side\",children:[/*#__PURE__*/_jsx(Head,{eyebrow:eyebrow,title:title,subtitle:subtitle}),(helpTitle||helpLabel)&&/*#__PURE__*/_jsxs(Reveal,{delay:.15,className:\"help\",children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"b\",{children:helpTitle}),/*#__PURE__*/_jsx(\"p\",{children:helpText})]}),/*#__PURE__*/_jsx(Btn,{label:helpLabel,href:helpLink,variant:\"secondary\",size:\"sm\"})]})]}),/*#__PURE__*/_jsx(\"div\",{className:\"list\",children:lines(faqs).map((l,i)=>{const[q,a]=cells(l);const isOpen=open===i;return /*#__PURE__*/_jsx(Reveal,{delay:.05*i,children:/*#__PURE__*/_jsxs(\"div\",{className:\"item\",\"data-open\":isOpen?\"\":undefined,children:[/*#__PURE__*/_jsx(\"h3\",{children:/*#__PURE__*/_jsxs(\"button\",{className:\"q\",\"aria-expanded\":isOpen,\"aria-controls\":`${uid}-a${i}`,id:`${uid}-q${i}`,onClick:()=>setOpen(isOpen?-1:i),children:[q,/*#__PURE__*/_jsx(\"span\",{className:\"pm\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(Icon,{name:\"plus\",size:16,stroke:2})})]})}),/*#__PURE__*/_jsx(AnimatePresence,{initial:false,children:isOpen&&/*#__PURE__*/_jsx(motion.div,{className:\"a\",id:`${uid}-a${i}`,role:\"region\",\"aria-labelledby\":`${uid}-q${i}`,initial:{height:0,opacity:0},animate:{height:\"auto\",opacity:1},exit:{height:0,opacity:0},transition:{duration:.35,ease:EASE_OUT},children:/*#__PURE__*/_jsx(\"div\",{children:a})})})]})},i);})})]})]})});}addPropertyControls(FAQ,{tone:toneControl,sectionId:idControl(\"faq\"),...headControls({eyebrow:\"FAQ\",title:\"Automation should\\n_feel simple._\",subtitle:\"Answers to the questions teams ask before they automate their first workflow.\"}),testimonials:{type:ControlType.Array,title:\"Testimonials\",description:\"Add only verified quotes you have permission to use. Hidden when empty.\",control:{type:ControlType.Object,controls:{quote:{type:ControlType.String,title:\"Quote\",displayTextArea:true},name:{type:ControlType.String,title:\"Name\"},role:{type:ControlType.String,title:\"Role\"},photo:{type:ControlType.ResponsiveImage,title:\"Photo\"}}},defaultValue:[]},faqs:{type:ControlType.String,title:\"Questions\",displayTextArea:true,defaultValue:\"How do integrations work? | Connect an app once by signing in to it. After that, any workflow can read from it or send data to it, and you can disconnect it at any time.\\nCan I review what the AI produces? | Yes. Add an approval step before any action that matters. Velnora pauses the workflow and shows you the AI output to approve, edit or send back.\\nWhat happens when a workflow fails? | The run stops at the failed step and you get an alert. Open the run to see the input, the error and every step before it, then fix the issue and retry from that step.\\nDo I need to know how to code? | No. Start from a template or describe what you need, then adjust each step in the visual builder.\\nCan I test a workflow before turning it on? | Yes. Run it with sample data, check each step's result, and switch it on only when you're happy.\",description:\"One per line: Question | Answer\"},helpTitle:{type:ControlType.String,title:\"Help title\",defaultValue:\"Still have questions?\"},helpText:{type:ControlType.String,title:\"Help text\",defaultValue:\"Our team is happy to help.\"},helpLabel:{type:ControlType.String,title:\"Help button\",defaultValue:\"Contact us\"},helpLink:{type:ControlType.Link,title:\"Help link\",defaultValue:\"/contact\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQ\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2WAyBE,SAAwB,EAAI,EAAM,CAAC,GAAK,CAAC,OAAK,YAAU,UAAQ,QAAM,WAAS,eAAa,OAAK,YAAU,WAAS,YAAU,WAAS,SAAO,EAAW,CAAC,EAAK,GAASA,EA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