{"version":3,"sources":["common/HtmlContent.tsx","common/Breadcrumbs.tsx","common/PageHeader.tsx","icons/Apointment.tsx","pages/Store/Contact.tsx","pages/Store/Content.tsx","pages/Store/index.tsx"],"names":["useStyles","makeStyles","_ref2","spacing","root","textAlign","color","textDecoration","margin","concat","maxWidth","marginBottom","HtmlContent","_ref","className","component","content","variant","propsInfo","classes","_jsx","Typography","classNames","children","XhtmlString","propInfo","Arrow","width","height","fill","xmlns","d","fillOpacity","_ref3","breakpoints","palette","down","item","display","delimiter","arrow","slash","rapunzel","black","up","list","dark","Breadcrumbs","state","page","useStore","pageStore","parents","data","_parents","map","link","index","_jsxs","LinkButton","url","linkText","title","length","_Fragment","paddingTop","center","background","backgroundImage","menuBackground","backgroundColor","alignItems","justifyContent","overflowY","PageHeader","withBackground","rest","isMobile","useBreakpoint","Wrapper","editorAttributes","align","Apointment","props","viewBox","heading","marginTop","subHeading","paddingLeft","capitalized","textTransform","openHoursContainer","lightGray","padding","marginLeft","openHoursSpecialContainer","specialOpenHours","specialDay","bookingLinkButton","minHeight","white","ctaButtonDark","border","transitions","bookingLinkContent","paddingBottom","bookingLink","bookingIcon","Contact","address","email","phoneNumber","openHours","t","useTranslation","tel","buttonClassName","mailto","linkContentClassName","Object","keys","regular","key","i","Grid","container","xs","gutterBottom","special","Content","body","preamble","imageContainer","image","objectFit","contactContainer","Store","narrow","storeName","Image","lazy","storeImage","src","_url","dominantColor","alt","_alt","containerProps","sm","md"],"mappings":"mHAAA,0DAmBA,MAuBMA,EAAYC,aAAWC,IAAA,IAAC,QAAEC,GAASD,EAAA,MAAM,CAC7CE,KAAM,CACJC,UAAW,OACX,MAAO,CACLC,MAAO,UACPC,eAAgB,aAElB,MAAO,CACLC,OAAO,OAADC,OAASN,EAAQ,GAAE,OAE3B,WAAY,CACVO,SAAU,QAEZ,OAAQ,CACNF,OAAO,OAADC,OAASN,EAAQ,GAAE,SAE3BQ,aAAcR,EAAQ,IAEzB,IAEcS,IA3CqCC,IAM7C,I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ACN/G,UAAWA,EACX4C,MAAO9C,EAAQ8C,MACfqE,SAAUnH,EAAQmH,SAClBD,KAAMlH,EAAQkH,gBAKrB,C","file":"static/js/storePage.0bff8cac.chunk.js","sourcesContent":["import { makeStyles } from \"@material-ui/core/styles\"\nimport XhtmlString, {\n XhtmlStringProperty\n} from \"@starrepublic/epi/cms/components/XhtmlString\"\nimport { PropertyInfo } from \"@starrepublic/epi/types/cms/content\"\nimport classNames from \"classnames\"\nimport React from \"react\"\nimport { CustomVariant } from \"theme/typography\"\n\nimport Typography from \"./Typography\"\n\ntype Props = {\n className?: string\n content: XhtmlStringProperty\n component?: React.ComponentType\n variant?: CustomVariant\n propsInfo?: PropertyInfo\n}\n\nconst HtmlContent: React.FunctionComponent = ({\n className,\n component,\n content,\n variant,\n propsInfo\n}) => {\n const classes = useStyles()\n return (\n \n \n \n )\n}\n\nconst useStyles = makeStyles(({ spacing }) => ({\n root: {\n textAlign: \"left\",\n \"& a\": {\n color: \"inherit\",\n textDecoration: \"underline\"\n },\n \"& p\": {\n margin: `0 0 ${spacing(3)}px`\n },\n \"& iframe\": {\n maxWidth: \"100%\"\n },\n \"& ul\": {\n margin: `0 0 ${spacing(3)}px 0`\n },\n marginBottom: spacing(2)\n }\n}))\n\nexport default HtmlContent\n","import { makeStyles } from \"@material-ui/core/styles\"\nimport classNames from \"classnames\"\nimport Typography from \"common/Typography\"\nimport useStore from \"global-hook-store\"\nimport React from \"react\"\nimport pageStore from \"stores/pageStore\"\n\nimport LinkButton from \"./LinkButton\"\n\ntype Props = {\n className?: string\n}\n\nconst Arrow: React.FunctionComponent<{ className: string }> = ({\n className\n}) => (\n \n \n \n \n \n)\n\nconst Breadcrumbs: React.FC = ({ className }) => {\n const {\n state: { page }\n } = useStore(pageStore)\n\n const parents = (page.data && page.data._parents) || []\n\n const classes = useStyles()\n\n return parents ? (\n
\n {parents.map((link, index) => (\n
\n \n {index < parents.length - 1 && (\n <>\n \n\n \n /\n \n \n )}\n
\n ))}\n
\n ) : null\n}\n\nconst useStyles = makeStyles(({ breakpoints, palette }) => ({\n root: {\n [breakpoints.down(\"sm\")]: {\n textAlign: \"center\"\n }\n },\n item: {\n display: \"inline-block\"\n },\n delimiter: {\n display: \"inline-block\"\n },\n arrow: {\n [breakpoints.down(\"sm\")]: {\n display: \"none\"\n }\n },\n slash: {\n color: palette.rapunzel.black,\n [breakpoints.up(\"md\")]: {\n display: \"none\"\n }\n },\n list: {\n \"& span\": {\n color: palette.rapunzel.dark,\n textDecoration: \"none\"\n }\n }\n}))\n\nexport default Breadcrumbs\n","import { makeStyles } from \"@material-ui/core/styles\"\nimport { editorAttributes } from \"@starrepublic/epi/cms\"\nimport { PropertyInfo } from \"@starrepublic/epi/types/cms/content\"\nimport classNames from \"classnames\"\nimport { menuBackground } from \"common/backgrounds\"\nimport Breadcrumbs from \"common/Breadcrumbs\"\nimport Typography from \"common/Typography\"\nimport Wrapper from \"common/Wrapper\"\nimport useBreakpoint from \"hooks/useBreakpoint\"\nimport * as React from \"react\"\n\ntype Props = {\n title: string\n narrow?: boolean\n withBackground?: boolean\n propsInfo?: PropertyInfo\n}\n\nconst PageHeader: React.FunctionComponent = ({\n title,\n withBackground,\n propsInfo,\n\n ...rest\n}) => {\n const isMobile = useBreakpoint(\"md\")\n const classes = useStyles()\n return (\n <>\n \n \n \n\n \n {title}\n \n \n )\n}\n\nconst useStyles = makeStyles(({ spacing }) => ({\n root: {\n paddingTop: spacing(3)\n },\n center: {\n textAlign: \"center\",\n marginBottom: spacing(1)\n },\n background: {\n backgroundImage: menuBackground,\n backgroundColor: \"#F7F7F7\",\n width: \"100%\",\n height: 152,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n overflowY: \"auto\"\n }\n}))\n\nexport default PageHeader\n","import { SvgIconProps } from \"@material-ui/core/SvgIcon\"\nimport React from \"react\"\n\ntype Props = SvgIconProps\n\nconst Apointment: React.FunctionComponent = props => (\n \n \n \n \n)\n\nexport default Apointment\n","import { makeStyles } from \"@material-ui/core\"\nimport Grid from \"@material-ui/core/Grid\"\nimport { editorAttributes } from \"@starrepublic/epi/cms\"\nimport { ContentPropertyInfo } from \"@starrepublic/epi/types/cms/content\"\nimport classNames from \"classnames\"\nimport LinkButton from \"common/LinkButton\"\nimport Typography from \"common/Typography\"\nimport Apointment from \"icons/Apointment\"\nimport * as React from \"react\"\nimport { useTranslation } from \"react-i18next\"\n\nexport type OpenHours = {\n regular: {\n [key: string]: string\n }\n special: {\n [key: string]: string\n }\n}\n\ntype OwnProps = {\n address: string\n email: string\n phoneNumber: string\n bookingLink: string\n openHours: OpenHours\n}\n\ntype OutProps = OwnProps & {\n propsInfo?: ContentPropertyInfo\n}\n\ntype Props = OutProps\n\nconst Contact: React.SFC = ({\n address,\n email,\n phoneNumber,\n openHours,\n bookingLink,\n propsInfo\n}) => {\n const { t } = useTranslation()\n const classes = useStyles()\n\n return (\n <>\n \n {`${t(\"store.contact\")} `}\n \n \n {address}\n \n \n
\n \n \n {t(\"store.booking\")}\n \n \n
\n \n {t(\"store.appointments_drop_in\")}\n \n {Object.keys(openHours.regular).map((key, i) => (\n \n \n \n {key}\n \n \n \n {openHours.regular[key]}\n \n \n ))}\n
\n \n \n {t(\"store.special_open_hours\")}\n \n {Object.keys(openHours.special).map((key, i) => (\n \n \n \n {key}\n \n \n \n {openHours.special[key]}\n \n \n ))}\n \n \n )\n}\n\nconst useStyles = makeStyles(({ spacing, breakpoints, palette }) => ({\n heading: {\n marginTop: spacing(1),\n marginBottom: spacing(1)\n },\n subHeading: {\n marginBottom: spacing(2)\n },\n link: {\n paddingLeft: 0\n },\n capitalized: {\n textTransform: \"capitalize\"\n },\n openHoursContainer: {\n backgroundColor: palette.rapunzel.lightGray,\n padding: spacing(2),\n marginLeft: spacing(-2),\n marginTop: spacing(4),\n [breakpoints.down(\"sm\")]: {\n marginLeft: 0\n }\n },\n openHoursSpecialContainer: {\n marginTop: spacing(1)\n },\n specialOpenHours: {\n color: palette.rapunzel.specialDay\n },\n bookingLinkButton: {\n minHeight: spacing(7),\n color: palette.rapunzel.white,\n background: palette.rapunzel.ctaButtonDark,\n \"&:hover\": {\n color: palette.rapunzel.ctaButtonDark,\n backgroundColor: palette.rapunzel.white,\n border: `1px solid ${palette.rapunzel.ctaButtonDark}`,\n transitions: \"all 0.4s\"\n },\n textAlign: \"center\",\n width: \"calc(100% - 20px)\",\n [breakpoints.down(\"sm\")]: {\n width: \"100%\",\n \"&:hover\": {\n color: palette.rapunzel.white,\n backgroundColor: palette.rapunzel.ctaButtonDark\n }\n }\n },\n bookingLinkContent: {\n paddingTop: spacing(1),\n paddingBottom: spacing(1),\n display: \"flex\",\n alignItems: \"center\"\n },\n bookingLink: {\n marginTop: spacing(2),\n display: \"block\"\n },\n bookingIcon: {\n height: \"17px\",\n width: \"17px\",\n marginLeft: spacing(2)\n }\n}))\n\nexport default Contact\n","import { makeStyles } from \"@material-ui/core/styles\"\nimport { editorAttributes } from \"@starrepublic/epi/cms\"\nimport { ContentPropertyInfo } from \"@starrepublic/epi/types/cms/content\"\nimport HtmlContent from \"common/HtmlContent\"\nimport Typography from \"common/Typography\"\nimport * as React from \"react\"\n\ntype OwnProps = {\n title: string\n body: string\n preamble: string\n}\n\ntype Props = OwnProps & {\n propsInfo?: ContentPropertyInfo\n}\n\nconst Content: React.SFC = ({ title, body, propsInfo, preamble }) => {\n const classes = useStyles()\n\n return (\n <>\n \n {title}\n \n \n \n \n )\n}\n\nconst useStyles = makeStyles(({ spacing }) => ({\n title: {\n marginBottom: spacing(2)\n }\n}))\n\nexport default Content\n","import Grid from \"@material-ui/core/Grid\"\nimport { makeStyles } from \"@material-ui/core/styles\"\nimport { editorAttributes } from \"@starrepublic/epi/cms/\"\nimport { ContentProps } from \"@starrepublic/epi/types/cms/props\"\nimport Image from \"common/Image\"\nimport PageHeader from \"common/PageHeader\"\nimport Wrapper from \"common/Wrapper\"\nimport * as React from \"react\"\n\nimport Contact, { OpenHours } from \"./Contact\"\nimport Content from \"./Content\"\n\ntype StoreContent = {\n storeName: string\n storeImage: {\n _url: string\n _alt: string\n dominantColor: string\n }\n preamble: string\n address: string\n email: string\n openHours: OpenHours\n phoneNumber: string\n title: string\n body: string\n bookingLink: string\n}\n\ntype Props = ContentProps\n\nconst Store: React.SFC = ({ content, propsInfo }) => {\n const classes = useStyles()\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nconst useStyles = makeStyles(({ spacing, breakpoints }) => ({\n imageContainer: {\n width: \"100%\",\n height: 400,\n marginTop: spacing(3),\n marginBottom: spacing(4)\n },\n image: {\n width: \"100%\",\n height: 400,\n objectFit: \"cover\"\n },\n contactContainer: {\n [breakpoints.up(\"md\")]: {\n marginBottom: spacing(15)\n }\n }\n}))\n\nexport default Store\n"],"sourceRoot":""}