aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/component---src-pages-404-tsx-e5c4489e3eb49814ef3c.js.map
blob: e365553052694759419e75ccfde3cd8a12d65961 (plain) (blame)
1
{"version":3,"file":"component---src-pages-404-tsx-e5c4489e3eb49814ef3c.js","mappings":"yKAGO,SAASA,IACd,MAAM,OAAEC,EAAM,YAAEC,EAAW,MAAEC,IAAUC,EAAAA,EAAAA,KAEvC,OACEC,EAAAA,cAAAA,EAAAA,SAAAA,KACEA,EAAAA,cAAAA,OAAAA,CAAMC,KAAK,sBAAsBC,QAASL,QAAAA,EAAe,KACzDG,EAAAA,cAAAA,OAAAA,CAAMC,KAAK,gBAAgBC,QAASJ,QAAAA,EAAS,KAC7CE,EAAAA,cAAAA,OAAAA,CAAMC,KAAK,kBAAkBC,QAASN,QAAAA,EAAU,KAChDI,EAAAA,cAAAA,OAAAA,CAAMC,KAAK,eAAeC,QAAQ,YAClCF,EAAAA,cAAAA,OAAAA,CAAMC,KAAK,cAAcC,QAASL,QAAAA,EAAe,KACjDG,EAAAA,cAAAA,QAAAA,KAAQF,GAGd,C,qGCAA,MARkBK,IAAkD,IAAjD,SAAEC,KAAaC,GAA4B,EAC5D,OACEL,EAAAA,cAACM,EAAAA,GAAS,CAACC,MAAO,CAAEC,MAAM,IACxBR,EAAAA,cAACS,EAAAA,GAAgBJ,EAAaD,GACpB,E,oBCZhB,MAAMM,EACJ,iEAAiEC,MAAM,IAqBlE,SAASC,EAAQC,GAAuB,IAAD,IAC5C,OAKa,QALb,EAGqB,QAHrB,EACEA,EACGC,WACAC,MAAM,kBAAU,aAFnBC,EAGIC,KAAKC,GAAMR,EAAYS,SAASD,MACjCE,KAAK,WAAG,QAAI,EAEnB,CCIA,MAtBejB,IAAgC,IAA/B,SAAEC,GAAuB,EACvC,MAAMiB,GAAUC,EAAAA,EAAAA,KAChB,OACEtB,EAAAA,cAACA,EAAAA,WAAgB,KACfA,EAAAA,cAAAA,OAAAA,KACEA,EAAAA,cAACuB,EA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nB,GACJiB,EAAKtB,MAAOoB,EAAaE,EAAKG,OACnC,GACF,CAEO,SAASC,EAAQC,GACtB,OAAO,SAAUhC,GACf,OAAO,gBAAoBiC,EAAU3B,EAAS,CAC5CD,KAAMC,EAAS,CAAC,EAAG0B,EAAK3B,OACvBL,GAAQyB,EAAaO,EAAKF,OAC/B,CACF,CACO,SAASG,EAASjC,GACvB,IAAIkC,EAAO,SAAUC,GACnB,IAMI/B,EANAC,EAAOL,EAAMK,KACb9B,EAAOyB,EAAMzB,KACb3B,EAAQoD,EAAMpD,MACdwF,EAAWhB,EAAOpB,EAAO,CAAC,OAAQ,OAAQ,UAE1CqC,EAAe9D,GAAQ4D,EAAK5D,MAAQ,MAIxC,OAFI4D,EAAK/B,YAAWA,EAAY+B,EAAK/B,WACjCJ,EAAMI,YAAWA,GAAaA,EAAYA,EAAY,IAAM,IAAMJ,EAAMI,WACrE,gBAAoB,MAAOE,EAAS,CACzCgC,OAAQ,eACRC,KAAM,eACNC,YAAa,KACZL,EAAK9B,KAAMA,EAAM+B,EAAU,CAC5BhC,UAAWA,EACX5B,MAAO8B,EAASA,EAAS,CACvBJ,MAAOF,EAAME,OAASiC,EAAKjC,OAC1BiC,EAAK3D,OAAQwB,EAAMxB,OACtBiE,OAAQJ,EACRK,MAAOL,EACPM,MAAO,+BACL/F,GAAS,gBAAoB,QAAS,KAAMA,GAAQoD,EAAM9C,SAChE,EAEA,YAAuBiD,IAAhB9B,EAA4B,gBAAoBA,EAAYuE,SAAU,MAAM,SAAUT,GAC3F,OAAOD,EAAKC,EACd,IAAKD,EAAKjC,EACZ,C","sources":["webpack://submelon.dev/./src/components/SEO.tsx","webpack://submelon.dev/./src/components/BlockLink.tsx","webpack://submelon.dev/./src/util/timestamp.ts","webpack://submelon.dev/./src/components/Layout.tsx","webpack://submelon.dev/./src/hooks/SiteMetadata.ts","webpack://submelon.dev/./src/hooks/SiteVersion.ts","webpack://submelon.dev/./src/pages/404.tsx","webpack://submelon.dev/./src/styles/BlockAnchor.ts","webpack://submelon.dev/./src/styles/BlockBody.ts","webpack://submelon.dev/./src/styles/BlockHeader.ts","webpack://submelon.dev/./src/styles/Content.ts","webpack://submelon.dev/./src/styles/Footer.ts","webpack://submelon.dev/./node_modules/react-icons/lib/esm/iconsManifest.js","webpack://submelon.dev/./node_modules/react-icons/lib/esm/iconContext.js","webpack://submelon.dev/./node_modules/react-icons/lib/esm/iconBase.js"],"sourcesContent":["import React from \"react\";\nimport { useSiteMetadata } from \"../hooks\";\n\nexport function Head(): React.ReactElement {\n  const { author, description, title } = useSiteMetadata();\n\n  return (\n    <>\n      <meta name=\"twitter:description\" content={description ?? \"\"} />\n      <meta name=\"twitter:title\" content={title ?? \"\"} />\n      <meta name=\"twitter:creator\" content={author ?? \"\"} />\n      <meta name=\"twitter:card\" content=\"summary\" />\n      <meta name=\"description\" content={description ?? \"\"} />\n      <title>{title}</title>\n    </>\n  );\n}\n","import React from \"react\";\nimport { ThemedStyledFunction } from \"styled-components\";\nimport { BlockAnchor, BlockBody, Theme } from \"../styles\";\n\ntype BlockLinkProps = {\n  children: React.ReactNode;\n} & ThemedStyledFunction<\"a\", Theme>;\n\nconst BlockLink = ({ children, ...attributes }: BlockLinkProps) => {\n  return (\n    <BlockBody theme={{ link: true }}>\n      <BlockAnchor {...attributes}>{children}</BlockAnchor>\n    </BlockBody>\n  );\n};\n\nexport default BlockLink;\n","const SHORT_CHARS =\n  \"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\".split(\"\");\n\n/**\n * Transforms a number into a custom 62 char expression of that number,\n * effectively making a \"short\" version of that number (0-9a-zA-Z). This does\n * NOT convert to a base-62 number.\n *\n * There are vast gaps in the effective translation of numbers, which is why\n * this function is mostly for concisely translating dates prior to the year\n * 2063. Since all other values associated with dates (month, day, hours,\n * minutes, seconds) effectively fall within the range of a single character,\n * this is an accepted shortcoming.\n *\n * Examples:\n *\n * 0 = 0\n *\n * 48 = M\n *\n * 2022 = km (in base-62 this would be wC)\n */\nexport function toShort(valu: number): string {\n  return (\n    valu\n      .toString()\n      .match(/.{1,2}/g)\n      ?.map((s) => SHORT_CHARS[parseInt(s)])\n      .join(\"\") ?? \"\"\n  );\n}\n\n/**\n * Translates a Unix EPOCH timestamp to a 62-char expression of the date. See\n * the `toShort()` method for more details on the meaning of the final output.\n */\nexport function getTimestamp(seconds: number): string {\n  const date = new Date(seconds * 1000);\n  const dateArr = [\n    date.getUTCFullYear(),\n    date.getUTCMonth(),\n    date.getUTCDate(),\n    date.getUTCHours(),\n    date.getUTCMinutes(),\n  ];\n\n  return dateArr.map(toShort).join(\".\") + \"-0\";\n}\n","import React from \"react\";\nimport { IconContext } from \"react-icons/lib\";\nimport { Content, Footer } from \"../styles\";\nimport { useSiteVersion } from \"../hooks\";\nimport { getTimestamp } from \"../util/timestamp\";\n\nimport \"../styles/main.css\";\n\ninterface LayoutProps {\n  children: React.ReactNode;\n}\n\nconst Layout = ({ children }: LayoutProps) => {\n  const version = useSiteVersion();\n  return (\n    <React.StrictMode>\n      <main>\n        <IconContext.Provider\n          value={{ size: \"20\", style: { marginBottom: \"-4px\" } }}\n        >\n          <Content>{children}</Content>\n\n          <Footer>\n            <span>\n              &copy;2022 kjhoerr@https://submelon.dev/:\n              {getTimestamp(Number(version))}\n            </span>\n          </Footer>\n        </IconContext.Provider>\n      </main>\n    </React.StrictMode>\n  );\n};\n\nexport default Layout;\n","import { useStaticQuery, graphql } from \"gatsby\";\n\ntype SiteMetadata = NonNullable<\n  NonNullable<Queries.getSiteMetadataQuery[\"site\"]>[\"siteMetadata\"]\n>;\n\nexport const useSiteMetadata = (): SiteMetadata => {\n  const { site } = useStaticQuery<Queries.getSiteMetadataQuery>(graphql`\n    query getSiteMetadata {\n      site {\n        siteMetadata {\n          author\n          description\n          title\n        }\n      }\n    }\n  `);\n\n  return site?.siteMetadata ?? ({} as SiteMetadata);\n};\n","import { useStaticQuery, graphql } from \"gatsby\";\n\ntype SiteVersion = NonNullable<\n  NonNullable<Queries.getSiteVersionQuery[\"site\"]>[\"siteMetadata\"]\n>[\"version\"];\n\nexport const useSiteVersion = (): SiteVersion => {\n  const { site } = useStaticQuery<Queries.getSiteVersionQuery>(graphql`\n    query getSiteVersion {\n      site {\n        siteMetadata {\n          version\n        }\n      }\n    }\n  `);\n\n  return site?.siteMetadata?.version ?? \"0\";\n};\n","import React from \"react\";\nimport { BlockLink, Layout } from \"../components\";\nimport { BlockBody, BlockHeader } from \"../styles\";\n\nconst NotFoundPage = (): React.ReactElement => {\n  return (\n    <Layout>\n      <BlockHeader>Not found</BlockHeader>\n      <BlockBody>\n        Sorry{\" \"}\n        <span role=\"img\" aria-label=\"Pensive emoji\">\n          😔\n        </span>{\" \"}\n        we couldn&apos;t find what you were looking for.\n      </BlockBody>\n      <BlockLink href=\"/\" aria-label=\"Return to the front page\">\n        Home\n      </BlockLink>\n    </Layout>\n  );\n};\n\nexport default NotFoundPage;\nexport { Head } from \"../components/SEO\";\n","import styled from \"styled-components\";\n\nexport default styled.a`\n  padding: 8px;\n  width: 328px;\n  display: block;\n  text-align: center;\n  -webkit-text-decoration: none;\n  text-decoration: none;\n  color: #666;\n  &:visited,\n  &:active {\n    padding: 8px;\n    width: 328px;\n    display: block;\n    text-align: center;\n    -webkit-text-decoration: none;\n    text-decoration: none;\n    color: #666;\n  }\n`;\n","import styled from \"styled-components\";\nimport BlockAnchor from \"./BlockAnchor\";\n\nexport default styled.div`\n  & + & {\n    margin-top: 3px;\n  }\n\n  background-color: #fff;\n  border: 1px #000 solid;\n  border-left: 3px #000 solid;\n  border-right: 3px #000 solid;\n\n  padding: ${(props) => (props.theme.link ? \"0\" : \"4px 8px\")};\n\n  & > ${BlockAnchor} {\n    &:hover {\n      background-color: #ddd;\n      color: #222;\n    }\n  }\n  &:last-child,\n  &:last-child > ${BlockAnchor} {\n    border-bottom-left-radius: 18px;\n    border-bottom-right-radius: 18px;\n  }\n`;\n","import styled from \"styled-components\";\n\nexport default styled.div`\n  background-color: #000;\n  width: 100%;\n  text-align: center;\n  color: #fff;\n  font-size: 36px;\n  font-weight: bold;\n  margin-top: 3px;\n  padding-top: 4px;\n`;\n","import styled from \"styled-components\";\n\nexport default styled.div`\n  width: 350px;\n  margin: 0px auto;\n  margin-bottom: 120px;\n  padding-top: 136px;\n`;\n","import styled from \"styled-components\";\n\nexport default styled.div`\n  width: 100%;\n  position: fixed;\n  left: 0px;\n  bottom: 0px;\n  text-align: center;\n  font-size: 12px;\n  span {\n    background-color: #e1e1e1;\n  }\n`;\n","export var IconsManifest = [\n  {\n    \"id\": \"ci\",\n    \"name\": \"Circum Icons\",\n    \"projectUrl\": \"https://circumicons.com/\",\n    \"license\": \"MPL-2.0 license\",\n    \"licenseUrl\": \"https://github.com/Klarr-Agency/Circum-Icons/blob/main/LICENSE\"\n  },\n  {\n    \"id\": \"fa\",\n    \"name\": \"Font Awesome\",\n    \"projectUrl\": \"https://fontawesome.com/\",\n    \"license\": \"CC BY 4.0 License\",\n    \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n  },\n  {\n    \"id\": \"io\",\n    \"name\": \"Ionicons 4\",\n    \"projectUrl\": \"https://ionicons.com/\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://github.com/ionic-team/ionicons/blob/master/LICENSE\"\n  },\n  {\n    \"id\": \"io5\",\n    \"name\": \"Ionicons 5\",\n    \"projectUrl\": \"https://ionicons.com/\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://github.com/ionic-team/ionicons/blob/master/LICENSE\"\n  },\n  {\n    \"id\": \"md\",\n    \"name\": \"Material Design icons\",\n    \"projectUrl\": \"http://google.github.io/material-design-icons/\",\n    \"license\": \"Apache License Version 2.0\",\n    \"licenseUrl\": \"https://github.com/google/material-design-icons/blob/master/LICENSE\"\n  },\n  {\n    \"id\": \"ti\",\n    \"name\": \"Typicons\",\n    \"projectUrl\": \"http://s-ings.com/typicons/\",\n    \"license\": \"CC BY-SA 3.0\",\n    \"licenseUrl\": \"https://creativecommons.org/licenses/by-sa/3.0/\"\n  },\n  {\n    \"id\": \"go\",\n    \"name\": \"Github Octicons icons\",\n    \"projectUrl\": \"https://octicons.github.com/\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://github.com/primer/octicons/blob/master/LICENSE\"\n  },\n  {\n    \"id\": \"fi\",\n    \"name\": \"Feather\",\n    \"projectUrl\": \"https://feathericons.com/\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://github.com/feathericons/feather/blob/master/LICENSE\"\n  },\n  {\n    \"id\": \"gi\",\n    \"name\": \"Game Icons\",\n    \"projectUrl\": \"https://game-icons.net/\",\n    \"license\": \"CC BY 3.0\",\n    \"licenseUrl\": \"https://creativecommons.org/licenses/by/3.0/\"\n  },\n  {\n    \"id\": \"wi\",\n    \"name\": \"Weather Icons\",\n    \"projectUrl\": \"https://erikflowers.github.io/weather-icons/\",\n    \"license\": \"SIL OFL 1.1\",\n    \"licenseUrl\": \"http://scripts.sil.org/OFL\"\n  },\n  {\n    \"id\": \"di\",\n    \"name\": \"Devicons\",\n    \"projectUrl\": \"https://vorillaz.github.io/devicons/\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"ai\",\n    \"name\": \"Ant Design Icons\",\n    \"projectUrl\": \"https://github.com/ant-design/ant-design-icons\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"bs\",\n    \"name\": \"Bootstrap Icons\",\n    \"projectUrl\": \"https://github.com/twbs/icons\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"ri\",\n    \"name\": \"Remix Icon\",\n    \"projectUrl\": \"https://github.com/Remix-Design/RemixIcon\",\n    \"license\": \"Apache License Version 2.0\",\n    \"licenseUrl\": \"http://www.apache.org/licenses/\"\n  },\n  {\n    \"id\": \"fc\",\n    \"name\": \"Flat Color Icons\",\n    \"projectUrl\": \"https://github.com/icons8/flat-color-icons\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"gr\",\n    \"name\": \"Grommet-Icons\",\n    \"projectUrl\": \"https://github.com/grommet/grommet-icons\",\n    \"license\": \"Apache License Version 2.0\",\n    \"licenseUrl\": \"http://www.apache.org/licenses/\"\n  },\n  {\n    \"id\": \"hi\",\n    \"name\": \"Heroicons\",\n    \"projectUrl\": \"https://github.com/tailwindlabs/heroicons\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"hi2\",\n    \"name\": \"Heroicons 2\",\n    \"projectUrl\": \"https://github.com/tailwindlabs/heroicons\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"si\",\n    \"name\": \"Simple Icons\",\n    \"projectUrl\": \"https://simpleicons.org/\",\n    \"license\": \"CC0 1.0 Universal\",\n    \"licenseUrl\": \"https://creativecommons.org/publicdomain/zero/1.0/\"\n  },\n  {\n    \"id\": \"sl\",\n    \"name\": \"Simple Line Icons\",\n    \"projectUrl\": \"https://thesabbir.github.io/simple-line-icons/\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"im\",\n    \"name\": \"IcoMoon Free\",\n    \"projectUrl\": \"https://github.com/Keyamoon/IcoMoon-Free\",\n    \"license\": \"CC BY 4.0 License\"\n  },\n  {\n    \"id\": \"bi\",\n    \"name\": \"BoxIcons\",\n    \"projectUrl\": \"https://github.com/atisawd/boxicons\",\n    \"license\": \"CC BY 4.0 License\"\n  },\n  {\n    \"id\": \"cg\",\n    \"name\": \"css.gg\",\n    \"projectUrl\": \"https://github.com/astrit/css.gg\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"vsc\",\n    \"name\": \"VS Code Icons\",\n    \"projectUrl\": \"https://github.com/microsoft/vscode-codicons\",\n    \"license\": \"CC BY 4.0\",\n    \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n  },\n  {\n    \"id\": \"tb\",\n    \"name\": \"Tabler Icons\",\n    \"projectUrl\": \"https://github.com/tabler/tabler-icons\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"tfi\",\n    \"name\": \"Themify Icons\",\n    \"projectUrl\": \"https://github.com/lykmapipo/themify-icons\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://github.com/thecreation/standard-icons/blob/master/modules/themify-icons/LICENSE\"\n  }\n]","import React from 'react';\nexport var DefaultContext = {\n  color: undefined,\n  size: undefined,\n  className: undefined,\n  style: undefined,\n  attr: undefined\n};\nexport var IconContext = React.createContext && React.createContext(DefaultContext);","var __assign = this && this.__assign || function () {\n  __assign = Object.assign || function (t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n      s = arguments[i];\n\n      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n    }\n\n    return t;\n  };\n\n  return __assign.apply(this, arguments);\n};\n\nvar __rest = this && this.__rest || function (s, e) {\n  var t = {};\n\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\nimport React from 'react';\nimport { IconContext, DefaultContext } from './iconContext';\n\nfunction Tree2Element(tree) {\n  return tree && tree.map(function (node, i) {\n    return React.createElement(node.tag, __assign({\n      key: i\n    }, node.attr), Tree2Element(node.child));\n  });\n}\n\nexport function GenIcon(data) {\n  return function (props) {\n    return React.createElement(IconBase, __assign({\n      attr: __assign({}, data.attr)\n    }, props), Tree2Element(data.child));\n  };\n}\nexport function IconBase(props) {\n  var elem = function (conf) {\n    var attr = props.attr,\n        size = props.size,\n        title = props.title,\n        svgProps = __rest(props, [\"attr\", \"size\", \"title\"]);\n\n    var computedSize = size || conf.size || \"1em\";\n    var className;\n    if (conf.className) className = conf.className;\n    if (props.className) className = (className ? className + ' ' : '') + props.className;\n    return React.createElement(\"svg\", __assign({\n      stroke: \"currentColor\",\n      fill: \"currentColor\",\n      strokeWidth: \"0\"\n    }, conf.attr, attr, svgProps, {\n      className: className,\n      style: __assign(__assign({\n        color: props.color || conf.color\n      }, conf.style), props.style),\n      height: computedSize,\n      width: computedSize,\n      xmlns: \"http://www.w3.org/2000/svg\"\n    }), title && React.createElement(\"title\", null, title), props.children);\n  };\n\n  return IconContext !== undefined ? React.createElement(IconContext.Consumer, null, function (conf) {\n    return elem(conf);\n  }) : elem(DefaultContext);\n}"],"names":["Head","author","description","title","useSiteMetadata","React","name","content","_ref","children","attributes","BlockBody","theme","link","BlockAnchor","SHORT_CHARS","split","toShort","valu","toString","match","_valu$toString$match","map","s","parseInt","join","version","useSiteVersion","IconContext","value","size","style","marginBottom","Content","Footer","seconds","date","Date","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getTimestamp","Number","site","useStaticQuery","siteMetadata","_site$siteMetadata","Layout","BlockHeader","role","BlockLink","href","styled","props","DefaultContext","color","undefined","className","attr","__assign","Object","assign","t","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","Tree2Element","tree","node","tag","key","child","GenIcon","data","IconBase","elem","conf","svgProps","computedSize","stroke","fill","strokeWidth","height","width","xmlns","Consumer"],"sourceRoot":""}