{"version":3,"file":"SchemaInjector.DKIeFE60.mjs","names":["__esmMin","init_jsx_runtime","c","init_framer_DKWANagr","addPropertyControls","ControlType","SchemaInjector","schema","props","safe","init_SchemaInjector"],"sources":["https:/framerusercontent.com/modules/LLveE5cEjHPjgMIMxhmh/GSG2B29WOL8htui2Q6Ve/SchemaInjector.js"],"sourcesContent":["// Schema Injector: renders JSON-LD structured data as an inline <script type=\"application/ld+json\">.\n// The script is part of the component's render output, so it is present in Framer's\n// server-rendered HTML (visible to crawlers that do not run JavaScript), not only after hydration.\n// - One property control: `schema` (string, textarea, title \"JSON-LD Schema\").\n// - Renders nothing visible. Renders nothing at all when the schema is empty.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export const config={supportsChildren:false};/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function SchemaInjector(props){const schema=typeof props.schema===\"string\"?props.schema.trim():\"\";if(!schema)return null;// Escape \"<\" so JSON text can never close the script tag early.\nconst safe=schema.replace(/</g,\"<\");return /*#__PURE__*/_jsx(\"div\",{style:{display:\"none\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:safe}})});}addPropertyControls(SchemaInjector,{schema:{type:ControlType.String,title:\"JSON-LD Schema\",displayTextArea:true,defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SchemaInjector\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"config\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SchemaInjector.map"],"mappings":"A,4JAQG,SAAwBM,EAAe,EAAM,CAAC,IAAMC,EAAO,OAAOC,EAAM,QAAS,SAASA,EAAM,OAAO,KAAK,EAAE,GAAG,GAAG,CAACD,EAAO,OAAO,KACtI,IAAME,EAAKF,EAAO,QAAQ,KAAK,GAAG,EAAE,MAAoB,gBAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,MAAM,EAAE,cAAc,OAAO,SAAsB,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAOE,CAAI,CAAC,CAAC,CAAC,CAAC,CAAE,C,sCAACL,EAAoBE,EAAe,CAAC,OAAO,CAAC,KAAKD,EAAY,OAAO,MAAM,iBAAiB,gBAAgB,GAAK,aAAa,EAAE,CAAC,CAAC,C"}