1"use strict";(globalThis.webpackChunkjobportal||=[]).push([[2016],{2016(e,t,l){l.r(t),l.d(t,{default:()=>K});var i=l(53011),a=l(9950),n=l(69941),d=l(14857),s=l(60899),o=l(25979),r=l(2235),u=l(28810),c=l(10226),v=l(82053),p=l(25277),f=l(70610),x=(l(85843),l(6172),l(15376)),g=l(18391),m=l(92928),h=l(46720),y=l(32817),A=l(98350),j=l(21178),S=l(26887),b=l(28429),C=l(45692),M=l(8145),I=l(25333),Y=l(74745),V=l(45735),D=l(12257),_=(l(46639),l(7762)),F=l(49036),k=l(59051),w=l(830),P=l(63623),E=l(27232),O=l(44414);const L=({label:e,value:t,onChange:l,max:i,...a})=>(0,O.jsx)(M.A,{type:"date",label:e,value:t||"",onChange:l,InputLabelProps:{shrink:!0},inputProps:{max:i},fullWidth:!0,...a}),T=({elementId:e,title:t,filterData:l,value:i,stateKey:a,alterFilterState:n,setFilterState:d})=>{const r=null!==i&&void 0!==i&&i[0]?k(i[0]).format("YYYY-MM-DD"):"",u=null!==i&&void 0!==i&&i[1]?k(i[1]).format("YYYY-MM-DD"):"";return(0,O.jsx)(s.Ay,{item:!0,xs:12,children:(0,O.jsxs)(s.Ay,{container:!0,display:"flex",justifyContent:"space-between",children:[(0,O.jsx)(s.Ay,{item:!0,xs:5.9,children:(0,O.jsx)(o.A,{fullWidth:!0,children:(0,O.jsx)(L,{label:"Start Date",variant:"filled",value:r,max:u,onChange:e=>n(e.target.value,"from_date",a,null,d)})})}),(0,O.jsx)(s.Ay,{item:!0,xs:5.8,children:(0,O.jsx)(o.A,{fullWidth:!0,children:(0,O.jsx)(L,{label:"End Date",variant:"filled",value:u,max:u,onChange:e=>n(e.target.value,"to_date",a,null,d)})})})]})})},z=({visible:e,setVisible:t,setFilterToInitialState:l,paginationModel:o,alterFilterState:r,alterFilterDateState:u,selectedType:p,createFilterAndSkillsPayload:f,setFilterVisible:m,totalCount:y,filterStateInCampList:A,setFilterStateInCampList:j})=>{var S,b,C,k,L,z,N,R,W,G;const U=(0,g.wA)(),B=(0,d.A)(),K=(0,h.ug)(),Q=((0,P.A)(),null===K||void 0===K||null===(S=K.organization)||void 0===S?void 0:S.id),H=(0,g.d4)(e=>e.main.selectedOrgId),$=(0,h.ug)()?null===(b=(0,h.ug)())||void 0===b||null===(C=b.role)||void 0===C?void 0:C.id:0,q=100===$&&0!==Object.keys(H).length?null===H||void 0===H?void 0:H.id:null===K||void 0===K||null===(k=K.organization)||void 0===k?void 0:k.id,Z=null===K||void 0===K?void 0:K.id,[J,X]=(0,a.useState)([]),[ee,te]=(0,a.useState)({}),[le,ie]=(0,a.useState)({}),ae=(0,g.d4)(e=>e.main.listColumnsState),ne=(0,g.d4)(e=>e.main.inboxFiltersList),de=(0,g.d4)(e=>e.main.userAuditFiltersState);console.log("filterFromReducerfilterFromReducer",de);const se=[{id:null,name:"All"},...(0,g.d4)(e=>e.admin.adminUserList)],[oe,re]=(0,a.useState)(se[0]);(0,a.useEffect)(()=>{if(Object.keys(de).length>0)te(de);else{const e={user_id:Z,organization_id:q,key:"page",value:"",type:"all"},t={user_id:Z,organization_id:q,key:"createdAt",value:"",type:"all"};U((0,x.iQ)(t)),U((0,x.iQ)(e))}},[]),(0,a.useEffect)(()=>{X(ae)},[ae]),(0,a.useEffect)(()=>{if(Object.keys(de).length>0)te(de);else{const e={user_id:Z,organization_id:q,key:"page",value:"",type:"all"};U((0,x.iQ)(e))}},[de]),(0,a.useEffect)(()=>{var e;void 0!==de&&0!==Object.keys(de).length||l(j,X,"filterTab","noclear"),null===ee||void 0===ee||null===(e=ee.createdAt)||void 0===e||e.selectedValues[0]},[ne]);const ue=()=>{(0,w.Ow)("trackEvent",{event:"User Filter",properties:{page:"User List Page",type:"User Filter",action:"User Filterd Applied",user_id:null===K||void 0===K?void 0:K.id}}),X(e=>{const t=structuredClone(e);if(t.every(e=>!e.visibility))return E.oR.error("Please select at least one toggle",{toastId:"showToast",position:E.oR.POSITION.TOP_CENTER,autoClose:1500}),e;let{filterPayload:l}=f(A);l=[{field_name:"type",value:["audit"]},...l];const i={orgId:q,userId:null===K||void 0===K?void 0:K.id,paginationModel:o,filterList:l};return U((0,x.xM)(i)),t}),m("hide")};(0,a.useEffect)(()=>{se.some(e=>e.id===(null===oe||void 0===oe?void 0:oe.id))||re(se[0])},[se]);const ce=(e,t)=>{if(re(t),t&&null!==t&&void 0!==t&&t.id){const e={orgId:q,userId:null===t||void 0===t?void 0:t.id,paginationModel:o,filterList:[{field_name:"type",value:["audit"]}]};U((0,x.xM)(e))}else{const e={orgId:q,paginationModel:o,filterList:[{field_name:"type",value:["audit"]}]};U((0,x.xM)(e))}};return(0,O.jsx)("div",{id:"filterMenu",className:e,style:{overflow:"hidden",backgroundColor:B.palette.grey[0],pointerEvents:"auto"},children:(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{style:{position:"sticky",top:"0",zIndex:"2"},children:(0,O.jsxs)(i.A,{display:"flex",justifyContent:"space-between",sx:{padding:"6px",alignItems:"center",backgroundColor:B.palette.grey[0],borderBottomColor:B.palette.grey.A100},px:2,children:[(0,O.jsx)(I.A,{onClick:()=>{t("hide"),document.body.classList.remove("no-scroll")},children:(0,O.jsx)(_.A,{})}),(0,O.jsx)(v.A,{variant:"h5",children:n.P.filters}),(0,O.jsx)("div",{})]})}),(0,O.jsx)(Y.A,{}),(0,O.jsxs)("div",{className:"customizedScroll",children:[(0,O.jsx)("div",{style:{overflowY:"scroll",padding:"6px",paddingBottom:"200px",backgroundColor:B.palette.grey[0]},children:(0,O.jsx)(s.Ay,{container:!0,p:2.5,sx:{backgroundColor:B.palette.grey[0],height:"calc(-100px + 100vh)"},children:(0,O.jsxs)(s.Ay,{item:!0,xs:12,children:[(0,O.jsx)(i.A,{mb:2,children:(0,O.jsx)(v.A,{variant:"subtitle2",children:n.P.filters})}),(0,O.jsxs)(s.Ay,{container:!0,columnGap:2,rowGap:2,children:[(0,O.jsx)(s.Ay,{item:!0,xs:12,children:(0,O.jsx)(F.A,{elementId:"page",title:n.P.type,filterData:null===ne||void 0===ne?void 0:ne.page,stateKey:"page",filterState:ee,value:null===ee||void 0===ee||null===(L=ee.page)||void 0===L||null===(z=L.selectedValues)||void 0===z?void 0:z[0],alterFilterState:r,setFilterState:j,fetchOrgNames:()=>{console.log("called a func")}})}),(0,O.jsxs)(s.Ay,{item:!0,xs:12,children:[100===$&&(0,O.jsx)(V.A,{id:"auto-complete",disablePortal:!0,disableClearable:!0,options:se,getOptionLabel:e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.name)&&void 0!==t?t:""},isOptionEqualToValue:(e,t)=>
1(null===e||void 0===e?void 0:e.id)===(null===t||void 0===t?void 0:t.id),onChange:ce,value:oe,renderInput:e=>(0,O.jsx)(M.A,{...e,label:"Select User",variant:"standard",fullWidth:!0}),includeInputInList:!0,autoComplete:!0,fullWidth:!0}),4===$&&(0,O.jsx)(V.A,{id:"auto-complete",disablePortal:!0,disableClearable:!0,options:se,getOptionLabel:e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.name)&&void 0!==t?t:""},isOptionEqualToValue:(e,t)=>(null===e||void 0===e?void 0:e.id)===(null===t||void 0===t?void 0:t.id),onChange:ce,value:oe,renderInput:e=>(0,O.jsx)(M.A,{...e,label:"Select User",variant:"standard",fullWidth:!0}),includeInputInList:!0,autoComplete:!0,fullWidth:!0})]}),(0,O.jsx)(s.Ay,{item:!0,xs:12,children:(0,O.jsx)(T,{elementId:"title-filter",title:n.P.date,filterData:null===ne||void 0===ne?void 0:ne.createdAt,value:[null===ee||void 0===ee||null===(N=ee.createdAt)||void 0===N||null===(R=N.selectedValues)||void 0===R?void 0:R[0],null===ee||void 0===ee||null===(W=ee.createdAt)||void 0===W||null===(G=W.selectedValues)||void 0===G?void 0:G[1]],stateKey:"createdAt",alterFilterState:r,setFilterState:j,recruiterId:Z,orgId:Q})})]})]})})}),(0,O.jsx)(i.A,{position:"sticky",bottom:0,p:1,display:"flex",justifyContent:"center",alignItems:"center",sx:{backgroundColor:B.palette.grey[0],paddingLeft:"30px",borderTop:"1px solid",borderTopColor:B.palette.grey.A100},children:(0,O.jsxs)(D.A,{direction:"row",children:[(0,O.jsx)(c.A,{variant:"outlined",sx:{marginRight:"10px",width:"120px",height:"30px"},onClick:()=>{let e;l(t=>(e="function"===typeof t?t():t,e),X,"filterTab","clear"),te(e),j(e)},children:n.P.reset}),(0,O.jsxs)(c.A,{variant:"contained",sx:{width:"120px",height:"30px"},onClick:()=>ue(),children:[n.P.apply," ","("+y+")"]})]})})]})]})})};var N=l(15498),R=l(4159),W=l.n(R),G=(l(77915),l(64767)),U=(l(3916),l(42872));const B=()=>{var e,t,l;const M=(0,g.wA)(),I=(0,h.ug)(),Y=(0,d.A)(),V=((0,b.Zp)(),(0,g.d4)(e=>e.main.auditList)),{paginationModel:D}=(0,g.d4)(e=>e.main.auditListState),_=(0,g.d4)(e=>e.main.totalCount),[w,P]=((0,g.d4)(e=>e.main.unreadCount),(0,a.useState)(!1)),[E,L]=(0,a.useState)(!0),[T,R]=(0,a.useState)("hide"),[B,K]=(0,a.useState)({}),[Q,H]=(0,a.useState)("All"),$=(0,g.d4)(e=>e.main.listColumnsState),{setData:q}=(0,a.useContext)(m.y),[Z,J]=(0,a.useState)(""),[X,ee]=(0,a.useState)(""),[te,le]=(0,a.useState)(0),[ie,ae]=(0,a.useState)("hide"),[ne,de]=(0,a.useState)(""),[se,oe]=(0,a.useState)({}),re=(0,g.d4)(e=>e.main.userAuditFiltersState),[ue,ce]=(0,a.useState)(null),[ve,pe]=(0,a.useState)(""),fe=(0,g.d4)(e=>e.main.inboxFiltersList),xe=(0,g.d4)(e=>e.main.selectedOrgId),ge=100===((0,h.ug)()?null===(e=(0,h.ug)())||void 0===e||null===(t=e.role)||void 0===t?void 0:t.id:0)&&0!==Object.keys(xe).length?null===xe||void 0===xe?void 0:xe.id:null===I||void 0===I||null===(l=I.organization)||void 0===l?void 0:l.id,me=[{id:null,name:"All"},...(0,g.d4)(e=>e.admin.adminUserList)],[he,ye]=(0,a.useState)(me[0]),Ae=((0,g.d4)(e=>e.main.userAuditFiltersState),(0,h.Z0)()),je=(0,y.V_)(window.innerWidth,(e,t,l,i)=>{},(e,t,l)=>{const i={assignee_details_id:e,invite_status:t};M({type:constant.CANDIDATE_SLOT_POST_LOADER_ON,payload:{id:l}}),M((0,C.xf)(i))}),Se=(e,t,l,i)=>{J(""),le(0),e(()=>{var e;let t={};const l={};return null===(e=Object.keys(fe))||void 0===e||e.forEach(e=>{if(l[e]={},"createdAt"===e){var i=[],a=k(new Date).format("YYYY-MM-DD"),n=k(a,"YYYY-MM-DD").subtract(1,"M").format("YYYY-MM-DD");i.push(n),i.push(a),l[e].selectedValues=i,l[e].displayValues=[...i]}else if("page"===e){var d;l[e].selectedValues=["All"],l[e].displayValues=structuredClone(null!==(d=fe[e])&&void 0!==d?d:null)}else if("skill"===e){var s,o,r;l[e].selectedValues=structuredClone(null!==(s=null===(o=fe[e])||void 0===o?void 0:o[0])&&void 0!==s?s:null),l[e].displayValues=structuredClone(null!==(r=fe[e])&&void 0!==r?r:null)}t={...t,...l}}),t})};(0,a.useEffect)(()=>{const e={};null===$||void 0===$||$.forEach(t=>{e[t.field]=t.visibility}),K(e)},[$]),(0,a.useEffect)(()=>{P(!1)},[V]),(0,a.useEffect)(()=>{M((0,x.iO)()),P(!0);var e={orgId:ge,paginationModel:D,filterList:[{field_name:"type",value:["audit"]}]};return""!=ne&&(e={orgId:ge,paginationModel:D,filterList:[{field_name:"type",value:["audit"]},{field_name:"search",value:[ne]}]}),M((0,x.xM)(e)),()=>{console.log("Component is unmounted"),M((0,x.iO)())}},[]);const be=e=>{if(void 0!==e&&"{}"!==JSON.stringify(e)){var t;const l=[];let i={};return null===(t=Object.keys(e))||void 0===t||t.forEach(t=>{var a;if("createdAt"===t){if(""!==(null===(a=e[t])||void 0===a?void 0:a.selectedValues[0])){var n,d,s=[],o=k(null===(n=e[t])||void 0===n?void 0:n.selectedValues[0]).format("YYYY-MM-DD"),r=k(null===(d=e[t])||void 0===d?void 0:d.selectedValues[1]).format("YYYY-MM-DD");s.push(o),s.push(r),i={},i.field_name=t,i.value=s,l.push(i)}}else"page"===t?""===e[t].selectedValues||e[t].selectedValues.includes("All")||(i={},i.field_name=t,i.value=e[t].selectedValues,l.push(i)):"sort_days"===t&&""!==e[t]&&(i={},i.field_name=t,i.value=[e[t]],l.push(i))}),{filterPayload:l}}return{filterPayload:[]}};(0,a.useEffect)(()=>{Se(oe)},[fe]),(0,a.useEffect)(()=>{var e;M((0,x.iO)()),le(0);let t=0;
1null===(e=Object.keys(se))||void 0===e||e.forEach(e=>{if("createdAt"===e){var l,i;let s=k(new Date).format("YYYY-MM-DD"),o=k(s,"YYYY-MM-DD").subtract(1,"M").format("YYYY-MM-DD");var a,n,d;if((null===(l=se[e])||void 0===l?void 0:l.selectedValues[0])!==o||(null===(i=se[e])||void 0===i?void 0:i.selectedValues[1])!==s)""!==(null===(a=se[e])||void 0===a?void 0:a.selectedValues[0])&&"Invalid date"!==k(null===(n=se[e])||void 0===n?void 0:n.selectedValues[0])&&"Invalid date"!==k(null===(d=se[e])||void 0===d?void 0:d.selectedValues[1])&&(t+=1)}else("sort_days"===e&&"All"!=se[e]||""!==Z)&&(t+=1)}),le(t);const l={page:0,pageSize:!1===w?100:D.pageSize},i={newFilterState:se,newColumnVisibility:$,newPaginationModel:l};M((0,x.UQ)(i))},[se]),(0,a.useEffect)(()=>{oe(re)},[re]),(0,a.useEffect)(()=>{const e={user_id:null===I||void 0===I?void 0:I.id,organization_id:ge,key:"page",value:"",type:"all"},t={user_id:null===I||void 0===I?void 0:I.id,organization_id:ge,key:"createdAt",value:"",type:"all"};M((0,x.iQ)(t)),M((0,x.iQ)(e)),M((0,x.iO)());let l={},i=[],a={};null===je||void 0===je||je.forEach(e=>{"S.No"!==e.headerName&&(a={},l[e.field]=!0,a.field=e.field,a.visibility=!0,a.displayName=e.headerName,i.push(a))}),M((0,x.BG)(i)),K(l)},[]);const Ce=[{name:n.P.all,value:"all"}],[Me,Ie]=(0,a.useState)(["all"]);(0,a.useEffect)(()=>{Ye(Q,"singleSelect","sort_days",null,oe,"")},[Q]);const Ye=(e,t,l,i,a,n)=>{"singleSelect"===t?a("page"===l?t=>{const i=structuredClone(null!==t&&void 0!==t?t:{});return i[l].selectedValues=[e],{...t,...i}}:t=>{const i=structuredClone(null!==t&&void 0!==t?t:{});return i[l]=e,{...t,...i}}):"multiSelect"===t?a(t=>{const i=structuredClone(t);var a;i[l].selectedValues.includes(e)?(i[l].selectedValues.splice(i[l].selectedValues.indexOf(e),1),0===(null===(a=i[l].selectedValues)||void 0===a?void 0:a.length)&&ce(null)):(("All"===e||i[l].selectedValues.includes("All"))&&(i[l].selectedValues=[]),i[l].selectedValues.push(e));return{...t,...i}}):t.includes("multiSelectSlider")?a("multiSelectSliderAddRemove"===t?t=>{var i,a;const n=structuredClone(t),d=null===(i=n[l])||void 0===i||null===(a=i.selectedValues)||void 0===a?void 0:a.findIndex(t=>(null===t||void 0===t?void 0:t.skillValue)===e);var s,o;-1===d?(("All"===e||null!==(s=n[l])&&void 0!==s&&null!==(o=s.selectedValues)&&void 0!==o&&o.find(e=>"All"===(null===e||void 0===e?void 0:e.skillValue)))&&(n[l].selectedValues=[]),n[l].selectedValues.push({skillType:l,skillValue:e,scorePercentage:0})):n[l].selectedValues.splice(d,1);return{...t,...n}}:t=>{var a,n;const d=structuredClone(t),s=null===(a=d[l])||void 0===a||null===(n=a.selectedValues)||void 0===n?void 0:n.findIndex(t=>(null===t||void 0===t?void 0:t.skillValue)===e);return d[l].selectedValues[s].scorePercentage=i,{...t,...d}}):t.includes("from_date")?a(t=>{const i=structuredClone(t);return i[l].selectedValues=[e,i[l].selectedValues[1]],{...t,...i}}):t.includes("to_date")&&a(t=>{const i=structuredClone(t);return i[l].selectedValues=[i[l].selectedValues[0],e],{...t,...i}})},Ve=({elementId:e,title:t,filterData:l,value:i,stateKey:a,alterFilterState:n,setFilterState:d})=>{let r=k(i[0]).format("MM-DD-YYYY"),u=k(i[1]).format("MM-DD-YYYY");return(0,O.jsx)(s.Ay,{item:!0,xs:11,children:(0,O.jsxs)(s.Ay,{container:!0,display:"flex",justifyContent:"space-between",children:[(0,O.jsx)(s.Ay,{item:!0,xs:5.5,children:(0,O.jsx)(o.A,{fullWidth:!0,children:(0,O.jsx)(N.A,{label:"Start Date",variant:"standard",slotProps:{textField:{variant:"filled"}},value:W()(r),onChange:e=>{n(k(e.$d).format("YYYY-MM-DD"),"from_date",a,null,d)}})})}),(0,O.jsx)(s.Ay,{item:!0,xs:5.5,children:(0,O.jsx)(o.A,{fullWidth:!0,children:(0,O.jsx)(N.A,{label:"End Date",variant:"standard",slotProps:{textField:{variant:"filled"}},value:W()(u),onChange:e=>n(k(e.$d).format("YYYY-MM-DD"),"to_date",a,null,d)})})})]})})};(0,a.useEffect)(()=>{me.some(e=>e.id===(null===he||void 0===he?void 0:he.id))||ye(me[0])},[me]);return(0,O.jsxs)(r.A,{className:"container-wrapper",children:[(0,O.jsx)(i.A,{sx:{display:"flex",marginBottom:"24px",marginTop:"-10px",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",rowGap:"15px"},children:(0,O.jsxs)(i.A,{sx:{display:"flex",flexDirection:"row"},children:[(0,O.jsx)(i.A,{children:(0,O.jsx)(u.A,{badgeContent:te,color:"primary",sx:{"& .MuiBadge-badge":{color:"#fff",fontSize:"12px",height:"20px",minWidth:"20px",borderRadius:"10px"}},children:(0,O.jsx)(c.A,{variant:"outlined",style:{borderRadius:"4px",backgroundColor:te>0?Y.palette.primary.lighter:Y.palette.grey[0],color:te>0?Y.palette.primary.main:Y.palette.grey[500],borderColor:te>0?Y.palette.primary.main:Y.palette.grey.A100,padding:"4px 12px"},startIcon:(0,O.jsx)(A.A,{}),onClick:()=>R(e=>"show"===e?"hide":"show"),children:(0,O.jsx)(v.A,{style:{color:te>0?Y.palette.primary.main:Y.palette.text.primary,...j.A.button,fontSize:"14px"},children:n.P.filter})})})}),(0,O.jsx)(i.A,{sx:{["ar"===Ae?"marginRight":"marginLeft"]:"20px"},children:(0,O.jsxs)(i.A,{sx:{display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"center",textAlign:"center",width:"100%"},children:[(0,O.jsx)(S.A,{placeholder:n.P.searchbydescription,handleSearch:e=>{de(e);const t={orgId:ge,userId:null===I||void 0===I?void 0:I.id,paginationModel:D,filterList:[{field_name:"type",value:["audit"]},{field_name:"search",value:[e]}]};M((0,x.xM)(t))}}),te>0&&(0,O.jsx)(c.A,{onClick:()=>{Se(oe,0,0,0,H("All"))},children:"Clear"})]})})]})}),(0,O.jsxs)(i.A,{sx:{display:"flex",gap:"10px",marginBottom:"24px",justifyContent:"space-between"},children:[(0,O.jsx)(i.A,{sx:{display:"flex",gap:"10px"},children:Ce.map(e=>(0,O.jsx)(p.A,{label:e.name,onClick:()=>{return t=e.value,void Ie(e=>{let l;return l="all"===t?["all"]:"open"===t||"closed"===t?e.includes(t)?["all"]:[t]:e.includes("all")?[t]:e.includes(t)?e.filter(e=>e!==t):[...e,t],0===l.length&&(l=["all"]),l});var t},sx:{backgroundColor:Me.includes(e.value)?`${Y.palette.primary.main} !important`:"transparent !important",minWidth:"60px",cursor:"pointer",fontSize:"12px",borderRadius:"64px",color:"#333","& .MuiChip-deleteIcon":{color:"#999","&:hover":{color:"#333"}},"& .MuiChip-label":{color:Me.includes(e.value)?"#fff !important":`${Y.palette.text.primary} !important`}}},e.value))}),(0,O.jsx)(G.A,{selectedTimePeriod:Q,setSelectedTimePeriod:H})]}),(0,O.jsxs)(i.A,{sx:{height:te>0?"56vh":"68vh"},children:[(0,O.jsx)(U.A,{loading:w,rows:V,columns:je,rowCount:_,columnHeaderHeight:24,pageSizeOptions:[20,50,100],onGridSizeChange:()=>{E&&L(!1)},pagination:!0,paginationMode:"server",paginationModel:D,onPaginationModelChange:e=>(e=>{P(!0);let{filterPayload:t}=be(se);t=[...t,{field_name:"type",value:["audit"]}];var l={orgId:ge,userId:null===I||void 0===I?void 0:I.id,paginationModel:e,filterList:t};""!==ne&&ne.length>2&&(l={orgId:ge,userId:null===I||void 0===I?void 0:I.id,paginationModel:e,filterList:[{field_name:"type",value:["audit"]},{field_name:"search",value:[ne]}]}),M((0,x.xM)(l))})(e),getRowId:e=>e.id,slotProps:{columnsPanel:{sx:{"& .MuiDataGrid-panelFooter button:first-child":{display:"none"}}}},getRowHeight:e=>{var t,l;return"Company Invite"===(null===e||void 0===e||null===(t=e.model)||void 0===t?void 0:t.page)||"Agency Invite"===(null===e||void 0===e||null===(l=e.model)||void 0===l?void 0:l.page)?80*e.densityFactor:null},sx:{"& .MuiDataGrid-columnHeaders":{color:Y.palette.text.primary},"& .MuiDataGrid-cell":{color:Y.palette.text.primary},"& .MuiDataGrid-footerContainer":{color:Y.palette.text.primary},"& .MuiTablePagination-root .MuiTablePagination-caption":{color:Y.palette.text.primary},"& .MuiTablePagination-actions .MuiSvgIcon-root":{color:Y.palette.text.primary},"& .MuiSelect-root":{color:Y.palette.text.primary}}}),(0,O.jsx)(f.A,{anchorEl:ue,open:Boolean(ue),onClose:()=>ce(null),className:"filterChipsMenu",children:""!==ve&&(()=>{var e,t,l,i;switch(ve){case"page":return(0,O.jsx)(F.A,{elementId:"page",title:"",filterData:null===fe||void 0===fe?void 0:fe.page,value:Z,stateKey:ve,alterFilterState:Ye,setFilterState:oe});case"createdAt":return(0,O.jsx)(Ve,{elementId:"title-filter",title:"Date",filterData:null===se||void 0===se?void 0:se.createdAt,value:null!==(e=null===se||void 0===se||null===(t=se.createdAt)||void 0===t?void 0:t.selectedValues)&&void 0!==e?e:[null===se||void 0===se||null===(l=se.createdAt)||void 0===l?void 0:l.selectedValues[0],null===se||void 0===se||null===(i=se.createdAt)||void 0===i?void 0:i.selectedValues[1]],stateKey:"createdAt",alterFilterState:Ye,setFilterState:oe,recruiterId:I.id,orgId:ge});default:return(0,O.jsx)(O.Fragment,{})}})()})]}),"show"===T?(0,O.jsx)("div",{className:"filterMenuBg",children:(0,O.jsx)(z,{createFilterAndSkillsPayload:be,visible:T,filterStateInCampList:se,setVisible:R,setFilterStateInCampList:oe,setFilterToInitialState:Se,paginationModel:D,alterFilterState:Ye,alterFilterDateState:(e,t,l,i,a)=>{ee(e)},selectedType:Z,selectedDate:X,setFilterVisible:R,totalCount:_})}):(0,O.jsx)(O.Fragment,{})]})},K=()=>{(0,d.A)(),(0,h.ug)(),(0,g.wA)();const[e,t]=(0,a.useState)(0);return(0,O.jsx)(i.A,{children:(0,O.jsx)(B,{})})}}}]);
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.