"use strict";const r=require("react/jsx-runtime"),i=require("react-i18next"),s=require("lucide-react");function d({status:a}){const{t:e}=i.useTranslation("admin"),t={Pending:{icon:s.Clock,label:e("accessRequests.status.pending"),className:"bg-[var(--warning-bg)] text-[var(--warning-text)] border-[var(--warning-border)]"},Approved:{icon:s.CheckCircle,label:e("accessRequests.status.approved"),className:"bg-[var(--success-bg)] text-[var(--success-text)] border-[var(--success-border)]"},Denied:{icon:s.XCircle,label:e("accessRequests.status.denied"),className:"bg-[var(--error-bg)] text-[var(--error-text)] border-[var(--error-border)]"}}[a];if(!t)return r.jsx("span",{className:"inline-flex items-center gap-1 px-2 py-1 rounded-[var(--radius-badge)] text-sm font-medium border bg-[var(--bg-secondary)] text-[var(--text-secondary)] border-[var(--border-primary)]",children:a});const{icon:n,label:c,className:o}=t;return r.jsxs("span",{className:`inline-flex items-center gap-1 px-2 py-1 rounded-[var(--radius-badge)] text-sm font-medium border ${o}`,children:[r.jsx(n,{className:"w-3 h-3"}),c]})}exports.AccessRequestStatusBadge=d;
//# sourceMappingURL=AccessRequestStatusBadge-CNTI7EDr.js.map
