PageSourceSearch

https://freelacerto.com/assets/AssessorContratantes-CLVBotBE.js

js freelacerto.com collected 2026-09-24 14:43:42 UTC 2,767 bytes, 1 lines download raw bytes

1import{j as e}from"./index--siChAZm.js";import{M as t}from"./assessorMock-BXBmQFNO.js";import{J as i,T as n,a as l,u as o,a3 as d,r as c}from"./icons-BCLA8W0j.js";import{u as g}from"./react-vendor-B-clOVnp.js";function x({modo:r}){const a={direta:{label:"Gestão Direta",bg:"#d1fae5",cor:"#065f46"},aprovada:{label:"Gestão Aprovada",bg:"#fef9c3",cor:"#854d0e"}}[r]||{label:r,bg:"#f1f5f9",cor:"#475569"};return e.jsx("span",{style:{fontSize:11,fontWeight:700,padding:"2px 8px",borderRadius:99,background:a.bg,color:a.cor,textTransform:"uppercase",letterSpacing:"0.04em"},children:a.label})}function u(){const r=g();return e.jsxs("div",{style:{maxWidth:820,margin:"0 auto",padding:"0 4px"},children:[e.jsx("h1",{style:{margin:"0 0 18px",fontSize:18,fontWeight:800,color:"#0f172a"},children:"Contratantes"}),e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:10},children:t.map(s=>e.jsxs("button",{onClick:()=>r(`/assessor/contratante/${s.id}`),style:{background:"#fff",border:"1px solid #e2e8f0",borderRadius:14,padding:"16px 18px",textAlign:"left",cursor:"pointer",boxShadow:"0 1px 4px rgba(0,0,0,0.06)",display:"flex",alignItems:"center",gap:14,width:"100%",transition:"box-shadow 0.15s"},onMouseEnter:a=>a.currentTarget.style.boxShadow="0 4px 16px rgba(0,0,0,0.11)",onMouseLeave:a=>a.currentTarget.style.boxShadow="0 1px 4px rgba(0,0,0,0.06)",children:[e.jsx("div",{style:{width:44,height:44,borderRadius:10,background:"#f1f5f9",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:e.jsx(i,{size:20,color:"#031D44"})}),e.jsxs("div",{style:{flex:1,minWidth:0},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,flexWrap:"wrap"},children:[e.jsx("span",{style:{fontWeight:700,fontSize:14,color:"#0f172a"},children:s.nome}),e.jsx(x,{modo:s.autonomia}),s.alertas.length>0?e.jsxs("span",{style:{background:"#fef2f2",color:"#ef4444",border:"1px solid #fecaca",fontSize:11,fontWeight:700,borderRadius:99,padding:"2px 7px"},children:[e.jsx(n,{size:10,style:{verticalAlign:"middle",marginRight:2}}),s.alertas.length," alerta",s.alertas.length>1?"s":""]}):e.jsxs("span",{style:{display:"flex",alignItems:"center",gap:3,fontSize:11,color:"#10b981"},children:[e.jsx(l,{size:12})," OK"]})]}),e.jsx("div",{style:{fontSize:12,color:"#94a3b8",marginTop:2},children:s.endereco}),e.jsxs("div",{style:{display:"flex",gap:14,marginTop:6,fontSize:12,color:"#64748b"},children:[e.jsxs("span",{children:[e.jsx(o,{size:11,style:{verticalAlign:"middle",marginRight:3}}),s.escalasHoje," escala",s.escalasHoje!==1?"s":""," hoje"]}),e.jsxs("span",{children:[e.jsx(d,{size:11,style:{verticalAlign:"middle",marginRight:3}}),s.equipe.length," freelancers"]})]})]}),e.jsx(c,{size:18,color:"#cbd5e1"})]},s.id))})]})}export{u 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.