{"version":3,"file":"SchemaOrg_2.DM8UgcmE.mjs","names":["__esmMin","init_npm_react_18_3_1","window","ce","init_jsx_runtime","c","init_ssg_sandbox_shims","RenderTarget","init_framer_BWFVvmND","ControlType","addPropertyControls","SchemaOrg","props","schema","parsed","script","init_SchemaOrg_2"],"sources":["https:/framerusercontent.com/modules/SBDfuBnATaOrkQb6E66u/0bTIfoWDiZoTAWmnxBMN/SchemaOrg_2.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/** @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed */export default function SchemaOrg(props){const{schema}=props;useEffect(()=>{if(typeof window===\"undefined\")return;if(RenderTarget.current()!==RenderTarget.preview)return;if(!schema||schema.trim().length===0)return;let parsed;try{parsed=JSON.parse(schema);}catch{return;}const script=document.createElement(\"script\");script.type=\"application/ld+json\";script.textContent=JSON.stringify(parsed);document.head.appendChild(script);return()=>{document.head.removeChild(script);};},[schema]);return /*#__PURE__*/_jsx(\"div\",{style:{width:0,height:0,overflow:\"hidden\",position:\"absolute\",pointerEvents:\"none\",opacity:0}});}addPropertyControls(SchemaOrg,{schema:{type:ControlType.String,title:\"JSON-LD Schema\",defaultValue:'{ \"@context\": \"https://schema.org\", \"@type\": \"WebPage\" }',displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SchemaOrg\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SchemaOrg_2.map"],"mappings":"A,gMACwC,SAAwBW,EAAU,EAAM,CAAC,GAAK,CAAC,UAAQC,EAA8a,OAAxaT,MAAc,CAA+F,GAApFD,IAAS,QAAsBK,EAAa,QAAQ,IAAIA,EAAa,SAAkB,CAACM,GAAQA,EAAO,KAAK,CAAC,CAAC,SAAS,EAAE,OAAO,IAAIC,EAAO,GAAG,CAAC,EAAO,KAAK,MAAMD,CAAM,CAAE,MAAM,CAAC,MAAO,CAAC,IAAME,EAAO,SAAS,cAAc,QAAQ,EAAgH,MAA9G,GAAO,KAAK,sBAAsB,EAAO,YAAY,KAAK,UAAUD,CAAM,EAAE,SAAS,KAAK,YAAYC,CAAM,MAAY,CAAC,SAAS,KAAK,YAAYA,CAAM,CAAE,CAAE,EAAE,CAACF,CAAM,CAAC,EAAsB,gBAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,SAAS,SAAS,WAAW,cAAc,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAE,C,8CAACH,EAAoBC,EAAU,CAAC,OAAO,CAAC,KAAKF,EAAY,OAAO,MAAM,iBAAiB,aAAa,2DAA2D,gBAAgB,EAAI,CAAC,CAAC,C"}