import{t as e}from"./jsx-runtime-CiQ1k8xo.js";import{t}from"./clsx-BcPLHiun.js";import{lt as n}from"./vscode-api-DjORcpSo.js";import{n as r}from"./dist-CVLmMoVW.js";var i={expandedTopTrayShell:`_expandedTopTrayShell_ly16b_1`,expandedTopTrayInFlowShell:`_expandedTopTrayInFlowShell_ly16b_9`,expandedTopTrayPanel:`_expandedTopTrayPanel_ly16b_14`,paddedBodyExpandedTopTrayPanel:`_paddedBodyExpandedTopTrayPanel_ly16b_49`,embeddedExpandedTopTrayPanel:`_embeddedExpandedTopTrayPanel_ly16b_53`},a=n(),o=e();function s(e){let n=(0,a.c)(12),r,s,c,l;n[0]===e?(r=n[1],s=n[2],c=n[3],l=n[4]):({className:r,expandedTopTray:c,inFlow:l,...s}=e,n[0]=e,n[1]=r,n[2]=s,n[3]=c,n[4]=l);let u=c===void 0?!1:c,d=l===void 0?!1:l,f=u&&i.expandedTopTrayShell,p=u&&d&&i.expandedTopTrayInFlowShell,m;n[5]!==r||n[6]!==f||n[7]!==p?(m=t(f,p,r),n[5]=r,n[6]=f,n[7]=p,n[8]=m):m=n[8];let h;return n[9]!==s||n[10]!==m?(h=(0,o.jsx)(`div`,{...s,className:m}),n[9]=s,n[10]=m,n[11]=h):h=n[11],h}function c(e){let n=(0,a.c)(9),{children:r,className:s,containerRef:c,embedded:l,expandedTopTray:u,paddedBody:d}=e,f=l===void 0?!1:l,p=u===void 0?!1:u,m=d===void 0?!1:d,h=p&&i.expandedTopTrayPanel,g=p&&f&&i.embeddedExpandedTopTrayPanel,_=p&&m&&i.paddedBodyExpandedTopTrayPanel,v;n[0]!==s||n[1]!==h||n[2]!==g||n[3]!==_?(v=t(h,g,_,s),n[0]=s,n[1]=h,n[2]=g,n[3]=_,n[4]=v):v=n[4];let y;return n[5]!==r||n[6]!==c||n[7]!==v?(y=(0,o.jsx)(`div`,{ref:c,className:v,children:r}),n[5]=r,n[6]=c,n[7]=v,n[8]=y):y=n[8],y}function l(e){let n=(0,a.c)(15),s,c,l,u;n[0]===e?(s=n[1],c=n[2],l=n[3],u=n[4]):({className:s,contentClassName:c,expandedTopTray:u,...l}=e,n[0]=e,n[1]=s,n[2]=c,n[3]=l,n[4]=u);let d=u===void 0?!1:u,f=d&&i.expandedTopTrayPanel,p;n[5]!==s||n[6]!==f?(p=t(f,s),n[5]=s,n[6]=f,n[7]=p):p=n[7];let m=d&&i.expandedTopTrayShell,h;n[8]!==c||n[9]!==m?(h=t(m,c),n[8]=c,n[9]=m,n[10]=h):h=n[10];let g;return n[11]!==l||n[12]!==p||n[13]!==h?(g=(0,o.jsx)(r.Dialog,{...l,className:p,contentClassName:h}),n[11]=l,n[12]=p,n[13]=h,n[14]=g):g=n[14],g}export{c as n,s as r,l as t};
//# sourceMappingURL=composer-top-menu-chrome-CZ0USGCZ.js.map