{"version":3,"file":"FAQ.B8FPOO9X.mjs","names":["useState","useCallback","p"],"sources":["https:/framerusercontent.com/modules/wvoCtlSFkD4JDlb8daWd/yoANgFtmSLpYzixQnqwx/FAQ.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useCallback}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const EASE=\"cubic-bezier(0.4, 0, 0.2, 1)\";const DUR=\"200ms\";export default function FAQAccordion(props){const{items,questionFont,questionColor=\"#111111\",answerFont,answerColor=\"#6B7280\",allowMultiple=false,defaultOpenIndex=0,style=\"cards\",showNumbers=true,showAccentBar=true,itemGap=10,itemPaddingX=28,itemPaddingY=22,borderRadius=16,borderColor=\"#E5E5E5\",hoverBorderColor=\"#2B4FC9\",bgColor=\"#FFFFFF\",bgColorOpen=\"#FAFAFA\",iconColor=\"#6B7280\",accentColor=\"#2B4FC9\",numberColor=\"#D1D5DB\"}=props;const[openIndices,setOpenIndices]=useState(defaultOpenIndex>=0?[defaultOpenIndex]:[]);const[hoverIndex,setHoverIndex]=useState(-1);const toggle=useCallback(i=>{setOpenIndices(prev=>{if(prev.includes(i))return prev.filter(x=>x!==i);return allowMultiple?[...prev,i]:[i];});},[allowMultiple]);const isCards=style===\"cards\";return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:\"column\",gap:isCards?itemGap:0},children:items.map((item,i)=>{const isOpen=openIndices.includes(i);const isHover=hoverIndex===i&&!isOpen;const num=String(i+1).padStart(2,\"0\");// Border color: open > hover > default\nconst currentBorder=isOpen?accentColor+\"44\":isHover?hoverBorderColor:borderColor;const wrapperBg=isCards?isOpen?bgColorOpen:bgColor:\"transparent\";const wrapperShadow=isOpen?`0 0 0 1px ${accentColor}15, 0 2px 12px rgba(0,0,0,0.03)`:\"0 0 0 0 rgba(0,0,0,0)\";const borderStyles=isCards?{border:`1px solid ${currentBorder}`,borderRadius}:{borderBottom:`1px solid ${currentBorder}`,...i===0?{borderTop:`1px solid ${currentBorder}`}:{}};return /*#__PURE__*/_jsxs(\"div\",{onMouseEnter:()=>setHoverIndex(i),onMouseLeave:()=>setHoverIndex(-1),style:{position:\"relative\",...borderStyles,backgroundColor:wrapperBg,boxShadow:wrapperShadow,overflow:\"hidden\",transition:`border-color ${DUR} ${EASE}, background-color ${DUR} ${EASE}, box-shadow ${DUR} ${EASE}`},children:[isCards&&showAccentBar&&isOpen&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,top:12,bottom:12,width:3,borderRadius:999,background:accentColor,pointerEvents:\"none\"}}),/*#__PURE__*/_jsxs(\"div\",{onClick:()=>toggle(i),role:\"button\",tabIndex:0,\"aria-expanded\":isOpen,onKeyDown:e=>{if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();toggle(i);}},style:{width:\"100%\",display:\"flex\",alignItems:\"center\",gap:16,padding:`${itemPaddingY}px ${itemPaddingX}px`,background:\"transparent\",cursor:\"pointer\",textAlign:\"left\",position:\"relative\",outline:\"none\"},children:[showNumbers&&/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:\"'JetBrains Mono', ui-monospace, monospace\",fontSize:12,color:isOpen?accentColor:numberColor,minWidth:24,flexShrink:0,transition:`color ${DUR} ${EASE}`},children:num}),/*#__PURE__*/_jsx(\"span\",{style:{flex:1,...questionFont,color:questionColor},children:item.question}),/*#__PURE__*/_jsx(\"span\",{style:{width:28,height:28,borderRadius:999,border:`1px solid ${isOpen?accentColor+\"66\":currentBorder}`,backgroundColor:isOpen?accentColor+\"10\":\"transparent\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,color:isOpen?accentColor:iconColor,transform:`rotate(${isOpen?45:0}deg)`,transition:`transform 280ms ${EASE}, border-color ${DUR} ${EASE}, background-color ${DUR} ${EASE}, color ${DUR} ${EASE}`},children:/*#__PURE__*/_jsx(\"svg\",{width:\"12\",height:\"12\",viewBox:\"0 0 12 12\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 1V11M1 6H11\",stroke:\"currentColor\",strokeWidth:\"1.5\",strokeLinecap:\"round\"})})})]}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateRows:isOpen?\"1fr\":\"0fr\",transition:`grid-template-rows 320ms ${EASE}`},children:/*#__PURE__*/_jsx(\"div\",{style:{overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"div\",{style:{padding:`0 ${itemPaddingX}px ${itemPaddingY+4}px ${showNumbers?itemPaddingX+40:itemPaddingX}px`,color:answerColor,...answerFont,opacity:isOpen?1:0,transform:isOpen?\"translateY(0)\":\"translateY(-6px)\",transition:`opacity 240ms ${EASE} 60ms, transform 240ms ${EASE} 60ms`},children:item.answer})})})]},i);})});}// ── Property Controls ─────────────────────────────────\naddPropertyControls(FAQAccordion,{items:{type:ControlType.Array,title:\"FAQ items\",maxCount:20,control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\",defaultValue:\"New question\"},answer:{type:ControlType.String,title:\"Answer\",displayTextArea:true,defaultValue:\"Answer goes here.\"}}},defaultValue:[{question:\"What counts as a run?\",answer:\"A run is one complete agent execution — from the initial prompt to the final response, including any tool calls, retries, and model invocations along the way.\"},{question:\"What happens if I exceed my plan limit?\",answer:\"Nothing breaks. You'll be charged a per-run overage rate ($0.002/run on Pro). We'll notify you at 80% and 100% of your limit so there are no surprises.\"},{question:\"Do you charge for failed runs?\",answer:\"No. If a run fails due to an Agentkit error, it's free. You only pay for successful agent executions that return a result.\"},{question:\"Can I bring my own model API keys?\",answer:\"Yes — on Pro and Custom plans you can connect your own OpenAI, Anthropic, Gemini, or self-hosted endpoints. You'll only be charged for Agentkit infrastructure, not model tokens.\"},{question:\"Is the free tier really free forever?\",answer:\"Yes. 1,000 runs per month, every month, no credit card required. It's a permanent free tier, not a trial.\"},{question:\"Do you offer discounts for startups or open-source projects?\",answer:\"Early-stage startups (under $5M raised) get 50% off Pro for 12 months. Open-source maintainers get Pro free. Email startups@agentkit.dev to apply.\"},{question:\"Can I self-host Agentkit?\",answer:\"On-prem and private VPC deployment are available on the Custom plan. The core runtime is also open-source and can run on your own infrastructure.\"},{question:\"What's included in the Custom plan?\",answer:\"SSO/SAML, dedicated infrastructure, custom SLAs, audit logs, a named support engineer, on-prem deployment, and volume pricing on runs.\"},{question:\"Can I cancel anytime?\",answer:\"Yes. Cancel from your dashboard in one click. Monthly plans stop at the end of the billing period. Annual plans are refunded pro-rata for unused months.\"}]},// @ts-ignore\nquestionFont:{// @ts-ignore\ntype:ControlType.Font,title:\"Question font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultFontType:\"sans-serif\",defaultValue:{fontSize:16,lineHeight:\"1.4em\",fontWeight:500}},questionColor:{type:ControlType.Color,title:\"Question color\",defaultValue:\"#111111\"},// @ts-ignore\nanswerFont:{// @ts-ignore\ntype:ControlType.Font,title:\"Answer font\",controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultFontType:\"sans-serif\",defaultValue:{fontSize:15,lineHeight:\"1.65em\",fontWeight:400}},answerColor:{type:ControlType.Color,title:\"Answer color\",defaultValue:\"#6B7280\"},allowMultiple:{type:ControlType.Boolean,title:\"Multiple open\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},defaultOpenIndex:{type:ControlType.Number,title:\"Default open\",defaultValue:0,min:-1,max:20,step:1,description:\"-1 = all closed\"},style:{type:ControlType.Enum,title:\"Style\",defaultValue:\"cards\",options:[\"cards\",\"dividers\"],optionTitles:[\"Cards\",\"Dividers\"],displaySegmentedControl:true},showNumbers:{type:ControlType.Boolean,title:\"Show numbers\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},showAccentBar:{type:ControlType.Boolean,title:\"Accent bar\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\",hidden:p=>p.style!==\"cards\"},itemGap:{type:ControlType.Number,title:\"Item gap\",defaultValue:10,min:0,max:32,step:2},itemPaddingX:{type:ControlType.Number,title:\"Padding X\",defaultValue:28,min:12,max:56,step:2},itemPaddingY:{type:ControlType.Number,title:\"Padding Y\",defaultValue:22,min:8,max:48,step:2},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:16,min:0,max:32,step:1,hidden:p=>p.style!==\"cards\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"#E5E5E5\"},hoverBorderColor:{type:ControlType.Color,title:\"Border (hover)\",defaultValue:\"#2B4FC9\"},bgColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},bgColorOpen:{type:ControlType.Color,title:\"Bg (open)\",defaultValue:\"#FAFAFA\"},iconColor:{type:ControlType.Color,title:\"Icon\",defaultValue:\"#6B7280\"},accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#2B4FC9\"},numberColor:{type:ControlType.Color,title:\"Numbers\",defaultValue:\"#D1D5DB\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQAccordion\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQ.map"],"mappings":"mLAAiN,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,QAAM,eAAa,gBAAc,UAAU,aAAW,cAAY,UAAU,gBAAc,GAAM,mBAAiB,EAAE,QAAM,QAAQ,cAAY,GAAK,gBAAc,GAAK,UAAQ,GAAG,eAAa,GAAG,eAAa,GAAG,eAAa,GAAG,cAAY,UAAU,mBAAiB,UAAU,UAAQ,UAAU,cAAY,UAAU,YAAU,UAAU,cAAY,UAAU,cAAY,WAAW,EAAW,CAAC,EAAY,GAAgBA,EAAS,GAAkB,EAAE,CAAC,EAAiB,CAAC,EAAE,CAAC,CAAM,CAAC,EAAW,GAAeA,EAAS,GAAG,CAAO,EAAOC,EAAY,GAAG,CAAC,EAAe,GAAU,EAAK,SAAS,EAAE,CAAQ,EAAK,OAAO,GAAG,IAAI,EAAE,C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