import{l as o,u as m}from"./app-DfvQaswS.js";import{P as h}from"./LayoutInfoprodutor-iVb76VRm.js";import{k as x,C as k,l as f,A as r,B as n,u as e,D as i,L as d,j as l}from"./Button-miGkWw8b.js";import{U as v}from"./users-CMH4uuD0.js";const g=x("ticket-percent",[["path",{d:"M2 9a3 3 0 1 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 1 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"1l48ns"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M15 15h.01",key:"lqbp3k"}]]),z={class:"inline-flex rounded-xl bg-zinc-100/80 p-1 dark:bg-zinc-800/80","aria-label":"Abas de produtos"},C={__name:"ProdutosTabs",setup(w){const s=m(),u=l(()=>{const a=s.url;return a==="/produtos"||a.startsWith("/produtos?")||a.match(/^\/produtos\/\d+/)}),c=l(()=>s.url.startsWith("/produtos/cupons")),p=l(()=>s.url.startsWith("/produtos/alunos"));return(a,t)=>(k(),f("nav",z,[r(e(o),{href:"/produtos",class:d(["flex items-center gap-2 rounded-lg px-4 py-2.5 text-sm font-medium transition-all duration-200",u.value?"bg-white text-[var(--color-primary)] shadow-sm dark:bg-zinc-700 dark:text-[var(--color-primary)]":"text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"])},{default:n(()=>[r(e(h),{class:"h-4 w-4 shrink-0","aria-hidden":"true"}),t[0]||(t[0]=i(" Produtos ",-1))]),_:1},8,["class"]),r(e(o),{href:"/produtos/cupons",class:d(["flex items-center gap-2 rounded-lg px-4 py-2.5 text-sm font-medium transition-all duration-200",c.value?"bg-white text-[var(--color-primary)] shadow-sm dark:bg-zinc-700 dark:text-[var(--color-primary)]":"text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"])},{default:n(()=>[r(e(g),{class:"h-4 w-4 shrink-0","aria-hidden":"true"}),t[1]||(t[1]=i(" Cupons ",-1))]),_:1},8,["class"]),r(e(o),{href:"/produtos/alunos",class:d(["flex items-center gap-2 rounded-lg px-4 py-2.5 text-sm font-medium transition-all duration-200",p.value?"bg-white text-[var(--color-primary)] shadow-sm dark:bg-zinc-700 dark:text-[var(--color-primary)]":"text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"])},{default:n(()=>[r(e(v),{class:"h-4 w-4 shrink-0","aria-hidden":"true"}),t[2]||(t[2]=i(" Alunos ",-1))]),_:1},8,["class"])]))}};export{C as _};
