{"version":3,"sources":["webpack:///./src/templates/PropertySearch/brands.tsx"],"names":["PropertiesPage","edges","data","allSitePage","brand","pageContext","propertiesMapped","propertyMapping"],"mappings":"8FAAA,wDA+DeA,UAlDQ,SAAC,GAKM,IAHXC,EAGW,EAJ5BC,KACEC,YAAeF,MAEFG,EACa,EAD5BC,YAAeD,MAEf,OAAO,kBAAC,IAAD,CAAgBE,iBAAkBC,YAAgBN,GAAQG,MAAOA","file":"component---src-templates-property-search-brands-tsx-deabf3c5e90d266aac2a.js","sourcesContent":["import React, { ReactElement } from 'react'\nimport { graphql } from 'gatsby'\nimport PropertyLayout from '../../components/PropertiesSearchPage/components/Layout'\nimport { PropertyProps } from '../../components/PropertiesSearchPage/data'\nimport { propertyMapping } from '../../components/PropertiesSearchPage/propertiesMapper'\n\ntype PropType = {\n data: { allSitePage: { edges: PropertyProps[] } }\n pageContext: {\n brand: string\n }\n}\n\nconst PropertiesPage = ({\n data: {\n allSitePage: { edges }\n },\n pageContext: { brand }\n}: PropType): ReactElement => {\n return \n}\n\nexport const getData = graphql`\n query allBrandsProperties($brand: String) {\n allSitePage(\n filter: {\n context: { brand: { eq: $brand }, type: { eq: \"overview\" }, category: { eq: \"property\" }, property: { details: { location: {} } } }\n }\n ) {\n edges {\n node {\n context {\n property {\n details {\n brand\n featured\n floorArea\n id\n imageLogo\n location\n lotArea\n name\n price\n priceRange {\n highest\n lowest\n }\n propertyType\n slug\n terrain\n }\n overview {\n images\n }\n }\n }\n path\n }\n }\n }\n }\n`\n\nexport default PropertiesPage\n"],"sourceRoot":""}