{"version":3,"sources":["webpack:///./src/utils/toCommaSeparatedList.js","webpack:///./src/components/Header/index.js","webpack:///./node_modules/gatsby/node_modules/core-js/modules/es.function.name.js","webpack:///./src/components/Header/Header.js","webpack:///./src/pages/blog/all.html.js"],"names":["addString","list","string","push","key","length","toCommaSeparatedList","array","renderCallback","map","forEach","item","index","Header","DESCRIPTORS","defineProperty","f","FunctionPrototype","Function","prototype","FunctionPrototypeToString","toString","nameRE","configurable","get","call","this","match","error","children","css","color","colors","dark","marginRight","fonts","header","pageQuery","AllBlogPosts","data","location","sharedStyles","articleLayout","container","content","canonicalUrl","urlRoot","title","display","flexWrap","marginLeft","allMarkdownRemark","edges","node","paddingLeft","paddingTop","borderTop","paddingBottom","width","media","size","greaterThan","fields","slug","fontSize","lineHeight","fontWeight","borderBottom","borderBottomColor","black","to","frontmatter","date","author","subtle","marginTop","name"],"mappings":"4FAAA,0BAWMA,EAAY,SAACC,EAAmBC,GAApB,OAChBD,EAAKE,KAAK,wBAAMC,IAAQH,EAAKI,OAAV,IAAoBH,GAAWA,KA2BrCI,IAzBc,SAC3BC,EACAC,GAEA,GAAID,EAAMF,QAAU,EAClB,OAAOE,EAAME,IAAID,GAGnB,IAAMP,EAAO,GAcb,OAZAM,EAAMG,SAAQ,SAACC,EAAMC,GACfA,IAAUL,EAAMF,OAAS,GAC3BL,EAAUC,EAAuB,IAAjBM,EAAMF,OAAe,QAAU,UAC/CJ,EAAKE,KAAKK,EAAeG,EAAMC,KACtBA,EAAQ,GACjBZ,EAAUC,EAAM,MAChBA,EAAKE,KAAKK,EAAeG,EAAMC,KAE/BX,EAAKE,KAAKK,EAAeG,EAAMC,OAI5BX,K,wDCpCT,gBAQeY,MAAf,G,qBCRA,IAAIC,EAAc,EAAQ,QACtBC,EAAiB,EAAQ,QAAuCC,EAEhEC,EAAoBC,SAASC,UAC7BC,EAA4BH,EAAkBI,SAC9CC,EAAS,wBAKTR,KAJO,SAIkBG,IAC3BF,EAAeE,EALN,OAK+B,CACt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AKK,IACFrE,YAAqB+C,EAAKkB,YAAYE,QAAQ,SAAAA,GAAM,OACnD,wBAAMrE,IAAKqE,EAAOF,YAAYK,MAC3BH,EAAOF,YAAYK,UAIxB,gB","file":"component---src-pages-blog-all-html-js-ff3a6804977126f37ef8.js","sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * @emails react-core\n * @flow\n */\n\nimport React from 'react';\n\nimport type {Node} from 'react';\n\nconst addString = (list: Array, string: string) =>\n list.push({string});\n\nconst toCommaSeparatedList = (\n array: Array,\n renderCallback: Function,\n): Array => {\n if (array.length <= 1) {\n return array.map(renderCallback);\n }\n\n const list = [];\n\n array.forEach((item, index) => {\n if (index === array.length - 1) {\n addString(list, array.length === 2 ? ' and ' : ', and ');\n list.push(renderCallback(item, index));\n } else if (index > 0) {\n addString(list, ', ');\n list.push(renderCallback(item, index));\n } else {\n list.push(renderCallback(item, index));\n }\n });\n\n return list;\n};\n\nexport default toCommaSeparatedList;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * @emails react-core\n */\n\nimport Header from './Header';\n\nexport default Header;\n","var DESCRIPTORS = require('../internals/descriptors');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar FunctionPrototype = Function.prototype;\nvar FunctionPrototypeToString = FunctionPrototype.toString;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.github.io/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !(NAME in FunctionPrototype)) {\n defineProperty(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return FunctionPrototypeToString.call(this).match(nameRE)[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * @emails react-core\n * @flow\n */\n\nimport React from 'react';\nimport {colors, fonts} from 'theme';\n\nimport type {Node} from 'react';\n\nconst Header = ({children}: {children: Node}) => (\n \n {children}\n \n);\n\nexport default Header;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * @emails react-core\n * @flow\n */\n\nimport {graphql, Link} from 'gatsby';\nimport Layout from 'components/Layout';\nimport Container from 'components/Container';\nimport Header from 'components/Header';\nimport TitleAndMetaTags from 'components/TitleAndMetaTags';\nimport React from 'react';\nimport {urlRoot} from 'site-constants';\nimport {colors, media, sharedStyles} from 'theme';\nimport toCommaSeparatedList from 'utils/toCommaSeparatedList';\nimport MetaTitle from 'templates/components/MetaTitle';\n\nimport type {allMarkdownRemarkData} from 'types';\n\ntype Props = {\n data: allMarkdownRemarkData,\n location: Location,\n};\n\nconst AllBlogPosts = ({data, location}: Props) => (\n \n \n
\n
\n
All Posts
\n \n \n {data.allMarkdownRemark.edges.map(({node}) => (\n \n \n \n {node.frontmatter.title}\n \n \n {node.fields.date}\n {node.frontmatter.author ? (\n \n by{' '}\n {toCommaSeparatedList(node.frontmatter.author, author => (\n \n {author.frontmatter.name}\n \n ))}\n
\n ) : null}\n \n ))}\n \n
\n \n
\n
\n);\n\nexport const pageQuery = graphql`\n query AllBlogPostsPageQuery {\n allMarkdownRemark(\n filter: {fileAbsolutePath: {regex: \"/blog/\"}}\n sort: {fields: [fields___date], order: DESC}\n ) {\n edges {\n node {\n frontmatter {\n title\n author {\n frontmatter {\n name\n url\n }\n }\n }\n fields {\n date(formatString: \"MMMM DD, YYYY\")\n slug\n }\n }\n }\n }\n }\n`;\n\nexport default AllBlogPosts;\n"],"sourceRoot":""}