{"version":3,"file":"FaqSchema.pftJsHnA.mjs","names":["__esmMin","p","c","init_jsx_runtime","addPropertyControls","init_framer_BWFVvmND","RenderTarget","ControlType","FaqSchema","pairs","all","props","q","a","data","json","qa","init_FaqSchema","n"],"sources":["https:/framerusercontent.com/modules/kbeOnePNy7gSW3CaBx6o/IyFLNKZnHfBjt0notJ8v/FaqSchema.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * FAQPage JSON-LD\n *\n * Renders schema.org FAQPage structured data from up to 7 question/answer\n * pairs. Empty pairs are skipped. Invisible on the live site; shows a badge\n * on the Framer canvas so editors can find it.\n *\n * @framerIntrinsicWidth 160\n * @framerIntrinsicHeight 32\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function FaqSchema(props){const pairs=[];const all=[[props.question1,props.answer1],[props.question2,props.answer2],[props.question3,props.answer3],[props.question4,props.answer4],[props.question5,props.answer5],[props.question6,props.answer6],[props.question7,props.answer7]];for(const[q,a]of all){if(q&&a&&q.trim()&&a.trim())pairs.push({q:q.trim(),a:a.trim()});}if(RenderTarget.current()===RenderTarget.canvas){return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",height:\"100%\",minWidth:\"max-content\",padding:\"6px 10px\",background:\"#edfd3a\",color:\"#000\",fontSize:11,fontFamily:\"monospace\",borderRadius:4},children:[\"FAQPage schema (\",pairs.length,\" Q&As)\"]});}if(pairs.length===0)return null;const data={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:pairs.map(p=>({\"@type\":\"Question\",name:p.q,acceptedAnswer:{\"@type\":\"Answer\",text:p.a}}))};const json=JSON.stringify(data).replace(/</g,\"\\\\u003c\");return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:1,height:1,overflow:\"hidden\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}})});}const qa=n=>({[`question${n}`]:{type:ControlType.String,title:`Question ${n}`,defaultValue:\"\"},[`answer${n}`]:{type:ControlType.String,title:`Answer ${n}`,defaultValue:\"\",displayTextArea:true}});addPropertyControls(FaqSchema,{...qa(1),...qa(2),...qa(3),...qa(4),...qa(5),...qa(6),...qa(7)});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FaqSchema\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"32\",\"framerIntrinsicWidth\":\"160\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FaqSchema.map"],"mappings":"A,2KAYG,SAAwBQ,EAAU,EAAM,CAAC,IAAMC,EAAM,CAAC,EAAQC,EAAI,CAAC,CAACC,EAAM,UAAUA,EAAM,OAAO,EAAE,CAACA,EAAM,UAAUA,EAAM,OAAO,EAAE,CAACA,EAAM,UAAUA,EAAM,OAAO,EAAE,CAACA,EAAM,UAAUA,EAAM,OAAO,EAAE,CAACA,EAAM,UAAUA,EAAM,OAAO,EAAE,CAACA,EAAM,UAAUA,EAAM,OAAO,EAAE,CAACA,EAAM,UAAUA,EAAM,OAAO,CAAC,EAAE,IAAI,GAAK,CAACC,EAAEC,KAAKH,EAAQE,GAAGC,GAAGD,EAAE,KAAK,GAAGC,EAAE,KAAK,GAAEJ,EAAM,KAAK,CAAC,EAAEG,EAAE,KAAK,EAAE,EAAEC,EAAE,KAAK,CAAC,CAAC,EAAG,GAAGP,EAAa,QAAQ,IAAIA,EAAa,OAAQ,MAAoB,gBAAM,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,MA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