{"version":3,"file":"ArticleSchema.CPpW8XTh.mjs","names":["__exportAll","init_jsx_runtime","c","init_framer_D1IzEvwH","addPropertyControls","ArticleSchema_exports","__FramerMetadata__","ArticleSchema","headline","org","description","image","datePublished","dateModified","url","init_ArticleSchema","__esmMin","ControlType","\"exports\"","\"default\"","\"type\"","\"name\"","\"slots\"","\"annotations\"","\"framerSupportedLayoutWidth\"","\"framerSupportedLayoutHeight\"","\"framerContractVersion\"","\"__FramerMetadata__\""],"sources":["https:/framerusercontent.com/modules/BjqYY8YZbRxfWIJoxi5Q/hMxZplhSdpt8S2E3TomS/ArticleSchema.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function ArticleSchema({headline,description,url,image,datePublished,dateModified}){if(!headline)return null;const org={\"@type\":\"Organization\",name:\"Barcelona for Kids\",url:\"https://barcelonaforkids.com\"};const schema={\"@context\":\"https://schema.org\",\"@type\":\"Article\",headline,description:description||undefined,image:image||undefined,datePublished:datePublished||undefined,dateModified:dateModified||datePublished||undefined,mainEntityOfPage:url?{\"@type\":\"WebPage\",\"@id\":url}:undefined,author:org,publisher:org,inLanguage:\"en\"};return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(schema)}});}addPropertyControls(ArticleSchema,{headline:{type:ControlType.String,title:\"Headline\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true},url:{type:ControlType.String,title:\"Page URL\"},image:{type:ControlType.String,title:\"Image URL\"},datePublished:{type:ControlType.String,title:\"Published (YYYY-MM-DD)\"},dateModified:{type:ControlType.String,title:\"Updated (YYYY-MM-DD)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ArticleSchema\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\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