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{t as r}from"./arrow-up-COA6jJxN.js";var i={waveDot:`_waveDot_1y69c_22`,"working-dot-wave":`_working-dot-wave_1y69c_1`},a=n(),o=e();function s(e){let n=(0,a.c)(12),{className:s,label:c,onClick:l,show:u,showWorkingDots:d}=e,f=d===void 0?!1:d,p=u?`opacity-100`:`pointer-events-none opacity-0`,m;n[0]!==s||n[1]!==p?(m=t(`cursor-interaction absolute z-30 flex h-8 w-8 translate-x-1/2 items-center justify-center rounded-full border border-token-border-default bg-token-main-surface-primary bg-clip-padding text-token-text-secondary transition-opacity duration-150 ease-in-out end-1/2 print:hidden`,p,s),n[0]=s,n[1]=p,n[2]=m):m=n[2];let h=!u,g=u?void 0:-1,_=u?l:void 0,v;n[3]===f?v=n[4]:(v=f?(0,o.jsxs)(`span`,{"aria-hidden":!0,className:`flex items-center justify-center gap-1`,children:[(0,o.jsx)(`span`,{className:t(`h-1 w-1 rounded-full bg-token-text-primary/70`,i.waveDot)}),(0,o.jsx)(`span`,{className:t(`h-1 w-1 rounded-full bg-token-text-primary/70`,i.waveDot)}),(0,o.jsx)(`span`,{className:t(`h-1 w-1 rounded-full bg-token-text-primary/70`,i.waveDot)})]}):(0,o.jsx)(r,{className:`icon rotate-180 text-token-text-primary`}),n[3]=f,n[4]=v);let y;return n[5]!==c||n[6]!==m||n[7]!==h||n[8]!==g||n[9]!==_||n[10]!==v?(y=(0,o.jsx)(`button`,{className:m,"aria-hidden":h,"aria-label":c,tabIndex:g,type:`button`,onClick:_,children:v}),n[5]=c,n[6]=m,n[7]=h,n[8]=g,n[9]=_,n[10]=v,n[11]=y):y=n[11],y}export{s as t};
//# sourceMappingURL=scroll-to-bottom-buton-D2XP2Pcu.js.map