-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1-ff50a15a451f9515762a.js.map
1 lines (1 loc) · 7.68 KB
/
1-ff50a15a451f9515762a.js.map
1
{"version":3,"sources":["webpack:///./src/components/layout.js","webpack:///./.cache/gatsby-browser-entry.js","webpack:///./.cache/public-page-renderer.js","webpack:///./.cache/public-page-renderer-prod.js"],"names":["Layout","_ref","content","children","location","pathname","react__WEBPACK_IMPORTED_MODULE_1___default","a","createElement","id","className","gatsby__WEBPACK_IMPORTED_MODULE_4__","query","render","data","Fragment","react_helmet__WEBPACK_IMPORTED_MODULE_3___default","title","site","siteMetadata","meta","name","description","keywords","author","lang","_public_static_d_3516775627_json__WEBPACK_IMPORTED_MODULE_0__","propTypes","prop_types__WEBPACK_IMPORTED_MODULE_2___default","node","isRequired","__webpack_exports__","__webpack_require__","r","d","graphql","StaticQueryContext","StaticQuery","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","n","prop_types__WEBPACK_IMPORTED_MODULE_1__","prop_types__WEBPACK_IMPORTED_MODULE_1___default","gatsby_link__WEBPACK_IMPORTED_MODULE_2__","gatsby_link__WEBPACK_IMPORTED_MODULE_2___default","_wait_for_route_change__WEBPACK_IMPORTED_MODULE_3__","_public_page_renderer__WEBPACK_IMPORTED_MODULE_4__","_public_page_renderer__WEBPACK_IMPORTED_MODULE_4___default","_parse_path__WEBPACK_IMPORTED_MODULE_5__","createContext","props","Consumer","staticQueryData","Error","object","string","func","m","module","exports","default","ProdPageRenderer","pageResources","_loader__WEBPACK_IMPORTED_MODULE_4__","getResourcesForPathnameSync","_page_renderer__WEBPACK_IMPORTED_MODULE_3__","Object","assign","json","shape"],"mappings":"kKAOMA,UAAS,SAAAC,GAA4B,IAErCC,EAFYC,EAAyBF,EAAzBE,SAAUC,EAAeH,EAAfG,SAoB1B,OAfEF,EADEE,GAAkC,MAAtBA,EAASC,SAErBC,EAAAC,EAAAC,cAAA,WACGL,GAKHG,EAAAC,E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,KAAAe,EAAAf,EAAAQ,EAAAM,GAAAd,EAAAE,EAAAH,EAAA,iCAAAgB,EAAAxC,IAAA,IAAAyC,EAAAhB,EAAA,IAAAA,EAAAE,EAAAH,EAAA,8BAAAiB,EAAA,IAaA,IAAMZ,EAAqBG,EAAAhC,EAAM0C,cAAc,IAEzCZ,EAAc,SAAAa,GAAK,OACvBX,EAAAhC,EAAAC,cAAC4B,EAAmBe,SAApB,KACG,SAAAC,GACC,OACEF,EAAMpC,MACLsC,EAAgBF,EAAMtC,QAAUwC,EAAgBF,EAAMtC,OAAOE,MAEtDoC,EAAMrC,QAAUqC,EAAM/C,UAC5B+C,EAAMpC,KAAOoC,EAAMpC,KAAKA,KAAOsC,EAAgBF,EAAMtC,OAAOE,MAGvDyB,EAAAhC,EAAAC,cAAA,uCAaf,SAAS2B,IACP,MAAM,IAAIkB,MACR,gVATJhB,EAAYV,UAAY,CACtBb,KAAM4B,EAAAnC,EAAU+C,OAChB1C,MAAO8B,EAAAnC,EAAUgD,OAAOzB,WACxBjB,OAAQ6B,EAAAnC,EAAUiD,KAClBrD,SAAUuC,EAAAnC,EAAUiD,2BCpCtB,IAAsBC,EAKpBC,EAAOC,SALaF,EAKWzB,EAAQ,OALRyB,EAAEG,SAAYH,45BCMzCI,EAAmB,SAAA5D,GAAkB,IAAfG,EAAeH,EAAfG,SACpB0D,EAAgBC,EAAA,QAAOC,4BAA4B5D,EAASC,UAClE,OAAOC,EAAAC,EAAMC,cAAcyD,EAAA,EAApBC,OAAAC,OAAA,CACL/D,WACA0D,iBACGA,EAAcM,QAIrBP,EAAiBlC,UAAY,CAC3BvB,SAAUwB,EAAArB,EAAU8D,MAAM,CACxBhE,SAAUuB,EAAArB,EAAUgD,OAAOzB,aAC1BA,YAGUC,EAAA","file":"1-ff50a15a451f9515762a.js","sourcesContent":["import React from 'react'\nimport PropTypes from 'prop-types'\nimport Helmet from 'react-helmet'\nimport { StaticQuery, graphql } from 'gatsby'\n\nimport '../assets/scss/main.scss'\n\nconst Layout = ({ children, location }) => {\n\n let content;\n\n if (location && location.pathname === '/') {\n content = (\n <div>\n {children}\n </div>\n )\n } else {\n content = (\n <div id=\"wrapper\" className=\"page\">\n <div>\n {children}\n </div>\n </div>\n )\n }\n\n return (\n <StaticQuery\n query={graphql`\n query SiteTitleQuery {\n site {\n siteMetadata {\n title,\n author,\n description,\n keywords\n }\n }\n }\n `}\n render={data => (\n <>\n <Helmet\n title={data.site.siteMetadata.title}\n meta={[\n { name: 'description', content: data.site.siteMetadata.description },\n { name: 'keywords', content: data.site.siteMetadata.keywords },\n { name: 'author', content: data.site.siteMetadata.author }\n ]}\n >\n <html lang=\"en\" />\n </Helmet>\n {content}\n </>\n )}\n />\n )\n}\n\nLayout.propTypes = {\n children: PropTypes.node.isRequired,\n}\n\nexport default Layout\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport Link, {\n withPrefix,\n navigate,\n push,\n replace,\n navigateTo,\n} from \"gatsby-link\"\nimport { waitForRouteChange } from \"./wait-for-route-change\"\nimport PageRenderer from \"./public-page-renderer\"\nimport parsePath from \"./parse-path\"\n\nconst StaticQueryContext = React.createContext({})\n\nconst StaticQuery = props => (\n <StaticQueryContext.Consumer>\n {staticQueryData => {\n if (\n props.data ||\n (staticQueryData[props.query] && staticQueryData[props.query].data)\n ) {\n return (props.render || props.children)(\n props.data ? props.data.data : staticQueryData[props.query].data\n )\n } else {\n return <div>Loading (StaticQuery)</div>\n }\n }}\n </StaticQueryContext.Consumer>\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 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 waitForRouteChange,\n}\n","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\"\nimport loader from \"./loader\"\n\nconst ProdPageRenderer = ({ location }) => {\n const pageResources = loader.getResourcesForPathnameSync(location.pathname)\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":""}