-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-blog-jsx-cf7f4f641a87b3df2442.js
2 lines (2 loc) · 19.9 KB
/
component---src-pages-blog-jsx-cf7f4f641a87b3df2442.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[4,3],{"9eSz":function(e,A,t){"use strict";t("rGqo"),t("yt8O"),t("Btvt"),t("XfO3"),t("EK0E"),t("INYr"),t("0mN4");var a=t("TqRt");A.__esModule=!0,A.default=void 0;var r,i=a(t("PJYZ")),n=a(t("VbXa")),o=a(t("8OQS")),s=a(t("pVnL")),d=a(t("q1tI")),l=a(t("17x9")),c=function(e){var A=(0,s.default)({},e),t=A.resolutions,a=A.sizes,r=A.critical;return t&&(A.fixed=t,delete A.resolutions),a&&(A.fluid=a,delete A.sizes),r&&(A.loading="eager"),A.fluid&&(A.fluid=w([].concat(A.fluid))),A.fixed&&(A.fixed=w([].concat(A.fixed))),A},f=function(e){var A=e.media;return!!A&&(E&&!!window.matchMedia(A).matches)},u=function(e){var A=e.fluid,t=e.fixed;return g(A||t).src},g=function(e){if(E&&function(e){return!!e&&Array.isArray(e)&&e.some((function(e){return void 0!==e.media}))}(e)){var A=e.findIndex(f);if(-1!==A)return e[A]}return e[0]},h=Object.create({}),p=function(e){var A=c(e),t=u(A);return h[t]||!1},b="undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype,E="undefined"!=typeof window,m=E&&window.IntersectionObserver,B=new WeakMap;function j(e){return e.map((function(e){var A=e.src,t=e.srcSet,a=e.srcSetWebp,r=e.media,i=e.sizes;return d.default.createElement(d.default.Fragment,{key:A},a&&d.default.createElement("source",{type:"image/webp",media:r,srcSet:a,sizes:i}),d.default.createElement("source",{media:r,srcSet:t,sizes:i}))}))}function w(e){var A=[],t=[];return e.forEach((function(e){return(e.media?A:t).push(e)})),[].concat(A,t)}function Q(e){return e.map((function(e){var A=e.src,t=e.media,a=e.tracedSVG;return d.default.createElement("source",{key:A,media:t,srcSet:a})}))}function v(e){return e.map((function(e){var A=e.src,t=e.media,a=e.base64;return d.default.createElement("source",{key:A,media:t,srcSet:a})}))}function S(e,A){var t=e.srcSet,a=e.srcSetWebp,r=e.media,i=e.sizes;return"<source "+(A?"type='image/webp' ":"")+(r?'media="'+r+'" ':"")+'srcset="'+(A?a:t)+'" '+(i?'sizes="'+i+'" ':"")+"/>"}var y=function(e,A){var t=(void 0===r&&"undefined"!=typeof window&&window.IntersectionObserver&&(r=new window.IntersectionObserver((function(e){e.forEach((function(e){if(B.has(e.target)){var A=B.get(e.target);(e.isIntersecting||e.intersectionRatio>0)&&(r.unobserve(e.target),B.delete(e.target),A())}}))}),{rootMargin:"200px"})),r);return t&&(t.observe(e),B.set(e,A)),function(){t.unobserve(e),B.delete(e)}},Y=function(e){var A=e.src?'src="'+e.src+'" ':'src="" ',t=e.sizes?'sizes="'+e.sizes+'" ':"",a=e.srcSet?'srcset="'+e.srcSet+'" ':"",r=e.title?'title="'+e.title+'" ':"",i=e.alt?'alt="'+e.alt+'" ':'alt="" ',n=e.width?'width="'+e.width+'" ':"",o=e.height?'height="'+e.height+'" ':"",s=e.crossOrigin?'crossorigin="'+e.crossOrigin+'" ':"",d=e.loading?'loading="'+e.loading+'" ':"",l=e.draggable?'draggable="'+e.draggable+'" ':"";return"<picture>"+e.imageVariants.map((function(e){return(e.srcSetWebp?S(e,!0):"")+S(e)})).join("")+"<img "+d+n+o+t+a+A+i+r+s+l+'style="position:absolute;top:0;left:0;opacity:1;width:100%;height:100%;object-fit:cover;object-position:center"/></picture>'},R=function(e){var A=e.src,t=e.imageVariants,a=e.generateSources,r=e.spreadProps,i=e.ariaHidden,n=d.default.createElement(N,(0,s.default)({src:A},r,{ariaHidden:i}));return t.length>1?d.default.createElement("picture",null,a(t),n):n},N=d.default.forwardRef((function(e,A){var t=e.sizes,a=e.srcSet,r=e.src,i=e.style,n=e.onLoad,l=e.onError,c=e.loading,f=e.draggable,u=e.ariaHidden,g=(0,o.default)(e,["sizes","srcSet","src","style","onLoad","onError","loading","draggable","ariaHidden"]);return d.default.createElement("img",(0,s.default)({"aria-hidden":u,sizes:t,srcSet:a,src:r},g,{onLoad:n,onError:l,ref:A,loading:c,draggable:f,style:(0,s.default)({position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"},i)}))}));N.propTypes={style:l.default.object,onError:l.default.func,onLoad:l.default.func};var x=function(e){function A(A){var t;(t=e.call(this,A)||this).seenBefore=E&&p(A),t.isCritical="eager"===A.loading||A.critical,t.addNoScript=!(t.isCritical&&!A.fadeIn),t.useIOSupport=!b&&m&&!t.isCritical&&!t.seenBefore;var a=t.isCritical||E&&(b||!t.useIOSupport);return t.state={isVisible:a,imgLoaded:!1,imgCached:!1,fadeIn:!t.seenBefore&&A.fadeIn},t.imageRef=d.default.createRef(),t.handleImageLoaded=t.handleImageLoaded.bind((0,i.default)(t)),t.handleRef=t.handleRef.bind((0,i.default)(t)),t}(0,n.default)(A,e);var t=A.prototype;return t.componentDidMount=function(){if(this.state.isVisible&&"function"==typeof this.props.onStartLoad&&this.props.onStartLoad({wasCached:p(this.props)}),this.isCritical){var e=this.imageRef.current;e&&e.complete&&this.handleImageLoaded()}},t.componentWillUnmount=function(){this.cleanUpListeners&&this.cleanUpListeners()},t.handleRef=function(e){var A=this;this.useIOSupport&&e&&(this.cleanUpListeners=y(e,(function(){var e=p(A.props);A.state.isVisible||"function"!=typeof A.props.onStartLoad||A.props.onStartLoad({wasCached:e}),A.setState({isVisible:!0},(function(){return A.setState({imgLoaded:e,imgCached:!!A.imageRef.current.currentSrc})}))})))},t.handleImageLoaded=function(){var e,A,t;e=this.props,A=c(e),t=u(A),h[t]=!0,this.setState({imgLoaded:!0}),this.props.onLoad&&this.props.onLoad()},t.render=function(){var e=c(this.props),A=e.title,t=e.alt,a=e.className,r=e.style,i=void 0===r?{}:r,n=e.imgStyle,o=void 0===n?{}:n,l=e.placeholderStyle,f=void 0===l?{}:l,u=e.placeholderClassName,h=e.fluid,p=e.fixed,b=e.backgroundColor,E=e.durationFadeIn,m=e.Tag,B=e.itemProp,w=e.loading,S=e.draggable,y=!1===this.state.fadeIn||this.state.imgLoaded,x=!0===this.state.fadeIn&&!this.state.imgCached,C=(0,s.default)({opacity:y?1:0,transition:x?"opacity "+E+"ms":"none"},o),I="boolean"==typeof b?"lightgray":b,D={transitionDelay:E+"ms"},O=(0,s.default)({opacity:this.state.imgLoaded?0:1},x&&D,{},o,{},f),G={title:A,alt:this.state.isVisible?"":t,style:O,className:u,itemProp:B};if(h){var M=h,L=g(h);return d.default.createElement(m,{className:(a||"")+" gatsby-image-wrapper",style:(0,s.default)({position:"relative",overflow:"hidden"},i),ref:this.handleRef,key:"fluid-"+JSON.stringify(L.srcSet)},d.default.createElement(m,{"aria-hidden":!0,style:{width:"100%",paddingBottom:100/L.aspectRatio+"%"}}),I&&d.default.createElement(m,{"aria-hidden":!0,title:A,style:(0,s.default)({backgroundColor:I,position:"absolute",top:0,bottom:0,opacity:this.state.imgLoaded?0:1,right:0,left:0},x&&D)}),L.base64&&d.default.createElement(R,{ariaHidden:!0,src:L.base64,spreadProps:G,imageVariants:M,generateSources:v}),L.tracedSVG&&d.default.createElement(R,{ariaHidden:!0,src:L.tracedSVG,spreadProps:G,imageVariants:M,generateSources:Q}),this.state.isVisible&&d.default.createElement("picture",null,j(M),d.default.createElement(N,{alt:t,title:A,sizes:L.sizes,src:L.src,crossOrigin:this.props.crossOrigin,srcSet:L.srcSet,style:C,ref:this.imageRef,onLoad:this.handleImageLoaded,onError:this.props.onError,itemProp:B,loading:w,draggable:S})),this.addNoScript&&d.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:Y((0,s.default)({alt:t,title:A,loading:w},L,{imageVariants:M}))}}))}if(p){var P=p,k=g(p),V=(0,s.default)({position:"relative",overflow:"hidden",display:"inline-block",width:k.width,height:k.height},i);return"inherit"===i.display&&delete V.display,d.default.createElement(m,{className:(a||"")+" gatsby-image-wrapper",style:V,ref:this.handleRef,key:"fixed-"+JSON.stringify(k.srcSet)},I&&d.default.createElement(m,{"aria-hidden":!0,title:A,style:(0,s.default)({backgroundColor:I,width:k.width,opacity:this.state.imgLoaded?0:1,height:k.height},x&&D)}),k.base64&&d.default.createElement(R,{ariaHidden:!0,src:k.base64,spreadProps:G,imageVariants:P,generateSources:v}),k.tracedSVG&&d.default.createElement(R,{ariaHidden:!0,src:k.tracedSVG,spreadProps:G,imageVariants:P,generateSources:Q}),this.state.isVisible&&d.default.createElement("picture",null,j(P),d.default.createElement(N,{alt:t,title:A,width:k.width,height:k.height,sizes:k.sizes,src:k.src,crossOrigin:this.props.crossOrigin,srcSet:k.srcSet,style:C,ref:this.imageRef,onLoad:this.handleImageLoaded,onError:this.props.onError,itemProp:B,loading:w,draggable:S})),this.addNoScript&&d.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:Y((0,s.default)({alt:t,title:A,loading:w},k,{imageVariants:P}))}}))}return null},A}(d.default.Component);x.defaultProps={fadeIn:!0,durationFadeIn:500,alt:"",Tag:"div",loading:"lazy"};var C=l.default.shape({width:l.default.number.isRequired,height:l.default.number.isRequired,src:l.default.string.isRequired,srcSet:l.default.string.isRequired,base64:l.default.string,tracedSVG:l.default.string,srcWebp:l.default.string,srcSetWebp:l.default.string,media:l.default.string}),I=l.default.shape({aspectRatio:l.default.number.isRequired,src:l.default.string.isRequired,srcSet:l.default.string.isRequired,sizes:l.default.string.isRequired,base64:l.default.string,tracedSVG:l.default.string,srcWebp:l.default.string,srcSetWebp:l.default.string,media:l.default.string});x.propTypes={resolutions:C,sizes:I,fixed:l.default.oneOfType([C,l.default.arrayOf(C)]),fluid:l.default.oneOfType([I,l.default.arrayOf(I)]),fadeIn:l.default.bool,durationFadeIn:l.default.number,title:l.default.string,alt:l.default.string,className:l.default.oneOfType([l.default.string,l.default.object]),critical:l.default.bool,crossOrigin:l.default.oneOfType([l.default.string,l.default.bool]),style:l.default.object,imgStyle:l.default.object,placeholderStyle:l.default.object,placeholderClassName:l.default.string,backgroundColor:l.default.oneOfType([l.default.string,l.default.bool]),onLoad:l.default.func,onError:l.default.func,onStartLoad:l.default.func,Tag:l.default.string,itemProp:l.default.string,loading:l.default.oneOf(["auto","lazy","eager"]),draggable:l.default.bool};var D=x;A.default=D},EeqU:function(e,A,t){"use strict";var a=t("q1tI"),r=t.n(a),i=t("9eSz"),n=t.n(i);A.a=function(e){var A=e.image,t=e.alt;return r.a.createElement(n.a,{sizes:A.node.childImageSharp.sizes,alt:t})}},"HRk+":function(e,A,t){var a={"./helloworld":"u2lm","./helloworld.mdx":"u2lm"};function r(e){return Promise.resolve().then((function(){if(!t.o(a,e)){var A=new Error("Cannot find module '"+e+"'");throw A.code="MODULE_NOT_FOUND",A}return t(a[e])}))}r.keys=function(){return Object.keys(a)},r.id="HRk+",e.exports=r},HzoV:function(e,A,t){"use strict";t("rGqo"),t("yt8O"),t("Btvt");A.a=function(e){t("sZcJ").keys().forEach((function(A){var a=A.substring(2,A.indexOf(".mdx"));t("HRk+")("./"+a).then((function(A){e(A)}))}))}},I94Q:function(e){e.exports=JSON.parse('{"data":{"images":{"edges":[{"node":{"id":"4978e5b2-d842-5dc3-b4e8-43a8cc652324","relativePath":"chart/reggae.jpg","name":"reggae","childImageSharp":{"id":"da526a14-19f2-507e-8f40-bb966910173c","sizes":{"base64":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAUABQDASIAAhEBAxEB/8QAGAABAAMBAAAAAAAAAAAAAAAAAAEDBAX/xAAWAQEBAQAAAAAAAAAAAAAAAAAAAgP/2gAMAwEAAhADEAAAAeVO2cKwLWs0wUA//8QAGhAAAQUBAAAAAAAAAAAAAAAAAgABAxAREv/aAAgBAQABBQLFlCUXPUKlcXO//8QAGhEAAQUBAAAAAAAAAAAAAAAAAQADEBETIf/aAAgBAwEBPwHFxURwz//EABkRAAEFAAAAAAAAAAAAAAAAAAEAEBMhUf/aAAgBAgEBPwGQ4hYf/8QAHRAAAQMFAQAAAAAAAAAAAAAAAQACERAgIjEykf/aAAgBAQAGPwJboJaSVw71YiBZ/8QAGxABAAICAwAAAAAAAAAAAAAAAREhAEEQIDH/2gAIAQEAAT8hA7vIRhI2YKrtoxxWaVHj0//aAAwDAQACAAMAAAAQkAcA/8QAGxEBAAAHAAAAAAAAAAAAAAAAAQAQESFBkfD/2gAIAQMBAT8Qq3DtQtyE/wD/xAAYEQEAAwEAAAAAAAAAAAAAAAABABAhof/aAAgBAgEBPxBFdcjQW//EAB4QAQEAAgEFAQAAAAAAAAAAAAERACExEEFRcYHw/9oACAEBAAE/EAIE8EcrQEOdOsNEYSnZwJGDSlPuHCz4/blApNNb7vVd5//Z","aspectRatio":1,"src":"/static/9940f547b6f25da8bdb9588ce8218593/0f3a1/reggae.jpg","srcSet":"/static/9940f547b6f25da8bdb9588ce8218593/aabdf/reggae.jpg 150w,\\n/static/9940f547b6f25da8bdb9588ce8218593/9dc27/reggae.jpg 300w,\\n/static/9940f547b6f25da8bdb9588ce8218593/0f3a1/reggae.jpg 500w","sizes":"(max-width: 500px) 100vw, 500px"}}}},{"node":{"id":"5654014e-47b0-5d6b-a1ae-a1f62d6c316b","relativePath":"chart/hiphop.jpg","name":"hiphop","childImageSharp":{"id":"b89e0eea-d102-587c-b516-303a903a0555","sizes":{"base64":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAUABQDASIAAhEBAxEB/8QAGAABAAMBAAAAAAAAAAAAAAAAAAMEBQL/xAAYAQADAQEAAAAAAAAAAAAAAAABAgMABP/aAAwDAQACEAMQAAABx457QtlpWTm0C1ENzf/EABkQAQEBAQEBAAAAAAAAAAAAAAIBEQADIf/aAAgBAQABBQLyJVUm8TtWGuzT0+zv/8QAGxEAAQQDAAAAAAAAAAAAAAAAAQACAxEQEjL/2gAIAQMBAT8BbFZ1KLQDVqDoY//EABYRAQEBAAAAAAAAAAAAAAAAABACEf/aAAgBAgEBPwHSj//EAB0QAAEEAgMAAAAAAAAAAAAAAAABAhARISKBkeH/2gAIAQEABj8C2X01uoa1CuzBwOj/xAAdEAEAAwABBQAAAAAAAAAAAAABABEhMRBBUdHw/9oACAEBAAE/IXGQdvaXKPDcSqiJOdYFWugjhJVRO7CsP2dP/9oADAMBAAIAAwAAABAkL/7/xAAaEQACAgMAAAAAAAAAAAAAAAABEQAhEDFR/9oACAEDAQE/ELsR3DKyE2cOP//EABkRAQACAwAAAAAAAAAAAAAAAAEAEBEhMf/aAAgBAgEBPxBw3BWcV//EAB0QAQACAwADAQAAAAAAAAAAAAEAESExYUFRcZH/2gAIAQEAAT8QXnrocPBoMIYNvah1hYG7LeR4oH2Vq07BpWRJkatH9lHoniGM2FWdaj1C7rHxHc//2Q==","aspectRatio":1,"src":"/static/3780346efa678f5462e4467b1494f407/4fe8c/hiphop.jpg","srcSet":"/static/3780346efa678f5462e4467b1494f407/aabdf/hiphop.jpg 150w,\\n/static/3780346efa678f5462e4467b1494f407/9dc27/hiphop.jpg 300w,\\n/static/3780346efa678f5462e4467b1494f407/4fe8c/hiphop.jpg 600w,\\n/static/3780346efa678f5462e4467b1494f407/9842e/hiphop.jpg 900w,\\n/static/3780346efa678f5462e4467b1494f407/47498/hiphop.jpg 1200w","sizes":"(max-width: 600px) 100vw, 600px"}}}},{"node":{"id":"e3361d87-bc26-586d-be50-6a713ac35656","relativePath":"blog/home.jpg","name":"home","childImageSharp":{"id":"6584ea37-ebef-584e-85a4-4cdcd46a02c1","sizes":{"base64":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYCAwT/xAAWAQEBAQAAAAAAAAAAAAAAAAADAAL/2gAMAwEAAhADEAAAAZ71S2yzC2Gn/8QAGRAAAwEBAQAAAAAAAAAAAAAAAQIDABAT/9oACAEBAAEFAvWZMmUg0UYZXbn/xAAWEQADAAAAAAAAAAAAAAAAAAAAARH/2gAIAQMBAT8BShT/xAAXEQEAAwAAAAAAAAAAAAAAAAAAAQIh/9oACAECAQE/AZs1/8QAGRAAAgMBAAAAAAAAAAAAAAAAABABETEy/9oACAEBAAY/ArMo6hav/8QAGhAAAwEBAQEAAAAAAAAAAAAAAAERIZExYf/aAAgBAQABPyGijT+SlD0MfsZsGG9lb9Z//9oADAMBAAIAAwAAABDkD//EABcRAAMBAAAAAAAAAAAAAAAAAAABEVH/2gAIAQMBAT8QU1Iw/8QAFhEBAQEAAAAAAAAAAAAAAAAAAQBx/9oACAECAQE/EES1f//EABwQAAIDAAMBAAAAAAAAAAAAAAERACExQWFx8P/aAAgBAQABPxDWMNBLz4wOZRwVvc1vYZFijqpC2OlhVb1P/9k=","aspectRatio":1.7777777777777777,"src":"/static/a0e2759b41f57685b0f46b76b2277444/4fe8c/home.jpg","srcSet":"/static/a0e2759b41f57685b0f46b76b2277444/aabdf/home.jpg 150w,\\n/static/a0e2759b41f57685b0f46b76b2277444/9dc27/home.jpg 300w,\\n/static/a0e2759b41f57685b0f46b76b2277444/4fe8c/home.jpg 600w,\\n/static/a0e2759b41f57685b0f46b76b2277444/9842e/home.jpg 900w,\\n/static/a0e2759b41f57685b0f46b76b2277444/47498/home.jpg 1200w,\\n/static/a0e2759b41f57685b0f46b76b2277444/27fce/home.jpg 3840w","sizes":"(max-width: 600px) 100vw, 600px"}}}},{"node":{"id":"9ec443ac-900e-5d53-9cce-066a620387d5","relativePath":"home.jpg","name":"home","childImageSharp":{"id":"3bd704be-f1a6-54e5-8111-3bbc3644e1a3","sizes":{"base64":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYCAwT/xAAWAQEBAQAAAAAAAAAAAAAAAAADAAL/2gAMAwEAAhADEAAAAZ71S2yzC2Gn/8QAGRAAAwEBAQAAAAAAAAAAAAAAAQIDABAT/9oACAEBAAEFAvWZMmUg0UYZXbn/xAAWEQADAAAAAAAAAAAAAAAAAAAAARH/2gAIAQMBAT8BShT/xAAXEQEAAwAAAAAAAAAAAAAAAAAAAQIh/9oACAECAQE/AZs1/8QAGRAAAgMBAAAAAAAAAAAAAAAAABABETEy/9oACAEBAAY/ArMo6hav/8QAGhAAAwEBAQEAAAAAAAAAAAAAAAERIZExYf/aAAgBAQABPyGijT+SlD0MfsZsGG9lb9Z//9oADAMBAAIAAwAAABDkD//EABcRAAMBAAAAAAAAAAAAAAAAAAABEVH/2gAIAQMBAT8QU1Iw/8QAFhEBAQEAAAAAAAAAAAAAAAAAAQBx/9oACAECAQE/EES1f//EABwQAAIDAAMBAAAAAAAAAAAAAAERACExQWFx8P/aAAgBAQABPxDWMNBLz4wOZRwVvc1vYZFijqpC2OlhVb1P/9k=","aspectRatio":1.7777777777777777,"src":"/static/a0e2759b41f57685b0f46b76b2277444/4fe8c/home.jpg","srcSet":"/static/a0e2759b41f57685b0f46b76b2277444/aabdf/home.jpg 150w,\\n/static/a0e2759b41f57685b0f46b76b2277444/9dc27/home.jpg 300w,\\n/static/a0e2759b41f57685b0f46b76b2277444/4fe8c/home.jpg 600w,\\n/static/a0e2759b41f57685b0f46b76b2277444/9842e/home.jpg 900w,\\n/static/a0e2759b41f57685b0f46b76b2277444/47498/home.jpg 1200w,\\n/static/a0e2759b41f57685b0f46b76b2277444/27fce/home.jpg 3840w","sizes":"(max-width: 600px) 100vw, 600px"}}}}]}}}')},INYr:function(e,A,t){"use strict";var a=t("XKFU"),r=t("CkkT")(6),i="findIndex",n=!0;i in[]&&Array(1)[i]((function(){n=!1})),a(a.P+a.F*n,"Array",{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),t("nGyu")(i)},oqwq:function(e,A,t){"use strict";t("Z2Ku"),t("L9s1"),t("dRSK"),t("rGqo"),t("yt8O"),t("Btvt"),t("RW0V");var a=t("I94Q"),r=t("q1tI"),i=t.n(r),n=t("YwZP"),o=t("EeqU");A.a=function(e){var A=e.blogs,t=e.elementsPerRow,r=void 0===t?3:t,s=a.data,d=A.reduce((function(e,A){var t=Object.keys(e).length||1;return e[t]?e[t].length===r?e[t+1]=[A]:e[t]=e[t].concat([A]):e[t]=[A],e}),{});return i.a.createElement("div",{className:"container vrc__blogListContainer"},Object.keys(d).map((function(e,A){return i.a.createElement("div",{className:"row vrc__blogListRow",key:A},d[e].map((function(e,A){var t=s.images.edges.find((function(A){return A.node.relativePath.includes(e._frontmatter.image)}));return t?i.a.createElement("div",{className:"col-md-"+12/r+" vrc__blogListCol",key:A},i.a.createElement("div",{className:"vrc__blogListCard"},i.a.createElement(n.Link,{to:e._frontmatter.path},i.a.createElement(o.a,{image:t,alt:e._frontmatter.title}),i.a.createElement("div",{className:"vrc__blogCardBody"},i.a.createElement("h2",null,e._frontmatter.title),i.a.createElement("span",null,e._frontmatter.intro))))):null})))})))}},sZcJ:function(e,A,t){var a={"./helloworld.mdx":"u2lm"};function r(e){var A=i(e);return t(A)}function i(e){if(!t.o(a,e)){var A=new Error("Cannot find module '"+e+"'");throw A.code="MODULE_NOT_FOUND",A}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=i,e.exports=r,r.id="sZcJ"},u2lm:function(e,A,t){"use strict";t.r(A),t.d(A,"_frontmatter",(function(){return i})),t.d(A,"default",(function(){return o}));t("rGqo"),t("yt8O"),t("Btvt"),t("RW0V"),t("91GP"),t("q1tI");var a=t("7ljp"),r=t("Cuep");var i={title:"Hello World",path:"/blog/helloworld",date:"2019-05-04",image:"blog/home.jpg"},n={_frontmatter:i};function o(e){var A=e.components,t=function(e,A){if(null==e)return{};var t,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)t=i[a],A.indexOf(t)>=0||(r[t]=e[t]);return r}(e,["components"]);return Object(a.b)("wrapper",Object.assign({},n,t,{components:A,mdxType:"MDXLayout"}),Object(a.b)(r.a,{mdxType:"ContainerLayout"},Object(a.b)("h1",{children:i.title}),Object(a.b)("p",null,"It's Corona Virus time here in Italy."),Object(a.b)("p",null,"All of us have a lot of time to think and relax."),Object(a.b)("p",null,"During this time, I would like to experiment how far can I go."),Object(a.b)("p",null,"So I spend a little working with Gatsby and MDX, experimenting their power."),Object(a.b)("p",null,"This site is the result of there tests."),Object(a.b)("p",null,"How you will enjoy."),Object(a.b)("p",null,"Stefano")))}o.isMDXComponent=!0},"xGn/":function(e,A,t){"use strict";t.r(A);t("Vd3H");var a=t("q1tI"),r=t.n(a),i=t("Cuep"),n=t("oqwq"),o=t("HzoV");var s=function(e){var A,t;function a(A){var t;return(t=e.call(this,A)||this).state={blogs:[]},t}t=e,(A=a).prototype=Object.create(t.prototype),A.prototype.constructor=A,A.__proto__=t;var s=a.prototype;return s.componentDidMount=function(){var e=this;Object(o.a)((function(A){e.setState((function(e){return{blogs:e.blogs.concat([A]).sort((function(e,A){return new Date(A.meta.date)-new Date(e.meta.date)}))}}))}))},s.render=function(){var e=this.state.blogs;return r.a.createElement(i.a,null,r.a.createElement("br",null),r.a.createElement("h1",null,"Blog"),r.a.createElement("br",null),r.a.createElement(n.a,{blogs:e}))},a}(a.Component);A.default=s}}]);
//# sourceMappingURL=component---src-pages-blog-jsx-cf7f4f641a87b3df2442.js.map