1(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{"2T9i":function(t,r,e){"use strict";e.r(r),e.d(r,"query",(function(){return h}));var n=e("dI71"),o=e("nKUr"),i=e("q1tI"),a=e.n(i),c=e("qhky"),s=e("gGLS"),u=e("Bl7J"),f=e("rRrA");function l(t,r){var e;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return p(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return p(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(e=t[Symbol.iterator]()).next.bind(e)}function p(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var d={d3v4:"https://d3js.org/d3.v4.min.js",d3v5:"https://d3js.org/d3.v5.min.js"},m=function(t){function r(){for(var r,e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return(r=t.call.apply(t,[this].concat(n))||this).scriptRef=a.a.createRef(),r}Object(n.a)(r,t);var e=r.prototype;return e.componentDidMount=function(){this.loadScripts()},e.componentDidUpdate=function(t){this.prevProps!==this.props&&this.loadScripts()},e.getScripts=function(){var t=this.props.data.markdownRemark,r=[];return t.frontmatter.js_libs&&(r=r.concat(t.frontmatter.js_libs.map((function(t){return d[t]})))),t.frontmatter.scripts&&(r=r.concat(t.frontmatter.scripts.map((function(t){return t.publicURL})))),r},e.loadScripts=function(){var t=this,r=this.getScripts(),e=Promise.resolve();this.scriptRef.current.innerHTML="",this.scriptRef.current;for(var n,o=function(){var r=n.value;e=e.then((function(){return function(r){return new Promise((function(e,n){var o=document.createElement("script");o.type="text/javascript",o.src=r,o.onreadystatechange=function(){e(r)},o.onload=function(){e(r)},t.scriptRef.current?t.scriptRef.current.appendChild(o):n(r)}))}(r)}))},i=l(r);!(n=i()).done;)o()},e.render=function(){var t=this.props.data.markdownRemark;return Object(o.jsxs)(u.a,{pageTitle:t.frontmatter.title,description:t.frontmatter.description,metaImage:t.frontmatter.img&&t.frontmatter.img.childImageSharp.fixed.src,slug:t.fields.slug,children:[Object(o.jsx)(c.a,{children:Object(o.jsx)("meta",{property:"og:type",content:"article"})}),Object(o.jsx)("div",{ref:this.scriptRef}),Object(o.jsxs)(f.a,{p:3,mx:"auto",maxWidth:t.frontmatter.max_width||800,children:[Object(o.jsx)(f.d,{fontSize:4,children:t.frontmatter.title}),Object(o.jsxs)(f.f,{color:"gray.6",listStyleType:"none",children:[t.frontmatter.blog&&Object(o.jsx)(f.g,{children:Object(o.jsx)(f.h,{to:t.frontmatter.blog,children:"Blog Post"})}),t.frontmatter.github&&Object(o.jsx)(f.g,{children:Object(o.jsx)(f.h,{to:t.frontmatter.github,children:"GitHub"})}),t.frontmatter.tweet&&Object(o.jsx)(f.g,{children:Object(o.jsx)(f.h,{to:t.frontmatter.tweet,children:"Related Tweet"})})]}),Object(s.a)(t.htmlAst)]})]})},r}(a.a.Component);r.default=m;var h="431815020"}}]); 2//# sourceMappingURL=component---src-templates-demo-js-86292a96b849eb84e1cf.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.