{"version":3,"file":"JsonLd.-eCsCsdI.mjs","names":[],"sources":["https:/framerusercontent.com/modules/gzJiv59apLXEIFGnULa2/riL0kn5Wex4OChYV5uDQ/JsonLd.js"],"sourcesContent":["// Renders one <script type=\"application/ld+json\"> from a JSON text control, so page-level structured data\n// (CollectionPage on /blog, Service on /stealthy, ...) can live on the canvas. Framer page-level custom code\n// is not reachable through the agent API and cannot read CMS fields, hence a component.\n// Renders nothing visible; on the canvas it shows a small label so it can be found and selected.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useIsStaticRenderer,addPropertyControls,ControlType}from\"framer\";/**\n * JSON-LD\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function JsonLd(props){const{json=\"\",label=\"JSON-LD\"}=props;const isStatic=useIsStaticRenderer();let payload=\"\";let error=null;try{const parsed=JSON.parse(json||\"{}\");payload=JSON.stringify(parsed);}catch(e){error=e instanceof Error?e.message:\"Invalid JSON\";}if(isStatic){return /*#__PURE__*/_jsx(\"div\",{style:{font:\"500 11px/24px Geist, Inter, sans-serif\",letterSpacing:\".08em\",textTransform:\"uppercase\",color:error?\"#c0392b\":\"#525252\",padding:\"0 8px\",border:\"1px dashed rgba(10,10,10,.3)\",borderRadius:6,whiteSpace:\"nowrap\"},children:error?`${label}: ${error}`:`${label} ✓`});}if(error||!payload)return null;return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:payload.replace(/</g,\"\\\\u003c\")}});}addPropertyControls(JsonLd,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"JSON-LD\"},json:{type:ControlType.String,title:\"JSON\",displayTextArea:true,defaultValue:\"{}\"}});JsonLd.displayName=\"JSON-LD\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"JsonLd\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"200\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicHeight\":\"24\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./JsonLd.map"],"mappings":"oKAYG,SAAwB,EAAO,EAAM,CAAC,GAAK,CAAC,OAAK,GAAG,QAAM,WAAW,EAAY,EAAS,EAAoB,EAAM,EAAQ,GAAO,EAAM,KAAK,GAAG,CAAC,IAAM,EAAO,KAAK,MAAM,GAAM,IAAI,EAAE,EAAQ,KAAK,UAAU,CAAM,CAAE,OAAO,EAAE,CAAC,EAAM,aAAa,MAAM,EAAE,QAAQ,cAAe,CAAgW,OAA5V,EAA8B,EAAK,MAAM,CAAC,MAAM,CAAC,KAAK,yCAAyC,cAAc,QAAQ,cAAc,YAAY,MAAM,EAAM,UAAU,UAAU,QAAQ,QAAQ,OAAO,+BAA+B,aAAa,EAAE,WAAW,QAAQ,EAAE,SAAS,EAAM,GAAG,EAAM,IAAI,IAAQ,GAAG,EAAM,GAAG,CAAC,EAAM,GAAO,CAAC,EAAe,KAAyB,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,EAAQ,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAE,iBAR3sB,IAAwE,EAQooB,EAAoB,EAAO,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,SAAS,EAAE,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,gBAAgB,GAAK,aAAa,IAAI,CAAC,CAAC,EAAE,EAAO,YAAY"}