import{t as e}from"./jsx-runtime-CiQ1k8xo.js";import{t}from"./clsx-BcPLHiun.js";import{lt as n}from"./vscode-api-DjORcpSo.js";var r=n(),i=e();function a(e){let n=(0,r.c)(9),{children:a,className:o,variant:s}=e,c=s===void 0?`default`:s,l=c===`default`?`border border-token-border`:`bg-token-bg-secondary`,u;n[0]!==o||n[1]!==l?(u=t(`flex flex-col divide-y-[0.5px] divide-token-border overflow-hidden rounded-lg`,l,o),n[0]=o,n[1]=l,n[2]=u):u=n[2];let d;n[3]===c?d=n[4]:(d=c===`default`?{backgroundColor:`var(--color-background-panel, var(--color-token-bg-fog))`}:void 0,n[3]=c,n[4]=d);let f;return n[5]!==a||n[6]!==u||n[7]!==d?(f=(0,i.jsx)(`div`,{className:u,style:d,children:a}),n[5]=a,n[6]=u,n[7]=d,n[8]=f):f=n[8],f}function o(e){let n=(0,r.c)(6),{children:a,id:o,className:s}=e,c;n[0]===s?c=n[1]:(c=t(`flex flex-col`,s),n[0]=s,n[1]=c);let l;return n[2]!==a||n[3]!==o||n[4]!==c?(l=(0,i.jsx)(`section`,{id:o,className:c,children:a}),n[2]=a,n[3]=o,n[4]=c,n[5]=l):l=n[5],l}function s(e){let n=(0,r.c)(20),{title:a,subtitle:o,actions:s,className:c,titleGap:l}=e,u=l===void 0?`default`:l,d=a!=null,f=o!=null;if(!d&&!f&&s==null){let e;return n[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,i.jsx)(i.Fragment,{}),n[0]=e):e=n[0],e}let p=f?`flex items-start justify-between gap-2 px-0 pt-[calc((var(--height-toolbar)-1.5rem)/2)]`:`flex h-toolbar items-center justify-between gap-2 px-0 py-0`,m;n[1]!==c||n[2]!==p?(m=t(p,c),n[1]=c,n[2]=p,n[3]=m):m=n[3];let h=u===`none`?`gap-0`:`gap-1`,g;n[4]===h?g=n[5]:(g=t(`flex min-w-0 flex-1 flex-col`,h),n[4]=h,n[5]=g);let _;n[6]===a?_=n[7]:(_=a?(0,i.jsx)(`div`,{className:`text-base font-medium text-token-text-primary`,children:a}):null,n[6]=a,n[7]=_);let v;n[8]===o?v=n[9]:(v=o?(0,i.jsx)(`div`,{className:`text-base font-normal text-token-text-tertiary`,children:o}):null,n[8]=o,n[9]=v);let y;n[10]!==g||n[11]!==_||n[12]!==v?(y=(0,i.jsxs)(`div`,{className:g,children:[_,v]}),n[10]=g,n[11]=_,n[12]=v,n[13]=y):y=n[13];let b;n[14]===s?b=n[15]:(b=s?(0,i.jsx)(`div`,{className:`flex items-center gap-2`,children:s}):null,n[14]=s,n[15]=b);let x;return n[16]!==m||n[17]!==y||n[18]!==b?(x=(0,i.jsxs)(`div`,{className:m,children:[y,b]}),n[16]=m,n[17]=y,n[18]=b,n[19]=x):x=n[19],x}function c(e){let n=(0,r.c)(5),{children:a,className:o}=e,s;n[0]===o?s=n[1]:(s=t(`flex flex-col gap-1.5`,o),n[0]=o,n[1]=s);let c;return n[2]!==a||n[3]!==s?(c=(0,i.jsx)(`div`,{className:s,children:a}),n[2]=a,n[3]=s,n[4]=c):c=n[4],c}var l=Object.assign(o,{Header:s,Content:c});export{a as n,l as t};
//# sourceMappingURL=settings-group-sezdm9FP.js.map