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EAAAA,CAAAA,EAAiBL,EAAKM,UAAU,CAACI,MAAM,IAG9C","sources":["webpack://_N_E/?718a","webpack://_N_E/../ui-components/build/components/PageNotFound/PageNotFound.styles.js","webpack://_N_E/../ui-components/build/components/PageNotFound/PageNotFound.js","webpack://_N_E/./src/pages/404.tsx"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/404\",\n function () {\n return require(\"private-next-pages/404.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/404\"])\n });\n }\n ","import { colors, spacing } from '../../styles/jss/variables';\nimport { makeStyles } from 'tss-react/mui';\nconst useStyles = makeStyles()((theme) => ({\n root: {\n backgroundColor: colors.supplementary.white,\n paddingTop: spacing.medium,\n paddingLeft: spacing.small,\n paddingRight: spacing.small,\n [theme.breakpoints.up('md')]: {\n paddingTop: spacing.large,\n paddingLeft: spacing.large,\n paddingRight: spacing.large,\n },\n },\n contentContainer: {\n display: 'flex',\n justifyContent: 'center',\n flexDirection: 'column',\n [theme.breakpoints.up('md')]: {\n flexDirection: 'row',\n },\n },\n textContent: {\n alignContent: 'center',\n },\n heading: Object.assign(Object.assign({}, theme.typography.xl_bold), { paddingTop: 0, paddingBottom: 0, [theme.breakpoints.up('md')]: Object.assign(Object.assign({}, theme.typography.xxl_bold), { paddingTop: 0, paddingBottom: 0 }) }),\n subHeading: Object.assign(Object.assign({}, theme.typography.small_regular), { marginTop: spacing.medium, [theme.breakpoints.up('md')]: {\n marginTop: spacing.large,\n } }),\n image: {\n width: '100%',\n maxWidth: 638,\n minWidth: 335,\n height: 'auto',\n [theme.breakpoints.down('md')]: {\n marginTop: spacing.small,\n alignSelf: 'center',\n },\n [theme.breakpoints.up('md')]: {\n width: '50%',\n },\n },\n homePageLinkText: Object.assign(Object.assign({}, theme.typography.small_regular), { color: colors.primary.gold5, textDecoration: 'underline', display: 'block', marginTop: spacing.small, [theme.breakpoints.up('md')]: {\n marginTop: spacing.large,\n }, cursor: 'pointer' }),\n componentContainer: {\n paddingBottom: spacing.medium,\n [theme.breakpoints.up('md')]: {\n paddingBottom: spacing.xl,\n },\n },\n}));\nexport default useStyles;\n","import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport MainContent from '../MainContent/MainContent';\nimport BreadcrumbBar from '../BreadcrumbBar/BreadcrumbBar';\nimport Link from '../Link/Link';\nimport LinkGallery from '../LinkGallery/LinkGallery';\nimport useStyles from './PageNotFound.styles';\nimport { useContext, useEffect } from 'react';\nimport { SiteContext } from '../../utils/common';\nimport RawHtml from '../RawHtml/RawHtml';\nimport PreloadedComponent from '../PreloadedComponent/PreloadedComponent';\nimport ProductGallery, { PRODUCT_GALLERY_UK_AMP_KEY, PRODUCT_GALLERY_IE_AMP_KEY, } from '../ProductGallery/ProductGallery';\nimport clsx from 'clsx';\nconst linkGalleryProps = {\n description: 'What about one of these instead? ',\n links: [\n {\n label: 'Birthday flowers',\n url: '/category/birthday-flowers',\n },\n {\n label: 'Anniversary flowers',\n url: '/category/anniversary-flowers',\n },\n {\n label: 'Thank you flowers',\n url: '/category/occasion-flowers/thank-you',\n },\n { label: 'Need some help?', url: '/page/help' },\n { label: 'Visit our blog', url: '/blog' },\n ],\n};\nconst homePageLinkProps = {\n label: 'Return to the homepage',\n url: '/',\n newWindow: false,\n};\nconst PageNotFound = () => {\n const { classes } = useStyles();\n const { isFlyingFlowers, shorthand } = useContext(SiteContext);\n const productGalleryAmpKey = shorthand === 'uk' ? PRODUCT_GALLERY_UK_AMP_KEY : PRODUCT_GALLERY_IE_AMP_KEY;\n useEffect(() => {\n sessionStorage.removeItem('breadcrumb');\n }, []);\n return (_jsx(_Fragment, { children: isFlyingFlowers ? (_jsx(MainContent, { children: _jsx(RawHtml, { content: '<h1>Page Not Found</h1>' }) })) : (_jsxs(_Fragment, { children: [_jsx(BreadcrumbBar, { links: [\n { label: 'Home', url: '/' },\n { label: 'Page Not Found', url: '/' },\n ] }), _jsxs(\"div\", { className: classes.root, children: [_jsxs(\"div\", { className: clsx(classes.contentContainer, classes.componentContainer), children: [_jsxs(\"div\", { className: classes.textContent, children: [_jsxs(\"div\", { className: classes.heading, children: [_jsx(\"span\", { children: \"Hmm,\" }), _jsx(\"br\", {}), _jsx(\"span\", { children: \"there\\u2019s no flowers here\" })] }), _jsx(\"div\", { className: classes.subHeading, children: \"Sorry about that.\" }), _jsx(Link, Object.assign({}, homePageLinkProps, { className: classes.homePageLinkText }))] }), _jsx(\"img\", { className: classes.image, alt: \"error-page-img\", src: \"/images/error-page-image.png\" })] }), _jsx(\"div\", { className: classes.componentContainer, children: _jsx(LinkGallery, Object.assign({}, linkGalleryProps)) }), _jsx(\"div\", { className: classes.componentContainer, children: _jsx(PreloadedComponent, { Component: ProductGallery, componentKey: productGalleryAmpKey }) })] })] })) }));\n};\nexport default PageNotFound;\n","import { getOutlineRenderGraph, OutlineRenderGraph } from 'utils/getRenderGraph'\nimport Page from '../components/Page/Page'\nimport { renderComponents } from '../utils/components'\nimport PageNotFound from '@interflora/ui-components/build/components/PageNotFound/PageNotFound'\nimport {\n PRODUCT_GALLERY_UK_AMP_KEY,\n PRODUCT_GALLERY_IE_AMP_KEY,\n} from '@interflora/ui-components/build/components/ProductGallery/ProductGallery'\n\nconst Index = (renderGraph: OutlineRenderGraph) => {\n const { page } = renderGraph\n return (\n <Page renderGraph={renderGraph}>\n {renderComponents(page.components.header)}\n <PageNotFound />\n {renderComponents(page.components.footer)}\n </Page>\n )\n}\n\nexport default Index\n\nexport const getStaticProps = (ctx) =>\n getOutlineRenderGraph(ctx, 'DEFAULT', '404', { title: 'Page Not Found', noIndex: true, noFollow: false }, false, [\n PRODUCT_GALLERY_UK_AMP_KEY,\n PRODUCT_GALLERY_IE_AMP_KEY,\n ])\n"],"names":["window","__NEXT_P","push","__webpack_require__","useStyles","makeStyles","root","backgroundColor","colors","supplementary","white","paddingTop","spacing","medium","paddingLeft","small","paddingRight","theme","breakpoints","up","large","contentContainer","display","justifyContent","flexDirection","textContent","alignContent","heading","Object","assign","typography","xl_bold","paddingBottom","xxl_bold","subHeading","small_regular","marginTop","image","width","maxWidth","minWidth","height","down","alignSelf","homePageLinkText","color","primary","gold5","textDecoration","cursor","componentContainer","xl","linkGalleryProps","description","links","label","url","homePageLinkProps","newWindow","PageNotFound_PageNotFound","classes","isFlyingFlowers","shorthand","useContext","SiteContext","productGalleryAmpKey","PRODUCT_GALLERY_UK_AMP_KEY","PRODUCT_GALLERY_IE_AMP_KEY","useEffect","sessionStorage","removeItem","_jsx","_Fragment","children","MainContent","RawHtml","content","_jsxs","BreadcrumbBar","className","clsx","Link","alt","src","LinkGallery","PreloadedComponent","Component","ProductGallery","componentKey","_404","page","renderGraph","jsx_runtime","jsxs","Page","renderComponents","components","header","jsx","PageNotFound","footer"],"sourceRoot":""}