-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-blog-jsx-294f968809f31a7718ac.js
2 lines (2 loc) · 21.3 KB
/
component---src-pages-blog-jsx-294f968809f31a7718ac.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[4,3],{"9eSz":function(A,e,t){"use strict";t("rGqo"),t("yt8O"),t("Btvt"),t("XfO3"),t("EK0E"),t("INYr"),t("0mN4");var a=t("TqRt");e.__esModule=!0,e.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(A){var e=(0,s.default)({},A),t=e.resolutions,a=e.sizes,r=e.critical;return t&&(e.fixed=t,delete e.resolutions),a&&(e.fluid=a,delete e.sizes),r&&(e.loading="eager"),e.fluid&&(e.fluid=Q([].concat(e.fluid))),e.fixed&&(e.fixed=Q([].concat(e.fixed))),e},f=function(A){var e=A.media;return!!e&&(b&&!!window.matchMedia(e).matches)},u=function(A){var e=A.fluid,t=A.fixed;return g(e||t).src},g=function(A){if(b&&function(A){return!!A&&Array.isArray(A)&&A.some((function(A){return void 0!==A.media}))}(A)){var e=A.findIndex(f);if(-1!==e)return A[e]}return A[0]},h=Object.create({}),E=function(A){var e=c(A),t=u(e);return h[t]||!1},p="undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype,b="undefined"!=typeof window,m=b&&window.IntersectionObserver,B=new WeakMap;function j(A){return A.map((function(A){var e=A.src,t=A.srcSet,a=A.srcSetWebp,r=A.media,i=A.sizes;return d.default.createElement(d.default.Fragment,{key:e},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 Q(A){var e=[],t=[];return A.forEach((function(A){return(A.media?e:t).push(A)})),[].concat(e,t)}function w(A){return A.map((function(A){var e=A.src,t=A.media,a=A.tracedSVG;return d.default.createElement("source",{key:e,media:t,srcSet:a})}))}function v(A){return A.map((function(A){var e=A.src,t=A.media,a=A.base64;return d.default.createElement("source",{key:e,media:t,srcSet:a})}))}function S(A,e){var t=A.srcSet,a=A.srcSetWebp,r=A.media,i=A.sizes;return"<source "+(e?"type='image/webp' ":"")+(r?'media="'+r+'" ':"")+'srcset="'+(e?a:t)+'" '+(i?'sizes="'+i+'" ':"")+"/>"}var Y=function(A,e){var t=(void 0===r&&"undefined"!=typeof window&&window.IntersectionObserver&&(r=new window.IntersectionObserver((function(A){A.forEach((function(A){if(B.has(A.target)){var e=B.get(A.target);(A.isIntersecting||A.intersectionRatio>0)&&(r.unobserve(A.target),B.delete(A.target),e())}}))}),{rootMargin:"200px"})),r);return t&&(t.observe(A),B.set(A,e)),function(){t.unobserve(A),B.delete(A)}},N=function(A){var e=A.src?'src="'+A.src+'" ':'src="" ',t=A.sizes?'sizes="'+A.sizes+'" ':"",a=A.srcSet?'srcset="'+A.srcSet+'" ':"",r=A.title?'title="'+A.title+'" ':"",i=A.alt?'alt="'+A.alt+'" ':'alt="" ',n=A.width?'width="'+A.width+'" ':"",o=A.height?'height="'+A.height+'" ':"",s=A.crossOrigin?'crossorigin="'+A.crossOrigin+'" ':"",d=A.loading?'loading="'+A.loading+'" ':"",l=A.draggable?'draggable="'+A.draggable+'" ':"";return"<picture>"+A.imageVariants.map((function(A){return(A.srcSetWebp?S(A,!0):"")+S(A)})).join("")+"<img "+d+n+o+t+a+e+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(A){var e=A.src,t=A.imageVariants,a=A.generateSources,r=A.spreadProps,i=A.ariaHidden,n=d.default.createElement(y,(0,s.default)({src:e},r,{ariaHidden:i}));return t.length>1?d.default.createElement("picture",null,a(t),n):n},y=d.default.forwardRef((function(A,e){var t=A.sizes,a=A.srcSet,r=A.src,i=A.style,n=A.onLoad,l=A.onError,c=A.loading,f=A.draggable,u=A.ariaHidden,g=(0,o.default)(A,["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:e,loading:c,draggable:f,style:(0,s.default)({position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"},i)}))}));y.propTypes={style:l.default.object,onError:l.default.func,onLoad:l.default.func};var I=function(A){function e(e){var t;(t=A.call(this,e)||this).seenBefore=b&&E(e),t.isCritical="eager"===e.loading||e.critical,t.addNoScript=!(t.isCritical&&!e.fadeIn),t.useIOSupport=!p&&m&&!t.isCritical&&!t.seenBefore;var a=t.isCritical||b&&(p||!t.useIOSupport);return t.state={isVisible:a,imgLoaded:!1,imgCached:!1,fadeIn:!t.seenBefore&&e.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)(e,A);var t=e.prototype;return t.componentDidMount=function(){if(this.state.isVisible&&"function"==typeof this.props.onStartLoad&&this.props.onStartLoad({wasCached:E(this.props)}),this.isCritical){var A=this.imageRef.current;A&&A.complete&&this.handleImageLoaded()}},t.componentWillUnmount=function(){this.cleanUpListeners&&this.cleanUpListeners()},t.handleRef=function(A){var e=this;this.useIOSupport&&A&&(this.cleanUpListeners=Y(A,(function(){var A=E(e.props);e.state.isVisible||"function"!=typeof e.props.onStartLoad||e.props.onStartLoad({wasCached:A}),e.setState({isVisible:!0},(function(){return e.setState({imgLoaded:A,imgCached:!!e.imageRef.current.currentSrc})}))})))},t.handleImageLoaded=function(){var A,e,t;A=this.props,e=c(A),t=u(e),h[t]=!0,this.setState({imgLoaded:!0}),this.props.onLoad&&this.props.onLoad()},t.render=function(){var A=c(this.props),e=A.title,t=A.alt,a=A.className,r=A.style,i=void 0===r?{}:r,n=A.imgStyle,o=void 0===n?{}:n,l=A.placeholderStyle,f=void 0===l?{}:l,u=A.placeholderClassName,h=A.fluid,E=A.fixed,p=A.backgroundColor,b=A.durationFadeIn,m=A.Tag,B=A.itemProp,Q=A.loading,S=A.draggable,Y=!1===this.state.fadeIn||this.state.imgLoaded,I=!0===this.state.fadeIn&&!this.state.imgCached,C=(0,s.default)({opacity:Y?1:0,transition:I?"opacity "+b+"ms":"none"},o),D="boolean"==typeof p?"lightgray":p,x={transitionDelay:b+"ms"},O=(0,s.default)({opacity:this.state.imgLoaded?0:1},I&&x,{},o,{},f),P={title:e,alt:this.state.isVisible?"":t,style:O,className:u,itemProp:B};if(h){var G=h,M=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(M.srcSet)},d.default.createElement(m,{"aria-hidden":!0,style:{width:"100%",paddingBottom:100/M.aspectRatio+"%"}}),D&&d.default.createElement(m,{"aria-hidden":!0,title:e,style:(0,s.default)({backgroundColor:D,position:"absolute",top:0,bottom:0,opacity:this.state.imgLoaded?0:1,right:0,left:0},I&&x)}),M.base64&&d.default.createElement(R,{ariaHidden:!0,src:M.base64,spreadProps:P,imageVariants:G,generateSources:v}),M.tracedSVG&&d.default.createElement(R,{ariaHidden:!0,src:M.tracedSVG,spreadProps:P,imageVariants:G,generateSources:w}),this.state.isVisible&&d.default.createElement("picture",null,j(G),d.default.createElement(y,{alt:t,title:e,sizes:M.sizes,src:M.src,crossOrigin:this.props.crossOrigin,srcSet:M.srcSet,style:C,ref:this.imageRef,onLoad:this.handleImageLoaded,onError:this.props.onError,itemProp:B,loading:Q,draggable:S})),this.addNoScript&&d.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:N((0,s.default)({alt:t,title:e,loading:Q},M,{imageVariants:G}))}}))}if(E){var L=E,k=g(E),T=(0,s.default)({position:"relative",overflow:"hidden",display:"inline-block",width:k.width,height:k.height},i);return"inherit"===i.display&&delete T.display,d.default.createElement(m,{className:(a||"")+" gatsby-image-wrapper",style:T,ref:this.handleRef,key:"fixed-"+JSON.stringify(k.srcSet)},D&&d.default.createElement(m,{"aria-hidden":!0,title:e,style:(0,s.default)({backgroundColor:D,width:k.width,opacity:this.state.imgLoaded?0:1,height:k.height},I&&x)}),k.base64&&d.default.createElement(R,{ariaHidden:!0,src:k.base64,spreadProps:P,imageVariants:L,generateSources:v}),k.tracedSVG&&d.default.createElement(R,{ariaHidden:!0,src:k.tracedSVG,spreadProps:P,imageVariants:L,generateSources:w}),this.state.isVisible&&d.default.createElement("picture",null,j(L),d.default.createElement(y,{alt:t,title:e,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:Q,draggable:S})),this.addNoScript&&d.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:N((0,s.default)({alt:t,title:e,loading:Q},k,{imageVariants:L}))}}))}return null},e}(d.default.Component);I.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}),D=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});I.propTypes={resolutions:C,sizes:D,fixed:l.default.oneOfType([C,l.default.arrayOf(C)]),fluid:l.default.oneOfType([D,l.default.arrayOf(D)]),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 x=I;e.default=x},EeqU:function(A,e,t){"use strict";var a=t("q1tI"),r=t.n(a),i=t("9eSz"),n=t.n(i);e.a=function(A){var e=A.image,t=A.alt;return r.a.createElement(n.a,{fluid:e.node.childImageSharp.sizes,alt:t,style:{objectFit:"cover",height:"200px"}})}},"HRk+":function(A,e,t){var a={"./helloworld":"u2lm","./helloworld.mdx":"u2lm"};function r(A){return Promise.resolve().then((function(){if(!t.o(a,A)){var e=new Error("Cannot find module '"+A+"'");throw e.code="MODULE_NOT_FOUND",e}return t(a[A])}))}r.keys=function(){return Object.keys(a)},r.id="HRk+",A.exports=r},HzoV:function(A,e,t){"use strict";t("rGqo"),t("yt8O"),t("Btvt");e.a=function(A){t("sZcJ").keys().forEach((function(e){var a=e.substring(2,e.indexOf(".mdx"));t("HRk+")("./"+a).then((function(e){A(e)}))}))}},I94Q:function(A){A.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":"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"}}}},{"node":{"id":"73056d18-9eac-5a50-ad72-635ddf0c3453","relativePath":"chart/reggaeshine.jpg","name":"reggaeshine","childImageSharp":{"id":"9d252ff5-42ac-5a95-bad9-4e57a4c12018","sizes":{"base64":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAUABQDASIAAhEBAxEB/8QAGAABAAMBAAAAAAAAAAAAAAAAAAIEBQP/xAAWAQEBAQAAAAAAAAAAAAAAAAAEAAL/2gAMAwEAAhADEAAAAa0dGsZPJfZsoICFf//EABsQAAMAAgMAAAAAAAAAAAAAAAABAgMTERQg/9oACAEBAAEFAnFISbNdm/Gycq57EeP/xAAXEQADAQAAAAAAAAAAAAAAAAAAARMQ/9oACAEDAQE/AbFlv//EABgRAAMBAQAAAAAAAAAAAAAAAAISUQAQ/9oACAECAQE/AWKZjnf/xAAbEAACAgMBAAAAAAAAAAAAAAAAASFBESAy4f/aAAgBAQAGPwKUyEcs8E2sTRen/8QAHhABAAECBwAAAAAAAAAAAAAAAQARICExYXGR8PH/2gAIAQEAAT8hCqI1i+Izyogoi7xkZk8J1Fn/2gAMAwEAAgADAAAAEPP3ff/EABgRAQADAQAAAAAAAAAAAAAAAAEAEEFh/9oACAEDAQE/EEYk6l//xAAWEQEBAQAAAAAAAAAAAAAAAAABICH/2gAIAQIBAT8QFNh//8QAHBABAAEEAwAAAAAAAAAAAAAAAREAECExIEFR/9oACAEBAAE/EIXV2IKMD6oQebsqOP3EhTs+CDBoY43/AP/Z","aspectRatio":1,"src":"/static/82757439b67479041e01eb5ca6af1637/0f3a1/reggaeshine.jpg","srcSet":"/static/82757439b67479041e01eb5ca6af1637/aabdf/reggaeshine.jpg 150w,\\n/static/82757439b67479041e01eb5ca6af1637/9dc27/reggaeshine.jpg 300w,\\n/static/82757439b67479041e01eb5ca6af1637/0f3a1/reggaeshine.jpg 500w","sizes":"(max-width: 500px) 100vw, 500px"}}}},{"node":{"id":"13c4ee16-463e-5a72-8e35-7cbb2b349540","relativePath":"blog/helloworld.jpg","name":"helloworld","childImageSharp":{"id":"7900334e-afb6-50c0-9b9d-4e8e240968a5","sizes":{"base64":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAGABQDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAEF/8QAFQEBAQAAAAAAAAAAAAAAAAAAAAH/2gAMAwEAAhADEAAAAckRAf/EABQQAQAAAAAAAAAAAAAAAAAAABD/2gAIAQEAAQUCf//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8BP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8BP//EABQQAQAAAAAAAAAAAAAAAAAAABD/2gAIAQEABj8Cf//EABcQAAMBAAAAAAAAAAAAAAAAAAAQIVH/2gAIAQEAAT8hJi//2gAMAwEAAgADAAAAEHvv/8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAwEBPxA//8QAFBEBAAAAAAAAAAAAAAAAAAAAEP/aAAgBAgEBPxA//8QAGRABAAIDAAAAAAAAAAAAAAAAEQFRABBB/9oACAEBAAE/EIOw4i1uv//Z","aspectRatio":3.4557235421166306,"src":"/static/d0a141d7bfcd1933c1d175b273805281/4fe8c/helloworld.jpg","srcSet":"/static/d0a141d7bfcd1933c1d175b273805281/aabdf/helloworld.jpg 150w,\\n/static/d0a141d7bfcd1933c1d175b273805281/9dc27/helloworld.jpg 300w,\\n/static/d0a141d7bfcd1933c1d175b273805281/4fe8c/helloworld.jpg 600w,\\n/static/d0a141d7bfcd1933c1d175b273805281/9842e/helloworld.jpg 900w,\\n/static/d0a141d7bfcd1933c1d175b273805281/47498/helloworld.jpg 1200w,\\n/static/d0a141d7bfcd1933c1d175b273805281/0e329/helloworld.jpg 1600w","sizes":"(max-width: 600px) 100vw, 600px"}}}}]}}}')},INYr:function(A,e,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(A){return r(this,A,arguments.length>1?arguments[1]:void 0)}}),t("nGyu")(i)},oqwq:function(A,e,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");e.a=function(A){var e=A.blogs,t=A.elementsPerRow,r=void 0===t?3:t,s=a.data,d=e.reduce((function(A,e){var t=Object.keys(A).length||1;return A[t]?A[t].length===r?A[t+1]=[e]:A[t]=A[t].concat([e]):A[t]=[e],A}),{});return i.a.createElement("div",{className:"container vrc__blogListContainer"},Object.keys(d).map((function(A,e){return i.a.createElement("div",{className:"row vrc__blogListRow",key:e},d[A].map((function(A,e){var t=s.images.edges.find((function(e){return e.node.relativePath.includes(A._frontmatter.image)}));return t?i.a.createElement("div",{className:"col-md-"+12/r+" vrc__blogListCol",key:e},i.a.createElement("div",{className:"vrc__blogListCard"},i.a.createElement(n.Link,{to:A._frontmatter.path},i.a.createElement(o.a,{image:t,alt:A._frontmatter.title}),i.a.createElement("div",{className:"vrc__blogCardBody"},i.a.createElement("h2",null,A._frontmatter.title),i.a.createElement("span",null,A._frontmatter.intro))))):null})))})))}},sZcJ:function(A,e,t){var a={"./helloworld.mdx":"u2lm"};function r(A){var e=i(A);return t(e)}function i(A){if(!t.o(a,A)){var e=new Error("Cannot find module '"+A+"'");throw e.code="MODULE_NOT_FOUND",e}return a[A]}r.keys=function(){return Object.keys(a)},r.resolve=i,A.exports=r,r.id="sZcJ"},u2lm:function(A,e,t){"use strict";t.r(e),t.d(e,"_frontmatter",(function(){return i})),t.d(e,"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/helloworld.jpg"},n={_frontmatter:i};function o(A){var e=A.components,t=function(A,e){if(null==A)return{};var t,a,r={},i=Object.keys(A);for(a=0;a<i.length;a++)t=i[a],e.indexOf(t)>=0||(r[t]=A[t]);return r}(A,["components"]);return Object(a.b)("wrapper",Object.assign({},n,t,{components:e,mdxType:"MDXLayout"}),Object(a.b)(r.a,{mdxType:"ContainerLayout"},Object(a.b)("h1",{children:i.title}),Object(a.b)("span",{children:new Date(i.date).toLocaleDateString(),className:"vrc__postDate"}),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(A,e,t){"use strict";t.r(e);t("Vd3H");var a=t("q1tI"),r=t.n(a),i=t("Cuep"),n=t("oqwq"),o=t("HzoV");var s=function(A){var e,t;function a(e){var t;return(t=A.call(this,e)||this).state={blogs:[]},t}t=A,(e=a).prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var s=a.prototype;return s.componentDidMount=function(){var A=this;Object(o.a)((function(e){A.setState((function(A){return{blogs:A.blogs.concat([e]).sort((function(A,e){return new Date(e.meta.date)-new Date(A.meta.date)}))}}))}))},s.render=function(){var A=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:A}))},a}(a.Component);e.default=s}}]);
//# sourceMappingURL=component---src-pages-blog-jsx-294f968809f31a7718ac.js.map