1import{p as c,q as m,j as e,L as p,N as u,s as l,O as d}from"./index-CB1LRsvg.js";import{W as b}from"./WorkspaceBreadcrumbs-D1n3jZND.js";import{I as g}from"./IconUsers-D7UWYmlL.js";import{I as x}from"./IconDatabase-BZlekyNS.js";import{S as f}from"./SidebarLayout-ByhsyYsV.js";import{P as j}from"./PageHeader-Cn1NvYjo.js";import"./Breadcrumbs-Jo-mBNaQ.js";import"./layout-2mrj5SBU.js";import"./Container-Bk7wpkPw.js";import"./Collapse-DQjkuvle.js";import"./Card-DwzWyE8m.js";function M(){const{workspace:s}=c(),r=`/${s}/settings`,{capability:o,loading:t}=m(s),a=!t&&o==="manage";if(t)return e.jsx(p,{visible:!0});if(!a)return e.jsx(u,{to:`/${s}`,replace:!0});const i=[{label:"General",to:`${r}/general`,icon:e.jsx(l,{size:16,"aria-hidden":!0}),show:a},{label:"Members",to:`${r}/members`,icon:e.jsx(g,{size:16,"aria-hidden":!0}),show:a},{label:"Datasources",to:`${r}/datasources`,icon:e.jsx(x,{size:16,"aria-hidden":!0}),show:a}].filter(n=>n.show);return e.jsx(f,{navLabel:"Workspace settings",items:i,header:e.jsx(j,{breadcrumbs:e.jsx(b,{workspace:s,current:"Settings"}),title:"Workspace Settings"}),children:e.jsx(d,{})})}export{M as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.