{"version":3,"file":"FAQSchema.BsZ0rMMN.mjs","names":["__esmMin","init_jsx_runtime","c","addPropertyControls","init_framer_D1IzEvwH","ControlType","FAQSchema","pairs","json","schema","q","a","init_FAQSchema"],"sources":["https:/framerusercontent.com/modules/koBPRllu7EMLOiMQTN5C/0lnzVDR24YfEIjj5BuSv/FAQSchema.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Outputs FAQPage JSON-LD from a JSON list of [question, answer] pairs. Renders nothing visible.\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function FAQSchema({json}){let pairs=[];try{pairs=JSON.parse(json||\"[]\");}catch(e){pairs=[];}if(!pairs.length)return null;const schema={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:pairs.map(([q,a])=>({\"@type\":\"Question\",name:q,acceptedAnswer:{\"@type\":\"Answer\",text:a}}))};return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(schema)}});}addPropertyControls(FAQSchema,{json:{type:ControlType.String,title:\"FAQ JSON\",displayTextArea:true,defaultValue:\"[]\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQSchema\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQSchema.map"],"mappings":"A,4JAIG,SAAwBM,EAAU,CAAC,QAAM,CAAC,IAAIC,EAAM,CAAC,EAAE,GAAG,CAAC,EAAM,KAAK,MAAMC,GAAM,IAAI,CAAE,MAAS,CAAC,EAAM,CAAC,CAAE,CAAC,GAAG,CAACD,EAAM,OAAO,OAAO,KAAK,IAAME,EAAO,CAAC,WAAW,qBAAqB,QAAQ,UAAU,WAAWF,EAAM,KAAK,CAACG,EAAEC,MAAM,CAAC,QAAQ,WAAW,KAAKD,EAAE,eAAe,CAAC,QAAQ,SAAS,KAAKC,CAAC,CAAC,EAAE,CAAC,EAAE,MAAoB,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,KAAK,UAAUF,CAAM,CAAC,CAAC,CAAC,CAAE,C,sCAACN,EAAoBG,EAAU,CAAC,KAAK,CAAC,KAAKD,EAAY,OAAO,MAAM,WAAW,gBAAgB,GAAK,aAAa,IAAI,CAAC,CAAC,C"}