{"version":3,"file":"StructuredData.DknJM2r4.mjs","names":[],"sources":["https:/framerusercontent.com/modules/e2QRJJemfWE6ZH4eQD8b/NpilNi0eWlzjVh6gsHaM/StructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const person={\"@context\":\"https://schema.org\",\"@type\":\"Person\",\"@id\":\"https://www.xavierrossey.com/#xavier-rossey\",name:\"Xavier Rossey\",url:\"https://www.xavierrossey.com/\",jobTitle:\"Investigative non-fiction author\"};const schemas={person,\"book-en\":{\"@context\":\"https://schema.org\",\"@type\":\"Book\",\"@id\":\"https://www.xavierrossey.com/book#book\",name:\"Diana: Last Hours in Paris\",author:{\"@type\":\"Person\",\"@id\":person[\"@id\"],name:person.name},url:\"https://www.xavierrossey.com/book\",inLanguage:\"en\"},\"book-fr\":{\"@context\":\"https://schema.org\",\"@type\":\"Book\",\"@id\":\"https://www.xavierrossey.com/fr/book#book\",name:\"Diana : Derni\\xe8res heures \\xe0 Paris\",author:{\"@type\":\"Person\",\"@id\":person[\"@id\"],name:person.name},url:\"https://www.xavierrossey.com/fr/book\",inLanguage:\"fr\"},\"book-es\":{\"@context\":\"https://schema.org\",\"@type\":\"Book\",\"@id\":\"https://www.xavierrossey.com/es/book#book\",name:\"Diana: \\xdaltimas horas en Par\\xeds\",author:{\"@type\":\"Person\",\"@id\":person[\"@id\"],name:person.name},url:\"https://www.xavierrossey.com/es/book\",inLanguage:\"es\"}};/**\n * Server-rendered Schema.org JSON-LD with no visual output.\n * @framerIntrinsicWidth 0\n * @framerIntrinsicHeight 0\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function StructuredData({schema=\"person\"}){return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(schemas[schema])}});}addPropertyControls(StructuredData,{schema:{type:ControlType.Enum,title:\"Schema\",options:[\"person\",\"book-en\",\"book-fr\",\"book-es\"],optionTitles:[\"Person\",\"Book — English\",\"Book — French\",\"Book — Spanish\"],defaultValue:\"person\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"0\",\"framerIntrinsicWidth\":\"0\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StructuredData.map"],"mappings":"4JAMG,SAAwB,EAAe,CAAC,SAAO,UAAU,CAAC,OAAoB,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,KAAK,UAAU,EAAQ,EAAO,CAAC,CAAC,CAAC,CAAE,qBANpJ,IAAoD,EAAO,EAAO,CAAC,WAAW,qBAAqB,QAAQ,SAAS,MAAM,8CAA8C,KAAK,gBAAgB,IAAI,gCAAgC,SAAS,kCAAkC,EAAQ,EAAQ,CAAC,SAAO,UAAU,CAAC,WAAW,qBAAqB,QAAQ,OAAO,MAAM,yCAAyC,KAAK,6BAA6B,OAAO,CAAC,QAAQ,SAAS,MAAM,EAAO,OAAO,KAAK,EAAO,IAAI,EAAE,IAAI,oCAAoC,WAAW,IAAI,EAAE,UAAU,CAAC,WAAW,qBAAqB,QAAQ,OAAO,MAAM,4CAA4C,KAAK,mCAAyC,OAAO,CAAC,QAAQ,SAAS,MAAM,EAAO,OAAO,KAAK,EAAO,IAAI,EAAE,IAAI,uCAAuC,WAAW,IAAI,EAAE,UAAU,CAAC,WAAW,qBAAqB,QAAQ,OAAO,MAAM,4CAA4C,KAAK,gCAAsC,OAAO,CAAC,QAAQ,SAAS,MAAM,EAAO,OAAO,KAAK,EAAO,IAAI,EAAE,IAAI,uCAAuC,WAAW,IAAI,CAAC,EAMx7B,EAAoB,EAAe,CAAC,OAAO,CAAC,KAAK,EAAY,KAAK,MAAM,SAAS,QAAQ,CAAC,SAAS,UAAU,UAAU,SAAS,EAAE,aAAa,CAAC,SAAS,iBAAiB,gBAAgB,gBAAgB,EAAE,aAAa,QAAQ,CAAC,CAAC"}