{"version":3,"file":"StructuredData.Ct_3QkLR.mjs","names":["__esmMin","init_jsx_runtime","c","init_framer_BpuvUAiZ","addPropertyControls","ControlType","StructuredData","json","props","valid","safe","init_StructuredData"],"sources":["https:/framerusercontent.com/modules/sjMV61pJJqnIdktCs5vj/jlpoTwisTng0HBhIG3jJ/StructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Outputs a JSON-LD structured data block for search engines.\n * Paste JSON (with or without a <script> wrapper) into the Data control,\n * or connect it to a CMS field. Renders nothing visible.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function StructuredData(props){const raw=(props.json||\"\").trim();const json=raw.replace(/^<script[^>]*>/i,\"\").replace(/<\\/script>\\s*$/i,\"\").trim();let valid=false;try{if(json){JSON.parse(json);valid=true;}}catch(e){valid=false;}const safe=valid?json.replace(/</g,\"\\\\u003c\"):\"\";return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,width:0,height:0,overflow:\"hidden\"},\"aria-hidden\":\"true\",children:safe?/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:safe}}):null});}addPropertyControls(StructuredData,{json:{type:ControlType.String,title:\"Data\",defaultValue:\"\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StructuredData.map"],"mappings":"A,4JAOG,SAAwBM,EAAe,EAAM,CAAmC,IAAMC,GAA7BC,EAAM,MAAM,GAAA,CAAI,KAAoB,CAAC,CAAC,QAAQ,kBAAkB,EAAE,CAAC,CAAC,QAAQ,kBAAkB,EAAE,CAAC,CAAC,KAAK,EAAMC,EAAM,GAAM,GAAG,CAAIF,IAAM,KAAK,MAAMA,CAAI,EAAE,EAAM,GAAM,MAAS,CAAC,EAAM,EAAM,CAAC,IAAMG,EAAKD,EAAMF,EAAK,QAAQ,KAAK,SAAS,EAAE,GAAG,MAAoB,gBAAK,MAAM,CAAC,MAAM,CAAC,GAAGC,EAAM,MAAM,MAAM,EAAE,OAAO,EAAE,SAAS,QAAQ,EAAE,cAAc,OAAO,SAASE,EAAkB,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAOA,CAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAE,C,sCAACN,EAAoBE,EAAe,CAAC,KAAK,CAAC,KAAKD,EAAY,OAAO,MAAM,OAAO,aAAa,GAAG,gBAAgB,EAAI,CAAC,CAAC,C"}