{"version":3,"file":"AmplyStructuredData.flVheZOC.mjs","names":[],"sources":["https:/framerusercontent.com/modules/VHTXjTpzQ1SMQLUiwuPT/sJ1qb46agm4p5t2fP2qr/AmplyStructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const origin=\"https://www.amply-app.com\";const organizationId=`${origin}/#organization`;function normalizePath(path){const pathname=path.startsWith(\"/\")?path:`/${path}`;return pathname===\"/\"?\"/\":pathname.replace(/\\/+$/,\"\");}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function AmplyStructuredData(props){const{pagePath=\"/\",pageTitle=\"Amply — Applications pour lieux et \\xe9v\\xe9nements\",breadcrumbTitle=\"\",description=\"Cr\\xe9ez un espace pour votre lieu ou \\xe9v\\xe9nement avec agenda, carte interactive, actualit\\xe9s et informations pratiques.\",parentPath=\"\",parentTitle=\"\",contentType=\"WebPage\",slug=\"\",image=\"\",publicationDate=\"\"}=props;const imageUrl=typeof image===\"string\"?image:image?.src??\"\";const basePath=normalizePath(pagePath);const path=slug?`${basePath}/${encodeURIComponent(slug)}`:basePath;const url=`${origin}${path}`;const breadcrumbs=[{\"@type\":\"ListItem\",position:1,name:\"Accueil\",item:`${origin}/`},...parentPath&&parentTitle&&normalizePath(parentPath)!==path?[{\"@type\":\"ListItem\",position:2,name:parentTitle,item:`${origin}${normalizePath(parentPath)}`}]:[]];if(path!==\"/\"){breadcrumbs.push({\"@type\":\"ListItem\",position:breadcrumbs.length+1,name:breadcrumbTitle||pageTitle,item:url});}const structuredData={\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":organizationId,name:\"Amply\",url:`${origin}/`,description:\"Amply permet aux lieux et \\xe9v\\xe9nements de diffuser leurs contenus sur le web et dans une application mobile.\",parentOrganization:{\"@type\":\"Organization\",name:\"Shunter\"}},{\"@type\":\"WebSite\",\"@id\":`${origin}/#website`,name:\"Amply\",url:`${origin}/`,inLanguage:\"fr-FR\",publisher:{\"@id\":organizationId}},{\"@type\":\"SoftwareApplication\",\"@id\":`${origin}/#software`,name:\"Amply\",applicationCategory:\"BusinessApplication\",operatingSystem:\"Web, iOS, Android\",url:`${origin}/`,description:\"Solution de gestion et de diffusion de contenus pour lieux et \\xe9v\\xe9nements : agenda, plan interactif, actualit\\xe9s et informations pratiques.\",publisher:{\"@id\":organizationId}},{\"@type\":contentType,\"@id\":`${url}#content`,url,name:pageTitle,...contentType!==\"WebPage\"?{headline:pageTitle,mainEntityOfPage:url,author:{\"@type\":\"Organization\",name:\"Amply\",\"@id\":organizationId}}:{},description,inLanguage:\"fr-FR\",publisher:{\"@id\":organizationId},...imageUrl.startsWith(\"https://\")?{image:imageUrl}:{},...publicationDate&&/^\\d{4}-\\d{2}-\\d{2}/.test(publicationDate)?{datePublished:publicationDate}:{}},...path!==\"/\"?[{\"@type\":\"BreadcrumbList\",\"@id\":`${url}#breadcrumb`,itemListElement:breadcrumbs}]:[]]};return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(structuredData).replace(/</g,\"\\\\u003c\")}});}addPropertyControls(AmplyStructuredData,{pagePath:{type:ControlType.String,title:\"Page path\",defaultValue:\"/\"},pageTitle:{type:ControlType.String,title:\"Page title\",defaultValue:\"Amply\"},breadcrumbTitle:{type:ControlType.String,title:\"Breadcrumb title\",defaultValue:\"\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"\"},parentPath:{type:ControlType.String,title:\"Parent path\",defaultValue:\"\"},parentTitle:{type:ControlType.String,title:\"Parent title\",defaultValue:\"\"},contentType:{type:ControlType.Enum,title:\"Content type\",options:[\"WebPage\",\"BlogPosting\",\"Article\"],defaultValue:\"WebPage\"},slug:{type:ControlType.String,title:\"CMS slug\",defaultValue:\"\"},image:{type:ControlType.ResponsiveImage,title:\"Image\"},publicationDate:{type:ControlType.String,title:\"Publication date\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AmplyStructuredData\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AmplyStructuredData.map"],"mappings":"4JAAuL,SAAS,EAAc,EAAK,CAAC,IAAM,EAAS,EAAK,WAAW,GAAG,EAAE,EAAK,IAAI,IAAO,OAAO,IAAW,IAAI,IAAI,EAAS,QAAQ,OAAO,EAAE,CAAE,CAG3T,SAAwB,EAAoB,EAAM,CAAC,GAAK,CAAC,WAAS,IAAI,YAAU,gDAAsD,kBAAgB,GAAG,cAAY,qHAAiI,aAAW,GAAG,cAAY,GAAG,cAAY,UAAU,OAAK,GAAG,QAAM,GAAG,kBAAgB,IAAI,EAAY,EAAS,OAAO,GAAQ,SAAS,EAAM,GAAO,KAAK,GAAS,EAAS,EAAc,CAAQ,EAAQ,EAAK,EAAK,GAAG,EAAS,GAAG,mBAAmB,CAAI,IAAI,EAAe,EAAI,GAAG,IAAS,IAAa,EAAY,CAAC,CAAC,QAAQ,WAAW,SAAS,EAAE,KAAK,UAAU,KAAK,GAAG,EAAO,EAAE,EAAE,GAAG,GAAY,GAAa,EAAc,CAAU,IAAI,EAAK,CAAC,CAAC,QAAQ,WAAW,SAAS,EAAE,KAAK,EAAY,KAAK,GAAG,IAAS,EAAc,CAAU,GAAG,CAAC,EAAE,CAAC,CAAC,EAAK,IAAO,KAAK,EAAY,KAAK,CAAC,QAAQ,WAAW,SAAS,EAAY,OAAO,EAAE,KAAK,GAAiB,EAAU,KAAK,CAAG,CAAC,EAAG,IAAM,EAAe,CAAC,WAAW,qBAAqB,SAAS,CAAC,CAAC,QAAQ,eAAe,MAAM,EAAe,KAAK,QAAQ,IAAI,GAAG,EAAO,GAAG,YAAY,6GAAmH,mBAAmB,CAAC,QAAQ,eAAe,KAAK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