!function(){function e(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return l}}(e,r)||function(e,r){if(!e)return;if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(e,r)}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}System.register(["./index-legacy-DF2p3puw.js","./TabPanel-legacy-Ddasnqc1.js"],(function(t,r){"use strict";var n,o,a,i,l,c,u;return{setters:[function(e){n=e.r,o=e.j,a=e.a},function(e){i=e.T,l=e.a,c=e.b,u=e.c}],execute:function(){t("D",(function(t){var r=t.tabs,s=t.selectedTabIndex,f=void 0===s?0:s,d=e(n.useState(f),2),b=d[0],m=d[1],h=n.useMemo((function(){return r.length?r[b].BodyComponent({}):null}),[b,r]);return o.jsxs(i,{selectedIndex:b,onSelect:m,className:"mt-4",selectedTabClassName:"border-b-[3px] border-theme-input-highlight text-theme-highlight font-semibold",children:[o.jsx(l,{className:"grid grid-flow-col border-b border-theme-seperator",children:r.map((function(e){return o.jsx(c,{className:"text-center p-2 cursor-pointer",children:e.title},"tab-".concat(e.key))}))}),r.map((function(e,t){return o.jsx(u,{children:t===b?h:o.jsx(a,{})},"tabpanel-".concat(e.key))}))]})}))}}}))}();
