import{h as o}from"./p-083180bf.js";import{c as r}from"./p-cef45012.js";const s=r({Container:{display:"flex",color:"var(--sl-color-neutral-600)"},Text:{maxWidth:"400px",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis"},Link:{textDecoration:"none",color:"var(--sl-color-primary-700)",cursor:"pointer","&:hover":{color:"var(--sl-color-primary-800)"}}}),l=s.toString();function n(r){const{loading:n,filledInEmailText:e,onSwitchClick:t,switchUserText:i,emailErrorText:a}=r;return o("span",{class:s.classes.Container,part:"sqm-base"},o("style",{type:"text/css"},l,"\n:host, sqm-logout-current-user{\n  display: inline;   \n}\n\n"),o("span",{class:s.classes.Text},n?"...":e||a)," ","(",o("span",{class:s.classes.Link,onClick:t,part:"sqm-link"},i),")")}export{n as L}