PageSourceSearch

https://jed-portal.elevatus.io/static/js/1081.c18837c3.chunk.js

js elevatus.io collected 2026-09-26 01:14:56 UTC 20,508 bytes, 114 lines download raw bytes

1"use strict";(self.webpackChunkelevatus_app=self.webpackChunkelevatus_app||[]).push([[1081],{41761:(e,s,a)=>{a.d(s,{$:()=>r});var t=a(67121),i=a(85049),n=a(48293);const r={getPipelineList:async function(){return t.A.get(n.A.preferences.pipelineDropdown,{headers:(0,i.C)()})},getTemplates:async function(e){return t.A.get(n.A.evarec.ats.TEMPLATES_DROPDOWN,{headers:(0,i.C)(),params:e})},getTemplateBySlug:async function(e,s,a){return t.A.request({method:"view",url:n.A.preferences.MailTemplateBySlug,headers:(0,i.C)(),params:{slug:e,language_id:s,pipeline_uuid:a}})},getTemplateById:async function(e){return t.A.request({method:"view",url:n.A.preferences.emailtemplates,headers:(0,i.C)(),params:{id:e}})},getPermissionOptions:async function(){return t.A.get(n.A.company.profileBuilderOptions,{headers:(0,i.C)()})},getPermissionData:async function(e){return t.A.get(n.A.company.profileBuilderGET,{headers:(0,i.C)(),params:e})},getEmailVariables:async function(){return t.A.get(n.A.preferences.TEMPLATES_COLLECTION,{headers:(0,i.C)()})},DeletePermission:async function(e){return t.A.delete(n.A.company.profileBuilderWRITE,{params:{uuid:e},headers:(0,i.C)()})},FindPermission:async function(e){return t.A.request(n.A.company.profileBuilderGET,{method:"view",params:{uuid:e},headers:(0,i.C)()})},UpdatePermission:async function(e){return t.A.put(n.A.company.profileBuilderWRITE,e,{headers:(0,i.C)()})},CreatePermission:async function(e){return t.A.post(n.A.company.profileBuilderWRITE,e,{headers:(0,i.C)()})},CreateEvaluation:async function(e){return t.A.post(n.A.preferences.EVALUATION_WRITE,e,{headers:(0,i.C)()})},UpdateEvaluation:async function(e){return t.A.put(n.A.preferences.EVALUATION_WRITE,e,{headers:(0,i.C)()})},FindEvaluation:async function(e){return t.A.request(n.A.preferences.EVALUATION_GET,{method:"view",params:{uuid:e},headers:(0,i.C)()})},DeleteEvaluation:async function(e){return t.A.delete(n.A.preferences.EVALUATION_WRITE,{params:{uuid:e},headers:(0,i.C)()})},getEvaluationData:async function(e){return t.A.get(n.A.preferences.EVALUATION_GET,{params:e,headers:(0,i.C)()})},getStagesData:async function(e){return t.A.get(n.A.preferences.STAGES_DROPDOWN,{params:{pipeline_uuid:e},headers:(0,i.C)()})}}},57188:(e,s,a)=>{a.d(s,{A:()=>y});var t=a(65043),i=a(52640),n=a(74117),r=a(32384),l=(a(45107),a(70579));const d=r.Ay.div`
2  background: ${e=>e.active?"var(--bg-primary, #03396C)":"white"};
3  color: ${e=>e.active?"white":"rgb(82, 95, 127)"};
4`;function o(e){let{options:s,selected:a,id:i,onChange:n,index:r}=e;return(0,l.jsx)(t.Fragment,{children:s.map(((e,s)=>(0,l.jsx)(d,{id:"requirement-checkbox-wrapper",active:a===e.key,onClick:()=>n(i,e.key,r),children:e.value},s)))})}var c=a(68897),u=a(44978),p=a(55784),m=a(75429),h=a(17392);const x=r.Ay.div`
5  border: ${e=>e.isCollapsed?"1px solid #57B2F2":"none"};
6`,f=r.Ay.div`
7  background: ${e=>e.isCollapsed?"rgb(246, 249, 252)":"none"};
8  box-shadow: ${e=>e.isCollapsed?"none":"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)"};
9`,v="",g="EvaBrand",y=e=>{let{label:s,options:a,response:r,setNewResponse:d,isSubmitted:y,errors:b,isForJobs:A,accordionWrapperClass:j}=e;const{t:C}=(0,n.Bd)(g),[N,w]=(0,t.useState)(!1),S=[{key:"optional",value:C("optional")},{key:"required",value:C("required")},{key:"disable",value:C("disable")}],[k,q]=(0,t.useState)([]),$=(e,s,t,i)=>{let n={...r},l={};"dynamic_properties"===a?(i?(l.id=s,l.uuid=s):(l.value=s,l.selected=s),n[a][t]={...n[a][t],...l}):(n[a][e]=s,l.selected=s),d(n),q((s=>[...s.map(((s,i)=>"dynamic_properties"===a?i===t?{...s,...l}:s:s.id===e?{...s,...l}:s))]))};(0,t.useEffect)((()=>{q((()=>"dynamic_properties"===a?s.map((e=>({...e,id:e.uuid,options:S,selected:e.value||"optional"}))):Object.keys(s).map(((e,a)=>({id:e,options:S,selected:Object.values(s)[a]})))))}),[C,s,a]);const _=(0,t.useMemo)((()=>"dynamic_properties"===a),[a]);return(0,l.jsxs)(x,{id:"collapse-wrapper",isCollapsed:N,className:null!==j&&void 0!==j?j:"",children:[(0,l.jsxs)(f,{id:"collapse-header",isCollapsed:N,onClick:()=>w((e=>!e)),className:"d-flex justify-content-between",children:[(0,l.jsx)("h3",{className:"mb-0 collapse-header-title",children:C(`${a}`)}),(0,l.jsx)("i",{className:`fas ${N?"fa-angle-up":"fa-angle-down"} fa-2x`})]}),(0,l.jsxs)(i.A,{isOpen:N,children:[k.map(((e,s)=>(0,l.jsx)(t.Fragment,{children:"social_network"!==e.id&&"location_map"!==e.id&&"references"!==e.id&&"mobile"!==e.id&&(0,l.jsxs)("div",{id:"require-row",className:"d-flex-v-center",children:[_?(0,l.jsx)(p.nF,{isHalfWidth:!0,placeholder:"select-dynamic-property",stateKey:"dynamic_uuid",controlWrapperClasses:"mb-0",editV
9alue:e.id,onValueChanged:e=>{$("",e.value||"",s,"uuid")},getOptionLabel:e=>`${e.name&&(e.name[u.Ay.language]||e.name.en)}`||"N/A",getDataAPI:c.YPT,parentTranslationPath:g,translationPath:v,searchKey:"search",getDisabledOptions:e=>(k||[]).map((e=>e.uuid)).includes(e.uuid),isSubmitted:y,extraProps:{...e.id&&{with_than:[e.id]}},errors:b,errorPath:`${A?"":"activeCategoryRequirements.profile."}dynamic_properties[${s}].uuid`}):(0,l.jsx)("h4",{className:"mb-0 require-row-title",children:C(`${e.id}`)}),(0,l.jsxs)("div",{className:"ml-auto-reversed d-flex-v-center-h-between",children:[(0,l.jsx)("div",{className:"d-flex",children:(0,l.jsx)(o,{options:e.options,selected:e.selected,id:e.id,index:s,onChange:$})}),_&&(0,l.jsx)(h.A,{onClick:()=>(e=>{let s={...r};s[a].splice(e,1),d(s),q((s=>s.filter(((s,a)=>a!==e))))})(s),children:(0,l.jsx)("i",{className:"fas fa-trash fz-14px"})})]})]})},`${e.id}-${s+1}-require`))),_&&(0,l.jsx)("div",{id:"require-row",children:(0,l.jsxs)(m.A,{className:"btns theme-solid my-2  mx-0",onClick:()=>(()=>{let e={...r};const s={value:"optional",selected:"optional",id:"",uuid:"",options:S};e[a].push(s),d(e),q((e=>[...e,s]))})(),children:[(0,l.jsx)("i",{className:"fas fa-plus"}),(0,l.jsx)("span",{className:"px-3",children:C("add-new-candidate-property")})]})})]})]})}},13223:(e,s,a)=>{a.r(s),a.d(s,{default:()=>K});var t=a(65043),i=a(81349),n=(a(88578),a(83058)),r=a(74117),l=a(75429),d=a(22166),o=a(50606),c=a(32384),u=a(80441),p=a(23222),m=a(12327),h=a(22345),x=a(72679),f=a(77026),v=a(58509),g=a(9790),y=a(18353),b=a(96371),A=a(12934),j=a(26259),C=a(77129),N=a(46298),w=a(84646),S=a(41761),k=a(5235),q=a(57188),$=a(16331),_=a(68897),E=a(55784),P=a(73467),T=a(89020),I=a(99409),O=a(70579);const D="AppPermissions.",R="RecruiterPreferences",L=c.Ay.div`
10  align-items: center;
11  cursor: pointer;
12  display: flex;
13  justify-content: center;
14  padding: 0.5rem;
15  transition: 0.3s ease;
16  &:hover {
17    background: #e9ecef;
18  }
19`,B=c.Ay.i`
20  align-items: center;
21  background-color: var(--bg-primary, #051274);
22  border-radius: 999px;
23  color: #fff;
24  display: flex;
25  height: 40px;
26  justify-content: center;
27  margin-right: 1rem;
28  padding: 0.5rem;
29  width: 40px;
30`,W=e=>{const{t:s}=(0,r.Bd)(R),{addToast:a}=(0,C.Yf)(),[i,n]=(0,t.useState)(!1),[l,d]=(0,t.useState)(null),[o,c]=(0,t.useState)(),[W,z]=(0,t.useState)("tab-1"),[F,U]=(0,t.useState)(null),[M,Q]=(0,t.useState)([]),[V,K]=(0,t.useState)(null),[G,H]=(0,t.useState)(!1),[J,Y]=(0,t.useState)(null),[Z,X]=(0,t.useState)([]),[ee,se]=(0,t.useState)([]),[ae,te]=(0,t.useState)([]),[ie,ne]=(0,t.useState)([]),[re,le]=(0,t.useState)(),[de,oe]=(0,t.useState)(),[ce,ue]=(0,t.useState)(!1),pe=(0,t.useRef)(P.object().shape({dynamic_properties:P.array().of(P.object().shape({uuid:P.string().nullable().when("value",((e,a)=>e?a.required(s("Shared:this-field-is-required")):a))})).nullable()})),me=(0,t.useCallback)((async e=>{const a=await(0,_.zcx)({uuid:e});a&&200===a.status?X(a.data.results.stages):(0,$.Qg)(s("Shared:failed-to-get-saved-data"),a)}),[s]);(0,t.useEffect)((()=>{if(o)return;n(!0);e.uuid?S.$.FindPermission(e.uuid).then((e=>{var s,a,t,i,r,l,o,u,p,m,h,x,f;d(null===(s=e.data)||void 0===s?void 0:s.results),K(null===(a=e.data)||void 0===a||null===(t=a.results)||void 0===t?void 0:t.profile),Q(Object.keys(null===(i=e.data)||void 0===i||null===(r=i.results)||void 0===r?void 0:r.profile)),c(Object.values(null===(l=e.data)||void 0===l||null===(o=l.results)||void 0===o?void 0:o.profile)),U(null===(u=e.data)||void 0===u||null===(p=u.results)||void 0===p?void 0:p.title),se((null===(m=e.data)||void 0===m||null===(h=m.results)||void 0===h?void 0:h.questions)||[]),Y(null===(x=e.data)||void 0===x||null===(f=x.results)||void 0===f?void 0:f.pipeline_uuid),n(!1)})).catch((e=>{n(!1),(0,$.Qg)(s(`${D}error-in-getting-data`),e)})):(U(null),Y(null),(async()=>{S.$.getPermissionOptions().then((e=>{var s,a,t;K(null===(s=e.data)||void 0===s?void 0:s.results),Q(Object.keys(null===(a=e.data)||void 0===a?void 0:a.results)),c(Object.values(null===(t=e.data)||void 0===t?void 0:t.results)),n(!1)})).catch((e=>{n(!1),(0,$.Qg)(s(`${D}
30error-in-getting-data`),e)}))})())}),[]),(0,t.useEffect)((()=>{w.y.getFileTypes().then((e=>{te(e.data.results),w.y.getFileSizes().then((e=>{ne(e.data.results)}))}))}),[]),(0,t.useEffect)((()=>{J&&me(J)}),[J,me]);const he=(0,t.useCallback)((()=>{G&&(0,$.fP)(pe,G||{}).then((e=>{oe(e)}))}),[G]),xe=(e,s)=>{se((a=>[...a.map((a=>a.uuid===e?s:a))]))},fe=e=>{se((s=>[...s.filter((s=>s.uuid!==e.uuid))]))},ve=e=>{se((s=>[...s,{...e,uuid:(0,u.Lz)()}]))};return(0,t.useEffect)((()=>{he()}),[he,G]),(0,O.jsx)(O.Fragment,{children:(0,O.jsxs)(p.A,{style:{maxWidth:"1000px"},className:"modal-dialog-centered sticky-modal",isOpen:!0,toggle:()=>e.closeModal(),children:[(0,O.jsxs)("div",{className:"modal-header border-0 pb-0 mb-2",children:[(0,O.jsx)("div",{className:"ml-4-reversed w-100",children:(0,O.jsx)("div",{className:"d-flex align-items-center",children:(0,O.jsx)("h1",{className:"mb-0 mr-2-reversed",children:e.uuid?s(`${D}edit-new-application-requirement`):s(`${D}add-new-application-requirement`)})})}),(0,O.jsx)("button",{"aria-label":"Close",className:"close","data-dismiss":"modal",type:"button",onClick:()=>e.closeModal(),children:(0,O.jsx)("span",{"aria-hidden":!0,children:"\xd7"})})]}),(0,O.jsxs)("div",{className:"modal-body px-5 pb-0",children:[(0,O.jsxs)(m.A,{className:"mb-4",children:[(0,O.jsxs)(h.A,{xs:"6",children:[(0,O.jsx)(x.A,{className:"form-control-alternative",type:"text",value:F||"",placeholder:s(`${D}requirement-title`),required:!0,onChange:e=>{const{value:s}=e.currentTarget;U(s)}}),re&&re.title&&!F?re.title.length>1?re.title.map(((e,s)=>(0,O.jsx)("p",{className:"mb-0 mt-1 text-xs text-danger",children:e},`errorsTitlesKey${s+1}`))):(0,O.jsx)("p",{className:"mb-0 mt-1 text-xs text-danger",children:re.title}):""]}),(!e.uuid||l&&!l.is_default)&&(0,O.jsx)(E.nF,{isHalfWidth:!0,title:"select-a-pipeline",stateKey:"pipeline",errorPath:"pipeline",searchKey:"search",placeholder:"select-a-pipeline",editValue:J,isDisabled:i,onValueChanged:e=>{let{value:s}=e;Y(s),se((e=>{let s=[];return e&&e.length>0&&(s=e.map((e=>{var s;return{...e,answers:"undefined"!==typeof e.answers&&e.answers?null===(s=e.answers
30)||void 0===s?void 0:s.map((e=>({...e,stage_uuid:null}))):[]}}))),[...s]}))},getDataAPI:_.F6S,extraProps:{...J&&{with_than:[J]}},parentTranslationPath:R,translationPath:D})]}),(0,O.jsxs)(f.A,{tabs:!0,className:"tabs-with-actions",children:[(0,O.jsx)(v.A,{children:(0,O.jsx)(g.A,{className:"py-2",active:"tab-1"===W,onClick:()=>z("tab-1"),children:s(`${D}general`)})}),(0,O.jsx)(v.A,{children:(0,O.jsx)(g.A,{className:"py-2",active:"tab-2"===W,onClick:()=>z("tab-2"),children:s(`${D}special-requirements`)})})]}),i?(0,O.jsx)(y.A,{className:"text-center",children:(0,O.jsx)(m.A,{children:(0,O.jsx)(h.A,{xl:"12",children:(0,O.jsx)(N.A,{width:"730px",height:"49vh",speed:1,color:"primary"})})})}):(0,O.jsxs)(b.A,{activeTab:W,children:[(0,O.jsx)(A.A,{className:"pt-4",tabId:"tab-1",children:o&&M.map(((s,a)=>(0,O.jsx)(q.A,{title:F,response:V,setNewResponse:e=>{H(e)},ProfileUUID:e.uuid,options:s,label:o[a],isSubmitted:ce,errors:de,isForJobs:!0},`currentTabRequire${a+1}`)))},"tab-1"),(0,O.jsxs)(A.A,{className:"py-4",tabId:"tab-2",children:[(0,O.jsx)(T.JY,{onDragEnd:e=>{if(!e.destination)return;const s=Array.from(ee),[a]=s.splice(e.source.index,1);s.splice(e.destination.index,0,a);const t=s.map(((e,s)=>({...e,order:s})));se(t)},children:(0,O.jsx)(T.gL,{droppableId:"questions",children:s=>(0,O.jsxs)("div",{...s.droppableProps,ref:s.innerRef,children:[ee.map(((s,a)=>(0,O.jsx)(T.sx,{draggableId:s.uuid,index:a,children:t=>(0,O.jsx)("div",{ref:t.innerRef,...t.draggableProps,...t.dragHandleProps,style:{...t.draggableProps.style},children:(0,O.jsx)(k.A,{useRichText:!0,question:s,index:a+1,updateQuestion:xe,removeQuestion:fe,duplicateQuestion:ve,setNewQuestions:e=>{se(e)},isEdit:!!e.uuid,profileBuilder:l,stages:Z.filter((e=>1!==e.type)),fileTypes:ae,fileSizes:ie,DragIndicator:(0,O.jsx)(I.A,{id:"drag-indicator",className:"drag-handler bg-white rounded form-control-alternative mr-2-reversed",style:{height:"29px",padding:"0px 4px",maxWidth:"30px",opacity:"0.5"}})},s.uuid)})},s.uuid))),s.placeholder]})})}),(0,O.jsxs)(L,{onClick:()=>{se((e=>[...e,{description:"",title:"",type:1,order:ee.length,is_required:!1,is_other:!1,uuid:(0,u.Lz)()}]))},children:[(0,O.jsx)(B,{className:"fas fa-plus mr-3-reversed"}),(0,O.jsx)("span",{children:s(`${D}add-new-question`)})]})]},"tab-2")]}),(0,O.jsxs)("div",{className:"modal-footer border-0 d-flex justify-content-center",children:[(0,O.jsx)(j.A,{className:"btn btn-icon mr-2-reversed",color:"secondary","data-dismiss":"modal",type:"button",onClick:()=>e.closeModal(),children:s(`${D}cancel`)}),(0,O.jsxs)(j.A,{className:"btn btn-primary btn-icon",color:"primary",type:"submit",disabled:i,onClick:async()=>{if(ue(!0),Object.keys(de||{}).length>0)return;const t=ee.map((e=>({...e})));n(!0),(e=>{if(0===e.length)return e;for(let s=0;s<=e.length;s+=1)e[s]&&1===e[s].type&&(e[s].type="text")})(ee);const i=(()=>{for(let i=0;i<ee.length;i+=1){var e,s,a,t;"file"===ee[i].type&&(ee[i].file_data={file_size:(null===(e=ee[i].fileAnswer)||void 0===e?void 0:e.file_size)||(null===(s=ee[i])||void 0===s?void 0:s.file_data)&&(null===(a=ee[i].file_data)||void 0===a?void 0:a.file_size)||"1",file_type:(null===(t=ee[i].fileAnswer)||void 0===t?void 0:t.file_type)||"2"},delete ee[i].fileAnswer),delete ee[i].uuid}return ee})();if(null===e.uuid){let r={title:F,pipeline_uuid:J,...G,questions:i};G||(r={title:F,pipeline_uuid:J,...V,questions:i}),S.$.CreatePermission(r).then((()=>{var t,i;null===(t=window)||void 0===t||null===(i=t.ChurnZero)||void 0===i||i.push(["trackEvent","Create application requirements","Create application requirements from recruiter preferences",1,{}]),a(s(`${D}created-successfully`),{appearance:"success",autoDismiss:!0}),n(!1),e.onSave&&e.onSave(),e.closeModal()})).catch((e=>{var a,i;se(t),(0,$.Qg)(s(`${D}creating-requirement-failed`),e),n(!1),le(null===e||void 0===e||null===(a=e.response)||void 0===a||null===(i=a.data)||void 0===i?void 0:i.errors)}))}else{let r={title:F,uuid:e.uuid,pipeline_uuid:J,...G,questions:i};G||(r={title:F,uuid:e.uuid,pipeline_uuid:J,...V,questions:i}),S.$.UpdatePermission({...r,language_uuid:null}).then((()=>{a(s(`${D}updated-successfully`),{appearance:"success",autoDismiss:!0}),n(!1),e.onSave&&e.onSave(),e.closeModal()})).catch((e=>{var a,i;se(t),(0,$.Qg)(s(`${D}error-in-updating-data`),e),n(!1),le(null===e||void 0===e||null===(a=e.response)||void 0===a||null===(i=a.data)||void 0===i?void 0:i.errors)}))}},children:[i&&(0,O.jsx)("i",{className:"fas fa-circle-notch fa-spin mr-2-reversed"}),`${s(i?`${D}saving`:`${D}save-changes`)}`]})]})]})]})})};var z=a(63294),F=a(95607),U=a(81760),M=a(67262);const Q="AppPermissions.",V="RecruiterPreferences",K=()=>{const{t:e}=(0,r.Bd)(V);(0,z.K7)(e(`${Q}application-requirements`));const s=(0,d.d4)((e=>{var s;return null===e||void 0===e||null===(s=e.permissionsReducer)||void 0===s?void 0:s.permissions})),[a,c]=(0,t.useState)({results:[],totalCount:0}),[u]=(0,t.useState)((()=>[{input:"title",label:e(`${Q}requirements-title`),isSortable:!0},{input:"actions",label:e(`${Q}actions`),component:a=>(0,O.jsx)(o.En,{className:"d-flex",children:(0,O.jsx)(n.y,{children:(0,O.jsxs)(i.A,{disabled:!(0,$.iD)({permissionId:M.L.UpdateRequirements.key,permissions:s}),onClick:()=>b(a.uuid),children:[(0,O.jsx)("span",{className:"btn-inner--icon",children:(0,O.jsx)("i",{className:"fas fa-edit"})}),e(`${Q}edit-requirement`)]})})})}])),[p,m]=(0,t.useState)(""),[h,x]=(0,t.useState)({page:1,limit:10,query:""}),[f,v]=(0,t.useState)(!1),[g,y]=(0,t.useState)(null),b=e=>{e&&y(e),v(!0)},[A]=(0,t.useState)(null),[j,C]=(0,t.useState)(!1),N=(0,t.useCallback)((()=>{C(!0),S.$.getPermissionData(h).then((e=>{c({results:e.data.results.data,totalCount:e.data.results.total}),C(!1)})).catch((s=>{(0,$.Qg)(e("Shared:failed-to-get-saved-data"),s),C(!1)}))}),[h,e]),w=(0,t.useCallback)((()=>{x((e=>({...e,page:1})))}),[]);return(0,t.useEffect)((()=>{N()}),[N,h]),(0,O.jsxs)("div",{className:"page-wrapper pt-4 px-4",children:[A,f&&a.results&&(0,O.jsx)(W,{uuid:g,isOpen:f,closeModal:()=>
30{v(!1)},permission:a.results,onSave:w}),(0,O.jsxs)("div",{className:"d-flex-v-center-h-between flex-wrap",children:[(0,O.jsxs)("div",{className:"d-inline-flex-v-center flex-wrap px-2",children:[(0,O.jsx)("div",{className:"h5 px-2",children:(0,O.jsx)("span",{children:e(`${Q}list-of-users-with-application-requirements`)})}),(0,O.jsx)("div",{className:"d-inline-flex px-2 mb-2",children:(0,O.jsx)(F.G0,{idRef:"searchRef",value:p,themeClass:"theme-solid",label:"search",parentTranslationPath:V,translationPath:Q,onInputChanged:e=>{const{target:{value:s}}=e;m(s)},onKeyUp:e=>{"Enter"===e.key&&x((e=>({...e,page:1,query:p})))},endAdornment:(0,O.jsx)("div",{className:"end-adornment-wrapper",children:(0,O.jsx)(l.A,{className:"btns-icon theme-transparent",disabled:j,onClick:()=>{x((e=>({...e,page:1,query:p})))},children:(0,O.jsx)("span",{className:"fas fa-search"})})})})})]}),(0,O.jsx)("div",{className:"inline-flex px-2",children:(0,O.jsxs)(l.A,{className:"btns theme-solid mx-2 mb-3",disabled:!(0,$.iD)({permissionId:M.L.AddRequirements.key,permissions:s}),onClick:()=>{y(null),b()},children:[(0,O.jsx)("i",{className:"fas fa-plus"}),(0,O.jsx)("span",{className:"px-1",children:e(`${Q}add-new-requirements`)})]})})]}),(0,O.jsx)("p",{className:"text-muted px-3",children:(0,O.jsx)("span",{children:e(`${Q}add-new-requirements-description`)})}),(0,O.jsx)(U.A,{data:a.results,isLoading:j,headerData:u,pageIndex:h.page-1,pageSize:h.limit,isWithEmpty:!0,totalItems:a.totalCount,onPageIndexChanged:e=>{x((s=>({...s,page:e+1})))},onPageSizeChanged:e=>{x((s=>({...s,page:1,limit:e})))}})]})}},50606:(e,s,a)=>{a.d(s,{B3:()=>o,En:()=>n,M6:()=>d,Z7:()=>r,fb:()=>c,vq:()=>l});var t=a(32384),i=a(23222);t.Ay.div`
31  align-items: center;
32  display: flex;
33  justify-content: space-between;
34  & .form-group {
35    margin-bottom: 0px;
36  }
37`;const n=t.Ay.div`
38  display: flex;
39`,r=t.Ay.div`
40  align-items: center;
41  display: flex;
42  justify-content: flex-start;
43`,l=(t.Ay.li`
44  align-items: center;
45  border: 2px solid white;
46  cursor: default;
47  display: flex;
48  font-size: 11px;
49  font-weight: bold;
50  height: 24px;
51  justify-content: center;
52  text-align: center;
53  text-transform: capitalize;
54  width: 24px;
55  &:nth-child(odd) {
56    background: #717171;
57  }
58  &:nth-child(even) {
59    background: #d9d9d9;
60    margin-left: -5px;
61  }
62  &:hover {
63    z-index: 999;
64  }
65`,(0,t.Ay)(i.A)`
66  max-width: 60vw;
67  & .modal-header {
68    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
69    margin-bottom: 1rem;
70  }
71  & .modal-content {
72    max-height: 90vh;
73    overflow: auto;
74  }
75  & .modal-footer {
76    border-top: 1px solid rgba(0, 0, 0, 0.05);
77    margin-top: 1rem;
78  }
79  @media (max-width: 570px) {
80    max-width: 100% !important;
81  }
82`),d=t.Ay.div`
83  & {
84    border-radius: 0.2rem;
85  }
86  &:empty {
87    display: none;
88    background: transparent;
89    border: none;
90  }
91  &:hover .remove-action {
92    opacity: 1;
93  }
94`,o=t.Ay.div`
95  margin-top: 2rem;
96`,c=t.Ay.div`
97  & label {
98    margin-bottom: 1rem;
99  }
100  & > *:not(:last-child) {
101    margin-right: 12px;
102    // margin-left: 12px;
103  }
104`},83058:(e,s,a)=>{a.d(s,{A:()=>u,y:()=>c});a(65043);var t=a(32384),i=a(44026),n=a(72316),r=a(85873),l=a(70579);const d=t.Ay.div``,o=(0,t.Ay)(i.A)`
105  align-items: center;
106  &:hover {
107    background: #f0f2f5;
108  }
109  cursor: pointer;
110  display: flex;
111  justify-content: center;
112  padding: 0 5px;
113`,c=e=>{let{children:s}=e;return(0,l.jsx)(d,{children:(0,l.jsxs)(n.A,{children:[(0,l.jsx)(o,{tag:"span","data-toggle":"dropdown",children:(0,l.jsx)("i",{className:"fas fa-ellipsis-h fa-2x"})}),(0,l.jsx)(r.A,{end:!0,children:s})]})})},u=c},45107:()=>{},88578:()=>{}}]);
114//# sourceMappingURL=1081.c18837c3.chunk.js.map

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.