{"version":3,"file":"SchemaFAQ.BWfc99RA.mjs","names":["__esmMin","init_jsx_runtime","c","addPropertyControls","init_framer_BikQVKhx","ControlType","SchemaFAQ","props","lista","preguntas","p","data","json","style","init_SchemaFAQ"],"sources":["https:/framerusercontent.com/modules/zI88fSYBxGssiSPt3446/eTobBMsq0q6T365abe8W/SchemaFAQ.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Datos estructurados (FAQPage) con las preguntas frecuentes de la página.\n * No se ve: copia las preguntas y respuestas del acordeón para que Google y las IAs\n * lean las respuestas, que no están en el HTML mientras el acordeón está cerrado.\n * Si cambias una pregunta del acordeón, cámbiala también aquí.\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function SchemaFAQ(props){const{preguntas,style}=props;const lista=(preguntas||[]).filter(p=>p&&p.pregunta&&p.respuesta);if(!lista.length)return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:style});const data={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:lista.map(p=>({\"@type\":\"Question\",name:p.pregunta.trim(),acceptedAnswer:{\"@type\":\"Answer\",text:p.respuesta.trim()}}))};const json=JSON.stringify(data).replace(/</g,\"\\\\u003c\");return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{...style,pointerEvents:\"none\",overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}})});}SchemaFAQ.defaultProps={preguntas:[]};addPropertyControls(SchemaFAQ,{preguntas:{type:ControlType.Array,title:\"Preguntas\",control:{type:ControlType.Object,controls:{pregunta:{type:ControlType.String,title:\"Pregunta\"},respuesta:{type:ControlType.String,title:\"Respuesta\",displayTextArea:true}}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SchemaFAQ\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SchemaFAQ.map"],"mappings":"A,4JAQG,SAAwBM,EAAU,EAAM,CAAC,GAAK,CAAC,YAAU,SAAOC,EAAYC,GAAOC,GAAW,CAAC,EAAA,CAAG,OAAO,GAAGC,GAAGA,EAAE,UAAUA,EAAE,SAAS,EAAE,GAAG,CAACF,EAAM,OAAO,MAAoB,gBAAK,MAAM,CAAC,cAAc,OAAa,OAAK,CAAC,EAAE,IAAMG,EAAK,CAAC,WAAW,qBAAqB,QAAQ,UAAU,WAAWH,EAAM,IAAI,IAAI,CAAC,QAAQ,WAAW,KAAKE,EAAE,SAAS,KAAK,EAAE,eAAe,CAAC,QAAQ,SAAS,KAAKA,EAAE,UAAU,KAAK,CAAC,CAAC,EAAE,CAAC,EAAQE,EAAK,KAAK,UAAUD,CAAI,CAAC,CAAC,QAAQ,KAAK,SAAS,EAAE,MAAoB,gBAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,GAAGE,EAAM,cAAc,OAAO,SAAS,QAAQ,EAAE,SAAsB,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAOD,CAAI,CAAC,CAAC,CAAC,CAAC,CAAE,C,sCAAC,EAAU,aAAa,CAAC,UAAU,CAAC,CAAC,EAAET,EAAoBG,EAAU,CAAC,UAAU,CAAC,KAAKD,EAAY,MAAM,MAAM,YAAY,QAAQ,CAAC,KAAKA,EAAY,OAAO,SAAS,CAAC,SAAS,CAAC,KAAKA,EAAY,OAAO,MAAM,UAAU,EAAE,UAAU,CAAC,KAAKA,EAAY,OAAO,MAAM,YAAY,gBAAgB,EAAI,CAAC,CAAC,CAAC,CAAC,CAAC,C"}