1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30171],{8669:(e,t,a)=>{a.d(t,{default:()=>r});var s=a(95155),i=a(12115),o=a(73321),n=a(36066);function r({children:e}){let t=(0,o.usePathname)(),a=(0,o.useSearchParams)();return(0,i.useEffect)(()=>{let e=`${t}${a.toString()?`?${a}`:""}`;n.Vs.trackPageView({uri:e})},[t,a]),(0,s.jsx)(s.Fragment,{children:e})}},17966:(e,t,a)=>{a.d(t,{CU:()=>n,GV:()=>o,jL:()=>i});var s=a(2834);let i=s.wA,o=s.d4,n=s.Pj},36066:(e,t,a)=>{a.d(t,{Vs:()=>c});var s=a(11103),i=a(79811),o=a(54688);let n="InstrumentationKey=d2b59d96-3825-4a8c-a118-45ecbf35c9bf;IngestionEndpoint=https://centralindia-0.in.applicationinsights.azure.com/;LiveEndpoint=https://centralindia.livediagnostics.monitor.azure.com/;ApplicationId=a78a42d8-0d2c-43ba-b5ea-973c167c260f",r=new s.A,l=new o.iD,c=new i.M({config:{connectionString:n,extensions:[r,l],extensionConfig:{[r.identifier]:{},[l.identifier]:{autoCapture:!0,useDefaultContentNameOrId:!0,dataTags:{useDefaultContentNameOrId:!0}}},enableAjaxPerfTracking:!0,enableRequestHeaderTracking:!0,enableResponseHeaderTracking:!0,enableCorsCorrelation:!0,loggingLevelConsole:2,loggingLevelTelemetry:2,samplingPercentage:100,enableAutoRouteTracking:!0,autoTrackPageVisitTime:!0,correlationHeaderExcludedDomains:["cdn.jsdelivr.net","storage.googleapis.com"]}});n?(c.loadAppInsights(),c.addTelemetryInitializer(e=>{e.tags=e.tags||{},e.tags["ai.cloud.role"]="rytejobs.ai Application"}),c.core.getPlugin(l.identifier)):console.error("Application Insights connection string is missing.")},39300:(e,t,a)=>{a.d(t,{default:()=>h});var s=a(95155),i=a(73321),o=a(73891);let n=[{tour:"mainTour",steps:[{icon:"\uD83D\uDC4B",title:"Welcome",content:"Discover numerous job postings tailored for you! Explore job search, popular searches, and more.",selector:"#step1",side:"right",showControls:!0,showSkip:!0},{icon:"\uD83D\uDC65",title:"For Candidates & Employers",content:"Register as a candidate to get personalized job recommendations and access exclusive opportunities. Employers can register to post jobs and find top talent.",selector:"#step2",showControls:!0,showSkip:!0},{icon:"\uD83D\uDCC2",title:"Popular Categories",content:"Browse through popular job categories to quickly find the right opportunities.",selector:"#step4",showControls:!0,showSkip:!0},{icon:"â",title:"Featured Jobs",content:"Check out our hand-picked featured jobs updated regularly to match your career goals.",selector:"#step5",showControls:!0,showSkip:!0}]},{tour:"ManageJobs",steps:[{icon:"\uD83D\uDCC4",title:"View Job Details",content:"Click on the job title to view complete job details, see the list of applicants, and access the AI-powered filtering chatbot.",selector:"#step9",side:"right",showControls:!0,showSkip:!0}]}],r=[{tour:"ManageJobs",steps:[{icon:"\uD83D\uDCC4",title:"View Job Details",content:"Click on the job title to view complete job details, see the list of applicants, and access the AI-powered filtering chatbot.",selector:"#step9",side:"right",showControls:!0,showSkip:!0},{icon:"â°",title:"Job Actions",content:"Click this menu to manage job actions like edit, clone, or find candidates.",selector:"#jobActionsWrapper",side:"left",showControls:!0,showSkip:!0}]}],l=[{tour:"PostJob",steps:[{icon:"\uD83D\uDCDD",title:"Post a Job",content:"Create a new job posting to attract top candidates quickly and easily.",selector:"#postJobTab",side:"right",showControls:!0,showSkip:!0},{icon:"\uD83C\uDF93",title:"Post an Internship",content:"Advertise internships to connect with emerging talent and future hires.",selector:"#postInternshipTab",side:"right",showControls:!0,showSkip:!0},{icon:"\uD83E\uDD16",title:"Generate Job Description",content:"Use our AI-powered assistant to draft a tailored job description in seconds.",selector:"#generateJobDescription",side:"left",showControls:!0,showSkip:!0},{icon:"\uD83D\uDCCB",title:"Select Job Listing Type",content:"Choose the most suitable job listing option to match your hiring strategy.",selector:"#listingType",side:"left",showControls:!0,showSkip:!0},{icon:"\uD83E\uDDE0",title:"Set Up Pre-Screening",content:"Add pre-screening questions to filter candidates effectively and streamline your hiring process.",selector:"#preScreenContainer",side:"left",showControls:!0,showSkip:!0},{icon:"\uD83E\uDDE0",title:"Add a Case Study",content:"Include a case study to evaluate real-world skills and identify top-performing candidates.",selector:"#caseStudyContainer",side:"left",showControls:!0,showSkip:!0},{icon:"\uD83E\uDDE0",title:"Enable AI Shortlisting Rules",content:"Define AI-powered rules to automatically shortlist top candidates and save time on manual screening.",selector:"#agentContainer",side:"left",showControls:!0,showSkip:!0}]}],c=[{tour:"JobDetails",steps:[{icon:"\uD83D\uDC41ï¸",title:"Preview Job Posting",content:"Curious how y
1our post looks to candidates? Preview the live version here.",selector:"#viewPublicPost",side:"right",showControls:!0,showSkip:!0},{icon:"â
",title:"Close the Job",content:"Done hiring? Click here to close the job listing and stop receiving new applications.",selector:"#closeJob",side:"left",showControls:!0,showSkip:!0},{icon:"\uD83D\uDCC2",title:"Manage Applicants & Actions",content:"View applicants, bookmarks, and case study-eligible candidatesâall from one place.",selector:"#controller",side:"left",showControls:!0,showSkip:!0},{icon:"\uD83E\uDDE0",title:"Ryte AI Assistant",content:"Use Ryte AI to ask questions about candidates and accelerate your hiring decisions.",selector:"#ryteai",side:"right-bottom",showControls:!0,showSkip:!0},{icon:"\uD83D\uDD0D",title:"Filter & Refine Results",content:"Filter applicants by status, fetch the latest profiles, and refine your candidate list with advanced filters.",selector:"#filter",side:"right",showControls:!0,showSkip:!0},{icon:"\uD83D\uDD0D",title:"Manage Applicants & Take Action",content:"Browse all applicants and take relevant actions. Click a candidateâs name to view their full application. Use the checkbox to initiate a chat, and the bookmark icon to save profiles for later. You can also assign a case study directly from this section. Happy hiring!",selector:"#viewContainer",side:"top",showControls:!0,showSkip:!0},{icon:"â¡",title:"Upgrade Your Job Listing",content:"Boost visibility and reach more qualified candidates by upgrading your job listing.",selector:"#upgradeJobModal",side:"right",showControls:!0,showSkip:!0}]}],d=[{tour:"jobListTour",steps:[{icon:"\uD83D\uDD0D",title:"Refine Your Job Search",content:"Use the filters to narrow down and find jobs that best match your preferences.",selector:"#jobfiltersidebar",side:"right",showControls:!0,showSkip:!0},{icon:"\uD83D\uDCC4",title:"Match Jobs with Your Resume",content:"Enable the resume filter to quickly find jobs that align with your resume's skills and experience.",selector:"#resumeFilter",side:"right",showControls:!0,showSkip:!0}]}];function h({children:e}){let t=(0,i.usePathname)(),a=[];return"/"==t?a=n:t.startsWith("/job-list")?a=d:t.startsWith("/employers-dashboard/manage-jobs")?a=r:t.includes("/employers-dashboard/job-details/")?a=c:t.startsWith("/employers-dashboard/post-jobs")?a=l:t.startsWith("/candidates-dashboard/job-list")&&(a=d),(0,s.jsx)(o.td,{children:(0,s.jsx)(o.Q2,{steps:a,children:e})})}},44897:(e,t,a)=>{a.d(t,{Ay:()=>n,fF:()=>o,oe:()=>i});let s=(0,a(26798).Z0)({name:"toggle",initialState:{menu:!1,chatSidebar:!1},reducers:{menuToggle:e=>{e.menu=!e.menu},chatSidebarToggle:e=>{e.chatSidebar=!e.chatSidebar}}}),{menuToggle:i,chatSidebarToggle:o}=s.actions,n=s.reducer},70955:(e,t,a)=>{a.d(t,{default:()=>g});var s=a(95155);let i=[{id:1,name:"Dashboard",icon:"la-home",routePath:"/candidates-dashboard/dashboard",active:"active"},{id:3,name:"Plans & Pricing",icon:"la la-wallet",routePath:"/candidates-dashboard/pricing",active:""},{id:4,name:"Applied Jobs",icon:"la-briefcase",routePath:"/candidates-dashboard/applied-jobs",active:""},{id:5,name:"Refer & Earn",icon:"la la-gift",routePath:"/candidates-dashboard/referrals",active:""},{id:6,name:"My Interviews",icon:"la la-phone",routePath:"/candidates-dashboard/my-interviews",active:""},{id:7,name:"Job Alerts",icon:"la la-bell",routePath:"/candidates-dashboard/job-alerts",active:""},{id:8,name:"Bookmarked Jobs",icon:"la-bookmark-o",routePath:"/candidates-dashboard/bookmarked-jobs",active:""},{id:9,name:"Skill Assessment",icon:"la-brain",routePath:"/candidates-dashboard/ryteview",active:""}],o=[{id:101,name:"My Account",icon:"la-user",subMenu:[{id:2,name:"My Profile",icon:"la-user-tie",routePath:"/candidates-dashboard/my-profile",active:""},{id:3,name:"My Resume",icon:"la la-file-invoice",routePath:"/candidates-dashboard/my-resume",active:""},{id:9,name:"Change Password",icon:"la-lock",routePath:"/candidates-dashboard/change-password",active:""},{id:10,name:"Logout",icon:"la-sign-out",routePath:"/login",active:""}]}];var n=a(5772),r=a(98500),l=a.n(r),c=a(12115),d=a(73321),h=a(78858),p=a(82373),m=a(39092),u=a.n(m),b=a(89633);let x=({isVisible:e,onClose:t,validTill:a})=>{let[i,o]=(0,c.useState)(!1),[n,r]=(0,c.useState)(!1),l=(0,d.useRouter)(),h=()=>{r(!0),setTimeout(()=>{t(),r(!1)},300)},p=()=>{o(!i)};a&&function(e){if(!e)return;let t=new Date(e),a=new Date,s=new Date;s.setDate(a.getDate()+7),t.setHours(0,0,0,0),a.setHours(0,0,0,0),s.setHours(0,0,0,0)}(a);let m=null===a;return e?(0,s.jsxs)(s.Fragment,{children:[!i&&(0,s.jsx)("div",{style:{to
1p:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.1)",zIndex:1040,transition:"opacity 0.3s ease"},onClick:h,className:`jsx-b229034a20a900f position-fixed w-100 h-100 ${n?"opacity-0":"opacity-25"}`}),(0,s.jsx)("div",{style:{zIndex:1050,maxWidth:i?"60px":"380px",transform:n?"translateY(100px) scale(0.8)":"translateY(0) scale(1)",transition:"all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)"},className:`jsx-b229034a20a900f position-fixed ${i?"bottom-4 right-4":"bottom-6 right-6"}`,children:i?(0,s.jsxs)("div",{style:{width:"60px",height:"60px",background:"linear-gradient(135deg, #1864CC 0%, #4A90E2 100%)",animation:"pulse 2s infinite"},onClick:p,className:"jsx-b229034a20a900f d-flex align-items-center justify-content-center rounded-circle shadow-lg cursor-pointer position-relative overflow-hidden",children:[(0,s.jsx)("i",{className:"jsx-b229034a20a900f la la-star text-white fs-4"}),(0,s.jsx)("div",{style:{top:0,left:0,right:0,bottom:0,background:"linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%)"},className:"jsx-b229034a20a900f position-absolute"})]}):(0,s.jsxs)("div",{style:{border:"1px solid rgba(0,0,0,0.08)",boxShadow:"0 20px 40px rgba(0,0,0,0.15)"},className:"jsx-b229034a20a900f bg-white rounded-3 shadow-lg overflow-hidden",children:[(0,s.jsxs)("div",{style:{background:m?"linear-gradient(135deg, #1864CC 0%, #4A90E2 100%)":"linear-gradient(135deg, #f093fb 0%, #f5576c 100%)"},className:"jsx-b229034a20a900f position-relative p-4 text-white",children:[(0,s.jsxs)("div",{className:"jsx-b229034a20a900f d-flex justify-content-between align-items-start",children:[(0,s.jsxs)("div",{className:"jsx-b229034a20a900f flex-grow-1",children:[(0,s.jsxs)("div",{className:"jsx-b229034a20a900f d-flex align-items-center mb-2",children:[(0,s.jsx)("i",{className:`jsx-b229034a20a900f la ${m?"la-star":"la-exclamation-triangle"} fs-4 me-2`}),(0,s.jsx)("h5",{className:"jsx-b229034a20a900f mb-0 fw-bold",children:m?"Unlock Premium Features":"Subscription Expiring Soon"})]}),(0,s.jsx)("p",{className:"jsx-b229034a20a900f mb-0 opacity-90 small text-white ms-4",children:m?"Get access to exclusive features and boost your career prospects":"Renew now to continue enjoying premium benefits"})]}),(0,s.jsxs)("div",{className:"jsx-b229034a20a900f d-flex gap-2",children:[(0,s.jsx)("button",{onClick:p,style:{transition:"opacity 0.2s ease"},className:"jsx-b229034a20a900f btn btn-sm p-1 text-white opacity-75 hover-opacity-100",children:(0,s.jsx)("i",{className:"jsx-b229034a20a900f la la-minus fs-6"})}),(0,s.jsx)("button",{onClick:h,style:{transition:"opacity 0.2s ease"},className:"jsx-b229034a20a900f btn btn-sm p-1 text-white opacity-75 hover-opacity-100",children:(0,s.jsx)("i",{className:"jsx-b229034a20a900f la la-times fs-6"})})]})]}),(0,s.jsx)("div",{style:{top:"-20px",left:"-20px",width:"80px",height:"80px",borderRadius:"50%",background:"rgba(255,255,255,0.1)"},className:"jsx-b229034a20a900f position-absolute opacity-10"})]}),(0,s.jsxs)("div",{className:"jsx-b229034a20a900f p-4",children:[m?(0,s.jsx)("div",{className:"jsx-b229034a20a900f",children:(0,s.jsxs)("div",{className:"jsx-b229034a20a900f mb-3",children:[(0,s.jsx)("h6",{className:"jsx-b229034a20a900f fw-bold text-dark mb-2",children:"Premium Benefits Include:"}),(0,s.jsx)("ul",{className:"jsx-b229034a20a900f list-unstyled mb-0",children:[{icon:"la-video",text:"Video Resume Upload"},{icon:"la-eye",text:"Enhanced Profile Visibility"},{icon:"la-search-plus",text:"Advanced Job Matching"},{icon:"la-chart-line",text:"Career Analytics & Insights"}].map((e,t)=>(0,s.jsxs)("li",{className:"jsx-b229034a20a900f d-flex align-items-center mb-2",children:[(0,s.jsx)("div",{style:{width:"24px",height:"24px",background:"linear-gradient(135deg, #1864CC 0%, #4A90E2 100%)"},className:"jsx-b229034a20a900f d-flex align-items-center justify-content-center me-3 rounded-circle",children:(0,s.jsx)("i",{style:{fontSize:"10px"},className:`jsx-b229034a20a900f la ${e.icon} text-white`})}),(0,s.jsx)("span",{className:"jsx-b229034a20a900f text-muted small",children:e.text})]},t))})]})}):(0,s.jsxs)("div",{className:"jsx-b229034a20a900f text-center mb-3",children:[(0,s.jsx)("div",{className:"jsx-b229034a20a900f mb-2",children:(0,s.jsxs)("span",{className:"jsx-b229034a20a900f badge bg-warning text-dark px-3 py-2 rounded-pill",children:[(0,s.jsx)("i",{className:"jsx-b229034a20a900f la la-clock me-1"}),"Expires: ",a?(0,b.GP)(new Date(a),"dd/MMM/yy"):"Soon"]})}),(0,s.jsx)("p",{className:"jsx-b229034a20a900f text-muted small mb-0",children:"Don't lose access to your premium features. Renew your subscription to continue enjoying all benef
1its."})]}),(0,s.jsxs)("div",{className:"jsx-b229034a20a900f d-flex gap-2",children:[(0,s.jsx)("button",{onClick:()=>{l.push("/candidates-dashboard/pricing")},style:{background:m?"linear-gradient(135deg, #1864CC 0%, #4A90E2 100%)":"linear-gradient(135deg, #f093fb 0%, #f5576c 100%)",transition:"transform 0.2s ease, box-shadow 0.2s ease"},onMouseEnter:e=>{e.currentTarget.style.transform="translateY(-1px)",e.currentTarget.style.boxShadow="0 8px 20px rgba(0,0,0,0.2)"},onMouseLeave:e=>{e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="none"},className:"jsx-b229034a20a900f btn flex-grow-1 text-white fw-bold py-2 border-0 rounded-pill position-relative overflow-hidden",children:(0,s.jsxs)("span",{className:"jsx-b229034a20a900f position-relative",children:[(0,s.jsx)("i",{className:"jsx-b229034a20a900f la la-rocket me-2"}),m?"Upgrade Now":"Renew Subscription"]})}),(0,s.jsx)("button",{onClick:h,style:{transition:"all 0.2s ease"},className:"jsx-b229034a20a900f btn btn-outline-secondary px-3 py-2 border rounded-pill",children:(0,s.jsx)("i",{className:"jsx-b229034a20a900f la la-times"})})]})]})]})}),(0,s.jsx)(u(),{id:"b229034a20a900f",children:"@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(24,100,204,.4)}70%{box-shadow:0 0 0 10px rgba(24,100,204,0)}100%{box-shadow:0 0 0 0 rgba(24,100,204,0)}}.cursor-pointer.jsx-b229034a20a900f{cursor:pointer}.hover-opacity-100.jsx-b229034a20a900f:hover{opacity:1!important}"})]}):null},f=({validTill:e,isVideoResume:t})=>{let[a,i]=(0,c.useState)(!1);return((0,c.useEffect)(()=>{if(t)return void i(!1);if(void 0===e)return void console.log("Modal Check: Waiting for API data...");let a=()=>{let a=null===e,s=null!==e&&(e=>{if(!e)return!1;let t=new Date(e),a=new Date,s=new Date;return s.setDate(a.getDate()+7),t.setHours(0,0,0,0),a.setHours(0,0,0,0),s.setHours(0,0,0,0),t>=a&&t<=s})(e),o=a||s;if(console.log("Modal Check:",{validTill:e,hasNoSubscription:a,isExpiringSoon:s,shouldShowModal:o,isVideoResume:t}),!o)return void i(!1);let n=localStorage.getItem("subscriptionModalLastClosed"),r=Date.now();n?r-parseInt(n)>=3e5?i(!0):i(!1):setTimeout(()=>{i(!0)},2e3)};a();let s=setInterval(()=>{a()},6e4);return()=>{clearInterval(s)}},[t,e]),t)?null:(0,s.jsx)(x,{isVisible:a,onClose:()=>{let e=Date.now();localStorage.setItem("subscriptionModalLastClosed",e.toString()),i(!1)},validTill:e})},g=()=>{let[e,t]=(0,c.useState)(!1),[a,r]=(0,c.useState)(),[m,u]=(0,c.useState)(void 0),[b,x]=(0,c.useState)(null),[g,j]=(0,c.useState)(void 0),[w,v]=(0,c.useState)(!0),y=(0,d.useRouter)(),N=(0,d.usePathname)(),k=!N.startsWith("/candidates-dashboard/interview-room");N.startsWith("/candidates-dashboard/job-list");let C=()=>{window.scrollY>=0?t(!0):t(!1)},S=async()=>{let e=await fetch("https://www.rytejobs.ai/api/v1/candidate/profile"),t=await e.json();r(t?.profile),t?.profile?.mail?.email&&localStorage.setItem("monitoruname",t.profile.mail.email),!t?.profile?.institutionid&&localStorage.getItem("institutionorgid")&&localStorage.removeItem("institutionorgid")},P=async()=>{try{let e=await fetch("https://www.rytejobs.ai/api/v1/candidate/subscription",{method:"GET"});if(e.ok){let t=await e.json(),a=t?.candidateSubscription[0]?.quota?.features?.videoresume||!1,s=t?.candidateSubscription[0]?.validtill||null;u(a),j(s)}else u(!1),j(null)}catch(e){console.error("Error fetching subscription:",e),u(!1),j(null)}finally{v(!1)}},A=async()=>{try{let e=await fetch("https://www.rytejobs.ai/api/v1/candidate/profile/video-resume",{method:"GET"});if(e.ok){let t=await e.json();x(t?.candidate?.subscription?.videoresume?.url||null)}}catch(e){console.error("Error fetching video resume:",e)}};(0,c.useEffect)(()=>(window.addEventListener("scroll",C),S(),P(),A(),()=>{window.removeEventListener("scroll",C)}),[]);let I=async()=>{fetch("https://www.rytejobs.ai/api/v1/logout",{method:"POST",body:JSON.stringify({impersonate:!1})}).then(e=>e.json()).then(e=>{localStorage.removeItem("monitoruname"),localStorage.removeItem("institutionorgid"),localStorage.removeItem("subscriptionModalLastClosed"),y.refresh(),y.push("/")}).catch(e=>{console.error(e)})};return(0,s.jsx)(s.Fragment,{children:k&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("header",{className:`main-header header-shaddow ${e?"fixed-header ":""}`,children:(0,s.jsx)("div",{className:"container-fluid",children:(0,s.jsxs)("div",{className:"main-box",children:[(0,s.jsx)("div",{className:"nav-outer",children:(0,s.jsx)("div",{className:"logo-box",children:(0,s.jsx)("div",{className:"logo",children:(0,s.jsx)(l(),{href:"/candidates-dashboard/dashboard",children:(0,s.jsx)(n.default,{alt:"brand",src:"/images/rytejobs-horizontal-transparent.png",width:125,height:50,priority:!0})})})})}),(0,s.jsxs)("div",{className:"outer-box",children:[m&&null===b?(0,s.jsxs)(l(),{href:"/candidates-dashboard/my-profile",className:"btn-link text-decoration-none position-relative me-4 py-2 px-3 d-inline-flex align-items-center",children:[(0,s.jsx)("span",{className:"me-2",children:(0,s.jsx)("i",{className:"la la-file-upload"})}),(0,s.jsx)("span",{className:"fw-medium",children:"Upload Video Resume"}),(0,s.jsx)("span",{className:"position-absolute bottom-0 start-0 end-0 border-bottom border-2 border-primary"})]}):m?null:(0,s.jsxs)(l(),{href:"/candidates-dashboard/pricing",className:"btn-link text-decoration-none position-relative me-4 py-2 px-3 d-inline-flex align-items-center upgrade-link",children:[(0,s.jsx)("span",{className:"me-2",children:(0,s.jsx)("i",{className:"la la-star text-warning"})}),(0,s.jsx)("span",{className:"fw-medium",children:"Upgrade Plan"}),(0,s.jsx)("span",{className:"badge bg-primary rounded-pill ms-2 small",children:"PRO"}),(0,s.jsx)("span",{className:"position-absolute bottom-0 start-0 end-0 border-bottom border-2 border-primary"})]}),(0,s.jsx)(l(),{href:"/candidates-dashboard/job-list",className:"theme-btn btn-style-one",children:"Find Jobs"}),(0,s.jsx)(p.A,{}),(0,s.jsx)(l(),{href:"/candidates-dashboard/help",className:"btn p-2 position-relative text-secondary",children:(0,s.jsx)("span",{className:"icon la la-question fs-5"})}),(0,s.jsx)(l(),{href:"/candidates-dashboard/messages",className:"btn p-2 position-relative text-secondary",children:(0,s.jsx)("span",{className:"icon la la-comment fs-5"})}),(0,s.jsx)("div",{className:"dropdown dashboard-option",children:(0,s.jsx)("div",{className:"main-menu",children:(0,s.jsx)("ul",{className:"navigation",children:(0,s.jsxs)("li",{className:"dropdown",style:{zIndex:"9999"},children:[a?.photo?(0,s.jsx)("img",{alt:"avatar",className:"thumb me-3",src:a?.photo,width:50,height:50}):(0,s.jsx)(h.Ay,{className:"me-3",name:`${a?.firstname}`,round:!0,size:"50px"}),(0,s.jsxs)("ul",{children:[i.map(e=>(0,s.jsx)("li",{children:"/login"===e.routePath?(0,s.jsxs)("a",{href:"#",onClick:I,children:[(0,s.jsx)("i",{className:`la ${e.icon}`})," ",e.name]}):(0,s.jsxs)(l(),{href:e.routePath,children:[(0,s.jsx)("i",{className:`la ${e.icon}`})," ",e.name]})},e.id)),(0,s.jsxs)("li",{className:"dropdown",children:[(0,s.jsxs)("span",{children:[(0,s.jsx)("i",{className:"la la-user"})," My Account"]}),(0,s.jsx)("ul",{className:"from-right p-2",children:o.map(e=>(0,s.jsx)(c.Fragment,{children:e.subMenu.map(e=>(0,s.jsx)("li",{children:"/login"===e.routePath?(0,s.jsxs)("a",{href:"#",onClick:I,children:[(0,s.jsx)("i",{className:`la ${e.icon}`})," ",e.name]}):(0,s.jsxs)(l(),{href:e.routePath,children:[(0,s.jsx)("i",{className:`la ${e.icon}`})," ",e.name]})},e.id))},e.id))})]})]})]})})})})]})]})})}),!w&&(0,s.jsx)(f,{validTill:g,isVideoResume:m})]})})}},75267:(e,t,a)=>{a.d(t,{Bn:()=>i,Le:()=>s});let s=(e,t)=>!!e&&e.length>0&&e.some(e=>e?.url?.replace(/\/\d+/,"")===t.replace(/\/\d+/,"")),i=(e,t)=>{if(e&&t)return e.replace(/\/\d+/,"")===t.replace(/\/\d+/,"")}},82373:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(95155),i=a(2353),o=a(12115);function n(){let[e,t]=(0,o.useState)([]),[a,n]=(0,o.useState)(!1),r=(0,o.useRef)(null),l=async()=>{let e=await fetch("https://www.rytejobs.ai/api/v1/common/notifications"),a=await e.json();t(a?.result)};(0,o.useEffect)(()=>
1{l();let e=e=>{r.current&&!r.current.contains(e.target)&&n(!1)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[]);let c=e?.notifications?.filter(e=>e.isUnread).length||0;return(0,s.jsxs)("div",{className:"dropdown dashboard-option menu-btn position-relative",ref:r,children:[(0,s.jsxs)("button",{className:"btn btn-link p-2 position-relative",onClick:()=>{a||l(),n(!a)},type:"button",children:[(0,s.jsx)("span",{className:"icon la la-bell fs-5"}),c>0&&(0,s.jsx)("span",{className:"position-absolute top-0 start-100 translate-middle badge rounded-pill bg-primary",children:c})]}),(0,s.jsx)("ul",{className:`dropdown-menu dropdown-menu-end shadow overflow-auto p-0 ${a?"show":""}`,style:{maxHeight:"500px",minWidth:"320px"},children:e?.notifications?.length>0?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("li",{className:"dropdown-header border-bottom p-3",children:(0,s.jsxs)("div",{className:"d-flex justify-content-between align-items-center",children:[(0,s.jsx)("h6",{className:"mb-0",children:"Notifications"}),c>0&&(0,s.jsxs)("span",{className:"badge bg-primary rounded-pill",children:[c," New"]})]})}),e.notifications.map((e,t)=>(0,s.jsx)("li",{children:(0,s.jsx)("div",{className:`dropdown-item p-3 border-bottom ${e.isUnread?"unread-notification":"bg-light"}`,children:(0,s.jsx)("div",{className:"d-flex flex-column gap-1",children:(0,s.jsxs)("div",{className:"notification-message",children:[e.subject," -",(0,s.jsx)("small",{children:(0,i.m)(new Date(e.date),{addSuffix:!0}).replace("about","").replace("hours","hrs").replace("days","d")})]})})})},t))]}):(0,s.jsx)("li",{children:(0,s.jsx)("div",{className:"p-4 text-center text-muted",children:"No new notifications"})})})]})}}}]); 2//# sourceMappingURL=30171-f232fe3702bf0751.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.