import * as ROUTES from "../routes/routes";
import WarehouseIcon from "@mui/icons-material/Warehouse";
import EggIcon from "@mui/icons-material/Egg";
import LocalShippingIcon from "@mui/icons-material/LocalShipping";
import AttachMoneyIcon from "@mui/icons-material/AttachMoney";
import AssignmentIcon from "@mui/icons-material/Assignment";
import AssignmentTurnedInIcon from "@mui/icons-material/AssignmentTurnedIn";
import ArchiveIcon from "@mui/icons-material/Archive";
import FolderOpenIcon from "@mui/icons-material/FolderOpen";
import NewReleasesIcon from "@mui/icons-material/NewReleases";
import TaskAltIcon from "@mui/icons-material/TaskAlt";
import AttachFileIcon from "@mui/icons-material/AttachFile";
import MeetingRoomIcon from "@mui/icons-material/MeetingRoom";
import PendingActionsIcon from "@mui/icons-material/PendingActions";
import PaidIcon from "@mui/icons-material/Paid";
import FlightTakeoffIcon from "@mui/icons-material/FlightTakeoff";
import AcUnitIcon from "@mui/icons-material/AcUnit";
import {
  AddBox,
  AddCircleOutline,
  AssignmentReturn,
  AssignmentTurnedIn,
  DirectionsCarFilled,
  DriveEta,
  Engineering,
  Home,
  Lan,
  Payment,
  PriceChange,
  SettingsApplications,
  ShoppingBasket,
  Storefront,
  TravelExplore,
  UploadFile,
} from "@mui/icons-material";
import { Folder } from "@mui/icons-material";
import SettingsSuggestIcon from "@mui/icons-material/SettingsSuggest";
import VaccinesIcon from "@mui/icons-material/Vaccines";
import ErrorIcon from "@mui/icons-material/Error";
import { FileCopy } from "@mui/icons-material";
import { Archive } from "@mui/icons-material";
import { Warning } from "@mui/icons-material";
import KitchenIcon from "@mui/icons-material/Kitchen";
import SpaceDashboardIcon from "@mui/icons-material/SpaceDashboard";
import ManageAccountsIcon from "@mui/icons-material/ManageAccounts";
import ReportProblemIcon from "@mui/icons-material/ReportProblem";
import CampaignIcon from "@mui/icons-material/Campaign";
import AccountBalanceWalletIcon from "@mui/icons-material/AccountBalanceWallet";
import DeviceHubIcon from "@mui/icons-material/DeviceHub";
import PublicIcon from "@mui/icons-material/Public";
import MoneyIcon from "@mui/icons-material/Money";
import FolderIcon from "@mui/icons-material/Folder";
import InventoryIcon from "@mui/icons-material/Inventory";
import AssignmentIndIcon from "@mui/icons-material/AssignmentInd";
import AutorenewIcon from "@mui/icons-material/Autorenew";
import MarkEmailReadIcon from "@mui/icons-material/MarkEmailRead";
import LocationOnIcon from "@mui/icons-material/LocationOn";
import QueryStatsIcon from "@mui/icons-material/QueryStats";
import PriceCheckIcon from "@mui/icons-material/PriceCheck";
import AssessmentIcon from "@mui/icons-material/Assessment";
import ManageSearchIcon from "@mui/icons-material/ManageSearch";
import StoreIcon from "@mui/icons-material/Store";
import PeopleIcon from "@mui/icons-material/People";
import FactCheckIcon from "@mui/icons-material/FactCheck";
import ShoppingBagIcon from "@mui/icons-material/ShoppingBag";
import CategoryIcon from "@mui/icons-material/Category";
import MedicalServicesIcon from "@mui/icons-material/MedicalServices";
import NotificationsIcon from "@mui/icons-material/Notifications";
import TableChartIcon from "@mui/icons-material/TableChart";
import { FaFax } from "react-icons/fa";
import BadgeIcon from "@mui/icons-material/Badge";

