{"version":3,"file":"shared-lib.D-Fi0HaQ.mjs","names":[],"sources":["https:/framerusercontent.com/modules/VHZOvwbxe749rJnO3RxM/9pVk8mhTvjCqaqHTkaQN/JsonLd.js","https:/framerusercontent.com/modules/WVBb4ovRMYyrc7iVqHnw/JTWfg4OAROB7jkAyYLd5/ZdmsxXfyd.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * Emits a JSON-LD block into the page.\n *\n * Bind `schema` to a CMS \"Schema JSON\" field on a collection detail page so each\n * item ships its own structured data. AI crawlers read raw HTML and do not execute\n * JavaScript, so this must land in the server-rendered markup — it does, because the\n * script tag is part of the component's render output rather than something written\n * to the DOM at runtime.\n *\n * Renders nothing visible. On the canvas it shows a small label so the layer is findable.\n */export default function JsonLd(props){const{schema}=props;const onCanvas=RenderTarget.current()===RenderTarget.canvas;let payload=null;let error=null;if(typeof schema===\"string\"&&schema.trim().length>0){try{// Re-serialise so malformed JSON fails here instead of shipping broken markup.\npayload=JSON.stringify(JSON.parse(schema));}catch(e){error=e instanceof Error?e.message:\"invalid JSON\";}}if(onCanvas){return /*#__PURE__*/_jsx(\"div\",{style:{font:\"500 11px/1.4 Inter, sans-serif\",color:error?\"#EE5C10\":\"#0A3826\",background:error?\"rgba(238,92,16,.10)\":\"rgba(10,56,38,.06)\",border:`1px solid ${error?\"#EE5C10\":\"rgba(10,56,38,.25)\"}`,padding:\"6px 8px\",whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"},children:error?`JSON-LD — invalid: ${error}`:payload?`JSON-LD — ${payload.length} chars`:\"JSON-LD — no schema bound\"});}if(!payload)return null;return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:payload}});}JsonLd.displayName=\"JSON-LD\";// Zero footprint in layout.\nJsonLd.defaultProps={width:1,height:1};addPropertyControls(JsonLd,{schema:{type:ControlType.String,title:\"Schema\",displayTextArea:true,defaultValue:\"\",description:'Bind to the CMS \"Schema JSON\" field.'}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"JsonLd\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./JsonLd.map","// Generated by Framer (64adcc9)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;Forma DJR Deck Regular\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Forma DJR Deck Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"Forma DJR Deck\",url:\"https://framerusercontent.com/assets/rhlWWPrGcWaXDHviSGfVpXdTmRg.woff2\",weight:\"400\"}]}];export const css=[\".framer-LhCrF .framer-styles-preset-1xpcz01:not(.rich-text-wrapper), .framer-LhCrF .framer-styles-preset-1xpcz01.rich-text-wrapper h1 { --framer-font-family: \\\"Forma DJR Deck Regular\\\", \\\"Forma DJR Deck Regular Placeholder\\\", sans-serif; --framer-font-open-type-features: 'blwf' on, 'cv03' on, 'cv04' on, 'cv09' on, 'cv11' on; --framer-font-size: 64px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: -0.015em; --framer-line-height: 1em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-10f7faf2-ed6e-4d52-a904-375a51fc539a); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; --framer-text-wrap: balance; }\",\"@media (max-width: 1199px) and (min-width: 810px) { .framer-LhCrF .framer-styles-preset-1xpcz01:not(.rich-text-wrapper), .framer-LhCrF .framer-styles-preset-1xpcz01.rich-text-wrapper h1 { --framer-font-family: \\\"Forma DJR Deck Regular\\\", \\\"Forma DJR Deck Regular Placeholder\\\", sans-serif; --framer-font-open-type-features: 'blwf' on, 'cv03' on, 'cv04' on, 'cv09' on, 'cv11' on; --framer-font-size: 42px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: -0.015em; --framer-line-height: 1em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-10f7faf2-ed6e-4d52-a904-375a51fc539a); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; --framer-text-wrap: balance; } }\",\"@media (max-width: 809px) and (min-width: 0px) { .framer-LhCrF .framer-styles-preset-1xpcz01:not(.rich-text-wrapper), .framer-LhCrF .framer-styles-preset-1xpcz01.rich-text-wrapper h1 { --framer-font-family: \\\"Forma DJR Deck Regular\\\", \\\"Forma DJR Deck Regular Placeholder\\\", sans-serif; --framer-font-open-type-features: 'blwf' on, 'cv03' on, 'cv04' on, 'cv09' on, 'cv11' on; --framer-font-size: 30px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: -0.015em; --framer-line-height: 1em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-10f7faf2-ed6e-4d52-a904-375a51fc539a); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; --framer-text-wrap: balance; } }\"];export const className=\"framer-LhCrF\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"0KAUG,SAAwB,EAAO,EAAM,CAAC,GAAK,CAAC,UAAQ,EAAY,EAAS,EAAa,QAAQ,IAAI,EAAa,OAAW,EAAQ,KAAS,EAAM,KAAK,GAAG,OAAO,GAAS,UAAU,EAAO,KAAK,CAAC,CAAC,OAAO,EAAG,GAAG,CACjN,EAAQ,KA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