{"version":3,"file":"JsonLd.CBWOSonS.mjs","names":["__esmMin","c","init_jsx_runtime","init_framer_BWFVvmND","useIsStaticRenderer","addPropertyControls","ControlType","JsonLd","props","isStatic","payload","error","parsed","json","label","init_JsonLd"],"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":"A,oKAYG,SAAwBO,EAAO,EAAM,CAAC,GAAK,CAAC,OAAK,GAAG,QAAM,WAAWC,EAAYC,EAASL,EAAoB,EAAMM,EAAQ,GAAOC,EAAM,KAAK,GAAG,CAAC,IAAMC,EAAO,KAAK,MAAMC,GAAM,IAAI,EAAE,EAAQ,KAAK,UAAUD,CAAM,CAAE,OAAO,EAAE,CAAC,EAAM,aAAa,MAAM,EAAE,QAAQ,cAAe,CAAgW,OAA5VH,EAA8B,gBAAK,MAAM,CAAC,MAAM,CAAC,KAAK,yCAAyC,cAAc,QAAQ,cAAc,YAAY,MAAME,EAAM,UAAU,UAAU,QAAQ,QAAQ,OAAO,+BAA+B,aAAa,EAAE,WAAW,QAAQ,EAAE,SAASA,EAAM,GAAGG,EAAM,IAAIH,IAAQ,GAAGG,EAAM,GAAG,CAAC,EAAMH,GAAO,CAACD,EAAe,KAAyB,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAOA,EAAQ,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAE,C,sCAACL,EAAoBE,EAAO,CAAC,MAAM,CAAC,KAAKD,EAAY,OAAO,MAAM,QAAQ,aAAa,SAAS,EAAE,KAAK,CAAC,KAAKA,EAAY,OAAO,MAAM,OAAO,gBAAgB,GAAK,aAAa,IAAI,CAAC,CAAC,EAAE,EAAO,YAAY,S"}