import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{Dvt as t,Let as n,Mvt as r,Rft as i,SO as a,Vft as o,Xr as s,Zr as c,bO as l,ii as u,oi as d,ztt as f}from"./app-initial-BHB6SClA.js";import{n as p,t as m}from"./plugins-page-BwYsCaTY.js";function h(e){let t=(0,g.c)(7),{manageOnly:r}=e===void 0?{}:e,i=r===void 0?!1:r,{selectedHostId:c}=a(),l=i?`mcps`:`plugins`,d;t[0]!==c||t[1]!==l?(d=(0,_.jsx)(m,{directoryEntrypoint:n.CODEX_PLUGIN_DIRECTORY_ENTRYPOINT_SETTINGS,headerPlacement:`none`,hostId:c,initialManageTab:l,manageOnly:!0}),t[0]=c,t[1]=l,t[2]=d):d=t[2];let f=d;if(i)return f;let p,h;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,_.jsx)(s,{slug:`plugins-settings`}),h=(0,_.jsx)(o,{id:`settings.section.plugins-settings.subtitle`,defaultMessage:`Manage plugins, skills, and MCPs`,description:`Subtitle for the combined plugins settings section`}),t[3]=p,t[4]=h):(p=t[3],h=t[4]);let v;return t[5]===f?v=t[6]:(v=(0,_.jsx)(u,{title:p,subtitle:h,children:f}),t[5]=f,t[6]=v),v}var g,_,v=e((()=>{g=r(),f(),i(),p(),d(),l(),c(),_=t()}));export{v as n,h as t};
//# sourceMappingURL=plugins-settings-CdnQDUml.js.map