136/16}rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: ${48/16}rem;
  border: 1px solid ${({theme:s})=>s.colors.neutral150};
  border-radius: ${({theme:s})=>s.borderRadius};
  text-decoration: inherit;
  &:link {
    text-decoration: none;
  }
  color: ${({theme:s})=>s.colors.neutral600};
`,I=(0,f.ZP)(o.k)`
  & a:not(:first-child):not(:last-child) {
    margin: 0 ${({theme:s})=>s.spaces[2]};
  }
  & a:first-child {
    margin-right: ${({theme:s})=>s.spaces[2]};
  }
  & a:last-child {
    margin-left: ${({theme:s})=>s.spaces[2]};
  }
`,c=({provider:s})=>e.createElement(_.u,{label:s.displayName},e.createElement(T,{href:`${window.strapi.backendURL}/admin/connect/${s.uid}`},s.icon?e.createElement("img",{src:s.icon,"aria-hidden":!0,alt:"",height:"32px"}):e.createElement(p.Z,null,s.displayName)));c.propTypes={provider:r().shape({icon:r().string,displayName:r().string.isRequired,uid:r().string.isRequired}).isRequired};const d=({providers:s,displayAllProviders:g})=>{const{formatMessage:R}=(0,y.Z)();return g?e.createElement(M.r,{gap:4},s.map(n=>e.createElement(A.P,{key:n.uid,col:4},e.createElement(c,{provider:n})))):s.length>2&&!g?e.createElement(M.r,{gap:4},s.slice(0,2).map(n=>e.createElement(A.P,{key:n.uid,col:4},e.createElement(c,{provider:n}))),e.createElement(A.P,{col:4},e.createElement(_.u,{label:R({id:"global.see-more"})},e.createElement(T,{as:v.rU,to:"/auth/providers"},e.createElement("span",{"aria-hidden":!0},"\u2022\u2022\u2022"))))):e.createElement(I,{justifyContent:"center"},s.map(n=>e.createElement(c,{key:n.uid,provider:n})))};d.defaultProps={displayAllProviders:!0},d.propTypes={providers:r().arrayOf(r().object).isRequired,displayAllProviders:r().bool},L.Z=d}}]);