export const getRoleItems = (role) => {
  switch (role) {
    case "AdminX":
      return [
        {
          text: "داشبورد",
          route: ROUTES.ROUTE_ADMINX_DASHBOARD,
          icon: <SpaceDashboardIcon />,
        },
        {
          text: "درخواست های کشتار",
          route: ROUTES.ROUTE_ADMINX_CITY_NEW_REQUESTS,
          icon: <AssignmentIcon />,
        },

        {
          text: "تخصیص",
          route: ROUTES.ROUTE_ADMINX_ALLOCATION_REQUESTS,
          icon: <AssignmentTurnedInIcon />,
        },
        {
          text: "مدیریت کشتار",
          route: ROUTES.ROUTE_ADMINX_HATCHING,
          icon: <ManageAccountsIcon />,
        },
        {
          text: "مدیریت جوجه ریزی",
          route: ROUTES.ROUTE_ADMINXـHATCHINGS,
          icon: <EggIcon />,
        },
        {
          text: "اختلاف کشتار",
          route: ROUTES.ROUTE_ADMINX_DIFFRENCE_KILLER,
          icon: <ReportProblemIcon />,
        },
        {
          text: "اعلام نیاز خریداران",
          route: ROUTES.ROUTE_ADMINX_STATEMENTـOFـNEED_REQUESTS,
          icon: <CampaignIcon />,
        },
        {
          text: "خرید مستقیم",
          route: ROUTES.ROUT_ADMINX_FREE_BUY,
          icon: <ShoppingBasket />,
        },
        {
          text: "پنل معاملات",
          route: ROUTES.ROUTE_ADMINX_TRADING_PANEL,
          icon: <AccountBalanceWalletIcon />,
        },
        {
          text: "فروش به خارج استان",
          route: ROUTES.ROUTE_ADMINX_FREE_SALES_REQUESTS,
          icon: <PublicIcon />,
        },
        {
          text: "زنجیره ها",
          route: ROUTES.ROUTE_ADMINX_CHAINS,
          icon: <DeviceHubIcon />,
        },
        {
          text: "تعرفه ها",
          route: ROUTES.ROUTE_ADMINX_PAYING_FEES_REQUESTS,
          icon: <AttachMoneyIcon />,
        },
        {
          text: "پایش کشوری",
          route: ROUTES.ROUTE_ADMINX_ROUTE_NATIONAL_INFO,
          icon: <TravelExplore />,
        },
        {
          text: "تعرفه زیربخش ها",
          route: ROUTES.ROUTE_ADMINX_SUB_SECTORS_WAGE,
          icon: <MoneyIcon />,
        },
        {
          text: "تسویه حساب",
          route: ROUTES.ROUTE_ADMINX_SETTLEMENTS,
          icon: <Payment />,
        },
        {
          text: "پرونده های کشتار",
          route: ROUTES.ROUTE_ADMINX_ROUTE_FILES_STATE,
          icon: <FolderIcon />,
        },
        {
          text: "مدیریت بازرسی",
          route: ROUTES.ROUTE_ADMINX_ROUTE_INSPECTION,
          icon: <AssignmentTurnedInIcon />,
        },
        {
          text: "مدیریت بارها",
          route: ROUTES.ROUTE_ADMINX_ROUTE_ALLOCATIONS,
          icon: <SettingsApplications />,
        },
        {
          text: "صادرات",
          route: ROUTES.ROUTE_ADMINX_EXPORT,
          icon: <FlightTakeoffIcon />,
        },

        {
          text: "مدیریت تخصیصات",
          route: ROUTES.ROUTE_ADMINX_ALLOCATED_REQUESTS,
          icon: <AssignmentIndIcon />,
        },
        {
          text: "تخصیصات خودکار",
          route: ROUTES.ROUTE_ADMINX_AUTO_ALLOCATION_REQUESTS,
          icon: <AutorenewIcon />,
        },
        {
          text: "صدور نامه",
          route: ROUTES.ROUTE_ADMINX_ISSUANCE_OF_LETTER,
          icon: <MarkEmailReadIcon />,
        },
        // {
        //   text: "تراکنش ها",
        //   route: ROUTES.ROUTE_ADMINX_TRANSACTIONS,
        //   icon: <CompareArrowsIcon />,
        // },
        {
          text: "انتخاب استان",
          route: ROUTES.ROUTE_ADMINX_PROVINCE_SWITCH,
          icon: <LocationOnIcon />,
        },
        {
          text: "تحلیل داده",
          route: ROUTES.ROUTE_ADMINX_VISOR_STATICS,
          icon: <QueryStatsIcon />,
        },
        {
          text: "کارشناسان علوم دام",
          route: ROUTES.ROUTE_ADMINX_POULTRY_LIVESTOCK_EXPERTS,
          icon: <Engineering />,
        },
        {
          text: "قیمت روز",
          route: ROUTES.ROUTE_ADMINX_PRICING3,
          icon: <PriceCheckIcon />,
        },
        // {
        //   text: "آمار و اطلاعات",
        //   route: ROUTES.ROUTE_ADMINX_STATICS,
        //   icon: <PieChart />,
        // },
        //   {
        //     text: "گزارش روزانه",
        //     route: null, // Opens modal instead of navigating
        //     icon: <SummarizeIcon />,
        //   },
        {
          text: "گزارشات",
          route: ROUTES.ROUTE_ADMINX_REPORT,
          icon: <AssessmentIcon />,
        },

        {
          text: "مدیریت توزیع",
          route: ROUTES.ROUTE_ADMINX_DISPENSERS,
          icon: <ManageSearchIcon />,
        },
        {
          text: "مدیریت اصناف",
          route: ROUTES.ROUTE_ADMINX_ROUTE_MANAGE_GUILDS,
          icon: <StoreIcon />,
        },
        {
          text: "مدیریت مباشرین",
          route: ROUTES.ROUTE_ADMINX_ROUTE_MANAGE_STEWARDS,
          icon: <BadgeIcon />,
        },
        {
          text: "مدیریت سردخانه ها",
          icon: <AcUnitIcon />,
          route: ROUTES.ROUTE_ADMINX_COLD_HOUSES,
        },
        {
          text: "شرکت‌های پرداخت الکترونیک",
          route: ROUTES.ROUTE_ADMINX_ROUTE_PSP_COMPANIES,
          icon: <Storefront />,
        },
        {
          text: "خودروها",
          route: ROUTES.ROUTE_ADMINX_CARS,
          icon: <DriveEta />,
        },
        {
          text: "کاربران",
          route: ROUTES.ROUTE_ADMINX_USERS,
          icon: <PeopleIcon />,
        },
        // {
        //   text: "مدیریت تراکنش ها",
        //   route: ROUTES.ROUTE_ADMINX_GUILD_TRANSACTIONS,
        //   icon: <ReceiptLongIcon />,
        // },
        {
          text: "مدیریت فارم ها",
          route: ROUTES.ROUTE_ADMINX_POULTRIES,
          icon: <FactCheckIcon />,
        },
        {
          text: "خریداران",
          route: ROUTES.ROUTE_ADMINX_SLAUGHTERS,
          icon: <ShoppingBagIcon />,
        },
        {
          text: "خریدهای بازگشتی",
          route: ROUTES.ROUTE_ADMINX_RETURN_PURCHASES,
          icon: <AssignmentReturn />,
        },
        {
          text: "محصولات",
          route: ROUTES.ROUTE_ADMINX_PRODUCTS,
          icon: <CategoryIcon />,
        },
        {
          text: "دامپزشکان",
          route: ROUTES.ROUTE_ADMINX_ASSIGN_VET_FARM,
          icon: <MedicalServicesIcon />,
        },
        {
          text: "پنل اطلاع رسانی",
          route: ROUTES.ROUTE_ADMINX_ROUTE_SMS,
          icon: <NotificationsIcon />,
        },
        {
          text: "مدیریت فرآیند",
          route: ROUTES.ROUTE_ADMINX_ROUTE_MANAGE_PROCESS,
          icon: <SettingsSuggestIcon />,
        },
        // {
        //   text: "مدیریت تیکت ها",

        //   route: ROUTES.ROUTE_ADMINX_TICKET,
        //   icon: <SupportIcon />,
        // },
        {
          text: "بررسی اکسل",
          route: ROUTES.ROUTE_ADMINX_EXCEL_CHECK,
          icon: <TableChartIcon />,
        },
        {
          text: "خانه",
          route: ROUTES.ROUTE_ADMINX_BASE_NEW_HOME,
          icon: <Home />,
        },
      ];
    case "Admin":
      return [
        {
          text: "تحلیل داده",
          route: ROUTES.ROUTE_ADMIN_VISOR_STATICS,
          icon: <QueryStatsIcon />,
        },
        // {
        //   text: "آمار و اطلاعات",
        //   route: ROUTES.ROUTE_ADMIN_STATICS,
        //   icon: <PieChart />,
        // },
      ];
    case "CityOperator":
      return [
        {
          route: ROUTES.ROUTE_CITY_NEW_REQUESTS,
          icon: <NewReleasesIcon />,
          text: "درخواست های کشتار",
        },
        {
          route: ROUTES.ROUTE_CITY_ACTIVE_REQUESTS,
          icon: <TaskAltIcon />,
          text: "درخواست های فعال",
        },
        // {
        //   route: ROUTES.ROUTE_CITY_AWAITING_PAYMENT_REQUESTS,
        //   icon: <PaymentIcon />,
        //   text: "در انتظار پرداخت",
        // },
        // {
        //   route: ROUTES.ROUTE_CITY_AWAITING_INSPECTION_REQUESTS,
        //   icon: <ReportIcon />,
        //   text: "در انتظار بازرسی",
        // },
        // {
        //   route: ROUTES.ROUTE_CITY_REJECTED_REQUESTS,
        //   icon: <ReportIcon />,
        //   text: "درخواست های رد شده",
        // },
        {
          route: ROUTES.ROUTE_CITY_FREE_SALES_REQUESTS,
          icon: <FolderOpenIcon />,
          text: "فروش به خارج استان",
        },
        // {
        //   route: ROUTES.ROUTE_CITY_ARCHIVED_REQUESTS,
        //   icon: <ArchiveIcon />,
        //   text: "بایگانی",
        // },
        {
          route: ROUTES.ROUTE_CITY_VISOR_STATICS,
          icon: <QueryStatsIcon />,
          text: "تحلیل داده",
        },
        {
          route: ROUTES.ROUTE_CITY_HATCHING,
          icon: <ManageAccountsIcon />,
          text: "مدیریت کشتار",
        },
        // {
        //   route: ROUTES.ROUTE_CITY_ROUTE_FILES_STATE,
        //   icon: <AccountTreeIcon />,
        //   text: "پرونده های کشتار",
        // },
        {
          route: ROUTES.ROUTE_CITYـHATCHINGS,
          icon: <EggIcon />,
          text: "مدیریت جوجه ریزی",
        },
        {
          text: "اختلاف کشتار",
          route: ROUTES.ROUTE_CITY_DIFFRENCE_KILLER,
          icon: <ReportProblemIcon />,
        },
        {
          route: ROUTES.ROUTE_CITY_ROUTE_ALLOCATIONS,
          icon: <SettingsApplications />,
          text: "مدیریت بارها",
        },
        {
          route: ROUTES.ROUTE_CITY_ROUTE_INSPECTION,
          icon: <AssignmentTurnedInIcon />,
          text: "مدیریت بازرسی",
        },
        {
          route: ROUTES.ROUTE_CITY_PRICING,
          icon: <PriceCheckIcon />,
          text: "قیمت روز",
        },
        {
          route: ROUTES.ROUTE_CITY_POULTRIES,
          icon: <FactCheckIcon />,
          text: "مدیریت فارم ها",
        },
        {
          route: ROUTES.ROUTE_CITY_POULTRY_FARMS,
          icon: <WarehouseIcon />,
          text: "مرغداران",
        },
        // {
        //   route: ROUTES.ROUTE_CITY_STATICS,
        //   icon: <PieChart />,
        //   text: "آمار و اطلاعات",
        // },
        {
          route: ROUTES.ROUTE_CITY_USER_MANAGEMENT,
          icon: <PeopleIcon />,
          text: "کاربران",
        },
        // {
        //   route: ROUTES.ROUTE_CITY_TICKET,
        //   icon: <SupportIcon />,
        //   text: "مدیریت تیکت ها",
        // },
      ];
    case "Poultry":
      return [
        {
          route: ROUTES.ROUTE_AVICULTURE_HATCHING,
          icon: <EggIcon />,
          text: "جوجه ریزی",
        },
        {
          route: ROUTES.ROUTE_AVICULTURE_SUBMIT_REQUEST,
          icon: <AttachFileIcon />,
          text: "درخواست های کشتار",
        },
        // {
        //   route: ROUTES.ROUTE_AVICULTURE_AWAITING_PAYMENT_REQUESTS,
        //   icon: <PaymentIcon />,
        //   text: "در انتظار پرداخت",
        // },
        // {
        //   route: ROUTES.ROUTE_AVICULTURE_AWAITING_INSPECTION_REQUESTS,
        //   icon: <AssignmentLateIcon />,
        //   text: "در انتظار بازرسی",
        // },
        // {
        //   route: ROUTES.ROUTE_AVICULTURE_REJECTED_REQUESTS,
        //   icon: <WarningIcon />,
        //   text: "درخواست های رد شده",
        // },
        // {
        //   route: ROUTES.ROUTE_AVICULTURE_ARCHIVED_REQUESTS,
        //   icon: <ArchiveIcon />,
        //   text: "بایگانی",
        // },
        // {
        //   route: ROUTES.ROUTE_AVICULTURE_GIVE_PERMISSION,
        //   icon: <ArchiveIcon />,
        //   text: "وکالت",
        // },
        {
          route: ROUTES.ROUTE_AVICULTURE_PRICING,
          icon: <PriceCheckIcon />,
          text: "قیمت روز",
        },
        {
          route: ROUTES.ROUTE_AVICULTURE_ROUTE_HALLS,
          icon: <MeetingRoomIcon />,
          text: "سالن ها",
        },
        // {
        //   route: ROUTES.ROUTE_AVICULTURE_TICKET,
        //   icon: <SupportIcon />,
        //   text: "مدیریت تیکت ها",
        // },
      ];
    case "ProvinceOperator":
      return [
        {
          text: "داشبورد",
          route: ROUTES.ROUTE_PROVINCE_DASHBOARD,
          icon: <SpaceDashboardIcon />,
        },
        {
          text: "درخواست های کشتار",
          route: ROUTES.ROUTE_PROVINCE_CITY_NEW_REQUESTS,
          icon: <AssignmentIcon />,
        },
        {
          text: "تخصیص",
          route: ROUTES.ROUTE_PROVINCE_ALLOCATION_REQUESTS,
          icon: <AssignmentTurnedInIcon />,
        },
        {
          text: "مدیریت کشتار",
          icon: <ManageAccountsIcon />,
          route: ROUTES.ROUTE_PROVINCE_HATCHING,
        },
        {
          text: "مدیریت جوجه ریزی",
          icon: <EggIcon />,
          route: ROUTES.ROUTE_PROVINCEـHATCHINGS,
        },
        {
          text: "اختلاف کشتار",
          route: ROUTES.ROUTE_PROVINCE_DIFFRENCE_KILLER,
          icon: <ReportProblemIcon />,
        },
        {
          text: "اعلام نیاز خریداران",
          route: ROUTES.ROUTE_PROVINCE_STATEMENTـOFـNEED_REQUESTS,
          icon: <CampaignIcon />,
        },
        {
          text: "خرید مستقیم",
          route: ROUTES.ROUTE_PROVINCEـFREE_BUY,
          icon: <ShoppingBasket />,
        },
        {
          text: "پنل معاملات",
          route: ROUTES.ROUTE_PROVINCE_TRADING_PANEL,
          icon: <AccountBalanceWalletIcon />,
        },
        {
          text: "فروش به خارج استان",
          route: ROUTES.ROUTE_PROVINCE_FREE_SALES_REQUESTS,
          icon: <LocalShippingIcon />,
        },
        {
          text: "زنجیره ها",
          route: ROUTES.ROUTE_PROVINCE_CHAINS,
          icon: <DeviceHubIcon />,
        },
        {
          text: "مدیریت تخصیصات",
          route: ROUTES.ROUTE_PROVINCE_ALLOCATED_REQUESTS,
          icon: <AssignmentIndIcon />,
        },
        {
          text: "تعرفه ها",
          route: ROUTES.ROUTE_PROVINCE_PAYING_FEES_REQUESTS,
          icon: <AttachMoneyIcon />,
        },
        {
          text: "تعرفه زیربخش ها",

          route: ROUTES.ROUTE_PROVINCE_SUB_SECTORS_WAGE,
          icon: <MoneyIcon />,
        },
        {
          text: "تسویه حساب",
          route: ROUTES.ROUTE_PROVINCE_SETTLEMENTS,
          icon: <Payment />,
        },
        {
          text: "صادرات",
          route: ROUTES.ROUTE_PROVINCEـEXPORT,
          icon: <FlightTakeoffIcon />,
        },
        {
          text: "گزارشات",
          icon: <AssessmentIcon />,
          route: ROUTES.ROUTE_PROVINCE_REPORT,
        },

        // {
        //   text: "پرونده های کشتار",
        //   icon: <AccountTreeIcon />,
        //   route: ROUTES.ROUTE_PROVINCE_ROUTE_FILES_STATE,
        // },
        {
          text: "مدیریت بارها",
          icon: <SettingsApplications />,
          route: ROUTES.ROUTE_PROVINCE_ROUTE_ALLOCATIONS,
        },

        // {
        //   text: "تخصیصات خودکار",
        //   route: ROUTES.ROUTE_PROVINCE_AUTO_ALLOCATION_REQUESTS,
        //   icon: <AutoFixHighIcon />,
        // },
        // {
        //   text: "صدور نامه",
        //   route: ROUTES.ROUTE_PROVINCE_ISSUANCE_OF_LETTER,
        //   icon: <DraftsIcon />,
        // },
        // {
        //   text: "تراکنش ها",
        //   route: ROUTES.ROUTE_PROVINCE_TRANSACTIONS,
        //   icon: <CompareArrowsIcon />,
        // },
        // {
        //   text: "گزارش روزانه",
        //   icon: <SummarizeIcon />,
        //   onClick: () => dispatch(OPEN_MODAL({ text: "اطلاعات گزارش", content: <PorvinceGetReportOperations /> }))
        // },
        {
          text: "تحلیل داده",
          icon: <QueryStatsIcon />,
          tooltip: "آمار",
          route: ROUTES.ROUTE_PROVINCEـVISOR_STATICS,
        },
        {
          text: "کارشناسان علوم دام",
          route: ROUTES.ROUTE_PROVINCE_POULTRY_LIVESTOCK_EXPERTS,
          icon: <Engineering />,
        },
        // {
        //   text: "قیمت روز",
        //   icon: <AttachMoneyIcon />,
        //   route: ROUTES.ROUTE_PROVINCE_PRICING3,
        // },
        // {
        //   text: "آمار و اطلاعات",
        //   icon: <PieChart />,
        //   route: ROUTES.ROUTE_PROVINCE_STATICS,
        // },
        {
          text: "مدیریت توزیع",
          icon: <ManageSearchIcon />,
          route: ROUTES.ROUTE_PROVINCE_DISPENSERS,
        },
        {
          text: "مدیریت سردخانه ها",
          icon: <AcUnitIcon />,
          route: ROUTES.ROUTE_PROVINCE_COLD_HOUSES,
        },
        {
          text: "مدیریت اصناف",
          icon: <StoreIcon />,
          route: ROUTES.ROUTE_PROVINCE_ROUTE_MANAGE_GUILDS,
        },
        {
          text: "مدیریت مباشرین",
          route: ROUTES.ROUTE_PROVINCE_ROUTE_MANAGE_STEWARDS,
          icon: <BadgeIcon />,
        },
        {
          text: "خودروها",
          icon: <DriveEta />,
          route: ROUTES.ROUTE_PROVINCE_CARS,
        },
        {
          text: "کاربران",
          icon: <PeopleIcon />,
          route: ROUTES.ROUTE_PROVINCE_USERS,
        },
        // {
        //   text: "مدیریت تراکنش ها",
        //   icon: <ReceiptLongIcon />,
        //   route: ROUTES.ROUTE_PROVINCE_GUILD_TRANSACTIONS,
        // },
        {
          text: "مدیریت فارم ها",
          icon: <FactCheckIcon />,
          route: ROUTES.ROUTE_PROVINCE_POULTRIES,
        },
        {
          text: "خریداران",
          icon: <ShoppingBagIcon />,
          route: ROUTES.ROUTE_PROVINCE_SLAUGHTERS,
        },
        // {
        //   text: "محصولات",
        //   icon: <InventoryIcon />,
        //   route: ROUTES.ROUTE_PROVINCE_PRODUCTS,
        // },
        {
          text: "دامپزشکان",
          icon: <MedicalServicesIcon />,
          route: ROUTES.ROUTE_PROVINCE_ASSIGN_VET_FARM,
        },
        {
          text: "پنل اطلاع رسانی",
          icon: <NotificationsIcon />,
          route: ROUTES.ROUTE_PROVINCE_ROUTE_SMS,
        },
        // {
        //   text: "مدیریت تیکت ها",

        //   icon: <SupportIcon />,
        //   route: ROUTES.ROUTE_PROVINCE_TICKET,
        // },
        {
          text: "خریدهای بازگشتی",
          route: ROUTES.ROUTE_PROVINCE_RETURN_PURCHASES,
          icon: <AssignmentReturn />,
        },
      ];
    case "ProvinceFinancial":
      return [
        {
          route: ROUTES.ROUTE_PROVINCE_FINANCIAL_PENDING_REQUESTS,
          icon: <PendingActionsIcon />,
          text: "صدور فاکتور",
        },
        {
          route: ROUTES.ROUTE_PROVINCE_FINANCIAL_AWAITING_PAYMENT_REQUESTS,
          icon: <AttachMoneyIcon />,
          text: "در انتظار پرداخت",
        },
        {
          route: ROUTES.ROUTE_PROVINCE_FINANCIAL_CHECK_PAYED_FACTOR_REQUESTS,
          icon: <PaidIcon />,
          text: "فاکتورهای پرداخت شده",
        },
        // {
        //   route: ROUTES.ROUTE_PROVINCE_FINANCIAL_TRANSACTIONS,
        //   icon: <LoopIcon />,
        //   text: "تراکنش ها",
        // },
        {
          route: ROUTES.ROUTE_PROVINCE_FINANCIAL_FINAL_FACTORS_REQUESTS,
          icon: <FactCheckIcon />,
          text: "اسناد مالی",
        },
        {
          text: "تعرفه زیربخش ها",

          route: ROUTES.ROUTE_PROVINCE_FINANCIAL_SUB_SECTORS_WAGE,
          icon: <MoneyIcon />,
        },
        {
          route: ROUTES.ROUTE_PROVINCE_FINANCIAL_ACTIVE_REQUESTS,
          icon: <FolderOpenIcon />,
          text: "درخواست های فعال",
        },
        {
          route: ROUTES.ROUTE_PROVINCE_FINANCIAL_AWAITING_INSPECTION_REQUESTS,
          icon: <PendingActionsIcon />,
          text: "در انتظار بازرسی",
        },
        {
          route: ROUTES.ROUTE_PROVINCE_FINANCIAL_ARCHIVED_REQUESTS,
          icon: <ArchiveIcon />,
          text: "بایگانی",
        },
        {
          route: ROUTES.ROUTE_PROVINCE_FINANCIAL_SETTLEMENT,
          icon: <Payment />,
          text: "تسویه حساب",
        },
        {
          route: ROUTES.ROUTE_PROVINCE_PRICING,
          icon: <PriceCheckIcon />,
          text: "قیمت گذاری",
        },
        // {
        //   route: ROUTES.ROUTE_PROVINCE_FINANCIAL_STATICS,
        //   icon: <PieChart />,
        //   text: "آمار و اطلاعات",
        // },
        // {
        //   route: ROUTES.ROUTE_PROVINCE_FINANCIAL_TICKET,
        //   icon: <SupportIcon />,
        //   text: "مدیریت تیکت ها",
        // },
        {
          route: ROUTES.ROUTE_PROVINCE_FINANCIAL_DOCUMENT_REGISTRATION,
          icon: <AttachMoneyIcon />,
          text: "ثبت سند مالی",
        },
      ];
    case "KillHouse":
      return [
        {
          text: "ثبت درخواست",
          route: ROUTES.ROUTE_SLAUGHTER_NEW_REQUESTS,
          icon: <AddCircleOutline />,
        },
        {
          text: "سفارش های دریافت شده",
          route: ROUTES.ROUTE_SLAUGHTER_PENDING_REQUESTS,
          icon: <AssignmentTurnedIn />,
        },
        {
          text: "خرید مستقیم",
          route: ROUTES.ROUTE_SLAUGHTERـFREE_BUY,
          icon: <ShoppingBasket />,
        },
        {
          text: "پنل معاملات",
          route: ROUTES.ROUTE_SLAUGHTER_TRADING_PANEL,
          icon: <AccountBalanceWalletIcon />,
        },
        {
          text: "تخصیص خودرو",
          route: ROUTES.ROUTE_SLAUGHTER_ALLOCATE_CAR_REQUESTS,
          icon: <DirectionsCarFilled />,
        },
        {
          text: "وارد کردن اطلاعات بار",
          route: ROUTES.ROUTE_SLAUGHTER_ENTER_BAR_INFO,
          icon: <UploadFile />,
        },
        {
          text: "انبار و توزیع",
          route: ROUTES.ROUTE_SLAUGHTER_INVENTORY,
          icon: <WarehouseIcon />,
        },
        {
          text: "زیر مجموعه ها",
          route: ROUTES.ROUTE_SLAUGHTER_ROUTE_SUB_UNITS,
          icon: <Lan />,
        },
        {
          text: "مدیریت تعرفه ها",
          route: ROUTES.ROUTE_SLAUGHTER_PAYING_FEES_REQUESTS,
          icon: <PriceChange />,
        },
        {
          text: "مدیریت بارها",
          route: ROUTES.ROUTE_SLAUGHTER_ROUTE_MANAGE_BARS,
          icon: <FactCheckIcon />,
        },

        {
          text: "مدیریت اصناف",
          route: ROUTES.ROUTE_SLAUGHTER_ROUTE_MANAGE_GUILDS,
          icon: <Storefront />,
        },
        {
          text: "مدیریت مباشرین",
          route: ROUTES.ROUTE_SLAUGHTER_MANAGE_STEWARDS,
          icon: <BadgeIcon />,
        },
        // {
        //   text: "قیمت روز ",
        //   route: ROUTES.ROUTE_SLAUGHTER_PRICING,
        //   icon: <AttachMoneyIcon />,
        // },
        {
          text: "خودروها",
          route: ROUTES.ROUTE_SLAUGHTER_CAR_MANAGEMENT,
          icon: <DriveEta />,
        },
        // {
        //   text: "مدیریت توزیع",
        //   route: ROUTES.ROUTE_SLAUGHTER_DISPENSERS,
        //   icon: <CoPresentIcon />,
        // },

        {
          text: "صادرات",
          route: ROUTES.ROUTE_SLAUGHTERـEXPORT,
          icon: <FlightTakeoffIcon />,
        },

        {
          text: "تخصیص",
          route: ROUTES.ROUTE_SLAUGHTER_ALLOCATION_REQUESTS,
          icon: <AssignmentTurnedInIcon />,
        },

        // {
        //   text: "کیف پول",
        //   route: ROUTES.ROUTE_SLAUGHTER_WALLET,
        //   icon: <AccountBalanceWalletIcon />,
        // },
        // {
        //   text: "مدیریت تراکنش ها",
        //   route: ROUTES.ROUTE_SLAUGHTER_FINANCIAL_TRANSACTIONS,
        //   icon: <SwapHorizontalCircleIcon />,
        // },
        // {
        //   text: "مدیریت فاکتورها",
        //   route: ROUTES.ROUTE_SLAUGHTER_PAY_FACTORS_REQUESTS,
        //   icon: <ReceiptIcon />,
        // },
        {
          text: "سردخانه",
          route: ROUTES.ROUTE_SLAUGHTER_MORGUE,
          icon: <AcUnitIcon />,
        },
        {
          text: "تسویه حساب",
          route: ROUTES.ROUTE_SLAUGHTER_SETTLEMENTS,
          icon: <Payment />,
        },
        {
          text: "خریدهای بازگشتی",
          route: ROUTES.ROUTE_SLAUGHTER_RETURN_PURCHASES,
          icon: <AssignmentReturn />,
        },
        {
          route: ROUTES.ROUTE_SLAUGHTER_ROUTE_DEVICES,
          icon: <FaFax size={32} />,
          text: "مدیریت دستگاه‌ها",
        },
      ];
    case "KillHouseVet":
      return [
        {
          route: ROUTES.ROUTE_SLAUGHTER_HOUSE_VET_FREE_BUY_ROUTE,
          icon: <Folder />,
          text: "بارهای خارج استان",
        },
        {
          route: ROUTES.ROUTE_SLAUGHTER_HOUSE_VET_NEW_REQUESTS,
          icon: <AddBox />,
          text: "بارهای کشتار",
        },
        {
          route: ROUTES.ROUTE_SLAUGHTER_HOUSE_VET_ENTER_BAR_INFO,
          icon: <UploadFile />,
          text: "وارد کردن اطلاعات بار",
        },
      ];
    case "VetFarm":
      return [
        // {
        //   text: "مدیریت جوجه ریزی",
        //   icon: <SettingsInputCompositeIcon />,
        //   route: ROUTES.ROUTE_VETFARM_HATCHING,
        // },
        {
          route: ROUTES.ROUTE_VETFARM_ROUTE_ALLOCATIONS,
          icon: <SettingsSuggestIcon />,
          text: "کدرهگیری قرنطینه",
        },
        {
          route: ROUTES.ROUTE_VETFARM_REGISTER_INFO,
          icon: <VaccinesIcon />,
          text: "مدیریت فارم",
        },
        {
          text: "مدیریت بازرسی",
          route: ROUTES.ROUTE_VETFARM_ROUTE_INSPECTION,
          icon: <AssignmentTurnedInIcon />,
        },
      ];
    case "Driver":
      return [
        {
          route: ROUTES.ROUTE_DRIVER_REQUESTS,
          icon: <SettingsSuggestIcon />,
          text: "پنل مدیریت",
        },
      ];
    case "VetSupervisor":
      return [
        {
          text: "مدیریت جوجه ریزی",
          icon: <EggIcon />,
          route: ROUTES.ROUTE_VETـSUPERVISOR_HATCHING,
        },
        {
          text: "مدیریت فارم ها",
          route: ROUTES.ROUTEـSUPERVISOR_POULTRIES,
          icon: <FactCheckIcon />,
        },
        // {
        //   text: "پرونده های کشتار",
        //   icon: <AccountTreeIcon />,
        //   route: ROUTES.ROUTE_VETـSUPERVISOR_ROUTE_FILES_STATE,
        // },
        // {
        //   text: "آمار و اطلاعات",
        //   icon: <PieChart />,
        //   route: ROUTES.ROUTE_VETـSUPERVISOR_STATICS,
        // },
        {
          text: "مدیریت بارها",
          icon: <FactCheckIcon />,
          route: ROUTES.ROUTE_VETـSUPERVISOR_ALLOCATIONS,
        },
        // {
        //   text: "کشتار غیرمجاز",
        //   icon: <ErrorIcon />,
        //   route: ROUTES.ROUTE_VETـSUPERVISOR_ILLEGALـKILLING,
        // },
        // {
        //   text: "آمار کشتار استان",
        //   icon: <PieChart />,
        //   route: ROUTES.ROUTE_VETـSUPERVISOR_KILLS_STATS,
        // },
        {
          text: "گزارشات",
          icon: <AssessmentIcon />,
          route: ROUTES.ROUTE_VETـSUPERVISOR_REPORTING,
        },
      ];
    case "ProvinceInspector":
      return [
        {
          route: ROUTES.ROUTE_INSPECTOR_REQUESTS_NEW_REQUESTS,
          icon: <Folder />,
          text: "درخواست های کشتار",
        },
        {
          route: ROUTES.ROUTE_PROVINCE_INSPECTOR_AWAITING_PAYMENT_REQUESTS,
          icon: <AttachMoneyIcon />,
          text: "در انتظار پرداخت",
        },
        {
          route: ROUTES.ROUTE_PROVINCE_INSPECTOR_AWAITING_INSPECTION_REQUESTS,
          icon: <FileCopy />,
          text: "در انتظار بازرسی",
        },
        {
          route: ROUTES.ROUTE_INSPECTOR_REJECTED_REQUESTS,
          icon: <Warning />,
          text: "درخواست های رد شده",
        },
        {
          route: ROUTES.ROUTE_INSPECTOR_ARCHIVED_REQUESTS,
          icon: <Archive />,
          text: "بایگانی",
        },
        // {
        //   route: ROUTES.ROUTE_INSPECTOR_STATICS,
        //   icon: <PieChart />,
        //   text: "آمار و اطلاعات",
        // },
        {
          route: ROUTES.ROUTE_PROVINCE_INSPECTOR_REPORTING,
          icon: <AssessmentIcon />,
          text: "گزارشات",
        },
        // {
        //   route: ROUTES.ROUTE_PROVINCE_INSPECTOR_TICKET,
        //   icon: <SupportIcon />,
        //   text: "مدیریت تیکت ها",
        // },
      ];
    case "Jahad":
      return [
        // {
        //   route: ROUTES.ROUTE_JAHAD_KILLS_STATS,
        //   icon: <PieChart />,
        //   text: "آمار کشتار استان",
        // },
        {
          route: ROUTES.ROUTE_JAHAD_ILLEGALـKILLING,
          icon: <ErrorIcon />,
          text: "کشتار غیرمجاز",
        },
        {
          route: ROUTES.ROUTE_JAHAD_PRICING,
          icon: <PriceCheckIcon />,
          text: "قیمت روز",
        },
        // {
        //   route: ROUTES.ROUTE_JAHAD_FILES_STATE,
        //   icon: <AccountTreeIcon />,
        //   text: "پرونده های کشتار",
        // },
      ];
    case "ProvincialGovernment":
      return [
        // {
        //   route: ROUTES.ROUTE_JAHAD_KILLS_STATS,
        //   icon: <PieChart />,
        //   text: "آمار کشتار استان",
        // },
        {
          route: ROUTES.ROUTE_JAHAD_ILLEGALـKILLING,
          icon: <ErrorIcon />,
          text: "کشتار غیرمجاز",
        },
        {
          route: ROUTES.ROUTE_JAHAD_PRICING,
          icon: <PriceCheckIcon />,
          text: "قیمت روز",
        },
        // {
        //   route: ROUTES.ROUTE_JAHAD_FILES_STATE,
        //   icon: <AccountTreeIcon />,
        //   text: "پرونده های کشتار",
        // },
      ];
    case "Guilds":
      return [
        {
          route: ROUTES.ROUTE_SENF_INVENTORY,
          icon: <WarehouseIcon />,
          text: "انبار",
        },
        {
          route: ROUTES.ROUTE_GUILD_ROUTE_DEVICES,
          icon: <FaFax size={32} />,
          text: "مدیریت دستگاه‌ها",
        },
      ];
    case "Steward":
      return [
        {
          route: ROUTES.ROUTE_STEWARD_INVENTORY,
          icon: <WarehouseIcon />,
          text: "انبار",
        },
        {
          route: ROUTES.ROUTE_STEWARD_ROUTE_SUB_UNITS,
          icon: <Lan />,
          text: "زیر مجموعه ها",
        },
        {
          route: ROUTES.ROUTE_STEWARD_ROUTE_DEVICES,
          icon: <FaFax size={32} />,
          text: "مدیریت دستگاه‌ها",
        },
        // {
        //   route: ROUTES.ROUTE_STEWARD_MANAGE_GUILDS,
        //   icon: <Storefront />,
        //   text: "مدیریت اصناف",
        // },
      ];
    case "Commerce":
      return [
        // {
        //   route: ROUTES.ROUTE_COMMERCE_STATICS,
        //   icon: <PieChart />,
        //   text: "پروفایل آماری",
        // },
        {
          route: ROUTES.ROUTE_COMMERCE_ROUTE_MANAGE_GUILDS,
          icon: <Storefront />,
          text: "مدیریت اصناف",
        },
        {
          text: "مدیریت مباشرین",
          route: ROUTES.ROUTE_COMMERCE_ROUTE_MANAGE_STEWARDS,
          icon: <BadgeIcon />,
        },
        // {
        //   route: ROUTES.ROUTE_COMMERCE_ROUTE_FILES_STATE,
        //   icon: <AccountTreeIcon />,
        //   text: "پرونده های کشتار",
        // },
        {
          route: ROUTES.ROUTE_COMMERCE_ROUTE_ALLOCATIONS,
          icon: <FactCheckIcon />,
          text: "مدیریت بارها",
        },
        {
          route: ROUTES.ROUTE_COMMERCE_HATCHING,
          icon: <EggIcon />,
          text: "مدیریت جوجه ریزی",
        },
      ];
    case "ProvinceSupervisor":
      return [
        // {
        //   route: ROUTES.ROUTE_PROVINCE_SUPERVISOR_STATICS,
        //   icon: <PieChart />,
        //   text: "پروفایل آماری",
        // },
        // {
        //   route: ROUTES.ROUTE_PROVINCE_SUPERVISOR_ROUTE_FILES_STATE,
        //   icon: <AccountTreeIcon />,
        //   text: "پرونده های کشتار",
        // },
        {
          text: "داشبورد",
          route: ROUTES.ROUTE_PROVINCE_SUPERVISOR_DASHBOARD,
          icon: <SpaceDashboardIcon />,
        },
        {
          route: ROUTES.ROUTE_PROVINCE_SUPERVISORـHATCHINGS,
          icon: <EggIcon />,
          text: "مدیریت جوجه ریزی",
        },
        {
          route: ROUTES.ROUTE_PROVINCE_SUPERVISOR_ROUTE_ALLOCATIONS,
          icon: <FactCheckIcon />,
          text: "مدیریت بارها",
        },
        {
          text: "مدیریت بازرسی",
          route: ROUTES.ROUTE_PROVINCE_SUPERVISOR_ROUTE_INSPECTION,
          icon: <AssignmentTurnedInIcon />,
        },
        {
          route: ROUTES.ROUTE_PROVINCE_SUPERVISOR_ROUTE_MANAGE_GUILDS,
          icon: <Storefront />,
          text: "مدیریت اصناف",
        },
        {
          text: "مدیریت مباشرین",
          route: ROUTES.ROUTE_PROVINCE_ROUTE_MANAGE_STEWARDS,
          icon: <BadgeIcon />,
        },
        {
          text: "پایش کشوری",
          route: ROUTES.ROUTE_PROVINCE_SUPERVISOR_ROUTE_NATIONAL_INFO,
          icon: <TravelExplore />,
        },
        {
          route: ROUTES.ROUTE_PROVINCE_SUPERVISOR_REPORTING,
          icon: <AssessmentIcon />,
          text: "گزارشات",
        },
        {
          text: "قیمت روز",
          route: ROUTES.ROUTE_PROVINCE_SUPERVISOR_PRICING,
          icon: <PriceCheckIcon />,
        },
        {
          text: "مدیریت توزیع",
          route: ROUTES.ROUTE_PROVINCE_SUPERVISOR_DISPENSERS,
          icon: <ManageSearchIcon />,
        },
      ];
    case "CityCommerce":
      return [
        {
          route: ROUTES.ROUTE_CITY_COMMERCE_ROUTE_MANAGE_GUILDS,
          icon: <Storefront />,
          text: "مدیریت اصناف",
        },
        {
          text: "مدیریت مباشرین",
          route: ROUTES.ROUTE_CITY_COMMERCE_ROUTE_MANAGE_STEWARDS,
          icon: <BadgeIcon />,
        },
        // {
        //   route: ROUTES.ROUTE_CITY_COMMERCE_ROUTE_FILES_STATE,
        //   icon: <AccountTreeIcon />,
        //   text: "پرونده های کشتار",
        // },
        {
          route: ROUTES.ROUTE_CITY_COMMERCE_ROUTE_ALLOCATIONS,
          icon: <FactCheckIcon />,
          text: "مدیریت بارها",
        },
      ];
    case "CityVet":
      return [
        {
          text: "مدیریت جوجه ریزی",
          icon: <EggIcon />,
          route: ROUTES.ROUTE_CITYVET_HATCHING,
        },
        {
          route: ROUTES.ROUTE_CITYVET_ROUTE_ALLOCATIONS,
          icon: <FactCheckIcon />,
          text: "مدیریت بارها",
        },
        {
          route: ROUTES.ROUTE_CITYVET_REGISTER_INFO,
          icon: <VaccinesIcon />,
          text: "مدیریت فارم",
        },
      ];
    case "CityJahad":
      return [
        // {
        //   route: ROUTES.ROUTE_CITY_JIHAD_STATICS,
        //   icon: <PieChart />,
        //   text: "آمار و اطلاعات",
        // },
        // {
        //   route: ROUTES.ROUTE_CITY_JIHAD_ROUTE_FILES_STATE,
        //   icon: <AccountTreeIcon />,
        //   text: "پرونده های کشتار",
        // },
        {
          route: ROUTES.ROUTE_CITY_JIHAD_ROUTE_ALLOCATIONS,
          icon: <FactCheckIcon />,
          text: "مدیریت بارها",
        },
        {
          text: "مدیریت بازرسی",
          route: ROUTES.ROUTE_CITY_JIHAD_ROUTE_INSPECTION,
          icon: <AssignmentTurnedInIcon />,
        },
        {
          route: ROUTES.ROUTE_CITY_JIHAD_ROUTE_MANAGE_GUILDS,
          icon: <Storefront />,
          text: "مدیریت اصناف",
        },
        {
          text: "مدیریت مباشرین",
          route: ROUTES.ROUTE_CITY_JIHAD_ROUTE_MANAGE_STEWARDS,
          icon: <BadgeIcon />,
        },
        {
          route: ROUTES.ROUTE_CITY_JIHADـHATCHINGS,
          icon: <EggIcon />,
          text: "مدیریت جوجه ریزی",
        },
        {
          text: "مدیریت توزیع",
          route: ROUTES.ROUTE_CITY_JIHAD_DISPENSERS,
          icon: <ManageSearchIcon />,
        },
      ];
    case "Observatory":
      return [
        // {
        //   route: ROUTES.ROUTE_OBSERVATORY_STATICS,
        //   icon: <PieChart />,
        //   text: "آمار و اطلاعات",
        // },

        {
          route: ROUTES.ROUTE_OBSERVATORY_VISOR_STATICS,
          icon: <QueryStatsIcon />,
          text: "تحلیل داده",
        },
      ];
    case "GuildRoom":
      return [
        {
          route: ROUTES.ROUTE_GUILD_ROOM_ROUTE_MANAGE_GUILDS,
          icon: <Storefront />,
          text: "اتاق اصناف",
        },
      ];
    case "PosCompany":
      return [
        {
          route: ROUTES.ROUTE_PSP_ROUTE_COMPANY_PSP_COMPANIES,
          icon: <Storefront />,
          text: "اتاق اصناف",
        },
      ];
    case "LiveStockSupport":
      return [
        {
          route: ROUTES.ROUTE_LIVE_STOCK_SUPPORT_MANAGE_BARS,
          icon: <FactCheckIcon />,
          text: "مدیریت بارها",
        },
        // {
        //   route: ROUTES.ROUTE_LIVE_STOCK_SUPPORT_ROUTE_FILES_STATE,
        //   icon: <AccountTreeIcon />,
        //   text: "پرونده های کشتار",
        // },
        {
          route: ROUTES.ROUTE_LIVE_STOCK_FREEZING_REQUESTS,
          icon: <KitchenIcon />,
          text: "درخواست های انجماد",
        },
        {
          route: ROUTES.ROUTE_LIVE_STOCK_COLD_HOUSE,
          icon: <AcUnitIcon />,
          text: "سردخانه",
        },
      ];
    case "SuperAdmin":
      return [
        {
          text: "داشبورد",
          route: ROUTES.ROUTE_SUPER_ADMIN_DASHBOARD,
          icon: <SpaceDashboardIcon />,
        },
        {
          text: "درخواست های کشتار",
          route: ROUTES.ROUTE_SUPER_ADMIN_CITY_NEW_REQUESTS,
          icon: <AssignmentIcon />,
        },
        {
          text: "تخصیص",
          route: ROUTES.ROUTE_SUPER_ADMIN_ALLOCATION_REQUESTS,
          icon: <AssignmentTurnedInIcon />,
        },
        {
          text: "مدیریت کشتار",
          icon: <ManageAccountsIcon />,
          route: ROUTES.ROUTE_SUPER_ADMIN_HATCHING,
        },
        {
          text: "مدیریت جوجه ریزی",
          icon: <EggIcon />,
          route: ROUTES.ROUTE_SUPER_ADMINـHATCHINGS,
        },
        {
          text: "اختلاف کشتار",
          route: ROUTES.ROUTE_SUPER_ADMIN_DIFFRENCE_KILLER,
          icon: <ReportProblemIcon />,
        },
        {
          text: "اعلام نیاز خریداران",
          route: ROUTES.ROUTE_SUPER_ADMIN_STATEMENTـOFـNEED_REQUESTS,
          icon: <CampaignIcon />,
        },
        {
          text: "خرید مستقیم",
          route: ROUTES.ROUT_SUPER_ADMIN_FREE_BUY,
          icon: <ShoppingBasket />,
        },
        {
          text: "پنل معاملات",
          route: ROUTES.ROUTE_SUPER_ADMIN_TRADING_PANEL,
          icon: <AccountBalanceWalletIcon />,
        },
        {
          text: "فروش به خارج استان",
          route: ROUTES.ROUTE_SUPER_ADMIN_FREE_SALES_REQUESTS,
          icon: <LocalShippingIcon />,
        },
        {
          text: "زنجیره ها",
          route: ROUTES.ROUTE_SUPER_ADMIN_CHAINS,
          icon: <DeviceHubIcon />,
        },
        {
          text: "تعرفه ها",
          route: ROUTES.ROUTE_SUPER_ADMIN_PAYING_FEES_REQUESTS,
          icon: <AttachMoneyIcon />,
        },
        {
          text: "پایش کشوری",
          route: ROUTES.ROUTE_SUPER_ADMIN_ROUTE_NATIONAL_INFO,
          icon: <TravelExplore />,
        },
        {
          text: "تعرفه زیربخش ها",
          route: ROUTES.ROUTE_SUPER_ADMIN_SUB_SECTORS_WAGE,
          icon: <MoneyIcon />,
        },
        {
          text: "تسویه حساب",
          route: ROUTES.ROUTE_SUPER_ADMIN_SETTLEMENTS,
          icon: <Payment />,
        },
        {
          text: "صادرات",
          route: ROUTES.ROUTE_SUPER_ADMIN_EXPORT,
          icon: <FlightTakeoffIcon />,
        },
        {
          text: "مدیریت تخصیصات",
          route: ROUTES.ROUTE_SUPER_ADMIN_ALLOCATED_REQUESTS,
          icon: <AssignmentTurnedInIcon />,
        },
        {
          text: "تخصیصات خودکار",
          route: ROUTES.ROUTE_SUPER_ADMIN_AUTO_ALLOCATION_REQUESTS,
          icon: <AutorenewIcon />,
        },
        {
          text: "صدور نامه",
          route: ROUTES.ROUTE_SUPER_ADMIN_ISSUANCE_OF_LETTER,
          icon: <MarkEmailReadIcon />,
        },
        // {
        //   text: "تراکنش ها",
        //   route: ROUTES.ROUTE_SUPER_ADMIN_TRANSACTIONS,
        //   icon: <CompareArrowsIcon />,
        // },
        {
          text: "تحلیل داده",
          icon: <QueryStatsIcon />,
          route: ROUTES.ROUTE_SUPER_ADMIN_VISOR_STATICS,
        },
        {
          text: "کارشناسان علوم دام",
          route: ROUTES.ROUTE_SUPER_ADMIN_POULTRY_LIVESTOCK_EXPERTS,
          icon: <Engineering />,
        },
        {
          text: "قیمت روز",
          icon: <PriceCheckIcon />,
          route: ROUTES.ROUTE_SUPER_ADMIN_PRICING3,
        },
        // {
        //   text: "آمار و اطلاعات",
        //   icon: <PieChart />,
        //   route: ROUTES.ROUTE_SUPER_ADMIN_STATICS,
        // },
        {
          text: "گزارشات",
          icon: <AssessmentIcon />,
          route: ROUTES.ROUTE_SUPER_ADMIN_REPORT,
        },

        {
          text: "مدیریت فرآیند",
          route: ROUTES.ROUTE_SUPER_ADMIN_ROUTE_MANAGE_PROCESS,
          icon: <SettingsSuggestIcon />,
        },
        // {
        //   text: "پرونده های کشتار",
        //   icon: <AccountTreeIcon />,
        //   route: ROUTES.ROUTE_SUPER_ADMIN_ROUTE_FILES_STATE,
        // },
        {
          text: "مدیریت بارها",
          icon: <FactCheckIcon />,
          route: ROUTES.ROUTE_SUPER_ADMIN_ROUTE_ALLOCATIONS,
        },
        {
          text: "مدیریت بازرسی",
          route: ROUTES.ROUTE_SUPER_ADMIN_ROUTE_INSPECTION,
          icon: <AssignmentTurnedInIcon />,
        },
        {
          text: "مدیریت توزیع",
          icon: <ManageSearchIcon />,
          route: ROUTES.ROUTE_SUPER_ADMIN_DISPENSERS,
        },
        {
          text: "مدیریت اصناف",
          icon: <Storefront />,
          route: ROUTES.ROUTE_SUPER_ADMIN_ROUTE_MANAGE_GUILDS,
        },
        {
          text: "مدیریت مباشرین",
          route: ROUTES.ROUTE_SUPER_ADMIN_ROUTE_MANAGE_STEWARDS,
          icon: <BadgeIcon />,
        },
        {
          text: "مدیریت سردخانه ها",
          icon: <AcUnitIcon />,
          route: ROUTES.ROUTE_SUPER_ADMIN_COLD_HOUSES,
        },
        {
          route: ROUTES.ROUTE_SUPER_ADMIN_ROUTE_PSP_COMPANIES,
          icon: <Storefront />,
          text: "شرکت‌های پرداخت الکترونیک",
        },
        {
          text: "خودروها",
          icon: <DriveEta />,
          route: ROUTES.ROUTE_SUPER_ADMIN_CARS,
        },
        {
          text: "کاربران",
          icon: <PeopleIcon />,
          route: ROUTES.ROUTE_SUPER_ADMIN_USERS,
        },
        // {
        //   text: "مدیریت تراکنش ها",
        //   icon: <ReceiptLongIcon />,
        //   route: ROUTES.ROUTE_SUPER_ADMIN_GUILD_TRANSACTIONS,
        // },
        {
          text: "مدیریت فارم ها",
          icon: <FactCheckIcon />,
          route: ROUTES.ROUTE_SUPER_ADMIN_POULTRIES,
        },
        {
          text: "خریداران",
          icon: <ShoppingBagIcon />,
          route: ROUTES.ROUTE_SUPER_ADMIN_SLAUGHTERS,
        },
        {
          text: "محصولات",
          icon: <InventoryIcon />,
          route: ROUTES.ROUTE_SUPER_ADMIN_PRODUCTS,
        },
        {
          text: "دامپزشکان",
          icon: <MedicalServicesIcon />,
          route: ROUTES.ROUTE_SUPER_ADMIN_ASSIGN_VET_FARM,
        },
        {
          text: "پنل اطلاع رسانی",
          icon: <NotificationsIcon />,
          route: ROUTES.ROUTE_SUPER_ADMIN_ROUTE_SMS,
        },
        {
          text: "خریدهای بازگشتی",
          route: ROUTES.ROUTE_SUPER_ADMIN_RETURN_PURCHASES,
          icon: <AssignmentReturn />,
        },
      ];
    case "ChainCompany":
      return [
        {
          text: "مرغداران زیرمجموعه",
          route: ROUTES.ROUTE_CHAIN_COMPANY_POULTRIES,
          icon: <WarehouseIcon />,
        },
        {
          text: "مدیریت بارها",
          route: ROUTES.ROUTE_CHAIN_COMPANY_MANAGE_BARS,
          icon: <FactCheckIcon />,
        },
        {
          text: "مدیریت تعرفه",
          route: ROUTES.ROUTE_CHAIN_COMPANY_MANAGE_FEES,
          icon: <AttachMoneyIcon />,
        },
      ];
    case "Supporter":
      return [
        {
          text: "مدیریت بارها",
          route: ROUTES.ROUTE_SUPPORTER_ROUTE_ALLOCATIONS,
          icon: <FactCheckIcon />,
        },
        {
          text: "مدیریت جوجه ریزی",
          route: ROUTES.ROUTE_SUPPORTERـHATCHINGS,
          icon: <EggIcon />,
        },
      ];
    case "CityPoultry":
      return [
        {
          text: "مدیریت کشتار",
          icon: <ManageAccountsIcon />,
          route: ROUTES.ROUTE_CITY_POULTRY_HATCHING,
        },
        // {
        //   text: "آمار و اطلاعات",
        //   icon: <PieChart />,
        //   route: ROUTES.ROUTE_CITY_POULTRY_STATICS,
        // },
        // {
        //   text: "پرونده های کشتار",
        //   icon: <AccountTreeIcon />,
        //   route: ROUTES.ROUTE_CITY_POULTRY_ROUTE_FILES_STATE,
        // },
        {
          text: "مدیریت جوجه ریزی",
          icon: <EggIcon />,
          route: ROUTES.ROUTE_CITY_POULTRYـHATCHINGS,
        },
        {
          text: "مدیریت بارها",
          icon: <FactCheckIcon />,
          route: ROUTES.ROUTE_CITY_POULTRY_ROUTE_ALLOCATIONS,
        },
        {
          text: "مدیریت اصناف",
          icon: <Storefront />,
          route: ROUTES.ROUTE_CITY_POULTRY_ROUTE_MANAGE_GUILDS,
        },
        {
          text: "مدیریت مباشرین",
          route: ROUTES.ROUTE_CITY_POULTRY_ROUTE_MANAGE_STEWARDS,
          icon: <BadgeIcon />,
        },
        // {
        //   text: "مدیریت توزیع",
        //   icon: <CoPresentIcon />,
        //   route: ROUTES.ROUTE_CITY_DISPENSERS,
        // },
      ];
    case "ParentCompany":
      return [
        {
          text: "تعرفه ها",
          route: ROUTES.ROUTE_PARENT_COMPANY_PAYING_FEES_REQUESTS,
          icon: <AttachMoneyIcon />,
        },
        {
          text: "مدیریت بارها",
          route: ROUTES.ROUTE_PARENT_COMPANY_ALLOCATIONS,
          icon: <FactCheckIcon />,
        },
      ];
    case "ColdHouseSteward":
      return [
        {
          text: "سردخانه",
          route: ROUTES.ROUTE_COLD_HOUSE_STEWARD_MORGUE,
          icon: <AcUnitIcon />,
        },
      ];
    case "ProteinGuild":
      return [];

    default:
      return [];
  }
};
