PageSourceSearch

https://console.chainguard.dev/assets/UserDetails-C74O61nU.js

js chainguard.dev collected 2026-09-24 09:02:41 UTC 2,443 bytes, 1 lines download raw bytes

1import{u as m,G as j,j as e,c3 as f,D as h,f as g,Q as v,v as A,i as a,T as n,$ as I,c4 as y,t as l,A as b,q as T,as as i,c5 as C}from"./index-BFAzTc87.js";import{D}from"./Datetime-5HUB9J4s.js";import{R as P}from"./RolesTable-XWtWqmUH.js";import"./layout-BXIt6ryk.js";import"./RoleDetails-C746j2J1.js";import"./DataGridPro-DwnxgDkm.js";import"./index-CT-mnHo1.js";import"./index-Chjiymov.js";import"./Checkbox-D2nrjcz_.js";import"./SwitchBase-CDKKcANQ.js";import"./FormControlLabel-BnSgyKWg.js";import"./KeyboardArrowRight-CJxjxRTq.js";import"./LastPage-CdX0zvFz.js";import"./TableCell-Cijt1D0S.js";import"./LinearProgress-3WWvScKz.js";import"./TableRow-CwDqc4E0.js";const S=({id:o})=>{const{_:s}=m(),{usersMap:u,usersFetching:p}=g();if(p)return e.jsx(v,{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",children:e.jsx(A,{"aria-label":s({id:"PW9LST"})})});const t=u.get(o);if(!t)return e.jsx(a,{children:e.jsx(n,{id:"siJgSI"})});const x=t.roles.map(({folderName:r,...c})=>({role:c,folderName:r===I?"":r,roleBindingId:c.roleBindingId})),d=t.meta?.reason==="social-provider"&&t.meta.content?y(t.meta.content)?.Icon:void 0;return e.jsxs(l,{sx:{gap:2},children:[t.meta&&!t.meta.hideAlert&&e.jsxs(b,{severity:t.meta.severity??"info",children:[t.meta.title&&e.jsx(T,{children:t.meta.title}),t.meta.content]}),e.jsx(i,{label:s({id:"S0kLOH"}),autoComplete:"off",clipboardText:t.id,monospaced:!0,readOnly:!0,value:t.id}),e.jsx(i,{label:s({id:"6YtxFj"}),autoComplete:"off",monospaced:!0,readOnly:!0,value:t.displayName}),t.claimsInfo?.issuer&&e.jsx(i,{label:s({id:"x2A79O"}),autoComplete:"off",monospaced:!0,readOnly:!0,value:t.claimsInfo.issuer}),t.claimsInfo?.subject&&e.jsx(i,{label:s({id:"UJmAAK"}),autoComplete:"off",monospaced:!0,readOnly:!0,value:t.claimsInfo.subject,slotProps:{input:{startAdornment:d?e.jsx(C,{position:"start",children:e.jsx(d,{sx:r=>({...r.mixins.logo})})}):void 0}}}),t.createdAt&&e.jsxs(l,{children:[e.jsx(a,{variant:"caption",color:"text.secondary",gutterBottom:!0,children:e.jsx(n,{id:"d-F6q9"})}),e.jsx(D,{date:t.createdAt,variant:"body2"})]}),e.jsxs(l,{sx:{gap:1,mt:2},children:[e.jsx(a,{variant:"title1",children:e.jsx(n,{id:"5dJK4M"})}),e.jsx(P,{roles:x})]})]})},G=()=>{const{_:o}=m(),{id:s}=j();
1if(!s)throw new Error("Params 'id' is required.");return e.jsx(f,{children:e.jsx(h,{onCloseNavigateTo:"/",title:o({id:"TkiN8D"}),children:e.jsx(S,{id:s})})})};export{G as UserDetails,G as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.