{"version":3,"file":"SchemaMarkup.BydZoaMo.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Op8OEwniKrlg7JRT1tYH/O7NDYMnDqu2GyfIa0Ziv/SchemaMarkup.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Schema Markup\n *\n * Emits a JSON-LD <script> block into the page for search engines and AI\n * crawlers. Renders nothing visible. On a CMS detail page, bind `schema` to a\n * CMS field holding the JSON; on a static page, paste the JSON in directly.\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function SchemaMarkup(props){const{schema}=props;const json=typeof schema===\"string\"?schema.trim():\"\";if(!json)return null;// Never let the payload terminate the script element early.\nconst safe=json.replace(/<\\/script/gi,\"<\\\\/script\");return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:1,height:1,overflow:\"hidden\",pointerEvents:\"none\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:safe}})});}addPropertyControls(SchemaMarkup,{schema:{type:ControlType.String,title:\"JSON-LD\",defaultValue:\"\",placeholder:\"Bind to a CMS field, or paste JSON-LD\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SchemaMarkup\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SchemaMarkup.map"],"mappings":"6JAYG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,UAAQ,EAAY,EAAK,OAAO,GAAS,SAAS,EAAO,KAAK,EAAE,GACjE,OADwE,EACpD,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,SAAS,cAAc,MAAM,EAAE,cAAc,OAAO,SAAsB,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAA3Q,EAAK,QAAQ,cAAc,YAA0P,CAAC,CAAC,CAAC,CAAC,CAAC,EAD7J,IAC+J,iBAb7P,IAAoD,EAa0M,EAAoB,EAAa,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,aAAa,GAAG,YAAY,wCAAwC,gBAAgB,EAAI,CAAC,CAAC"}