import{j as i,b as A}from"./mui-vendor-CkIVaoQP.js";import{f as d}from"./react-vendor-CmFgShSM.js";import{G as e,S as n,i1 as o,i2 as u,i3 as a,X as t,i4 as E,i5 as c,i6 as m,i7 as _,i8 as R,i9 as l}from"./index-Vwb3Bce5.js";import{N as s}from"./NavLink-D2GD_ItM.js";import{L as S}from"./LinkItem-Cp7DiDkz.js";import{B as p}from"./BackButton-CX1bfrW9.js";import{k as I}from"./index.esm-CjWvmHks.js";import{n as C}from"./index.esm-BY9chGNa.js";import{G as O}from"./index.esm-BVxcT1y_.js";import"./redux-vendor-B7uoacJt.js";import"./iconBase-BEJYyZsk.js";const X=()=>{const{pathname:r}=d();return i.jsx(A,{display:"flex",justifyContent:"center",children:i.jsxs(e,{container:!0,justifyContent:"center",gap:n.SMALL,p:n.SMALL,direction:"column",xs:12,sm:12,md:10,lg:10,children:[i.jsx(e,{container:!0,children:i.jsx(p,{})}),i.jsx(e,{container:!0,gap:n.SMALL,direction:{xs:"column",md:"row"},justifyContent:"center",alignItems:"center",style:{placeContent:"baseline"},xs:12,children:i.jsxs(e,{container:!0,gap:n.SMALL,justifyContent:"center",xs:12,children:[i.jsx(s,{to:t()==="AdminX"?o:t()==="SuperAdmin"?u:a,active:r===(t()==="AdminX"?o:t()==="SuperAdmin"?u:a)?"true":null,children:i.jsx(S,{icon:i.jsx(C,{size:30,color:"#244CCC"}),title:"کشتارگاه",description:"کشتارگاه"})}),i.jsx(s,{to:t()==="AdminX"?E:t()==="SuperAdmin"?c:m,active:r===(t()==="AdminX"?E:t()==="SuperAdmin"?c:m)?"true":null,children:i.jsx(S,{icon:i.jsx(I,{size:30,color:"#244CCC"}),title:"مباشر",description:"مباشر"})}),i.jsx(s,{to:t()==="AdminX"?_:t()==="SuperAdmin"?R:l,active:r===(t()==="AdminX"?_:t()==="SuperAdmin"?R:l)?"true":null,children:i.jsx(S,{icon:i.jsx(O,{size:30,color:"#244CCC"}),title:"صنف",description:"صنف"})})]})})]})})};export{X as default};
