import{__exports as e}from"../../../../_virtual/injectHeaderConfig.mjs";var n;function r(){if(n)return e;n=1,Object.defineProperty(e,"__esModule",{value:!0}),e.injectHeaderConfig=void 0;return e.injectHeaderConfig=(e,n)=>{var r;let t=null!==(r=n.spanningCells)&&void 0!==r?r:[];const i=n.header,o=[...e];if(i){t=t.map(({row:e,...n})=>({...n,row:e+1}));const{content:n,...r}=i;t.unshift({alignment:"center",col:0,colSpan:e[0].length,paddingLeft:1,paddingRight:1,row:0,wrapWord:!1,...r}),o.unshift([n,...Array.from({length:e[0].length-1}).fill("")])}return[o,t]},e}export{r as __require};