{"version":3,"file":"FAQ.DbIwprYS.mjs","names":["React.useState","React.useId","__esmMin","init_npm_react_18_3_1","_e","p","c","init_jsx_runtime","ie","ce","init_framer_DKWANagr","addPropertyControls","ControlType","init_TesselKit_X8YV1j","EASE_CSS","fontsLink","F","C","FAQ","open","setOpen","items","openFirst","i","uid","topLine","CSS","isOpen","o","k","v","it","init_FAQ"],"sources":["https:/framerusercontent.com/modules/GzzI5cr6w1WhFuC6Fqym/hByFfAVmZDoiPMXKP7Ma/FAQ.js"],"sourcesContent":["// FAQ — accordion list. Click a question to open or close it; the plus turns into a minus.\n// Edit questions and answers in the properties panel. \"Open first\" keeps the first answer open on load.\n// \"Top line\" off removes the hairline above the first question (for a second list stacked under a first one).\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{C,F,EASE_CSS,fontsLink}from\"https://framer.com/m/TesselKit-X8YV1j.js\";const CSS=`\n.tsl-faq{font-family:${F.body};color:${C.ink}}\n.tsl-faq.is-top{border-top:1px solid ${C.line}}\n.tsl-faq_item{border-bottom:1px solid ${C.line}}\n.tsl-faq_q{all:unset;box-sizing:border-box;width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;padding-block:1.375rem;cursor:pointer;font-family:${F.body};font-size:1.125rem;line-height:140%;font-weight:500;letter-spacing:-.01em;color:${C.ink}}\n.tsl-faq_q:focus-visible{outline:2px solid ${C.accent};outline-offset:2px}\n.tsl-faq_icon{width:.75rem;height:.75rem;position:relative;display:block}\n.tsl-faq_icon::before,.tsl-faq_icon::after{content:\"\";position:absolute;left:0;top:50%;width:100%;height:1px;background:${C.ink};transition:transform .35s ${EASE_CSS}}\n.tsl-faq_icon::after{transform:rotate(90deg)}\n.tsl-faq_item.is-open .tsl-faq_icon::after{transform:rotate(0)}\n.tsl-faq_a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s ${EASE_CSS}}\n.tsl-faq_item.is-open .tsl-faq_a{grid-template-rows:1fr}\n.tsl-faq_a > div{overflow:hidden}\n.tsl-faq_a p{margin:0;padding-bottom:1.5rem;max-width:40rem;color:${C.ink2};font-size:1rem;line-height:150%;text-wrap:pretty}\n@media (prefers-reduced-motion:reduce){.tsl-faq *{transition-duration:.01ms!important}}\n`;/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 640\n */export default function FAQ({items,openFirst,topLine=true,style}){const[open,setOpen]=React.useState(()=>items.map((_,i)=>openFirst&&i===0));React.useEffect(()=>setOpen(items.map((_,i)=>openFirst&&i===0)),[items.length,openFirst]);const uid=React.useId().replace(/:/g,\"\");return /*#__PURE__*/_jsxs(\"div\",{className:\"tsl-faq\"+(topLine?\" is-top\":\"\"),style:style,children:[fontsLink(),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS}}),items.map((it,i)=>{const isOpen=!!open[i];return /*#__PURE__*/_jsxs(\"div\",{className:\"tsl-faq_item\"+(isOpen?\" is-open\":\"\"),children:[/*#__PURE__*/_jsxs(\"button\",{className:\"tsl-faq_q\",id:`${uid}q${i}`,\"aria-expanded\":isOpen,\"aria-controls\":`${uid}a${i}`,onClick:()=>setOpen(o=>o.map((v,k)=>k===i?!v:v)),children:[it.q,/*#__PURE__*/_jsx(\"span\",{className:\"tsl-faq_icon\",\"aria-hidden\":\"true\"})]}),/*#__PURE__*/_jsx(\"div\",{className:\"tsl-faq_a\",id:`${uid}a${i}`,role:\"region\",\"aria-labelledby\":`${uid}q${i}`,children:/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(\"p\",{children:it.a})})})]},i);})]});}FAQ.displayName=\"FAQ\";addPropertyControls(FAQ,{openFirst:{type:ControlType.Boolean,title:\"Open first\",defaultValue:true},topLine:{type:ControlType.Boolean,title:\"Top line\",defaultValue:true,description:\"Hairline above the first question. Turn off when this list continues another one.\"},items:{type:ControlType.Array,title:\"Questions\",control:{type:ControlType.Object,controls:{q:{type:ControlType.String,title:\"Question\",defaultValue:\"What counts as a run?\"},a:{type:ControlType.String,title:\"Answer\",displayTextArea:true,defaultValue:\"\"}}},defaultValue:[{q:\"What counts as a run?\",a:\"One trigger firing one workflow from start to finish is one run, however many blocks it passes through. Retries of a failed block are free.\"},{q:\"Can I export what I build?\",a:\"Yes. Logic blocks compile to TypeScript and sync to your Git repository. If you leave Tessel, the code stays readable and runnable.\"},{q:\"Which models do agents use?\",a:\"You choose per agent. Tessel supports the major hosted models and your own endpoints, and your data is never used for training.\"},{q:\"How do approvals work when someone is away?\",a:\"Each approval step names a primary and a backup. After the timeout you set, the request moves to the backup and the run waits safely until someone answers.\"},{q:\"Is Tessel SOC 2 and GDPR compliant?\",a:\"Tessel holds SOC 2 Type II and ISO 27001, signs DPAs on every plan and offers EU-only processing from the Frankfurt and Dublin regions.\"}]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQ\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"640\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQ.map"],"mappings":"A,4QAsBG,SAAwBkB,EAAI,CAAC,QAAM,YAAU,UAAQ,GAAK,SAAO,CAAC,GAAK,CAACC,EAAKC,GAASpB,MAAmBqB,EAAM,KAAK,EAAE,IAAIC,GAAWC,IAAI,CAAC,CAAC,EAAEd,MAAoBW,EAAQC,EAAM,KAAK,EAAE,IAAIC,GAAWC,IAAI,CAAC,CAAC,EAAE,CAACF,EAAM,OAAOC,CAAS,CAAC,EAAE,IAAME,EAAIvB,EAAY,CAAC,CAAC,QAAQ,KAAK,EAAE,EAAE,MAAoB,gBAAM,MAAM,CAAC,UAAU,WAAWwB,EAAQ,UAAU,IAAU,QAAM,SAAS,CAACV,EAAU,EAAe,gBAAK,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