{"version":3,"file":"MCPFaq.C01PRSoL.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/wOuPeBH2AW0WjKTZrIoT/IwGohwiRqu72pS1dd8rj/MCPFaq.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect}from\"react\";function FaqItem({question,answer,isOpen,onToggle,questionColor,answerColor,hoverColor,dividerColor,iconColor,questionSize,answerSize,questionWeight,expandSpeed}){const[isHovered,setIsHovered]=useState(false);return /*#__PURE__*/_jsxs(\"div\",{style:{borderBottom:`1px solid ${dividerColor}`},children:[/*#__PURE__*/_jsxs(\"button\",{onClick:onToggle,onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>setIsHovered(false),style:{width:\"100%\",padding:\"20px 0\",background:\"none\",border:\"none\",cursor:\"pointer\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",gap:16,textAlign:\"left\",fontFamily:\"'Inter', -apple-system, sans-serif\",transition:\"opacity 0.2s ease\",opacity:isHovered?.7:1},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:questionSize,fontWeight:questionWeight,color:isHovered?hoverColor:questionColor,lineHeight:1.4,transition:\"color 0.2s ease\"},children:question}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:22,fontWeight:300,color:iconColor,flexShrink:0,width:24,height:24,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transform:isOpen?\"rotate(45deg)\":\"rotate(0deg)\",transition:`transform ${expandSpeed}s ease`},children:\"+\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{overflow:\"hidden\",maxHeight:isOpen?500:0,opacity:isOpen?1:0,transition:`max-height ${expandSpeed}s ease, opacity ${expandSpeed*.75}s ease`},children:/*#__PURE__*/_jsx(\"div\",{style:{padding:\"0 0 20px 0\",fontSize:answerSize,lineHeight:1.6,color:answerColor,fontFamily:\"'Inter', -apple-system, sans-serif\"},children:answer})})]});}export default function MCPFaq({q1=\"What can I do with MCP?\",a1=\"KIME MCP lets you connect your AI visibility data directly to AI tools like Claude, ChatGPT, and Cursor.\",q2=\"What is KIME MCP?\",a2=\"KIME MCP (Model Context Protocol) is an open standard that allows AI assistants to securely connect to external data sources.\",q3=\"Which tools does KIME MCP work with?\",a3=\"KIME MCP works with any MCP-compatible client including Claude, Cursor, Windsurf, and more.\",q4=\"How do I set up KIME MCP?\",a4=\"Setup takes less than 2 minutes. Add the KIME MCP server URL to your AI tool, authenticate with your KIME account, and you're ready to go.\",q5=\"Is KIME MCP available on all plans?\",a5=\"KIME MCP is available on all paid plans. Free trial users can also test MCP with limited queries during their trial period.\",q6=\"\",a6=\"\",backgroundColor=\"transparent\",questionColor=\"#020A0F\",answerColor=\"#50565D\",hoverColor=\"#4C7A6D\",dividerColor=\"#E6E6EB\",iconColor=\"#020A0F\",questionSize=16,answerSize=15,questionWeight=600,expandSpeed=.3,allowMultipleOpen=false,borderRadius=0,padding=0,enableSchema=true}){const[openIndices,setOpenIndices]=useState(new Set);const toggle=i=>{setOpenIndices(prev=>{const next=new Set(allowMultipleOpen?prev:[]);if(prev.has(i)){next.delete(i);}else{next.add(i);}return next;});};const items=[{question:q1,answer:a1},{question:q2,answer:a2},{question:q3,answer:a3},{question:q4,answer:a4},{question:q5,answer:a5},{question:q6,answer:a6}].filter(item=>item.question.trim()!==\"\");// Inject FAQPage JSON-LD structured data for SEO\nuseEffect(()=>{if(!enableSchema||items.length===0)return;const existingScript=document.querySelector('script[data-faq-schema=\"true\"]');if(existingScript)existingScript.remove();const schema={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":items.map(item=>({\"@type\":\"Question\",\"name\":item.question,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":item.answer}}))};const script=document.createElement(\"script\");script.type=\"application/ld+json\";script.setAttribute(\"data-faq-schema\",\"true\");script.textContent=JSON.stringify(schema);document.head.appendChild(script);return()=>{script.remove();};},[q1,a1,q2,a2,q3,a3,q4,a4,q5,a5,q6,a6,enableSchema]);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",fontFamily:\"'Inter', -apple-system, sans-serif\",background:backgroundColor,borderRadius:borderRadius,padding:padding},children:items.map((item,i)=>/*#__PURE__*/_jsx(FaqItem,{question:item.question,answer:item.answer,isOpen:openIndices.has(i),onToggle:()=>toggle(i),questionColor:questionColor,answerColor:answerColor,hoverColor:hoverColor,dividerColor:dividerColor,iconColor:iconColor,questionSize:questionSize,answerSize:answerSize,questionWeight:questionWeight,expandSpeed:expandSpeed},i))});}addPropertyControls(MCPFaq,{// -- Questions & Answers --\nq1:{type:ControlType.String,title:\"Q1\",defaultValue:\"What can I do with MCP?\"},a1:{type:ControlType.String,title:\"A1\",defaultValue:\"KIME MCP lets you connect your AI visibility data directly to AI tools like Claude, ChatGPT, and Cursor.\",displayTextArea:true},q2:{type:ControlType.String,title:\"Q2\",defaultValue:\"What is KIME MCP?\"},a2:{type:ControlType.String,title:\"A2\",defaultValue:\"KIME MCP (Model Context Protocol) is an open standard that allows AI assistants to securely connect to external data sources.\",displayTextArea:true},q3:{type:ControlType.String,title:\"Q3\",defaultValue:\"Which tools does KIME MCP work with?\"},a3:{type:ControlType.String,title:\"A3\",defaultValue:\"KIME MCP works with any MCP-compatible client including Claude, Cursor, Windsurf, and more.\",displayTextArea:true},q4:{type:ControlType.String,title:\"Q4\",defaultValue:\"How do I set up KIME MCP?\"},a4:{type:ControlType.String,title:\"A4\",defaultValue:\"Setup takes less than 2 minutes.\",displayTextArea:true},q5:{type:ControlType.String,title:\"Q5\",defaultValue:\"Is KIME MCP available on all plans?\"},a5:{type:ControlType.String,title:\"A5\",defaultValue:\"KIME MCP is available on all paid plans.\",displayTextArea:true},q6:{type:ControlType.String,title:\"Q6\",defaultValue:\"\"},a6:{type:ControlType.String,title:\"A6\",defaultValue:\"\",displayTextArea:true},// -- Appearance --\nbackgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"transparent\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:0,min:0,max:32,step:2},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:0,min:0,max:48,step:4},// -- Colors --\nquestionColor:{type:ControlType.Color,title:\"Question Color\",defaultValue:\"#020A0F\"},answerColor:{type:ControlType.Color,title:\"Answer Color\",defaultValue:\"#50565D\"},hoverColor:{type:ControlType.Color,title:\"Hover Color\",defaultValue:\"#4C7A6D\"},dividerColor:{type:ControlType.Color,title:\"Divider Color\",defaultValue:\"#E6E6EB\"},iconColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#020A0F\"},// -- Typography --\nquestionSize:{type:ControlType.Number,title:\"Q Font Size\",defaultValue:16,min:12,max:24,step:1},answerSize:{type:ControlType.Number,title:\"A Font Size\",defaultValue:15,min:12,max:22,step:1},questionWeight:{type:ControlType.Number,title:\"Q Font Weight\",defaultValue:600,min:400,max:800,step:100},// -- Behavior --\nexpandSpeed:{type:ControlType.Number,title:\"Expand Speed (s)\",defaultValue:.3,min:.1,max:1,step:.05},allowMultipleOpen:{type:ControlType.Boolean,title:\"Allow Multiple Open\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},// -- SEO --\nenableSchema:{type:ControlType.Boolean,title:\"FAQ Schema (JSON-LD)\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MCPFaq\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MCPFaq.map"],"mappings":"+KAAmJ,SAAS,EAAQ,CAAC,WAAS,SAAO,SAAO,WAAS,gBAAc,cAAY,aAAW,eAAa,YAAU,eAAa,aAAW,iBAAe,eAAa,CAAC,GAAK,CAAC,EAAU,GAAcA,EAAS,GAAM,CAAC,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,aAAa,aAAa,IAAe,CAAC,SAAS,C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