import{ay as i,j as e,S as n,T as t,O as l,q as m,cC as p,d as c}from"./main-D6SjkSWq.js";import{u as d}from"./use-admin-settings-page-nav-config-Dh1PETIB.js";import{D as x}from"./datatable-page-with-header-layout-BuTOEIJh.js";import"./admin-config-CcVyOMQ2.js";import"./globe-Bnh5BiEZ.js";import"./sticky-note-8BXAdCdJ.js";import"./tags-HILWsbVi.js";import"./dashboard-layout-context-C1ErlVWg.js";function S(){const a=i();return e.jsxs(e.Fragment,{children:[e.jsx(n,{children:e.jsx(t,{message:"Settings"})}),!a&&e.jsx(g,{}),e.jsx(l,{})]})}function g(){const{pathname:a}=m(),o=d();return e.jsxs("div",{className:"dashboard-rounded-panel dashboard-grid-sidenav-left-2 flex w-256 flex-col lg:mr-8",children:[e.jsx(x,{title:e.jsx(t,{message:"Settings"}),showSidebarToggleButton:!0}),e.jsx("div",{className:"compact-scrollbar flex-auto overflow-y-auto p-12 md:py-24",children:o.map(s=>e.jsx(p,{to:s.to,state:{prevPath:a},className:({isActive:r})=>c("mb-8 block whitespace-nowrap rounded-panel px-12 py-8 text-sm transition-bg-color",r?"bg-primary/6 font-semibold text-primary":"hover:bg-hover"),children:e.jsx(t,{...s.label})},s.to))})]})}export{S as Component};
