(this["webpackJsonpclient-view-genially"]=this["webpackJsonpclient-view-genially"]||[]).push([[1],{999:function(e,t,a){"use strict";a.r(t);var r=a(0),n=a.n(r),c=a(7),l=a(1),o=a(5),i=a(48),s=function(){return s=Object.assign||function(e){for(var t,a=1,r=arguments.length;a<r;a++)for(var n in t=arguments[a])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},s.apply(this,arguments)},d=o.d.div.withConfig({displayName:"TableChartWrapper",componentId:"sc-1i746o8"})((function(){return{width:"100%",height:"100%",wordBreak:"break-all"}})),p=o.d.table.withConfig({displayName:"TableStyled",componentId:"sc-glm2ow"})((function(e){return{borderCollapse:"collapse",height:"100%",width:"100%",tableLayout:e.fixed?"fixed":"auto"}})),b=o.d.td.withConfig({displayName:"TableCell",componentId:"sc-18w8is4"})((function(e){var t=e.normalWordBreak;return s(s({},i.a.increaseSpecificity({padding:"0.15em"})),t?{overflow:"hidden",wordBreak:"normal"}:{})})),f=function(e){var t=e.data,a=e.id,r=e.cellStyles,c=e.tableStyles,l=e.normalWordBreak,o="fixed"===c.css.tableLayout;return n.a.createElement(d,{className:"genially-chart-wrapper"},n.a.createElement(p,{fixed:o},n.a.createElement("tbody",null,t.map((function(e,t){var c="t_".concat(a,"_r_").concat(t);return n.a.createElement("tr",{key:c},e.map((function(e,c){var o="t_".concat(a,"_c_").concat(t,"_").concat(c);return n.a.createElement(b,{normalWordBreak:l,style:r[t][c].css,key:o},n.a.createElement("span",null,e))})))})))))};f.propTypes={data:Object(l.arrayOf)(Object(l.arrayOf)(Object(l.oneOfType)([l.string,l.number]))),cellStyles:Object(l.arrayOf)(Object(l.arrayOf)(Object(l.shape)({css:l.object}))),tableStyles:Object(l.shape)({css:Object(l.shape)({tableLayout:Object(l.oneOf)(["auto","fixed"])})}),id:l.string,normalWordBreak:l.bool};t.default=Object(c.c)(f)}}]);
//# sourceMappingURL=tableChart.a44ee14a.chunk.js.map