{"version":3,"file":"StructuredData.BcpcdHGe.mjs","names":[],"sources":["https:/framerusercontent.com/modules/R3q1U7aWUTC66c4CJBGy/QVeBMZUi9IFhCYOvhdGk/StructuredData.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * Structured Data (JSON-LD)\n *\n * Emits a single application/ld+json script so search and answer engines can\n * read the page as structured data. Renders nothing on the published page.\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 24\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function StructuredData(props){const{schema=\"\"}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;let valid=false;if(schema.trim().length>0){try{JSON.parse(schema);valid=true;}catch(error){valid=false;}}return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:isCanvas?\"100%\":0,height:isCanvas?\"100%\":0,overflow:\"hidden\",display:isCanvas?\"flex\":\"block\",alignItems:\"center\",fontSize:11,letterSpacing:\"0.04em\",color:valid?\"#3366cc\":\"#cc3355\"},children:[valid&&/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:schema}}),isCanvas?valid?\"JSON-LD ready (hidden on published page)\":\"JSON-LD: invalid or empty JSON\":null]});}addPropertyControls(StructuredData,{schema:{type:ControlType.String,title:\"Schema\",displayTextArea:true,defaultValue:\"\",placeholder:\"Paste JSON-LD…\",preventLocalization:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"200\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"24\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StructuredData.map"],"mappings":"2KAWG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,SAAO,IAAI,EAAY,EAAS,EAAa,QAAQ,IAAI,EAAa,OAAW,EAAM,GAAM,GAAG,EAAO,KAAK,CAAC,CAAC,OAAO,EAAG,GAAG,CAAC,KAAK,MAAM,CAAM,EAAE,EAAM,EAAK,MAAa,CAAC,EAAM,EAAM,CAAE,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAS,OAAO,EAAE,OAAO,EAAS,OAAO,EAAE,SAAS,SAAS,QAAQ,EAAS,OAAO,QAAQ,WAAW,SAAS,SAAS,GAAG,cAAc,SAAS,MAAM,EAAM,UAAU,SAAS,EAAE,SAAS,CAAC,GAAoB,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,CAAM,CAAC,CAAC,EAAE,EAAS,EAAM,2CAA2C,iCAAiC,IAAI,CAAC,CAAC,CAAE,iBAXjoB,IAAiE,EAWikB,EAAoB,EAAe,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,gBAAgB,GAAK,aAAa,GAAG,YAAY,iBAAiB,oBAAoB,EAAI,CAAC,CAAC"}