import{d as r,k as c,j as p,V as l}from"./index-lOezWVmi.js";const g=({tabs:e,activeTab:t,tabUrl:i})=>{const a=r.useNotify(),f=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(),a.clear(),f(o)},href:o}})})};export{g as T};
