{"version":3,"file":"FAQSchema.B4bRbGc0.mjs","names":["_Fragment","__esmMin","init_jsx_runtime","c","p","RenderTarget","init_framer_DJ_0WPVq","addPropertyControls","ControlType","FAQSchema","items","props","i","data","json","onCanvas","l","__FramerMetadata__","init_FAQSchema","\"exports\"","\"default\"","\"type\"","\"name\"","\"slots\"","\"annotations\"","\"framerSupportedLayoutWidth\"","\"framerContractVersion\"","\"framerSupportedLayoutHeight\"","\"__FramerMetadata__\""],"sources":["https:/framerusercontent.com/modules/Zry5iUDX16D7FVFlbeTd/knRDVC66FFjGZkk9TIEQ/FAQSchema.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * Outputs FAQPage structured data (JSON-LD) for search engines and AI search.\n * Invisible on the live site. Fill in the same questions and answers as the visible FAQ.\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function FAQSchema(props){const items=(props.items||[]).filter(i=>i&&i.question&&i.answer);const data={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:items.map(i=>({\"@type\":\"Question\",name:i.question,acceptedAnswer:{\"@type\":\"Answer\",text:i.answer}}))};const json=JSON.stringify(data).replace(/</g,\"\\\\u003c\");const onCanvas=RenderTarget.current()===RenderTarget.canvas;return /*#__PURE__*/_jsxs(_Fragment,{children:[items.length>0&&/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}}),onCanvas&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:12,color:\"#888\",padding:8,border:\"1px dashed #bbb\",borderRadius:6},children:[\"FAQ schema: \",items.length,\" questions (invisible on the live site)\"]})]});}addPropertyControls(FAQSchema,{items:{type:ControlType.Array,title:\"Questions\",control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\"},answer:{type:ControlType.String,title:\"Answer\",displayTextArea:true}}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQSchema\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQSchema.map"],"mappings":"A,kLAKG,SAAwBS,EAAU,EAAM,CAAC,IAAMC,GAAOC,EAAM,OAAO,CAAC,EAAA,CAAG,OAAO,GAAGC,GAAGA,EAAE,UAAUA,EAAE,MAAM,EAAQC,EAAK,CAAC,WAAW,qBAAqB,QAAQ,UAAU,WAAWH,EAAM,IAAI,IAAI,CAAC,QAAQ,WAAW,KAAKE,EAAE,SAAS,eAAe,CAAC,QAAQ,SAAS,KAAKA,EAAE,MAAM,CAAC,EAAE,CAAC,EAAQE,EAAK,KAAK,UAAUD,CAAI,CAAC,CAAC,QAAQ,KAAK,SAAS,EAAQE,EAASV,EAAa,QAAQ,IAAIA,EAAa,OAAO,MAAoB,gBAAML,EAAU,CAAC,SAAS,CAACU,EAAM,OAAO,GAAgB,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAOI,CAAI,CAAC,CAAC,EAAEC,GAAuB,gBAAM,MAAM,CAAC,MAAM,CAAC,SAAS,GAAG,MAAM,OAAO,QAAQ,EAAE,OAAO,kBAAkB,aAAa,CAAC,EAAE,SAAS,CAAC,eAAeL,EAAM,OAAO,yCAAyC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,C,4CAACH,EAAoBE,EAAU,CAAC,MAAM,CAAC,KAAKD,EAAY,MAAM,MAAM,YAAY,QAAQ,CAAC,KAAKA,EAAY,OAAO,SAAS,CAAC,SAAS,CAAC,KAAKA,EAAY,OAAO,MAAM,UAAU,EAAE,OAAO,CAAC,KAAKA,EAAY,OAAO,MAAM,SAAS,gBAAgB,EAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EACr+B,EAAqB,CAACW,QAAU,CAACC,QAAU,CAACC,KAAO,iBAAiBC,KAAO,YAAYC,MAAQ,CAAC,EAAEC,YAAc,CAACC,2BAA6B,MAAMC,sBAAwB,IAAIC,4BAA8B,KAAK,CAAC,EAAEC,mBAAqB,CAACP,KAAO,UAAU,CAAC,CAAC,C"}