{"version":3,"file":"StructuredData.D9iFDHMH.mjs","names":[],"sources":["https:/framerusercontent.com/modules/O1mIdKUc8ev0BbJEroK4/6XKHe8lnZATbTjt70Pdq/StructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Structured Data (JSON-LD)\n *\n * Emits schema.org JSON-LD for SEO / GEO. Renders nothing visible.\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function StructuredData(props){const{schemaType=\"article\",headline=\"\",description=\"\",image,datePublished,dateModified,authorName=\"Francisc Toth\",authorUrl=\"https://framer-expert.com\",publisherName=\"Francisc Toth — Framer Expert\",jobTitle=\"Framer Expert\",sameAs=\"\",url=\"\"}=props;const pageUrl=url||(typeof window!==\"undefined\"?window.location.href.split(\"?\")[0].split(\"#\")[0]:\"\");const imgSrc=image&&image.src?image.src:\"\";let data;if(schemaType===\"profile\"){const sa=sameAs.split(\",\").map(s=>s.trim()).filter(Boolean);data={\"@context\":\"https://schema.org\",\"@type\":\"Person\",name:authorName,jobTitle,url:authorUrl};if(description)data.description=description;if(imgSrc)data.image=imgSrc;if(sa.length)data.sameAs=sa;}else{const type=schemaType===\"creativeWork\"?\"CreativeWork\":\"Article\";data={\"@context\":\"https://schema.org\",\"@type\":type,headline:headline,author:{\"@type\":\"Person\",name:authorName,url:authorUrl},publisher:{\"@type\":\"Organization\",name:publisherName}};if(description)data.description=description;if(imgSrc)data.image=imgSrc;if(datePublished)data.datePublished=datePublished;if(dateModified)data.dateModified=dateModified;if(pageUrl){data.url=pageUrl;data.mainEntityOfPage={\"@type\":\"WebPage\",\"@id\":pageUrl};}}const json=JSON.stringify(data).replace(/</g,\"\\\\u003c\");return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,position:\"relative\",width:0,height:0,overflow:\"hidden\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}})});}addPropertyControls(StructuredData,{schemaType:{type:ControlType.Enum,title:\"Type\",options:[\"article\",\"creativeWork\",\"profile\"],optionTitles:[\"Article\",\"Case study\",\"Profile / Person\"],defaultValue:\"article\"},headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true,defaultValue:\"\"},image:{type:ControlType.ResponsiveImage,title:\"Image\"},datePublished:{type:ControlType.Date,title:\"Published\",optional:true},dateModified:{type:ControlType.Date,title:\"Modified\",optional:true},authorName:{type:ControlType.String,title:\"Author\",defaultValue:\"Francisc Toth\"},authorUrl:{type:ControlType.String,title:\"Author URL\",defaultValue:\"https://framer-expert.com\"},publisherName:{type:ControlType.String,title:\"Publisher\",defaultValue:\"Francisc Toth — Framer Expert\"},jobTitle:{type:ControlType.String,title:\"Job Title\",defaultValue:\"Framer Expert\",hidden:p=>p.schemaType!==\"profile\"},sameAs:{type:ControlType.String,title:\"Social URLs\",placeholder:\"comma,separated,urls\",defaultValue:\"\",hidden:p=>p.schemaType!==\"profile\"},url:{type:ControlType.String,title:\"Canonical URL\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"1\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StructuredData.map"],"mappings":"0KAUG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,aAAW,UAAU,WAAS,GAAG,cAAY,GAAG,QAAM,gBAAc,eAAa,aAAW,gBAAgB,YAAU,4BAA4B,gBAAc,gCAAgC,WAAS,gBAAgB,SAAO,GAAG,MAAI,IAAI,EAAY,EAAQ,I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