import{d as r,f as c,j as p,J as l}from"./index-CzUo07dn.js";const g=({tabs:e,activeTab:t,tabUrl:i})=>{const f=r.useNotify(),a=c();return p.jsx(r.Tabs,{links:e.map(s=>{if(typeof s!="string")return s;const n=l(s),o=s===e[0]?i:`${i}/${n}`;return{label:s,id:n,active:n===t||s===e[0]&&!t,onClick:u=>{u.preventDefault(),f.clear(),a(o)},href:o}})})};export{g as T};
