"use strict";(self.webpackChunk_genially_view_client=self.webpackChunk_genially_view_client||[]).push([[9227],{7546:(e,t,l)=>{l.r(t),l.d(t,{GTableChart:()=>m,default:()=>y});var a=l(17588),r=l(14726),i=l(37577),n=l(15071);const o=i.Ay.div({width:"100%",height:"100%",wordBreak:"break-all",fontFamily:"'Source Sans Pro', sans-serif"}),d=i.Ay.table((e=>{let{fixed:t}=e;return{borderCollapse:"collapse",height:"100%",width:"100%",tableLayout:t?"fixed":"auto"}})),s=i.Ay.td((e=>{let{normalWordBreak:t}=e;return{...n.iF.mixins.increaseSpecificity({padding:"0.15em"}),...t?{overflow:"hidden",wordBreak:"normal"}:{}}})),c=i.Ay.caption({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",border:"0"}),u=(e,t)=>0===e&&0!==t?"col":0===t&&0!==e?"row":void 0,p=(e,t,l)=>l?"td":0===e&&0!==t||0===t&&0!==e?"th":"td",m=(0,r.PA)((e=>{let{titleLabel:t,data:l,id:r,cellStyles:i,tableStyles:n,normalWordBreak:m,style:y,prefix:h,suffix:f,unsafe:v=!1}=e;const w="fixed"===(null===n||void 0===n?void 0:n.layout);return a.createElement(o,{className:"genially-chart-wrapper",style:y},a.createElement(d,{fixed:w},a.createElement("tbody",null,l.map(((e,t)=>{const l=`t_${r}_r_${t}`;return a.createElement("tr",{key:l},e.map(((e,l)=>{var n,o;const d=`t_${r}_c_${t}_${l}`,c=((e,t,l,a,r)=>0===t||0===l?`${e}`:`${a||""} ${e} ${r||""}`.trim())(e,t,l,h,f);return a.createElement(s,{normalWordBreak:m,style:i?null===i||void 0===i||null===(n=i[t])||void 0===n||null===(o=n[l])||void 0===o?void 0:o.css:void 0,key:d,as:p(t,l,v),scope:u(t,l)},a.createElement("span",null,c))})))}))),!v&&t&&a.createElement(c,null,t)))})),y=m}}]);
//# sourceMappingURL=https://s3-static-genially.genially.com/view/static/js/tableChart.8e8e957b.chunk.js.map