(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[31],{
/***/DoCG:
/***/function(t,e,r){"use strict";
// ESM COMPAT FLAG
r.r(e),
// EXPORTS
r.d(e,"default",(function(){/* reexport */return f}));
// EXTERNAL MODULE: /Users/paulcowan/projects/cuttingedge/node_modules/react/jsx-runtime.js
var n=r("jg1C"),a=r("zju2"),o=r("LRir"),i=r("BQ33"),l=r.n(i),u=r("qF7a"),d=r("8e7h"),c=function(){return(c=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)},s=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(){var t,e,r,i=Object(a.a)();if(i.data){var f=function(t){var e=null===(r=i.data)||void 0===r?void 0:r[t];Object(d.assert)(!!e,"no country found for "+t),e.data=e.data.map((function(r){var n=r.deltaDeaths/u.b[t].population*1e5;return isNaN(n)&&console.log({d:r,c:t,country:e,delta:n}),c(c({},r),{y:n<=0?0:n})}))};try{for(var y=s(Object.keys(i.data)),v=y.next();!v.done;v=y.next()){f(v.value)}}catch(h){t={error:h}}finally{try{v&&!v.done&&(e=y.return)&&e.call(y)}finally{if(t)throw t.error}}}return Object(n.jsx)(o.a,{heading:"Daily Increase in deaths",xAxisLabel:"Days since first reported death",yAxisLabel:"Increase in deaths from previous day (per 100,000 people)",result:i,labels:function(t){var e=t.datum;return l()(null===e||void 0===e?void 0:e.x).format("DD/MM/YY")+"\n total deaths = "+e.deaths+"\n daily increase = "+e.deltaDeaths}},void 0)};
// EXTERNAL MODULE: ./src/components/Graphs/useCountryCovidData.ts
}}]);
//# sourceMappingURL=src-components-IncreseFromPreviousDay-deb7d3b8.124355a0.chunk.js.map