text: (window.webpackJsonp=window.webpackJsonp||[]).push([[3],{197:function(e,t,a){"use strict";a.r(t);var n=a(0),r=a.n(n),i=a(198),l=a(206),o=a(219),c=a.n(o);t.default=function(){return r.a.createElement(l.f,null,r.a.createElement(l.e,null,r.a.createElement(l.c,null),r.a.createElement(l.a,null)),r.a.createElement(l.g,null,r.a.createElement("img",{src:c.a,alt:"page doesn't exist"}),r.a.createElement("p",null,"Nothing to see here, the page doesn't exist."),r.a.createElement("p",null,"Go to the ",r.a.createElement(i.a,{to:"/"},"Home page")," and you'll find something to read.")))}},198:function(e,t,a){"use strict";var n=a(0),r=a.n(n),i=a(66),l=a.n(i);a.d(t,"a",function(){return l.a});a(199),a(9).default.enqueue,r.a.createContext({})},199:function(e,t,a){var n;e.exports=(n=a(203))&&n.default||n},200:function(e){e.exports={data:{site:{siteMetadata:{description:"The Code to Hell Is Paved With Good Intentions",author:"Mihaela Miches",authorContact:"https://twitter.com/mihaelamiches"}}}}},201:function(e,t,a){e.exports=a.p+"static/site_image-a1ac38651d61059c941380e93ae7350d.png"},202:function(e){e.exports={data:{site:{siteMetadata:{title:"Refactored"}}}}},203:function(e,t,a){"use strict";a.r(t);a(18);var n=a(0),r=a.n(n),i=a(92);t.default=function(e){var t=e.location,a=e.pageResources;return a?r.a.createElement(i.a,Object.assign({location:t,pageResources:a},a.json)):null}},204:function(e){e.exports={data:{site:{siteMetadata:{contactLinks:[{label:"twitter",link:"https://twitter.com/mihaelamiches"},{label:"github",link:"https://github.com/mihaelamiches"},{label:"linkedin",link:"https://www.linkedin.com/in/mihaela-miches-418bb983/"}]}}}}},205:function(e){e.exports={data:{site:{siteMetadata:{title:"Refactored",description:"The Code to Hell Is Paved With Good Intentions",author:"Mihaela Miches"}}}}},206:function(e,t,a){"use strict";var n=a(200),r=a(0),i=a.n(r),l=a(201),o=a.n(l),c=function(){var e=n.data.site.siteMetadata;return i.a.createElement("aside",{className:"bio"},i.a.createElement("img",{className:"profile-picture",src:o.a,alt:e.author}),i.a.createElement("p",{className:"bio-content"},e.description))},s=(a(207),a(202)),u=a(198),m=function(e){var t=e.small,a=e.hideToggle,n=void 0!==a&&a,r=s.data.site,l=t?"h3":"h1";return i.a.createElement(l,{className:"title"},i.a.createElement(u.a,{className:"title-link",to:"/"},r.siteMetadata.title),!n&&i.a.createElement(k,null))},d=function(e){var t=e.children;return i.a.createElement("header",{className:"header"},t)},p=(a(208),a(204)),f=function(){var e=p.data.site.siteMetadata.contactLinks;return i.a.createElement("footer",{className:"footer"},e.map(function(t,a){return i.a.createElement(i.a.Fragment,{key:t.label},i.a.createElement("a",{href:t.link,target:"_blank",rel:"noopener noreferrer"},t.label),a<e.length-1&&i.a.createElement(i.a.Fragment,null," • "))}))},h=function(e){var t=e.children;return i.a.createElement("div",{className:"layout"},t)},g=function(e){var t=e.children;return i.a.createElement("main",{className:"content"},t)},E=function(e){var t=e.previous,a=e.next;return i.a.createElement("aside",{className:"navigation"},a&&i.a.createElement(u.a,{className:"navigation-next",to:a.path},"→ ",a.title),t&&i.a.createElement(u.a,{className:"navigation-previous",to:t.path},"← ",t.title))},v=function(e){var t=e.spoiler,a=e.date,n=e.timeToRead,r=e.tags;return i.a.createElement("div",{className:"post-meta"},i.a.createElement("small",null,a," • ",r," • ",n," min read"),i.a.createElement("div",{className:"post-meta-spoiler"},i.a.createElement("p",null,t)))},b=function(e){var t=e.path,a=e.title,n=e.spoiler,r=e.date,l=e.timeToRead,o=e.tags;return i.a.createElement("article",{className:"post-summary"},i.a.createElement("h2",{className:"post-summary-title"},i.a.createElement(u.a,{rel:"bookmark",to:t},a)),i.a.createElement(v,{spoiler:n,date:r,timeToRead:l,tags:o}))},N=function(e){var t=e.children;return i.a.createElement("article",{className:"blog-post",dangerouslySetInnerHTML:{__html:t}})},k=function(){var e=Object(r.useState)(void 0),t=e[0],a=e[1];Object(r.useEffect)(function(){var e=localStorage.getItem("theme")||"light";a(e),n(e)},[]);var n=function(e){document.body.className=e},l="light"===t?"✨":"🌞",o="light"===t?"set dark mode on":"set light mode on";return i.a.createElement("button",{"aria-label":o,className:"toggle",onClick:function(){var e="light"===t?"dark":"light";n(e),localStorage.setItem("theme",e),a(e)}},l)},w=a(205),M=a(209),x=a.n(M);function y(e){var t=e.description,a=e.lang,n=e.meta,r=e.title,l=w.data.site,o=t||l.siteMetadata.description;return i.a.createElement(x.a,{htmlAttributes:{lang:a},title:r,titleTemplate:"%s | "+l.siteMetadata.title,meta:[{name:"description",content:o},{property:"og:title",content:r},{property:"og:description",content:o},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary"},{name:"twitter:creator",content:l.siteMetadata.author},{name:"twitter:title",content:r},{name:"twitter:description",content:o}].concat(n)})}y.defaultProps={lang:"en",meta:[],description:""};var T=y;a.d(t,"a",function(){return c}),a.d(t,"c",function(){return m}),a.d(t,"e",function(){return d}),a.d(t,"d",function(){return f}),a.d(t,"f",function(){return h}),a.d(t,"g",function(){return g}),a.d(t,"h",function(){return E}),a.d(t,"i",function(){return v}),a.d(t,"j",function(){return b}),a.d(t,"b",function(){return N}),a.d(t,"l",function(){return k}),a.d(t,"k",function(){return T})},219:function(e,t,a){e.exports=a.p+"static/404-2b3d8c8ed732b5859dcbd6e3915d92a4.gif"}}]);
  //# sourceMappingURL=component---src-pages-404-js-7bb0de7a6518a659057f.js.map