{"version":3,"file":"SEOJsonLd.Bg4eIsLT.mjs","names":["useMemo"],"sources":["https:/framerusercontent.com/modules/gmihZJIKYDiiKN6EBR05/tLLIR6gSaIeoHxbl5OHO/SEOJsonLd.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function SEOJsonLd(props){const{jsonLd,enabled}=props;const scriptContent=useMemo(()=>{const raw=typeof jsonLd===\"string\"?jsonLd.trim():\"\";if(!raw)return\"\";try{const parsed=JSON.parse(raw);return JSON.stringify(parsed);}catch(_error){return raw;}},[jsonLd]);return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"relative\",width:0,height:0,overflow:\"hidden\",opacity:0,pointerEvents:\"none\"},children:enabled&&scriptContent?/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:scriptContent}}):null});}addPropertyControls(SEOJsonLd,{jsonLd:{type:ControlType.String,title:\"JSON-LD\",displayTextArea:true,defaultValue:'{\\n  \"@context\": \"https://schema.org\",\\n  \"@type\": \"Organization\",\\n  \"name\": \"My Company\",\\n  \"url\": \"https://example.com\"\\n}'},enabled:{type:ControlType.Boolean,title:\"Enabled\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SEOJsonLd\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SEOJsonLd.map"],"mappings":"0KAGG,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,SAAO,WAAS,EAAY,EAAcA,MAAY,CAAC,IAAM,EAAI,OAAO,GAAS,SAAS,EAAO,MAAM,CAAC,GAAG,GAAG,CAAC,EAAI,MAAM,GAAG,GAAG,CAAC,IAAM,EAAO,KAAK,MAAM,EAAI,CAAC,OAAO,KAAK,UAAU,EAAO,MAAe,CAAC,OAAO,IAAO,CAAC,EAAO,CAAC,CAAC,OAAoB,EAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,SAAS,QAAQ,EAAE,cAAc,OAAO,CAAC,SAAS,GAAS,EAA2B,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,EAAc,CAAC,CAAC,CAAC,KAAK,CAAC,kBAH1gB,IAA2B,IAAoD,CAG6b,EAAoB,EAAU,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,gBAAgB,GAAK,aAAa;;;;;GAAiI,CAAC,QAAQ,CAAC,KAAK,EAAY,QAAQ,MAAM,UAAU,aAAa,GAAK,aAAa,KAAK,cAAc,MAAM,CAAC,CAAC"}