(this["webpackJsonpclient-view-genially"]=this["webpackJsonpclient-view-genially"]||[]).push([[4],{795:function(e,a,t){"use strict";t.r(a);var n=t(0),r=t.n(n),l=t(2),i=t.n(l),c=t(11),s=t(19),o=function(){return(o=Object.assign||function(e){for(var a,t=1,n=arguments.length;t<n;t++)for(var r in a=arguments[t])Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);return e}).apply(this,arguments)},p=c.c.div.withConfig({displayName:"TableChartWrapper",componentId:"sc-o6w33k"})((function(){return{width:"100%",height:"100%",wordBreak:"break-all"}})),u=c.c.table.withConfig({displayName:"TableStyled",componentId:"sc-1p13tgu"})((function(e){return{borderCollapse:"collapse",height:"100%",width:"100%",tableLayout:e.fixed?"fixed":"auto"}})),f=c.c.td.withConfig({displayName:"TableCell",componentId:"sc-mj3p1a"})((function(){return o({},s.a.increaseSpecificity({padding:"0.15em"}))})),y=function(e){var a=e.data,t=e.id,n=e.cellStyles,l="fixed"===e.tableStyles.css.tableLayout;return r.a.createElement(p,{className:"genially-chart-wrapper"},r.a.createElement(u,{fixed:l},r.a.createElement("tbody",null,a.map((function(e,a){var l="t_"+t+"_r_"+a;return r.a.createElement("tr",{key:l},e.map((function(e,l){var i="t_"+t+"_c_"+a+"_"+l;return r.a.createElement(f,{style:n[a][l].css,key:i},r.a.createElement("span",null,e))})))})))))};y.propTypes={data:i.a.arrayOf(i.a.arrayOf(i.a.oneOfType([i.a.string,i.a.number]))),cellStyles:i.a.arrayOf(i.a.arrayOf(i.a.shape({css:i.a.object}))),tableStyles:i.a.shape({css:i.a.shape({tableLayout:i.a.oneOf(["auto","fixed"])})}),id:i.a.string},y.defaultProps={};a.default=y}}]);
//# sourceMappingURL=tableChart.c2d05537.chunk.js.map