{"version":3,"sources":["webpack:///./src/components/header.js","webpack:///./src/components/footer.js","webpack:///./.cache/gatsby-browser-entry.js","webpack:///./src/components/BlogLayout.js","webpack:///./src/templates/blog.js","webpack:///./.cache/public-page-renderer.js","webpack:///./.cache/public-page-renderer-prod.js"],"names":["Header","className","navStyles","title","navItem","activeClassName","activeNavitem","to","Footer","href","loader","enqueue","React","createContext","BlogLayout","props","layoutStyles","blogContainer","container","blogContent","children","query","Blog","data","markdownRemark","frontmatter","date","dangerouslySetInnerHTML","__html","html","m","module","exports","require","default","ProdPageRenderer","location","pageResources","createElement","InternalPageRenderer","json"],"mappings":"4FAAA,0DAmBeA,IAfA,WACX,OACI,6BACI,yBAAKC,UAAaC,IAAUC,OAA5B,gBACA,kBAAC,IAAD,CAAMF,UAAYC,IAAUE,QAASC,gBAAkBH,IAAUI,cAAeC,GAAI,KAApF,QAFJ,KAGI,kBAAC,IAAD,CAAMN,UAAYC,IAAUE,QAASC,gBAAkBH,IAAUI,cAAeC,GAAI,UAApF,UAHJ,KAII,kBAAC,IAAD,CAAMN,UAAYC,IAAUE,QAASC,gBAAkBH,IAAUI,cAAeC,GAAI,YAApF,YAJJ,KAQE,kBAAC,IAAD,CAAMN,UAAYC,IAAUE,QAASC,gBAAkBH,IAAUI,cAAeC,GAAI,SAApF,Y,oCCdV,yBAWeC,IATA,WAEX,OACC,gCACG,+BAAI,uBAAGC,KAAK,6CAAR,aAAJ,MAAwE,uBAAGA,KAAK,uCAAR,WAAxE,MAAoI,uBAAGA,KAAK,kCAAR,a,kCCN5I,sGAcyBC,QAAOC,QAELC,IAAMC,cAAc,K,2HCQhCC,EAlBI,SAACC,GAEhB,OAEI,yBAAKd,UAAce,IAAaC,eAC5B,yBAAKhB,UAAce,IAAaE,WAEhC,kBAAC,IAAD,MACA,yBAAKjB,UAAU,mBACf,yBAAKA,UAAce,IAAaG,aAC1BJ,EAAMK,UAEZ,kBAAC,IAAD,SClBZ,sCAIO,IAAMC,EAAK,YA4BHC,UAVF,SAAEP,GACX,OACI,kBAAC,EAAD,KACI,4BAAKA,EAAMQ,KAAKC,eAAeC,YAAYtB,OAC3C,2BAAIY,EAAMQ,KAAKC,eAAeC,YAAYC,MAC1C,yBAAKC,wBAA2B,CAACC,OAAOb,EAAMQ,KAAKC,eAAeK,W,qBC3B9E,IAAsBC,EAKpBC,EAAOC,SALaF,EAKWG,EAAQ,UALRH,EAAEI,SAAYJ,G,wFCsBhCK,UAjBU,SAAC,GAAiC,IAA/BC,EAA8B,EAA9BA,SAAUC,EAAoB,EAApBA,cACpC,OAAKA,EAGEzB,IAAM0B,cAAcC,IAApB,eACLH,WACAC,iBACGA,EAAcG,OALV","file":"component---src-templates-blog-js-8a2a8ead46a6d4b20298.js","sourcesContent":["import React from \"react\"\nimport { Link } from \"gatsby\"\nimport navStyles from \"./nav.module.scss\"\n\nconst Header = () => {\n return ( \n \n )\n}\n\nexport default Header\n\n","import React from \"react\"\n\nconst Footer = () => {\n\n return (\n \n )\n}\n\nexport default Footer\n\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport Link, {\n withPrefix,\n withAssetPrefix,\n navigate,\n push,\n replace,\n navigateTo,\n parsePath,\n} from \"gatsby-link\"\nimport PageRenderer from \"./public-page-renderer\"\nimport loader from \"./loader\"\n\nconst prefetchPathname = loader.enqueue\n\nconst StaticQueryContext = React.createContext({})\n\nfunction StaticQueryDataRenderer({ staticQueryData, data, query, render }) {\n const finalData = data\n ? data.data\n : staticQueryData[query] && staticQueryData[query].data\n\n return (\n \n {finalData && render(finalData)}\n {!finalData &&
Loading (StaticQuery)
}\n
\n )\n}\n\nconst StaticQuery = props => {\n const { data, query, render, children } = props\n\n return (\n \n {staticQueryData => (\n \n )}\n \n )\n}\n\nconst useStaticQuery = query => {\n if (\n typeof React.useContext !== `function` &&\n process.env.NODE_ENV === `development`\n ) {\n throw new Error(\n `You're likely using a version of React that doesn't support Hooks\\n` +\n `Please update React and ReactDOM to 16.8.0 or later to use the useStaticQuery hook.`\n )\n }\n const context = React.useContext(StaticQueryContext)\n if (context[query] && context[query].data) {\n return context[query].data\n } else {\n throw new Error(\n `The result of this StaticQuery could not be fetched.\\n\\n` +\n `This is likely a bug in Gatsby and if refreshing the page does not fix it, ` +\n `please open an issue in https://github.com/gatsbyjs/gatsby/issues`\n )\n }\n}\n\nStaticQuery.propTypes = {\n data: PropTypes.object,\n query: PropTypes.string.isRequired,\n render: PropTypes.func,\n children: PropTypes.func,\n}\n\nfunction graphql() {\n throw new Error(\n `It appears like Gatsby is misconfigured. Gatsby related \\`graphql\\` calls ` +\n `are supposed to only be evaluated at compile time, and then compiled away. ` +\n `Unfortunately, something went wrong and the query was left in the compiled code.\\n\\n` +\n `Unless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.`\n )\n}\n\nexport {\n Link,\n withAssetPrefix,\n withPrefix,\n graphql,\n parsePath,\n navigate,\n push, // TODO replace for v3\n replace, // TODO remove replace for v3\n navigateTo, // TODO: remove navigateTo for v3\n StaticQueryContext,\n StaticQuery,\n PageRenderer,\n useStaticQuery,\n prefetchPathname,\n}\n","import React from \"react\"\nimport Header from \"./header\"\nimport Footer from \"./footer\"\nimport \"../styles/main.scss\"\nimport layoutStyles from \"./bloglayout.module.scss\"\n\nconst BlogLayout = (props) => {\n\n return(\n \n
\n
\n \n
\n
\n
\n { props.children } \n
\n
\n
\n )\n}\n\nexport default BlogLayout","import React from 'react'\nimport Layout from '../components/BlogLayout'\nimport { graphql } from 'gatsby'\n\nexport const query = graphql`\nquery (\n $slug: String!\n )\n {\n markdownRemark (\n fields: {\n slug: {\n eq: $slug\n }\n }\n ){\n frontmatter{title date}\n html\n }\n }\n`\n\nconst Blog = ( props ) => {\n return (\n \n

{props.data.markdownRemark.frontmatter.title}

\n

{props.data.markdownRemark.frontmatter.date}

\n
\n
\n )\n}\n\nexport default Blog","const preferDefault = m => (m && m.default) || m\n\nif (process.env.BUILD_STAGE === `develop`) {\n module.exports = preferDefault(require(`./public-page-renderer-dev`))\n} else if (process.env.BUILD_STAGE === `build-javascript`) {\n module.exports = preferDefault(require(`./public-page-renderer-prod`))\n} else {\n module.exports = () => null\n}\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\n\nimport InternalPageRenderer from \"./page-renderer\"\n\nconst ProdPageRenderer = ({ location, pageResources }) => {\n if (!pageResources) {\n return null\n }\n return React.createElement(InternalPageRenderer, {\n location,\n pageResources,\n ...pageResources.json,\n })\n}\n\nProdPageRenderer.propTypes = {\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired,\n }).isRequired,\n}\n\nexport default ProdPageRenderer\n"],"sourceRoot":""}