1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e58cb24e-d826-4cb9-8bc1-080455c0c8a8",e._sentryDebugIdIdentifier="sentry-dbid-e58cb24e-d826-4cb9-8bc1-080455c0c8a8")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6348],{63682:function(e,t,a){var l=a(85893);let n=(0,a(67294).forwardRef)((e,t)=>{let{placeholder:a,floating:n,backgroud:o="bg-white",className:s="",...i}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("input",{className:"".concat(o," !bg-transparent border border-gray-300 px-2 py-3 lg:px-4 rounded-lg focus-visible:outline-none text-xs font-medium w-full ").concat(i.disabled?"text-gray-500":"text-black"," ").concat(s),placeholder:a,autoComplete:"off",...i,ref:t,onWheel:e=>e.currentTarget.blur()})})});n.displayName="CustomInputField",t.Z=n},13261:function(e,t,a){var l=a(85893),n=a(99603),o=a(70798),s=a(41664),i=a.n(s);a(67294);var r=a(35225);t.Z=e=>{let{title:t,bg:a,text:s,link:d,onClick:c,type:u,size:p="large",icon:m,iconButton:g=!1,dark:h=!1,external:f=!1,id:x,className:b,outline:y,outlineColor:v,disabled:k=!1,disableMessage:w}=e;return(0,l.jsx)(r.pn,{children:(0,l.jsxs)(r.u,{children:[(0,l.jsx)(r.aJ,{asChild:!0,disabled:!k,children:(0,l.jsxs)(o.E.button,{id:x,type:u,onClick:c,whileHover:{scale:k?1:1.05},whileTap:{scale:1},disabled:k,className:"md:px-6 px-4 py-2 outline-none ".concat(b," ").concat("small"===p?"text-sm":"medium"===p?"text-sm":"large"===p?"text-base":""," ").concat(h?a:"".concat(a," bg-lightPurple text-primary")," !rounded-lg ").concat(s," font-semibold ").concat(""," ").concat(y?"border border-".concat(v):"","\n ").concat(k?"opacity-40 cursor-not-allowed":""," \n "),style:{fontSize:"xs"===p?"10px":"12px"},children:[!g&&(0,l.jsx)(l.Fragment,{children:d?(0,l.jsx)(l.Fragment,{children:f?(0,l.jsx)("a",{href:d,target:"_blank",rel:"noopener noreferrer",children:t}):(0,l.jsx)(i(),{className:"w-full h-full block",href:d,children:t})}):t}),m&&(0,l.jsx)(n.G,{icon:m,size:"small"===p?"sm":"medium"===p?"1x":"large"===p?"lg":"sm",className:g?"ml-0":"ml-2"})]})}),k&&w&&(0,l.jsx)(r._v,{children:(0,l.jsx)("span",{className:"whitespace-pre-line",children:w})})]})})}},46760:function(e,t,a){var l=a(85893),n=a(61415),o=a(5031),s=a(73359),i=a(94057),r=a(45781),d=a(67294),c=a(23157),u=a(96490),p=a(9151);let m={skills:{document:n.Y0w,dataKey:"allSkillsPaginated",labelKey:"skill",placeholder:"Search keywords (type at least 2 letters)",searchHint:"Type at least 2 letters to search",loadingMessage:"Searching...",noOptionsMessage:"No results found",countLabel:""},education:{document:n.I3N,dataKey:"getAllEducationInstitutions",labelKey:"institution",placeholder:"Search institutions (type at least 2 letters)",searchHint:"Type at least 2 letters to search",loadingMessage:"Searching...",noOptionsMessage:"No institutions found",countLabel:""},educationQualification:{document:n.jil,dataKey:"getAllEducationQualifications",labelKey:"qualificationType",placeholder:"Search qualifications (type at least 2 letters)",searchHint:"Type at least 2 letters to search",loadingMessage:"Searching...",noOptionsMessage:"No qualifications found",countLabel:""},workplace:{document:n.HRP,dataKey:"getAllWorkplaces",labelKey:"companyName",placeholder:"Search companies (type at least 2 letters)",searchHint:"Type at least 2 letters to search",loadingMessage:"Searching...",noOptionsMessage:"No companies found",countLabel:""},designation:{document:n.Zu7,dataKey:"getAllDesignationsPaginated",labelKey:"designation",placeholder:"Search designations (type at least 2 letters)",searchHint:"Type at least 2 letters to search",loadingMessage:"Searching...",noOptionsMessage:"No designations found",countLabel:""},domains:{document:n.eRr,dataKey:"getAllDomainPaginated",labelKey:"domain",placeholder:"Search domains (type at least 2 letters)",searchHint:"Type at least 2 letters to search",loadingMessage:"Searching...",noOptionsMessage:"No domains found",countLabel:""},industries:{document:n.PZG,dataKey:"getAllIndustryPaginated",labelKey:"industry",placeholder:"Search industries (type at least 2 letters)",searchHint:"Type at least 2 letters to
1search",loadingMessage:"Searching...",noOptionsMessage:"No industries found",countLabel:""}},g=(0,d.memo)(e=>{let{selectedSkills:t,maxSkills:a,onChange:n,recommending:g=!1,recommendedSkills:x=[],entityType:b="skills",allowCreate:y=!1,showStars:v=!0,showListOnFocus:k=!1}=e,w=m[b],[j,N]=(0,d.useState)(""),[S,C]=(0,d.useState)(""),[M,T]=(0,d.useState)(!1),[_,P]=(0,d.useState)(0),[I,z]=(0,d.useState)([]),[O,K]=(0,d.useState)(!0),[H,{loading:A}]=(0,s.t)(w.document,{fetchPolicy:"network-only",onCompleted:e=>{let t=((null==e?void 0:e[w.dataKey])||[]).map(e=>({value:e._id,label:e[w.labelKey]}));z(e=>{let a=new Set(e.map(e=>e.value)),l=[...e];return t.forEach(e=>{a.has(e.value)||l.push(e)}),l}),t.length<100&&K(!1)}});(0,d.useEffect)(()=>{let e=setTimeout(()=>{C(j)},600);return()=>clearTimeout(e)},[j]),(0,d.useEffect)(()=>{(!k||0!==S.length)&&(S.length>=2||k&&S.length>0)&&(P(0),z([]),K(!0),H({variables:{search:S,page:0}}))},[S,H,k]);let L=(0,d.useMemo)(()=>t.map(e=>({value:e._id,label:e.value})),[t]),R=(0,d.useCallback)(e=>{e.length>a||n(e.map(e=>{var a;return{_id:e.value,value:e.label,isTop:(null===(a=t.find(t=>t._id===e.value))||void 0===a?void 0:a.isTop)||!1}}))},[a,t,n]),D=(0,d.useCallback)(e=>{N(e),k?T(!0):T(e.length>=2)},[k]),E=(0,d.useCallback)(()=>{k?(T(!0),0===I.length&&(P(0),K(!0),H({variables:{search:"",page:0}}))):j.length>=2&&T(!0)},[j.length,k,I.length,H]),Z=(0,d.useCallback)(()=>T(!1),[]),F=(0,d.useCallback)(e=>{n(t.map(t=>t._id===e?{...t,isTop:!t.isTop}:t))},[t,n]),V=(0,d.useCallback)(e=>{n(t.filter(t=>t._id!==e))},[t,n]),W=(0,d.useCallback)(e=>{let a=t.find(t=>t._id===e.data.value),n=t.filter(e=>e.isTop).length;return(0,l.jsxs)("div",{className:"flex items-center gap-1 bg-lightPurple text-primary text-xs rounded-md px-2 py-1 mr-1 my-0.5",children:["skills"===b&&v&&(0,l.jsx)("button",{disabled:!(null==a?void 0:a.isTop)&&n>=3,onClick:t=>{t.preventDefault(),t.stopPropagation(),t.nativeEvent.stopImmediatePropagation(),F(e.data.value)},onMouseDown:e=>e.preventDefault(),className:"flex items-center p-1 rounded-md hover:bg-white/10",children:(0,l.jsx)(i.Z,{className:"h-4 w-4 ".concat((null==a?void 0:a.isTop)?"fill-yellow-500 text-yellow-500":"text-gray-400")})}),(0,l.jsx)("span",{children:e.data.label}),(0,l.jsx)("button",{onClick:t=>{t.preventDefault(),t.stopPropagation(),t.nativeEvent.stopImmediatePropagation(),V(e.data.value)},onMouseDown:e=>e.preventDefault(),className:"h-4 w-4 rounded-full hover:bg-muted-foreground/20 flex items-center justify-center",children:(0,l.jsx)(r.Z,{className:"h-3 w-3"})})]})},[t,F,V,b,v]),q=(0,d.useCallback)(()=>k?A?w.loadingMessage:w.noOptionsMessage:j.length<2?w.searchHint:w.noOptionsMessage,[j.length,w,k,A]),B=(0,d.useMemo)(()=>new Set(t.map(e=>e._id)),[t]),J=y?p.Z:c.ZP;return(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)(J,{isMulti:!0,options:I,value:L,onChange:R,onInputChange:D,onMenuOpen:E,onMenuClose:Z,onMenuScrollToBottom:()=>{if(O&&!A){let e=_+1;P(e),H({variables:{search:S,page:e}})}},placeholder:w.placeholder,className:"react-select-container",classNamePrefix:"react-select",components:{MultiValue:W},styles:o.Md,menuPortalTarget:document.body,menuPosition:"fixed",closeMenuOnSelect:!0,loadingMessage:()=>w.loadingMessage,noOptionsMessage:q,filterOption:(0,u.c)({ignoreCase:!0,trim:!0}),maxMenuHeight:300,menuShouldBlockScroll:!0,isLoading:A,...y?{formatCreateLabel:e=>"Add ".concat(e),createOptionPosition:"first",isValidNewOption:e=>e.trim().length>0}:{}}),t.length>0?(0,l.jsx)("p",{className:"text-[12px] text-gray-500 mt-1",children:w.searchHint}):null,(0,l.jsxs)("p",{className:"text-xs text-gray-500 mt-1 text-right",children:["Selected: ",t.length,"/",a]}),"skills"===b&&t.length>0&&t.length<a&&(0,l.jsx)("div",{children:g?(0,l.jsx)(h,{}):x.length>0?(0,l.jsx)(f,{skills:x,selectedSkillIds:B,onAddSkill:e=>n([...t,e])}):null})]})});g.displayName="SkillSelect";let h=(0,d.memo)(()=>(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsxs)("div",{className:"flex items-center gap-2 text-gray-500",children:[(0,l.jsx)("div",{className:"animate-spin w-4 h-4",children:(0,l.jsxs)("svg",{className:"w-full h-full",viewBox:"0 0 24 24",children:[(0,l.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),(0,l.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}),(0,l.jsx)("span",{className:"text-xs",children:"Recommending skills..."})]})}));h.displayName="LoadingIndicator";let f=(0,d.memo)(e=>{let{skills:t,selectedSkillIds:a,onAddSkill:n}=e,o=(0,d.useMemo)(()=>{let e=new Map;return t.forEach(t=>{e.has(t._id)||a.has(t._id)||e.set(t._id,t)}),Array.from(e.values())},[t,a]);return 0===o.length?null:(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-xs text-gray-500 mt-2",children:"Recommended Skills:"}),(0,l.jsx)("div",{className:"flex flex-wrap gap-2 mt-2",children:o.map(e=>(0,l.jsx)(x,{skill:e,onAdd:n},e._id))})]})});f.displayName="RecommendedSkills";let x=(0,d.memo)(e=>{let{skill:t,onAdd:a}=e,n=(0,d.useCallback)(()=>{a(t)},[t,a]);return(0,l.jsxs)("button",{onClick:n,className:"relative px-3 py-1 text-sm rounded-full flex items-center justify-center bg-gray-200 text-gray-700",children:[t.value,(0,l.jsx)("span",{className:"absolute top-0 right-0 transform translate-x-1/5 -translate-y-1/3 bg-gray-300 text-white text-xs font-bold rounded-full w-3 h-3 flex items-center justify-center",children:"+"})]})});x.displayName="RecommendedSkill",t.Z=g},35225:function(e,t,a){a.d(t,{_v:function(){return c},aJ:function(){return d},pn:function(){return i},u:function(){return r}});var l=a(85893),n=a(67294),o=a(66908),s=a(98997);let i=o.zt,r=o.fC,d=o.xz,c=n.forwardRef((e,t)=>
1{let{className:a,sideOffset:n=4,...i}=e;return(0,l.jsx)(o.VY,{ref:t,sideOffset:n,className:(0,s.cn)("z-[120] overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...i})});c.displayName=o.VY.displayName},5031:function(e,t,a){a.d(t,{Md:function(){return o},NJ:function(){return n},Pl:function(){return l},at:function(){return s},hw:function(){return i},j9:function(){return r},r1:function(){return d}});let l=["places","marker"],n=e=>Object.entries(e).filter(e=>{let[,t]=e;return void 0!==t}).map(e=>{let[t,a]=e;return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(String(a)))}).join("&"),o={menuPortal:e=>({...e,zIndex:9999}),menu:e=>({...e,zIndex:100}),control:e=>({...e,padding:"3px",backgroundColor:"transparent",border:"1px solid #e7e7e7",fontSize:"12px",fontWeight:500,borderRadius:"12px",minHeight:"46px",display:"flex",alignItems:"center",outline:"none !important",boxShadow:"none !important",":hover":{border:"1px solid #e7e7e7",boxShadow:"none",outline:"none"}}),option:e=>({...e,backgroundColor:"white",color:"black",fontSize:"12px",":hover":{backgroundColor:"#4d33e0",color:"white"}})},s={menu:e=>({...e,zIndex:100}),control:e=>({...e,padding:"5px",backgroundColor:"transparent",border:"1px solid #e7e7e7",fontSize:"12px",fontWeight:500,outline:"none !important",boxShadow:"none !important",":hover":{border:"1px solid #e7e7e7",boxShadow:"none",outline:"none"}}),option:e=>({...e,backgroundColor:"white",color:"black",fontSize:"12px",":hover":{backgroundColor:"#4d33e0",color:"white"}}),multiValue:(e,t)=>{let{data:a}=t;return{...e,backgroundColor:"#e8e4fb",borderRadius:"12px"}},multiValueLabel:(e,t)=>{let{data:a}=t;return{...e,color:"black",fontSize:"12px",padding:"6px"}},multiValueRemove:(e,t)=>{let{data:a}=t;return{...e,color:"gray",":hover":{backgroundColor:"transparent"}}}},i=e=>e>=1e7?"".concat((e/1e7).toFixed(e%1e7==0?0:2)," CPA"):e>=1e5?"".concat((e/1e5).toFixed(e%1e5==0?0:2)," LPA"):e.toLocaleString(),r=e=>e.length>150?e.slice(0,149)+"â¦":e,d=e=>parseFloat((e+18*e/100).toFixed(2))}}]);
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.