1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3591],{14162:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l=(0,a(52808).A)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},60269:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l=(0,a(52808).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},48778:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l=(0,a(52808).A)("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]])},88589:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l=(0,a(52808).A)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},56314:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l=(0,a(52808).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},79197:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l=(0,a(52808).A)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]])},85072:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/dev-management",function(){return a(81269)}])},59709:(e,t,a)=>{"use strict";a.d(t,{Yq:()=>i,cn:()=>r,tN:()=>n});var l=a(81089),s=a(51349);function r(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,s.QP)((0,l.$)(t))}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{year:"numeric",month:"long",day:"numeric"},a="string"==typeof e?new Date(e):e;return new Intl.DateTimeFormat("en-US",t).format(a)}function n(e,t){return e?"string"!=typeof e?e:e.includes("olibr-dev-bucket")?e.replace("olibr-dev-bucket","olibr-prod-bucket"):e.includes("olibr.s3.ap-south-1.amazonaws.com")?e.replace("olibr.s3.ap-south-1.amazonaws.com","olibr-prod-bucket.s3.gra.io.cloud.ovh.net"):e:t||""}},13910:(e,t,a)=>{"use strict";a.d(t,{S:()=>r,T:()=>s});var l=a(57514);async function s(e){let t=window.open("","_blank");try{let a=await e();if(!a)throw Error("No CV available");t?t.location.href=a:window.location.href=a}catch(n){var a,s,r;null==t||t.close();let e=null==n?void 0:null===(a=n.response)||void 0===a?void 0:a.status,i=null==n?void 0:null===(r=n.response)||void 0===r?void 0:null===(s=r.data)||void 0===s?void 0:s.message;l.toast.error(404===e?i||"No CV available for this candidate":401===e||403===e?"You don't have access to this CV":i||(null==n?void 0:n.message)||"Could not open the CV")}}let r=e=>{var t,a;return(null==e?void 0:null===(a=e.data)||void 0===a?void 0:null===(t=a.data)||void 0===t?void 0:t.resumeUrl)||null}},7848:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var l=a(68001),s=a(81279),r=a(39689),i=a(64301),n=a(57904),o=a.n(n);a(92805);var d=a(58757),c=a(60178),x=a(92854);let u=function(e){let{initialView:t="fullDate",formik:a,name:n,placeholder:u,minDate:m=!1,maxDate:p=!1,disabledPrevDate:h,disabled:g=!1,backgroundColor:v="default"}=e,f=m?o()(m):o()(),y=p?o()(p):o()(),[b,j]=(0,d.useState)(!1),N=(0,d.useRef)(null),{views:w,openTo:A,format:k}="month"===t?{views:["year","month"],openTo:"month",format:"MM/YYYY"}:"year"===t||"onlyYear"===t?{views:["year"],openTo:"year",format:"YYYY"}:{views:["year","month","day"],openTo:"day",format:"DD/MM/YYYY"},C=(0,c.A)({typography:{fontFamily:'"Jost", sans-serif'},components:{MuiPickersInputBase:{styleOverrides:{root:{fontFamily:'"Jost", sans-serif'}}},MuiPickersSectionList:{styleOverrides:{root:{fontFamily:'"Jost", sans-serif',fontSize:" 0.9rem !important",lineHeight:"1.25rem"}}}}});return(0,l.jsx)(x.A,{theme:C,children:(0,l.jsx)(s.$J,{dateAdapter:r.Y,children:(0,l.jsx)("div",{ref:N,children:(0,l.jsx)(i.l,{className:"w-full",views:w,openTo:A,format:k,value:(()=>{var e;let t=null===(e=a.values)||void 0===e?void 0:e[n];if(!t)return null;let l=o()(t,"YYYY-MM-DD");return l.isValid()?l:null})(),onChange:e=>{e?a.setFieldValue(n,e.format("YYYY-MM-DD")):a.setFieldValue(n,null)},minDate:m||h?f:void 0,maxDate:p?y:void 0,disabled:g,open:b,onOpen:()=>j(!0),onClose:()=>j(!1),closeOnSelect:"month"!==t,slotProps:{textField:{placeholder:u,fullWidth:!0,onClick:()=>j(!0),variant:"outlined",sx:{"& input":{fontFamily:'"Jost", sans-serif !important'}},InputProps:{sx:{height:"45px",backgroundColor:"white"===v?"#ffffff"
1:"#f0f5f7",borderRadius:"8px","& input":{padding:"8px 12px",fontFamily:'"Jost", sans-serif !important'},"& fieldset":{border:"none"},"&:hover fieldset":{borderColor:"#388e3c"},"&.Mui-focused fieldset":{borderColor:"#2e7d32",borderWidth:"1.5px"},"&.Mui-disabled fieldset":{borderColor:"#bdbdbd"},"&.Mui-error fieldset":{borderColor:"#d32f2f"}}}},calendarHeader:{sx:{"& .MuiPickersCalendarHeader-switchViewButton":{display:"block !important"},"& .MuiPickersCalendarHeader-label":{cursor:"pointer !important",pointerEvents:"auto !important","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:"4px"}}}},toolbar:{sx:{display:"flex","& .MuiDatePickerToolbar-title":{cursor:"pointer"}}},desktopPaper:{sx:{"& *":{fontFamily:'"Jost", sans-serif !important'},maxHeight:"300px",overflowY:"auto"}}}})})})})}},81269:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>D});var l=a(68001),s=a(13658),r=a(58757),i=a(67910),n=a(13910),o=a(57514),d=a(59709),c=a(52774),x=a(90162),u=a(48778),m=a(30269),p=a(89432),h=a(88589),g=a(56314),v=a(79197),f=a(14162),y=a(60269),b=a(30409),j=a(34768),N=a(94868),w=a(13173),A=a(7848);let k=e=>{let{status:t}=e;return(0,l.jsx)("span",{className:"px-2 py-0.5 rounded-full text-xs font-medium capitalize ".concat({initial:"bg-gray-100 text-gray-600",pending:"bg-yellow-100 text-yellow-700",approved:"bg-green-100 text-green-700",rejected:"bg-red-100 text-red-700",Active:"bg-green-100 text-green-700",Pending:"bg-yellow-100 text-yellow-700",active:"bg-green-100 text-green-700"}[t]||"bg-gray-100 text-gray-600"),children:("Active"===t?"Published":"Pending"===t?"Incomplete":t)||"N/A"})},C=e=>e?new Date(e).toLocaleDateString("en-IN",{day:"2-digit",month:"short",year:"numeric"}):"N/A",S=()=>{let e=(0,c.useRouter)(),[t,a]=(0,r.useState)([]),[s,S]=(0,r.useState)(!0),[P,D]=(0,r.useState)({page:1,limit:20,totalPages:0,totalCount:0}),[M,Y]=(0,r.useState)(""),[_,T]=(0,r.useState)(""),[F,I]=(0,r.useState)(!1),[V,L]=(0,r.useState)(""),[E,R]=(0,r.useState)(""),[B,z]=(0,r.useState)(""),[O,H]=(0,r.useState)(""),[J,U]=(0,r.useState)(""),[q,W]=(0,r.useState)("registered"),[X,$]=(0,r.useState)(""),[Q,G]=(0,r.useState)(""),[K,Z]=(0,r.useState)(""),[ee,et]=(0,r.useState)(""),[ea,el]=(0,r.useState)(""),[es,er]=(0,r.useState)("registered"),[ei,en]=(0,r.useState)(""),[eo,ed]=(0,r.useState)(""),[ec,ex]=(0,r.useState)(""),eu=(0,r.useRef)(null),em=[_,Q,K,ee,ea,ei,eo].filter(Boolean).length,ep=e=>e?e instanceof Date?e.toISOString().slice(0,10):"string"==typeof e?e:"object"==typeof e&&(null==e?void 0:e.toDate)instanceof Function?e.toDate().toISOString().slice(0,10):"":"",eh={values:{tempFromDate:O,tempToDate:J},setFieldValue:(e,t)=>{let a=ep(t);"tempFromDate"===e&&H(a),"tempToDate"===e&&U(a)}},eg=(0,r.useCallback)(async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0;try{var s;S(!0);let r={page:e,limit:null!=l?l:P.limit},n=void 0!==t?t:M;n&&(r.search=n),_&&(r.devStatus=_),Q&&(r.spotLight=Q),K&&(r.isPromotedProfile=K),ee&&(r.fromDate=ee),ea&&(r.toDate=ea),(ee||ea)&&(r.dateFilterBy=es),ei&&(r.hasTests=ei),eo&&(r.videoPending=eo);let o=await i.default.get("/admin-candidate/admin-candidates",{params:r});(null===(s=o.data)||void 0===s?void 0:s.success)&&(a(o.data.data||[]),D(o.data.pagination||{page:1,limit:20,totalPages:0,totalCount:0}))}catch(e){o.toast.error("Failed to load candidates")}finally{S(!1)}},[M,_,Q,K,ee,ea,es,ei,eo,P.limit]);(0,r.useEffect)(()=>{eg(1)},[_,Q,K,ee,ea,es,ei,eo]);let ev=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(!ev.current){ev.current=!0;return}return eu.current&&clearTimeout(eu.current),eu.current=setTimeout(()=>eg(1,M),500),()=>{eu.current&&clearTimeout(eu.current)}},[M]);let ef=e=>Y(e);return(0,l.jsxs)("div",{className:"space-y-6 min-w-0",children:[(0,l.jsx)("div",{className:"flex items-center justify-between flex-wrap gap-3",children:(0,l.jsxs)("div",{children:[(0,l.jsx)("h1",{className:"text-xl sm:text-3xl font-medium text-gray-900",children:"Developer Management"}),(0,l.jsxs)("p",{className:"text-sm text-gray-500 mt-1",children:[P.totalCount," total developers"]})]})}),(0,l.jsx)("div",{className:"bg-white rounded-xl border p-4 min-w-0",children:(0,l.jsxs)("div",{className:"flex items-center gap-3 flex-wrap",children:[(0,l.jsxs)("div",{className:"relative flex-1 min-w-0 sm:min-w-[250px]",children:[(0,l.jsx)(x.A,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),(0,l.jsx)("input",{type:"text",value:M,onChange:e=>ef(e.target.value),placeholder:"Search name, email, designation...",className:"w-full pl-10 pr-3 py-2 border rounded-lg text-sm focus:ring-2 focus:ring-blue-500 outline-none"})]}
1),(0,l.jsx)(w.A,{value:_,onChange:e=>T(e),optionArray:[{value:"",label:"All Status"},{value:"initial",label:"Initial"},{value:"pending",label:"Pending"},{value:"approved",label:"Approved"},{value:"rejected",label:"Rejected"}],smallSize:!0}),(0,l.jsxs)("button",{onClick:()=>{L(_),R(Q),z(K),H(ee),U(ea),W(es),$(ei),I(!0)},className:"flex items-center gap-2 px-3 py-2 rounded-lg text-sm border ".concat(em>0?"bg-blue-50 border-blue-300 text-blue-700":"text-gray-600 hover:bg-gray-50"),children:[(0,l.jsx)(u.A,{className:"w-4 h-4"})," Filters ",em>0&&(0,l.jsx)("span",{className:"bg-blue-600 text-white text-xs rounded-full w-5 h-5 flex items-center justify-center",children:em})]}),em>0&&(0,l.jsx)("button",{onClick:()=>{Y(""),T(""),G(""),Z(""),et(""),el(""),er("registered"),en(""),ed(""),L(""),R(""),z(""),H(""),U(""),W("registered"),$(""),ex(""),I(!1)},className:"text-sm text-red-500",children:"Clear"})]})}),s?(0,l.jsx)("div",{className:"flex items-center justify-center py-20",children:(0,l.jsx)(m.A,{className:"w-6 h-6 animate-spin text-blue-600"})}):0===t.length?(0,l.jsxs)("div",{className:"bg-white rounded-xl border p-12 text-center",children:[(0,l.jsx)(p.A,{className:"w-12 h-12 text-gray-300 mx-auto mb-4"}),(0,l.jsx)("h3",{className:"text-lg font-medium text-gray-700",children:"No Developers Found"})]}):(0,l.jsxs)("div",{className:"bg-white rounded-xl border overflow-hidden",children:[(0,l.jsx)("div",{className:"overflow-x-auto",children:(0,l.jsxs)("table",{className:"w-full text-sm min-w-[1100px]",children:[(0,l.jsx)("thead",{className:"bg-gray-50 border-b",children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{className:"text-left px-3 py-3 font-medium text-gray-600 w-10",children:"#"}),(0,l.jsx)("th",{className:"text-left px-3 py-3 font-medium text-gray-600",children:"Name"}),(0,l.jsx)("th",{className:"text-left px-3 py-3 font-medium text-gray-600",children:"Email"}),(0,l.jsx)("th",{className:"text-left px-3 py-3 font-medium text-gray-600",children:"Profile"}),(0,l.jsx)("th",{className:"text-left px-3 py-3 font-medium text-gray-600",children:"Status"}),(0,l.jsx)("th",{className:"text-left px-3 py-3 font-medium text-gray-600",children:"Date Added"}),(0,l.jsx)("th",{className:"text-left px-3 py-3 font-medium text-gray-600",children:"Pool Release"}),(0,l.jsx)("th",{className:"text-left px-3 py-3 font-medium text-gray-600",children:"Client"}),(0,l.jsx)("th",{className:"text-left px-3 py-3 font-medium text-gray-600",children:"Source"}),(0,l.jsx)("th",{className:"text-left px-3 py-3 font-medium text-gray-600",children:"Spotlight"}),(0,l.jsx)("th",{className:"text-left px-3 py-3 font-medium text-gray-600",children:"Promoted"}),(0,l.jsx)("th",{className:"text-left px-3 py-3 font-medium text-gray-600",children:"Tests"}),(0,l.jsx)("th",{className:"text-right px-3 py-3 font-medium text-gray-600",children:"Actions"})]})}),(0,l.jsx)("tbody",{className:"divide-y",children:t.map((t,a)=>{var s,r;return(0,l.jsxs)("tr",{className:"hover:bg-gray-50 cursor-pointer",onClick:()=>e.push("/admin/dev-management/".concat(t.userId||t._id)),children:[(0,l.jsx)("td",{className:"px-3 py-3 text-gray-500",children:(P.page-1)*P.limit+a+1}),(0,l.jsx)("td",{className:"px-3 py-3",children:(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[t.devPhoto?(0,l.jsx)("img",{src:(0,d.tN)(t.devPhoto),className:"w-8 h-8 rounded-full object-cover ".concat(t.isBlocked?"grayscale opacity-60":""),alt:""}):(0,l.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center text-xs font-bold ".concat(t.isBlocked?"bg-gray-200 text-gray-500":"bg-blue-100 text-blue-600"),children:((null===(s=t.fName)||void 0===s?void 0:s[0])||"?").toUpperCase()}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("p",{className:"font-medium text-gray-800 flex items-center gap-1.5",children:[t.fName," ",t.lName,t.isBlocked&&(0,l.jsxs)("span",{className:"inline-flex items-center gap-1 px-1.5 py-0.5 rounded-full bg-red-100 text-red-700 text-[10px] font-semibold",title:"Blocked",children:[(0,l.jsx)(h.A,{className:"w-2.5 h-2.5"}),"Blocked"]})]}),t.devDesignation&&(0,l.jsx)("p",{className:"text-xs text-gray-400 truncate max-w-[150px]",children:t.devDesignation})]})]})}),(0,l.jsx)("td",{className:"px-3 py-3 text-gray-600 text-xs",children:t.email}),(0,l.jsx)("td",{className:"px-3 py-3",children:(0,l.jsx)(k,{status:t.status||t.devStatus})}),(0,l.jsx)("td",{className:"px-3 py-3",children:(0,l.jsx)(k,{status:t.devStatus})}),(0,l.jsx)("td",{className:"px-3 py-3 text-xs text-gray-500",children:C(t.createdAt)}),(0,l.jsx)("td",{className:"px-3 py-3 text-xs",children:t.network_status&&"PUBLIC"!==t.network_status?t.network_visible_at?(0,l.jsx)("span",{className:"text-amber-600",children:C(t.network_visible_at)}):(0,l.jsx)("span",{className:"text-gray-300",children:"â"}):"initial"===t.devStatus?(0,l.jsx)("span",{className:"inline-flex items-center px-1.5 py-0.5 rounded-full text-[10px] font-medium bg-gray-100 text-gray-500",children:"Not in pool"}):(0,l.jsx)("span",{className:"inline-flex items-center px-1.5 py-0.5 rounded-full text-[10px] font-medium bg-green-100 text-green-700",children:"In Pool"})}),(0,l.jsx)("td",{className:"px-3 py-3 text-xs text-gray-500",children:t.sourceName||(0,l.jsx)("span",{className:"text-gray-300",children:"Self"})}),(0,l.jsx)("td",{className:"px-3 py-3 text-xs text-gray-500",children:(()=>{let e=t.registrationSource;return"bulk_upload"===e?"Bulk Upload":"csv_upload"===e?"CSV":"linkedin_extension"===e?"LinkedIn Ext":"naukri_extension"===e?"Naukri Ext":"admin"===e?"Admin":(0,l.jsx)("span",{className:"text-gray-300",children:"Self"})})()}),(0,l.jsx)("td",{className:"px-3 py-3",children:t.spotLight?(0,l.jsx)(g.A,{className:"w-4 h-4 text-yellow-500 fill-yellow-400"}):(0,l.jsx)("span",{className:"text-xs text-gray-400",children:"-"})}),(0,l.jsx)("td",{className:"px-3 py-3",children:t.isPromotedProfile?(0,l.jsx)(v.A,{className:"w-4 h-4 text-green-600"}):(0,l.jsx)("span",{className:"text-xs text-gray-400",children:"-"})}),(0,l.jsx)("td",{className:"px-3 py-3 text-xs text-gray-600",children:(null===(r=t.devTechTestResult)||void 0===r?void 0:r.length)||0}),(0,l.jsxs)("td",{className:"px-3 py-3 text-right flex items-center justify-end gap-1",onClick:e=>e.stopPropagation(),children:[t.devResume&&(0,l.jsx)("button",{type:"button",className:"p-1.5 text-green-600 hover:bg-green-50 rounded-md",title:"Download Resume",onClick:e=>{e.stopPropagation(),(0,n.T)(async()=>(0,n.S)(await i.default.get("/candidate/resume-url",{params:{userId:t.userId||t._id,download:"1"}})))},children:(0,l.jsx)(f.A,{className:"w-4 h-4"})}),(0,l.jsx)("button",{onClick:()=>e.push("/admin/dev-management/".concat(t.userId||t._id)),className:"p-1.5 text-blue-500 hover:bg-blue-50 rounded-md",title:"View",children:(0,l.jsx)(y.A,{className:"w-4 h-4"})})]})]},t._id)})})]})}),P.totalCount>0&&(0,l.jsxs)("div",{className:"flex items-center justify-between px-4 py-3 border-t bg-gray-50",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsxs)("p",{className:"text-sm text-gray-500",children:["Page ",P.page," of ",P.totalPages," (",P.totalCount,")"]}),(0,l.jsxs)("select",{value:P.limit,onChange:e=>{let t=Number(e.target.value);D(e=>({...e,limit:t})),eg(1,void 0,t)},className:"text-sm border border-gray-300 rounded-md px-2 py-1 bg-white text-gray-700 focus:outline-none focus:ring-1 focus:ring-blue-500",children:[(0,l.jsx)("option",{value:20,children:"20 / page"}),(0,l.jsx)("option",{value:100,children:"100 / page"}),(0,l.jsx)("option",{value:200,children:"200 / page"}),(0,l.jsx)("option",{value:500,children:"500 / page"})]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)("button",{onClick:()=>eg(P.page-1),disabled:P.page<=1,className:"p-1.5 rounded-md hover:bg-gray-200 disabled:opacity-30",children:(0,l.jsx)(b.A,{className:"w-4 h-4"})}),Array.from({length:Math.min(5,P.totalPages)},(e,t)=>{let a=Math.max(1,Math.min(P.page-2,P.totalPages-4))+t;return a>P.totalPages?null:(0,l.jsx)("button",{onClick:()=>eg(a),className:"px-3 py-1 rounded-md text-sm ".concat(a===P.page?"bg-blue-600 text-white":"hover:bg-gray-200"),children:a},a)}),(0,l.jsx)("button",{onClick:()=>eg(P.page+1),disabled:P.page>=P.totalPages,className:"p-1.5 rounded-md hover:bg-gray-200 disabled:opacity-30",children:(0,l.jsx)(j.A,{className:"w-4 h-4"})})]})]})]}),F&&(0,l.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/40",children:(0,l.jsxs)("div",{className:"bg-white rounded-xl shadow-xl w-full max-w-lg mx-4 p-6",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between mb-5",children:[(0,l.jsx)("h2",{className:"text-lg font-semibold text-gray-800",children:"Filters"}),(0,l.jsx)("button",{onClick:()=>I(!1),className:"p-1 hover:bg-gray-100 rounded-md",children:(0,l.jsx)(N.A,{className:"w-5 h-5 text-gray-500"})})]}),(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsxs)("div",{className:"grid md:grid-cols-3 gap-4",children:[(0,l.jsx)(w.A,{label:"Status",value:V,onChange:e=>L(e),optionArray:[{value:"",label:"All"},{value:"initial",label:"Initial"},{value:"pending",label:"Pending"},{value:"approved",label:"Approved"},{value:"rejected",label:"Rejected"}]}),(0,l.jsx)(w.A,{label:"Spotlight",value:E,onChange:e=>R(e),optionArray:[{value:"",label:"All"},{value:"false",label:"Inactive"},{value:"true",label:"Active"}]}
1),(0,l.jsx)(w.A,{label:"Promoted",value:B,onChange:e=>z(e),optionArray:[{value:"",label:"All"},{value:"false",label:"No"},{value:"true",label:"Yes"}]})]}),(0,l.jsxs)("div",{className:"grid md:grid-cols-3 gap-4",children:[(0,l.jsx)(w.A,{label:"Tests Taken",value:X,onChange:e=>$(e),optionArray:[{value:"",label:"All"},{value:"true",label:"Has Tests"},{value:"false",label:"No Tests"}]}),(0,l.jsx)(w.A,{label:"Video Approval",value:ec,onChange:e=>ex(e),optionArray:[{value:"",label:"All"},{value:"true",label:"Pending Approval"}]}),(0,l.jsx)(w.A,{label:"Filter Date By",value:q,onChange:e=>W(e),optionArray:[{value:"registered",label:"Registered Date"},{value:"approved",label:"Approval Date"},{value:"lastLogin",label:"Last Login"}]})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"From"}),(0,l.jsx)(A.A,{initialView:"fullDate",formik:eh,name:"tempFromDate",placeholder:"Select date"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"To"}),(0,l.jsx)(A.A,{initialView:"fullDate",formik:eh,name:"tempToDate",placeholder:"Select date"})]})]})]}),(0,l.jsxs)("div",{className:"flex justify-end gap-3 mt-6",children:[(0,l.jsx)("button",{onClick:()=>I(!1),className:"px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 rounded-lg",children:"CANCEL"}),(0,l.jsx)("button",{onClick:()=>{T(V),G(E),Z(B),et(O),el(J),er(q),en(X),ed(ec),I(!1)},className:"px-5 py-2 text-sm bg-blue-600 text-white rounded-lg hover:bg-blue-700 font-medium",children:"APPLY"})]})]})})]})};var P=a(51318);let D=()=>(0,l.jsxs)(s.A,{hideSidebar:!1,children:[(0,l.jsx)(P.bV,{title:"Developer Management",description:"Manage registered developers across the Olibr platform."}),(0,l.jsx)("div",{className:"flex-1 min-w-0 overflow-auto p-6",children:(0,l.jsx)(S,{})})]})}},e=>{var t=t=>e(e.s=t);e.O(0,[5446,6551,7717,5553,6410,8926,9588,5876,8817,1786,4960,2024,3658,636,6593,8792],()=>t(85072)),_N_E=e.O()}]);
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.