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QU,oBAC7BC,iBAAkBX,EAAQW,iBAC1BC,mBAAoBZ,EAAQY,mBAC5BC,KAAMb,MAAAA,GAAF,UAAEA,EAASM,aAAX,iBAAE,EAAgBA,aAAlB,iBAAE,EAAuBO,YAAzB,aAAE,EAA6B3B,IACnC4B,aAAcd,MAAAA,GAAF,UAAEA,EAASM,aAAX,iBAAE,EAAgBS,wBAAlB,aAAE,EAAkCA","sources":["webpack://marketing-site/./src/templates/legal-page.tsx"],"sourcesContent":["import React from \"react\"\nimport { graphql } from \"gatsby\"\n\nimport {\n Layout,\n Seo,\n HeaderTextOnly,\n RichText,\n SectionTextWithImage,\n} from \"../components\"\nimport { PageSectionTextWithImage } from \"../types\"\nimport { handleSectionBackground } from \"../utils\"\n\ninterface LegalPageData {\n location: {\n href: string\n }\n data: {\n contentfulPageLegal: {\n heading: string\n updatedAt: string\n pageContent: {\n raw: string\n }\n pageSections: Array\n seo: {\n title: string\n titleTemplate: {\n extension: string\n }\n description: {\n description: string\n }\n image: {\n fixed: {\n src: string\n }\n }\n }\n }\n }\n}\n\nconst LegalPage = ({ data, location }: LegalPageData) => {\n const page = data.contentfulPageLegal\n return (\n \n \n \n

Last updated: {page.updatedAt}

\n
\n
\n \n
\n {page.pageSections &&\n page.pageSections.length > 0 &&\n page.pageSections.map((section: any, index: number) => (\n \n ))}\n
\n )\n}\n\nexport default LegalPage\n\nexport const pageQuery = graphql`\n query getLegalPage($id: String!) {\n contentfulPageLegal(contentful_id: { eq: $id }) {\n heading\n updatedAt(fromNow: true)\n pageContent {\n raw\n }\n pageSections {\n contentful_id\n heading\n content {\n raw\n }\n media {\n ... on ContentfulPageSectionTextWithImageImageVideoUploa {\n media {\n title\n gatsbyImageData\n file {\n url\n }\n }\n }\n ... on ContentfulPageSectionTextWithImageYouTubeEmbed {\n youTubeEmbedCode {\n youTubeEmbedCode\n }\n }\n }\n showImageFirst\n imageBlobBackground\n }\n seo {\n title\n titleTemplate {\n extension\n }\n description {\n description\n }\n image {\n fixed {\n src\n }\n }\n }\n pageContent {\n raw\n }\n }\n }\n`\n"],"names":["data","location","page","contentfulPageLegal","title","seo","description","titleTemplate","extension","article","url","href","image","fixed","src","heading","alignment","updatedAt","className","content","pageContent","pageSections","length","map","section","index","key","contentful_id","backgroundColour","handleSectionBackground","media","gatsbyImageData","imageAlt","showImageFirst","imageBlobBackground","showSignUpButton","scheduleDemoButton","file","youTubeVideo","youTubeEmbedCode"],"sourceRoot":""}