"use strict";(self.webpackChunkmodio_docs=self.webpackChunkmodio_docs||[]).push([[8401],{8195:(e,t,r)=>{r.d(t,{A:()=>c});var s=r(6446),d=r(9365),l=r(6540),o=r(4848);var n=r(1470);const a=e=>{let{children:t,colWidths:r={},stripes:s="odd",border:d=0}=e;const n=(0,l.useRef)(null),a=`${d}px`;let c="";return c="odd"===s?"odd:tw-bg-table-stripes even:tw-bg-transparent":"even:tw-bg-table-stripes odd:tw-bg-transparent",(0,l.useEffect)((()=>{const e=n.current.querySelector("thead"),t=n.current.querySelectorAll("tr"),s=n.current.querySelectorAll("th, td");e.style.visibility="hidden",s.forEach(((e,t)=>{e.style.width=r[t]??"auto",e.style.borderWidth=a,e.style.overflowWrap="anywhere"})),t.forEach(((e,t)=>{0!==t&&(e.className=c),e.style.borderWidth=a}))}),[]),(0,o.jsx)("div",{ref:n,children:t})},c={...s.A,TabItem:function(e){return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(d.A,{className:"tw-rounded-md",...e})})},Tabs:function(e){return(0,o.jsx)("div",{className:"tw-border tw-border-solid tw-border-skyblue tw-rounded-md tw-bg-darkslategray tw-p-4 tw-mb-4",children:(0,o.jsx)(n.A,{...e})})},RefTable:a}}}]);