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AA,EAAAA,CAAUA,IAAM,UAACD,EAAAA,CAAIA,CAAAA,UAAErB,IACxB,UAACqB,EAAAA,CAAIA,CAAAA,UAAEhB,IACN,CAAC,CAACR,GACD,UAACwB,EAAAA,CAAIA,CAAAA,UACF,CAAC,yJAAyJ,CAAC,GAG/J,CAAC,CAAC3B,EAAY6B,MAAM,EACnB,WAACF,EAAAA,CAAIA,CAAAA,WACF,CAAC,0DAA0D,CAAC,CAC7D,UAACG,IAAQA,CACPC,KAAM,CAAC,IAAI,EAAE/B,EAAAA,CAAa,CAC1BzB,gBAAc,YAFPuD,gBAIP,UAACE,EAAAA,CAAIA,CAAAA,CAACC,GAAG,gBAAO,gBAEjB,CAAC,8BAA8B,CAAC,UAKxC,CAAC,CAAC9B,GACD,UAAClD,EAAAA,CAAGA,CAAAA,CAACmE,UAAU,aACb,UAACzF,EAAAA,CAAqBA,CAAAA,CAAAA,YAOpC,EAAE,sFClHF,MAFkB,IAAM,UAACgE,EAAAA,CAASA,CAAAA,CAACC,SAEpBsC,EAFgC,OAEvBA,EAAC","sources":["webpack://_N_E/../../node_modules/@cruk/cruk-react-components/lib/src/components/LabelWrapper/styles.js","webpack://_N_E/../../node_modules/@cruk/cruk-react-components/lib/src/components/LabelWrapper/index.js","webpack://_N_E/?718a","webpack://_N_E/./src/components/DrawingCanvas/index.tsx","webpack://_N_E/./src/components/DrawingCanvasControls/index.tsx","webpack://_N_E/./src/components/ErrorPage/index.tsx","webpack://_N_E/./src/pages/404.tsx"],"sourcesContent":["import{__makeTemplateObject as n}from\"../../../node_modules/tslib/tslib.es6.js\";import t from\"styled-components\";var o,e,i,a=t.label(o||(o=n([\"\\n position: relative;\\n display: block;\\n width: 100%;\\n font-family: \",\";\\n font-weight: \",\";\\n\"],[\"\\n position: relative;\\n display: block;\\n width: 100%;\\n font-family: \",\";\\n font-weight: \",\";\\n\"])),(function(n){return n.theme.typography.fontFamilyLabel}),(function(n){return n.theme.typography.fontWeightLabels})),f=t.span(e||(e=n([\"\\n font-family: \",\";\\n font-weight: \",\";\\n\"],[\"\\n font-family: \",\";\\n font-weight: \",\";\\n\"])),(function(n){return n.theme.typography.fontFamilyLabel}),(function(n){return n.theme.typography.fontWeightBase})),r=t.span(i||(i=n([\"\\n font-family: \",\";\\n font-weight: \",\";\\n display: block;\\n margin-bottom: \",\";\\n\"],[\"\\n font-family: \",\";\\n font-weight: \",\";\\n display: block;\\n margin-bottom: \",\";\\n\"])),(function(n){return n.theme.typography.fontFamilyLabel}),(function(n){return n.theme.typography.fontWeightLabels}),(function(n){var t=n.$hasHintText,o=n.theme;return t?o.spacing.xxs:o.spacing.xs}));export{a as Label,r as LabelText,f as RequiredText};\n//# sourceMappingURL=styles.js.map\n","import{__rest as e,__assign as t}from\"../../../node_modules/tslib/tslib.es6.js\";import r from\"react\";import{useTheme as l,ThemeProvider as n}from\"styled-components\";import{Text as i}from\"../Text/index.js\";import{crukTheme as m}from\"../../themes/cruk.js\";import{Label as o,LabelText as a,RequiredText as d}from\"./styles.js\";function s(s){var u=s.label,c=s.hintText,f=s.required,h=void 0!==f&&f,p=s.hideRequiredInLabel,b=void 0!==p&&p,x=s.children,E=e(s,[\"label\",\"hintText\",\"required\",\"hideRequiredInLabel\",\"children\"]),q=l(),j=t(t({},m),q),y=c&&(\"string\"==typeof c&&c.length||\"number\"==typeof c)?r.createElement(i,null,c):c;return r.createElement(n,{theme:j},u?r.createElement(o,t({},E),r.createElement(a,{$hasHintText:!!c},u,h&&!b&&r.createElement(d,null,\" (required)\")),y,x):r.createElement(r.Fragment,null,x))}export{s as LabelWrapper,s as default};\n//# sourceMappingURL=index.js.map\n","\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 {\n type MouseEventHandler,\n type Ref,\n type TouchEventHandler,\n forwardRef,\n memo,\n} from \"react\";\n\ntype Props = {\n handleMouseDown: MouseEventHandler;\n handleMouseUp: MouseEventHandler;\n handleMouseMove: MouseEventHandler;\n handleTouchStart: TouchEventHandler;\n handleTouchEnd: TouchEventHandler;\n handleTouchMove: TouchEventHandler;\n};\n\n// we need a component with a memo so it doesn't re-render or we will loose what we have drawn\nexport const DrawingCanvas = memo(\n forwardRef((props: Props, ref: Ref) => (\n \n )),\n);\n\nexport default DrawingCanvas;\n","import { useRef, type TouchEvent, type MouseEvent, useEffect } from \"react\";\nimport {\n Box,\n LabelWrapper,\n Button,\n type ThemeType,\n} from \"@cruk/cruk-react-components\";\n\nimport { isBrowser } from \"@fwa/src/utils/browserUtils\";\nimport { DrawingCanvas } from \"@fwa/src/components/DrawingCanvas\";\n\nimport { Column, Row } from \"@fwa/src/components/styles\";\nimport { useTheme } from \"styled-components\";\n\nexport const DrawingCanvasControls = () => {\n const theme = useTheme() as ThemeType;\n const canvasRef = useRef(null);\n const canvasWrapperRef = useRef(null);\n // we use refs so we don't cause re-renders loosing current state of doodle\n const colourRef = useRef(null);\n const lineWidthRef = useRef(null);\n const isPainting = useRef(false);\n\n if (isBrowser) {\n const canvas = canvasRef.current;\n const canvasWrapper = canvasWrapperRef.current;\n if (canvas && canvasWrapper) {\n canvas.width = canvasWrapper?.clientWidth;\n canvas.height = canvasWrapper?.clientHeight;\n }\n }\n\n const clear = () => {\n const canvas = canvasRef.current;\n const ctx = canvas?.getContext(\"2d\");\n if (!canvas || !ctx) return;\n ctx.clearRect(0, 0, canvas.width, canvas.height);\n };\n\n const startDraw = () => {\n if (!isBrowser) return;\n\n const canvas = canvasRef.current;\n const ctx = canvas?.getContext(\"2d\");\n if (!ctx) return;\n ctx.beginPath();\n isPainting.current = true;\n };\n\n const handleMouseMove = (e: MouseEvent) => {\n const canvas = canvasRef.current;\n const ctx = canvas?.getContext(\"2d\");\n if (!canvas || !ctx || !isPainting.current || !colourRef || !lineWidthRef)\n return;\n ctx.lineWidth = parseInt(lineWidthRef.current?.value || \"0\", 10);\n ctx.strokeStyle = colourRef.current?.value || \"#000000\";\n ctx.lineCap = \"round\";\n ctx.lineTo(\n e.clientX - canvas.offsetLeft,\n e.clientY - canvas.offsetTop + window.scrollY,\n );\n ctx.stroke();\n };\n\n const handleTouchMove = (e: TouchEvent) => {\n const canvas = canvasRef.current;\n const ctx = canvas?.getContext(\"2d\");\n const canvasWrapper = canvasWrapperRef.current;\n if (\n !canvas ||\n !ctx ||\n !canvasWrapper ||\n !isPainting.current ||\n !colourRef ||\n !lineWidthRef\n )\n return;\n ctx.lineWidth = parseInt(lineWidthRef.current?.value || \"0\", 10);\n ctx.strokeStyle = colourRef.current?.value || \"#000000\";\n ctx.lineCap = \"round\";\n ctx.lineTo(\n e.nativeEvent.touches[0].clientX - canvas.offsetLeft,\n e.nativeEvent.touches[0].clientY - canvas.offsetTop + window.scrollY,\n );\n ctx.stroke();\n };\n\n const endDraw = () => {\n const canvas = canvasRef.current;\n const ctx = canvas?.getContext(\"2d\");\n if (!canvas || !ctx) return;\n isPainting.current = false;\n ctx.beginPath();\n };\n\n useEffect(() => {\n if (isBrowser) {\n const canvas = canvasRef.current;\n const canvasWrapper = canvasWrapperRef.current;\n if (canvas && canvasWrapper) {\n canvas.width = canvasWrapper?.clientWidth;\n canvas.height = canvasWrapper?.clientHeight;\n }\n }\n }, []);\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default DrawingCanvasControls;\n","import { useState, useEffect } from \"react\";\nimport Head from \"next/head\";\nimport NextLink from \"next/link\";\nimport { useRouter } from \"next/compat/router\";\nimport styled from \"styled-components\";\nimport { Heading, Text, Box, Link } from \"@cruk/cruk-react-components\";\nimport { checkIfDev } from \"@fwa/src/utils/envUtils\";\n\nimport { DrawingCanvasControls } from \"@fwa/src/components/DrawingCanvasControls\";\n\nimport {\n ContentMaxWidth,\n ContentWrapperResponsive,\n Row,\n} from \"@fwa/src/components/styles\";\n\nconst image404 = \"/assets/images/img/404.svg\";\n\nconst TextWrapper = styled(Box)`\n float: left;\n`;\n\ntype Props = {\n statusCode: number;\n error?: Error;\n};\n\nexport const ErrorPage = ({ statusCode, error }: Props) => {\n const router = useRouter();\n const [missingSlug, setMissingSlug] = useState(\"\");\n\n const isPotentialFWSDownTime = [500, 503, 504, 408].includes(statusCode);\n const notFound = statusCode === 404;\n\n const statusMessages: Record = {\n 400: \"Bad Request.\",\n 401: \"You do not have permission to see this page.\",\n 403: \"You need to be logged in to see this page.\",\n 404: \"We can't seem to find the page you are looking for.\",\n 405: \"Method Not Allowed.\",\n 500: \"Internal Server Error.\",\n };\n\n const additionDevInfo = `${statusCode || \"\"}: ${error?.name || \"\"}, ${\n error?.message || \"\"\n }, ${JSON.stringify(error?.stack)}`;\n\n const title =\n statusMessages[statusCode] || `An unexpected error has occurred`;\n\n const headingText =\n statusCode === 403 || statusCode === 401\n ? \"Access denied\"\n : \"Something went wrong\";\n\n useEffect(() => {\n if (notFound) {\n setMissingSlug(\n router\n ? router.asPath\n .slice(router.asPath.lastIndexOf(\"/\") + 1)\n .split(\"?\")[0]\n : \"\",\n );\n }\n }, [notFound, router, setMissingSlug]);\n\n return (\n <>\n \n {`Error ${statusCode}: ${title}`}\n \n \n \n \n {notFound && (\n \n \"\"\n \n )}\n\n \n {headingText}\n Error: {statusCode}\n {checkIfDev() && {additionDevInfo}}\n {title}\n {!!isPotentialFWSDownTime && (\n \n {`Sorry this page isn't available right now. Please refresh the page. If that doesn't work, try again in 10 minutes or draw something below while you wait.`}\n \n )}\n {!!missingSlug.length && (\n \n {`Please check the web address and try again or you can try `}\n \n searching\n \n {` for what you are looking for.`}\n \n )}\n \n \n {!!isPotentialFWSDownTime && (\n \n \n \n )}\n \n \n \n );\n};\n\nexport default ErrorPage;\n","import { ErrorPage } from \"@fwa/src/components/ErrorPage\";\n\nconst Custom404 = () => ;\n\nexport default Custom404;\n"],"names":["DrawingCanvas","memo","forwardRef","props","ref","canvas","style","touchAction","id","onMouseDown","handleMouseDown","onTouchStart","handleTouchStart","onMouseUp","handleMouseUp","onTouchEnd","handleTouchEnd","onMouseMove","handleMouseMove","onTouchMove","handleTouchMove","DrawingCanvasControls","theme","useTheme","canvasRef","useRef","canvasWrapperRef","colourRef","lineWidthRef","isPainting","isBrowser","current","canvasWrapper","width","height","clientHeight","startDraw","ctx","getContext","beginPath","endDraw","useEffect","clientWidth","Box","backgroundColor","padding","marginBottom","data-component","Row","paddingRight","LabelWrapper","label","input","type","name","defaultValue","colors","primary","fontSize","Column","flexDirection","Button","full","onClick","clear","data-cta-type","border","lineWidth","parseInt","value","strokeStyle","lineCap","lineTo","e","clientX","offsetLeft","clientY","offsetTop","window","scrollY","stroke","nativeEvent","touches","TextWrapper","styled","ErrorPage","statusCode","error","router","useRouter","missingSlug","setMissingSlug","useState","isPotentialFWSDownTime","includes","notFound","additionDevInfo","message","JSON","stringify","stack","title","headingText","asPath","slice","lastIndexOf","split","Head","ContentMaxWidth","ContentWrapperResponsive","marginTop","img","src","image404","alt","Heading","h1","Text","checkIfDev","length","NextLink","href","Link","as","Custom404"],"sourceRoot":"","ignoreList":[0,1]}