import{d as n,aT as t,W as o,F as s,b2 as l,aF as i,a2 as d,bh as m,U as u}from"./vendor-reka-Edfq1EPl.js";const c={class:"-mb-px flex gap-6"},p=["onClick"],b={key:0,class:"inline-block h-1.5 w-1.5 rounded-full bg-destructive"},g=n({__name:"HorizontalTabNavigation",props:{tabs:{},modelValue:{}},emits:["update:modelValue"],setup(r){return(a,f)=>(t(),o("div",c,[(t(!0),o(s,null,l(r.tabs,e=>(t(),o("button",{key:e.key,type:"button",class:i(["relative inline-flex items-center gap-1.5 pb-3 text-sm font-medium border-b-2 transition-colors",r.modelValue===e.key?"border-primary text-foreground":"border-transparent text-muted-foreground hover:text-foreground"]),onClick:k=>a.$emit("update:modelValue",e.key)},[d(m(e.label)+" ",1),e.hasError?(t(),o("span",b)):u("",!0)],10,p))),128))]))}});export{g as _};
